bfg-common 1.5.136 → 1.5.138

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 (22) hide show
  1. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  2. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  3. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  4. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  5. package/assets/localization/local_be.json +3093 -3093
  6. package/assets/localization/local_en.json +3097 -3097
  7. package/assets/localization/local_hy.json +3097 -3097
  8. package/assets/localization/local_kk.json +3096 -3096
  9. package/assets/localization/local_ru.json +3098 -3098
  10. package/assets/localization/local_zh.json +3094 -3094
  11. package/components/atoms/table/compact/Compact.vue +4 -1
  12. package/components/atoms/table/dataGrid/DataGrid.vue +1 -1
  13. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1040 -1040
  14. package/components/common/vm/actions/add/Add.vue +785 -785
  15. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +8 -3
  16. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +8 -3
  17. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/lib/config/options.ts +11 -8
  18. package/components/common/vm/actions/common/lib/config/capabilities.ts +363 -362
  19. package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +1 -4
  20. package/components/common/wizards/vm/migrate/select/storage/configure/batch/Batch.vue +1 -1
  21. package/components/common/wizards/vm/migrate/select/storage/configure/batch/config/virtualDiskFormat.ts +6 -5
  22. package/package.json +1 -1
@@ -59,10 +59,7 @@ const versionDescription = computed<string>(() => {
59
59
  if (!selectedVersion.value) return ''
60
60
 
61
61
  const version = selectedVersion.value.value.split('-')[1]
62
- const text = selectedVersion.value.text.replace(
63
- 'and later',
64
- localization.value.common.andLater
65
- )
62
+ const text = selectedVersion.value.text
66
63
 
67
64
  if (selectedVersion.value === versions.value.at(-1)) {
68
65
  return localization.value.common.virtualMachineUsesHardwareVersionAvailable
@@ -43,7 +43,7 @@ const model = defineModel<UI_I_MigrateFormLocal>({ required: true })
43
43
  const localization = computed<UI_I_Localization>(() => useLocal())
44
44
 
45
45
  const virtualDiskFormatOptions = computed<UI_I_SelectInputItem[]>(() =>
46
- virtualDiskFormatOptionsFunc()
46
+ virtualDiskFormatOptionsFunc(localization.value)
47
47
  )
48
48
  </script>
49
49
 
@@ -1,27 +1,28 @@
1
1
  import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/models/interfaces'
2
+ import type {UI_I_Localization} from "~/lib/models/interfaces";
2
3
 
3
- export const virtualDiskFormatOptionsFunc = (): UI_I_SelectInputItem[] => {
4
+ export const virtualDiskFormatOptionsFunc = (localization: UI_I_Localization): UI_I_SelectInputItem[] => {
4
5
  return [
5
6
  {
6
- label: 'Same Format as source',
7
+ label: localization.common.sameFormatAsSource,
7
8
  value: 0,
8
9
  testId: 'migrate-disk-format-same-as-source',
9
10
  // value: 'same-format-source',
10
11
  },
11
12
  {
12
- label: 'Thick Provision Lazy Zeroed',
13
+ label: localization.common.thickProvisionLazyZeroed,
13
14
  value: 2,
14
15
  testId: 'migrate-disk-format-thick-provision-lazy-zeroed',
15
16
  // value: 'thick-provision-lazy-zeroed',
16
17
  },
17
18
  {
18
- label: 'Thick Provision Eager Zeroed',
19
+ label: localization.common.thickProvisionEagerZeroed,
19
20
  value: 3,
20
21
  testId: 'migrate-disk-format-thick-provision-eager-zeroed',
21
22
  // value: 'thick-provision-eager-zeroed',
22
23
  },
23
24
  {
24
- label: 'Thin Provision',
25
+ label: localization.common.thinProvision,
25
26
  value: 1,
26
27
  testId: 'migrate-disk-format-thin-provision',
27
28
  // value: 'thin-provision',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.136",
4
+ "version": "1.5.138",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",