@ubnt/store.core 9.63.0-beta.3 → 9.63.0-beta.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/assets/ucg-fiber.png +0 -0
  3. package/lib/assets/udmPro.jpg +0 -0
  4. package/lib/assets/udmPro2.jpg +0 -0
  5. package/lib/assets/udmProSpecial.jpg +0 -0
  6. package/lib/assets/udmProSpecial2.jpg +0 -0
  7. package/lib/assets/udr2.jpg +0 -0
  8. package/lib/assets/udr3.jpg +0 -0
  9. package/lib/assets/udr7.jpg +0 -0
  10. package/lib/assets/udr7.png +0 -0
  11. package/lib/assets/udr72.jpg +0 -0
  12. package/lib/assets/ux7.png +0 -0
  13. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  14. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  15. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  16. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  17. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  18. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  19. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  20. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  21. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  22. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  23. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  24. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  25. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  26. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  27. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  28. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  29. package/lib/components/ModelCompareV3/data/CloudGateways.js +12 -12
  30. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +8 -8
  31. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  32. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  33. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  34. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  35. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  36. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  37. package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
  38. package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
  39. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +515 -0
  40. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  41. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +512 -0
  42. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  43. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +4 -1
  44. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +3 -0
  45. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  46. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +3 -0
  47. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  48. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js +27 -0
  49. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js.map +1 -0
  50. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs +3 -0
  51. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs.map +1 -0
  52. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js +27 -0
  53. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js.map +1 -0
  54. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs +3 -0
  55. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs.map +1 -0
  56. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js +27 -0
  57. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js.map +1 -0
  58. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs +3 -0
  59. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs.map +1 -0
  60. package/lib/components/ResourceCalculatorV1/translations/en.json.js +3 -0
  61. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  62. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +3 -0
  63. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  64. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  65. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  66. package/lib/constants/icons/options/colors/index.js +3 -3
  67. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  68. package/lib/constants/icons/options/styles/index.js +3 -3
  69. package/lib/constants/optionIcons.js +6 -6
  70. package/lib/constants/optionIcons.mjs +4 -4
  71. package/package.json +1 -1
@@ -1,18 +1,24 @@
1
1
  'use strict';
2
2
 
3
3
  require('../assets/consoles/envr.png.js');
4
+ require('../assets/consoles/ucg-fiber.png.js');
4
5
  require('../assets/consoles/ucg-max.png.js');
5
6
  require('../assets/consoles/udm-pro-max.png.js');
6
7
  require('../assets/consoles/udm-pro.png.js');
7
8
  require('../assets/consoles/udr.png.js');
9
+ require('../assets/consoles/udr7.png.js');
8
10
  require('../assets/consoles/udw.png.js');
9
11
  require('../assets/consoles/unifi-cloudkey-plus.png.js');
10
12
  require('../assets/consoles/unvr-pro.png.js');
11
13
  require('../assets/consoles/unvr.png.js');
14
+ require('../assets/consoles/ux7.png.js');
12
15
  var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
13
16
  var udmProMax = require("../../../assets/udm-pro-max.png");
14
17
  var udmPro = require("../../../assets/udm-pro.png");
18
+ var ucgFiber = require("../../../assets/ucg-fiber.png");
15
19
  var ucgMax = require("../../../assets/ucg-max.png");
20
+ var udr7 = require("../../../assets/udr7.png");
21
+ var ux7 = require("../../../assets/ux7.png");
16
22
  var envr = require("../../../assets/envr.png");
17
23
  var unvrPro = require("../../../assets/unvr-pro.png");
18
24
  var unvr = require("../../../assets/unvr.png");
@@ -26,7 +32,10 @@ function _interopDefault(e) {
26
32
  }
27
33
  var udmProMax__default = /*#__PURE__*/_interopDefault(udmProMax);
28
34
  var udmPro__default = /*#__PURE__*/_interopDefault(udmPro);
35
+ var ucgFiber__default = /*#__PURE__*/_interopDefault(ucgFiber);
29
36
  var ucgMax__default = /*#__PURE__*/_interopDefault(ucgMax);
37
+ var udr7__default = /*#__PURE__*/_interopDefault(udr7);
38
+ var ux7__default = /*#__PURE__*/_interopDefault(ux7);
30
39
  var envr__default = /*#__PURE__*/_interopDefault(envr);
31
40
  var unvrPro__default = /*#__PURE__*/_interopDefault(unvrPro);
32
41
  var unvr__default = /*#__PURE__*/_interopDefault(unvr);
@@ -474,6 +483,218 @@ const DEVICES = [
474
483
  }
475
484
  }
476
485
  },
486
+ // UCG-Fiber
487
+ {
488
+ id: ComputeResourceCalculator_types.DeviceId.UcgFiber,
489
+ sku: ["ucg-fiber"],
490
+ title: "device.ucgFiber",
491
+ img: {
492
+ src: ucgFiber__default["default"],
493
+ width: 68,
494
+ height: 68
495
+ },
496
+ settings: {
497
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network]
498
+ },
499
+ loadData: {
500
+ Network: {
501
+ enableFeature: {
502
+ cpu: {
503
+ value: 0.0189,
504
+ weight: 0.9
505
+ },
506
+ memory: {
507
+ value: 0.1949,
508
+ weight: 0.1
509
+ }
510
+ },
511
+ accessPoint: {
512
+ max: 30,
513
+ data: {
514
+ cpu: {
515
+ value: 0.0261,
516
+ weight: 0.9
517
+ },
518
+ memory: {
519
+ value: 0.0228,
520
+ weight: 0.1
521
+ }
522
+ }
523
+ },
524
+ vpn: {
525
+ cpu: {
526
+ value: 72e-4,
527
+ weight: 0.9
528
+ },
529
+ memory: {
530
+ value: 0,
531
+ weight: 0.1
532
+ }
533
+ },
534
+ securityDetection: {
535
+ cpu: {
536
+ value: 92e-4,
537
+ weight: 0.9
538
+ },
539
+ memory: {
540
+ value: 0.173,
541
+ weight: 0.1
542
+ }
543
+ },
544
+ adBlocking: {
545
+ cpu: {
546
+ value: 8e-3,
547
+ weight: 0.9
548
+ },
549
+ memory: {
550
+ value: 0,
551
+ weight: 0.1
552
+ }
553
+ },
554
+ qos: {
555
+ cpu: {
556
+ value: 16e-4,
557
+ weight: 0.9
558
+ },
559
+ memory: {
560
+ value: 29e-4,
561
+ weight: 0.1
562
+ }
563
+ }
564
+ },
565
+ Protect: {
566
+ enableFeature: {
567
+ cpu: {
568
+ value: 94e-4,
569
+ weight: 0.6
570
+ },
571
+ memory: {
572
+ value: 0.0842,
573
+ weight: 0.4
574
+ }
575
+ },
576
+ playback: {
577
+ cpu: {
578
+ value: 0.047,
579
+ weight: 0.9
580
+ },
581
+ memory: {
582
+ value: 0.0306,
583
+ weight: 0.1
584
+ }
585
+ },
586
+ liveView: {
587
+ cpu: {
588
+ value: 0.0407,
589
+ weight: 0.9
590
+ },
591
+ memory: {
592
+ value: 0.0405,
593
+ weight: 0.1
594
+ }
595
+ },
596
+ cameraHd: {
597
+ max: 15,
598
+ data: {
599
+ cpu: {
600
+ value: 0.0145,
601
+ weight: 0.9
602
+ },
603
+ memory: {
604
+ value: 68e-4,
605
+ weight: 0.1
606
+ }
607
+ }
608
+ },
609
+ camera2k: {
610
+ max: 8,
611
+ data: {
612
+ cpu: {
613
+ value: 0.0188,
614
+ weight: 0.9
615
+ },
616
+ memory: {
617
+ value: 0.0266,
618
+ weight: 0.1
619
+ }
620
+ }
621
+ },
622
+ camera4k: {
623
+ max: 5,
624
+ data: {
625
+ cpu: {
626
+ value: 0.0276,
627
+ weight: 0.9
628
+ },
629
+ memory: {
630
+ value: 0.0327,
631
+ weight: 0.1
632
+ }
633
+ }
634
+ }
635
+ },
636
+ Access: {
637
+ enableFeature: {
638
+ cpu: {
639
+ value: 0.013,
640
+ weight: 0.5
641
+ },
642
+ memory: {
643
+ value: -53e-4,
644
+ weight: 0.5
645
+ }
646
+ },
647
+ door: {
648
+ max: 100,
649
+ data: {
650
+ cpu: {
651
+ value: -17e-4,
652
+ weight: 0.5
653
+ },
654
+ memory: {
655
+ value: 0.0251,
656
+ weight: 0.5
657
+ }
658
+ }
659
+ }
660
+ },
661
+ Talk: {
662
+ enableFeature: {
663
+ cpu: {
664
+ value: 0.0137,
665
+ weight: 0.5
666
+ },
667
+ memory: {
668
+ value: 0.036,
669
+ weight: 0.5
670
+ }
671
+ },
672
+ phone: {
673
+ max: 100,
674
+ data: {
675
+ cpu: {
676
+ value: 27e-4,
677
+ weight: 0.5
678
+ },
679
+ memory: {
680
+ value: 0.012,
681
+ weight: 0.5
682
+ }
683
+ }
684
+ },
685
+ record: {
686
+ cpu: {
687
+ value: 42e-4,
688
+ weight: 0.5
689
+ },
690
+ memory: {
691
+ value: 68e-4,
692
+ weight: 0.5
693
+ }
694
+ }
695
+ }
696
+ }
697
+ },
477
698
  // UCG Max
478
699
  {
479
700
  id: ComputeResourceCalculator_types.DeviceId.UcgMax,
@@ -692,6 +913,300 @@ const DEVICES = [
692
913
  }
693
914
  }
694
915
  },
916
+ // UDR7
917
+ {
918
+ id: ComputeResourceCalculator_types.DeviceId.Udr7,
919
+ sku: ["udr7"],
920
+ title: "device.Udr7",
921
+ img: {
922
+ src: udr7__default["default"],
923
+ width: 68,
924
+ height: 68
925
+ },
926
+ settings: {
927
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network]
928
+ },
929
+ loadData: {
930
+ Network: {
931
+ enableFeature: {
932
+ cpu: {
933
+ value: 0.0827,
934
+ weight: 0.5
935
+ },
936
+ memory: {
937
+ value: 0.2369,
938
+ weight: 0.5
939
+ }
940
+ },
941
+ accessPoint: {
942
+ max: 15,
943
+ data: {
944
+ cpu: {
945
+ value: 0.1114,
946
+ weight: 0.5
947
+ },
948
+ memory: {
949
+ value: 0.0326,
950
+ weight: 0.5
951
+ }
952
+ }
953
+ },
954
+ vpn: {
955
+ cpu: {
956
+ value: 0.044,
957
+ weight: 0.5
958
+ },
959
+ memory: {
960
+ value: 0,
961
+ weight: 0.5
962
+ }
963
+ },
964
+ securityDetection: {
965
+ cpu: {
966
+ value: 0.1512,
967
+ weight: 0.5
968
+ },
969
+ memory: {
970
+ value: 0.1831,
971
+ weight: 0.5
972
+ }
973
+ },
974
+ adBlocking: {
975
+ cpu: {
976
+ value: 69e-4,
977
+ weight: 0.5
978
+ },
979
+ memory: {
980
+ value: 0,
981
+ weight: 0.5
982
+ }
983
+ },
984
+ qos: {
985
+ cpu: {
986
+ value: 0.0452,
987
+ weight: 0.5
988
+ },
989
+ memory: {
990
+ value: 0.031,
991
+ weight: 0.5
992
+ }
993
+ }
994
+ },
995
+ Protect: {
996
+ enableFeature: {
997
+ cpu: {
998
+ value: 0.0331,
999
+ weight: 0.5
1000
+ },
1001
+ memory: {
1002
+ value: 0.1062,
1003
+ weight: 0.5
1004
+ }
1005
+ },
1006
+ playback: {
1007
+ cpu: {
1008
+ value: 0.13,
1009
+ weight: 0.5
1010
+ },
1011
+ memory: {
1012
+ value: 0.0413,
1013
+ weight: 0.5
1014
+ }
1015
+ },
1016
+ liveView: {
1017
+ cpu: {
1018
+ value: 0.1227,
1019
+ weight: 0.5
1020
+ },
1021
+ memory: {
1022
+ value: 0.0391,
1023
+ weight: 0.5
1024
+ }
1025
+ },
1026
+ cameraHd: {
1027
+ max: 5,
1028
+ data: {
1029
+ cpu: {
1030
+ value: 0.0234,
1031
+ weight: 0.5
1032
+ },
1033
+ memory: {
1034
+ value: 0.022,
1035
+ weight: 0.5
1036
+ }
1037
+ }
1038
+ },
1039
+ camera2k: {
1040
+ max: 2,
1041
+ data: {
1042
+ cpu: {
1043
+ value: 0.0397,
1044
+ weight: 0.5
1045
+ },
1046
+ memory: {
1047
+ value: 0.0401,
1048
+ weight: 0.5
1049
+ }
1050
+ }
1051
+ },
1052
+ camera4k: {
1053
+ max: 1,
1054
+ data: {
1055
+ cpu: {
1056
+ value: 0.0476,
1057
+ weight: 0.5
1058
+ },
1059
+ memory: {
1060
+ value: 0.017,
1061
+ weight: 0.5
1062
+ }
1063
+ }
1064
+ }
1065
+ },
1066
+ Access: {
1067
+ enableFeature: {
1068
+ cpu: {
1069
+ value: 0.0114,
1070
+ weight: 0.5
1071
+ },
1072
+ memory: {
1073
+ value: 0.0198,
1074
+ weight: 0.5
1075
+ }
1076
+ },
1077
+ door: {
1078
+ max: 100,
1079
+ data: {
1080
+ cpu: {
1081
+ value: 0,
1082
+ weight: 0.5
1083
+ },
1084
+ memory: {
1085
+ value: 0.018,
1086
+ weight: 0.5
1087
+ }
1088
+ }
1089
+ }
1090
+ },
1091
+ Talk: {
1092
+ enableFeature: {
1093
+ cpu: {
1094
+ value: 0.0239,
1095
+ weight: 0.5
1096
+ },
1097
+ memory: {
1098
+ value: 0.0277,
1099
+ weight: 0.5
1100
+ }
1101
+ },
1102
+ phone: {
1103
+ max: 100,
1104
+ data: {
1105
+ cpu: {
1106
+ value: 0.0239,
1107
+ weight: 0.5
1108
+ },
1109
+ memory: {
1110
+ value: 0.0277,
1111
+ weight: 0.5
1112
+ }
1113
+ }
1114
+ },
1115
+ record: {
1116
+ cpu: {
1117
+ value: 0.0149,
1118
+ weight: 0.5
1119
+ },
1120
+ memory: {
1121
+ value: 65e-4,
1122
+ weight: 0.5
1123
+ }
1124
+ }
1125
+ }
1126
+ }
1127
+ },
1128
+ // UX7
1129
+ {
1130
+ id: ComputeResourceCalculator_types.DeviceId.Ux7,
1131
+ sku: ["ux7"],
1132
+ title: "device.Ux7",
1133
+ img: {
1134
+ src: ux7__default["default"],
1135
+ width: 68,
1136
+ height: 68
1137
+ },
1138
+ settings: {
1139
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
1140
+ forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Network]
1141
+ },
1142
+ loadData: {
1143
+ Network: {
1144
+ enableFeature: {
1145
+ cpu: {
1146
+ value: 0.1356,
1147
+ weight: 0.5
1148
+ },
1149
+ memory: {
1150
+ value: 0.2043,
1151
+ weight: 0.5
1152
+ }
1153
+ },
1154
+ accessPoint: {
1155
+ max: 4,
1156
+ data: {
1157
+ cpu: {
1158
+ value: 0.0903,
1159
+ weight: 0.9
1160
+ },
1161
+ memory: {
1162
+ value: 0.0231,
1163
+ weight: 0.1
1164
+ }
1165
+ }
1166
+ },
1167
+ vpn: {
1168
+ cpu: {
1169
+ value: 2e-3,
1170
+ weight: 0.9
1171
+ },
1172
+ memory: {
1173
+ value: 0.0128,
1174
+ weight: 0.1
1175
+ }
1176
+ },
1177
+ securityDetection: {
1178
+ cpu: {
1179
+ value: 0.0297,
1180
+ weight: 0.9
1181
+ },
1182
+ memory: {
1183
+ value: 0.1285,
1184
+ weight: 0.1
1185
+ }
1186
+ },
1187
+ adBlocking: {
1188
+ cpu: {
1189
+ value: 38e-4,
1190
+ weight: 0.9
1191
+ },
1192
+ memory: {
1193
+ value: 0.0172,
1194
+ weight: 0.1
1195
+ }
1196
+ },
1197
+ qos: {
1198
+ cpu: {
1199
+ value: 26e-4,
1200
+ weight: 0.9
1201
+ },
1202
+ memory: {
1203
+ value: 0.0102,
1204
+ weight: 0.1
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ },
695
1210
  // ENVR
696
1211
  /**
697
1212
  * As a quick solution, values are copied from UNVR except for cameras(hd,2k,4k)