bfg-common 1.3.643 → 1.3.644

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 (418) hide show
  1. package/components/atoms/alert/lib/models/interfaces.ts +1 -1
  2. package/components/atoms/collapse/CollapseNav.vue +1 -1
  3. package/components/atoms/collapse/CollapseNavItem.vue +2 -2
  4. package/components/atoms/combobox/Combobox.vue +1 -1
  5. package/components/atoms/datepicker/Datepicker.vue +2 -2
  6. package/components/atoms/datepicker/lib/config/allShortMonths.ts +1 -1
  7. package/components/atoms/datepicker/lib/config/datapicker.ts +1 -1
  8. package/components/atoms/dropdown/dropdown/Dropdown.vue +1 -1
  9. package/components/atoms/list/SelectList.vue +1 -1
  10. package/components/atoms/list/dragDropList/DragDropList.vue +1 -1
  11. package/components/atoms/loader/PreLoader.vue +1 -1
  12. package/components/atoms/modal/Modal.vue +1 -1
  13. package/components/atoms/modal/bySteps/BySteps.vue +253 -252
  14. package/components/atoms/nav/NavBar.vue +1 -1
  15. package/components/atoms/nav/VerticalNavBar.vue +1 -1
  16. package/components/atoms/notificationBar/NotificationBar.vue +2 -2
  17. package/components/atoms/perPage/PerPage.vue +2 -2
  18. package/components/atoms/select/TheSelect.vue +1 -1
  19. package/components/atoms/table/compact/Compact.vue +1 -1
  20. package/components/atoms/table/dataGrid/DataGrid.vue +2 -2
  21. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +1 -1
  22. package/components/atoms/table/dataGrid/DataGridPage.vue +1 -1
  23. package/components/atoms/table/dataGrid/DataGridPagination.vue +2 -2
  24. package/components/atoms/table/dataGrid/lib/config/itemsPerPage.ts +1 -1
  25. package/components/atoms/table/dataGrid/lib/models/types.ts +1 -1
  26. package/components/atoms/table/dataGrid/lib/utils/constructDataTable.ts +1 -1
  27. package/components/atoms/table/info/Info.vue +1 -1
  28. package/components/atoms/table/simpleInfo/SimpleInfo.vue +1 -1
  29. package/components/atoms/table/simpleTable/SimpleTable.vue +1 -1
  30. package/components/atoms/tabs/Tabs.vue +2 -2
  31. package/components/atoms/tabs/VerticalTabs.vue +1 -1
  32. package/components/atoms/tooltip/Signpost.vue +1 -1
  33. package/components/atoms/tooltip/Tooltip.vue +1 -1
  34. package/components/atoms/tooltip/TooltipError.vue +1 -1
  35. package/components/common/BadBrowser.vue +3 -3
  36. package/components/common/adapterManager/AdapterManager.vue +10 -10
  37. package/components/common/adapterManager/AddAdapterModal.vue +1 -1
  38. package/components/common/adapterManager/AddAdapterWarningModal.vue +3 -3
  39. package/components/common/adapterManager/NoActiveAdaptersModal.vue +4 -4
  40. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +4 -4
  41. package/components/common/adapterManager/lib/config/index.ts +1 -1
  42. package/components/common/adapterManager/ui/NoSelectedAdapter.vue +3 -3
  43. package/components/common/adapterManager/ui/SecondTitle.vue +3 -3
  44. package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +2 -2
  45. package/components/common/adapterManager/ui/actions/MoveDownAdapterButton.vue +2 -2
  46. package/components/common/adapterManager/ui/actions/MoveUpAdapterButton.vue +2 -2
  47. package/components/common/adapterManager/ui/actions/RemoveAdapterButton.vue +2 -2
  48. package/components/common/adapterManager/ui/table/Header.vue +1 -1
  49. package/components/common/browse/Browse.vue +5 -5
  50. package/components/common/countdownTimer/CountdownTimer.vue +1 -1
  51. package/components/common/details/DetailsList.vue +1 -1
  52. package/components/common/diagramMain/DiagramMain.vue +6 -8
  53. package/components/common/diagramMain/Header.vue +6 -6
  54. package/components/common/diagramMain/adapter/AdapterItem.vue +1 -1
  55. package/components/common/diagramMain/adapter/Contents.vue +4 -4
  56. package/components/common/diagramMain/lib/config/index.ts +2 -2
  57. package/components/common/diagramMain/lib/config/initial.ts +1 -1
  58. package/components/common/diagramMain/lib/models/interfaces.ts +1 -1
  59. package/components/common/diagramMain/lib/models/types.ts +1 -1
  60. package/components/common/diagramMain/lib/utils/utils.ts +3 -3
  61. package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +3 -3
  62. package/components/common/diagramMain/modals/Modals.vue +8 -8
  63. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +4 -4
  64. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +1 -1
  65. package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +2 -2
  66. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +7 -7
  67. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +14 -14
  68. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +6 -6
  69. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +7 -7
  70. package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +20 -20
  71. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +15 -15
  72. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +7 -7
  73. package/components/common/diagramMain/modals/lib/config/adapterModal.ts +20 -20
  74. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +5 -5
  75. package/components/common/diagramMain/modals/lib/config/networkModal.ts +52 -52
  76. package/components/common/diagramMain/modals/lib/config/portModal.ts +48 -48
  77. package/components/common/diagramMain/modals/lib/config/switchModal.ts +41 -41
  78. package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +5 -5
  79. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +24 -24
  80. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +1 -1
  81. package/components/common/diagramMain/modals/lib/utils/index.ts +4 -4
  82. package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +5 -5
  83. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +17 -17
  84. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +5 -5
  85. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +4 -4
  86. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/VmkernelAdapterReadyComplete.vue +2 -2
  87. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +13 -13
  88. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +5 -5
  89. package/components/common/diagramMain/modals/remove/RemoveModal.vue +8 -8
  90. package/components/common/diagramMain/modals/viewSettings/ViewSettings.vue +3 -3
  91. package/components/common/diagramMain/network/Block.vue +1 -1
  92. package/components/common/diagramMain/network/Contents.vue +3 -3
  93. package/components/common/diagramMain/network/Lines.vue +1 -1
  94. package/components/common/diagramMain/network/NoNetwork.vue +2 -2
  95. package/components/common/diagramMain/network/SecondBlock.vue +1 -1
  96. package/components/common/diagramMain/port/Port.vue +4 -4
  97. package/components/common/diagramMain/port/Ports.vue +1 -1
  98. package/components/common/diagramMain/switch/Switch.vue +1 -1
  99. package/components/common/diagramMain/switch/SwitchSelected.vue +1 -1
  100. package/components/common/feedback/Buttons.vue +6 -6
  101. package/components/common/feedback/Feedback.vue +5 -5
  102. package/components/common/feedback/Message.vue +16 -16
  103. package/components/common/feedback/VisitPortal.vue +3 -3
  104. package/components/common/feedback/lib/config/drawingPanel.ts +5 -5
  105. package/components/common/feedback/lib/config/feedbackTabs.ts +5 -5
  106. package/components/common/graph/Graph.vue +1 -1
  107. package/components/common/graph/lib/utils/renderGraph.ts +13 -13
  108. package/components/common/help/navbar/left/Left.vue +2 -2
  109. package/components/common/home/ResourceBlock.vue +5 -5
  110. package/components/common/home/StatusContent.vue +1 -1
  111. package/components/common/home/alertsTable/lib/config/config.ts +3 -3
  112. package/components/common/home/servicesTable/lib/config/config.ts +2 -2
  113. package/components/common/layout/theHeader/feedback/Feedback.vue +2 -2
  114. package/components/common/layout/theHeader/helpMenu/helpMenuNew/lib/config/dropMenu.ts +1 -1
  115. package/components/common/layout/theHeader/modals/Reconnect.vue +4 -4
  116. package/components/common/layout/theHeader/modals/RedirectLogin.vue +3 -3
  117. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +6 -6
  118. package/components/common/layout/theHeader/userMenu/modals/changePassword/lib/config/form.ts +2 -2
  119. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +1 -3
  120. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +3 -3
  121. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +1 -1
  122. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +1 -1
  123. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/config/radioOptions.ts +2 -2
  124. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleNew.vue +2 -2
  125. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleOld.vue +1 -1
  126. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +2 -2
  127. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/Inventory.vue +0 -4
  128. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +2 -2
  129. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryOld.vue +2 -2
  130. package/components/common/layout/theHeader/userMenu/modals/preferences/lib/config/preferencesTabs.ts +4 -4
  131. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +1 -1
  132. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormatNew.vue +1 -1
  133. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +3 -3
  134. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +1 -1
  135. package/components/common/layout/theHeader/userMenu/modals/preferences/view/ViewNew.vue +2 -2
  136. package/components/common/layout/theHeader/userMenu/modals/preferences/view/ViewOld.vue +1 -1
  137. package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +3 -3
  138. package/components/common/layout/theHeader/userMenu/userMenuOld/lib/config/dropMenu.ts +4 -4
  139. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +5 -5
  140. package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +4 -4
  141. package/components/common/modals/Confirmation.vue +3 -3
  142. package/components/common/modals/Rename.vue +5 -5
  143. package/components/common/modals/lib/config/defaultForm.ts +3 -3
  144. package/components/common/modals/lib/models/interfaces.ts +1 -1
  145. package/components/common/monitor/advanced/Advanced.vue +3 -3
  146. package/components/common/monitor/advanced/GraphView.vue +1 -1
  147. package/components/common/monitor/advanced/table/Table.vue +1 -1
  148. package/components/common/monitor/advanced/table/lib/config/performanceDatatable.ts +8 -8
  149. package/components/common/monitor/advanced/tools/Tools.vue +3 -3
  150. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
  151. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/Actions.vue +4 -4
  152. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/lib/utils/optionsActions.ts +2 -2
  153. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +2 -2
  154. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/Table.vue +1 -1
  155. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/tableConfig.ts +2 -2
  156. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +285 -285
  157. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/Form.vue +5 -5
  158. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +13 -13
  159. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +1 -1
  160. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +1 -1
  161. package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/Metrics.vue +1 -1
  162. package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/lib/config/optionsMetrics.ts +31 -31
  163. package/components/common/monitor/advanced/tools/lib/config/advancedToolbar.ts +32 -32
  164. package/components/common/monitor/overview/Overview.vue +3 -3
  165. package/components/common/monitor/overview/filters/Filters.vue +3 -3
  166. package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +3 -3
  167. package/components/common/monitor/overview/filters/customIntervalModal/lib/config/dateChecker.ts +5 -5
  168. package/components/common/monitor/overview/filters/lib/config/filterOptions.ts +21 -21
  169. package/components/common/pages/Tasks.vue +1 -1
  170. package/components/common/pages/hardwareHealth/HardwareHealth.vue +3 -3
  171. package/components/common/pages/hardwareHealth/lib/config/tabsPannel.ts +5 -5
  172. package/components/common/pages/hardwareHealth/tableView/TableView.vue +1 -1
  173. package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +3 -3
  174. package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +5 -5
  175. package/components/common/pages/hardwareHealth/tableView/lib/config/storageSensorTable.ts +1 -1
  176. package/components/common/pages/hardwareHealth/tableView/lib/config/systemLogTable.ts +1 -1
  177. package/components/common/pages/hardwareHealth/tableView/modal/sensorWarning.vue +2 -2
  178. package/components/common/pages/hardwareHealth/toolsPanel/lib/config/actionsPanel.ts +3 -3
  179. package/components/common/perPage/PerPage.vue +3 -3
  180. package/components/common/recursionTree/RecursionTree.vue +1 -1
  181. package/components/common/resource/lib/models/interfaces.ts +2 -2
  182. package/components/common/resource/progressBlock/ProgressBlock.vue +6 -6
  183. package/components/common/resource/simple/Simple.vue +3 -3
  184. package/components/common/select/button/ButtonDropdown.vue +1 -1
  185. package/components/common/select/input/Input.vue +0 -3
  186. package/components/common/select/radio/RadioGroup.vue +1 -1
  187. package/components/common/shortcuts/Shortcuts.vue +1 -1
  188. package/components/common/spiceConsole/Drawer.vue +5 -5
  189. package/components/common/split/vertical/Vertical.vue +1 -1
  190. package/components/common/vm/actions/add/Add.vue +1 -1
  191. package/components/common/vm/actions/add/FolderTreeView.vue +1 -1
  192. package/components/common/vm/actions/add/lib/config/steps.ts +9 -9
  193. package/components/common/vm/actions/add/lib/utils.ts +28 -28
  194. package/components/common/vm/actions/clone/Clone.vue +1 -1
  195. package/components/common/vm/actions/clone/lib/models/interfaces.ts +1 -1
  196. package/components/common/vm/actions/clone/lib/utils.ts +3 -3
  197. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +16 -16
  198. package/components/common/vm/actions/common/customizeHardware/lib/config/navItems.ts +2 -2
  199. package/components/common/vm/actions/common/customizeHardware/lib/models/interfaces.ts +2 -2
  200. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +14 -14
  201. package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/lib/models/interfaces.ts +1 -1
  202. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +6 -6
  203. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/lib/config/options.ts +8 -8
  204. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +11 -11
  205. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/lib/config/fileTypes.ts +4 -4
  206. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/lib/config/options.ts +4 -4
  207. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +3 -3
  208. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +5 -5
  209. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +6 -6
  210. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +52 -50
  211. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuModel.vue +6 -6
  212. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +99 -95
  213. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Iommu.vue +3 -3
  214. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/MaxCpu.vue +4 -4
  215. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Pc.vue +3 -3
  216. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +9 -9
  217. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/lib/config/cpuOptions.ts +4 -4
  218. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +7 -7
  219. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +8 -8
  220. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +5 -5
  221. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/binaryOptions.ts +5 -5
  222. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +9 -9
  223. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +4 -4
  224. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/lib/config/options.ts +6 -6
  225. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +6 -6
  226. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryHotPlug.vue +3 -3
  227. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/lib/config/memoryOptions.ts +6 -6
  228. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/DiskFile.vue +2 -2
  229. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/Location.vue +8 -8
  230. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/MaximumSize.vue +2 -2
  231. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +10 -10
  232. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +3 -3
  233. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +4 -4
  234. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/lib/config/options.ts +6 -6
  235. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +4 -4
  236. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options.ts +5 -5
  237. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +4 -4
  238. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/lib/config/options.ts +5 -5
  239. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +4 -4
  240. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/lib/config/options.ts +5 -5
  241. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/Location.vue +5 -5
  242. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +8 -8
  243. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +4 -4
  244. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/lib/config/options.ts +1 -1
  245. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +4 -4
  246. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options.ts +4 -4
  247. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +5 -5
  248. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +1 -1
  249. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +2 -2
  250. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +2 -2
  251. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +1 -1
  252. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +3 -3
  253. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/lib/config/options.ts +1 -1
  254. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/InputDevices.vue +4 -4
  255. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +3 -3
  256. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +5 -5
  257. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/lib/config/options.ts +8 -8
  258. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/Graphics.vue +3 -3
  259. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/TotalVideoMemory.vue +5 -5
  260. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +6 -6
  261. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/lib/config/options.ts +2 -2
  262. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +3 -3
  263. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +4 -4
  264. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/lib/config/options.ts +1 -1
  265. package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +6 -6
  266. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +6 -6
  267. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Menu.vue +3 -3
  268. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Secure.vue +3 -3
  269. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +3 -3
  270. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/lib/config/config.ts +1 -1
  271. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +4 -4
  272. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/lib/config/config.ts +3 -3
  273. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +4 -4
  274. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +8 -8
  275. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +3 -3
  276. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/FileTransfer.vue +3 -3
  277. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/FolderSharing.vue +3 -3
  278. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +3 -3
  279. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +3 -3
  280. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +4 -4
  281. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +4 -4
  282. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config.ts +4 -4
  283. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +4 -4
  284. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/lib/config/config.ts +5 -5
  285. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +3 -3
  286. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/lib/config/config.ts +1 -1
  287. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +3 -3
  288. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/lib/config/config.ts +1 -1
  289. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +5 -5
  290. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/lib/models/interfaces.ts +1 -1
  291. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +3 -3
  292. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/lib/config/config.ts +4 -4
  293. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -85
  294. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config.ts +2 -2
  295. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +4 -4
  296. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/type/lib/config/config.ts +1 -1
  297. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +3 -3
  298. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/lib/config/config.ts +1 -1
  299. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +4 -4
  300. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/lib/config/config.ts +5 -5
  301. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +5 -5
  302. package/components/common/vm/actions/common/lib/config/capabilities.ts +1 -1
  303. package/components/common/vm/actions/common/lib/models/interfaces.ts +3 -3
  304. package/components/common/vm/actions/common/lib/models/types.ts +3 -3
  305. package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +3 -3
  306. package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +2 -2
  307. package/components/common/vm/actions/common/select/computeResource/TreeView.vue +1 -3
  308. package/components/common/vm/actions/common/select/createType/lib/config/items.ts +2 -2
  309. package/components/common/vm/actions/common/select/lib/models/interfaces.ts +2 -2
  310. package/components/common/vm/actions/common/select/name/Name.vue +3 -3
  311. package/components/common/vm/actions/common/select/storage/lib/config/config.ts +2 -2
  312. package/components/common/vm/actions/editSettings/EditSettings.vue +1 -1
  313. package/components/common/vm/actions/editSettings/lib/models/types.ts +3 -3
  314. package/components/common/vm/actions/editSettings/lib/utils.ts +2 -2
  315. package/components/common/vm/actions/lib/models/interfaces.ts +1 -1
  316. package/components/common/vm/actions/lib/utils.ts +6 -6
  317. package/components/common/weekSelect/lib/config/options.ts +3 -3
  318. package/components/common/wizards/datastore/add/Add.vue +6 -6
  319. package/components/common/wizards/datastore/add/lib/config/stepItems.ts +13 -13
  320. package/components/common/wizards/datastore/add/lib/models/interfaces.ts +1 -1
  321. package/components/common/wizards/datastore/add/lib/utils.ts +2 -2
  322. package/components/common/wizards/datastore/add/local/Local.vue +4 -4
  323. package/components/common/wizards/datastore/add/local/createName/CreateName.vue +4 -4
  324. package/components/common/wizards/datastore/add/local/createName/lib/config/defaultForm.ts +2 -2
  325. package/components/common/wizards/datastore/add/nfs/Nfs.vue +3 -3
  326. package/components/common/wizards/datastore/add/nfs/accessibility/Accessibility.vue +4 -4
  327. package/components/common/wizards/datastore/add/nfs/accessibility/lib/config/tabsPannel.ts +4 -4
  328. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/TablesView.vue +6 -6
  329. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/compatibleTable.ts +5 -5
  330. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/hostsTableItems.ts +3 -3
  331. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/incompatibleTable.ts +6 -6
  332. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/tableKeys.ts +1 -1
  333. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +10 -10
  334. package/components/common/wizards/datastore/add/nfs/configuration/lib/config/defaultForm.ts +4 -4
  335. package/components/common/wizards/datastore/add/nfs/configuration/lib/models/interfaces.ts +1 -1
  336. package/components/common/wizards/datastore/add/nfs/configuration/serversList/DeletePopover.vue +2 -2
  337. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +4 -4
  338. package/components/common/wizards/datastore/add/nfs/configuration/serversList/lib/config/serversListConfig.ts +3 -4
  339. package/components/common/wizards/datastore/add/nfs/configuration/serversList/lib/config/tableKeys.ts +1 -1
  340. package/components/common/wizards/datastore/add/nfs/configuration/serversList/lib/models/interfaces.ts +1 -1
  341. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +4 -4
  342. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/lib/config/radioOptions.ts +5 -5
  343. package/components/common/wizards/datastore/add/nfs/version/Version.vue +3 -3
  344. package/components/common/wizards/datastore/add/nfs/version/lib/config/versionOptions.ts +4 -4
  345. package/components/common/wizards/datastore/add/readyComplete/ReadyComplete.vue +4 -4
  346. package/components/common/wizards/datastore/add/readyComplete/lib/config/propertiesDetails.ts +22 -22
  347. package/components/common/wizards/datastore/add/sharedStorm/SharedStorm.vue +1 -1
  348. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue +11 -11
  349. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +5 -5
  350. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/lib/config/hostsTable.ts +9 -9
  351. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/lib/config/tableKeys.ts +1 -1
  352. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/config/defaultForm.ts +3 -3
  353. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/config/selectOptions.ts +3 -3
  354. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces.ts +2 -2
  355. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +9 -9
  356. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/lib/config/selectOptions.ts +8 -8
  357. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/sizeGraphic/sizeGraphic.vue +2 -2
  358. package/components/common/wizards/datastore/add/sharedStorm/version/Version.vue +3 -3
  359. package/components/common/wizards/datastore/add/sharedStorm/version/lib/config/versionOptions.ts +4 -4
  360. package/components/common/wizards/datastore/add/types/Types.vue +2 -2
  361. package/components/common/wizards/datastore/add/types/lib/config/typeOptions.ts +6 -6
  362. package/components/common/wizards/network/add/Add.vue +1 -1
  363. package/components/common/wizards/network/add/lib/config/initialData.ts +1 -2
  364. package/components/common/wizards/network/add/lib/config/portPropertiesStep.ts +11 -11
  365. package/components/common/wizards/network/add/lib/config/selectSwitch.ts +7 -7
  366. package/components/common/wizards/network/add/lib/config/sendData.ts +2 -2
  367. package/components/common/wizards/network/add/lib/config/steps.ts +77 -77
  368. package/components/common/wizards/network/add/lib/models/interfaces.ts +1 -1
  369. package/components/common/wizards/network/add/modals/SelectNetwork.vue +5 -5
  370. package/components/common/wizards/network/add/modals/SelectStandardSwitch.vue +5 -5
  371. package/components/common/wizards/network/add/modals/SelectSwitch.vue +5 -5
  372. package/components/common/wizards/network/add/steps/ConnectionSettings.vue +5 -5
  373. package/components/common/wizards/network/add/steps/CreateStandardSwitch.vue +4 -4
  374. package/components/common/wizards/network/add/steps/IpFourSettings.vue +9 -9
  375. package/components/common/wizards/network/add/steps/PortProperties.vue +19 -19
  376. package/components/common/wizards/network/add/steps/ReadyComplete.vue +1 -1
  377. package/components/common/wizards/network/add/steps/SelectConnectionType.vue +7 -7
  378. package/components/common/wizards/network/add/steps/SelectedTargetDevice.vue +12 -12
  379. package/components/common/wizards/network/add/validations/connectionSettings.ts +9 -9
  380. package/components/common/wizards/network/add/validations/createStandardSwitch.ts +3 -3
  381. package/components/common/wizards/network/add/validations/ipFourSettings.ts +21 -21
  382. package/components/common/wizards/network/add/validations/networkValidation.ts +4 -4
  383. package/components/common/wizards/network/add/validations/physicalAdapter.ts +1 -1
  384. package/components/common/wizards/network/add/validations/portProperties.ts +13 -13
  385. package/components/common/wizards/network/add/validations/targetDevice.ts +13 -13
  386. package/components/common/wizards/vm/common/tooltip/Tooltip.vue +1 -1
  387. package/components/common/wizards/vm/common/validation/compatibility/Compatibility.vue +1 -1
  388. package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +7 -7
  389. package/components/common/wizards/vm/migrate/lib/utils.ts +14 -14
  390. package/components/common/wizards/vm/migrate/select/computeResource/lib/config/tabsPannel.ts +3 -3
  391. package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/clusterTable.ts +13 -13
  392. package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/hostTable.ts +12 -12
  393. package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/resourcePoolTable.ts +11 -11
  394. package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/vappsTable.ts +6 -6
  395. package/components/common/wizards/vm/migrate/select/network/Network.vue +2 -2
  396. package/components/common/wizards/vm/migrate/select/network/table/network/lib/config/advancedTable.ts +4 -4
  397. package/components/common/wizards/vm/migrate/select/network/table/network/lib/config/basicTable.ts +3 -3
  398. package/components/common/wizards/vm/migrate/select/network/table/useAt/lib/config/useAtTable.ts +3 -3
  399. package/components/common/wizards/vm/migrate/select/priority/lib/config/typeOptions.ts +4 -4
  400. package/components/common/wizards/vm/migrate/select/storage/Storage.vue +1 -1
  401. package/components/common/wizards/vm/migrate/select/storage/configure/batch/Batch.vue +1 -4
  402. package/components/common/wizards/vm/migrate/select/storage/configure/disk/Disk.vue +1 -1
  403. package/components/common/wizards/vm/migrate/select/storage/diskFormat/DiskFormat.vue +1 -1
  404. package/components/common/wizards/vm/migrate/select/storage/lib/config/tabsPannel.ts +2 -2
  405. package/components/common/wizards/vm/migrate/select/storage/policy/Policy.vue +1 -1
  406. package/components/common/wizards/vm/migrate/select/storage/selectedPerDisk/SelectedPerDisk.vue +1 -1
  407. package/components/common/wizards/vm/migrate/select/storage/table/datastore/lib/config/config.ts +11 -11
  408. package/components/common/wizards/vm/migrate/select/storage/table/disk/lib/config/config.ts +10 -10
  409. package/components/common/wizards/vm/migrate/select/targetServer/lib/config/tabsPannel.ts +2 -2
  410. package/components/common/wizards/vm/migrate/select/targetServer/new/New.vue +5 -5
  411. package/components/common/wizards/vm/migrate/select/type/lib/config/typeOptions.ts +9 -9
  412. package/lib/models/plugins/date/interfaces.ts +1 -1
  413. package/lib/models/plugins/validation/interfaces.ts +1 -1
  414. package/lib/models/store/interfaces.ts +1 -1
  415. package/lib/models/store/vm/interfaces.ts +3 -3
  416. package/package.json +1 -1
  417. package/plugins/date.ts +2 -2
  418. package/plugins/validation.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { UI_T_NotificationStatus } from '~/components/atoms/alert/lib/models/types'
1
+ import type { UI_T_NotificationStatus } from '~/components/atoms/alert/lib/models/types'
2
2
 
3
3
  interface UI_I_NotificationMessageItem {
4
4
  title: string
@@ -51,7 +51,7 @@
51
51
  </template>
52
52
 
53
53
  <script setup lang="ts">
54
- import { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
54
+ import type { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
55
55
 
56
56
  const props = withDefaults(
57
57
  defineProps<{
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <NuxtLink
3
+ <nuxt-link
4
4
  v-if="props.isLink"
5
5
  :to="props.item.path"
6
6
  :data-id="`${item.testId}-link`"
@@ -26,7 +26,7 @@
26
26
  ></span>
27
27
  <span v-else>{{ props.item.text }}</span>
28
28
  </button>
29
- </NuxtLink>
29
+ </nuxt-link>
30
30
  <label v-else-if="props.item.uploaded">
31
31
  <span class="btn btn-link">
32
32
  {{ props.item.text }}
@@ -46,7 +46,7 @@
46
46
  </template>
47
47
 
48
48
  <script setup lang="ts">
49
- import { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
49
+ import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
50
50
 
51
51
  const props = defineProps<{
52
52
  items: UI_I_OptionItem[]
@@ -160,8 +160,8 @@
160
160
  </template>
161
161
 
162
162
  <script setup lang="ts">
163
- import { UI_I_Localization } from '~/lib/models/interfaces'
164
- import { UI_I_Items } from '~/components/atoms/datepicker/lib/models/interfaces'
163
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
164
+ import type { UI_I_Items } from '~/components/atoms/datepicker/lib/models/interfaces'
165
165
  import {
166
166
  getMonthsFunc,
167
167
  getWeekdaysFunc,
@@ -1,4 +1,4 @@
1
- import { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
1
+ import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
2
2
 
3
3
  const hyShortMonths: string[] = [
4
4
  'Հնվ',
@@ -1,4 +1,4 @@
1
- import { UI_I_Localization } from '~/lib/models/interfaces'
1
+ import type{ UI_I_Localization } from '~/lib/models/interfaces'
2
2
 
3
3
  export const getMonthsFunc = (localization: UI_I_Localization): string[] => {
4
4
  return [
@@ -46,7 +46,7 @@
46
46
 
47
47
  <script setup lang="ts">
48
48
  import { vOnClickOutside } from '@vueuse/components'
49
- import { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
49
+ import type { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
50
50
 
51
51
  const emits = defineEmits(['select'])
52
52
  const props = withDefaults(
@@ -21,7 +21,7 @@
21
21
  </template>
22
22
 
23
23
  <script setup lang="ts">
24
- import { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
24
+ import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
25
25
 
26
26
  const props = withDefaults(
27
27
  defineProps<{
@@ -27,7 +27,7 @@
27
27
  </template>
28
28
 
29
29
  <script setup lang="ts">
30
- import { UI_I_DropEvent } from '~/components/atoms/list/dragDropList/lib/config/events'
30
+ import type { UI_I_DropEvent } from '~/components/atoms/list/dragDropList/lib/config/events'
31
31
 
32
32
  const props = defineProps<{
33
33
  items: any
@@ -7,7 +7,7 @@
7
7
  </template>
8
8
 
9
9
  <script setup lang="ts">
10
- import { UI_I_Localization } from '~/lib/models/interfaces'
10
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
11
11
 
12
12
  const props = defineProps<{
13
13
  show: boolean
@@ -79,7 +79,7 @@
79
79
  </template>
80
80
 
81
81
  <script setup lang="ts">
82
- import { UI_I_Localization } from '~/lib/models/interfaces'
82
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
83
83
 
84
84
  const props = withDefaults(
85
85
  defineProps<{
@@ -1,252 +1,253 @@
1
- <template>
2
- <div v-if="props.show" class="modal clr-wizard wizard-xl">
3
- <div class="modal-dialog modal-xl relative" :data-id="props.testId">
4
- <div class="modal-content-wrapper">
5
- <nav class="modal-nav clr-wizard-stepnav-wrapper">
6
- <h1 class="clr-wizard-title">
7
- {{ props.title }}
8
- </h1>
9
- <atoms-step-vertical-step
10
- :test-id="props.testId"
11
- :items="props.stepItems"
12
- :step-position="props.stepPosition"
13
- @change="changeStep"
14
- />
15
- </nav>
16
- <div class="modal-content">
17
- <div class="modal-header--accessible">
18
- <slot name="contentHeading">
19
- <div class="modal-title-wrapper">
20
- <h2 class="modal-title">
21
- <span class="modal-title-text">{{ heading }}</span>
22
- </h2>
23
- </div>
24
- </slot>
25
- <button
26
- :id="`${props.testId}-close-icon`"
27
- class="close"
28
- :data-id="`${props.testId}-close-button`"
29
- @click="hide"
30
- >
31
- <atoms-the-icon class="close-icon" name="close" />
32
- </button>
33
- </div>
34
- <div class="modal-body">
35
- <slot
36
- name="modalBody"
37
- :title="heading"
38
- :description="stepDescription"
39
- />
40
- </div>
41
- <div class="modal-footer">
42
- <slot name="modalFooter">
43
- <button
44
- :id="`${props.testId}-cancel-button`"
45
- class="btn btn-link"
46
- :data-id="`${props.testId}-cancel-button`"
47
- @click="hide"
48
- >
49
- {{ localization.common.cancel }}
50
- </button>
51
- <button
52
- v-show="props.stepPosition > 0"
53
- :id="`${props.testId}-back-button`"
54
- class="btn btn-outline"
55
- :data-id="`${props.testId}-back-button`"
56
- @click="back"
57
- >
58
- {{ localization.common.back }}
59
- </button>
60
- <button
61
- v-if="props.stepPosition === props.stepItems.length - 1"
62
- :id="`${props.testId}-finish-button`"
63
- class="btn btn-success"
64
- :data-id="`${props.testId}-finish-button`"
65
- @click="finish"
66
- >
67
- {{ localization.common.finish }}
68
- </button>
69
- <button
70
- v-else
71
- :id="`${props.testId}-next-button`"
72
- :disabled="props.disabledNext"
73
- class="btn btn-primary"
74
- :data-id="`${props.testId}-next-button`"
75
- @click="next"
76
- >
77
- {{ localization.common.next }}
78
- </button>
79
- </slot>
80
- </div>
81
- </div>
82
- </div>
83
-
84
- <div v-show="props.loading" class="loader">
85
- <i class="fa clr-tree-node-caret-icon spinner spinner" />
86
- </div>
87
- </div>
88
- <div class="modal-backdrop" />
89
- </div>
90
- </template>
91
-
92
- <script setup lang="ts">
93
- import type { UI_I_VerticalStepItem } from '~/components/atoms/lib/models/interfaces'
94
-
95
- const props = withDefaults(
96
- defineProps<{
97
- show: boolean
98
- title: string
99
- stepItems: UI_I_VerticalStepItem[]
100
- stepPosition: number
101
- secondTitle?: string
102
- testId?: string
103
- loading?: boolean
104
- disabledNext?: boolean
105
- }>(),
106
- {
107
- testId: 'ui-modal-by-steps',
108
- disabledNext: false,
109
- }
110
- )
111
- const emits = defineEmits<{
112
- (event: 'finish'): void
113
- (event: 'next'): void
114
- (event: 'back'): void
115
- (event: 'hide'): void
116
- (event: 'change-step', num: number): void
117
- }>()
118
-
119
- const localization = computed(() => useLocal())
120
-
121
- const heading = ref<string | null>(null)
122
- const stepDescription = ref<string | null>(null)
123
-
124
- const hide = (): void => {
125
- emits('hide')
126
- }
127
- const finish = (): void => {
128
- emits('finish')
129
- }
130
- const next = (): void => {
131
- emits('next')
132
- }
133
- const back = (): void => {
134
- emits('back')
135
- }
136
- const changeStep = (key: number): void => {
137
- emits('change-step', key)
138
- }
139
-
140
- watch(
141
- () => props.stepPosition,
142
- (value) => {
143
- const { stepItems, secondTitle } = props
144
- if (secondTitle) {
145
- heading.value = secondTitle
146
- return
147
- }
148
-
149
- heading.value = stepItems[value].text
150
- stepDescription.value = stepItems[value]?.description || ''
151
- },
152
- { immediate: true }
153
- )
154
- </script>
155
-
156
- <style scoped lang="scss">
157
- .modal {
158
- position: fixed;
159
- top: 0;
160
- bottom: 0;
161
- right: 0;
162
- left: 0;
163
- z-index: 1050;
164
- display: flex;
165
- flex-direction: column;
166
- justify-content: center;
167
- align-items: center;
168
- padding: 48px;
169
- overflow-y: auto;
170
-
171
- .modal-nav {
172
- background-color: var(--block-view-bg-color4);
173
- .clr-wizard-title {
174
- color: var(--main-color-mode);
175
- font-size: 22px;
176
- padding: 24px 12px 24px 24px;
177
- //line-height: 1.2rem;
178
- }
179
- }
180
-
181
- .modal-content-wrapper {
182
- position: relative;
183
- -webkit-animation-name: animateTop;
184
- -webkit-animation-duration: 0.4s;
185
- animation-name: animateTop;
186
- animation-duration: 0.4s;
187
- }
188
-
189
- .modal-content {
190
- background-color: var(--modal-bg-color);
191
-
192
- .modal-header--accessible {
193
- display: flex;
194
- justify-content: space-between;
195
- align-items: flex-start;
196
- width: 100%;
197
- padding: 24px 19px 6px 24px;
198
-
199
- .modal-title-text {
200
- color: var(--main-color-mode);
201
- font-size: 22px;
202
- }
203
-
204
- .close-icon {
205
- fill: var(--close-icon);
206
- width: 24px;
207
- height: 24px;
208
- }
209
- }
210
-
211
- .modal-body {
212
- padding: 0 3px;
213
- }
214
-
215
- .modal-footer {
216
- display: flex;
217
- justify-content: flex-end;
218
- padding: 24px;
219
- flex: unset;
220
- min-height: 0;
221
- height: auto;
222
- }
223
- }
224
-
225
- .loader {
226
- position: absolute;
227
- z-index: 1000;
228
- left: 0;
229
- right: 0;
230
- bottom: 0;
231
- top: 0;
232
- display: flex;
233
- align-items: center;
234
- justify-content: center;
235
- background-color: rgba(0, 0, 0, 0.3);
236
-
237
- .spinner {
238
- left: unset;
239
- }
240
- }
241
-
242
- .modal-backdrop {
243
- opacity: 1;
244
- background-color: rgba(0, 0, 0, 0.6);
245
- }
246
- }
247
- h1,
248
- h2 {
249
- // просмотреть если нигде не ломается переместит глобально
250
- line-height: inherit;
251
- }
252
- </style>
1
+ <template>
2
+ <div v-if="props.show" class="modal clr-wizard wizard-xl">
3
+ <div class="modal-dialog modal-xl relative" :data-id="props.testId">
4
+ <div class="modal-content-wrapper">
5
+ <nav class="modal-nav clr-wizard-stepnav-wrapper">
6
+ <h1 class="clr-wizard-title">
7
+ {{ props.title }}
8
+ </h1>
9
+ <atoms-step-vertical-step
10
+ :test-id="props.testId"
11
+ :items="props.stepItems"
12
+ :step-position="props.stepPosition"
13
+ @change="changeStep"
14
+ />
15
+ </nav>
16
+ <div class="modal-content">
17
+ <div class="modal-header--accessible">
18
+ <slot name="contentHeading">
19
+ <div class="modal-title-wrapper">
20
+ <h2 class="modal-title">
21
+ <span class="modal-title-text">{{ heading }}</span>
22
+ </h2>
23
+ </div>
24
+ </slot>
25
+ <button
26
+ :id="`${props.testId}-close-icon`"
27
+ class="close"
28
+ :data-id="`${props.testId}-close-button`"
29
+ @click="hide"
30
+ >
31
+ <atoms-the-icon class="close-icon" name="close" />
32
+ </button>
33
+ </div>
34
+ <div class="modal-body">
35
+ <slot
36
+ name="modalBody"
37
+ :title="heading"
38
+ :description="stepDescription"
39
+ />
40
+ </div>
41
+ <div class="modal-footer">
42
+ <slot name="modalFooter">
43
+ <button
44
+ :id="`${props.testId}-cancel-button`"
45
+ class="btn btn-link"
46
+ :data-id="`${props.testId}-cancel-button`"
47
+ @click="hide"
48
+ >
49
+ {{ localization.common.cancel }}
50
+ </button>
51
+ <button
52
+ v-show="props.stepPosition > 0"
53
+ :id="`${props.testId}-back-button`"
54
+ class="btn btn-outline"
55
+ :data-id="`${props.testId}-back-button`"
56
+ @click="back"
57
+ >
58
+ {{ localization.common.back }}
59
+ </button>
60
+ <button
61
+ v-if="props.stepPosition === props.stepItems.length - 1"
62
+ :id="`${props.testId}-finish-button`"
63
+ class="btn btn-success"
64
+ :data-id="`${props.testId}-finish-button`"
65
+ @click="finish"
66
+ >
67
+ {{ localization.common.finish }}
68
+ </button>
69
+ <button
70
+ v-else
71
+ :id="`${props.testId}-next-button`"
72
+ :disabled="props.disabledNext"
73
+ class="btn btn-primary"
74
+ :data-id="`${props.testId}-next-button`"
75
+ @click="next"
76
+ >
77
+ {{ localization.common.next }}
78
+ </button>
79
+ </slot>
80
+ </div>
81
+ </div>
82
+ </div>
83
+
84
+ <div v-show="props.loading" class="loader">
85
+ <i class="fa clr-tree-node-caret-icon spinner spinner" />
86
+ </div>
87
+ </div>
88
+ <div class="modal-backdrop" />
89
+ </div>
90
+ </template>
91
+
92
+ <script setup lang="ts">
93
+ import type { UI_I_VerticalStepItem } from '~/components/atoms/lib/models/interfaces'
94
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
95
+
96
+ const props = withDefaults(
97
+ defineProps<{
98
+ show: boolean
99
+ title: string
100
+ stepItems: UI_I_VerticalStepItem[]
101
+ stepPosition: number
102
+ secondTitle?: string
103
+ testId?: string
104
+ loading?: boolean
105
+ disabledNext?: boolean
106
+ }>(),
107
+ {
108
+ testId: 'ui-modal-by-steps',
109
+ disabledNext: false,
110
+ }
111
+ )
112
+ const emits = defineEmits<{
113
+ (event: 'finish'): void
114
+ (event: 'next'): void
115
+ (event: 'back'): void
116
+ (event: 'hide'): void
117
+ (event: 'change-step', num: number): void
118
+ }>()
119
+
120
+ const localization = computed<UI_I_Localization>(() => useLocal())
121
+
122
+ const heading = ref<string | null>(null)
123
+ const stepDescription = ref<string | null>(null)
124
+
125
+ const hide = (): void => {
126
+ emits('hide')
127
+ }
128
+ const finish = (): void => {
129
+ emits('finish')
130
+ }
131
+ const next = (): void => {
132
+ emits('next')
133
+ }
134
+ const back = (): void => {
135
+ emits('back')
136
+ }
137
+ const changeStep = (key: number): void => {
138
+ emits('change-step', key)
139
+ }
140
+
141
+ watch(
142
+ () => props.stepPosition,
143
+ (value) => {
144
+ const { stepItems, secondTitle } = props
145
+ if (secondTitle) {
146
+ heading.value = secondTitle
147
+ return
148
+ }
149
+
150
+ heading.value = stepItems[value].text
151
+ stepDescription.value = stepItems[value]?.description || ''
152
+ },
153
+ { immediate: true }
154
+ )
155
+ </script>
156
+
157
+ <style scoped lang="scss">
158
+ .modal {
159
+ position: fixed;
160
+ top: 0;
161
+ bottom: 0;
162
+ right: 0;
163
+ left: 0;
164
+ z-index: 1050;
165
+ display: flex;
166
+ flex-direction: column;
167
+ justify-content: center;
168
+ align-items: center;
169
+ padding: 48px;
170
+ overflow-y: auto;
171
+
172
+ .modal-nav {
173
+ background-color: var(--block-view-bg-color4);
174
+ .clr-wizard-title {
175
+ color: var(--main-color-mode);
176
+ font-size: 22px;
177
+ padding: 24px 12px 24px 24px;
178
+ //line-height: 1.2rem;
179
+ }
180
+ }
181
+
182
+ .modal-content-wrapper {
183
+ position: relative;
184
+ -webkit-animation-name: animateTop;
185
+ -webkit-animation-duration: 0.4s;
186
+ animation-name: animateTop;
187
+ animation-duration: 0.4s;
188
+ }
189
+
190
+ .modal-content {
191
+ background-color: var(--modal-bg-color);
192
+
193
+ .modal-header--accessible {
194
+ display: flex;
195
+ justify-content: space-between;
196
+ align-items: flex-start;
197
+ width: 100%;
198
+ padding: 24px 19px 6px 24px;
199
+
200
+ .modal-title-text {
201
+ color: var(--main-color-mode);
202
+ font-size: 22px;
203
+ }
204
+
205
+ .close-icon {
206
+ fill: var(--close-icon);
207
+ width: 24px;
208
+ height: 24px;
209
+ }
210
+ }
211
+
212
+ .modal-body {
213
+ padding: 0 3px;
214
+ }
215
+
216
+ .modal-footer {
217
+ display: flex;
218
+ justify-content: flex-end;
219
+ padding: 24px;
220
+ flex: unset;
221
+ min-height: 0;
222
+ height: auto;
223
+ }
224
+ }
225
+
226
+ .loader {
227
+ position: absolute;
228
+ z-index: 1000;
229
+ left: 0;
230
+ right: 0;
231
+ bottom: 0;
232
+ top: 0;
233
+ display: flex;
234
+ align-items: center;
235
+ justify-content: center;
236
+ background-color: rgba(0, 0, 0, 0.3);
237
+
238
+ .spinner {
239
+ left: unset;
240
+ }
241
+ }
242
+
243
+ .modal-backdrop {
244
+ opacity: 1;
245
+ background-color: rgba(0, 0, 0, 0.6);
246
+ }
247
+ }
248
+ h1,
249
+ h2 {
250
+ // просмотреть если нигде не ломается переместит глобально
251
+ line-height: inherit;
252
+ }
253
+ </style>
@@ -23,7 +23,7 @@
23
23
  </template>
24
24
 
25
25
  <script setup lang="ts">
26
- import { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
26
+ import type { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
27
27
 
28
28
  const props = withDefaults(
29
29
  defineProps<{
@@ -20,7 +20,7 @@
20
20
  </template>
21
21
 
22
22
  <script setup lang="ts">
23
- import { UI_I_NavItem } from '~/components/atoms/nav/lib/models/interfaces'
23
+ import type { UI_I_NavItem } from '~/components/atoms/nav/lib/models/interfaces'
24
24
 
25
25
  const props = withDefaults(
26
26
  defineProps<{