bfg-common 1.3.292 → 1.3.294

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.
@@ -363,7 +363,7 @@ export default class Wizard {
363
363
  return { ...st, status: UI_E_WIZARD_STATUS.SELECTED }
364
364
 
365
365
  // TODO Было сделано на скорую руку
366
- if (st.id > stepId && st.status === UI_E_WIZARD_STATUS.ACTIVE)
366
+ if (st.id > stepId && st.status === UI_E_WIZARD_STATUS.SELECTED)
367
367
  return { ...st, status: UI_E_WIZARD_STATUS.COMPLETED }
368
368
 
369
369
  return st
@@ -523,9 +523,7 @@ const validateSendData = async (
523
523
  if (data) {
524
524
  stepHasError = true
525
525
  selectedNavItem.value = data[0]
526
- console.log(data[1], 1111);
527
526
  data[1] !== null && wizard.selectStepHard(data[1])
528
- // data[1] !== null && (stepPosition.value = data[1])
529
527
  }
530
528
 
531
529
  return {
@@ -1,5 +1,34 @@
1
1
  export enum UI_E_FieldsSphere {
2
- 'compute_resource' = 2,
2
+ 'compute_resource' = 3,
3
+ 'storage.id' = 4,
4
+ 'storage.name' = 4,
5
+ 'storage.type' = 4,
6
+ 'storage.pool' = 4,
7
+ 'compatibility' = 5,
8
+ 'guest_os_family' = 6,
9
+ 'guest_os_version' = 6,
10
+ 'machine_type' = 6,
11
+ 'cpu.vcpus' = 7,
12
+ 'cpu.max_vcpus' = 7,
13
+ 'cpu.shares' = 7,
14
+ 'cpu.core_per_socket' = 7,
15
+ 'cpu.model' = 7,
16
+ 'memory.size_mb' = 7,
17
+ 'memory.limit_mb' = 7,
18
+ 'memory.reservation_mb' = 7,
19
+ 'video_card.adapter' = 7,
20
+ 'video_card.displays' = 7,
21
+ 'video_card.memory_mb' = 7,
22
+ 'options.remote_console.type' = 7,
23
+ 'options.remote_console.spice.img_compression' = 7,
24
+ 'options.remote_console.spice.jpeg_compression' = 7,
25
+ 'options.remote_console.spice.zlib_glz_compression' = 7,
26
+ 'options.remote_console.spice.streaming_mode' = 7,
27
+ 'options.boot_options.firmware' = 7,
28
+ 'disk_devices' = 7,
29
+ 'network_devices' = 7,
30
+ }
31
+ export enum UI_E_FieldsProcurator {
3
32
  'storage.id' = 3,
4
33
  'storage.name' = 3,
5
34
  'storage.type' = 3,
@@ -8,54 +37,25 @@ export enum UI_E_FieldsSphere {
8
37
  'guest_os_family' = 5,
9
38
  'guest_os_version' = 5,
10
39
  'machine_type' = 5,
11
- 'cpu.vcpus' = 6,
12
- 'cpu.max_vcpus' = 6,
13
- 'cpu.shares' = 6,
14
- 'cpu.core_per_socket' = 6,
15
- 'cpu.model' = 6,
16
- 'memory.size_mb' = 6,
17
- 'memory.limit_mb' = 6,
18
- 'memory.reservation_mb' = 6,
19
- 'video_card.adapter' = 6,
20
- 'video_card.displays' = 6,
21
- 'video_card.memory_mb' = 6,
22
- 'options.remote_console.type' = 6,
23
- 'options.remote_console.spice.img_compression' = 6,
24
- 'options.remote_console.spice.jpeg_compression' = 6,
25
- 'options.remote_console.spice.zlib_glz_compression' = 6,
26
- 'options.remote_console.spice.streaming_mode' = 6,
27
- 'options.boot_options.firmware' = 6,
28
- 'disk_devices' = 6,
29
- 'network_devices' = 6,
30
- }
31
- export enum UI_E_FieldsProcurator {
32
- 'storage.id' = 2,
33
- 'storage.name' = 2,
34
- 'storage.type' = 2,
35
- 'storage.pool' = 2,
36
- 'compatibility' = 3,
37
- 'guest_os_family' = 4,
38
- 'guest_os_version' = 4,
39
- 'machine_type' = 4,
40
- 'cpu.vcpus' = 5,
41
- 'cpu.max_vcpus' = 5,
42
- 'cpu.shares' = 5,
43
- 'cpu.core_per_socket' = 5,
44
- 'cpu.model' = 5,
45
- 'memory.size_mb' = 5,
46
- 'memory.limit_mb' = 5,
47
- 'memory.reservation_mb' = 5,
48
- 'video_card.adapter' = 5,
49
- 'video_card.displays' = 5,
50
- 'video_card.memory_mb' = 5,
51
- 'options.remote_console.type' = 5,
52
- 'options.remote_console.spice.img_compression' = 5,
53
- 'options.remote_console.spice.jpeg_compression' = 5,
54
- 'options.remote_console.spice.zlib_glz_compression' = 5,
55
- 'options.remote_console.spice.streaming_mode' = 5,
56
- 'options.boot_options.firmware' = 5,
57
- 'disk_devices' = 5,
58
- 'network_devices' = 5,
40
+ 'cpu.vcpus' = 4,
41
+ 'cpu.max_vcpus' = 4,
42
+ 'cpu.shares' = 4,
43
+ 'cpu.core_per_socket' = 4,
44
+ 'cpu.model' = 4,
45
+ 'memory.size_mb' = 4,
46
+ 'memory.limit_mb' = 4,
47
+ 'memory.reservation_mb' = 4,
48
+ 'video_card.adapter' = 4,
49
+ 'video_card.displays' = 4,
50
+ 'video_card.memory_mb' = 4,
51
+ 'options.remote_console.type' = 4,
52
+ 'options.remote_console.spice.img_compression' = 4,
53
+ 'options.remote_console.spice.jpeg_compression' = 4,
54
+ 'options.remote_console.spice.zlib_glz_compression' = 4,
55
+ 'options.remote_console.spice.streaming_mode' = 4,
56
+ 'options.boot_options.firmware' = 4,
57
+ 'disk_devices' = 4,
58
+ 'network_devices' = 4,
59
59
  }
60
60
 
61
61
  // TODO remove because not used
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.292",
4
+ "version": "1.3.294",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",