bfg-common 1.4.60 → 1.4.62

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.
@@ -2,7 +2,7 @@
2
2
  <div class="partition">
3
3
  <div class="clr-form-control clr-row">
4
4
  <label class="clr-col-md-4 clr-control-label">
5
- {{ localization.partitionConfiguration }}
5
+ {{ localization.common.partitionConfiguration }}
6
6
  </label>
7
7
 
8
8
  <div class="clr-col-md-8 p-0">
@@ -29,7 +29,7 @@
29
29
 
30
30
  <div class="datastore-size-container clr-flex-row clr-flex">
31
31
  <label class="clr-col-md-4 clr-control-label" for="datastore-size">
32
- {{ localization.datastoreSize }}
32
+ {{ localization.common.datastoreSize }}
33
33
  </label>
34
34
 
35
35
  <div class="datastore-size-slider-container clr-col-md-8 p-0">
@@ -62,14 +62,14 @@
62
62
  step="0.01"
63
63
  class="show-arrow"
64
64
  />
65
- <span>{{ localization.gb }}</span>
65
+ <span>{{ localization.common.gb }}</span>
66
66
  </div>
67
67
  </div>
68
68
 
69
69
  <template v-if="props.vmfsVersion === 'vmfs-6'">
70
70
  <div class="clr-form-control clr-row">
71
71
  <label class="clr-col-md-4 clr-control-label">
72
- {{ localization.blockSize }}
72
+ {{ localization.common.blockSize }}
73
73
  </label>
74
74
 
75
75
  <div>
@@ -96,7 +96,7 @@
96
96
 
97
97
  <div class="clr-form-control clr-row">
98
98
  <label class="clr-col-md-4 clr-control-label">
99
- {{ localization.spaceReclamationGranularity }}
99
+ {{ localization.common.spaceReclamationGranularity }}
100
100
  </label>
101
101
 
102
102
  <div>
@@ -123,7 +123,7 @@
123
123
 
124
124
  <div class="clr-form-control clr-row">
125
125
  <label class="clr-col-md-4 clr-control-label">
126
- {{ localization.spaceReclamationPriority }}
126
+ {{ localization.common.spaceReclamationPriority }}
127
127
  </label>
128
128
 
129
129
  <div>
@@ -1,12 +1,12 @@
1
- import { UI_I_Localization } from '~/lib/models/interfaces'
2
- import { UI_I_SelectHostOptions } from '~/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces'
1
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
+ import type { UI_I_SelectHostOptions } from '~/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces'
3
3
 
4
4
  export const partitionConfigurationFunc = (
5
5
  localization: UI_I_Localization
6
6
  ): UI_I_SelectHostOptions[] => {
7
7
  return [
8
- { text: localization.selectConfiguration, value: '', disabled: true },
9
- { text: localization.useAllAvailablePartitions, value: 'all-partitions' },
8
+ { text: localization.common.selectConfiguration, value: '', disabled: true },
9
+ { text: localization.common.useAllAvailablePartitions, value: 'all-partitions' },
10
10
  ]
11
11
  }
12
12
  export const blockSizeFunc = (
@@ -14,7 +14,7 @@ export const blockSizeFunc = (
14
14
  ): UI_I_SelectHostOptions[] => {
15
15
  return [
16
16
  {
17
- text: `1 ${localization.mb}`,
17
+ text: `1 ${localization.common.mb}`,
18
18
  value: '1',
19
19
  },
20
20
  ]
@@ -25,7 +25,7 @@ export const spaceGranularityFunc = (
25
25
  ): UI_I_SelectHostOptions[] => {
26
26
  return [
27
27
  {
28
- text: `1 ${localization.mb}`,
28
+ text: `1 ${localization.common.mb}`,
29
29
  value: '1',
30
30
  },
31
31
  ]
@@ -35,11 +35,11 @@ export const spacePriorityFunc = (
35
35
  ): UI_I_SelectHostOptions[] => {
36
36
  return [
37
37
  {
38
- text: localization.low,
38
+ text: localization.common.low,
39
39
  value: 'low',
40
40
  },
41
41
  {
42
- text: localization.none,
42
+ text: localization.common.none,
43
43
  value: 'none',
44
44
  },
45
45
  ]
@@ -205,7 +205,7 @@ const setProgress = computed<number>(() => {
205
205
  })
206
206
 
207
207
  const emptySizeText = computed<string>(() => {
208
- const { empty, gb } = localization.value
208
+ const { empty, gb } = localization.value.common
209
209
 
210
210
  return `${empty}: ${props.capacity} ${gb}`
211
211
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.60",
4
+ "version": "1.4.62",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",