@ubnt/store.core 9.54.1-imgc.1 → 9.54.2-beta.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 +523 -3
- package/lib/_virtual/_virtual_multi-entry.js +15 -2
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +2 -0
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/crestron.svg +3 -0
- package/lib/assets/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus.svg +22 -4
- package/lib/assets/plus2.svg +4 -22
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/components/BackInStock/BackInStock.types.d.ts +1 -0
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +16 -4
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +17 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +4 -0
- package/lib/components/Explore/ExploreData.js +12 -12
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +12 -12
- package/lib/components/Explore/ExploreData.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- 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/Header.js +3 -3
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +3 -3
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.js +5 -4
- package/lib/components/ImageCarousel/ImageCarousel.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.mjs +5 -4
- package/lib/components/ImageCarousel/ImageCarousel.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +1 -0
- package/lib/components/ModelCompareV3/assets/crestron.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +3 -2
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +3 -2
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +10 -3
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +10 -3
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.js +3 -2
- package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.mjs +3 -2
- package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +7 -0
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +7 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +7 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +7 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.js +3 -3
- package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +7 -0
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +7 -0
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +8 -0
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +8 -0
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +7 -0
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +7 -0
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +10 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +10 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +7 -0
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +7 -0
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +5 -41
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +5 -21
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +1 -0
- package/lib/components/ModelCompareV3/data/properties/index.js +2 -0
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +1 -0
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +2 -0
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +2 -0
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ProductWizard/ProductWizard.js +1 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +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/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/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/constants/proStoreCategories/mapping/index.d.ts +3 -2
- package/lib/constants/proStoreCategories/mapping/index.js +36 -46
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +35 -44
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/uisp.js +1 -0
- package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs +1 -0
- package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +7 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js +7 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +7 -9
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +6 -2
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +6 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +17 -1
- package/lib/constants/proStoreFilters/mapping.js +16 -0
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +16 -0
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/presets.d.ts +1 -1
- package/lib/contexts/MenuContext/presets.js +4 -2
- package/lib/contexts/MenuContext/presets.js.map +1 -1
- package/lib/contexts/MenuContext/presets.mjs +4 -2
- package/lib/contexts/MenuContext/presets.mjs.map +1 -1
- package/lib/helpers/index.d.ts +1 -0
- package/lib/helpers/index.js +11 -0
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +1 -0
- package/lib/helpers/index.mjs.map +1 -1
- package/lib/helpers/product.d.ts +87 -0
- package/lib/helpers/product.js +346 -0
- package/lib/helpers/product.js.map +1 -0
- package/lib/helpers/product.mjs +335 -0
- package/lib/helpers/product.mjs.map +1 -0
- package/lib/helpers/product.test.d.ts +1 -0
- package/lib/types/generated.d.ts +1 -1
- package/lib/types/generated.js.map +1 -1
- package/lib/types/generated.mjs.map +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +2 -0
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +1 -0
- package/lib/types/index.mjs.map +1 -1
- package/lib/types/product.d.ts +87 -0
- package/lib/types/product.js +14 -0
- package/lib/types/product.js.map +1 -0
- package/lib/types/product.mjs +13 -0
- package/lib/types/product.mjs.map +1 -0
- package/lib/utils/address.d.ts +278 -62
- package/lib/utils/address.js +11 -8
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +11 -8
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/array.d.ts +4 -0
- package/lib/utils/array.js +10 -0
- package/lib/utils/array.js.map +1 -1
- package/lib/utils/array.mjs +10 -1
- package/lib/utils/array.mjs.map +1 -1
- package/lib/utils/productSort.d.ts +41 -0
- package/lib/utils/productSort.js +67 -0
- package/lib/utils/productSort.js.map +1 -0
- package/lib/utils/productSort.mjs +60 -0
- package/lib/utils/productSort.mjs.map +1 -0
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +11 -0
- package/lib/utils/validations/lastNameSuperRefinement.js +25 -0
- package/lib/utils/validations/lastNameSuperRefinement.js.map +1 -0
- package/lib/utils/validations/lastNameSuperRefinement.mjs +21 -0
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageCarousel.mjs","sources":["../../../src/components/ImageCarousel/ImageCarousel.tsx"],"sourcesContent":["// import { useTranslation } from \"hooks/useTranslation\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport type React from \"react\";\nimport { useKeyPressEvent, useMedia } from \"react-use\";\n\nimport ArrowIcon from \"../../assets/icons/carouselArrow.svg\";\nimport ArrowNavIcon from \"../../assets/icons/carouselArrowNav.svg\";\nimport CloseIcon from \"../../assets/icons/carouselClose.svg\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\n// TODO: Implement this\n// import { useCookiesConsent } from \"../../contexts/CookiesConsentContext\";\n// import { CookiesConsentGroup } from \"../../contexts/CookiesConsentContext/types\";\n// import { VideoCookiesConsent } from \"../VideoCookiesConsent\";\nimport { CustomImage } from \"../CustomImage\";\nimport * as S from \"./ImageCarousel.styles\";\nimport type { ImageCarouselProps } from \"./ImageCarousel.types\";\n\nenum Direction {\n Next = \"next\",\n Previous = \"prev\",\n}\n\nconst TRANSITION_DURATION = 200;\n\nexport const ImageCarousel = function ImageCarousel({\n items,\n renderImage,\n handleActiveGalleryImageId,\n imageCarouselFullScreen,\n handleShowImageCarouselFullScreen,\n slideBackgroundColor,\n initialActiveIndex,\n}: ImageCarouselProps): JSX.Element {\n const carousel = useRef<HTMLDivElement>(null);\n const slider = useRef<HTMLDivElement>(null);\n const navigation = useRef<HTMLOListElement>(null);\n const prevSlideRef = useRef<number | null>(null);\n const [activeSlide, setActiveSlide] = useState(initialActiveIndex || 0);\n const [sliding, setSliding] = useState(false);\n const [navScrollable, setNavScrollable] = useState(false);\n const [scrollPosition, setScrollPosition] = useState(0);\n const [dragX, setDragX] = useState<null | number>(null);\n const [dragY, setDragY] = useState<null | number>(null);\n const isMobileView = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);\n const isTablet = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const scrollSlideIntoView = useCallback(\n (duration: number, nextSlide: number, prevSlide: number) => {\n setSliding(true);\n const container = carousel.current;\n const WIDTH = 100;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n const inProgress = progress < 1;\n const startingPosition = -WIDTH * prevSlide;\n const position = inProgress\n ? startingPosition + WIDTH * (prevSlide - nextSlide) * progress\n : startingPosition + WIDTH * (prevSlide - nextSlide);\n container.style.transform = `translate3d(${position}%, 0px, 0px)`;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n if (container !== null) {\n handleActiveGalleryImageId?.(null);\n }\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [handleActiveGalleryImageId],\n );\n\n const scrollNavIntoView = useCallback(\n (duration: number, scrollBy: number) => {\n setSliding(true);\n const container = navigation.current;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n const initialScroll = container.scrollLeft;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n container.scrollLeft = initialScroll + scrollBy * progress;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [setSliding],\n );\n\n const handleScrollNavItemIntoView = useCallback(\n (i: number) => {\n const container = navigation.current;\n\n if (container) {\n const containerRect = container.getBoundingClientRect();\n const actNav = container.children[i] as HTMLElement;\n\n if (actNav) {\n const actNavRect = actNav.getBoundingClientRect();\n if (actNavRect.right > containerRect.right) {\n const scrollStep = actNavRect.right - containerRect.right;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n } else if (actNavRect.left < containerRect.left) {\n const scrollStep = actNavRect.left - containerRect.left;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n }\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleNavArrowOnClick = useCallback(\n (direction: Direction) => {\n const container = navigation.current;\n\n const scrollItemCount = 5;\n const transition =\n // Increases by a half for each extra item\n TRANSITION_DURATION + TRANSITION_DURATION * (scrollItemCount - 1) * 0.5;\n const scrollNavigationBy =\n (S.navigationItemWidth + S.navigationItemMargin) * scrollItemCount;\n\n if (container) {\n if (direction === Direction.Next) {\n scrollNavIntoView(transition, scrollNavigationBy);\n }\n if (direction === Direction.Previous) {\n scrollNavIntoView(transition, -scrollNavigationBy);\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleArrowOnClick = useCallback(\n (direction: Direction) => {\n // Exit if already changing image\n if (sliding) {\n return;\n }\n\n const nextSlide =\n direction === Direction.Next ? activeSlide + 1 : activeSlide - 1;\n\n setActiveSlide(nextSlide);\n },\n [sliding, activeSlide],\n );\n\n const handleNavigationOnClick = useCallback((i: number) => {\n setActiveSlide(i);\n }, []);\n\n const enableNavScroll = () => {\n const container = navigation.current as HTMLElement;\n\n const scrollable =\n !!container && container.scrollWidth > container.clientWidth;\n setNavScrollable(scrollable);\n };\n\n const isHidden = (i: number): boolean => !(i === activeSlide || sliding);\n\n const handleNavScroll = useCallback((e: React.UIEvent<HTMLOListElement>) => {\n const navigation = e.target as HTMLElement;\n const position = navigation.scrollLeft;\n setScrollPosition(position);\n }, []);\n\n const navArrowActive = useCallback(\n (direction: Direction): boolean => {\n if (direction === Direction.Previous) {\n return scrollPosition > 0;\n } else if (direction === Direction.Next) {\n const container = navigation.current as HTMLElement;\n\n return container.scrollWidth - container.offsetWidth > scrollPosition;\n }\n\n return false;\n },\n [scrollPosition],\n );\n\n // Make sure that active slide is properly reset when items change\n useEffect(() => {\n const startIndex = initialActiveIndex || 0;\n setActiveSlide(startIndex);\n }, [items, initialActiveIndex]);\n\n useEffect(() => {\n enableNavScroll();\n\n window.addEventListener(\"resize\", enableNavScroll);\n return () => window.removeEventListener(\"resize\", enableNavScroll);\n });\n\n // Scroll slider and navigation on activeSlide change\n useEffect(() => {\n if (!sliding) {\n scrollSlideIntoView(\n TRANSITION_DURATION,\n activeSlide,\n prevSlideRef.current !== null ? prevSlideRef.current : activeSlide, // To disable transition on first gallery load\n );\n }\n handleScrollNavItemIntoView(activeSlide);\n // sliding is not necessary here, otherwise it will go into loop\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeSlide, scrollSlideIntoView, handleScrollNavItemIntoView]);\n\n // Set previous slide to active slide, need to use it in slide transition\n useEffect(() => {\n prevSlideRef.current = activeSlide;\n\n // Stop video if slide changes\n if (items[activeSlide]?.isVideo && videoRef.current) {\n videoRef.current.currentTime = 0;\n videoRef.current.pause();\n isVideoHovering.current = false;\n }\n }, [activeSlide, items]);\n\n // #############################################################################\n // Cookies consent\n // #############################################################################\n /* Disabled for now since the current design does not have videos in gallery, might change later */\n // const { hasCookiesConsent } = useCookiesConsent();\n // const videoNoCookiesConsent = !hasCookiesConsent(\n // CookiesConsentGroup.Targeting\n // );\n\n // #############################################################################\n // Can fullscreen\n // #############################################################################\n /* Disabled for now since the current design does not have fullscreen, might change later */\n // const canFullscreen = useMemo(() => {\n // const isEmbed = items[activeSlide]?.data.__typename === \"Embed\";\n\n // return !isEmbed || (isEmbed && !videoNoCookiesConsent);\n // }, [activeSlide, items, videoNoCookiesConsent]);\n\n // #############################################################################\n // Arrow click events\n // #############################################################################\n const handlePrevArrowClick = useCallback(() => {\n // Exit if first image\n if (activeSlide === 0) {\n return;\n }\n\n handleArrowOnClick(Direction.Previous);\n }, [activeSlide, handleArrowOnClick]);\n\n const handleNextArrowClick = useCallback(() => {\n // Exit if last image\n if (activeSlide + 1 >= items.length) {\n return;\n }\n\n handleArrowOnClick(Direction.Next);\n }, [activeSlide, handleArrowOnClick, items.length]);\n\n // #############################################################################\n // Mouse events\n // #############################################################################\n const mouseDown = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n setDragX(event.pageX);\n setDragY(event.pageY);\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n setDragX(touch.pageX);\n setDragY(touch.pageY);\n }\n }\n },\n [],\n );\n\n const mouseUp = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n const container = slider.current as HTMLElement;\n const rect = container.getBoundingClientRect();\n let dragXPercentage = 0;\n let dragYPercentage = 0;\n\n if (!dragX || !slider || !dragY) {\n return;\n }\n\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n dragXPercentage = (event.pageX - dragX) / rect.width;\n dragYPercentage = (event.pageY - dragY) / rect.height;\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n dragXPercentage = (touch.pageX - dragX) / rect.width;\n dragYPercentage = (touch.pageY - dragY) / rect.height;\n }\n }\n\n const userScrollingY = dragYPercentage > 0.05 || dragYPercentage < -0.05;\n\n // user swiped right\n if (dragXPercentage < -0.05 && !userScrollingY) {\n handleNextArrowClick();\n }\n // user swiped left\n else if (dragXPercentage > 0.05 && !userScrollingY) {\n handlePrevArrowClick();\n }\n // onclick\n else if (\n dragXPercentage === 0 &&\n dragYPercentage === 0\n // && canFullscreen\n ) {\n handleShowImageCarouselFullScreen?.(true);\n }\n\n setDragX(null);\n },\n [\n dragX,\n dragY,\n handleNextArrowClick,\n handlePrevArrowClick,\n handleShowImageCarouselFullScreen,\n ],\n );\n\n const handleCloseFullScreen = useCallback(() => {\n if (imageCarouselFullScreen) {\n handleShowImageCarouselFullScreen?.(false);\n }\n }, [handleShowImageCarouselFullScreen, imageCarouselFullScreen]);\n\n // close fullscreen view when pressing escape\n useKeyPressEvent(\"Escape\", handleCloseFullScreen);\n\n // Change images on left/right arrow press\n useKeyPressEvent(\"ArrowLeft\", handlePrevArrowClick);\n useKeyPressEvent(\"ArrowRight\", handleNextArrowClick);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <>\n {imageCarouselFullScreen && (\n <S.CloseButton onClick={handleCloseFullScreen}>\n {/* eslint-disable-next-line @next/next/no-img-element */}\n <img\n src={typeof CloseIcon === \"string\" ? CloseIcon : CloseIcon.src}\n alt=\"\"\n />\n </S.CloseButton>\n )}\n <S.Container\n fullScreen={imageCarouselFullScreen}\n canFullscreen={false}\n // canFullscreen={canFullscreen}\n >\n <S.ContainerContentWrap>\n <S.FlexWrap>\n {/* Summary text for mobile full-screen gallery mode */}\n {/* TODO: Investigate how to fix translations for this taking into consideration that it is in store.shared repo */}\n {/* {imageCarouselFullScreen && isMobileView && (\n <S.SummaryText>\n {t(\n { id: \"product.page.imageSummary\" },\n { total: items.length, n: activeSlide + 1 }\n )}\n </S.SummaryText>\n )} */}\n </S.FlexWrap>\n <S.Carousel\n onMouseDown={mouseDown}\n onMouseUp={mouseUp}\n ref={slider}\n onTouchStart={mouseDown}\n onTouchEnd={mouseUp}\n >\n <S.CarouselViewport className=\"carousel__viewport\" ref={carousel}>\n {items.map((item, i) => (\n <S.CarouselSlide\n key={`carousel-slide-${item.id}`}\n hide={isHidden(i)}\n slideBackgroundColor={slideBackgroundColor}\n >\n <S.CarouselSlideInner\n onMouseEnter={() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.load();\n }\n }}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <S.Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={\n item.childAssets?.find((asset) => !asset.isVideo)?.src\n }\n $aspectRatio={item.width / item.height}\n controls={false}\n onCanPlayThrough={async () => {\n try {\n if (videoRef.current && isVideoHovering.current) {\n await videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }}\n onEnded={() => {\n if (videoRef.current) {\n try {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }\n }}\n /**\n * NOTE: Not enabling autoPlay for mobile devices because\n * the video element is left in the DOM and we don't want\n * it to start playing if it is not in visible.\n */\n />\n ) : (\n <CustomImage\n responsive\n renderImage={renderImage}\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item}\n sizes={`100%`}\n layout=\"fill\"\n objectFit=\"contain\"\n priority={i === 0} // prioritize 1st image\n />\n )}\n\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <CustomImage\n responsive\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item.data}\n sizes={`${imageCarouselFullScreen\n ? S.imageCarouselFullScreenWidth\n : S.productScreenChildContainerWidth\n }px`}\n priority={i === 0} // prioritize 1st image\n />\n )}\n {item.data.__typename === \"Embed\" && (\n <S.VideoWrap>\n {videoNoCookiesConsent ? (\n <VideoCookiesConsent videoSrc={item.data.url} />\n ) : (\n <S.Iframe\n src={item.data.url}\n title=\"YouTube video player\"\n allowFullScreen\n />\n )}\n </S.VideoWrap>\n )} */}\n </S.CarouselSlideInner>\n </S.CarouselSlide>\n ))}\n </S.CarouselViewport>\n </S.Carousel>\n\n {items.length > 1 && (\n <S.CarouselNavigation fullScreen={imageCarouselFullScreen}>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Previous}\n active={navArrowActive(Direction.Previous)}\n onClick={() => handleNavArrowOnClick(Direction.Previous)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n\n <S.CarouselNavigationList\n ref={navigation}\n navScrollable={navScrollable}\n onScroll={handleNavScroll}\n >\n {items.map((item, i) => (\n <S.CarouselNavigationListItem\n key={`carousel-navigation-${item.id}`}\n onClick={() => handleNavigationOnClick(i)}\n >\n {isTablet ? (\n <S.SliderDot active={activeSlide === i} />\n ) : (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <S.CarouselNavigationInnerWrap>\n <CustomImage\n renderImage={renderImage}\n asset={{\n src: item.isVideo\n ? item.childAssets?.find(\n (asset) => !asset.isVideo,\n )?.src || \"\"\n : item.src,\n alt: item.alt,\n height: 50,\n width: 50,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationInnerWrap>\n </S.CarouselNavigationButton>\n )}\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage asset={item.data} sizes=\"50px\" />\n </S.CarouselNavigationButton>\n )}\n {item.data.__typename === \"Embed\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage\n asset={{\n url: item.data.thumbnailUrl,\n height: item.data.thumbnailHeight,\n width: item.data.thumbnailWidth,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationButton>\n )} */}\n </S.CarouselNavigationListItem>\n ))}\n </S.CarouselNavigationList>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Next}\n active={navArrowActive(Direction.Next)}\n onClick={() => handleNavArrowOnClick(Direction.Next)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n </S.CarouselNavigation>\n )}\n </S.ContainerContentWrap>\n\n <S.CarouselArrowButton\n direction={Direction.Previous}\n hide={activeSlide === 0}\n onClick={() => handleArrowOnClick(Direction.Previous)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n\n <S.CarouselArrowButton\n direction={Direction.Next}\n hide={activeSlide === items.length - 1}\n onClick={() => handleArrowOnClick(Direction.Next)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n </S.Container>\n </>\n );\n};\n"],"names":["Direction","TRANSITION_DURATION","ImageCarousel","ImageCarousel2","items","renderImage","handleActiveGalleryImageId","imageCarouselFullScreen","handleShowImageCarouselFullScreen","slideBackgroundColor","initialActiveIndex","carousel","useRef","slider","navigation","prevSlideRef","activeSlide","setActiveSlide","useState","sliding","setSliding","navScrollable","setNavScrollable","scrollPosition","setScrollPosition","dragX","setDragX","dragY","setDragY","isMobileView","useMedia","BREAKPOINTS","MOBILE_AND_DOWN","isTablet","TABLET_AND_DOWN","videoRef","isVideoHovering","scrollSlideIntoView","useCallback","duration","nextSlide","prevSlide","container","current","WIDTH","start","previousTimeStamp","step","timestamp","elapsed","progress","inProgress","startingPosition","position","style","transform","window","requestAnimationFrame","scrollNavIntoView","scrollBy","initialScroll","scrollLeft","handleScrollNavItemIntoView","i","containerRect","getBoundingClientRect","actNav","children","actNavRect","right","scrollStep","left","handleNavArrowOnClick","direction","scrollItemCount","transition","scrollNavigationBy","S.navigationItemWidth","S.navigationItemMargin","handleArrowOnClick","handleNavigationOnClick","enableNavScroll","scrollable","scrollWidth","clientWidth","isHidden","handleNavScroll","e","target","navArrowActive","offsetWidth","useEffect","startIndex","addEventListener","removeEventListener","isVideo","currentTime","pause","handlePrevArrowClick","handleNextArrowClick","length","mouseDown","nativeEvent","MouseEvent","event","pageX","pageY","TouchEvent","touch","touches","changedTouches","mouseUp","rect","dragXPercentage","dragYPercentage","width","height","userScrollingY","handleCloseFullScreen","useKeyPressEvent","jsxs","Fragment","jsx","S.CloseButton","onClick","src","CloseIcon","alt","S.Container","fullScreen","canFullscreen","S.ContainerContentWrap","S.FlexWrap","S.Carousel","onMouseDown","onMouseUp","ref","onTouchStart","onTouchEnd","S.CarouselViewport","className","map","item","S.CarouselSlide","hide","S.CarouselSlideInner","onMouseEnter","isVideoPlaying","paused","ended","load","onMouseLeave","S.Video","muted","playsInline","poster","childAssets","find","asset","$aspectRatio","controls","onCanPlayThrough","play","onEnded","CustomImage","responsive","fallbackImageSize","sizes","layout","objectFit","priority","id","S.CarouselNavigation","S.NavigationArrowWrap","active","S.ArrowNavIcon","ArrowNavIcon","S.CarouselNavigationList","onScroll","S.CarouselNavigationListItem","S.SliderDot","S.CarouselNavigationButton","S.CarouselNavigationInnerWrap","S.CarouselArrowButton","S.ArrowIcon","ArrowIcon"],"mappings":";;;;;;;;;;;;;;AAiBA,IAAKA,SAAA,GAAA,gBAAAA,UAAL,IAAA;EACEA,WAAA,MAAO,CAAA,GAAA,MAAA;EACPA,WAAA,UAAW,CAAA,GAAA,MAAA;EAFRA,OAAAA,UAAAA;AAAA,CAAA,EAAAA,SAAA,IAAA,CAAA,CAAA,CAAA;AAKL,MAAMC,mBAAsB,GAAA,GAAA;AAE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AAA;QACrCwB,OAAA,EAASA,CAAA,KAAM7C,kBAAA,CAAmB,MAAc,CAAA,UAAA,CAAA;QAChDkD,UAAY,EAAA1H,uBAAA;QAEZ4D,QAAA,EAAA,eAAAuD,GAAA,CAAC8D,SAAA,EAAA;UAAY3D,KAAK4D,kBAAW;UAAArE,MAAA,EAAQ,EAAI;UAAAD,KAAA,EAAO;SAAI;MAAA,CACtD,CAAA;IAAA,CACF,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
1
|
+
{"version":3,"file":"ImageCarousel.mjs","sources":["../../../src/components/ImageCarousel/ImageCarousel.tsx"],"sourcesContent":["// import { useTranslation } from \"hooks/useTranslation\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport type React from \"react\";\nimport { useKeyPressEvent, useMedia } from \"react-use\";\n\nimport ArrowIcon from \"../../assets/icons/carouselArrow.svg\";\nimport ArrowNavIcon from \"../../assets/icons/carouselArrowNav.svg\";\nimport CloseIcon from \"../../assets/icons/carouselClose.svg\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\n// TODO: Implement this\n// import { useCookiesConsent } from \"../../contexts/CookiesConsentContext\";\n// import { CookiesConsentGroup } from \"../../contexts/CookiesConsentContext/types\";\n// import { VideoCookiesConsent } from \"../VideoCookiesConsent\";\nimport { CustomImage } from \"../CustomImage\";\nimport * as S from \"./ImageCarousel.styles\";\nimport type { ImageCarouselProps } from \"./ImageCarousel.types\";\n\nenum Direction {\n Next = \"next\",\n Previous = \"prev\",\n}\n\nconst TRANSITION_DURATION = 200;\n\nexport const ImageCarousel = function ImageCarousel({\n items,\n renderImage,\n handleActiveGalleryImageId,\n imageCarouselFullScreen,\n handleShowImageCarouselFullScreen,\n slideBackgroundColor,\n initialActiveIndex,\n}: ImageCarouselProps): JSX.Element {\n const carousel = useRef<HTMLDivElement>(null);\n const slider = useRef<HTMLDivElement>(null);\n const navigation = useRef<HTMLOListElement>(null);\n const prevSlideRef = useRef<number | null>(null);\n const [activeSlide, setActiveSlide] = useState(initialActiveIndex || 0);\n const [sliding, setSliding] = useState(false);\n const [navScrollable, setNavScrollable] = useState(false);\n const [scrollPosition, setScrollPosition] = useState(0);\n const [dragX, setDragX] = useState<null | number>(null);\n const [dragY, setDragY] = useState<null | number>(null);\n const isMobileView = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);\n const isTablet = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const scrollSlideIntoView = useCallback(\n (duration: number, nextSlide: number, prevSlide: number) => {\n setSliding(true);\n const container = carousel.current;\n const WIDTH = 100;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n const inProgress = progress < 1;\n const startingPosition = -WIDTH * prevSlide;\n const position = inProgress\n ? startingPosition + WIDTH * (prevSlide - nextSlide) * progress\n : startingPosition + WIDTH * (prevSlide - nextSlide);\n container.style.transform = `translate3d(${position}%, 0px, 0px)`;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n if (container !== null) {\n handleActiveGalleryImageId?.(null);\n }\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [handleActiveGalleryImageId],\n );\n\n const scrollNavIntoView = useCallback(\n (duration: number, scrollBy: number) => {\n setSliding(true);\n const container = navigation.current;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n const initialScroll = container.scrollLeft;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n container.scrollLeft = initialScroll + scrollBy * progress;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [setSliding],\n );\n\n const handleScrollNavItemIntoView = useCallback(\n (i: number) => {\n const container = navigation.current;\n\n if (container) {\n const containerRect = container.getBoundingClientRect();\n const actNav = container.children[i] as HTMLElement;\n\n if (actNav) {\n const actNavRect = actNav.getBoundingClientRect();\n if (actNavRect.right > containerRect.right) {\n const scrollStep = actNavRect.right - containerRect.right;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n } else if (actNavRect.left < containerRect.left) {\n const scrollStep = actNavRect.left - containerRect.left;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n }\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleNavArrowOnClick = useCallback(\n (direction: Direction) => {\n const container = navigation.current;\n\n const scrollItemCount = 5;\n const transition =\n // Increases by a half for each extra item\n TRANSITION_DURATION + TRANSITION_DURATION * (scrollItemCount - 1) * 0.5;\n const scrollNavigationBy =\n (S.navigationItemWidth + S.navigationItemMargin) * scrollItemCount;\n\n if (container) {\n if (direction === Direction.Next) {\n scrollNavIntoView(transition, scrollNavigationBy);\n }\n if (direction === Direction.Previous) {\n scrollNavIntoView(transition, -scrollNavigationBy);\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleArrowOnClick = useCallback(\n (direction: Direction) => {\n // Exit if already changing image\n if (sliding) {\n return;\n }\n\n const nextSlide =\n direction === Direction.Next ? activeSlide + 1 : activeSlide - 1;\n\n setActiveSlide(nextSlide);\n },\n [sliding, activeSlide],\n );\n\n const handleNavigationOnClick = useCallback((i: number) => {\n setActiveSlide(i);\n }, []);\n\n const enableNavScroll = () => {\n const container = navigation.current as HTMLElement;\n\n const scrollable =\n !!container && container.scrollWidth > container.clientWidth;\n setNavScrollable(scrollable);\n };\n\n const isHidden = (i: number): boolean => !(i === activeSlide || sliding);\n\n const handleNavScroll = useCallback((e: React.UIEvent<HTMLOListElement>) => {\n const navigation = e.target as HTMLElement;\n const position = navigation.scrollLeft;\n setScrollPosition(position);\n }, []);\n\n const navArrowActive = useCallback(\n (direction: Direction): boolean => {\n if (direction === Direction.Previous) {\n return scrollPosition > 0;\n } else if (direction === Direction.Next) {\n const container = navigation.current as HTMLElement;\n\n return container.scrollWidth - container.offsetWidth > scrollPosition;\n }\n\n return false;\n },\n [scrollPosition],\n );\n\n useEffect(() => {\n enableNavScroll();\n\n window.addEventListener(\"resize\", enableNavScroll);\n return () => window.removeEventListener(\"resize\", enableNavScroll);\n });\n\n // Scroll slider and navigation on activeSlide change\n useEffect(() => {\n if (!sliding) {\n scrollSlideIntoView(\n TRANSITION_DURATION,\n activeSlide,\n prevSlideRef.current !== null ? prevSlideRef.current : activeSlide, // To disable transition on first gallery load\n );\n }\n handleScrollNavItemIntoView(activeSlide);\n // sliding is not necessary here, otherwise it will go into loop\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeSlide, scrollSlideIntoView, handleScrollNavItemIntoView]);\n\n // Set previous slide to active slide, need to use it in slide transition\n useEffect(() => {\n prevSlideRef.current = activeSlide;\n\n // Stop video if slide changes\n if (items[activeSlide]?.isVideo && videoRef.current) {\n videoRef.current.currentTime = 0;\n videoRef.current.pause();\n isVideoHovering.current = false;\n }\n }, [activeSlide, items]);\n\n // Make sure that active slide is set to 0 when item input changes and there is only one image\n useEffect(() => {\n if (items.length === 1 && activeSlide !== 0) {\n setActiveSlide(0);\n }\n }, [items.length, activeSlide]);\n\n // #############################################################################\n // Cookies consent\n // #############################################################################\n /* Disabled for now since the current design does not have videos in gallery, might change later */\n // const { hasCookiesConsent } = useCookiesConsent();\n // const videoNoCookiesConsent = !hasCookiesConsent(\n // CookiesConsentGroup.Targeting\n // );\n\n // #############################################################################\n // Can fullscreen\n // #############################################################################\n /* Disabled for now since the current design does not have fullscreen, might change later */\n // const canFullscreen = useMemo(() => {\n // const isEmbed = items[activeSlide]?.data.__typename === \"Embed\";\n\n // return !isEmbed || (isEmbed && !videoNoCookiesConsent);\n // }, [activeSlide, items, videoNoCookiesConsent]);\n\n // #############################################################################\n // Arrow click events\n // #############################################################################\n const handlePrevArrowClick = useCallback(() => {\n // Exit if first image\n if (activeSlide === 0) {\n return;\n }\n\n handleArrowOnClick(Direction.Previous);\n }, [activeSlide, handleArrowOnClick]);\n\n const handleNextArrowClick = useCallback(() => {\n // Exit if last image\n if (activeSlide + 1 >= items.length) {\n return;\n }\n\n handleArrowOnClick(Direction.Next);\n }, [activeSlide, handleArrowOnClick, items.length]);\n\n // #############################################################################\n // Mouse events\n // #############################################################################\n const mouseDown = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n setDragX(event.pageX);\n setDragY(event.pageY);\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n setDragX(touch.pageX);\n setDragY(touch.pageY);\n }\n }\n },\n [],\n );\n\n const mouseUp = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n const container = slider.current as HTMLElement;\n const rect = container.getBoundingClientRect();\n let dragXPercentage = 0;\n let dragYPercentage = 0;\n\n if (!dragX || !slider || !dragY) {\n return;\n }\n\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n dragXPercentage = (event.pageX - dragX) / rect.width;\n dragYPercentage = (event.pageY - dragY) / rect.height;\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n dragXPercentage = (touch.pageX - dragX) / rect.width;\n dragYPercentage = (touch.pageY - dragY) / rect.height;\n }\n }\n\n const userScrollingY = dragYPercentage > 0.05 || dragYPercentage < -0.05;\n\n // user swiped right\n if (dragXPercentage < -0.05 && !userScrollingY) {\n handleNextArrowClick();\n }\n // user swiped left\n else if (dragXPercentage > 0.05 && !userScrollingY) {\n handlePrevArrowClick();\n }\n // onclick\n else if (\n dragXPercentage === 0 &&\n dragYPercentage === 0\n // && canFullscreen\n ) {\n handleShowImageCarouselFullScreen?.(true);\n }\n\n setDragX(null);\n },\n [\n dragX,\n dragY,\n handleNextArrowClick,\n handlePrevArrowClick,\n handleShowImageCarouselFullScreen,\n ],\n );\n\n const handleCloseFullScreen = useCallback(() => {\n if (imageCarouselFullScreen) {\n handleShowImageCarouselFullScreen?.(false);\n }\n }, [handleShowImageCarouselFullScreen, imageCarouselFullScreen]);\n\n // close fullscreen view when pressing escape\n useKeyPressEvent(\"Escape\", handleCloseFullScreen);\n\n // Change images on left/right arrow press\n useKeyPressEvent(\"ArrowLeft\", handlePrevArrowClick);\n useKeyPressEvent(\"ArrowRight\", handleNextArrowClick);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <>\n {imageCarouselFullScreen && (\n <S.CloseButton onClick={handleCloseFullScreen}>\n {/* eslint-disable-next-line @next/next/no-img-element */}\n <img\n src={typeof CloseIcon === \"string\" ? CloseIcon : CloseIcon.src}\n alt=\"\"\n />\n </S.CloseButton>\n )}\n <S.Container\n fullScreen={imageCarouselFullScreen}\n canFullscreen={false}\n // canFullscreen={canFullscreen}\n >\n <S.ContainerContentWrap>\n <S.FlexWrap>\n {/* Summary text for mobile full-screen gallery mode */}\n {/* TODO: Investigate how to fix translations for this taking into consideration that it is in store.shared repo */}\n {/* {imageCarouselFullScreen && isMobileView && (\n <S.SummaryText>\n {t(\n { id: \"product.page.imageSummary\" },\n { total: items.length, n: activeSlide + 1 }\n )}\n </S.SummaryText>\n )} */}\n </S.FlexWrap>\n <S.Carousel\n onMouseDown={mouseDown}\n onMouseUp={mouseUp}\n ref={slider}\n onTouchStart={mouseDown}\n onTouchEnd={mouseUp}\n >\n <S.CarouselViewport className=\"carousel__viewport\" ref={carousel}>\n {items.map((item, i) => (\n <S.CarouselSlide\n key={`carousel-slide-${item.id}`}\n hide={isHidden(i)}\n slideBackgroundColor={slideBackgroundColor}\n >\n <S.CarouselSlideInner\n onMouseEnter={() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.load();\n }\n }}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <S.Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={\n item.childAssets?.find((asset) => !asset.isVideo)?.src\n }\n $aspectRatio={item.width / item.height}\n controls={false}\n onCanPlayThrough={async () => {\n try {\n if (videoRef.current && isVideoHovering.current) {\n await videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }}\n onEnded={() => {\n if (videoRef.current) {\n try {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }\n }}\n /**\n * NOTE: Not enabling autoPlay for mobile devices because\n * the video element is left in the DOM and we don't want\n * it to start playing if it is not in visible.\n */\n />\n ) : (\n <CustomImage\n responsive\n renderImage={renderImage}\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item}\n sizes={`100%`}\n layout=\"fill\"\n objectFit=\"contain\"\n priority={i === 0} // prioritize 1st image\n />\n )}\n\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <CustomImage\n responsive\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item.data}\n sizes={`${imageCarouselFullScreen\n ? S.imageCarouselFullScreenWidth\n : S.productScreenChildContainerWidth\n }px`}\n priority={i === 0} // prioritize 1st image\n />\n )}\n {item.data.__typename === \"Embed\" && (\n <S.VideoWrap>\n {videoNoCookiesConsent ? (\n <VideoCookiesConsent videoSrc={item.data.url} />\n ) : (\n <S.Iframe\n src={item.data.url}\n title=\"YouTube video player\"\n allowFullScreen\n />\n )}\n </S.VideoWrap>\n )} */}\n </S.CarouselSlideInner>\n </S.CarouselSlide>\n ))}\n </S.CarouselViewport>\n </S.Carousel>\n\n {items.length > 1 && (\n <S.CarouselNavigation fullScreen={imageCarouselFullScreen}>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Previous}\n active={navArrowActive(Direction.Previous)}\n onClick={() => handleNavArrowOnClick(Direction.Previous)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n\n <S.CarouselNavigationList\n ref={navigation}\n navScrollable={navScrollable}\n onScroll={handleNavScroll}\n >\n {items.map((item, i) => (\n <S.CarouselNavigationListItem\n key={`carousel-navigation-${item.id}`}\n onClick={() => handleNavigationOnClick(i)}\n >\n {isTablet ? (\n <S.SliderDot active={activeSlide === i} />\n ) : (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <S.CarouselNavigationInnerWrap>\n <CustomImage\n renderImage={renderImage}\n asset={{\n src: item.isVideo\n ? item.childAssets?.find(\n (asset) => !asset.isVideo,\n )?.src || \"\"\n : item.src,\n alt: item.alt,\n height: 50,\n width: 50,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationInnerWrap>\n </S.CarouselNavigationButton>\n )}\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage asset={item.data} sizes=\"50px\" />\n </S.CarouselNavigationButton>\n )}\n {item.data.__typename === \"Embed\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage\n asset={{\n url: item.data.thumbnailUrl,\n height: item.data.thumbnailHeight,\n width: item.data.thumbnailWidth,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationButton>\n )} */}\n </S.CarouselNavigationListItem>\n ))}\n </S.CarouselNavigationList>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Next}\n active={navArrowActive(Direction.Next)}\n onClick={() => handleNavArrowOnClick(Direction.Next)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n </S.CarouselNavigation>\n )}\n </S.ContainerContentWrap>\n\n <S.CarouselArrowButton\n direction={Direction.Previous}\n hide={activeSlide === 0}\n onClick={() => handleArrowOnClick(Direction.Previous)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n\n <S.CarouselArrowButton\n direction={Direction.Next}\n hide={activeSlide === items.length - 1}\n onClick={() => handleArrowOnClick(Direction.Next)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n </S.Container>\n </>\n );\n};\n"],"names":["Direction","TRANSITION_DURATION","ImageCarousel","ImageCarousel2","items","renderImage","handleActiveGalleryImageId","imageCarouselFullScreen","handleShowImageCarouselFullScreen","slideBackgroundColor","initialActiveIndex","carousel","useRef","slider","navigation","prevSlideRef","activeSlide","setActiveSlide","useState","sliding","setSliding","navScrollable","setNavScrollable","scrollPosition","setScrollPosition","dragX","setDragX","dragY","setDragY","isMobileView","useMedia","BREAKPOINTS","MOBILE_AND_DOWN","isTablet","TABLET_AND_DOWN","videoRef","isVideoHovering","scrollSlideIntoView","useCallback","duration","nextSlide","prevSlide","container","current","WIDTH","start","previousTimeStamp","step","timestamp","elapsed","progress","inProgress","startingPosition","position","style","transform","window","requestAnimationFrame","scrollNavIntoView","scrollBy","initialScroll","scrollLeft","handleScrollNavItemIntoView","i","containerRect","getBoundingClientRect","actNav","children","actNavRect","right","scrollStep","left","handleNavArrowOnClick","direction","scrollItemCount","transition","scrollNavigationBy","S.navigationItemWidth","S.navigationItemMargin","handleArrowOnClick","handleNavigationOnClick","enableNavScroll","scrollable","scrollWidth","clientWidth","isHidden","handleNavScroll","e","target","navArrowActive","offsetWidth","useEffect","addEventListener","removeEventListener","isVideo","currentTime","pause","length","handlePrevArrowClick","handleNextArrowClick","mouseDown","nativeEvent","MouseEvent","event","pageX","pageY","TouchEvent","touch","touches","changedTouches","mouseUp","rect","dragXPercentage","dragYPercentage","width","height","userScrollingY","handleCloseFullScreen","useKeyPressEvent","jsxs","Fragment","jsx","S.CloseButton","onClick","src","CloseIcon","alt","S.Container","fullScreen","canFullscreen","S.ContainerContentWrap","S.FlexWrap","S.Carousel","onMouseDown","onMouseUp","ref","onTouchStart","onTouchEnd","S.CarouselViewport","className","map","item","S.CarouselSlide","hide","S.CarouselSlideInner","onMouseEnter","isVideoPlaying","paused","ended","load","onMouseLeave","S.Video","muted","playsInline","poster","childAssets","find","asset","$aspectRatio","controls","onCanPlayThrough","play","onEnded","CustomImage","responsive","fallbackImageSize","sizes","layout","objectFit","priority","id","S.CarouselNavigation","S.NavigationArrowWrap","active","S.ArrowNavIcon","ArrowNavIcon","S.CarouselNavigationList","onScroll","S.CarouselNavigationListItem","S.SliderDot","S.CarouselNavigationButton","S.CarouselNavigationInnerWrap","S.CarouselArrowButton","S.ArrowIcon","ArrowIcon"],"mappings":";;;;;;;;;;;;;;AAiBA,IAAKA,SAAA,GAAA,gBAAAA,UAAL,IAAA;EACEA,WAAA,MAAO,CAAA,GAAA,MAAA;EACPA,WAAA,UAAW,CAAA,GAAA,MAAA;EAFRA,OAAAA,UAAAA;AAAA,CAAA,EAAAA,SAAA,IAAA,CAAA,CAAA,CAAA;AAKL,MAAMC,mBAAsB,GAAA,GAAA;AAEf,MAAAC,aAAA,GAAgB,SAASA,cAAcC,CAAA;EAClDC,KAAA;EACAC,WAAA;EACAC,0BAAA;EACAC,uBAAA;EACAC,iCA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CAAmB,MAAc,CAAA,UAAA,CAAA;QAChDiD,UAAY,EAAAzH,uBAAA;QAEZ4D,QAAA,EAAA,eAAAsD,GAAA,CAAC8D,SAAA,EAAA;UAAY3D,KAAK4D,kBAAW;UAAArE,MAAA,EAAQ,EAAI;UAAAD,KAAA,EAAO;SAAI;MAAA,CACtD,CAAA;IAAA,CACF,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -469,6 +469,7 @@ export declare enum PropertyId {
|
|
|
469
469
|
UsbCPeripheralSupport = "usbCPeripheralSupport",
|
|
470
470
|
VantagePoint = "vantagePoint",
|
|
471
471
|
LinkPuncturing = "linkPuncturing",
|
|
472
|
+
CrestronNaxNvxCertified = "crestronNaxNvxCertified",
|
|
472
473
|
RfFilteringTechnology = "rfFilteringTechnology",
|
|
473
474
|
Weatherproofing = "weatherproofing",
|
|
474
475
|
RedundantRj45Port = "redundantRj45Port",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var icon = require("../../../assets/crestron.svg");
|
|
7
|
+
function _interopDefault(e) {
|
|
8
|
+
return e && e.__esModule ? e : {
|
|
9
|
+
default: e
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
var icon__default = /*#__PURE__*/_interopDefault(icon);
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return icon__default["default"];
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.keys(icon).forEach(function (k) {
|
|
20
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return icon[k];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=crestron.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crestron.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crestron.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -14,17 +14,18 @@ var poeOutput = require('./properties/poeOutput.js');
|
|
|
14
14
|
var poeAvailability = require('./properties/poeAvailability.js');
|
|
15
15
|
var etherlighting = require('./properties/etherlighting.js');
|
|
16
16
|
var proAvSupport = require('./properties/proAvSupport.js');
|
|
17
|
+
var crestronNaxNvxCertified = require('./properties/crestronNaxNvxCertified.js');
|
|
17
18
|
var powerRedundancy = require('./properties/powerRedundancy.js');
|
|
18
19
|
"use strict";
|
|
19
20
|
const EnterpriseSwitching = {
|
|
20
|
-
properties: [portCount.portCount, downlinkSpeed.downlinkSpeed, uplinkSpeed.uplinkSpeed, poeOutput.poeOutput, poeAvailability.poeAvailability, etherlighting.etherlighting, proAvSupport.proAvSupport, powerRedundancy.powerRedundancy],
|
|
21
|
+
properties: [portCount.portCount, downlinkSpeed.downlinkSpeed, uplinkSpeed.uplinkSpeed, poeOutput.poeOutput, poeAvailability.poeAvailability, etherlighting.etherlighting, proAvSupport.proAvSupport, crestronNaxNvxCertified.crestronNaxNvxCertified, powerRedundancy.powerRedundancy],
|
|
21
22
|
products: [enterpriseAggregation.enterpriseAggregation, enterpriseCampus48PoE.enterpriseCampus48PoE, enterpriseCampus24PoE.enterpriseCampus24PoE,
|
|
22
23
|
// enterpriseXG24,
|
|
23
24
|
// enterprise48PoE,
|
|
24
25
|
// enterprise24PoE,
|
|
25
26
|
highCapacityAggregation.highCapacityAggregation, aggregation.aggregation, missionCritical.missionCritical],
|
|
26
27
|
columnWidth: 250,
|
|
27
|
-
propertyColumnWidth:
|
|
28
|
+
propertyColumnWidth: 204,
|
|
28
29
|
showBadges: true
|
|
29
30
|
};
|
|
30
31
|
exports.EnterpriseSwitching = EnterpriseSwitching;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnterpriseSwitching.js","sources":["../../../../src/components/ModelCompareV3/data/EnterpriseSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { aggregation } from \"./products/aggregation\";\nimport { enterpriseAggregation } from \"./products/enterpriseAggregation\";\nimport { enterpriseCampus24PoE } from \"./products/enterpriseCampus24PoE\";\nimport { enterpriseCampus48PoE } from \"./products/enterpriseCampus48PoE\";\nimport { highCapacityAggregation } from \"./products/highCapacityAggregation\";\nimport { missionCritical } from \"./products/missionCritical\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n proAvSupport,\n uplinkSpeed,\n} from \"./properties\";\n\nexport const EnterpriseSwitching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n powerRedundancy,\n ],\n products: [\n enterpriseAggregation,\n enterpriseCampus48PoE,\n enterpriseCampus24PoE,\n // enterpriseXG24,\n // enterprise48PoE,\n // enterprise24PoE,\n highCapacityAggregation,\n aggregation,\n missionCritical,\n ],\n columnWidth: 250,\n propertyColumnWidth:
|
|
1
|
+
{"version":3,"file":"EnterpriseSwitching.js","sources":["../../../../src/components/ModelCompareV3/data/EnterpriseSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { aggregation } from \"./products/aggregation\";\nimport { enterpriseAggregation } from \"./products/enterpriseAggregation\";\nimport { enterpriseCampus24PoE } from \"./products/enterpriseCampus24PoE\";\nimport { enterpriseCampus48PoE } from \"./products/enterpriseCampus48PoE\";\nimport { highCapacityAggregation } from \"./products/highCapacityAggregation\";\nimport { missionCritical } from \"./products/missionCritical\";\nimport {\n crestronNaxNvxCertified,\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n proAvSupport,\n uplinkSpeed,\n} from \"./properties\";\n\nexport const EnterpriseSwitching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n crestronNaxNvxCertified,\n powerRedundancy,\n ],\n products: [\n enterpriseAggregation,\n enterpriseCampus48PoE,\n enterpriseCampus24PoE,\n // enterpriseXG24,\n // enterprise48PoE,\n // enterprise24PoE,\n highCapacityAggregation,\n aggregation,\n missionCritical,\n ],\n columnWidth: 250,\n propertyColumnWidth: 204,\n showBadges: true,\n};\n"],"names":["EnterpriseSwitching","properties","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting","proAvSupport","crestronNaxNvxCertified","powerRedundancy","products","enterpriseAggregation","enterpriseCampus48PoE","enterpriseCampus24PoE","highCapacityAggregation","aggregation","missionCritical","columnWidth","propertyColumnWidth","showBadges"],"mappings":";;;;;;;;;;;;;;;;;;;AAmBO,MAAMA,mBAA+B,GAAA;EAC1CC,UAAY,EAAA,CACVC,SAAA,CAAAA,SAAA,EACAC,aAAA,CAAAA,aAAA,EACAC,WAAA,CAAAA,WAAA,EACAC,SAAA,CAAAA,SAAA,EACAC,eAAA,CAAAA,eAAA,EACAC,aAAA,CAAAA,aAAA,EACAC,YAAA,CAAAA,YAAA,EACAC,uBAAA,CAAAA,uBAAA,EACAC,eAAA,CAAAA,eAAA,CACF;EACAC,QAAU,EAAA,CACRC,qBAAA,CAAAA,qBAAA,EACAC,qBAAA,CAAAA,qBAAA,EACAC,qBAAA,CAAAA,qBAAA;EAAA;EAAA;EAAA;EAIAC,uBAAA,CAAAA,uBAAA,EACAC,WAAA,CAAAA,WAAA,EACAC,eAAA,CAAAA,eAAA,CACF;EACAC,WAAa,EAAA,GAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,UAAY,EAAA;AACd,CAAA;"}
|
|
@@ -12,17 +12,18 @@ import { poeOutput } from './properties/poeOutput.mjs';
|
|
|
12
12
|
import { poeAvailability } from './properties/poeAvailability.mjs';
|
|
13
13
|
import { etherlighting } from './properties/etherlighting.mjs';
|
|
14
14
|
import { proAvSupport } from './properties/proAvSupport.mjs';
|
|
15
|
+
import { crestronNaxNvxCertified } from './properties/crestronNaxNvxCertified.mjs';
|
|
15
16
|
import { powerRedundancy } from './properties/powerRedundancy.mjs';
|
|
16
17
|
"use strict";
|
|
17
18
|
const EnterpriseSwitching = {
|
|
18
|
-
properties: [portCount, downlinkSpeed, uplinkSpeed, poeOutput, poeAvailability, etherlighting, proAvSupport, powerRedundancy],
|
|
19
|
+
properties: [portCount, downlinkSpeed, uplinkSpeed, poeOutput, poeAvailability, etherlighting, proAvSupport, crestronNaxNvxCertified, powerRedundancy],
|
|
19
20
|
products: [enterpriseAggregation, enterpriseCampus48PoE, enterpriseCampus24PoE,
|
|
20
21
|
// enterpriseXG24,
|
|
21
22
|
// enterprise48PoE,
|
|
22
23
|
// enterprise24PoE,
|
|
23
24
|
highCapacityAggregation, aggregation, missionCritical],
|
|
24
25
|
columnWidth: 250,
|
|
25
|
-
propertyColumnWidth:
|
|
26
|
+
propertyColumnWidth: 204,
|
|
26
27
|
showBadges: true
|
|
27
28
|
};
|
|
28
29
|
export { EnterpriseSwitching };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnterpriseSwitching.mjs","sources":["../../../../src/components/ModelCompareV3/data/EnterpriseSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { aggregation } from \"./products/aggregation\";\nimport { enterpriseAggregation } from \"./products/enterpriseAggregation\";\nimport { enterpriseCampus24PoE } from \"./products/enterpriseCampus24PoE\";\nimport { enterpriseCampus48PoE } from \"./products/enterpriseCampus48PoE\";\nimport { highCapacityAggregation } from \"./products/highCapacityAggregation\";\nimport { missionCritical } from \"./products/missionCritical\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n proAvSupport,\n uplinkSpeed,\n} from \"./properties\";\n\nexport const EnterpriseSwitching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n powerRedundancy,\n ],\n products: [\n enterpriseAggregation,\n enterpriseCampus48PoE,\n enterpriseCampus24PoE,\n // enterpriseXG24,\n // enterprise48PoE,\n // enterprise24PoE,\n highCapacityAggregation,\n aggregation,\n missionCritical,\n ],\n columnWidth: 250,\n propertyColumnWidth:
|
|
1
|
+
{"version":3,"file":"EnterpriseSwitching.mjs","sources":["../../../../src/components/ModelCompareV3/data/EnterpriseSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { aggregation } from \"./products/aggregation\";\nimport { enterpriseAggregation } from \"./products/enterpriseAggregation\";\nimport { enterpriseCampus24PoE } from \"./products/enterpriseCampus24PoE\";\nimport { enterpriseCampus48PoE } from \"./products/enterpriseCampus48PoE\";\nimport { highCapacityAggregation } from \"./products/highCapacityAggregation\";\nimport { missionCritical } from \"./products/missionCritical\";\nimport {\n crestronNaxNvxCertified,\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n proAvSupport,\n uplinkSpeed,\n} from \"./properties\";\n\nexport const EnterpriseSwitching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n crestronNaxNvxCertified,\n powerRedundancy,\n ],\n products: [\n enterpriseAggregation,\n enterpriseCampus48PoE,\n enterpriseCampus24PoE,\n // enterpriseXG24,\n // enterprise48PoE,\n // enterprise24PoE,\n highCapacityAggregation,\n aggregation,\n missionCritical,\n ],\n columnWidth: 250,\n propertyColumnWidth: 204,\n showBadges: true,\n};\n"],"names":["EnterpriseSwitching","properties","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting","proAvSupport","crestronNaxNvxCertified","powerRedundancy","products","enterpriseAggregation","enterpriseCampus48PoE","enterpriseCampus24PoE","highCapacityAggregation","aggregation","missionCritical","columnWidth","propertyColumnWidth","showBadges"],"mappings":";;;;;;;;;;;;;;;;;AAmBO,MAAMA,mBAA+B,GAAA;EAC1CC,UAAY,EAAA,CACVC,SAAA,EACAC,aAAA,EACAC,WAAA,EACAC,SAAA,EACAC,eAAA,EACAC,aAAA,EACAC,YAAA,EACAC,uBAAA,EACAC,eAAA,CACF;EACAC,QAAU,EAAA,CACRC,qBAAA,EACAC,qBAAA,EACAC,qBAAA;EAAA;EAAA;EAAA;EAIAC,uBAAA,EACAC,WAAA,EACAC,eAAA,CACF;EACAC,WAAa,EAAA,GAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,UAAY,EAAA;AACd,CAAA;"}
|
|
@@ -9,15 +9,22 @@ var professionalMax24PoE = require('./products/professionalMax24PoE.js');
|
|
|
9
9
|
var professionalMax48 = require('./products/professionalMax48.js');
|
|
10
10
|
var professionalMax48PoE = require('./products/professionalMax48PoE.js');
|
|
11
11
|
require('./properties/index.js');
|
|
12
|
-
var
|
|
12
|
+
var portCount = require('./properties/portCount.js');
|
|
13
|
+
var downlinkSpeed = require('./properties/downlinkSpeed.js');
|
|
14
|
+
var uplinkSpeed = require('./properties/uplinkSpeed.js');
|
|
15
|
+
var poeOutput = require('./properties/poeOutput.js');
|
|
16
|
+
var poeAvailability = require('./properties/poeAvailability.js');
|
|
17
|
+
var proAvSupport = require('./properties/proAvSupport.js');
|
|
18
|
+
var crestronNaxNvxCertified = require('./properties/crestronNaxNvxCertified.js');
|
|
19
|
+
var powerRedundancy = require('./properties/powerRedundancy.js');
|
|
13
20
|
var mounting = require('./properties/mounting.js');
|
|
14
21
|
"use strict";
|
|
15
22
|
const professionalMaxSwitching = {
|
|
16
|
-
properties: [
|
|
23
|
+
properties: [portCount.portCount, downlinkSpeed.downlinkSpeed, uplinkSpeed.uplinkSpeed, poeOutput.poeOutput, poeAvailability.poeAvailability, proAvSupport.proAvSupport, crestronNaxNvxCertified.crestronNaxNvxCertified, powerRedundancy.powerRedundancy, mounting.mounting],
|
|
17
24
|
products: [professionalHd24Poe.professionalHd24Poe, professionalHd24.professionalHd24, professionalMax48PoE.professionalMax48PoE, professionalMax24PoE.professionalMax24PoE, professionalMax16PoE.professionalMax16PoE, professionalMax48.professionalMax48, professionalMax24.professionalMax24, professionalMax16.professionalMax16],
|
|
18
25
|
columnWidth: 294,
|
|
19
26
|
showBadges: true,
|
|
20
|
-
propertyColumnWidth:
|
|
27
|
+
propertyColumnWidth: 204
|
|
21
28
|
};
|
|
22
29
|
exports.professionalMaxSwitching = professionalMaxSwitching;
|
|
23
30
|
//# sourceMappingURL=ProfessionalMaxSwitching.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfessionalMaxSwitching.js","sources":["../../../../src/components/ModelCompareV3/data/ProfessionalMaxSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { professionalHd24 } from \"./products/professionalHd24\";\nimport { professionalHd24Poe } from \"./products/professionalHd24Poe\";\nimport { professionalMax16 } from \"./products/professionalMax16\";\nimport { professionalMax16PoE } from \"./products/professionalMax16PoE\";\nimport { professionalMax24 } from \"./products/professionalMax24\";\nimport { professionalMax24PoE } from \"./products/professionalMax24PoE\";\nimport { professionalMax48 } from \"./products/professionalMax48\";\nimport { professionalMax48PoE } from \"./products/professionalMax48PoE\";\nimport {
|
|
1
|
+
{"version":3,"file":"ProfessionalMaxSwitching.js","sources":["../../../../src/components/ModelCompareV3/data/ProfessionalMaxSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { professionalHd24 } from \"./products/professionalHd24\";\nimport { professionalHd24Poe } from \"./products/professionalHd24Poe\";\nimport { professionalMax16 } from \"./products/professionalMax16\";\nimport { professionalMax16PoE } from \"./products/professionalMax16PoE\";\nimport { professionalMax24 } from \"./products/professionalMax24\";\nimport { professionalMax24PoE } from \"./products/professionalMax24PoE\";\nimport { professionalMax48 } from \"./products/professionalMax48\";\nimport { professionalMax48PoE } from \"./products/professionalMax48PoE\";\nimport {\n crestronNaxNvxCertified,\n downlinkSpeed,\n mounting,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n proAvSupport,\n uplinkSpeed,\n} from \"./properties\";\n\nexport const professionalMaxSwitching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n proAvSupport,\n crestronNaxNvxCertified,\n powerRedundancy,\n mounting,\n ],\n products: [\n professionalHd24Poe,\n professionalHd24,\n professionalMax48PoE,\n professionalMax24PoE,\n professionalMax16PoE,\n professionalMax48,\n professionalMax24,\n professionalMax16,\n ],\n columnWidth: 294,\n showBadges: true,\n propertyColumnWidth: 204,\n};\n"],"names":["professionalMaxSwitching","properties","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","proAvSupport","crestronNaxNvxCertified","powerRedundancy","mounting","products","professionalHd24Poe","professionalHd24","professionalMax48PoE","professionalMax24PoE","professionalMax16PoE","professionalMax48","professionalMax24","professionalMax16","columnWidth","showBadges","propertyColumnWidth"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,wBAAoC,GAAA;EAC/CC,UAAY,EAAA,CACVC,SAAA,CAAAA,SAAA,EACAC,aAAA,CAAAA,aAAA,EACAC,WAAA,CAAAA,WAAA,EACAC,SAAA,CAAAA,SAAA,EACAC,eAAA,CAAAA,eAAA,EACAC,YAAA,CAAAA,YAAA,EACAC,uBAAA,CAAAA,uBAAA,EACAC,eAAA,CAAAA,eAAA,EACAC,QAAA,CAAAA,QAAA,CACF;EACAC,QAAU,EAAA,CACRC,mBAAA,CAAAA,mBAAA,EACAC,gBAAA,CAAAA,gBAAA,EACAC,oBAAA,CAAAA,oBAAA,EACAC,oBAAA,CAAAA,oBAAA,EACAC,oBAAA,CAAAA,oBAAA,EACAC,iBAAA,CAAAA,iBAAA,EACAC,iBAAA,CAAAA,iBAAA,EACAC,iBAAA,CAAAA,iBAAA,CACF;EACAC,WAAa,EAAA,GAAA;EACbC,UAAY,EAAA,IAAA;EACZC,mBAAqB,EAAA;AACvB,CAAA;"}
|
|
@@ -7,15 +7,22 @@ import { professionalMax24PoE } from './products/professionalMax24PoE.mjs';
|
|
|
7
7
|
import { professionalMax48 } from './products/professionalMax48.mjs';
|
|
8
8
|
import { professionalMax48PoE } from './products/professionalMax48PoE.mjs';
|
|
9
9
|
import './properties/index.mjs';
|
|
10
|
-
import {
|
|
10
|
+
import { portCount } from './properties/portCount.mjs';
|
|
11
|
+
import { downlinkSpeed } from './properties/downlinkSpeed.mjs';
|
|
12
|
+
import { uplinkSpeed } from './properties/uplinkSpeed.mjs';
|
|
13
|
+
import { poeOutput } from './properties/poeOutput.mjs';
|
|
14
|
+
import { poeAvailability } from './properties/poeAvailability.mjs';
|
|
15
|
+
import { proAvSupport } from './properties/proAvSupport.mjs';
|
|
16
|
+
import { crestronNaxNvxCertified } from './properties/crestronNaxNvxCertified.mjs';
|
|
17
|
+
import { powerRedundancy } from './properties/powerRedundancy.mjs';
|
|
11
18
|
import { mounting } from './properties/mounting.mjs';
|
|
12
19
|
"use strict";
|
|
13
20
|
const professionalMaxSwitching = {
|
|
14
|
-
properties: [
|
|
21
|
+
properties: [portCount, downlinkSpeed, uplinkSpeed, poeOutput, poeAvailability, proAvSupport, crestronNaxNvxCertified, powerRedundancy, mounting],
|
|
15
22
|
products: [professionalHd24Poe, professionalHd24, professionalMax48PoE, professionalMax24PoE, professionalMax16PoE, professionalMax48, professionalMax24, professionalMax16],
|
|
16
23
|
columnWidth: 294,
|
|
17
24
|
showBadges: true,
|
|
18
|
-
propertyColumnWidth:
|
|
25
|
+
propertyColumnWidth: 204
|
|
19
26
|
};
|
|
20
27
|
export { professionalMaxSwitching };
|
|
21
28
|
//# sourceMappingURL=ProfessionalMaxSwitching.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfessionalMaxSwitching.mjs","sources":["../../../../src/components/ModelCompareV3/data/ProfessionalMaxSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { professionalHd24 } from \"./products/professionalHd24\";\nimport { professionalHd24Poe } from \"./products/professionalHd24Poe\";\nimport { professionalMax16 } from \"./products/professionalMax16\";\nimport { professionalMax16PoE } from \"./products/professionalMax16PoE\";\nimport { professionalMax24 } from \"./products/professionalMax24\";\nimport { professionalMax24PoE } from \"./products/professionalMax24PoE\";\nimport { professionalMax48 } from \"./products/professionalMax48\";\nimport { professionalMax48PoE } from \"./products/professionalMax48PoE\";\nimport {
|
|
1
|
+
{"version":3,"file":"ProfessionalMaxSwitching.mjs","sources":["../../../../src/components/ModelCompareV3/data/ProfessionalMaxSwitching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { professionalHd24 } from \"./products/professionalHd24\";\nimport { professionalHd24Poe } from \"./products/professionalHd24Poe\";\nimport { professionalMax16 } from \"./products/professionalMax16\";\nimport { professionalMax16PoE } from \"./products/professionalMax16PoE\";\nimport { professionalMax24 } from \"./products/professionalMax24\";\nimport { professionalMax24PoE } from \"./products/professionalMax24PoE\";\nimport { professionalMax48 } from \"./products/professionalMax48\";\nimport { professionalMax48PoE } from \"./products/professionalMax48PoE\";\nimport {\n crestronNaxNvxCertified,\n downlinkSpeed,\n mounting,\n poeAvailability,\n poeOutput,\n portCount,\n powerRedundancy,\n proAvSupport,\n uplinkSpeed,\n} from \"./properties\";\n\nexport const professionalMaxSwitching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n proAvSupport,\n crestronNaxNvxCertified,\n powerRedundancy,\n mounting,\n ],\n products: [\n professionalHd24Poe,\n professionalHd24,\n professionalMax48PoE,\n professionalMax24PoE,\n professionalMax16PoE,\n professionalMax48,\n professionalMax24,\n professionalMax16,\n ],\n columnWidth: 294,\n showBadges: true,\n propertyColumnWidth: 204,\n};\n"],"names":["professionalMaxSwitching","properties","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","proAvSupport","crestronNaxNvxCertified","powerRedundancy","mounting","products","professionalHd24Poe","professionalHd24","professionalMax48PoE","professionalMax24PoE","professionalMax16PoE","professionalMax48","professionalMax24","professionalMax16","columnWidth","showBadges","propertyColumnWidth"],"mappings":";;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,wBAAoC,GAAA;EAC/CC,UAAY,EAAA,CACVC,SAAA,EACAC,aAAA,EACAC,WAAA,EACAC,SAAA,EACAC,eAAA,EACAC,YAAA,EACAC,uBAAA,EACAC,eAAA,EACAC,QAAA,CACF;EACAC,QAAU,EAAA,CACRC,mBAAA,EACAC,gBAAA,EACAC,oBAAA,EACAC,oBAAA,EACAC,oBAAA,EACAC,iBAAA,EACAC,iBAAA,EACAC,iBAAA,CACF;EACAC,WAAa,EAAA,GAAA;EACbC,UAAY,EAAA,IAAA;EACZC,mBAAqB,EAAA;AACvB,CAAA;"}
|
|
@@ -14,15 +14,16 @@ var portCount = require('./properties/portCount.js');
|
|
|
14
14
|
var powerRedundancy = require('./properties/powerRedundancy.js');
|
|
15
15
|
var uplinkSpeed = require('./properties/uplinkSpeed.js');
|
|
16
16
|
var proAvSupport = require('./properties/proAvSupport.js');
|
|
17
|
+
var crestronNaxNvxCertified = require('./properties/crestronNaxNvxCertified.js');
|
|
17
18
|
"use strict";
|
|
18
19
|
const Switching = {
|
|
19
|
-
properties: [portCount.portCount, downlinkSpeed.downlinkSpeed, uplinkSpeed.uplinkSpeed, poeOutput.poeOutput, poeAvailability.poeAvailability, etherlighting.etherlighting, proAvSupport.proAvSupport, powerRedundancy.powerRedundancy],
|
|
20
|
+
properties: [portCount.portCount, downlinkSpeed.downlinkSpeed, uplinkSpeed.uplinkSpeed, poeOutput.poeOutput, poeAvailability.poeAvailability, etherlighting.etherlighting, proAvSupport.proAvSupport, crestronNaxNvxCertified.crestronNaxNvxCertified, powerRedundancy.powerRedundancy],
|
|
20
21
|
products: [switchesEnterprise.switchesEnterprise, switchesProfessionalHd.switchesProfessionalHd, switchesProfessionalMax.switchesProfessionalMax, switchesProfessional.switchesProfessional, switchesStandard.switchesStandard
|
|
21
22
|
// switchesUtility,
|
|
22
23
|
],
|
|
23
24
|
columnWidth: 234,
|
|
24
25
|
showBadges: true,
|
|
25
|
-
propertyColumnWidth:
|
|
26
|
+
propertyColumnWidth: 204
|
|
26
27
|
};
|
|
27
28
|
exports.Switching = Switching;
|
|
28
29
|
//# sourceMappingURL=Switching.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switching.js","sources":["../../../../src/components/ModelCompareV3/data/Switching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { switchesEnterprise } from \"./products/switchesEnterprise\";\nimport { switchesProfessional } from \"./products/switchesProfessional\";\nimport { switchesProfessionalHd } from \"./products/switchesProfessionalHd\";\nimport { switchesProfessionalMax } from \"./products/switchesProfessionalMax\";\nimport { switchesStandard } from \"./products/switchesStandard\";\nimport { proAvSupport } from \"./properties\";\nimport { downlinkSpeed } from \"./properties/downlinkSpeed\";\nimport { etherlighting } from \"./properties/etherlighting\";\nimport { poeAvailability } from \"./properties/poeAvailability\";\nimport { poeOutput } from \"./properties/poeOutput\";\nimport { portCount } from \"./properties/portCount\";\nimport { powerRedundancy } from \"./properties/powerRedundancy\";\nimport { uplinkSpeed } from \"./properties/uplinkSpeed\";\n\nexport const Switching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n powerRedundancy,\n ],\n products: [\n switchesEnterprise,\n switchesProfessionalHd,\n switchesProfessionalMax,\n switchesProfessional,\n switchesStandard,\n // switchesUtility,\n ],\n columnWidth: 234,\n showBadges: true,\n propertyColumnWidth:
|
|
1
|
+
{"version":3,"file":"Switching.js","sources":["../../../../src/components/ModelCompareV3/data/Switching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { switchesEnterprise } from \"./products/switchesEnterprise\";\nimport { switchesProfessional } from \"./products/switchesProfessional\";\nimport { switchesProfessionalHd } from \"./products/switchesProfessionalHd\";\nimport { switchesProfessionalMax } from \"./products/switchesProfessionalMax\";\nimport { switchesStandard } from \"./products/switchesStandard\";\nimport { crestronNaxNvxCertified, proAvSupport } from \"./properties\";\nimport { downlinkSpeed } from \"./properties/downlinkSpeed\";\nimport { etherlighting } from \"./properties/etherlighting\";\nimport { poeAvailability } from \"./properties/poeAvailability\";\nimport { poeOutput } from \"./properties/poeOutput\";\nimport { portCount } from \"./properties/portCount\";\nimport { powerRedundancy } from \"./properties/powerRedundancy\";\nimport { uplinkSpeed } from \"./properties/uplinkSpeed\";\n\nexport const Switching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n crestronNaxNvxCertified,\n powerRedundancy,\n ],\n products: [\n switchesEnterprise,\n switchesProfessionalHd,\n switchesProfessionalMax,\n switchesProfessional,\n switchesStandard,\n // switchesUtility,\n ],\n columnWidth: 234,\n showBadges: true,\n propertyColumnWidth: 204,\n};\n"],"names":["Switching","properties","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting","proAvSupport","crestronNaxNvxCertified","powerRedundancy","products","switchesEnterprise","switchesProfessionalHd","switchesProfessionalMax","switchesProfessional","switchesStandard","columnWidth","showBadges","propertyColumnWidth"],"mappings":";;;;;;;;;;;;;;;;;;AAeO,MAAMA,SAAqB,GAAA;EAChCC,UAAY,EAAA,CACVC,SAAA,CAAAA,SAAA,EACAC,aAAA,CAAAA,aAAA,EACAC,WAAA,CAAAA,WAAA,EACAC,SAAA,CAAAA,SAAA,EACAC,eAAA,CAAAA,eAAA,EACAC,aAAA,CAAAA,aAAA,EACAC,YAAA,CAAAA,YAAA,EACAC,uBAAA,CAAAA,uBAAA,EACAC,eAAA,CAAAA,eAAA,CACF;EACAC,QAAU,EAAA,CACRC,kBAAA,CAAAA,kBAAA,EACAC,sBAAA,CAAAA,sBAAA,EACAC,uBAAA,CAAAA,uBAAA,EACAC,oBAAA,CAAAA,oBAAA,EACAC,gBAAA,CAAAA;EAAA;EAAA,CAEF;EACAC,WAAa,EAAA,GAAA;EACbC,UAAY,EAAA,IAAA;EACZC,mBAAqB,EAAA;AACvB,CAAA;"}
|
|
@@ -12,15 +12,16 @@ import { portCount } from './properties/portCount.mjs';
|
|
|
12
12
|
import { powerRedundancy } from './properties/powerRedundancy.mjs';
|
|
13
13
|
import { uplinkSpeed } from './properties/uplinkSpeed.mjs';
|
|
14
14
|
import { proAvSupport } from './properties/proAvSupport.mjs';
|
|
15
|
+
import { crestronNaxNvxCertified } from './properties/crestronNaxNvxCertified.mjs';
|
|
15
16
|
"use strict";
|
|
16
17
|
const Switching = {
|
|
17
|
-
properties: [portCount, downlinkSpeed, uplinkSpeed, poeOutput, poeAvailability, etherlighting, proAvSupport, powerRedundancy],
|
|
18
|
+
properties: [portCount, downlinkSpeed, uplinkSpeed, poeOutput, poeAvailability, etherlighting, proAvSupport, crestronNaxNvxCertified, powerRedundancy],
|
|
18
19
|
products: [switchesEnterprise, switchesProfessionalHd, switchesProfessionalMax, switchesProfessional, switchesStandard
|
|
19
20
|
// switchesUtility,
|
|
20
21
|
],
|
|
21
22
|
columnWidth: 234,
|
|
22
23
|
showBadges: true,
|
|
23
|
-
propertyColumnWidth:
|
|
24
|
+
propertyColumnWidth: 204
|
|
24
25
|
};
|
|
25
26
|
export { Switching };
|
|
26
27
|
//# sourceMappingURL=Switching.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switching.mjs","sources":["../../../../src/components/ModelCompareV3/data/Switching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { switchesEnterprise } from \"./products/switchesEnterprise\";\nimport { switchesProfessional } from \"./products/switchesProfessional\";\nimport { switchesProfessionalHd } from \"./products/switchesProfessionalHd\";\nimport { switchesProfessionalMax } from \"./products/switchesProfessionalMax\";\nimport { switchesStandard } from \"./products/switchesStandard\";\nimport { proAvSupport } from \"./properties\";\nimport { downlinkSpeed } from \"./properties/downlinkSpeed\";\nimport { etherlighting } from \"./properties/etherlighting\";\nimport { poeAvailability } from \"./properties/poeAvailability\";\nimport { poeOutput } from \"./properties/poeOutput\";\nimport { portCount } from \"./properties/portCount\";\nimport { powerRedundancy } from \"./properties/powerRedundancy\";\nimport { uplinkSpeed } from \"./properties/uplinkSpeed\";\n\nexport const Switching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n powerRedundancy,\n ],\n products: [\n switchesEnterprise,\n switchesProfessionalHd,\n switchesProfessionalMax,\n switchesProfessional,\n switchesStandard,\n // switchesUtility,\n ],\n columnWidth: 234,\n showBadges: true,\n propertyColumnWidth:
|
|
1
|
+
{"version":3,"file":"Switching.mjs","sources":["../../../../src/components/ModelCompareV3/data/Switching.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { switchesEnterprise } from \"./products/switchesEnterprise\";\nimport { switchesProfessional } from \"./products/switchesProfessional\";\nimport { switchesProfessionalHd } from \"./products/switchesProfessionalHd\";\nimport { switchesProfessionalMax } from \"./products/switchesProfessionalMax\";\nimport { switchesStandard } from \"./products/switchesStandard\";\nimport { crestronNaxNvxCertified, proAvSupport } from \"./properties\";\nimport { downlinkSpeed } from \"./properties/downlinkSpeed\";\nimport { etherlighting } from \"./properties/etherlighting\";\nimport { poeAvailability } from \"./properties/poeAvailability\";\nimport { poeOutput } from \"./properties/poeOutput\";\nimport { portCount } from \"./properties/portCount\";\nimport { powerRedundancy } from \"./properties/powerRedundancy\";\nimport { uplinkSpeed } from \"./properties/uplinkSpeed\";\n\nexport const Switching: Section = {\n properties: [\n portCount,\n downlinkSpeed,\n uplinkSpeed,\n poeOutput,\n poeAvailability,\n etherlighting,\n proAvSupport,\n crestronNaxNvxCertified,\n powerRedundancy,\n ],\n products: [\n switchesEnterprise,\n switchesProfessionalHd,\n switchesProfessionalMax,\n switchesProfessional,\n switchesStandard,\n // switchesUtility,\n ],\n columnWidth: 234,\n showBadges: true,\n propertyColumnWidth: 204,\n};\n"],"names":["Switching","properties","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting","proAvSupport","crestronNaxNvxCertified","powerRedundancy","products","switchesEnterprise","switchesProfessionalHd","switchesProfessionalMax","switchesProfessional","switchesStandard","columnWidth","showBadges","propertyColumnWidth"],"mappings":";;;;;;;;;;;;;;;;AAeO,MAAMA,SAAqB,GAAA;EAChCC,UAAY,EAAA,CACVC,SAAA,EACAC,aAAA,EACAC,WAAA,EACAC,SAAA,EACAC,eAAA,EACAC,aAAA,EACAC,YAAA,EACAC,uBAAA,EACAC,eAAA,CACF;EACAC,QAAU,EAAA,CACRC,kBAAA,EACAC,sBAAA,EACAC,uBAAA,EACAC,oBAAA,EACAC;EAAA;EAAA,CAEF;EACAC,WAAa,EAAA,GAAA;EACbC,UAAY,EAAA,IAAA;EACZC,mBAAqB,EAAA;AACvB,CAAA;"}
|
|
@@ -11,6 +11,7 @@ var uplinkSpeed = require('../properties/uplinkSpeed.js');
|
|
|
11
11
|
var poeOutput = require('../properties/poeOutput.js');
|
|
12
12
|
var poeAvailability = require('../properties/poeAvailability.js');
|
|
13
13
|
var proAvSupport = require('../properties/proAvSupport.js');
|
|
14
|
+
var crestronNaxNvxCertified = require('../properties/crestronNaxNvxCertified.js');
|
|
14
15
|
var powerRedundancy = require('../properties/powerRedundancy.js');
|
|
15
16
|
var powerMethod = require('../properties/powerMethod.js');
|
|
16
17
|
var etherlighting = require('../properties/etherlighting.js');
|
|
@@ -81,6 +82,12 @@ const aggregation = {
|
|
|
81
82
|
type: "boolean",
|
|
82
83
|
value: false
|
|
83
84
|
}
|
|
85
|
+
}, {
|
|
86
|
+
propertyId: crestronNaxNvxCertified.crestronNaxNvxCertified.id,
|
|
87
|
+
value: {
|
|
88
|
+
type: "boolean",
|
|
89
|
+
value: false
|
|
90
|
+
}
|
|
84
91
|
}, {
|
|
85
92
|
propertyId: powerRedundancy.powerRedundancy.id,
|
|
86
93
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregation.js","sources":["../../../../../src/components/ModelCompareV3/data/products/aggregation.tsx"],"sourcesContent":["import { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/Switching/aggregation.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n mounting,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerMethod,\n powerRedundancy,\n proAvSupport,\n switchTechnology,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const aggregation: Product = {\n id: \"aggregation\",\n title: \"aggregation.title\",\n techspecsPath: [SiteId.TechSpecs, \"/unifi/switching/usw-aggregation\"],\n storePathParts: {\n productSlug: \"usw-aggregation\",\n category: \"switching-aggregation\",\n },\n sku: \"USW-Aggregation\",\n description: \"aggregation.description\",\n descriptionMaxWidth: 150,\n image: {\n src: image,\n width: 252,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: switchTechnology.id,\n value: { type: \"translation\", value: \"aggregation.switchTechnology\" },\n },\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"8\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: proAvSupport.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerMethod.id,\n value: { type: \"translation\", value: \"commons.powerMethod.acPower\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: mounting.id,\n value: { type: \"translation\", value: \"commons.mounting.rack\" },\n },\n {\n propertyId: outdoorReady.id,\n value: { type: \"boolean\", value: false },\n },\n ],\n};\n"],"names":["aggregation","id","title","techspecsPath","SiteId","TechSpecs","storePathParts","productSlug","category","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","switchTechnology","value","type","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","proAvSupport","powerRedundancy","powerMethod","etherlighting","mounting","outdoorReady"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregation.js","sources":["../../../../../src/components/ModelCompareV3/data/products/aggregation.tsx"],"sourcesContent":["import { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/Switching/aggregation.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n crestronNaxNvxCertified,\n downlinkSpeed,\n etherlighting,\n mounting,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerMethod,\n powerRedundancy,\n proAvSupport,\n switchTechnology,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const aggregation: Product = {\n id: \"aggregation\",\n title: \"aggregation.title\",\n techspecsPath: [SiteId.TechSpecs, \"/unifi/switching/usw-aggregation\"],\n storePathParts: {\n productSlug: \"usw-aggregation\",\n category: \"switching-aggregation\",\n },\n sku: \"USW-Aggregation\",\n description: \"aggregation.description\",\n descriptionMaxWidth: 150,\n image: {\n src: image,\n width: 252,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: switchTechnology.id,\n value: { type: \"translation\", value: \"aggregation.switchTechnology\" },\n },\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"8\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: proAvSupport.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: crestronNaxNvxCertified.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerMethod.id,\n value: { type: \"translation\", value: \"commons.powerMethod.acPower\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: mounting.id,\n value: { type: \"translation\", value: \"commons.mounting.rack\" },\n },\n {\n propertyId: outdoorReady.id,\n value: { type: \"boolean\", value: false },\n },\n ],\n};\n"],"names":["aggregation","id","title","techspecsPath","SiteId","TechSpecs","storePathParts","productSlug","category","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","switchTechnology","value","type","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","proAvSupport","crestronNaxNvxCertified","powerRedundancy","powerMethod","etherlighting","mounting","outdoorReady"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmBO,MAAMA,WAAuB,GAAA;EAClCC,EAAI,EAAA,aAAA;EACJC,KAAO,EAAA,mBAAA;EACPC,aAAe,EAAA,CAACC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EAAW,kCAAkC,CAAA;EACpEC,cAAgB,EAAA;IACdC,WAAa,EAAA,iBAAA;IACbC,QAAU,EAAA;EACZ,CAAA;EACAC,GAAK,EAAA,iBAAA;EACLC,WAAa,EAAA,yBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,gBAAiB,CA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EAAA,aAAA;MAAeD,OAAO;IAA8B;EACrE,CAAA,EACA;IACEF,YAAYa,aAAc,CAAAA,aAAA,CAAA7B,EAAA;IAC1BkB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYc,QAAS,CAAAA,QAAA,CAAA9B,EAAA;IACrBkB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAwB;EAC/D,CAAA,EACA;IACEF,YAAYe,YAAa,CAAAA,YAAA,CAAA/B,EAAA;IACzBkB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA;AAEJ,CAAA;"}
|
|
@@ -9,6 +9,7 @@ import { uplinkSpeed } from '../properties/uplinkSpeed.mjs';
|
|
|
9
9
|
import { poeOutput } from '../properties/poeOutput.mjs';
|
|
10
10
|
import { poeAvailability } from '../properties/poeAvailability.mjs';
|
|
11
11
|
import { proAvSupport } from '../properties/proAvSupport.mjs';
|
|
12
|
+
import { crestronNaxNvxCertified } from '../properties/crestronNaxNvxCertified.mjs';
|
|
12
13
|
import { powerRedundancy } from '../properties/powerRedundancy.mjs';
|
|
13
14
|
import { powerMethod } from '../properties/powerMethod.mjs';
|
|
14
15
|
import { etherlighting } from '../properties/etherlighting.mjs';
|
|
@@ -73,6 +74,12 @@ const aggregation = {
|
|
|
73
74
|
type: "boolean",
|
|
74
75
|
value: false
|
|
75
76
|
}
|
|
77
|
+
}, {
|
|
78
|
+
propertyId: crestronNaxNvxCertified.id,
|
|
79
|
+
value: {
|
|
80
|
+
type: "boolean",
|
|
81
|
+
value: false
|
|
82
|
+
}
|
|
76
83
|
}, {
|
|
77
84
|
propertyId: powerRedundancy.id,
|
|
78
85
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregation.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/aggregation.tsx"],"sourcesContent":["import { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/Switching/aggregation.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n mounting,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerMethod,\n powerRedundancy,\n proAvSupport,\n switchTechnology,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const aggregation: Product = {\n id: \"aggregation\",\n title: \"aggregation.title\",\n techspecsPath: [SiteId.TechSpecs, \"/unifi/switching/usw-aggregation\"],\n storePathParts: {\n productSlug: \"usw-aggregation\",\n category: \"switching-aggregation\",\n },\n sku: \"USW-Aggregation\",\n description: \"aggregation.description\",\n descriptionMaxWidth: 150,\n image: {\n src: image,\n width: 252,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: switchTechnology.id,\n value: { type: \"translation\", value: \"aggregation.switchTechnology\" },\n },\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"8\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: proAvSupport.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerMethod.id,\n value: { type: \"translation\", value: \"commons.powerMethod.acPower\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: mounting.id,\n value: { type: \"translation\", value: \"commons.mounting.rack\" },\n },\n {\n propertyId: outdoorReady.id,\n value: { type: \"boolean\", value: false },\n },\n ],\n};\n"],"names":["aggregation","id","title","techspecsPath","SiteId","TechSpecs","storePathParts","productSlug","category","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","switchTechnology","value","type","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","proAvSupport","powerRedundancy","powerMethod","etherlighting","mounting","outdoorReady"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregation.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/aggregation.tsx"],"sourcesContent":["import { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/Switching/aggregation.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n crestronNaxNvxCertified,\n downlinkSpeed,\n etherlighting,\n mounting,\n outdoorReady,\n poeAvailability,\n poeOutput,\n portCount,\n powerMethod,\n powerRedundancy,\n proAvSupport,\n switchTechnology,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const aggregation: Product = {\n id: \"aggregation\",\n title: \"aggregation.title\",\n techspecsPath: [SiteId.TechSpecs, \"/unifi/switching/usw-aggregation\"],\n storePathParts: {\n productSlug: \"usw-aggregation\",\n category: \"switching-aggregation\",\n },\n sku: \"USW-Aggregation\",\n description: \"aggregation.description\",\n descriptionMaxWidth: 150,\n image: {\n src: image,\n width: 252,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: switchTechnology.id,\n value: { type: \"translation\", value: \"aggregation.switchTechnology\" },\n },\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"8\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"10 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: proAvSupport.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: crestronNaxNvxCertified.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerMethod.id,\n value: { type: \"translation\", value: \"commons.powerMethod.acPower\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: mounting.id,\n value: { type: \"translation\", value: \"commons.mounting.rack\" },\n },\n {\n propertyId: outdoorReady.id,\n value: { type: \"boolean\", value: false },\n },\n ],\n};\n"],"names":["aggregation","id","title","techspecsPath","SiteId","TechSpecs","storePathParts","productSlug","category","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","switchTechnology","value","type","portCount","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","proAvSupport","crestronNaxNvxCertified","powerRedundancy","powerMethod","etherlighting","mounting","outdoorReady"],"mappings":";;;;;;;;;;;;;;;;;;AAmBO,MAAMA,WAAuB,GAAA;EAClCC,EAAI,EAAA,aAAA;EACJC,KAAO,EAAA,mBAAA;EACPC,aAAe,EAAA,CAACC,MAAO,CAAAC,SAAA,EAAW,kCAAkC,CAAA;EACpEC,cAAgB,EAAA;IACdC,WAAa,EAAA,iBAAA;IACbC,QAAU,EAAA;EACZ,CAAA;EACAC,GAAK,EAAA,iBAAA;EACLC,WAAa,EAAA,yBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,gBAAiB,CAAAjB,EAAA;IAC7BkB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAA+B;EACtE,CAAA,EACA;IACEF,YAAYI,SAAU,CAAApB,EAAA;IACtBkB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAI;EACtC,CAAA,EACA;IACEF,YAAYK,aAAc,CAAArB,EAAA;IAC1BkB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYM,WAAY,CAA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