bfg-common 1.5.335 → 1.5.337

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.
@@ -3,7 +3,7 @@
3
3
  background-position: 0 50.6329113924%;
4
4
  }
5
5
  .vx-icon-cloneVmToVm {
6
- background-position: 0 51.8987341772%;
6
+ background-position: 0 46.82%;
7
7
  }
8
8
  .vsphere-icon-Host_Reboot {
9
9
  background-position: 0 8.8607594937%;
@@ -93,7 +93,7 @@
93
93
  background-position: 0 98.7%;
94
94
  }
95
95
  .storage-ui-icon-increase_datastore {
96
- background-position: -0.5px 94.96%;
96
+ background-position: 0 94.94%;
97
97
  }
98
98
  .storage-ui-icon-datastore-unmount {
99
99
  background-position: 0 100%;
@@ -114,7 +114,7 @@
114
114
  background-position: 0 43.0379746835%;
115
115
  }
116
116
  .storage-ui-icon-browse-file {
117
- background-position: -0.5px 30.44%;
117
+ background-position: 0 30.4%;
118
118
  }
119
119
  .clone-to-template {
120
120
  background-position: 0 46.8%;
@@ -13,7 +13,7 @@
13
13
  background-position: 0 7.59%;
14
14
  }
15
15
  .vx-icon-vmMigrate {
16
- background-position: 0 1.29%;
16
+ background-position: 0 1.26%;
17
17
  }
18
18
  .network-lib-ui-icon-vswitch {
19
19
  background-position: 0 24.05%;
@@ -59,16 +59,16 @@
59
59
  background-position: 0 40.5%;
60
60
  }
61
61
  .icon-web-terminal {
62
- background-position: -0.1px 41.8%;
62
+ background-position: 0 41.76%;
63
63
  }
64
64
  .icon-move {
65
- background-position: 0 43.06%;
65
+ background-position: 0 43.04%;
66
66
  }
67
67
  .icon-settings {
68
68
  background-position: 0 44.3%;
69
69
  }
70
70
  .icon-remove {
71
- background-position: 0 45.59%;
71
+ background-position: 0 45.57%;
72
72
  }
73
73
  .icon-backup-storage {
74
74
  background-position: 0 46.8%;
@@ -113,7 +113,7 @@
113
113
  background-position: 0 68.3%;
114
114
  }
115
115
  .icon-edit {
116
- background-position: 0 69.65%;
116
+ background-position: 0 69.63%;
117
117
  }
118
118
  .icon-backup {
119
119
  background-position: 0 62%;
@@ -90,7 +90,7 @@ const selectedScheme = computed<number[]>(() => wizard.selectedScheme.value)
90
90
  const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
91
91
 
92
92
  const form = ref<UI_I_CreateDatastoreForm>(
93
- useDeepCopy(datastoreDefaultFormFunc(props.project))
93
+ useDeepCopy(datastoreDefaultFormFunc())
94
94
  )
95
95
 
96
96
  const validationFunc = async (
@@ -39,7 +39,6 @@
39
39
  <common-backup-storage-actions-add-steps-type-mode
40
40
  v-if="selectedStep.id === dynamicSteps.type"
41
41
  v-model="formModelLocal.type_code"
42
- :project="props.project"
43
42
  :updater-hide-all-help-popups="updaterHideAllHelpPopups"
44
43
  @hide-all-help-popups="isShowFirstStepHelp = false"
45
44
  />
@@ -16,7 +16,6 @@
16
16
  <common-backup-storage-actions-add-steps-type-mode
17
17
  v-if="selectedStep.id === dynamicSteps.type"
18
18
  v-model="formModelLocal.type_code"
19
- :project="props.project"
20
19
  />
21
20
 
22
21
  <common-backup-storage-actions-add-steps-name
@@ -1,13 +1,10 @@
1
- import type {UI_T_Project} from "~/lib/models/types";
2
1
  import type { UI_I_CreateDatastoreForm } from '~/components/common/backup/storage/actions/add/lib/models/interfaces'
3
2
 
4
- export const datastoreDefaultFormFunc = (
5
- project: UI_T_Project
6
- ): UI_I_CreateDatastoreForm => {
3
+ export const datastoreDefaultFormFunc = (): UI_I_CreateDatastoreForm => {
7
4
  return {
8
5
  name: 'BackupStorage',
9
6
  version: 4.1,
10
- type_code: project === 'procurator' ? 2 : 1,
7
+ type_code: 2,
11
8
  readonly: false,
12
9
  server: '',
13
10
  folder: '',
@@ -16,13 +16,11 @@
16
16
 
17
17
  <script lang="ts" setup>
18
18
  import type { UI_I_Localization } from '~/lib/models/interfaces'
19
- import type { UI_T_Project } from '~/lib/models/types'
20
19
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
21
20
  import { datastoreTypesFunc } from '~/components/common/backup/storage/actions/add/steps/typeMode/lib/config/typeOptions'
22
21
 
23
22
  const formDatastoreTypeMode = defineModel<number>({ required: true })
24
23
  const props = defineProps<{
25
- project: UI_T_Project
26
24
  updaterHideAllHelpPopups: number
27
25
  }>()
28
26
  const emits = defineEmits<{
@@ -35,7 +33,7 @@ const { $store }: any = useNuxtApp()
35
33
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
36
34
 
37
35
  const datastoreTypeOptions = ref<UI_I_RadioOption[]>(
38
- datastoreTypesFunc(localization.value, props.project)
36
+ datastoreTypesFunc(localization.value)
39
37
  )
40
38
  </script>
41
39
 
@@ -1,21 +1,10 @@
1
1
  import type { UI_I_Localization } from '~/lib/models/interfaces'
2
- import type {UI_T_Project} from "~/lib/models/types";
3
2
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
4
3
 
5
4
  export const datastoreTypesFunc = (
6
- localization: UI_I_Localization,
7
- project: UI_T_Project
5
+ localization: UI_I_Localization
8
6
  ): UI_I_RadioOption[] => {
9
- const types = [
10
- {
11
- label: localization.common.localStorage,
12
- value: 1,
13
- disabled: false,
14
- description: localization.common.localDesc,
15
- isTooltip: false,
16
- tooltipContent: localization.common.localStorageHelpDesc,
17
- testId: 'datastore-type-local',
18
- },
7
+ return [
19
8
  {
20
9
  label: localization.common.nfs,
21
10
  value: 2,
@@ -44,8 +33,4 @@ export const datastoreTypesFunc = (
44
33
  testId: 'datastore-type-shared-storm',
45
34
  },
46
35
  ]
47
-
48
- if(project === 'procurator') types.shift()
49
-
50
- return types
51
36
  }
@@ -1,4 +1,4 @@
1
- const lastTimestamp = 1744866033269
1
+ const lastTimestamp = 1754388633207
2
2
 
3
3
  export const useLocalStorage = (
4
4
  name: string,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.335",
4
+ "version": "1.5.337",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",