bfg-common 1.5.773 → 1.5.775
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_STYLE.md +109 -109
- package/assets/img/icons/icons-sprite-dark-1.svg +3 -2
- 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-1.svg +4 -3
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +27 -165
- package/assets/localization/local_en.json +27 -165
- package/assets/localization/local_hy.json +26 -164
- package/assets/localization/local_kk.json +26 -164
- package/assets/localization/local_ru.json +33 -171
- package/assets/localization/local_zh.json +26 -164
- package/assets/scss/common/global.scss +5 -5
- package/assets/scss/common/icons/icons-1.scss +1 -1
- package/assets/scss/common/icons/icons-2.scss +0 -18
- package/assets/scss/common/theme.scss +0 -2
- package/assets/scss/components/auth.scss +5 -32
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/collapse/CollapseNav.vue +170 -170
- package/components/atoms/dropdown/tree/Tree.vue +0 -2
- package/components/atoms/nav/NavBar.vue +0 -1
- package/components/atoms/perPage/PerPage.vue +58 -58
- package/components/atoms/switch/Switch.vue +1 -7
- package/components/atoms/table/dataGrid/DataGrid.vue +16 -17
- package/components/atoms/table/dataGrid/DataGridPagination.vue +97 -97
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
- package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
- package/components/atoms/wizard/Wizard.vue +1 -1
- package/components/common/backup/storage/actions/add/Old.vue +1 -22
- package/components/common/backup/storage/actions/add/lib/config/createDatastore.ts +1 -1
- package/components/common/backup/storage/actions/add/lib/utils.ts +51 -51
- package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeOld.vue +48 -1
- package/components/common/backup/storage/actions/add/steps/typeMode/lib/config/typeOptions.ts +20 -20
- package/components/common/backup/storage/actions/delete/Delete.vue +15 -37
- package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
- package/components/common/diagramMain/Header.vue +0 -4
- package/components/common/diagramMain/lib/models/interfaces.ts +0 -2
- package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +48 -48
- package/components/common/diagramMain/modals/viewSettings/info/Info.vue +1 -5
- package/components/common/diagramMain/modals/viewSettings/info/InfoOld.vue +0 -16
- package/components/common/diagramMain/port/Port.vue +580 -580
- package/components/common/graph/graphNew/EmptyBlock.vue +1 -2
- package/components/common/help/navbar/left/lib/utils/constructAccordion.ts +1 -2
- package/components/common/help/navbar/right/Right.vue +23 -86
- package/components/common/layout/theHeader/TheHeader.vue +81 -44
- package/components/common/layout/theHeader/{New.vue → TheHeaderNew.vue} +26 -14
- package/components/common/layout/theHeader/{Old.vue → TheHeaderOld.vue} +21 -13
- package/components/common/layout/theHeader/ThemeSwitch.vue +18 -8
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +2 -2
- package/components/common/layout/theHeader/helpMenu/{about/About.vue → About.vue} +22 -12
- package/components/common/layout/theHeader/helpMenu/HelpMenu.vue +8 -6
- package/components/common/layout/theHeader/helpMenu/{about/New.vue → aboutNew/AboutNew.vue} +4 -5
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +79 -0
- package/components/common/layout/theHeader/helpMenu/{new/New.vue → helpMenuNew/HelpMenuNew.vue} +1 -1
- package/components/common/layout/theHeader/helpMenu/{new → helpMenuNew}/lib/config/dropMenu.ts +1 -1
- package/components/common/layout/theHeader/helpMenu/{old/Old.vue → helpMenuOld/HelpMenuOld.vue} +2 -2
- package/components/common/layout/theHeader/helpMenu/{old → helpMenuOld}/lib/config/dropMenu.ts +1 -1
- package/components/common/layout/theHeader/modals/reconnect/Reconnect.vue +11 -11
- package/components/common/layout/theHeader/modals/reconnect/{New.vue → ReconnectNew.vue} +1 -1
- package/components/common/layout/theHeader/modals/reconnect/{Old.vue → ReconnectOld.vue} +0 -2
- package/components/common/layout/theHeader/userMenu/UserMenu.vue +28 -21
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +21 -12
- package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +43 -36
- package/components/common/layout/theHeader/userMenu/modals/changePassword/Old.vue +2 -0
- package/components/common/layout/theHeader/userMenu/modals/changePassword/lib/utils.ts +3 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/Preferences.vue +44 -19
- package/components/common/layout/theHeader/userMenu/modals/preferences/{New.vue → PreferencesNew.vue} +16 -24
- package/components/common/layout/theHeader/userMenu/modals/preferences/{Old.vue → PreferencesOld.vue} +18 -10
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +18 -17
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/{New.vue → ChangeLanguageNew.vue} +30 -6
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/{Old.vue → ChangeLanguageOld.vue} +30 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +20 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/{New.vue → DefaultConsoleNew.vue} +3 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/{Old.vue → DefaultConsoleOld.vue} +2 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/Inventory.vue +21 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/{New.vue → InventoryNew.vue} +2 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/{Old.vue → InventoryOld.vue} +2 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/lib/models/types.ts +7 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/security/New.vue +12 -277
- package/components/common/layout/theHeader/userMenu/modals/preferences/security/Old.vue +56 -30
- package/components/common/layout/theHeader/userMenu/modals/preferences/security/Security.vue +6 -65
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +22 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/{New.vue → TimeFormatNew.vue} +3 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/{Old.vue → TimeFormatOld.vue} +2 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +22 -13
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/{New.vue → ViewNew.vue} +3 -29
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/{Old.vue → ViewOld.vue} +2 -21
- package/components/common/layout/theHeader/userMenu/{new/New.vue → userMenuNew/UserMenuNew.vue} +1 -1
- package/components/common/layout/theHeader/userMenu/{old/Old.vue → userMenuOld/UserMenuOld.vue} +2 -2
- package/components/common/layout/theHeader/userMenu/{old → userMenuOld}/lib/config/dropMenu.ts +1 -1
- package/components/common/monitor/advanced/graphView/GraphView.vue +0 -8
- package/components/common/monitor/advanced/tools/Tools.vue +1 -5
- package/components/common/monitor/overview/OverviewNew.vue +1 -1
- package/components/common/pages/backups/DetailView.vue +52 -52
- package/components/common/pages/backups/backupsNew/BackupsNew.vue +19 -107
- package/components/common/pages/backups/backupsNew/contextMenuView/ContextMenuView.vue +10 -16
- package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
- package/components/common/pages/backups/modals/Modals.vue +243 -243
- package/components/common/pages/backups/modals/createBackup/CreateBackup.vue +10 -6
- package/components/common/pages/backups/modals/createBackup/New.vue +9 -22
- package/components/common/pages/backups/modals/createBackup/Old.vue +10 -8
- package/components/common/pages/backups/modals/createBackup/configuration/ConfigurationNew.vue +3 -17
- package/components/common/pages/backups/modals/createBackup/configuration/backupWindow/BackupWindow.vue +29 -29
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/MaxBandwidth.vue +69 -69
- package/components/common/pages/backups/modals/createBackup/configuration/strategy/Strategy.vue +38 -38
- package/components/common/pages/backups/modals/createBackup/datastores/Datastores.vue +0 -6
- package/components/common/pages/backups/modals/createBackup/datastores/DatastoresOld.vue +2 -22
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +8 -8
- package/components/common/pages/backups/modals/createBackup/disks/Disks.vue +0 -6
- package/components/common/pages/backups/modals/createBackup/disks/DisksOld.vue +1 -22
- package/components/common/pages/backups/modals/createBackup/disks/tableView/new/TableView.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/disks/tableView/new/lib/config/table.ts +7 -7
- package/components/common/pages/backups/modals/createBackup/general/General.vue +1 -7
- package/components/common/pages/backups/modals/createBackup/general/GeneralNew.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/general/GeneralOld.vue +0 -17
- package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +5 -5
- package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +1 -1
- package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +2 -11
- package/components/common/pages/backups/modals/createBackup/lib/models/interfaces.ts +8 -8
- package/components/common/pages/backups/modals/createBackup/lib/validation/validations.ts +14 -6
- package/components/common/pages/backups/modals/deleteBackup/DeleteBackup.vue +0 -1
- package/components/common/pages/backups/modals/lib/config/restore.ts +0 -1
- package/components/common/pages/backups/modals/lib/models/interfaces.ts +1 -2
- package/components/common/pages/backups/modals/restore/Restore.vue +26 -25
- package/components/common/pages/backups/modals/restore/{Old.vue → RestoreOld.vue} +0 -5
- package/components/common/pages/backups/modals/restore/disks/Disks.vue +8 -26
- package/components/common/pages/backups/modals/restore/disks/DisksNew.vue +2 -2
- package/components/common/pages/backups/modals/restore/disks/DisksOld.vue +2 -2
- package/components/common/pages/backups/modals/restore/lib/config/readyToCompleteOptions.ts +14 -46
- package/components/common/pages/backups/modals/restore/lib/config/restoreCodes.ts +1 -1
- package/components/common/pages/backups/modals/restore/lib/config/steps.ts +20 -42
- package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
- package/components/common/pages/backups/modals/restore/types/Types.vue +3 -15
- package/components/common/pages/backups/modals/restore/types/{New.vue → TypesNew.vue} +11 -11
- package/components/common/pages/backups/modals/restore/types/{Old.vue → TypesOld.vue} +6 -7
- package/components/common/pages/backups/modals/restore/types/lib/config/descriptions.ts +0 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +2 -7
- package/components/common/pages/hardwareHealth/tableView/TableView.vue +0 -8
- package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +1 -13
- package/components/common/pages/hardwareHealth/toolsPanel/lib/config/actionsPanel.ts +4 -4
- 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/home/widgets/warnings/table/lib/config/config.ts +2 -2
- package/components/common/pages/home/widgets/warnings/table/lib/models/enums.ts +12 -0
- package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
- package/components/common/pages/tasks/Tasks.vue +0 -3
- package/components/common/pages/tasks/table/Table.vue +1 -4
- package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +1 -1
- package/components/common/pages/tasks/table/lib/config/config.ts +13 -22
- package/components/common/qrcode/Qrcode.vue +56 -0
- package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
- package/components/common/select/radio/RadioGroup.vue +137 -137
- package/components/common/selectLanguage/SelectLanguage.vue +5 -5
- package/components/common/spiceConsole/Drawer.vue +420 -420
- package/components/common/spiceConsole/SpiceConsole.vue +184 -184
- package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
- package/components/common/split/horizontal/New.vue +2 -0
- package/components/common/split/vertical/New.vue +1 -2
- package/components/common/tools/Actions.vue +207 -207
- package/components/common/treeView/TreeView.vue +52 -52
- package/components/common/vm/actions/add/New.vue +11 -13
- package/components/common/vm/actions/add/Old.vue +1 -1
- package/components/common/vm/actions/clone/lib/config/steps.ts +295 -295
- package/components/common/vm/actions/clone/new/New.vue +438 -438
- package/components/common/vm/actions/clone/old/Old.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/New.vue +36 -12
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/Old.vue +37 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocket.vue +3 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces.ts +1 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +283 -283
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +7 -13
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/New.vue +4 -7
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +45 -52
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/Old.vue +8 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +3 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/New.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/Old.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/New.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/Old.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/Old.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/New.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +156 -156
- package/components/common/vm/actions/common/select/compatibility/New.vue +1 -0
- package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
- package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/options/New.vue +264 -264
- package/components/common/vm/actions/common/select/options/Old.vue +2 -1
- package/components/common/vm/actions/common/select/options/Options.vue +58 -58
- package/components/common/vm/actions/common/select/storage/Old.vue +125 -125
- package/components/common/vm/actions/common/select/storage/new/New.vue +1 -1
- 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/editSettings/new/Skeleton.vue +88 -88
- package/components/common/wizards/common/compatibility/Compatibility.vue +35 -35
- package/components/common/wizards/common/compatibility/New.vue +1 -1
- package/components/common/wizards/common/compatibility/Old.vue +1 -1
- package/components/common/wizards/common/steps/computeResource/New.vue +1 -9
- package/components/common/wizards/common/steps/name/Name.vue +178 -178
- package/components/common/wizards/common/steps/name/New.vue +221 -221
- package/components/common/wizards/common/steps/name/Old.vue +121 -121
- package/components/common/wizards/common/steps/name/lib/models/interfaces.ts +4 -4
- package/components/common/wizards/common/steps/name/location/New.vue +40 -40
- package/components/common/wizards/datastore/add/Add.vue +1 -0
- package/components/common/wizards/datastore/add/Old.vue +0 -16
- package/components/common/wizards/datastore/add/lib/config/createDatastore.ts +0 -1
- package/components/common/wizards/datastore/add/lib/models/interfaces.ts +0 -1
- package/components/common/wizards/datastore/add/lib/utils.ts +85 -85
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +0 -5
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +0 -5
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/old/Old.vue +3 -2
- package/components/common/wizards/datastore/add/steps/readyComplete/lib/config/propertiesDetails.ts +1 -8
- package/components/common/wizards/datastore/add/steps/typeMode/TypeModeOld.vue +48 -1
- package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
- package/components/common/wizards/network/add/Add.vue +5 -28
- package/components/common/wizards/network/add/lib/config/config.ts +1 -1
- package/components/common/wizards/network/add/lib/config/initialData.ts +3 -6
- package/components/common/wizards/network/add/lib/config/selectConnectionTypeStep.ts +0 -1
- package/components/common/wizards/network/add/steps/portProperties/PortProperties.vue +192 -192
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +1 -2
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +6 -18
- package/components/common/wizards/vm/migrate/lib/models/enums.ts +2 -2
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/old/lib/config/hostTable.ts +1 -1
- package/components/common/wizards/vm/migrate/steps/selectStorage/SelectStorage.vue +4 -4
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +2 -6
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +13 -29
- package/composables/deepCopy.ts +21 -0
- package/composables/useAppVersion.ts +21 -21
- package/composables/useEnvLanguage.ts +8 -7
- package/composables/useLocal.ts +6 -6
- package/composables/useLocalCommon.ts +39 -39
- package/composables/useUniqueId.ts +5 -0
- package/lib/config/regExp.ts +1 -1
- package/lib/models/enums.ts +0 -28
- package/lib/models/interfaces.ts +0 -2
- package/lib/models/types.ts +21 -20
- package/lib/utils/localizationMapper.ts +2 -1
- package/package.json +4 -3
- package/plugins/console.ts +21 -21
- package/plugins/date.ts +37 -14
- package/plugins/mouse.ts +21 -21
- package/plugins/panelStates.ts +70 -70
- package/plugins/text.ts +59 -59
- package/plugins/validation.ts +6 -6
- package/public/spice-console/application/clientgui.js +854 -854
- package/public/spice-console/application/packetfactory.js +211 -211
- package/public/spice-console/application/virtualmouse.js +147 -147
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +440 -440
- package/public/spice-console/process/cursorprocess.js +128 -128
- package/public/spice-console/process/inputprocess.js +227 -227
- package/public/spice-console/process/mainprocess.js +212 -212
- package/public/spice-console/run.js +210 -210
- package/store/main/getters.ts +2 -2
- package/store/main/mutations.ts +7 -7
- package/store/main/state.ts +7 -7
- package/store/tasks/actions.ts +1 -1
- package/store/tasks/mappers/recentTasks.ts +123 -123
- package/store/tasks/mappers/tasks.ts +1 -8
- package/store/tasks/mutations.ts +82 -82
- package/components/common/backup/storage/actions/add/steps/typeMode/tooltip/Tooltip.vue +0 -33
- package/components/common/certificate/Certificate.vue +0 -27
- package/components/common/certificate/CertificateInfo.vue +0 -139
- package/components/common/certificate/Tools.vue +0 -59
- package/components/common/certificate/lib/config/tabsPannel.ts +0 -22
- package/components/common/certificate/lib/models/interfaces.ts +0 -9
- package/components/common/certificate/lib/models/types.ts +0 -1
- package/components/common/certificate/modals/renew/New.vue +0 -64
- package/components/common/certificate/modals/renew/Old.vue +0 -122
- package/components/common/certificate/modals/renew/Renew.vue +0 -67
- package/components/common/layout/console/Console.vue +0 -70
- package/components/common/layout/console/lib/models/interfaces.ts +0 -10
- package/components/common/layout/theHeader/helpMenu/about/Old.vue +0 -78
- package/components/common/pages/auth/TheFooter.vue +0 -104
- package/components/common/pages/backups/backupsNew/Skeleton.vue +0 -136
- package/components/common/pages/files/lib/models/enums.ts +0 -36
- package/components/common/pages/tasks/table/lib/models/interfaces.ts +0 -9
- package/components/common/qr/Qr.vue +0 -69
- package/components/common/vm/snapshots/DetailView.vue +0 -90
- package/components/common/vm/snapshots/Old.vue +0 -71
- package/components/common/vm/snapshots/Snapshots.vue +0 -82
- package/components/common/vm/snapshots/lib/models/interfaces.ts +0 -5
- package/components/common/vm/snapshots/lib/models/types.ts +0 -11
- package/components/common/vm/snapshots/modals/confirm/Confirm.vue +0 -48
- package/components/common/vm/snapshots/modals/confirm/New.vue +0 -128
- package/components/common/vm/snapshots/modals/confirm/Old.vue +0 -140
- package/components/common/vm/snapshots/modals/confirm/lib/models/enums.ts +0 -19
- package/components/common/vm/snapshots/modals/lib/config/modalTexts.ts +0 -30
- package/components/common/vm/snapshots/modals/takeOrEdit/Old.vue +0 -220
- package/components/common/vm/snapshots/modals/takeOrEdit/TakeOrEdit.vue +0 -51
- package/components/common/vm/snapshots/modals/takeOrEdit/new/New.vue +0 -184
- package/components/common/vm/snapshots/modals/takeOrEdit/new/lib/utils/getSnapshotsName.ts +0 -15
- package/components/common/vm/snapshots/new/New.vue +0 -471
- package/components/common/vm/snapshots/new/Skeleton.vue +0 -136
- package/components/common/vm/snapshots/new/contextMenuView/ContextMenuView.vue +0 -103
- package/components/common/vm/snapshots/new/contextMenuView/lib/config/contextMenuItems.ts +0 -34
- package/components/common/vm/snapshots/new/lib/models/interfaces.ts +0 -12
- package/components/common/vm/snapshots/new/lib/utils/contextMenu.ts +0 -29
- package/components/common/vm/snapshots/new/lib/utils/details.ts +0 -48
- package/components/common/vm/snapshots/tools/Tools.vue +0 -56
- package/components/common/vm/snapshots/tools/lib/config/tabsPannel.ts +0 -39
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/AdvancedOptions.vue +0 -43
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +0 -114
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/Old.vue +0 -114
- package/components/common/wizards/datastore/add/steps/typeMode/tooltip/Tooltip.vue +0 -33
- package/composables/useBrowse.ts +0 -24
- package/lib/models/composables/useBrowse/interfaces.ts +0 -4
- package/store/inventory/modules/snapshots/lib/models/interfaces.ts +0 -45
- /package/components/common/layout/theHeader/helpMenu/{old → helpMenuOld}/lib/models/types.ts +0 -0
- /package/components/common/layout/theHeader/userMenu/{new → userMenuNew}/lib/config/dropMenu.ts +0 -0
- /package/components/common/layout/theHeader/userMenu/{old → userMenuOld}/lib/models/types.ts +0 -0
- /package/components/common/pages/backups/modals/restore/{New.vue → RestoreNew.vue} +0 -0
package/components/common/layout/theHeader/userMenu/modals/preferences/view/{New.vue → ViewNew.vue}
RENAMED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{{ props.description }}
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
<div class="flex-align-center
|
|
16
|
+
<div class="flex-align-center">
|
|
17
17
|
<ui-switch
|
|
18
18
|
v-model="newViewLocal"
|
|
19
19
|
:label="localization.common.newView"
|
|
@@ -22,43 +22,17 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
|
-
<div class="flex mt-4">
|
|
26
|
-
<div style="width: 38px" class="mr-3"></div>
|
|
27
|
-
<div>
|
|
28
|
-
<div class="form-second-title">
|
|
29
|
-
{{ localization.myPreferences.showNotificationDescription }}
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<div class="flex-align-center new-view-switch-container">
|
|
33
|
-
<ui-switch
|
|
34
|
-
v-model="isShowNotification"
|
|
35
|
-
:label="localization.myPreferences.showNotification"
|
|
36
|
-
test-id="show-notification-switch"
|
|
37
|
-
/>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
25
|
</form>
|
|
42
26
|
</template>
|
|
43
27
|
|
|
44
28
|
<script setup lang="ts">
|
|
45
29
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
46
30
|
|
|
47
|
-
const newViewLocal = defineModel<boolean>()
|
|
48
|
-
const isShowNotification = defineModel<boolean>('isShowNotification')
|
|
49
|
-
|
|
50
31
|
const props = defineProps<{
|
|
51
32
|
description: string
|
|
52
33
|
}>()
|
|
53
34
|
|
|
35
|
+
const newViewLocal = defineModel<boolean>()
|
|
36
|
+
|
|
54
37
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
55
38
|
</script>
|
|
56
|
-
|
|
57
|
-
<style lang="scss" scoped>
|
|
58
|
-
.new-view-switch-container {
|
|
59
|
-
:deep(.switch-content .switch-label) {
|
|
60
|
-
font-size: 13px;
|
|
61
|
-
font-weight: 400;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
</style>
|
package/components/common/layout/theHeader/userMenu/modals/preferences/view/{Old.vue → ViewOld.vue}
RENAMED
|
@@ -14,35 +14,20 @@
|
|
|
14
14
|
class="switch"
|
|
15
15
|
/>
|
|
16
16
|
</div>
|
|
17
|
-
|
|
18
|
-
<div class="description second-description">
|
|
19
|
-
{{ localization.myPreferences.showNotificationDescription }}
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="flex-align-center">
|
|
23
|
-
<label for="view">{{ localization.myPreferences.showNotification }}</label>
|
|
24
|
-
<input
|
|
25
|
-
id="view"
|
|
26
|
-
v-model="isShowNotification"
|
|
27
|
-
type="checkbox"
|
|
28
|
-
class="switch"
|
|
29
|
-
/>
|
|
30
|
-
</div>
|
|
31
17
|
</form>
|
|
32
18
|
</template>
|
|
33
19
|
|
|
34
20
|
<script setup lang="ts">
|
|
35
21
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
36
22
|
|
|
37
|
-
const newViewLocal = defineModel<boolean>()
|
|
38
|
-
const isShowNotification = defineModel<boolean>('isShowNotification')
|
|
39
|
-
|
|
40
23
|
const props = defineProps<{
|
|
41
24
|
description: string
|
|
42
25
|
}>()
|
|
43
26
|
|
|
44
27
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
45
28
|
|
|
29
|
+
const newViewLocal = defineModel<boolean>()
|
|
30
|
+
|
|
46
31
|
const isDisabled = ref<boolean>(true)
|
|
47
32
|
// @ts-ignore
|
|
48
33
|
window.tools = new Proxy(
|
|
@@ -59,10 +44,6 @@ window.tools = new Proxy(
|
|
|
59
44
|
<style lang="scss" scoped>
|
|
60
45
|
.description {
|
|
61
46
|
margin-bottom: 10px;
|
|
62
|
-
|
|
63
|
-
&.second-description {
|
|
64
|
-
margin-top: 20px;
|
|
65
|
-
}
|
|
66
47
|
}
|
|
67
48
|
|
|
68
49
|
label {
|
package/components/common/layout/theHeader/userMenu/{new/New.vue → userMenuNew/UserMenuNew.vue}
RENAMED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
<script setup lang="ts">
|
|
65
65
|
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
66
66
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
67
|
-
import { userMenuFunc } from '~/components/common/layout/theHeader/userMenu/
|
|
67
|
+
import { userMenuFunc } from '~/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu'
|
|
68
68
|
|
|
69
69
|
const props = defineProps<{
|
|
70
70
|
hostname: string
|
package/components/common/layout/theHeader/userMenu/{old/Old.vue → userMenuOld/UserMenuOld.vue}
RENAMED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
<script setup lang="ts">
|
|
13
13
|
import type { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
|
|
14
14
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
15
|
-
import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/
|
|
16
|
-
import { accountMenuFunc } from '~/components/common/layout/theHeader/userMenu/
|
|
15
|
+
import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/userMenuOld/lib/models/types'
|
|
16
|
+
import { accountMenuFunc } from '~/components/common/layout/theHeader/userMenu/userMenuOld/lib/config/dropMenu'
|
|
17
17
|
|
|
18
18
|
const props = defineProps<{
|
|
19
19
|
hostname: string
|
package/components/common/layout/theHeader/userMenu/{old → userMenuOld}/lib/config/dropMenu.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
2
|
import type { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
|
|
3
|
-
import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/
|
|
3
|
+
import type { UI_T_ActionTypeUserMenu } from '~/components/common/layout/theHeader/userMenu/userMenuOld/lib/models/types'
|
|
4
4
|
|
|
5
5
|
export const accountMenuFunc = (
|
|
6
6
|
localization: UI_I_Localization
|
|
@@ -138,14 +138,6 @@ watch(
|
|
|
138
138
|
},
|
|
139
139
|
{ immediate: true }
|
|
140
140
|
)
|
|
141
|
-
|
|
142
|
-
const updateTimeFormatAndInterfaceLang = computed<number>(
|
|
143
|
-
() => $store.getters['main/getUpdateTimeFormatAndInterfaceLang']
|
|
144
|
-
)
|
|
145
|
-
|
|
146
|
-
watch(updateTimeFormatAndInterfaceLang, () => {
|
|
147
|
-
startChart()
|
|
148
|
-
})
|
|
149
141
|
</script>
|
|
150
142
|
|
|
151
143
|
<style scoped lang="scss"></style>
|
|
@@ -178,10 +178,6 @@ const routeType = '' + useRoute().params.type
|
|
|
178
178
|
|
|
179
179
|
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
180
180
|
|
|
181
|
-
const updateTimeFormatAndInterfaceLang = computed<number>(
|
|
182
|
-
() => $store.getters['main/getUpdateTimeFormatAndInterfaceLang']
|
|
183
|
-
)
|
|
184
|
-
|
|
185
181
|
const localSelectedTimespanType = computed<string>({
|
|
186
182
|
get() {
|
|
187
183
|
return props.selectedTimespanType
|
|
@@ -282,7 +278,7 @@ const updateTools = (): void => {
|
|
|
282
278
|
}
|
|
283
279
|
|
|
284
280
|
const chartTitleDate = computed<string>(() => {
|
|
285
|
-
if (!props.startDate
|
|
281
|
+
if (!props.startDate) return ''
|
|
286
282
|
|
|
287
283
|
const start = $formattedDatetime(props.startDate, { hasSeconds: true })
|
|
288
284
|
const end = $formattedDatetime(props.endDate, { hasSeconds: true })
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="detail-view overflow-auto py-0 px-6">
|
|
3
|
-
<table v-if="detailData" class="table table-noborder">
|
|
4
|
-
<tbody>
|
|
5
|
-
<tr>
|
|
6
|
-
<td class="left">{{ localization.common.name }}</td>
|
|
7
|
-
<td class="left backup-name-label">{{ detailData.name }}</td>
|
|
8
|
-
</tr>
|
|
9
|
-
<tr>
|
|
10
|
-
<td class="left">{{ localization.common.description }}</td>
|
|
11
|
-
<td class="left backup-name-label">{{ detailData.description }}</td>
|
|
12
|
-
</tr>
|
|
13
|
-
<tr>
|
|
14
|
-
<td class="left">{{ localization.common.timestamp }}</td>
|
|
15
|
-
<td class="left backup-name-label">{{ detailData.timestamp }}</td>
|
|
16
|
-
</tr>
|
|
17
|
-
</tbody>
|
|
18
|
-
</table>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script setup lang="ts">
|
|
23
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
24
|
-
import type { UI_I_BackupsTreeNode } from '~/components/common/pages/backups/lib/models/interfaces'
|
|
25
|
-
|
|
26
|
-
const props = defineProps<{
|
|
27
|
-
detail: UI_I_BackupsTreeNode | null
|
|
28
|
-
}>()
|
|
29
|
-
|
|
30
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
31
|
-
|
|
32
|
-
const detailData = ref<UI_I_BackupsTreeNode | null>(null)
|
|
33
|
-
watch(
|
|
34
|
-
() => props.detail,
|
|
35
|
-
(newValue) => {
|
|
36
|
-
detailData.value = newValue
|
|
37
|
-
},
|
|
38
|
-
{ immediate: true, deep: true }
|
|
39
|
-
)
|
|
40
|
-
</script>
|
|
41
|
-
|
|
42
|
-
<style scoped lang="scss">
|
|
43
|
-
.detail-view {
|
|
44
|
-
width: 50%;
|
|
45
|
-
|
|
46
|
-
.table {
|
|
47
|
-
.left:not(.backup-name-label) {
|
|
48
|
-
width: 320px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="detail-view overflow-auto py-0 px-6">
|
|
3
|
+
<table v-if="detailData" class="table table-noborder">
|
|
4
|
+
<tbody>
|
|
5
|
+
<tr>
|
|
6
|
+
<td class="left">{{ localization.common.name }}</td>
|
|
7
|
+
<td class="left backup-name-label">{{ detailData.name }}</td>
|
|
8
|
+
</tr>
|
|
9
|
+
<tr>
|
|
10
|
+
<td class="left">{{ localization.common.description }}</td>
|
|
11
|
+
<td class="left backup-name-label">{{ detailData.description }}</td>
|
|
12
|
+
</tr>
|
|
13
|
+
<tr>
|
|
14
|
+
<td class="left">{{ localization.common.timestamp }}</td>
|
|
15
|
+
<td class="left backup-name-label">{{ detailData.timestamp }}</td>
|
|
16
|
+
</tr>
|
|
17
|
+
</tbody>
|
|
18
|
+
</table>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script setup lang="ts">
|
|
23
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
24
|
+
import type { UI_I_BackupsTreeNode } from '~/components/common/pages/backups/lib/models/interfaces'
|
|
25
|
+
|
|
26
|
+
const props = defineProps<{
|
|
27
|
+
detail: UI_I_BackupsTreeNode | null
|
|
28
|
+
}>()
|
|
29
|
+
|
|
30
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
31
|
+
|
|
32
|
+
const detailData = ref<UI_I_BackupsTreeNode | null>(null)
|
|
33
|
+
watch(
|
|
34
|
+
() => props.detail,
|
|
35
|
+
(newValue) => {
|
|
36
|
+
detailData.value = newValue
|
|
37
|
+
},
|
|
38
|
+
{ immediate: true, deep: true }
|
|
39
|
+
)
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<style scoped lang="scss">
|
|
43
|
+
.detail-view {
|
|
44
|
+
width: 50%;
|
|
45
|
+
|
|
46
|
+
.table {
|
|
47
|
+
.left:not(.backup-name-label) {
|
|
48
|
+
width: 320px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<common-pages-backups-backups-new-skeleton v-if="props.backupsLoading" />
|
|
3
2
|
<div
|
|
4
|
-
v-else
|
|
5
3
|
:class="[
|
|
6
4
|
'backups-page grid h-inherit p-4 overflow-hidden ',
|
|
7
5
|
{ 'selected gap-3': props.detailData },
|
|
8
6
|
]"
|
|
9
7
|
>
|
|
10
|
-
<div class="left-content
|
|
11
|
-
<div class="flex justify-between
|
|
8
|
+
<div class="left-content grid p-4">
|
|
9
|
+
<div class="flex justify-between">
|
|
12
10
|
<h3 class="title-block font-[500] text-[16px]">
|
|
13
11
|
{{ localization.inventoryTabs.backups }} ({{
|
|
14
12
|
props.backupsTree.length
|
|
@@ -19,11 +17,10 @@
|
|
|
19
17
|
v-permission="props.createBackupPermission"
|
|
20
18
|
test-id="take-backup-btn"
|
|
21
19
|
size="md"
|
|
22
|
-
class="create-backup-button"
|
|
23
20
|
@click="emits('set-action', 'createBackup')"
|
|
24
21
|
>
|
|
25
|
-
<ui-icon name="plus" width="20" height="20" class="mr-2
|
|
26
|
-
{{ localization.common.createBackup }}
|
|
22
|
+
<ui-icon name="plus" width="20" height="20" class="mr-2" />
|
|
23
|
+
{{ localization.common.createBackup }}...
|
|
27
24
|
</ui-button>
|
|
28
25
|
</div>
|
|
29
26
|
<div
|
|
@@ -31,17 +28,16 @@
|
|
|
31
28
|
class="backups-tree-content overflow-y-auto my-4 px-2 pb-2"
|
|
32
29
|
>
|
|
33
30
|
<ui-tree
|
|
31
|
+
:is-loading="props.backupsLoading"
|
|
34
32
|
:nodes="props.backupsTree"
|
|
35
33
|
@select-node="emits('select-node', $event)"
|
|
36
34
|
@toggle-node="emits('show-nodes', $event.id)"
|
|
37
35
|
@show-context-menu="showContextMenu"
|
|
38
36
|
>
|
|
39
37
|
<template #content="{ node }">
|
|
40
|
-
<div class="flex-align-center
|
|
38
|
+
<div class="flex-align-center">
|
|
41
39
|
<span :class="['node-icon', node.iconClassName]"></span>
|
|
42
|
-
<span class="node-name text-ellipsis
|
|
43
|
-
node.name
|
|
44
|
-
}}</span>
|
|
40
|
+
<span class="node-name text-ellipsis">{{ node.name }}</span>
|
|
45
41
|
</div>
|
|
46
42
|
</template>
|
|
47
43
|
</ui-tree>
|
|
@@ -56,7 +52,7 @@
|
|
|
56
52
|
<p class="title-block font-[400] text-[16px] mt-2">
|
|
57
53
|
{{ localization.common.noBackupsAvailable }}
|
|
58
54
|
</p>
|
|
59
|
-
<p class="description-block mt-[6px] text-[13px]
|
|
55
|
+
<p class="description-block mt-[6px] text-[13px]">
|
|
60
56
|
{{ localization.common.noBackupsAvailableDesc }}
|
|
61
57
|
</p>
|
|
62
58
|
</div>
|
|
@@ -82,7 +78,7 @@
|
|
|
82
78
|
v-if="props.detailData"
|
|
83
79
|
class="backups-details overflow-hidden flex-direction-column p-4"
|
|
84
80
|
>
|
|
85
|
-
<div class="flex justify-between mb-6
|
|
81
|
+
<div class="flex justify-between mb-6">
|
|
86
82
|
<h3 class="title-block font-[500] text-[16px]">
|
|
87
83
|
{{ localization.common.backupDetails }}
|
|
88
84
|
</h3>
|
|
@@ -146,13 +142,7 @@
|
|
|
146
142
|
</ui-tooltip>
|
|
147
143
|
</div>
|
|
148
144
|
</div>
|
|
149
|
-
<div
|
|
150
|
-
ref="detailsScrollBlock"
|
|
151
|
-
:class="[
|
|
152
|
-
'grid row-gap-3 pr-4 overflow-y-auto details-scroll-block',
|
|
153
|
-
{ 'has-scroll': hasScroll },
|
|
154
|
-
]"
|
|
155
|
-
>
|
|
145
|
+
<div class="grid row-gap-3 overflow-y-auto">
|
|
156
146
|
<ui-info-block
|
|
157
147
|
v-for="(item, index) in currentDetailsData"
|
|
158
148
|
:key="index"
|
|
@@ -163,12 +153,9 @@
|
|
|
163
153
|
<ui-icon
|
|
164
154
|
v-if="item.labelIcon"
|
|
165
155
|
:name="item.labelIcon"
|
|
166
|
-
:class="[
|
|
167
|
-
'info-label-icon mr-[10px]',
|
|
168
|
-
`icon-name-${item.labelIcon}`,
|
|
169
|
-
]"
|
|
170
156
|
width="20"
|
|
171
157
|
height="20"
|
|
158
|
+
class="info-label-icon mr-[10px]"
|
|
172
159
|
/>
|
|
173
160
|
<span class="info-label">{{ item.label }}</span>
|
|
174
161
|
</div>
|
|
@@ -196,8 +183,6 @@
|
|
|
196
183
|
</template>
|
|
197
184
|
|
|
198
185
|
<script setup lang="ts">
|
|
199
|
-
import { useTemplateRef } from 'vue'
|
|
200
|
-
import { useElementSize } from '@vueuse/core'
|
|
201
186
|
import type { UI_I_InfoBlock } from '~/node_modules/bfg-uikit/components/ui/infoBlock/models/interfaces'
|
|
202
187
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
203
188
|
import type { UI_I_BackupsTreeNode } from '~/components/common/pages/backups/lib/models/interfaces'
|
|
@@ -236,15 +221,6 @@ const onSelectContextMenuItem = (actionType: UI_T_BackupActionType): void => {
|
|
|
236
221
|
const currentDetailsData = computed<UI_I_InfoBlock[]>(() =>
|
|
237
222
|
constructDetails(localization.value, props.detailData)
|
|
238
223
|
)
|
|
239
|
-
|
|
240
|
-
const detailsElement = useTemplateRef<HTMLDivElement>('detailsScrollBlock')
|
|
241
|
-
const { height } = useElementSize(detailsElement)
|
|
242
|
-
|
|
243
|
-
const hasScroll = computed<boolean>(
|
|
244
|
-
() =>
|
|
245
|
-
height.value &&
|
|
246
|
-
detailsElement.value?.scrollHeight > detailsElement.value?.clientHeight
|
|
247
|
-
)
|
|
248
224
|
</script>
|
|
249
225
|
|
|
250
226
|
<style>
|
|
@@ -252,9 +228,7 @@ const hasScroll = computed<boolean>(
|
|
|
252
228
|
--backups-page-inner-block-bg: #ffffff;
|
|
253
229
|
--backups-page-title-color: #4d5d69;
|
|
254
230
|
--backups-page-tree-border-color: #e9ebed;
|
|
255
|
-
--backups-page-tree-block-bg-color: #ffffff;
|
|
256
231
|
--backups-page-details-action-color: #4d5d69;
|
|
257
|
-
--backups-page-details-action-line-color: #e9ebeda3;
|
|
258
232
|
--backups-page-details-action-hover-color: #213444;
|
|
259
233
|
--backups-page-info-block-label-color: #4d5d69;
|
|
260
234
|
--backups-page-info-block-value-color: #182531;
|
|
@@ -263,9 +237,7 @@ const hasScroll = computed<boolean>(
|
|
|
263
237
|
--backups-page-inner-block-bg: #334453;
|
|
264
238
|
--backups-page-title-color: #e9eaec;
|
|
265
239
|
--backups-page-tree-border-color: #e9ebed1f;
|
|
266
|
-
--backups-page-tree-block-bg-color: #1b2a371f;
|
|
267
240
|
--backups-page-details-action-color: #e9eaec;
|
|
268
|
-
--backups-page-details-action-line-color: #e9ebed1f;
|
|
269
241
|
--backups-page-details-action-hover-color: #ffffff;
|
|
270
242
|
--backups-page-info-block-label-color: #e9eaec;
|
|
271
243
|
--backups-page-info-block-value-color: #e9eaec;
|
|
@@ -281,13 +253,6 @@ const hasScroll = computed<boolean>(
|
|
|
281
253
|
.title-block {
|
|
282
254
|
color: var(--backups-page-title-color);
|
|
283
255
|
}
|
|
284
|
-
.create-backup-button {
|
|
285
|
-
white-space: nowrap;
|
|
286
|
-
|
|
287
|
-
.icon {
|
|
288
|
-
min-width: 20px;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
256
|
|
|
292
257
|
.left-content {
|
|
293
258
|
background-color: var(--backups-page-inner-block-bg);
|
|
@@ -298,24 +263,15 @@ const hasScroll = computed<boolean>(
|
|
|
298
263
|
.backups-tree-content {
|
|
299
264
|
border: 1px solid var(--backups-page-tree-border-color);
|
|
300
265
|
border-radius: 8px;
|
|
301
|
-
background-color: var(--backups-page-tree-block-bg-color);
|
|
302
266
|
|
|
303
|
-
:deep(.tree-
|
|
304
|
-
|
|
305
|
-
min-width: 100%;
|
|
267
|
+
:deep(.tree-content) {
|
|
268
|
+
padding-right: 8px;
|
|
306
269
|
|
|
307
|
-
.
|
|
308
|
-
|
|
270
|
+
.node-wrapper {
|
|
271
|
+
border-radius: 4px;
|
|
309
272
|
|
|
310
|
-
.node-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
.toggle-button-empty {
|
|
314
|
-
display: none;
|
|
315
|
-
}
|
|
316
|
-
.node-element {
|
|
317
|
-
line-height: 20px;
|
|
318
|
-
}
|
|
273
|
+
.node-element {
|
|
274
|
+
line-height: 20px;
|
|
319
275
|
}
|
|
320
276
|
}
|
|
321
277
|
}
|
|
@@ -327,10 +283,6 @@ const hasScroll = computed<boolean>(
|
|
|
327
283
|
}
|
|
328
284
|
}
|
|
329
285
|
.delete-all {
|
|
330
|
-
&.disabled {
|
|
331
|
-
color: #bdc3c7;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
286
|
&:not(.disabled) {
|
|
335
287
|
color: #ea3223;
|
|
336
288
|
}
|
|
@@ -340,18 +292,12 @@ const hasScroll = computed<boolean>(
|
|
|
340
292
|
background-color: var(--backups-page-inner-block-bg);
|
|
341
293
|
box-shadow: 0 1px 4px 0 #00000014;
|
|
342
294
|
border-radius: 8px;
|
|
343
|
-
padding-right: 0;
|
|
344
295
|
|
|
345
296
|
.details-actions-block {
|
|
346
297
|
.border-line {
|
|
347
298
|
width: 1px;
|
|
348
299
|
height: 20px;
|
|
349
|
-
background-color:
|
|
350
|
-
}
|
|
351
|
-
.restore-backups-btn {
|
|
352
|
-
:deep(path) {
|
|
353
|
-
stroke-width: 1.7;
|
|
354
|
-
}
|
|
300
|
+
background-color: #e9ebeda3;
|
|
355
301
|
}
|
|
356
302
|
.restore-backups-btn,
|
|
357
303
|
.edit-backups-btn {
|
|
@@ -365,38 +311,18 @@ const hasScroll = computed<boolean>(
|
|
|
365
311
|
color: #ea3223;
|
|
366
312
|
}
|
|
367
313
|
}
|
|
368
|
-
.details-scroll-block {
|
|
369
|
-
padding-right: 0;
|
|
370
|
-
|
|
371
|
-
&:not(.has-scroll) {
|
|
372
|
-
padding-right: 16px;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
314
|
.info-block-label-content {
|
|
376
315
|
.info-label-icon {
|
|
377
316
|
color: #9da6ad;
|
|
378
317
|
min-width: 20px;
|
|
379
|
-
|
|
380
|
-
&.icon-name-vsphere-icon-storage-system-refresh {
|
|
381
|
-
:deep(path) {
|
|
382
|
-
stroke-width: 1.4;
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
318
|
}
|
|
386
319
|
.info-label {
|
|
387
|
-
margin-top:
|
|
388
|
-
line-height: 18px;
|
|
320
|
+
margin-top: 2.5px;
|
|
389
321
|
color: var(--backups-page-info-block-label-color);
|
|
390
322
|
}
|
|
391
323
|
}
|
|
392
324
|
.empty-description {
|
|
393
325
|
color: #9da6ad;
|
|
394
|
-
margin-top: 1px;
|
|
395
|
-
line-height: 18px;
|
|
396
|
-
text-align: right;
|
|
397
|
-
}
|
|
398
|
-
:deep(.ui-main-info-block-item) {
|
|
399
|
-
grid-column-gap: 10px;
|
|
400
326
|
}
|
|
401
327
|
:deep(.ui-main-info-block-item-right) {
|
|
402
328
|
white-space: unset !important;
|
|
@@ -407,25 +333,12 @@ const hasScroll = computed<boolean>(
|
|
|
407
333
|
}
|
|
408
334
|
:deep(.ui-main-info-block-item-right-value) {
|
|
409
335
|
color: var(--backups-page-info-block-value-color);
|
|
410
|
-
font-size: 13px;
|
|
411
|
-
font-weight: 400;
|
|
412
|
-
line-height: 18px;
|
|
413
|
-
margin-top: 1px;
|
|
414
336
|
}
|
|
415
337
|
:deep(.ui-main-info-block-item-right-open) {
|
|
416
338
|
display: none;
|
|
417
339
|
}
|
|
418
340
|
}
|
|
419
341
|
}
|
|
420
|
-
:root.dark-theme {
|
|
421
|
-
.left-content {
|
|
422
|
-
.delete-all {
|
|
423
|
-
&.disabled {
|
|
424
|
-
opacity: 0.44;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
342
|
|
|
430
343
|
@media (max-width: 1200px) {
|
|
431
344
|
.backups-page {
|
|
@@ -433,7 +346,6 @@ const hasScroll = computed<boolean>(
|
|
|
433
346
|
|
|
434
347
|
&.selected {
|
|
435
348
|
grid-template-columns: 1fr;
|
|
436
|
-
grid-template-rows: minmax(189px, 1fr) 1fr;
|
|
437
349
|
}
|
|
438
350
|
|
|
439
351
|
.backups-details {
|
|
@@ -80,26 +80,20 @@ const onSelectContextMenuItem = (item: UI_I_ContextMenuItem): void => {
|
|
|
80
80
|
|
|
81
81
|
<style scoped lang="scss">
|
|
82
82
|
.backups-context-menu-view {
|
|
83
|
-
:deep(.
|
|
84
|
-
|
|
83
|
+
:deep(.menu-item) {
|
|
84
|
+
.context-icon {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
85
87
|
|
|
86
|
-
.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
88
|
+
.item-ui-icon {
|
|
89
|
+
margin-right: 8px;
|
|
90
|
+
}
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
width: 16px;
|
|
94
|
-
height: 16px;
|
|
95
|
-
}
|
|
92
|
+
&:last-child {
|
|
93
|
+
color: #ea3223;
|
|
96
94
|
|
|
97
|
-
|
|
95
|
+
.context-link:hover {
|
|
98
96
|
color: #ea3223;
|
|
99
|
-
|
|
100
|
-
.context-link:hover {
|
|
101
|
-
color: #ea3223;
|
|
102
|
-
}
|
|
103
97
|
}
|
|
104
98
|
}
|
|
105
99
|
}
|