bfg-common 1.5.64 → 1.5.66

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 (44) hide show
  1. package/assets/localization/local_be.json +11 -2
  2. package/assets/localization/local_en.json +11 -2
  3. package/assets/localization/local_hy.json +11 -2
  4. package/assets/localization/local_kk.json +11 -2
  5. package/assets/localization/local_ru.json +11 -2
  6. package/assets/localization/local_zh.json +11 -2
  7. package/components/common/accordion/Recursion.vue +6 -6
  8. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/lib/utils/optionsActions.ts +5 -1
  9. package/components/common/monitor/advanced/tools/lib/config/advancedToolbar.ts +21 -5
  10. package/components/common/vm/actions/add/Add.vue +205 -194
  11. package/components/common/vm/actions/add/New.vue +485 -0
  12. package/components/common/vm/actions/add/Old.vue +371 -0
  13. package/components/common/vm/actions/add/{FolderTreeView.vue → folderTreeView/FolderTreeView.vue} +16 -27
  14. package/components/common/vm/actions/add/folderTreeView/New.vue +40 -0
  15. package/components/common/vm/actions/add/folderTreeView/Old.vue +50 -0
  16. package/components/common/vm/actions/add/lib/config/steps.ts +19 -3
  17. package/components/common/vm/actions/clone/toTemplate/ToTemplate.vue +29 -37
  18. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +5 -5
  19. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +3 -3
  20. package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +21 -83
  21. package/components/common/vm/actions/common/select/compatibility/New.vue +165 -0
  22. package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -0
  23. package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +45 -75
  24. package/components/common/vm/actions/common/select/computeResource/New.vue +141 -0
  25. package/components/common/vm/actions/common/select/computeResource/Old.vue +99 -0
  26. package/components/common/vm/actions/common/select/computeResource/treeView/New.vue +44 -0
  27. package/components/common/vm/actions/common/select/computeResource/treeView/Old.vue +48 -0
  28. package/components/common/vm/actions/common/select/computeResource/{TreeView.vue → treeView/TreeView.vue} +28 -34
  29. package/components/common/vm/actions/common/select/createType/CreateType.vue +15 -51
  30. package/components/common/vm/actions/common/select/createType/New.vue +84 -0
  31. package/components/common/vm/actions/common/select/createType/Old.vue +70 -0
  32. package/components/common/vm/actions/common/select/createType/lib/config/items.ts +24 -4
  33. package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -0
  34. package/components/common/vm/actions/common/select/name/Name.vue +24 -93
  35. package/components/common/vm/actions/common/select/name/New.vue +246 -0
  36. package/components/common/vm/actions/common/select/name/Old.vue +119 -0
  37. package/components/common/vm/actions/common/select/storage/new/New.vue +116 -86
  38. package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +156 -3
  39. package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +6 -0
  40. package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -0
  41. package/components/common/vm/actions/common/select/template/Template.vue +2 -3
  42. package/components/common/vm/actions/common/select/template/TemplateTreeView.vue +1 -1
  43. package/package.json +1 -1
  44. /package/components/common/vm/actions/common/select/storage/{StorageOld.vue → Old.vue} +0 -0
@@ -2335,7 +2335,8 @@
2335
2335
  "incompleteProcess": "Незавершаны працэс!",
2336
2336
  "incompleteProcessMessage": "Хочаце пакінуць гэтую старонку? Ваш прагрэс будзе страчаны, і вам трэба будзе пачаць спачатку.",
2337
2337
  "notAvailable": "Не даступны",
2338
- "strict": "Строгі"
2338
+ "strict": "Строгі",
2339
+ "incorrectOrMissingValuesBelow": "Ніжэй ёсць няправільныя альбо адсутнічаюць значэнні"
2339
2340
  },
2340
2341
  "auth": {
2341
2342
  "welcomeTo": "Сардэчна запрашаем у",
@@ -2994,7 +2995,15 @@
2994
2995
  "deployFromTemplate": "Разгарнуць з шаблона",
2995
2996
  "deployFromTemplateDescription": "Гэтая опцыя правядзе вас праз працэс стварэння віртуальнай машыны з шаблона. Шаблон — гэта эталонны вобраз віртуальнай машыны, які дазваляе лёгка ствараць гатовыя да выкарыстання віртуальныя машыны. Каб выкарыстоўваць гэтую опцыю, неабходна мець шаблон.",
2996
2997
  "selectTemplate": "Выберыце шаблон",
2997
- "selectValidTemplate": "Абярыце сапраўдны шаблон"
2998
+ "selectValidTemplate": "Абярыце сапраўдны шаблон",
2999
+ "howWouldYouLikeCreateVm": "How would you like to create a virtual machine?",
3000
+ "specifyUniqueNameAndTargetLocationForVm": "Specify a unique name and target location for the virtual machine.",
3001
+ "vmNameRules": "VM Name Rules",
3002
+ "selectDestinationComputeResourceForThisOperation": "Select the destination compute resource for this operation.",
3003
+ "storageCount": "Storages ({0})",
3004
+ "selectStorageForConfigurationDiskFiles": "Select the storage for the configuration and disk files.",
3005
+ "noStorageSelected": "No storage selected",
3006
+ "compatibilitySubTitle": "Select compatibility for this virtual machine depending on the host in your environment."
2998
3007
  },
2999
3008
  "feedback": {
3000
3009
  "additionalDetailsHelp": "Даведка па дадатковых звестках",
@@ -2339,7 +2339,8 @@
2339
2339
  "incompleteProcess": "Incomplete Process!",
2340
2340
  "incompleteProcessMessage": "Are you sure you want to leave this page? Your progress will be lost, and you’ll need to start over.",
2341
2341
  "notAvailable": "Not Available",
2342
- "strict": "Strict"
2342
+ "strict": "Strict",
2343
+ "incorrectOrMissingValuesBelow": "There are incorrect or missing values below"
2343
2344
  },
2344
2345
  "auth": {
2345
2346
  "welcomeTo": "Welcome to",
@@ -2998,7 +2999,15 @@
2998
2999
  "deployFromTemplate": "Deploy from template",
2999
3000
  "deployFromTemplateDescription": "This option guides you through the process of creating a virtual machine from a template. A template is a golden image of a virtual machine that lets you easily create ready-for-use virtual machines. You must have a template to proceed with this option.",
3000
3001
  "selectTemplate": "Select a template",
3001
- "selectValidTemplate": "Select a valid template"
3002
+ "selectValidTemplate": "Select a valid template",
3003
+ "howWouldYouLikeCreateVm": "How would you like to create a virtual machine?",
3004
+ "specifyUniqueNameAndTargetLocationForVm": "Specify a unique name and target location for the virtual machine.",
3005
+ "vmNameRules": "VM Name Rules",
3006
+ "selectDestinationComputeResourceForThisOperation": "Select the destination compute resource for this operation.",
3007
+ "storageCount": "Storages ({0})",
3008
+ "selectStorageForConfigurationDiskFiles": "Select the storage for the configuration and disk files.",
3009
+ "noStorageSelected": "No storage selected",
3010
+ "compatibilitySubTitle": "Select compatibility for this virtual machine depending on the host in your environment."
3002
3011
  },
3003
3012
  "feedback": {
3004
3013
  "additionalDetailsHelp": "Additional Details Help",
@@ -2339,7 +2339,8 @@
2339
2339
  "incompleteProcess": "Անավարտ գործընթաց",
2340
2340
  "incompleteProcessMessage": "Վստա՞հ եք, որ ցանկանում եք լքել այս էջը: Ձեր առաջընթացը կկորչի, և դուք պետք է նորից սկսեք:",
2341
2341
  "notAvailable": "Հասանելի չէ",
2342
- "strict": "Խիստ"
2342
+ "strict": "Խիստ",
2343
+ "incorrectOrMissingValuesBelow": "Ստորեւ կան սխալ կամ բացակայող արժեքներ"
2343
2344
  },
2344
2345
  "auth": {
2345
2346
  "welcomeTo": "Բարի գալուստ",
@@ -2998,7 +2999,15 @@
2998
2999
  "deployFromTemplate": "Տեղակայել կաղապարից",
2999
3000
  "deployFromTemplateDescription": "Այս տարբերակը ձեզ կներկայացնի վիրտուալ մեքենա ստեղծելու գործընթացը կաղապարի հիման վրա։ Կաղապարը վիրտուալ մեքենայի ոսկե պատճենն է, որը հնարավորություն է տալիս հեշտությամբ ստեղծել օգտագործման պատրաստ վիրտուալ մեքենաներ։ Այս տարբերակից օգտվելու համար անհրաժեշտ է ունենալ կաղապար։",
3000
3001
  "selectTemplate": "Ընտրել կաղապարը",
3001
- "selectValidTemplate": "Ընտրեք վավեր ձեւանմուշ"
3002
+ "selectValidTemplate": "Ընտրեք վավեր ձեւանմուշ",
3003
+ "howWouldYouLikeCreateVm": "How would you like to create a virtual machine?",
3004
+ "specifyUniqueNameAndTargetLocationForVm": "Specify a unique name and target location for the virtual machine.",
3005
+ "vmNameRules": "VM Name Rules",
3006
+ "selectDestinationComputeResourceForThisOperation": "Select the destination compute resource for this operation.",
3007
+ "storageCount": "Storages ({0})",
3008
+ "selectStorageForConfigurationDiskFiles": "Select the storage for the configuration and disk files.",
3009
+ "noStorageSelected": "No storage selected",
3010
+ "compatibilitySubTitle": "Select compatibility for this virtual machine depending on the host in your environment."
3002
3011
  },
3003
3012
  "feedback": {
3004
3013
  "additionalDetailsHelp": "Լրացուցիչ մանրամասներ Օգնություն",
@@ -2338,7 +2338,8 @@
2338
2338
  "incompleteProcess": "Аяқталмаған Процесс!",
2339
2339
  "incompleteProcessMessage": "Сіз бұл беттен кеткіңіз келетініне сенімдісіз бе? Сіздің жетістіктеріңіз жоғалады және сіз бәрін басынан бастауыңыз керек.",
2340
2340
  "notAvailable": "Жоқ",
2341
- "strict": "Қатал"
2341
+ "strict": "Қатал",
2342
+ "incorrectOrMissingValuesBelow": "Төменде дұрыс емес немесе жоқ мәндер бар"
2342
2343
  },
2343
2344
  "auth": {
2344
2345
  "welcomeTo": "Қош келдіңіз",
@@ -2997,7 +2998,15 @@
2997
2998
  "deployFromTemplate": "Үлгіден орналастыру",
2998
2999
  "deployFromTemplateDescription": "Бұл параметр сізге виртуалды машинаны үлгі бойынша жасау процесінен өткізеді. Үлгі — бұл дайын виртуалды машиналарды оңай жасауға мүмкіндік беретін эталонды бейне. Бұл мүмкіндікті пайдалану үшін сізде үлгі болуы керек.",
2999
3000
  "selectTemplate": "Үлгіні таңдаңыз",
3000
- "selectValidTemplate": "Жарамды шаблонды таңдаңыз"
3001
+ "selectValidTemplate": "Жарамды шаблонды таңдаңыз",
3002
+ "howWouldYouLikeCreateVm": "How would you like to create a virtual machine?",
3003
+ "specifyUniqueNameAndTargetLocationForVm": "Specify a unique name and target location for the virtual machine.",
3004
+ "vmNameRules": "VM Name Rules",
3005
+ "selectDestinationComputeResourceForThisOperation": "Select the destination compute resource for this operation.",
3006
+ "storageCount": "Storages ({0})",
3007
+ "selectStorageForConfigurationDiskFiles": "Select the storage for the configuration and disk files.",
3008
+ "noStorageSelected": "No storage selected",
3009
+ "compatibilitySubTitle": "Select compatibility for this virtual machine depending on the host in your environment."
3001
3010
  },
3002
3011
  "feedback": {
3003
3012
  "additionalDetailsHelp": "Қосымша мәліметтер анықтамасы",
@@ -2340,7 +2340,8 @@
2340
2340
  "incompleteProcess": "Незавершенный процесс!",
2341
2341
  "incompleteProcessMessage": "Вы уверены, что хотите покинуть эту страницу? Ваш прогресс будет потерян, и вам нужно будет начать сначала.",
2342
2342
  "notAvailable": "Не доступен",
2343
- "strict": "Строгий"
2343
+ "strict": "Строгий",
2344
+ "incorrectOrMissingValuesBelow": "Есть неверные или отсутствующие значения ниже"
2344
2345
  },
2345
2346
  "auth": {
2346
2347
  "welcomeTo": "Добро пожаловать в",
@@ -3001,7 +3002,15 @@
3001
3002
  "deployFromTemplate": "Развернуть из шаблона",
3002
3003
  "deployFromTemplateDescription": "Эта опция проведет вас через процесс создания виртуальной машины из шаблона. Шаблон — это эталонный образ виртуальной машины, который позволяет легко создавать готовые к использованию виртуальные машины. Для использования этой опции у вас должен быть доступный шаблон.",
3003
3004
  "selectTemplate": "Выберите шаблон",
3004
- "selectValidTemplate": "Выберите действительный шаблон"
3005
+ "selectValidTemplate": "Выберите действительный шаблон",
3006
+ "howWouldYouLikeCreateVm": "How would you like to create a virtual machine?",
3007
+ "specifyUniqueNameAndTargetLocationForVm": "Specify a unique name and target location for the virtual machine.",
3008
+ "vmNameRules": "VM Name Rules",
3009
+ "selectDestinationComputeResourceForThisOperation": "Select the destination compute resource for this operation.",
3010
+ "storageCount": "Storages ({0})",
3011
+ "selectStorageForConfigurationDiskFiles": "Select the storage for the configuration and disk files.",
3012
+ "noStorageSelected": "No storage selected",
3013
+ "compatibilitySubTitle": "Select compatibility for this virtual machine depending on the host in your environment."
3005
3014
  },
3006
3015
  "feedback": {
3007
3016
  "additionalDetailsHelp": "Дополнительная информация Помощь",
@@ -2336,7 +2336,8 @@
2336
2336
  "incompleteProcess": "不完整的过程!",
2337
2337
  "incompleteProcessMessage": "你确定要离开这一页吗? 你的进步将丢失,你需要重新开始。",
2338
2338
  "notAvailable": "暂时没有",
2339
- "strict": "严格的"
2339
+ "strict": "严格的",
2340
+ "incorrectOrMissingValuesBelow": "下面有不正确或丢失的值"
2340
2341
  },
2341
2342
  "auth": {
2342
2343
  "welcomeTo": "欢迎来到",
@@ -2995,7 +2996,15 @@
2995
2996
  "deployFromTemplate": "从模板部署",
2996
2997
  "deployFromTemplateDescription": "此选项将引导您通过从模板创建虚拟机的过程。模板是虚拟机的标准映像,可帮助您轻松创建可立即使用的虚拟机。要使用此选项,您必须已有一个模板。",
2997
2998
  "selectTemplate": "选择模板",
2998
- "selectValidTemplate": "选择一个有效的模板"
2999
+ "selectValidTemplate": "选择一个有效的模板",
3000
+ "howWouldYouLikeCreateVm": "How would you like to create a virtual machine?",
3001
+ "specifyUniqueNameAndTargetLocationForVm": "Specify a unique name and target location for the virtual machine.",
3002
+ "vmNameRules": "VM Name Rules",
3003
+ "selectDestinationComputeResourceForThisOperation": "Select the destination compute resource for this operation.",
3004
+ "storageCount": "Storages ({0})",
3005
+ "selectStorageForConfigurationDiskFiles": "Select the storage for the configuration and disk files.",
3006
+ "noStorageSelected": "No storage selected",
3007
+ "compatibilitySubTitle": "Select compatibility for this virtual machine depending on the host in your environment."
2999
3008
  },
3000
3009
  "feedback": {
3001
3010
  "additionalDetailsHelp": "其他详细信息帮助",
@@ -185,12 +185,12 @@ const onSelect = (item: UI_I_AccordionRecursion): void => {
185
185
  }
186
186
  }
187
187
  }
188
- &:hover:not(:has(> .disabled)) {
189
- @extend %hover-effect;
190
- }
191
- &:has(> .disabled) {
192
- cursor: not-allowed;
193
- }
188
+ }
189
+ &:hover:not(:has(> .disabled)) {
190
+ @extend %hover-effect;
191
+ }
192
+ &:has(> .disabled) {
193
+ cursor: not-allowed;
194
194
  }
195
195
  }
196
196
  &__content {
@@ -19,8 +19,12 @@ export const chartOptionItems = (
19
19
  },
20
20
  ]
21
21
  names.forEach((name) => {
22
+ let currentText = name
23
+ if (name === 'custom') {
24
+ currentText = localization.common.custom
25
+ }
22
26
  mainOptionsNames.push({
23
- text: name,
27
+ text: currentText,
24
28
  value: name,
25
29
  })
26
30
  })
@@ -49,10 +49,16 @@ export const viewFunc = (
49
49
  ): UI_I_OptionItem[] => {
50
50
  const viewData: UI_I_OptionData = {
51
51
  zone: [
52
- { text: localization.inventoryMonitor.cpuUsageInPercent, value: 'cpuUsageInPercent' },
52
+ {
53
+ text: localization.inventoryMonitor.cpuUsageInPercent,
54
+ value: 'cpuUsageInPercent',
55
+ },
53
56
  ],
54
57
  cluster: [
55
- { text: localization.inventoryMonitor.cpuUsageInPercent, value: 'cpuUsageInPercent' },
58
+ {
59
+ text: localization.inventoryMonitor.cpuUsageInPercent,
60
+ value: 'cpuUsageInPercent',
61
+ },
56
62
  ],
57
63
  datacenter: [
58
64
  {
@@ -61,7 +67,10 @@ export const viewFunc = (
61
67
  },
62
68
  ],
63
69
  host: [
64
- { text: localization.inventoryMonitor.cpuUsageInPercent, value: 'cpuUsageInPercent' },
70
+ {
71
+ text: localization.inventoryMonitor.cpuUsageInPercent,
72
+ value: 'cpuUsageInPercent',
73
+ },
65
74
  // { text: localization.common.datastore, value: 'datastore' },
66
75
  { text: localization.common.memory, value: 'memory' },
67
76
  { text: localization.common.disk, value: 'disk' },
@@ -76,7 +85,10 @@ export const viewFunc = (
76
85
  // },
77
86
  ],
78
87
  vm: [
79
- { text: localization.inventoryMonitor.cpuUsageInPercent, value: 'cpuUsageInPercent' },
88
+ {
89
+ text: localization.inventoryMonitor.cpuUsageInPercent,
90
+ value: 'cpuUsageInPercent',
91
+ },
80
92
  // { text: localization.inventoryMonitor.cpuUsageInMhz, value: 'cpuUsageInMhz' },
81
93
  // { text: localization.common.cpuReady, value: 'cpuReady' },
82
94
  // { text: localization.common.datastore, value: 'datastore' },
@@ -91,8 +103,12 @@ export const viewFunc = (
91
103
 
92
104
  if (optionsNames) {
93
105
  optionsNames.forEach((item) => {
106
+ let currentText = item
107
+ if (item === 'custom') {
108
+ currentText = localization.common.custom
109
+ }
94
110
  currentOptions.push({
95
- text: item,
111
+ text: currentText,
96
112
  value: item,
97
113
  })
98
114
  })