@ubnt/store.core 9.45.0-beta.0 → 9.45.0-beta.2

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 (66) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/lib/assets/efg.png +0 -0
  3. package/lib/assets/envr.png +0 -0
  4. package/lib/assets/pause.svg +3 -3
  5. package/lib/assets/pause2.svg +3 -3
  6. package/lib/assets/ucg-max.png +0 -0
  7. package/lib/assets/ucgUltra.jpg +0 -0
  8. package/lib/assets/ucgUltra2.jpg +0 -0
  9. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
  10. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  11. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  12. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  13. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  14. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  15. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  16. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  17. package/lib/components/ModelCompareV3/data/CloudGateways.js +3 -3
  18. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +2 -2
  19. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  20. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  21. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +800 -147
  22. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  23. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +797 -147
  24. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  25. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +5 -2
  26. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +4 -0
  27. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  28. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +4 -0
  29. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  30. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +120 -34
  31. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
  32. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +120 -34
  33. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
  34. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +16 -2
  35. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +54 -12
  36. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
  37. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +50 -11
  38. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
  39. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowLeftPrimary.svg.js +5 -5
  40. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowRightPrimary.svg.js +5 -5
  41. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
  42. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
  43. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
  44. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
  45. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +27 -0
  46. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +1 -0
  47. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +3 -0
  48. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +1 -0
  49. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js +27 -0
  50. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js.map +1 -0
  51. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs +3 -0
  52. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs.map +1 -0
  53. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
  54. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
  55. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
  56. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
  57. package/lib/components/ResourceCalculatorV1/translations/en.json.js +9 -5
  58. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  59. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +9 -5
  60. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  61. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  62. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  63. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  64. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  65. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  66. package/package.json +1 -1
@@ -1,3 +1,6 @@
1
+ import '../assets/consoles/efg.png.mjs';
2
+ import '../assets/consoles/envr.png.mjs';
3
+ import '../assets/consoles/ucg-max.png.mjs';
1
4
  import '../assets/consoles/udm-pro-max.png.mjs';
2
5
  import '../assets/consoles/udm-pro.png.mjs';
3
6
  import '../assets/consoles/udr.png.mjs';
@@ -6,6 +9,8 @@ import '../assets/consoles/unifi-cloudkey-plus.png.mjs';
6
9
  import '../assets/consoles/unvr-pro.png.mjs';
7
10
  import '../assets/consoles/unvr.png.mjs';
8
11
  import { DeviceId, FeatureId } from './ComputeResourceCalculator.types.mjs';
12
+ import efg__default from "../../../assets/efg.png";
13
+ import ucgMax__default from "../../../assets/ucg-max.png";
9
14
  import udmProMax__default from "../../../assets/udm-pro-max.png";
10
15
  import udmPro__default from "../../../assets/udm-pro.png";
11
16
  import unvr__default from "../../../assets/unvr.png";
@@ -13,90 +18,171 @@ import unvrPro__default from "../../../assets/unvr-pro.png";
13
18
  import ckg2__default from "../../../assets/unifi-cloudkey-plus.png";
14
19
  import udw__default from "../../../assets/udw.png";
15
20
  import udr__default from "../../../assets/udr.png";
21
+ import envr__default from "../../../assets/envr.png";
16
22
  "use strict";
17
- const DEVICES = [{
18
- id: DeviceId.UDMProMax,
19
- sku: ["udm-pro-max"],
20
- title: "device.UDM Pro Max",
23
+ const DEVICES = [
24
+ // EFG
25
+ {
26
+ id: DeviceId.EFG,
27
+ sku: ["efg"],
28
+ title: "device.EFG",
21
29
  img: {
22
- src: udmProMax__default,
30
+ src: efg__default,
31
+ width: 68,
32
+ height: 68
33
+ },
34
+ settings: {
35
+ defaultEnabledFeatures: [FeatureId.Network]
36
+ },
37
+ loadData: {
38
+ Network: {
39
+ enableFeature: {
40
+ cpu: {
41
+ value: 0.015,
42
+ weight: 0.9
43
+ },
44
+ memory: {
45
+ value: 0.49,
46
+ weight: 0.1
47
+ }
48
+ },
49
+ accessPoint: {
50
+ max: 500,
51
+ data: {
52
+ cpu: {
53
+ value: 12e-4,
54
+ weight: 0.9
55
+ },
56
+ memory: {
57
+ value: 0,
58
+ weight: 0.1
59
+ }
60
+ }
61
+ },
62
+ vpn: {
63
+ cpu: {
64
+ value: 3e-4,
65
+ weight: 0.9
66
+ },
67
+ memory: {
68
+ value: 5e-4,
69
+ weight: 0.1
70
+ }
71
+ },
72
+ securityDetection: {
73
+ cpu: {
74
+ value: 0.0315,
75
+ weight: 0.9
76
+ },
77
+ memory: {
78
+ value: 0.044,
79
+ weight: 0.1
80
+ }
81
+ },
82
+ adBlocking: {
83
+ cpu: {
84
+ value: 9e-4,
85
+ weight: 0.9
86
+ },
87
+ memory: {
88
+ value: 35e-4,
89
+ weight: 0.1
90
+ }
91
+ },
92
+ qos: {
93
+ cpu: {
94
+ value: 14e-4,
95
+ weight: 0.9
96
+ },
97
+ memory: {
98
+ value: 0,
99
+ weight: 0.1
100
+ }
101
+ }
102
+ }
103
+ }
104
+ },
105
+ // UCG Max
106
+ {
107
+ id: DeviceId.UcgMax,
108
+ sku: ["ucg-max"],
109
+ title: "device.UCG Max",
110
+ img: {
111
+ src: ucgMax__default,
23
112
  width: 68,
24
113
  height: 68
25
114
  },
26
115
  settings: {
27
- defaultEnabledFeatures: [FeatureId.Network],
28
116
  forcedFeatures: [FeatureId.Network],
117
+ defaultEnabledFeatures: [FeatureId.Network],
29
118
  hdd: {
30
119
  max: 1,
31
- parityDisks: 0
120
+ parityDisks: 0,
121
+ gigabyteOptions: [512, 1e3, 2e3]
32
122
  }
33
123
  },
34
124
  loadData: {
35
125
  Network: {
36
126
  enableFeature: {
37
127
  cpu: {
38
- value: 0.0512,
128
+ value: 0.015,
39
129
  weight: 0.9
40
130
  },
41
131
  memory: {
42
- value: 0.0478,
132
+ value: 0.49,
43
133
  weight: 0.1
44
134
  }
45
135
  },
46
136
  accessPoint: {
47
- max: 150,
137
+ max: 30,
48
138
  data: {
49
139
  cpu: {
50
- // Real value is -> 0.0061
51
- // As per discussion https://ui.slack.com/archives/C02JG0GKYC8/p1713773517562779 we made cpu value smaller for now,
52
- // so that max devices (200) will not show overload.
53
- value: 47e-4,
140
+ value: 61e-4,
54
141
  weight: 0.9
55
142
  },
56
143
  memory: {
57
- value: 0,
144
+ value: 0.016,
58
145
  weight: 0.1
59
146
  }
60
147
  }
61
148
  },
62
149
  vpn: {
63
150
  cpu: {
64
- value: 12e-4,
151
+ value: 0,
65
152
  weight: 0.9
66
153
  },
67
154
  memory: {
68
- value: 5e-4,
155
+ value: 1e-3,
69
156
  weight: 0.1
70
157
  }
71
158
  },
72
- threatManagementLoad: 0.1375,
73
159
  securityDetection: {
74
160
  cpu: {
75
- value: 17e-4,
161
+ value: 0.4008,
76
162
  weight: 0.9
77
163
  },
78
164
  memory: {
79
- value: 0,
165
+ value: 0.1515,
80
166
  weight: 0.1
81
167
  }
82
168
  },
83
169
  adBlocking: {
84
170
  cpu: {
85
- value: 22e-4,
171
+ value: 0.0132,
86
172
  weight: 0.9
87
173
  },
88
174
  memory: {
89
- value: 4e-3,
175
+ value: 0,
90
176
  weight: 0.1
91
177
  }
92
178
  },
93
179
  qos: {
94
180
  cpu: {
95
- value: 5e-3,
181
+ value: 0.0173,
96
182
  weight: 0.9
97
183
  },
98
184
  memory: {
99
- value: 0,
185
+ value: 0.0255,
100
186
  weight: 0.1
101
187
  }
102
188
  }
@@ -104,17 +190,17 @@ const DEVICES = [{
104
190
  Protect: {
105
191
  enableFeature: {
106
192
  cpu: {
107
- value: 0.0752,
193
+ value: 0.1,
108
194
  weight: 0.9
109
195
  },
110
196
  memory: {
111
- value: 0.1244,
197
+ value: 0.2809,
112
198
  weight: 0.1
113
199
  }
114
200
  },
115
201
  playback: {
116
202
  cpu: {
117
- value: 0.2278,
203
+ value: 0,
118
204
  weight: 0.9
119
205
  },
120
206
  memory: {
@@ -133,40 +219,40 @@ const DEVICES = [{
133
219
  }
134
220
  },
135
221
  cameraHd: {
136
- max: 50,
222
+ max: 15,
137
223
  data: {
138
224
  cpu: {
139
- value: 8e-3,
140
- weight: 0.73
225
+ value: 0.0106,
226
+ weight: 0.9
141
227
  },
142
228
  memory: {
143
- value: 5e-4,
229
+ value: 3e-4,
144
230
  weight: 0.1
145
231
  }
146
232
  }
147
233
  },
148
234
  camera2k: {
149
- max: 25,
235
+ max: 8,
150
236
  data: {
151
237
  cpu: {
152
- value: 0.02,
153
- weight: 0.73
238
+ value: 0.0211,
239
+ weight: 0.9
154
240
  },
155
241
  memory: {
156
- value: 7e-4,
242
+ value: 6e-4,
157
243
  weight: 0.1
158
244
  }
159
245
  }
160
246
  },
161
247
  camera4k: {
162
- max: 15,
248
+ max: 5,
163
249
  data: {
164
250
  cpu: {
165
- value: 0.026,
166
- weight: 0.73
251
+ value: 0.03,
252
+ weight: 0.9
167
253
  },
168
254
  memory: {
169
- value: 4e-4,
255
+ value: 14e-4,
170
256
  weight: 0.1
171
257
  }
172
258
  }
@@ -175,11 +261,11 @@ const DEVICES = [{
175
261
  Access: {
176
262
  enableFeature: {
177
263
  cpu: {
178
- value: 0.0118,
264
+ value: 75e-4,
179
265
  weight: 0.5
180
266
  },
181
267
  memory: {
182
- value: 0.021,
268
+ value: 63e-4,
183
269
  weight: 0.5
184
270
  }
185
271
  },
@@ -187,11 +273,11 @@ const DEVICES = [{
187
273
  max: 100,
188
274
  data: {
189
275
  cpu: {
190
- value: 5e-4,
276
+ value: 5e-3,
191
277
  weight: 0.5
192
278
  },
193
279
  memory: {
194
- value: 14e-4,
280
+ value: 0.0189,
195
281
  weight: 0.5
196
282
  }
197
283
  }
@@ -212,9 +298,7 @@ const DEVICES = [{
212
298
  max: 100,
213
299
  data: {
214
300
  cpu: {
215
- // Value in data table is -> 0.013, but we changed to 0.006 as it is on UDM Pro
216
- // https://ui.slack.com/archives/C02JG0GKYC8/p1713877753539639?thread_ts=1713854371.003389&cid=C02JG0GKYC8
217
- value: 6e-3,
301
+ value: 0.013,
218
302
  weight: 0.5
219
303
  },
220
304
  memory: {
@@ -235,12 +319,14 @@ const DEVICES = [{
235
319
  }
236
320
  }
237
321
  }
238
- }, {
239
- id: DeviceId.UdmProUdmSe,
240
- sku: ["udm-pro", "udm-se"],
241
- title: "device.UDM Pro / SE",
322
+ },
323
+ // UDM Pro Max
324
+ {
325
+ id: DeviceId.UDMProMax,
326
+ sku: ["udm-pro-max"],
327
+ title: "device.UDM Pro Max",
242
328
  img: {
243
- src: udmPro__default,
329
+ src: udmProMax__default,
244
330
  width: 68,
245
331
  height: 68
246
332
  },
@@ -256,106 +342,108 @@ const DEVICES = [{
256
342
  Network: {
257
343
  enableFeature: {
258
344
  cpu: {
259
- value: 0.04,
260
- weight: 0.7
345
+ value: 0.0512,
346
+ weight: 0.9
261
347
  },
262
348
  memory: {
263
- value: 0.2364,
264
- weight: 0.3
349
+ value: 0.0478,
350
+ weight: 0.1
265
351
  }
266
352
  },
267
353
  accessPoint: {
268
- max: 75,
354
+ max: 150,
269
355
  data: {
270
356
  cpu: {
271
- value: 65e-4,
272
- weight: 0.7
357
+ // Real value is -> 0.0061
358
+ // As per discussion https://ui.slack.com/archives/C02JG0GKYC8/p1713773517562779 we made cpu value smaller for now,
359
+ // so that max devices (200) will not show overload.
360
+ value: 47e-4,
361
+ weight: 0.9
273
362
  },
274
363
  memory: {
275
364
  value: 0,
276
- weight: 0.3
365
+ weight: 0.1
277
366
  }
278
367
  }
279
368
  },
280
369
  vpn: {
281
370
  cpu: {
282
- value: 15e-4,
283
- weight: 0.7
371
+ value: 12e-4,
372
+ weight: 0.9
284
373
  },
285
374
  memory: {
286
375
  value: 5e-4,
287
- weight: 0.3
376
+ weight: 0.1
288
377
  }
289
378
  },
290
- threatManagementLoad: 0.1161,
291
379
  securityDetection: {
292
380
  cpu: {
293
- value: 7e-4,
294
- weight: 0.7
381
+ value: 0.1204,
382
+ weight: 0.9
295
383
  },
296
384
  memory: {
297
- value: 0,
298
- weight: 0.3
385
+ value: 0.0861,
386
+ weight: 0.1
299
387
  }
300
388
  },
301
389
  adBlocking: {
302
390
  cpu: {
303
- value: 5e-3,
304
- weight: 0.7
391
+ value: 22e-4,
392
+ weight: 0.9
305
393
  },
306
394
  memory: {
307
- value: 0.01,
308
- weight: 0.3
395
+ value: 4e-3,
396
+ weight: 0.1
309
397
  }
310
398
  },
311
399
  qos: {
312
400
  cpu: {
313
- value: 75e-4,
314
- weight: 0.7
401
+ value: 5e-3,
402
+ weight: 0.9
315
403
  },
316
404
  memory: {
317
405
  value: 0,
318
- weight: 0.3
406
+ weight: 0.1
319
407
  }
320
408
  }
321
409
  },
322
410
  Protect: {
323
411
  enableFeature: {
324
412
  cpu: {
325
- value: 0.18,
326
- weight: 0.7
413
+ value: 0.0752,
414
+ weight: 0.9
327
415
  },
328
416
  memory: {
329
- value: 0.317,
330
- weight: 0.3
417
+ value: 0.1244,
418
+ weight: 0.1
331
419
  }
332
420
  },
333
421
  playback: {
334
422
  cpu: {
335
- value: 0.2,
336
- weight: 0.7
423
+ value: 0.2278,
424
+ weight: 0.9
337
425
  },
338
426
  memory: {
339
427
  value: 0,
340
- weight: 0.3
428
+ weight: 0.1
341
429
  }
342
430
  },
343
431
  liveView: {
344
432
  cpu: {
345
- value: 0.24,
346
- weight: 0.7
433
+ value: 0,
434
+ weight: 0.9
347
435
  },
348
436
  memory: {
349
- value: 0.044,
350
- weight: 0.3
437
+ value: 0,
438
+ weight: 0.1
351
439
  }
352
440
  },
353
441
  cameraHd: {
354
- max: 24,
442
+ max: 50,
355
443
  data: {
356
444
  cpu: {
357
445
  value: 8e-3,
358
- weight: 0.73
446
+ weight: 0.9
359
447
  },
360
448
  memory: {
361
449
  value: 5e-4,
@@ -364,27 +452,27 @@ const DEVICES = [{
364
452
  }
365
453
  },
366
454
  camera2k: {
367
- max: 14,
455
+ max: 25,
368
456
  data: {
369
457
  cpu: {
370
458
  value: 0.02,
371
- weight: 0.73
459
+ weight: 0.9
372
460
  },
373
461
  memory: {
374
- value: 5e-4,
462
+ value: 7e-4,
375
463
  weight: 0.1
376
464
  }
377
465
  }
378
466
  },
379
467
  camera4k: {
380
- max: 8,
468
+ max: 15,
381
469
  data: {
382
470
  cpu: {
383
471
  value: 0.026,
384
- weight: 0.73
472
+ weight: 0.9
385
473
  },
386
474
  memory: {
387
- value: 1e-3,
475
+ value: 4e-4,
388
476
  weight: 0.1
389
477
  }
390
478
  }
@@ -393,11 +481,11 @@ const DEVICES = [{
393
481
  Access: {
394
482
  enableFeature: {
395
483
  cpu: {
396
- value: 5e-3,
484
+ value: 0.0118,
397
485
  weight: 0.5
398
486
  },
399
487
  memory: {
400
- value: 0.0475,
488
+ value: 0.021,
401
489
  weight: 0.5
402
490
  }
403
491
  },
@@ -409,7 +497,7 @@ const DEVICES = [{
409
497
  weight: 0.5
410
498
  },
411
499
  memory: {
412
- value: 31e-4,
500
+ value: 14e-4,
413
501
  weight: 0.5
414
502
  }
415
503
  }
@@ -418,11 +506,11 @@ const DEVICES = [{
418
506
  Talk: {
419
507
  enableFeature: {
420
508
  cpu: {
421
- value: 0.01,
509
+ value: 8e-3,
422
510
  weight: 0.5
423
511
  },
424
512
  memory: {
425
- value: 0.058,
513
+ value: 0.0254,
426
514
  weight: 0.5
427
515
  }
428
516
  },
@@ -430,18 +518,20 @@ const DEVICES = [{
430
518
  max: 100,
431
519
  data: {
432
520
  cpu: {
521
+ // Value in data table is -> 0.013, but we changed to 0.006 as it is on UDM Pro
522
+ // https://ui.slack.com/archives/C02JG0GKYC8/p1713877753539639?thread_ts=1713854371.003389&cid=C02JG0GKYC8
433
523
  value: 6e-3,
434
524
  weight: 0.5
435
525
  },
436
526
  memory: {
437
- value: 1e-3,
527
+ value: 6e-4,
438
528
  weight: 0.5
439
529
  }
440
530
  }
441
531
  },
442
532
  record: {
443
533
  cpu: {
444
- value: 3e-3,
534
+ value: 2e-4,
445
535
  weight: 0.5
446
536
  },
447
537
  memory: {
@@ -451,38 +541,257 @@ const DEVICES = [{
451
541
  }
452
542
  }
453
543
  }
454
- }, {
455
- id: DeviceId.Unvr,
456
- sku: ["unvr"],
457
- title: "device.UNVR",
544
+ },
545
+ // UDM Pro SE
546
+ {
547
+ id: DeviceId.UdmProUdmSe,
548
+ sku: ["udm-pro", "udm-se"],
549
+ title: "device.UDM Pro / SE",
458
550
  img: {
459
- src: unvr__default,
551
+ src: udmPro__default,
460
552
  width: 68,
461
553
  height: 68
462
554
  },
463
555
  settings: {
464
- defaultEnabledFeatures: [FeatureId.Protect],
465
- forcedFeatures: [FeatureId.Protect],
556
+ defaultEnabledFeatures: [FeatureId.Network],
557
+ forcedFeatures: [FeatureId.Network],
466
558
  hdd: {
467
- max: 4,
468
- parityDisks: 1
559
+ max: 1,
560
+ parityDisks: 0
469
561
  }
470
562
  },
471
563
  loadData: {
472
- Protect: {
564
+ Network: {
473
565
  enableFeature: {
474
566
  cpu: {
475
- value: 0.0558,
476
- weight: 0.8
567
+ value: 0.04,
568
+ weight: 0.7
477
569
  },
478
570
  memory: {
479
- value: 0.117,
480
- weight: 0.2
571
+ value: 0.2364,
572
+ weight: 0.3
481
573
  }
482
574
  },
483
- playback: {
484
- cpu: {
485
- value: 0.15,
575
+ accessPoint: {
576
+ max: 75,
577
+ data: {
578
+ cpu: {
579
+ value: 65e-4,
580
+ weight: 0.7
581
+ },
582
+ memory: {
583
+ value: 0,
584
+ weight: 0.3
585
+ }
586
+ }
587
+ },
588
+ vpn: {
589
+ cpu: {
590
+ value: 15e-4,
591
+ weight: 0.7
592
+ },
593
+ memory: {
594
+ value: 5e-4,
595
+ weight: 0.3
596
+ }
597
+ },
598
+ securityDetection: {
599
+ cpu: {
600
+ value: 0.1668,
601
+ weight: 0.7
602
+ },
603
+ memory: {
604
+ value: 0.118,
605
+ weight: 0.3
606
+ }
607
+ },
608
+ adBlocking: {
609
+ cpu: {
610
+ value: 5e-3,
611
+ weight: 0.7
612
+ },
613
+ memory: {
614
+ value: 0.01,
615
+ weight: 0.3
616
+ }
617
+ },
618
+ qos: {
619
+ cpu: {
620
+ value: 75e-4,
621
+ weight: 0.7
622
+ },
623
+ memory: {
624
+ value: 0,
625
+ weight: 0.3
626
+ }
627
+ }
628
+ },
629
+ Protect: {
630
+ enableFeature: {
631
+ cpu: {
632
+ value: 0.18,
633
+ weight: 0.7
634
+ },
635
+ memory: {
636
+ value: 0.317,
637
+ weight: 0.3
638
+ }
639
+ },
640
+ playback: {
641
+ cpu: {
642
+ value: 0.2,
643
+ weight: 0.7
644
+ },
645
+ memory: {
646
+ value: 0,
647
+ weight: 0.3
648
+ }
649
+ },
650
+ liveView: {
651
+ cpu: {
652
+ value: 0.24,
653
+ weight: 0.7
654
+ },
655
+ memory: {
656
+ value: 0.044,
657
+ weight: 0.3
658
+ }
659
+ },
660
+ cameraHd: {
661
+ max: 24,
662
+ data: {
663
+ cpu: {
664
+ value: 8e-3,
665
+ weight: 0.9
666
+ },
667
+ memory: {
668
+ value: 5e-4,
669
+ weight: 0.1
670
+ }
671
+ }
672
+ },
673
+ camera2k: {
674
+ max: 14,
675
+ data: {
676
+ cpu: {
677
+ value: 0.02,
678
+ weight: 0.9
679
+ },
680
+ memory: {
681
+ value: 5e-4,
682
+ weight: 0.1
683
+ }
684
+ }
685
+ },
686
+ camera4k: {
687
+ max: 8,
688
+ data: {
689
+ cpu: {
690
+ value: 0.026,
691
+ weight: 0.9
692
+ },
693
+ memory: {
694
+ value: 1e-3,
695
+ weight: 0.1
696
+ }
697
+ }
698
+ }
699
+ },
700
+ Access: {
701
+ enableFeature: {
702
+ cpu: {
703
+ value: 5e-3,
704
+ weight: 0.5
705
+ },
706
+ memory: {
707
+ value: 0.0475,
708
+ weight: 0.5
709
+ }
710
+ },
711
+ door: {
712
+ max: 100,
713
+ data: {
714
+ cpu: {
715
+ value: 5e-4,
716
+ weight: 0.5
717
+ },
718
+ memory: {
719
+ value: 31e-4,
720
+ weight: 0.5
721
+ }
722
+ }
723
+ }
724
+ },
725
+ Talk: {
726
+ enableFeature: {
727
+ cpu: {
728
+ value: 0.01,
729
+ weight: 0.5
730
+ },
731
+ memory: {
732
+ value: 0.058,
733
+ weight: 0.5
734
+ }
735
+ },
736
+ phone: {
737
+ max: 100,
738
+ data: {
739
+ cpu: {
740
+ value: 6e-3,
741
+ weight: 0.5
742
+ },
743
+ memory: {
744
+ value: 1e-3,
745
+ weight: 0.5
746
+ }
747
+ }
748
+ },
749
+ record: {
750
+ cpu: {
751
+ value: 3e-3,
752
+ weight: 0.5
753
+ },
754
+ memory: {
755
+ value: 5e-4,
756
+ weight: 0.5
757
+ }
758
+ }
759
+ }
760
+ }
761
+ },
762
+ // UNVR
763
+ {
764
+ id: DeviceId.Unvr,
765
+ sku: ["unvr"],
766
+ title: "device.UNVR",
767
+ img: {
768
+ src: unvr__default,
769
+ width: 68,
770
+ height: 68
771
+ },
772
+ settings: {
773
+ defaultEnabledFeatures: [FeatureId.Protect],
774
+ forcedFeatures: [FeatureId.Protect],
775
+ hdd: {
776
+ max: 4,
777
+ parityDisks: 1
778
+ }
779
+ },
780
+ loadData: {
781
+ Protect: {
782
+ enableFeature: {
783
+ cpu: {
784
+ value: 0.0558,
785
+ weight: 0.8
786
+ },
787
+ memory: {
788
+ value: 0.117,
789
+ weight: 0.2
790
+ }
791
+ },
792
+ playback: {
793
+ cpu: {
794
+ value: 0.15,
486
795
  weight: 0.8
487
796
  },
488
797
  memory: {
@@ -505,7 +814,7 @@ const DEVICES = [{
505
814
  data: {
506
815
  cpu: {
507
816
  value: 76e-4,
508
- weight: 0.73
817
+ weight: 0.9
509
818
  },
510
819
  memory: {
511
820
  value: 3e-4,
@@ -518,7 +827,7 @@ const DEVICES = [{
518
827
  data: {
519
828
  cpu: {
520
829
  value: 0.0183,
521
- weight: 0.73
830
+ weight: 0.9
522
831
  },
523
832
  memory: {
524
833
  value: 5e-4,
@@ -531,7 +840,7 @@ const DEVICES = [{
531
840
  data: {
532
841
  cpu: {
533
842
  value: 0.0239,
534
- weight: 0.73
843
+ weight: 0.9
535
844
  },
536
845
  memory: {
537
846
  value: 6e-4,
@@ -566,7 +875,9 @@ const DEVICES = [{
566
875
  }
567
876
  }
568
877
  }
569
- }, {
878
+ },
879
+ // UNVR Pro
880
+ {
570
881
  id: DeviceId.UnvrPro,
571
882
  sku: ["unvr-pro"],
572
883
  title: "device.UNVR Pro",
@@ -620,7 +931,7 @@ const DEVICES = [{
620
931
  data: {
621
932
  cpu: {
622
933
  value: 76e-4,
623
- weight: 0.73
934
+ weight: 0.9
624
935
  },
625
936
  memory: {
626
937
  value: 2e-4,
@@ -633,7 +944,7 @@ const DEVICES = [{
633
944
  data: {
634
945
  cpu: {
635
946
  value: 0.0186,
636
- weight: 0.73
947
+ weight: 0.9
637
948
  },
638
949
  memory: {
639
950
  value: 4e-4,
@@ -646,7 +957,7 @@ const DEVICES = [{
646
957
  data: {
647
958
  cpu: {
648
959
  value: 0.0238,
649
- weight: 0.73
960
+ weight: 0.9
650
961
  },
651
962
  memory: {
652
963
  value: 4e-4,
@@ -681,7 +992,9 @@ const DEVICES = [{
681
992
  }
682
993
  }
683
994
  }
684
- }, {
995
+ },
996
+ // Cloud Key G2 Plus
997
+ {
685
998
  id: DeviceId.CkG2Plus,
686
999
  sku: ["uck-g2-plus"],
687
1000
  title: "device.CloudKey+",
@@ -694,8 +1007,8 @@ const DEVICES = [{
694
1007
  defaultEnabledFeatures: [FeatureId.Network],
695
1008
  hdd: {
696
1009
  max: 1,
697
- parityDisks: 0,
698
- gigabyteOptions: [1e3]
1010
+ gigabyteOptions: [1e3],
1011
+ parityDisks: 0
699
1012
  },
700
1013
  maxReducer: {
701
1014
  enabledFeaturesTrigger: 2,
@@ -743,14 +1056,13 @@ const DEVICES = [{
743
1056
  weight: 0.4
744
1057
  }
745
1058
  },
746
- threatManagementLoad: 0.032,
747
1059
  securityDetection: {
748
1060
  cpu: {
749
- value: 3e-3,
1061
+ value: 51e-4,
750
1062
  weight: 0.6
751
1063
  },
752
1064
  memory: {
753
- value: 0,
1065
+ value: 51e-4,
754
1066
  weight: 0.4
755
1067
  }
756
1068
  },
@@ -811,7 +1123,7 @@ const DEVICES = [{
811
1123
  data: {
812
1124
  cpu: {
813
1125
  value: 0.019,
814
- weight: 0.73
1126
+ weight: 0.9
815
1127
  },
816
1128
  memory: {
817
1129
  value: 3e-4,
@@ -824,7 +1136,7 @@ const DEVICES = [{
824
1136
  data: {
825
1137
  cpu: {
826
1138
  value: 0.025,
827
- weight: 0.73
1139
+ weight: 0.9
828
1140
  },
829
1141
  memory: {
830
1142
  value: 7e-4,
@@ -837,7 +1149,7 @@ const DEVICES = [{
837
1149
  data: {
838
1150
  cpu: {
839
1151
  value: 0.031,
840
- weight: 0.73
1152
+ weight: 0.9
841
1153
  },
842
1154
  memory: {
843
1155
  value: 1e-3,
@@ -907,7 +1219,9 @@ const DEVICES = [{
907
1219
  }
908
1220
  }
909
1221
  }
910
- }, {
1222
+ },
1223
+ // UDW
1224
+ {
911
1225
  id: DeviceId.DreamWall,
912
1226
  sku: ["udw"],
913
1227
  title: "device.UDW",
@@ -955,14 +1269,13 @@ const DEVICES = [{
955
1269
  weight: 0.3
956
1270
  }
957
1271
  },
958
- threatManagementLoad: 0.1215,
959
1272
  securityDetection: {
960
1273
  cpu: {
961
- value: 1e-3,
1274
+ value: 0.1507,
962
1275
  weight: 0.7
963
1276
  },
964
1277
  memory: {
965
- value: 0,
1278
+ value: 0.1347,
966
1279
  weight: 0.3
967
1280
  }
968
1281
  },
@@ -1023,7 +1336,7 @@ const DEVICES = [{
1023
1336
  data: {
1024
1337
  cpu: {
1025
1338
  value: 8e-3,
1026
- weight: 0.73
1339
+ weight: 0.9
1027
1340
  },
1028
1341
  memory: {
1029
1342
  value: 4e-4,
@@ -1036,7 +1349,7 @@ const DEVICES = [{
1036
1349
  data: {
1037
1350
  cpu: {
1038
1351
  value: 0.02,
1039
- weight: 0.73
1352
+ weight: 0.9
1040
1353
  },
1041
1354
  memory: {
1042
1355
  value: 5e-4,
@@ -1049,7 +1362,7 @@ const DEVICES = [{
1049
1362
  data: {
1050
1363
  cpu: {
1051
1364
  value: 0.026,
1052
- weight: 0.73
1365
+ weight: 0.9
1053
1366
  },
1054
1367
  memory: {
1055
1368
  value: 6e-4,
@@ -1119,7 +1432,9 @@ const DEVICES = [{
1119
1432
  }
1120
1433
  }
1121
1434
  }
1122
- }, {
1435
+ },
1436
+ // UDR
1437
+ {
1123
1438
  id: DeviceId.Udr,
1124
1439
  sku: ["udr"],
1125
1440
  title: "device.UDR",
@@ -1168,14 +1483,13 @@ const DEVICES = [{
1168
1483
  weight: 0.5
1169
1484
  }
1170
1485
  },
1171
- threatManagementLoad: 0.1682,
1172
1486
  securityDetection: {
1173
1487
  cpu: {
1174
- value: 0.0254,
1488
+ value: 0.2754,
1175
1489
  weight: 0.5
1176
1490
  },
1177
1491
  memory: {
1178
- value: 0,
1492
+ value: 0.1583,
1179
1493
  weight: 0.5
1180
1494
  }
1181
1495
  },
@@ -1236,7 +1550,7 @@ const DEVICES = [{
1236
1550
  data: {
1237
1551
  cpu: {
1238
1552
  value: 0.071,
1239
- weight: 0.73
1553
+ weight: 0.9
1240
1554
  },
1241
1555
  memory: {
1242
1556
  value: 3e-4,
@@ -1249,7 +1563,7 @@ const DEVICES = [{
1249
1563
  data: {
1250
1564
  cpu: {
1251
1565
  value: 0.093,
1252
- weight: 0.73
1566
+ weight: 0.9
1253
1567
  },
1254
1568
  memory: {
1255
1569
  value: 7e-4,
@@ -1262,7 +1576,7 @@ const DEVICES = [{
1262
1576
  data: {
1263
1577
  cpu: {
1264
1578
  value: 0.114,
1265
- weight: 0.73
1579
+ weight: 0.9
1266
1580
  },
1267
1581
  memory: {
1268
1582
  value: 1e-3,
@@ -1332,6 +1646,342 @@ const DEVICES = [{
1332
1646
  }
1333
1647
  }
1334
1648
  }
1649
+ },
1650
+ // UDR7 // TODO -- missing sku, title, image, max values for doors & APs
1651
+ {
1652
+ id: DeviceId.Udr7,
1653
+ sku: ["udr7"],
1654
+ title: "device.UDR7",
1655
+ img: {
1656
+ src: udr__default,
1657
+ width: 68,
1658
+ height: 68
1659
+ },
1660
+ settings: {
1661
+ defaultEnabledFeatures: [FeatureId.Network],
1662
+ forcedFeatures: [FeatureId.Network],
1663
+ maxFeatures: 3
1664
+ },
1665
+ loadData: {
1666
+ Network: {
1667
+ enableFeature: {
1668
+ cpu: {
1669
+ value: 0.0827,
1670
+ weight: 0.5
1671
+ },
1672
+ memory: {
1673
+ value: 0.2369,
1674
+ weight: 0.5
1675
+ }
1676
+ },
1677
+ accessPoint: {
1678
+ max: 15,
1679
+ data: {
1680
+ cpu: {
1681
+ value: 0.1114,
1682
+ weight: 0.5
1683
+ },
1684
+ memory: {
1685
+ value: 0.0326,
1686
+ weight: 0.5
1687
+ }
1688
+ }
1689
+ },
1690
+ vpn: {
1691
+ cpu: {
1692
+ value: 0.0414,
1693
+ weight: 0.5
1694
+ },
1695
+ memory: {
1696
+ value: 0,
1697
+ weight: 0.5
1698
+ }
1699
+ },
1700
+ securityDetection: {
1701
+ cpu: {
1702
+ value: 0.1512,
1703
+ weight: 0.5
1704
+ },
1705
+ memory: {
1706
+ value: 0.1831,
1707
+ weight: 0.5
1708
+ }
1709
+ },
1710
+ adBlocking: {
1711
+ cpu: {
1712
+ value: 69e-4,
1713
+ weight: 0.5
1714
+ },
1715
+ memory: {
1716
+ value: 0,
1717
+ weight: 0.5
1718
+ }
1719
+ },
1720
+ qos: {
1721
+ cpu: {
1722
+ value: 0.0452,
1723
+ weight: 0.5
1724
+ },
1725
+ memory: {
1726
+ value: 0.031,
1727
+ weight: 0.5
1728
+ }
1729
+ }
1730
+ },
1731
+ Protect: {
1732
+ enableFeature: {
1733
+ cpu: {
1734
+ value: 0.0331,
1735
+ weight: 0.5
1736
+ },
1737
+ memory: {
1738
+ value: 0.1062,
1739
+ weight: 0.5
1740
+ }
1741
+ },
1742
+ playback: {
1743
+ cpu: {
1744
+ value: 0.13,
1745
+ weight: 0.5
1746
+ },
1747
+ memory: {
1748
+ value: 0.0413,
1749
+ weight: 0.5
1750
+ }
1751
+ },
1752
+ liveView: {
1753
+ cpu: {
1754
+ value: 0.1227,
1755
+ weight: 0.5
1756
+ },
1757
+ memory: {
1758
+ value: 0.0391,
1759
+ weight: 0.5
1760
+ }
1761
+ },
1762
+ cameraHd: {
1763
+ max: 5,
1764
+ data: {
1765
+ cpu: {
1766
+ value: 0.0234,
1767
+ weight: 0.9
1768
+ },
1769
+ memory: {
1770
+ value: 0.022,
1771
+ weight: 0.1
1772
+ }
1773
+ }
1774
+ },
1775
+ camera2k: {
1776
+ max: 2,
1777
+ data: {
1778
+ cpu: {
1779
+ value: 0.0397,
1780
+ weight: 0.9
1781
+ },
1782
+ memory: {
1783
+ value: 0.0401,
1784
+ weight: 0.1
1785
+ }
1786
+ }
1787
+ },
1788
+ camera4k: {
1789
+ max: 1,
1790
+ data: {
1791
+ cpu: {
1792
+ value: 0.0476,
1793
+ weight: 0.9
1794
+ },
1795
+ memory: {
1796
+ value: 0.017,
1797
+ weight: 0.1
1798
+ }
1799
+ }
1800
+ }
1801
+ },
1802
+ Access: {
1803
+ enableFeature: {
1804
+ cpu: {
1805
+ value: 0.0114,
1806
+ weight: 0.5
1807
+ },
1808
+ memory: {
1809
+ value: 0.0198,
1810
+ weight: 0.5
1811
+ }
1812
+ },
1813
+ door: {
1814
+ max: 100,
1815
+ data: {
1816
+ cpu: {
1817
+ value: 0,
1818
+ weight: 0.5
1819
+ },
1820
+ memory: {
1821
+ value: 0.018,
1822
+ weight: 0.5
1823
+ }
1824
+ }
1825
+ }
1826
+ },
1827
+ Talk: {
1828
+ enableFeature: {
1829
+ cpu: {
1830
+ value: 0,
1831
+ weight: 0.5
1832
+ },
1833
+ memory: {
1834
+ value: 0.124,
1835
+ weight: 0.5
1836
+ }
1837
+ },
1838
+ phone: {
1839
+ max: 25,
1840
+ data: {
1841
+ cpu: {
1842
+ value: 0.02,
1843
+ weight: 0.5
1844
+ },
1845
+ memory: {
1846
+ value: 35e-4,
1847
+ weight: 0.5
1848
+ }
1849
+ }
1850
+ },
1851
+ record: {
1852
+ cpu: {
1853
+ value: 1e-3,
1854
+ weight: 0.5
1855
+ },
1856
+ memory: {
1857
+ value: 1e-3,
1858
+ weight: 0.5
1859
+ }
1860
+ }
1861
+ }
1862
+ }
1863
+ },
1864
+ // ENVR
1865
+ /**
1866
+ * As a quick solution, values are copied from UNVR except for cameras(hd,2k,4k)
1867
+ * Discussion: https://ui.slack.com/archives/C02JG0GKYC8/p1731328689092089?thread_ts=1730294242.638029&cid=C02JG0GKYC8
1868
+ * ENVR camera values: https://docs.google.com/spreadsheets/d/1byx7AfC_AB3Bbdt0hkdDK7yU_Si38pcZ2mMaLckIm2U/edit?gid=790615152#gid=790615152
1869
+ */
1870
+ {
1871
+ id: DeviceId.Envr,
1872
+ sku: ["envr"],
1873
+ title: "device.ENVR",
1874
+ img: {
1875
+ src: envr__default,
1876
+ width: 68,
1877
+ height: 68
1878
+ },
1879
+ settings: {
1880
+ defaultEnabledFeatures: [FeatureId.Protect],
1881
+ forcedFeatures: [FeatureId.Protect],
1882
+ hdd: {
1883
+ max: 16,
1884
+ parityDisks: 1
1885
+ }
1886
+ },
1887
+ loadData: {
1888
+ Protect: {
1889
+ enableFeature: {
1890
+ cpu: {
1891
+ value: 0.0558,
1892
+ weight: 0.8
1893
+ },
1894
+ memory: {
1895
+ value: 0.117,
1896
+ weight: 0.2
1897
+ }
1898
+ },
1899
+ playback: {
1900
+ cpu: {
1901
+ value: 0.15,
1902
+ weight: 0.8
1903
+ },
1904
+ memory: {
1905
+ value: 0,
1906
+ weight: 0.2
1907
+ }
1908
+ },
1909
+ liveView: {
1910
+ cpu: {
1911
+ value: 0.225,
1912
+ weight: 0.8
1913
+ },
1914
+ memory: {
1915
+ value: 0.045,
1916
+ weight: 0.2
1917
+ }
1918
+ },
1919
+ cameraHd: {
1920
+ max: 210,
1921
+ data: {
1922
+ cpu: {
1923
+ value: 95e-4,
1924
+ weight: 0.9
1925
+ },
1926
+ memory: {
1927
+ value: 0.1039,
1928
+ weight: 0.1
1929
+ }
1930
+ }
1931
+ },
1932
+ camera2k: {
1933
+ max: 140,
1934
+ data: {
1935
+ cpu: {
1936
+ value: 88e-4,
1937
+ weight: 0.9
1938
+ },
1939
+ memory: {
1940
+ value: 0.1049,
1941
+ weight: 0.1
1942
+ }
1943
+ }
1944
+ },
1945
+ camera4k: {
1946
+ max: 70,
1947
+ data: {
1948
+ cpu: {
1949
+ value: 85e-4,
1950
+ weight: 0.9
1951
+ },
1952
+ memory: {
1953
+ value: 0.1074,
1954
+ weight: 0.1
1955
+ }
1956
+ }
1957
+ }
1958
+ },
1959
+ Access: {
1960
+ enableFeature: {
1961
+ cpu: {
1962
+ value: 0.01,
1963
+ weight: 0.8
1964
+ },
1965
+ memory: {
1966
+ value: 0.043,
1967
+ weight: 0.2
1968
+ }
1969
+ },
1970
+ door: {
1971
+ max: 100,
1972
+ data: {
1973
+ cpu: {
1974
+ value: 1e-4,
1975
+ weight: 0.8
1976
+ },
1977
+ memory: {
1978
+ value: 1e-4,
1979
+ weight: 0.2
1980
+ }
1981
+ }
1982
+ }
1983
+ }
1984
+ }
1335
1985
  }];
1336
1986
  export { DEVICES };
1337
1987
  //# sourceMappingURL=ComputeResourceCalculator.constants.mjs.map