@ubnt/store.core 9.4.0-prealpha.2 → 9.5.0-money.4
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 +16 -0
- package/lib/_virtual/_virtual_multi-entry.js +40 -46
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +40 -46
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/assets/digital-signage-mode.svg +7 -0
- package/lib/assets/gps.svg +10 -0
- package/lib/assets/hdmi2.svg +10 -0
- package/lib/assets/industrial.jpg +0 -0
- package/lib/assets/mobileRouting.svg +3 -0
- package/lib/assets/mounting2.svg +13 -0
- package/lib/assets/ucCast.jpg +0 -0
- package/lib/assets/ucCastPro.jpg +0 -0
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/assets/umr-industrial.jpg +0 -0
- package/lib/assets/umr.jpg +0 -0
- package/lib/assets/usb-c.svg +10 -0
- package/lib/assets/video2.svg +3 -0
- package/lib/assets/youtube2.svg +3 -0
- package/lib/components/Header/AccountMenu/AccountMenu.js +3 -3
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +2 -2
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/Header.js +9 -9
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +6 -6
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/IsolatedHeader.js +3 -3
- package/lib/components/Header/IsolatedHeader.js.map +1 -1
- package/lib/components/Header/IsolatedHeader.mjs +2 -2
- package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +5 -7
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +5 -7
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.js +6 -6
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +4 -4
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/LandingPage/Cards/Cards.js +4 -4
- package/lib/components/LandingPage/Cards/Cards.js.map +1 -1
- package/lib/components/LandingPage/Cards/Cards.mjs +3 -3
- package/lib/components/LandingPage/Cards/Cards.mjs.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.d.ts +3 -0
- package/lib/components/LandingPagePro/LandingPagePro.js +3 -3
- package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +2 -2
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +1 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs +1 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +1 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +13 -5
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +13 -5
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.d.ts +1 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.mjs.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.types.d.ts +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +1 -1
- package/lib/components/MobileModal/MobileModal.js +1 -1
- package/lib/components/MobileModal/MobileModal.js.map +1 -1
- package/lib/components/MobileModal/MobileModal.mjs +1 -1
- package/lib/components/MobileModal/MobileModal.mjs.map +1 -1
- package/lib/{assets/icons → components/MobileModal/assets}/arrowDown.svg.js +1 -1
- package/lib/components/MobileModal/assets/arrowDown.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.js +11 -4
- package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.mjs +11 -4
- package/lib/components/ModelCompareV3/ModelCompareV3.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +23 -12
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/{WiFi/flagship.jpg.js → DisplayCast/ucCast.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/DisplayCast/ucCast.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/DisplayCast/ucCast.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/DisplayCast/ucCast.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{WiFi/mega-capacity.jpg.js → DisplayCast/ucCastPro.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/DisplayCast/ucCastPro.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/DisplayCast/ucCastPro.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/DisplayCast/ucCastPro.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{WiFi/flexible-outdoor.jpg.js → MobileRouters/umr-industrial.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr-industrial.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr-industrial.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr-industrial.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{WiFi/wall.jpg.js → MobileRouters/umr.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/MobileRouters/umr.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/Switching/industrial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Switching/industrial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/digital-signage-mode.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/digital-signage-mode.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/digital-signage-mode.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/digital-signage-mode.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/gps.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/gps.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/gps.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/gps.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/hdmi.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/hdmi.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/hdmi.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/hdmi.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/mounting.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/mounting.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/mounting.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/mounting.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/usb-c.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/usb-c.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/usb-c.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/usb-c.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/video.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/video.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/video.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/video.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/youtube.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/youtube.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/youtube.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/youtube.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/{WiFi.d.ts → DisplayCast.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/DisplayCast.js +23 -0
- package/lib/components/ModelCompareV3/data/DisplayCast.js.map +1 -0
- package/lib/components/ModelCompareV3/data/DisplayCast.mjs +21 -0
- package/lib/components/ModelCompareV3/data/DisplayCast.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/MobileRouters.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/MobileRouters.js +35 -0
- package/lib/components/ModelCompareV3/data/MobileRouters.js.map +1 -0
- package/lib/components/ModelCompareV3/data/MobileRouters.mjs +27 -0
- package/lib/components/ModelCompareV3/data/MobileRouters.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/index.d.ts +24 -23
- package/lib/components/ModelCompareV3/data/index.js +50 -47
- package/lib/components/ModelCompareV3/data/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/index.mjs +50 -47
- package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/{wifiWall.d.ts → ucCast.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.js +89 -0
- package/lib/components/ModelCompareV3/data/products/ucCast.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/ucCast.mjs +81 -0
- package/lib/components/ModelCompareV3/data/products/ucCast.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/{wifiFlagship.d.ts → ucCastPro.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.js +90 -0
- package/lib/components/ModelCompareV3/data/products/ucCastPro.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/ucCastPro.mjs +82 -0
- package/lib/components/ModelCompareV3/data/products/ucCastPro.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +0 -1
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +0 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/{wifiMegaCapacity.d.ts → umr.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/products/umr.js +112 -0
- package/lib/components/ModelCompareV3/data/products/umr.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/umr.mjs +104 -0
- package/lib/components/ModelCompareV3/data/products/umr.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/{wifiFlexibleOutdoor.d.ts → umrIndustrial.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.js +109 -0
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs +101 -0
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/carrierSupport.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/carrierSupport.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/carrierSupport.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/carrierSupport.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/carrierSupport.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/cellular.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/cellular.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/cellular.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/cellular.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/cellular.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/digitalSignageMode.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/digitalSignageMode.js +20 -0
- package/lib/components/ModelCompareV3/data/properties/digitalSignageMode.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/digitalSignageMode.mjs +12 -0
- package/lib/components/ModelCompareV3/data/properties/digitalSignageMode.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/gpsLocationTracking.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/gpsLocationTracking.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/gpsLocationTracking.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/gpsLocationTracking.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/gpsLocationTracking.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/hdmiCec.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/hdmiCec.js +20 -0
- package/lib/components/ModelCompareV3/data/properties/hdmiCec.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/hdmiCec.mjs +12 -0
- package/lib/components/ModelCompareV3/data/properties/hdmiCec.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +9 -0
- package/lib/components/ModelCompareV3/data/properties/index.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +9 -0
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/usbCPeripheralSupport.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/usbCPeripheralSupport.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/usbCPeripheralSupport.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/usbCPeripheralSupport.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/usbCPeripheralSupport.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/videoContentSupport.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/videoContentSupport.js +19 -0
- package/lib/components/ModelCompareV3/data/properties/videoContentSupport.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/videoContentSupport.mjs +11 -0
- package/lib/components/ModelCompareV3/data/properties/videoContentSupport.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/webMode.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/webMode.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/webMode.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/webMode.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/webMode.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/wifi.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/wifi.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/wifi.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/wifi.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/wifi.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/youtubeMode.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/youtubeMode.js +20 -0
- package/lib/components/ModelCompareV3/data/properties/youtubeMode.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/youtubeMode.mjs +12 -0
- package/lib/components/ModelCompareV3/data/properties/youtubeMode.mjs.map +1 -0
- package/lib/components/ModelCompareV3/translations/ar.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +50 -63
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +50 -63
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +62 -6
- 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 +62 -6
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +62 -6
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +62 -6
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/index.d.ts +0 -2
- package/lib/components/index.js +30 -34
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +30 -34
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/icons/generic/carouselArrowRight.svg.js +5 -5
- package/lib/constants/icons/generic/index.js +3 -3
- package/lib/constants/icons/header/account.svg.js +5 -5
- package/lib/constants/icons/header/globe.svg.js +5 -5
- package/lib/constants/icons/header/index.js +9 -9
- package/lib/constants/icons/header/logoUnifi.svg.js +5 -5
- package/lib/constants/icons/menu/index.d.ts +1 -1
- package/lib/constants/icons/menu/index.js +9 -9
- package/lib/constants/icons/menu/index.mjs +2 -2
- package/lib/{components/BannerEasySteps/assets/play-outline.svg.js → constants/icons/menu/mobileRouting.svg.js} +6 -6
- package/lib/constants/icons/menu/mobileRouting.svg.js.map +1 -0
- package/lib/constants/icons/menu/mobileRouting.svg.mjs +3 -0
- package/lib/constants/icons/menu/mobileRouting.svg.mjs.map +1 -0
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/contexts/MenuContext/mapping.js +6 -4
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +5 -3
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/types.js.map +1 -1
- package/lib/contexts/MenuContext/types.mjs.map +1 -1
- package/lib/contexts/MenuContext/utils.d.ts +1 -6
- package/lib/contexts/MenuContext/utils.js +0 -16
- package/lib/contexts/MenuContext/utils.js.map +1 -1
- package/lib/contexts/MenuContext/utils.mjs +1 -16
- package/lib/contexts/MenuContext/utils.mjs.map +1 -1
- package/lib/contexts/index.d.ts +0 -1
- package/lib/contexts/index.js +0 -2
- package/lib/contexts/index.js.map +1 -1
- package/lib/contexts/index.mjs +0 -2
- package/lib/contexts/index.mjs.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.d.ts +26 -0
- package/lib/utils/money/allocators/fixedAmount.js +55 -0
- package/lib/utils/money/allocators/fixedAmount.js.map +1 -0
- package/lib/utils/money/allocators/fixedAmount.mjs +53 -0
- package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -0
- package/lib/utils/money/allocators/index.d.ts +1 -0
- package/lib/utils/money/allocators/index.js +6 -0
- package/lib/utils/money/allocators/index.mjs +3 -0
- package/lib/utils/money/constants.d.ts +56 -25
- package/lib/utils/money/constants.js +72 -7
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +70 -7
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/money/exchangeRate.d.ts +31 -0
- package/lib/utils/money/exchangeRate.js +27 -0
- package/lib/utils/money/exchangeRate.js.map +1 -0
- package/lib/utils/money/exchangeRate.mjs +23 -0
- package/lib/utils/money/exchangeRate.mjs.map +1 -0
- package/lib/utils/money/format.d.ts +10 -5
- package/lib/utils/money/format.js +22 -14
- package/lib/utils/money/format.js.map +1 -1
- package/lib/utils/money/format.mjs +23 -16
- package/lib/utils/money/format.mjs.map +1 -1
- package/lib/utils/money/index.d.ts +4 -1
- package/lib/utils/money/index.js +26 -8
- package/lib/utils/money/index.js.map +1 -1
- package/lib/utils/money/index.mjs +8 -4
- package/lib/utils/money/index.mjs.map +1 -1
- package/lib/utils/money/misc.d.ts +68 -28
- package/lib/utils/money/misc.js +35 -64
- package/lib/utils/money/misc.js.map +1 -1
- package/lib/utils/money/misc.mjs +32 -43
- package/lib/utils/money/misc.mjs.map +1 -1
- package/lib/utils/money/misc.private.d.ts +23 -0
- package/lib/utils/money/misc.private.js +46 -0
- package/lib/utils/money/misc.private.js.map +1 -0
- package/lib/utils/money/misc.private.mjs +21 -0
- package/lib/utils/money/misc.private.mjs.map +1 -0
- package/lib/utils/money/shipping.d.ts +5 -0
- package/lib/utils/money/shipping.js +8 -0
- package/lib/utils/money/shipping.js.map +1 -0
- package/lib/utils/money/shipping.mjs +6 -0
- package/lib/utils/money/shipping.mjs.map +1 -0
- package/lib/utils/money/tax.d.ts +38 -2
- package/lib/utils/money/tax.js +46 -10
- package/lib/utils/money/tax.js.map +1 -1
- package/lib/utils/money/tax.mjs +42 -11
- package/lib/utils/money/tax.mjs.map +1 -1
- package/lib/utils/money/tax.private.d.ts +17 -0
- package/lib/utils/money/tax.private.js +65 -0
- package/lib/utils/money/tax.private.js.map +1 -0
- package/lib/utils/money/tax.private.mjs +60 -0
- package/lib/utils/money/tax.private.mjs.map +1 -0
- package/lib/utils/money/types.d.ts +64 -3
- package/lib/utils/number.d.ts +1 -1
- package/lib/utils/number.js +1 -1
- package/lib/utils/number.js.map +1 -1
- package/lib/utils/number.mjs +1 -1
- package/lib/utils/number.mjs.map +1 -1
- package/lib/utils/tax/index.d.ts +1 -1
- package/lib/utils/tax/index.js +8 -1
- package/lib/utils/tax/index.js.map +1 -1
- package/lib/utils/tax/index.mjs +8 -1
- package/lib/utils/tax/index.mjs.map +1 -1
- package/lib/utils/tax/types.d.ts +2 -1
- package/lib/utils/tax/types.js +1 -0
- package/lib/utils/tax/types.js.map +1 -1
- package/lib/utils/tax/types.mjs +1 -0
- package/lib/utils/tax/types.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/education.jpg +0 -0
- package/lib/assets/enterprise.jpg +0 -0
- package/lib/assets/flagship.jpg +0 -0
- package/lib/assets/flexible-outdoor.jpg +0 -0
- package/lib/assets/hospitality.jpg +0 -0
- package/lib/assets/how-it-works.jpg +0 -0
- package/lib/assets/icons/arrowDown.svg.mjs +0 -3
- package/lib/assets/industrial2.jpg +0 -0
- package/lib/assets/mega-capacity.jpg +0 -0
- package/lib/assets/nextai-camera.jpg +0 -0
- package/lib/assets/nextai-cyber.jpg +0 -0
- package/lib/assets/overview.svg +0 -3
- package/lib/assets/play-outline.svg +0 -3
- package/lib/assets/retail.jpg +0 -0
- package/lib/assets/sd-wan-sase.jpg +0 -0
- package/lib/assets/site-manager.jpg +0 -0
- package/lib/assets/stadium.jpg +0 -0
- package/lib/assets/tco-calculator.jpg +0 -0
- package/lib/assets/wall.jpg +0 -0
- package/lib/components/BannerEasySteps/BannerEasySteps.d.ts +0 -2
- package/lib/components/BannerEasySteps/BannerEasySteps.js +0 -74
- package/lib/components/BannerEasySteps/BannerEasySteps.js.map +0 -1
- package/lib/components/BannerEasySteps/BannerEasySteps.mjs +0 -66
- package/lib/components/BannerEasySteps/BannerEasySteps.mjs.map +0 -1
- package/lib/components/BannerEasySteps/BannerEasySteps.styles.d.ts +0 -13
- package/lib/components/BannerEasySteps/BannerEasySteps.styles.js +0 -127
- package/lib/components/BannerEasySteps/BannerEasySteps.styles.js.map +0 -1
- package/lib/components/BannerEasySteps/BannerEasySteps.styles.mjs +0 -114
- package/lib/components/BannerEasySteps/BannerEasySteps.styles.mjs.map +0 -1
- package/lib/components/BannerEasySteps/BannerEasySteps.types.d.ts +0 -15
- package/lib/components/BannerEasySteps/assets/play-outline.svg.js.map +0 -1
- package/lib/components/BannerEasySteps/assets/play-outline.svg.mjs +0 -3
- package/lib/components/BannerEasySteps/assets/play-outline.svg.mjs.map +0 -1
- package/lib/components/BannerEasySteps/index.d.ts +0 -1
- package/lib/components/BannerEasySteps/index.js +0 -6
- package/lib/components/BannerEasySteps/index.mjs +0 -3
- package/lib/components/MicrositeHeader/MicrositeHeader.d.ts +0 -2
- package/lib/components/MicrositeHeader/MicrositeHeader.js +0 -35
- package/lib/components/MicrositeHeader/MicrositeHeader.js.map +0 -1
- package/lib/components/MicrositeHeader/MicrositeHeader.mjs +0 -33
- package/lib/components/MicrositeHeader/MicrositeHeader.mjs.map +0 -1
- package/lib/components/MicrositeHeader/MicrositeHeader.styles.d.ts +0 -2
- package/lib/components/MicrositeHeader/MicrositeHeader.styles.js +0 -29
- package/lib/components/MicrositeHeader/MicrositeHeader.styles.js.map +0 -1
- package/lib/components/MicrositeHeader/MicrositeHeader.styles.mjs +0 -20
- package/lib/components/MicrositeHeader/MicrositeHeader.styles.mjs.map +0 -1
- package/lib/components/MicrositeHeader/MicrositeHeader.types.d.ts +0 -5
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.d.ts +0 -2
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +0 -149
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js.map +0 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.mjs +0 -141
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.d.ts +0 -46
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js +0 -369
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js.map +0 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs +0 -341
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.types.d.ts +0 -20
- package/lib/components/MicrositeHeader/components/DropdownMenu/index.d.ts +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.d.ts +0 -2
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.js +0 -209
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.js.map +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.mjs +0 -198
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.d.ts +0 -22
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +0 -148
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs +0 -126
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.types.d.ts +0 -10
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/index.d.ts +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/index.js +0 -6
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/index.js.map +0 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/index.mjs +0 -3
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/index.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.d.ts +0 -2
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.js +0 -71
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.js.map +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.mjs +0 -69
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.styles.d.ts +0 -13
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.styles.js +0 -104
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.styles.js.map +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.styles.mjs +0 -89
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.styles.mjs.map +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/SecondLevelMenu.types.d.ts +0 -11
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/index.d.ts +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/index.js +0 -6
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/index.js.map +0 -1
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/index.mjs +0 -3
- package/lib/components/MicrositeHeader/components/SecondLevelMenu/index.mjs.map +0 -1
- package/lib/components/MicrositeHeader/index.d.ts +0 -1
- package/lib/components/MicrositeHeader/index.js +0 -6
- package/lib/components/MicrositeHeader/index.js.map +0 -1
- package/lib/components/MicrositeHeader/index.mjs +0 -3
- package/lib/components/MicrositeHeader/index.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/flagship.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/flagship.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/WiFi/flagship.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/flexible-outdoor.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/flexible-outdoor.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/WiFi/flexible-outdoor.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/mega-capacity.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/mega-capacity.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/WiFi/mega-capacity.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/wall.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/WiFi/wall.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/WiFi/wall.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/WiFi.js +0 -23
- package/lib/components/ModelCompareV3/data/WiFi.js.map +0 -1
- package/lib/components/ModelCompareV3/data/WiFi.mjs +0 -21
- package/lib/components/ModelCompareV3/data/WiFi.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiFlagship.js +0 -70
- package/lib/components/ModelCompareV3/data/products/wifiFlagship.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiFlagship.mjs +0 -62
- package/lib/components/ModelCompareV3/data/products/wifiFlagship.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiFlexibleOutdoor.js +0 -73
- package/lib/components/ModelCompareV3/data/products/wifiFlexibleOutdoor.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiFlexibleOutdoor.mjs +0 -65
- package/lib/components/ModelCompareV3/data/products/wifiFlexibleOutdoor.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiMegaCapacity.js +0 -73
- package/lib/components/ModelCompareV3/data/products/wifiMegaCapacity.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiMegaCapacity.mjs +0 -65
- package/lib/components/ModelCompareV3/data/products/wifiMegaCapacity.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiWall.js +0 -74
- package/lib/components/ModelCompareV3/data/products/wifiWall.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/wifiWall.mjs +0 -66
- package/lib/components/ModelCompareV3/data/products/wifiWall.mjs.map +0 -1
- package/lib/constants/icons/menu/overview.svg.js +0 -27
- package/lib/constants/icons/menu/overview.svg.js.map +0 -1
- package/lib/constants/icons/menu/overview.svg.mjs +0 -3
- package/lib/constants/icons/menu/overview.svg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/education.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/education.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/education.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/education.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/enterprise.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/enterprise.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/enterprise.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/enterprise.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/hospitality.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/hospitality.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/hospitality.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/hospitality.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/how-it-works.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/how-it-works.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/how-it-works.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/how-it-works.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/index.d.ts +0 -12
- package/lib/contexts/MicrositeMenuContext/assets/index.js +0 -16
- package/lib/contexts/MicrositeMenuContext/assets/index.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/index.mjs +0 -14
- package/lib/contexts/MicrositeMenuContext/assets/index.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/industrial.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/industrial.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/industrial.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/industrial.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/nextai-camera.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/nextai-camera.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/nextai-camera.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/nextai-camera.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/nextai-cyber.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/nextai-cyber.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/nextai-cyber.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/nextai-cyber.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/retail.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/retail.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/retail.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/retail.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/sd-wan-sase.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/sd-wan-sase.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/sd-wan-sase.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/sd-wan-sase.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/site-manager.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/site-manager.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/site-manager.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/site-manager.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/stadium.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/stadium.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/stadium.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/stadium.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/tco-calculator.jpg.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/tco-calculator.jpg.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/tco-calculator.jpg.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/tco-calculator.jpg.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/context.d.ts +0 -37
- package/lib/contexts/MicrositeMenuContext/context.js +0 -137
- package/lib/contexts/MicrositeMenuContext/context.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/context.mjs +0 -113
- package/lib/contexts/MicrositeMenuContext/context.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/index.d.ts +0 -1
- package/lib/contexts/MicrositeMenuContext/index.js +0 -8
- package/lib/contexts/MicrositeMenuContext/index.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/index.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/index.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/mapping.d.ts +0 -4
- package/lib/contexts/MicrositeMenuContext/mapping.js +0 -547
- package/lib/contexts/MicrositeMenuContext/mapping.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +0 -499
- package/lib/contexts/MicrositeMenuContext/mapping.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/ar.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/ar.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/ar.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/ar.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/de.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/de.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/de.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/de.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/el.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/el.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/el.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/el.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js +0 -81
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs +0 -76
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/es.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/es.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/es.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/es.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/fr.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/fr.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/fr.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/fr.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/it.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/it.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/it.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/it.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/ja.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/ja.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/ja.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/ja.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/pt-BR.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/pt-BR.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/pt-BR.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/pt-BR.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hans.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hans.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hans.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hans.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hant-TW.json.js +0 -8
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hant-TW.json.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hant-TW.json.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/translations/zh-Hant-TW.json.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/types.d.ts +0 -98
- package/lib/contexts/MicrositeMenuContext/types.js +0 -15
- package/lib/contexts/MicrositeMenuContext/types.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/types.mjs +0 -14
- package/lib/contexts/MicrositeMenuContext/types.mjs.map +0 -1
- package/lib/utils/validations.d.ts +0 -15
- package/lib/utils/validations.js +0 -23
- package/lib/utils/validations.js.map +0 -1
- package/lib/utils/validations.mjs +0 -21
- package/lib/utils/validations.mjs.map +0 -1
- /package/lib/{assets/icons → components/MobileModal/assets}/arrowDown.svg.js.map +0 -0
- /package/lib/{assets/icons → components/MobileModal/assets}/arrowDown.svg.mjs.map +0 -0
- /package/lib/{components/BannerEasySteps → utils/money/allocators}/index.js.map +0 -0
- /package/lib/{components/BannerEasySteps → utils/money/allocators}/index.mjs.map +0 -0
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var EN_TRANSLATION = {
|
|
7
|
-
"commons.learnMore": "Learn More",
|
|
8
|
-
"commons.menu.label.overview": "Overview",
|
|
9
|
-
"menu.action.label.calculateNow": "Calculate Now",
|
|
10
|
-
"menu.description.startHere.caseStudies.education": "See how Ubiquiti solutions improved network reliability and performance in educational institutions, benefiting students and staff.",
|
|
11
|
-
"menu.description.startHere.caseStudies.enterprise": "Learn how Ubiquiti helped enterprises streamline their IT infrastructure, reducing costs and boosting productivity.",
|
|
12
|
-
"menu.description.startHere.caseStudies.hospitality": "Discover how Ubiquiti transformed connectivity in hotels, enhancing guest experiences and operational efficiency.",
|
|
13
|
-
"menu.description.startHere.caseStudies.industrial": "Find out how Ubiquiti's robust solutions enhanced connectivity and efficiency in industrial environments.",
|
|
14
|
-
"menu.description.startHere.caseStudies.retail": "Explore how Ubiquiti enabled retailers to optimize their networks, improving customer satisfaction and store management.",
|
|
15
|
-
"menu.description.startHere.caseStudies.stadium": "FedExForum is a premier, multi-purpose indoor arena that's home to the NBA's Memphis Grizzlies. The 800,000 ft² campus seats 18,000 and...",
|
|
16
|
-
"menu.description.startHere.designCenter.nextAiCamera": "See how Ubiquiti solutions improved network reliability and performance in educational institutions, benefiting students and staff.",
|
|
17
|
-
"menu.description.startHere.designCenter.nextAiCyber": "Discover how Ubiquiti transformed connectivity in hotels, enhancing guest experiences and operational efficiency.",
|
|
18
|
-
"menu.description.startHere.designCenter.sdWanSase": "Learn how Ubiquiti helped enterprises streamline their IT infrastructure, reducing costs and boosting productivity.",
|
|
19
|
-
"menu.description.startHere.designCenter.siteManager": "FedExForum is a premier, multi-purpose indoor arena that's home to the NBA's Memphis Grizzlies. The 800,000 ft² campus seats 18,000 and...",
|
|
20
|
-
"menu.description.startHere.whyUniFi.howItWorks": "Networking, physical security, and more - all unified in an intuitive software interface with scalable, license-free cloud management.",
|
|
21
|
-
"menu.description.startHere.whyUniFi.tcoCalculator": "Helps businesses assess the long-term financial benefits of using Ubiquiti solutions by comparing costs and expenses comprehensively.",
|
|
22
|
-
"menu.label.cloudGateways": "Cloud Gateways",
|
|
23
|
-
"menu.label.cloudGateways.compact": "Compact",
|
|
24
|
-
"menu.label.cloudGateways.largeScale": "Large Scale",
|
|
25
|
-
"menu.label.cloudGateways.overview": "Cloud Gateways Overview",
|
|
26
|
-
"menu.label.cloudGateways.wifiIntegrated": "WiFi Integrated",
|
|
27
|
-
"menu.label.newIntegrations": "New Integrations",
|
|
28
|
-
"menu.label.newIntegrations.evCharging": "EV Charging",
|
|
29
|
-
"menu.label.newIntegrations.managedVoip": "Managed VoIP",
|
|
30
|
-
"menu.label.newIntegrations.mobileRouting": "Mobile Routing",
|
|
31
|
-
"menu.label.newIntegrations.overview": "New Integrations Overview",
|
|
32
|
-
"menu.label.newIntegrations.professionalAV": "Professional A/V",
|
|
33
|
-
"menu.label.physicalSecurity": "Physical Security",
|
|
34
|
-
"menu.label.physicalSecurity.bullet": "Bullet",
|
|
35
|
-
"menu.label.physicalSecurity.compact": "Compact",
|
|
36
|
-
"menu.label.physicalSecurity.controlHubs": "Control Hubs",
|
|
37
|
-
"menu.label.physicalSecurity.domeTurret": "Dome & Turret",
|
|
38
|
-
"menu.label.physicalSecurity.intercoms": "Intercoms",
|
|
39
|
-
"menu.label.physicalSecurity.interiorDesign": "Interior Design",
|
|
40
|
-
"menu.label.physicalSecurity.overview": "Physical Security Overview",
|
|
41
|
-
"menu.label.physicalSecurity.ptz": "PTZ",
|
|
42
|
-
"menu.label.physicalSecurity.readers": "Readers",
|
|
43
|
-
"menu.label.physicalSecurity.specialDevices": "Special Devices",
|
|
44
|
-
"menu.label.physicalSecurity.videoRecorders": "Video Recorders",
|
|
45
|
-
"menu.label.siteManager": "Site Manager",
|
|
46
|
-
"menu.label.startHere": "Start Here",
|
|
47
|
-
"menu.label.startHere.caseStudies": "Case Studies",
|
|
48
|
-
"menu.label.startHere.caseStudies.education": "Education",
|
|
49
|
-
"menu.label.startHere.caseStudies.enterprise": "Enterprise",
|
|
50
|
-
"menu.label.startHere.caseStudies.hospitality": "Hospitality",
|
|
51
|
-
"menu.label.startHere.caseStudies.industrial": "Industrial",
|
|
52
|
-
"menu.label.startHere.caseStudies.retail": "Retail",
|
|
53
|
-
"menu.label.startHere.caseStudies.stadium": "Stadium",
|
|
54
|
-
"menu.label.startHere.designCenter": "Design Center",
|
|
55
|
-
"menu.label.startHere.designCenter.nextAiCamera": "NextAI Camera",
|
|
56
|
-
"menu.label.startHere.designCenter.nextAiCyber": "NextAI Cyber",
|
|
57
|
-
"menu.label.startHere.designCenter.sdWanSase": "SD-WAN/SASE",
|
|
58
|
-
"menu.label.startHere.designCenter.siteManager": "Site Manager",
|
|
59
|
-
"menu.label.startHere.resources": "Resources",
|
|
60
|
-
"menu.label.startHere.training": "Training",
|
|
61
|
-
"menu.label.startHere.whyUniFi": "Why UniFi",
|
|
62
|
-
"menu.label.startHere.whyUniFi.howItWorks": "How it Works",
|
|
63
|
-
"menu.label.startHere.whyUniFi.tcoCalculator": "TCO Calculator",
|
|
64
|
-
"menu.label.switching": "Switching",
|
|
65
|
-
"menu.label.switching.enterprise": "Enterprise",
|
|
66
|
-
"menu.label.switching.overview": "Switching Overview",
|
|
67
|
-
"menu.label.switching.professional": "Professional",
|
|
68
|
-
"menu.label.switching.professionalMax": "Professional Max",
|
|
69
|
-
"menu.label.switching.standard": "Standard",
|
|
70
|
-
"menu.label.switching.utility": "Utility",
|
|
71
|
-
"menu.label.unifi": "UniFi",
|
|
72
|
-
"menu.label.wifi": "WiFi",
|
|
73
|
-
"menu.label.wifi.buildingBridge": "Building Bridge",
|
|
74
|
-
"menu.label.wifi.flagship": "Flagship",
|
|
75
|
-
"menu.label.wifi.megaCapacity": "Mega Capacity",
|
|
76
|
-
"menu.label.wifi.outdoor": "Outdoor",
|
|
77
|
-
"menu.label.wifi.overview": "WiFi Overview",
|
|
78
|
-
"menu.label.wifi.wall": "Wall"
|
|
79
|
-
};
|
|
80
|
-
exports["default"] = EN_TRANSLATION;
|
|
81
|
-
//# sourceMappingURL=en.json.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var EN_TRANSLATION = {
|
|
2
|
-
"commons.learnMore": "Learn More",
|
|
3
|
-
"commons.menu.label.overview": "Overview",
|
|
4
|
-
"menu.action.label.calculateNow": "Calculate Now",
|
|
5
|
-
"menu.description.startHere.caseStudies.education": "See how Ubiquiti solutions improved network reliability and performance in educational institutions, benefiting students and staff.",
|
|
6
|
-
"menu.description.startHere.caseStudies.enterprise": "Learn how Ubiquiti helped enterprises streamline their IT infrastructure, reducing costs and boosting productivity.",
|
|
7
|
-
"menu.description.startHere.caseStudies.hospitality": "Discover how Ubiquiti transformed connectivity in hotels, enhancing guest experiences and operational efficiency.",
|
|
8
|
-
"menu.description.startHere.caseStudies.industrial": "Find out how Ubiquiti's robust solutions enhanced connectivity and efficiency in industrial environments.",
|
|
9
|
-
"menu.description.startHere.caseStudies.retail": "Explore how Ubiquiti enabled retailers to optimize their networks, improving customer satisfaction and store management.",
|
|
10
|
-
"menu.description.startHere.caseStudies.stadium": "FedExForum is a premier, multi-purpose indoor arena that's home to the NBA's Memphis Grizzlies. The 800,000 ft² campus seats 18,000 and...",
|
|
11
|
-
"menu.description.startHere.designCenter.nextAiCamera": "See how Ubiquiti solutions improved network reliability and performance in educational institutions, benefiting students and staff.",
|
|
12
|
-
"menu.description.startHere.designCenter.nextAiCyber": "Discover how Ubiquiti transformed connectivity in hotels, enhancing guest experiences and operational efficiency.",
|
|
13
|
-
"menu.description.startHere.designCenter.sdWanSase": "Learn how Ubiquiti helped enterprises streamline their IT infrastructure, reducing costs and boosting productivity.",
|
|
14
|
-
"menu.description.startHere.designCenter.siteManager": "FedExForum is a premier, multi-purpose indoor arena that's home to the NBA's Memphis Grizzlies. The 800,000 ft² campus seats 18,000 and...",
|
|
15
|
-
"menu.description.startHere.whyUniFi.howItWorks": "Networking, physical security, and more - all unified in an intuitive software interface with scalable, license-free cloud management.",
|
|
16
|
-
"menu.description.startHere.whyUniFi.tcoCalculator": "Helps businesses assess the long-term financial benefits of using Ubiquiti solutions by comparing costs and expenses comprehensively.",
|
|
17
|
-
"menu.label.cloudGateways": "Cloud Gateways",
|
|
18
|
-
"menu.label.cloudGateways.compact": "Compact",
|
|
19
|
-
"menu.label.cloudGateways.largeScale": "Large Scale",
|
|
20
|
-
"menu.label.cloudGateways.overview": "Cloud Gateways Overview",
|
|
21
|
-
"menu.label.cloudGateways.wifiIntegrated": "WiFi Integrated",
|
|
22
|
-
"menu.label.newIntegrations": "New Integrations",
|
|
23
|
-
"menu.label.newIntegrations.evCharging": "EV Charging",
|
|
24
|
-
"menu.label.newIntegrations.managedVoip": "Managed VoIP",
|
|
25
|
-
"menu.label.newIntegrations.mobileRouting": "Mobile Routing",
|
|
26
|
-
"menu.label.newIntegrations.overview": "New Integrations Overview",
|
|
27
|
-
"menu.label.newIntegrations.professionalAV": "Professional A/V",
|
|
28
|
-
"menu.label.physicalSecurity": "Physical Security",
|
|
29
|
-
"menu.label.physicalSecurity.bullet": "Bullet",
|
|
30
|
-
"menu.label.physicalSecurity.compact": "Compact",
|
|
31
|
-
"menu.label.physicalSecurity.controlHubs": "Control Hubs",
|
|
32
|
-
"menu.label.physicalSecurity.domeTurret": "Dome & Turret",
|
|
33
|
-
"menu.label.physicalSecurity.intercoms": "Intercoms",
|
|
34
|
-
"menu.label.physicalSecurity.interiorDesign": "Interior Design",
|
|
35
|
-
"menu.label.physicalSecurity.overview": "Physical Security Overview",
|
|
36
|
-
"menu.label.physicalSecurity.ptz": "PTZ",
|
|
37
|
-
"menu.label.physicalSecurity.readers": "Readers",
|
|
38
|
-
"menu.label.physicalSecurity.specialDevices": "Special Devices",
|
|
39
|
-
"menu.label.physicalSecurity.videoRecorders": "Video Recorders",
|
|
40
|
-
"menu.label.siteManager": "Site Manager",
|
|
41
|
-
"menu.label.startHere": "Start Here",
|
|
42
|
-
"menu.label.startHere.caseStudies": "Case Studies",
|
|
43
|
-
"menu.label.startHere.caseStudies.education": "Education",
|
|
44
|
-
"menu.label.startHere.caseStudies.enterprise": "Enterprise",
|
|
45
|
-
"menu.label.startHere.caseStudies.hospitality": "Hospitality",
|
|
46
|
-
"menu.label.startHere.caseStudies.industrial": "Industrial",
|
|
47
|
-
"menu.label.startHere.caseStudies.retail": "Retail",
|
|
48
|
-
"menu.label.startHere.caseStudies.stadium": "Stadium",
|
|
49
|
-
"menu.label.startHere.designCenter": "Design Center",
|
|
50
|
-
"menu.label.startHere.designCenter.nextAiCamera": "NextAI Camera",
|
|
51
|
-
"menu.label.startHere.designCenter.nextAiCyber": "NextAI Cyber",
|
|
52
|
-
"menu.label.startHere.designCenter.sdWanSase": "SD-WAN/SASE",
|
|
53
|
-
"menu.label.startHere.designCenter.siteManager": "Site Manager",
|
|
54
|
-
"menu.label.startHere.resources": "Resources",
|
|
55
|
-
"menu.label.startHere.training": "Training",
|
|
56
|
-
"menu.label.startHere.whyUniFi": "Why UniFi",
|
|
57
|
-
"menu.label.startHere.whyUniFi.howItWorks": "How it Works",
|
|
58
|
-
"menu.label.startHere.whyUniFi.tcoCalculator": "TCO Calculator",
|
|
59
|
-
"menu.label.switching": "Switching",
|
|
60
|
-
"menu.label.switching.enterprise": "Enterprise",
|
|
61
|
-
"menu.label.switching.overview": "Switching Overview",
|
|
62
|
-
"menu.label.switching.professional": "Professional",
|
|
63
|
-
"menu.label.switching.professionalMax": "Professional Max",
|
|
64
|
-
"menu.label.switching.standard": "Standard",
|
|
65
|
-
"menu.label.switching.utility": "Utility",
|
|
66
|
-
"menu.label.unifi": "UniFi",
|
|
67
|
-
"menu.label.wifi": "WiFi",
|
|
68
|
-
"menu.label.wifi.buildingBridge": "Building Bridge",
|
|
69
|
-
"menu.label.wifi.flagship": "Flagship",
|
|
70
|
-
"menu.label.wifi.megaCapacity": "Mega Capacity",
|
|
71
|
-
"menu.label.wifi.outdoor": "Outdoor",
|
|
72
|
-
"menu.label.wifi.overview": "WiFi Overview",
|
|
73
|
-
"menu.label.wifi.wall": "Wall"
|
|
74
|
-
};
|
|
75
|
-
export { EN_TRANSLATION as default };
|
|
76
|
-
//# sourceMappingURL=en.json.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"es.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"it.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"it.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ja.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ja.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pt-BR.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pt-BR.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hant-TW.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import type { StaticImageData } from "next/image";
|
|
2
|
-
import type { HeaderAccountCustomer } from "../../components/Header/Header.types";
|
|
3
|
-
import type { Nullish } from "../../types";
|
|
4
|
-
import type { SiteUrl } from "../MenuContext/mapping";
|
|
5
|
-
import type EN_TRANSLATIONS from "./translations/en.json";
|
|
6
|
-
type TranslationKey = keyof typeof EN_TRANSLATIONS;
|
|
7
|
-
declare enum ItemVariant {
|
|
8
|
-
Default = "default",
|
|
9
|
-
Dropdown = "dropdown"
|
|
10
|
-
}
|
|
11
|
-
type MicrositeHeaderItemBase = {
|
|
12
|
-
/**
|
|
13
|
-
* Unique identifier of the item
|
|
14
|
-
*/
|
|
15
|
-
id: string;
|
|
16
|
-
/**
|
|
17
|
-
* Label of the item
|
|
18
|
-
*/
|
|
19
|
-
label: TranslationKey;
|
|
20
|
-
/**
|
|
21
|
-
* Label of the item when if menu is collapsed (e.g. Overview -> Switching Overview)
|
|
22
|
-
*/
|
|
23
|
-
collapsedLabel?: TranslationKey;
|
|
24
|
-
/**
|
|
25
|
-
* Description of the item
|
|
26
|
-
*/
|
|
27
|
-
description?: TranslationKey;
|
|
28
|
-
/**
|
|
29
|
-
* Action label of the item (e.g. "Learn more")
|
|
30
|
-
*/
|
|
31
|
-
actionLabel?: TranslationKey;
|
|
32
|
-
/**
|
|
33
|
-
* Image of the item
|
|
34
|
-
*/
|
|
35
|
-
image?: StaticImageData | string;
|
|
36
|
-
/**
|
|
37
|
-
* Groups of the items
|
|
38
|
-
*/
|
|
39
|
-
groups?: number[];
|
|
40
|
-
/**
|
|
41
|
-
* Icon of the item
|
|
42
|
-
*/
|
|
43
|
-
icon?: {
|
|
44
|
-
src: StaticImageData | string;
|
|
45
|
-
height: number;
|
|
46
|
-
width: number;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Flag to indicate if the item is new (blue indicator)
|
|
50
|
-
*/
|
|
51
|
-
isNew?: boolean;
|
|
52
|
-
};
|
|
53
|
-
export type MicrositeHeaderItem = MicrositeHeaderItemBase & ({
|
|
54
|
-
url: SiteUrl | string;
|
|
55
|
-
/**
|
|
56
|
-
* If there is no items, we cannot show a dropdown since there is nothing to show
|
|
57
|
-
*/
|
|
58
|
-
variant?: `${ItemVariant.Default}`;
|
|
59
|
-
items?: never;
|
|
60
|
-
} | {
|
|
61
|
-
url?: SiteUrl | string;
|
|
62
|
-
/**
|
|
63
|
-
* If there are items, we can show a dropdown or a default navigation
|
|
64
|
-
*/
|
|
65
|
-
variant?: `${ItemVariant}`;
|
|
66
|
-
items: MicrositeHeaderItem[];
|
|
67
|
-
});
|
|
68
|
-
export type ParsedMicrositeHeaderItem = Omit<MicrositeHeaderItem, "url" | "items" | "label" | "collapsedLabel" | "description" | "actionLabel"> & {
|
|
69
|
-
label: string;
|
|
70
|
-
collapsedLabel?: string;
|
|
71
|
-
description?: string;
|
|
72
|
-
actionLabel?: string;
|
|
73
|
-
url: string;
|
|
74
|
-
active: boolean;
|
|
75
|
-
possible: boolean;
|
|
76
|
-
items?: ParsedMicrositeHeaderItem[];
|
|
77
|
-
};
|
|
78
|
-
export interface HeaderAccount {
|
|
79
|
-
loading?: boolean;
|
|
80
|
-
customer?: Nullish<HeaderAccountCustomer>;
|
|
81
|
-
handleLogin?: () => void;
|
|
82
|
-
handleLogout?: () => void;
|
|
83
|
-
handleRegister?: () => void;
|
|
84
|
-
handleManageAccount?: () => void;
|
|
85
|
-
handleOrderHistory?: () => void;
|
|
86
|
-
renderStorePicker?: (onClose: () => void) => JSX.Element;
|
|
87
|
-
}
|
|
88
|
-
export declare enum ModalId {
|
|
89
|
-
Account = "account",
|
|
90
|
-
Language = "language"
|
|
91
|
-
}
|
|
92
|
-
export type MicrositeMenuContextValue = {
|
|
93
|
-
menu: ParsedMicrositeHeaderItem;
|
|
94
|
-
activeModal: ModalId | null;
|
|
95
|
-
prevActiveModal: ModalId | null;
|
|
96
|
-
setActiveModal: (id: ModalId | null) => void;
|
|
97
|
-
};
|
|
98
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var ItemVariant = /* @__PURE__ */(ItemVariant2 => {
|
|
5
|
-
ItemVariant2["Default"] = "default";
|
|
6
|
-
ItemVariant2["Dropdown"] = "dropdown";
|
|
7
|
-
return ItemVariant2;
|
|
8
|
-
})(ItemVariant || {});
|
|
9
|
-
var ModalId = /* @__PURE__ */(ModalId2 => {
|
|
10
|
-
ModalId2["Account"] = "account";
|
|
11
|
-
ModalId2["Language"] = "language";
|
|
12
|
-
return ModalId2;
|
|
13
|
-
})(ModalId || {});
|
|
14
|
-
exports.ModalId = ModalId;
|
|
15
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../../src/contexts/MicrositeMenuContext/types.ts"],"sourcesContent":["import type { StaticImageData } from \"next/image\";\n\nimport type { HeaderAccountCustomer } from \"../../components/Header/Header.types\";\nimport type { Nullish } from \"../../types\";\nimport type { SiteUrl } from \"../MenuContext/mapping\";\nimport type EN_TRANSLATIONS from \"./translations/en.json\";\n\n// #############################################################################\n// Translations\n// #############################################################################\ntype TranslationKey = keyof typeof EN_TRANSLATIONS;\n\n// #############################################################################\n// Mapping types\n// #############################################################################\nenum ItemVariant {\n Default = \"default\",\n Dropdown = \"dropdown\",\n}\n\ntype MicrositeHeaderItemBase = {\n /**\n * Unique identifier of the item\n */\n id: string;\n /**\n * Label of the item\n */\n label: TranslationKey;\n /**\n * Label of the item when if menu is collapsed (e.g. Overview -> Switching Overview)\n */\n collapsedLabel?: TranslationKey;\n /**\n * Description of the item\n */\n description?: TranslationKey;\n /**\n * Action label of the item (e.g. \"Learn more\")\n */\n actionLabel?: TranslationKey;\n /**\n * Image of the item\n */\n image?: StaticImageData | string;\n\n /**\n * Groups of the items\n */\n groups?: number[];\n\n /**\n * Icon of the item\n */\n icon?: {\n src: StaticImageData | string;\n height: number;\n width: number;\n };\n\n /**\n * Flag to indicate if the item is new (blue indicator)\n */\n isNew?: boolean;\n};\n\nexport type MicrositeHeaderItem = MicrositeHeaderItemBase &\n (\n | {\n url: SiteUrl | string; // TODO: Decouple from MenuContext\n /**\n * If there is no items, we cannot show a dropdown since there is nothing to show\n */\n variant?: `${ItemVariant.Default}`;\n items?: never;\n }\n | {\n url?: SiteUrl | string; // TODO: Decouple from MenuContext\n /**\n * If there are items, we can show a dropdown or a default navigation\n */\n variant?: `${ItemVariant}`;\n items: MicrositeHeaderItem[];\n }\n );\n\n// #############################################################################\n// Microsite menu context value\n// #############################################################################\nexport type ParsedMicrositeHeaderItem = Omit<\n MicrositeHeaderItem,\n \"url\" | \"items\" | \"label\" | \"collapsedLabel\" | \"description\" | \"actionLabel\"\n> & {\n label: string;\n collapsedLabel?: string;\n description?: string;\n actionLabel?: string;\n url: string;\n active: boolean;\n possible: boolean;\n items?: ParsedMicrositeHeaderItem[];\n};\n\nexport interface HeaderAccount {\n loading?: boolean;\n customer?: Nullish<HeaderAccountCustomer>;\n handleLogin?: () => void;\n handleLogout?: () => void;\n handleRegister?: () => void;\n handleManageAccount?: () => void;\n handleOrderHistory?: () => void;\n renderStorePicker?: (onClose: () => void) => JSX.Element;\n}\n\nexport enum ModalId {\n // Support = \"support\",\n Account = \"account\",\n // Cart = \"cart\",\n Language = \"language\",\n // MobileMenu = \"mobileMenu\",\n // ProMobileMenu = \"proMobileMenu\",\n // Search = \"search\",\n}\n\nexport type MicrositeMenuContextValue = {\n menu: ParsedMicrositeHeaderItem;\n\n // Modals\n activeModal: ModalId | null;\n prevActiveModal: ModalId | null;\n setActiveModal: (id: ModalId | null) => void;\n};\n"],"names":["ItemVariant","ModalId"],"mappings":";;;AAeA,IAAKA,WAAA,GAAA,gBAAAA,YAAL,IAAA;EACEA,aAAA,SAAU,CAAA,GAAA,SAAA;EACVA,aAAA,UAAW,CAAA,GAAA,UAAA;EAFRA,OAAAA,YAAAA;AAAA,CAAA,EAAAA,WAAA,IAAA,CAAA,CAAA,CAAA;AAmGO,IAAAC,OAAA,GAAA,gBAAAA,QAAL,IAAA;EAELA,SAAA,SAAU,CAAA,GAAA,SAAA;EAEVA,SAAA,UAAW,CAAA,GAAA,UAAA;EAJDA,OAAAA,QAAAA;AAAA,CAAA,EAAAA,OAAA,IAAA,CAAA,CAAA,CAAA;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var ItemVariant = /* @__PURE__ */(ItemVariant2 => {
|
|
4
|
-
ItemVariant2["Default"] = "default";
|
|
5
|
-
ItemVariant2["Dropdown"] = "dropdown";
|
|
6
|
-
return ItemVariant2;
|
|
7
|
-
})(ItemVariant || {});
|
|
8
|
-
var ModalId = /* @__PURE__ */(ModalId2 => {
|
|
9
|
-
ModalId2["Account"] = "account";
|
|
10
|
-
ModalId2["Language"] = "language";
|
|
11
|
-
return ModalId2;
|
|
12
|
-
})(ModalId || {});
|
|
13
|
-
export { ModalId };
|
|
14
|
-
//# sourceMappingURL=types.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","sources":["../../../src/contexts/MicrositeMenuContext/types.ts"],"sourcesContent":["import type { StaticImageData } from \"next/image\";\n\nimport type { HeaderAccountCustomer } from \"../../components/Header/Header.types\";\nimport type { Nullish } from \"../../types\";\nimport type { SiteUrl } from \"../MenuContext/mapping\";\nimport type EN_TRANSLATIONS from \"./translations/en.json\";\n\n// #############################################################################\n// Translations\n// #############################################################################\ntype TranslationKey = keyof typeof EN_TRANSLATIONS;\n\n// #############################################################################\n// Mapping types\n// #############################################################################\nenum ItemVariant {\n Default = \"default\",\n Dropdown = \"dropdown\",\n}\n\ntype MicrositeHeaderItemBase = {\n /**\n * Unique identifier of the item\n */\n id: string;\n /**\n * Label of the item\n */\n label: TranslationKey;\n /**\n * Label of the item when if menu is collapsed (e.g. Overview -> Switching Overview)\n */\n collapsedLabel?: TranslationKey;\n /**\n * Description of the item\n */\n description?: TranslationKey;\n /**\n * Action label of the item (e.g. \"Learn more\")\n */\n actionLabel?: TranslationKey;\n /**\n * Image of the item\n */\n image?: StaticImageData | string;\n\n /**\n * Groups of the items\n */\n groups?: number[];\n\n /**\n * Icon of the item\n */\n icon?: {\n src: StaticImageData | string;\n height: number;\n width: number;\n };\n\n /**\n * Flag to indicate if the item is new (blue indicator)\n */\n isNew?: boolean;\n};\n\nexport type MicrositeHeaderItem = MicrositeHeaderItemBase &\n (\n | {\n url: SiteUrl | string; // TODO: Decouple from MenuContext\n /**\n * If there is no items, we cannot show a dropdown since there is nothing to show\n */\n variant?: `${ItemVariant.Default}`;\n items?: never;\n }\n | {\n url?: SiteUrl | string; // TODO: Decouple from MenuContext\n /**\n * If there are items, we can show a dropdown or a default navigation\n */\n variant?: `${ItemVariant}`;\n items: MicrositeHeaderItem[];\n }\n );\n\n// #############################################################################\n// Microsite menu context value\n// #############################################################################\nexport type ParsedMicrositeHeaderItem = Omit<\n MicrositeHeaderItem,\n \"url\" | \"items\" | \"label\" | \"collapsedLabel\" | \"description\" | \"actionLabel\"\n> & {\n label: string;\n collapsedLabel?: string;\n description?: string;\n actionLabel?: string;\n url: string;\n active: boolean;\n possible: boolean;\n items?: ParsedMicrositeHeaderItem[];\n};\n\nexport interface HeaderAccount {\n loading?: boolean;\n customer?: Nullish<HeaderAccountCustomer>;\n handleLogin?: () => void;\n handleLogout?: () => void;\n handleRegister?: () => void;\n handleManageAccount?: () => void;\n handleOrderHistory?: () => void;\n renderStorePicker?: (onClose: () => void) => JSX.Element;\n}\n\nexport enum ModalId {\n // Support = \"support\",\n Account = \"account\",\n // Cart = \"cart\",\n Language = \"language\",\n // MobileMenu = \"mobileMenu\",\n // ProMobileMenu = \"proMobileMenu\",\n // Search = \"search\",\n}\n\nexport type MicrositeMenuContextValue = {\n menu: ParsedMicrositeHeaderItem;\n\n // Modals\n activeModal: ModalId | null;\n prevActiveModal: ModalId | null;\n setActiveModal: (id: ModalId | null) => void;\n};\n"],"names":["ItemVariant","ModalId"],"mappings":";;AAeA,IAAKA,WAAA,GAAA,gBAAAA,YAAL,IAAA;EACEA,aAAA,SAAU,CAAA,GAAA,SAAA;EACVA,aAAA,UAAW,CAAA,GAAA,UAAA;EAFRA,OAAAA,YAAAA;AAAA,CAAA,EAAAA,WAAA,IAAA,CAAA,CAAA,CAAA;AAmGO,IAAAC,OAAA,GAAA,gBAAAA,QAAL,IAAA;EAELA,SAAA,SAAU,CAAA,GAAA,SAAA;EAEVA,SAAA,UAAW,CAAA,GAAA,UAAA;EAJDA,OAAAA,QAAAA;AAAA,CAAA,EAAAA,OAAA,IAAA,CAAA,CAAA,CAAA;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Util to easily parse that any given input is a finite number (not NaN, Infinity, -Infinity, etc.)
|
|
3
|
-
* @throws If given input is not a finite number
|
|
4
|
-
*/
|
|
5
|
-
export declare function isFiniteNumber(value: unknown, entity?: string, ErrorClass?: new (message: string) => void): asserts value is number;
|
|
6
|
-
/**
|
|
7
|
-
* Custom isInt validation function that returns a more fine-grained error message otherwise for type safety alone a
|
|
8
|
-
* Number.isSafeInteger would be sufficient.
|
|
9
|
-
*
|
|
10
|
-
* Code inspired from graphql-scalars library.
|
|
11
|
-
* @see
|
|
12
|
-
* https://github.com/Urigo/graphql-scalars/blob/c4fa3d27b965e39ceda6c33fc18041f112ecce49/src/scalars/utilities.ts#L20-L32
|
|
13
|
-
* @throws If given input is not a valid integer
|
|
14
|
-
*/
|
|
15
|
-
export declare function isInt(value: unknown, entity?: string, ErrorClass?: new (message: string) => void): asserts value is number;
|
package/lib/utils/validations.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
function isFiniteNumber(value, entity = "Value", ErrorClass = TypeError) {
|
|
5
|
-
if (typeof value !== "number" || Number.isNaN(value)) {
|
|
6
|
-
throw new ErrorClass(`${entity} is not a number: ${value}`);
|
|
7
|
-
}
|
|
8
|
-
if (!Number.isFinite(value)) {
|
|
9
|
-
throw new ErrorClass(`${entity} is not a finite number: ${value}`);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function isInt(value, entity = "Value", ErrorClass = TypeError) {
|
|
13
|
-
isFiniteNumber(value, entity, ErrorClass);
|
|
14
|
-
if (!Number.isInteger(value)) {
|
|
15
|
-
throw new ErrorClass(`${entity} is not an integer: ${value}`);
|
|
16
|
-
}
|
|
17
|
-
if (!Number.isSafeInteger(value)) {
|
|
18
|
-
throw new ErrorClass(`${entity} is not a safe integer: ${value}`);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.isFiniteNumber = isFiniteNumber;
|
|
22
|
-
exports.isInt = isInt;
|
|
23
|
-
//# sourceMappingURL=validations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validations.js","sources":["../../src/utils/validations.ts"],"sourcesContent":["/**\n * Util to easily parse that any given input is a finite number (not NaN, Infinity, -Infinity, etc.)\n * @throws If given input is not a finite number\n */\nexport function isFiniteNumber(\n value: unknown,\n entity = \"Value\",\n ErrorClass: new (message: string) => void = TypeError,\n): asserts value is number {\n if (typeof value !== \"number\" || Number.isNaN(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not a number: ${value}`);\n }\n\n if (!Number.isFinite(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not a finite number: ${value}`);\n }\n}\n\n/**\n * Custom isInt validation function that returns a more fine-grained error message otherwise for type safety alone a\n * Number.isSafeInteger would be sufficient.\n *\n * Code inspired from graphql-scalars library.\n * @see\n * https://github.com/Urigo/graphql-scalars/blob/c4fa3d27b965e39ceda6c33fc18041f112ecce49/src/scalars/utilities.ts#L20-L32\n * @throws If given input is not a valid integer\n */\nexport function isInt(\n value: unknown,\n entity = \"Value\",\n ErrorClass: new (message: string) => void = TypeError,\n): asserts value is number {\n isFiniteNumber(value, entity, ErrorClass);\n\n if (!Number.isInteger(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not an integer: ${value}`);\n }\n\n if (!Number.isSafeInteger(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not a safe integer: ${value}`);\n }\n}\n"],"names":["isFiniteNumber","value","entity","ErrorClass","TypeError","Number","isNaN","isFinite","isInt","isInteger","isSafeInteger"],"mappings":";;;AAIO,SAASA,cACdA,CAAAC,KAAA,EACAC,MAAS,GAAA,OAAA,EACTC,aAA4CC,SACnB,EAAA;EACzB,IAAI,OAAOH,KAAU,KAAA,QAAA,IAAYI,MAAO,CAAAC,KAAA,CAAML,KAAK,CAAG,EAAA;IAEpD,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,qBAAqBD,KAAO,EAAA,CAAA;EAC5D;EAEA,IAAI,CAACI,MAAA,CAAOE,QAAS,CAAAN,KAAK,CAAG,EAAA;IAE3B,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,4BAA4BD,KAAO,EAAA,CAAA;EACnE;AACF;AAWO,SAASO,KACdA,CAAAP,KAAA,EACAC,MAAS,GAAA,OAAA,EACTC,aAA4CC,SACnB,EAAA;EACVJ,cAAA,CAAAC,KAAA,EAAOC,QAAQC,UAAU,CAAA;EAExC,IAAI,CAACE,MAAA,CAAOI,SAAU,CAAAR,KAAK,CAAG,EAAA;IAE5B,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,uBAAuBD,KAAO,EAAA,CAAA;EAC9D;EAEA,IAAI,CAACI,MAAA,CAAOK,aAAc,CAAAT,KAAK,CAAG,EAAA;IAEhC,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,2BAA2BD,KAAO,EAAA,CAAA;EAClE;AACF;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function isFiniteNumber(value, entity = "Value", ErrorClass = TypeError) {
|
|
4
|
-
if (typeof value !== "number" || Number.isNaN(value)) {
|
|
5
|
-
throw new ErrorClass(`${entity} is not a number: ${value}`);
|
|
6
|
-
}
|
|
7
|
-
if (!Number.isFinite(value)) {
|
|
8
|
-
throw new ErrorClass(`${entity} is not a finite number: ${value}`);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
function isInt(value, entity = "Value", ErrorClass = TypeError) {
|
|
12
|
-
isFiniteNumber(value, entity, ErrorClass);
|
|
13
|
-
if (!Number.isInteger(value)) {
|
|
14
|
-
throw new ErrorClass(`${entity} is not an integer: ${value}`);
|
|
15
|
-
}
|
|
16
|
-
if (!Number.isSafeInteger(value)) {
|
|
17
|
-
throw new ErrorClass(`${entity} is not a safe integer: ${value}`);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export { isFiniteNumber, isInt };
|
|
21
|
-
//# sourceMappingURL=validations.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validations.mjs","sources":["../../src/utils/validations.ts"],"sourcesContent":["/**\n * Util to easily parse that any given input is a finite number (not NaN, Infinity, -Infinity, etc.)\n * @throws If given input is not a finite number\n */\nexport function isFiniteNumber(\n value: unknown,\n entity = \"Value\",\n ErrorClass: new (message: string) => void = TypeError,\n): asserts value is number {\n if (typeof value !== \"number\" || Number.isNaN(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not a number: ${value}`);\n }\n\n if (!Number.isFinite(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not a finite number: ${value}`);\n }\n}\n\n/**\n * Custom isInt validation function that returns a more fine-grained error message otherwise for type safety alone a\n * Number.isSafeInteger would be sufficient.\n *\n * Code inspired from graphql-scalars library.\n * @see\n * https://github.com/Urigo/graphql-scalars/blob/c4fa3d27b965e39ceda6c33fc18041f112ecce49/src/scalars/utilities.ts#L20-L32\n * @throws If given input is not a valid integer\n */\nexport function isInt(\n value: unknown,\n entity = \"Value\",\n ErrorClass: new (message: string) => void = TypeError,\n): asserts value is number {\n isFiniteNumber(value, entity, ErrorClass);\n\n if (!Number.isInteger(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not an integer: ${value}`);\n }\n\n if (!Number.isSafeInteger(value)) {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw new ErrorClass(`${entity} is not a safe integer: ${value}`);\n }\n}\n"],"names":["isFiniteNumber","value","entity","ErrorClass","TypeError","Number","isNaN","isFinite","isInt","isInteger","isSafeInteger"],"mappings":";;AAIO,SAASA,cACdA,CAAAC,KAAA,EACAC,MAAS,GAAA,OAAA,EACTC,aAA4CC,SACnB,EAAA;EACzB,IAAI,OAAOH,KAAU,KAAA,QAAA,IAAYI,MAAO,CAAAC,KAAA,CAAML,KAAK,CAAG,EAAA;IAEpD,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,qBAAqBD,KAAO,EAAA,CAAA;EAC5D;EAEA,IAAI,CAACI,MAAA,CAAOE,QAAS,CAAAN,KAAK,CAAG,EAAA;IAE3B,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,4BAA4BD,KAAO,EAAA,CAAA;EACnE;AACF;AAWO,SAASO,KACdA,CAAAP,KAAA,EACAC,MAAS,GAAA,OAAA,EACTC,aAA4CC,SACnB,EAAA;EACVJ,cAAA,CAAAC,KAAA,EAAOC,QAAQC,UAAU,CAAA;EAExC,IAAI,CAACE,MAAA,CAAOI,SAAU,CAAAR,KAAK,CAAG,EAAA;IAE5B,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,uBAAuBD,KAAO,EAAA,CAAA;EAC9D;EAEA,IAAI,CAACI,MAAA,CAAOK,aAAc,CAAAT,KAAK,CAAG,EAAA;IAEhC,MAAM,IAAIE,UAAW,CAAA,GAAGD,MAAM,2BAA2BD,KAAO,EAAA,CAAA;EAClE;AACF;"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|