bfg-common 1.5.135 → 1.5.136

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.
@@ -1,17 +1,18 @@
1
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
1
2
  import type { UI_I_Compatibility } from '~/components/common/vm/actions/common/select/lib/models/interfaces'
2
3
 
3
4
  export const capabilities: UI_I_Compatibility = {
4
5
  compatibility: [
5
6
  {
6
- text: 'compatibilityItem1',
7
+ text: 'Procurator 1.0.0 and later',
7
8
  value: 'pvm-1',
8
9
  },
9
10
  {
10
- text: 'compatibilityItem2',
11
+ text: 'Gorizont-VS 1.0.74 and later',
11
12
  value: 'hor-1',
12
13
  },
13
14
  {
14
- text: 'compatibilityItem3',
15
+ text: 'ESXi 6.7 and later',
15
16
  value: 'vmx-14',
16
17
  },
17
18
  // PC-1516
@@ -344,3 +345,18 @@ export const capabilities: UI_I_Compatibility = {
344
345
  maxCpus: 140,
345
346
  maxMemory: 1_048_576, // 1024 GB
346
347
  }
348
+
349
+ setTimeout(() => {
350
+ const localization = computed<UI_I_Localization>(() => useLocal())
351
+ watch(
352
+ localization,
353
+ (newValue) => {
354
+ if (!newValue) return
355
+
356
+ capabilities.compatibility[0].text = newValue.common.compatibilityItem1
357
+ capabilities.compatibility[1].text = newValue.common.compatibilityItem2
358
+ capabilities.compatibility[2].text = newValue.common.compatibilityItem3
359
+ },
360
+ { deep: true }
361
+ )
362
+ })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.135",
4
+ "version": "1.5.136",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",