bfg-common 1.1.92 → 1.1.94

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.
@@ -4,500 +4,223 @@ export const capabilities: UI_I_Compatibility = {
4
4
  compatibility: [
5
5
  {
6
6
  text: 'Procurator 1.0.0 and later',
7
- value: '001_pvm-1',
7
+ value: 'pvm-1',
8
8
  },
9
9
  {
10
10
  text: 'Gorizont-VS 1.0.74 and later',
11
- value: '002_hor-1',
11
+ value: 'hor-1',
12
12
  },
13
13
  {
14
14
  text: 'ESXi 6.7 and later',
15
- value: '003_vmx-14',
15
+ value: 'vmx-14',
16
16
  },
17
17
  ],
18
18
  guestOsFamilies: [
19
19
  {
20
20
  text: 'Windows',
21
- value: '001_windows',
21
+ value: 'windows',
22
22
  },
23
23
  {
24
24
  text: 'Linux',
25
- value: '002_linux',
25
+ value: 'linux',
26
26
  },
27
27
  {
28
28
  text: 'Other',
29
- value: '003_other',
29
+ value: 'other',
30
30
  },
31
31
  ],
32
32
  machineTypes: [
33
33
  {
34
34
  text: 'Q35',
35
- value: '001_pc-q35-3.1',
35
+ value: 'pc-q35-3.1',
36
36
  },
37
37
  {
38
38
  text: 'I440FX',
39
- value: '002_pc-i440fx-3.1',
39
+ value: 'pc-i440fx-3.1',
40
40
  },
41
41
  ],
42
42
  cpuModels: [
43
43
  {
44
44
  text: 'Nehalem',
45
- value: '001_Nehalem',
45
+ value: 'Nehalem',
46
46
  },
47
47
  {
48
48
  text: 'kvm64',
49
- value: '002_kvm64',
49
+ value: 'kvm64',
50
50
  },
51
51
  {
52
52
  text: 'kvm32',
53
- value: '003_kvm32',
53
+ value: 'kvm32',
54
54
  },
55
55
  {
56
56
  text: 'qemu64',
57
- value: '004_qemu64',
57
+ value: 'qemu64',
58
58
  },
59
59
  {
60
60
  text: 'qemu32',
61
- value: '005_qemu32',
61
+ value: 'qemu32',
62
62
  },
63
63
  {
64
64
  text: 'core2duo',
65
- value: '006_core2duo',
65
+ value: 'core2duo',
66
66
  },
67
67
  {
68
68
  text: 'cpu64-rhel5',
69
- value: '007_cpu64-rhel5',
69
+ value: 'cpu64-rhel5',
70
70
  },
71
71
  {
72
72
  text: 'cpu64-rhel6',
73
- value: '008_cpu64-rhel6',
73
+ value: 'cpu64-rhel6',
74
74
  },
75
75
  {
76
76
  text: 'Westmere',
77
- value: '009_Westmere',
77
+ value: 'Westmere',
78
78
  },
79
79
  {
80
80
  text: 'Haswell-noTSX',
81
- value: '010_Haswell-noTSX',
81
+ value: 'Haswell-noTSX',
82
82
  },
83
83
  {
84
84
  text: 'Haswell',
85
- value: '011_Haswell',
85
+ value: 'Haswell',
86
86
  },
87
87
  {
88
88
  text: 'Broadwell-noTSX',
89
- value: '012_Broadwell-noTSX',
89
+ value: 'Broadwell-noTSX',
90
90
  },
91
91
  {
92
92
  text: 'Broadwell',
93
- value: '013_Broadwell',
93
+ value: 'Broadwell',
94
94
  },
95
95
  {
96
96
  text: 'phenom',
97
- value: '014_phenom',
97
+ value: 'phenom',
98
98
  },
99
99
  {
100
100
  text: 'Opteron_G4',
101
- value: '015_Opteron_G4',
101
+ value: 'Opteron_G4',
102
102
  },
103
103
  {
104
104
  text: 'Opteron_G5',
105
- value: '016_Opteron_G5',
105
+ value: 'Opteron_G5',
106
106
  },
107
107
  {
108
108
  text: 'IvyBridge',
109
- value: '017_IvyBridge',
109
+ value: 'IvyBridge',
110
110
  },
111
111
  {
112
112
  text: 'SandyBridge',
113
- value: '018_SandyBridge',
113
+ value: 'SandyBridge',
114
114
  },
115
115
  {
116
116
  text: 'Skylake-Client',
117
- value: '019_Skylake-Client',
117
+ value: 'Skylake-Client',
118
118
  },
119
119
  {
120
120
  text: 'Host Model',
121
- value: '020_host-model',
121
+ value: 'host-model',
122
122
  },
123
123
  {
124
124
  text: 'Host Passthrough',
125
- value: '021_host-passthrough',
125
+ value: 'host-passthrough',
126
126
  },
127
127
  ],
128
128
  guestOsVersions: {
129
- '001_windows': [
129
+ 'windows': [
130
130
  {
131
131
  text: 'Microsoft Windows Server 2022 (64-bit)',
132
- value: '001_windows2019srvNext_64Guest-vbsEnabled-true',
132
+ value: 'windows2019srvNext_64Guest-vbsEnabled-true',
133
133
  },
134
134
  {
135
135
  text: 'Microsoft Windows Server 2019 (64-bit)',
136
- value: '002_windows2019srv_64Guest-vbsEnabled-true',
136
+ value: 'windows2019srv_64Guest-vbsEnabled-true',
137
137
  },
138
138
  {
139
139
  text: 'Microsoft Windows Server 2016 (64-bit)',
140
- value: '003_windows9Server64Guest-vbsEnabled-true',
140
+ value: 'windows9Server64Guest-vbsEnabled-true',
141
141
  },
142
142
  {
143
143
  text: 'Microsoft Windows Server 2012 (64-bit)',
144
- value: '004_windows8Server64Guest-vbsEnabled-false',
144
+ value: 'windows8Server64Guest-vbsEnabled-false',
145
145
  },
146
146
  {
147
147
  text: 'Microsoft Windows Server 2008 R2 (64-bit)',
148
- value: '005_windows7Server64Guest-vbsEnabled-false',
148
+ value: 'windows7Server64Guest-vbsEnabled-false',
149
149
  },
150
150
  {
151
151
  text: 'Microsoft Windows Server 2008 (64-bit)',
152
- value: '006_winLonghorn64Guest-vbsEnabled-false',
152
+ value: 'winLonghorn64Guest-vbsEnabled-false',
153
153
  },
154
154
  {
155
155
  text: 'Microsoft Windows Server 2008 (32-bit)',
156
- value: '007_winLonghornGuest-vbsEnabled-false',
156
+ value: 'winLonghornGuest-vbsEnabled-false',
157
157
  },
158
158
  {
159
159
  text: 'Microsoft Windows Server 2003 (64-bit)',
160
- value: '008_winNetEnterprise64Guest-vbsEnabled-false',
160
+ value: 'winNetEnterprise64Guest-vbsEnabled-false',
161
161
  },
162
162
  {
163
163
  text: 'Microsoft Windows Server 2003 (32-bit)',
164
- value: '009_winNetEnterpriseGuest-vbsEnabled-false',
164
+ value: 'winNetEnterpriseGuest-vbsEnabled-false',
165
165
  },
166
166
  {
167
167
  text: 'Microsoft Windows 10 (64-bit)',
168
- value: '010_windows9_64Guest-vbsEnabled-true',
168
+ value: 'windows9_64Guest-vbsEnabled-true',
169
169
  },
170
170
  {
171
171
  text: 'Microsoft Windows 10 (32-bit)',
172
- value: '011_windows9Guest-vbsEnabled-false',
172
+ value: 'windows9Guest-vbsEnabled-false',
173
173
  },
174
174
  {
175
175
  text: 'Microsoft Windows 8.x (64-bit)',
176
- value: '012_windows8_64Guest-vbsEnabled-false',
176
+ value: 'windows8_64Guest-vbsEnabled-false',
177
177
  },
178
178
  {
179
179
  text: 'Microsoft Windows 8.x (32-bit)',
180
- value: '013_windows8Guest-vbsEnabled-false',
180
+ value: 'windows8Guest-vbsEnabled-false',
181
181
  },
182
182
  {
183
183
  text: 'Microsoft Windows 7 (64-bit)',
184
- value: '014_windows7_64Guest-vbsEnabled-false',
184
+ value: 'windows7_64Guest-vbsEnabled-false',
185
185
  },
186
186
  {
187
187
  text: 'Microsoft Windows 7 (32-bit)',
188
- value: '015_windows7Guest-vbsEnabled-false',
188
+ value: 'windows7Guest-vbsEnabled-false',
189
189
  },
190
190
  {
191
191
  text: 'Microsoft Windows Vista (64-bit)',
192
- value: '016_winVista64Guest-vbsEnabled-false',
192
+ value: 'winVista64Guest-vbsEnabled-false',
193
193
  },
194
194
  {
195
195
  text: 'Microsoft Windows Vista (32-bit)',
196
- value: '017_winVistaGuest-vbsEnabled-false',
196
+ value: 'winVistaGuest-vbsEnabled-false',
197
197
  },
198
198
  {
199
199
  text: 'Microsoft Windows XP Professional (64-bit)',
200
- value: '018_winXPPro64Guest-vbsEnabled-false',
200
+ value: 'winXPPro64Guest-vbsEnabled-false',
201
201
  },
202
202
  {
203
203
  text: 'Microsoft Windows XP Professional (32-bit)',
204
- value: '019_winXPProGuest-vbsEnabled-false',
204
+ value: 'winXPProGuest-vbsEnabled-false',
205
205
  },
206
206
  {
207
207
  text: 'Microsoft Windows 2000',
208
- value: '020_win2000AdvServGuest-vbsEnabled-false',
208
+ value: 'win2000AdvServGuest-vbsEnabled-false',
209
209
  },
210
210
  {
211
211
  text: 'Microsoft Windows NT',
212
- value: '021_winNTGuest-vbsEnabled-false',
212
+ value: 'winNTGuest-vbsEnabled-false',
213
213
  },
214
214
  {
215
215
  text: 'Microsoft Windows 98',
216
- value: '022_win98Guest-vbsEnabled-false',
216
+ value: 'win98Guest-vbsEnabled-false',
217
217
  },
218
218
  {
219
219
  text: 'Microsoft Windows 95',
220
- value: '023_win95Guest-vbsEnabled-false',
221
- },
222
- // {
223
- // text: 'Microsoft Windows 3.1',
224
- // value: '024_win31Guest-vbsEnabled-false',
225
- // },
226
- // {
227
- // text: 'Microsoft MS-DOS',
228
- // value: '025_dosGuest-vbsEnabled-false',
229
- // },
220
+ value: 'win95Guest-vbsEnabled-false',
221
+ },
230
222
  ],
231
- '002_linux': [
232
- // {
233
- // text: 'Amazon Linux 2 (64-bit)',
234
- // value: 'amazonlinux2_64Guest-vbsEnabled-false',
235
- // },
236
- // {
237
- // text: 'Asianux 3 (32-bit)',
238
- // value: 'asianux3Guest-vbsEnabled-false',
239
- // },
240
- // {
241
- // text: 'Asianux 3 (64-bit)',
242
- // value: 'asianux3_64Guest-vbsEnabled-false',
243
- // },
244
- // {
245
- // text: 'Asianux 4 (32-bit)',
246
- // value: 'asianux4Guest-vbsEnabled-false',
247
- // },
248
- // {
249
- // text: 'Asianux 4 (64-bit)',
250
- // value: 'asianux4_64Guest-vbsEnabled-false',
251
- // },
252
- // {
253
- // text: 'Asianux 7 (64-bit)',
254
- // value: 'asianux7_64Guest-vbsEnabled-false',
255
- // },
256
- // {
257
- // text: 'Asianux 8 (64-bit)',
258
- // value: 'asianux8_64Guest-vbsEnabled-false',
259
- // },
260
- // {
261
- // text: 'CentOS 4/5 (64-bit)',
262
- // value: 'centos64Guest-vbsEnabled-false',
263
- // },
264
- // {
265
- // text: 'CentOS 6 (32-bit)',
266
- // value: 'centos6Guest-vbsEnabled-false',
267
- // },
268
- // {
269
- // text: 'CentOS 6 (64-bit)',
270
- // value: 'centos6_64Guest-vbsEnabled-false',
271
- // },
272
- // {
273
- // text: 'CentOS 7 (64-bit)',
274
- // value: 'centos7_64Guest-vbsEnabled-false',
275
- // },
276
- // {
277
- // text: 'CentOS 8 (64-bit)',
278
- // value: 'centos8_64Guest-vbsEnabled-false',
279
- // },
280
- // {
281
- // text: 'CentOS 4/5 (32-bit)',
282
- // value: 'centosGuest-vbsEnabled-false',
283
- // },
284
- // {
285
- // text: 'VMware CRX Pod 1 (64-bit)',
286
- // value: 'crxPod1Guest-vbsEnabled-false',
287
- // },
288
- // {
289
- // text: 'Debian GNU/Linux 10 (32-bit)',
290
- // value: 'debian10Guest-vbsEnabled-false',
291
- // },
292
- // {
293
- // text: 'Debian GNU/Linux 10 (64-bit)',
294
- // value: 'debian10_64Guest-vbsEnabled-false',
295
- // },
296
- // {
297
- // text: 'Debian GNU/Linux 11 (32-bit)',
298
- // value: 'debian11Guest-vbsEnabled-false',
299
- // },
300
- // {
301
- // text: 'Debian GNU/Linux 11 (64-bit)',
302
- // value: 'debian11_64Guest-vbsEnabled-false',
303
- // },
304
- // {
305
- // text: 'Debian GNU/Linux 4 (32-bit)',
306
- // value: 'debian4Guest-vbsEnabled-false',
307
- // },
308
- // {
309
- // text: 'Debian GNU/Linux 4 (64-bit)',
310
- // value: 'debian4_64Guest-vbsEnabled-false',
311
- // },
312
- // {
313
- // text: 'Debian GNU/Linux 5 (32-bit)',
314
- // value: 'debian5Guest-vbsEnabled-false',
315
- // },
316
- // {
317
- // text: 'Debian GNU/Linux 5 (64-bit)',
318
- // value: 'debian5_64Guest-vbsEnabled-false',
319
- // },
320
- // {
321
- // text: 'Debian GNU/Linux 6 (32-bit)',
322
- // value: 'debian6Guest-vbsEnabled-false',
323
- // },
324
- // {
325
- // text: 'Debian GNU/Linux 6 (64-bit)',
326
- // value: 'debian6_64Guest-vbsEnabled-false',
327
- // },
328
- // {
329
- // text: 'Debian GNU/Linux 7 (32-bit)',
330
- // value: 'debian7Guest-vbsEnabled-false',
331
- // },
332
- // {
333
- // text: 'Debian GNU/Linux 7 (64-bit)',
334
- // value: 'debian7_64Guest-vbsEnabled-false',
335
- // },
336
- // {
337
- // text: 'Debian GNU/Linux 8 (32-bit)',
338
- // value: 'debian8Guest-vbsEnabled-false',
339
- // },
340
- // {
341
- // text: 'Debian GNU/Linux 8 (64-bit)',
342
- // value: 'debian8_64Guest-vbsEnabled-false',
343
- // },
344
- // {
345
- // text: 'Debian GNU/Linux 9 (32-bit)',
346
- // value: 'debian9Guest-vbsEnabled-false',
347
- // },
348
- // {
349
- // text: 'Debian GNU/Linux 9 (64-bit)',
350
- // value: 'debian9_64Guest-vbsEnabled-false',
351
- // },
352
- // {
353
- // text: 'Red Hat Fedora (64-bit)',
354
- // value: 'fedora64Guest-vbsEnabled-false',
355
- // },
356
- // {
357
- // text: 'Red Hat Fedora (32-bit)',
358
- // value: 'fedoraGuest-vbsEnabled-false',
359
- // },
360
- // {
361
- // text: 'SUSE openSUSE (64-bit)',
362
- // value: 'opensuse64Guest-vbsEnabled-false',
363
- // },
364
- // {
365
- // text: 'SUSE openSUSE (32-bit)',
366
- // value: 'opensuseGuest-vbsEnabled-false',
367
- // },
368
- // {
369
- // text: 'Oracle Linux 4/5 (64-bit)',
370
- // value: 'oracleLinux64Guest-vbsEnabled-false',
371
- // },
372
- // {
373
- // text: 'Oracle Linux 6 (32-bit)',
374
- // value: 'oracleLinux6Guest-vbsEnabled-false',
375
- // },
376
- // {
377
- // text: 'Oracle Linux 6 (64-bit)',
378
- // value: 'oracleLinux6_64Guest-vbsEnabled-false',
379
- // },
380
- // {
381
- // text: 'Oracle Linux 7 (64-bit)',
382
- // value: 'oracleLinux7_64Guest-vbsEnabled-false',
383
- // },
384
- // {
385
- // text: 'Oracle Linux 8 (64-bit)',
386
- // value: 'oracleLinux8_64Guest-vbsEnabled-false',
387
- // },
388
- // {
389
- // text: 'Oracle Linux 4/5 (32-bit)',
390
- // value: 'oracleLinuxGuest-vbsEnabled-false',
391
- // },
392
- // {
393
- // text: 'Other 2.4.x Linux (64-bit)',
394
- // value: 'other24xLinux64Guest-vbsEnabled-false',
395
- // },
396
- // {
397
- // text: 'Other 2.4.x Linux (32-bit)',
398
- // value: 'other24xLinuxGuest-vbsEnabled-false',
399
- // },
400
- // {
401
- // text: 'Other 2.6.x Linux (64-bit)',
402
- // value: 'other26xLinux64Guest-vbsEnabled-false',
403
- // },
404
- // {
405
- // text: 'Other 2.6.x Linux (32-bit)',
406
- // value: 'other26xLinuxGuest-vbsEnabled-false',
407
- // },
408
- // {
409
- // text: 'Other 3.x Linux (64-bit)',
410
- // value: 'other3xLinux64Guest-vbsEnabled-false',
411
- // },
412
- // {
413
- // text: 'Other 3.x Linux (32-bit)',
414
- // value: 'other3xLinuxGuest-vbsEnabled-false',
415
- // },
416
- // {
417
- // text: 'Other 4.x Linux (64-bit)',
418
- // value: 'other4xLinux64Guest-vbsEnabled-false',
419
- // },
420
- // {
421
- // text: 'Other 4.x Linux (32-bit)',
422
- // value: 'other4xLinuxGuest-vbsEnabled-false',
423
- // },
424
- // {
425
- // text: 'Other 5.x or later Linux (64-bit)',
426
- // value: 'other5xLinux64Guest-vbsEnabled-false',
427
- // },
428
- // {
429
- // text: 'Other 5.x or later Linux (32-bit)',
430
- // value: 'other5xLinuxGuest-vbsEnabled-false',
431
- // },
432
- // {
433
- // text: 'Other Linux (64-bit)',
434
- // value: 'otherLinux64Guest-vbsEnabled-false',
435
- // },
436
- // {
437
- // text: 'Other Linux (32-bit)',
438
- // value: 'otherLinuxGuest-vbsEnabled-false',
439
- // },
440
- // {
441
- // text: 'Red Hat Enterprise Linux 4 (32-bit)',
442
- // value: 'rhel4Guest-vbsEnabled-false',
443
- // },
444
- // {
445
- // text: 'Red Hat Enterprise Linux 4 (64-bit)',
446
- // value: 'rhel4_64Guest-vbsEnabled-false',
447
- // },
448
- // {
449
- // text: 'Red Hat Enterprise Linux 5 (32-bit)',
450
- // value: 'rhel5Guest-vbsEnabled-false',
451
- // },
452
- // {
453
- // text: 'Red Hat Enterprise Linux 5 (64-bit)',
454
- // value: 'rhel5_64Guest-vbsEnabled-false',
455
- // },
456
- // {
457
- // text: 'Red Hat Enterprise Linux 6 (32-bit)',
458
- // value: 'rhel6Guest-vbsEnabled-false',
459
- // },
460
- // {
461
- // text: 'Red Hat Enterprise Linux 6 (64-bit)',
462
- // value: 'rhel6_64Guest-vbsEnabled-false',
463
- // },
464
- // {
465
- // text: 'Red Hat Enterprise Linux 7 (64-bit)',
466
- // value: 'rhel7_64Guest-vbsEnabled-false',
467
- // },
468
- // {
469
- // text: 'Red Hat Enterprise Linux 8 (64-bit)',
470
- // value: 'rhel8_64Guest-vbsEnabled-false',
471
- // },
472
- // {
473
- // text: 'Red Hat Enterprise Linux 9 (64-bit)',
474
- // value: 'rhel9_64Guest-vbsEnabled-false',
475
- // },
476
- // {
477
- // text: 'SUSE Linux Enterprise 10 (32-bit)',
478
- // value: 'sles10Guest-vbsEnabled-false',
479
- // },
480
- // {
481
- // text: 'SUSE Linux Enterprise 10 (64-bit)',
482
- // value: 'sles10_64Guest-vbsEnabled-false',
483
- // },
484
- // {
485
- // text: 'SUSE Linux Enterprise 11 (32-bit)',
486
- // value: 'sles11Guest-vbsEnabled-false',
487
- // },
488
- // {
489
- // text: 'SUSE Linux Enterprise 11 (64-bit)',
490
- // value: 'sles11_64Guest-vbsEnabled-false',
491
- // },
492
- // {
493
- // text: 'SUSE Linux Enterprise 12 (64-bit)',
494
- // value: 'sles12_64Guest-vbsEnabled-false',
495
- // },
496
- // {
497
- // text: 'SUSE Linux Enterprise 15 (64-bit)',
498
- // value: 'sles15_64Guest-vbsEnabled-false',
499
- // },
500
-
223
+ 'linux': [
501
224
  {
502
225
  text: 'Red Hat Enterprise Linux (64-bit)',
503
226
  value: 'rhel64Guest-vbsEnabled-false',
@@ -538,16 +261,6 @@ export const capabilities: UI_I_Compatibility = {
538
261
  text: 'Oracle Linux (64-bit)',
539
262
  value: 'oracleLinux64Guest-vbsEnabled-false',
540
263
  },
541
-
542
- // {
543
- // text: 'SUSE Linux Enterprise 8/9 (64-bit)',
544
- // value: 'sles64Guest-vbsEnabled-false',
545
- // },
546
- // {
547
- // text: 'SUSE Linux Enterprise 8/9 (32-bit)',
548
- // value: 'slesGuest-vbsEnabled-false',
549
- // },
550
-
551
264
  {
552
265
  text: 'Ubuntu Linux (64-bit)',
553
266
  value: 'ubuntu64Guest-vbsEnabled-false',
@@ -592,14 +305,8 @@ export const capabilities: UI_I_Compatibility = {
592
305
  text: 'Other Linux (32-bit)',
593
306
  value: 'otherLinuxGuest-vbsEnabled-false',
594
307
  },
595
-
596
-
597
- // {
598
- // text: 'VMware Photon OS (64-bit)',
599
- // value: 'vmwarePhoton64Guest-vbsEnabled-false',
600
- // },
601
308
  ],
602
- '003_other': [
309
+ 'other': [
603
310
  {
604
311
  text: 'Apple macOS (64-bit)',
605
312
  value: 'darwin64Guest-vbsEnabled-false',
@@ -624,152 +331,6 @@ export const capabilities: UI_I_Compatibility = {
624
331
  text: 'Other (32-bit)',
625
332
  value: 'otherGuest-vbsEnabled-false',
626
333
  },
627
-
628
-
629
- // {
630
- // text: 'Apple Mac OS X 10.10 (64-bit)',
631
- // value: 'darwin14_64Guest-vbsEnabled-false',
632
- // },
633
- // {
634
- // text: 'Apple Mac OS X 10.11 (64-bit)',
635
- // value: 'darwin15_64Guest-vbsEnabled-false',
636
- // },
637
- // {
638
- // text: 'Apple macOS 10.12 (64-bit)',
639
- // value: 'darwin16_64Guest-vbsEnabled-false',
640
- // },
641
- // {
642
- // text: 'Apple macOS 10.13 (64-bit)',
643
- // value: 'darwin17_64Guest-vbsEnabled-false',
644
- // },
645
- // {
646
- // text: 'Apple macOS 10.14 (64-bit)',
647
- // value: 'darwin18_64Guest-vbsEnabled-false',
648
- // },
649
- // {
650
- // text: 'Apple macOS 10.15 (64-bit)',
651
- // value: 'darwin19_64Guest-vbsEnabled-false',
652
- // },
653
- // {
654
- // text: 'Apple macOS 11 (64-bit)',
655
- // value: 'darwin20_64Guest-vbsEnabled-false',
656
- // },
657
- // {
658
- // text: 'Apple macOS 12 (64-bit)',
659
- // value: 'darwin21_64Guest-vbsEnabled-false',
660
- // },
661
- // {
662
- // text: 'Serenity Systems eComStation 2',
663
- // value: 'eComStation2Guest-vbsEnabled-false',
664
- // },
665
- // {
666
- // text: 'Serenity Systems eComStation 1',
667
- // value: 'eComStationGuest-vbsEnabled-false',
668
- // },
669
- // {
670
- // text: 'FreeBSD 11 (32-bit)',
671
- // value: 'freebsd11Guest-vbsEnabled-false',
672
- // },
673
- // {
674
- // text: 'FreeBSD 11 (64-bit)',
675
- // value: 'freebsd11_64Guest-vbsEnabled-false',
676
- // },
677
- // {
678
- // text: 'FreeBSD 12 (32-bit)',
679
- // value: 'freebsd12Guest-vbsEnabled-false',
680
- // },
681
- // {
682
- // text: 'FreeBSD 12 (64-bit)',
683
- // value: 'freebsd12_64Guest-vbsEnabled-false',
684
- // },
685
- // {
686
- // text: 'FreeBSD 13 or later versions (32-bit)',
687
- // value: 'freebsd13Guest-vbsEnabled-false',
688
- // },
689
- // {
690
- // text: 'FreeBSD 13 or later versions (64-bit)',
691
- // value: 'freebsd13_64Guest-vbsEnabled-false',
692
- // },
693
- // {
694
- // text: 'FreeBSD Pre-11 versions (64-bit)',
695
- // value: 'freebsd64Guest-vbsEnabled-false',
696
- // },
697
- // {
698
- // text: 'FreeBSD Pre-11 versions (32-bit)',
699
- // value: 'freebsdGuest-vbsEnabled-false',
700
- // },
701
- // {
702
- // text: 'Novell NetWare 5.1',
703
- // value: 'netware5Guest-vbsEnabled-false',
704
- // },
705
- // {
706
- // text: 'Novell NetWare 6.x',
707
- // value: 'netware6Guest-vbsEnabled-false',
708
- // },
709
- // {
710
- // text: 'SCO OpenServer 5',
711
- // value: 'openServer5Guest-vbsEnabled-false',
712
- // },
713
- // {
714
- // text: 'SCO OpenServer 6',
715
- // value: 'openServer6Guest-vbsEnabled-false',
716
- // },
717
- // {
718
- // text: 'IBM OS/2',
719
- // value: 'os2Guest-vbsEnabled-false',
720
- // },
721
- // {
722
- // text: 'Other (32-bit)',
723
- // value: 'otherGuest-vbsEnabled-false',
724
- // },
725
- // {
726
- // text: 'Other (64-bit)',
727
- // value: 'otherGuest64-vbsEnabled-false',
728
- // },
729
- // {
730
- // text: 'Oracle Solaris 10 (32-bit)',
731
- // value: 'solaris10Guest-vbsEnabled-false',
732
- // },
733
- // {
734
- // text: 'Oracle Solaris 10 (64-bit)',
735
- // value: 'solaris10_64Guest-vbsEnabled-false',
736
- // },
737
- // {
738
- // text: 'Oracle Solaris 11 (64-bit)',
739
- // value: 'solaris11_64Guest-vbsEnabled-false',
740
- // },
741
- // {
742
- // text: 'Sun Microsystems Solaris 8',
743
- // value: 'solaris8Guest-vbsEnabled-false',
744
- // },
745
- // {
746
- // text: 'Sun Microsystems Solaris 9',
747
- // value: 'solaris9Guest-vbsEnabled-false',
748
- // },
749
- // {
750
- // text: 'SCO UnixWare 7',
751
- // value: 'unixWare7Guest-vbsEnabled-false',
752
- // },
753
- // {
754
- // text: 'VMware ESXi 5.x',
755
- // value: 'vmkernel5Guest-vbsEnabled-false',
756
- // },
757
- // {
758
- // text: 'VMware ESXi 6.x',
759
- // value: 'vmkernel65Guest-vbsEnabled-false',
760
- // },
761
- // {
762
- // text: 'VMware ESXi 6.0',
763
- // value: 'vmkernel6Guest-vbsEnabled-false',
764
- // },
765
- // {
766
- // text: 'VMware ESXi 7.0 or later',
767
- // value: 'vmkernel7Guest-vbsEnabled-false',
768
- // },
769
- // {
770
- // text: 'VMware ESX 4.x',
771
- // value: 'vmkernelGuest-vbsEnabled-false',
772
- // },
773
334
  ],
774
335
  },
775
336
  maxCpus: 140,
@@ -83,7 +83,8 @@ const socketOptions = computed<number[]>(() => {
83
83
  watch(
84
84
  socketOptions,
85
85
  () => {
86
- !socketOptions.value.includes(selectedCorePerSocketLocal.value) && !props.disabled &&
86
+ !socketOptions.value.includes(selectedCorePerSocketLocal.value) &&
87
+ !props.disabled &&
87
88
  (selectedCorePerSocketLocal.value = 1)
88
89
  },
89
90
  { deep: true }
@@ -1,246 +1,253 @@
1
- <template>
2
- <div class="hardware-cpu">
3
- <atoms-stack-block :has-children="true">
4
- <template #stackBlockKey>
5
- <div
6
- id="vm-wizard-toggle-block-remote-console"
7
- class="flex-align-center"
8
- >
9
- <span>{{ localization.remoteConsoleOptions }}</span>
10
- <atoms-the-icon
11
- v-show="remoteConsoleOptionsInvalid"
12
- width="24px"
13
- height="24px"
14
- class="is-error tooltip-trigger"
15
- name="info"
16
- />
17
- </div>
18
- </template>
19
- <template #stackChildren>
20
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-type
21
- v-model:remote-console-type="remoteConsoleType"
22
- :error-validation-fields="props.errorValidationFields"
23
- :disabled="isDisabled"
24
- @input="changeRemoteConsoleType"
25
- @remove-error-by-title="emits('remove-error-by-title', $event)"
26
- />
27
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-keymap
28
- v-model:keymap="keymap"
29
- :disabled="isDisabled"
30
- />
31
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-password
32
- v-model:password="password"
33
- :disabled="isDisabled"
34
- @valid="passwordIsValid = $event"
35
- />
36
- <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-power-control-->
37
- <!-- v-if="remoteConsoleType === 'vnc'"-->
38
- <!-- v-model:power-control="powerControl"-->
39
- <!-- />-->
40
- <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-share-policy-->
41
- <!-- v-if="remoteConsoleType === 'vnc'"-->
42
- <!-- v-model:share-policy="sharePolicy"-->
43
- <!-- />-->
44
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-img-compression
45
- v-if="remoteConsoleType === 'spice'"
46
- v-model:img-compression="imgCompression"
47
- :error-validation-fields="props.errorValidationFields"
48
- :disabled="isDisabled"
49
- @remove-error-by-title="emits('remove-error-by-title', $event)"
50
- />
51
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-jpeg-compression
52
- v-if="remoteConsoleType === 'spice'"
53
- v-model:jpeg-compression="jpegCompression"
54
- :error-validation-fields="props.errorValidationFields"
55
- :disabled="isDisabled"
56
- @remove-error-by-title="emits('remove-error-by-title', $event)"
57
- />
58
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-zlib-compression
59
- v-if="remoteConsoleType === 'spice'"
60
- v-model:zlib-compression="zlibCompression"
61
- :error-validation-fields="props.errorValidationFields"
62
- :disabled="isDisabled"
63
- @remove-error-by-title="emits('remove-error-by-title', $event)"
64
- />
65
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-playback-compression
66
- v-if="remoteConsoleType === 'spice'"
67
- :disabled="isDisabled"
68
- v-model:playback-compression="playbackCompression"
69
- />
70
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-streaming-mode
71
- v-if="remoteConsoleType === 'spice'"
72
- v-model:streaming-mode="streamingMode"
73
- :error-validation-fields="props.errorValidationFields"
74
- :disabled="isDisabled"
75
- @remove-error-by-title="emits('remove-error-by-title', $event)"
76
- />
77
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-copy-paste
78
- v-if="remoteConsoleType === 'spice'"
79
- v-model:copy-paste="copyPaste"
80
- :disabled="isDisabled"
81
- />
82
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-mouse-mode
83
- v-if="remoteConsoleType === 'spice'"
84
- v-model:mouse-mode="mouseMode"
85
- />
86
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-file-transfer
87
- v-if="remoteConsoleType === 'spice'"
88
- v-model:file-transfer="fileTransfer"
89
- :disabled="isDisabled"
90
- />
91
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-usb-redirection
92
- v-if="remoteConsoleType === 'spice'"
93
- v-model:usb-redirection="usbRedirection"
94
- :disabled="isDisabled"
95
- />
96
- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-folder-sharing
97
- v-if="remoteConsoleType === 'spice'"
98
- v-model:folder-sharing="folderSharing"
99
- :disabled="isDisabled"
100
- />
101
- </template>
102
- </atoms-stack-block>
103
- </div>
104
- </template>
105
-
106
- <script setup lang="ts">
107
- import { UI_I_SendDataRemoteConsoleOptions } from '~/components/common/vm/actions/add/customizeHardware/vmoptions/models/interfaces'
108
- import { UI_I_Localization } from '~/models/interfaces'
109
- import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
110
-
111
- const props = defineProps<{
112
- remoteConsoleOptions?: UI_I_SendDataRemoteConsoleOptions
113
- errorValidationFields: UI_I_ErrorValidationField<string>[]
114
- isEdit: boolean
115
- state?: string | number
116
- }>()
117
- const emits = defineEmits<{
118
- (event: 'send-data', value: UI_I_SendDataRemoteConsoleOptions): void
119
- (event: 'invalid', value: boolean): void
120
- (event: 'remove-error-by-title', value: string): void
121
- }>()
122
-
123
- const localization = computed<UI_I_Localization>(() => useLocal())
124
-
125
- const isDisabled = computed<boolean>(() => props.isEdit && props.state !== 1)
126
-
127
- const remoteConsoleType = ref<string>('spice')
128
- const changeRemoteConsoleType = (): void => {
129
- // powerControl.value = false
130
- // sharePolicy.value = 'allow-exclusive'
131
- imgCompression.value = 'auto_glz'
132
- jpegCompression.value = 'auto'
133
- zlibCompression.value = 'auto'
134
- playbackCompression.value = true
135
- streamingMode.value = 'all'
136
- copyPaste.value = true
137
- mouseMode.value = 'client'
138
- fileTransfer.value = true
139
- usbRedirection.value = 3
140
- folderSharing.value = true
141
- }
142
-
143
- const keymap = ref<string>('en_US')
144
-
145
- const password = ref<string>('')
146
- const passwordIsValid = ref<boolean>(true)
147
-
148
- // const powerControl = ref<boolean>(false)
149
-
150
- // const sharePolicy = ref<string>('allow-exclusive')
151
-
152
- const imgCompression = ref<string>('auto_glz')
153
-
154
- const jpegCompression = ref<string>('auto')
155
-
156
- const zlibCompression = ref<string>('auto')
157
-
158
- const playbackCompression = ref<boolean>(true)
159
-
160
- const streamingMode = ref<string>('all')
161
-
162
- const copyPaste = ref<boolean>(true)
163
-
164
- const mouseMode = ref<string>('client')
165
-
166
- const fileTransfer = ref<boolean>(true)
167
-
168
- const usbRedirection = ref<number>(3)
169
-
170
- const folderSharing = ref<boolean>(true)
171
-
172
- watch(
173
- [
174
- remoteConsoleType,
175
- keymap,
176
- password,
177
- // powerControl,
178
- // sharePolicy,
179
- imgCompression,
180
- jpegCompression,
181
- zlibCompression,
182
- playbackCompression,
183
- streamingMode,
184
- copyPaste,
185
- mouseMode,
186
- fileTransfer,
187
- usbRedirection,
188
- folderSharing,
189
- ],
190
- () => {
191
- emits('send-data', {
192
- type: remoteConsoleType.value,
193
- port: 0,
194
- keymap: keymap.value,
195
- password: password.value,
196
- guest_os_lock: false,
197
- limit_sessions: 0,
198
- spice: {
199
- img_compression: imgCompression.value,
200
- jpeg_compression: jpegCompression.value,
201
- zlib_glz_compression: zlibCompression.value,
202
- streaming_mode: streamingMode.value,
203
- playback_compression: playbackCompression.value,
204
- file_transfer: fileTransfer.value,
205
- clipboard: copyPaste.value,
206
- },
207
- })
208
- },
209
- { immediate: true }
210
- )
211
-
212
- // Добавляем данные для редактирования
213
- watch(
214
- () => props.remoteConsoleOptions,
215
- (newValue) => {
216
- if (!newValue || !props.remoteConsoleOptions) return
217
-
218
- remoteConsoleType.value = props.remoteConsoleOptions.type
219
- keymap.value = props.remoteConsoleOptions.keymap
220
- password.value = props.remoteConsoleOptions.password
221
- imgCompression.value = props.remoteConsoleOptions.spice.img_compression
222
- jpegCompression.value = props.remoteConsoleOptions.spice.jpeg_compression
223
- zlibCompression.value =
224
- props.remoteConsoleOptions.spice.zlib_glz_compression
225
- streamingMode.value = props.remoteConsoleOptions.spice.streaming_mode
226
- playbackCompression.value =
227
- props.remoteConsoleOptions.spice.playback_compression
228
- fileTransfer.value = props.remoteConsoleOptions.spice.file_transfer
229
- copyPaste.value = props.remoteConsoleOptions.spice.clipboard
230
- },
231
- { immediate: true }
232
- )
233
-
234
- const remoteConsoleOptionsInvalid = computed<boolean>(
235
- () => !passwordIsValid.value
236
- )
237
- watch(
238
- remoteConsoleOptionsInvalid,
239
- (newValue) => {
240
- emits('invalid', newValue)
241
- },
242
- { immediate: true }
243
- )
244
- </script>
245
-
246
- <style scoped lang="scss"></style>
1
+ <template>
2
+ <div class="hardware-cpu">
3
+ <atoms-stack-block :has-children="true">
4
+ <template #stackBlockKey>
5
+ <div
6
+ id="vm-wizard-toggle-block-remote-console"
7
+ class="flex-align-center"
8
+ >
9
+ <span>{{ localization.remoteConsoleOptions }}</span>
10
+ <atoms-the-icon
11
+ v-show="remoteConsoleOptionsInvalid"
12
+ width="24px"
13
+ height="24px"
14
+ class="is-error tooltip-trigger"
15
+ name="info"
16
+ />
17
+ </div>
18
+ </template>
19
+ <template #stackChildren>
20
+ <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
21
+
22
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-type-->
23
+ <!-- v-model:remote-console-type="remoteConsoleType"-->
24
+ <!-- :error-validation-fields="props.errorValidationFields"-->
25
+ <!-- :disabled="isDisabled"-->
26
+ <!-- @input="changeRemoteConsoleType"-->
27
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
28
+ <!-- />-->
29
+ <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-keymap
30
+ v-model:keymap="keymap"
31
+ :disabled="isDisabled"
32
+ />
33
+ <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-password
34
+ v-model:password="password"
35
+ :disabled="isDisabled"
36
+ @valid="passwordIsValid = $event"
37
+ />
38
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-power-control-->
39
+ <!-- v-if="remoteConsoleType === 'vnc'"-->
40
+ <!-- v-model:power-control="powerControl"-->
41
+ <!-- />-->
42
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-share-policy-->
43
+ <!-- v-if="remoteConsoleType === 'vnc'"-->
44
+ <!-- v-model:share-policy="sharePolicy"-->
45
+ <!-- />-->
46
+ <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
47
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-img-compression-->
48
+ <!-- v-if="remoteConsoleType === 'spice'"-->
49
+ <!-- v-model:img-compression="imgCompression"-->
50
+ <!-- :error-validation-fields="props.errorValidationFields"-->
51
+ <!-- :disabled="isDisabled"-->
52
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
53
+ <!-- />-->
54
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-jpeg-compression-->
55
+ <!-- v-if="remoteConsoleType === 'spice'"-->
56
+ <!-- v-model:jpeg-compression="jpegCompression"-->
57
+ <!-- :error-validation-fields="props.errorValidationFields"-->
58
+ <!-- :disabled="isDisabled"-->
59
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
60
+ <!-- />-->
61
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-zlib-compression-->
62
+ <!-- v-if="remoteConsoleType === 'spice'"-->
63
+ <!-- v-model:zlib-compression="zlibCompression"-->
64
+ <!-- :error-validation-fields="props.errorValidationFields"-->
65
+ <!-- :disabled="isDisabled"-->
66
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
67
+ <!-- />-->
68
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-playback-compression-->
69
+ <!-- v-if="remoteConsoleType === 'spice'"-->
70
+ <!-- :disabled="isDisabled"-->
71
+ <!-- v-model:playback-compression="playbackCompression"-->
72
+ <!-- />-->
73
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-streaming-mode-->
74
+ <!-- v-if="remoteConsoleType === 'spice'"-->
75
+ <!-- v-model:streaming-mode="streamingMode"-->
76
+ <!-- :error-validation-fields="props.errorValidationFields"-->
77
+ <!-- :disabled="isDisabled"-->
78
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
79
+ <!-- />-->
80
+ <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-copy-paste
81
+ v-if="remoteConsoleType === 'spice'"
82
+ v-model:copy-paste="copyPaste"
83
+ :disabled="isDisabled"
84
+ />
85
+ <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
86
+ <!-- <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-mouse-mode-->
87
+ <!-- v-if="remoteConsoleType === 'spice'"-->
88
+ <!-- v-model:mouse-mode="mouseMode"-->
89
+ <!-- />-->
90
+ <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-file-transfer
91
+ v-if="remoteConsoleType === 'spice'"
92
+ v-model:file-transfer="fileTransfer"
93
+ :disabled="isDisabled"
94
+ />
95
+ <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-usb-redirection
96
+ v-if="remoteConsoleType === 'spice'"
97
+ v-model:usb-redirection="usbRedirection"
98
+ :disabled="isDisabled"
99
+ />
100
+ <common-vm-actions-add-customize-hardware-vmoptions-remote-console-options-folder-sharing
101
+ v-if="remoteConsoleType === 'spice'"
102
+ v-model:folder-sharing="folderSharing"
103
+ :disabled="isDisabled"
104
+ />
105
+ </template>
106
+ </atoms-stack-block>
107
+ </div>
108
+ </template>
109
+
110
+ <script setup lang="ts">
111
+ import { UI_I_SendDataRemoteConsoleOptions } from '~/components/common/vm/actions/add/customizeHardware/vmoptions/models/interfaces'
112
+ import { UI_I_Localization } from '~/models/interfaces'
113
+ // import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
114
+
115
+ const props = defineProps<{
116
+ remoteConsoleOptions?: UI_I_SendDataRemoteConsoleOptions
117
+ // TODO возможно вернем, НЕ УДАЛЯТЬ
118
+ // errorValidationFields: UI_I_ErrorValidationField<string>[]
119
+ isEdit: boolean
120
+ state?: string | number
121
+ }>()
122
+ const emits = defineEmits<{
123
+ (event: 'send-data', value: UI_I_SendDataRemoteConsoleOptions): void
124
+ (event: 'invalid', value: boolean): void
125
+ // TODO возможно вернем, НЕ УДАЛЯТЬ
126
+ // (event: 'remove-error-by-title', value: string): void
127
+ }>()
128
+
129
+ const localization = computed<UI_I_Localization>(() => useLocal())
130
+
131
+ const isDisabled = computed<boolean>(() => props.isEdit && props.state !== 1)
132
+
133
+ const remoteConsoleType = ref<string>('spice')
134
+ // TODO возможно вернем, НЕ УДАЛЯТЬ
135
+ // const changeRemoteConsoleType = (): void => {
136
+ // // powerControl.value = false
137
+ // // sharePolicy.value = 'allow-exclusive'
138
+ // imgCompression.value = 'auto_glz'
139
+ // jpegCompression.value = 'auto'
140
+ // zlibCompression.value = 'auto'
141
+ // playbackCompression.value = true
142
+ // streamingMode.value = 'all'
143
+ // copyPaste.value = true
144
+ // mouseMode.value = 'client'
145
+ // fileTransfer.value = true
146
+ // usbRedirection.value = 3
147
+ // folderSharing.value = true
148
+ // }
149
+
150
+ const keymap = ref<string>('en_US')
151
+
152
+ const password = ref<string>('')
153
+ const passwordIsValid = ref<boolean>(true)
154
+
155
+ // const powerControl = ref<boolean>(false)
156
+
157
+ // const sharePolicy = ref<string>('allow-exclusive')
158
+
159
+ const imgCompression = ref<string>('auto_glz')
160
+
161
+ const jpegCompression = ref<string>('auto')
162
+
163
+ const zlibCompression = ref<string>('auto')
164
+
165
+ const playbackCompression = ref<boolean>(true)
166
+
167
+ const streamingMode = ref<string>('all')
168
+
169
+ const copyPaste = ref<boolean>(true)
170
+
171
+ const mouseMode = ref<string>('client')
172
+
173
+ const fileTransfer = ref<boolean>(true)
174
+
175
+ const usbRedirection = ref<number>(3)
176
+
177
+ const folderSharing = ref<boolean>(true)
178
+
179
+ watch(
180
+ [
181
+ remoteConsoleType,
182
+ keymap,
183
+ password,
184
+ // powerControl,
185
+ // sharePolicy,
186
+ imgCompression,
187
+ jpegCompression,
188
+ zlibCompression,
189
+ playbackCompression,
190
+ streamingMode,
191
+ copyPaste,
192
+ mouseMode,
193
+ fileTransfer,
194
+ usbRedirection,
195
+ folderSharing,
196
+ ],
197
+ () => {
198
+ emits('send-data', {
199
+ type: remoteConsoleType.value,
200
+ port: 0,
201
+ keymap: keymap.value,
202
+ password: password.value,
203
+ guest_os_lock: false,
204
+ limit_sessions: 0,
205
+ spice: {
206
+ img_compression: imgCompression.value,
207
+ jpeg_compression: jpegCompression.value,
208
+ zlib_glz_compression: zlibCompression.value,
209
+ streaming_mode: streamingMode.value,
210
+ playback_compression: playbackCompression.value,
211
+ file_transfer: fileTransfer.value,
212
+ clipboard: copyPaste.value,
213
+ },
214
+ })
215
+ },
216
+ { immediate: true }
217
+ )
218
+
219
+ // Добавляем данные для редактирования
220
+ watch(
221
+ () => props.remoteConsoleOptions,
222
+ (newValue) => {
223
+ if (!newValue || !props.remoteConsoleOptions) return
224
+
225
+ remoteConsoleType.value = props.remoteConsoleOptions.type
226
+ keymap.value = props.remoteConsoleOptions.keymap
227
+ password.value = props.remoteConsoleOptions.password
228
+ imgCompression.value = props.remoteConsoleOptions.spice.img_compression
229
+ jpegCompression.value = props.remoteConsoleOptions.spice.jpeg_compression
230
+ zlibCompression.value =
231
+ props.remoteConsoleOptions.spice.zlib_glz_compression
232
+ streamingMode.value = props.remoteConsoleOptions.spice.streaming_mode
233
+ playbackCompression.value =
234
+ props.remoteConsoleOptions.spice.playback_compression
235
+ fileTransfer.value = props.remoteConsoleOptions.spice.file_transfer
236
+ copyPaste.value = props.remoteConsoleOptions.spice.clipboard
237
+ },
238
+ { immediate: true }
239
+ )
240
+
241
+ const remoteConsoleOptionsInvalid = computed<boolean>(
242
+ () => !passwordIsValid.value
243
+ )
244
+ watch(
245
+ remoteConsoleOptionsInvalid,
246
+ (newValue) => {
247
+ emits('invalid', newValue)
248
+ },
249
+ { immediate: true }
250
+ )
251
+ </script>
252
+
253
+ <style scoped lang="scss"></style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.1.92",
4
+ "version": "1.1.94",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",