@ubnt/store.core 9.9.0-alpha.13 → 9.9.0-alpha.2
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 +2220 -369
- package/lib/assets/arrow-left-right.svg +3 -0
- package/lib/assets/efg.png +0 -0
- package/lib/assets/firewall.svg +12 -0
- package/lib/assets/globe-shield.svg +3 -0
- package/lib/assets/icon-location.svg +5 -0
- package/lib/assets/icons/menu/icon-location.svg.js +27 -0
- package/lib/assets/icons/menu/icon-location.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-location.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-location.svg.mjs.map +1 -0
- package/lib/assets/keylock.svg +3 -0
- package/lib/assets/magnifying-glass.svg +10 -0
- package/lib/assets/plus2.svg +1 -4
- package/lib/assets/plus3.svg +4 -1
- package/lib/assets/sfpAndCable.svg +9 -0
- package/lib/assets/ucg-max.png +0 -0
- package/lib/components/Container/Container.styles.js +2 -0
- package/lib/components/Container/Container.styles.js.map +1 -1
- package/lib/components/Container/Container.styles.mjs +2 -0
- package/lib/components/Container/Container.styles.mjs.map +1 -1
- package/lib/components/Container/Container.types.d.ts +1 -1
- package/lib/components/Explore/Explore.js +1 -1
- package/lib/components/Explore/Explore.js.map +1 -1
- package/lib/components/Explore/Explore.mjs +1 -1
- package/lib/components/Explore/Explore.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.js +164 -133
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mjs +166 -133
- package/lib/components/Footer/Footer.mjs.map +1 -1
- package/lib/components/Footer/Footer.styles.d.ts +3 -7
- package/lib/components/Footer/Footer.styles.js +45 -61
- package/lib/components/Footer/Footer.styles.js.map +1 -1
- package/lib/components/Footer/Footer.styles.mjs +46 -59
- package/lib/components/Footer/Footer.styles.mjs.map +1 -1
- package/lib/components/Footer/Footer.types.d.ts +4 -2
- package/lib/components/Footer/Footer.types.js.map +1 -1
- package/lib/components/Footer/Footer.types.mjs.map +1 -1
- package/lib/components/Footer/hooks/useFooterContent.d.ts +22 -10
- package/lib/components/Footer/hooks/useFooterContent.js +53 -57
- package/lib/components/Footer/hooks/useFooterContent.js.map +1 -1
- package/lib/components/Footer/hooks/useFooterContent.mjs +51 -55
- package/lib/components/Footer/hooks/useFooterContent.mjs.map +1 -1
- package/lib/components/Footer/translations/ar.json.js +7 -8
- package/lib/components/Footer/translations/ar.json.js.map +1 -1
- package/lib/components/Footer/translations/ar.json.mjs +7 -8
- package/lib/components/Footer/translations/ar.json.mjs.map +1 -1
- package/lib/components/Footer/translations/de.json.js +9 -10
- package/lib/components/Footer/translations/de.json.js.map +1 -1
- package/lib/components/Footer/translations/de.json.mjs +9 -10
- package/lib/components/Footer/translations/de.json.mjs.map +1 -1
- package/lib/components/Footer/translations/el.json.js +7 -8
- package/lib/components/Footer/translations/el.json.js.map +1 -1
- package/lib/components/Footer/translations/el.json.mjs +7 -8
- package/lib/components/Footer/translations/el.json.mjs.map +1 -1
- package/lib/components/Footer/translations/en.json.js +11 -11
- package/lib/components/Footer/translations/en.json.mjs +11 -11
- package/lib/components/Footer/translations/es.json.js +7 -8
- package/lib/components/Footer/translations/es.json.js.map +1 -1
- package/lib/components/Footer/translations/es.json.mjs +7 -8
- package/lib/components/Footer/translations/es.json.mjs.map +1 -1
- package/lib/components/Footer/translations/fr.json.js +10 -11
- package/lib/components/Footer/translations/fr.json.js.map +1 -1
- package/lib/components/Footer/translations/fr.json.mjs +10 -11
- package/lib/components/Footer/translations/fr.json.mjs.map +1 -1
- package/lib/components/Footer/translations/it.json.js +20 -21
- package/lib/components/Footer/translations/it.json.js.map +1 -1
- package/lib/components/Footer/translations/it.json.mjs +20 -21
- package/lib/components/Footer/translations/it.json.mjs.map +1 -1
- package/lib/components/Footer/translations/ja.json.js +7 -8
- package/lib/components/Footer/translations/ja.json.js.map +1 -1
- package/lib/components/Footer/translations/ja.json.mjs +7 -8
- package/lib/components/Footer/translations/ja.json.mjs.map +1 -1
- package/lib/components/Footer/translations/pt-BR.json.js +7 -8
- package/lib/components/Footer/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Footer/translations/pt-BR.json.mjs +7 -8
- package/lib/components/Footer/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Footer/translations/zh-Hans.json.js +7 -8
- package/lib/components/Footer/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Footer/translations/zh-Hans.json.mjs +7 -8
- package/lib/components/Footer/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.js +3 -5
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +4 -6
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
- package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
- package/lib/components/Header/Header.js +8 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +8 -1
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.styles.js +4 -0
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +4 -0
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +3 -1
- package/lib/components/Header/Header.types.js +3 -1
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +3 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +8 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +8 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +12 -21
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +12 -21
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.d.ts +7 -1
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.js +32 -23
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.mjs +32 -23
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -0
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +4 -0
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +4 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +65 -55
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +65 -55
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +3 -1
- package/lib/components/Header/ProHeader/ProHeader.js +67 -50
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +67 -50
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/translations/ar.json.js +34 -37
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +35 -37
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +34 -37
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +35 -37
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +34 -37
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +35 -37
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +4 -3
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +4 -3
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +34 -37
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +35 -37
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +35 -38
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +36 -38
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +34 -37
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +35 -37
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +34 -37
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +35 -37
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +34 -37
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +35 -37
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +34 -37
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +35 -37
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +34 -37
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +35 -37
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +2 -0
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +1 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.d.ts +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.js +13 -3
- package/lib/components/MicrositeHero/MicrositeHero.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.mjs +14 -4
- package/lib/components/MicrositeHero/MicrositeHero.mjs.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.types.d.ts +1 -0
- package/lib/components/MicrositeHero/MicrositeHero.types.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.types.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +59 -40
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs +61 -42
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -6
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +35 -7
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.d.ts +9 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/components/MobileItem.d.ts +14 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.js +60 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.js.map +1 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.mjs +58 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.mjs.map +1 -0
- package/lib/components/Microsites/MicrositeProductPage.js +2 -1
- package/lib/components/Microsites/MicrositeProductPage.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.mjs +2 -1
- package/lib/components/Microsites/MicrositeProductPage.mjs.map +1 -1
- package/lib/components/Microsites/Microsites.types.d.ts +3 -1
- package/lib/components/Microsites/Microsites.types.js.map +1 -1
- package/lib/components/Microsites/Microsites.types.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +1 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +1 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +21 -9
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/{assets/icons/menu/icon-globe.svg.js → components/ModelCompareV3/assets/arrow-left-right.svg.js} +6 -6
- package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{packets.svg.js → firewall.svg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/firewall.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/firewall.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/firewall.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{clock.svg.js → keylock.svg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/keylock.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/keylock.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/keylock.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/CloudGateways.js +11 -11
- package/lib/components/ModelCompareV3/data/CloudGateways.js.map +1 -1
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +8 -8
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/index.d.ts +18 -17
- package/lib/components/ModelCompareV3/data/index.js +37 -34
- package/lib/components/ModelCompareV3/data/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/index.mjs +37 -34
- package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.js +89 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.mjs +81 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.js +90 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.mjs +82 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/udm.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/udm.js +89 -0
- package/lib/components/ModelCompareV3/data/products/udm.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/udm.mjs +81 -0
- package/lib/components/ModelCompareV3/data/products/udm.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.js +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.js +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.js +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.js +26 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.js.map +1 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.mjs +24 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare2.d.ts +1 -0
- package/lib/components/ModelCompareV3/translations/en.json.js +27 -1
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +27 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +312 -21
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +310 -21
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +38 -22
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs +38 -22
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +10 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +2 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +2 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.d.ts +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +5 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs +5 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +4 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +4 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/ScrollWrapper/ScrollWrapper.js +6 -7
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +6 -7
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.js +33 -29
- package/lib/components/VariantSelector/Variant/Variant.js.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.mjs +34 -30
- package/lib/components/VariantSelector/Variant/Variant.mjs.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +2 -0
- package/lib/components/VariantSelector/Variant/Variant.styles.js +20 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.js.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs +19 -2
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +1 -1
- package/lib/components/VariantSelector/VariantSelector.constants.d.ts +1 -0
- package/lib/components/VariantSelector/VariantSelector.constants.js +1 -0
- package/lib/components/VariantSelector/VariantSelector.constants.js.map +1 -1
- package/lib/components/VariantSelector/VariantSelector.constants.mjs +1 -0
- package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +1 -1
- package/lib/constants/icons/generic/index.js +3 -3
- package/lib/constants/icons/generic/index.mjs +1 -1
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/menu/index.d.ts +2 -1
- package/lib/constants/icons/menu/index.js +18 -9
- package/lib/constants/icons/menu/index.js.map +1 -1
- package/lib/constants/icons/menu/index.mjs +4 -2
- package/lib/constants/icons/menu/index.mjs.map +1 -1
- package/lib/constants/icons/menu/sfpAndCable.svg.js +27 -0
- package/lib/constants/icons/menu/sfpAndCable.svg.js.map +1 -0
- package/lib/constants/icons/menu/sfpAndCable.svg.mjs +3 -0
- package/lib/constants/icons/menu/sfpAndCable.svg.mjs.map +1 -0
- package/lib/constants/layout.d.ts +1 -0
- package/lib/constants/layout.js +3 -1
- package/lib/constants/layout.js.map +1 -1
- package/lib/constants/layout.mjs +3 -1
- package/lib/constants/layout.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/index.js +1 -1
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +2 -2
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -2
- package/lib/constants/proStoreCategories/translations/en.json.js +3 -0
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +2 -2
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -1
- package/lib/constants/url.d.ts +1 -1
- package/lib/constants/url.js +1 -1
- package/lib/constants/url.js.map +1 -1
- package/lib/constants/url.mjs +1 -1
- package/lib/constants/url.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js +45 -41
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +43 -40
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/utils/address.d.ts +61 -61
- package/package.json +52 -52
- package/lib/assets/clock.svg +0 -4
- package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
- package/lib/assets/packets.svg +0 -3
- package/lib/components/Footer/translations/zh-Hant-TW.json.js +0 -47
- package/lib/components/Footer/translations/zh-Hant-TW.json.js.map +0 -1
- package/lib/components/Footer/translations/zh-Hant-TW.json.mjs +0 -42
- package/lib/components/Footer/translations/zh-Hant-TW.json.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/clock.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/clock.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/clock.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/packets.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/packets.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/packets.svg.mjs.map +0 -1
|
@@ -3,59 +3,56 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var Close = "关闭";
|
|
7
|
-
var Compact = "紧凑型";
|
|
8
|
-
var Downloads = "下载";
|
|
9
6
|
var Introduction = "介绍";
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var Store = "商城";
|
|
13
|
-
var Support = "技术支持";
|
|
7
|
+
var wifi = "WiFi";
|
|
8
|
+
var switching = "交换机";
|
|
14
9
|
var accessories = "配件技术";
|
|
15
10
|
var amplifi = "AmpliFi";
|
|
11
|
+
var wireless = "无线";
|
|
16
12
|
var fiber = "Fiber";
|
|
17
|
-
var switching = "交换机";
|
|
18
|
-
var wifi = "WiFi";
|
|
19
13
|
var wired = "有线";
|
|
20
|
-
var
|
|
14
|
+
var Support = "技术支持";
|
|
15
|
+
var Store = "商城";
|
|
16
|
+
var Close = "关闭";
|
|
17
|
+
var New = "新";
|
|
18
|
+
var Links = "链接";
|
|
19
|
+
var Compact = "紧凑型";
|
|
21
20
|
var zhHans = {
|
|
22
|
-
"60ghz-wireless": "60 GHz 无线",
|
|
23
|
-
Close: Close,
|
|
24
|
-
Compact: Compact,
|
|
25
|
-
"Design Center": "设计中心",
|
|
26
|
-
Downloads: Downloads,
|
|
27
|
-
"How it Works": "如何运行",
|
|
28
21
|
Introduction: Introduction,
|
|
29
|
-
"
|
|
30
|
-
"Large Scale": "大规模",
|
|
31
|
-
Links: Links,
|
|
32
|
-
New: New,
|
|
33
|
-
"New 6 GHz": "新的6 GHz",
|
|
34
|
-
"Professional Support": "专家支持",
|
|
35
|
-
Store: Store,
|
|
36
|
-
Support: Support,
|
|
37
|
-
"UISP Carrier Platform": "UISP 运营商平台",
|
|
22
|
+
"How it Works": "如何运行",
|
|
38
23
|
"What's New": "新品介绍",
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
24
|
+
"Design Center": "设计中心",
|
|
25
|
+
"UISP Carrier Platform": "UISP 运营商平台",
|
|
26
|
+
"Professional Support": "专家支持",
|
|
27
|
+
"Large Project Assistance": "大型项目支持",
|
|
43
28
|
"cloud-gateways": "云网关主机",
|
|
29
|
+
wifi: wifi,
|
|
30
|
+
switching: switching,
|
|
31
|
+
"camera-security": "监控摄像",
|
|
44
32
|
"door-access": "门禁",
|
|
45
|
-
fiber: fiber,
|
|
46
|
-
"large-deployment-assistance": "大规模部署援助",
|
|
47
33
|
"new-integrations": "新品集成",
|
|
48
|
-
|
|
49
|
-
"uisp-accessory-tech": "配件技术",
|
|
50
|
-
"uisp-software": "UISP 概述",
|
|
34
|
+
accessories: accessories,
|
|
51
35
|
"unifi-identity": "Identity",
|
|
52
|
-
|
|
36
|
+
amplifi: amplifi,
|
|
37
|
+
"60ghz-wireless": "60 GHz 无线",
|
|
38
|
+
wireless: wireless,
|
|
39
|
+
fiber: fiber,
|
|
53
40
|
wired: wired,
|
|
54
|
-
|
|
41
|
+
"uisp-accessory-tech": "配件技术",
|
|
42
|
+
"uisp-software": "UISP 概述",
|
|
43
|
+
Support: Support,
|
|
44
|
+
Store: Store,
|
|
45
|
+
Close: Close,
|
|
46
|
+
New: New,
|
|
47
|
+
Links: Links,
|
|
48
|
+
"New 6 GHz": "新的6 GHz",
|
|
49
|
+
"large-deployment-assistance": "大规模部署援助",
|
|
50
|
+
"Large Scale": "大规模",
|
|
51
|
+
Compact: Compact,
|
|
52
|
+
"WiFi Integrated": "WiFi集成"
|
|
55
53
|
};
|
|
56
54
|
exports.Close = Close;
|
|
57
55
|
exports.Compact = Compact;
|
|
58
|
-
exports.Downloads = Downloads;
|
|
59
56
|
exports.Introduction = Introduction;
|
|
60
57
|
exports.Links = Links;
|
|
61
58
|
exports.New = New;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh-Hans.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,52 +1,50 @@
|
|
|
1
|
-
var Close = "关闭";
|
|
2
|
-
var Compact = "紧凑型";
|
|
3
|
-
var Downloads = "下载";
|
|
4
1
|
var Introduction = "介绍";
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var Store = "商城";
|
|
8
|
-
var Support = "技术支持";
|
|
2
|
+
var wifi = "WiFi";
|
|
3
|
+
var switching = "交换机";
|
|
9
4
|
var accessories = "配件技术";
|
|
10
5
|
var amplifi = "AmpliFi";
|
|
6
|
+
var wireless = "无线";
|
|
11
7
|
var fiber = "Fiber";
|
|
12
|
-
var switching = "交换机";
|
|
13
|
-
var wifi = "WiFi";
|
|
14
8
|
var wired = "有线";
|
|
15
|
-
var
|
|
9
|
+
var Support = "技术支持";
|
|
10
|
+
var Store = "商城";
|
|
11
|
+
var Close = "关闭";
|
|
12
|
+
var New = "新";
|
|
13
|
+
var Links = "链接";
|
|
14
|
+
var Compact = "紧凑型";
|
|
16
15
|
var zhHans = {
|
|
17
|
-
"60ghz-wireless": "60 GHz 无线",
|
|
18
|
-
Close: Close,
|
|
19
|
-
Compact: Compact,
|
|
20
|
-
"Design Center": "设计中心",
|
|
21
|
-
Downloads: Downloads,
|
|
22
|
-
"How it Works": "如何运行",
|
|
23
16
|
Introduction: Introduction,
|
|
24
|
-
"
|
|
25
|
-
"Large Scale": "大规模",
|
|
26
|
-
Links: Links,
|
|
27
|
-
New: New,
|
|
28
|
-
"New 6 GHz": "新的6 GHz",
|
|
29
|
-
"Professional Support": "专家支持",
|
|
30
|
-
Store: Store,
|
|
31
|
-
Support: Support,
|
|
32
|
-
"UISP Carrier Platform": "UISP 运营商平台",
|
|
17
|
+
"How it Works": "如何运行",
|
|
33
18
|
"What's New": "新品介绍",
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
19
|
+
"Design Center": "设计中心",
|
|
20
|
+
"UISP Carrier Platform": "UISP 运营商平台",
|
|
21
|
+
"Professional Support": "专家支持",
|
|
22
|
+
"Large Project Assistance": "大型项目支持",
|
|
38
23
|
"cloud-gateways": "云网关主机",
|
|
24
|
+
wifi: wifi,
|
|
25
|
+
switching: switching,
|
|
26
|
+
"camera-security": "监控摄像",
|
|
39
27
|
"door-access": "门禁",
|
|
40
|
-
fiber: fiber,
|
|
41
|
-
"large-deployment-assistance": "大规模部署援助",
|
|
42
28
|
"new-integrations": "新品集成",
|
|
43
|
-
|
|
44
|
-
"uisp-accessory-tech": "配件技术",
|
|
45
|
-
"uisp-software": "UISP 概述",
|
|
29
|
+
accessories: accessories,
|
|
46
30
|
"unifi-identity": "Identity",
|
|
47
|
-
|
|
31
|
+
amplifi: amplifi,
|
|
32
|
+
"60ghz-wireless": "60 GHz 无线",
|
|
33
|
+
wireless: wireless,
|
|
34
|
+
fiber: fiber,
|
|
48
35
|
wired: wired,
|
|
49
|
-
|
|
36
|
+
"uisp-accessory-tech": "配件技术",
|
|
37
|
+
"uisp-software": "UISP 概述",
|
|
38
|
+
Support: Support,
|
|
39
|
+
Store: Store,
|
|
40
|
+
Close: Close,
|
|
41
|
+
New: New,
|
|
42
|
+
Links: Links,
|
|
43
|
+
"New 6 GHz": "新的6 GHz",
|
|
44
|
+
"large-deployment-assistance": "大规模部署援助",
|
|
45
|
+
"Large Scale": "大规模",
|
|
46
|
+
Compact: Compact,
|
|
47
|
+
"WiFi Integrated": "WiFi集成"
|
|
50
48
|
};
|
|
51
|
-
export { Close, Compact,
|
|
49
|
+
export { Close, Compact, Introduction, Links, New, Store, Support, accessories, amplifi, zhHans as default, fiber, switching, wifi, wired, wireless };
|
|
52
50
|
//# sourceMappingURL=zh-Hans.json.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh-Hans.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,59 +3,56 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var Close = "關閉";
|
|
7
|
-
var Compact = "緊湊";
|
|
8
|
-
var Downloads = "下載";
|
|
9
6
|
var Introduction = "介紹";
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var Store = "商店";
|
|
13
|
-
var Support = "支持";
|
|
7
|
+
var wifi = "WiFi";
|
|
8
|
+
var switching = "切換";
|
|
14
9
|
var accessories = "配件科技";
|
|
15
10
|
var amplifi = "AmpliFi";
|
|
11
|
+
var wireless = "無線";
|
|
16
12
|
var fiber = "纖維";
|
|
17
|
-
var switching = "切換";
|
|
18
|
-
var wifi = "WiFi";
|
|
19
13
|
var wired = "有線的";
|
|
20
|
-
var
|
|
14
|
+
var Support = "支持";
|
|
15
|
+
var Store = "商店";
|
|
16
|
+
var Close = "關閉";
|
|
17
|
+
var New = "新的";
|
|
18
|
+
var Links = "連結";
|
|
19
|
+
var Compact = "緊湊";
|
|
21
20
|
var zhHantTW = {
|
|
22
|
-
"60ghz-wireless": "60 GHz 無線",
|
|
23
|
-
Close: Close,
|
|
24
|
-
Compact: Compact,
|
|
25
|
-
"Design Center": "設計中心",
|
|
26
|
-
Downloads: Downloads,
|
|
27
|
-
"How it Works": "如何運作",
|
|
28
21
|
Introduction: Introduction,
|
|
29
|
-
"
|
|
30
|
-
"Large Scale": "大規模",
|
|
31
|
-
Links: Links,
|
|
32
|
-
New: New,
|
|
33
|
-
"New 6 GHz": "新的6 GHz",
|
|
34
|
-
"Professional Support": "專業支援",
|
|
35
|
-
Store: Store,
|
|
36
|
-
Support: Support,
|
|
37
|
-
"UISP Carrier Platform": "UISP運營商平台",
|
|
22
|
+
"How it Works": "如何運作",
|
|
38
23
|
"What's New": "有什麼新的?",
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
24
|
+
"Design Center": "設計中心",
|
|
25
|
+
"UISP Carrier Platform": "UISP運營商平台",
|
|
26
|
+
"Professional Support": "專業支援",
|
|
27
|
+
"Large Project Assistance": "大型專案協助",
|
|
43
28
|
"cloud-gateways": "雲端閘道",
|
|
29
|
+
wifi: wifi,
|
|
30
|
+
switching: switching,
|
|
31
|
+
"camera-security": "攝影機安全",
|
|
44
32
|
"door-access": "門禁系統",
|
|
45
|
-
fiber: fiber,
|
|
46
|
-
"large-deployment-assistance": "大型部署協助",
|
|
47
33
|
"new-integrations": "新的整合",
|
|
48
|
-
|
|
49
|
-
"uisp-accessory-tech": "配件科技",
|
|
50
|
-
"uisp-software": "UISP概覽",
|
|
34
|
+
accessories: accessories,
|
|
51
35
|
"unifi-identity": "Identity",
|
|
52
|
-
|
|
36
|
+
amplifi: amplifi,
|
|
37
|
+
"60ghz-wireless": "60 GHz 無線",
|
|
38
|
+
wireless: wireless,
|
|
39
|
+
fiber: fiber,
|
|
53
40
|
wired: wired,
|
|
54
|
-
|
|
41
|
+
"uisp-accessory-tech": "配件科技",
|
|
42
|
+
"uisp-software": "UISP概覽",
|
|
43
|
+
Support: Support,
|
|
44
|
+
Store: Store,
|
|
45
|
+
Close: Close,
|
|
46
|
+
New: New,
|
|
47
|
+
Links: Links,
|
|
48
|
+
"New 6 GHz": "新的6 GHz",
|
|
49
|
+
"large-deployment-assistance": "大型部署協助",
|
|
50
|
+
"Large Scale": "大規模",
|
|
51
|
+
Compact: Compact,
|
|
52
|
+
"WiFi Integrated": "整合式WiFi"
|
|
55
53
|
};
|
|
56
54
|
exports.Close = Close;
|
|
57
55
|
exports.Compact = Compact;
|
|
58
|
-
exports.Downloads = Downloads;
|
|
59
56
|
exports.Introduction = Introduction;
|
|
60
57
|
exports.Links = Links;
|
|
61
58
|
exports.New = New;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hant-TW.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh-Hant-TW.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,52 +1,50 @@
|
|
|
1
|
-
var Close = "關閉";
|
|
2
|
-
var Compact = "緊湊";
|
|
3
|
-
var Downloads = "下載";
|
|
4
1
|
var Introduction = "介紹";
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var Store = "商店";
|
|
8
|
-
var Support = "支持";
|
|
2
|
+
var wifi = "WiFi";
|
|
3
|
+
var switching = "切換";
|
|
9
4
|
var accessories = "配件科技";
|
|
10
5
|
var amplifi = "AmpliFi";
|
|
6
|
+
var wireless = "無線";
|
|
11
7
|
var fiber = "纖維";
|
|
12
|
-
var switching = "切換";
|
|
13
|
-
var wifi = "WiFi";
|
|
14
8
|
var wired = "有線的";
|
|
15
|
-
var
|
|
9
|
+
var Support = "支持";
|
|
10
|
+
var Store = "商店";
|
|
11
|
+
var Close = "關閉";
|
|
12
|
+
var New = "新的";
|
|
13
|
+
var Links = "連結";
|
|
14
|
+
var Compact = "緊湊";
|
|
16
15
|
var zhHantTW = {
|
|
17
|
-
"60ghz-wireless": "60 GHz 無線",
|
|
18
|
-
Close: Close,
|
|
19
|
-
Compact: Compact,
|
|
20
|
-
"Design Center": "設計中心",
|
|
21
|
-
Downloads: Downloads,
|
|
22
|
-
"How it Works": "如何運作",
|
|
23
16
|
Introduction: Introduction,
|
|
24
|
-
"
|
|
25
|
-
"Large Scale": "大規模",
|
|
26
|
-
Links: Links,
|
|
27
|
-
New: New,
|
|
28
|
-
"New 6 GHz": "新的6 GHz",
|
|
29
|
-
"Professional Support": "專業支援",
|
|
30
|
-
Store: Store,
|
|
31
|
-
Support: Support,
|
|
32
|
-
"UISP Carrier Platform": "UISP運營商平台",
|
|
17
|
+
"How it Works": "如何運作",
|
|
33
18
|
"What's New": "有什麼新的?",
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
19
|
+
"Design Center": "設計中心",
|
|
20
|
+
"UISP Carrier Platform": "UISP運營商平台",
|
|
21
|
+
"Professional Support": "專業支援",
|
|
22
|
+
"Large Project Assistance": "大型專案協助",
|
|
38
23
|
"cloud-gateways": "雲端閘道",
|
|
24
|
+
wifi: wifi,
|
|
25
|
+
switching: switching,
|
|
26
|
+
"camera-security": "攝影機安全",
|
|
39
27
|
"door-access": "門禁系統",
|
|
40
|
-
fiber: fiber,
|
|
41
|
-
"large-deployment-assistance": "大型部署協助",
|
|
42
28
|
"new-integrations": "新的整合",
|
|
43
|
-
|
|
44
|
-
"uisp-accessory-tech": "配件科技",
|
|
45
|
-
"uisp-software": "UISP概覽",
|
|
29
|
+
accessories: accessories,
|
|
46
30
|
"unifi-identity": "Identity",
|
|
47
|
-
|
|
31
|
+
amplifi: amplifi,
|
|
32
|
+
"60ghz-wireless": "60 GHz 無線",
|
|
33
|
+
wireless: wireless,
|
|
34
|
+
fiber: fiber,
|
|
48
35
|
wired: wired,
|
|
49
|
-
|
|
36
|
+
"uisp-accessory-tech": "配件科技",
|
|
37
|
+
"uisp-software": "UISP概覽",
|
|
38
|
+
Support: Support,
|
|
39
|
+
Store: Store,
|
|
40
|
+
Close: Close,
|
|
41
|
+
New: New,
|
|
42
|
+
Links: Links,
|
|
43
|
+
"New 6 GHz": "新的6 GHz",
|
|
44
|
+
"large-deployment-assistance": "大型部署協助",
|
|
45
|
+
"Large Scale": "大規模",
|
|
46
|
+
Compact: Compact,
|
|
47
|
+
"WiFi Integrated": "整合式WiFi"
|
|
50
48
|
};
|
|
51
|
-
export { Close, Compact,
|
|
49
|
+
export { Close, Compact, Introduction, Links, New, Store, Support, accessories, amplifi, zhHantTW as default, fiber, switching, wifi, wired, wireless };
|
|
52
50
|
//# sourceMappingURL=zh-Hant-TW.json.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -124,6 +124,7 @@ export interface LayoutVariant {
|
|
|
124
124
|
isLegacy?: boolean;
|
|
125
125
|
isSubscription?: boolean;
|
|
126
126
|
isRegionNotAvailable?: boolean;
|
|
127
|
+
isSpecialOffer?: boolean;
|
|
127
128
|
/**
|
|
128
129
|
* @FIXME Move away from these tag flags and just feed tag list
|
|
129
130
|
* and denote the magic tags in store.core. Currently it is done on SF side.
|
|
@@ -165,6 +166,7 @@ export interface LayoutVariant {
|
|
|
165
166
|
upsellProductTitle?: string;
|
|
166
167
|
productTitle?: string;
|
|
167
168
|
overrideShortTitle?: string;
|
|
169
|
+
showNearPrice?: boolean;
|
|
168
170
|
};
|
|
169
171
|
productBundleNotes?: string[];
|
|
170
172
|
compatibleProducts?: VariantCompatibleProduct[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutRenderer.types.js","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;;AAoPO,MAAMA,YAAe,GAAA,cAAA;"}
|
|
1
|
+
{"version":3,"file":"LayoutRenderer.types.js","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n isSpecialOffer?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n showNearPrice?: boolean;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;;AAsPO,MAAMA,YAAe,GAAA,cAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutRenderer.types.mjs","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;AAoPO,MAAMA,YAAe,GAAA,cAAA;"}
|
|
1
|
+
{"version":3,"file":"LayoutRenderer.types.mjs","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n isSpecialOffer?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n showNearPrice?: boolean;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;AAsPO,MAAMA,YAAe,GAAA,cAAA;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type MicrositeHeroProps } from "./MicrositeHero.types";
|
|
2
|
-
export declare const MicrositeHero: ({ title, subtitle, description, titleMarginTop, buyButton, customButton, video, loop, className, variant, enableBottomGradient, contentMaxWidth, icons, transitions: customTransitions, }: MicrositeHeroProps) => JSX.Element;
|
|
2
|
+
export declare const MicrositeHero: ({ title, subtitle, description, titleMarginTop, buyButton, customButton, video, loop, className, variant, enableBottomGradient, contentMaxWidth, icons, transitions: customTransitions, id, }: MicrositeHeroProps) => JSX.Element;
|
|
@@ -28,7 +28,8 @@ const MicrositeHero = ({
|
|
|
28
28
|
enableBottomGradient,
|
|
29
29
|
contentMaxWidth,
|
|
30
30
|
icons,
|
|
31
|
-
transitions: customTransitions
|
|
31
|
+
transitions: customTransitions,
|
|
32
|
+
id
|
|
32
33
|
}) => {
|
|
33
34
|
const videoRef = react.useRef(null);
|
|
34
35
|
const videoInnerWrapRef = react.useRef(null);
|
|
@@ -43,6 +44,9 @@ const MicrositeHero = ({
|
|
|
43
44
|
const {
|
|
44
45
|
width
|
|
45
46
|
} = reactUse.useWindowSize();
|
|
47
|
+
const [videoOuterWrapRef, {
|
|
48
|
+
width: videoOuterWrapWidth
|
|
49
|
+
}] = reactUse.useMeasure();
|
|
46
50
|
const [isVideoPlaying, setVideoPlaying] = react.useState(false);
|
|
47
51
|
const [loopActive, setLoopActive] = react.useState(false);
|
|
48
52
|
const animateText = react.useCallback(() => {
|
|
@@ -142,7 +146,7 @@ const MicrositeHero = ({
|
|
|
142
146
|
} catch {}
|
|
143
147
|
}, []);
|
|
144
148
|
const aspectRatio = react.useMemo(() => {
|
|
145
|
-
return round__default["default"](video.width / video.height,
|
|
149
|
+
return round__default["default"](video.width / video.height, 2);
|
|
146
150
|
}, [video.height, video.width]);
|
|
147
151
|
const iconBreakPoint = react.useMemo(() => {
|
|
148
152
|
if (!icons?.length) {
|
|
@@ -153,9 +157,14 @@ const MicrositeHero = ({
|
|
|
153
157
|
}, 0);
|
|
154
158
|
}, [icons]);
|
|
155
159
|
const isIconBreakPoint = reactUse.useMedia(`(max-width: ${iconBreakPoint - 1}px)`, false);
|
|
160
|
+
const showHorizontalGradient = react.useMemo(() => {
|
|
161
|
+
const videoWidth = videoRef.current?.clientWidth ?? video.width;
|
|
162
|
+
return width > Math.min(videoWidth, videoOuterWrapWidth);
|
|
163
|
+
}, [video.width, videoOuterWrapWidth, width]);
|
|
156
164
|
return /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.Wrap, {
|
|
157
165
|
className,
|
|
158
166
|
$hasIcons: !!icons?.length,
|
|
167
|
+
id,
|
|
159
168
|
children: [video.slides?.length ? /* @__PURE__ */jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
160
169
|
children: video.slides.map((slide, i) => /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.Slide, {
|
|
161
170
|
active: i === currentSlide,
|
|
@@ -198,13 +207,14 @@ const MicrositeHero = ({
|
|
|
198
207
|
}), customButton]
|
|
199
208
|
})]
|
|
200
209
|
}), /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.VideoOuterWrap, {
|
|
210
|
+
ref: videoOuterWrapRef,
|
|
201
211
|
children: /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.VideoWrap, {
|
|
202
212
|
aspectRatio,
|
|
203
213
|
$variant: variant,
|
|
204
214
|
children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.TopGradient, {}), (enableBottomGradient || icons?.length && isIconBreakPoint) && /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.BottomGradient, {}), /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.VideoInnerWrap, {
|
|
205
215
|
$variant: variant,
|
|
206
216
|
ref: videoInnerWrapRef,
|
|
207
|
-
children: [
|
|
217
|
+
children: [showHorizontalGradient && /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.HorizontalShadows, {
|
|
208
218
|
children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.HorizontalShadowLeft, {}), /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.HorizontalShadowRight, {})]
|
|
209
219
|
}), !isVideoPlaying && /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.PosterImage, {
|
|
210
220
|
src: video?.poster,
|