@ubnt/store.core 9.30.0-beta.8 → 9.30.0-techspecs.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 +1 -150
- package/lib/_virtual/_virtual_multi-entry.js +2 -15
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/close3.svg +3 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- 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/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +2 -7
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +3 -16
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +3 -16
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udb.js +7 -2
- package/lib/components/ModelCompareV3/data/products/udb.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udb.mjs +7 -2
- package/lib/components/ModelCompareV3/data/products/udb.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udbPro.js +5 -1
- package/lib/components/ModelCompareV3/data/products/udbPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udbPro.mjs +5 -1
- package/lib/components/ModelCompareV3/data/products/udbPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +33 -10
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +33 -10
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -0
- 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 +1 -0
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +1 -0
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +1 -0
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/constants/proStoreCategories/mapping/index.d.ts +0 -1
- package/lib/constants/proStoreCategories/mapping/index.js +46 -35
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +46 -35
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js +1 -9
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +1 -9
- 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 +3 -1
- package/lib/constants/proStoreCategories/mapping/unifi.js +3 -1
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +3 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +1 -18
- package/lib/constants/proStoreFilters/mapping.js +0 -17
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +0 -17
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/helpers/index.d.ts +0 -1
- package/lib/helpers/index.js +0 -11
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +0 -1
- package/lib/helpers/index.mjs.map +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +0 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/utils/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.d.ts +0 -7
- package/lib/utils/money/constants.js +1 -9
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +2 -10
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/money/tax.private.d.ts +8 -0
- package/lib/utils/money/tax.private.js +14 -5
- package/lib/utils/money/tax.private.js.map +1 -1
- package/lib/utils/money/tax.private.mjs +16 -8
- package/lib/utils/money/tax.private.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -77
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -75
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.js +0 -77
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.mjs +0 -75
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -77
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -75
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.js +0 -77
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.mjs +0 -75
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -77
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -75
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.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/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,75 +0,0 @@
|
|
|
1
|
-
import '../../../../constants/proStoreCategories/index.mjs';
|
|
2
|
-
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
3
|
-
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
4
|
-
import '../properties/index.mjs';
|
|
5
|
-
import { portCount } from '../properties/portCount.mjs';
|
|
6
|
-
import { downlinkSpeed } from '../properties/downlinkSpeed.mjs';
|
|
7
|
-
import { uplinkSpeed } from '../properties/uplinkSpeed.mjs';
|
|
8
|
-
import { poeOutput } from '../properties/poeOutput.mjs';
|
|
9
|
-
import { poeAvailability } from '../properties/poeAvailability.mjs';
|
|
10
|
-
import { etherlighting } from '../properties/etherlighting.mjs';
|
|
11
|
-
"use strict";
|
|
12
|
-
const enterpriseCampus24PoE = {
|
|
13
|
-
id: "enterpriseCampus24PoE",
|
|
14
|
-
title: "enterpriseCampus24PoE.title",
|
|
15
|
-
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.Switching}/ecs-24-poe`],
|
|
16
|
-
storePathParts: {
|
|
17
|
-
productSlug: "ecs-24-poe",
|
|
18
|
-
category: UniFiChildCategorySlug.SwitchingEnterprise
|
|
19
|
-
},
|
|
20
|
-
sku: "ECS-24",
|
|
21
|
-
// description: "enterpriseCampus24PoE.description",
|
|
22
|
-
image: {
|
|
23
|
-
src: "https://placehold.co/250x120",
|
|
24
|
-
width: 250,
|
|
25
|
-
height: 120
|
|
26
|
-
},
|
|
27
|
-
propertyValues: [{
|
|
28
|
-
propertyId: portCount.id,
|
|
29
|
-
value: {
|
|
30
|
-
type: "string",
|
|
31
|
-
value: "24"
|
|
32
|
-
}
|
|
33
|
-
}, {
|
|
34
|
-
propertyId: downlinkSpeed.id,
|
|
35
|
-
value: {
|
|
36
|
-
type: "translation",
|
|
37
|
-
value: "enterpriseCampus24PoE.downlinkSpeed"
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
propertyId: uplinkSpeed.id,
|
|
41
|
-
value: {
|
|
42
|
-
type: "string",
|
|
43
|
-
value: "25 Gbps"
|
|
44
|
-
}
|
|
45
|
-
}, {
|
|
46
|
-
propertyId: poeOutput.id,
|
|
47
|
-
value: {
|
|
48
|
-
type: "string",
|
|
49
|
-
value: "PoE+++"
|
|
50
|
-
}
|
|
51
|
-
}, {
|
|
52
|
-
propertyId: poeAvailability.id,
|
|
53
|
-
value: {
|
|
54
|
-
type: "string",
|
|
55
|
-
value: "1050 W"
|
|
56
|
-
}
|
|
57
|
-
}, {
|
|
58
|
-
propertyId: etherlighting.id,
|
|
59
|
-
value: {
|
|
60
|
-
type: "boolean",
|
|
61
|
-
value: true
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// {
|
|
65
|
-
// propertyId: proAvSupport.id,
|
|
66
|
-
// value: { type: "boolean", value: true },
|
|
67
|
-
// }
|
|
68
|
-
// {
|
|
69
|
-
// propertyId: powerRedundancy.id,
|
|
70
|
-
// value: { type: "translation", value: "" },
|
|
71
|
-
// }
|
|
72
|
-
]
|
|
73
|
-
};
|
|
74
|
-
export { enterpriseCampus24PoE };
|
|
75
|
-
//# sourceMappingURL=enterpriseCampus24PoE.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseCampus24PoE.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/enterpriseCampus24PoE.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const enterpriseCampus24PoE: Product = {\n id: \"enterpriseCampus24PoE\",\n title: \"enterpriseCampus24PoE.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.Switching}/ecs-24-poe`,\n ],\n storePathParts: {\n productSlug: \"ecs-24-poe\",\n category: UniFiChildCategorySlug.SwitchingEnterprise,\n },\n sku: \"ECS-24\",\n // description: \"enterpriseCampus24PoE.description\",\n image: {\n src: \"https://placehold.co/250x120\",\n width: 250,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"24\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: {\n type: \"translation\",\n value: \"enterpriseCampus24PoE.downlinkSpeed\",\n },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"25 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"string\", value: \"PoE+++\" },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"string\", value: \"1050 W\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: true },\n },\n // {\n // propertyId: proAvSupport.id,\n // value: { type: \"boolean\", value: true },\n // }\n // {\n // propertyId: powerRedundancy.id,\n // value: { type: \"translation\", value: \"\" },\n // }\n ],\n};\n"],"names":["enterpriseCampus24PoE","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","Switching","storePathParts","productSlug","category","UniFiChildCategorySlug","SwitchingEnterprise","sku","image","src","width","height","propertyValues","propertyId","portCount","value","type","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting"],"mappings":";;;;;;;;;;;AAaO,MAAMA,qBAAiC,GAAA;EAC5CC,EAAI,EAAA,uBAAA;EACJC,KAAO,EAAA,6BAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,SAAS,aAAA,CACrC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,YAAA;IACbC,UAAUC,sBAAuB,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,QAAA;EAAA;EAELC,KAAO,EAAA;IACLC,GAAK,EAAA,8BAAA;IACLC,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAnB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAK;EACvC,CAAA,EACA;IACEF,YAAYI,aAAc,CAAAtB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYK,WAAY,CAAAvB,EAAA;IACxBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYM,SAAU,CAAAxB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYO,eAAgB,CAAAzB,EAAA;IAC5BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAUJ,CAAA;"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../../../../constants/proStoreCategories/index.js');
|
|
4
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
5
|
-
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
6
|
-
require('../properties/index.js');
|
|
7
|
-
var portCount = require('../properties/portCount.js');
|
|
8
|
-
var downlinkSpeed = require('../properties/downlinkSpeed.js');
|
|
9
|
-
var uplinkSpeed = require('../properties/uplinkSpeed.js');
|
|
10
|
-
var poeOutput = require('../properties/poeOutput.js');
|
|
11
|
-
var poeAvailability = require('../properties/poeAvailability.js');
|
|
12
|
-
var etherlighting = require('../properties/etherlighting.js');
|
|
13
|
-
"use strict";
|
|
14
|
-
const enterpriseCampus48 = {
|
|
15
|
-
id: "enterpriseCampus48",
|
|
16
|
-
title: "enterpriseCampus48.title",
|
|
17
|
-
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.Switching}/ecs-48`],
|
|
18
|
-
storePathParts: {
|
|
19
|
-
productSlug: "ecs-48",
|
|
20
|
-
category: unifi.UniFiChildCategorySlug.SwitchingEnterprise
|
|
21
|
-
},
|
|
22
|
-
sku: "ECS-48",
|
|
23
|
-
// description: "enterpriseCampus48.description",
|
|
24
|
-
image: {
|
|
25
|
-
src: "https://placehold.co/250x120",
|
|
26
|
-
width: 250,
|
|
27
|
-
height: 120
|
|
28
|
-
},
|
|
29
|
-
propertyValues: [{
|
|
30
|
-
propertyId: portCount.portCount.id,
|
|
31
|
-
value: {
|
|
32
|
-
type: "string",
|
|
33
|
-
value: "48"
|
|
34
|
-
}
|
|
35
|
-
}, {
|
|
36
|
-
propertyId: downlinkSpeed.downlinkSpeed.id,
|
|
37
|
-
value: {
|
|
38
|
-
type: "translation",
|
|
39
|
-
value: "enterpriseCampus48.downlinkSpeed"
|
|
40
|
-
}
|
|
41
|
-
}, {
|
|
42
|
-
propertyId: uplinkSpeed.uplinkSpeed.id,
|
|
43
|
-
value: {
|
|
44
|
-
type: "string",
|
|
45
|
-
value: "25 Gbps"
|
|
46
|
-
}
|
|
47
|
-
}, {
|
|
48
|
-
propertyId: poeOutput.poeOutput.id,
|
|
49
|
-
value: {
|
|
50
|
-
type: "boolean",
|
|
51
|
-
value: false
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
propertyId: poeAvailability.poeAvailability.id,
|
|
55
|
-
value: {
|
|
56
|
-
type: "boolean",
|
|
57
|
-
value: false
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
propertyId: etherlighting.etherlighting.id,
|
|
61
|
-
value: {
|
|
62
|
-
type: "boolean",
|
|
63
|
-
value: true
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
// {
|
|
67
|
-
// propertyId: proAvSupport.id,
|
|
68
|
-
// value: { type: "boolean", value: true },
|
|
69
|
-
// }
|
|
70
|
-
// {
|
|
71
|
-
// propertyId: powerRedundancy.id,
|
|
72
|
-
// value: { type: "translation", value: "" },
|
|
73
|
-
// }
|
|
74
|
-
]
|
|
75
|
-
};
|
|
76
|
-
exports.enterpriseCampus48 = enterpriseCampus48;
|
|
77
|
-
//# sourceMappingURL=enterpriseCampus48.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseCampus48.js","sources":["../../../../../src/components/ModelCompareV3/data/products/enterpriseCampus48.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const enterpriseCampus48: Product = {\n id: \"enterpriseCampus48\",\n title: \"enterpriseCampus48.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.Switching}/ecs-48`,\n ],\n storePathParts: {\n productSlug: \"ecs-48\",\n category: UniFiChildCategorySlug.SwitchingEnterprise,\n },\n sku: \"ECS-48\",\n // description: \"enterpriseCampus48.description\",\n image: {\n src: \"https://placehold.co/250x120\",\n width: 250,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"48\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: { type: \"translation\", value: \"enterpriseCampus48.downlinkSpeed\" },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"25 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: etherlighting.id,\n value: { type: \"boolean\", value: true },\n },\n // {\n // propertyId: proAvSupport.id,\n // value: { type: \"boolean\", value: true },\n // }\n // {\n // propertyId: powerRedundancy.id,\n // value: { type: \"translation\", value: \"\" },\n // }\n ],\n};\n"],"names":["enterpriseCampus48","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","Switching","storePathParts","productSlug","category","UniFiChildCategorySlug","SwitchingEnterprise","sku","image","src","width","height","propertyValues","propertyId","portCount","value","type","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting"],"mappings":";;;;;;;;;;;;;AAaO,MAAMA,kBAA8B,GAAA;EACzCC,EAAI,EAAA,oBAAA;EACJC,KAAO,EAAA,0BAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,SAAS,SAAA,CACrC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,QAAA;IACbC,UAAUC,KAAuB,CAAAA,sBAAA,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,QAAA;EAAA;EAELC,KAAO,EAAA;IACLC,GAAK,EAAA,8BAAA;IACLC,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAA,SAAA,CAAAnB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAK;EACvC,CAAA,EACA;IACEF,YAAYI,aAAc,CAAAA,aAAA,CAAAtB,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAmC;EAC1E,CAAA,EACA;IACEF,YAAYK,WAAY,CAAAA,WAAA,CAAAvB,EAAA;IACxBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYM,SAAU,CAAAA,SAAA,CAAAxB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYO,eAAgB,CAAAA,eAAA,CAAAzB,EAAA;IAC5BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAAA,aAAA,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAUJ,CAAA;"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import '../../../../constants/proStoreCategories/index.mjs';
|
|
2
|
-
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
3
|
-
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
4
|
-
import '../properties/index.mjs';
|
|
5
|
-
import { portCount } from '../properties/portCount.mjs';
|
|
6
|
-
import { downlinkSpeed } from '../properties/downlinkSpeed.mjs';
|
|
7
|
-
import { uplinkSpeed } from '../properties/uplinkSpeed.mjs';
|
|
8
|
-
import { poeOutput } from '../properties/poeOutput.mjs';
|
|
9
|
-
import { poeAvailability } from '../properties/poeAvailability.mjs';
|
|
10
|
-
import { etherlighting } from '../properties/etherlighting.mjs';
|
|
11
|
-
"use strict";
|
|
12
|
-
const enterpriseCampus48 = {
|
|
13
|
-
id: "enterpriseCampus48",
|
|
14
|
-
title: "enterpriseCampus48.title",
|
|
15
|
-
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.Switching}/ecs-48`],
|
|
16
|
-
storePathParts: {
|
|
17
|
-
productSlug: "ecs-48",
|
|
18
|
-
category: UniFiChildCategorySlug.SwitchingEnterprise
|
|
19
|
-
},
|
|
20
|
-
sku: "ECS-48",
|
|
21
|
-
// description: "enterpriseCampus48.description",
|
|
22
|
-
image: {
|
|
23
|
-
src: "https://placehold.co/250x120",
|
|
24
|
-
width: 250,
|
|
25
|
-
height: 120
|
|
26
|
-
},
|
|
27
|
-
propertyValues: [{
|
|
28
|
-
propertyId: portCount.id,
|
|
29
|
-
value: {
|
|
30
|
-
type: "string",
|
|
31
|
-
value: "48"
|
|
32
|
-
}
|
|
33
|
-
}, {
|
|
34
|
-
propertyId: downlinkSpeed.id,
|
|
35
|
-
value: {
|
|
36
|
-
type: "translation",
|
|
37
|
-
value: "enterpriseCampus48.downlinkSpeed"
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
propertyId: uplinkSpeed.id,
|
|
41
|
-
value: {
|
|
42
|
-
type: "string",
|
|
43
|
-
value: "25 Gbps"
|
|
44
|
-
}
|
|
45
|
-
}, {
|
|
46
|
-
propertyId: poeOutput.id,
|
|
47
|
-
value: {
|
|
48
|
-
type: "boolean",
|
|
49
|
-
value: false
|
|
50
|
-
}
|
|
51
|
-
}, {
|
|
52
|
-
propertyId: poeAvailability.id,
|
|
53
|
-
value: {
|
|
54
|
-
type: "boolean",
|
|
55
|
-
value: false
|
|
56
|
-
}
|
|
57
|
-
}, {
|
|
58
|
-
propertyId: etherlighting.id,
|
|
59
|
-
value: {
|
|
60
|
-
type: "boolean",
|
|
61
|
-
value: true
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// {
|
|
65
|
-
// propertyId: proAvSupport.id,
|
|
66
|
-
// value: { type: "boolean", value: true },
|
|
67
|
-
// }
|
|
68
|
-
// {
|
|
69
|
-
// propertyId: powerRedundancy.id,
|
|
70
|
-
// value: { type: "translation", value: "" },
|
|
71
|
-
// }
|
|
72
|
-
]
|
|
73
|
-
};
|
|
74
|
-
export { enterpriseCampus48 };
|
|
75
|
-
//# sourceMappingURL=enterpriseCampus48.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseCampus48.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/enterpriseCampus48.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const enterpriseCampus48: Product = {\n id: \"enterpriseCampus48\",\n title: \"enterpriseCampus48.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.Switching}/ecs-48`,\n ],\n storePathParts: {\n productSlug: \"ecs-48\",\n category: UniFiChildCategorySlug.SwitchingEnterprise,\n },\n sku: \"ECS-48\",\n // description: \"enterpriseCampus48.description\",\n image: {\n src: \"https://placehold.co/250x120\",\n width: 250,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"48\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: { type: \"translation\", value: \"enterpriseCampus48.downlinkSpeed\" },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"25 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: etherlighting.id,\n value: { type: \"boolean\", value: true },\n },\n // {\n // propertyId: proAvSupport.id,\n // value: { type: \"boolean\", value: true },\n // }\n // {\n // propertyId: powerRedundancy.id,\n // value: { type: \"translation\", value: \"\" },\n // }\n ],\n};\n"],"names":["enterpriseCampus48","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","Switching","storePathParts","productSlug","category","UniFiChildCategorySlug","SwitchingEnterprise","sku","image","src","width","height","propertyValues","propertyId","portCount","value","type","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting"],"mappings":";;;;;;;;;;;AAaO,MAAMA,kBAA8B,GAAA;EACzCC,EAAI,EAAA,oBAAA;EACJC,KAAO,EAAA,0BAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,SAAS,SAAA,CACrC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,QAAA;IACbC,UAAUC,sBAAuB,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,QAAA;EAAA;EAELC,KAAO,EAAA;IACLC,GAAK,EAAA,8BAAA;IACLC,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAnB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAK;EACvC,CAAA,EACA;IACEF,YAAYI,aAAc,CAAAtB,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAmC;EAC1E,CAAA,EACA;IACEF,YAAYK,WAAY,CAAAvB,EAAA;IACxBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYM,SAAU,CAAAxB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYO,eAAgB,CAAAzB,EAAA;IAC5BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAUJ,CAAA;"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../../../../constants/proStoreCategories/index.js');
|
|
4
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
5
|
-
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
6
|
-
require('../properties/index.js');
|
|
7
|
-
var portCount = require('../properties/portCount.js');
|
|
8
|
-
var downlinkSpeed = require('../properties/downlinkSpeed.js');
|
|
9
|
-
var uplinkSpeed = require('../properties/uplinkSpeed.js');
|
|
10
|
-
var poeOutput = require('../properties/poeOutput.js');
|
|
11
|
-
var poeAvailability = require('../properties/poeAvailability.js');
|
|
12
|
-
var etherlighting = require('../properties/etherlighting.js');
|
|
13
|
-
"use strict";
|
|
14
|
-
const enterpriseCampus48PoE = {
|
|
15
|
-
id: "enterpriseCampus48PoE",
|
|
16
|
-
title: "enterpriseCampus48PoE.title",
|
|
17
|
-
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.Switching}/ecs-48-poe`],
|
|
18
|
-
storePathParts: {
|
|
19
|
-
productSlug: "ecs-48-poe",
|
|
20
|
-
category: unifi.UniFiChildCategorySlug.SwitchingEnterprise
|
|
21
|
-
},
|
|
22
|
-
sku: "ECS-48",
|
|
23
|
-
// description: "enterpriseCampus48PoE.description",
|
|
24
|
-
image: {
|
|
25
|
-
src: "https://placehold.co/250x120",
|
|
26
|
-
width: 250,
|
|
27
|
-
height: 120
|
|
28
|
-
},
|
|
29
|
-
propertyValues: [{
|
|
30
|
-
propertyId: portCount.portCount.id,
|
|
31
|
-
value: {
|
|
32
|
-
type: "string",
|
|
33
|
-
value: "48"
|
|
34
|
-
}
|
|
35
|
-
}, {
|
|
36
|
-
propertyId: downlinkSpeed.downlinkSpeed.id,
|
|
37
|
-
value: {
|
|
38
|
-
type: "translation",
|
|
39
|
-
value: "enterpriseCampus48PoE.downlinkSpeed"
|
|
40
|
-
}
|
|
41
|
-
}, {
|
|
42
|
-
propertyId: uplinkSpeed.uplinkSpeed.id,
|
|
43
|
-
value: {
|
|
44
|
-
type: "string",
|
|
45
|
-
value: "25 Gbps"
|
|
46
|
-
}
|
|
47
|
-
}, {
|
|
48
|
-
propertyId: poeOutput.poeOutput.id,
|
|
49
|
-
value: {
|
|
50
|
-
type: "string",
|
|
51
|
-
value: "PoE+++"
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
propertyId: poeAvailability.poeAvailability.id,
|
|
55
|
-
value: {
|
|
56
|
-
type: "string",
|
|
57
|
-
value: "2150 W"
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
propertyId: etherlighting.etherlighting.id,
|
|
61
|
-
value: {
|
|
62
|
-
type: "boolean",
|
|
63
|
-
value: true
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
// {
|
|
67
|
-
// propertyId: proAvSupport.id,
|
|
68
|
-
// value: { type: "boolean", value: true },
|
|
69
|
-
// }
|
|
70
|
-
// {
|
|
71
|
-
// propertyId: powerRedundancy.id,
|
|
72
|
-
// value: { type: "translation", value: "" },
|
|
73
|
-
// }
|
|
74
|
-
]
|
|
75
|
-
};
|
|
76
|
-
exports.enterpriseCampus48PoE = enterpriseCampus48PoE;
|
|
77
|
-
//# sourceMappingURL=enterpriseCampus48PoE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseCampus48PoE.js","sources":["../../../../../src/components/ModelCompareV3/data/products/enterpriseCampus48PoE.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const enterpriseCampus48PoE: Product = {\n id: \"enterpriseCampus48PoE\",\n title: \"enterpriseCampus48PoE.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.Switching}/ecs-48-poe`,\n ],\n storePathParts: {\n productSlug: \"ecs-48-poe\",\n category: UniFiChildCategorySlug.SwitchingEnterprise,\n },\n sku: \"ECS-48\",\n // description: \"enterpriseCampus48PoE.description\",\n image: {\n src: \"https://placehold.co/250x120\",\n width: 250,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"48\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: {\n type: \"translation\",\n value: \"enterpriseCampus48PoE.downlinkSpeed\",\n },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"25 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"string\", value: \"PoE+++\" },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"string\", value: \"2150 W\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: true },\n },\n // {\n // propertyId: proAvSupport.id,\n // value: { type: \"boolean\", value: true },\n // }\n // {\n // propertyId: powerRedundancy.id,\n // value: { type: \"translation\", value: \"\" },\n // }\n ],\n};\n"],"names":["enterpriseCampus48PoE","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","Switching","storePathParts","productSlug","category","UniFiChildCategorySlug","SwitchingEnterprise","sku","image","src","width","height","propertyValues","propertyId","portCount","value","type","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting"],"mappings":";;;;;;;;;;;;;AAaO,MAAMA,qBAAiC,GAAA;EAC5CC,EAAI,EAAA,uBAAA;EACJC,KAAO,EAAA,6BAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,SAAS,aAAA,CACrC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,YAAA;IACbC,UAAUC,KAAuB,CAAAA,sBAAA,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,QAAA;EAAA;EAELC,KAAO,EAAA;IACLC,GAAK,EAAA,8BAAA;IACLC,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAA,SAAA,CAAAnB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAK;EACvC,CAAA,EACA;IACEF,YAAYI,aAAc,CAAAA,aAAA,CAAAtB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYK,WAAY,CAAAA,WAAA,CAAAvB,EAAA;IACxBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYM,SAAU,CAAAA,SAAA,CAAAxB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYO,eAAgB,CAAAA,eAAA,CAAAzB,EAAA;IAC5BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAAA,aAAA,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAUJ,CAAA;"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import '../../../../constants/proStoreCategories/index.mjs';
|
|
2
|
-
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
3
|
-
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
4
|
-
import '../properties/index.mjs';
|
|
5
|
-
import { portCount } from '../properties/portCount.mjs';
|
|
6
|
-
import { downlinkSpeed } from '../properties/downlinkSpeed.mjs';
|
|
7
|
-
import { uplinkSpeed } from '../properties/uplinkSpeed.mjs';
|
|
8
|
-
import { poeOutput } from '../properties/poeOutput.mjs';
|
|
9
|
-
import { poeAvailability } from '../properties/poeAvailability.mjs';
|
|
10
|
-
import { etherlighting } from '../properties/etherlighting.mjs';
|
|
11
|
-
"use strict";
|
|
12
|
-
const enterpriseCampus48PoE = {
|
|
13
|
-
id: "enterpriseCampus48PoE",
|
|
14
|
-
title: "enterpriseCampus48PoE.title",
|
|
15
|
-
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.Switching}/ecs-48-poe`],
|
|
16
|
-
storePathParts: {
|
|
17
|
-
productSlug: "ecs-48-poe",
|
|
18
|
-
category: UniFiChildCategorySlug.SwitchingEnterprise
|
|
19
|
-
},
|
|
20
|
-
sku: "ECS-48",
|
|
21
|
-
// description: "enterpriseCampus48PoE.description",
|
|
22
|
-
image: {
|
|
23
|
-
src: "https://placehold.co/250x120",
|
|
24
|
-
width: 250,
|
|
25
|
-
height: 120
|
|
26
|
-
},
|
|
27
|
-
propertyValues: [{
|
|
28
|
-
propertyId: portCount.id,
|
|
29
|
-
value: {
|
|
30
|
-
type: "string",
|
|
31
|
-
value: "48"
|
|
32
|
-
}
|
|
33
|
-
}, {
|
|
34
|
-
propertyId: downlinkSpeed.id,
|
|
35
|
-
value: {
|
|
36
|
-
type: "translation",
|
|
37
|
-
value: "enterpriseCampus48PoE.downlinkSpeed"
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
propertyId: uplinkSpeed.id,
|
|
41
|
-
value: {
|
|
42
|
-
type: "string",
|
|
43
|
-
value: "25 Gbps"
|
|
44
|
-
}
|
|
45
|
-
}, {
|
|
46
|
-
propertyId: poeOutput.id,
|
|
47
|
-
value: {
|
|
48
|
-
type: "string",
|
|
49
|
-
value: "PoE+++"
|
|
50
|
-
}
|
|
51
|
-
}, {
|
|
52
|
-
propertyId: poeAvailability.id,
|
|
53
|
-
value: {
|
|
54
|
-
type: "string",
|
|
55
|
-
value: "2150 W"
|
|
56
|
-
}
|
|
57
|
-
}, {
|
|
58
|
-
propertyId: etherlighting.id,
|
|
59
|
-
value: {
|
|
60
|
-
type: "boolean",
|
|
61
|
-
value: true
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// {
|
|
65
|
-
// propertyId: proAvSupport.id,
|
|
66
|
-
// value: { type: "boolean", value: true },
|
|
67
|
-
// }
|
|
68
|
-
// {
|
|
69
|
-
// propertyId: powerRedundancy.id,
|
|
70
|
-
// value: { type: "translation", value: "" },
|
|
71
|
-
// }
|
|
72
|
-
]
|
|
73
|
-
};
|
|
74
|
-
export { enterpriseCampus48PoE };
|
|
75
|
-
//# sourceMappingURL=enterpriseCampus48PoE.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseCampus48PoE.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/enterpriseCampus48PoE.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n downlinkSpeed,\n etherlighting,\n poeAvailability,\n poeOutput,\n portCount,\n uplinkSpeed,\n} from \"../properties\";\n\nexport const enterpriseCampus48PoE: Product = {\n id: \"enterpriseCampus48PoE\",\n title: \"enterpriseCampus48PoE.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.Switching}/ecs-48-poe`,\n ],\n storePathParts: {\n productSlug: \"ecs-48-poe\",\n category: UniFiChildCategorySlug.SwitchingEnterprise,\n },\n sku: \"ECS-48\",\n // description: \"enterpriseCampus48PoE.description\",\n image: {\n src: \"https://placehold.co/250x120\",\n width: 250,\n height: 120,\n },\n propertyValues: [\n {\n propertyId: portCount.id,\n value: { type: \"string\", value: \"48\" },\n },\n {\n propertyId: downlinkSpeed.id,\n value: {\n type: \"translation\",\n value: \"enterpriseCampus48PoE.downlinkSpeed\",\n },\n },\n {\n propertyId: uplinkSpeed.id,\n value: { type: \"string\", value: \"25 Gbps\" },\n },\n {\n propertyId: poeOutput.id,\n value: { type: \"string\", value: \"PoE+++\" },\n },\n {\n propertyId: poeAvailability.id,\n value: { type: \"string\", value: \"2150 W\" },\n },\n {\n propertyId: etherlighting.id,\n value: { type: \"boolean\", value: true },\n },\n // {\n // propertyId: proAvSupport.id,\n // value: { type: \"boolean\", value: true },\n // }\n // {\n // propertyId: powerRedundancy.id,\n // value: { type: \"translation\", value: \"\" },\n // }\n ],\n};\n"],"names":["enterpriseCampus48PoE","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","Switching","storePathParts","productSlug","category","UniFiChildCategorySlug","SwitchingEnterprise","sku","image","src","width","height","propertyValues","propertyId","portCount","value","type","downlinkSpeed","uplinkSpeed","poeOutput","poeAvailability","etherlighting"],"mappings":";;;;;;;;;;;AAaO,MAAMA,qBAAiC,GAAA;EAC5CC,EAAI,EAAA,uBAAA;EACJC,KAAO,EAAA,6BAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,SAAS,aAAA,CACrC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,YAAA;IACbC,UAAUC,sBAAuB,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,QAAA;EAAA;EAELC,KAAO,EAAA;IACLC,GAAK,EAAA,8BAAA;IACLC,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,SAAU,CAAAnB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAK;EACvC,CAAA,EACA;IACEF,YAAYI,aAAc,CAAAtB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYK,WAAY,CAAAvB,EAAA;IACxBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYM,SAAU,CAAAxB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYO,eAAgB,CAAAzB,EAAA;IAC5BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAUJ,CAAA;"}
|
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 {};
|