@ubnt/store.core 9.45.0-beta.9 → 9.45.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 +4 -401
- package/lib/_virtual/_virtual_multi-entry.js +2 -19
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +0 -3
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/assets/AccessHub.jpg +0 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/g2Reader.jpg +0 -0
- package/lib/assets/g2ReaderPro.jpg +0 -0
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/readerLite.jpg +0 -0
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/ucgUltra.jpg +0 -0
- package/lib/assets/ucgUltra2.jpg +0 -0
- package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
- package/lib/components/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/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/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.mjs +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +2 -13
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/DoorAccess/{g3-reader.jpg.js → AccessHub.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/DoorAccess/AccessHub.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/AccessHub.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/AccessHub.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/{door-hub.jpg.js → g2Reader.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2Reader.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2Reader.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2Reader.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/{g2-reader.jpg.js → g2ReaderPro.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2ReaderPro.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2ReaderPro.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2ReaderPro.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/{intercom.jpg.js → readerLite.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/DoorAccess/readerLite.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/readerLite.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/readerLite.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/AccessHubs.js +5 -7
- package/lib/components/ModelCompareV3/data/AccessHubs.js.map +1 -1
- package/lib/components/ModelCompareV3/data/AccessHubs.mjs +5 -7
- package/lib/components/ModelCompareV3/data/AccessHubs.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/Readers.js +9 -15
- package/lib/components/ModelCompareV3/data/Readers.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Readers.mjs +9 -15
- package/lib/components/ModelCompareV3/data/Readers.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/StarterKit.js +2 -6
- package/lib/components/ModelCompareV3/data/StarterKit.js.map +1 -1
- package/lib/components/ModelCompareV3/data/StarterKit.mjs +2 -6
- package/lib/components/ModelCompareV3/data/StarterKit.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.js +2 -3
- package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/{doorHub.js → accessHub.js} +22 -21
- package/lib/components/ModelCompareV3/data/products/accessHub.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/{doorHub.mjs → accessHub.mjs} +22 -21
- package/lib/components/ModelCompareV3/data/products/accessHub.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/elevatorStarterKit.js +0 -8
- package/lib/components/ModelCompareV3/data/products/elevatorStarterKit.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/elevatorStarterKit.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/elevatorStarterKit.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
- 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/g2Reader.js +8 -23
- package/lib/components/ModelCompareV3/data/products/g2Reader.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2Reader.mjs +8 -23
- package/lib/components/ModelCompareV3/data/products/g2Reader.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2ReaderPro.js +9 -25
- package/lib/components/ModelCompareV3/data/products/g2ReaderPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2ReaderPro.mjs +9 -25
- package/lib/components/ModelCompareV3/data/products/g2ReaderPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2StarterKit.js +0 -8
- package/lib/components/ModelCompareV3/data/products/g2StarterKit.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2StarterKit.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/g2StarterKit.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2StarterKitPro.js +0 -8
- package/lib/components/ModelCompareV3/data/products/g2StarterKitPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/g2StarterKitPro.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/g2StarterKitPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gateAccessStarterKit.js +0 -7
- package/lib/components/ModelCompareV3/data/products/gateAccessStarterKit.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gateAccessStarterKit.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/gateAccessStarterKit.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/readerLite.js +8 -23
- package/lib/components/ModelCompareV3/data/products/readerLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/readerLite.mjs +8 -23
- package/lib/components/ModelCompareV3/data/products/readerLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +2 -2
- package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +4 -4
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +4 -4
- 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 +41 -5
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +2 -5
- package/lib/components/ModelCompareV3/data/properties/index.js +4 -10
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +2 -5
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/{directory.d.ts → intercom.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/properties/{twoWayIntercom.js → intercom.js} +5 -5
- package/lib/components/ModelCompareV3/data/properties/intercom.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/intercom.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/intercom.mjs.map +1 -0
- package/lib/components/ModelCompareV3/translations/ar.json.js +13 -74
- package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +13 -74
- package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.js +8 -69
- package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs +8 -69
- package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.js +10 -71
- package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.mjs +10 -71
- package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +4 -39
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +4 -39
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +8 -69
- package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs +8 -69
- package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js +8 -69
- package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +8 -69
- package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.js +4 -65
- package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs +4 -65
- package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js +10 -71
- package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +10 -71
- package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +9 -70
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +9 -70
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +11 -72
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +11 -72
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +16 -77
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +16 -77
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +84 -821
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +82 -815
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +2 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +0 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +0 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +34 -120
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +34 -120
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +2 -16
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +12 -54
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +11 -50
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowLeftPrimary.svg.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowRightPrimary.svg.js +5 -5
- 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/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +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/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +5 -10
- package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +5 -10
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/icons/menu/index.d.ts +0 -1
- package/lib/constants/icons/menu/index.js +0 -9
- package/lib/constants/icons/menu/index.js.map +1 -1
- package/lib/constants/icons/menu/index.mjs +0 -2
- package/lib/constants/icons/menu/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -3
- package/lib/constants/proStoreCategories/mapping/index.js +46 -36
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +44 -35
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.d.ts +0 -1
- package/lib/constants/proStoreCategories/mapping/uisp.js +0 -1
- package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs +0 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -7
- package/lib/constants/proStoreCategories/mapping/unifi.js +9 -7
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -7
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -6
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +3 -6
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +1 -17
- package/lib/constants/proStoreFilters/mapping.js +1 -17
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +1 -17
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js +3 -15
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +3 -14
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/presets.d.ts +1 -9
- package/lib/contexts/MenuContext/presets.js +2 -10
- package/lib/contexts/MenuContext/presets.js.map +1 -1
- package/lib/contexts/MenuContext/presets.mjs +2 -10
- package/lib/contexts/MenuContext/presets.mjs.map +1 -1
- package/lib/helpers/index.d.ts +0 -1
- package/lib/helpers/index.js +0 -11
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +0 -1
- package/lib/helpers/index.mjs.map +1 -1
- package/lib/types/generated.d.ts +2 -4
- package/lib/types/generated.js +0 -1
- package/lib/types/generated.js.map +1 -1
- package/lib/types/generated.mjs +0 -1
- package/lib/types/generated.mjs.map +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +0 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/utils/address.d.ts +62 -278
- package/lib/utils/address.js +8 -11
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +8 -11
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/array.d.ts +0 -4
- package/lib/utils/array.js +0 -10
- package/lib/utils/array.js.map +1 -1
- package/lib/utils/array.mjs +1 -10
- package/lib/utils/array.mjs.map +1 -1
- package/lib/utils/money/constants.js +0 -3
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +1 -4
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/product.js +0 -1
- package/lib/utils/product.js.map +1 -1
- package/lib/utils/product.mjs +0 -1
- package/lib/utils/product.mjs.map +1 -1
- package/lib/utils/sales.js +0 -1
- package/lib/utils/sales.js.map +1 -1
- package/lib/utils/sales.mjs +0 -1
- package/lib/utils/sales.mjs.map +1 -1
- package/lib/utils/shipping.js +0 -1
- package/lib/utils/shipping.js.map +1 -1
- package/lib/utils/shipping.mjs +0 -1
- package/lib/utils/shipping.mjs.map +1 -1
- package/lib/utils/tax/index.js +0 -1
- package/lib/utils/tax/index.js.map +1 -1
- package/lib/utils/tax/index.mjs +0 -1
- package/lib/utils/tax/index.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/apple.svg +0 -8
- package/lib/assets/contact.svg +0 -5
- package/lib/assets/crestron.svg +0 -3
- package/lib/assets/door-hub-mini.jpg +0 -0
- package/lib/assets/door-hub.jpg +0 -0
- package/lib/assets/efg.png +0 -0
- package/lib/assets/envr.png +0 -0
- package/lib/assets/g2-reader-pro.jpg +0 -0
- package/lib/assets/g2-reader.jpg +0 -0
- package/lib/assets/g3-reader-flex.jpg +0 -0
- package/lib/assets/g3-reader-pro.jpg +0 -0
- package/lib/assets/g3-reader.jpg +0 -0
- package/lib/assets/g3-starter-kit-pro.jpg +0 -0
- package/lib/assets/g3-starter-kit.jpg +0 -0
- package/lib/assets/intercom.jpg +0 -0
- package/lib/assets/reader-lite.jpg +0 -0
- package/lib/assets/touchPass.svg +0 -3
- package/lib/assets/ucg-max.png +0 -0
- package/lib/assets/ux.png +0 -0
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub-mini.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub-mini.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub-mini.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub-mini.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/door-hub.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader-pro.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader-pro.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader-pro.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader-pro.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g2-reader.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-flex.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-flex.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-flex.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-flex.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-pro.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-pro.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-pro.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader-pro.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-reader.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit-pro.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit-pro.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit-pro.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit-pro.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/g3-starter-kit.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/intercom.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/intercom.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/intercom.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/reader-lite.jpg.js +0 -27
- package/lib/components/ModelCompareV3/assets/DoorAccess/reader-lite.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/DoorAccess/reader-lite.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/DoorAccess/reader-lite.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/apple.svg.js +0 -27
- package/lib/components/ModelCompareV3/assets/apple.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/apple.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/apple.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/contact.svg.js +0 -27
- package/lib/components/ModelCompareV3/assets/contact.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/contact.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/contact.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/crestron.svg.js +0 -27
- package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/doorHub.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/doorHub.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/doorHub.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/doorHubMini.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/doorHubMini.js +0 -69
- package/lib/components/ModelCompareV3/data/products/doorHubMini.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/doorHubMini.mjs +0 -61
- package/lib/components/ModelCompareV3/data/products/doorHubMini.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3Reader.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/g3Reader.js +0 -104
- package/lib/components/ModelCompareV3/data/products/g3Reader.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3Reader.mjs +0 -96
- package/lib/components/ModelCompareV3/data/products/g3Reader.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3ReaderFlex.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/g3ReaderFlex.js +0 -104
- package/lib/components/ModelCompareV3/data/products/g3ReaderFlex.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3ReaderFlex.mjs +0 -96
- package/lib/components/ModelCompareV3/data/products/g3ReaderFlex.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3ReaderPro.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/g3ReaderPro.js +0 -105
- package/lib/components/ModelCompareV3/data/products/g3ReaderPro.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3ReaderPro.mjs +0 -97
- package/lib/components/ModelCompareV3/data/products/g3ReaderPro.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3StarterKit.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/g3StarterKit.js +0 -63
- package/lib/components/ModelCompareV3/data/products/g3StarterKit.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3StarterKit.mjs +0 -55
- package/lib/components/ModelCompareV3/data/products/g3StarterKit.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3StarterKitPro.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/g3StarterKitPro.js +0 -62
- package/lib/components/ModelCompareV3/data/products/g3StarterKitPro.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/g3StarterKitPro.mjs +0 -54
- package/lib/components/ModelCompareV3/data/products/g3StarterKitPro.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/intercom.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/intercom.js +0 -105
- package/lib/components/ModelCompareV3/data/products/intercom.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/intercom.mjs +0 -97
- package/lib/components/ModelCompareV3/data/products/intercom.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/appleTouchPassSupport.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/appleTouchPassSupport.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/appleTouchPassSupport.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/appleTouchPassSupport.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/appleTouchPassSupport.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/directory.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/directory.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/directory.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/directory.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/twoWayIntercom.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/twoWayIntercom.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/twoWayIntercom.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/twoWayIntercom.mjs.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +0 -27
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +0 -3
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js +0 -27
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs +0 -3
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +0 -27
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +0 -3
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js +0 -27
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js.map +0 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs +0 -3
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs.map +0 -1
- package/lib/constants/icons/menu/touchPass.svg.js +0 -27
- package/lib/constants/icons/menu/touchPass.svg.js.map +0 -1
- package/lib/constants/icons/menu/touchPass.svg.mjs +0 -3
- package/lib/constants/icons/menu/touchPass.svg.mjs.map +0 -1
- package/lib/helpers/product.d.ts +0 -87
- package/lib/helpers/product.js +0 -346
- package/lib/helpers/product.js.map +0 -1
- package/lib/helpers/product.mjs +0 -335
- package/lib/helpers/product.mjs.map +0 -1
- package/lib/helpers/product.test.d.ts +0 -1
- package/lib/helpers/ux.js +0 -49
- package/lib/helpers/ux.js.map +0 -1
- package/lib/helpers/ux.mjs +0 -46
- package/lib/helpers/ux.mjs.map +0 -1
- package/lib/types/product.d.ts +0 -87
- package/lib/types/product.js +0 -14
- package/lib/types/product.js.map +0 -1
- package/lib/types/product.mjs +0 -13
- package/lib/types/product.mjs.map +0 -1
- package/lib/utils/productSort.d.ts +0 -41
- package/lib/utils/productSort.js +0 -67
- package/lib/utils/productSort.js.map +0 -1
- package/lib/utils/productSort.mjs +0 -60
- package/lib/utils/productSort.mjs.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
- package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
- package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var envr = require("../../../../assets/envr.png");
|
|
7
|
-
function _interopDefault(e) {
|
|
8
|
-
return e && e.__esModule ? e : {
|
|
9
|
-
default: e
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
var envr__default = /*#__PURE__*/_interopDefault(envr);
|
|
13
|
-
Object.defineProperty(exports, "default", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return envr__default["default"];
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.keys(envr).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 envr[k];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=envr.png.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"envr.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"envr.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var ucgMax = require("../../../../assets/ucg-max.png");
|
|
7
|
-
function _interopDefault(e) {
|
|
8
|
-
return e && e.__esModule ? e : {
|
|
9
|
-
default: e
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
var ucgMax__default = /*#__PURE__*/_interopDefault(ucgMax);
|
|
13
|
-
Object.defineProperty(exports, "default", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return ucgMax__default["default"];
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.keys(ucgMax).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 ucgMax[k];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=ucg-max.png.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ucg-max.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ucg-max.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var ux = require("../../../../assets/ux.png");
|
|
7
|
-
function _interopDefault(e) {
|
|
8
|
-
return e && e.__esModule ? e : {
|
|
9
|
-
default: e
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
var ux__default = /*#__PURE__*/_interopDefault(ux);
|
|
13
|
-
Object.defineProperty(exports, "default", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return ux__default["default"];
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.keys(ux).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 ux[k];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=ux.png.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ux.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ux.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _externalAssets_BspeJKN4 = require("../../../assets/touchPass.svg");
|
|
7
|
-
function _interopDefault(e) {
|
|
8
|
-
return e && e.__esModule ? e : {
|
|
9
|
-
default: e
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
var _externalAssets_BspeJKN4__default = /*#__PURE__*/_interopDefault(_externalAssets_BspeJKN4);
|
|
13
|
-
Object.defineProperty(exports, "default", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return _externalAssets_BspeJKN4__default["default"];
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.keys(_externalAssets_BspeJKN4).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 _externalAssets_BspeJKN4[k];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=touchPass.svg.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"touchPass.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"touchPass.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/lib/helpers/product.d.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import type { ParsedCategoryItem } from "../constants/proStoreCategories";
|
|
2
|
-
import type { CollectionSection, MappedProductSection, Nullish, ProductTagFragment, Section, StorefrontOption, StorefrontProduct, StoreId } from "../types";
|
|
3
|
-
export declare const isNonNullish: <T>(entry: T | null | undefined) => entry is T;
|
|
4
|
-
/**
|
|
5
|
-
* Removes products that have tag starting with `EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX`
|
|
6
|
-
* and ends with `storeId`, e.g. `"exclude-from-store-grid:us`
|
|
7
|
-
*
|
|
8
|
-
* @warning Use this function only on grid and breadcrumbs products
|
|
9
|
-
*/
|
|
10
|
-
export declare const removeExcludedProducts: <T extends {
|
|
11
|
-
tags: ProductTagFragment[];
|
|
12
|
-
}>(products: T[], storeId: StoreId) => T[];
|
|
13
|
-
export declare enum HDDProductSlugs {
|
|
14
|
-
HDD_1TB = "uacc-hdd-s-1tb",
|
|
15
|
-
HDD_8TB_Enterprise = "uacc-hdd-e-8tb",
|
|
16
|
-
HDD_16TB_Enterprise = "uacc-hdd-e-16tb"
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Recursively create section hierarchy
|
|
20
|
-
*/
|
|
21
|
-
export declare const createSectionHierarchy: (sections: CollectionSection[], level?: number) => Section[];
|
|
22
|
-
export declare enum MagicCollectionTags {
|
|
23
|
-
/**
|
|
24
|
-
* Used to determine if collection should be shown in an accessory
|
|
25
|
-
* layout style where sections are placed inside variant cards
|
|
26
|
-
*/
|
|
27
|
-
LayoutAccessories = "layout-accessories",
|
|
28
|
-
/**
|
|
29
|
-
* Used to determine if collection is pro-store specific and should
|
|
30
|
-
* be redirected to pro-store's appropriate category
|
|
31
|
-
*/
|
|
32
|
-
ProStore = "pro-store",
|
|
33
|
-
/**
|
|
34
|
-
* Used to disable length options (disable product splitting by "length")
|
|
35
|
-
*/
|
|
36
|
-
DisableLengthOptions = "disable-length-options",
|
|
37
|
-
/**
|
|
38
|
-
* Used to disable speed options (disable product splitting by "speed")
|
|
39
|
-
*/
|
|
40
|
-
DisableSpeedOptions = "disable-speed-options"
|
|
41
|
-
}
|
|
42
|
-
export declare enum ProductOptions {
|
|
43
|
-
Length = "length",
|
|
44
|
-
Speed = "speed",
|
|
45
|
-
Color = "color"
|
|
46
|
-
}
|
|
47
|
-
export declare const COLLECTION_SECTION_OTHER_ID = "other";
|
|
48
|
-
/**
|
|
49
|
-
* Create product groups
|
|
50
|
-
*/
|
|
51
|
-
export declare const getProductGroups: <T extends StorefrontProduct & {
|
|
52
|
-
options: StorefrontOption[];
|
|
53
|
-
}>(products?: T[], sectionHierarchy?: Nullish<Section[]>, tags?: Array<{
|
|
54
|
-
id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
}>) => MappedProductSection<T>[] | undefined;
|
|
57
|
-
export declare const getProStoreCategory: ({ queryCategory, product, ignoreQuery, }: {
|
|
58
|
-
queryCategory?: string;
|
|
59
|
-
product: Pick<StorefrontProduct, "collectionSlug" | "organizationalCollectionSlug" | "proCollectionSlug">;
|
|
60
|
-
ignoreQuery?: boolean;
|
|
61
|
-
}) => string | null;
|
|
62
|
-
type StoreProductsData = ({
|
|
63
|
-
category: {
|
|
64
|
-
id: string;
|
|
65
|
-
label: string | null;
|
|
66
|
-
} | undefined;
|
|
67
|
-
} & {
|
|
68
|
-
products: StorefrontProduct[];
|
|
69
|
-
}) | {
|
|
70
|
-
productGroups: MappedProductSection<StorefrontProduct>[];
|
|
71
|
-
};
|
|
72
|
-
export declare const getStoreProducts: ({ storeId, queryCategory, currentProduct, collections, allCategoryItems, }: {
|
|
73
|
-
storeId: StoreId;
|
|
74
|
-
queryCategory: string | undefined;
|
|
75
|
-
currentProduct: Pick<StorefrontProduct, "id" | "slug" | "collectionSlug" | "organizationalCollectionSlug" | "proCollectionSlug">;
|
|
76
|
-
collections: Array<{
|
|
77
|
-
slug: string;
|
|
78
|
-
sections: Array<{
|
|
79
|
-
id: string;
|
|
80
|
-
title: string;
|
|
81
|
-
productTags: Array<string>;
|
|
82
|
-
}>;
|
|
83
|
-
products: Array<Pick<StorefrontProduct, "id" | "slug" | "tags" | "variants" | "options" | "title" | "status" | "minDisplayPrice">>;
|
|
84
|
-
}>;
|
|
85
|
-
allCategoryItems: ParsedCategoryItem[];
|
|
86
|
-
}) => StoreProductsData;
|
|
87
|
-
export {};
|
package/lib/helpers/product.js
DELETED
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var lodashEs = require('lodash-es');
|
|
4
|
-
require('../constants/proStoreCategories/index.js');
|
|
5
|
-
require('../types/index.js');
|
|
6
|
-
var array = require('../utils/array.js');
|
|
7
|
-
var productSort = require('../utils/productSort.js');
|
|
8
|
-
var proStoreCategories = require('./proStoreCategories.js');
|
|
9
|
-
var unifi = require('../constants/proStoreCategories/mapping/unifi.js');
|
|
10
|
-
var uisp = require('../constants/proStoreCategories/mapping/uisp.js');
|
|
11
|
-
var product = require('../types/product.js');
|
|
12
|
-
"use strict";
|
|
13
|
-
const isNonNullish = entry => entry !== null && entry !== void 0;
|
|
14
|
-
const EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX = "exclude-from-store-grid:";
|
|
15
|
-
const removeExcludedProducts = (products, storeId) => {
|
|
16
|
-
const excludeTag = `${EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX}${storeId}`.toLowerCase();
|
|
17
|
-
return products.filter(product => {
|
|
18
|
-
return !product.tags.some(tag => tag.name.toLowerCase() === excludeTag);
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
const isAccessoryCategoryItem = categoryItem => {
|
|
22
|
-
return !!categoryItem && [unifi.UniFiCategoryId.Accessories, uisp.UISPCategoryId.AccessoryTech].includes(
|
|
23
|
-
// TODO: Check why this TS error appears
|
|
24
|
-
// @ts-expect-error: Unreachable code error
|
|
25
|
-
categoryItem.id);
|
|
26
|
-
};
|
|
27
|
-
var HDDProductSlugs = /* @__PURE__ */(HDDProductSlugs2 => {
|
|
28
|
-
HDDProductSlugs2["HDD_1TB"] = "uacc-hdd-s-1tb";
|
|
29
|
-
HDDProductSlugs2["HDD_8TB_Enterprise"] = "uacc-hdd-e-8tb";
|
|
30
|
-
HDDProductSlugs2["HDD_16TB_Enterprise"] = "uacc-hdd-e-16tb";
|
|
31
|
-
return HDDProductSlugs2;
|
|
32
|
-
})(HDDProductSlugs || {});
|
|
33
|
-
const isAllowedAccessoryCategoryProduct = ({
|
|
34
|
-
slug
|
|
35
|
-
}) => {
|
|
36
|
-
const allowedAccessoryProductSlugs = ["u-lte", "u-lte-backup-pro", "uacc-hdd-s-1tb" /* HDD_1TB */, "uacc-hdd-e-8tb" /* HDD_8TB_Enterprise */, "uacc-hdd-e-16tb" /* HDD_16TB_Enterprise */];
|
|
37
|
-
return allowedAccessoryProductSlugs.includes(slug);
|
|
38
|
-
};
|
|
39
|
-
const isAccessoryCategorySubItem = (categorySubItem, allCategoryItems) => {
|
|
40
|
-
const categoryItem = allCategoryItems.find(item => item.items?.some(subItem => subItem.id === categorySubItem.id));
|
|
41
|
-
return isAccessoryCategoryItem(categoryItem);
|
|
42
|
-
};
|
|
43
|
-
const createSectionHierarchy = (sections, level = 1) => {
|
|
44
|
-
const currentLevelSections = sections.filter(section => section.productTags.length === level);
|
|
45
|
-
if (!currentLevelSections.length) {
|
|
46
|
-
return [];
|
|
47
|
-
}
|
|
48
|
-
return currentLevelSections.map(section => ({
|
|
49
|
-
...section,
|
|
50
|
-
items: createSectionHierarchy(sections.filter(nextSection => section.productTags.every(tag => nextSection.productTags.includes(tag))), level + 1)
|
|
51
|
-
}));
|
|
52
|
-
};
|
|
53
|
-
var MagicCollectionTags = /* @__PURE__ */(MagicCollectionTags2 => {
|
|
54
|
-
MagicCollectionTags2["LayoutAccessories"] = "layout-accessories";
|
|
55
|
-
MagicCollectionTags2["ProStore"] = "pro-store";
|
|
56
|
-
MagicCollectionTags2["DisableLengthOptions"] = "disable-length-options";
|
|
57
|
-
MagicCollectionTags2["DisableSpeedOptions"] = "disable-speed-options";
|
|
58
|
-
return MagicCollectionTags2;
|
|
59
|
-
})(MagicCollectionTags || {});
|
|
60
|
-
var ProductOptions = /* @__PURE__ */(ProductOptions2 => {
|
|
61
|
-
ProductOptions2["Length"] = "length";
|
|
62
|
-
ProductOptions2["Speed"] = "speed";
|
|
63
|
-
ProductOptions2["Color"] = "color";
|
|
64
|
-
return ProductOptions2;
|
|
65
|
-
})(ProductOptions || {});
|
|
66
|
-
const formatOptionValueTitleToTag = optionValueTitle => optionValueTitle.toLowerCase().replace(/[,\s]/g, "").replace(".", "-");
|
|
67
|
-
const divideProductByOption = (product, optionTitle) => {
|
|
68
|
-
const option = product.options.find(option2 => option2.slug === optionTitle);
|
|
69
|
-
if (!option) {
|
|
70
|
-
return [product];
|
|
71
|
-
}
|
|
72
|
-
return option.values.map(value => {
|
|
73
|
-
return {
|
|
74
|
-
...product,
|
|
75
|
-
options: product.options.filter(option2 => option2.slug !== optionTitle),
|
|
76
|
-
tags: [...product.tags, {
|
|
77
|
-
id: value.id,
|
|
78
|
-
name: formatOptionValueTitleToTag(value.slug)
|
|
79
|
-
}],
|
|
80
|
-
variants: product.variants.filter(variant => variant.optionValueIds?.includes(value.id))
|
|
81
|
-
};
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
const COLLECTION_SECTION_OTHER_ID = "other";
|
|
85
|
-
const UNIT_FACTORS = {
|
|
86
|
-
m: 1,
|
|
87
|
-
km: 1e3
|
|
88
|
-
};
|
|
89
|
-
const DISTANCE_REGEX = /^\s*(\d+)\s*(m|km)\s*$/;
|
|
90
|
-
const mapProductsToSections = (products, section) => {
|
|
91
|
-
const productsInThisSection = products.filter(product => {
|
|
92
|
-
return section.productTags.every(sectionTag => {
|
|
93
|
-
return product.tags.find(tag => tag.name === sectionTag);
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
if (productsInThisSection.length === 0) {
|
|
97
|
-
return void 0;
|
|
98
|
-
}
|
|
99
|
-
const items = section?.items?.map(item => mapProductsToSections(productsInThisSection, item)).filter(isNonNullish) ?? [];
|
|
100
|
-
const otherProducts = productsInThisSection.filter(product => {
|
|
101
|
-
return !items.some(item => item.products.find(p => p.id === product.id));
|
|
102
|
-
});
|
|
103
|
-
if (otherProducts.length && items.length) {
|
|
104
|
-
items.push({
|
|
105
|
-
id: `${section.id}-${COLLECTION_SECTION_OTHER_ID}`,
|
|
106
|
-
// TODO: Add translation
|
|
107
|
-
title: "Other",
|
|
108
|
-
productTags: section.productTags,
|
|
109
|
-
items: [],
|
|
110
|
-
products: otherProducts
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
return {
|
|
114
|
-
...section,
|
|
115
|
-
items,
|
|
116
|
-
products: productsInThisSection
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
const compareDistanceTitles = (a, b) => {
|
|
120
|
-
const aMatch = a.title.match(DISTANCE_REGEX);
|
|
121
|
-
const bMatch = b.title.match(DISTANCE_REGEX);
|
|
122
|
-
if (!aMatch?.[1] || !aMatch[2] || !bMatch?.[1] || !bMatch[2]) {
|
|
123
|
-
return 0;
|
|
124
|
-
}
|
|
125
|
-
const aValue = parseInt(aMatch[1]) * (UNIT_FACTORS[aMatch[2]] || 0);
|
|
126
|
-
const bValue = parseInt(bMatch[1]) * (UNIT_FACTORS[bMatch[2]] || 0);
|
|
127
|
-
return aValue - bValue;
|
|
128
|
-
};
|
|
129
|
-
const processSectionProductsWithDistanceInOptions = sections => {
|
|
130
|
-
return sections.map(section => ({
|
|
131
|
-
...section,
|
|
132
|
-
items: section.items.map(sec => {
|
|
133
|
-
const section2 = lodashEs.cloneDeep(sec);
|
|
134
|
-
const sectionWithDistanceTag = section2.items.find(section3 => section3.productTags.includes("distance"));
|
|
135
|
-
const sectionsMainProductTag = sectionWithDistanceTag?.productTags.filter(tag => tag !== "distance");
|
|
136
|
-
if (!sectionWithDistanceTag || !sectionsMainProductTag) {
|
|
137
|
-
return section2;
|
|
138
|
-
}
|
|
139
|
-
sectionWithDistanceTag.products.forEach(product => {
|
|
140
|
-
const optionValues = product?.options[0]?.values;
|
|
141
|
-
if (!optionValues?.length) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
const formattedOptionValues = optionValues.map(value => ({
|
|
145
|
-
...value,
|
|
146
|
-
titleInTagFormat: formatOptionValueTitleToTag(value.title)
|
|
147
|
-
}));
|
|
148
|
-
formattedOptionValues.forEach(currentValue => {
|
|
149
|
-
const newSecondLevelSectionsTags = [...sectionsMainProductTag, currentValue.titleInTagFormat];
|
|
150
|
-
const alreadyExistingSecondLevelSection = section2.items.findIndex(section3 => array.areEqualArrays(section3.productTags, newSecondLevelSectionsTags));
|
|
151
|
-
const variantToAdd = product.variants.find(variant => variant.optionValueIds?.includes(currentValue.id));
|
|
152
|
-
if (!variantToAdd) {
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
|
-
const productToAdd = {
|
|
156
|
-
...product,
|
|
157
|
-
options: product.options.filter(option => option.values.some(value => value.id === currentValue.id)).map(option => ({
|
|
158
|
-
...option,
|
|
159
|
-
values: option.values.filter(value => value.id === currentValue.id)
|
|
160
|
-
})),
|
|
161
|
-
variants: [variantToAdd]
|
|
162
|
-
};
|
|
163
|
-
if (alreadyExistingSecondLevelSection >= 0) {
|
|
164
|
-
section2.items[alreadyExistingSecondLevelSection]?.products.push(productToAdd);
|
|
165
|
-
} else {
|
|
166
|
-
const sectionToAdd = {
|
|
167
|
-
id: currentValue.id,
|
|
168
|
-
// TODO: Maybe so>me different ID would be better
|
|
169
|
-
items: [],
|
|
170
|
-
// FIXME: This is problem!
|
|
171
|
-
products: [productToAdd],
|
|
172
|
-
productTags: newSecondLevelSectionsTags,
|
|
173
|
-
title: currentValue.title
|
|
174
|
-
};
|
|
175
|
-
section2.items.push(sectionToAdd);
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
});
|
|
179
|
-
return {
|
|
180
|
-
...section2,
|
|
181
|
-
items: section2.items.sort(compareDistanceTitles).filter(section3 => !section3.productTags.includes("distance"))
|
|
182
|
-
};
|
|
183
|
-
})
|
|
184
|
-
}));
|
|
185
|
-
};
|
|
186
|
-
const processSectionsWithOutOfStockProducts = section => {
|
|
187
|
-
const isDisabled = section.products.every(product$1 => product$1.variants.every(variant => variant.status !== product.DisplayProductStatus.Available));
|
|
188
|
-
return {
|
|
189
|
-
...section,
|
|
190
|
-
isDisabled,
|
|
191
|
-
items: section.items.map(processSectionsWithOutOfStockProducts)
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
const getProductGroups = (products, sectionHierarchy, tags) => {
|
|
195
|
-
if (!products?.length || !sectionHierarchy) return void 0;
|
|
196
|
-
const processedProducts = products.flatMap(product => {
|
|
197
|
-
const disableLengthOptions = tags?.find(tag => tag.name === "disable-length-options" /* DisableLengthOptions */);
|
|
198
|
-
const lengthOptions = !disableLengthOptions && product?.options?.find(option => option.slug === "length" /* Length */);
|
|
199
|
-
if (lengthOptions && product.options !== void 0) {
|
|
200
|
-
return divideProductByOption(product, "length" /* Length */);
|
|
201
|
-
}
|
|
202
|
-
const disableSpeedOptions = tags?.find(tag => tag.name === "disable-speed-options" /* DisableSpeedOptions */);
|
|
203
|
-
const speedOptions = !disableSpeedOptions && product?.options?.find(option => {
|
|
204
|
-
return option.slug === "speed" /* Speed */;
|
|
205
|
-
});
|
|
206
|
-
if (speedOptions) {
|
|
207
|
-
return divideProductByOption(product, "speed" /* Speed */);
|
|
208
|
-
}
|
|
209
|
-
return [product];
|
|
210
|
-
});
|
|
211
|
-
const mappedProductGroups = sectionHierarchy.map(section => {
|
|
212
|
-
return mapProductsToSections(processedProducts, section);
|
|
213
|
-
}).filter(section => !!section);
|
|
214
|
-
const otherProducts = products.filter(product => {
|
|
215
|
-
return !mappedProductGroups.some(section => {
|
|
216
|
-
return section.products.find(p => p.id === product.id);
|
|
217
|
-
});
|
|
218
|
-
});
|
|
219
|
-
if (otherProducts.length) {
|
|
220
|
-
otherProducts.forEach(product => {
|
|
221
|
-
mappedProductGroups.push({
|
|
222
|
-
id: product.id,
|
|
223
|
-
products: [product],
|
|
224
|
-
title: "",
|
|
225
|
-
items: [],
|
|
226
|
-
productTags: []
|
|
227
|
-
});
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
const processedProductGroups = processSectionProductsWithDistanceInOptions(mappedProductGroups).map(processSectionsWithOutOfStockProducts);
|
|
231
|
-
return processedProductGroups.sort((a, b) => {
|
|
232
|
-
const aFirstProductId = a?.products?.[0]?.id;
|
|
233
|
-
const bFirstProductId = b?.products?.[0]?.id;
|
|
234
|
-
const aFirstProduct = products.findIndex(product => product.id === aFirstProductId);
|
|
235
|
-
const bFirstProduct = products.findIndex(product => product.id === bFirstProductId);
|
|
236
|
-
return aFirstProduct - bFirstProduct;
|
|
237
|
-
});
|
|
238
|
-
};
|
|
239
|
-
const getProStoreCategory = ({
|
|
240
|
-
queryCategory,
|
|
241
|
-
product,
|
|
242
|
-
ignoreQuery
|
|
243
|
-
}) => {
|
|
244
|
-
return (
|
|
245
|
-
/**
|
|
246
|
-
* If category specified via the url search/query parameter then use it
|
|
247
|
-
*/
|
|
248
|
-
!ignoreQuery && queryCategory ||
|
|
249
|
-
/**
|
|
250
|
-
* Attempt to find category by it's default collection or fallback to the virtual default collection
|
|
251
|
-
*/
|
|
252
|
-
proStoreCategories.getSubCategoryIdByCollectionSlug(product.collectionSlug) || proStoreCategories.getSubCategoryIdByCollectionSlug(product.organizationalCollectionSlug) ||
|
|
253
|
-
/**
|
|
254
|
-
* If all else fails fallback detecting to category from pro store collection, unlikely but wouldn't hurt to do so
|
|
255
|
-
*/
|
|
256
|
-
proStoreCategories.getSubCategoryIdByCollectionSlug(product.proCollectionSlug)
|
|
257
|
-
);
|
|
258
|
-
};
|
|
259
|
-
const getStoreProducts = ({
|
|
260
|
-
storeId,
|
|
261
|
-
queryCategory,
|
|
262
|
-
currentProduct,
|
|
263
|
-
collections,
|
|
264
|
-
allCategoryItems
|
|
265
|
-
}) => {
|
|
266
|
-
const returnObj = {
|
|
267
|
-
category: void 0,
|
|
268
|
-
products: []
|
|
269
|
-
};
|
|
270
|
-
const category = getProStoreCategory({
|
|
271
|
-
queryCategory,
|
|
272
|
-
product: currentProduct
|
|
273
|
-
});
|
|
274
|
-
const categoryItem = allCategoryItems.find(item => item.items?.some(subItem => subItem.id === category));
|
|
275
|
-
const categorySubItem = categoryItem?.items?.find(subItem => subItem.id === category);
|
|
276
|
-
const categoryId = categorySubItem?.id ?? category;
|
|
277
|
-
if (categoryId) {
|
|
278
|
-
returnObj.category = {
|
|
279
|
-
id: categoryId,
|
|
280
|
-
label: categoryItem?.label ?? null
|
|
281
|
-
};
|
|
282
|
-
}
|
|
283
|
-
const filteredCollections = collections.map(collection => ({
|
|
284
|
-
...collection,
|
|
285
|
-
products: removeExcludedProducts(collection.products, storeId)
|
|
286
|
-
}));
|
|
287
|
-
if (categoryItem?.hideSubItems) {
|
|
288
|
-
const products = filteredCollections.flatMap(collection => collection.products);
|
|
289
|
-
if (isAccessoryCategoryItem(categoryItem)) {
|
|
290
|
-
returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct) ? products.filter(isAllowedAccessoryCategoryProduct) : [];
|
|
291
|
-
} else {
|
|
292
|
-
returnObj.products = products;
|
|
293
|
-
}
|
|
294
|
-
} else {
|
|
295
|
-
const collection = filteredCollections.find(collection2 => collection2.products.some(el => el.id === currentProduct.id));
|
|
296
|
-
if (!collection) {
|
|
297
|
-
throw new Error("Collection not found");
|
|
298
|
-
}
|
|
299
|
-
const subItems = (categoryItem?.items?.slice(1) ?? allCategoryItems.flatMap(el => el.items?.slice(1))).filter(Boolean);
|
|
300
|
-
const subItem = subItems.find(item => item.collectionSlugs.includes(collection.slug));
|
|
301
|
-
if (subItem && returnObj.category) {
|
|
302
|
-
returnObj.category = {
|
|
303
|
-
id: subItem.id,
|
|
304
|
-
label: subItem.label
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
const subItemCollections = filteredCollections.filter(el => subItem?.collectionSlugs.includes(el.slug));
|
|
308
|
-
const products = subItemCollections.flatMap(el => el.products);
|
|
309
|
-
if (subItem) {
|
|
310
|
-
if (isAccessoryCategorySubItem(subItem, allCategoryItems)) {
|
|
311
|
-
returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct) ? products.filter(isAllowedAccessoryCategoryProduct) : [];
|
|
312
|
-
} else {
|
|
313
|
-
returnObj.products = products;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
const sections = subItemCollections.flatMap(el => el.sections);
|
|
317
|
-
const sectionHierarchy = createSectionHierarchy(sections);
|
|
318
|
-
const productGroups = getProductGroups(products, sectionHierarchy);
|
|
319
|
-
if (productGroups) {
|
|
320
|
-
return {
|
|
321
|
-
category: returnObj.category,
|
|
322
|
-
productGroups: productGroups.sort((a, b) => {
|
|
323
|
-
if (a.products[0] && b.products[0]) {
|
|
324
|
-
return productSort.sortProducts(null, storeId)(a.products[0], b.products[0]);
|
|
325
|
-
}
|
|
326
|
-
return 0;
|
|
327
|
-
})
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
return {
|
|
332
|
-
...returnObj,
|
|
333
|
-
products: returnObj.products.sort(productSort.sortProducts(null, storeId))
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
exports.COLLECTION_SECTION_OTHER_ID = COLLECTION_SECTION_OTHER_ID;
|
|
337
|
-
exports.HDDProductSlugs = HDDProductSlugs;
|
|
338
|
-
exports.MagicCollectionTags = MagicCollectionTags;
|
|
339
|
-
exports.ProductOptions = ProductOptions;
|
|
340
|
-
exports.createSectionHierarchy = createSectionHierarchy;
|
|
341
|
-
exports.getProStoreCategory = getProStoreCategory;
|
|
342
|
-
exports.getProductGroups = getProductGroups;
|
|
343
|
-
exports.getStoreProducts = getStoreProducts;
|
|
344
|
-
exports.isNonNullish = isNonNullish;
|
|
345
|
-
exports.removeExcludedProducts = removeExcludedProducts;
|
|
346
|
-
//# sourceMappingURL=product.js.map
|