@ubnt/store.core 9.36.0-alpha.3 → 9.36.0-alpha.31
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 +113 -1
- package/lib/assets/cart-secondary.svg +5 -0
- 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/multi-gbe.png +0 -0
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/single-gbe.png +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/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/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/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 +6 -6
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
- 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 +2 -2
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +2 -2
- 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/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 +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/icons/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/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 +35 -22
- package/lib/contexts/MicrositeMenuContext/mapping.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +32 -20
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udmProSpecial.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udmProSpecial.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"udmProSpecial.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udmProSpecial.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport applications from \"../../assets/applications.svg\";\nimport image from \"../../assets/Consoles/udmProSpecial.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { unifiPowerBackup } from \"../properties/unifiPowerBackup\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nexport const udmProSpecial: Product = {\n id: \"udmProSpecial\",\n title: \"udmProSpecial.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udm-se`,\n ],\n storePathParts: {\n productSlug: \"udm-se\",\n category: UniFiChildCategorySlug.CloudGatewaysLargeScale,\n },\n sku: \"UDM-SE\",\n description: \"udmProSpecial.description\",\n image: {\n src: image,\n width: 324,\n height: 130,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: { type: \"translation\", value: \"udmProSpecial.throughput\" },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: { type: \"translation\", value: \"udmProSpecial.idsIpsThroughput\" },\n },\n {\n propertyId: unifiDevices.id,\n value: { type: \"translation\", value: \"udmProSpecial.unifiDevices\" },\n },\n {\n propertyId: clientDevices.id,\n value: { type: \"translation\", value: \"udmProSpecial.clientDevices\" },\n },\n {\n propertyId: wanPorts.id,\n value: { type: \"translation\", value: \"udmProSpecial.wanPorts\" },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udmProSpecial.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udmProSpecial.storage\",\n },\n },\n {\n propertyId: unifiPowerBackup.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"translation\", value: \"udmProSpecial.powerRedundancy\" },\n },\n {\n propertyId: mounting.id,\n value: { type: \"translation\", value: \"commons.mounting.rack\" },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n ],\n};\n"],"names":["udmProSpecial","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","productSlug","category","UniFiChildCategorySlug","CloudGatewaysLargeScale","sku","description","image","src","width","height","propertyValues","propertyId","unifiAppSuite","value","type","StyleableSvgImage","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","unifiPowerBackup","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAqBO,MAAMA,aAAyB,GAAA;EACpCC,EAAI,EAAA,eAAA;EACJC,KAAO,EAAA,qBAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,aAAa,SAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,QAAA;IACbC,UAAUC,sBAAuB,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,QAAA;EACLC,WAAa,EAAA,2BAA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AAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,gBAAiB,CAAAjC,EAAA;IAC7BqB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC,CAAA,EACA;IACEF,YAAYe,eAAgB,CAAAlC,EAAA;IAC5BqB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAgC;EACvE,CAAA,EACA;IACEF,YAAYgB,QAAS,CAAAnC,EAAA;IACrBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAwB;EAC/D,CAAA,EACA;IACEF,YAAYiB,eAAgB,CAAApC,EAAA;IAC5BqB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var styled = require('styled-components');
|
|
5
5
|
require('../../../../constants/proStoreCategories/index.js');
|
|
6
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
6
7
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
7
|
-
var useTranslation = require('../../../../hooks/useTranslation.js');
|
|
8
8
|
require('../../../StyleableSvgImage/index.js');
|
|
9
9
|
require('../../assets/Consoles/bigCompare/udr.jpg.js');
|
|
10
10
|
require('../../assets/wifi-device.svg.js');
|
|
11
|
-
var
|
|
11
|
+
var useModelCompareTranslation = require('../../translations/useModelCompareTranslation.js');
|
|
12
12
|
require('../properties/index.js');
|
|
13
13
|
var clientDevices = require('../properties/clientDevices.js');
|
|
14
14
|
var idsIpsThroughput = require('../properties/idsIpsThroughput.js');
|
|
@@ -22,9 +22,7 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
22
22
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
23
23
|
var wanPorts = require('../properties/wanPorts.js');
|
|
24
24
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
25
|
-
var constants = require('../../../../types/constants.js');
|
|
26
25
|
var applications = require("../../../../assets/wifi-device.svg");
|
|
27
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
28
26
|
var image = require("../../../../assets/udr2.jpg");
|
|
29
27
|
var nextAiInspection = require('../properties/nextAiInspection.js');
|
|
30
28
|
function _interopDefault(e) {
|
|
@@ -54,41 +52,7 @@ const Copy = styled__default["default"].span`
|
|
|
54
52
|
const UniFiAppSuiteCopy = () => {
|
|
55
53
|
const {
|
|
56
54
|
formatMessage
|
|
57
|
-
} =
|
|
58
|
-
defaultTranslation: en["default"],
|
|
59
|
-
additionalTranslations: {
|
|
60
|
-
[constants.Language.Ja]: () => Promise.resolve().then(function () {
|
|
61
|
-
return require('../../translations/ja.json.js');
|
|
62
|
-
}).then(res => res.default),
|
|
63
|
-
[constants.Language.Ar]: () => Promise.resolve().then(function () {
|
|
64
|
-
return require('../../translations/ar.json.js');
|
|
65
|
-
}).then(res => res.default),
|
|
66
|
-
[constants.Language.De]: () => Promise.resolve().then(function () {
|
|
67
|
-
return require('../../translations/de.json.js');
|
|
68
|
-
}).then(res => res.default),
|
|
69
|
-
[constants.Language.Es]: () => Promise.resolve().then(function () {
|
|
70
|
-
return require('../../translations/es.json.js');
|
|
71
|
-
}).then(res => res.default),
|
|
72
|
-
[constants.Language.El]: () => Promise.resolve().then(function () {
|
|
73
|
-
return require('../../translations/el.json.js');
|
|
74
|
-
}).then(res => res.default),
|
|
75
|
-
[constants.Language.It]: () => Promise.resolve().then(function () {
|
|
76
|
-
return require('../../translations/it.json.js');
|
|
77
|
-
}).then(res => res.default),
|
|
78
|
-
[constants.Language.Pt]: () => Promise.resolve().then(function () {
|
|
79
|
-
return require('../../translations/pt-BR.json.js');
|
|
80
|
-
}).then(res => res.default),
|
|
81
|
-
[constants.Language.Zh]: () => Promise.resolve().then(function () {
|
|
82
|
-
return require('../../translations/zh-Hans.json.js');
|
|
83
|
-
}).then(res => res.default),
|
|
84
|
-
[constants.Language.Fr]: () => Promise.resolve().then(function () {
|
|
85
|
-
return require('../../translations/fr.json.js');
|
|
86
|
-
}).then(res => res.default),
|
|
87
|
-
[constants.Language.Tw]: () => Promise.resolve().then(function () {
|
|
88
|
-
return require('../../translations/zh-Hant-TW.json.js');
|
|
89
|
-
}).then(res => res.default)
|
|
90
|
-
}
|
|
91
|
-
});
|
|
55
|
+
} = useModelCompareTranslation.useModelCompareTranslation();
|
|
92
56
|
return /* @__PURE__ */jsxRuntime.jsxs(UniFiAppSuitPropertyWrap, {
|
|
93
57
|
children: [/* @__PURE__ */jsxRuntime.jsx(Icon, {
|
|
94
58
|
src: applications__default["default"],
|
|
@@ -107,7 +71,7 @@ const udr = {
|
|
|
107
71
|
description: "udr.description",
|
|
108
72
|
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.CloudGateways}/udr`],
|
|
109
73
|
storePathParts: {
|
|
110
|
-
category: unifi.
|
|
74
|
+
category: unifi.UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,
|
|
111
75
|
productSlug: "udr"
|
|
112
76
|
},
|
|
113
77
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udr.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udr.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {\n UniFiCategoryId,\n UniFiCategorySlug,\n} from \"../../../../constants/proStoreCategories\";\nimport { Language, SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { useTranslation } from \"../../../../hooks/useTranslation\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/udr.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport EN_TRANSLATION from \"../../translations/en.json\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst appSuiteKey = \"udr.unifiAppSuite\";\n\nconst UniFiAppSuitPropertyWrap = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst Icon = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nconst PlusCharacter = styled.span`\n margin: 0 5px;\n`;\n\nconst Copy = styled.span`\n text-align: start;\n line-height: 1.2;\n`;\n\nconst UniFiAppSuiteCopy = () => {\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"../../translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"../../translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"../../translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"../../translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"../../translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"../../translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"../../translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"../../translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"../../translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"../../translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n return (\n <UniFiAppSuitPropertyWrap>\n <Icon src={applications} height={30} width={144} />\n <PlusCharacter>+</PlusCharacter>\n <Copy>{formatMessage(appSuiteKey)}</Copy>\n </UniFiAppSuitPropertyWrap>\n );\n};\n\nexport const udr: Product = {\n id: \"udr\",\n title: \"udr.title\",\n description: \"udr.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udr`,\n ],\n storePathParts: {\n category: UniFiCategorySlug.CloudGateways,\n productSlug: \"udr\",\n },\n image: {\n src: image,\n width: 175.75,\n height: 182,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <UniFiAppSuiteCopy />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udr.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udr.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udr.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udr.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udr.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udr.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udr.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["appSuiteKey","UniFiAppSuitPropertyWrap","styled","div","Icon","StyleableSvgImageBase","PlusCharacter","span","Copy","UniFiAppSuiteCopy","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","children","jsx","src","applications","height","width","udr","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiCategorySlug","productSlug","image","propertyValues","propertyId","unifiAppSuite","value","type","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,MAAMA,WAAc,GAAA,mBAAA;AAEpB,MAAMC,2BAA2BC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKxC,MAAMC,IAAA,GAAOF,eAAAA,CAAAA,SAAAA,EAAOG,iBAAAA,CAAAA,iBAAqB,CAAA;AAAA;AAAA,CAAA;AAIzC,MAAMC,gBAAgBJ,eAAO,CAAA,SAAA,CAAA,CAAAK,IAAA;AAAA;AAAA,CAAA;AAI7B,MAAMC,OAAON,eAAO,CAAA,SAAA,CAAA,CAAAK,IAAA;AAAA;AAAA;AAAA,CAAA;AAKpB,MAAME,oBAAoBA,CAAA,KAAM;EACxB,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASO,EAAE,GA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":["../../../../../src/components/ModelCompareV3/data/products/udr.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/udr.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { useModelCompareTranslation } from \"../../translations/useModelCompareTranslation\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst appSuiteKey = \"udr.unifiAppSuite\";\n\nconst UniFiAppSuitPropertyWrap = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst Icon = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nconst PlusCharacter = styled.span`\n margin: 0 5px;\n`;\n\nconst Copy = styled.span`\n text-align: start;\n line-height: 1.2;\n`;\n\nconst UniFiAppSuiteCopy = () => {\n const { formatMessage } = useModelCompareTranslation();\n\n return (\n <UniFiAppSuitPropertyWrap>\n <Icon src={applications} height={30} width={144} />\n <PlusCharacter>+</PlusCharacter>\n <Copy>{formatMessage(appSuiteKey)}</Copy>\n </UniFiAppSuitPropertyWrap>\n );\n};\n\nexport const udr: Product = {\n id: \"udr\",\n title: \"udr.title\",\n description: \"udr.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udr`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"udr\",\n },\n image: {\n src: image,\n width: 175.75,\n height: 182,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <UniFiAppSuiteCopy />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udr.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udr.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udr.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udr.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udr.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udr.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udr.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["appSuiteKey","UniFiAppSuitPropertyWrap","styled","div","Icon","StyleableSvgImageBase","PlusCharacter","span","Copy","UniFiAppSuiteCopy","formatMessage","useModelCompareTranslation","children","jsx","src","applications","height","width","udr","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","propertyValues","propertyId","unifiAppSuite","value","type","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,WAAc,GAAA,mBAAA;AAEpB,MAAMC,2BAA2BC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKxC,MAAMC,IAAA,GAAOF,eAAAA,CAAAA,SAAAA,EAAOG,iBAAAA,CAAAA,iBAAqB,CAAA;AAAA;AAAA,CAAA;AAIzC,MAAMC,gBAAgBJ,eAAO,CAAA,SAAA,CAAA,CAAAK,IAAA;AAAA;AAAA,CAAA;AAI7B,MAAMC,OAAON,eAAO,CAAA,SAAA,CAAA,CAAAK,IAAA;AAAA;AAAA;AAAA,CAAA;AAKpB,MAAME,oBAAoBA,CAAA,KAAM;EACxB,MAAA;IAAEC;GAAc,GAAIC,0BAAAA,CAAAA,0BAA2B,EAAA;EAErD,sCACGV,wBACC,EAAA;IAAAW,QAAA,EAAA,CAAA,eAAAC,cAAA,CAACT;MAAKU,GAAK,EAAAC,qBAAAA,CAAAA,SAAAA,CAAA;MAAcC,MAAQ,EAAA,EAAA;MAAIC,OAAO;KAAK,CAAA,EACjDJ,eAAAA,UAAAA,CAAAA,GAAA,CAACP;MAAcM,QAAC,EAAA;IAAA,CAAA,CAAA,EAAA,eACfC,UAAA,CAAAA,GAAA,CAAAL,IAAA,EAAA;MAAMI,QAAc,EAAAF,aAAA,CAAAV,WAAW;IAAE,CAAA,CAAA;EACpC,CAAA,CAAA;AAEJ,CAAA;AAEO,MAAMkB,GAAe,GAAA;EAC1BC,EAAI,EAAA,KAAA;EACJC,KAAO,EAAA,WAAA;EACPC,WAAa,EAAA,iBAAA;EACbC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KA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BAAiB,CAAAA,gBAAA,CAAAzB,EAAA;IAC7BiB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYW,OAAQ,CAAAA,OAAA,CAAA1B,EAAA;IACpBiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYY,eAAgB,CAAAA,eAAA,CAAA3B,EAAA;IAC5BiB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYa,QAAS,CAAAA,QAAA,CAAA5B,EAAA;IACrBiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,eAAgB,CAAAA,eAAA,CAAA7B,EAAA;IAC5BiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import '../../../../constants/proStoreCategories/index.mjs';
|
|
4
|
+
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
4
5
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
5
|
-
import { useTranslation } from '../../../../hooks/useTranslation.mjs';
|
|
6
6
|
import '../../../StyleableSvgImage/index.mjs';
|
|
7
7
|
import '../../assets/Consoles/bigCompare/udr.jpg.mjs';
|
|
8
8
|
import '../../assets/wifi-device.svg.mjs';
|
|
9
|
-
import
|
|
9
|
+
import { useModelCompareTranslation } from '../../translations/useModelCompareTranslation.mjs';
|
|
10
10
|
import '../properties/index.mjs';
|
|
11
11
|
import { clientDevices } from '../properties/clientDevices.mjs';
|
|
12
12
|
import { idsIpsThroughput } from '../properties/idsIpsThroughput.mjs';
|
|
@@ -20,9 +20,7 @@ import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
|
20
20
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
21
21
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
22
22
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
23
|
-
import { Language } from '../../../../types/constants.mjs';
|
|
24
23
|
import applications__default from "../../../../assets/wifi-device.svg";
|
|
25
|
-
import { UniFiCategoryId, UniFiCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
26
24
|
import image__default from "../../../../assets/udr2.jpg";
|
|
27
25
|
import { nextAiInspection } from '../properties/nextAiInspection.mjs';
|
|
28
26
|
"use strict";
|
|
@@ -44,21 +42,7 @@ const Copy = styled.span`
|
|
|
44
42
|
const UniFiAppSuiteCopy = () => {
|
|
45
43
|
const {
|
|
46
44
|
formatMessage
|
|
47
|
-
} =
|
|
48
|
-
defaultTranslation: EN_TRANSLATION,
|
|
49
|
-
additionalTranslations: {
|
|
50
|
-
[Language.Ja]: () => import('../../translations/ja.json.mjs').then(res => res.default),
|
|
51
|
-
[Language.Ar]: () => import('../../translations/ar.json.mjs').then(res => res.default),
|
|
52
|
-
[Language.De]: () => import('../../translations/de.json.mjs').then(res => res.default),
|
|
53
|
-
[Language.Es]: () => import('../../translations/es.json.mjs').then(res => res.default),
|
|
54
|
-
[Language.El]: () => import('../../translations/el.json.mjs').then(res => res.default),
|
|
55
|
-
[Language.It]: () => import('../../translations/it.json.mjs').then(res => res.default),
|
|
56
|
-
[Language.Pt]: () => import('../../translations/pt-BR.json.mjs').then(res => res.default),
|
|
57
|
-
[Language.Zh]: () => import('../../translations/zh-Hans.json.mjs').then(res => res.default),
|
|
58
|
-
[Language.Fr]: () => import('../../translations/fr.json.mjs').then(res => res.default),
|
|
59
|
-
[Language.Tw]: () => import('../../translations/zh-Hant-TW.json.mjs').then(res => res.default)
|
|
60
|
-
}
|
|
61
|
-
});
|
|
45
|
+
} = useModelCompareTranslation();
|
|
62
46
|
return /* @__PURE__ */jsxs(UniFiAppSuitPropertyWrap, {
|
|
63
47
|
children: [/* @__PURE__ */jsx(Icon, {
|
|
64
48
|
src: applications__default,
|
|
@@ -77,7 +61,7 @@ const udr = {
|
|
|
77
61
|
description: "udr.description",
|
|
78
62
|
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.CloudGateways}/udr`],
|
|
79
63
|
storePathParts: {
|
|
80
|
-
category:
|
|
64
|
+
category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,
|
|
81
65
|
productSlug: "udr"
|
|
82
66
|
},
|
|
83
67
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udr.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udr.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"udr.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udr.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/udr.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { useModelCompareTranslation } from \"../../translations/useModelCompareTranslation\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst appSuiteKey = \"udr.unifiAppSuite\";\n\nconst UniFiAppSuitPropertyWrap = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst Icon = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nconst PlusCharacter = styled.span`\n margin: 0 5px;\n`;\n\nconst Copy = styled.span`\n text-align: start;\n line-height: 1.2;\n`;\n\nconst UniFiAppSuiteCopy = () => {\n const { formatMessage } = useModelCompareTranslation();\n\n return (\n <UniFiAppSuitPropertyWrap>\n <Icon src={applications} height={30} width={144} />\n <PlusCharacter>+</PlusCharacter>\n <Copy>{formatMessage(appSuiteKey)}</Copy>\n </UniFiAppSuitPropertyWrap>\n );\n};\n\nexport const udr: Product = {\n id: \"udr\",\n title: \"udr.title\",\n description: \"udr.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udr`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"udr\",\n },\n image: {\n src: image,\n width: 175.75,\n height: 182,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <UniFiAppSuiteCopy />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udr.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udr.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udr.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udr.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udr.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udr.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udr.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udr.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["appSuiteKey","UniFiAppSuitPropertyWrap","styled","div","Icon","StyleableSvgImageBase","PlusCharacter","span","Copy","UniFiAppSuiteCopy","formatMessage","useModelCompareTranslation","children","jsx","src","applications","height","width","udr","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","propertyValues","propertyId","unifiAppSuite","value","type","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,WAAc,GAAA,mBAAA;AAEpB,MAAMC,2BAA2BC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKxC,MAAMC,IAAA,GAAOF,OAAOG,iBAAqB,CAAA;AAAA;AAAA,CAAA;AAIzC,MAAMC,gBAAgBJ,MAAO,CAAAK,IAAA;AAAA;AAAA,CAAA;AAI7B,MAAMC,OAAON,MAAO,CAAAK,IAAA;AAAA;AAAA;AAAA,CAAA;AAKpB,MAAME,oBAAoBA,CAAA,KAAM;EACxB,MAAA;IAAEC;GAAc,GAAIC,0BAA2B,EAAA;EAErD,2BACGV,wBACC,EAAA;IAAAW,QAAA,EAAA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O,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYQ,QAAS,CAAAvB,EAAA;IACrBiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,QAAS,CAAAxB,EAAA;IACrBiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,gBAAiB,CAAAzB,EAAA;IAC7BiB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYW,OAAQ,CAAA1B,EAAA;IACpBiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYY,eAAgB,CAAA3B,EAAA;IAC5BiB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYa,QAAS,CAAA5B,EAAA;IACrBiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,eAAgB,CAAA7B,EAAA;IAC5BiB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
require('../../../../constants/proStoreCategories/index.js');
|
|
5
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
5
6
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
6
7
|
require('../../../StyleableSvgImage/index.js');
|
|
7
8
|
require('../../assets/applications.svg.js');
|
|
@@ -18,7 +19,6 @@ var throughput = require('../properties/throughput.js');
|
|
|
18
19
|
var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
19
20
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
20
21
|
var wanPorts = require('../properties/wanPorts.js');
|
|
21
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
22
22
|
var image = require("../../../../assets/udw2.jpg");
|
|
23
23
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
24
24
|
var applications = require("../../../../assets/applications.svg");
|
|
@@ -37,7 +37,7 @@ const udw = {
|
|
|
37
37
|
description: "udw.description",
|
|
38
38
|
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.CloudGateways}/udw`],
|
|
39
39
|
storePathParts: {
|
|
40
|
-
category: unifi.
|
|
40
|
+
category: unifi.UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,
|
|
41
41
|
productSlug: "udw"
|
|
42
42
|
},
|
|
43
43
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udw.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"udw.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport applications from \"../../assets/applications.svg\";\nimport image from \"../../assets/Consoles/bigCompare/udw.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nexport const udw: Product = {\n id: \"udw\",\n title: \"udw.title\",\n description: \"udw.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udw`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"udw\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n isNew: true,\n notes: [\"udw.notes\"],\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udw.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udw.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udw.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"translation\",\n value: \"udw.powerRedundancy\",\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udw.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udw.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["udw","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","src","width","height","isNew","notes","propertyValues","propertyId","unifiAppSuite","value","type","StyleableSvgImage","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBO,MAAMA,GAAe,GAAA;EAC1BC,EAAI,EAAA,KAAA;EACJC,KAAO,EAAA,WAAA;EACPC,WAAa,EAAA,iBAAA;EACbC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,aAAa,MAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,KAAuB,CAAAA,sBAAA,CAAAC,2BAAA;IACjCC,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAO,EAAA,IAAA;EACPC,KAAA,EAAO,CAAC,WAAW,CAAA;EACnBC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAA,aAAA,CAAArB,EAAA;IAC1BsB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQE,iBAAkB,CAAAA,iBAAA,EAAA;QAAAV,GAAA,EAAKW;QAAcT,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEK,YAAYM,UAAW,CAAAA,UAAA,CAAA1B,EAAA;IACvBsB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;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KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import '../../../../constants/proStoreCategories/index.mjs';
|
|
3
|
+
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
3
4
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
4
5
|
import '../../../StyleableSvgImage/index.mjs';
|
|
5
6
|
import '../../assets/applications.svg.mjs';
|
|
@@ -16,7 +17,6 @@ import { throughput } from '../properties/throughput.mjs';
|
|
|
16
17
|
import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
17
18
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
18
19
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
19
|
-
import { UniFiCategoryId, UniFiCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
20
20
|
import image__default from "../../../../assets/udw2.jpg";
|
|
21
21
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
22
22
|
import applications__default from "../../../../assets/applications.svg";
|
|
@@ -28,7 +28,7 @@ const udw = {
|
|
|
28
28
|
description: "udw.description",
|
|
29
29
|
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.CloudGateways}/udw`],
|
|
30
30
|
storePathParts: {
|
|
31
|
-
category:
|
|
31
|
+
category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,
|
|
32
32
|
productSlug: "udw"
|
|
33
33
|
},
|
|
34
34
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udw.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"udw.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport applications from \"../../assets/applications.svg\";\nimport image from \"../../assets/Consoles/bigCompare/udw.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nexport const udw: Product = {\n id: \"udw\",\n title: \"udw.title\",\n description: \"udw.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udw`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"udw\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n isNew: true,\n notes: [\"udw.notes\"],\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udw.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udw.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udw.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"translation\",\n value: \"udw.powerRedundancy\",\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udw.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udw.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["udw","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","src","width","height","isNew","notes","propertyValues","propertyId","unifiAppSuite","value","type","StyleableSvgImage","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAoBO,MAAMA,GAAe,GAAA;EAC1BC,EAAI,EAAA,KAAA;EACJC,KAAO,EAAA,WAAA;EACPC,WAAa,EAAA,iBAAA;EACbC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,aAAa,MAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,sBAAuB,CAAAC,2BAAA;IACjCC,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAO,EAAA,IAAA;EACPC,KAAA,EAAO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A;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,QAAS,CAAAnC,EAAA;IACrBsB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYgB,eAAgB,CAAApC,EAAA;IAC5BsB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -13,5 +13,5 @@ export declare const SectionWrap: import("styled-components").StyledComponent<"d
|
|
|
13
13
|
export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
14
14
|
export declare const GradientButton: import("styled-components").StyledComponent<({ children, active, className, ...props }: import("../GradientButton/GradientButton.types").GradientButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
15
15
|
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const ScrollWrapper: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const ScrollWrapper: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, alignActive, disableScrollToActive, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
17
17
|
export declare const ScrollOuter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ScrollWrapperProps } from "./ScrollWrapper.types";
|
|
2
|
-
export declare const ScrollWrapper: ({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, }: ScrollWrapperProps) => JSX.Element;
|
|
2
|
+
export declare const ScrollWrapper: ({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, alignActive, disableScrollToActive, }: ScrollWrapperProps) => JSX.Element;
|
|
@@ -35,7 +35,9 @@ const ScrollWrapper = function ScrollWrapper2({
|
|
|
35
35
|
hideArrows,
|
|
36
36
|
onScrollChange,
|
|
37
37
|
enableWheelScroll,
|
|
38
|
-
arrowIcon
|
|
38
|
+
arrowIcon,
|
|
39
|
+
alignActive = "center",
|
|
40
|
+
disableScrollToActive
|
|
39
41
|
}) {
|
|
40
42
|
const containerRef = React.useRef(null);
|
|
41
43
|
const [containerMeasureRef, containerSize] = reactUse.useMeasure();
|
|
@@ -141,10 +143,16 @@ const ScrollWrapper = function ScrollWrapper2({
|
|
|
141
143
|
if (actNav) {
|
|
142
144
|
const actNavRect = actNav.getBoundingClientRect();
|
|
143
145
|
if (direction === "horizontal") {
|
|
144
|
-
if (
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
if (alignActive === "left") {
|
|
147
|
+
if (actNavRect.left < containerRect.left || actNavRect.right > containerRect.right) {
|
|
148
|
+
offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft;
|
|
149
|
+
}
|
|
150
|
+
} else {
|
|
151
|
+
if (actNavRect.right > containerRect.right) {
|
|
152
|
+
offset.left = actNavRect.right - containerRect.right + containerRef.current.scrollLeft + (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) + containerRect.width / 2 - actNavRect.width / 2;
|
|
153
|
+
} else if (actNavRect.left < containerRect.left) {
|
|
154
|
+
offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft - (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) - containerRect.width / 2 + actNavRect.width / 2;
|
|
155
|
+
}
|
|
148
156
|
}
|
|
149
157
|
} else if (direction === "vertical") {
|
|
150
158
|
if (actNavRect.bottom > containerRect.bottom) {
|
|
@@ -155,7 +163,7 @@ const ScrollWrapper = function ScrollWrapper2({
|
|
|
155
163
|
}
|
|
156
164
|
}
|
|
157
165
|
return offset;
|
|
158
|
-
}, [direction, hideArrows]);
|
|
166
|
+
}, [direction, alignActive, hideArrows]);
|
|
159
167
|
const {
|
|
160
168
|
x: refScrollX,
|
|
161
169
|
y: refScrollY
|
|
@@ -266,7 +274,7 @@ const ScrollWrapper = function ScrollWrapper2({
|
|
|
266
274
|
}, [direction, scrollX, scrollY, scrollStepType, gap, getContainerItemWidth, getVisibleItemsWidth, getInvisibleItemOffset]);
|
|
267
275
|
React.useEffect(() => {
|
|
268
276
|
window.setTimeout(() => {
|
|
269
|
-
if (!containerRef.current) return;
|
|
277
|
+
if (!containerRef.current || disableScrollToActive) return;
|
|
270
278
|
if (activeIndex !== void 0 && activeIndex > -1) {
|
|
271
279
|
const offset = getActiveIndexOffset(activeIndex);
|
|
272
280
|
if (offset.left !== void 0) {
|
|
@@ -283,7 +291,7 @@ const ScrollWrapper = function ScrollWrapper2({
|
|
|
283
291
|
});
|
|
284
292
|
}
|
|
285
293
|
}, 0);
|
|
286
|
-
}, [activeIndex, getActiveIndexOffset]);
|
|
294
|
+
}, [activeIndex, getActiveIndexOffset, disableScrollToActive]);
|
|
287
295
|
const arrowIconSrc = React.useMemo(() => {
|
|
288
296
|
const icon = arrowIcon?.icon ?? ArrowRightIcon__default["default"];
|
|
289
297
|
return typeof icon === "string" ? icon : icon.src;
|