@ubnt/store.core 9.12.0-alpha.8 → 9.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -89
- package/lib/_virtual/_virtual_multi-entry.js +2 -15
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/assets/AITheta.jpg +0 -0
- package/lib/assets/MobileR.jpg +0 -0
- package/lib/assets/ProAV.jpg +0 -0
- package/lib/assets/ai360.jpg +0 -0
- package/lib/assets/ai3602.jpg +0 -0
- package/lib/assets/close2.svg +3 -2
- package/lib/assets/close3.svg +2 -3
- package/lib/assets/cloudgatewayultra.jpg +0 -0
- package/lib/assets/dreamRouter.jpg +0 -0
- package/lib/assets/dreamWall.jpg +0 -0
- package/lib/assets/g5-ptz.jpg +0 -0
- package/lib/assets/g5-ptz2.jpg +0 -0
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus2.svg +4 -1
- package/lib/assets/plus3.svg +1 -4
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/udr.jpg +0 -0
- package/lib/assets/udw.jpg +0 -0
- package/lib/assets/umr.jpg +0 -0
- package/lib/assets/wideAngle.jpg +0 -0
- package/lib/assets/wideAngle2.jpg +0 -0
- package/lib/components/Explore/Explore.js +9 -2
- package/lib/components/Explore/Explore.js.map +1 -1
- package/lib/components/Explore/Explore.mjs +9 -2
- package/lib/components/Explore/Explore.mjs.map +1 -1
- package/lib/components/Explore/ExploreData.d.ts +7 -4
- package/lib/components/Explore/ExploreData.js +139 -82
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +129 -74
- package/lib/components/Explore/ExploreData.mjs.map +1 -1
- package/lib/components/Explore/LensCompare/LensCompare.d.ts +2 -0
- package/lib/components/Explore/LensCompare/LensCompare.js +111 -0
- package/lib/components/Explore/LensCompare/LensCompare.js.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompare.mjs +109 -0
- package/lib/components/Explore/LensCompare/LensCompare.mjs.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompare.styles.d.ts +16 -0
- package/lib/components/Explore/LensCompare/LensCompare.styles.js +153 -0
- package/lib/components/Explore/LensCompare/LensCompare.styles.js.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompare.styles.mjs +132 -0
- package/lib/components/Explore/LensCompare/LensCompare.styles.mjs.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompare.types.d.ts +9 -0
- package/lib/components/Explore/LensCompare/LensCompare.utils.d.ts +2 -0
- package/lib/components/Explore/LensCompare/LensCompare.utils.js +23 -0
- package/lib/components/Explore/LensCompare/LensCompare.utils.js.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompare.utils.mjs +21 -0
- package/lib/components/Explore/LensCompare/LensCompare.utils.mjs.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompareData.d.ts +29 -0
- package/lib/components/Explore/LensCompare/LensCompareData.js +68 -0
- package/lib/components/Explore/LensCompare/LensCompareData.js.map +1 -0
- package/lib/components/Explore/LensCompare/LensCompareData.mjs +58 -0
- package/lib/components/Explore/LensCompare/LensCompareData.mjs.map +1 -0
- package/lib/components/Explore/{assets/udr.jpg.js → LensCompare/assets/ai360.jpg.js} +6 -6
- package/lib/components/Explore/LensCompare/assets/ai360.jpg.js.map +1 -0
- package/lib/components/Explore/LensCompare/assets/ai360.jpg.mjs +3 -0
- package/lib/components/Explore/LensCompare/assets/ai360.jpg.mjs.map +1 -0
- package/lib/components/Explore/LensCompare/assets/wideAngle.jpg.js +27 -0
- package/lib/components/Explore/LensCompare/assets/wideAngle.jpg.js.map +1 -0
- package/lib/components/Explore/LensCompare/assets/wideAngle.jpg.mjs +3 -0
- package/lib/components/Explore/LensCompare/assets/wideAngle.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/AITheta.jpg.js +27 -0
- package/lib/components/Explore/assets/AITheta.jpg.js.map +1 -0
- package/lib/components/Explore/assets/AITheta.jpg.mjs +3 -0
- package/lib/components/Explore/assets/AITheta.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/MobileR.jpg.js +27 -0
- package/lib/components/Explore/assets/MobileR.jpg.js.map +1 -0
- package/lib/components/Explore/assets/MobileR.jpg.mjs +3 -0
- package/lib/components/Explore/assets/MobileR.jpg.mjs.map +1 -0
- package/lib/{assets/keyFeatures/music.svg.js → components/Explore/assets/ProAV.jpg.js} +6 -6
- package/lib/components/Explore/assets/ProAV.jpg.js.map +1 -0
- package/lib/components/Explore/assets/ProAV.jpg.mjs +3 -0
- package/lib/components/Explore/assets/ProAV.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/UISPConsole.jpg.js +5 -5
- package/lib/components/Explore/assets/{baseStation--mobile.jpg.js → baseStation-mobile.jpg.js} +6 -6
- package/lib/components/Explore/assets/baseStation-mobile.jpg.js.map +1 -0
- package/lib/components/Explore/assets/baseStation-mobile.jpg.mjs +3 -0
- package/lib/components/Explore/assets/baseStation-mobile.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/baseStation.jpg.js +5 -5
- package/lib/components/Explore/assets/cloudgatewayultra.jpg.js +27 -0
- package/lib/components/Explore/assets/cloudgatewayultra.jpg.js.map +1 -0
- package/lib/components/Explore/assets/cloudgatewayultra.jpg.mjs +3 -0
- package/lib/components/Explore/assets/cloudgatewayultra.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/dreamRouter.jpg.js +27 -0
- package/lib/components/Explore/assets/dreamRouter.jpg.js.map +1 -0
- package/lib/components/Explore/assets/dreamRouter.jpg.mjs +3 -0
- package/lib/components/Explore/assets/dreamRouter.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/{powerAmp.jpg.js → dreamWall.jpg.js} +6 -6
- package/lib/components/Explore/assets/dreamWall.jpg.js.map +1 -0
- package/lib/components/Explore/assets/dreamWall.jpg.mjs +3 -0
- package/lib/components/Explore/assets/dreamWall.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/{g4Ptz.jpg.js → g4-ptz.jpg.js} +2 -2
- package/lib/components/Explore/assets/g4-ptz.jpg.js.map +1 -0
- package/lib/components/Explore/assets/g4-ptz.jpg.mjs +3 -0
- package/lib/components/Explore/assets/g4-ptz.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/{g5Ptz.jpg.js → g5-ptz.jpg.js} +2 -2
- package/lib/components/Explore/assets/g5-ptz.jpg.js.map +1 -0
- package/lib/components/Explore/assets/g5-ptz.jpg.mjs +3 -0
- package/lib/components/Explore/assets/g5-ptz.jpg.mjs.map +1 -0
- package/lib/components/Explore/assets/unifiExpress.jpg.js +27 -0
- package/lib/components/Explore/assets/unifiExpress.jpg.js.map +1 -0
- package/lib/components/Explore/assets/unifiExpress.jpg.mjs +3 -0
- package/lib/components/Explore/assets/unifiExpress.jpg.mjs.map +1 -0
- package/lib/components/Explore/translations/en.json.js +30 -9
- package/lib/components/Explore/translations/en.json.js.map +1 -1
- package/lib/components/Explore/translations/en.json.mjs +30 -10
- package/lib/components/Explore/translations/en.json.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
- package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
- package/lib/components/Header/Header.js +0 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +0 -1
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -3
- package/lib/components/LandingPagePro/LandingPagePro.js +3 -3
- package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +2 -2
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udw.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udw.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Interior/ai360.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Interior/ai360.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Interior/wideAngle.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Interior/wideAngle.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/PTZ/g5-ptz.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/PTZ/g5-ptz.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +2 -2
- package/lib/components/ModelCompareV3/data/Switching.js +1 -3
- package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.mjs +1 -3
- package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +8 -16
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +8 -16
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.js +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.js +8 -16
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.mjs +8 -16
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.js +8 -16
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.mjs +8 -16
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.js +8 -16
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.mjs +8 -16
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g5Ptz.js +1 -1
- package/lib/components/ModelCompareV3/data/products/g5Ptz.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +8 -16
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +8 -16
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -8
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouch.js +3 -5
- package/lib/components/ModelCompareV3/data/products/phoneTouch.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouch.mjs +3 -5
- package/lib/components/ModelCompareV3/data/products/phoneTouch.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.js +2 -4
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.js +0 -8
- package/lib/components/ModelCompareV3/data/products/professional24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/professional24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.js +0 -8
- package/lib/components/ModelCompareV3/data/products/professional24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/professional24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.js +0 -8
- package/lib/components/ModelCompareV3/data/products/professional48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/professional48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.js +0 -8
- package/lib/components/ModelCompareV3/data/products/professional48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/professional48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +1 -11
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +1 -11
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/theta360.js +1 -1
- package/lib/components/ModelCompareV3/data/products/theta360.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/thetaWideAngle.js +1 -1
- package/lib/components/ModelCompareV3/data/products/thetaWideAngle.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/umr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/umr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/property-sets/switching.js +4 -6
- package/lib/components/ModelCompareV3/data/property-sets/switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/property-sets/switching.mjs +4 -6
- package/lib/components/ModelCompareV3/data/property-sets/switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +0 -3
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -3
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +15 -311
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +15 -309
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +22 -38
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs +22 -38
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +2 -10
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +0 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +0 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.d.ts +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +4 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs +4 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +0 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs +0 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -4
- package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -4
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/constants/icons/generic/index.js +3 -3
- package/lib/constants/icons/generic/index.mjs +1 -1
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/menu/index.d.ts +0 -1
- package/lib/constants/icons/menu/index.js +0 -9
- package/lib/constants/icons/menu/index.js.map +1 -1
- package/lib/constants/icons/menu/index.mjs +0 -2
- package/lib/constants/icons/menu/index.mjs.map +1 -1
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/keyFeatureIcons.d.ts +0 -1
- package/lib/constants/keyFeatureIcons.js +0 -3
- package/lib/constants/keyFeatureIcons.js.map +1 -1
- package/lib/constants/keyFeatureIcons.mjs +0 -3
- package/lib/constants/keyFeatureIcons.mjs.map +1 -1
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -3
- package/lib/constants/proStoreCategories/mapping/index.js +8 -18
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +8 -18
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js +1 -8
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +1 -8
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -4
- package/lib/constants/proStoreCategories/mapping/unifi.js +1 -3
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +1 -3
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +1 -5
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -5
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +3 -4
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +3 -4
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -4
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +3 -4
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -4
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +3 -4
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.js +0 -4
- package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.mjs +0 -3
- package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +1 -1
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +1 -1
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.d.ts +3 -3
- package/lib/contexts/MenuContext/mapping.js +7 -21
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +7 -20
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/presets.d.ts +4 -11
- package/lib/contexts/MenuContext/presets.js +12 -16
- package/lib/contexts/MenuContext/presets.js.map +1 -1
- package/lib/contexts/MenuContext/presets.mjs +13 -13
- package/lib/contexts/MenuContext/presets.mjs.map +1 -1
- package/lib/contexts/MenuContext/types.d.ts +1 -1
- package/lib/contexts/MenuContext/types.js.map +1 -1
- package/lib/contexts/MenuContext/types.mjs.map +1 -1
- package/lib/contexts/MenuContext/utils.js +1 -5
- package/lib/contexts/MenuContext/utils.js.map +1 -1
- package/lib/contexts/MenuContext/utils.mjs +1 -5
- package/lib/contexts/MenuContext/utils.mjs.map +1 -1
- package/lib/helpers/index.d.ts +0 -1
- package/lib/helpers/index.js +0 -11
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +0 -1
- package/lib/helpers/index.mjs.map +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +0 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/utils/array.d.ts +0 -4
- package/lib/utils/array.js +0 -10
- package/lib/utils/array.js.map +1 -1
- package/lib/utils/array.mjs +1 -10
- package/lib/utils/array.mjs.map +1 -1
- package/lib/utils/money/constants.d.ts +25 -56
- package/lib/utils/money/constants.js +7 -72
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +7 -70
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/money/format.d.ts +5 -10
- package/lib/utils/money/format.js +14 -22
- package/lib/utils/money/format.js.map +1 -1
- package/lib/utils/money/format.mjs +16 -23
- package/lib/utils/money/format.mjs.map +1 -1
- package/lib/utils/money/index.d.ts +1 -4
- package/lib/utils/money/index.js +8 -26
- package/lib/utils/money/index.js.map +1 -1
- package/lib/utils/money/index.mjs +4 -8
- package/lib/utils/money/index.mjs.map +1 -1
- package/lib/utils/money/misc.d.ts +28 -68
- package/lib/utils/money/misc.js +64 -35
- package/lib/utils/money/misc.js.map +1 -1
- package/lib/utils/money/misc.mjs +43 -32
- package/lib/utils/money/misc.mjs.map +1 -1
- package/lib/utils/money/tax.d.ts +2 -38
- package/lib/utils/money/tax.js +10 -46
- package/lib/utils/money/tax.js.map +1 -1
- package/lib/utils/money/tax.mjs +11 -42
- package/lib/utils/money/tax.mjs.map +1 -1
- package/lib/utils/money/types.d.ts +3 -78
- package/lib/utils/nextjs/navigationPresets.d.ts +5 -7
- package/lib/utils/nextjs/navigationPresets.js +7 -13
- package/lib/utils/nextjs/navigationPresets.js.map +1 -1
- package/lib/utils/nextjs/navigationPresets.mjs +8 -14
- package/lib/utils/nextjs/navigationPresets.mjs.map +1 -1
- package/lib/utils/number.d.ts +1 -1
- package/lib/utils/number.js +1 -1
- package/lib/utils/number.js.map +1 -1
- package/lib/utils/number.mjs +1 -1
- package/lib/utils/number.mjs.map +1 -1
- package/lib/utils/validations.d.ts +15 -0
- package/lib/utils/validations.js +23 -0
- package/lib/utils/validations.js.map +1 -0
- package/lib/utils/validations.mjs +21 -0
- package/lib/utils/validations.mjs.map +1 -0
- package/package.json +54 -55
- package/lib/assets/efg.png +0 -0
- package/lib/assets/g5Ptz.jpg +0 -0
- package/lib/assets/keyFeatures/music.svg +0 -3
- package/lib/assets/keyFeatures/music.svg.js.map +0 -1
- package/lib/assets/keyFeatures/music.svg.mjs +0 -3
- package/lib/assets/keyFeatures/music.svg.mjs.map +0 -1
- package/lib/assets/music.svg +0 -3
- package/lib/assets/powerAmp.jpg +0 -0
- package/lib/assets/powerAmp.svg +0 -3
- package/lib/assets/ucg-max.png +0 -0
- package/lib/assets/udr2.jpg +0 -0
- package/lib/assets/udw2.jpg +0 -0
- package/lib/assets/umr2.jpg +0 -0
- package/lib/assets/volume-on2.svg +0 -3
- package/lib/components/Explore/assets/baseStation--mobile.jpg.js.map +0 -1
- package/lib/components/Explore/assets/baseStation--mobile.jpg.mjs +0 -3
- package/lib/components/Explore/assets/baseStation--mobile.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/g4Ptz.jpg.js.map +0 -1
- package/lib/components/Explore/assets/g4Ptz.jpg.mjs +0 -3
- package/lib/components/Explore/assets/g4Ptz.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/g5Ptz.jpg.js.map +0 -1
- package/lib/components/Explore/assets/g5Ptz.jpg.mjs +0 -3
- package/lib/components/Explore/assets/g5Ptz.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/powerAmp.jpg.js.map +0 -1
- package/lib/components/Explore/assets/powerAmp.jpg.mjs +0 -3
- package/lib/components/Explore/assets/powerAmp.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/udr.jpg.js.map +0 -1
- package/lib/components/Explore/assets/udr.jpg.mjs +0 -3
- package/lib/components/Explore/assets/udr.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/udw.jpg.js +0 -27
- package/lib/components/Explore/assets/udw.jpg.js.map +0 -1
- package/lib/components/Explore/assets/udw.jpg.mjs +0 -3
- package/lib/components/Explore/assets/udw.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/umr.jpg.js +0 -27
- package/lib/components/Explore/assets/umr.jpg.js.map +0 -1
- package/lib/components/Explore/assets/umr.jpg.mjs +0 -3
- package/lib/components/Explore/assets/umr.jpg.mjs.map +0 -1
- package/lib/components/Explore/assets/ux.jpg.js +0 -27
- package/lib/components/Explore/assets/ux.jpg.js.map +0 -1
- package/lib/components/Explore/assets/ux.jpg.mjs +0 -3
- package/lib/components/Explore/assets/ux.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/volume-on.svg.js +0 -27
- package/lib/components/ModelCompareV3/assets/volume-on.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/volume-on.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/volume-on.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/proAvSupport.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/proAvSupport.js +0 -19
- package/lib/components/ModelCompareV3/data/properties/proAvSupport.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/proAvSupport.mjs +0 -11
- package/lib/components/ModelCompareV3/data/properties/proAvSupport.mjs.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +0 -27
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +0 -3
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +0 -27
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +0 -3
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +0 -1
- package/lib/constants/icons/menu/powerAmp.svg.js +0 -27
- package/lib/constants/icons/menu/powerAmp.svg.js.map +0 -1
- package/lib/constants/icons/menu/powerAmp.svg.mjs +0 -3
- package/lib/constants/icons/menu/powerAmp.svg.mjs.map +0 -1
- package/lib/helpers/product.d.ts +0 -87
- package/lib/helpers/product.js +0 -346
- package/lib/helpers/product.js.map +0 -1
- package/lib/helpers/product.mjs +0 -335
- package/lib/helpers/product.mjs.map +0 -1
- package/lib/types/product.d.ts +0 -87
- package/lib/types/product.js +0 -14
- package/lib/types/product.js.map +0 -1
- package/lib/types/product.mjs +0 -13
- package/lib/types/product.mjs.map +0 -1
- package/lib/utils/money/allocators/fixedAmount.d.ts +0 -26
- package/lib/utils/money/allocators/fixedAmount.js +0 -55
- package/lib/utils/money/allocators/fixedAmount.js.map +0 -1
- package/lib/utils/money/allocators/fixedAmount.mjs +0 -53
- package/lib/utils/money/allocators/fixedAmount.mjs.map +0 -1
- package/lib/utils/money/allocators/index.d.ts +0 -2
- package/lib/utils/money/allocators/index.js +0 -8
- package/lib/utils/money/allocators/index.js.map +0 -1
- package/lib/utils/money/allocators/index.mjs +0 -4
- package/lib/utils/money/allocators/index.mjs.map +0 -1
- package/lib/utils/money/allocators/productAmount.d.ts +0 -13
- package/lib/utils/money/allocators/productAmount.js +0 -110
- package/lib/utils/money/allocators/productAmount.js.map +0 -1
- package/lib/utils/money/allocators/productAmount.mjs +0 -108
- package/lib/utils/money/allocators/productAmount.mjs.map +0 -1
- package/lib/utils/money/exchangeRate.d.ts +0 -31
- package/lib/utils/money/exchangeRate.js +0 -27
- package/lib/utils/money/exchangeRate.js.map +0 -1
- package/lib/utils/money/exchangeRate.mjs +0 -23
- package/lib/utils/money/exchangeRate.mjs.map +0 -1
- package/lib/utils/money/misc.private.d.ts +0 -23
- package/lib/utils/money/misc.private.js +0 -46
- package/lib/utils/money/misc.private.js.map +0 -1
- package/lib/utils/money/misc.private.mjs +0 -21
- package/lib/utils/money/misc.private.mjs.map +0 -1
- package/lib/utils/money/shipping.d.ts +0 -5
- package/lib/utils/money/shipping.js +0 -8
- package/lib/utils/money/shipping.js.map +0 -1
- package/lib/utils/money/shipping.mjs +0 -6
- package/lib/utils/money/shipping.mjs.map +0 -1
- package/lib/utils/money/tax.private.d.ts +0 -17
- package/lib/utils/money/tax.private.js +0 -65
- package/lib/utils/money/tax.private.js.map +0 -1
- package/lib/utils/money/tax.private.mjs +0 -60
- package/lib/utils/money/tax.private.mjs.map +0 -1
- package/lib/utils/productSort.d.ts +0 -41
- package/lib/utils/productSort.js +0 -66
- package/lib/utils/productSort.js.map +0 -1
- package/lib/utils/productSort.mjs +0 -59
- package/lib/utils/productSort.mjs.map +0 -1
- /package/lib/assets/{baseStation--mobile.jpg → baseStation-mobile.jpg} +0 -0
- /package/lib/assets/{g4Ptz.jpg → g4-ptz.jpg} +0 -0
- /package/lib/assets/{ux.jpg → unifiExpress.jpg} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,60 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
-
### 9.12.0
|
|
9
|
+
### 9.12.0
|
|
10
10
|
|
|
11
|
-
- [
|
|
12
|
-
|
|
13
|
-
### 9.12.0.alpha.7
|
|
14
|
-
|
|
15
|
-
- [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Update Power Amp stuff
|
|
16
|
-
|
|
17
|
-
### 9.12.0.alpha.6
|
|
18
|
-
|
|
19
|
-
- [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) Add "Pro A/V Support" property to switching Compare tables
|
|
20
|
-
|
|
21
|
-
### 9.12.0.alpha.5
|
|
22
|
-
|
|
23
|
-
- [Feat] Add global site config for uwc.ui.com, remove SiteId.Experts as it is deprecated
|
|
24
|
-
|
|
25
|
-
### 9.12.0.alpha.4
|
|
26
|
-
|
|
27
|
-
- Upstream master branch
|
|
11
|
+
- [Fix] [NEP-3402](https://ubiquiti.atlassian.net/browse/NEP-3402) Add forced features for consoles in resource calculator
|
|
12
|
+
- [Feat] [NEP-3419](https://ubiquiti.atlassian.net/browse/NEP-3419) Update cart icon logic
|
|
28
13
|
|
|
29
14
|
### 9.11.1
|
|
30
15
|
|
|
31
16
|
- [Bug] [NEP-3606](https://ubiquiti.atlassian.net/browse/NEP-3606) Disable "Max" menu items in unavailable stores
|
|
32
17
|
|
|
33
|
-
### 9.12.0-alpha.3
|
|
34
|
-
|
|
35
|
-
- [Feat] [NEP-3479](https://ubiquiti.atlassian.net/browse/NEP-3479) Enable EFG and update its data values
|
|
36
|
-
|
|
37
|
-
### 9.12.0-alpha.2
|
|
38
|
-
|
|
39
|
-
- [Feat] [NEP-3479](https://ubiquiti.atlassian.net/browse/NEP-3479)
|
|
40
|
-
- Add UCG Max to the Resource Calculator
|
|
41
|
-
- Add options for device specific storage drive sizes.
|
|
42
|
-
|
|
43
|
-
### 9.12.0-alpha.1
|
|
44
|
-
|
|
45
|
-
- [Feat] [MIC-378](https://ubiquiti.atlassian.net/browse/MIC-378) Move product helpers from SF to SH
|
|
46
|
-
|
|
47
|
-
### 9.12.0-alpha.0
|
|
48
|
-
|
|
49
|
-
- [Feat] [MIC-383](https://ubiquiti.atlassian.net/browse/MIC-383) `PowerAmp` release changes:
|
|
50
|
-
- Update menu mapping
|
|
51
|
-
- Add `PowerAmp` to ExploreProduct component
|
|
52
|
-
- Remove unused stuff from ExploreProduct and do a small refactor
|
|
53
|
-
|
|
54
18
|
### 9.11.0
|
|
55
19
|
|
|
56
20
|
- [Feat] [NEP-3494](https://ubiquiti.atlassian.net/browse/NEP-3494) Split "Cables & Modules" category into two categories -> "RJ45 & Copper" and "SFP & Fiber"
|
|
57
21
|
- [Feat] [NEP-3353](https://ubiquiti.atlassian.net/browse/NEP-3353) Hide menu items that are not available in India
|
|
58
22
|
|
|
59
|
-
### 9.11.0-alpha.0
|
|
60
|
-
|
|
61
|
-
- Upstream master branch
|
|
62
|
-
|
|
63
23
|
### 9.10.1
|
|
64
24
|
|
|
65
25
|
- [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix X icon and "Cookie Settings" color in dark motif
|
|
@@ -68,57 +28,11 @@
|
|
|
68
28
|
|
|
69
29
|
- [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Revive Footer component for shared usage between projects
|
|
70
30
|
|
|
71
|
-
### 9.9.0-alpha.13
|
|
72
|
-
|
|
73
|
-
- [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix layouting issues on different projects, add Downloads link at the top
|
|
74
|
-
|
|
75
|
-
### 9.9.0-alpha.12
|
|
76
|
-
|
|
77
|
-
- [Feat] [NEP-3494](https://ubiquiti.atlassian.net/browse/NEP-3494) Update cables item order
|
|
78
|
-
|
|
79
|
-
### 9.9.0-alpha.11
|
|
80
|
-
|
|
81
|
-
- [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix font-size and line-height issues on microsites
|
|
82
|
-
|
|
83
|
-
### 9.9.0-alpha.10
|
|
84
|
-
|
|
85
|
-
- [Feat] [MIC-315](https://ubiquiti.atlassian.net/browse/MIC-315) Fix links
|
|
86
|
-
|
|
87
|
-
### 9.9.0-alpha.9
|
|
88
|
-
|
|
89
|
-
- [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix font-family for email placeholder
|
|
90
|
-
|
|
91
|
-
### 9.9.0-alpha.8
|
|
92
|
-
|
|
93
|
-
- [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix cookie button styling
|
|
94
|
-
|
|
95
|
-
### 9.9.0-alpha.7
|
|
96
|
-
|
|
97
|
-
- [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Fix footer styling
|
|
98
|
-
|
|
99
|
-
### 9.9.0-alpha.6
|
|
100
|
-
|
|
101
|
-
- [Fix] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Open Mailchimp screen in new tab
|
|
102
|
-
|
|
103
|
-
### 9.9.0-alpha.5
|
|
104
|
-
|
|
105
|
-
- [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Revive Footer component for shared usage between projects (don't use Store BE for subscribing)
|
|
106
|
-
|
|
107
31
|
### 9.9.1
|
|
108
32
|
|
|
109
33
|
- [Fix] [MIC-315](https://ubiquiti.atlassian.net/browse/MIC-315) Fix product links for UISP compare tables and update property icons
|
|
110
34
|
- [Fix] [NEP-3353](https://ubiquiti.atlassian.net/browse/NEP-3353) Hide menu items that are not available in India
|
|
111
35
|
|
|
112
|
-
### 9.9.0-alpha.4
|
|
113
|
-
|
|
114
|
-
- [Feat] [NEP-3494](https://ubiquiti.atlassian.net/browse/NEP-3494) Split "Cables & Modules" category into two categories -> "RJ45 & Copper" and "SFP & Fiber"
|
|
115
|
-
- [Fix] [NEP-3149](https://ubiquiti.atlassian.net/browse/NEP-3149) Fix Resource Calculator overlay and remove footer note if no content
|
|
116
|
-
- [Feat] [NEP-3419](https://ubiquiti.atlassian.net/browse/NEP-3419) Update cart icon logic
|
|
117
|
-
- [Fix] [NEP-3402](https://ubiquiti.atlassian.net/browse/NEP-3402) Add forced features for consoles in resource calculator
|
|
118
|
-
- [Feat] [MIC-167](https://ubiquiti.atlassian.net/browse/MIC-167) Revive Footer component for shared usage between projects
|
|
119
|
-
- [NEP-3300](https://ubiquiti.atlassian.net/browse/NEP-3300) Add NAS category in pro store
|
|
120
|
-
- [Feat] [NEP-3353](https://ubiquiti.atlassian.net/browse/NEP-3353) Hide menu items that are not available in India
|
|
121
|
-
|
|
122
36
|
### 9.9.0
|
|
123
37
|
|
|
124
38
|
- [Feat] [MIC-315](https://ubiquiti.atlassian.net/browse/MIC-315) Updates for UISP.com:
|
|
@@ -69,7 +69,6 @@ var useTranslation = require('../hooks/useTranslation.js');
|
|
|
69
69
|
var useScrollToY = require('../hooks/useScrollToY.js');
|
|
70
70
|
var constants = require('../types/constants.js');
|
|
71
71
|
var generated = require('../types/generated.js');
|
|
72
|
-
var product = require('../types/product.js');
|
|
73
72
|
var url = require('../utils/url.js');
|
|
74
73
|
var misc = require('../utils/money/misc.js');
|
|
75
74
|
var number = require('../utils/number.js');
|
|
@@ -87,7 +86,7 @@ var measures = require('../utils/measures.js');
|
|
|
87
86
|
var errors = require('../utils/errors.js');
|
|
88
87
|
var tags = require('../utils/tags.js');
|
|
89
88
|
var wattage = require('../utils/wattage.js');
|
|
90
|
-
var product
|
|
89
|
+
var product = require('../utils/product.js');
|
|
91
90
|
var asset = require('../utils/asset.js');
|
|
92
91
|
var imageOptimizer = require('../utils/imageOptimizer.js');
|
|
93
92
|
var styles = require('../utils/styles.js');
|
|
@@ -95,7 +94,6 @@ var storeId = require('../utils/storeId.js');
|
|
|
95
94
|
var index$V = require('../constants/proStoreCategories/index.js');
|
|
96
95
|
var index$W = require('../constants/proStoreFilters/index.js');
|
|
97
96
|
var proStoreCategories = require('../helpers/proStoreCategories.js');
|
|
98
|
-
var product$2 = require('../helpers/product.js');
|
|
99
97
|
var smartcat = require('../apis/smartcat.js');
|
|
100
98
|
exports.Avatar = index;
|
|
101
99
|
exports.Button = index$1;
|
|
@@ -169,7 +167,6 @@ exports.Unit = generated.Unit;
|
|
|
169
167
|
exports.UnitSystem = generated.UnitSystem;
|
|
170
168
|
exports.UserAssignedCountryCode = generated.UserAssignedCountryCode;
|
|
171
169
|
exports.ValidateTaxStatus = generated.ValidateTaxStatus;
|
|
172
|
-
exports.DisplayProductStatus = product.DisplayProductStatus;
|
|
173
170
|
exports.url = url;
|
|
174
171
|
exports.money = misc;
|
|
175
172
|
exports.number = number;
|
|
@@ -187,7 +184,7 @@ exports.measures = measures;
|
|
|
187
184
|
exports.errors = errors;
|
|
188
185
|
exports.tags = tags;
|
|
189
186
|
exports.wattage = wattage;
|
|
190
|
-
exports.product = product
|
|
187
|
+
exports.product = product;
|
|
191
188
|
exports.asset = asset;
|
|
192
189
|
exports.imageOptimizer = imageOptimizer;
|
|
193
190
|
exports.styles = styles;
|
|
@@ -202,15 +199,5 @@ exports.getSubCategoryIdByCollectionSlug = proStoreCategories.getSubCategoryIdBy
|
|
|
202
199
|
exports.isValidSubCategory = proStoreCategories.isValidSubCategory;
|
|
203
200
|
exports.parseCategories = proStoreCategories.parseCategories;
|
|
204
201
|
exports.useTranslatedCategories = proStoreCategories.useTranslatedCategories;
|
|
205
|
-
exports.COLLECTION_SECTION_OTHER_ID = product$2.COLLECTION_SECTION_OTHER_ID;
|
|
206
|
-
exports.HDDProductSlugs = product$2.HDDProductSlugs;
|
|
207
|
-
exports.MagicCollectionTags = product$2.MagicCollectionTags;
|
|
208
|
-
exports.ProductOptions = product$2.ProductOptions;
|
|
209
|
-
exports.createSectionHierarchy = product$2.createSectionHierarchy;
|
|
210
|
-
exports.getProStoreCategory = product$2.getProStoreCategory;
|
|
211
|
-
exports.getProductGroups = product$2.getProductGroups;
|
|
212
|
-
exports.getStoreProducts = product$2.getStoreProducts;
|
|
213
|
-
exports.isNonNullish = product$2.isNonNullish;
|
|
214
|
-
exports.removeExcludedProducts = product$2.removeExcludedProducts;
|
|
215
202
|
exports.smartcat = smartcat;
|
|
216
203
|
//# sourceMappingURL=_virtual_multi-entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -122,7 +122,6 @@ export { useTranslation, useTranslationRaw } from '../hooks/useTranslation.mjs';
|
|
|
122
122
|
export { useScrollToY } from '../hooks/useScrollToY.mjs';
|
|
123
123
|
export { AddressUsageType, Language } from '../types/constants.mjs';
|
|
124
124
|
export { AddressType, CountryCode, Currency, GlobalStoreId, ProductLine, StoreId, Unit, UnitSystem, UserAssignedCountryCode, ValidateTaxStatus } from '../types/generated.mjs';
|
|
125
|
-
export { DisplayProductStatus } from '../types/product.mjs';
|
|
126
125
|
import * as url from '../utils/url.mjs';
|
|
127
126
|
export { url };
|
|
128
127
|
import * as misc from '../utils/money/misc.mjs';
|
|
@@ -172,7 +171,6 @@ export { index$V as proStoreCategories };
|
|
|
172
171
|
import * as index$W from '../constants/proStoreFilters/index.mjs';
|
|
173
172
|
export { index$W as proStoreFilters };
|
|
174
173
|
export { getCategoriesBySubcategory, getLocalizedCategories, getProductLineByCategory, getProductLineBySubcategory, getSubCategoryIdByCollectionSlug, isValidSubCategory, parseCategories, useTranslatedCategories } from '../helpers/proStoreCategories.mjs';
|
|
175
|
-
export { COLLECTION_SECTION_OTHER_ID, HDDProductSlugs, MagicCollectionTags, ProductOptions, createSectionHierarchy, getProStoreCategory, getProductGroups, getStoreProducts, isNonNullish, removeExcludedProducts } from '../helpers/product.mjs';
|
|
176
174
|
import * as smartcat from '../apis/smartcat.mjs';
|
|
177
175
|
export { smartcat };
|
|
178
176
|
//# sourceMappingURL=_virtual_multi-entry.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/ai360.jpg
CHANGED
|
Binary file
|
|
Binary file
|
package/lib/assets/close2.svg
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
3
4
|
</svg>
|
package/lib/assets/close3.svg
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
1
|
+
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.7175 18.6475C5.4275 18.9375 5.4275 19.4175 5.7175 19.7075C6.0075 19.9975 6.4875 19.9975 6.7775 19.7075L12.9675 13.5175L19.1575 19.7075C19.4475 19.9975 19.9275 19.9975 20.2175 19.7075C20.5075 19.4175 20.5075 18.9375 20.2175 18.6475L14.0275 12.4675L20.2175 6.2775C20.5075 5.9875 20.5075 5.5075 20.2175 5.2175C19.9275 4.9275 19.4475 4.9275 19.1575 5.2175L12.9675 11.4075L6.7775 5.2175C6.4875 4.9275 6.0075 4.9275 5.7175 5.2175C5.4275 5.5075 5.4275 5.9875 5.7175 6.2775L11.9075 12.4675L5.7175 18.6475Z" fill="#36373C"/>
|
|
4
3
|
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/g5-ptz.jpg
CHANGED
|
Binary file
|
|
Binary file
|
package/lib/assets/minus4.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15898)">
|
|
4
|
+
<path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_426_15898)">
|
|
8
|
+
<rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_426_15898">
|
|
12
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/minus5.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_406)">
|
|
4
|
+
<path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_658_406)">
|
|
8
|
+
<rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_658_406">
|
|
12
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/plus2.svg
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8 0.453333 7.54667 0 7 0C6.45333 0 6 0.453333 6 1V6H1C0.453333 6 0 6.45333 0 7C0 7.54667 0.453333 8 1 8H6V13C6 13.5467 6.45333 14 7 14C7.54667 14 8 13.5467 8 13V8H13C13.5467 8 14 7.54667 14 7C14 6.45333 13.5467 6 13 6H8V1Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
package/lib/assets/plus3.svg
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8 0.453333 7.54667 0 7 0C6.45333 0 6 0.453333 6 1V6H1C0.453333 6 0 6.45333 0 7C0 7.54667 0.453333 8 1 8H6V13C6 13.5467 6.45333 14 7 14C7.54667 14 8 13.5467 8 13V8H13C13.5467 8 14 7.54667 14 7C14 6.45333 13.5467 6 13 6H8V1Z" fill="currentColor"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 7.49985V13.4998C6.5 13.776 6.72386 13.9998 7 13.9998C7.27614 13.9998 7.5 13.776 7.5 13.4998V7.49985H13.5C13.7761 7.49985 14 7.27599 14 6.99985C14 6.7237 13.7761 6.49985 13.5 6.49985H7.5V0.499847C7.5 0.223705 7.27614 -0.000152588 7 -0.000152588C6.72386 -0.000152588 6.5 0.223705 6.5 0.499847V6.49985H0.5C0.223858 6.49985 0 6.7237 0 6.99985C0 7.27599 0.223857 7.49985 0.5 7.49985H6.5Z" fill="currentColor"/></svg>
|
package/lib/assets/plus5.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15903)">
|
|
4
|
+
<path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
|
|
5
|
+
<path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_426_15903)">
|
|
9
|
+
<rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_426_15903">
|
|
13
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/plus6.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_411)">
|
|
4
|
+
<path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
|
|
5
|
+
<path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_658_411)">
|
|
9
|
+
<rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_658_411">
|
|
13
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/udr.jpg
CHANGED
|
Binary file
|
package/lib/assets/udw.jpg
CHANGED
|
Binary file
|
package/lib/assets/umr.jpg
CHANGED
|
Binary file
|
package/lib/assets/wideAngle.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -14,6 +14,9 @@ require('../CustomImage/index.js');
|
|
|
14
14
|
require('../StyleableSvgImage/index.js');
|
|
15
15
|
require('./assets/tooltip-info.svg.js');
|
|
16
16
|
var Explore_styles = require('./Explore.styles.js');
|
|
17
|
+
var ExploreData = require('./ExploreData.js');
|
|
18
|
+
var LensCompare = require('./LensCompare/LensCompare.js');
|
|
19
|
+
var LensCompareData = require('./LensCompare/LensCompareData.js');
|
|
17
20
|
require('./translations/index.js');
|
|
18
21
|
var context = require('../../contexts/MenuContext/context.js');
|
|
19
22
|
var useTranslation = require('../../hooks/useTranslation.js');
|
|
@@ -78,6 +81,8 @@ const ExploreProduct = ({
|
|
|
78
81
|
}).then(res => res.default)
|
|
79
82
|
}
|
|
80
83
|
});
|
|
84
|
+
const isAIThetaSection = react.useMemo(() => section.id === ExploreData.ExploreSectionId.AITheta, [section.id]);
|
|
85
|
+
const variants = react.useMemo(() => LensCompareData.LENS_COMPARE_DATA.sections.find(data => data.id === LensCompareData.CompareDataSectionId.LENS)?.variants || [], []);
|
|
81
86
|
const wide = react.useMemo(() => {
|
|
82
87
|
const features = section.product.featureValues;
|
|
83
88
|
switch (features.length) {
|
|
@@ -145,7 +150,7 @@ const ExploreProduct = ({
|
|
|
145
150
|
}), button]
|
|
146
151
|
}), /* @__PURE__ */jsxRuntime.jsxs(Explore_styles.RightSide, {
|
|
147
152
|
children: [/* @__PURE__ */jsxRuntime.jsx(Explore_styles.Heading, {
|
|
148
|
-
children: section.product.name
|
|
153
|
+
children: formatMessage(section.product.name)
|
|
149
154
|
}), /* @__PURE__ */jsxRuntime.jsx(Explore_styles.Caption, {
|
|
150
155
|
children: formatMessage(section.product.caption)
|
|
151
156
|
}), section.product?.isComingSoon && /* @__PURE__ */jsxRuntime.jsx(Explore_styles.Badge, {
|
|
@@ -155,7 +160,7 @@ const ExploreProduct = ({
|
|
|
155
160
|
size: "large",
|
|
156
161
|
variant: "link",
|
|
157
162
|
anchor: true,
|
|
158
|
-
href: createSiteUrl(
|
|
163
|
+
href: createSiteUrl(section.product.techspecsPath),
|
|
159
164
|
children: formatMessage("commons.viewTechSpecs")
|
|
160
165
|
}), /* @__PURE__ */jsxRuntime.jsxs(Explore_styles.FeatureGrid, {
|
|
161
166
|
children: [section.product.featureValues.map((feature, i) => {
|
|
@@ -194,6 +199,8 @@ const ExploreProduct = ({
|
|
|
194
199
|
}), section.product?.disclaimer && /* @__PURE__ */jsxRuntime.jsx(Explore_styles.ExploreDisclaimer, {
|
|
195
200
|
children: formatMessage(section.product.disclaimer)
|
|
196
201
|
})]
|
|
202
|
+
}), isAIThetaSection && /* @__PURE__ */jsxRuntime.jsx(LensCompare.ExploreModelCompare, {
|
|
203
|
+
variants
|
|
197
204
|
})]
|
|
198
205
|
})]
|
|
199
206
|
}, section.id);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explore.js","sources":["../../../src/components/Explore/Explore.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport { useMemo } from \"react\";\nimport { useMedia } from \"react-use\";\nimport { createGlobalStyle } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { getTemplateIconSvg } from \"../../helpers/shopify/iconParsing\";\nimport { useTranslation } from \"../../hooks\";\nimport { CustomImage } from \"../CustomImage\";\nimport type { CustomImageAsset } from \"../CustomImage/CustomImage.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport tooltipIcon from \"./assets/tooltip-info.svg\";\nimport * as S from \"./Explore.styles\";\nimport type { ExploreProductProps } from \"./ExploreData\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\nconst TOOLTIP_CLASS_NAME = \"explore-tool-tip\";\n\nexport const ExploreProduct = ({\n renderImage,\n section,\n showBuyButton,\n storeId,\n flipped,\n}: ExploreProductProps) => {\n const { createSiteUrl } = useMenu();\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n // We set wide to true so that we have layout where at no time we have only 1 item in a row\n const wide = useMemo(() => {\n const features = section.product.featureValues;\n\n switch (features.length) {\n case 1:\n case 2:\n case 3:\n return true;\n case 4:\n return false;\n case 5:\n case 6:\n return true;\n case 7:\n case 8:\n default:\n return false;\n }\n }, [section.product.featureValues]);\n\n const storePath = useMemo(() => {\n if (typeof section.product.storePath === \"function\") {\n return storeId ? section.product.storePath(storeId) : undefined;\n }\n\n return section.product.storePath;\n }, [section.product, storeId]);\n\n const image = useMemo((): CustomImageAsset & { fullWidth?: boolean } => {\n const base = section.product.image;\n\n if (isMobile) {\n return section.product.mobileImage ?? base;\n }\n\n return base;\n }, [isMobile, section.product.image, section.product.mobileImage]);\n\n const button = useMemo(() => {\n if (section.product.isComingSoon) {\n return (\n <S.ComingSoonButtonWrap>\n <S.ComingSoonButton variant=\"comingSoon\">\n {formatMessage(\"commons.comingSoon\")}\n </S.ComingSoonButton>\n {section.product.comingSoonNote && (\n <S.Note>{formatMessage(section.product.comingSoonNote)}</S.Note>\n )}\n </S.ComingSoonButtonWrap>\n );\n }\n\n if (showBuyButton && storePath) {\n return (\n <S.BuyButtonWrap>\n <S.BuyButton\n variant=\"primary\"\n anchor\n href={createSiteUrl([SiteId.Store, storePath])}\n >\n {formatMessage(\"Buy Now\")}\n </S.BuyButton>\n </S.BuyButtonWrap>\n );\n }\n\n return null;\n }, [\n createSiteUrl,\n formatMessage,\n section.product.comingSoonNote,\n section.product.isComingSoon,\n showBuyButton,\n storePath,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.ProductContainer key={section.id} $flipped={flipped}>\n <S.LeftSide $fullWidth={image.fullWidth}>\n <CustomImage\n responsive\n objectFit=\"contain\"\n renderImage={renderImage}\n sizes={`${image.width}px`}\n asset={image}\n />\n {button}\n </S.LeftSide>\n <S.RightSide>\n <S.Heading>{section.product.name}</S.Heading>\n <S.Caption>{formatMessage(section.product.caption)}</S.Caption>\n {section.product?.isComingSoon && (\n <S.Badge variant=\"lightNavy\">\n {formatMessage(\"commons.comingSoon\")}\n </S.Badge>\n )}\n <S.ViewTechSpecsButton\n size=\"large\"\n variant=\"link\"\n anchor\n href={createSiteUrl([\n SiteId.TechSpecs,\n section.product.techspecsPath,\n ])}\n >\n {formatMessage(\"commons.viewTechSpecs\")}\n </S.ViewTechSpecsButton>\n <S.FeatureGrid>\n {section.product.featureValues.map((feature, i) => {\n const featureIconSvg = getTemplateIconSvg(feature.icon);\n\n return (\n <S.FeatureWrap key={`${feature.icon}-${i}`} $wide={wide}>\n <S.FeatureValue>\n <S.Icon>\n {featureIconSvg && (\n <StyleableSvgImage\n src={featureIconSvg}\n width={30}\n height={30}\n />\n )}\n </S.Icon>\n <S.FeatureSpan $wide={wide}>\n {formatMessage(feature.value)}\n </S.FeatureSpan>\n {feature.tooltip && (\n <S.TooltipWrap>\n <TooltipStyles />\n <Tooltip\n tooltipClassName={TOOLTIP_CLASS_NAME}\n description={\n <S.TooltipContent>\n {formatMessage(feature.tooltip)}\n </S.TooltipContent>\n }\n portal\n motif=\"dark\"\n isInteractive\n position=\"bottom\"\n >\n <S.TooltipIcon\n src={tooltipIcon}\n height={20}\n width={20}\n />\n </Tooltip>\n </S.TooltipWrap>\n )}\n </S.FeatureValue>\n </S.FeatureWrap>\n );\n })}\n {section.product?.disclaimer && (\n <S.ExploreDisclaimer>\n {formatMessage(section.product.disclaimer)}\n </S.ExploreDisclaimer>\n )}\n </S.FeatureGrid>\n </S.RightSide>\n </S.ProductContainer>\n );\n};\n\nconst TooltipStyles = createGlobalStyle`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n text-align: center;\n\n * {\n color: #FAFAFA;\n font-size: 12px;\n line-height: ${16 / 12};\n }\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n }\n }\n`;\n"],"names":["TOOLTIP_CLASS_NAME","ExploreProduct","renderImage","section","showBuyButton","storeId","flipped","createSiteUrl","useMenu","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","wide","useMemo","features","product","featureValues","length","storePath","image","base","mobileImage","button","isComingSoon","jsxs","S.ComingSoonButtonWrap","children","jsx","S.ComingSoonButton","variant","comingSoonNote","S.Note","S.BuyButtonWrap","S.BuyButton","BuyButton","anchor","href","SiteId","Store","S.ProductContainer","ProductContainer","$flipped","S.LeftSide","LeftSide","$fullWidth","fullWidth","CustomImage","responsive","objectFit","sizes","width","asset","S.RightSide","S.Heading","Heading","name","S.Caption","caption","S.Badge","S.ViewTechSpecsButton","ViewTechSpecsButton","size","TechSpecs","techspecsPath","S.FeatureGrid","map","feature","i","featureIconSvg","getTemplateIconSvg","icon","S.FeatureWrap","$wide","S.FeatureValue","S.Icon","Icon","StyleableSvgImage","src","height","S.FeatureSpan","value","tooltip","S.TooltipWrap","TooltipStyles","Tooltip","tooltipClassName","description","S.TooltipContent","portal","motif","isInteractive","position","S.TooltipIcon","TooltipIcon","tooltipIcon","disclaimer","S.ExploreDisclaimer","id","createGlobalStyle"],"mappings":";;;;;;;;;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AgB,GAAAe,MAAAA,CAAAA,iBAAA;AAAA,KACjBvH,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAWF,KAAK,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
1
|
+
{"version":3,"file":"Explore.js","sources":["../../../src/components/Explore/Explore.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport { useMemo } from \"react\";\nimport { useMedia } from \"react-use\";\nimport { createGlobalStyle } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { getTemplateIconSvg } from \"../../helpers/shopify/iconParsing\";\nimport { useTranslation } from \"../../hooks\";\nimport { CustomImage } from \"../CustomImage\";\nimport type { CustomImageAsset } from \"../CustomImage/CustomImage.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport tooltipIcon from \"./assets/tooltip-info.svg\";\nimport * as S from \"./Explore.styles\";\nimport { ExploreSectionId } from \"./ExploreData\";\nimport type { ExploreProductProps } from \"./ExploreData\";\nimport { ExploreModelCompare } from \"./LensCompare/LensCompare\";\nimport {\n CompareDataSectionId,\n LENS_COMPARE_DATA,\n} from \"./LensCompare/LensCompareData\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\nconst TOOLTIP_CLASS_NAME = \"explore-tool-tip\";\n\nexport const ExploreProduct = ({\n renderImage,\n section,\n showBuyButton,\n storeId,\n flipped,\n}: ExploreProductProps) => {\n const { createSiteUrl } = useMenu();\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n const isAIThetaSection = useMemo(\n () => section.id === ExploreSectionId.AITheta,\n [section.id],\n );\n\n const variants = useMemo(\n () =>\n LENS_COMPARE_DATA.sections.find(\n (data) => data.id === CompareDataSectionId.LENS,\n )?.variants || [],\n [],\n );\n\n // We set wide to true so that we have layout where at no time we have only 1 item in a row\n const wide = useMemo(() => {\n const features = section.product.featureValues;\n\n switch (features.length) {\n case 1:\n case 2:\n case 3:\n return true;\n case 4:\n return false;\n case 5:\n case 6:\n return true;\n case 7:\n case 8:\n default:\n return false;\n }\n }, [section.product.featureValues]);\n\n const storePath = useMemo(() => {\n if (typeof section.product.storePath === \"function\") {\n return storeId ? section.product.storePath(storeId) : undefined;\n }\n\n return section.product.storePath;\n }, [section.product, storeId]);\n\n const image = useMemo((): CustomImageAsset & { fullWidth?: boolean } => {\n const base = section.product.image;\n\n if (isMobile) {\n return section.product.mobileImage ?? base;\n }\n\n return base;\n }, [isMobile, section.product.image, section.product.mobileImage]);\n\n const button = useMemo(() => {\n if (section.product.isComingSoon) {\n return (\n <S.ComingSoonButtonWrap>\n <S.ComingSoonButton variant=\"comingSoon\">\n {formatMessage(\"commons.comingSoon\")}\n </S.ComingSoonButton>\n {section.product.comingSoonNote && (\n <S.Note>{formatMessage(section.product.comingSoonNote)}</S.Note>\n )}\n </S.ComingSoonButtonWrap>\n );\n }\n\n if (showBuyButton && storePath) {\n return (\n <S.BuyButtonWrap>\n <S.BuyButton\n variant=\"primary\"\n anchor\n href={createSiteUrl([SiteId.Store, storePath])}\n >\n {formatMessage(\"Buy Now\")}\n </S.BuyButton>\n </S.BuyButtonWrap>\n );\n }\n\n return null;\n }, [\n createSiteUrl,\n formatMessage,\n section.product.comingSoonNote,\n section.product.isComingSoon,\n showBuyButton,\n storePath,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.ProductContainer key={section.id} $flipped={flipped}>\n <S.LeftSide $fullWidth={image.fullWidth}>\n <CustomImage\n responsive\n objectFit=\"contain\"\n renderImage={renderImage}\n sizes={`${image.width}px`}\n asset={image}\n />\n {button}\n </S.LeftSide>\n <S.RightSide>\n <S.Heading>{formatMessage(section.product.name)}</S.Heading>\n <S.Caption>{formatMessage(section.product.caption)}</S.Caption>\n {section.product?.isComingSoon && (\n <S.Badge variant=\"lightNavy\">\n {formatMessage(\"commons.comingSoon\")}\n </S.Badge>\n )}\n <S.ViewTechSpecsButton\n size=\"large\"\n variant=\"link\"\n anchor\n href={createSiteUrl(section.product.techspecsPath)}\n >\n {formatMessage(\"commons.viewTechSpecs\")}\n </S.ViewTechSpecsButton>\n <S.FeatureGrid>\n {section.product.featureValues.map((feature, i) => {\n const featureIconSvg = getTemplateIconSvg(feature.icon);\n\n return (\n <S.FeatureWrap key={`${feature.icon}-${i}`} $wide={wide}>\n <S.FeatureValue>\n <S.Icon>\n {featureIconSvg && (\n <StyleableSvgImage\n src={featureIconSvg}\n width={30}\n height={30}\n />\n )}\n </S.Icon>\n <S.FeatureSpan $wide={wide}>\n {formatMessage(feature.value)}\n </S.FeatureSpan>\n {feature.tooltip && (\n <S.TooltipWrap>\n <TooltipStyles />\n <Tooltip\n tooltipClassName={TOOLTIP_CLASS_NAME}\n description={\n <S.TooltipContent>\n {formatMessage(feature.tooltip)}\n </S.TooltipContent>\n }\n portal\n motif=\"dark\"\n isInteractive\n position=\"bottom\"\n >\n <S.TooltipIcon\n src={tooltipIcon}\n height={20}\n width={20}\n />\n </Tooltip>\n </S.TooltipWrap>\n )}\n </S.FeatureValue>\n </S.FeatureWrap>\n );\n })}\n {section.product?.disclaimer && (\n <S.ExploreDisclaimer>\n {formatMessage(section.product.disclaimer)}\n </S.ExploreDisclaimer>\n )}\n </S.FeatureGrid>\n {isAIThetaSection && <ExploreModelCompare variants={variants} />}\n </S.RightSide>\n </S.ProductContainer>\n );\n};\n\nconst TooltipStyles = createGlobalStyle`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n text-align: center;\n\n * {\n color: #FAFAFA;\n font-size: 12px;\n line-height: ${16 / 12};\n }\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n }\n }\n`;\n"],"names":["TOOLTIP_CLASS_NAME","ExploreProduct","renderImage","section","showBuyButton","storeId","flipped","createSiteUrl","useMenu","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","isAIThetaSection","useMemo","id","ExploreSectionId","AITheta","variants","LENS_COMPARE_DATA","sections","find","data","CompareDataSectionId","LENS","wide","features","product","featureValues","length","storePath","image","base","mobileImage","button","isComingSoon","jsxs","S.ComingSoonButtonWrap","children","jsx","S.ComingSoonButton","variant","comingSoonNote","S.Note","S.BuyButtonWrap","S.BuyButton","BuyButton","anchor","href","SiteId","Store","S.ProductContainer","ProductContainer","$flipped","S.LeftSide","LeftSide","$fullWidth","fullWidth","CustomImage","responsive","objectFit","sizes","width","asset","S.RightSide","S.Heading","name","S.Caption","caption","S.Badge","S.ViewTechSpecsButton","ViewTechSpecsButton","size","techspecsPath","S.FeatureGrid","map","feature","i","featureIconSvg","getTemplateIconSvg","icon","S.FeatureWrap","$wide","S.FeatureValue","S.Icon","Icon","StyleableSvgImage","src","height","S.FeatureSpan","value","tooltip","S.TooltipWrap","TooltipStyles","Tooltip","tooltipClassName","description","S.TooltipContent","portal","motif","isInteractive","position","S.TooltipIcon","TooltipIcon","tooltipIcon","disclaimer","S.ExploreDisclaimer","ExploreModelCompare","createGlobalStyle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,kBAAqB,GAAA,kBAAA;AAEpB,MAAMC,iBAAiBA,CAAC;EAC7BC,WAAA;EACAC,OAAA;EACAC,aAAA;EACAC,OAAA;EACAC;AACF,CAA2B,KAAA;EACnB,MAAA;IAAEC;GAAc,GAAIC,OAAAA,CAAAA,OAAQ,EAAA;EAClC,MAAMC,QAAW,GAAAC,QAAA,CAAAA,QAAA,CAASC,MAAY,CAAAA,WAAA,CAAAC,eAAA,EAAiB,KAAK,CAAA;EAEtD,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASO,EAAE,GAAG,MACbL;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASQ,EAAE,GAAG,MACbN;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,C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A;kBAET/D,QAAA,iBAAAC,UAAA,CAAAA,GAAA,CAAC+D,cAAE,CAAAC,WAAA,EAAF;oBACChB,GAAK,EAAAiB,oBAAA,CAAA,SAAA,CAAA;oBACLhB,MAAQ,EAAA,EAAA;oBACR1B,KAAO,EAAA;kBAAA,CACT;gBAAA,CACF,CAAA;eACF,CAAA;aAEJ;aArCqB,GAAAc,OAAA,CAAQI,IAAI,IAAIH,CAsCvC,EAAA,CAAA;QAAA,CAEH,CAAA,EACA9F,OAAA,CAAQ4C,OAAS,EAAA8E,UAAA,IACflE,eAAAA,UAAAA,CAAAA,GAAA,CAAAmE,cAAAA,CAAAA,iBAAA,EAAA;UACEpE,QAAc,EAAA7C,aAAA,CAAAV,OAAA,CAAQ4C,OAAQ,CAAA8E,UAAU;QAC3C,CAAA,CAAA;OAEJ,CAAA,EACC5F,gBAAA,mBAAqB0B,UAAA,CAAAA,GAAA,CAAAoE,+BAAA,EAAA;QAAoBzF;MAAoB,CAAA,CAAA;KAChE,CAAA;GAAA,EAhFuBnC,QAAQgC,EAiFjC,CAAA;AAEJ,CAAA;AAEA,MAAM8E,aAAgB,GAAAe,MAAAA,CAAAA,iBAAA;AAAA,KACjBhI,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAWF,KAAK,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -12,6 +12,9 @@ import '../CustomImage/index.mjs';
|
|
|
12
12
|
import '../StyleableSvgImage/index.mjs';
|
|
13
13
|
import './assets/tooltip-info.svg.mjs';
|
|
14
14
|
import { ComingSoonButtonWrap, ComingSoonButton, Note, BuyButtonWrap, BuyButton, ProductContainer, LeftSide, RightSide, Heading, Caption, Badge, ViewTechSpecsButton, FeatureGrid, FeatureWrap, FeatureValue, Icon, FeatureSpan, TooltipWrap, TooltipContent, TooltipIcon, ExploreDisclaimer } from './Explore.styles.mjs';
|
|
15
|
+
import { ExploreSectionId } from './ExploreData.mjs';
|
|
16
|
+
import { ExploreModelCompare } from './LensCompare/LensCompare.mjs';
|
|
17
|
+
import { LENS_COMPARE_DATA, CompareDataSectionId } from './LensCompare/LensCompareData.mjs';
|
|
15
18
|
import './translations/index.mjs';
|
|
16
19
|
import { useMenu } from '../../contexts/MenuContext/context.mjs';
|
|
17
20
|
import { useTranslation } from '../../hooks/useTranslation.mjs';
|
|
@@ -50,6 +53,8 @@ const ExploreProduct = ({
|
|
|
50
53
|
[Language.Tw]: () => import('./translations/zh-Hant-TW.json.mjs').then(res => res.default)
|
|
51
54
|
}
|
|
52
55
|
});
|
|
56
|
+
const isAIThetaSection = useMemo(() => section.id === ExploreSectionId.AITheta, [section.id]);
|
|
57
|
+
const variants = useMemo(() => LENS_COMPARE_DATA.sections.find(data => data.id === CompareDataSectionId.LENS)?.variants || [], []);
|
|
53
58
|
const wide = useMemo(() => {
|
|
54
59
|
const features = section.product.featureValues;
|
|
55
60
|
switch (features.length) {
|
|
@@ -117,7 +122,7 @@ const ExploreProduct = ({
|
|
|
117
122
|
}), button]
|
|
118
123
|
}), /* @__PURE__ */jsxs(RightSide, {
|
|
119
124
|
children: [/* @__PURE__ */jsx(Heading, {
|
|
120
|
-
children: section.product.name
|
|
125
|
+
children: formatMessage(section.product.name)
|
|
121
126
|
}), /* @__PURE__ */jsx(Caption, {
|
|
122
127
|
children: formatMessage(section.product.caption)
|
|
123
128
|
}), section.product?.isComingSoon && /* @__PURE__ */jsx(Badge, {
|
|
@@ -127,7 +132,7 @@ const ExploreProduct = ({
|
|
|
127
132
|
size: "large",
|
|
128
133
|
variant: "link",
|
|
129
134
|
anchor: true,
|
|
130
|
-
href: createSiteUrl(
|
|
135
|
+
href: createSiteUrl(section.product.techspecsPath),
|
|
131
136
|
children: formatMessage("commons.viewTechSpecs")
|
|
132
137
|
}), /* @__PURE__ */jsxs(FeatureGrid, {
|
|
133
138
|
children: [section.product.featureValues.map((feature, i) => {
|
|
@@ -166,6 +171,8 @@ const ExploreProduct = ({
|
|
|
166
171
|
}), section.product?.disclaimer && /* @__PURE__ */jsx(ExploreDisclaimer, {
|
|
167
172
|
children: formatMessage(section.product.disclaimer)
|
|
168
173
|
})]
|
|
174
|
+
}), isAIThetaSection && /* @__PURE__ */jsx(ExploreModelCompare, {
|
|
175
|
+
variants
|
|
169
176
|
})]
|
|
170
177
|
})]
|
|
171
178
|
}, section.id);
|