@ubnt/store.core 11.20.0-test.0 → 11.20.0-test.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/ai-360.jpg +0 -0
- package/lib/assets/ai-3602.jpg +0 -0
- package/lib/assets/ai-turret.jpg +0 -0
- package/lib/assets/ai-turret2.jpg +0 -0
- package/lib/assets/door-hub.jpg +0 -0
- package/lib/assets/door-hub2.jpg +0 -0
- package/lib/assets/floodlight.svg +1 -1
- package/lib/assets/floodlight2.svg +1 -1
- package/lib/assets/g2-reader-pro.jpg +0 -0
- package/lib/assets/g2-reader-pro2.jpg +0 -0
- package/lib/assets/g3-starter-kit-pro.jpg +0 -0
- package/lib/assets/g3-starter-kit-pro2.jpg +0 -0
- package/lib/assets/globe.svg +1 -1
- package/lib/assets/globe2.svg +1 -1
- package/lib/assets/plus4.svg +1 -1
- package/lib/assets/plus5.svg +1 -1
- package/lib/assets/power.svg +1 -1
- package/lib/assets/power2.svg +1 -1
- package/lib/assets/rack.svg +1 -1
- package/lib/assets/rack2.svg +1 -1
- package/lib/components/Accordion/Accordion.styles.js +12 -12
- package/lib/components/Accordion/Accordion.styles.js.map +1 -1
- package/lib/components/Avatar/Avatar.styles.js +3 -3
- package/lib/components/Avatar/Avatar.styles.js.map +1 -1
- package/lib/components/BackInStock/BackInStock.styles.js +8 -8
- package/lib/components/BackInStock/BackInStock.styles.js.map +1 -1
- package/lib/components/Badge/Badge.styles.js +18 -18
- package/lib/components/Badge/Badge.styles.js.map +1 -1
- package/lib/components/Button/Button.styles.js +30 -30
- package/lib/components/Button/Button.styles.js.map +1 -1
- package/lib/components/Button/CartButton.styles.js +12 -12
- package/lib/components/Button/CartButton.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +17 -17
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +10 -10
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/CardSection/Card/Card.styles.js +18 -18
- package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
- package/lib/components/CardSection/CardSection.styles.js +5 -5
- package/lib/components/CardSection/CardSection.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +21 -21
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/Checkbox/Checkbox.styles.js +8 -8
- package/lib/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/lib/components/Container/Container.styles.js +8 -8
- package/lib/components/Container/Container.styles.js.map +1 -1
- package/lib/components/CustomImage/CustomImage.styles.js +21 -21
- package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
- package/lib/components/Explore/Explore.js +2 -2
- package/lib/components/Explore/Explore.js.map +1 -1
- package/lib/components/Explore/Explore.styles.js +26 -26
- package/lib/components/Explore/Explore.styles.js.map +1 -1
- package/lib/components/Footer/Footer.styles.js +31 -31
- package/lib/components/Footer/Footer.styles.js.map +1 -1
- package/lib/components/GradientButton/GradientButton.styles.js +5 -5
- package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.styles.js +5 -5
- package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js +11 -11
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js +4 -4
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js +8 -8
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js.map +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js +3 -3
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.js +2 -2
- package/lib/components/Header/CartModal/Empty/Empty.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/CartModal.styles.js +21 -21
- package/lib/components/Header/CartModalV2/CartModal.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.js +13 -13
- package/lib/components/Header/CartModalV2/Item/Item.styles.js.map +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.mjs +1 -1
- package/lib/components/Header/Header.styles.js +39 -39
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +8 -8
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js +4 -4
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +19 -19
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js +16 -16
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +20 -20
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +23 -23
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +23 -23
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +8 -8
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Overlay/Overlay.styles.js +4 -4
- package/lib/components/Header/Overlay/Overlay.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.js +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +49 -49
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/HeroVideo/HeroVideo.styles.js +7 -7
- package/lib/components/HeroVideo/HeroVideo.styles.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.styles.js +35 -35
- package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
- package/lib/components/ImageSequence/ImageSequence.styles.js +9 -9
- package/lib/components/ImageSequence/ImageSequence.styles.js.map +1 -1
- package/lib/components/InputSelect/InputSelect.styles.js +5 -5
- package/lib/components/InputSelect/InputSelect.styles.js.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js +2 -2
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js.map +1 -1
- package/lib/components/Loader/Loader.styles.js +11 -17
- package/lib/components/Loader/Loader.styles.js.map +1 -1
- package/lib/components/Loader/Loader.styles.mjs +1 -1
- package/lib/components/Loader/Loader.styles.mjs.map +1 -1
- package/lib/components/Loader/Spinner/Spinner.styles.js +4 -10
- package/lib/components/Loader/Spinner/Spinner.styles.js.map +1 -1
- package/lib/components/Loader/Spinner/Spinner.styles.mjs +1 -1
- package/lib/components/Loader/Spinner/Spinner.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +2 -2
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js +9 -9
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js +30 -30
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js +12 -12
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -1
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +3 -3
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js +6 -6
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js +8 -8
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +15 -15
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js +11 -11
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js +13 -13
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +23 -23
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js +41 -47
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.mjs +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js +43 -49
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js +23 -23
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js +26 -32
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.mjs.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.styles.js +40 -40
- package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js +6 -6
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -35
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js +15 -15
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +13 -13
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js +7 -7
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js.map +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js +2 -2
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +18 -18
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.styles.js +9 -9
- package/lib/components/Microsites/MicrositeProductPage.styles.js.map +1 -1
- package/lib/components/MobileModal/MobileModal.styles.js +10 -16
- package/lib/components/MobileModal/MobileModal.styles.js.map +1 -1
- package/lib/components/MobileModal/MobileModal.styles.mjs +1 -1
- package/lib/components/MobileModal/MobileModal.styles.mjs.map +1 -1
- package/lib/components/Modal/Modal.styles.js +2 -2
- package/lib/components/Modal/Modal.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/HeaderShadow.js +4 -4
- package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +12 -12
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +32 -32
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +8 -8
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +4 -4
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js +50 -56
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js +4 -4
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js +13 -13
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js +4 -4
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js +3 -3
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js +37 -43
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.mjs +1 -1
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js +7 -7
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js +4 -4
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +14 -14
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +11 -11
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.styles.js +3 -3
- package/lib/components/QuantityControls/QuantityControls.styles.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.styles.js +10 -10
- package/lib/components/QuantityInput/QuantityInput.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js +7 -7
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +10 -10
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +4 -10
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +16 -16
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js +8 -8
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js +8 -8
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js +17 -17
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js +16 -16
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js +4 -4
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js +4 -4
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js +3 -3
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -1
- package/lib/components/Reveal/Reveal.styles.js +4 -10
- package/lib/components/Reveal/Reveal.styles.js.map +1 -1
- package/lib/components/Reveal/Reveal.styles.mjs +1 -1
- package/lib/components/Reveal/Reveal.styles.mjs.map +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js +5 -5
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +31 -31
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.js +8 -8
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Modal/Modal.styles.js +17 -17
- package/lib/components/Search/Modal/Modal.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js +3 -3
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js +4 -4
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js +11 -11
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js.map +1 -1
- package/lib/components/StaticModal/StaticModal.styles.js +3 -3
- package/lib/components/StaticModal/StaticModal.styles.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.js +2 -2
- package/lib/components/StorybookUtils/StoryButtonColumn.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonRow.js +2 -2
- package/lib/components/StorybookUtils/StoryButtonRow.js.map +1 -1
- package/lib/components/StorybookUtils/StorySection.js +3 -3
- package/lib/components/StorybookUtils/StorySection.js.map +1 -1
- package/lib/components/StorybookUtils/StoryVariants.js +5 -5
- package/lib/components/StorybookUtils/StoryVariants.js.map +1 -1
- package/lib/components/StorybookUtils/StoryWrapper.js +2 -2
- package/lib/components/StorybookUtils/StoryWrapper.js.map +1 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js +2 -2
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
- package/lib/components/Toggle/Toggle.styles.js +4 -4
- package/lib/components/Toggle/Toggle.styles.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.styles.js +3 -9
- package/lib/components/Tooltip/Tooltip.styles.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.styles.mjs +1 -1
- package/lib/components/Tooltip/Tooltip.styles.mjs.map +1 -1
- package/lib/components/UICare/UICare.styles.js +13 -13
- package/lib/components/UICare/UICare.styles.js.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +29 -29
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
- package/lib/constants/icons/header/globe.svg.js +1 -1
- package/lib/constants/icons/header/globe.svg.mjs +2 -2
- package/lib/constants/icons/header/index.js +1 -1
- package/lib/constants/icons/header/index.mjs +1 -1
- package/lib/constants/icons/menu/floodlight.svg.js +5 -5
- package/lib/constants/icons/menu/floodlight.svg.mjs +2 -2
- package/lib/constants/icons/menu/index.js +9 -9
- package/lib/constants/icons/menu/index.mjs +3 -3
- package/lib/constants/icons/menu/power.svg.js +5 -5
- package/lib/constants/icons/menu/power.svg.mjs +2 -2
- package/lib/constants/icons/menu/rack.svg.js +5 -5
- package/lib/constants/icons/menu/rack.svg.mjs +2 -2
- package/lib/constants/mixin.js +3 -3
- package/lib/constants/mixin.js.map +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/floodlight.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/floodlight.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/globe.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/globe.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/power.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/power.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/rack.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/rack.svg.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/ai360.js +2 -2
- package/lib/constants/modelCompareData/data/products/ai360.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/doorHub.js +2 -2
- package/lib/constants/modelCompareData/data/products/doorHub.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/efg.js +2 -2
- package/lib/constants/modelCompareData/data/products/efg.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express.js +2 -2
- package/lib/constants/modelCompareData/data/products/express.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express7.js +2 -2
- package/lib/constants/modelCompareData/data/products/express7.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/g2ReaderPro.js +2 -2
- package/lib/constants/modelCompareData/data/products/g2ReaderPro.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKitPro.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKitPro.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/ucgUltra.js +2 -2
- package/lib/constants/modelCompareData/data/products/ucgUltra.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/udr.js +5 -5
- package/lib/constants/modelCompareData/data/products/udr.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.js +2 -2
- package/lib/constants/modelCompareData/data/products/uispSwitch.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js +2 -2
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js.map +1 -1
- package/lib/constants/modelCompareData/data/properties/accessPowerMethod.js +1 -1
- package/lib/constants/modelCompareData/data/properties/accessPowerMethod.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/availability.js +1 -1
- package/lib/constants/modelCompareData/data/properties/availability.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/builtInFloodlight.js +1 -1
- package/lib/constants/modelCompareData/data/properties/builtInFloodlight.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/dcPowerOutput.js +1 -1
- package/lib/constants/modelCompareData/data/properties/dcPowerOutput.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/mounting.js +1 -1
- package/lib/constants/modelCompareData/data/properties/mounting.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/webMode.js +1 -1
- package/lib/constants/modelCompareData/data/properties/webMode.mjs +1 -1
- package/lib/contexts/MenuContext/mapping.js +3 -3
- package/lib/contexts/MenuContext/mapping.mjs +2 -2
- package/lib/contexts/MicrositeMenuContext/mapping.js +3 -3
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +2 -2
- package/lib/utils/nextjs/plugin.js +3 -1
- package/lib/utils/nextjs/plugin.js.map +1 -1
- package/lib/utils/nextjs/plugin.mjs +3 -1
- package/lib/utils/nextjs/plugin.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udr.js","sources":["../../../../../src/constants/modelCompareData/data/products/udr.tsx"],"sourcesContent":["import { styled } from \"styled-components\";\n\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../../components/StyleableSvgImage\";\nimport { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { UniFiChildCategorySlug } from \"../../../proStoreCategories/mapping/unifi\";\nimport image from \"../../assets/Assets-V4/Gateways/udr@2x.jpg\";\nimport v3Image from \"../../assets/Consoles/udr.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport { useModelCompareTranslation } from \"../../translations/useModelCompareTranslation\";\nimport { type Product } from \"../../types\";\nimport { wifiIntegrated } from \"../product-list-groups/gateways-wifi-integrated\";\nimport { integratedWiFi } from \"../properties\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { managedUnifiDevices } from \"../properties/managedUnifiDevices\";\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 { wanPorts } from \"../properties/wanPorts\";\n\nconst appSuiteKey = \"udr.unifiAppSuite\";\n\nconst UniFiAppSuitPropertyWrap = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst Icon = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nconst PlusCharacter = styled.span`\n margin: 0 5px;\n`;\n\nconst Copy = styled.span`\n text-align: start;\n line-height: 1.2;\n`;\n\nconst UniFiAppSuiteCopy = () => {\n const { formatMessage } = useModelCompareTranslation();\n\n return (\n <UniFiAppSuitPropertyWrap>\n <Icon src={applications} height={30} width={144} />\n <PlusCharacter>+</PlusCharacter>\n <Copy>{formatMessage(appSuiteKey)}</Copy>\n </UniFiAppSuitPropertyWrap>\n );\n};\n\nexport const udr: Product = {\n id: \"udr\",\n title: \"udr.title\",\n description: \"udr.description\",\n descriptionMaxWidth: 150,\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udr`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"udr\",\n },\n image: {\n src: image,\n width: 200,\n height: 140,\n },\n v3Image: {\n src: v3Image,\n width: 154,\n height: 154,\n },\n productListGroup: wifiIntegrated,\n propertyValues: [\n {\n propertyId: \"dimensions\",\n value: {\n type: \"string\",\n value: 'Ø110 x 184.1 mm\\n(Ø4.3 x 7.3\")',\n },\n },\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <UniFiAppSuiteCopy />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"string\",\n value: \"700 Mbps\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"string\",\n value: \"300 Mbps\",\n },\n },\n {\n propertyId: managedUnifiDevices.id,\n value: {\n type: \"string\",\n value: \"20+\",\n },\n },\n {\n propertyId: \"simultaneousUsersConnected\",\n value: {\n type: \"string\",\n value: \"150+\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.lanPorts\",\n },\n },\n {\n propertyId: \"maxWanPortCount\",\n value: {\n type: \"string\",\n value: \"1\",\n },\n },\n {\n propertyId: \"portLayout\",\n value: {\n type: \"string\",\n value: \"(5 | 2 PoE) 1 GbE RJ45\",\n },\n },\n {\n propertyId: \"licenseFreeNextAiSSLInspection\",\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udr.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: \"generalRedundancy\",\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"commons.mounting.desktop\",\n },\n },\n {\n propertyId: integratedWiFi.id,\n value: {\n type: \"translation\",\n value: \"udr.integratedWiFi\",\n },\n },\n ],\n};\n"],"names":["appSuiteKey","UniFiAppSuitPropertyWrap","styled","div","Icon","StyleableSvgImageBase","PlusCharacter","span","Copy","UniFiAppSuiteCopy","formatMessage","useModelCompareTranslation","children","jsx","src","applications","height","width","udr","id","title","description","descriptionMaxWidth","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","v3Image","productListGroup","wifiIntegrated","propertyValues","propertyId","value","type","unifiAppSuite","throughput","idsIpsThroughput","managedUnifiDevices","wanPorts","lanPorts","storage","powerRedundancy","mounting","integratedWiFi"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,WAAc,GAAA,mBAAA;AAEpB,MAAMC,2BAA2BC,
|
|
1
|
+
{"version":3,"file":"udr.js","sources":["../../../../../src/constants/modelCompareData/data/products/udr.tsx"],"sourcesContent":["import { styled } from \"styled-components\";\n\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../../components/StyleableSvgImage\";\nimport { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { UniFiChildCategorySlug } from \"../../../proStoreCategories/mapping/unifi\";\nimport image from \"../../assets/Assets-V4/Gateways/udr@2x.jpg\";\nimport v3Image from \"../../assets/Consoles/udr.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport { useModelCompareTranslation } from \"../../translations/useModelCompareTranslation\";\nimport { type Product } from \"../../types\";\nimport { wifiIntegrated } from \"../product-list-groups/gateways-wifi-integrated\";\nimport { integratedWiFi } from \"../properties\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { managedUnifiDevices } from \"../properties/managedUnifiDevices\";\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 { wanPorts } from \"../properties/wanPorts\";\n\nconst appSuiteKey = \"udr.unifiAppSuite\";\n\nconst UniFiAppSuitPropertyWrap = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst Icon = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nconst PlusCharacter = styled.span`\n margin: 0 5px;\n`;\n\nconst Copy = styled.span`\n text-align: start;\n line-height: 1.2;\n`;\n\nconst UniFiAppSuiteCopy = () => {\n const { formatMessage } = useModelCompareTranslation();\n\n return (\n <UniFiAppSuitPropertyWrap>\n <Icon src={applications} height={30} width={144} />\n <PlusCharacter>+</PlusCharacter>\n <Copy>{formatMessage(appSuiteKey)}</Copy>\n </UniFiAppSuitPropertyWrap>\n );\n};\n\nexport const udr: Product = {\n id: \"udr\",\n title: \"udr.title\",\n description: \"udr.description\",\n descriptionMaxWidth: 150,\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udr`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"udr\",\n },\n image: {\n src: image,\n width: 200,\n height: 140,\n },\n v3Image: {\n src: v3Image,\n width: 154,\n height: 154,\n },\n productListGroup: wifiIntegrated,\n propertyValues: [\n {\n propertyId: \"dimensions\",\n value: {\n type: \"string\",\n value: 'Ø110 x 184.1 mm\\n(Ø4.3 x 7.3\")',\n },\n },\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <UniFiAppSuiteCopy />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"string\",\n value: \"700 Mbps\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"string\",\n value: \"300 Mbps\",\n },\n },\n {\n propertyId: managedUnifiDevices.id,\n value: {\n type: \"string\",\n value: \"20+\",\n },\n },\n {\n propertyId: \"simultaneousUsersConnected\",\n value: {\n type: \"string\",\n value: \"150+\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.lanPorts\",\n },\n },\n {\n propertyId: \"maxWanPortCount\",\n value: {\n type: \"string\",\n value: \"1\",\n },\n },\n {\n propertyId: \"portLayout\",\n value: {\n type: \"string\",\n value: \"(5 | 2 PoE) 1 GbE RJ45\",\n },\n },\n {\n propertyId: \"licenseFreeNextAiSSLInspection\",\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udr.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: \"generalRedundancy\",\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"commons.mounting.desktop\",\n },\n },\n {\n propertyId: integratedWiFi.id,\n value: {\n type: \"translation\",\n value: \"udr.integratedWiFi\",\n },\n },\n ],\n};\n"],"names":["appSuiteKey","UniFiAppSuitPropertyWrap","styled","div","Icon","StyleableSvgImageBase","PlusCharacter","span","Copy","UniFiAppSuiteCopy","formatMessage","useModelCompareTranslation","children","jsx","src","applications","height","width","udr","id","title","description","descriptionMaxWidth","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","v3Image","productListGroup","wifiIntegrated","propertyValues","propertyId","value","type","unifiAppSuite","throughput","idsIpsThroughput","managedUnifiDevices","wanPorts","lanPorts","storage","powerRedundancy","mounting","integratedWiFi"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,WAAc,GAAA,mBAAA;AAEpB,MAAMC,2BAA2BC,gBAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKxC,MAAMC,IAAA,GAAOF,wBAAOG,mCAAqB,CAAA;AAAA;AAAA,CAAA;AAIzC,MAAMC,gBAAgBJ,gBAAO,CAAAA,MAAA,CAAAK,IAAA;AAAA;AAAA,CAAA;AAI7B,MAAMC,OAAON,gBAAO,CAAAA,MAAA,CAAAK,IAAA;AAAA;AAAA;AAAA,CAAA;AAKpB,MAAME,oBAAoBA,CAAA,KAAM;EACxB,MAAA;IAAEC;EAAc,CAAA,GAAIC,qDAA2B,CAAA,CAAA;EAErD,sCACGV,wBACC,EAAA;IAAAW,QAAA,EAAA,CAAA,eAAAC,cAAA,CAACT;MAAKU,GAAK,EAAAC,qBAAAA,CAAAA,SAAAA,CAAA;MAAcC,MAAQ,EAAA,EAAA;MAAIC,OAAO;KAAK,CAAA,EACjDJ,eAAAA,UAAAA,CAAAA,GAAA,CAACP;MAAcM,QAAC,EAAA;IAAA,CAAA,CAAA,EACfC,eAAAA,UAAAA,CAAAA,GAAA,CAAAL,IAAA,EAAA;MAAMI,QAAc,EAAAF,aAAA,CAAAV,WAAW;IAAE,CAAA,CAAA;GACpC,CAAA;AAEJ,CAAA;AAEO,MAAMkB,GAAe,GAAA;EAC1BC,EAAI,EAAA,KAAA;EACJC,KAAO,EAAA,WAAA;EACPC,WAAa,EAAA,iBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,sBAAgBC,aAAa,MAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,KAAuB,CAAAA,sBAAA,CAAAC,2BAAA;IACjCC,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLnB,GAAK,EAAAmB,cAAA,CAAA,SAAA,CAAA;IACLhB,KAAO,EAAA,GAAA;IACPD,MAAQ,EAAA;EACV,CAAA;EACAkB,OAAS,EAAA;IACPpB,GAAK,EAAAoB,gBAAA,CAAA,SAAA,CAAA;IACLjB,KAAO,EAAA,GAAA;IACPD,MAAQ,EAAA;EACV,CAAA;EACAmB,gBAAkB,EAAAC,sBAAA,CAAAA,cAAA;EAClBC,cAAgB,EAAA,CACd;IACEC,UAAY,EAAA,YAAA;IACZC,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYG,aAAc,CAAAA,aAAA,CAAAtB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQ9B,iBAAkB,EAAA,CAAA,CAAA;IAAA;EAE9B,CAAA,EACA;IACE6B,YAAYI,UAAW,CAAAA,UAAA,CAAAvB,EAAA;IACvBoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYK,gBAAiB,CAAAA,gBAAA,CAAAxB,EAAA;IAC7BoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYM,mBAAoB,CAAAA,mBAAA,CAAAzB,EAAA;IAChCoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,UAAY,EAAA,4BAAA;IACZC,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYO,QAAS,CAAAA,QAAA,CAAA1B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYQ,QAAS,CAAAA,QAAA,CAAA3B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,UAAY,EAAA,iBAAA;IACZC,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,UAAY,EAAA,YAAA;IACZC,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,UAAY,EAAA,gCAAA;IACZC,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYS,OAAQ,CAAAA,OAAA,CAAA5B,EAAA;IACpBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYU,eAAgB,CAAAA,eAAA,CAAA7B,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,UAAY,EAAA,mBAAA;IACZC,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYW,QAAS,CAAAA,QAAA,CAAA9B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACED,YAAYY,cAAe,CAAAA,cAAA,CAAA/B,EAAA;IAC3BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EACT,CAAA;AAGN,CAAA;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var styledComponents = require('styled-components');
|
|
5
5
|
require('../../../../components/StyleableSvgImage/index.js');
|
|
6
6
|
require('../../../proStoreCategories/index.js');
|
|
7
7
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
@@ -28,7 +28,7 @@ function _interopDefault(e) {
|
|
|
28
28
|
var image__default = /*#__PURE__*/_interopDefault(image);
|
|
29
29
|
var Union__default = /*#__PURE__*/_interopDefault(Union);
|
|
30
30
|
"use strict";
|
|
31
|
-
const StyleableSvgImage =
|
|
31
|
+
const StyleableSvgImage = styledComponents.styled(StyleableSvgImage$1.StyleableSvgImage)`
|
|
32
32
|
background-color: black;
|
|
33
33
|
`;
|
|
34
34
|
const uispSwitch = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uispSwitch.js","sources":["../../../../../src/constants/modelCompareData/data/products/uispSwitch.tsx"],"sourcesContent":["import { styled } from \"styled-components\";\n\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../../components/StyleableSvgImage\";\nimport { UISPCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/UispSwitch/uispSwitch.jpg\";\nimport Union from \"../../assets/union-asterisk.svg\";\nimport type { Product } from \"../../types\";\nimport {\n layerTwoFunctionality,\n mountType,\n networkInterface,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n} from \"../properties\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n background-color: black;\n`;\n\nexport const uispSwitch: Product = {\n id: \"uispSwitch\",\n title: \"uispSwitch.title\",\n techspecsPath: [SiteId.TechSpecs, `/uisp/${UISPCategoryId.Wired}/uisp-s`],\n storePathParts: { productSlug: \"uisp-s\", category: \"all-wired\" },\n sku: \"UISP-S\",\n description: \"uispSwitch.description\",\n descriptionMaxWidth: 220,\n image: { src: image, width: 281, height: 182 },\n v3Image: { src: image, width: 281, height: 182 },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"8 + 1 SFP\" },\n },\n {\n propertyId: networkInterface.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.networkingInterface\",\n },\n },\n {\n propertyId: poeOutput.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.poeOutput\",\n },\n },\n {\n propertyId: poeAvailability.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.poeAvailability\",\n },\n },\n {\n propertyId: layerTwoFunctionality.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: mountType.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.mountType\",\n },\n },\n {\n propertyId: outdoorReady.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={Union} height={12} width={24} />,\n },\n },\n ],\n notes: [\"uispSwitch.notes\"],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","uispSwitch","id","title","techspecsPath","SiteId","TechSpecs","UISPCategoryId","Wired","storePathParts","productSlug","category","sku","description","descriptionMaxWidth","image","src","width","height","v3Image","propertyValues","propertyId","portCount","value","type","networkInterface","poeOutput","poeAvailability","layerTwoFunctionality","powerRedundancy","mountType","outdoorReady","Union","notes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAMA,iBAAA,GAAoBC,
|
|
1
|
+
{"version":3,"file":"uispSwitch.js","sources":["../../../../../src/constants/modelCompareData/data/products/uispSwitch.tsx"],"sourcesContent":["import { styled } from \"styled-components\";\n\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../../components/StyleableSvgImage\";\nimport { UISPCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/UispSwitch/uispSwitch.jpg\";\nimport Union from \"../../assets/union-asterisk.svg\";\nimport type { Product } from \"../../types\";\nimport {\n layerTwoFunctionality,\n mountType,\n networkInterface,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n} from \"../properties\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n background-color: black;\n`;\n\nexport const uispSwitch: Product = {\n id: \"uispSwitch\",\n title: \"uispSwitch.title\",\n techspecsPath: [SiteId.TechSpecs, `/uisp/${UISPCategoryId.Wired}/uisp-s`],\n storePathParts: { productSlug: \"uisp-s\", category: \"all-wired\" },\n sku: \"UISP-S\",\n description: \"uispSwitch.description\",\n descriptionMaxWidth: 220,\n image: { src: image, width: 281, height: 182 },\n v3Image: { src: image, width: 281, height: 182 },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"8 + 1 SFP\" },\n },\n {\n propertyId: networkInterface.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.networkingInterface\",\n },\n },\n {\n propertyId: poeOutput.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.poeOutput\",\n },\n },\n {\n propertyId: poeAvailability.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.poeAvailability\",\n },\n },\n {\n propertyId: layerTwoFunctionality.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: mountType.id,\n value: {\n type: \"translation\",\n value: \"uispSwitch.mountType\",\n },\n },\n {\n propertyId: outdoorReady.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={Union} height={12} width={24} />,\n },\n },\n ],\n notes: [\"uispSwitch.notes\"],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","uispSwitch","id","title","techspecsPath","SiteId","TechSpecs","UISPCategoryId","Wired","storePathParts","productSlug","category","sku","description","descriptionMaxWidth","image","src","width","height","v3Image","propertyValues","propertyId","portCount","value","type","networkInterface","poeOutput","poeAvailability","layerTwoFunctionality","powerRedundancy","mountType","outdoorReady","Union","notes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAMA,iBAAA,GAAoBC,wBAAOC,qCAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,UAAsB,GAAA;EACjCC,EAAI,EAAA,YAAA;EACJC,KAAO,EAAA,kBAAA;EACPC,eAAe,CAACC,OAAA,CAAAA,MAAA,CAAOC,WAAW,SAASC,mBAAA,CAAeC,KAAK,SAAS,CAAA;EACxEC,cAAgB,EAAA;IAAEC,WAAa,EAAA,QAAA;IAAUC,UAAU;EAAY,CAAA;EAC/DC,GAAK,EAAA,QAAA;EACLC,WAAa,EAAA,wBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,OAAO;IAAEC,GAAA,EAAKD;IAAOE,KAAO,EAAA,GAAA;IAAKC,QAAQ;EAAI,CAAA;EAC7CC,SAAS;IAAEH,GAAA,EAAKD;IAAOE,KAAO,EAAA,GAAA;IAAKC,QAAQ;EAAI,CAAA;EAC/CE,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAA,SAAA,CAAApB,EAAA;IACtBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAY;EAC9C,CAAA,EACA;IACEF,YAAYI,gBAAiB,CAAAA,gBAAA,CAAAvB,EAAA;IAC7BqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYK,SAAU,CAAAA,SAAA,CAAAxB,EAAA;IACtBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYM,eAAgB,CAAAA,eAAA,CAAAzB,EAAA;IAC5BqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYO,qBAAsB,CAAAA,qBAAA,CAAA1B,EAAA;IAClCqB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC,CAAA,EACA;IACEF,YAAYQ,eAAgB,CAAAA,eAAA,CAAA3B,EAAA;IAC5BqB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYS,SAAU,CAAAA,SAAA,CAAA5B,EAAA;IACtBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYU,YAAa,CAAAA,YAAA,CAAA7B,EAAA;IACzBqB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQzB,iBAAkB,EAAA;QAAAkB,GAAA,EAAKgB;QAAOd,MAAQ,EAAA,EAAA;QAAID,OAAO;MAAI,CAAA;IAAA;EAC/D,CAAA,CAEJ;EACAgB,KAAA,EAAO,CAAC,kBAAkB;AAC5B,CAAA;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var styledComponents = require('styled-components');
|
|
5
5
|
require('../../../../components/StyleableSvgImage/index.js');
|
|
6
6
|
require('../../../proStoreCategories/index.js');
|
|
7
7
|
var uisp = require('../../../proStoreCategories/mapping/uisp.js');
|
|
@@ -28,7 +28,7 @@ function _interopDefault(e) {
|
|
|
28
28
|
var image__default = /*#__PURE__*/_interopDefault(image);
|
|
29
29
|
var Union__default = /*#__PURE__*/_interopDefault(Union);
|
|
30
30
|
"use strict";
|
|
31
|
-
const StyleableSvgImage =
|
|
31
|
+
const StyleableSvgImage = styledComponents.styled(StyleableSvgImage$1.StyleableSvgImage)`
|
|
32
32
|
background-color: black;
|
|
33
33
|
`;
|
|
34
34
|
const uispSwitchPlus = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uispSwitchPlus.js","sources":["../../../../../src/constants/modelCompareData/data/products/uispSwitchPlus.tsx"],"sourcesContent":["import { styled } from \"styled-components\";\n\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../../components/StyleableSvgImage\";\nimport { UISPCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UISPChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/uisp\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/UispSwitch/uispSwitchPlus.jpg\";\nimport Union from \"../../assets/union-asterisk.svg\";\nimport type { Product } from \"../../types\";\nimport {\n layerTwoFunctionality,\n mountType,\n networkInterface,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n} from \"../properties\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n background-color: black;\n`;\n\nexport const uispSwitchPlus: Product = {\n id: \"uispSwitch\",\n title: \"uispSwitchPlus.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/uisp/${UISPCategoryId.Wired}/uisp-s-plus`,\n ],\n storePathParts: {\n productSlug: \"uisp-s-plus\",\n category: UISPChildCategorySlug.WiredUISPSwitching,\n },\n sku: \"UISP-S-Plus\",\n description: \"uispSwitchPlus.description\",\n descriptionMaxWidth: 170,\n image: { src: image, width: 281, height: 182 },\n v3Image: { src: image, width: 281, height: 182 },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"4 + 4 SFP+\" },\n },\n {\n propertyId: networkInterface.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.networkingInterface\",\n },\n },\n {\n propertyId: poeOutput.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.poeOutput\",\n },\n },\n {\n propertyId: poeAvailability.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.poeAvailability\",\n },\n },\n {\n propertyId: layerTwoFunctionality.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.powerRedundancy\",\n },\n },\n {\n propertyId: mountType.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.mountType\",\n },\n },\n {\n propertyId: outdoorReady.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={Union} height={12} width={24} />,\n },\n },\n ],\n notes: [\"uispSwitchPlus.notes\"],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","uispSwitchPlus","id","title","techspecsPath","SiteId","TechSpecs","UISPCategoryId","Wired","storePathParts","productSlug","category","UISPChildCategorySlug","WiredUISPSwitching","sku","description","descriptionMaxWidth","image","src","width","height","v3Image","propertyValues","propertyId","portCount","value","type","networkInterface","poeOutput","poeAvailability","layerTwoFunctionality","powerRedundancy","mountType","outdoorReady","Union","notes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAMA,iBAAA,GAAoBC,
|
|
1
|
+
{"version":3,"file":"uispSwitchPlus.js","sources":["../../../../../src/constants/modelCompareData/data/products/uispSwitchPlus.tsx"],"sourcesContent":["import { styled } from \"styled-components\";\n\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../../components/StyleableSvgImage\";\nimport { UISPCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UISPChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/uisp\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/UispSwitch/uispSwitchPlus.jpg\";\nimport Union from \"../../assets/union-asterisk.svg\";\nimport type { Product } from \"../../types\";\nimport {\n layerTwoFunctionality,\n mountType,\n networkInterface,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n} from \"../properties\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n background-color: black;\n`;\n\nexport const uispSwitchPlus: Product = {\n id: \"uispSwitch\",\n title: \"uispSwitchPlus.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/uisp/${UISPCategoryId.Wired}/uisp-s-plus`,\n ],\n storePathParts: {\n productSlug: \"uisp-s-plus\",\n category: UISPChildCategorySlug.WiredUISPSwitching,\n },\n sku: \"UISP-S-Plus\",\n description: \"uispSwitchPlus.description\",\n descriptionMaxWidth: 170,\n image: { src: image, width: 281, height: 182 },\n v3Image: { src: image, width: 281, height: 182 },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"4 + 4 SFP+\" },\n },\n {\n propertyId: networkInterface.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.networkingInterface\",\n },\n },\n {\n propertyId: poeOutput.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.poeOutput\",\n },\n },\n {\n propertyId: poeAvailability.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.poeAvailability\",\n },\n },\n {\n propertyId: layerTwoFunctionality.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.powerRedundancy\",\n },\n },\n {\n propertyId: mountType.id,\n value: {\n type: \"translation\",\n value: \"uispSwitchPlus.mountType\",\n },\n },\n {\n propertyId: outdoorReady.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={Union} height={12} width={24} />,\n },\n },\n ],\n notes: [\"uispSwitchPlus.notes\"],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","uispSwitchPlus","id","title","techspecsPath","SiteId","TechSpecs","UISPCategoryId","Wired","storePathParts","productSlug","category","UISPChildCategorySlug","WiredUISPSwitching","sku","description","descriptionMaxWidth","image","src","width","height","v3Image","propertyValues","propertyId","portCount","value","type","networkInterface","poeOutput","poeAvailability","layerTwoFunctionality","powerRedundancy","mountType","outdoorReady","Union","notes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAMA,iBAAA,GAAoBC,wBAAOC,qCAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,cAA0B,GAAA;EACrCC,EAAI,EAAA,YAAA;EACJC,KAAO,EAAA,sBAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,SAASC,oBAAeC,KAAK,cAAA,CAC/B;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,aAAA;IACbC,UAAUC,IAAAA,CAAAA,qBAAsB,CAAAC;EAClC,CAAA;EACAC,GAAK,EAAA,aAAA;EACLC,WAAa,EAAA,4BAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,OAAO;IAAEC,GAAA,EAAKD;IAAOE,KAAO,EAAA,GAAA;IAAKC,QAAQ;EAAI,CAAA;EAC7CC,SAAS;IAAEH,GAAA,EAAKD;IAAOE,KAAO,EAAA,GAAA;IAAKC,QAAQ;EAAI,CAAA;EAC/CE,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAA,SAAA,CAAAtB,EAAA;IACtBuB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAa;EAC/C,CAAA,EACA;IACEF,YAAYI,gBAAiB,CAAAA,gBAAA,CAAAzB,EAAA;IAC7BuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYK,SAAU,CAAAA,SAAA,CAAA1B,EAAA;IACtBuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYM,eAAgB,CAAAA,eAAA,CAAA3B,EAAA;IAC5BuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYO,qBAAsB,CAAAA,qBAAA,CAAA5B,EAAA;IAClCuB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC,CAAA,EACA;IACEF,YAAYQ,eAAgB,CAAAA,eAAA,CAAA7B,EAAA;IAC5BuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYS,SAAU,CAAAA,SAAA,CAAA9B,EAAA;IACtBuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IAAA;EAEX,CAAA,EACA;IACEF,YAAYU,YAAa,CAAAA,YAAA,CAAA/B,EAAA;IACzBuB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQ3B,iBAAkB,EAAA;QAAAoB,GAAA,EAAKgB;QAAOd,MAAQ,EAAA,EAAA;QAAID,OAAO;MAAI,CAAA;IAAA;EAC/D,CAAA,CAEJ;EACAgB,KAAA,EAAO,CAAC,sBAAsB;AAChC,CAAA;"}
|
|
@@ -56,7 +56,7 @@ var _externalAssets_D7iijHbw = require("../../assets/powerAmp.svg");
|
|
|
56
56
|
var _externalAssets_BNVlq5sI = require("../../assets/unasDrive.svg");
|
|
57
57
|
var _externalAssets_D37k8sgh = require("../../assets/powerTech.svg");
|
|
58
58
|
var _externalAssets_6$HKdBjs = require("../../assets/cabling.svg");
|
|
59
|
-
var
|
|
59
|
+
var _externalAssets_BFVOBxjM = require("../../assets/rack2.svg");
|
|
60
60
|
var _externalAssets_DRzhtlf4 = require("../../assets/storage.svg");
|
|
61
61
|
var _externalAssets_BUjasMxx = require("../../assets/internetSolutions.svg");
|
|
62
62
|
var _externalAssets_BM8zMoz6 = require("../../assets/specificConsoles.svg");
|
|
@@ -117,7 +117,7 @@ var _externalAssets_D7iijHbw__default = /*#__PURE__*/_interopDefault(_externalAs
|
|
|
117
117
|
var _externalAssets_BNVlq5sI__default = /*#__PURE__*/_interopDefault(_externalAssets_BNVlq5sI);
|
|
118
118
|
var _externalAssets_D37k8sgh__default = /*#__PURE__*/_interopDefault(_externalAssets_D37k8sgh);
|
|
119
119
|
var _externalAssets_6$HKdBjs__default = /*#__PURE__*/_interopDefault(_externalAssets_6$HKdBjs);
|
|
120
|
-
var
|
|
120
|
+
var _externalAssets_BFVOBxjM__default = /*#__PURE__*/_interopDefault(_externalAssets_BFVOBxjM);
|
|
121
121
|
var _externalAssets_DRzhtlf4__default = /*#__PURE__*/_interopDefault(_externalAssets_DRzhtlf4);
|
|
122
122
|
var _externalAssets_BUjasMxx__default = /*#__PURE__*/_interopDefault(_externalAssets_BUjasMxx);
|
|
123
123
|
var _externalAssets_BM8zMoz6__default = /*#__PURE__*/_interopDefault(_externalAssets_BM8zMoz6);
|
|
@@ -615,7 +615,7 @@ const NAVIGATION_MAPPING = {
|
|
|
615
615
|
id: "installations",
|
|
616
616
|
label: "Installations",
|
|
617
617
|
icon: {
|
|
618
|
-
src:
|
|
618
|
+
src: _externalAssets_BFVOBxjM__default["default"],
|
|
619
619
|
width: 41,
|
|
620
620
|
height: 38
|
|
621
621
|
},
|
|
@@ -54,7 +54,7 @@ import _externalAssets_D7iijHbw__default from "../../assets/powerAmp.svg";
|
|
|
54
54
|
import _externalAssets_BNVlq5sI__default from "../../assets/unasDrive.svg";
|
|
55
55
|
import _externalAssets_D37k8sgh__default from "../../assets/powerTech.svg";
|
|
56
56
|
import _externalAssets_6$HKdBjs__default from "../../assets/cabling.svg";
|
|
57
|
-
import
|
|
57
|
+
import _externalAssets_BFVOBxjM__default from "../../assets/rack2.svg";
|
|
58
58
|
import _externalAssets_DRzhtlf4__default from "../../assets/storage.svg";
|
|
59
59
|
import _externalAssets_BUjasMxx__default from "../../assets/internetSolutions.svg";
|
|
60
60
|
import _externalAssets_BM8zMoz6__default from "../../assets/specificConsoles.svg";
|
|
@@ -552,7 +552,7 @@ const NAVIGATION_MAPPING = {
|
|
|
552
552
|
id: "installations",
|
|
553
553
|
label: "Installations",
|
|
554
554
|
icon: {
|
|
555
|
-
src:
|
|
555
|
+
src: _externalAssets_BFVOBxjM__default,
|
|
556
556
|
width: 41,
|
|
557
557
|
height: 38
|
|
558
558
|
},
|
|
@@ -49,7 +49,7 @@ var _externalAssets_BJ4JezH6 = require("../../assets/doorbells.svg");
|
|
|
49
49
|
var _externalAssets_TWdDoFCP = require("../../assets/compact-cameras.svg");
|
|
50
50
|
var _externalAssets_B4KkF36C = require("../../assets/ai-enhancements.svg");
|
|
51
51
|
var _externalAssets_CgJ1WmE4 = require("../../assets/superlink.svg");
|
|
52
|
-
var
|
|
52
|
+
var _externalAssets_CtJPud52 = require("../../assets/floodlight2.svg");
|
|
53
53
|
var _externalAssets_C_DozlA4 = require("../../assets/camera-special-devices.png");
|
|
54
54
|
var _externalAssets_h17pgRRZ = require("../../assets/special-devices.svg");
|
|
55
55
|
var _externalAssets_2tUH2ymR = require("../../assets/video-recorders.png");
|
|
@@ -144,7 +144,7 @@ var _externalAssets_BJ4JezH6__default = /*#__PURE__*/_interopDefault(_externalAs
|
|
|
144
144
|
var _externalAssets_TWdDoFCP__default = /*#__PURE__*/_interopDefault(_externalAssets_TWdDoFCP);
|
|
145
145
|
var _externalAssets_B4KkF36C__default = /*#__PURE__*/_interopDefault(_externalAssets_B4KkF36C);
|
|
146
146
|
var _externalAssets_CgJ1WmE4__default = /*#__PURE__*/_interopDefault(_externalAssets_CgJ1WmE4);
|
|
147
|
-
var
|
|
147
|
+
var _externalAssets_CtJPud52__default = /*#__PURE__*/_interopDefault(_externalAssets_CtJPud52);
|
|
148
148
|
var _externalAssets_C_DozlA4__default = /*#__PURE__*/_interopDefault(_externalAssets_C_DozlA4);
|
|
149
149
|
var _externalAssets_h17pgRRZ__default = /*#__PURE__*/_interopDefault(_externalAssets_h17pgRRZ);
|
|
150
150
|
var _externalAssets_2tUH2ymR__default = /*#__PURE__*/_interopDefault(_externalAssets_2tUH2ymR);
|
|
@@ -649,7 +649,7 @@ const SHARED_MENU_ITEMS = [{
|
|
|
649
649
|
label: "menu.label.security.specialDevices.floodlight",
|
|
650
650
|
url: [mapping.SiteId.Ui, "/physical-security/special-devices/floodlight"],
|
|
651
651
|
icon: {
|
|
652
|
-
src:
|
|
652
|
+
src: _externalAssets_CtJPud52__default["default"],
|
|
653
653
|
width: 40,
|
|
654
654
|
height: 40
|
|
655
655
|
}
|
|
@@ -47,7 +47,7 @@ import _externalAssets_BJ4JezH6__default from "../../assets/doorbells.svg";
|
|
|
47
47
|
import _externalAssets_TWdDoFCP__default from "../../assets/compact-cameras.svg";
|
|
48
48
|
import _externalAssets_B4KkF36C__default from "../../assets/ai-enhancements.svg";
|
|
49
49
|
import _externalAssets_CgJ1WmE4__default from "../../assets/superlink.svg";
|
|
50
|
-
import
|
|
50
|
+
import _externalAssets_CtJPud52__default from "../../assets/floodlight2.svg";
|
|
51
51
|
import _externalAssets_C_DozlA4__default from "../../assets/camera-special-devices.png";
|
|
52
52
|
import _externalAssets_h17pgRRZ__default from "../../assets/special-devices.svg";
|
|
53
53
|
import _externalAssets_2tUH2ymR__default from "../../assets/video-recorders.png";
|
|
@@ -552,7 +552,7 @@ const SHARED_MENU_ITEMS = [{
|
|
|
552
552
|
label: "menu.label.security.specialDevices.floodlight",
|
|
553
553
|
url: [SiteId.Ui, "/physical-security/special-devices/floodlight"],
|
|
554
554
|
icon: {
|
|
555
|
-
src:
|
|
555
|
+
src: _externalAssets_CtJPud52__default,
|
|
556
556
|
width: 40,
|
|
557
557
|
height: 40
|
|
558
558
|
}
|
|
@@ -11,7 +11,9 @@ function withUbntLibraries(options) {
|
|
|
11
11
|
// Core repos
|
|
12
12
|
"@ubnt/ui-components", "@ubnt/icons", "@ubnt/store.core",
|
|
13
13
|
// Additional dependencies needed for @ubnt/ui-components, @ubnt/store.core, ...
|
|
14
|
-
"lodash-es",
|
|
14
|
+
"lodash-es",
|
|
15
|
+
// "styled-components",
|
|
16
|
+
"react-use", "convert-units"
|
|
15
17
|
// Currently as of 3.0.0-beta.5 caused prod build issues on consumer projects
|
|
16
18
|
];
|
|
17
19
|
return nextConfig => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["../../../src/utils/nextjs/plugin.ts"],"sourcesContent":["import type { NextConfig } from \"next\";\n\nimport { dedupe } from \"../array\";\nimport patchUiComponentsAndIcons from \"./patch\";\n\nexport type WithUbntLibrariesConfig = {\n /**\n * ESM Modules to transpile\n */\n transpilePackages?: string[];\n};\n\n/**\n * Next.config.js plugin to enable support for @ubnt/ui-components, @ubnt/icons, @ubnt/store.core and other common\n * patterns for next.js projects\n *\n * ! Don't forget about adding SSR registry, see `./registry.tsx` for more info!\n */\nexport function withUbntLibraries(options?: WithUbntLibrariesConfig) {\n /**\n * Run script that patches `@ubnt/ui-components` and `@ubnt/icons` files\n */\n patchUiComponentsAndIcons();\n\n const transpilePackages = [\n // Extra libs\n ...(options?.transpilePackages ?? []),\n // Core repos\n \"@ubnt/ui-components\",\n \"@ubnt/icons\",\n \"@ubnt/store.core\",\n // Additional dependencies needed for @ubnt/ui-components, @ubnt/store.core, ...\n \"lodash-es\",\n \"styled-components\",\n \"react-use\",\n \"convert-units\", // Currently as of 3.0.0-beta.5 caused prod build issues on consumer projects\n ];\n\n return (nextConfig: NextConfig): NextConfig => {\n /**\n * Needed to transpile `@ubnt/ui-components` and `@ubnt/icons` packages as they are packaged as ESM modules\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/optimizePackageImports\n */\n if (!nextConfig.experimental) {\n nextConfig.experimental = {};\n }\n nextConfig.experimental.optimizePackageImports = dedupe([\n ...(nextConfig.experimental.optimizePackageImports ?? []),\n ...transpilePackages,\n ]);\n nextConfig.transpilePackages = dedupe([\n ...(nextConfig.transpilePackages ?? []),\n ...transpilePackages,\n ]);\n\n /**\n * Solution to fix `@ubnt/store.core` using ui-components which is \"esm+module\" mix-match and fix following error:\n *\n * ./node_modules/@ubnt/store.core/lib/components/VariantSelector/VariantSelector.styles.js\n * Module not found: ESM packages (@ubnt/ui-components/Button) need to be imported. Use 'import' to reference the\n * package instead. https://nextjs.org/docs/messages/import-esm-externals\n *\n * @see https://nextjs.org/docs/messages/import-esm-externals\n */\n nextConfig.experimental.esmExternals = \"loose\";\n\n /**\n * Needed only to resolve issue with SSR for @ubnt/store.core package using @ubnt/ui-components as they are\n * packaged as CJS while it's actually MJS.\n * In order to fix the issue we to flip how next.js resolved modules for Node.js SSR builds, so we split ordering so\n * .mjs which our @ubnt/store.core has is a preferred over CJS\n * @see https://github.com/vercel/next.js/blob/canary/packages/next/build/webpack-config.ts#L875\n */\n const oldWebpackFn = nextConfig.webpack;\n nextConfig.webpack = (webpackConfig, options) => {\n if (oldWebpackFn) {\n webpackConfig = oldWebpackFn(webpackConfig, options);\n }\n\n const jsExtIndex = webpackConfig.resolve.extensions.indexOf(\".js\");\n const mjsExtIndex = webpackConfig.resolve.extensions.indexOf(\".mjs\");\n if (jsExtIndex !== -1 && mjsExtIndex !== -1 && mjsExtIndex > jsExtIndex) {\n webpackConfig.resolve.extensions[jsExtIndex] = \".mjs\";\n webpackConfig.resolve.extensions[mjsExtIndex] = \".js\";\n }\n\n return webpackConfig;\n };\n\n return nextConfig;\n };\n}\n"],"names":["withUbntLibraries","options","patchUiComponentsAndIcons","transpilePackages","nextConfig","experimental","optimizePackageImports","dedupe","esmExternals","oldWebpackFn","webpack","webpackConfig","jsExtIndex","resolve","extensions","indexOf","mjsExtIndex"],"mappings":";;;;;AAkBO,SAASA,kBAAkBC,OAAmC,EAAA;EAIzCC,gBAAA,CAAA,CAAA;EAE1B,MAAMC,iBAAoB,GAAA;EAAA;EAExB,IAAIF,OAAS,EAAAE,iBAAA,IAAqB,EAAC;EAAA;EAEnC,qBAAA,EACA,aAAA,EACA,kBAAA;EAAA;EAEA,WAAA,
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["../../../src/utils/nextjs/plugin.ts"],"sourcesContent":["import type { NextConfig } from \"next\";\n\nimport { dedupe } from \"../array\";\nimport patchUiComponentsAndIcons from \"./patch\";\n\nexport type WithUbntLibrariesConfig = {\n /**\n * ESM Modules to transpile\n */\n transpilePackages?: string[];\n};\n\n/**\n * Next.config.js plugin to enable support for @ubnt/ui-components, @ubnt/icons, @ubnt/store.core and other common\n * patterns for next.js projects\n *\n * ! Don't forget about adding SSR registry, see `./registry.tsx` for more info!\n */\nexport function withUbntLibraries(options?: WithUbntLibrariesConfig) {\n /**\n * Run script that patches `@ubnt/ui-components` and `@ubnt/icons` files\n */\n patchUiComponentsAndIcons();\n\n const transpilePackages = [\n // Extra libs\n ...(options?.transpilePackages ?? []),\n // Core repos\n \"@ubnt/ui-components\",\n \"@ubnt/icons\",\n \"@ubnt/store.core\",\n // Additional dependencies needed for @ubnt/ui-components, @ubnt/store.core, ...\n \"lodash-es\",\n // \"styled-components\",\n \"react-use\",\n \"convert-units\", // Currently as of 3.0.0-beta.5 caused prod build issues on consumer projects\n ];\n\n return (nextConfig: NextConfig): NextConfig => {\n /**\n * Needed to transpile `@ubnt/ui-components` and `@ubnt/icons` packages as they are packaged as ESM modules\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/optimizePackageImports\n */\n if (!nextConfig.experimental) {\n nextConfig.experimental = {};\n }\n nextConfig.experimental.optimizePackageImports = dedupe([\n ...(nextConfig.experimental.optimizePackageImports ?? []),\n ...transpilePackages,\n ]);\n nextConfig.transpilePackages = dedupe([\n ...(nextConfig.transpilePackages ?? []),\n ...transpilePackages,\n ]);\n\n /**\n * Solution to fix `@ubnt/store.core` using ui-components which is \"esm+module\" mix-match and fix following error:\n *\n * ./node_modules/@ubnt/store.core/lib/components/VariantSelector/VariantSelector.styles.js\n * Module not found: ESM packages (@ubnt/ui-components/Button) need to be imported. Use 'import' to reference the\n * package instead. https://nextjs.org/docs/messages/import-esm-externals\n *\n * @see https://nextjs.org/docs/messages/import-esm-externals\n */\n nextConfig.experimental.esmExternals = \"loose\";\n\n /**\n * Needed only to resolve issue with SSR for @ubnt/store.core package using @ubnt/ui-components as they are\n * packaged as CJS while it's actually MJS.\n * In order to fix the issue we to flip how next.js resolved modules for Node.js SSR builds, so we split ordering so\n * .mjs which our @ubnt/store.core has is a preferred over CJS\n * @see https://github.com/vercel/next.js/blob/canary/packages/next/build/webpack-config.ts#L875\n */\n const oldWebpackFn = nextConfig.webpack;\n nextConfig.webpack = (webpackConfig, options) => {\n if (oldWebpackFn) {\n webpackConfig = oldWebpackFn(webpackConfig, options);\n }\n\n const jsExtIndex = webpackConfig.resolve.extensions.indexOf(\".js\");\n const mjsExtIndex = webpackConfig.resolve.extensions.indexOf(\".mjs\");\n if (jsExtIndex !== -1 && mjsExtIndex !== -1 && mjsExtIndex > jsExtIndex) {\n webpackConfig.resolve.extensions[jsExtIndex] = \".mjs\";\n webpackConfig.resolve.extensions[mjsExtIndex] = \".js\";\n }\n\n return webpackConfig;\n };\n\n return nextConfig;\n };\n}\n"],"names":["withUbntLibraries","options","patchUiComponentsAndIcons","transpilePackages","nextConfig","experimental","optimizePackageImports","dedupe","esmExternals","oldWebpackFn","webpack","webpackConfig","jsExtIndex","resolve","extensions","indexOf","mjsExtIndex"],"mappings":";;;;;AAkBO,SAASA,kBAAkBC,OAAmC,EAAA;EAIzCC,gBAAA,CAAA,CAAA;EAE1B,MAAMC,iBAAoB,GAAA;EAAA;EAExB,IAAIF,OAAS,EAAAE,iBAAA,IAAqB,EAAC;EAAA;EAEnC,qBAAA,EACA,aAAA,EACA,kBAAA;EAAA;EAEA,WAAA;EAAA;EAEA,WAAA,EACA;EAAA;EAAA,CACF;EAEA,OAAQC,UAAuC,IAAA;IAKzC,IAAA,CAACA,WAAWC,YAAc,EAAA;MAC5BD,UAAA,CAAWC,eAAe,CAAC,CAAA;IAAA;IAElBD,UAAA,CAAAC,YAAA,CAAaC,yBAAyBC,YAAO,CAAA,CACtD,IAAIH,UAAA,CAAWC,YAAa,CAAAC,sBAAA,IAA0B,EAAC,GACvD,GAAGH,iBAAA,CACJ,CAAA;IACDC,UAAA,CAAWD,oBAAoBI,YAAO,CAAA,CACpC,IAAIH,UAAW,CAAAD,iBAAA,IAAqB,EAAC,GACrC,GAAGA,iBAAA,CACJ,CAAA;IAWDC,UAAA,CAAWC,aAAaG,YAAe,GAAA,OAAA;IASvC,MAAMC,eAAeL,UAAW,CAAAM,OAAA;IACrBN,UAAA,CAAAM,OAAA,GAAU,CAACC,aAAA,EAAeV,QAAY,KAAA;MAC/C,IAAIQ,YAAc,EAAA;QACAE,aAAA,GAAAF,YAAA,CAAaE,eAAeV,QAAO,CAAA;MAAA;MAGrD,MAAMW,UAAa,GAAAD,aAAA,CAAcE,OAAQ,CAAAC,UAAA,CAAWC,QAAQ,KAAK,CAAA;MACjE,MAAMC,WAAc,GAAAL,aAAA,CAAcE,OAAQ,CAAAC,UAAA,CAAWC,QAAQ,MAAM,CAAA;MACnE,IAAIH,UAAe,KAAA,CAAA,CAAA,IAAMI,WAAgB,KAAA,CAAA,CAAA,IAAMA,cAAcJ,UAAY,EAAA;QACzDD,aAAA,CAAAE,OAAA,CAAQC,UAAW,CAAAF,UAAU,CAAI,GAAA,MAAA;QACjCD,aAAA,CAAAE,OAAA,CAAQC,UAAW,CAAAE,WAAW,CAAI,GAAA,KAAA;MAAA;MAG3C,OAAAL,aAAA;IACT,CAAA;IAEO,OAAAP,UAAA;EACT,CAAA;AACF;"}
|
|
@@ -9,7 +9,9 @@ function withUbntLibraries(options) {
|
|
|
9
9
|
// Core repos
|
|
10
10
|
"@ubnt/ui-components", "@ubnt/icons", "@ubnt/store.core",
|
|
11
11
|
// Additional dependencies needed for @ubnt/ui-components, @ubnt/store.core, ...
|
|
12
|
-
"lodash-es",
|
|
12
|
+
"lodash-es",
|
|
13
|
+
// "styled-components",
|
|
14
|
+
"react-use", "convert-units"
|
|
13
15
|
// Currently as of 3.0.0-beta.5 caused prod build issues on consumer projects
|
|
14
16
|
];
|
|
15
17
|
return nextConfig => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.mjs","sources":["../../../src/utils/nextjs/plugin.ts"],"sourcesContent":["import type { NextConfig } from \"next\";\n\nimport { dedupe } from \"../array\";\nimport patchUiComponentsAndIcons from \"./patch\";\n\nexport type WithUbntLibrariesConfig = {\n /**\n * ESM Modules to transpile\n */\n transpilePackages?: string[];\n};\n\n/**\n * Next.config.js plugin to enable support for @ubnt/ui-components, @ubnt/icons, @ubnt/store.core and other common\n * patterns for next.js projects\n *\n * ! Don't forget about adding SSR registry, see `./registry.tsx` for more info!\n */\nexport function withUbntLibraries(options?: WithUbntLibrariesConfig) {\n /**\n * Run script that patches `@ubnt/ui-components` and `@ubnt/icons` files\n */\n patchUiComponentsAndIcons();\n\n const transpilePackages = [\n // Extra libs\n ...(options?.transpilePackages ?? []),\n // Core repos\n \"@ubnt/ui-components\",\n \"@ubnt/icons\",\n \"@ubnt/store.core\",\n // Additional dependencies needed for @ubnt/ui-components, @ubnt/store.core, ...\n \"lodash-es\",\n \"styled-components\",\n \"react-use\",\n \"convert-units\", // Currently as of 3.0.0-beta.5 caused prod build issues on consumer projects\n ];\n\n return (nextConfig: NextConfig): NextConfig => {\n /**\n * Needed to transpile `@ubnt/ui-components` and `@ubnt/icons` packages as they are packaged as ESM modules\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/optimizePackageImports\n */\n if (!nextConfig.experimental) {\n nextConfig.experimental = {};\n }\n nextConfig.experimental.optimizePackageImports = dedupe([\n ...(nextConfig.experimental.optimizePackageImports ?? []),\n ...transpilePackages,\n ]);\n nextConfig.transpilePackages = dedupe([\n ...(nextConfig.transpilePackages ?? []),\n ...transpilePackages,\n ]);\n\n /**\n * Solution to fix `@ubnt/store.core` using ui-components which is \"esm+module\" mix-match and fix following error:\n *\n * ./node_modules/@ubnt/store.core/lib/components/VariantSelector/VariantSelector.styles.js\n * Module not found: ESM packages (@ubnt/ui-components/Button) need to be imported. Use 'import' to reference the\n * package instead. https://nextjs.org/docs/messages/import-esm-externals\n *\n * @see https://nextjs.org/docs/messages/import-esm-externals\n */\n nextConfig.experimental.esmExternals = \"loose\";\n\n /**\n * Needed only to resolve issue with SSR for @ubnt/store.core package using @ubnt/ui-components as they are\n * packaged as CJS while it's actually MJS.\n * In order to fix the issue we to flip how next.js resolved modules for Node.js SSR builds, so we split ordering so\n * .mjs which our @ubnt/store.core has is a preferred over CJS\n * @see https://github.com/vercel/next.js/blob/canary/packages/next/build/webpack-config.ts#L875\n */\n const oldWebpackFn = nextConfig.webpack;\n nextConfig.webpack = (webpackConfig, options) => {\n if (oldWebpackFn) {\n webpackConfig = oldWebpackFn(webpackConfig, options);\n }\n\n const jsExtIndex = webpackConfig.resolve.extensions.indexOf(\".js\");\n const mjsExtIndex = webpackConfig.resolve.extensions.indexOf(\".mjs\");\n if (jsExtIndex !== -1 && mjsExtIndex !== -1 && mjsExtIndex > jsExtIndex) {\n webpackConfig.resolve.extensions[jsExtIndex] = \".mjs\";\n webpackConfig.resolve.extensions[mjsExtIndex] = \".js\";\n }\n\n return webpackConfig;\n };\n\n return nextConfig;\n };\n}\n"],"names":["withUbntLibraries","options","patchUiComponentsAndIcons","transpilePackages","nextConfig","experimental","optimizePackageImports","dedupe","esmExternals","oldWebpackFn","webpack","webpackConfig","jsExtIndex","resolve","extensions","indexOf","mjsExtIndex"],"mappings":";;;AAkBO,SAASA,kBAAkBC,OAAmC,EAAA;EAIzCC,yBAAA,CAAA,CAAA;EAE1B,MAAMC,iBAAoB,GAAA;EAAA;EAExB,IAAIF,OAAS,EAAAE,iBAAA,IAAqB,EAAC;EAAA;EAEnC,qBAAA,EACA,aAAA,EACA,kBAAA;EAAA;EAEA,WAAA,
|
|
1
|
+
{"version":3,"file":"plugin.mjs","sources":["../../../src/utils/nextjs/plugin.ts"],"sourcesContent":["import type { NextConfig } from \"next\";\n\nimport { dedupe } from \"../array\";\nimport patchUiComponentsAndIcons from \"./patch\";\n\nexport type WithUbntLibrariesConfig = {\n /**\n * ESM Modules to transpile\n */\n transpilePackages?: string[];\n};\n\n/**\n * Next.config.js plugin to enable support for @ubnt/ui-components, @ubnt/icons, @ubnt/store.core and other common\n * patterns for next.js projects\n *\n * ! Don't forget about adding SSR registry, see `./registry.tsx` for more info!\n */\nexport function withUbntLibraries(options?: WithUbntLibrariesConfig) {\n /**\n * Run script that patches `@ubnt/ui-components` and `@ubnt/icons` files\n */\n patchUiComponentsAndIcons();\n\n const transpilePackages = [\n // Extra libs\n ...(options?.transpilePackages ?? []),\n // Core repos\n \"@ubnt/ui-components\",\n \"@ubnt/icons\",\n \"@ubnt/store.core\",\n // Additional dependencies needed for @ubnt/ui-components, @ubnt/store.core, ...\n \"lodash-es\",\n // \"styled-components\",\n \"react-use\",\n \"convert-units\", // Currently as of 3.0.0-beta.5 caused prod build issues on consumer projects\n ];\n\n return (nextConfig: NextConfig): NextConfig => {\n /**\n * Needed to transpile `@ubnt/ui-components` and `@ubnt/icons` packages as they are packaged as ESM modules\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/optimizePackageImports\n */\n if (!nextConfig.experimental) {\n nextConfig.experimental = {};\n }\n nextConfig.experimental.optimizePackageImports = dedupe([\n ...(nextConfig.experimental.optimizePackageImports ?? []),\n ...transpilePackages,\n ]);\n nextConfig.transpilePackages = dedupe([\n ...(nextConfig.transpilePackages ?? []),\n ...transpilePackages,\n ]);\n\n /**\n * Solution to fix `@ubnt/store.core` using ui-components which is \"esm+module\" mix-match and fix following error:\n *\n * ./node_modules/@ubnt/store.core/lib/components/VariantSelector/VariantSelector.styles.js\n * Module not found: ESM packages (@ubnt/ui-components/Button) need to be imported. Use 'import' to reference the\n * package instead. https://nextjs.org/docs/messages/import-esm-externals\n *\n * @see https://nextjs.org/docs/messages/import-esm-externals\n */\n nextConfig.experimental.esmExternals = \"loose\";\n\n /**\n * Needed only to resolve issue with SSR for @ubnt/store.core package using @ubnt/ui-components as they are\n * packaged as CJS while it's actually MJS.\n * In order to fix the issue we to flip how next.js resolved modules for Node.js SSR builds, so we split ordering so\n * .mjs which our @ubnt/store.core has is a preferred over CJS\n * @see https://github.com/vercel/next.js/blob/canary/packages/next/build/webpack-config.ts#L875\n */\n const oldWebpackFn = nextConfig.webpack;\n nextConfig.webpack = (webpackConfig, options) => {\n if (oldWebpackFn) {\n webpackConfig = oldWebpackFn(webpackConfig, options);\n }\n\n const jsExtIndex = webpackConfig.resolve.extensions.indexOf(\".js\");\n const mjsExtIndex = webpackConfig.resolve.extensions.indexOf(\".mjs\");\n if (jsExtIndex !== -1 && mjsExtIndex !== -1 && mjsExtIndex > jsExtIndex) {\n webpackConfig.resolve.extensions[jsExtIndex] = \".mjs\";\n webpackConfig.resolve.extensions[mjsExtIndex] = \".js\";\n }\n\n return webpackConfig;\n };\n\n return nextConfig;\n };\n}\n"],"names":["withUbntLibraries","options","patchUiComponentsAndIcons","transpilePackages","nextConfig","experimental","optimizePackageImports","dedupe","esmExternals","oldWebpackFn","webpack","webpackConfig","jsExtIndex","resolve","extensions","indexOf","mjsExtIndex"],"mappings":";;;AAkBO,SAASA,kBAAkBC,OAAmC,EAAA;EAIzCC,yBAAA,CAAA,CAAA;EAE1B,MAAMC,iBAAoB,GAAA;EAAA;EAExB,IAAIF,OAAS,EAAAE,iBAAA,IAAqB,EAAC;EAAA;EAEnC,qBAAA,EACA,aAAA,EACA,kBAAA;EAAA;EAEA,WAAA;EAAA;EAEA,WAAA,EACA;EAAA;EAAA,CACF;EAEA,OAAQC,UAAuC,IAAA;IAKzC,IAAA,CAACA,WAAWC,YAAc,EAAA;MAC5BD,UAAA,CAAWC,eAAe,CAAC,CAAA;IAAA;IAElBD,UAAA,CAAAC,YAAA,CAAaC,yBAAyBC,MAAO,CAAA,CACtD,IAAIH,UAAA,CAAWC,YAAa,CAAAC,sBAAA,IAA0B,EAAC,GACvD,GAAGH,iBAAA,CACJ,CAAA;IACDC,UAAA,CAAWD,oBAAoBI,MAAO,CAAA,CACpC,IAAIH,UAAW,CAAAD,iBAAA,IAAqB,EAAC,GACrC,GAAGA,iBAAA,CACJ,CAAA;IAWDC,UAAA,CAAWC,aAAaG,YAAe,GAAA,OAAA;IASvC,MAAMC,eAAeL,UAAW,CAAAM,OAAA;IACrBN,UAAA,CAAAM,OAAA,GAAU,CAACC,aAAA,EAAeV,QAAY,KAAA;MAC/C,IAAIQ,YAAc,EAAA;QACAE,aAAA,GAAAF,YAAA,CAAaE,eAAeV,QAAO,CAAA;MAAA;MAGrD,MAAMW,UAAa,GAAAD,aAAA,CAAcE,OAAQ,CAAAC,UAAA,CAAWC,QAAQ,KAAK,CAAA;MACjE,MAAMC,WAAc,GAAAL,aAAA,CAAcE,OAAQ,CAAAC,UAAA,CAAWC,QAAQ,MAAM,CAAA;MACnE,IAAIH,UAAe,KAAA,CAAA,CAAA,IAAMI,WAAgB,KAAA,CAAA,CAAA,IAAMA,cAAcJ,UAAY,EAAA;QACzDD,aAAA,CAAAE,OAAA,CAAQC,UAAW,CAAAF,UAAU,CAAI,GAAA,MAAA;QACjCD,aAAA,CAAAE,OAAA,CAAQC,UAAW,CAAAE,WAAW,CAAI,GAAA,KAAA;MAAA;MAG3C,OAAAL,aAAA;IACT,CAAA;IAEO,OAAAP,UAAA;EACT,CAAA;AACF;"}
|