bfg-common 1.5.182 → 1.5.184

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 (19) hide show
  1. package/assets/localization/local_be.json +5 -0
  2. package/assets/localization/local_en.json +5 -0
  3. package/assets/localization/local_hy.json +5 -0
  4. package/assets/localization/local_kk.json +5 -0
  5. package/assets/localization/local_ru.json +5 -0
  6. package/assets/localization/local_zh.json +5 -0
  7. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +16 -71
  8. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +0 -9
  9. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +10 -3
  10. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalNew.vue +51 -3
  11. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/New.vue +14 -1
  12. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/Table.vue +1 -0
  13. package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +4 -1
  14. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +5 -0
  15. package/components/common/vm/actions/common/lib/config/capabilities.ts +4 -4
  16. package/components/common/vm/actions/common/select/storage/Storage.vue +8 -0
  17. package/components/common/vm/actions/common/select/storage/new/New.vue +10 -1
  18. package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +14 -6
  19. package/package.json +2 -2
@@ -1436,6 +1436,7 @@
1436
1436
  "stopDirectConsoleUIService": "Спыніць службу інтэрфейсу Direct Console?",
1437
1437
  "stopTheService": "Спыніць службу",
1438
1438
  "storage": "Захоўванне",
1439
+ "storages": "Сховішчы",
1439
1440
  "storageAdapter": "Адаптар для захоўвання",
1440
1441
  "storageAdapters": "Адаптары для захоўвання дадзеных",
1441
1442
  "storageArrayTypePolicy": "Палітыка тыпу захоўвання",
@@ -2354,6 +2355,10 @@
2354
2355
  "compatibilityItem1": "Прокуратар 1.0.0 і больш познія версіі",
2355
2356
  "compatibilityItem2": "Гарызонт-VS 1.0.74 і больш познія версіі",
2356
2357
  "compatibilityItem3": "ESXi 6.7 і больш познія версіі",
2358
+ "guestOsVersionsItem1": "Іншае Linux (64-bit)",
2359
+ "guestOsVersionsItem2": "Іншае Linux (32-bit)",
2360
+ "guestOsVersionsItem3": "Іншае (64-bit)",
2361
+ "guestOsVersionsItem4": "Іншае (32-bit)",
2357
2362
  "associated": "Звязаны",
2358
2363
  "hostMonitoring": "Гаспадар мониторинг",
2359
2364
  "admissionControl": "Прыём кіраванне",
@@ -1435,6 +1435,7 @@
1435
1435
  "stopDirectConsoleUIService": "Stop Direct Console UI service?",
1436
1436
  "stopTheService": " Stop the service",
1437
1437
  "storage": "Storage",
1438
+ "storages": "Storages",
1438
1439
  "storageAdapter": "Storage Adapter",
1439
1440
  "storageAdapters": "Storage Adapters",
1440
1441
  "storageArrayTypePolicy": "Storage Type Policy",
@@ -2358,6 +2359,10 @@
2358
2359
  "compatibilityItem1": "Procurator 1.0.0 and later",
2359
2360
  "compatibilityItem2": "Gorizont-VS 1.0.74 and later",
2360
2361
  "compatibilityItem3": "ESXi 6.7 and later",
2362
+ "guestOsVersionsItem1": "Other Linux (64-bit)",
2363
+ "guestOsVersionsItem2": "Other Linux (32-bit)",
2364
+ "guestOsVersionsItem3": "Other (64-bit)",
2365
+ "guestOsVersionsItem4": "Other (32-bit)",
2361
2366
  "associated": "Associated",
2362
2367
  "hostMonitoring": "Host Monitoring",
2363
2368
  "admissionControl": "Admission Control",
@@ -1435,6 +1435,7 @@
1435
1435
  "stopDirectConsoleUIService": "Դադարեցնե՞լ Direct Console UI ծառայությունը",
1436
1436
  "stopTheService": "Դադարեցնել ծառայությունը",
1437
1437
  "storage": "պահեստավորում",
1438
+ "storages": "Պահոցներ",
1438
1439
  "storageAdapter": "Պահպանման ադապտեր",
1439
1440
  "storageAdapters": "Տվյալների պահպանման ադապտերներ",
1440
1441
  "storageArrayTypePolicy": "Պահպանման տեսակի քաղաքականություն",
@@ -2358,6 +2359,10 @@
2358
2359
  "compatibilityItem1": "Պրոկուրատոր 1.0.0 և ավելի ուշ տարբերակները",
2359
2360
  "compatibilityItem2": "Հորիզոն-VS 1.0.74 և ավելի ուշ տարբերակները",
2360
2361
  "compatibilityItem3": "ESXi 6.7 և ավելի ուշ տարբերակները",
2362
+ "guestOsVersionsItem1": "Այլ Linux (64-bit)",
2363
+ "guestOsVersionsItem2": "Այլ Linux (32-bit)",
2364
+ "guestOsVersionsItem3": "Այլ (64-bit)",
2365
+ "guestOsVersionsItem4": "Այլ (32-bit)",
2361
2366
  "associated": "Կապված",
2362
2367
  "hostMonitoring": "Հանգույցի մոնիտորինգ",
2363
2368
  "admissionControl": "Ընդունելության վերահսկում",
@@ -1435,6 +1435,7 @@
1435
1435
  "stopDirectConsoleUIService": "Тікелей консоль UI қызметін тоқтату керек пе?",
1436
1436
  "stopTheService": "Қызметті тоқтату",
1437
1437
  "storage": "сақтау",
1438
+ "storages": "Сақтағыштар",
1438
1439
  "storageAdapter": "Сақтау адаптері",
1439
1440
  "storageAdapters": "Деректерді сақтауға арналған адаптерлер",
1440
1441
  "storageArrayTypePolicy": "Сақтау түрі саясаты",
@@ -2357,6 +2358,10 @@
2357
2358
  "compatibilityItem1": "Прокуратор 1.0.0 және одан кейінгі нұсқалар",
2358
2359
  "compatibilityItem2": "Горизонт-VS 1.0.74 және одан кейінгі нұсқалар",
2359
2360
  "compatibilityItem3": "ESXi 6.7 және одан кейінгі нұсқалар",
2361
+ "guestOsVersionsItem1": "Басқа Linux (64-bit)",
2362
+ "guestOsVersionsItem2": "Басқа Linux (32-bit)",
2363
+ "guestOsVersionsItem3": "Басқа (64-bit)",
2364
+ "guestOsVersionsItem4": "Басқа (32-bit)",
2360
2365
  "associated": "Байланысты",
2361
2366
  "hostMonitoring": "Түйін бақылау",
2362
2367
  "admissionControl": "Қабылдау басқару",
@@ -1435,6 +1435,7 @@
1435
1435
  "stopDirectConsoleUIService": "Остановить службу пользовательского интерфейса Direct Console?",
1436
1436
  "stopTheService": " Остановить службу",
1437
1437
  "storage": "Хранилище",
1438
+ "storages": "Хранилища",
1438
1439
  "storageAdapter": "Адаптер хранения",
1439
1440
  "storageAdapters": "Адаптеры для хранения данных",
1440
1441
  "storageArrayTypePolicy": "Политика типа хранилища",
@@ -2357,6 +2358,10 @@
2357
2358
  "compatibilityItem1": "Прокуратор 1.0.0 и более поздние версии",
2358
2359
  "compatibilityItem2": "Горизонт-VS 1.0.74 и более поздние версии",
2359
2360
  "compatibilityItem3": "ESXi 6.7 и более поздние версии",
2361
+ "guestOsVersionsItem1": "Другой Linux (64-bit)",
2362
+ "guestOsVersionsItem2": "Другой Linux (32-bit)",
2363
+ "guestOsVersionsItem3": "Другой (64-bit)",
2364
+ "guestOsVersionsItem4": "Другой (32-bit)",
2360
2365
  "associated": "Связан",
2361
2366
  "hostMonitoring": "Мониторинг узла",
2362
2367
  "admissionControl": "Контроль приема",
@@ -1434,6 +1434,7 @@
1434
1434
  "stopDirectConsoleUIService": "停止直接控制台 UI 服務?",
1435
1435
  "stopTheService": "停止服務",
1436
1436
  "storage": "贮存",
1437
+ "storages": "多个存储",
1437
1438
  "storageAdapter": "存储适配器",
1438
1439
  "storageAdapters": "存储适配器",
1439
1440
  "storageArrayTypePolicy": "存储类型策略",
@@ -2355,6 +2356,10 @@
2355
2356
  "compatibilityItem1": "检察官 1.0.0及更高版本",
2356
2357
  "compatibilityItem2": "地平线-VS 1.0.74及更高版本",
2357
2358
  "compatibilityItem3": "ESXi 6.7及更高版本",
2359
+ "guestOsVersionsItem1": "其他 Linux (64-位)",
2360
+ "guestOsVersionsItem2": "其他 Linux (32-位)",
2361
+ "guestOsVersionsItem3": "其他 (64-位)",
2362
+ "guestOsVersionsItem4": "其他 (32-位)",
2358
2363
  "associated": "相关联",
2359
2364
  "hostMonitoring": "结 监控",
2360
2365
  "admissionControl": "入場費 控制",
@@ -211,74 +211,15 @@ const themeMode = useLocalStorage('themeMode')
211
211
  margin-top: 12px;
212
212
  }
213
213
  }
214
- //
215
- //.light-theme {
216
- // :deep(.stack-block-label .ui-main-select-toggle) {
217
- // background-color: #ffffff;
218
- // }
219
- // :deep(.stack-block-expanded > .stack-block-label .ui-main-select-toggle) {
220
- // background-color: #1b2a371f;
221
- // border-color: #e9ebed3d;
222
- //
223
- // .ui-arrow-icon {
224
- // color: #e9eaec;
225
- // }
226
- // }
227
- // :deep(.stack-block-expanded > .stack-block-label .combobox-input) {
228
- // color: #e9eaec;
229
- // }
230
- // :deep(.stack-block-expanded > .stack-block-label .ui-selected-text) {
231
- // color: #e9eaec;
232
- // }
233
- //
234
- // :deep(.stack-block-label .ui-main-input) {
235
- // background-color: #ffffff;
236
- // }
237
- // :deep(.stack-block-expanded > .stack-block-label .ui-main-input) {
238
- // background-color: #1b2a371f;
239
- // border-color: #e9ebed3d;
240
- // color: #e9eaec;
241
- // }
242
- //}
243
- //
244
- //.dark-theme {
245
- // :deep(.stack-block-label .ui-main-select-toggle) {
246
- // background-color: #1b2a371f;
247
- // }
248
- // :deep(.stack-block-expanded > .stack-block-label .ui-main-select-toggle) {
249
- // background-color: #ffffff;
250
- // border-color: #d3d6da;
251
- //
252
- // .ui-arrow-icon {
253
- // color: #182531;
254
- // }
255
- // }
256
- // :deep(.stack-block-expanded > .stack-block-label .combobox-input) {
257
- // color: #182531;
258
- // }
259
- // :deep(.stack-block-expanded > .stack-block-label .ui-selected-text) {
260
- // color: #182531;
261
- // }
262
- //
263
- // :deep(.stack-block-label .ui-main-input) {
264
- // background-color: #1b2a371f;
265
- // }
266
- // :deep(.stack-block-expanded > .stack-block-label .ui-main-input) {
267
- // background-color: #ffffff;
268
- // border-color: #d3d6da;
269
- // color: #182531;
270
- // }
271
- // :deep(.ui-select-toggle-button:disabled) {
272
- // background-color: linear-gradient(
273
- // 0deg,
274
- // rgba(189, 195, 199, 0.08) 0%,
275
- // rgba(189, 195, 199, 0.08) 100%
276
- // ),
277
- // rgba(27, 42, 55, 0.12);
278
- // border-color: #D3D6DA14;
279
- // color: #BDC3C770;
280
- // }
281
- //}
214
+
215
+ :deep(.stack-block .stack-block-label .stack-view-key) {
216
+ //flex: 0 0 280px;
217
+ max-width: 280px;
218
+ margin-right: 12px;
219
+ }
220
+ :deep(.stack-block .stack-block-label .stack-block-content) {
221
+ width: unset;
222
+ }
282
223
  </style>
283
224
  <style lang="scss">
284
225
  .light-theme {
@@ -287,12 +228,16 @@ const themeMode = useLocalStorage('themeMode')
287
228
  }
288
229
  .stack-block-expanded > .stack-block-label .ui-main-select-toggle {
289
230
  background-color: #1b2a371f;
290
- border-color: #e9ebed3d;
291
231
 
292
- .ui-arrow-icon {
293
- color: #e9eaec;
232
+ &:not(.open) {
233
+ border-color: #e9ebed3d;
234
+
235
+ .ui-arrow-icon {
236
+ color: #e9eaec;
237
+ }
294
238
  }
295
239
  }
240
+
296
241
  .stack-block-expanded > .stack-block-label .combobox-input {
297
242
  color: #e9eaec;
298
243
  }
@@ -477,13 +477,4 @@ const onAddDevice = (data: number): void => {
477
477
  padding-bottom: 12px;
478
478
  background-color: var(--vm-wizard-block-view-bg-color);
479
479
  }
480
-
481
- :deep(.stack-block .stack-block-label .stack-view-key) {
482
- //flex: 0 0 280px;
483
- max-width: 280px;
484
- margin-right: 12px;
485
- }
486
- :deep(.stack-block .stack-block-label .stack-block-content) {
487
- width: unset;
488
- }
489
480
  </style>
@@ -77,10 +77,10 @@ const isShowCpuHelp = ref<boolean>(false)
77
77
 
78
78
  <style>
79
79
  :root {
80
- --cpu-help-icon-color: #4d5d69;
80
+ --cpu-help-icon-hover-color: #4d5d69;
81
81
  }
82
82
  :root.dark-theme {
83
- --cpu-help-icon-color: #e9eaec;
83
+ --cpu-help-icon-hover-color: #e9eaec;
84
84
  }
85
85
  </style>
86
86
  <style lang="scss" scoped>
@@ -88,7 +88,7 @@ const isShowCpuHelp = ref<boolean>(false)
88
88
  color: #9da6ad; // for light and dark
89
89
 
90
90
  &:hover {
91
- color: var(--cpu-help-icon-color);
91
+ color: var(--cpu-help-icon-hover-color);
92
92
  }
93
93
  &.active {
94
94
  color: #008fd6;
@@ -128,3 +128,10 @@ const isShowCpuHelp = ref<boolean>(false)
128
128
  }
129
129
  }
130
130
  </style>
131
+ <style lang="scss">
132
+ .light-theme {
133
+ .stack-block-expanded {
134
+ --cpu-help-icon-hover-color: #e9eaec;
135
+ }
136
+ }
137
+ </style>
@@ -4,13 +4,21 @@
4
4
  show
5
5
  :title="localization.common.selectStorage"
6
6
  :texts="texts"
7
+ :is-disabled-accept="isDisabledAccept"
7
8
  test-id="storage-modal-new"
8
9
  size="md"
10
+ width="720px"
9
11
  @hide="emits('hide')"
10
12
  @submit="emits('submit')"
11
13
  >
12
14
  <template #content>
13
- <div class="select-storage-modal-container">
15
+ <div
16
+ ref="selectStorageModalContainer"
17
+ :class="[
18
+ 'select-storage-modal-container',
19
+ { 'has-scroll': isHasScroll },
20
+ ]"
21
+ >
14
22
  <span class="description-text">{{
15
23
  localization.common
16
24
  .followingDatastoresAccessibleDestinationResourceThatSelected
@@ -22,7 +30,12 @@
22
30
  hide-compatibility
23
31
  hide-alert
24
32
  @submit="emits('change-storage', $event)"
33
+ @is-selected-row="isDisabledAccept = !$event"
25
34
  />
35
+ <span class="count-text"
36
+ >{{ props.datastore.length }}
37
+ {{ localization.common.datastores }}</span
38
+ >
26
39
  </div>
27
40
  </template>
28
41
  <template #footerLeftContent>
@@ -32,6 +45,7 @@
32
45
  </template>
33
46
 
34
47
  <script setup lang="ts">
48
+ import { useElementSize } from '@vueuse/core'
35
49
  import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
36
50
  import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
37
51
  import type { UI_I_Localization } from '~/lib/models/interfaces'
@@ -52,18 +66,43 @@ const emits = defineEmits<{
52
66
 
53
67
  const localization = computed<UI_I_Localization>(() => useLocal())
54
68
 
69
+ const isDisabledAccept = ref<boolean>(false)
70
+
55
71
  const texts = ref<UI_I_ModalTexts>({
72
+ button1: localization.value.common.cancel,
56
73
  button2: localization.value.common.select,
57
74
  })
75
+
76
+ const selectStorageModalContainer = ref<any>(null)
77
+ const { width, height } = useElementSize(selectStorageModalContainer)
78
+ const isHasScroll = ref<boolean>(false)
79
+ const isScrollVisible = (element: HTMLElement): boolean =>
80
+ element.scrollHeight > element.clientHeight
81
+
82
+ watch([width, height], () => {
83
+ if (!selectStorageModalContainer.value) return
84
+
85
+ isHasScroll.value = isScrollVisible(selectStorageModalContainer.value)
86
+ })
58
87
  </script>
59
88
 
60
89
  <style scoped lang="scss">
61
90
  .select-storage-modal-container {
91
+ height: calc(100vh - 300px);
92
+ overflow-y: auto;
62
93
  display: flex;
63
94
  flex-direction: column;
64
- grid-gap: 12px;
95
+ //grid-gap: 12px;
65
96
  padding-left: 32px;
66
- padding-bottom: 5px;
97
+ padding-top: 8px;
98
+ padding-bottom: 8px;
99
+
100
+ &:not(.has-scroll) {
101
+ padding-right: 32px;
102
+ }
103
+ &.has-scroll {
104
+ padding-right: 18px;
105
+ }
67
106
 
68
107
  .description-text {
69
108
  font-size: 12px;
@@ -71,5 +110,14 @@ const texts = ref<UI_I_ModalTexts>({
71
110
  line-height: 14.52px;
72
111
  color: #9da6ad;
73
112
  }
113
+ .count-text {
114
+ text-align: right;
115
+ font-size: 12px;
116
+ font-weight: 400;
117
+ color: #9da6ad;
118
+ margin-bottom: 8px;
119
+ margin-top: 8px;
120
+ text-transform: lowercase;
121
+ }
74
122
  }
75
123
  </style>
@@ -25,6 +25,9 @@
25
25
  @select="emits('select', $event)"
26
26
  />
27
27
  </div>
28
+ <p class="count-text">
29
+ {{ props.networksTable.length }} {{ localization.common.networks }}
30
+ </p>
28
31
  </template>
29
32
  <template #footerLeftContent>
30
33
  <span></span>
@@ -60,4 +63,14 @@ const modalTexts = ref<UI_I_ModalTexts>({
60
63
  })
61
64
  </script>
62
65
 
63
- <style scoped lang="scss"></style>
66
+ <style scoped lang="scss">
67
+ .count-text {
68
+ text-align: right;
69
+ font-size: 12px;
70
+ font-weight: 400;
71
+ color: #9da6ad;
72
+ margin-bottom: 8px;
73
+ margin-top: 8px;
74
+ text-transform: lowercase;
75
+ }
76
+ </style>
@@ -2,6 +2,7 @@
2
2
  <ui-data-table
3
3
  :data="data"
4
4
  :options="options"
5
+ size="sm"
5
6
  test-id="data-table-main"
6
7
  class="network-table"
7
8
  server-off
@@ -94,9 +94,12 @@ const emits = defineEmits<{
94
94
 
95
95
  <style scoped lang="scss">
96
96
  .vm-options {
97
+ height: calc(100% - 20px);
97
98
  display: flex;
98
99
  flex-direction: column;
99
100
  gap: 12px;
100
- padding-top: 12px;
101
+ margin-top: 20px;
102
+ padding: 0 32px 12px;
103
+ overflow: auto;
101
104
  }
102
105
  </style>
@@ -131,6 +131,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
131
131
  gap: 4px;
132
132
  }
133
133
 
134
+ .vsphere-icon-vm {
135
+ width: 20px;
136
+ height: 20px;
137
+ }
138
+
134
139
  :deep(.guest-os-family-select .ui-main-select-toggle),
135
140
  :deep(.guest-machine-type-select .ui-main-select-toggle) {
136
141
  width: 108px;
@@ -358,10 +358,10 @@ setTimeout(() => {
358
358
  capabilities.value.compatibility[1].text = newValue.common.compatibilityItem2
359
359
  capabilities.value.compatibility[2].text = newValue.common.compatibilityItem3
360
360
  capabilities.value.guestOsFamilies[2].text = newValue.common.other
361
- capabilities.value.guestOsVersions.linux[19].text = capabilities.value.guestOsVersions.linux[19].text.replace('Other', newValue.common.other)
362
- capabilities.value.guestOsVersions.linux[20].text = capabilities.value.guestOsVersions.linux[20].text.replace('Other', newValue.common.other)
363
- capabilities.value.guestOsVersions.other[4].text = capabilities.value.guestOsVersions.other[4].text.replace('Other', newValue.common.other)
364
- capabilities.value.guestOsVersions.other[5].text = capabilities.value.guestOsVersions.other[5].text.replace('Other', newValue.common.other)
361
+ capabilities.value.guestOsVersions.linux[19].text = newValue.common.guestOsVersionsItem1
362
+ capabilities.value.guestOsVersions.linux[20].text = newValue.common.guestOsVersionsItem2
363
+ capabilities.value.guestOsVersions.other[4].text = newValue.common.guestOsVersionsItem3
364
+ capabilities.value.guestOsVersions.other[5].text = newValue.common.guestOsVersionsItem4
365
365
 
366
366
  },
367
367
  { deep: true }
@@ -42,6 +42,7 @@ const props = defineProps<{
42
42
  }>()
43
43
  const emits = defineEmits<{
44
44
  (event: 'submit', value: UI_I_DatastoreTableItem): void
45
+ (event: 'is-selected-row', value: boolean): void
45
46
  }>()
46
47
 
47
48
  const { $store }: any = useNuxtApp()
@@ -97,6 +98,13 @@ watch(
97
98
  },
98
99
  { immediate: true }
99
100
  )
101
+ watch(
102
+ selectedRow,
103
+ (newValue) => {
104
+ emits('is-selected-row', typeof newValue === 'number')
105
+ },
106
+ { immediate: true }
107
+ )
100
108
 
101
109
  watch(
102
110
  () => props.storageSubmit,
@@ -17,6 +17,7 @@
17
17
  :options="tableOptions"
18
18
  :loading="loading"
19
19
  :default-layout="false"
20
+ :texts="tableTexts"
20
21
  test-id="select-storage-data-table"
21
22
  server-off
22
23
  size="sm"
@@ -62,7 +63,10 @@
62
63
  </template>
63
64
 
64
65
  <script setup lang="ts">
65
- import type { UI_I_DataTable } from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
66
+ import type {
67
+ UI_I_DataTable,
68
+ UI_I_TableTexts,
69
+ } from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
66
70
  import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
67
71
  import type { UI_I_Localization } from '~/lib/models/interfaces'
68
72
  import {
@@ -70,6 +74,7 @@ import {
70
74
  tableDataFunc,
71
75
  tableOptions,
72
76
  } from '~/components/common/vm/actions/common/select/storage/new/lib/config/table'
77
+ import { tableTextsFunc } from '~/lib/config/uiTable'
73
78
 
74
79
  const selectedRow = defineModel<number | null>('selectedRow')
75
80
 
@@ -87,6 +92,10 @@ const emits = defineEmits<{
87
92
 
88
93
  const localization = computed<UI_I_Localization>(() => useLocal())
89
94
 
95
+ const tableTexts = computed<UI_I_TableTexts>(() =>
96
+ tableTextsFunc(localization.value)
97
+ )
98
+
90
99
  const storageCount = computed<string>(() =>
91
100
  localization.value.vmWizard.storageCount.replace(
92
101
  '{0}',
@@ -238,8 +238,16 @@ export const tableBodyFunc = (
238
238
  text: localization.common.supported,
239
239
  }
240
240
 
241
- thinProvisioningData = getStatus(item.thin_provisioning)
242
- storage_io_control = getStatus(item.storage_io_control)
241
+ thinProvisioningData = getStatus(
242
+ item.thin_provisioning,
243
+ localization.common.yes,
244
+ localization.common.no
245
+ )
246
+ storage_io_control = getStatus(
247
+ item.storage_io_control,
248
+ localization.common.yes,
249
+ localization.common.no
250
+ )
243
251
 
244
252
  result.push({
245
253
  row: key,
@@ -257,7 +265,7 @@ export const tableBodyFunc = (
257
265
  key: 'state',
258
266
  col: 1,
259
267
  text: stateData.text,
260
- data: stateData
268
+ data: stateData,
261
269
  },
262
270
  { col: 2, text: $binary.round(item.capacity.capacity_mb) },
263
271
  {
@@ -282,7 +290,7 @@ export const tableBodyFunc = (
282
290
  text: item.thin_provisioning
283
291
  ? localization.common.yes
284
292
  : localization.common.no,
285
- data: thinProvisioningData
293
+ data: thinProvisioningData,
286
294
  },
287
295
  {
288
296
  col: 8,
@@ -292,7 +300,7 @@ export const tableBodyFunc = (
292
300
  key: 'state',
293
301
  col: 9,
294
302
  text: item.hardware_acceleration,
295
- data: hardwareAccelerationData
303
+ data: hardwareAccelerationData,
296
304
  },
297
305
  {
298
306
  col: 10,
@@ -306,7 +314,7 @@ export const tableBodyFunc = (
306
314
  key: 'state',
307
315
  col: 12,
308
316
  text: item.storage_io_control,
309
- data: storage_io_control
317
+ data: storage_io_control,
310
318
  },
311
319
  ],
312
320
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.182",
4
+ "version": "1.5.184",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -34,7 +34,7 @@
34
34
  "@nuxtjs/eslint-config-typescript": "^12.0.0",
35
35
  "@vueuse/components": "^10.1.2",
36
36
  "date-fns": "^2.29.3",
37
- "bfg-nuxt-3-graph": "1.0.24",
37
+ "bfg-nuxt-3-graph": "1.0.25",
38
38
  "bfg-uikit": "1.0.417",
39
39
  "html2canvas": "^1.4.1",
40
40
  "prettier-eslint": "^15.0.1"