bfg-common 1.5.320 → 1.5.322

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,18 +1,20 @@
1
1
  <template>
2
2
  <div class="host-accessibility pb-4">
3
- <ui-tabs
4
- v-model="activeTabModel"
5
- test-id="accessibility"
6
- :tabs="tabsLocal"
7
- type="outline"
8
- class="host-accessibility__tab py-4"
9
- >
10
- </ui-tabs>
3
+ <!-- TODO 700-->
4
+ <!-- <ui-tabs-->
5
+ <!-- v-model="activeTabModel"-->
6
+ <!-- test-id="accessibility"-->
7
+ <!-- :tabs="tabsLocal"-->
8
+ <!-- type="outline"-->
9
+ <!-- class="host-accessibility__tab py-4"-->
10
+ <!-- >-->
11
+ <!-- </ui-tabs>-->
11
12
 
12
13
  <common-backup-storage-actions-add-steps-host-accessibility-table
13
14
  v-model="formHostsLocal"
14
15
  :data="props.hosts"
15
16
  :table-type="activeTabModel"
17
+ class="mt-2 TODO 700"
16
18
  />
17
19
  </div>
18
20
  </template>
@@ -8,18 +8,20 @@
8
8
  @remove="onHideAlert"
9
9
  />
10
10
 
11
- <atoms-tabs
12
- v-model="activeTabModel"
13
- test-id="accessibility"
14
- :items="props.tabOptions"
15
- size="small"
16
- class="w-100"
17
- />
11
+ <!-- TODO 700-->
12
+ <!-- <atoms-tabs-->
13
+ <!-- v-model="activeTabModel"-->
14
+ <!-- test-id="accessibility"-->
15
+ <!-- :items="props.tabOptions"-->
16
+ <!-- size="small"-->
17
+ <!-- class="w-100"-->
18
+ <!-- />-->
18
19
 
19
20
  <common-backup-storage-actions-add-steps-host-accessibility-table
20
21
  v-model="formHostsLocal"
21
22
  :data="props.hosts"
22
23
  :table-type="activeTabModel"
24
+ class="mt-2 TODO 700"
23
25
  />
24
26
  </div>
25
27
  </template>
@@ -235,7 +235,7 @@ const localization = computed<UI_I_Localization>(() => useLocal())
235
235
  const isSphere = computed<boolean>(() => props.project === 'sphere')
236
236
 
237
237
  const isScheduledTasks = computed<boolean>(
238
- () => props.schedulerTask.isSchedulerTask
238
+ () => props.schedulerTask?.isSchedulerTask
239
239
  )
240
240
 
241
241
  const title = computed<string>(() => {
@@ -180,7 +180,7 @@ const emits = defineEmits<{
180
180
  const localization = computed<UI_I_Localization>(() => useLocal())
181
181
 
182
182
  const isScheduledTasks = computed<boolean>(
183
- () => props.schedulerTask.isSchedulerTask
183
+ () => props.schedulerTask?.isSchedulerTask
184
184
  )
185
185
 
186
186
  const title = computed<string>(() => {
@@ -71,7 +71,7 @@
71
71
  'spinfree edit-setting-input input-text-color',
72
72
  { 'has-error': props.hardDiskTypeErrorLocalText },
73
73
  ]"
74
- :disabled="props.isDisabledSize || props.isRunning"
74
+ :disabled="props.isDisabledSize || props.isRunning && diskProvisioning === 'thick'"
75
75
  type="number"
76
76
  @blur="emits('validate-size')"
77
77
  @click.stop
@@ -1,47 +1,48 @@
1
- import type { UI_I_Localization } from '~/lib/models/interfaces'
2
- import type {
3
- UI_I_VmCreateTypeOption
4
- } from "~/components/common/vm/actions/common/select/createType/lib/models/interfaces";
5
-
6
- export const itemsFunc = (
7
- localization: UI_I_Localization,
8
- importFromVMWarevSphere: string
9
- ): UI_I_VmCreateTypeOption[] => {
10
- return [
11
- {
12
- text: localization.common.createNewVirtualMachine,
13
- value: '0',
14
- disabled: false,
15
- testId: 'create-new-vm',
16
- description: localization.common.newVmCreateDescription
17
- },
18
- {
19
- text: localization.vmWizard.deployFromTemplate,
20
- value: '1',
21
- disabled: false,
22
- testId: 'deploy-from-template',
23
- description: localization.vmWizard.deployFromTemplateDescription
24
- },
25
- {
26
- text: localization.common.deployVmFromOVF,
27
- value: '2',
28
- disabled: true,
29
- testId: 'deploy-from-ovf',
30
- description: ''
31
- },
32
- {
33
- text: importFromVMWarevSphere,
34
- value: '3',
35
- disabled: true,
36
- testId: 'import-from-vmware-vsphere',
37
- description: ''
38
- },
39
- {
40
- text: localization.common.importFromGorizontVS,
41
- value: '4',
42
- disabled: true,
43
- testId: 'import-from-gorizont-vs',
44
- description: ''
45
- },
46
- ]
47
- }
1
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
+ import type { UI_I_VmCreateTypeOption } from '~/components/common/vm/actions/common/select/createType/lib/models/interfaces'
3
+
4
+ export const itemsFunc = (
5
+ localization: UI_I_Localization,
6
+ _importFromVMWarevSphere: string
7
+ ): UI_I_VmCreateTypeOption[] => {
8
+ return [
9
+ {
10
+ text: localization.common.createNewVirtualMachine,
11
+ value: '0',
12
+ disabled: false,
13
+ testId: 'create-new-vm',
14
+ description: localization.common.newVmCreateDescription,
15
+ },
16
+ {
17
+ text: localization.vmWizard.deployFromTemplate,
18
+ value: '1',
19
+ disabled: false,
20
+ testId: 'deploy-from-template',
21
+ description: localization.vmWizard.deployFromTemplateDescription,
22
+ },
23
+ // TODO 700
24
+ // {
25
+ // text: localization.common.deployVmFromOVF,
26
+ // value: '2',
27
+ // disabled: true,
28
+ // testId: 'deploy-from-ovf',
29
+ // description: ''
30
+ // },
31
+ // TODO 700
32
+ // {
33
+ // text: importFromVMWarevSphere,
34
+ // value: '3',
35
+ // disabled: true,
36
+ // testId: 'import-from-vmware-vsphere',
37
+ // description: ''
38
+ // },
39
+ // TODO 700
40
+ // {
41
+ // text: localization.common.importFromGorizontVS,
42
+ // value: '4',
43
+ // disabled: true,
44
+ // testId: 'import-from-gorizont-vs',
45
+ // description: ''
46
+ // },
47
+ ]
48
+ }
@@ -183,7 +183,7 @@ const emits = defineEmits<{
183
183
  const localization = computed<UI_I_Localization>(() => useLocal())
184
184
 
185
185
  const isScheduledTasks = computed<boolean>(
186
- () => props.schedulerTask.isSchedulerTask
186
+ () => props.schedulerTask?.isSchedulerTask
187
187
  )
188
188
 
189
189
  const title = computed<string>(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.320",
4
+ "version": "1.5.322",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",