@ubnt/store.core 9.50.0 → 9.51.0
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 +6 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/close3.svg +3 -2
- package/lib/assets/envr.png +0 -0
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/poe2.svg +2 -3
- package/lib/assets/poe3.svg +3 -2
- package/lib/assets/port.svg +2 -4
- package/lib/assets/port2.svg +4 -2
- package/lib/assets/ucg-max.png +0 -0
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/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/poe.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/poe.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/port.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/port.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +419 -64
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +416 -63
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +3 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +2 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +2 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +120 -34
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +120 -34
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +16 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +54 -12
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +50 -11
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowLeftPrimary.svg.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowRightPrimary.svg.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +10 -5
- package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +10 -5
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/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/utils/money/format.d.ts +8 -0
- package/lib/utils/money/format.js +3 -0
- package/lib/utils/money/format.js.map +1 -1
- package/lib/utils/money/format.mjs +3 -0
- package/lib/utils/money/format.mjs.map +1 -1
- package/package.json +7 -6
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('../assets/consoles/envr.png.js');
|
|
4
|
+
require('../assets/consoles/ucg-max.png.js');
|
|
3
5
|
require('../assets/consoles/udm-pro-max.png.js');
|
|
4
6
|
require('../assets/consoles/udm-pro.png.js');
|
|
5
7
|
require('../assets/consoles/udr.png.js');
|
|
@@ -10,8 +12,10 @@ require('../assets/consoles/unvr.png.js');
|
|
|
10
12
|
var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
|
|
11
13
|
var udmProMax = require("../../../assets/udm-pro-max.png");
|
|
12
14
|
var udmPro = require("../../../assets/udm-pro.png");
|
|
13
|
-
var
|
|
15
|
+
var ucgMax = require("../../../assets/ucg-max.png");
|
|
16
|
+
var envr = require("../../../assets/envr.png");
|
|
14
17
|
var unvrPro = require("../../../assets/unvr-pro.png");
|
|
18
|
+
var unvr = require("../../../assets/unvr.png");
|
|
15
19
|
var ckg2 = require("../../../assets/unifi-cloudkey-plus.png");
|
|
16
20
|
var udw = require("../../../assets/udw.png");
|
|
17
21
|
var udr = require("../../../assets/udr.png");
|
|
@@ -22,13 +26,17 @@ function _interopDefault(e) {
|
|
|
22
26
|
}
|
|
23
27
|
var udmProMax__default = /*#__PURE__*/_interopDefault(udmProMax);
|
|
24
28
|
var udmPro__default = /*#__PURE__*/_interopDefault(udmPro);
|
|
25
|
-
var
|
|
29
|
+
var ucgMax__default = /*#__PURE__*/_interopDefault(ucgMax);
|
|
30
|
+
var envr__default = /*#__PURE__*/_interopDefault(envr);
|
|
26
31
|
var unvrPro__default = /*#__PURE__*/_interopDefault(unvrPro);
|
|
32
|
+
var unvr__default = /*#__PURE__*/_interopDefault(unvr);
|
|
27
33
|
var ckg2__default = /*#__PURE__*/_interopDefault(ckg2);
|
|
28
34
|
var udw__default = /*#__PURE__*/_interopDefault(udw);
|
|
29
35
|
var udr__default = /*#__PURE__*/_interopDefault(udr);
|
|
30
36
|
"use strict";
|
|
31
|
-
const DEVICES = [
|
|
37
|
+
const DEVICES = [
|
|
38
|
+
// UDM Pro Max
|
|
39
|
+
{
|
|
32
40
|
id: ComputeResourceCalculator_types.DeviceId.UDMProMax,
|
|
33
41
|
sku: ["udm-pro-max"],
|
|
34
42
|
title: "device.UDM Pro Max",
|
|
@@ -83,14 +91,13 @@ const DEVICES = [{
|
|
|
83
91
|
weight: 0.1
|
|
84
92
|
}
|
|
85
93
|
},
|
|
86
|
-
threatManagementLoad: 0.1375,
|
|
87
94
|
securityDetection: {
|
|
88
95
|
cpu: {
|
|
89
|
-
value:
|
|
96
|
+
value: 0.1204,
|
|
90
97
|
weight: 0.9
|
|
91
98
|
},
|
|
92
99
|
memory: {
|
|
93
|
-
value: 0,
|
|
100
|
+
value: 0.0861,
|
|
94
101
|
weight: 0.1
|
|
95
102
|
}
|
|
96
103
|
},
|
|
@@ -151,7 +158,7 @@ const DEVICES = [{
|
|
|
151
158
|
data: {
|
|
152
159
|
cpu: {
|
|
153
160
|
value: 8e-3,
|
|
154
|
-
weight: 0.
|
|
161
|
+
weight: 0.9
|
|
155
162
|
},
|
|
156
163
|
memory: {
|
|
157
164
|
value: 5e-4,
|
|
@@ -164,7 +171,7 @@ const DEVICES = [{
|
|
|
164
171
|
data: {
|
|
165
172
|
cpu: {
|
|
166
173
|
value: 0.02,
|
|
167
|
-
weight: 0.
|
|
174
|
+
weight: 0.9
|
|
168
175
|
},
|
|
169
176
|
memory: {
|
|
170
177
|
value: 7e-4,
|
|
@@ -177,7 +184,7 @@ const DEVICES = [{
|
|
|
177
184
|
data: {
|
|
178
185
|
cpu: {
|
|
179
186
|
value: 0.026,
|
|
180
|
-
weight: 0.
|
|
187
|
+
weight: 0.9
|
|
181
188
|
},
|
|
182
189
|
memory: {
|
|
183
190
|
value: 4e-4,
|
|
@@ -249,7 +256,9 @@ const DEVICES = [{
|
|
|
249
256
|
}
|
|
250
257
|
}
|
|
251
258
|
}
|
|
252
|
-
},
|
|
259
|
+
},
|
|
260
|
+
// UDM Pro SE
|
|
261
|
+
{
|
|
253
262
|
id: ComputeResourceCalculator_types.DeviceId.UdmProUdmSe,
|
|
254
263
|
sku: ["udm-pro", "udm-se"],
|
|
255
264
|
title: "device.UDM Pro / SE",
|
|
@@ -301,14 +310,13 @@ const DEVICES = [{
|
|
|
301
310
|
weight: 0.3
|
|
302
311
|
}
|
|
303
312
|
},
|
|
304
|
-
threatManagementLoad: 0.1161,
|
|
305
313
|
securityDetection: {
|
|
306
314
|
cpu: {
|
|
307
|
-
value:
|
|
315
|
+
value: 0.1668,
|
|
308
316
|
weight: 0.7
|
|
309
317
|
},
|
|
310
318
|
memory: {
|
|
311
|
-
value: 0,
|
|
319
|
+
value: 0.118,
|
|
312
320
|
weight: 0.3
|
|
313
321
|
}
|
|
314
322
|
},
|
|
@@ -369,7 +377,7 @@ const DEVICES = [{
|
|
|
369
377
|
data: {
|
|
370
378
|
cpu: {
|
|
371
379
|
value: 8e-3,
|
|
372
|
-
weight: 0.
|
|
380
|
+
weight: 0.9
|
|
373
381
|
},
|
|
374
382
|
memory: {
|
|
375
383
|
value: 5e-4,
|
|
@@ -382,7 +390,7 @@ const DEVICES = [{
|
|
|
382
390
|
data: {
|
|
383
391
|
cpu: {
|
|
384
392
|
value: 0.02,
|
|
385
|
-
weight: 0.
|
|
393
|
+
weight: 0.9
|
|
386
394
|
},
|
|
387
395
|
memory: {
|
|
388
396
|
value: 5e-4,
|
|
@@ -395,7 +403,7 @@ const DEVICES = [{
|
|
|
395
403
|
data: {
|
|
396
404
|
cpu: {
|
|
397
405
|
value: 0.026,
|
|
398
|
-
weight: 0.
|
|
406
|
+
weight: 0.9
|
|
399
407
|
},
|
|
400
408
|
memory: {
|
|
401
409
|
value: 1e-3,
|
|
@@ -465,12 +473,237 @@ const DEVICES = [{
|
|
|
465
473
|
}
|
|
466
474
|
}
|
|
467
475
|
}
|
|
468
|
-
},
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
476
|
+
},
|
|
477
|
+
// UCG Max
|
|
478
|
+
{
|
|
479
|
+
id: ComputeResourceCalculator_types.DeviceId.UcgMax,
|
|
480
|
+
sku: ["ucg-max"],
|
|
481
|
+
title: "device.UCG Max",
|
|
472
482
|
img: {
|
|
473
|
-
src:
|
|
483
|
+
src: ucgMax__default["default"],
|
|
484
|
+
width: 68,
|
|
485
|
+
height: 68
|
|
486
|
+
},
|
|
487
|
+
settings: {
|
|
488
|
+
forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
|
|
489
|
+
defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
|
|
490
|
+
hdd: {
|
|
491
|
+
max: 1,
|
|
492
|
+
parityDisks: 0,
|
|
493
|
+
gigabyteOptions: [512, 1e3, 2e3]
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
loadData: {
|
|
497
|
+
Network: {
|
|
498
|
+
enableFeature: {
|
|
499
|
+
cpu: {
|
|
500
|
+
value: 0.015,
|
|
501
|
+
weight: 0.9
|
|
502
|
+
},
|
|
503
|
+
memory: {
|
|
504
|
+
value: 0.49,
|
|
505
|
+
weight: 0.1
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
accessPoint: {
|
|
509
|
+
max: 30,
|
|
510
|
+
data: {
|
|
511
|
+
cpu: {
|
|
512
|
+
value: 61e-4,
|
|
513
|
+
weight: 0.9
|
|
514
|
+
},
|
|
515
|
+
memory: {
|
|
516
|
+
value: 0.016,
|
|
517
|
+
weight: 0.1
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
vpn: {
|
|
522
|
+
cpu: {
|
|
523
|
+
value: 0,
|
|
524
|
+
weight: 0.9
|
|
525
|
+
},
|
|
526
|
+
memory: {
|
|
527
|
+
value: 1e-3,
|
|
528
|
+
weight: 0.1
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
securityDetection: {
|
|
532
|
+
cpu: {
|
|
533
|
+
value: 0.4008,
|
|
534
|
+
weight: 0.9
|
|
535
|
+
},
|
|
536
|
+
memory: {
|
|
537
|
+
value: 0.1515,
|
|
538
|
+
weight: 0.1
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
adBlocking: {
|
|
542
|
+
cpu: {
|
|
543
|
+
value: 0.0132,
|
|
544
|
+
weight: 0.9
|
|
545
|
+
},
|
|
546
|
+
memory: {
|
|
547
|
+
value: 0,
|
|
548
|
+
weight: 0.1
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
qos: {
|
|
552
|
+
cpu: {
|
|
553
|
+
value: 0.0173,
|
|
554
|
+
weight: 0.9
|
|
555
|
+
},
|
|
556
|
+
memory: {
|
|
557
|
+
value: 0.0255,
|
|
558
|
+
weight: 0.1
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
Protect: {
|
|
563
|
+
enableFeature: {
|
|
564
|
+
cpu: {
|
|
565
|
+
value: 0.1,
|
|
566
|
+
weight: 0.9
|
|
567
|
+
},
|
|
568
|
+
memory: {
|
|
569
|
+
value: 0.2809,
|
|
570
|
+
weight: 0.1
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
playback: {
|
|
574
|
+
cpu: {
|
|
575
|
+
value: 0,
|
|
576
|
+
weight: 0.9
|
|
577
|
+
},
|
|
578
|
+
memory: {
|
|
579
|
+
value: 0,
|
|
580
|
+
weight: 0.1
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
liveView: {
|
|
584
|
+
cpu: {
|
|
585
|
+
value: 0,
|
|
586
|
+
weight: 0.9
|
|
587
|
+
},
|
|
588
|
+
memory: {
|
|
589
|
+
value: 0,
|
|
590
|
+
weight: 0.1
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
cameraHd: {
|
|
594
|
+
max: 15,
|
|
595
|
+
data: {
|
|
596
|
+
cpu: {
|
|
597
|
+
value: 0.0106,
|
|
598
|
+
weight: 0.9
|
|
599
|
+
},
|
|
600
|
+
memory: {
|
|
601
|
+
value: 3e-4,
|
|
602
|
+
weight: 0.1
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
camera2k: {
|
|
607
|
+
max: 8,
|
|
608
|
+
data: {
|
|
609
|
+
cpu: {
|
|
610
|
+
value: 0.0211,
|
|
611
|
+
weight: 0.9
|
|
612
|
+
},
|
|
613
|
+
memory: {
|
|
614
|
+
value: 6e-4,
|
|
615
|
+
weight: 0.1
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
camera4k: {
|
|
620
|
+
max: 5,
|
|
621
|
+
data: {
|
|
622
|
+
cpu: {
|
|
623
|
+
value: 0.03,
|
|
624
|
+
weight: 0.9
|
|
625
|
+
},
|
|
626
|
+
memory: {
|
|
627
|
+
value: 14e-4,
|
|
628
|
+
weight: 0.1
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
Access: {
|
|
634
|
+
enableFeature: {
|
|
635
|
+
cpu: {
|
|
636
|
+
value: 75e-4,
|
|
637
|
+
weight: 0.5
|
|
638
|
+
},
|
|
639
|
+
memory: {
|
|
640
|
+
value: 63e-4,
|
|
641
|
+
weight: 0.5
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
door: {
|
|
645
|
+
max: 100,
|
|
646
|
+
data: {
|
|
647
|
+
cpu: {
|
|
648
|
+
value: 5e-3,
|
|
649
|
+
weight: 0.5
|
|
650
|
+
},
|
|
651
|
+
memory: {
|
|
652
|
+
value: 0.0189,
|
|
653
|
+
weight: 0.5
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
Talk: {
|
|
659
|
+
enableFeature: {
|
|
660
|
+
cpu: {
|
|
661
|
+
value: 8e-3,
|
|
662
|
+
weight: 0.5
|
|
663
|
+
},
|
|
664
|
+
memory: {
|
|
665
|
+
value: 0.0254,
|
|
666
|
+
weight: 0.5
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
phone: {
|
|
670
|
+
max: 100,
|
|
671
|
+
data: {
|
|
672
|
+
cpu: {
|
|
673
|
+
value: 0.013,
|
|
674
|
+
weight: 0.5
|
|
675
|
+
},
|
|
676
|
+
memory: {
|
|
677
|
+
value: 6e-4,
|
|
678
|
+
weight: 0.5
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
record: {
|
|
683
|
+
cpu: {
|
|
684
|
+
value: 2e-4,
|
|
685
|
+
weight: 0.5
|
|
686
|
+
},
|
|
687
|
+
memory: {
|
|
688
|
+
value: 5e-4,
|
|
689
|
+
weight: 0.5
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
// ENVR
|
|
696
|
+
/**
|
|
697
|
+
* As a quick solution, values are copied from UNVR except for cameras(hd,2k,4k)
|
|
698
|
+
* Discussion: https://ui.slack.com/archives/C02JG0GKYC8/p1731328689092089?thread_ts=1730294242.638029&cid=C02JG0GKYC8
|
|
699
|
+
* The camera values for ENVR where sort of made up as the measured ones were not accurate enough: https://ui.slack.com/archives/C02JG0GKYC8/p1736264212271669?thread_ts=1734099648.422989&cid=C02JG0GKYC8
|
|
700
|
+
*/
|
|
701
|
+
{
|
|
702
|
+
id: ComputeResourceCalculator_types.DeviceId.Envr,
|
|
703
|
+
sku: ["envr"],
|
|
704
|
+
title: "device.ENVR",
|
|
705
|
+
img: {
|
|
706
|
+
src: envr__default["default"],
|
|
474
707
|
width: 68,
|
|
475
708
|
height: 68
|
|
476
709
|
},
|
|
@@ -478,7 +711,7 @@ const DEVICES = [{
|
|
|
478
711
|
defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
|
|
479
712
|
forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
|
|
480
713
|
hdd: {
|
|
481
|
-
max:
|
|
714
|
+
max: 16,
|
|
482
715
|
parityDisks: 1
|
|
483
716
|
}
|
|
484
717
|
},
|
|
@@ -486,12 +719,12 @@ const DEVICES = [{
|
|
|
486
719
|
Protect: {
|
|
487
720
|
enableFeature: {
|
|
488
721
|
cpu: {
|
|
489
|
-
value: 0.
|
|
490
|
-
weight: 0.
|
|
722
|
+
value: 0.0128,
|
|
723
|
+
weight: 0.9
|
|
491
724
|
},
|
|
492
725
|
memory: {
|
|
493
|
-
value: 0.
|
|
494
|
-
weight: 0.
|
|
726
|
+
value: 0.082,
|
|
727
|
+
weight: 0.1
|
|
495
728
|
}
|
|
496
729
|
},
|
|
497
730
|
playback: {
|
|
@@ -515,24 +748,24 @@ const DEVICES = [{
|
|
|
515
748
|
}
|
|
516
749
|
},
|
|
517
750
|
cameraHd: {
|
|
518
|
-
max:
|
|
751
|
+
max: 210,
|
|
519
752
|
data: {
|
|
520
753
|
cpu: {
|
|
521
|
-
value:
|
|
522
|
-
weight: 0.
|
|
754
|
+
value: 233e-5,
|
|
755
|
+
weight: 0.9
|
|
523
756
|
},
|
|
524
757
|
memory: {
|
|
525
|
-
value:
|
|
758
|
+
value: 4e-4,
|
|
526
759
|
weight: 0.1
|
|
527
760
|
}
|
|
528
761
|
}
|
|
529
762
|
},
|
|
530
763
|
camera2k: {
|
|
531
|
-
max:
|
|
764
|
+
max: 140,
|
|
532
765
|
data: {
|
|
533
766
|
cpu: {
|
|
534
|
-
value:
|
|
535
|
-
weight: 0.
|
|
767
|
+
value: 41e-4,
|
|
768
|
+
weight: 0.9
|
|
536
769
|
},
|
|
537
770
|
memory: {
|
|
538
771
|
value: 5e-4,
|
|
@@ -541,14 +774,14 @@ const DEVICES = [{
|
|
|
541
774
|
}
|
|
542
775
|
},
|
|
543
776
|
camera4k: {
|
|
544
|
-
max:
|
|
777
|
+
max: 70,
|
|
545
778
|
data: {
|
|
546
779
|
cpu: {
|
|
547
|
-
value:
|
|
548
|
-
weight: 0.
|
|
780
|
+
value: 76e-4,
|
|
781
|
+
weight: 0.9
|
|
549
782
|
},
|
|
550
783
|
memory: {
|
|
551
|
-
value:
|
|
784
|
+
value: 5e-4,
|
|
552
785
|
weight: 0.1
|
|
553
786
|
}
|
|
554
787
|
}
|
|
@@ -580,7 +813,9 @@ const DEVICES = [{
|
|
|
580
813
|
}
|
|
581
814
|
}
|
|
582
815
|
}
|
|
583
|
-
},
|
|
816
|
+
},
|
|
817
|
+
// UNVR Pro
|
|
818
|
+
{
|
|
584
819
|
id: ComputeResourceCalculator_types.DeviceId.UnvrPro,
|
|
585
820
|
sku: ["unvr-pro"],
|
|
586
821
|
title: "device.UNVR Pro",
|
|
@@ -634,7 +869,7 @@ const DEVICES = [{
|
|
|
634
869
|
data: {
|
|
635
870
|
cpu: {
|
|
636
871
|
value: 76e-4,
|
|
637
|
-
weight: 0.
|
|
872
|
+
weight: 0.9
|
|
638
873
|
},
|
|
639
874
|
memory: {
|
|
640
875
|
value: 2e-4,
|
|
@@ -647,7 +882,7 @@ const DEVICES = [{
|
|
|
647
882
|
data: {
|
|
648
883
|
cpu: {
|
|
649
884
|
value: 0.0186,
|
|
650
|
-
weight: 0.
|
|
885
|
+
weight: 0.9
|
|
651
886
|
},
|
|
652
887
|
memory: {
|
|
653
888
|
value: 4e-4,
|
|
@@ -660,7 +895,7 @@ const DEVICES = [{
|
|
|
660
895
|
data: {
|
|
661
896
|
cpu: {
|
|
662
897
|
value: 0.0238,
|
|
663
|
-
weight: 0.
|
|
898
|
+
weight: 0.9
|
|
664
899
|
},
|
|
665
900
|
memory: {
|
|
666
901
|
value: 4e-4,
|
|
@@ -695,7 +930,126 @@ const DEVICES = [{
|
|
|
695
930
|
}
|
|
696
931
|
}
|
|
697
932
|
}
|
|
698
|
-
},
|
|
933
|
+
},
|
|
934
|
+
// UNVR
|
|
935
|
+
{
|
|
936
|
+
id: ComputeResourceCalculator_types.DeviceId.Unvr,
|
|
937
|
+
sku: ["unvr"],
|
|
938
|
+
title: "device.UNVR",
|
|
939
|
+
img: {
|
|
940
|
+
src: unvr__default["default"],
|
|
941
|
+
width: 68,
|
|
942
|
+
height: 68
|
|
943
|
+
},
|
|
944
|
+
settings: {
|
|
945
|
+
defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
|
|
946
|
+
forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
|
|
947
|
+
hdd: {
|
|
948
|
+
max: 4,
|
|
949
|
+
parityDisks: 1
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
loadData: {
|
|
953
|
+
Protect: {
|
|
954
|
+
enableFeature: {
|
|
955
|
+
cpu: {
|
|
956
|
+
value: 0.0558,
|
|
957
|
+
weight: 0.8
|
|
958
|
+
},
|
|
959
|
+
memory: {
|
|
960
|
+
value: 0.117,
|
|
961
|
+
weight: 0.2
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
playback: {
|
|
965
|
+
cpu: {
|
|
966
|
+
value: 0.15,
|
|
967
|
+
weight: 0.8
|
|
968
|
+
},
|
|
969
|
+
memory: {
|
|
970
|
+
value: 0,
|
|
971
|
+
weight: 0.2
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
liveView: {
|
|
975
|
+
cpu: {
|
|
976
|
+
value: 0.225,
|
|
977
|
+
weight: 0.8
|
|
978
|
+
},
|
|
979
|
+
memory: {
|
|
980
|
+
value: 0.045,
|
|
981
|
+
weight: 0.2
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
cameraHd: {
|
|
985
|
+
max: 60,
|
|
986
|
+
data: {
|
|
987
|
+
cpu: {
|
|
988
|
+
value: 76e-4,
|
|
989
|
+
weight: 0.9
|
|
990
|
+
},
|
|
991
|
+
memory: {
|
|
992
|
+
value: 3e-4,
|
|
993
|
+
weight: 0.1
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
camera2k: {
|
|
998
|
+
max: 30,
|
|
999
|
+
data: {
|
|
1000
|
+
cpu: {
|
|
1001
|
+
value: 0.0183,
|
|
1002
|
+
weight: 0.9
|
|
1003
|
+
},
|
|
1004
|
+
memory: {
|
|
1005
|
+
value: 5e-4,
|
|
1006
|
+
weight: 0.1
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
camera4k: {
|
|
1011
|
+
max: 18,
|
|
1012
|
+
data: {
|
|
1013
|
+
cpu: {
|
|
1014
|
+
value: 0.0239,
|
|
1015
|
+
weight: 0.9
|
|
1016
|
+
},
|
|
1017
|
+
memory: {
|
|
1018
|
+
value: 6e-4,
|
|
1019
|
+
weight: 0.1
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
Access: {
|
|
1025
|
+
enableFeature: {
|
|
1026
|
+
cpu: {
|
|
1027
|
+
value: 0.01,
|
|
1028
|
+
weight: 0.8
|
|
1029
|
+
},
|
|
1030
|
+
memory: {
|
|
1031
|
+
value: 0.043,
|
|
1032
|
+
weight: 0.2
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
door: {
|
|
1036
|
+
max: 100,
|
|
1037
|
+
data: {
|
|
1038
|
+
cpu: {
|
|
1039
|
+
value: 1e-4,
|
|
1040
|
+
weight: 0.8
|
|
1041
|
+
},
|
|
1042
|
+
memory: {
|
|
1043
|
+
value: 1e-4,
|
|
1044
|
+
weight: 0.2
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
// Cloud Key G2 Plus
|
|
1052
|
+
{
|
|
699
1053
|
id: ComputeResourceCalculator_types.DeviceId.CkG2Plus,
|
|
700
1054
|
sku: ["uck-g2-plus"],
|
|
701
1055
|
title: "device.CloudKey+",
|
|
@@ -708,8 +1062,8 @@ const DEVICES = [{
|
|
|
708
1062
|
defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
|
|
709
1063
|
hdd: {
|
|
710
1064
|
max: 1,
|
|
711
|
-
|
|
712
|
-
|
|
1065
|
+
gigabyteOptions: [1e3],
|
|
1066
|
+
parityDisks: 0
|
|
713
1067
|
},
|
|
714
1068
|
maxReducer: {
|
|
715
1069
|
enabledFeaturesTrigger: 2,
|
|
@@ -757,14 +1111,13 @@ const DEVICES = [{
|
|
|
757
1111
|
weight: 0.4
|
|
758
1112
|
}
|
|
759
1113
|
},
|
|
760
|
-
threatManagementLoad: 0.032,
|
|
761
1114
|
securityDetection: {
|
|
762
1115
|
cpu: {
|
|
763
|
-
value:
|
|
1116
|
+
value: 51e-4,
|
|
764
1117
|
weight: 0.6
|
|
765
1118
|
},
|
|
766
1119
|
memory: {
|
|
767
|
-
value:
|
|
1120
|
+
value: 51e-4,
|
|
768
1121
|
weight: 0.4
|
|
769
1122
|
}
|
|
770
1123
|
},
|
|
@@ -825,7 +1178,7 @@ const DEVICES = [{
|
|
|
825
1178
|
data: {
|
|
826
1179
|
cpu: {
|
|
827
1180
|
value: 0.019,
|
|
828
|
-
weight: 0.
|
|
1181
|
+
weight: 0.9
|
|
829
1182
|
},
|
|
830
1183
|
memory: {
|
|
831
1184
|
value: 3e-4,
|
|
@@ -838,7 +1191,7 @@ const DEVICES = [{
|
|
|
838
1191
|
data: {
|
|
839
1192
|
cpu: {
|
|
840
1193
|
value: 0.025,
|
|
841
|
-
weight: 0.
|
|
1194
|
+
weight: 0.9
|
|
842
1195
|
},
|
|
843
1196
|
memory: {
|
|
844
1197
|
value: 7e-4,
|
|
@@ -851,7 +1204,7 @@ const DEVICES = [{
|
|
|
851
1204
|
data: {
|
|
852
1205
|
cpu: {
|
|
853
1206
|
value: 0.031,
|
|
854
|
-
weight: 0.
|
|
1207
|
+
weight: 0.9
|
|
855
1208
|
},
|
|
856
1209
|
memory: {
|
|
857
1210
|
value: 1e-3,
|
|
@@ -921,7 +1274,9 @@ const DEVICES = [{
|
|
|
921
1274
|
}
|
|
922
1275
|
}
|
|
923
1276
|
}
|
|
924
|
-
},
|
|
1277
|
+
},
|
|
1278
|
+
// UDW
|
|
1279
|
+
{
|
|
925
1280
|
id: ComputeResourceCalculator_types.DeviceId.DreamWall,
|
|
926
1281
|
sku: ["udw"],
|
|
927
1282
|
title: "device.UDW",
|
|
@@ -969,14 +1324,13 @@ const DEVICES = [{
|
|
|
969
1324
|
weight: 0.3
|
|
970
1325
|
}
|
|
971
1326
|
},
|
|
972
|
-
threatManagementLoad: 0.1215,
|
|
973
1327
|
securityDetection: {
|
|
974
1328
|
cpu: {
|
|
975
|
-
value:
|
|
1329
|
+
value: 0.1507,
|
|
976
1330
|
weight: 0.7
|
|
977
1331
|
},
|
|
978
1332
|
memory: {
|
|
979
|
-
value: 0,
|
|
1333
|
+
value: 0.1347,
|
|
980
1334
|
weight: 0.3
|
|
981
1335
|
}
|
|
982
1336
|
},
|
|
@@ -1037,7 +1391,7 @@ const DEVICES = [{
|
|
|
1037
1391
|
data: {
|
|
1038
1392
|
cpu: {
|
|
1039
1393
|
value: 8e-3,
|
|
1040
|
-
weight: 0.
|
|
1394
|
+
weight: 0.9
|
|
1041
1395
|
},
|
|
1042
1396
|
memory: {
|
|
1043
1397
|
value: 4e-4,
|
|
@@ -1050,7 +1404,7 @@ const DEVICES = [{
|
|
|
1050
1404
|
data: {
|
|
1051
1405
|
cpu: {
|
|
1052
1406
|
value: 0.02,
|
|
1053
|
-
weight: 0.
|
|
1407
|
+
weight: 0.9
|
|
1054
1408
|
},
|
|
1055
1409
|
memory: {
|
|
1056
1410
|
value: 5e-4,
|
|
@@ -1063,7 +1417,7 @@ const DEVICES = [{
|
|
|
1063
1417
|
data: {
|
|
1064
1418
|
cpu: {
|
|
1065
1419
|
value: 0.026,
|
|
1066
|
-
weight: 0.
|
|
1420
|
+
weight: 0.9
|
|
1067
1421
|
},
|
|
1068
1422
|
memory: {
|
|
1069
1423
|
value: 6e-4,
|
|
@@ -1133,7 +1487,9 @@ const DEVICES = [{
|
|
|
1133
1487
|
}
|
|
1134
1488
|
}
|
|
1135
1489
|
}
|
|
1136
|
-
},
|
|
1490
|
+
},
|
|
1491
|
+
// UDR
|
|
1492
|
+
{
|
|
1137
1493
|
id: ComputeResourceCalculator_types.DeviceId.Udr,
|
|
1138
1494
|
sku: ["udr"],
|
|
1139
1495
|
title: "device.UDR",
|
|
@@ -1182,14 +1538,13 @@ const DEVICES = [{
|
|
|
1182
1538
|
weight: 0.5
|
|
1183
1539
|
}
|
|
1184
1540
|
},
|
|
1185
|
-
threatManagementLoad: 0.1682,
|
|
1186
1541
|
securityDetection: {
|
|
1187
1542
|
cpu: {
|
|
1188
|
-
value: 0.
|
|
1543
|
+
value: 0.2754,
|
|
1189
1544
|
weight: 0.5
|
|
1190
1545
|
},
|
|
1191
1546
|
memory: {
|
|
1192
|
-
value: 0,
|
|
1547
|
+
value: 0.1583,
|
|
1193
1548
|
weight: 0.5
|
|
1194
1549
|
}
|
|
1195
1550
|
},
|
|
@@ -1250,7 +1605,7 @@ const DEVICES = [{
|
|
|
1250
1605
|
data: {
|
|
1251
1606
|
cpu: {
|
|
1252
1607
|
value: 0.071,
|
|
1253
|
-
weight: 0.
|
|
1608
|
+
weight: 0.9
|
|
1254
1609
|
},
|
|
1255
1610
|
memory: {
|
|
1256
1611
|
value: 3e-4,
|
|
@@ -1263,7 +1618,7 @@ const DEVICES = [{
|
|
|
1263
1618
|
data: {
|
|
1264
1619
|
cpu: {
|
|
1265
1620
|
value: 0.093,
|
|
1266
|
-
weight: 0.
|
|
1621
|
+
weight: 0.9
|
|
1267
1622
|
},
|
|
1268
1623
|
memory: {
|
|
1269
1624
|
value: 7e-4,
|
|
@@ -1276,7 +1631,7 @@ const DEVICES = [{
|
|
|
1276
1631
|
data: {
|
|
1277
1632
|
cpu: {
|
|
1278
1633
|
value: 0.114,
|
|
1279
|
-
weight: 0.
|
|
1634
|
+
weight: 0.9
|
|
1280
1635
|
},
|
|
1281
1636
|
memory: {
|
|
1282
1637
|
value: 1e-3,
|