bfg-common 1.5.301 → 1.5.303

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.
Files changed (26) hide show
  1. package/assets/img/icons/icons-sprite-dark-1.svg +46 -44
  2. package/assets/img/icons/icons-sprite-light-1.svg +45 -43
  3. package/assets/localization/local_be.json +4 -2
  4. package/assets/localization/local_en.json +4 -2
  5. package/assets/localization/local_hy.json +4 -2
  6. package/assets/localization/local_kk.json +4 -2
  7. package/assets/localization/local_ru.json +4 -2
  8. package/assets/localization/local_zh.json +4 -2
  9. package/components/common/backup/storage/actions/add/New.vue +29 -16
  10. package/components/common/backup/storage/actions/add/lib/validations.ts +1 -1
  11. package/components/common/backup/storage/actions/add/steps/hostAccessibility/table/new/lib/config/compatibleTable.ts +0 -1
  12. package/components/common/backup/storage/actions/add/steps/name/New.vue +2 -0
  13. package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +16 -15
  14. package/components/common/backup/storage/actions/add/steps/readyComplete/lib/config/propertiesDetails.ts +4 -4
  15. package/components/common/backup/storage/actions/add/steps/typeMode/TypeMode.vue +7 -1
  16. package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeNew.vue +45 -11
  17. package/components/common/context/lib/models/interfaces.ts +2 -0
  18. package/components/common/context/recursion/RecursionNew.vue +3 -2
  19. package/components/common/context/recursion/RecursionOld.vue +3 -2
  20. package/components/common/tooltip/Help.vue +76 -39
  21. package/components/common/vm/actions/clone/Clone.vue +817 -817
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +2 -2
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +2 -2
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +2 -2
  25. package/components/common/vm/actions/common/select/storage/new/New.vue +21 -3
  26. package/package.json +1 -1
@@ -17,7 +17,7 @@
17
17
  :hard-disk-invalid="hardDiskInvalid"
18
18
  :error-text="hardDiskLocalAndApiErrorsTexts"
19
19
  :hard-disk-type-error-local-text="hardDiskTypeErrorLocalText"
20
- :is-disabled-size="isDisabledSize || isRunning"
20
+ :is-disabled-size="isDisabledSize"
21
21
  :hard-disk-type-options="hardDiskTypeOptions"
22
22
  :max-hard-disk="maxHardDisk"
23
23
  :location="location"
@@ -58,7 +58,7 @@
58
58
  :hard-disk-invalid="hardDiskInvalid"
59
59
  :error-text="hardDiskLocalAndApiErrorsTexts"
60
60
  :hard-disk-type-error-local-text="hardDiskTypeErrorLocalText"
61
- :is-disabled-size="isDisabledSize || isRunning"
61
+ :is-disabled-size="isDisabledSize"
62
62
  :hard-disk-type-options="hardDiskTypeOptions"
63
63
  :max-hard-disk="maxHardDisk"
64
64
  :location="location"
@@ -63,7 +63,7 @@
63
63
  :id="`vm-wizard-hard-disk-${props.index}`"
64
64
  v-model.number="size"
65
65
  :test-id="`vm-wizard-hard-disk-${props.index}`"
66
- :disabled="props.isDisabledSize"
66
+ :disabled="props.isDisabledSize || props.isRunning"
67
67
  :class="[
68
68
  'spinfree edit-setting-input input-text-color',
69
69
  { 'has-error': props.hardDiskTypeErrorLocalText },
@@ -79,7 +79,7 @@
79
79
  :id="`hard-disk-type-select-${props.index}`"
80
80
  v-model="hardDiskType"
81
81
  :items="props.hardDiskTypeOptions"
82
- :disabled="props.type === 'exist'"
82
+ :disabled="props.type === 'exist' || props.isRunning"
83
83
  :test-id="`hard-disk-type-select-${props.index}`"
84
84
  width="auto"
85
85
  class="unit"
@@ -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"
74
+ :disabled="props.isDisabledSize || props.isRunning"
75
75
  type="number"
76
76
  @blur="emits('validate-size')"
77
77
  @click.stop
@@ -86,7 +86,7 @@
86
86
  :id="`hard-disk-type-select-${props.index}`"
87
87
  v-model="hardDiskType"
88
88
  :data-id="`hard-disk-type-select-${props.index}`"
89
- :disabled="props.type === 'exist'"
89
+ :disabled="props.type === 'exist' || props.isRunning"
90
90
  class="input-text-color"
91
91
  @change="emits('validate-size')"
92
92
  @click.stop
@@ -30,7 +30,12 @@
30
30
  </h3></template
31
31
  >
32
32
  <template #name="{ item }">
33
- <ui-icon name="datastores" width="18" height="18" class="mr-1" />
33
+ <ui-icon
34
+ name="datastores"
35
+ width="18"
36
+ height="18"
37
+ class="mr-1 row-datastores-icon"
38
+ />
34
39
  {{ item.text }}
35
40
  </template>
36
41
  <template #state="{ item }">
@@ -164,8 +169,18 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
164
169
  --select-storage-compatibility-bg-color: #1b2a371f;
165
170
  --select-storage-compatibility-description-color: #e9eaec;
166
171
  --select-storage-compatibility-empty-description-color: #9da6ad;
167
- --select-storage-compatibility-table-column-button-hover-bg: #b8bcc10a;
168
- --select-storage-compatibility-table-column-button-active-hover-bg: #2785b614;
172
+ --select-storage-compatibility-table-column-button-hover-bg: linear-gradient(
173
+ 0deg,
174
+ rgba(233, 234, 236, 0.04) 0%,
175
+ rgba(233, 234, 236, 0.04) 100%
176
+ ),
177
+ rgba(27, 42, 55, 0.24);
178
+ --select-storage-compatibility-table-column-button-active-hover-bg: linear-gradient(
179
+ 0deg,
180
+ rgba(43, 162, 222, 0.08) 0%,
181
+ rgba(43, 162, 222, 0.08) 100%
182
+ ),
183
+ rgba(27, 42, 55, 0.24);
169
184
  }
170
185
  </style>
171
186
  <style scoped lang="scss">
@@ -267,5 +282,8 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
267
282
  }
268
283
  }
269
284
  }
285
+ .row-datastores-icon {
286
+ min-width: 18px;
287
+ }
270
288
  }
271
289
  </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.301",
4
+ "version": "1.5.303",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",