bfg-common 1.3.309 → 1.3.311

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.
@@ -32,7 +32,7 @@
32
32
  </template>
33
33
  <template #content>{{ apiError }}</template>
34
34
  </atoms-tooltip-error>
35
- <div :id="helpId" class="content-signpost relative">
35
+ <div v-if="props.helpText" :id="helpId" class="content-signpost relative">
36
36
  <atoms-the-icon
37
37
  :data-id="`vm-wizard-${props.componentType}-bus-field-${props.index}-show-help-icon`"
38
38
  class="icon-show-help"
@@ -50,7 +50,8 @@
50
50
  @hide="isShowHelp = false"
51
51
  >
52
52
  <p>
53
- {{ localization.busVirtioHelpDesc }}
53
+ <!-- {{ localization.busVirtioHelpDesc }}-->
54
+ {{ props.helpText }}
54
55
  </p>
55
56
  </atoms-tooltip-signpost>
56
57
  </Teleport>
@@ -76,6 +77,7 @@ const props = defineProps<{
76
77
  errorValidationFields: UI_I_ErrorValidationField<string>[]
77
78
  disabled?: boolean
78
79
  shortOptions?: boolean
80
+ helpText?: string
79
81
  }>()
80
82
  const emits = defineEmits<{
81
83
  (event: 'update:bus', value: string): void
@@ -67,13 +67,14 @@
67
67
  @browse="isShowFileModal = true"
68
68
  />
69
69
 
70
+ <!-- :short-options="props.type === 'edit'" // поменял из-за задачки PNCWEB-384-->
70
71
  <common-vm-actions-common-customize-hardware-virtual-hardware-bus
71
72
  v-model:bus="bus"
72
73
  :index="indexByHardDisks"
73
74
  :validation-type="busValidationType"
74
75
  :error-validation-fields="props.errorValidationFields"
75
76
  :disabled="isRunning"
76
- :short-options="props.type === 'edit'"
77
+ short-options
77
78
  component-type="disk_devices"
78
79
  @remove-error-by-title="emits('remove-error-by-title', $event)"
79
80
  />
@@ -192,7 +193,8 @@ const onRollBackCdDvdDrive = (): void => {
192
193
  }
193
194
 
194
195
  const cdDvdMedia = ref<string>('')
195
- const bus = ref<string>('ide')
196
+ // const bus = ref<string>('ide')
197
+ const bus = ref<string>('sata') // PNCWEB-384
196
198
 
197
199
  const deleteFilesFromDatastore = ref<boolean>(false)
198
200
 
@@ -154,6 +154,7 @@
154
154
  :index="props.index"
155
155
  :error-validation-fields="props.errorValidationFields"
156
156
  :disabled="isRunning"
157
+ :help-text="localization.busVirtioHelpDesc"
157
158
  component-type="disk_devices"
158
159
  @remove-error-by-title="emits('remove-error-by-title', $event)"
159
160
  />
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.309",
4
+ "version": "1.3.311",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",