bfg-common 1.5.420 → 1.5.421
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.
- package/CODE_STYLE.md +109 -109
- package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/scss/common/theme.scss +214 -0
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/collapse/CollapseNav.vue +170 -170
- package/components/atoms/perPage/PerPage.vue +58 -58
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
- package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
- package/components/common/backup/storage/actions/add/lib/config/steps.ts +168 -168
- package/components/common/backup/storage/actions/add/steps/hostAccessibility/table/old/lib/config/incompatibleTable.ts +3 -3
- package/components/common/backup/storage/actions/add/steps/readyComplete/ReadyComplete.vue +45 -45
- package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
- package/components/common/context/lib/models/interfaces.ts +33 -33
- package/components/common/diagramMain/modals/lib/config/networkModal.ts +398 -398
- package/components/common/layout/theHeader/helpMenu/About.vue +82 -82
- package/components/common/pages/backups/Backups.vue +102 -102
- package/components/common/pages/backups/DetailView.vue +52 -52
- package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
- package/components/common/pages/backups/modals/Modals.vue +226 -226
- package/components/common/pages/backups/modals/createBackup/CreateBackup.vue +353 -353
- package/components/common/pages/backups/modals/createBackup/configuration/Configuration.vue +29 -29
- package/components/common/pages/backups/modals/createBackup/configuration/backupWindow/BackupWindow.vue +26 -26
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/MaxBandwidth.vue +66 -66
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
- package/components/common/pages/backups/modals/createBackup/configuration/strategy/Strategy.vue +35 -35
- package/components/common/pages/backups/modals/createBackup/datastores/Datastores.vue +59 -59
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/TableView.vue +95 -95
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/lib/config/table.ts +119 -119
- package/components/common/pages/backups/modals/createBackup/disks/tableView/lib/config/table.ts +117 -117
- package/components/common/pages/backups/modals/createBackup/general/General.vue +48 -48
- package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +117 -117
- package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +12 -12
- package/components/common/pages/backups/modals/lib/config/restore.ts +115 -115
- package/components/common/pages/backups/modals/lib/models/interfaces.ts +185 -185
- package/components/common/pages/backups/modals/restore/Restore.vue +417 -417
- package/components/common/pages/backups/modals/restore/disks/Disks.vue +27 -27
- package/components/common/pages/backups/modals/restore/disks/tableView/TableView.vue +102 -102
- package/components/common/pages/backups/modals/restore/disks/tableView/lib/config/table.ts +117 -117
- package/components/common/pages/backups/modals/restore/lib/config/steps.ts +108 -108
- package/components/common/pages/backups/modals/restore/name/Name.vue +160 -160
- package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
- package/components/common/pages/backups/modals/restore/networks/Networks.vue +67 -67
- package/components/common/pages/backups/modals/restore/networks/table/Table.vue +214 -214
- package/components/common/pages/backups/modals/restore/types/lib/config/typeOptions.ts +25 -25
- package/components/common/pages/backups/tools/Tools.vue +75 -75
- package/components/common/pages/backups/tools/lib/config/tabs.ts +36 -36
- package/components/common/pages/home/headline/HeadlineOld.vue +42 -42
- package/components/common/pages/home/lib/models/interfaces.ts +48 -48
- package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
- package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
- package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
- package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
- package/components/common/pages/home/widgets/warnings/lib/config/config.ts +2 -2
- package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
- package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
- package/components/common/resource/simple/Simple.vue +10 -3
- package/components/common/select/button/ButtonDropdown.vue +112 -112
- package/components/common/select/radio/RadioGroup.vue +137 -137
- package/components/common/selectLanguage/SelectLanguage.vue +1 -1
- package/components/common/spiceConsole/Drawer.vue +381 -381
- package/components/common/spiceConsole/SpiceConsole.vue +127 -127
- package/components/common/spiceConsole/keyboard/Keyboard.vue +1 -1
- package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
- package/components/common/split/horizontal/HorizontalNew.vue +5 -22
- package/components/common/split/horizontal/HorizontalOld.vue +3 -10
- package/components/common/split/vertical/VerticalNew.vue +2 -13
- package/components/common/split/vertical/VerticalOld.vue +1 -1
- package/components/common/summary/notification/NotificationNew.vue +4 -20
- package/components/common/titleBar/titleBarNew/notification/Notification.vue +0 -31
- package/components/common/tools/Actions.vue +207 -207
- package/components/common/tooltip/Help.vue +5 -18
- package/components/common/tooltip/lib/models/types.ts +1 -1
- package/components/common/treeView/TreeView.vue +52 -52
- package/components/common/vm/actions/add/Add.vue +35 -26
- package/components/common/vm/actions/add/New.vue +54 -55
- package/components/common/vm/actions/add/Old.vue +398 -388
- package/components/common/vm/actions/add/folderTreeView/FolderTreeView.vue +72 -72
- package/components/common/vm/actions/add/folderTreeView/New.vue +40 -40
- package/components/common/vm/actions/add/folderTreeView/Old.vue +50 -50
- package/components/common/vm/actions/clone/Clone.vue +823 -823
- package/components/common/vm/actions/clone/lib/config/steps.ts +291 -291
- package/components/common/vm/actions/clone/toTemplate/ToTemplate.vue +32 -36
- package/components/common/vm/actions/clone/toTemplate/lib/config/steps.ts +116 -116
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +61 -37
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +61 -46
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +59 -36
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +50 -31
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +64 -68
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +339 -321
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/BrowseView.vue +232 -227
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +110 -100
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +16 -10
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue +16 -10
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +239 -232
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +24 -18
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +174 -168
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +25 -25
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +70 -78
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaOld.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +16 -11
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +48 -51
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue +20 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +4 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +140 -140
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +153 -154
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +221 -220
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +313 -307
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +392 -385
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +34 -42
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +50 -40
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +6 -6
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +0 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileOld.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/lib/config/options.ts +4 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +154 -154
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/LocationOld.vue +85 -85
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/storageModal/StorageModal.vue +13 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/storageModal/new/New.vue +15 -12
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -23
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +2 -10
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeOld.vue +1 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +293 -288
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +20 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/lib/config/config.ts +94 -94
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +210 -205
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +5 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +66 -66
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoOld.vue +62 -62
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +31 -31
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoOld.vue +76 -76
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +15 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteNew.vue +42 -42
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteOld.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridOld.vue +84 -84
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +3 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +0 -10
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationOld.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +162 -154
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +17 -12
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +17 -12
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +3 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +53 -53
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemory.vue +6 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/lib/config/options.ts +3 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +163 -155
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +138 -130
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +120 -113
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +15 -9
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsOld.vue +19 -14
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Secure.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayOld.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +60 -60
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +174 -174
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +101 -95
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsOld.vue +158 -155
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +7 -7
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +15 -9
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapOld.vue +44 -44
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +103 -103
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +28 -28
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -44
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +3 -3
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsOld.vue +17 -12
- package/components/common/vm/actions/common/select/compatibility/New.vue +0 -18
- package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
- package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +143 -143
- package/components/common/vm/actions/common/select/computeResource/New.vue +168 -184
- package/components/common/vm/actions/common/select/computeResource/treeView/Old.vue +1 -1
- package/components/common/vm/actions/common/select/computeResource/treeView/TreeView.vue +131 -131
- package/components/common/vm/actions/common/select/createType/CreateType.vue +38 -38
- package/components/common/vm/actions/common/select/createType/New.vue +0 -16
- package/components/common/vm/actions/common/select/createType/Old.vue +0 -9
- package/components/common/vm/actions/common/select/createType/lib/config/items.ts +48 -48
- package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/name/Name.vue +13 -7
- package/components/common/vm/actions/common/select/name/New.vue +15 -30
- package/components/common/vm/actions/common/select/name/Old.vue +11 -8
- package/components/common/vm/actions/common/select/options/New.vue +8 -3
- package/components/common/vm/actions/common/select/options/Old.vue +10 -5
- package/components/common/vm/actions/common/select/options/Options.vue +8 -3
- package/components/common/vm/actions/common/select/os/New.vue +0 -10
- package/components/common/vm/actions/common/select/os/Old.vue +152 -152
- package/components/common/vm/actions/common/select/os/Os.vue +139 -139
- package/components/common/vm/actions/common/select/storage/Old.vue +13 -10
- package/components/common/vm/actions/common/select/storage/Storage.vue +164 -155
- package/components/common/vm/actions/common/select/storage/new/New.vue +278 -300
- package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
- package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
- package/components/common/vm/actions/common/select/template/treeView/New.vue +0 -10
- package/components/common/vm/actions/common/select/template/treeView/Old.vue +1 -1
- package/components/common/vm/actions/confirm/Confirm.vue +11 -6
- package/components/common/vm/actions/editSettings/EditSettings.vue +252 -242
- package/components/common/vm/actions/editSettings/EditSettingsOld.vue +35 -24
- package/components/common/vm/actions/editSettings/new/New.vue +34 -23
- package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
- package/components/common/vmt/actions/add/Add.vue +25 -19
- package/components/common/vmt/actions/add/New.vue +1 -0
- package/components/common/vmt/actions/add/Old.vue +0 -10
- package/components/common/vmt/actions/add/lib/models/interfaces.ts +23 -23
- package/components/common/wizards/datastore/add/Add.vue +14 -7
- package/components/common/wizards/datastore/add/New.vue +24 -17
- package/components/common/wizards/datastore/add/Old.vue +18 -14
- package/components/common/wizards/datastore/add/lib/config/steps.ts +2 -1
- package/components/common/wizards/datastore/add/lib/models/enums.ts +1 -1
- package/components/common/wizards/datastore/add/steps/hostAccessibility/HostAccessibility.vue +9 -4
- package/components/common/wizards/datastore/add/steps/hostAccessibility/HostAccessibilityNew.vue +10 -5
- package/components/common/wizards/datastore/add/steps/hostAccessibility/HostAccessibilityOld.vue +12 -7
- package/components/common/wizards/datastore/add/steps/hostAccessibility/table/Table.vue +0 -2
- package/components/common/wizards/datastore/add/steps/hostAccessibility/table/new/New.vue +3 -3
- package/components/common/wizards/datastore/add/steps/hostAccessibility/table/old/Old.vue +5 -5
- package/components/common/wizards/datastore/add/steps/hostAccessibility/table/old/lib/config/incompatibleTable.ts +3 -3
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigure.vue +0 -2
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +27 -26
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureOld.vue +5 -11
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/_serversList/DeletePopover.vue +0 -9
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/_serversList/ServersList.vue +9 -4
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDevice.vue +18 -14
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +20 -15
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +26 -17
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/Table.vue +12 -17
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/New.vue +2 -13
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/config/lunDiskTable.ts +14 -14
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/models/enums.ts +3 -3
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/old/Old.vue +18 -13
- package/components/common/wizards/datastore/add/steps/readyComplete/ReadyCompleteNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
- package/components/common/wizards/network/add/Add.vue +2 -2
- package/components/common/wizards/network/add/lib/models/interfaces.ts +2 -2
- package/components/common/wizards/network/add/modals/SelectNetwork.vue +7 -5
- package/components/common/wizards/network/add/modals/SelectStandardSwitch.vue +7 -15
- package/components/common/wizards/network/add/modals/SelectSwitch.vue +7 -15
- package/components/common/wizards/network/add/modals/lib/models/interfaces.ts +21 -0
- package/components/common/wizards/network/add/steps/ConnectionSettings.vue +3 -3
- package/components/common/wizards/network/add/steps/CreateStandardSwitch.vue +3 -3
- package/components/common/wizards/network/add/steps/IpFourSettings.vue +6 -6
- package/components/common/wizards/network/add/steps/PhysicalAdapter.vue +2 -2
- package/components/common/wizards/network/add/steps/PortProperties.vue +12 -12
- package/components/common/wizards/network/add/steps/SelectConnectionType.vue +112 -104
- package/components/common/wizards/network/add/steps/SelectedTargetDevice.vue +467 -467
- package/components/common/wizards/vm/common/computeResource/TreeView.vue +1 -1
- package/components/common/wizards/vm/common/validation/compatibility/Compatibility.vue +1 -1
- package/components/common/wizards/vm/migrate/Migrate.vue +353 -349
- package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +221 -220
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +157 -157
- package/components/common/wizards/vm/migrate/lib/validations.ts +68 -68
- package/components/common/wizards/vm/migrate/select/computeResource/ComputeResource.vue +13 -8
- package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/tableKeys.ts +8 -8
- package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/models/types.ts +4 -4
- package/components/common/wizards/vm/migrate/select/network/Network.vue +103 -103
- package/components/common/wizards/vm/migrate/select/network/table/network/lib/config/advancedTable.ts +91 -91
- package/components/common/wizards/vm/migrate/select/network/table/network/lib/config/basicTable.ts +1 -1
- package/components/common/wizards/vm/migrate/select/targetServer/new/New.vue +4 -7
- package/components/common/wizards/vm/migrate/select/type/lib/config/typeOptions.ts +45 -45
- package/composables/productNameLocal.ts +30 -30
- package/composables/useAppVersion.ts +21 -21
- package/lib/models/enums.ts +1 -1
- package/package.json +1 -1
- package/plugins/date.ts +233 -233
- package/plugins/panelStates.ts +70 -70
- package/plugins/text.ts +59 -59
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +390 -390
- package/store/main/mutations.ts +7 -7
- package/store/main/state.ts +7 -7
- package/store/tasks/lib/models/enums.ts +4 -4
- package/store/tasks/mappers/recentTasks.ts +79 -79
@@ -26,8 +26,7 @@
|
|
26
26
|
|
27
27
|
<script lang="ts" setup>
|
28
28
|
import { useDebounceFn } from '@vueuse/core'
|
29
|
-
import {
|
30
|
-
import { UI_I_Pagination } from '~/lib/models/table/interfaces'
|
29
|
+
import type { UI_I_Pagination } from '~/lib/models/table/interfaces'
|
31
30
|
import type {
|
32
31
|
UI_I_CreateStorageLunDiskItem,
|
33
32
|
UI_I_CreateStorageLunDisks,
|
@@ -36,31 +35,27 @@ import type {
|
|
36
35
|
const modelLunDiskLocal = defineModel<UI_I_CreateStorageLunDiskItem[]>({
|
37
36
|
required: true,
|
38
37
|
})
|
39
|
-
const props =
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
38
|
+
const props = withDefaults(
|
39
|
+
defineProps<{
|
40
|
+
lunDisksData: UI_I_CreateStorageLunDisks
|
41
|
+
loading: boolean
|
42
|
+
pagination: UI_I_Pagination
|
43
|
+
isMainFilter?: boolean
|
44
|
+
}>(),
|
45
|
+
{
|
46
|
+
isMainFilter: undefined,
|
47
|
+
}
|
48
|
+
)
|
45
49
|
const emits = defineEmits<{
|
46
50
|
(event: 'pagination', value: UI_I_Pagination): void
|
47
51
|
(event: 'sort', value: string): void
|
48
52
|
(event: 'main-filter', value: string): void
|
49
53
|
}>()
|
50
54
|
|
51
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
52
55
|
const { $store }: any = useNuxtApp()
|
53
56
|
|
54
57
|
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
55
58
|
|
56
|
-
const sorting = (e: [number, boolean]): void => {
|
57
|
-
const [column, status] = e
|
58
|
-
const direction = status ? 'desc' : 'asc'
|
59
|
-
|
60
|
-
const sort = `${column}.${direction}`
|
61
|
-
|
62
|
-
emits('sort', sort)
|
63
|
-
}
|
64
59
|
const sendFilter = useDebounceFn((searchText: string) => {
|
65
60
|
emits('main-filter', searchText)
|
66
61
|
}, 1000)
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="device-table-container">
|
3
3
|
<ui-data-table
|
4
|
-
test-id="device-selection-lun-disk-table"
|
5
4
|
:data="data"
|
6
5
|
:options="options"
|
7
6
|
:loading="props.loading"
|
@@ -10,6 +9,7 @@
|
|
10
9
|
:texts="texts"
|
11
10
|
:default-layout="false"
|
12
11
|
:skeleton="tableSkeleton"
|
12
|
+
test-id="device-selection-lun-disk-table"
|
13
13
|
class="device-table"
|
14
14
|
size="sm"
|
15
15
|
@select-row="onSelectRow"
|
@@ -63,12 +63,12 @@ import type {
|
|
63
63
|
UI_I_TableTexts,
|
64
64
|
} from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
|
65
65
|
import type { UI_I_DataTableSkeleton } from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
|
66
|
+
import type { UI_I_CreateStorageLunDiskItem } from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/lib/models/interfaces'
|
66
67
|
import {
|
67
68
|
options,
|
68
69
|
getHeaderDataFunc,
|
69
70
|
getBodyDataFunc,
|
70
71
|
} from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/config/lunDiskTable'
|
71
|
-
import type { UI_I_CreateStorageLunDiskItem } from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/lib/models/interfaces'
|
72
72
|
|
73
73
|
const selectedLunDisks = defineModel<UI_I_CreateStorageLunDiskItem[]>({
|
74
74
|
required: true,
|
@@ -146,17 +146,6 @@ const onSelectRow = (value: UI_I_DataTableBody[]): void => {
|
|
146
146
|
}
|
147
147
|
</script>
|
148
148
|
|
149
|
-
<style>
|
150
|
-
:root {
|
151
|
-
--select-storage-border-color: #e9ebed;
|
152
|
-
--select-storage-bg-color: #ffffff;
|
153
|
-
}
|
154
|
-
:root.dark-theme {
|
155
|
-
--select-storage-border-color: #e9ebed1f;
|
156
|
-
--select-storage-bg-color: var(--wizard-right-bg);
|
157
|
-
}
|
158
|
-
</style>
|
159
|
-
|
160
149
|
<style lang="scss" scoped>
|
161
150
|
.device-table-container {
|
162
151
|
.device-table {
|
@@ -6,24 +6,24 @@ import type {
|
|
6
6
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
7
7
|
import type { UI_I_CreateStorageLunDiskItem } from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/lib/models/interfaces'
|
8
8
|
import {
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
UI_E_DeviceStatus,
|
10
|
+
UI_E_DeviceStatusChipColor,
|
11
|
+
UI_E_DeviceStatusIcon,
|
12
12
|
} from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/models/enums'
|
13
13
|
|
14
14
|
// Маппинг для статусов
|
15
15
|
const STATUS_MAPPING = {
|
16
|
-
[
|
17
|
-
icon:
|
18
|
-
chipColor:
|
16
|
+
[UI_E_DeviceStatus.Unknown]: {
|
17
|
+
icon: UI_E_DeviceStatusIcon.HelpIcon,
|
18
|
+
chipColor: UI_E_DeviceStatusChipColor.Primary,
|
19
19
|
},
|
20
|
-
[
|
21
|
-
icon:
|
22
|
-
chipColor:
|
20
|
+
[UI_E_DeviceStatus.Supported]: {
|
21
|
+
icon: UI_E_DeviceStatusIcon.StatusCheck,
|
22
|
+
chipColor: UI_E_DeviceStatusChipColor.Green,
|
23
23
|
},
|
24
|
-
[
|
25
|
-
icon:
|
26
|
-
chipColor:
|
24
|
+
[UI_E_DeviceStatus.NotSupported]: {
|
25
|
+
icon: UI_E_DeviceStatusIcon.Close,
|
26
|
+
chipColor: UI_E_DeviceStatusChipColor.Red,
|
27
27
|
},
|
28
28
|
}
|
29
29
|
|
@@ -133,8 +133,8 @@ export const getBodyDataFunc = (
|
|
133
133
|
|
134
134
|
return bodyData.map((device, index: number) => {
|
135
135
|
const statusKey = device.hardware_acceleration
|
136
|
-
?
|
137
|
-
:
|
136
|
+
? UI_E_DeviceStatus.Unknown
|
137
|
+
: UI_E_DeviceStatus.Supported
|
138
138
|
const hardwareAccelerationData = {
|
139
139
|
...STATUS_MAPPING[statusKey],
|
140
140
|
testId: `${device.identifier}-${index}-status`,
|
package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/models/enums.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
export enum
|
1
|
+
export enum UI_E_DeviceStatus {
|
2
2
|
Unknown = 'unknown',
|
3
3
|
Supported = 'supported',
|
4
4
|
NotSupported = 'not-supported',
|
5
5
|
}
|
6
6
|
|
7
|
-
export enum
|
7
|
+
export enum UI_E_DeviceStatusChipColor {
|
8
8
|
Green = 'green',
|
9
9
|
Red = 'red',
|
10
10
|
Primary = 'primary',
|
11
11
|
}
|
12
|
-
export enum
|
12
|
+
export enum UI_E_DeviceStatusIcon {
|
13
13
|
StatusCheck = 'status-check',
|
14
14
|
Close = 'close',
|
15
15
|
HelpIcon = 'icon-help',
|
@@ -5,9 +5,6 @@
|
|
5
5
|
v-model:column-keys="columnKeys"
|
6
6
|
v-model:page-size="props.pagination.pageSize"
|
7
7
|
v-model:page="props.pagination.page"
|
8
|
-
type="checkbox"
|
9
|
-
class="data-table"
|
10
|
-
test-id="device-selection-lun-disk-table"
|
11
8
|
:head-items="headItems"
|
12
9
|
:body-items="bodyItems"
|
13
10
|
:total-items="props.totalItems"
|
@@ -15,6 +12,9 @@
|
|
15
12
|
:loading="props.loading"
|
16
13
|
:is-main-filter="props.isMainFilter"
|
17
14
|
:main-filter-placeholder="localization.filter"
|
15
|
+
type="checkbox"
|
16
|
+
class="data-table"
|
17
|
+
test-id="device-selection-lun-disk-table"
|
18
18
|
hide-page-size
|
19
19
|
@sorting="onSorting"
|
20
20
|
@main-filter="emits('main-filter', $event)"
|
@@ -29,19 +29,24 @@ import type {
|
|
29
29
|
UI_I_ColumnKey,
|
30
30
|
UI_I_BodyItem,
|
31
31
|
} from '~/components/atoms/table/dataGrid/lib/models/interfaces'
|
32
|
-
import { UI_I_Localization } from '~/lib/models/interfaces'
|
33
|
-
import { UI_I_Pagination } from '~/lib/models/table/interfaces'
|
32
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
33
|
+
import type { UI_I_Pagination } from '~/lib/models/table/interfaces'
|
34
34
|
import type { UI_I_CreateStorageLunDiskItem } from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/lib/models/interfaces'
|
35
35
|
import * as lunDiskTable from '~/components/common/wizards/datastore/add/steps/nameAndDevice/table/old/lib/config/lunDiskTable'
|
36
36
|
|
37
|
-
const props =
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
37
|
+
const props = withDefaults(
|
38
|
+
defineProps<{
|
39
|
+
tableData: UI_I_CreateStorageLunDiskItem[]
|
40
|
+
loading: boolean
|
41
|
+
totalItems: number
|
42
|
+
totalPages: number
|
43
|
+
pagination: UI_I_Pagination
|
44
|
+
isMainFilter?: boolean
|
45
|
+
}>(),
|
46
|
+
{
|
47
|
+
isMainFilter: undefined,
|
48
|
+
}
|
49
|
+
)
|
45
50
|
const emits = defineEmits<{
|
46
51
|
(event: 'select-lun-disk', value: number[]): void
|
47
52
|
(event: 'pagination', value: UI_I_Pagination): void
|
@@ -73,7 +73,7 @@ const localLanguage = computed<string>(
|
|
73
73
|
() => $store.getters['main/getInterfaceLang']
|
74
74
|
)
|
75
75
|
|
76
|
-
const detailsItemLabel = ref([])
|
76
|
+
const detailsItemLabel = ref<any>([])
|
77
77
|
const labelMaxWidth = computed<number>(() => {
|
78
78
|
let maxWidth = 0
|
79
79
|
for (const key in detailsItemLabel.value) {
|
@@ -1,43 +1,43 @@
|
|
1
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
2
|
-
import type { UI_T_Project } from '~/lib/models/types'
|
3
|
-
import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
|
4
|
-
|
5
|
-
export const datastoreTypesFunc = (
|
6
|
-
localization: UI_I_Localization,
|
7
|
-
_project?: UI_T_Project
|
8
|
-
): UI_I_RadioOption[] => {
|
9
|
-
return [
|
10
|
-
{
|
11
|
-
id: 'datastore-type-shared-storm',
|
12
|
-
label: localization.common.stormSharedStorage,
|
13
|
-
value: 2,
|
14
|
-
disabled: false,
|
15
|
-
description: localization.common.sharedStormDesc,
|
16
|
-
isTooltip: false,
|
17
|
-
tooltipContent: localization.common.stormSharedStorageHelpDesc,
|
18
|
-
testId: 'datastore-type-shared-storm',
|
19
|
-
},
|
20
|
-
{
|
21
|
-
id: 'datastore-type-nfs',
|
22
|
-
label: localization.common.nfs,
|
23
|
-
value: 4,
|
24
|
-
disabled: false,
|
25
|
-
description: localization.common.nfsDesc,
|
26
|
-
isTooltip: false,
|
27
|
-
tooltipContent: localization.common.nfsHelpDesc,
|
28
|
-
testId: 'datastore-type-nfs',
|
29
|
-
},
|
30
|
-
]
|
31
|
-
|
32
|
-
// if (project === 'procurator') {
|
33
|
-
// types.unshift({
|
34
|
-
// label: localization.common.localStorage,
|
35
|
-
// value: 1,
|
36
|
-
// disabled: false,
|
37
|
-
// description: localization.common.localDesc,
|
38
|
-
// isTooltip: false,
|
39
|
-
// tooltipContent: localization.common.localStorageHelpDesc,
|
40
|
-
// testId: 'datastore-type-local',
|
41
|
-
// })
|
42
|
-
// }
|
43
|
-
}
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
2
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
3
|
+
import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
|
4
|
+
|
5
|
+
export const datastoreTypesFunc = (
|
6
|
+
localization: UI_I_Localization,
|
7
|
+
_project?: UI_T_Project
|
8
|
+
): UI_I_RadioOption[] => {
|
9
|
+
return [
|
10
|
+
{
|
11
|
+
id: 'datastore-type-shared-storm',
|
12
|
+
label: localization.common.stormSharedStorage,
|
13
|
+
value: 2,
|
14
|
+
disabled: false,
|
15
|
+
description: localization.common.sharedStormDesc,
|
16
|
+
isTooltip: false,
|
17
|
+
tooltipContent: localization.common.stormSharedStorageHelpDesc,
|
18
|
+
testId: 'datastore-type-shared-storm',
|
19
|
+
},
|
20
|
+
{
|
21
|
+
id: 'datastore-type-nfs',
|
22
|
+
label: localization.common.nfs,
|
23
|
+
value: 4,
|
24
|
+
disabled: false,
|
25
|
+
description: localization.common.nfsDesc,
|
26
|
+
isTooltip: false,
|
27
|
+
tooltipContent: localization.common.nfsHelpDesc,
|
28
|
+
testId: 'datastore-type-nfs',
|
29
|
+
},
|
30
|
+
]
|
31
|
+
|
32
|
+
// if (project === 'procurator') {
|
33
|
+
// types.unshift({
|
34
|
+
// label: localization.common.localStorage,
|
35
|
+
// value: 1,
|
36
|
+
// disabled: false,
|
37
|
+
// description: localization.common.localDesc,
|
38
|
+
// isTooltip: false,
|
39
|
+
// tooltipContent: localization.common.localStorageHelpDesc,
|
40
|
+
// testId: 'datastore-type-local',
|
41
|
+
// })
|
42
|
+
// }
|
43
|
+
}
|
@@ -131,15 +131,15 @@ import type {
|
|
131
131
|
API_UI_I_SwitchItem,
|
132
132
|
UI_I_AvailableAdapters,
|
133
133
|
} from '~/components/common/diagramMain/lib/models/interfaces'
|
134
|
-
import { getAvailableAdapters } from '~/components/common/diagramMain/lib/utils/utils'
|
135
134
|
import type {
|
136
135
|
UI_I_ValidationReturn,
|
137
136
|
UI_I_WizardStep,
|
138
137
|
UI_I_WizardStepNavigation,
|
139
138
|
} from '~/components/atoms/wizard/lib/models/interfaces'
|
140
139
|
import { UI_E_ValidationFields } from '~/components/common/wizards/network/add/lib/models/enums'
|
141
|
-
import { getVlanId } from '~/components/common/wizards/network/add/lib/utils/utils'
|
142
140
|
import Wizard from '~/components/atoms/wizard/lib/utils/utils'
|
141
|
+
import { getVlanId } from '~/components/common/wizards/network/add/lib/utils/utils'
|
142
|
+
import { getAvailableAdapters } from '~/components/common/diagramMain/lib/utils/utils'
|
143
143
|
import {
|
144
144
|
createZeroSchemeReadyCompleteFunc,
|
145
145
|
createFirstSchemeReadyCompleteFunc,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import type {
|
2
2
|
UI_I_ArbitraryObject,
|
3
3
|
UI_I_ListIndex,
|
4
4
|
UI_I_State,
|
5
5
|
} from '~/lib/models/interfaces'
|
6
6
|
import type { UI_T_TCP } from '~/components/common/wizards/network/add/lib/models/types'
|
7
|
-
import {
|
7
|
+
import type {
|
8
8
|
UI_I_AdapterStatus,
|
9
9
|
API_UI_I_SwitchItem,
|
10
10
|
} from '~/components/common/diagramMain/lib/models/interfaces'
|
@@ -75,19 +75,25 @@ const props = withDefaults(
|
|
75
75
|
defineProps<{
|
76
76
|
show: boolean
|
77
77
|
modalName: string
|
78
|
+
data: UI_I_NetworkForAdding[]
|
78
79
|
title?: string
|
79
80
|
width?: string
|
80
81
|
height?: string
|
81
82
|
withCollapse?: boolean
|
82
|
-
data: UI_I_NetworkForAdding[]
|
83
83
|
}>(),
|
84
84
|
{
|
85
85
|
width: '576px',
|
86
86
|
height: '420px',
|
87
87
|
title: '--',
|
88
|
+
withCollapse: undefined,
|
88
89
|
}
|
89
90
|
)
|
90
91
|
|
92
|
+
const emits = defineEmits<{
|
93
|
+
(event: 'hide'): void
|
94
|
+
(event: 'select-network', networkId: string): void
|
95
|
+
}>()
|
96
|
+
|
91
97
|
// UI_I_Localization
|
92
98
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
93
99
|
|
@@ -138,10 +144,6 @@ const onSelectNetwork = (): void => {
|
|
138
144
|
emits('hide')
|
139
145
|
}
|
140
146
|
|
141
|
-
const emits = defineEmits<{
|
142
|
-
(event: 'hide'): void
|
143
|
-
(event: 'select-network', networkId: string): void
|
144
|
-
}>()
|
145
147
|
const onHideModal = (): void => {
|
146
148
|
onHideErrorMessageAlert()
|
147
149
|
emits('hide')
|
@@ -53,24 +53,20 @@ import type {
|
|
53
53
|
UI_I_SelectedSwitch,
|
54
54
|
UI_I_BodyItems,
|
55
55
|
} from '~/components/common/wizards/network/add/lib/models/interfaces'
|
56
|
+
import type { UI_I_SelectStandardSwitchModalProps } from '~/components/common/wizards/network/add/modals/lib/models/interfaces'
|
56
57
|
import { selectStandardSwitchTableHeadFunc } from '~/components/common/wizards/network/add/lib/config/config'
|
57
58
|
|
58
|
-
|
59
|
-
show: boolean
|
60
|
-
modalName: string
|
61
|
-
title?: string
|
62
|
-
width?: string
|
63
|
-
height?: string
|
64
|
-
withCollapse?: boolean
|
65
|
-
standardSwitchesInitial: UI_I_Switch[]
|
66
|
-
}
|
67
|
-
|
68
|
-
const props = withDefaults(defineProps<I_SelectSwitchModalProps>(), {
|
59
|
+
const props = withDefaults(defineProps<UI_I_SelectStandardSwitchModalProps>(), {
|
69
60
|
width: '576px',
|
70
61
|
height: '420px',
|
71
62
|
title: '--',
|
72
63
|
})
|
73
64
|
|
65
|
+
const emits = defineEmits<{
|
66
|
+
(event: 'hide'): void
|
67
|
+
(event: 'select-standard-switch', switchId: string): void
|
68
|
+
}>()
|
69
|
+
|
74
70
|
// UI_I_Localization
|
75
71
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
76
72
|
|
@@ -123,10 +119,6 @@ const onSelectSwitch = (): void => {
|
|
123
119
|
emits('hide')
|
124
120
|
}
|
125
121
|
|
126
|
-
const emits = defineEmits<{
|
127
|
-
(event: 'hide'): void
|
128
|
-
(event: 'select-standard-switch', switchId: string): void
|
129
|
-
}>()
|
130
122
|
const onHideModal = (): void => {
|
131
123
|
onHideErrorMessageAlert()
|
132
124
|
emits('hide')
|
@@ -53,24 +53,20 @@ import type {
|
|
53
53
|
UI_I_SelectedSwitch,
|
54
54
|
UI_I_BodyItems,
|
55
55
|
} from '~/components/common/wizards/network/add/lib/models/interfaces'
|
56
|
+
import type { UI_I_SelectSwitchModalProps } from '~/components/common/wizards/network/add/modals/lib/models/interfaces'
|
56
57
|
import { selectSwitchTableHeadFunc } from '~/components/common/wizards/network/add/lib/config/config'
|
57
58
|
|
58
|
-
|
59
|
-
show: boolean
|
60
|
-
modalName: string
|
61
|
-
title?: string
|
62
|
-
width?: string
|
63
|
-
height?: string
|
64
|
-
withCollapse?: boolean
|
65
|
-
data: UI_I_Switch[]
|
66
|
-
}
|
67
|
-
|
68
|
-
const props = withDefaults(defineProps<I_SelectSwitchModalProps>(), {
|
59
|
+
const props = withDefaults(defineProps<UI_I_SelectSwitchModalProps>(), {
|
69
60
|
width: '576px',
|
70
61
|
height: '420px',
|
71
62
|
title: '--',
|
72
63
|
})
|
73
64
|
|
65
|
+
const emits = defineEmits<{
|
66
|
+
(event: 'hide'): void
|
67
|
+
(event: 'select-switch', switchId: string): void
|
68
|
+
}>()
|
69
|
+
|
74
70
|
// UI_I_Localization
|
75
71
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
76
72
|
|
@@ -116,10 +112,6 @@ const onSelectSwitch = (): void => {
|
|
116
112
|
emits('hide')
|
117
113
|
}
|
118
114
|
|
119
|
-
const emits = defineEmits<{
|
120
|
-
(event: 'hide'): void
|
121
|
-
(event: 'select-switch', switchId: string): void
|
122
|
-
}>()
|
123
115
|
const onHideModal = (): void => {
|
124
116
|
onHideErrorMessageAlert()
|
125
117
|
emits('hide')
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { UI_I_Switch } from '~/components/common/wizards/network/add/lib/models/interfaces'
|
2
|
+
|
3
|
+
export interface UI_I_SelectStandardSwitchModalProps {
|
4
|
+
show: boolean
|
5
|
+
modalName: string
|
6
|
+
title?: string
|
7
|
+
width?: string
|
8
|
+
height?: string
|
9
|
+
withCollapse?: boolean
|
10
|
+
standardSwitchesInitial: UI_I_Switch[]
|
11
|
+
}
|
12
|
+
|
13
|
+
export interface UI_I_SelectSwitchModalProps {
|
14
|
+
show: boolean
|
15
|
+
modalName: string
|
16
|
+
title?: string
|
17
|
+
width?: string
|
18
|
+
height?: string
|
19
|
+
withCollapse?: boolean
|
20
|
+
data: UI_I_Switch[]
|
21
|
+
}
|
@@ -93,9 +93,9 @@ import type {
|
|
93
93
|
UI_I_Localization,
|
94
94
|
} from '~/lib/models/interfaces'
|
95
95
|
import type { UI_I_ConnectionSettings } from '~/components/common/wizards/network/add/lib/models/interfaces'
|
96
|
-
import { vlanIdSelectData } from '~/components/common/wizards/network/add/lib/config/config'
|
97
96
|
import type { UI_I_ErrorFields } from '~/components/atoms/wizard/lib/models/interfaces'
|
98
97
|
import type Wizard from '~/components/atoms/wizard/lib/utils/utils'
|
98
|
+
import { vlanIdSelectData } from '~/components/common/wizards/network/add/lib/config/config'
|
99
99
|
import {
|
100
100
|
validateNetworkConnectionSettingsLocal,
|
101
101
|
validateVlanIdConnectionSettingsLocal,
|
@@ -108,8 +108,6 @@ const props = defineProps<{
|
|
108
108
|
wizard: Wizard
|
109
109
|
}>()
|
110
110
|
|
111
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
112
|
-
|
113
111
|
const emits = defineEmits<{
|
114
112
|
(
|
115
113
|
event: 'change-connection-settings',
|
@@ -118,6 +116,8 @@ const emits = defineEmits<{
|
|
118
116
|
(event: 'hide-alert', stepId: 5): void
|
119
117
|
}>()
|
120
118
|
|
119
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
120
|
+
|
121
121
|
const fields = ref<UI_I_ConnectionSettings>(
|
122
122
|
useDeepCopy(props.connectionSettings)
|
123
123
|
)
|
@@ -2,15 +2,15 @@
|
|
2
2
|
<div class="wizard-content-container add-networking-step">
|
3
3
|
<div class="wizard-content">
|
4
4
|
<common-adapter-manager
|
5
|
-
test-id="adapter-manager"
|
6
|
-
:is-active="true"
|
7
|
-
:full-mode="true"
|
8
5
|
:adapters="props.adapters"
|
9
6
|
:free-adapters="props.freeAdapters"
|
10
7
|
:added-adapters="props.addedAdapters"
|
11
8
|
:core-adapters="props.coreAdapters"
|
12
9
|
:adapter-status="props.adapterStatus"
|
13
10
|
:is-dark-mode="props.isDarkMode"
|
11
|
+
test-id="adapter-manager"
|
12
|
+
is-active
|
13
|
+
full-mode
|
14
14
|
@change-added-adapters="onChangeAddedAdapters"
|
15
15
|
@change-adapter-status="onChangeAdapterStatus"
|
16
16
|
@get-free-adapters="onGetFreeAdapters"
|
@@ -57,9 +57,6 @@
|
|
57
57
|
<template #elem>
|
58
58
|
<input
|
59
59
|
v-model="fields.static.ipFourAddress"
|
60
|
-
data-id="ip-four-address-input"
|
61
|
-
type="text"
|
62
|
-
placeholder="e.g. 192.168.1.1"
|
63
60
|
:class="[
|
64
61
|
'tooltip-field port-properties-network-label',
|
65
62
|
{
|
@@ -67,6 +64,9 @@
|
|
67
64
|
props.messagesFields['ipv4_settings.ipv4'].field,
|
68
65
|
},
|
69
66
|
]"
|
67
|
+
data-id="ip-four-address-input"
|
68
|
+
type="text"
|
69
|
+
placeholder="e.g. 192.168.1.1"
|
70
70
|
/>
|
71
71
|
</template>
|
72
72
|
<template #content>
|
@@ -201,23 +201,23 @@ const props = withDefaults(
|
|
201
201
|
alertMessages: string[]
|
202
202
|
messagesFields: UI_I_ArbitraryObject<UI_I_ErrorFields>
|
203
203
|
wizard: Wizard
|
204
|
-
tcpStacks?: UI_I_TCPStack[]
|
205
204
|
tcp: string
|
206
205
|
gatewayFlag: boolean
|
206
|
+
tcpStacks?: UI_I_TCPStack[]
|
207
207
|
}>(),
|
208
208
|
{
|
209
209
|
tcpStacks: () => [],
|
210
210
|
}
|
211
211
|
)
|
212
212
|
|
213
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
214
|
-
|
215
213
|
const emits = defineEmits<{
|
216
214
|
(event: 'change-ip-four-settings', ipFourSettings: UI_I_IpFourSettings): void
|
217
215
|
(event: 'change-gateway-flag', value: boolean): void
|
218
216
|
(event: 'hide-alert', stepId: 4): void
|
219
217
|
}>()
|
220
218
|
|
219
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
220
|
+
|
221
221
|
const fields = ref<UI_I_IpFourSettings>(useDeepCopy(props.ipFourSettings))
|
222
222
|
|
223
223
|
let oldFields = useDeepCopy(fields.value)
|