bfg-common 1.6.89 → 1.6.91

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 (191) hide show
  1. package/assets/localization/local_be.json +4365 -4630
  2. package/assets/localization/local_en.json +4369 -4635
  3. package/assets/localization/local_hy.json +4369 -4634
  4. package/assets/localization/local_kk.json +4368 -4633
  5. package/assets/localization/local_ru.json +4368 -4633
  6. package/assets/localization/local_zh.json +4366 -4631
  7. package/assets/scss/common/global.scss +0 -11
  8. package/assets/scss/common/normalize.scss +0 -3
  9. package/assets/scss/common/theme.scss +2 -2
  10. package/components/atoms/stack/StackBlock.vue +1 -1
  11. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -2
  12. package/components/atoms/tooltip/TooltipError.vue +0 -3
  13. package/components/common/adapterManager/AdapterManagerNew.vue +0 -87
  14. package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +1 -1
  15. package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +1 -0
  16. package/components/common/adapterManager/ui/actions/bar/Bar.vue +0 -2
  17. package/components/common/adapterManager/ui/actions/bar/BarNew.vue +2 -3
  18. package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +0 -1
  19. package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +0 -6
  20. package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +192 -219
  21. package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +4 -6
  22. package/components/common/configure/physicalAdapters/buttons/Buttons.vue +0 -1
  23. package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +1 -26
  24. package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +1 -30
  25. package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +0 -5
  26. package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +1 -12
  27. package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
  28. package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +32 -39
  29. package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +1 -4
  30. package/components/common/diagramMain/Diagram.vue +85 -169
  31. package/components/common/diagramMain/DiagramMain.vue +10 -40
  32. package/components/common/diagramMain/{header/HeaderOld.vue → Header.vue} +67 -78
  33. package/components/common/diagramMain/modals/{managePhysicalAdapters/ManagePhysicalAdaptersOld.vue → ManagePhysicalAdaptersModal.vue} +119 -33
  34. package/components/common/diagramMain/modals/Modals.vue +5 -5
  35. package/components/common/diagramMain/modals/editSettings/{confirmTeamingSettingsModal/ConfirmTeamingSettingsModalOld.vue → ConfirmTeamingSettingsModal.vue} +5 -2
  36. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +102 -104
  37. package/components/common/diagramMain/modals/editSettings/{modal/EditSettingsModalOld.vue → EditSettingsModal.vue} +51 -12
  38. package/components/common/diagramMain/modals/editSettings/lib/models/interfaces.ts +0 -6
  39. package/components/common/diagramMain/modals/editSettings/tabs/{networkProperties/NetworkPropertiesOld.vue → NetworkProperties.vue} +113 -12
  40. package/components/common/diagramMain/modals/editSettings/tabs/{security/SecurityOld.vue → Security.vue} +48 -25
  41. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +164 -0
  42. package/components/common/diagramMain/modals/editSettings/tabs/{teamingFailover/TeamingFailoverOld.vue → TeamingFailover.vue} +48 -11
  43. package/components/common/diagramMain/modals/editSettings/tabs/{trafficShaping/TrafficShapingOld.vue → TrafficShaping.vue} +134 -12
  44. package/components/common/diagramMain/modals/editSettings/tabs/port/{ipvFourSettings/IpvFourSettingsOld.vue → IpvFourSettings.vue} +152 -11
  45. package/components/common/diagramMain/modals/editSettings/tabs/port/{portProperties/PortPropertiesOld.vue → PortProperties.vue} +103 -12
  46. package/components/common/diagramMain/modals/lib/config/adapterModal.ts +9 -9
  47. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +2 -43
  48. package/components/common/diagramMain/modals/lib/config/index.ts +1 -2
  49. package/components/common/diagramMain/modals/lib/config/networkModal.ts +15 -15
  50. package/components/common/diagramMain/modals/lib/config/portModal.ts +12 -12
  51. package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +2 -2
  52. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
  53. package/components/common/diagramMain/modals/lib/utils/index.ts +4 -34
  54. package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
  55. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +1 -1
  56. package/components/common/diagramMain/modals/remove/RemoveModalNew.vue +16 -67
  57. package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalNew.vue +0 -8
  58. package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
  59. package/components/common/layout/theHeader/modals/reconnect/New.vue +30 -38
  60. package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +9 -8
  61. package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +0 -4
  62. package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +2 -9
  63. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +7 -11
  64. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +1 -7
  65. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +5 -8
  66. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +5 -9
  67. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +1 -1
  68. package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +9 -5
  69. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +6 -9
  70. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -3
  71. package/components/common/modals/Rename.vue +1 -3
  72. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +2791 -2791
  73. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +295 -295
  74. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/config/index.ts +22 -22
  75. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/utils/checkSubmit.ts +46 -46
  76. package/components/common/monitor/lib/utils/local_be.json +714 -714
  77. package/components/common/monitor/lib/utils/local_en.json +714 -714
  78. package/components/common/monitor/lib/utils/local_hy.json +714 -714
  79. package/components/common/monitor/lib/utils/local_kk.json +714 -714
  80. package/components/common/monitor/lib/utils/local_ru.json +714 -714
  81. package/components/common/monitor/lib/utils/local_zh.json +714 -714
  82. package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
  83. package/components/common/pages/backups/lib/models/interfaces.ts +0 -1
  84. package/components/common/pages/backups/modals/Modals.vue +0 -1
  85. package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
  86. package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
  87. package/components/common/pages/backups/modals/lib/config/restore.ts +0 -1
  88. package/components/common/pages/backups/modals/lib/models/interfaces.ts +0 -1
  89. package/components/common/pages/backups/modals/restore/Restore.vue +2 -4
  90. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +253 -184
  91. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +1 -1
  92. package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +0 -9
  93. package/components/common/pages/scheduledTasks/table/new/New.vue +10 -12
  94. package/components/common/pages/tasks/Tasks.vue +1 -4
  95. package/components/common/pages/tasks/table/Table.vue +23 -25
  96. package/components/common/readyToComplete/New.vue +0 -1
  97. package/components/common/split/horizontal/New.vue +1 -1
  98. package/components/common/split/horizontal/Old.vue +1 -1
  99. package/components/common/split/vertical/New.vue +8 -42
  100. package/components/common/split/vertical/Old.vue +2 -31
  101. package/components/common/split/vertical/Vertical.vue +0 -4
  102. package/components/common/tools/Actions.vue +3 -7
  103. package/components/common/tools/lib/models/interfaces.ts +0 -1
  104. package/components/common/vm/actions/add/New.vue +6 -21
  105. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +1 -14
  106. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +0 -5
  107. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Old.vue +0 -1
  108. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +0 -1
  109. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +0 -2
  110. package/components/common/vm/actions/common/select/options/New.vue +12 -14
  111. package/components/common/vm/actions/common/select/options/Old.vue +15 -16
  112. package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +15 -13
  113. package/components/common/vm/actions/confirm/Confirm.vue +0 -3
  114. package/components/common/vm/actions/rename/Old.vue +0 -1
  115. package/components/common/vm/snapshots/DetailView.vue +6 -6
  116. package/components/common/wizards/datastore/add/New.vue +0 -6
  117. package/components/common/wizards/datastore/add/lib/config/steps.ts +1 -1
  118. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
  119. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
  120. package/components/common/wizards/network/add/Add.vue +2 -13
  121. package/components/common/wizards/network/add/AddNew.vue +26 -22
  122. package/components/common/wizards/network/add/lib/config/initialData.ts +4 -6
  123. package/components/common/wizards/network/add/lib/config/steps.ts +1 -1
  124. package/components/common/wizards/network/add/lib/models/interfaces.ts +0 -1
  125. package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
  126. package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue +1 -5
  127. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +8 -2
  128. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsOld.vue +0 -3
  129. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +8 -2
  130. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesOld.vue +2 -6
  131. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +3 -10
  132. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +0 -4
  133. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +1 -5
  134. package/components/common/wizards/network/add/validations/common.ts +1 -1
  135. package/components/common/wizards/vm/migrate/New.vue +3 -13
  136. package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +0 -5
  137. package/components/common/wizards/vm/migrate/lib/config/steps.ts +2 -3
  138. package/components/common/wizards/vm/migrate/steps/computeResource/New.vue +1 -2
  139. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +21 -40
  140. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +14 -44
  141. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/models/enums.ts +0 -4
  142. package/components/common/wizards/vm/migrate/steps/priority/New.vue +2 -7
  143. package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +7 -22
  144. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +0 -6
  145. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +1 -4
  146. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/lib/config/datastoreTable.ts +16 -12
  147. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue +5 -10
  148. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +11 -16
  149. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +1 -7
  150. package/components/common/wizards/vm/migrate/steps/selectStorage/selectedPerDisk/New.vue +10 -17
  151. package/components/common/wizards/vm/migrate/steps/type/TypeNew.vue +0 -1
  152. package/components/common/wizards/vm/migrate/vmOrigin/New.vue +15 -35
  153. package/lib/models/store/tasks/enums.ts +0 -3
  154. package/lib/models/store/tasks/types.ts +6 -7
  155. package/package.json +2 -2
  156. package/plugins/directives.ts +5 -3
  157. package/public/spice-console/application/agent.js +17 -18
  158. package/store/tasks/actions.ts +8 -26
  159. package/store/tasks/mappers/recentTasks.ts +0 -1
  160. package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +0 -19
  161. package/components/common/diagramMain/header/Header.vue +0 -49
  162. package/components/common/diagramMain/header/HeaderNew.vue +0 -155
  163. package/components/common/diagramMain/modals/UnsavedChangesModal.vue +0 -32
  164. package/components/common/diagramMain/modals/editSettings/EditSettingsNew.vue +0 -285
  165. package/components/common/diagramMain/modals/editSettings/EditSettingsOld.vue +0 -254
  166. package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModal.vue +0 -31
  167. package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModalNew.vue +0 -82
  168. package/components/common/diagramMain/modals/editSettings/lib/config/config.ts +0 -15
  169. package/components/common/diagramMain/modals/editSettings/lib/utils/utils.ts +0 -177
  170. package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModal.vue +0 -137
  171. package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModalNew.vue +0 -91
  172. package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkProperties.vue +0 -158
  173. package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkPropertiesNew.vue +0 -262
  174. package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettings.vue +0 -192
  175. package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettingsNew.vue +0 -388
  176. package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortProperties.vue +0 -139
  177. package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortPropertiesNew.vue +0 -286
  178. package/components/common/diagramMain/modals/editSettings/tabs/security/Security.vue +0 -209
  179. package/components/common/diagramMain/modals/editSettings/tabs/security/SecurityNew.vue +0 -233
  180. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchProperties.vue +0 -128
  181. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesNew.vue +0 -235
  182. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesOld.vue +0 -87
  183. package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailover.vue +0 -99
  184. package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailoverNew.vue +0 -319
  185. package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShaping.vue +0 -173
  186. package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShapingNew.vue +0 -348
  187. package/components/common/diagramMain/modals/managePhysicalAdapters/ManagePhysicalAdapters.vue +0 -164
  188. package/components/common/diagramMain/modals/managePhysicalAdapters/ManagePhysicalAdaptersNew.vue +0 -306
  189. package/components/common/diagramMain/skeleton/Header.vue +0 -31
  190. package/components/common/diagramMain/skeleton/Switch.vue +0 -75
  191. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +0 -340
@@ -82,18 +82,16 @@
82
82
  <ui-icon name="vertical-dotes" width="20" height="20" />
83
83
  </span>
84
84
  </ui-button>
85
- <Teleport to="body">
86
- <ui-dropdown
87
- :show="actionsShowId === item.data.id"
88
- :test-id="`event-table-action-dropdown-${item.data.id}`"
89
- :items="schedulerDropActions"
90
- :elem-id="`event-table-action-${item.data.id}`"
91
- width="max-content"
92
- left
93
- @select="onSelectAction"
94
- @hide="onHideActionsDropdown"
95
- />
96
- </Teleport>
85
+ <ui-dropdown
86
+ :show="actionsShowId === item.data.id"
87
+ :test-id="`event-table-action-dropdown-${item.data.id}`"
88
+ :items="schedulerDropActions"
89
+ :elem-id="`event-table-action-${item.data.id}`"
90
+ width="max-content"
91
+ left
92
+ @select="onSelectAction"
93
+ @hide="onHideActionsDropdown"
94
+ />
97
95
  </div>
98
96
  </template>
99
97
 
@@ -58,10 +58,7 @@ const getTasks = async (): Promise<void> => {
58
58
  sortBy: sort.value || '',
59
59
  filter: filter.value || '',
60
60
  }
61
- await $store.dispatch('tasks/A_GET_TASKS', {
62
- data: payload,
63
- project: props.project,
64
- })
61
+ await $store.dispatch('tasks/A_GET_TASKS', payload)
65
62
  }
66
63
  const onUpdatePagination = (event: UI_I_Pagination): void => {
67
64
  pagination.value = event
@@ -67,30 +67,28 @@
67
67
  <ui-icon name="vertical-dotes" width="20" height="20" />
68
68
  </span>
69
69
  </ui-button>
70
- <Teleport to="body">
71
- <ui-dropdown
72
- :show="actionsShowId === item.data.id"
73
- :test-id="`data-table-task-dropdown-${item.data.id}`"
74
- :items="actions"
75
- :elem-id="`data-table-task-action-${item.data.id}`"
76
- width="max-content"
77
- left
78
- @select="onSelectAction(item.data.target, $event)"
79
- @hide="onHideActionsDropdown"
80
- >
81
- <template #row="{ item: dropMenu }">
82
- <ui-icon
83
- v-if="dropMenu.iconName === 'hide'"
84
- name="password-hide"
85
- width="16"
86
- height="16"
87
- />
88
- <span class="action-text">
89
- {{ dropMenu.text }}
90
- </span>
91
- </template>
92
- </ui-dropdown>
93
- </Teleport>
70
+ <ui-dropdown
71
+ :show="actionsShowId === item.data.id"
72
+ :test-id="`data-table-task-dropdown-${item.data.id}`"
73
+ :items="actions"
74
+ :elem-id="`data-table-task-action-${item.data.id}`"
75
+ width="max-content"
76
+ left
77
+ @select="onSelectAction(item.data.target, $event)"
78
+ @hide="onHideActionsDropdown"
79
+ >
80
+ <template #row="{ item: dropMenu }">
81
+ <ui-icon
82
+ v-if="dropMenu.iconName === 'hide'"
83
+ name="password-hide"
84
+ width="16"
85
+ height="16"
86
+ />
87
+ <span class="action-text">
88
+ {{ dropMenu.text }}
89
+ </span>
90
+ </template>
91
+ </ui-dropdown>
94
92
  </div>
95
93
  </template>
96
94
 
@@ -164,7 +162,7 @@ const texts = computed<UI_I_TableTexts>(() => ({
164
162
  searchHere: localization.value.common.searchHere,
165
163
  rowsPerPage: localization.value.common.rowsPerPage,
166
164
  of: localization.value.common.of,
167
- selected: localization.value.common.selected2,
165
+ selected: localization.value.common.selected,
168
166
  columns: localization.value.common.columns,
169
167
  previous: localization.value.common.previous,
170
168
  next: localization.value.common.next,
@@ -74,7 +74,6 @@ const dataLocal = computed<UI_I_TableInfoItem[]>(() => {
74
74
  row-gap: 12px;
75
75
  column-gap: 24px;
76
76
  margin-top: 16px;
77
- padding-bottom: 16px;
78
77
 
79
78
  &.lang-ru {
80
79
  .details-item {
@@ -100,7 +100,7 @@ const rightPanelStyle = computed<any>(() => {
100
100
  width = `calc(${leftPanelWLocal.value}% - 1.5px)`
101
101
  }
102
102
  if (props.showToggleButton && leftPanelCollapsed.value) {
103
- width = 'calc(100% - 16px)'
103
+ width = 'calc(100% - 20px)'
104
104
  }
105
105
 
106
106
  if (props.hideLeftPanel && leftPanelCollapsed.value)
@@ -84,7 +84,7 @@ const rightPanelStyle = computed<any>(() => {
84
84
  width = `calc(${leftPanelW.value}% - 1.5px)`
85
85
  }
86
86
  if (props.showToggleButton && leftPanelCollapsed.value) {
87
- width = 'calc(100% - 16px)'
87
+ width = 'calc(100% - 20px)'
88
88
  }
89
89
 
90
90
  if (props.hideLeftPanel && leftPanelCollapsed.value)
@@ -3,22 +3,13 @@
3
3
  :id="props.elementId"
4
4
  :class="['fill-parent vertical', { dragging: props.isDrag }]"
5
5
  >
6
- <div
7
- :style="props.topPanelStyle"
8
- :class="[
9
- 'vui-horizontal-panel firstPanel',
10
- {
11
- 'hidden-second': !props.bottomPermission,
12
- },
13
- ]"
14
- >
6
+ <div :style="props.topPanelStyle" class="vui-horizontal-panel firstPanel">
15
7
  <div class="vui-horizontal-panel sec-nav-container">
16
8
  <slot name="firstPanel" />
17
9
  </div>
18
10
  </div>
19
11
 
20
12
  <div
21
- v-if="props.bottomPermission"
22
13
  :id="`gutter-${props.elementId}`"
23
14
  class="gutter gutter-vertical"
24
15
  tabindex="0"
@@ -29,16 +20,7 @@
29
20
  <div class="gutter-vertical-handler"></div>
30
21
  </div>
31
22
 
32
- <div
33
- v-if="props.bottomPermission"
34
- :style="props.bottomPanelStyle"
35
- :class="[
36
- 'secondPanel bottom',
37
- {
38
- hidden: !props.bottomPermission,
39
- },
40
- ]"
41
- >
23
+ <div :style="props.bottomPanelStyle" class="secondPanel bottom">
42
24
  <slot name="secondPanel" />
43
25
  </div>
44
26
  </div>
@@ -55,7 +37,6 @@ const props = defineProps<{
55
37
  isDrag: boolean
56
38
  topPanelStyle: UI_I_SplitVerticalStyle
57
39
  bottomPanelStyle: UI_I_SplitVerticalStyle
58
- bottomPermission: boolean
59
40
  }>()
60
41
  </script>
61
42
 
@@ -71,14 +52,10 @@ const props = defineProps<{
71
52
  </style>
72
53
 
73
54
  <style scoped lang="scss">
74
- .vertical {
55
+ .fill-parent {
75
56
  &.dragging {
76
57
  .gutter-vertical.gutter {
77
- background-color: var(--new-gutter-active-bg-color);
78
-
79
- &::before {
80
- background-color: var(--new-gutter-active-before-bg-color);
81
- }
58
+ background-color: var(--gutter-active-bg-color);
82
59
  }
83
60
  }
84
61
 
@@ -86,11 +63,6 @@ const props = defineProps<{
86
63
  max-height: calc(100% - 36px);
87
64
  height: calc(100vh - 36px);
88
65
 
89
- &.hidden-second {
90
- max-height: 100%;
91
- height: 100% !important;
92
- }
93
-
94
66
  .sec-nav-container {
95
67
  width: 100%;
96
68
  height: 100%;
@@ -123,11 +95,11 @@ const props = defineProps<{
123
95
  //}
124
96
 
125
97
  &:hover {
126
- background-color: var(--new-gutter-hover-bg-color);
98
+ background-color: var(--gutter-hover-bg-color);
127
99
  cursor: row-resize;
128
100
 
129
101
  &:before {
130
- background-color: var(--new-gutter-active-before-bg-color);
102
+ background-color: var(--gutter-handler-active-bg-color);
131
103
  }
132
104
  }
133
105
 
@@ -140,9 +112,8 @@ const props = defineProps<{
140
112
  transition-duration: 0.25s;
141
113
  width: 24px;
142
114
  height: 2px;
143
- left: 50%;
144
- top: 50%;
145
- transform: translate(-50%, -50%);
115
+ left: calc(50% - 12px);
116
+ top: calc(50% - 1px);
146
117
  border-radius: 4px;
147
118
  }
148
119
  }
@@ -151,11 +122,6 @@ const props = defineProps<{
151
122
  overflow: hidden;
152
123
  flex: 1;
153
124
  box-shadow: var(--second-panel-box-shadow);
154
-
155
- &.hidden {
156
- display: none;
157
- height: 0;
158
- }
159
125
  //z-index: calc(var(--z-default) + 1);
160
126
  }
161
127
  }
@@ -3,22 +3,13 @@
3
3
  :id="props.elementId"
4
4
  :class="['fill-parent vertical', { dragging: props.isDrag }]"
5
5
  >
6
- <div
7
- :style="props.topPanelStyle"
8
- :class="[
9
- 'vui-horizontal-panel firstPanel',
10
- {
11
- 'hidden-second': !props.bottomPermission,
12
- },
13
- ]"
14
- >
6
+ <div :style="props.topPanelStyle" class="vui-horizontal-panel firstPanel">
15
7
  <div class="vui-horizontal-panel sec-nav-container">
16
8
  <slot name="firstPanel" />
17
9
  </div>
18
10
  </div>
19
11
 
20
12
  <div
21
- v-if="props.bottomPermission"
22
13
  :id="`gutter-${props.elementId}`"
23
14
  class="gutter gutter-vertical"
24
15
  tabindex="0"
@@ -29,16 +20,7 @@
29
20
  <div class="gutter-vertical-handler"></div>
30
21
  </div>
31
22
 
32
- <div
33
- v-if="props.bottomPermission"
34
- :style="props.bottomPanelStyle"
35
- :class="[
36
- 'secondPanel bottom',
37
- {
38
- hidden: !props.bottomPermission,
39
- },
40
- ]"
41
- >
23
+ <div :style="props.bottomPanelStyle" class="secondPanel bottom">
42
24
  <slot name="secondPanel" />
43
25
  </div>
44
26
  </div>
@@ -55,7 +37,6 @@ const props = defineProps<{
55
37
  isDrag: boolean
56
38
  topPanelStyle: UI_I_SplitVerticalStyle
57
39
  bottomPanelStyle: UI_I_SplitVerticalStyle
58
- bottomPermission: boolean
59
40
  }>()
60
41
  </script>
61
42
 
@@ -71,11 +52,6 @@ const props = defineProps<{
71
52
  max-height: calc(100% - 36px);
72
53
  height: calc(100vh - 36px);
73
54
 
74
- &.hidden-second {
75
- max-height: 100%;
76
- height: 100% !important;
77
- }
78
-
79
55
  .sec-nav-container {
80
56
  width: 100%;
81
57
  height: 100%;
@@ -133,11 +109,6 @@ const props = defineProps<{
133
109
  height: auto;
134
110
  overflow: hidden;
135
111
  flex: 1;
136
-
137
- &.hidden {
138
- display: none;
139
- height: 0;
140
- }
141
112
  }
142
113
  }
143
114
  </style>
@@ -7,7 +7,6 @@
7
7
  :is-drag="isDrag"
8
8
  :top-panel-style="topPanelStyle"
9
9
  :bottom-panel-style="bottomPanelStyle"
10
- :bottom-permission="props.bottomPermission"
11
10
  >
12
11
  <template #firstPanel>
13
12
  <slot name="firstPanel" />
@@ -26,7 +25,6 @@
26
25
  :is-drag="isDrag"
27
26
  :top-panel-style="topPanelStyle"
28
27
  :bottom-panel-style="bottomPanelStyle"
29
- :bottom-permission="props.bottomPermission"
30
28
  >
31
29
  <template #firstPanel>
32
30
  <slot name="firstPanel" />
@@ -48,14 +46,12 @@ const props = withDefaults(
48
46
  topPanelH?: number
49
47
  topPanelMinHeight?: number
50
48
  bottomPanelMinHeight?: number
51
- bottomPermission?: boolean
52
49
  }>(),
53
50
  {
54
51
  topPanelMinHeight: 200, // 200px
55
52
  bottomPanelMinHeight: 200, // 200px
56
53
  topPanelHForce: '',
57
54
  topPanelH: undefined,
58
- bottomPermission: true,
59
55
  }
60
56
  )
61
57
  const emits = defineEmits<{
@@ -5,16 +5,12 @@
5
5
  :style="{ paddingRight: spaceForCollapseBtn + 'px' }"
6
6
  class="btn-group"
7
7
  >
8
- <div
9
- v-for="(button, key) in props.actions"
10
- :key="button.type"
11
- :title="button.title"
12
- >
8
+ <div v-for="(button, key) in props.actions" :key="button.type">
13
9
  <label
14
10
  v-if="button.uploaded"
15
11
  v-development="button.development"
16
12
  v-permission="button.permission"
17
- >
13
+ >
18
14
  <span
19
15
  :class="[`btn btn-link ${props.size}`]"
20
16
  :data-id="`${button.testId}-text`"
@@ -39,7 +35,7 @@
39
35
  v-development="button.development"
40
36
  v-permission="button.permission"
41
37
  :data-id="button.testId"
42
- :class="[`btn btn-link ${props.size} ${button.class}`]"
38
+ :class="[`btn btn-link ${props.size}`]"
43
39
  :disabled="button.disabled"
44
40
  @click="onClickButton(button.type)"
45
41
  >
@@ -8,5 +8,4 @@ export interface UI_I_Button {
8
8
  iconName?: string
9
9
  permission?: string
10
10
  title?: string
11
- class?: string
12
11
  }
@@ -55,13 +55,13 @@
55
55
  <div ref="subTitleBlockName">
56
56
  <div class="subtitle-block">
57
57
  <div
58
- id="name-alert-wrapper"
59
- :class="[{ 'mb-4': !isNameAlertWrapperEmpty }]"
58
+ id="name-alert-wrapper"
59
+ :class="[{ 'mb-4': !isNameAlertWrapperEmpty }]"
60
60
  ></div>
61
61
  <ui-wizard-subtitle
62
- :sub-title="
63
- localization.vmWizard.specifyUniqueNameAndTargetLocationForVm
64
- "
62
+ :sub-title="
63
+ localization.vmWizard.specifyUniqueNameAndTargetLocationForVm
64
+ "
65
65
  />
66
66
  </div>
67
67
  </div>
@@ -153,8 +153,7 @@
153
153
  :datastore="props.datastore"
154
154
  :is-datastore-loading="props.isDatastoreLoading"
155
155
  :get-datastore-table-func="props.getDatastoreTableFunc"
156
- :storage="storageLocal"
157
- @change-storage="setSelectedStorageIdLocal"
156
+ :storage="props.vmtSettings?.storage"
158
157
  @submit="emits('change-storage', $event)"
159
158
  @has-errors="isStorageAlertWrapperEmpty = $event"
160
159
  />
@@ -594,20 +593,6 @@ const isNameAlertWrapperEmpty = ref<boolean>(false)
594
593
  // const isComputeResourceAlertWrapperEmpty = ref<boolean>(false)
595
594
  const isStorageAlertWrapperEmpty = ref<boolean>(false)
596
595
  const isCompatibilityAlertWrapperEmpty = ref<boolean>(false)
597
-
598
- const storageLocal = computed<UI_I_DatastoreTableItem | undefined>(() => {
599
- return selectedStorageLocal.value ?? props.vmtSettings?.storage
600
- })
601
-
602
- /* TODO: В дальнейшем необходимо вынести все данные наружу и передавать его через v-model */
603
- // рефакторинг. При возврате на шаг выбора хранилища ранее выбранное хранилище не отображается как выбранное.
604
- // Для хранилища в v-model необходимо сохранять ID хранилища, а не ключ индекса.
605
- const selectedStorageLocal = ref<UI_I_DatastoreTableItem | null>(null)
606
- const setSelectedStorageIdLocal = (datastore: UI_I_DatastoreTableItem) => {
607
- selectedStorageLocal.value = {
608
- id: datastore.id,
609
- } as UI_I_DatastoreTableItem
610
- }
611
596
  </script>
612
597
 
613
598
  <style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <component
3
3
  :is="currentComponent"
4
- v-model:cd-dvd-media="localCdDvdMedia"
4
+ v-model:cd-dvd-media="cdDvdMedia"
5
5
  :index="props.index"
6
6
  @browse="emits('browse')"
7
7
  />
@@ -24,19 +24,6 @@ const currentComponent = computed(() =>
24
24
  ? defineAsyncComponent(() => import('./New.vue'))
25
25
  : defineAsyncComponent(() => import('./Old.vue'))
26
26
  )
27
-
28
- const localCdDvdMedia = ref<string>('')
29
-
30
- watch(cdDvdMedia, (newValue) => {
31
- localCdDvdMedia.value = newValue.replace(/^([^:]+):\//, '[$1]:/')
32
- }, { immediate: true })
33
-
34
- watch(localCdDvdMedia, (newValue) => {
35
- const cleaned = newValue.replace(/^\[([^\]]+)\]:\//, '$1:/')
36
- if (cleaned !== cdDvdMedia.value) {
37
- cdDvdMedia.value = cleaned
38
- }
39
- })
40
27
  </script>
41
28
 
42
29
  <style scoped></style>
@@ -56,11 +56,6 @@ const emits = defineEmits<{
56
56
  }>()
57
57
 
58
58
  const localization = computed<UI_I_Localization>(() => useLocal())
59
-
60
- onMounted(() => {
61
- const cdDvdMediaInputElement = document.getElementById('vm-wizard-dvd-media-input')
62
- cdDvdMediaInputElement?.classList.remove('text-ellipsis')
63
- })
64
59
  </script>
65
60
 
66
61
  <style>
@@ -12,7 +12,6 @@
12
12
  <input
13
13
  id="vm-wizard-dvd-media-input"
14
14
  v-model="cdDvdMedia"
15
- :title="cdDvdMedia"
16
15
  data-id="vm-wizard-dvd-media-input"
17
16
  type="text"
18
17
  disabled
@@ -242,7 +242,6 @@ const localization = computed<UI_I_Localization>(() => useLocal())
242
242
  .cpu-info-block {
243
243
  :deep(.help-text) {
244
244
  margin-bottom: 12px;
245
- color: var(--stack-block-text-color);
246
245
  }
247
246
  :deep(.cpu-more-info) {
248
247
  font-size: 13px;
@@ -106,8 +106,6 @@ const onSelectReservation = (value: number): void => {
106
106
 
107
107
  .ui-checkbox-label {
108
108
  min-height: unset !important;
109
- height: max-content;
110
- word-break: break-word;
111
109
  }
112
110
  }
113
111
  </style>
@@ -76,20 +76,18 @@
76
76
  {{ localization.vmWizard.powerVMAfterCreation }}
77
77
  </p>
78
78
  </div>
79
-
80
- <!-- SC-2112-->
81
- <!-- <div-->
82
- <!-- v-if="props.isNewVmFromTemplate && props.project === 'sphere'"-->
83
- <!-- class="checkbox-container"-->
84
- <!-- >-->
85
- <!-- <ui-input-->
86
- <!-- v-model="maxParallel"-->
87
- <!-- :placeholder="localization.vmWizard.maxParallel"-->
88
- <!-- test-id="max-parallel"-->
89
- <!-- type="number"-->
90
- <!-- class="ml-1 mt-2"-->
91
- <!-- />-->
92
- <!-- </div>-->
79
+ <div
80
+ v-if="props.isNewVmFromTemplate && props.project === 'sphere'"
81
+ class="checkbox-container"
82
+ >
83
+ <ui-input
84
+ v-model="maxParallel"
85
+ :placeholder="localization.vmWizard.maxParallel"
86
+ test-id="max-parallel"
87
+ type="number"
88
+ class="ml-1 mt-2"
89
+ />
90
+ </div>
93
91
  <!-- Пока что нужно скрыть-->
94
92
  <!-- <div-->
95
93
  <!-- v-if="props.isNewVmFromTemplate"-->
@@ -40,22 +40,21 @@
40
40
  }}</label>
41
41
  </div>
42
42
 
43
- <!-- SC-2112-->
44
- <!-- <div-->
45
- <!-- v-if="props.isNewVmFromTemplate && props.project === 'sphere'"-->
46
- <!-- class="checkbox"-->
47
- <!-- >-->
48
- <!-- <label for="max-parallel">{{ localization.vmWizard.maxParallel }}</label>-->
49
- <!-- <input-->
50
- <!-- id="max-parallel"-->
51
- <!-- v-model="maxParallel"-->
52
- <!-- data-id="max-parallel"-->
53
- <!-- type="number"-->
54
- <!-- class="ml-1"-->
55
- <!-- :min="1"-->
56
- <!-- :max="100"-->
57
- <!-- />-->
58
- <!-- </div>-->
43
+ <div
44
+ v-if="props.isNewVmFromTemplate && props.project === 'sphere'"
45
+ class="checkbox"
46
+ >
47
+ <label for="max-parallel">{{ localization.vmWizard.maxParallel }}</label>
48
+ <input
49
+ id="max-parallel"
50
+ v-model="maxParallel"
51
+ data-id="max-parallel"
52
+ type="number"
53
+ class="ml-1"
54
+ :min="1"
55
+ :max="100"
56
+ />
57
+ </div>
59
58
  <!-- Пока что нужно скрыть-->
60
59
  <!-- <div v-if="props.isNewVmFromTemplate" class="checkbox">-->
61
60
  <!-- &lt;!&ndash; :disabled="props.isNewVmFromTemplate"&ndash;&gt;-->