bfg-common 1.4.88 → 1.4.90

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 (37) hide show
  1. package/assets/localization/local_be.json +4 -0
  2. package/assets/localization/local_en.json +4 -0
  3. package/assets/localization/local_hy.json +4 -0
  4. package/assets/localization/local_kk.json +4 -0
  5. package/assets/localization/local_ru.json +4 -0
  6. package/assets/localization/local_zh.json +4 -0
  7. package/components/atoms/modal/bySteps/BySteps.vue +253 -253
  8. package/components/atoms/stack/StackBlock.vue +184 -184
  9. package/components/common/browse/blocks/Title.vue +91 -91
  10. package/components/common/browse/blocks/info/Date.vue +21 -21
  11. package/components/common/context/recursion/Recursion.vue +86 -86
  12. package/components/common/context/recursion/RecursionNew.vue +198 -198
  13. package/components/common/context/recursion/RecursionOld.vue +212 -212
  14. package/components/common/layout/theHeader/TheHeaderNew.vue +81 -36
  15. package/components/common/layout/theHeader/ThemeSwitch.vue +36 -9
  16. package/components/common/layout/theHeader/helpMenu/helpMenuNew/HelpMenuNew.vue +35 -16
  17. package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +32 -13
  18. package/components/common/split/horizontal/HorizontalNew.vue +321 -321
  19. package/components/common/vm/actions/add/Add.vue +609 -609
  20. package/components/common/vm/actions/clone/Clone.vue +522 -522
  21. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +151 -156
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/lib/config/options.ts +20 -20
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +403 -403
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +99 -99
  25. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -85
  26. package/components/common/vm/actions/common/lib/config/capabilities.ts +0 -1
  27. package/components/common/vm/actions/common/lib/models/interfaces.ts +148 -149
  28. package/components/common/vm/actions/common/lib/utils/capabilities.ts +41 -51
  29. package/components/common/vm/actions/common/select/lib/models/interfaces.ts +33 -34
  30. package/components/common/vm/actions/common/select/os/os.vue +227 -227
  31. package/components/common/vm/actions/editSettings/EditSettings.vue +327 -327
  32. package/composables/productNameLocal.ts +30 -30
  33. package/package.json +2 -2
  34. package/plugins/recursion.ts +311 -311
  35. package/public/spice-console/lib/images/bitmap.js +203 -203
  36. package/public/spice-console-minify/run.min.js +4 -4
  37. package/store/tasks/mappers/recentTasks.ts +45 -45
@@ -1,99 +1,99 @@
1
- <template>
2
- <div class="">
3
- <atoms-stack-block :has-children="false">
4
- <template #stackBlockKey>
5
- {{ localization.common.hardwareVirtualization }}
6
- </template>
7
- <template #stackBlockContent>
8
- <div class="flex-space-between">
9
- <div class="flex-align-center">
10
- <input
11
- id="expose-hardware-assisted-virtualization"
12
- v-model="hardwareVirtualizationLocal"
13
- data-id="expose-hardware-assisted-virtualization"
14
- type="checkbox"
15
- disabled
16
- />
17
- <label
18
- for="expose-hardware-assisted-virtualization"
19
- :class="['label-text-normal', { 'div-disabled': true }]"
20
- >{{
21
- localization.common.exposeHardwareAssistedVirtualizationGuestOs
22
- }}</label
23
- >
24
- </div>
25
-
26
- <div id="hv-help-icon">
27
- <atoms-the-icon
28
- fill="#0072a3"
29
- width="24px"
30
- height="24px"
31
- name="info-circle"
32
- data-id="show-hv-help-icon"
33
- @click.stop="isShowHvHelp = !isShowHvHelp"
34
- />
35
- <Teleport to="body">
36
- <atoms-tooltip-signpost
37
- v-if="isShowHvHelp"
38
- elem-id="hv-help-icon"
39
- @hide="isShowHvHelp = false"
40
- >
41
- <h3 class="hv-help-title">
42
- {{ localization.mainNavigation.help }}
43
- </h3>
44
-
45
- <p class="hv-help-text">
46
- {{
47
- localization.common.hardwareVirtualizationHelpDescription
48
- }}
49
- </p>
50
- </atoms-tooltip-signpost>
51
- </Teleport>
52
- </div>
53
- </div>
54
- </template>
55
- </atoms-stack-block>
56
- </div>
57
- </template>
58
-
59
- <script setup lang="ts">
60
- import type { UI_I_Localization } from '~/lib/models/interfaces'
61
-
62
- const localization = computed<UI_I_Localization>(() => useLocal())
63
-
64
- const props = defineProps<{
65
- hardwareVirtualization: boolean
66
- }>()
67
- const emits = defineEmits<{
68
- (event: 'update:hardware-virtualization', value: boolean): boolean
69
- }>()
70
-
71
- const hardwareVirtualizationLocal = computed<boolean>({
72
- get() {
73
- return props.hardwareVirtualization
74
- },
75
- set(newValue) {
76
- emits('update:hardware-virtualization', newValue)
77
- },
78
- })
79
-
80
- const isShowHvHelp = ref<boolean>(false)
81
- </script>
82
-
83
- <style scoped lang="scss">
84
- #expose-hardware-assisted-virtualization {
85
- margin: 4px 4px 0 0;
86
- }
87
-
88
- h3.hv-help-title {
89
- margin-top: 7px;
90
- font-size: 22px;
91
- color: #565656;
92
- }
93
- p.hv-help-text {
94
- width: 310px;
95
- margin-top: 24px;
96
- font-size: 14px;
97
- color: #565656;
98
- }
99
- </style>
1
+ <template>
2
+ <div class="">
3
+ <atoms-stack-block :has-children="false">
4
+ <template #stackBlockKey>
5
+ {{ localization.common.hardwareVirtualization }}
6
+ </template>
7
+ <template #stackBlockContent>
8
+ <div class="flex-space-between">
9
+ <div class="flex-align-center">
10
+ <input
11
+ id="expose-hardware-assisted-virtualization"
12
+ v-model="hardwareVirtualizationLocal"
13
+ data-id="expose-hardware-assisted-virtualization"
14
+ type="checkbox"
15
+ disabled
16
+ />
17
+ <label
18
+ for="expose-hardware-assisted-virtualization"
19
+ :class="['label-text-normal', { 'div-disabled': true }]"
20
+ >{{
21
+ localization.common.exposeHardwareAssistedVirtualizationGuestOs
22
+ }}</label
23
+ >
24
+ </div>
25
+
26
+ <div id="hv-help-icon">
27
+ <atoms-the-icon
28
+ fill="#0072a3"
29
+ width="24px"
30
+ height="24px"
31
+ name="info-circle"
32
+ data-id="show-hv-help-icon"
33
+ @click.stop="isShowHvHelp = !isShowHvHelp"
34
+ />
35
+ <Teleport to="body">
36
+ <atoms-tooltip-signpost
37
+ v-if="isShowHvHelp"
38
+ elem-id="hv-help-icon"
39
+ @hide="isShowHvHelp = false"
40
+ >
41
+ <h3 class="hv-help-title">
42
+ {{ localization.mainNavigation.help }}
43
+ </h3>
44
+
45
+ <p class="hv-help-text">
46
+ {{
47
+ localization.common.hardwareVirtualizationHelpDescription
48
+ }}
49
+ </p>
50
+ </atoms-tooltip-signpost>
51
+ </Teleport>
52
+ </div>
53
+ </div>
54
+ </template>
55
+ </atoms-stack-block>
56
+ </div>
57
+ </template>
58
+
59
+ <script setup lang="ts">
60
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
61
+
62
+ const localization = computed<UI_I_Localization>(() => useLocal())
63
+
64
+ const props = defineProps<{
65
+ hardwareVirtualization: boolean
66
+ }>()
67
+ const emits = defineEmits<{
68
+ (event: 'update:hardware-virtualization', value: boolean): boolean
69
+ }>()
70
+
71
+ const hardwareVirtualizationLocal = computed<boolean>({
72
+ get() {
73
+ return props.hardwareVirtualization
74
+ },
75
+ set(newValue) {
76
+ emits('update:hardware-virtualization', newValue)
77
+ },
78
+ })
79
+
80
+ const isShowHvHelp = ref<boolean>(false)
81
+ </script>
82
+
83
+ <style scoped lang="scss">
84
+ #expose-hardware-assisted-virtualization {
85
+ margin: 4px 4px 0 0;
86
+ }
87
+
88
+ h3.hv-help-title {
89
+ margin-top: 7px;
90
+ font-size: 22px;
91
+ color: #565656;
92
+ }
93
+ p.hv-help-text {
94
+ width: 310px;
95
+ margin-top: 24px;
96
+ font-size: 14px;
97
+ color: #565656;
98
+ }
99
+ </style>
@@ -1,85 +1,85 @@
1
- <template>
2
- <div class="">
3
- <atoms-stack-block :has-children="false">
4
- <template #stackBlockKey>
5
- {{ localization.common.streamingMode }}
6
- </template>
7
- <template #stackBlockContent>
8
- <atoms-tooltip-error
9
- :has-error="!!apiError"
10
- selector="#vm-wizard-streaming-mode-field"
11
- @remove="onRemoveValidationError"
12
- >
13
- <template #elem>
14
- <div class="select">
15
- <select
16
- id="vm-wizard-streaming-mode-field"
17
- v-model="streamingModeLocal"
18
- data-id="vm-wizard-streaming-mode-select"
19
- :disabled="props.disabled"
20
- >
21
- <option
22
- v-for="(item, key) in streamingModeOptions"
23
- :key="key"
24
- :value="item.value"
25
- >
26
- {{ item.text }}
27
- </option>
28
- </select>
29
- </div>
30
- </template>
31
- <template #content>
32
- {{ apiError }}
33
- </template>
34
- </atoms-tooltip-error>
35
- </template>
36
- </atoms-stack-block>
37
- </div>
38
- </template>
39
-
40
- <script setup lang="ts">
41
- import type { UI_I_Localization } from '~/lib/models/interfaces'
42
- import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
43
- import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
44
- import { streamingModeOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config'
45
-
46
- const localization = computed<UI_I_Localization>(() => useLocal())
47
-
48
- const props = defineProps<{
49
- streamingMode: string
50
- errorValidationFields: UI_I_ErrorValidationField[]
51
- disabled: boolean
52
- }>()
53
- const emits = defineEmits<{
54
- (event: 'update:streaming-mode', value: string): void
55
- (event: 'remove-error-by-title', value: string): void
56
- }>()
57
-
58
- const streamingModeOptions = ref<UI_I_OptionItem[]>(
59
- streamingModeOptionsFunc(localization.value)
60
- )
61
-
62
- const streamingModeLocal = computed<string>({
63
- get() {
64
- return props.streamingMode
65
- },
66
- set(newValue) {
67
- emits('update:streaming-mode', newValue)
68
- },
69
- })
70
-
71
- const typeError = 'options.remote_console.spice.streaming_mode'
72
-
73
- const apiError = computed<string>(() => {
74
- return (
75
- props.errorValidationFields?.find((message) => message.field === typeError)
76
- ?.error_message || ''
77
- )
78
- })
79
-
80
- const onRemoveValidationError = (): void => {
81
- emits('remove-error-by-title', typeError)
82
- }
83
- </script>
84
-
85
- <style scoped></style>
1
+ <template>
2
+ <div class="">
3
+ <atoms-stack-block :has-children="false">
4
+ <template #stackBlockKey>
5
+ {{ localization.common.streamingMode }}
6
+ </template>
7
+ <template #stackBlockContent>
8
+ <atoms-tooltip-error
9
+ :has-error="!!apiError"
10
+ selector="#vm-wizard-streaming-mode-field"
11
+ @remove="onRemoveValidationError"
12
+ >
13
+ <template #elem>
14
+ <div class="select">
15
+ <select
16
+ id="vm-wizard-streaming-mode-field"
17
+ v-model="streamingModeLocal"
18
+ data-id="vm-wizard-streaming-mode-select"
19
+ :disabled="props.disabled"
20
+ >
21
+ <option
22
+ v-for="(item, key) in streamingModeOptions"
23
+ :key="key"
24
+ :value="item.value"
25
+ >
26
+ {{ item.text }}
27
+ </option>
28
+ </select>
29
+ </div>
30
+ </template>
31
+ <template #content>
32
+ {{ apiError }}
33
+ </template>
34
+ </atoms-tooltip-error>
35
+ </template>
36
+ </atoms-stack-block>
37
+ </div>
38
+ </template>
39
+
40
+ <script setup lang="ts">
41
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
42
+ import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
43
+ import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
44
+ import { streamingModeOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config'
45
+
46
+ const localization = computed<UI_I_Localization>(() => useLocal())
47
+
48
+ const props = defineProps<{
49
+ streamingMode: string
50
+ errorValidationFields: UI_I_ErrorValidationField[]
51
+ disabled: boolean
52
+ }>()
53
+ const emits = defineEmits<{
54
+ (event: 'update:streaming-mode', value: string): void
55
+ (event: 'remove-error-by-title', value: string): void
56
+ }>()
57
+
58
+ const streamingModeOptions = ref<UI_I_OptionItem[]>(
59
+ streamingModeOptionsFunc(localization.value)
60
+ )
61
+
62
+ const streamingModeLocal = computed<string>({
63
+ get() {
64
+ return props.streamingMode
65
+ },
66
+ set(newValue) {
67
+ emits('update:streaming-mode', newValue)
68
+ },
69
+ })
70
+
71
+ const typeError = 'options.remote_console.spice.streaming_mode'
72
+
73
+ const apiError = computed<string>(() => {
74
+ return (
75
+ props.errorValidationFields?.find((message) => message.field === typeError)
76
+ ?.error_message || ''
77
+ )
78
+ })
79
+
80
+ const onRemoveValidationError = (): void => {
81
+ emits('remove-error-by-title', typeError)
82
+ }
83
+ </script>
84
+
85
+ <style scoped></style>
@@ -339,7 +339,6 @@ export const capabilities: UI_I_Compatibility = {
339
339
  ],
340
340
  },
341
341
  bus: {},
342
- cdromBus: {},
343
342
  maxCpus: 140,
344
343
  maxMemory: 262144, // 256 GB
345
344
  }