bfg-common 1.5.774 → 1.5.775

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 (298) hide show
  1. package/assets/img/icons/icons-sprite-dark-1.svg +3 -2
  2. package/assets/img/icons/icons-sprite-light-1.svg +4 -3
  3. package/assets/localization/local_be.json +27 -165
  4. package/assets/localization/local_en.json +27 -165
  5. package/assets/localization/local_hy.json +26 -164
  6. package/assets/localization/local_kk.json +26 -164
  7. package/assets/localization/local_ru.json +33 -171
  8. package/assets/localization/local_zh.json +26 -164
  9. package/assets/scss/common/global.scss +5 -5
  10. package/assets/scss/common/icons/icons-1.scss +1 -1
  11. package/assets/scss/common/icons/icons-2.scss +0 -18
  12. package/assets/scss/common/theme.scss +0 -2
  13. package/assets/scss/components/auth.scss +5 -32
  14. package/components/atoms/dropdown/tree/Tree.vue +0 -2
  15. package/components/atoms/nav/NavBar.vue +0 -1
  16. package/components/atoms/switch/Switch.vue +1 -7
  17. package/components/atoms/table/dataGrid/DataGrid.vue +20 -36
  18. package/components/atoms/wizard/Wizard.vue +1 -1
  19. package/components/common/backup/storage/actions/add/Old.vue +1 -22
  20. package/components/common/backup/storage/actions/add/lib/config/createDatastore.ts +1 -1
  21. package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeOld.vue +48 -1
  22. package/components/common/backup/storage/actions/add/steps/typeMode/lib/config/typeOptions.ts +20 -20
  23. package/components/common/backup/storage/actions/delete/Delete.vue +15 -37
  24. package/components/common/diagramMain/Header.vue +0 -4
  25. package/components/common/diagramMain/lib/models/interfaces.ts +0 -2
  26. package/components/common/diagramMain/modals/viewSettings/info/Info.vue +1 -5
  27. package/components/common/diagramMain/modals/viewSettings/info/InfoOld.vue +0 -16
  28. package/components/common/graph/graphNew/EmptyBlock.vue +1 -2
  29. package/components/common/help/navbar/left/lib/utils/constructAccordion.ts +1 -2
  30. package/components/common/help/navbar/right/Right.vue +23 -86
  31. package/components/common/layout/theHeader/TheHeader.vue +81 -44
  32. package/components/common/layout/theHeader/{New.vue → TheHeaderNew.vue} +26 -14
  33. package/components/common/layout/theHeader/{Old.vue → TheHeaderOld.vue} +21 -13
  34. package/components/common/layout/theHeader/ThemeSwitch.vue +18 -8
  35. package/components/common/layout/theHeader/feedback/new/email/Email.vue +2 -2
  36. package/components/common/layout/theHeader/helpMenu/{about/About.vue → About.vue} +22 -12
  37. package/components/common/layout/theHeader/helpMenu/HelpMenu.vue +8 -6
  38. package/components/common/layout/theHeader/helpMenu/{about/New.vue → aboutNew/AboutNew.vue} +4 -5
  39. package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +79 -0
  40. package/components/common/layout/theHeader/helpMenu/{new/New.vue → helpMenuNew/HelpMenuNew.vue} +1 -1
  41. package/components/common/layout/theHeader/helpMenu/{new → helpMenuNew}/lib/config/dropMenu.ts +1 -1
  42. package/components/common/layout/theHeader/helpMenu/{old/Old.vue → helpMenuOld/HelpMenuOld.vue} +2 -2
  43. package/components/common/layout/theHeader/helpMenu/{old → helpMenuOld}/lib/config/dropMenu.ts +1 -1
  44. package/components/common/layout/theHeader/modals/reconnect/Reconnect.vue +11 -11
  45. package/components/common/layout/theHeader/modals/reconnect/{New.vue → ReconnectNew.vue} +1 -1
  46. package/components/common/layout/theHeader/modals/reconnect/{Old.vue → ReconnectOld.vue} +0 -2
  47. package/components/common/layout/theHeader/userMenu/UserMenu.vue +28 -21
  48. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +21 -12
  49. package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +43 -36
  50. package/components/common/layout/theHeader/userMenu/modals/changePassword/Old.vue +2 -0
  51. package/components/common/layout/theHeader/userMenu/modals/changePassword/lib/utils.ts +3 -3
  52. package/components/common/layout/theHeader/userMenu/modals/preferences/Preferences.vue +44 -19
  53. package/components/common/layout/theHeader/userMenu/modals/preferences/{New.vue → PreferencesNew.vue} +16 -24
  54. package/components/common/layout/theHeader/userMenu/modals/preferences/{Old.vue → PreferencesOld.vue} +18 -10
  55. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +18 -17
  56. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/{New.vue → ChangeLanguageNew.vue} +30 -6
  57. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/{Old.vue → ChangeLanguageOld.vue} +30 -5
  58. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +20 -8
  59. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/{New.vue → DefaultConsoleNew.vue} +3 -3
  60. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/{Old.vue → DefaultConsoleOld.vue} +2 -2
  61. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/Inventory.vue +21 -7
  62. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/{New.vue → InventoryNew.vue} +2 -3
  63. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/{Old.vue → InventoryOld.vue} +2 -2
  64. package/components/common/layout/theHeader/userMenu/modals/preferences/security/New.vue +12 -277
  65. package/components/common/layout/theHeader/userMenu/modals/preferences/security/Old.vue +56 -30
  66. package/components/common/layout/theHeader/userMenu/modals/preferences/security/Security.vue +6 -65
  67. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +22 -9
  68. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/{New.vue → TimeFormatNew.vue} +3 -3
  69. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/{Old.vue → TimeFormatOld.vue} +2 -2
  70. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +22 -13
  71. package/components/common/layout/theHeader/userMenu/modals/preferences/view/{New.vue → ViewNew.vue} +38 -64
  72. package/components/common/layout/theHeader/userMenu/modals/preferences/view/{Old.vue → ViewOld.vue} +2 -21
  73. package/components/common/layout/theHeader/userMenu/{new/New.vue → userMenuNew/UserMenuNew.vue} +1 -1
  74. package/components/common/layout/theHeader/userMenu/{old/Old.vue → userMenuOld/UserMenuOld.vue} +2 -2
  75. package/components/common/layout/theHeader/userMenu/{old → userMenuOld}/lib/config/dropMenu.ts +1 -1
  76. package/components/common/monitor/advanced/graphView/GraphView.vue +0 -8
  77. package/components/common/monitor/advanced/tools/Tools.vue +1 -5
  78. package/components/common/monitor/overview/OverviewNew.vue +1 -1
  79. package/components/common/pages/backups/backupsNew/BackupsNew.vue +19 -107
  80. package/components/common/pages/backups/backupsNew/contextMenuView/ContextMenuView.vue +10 -16
  81. package/components/common/pages/backups/modals/createBackup/CreateBackup.vue +10 -6
  82. package/components/common/pages/backups/modals/createBackup/New.vue +9 -22
  83. package/components/common/pages/backups/modals/createBackup/Old.vue +10 -8
  84. package/components/common/pages/backups/modals/createBackup/configuration/ConfigurationNew.vue +3 -17
  85. package/components/common/pages/backups/modals/createBackup/datastores/Datastores.vue +0 -6
  86. package/components/common/pages/backups/modals/createBackup/datastores/DatastoresOld.vue +2 -22
  87. package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +8 -8
  88. package/components/common/pages/backups/modals/createBackup/disks/Disks.vue +0 -6
  89. package/components/common/pages/backups/modals/createBackup/disks/DisksOld.vue +1 -22
  90. package/components/common/pages/backups/modals/createBackup/disks/tableView/new/TableView.vue +1 -1
  91. package/components/common/pages/backups/modals/createBackup/disks/tableView/new/lib/config/table.ts +7 -7
  92. package/components/common/pages/backups/modals/createBackup/general/General.vue +1 -7
  93. package/components/common/pages/backups/modals/createBackup/general/GeneralNew.vue +1 -1
  94. package/components/common/pages/backups/modals/createBackup/general/GeneralOld.vue +0 -17
  95. package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +5 -5
  96. package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +1 -1
  97. package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +2 -11
  98. package/components/common/pages/backups/modals/createBackup/lib/validation/validations.ts +14 -6
  99. package/components/common/pages/backups/modals/deleteBackup/DeleteBackup.vue +0 -1
  100. package/components/common/pages/backups/modals/lib/config/restore.ts +115 -116
  101. package/components/common/pages/backups/modals/lib/models/interfaces.ts +186 -187
  102. package/components/common/pages/backups/modals/restore/Restore.vue +303 -302
  103. package/components/common/pages/backups/modals/restore/{Old.vue → RestoreOld.vue} +0 -5
  104. package/components/common/pages/backups/modals/restore/disks/Disks.vue +32 -50
  105. package/components/common/pages/backups/modals/restore/disks/DisksNew.vue +2 -2
  106. package/components/common/pages/backups/modals/restore/disks/DisksOld.vue +2 -2
  107. package/components/common/pages/backups/modals/restore/lib/config/readyToCompleteOptions.ts +62 -94
  108. package/components/common/pages/backups/modals/restore/lib/config/restoreCodes.ts +1 -1
  109. package/components/common/pages/backups/modals/restore/lib/config/steps.ts +108 -130
  110. package/components/common/pages/backups/modals/restore/types/Types.vue +19 -31
  111. package/components/common/pages/backups/modals/restore/types/{New.vue → TypesNew.vue} +95 -95
  112. package/components/common/pages/backups/modals/restore/types/{Old.vue → TypesOld.vue} +61 -62
  113. package/components/common/pages/backups/modals/restore/types/lib/config/descriptions.ts +0 -1
  114. package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +2 -7
  115. package/components/common/pages/hardwareHealth/tableView/TableView.vue +0 -8
  116. package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +1 -13
  117. package/components/common/pages/hardwareHealth/toolsPanel/lib/config/actionsPanel.ts +4 -4
  118. package/components/common/pages/home/widgets/warnings/lib/config/config.ts +2 -2
  119. package/components/common/pages/home/widgets/warnings/table/lib/config/config.ts +2 -2
  120. package/components/common/pages/home/widgets/warnings/table/lib/models/enums.ts +12 -0
  121. package/components/common/pages/scheduledTasks/table/Table.vue +11 -3
  122. package/components/common/pages/scheduledTasks/table/{expandDetails/Old.vue → detailsList/DetailsList.vue} +4 -7
  123. package/components/common/pages/scheduledTasks/table/{expandDetails/historyRun/HistoryRun.vue → detailsList/Table.vue} +5 -9
  124. package/components/common/pages/scheduledTasks/table/{expandDetails/historyRun → detailsList}/lib/config/historyRunsTable.ts +2 -4
  125. package/components/common/pages/scheduledTasks/table/{expandDetails/historyRun → detailsList}/lib/config/tableKeys.ts +1 -1
  126. package/components/common/pages/scheduledTasks/table/{expandDetails/lib/config/expandDetails.ts → detailsList/lib/config/tasksRowDetails.ts} +1 -3
  127. package/components/common/pages/scheduledTasks/table/lib/config/scheduledTasksTable.ts +0 -3
  128. package/components/common/pages/tasks/Tasks.vue +122 -125
  129. package/components/common/pages/tasks/table/Table.vue +370 -373
  130. package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +1 -1
  131. package/components/common/pages/tasks/table/lib/config/config.ts +270 -279
  132. package/components/common/qrcode/Qrcode.vue +56 -0
  133. package/components/common/selectLanguage/SelectLanguage.vue +5 -5
  134. package/components/common/split/horizontal/New.vue +2 -0
  135. package/components/common/split/vertical/New.vue +1 -2
  136. package/components/common/vm/actions/add/New.vue +11 -13
  137. package/components/common/vm/actions/add/Old.vue +1 -1
  138. package/components/common/vm/actions/clone/old/Old.vue +0 -1
  139. package/components/common/vm/actions/common/customizeHardware/virtualHardware/New.vue +36 -12
  140. package/components/common/vm/actions/common/customizeHardware/virtualHardware/Old.vue +37 -15
  141. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +50 -50
  142. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocket.vue +3 -3
  143. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces.ts +1 -3
  144. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +7 -13
  145. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/New.vue +4 -7
  146. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +45 -52
  147. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/Old.vue +8 -5
  148. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +3 -1
  149. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/New.vue +2 -2
  150. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/Old.vue +2 -2
  151. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +1 -1
  152. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/New.vue +2 -1
  153. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/Old.vue +2 -1
  154. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/New.vue +1 -1
  155. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +1 -1
  156. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/Old.vue +1 -1
  157. package/components/common/vm/actions/common/customizeHardware/vmoptions/New.vue +2 -2
  158. package/components/common/vm/actions/common/select/compatibility/New.vue +1 -0
  159. package/components/common/vm/actions/common/select/options/Old.vue +2 -1
  160. package/components/common/vm/actions/common/select/storage/new/New.vue +1 -1
  161. package/components/common/wizards/common/compatibility/New.vue +1 -1
  162. package/components/common/wizards/common/compatibility/Old.vue +1 -1
  163. package/components/common/wizards/common/steps/computeResource/New.vue +1 -9
  164. package/components/common/wizards/datastore/add/Add.vue +228 -227
  165. package/components/common/wizards/datastore/add/Old.vue +0 -16
  166. package/components/common/wizards/datastore/add/lib/config/createDatastore.ts +0 -1
  167. package/components/common/wizards/datastore/add/lib/models/interfaces.ts +0 -1
  168. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +0 -5
  169. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +0 -5
  170. package/components/common/wizards/datastore/add/steps/nameAndDevice/table/old/Old.vue +3 -2
  171. package/components/common/wizards/datastore/add/steps/readyComplete/lib/config/propertiesDetails.ts +1 -8
  172. package/components/common/wizards/datastore/add/steps/typeMode/TypeModeOld.vue +48 -1
  173. package/components/common/wizards/network/add/Add.vue +5 -28
  174. package/components/common/wizards/network/add/lib/config/config.ts +1 -1
  175. package/components/common/wizards/network/add/lib/config/initialData.ts +3 -6
  176. package/components/common/wizards/network/add/lib/config/selectConnectionTypeStep.ts +0 -1
  177. package/components/common/wizards/network/add/steps/portProperties/PortProperties.vue +192 -192
  178. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +1 -2
  179. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +6 -18
  180. package/components/common/wizards/vm/migrate/lib/models/enums.ts +2 -2
  181. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/old/lib/config/hostTable.ts +1 -1
  182. package/components/common/wizards/vm/migrate/steps/selectStorage/SelectStorage.vue +4 -4
  183. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +2 -6
  184. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +13 -29
  185. package/composables/deepCopy.ts +21 -0
  186. package/composables/useEnvLanguage.ts +8 -7
  187. package/composables/useUniqueId.ts +5 -0
  188. package/lib/config/regExp.ts +1 -1
  189. package/lib/models/enums.ts +0 -28
  190. package/lib/models/interfaces.ts +0 -2
  191. package/lib/models/types.ts +60 -59
  192. package/lib/utils/localizationMapper.ts +2 -1
  193. package/package.json +4 -3
  194. package/plugins/date.ts +37 -14
  195. package/plugins/validation.ts +6 -6
  196. package/store/main/getters.ts +2 -2
  197. package/store/tasks/actions.ts +1 -1
  198. package/store/tasks/mappers/tasks.ts +1 -8
  199. package/components/common/backup/storage/actions/add/steps/typeMode/tooltip/Tooltip.vue +0 -33
  200. package/components/common/certificate/Certificate.vue +0 -27
  201. package/components/common/certificate/CertificateInfo.vue +0 -139
  202. package/components/common/certificate/Tools.vue +0 -59
  203. package/components/common/certificate/lib/config/tabsPannel.ts +0 -22
  204. package/components/common/certificate/lib/models/interfaces.ts +0 -9
  205. package/components/common/certificate/lib/models/types.ts +0 -1
  206. package/components/common/certificate/modals/renew/New.vue +0 -64
  207. package/components/common/certificate/modals/renew/Old.vue +0 -122
  208. package/components/common/certificate/modals/renew/Renew.vue +0 -67
  209. package/components/common/configure/advancedSystemSettings/AdvancedSystemSettings.vue +0 -49
  210. package/components/common/configure/advancedSystemSettings/modals/edit/Edit.vue +0 -55
  211. package/components/common/configure/advancedSystemSettings/modals/edit/New.vue +0 -37
  212. package/components/common/configure/advancedSystemSettings/modals/edit/Old.vue +0 -46
  213. package/components/common/configure/advancedSystemSettings/tableView/TableView.vue +0 -30
  214. package/components/common/configure/advancedSystemSettings/tableView/new/New.vue +0 -193
  215. package/components/common/configure/advancedSystemSettings/tableView/new/lib/config/hostTable.ts +0 -308
  216. package/components/common/configure/advancedSystemSettings/tableView/old/Old.vue +0 -128
  217. package/components/common/configure/advancedSystemSettings/tableView/old/lib/config/table.ts +0 -93
  218. package/components/common/configure/advancedSystemSettings/tableView/old/lib/config/tableKeys.ts +0 -9
  219. package/components/common/configure/advancedSystemSettings/tableView/old/lib/models/types.ts +0 -5
  220. package/components/common/configure/advancedSystemSettings/tools/New.vue +0 -5
  221. package/components/common/configure/advancedSystemSettings/tools/Old.vue +0 -28
  222. package/components/common/configure/advancedSystemSettings/tools/Tools.vue +0 -28
  223. package/components/common/configure/securityProfile/SecurityProfile.vue +0 -28
  224. package/components/common/configure/securityProfile/lockdownMode/LockdownMode.vue +0 -112
  225. package/components/common/configure/securityProfile/lockdownMode/lib/utils/constructData.ts +0 -27
  226. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/LockdownModeEdit.vue +0 -61
  227. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/New.vue +0 -5
  228. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/Old.vue +0 -109
  229. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/exceptionUsers/ExceptionUsers.vue +0 -28
  230. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/exceptionUsers/New.vue +0 -5
  231. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/exceptionUsers/old/Old.vue +0 -180
  232. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/exceptionUsers/old/lib/config/table.ts +0 -64
  233. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/exceptionUsers/old/lib/config/tableKeys.ts +0 -6
  234. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/exceptionUsers/old/lib/models/types.ts +0 -1
  235. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/lib/config/tabs.ts +0 -19
  236. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/lockdownMode/LockdownMode.vue +0 -22
  237. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/lockdownMode/New.vue +0 -5
  238. package/components/common/configure/securityProfile/lockdownMode/modals/lockdownModeEdit/lockdownMode/Old.vue +0 -76
  239. package/components/common/configure/securityProfile/lockdownMode/tools/New.vue +0 -5
  240. package/components/common/configure/securityProfile/lockdownMode/tools/Old.vue +0 -30
  241. package/components/common/configure/securityProfile/lockdownMode/tools/Tools.vue +0 -29
  242. package/components/common/layout/console/Console.vue +0 -70
  243. package/components/common/layout/console/lib/models/interfaces.ts +0 -10
  244. package/components/common/layout/theHeader/helpMenu/about/Old.vue +0 -78
  245. package/components/common/pages/auth/TheFooter.vue +0 -104
  246. package/components/common/pages/backups/backupsNew/Skeleton.vue +0 -136
  247. package/components/common/pages/files/lib/models/enums.ts +0 -36
  248. package/components/common/pages/scheduledTasks/table/expandDetails/ExpandDetails.vue +0 -30
  249. package/components/common/pages/scheduledTasks/table/expandDetails/New.vue +0 -61
  250. package/components/common/pages/tasks/table/lib/models/interfaces.ts +0 -9
  251. package/components/common/qr/Qr.vue +0 -69
  252. package/components/common/vm/snapshots/DetailView.vue +0 -90
  253. package/components/common/vm/snapshots/Old.vue +0 -71
  254. package/components/common/vm/snapshots/Snapshots.vue +0 -82
  255. package/components/common/vm/snapshots/lib/models/interfaces.ts +0 -5
  256. package/components/common/vm/snapshots/lib/models/types.ts +0 -11
  257. package/components/common/vm/snapshots/modals/confirm/Confirm.vue +0 -48
  258. package/components/common/vm/snapshots/modals/confirm/New.vue +0 -128
  259. package/components/common/vm/snapshots/modals/confirm/Old.vue +0 -140
  260. package/components/common/vm/snapshots/modals/confirm/lib/models/enums.ts +0 -19
  261. package/components/common/vm/snapshots/modals/lib/config/modalTexts.ts +0 -30
  262. package/components/common/vm/snapshots/modals/takeOrEdit/Old.vue +0 -220
  263. package/components/common/vm/snapshots/modals/takeOrEdit/TakeOrEdit.vue +0 -51
  264. package/components/common/vm/snapshots/modals/takeOrEdit/new/New.vue +0 -184
  265. package/components/common/vm/snapshots/modals/takeOrEdit/new/lib/utils/getSnapshotsName.ts +0 -15
  266. package/components/common/vm/snapshots/new/New.vue +0 -471
  267. package/components/common/vm/snapshots/new/Skeleton.vue +0 -136
  268. package/components/common/vm/snapshots/new/contextMenuView/ContextMenuView.vue +0 -103
  269. package/components/common/vm/snapshots/new/contextMenuView/lib/config/contextMenuItems.ts +0 -34
  270. package/components/common/vm/snapshots/new/lib/models/interfaces.ts +0 -12
  271. package/components/common/vm/snapshots/new/lib/utils/contextMenu.ts +0 -29
  272. package/components/common/vm/snapshots/new/lib/utils/details.ts +0 -48
  273. package/components/common/vm/snapshots/tools/Tools.vue +0 -56
  274. package/components/common/vm/snapshots/tools/lib/config/tabsPannel.ts +0 -39
  275. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/AdvancedOptions.vue +0 -43
  276. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +0 -114
  277. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/Old.vue +0 -114
  278. package/components/common/wizards/datastore/add/steps/typeMode/tooltip/Tooltip.vue +0 -33
  279. package/composables/useBrowse.ts +0 -24
  280. package/lib/models/composables/useBrowse/interfaces.ts +0 -4
  281. package/store/inventory/modules/configure/advancedSystemSettings/actions.ts +0 -122
  282. package/store/inventory/modules/configure/advancedSystemSettings/getters.ts +0 -9
  283. package/store/inventory/modules/configure/advancedSystemSettings/lib/models/interfaces.ts +0 -11
  284. package/store/inventory/modules/configure/advancedSystemSettings/mutations.ts +0 -12
  285. package/store/inventory/modules/configure/advancedSystemSettings/state.ts +0 -9
  286. package/store/inventory/modules/configure/advancedSystemSettings/store.ts +0 -12
  287. package/store/inventory/modules/configure/securityProfile/actions.ts +0 -58
  288. package/store/inventory/modules/configure/securityProfile/getters.ts +0 -10
  289. package/store/inventory/modules/configure/securityProfile/lib/models/interfaces.ts +0 -16
  290. package/store/inventory/modules/configure/securityProfile/mutations.ts +0 -13
  291. package/store/inventory/modules/configure/securityProfile/state.ts +0 -7
  292. package/store/inventory/modules/configure/securityProfile/store.ts +0 -12
  293. package/store/inventory/modules/snapshots/lib/models/interfaces.ts +0 -45
  294. /package/components/common/layout/theHeader/helpMenu/{old → helpMenuOld}/lib/models/types.ts +0 -0
  295. /package/components/common/layout/theHeader/userMenu/{new → userMenuNew}/lib/config/dropMenu.ts +0 -0
  296. /package/components/common/layout/theHeader/userMenu/{old → userMenuOld}/lib/models/types.ts +0 -0
  297. /package/components/common/pages/backups/modals/restore/{New.vue → RestoreNew.vue} +0 -0
  298. /package/components/common/pages/scheduledTasks/table/{expandDetails/historyRun → detailsList}/lib/models/types.ts +0 -0
@@ -1,64 +1,38 @@
1
- <template>
2
- <form id="view-form">
3
- <!-- TODO Shorten code by the new component for the form -->
4
- <div class="flex">
5
- <ui-modal-icon>
6
- <ui-icon-icon3 name="eye-open" width="20" height="20" />
7
- </ui-modal-icon>
8
- <div>
9
- <div class="form-first-title">
10
- {{ localization.common.view }}
11
- </div>
12
- <div class="form-second-title">
13
- {{ props.description }}
14
- </div>
15
-
16
- <div class="flex-align-center new-view-switch-container">
17
- <ui-switch
18
- v-model="newViewLocal"
19
- :label="localization.common.newView"
20
- test-id="view-switch"
21
- />
22
- </div>
23
- </div>
24
- </div>
25
- <div class="flex mt-4">
26
- <div style="width: 38px" class="mr-3"></div>
27
- <div>
28
- <div class="form-second-title">
29
- {{ localization.myPreferences.showNotificationDescription }}
30
- </div>
31
-
32
- <div class="flex-align-center new-view-switch-container">
33
- <ui-switch
34
- v-model="isShowNotification"
35
- :label="localization.myPreferences.showNotification"
36
- test-id="show-notification-switch"
37
- />
38
- </div>
39
- </div>
40
- </div>
41
- </form>
42
- </template>
43
-
44
- <script setup lang="ts">
45
- import type { UI_I_Localization } from '~/lib/models/interfaces'
46
-
47
- const newViewLocal = defineModel<boolean>()
48
- const isShowNotification = defineModel<boolean>('isShowNotification')
49
-
50
- const props = defineProps<{
51
- description: string
52
- }>()
53
-
54
- const localization = computed<UI_I_Localization>(() => useLocal())
55
- </script>
56
-
57
- <style lang="scss" scoped>
58
- .new-view-switch-container {
59
- :deep(.switch-content .switch-label) {
60
- font-size: 13px;
61
- font-weight: 400;
62
- }
63
- }
64
- </style>
1
+ <template>
2
+ <form id="view-form">
3
+ <!-- TODO Shorten code by the new component for the form -->
4
+ <div class="flex">
5
+ <ui-modal-icon>
6
+ <ui-icon-icon3 name="eye-open" width="20" height="20" />
7
+ </ui-modal-icon>
8
+ <div>
9
+ <div class="form-first-title">
10
+ {{ localization.common.view }}
11
+ </div>
12
+ <div class="form-second-title">
13
+ {{ props.description }}
14
+ </div>
15
+
16
+ <div class="flex-align-center">
17
+ <ui-switch
18
+ v-model="newViewLocal"
19
+ :label="localization.common.newView"
20
+ test-id="view-switch"
21
+ />
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </form>
26
+ </template>
27
+
28
+ <script setup lang="ts">
29
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
30
+
31
+ const props = defineProps<{
32
+ description: string
33
+ }>()
34
+
35
+ const newViewLocal = defineModel<boolean>()
36
+
37
+ const localization = computed<UI_I_Localization>(() => useLocal())
38
+ </script>
@@ -14,35 +14,20 @@
14
14
  class="switch"
15
15
  />
16
16
  </div>
17
-
18
- <div class="description second-description">
19
- {{ localization.myPreferences.showNotificationDescription }}
20
- </div>
21
-
22
- <div class="flex-align-center">
23
- <label for="view">{{ localization.myPreferences.showNotification }}</label>
24
- <input
25
- id="view"
26
- v-model="isShowNotification"
27
- type="checkbox"
28
- class="switch"
29
- />
30
- </div>
31
17
  </form>
32
18
  </template>
33
19
 
34
20
  <script setup lang="ts">
35
21
  import type { UI_I_Localization } from '~/lib/models/interfaces'
36
22
 
37
- const newViewLocal = defineModel<boolean>()
38
- const isShowNotification = defineModel<boolean>('isShowNotification')
39
-
40
23
  const props = defineProps<{
41
24
  description: string
42
25
  }>()
43
26
 
44
27
  const localization = computed<UI_I_Localization>(() => useLocal())
45
28
 
29
+ const newViewLocal = defineModel<boolean>()
30
+
46
31
  const isDisabled = ref<boolean>(true)
47
32
  // @ts-ignore
48
33
  window.tools = new Proxy(
@@ -59,10 +44,6 @@ window.tools = new Proxy(
59
44
  <style lang="scss" scoped>
60
45
  .description {
61
46
  margin-bottom: 10px;
62
-
63
- &.second-description {
64
- margin-top: 20px;
65
- }
66
47
  }
67
48
 
68
49
  label {
@@ -64,7 +64,7 @@
64
64
  <script setup lang="ts">
65
65
  import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
66
66
  import type { UI_I_Localization } from '~/lib/models/interfaces'
67
- import { userMenuFunc } from '~/components/common/layout/theHeader/userMenu/new/lib/config/dropMenu'
67
+ import { userMenuFunc } from '~/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu'
68
68
 
69
69
  const props = defineProps<{
70
70
  hostname: string
@@ -12,8 +12,8 @@
12
12
  <script setup lang="ts">
13
13
  import type { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
14
14
  import type { UI_I_Localization } from '~/lib/models/interfaces'
15
- import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/old/lib/models/types'
16
- import { accountMenuFunc } from '~/components/common/layout/theHeader/userMenu/old/lib/config/dropMenu'
15
+ import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/userMenuOld/lib/models/types'
16
+ import { accountMenuFunc } from '~/components/common/layout/theHeader/userMenu/userMenuOld/lib/config/dropMenu'
17
17
 
18
18
  const props = defineProps<{
19
19
  hostname: string
@@ -1,6 +1,6 @@
1
1
  import type { UI_I_Localization } from '~/lib/models/interfaces'
2
2
  import type { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
3
- import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/old/lib/models/types'
3
+ import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/userMenuOld/lib/models/types'
4
4
 
5
5
  export const accountMenuFunc = (
6
6
  localization: UI_I_Localization
@@ -138,14 +138,6 @@ watch(
138
138
  },
139
139
  { immediate: true }
140
140
  )
141
-
142
- const updateTimeFormatAndInterfaceLang = computed<number>(
143
- () => $store.getters['main/getUpdateTimeFormatAndInterfaceLang']
144
- )
145
-
146
- watch(updateTimeFormatAndInterfaceLang, () => {
147
- startChart()
148
- })
149
141
  </script>
150
142
 
151
143
  <style scoped lang="scss"></style>
@@ -178,10 +178,6 @@ const routeType = '' + useRoute().params.type
178
178
 
179
179
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
180
180
 
181
- const updateTimeFormatAndInterfaceLang = computed<number>(
182
- () => $store.getters['main/getUpdateTimeFormatAndInterfaceLang']
183
- )
184
-
185
181
  const localSelectedTimespanType = computed<string>({
186
182
  get() {
187
183
  return props.selectedTimespanType
@@ -282,7 +278,7 @@ const updateTools = (): void => {
282
278
  }
283
279
 
284
280
  const chartTitleDate = computed<string>(() => {
285
- if (!props.startDate || !updateTimeFormatAndInterfaceLang.value) return ''
281
+ if (!props.startDate) return ''
286
282
 
287
283
  const start = $formattedDatetime(props.startDate, { hasSeconds: true })
288
284
  const end = $formattedDatetime(props.endDate, { hasSeconds: true })
@@ -50,7 +50,7 @@ watch([width, height], () => {
50
50
  height: 100%;
51
51
  gap: 12px;
52
52
  padding: 4px 16px 16px 16px;
53
- grid-template-rows: 400px 400px;
53
+ grid-template-rows: 400px;
54
54
 
55
55
  &.has-scroll {
56
56
  padding-right: 3px;
@@ -1,14 +1,12 @@
1
1
  <template>
2
- <common-pages-backups-backups-new-skeleton v-if="props.backupsLoading" />
3
2
  <div
4
- v-else
5
3
  :class="[
6
4
  'backups-page grid h-inherit p-4 overflow-hidden ',
7
5
  { 'selected gap-3': props.detailData },
8
6
  ]"
9
7
  >
10
- <div class="left-content overflow-auto grid p-4">
11
- <div class="flex justify-between gap-4 flex-wrap">
8
+ <div class="left-content grid p-4">
9
+ <div class="flex justify-between">
12
10
  <h3 class="title-block font-[500] text-[16px]">
13
11
  {{ localization.inventoryTabs.backups }} ({{
14
12
  props.backupsTree.length
@@ -19,11 +17,10 @@
19
17
  v-permission="props.createBackupPermission"
20
18
  test-id="take-backup-btn"
21
19
  size="md"
22
- class="create-backup-button"
23
20
  @click="emits('set-action', 'createBackup')"
24
21
  >
25
- <ui-icon name="plus" width="20" height="20" class="mr-2 icon" />
26
- {{ localization.common.createBackup }}
22
+ <ui-icon name="plus" width="20" height="20" class="mr-2" />
23
+ {{ localization.common.createBackup }}...
27
24
  </ui-button>
28
25
  </div>
29
26
  <div
@@ -31,17 +28,16 @@
31
28
  class="backups-tree-content overflow-y-auto my-4 px-2 pb-2"
32
29
  >
33
30
  <ui-tree
31
+ :is-loading="props.backupsLoading"
34
32
  :nodes="props.backupsTree"
35
33
  @select-node="emits('select-node', $event)"
36
34
  @toggle-node="emits('show-nodes', $event.id)"
37
35
  @show-context-menu="showContextMenu"
38
36
  >
39
37
  <template #content="{ node }">
40
- <div class="flex-align-center gap-2">
38
+ <div class="flex-align-center">
41
39
  <span :class="['node-icon', node.iconClassName]"></span>
42
- <span class="node-name text-ellipsis text-3">{{
43
- node.name
44
- }}</span>
40
+ <span class="node-name text-ellipsis">{{ node.name }}</span>
45
41
  </div>
46
42
  </template>
47
43
  </ui-tree>
@@ -56,7 +52,7 @@
56
52
  <p class="title-block font-[400] text-[16px] mt-2">
57
53
  {{ localization.common.noBackupsAvailable }}
58
54
  </p>
59
- <p class="description-block mt-[6px] text-[13px] text-center">
55
+ <p class="description-block mt-[6px] text-[13px]">
60
56
  {{ localization.common.noBackupsAvailableDesc }}
61
57
  </p>
62
58
  </div>
@@ -82,7 +78,7 @@
82
78
  v-if="props.detailData"
83
79
  class="backups-details overflow-hidden flex-direction-column p-4"
84
80
  >
85
- <div class="flex justify-between mb-6 gap-4 pr-4 flex-wrap">
81
+ <div class="flex justify-between mb-6">
86
82
  <h3 class="title-block font-[500] text-[16px]">
87
83
  {{ localization.common.backupDetails }}
88
84
  </h3>
@@ -146,13 +142,7 @@
146
142
  </ui-tooltip>
147
143
  </div>
148
144
  </div>
149
- <div
150
- ref="detailsScrollBlock"
151
- :class="[
152
- 'grid row-gap-3 pr-4 overflow-y-auto details-scroll-block',
153
- { 'has-scroll': hasScroll },
154
- ]"
155
- >
145
+ <div class="grid row-gap-3 overflow-y-auto">
156
146
  <ui-info-block
157
147
  v-for="(item, index) in currentDetailsData"
158
148
  :key="index"
@@ -163,12 +153,9 @@
163
153
  <ui-icon
164
154
  v-if="item.labelIcon"
165
155
  :name="item.labelIcon"
166
- :class="[
167
- 'info-label-icon mr-[10px]',
168
- `icon-name-${item.labelIcon}`,
169
- ]"
170
156
  width="20"
171
157
  height="20"
158
+ class="info-label-icon mr-[10px]"
172
159
  />
173
160
  <span class="info-label">{{ item.label }}</span>
174
161
  </div>
@@ -196,8 +183,6 @@
196
183
  </template>
197
184
 
198
185
  <script setup lang="ts">
199
- import { useTemplateRef } from 'vue'
200
- import { useElementSize } from '@vueuse/core'
201
186
  import type { UI_I_InfoBlock } from '~/node_modules/bfg-uikit/components/ui/infoBlock/models/interfaces'
202
187
  import type { UI_I_Localization } from '~/lib/models/interfaces'
203
188
  import type { UI_I_BackupsTreeNode } from '~/components/common/pages/backups/lib/models/interfaces'
@@ -236,15 +221,6 @@ const onSelectContextMenuItem = (actionType: UI_T_BackupActionType): void => {
236
221
  const currentDetailsData = computed<UI_I_InfoBlock[]>(() =>
237
222
  constructDetails(localization.value, props.detailData)
238
223
  )
239
-
240
- const detailsElement = useTemplateRef<HTMLDivElement>('detailsScrollBlock')
241
- const { height } = useElementSize(detailsElement)
242
-
243
- const hasScroll = computed<boolean>(
244
- () =>
245
- height.value &&
246
- detailsElement.value?.scrollHeight > detailsElement.value?.clientHeight
247
- )
248
224
  </script>
249
225
 
250
226
  <style>
@@ -252,9 +228,7 @@ const hasScroll = computed<boolean>(
252
228
  --backups-page-inner-block-bg: #ffffff;
253
229
  --backups-page-title-color: #4d5d69;
254
230
  --backups-page-tree-border-color: #e9ebed;
255
- --backups-page-tree-block-bg-color: #ffffff;
256
231
  --backups-page-details-action-color: #4d5d69;
257
- --backups-page-details-action-line-color: #e9ebeda3;
258
232
  --backups-page-details-action-hover-color: #213444;
259
233
  --backups-page-info-block-label-color: #4d5d69;
260
234
  --backups-page-info-block-value-color: #182531;
@@ -263,9 +237,7 @@ const hasScroll = computed<boolean>(
263
237
  --backups-page-inner-block-bg: #334453;
264
238
  --backups-page-title-color: #e9eaec;
265
239
  --backups-page-tree-border-color: #e9ebed1f;
266
- --backups-page-tree-block-bg-color: #1b2a371f;
267
240
  --backups-page-details-action-color: #e9eaec;
268
- --backups-page-details-action-line-color: #e9ebed1f;
269
241
  --backups-page-details-action-hover-color: #ffffff;
270
242
  --backups-page-info-block-label-color: #e9eaec;
271
243
  --backups-page-info-block-value-color: #e9eaec;
@@ -281,13 +253,6 @@ const hasScroll = computed<boolean>(
281
253
  .title-block {
282
254
  color: var(--backups-page-title-color);
283
255
  }
284
- .create-backup-button {
285
- white-space: nowrap;
286
-
287
- .icon {
288
- min-width: 20px;
289
- }
290
- }
291
256
 
292
257
  .left-content {
293
258
  background-color: var(--backups-page-inner-block-bg);
@@ -298,24 +263,15 @@ const hasScroll = computed<boolean>(
298
263
  .backups-tree-content {
299
264
  border: 1px solid var(--backups-page-tree-border-color);
300
265
  border-radius: 8px;
301
- background-color: var(--backups-page-tree-block-bg-color);
302
266
 
303
- :deep(.tree-container) {
304
- width: max-content;
305
- min-width: 100%;
267
+ :deep(.tree-content) {
268
+ padding-right: 8px;
306
269
 
307
- .tree-content {
308
- //padding-right: 8px;
270
+ .node-wrapper {
271
+ border-radius: 4px;
309
272
 
310
- .node-wrapper {
311
- border-radius: 4px;
312
-
313
- .toggle-button-empty {
314
- display: none;
315
- }
316
- .node-element {
317
- line-height: 20px;
318
- }
273
+ .node-element {
274
+ line-height: 20px;
319
275
  }
320
276
  }
321
277
  }
@@ -327,10 +283,6 @@ const hasScroll = computed<boolean>(
327
283
  }
328
284
  }
329
285
  .delete-all {
330
- &.disabled {
331
- color: #bdc3c7;
332
- }
333
-
334
286
  &:not(.disabled) {
335
287
  color: #ea3223;
336
288
  }
@@ -340,18 +292,12 @@ const hasScroll = computed<boolean>(
340
292
  background-color: var(--backups-page-inner-block-bg);
341
293
  box-shadow: 0 1px 4px 0 #00000014;
342
294
  border-radius: 8px;
343
- padding-right: 0;
344
295
 
345
296
  .details-actions-block {
346
297
  .border-line {
347
298
  width: 1px;
348
299
  height: 20px;
349
- background-color: var(--backups-page-details-action-line-color);
350
- }
351
- .restore-backups-btn {
352
- :deep(path) {
353
- stroke-width: 1.7;
354
- }
300
+ background-color: #e9ebeda3;
355
301
  }
356
302
  .restore-backups-btn,
357
303
  .edit-backups-btn {
@@ -365,38 +311,18 @@ const hasScroll = computed<boolean>(
365
311
  color: #ea3223;
366
312
  }
367
313
  }
368
- .details-scroll-block {
369
- padding-right: 0;
370
-
371
- &:not(.has-scroll) {
372
- padding-right: 16px;
373
- }
374
- }
375
314
  .info-block-label-content {
376
315
  .info-label-icon {
377
316
  color: #9da6ad;
378
317
  min-width: 20px;
379
-
380
- &.icon-name-vsphere-icon-storage-system-refresh {
381
- :deep(path) {
382
- stroke-width: 1.4;
383
- }
384
- }
385
318
  }
386
319
  .info-label {
387
- margin-top: 1px;
388
- line-height: 18px;
320
+ margin-top: 2.5px;
389
321
  color: var(--backups-page-info-block-label-color);
390
322
  }
391
323
  }
392
324
  .empty-description {
393
325
  color: #9da6ad;
394
- margin-top: 1px;
395
- line-height: 18px;
396
- text-align: right;
397
- }
398
- :deep(.ui-main-info-block-item) {
399
- grid-column-gap: 10px;
400
326
  }
401
327
  :deep(.ui-main-info-block-item-right) {
402
328
  white-space: unset !important;
@@ -407,25 +333,12 @@ const hasScroll = computed<boolean>(
407
333
  }
408
334
  :deep(.ui-main-info-block-item-right-value) {
409
335
  color: var(--backups-page-info-block-value-color);
410
- font-size: 13px;
411
- font-weight: 400;
412
- line-height: 18px;
413
- margin-top: 1px;
414
336
  }
415
337
  :deep(.ui-main-info-block-item-right-open) {
416
338
  display: none;
417
339
  }
418
340
  }
419
341
  }
420
- :root.dark-theme {
421
- .left-content {
422
- .delete-all {
423
- &.disabled {
424
- opacity: 0.44;
425
- }
426
- }
427
- }
428
- }
429
342
 
430
343
  @media (max-width: 1200px) {
431
344
  .backups-page {
@@ -433,7 +346,6 @@ const hasScroll = computed<boolean>(
433
346
 
434
347
  &.selected {
435
348
  grid-template-columns: 1fr;
436
- grid-template-rows: minmax(189px, 1fr) 1fr;
437
349
  }
438
350
 
439
351
  .backups-details {
@@ -80,26 +80,20 @@ const onSelectContextMenuItem = (item: UI_I_ContextMenuItem): void => {
80
80
 
81
81
  <style scoped lang="scss">
82
82
  .backups-context-menu-view {
83
- :deep(.context-wrap) {
84
- min-width: 112px;
83
+ :deep(.menu-item) {
84
+ .context-icon {
85
+ display: none;
86
+ }
85
87
 
86
- .menu-item {
87
- .context-icon {
88
- display: none;
89
- }
88
+ .item-ui-icon {
89
+ margin-right: 8px;
90
+ }
90
91
 
91
- .item-ui-icon {
92
- margin-right: 8px;
93
- width: 16px;
94
- height: 16px;
95
- }
92
+ &:last-child {
93
+ color: #ea3223;
96
94
 
97
- &:last-child {
95
+ .context-link:hover {
98
96
  color: #ea3223;
99
-
100
- .context-link:hover {
101
- color: #ea3223;
102
- }
103
97
  }
104
98
  }
105
99
  }
@@ -28,6 +28,7 @@
28
28
  :selected-scheme="selectedScheme"
29
29
  :alert-messages="alertMessages"
30
30
  :title="title"
31
+ :alert-errors="errors"
31
32
  :is-scheduled-tasks="props.isScheduledTasks"
32
33
  :is-edit-scheduled-tasks="props.isEditScheduledTasks"
33
34
  :target="props.target"
@@ -73,11 +74,10 @@ import {
73
74
  import type {UI_I_NameCheck} from "~/components/common/pages/backups/modals/restore/name/lib/models/interfaces";
74
75
  import type {UI_I_SelectInputItem} from "~/components/common/select/input/lib/models/interfaces";
75
76
  import type {UI_I_TableInfoItem} from "~/components/atoms/table/info/lib/models/interfaces";
76
- import type {UI_I_ScheduleNewTasksForm} from "~/components/common/pages/scheduledTasks/modals/lib/models/interfaces";
77
77
 
78
78
 
79
79
  const backupForm = defineModel<UI_I_CreateBackupForm>({ required: true })
80
- const schedulerForm = defineModel<UI_I_ScheduleNewTasksForm>('schedulerForm', { required: true })
80
+ const schedulerForm = defineModel('schedulerForm', { required: true })
81
81
 
82
82
  const props = defineProps<{
83
83
  isEdit?: boolean // ToDo проверить на использование
@@ -152,13 +152,13 @@ const validationFunc = async (
152
152
  }
153
153
 
154
154
  if (wizard.isValidateForStep(dynamicSteps.disks, currentStep.id, nextStep.id)) {
155
- const disksValidation = checkDisks(value, backupForm.value, wizard, localization.value)
155
+ const disksValidation = checkDisks(value, backupForm.value, wizard, localization.value, showValidationErrors, onRemoveValidationErrors)
156
156
  value = disksValidation.newValue
157
157
  stepHasError = disksValidation.stepHasError
158
158
  }
159
159
 
160
160
  if (wizard.isValidateForStep(dynamicSteps.datastores, currentStep.id, nextStep.id)) {
161
- const datastoreValidation = checkDatastore(value, backupForm.value, wizard, localization.value)
161
+ const datastoreValidation = checkDatastore(value, backupForm.value, wizard, localization.value, showValidationErrors, onRemoveValidationErrors)
162
162
  value = datastoreValidation.newValue
163
163
  stepHasError = datastoreValidation.stepHasError
164
164
  }
@@ -176,8 +176,12 @@ const validationFunc = async (
176
176
  }
177
177
  }
178
178
 
179
- const onRemoveValidationErrors = (stepId: number): void => {
180
- wizard.hideAlertMessagesByStepId(stepId)
179
+ const errors = ref<string[]>([])
180
+ const showValidationErrors = (data: string[]): void => {
181
+ errors.value = data
182
+ }
183
+ const onRemoveValidationErrors = (): void => {
184
+ errors.value = []
181
185
  }
182
186
 
183
187
  const strategyOptions = ref<UI_I_SelectInputItem[]>(