@ubnt/store.core 9.36.0-alpha.3 → 9.36.0-alpha.30
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 +109 -1
- package/lib/assets/cart-secondary.svg +5 -0
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/close3.svg +3 -2
- package/lib/assets/hosting.png +0 -0
- package/lib/{contexts/MicrositeMenuContext/assets/gbe-1u.png.js → assets/icons/cart-secondary.svg.js} +6 -6
- package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
- package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
- package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
- package/lib/assets/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
- package/lib/assets/multi-gbe.png +0 -0
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus.svg +4 -22
- package/lib/assets/plus2.svg +22 -4
- package/lib/assets/single-gbe.png +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/components/Button/Button.js +7 -0
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.mjs +8 -1
- package/lib/components/Button/Button.mjs.map +1 -1
- package/lib/components/Button/CartButton.d.ts +3 -1
- package/lib/components/Button/CartButton.js +9 -4
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +8 -4
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +3 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +6 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +5 -3
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- package/lib/components/Explore/ExploreData.js +9 -9
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +9 -9
- package/lib/components/Explore/ExploreData.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
- package/lib/components/LoaderDots/LoaderDots.js +3 -1
- package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
- package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js +16 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs +16 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.d.ts +1 -0
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js +10 -4
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs +10 -4
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.js +2 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.mjs +2 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.js +17 -10
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.mjs +17 -10
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js +9 -6
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs +9 -6
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/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/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/express.js +2 -2
- package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +2 -2
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +4 -40
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +4 -20
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +2 -2
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +1 -1
- package/lib/components/ProductWizard/ProductWizard.js +1 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +16 -8
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
- package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/proStoreCategories/mapping/index.d.ts +3 -2
- package/lib/constants/proStoreCategories/mapping/index.js +8 -0
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +8 -0
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +21 -19
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +21 -19
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/assets/{gbe-1u-2.5and10.png.js → hosting.png.js} +6 -6
- package/lib/contexts/MicrositeMenuContext/assets/hosting.png.js.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/hosting.png.mjs +3 -0
- package/lib/contexts/MicrositeMenuContext/assets/hosting.png.mjs.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/index.d.ts +3 -2
- package/lib/contexts/MicrositeMenuContext/assets/index.js +3 -2
- package/lib/contexts/MicrositeMenuContext/assets/index.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/assets/index.mjs +3 -2
- package/lib/contexts/MicrositeMenuContext/assets/index.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.js +27 -0
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.js.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.mjs +3 -0
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.mjs.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.js +27 -0
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.js.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.mjs +3 -0
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.mjs.map +1 -0
- package/lib/contexts/MicrositeMenuContext/mapping.d.ts +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.js +34 -21
- package/lib/contexts/MicrositeMenuContext/mapping.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +31 -19
- package/lib/contexts/MicrositeMenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js +7 -3
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs +7 -3
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations.d.ts +2 -2
- package/lib/contexts/MicrositeMenuContext/types.d.ts +1 -0
- package/lib/contexts/MicrositeMenuContext/types.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/types.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/gbe-1u-2.5and10.png +0 -0
- package/lib/assets/gbe-1u.png +0 -0
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u-2.5and10.png.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u-2.5and10.png.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u-2.5and10.png.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u.png.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u.png.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u.png.mjs.map +0 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
var EN_TRANSLATION = {
|
|
2
2
|
"commons.learnMore": "Learn More",
|
|
3
3
|
"commons.menu.label.compare": "Compare",
|
|
4
|
+
"commons.menu.label.compareAll": "Compare All",
|
|
5
|
+
"commons.menu.label.explore": "Explore",
|
|
4
6
|
"commons.menu.label.new": "New",
|
|
5
7
|
"commons.menu.label.overview": "Overview",
|
|
6
8
|
"menu.action.label.calculateNow": "Calculate Now",
|
|
@@ -30,11 +32,13 @@ var EN_TRANSLATION = {
|
|
|
30
32
|
"menu.label.cloudGateways.overview.description": "High-performance, scalable IT <br> and resilient networking suite.",
|
|
31
33
|
"menu.label.cloudGateways.wifiIntegrated": "WiFi Integrated",
|
|
32
34
|
"menu.label.cloudGateways.wifiIntegrated.description": "A complete UniFi networking <br> stack in a sleek form factor.",
|
|
33
|
-
"menu.label.newIntegrations": "
|
|
35
|
+
"menu.label.newIntegrations": "Integrations",
|
|
34
36
|
"menu.label.newIntegrations.digitalSignage": "Digital Signage",
|
|
35
37
|
"menu.label.newIntegrations.digitalSignage.description": "Plug-and-play <br> digital signage.",
|
|
36
38
|
"menu.label.newIntegrations.evCharging": "EV Charging",
|
|
37
|
-
"menu.label.newIntegrations.evCharging.description": "More than just a powerful
|
|
39
|
+
"menu.label.newIntegrations.evCharging.description": "More than just a powerful<br> EV charger.",
|
|
40
|
+
"menu.label.newIntegrations.hosting": "Hosting",
|
|
41
|
+
"menu.label.newIntegrations.hosting.description": "Cloud Keys and Independent Gateways",
|
|
38
42
|
"menu.label.newIntegrations.managedVoip": "Managed VoIP",
|
|
39
43
|
"menu.label.newIntegrations.managedVoip.description": "A true plug-and-play <br> VoIP solution.",
|
|
40
44
|
"menu.label.newIntegrations.mobileRouting": "Mobile Routing",
|
|
@@ -42,7 +46,7 @@ var EN_TRANSLATION = {
|
|
|
42
46
|
"menu.label.newIntegrations.overview": "New Integrations Overview",
|
|
43
47
|
"menu.label.newIntegrations.overview.description": "New Integrations Overview",
|
|
44
48
|
"menu.label.newIntegrations.premiumAudio": "Premium Audio",
|
|
45
|
-
"menu.label.newIntegrations.premiumAudio.description": "Powerful amp for
|
|
49
|
+
"menu.label.newIntegrations.premiumAudio.description": "Powerful amp for<br> discerning audiophiles.",
|
|
46
50
|
"menu.label.newIntegrations.professionalAV": "Professional A/V",
|
|
47
51
|
"menu.label.newIntegrations.unifiDrive": "UniFi Drive",
|
|
48
52
|
"menu.label.newIntegrations.unifiDrive.description": "Lighting-fast private storage.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Language } from "../../types";
|
|
2
2
|
export declare const useMicrositeMenuTranslations: (language: Language) => {
|
|
3
|
-
intl: import("@formatjs/intl").IntlShape<"commons.learnMore" | "commons.menu.label.compare" | "commons.menu.label.new" | "commons.menu.label.overview" | "menu.action.label.calculateNow" | "menu.description.startHere.caseStudies.education" | "menu.description.startHere.caseStudies.enterprise" | "menu.description.startHere.caseStudies.hospitality" | "menu.description.startHere.caseStudies.industrial" | "menu.description.startHere.caseStudies.retail" | "menu.description.startHere.caseStudies.stadium" | "menu.description.startHere.designCenter.nextAiCamera" | "menu.description.startHere.designCenter.nextAiCyber" | "menu.description.startHere.designCenter.sdWanSase" | "menu.description.startHere.designCenter.siteManager" | "menu.description.startHere.knowledgeCenter.downloads" | "menu.description.startHere.knowledgeCenter.techSpecs" | "menu.description.startHere.knowledgeCenter.training" | "menu.description.startHere.whyUniFi.howItWorks" | "menu.description.startHere.whyUniFi.tcoCalculator" | "menu.label.cloudGateways" | "menu.label.cloudGateways.compact" | "menu.label.cloudGateways.compact.description" | "menu.label.cloudGateways.enterpriseScale" | "menu.label.cloudGateways.enterpriseScale.description" | "menu.label.cloudGateways.largeScale" | "menu.label.cloudGateways.largeScale.description" | "menu.label.cloudGateways.overview" | "menu.label.cloudGateways.overview.description" | "menu.label.cloudGateways.wifiIntegrated" | "menu.label.cloudGateways.wifiIntegrated.description" | "menu.label.newIntegrations" | "menu.label.newIntegrations.digitalSignage" | "menu.label.newIntegrations.digitalSignage.description" | "menu.label.newIntegrations.evCharging" | "menu.label.newIntegrations.evCharging.description" | "menu.label.newIntegrations.managedVoip" | "menu.label.newIntegrations.managedVoip.description" | "menu.label.newIntegrations.mobileRouting" | "menu.label.newIntegrations.mobileRouting.description" | "menu.label.newIntegrations.overview" | "menu.label.newIntegrations.overview.description" | "menu.label.newIntegrations.premiumAudio" | "menu.label.newIntegrations.premiumAudio.description" | "menu.label.newIntegrations.professionalAV" | "menu.label.newIntegrations.unifiDrive" | "menu.label.newIntegrations.unifiDrive.description" | "menu.label.physicalSecurity" | "menu.label.physicalSecurity.bullet" | "menu.label.physicalSecurity.domeTurret" | "menu.label.physicalSecurity.doorAccess" | "menu.label.physicalSecurity.overview" | "menu.label.physicalSecurity.ptz" | "menu.label.physicalSecurity.specialDevices" | "menu.label.physicalSecurity.videoRecorders" | "menu.label.security.bullet" | "menu.label.security.bullet.description" | "menu.label.security.domeAndTurret" | "menu.label.security.domeAndTurret.description" | "menu.label.security.doorAccess" | "menu.label.security.doorAccess.description" | "menu.label.security.overview.description" | "menu.label.security.ptz" | "menu.label.security.ptz.description" | "menu.label.security.specialDevices" | "menu.label.security.specialDevices.description" | "menu.label.security.videoRecorders" | "menu.label.security.videoRecorders.description" | "menu.label.siteManager" | "menu.label.startHere" | "menu.label.startHere.caseStudies" | "menu.label.startHere.caseStudies.education" | "menu.label.startHere.caseStudies.enterprise" | "menu.label.startHere.caseStudies.hospitality" | "menu.label.startHere.caseStudies.industrial" | "menu.label.startHere.caseStudies.retail" | "menu.label.startHere.caseStudies.stadium" | "menu.label.startHere.designCenter" | "menu.label.startHere.designCenter.nextAiCamera" | "menu.label.startHere.designCenter.nextAiCyber" | "menu.label.startHere.designCenter.sdWanSase" | "menu.label.startHere.designCenter.siteManager" | "menu.label.startHere.knowledgeCenter" | "menu.label.startHere.knowledgeCenter.downloads" | "menu.label.startHere.knowledgeCenter.techSpecs" | "menu.label.startHere.knowledgeCenter.training" | "menu.label.startHere.resources" | "menu.label.startHere.siteMap" | "menu.label.startHere.whyUniFi" | "menu.label.startHere.whyUniFi.howItWorks" | "menu.label.startHere.whyUniFi.tcoCalculator" | "menu.label.switching" | "menu.label.switching.aggregation" | "menu.label.switching.aggregation.description" | "menu.label.switching.compact" | "menu.label.switching.compact.description" | "menu.label.switching.coreAggregation" | "menu.label.switching.edge" | "menu.label.switching.gbe.1u" | "menu.label.switching.gbe.1u.10" | "menu.label.switching.gbe.1u.10.description" | "menu.label.switching.gbe.1u.description" | "menu.label.switching.overview" | "menu.label.switching.overview.description" | "menu.label.unifi" | "menu.label.viewSiteMapTopology" | "menu.label.wifi" | "menu.label.wifi.bridging.description" | "menu.label.wifi.buildingBridge" | "menu.label.wifi.flagship" | "menu.label.wifi.flagship.description" | "menu.label.wifi.megaCapacity" | "menu.label.wifi.megaCapacity.description" | "menu.label.wifi.outdoor" | "menu.label.wifi.outdoor.description" | "menu.label.wifi.overview" | "menu.label.wifi.overview.description" | "menu.label.wifi.wall" | "menu.label.wifi.wall.description">;
|
|
4
|
-
formatMessage: (id: "commons.learnMore" | "commons.menu.label.compare" | "commons.menu.label.new" | "commons.menu.label.overview" | "menu.action.label.calculateNow" | "menu.description.startHere.caseStudies.education" | "menu.description.startHere.caseStudies.enterprise" | "menu.description.startHere.caseStudies.hospitality" | "menu.description.startHere.caseStudies.industrial" | "menu.description.startHere.caseStudies.retail" | "menu.description.startHere.caseStudies.stadium" | "menu.description.startHere.designCenter.nextAiCamera" | "menu.description.startHere.designCenter.nextAiCyber" | "menu.description.startHere.designCenter.sdWanSase" | "menu.description.startHere.designCenter.siteManager" | "menu.description.startHere.knowledgeCenter.downloads" | "menu.description.startHere.knowledgeCenter.techSpecs" | "menu.description.startHere.knowledgeCenter.training" | "menu.description.startHere.whyUniFi.howItWorks" | "menu.description.startHere.whyUniFi.tcoCalculator" | "menu.label.cloudGateways" | "menu.label.cloudGateways.compact" | "menu.label.cloudGateways.compact.description" | "menu.label.cloudGateways.enterpriseScale" | "menu.label.cloudGateways.enterpriseScale.description" | "menu.label.cloudGateways.largeScale" | "menu.label.cloudGateways.largeScale.description" | "menu.label.cloudGateways.overview" | "menu.label.cloudGateways.overview.description" | "menu.label.cloudGateways.wifiIntegrated" | "menu.label.cloudGateways.wifiIntegrated.description" | "menu.label.newIntegrations" | "menu.label.newIntegrations.digitalSignage" | "menu.label.newIntegrations.digitalSignage.description" | "menu.label.newIntegrations.evCharging" | "menu.label.newIntegrations.evCharging.description" | "menu.label.newIntegrations.managedVoip" | "menu.label.newIntegrations.managedVoip.description" | "menu.label.newIntegrations.mobileRouting" | "menu.label.newIntegrations.mobileRouting.description" | "menu.label.newIntegrations.overview" | "menu.label.newIntegrations.overview.description" | "menu.label.newIntegrations.premiumAudio" | "menu.label.newIntegrations.premiumAudio.description" | "menu.label.newIntegrations.professionalAV" | "menu.label.newIntegrations.unifiDrive" | "menu.label.newIntegrations.unifiDrive.description" | "menu.label.physicalSecurity" | "menu.label.physicalSecurity.bullet" | "menu.label.physicalSecurity.domeTurret" | "menu.label.physicalSecurity.doorAccess" | "menu.label.physicalSecurity.overview" | "menu.label.physicalSecurity.ptz" | "menu.label.physicalSecurity.specialDevices" | "menu.label.physicalSecurity.videoRecorders" | "menu.label.security.bullet" | "menu.label.security.bullet.description" | "menu.label.security.domeAndTurret" | "menu.label.security.domeAndTurret.description" | "menu.label.security.doorAccess" | "menu.label.security.doorAccess.description" | "menu.label.security.overview.description" | "menu.label.security.ptz" | "menu.label.security.ptz.description" | "menu.label.security.specialDevices" | "menu.label.security.specialDevices.description" | "menu.label.security.videoRecorders" | "menu.label.security.videoRecorders.description" | "menu.label.siteManager" | "menu.label.startHere" | "menu.label.startHere.caseStudies" | "menu.label.startHere.caseStudies.education" | "menu.label.startHere.caseStudies.enterprise" | "menu.label.startHere.caseStudies.hospitality" | "menu.label.startHere.caseStudies.industrial" | "menu.label.startHere.caseStudies.retail" | "menu.label.startHere.caseStudies.stadium" | "menu.label.startHere.designCenter" | "menu.label.startHere.designCenter.nextAiCamera" | "menu.label.startHere.designCenter.nextAiCyber" | "menu.label.startHere.designCenter.sdWanSase" | "menu.label.startHere.designCenter.siteManager" | "menu.label.startHere.knowledgeCenter" | "menu.label.startHere.knowledgeCenter.downloads" | "menu.label.startHere.knowledgeCenter.techSpecs" | "menu.label.startHere.knowledgeCenter.training" | "menu.label.startHere.resources" | "menu.label.startHere.siteMap" | "menu.label.startHere.whyUniFi" | "menu.label.startHere.whyUniFi.howItWorks" | "menu.label.startHere.whyUniFi.tcoCalculator" | "menu.label.switching" | "menu.label.switching.aggregation" | "menu.label.switching.aggregation.description" | "menu.label.switching.compact" | "menu.label.switching.compact.description" | "menu.label.switching.coreAggregation" | "menu.label.switching.edge" | "menu.label.switching.gbe.1u" | "menu.label.switching.gbe.1u.10" | "menu.label.switching.gbe.1u.10.description" | "menu.label.switching.gbe.1u.description" | "menu.label.switching.overview" | "menu.label.switching.overview.description" | "menu.label.unifi" | "menu.label.viewSiteMapTopology" | "menu.label.wifi" | "menu.label.wifi.bridging.description" | "menu.label.wifi.buildingBridge" | "menu.label.wifi.flagship" | "menu.label.wifi.flagship.description" | "menu.label.wifi.megaCapacity" | "menu.label.wifi.megaCapacity.description" | "menu.label.wifi.outdoor" | "menu.label.wifi.outdoor.description" | "menu.label.wifi.overview" | "menu.label.wifi.overview.description" | "menu.label.wifi.wall" | "menu.label.wifi.wall.description", values?: {
|
|
3
|
+
intl: import("@formatjs/intl").IntlShape<"commons.learnMore" | "commons.menu.label.compare" | "commons.menu.label.compareAll" | "commons.menu.label.explore" | "commons.menu.label.new" | "commons.menu.label.overview" | "menu.action.label.calculateNow" | "menu.description.startHere.caseStudies.education" | "menu.description.startHere.caseStudies.enterprise" | "menu.description.startHere.caseStudies.hospitality" | "menu.description.startHere.caseStudies.industrial" | "menu.description.startHere.caseStudies.retail" | "menu.description.startHere.caseStudies.stadium" | "menu.description.startHere.designCenter.nextAiCamera" | "menu.description.startHere.designCenter.nextAiCyber" | "menu.description.startHere.designCenter.sdWanSase" | "menu.description.startHere.designCenter.siteManager" | "menu.description.startHere.knowledgeCenter.downloads" | "menu.description.startHere.knowledgeCenter.techSpecs" | "menu.description.startHere.knowledgeCenter.training" | "menu.description.startHere.whyUniFi.howItWorks" | "menu.description.startHere.whyUniFi.tcoCalculator" | "menu.label.cloudGateways" | "menu.label.cloudGateways.compact" | "menu.label.cloudGateways.compact.description" | "menu.label.cloudGateways.enterpriseScale" | "menu.label.cloudGateways.enterpriseScale.description" | "menu.label.cloudGateways.largeScale" | "menu.label.cloudGateways.largeScale.description" | "menu.label.cloudGateways.overview" | "menu.label.cloudGateways.overview.description" | "menu.label.cloudGateways.wifiIntegrated" | "menu.label.cloudGateways.wifiIntegrated.description" | "menu.label.newIntegrations" | "menu.label.newIntegrations.digitalSignage" | "menu.label.newIntegrations.digitalSignage.description" | "menu.label.newIntegrations.evCharging" | "menu.label.newIntegrations.evCharging.description" | "menu.label.newIntegrations.hosting" | "menu.label.newIntegrations.hosting.description" | "menu.label.newIntegrations.managedVoip" | "menu.label.newIntegrations.managedVoip.description" | "menu.label.newIntegrations.mobileRouting" | "menu.label.newIntegrations.mobileRouting.description" | "menu.label.newIntegrations.overview" | "menu.label.newIntegrations.overview.description" | "menu.label.newIntegrations.premiumAudio" | "menu.label.newIntegrations.premiumAudio.description" | "menu.label.newIntegrations.professionalAV" | "menu.label.newIntegrations.unifiDrive" | "menu.label.newIntegrations.unifiDrive.description" | "menu.label.physicalSecurity" | "menu.label.physicalSecurity.bullet" | "menu.label.physicalSecurity.domeTurret" | "menu.label.physicalSecurity.doorAccess" | "menu.label.physicalSecurity.overview" | "menu.label.physicalSecurity.ptz" | "menu.label.physicalSecurity.specialDevices" | "menu.label.physicalSecurity.videoRecorders" | "menu.label.security.bullet" | "menu.label.security.bullet.description" | "menu.label.security.domeAndTurret" | "menu.label.security.domeAndTurret.description" | "menu.label.security.doorAccess" | "menu.label.security.doorAccess.description" | "menu.label.security.overview.description" | "menu.label.security.ptz" | "menu.label.security.ptz.description" | "menu.label.security.specialDevices" | "menu.label.security.specialDevices.description" | "menu.label.security.videoRecorders" | "menu.label.security.videoRecorders.description" | "menu.label.siteManager" | "menu.label.startHere" | "menu.label.startHere.caseStudies" | "menu.label.startHere.caseStudies.education" | "menu.label.startHere.caseStudies.enterprise" | "menu.label.startHere.caseStudies.hospitality" | "menu.label.startHere.caseStudies.industrial" | "menu.label.startHere.caseStudies.retail" | "menu.label.startHere.caseStudies.stadium" | "menu.label.startHere.designCenter" | "menu.label.startHere.designCenter.nextAiCamera" | "menu.label.startHere.designCenter.nextAiCyber" | "menu.label.startHere.designCenter.sdWanSase" | "menu.label.startHere.designCenter.siteManager" | "menu.label.startHere.knowledgeCenter" | "menu.label.startHere.knowledgeCenter.downloads" | "menu.label.startHere.knowledgeCenter.techSpecs" | "menu.label.startHere.knowledgeCenter.training" | "menu.label.startHere.resources" | "menu.label.startHere.siteMap" | "menu.label.startHere.whyUniFi" | "menu.label.startHere.whyUniFi.howItWorks" | "menu.label.startHere.whyUniFi.tcoCalculator" | "menu.label.switching" | "menu.label.switching.aggregation" | "menu.label.switching.aggregation.description" | "menu.label.switching.compact" | "menu.label.switching.compact.description" | "menu.label.switching.coreAggregation" | "menu.label.switching.edge" | "menu.label.switching.gbe.1u" | "menu.label.switching.gbe.1u.10" | "menu.label.switching.gbe.1u.10.description" | "menu.label.switching.gbe.1u.description" | "menu.label.switching.overview" | "menu.label.switching.overview.description" | "menu.label.unifi" | "menu.label.viewSiteMapTopology" | "menu.label.wifi" | "menu.label.wifi.bridging.description" | "menu.label.wifi.buildingBridge" | "menu.label.wifi.flagship" | "menu.label.wifi.flagship.description" | "menu.label.wifi.megaCapacity" | "menu.label.wifi.megaCapacity.description" | "menu.label.wifi.outdoor" | "menu.label.wifi.outdoor.description" | "menu.label.wifi.overview" | "menu.label.wifi.overview.description" | "menu.label.wifi.wall" | "menu.label.wifi.wall.description">;
|
|
4
|
+
formatMessage: (id: "commons.learnMore" | "commons.menu.label.compare" | "commons.menu.label.compareAll" | "commons.menu.label.explore" | "commons.menu.label.new" | "commons.menu.label.overview" | "menu.action.label.calculateNow" | "menu.description.startHere.caseStudies.education" | "menu.description.startHere.caseStudies.enterprise" | "menu.description.startHere.caseStudies.hospitality" | "menu.description.startHere.caseStudies.industrial" | "menu.description.startHere.caseStudies.retail" | "menu.description.startHere.caseStudies.stadium" | "menu.description.startHere.designCenter.nextAiCamera" | "menu.description.startHere.designCenter.nextAiCyber" | "menu.description.startHere.designCenter.sdWanSase" | "menu.description.startHere.designCenter.siteManager" | "menu.description.startHere.knowledgeCenter.downloads" | "menu.description.startHere.knowledgeCenter.techSpecs" | "menu.description.startHere.knowledgeCenter.training" | "menu.description.startHere.whyUniFi.howItWorks" | "menu.description.startHere.whyUniFi.tcoCalculator" | "menu.label.cloudGateways" | "menu.label.cloudGateways.compact" | "menu.label.cloudGateways.compact.description" | "menu.label.cloudGateways.enterpriseScale" | "menu.label.cloudGateways.enterpriseScale.description" | "menu.label.cloudGateways.largeScale" | "menu.label.cloudGateways.largeScale.description" | "menu.label.cloudGateways.overview" | "menu.label.cloudGateways.overview.description" | "menu.label.cloudGateways.wifiIntegrated" | "menu.label.cloudGateways.wifiIntegrated.description" | "menu.label.newIntegrations" | "menu.label.newIntegrations.digitalSignage" | "menu.label.newIntegrations.digitalSignage.description" | "menu.label.newIntegrations.evCharging" | "menu.label.newIntegrations.evCharging.description" | "menu.label.newIntegrations.hosting" | "menu.label.newIntegrations.hosting.description" | "menu.label.newIntegrations.managedVoip" | "menu.label.newIntegrations.managedVoip.description" | "menu.label.newIntegrations.mobileRouting" | "menu.label.newIntegrations.mobileRouting.description" | "menu.label.newIntegrations.overview" | "menu.label.newIntegrations.overview.description" | "menu.label.newIntegrations.premiumAudio" | "menu.label.newIntegrations.premiumAudio.description" | "menu.label.newIntegrations.professionalAV" | "menu.label.newIntegrations.unifiDrive" | "menu.label.newIntegrations.unifiDrive.description" | "menu.label.physicalSecurity" | "menu.label.physicalSecurity.bullet" | "menu.label.physicalSecurity.domeTurret" | "menu.label.physicalSecurity.doorAccess" | "menu.label.physicalSecurity.overview" | "menu.label.physicalSecurity.ptz" | "menu.label.physicalSecurity.specialDevices" | "menu.label.physicalSecurity.videoRecorders" | "menu.label.security.bullet" | "menu.label.security.bullet.description" | "menu.label.security.domeAndTurret" | "menu.label.security.domeAndTurret.description" | "menu.label.security.doorAccess" | "menu.label.security.doorAccess.description" | "menu.label.security.overview.description" | "menu.label.security.ptz" | "menu.label.security.ptz.description" | "menu.label.security.specialDevices" | "menu.label.security.specialDevices.description" | "menu.label.security.videoRecorders" | "menu.label.security.videoRecorders.description" | "menu.label.siteManager" | "menu.label.startHere" | "menu.label.startHere.caseStudies" | "menu.label.startHere.caseStudies.education" | "menu.label.startHere.caseStudies.enterprise" | "menu.label.startHere.caseStudies.hospitality" | "menu.label.startHere.caseStudies.industrial" | "menu.label.startHere.caseStudies.retail" | "menu.label.startHere.caseStudies.stadium" | "menu.label.startHere.designCenter" | "menu.label.startHere.designCenter.nextAiCamera" | "menu.label.startHere.designCenter.nextAiCyber" | "menu.label.startHere.designCenter.sdWanSase" | "menu.label.startHere.designCenter.siteManager" | "menu.label.startHere.knowledgeCenter" | "menu.label.startHere.knowledgeCenter.downloads" | "menu.label.startHere.knowledgeCenter.techSpecs" | "menu.label.startHere.knowledgeCenter.training" | "menu.label.startHere.resources" | "menu.label.startHere.siteMap" | "menu.label.startHere.whyUniFi" | "menu.label.startHere.whyUniFi.howItWorks" | "menu.label.startHere.whyUniFi.tcoCalculator" | "menu.label.switching" | "menu.label.switching.aggregation" | "menu.label.switching.aggregation.description" | "menu.label.switching.compact" | "menu.label.switching.compact.description" | "menu.label.switching.coreAggregation" | "menu.label.switching.edge" | "menu.label.switching.gbe.1u" | "menu.label.switching.gbe.1u.10" | "menu.label.switching.gbe.1u.10.description" | "menu.label.switching.gbe.1u.description" | "menu.label.switching.overview" | "menu.label.switching.overview.description" | "menu.label.unifi" | "menu.label.viewSiteMapTopology" | "menu.label.wifi" | "menu.label.wifi.bridging.description" | "menu.label.wifi.buildingBridge" | "menu.label.wifi.flagship" | "menu.label.wifi.flagship.description" | "menu.label.wifi.megaCapacity" | "menu.label.wifi.megaCapacity.description" | "menu.label.wifi.outdoor" | "menu.label.wifi.outdoor.description" | "menu.label.wifi.overview" | "menu.label.wifi.overview.description" | "menu.label.wifi.wall" | "menu.label.wifi.wall.description", values?: {
|
|
5
5
|
[x: string]: import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>;
|
|
6
6
|
}) => string;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
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 { Language, 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 ColumnList = \"column-list\",\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 isOverview?: boolean;\n hasDarkText?: boolean;\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 language: Language;\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;EACXA,aAAA,YAAa,CAAA,GAAA,aAAA;EAHVA,OAAAA,YAAAA;AAAA,CAAA,EAAAA,WAAA,IAAA,CAAA,CAAA,CAAA;
|
|
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 { Language, 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 ColumnList = \"column-list\",\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 isOverview?: boolean;\n hasDarkText?: boolean;\n shouldHideCompare?: boolean;\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 language: Language;\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;EACXA,aAAA,YAAa,CAAA,GAAA,aAAA;EAHVA,OAAAA,YAAAA;AAAA,CAAA,EAAAA,WAAA,IAAA,CAAA,CAAA,CAAA;AAwGO,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 +1 @@
|
|
|
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 { Language, 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 ColumnList = \"column-list\",\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 isOverview?: boolean;\n hasDarkText?: boolean;\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 language: Language;\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;EACXA,aAAA,YAAa,CAAA,GAAA,aAAA;EAHVA,OAAAA,YAAAA;AAAA,CAAA,EAAAA,WAAA,IAAA,CAAA,CAAA,CAAA;
|
|
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 { Language, 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 ColumnList = \"column-list\",\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 isOverview?: boolean;\n hasDarkText?: boolean;\n shouldHideCompare?: boolean;\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 language: Language;\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;EACXA,aAAA,YAAa,CAAA,GAAA,aAAA;EAHVA,OAAAA,YAAAA;AAAA,CAAA,EAAAA,WAAA,IAAA,CAAA,CAAA,CAAA;AAwGO,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;"}
|
package/package.json
CHANGED
|
Binary file
|
package/lib/assets/gbe-1u.png
DELETED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gbe-1u-2.5and10.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gbe-1u-2.5and10.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gbe-1u.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gbe-1u.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|