bfg-common 1.6.95 → 1.6.97

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 (498) hide show
  1. package/.idea/inspectionProfiles/Project_Default.xml +3 -1
  2. package/assets/img/icons/icons-sprite-dark-5.svg +15 -2
  3. package/assets/img/icons/icons-sprite-light-5.svg +18 -5
  4. package/assets/localization/local_be.json +667 -51
  5. package/assets/localization/local_en.json +690 -73
  6. package/assets/localization/local_hy.json +670 -54
  7. package/assets/localization/local_kk.json +668 -52
  8. package/assets/localization/local_ru.json +704 -88
  9. package/assets/localization/local_zh.json +667 -51
  10. package/assets/scss/clarity/local_ar.json +12 -12
  11. package/assets/scss/common/global.scss +11 -0
  12. package/assets/scss/common/normalize.scss +3 -0
  13. package/assets/scss/common/theme.scss +2 -2
  14. package/components/atoms/dropdown/dropdown/Dropdown.vue +10 -8
  15. package/components/atoms/dropdown/dropdown/lib/models/interfaces.ts +1 -0
  16. package/components/atoms/list/dragDropList/DragDropList.vue +14 -10
  17. package/components/atoms/stack/StackBlock.vue +1 -1
  18. package/components/atoms/table/dataGrid/DataGrid.vue +4 -0
  19. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -2
  20. package/components/atoms/tooltip/TooltipError.vue +3 -0
  21. package/components/common/adapterManager/AdapterManagerNew.vue +128 -6
  22. package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +64 -31
  23. package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +3 -4
  24. package/components/common/adapterManager/ui/actions/bar/Bar.vue +2 -0
  25. package/components/common/adapterManager/ui/actions/bar/BarNew.vue +3 -2
  26. package/components/common/adapterManager/ui/actions/moveDownAdapterButton/MoveDownAdapterButtonNew.vue +1 -0
  27. package/components/common/adapterManager/ui/actions/moveUpAdapterButton/MoveUpAdapterButtonNew.vue +1 -0
  28. package/components/common/adapterManager/ui/noSelectedAdapter/NoSelectedAdapterNew.vue +10 -4
  29. package/components/common/adapterManager/ui/secondTitle/SecondTitleNew.vue +16 -1
  30. package/components/common/adapterManager/ui/table/TableNew.vue +3 -2
  31. package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +70 -36
  32. package/components/common/adapterManager/ui/table/header/HeaderNew.vue +5 -1
  33. package/components/common/certificate/Certificate.vue +16 -6
  34. package/components/common/certificate/Info/Info.vue +61 -0
  35. package/components/common/certificate/{CertificateInfo.vue → Info/Old.vue} +6 -28
  36. package/components/common/certificate/Info/new/New.vue +285 -0
  37. package/components/common/certificate/Info/new/lib/config/index.ts +59 -0
  38. package/components/common/certificate/Info/new/lib/models/interfaces.ts +3 -0
  39. package/components/common/certificate/Info/new/lib/utils/index.ts +10 -0
  40. package/components/common/certificate/Old.vue +27 -0
  41. package/components/common/certificate/new/New.vue +30 -0
  42. package/components/common/certificate/new/Skeleton.vue +155 -0
  43. package/components/common/certificate/tools/New.vue +48 -0
  44. package/components/common/certificate/tools/Old.vue +39 -0
  45. package/components/common/certificate/{Tools.vue → tools/Tools.vue} +18 -23
  46. package/components/common/certificate/tools/lib/config/tabsPannel.ts +20 -0
  47. package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +190 -0
  48. package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +392 -0
  49. package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +307 -0
  50. package/components/common/configure/physicalAdapters/buttons/Buttons.vue +106 -0
  51. package/components/common/configure/physicalAdapters/emptyBlock/EmptyBlock.vue +17 -0
  52. package/components/common/configure/physicalAdapters/emptyBlock/EmptyBlockNew.vue +37 -0
  53. package/components/common/configure/physicalAdapters/emptyBlock/EmptyBlockOld.vue +26 -0
  54. package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +124 -0
  55. package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +232 -0
  56. package/components/common/configure/physicalAdapters/modals/edit/EditOld.vue +170 -0
  57. package/components/common/configure/physicalAdapters/modals/edit/lib/config/config.ts +59 -0
  58. package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +17 -0
  59. package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +19 -0
  60. package/components/common/configure/physicalAdapters/tableView/TableView.vue +43 -0
  61. package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +345 -0
  62. package/components/common/configure/physicalAdapters/tableView/TableViewOld.vue +334 -0
  63. package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfig.ts +177 -0
  64. package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +191 -0
  65. package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +129 -0
  66. package/components/common/configure/physicalAdapters/tableView/lib/config/tableKeys.ts +14 -0
  67. package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +33 -0
  68. package/components/common/configure/physicalAdapters/tableView/lib/models/types.ts +11 -0
  69. package/components/common/configure/physicalAdapters/tableView/mappers/mappers.ts +43 -0
  70. package/components/common/context/recursion/RecursionNew.vue +1 -2
  71. package/components/common/context/recursion/RecursionOld.vue +2 -2
  72. package/components/common/diagramMain/Diagram.vue +169 -85
  73. package/components/common/diagramMain/DiagramMain.vue +40 -10
  74. package/components/common/diagramMain/header/Header.vue +49 -0
  75. package/components/common/diagramMain/header/HeaderNew.vue +155 -0
  76. package/components/common/diagramMain/{Header.vue → header/HeaderOld.vue} +78 -67
  77. package/components/common/diagramMain/modals/Modals.vue +5 -5
  78. package/components/common/diagramMain/modals/UnsavedChangesModal.vue +32 -0
  79. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +104 -102
  80. package/components/common/diagramMain/modals/editSettings/EditSettingsNew.vue +285 -0
  81. package/components/common/diagramMain/modals/editSettings/EditSettingsOld.vue +254 -0
  82. package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModal.vue +31 -0
  83. package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModalNew.vue +82 -0
  84. package/components/common/diagramMain/modals/editSettings/{ConfirmTeamingSettingsModal.vue → confirmTeamingSettingsModal/ConfirmTeamingSettingsModalOld.vue} +2 -5
  85. package/components/common/diagramMain/modals/editSettings/lib/config/config.ts +15 -0
  86. package/components/common/diagramMain/modals/editSettings/lib/models/interfaces.ts +6 -0
  87. package/components/common/diagramMain/modals/editSettings/lib/utils/utils.ts +177 -0
  88. package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModal.vue +137 -0
  89. package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModalNew.vue +91 -0
  90. package/components/common/diagramMain/modals/editSettings/{EditSettingsModal.vue → modal/EditSettingsModalOld.vue} +12 -51
  91. package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkProperties.vue +158 -0
  92. package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkPropertiesNew.vue +262 -0
  93. package/components/common/diagramMain/modals/editSettings/tabs/{NetworkProperties.vue → networkProperties/NetworkPropertiesOld.vue} +12 -110
  94. package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettings.vue +192 -0
  95. package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettingsNew.vue +388 -0
  96. package/components/common/diagramMain/modals/editSettings/tabs/port/{IpvFourSettings.vue → ipvFourSettings/IpvFourSettingsOld.vue} +11 -152
  97. package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortProperties.vue +139 -0
  98. package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortPropertiesNew.vue +286 -0
  99. package/components/common/diagramMain/modals/editSettings/tabs/port/{PortProperties.vue → portProperties/PortPropertiesOld.vue} +12 -103
  100. package/components/common/diagramMain/modals/editSettings/tabs/security/Security.vue +209 -0
  101. package/components/common/diagramMain/modals/editSettings/tabs/security/SecurityNew.vue +233 -0
  102. package/components/common/diagramMain/modals/editSettings/tabs/{Security.vue → security/SecurityOld.vue} +25 -48
  103. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchProperties.vue +128 -0
  104. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesNew.vue +235 -0
  105. package/components/common/diagramMain/modals/editSettings/tabs/{SwitchProperties.vue → switchProperties/SwitchPropertiesOld.vue} +12 -89
  106. package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailover.vue +99 -0
  107. package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailoverNew.vue +319 -0
  108. package/components/common/diagramMain/modals/editSettings/tabs/{TeamingFailover.vue → teamingFailover/TeamingFailoverOld.vue} +11 -48
  109. package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShaping.vue +173 -0
  110. package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShapingNew.vue +348 -0
  111. package/components/common/diagramMain/modals/editSettings/tabs/{TrafficShaping.vue → trafficShaping/TrafficShapingOld.vue} +12 -134
  112. package/components/common/diagramMain/modals/lib/config/adapterModal.ts +9 -9
  113. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +43 -2
  114. package/components/common/diagramMain/modals/lib/config/index.ts +2 -1
  115. package/components/common/diagramMain/modals/lib/config/networkModal.ts +15 -15
  116. package/components/common/diagramMain/modals/lib/config/portModal.ts +12 -12
  117. package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +2 -2
  118. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
  119. package/components/common/diagramMain/modals/lib/utils/index.ts +34 -4
  120. package/components/common/diagramMain/modals/managePhysicalAdapters/ManagePhysicalAdapters.vue +164 -0
  121. package/components/common/diagramMain/modals/managePhysicalAdapters/ManagePhysicalAdaptersNew.vue +306 -0
  122. package/components/common/diagramMain/modals/{ManagePhysicalAdaptersModal.vue → managePhysicalAdapters/ManagePhysicalAdaptersOld.vue} +33 -119
  123. package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
  124. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +3 -2
  125. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +8 -3
  126. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +2 -2
  127. package/components/common/diagramMain/modals/remove/RemoveModalNew.vue +67 -16
  128. package/components/common/diagramMain/modals/viewSettings/info/InfoNew.vue +17 -0
  129. package/components/common/diagramMain/modals/viewSettings/viewSettings/ViewSettings.vue +3 -0
  130. package/components/common/diagramMain/modals/viewSettings/viewSettings/ViewSettingsNew.vue +66 -20
  131. package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalNew.vue +8 -0
  132. package/components/common/diagramMain/skeleton/Header.vue +31 -0
  133. package/components/common/diagramMain/skeleton/Switch.vue +75 -0
  134. package/components/common/layout/theHeader/Old.vue +1 -5
  135. package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
  136. package/components/common/layout/theHeader/modals/reconnect/New.vue +38 -30
  137. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +16 -10
  138. package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +8 -9
  139. package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +7 -0
  140. package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +10 -2
  141. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +12 -8
  142. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +7 -1
  143. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +8 -5
  144. package/components/common/layout/theHeader/userMenu/modals/preferences/security/Security.vue +48 -28
  145. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +9 -5
  146. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +1 -1
  147. package/components/common/layout/theHeader/userMenu/modals/preferences/view/New.vue +20 -8
  148. package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +11 -11
  149. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +12 -6
  150. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +3 -1
  151. package/components/common/modals/Rename.vue +3 -1
  152. package/components/common/modals/newFolder/new/Location.vue +21 -1
  153. package/components/common/monitor/advanced/Advanced.vue +8 -5
  154. package/components/common/monitor/advanced/AdvancedNew.vue +4 -2
  155. package/components/common/monitor/advanced/AdvancedOld.vue +8 -3
  156. package/components/common/monitor/advanced/table/lib/models/interfaces.ts +1 -0
  157. package/components/common/monitor/advanced/table/lib/models/types.ts +1 -4
  158. package/components/common/monitor/advanced/table/tableNew/TableNew.vue +1 -0
  159. package/components/common/monitor/advanced/table/tableNew/lib/config/options.ts +8 -38
  160. package/components/common/monitor/advanced/table/tableNew/lib/utils/constructBody.ts +5 -7
  161. package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +27 -31
  162. package/components/common/monitor/advanced/tools/Tools.vue +17 -13
  163. package/components/common/monitor/advanced/tools/ToolsNew.vue +4 -2
  164. package/components/common/monitor/advanced/tools/ToolsOld.vue +4 -2
  165. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +38 -18
  166. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalNew.vue +99 -80
  167. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +9 -2
  168. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
  169. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/lib/utils/optionsActions.ts +2 -2
  170. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +13 -3
  171. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +22 -4
  172. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersOld.vue +9 -2
  173. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/Table.vue +7 -3
  174. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1901 -493
  175. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/models/interfaces.ts +5 -0
  176. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableNew/TableNew.vue +9 -0
  177. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/config/tableConfig.ts +4 -4
  178. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +3 -3
  179. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/TimespanNew.vue +14 -2
  180. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/TimespanOld.vue +2 -2
  181. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +22 -21
  182. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/config/index.ts +2 -0
  183. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/utils/checkSubmit.ts +11 -4
  184. package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/MetricsNew.vue +2 -0
  185. package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/lib/config/optionsMetrics.ts +34 -1
  186. package/components/common/monitor/advanced/tools/lib/config/advancedToolbar.ts +80 -11
  187. package/components/common/monitor/lib/utils/local_be.json +714 -0
  188. package/components/common/monitor/lib/utils/local_en.json +714 -0
  189. package/components/common/monitor/lib/utils/local_hy.json +714 -0
  190. package/components/common/monitor/lib/utils/local_kk.json +714 -0
  191. package/components/common/monitor/lib/utils/local_ru.json +714 -0
  192. package/components/common/monitor/lib/utils/local_zh.json +714 -0
  193. package/components/common/monitor/lib/utils/localization.ts +43 -0
  194. package/components/common/monitor/overview/filters/lib/config/filterOptions.ts +3 -1
  195. package/components/common/monitor/utilization/Old.vue +120 -0
  196. package/components/common/monitor/utilization/Utilization.vue +65 -0
  197. package/components/common/monitor/utilization/infoBlock/InfoBlock.vue +146 -0
  198. package/components/common/monitor/utilization/infoBlock/New.vue +185 -0
  199. package/components/common/monitor/utilization/infoBlock/Old.vue +190 -0
  200. package/components/common/monitor/utilization/infoBlock/progressBar/New.vue +64 -0
  201. package/components/common/monitor/utilization/infoBlock/progressBar/Old.vue +65 -0
  202. package/components/common/monitor/utilization/infoBlock/progressBar/ProgressBar.vue +84 -0
  203. package/components/common/monitor/utilization/infoBlock/progressBar/lib/models/interfaces.ts +10 -0
  204. package/components/common/monitor/utilization/lib/models/interfaces.ts +27 -0
  205. package/components/common/monitor/utilization/lib/models/types.ts +1 -0
  206. package/components/common/monitor/utilization/lib/utils/index.ts +112 -0
  207. package/components/common/monitor/utilization/new/New.vue +195 -0
  208. package/components/common/monitor/utilization/new/Portlet.vue +42 -0
  209. package/components/common/monitor/utilization/new/Skeleton.vue +120 -0
  210. package/components/common/monitor/utilization/new/lib/utils/newPortlet.ts +7 -0
  211. package/components/common/noDataProvided/NoDataProvided.vue +17 -0
  212. package/components/common/noDataProvided/NoDataProvidedNew.vue +66 -0
  213. package/components/common/noDataProvided/NoDataProvidedOld.vue +18 -0
  214. package/components/common/pages/auth/TheFooter.vue +9 -0
  215. package/components/common/pages/backups/lib/models/interfaces.ts +1 -0
  216. package/components/common/pages/backups/modals/Modals.vue +1 -0
  217. package/components/common/pages/backups/modals/createBackup/New.vue +4 -0
  218. package/components/common/pages/backups/modals/createBackup/Old.vue +1 -1
  219. package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
  220. package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
  221. package/components/common/pages/backups/modals/createBackup/disks/tableView/new/TableView.vue +0 -1
  222. package/components/common/pages/backups/modals/createBackup/disks/tableView/new/lib/config/table.ts +1 -1
  223. package/components/common/pages/backups/modals/createBackup/general/General.vue +1 -0
  224. package/components/common/pages/backups/modals/createBackup/general/GeneralNew.vue +1 -1
  225. package/components/common/pages/backups/modals/createBackup/general/GeneralOld.vue +59 -9
  226. package/components/common/pages/backups/modals/lib/config/restore.ts +1 -0
  227. package/components/common/pages/backups/modals/lib/models/interfaces.ts +1 -0
  228. package/components/common/pages/backups/modals/restore/New.vue +40 -35
  229. package/components/common/pages/backups/modals/restore/Restore.vue +4 -5
  230. package/components/common/pages/backups/modals/restore/disks/tableView/new/Table.vue +6 -1
  231. package/components/common/pages/backups/modals/restore/disks/tableView/new/lib/config/table.ts +1 -0
  232. package/components/common/pages/backups/modals/restore/lib/config/steps.ts +1 -1
  233. package/components/common/pages/backups/modals/restore/name/NameNew.vue +3 -0
  234. package/components/common/pages/backups/modals/restore/networks/table/new/Table.vue +7 -0
  235. package/components/common/pages/hardwareHealth/HardwareHealth.vue +69 -148
  236. package/components/common/pages/hardwareHealth/HardwareHealthNew.vue +252 -0
  237. package/components/common/pages/hardwareHealth/HardwareHealthOld.vue +192 -0
  238. package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +204 -251
  239. package/components/common/pages/hardwareHealth/historyTestimony/GraphNew.vue +211 -0
  240. package/components/common/pages/hardwareHealth/historyTestimony/GraphOld.vue +212 -0
  241. package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +96 -248
  242. package/components/common/pages/hardwareHealth/historyTestimony/tools/ToolsNew.vue +227 -0
  243. package/components/common/pages/hardwareHealth/historyTestimony/tools/ToolsOld.vue +289 -0
  244. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +110 -112
  245. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModalNew.vue +173 -0
  246. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModalOld.vue +168 -0
  247. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/NotificationNew.vue +22 -0
  248. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/Actions.vue +34 -55
  249. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +145 -0
  250. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsOld.vue +81 -0
  251. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/{SaveOptionsModal.vue → saveOptionsModal/SaveOptionsModal.vue} +2 -2
  252. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +70 -49
  253. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/CountersNew.vue +108 -0
  254. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/CountersOld.vue +93 -0
  255. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/Table.vue +25 -78
  256. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/lib/models/interfaces.ts +13 -0
  257. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableNew/TableNew.vue +58 -0
  258. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableNew/lib/config/options.ts +19 -0
  259. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableNew/lib/config/tableData.ts +73 -0
  260. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableNew/lib/utils/constructTable.ts +31 -0
  261. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableOld/TableOld.vue +103 -0
  262. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/{lib → tableOld/lib}/config/tableConfig.ts +3 -1
  263. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +50 -33
  264. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/TimespanNew.vue +177 -0
  265. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/TimespanOld.vue +65 -0
  266. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/metrics/Metrics.vue +15 -9
  267. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/metrics/MetricsNew.vue +121 -0
  268. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/metrics/MetricsOld.vue +22 -0
  269. package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/config/toolbar.ts +68 -5
  270. package/components/common/pages/hardwareHealth/indicators/Indicators.vue +96 -0
  271. package/components/common/pages/hardwareHealth/indicators/lib/models/interfaces.ts +5 -0
  272. package/components/common/pages/hardwareHealth/lib/config/status.ts +14 -0
  273. package/components/common/pages/hardwareHealth/lib/config/tabsPannel.ts +38 -0
  274. package/components/common/pages/hardwareHealth/lib/models/enums.ts +1 -1
  275. package/components/common/pages/hardwareHealth/tableView/new/New.vue +230 -0
  276. package/components/common/pages/hardwareHealth/tableView/new/lib/config/alertWarningTable.ts +99 -0
  277. package/components/common/pages/hardwareHealth/tableView/new/lib/config/historyTestimonyTable.ts +126 -0
  278. package/components/common/pages/hardwareHealth/tableView/new/lib/config/sensorTable.ts +164 -0
  279. package/components/common/pages/hardwareHealth/tableView/new/lib/config/storageSensorsTable.ts +88 -0
  280. package/components/common/pages/hardwareHealth/tableView/new/lib/config/systemLogTable.ts +74 -0
  281. package/components/common/pages/hardwareHealth/tableView/{TableView.vue → old/Old.vue} +16 -7
  282. package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/config/alertWarningTable.ts +2 -2
  283. package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/config/historyTestimonyTable.ts +2 -2
  284. package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/config/sensorTable.ts +2 -2
  285. package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/config/storageSensorTable.ts +2 -2
  286. package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/config/systemLogTable.ts +2 -2
  287. package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/config/tableKeys.ts +1 -1
  288. package/components/common/pages/hardwareHealth/tableView/{modal → old/modal}/SensorWarning.vue +3 -0
  289. package/components/common/pages/hardwareHealth/tooltip/Tooltip.vue +73 -0
  290. package/components/common/pages/licensing/listView/lib/config/list.ts +1 -1
  291. package/components/common/pages/scheduledTasks/lib/models/interfaces.ts +6 -0
  292. package/components/common/pages/scheduledTasks/modals/common/frequency/Frequency.vue +51 -42
  293. package/components/common/pages/scheduledTasks/modals/common/frequency/afterStartup/AfterStartup.vue +20 -48
  294. package/components/common/pages/scheduledTasks/modals/common/frequency/afterStartup/New.vue +73 -0
  295. package/components/common/pages/scheduledTasks/modals/common/frequency/afterStartup/Old.vue +65 -0
  296. package/components/common/pages/scheduledTasks/modals/common/frequency/end/End.vue +18 -69
  297. package/components/common/pages/scheduledTasks/modals/common/frequency/end/New.vue +104 -0
  298. package/components/common/pages/scheduledTasks/modals/common/frequency/end/Old.vue +112 -0
  299. package/components/common/pages/scheduledTasks/modals/common/frequency/interval/Interval.vue +22 -53
  300. package/components/common/pages/scheduledTasks/modals/common/frequency/interval/New.vue +79 -0
  301. package/components/common/pages/scheduledTasks/modals/common/frequency/interval/Old.vue +68 -0
  302. package/components/common/pages/scheduledTasks/modals/common/frequency/lib/utils.ts +1 -1
  303. package/components/common/pages/scheduledTasks/modals/common/frequency/on/New.vue +170 -0
  304. package/components/common/pages/scheduledTasks/modals/common/frequency/on/Old.vue +234 -0
  305. package/components/common/pages/scheduledTasks/modals/common/frequency/on/On.vue +30 -168
  306. package/components/common/pages/scheduledTasks/modals/common/frequency/on/lib/config/options.ts +17 -0
  307. package/components/common/pages/scheduledTasks/modals/common/frequency/on/selectWeek/New.vue +66 -0
  308. package/components/common/pages/scheduledTasks/modals/common/frequency/on/selectWeek/Old.vue +44 -0
  309. package/components/common/pages/scheduledTasks/modals/common/frequency/on/selectWeek/SelectWeek.vue +17 -28
  310. package/components/common/pages/scheduledTasks/modals/common/frequency/on/selectWeek/lib/config/weekOptions.ts +20 -50
  311. package/components/common/pages/scheduledTasks/modals/common/frequency/startOn/New.vue +83 -0
  312. package/components/common/pages/scheduledTasks/modals/common/frequency/startOn/Old.vue +77 -0
  313. package/components/common/pages/scheduledTasks/modals/common/frequency/startOn/StartOn.vue +20 -51
  314. package/components/common/pages/scheduledTasks/modals/common/taskForm/New.vue +338 -0
  315. package/components/common/pages/scheduledTasks/modals/common/{newTaskForm/NewTaskForm.vue → taskForm/Old.vue} +12 -69
  316. package/components/common/pages/scheduledTasks/modals/common/taskForm/TaskForm.vue +129 -0
  317. package/components/common/pages/scheduledTasks/table/Table.vue +27 -81
  318. package/components/common/pages/scheduledTasks/table/expandDetails/ExpandDetails.vue +2 -2
  319. package/components/common/pages/scheduledTasks/table/expandDetails/New.vue +47 -17
  320. package/components/common/pages/scheduledTasks/table/expandDetails/Old.vue +4 -9
  321. package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/HistoryRun.vue +16 -54
  322. package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/new/New.vue +146 -0
  323. package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/new/lib/config/historyRunsTable.ts +161 -0
  324. package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/old/Old.vue +68 -0
  325. package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/{lib → old/lib}/config/historyRunsTable.ts +4 -4
  326. package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/{lib → old/lib}/config/tableKeys.ts +1 -1
  327. package/components/common/pages/scheduledTasks/table/expandDetails/lib/config/expandDetails.ts +7 -5
  328. package/components/common/pages/scheduledTasks/table/expandDetails/lib/models/interfaces.ts +8 -0
  329. package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +13 -0
  330. package/components/common/pages/scheduledTasks/table/new/New.vue +318 -0
  331. package/components/common/pages/scheduledTasks/table/new/lib/config/scheduledTasksTable.ts +192 -0
  332. package/components/common/pages/scheduledTasks/table/new/lib/models/enums.ts +14 -0
  333. package/components/common/pages/scheduledTasks/table/old/Old.vue +93 -0
  334. package/components/common/pages/scheduledTasks/table/{lib → old/lib}/config/scheduledTasksTable.ts +13 -9
  335. package/components/common/pages/scheduledTasks/table/{lib → old/lib}/config/tableKeys.ts +1 -1
  336. package/components/common/pages/shortcuts/Shortcuts.vue +1 -1
  337. package/components/common/pages/shortcuts/category/CategoryNew.vue +1 -0
  338. package/components/common/pages/shortcuts/category/CategoryOld.vue +1 -0
  339. package/components/common/pages/shortcuts/lib/models/interfaces.ts +2 -0
  340. package/components/common/pages/tasks/Tasks.vue +4 -1
  341. package/components/common/pages/tasks/table/Table.vue +25 -23
  342. package/components/common/readyToComplete/New.vue +1 -0
  343. package/components/common/spiceConsole/SpiceConsole.vue +38 -0
  344. package/components/common/spiceConsole/keyboard/Keyboard.vue +5 -2
  345. package/components/common/split/horizontal/New.vue +6 -3
  346. package/components/common/split/horizontal/Old.vue +1 -1
  347. package/components/common/split/vertical/New.vue +42 -8
  348. package/components/common/split/vertical/Old.vue +31 -2
  349. package/components/common/split/vertical/Vertical.vue +4 -0
  350. package/components/common/tools/Actions.vue +8 -3
  351. package/components/common/tools/lib/models/interfaces.ts +2 -0
  352. package/components/common/tooltip/Help.vue +28 -28
  353. package/components/common/vm/actions/add/New.vue +21 -6
  354. package/components/common/vm/actions/clone/Clone.vue +78 -68
  355. package/components/common/vm/actions/clone/lib/config/steps.ts +8 -8
  356. package/components/common/vm/actions/clone/new/New.vue +71 -36
  357. package/components/common/vm/actions/clone/new/SkeletonName.vue +22 -0
  358. package/components/common/vm/actions/clone/old/Old.vue +10 -4
  359. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +6 -3
  360. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +4 -0
  361. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/New.vue +2 -1
  362. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/Old.vue +6 -3
  363. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +14 -1
  364. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +5 -0
  365. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Old.vue +1 -0
  366. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +30 -9
  367. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +7 -2
  368. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Old.vue +6 -2
  369. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocket.vue +29 -7
  370. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +2 -1
  371. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +3 -2
  372. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/lib/config/options.ts +6 -3
  373. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +12 -0
  374. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/New.vue +6 -1
  375. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Old.vue +6 -2
  376. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +6 -4
  377. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +2 -0
  378. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +9 -12
  379. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +11 -3
  380. package/components/common/vm/actions/common/select/createType/lib/config/items.ts +1 -1
  381. package/components/common/vm/actions/common/select/options/New.vue +56 -48
  382. package/components/common/vm/actions/common/select/options/Old.vue +42 -24
  383. package/components/common/vm/actions/common/select/options/Options.vue +33 -2
  384. package/components/common/vm/actions/common/select/storage/Old.vue +0 -1
  385. package/components/common/vm/actions/common/select/storage/Storage.vue +2 -3
  386. package/components/common/vm/actions/common/select/storage/new/New.vue +13 -10
  387. package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +13 -15
  388. package/components/common/vm/actions/confirm/Confirm.vue +3 -0
  389. package/components/common/vm/actions/consolidate/New.vue +1 -1
  390. package/components/common/vm/actions/consolidate/Old.vue +2 -2
  391. package/components/common/vm/actions/editSettings/EditSettings.vue +20 -1
  392. package/components/common/vm/actions/register/New.vue +55 -27
  393. package/components/common/vm/actions/register/lib/config/steps.ts +1 -1
  394. package/components/common/vm/actions/rename/New.vue +11 -1
  395. package/components/common/vm/actions/rename/Old.vue +1 -0
  396. package/components/common/vm/actions/rename/Rename.vue +6 -0
  397. package/components/common/vm/snapshots/DetailView.vue +6 -6
  398. package/components/common/vm/snapshots/lib/models/types.ts +1 -0
  399. package/components/common/vm/snapshots/modals/confirm/New.vue +3 -2
  400. package/components/common/vm/snapshots/modals/confirm/Old.vue +3 -3
  401. package/components/common/vm/snapshots/modals/confirm/lib/models/enums.ts +2 -0
  402. package/components/common/vm/snapshots/modals/lib/config/modalTexts.ts +1 -0
  403. package/components/common/wizards/common/steps/name/New.vue +56 -35
  404. package/components/common/wizards/datastore/add/New.vue +6 -0
  405. package/components/common/wizards/datastore/add/lib/config/steps.ts +1 -1
  406. package/components/common/wizards/datastore/add/steps/_vmfsVersion/lib/config/versionOptions.ts +2 -2
  407. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +60 -42
  408. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/AdvancedOptions.vue +7 -1
  409. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +53 -76
  410. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/Old.vue +13 -61
  411. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/lib/config/raidOptions.ts +35 -0
  412. package/components/common/wizards/network/add/Add.vue +99 -109
  413. package/components/common/wizards/network/add/AddNew.vue +50 -21
  414. package/components/common/wizards/network/add/AddOld.vue +2 -2
  415. package/components/common/wizards/network/add/lib/config/config.ts +1 -1
  416. package/components/common/wizards/network/add/lib/config/initialData.ts +23 -9
  417. package/components/common/wizards/network/add/lib/config/selectSwitch.ts +5 -4
  418. package/components/common/wizards/network/add/lib/config/steps.ts +4 -2
  419. package/components/common/wizards/network/add/lib/models/interfaces.ts +1 -0
  420. package/components/common/wizards/network/add/lib/utils/utils.ts +8 -3
  421. package/components/common/wizards/network/add/mappers/mappers.ts +12 -5
  422. package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettings.vue +19 -13
  423. package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsNew.vue +10 -2
  424. package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue +11 -4
  425. package/components/common/wizards/network/add/steps/createStandardSwitch/CreateStandardSwitch.vue +8 -26
  426. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettings.vue +25 -16
  427. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +84 -17
  428. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsOld.vue +3 -0
  429. package/components/common/wizards/network/add/steps/portProperties/PortProperties.vue +13 -9
  430. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +29 -5
  431. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesOld.vue +8 -3
  432. package/components/common/wizards/network/add/steps/readyComplete/ReadyComplete.vue +8 -6
  433. package/components/common/wizards/network/add/steps/readyComplete/ReadyCompleteNew.vue +16 -7
  434. package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionType.vue +7 -8
  435. package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionTypeNew.vue +4 -0
  436. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDevice.vue +11 -12
  437. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +89 -19
  438. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +4 -0
  439. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectNetwork.vue +8 -9
  440. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectStandardSwitch.vue +8 -9
  441. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectSwitch.vue +9 -10
  442. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +21 -0
  443. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectStandardSwitch.vue +18 -1
  444. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectSwitch.vue +18 -1
  445. package/components/common/wizards/network/add/validations/common.ts +8 -3
  446. package/components/common/wizards/network/add/validations/connectionSettings.ts +2 -2
  447. package/components/common/wizards/network/add/validations/networkValidation.ts +2 -2
  448. package/components/common/wizards/network/add/validations/portProperties.ts +2 -2
  449. package/components/common/wizards/vm/migrate/New.vue +15 -4
  450. package/components/common/wizards/vm/migrate/Old.vue +1 -1
  451. package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +5 -0
  452. package/components/common/wizards/vm/migrate/lib/config/steps.ts +3 -2
  453. package/components/common/wizards/vm/migrate/steps/computeResource/ComputeResource.vue +30 -9
  454. package/components/common/wizards/vm/migrate/steps/computeResource/New.vue +2 -2
  455. package/components/common/wizards/vm/migrate/steps/computeResource/Old.vue +0 -1
  456. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +40 -21
  457. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +340 -0
  458. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +44 -14
  459. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/models/enums.ts +4 -0
  460. package/components/common/wizards/vm/migrate/steps/priority/New.vue +7 -2
  461. package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +22 -7
  462. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +6 -0
  463. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +4 -1
  464. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/lib/config/datastoreTable.ts +12 -16
  465. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue +10 -5
  466. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +16 -11
  467. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +7 -1
  468. package/components/common/wizards/vm/migrate/steps/selectStorage/selectedPerDisk/New.vue +17 -10
  469. package/components/common/wizards/vm/migrate/steps/type/TypeNew.vue +1 -0
  470. package/components/common/wizards/vm/migrate/vmOrigin/New.vue +35 -15
  471. package/composables/useLocalStorage.ts +1 -1
  472. package/lib/models/interfaces.ts +3 -0
  473. package/lib/models/store/tasks/enums.ts +3 -0
  474. package/lib/models/store/tasks/types.ts +7 -6
  475. package/lib/utils/validation.ts +3 -2
  476. package/package.json +3 -3
  477. package/plugins/directives.ts +3 -5
  478. package/public/spice-console/application/WorkerProcess.js +411 -303
  479. package/public/spice-console/application/agent.js +18 -17
  480. package/public/spice-console/application/application.js +7 -6
  481. package/public/spice-console/lib/graphic.js +55 -11
  482. package/public/spice-console/process/mainprocess.js +10 -2
  483. package/public/spice-console/run.js +19 -8
  484. package/public/spice-console-minify/WorkerProcess.min.js +1 -1
  485. package/public/spice-console-minify/run.min.js +1 -1
  486. package/store/tasks/actions.ts +26 -8
  487. package/store/tasks/mappers/recentTasks.ts +1 -0
  488. package/components/common/certificate/lib/config/tabsPannel.ts +0 -22
  489. package/components/common/pages/scheduledTasks/table/lib/config/schedulerStatus.ts +0 -4
  490. package/components/common/pages/scheduledTasks/table/lib/models/interfaces.ts +0 -11
  491. /package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/{Notification.vue → NotificationOld.vue} +0 -0
  492. /package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/{lib → tableOld/lib}/models/types.ts +0 -0
  493. /package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/models/interfaces.ts +0 -0
  494. /package/components/common/pages/hardwareHealth/tableView/{lib → old/lib}/models/types.ts +0 -0
  495. /package/components/common/pages/scheduledTasks/modals/common/{newTaskForm → taskForm}/lib/models/interfaces.ts +0 -0
  496. /package/components/common/pages/scheduledTasks/modals/common/{newTaskForm → taskForm}/lib/utils.ts +0 -0
  497. /package/components/common/pages/scheduledTasks/table/expandDetails/historyRun/{lib → old/lib}/models/types.ts +0 -0
  498. /package/components/common/pages/scheduledTasks/table/{lib → old/lib}/models/types.ts +0 -0
@@ -33,12 +33,13 @@
33
33
  :custom-time-to="props.customTimeTo"
34
34
  :total-cores="props.totalCores"
35
35
  :host-id="props.hostId"
36
- :selected-objects="props.selectedObjects"
37
36
  :project="props.project"
38
37
  :objects-loading="props.objectsLoading"
39
38
  :objects-data="props.objectsData"
40
39
  :valid-date-end="props.validDateEnd"
41
40
  :format-date="props.formatDate"
41
+ :power-data="props.powerData"
42
+ :temperature-data="props.temperatureData"
42
43
  @update-tools="emits('update-tools', $event)"
43
44
  @exporting="emits('export-graph', $event)"
44
45
  @open-advanced-page="emits('open-advanced-page')"
@@ -53,7 +54,10 @@
53
54
  @submit-options="emits('submit-options', $event)"
54
55
  />
55
56
 
56
- <div v-show="!props.data && !props.advancedLoading" class="empty-container">
57
+ <div
58
+ v-show="!props.data && !props.advancedLoading"
59
+ class="empty-container"
60
+ >
57
61
  {{
58
62
  localization.inventoryMonitor
59
63
  .noPerformanceCurrentlySelectedMetrics
@@ -124,13 +128,14 @@ const props = withDefaults(
124
128
  customTimeTo: string
125
129
  totalCores: number
126
130
  hostId: string
127
- selectedObjects: string
128
131
  project: UI_T_Project
129
132
  objectsLoading: boolean
130
133
  objectsData: UI_I_ObjectItem[]
131
134
  validDateEnd: number
132
135
  formatDate: string
133
136
  selectedTableRow: number[]
137
+ powerData: UI_I_AdvancedCounterItem[]
138
+ temperatureData: UI_I_AdvancedCounterItem[]
134
139
  disabledPeriod?: boolean
135
140
  disabledView?: boolean
136
141
  isEmpty?: boolean
@@ -9,4 +9,5 @@ export interface UI_I_PerformanceItem {
9
9
  average: number
10
10
  relatedDeviceName: string
11
11
  rollupType: string
12
+ description: string
12
13
  }
@@ -1,10 +1,7 @@
1
1
  export type UI_T_PerformanceColumnKey =
2
2
  | 'key'
3
3
  | 'relatedDeviceName'
4
- | 'measurement'
5
- | 'rollupType'
4
+ | 'description'
6
5
  | 'units'
7
- | 'latest'
8
6
  | 'maximum'
9
7
  | 'minimum'
10
- | 'average'
@@ -20,6 +20,7 @@
20
20
  <span>{{ item.text }}</span>
21
21
  </span>
22
22
  </template>
23
+ <template #default-actions></template>
23
24
  </ui-data-table>
24
25
  </div>
25
26
  </template>
@@ -11,7 +11,7 @@ export const bodyOptions = (
11
11
  const currentBody = constructUsersAndGroupsTableItems(items)
12
12
 
13
13
  return {
14
- id: 'find-user-or-group-modal-table-config',
14
+ id: 'advanced-main-table-config',
15
15
  title: `${localization.inventoryMonitor.performanceChartLegend} (${items.length})`,
16
16
  selectedRows: [],
17
17
  isAllSelected: false,
@@ -19,7 +19,7 @@ export const bodyOptions = (
19
19
  {
20
20
  col: 'col0',
21
21
  colName: 'key',
22
- text: localization.common.key,
22
+ text: localization.inventoryMonitor.chartColor,
23
23
  width: '96px',
24
24
  isSortable: false,
25
25
  sort: 'asc',
@@ -29,7 +29,7 @@ export const bodyOptions = (
29
29
  {
30
30
  col: 'col1',
31
31
  colName: 'object',
32
- text: localization.common.object,
32
+ text: localization.inventoryMonitor.metricName,
33
33
  width: '150px',
34
34
  isSortable: true,
35
35
  sort: 'asc',
@@ -39,7 +39,7 @@ export const bodyOptions = (
39
39
  {
40
40
  col: 'col2',
41
41
  colName: 'measurement',
42
- text: localization.common.measurement,
42
+ text: localization.inventoryMonitor.metricDescription,
43
43
  width: '192px',
44
44
  isSortable: true,
45
45
  sort: 'asc',
@@ -48,18 +48,8 @@ export const bodyOptions = (
48
48
  },
49
49
  {
50
50
  col: 'col3',
51
- colName: 'rollup',
52
- text: localization.common.rollup,
53
- width: '150px',
54
- isSortable: true,
55
- sort: 'asc',
56
- show: true,
57
- filter: true,
58
- },
59
- {
60
- col: 'col4',
61
51
  colName: 'units',
62
- text: localization.common.units,
52
+ text: localization.inventoryMonitor.unitOfMeasurement,
63
53
  width: '150px',
64
54
  isSortable: true,
65
55
  sort: 'asc',
@@ -67,17 +57,7 @@ export const bodyOptions = (
67
57
  filter: true,
68
58
  },
69
59
  {
70
- col: 'col5',
71
- colName: 'latest',
72
- text: localization.common.latest,
73
- width: '150px',
74
- isSortable: true,
75
- sort: 'asc',
76
- show: true,
77
- filter: true,
78
- },
79
- {
80
- col: 'col6',
60
+ col: 'col4',
81
61
  colName: 'maximum',
82
62
  text: localization.common.maximum,
83
63
  width: '150px',
@@ -87,7 +67,7 @@ export const bodyOptions = (
87
67
  filter: true,
88
68
  },
89
69
  {
90
- col: 'col7',
70
+ col: 'col5',
91
71
  colName: 'minimum',
92
72
  text: localization.common.minimum,
93
73
  width: '150px',
@@ -97,17 +77,7 @@ export const bodyOptions = (
97
77
  filter: true,
98
78
  },
99
79
  {
100
- col: 'col8',
101
- colName: 'average',
102
- text: localization.common.average,
103
- width: '150px',
104
- isSortable: true,
105
- sort: 'asc',
106
- show: true,
107
- filter: true,
108
- },
109
- {
110
- col: 'col9',
80
+ col: 'default-actions',
111
81
  colName: 'default-actions',
112
82
  text: '',
113
83
  show: true,
@@ -12,13 +12,11 @@ export const constructUsersAndGroupsTableItems = (
12
12
  data: [
13
13
  { col: 'col0', key: 'icon', text: '', data: { color: item.key } },
14
14
  { col: 'col1', key: 'zone', text: item.relatedDeviceName },
15
- { col: 'col2', text: item.measurement },
16
- { col: 'col3', text: item.rollupType },
17
- { col: 'col4', text: item.units },
18
- { col: 'col5', text: String(item.latest) },
19
- { col: 'col6', text: String(item.maximum) },
20
- { col: 'col7', text: String(item.minimum) },
21
- { col: 'col8', text: String(item.average) },
15
+ { col: 'col2', text: item.description },
16
+ { col: 'col3', text: item.units },
17
+ { col: 'col4', text: String(item.maximum) },
18
+ { col: 'col5', text: String(item.minimum) },
19
+ { col: 'default-actions', key: 'default-actions', text: '', data: {} },
22
20
  ],
23
21
  })
24
22
  })
@@ -14,13 +14,10 @@ import {
14
14
  export const performanceTableKey: UI_T_PerformanceColumnKey[] = [
15
15
  'key',
16
16
  'relatedDeviceName',
17
- 'measurement',
18
- 'rollupType',
17
+ 'description',
19
18
  'units',
20
- 'latest',
21
19
  'maximum',
22
20
  'minimum',
23
- 'average',
24
21
  ]
25
22
 
26
23
  const getItems = (
@@ -28,15 +25,32 @@ const getItems = (
28
25
  ): [string, boolean, string, string][] => {
29
26
  const widthCol = '113px'
30
27
  return [
31
- [localization.common.key, true, widthCol, performanceTableKey[0]],
32
- [localization.common.object, true, widthCol, performanceTableKey[1]],
33
- [localization.common.measurement, true, widthCol, performanceTableKey[2]],
34
- [localization.common.rollup, true, widthCol, performanceTableKey[3]],
35
- [localization.common.units, true, widthCol, performanceTableKey[4]],
36
- [localization.common.latest, true, widthCol, performanceTableKey[5]],
37
- [localization.common.maximum, true, widthCol, performanceTableKey[6]],
38
- [localization.common.minimum, true, widthCol, performanceTableKey[7]],
39
- [localization.common.average, true, widthCol, performanceTableKey[8]],
28
+ [
29
+ localization.inventoryMonitor.chartColor,
30
+ true,
31
+ widthCol,
32
+ performanceTableKey[0],
33
+ ],
34
+ [
35
+ localization.inventoryMonitor.metricName,
36
+ true,
37
+ widthCol,
38
+ performanceTableKey[1],
39
+ ],
40
+ [
41
+ localization.inventoryMonitor.metricDescription,
42
+ true,
43
+ widthCol,
44
+ performanceTableKey[2],
45
+ ],
46
+ [
47
+ localization.inventoryMonitor.unitOfMeasurement,
48
+ true,
49
+ widthCol,
50
+ performanceTableKey[3],
51
+ ],
52
+ [localization.common.maximum, true, widthCol, performanceTableKey[4]],
53
+ [localization.common.minimum, true, widthCol, performanceTableKey[5]],
40
54
  ]
41
55
  }
42
56
 
@@ -105,24 +119,6 @@ export const bodyItems = (data: UI_I_PerformanceItem[]): UI_I_BodyItem[][] => {
105
119
  id: key,
106
120
  testId: `advanced-item-${performanceTableKey[5]}-${key}`,
107
121
  },
108
- {
109
- key: 'col7',
110
- text: performance[performanceTableKey[6]],
111
- id: key,
112
- testId: `advanced-item-${performanceTableKey[6]}-${key}`,
113
- },
114
- {
115
- key: 'col8',
116
- text: performance[performanceTableKey[7]],
117
- id: key,
118
- testId: `advanced-item-${performanceTableKey[7]}-${key}`,
119
- },
120
- {
121
- key: 'col9',
122
- text: performance[performanceTableKey[8]],
123
- id: key,
124
- testId: `advanced-item-${performanceTableKey[8]}-${key}`,
125
- },
126
122
  ])
127
123
  })
128
124
  return bodyItems
@@ -23,7 +23,6 @@
23
23
  :custom-time-to="props.customTimeTo"
24
24
  :total-cores="totalCores"
25
25
  :host-id="props.hostId"
26
- :selected-objects="props.selectedObjects"
27
26
  :project="props.project"
28
27
  :objects-loading="props.objectsLoading"
29
28
  :objects-data="props.objectsData"
@@ -32,6 +31,8 @@
32
31
  :view-options="viewOptions"
33
32
  :period-options="periodOptions"
34
33
  :selected-node-name="props.selectedNodeName"
34
+ :power-data="props.powerData"
35
+ :temperature-data="props.temperatureData"
35
36
  @save-option-name="onSaveOptionName"
36
37
  @change-period="updateTools"
37
38
  @change-view="updateTools"
@@ -70,7 +71,6 @@
70
71
  :custom-time-to="props.customTimeTo"
71
72
  :total-cores="totalCores"
72
73
  :host-id="props.hostId"
73
- :selected-objects="props.selectedObjects"
74
74
  :project="props.project"
75
75
  :objects-loading="props.objectsLoading"
76
76
  :objects-data="props.objectsData"
@@ -78,6 +78,8 @@
78
78
  :format-date="props.formatDate"
79
79
  :view-options="viewOptions"
80
80
  :period-options="periodOptions"
81
+ :power-data="props.powerData"
82
+ :temperature-data="props.temperatureData"
81
83
  @save-option-name="onSaveOptionName"
82
84
  @change-period="updateTools"
83
85
  @change-view="updateTools"
@@ -112,6 +114,7 @@ import {
112
114
  getCurrentOptionsStorageFunc,
113
115
  periodFunc,
114
116
  viewFunc,
117
+ getSelectedOptionsValueFromStorageFunc,
115
118
  } from '~/components/common/monitor/advanced/tools/lib/config/advancedToolbar'
116
119
  import { getValidDateByOptionFunc } from '~/components/common/monitor/lib/config/getValidDateByOption'
117
120
  import { checkDateFunc } from '~/components/common/monitor/overview/filters/customIntervalModal/lib/config/dateChecker'
@@ -137,12 +140,13 @@ const props = withDefaults(
137
140
  customTimeTo: string
138
141
  totalCores: number
139
142
  hostId: string
140
- selectedObjects: string
141
143
  project: UI_T_Project
142
144
  objectsLoading: boolean
143
145
  objectsData: UI_I_ObjectItem[]
144
146
  validDateEnd: number
145
147
  formatDate: string
148
+ powerData: UI_I_AdvancedCounterItem[]
149
+ temperatureData: UI_I_AdvancedCounterItem[]
146
150
  disabledPeriod?: boolean
147
151
  disabledView?: boolean
148
152
  selectedNodeName?: string
@@ -193,7 +197,7 @@ const localSelectedTimespanType = computed<string>({
193
197
 
194
198
  const optionsNames = ref<string[]>([])
195
199
  const viewOptions = computed<UI_I_OptionItem[]>(() =>
196
- viewFunc(localization.value, props.type, optionsNames.value)
200
+ viewFunc(localization.value, props.type, optionsNames.value, props.project)
197
201
  )
198
202
 
199
203
  const selectedView = ref<string>('')
@@ -231,11 +235,10 @@ const selectedPeriod = computed<string>({
231
235
  const updateTools = (): void => {
232
236
  const periodValue = localSelectedTimespanType.value
233
237
  const viewValue = selectedView.value
234
- const prefix = props.project === 'sphere'
235
- const selectedValue = useLocalStorage(
236
- viewValue + 'ChartOptions',
237
- undefined,
238
- prefix
238
+
239
+ const selectedValue = getSelectedOptionsValueFromStorageFunc(
240
+ viewValue,
241
+ props.project
239
242
  )
240
243
 
241
244
  const fields = selectedValue
@@ -275,7 +278,8 @@ const updateTools = (): void => {
275
278
  periodType: periodValue,
276
279
  view: viewValue,
277
280
  }
278
- if (selectedValue.metric) tools.metricType = selectedValue.metric
281
+ if (selectedValue && selectedValue.metric)
282
+ tools.metricType = selectedValue.metric
279
283
 
280
284
  emits('update-timespan-type', localSelectedTimespanType.value)
281
285
  emits('update-tools', tools)
@@ -291,11 +295,11 @@ const chartTitleDate = computed<string>(() => {
291
295
 
292
296
  const onDeleteOption = (): void => {
293
297
  emits('delete-option')
294
- optionsNames.value = getCurrentOptionsStorageFunc(routeType, props.project)
298
+ optionsNames.value = getCurrentOptionsStorageFunc(props.project)
295
299
  }
296
300
 
297
301
  const onSaveOptionName = (): void => {
298
- optionsNames.value = getCurrentOptionsStorageFunc(routeType, props.project)
302
+ optionsNames.value = getCurrentOptionsStorageFunc(props.project)
299
303
  }
300
304
 
301
305
  const isShowModal = ref<boolean>()
@@ -305,7 +309,7 @@ watch(isShowModal, (newValue) => {
305
309
  })
306
310
 
307
311
  onMounted(() => {
308
- optionsNames.value = getCurrentOptionsStorageFunc(routeType, props.project)
312
+ optionsNames.value = getCurrentOptionsStorageFunc(props.project)
309
313
  updateTools()
310
314
  })
311
315
  </script>
@@ -67,13 +67,14 @@
67
67
  :custom-time-to="props.customTimeTo"
68
68
  :total-cores="props.totalCores"
69
69
  :host-id="props.hostId"
70
- :selected-objects="props.selectedObjects"
71
70
  :project="props.project"
72
71
  :objects-loading="props.objectsLoading"
73
72
  :objects-data="props.objectsData"
74
73
  :valid-date-end="props.validDateEnd"
75
74
  :format-date="props.formatDate"
76
75
  :selected-node-name="props.selectedNodeName"
76
+ :power-data="props.powerData"
77
+ :temperature-data="props.temperatureData"
77
78
  @hide="isShowModalLocal = false"
78
79
  @select-row="emits('select-row', $event)"
79
80
  @select-metric-local="emits('select-metric-local', $event)"
@@ -120,7 +121,6 @@ const props = withDefaults(
120
121
  customTimeTo: string
121
122
  totalCores: number
122
123
  hostId: string
123
- selectedObjects: string
124
124
  project: UI_T_Project
125
125
  objectsLoading: boolean
126
126
  objectsData: UI_I_ObjectItem[]
@@ -128,6 +128,8 @@ const props = withDefaults(
128
128
  formatDate: string
129
129
  viewOptions: UI_I_OptionItem[]
130
130
  periodOptions: UI_I_OptionItem[]
131
+ powerData: UI_I_AdvancedCounterItem[]
132
+ temperatureData: UI_I_AdvancedCounterItem[]
131
133
  disabledPeriod?: boolean
132
134
  disabledView?: boolean
133
135
  selectedNodeName?: string
@@ -112,12 +112,13 @@
112
112
  :custom-time-to="props.customTimeTo"
113
113
  :total-cores="props.totalCores"
114
114
  :host-id="props.hostId"
115
- :selected-objects="props.selectedObjects"
116
115
  :project="props.project"
117
116
  :objects-loading="props.objectsLoading"
118
117
  :objects-data="props.objectsData"
119
118
  :valid-date-end="props.validDateEnd"
120
119
  :format-date="props.formatDate"
120
+ :power-data="props.powerData"
121
+ :temperature-data="props.temperatureData"
121
122
  @hide="isShowModalLocal = false"
122
123
  @select-row="emits('select-row', $event)"
123
124
  @select-metric-local="emits('select-metric-local', $event)"
@@ -167,7 +168,6 @@ const props = withDefaults(
167
168
  customTimeTo: string
168
169
  totalCores: number
169
170
  hostId: string
170
- selectedObjects: string
171
171
  project: UI_T_Project
172
172
  objectsLoading: boolean
173
173
  objectsData: UI_I_ObjectItem[]
@@ -175,6 +175,8 @@ const props = withDefaults(
175
175
  formatDate: string
176
176
  viewOptions: UI_I_OptionItem[]
177
177
  periodOptions: UI_I_OptionItem[]
178
+ powerData: UI_I_AdvancedCounterItem[]
179
+ temperatureData: UI_I_AdvancedCounterItem[]
178
180
  disabledPeriod?: boolean
179
181
  disabledView?: boolean
180
182
  }>(),
@@ -18,7 +18,6 @@
18
18
  :custom-time-to="props.customTimeTo"
19
19
  :total-cores="props.totalCores"
20
20
  :hostId="props.hostId"
21
- :selected-objects="props.selectedObjects"
22
21
  :objects-loading="props.objectsLoading"
23
22
  :objects-data="props.objectsData"
24
23
  :valid-date-end="props.validDateEnd"
@@ -37,6 +36,10 @@
37
36
  :error-date-to="errorDateTo"
38
37
  :error-time-to="errorTimeTo"
39
38
  :selected-node-name="props.selectedNodeName"
39
+ :project="props.project"
40
+ :power-data="props.powerData"
41
+ :temperature-data="props.temperatureData"
42
+ :current-selected-objects="localSelectedObjects"
40
43
  @hide-main-modal="onHideMainModal"
41
44
  @submit-main-modal="onSubmitMainModal"
42
45
  @remove-alerts="onRemoveAlerts"
@@ -69,7 +72,6 @@
69
72
  :custom-time-to="props.customTimeTo"
70
73
  :total-cores="props.totalCores"
71
74
  :hostId="props.hostId"
72
- :selected-objects="props.selectedObjects"
73
75
  :objects-loading="props.objectsLoading"
74
76
  :objects-data="props.objectsData"
75
77
  :valid-date-end="props.validDateEnd"
@@ -82,6 +84,10 @@
82
84
  :local-selected-timespan-type="localSelectedTimespanType"
83
85
  :local-units-count="localUnitsCount"
84
86
  :selected-metrics-keys="selectedMetricsKeys"
87
+ :project="props.project"
88
+ :power-data="props.powerData"
89
+ :temperature-data="props.temperatureData"
90
+ :current-selected-objects="localSelectedObjects"
85
91
  @hide-main-modal="onHideMainModal"
86
92
  @submit-main-modal="onSubmitMainModal"
87
93
  @remove-alerts="onRemoveAlerts"
@@ -110,7 +116,11 @@ import type { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tool
110
116
  import type { UI_I_ObjectItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/models/interfaces'
111
117
  import type { UI_T_Project } from '~/lib/models/types'
112
118
  import { metricsFunc } from '~/components/common/monitor/advanced/tools/chartOptionsModal/metrics/lib/config/optionsMetrics'
113
- import { getCurrentOptionsStorageFunc } from '~/components/common/monitor/advanced/tools/lib/config/advancedToolbar'
119
+ import {
120
+ getCurrentOptionsStorageFunc,
121
+ removeSelectedOptionsFromStorageFunc,
122
+ getSelectedOptionsValueFromStorageFunc,
123
+ } from '~/components/common/monitor/advanced/tools/lib/config/advancedToolbar'
114
124
  import { checkDateFunc } from '~/components/common/monitor/overview/filters/customIntervalModal/lib/config/dateChecker'
115
125
  import { getValidDateByOptionFunc } from '~/components/common/monitor/lib/config/getValidDateByOption'
116
126
  import { checkIsDisabledSubmit } from '~/components/common/monitor/advanced/tools/chartOptionsModal/lib/utils/checkSubmit'
@@ -133,12 +143,13 @@ const props = withDefaults(
133
143
  customTimeTo: string
134
144
  totalCores: number
135
145
  hostId: string
136
- selectedObjects: string
137
146
  project: UI_T_Project
138
147
  objectsLoading: boolean
139
148
  objectsData: UI_I_ObjectItem[]
140
149
  validDateEnd: number
141
150
  formatDate: string
151
+ powerData: UI_I_AdvancedCounterItem[]
152
+ temperatureData: UI_I_AdvancedCounterItem[]
142
153
  selectedNodeName?: string
143
154
  }>(),
144
155
  {
@@ -166,6 +177,7 @@ const { $store }: any = useNuxtApp()
166
177
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
167
178
 
168
179
  const routeType = '' + useRoute().params.type
180
+ const routeId = '' + useRoute().params.id
169
181
 
170
182
  const localization = computed<UI_I_Localization>(() => useLocal())
171
183
 
@@ -187,7 +199,7 @@ const onUpdateCustomTimeTo = (value: string): void => {
187
199
  }
188
200
 
189
201
  const metricsItems = computed<UI_I_VerticalTabs[]>(() =>
190
- metricsFunc(localization.value, props.type)
202
+ metricsFunc(localization.value, props.type, props.project)
191
203
  )
192
204
  const selectedMetricLocal = ref<UI_T_ChartHost | UI_T_ChartVm>(
193
205
  (props.selectedMetric || '' + metricsItems.value[0]?.value) as
@@ -438,6 +450,9 @@ const onSaveOptions = (name: string): void => {
438
450
  chartType,
439
451
  counters,
440
452
  metric: selectedMetricLocal.value,
453
+ objects: localSelectedObjects.value,
454
+ validShowName: name,
455
+ nodeId: routeId,
441
456
  timespan: {
442
457
  periodType: localPeriodType.value,
443
458
  units: localCustomTime.value,
@@ -446,8 +461,8 @@ const onSaveOptions = (name: string): void => {
446
461
  },
447
462
  }
448
463
  const prefix = props.project === 'sphere'
449
- useLocalStorage(`${name}ChartOptions`, saveOptionsData, prefix)
450
- optionsNames.value = getCurrentOptionsStorageFunc(routeType, props.project)
464
+ useLocalStorage(`ChartOptionsAdvanced${name}`, saveOptionsData, prefix)
465
+ optionsNames.value = getCurrentOptionsStorageFunc(props.project)
451
466
  // localSelectedChartOptionName.value = name
452
467
  emits('save-option-name')
453
468
  }
@@ -474,11 +489,9 @@ const setDefaultOptions = (): void => {
474
489
  }
475
490
 
476
491
  const setCustomOptions = (name: string): void => {
477
- const prefix = props.project === 'sphere'
478
- const selectedValue = useLocalStorage(
479
- name + 'ChartOptions',
480
- undefined,
481
- prefix
492
+ const selectedValue = getSelectedOptionsValueFromStorageFunc(
493
+ name,
494
+ props.project
482
495
  )
483
496
 
484
497
  if (selectedValue.routeType !== routeType) return
@@ -497,14 +510,20 @@ const setCustomOptions = (name: string): void => {
497
510
  localUnitsCount.value = selectedValue.timespan.unitsCount
498
511
  localPeriodType.value = selectedValue.timespan.periodType
499
512
  localCustomTime.value = selectedValue.timespan.units
513
+ localSelectedObjects.value = selectedValue.objects
500
514
  }
501
515
 
502
516
  const onSelectLocalOptionName = (name: string): void => {
503
517
  selectedLocalOptionName.value = name
504
518
 
505
519
  if (optionsNames.value.includes(name)) setCustomOptions(name)
506
- else if (name === 'default') setDefaultOptions()
507
- else if (name === 'select_options') setSelectOptions()
520
+ else if (name === 'default') {
521
+ localSelectedObjects.value = ''
522
+ setDefaultOptions()
523
+ } else if (name === 'select_options') {
524
+ localSelectedObjects.value = ''
525
+ setSelectOptions()
526
+ }
508
527
  }
509
528
 
510
529
  watch(
@@ -518,8 +537,8 @@ watch(
518
537
  )
519
538
 
520
539
  const onDeleteChartName = (name: string): void => {
521
- window.localStorage.removeItem(name + 'ChartOptions')
522
- optionsNames.value = getCurrentOptionsStorageFunc(routeType, props.project)
540
+ removeSelectedOptionsFromStorageFunc(name, props.project)
541
+ optionsNames.value = getCurrentOptionsStorageFunc(props.project)
523
542
  setSelectOptions()
524
543
  emits('delete-option')
525
544
  }
@@ -529,7 +548,8 @@ const isDisabledSubmit = computed<boolean>(() =>
529
548
  props.type,
530
549
  selectedMetricLocal.value,
531
550
  selectedRows.value,
532
- localSelectedObjects.value
551
+ localSelectedObjects.value,
552
+ props.project
533
553
  )
534
554
  )
535
555
 
@@ -542,7 +562,7 @@ watch(
542
562
  )
543
563
 
544
564
  onMounted(() => {
545
- optionsNames.value = getCurrentOptionsStorageFunc(routeType, props.project)
565
+ optionsNames.value = getCurrentOptionsStorageFunc(props.project)
546
566
  })
547
567
  </script>
548
568