@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,3 +1,5 @@
|
|
|
1
|
+
import '../assets/consoles/envr.png.mjs';
|
|
2
|
+
import '../assets/consoles/ucg-max.png.mjs';
|
|
1
3
|
import '../assets/consoles/udm-pro-max.png.mjs';
|
|
2
4
|
import '../assets/consoles/udm-pro.png.mjs';
|
|
3
5
|
import '../assets/consoles/udr.png.mjs';
|
|
@@ -8,13 +10,17 @@ import '../assets/consoles/unvr.png.mjs';
|
|
|
8
10
|
import { DeviceId, FeatureId } from './ComputeResourceCalculator.types.mjs';
|
|
9
11
|
import udmProMax__default from "../../../assets/udm-pro-max.png";
|
|
10
12
|
import udmPro__default from "../../../assets/udm-pro.png";
|
|
11
|
-
import
|
|
13
|
+
import ucgMax__default from "../../../assets/ucg-max.png";
|
|
14
|
+
import envr__default from "../../../assets/envr.png";
|
|
12
15
|
import unvrPro__default from "../../../assets/unvr-pro.png";
|
|
16
|
+
import unvr__default from "../../../assets/unvr.png";
|
|
13
17
|
import ckg2__default from "../../../assets/unifi-cloudkey-plus.png";
|
|
14
18
|
import udw__default from "../../../assets/udw.png";
|
|
15
19
|
import udr__default from "../../../assets/udr.png";
|
|
16
20
|
"use strict";
|
|
17
|
-
const DEVICES = [
|
|
21
|
+
const DEVICES = [
|
|
22
|
+
// UDM Pro Max
|
|
23
|
+
{
|
|
18
24
|
id: DeviceId.UDMProMax,
|
|
19
25
|
sku: ["udm-pro-max"],
|
|
20
26
|
title: "device.UDM Pro Max",
|
|
@@ -69,14 +75,13 @@ const DEVICES = [{
|
|
|
69
75
|
weight: 0.1
|
|
70
76
|
}
|
|
71
77
|
},
|
|
72
|
-
threatManagementLoad: 0.1375,
|
|
73
78
|
securityDetection: {
|
|
74
79
|
cpu: {
|
|
75
|
-
value:
|
|
80
|
+
value: 0.1204,
|
|
76
81
|
weight: 0.9
|
|
77
82
|
},
|
|
78
83
|
memory: {
|
|
79
|
-
value: 0,
|
|
84
|
+
value: 0.0861,
|
|
80
85
|
weight: 0.1
|
|
81
86
|
}
|
|
82
87
|
},
|
|
@@ -137,7 +142,7 @@ const DEVICES = [{
|
|
|
137
142
|
data: {
|
|
138
143
|
cpu: {
|
|
139
144
|
value: 8e-3,
|
|
140
|
-
weight: 0.
|
|
145
|
+
weight: 0.9
|
|
141
146
|
},
|
|
142
147
|
memory: {
|
|
143
148
|
value: 5e-4,
|
|
@@ -150,7 +155,7 @@ const DEVICES = [{
|
|
|
150
155
|
data: {
|
|
151
156
|
cpu: {
|
|
152
157
|
value: 0.02,
|
|
153
|
-
weight: 0.
|
|
158
|
+
weight: 0.9
|
|
154
159
|
},
|
|
155
160
|
memory: {
|
|
156
161
|
value: 7e-4,
|
|
@@ -163,7 +168,7 @@ const DEVICES = [{
|
|
|
163
168
|
data: {
|
|
164
169
|
cpu: {
|
|
165
170
|
value: 0.026,
|
|
166
|
-
weight: 0.
|
|
171
|
+
weight: 0.9
|
|
167
172
|
},
|
|
168
173
|
memory: {
|
|
169
174
|
value: 4e-4,
|
|
@@ -235,7 +240,9 @@ const DEVICES = [{
|
|
|
235
240
|
}
|
|
236
241
|
}
|
|
237
242
|
}
|
|
238
|
-
},
|
|
243
|
+
},
|
|
244
|
+
// UDM Pro SE
|
|
245
|
+
{
|
|
239
246
|
id: DeviceId.UdmProUdmSe,
|
|
240
247
|
sku: ["udm-pro", "udm-se"],
|
|
241
248
|
title: "device.UDM Pro / SE",
|
|
@@ -287,14 +294,13 @@ const DEVICES = [{
|
|
|
287
294
|
weight: 0.3
|
|
288
295
|
}
|
|
289
296
|
},
|
|
290
|
-
threatManagementLoad: 0.1161,
|
|
291
297
|
securityDetection: {
|
|
292
298
|
cpu: {
|
|
293
|
-
value:
|
|
299
|
+
value: 0.1668,
|
|
294
300
|
weight: 0.7
|
|
295
301
|
},
|
|
296
302
|
memory: {
|
|
297
|
-
value: 0,
|
|
303
|
+
value: 0.118,
|
|
298
304
|
weight: 0.3
|
|
299
305
|
}
|
|
300
306
|
},
|
|
@@ -355,7 +361,7 @@ const DEVICES = [{
|
|
|
355
361
|
data: {
|
|
356
362
|
cpu: {
|
|
357
363
|
value: 8e-3,
|
|
358
|
-
weight: 0.
|
|
364
|
+
weight: 0.9
|
|
359
365
|
},
|
|
360
366
|
memory: {
|
|
361
367
|
value: 5e-4,
|
|
@@ -368,7 +374,7 @@ const DEVICES = [{
|
|
|
368
374
|
data: {
|
|
369
375
|
cpu: {
|
|
370
376
|
value: 0.02,
|
|
371
|
-
weight: 0.
|
|
377
|
+
weight: 0.9
|
|
372
378
|
},
|
|
373
379
|
memory: {
|
|
374
380
|
value: 5e-4,
|
|
@@ -381,7 +387,7 @@ const DEVICES = [{
|
|
|
381
387
|
data: {
|
|
382
388
|
cpu: {
|
|
383
389
|
value: 0.026,
|
|
384
|
-
weight: 0.
|
|
390
|
+
weight: 0.9
|
|
385
391
|
},
|
|
386
392
|
memory: {
|
|
387
393
|
value: 1e-3,
|
|
@@ -451,12 +457,237 @@ const DEVICES = [{
|
|
|
451
457
|
}
|
|
452
458
|
}
|
|
453
459
|
}
|
|
454
|
-
},
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
460
|
+
},
|
|
461
|
+
// UCG Max
|
|
462
|
+
{
|
|
463
|
+
id: DeviceId.UcgMax,
|
|
464
|
+
sku: ["ucg-max"],
|
|
465
|
+
title: "device.UCG Max",
|
|
458
466
|
img: {
|
|
459
|
-
src:
|
|
467
|
+
src: ucgMax__default,
|
|
468
|
+
width: 68,
|
|
469
|
+
height: 68
|
|
470
|
+
},
|
|
471
|
+
settings: {
|
|
472
|
+
forcedFeatures: [FeatureId.Network],
|
|
473
|
+
defaultEnabledFeatures: [FeatureId.Network],
|
|
474
|
+
hdd: {
|
|
475
|
+
max: 1,
|
|
476
|
+
parityDisks: 0,
|
|
477
|
+
gigabyteOptions: [512, 1e3, 2e3]
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
loadData: {
|
|
481
|
+
Network: {
|
|
482
|
+
enableFeature: {
|
|
483
|
+
cpu: {
|
|
484
|
+
value: 0.015,
|
|
485
|
+
weight: 0.9
|
|
486
|
+
},
|
|
487
|
+
memory: {
|
|
488
|
+
value: 0.49,
|
|
489
|
+
weight: 0.1
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
accessPoint: {
|
|
493
|
+
max: 30,
|
|
494
|
+
data: {
|
|
495
|
+
cpu: {
|
|
496
|
+
value: 61e-4,
|
|
497
|
+
weight: 0.9
|
|
498
|
+
},
|
|
499
|
+
memory: {
|
|
500
|
+
value: 0.016,
|
|
501
|
+
weight: 0.1
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
vpn: {
|
|
506
|
+
cpu: {
|
|
507
|
+
value: 0,
|
|
508
|
+
weight: 0.9
|
|
509
|
+
},
|
|
510
|
+
memory: {
|
|
511
|
+
value: 1e-3,
|
|
512
|
+
weight: 0.1
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
securityDetection: {
|
|
516
|
+
cpu: {
|
|
517
|
+
value: 0.4008,
|
|
518
|
+
weight: 0.9
|
|
519
|
+
},
|
|
520
|
+
memory: {
|
|
521
|
+
value: 0.1515,
|
|
522
|
+
weight: 0.1
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
adBlocking: {
|
|
526
|
+
cpu: {
|
|
527
|
+
value: 0.0132,
|
|
528
|
+
weight: 0.9
|
|
529
|
+
},
|
|
530
|
+
memory: {
|
|
531
|
+
value: 0,
|
|
532
|
+
weight: 0.1
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
qos: {
|
|
536
|
+
cpu: {
|
|
537
|
+
value: 0.0173,
|
|
538
|
+
weight: 0.9
|
|
539
|
+
},
|
|
540
|
+
memory: {
|
|
541
|
+
value: 0.0255,
|
|
542
|
+
weight: 0.1
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
Protect: {
|
|
547
|
+
enableFeature: {
|
|
548
|
+
cpu: {
|
|
549
|
+
value: 0.1,
|
|
550
|
+
weight: 0.9
|
|
551
|
+
},
|
|
552
|
+
memory: {
|
|
553
|
+
value: 0.2809,
|
|
554
|
+
weight: 0.1
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
playback: {
|
|
558
|
+
cpu: {
|
|
559
|
+
value: 0,
|
|
560
|
+
weight: 0.9
|
|
561
|
+
},
|
|
562
|
+
memory: {
|
|
563
|
+
value: 0,
|
|
564
|
+
weight: 0.1
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
liveView: {
|
|
568
|
+
cpu: {
|
|
569
|
+
value: 0,
|
|
570
|
+
weight: 0.9
|
|
571
|
+
},
|
|
572
|
+
memory: {
|
|
573
|
+
value: 0,
|
|
574
|
+
weight: 0.1
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
cameraHd: {
|
|
578
|
+
max: 15,
|
|
579
|
+
data: {
|
|
580
|
+
cpu: {
|
|
581
|
+
value: 0.0106,
|
|
582
|
+
weight: 0.9
|
|
583
|
+
},
|
|
584
|
+
memory: {
|
|
585
|
+
value: 3e-4,
|
|
586
|
+
weight: 0.1
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
camera2k: {
|
|
591
|
+
max: 8,
|
|
592
|
+
data: {
|
|
593
|
+
cpu: {
|
|
594
|
+
value: 0.0211,
|
|
595
|
+
weight: 0.9
|
|
596
|
+
},
|
|
597
|
+
memory: {
|
|
598
|
+
value: 6e-4,
|
|
599
|
+
weight: 0.1
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
camera4k: {
|
|
604
|
+
max: 5,
|
|
605
|
+
data: {
|
|
606
|
+
cpu: {
|
|
607
|
+
value: 0.03,
|
|
608
|
+
weight: 0.9
|
|
609
|
+
},
|
|
610
|
+
memory: {
|
|
611
|
+
value: 14e-4,
|
|
612
|
+
weight: 0.1
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
Access: {
|
|
618
|
+
enableFeature: {
|
|
619
|
+
cpu: {
|
|
620
|
+
value: 75e-4,
|
|
621
|
+
weight: 0.5
|
|
622
|
+
},
|
|
623
|
+
memory: {
|
|
624
|
+
value: 63e-4,
|
|
625
|
+
weight: 0.5
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
door: {
|
|
629
|
+
max: 100,
|
|
630
|
+
data: {
|
|
631
|
+
cpu: {
|
|
632
|
+
value: 5e-3,
|
|
633
|
+
weight: 0.5
|
|
634
|
+
},
|
|
635
|
+
memory: {
|
|
636
|
+
value: 0.0189,
|
|
637
|
+
weight: 0.5
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
Talk: {
|
|
643
|
+
enableFeature: {
|
|
644
|
+
cpu: {
|
|
645
|
+
value: 8e-3,
|
|
646
|
+
weight: 0.5
|
|
647
|
+
},
|
|
648
|
+
memory: {
|
|
649
|
+
value: 0.0254,
|
|
650
|
+
weight: 0.5
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
phone: {
|
|
654
|
+
max: 100,
|
|
655
|
+
data: {
|
|
656
|
+
cpu: {
|
|
657
|
+
value: 0.013,
|
|
658
|
+
weight: 0.5
|
|
659
|
+
},
|
|
660
|
+
memory: {
|
|
661
|
+
value: 6e-4,
|
|
662
|
+
weight: 0.5
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
record: {
|
|
667
|
+
cpu: {
|
|
668
|
+
value: 2e-4,
|
|
669
|
+
weight: 0.5
|
|
670
|
+
},
|
|
671
|
+
memory: {
|
|
672
|
+
value: 5e-4,
|
|
673
|
+
weight: 0.5
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
// ENVR
|
|
680
|
+
/**
|
|
681
|
+
* As a quick solution, values are copied from UNVR except for cameras(hd,2k,4k)
|
|
682
|
+
* Discussion: https://ui.slack.com/archives/C02JG0GKYC8/p1731328689092089?thread_ts=1730294242.638029&cid=C02JG0GKYC8
|
|
683
|
+
* 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
|
|
684
|
+
*/
|
|
685
|
+
{
|
|
686
|
+
id: DeviceId.Envr,
|
|
687
|
+
sku: ["envr"],
|
|
688
|
+
title: "device.ENVR",
|
|
689
|
+
img: {
|
|
690
|
+
src: envr__default,
|
|
460
691
|
width: 68,
|
|
461
692
|
height: 68
|
|
462
693
|
},
|
|
@@ -464,7 +695,7 @@ const DEVICES = [{
|
|
|
464
695
|
defaultEnabledFeatures: [FeatureId.Protect],
|
|
465
696
|
forcedFeatures: [FeatureId.Protect],
|
|
466
697
|
hdd: {
|
|
467
|
-
max:
|
|
698
|
+
max: 16,
|
|
468
699
|
parityDisks: 1
|
|
469
700
|
}
|
|
470
701
|
},
|
|
@@ -472,12 +703,12 @@ const DEVICES = [{
|
|
|
472
703
|
Protect: {
|
|
473
704
|
enableFeature: {
|
|
474
705
|
cpu: {
|
|
475
|
-
value: 0.
|
|
476
|
-
weight: 0.
|
|
706
|
+
value: 0.0128,
|
|
707
|
+
weight: 0.9
|
|
477
708
|
},
|
|
478
709
|
memory: {
|
|
479
|
-
value: 0.
|
|
480
|
-
weight: 0.
|
|
710
|
+
value: 0.082,
|
|
711
|
+
weight: 0.1
|
|
481
712
|
}
|
|
482
713
|
},
|
|
483
714
|
playback: {
|
|
@@ -501,24 +732,24 @@ const DEVICES = [{
|
|
|
501
732
|
}
|
|
502
733
|
},
|
|
503
734
|
cameraHd: {
|
|
504
|
-
max:
|
|
735
|
+
max: 210,
|
|
505
736
|
data: {
|
|
506
737
|
cpu: {
|
|
507
|
-
value:
|
|
508
|
-
weight: 0.
|
|
738
|
+
value: 233e-5,
|
|
739
|
+
weight: 0.9
|
|
509
740
|
},
|
|
510
741
|
memory: {
|
|
511
|
-
value:
|
|
742
|
+
value: 4e-4,
|
|
512
743
|
weight: 0.1
|
|
513
744
|
}
|
|
514
745
|
}
|
|
515
746
|
},
|
|
516
747
|
camera2k: {
|
|
517
|
-
max:
|
|
748
|
+
max: 140,
|
|
518
749
|
data: {
|
|
519
750
|
cpu: {
|
|
520
|
-
value:
|
|
521
|
-
weight: 0.
|
|
751
|
+
value: 41e-4,
|
|
752
|
+
weight: 0.9
|
|
522
753
|
},
|
|
523
754
|
memory: {
|
|
524
755
|
value: 5e-4,
|
|
@@ -527,14 +758,14 @@ const DEVICES = [{
|
|
|
527
758
|
}
|
|
528
759
|
},
|
|
529
760
|
camera4k: {
|
|
530
|
-
max:
|
|
761
|
+
max: 70,
|
|
531
762
|
data: {
|
|
532
763
|
cpu: {
|
|
533
|
-
value:
|
|
534
|
-
weight: 0.
|
|
764
|
+
value: 76e-4,
|
|
765
|
+
weight: 0.9
|
|
535
766
|
},
|
|
536
767
|
memory: {
|
|
537
|
-
value:
|
|
768
|
+
value: 5e-4,
|
|
538
769
|
weight: 0.1
|
|
539
770
|
}
|
|
540
771
|
}
|
|
@@ -566,7 +797,9 @@ const DEVICES = [{
|
|
|
566
797
|
}
|
|
567
798
|
}
|
|
568
799
|
}
|
|
569
|
-
},
|
|
800
|
+
},
|
|
801
|
+
// UNVR Pro
|
|
802
|
+
{
|
|
570
803
|
id: DeviceId.UnvrPro,
|
|
571
804
|
sku: ["unvr-pro"],
|
|
572
805
|
title: "device.UNVR Pro",
|
|
@@ -620,7 +853,7 @@ const DEVICES = [{
|
|
|
620
853
|
data: {
|
|
621
854
|
cpu: {
|
|
622
855
|
value: 76e-4,
|
|
623
|
-
weight: 0.
|
|
856
|
+
weight: 0.9
|
|
624
857
|
},
|
|
625
858
|
memory: {
|
|
626
859
|
value: 2e-4,
|
|
@@ -633,7 +866,7 @@ const DEVICES = [{
|
|
|
633
866
|
data: {
|
|
634
867
|
cpu: {
|
|
635
868
|
value: 0.0186,
|
|
636
|
-
weight: 0.
|
|
869
|
+
weight: 0.9
|
|
637
870
|
},
|
|
638
871
|
memory: {
|
|
639
872
|
value: 4e-4,
|
|
@@ -646,7 +879,7 @@ const DEVICES = [{
|
|
|
646
879
|
data: {
|
|
647
880
|
cpu: {
|
|
648
881
|
value: 0.0238,
|
|
649
|
-
weight: 0.
|
|
882
|
+
weight: 0.9
|
|
650
883
|
},
|
|
651
884
|
memory: {
|
|
652
885
|
value: 4e-4,
|
|
@@ -681,7 +914,126 @@ const DEVICES = [{
|
|
|
681
914
|
}
|
|
682
915
|
}
|
|
683
916
|
}
|
|
684
|
-
},
|
|
917
|
+
},
|
|
918
|
+
// UNVR
|
|
919
|
+
{
|
|
920
|
+
id: DeviceId.Unvr,
|
|
921
|
+
sku: ["unvr"],
|
|
922
|
+
title: "device.UNVR",
|
|
923
|
+
img: {
|
|
924
|
+
src: unvr__default,
|
|
925
|
+
width: 68,
|
|
926
|
+
height: 68
|
|
927
|
+
},
|
|
928
|
+
settings: {
|
|
929
|
+
defaultEnabledFeatures: [FeatureId.Protect],
|
|
930
|
+
forcedFeatures: [FeatureId.Protect],
|
|
931
|
+
hdd: {
|
|
932
|
+
max: 4,
|
|
933
|
+
parityDisks: 1
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
loadData: {
|
|
937
|
+
Protect: {
|
|
938
|
+
enableFeature: {
|
|
939
|
+
cpu: {
|
|
940
|
+
value: 0.0558,
|
|
941
|
+
weight: 0.8
|
|
942
|
+
},
|
|
943
|
+
memory: {
|
|
944
|
+
value: 0.117,
|
|
945
|
+
weight: 0.2
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
playback: {
|
|
949
|
+
cpu: {
|
|
950
|
+
value: 0.15,
|
|
951
|
+
weight: 0.8
|
|
952
|
+
},
|
|
953
|
+
memory: {
|
|
954
|
+
value: 0,
|
|
955
|
+
weight: 0.2
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
liveView: {
|
|
959
|
+
cpu: {
|
|
960
|
+
value: 0.225,
|
|
961
|
+
weight: 0.8
|
|
962
|
+
},
|
|
963
|
+
memory: {
|
|
964
|
+
value: 0.045,
|
|
965
|
+
weight: 0.2
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
cameraHd: {
|
|
969
|
+
max: 60,
|
|
970
|
+
data: {
|
|
971
|
+
cpu: {
|
|
972
|
+
value: 76e-4,
|
|
973
|
+
weight: 0.9
|
|
974
|
+
},
|
|
975
|
+
memory: {
|
|
976
|
+
value: 3e-4,
|
|
977
|
+
weight: 0.1
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
camera2k: {
|
|
982
|
+
max: 30,
|
|
983
|
+
data: {
|
|
984
|
+
cpu: {
|
|
985
|
+
value: 0.0183,
|
|
986
|
+
weight: 0.9
|
|
987
|
+
},
|
|
988
|
+
memory: {
|
|
989
|
+
value: 5e-4,
|
|
990
|
+
weight: 0.1
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
camera4k: {
|
|
995
|
+
max: 18,
|
|
996
|
+
data: {
|
|
997
|
+
cpu: {
|
|
998
|
+
value: 0.0239,
|
|
999
|
+
weight: 0.9
|
|
1000
|
+
},
|
|
1001
|
+
memory: {
|
|
1002
|
+
value: 6e-4,
|
|
1003
|
+
weight: 0.1
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
Access: {
|
|
1009
|
+
enableFeature: {
|
|
1010
|
+
cpu: {
|
|
1011
|
+
value: 0.01,
|
|
1012
|
+
weight: 0.8
|
|
1013
|
+
},
|
|
1014
|
+
memory: {
|
|
1015
|
+
value: 0.043,
|
|
1016
|
+
weight: 0.2
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
door: {
|
|
1020
|
+
max: 100,
|
|
1021
|
+
data: {
|
|
1022
|
+
cpu: {
|
|
1023
|
+
value: 1e-4,
|
|
1024
|
+
weight: 0.8
|
|
1025
|
+
},
|
|
1026
|
+
memory: {
|
|
1027
|
+
value: 1e-4,
|
|
1028
|
+
weight: 0.2
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
// Cloud Key G2 Plus
|
|
1036
|
+
{
|
|
685
1037
|
id: DeviceId.CkG2Plus,
|
|
686
1038
|
sku: ["uck-g2-plus"],
|
|
687
1039
|
title: "device.CloudKey+",
|
|
@@ -694,8 +1046,8 @@ const DEVICES = [{
|
|
|
694
1046
|
defaultEnabledFeatures: [FeatureId.Network],
|
|
695
1047
|
hdd: {
|
|
696
1048
|
max: 1,
|
|
697
|
-
|
|
698
|
-
|
|
1049
|
+
gigabyteOptions: [1e3],
|
|
1050
|
+
parityDisks: 0
|
|
699
1051
|
},
|
|
700
1052
|
maxReducer: {
|
|
701
1053
|
enabledFeaturesTrigger: 2,
|
|
@@ -743,14 +1095,13 @@ const DEVICES = [{
|
|
|
743
1095
|
weight: 0.4
|
|
744
1096
|
}
|
|
745
1097
|
},
|
|
746
|
-
threatManagementLoad: 0.032,
|
|
747
1098
|
securityDetection: {
|
|
748
1099
|
cpu: {
|
|
749
|
-
value:
|
|
1100
|
+
value: 51e-4,
|
|
750
1101
|
weight: 0.6
|
|
751
1102
|
},
|
|
752
1103
|
memory: {
|
|
753
|
-
value:
|
|
1104
|
+
value: 51e-4,
|
|
754
1105
|
weight: 0.4
|
|
755
1106
|
}
|
|
756
1107
|
},
|
|
@@ -811,7 +1162,7 @@ const DEVICES = [{
|
|
|
811
1162
|
data: {
|
|
812
1163
|
cpu: {
|
|
813
1164
|
value: 0.019,
|
|
814
|
-
weight: 0.
|
|
1165
|
+
weight: 0.9
|
|
815
1166
|
},
|
|
816
1167
|
memory: {
|
|
817
1168
|
value: 3e-4,
|
|
@@ -824,7 +1175,7 @@ const DEVICES = [{
|
|
|
824
1175
|
data: {
|
|
825
1176
|
cpu: {
|
|
826
1177
|
value: 0.025,
|
|
827
|
-
weight: 0.
|
|
1178
|
+
weight: 0.9
|
|
828
1179
|
},
|
|
829
1180
|
memory: {
|
|
830
1181
|
value: 7e-4,
|
|
@@ -837,7 +1188,7 @@ const DEVICES = [{
|
|
|
837
1188
|
data: {
|
|
838
1189
|
cpu: {
|
|
839
1190
|
value: 0.031,
|
|
840
|
-
weight: 0.
|
|
1191
|
+
weight: 0.9
|
|
841
1192
|
},
|
|
842
1193
|
memory: {
|
|
843
1194
|
value: 1e-3,
|
|
@@ -907,7 +1258,9 @@ const DEVICES = [{
|
|
|
907
1258
|
}
|
|
908
1259
|
}
|
|
909
1260
|
}
|
|
910
|
-
},
|
|
1261
|
+
},
|
|
1262
|
+
// UDW
|
|
1263
|
+
{
|
|
911
1264
|
id: DeviceId.DreamWall,
|
|
912
1265
|
sku: ["udw"],
|
|
913
1266
|
title: "device.UDW",
|
|
@@ -955,14 +1308,13 @@ const DEVICES = [{
|
|
|
955
1308
|
weight: 0.3
|
|
956
1309
|
}
|
|
957
1310
|
},
|
|
958
|
-
threatManagementLoad: 0.1215,
|
|
959
1311
|
securityDetection: {
|
|
960
1312
|
cpu: {
|
|
961
|
-
value:
|
|
1313
|
+
value: 0.1507,
|
|
962
1314
|
weight: 0.7
|
|
963
1315
|
},
|
|
964
1316
|
memory: {
|
|
965
|
-
value: 0,
|
|
1317
|
+
value: 0.1347,
|
|
966
1318
|
weight: 0.3
|
|
967
1319
|
}
|
|
968
1320
|
},
|
|
@@ -1023,7 +1375,7 @@ const DEVICES = [{
|
|
|
1023
1375
|
data: {
|
|
1024
1376
|
cpu: {
|
|
1025
1377
|
value: 8e-3,
|
|
1026
|
-
weight: 0.
|
|
1378
|
+
weight: 0.9
|
|
1027
1379
|
},
|
|
1028
1380
|
memory: {
|
|
1029
1381
|
value: 4e-4,
|
|
@@ -1036,7 +1388,7 @@ const DEVICES = [{
|
|
|
1036
1388
|
data: {
|
|
1037
1389
|
cpu: {
|
|
1038
1390
|
value: 0.02,
|
|
1039
|
-
weight: 0.
|
|
1391
|
+
weight: 0.9
|
|
1040
1392
|
},
|
|
1041
1393
|
memory: {
|
|
1042
1394
|
value: 5e-4,
|
|
@@ -1049,7 +1401,7 @@ const DEVICES = [{
|
|
|
1049
1401
|
data: {
|
|
1050
1402
|
cpu: {
|
|
1051
1403
|
value: 0.026,
|
|
1052
|
-
weight: 0.
|
|
1404
|
+
weight: 0.9
|
|
1053
1405
|
},
|
|
1054
1406
|
memory: {
|
|
1055
1407
|
value: 6e-4,
|
|
@@ -1119,7 +1471,9 @@ const DEVICES = [{
|
|
|
1119
1471
|
}
|
|
1120
1472
|
}
|
|
1121
1473
|
}
|
|
1122
|
-
},
|
|
1474
|
+
},
|
|
1475
|
+
// UDR
|
|
1476
|
+
{
|
|
1123
1477
|
id: DeviceId.Udr,
|
|
1124
1478
|
sku: ["udr"],
|
|
1125
1479
|
title: "device.UDR",
|
|
@@ -1168,14 +1522,13 @@ const DEVICES = [{
|
|
|
1168
1522
|
weight: 0.5
|
|
1169
1523
|
}
|
|
1170
1524
|
},
|
|
1171
|
-
threatManagementLoad: 0.1682,
|
|
1172
1525
|
securityDetection: {
|
|
1173
1526
|
cpu: {
|
|
1174
|
-
value: 0.
|
|
1527
|
+
value: 0.2754,
|
|
1175
1528
|
weight: 0.5
|
|
1176
1529
|
},
|
|
1177
1530
|
memory: {
|
|
1178
|
-
value: 0,
|
|
1531
|
+
value: 0.1583,
|
|
1179
1532
|
weight: 0.5
|
|
1180
1533
|
}
|
|
1181
1534
|
},
|
|
@@ -1236,7 +1589,7 @@ const DEVICES = [{
|
|
|
1236
1589
|
data: {
|
|
1237
1590
|
cpu: {
|
|
1238
1591
|
value: 0.071,
|
|
1239
|
-
weight: 0.
|
|
1592
|
+
weight: 0.9
|
|
1240
1593
|
},
|
|
1241
1594
|
memory: {
|
|
1242
1595
|
value: 3e-4,
|
|
@@ -1249,7 +1602,7 @@ const DEVICES = [{
|
|
|
1249
1602
|
data: {
|
|
1250
1603
|
cpu: {
|
|
1251
1604
|
value: 0.093,
|
|
1252
|
-
weight: 0.
|
|
1605
|
+
weight: 0.9
|
|
1253
1606
|
},
|
|
1254
1607
|
memory: {
|
|
1255
1608
|
value: 7e-4,
|
|
@@ -1262,7 +1615,7 @@ const DEVICES = [{
|
|
|
1262
1615
|
data: {
|
|
1263
1616
|
cpu: {
|
|
1264
1617
|
value: 0.114,
|
|
1265
|
-
weight: 0.
|
|
1618
|
+
weight: 0.9
|
|
1266
1619
|
},
|
|
1267
1620
|
memory: {
|
|
1268
1621
|
value: 1e-3,
|