@ubnt/store.core 9.28.0-alpha.2 → 9.28.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/lib/assets/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
- package/lib/assets/plus.svg +4 -22
- package/lib/assets/plus2.svg +22 -4
- package/lib/components/Button/CartButton.js +6 -4
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +6 -4
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/Explore/ExploreData.js +1 -1
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +1 -1
- 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/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/Header/AccountMenu/AccountMenu.styles.d.ts +3 -3
- package/lib/components/InputSelect/InputSelect.styles.d.ts +1 -1
- package/lib/components/ModelCompareV3/data/VideoRecorders.js +2 -2
- package/lib/components/ModelCompareV3/data/VideoRecorders.js.map +1 -1
- package/lib/components/ModelCompareV3/data/VideoRecorders.mjs +2 -2
- package/lib/components/ModelCompareV3/data/VideoRecorders.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/envr.js +0 -11
- package/lib/components/ModelCompareV3/data/products/envr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/envr.mjs +0 -11
- package/lib/components/ModelCompareV3/data/products/envr.mjs.map +1 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +1 -1
- package/lib/components/ProductGrid/ProductGrid.styles.d.ts +1 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +3 -3
- 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/Tooltip/Tooltip.styles.d.ts +5 -5
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +3 -3
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +3 -3
- package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -2
- package/lib/constants/proStoreCategories/mapping/index.js +2 -2
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +2 -2
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js +8 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +8 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.d.ts +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.js +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +4 -2
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +8 -20
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +8 -17
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/url.d.ts +16 -12
- package/lib/constants/url.js +16 -12
- package/lib/constants/url.js.map +1 -1
- package/lib/constants/url.mjs +16 -12
- package/lib/constants/url.mjs.map +1 -1
- package/lib/utils/address.d.ts +278 -62
- package/lib/utils/address.js +11 -8
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +11 -8
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +11 -0
- package/lib/utils/validations/lastNameSuperRefinement.js +25 -0
- package/lib/utils/validations/lastNameSuperRefinement.js.map +1 -0
- package/lib/utils/validations/lastNameSuperRefinement.mjs +21 -0
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@ import { envr } from './products/envr.mjs';
|
|
|
3
3
|
import { nvr } from './products/nvr.mjs';
|
|
4
4
|
import { nvrPro } from './products/nvrPro.mjs';
|
|
5
5
|
import './properties/index.mjs';
|
|
6
|
+
import { managedCameras } from './properties/managedCameras.mjs';
|
|
6
7
|
import { storageCapacity } from './properties/storageCapacity.mjs';
|
|
7
8
|
import { dataProtection } from './properties/dataProtection.mjs';
|
|
8
9
|
import { driveHotSwap } from './properties/driveHotSwap.mjs';
|
|
9
|
-
import { managedCameras } from './properties/managedCameras.mjs';
|
|
10
10
|
import { vantagePoint } from './properties/vantagePoint.mjs';
|
|
11
11
|
import { networkingInterface } from './properties/networkingInterface.mjs';
|
|
12
12
|
import { nvrPowerBackup } from './properties/nvrPowerBackup.mjs';
|
|
@@ -14,7 +14,7 @@ import { formFactor } from './properties/formFactor.mjs';
|
|
|
14
14
|
import { doorAccessSupport } from './properties/doorAccessSupport.mjs';
|
|
15
15
|
"use strict";
|
|
16
16
|
const VideoRecorders = {
|
|
17
|
-
properties: [storageCapacity, dataProtection, driveHotSwap,
|
|
17
|
+
properties: [managedCameras, storageCapacity, dataProtection, driveHotSwap, vantagePoint, networkingInterface, nvrPowerBackup, formFactor, doorAccessSupport],
|
|
18
18
|
products: [envr, nvrPro, nvr, cloudKeyG2PlusNvr],
|
|
19
19
|
columnWidth: 245,
|
|
20
20
|
propertyColumnWidth: 215,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoRecorders.mjs","sources":["../../../../src/components/ModelCompareV3/data/VideoRecorders.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { cloudKeyG2PlusNvr } from \"./products/cloudKeyG2PlusNvr\";\nimport { envr } from \"./products/envr\";\nimport { nvr } from \"./products/nvr\";\nimport { nvrPro } from \"./products/nvrPro\";\nimport {\n dataProtection,\n doorAccessSupport,\n driveHotSwap,\n formFactor,\n managedCameras,\n networkingInterface,\n nvrPowerBackup,\n storageCapacity,\n vantagePoint,\n} from \"./properties\";\n\nexport const VideoRecorders: Section = {\n properties: [\n storageCapacity,\n dataProtection,\n driveHotSwap,\n
|
|
1
|
+
{"version":3,"file":"VideoRecorders.mjs","sources":["../../../../src/components/ModelCompareV3/data/VideoRecorders.tsx"],"sourcesContent":["import type { Section } from \"../ModelCompareV3.types\";\nimport { cloudKeyG2PlusNvr } from \"./products/cloudKeyG2PlusNvr\";\nimport { envr } from \"./products/envr\";\nimport { nvr } from \"./products/nvr\";\nimport { nvrPro } from \"./products/nvrPro\";\nimport {\n dataProtection,\n doorAccessSupport,\n driveHotSwap,\n formFactor,\n managedCameras,\n networkingInterface,\n nvrPowerBackup,\n storageCapacity,\n vantagePoint,\n} from \"./properties\";\n\nexport const VideoRecorders: Section = {\n properties: [\n managedCameras,\n storageCapacity,\n dataProtection,\n driveHotSwap,\n vantagePoint,\n networkingInterface,\n nvrPowerBackup,\n formFactor,\n doorAccessSupport,\n ],\n products: [envr, nvrPro, nvr, cloudKeyG2PlusNvr],\n columnWidth: 245,\n propertyColumnWidth: 215,\n showBadges: true,\n};\n"],"names":["VideoRecorders","properties","managedCameras","storageCapacity","dataProtection","driveHotSwap","vantagePoint","networkingInterface","nvrPowerBackup","formFactor","doorAccessSupport","products","envr","nvrPro","nvr","cloudKeyG2PlusNvr","columnWidth","propertyColumnWidth","showBadges"],"mappings":";;;;;;;;;;;;;;;AAiBO,MAAMA,cAA0B,GAAA;EACrCC,UAAY,EAAA,CACVC,cAAA,EACAC,eAAA,EACAC,cAAA,EACAC,YAAA,EACAC,YAAA,EACAC,mBAAA,EACAC,cAAA,EACAC,UAAA,EACAC,iBAAA,CACF;EACAC,QAAU,EAAA,CAACC,IAAM,EAAAC,MAAA,EAAQC,KAAKC,iBAAiB,CAAA;EAC/CC,WAAa,EAAA,GAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,UAAY,EAAA;AACd,CAAA;"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
4
4
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
5
|
-
require('../../../../types/index.js');
|
|
6
5
|
require('../../assets/VideoRecorders/envr.jpg.js');
|
|
7
6
|
require('../properties/index.js');
|
|
8
7
|
var dataProtection = require('../properties/dataProtection.js');
|
|
@@ -14,7 +13,6 @@ var networkingInterface = require('../properties/networkingInterface.js');
|
|
|
14
13
|
var nvrPowerBackup = require('../properties/nvrPowerBackup.js');
|
|
15
14
|
var storageCapacity = require('../properties/storageCapacity.js');
|
|
16
15
|
var image = require("../../../../assets/envr.jpg");
|
|
17
|
-
var generated = require('../../../../types/generated.js');
|
|
18
16
|
var vantagePoint = require('../properties/vantagePoint.js');
|
|
19
17
|
function _interopDefault(e) {
|
|
20
18
|
return e && e.__esModule ? e : {
|
|
@@ -40,15 +38,6 @@ const envr = {
|
|
|
40
38
|
height: 140
|
|
41
39
|
},
|
|
42
40
|
isNew: true,
|
|
43
|
-
isComingSoon: [generated.GlobalStoreId.Eu, generated.GlobalStoreId.Ca, generated.GlobalStoreId.Uk],
|
|
44
|
-
comingSoonButtonText: storeId => {
|
|
45
|
-
switch (storeId) {
|
|
46
|
-
case generated.GlobalStoreId.Eu:
|
|
47
|
-
return "envr.comingSoon";
|
|
48
|
-
default:
|
|
49
|
-
return void 0;
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
41
|
propertyValues: [{
|
|
53
42
|
propertyId: storageCapacity.storageCapacity.id,
|
|
54
43
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envr.js","sources":["../../../../../src/components/ModelCompareV3/data/products/envr.tsx"],"sourcesContent":["import {\n UniFiCategoryId,\n UniFiChildCategorySlug,\n} from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport
|
|
1
|
+
{"version":3,"file":"envr.js","sources":["../../../../../src/components/ModelCompareV3/data/products/envr.tsx"],"sourcesContent":["import {\n UniFiCategoryId,\n UniFiChildCategorySlug,\n} from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/VideoRecorders/envr.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { vantagePoint } from \"../properties\";\nimport { dataProtection } from \"../properties/dataProtection\";\nimport { doorAccessSupport } from \"../properties/doorAccessSupport\";\nimport { driveHotSwap } from \"../properties/driveHotSwap\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { managedCameras } from \"../properties/managedCameras\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { nvrPowerBackup } from \"../properties/nvrPowerBackup\";\nimport { storageCapacity } from \"../properties/storageCapacity\";\n\nexport const envr: Product = {\n id: \"envr\",\n title: \"envr.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CamerasNVRs}/envr`,\n ],\n storePathParts: {\n productSlug: \"envr\",\n category: UniFiChildCategorySlug.CamerasNVR,\n },\n sku: \"ENVR\",\n description: \"envr.description\",\n descriptionMaxWidth: 237,\n image: {\n src: image,\n width: 257,\n height: 140,\n },\n isNew: true,\n propertyValues: [\n {\n propertyId: storageCapacity.id,\n value: { type: \"translation\", value: \"envr.storageCapacity\" },\n },\n { propertyId: dataProtection.id, value: { type: \"boolean\", value: true } },\n { propertyId: driveHotSwap.id, value: { type: \"boolean\", value: true } },\n {\n propertyId: managedCameras.id,\n value: { type: \"string\", value: \"(210) HD\\n(140) 2K\\n(70) 4K\" },\n },\n { propertyId: vantagePoint.id, value: { type: \"boolean\", value: true } },\n {\n propertyId: networkingInterface.id,\n value: {\n type: \"string\",\n value: \"(2) 10G SFP+\\n(1) 10 GbE\",\n },\n },\n {\n propertyId: nvrPowerBackup.id,\n value: {\n type: \"translation\",\n value: \"envr.nvrPowerBackup\",\n },\n },\n {\n propertyId: formFactor.id,\n value: { type: \"translation\", value: \"envr.formFactor\" },\n },\n {\n propertyId: doorAccessSupport.id,\n value: { type: \"boolean\", value: true },\n },\n ],\n};\n"],"names":["envr","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CamerasNVRs","storePathParts","productSlug","category","UniFiChildCategorySlug","CamerasNVR","sku","description","descriptionMaxWidth","image","src","width","height","isNew","propertyValues","propertyId","storageCapacity","value","type","dataProtection","driveHotSwap","managedCameras","vantagePoint","networkingInterface","nvrPowerBackup","formFactor","doorAccessSupport"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBO,MAAMA,IAAgB,GAAA;EAC3BC,EAAI,EAAA,MAAA;EACJC,KAAO,EAAA,YAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,WAAW,OAAA,CACvC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,MAAA;IACbC,UAAUC,KAAuB,CAAAA,sBAAA,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,MAAA;EACLC,WAAa,EAAA,kBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAO,EAAA,IAAA;EACPC,cAAgB,EAAA,CACd;IACEC,YAAYC,eAAgB,CAAAA,eAAA,CAAAtB,EAAA;IAC5BuB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAuB;EAC9D,CAAA,EACA;IAAEF,UAAY,EAAAI,6BAAA,CAAezB,EAAI;IAAAuB,KAAA,EAAO;MAAEC,IAAM,EAAA,SAAA;MAAWD,KAAO,EAAA;;EAAO,CAAA,EACzE;IAAEF,UAAY,EAAAK,yBAAA,CAAa1B,EAAI;IAAAuB,KAAA,EAAO;MAAEC,IAAM,EAAA,SAAA;MAAWD,KAAO,EAAA;;EAAO,CAAA,EACvE;IACEF,YAAYM,cAAe,CAAAA,cAAA,CAAA3B,EAAA;IAC3BuB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAA8B;EAChE,CAAA,EACA;IAAEF,UAAY,EAAAO,yBAAA,CAAa5B,EAAI;IAAAuB,KAAA,EAAO;MAAEC,IAAM,EAAA,SAAA;MAAWD,KAAO,EAAA;;EAAO,CAAA,EACvE;IACEF,YAAYQ,mBAAoB,CAAAA,mBAAA,CAAA7B,EAAA;IAChCuB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,cAAe,CAAAA,cAAA,CAAA9B,EAAA;IAC3BuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,UAAW,CAAAA,UAAA,CAAA/B,EAAA;IACvBuB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAkB;EACzD,CAAA,EACA;IACEF,YAAYW,iBAAkB,CAAAA,iBAAA,CAAAhC,EAAA;IAC9BuB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
2
2
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
3
|
-
import '../../../../types/index.mjs';
|
|
4
3
|
import '../../assets/VideoRecorders/envr.jpg.mjs';
|
|
5
4
|
import '../properties/index.mjs';
|
|
6
5
|
import { dataProtection } from '../properties/dataProtection.mjs';
|
|
@@ -12,7 +11,6 @@ import { networkingInterface } from '../properties/networkingInterface.mjs';
|
|
|
12
11
|
import { nvrPowerBackup } from '../properties/nvrPowerBackup.mjs';
|
|
13
12
|
import { storageCapacity } from '../properties/storageCapacity.mjs';
|
|
14
13
|
import image__default from "../../../../assets/envr.jpg";
|
|
15
|
-
import { GlobalStoreId } from '../../../../types/generated.mjs';
|
|
16
14
|
import { vantagePoint } from '../properties/vantagePoint.mjs';
|
|
17
15
|
"use strict";
|
|
18
16
|
const envr = {
|
|
@@ -32,15 +30,6 @@ const envr = {
|
|
|
32
30
|
height: 140
|
|
33
31
|
},
|
|
34
32
|
isNew: true,
|
|
35
|
-
isComingSoon: [GlobalStoreId.Eu, GlobalStoreId.Ca, GlobalStoreId.Uk],
|
|
36
|
-
comingSoonButtonText: storeId => {
|
|
37
|
-
switch (storeId) {
|
|
38
|
-
case GlobalStoreId.Eu:
|
|
39
|
-
return "envr.comingSoon";
|
|
40
|
-
default:
|
|
41
|
-
return void 0;
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
33
|
propertyValues: [{
|
|
45
34
|
propertyId: storageCapacity.id,
|
|
46
35
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envr.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/envr.tsx"],"sourcesContent":["import {\n UniFiCategoryId,\n UniFiChildCategorySlug,\n} from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport
|
|
1
|
+
{"version":3,"file":"envr.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/envr.tsx"],"sourcesContent":["import {\n UniFiCategoryId,\n UniFiChildCategorySlug,\n} from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/VideoRecorders/envr.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { vantagePoint } from \"../properties\";\nimport { dataProtection } from \"../properties/dataProtection\";\nimport { doorAccessSupport } from \"../properties/doorAccessSupport\";\nimport { driveHotSwap } from \"../properties/driveHotSwap\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { managedCameras } from \"../properties/managedCameras\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { nvrPowerBackup } from \"../properties/nvrPowerBackup\";\nimport { storageCapacity } from \"../properties/storageCapacity\";\n\nexport const envr: Product = {\n id: \"envr\",\n title: \"envr.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CamerasNVRs}/envr`,\n ],\n storePathParts: {\n productSlug: \"envr\",\n category: UniFiChildCategorySlug.CamerasNVR,\n },\n sku: \"ENVR\",\n description: \"envr.description\",\n descriptionMaxWidth: 237,\n image: {\n src: image,\n width: 257,\n height: 140,\n },\n isNew: true,\n propertyValues: [\n {\n propertyId: storageCapacity.id,\n value: { type: \"translation\", value: \"envr.storageCapacity\" },\n },\n { propertyId: dataProtection.id, value: { type: \"boolean\", value: true } },\n { propertyId: driveHotSwap.id, value: { type: \"boolean\", value: true } },\n {\n propertyId: managedCameras.id,\n value: { type: \"string\", value: \"(210) HD\\n(140) 2K\\n(70) 4K\" },\n },\n { propertyId: vantagePoint.id, value: { type: \"boolean\", value: true } },\n {\n propertyId: networkingInterface.id,\n value: {\n type: \"string\",\n value: \"(2) 10G SFP+\\n(1) 10 GbE\",\n },\n },\n {\n propertyId: nvrPowerBackup.id,\n value: {\n type: \"translation\",\n value: \"envr.nvrPowerBackup\",\n },\n },\n {\n propertyId: formFactor.id,\n value: { type: \"translation\", value: \"envr.formFactor\" },\n },\n {\n propertyId: doorAccessSupport.id,\n value: { type: \"boolean\", value: true },\n },\n ],\n};\n"],"names":["envr","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CamerasNVRs","storePathParts","productSlug","category","UniFiChildCategorySlug","CamerasNVR","sku","description","descriptionMaxWidth","image","src","width","height","isNew","propertyValues","propertyId","storageCapacity","value","type","dataProtection","driveHotSwap","managedCameras","vantagePoint","networkingInterface","nvrPowerBackup","formFactor","doorAccessSupport"],"mappings":";;;;;;;;;;;;;;;AAiBO,MAAMA,IAAgB,GAAA;EAC3BC,EAAI,EAAA,MAAA;EACJC,KAAO,EAAA,YAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,WAAW,OAAA,CACvC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,MAAA;IACbC,UAAUC,sBAAuB,CAAAC;EACnC,CAAA;EACAC,GAAK,EAAA,MAAA;EACLC,WAAa,EAAA,kBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAO,EAAA,IAAA;EACPC,cAAgB,EAAA,CACd;IACEC,YAAYC,eAAgB,CAAAtB,EAAA;IAC5BuB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAuB;EAC9D,CAAA,EACA;IAAEF,UAAY,EAAAI,cAAA,CAAezB,EAAI;IAAAuB,KAAA,EAAO;MAAEC,IAAM,EAAA,SAAA;MAAWD,KAAO,EAAA;;EAAO,CAAA,EACzE;IAAEF,UAAY,EAAAK,YAAA,CAAa1B,EAAI;IAAAuB,KAAA,EAAO;MAAEC,IAAM,EAAA,SAAA;MAAWD,KAAO,EAAA;;EAAO,CAAA,EACvE;IACEF,YAAYM,cAAe,CAAA3B,EAAA;IAC3BuB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAA8B;EAChE,CAAA,EACA;IAAEF,UAAY,EAAAO,YAAA,CAAa5B,EAAI;IAAAuB,KAAA,EAAO;MAAEC,IAAM,EAAA,SAAA;MAAWD,KAAO,EAAA;;EAAO,CAAA,EACvE;IACEF,YAAYQ,mBAAoB,CAAA7B,EAAA;IAChCuB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,cAAe,CAAA9B,EAAA;IAC3BuB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,UAAW,CAAA/B,EAAA;IACvBuB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAkB;EACzD,CAAA,EACA;IACEF,YAAYW,iBAAkB,CAAAhC,EAAA;IAC9BuB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC,CAAA;AAEJ,CAAA;"}
|
|
@@ -25,7 +25,7 @@ export declare const Sku: import("styled-components").StyledComponent<"div", imp
|
|
|
25
25
|
export declare const ShortDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
26
26
|
export declare const LearnMoreButton: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
27
27
|
export declare const Divider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
28
|
-
export declare const Dropdown: import("styled-components").StyledComponent<(<TOption extends import("@ubnt/ui-components/Dropdown").DropdownOption = import("@ubnt/ui-components/Dropdown").DropdownOption>(p: import("@ubnt/ui-components/Dropdown").DropdownProps<TOption> &
|
|
28
|
+
export declare const Dropdown: import("styled-components").StyledComponent<(<TOption extends import("@ubnt/ui-components/Dropdown").DropdownOption = import("@ubnt/ui-components/Dropdown").DropdownOption>(p: import("@ubnt/ui-components/Dropdown").DropdownProps<TOption> & React.RefAttributes<import("@ubnt/ui-components/Dropdown").DropdownRef>) => React.ReactElement), import("styled-components").DefaultTheme, {}, never>;
|
|
29
29
|
export declare const QuantityAndPriceContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
30
30
|
export declare const PriceWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
31
31
|
export declare const Price: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -4,7 +4,7 @@ export declare const ProductCount: import("styled-components").StyledComponent<"
|
|
|
4
4
|
export declare const ProductButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const SortByContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const SortByLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const Dropdown: import("styled-components").StyledComponent<(<TOption extends import("@ubnt/ui-components/Dropdown").DropdownOption = import("@ubnt/ui-components/Dropdown").DropdownOption>(p: import("@ubnt/ui-components/Dropdown").DropdownProps<TOption> &
|
|
7
|
+
export declare const Dropdown: import("styled-components").StyledComponent<(<TOption extends import("@ubnt/ui-components/Dropdown").DropdownOption = import("@ubnt/ui-components/Dropdown").DropdownOption>(p: import("@ubnt/ui-components/Dropdown").DropdownProps<TOption> & React.RefAttributes<import("@ubnt/ui-components/Dropdown").DropdownRef>) => React.ReactElement), import("styled-components").DefaultTheme, {
|
|
8
8
|
inputClassName: "customInputClassName";
|
|
9
9
|
optionContainerClassName: "customOptionContainerClassName";
|
|
10
10
|
}, "inputClassName" | "optionContainerClassName">;
|
package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export declare const CardContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const Button: import("styled-components").StyledComponent<(<T extends
|
|
5
|
-
ref?:
|
|
6
|
-
}) =>
|
|
4
|
+
export declare const Button: import("styled-components").StyledComponent<(<T extends React.ElementType<any> = "button">(p: import("@ubnt/ui-components").LocalButtonProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, keyof import("@ubnt/ui-components").LocalButtonProps<C>> & {
|
|
5
|
+
ref?: React.Ref<HTMLElement> | undefined;
|
|
6
|
+
}) => React.ReactElement<T, string | React.JSXElementConstructor<any>>), import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const CardTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export declare const CardPrice: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare const Card: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -10,7 +10,7 @@ var ProductWizard_styles = require('./ProductWizard.styles.js');
|
|
|
10
10
|
var Options = require('./Options/Options.js');
|
|
11
11
|
var NormalisedImage = require('../NormalisedImage/NormalisedImage.js');
|
|
12
12
|
var minus = require("../../assets/minus.svg");
|
|
13
|
-
var plus = require("../../assets/
|
|
13
|
+
var plus = require("../../assets/plus2.svg");
|
|
14
14
|
var ProductWizardFootnotes = require('../ProductWizardFootnotes/ProductWizardFootnotes.js');
|
|
15
15
|
function _interopDefault(e) {
|
|
16
16
|
return e && e.__esModule ? e : {
|
|
@@ -8,7 +8,7 @@ import { WizardContainer, AddToCartContainer, QuantityAdjustWrap, MinusAdjustBut
|
|
|
8
8
|
import { ProductWizardOptions } from './Options/Options.mjs';
|
|
9
9
|
import { NormalisedImage } from '../NormalisedImage/NormalisedImage.mjs';
|
|
10
10
|
import minus__default from "../../assets/minus.svg";
|
|
11
|
-
import plus__default from "../../assets/
|
|
11
|
+
import plus__default from "../../assets/plus2.svg";
|
|
12
12
|
import { ProductWizardFootnotes } from '../ProductWizardFootnotes/ProductWizardFootnotes.mjs';
|
|
13
13
|
"use strict";
|
|
14
14
|
const ProductWizard = function ProductWizard2({
|
|
@@ -6,7 +6,7 @@ require('../StyleableSvgImage/index.js');
|
|
|
6
6
|
var QuantityInput_styles = require('./QuantityInput.styles.js');
|
|
7
7
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
8
8
|
var minus = require("../../assets/minus.svg");
|
|
9
|
-
var plus = require("../../assets/
|
|
9
|
+
var plus = require("../../assets/plus2.svg");
|
|
10
10
|
function _interopDefault(e) {
|
|
11
11
|
return e && e.__esModule ? e : {
|
|
12
12
|
default: e
|
|
@@ -4,7 +4,7 @@ import '../StyleableSvgImage/index.mjs';
|
|
|
4
4
|
import { Container, Label, QuantityAdjustWrap, MinusAdjustButton, QuantityInput as QuantityInput$1, PlusAdjustButton } from './QuantityInput.styles.mjs';
|
|
5
5
|
import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
6
6
|
import minus__default from "../../assets/minus.svg";
|
|
7
|
-
import plus__default from "../../assets/
|
|
7
|
+
import plus__default from "../../assets/plus2.svg";
|
|
8
8
|
"use strict";
|
|
9
9
|
const QuantityInput = ({
|
|
10
10
|
quantity,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const TOOLTIP_CLASS_NAME = "custom-tooltip";
|
|
2
2
|
export declare const Tooltip: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
3
|
-
message?:
|
|
3
|
+
message?: React.ReactNode;
|
|
4
4
|
tooltipMessageClassName?: string;
|
|
5
5
|
messageProps?: Omit<import("@ubnt/ui-components").TextProps, "forwardedRef">;
|
|
6
6
|
omitTextWrapper?: boolean;
|
|
7
7
|
leftRightInset?: number;
|
|
8
8
|
isHoverable?: boolean;
|
|
9
9
|
} & {
|
|
10
|
-
title?:
|
|
11
|
-
description?:
|
|
12
|
-
children?:
|
|
10
|
+
title?: React.ReactNode;
|
|
11
|
+
description?: React.ReactNode;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
13
|
isOpen?: boolean;
|
|
14
14
|
disableHover?: boolean;
|
|
15
15
|
isInteractive?: boolean;
|
|
@@ -25,7 +25,7 @@ export declare const Tooltip: import("styled-components").StyledComponent<import
|
|
|
25
25
|
animate?: boolean;
|
|
26
26
|
noWrap?: boolean;
|
|
27
27
|
className?: string;
|
|
28
|
-
style?:
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
29
|
portal?: boolean;
|
|
30
30
|
onClick?: import("react").MouseEventHandler;
|
|
31
31
|
} & Omit<import("react").HTMLAttributes<HTMLElement>, "title"> & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -21,9 +21,9 @@ export declare const BadgeWrapper: import("styled-components").StyledComponent<"
|
|
|
21
21
|
export declare const ProductKeyFeatures: import("styled-components").StyledComponent<({ className, disableHeader, keyFeatures, }: import("../ProductKeyFeatures/ProductKeyFeatures.types").ProductKeyFeaturesProps) => JSX.Element | null, import("styled-components").DefaultTheme, {
|
|
22
22
|
selected?: boolean;
|
|
23
23
|
}, never>;
|
|
24
|
-
export declare const Button: import("styled-components").StyledComponent<(<T extends
|
|
25
|
-
ref?:
|
|
26
|
-
}) =>
|
|
24
|
+
export declare const Button: import("styled-components").StyledComponent<(<T extends React.ElementType<any> = "button">(p: import("@ubnt/ui-components/Button").LocalButtonProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, keyof import("@ubnt/ui-components/Button").LocalButtonProps<C>> & {
|
|
25
|
+
ref?: React.Ref<HTMLElement> | undefined;
|
|
26
|
+
}) => React.ReactElement<T, string | React.JSXElementConstructor<any>>), import("styled-components").DefaultTheme, {
|
|
27
27
|
contentClassName: string;
|
|
28
28
|
}, "contentClassName">;
|
|
29
29
|
export declare const VariantImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
@@ -14,8 +14,8 @@ export declare const Price: import("styled-components").StyledComponent<"div", i
|
|
|
14
14
|
export declare const PriceWithVAT: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
15
|
export declare const BadgeWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
16
|
export declare const ProductKeyFeatures: import("styled-components").StyledComponent<({ className, disableHeader, keyFeatures, }: import("../ProductKeyFeatures/ProductKeyFeatures.types").ProductKeyFeaturesProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
-
export declare const Button: import("styled-components").StyledComponent<(<T extends
|
|
18
|
-
ref?:
|
|
19
|
-
}) =>
|
|
17
|
+
export declare const Button: import("styled-components").StyledComponent<(<T extends React.ElementType<any> = "button">(p: import("@ubnt/ui-components/Button").LocalButtonProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, keyof import("@ubnt/ui-components/Button").LocalButtonProps<C>> & {
|
|
18
|
+
ref?: React.Ref<HTMLElement> | undefined;
|
|
19
|
+
}) => React.ReactElement<T, string | React.JSXElementConstructor<any>>), import("styled-components").DefaultTheme, {
|
|
20
20
|
contentClassName: string;
|
|
21
21
|
}, "contentClassName">;
|
|
@@ -18,7 +18,6 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
18
18
|
Antennas: string;
|
|
19
19
|
Apparel: string;
|
|
20
20
|
"Building Bridge": string;
|
|
21
|
-
"Device Bridge": string;
|
|
22
21
|
Bullet: string;
|
|
23
22
|
"Cables & Modules": string;
|
|
24
23
|
Cabling: string;
|
|
@@ -26,6 +25,7 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
26
25
|
"Advanced Hosting": string;
|
|
27
26
|
Compact: string;
|
|
28
27
|
Converters: string;
|
|
28
|
+
"Device Bridge": string;
|
|
29
29
|
"Digital Signage": string;
|
|
30
30
|
"Dome & Turret": string;
|
|
31
31
|
"Door Access": string;
|
|
@@ -45,6 +45,7 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
45
45
|
"For Cameras": string;
|
|
46
46
|
"For Door Access": string;
|
|
47
47
|
GPON: string;
|
|
48
|
+
Hosting: string;
|
|
48
49
|
Hubs: string;
|
|
49
50
|
Installations: string;
|
|
50
51
|
Intercoms: string;
|
|
@@ -82,7 +83,6 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
82
83
|
Storage: string;
|
|
83
84
|
Switching: string;
|
|
84
85
|
Theta: string;
|
|
85
|
-
"UISP Console": string;
|
|
86
86
|
"UISP Power": string;
|
|
87
87
|
"UISP Routing": string;
|
|
88
88
|
"UISP Switching": string;
|
|
@@ -536,8 +536,8 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
536
536
|
},
|
|
537
537
|
disabledStores: [generated.StoreId.In, generated.StoreId.Jp],
|
|
538
538
|
items: [{
|
|
539
|
-
id: uisp.UISPChildCategorySlug.
|
|
540
|
-
label: formatMessage("
|
|
539
|
+
id: uisp.UISPChildCategorySlug.WiredHosting,
|
|
540
|
+
label: formatMessage("Hosting"),
|
|
541
541
|
collectionSlugs: ["uisp-wired-console"],
|
|
542
542
|
disabledStores: [generated.StoreId.Tw, generated.StoreId.Br]
|
|
543
543
|
}, {
|