bfg-common 1.3.600 → 1.3.602

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 (59) hide show
  1. package/assets/localization/local_be.json +131 -112
  2. package/assets/localization/local_en.json +131 -112
  3. package/assets/localization/local_hy.json +131 -112
  4. package/assets/localization/local_kk.json +131 -112
  5. package/assets/localization/local_ru.json +131 -112
  6. package/assets/localization/local_zh.json +131 -112
  7. package/components/atoms/TheIcon2.vue +1366 -1366
  8. package/components/atoms/datepicker/lib/config/datapicker.ts +1 -1
  9. package/components/common/adapterManager/AddAdapterModal.vue +1 -1
  10. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +1 -1
  11. package/components/common/adapterManager/ui/SecondTitle.vue +1 -1
  12. package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +1 -1
  13. package/components/common/browse/Browse.vue +240 -240
  14. package/components/common/browse/blocks/Title.vue +91 -91
  15. package/components/common/browse/blocks/info/Date.vue +21 -21
  16. package/components/common/context/recursion/Recursion.vue +86 -86
  17. package/components/common/context/recursion/RecursionNew.vue +198 -198
  18. package/components/common/context/recursion/RecursionOld.vue +212 -212
  19. package/components/common/diagramMain/Header.vue +1 -1
  20. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +1 -1
  21. package/components/common/diagramMain/modals/lib/config/adapterModal.ts +2 -2
  22. package/components/common/diagramMain/modals/lib/config/networkModal.ts +1 -1
  23. package/components/common/diagramMain/modals/lib/config/switchModal.ts +1 -1
  24. package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +1 -1
  25. package/components/common/feedback/Buttons.vue +1 -1
  26. package/components/common/feedback/Message.vue +1 -1
  27. package/components/common/home/alertsTable/lib/config/config.ts +1 -1
  28. package/components/common/monitor/advanced/Advanced.vue +1 -1
  29. package/components/common/monitor/advanced/table/lib/config/performanceDatatable.ts +1 -1
  30. package/components/common/monitor/overview/filters/lib/config/filterOptions.ts +1 -1
  31. package/components/common/split/horizontal/HorizontalNew.vue +321 -321
  32. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +1 -1
  33. package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/BrowseView.vue +1 -1
  34. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/lib/config/fileTypes.ts +3 -3
  35. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +1 -1
  36. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +1 -1
  37. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options.ts +3 -3
  38. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +1 -1
  39. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/TotalVideoMemory.vue +1 -1
  40. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/lib/config/options.ts +1 -1
  41. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config.ts +3 -3
  42. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/lib/config/config.ts +4 -4
  43. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/lib/config/config.ts +3 -3
  44. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/lib/config/config.ts +4 -4
  45. package/components/common/wizards/datastore/add/Add.vue +437 -437
  46. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +1 -1
  47. package/components/common/wizards/datastore/add/readyComplete/ReadyComplete.vue +95 -95
  48. package/components/common/wizards/network/add/Add.vue +1 -1
  49. package/components/common/wizards/network/add/lib/config/steps.ts +6 -6
  50. package/components/common/wizards/network/add/steps/PortProperties.vue +1 -1
  51. package/components/common/wizards/vm/migrate/select/computeResource/lib/config/tabsPannel.ts +1 -1
  52. package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/clusterTable.ts +3 -3
  53. package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/hostTable.ts +1 -1
  54. package/composables/productNameLocal.ts +9 -0
  55. package/lib/models/interfaces.ts +9 -0
  56. package/lib/models/types.ts +9 -0
  57. package/package.json +1 -1
  58. package/plugins/recursion.ts +293 -293
  59. package/store/tasks/mappers/recentTasks.ts +45 -45
@@ -117,7 +117,7 @@
117
117
  <!-- class="btn btn-sm nd-mt-0"-->
118
118
  <!-- @click="onAddServerToList"-->
119
119
  <!-- >-->
120
- <!-- {{ localization.add }}-->
120
+ <!-- {{ localization.common.add }}-->
121
121
  <!-- </button>-->
122
122
  </div>
123
123
 
@@ -1,95 +1,95 @@
1
- <template>
2
- <div class="ready-complete">
3
- <div class="ready-complete__desc">{{ localization.readyCompleteDesc }}</div>
4
-
5
- <common-details-list :items="properties" class="ready-complete__list list">
6
- <template #default="{ item }">
7
- <common-details-item
8
- :has-children="true"
9
- :test-id="item.testId"
10
- open-by-default
11
- >
12
- <template #stackBlockKey>
13
- <span class="list__labels">
14
- {{ localization.chosenDatastoreName }}
15
- </span>
16
- </template>
17
-
18
- <template #stackChildren>
19
- <template
20
- v-for="(item2, key2) in item.items"
21
- :key="`${item2}_${key2}`"
22
- >
23
- <common-details-item
24
- :has-children="false"
25
- :test-id="item2.testId"
26
- class="list__default-style"
27
- >
28
- <template #stackBlockKey>
29
- <div>
30
- {{ item2.label }}
31
- </div>
32
- </template>
33
- <template #stackBlockContent>
34
- <div v-if="item2.data">
35
- <div
36
- v-for="item3 in item2.data"
37
- :key="item3"
38
- class="flex-align-center"
39
- >
40
- <div class="vsphere-icon-host"></div>
41
- <span>{{ item3 }}</span>
42
- </div>
43
- </div>
44
- <span v-else>
45
- {{ item2.value }}
46
- </span>
47
- </template>
48
- </common-details-item>
49
- </template>
50
- </template>
51
- </common-details-item>
52
- </template>
53
- </common-details-list>
54
- </div>
55
- </template>
56
-
57
- <script lang="ts" setup>
58
- import { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
59
- import { UI_I_Localization } from '~/lib/models/interfaces'
60
-
61
- const props = defineProps<{
62
- dataReadyView: UI_I_DetailsItem[]
63
- }>()
64
- // console.log(props)
65
-
66
- const localization = computed<UI_I_Localization>(() => useLocal())
67
-
68
- const properties = computed<UI_I_DetailsItem[]>(() => props.dataReadyView)
69
- </script>
70
-
71
- <style lang="scss" scoped>
72
- @import '~/assets/scss/common/mixins.scss';
73
- .ready-complete {
74
- &__list {
75
- @include flex($dir: column);
76
- padding: 12px 0;
77
- row-gap: 15px;
78
- }
79
- }
80
- .list {
81
- &__labels {
82
- @include text($fs: 13px, $fw: 700);
83
- }
84
- :deep(.list__default-style) {
85
- .stack-block {
86
- &__label {
87
- align-items: flex-start;
88
- }
89
- &-content {
90
- white-space: pre-line;
91
- }
92
- }
93
- }
94
- }
95
- </style>
1
+ <template>
2
+ <div class="ready-complete">
3
+ <div class="ready-complete__desc">{{ localization.readyCompleteDesc }}</div>
4
+
5
+ <common-details-list :items="properties" class="ready-complete__list list">
6
+ <template #default="{ item }">
7
+ <common-details-item
8
+ :has-children="true"
9
+ :test-id="item.testId"
10
+ open-by-default
11
+ >
12
+ <template #stackBlockKey>
13
+ <span class="list__labels">
14
+ {{ localization.chosenDatastoreName }}
15
+ </span>
16
+ </template>
17
+
18
+ <template #stackChildren>
19
+ <template
20
+ v-for="(item2, key2) in item.items"
21
+ :key="`${item2}_${key2}`"
22
+ >
23
+ <common-details-item
24
+ :has-children="false"
25
+ :test-id="item2.testId"
26
+ class="list__default-style"
27
+ >
28
+ <template #stackBlockKey>
29
+ <div>
30
+ {{ item2.label }}
31
+ </div>
32
+ </template>
33
+ <template #stackBlockContent>
34
+ <div v-if="item2.data">
35
+ <div
36
+ v-for="item3 in item2.data"
37
+ :key="item3"
38
+ class="flex-align-center"
39
+ >
40
+ <div class="vsphere-icon-host"></div>
41
+ <span>{{ item3 }}</span>
42
+ </div>
43
+ </div>
44
+ <span v-else>
45
+ {{ item2.value }}
46
+ </span>
47
+ </template>
48
+ </common-details-item>
49
+ </template>
50
+ </template>
51
+ </common-details-item>
52
+ </template>
53
+ </common-details-list>
54
+ </div>
55
+ </template>
56
+
57
+ <script lang="ts" setup>
58
+ import { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
59
+ import { UI_I_Localization } from '~/lib/models/interfaces'
60
+
61
+ const props = defineProps<{
62
+ dataReadyView: UI_I_DetailsItem[]
63
+ }>()
64
+ // console.log(props)
65
+
66
+ const localization = computed<UI_I_Localization>(() => useLocal())
67
+
68
+ const properties = computed<UI_I_DetailsItem[]>(() => props.dataReadyView)
69
+ </script>
70
+
71
+ <style lang="scss" scoped>
72
+ @import '~/assets/scss/common/mixins.scss';
73
+ .ready-complete {
74
+ &__list {
75
+ @include flex($dir: column);
76
+ padding: 12px 0;
77
+ row-gap: 15px;
78
+ }
79
+ }
80
+ .list {
81
+ &__labels {
82
+ @include text($fs: 13px, $fw: 700);
83
+ }
84
+ :deep(.list__default-style) {
85
+ .stack-block {
86
+ &__label {
87
+ align-items: flex-start;
88
+ }
89
+ &-content {
90
+ white-space: pre-line;
91
+ }
92
+ }
93
+ }
94
+ }
95
+ </style>
@@ -195,7 +195,7 @@ const localization = computed<UI_I_Localization>(() => useLocal())
195
195
 
196
196
  const hostname = ref<string>('')
197
197
  const title = computed<string>(
198
- () => `${hostname.value} - ${localization.value.addNetworking}`
198
+ () => `${hostname.value} - ${localization.value.contextMenu.addNetworking}`
199
199
  )
200
200
 
201
201
  const wizard: Wizard = new Wizard(
@@ -57,7 +57,7 @@ export const stepsFunc = (
57
57
  {
58
58
  id: 2,
59
59
  title: localization.createStandardSwitch,
60
- subTitle: localization.assignFreePhysicalNetworkAdaptersToTheNewSwitch,
60
+ subTitle: localization.networks.assignFreePhysicalNetworkAdaptersToTheNewSwitch,
61
61
  status: UI_E_WIZARD_STATUS.INACTIVE,
62
62
  fields: {},
63
63
  isValid: true,
@@ -128,8 +128,8 @@ export const stepsFunc = (
128
128
  },
129
129
  {
130
130
  id: 6,
131
- title: localization.addPhysicalNetworkAdapter,
132
- subTitle: localization.assignPhysicalNetworkAdaptersToTheSwitch,
131
+ title: localization.networks.addPhysicalNetworkAdapter,
132
+ subTitle: localization.networks.assignPhysicalNetworkAdaptersToTheSwitch,
133
133
  status: UI_E_WIZARD_STATUS.INACTIVE,
134
134
  fields: {},
135
135
  isValid: true,
@@ -199,7 +199,7 @@ export const createThirdSchemeReadyCompleteFunc = (
199
199
  value: connectionSettingsValues.networkLabel,
200
200
  },
201
201
  {
202
- name: localization.assignedAdapters,
202
+ name: localization.networks.assignedAdapters,
203
203
  value: addedAdapters.join(', '),
204
204
  },
205
205
  {
@@ -303,7 +303,7 @@ const makeFirstColumnOfZeroAndFirstScheme = (
303
303
  value: '--',
304
304
  },
305
305
  {
306
- name: localization.assignedAdapters,
306
+ name: localization.networks.assignedAdapters,
307
307
  value: addedAdapters.join(', '),
308
308
  },
309
309
  {
@@ -447,7 +447,7 @@ export const createFourthSchemeReadyCompleteFunc = (
447
447
  value: switchId,
448
448
  },
449
449
  {
450
- name: localization.assignedAdapters,
450
+ name: localization.networks.assignedAdapters,
451
451
  value: assignedAdapters.join(', '),
452
452
  },
453
453
  ],
@@ -155,7 +155,7 @@
155
155
 
156
156
  <div class="edit-vmkernel-adapter-section">
157
157
  <b class="property-label-group">
158
- {{ localization.availableServices }}
158
+ {{ localization.networks.availableServices }}
159
159
  </b>
160
160
 
161
161
  <div class="horizontal-flex-container">
@@ -10,7 +10,7 @@ export const vmMigrateComputeResourceTabsFunc = (
10
10
  disabled: false,
11
11
  },
12
12
  {
13
- text: localization.clusters,
13
+ text: localization.common.clusters,
14
14
  value: 'cluster',
15
15
  disabled: false,
16
16
  },
@@ -16,9 +16,9 @@ const getItems = (
16
16
  ): [string, boolean, string, string][] => {
17
17
  return [
18
18
  [localization.common.name, true, '180px', clusterTableItemKeys[0]],
19
- [localization.availableCpu, true, '180px', clusterTableItemKeys[1]],
20
- [localization.availableMemory, true, '180px', clusterTableItemKeys[2]],
21
- [localization.availableStorage, true, '180px', clusterTableItemKeys[3]],
19
+ [localization.inventory.availableCpu, true, '180px', clusterTableItemKeys[1]],
20
+ [localization.vms.availableMemory, true, '180px', clusterTableItemKeys[2]],
21
+ [localization.inventory.availableStorage, true, '180px', clusterTableItemKeys[3]],
22
22
  [localization.vSphere_DRS, true, '180px', clusterTableItemKeys[4]],
23
23
  [localization.vSphere_HA, true, '180px', clusterTableItemKeys[5]],
24
24
  [localization.totalCpu, false, '180px', clusterTableItemKeys[6]],
@@ -38,7 +38,7 @@ const getItems = (
38
38
  [localization.cpus, false, '180px', hostTableItemKeys[10]],
39
39
  [localization.nics, false, '180px', hostTableItemKeys[11]],
40
40
  [localization.version, false, '180px', hostTableItemKeys[12]],
41
- [localization.alarmActions, false, '180px', hostTableItemKeys[13]],
41
+ [localization.common.alarmActions, false, '180px', hostTableItemKeys[13]],
42
42
  ]
43
43
  }
44
44
 
@@ -36,6 +36,15 @@ const replaceProductNameRecursion = (
36
36
  'networks',
37
37
  'inventory',
38
38
  'inventoryTabs',
39
+ 'feedback',
40
+ 'vms',
41
+ 'hosts',
42
+ 'datastores',
43
+ 'contentLibraries',
44
+ 'clusters',
45
+ 'inventoryMonitor',
46
+ 'logs',
47
+ 'tagsAttributes',
39
48
  ]
40
49
  if (localizationKeys.includes(key)) {
41
50
  for (const key2 of Object.keys(item)) {
@@ -28,6 +28,15 @@ export interface UI_I_Localization {
28
28
  networks: UI_I_ArbitraryObject<string>
29
29
  inventory: UI_I_ArbitraryObject<string>
30
30
  inventoryTabs: UI_I_ArbitraryObject<string>
31
+ feedback: UI_I_ArbitraryObject<string>
32
+ vms: UI_I_ArbitraryObject<string>
33
+ hosts: UI_I_ArbitraryObject<string>
34
+ datastores: UI_I_ArbitraryObject<string>
35
+ contentLibraries: UI_I_ArbitraryObject<string>
36
+ clusters: UI_I_ArbitraryObject<string>
37
+ inventoryMonitor: UI_I_ArbitraryObject<string>
38
+ logs: UI_I_ArbitraryObject<string>
39
+ tagsAttributes: UI_I_ArbitraryObject<string>
31
40
  }
32
41
  export interface UI_I_SendTaskParams {
33
42
  method: string
@@ -35,3 +35,12 @@ export type UI_T_LanguageKey =
35
35
  | 'networks'
36
36
  | 'inventory'
37
37
  | 'inventoryTabs'
38
+ | 'feedback'
39
+ | 'vms'
40
+ | 'hosts'
41
+ | 'datastores'
42
+ | 'contentLibraries'
43
+ | 'clusters'
44
+ | 'inventoryMonitor'
45
+ | 'logs'
46
+ | 'tagsAttributes'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.600",
4
+ "version": "1.3.602",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",