bfg-common 1.6.77 → 1.6.78
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/assets/localization/local_be.json +4461 -4213
- package/assets/localization/local_en.json +4466 -4217
- package/assets/localization/local_hy.json +4465 -4217
- package/assets/localization/local_kk.json +4464 -4216
- package/assets/localization/local_ru.json +4464 -4216
- package/assets/localization/local_zh.json +4462 -4214
- package/assets/scss/common/global.scss +11 -0
- package/assets/scss/common/normalize.scss +3 -0
- package/assets/scss/common/theme.scss +2 -2
- package/components/atoms/stack/StackBlock.vue +1 -1
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -2
- package/components/atoms/tooltip/TooltipError.vue +3 -0
- package/components/common/adapterManager/AdapterManager.vue +473 -473
- package/components/common/adapterManager/AdapterManagerNew.vue +86 -0
- package/components/common/adapterManager/AdapterManagerOld.vue +498 -498
- package/components/common/adapterManager/addAdapterModal/AddAdapterModal.vue +70 -70
- package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +110 -110
- package/components/common/adapterManager/addAdapterModal/AddAdapterModalOld.vue +531 -531
- package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModal.vue +32 -32
- package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +37 -38
- package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalOld.vue +73 -73
- package/components/common/adapterManager/lib/config/index.ts +19 -19
- package/components/common/adapterManager/noActiveAdaptersModal/NoActiveAdaptersModal.vue +31 -31
- package/components/common/adapterManager/noActiveAdaptersModal/NoActiveAdaptersModalNew.vue +34 -34
- package/components/common/adapterManager/noActiveAdaptersModal/NoActiveAdaptersModalOld.vue +57 -57
- package/components/common/adapterManager/noConnectedActiveAdaptersModal/NoConnectedActiveAdaptersModal.vue +31 -31
- package/components/common/adapterManager/noConnectedActiveAdaptersModal/NoConnectedActiveAdaptersModalNew.vue +34 -34
- package/components/common/adapterManager/noConnectedActiveAdaptersModal/NoConnectedActiveAdaptersModalOld.vue +57 -57
- package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +34 -34
- package/components/common/adapterManager/ui/actions/RemoveAdapterButton.vue +41 -41
- package/components/common/adapterManager/ui/actions/VerticalSeparator.vue +10 -10
- package/components/common/adapterManager/ui/actions/bar/Bar.vue +2 -0
- package/components/common/adapterManager/ui/actions/bar/BarNew.vue +3 -2
- package/components/common/adapterManager/ui/actions/bar/BarOld.vue +95 -95
- package/components/common/adapterManager/ui/actions/moveDownAdapterButton/MoveDownAdapterButton.vue +28 -28
- package/components/common/adapterManager/ui/actions/moveDownAdapterButton/MoveDownAdapterButtonNew.vue +76 -76
- package/components/common/adapterManager/ui/actions/moveDownAdapterButton/MoveDownAdapterButtonOld.vue +33 -33
- package/components/common/adapterManager/ui/actions/moveUpAdapterButton/MoveUpAdapterButton.vue +28 -28
- package/components/common/adapterManager/ui/actions/moveUpAdapterButton/MoveUpAdapterButtonNew.vue +77 -77
- package/components/common/adapterManager/ui/actions/moveUpAdapterButton/MoveUpAdapterButtonOld.vue +33 -33
- package/components/common/adapterManager/ui/noSelectedAdapter/NoSelectedAdapter.vue +24 -24
- package/components/common/adapterManager/ui/noSelectedAdapter/NoSelectedAdapterNew.vue +18 -18
- package/components/common/adapterManager/ui/noSelectedAdapter/NoSelectedAdapterOld.vue +38 -38
- package/components/common/adapterManager/ui/secondTitle/SecondTitle.vue +31 -31
- package/components/common/adapterManager/ui/secondTitle/SecondTitleNew.vue +51 -51
- package/components/common/adapterManager/ui/secondTitle/SecondTitleOld.vue +35 -35
- package/components/common/adapterManager/ui/table/Table.vue +88 -88
- package/components/common/adapterManager/ui/table/TableNew.vue +137 -137
- package/components/common/adapterManager/ui/table/TableOld.vue +141 -141
- package/components/common/adapterManager/ui/table/adapters/Adapters.vue +44 -44
- package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +187 -186
- package/components/common/adapterManager/ui/table/adapters/AdaptersOld.vue +87 -87
- package/components/common/adapterManager/ui/table/header/Header.vue +57 -57
- package/components/common/adapterManager/ui/table/header/HeaderNew.vue +81 -81
- package/components/common/adapterManager/ui/table/header/HeaderOld.vue +79 -79
- package/components/common/adapterManager/ui/table/lib/models/types.ts +1 -1
- package/components/common/certificate/Certificate.vue +6 -16
- package/components/common/certificate/{Info/Old.vue → CertificateInfo.vue} +34 -6
- package/components/common/certificate/{tools/Tools.vue → Tools.vue} +23 -18
- package/components/common/certificate/lib/config/tabsPannel.ts +22 -0
- package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +6 -0
- package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +219 -192
- package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +6 -4
- package/components/common/configure/physicalAdapters/buttons/Buttons.vue +1 -0
- package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +26 -1
- package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +30 -1
- package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +5 -0
- package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +19 -0
- package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +12 -1
- package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
- package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +12 -5
- package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +4 -1
- package/components/common/diagramMain/Diagram.vue +169 -85
- package/components/common/diagramMain/DiagramMain.vue +40 -10
- package/components/common/diagramMain/adapter/Adapter.vue +123 -123
- package/components/common/diagramMain/adapter/AdapterItem.vue +438 -438
- package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
- package/components/common/diagramMain/adapter/Contents.vue +212 -212
- package/components/common/diagramMain/adapter/Lines.vue +81 -81
- package/components/common/diagramMain/adapter/block/Block.vue +27 -27
- package/components/common/diagramMain/adapter/block/BlockNew.vue +58 -58
- package/components/common/diagramMain/adapter/block/BlockOld.vue +50 -50
- package/components/common/diagramMain/adapter/secondBlock/SecondBlock.vue +27 -27
- package/components/common/diagramMain/adapter/secondBlock/SecondBlockNew.vue +60 -60
- package/components/common/diagramMain/adapter/secondBlock/SecondBlockOld.vue +51 -51
- package/components/common/diagramMain/header/Header.vue +49 -0
- package/components/common/diagramMain/header/HeaderNew.vue +155 -0
- package/components/common/diagramMain/{Header.vue → header/HeaderOld.vue} +78 -67
- package/components/common/diagramMain/highlights/Highlights.vue +151 -151
- package/components/common/diagramMain/highlights/HighlightsNew.vue +124 -124
- package/components/common/diagramMain/highlights/HighlightsOld.vue +107 -107
- package/components/common/diagramMain/lib/config/index.ts +81 -81
- package/components/common/diagramMain/lib/config/initial.ts +50 -50
- package/components/common/diagramMain/lib/config/positions.ts +194 -194
- package/components/common/diagramMain/lib/models/enums.ts +44 -44
- package/components/common/diagramMain/lib/models/interfaces.ts +760 -760
- package/components/common/diagramMain/lib/models/types.ts +21 -21
- package/components/common/diagramMain/lib/utils/utils.ts +331 -331
- package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +331 -331
- package/components/common/diagramMain/modals/Modals.vue +483 -479
- package/components/common/diagramMain/modals/UnsavedChangesModal.vue +32 -0
- package/components/common/diagramMain/modals/editSettings/EditSettings.vue +104 -102
- package/components/common/diagramMain/modals/editSettings/EditSettingsNew.vue +285 -0
- package/components/common/diagramMain/modals/editSettings/EditSettingsOld.vue +254 -0
- package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModal.vue +31 -0
- package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModalNew.vue +82 -0
- package/components/common/diagramMain/modals/editSettings/{ConfirmTeamingSettingsModal.vue → confirmTeamingSettingsModal/ConfirmTeamingSettingsModalOld.vue} +2 -5
- package/components/common/diagramMain/modals/editSettings/lib/config/config.ts +15 -0
- package/components/common/diagramMain/modals/editSettings/lib/models/interfaces.ts +6 -0
- package/components/common/diagramMain/modals/editSettings/lib/utils/utils.ts +177 -0
- package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModal.vue +137 -0
- package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModalNew.vue +91 -0
- package/components/common/diagramMain/modals/editSettings/{EditSettingsModal.vue → modal/EditSettingsModalOld.vue} +12 -51
- package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkProperties.vue +158 -0
- package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkPropertiesNew.vue +262 -0
- package/components/common/diagramMain/modals/editSettings/tabs/{NetworkProperties.vue → networkProperties/NetworkPropertiesOld.vue} +12 -113
- package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettings.vue +192 -0
- package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettingsNew.vue +388 -0
- package/components/common/diagramMain/modals/editSettings/tabs/port/{IpvFourSettings.vue → ipvFourSettings/IpvFourSettingsOld.vue} +11 -152
- package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortProperties.vue +139 -0
- package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortPropertiesNew.vue +286 -0
- package/components/common/diagramMain/modals/editSettings/tabs/port/{PortProperties.vue → portProperties/PortPropertiesOld.vue} +12 -103
- package/components/common/diagramMain/modals/editSettings/tabs/security/Security.vue +209 -0
- package/components/common/diagramMain/modals/editSettings/tabs/security/SecurityNew.vue +233 -0
- package/components/common/diagramMain/modals/editSettings/tabs/{Security.vue → security/SecurityOld.vue} +25 -48
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchProperties.vue +128 -0
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesNew.vue +235 -0
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesOld.vue +87 -0
- package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailover.vue +99 -0
- package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailoverNew.vue +319 -0
- package/components/common/diagramMain/modals/editSettings/tabs/{TeamingFailover.vue → teamingFailover/TeamingFailoverOld.vue} +11 -48
- package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShaping.vue +173 -0
- package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShapingNew.vue +348 -0
- package/components/common/diagramMain/modals/editSettings/tabs/{TrafficShaping.vue → trafficShaping/TrafficShapingOld.vue} +12 -134
- package/components/common/diagramMain/modals/lib/config/adapterModal.ts +147 -147
- package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +43 -2
- package/components/common/diagramMain/modals/lib/config/index.ts +2 -1
- package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
- package/components/common/diagramMain/modals/lib/config/networkModal.ts +405 -405
- package/components/common/diagramMain/modals/lib/config/portModal.ts +253 -253
- package/components/common/diagramMain/modals/lib/config/switchModal.ts +245 -245
- package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +48 -48
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
- package/components/common/diagramMain/modals/lib/mappers/mappers.ts +88 -88
- package/components/common/diagramMain/modals/lib/utils/index.ts +34 -4
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +541 -541
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +170 -170
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/VmkernelAdapterReadyComplete.vue +49 -49
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +19 -19
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
- package/components/common/diagramMain/modals/remove/RemoveModal.vue +82 -82
- package/components/common/diagramMain/modals/remove/RemoveModalNew.vue +106 -106
- package/components/common/diagramMain/modals/remove/RemoveModalOld.vue +241 -241
- package/components/common/diagramMain/modals/viewSettings/info/Info.vue +57 -57
- package/components/common/diagramMain/modals/viewSettings/info/InfoNew.vue +174 -174
- package/components/common/diagramMain/modals/viewSettings/info/InfoOld.vue +141 -141
- package/components/common/diagramMain/modals/viewSettings/viewSettings/ViewSettings.vue +45 -45
- package/components/common/diagramMain/modals/viewSettings/viewSettings/ViewSettingsNew.vue +323 -323
- package/components/common/diagramMain/modals/viewSettings/viewSettings/ViewSettingsOld.vue +203 -203
- package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModal.vue +60 -60
- package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalNew.vue +50 -50
- package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalOld.vue +70 -70
- package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/lib/models/interfaces.ts +48 -48
- package/components/common/diagramMain/network/Contents.vue +497 -497
- package/components/common/diagramMain/network/Lines.vue +107 -107
- package/components/common/diagramMain/network/Network.vue +141 -141
- package/components/common/diagramMain/network/block/Block.vue +37 -37
- package/components/common/diagramMain/network/block/BlockNew.vue +68 -68
- package/components/common/diagramMain/network/block/BlockOld.vue +64 -64
- package/components/common/diagramMain/network/noNetwork/NoNetwork.vue +12 -12
- package/components/common/diagramMain/network/noNetwork/NoNetworkNew.vue +89 -89
- package/components/common/diagramMain/network/noNetwork/NoNetworkOld.vue +61 -61
- package/components/common/diagramMain/network/secondBlock/SecondBlock.vue +41 -41
- package/components/common/diagramMain/network/secondBlock/SecondBlockNew.vue +64 -64
- package/components/common/diagramMain/network/secondBlock/SecondBlockOld.vue +60 -60
- package/components/common/diagramMain/port/Port.vue +580 -580
- package/components/common/diagramMain/port/Ports.vue +47 -47
- package/components/common/diagramMain/skeleton/Header.vue +31 -0
- package/components/common/diagramMain/skeleton/Switch.vue +75 -0
- package/components/common/diagramMain/switch/Switch.vue +180 -180
- package/components/common/diagramMain/switch/SwitchSelected.vue +111 -111
- package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
- package/components/common/layout/theHeader/modals/reconnect/New.vue +38 -30
- package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +8 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +4 -0
- package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +9 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +11 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +7 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +8 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +9 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +5 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +9 -6
- package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +3 -1
- package/components/common/modals/Rename.vue +3 -1
- package/components/common/monitor/advanced/table/tableOld/TableOld.vue +93 -93
- package/components/common/monitor/utilization/lib/models/enums.ts +4 -4
- package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +184 -253
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +1 -1
- package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +9 -0
- package/components/common/pages/scheduledTasks/table/new/New.vue +12 -10
- package/components/common/pages/tasks/Tasks.vue +4 -1
- package/components/common/pages/tasks/table/Table.vue +25 -23
- package/components/common/readyToComplete/New.vue +1 -0
- package/components/common/split/horizontal/New.vue +1 -1
- package/components/common/split/horizontal/Old.vue +1 -1
- package/components/common/split/vertical/New.vue +42 -8
- package/components/common/split/vertical/Old.vue +31 -2
- package/components/common/split/vertical/Vertical.vue +4 -0
- package/components/common/tools/Actions.vue +7 -3
- package/components/common/tools/lib/models/interfaces.ts +1 -0
- package/components/common/vm/actions/add/New.vue +21 -6
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +14 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +5 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Old.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +2 -0
- package/components/common/vm/actions/common/select/options/New.vue +14 -12
- package/components/common/vm/actions/common/select/options/Old.vue +16 -15
- package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +13 -15
- package/components/common/vm/actions/confirm/Confirm.vue +3 -0
- package/components/common/vm/actions/rename/Old.vue +1 -0
- package/components/common/vm/snapshots/DetailView.vue +6 -6
- package/components/common/wizards/datastore/add/New.vue +6 -0
- package/components/common/wizards/datastore/add/lib/config/steps.ts +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
- package/components/common/wizards/network/add/Add.vue +13 -2
- package/components/common/wizards/network/add/AddNew.vue +22 -26
- package/components/common/wizards/network/add/lib/config/initialData.ts +6 -4
- package/components/common/wizards/network/add/lib/config/steps.ts +1 -1
- package/components/common/wizards/network/add/lib/models/interfaces.ts +1 -0
- package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
- package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue +5 -1
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +2 -8
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsOld.vue +3 -0
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +2 -8
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesOld.vue +6 -2
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +10 -3
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +4 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +5 -1
- package/components/common/wizards/network/add/validations/common.ts +1 -1
- package/components/common/wizards/vm/migrate/New.vue +13 -3
- package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +5 -0
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +3 -2
- package/components/common/wizards/vm/migrate/steps/computeResource/New.vue +2 -1
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +40 -21
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +340 -0
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +44 -14
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/models/enums.ts +4 -0
- package/components/common/wizards/vm/migrate/steps/priority/New.vue +7 -2
- package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +22 -7
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +6 -0
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +4 -1
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/lib/config/datastoreTable.ts +12 -16
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue +10 -5
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +16 -11
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +7 -1
- package/components/common/wizards/vm/migrate/steps/selectStorage/selectedPerDisk/New.vue +17 -10
- package/components/common/wizards/vm/migrate/steps/type/TypeNew.vue +1 -0
- package/components/common/wizards/vm/migrate/vmOrigin/New.vue +35 -15
- package/lib/models/store/tasks/enums.ts +3 -0
- package/lib/models/store/tasks/types.ts +7 -6
- package/package.json +2 -2
- package/plugins/directives.ts +3 -5
- package/public/spice-console/application/agent.js +18 -17
- package/store/tasks/actions.ts +26 -8
- package/store/tasks/mappers/recentTasks.ts +1 -0
- package/components/common/certificate/Info/Info.vue +0 -61
- package/components/common/certificate/Info/new/New.vue +0 -285
- package/components/common/certificate/Info/new/lib/config/index.ts +0 -59
- package/components/common/certificate/Info/new/lib/models/interfaces.ts +0 -3
- package/components/common/certificate/Info/new/lib/utils/index.ts +0 -10
- package/components/common/certificate/Old.vue +0 -27
- package/components/common/certificate/new/New.vue +0 -30
- package/components/common/certificate/new/Skeleton.vue +0 -155
- package/components/common/certificate/tools/New.vue +0 -48
- package/components/common/certificate/tools/Old.vue +0 -39
- package/components/common/certificate/tools/lib/config/tabsPannel.ts +0 -20
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +0 -164
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g v-if="props.isVisibleLine">
|
|
3
|
-
<g v-if="isNewView && inNetworkLinesY.length > 0">
|
|
4
|
-
<path :d="d1" class="selection-line" />
|
|
5
|
-
<path :d="d2" class="selection-line" />
|
|
6
|
-
</g>
|
|
7
|
-
<line
|
|
8
|
-
v-if="!isNewView"
|
|
9
|
-
x1="362.5"
|
|
10
|
-
:y1="props.selectedSwitchLineY.y1"
|
|
11
|
-
x2="362.5"
|
|
12
|
-
:y2="props.selectedSwitchLineY.y2"
|
|
13
|
-
shape-rendering="geometricprecision"
|
|
14
|
-
stroke-width="2"
|
|
15
|
-
class="selection-line"
|
|
16
|
-
/>
|
|
17
|
-
</g>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script setup lang="ts">
|
|
21
|
-
import type { UI_I_SwitchLine } from '~/components/common/diagramMain/lib/models/interfaces'
|
|
22
|
-
|
|
23
|
-
const props = defineProps<{
|
|
24
|
-
selectedSwitchLineY: UI_I_SwitchLine
|
|
25
|
-
isVisibleLine: boolean
|
|
26
|
-
adaptersPositionsY: number[]
|
|
27
|
-
adapterLineY: number
|
|
28
|
-
isHighlightedAdapterLine: boolean
|
|
29
|
-
inNetworkLinesY: number[]
|
|
30
|
-
}>()
|
|
31
|
-
|
|
32
|
-
const { $store }: any = useNuxtApp()
|
|
33
|
-
|
|
34
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
35
|
-
|
|
36
|
-
const firstAdapterY = computed<number>(() =>
|
|
37
|
-
props.isHighlightedAdapterLine
|
|
38
|
-
? props.adapterLineY
|
|
39
|
-
: props.adaptersPositionsY[0] + 7.5
|
|
40
|
-
)
|
|
41
|
-
const lastAdapterY = computed<number>(() =>
|
|
42
|
-
props.isHighlightedAdapterLine
|
|
43
|
-
? props.adapterLineY
|
|
44
|
-
: props.adaptersPositionsY[props.adaptersPositionsY.length - 1] + 7.5
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
const height = computed<number>(() =>
|
|
48
|
-
Math.abs(
|
|
49
|
-
Math.abs(props.selectedSwitchLineY.y1) -
|
|
50
|
-
Math.abs(props.selectedSwitchLineY.y2)
|
|
51
|
-
)
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
const firstLineIsNetwork = computed<boolean>(
|
|
55
|
-
() => props.selectedSwitchLineY.y1 < firstAdapterY.value
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
const isNetworkHigherThenAdapter = computed<boolean>(
|
|
59
|
-
() =>
|
|
60
|
-
props.inNetworkLinesY[props.inNetworkLinesY.length - 1] < lastAdapterY.value
|
|
61
|
-
)
|
|
62
|
-
|
|
63
|
-
const difference1 = computed<number>(() =>
|
|
64
|
-
Math.abs(
|
|
65
|
-
props.inNetworkLinesY[props.inNetworkLinesY.length - 1] -
|
|
66
|
-
firstAdapterY.value
|
|
67
|
-
)
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
const difference2 = computed<number>(() =>
|
|
71
|
-
Math.abs(lastAdapterY.value - props.inNetworkLinesY[0])
|
|
72
|
-
)
|
|
73
|
-
|
|
74
|
-
const radius1 = computed<number>(() => (difference1.value < 4 ? difference1.value / 2 : 2))
|
|
75
|
-
const radius2 = computed<number>(() => (difference2.value < 4 ? difference2.value / 2 : 2))
|
|
76
|
-
|
|
77
|
-
const d1 = computed<string>(
|
|
78
|
-
() =>
|
|
79
|
-
`M 362.5 ${props.selectedSwitchLineY.y2 - radius1.value} l 0 -${
|
|
80
|
-
height.value - 2 * radius1.value
|
|
81
|
-
} q 0,-${radius1.value} ${firstLineIsNetwork.value ? '-2' : '2'},-${radius1.value}`
|
|
82
|
-
)
|
|
83
|
-
|
|
84
|
-
const d2 = computed<string>(
|
|
85
|
-
() =>
|
|
86
|
-
`M 362.5 ${props.selectedSwitchLineY.y1 + radius2.value} l 0 ${
|
|
87
|
-
height.value - 2 * radius2.value
|
|
88
|
-
} q 0,${radius2.value} ${isNetworkHigherThenAdapter.value ? '2' : '-2'},${
|
|
89
|
-
radius2.value
|
|
90
|
-
}`
|
|
91
|
-
)
|
|
92
|
-
</script>
|
|
93
|
-
|
|
94
|
-
<style scoped lang="scss">
|
|
95
|
-
:root.dark-theme {
|
|
96
|
-
.selection-line {
|
|
97
|
-
stroke: #fdd006;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
:root.is-new-view {
|
|
101
|
-
.selection-line {
|
|
102
|
-
stroke: var(--diagram-highlight-line);
|
|
103
|
-
fill: none;
|
|
104
|
-
stroke-width: 1.5px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.selection-line {
|
|
109
|
-
stroke: #f3bb00;
|
|
110
|
-
}
|
|
111
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<g v-if="props.isVisibleLine">
|
|
3
|
+
<g v-if="isNewView && inNetworkLinesY.length > 0">
|
|
4
|
+
<path :d="d1" class="selection-line" />
|
|
5
|
+
<path :d="d2" class="selection-line" />
|
|
6
|
+
</g>
|
|
7
|
+
<line
|
|
8
|
+
v-if="!isNewView"
|
|
9
|
+
x1="362.5"
|
|
10
|
+
:y1="props.selectedSwitchLineY.y1"
|
|
11
|
+
x2="362.5"
|
|
12
|
+
:y2="props.selectedSwitchLineY.y2"
|
|
13
|
+
shape-rendering="geometricprecision"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
class="selection-line"
|
|
16
|
+
/>
|
|
17
|
+
</g>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import type { UI_I_SwitchLine } from '~/components/common/diagramMain/lib/models/interfaces'
|
|
22
|
+
|
|
23
|
+
const props = defineProps<{
|
|
24
|
+
selectedSwitchLineY: UI_I_SwitchLine
|
|
25
|
+
isVisibleLine: boolean
|
|
26
|
+
adaptersPositionsY: number[]
|
|
27
|
+
adapterLineY: number
|
|
28
|
+
isHighlightedAdapterLine: boolean
|
|
29
|
+
inNetworkLinesY: number[]
|
|
30
|
+
}>()
|
|
31
|
+
|
|
32
|
+
const { $store }: any = useNuxtApp()
|
|
33
|
+
|
|
34
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
35
|
+
|
|
36
|
+
const firstAdapterY = computed<number>(() =>
|
|
37
|
+
props.isHighlightedAdapterLine
|
|
38
|
+
? props.adapterLineY
|
|
39
|
+
: props.adaptersPositionsY[0] + 7.5
|
|
40
|
+
)
|
|
41
|
+
const lastAdapterY = computed<number>(() =>
|
|
42
|
+
props.isHighlightedAdapterLine
|
|
43
|
+
? props.adapterLineY
|
|
44
|
+
: props.adaptersPositionsY[props.adaptersPositionsY.length - 1] + 7.5
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
const height = computed<number>(() =>
|
|
48
|
+
Math.abs(
|
|
49
|
+
Math.abs(props.selectedSwitchLineY.y1) -
|
|
50
|
+
Math.abs(props.selectedSwitchLineY.y2)
|
|
51
|
+
)
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
const firstLineIsNetwork = computed<boolean>(
|
|
55
|
+
() => props.selectedSwitchLineY.y1 < firstAdapterY.value
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
const isNetworkHigherThenAdapter = computed<boolean>(
|
|
59
|
+
() =>
|
|
60
|
+
props.inNetworkLinesY[props.inNetworkLinesY.length - 1] < lastAdapterY.value
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
const difference1 = computed<number>(() =>
|
|
64
|
+
Math.abs(
|
|
65
|
+
props.inNetworkLinesY[props.inNetworkLinesY.length - 1] -
|
|
66
|
+
firstAdapterY.value
|
|
67
|
+
)
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
const difference2 = computed<number>(() =>
|
|
71
|
+
Math.abs(lastAdapterY.value - props.inNetworkLinesY[0])
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
const radius1 = computed<number>(() => (difference1.value < 4 ? difference1.value / 2 : 2))
|
|
75
|
+
const radius2 = computed<number>(() => (difference2.value < 4 ? difference2.value / 2 : 2))
|
|
76
|
+
|
|
77
|
+
const d1 = computed<string>(
|
|
78
|
+
() =>
|
|
79
|
+
`M 362.5 ${props.selectedSwitchLineY.y2 - radius1.value} l 0 -${
|
|
80
|
+
height.value - 2 * radius1.value
|
|
81
|
+
} q 0,-${radius1.value} ${firstLineIsNetwork.value ? '-2' : '2'},-${radius1.value}`
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
const d2 = computed<string>(
|
|
85
|
+
() =>
|
|
86
|
+
`M 362.5 ${props.selectedSwitchLineY.y1 + radius2.value} l 0 ${
|
|
87
|
+
height.value - 2 * radius2.value
|
|
88
|
+
} q 0,${radius2.value} ${isNetworkHigherThenAdapter.value ? '2' : '-2'},${
|
|
89
|
+
radius2.value
|
|
90
|
+
}`
|
|
91
|
+
)
|
|
92
|
+
</script>
|
|
93
|
+
|
|
94
|
+
<style scoped lang="scss">
|
|
95
|
+
:root.dark-theme {
|
|
96
|
+
.selection-line {
|
|
97
|
+
stroke: #fdd006;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
:root.is-new-view {
|
|
101
|
+
.selection-line {
|
|
102
|
+
stroke: var(--diagram-highlight-line);
|
|
103
|
+
fill: none;
|
|
104
|
+
stroke-width: 1.5px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.selection-line {
|
|
109
|
+
stroke: #f3bb00;
|
|
110
|
+
}
|
|
111
|
+
</style>
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
<div class="
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
<div class="reconnect-modal-container">
|
|
3
|
+
<ui-modal
|
|
4
|
+
:title="props.title"
|
|
5
|
+
:texts="modalTexts"
|
|
6
|
+
test-id="reconnect-modal"
|
|
7
|
+
size="sm"
|
|
8
|
+
width="560px"
|
|
9
|
+
show
|
|
10
|
+
@hide="emits('logout')"
|
|
11
|
+
@submit="emits('reconnect')"
|
|
12
|
+
>
|
|
13
|
+
<template #content>
|
|
14
|
+
<div class="reconnect-content">
|
|
15
|
+
<div class="icon-content flex items-center gap-2">
|
|
16
|
+
<span class="icon-sessions"></span>
|
|
17
|
+
<span class="description-text">{{
|
|
18
|
+
localization.common.reconnectDesc
|
|
19
|
+
}}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="timer-block mt-4">
|
|
22
|
+
<common-countdown-timer
|
|
23
|
+
:timer="props.timer"
|
|
24
|
+
:total-time="props.totalTime"
|
|
25
|
+
is-hide-seconds-text
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
19
28
|
</div>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
<template #footerLeftContent>
|
|
30
|
-
<span></span>
|
|
31
|
-
</template>
|
|
32
|
-
</ui-modal>
|
|
29
|
+
</template>
|
|
30
|
+
<template #footerLeftContent>
|
|
31
|
+
<span></span>
|
|
32
|
+
</template>
|
|
33
|
+
</ui-modal>
|
|
34
|
+
</div>
|
|
33
35
|
</template>
|
|
34
36
|
|
|
35
37
|
<script lang="ts" setup>
|
|
@@ -56,6 +58,12 @@ const modalTexts = ref<UI_I_ModalTexts>({
|
|
|
56
58
|
</script>
|
|
57
59
|
|
|
58
60
|
<style lang="scss" scoped>
|
|
61
|
+
.reconnect-modal-container {
|
|
62
|
+
:deep(.modal), :deep(.modal-background) {
|
|
63
|
+
z-index: calc(var(--z-modal) + 3);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
59
67
|
.reconnect-content {
|
|
60
68
|
padding: 8px 32px 8px 32px;
|
|
61
69
|
|
|
@@ -107,24 +107,23 @@ const passwordErrorText = computed<string>(() => {
|
|
|
107
107
|
const newPasswordErrorText = computed<string>(() => {
|
|
108
108
|
if (!initValidationFields.value.newPassword) return ''
|
|
109
109
|
|
|
110
|
-
const { current_password, new_password, confirm_password } = modelLocal.value
|
|
110
|
+
// const { current_password, new_password, confirm_password } = modelLocal.value
|
|
111
|
+
const { current_password, new_password } = modelLocal.value
|
|
111
112
|
|
|
112
113
|
const validateText = validateField(
|
|
113
114
|
localization.value,
|
|
114
115
|
current_password,
|
|
115
116
|
new_password
|
|
116
117
|
)
|
|
117
|
-
const mismatchError = getPasswordMismatchError(
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
)
|
|
118
|
+
// const mismatchError = getPasswordMismatchError(
|
|
119
|
+
// localization.value,
|
|
120
|
+
// new_password,
|
|
121
|
+
// confirm_password
|
|
122
|
+
// )
|
|
122
123
|
if (!new_password) {
|
|
123
124
|
return localization.value.common.fieldRequired
|
|
124
125
|
} else if (validateText) {
|
|
125
126
|
return validateText
|
|
126
|
-
} else if (mismatchError) {
|
|
127
|
-
return mismatchError
|
|
128
127
|
} else return ''
|
|
129
128
|
})
|
|
130
129
|
const confirmPasswordErrorText = computed<string>(() => {
|
|
@@ -166,7 +165,7 @@ const onHideModal = (): void => {
|
|
|
166
165
|
color: #9da6ad;
|
|
167
166
|
font-size: 12px;
|
|
168
167
|
font-weight: 400;
|
|
169
|
-
line-height:
|
|
168
|
+
line-height: 18px;
|
|
170
169
|
margin-bottom: 20px;
|
|
171
170
|
}
|
|
172
171
|
&__alert {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
<common-layout-the-header-user-menu-modals-preferences-time-format
|
|
16
16
|
v-model:time-format="timeFormat"
|
|
17
17
|
:new-view="props.newView"
|
|
18
|
+
:project="props.project"
|
|
18
19
|
/>
|
|
19
20
|
</ui-modal-block-form-standard>
|
|
20
21
|
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
:new-view="props.newView"
|
|
24
25
|
:selected-type="props.selectedLanguageType"
|
|
25
26
|
:selected-language="props.selectedLanguage"
|
|
27
|
+
:project="props.project"
|
|
26
28
|
@update-language="emits('update-language', $event)"
|
|
27
29
|
@update-is-browser="emits('update-is-browser', $event)"
|
|
28
30
|
/>
|
|
@@ -32,6 +34,7 @@
|
|
|
32
34
|
<common-layout-the-header-user-menu-modals-preferences-default-console
|
|
33
35
|
v-model="consoleValue"
|
|
34
36
|
:new-view="props.newView"
|
|
37
|
+
:project="props.project"
|
|
35
38
|
/>
|
|
36
39
|
</ui-modal-block-form-standard>
|
|
37
40
|
|
|
@@ -55,6 +58,7 @@
|
|
|
55
58
|
v-model:new-view-local="newViewLocal"
|
|
56
59
|
v-model:is-show-notification="isShowNotification"
|
|
57
60
|
:new-view="props.newView"
|
|
61
|
+
:project="props.project"
|
|
58
62
|
/>
|
|
59
63
|
</ui-modal-block-form-standard>
|
|
60
64
|
</ui-modal-block-standard>
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
v-if="selectedTab === 'time-tab'"
|
|
20
20
|
v-model:time-format="timeFormat"
|
|
21
21
|
:new-view="props.newView"
|
|
22
|
+
:project="props.project"
|
|
22
23
|
/>
|
|
23
24
|
|
|
24
25
|
<common-layout-the-header-user-menu-modals-preferences-change-language
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
:new-view="props.newView"
|
|
27
28
|
:selected-type="props.selectedLanguageType"
|
|
28
29
|
:selected-language="props.selectedLanguage"
|
|
30
|
+
:project="props.project"
|
|
29
31
|
@update-language="emits('update-language', $event)"
|
|
30
32
|
@update-is-browser="emits('update-is-browser', $event)"
|
|
31
33
|
/>
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
v-if="selectedTab === 'console-tab' && isSphere"
|
|
41
43
|
v-model="consoleValue"
|
|
42
44
|
:new-view="props.newView"
|
|
45
|
+
:project="props.project"
|
|
43
46
|
/>
|
|
44
47
|
|
|
45
48
|
<common-layout-the-header-user-menu-modals-preferences-security
|
|
@@ -146,8 +149,12 @@ const isOn2FaImportant = ref<boolean>(false)
|
|
|
146
149
|
watch(
|
|
147
150
|
topNotifications,
|
|
148
151
|
(newValue) => {
|
|
149
|
-
if (
|
|
150
|
-
|
|
152
|
+
if (
|
|
153
|
+
newValue === UI_E_TopNotificationActionId.on2Fa ||
|
|
154
|
+
newValue === UI_E_TopNotificationActionId.on2FaImportant
|
|
155
|
+
) {
|
|
156
|
+
isOn2FaImportant.value =
|
|
157
|
+
newValue === UI_E_TopNotificationActionId.on2FaImportant
|
|
151
158
|
selectedTab.value = 'security-tab'
|
|
152
159
|
$store.dispatch('main/A_SET_TOP_NOTIFICATION_ACTION_ID', -1)
|
|
153
160
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
<script setup lang="ts">
|
|
13
13
|
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
14
|
-
import type { UI_T_LangValue } from '~/lib/models/types'
|
|
14
|
+
import type { UI_T_LangValue, UI_T_Project } from '~/lib/models/types'
|
|
15
15
|
import type { UI_T_SelectedRadio } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/types'
|
|
16
16
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
17
17
|
import type { UI_I_RadioItemLang } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/interfaces'
|
|
@@ -24,6 +24,7 @@ import { defineBrowserLangFunc } from '~/components/common/layout/theHeader/lib/
|
|
|
24
24
|
const props = defineProps<{
|
|
25
25
|
newView: boolean
|
|
26
26
|
selectedType: UI_T_LangValue
|
|
27
|
+
project: UI_T_Project
|
|
27
28
|
selectedLanguage: UI_I_Dropdown | UI_T_LangValue
|
|
28
29
|
}>()
|
|
29
30
|
|
|
@@ -41,12 +42,15 @@ const currentComponent = computed(() =>
|
|
|
41
42
|
: defineAsyncComponent(() => import('./Old.vue'))
|
|
42
43
|
)
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
45
|
+
/* TODO SC-2104 */
|
|
46
|
+
const description = computed<string>(() =>
|
|
47
|
+
props.project === 'sphere'
|
|
48
|
+
? localization.value.common.languageDesc1
|
|
49
|
+
: localization.value.common.languageDesc.replaceAll(
|
|
50
|
+
'{trademark}',
|
|
51
|
+
String(config.public[`TRADEMARK_${useEnvLanguage()}`])
|
|
52
|
+
)
|
|
53
|
+
)
|
|
50
54
|
|
|
51
55
|
const radioOptions = readonly<UI_I_RadioItemLang[]>(
|
|
52
56
|
radioOptionsFunc(localization.value)
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup lang="ts">
|
|
10
10
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
11
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
|
11
12
|
import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
|
|
12
13
|
import { consoleOptionsFunc } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions'
|
|
13
14
|
|
|
14
15
|
const consoleValue = defineModel<string>()
|
|
15
16
|
const props = defineProps<{
|
|
17
|
+
project: UI_T_Project
|
|
16
18
|
newView: boolean
|
|
17
19
|
}>()
|
|
18
20
|
|
|
@@ -24,7 +26,11 @@ const currentComponent = computed(() =>
|
|
|
24
26
|
|
|
25
27
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
26
28
|
|
|
29
|
+
/* TODO SC-2104 */
|
|
27
30
|
const consoleOptions = readonly<UI_I_RadioItemConsole[]>(
|
|
28
|
-
consoleOptionsFunc(
|
|
31
|
+
consoleOptionsFunc(
|
|
32
|
+
localization.value,
|
|
33
|
+
props.newView && props.project === 'sphere'
|
|
34
|
+
)
|
|
29
35
|
)
|
|
30
36
|
</script>
|
|
@@ -2,14 +2,17 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
|
2
2
|
import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
|
|
3
3
|
|
|
4
4
|
export const consoleOptionsFunc = (
|
|
5
|
-
localization: UI_I_Localization
|
|
5
|
+
localization: UI_I_Localization,
|
|
6
|
+
isSphereNewView: boolean
|
|
6
7
|
): UI_I_RadioItemConsole[] => {
|
|
7
8
|
const config = useRuntimeConfig()
|
|
8
9
|
|
|
9
|
-
const remoteConsole =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
const remoteConsole = isSphereNewView
|
|
11
|
+
? localization.common.remoteConsoleVmrc1
|
|
12
|
+
: localization.common.remoteConsoleVmrc.replaceAll(
|
|
13
|
+
'{trademark}',
|
|
14
|
+
String(config.public[`TRADEMARK_${useEnvLanguage()}`])
|
|
15
|
+
)
|
|
13
16
|
|
|
14
17
|
return [
|
|
15
18
|
{
|
package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue
CHANGED
|
@@ -12,12 +12,13 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
|
12
12
|
import type { UI_I_RadioItem } from '~/components/common/layout/theHeader/userMenu/lib/models/interfaces'
|
|
13
13
|
import type { UI_T_TimeValue } from '~/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/models/types'
|
|
14
14
|
import { formatOptionsFunc } from '~/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions'
|
|
15
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
|
15
16
|
|
|
16
17
|
const timeFormat = defineModel<UI_T_TimeValue>('timeFormat')
|
|
17
18
|
const props = defineProps<{
|
|
19
|
+
project: UI_T_Project
|
|
18
20
|
newView: boolean
|
|
19
21
|
}>()
|
|
20
|
-
|
|
21
22
|
const currentComponent = computed(() =>
|
|
22
23
|
props.newView
|
|
23
24
|
? defineAsyncComponent(() => import('./New.vue'))
|
|
@@ -28,11 +29,14 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
28
29
|
|
|
29
30
|
const config = useRuntimeConfig()
|
|
30
31
|
|
|
32
|
+
/* TODO SC-2104 */
|
|
31
33
|
const description = computed<string>(() =>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
props.project === 'sphere'
|
|
35
|
+
? localization.value.common.timeFormatDesc1
|
|
36
|
+
: localization.value.common.timeFormatDesc.replaceAll(
|
|
37
|
+
'{trademark}',
|
|
38
|
+
String(config.public[`TRADEMARK_${useEnvLanguage()}`])
|
|
39
|
+
)
|
|
36
40
|
)
|
|
37
41
|
|
|
38
42
|
const formatOptions = readonly<UI_I_RadioItem[]>(
|
|
@@ -15,13 +15,9 @@
|
|
|
15
15
|
/>
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
<div class="
|
|
19
|
-
{{ localization.myPreferences.showNotificationDescription }}
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="flex-align-center">
|
|
18
|
+
<div class="flex-align-center second-description">
|
|
23
19
|
<label for="show-notification">{{
|
|
24
|
-
localization.myPreferences.
|
|
20
|
+
localization.myPreferences.showNotificationDescription
|
|
25
21
|
}}</label>
|
|
26
22
|
<input
|
|
27
23
|
id="show-notification"
|
|
@@ -63,10 +59,10 @@ window.tools = new Proxy(
|
|
|
63
59
|
<style lang="scss" scoped>
|
|
64
60
|
.description {
|
|
65
61
|
margin-bottom: 10px;
|
|
62
|
+
}
|
|
66
63
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
64
|
+
.second-description {
|
|
65
|
+
margin-top: 20px;
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
label {
|
|
@@ -30,10 +30,13 @@ const currentComponent = computed(() =>
|
|
|
30
30
|
|
|
31
31
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
33
|
+
/* TODO SC-2104 */
|
|
34
|
+
const description = computed<string>(() =>
|
|
35
|
+
props.project === 'sphere'
|
|
36
|
+
? localization.value.common.viewDesc1
|
|
37
|
+
: localization.value.common.viewDesc.replaceAll(
|
|
38
|
+
'{trademark}',
|
|
39
|
+
String(config.public[`TRADEMARK_${useEnvLanguage()}`])
|
|
40
|
+
)
|
|
41
|
+
)
|
|
39
42
|
</script>
|
|
@@ -143,7 +143,7 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
143
143
|
&.pinned {
|
|
144
144
|
.nav-context {
|
|
145
145
|
position: relative;
|
|
146
|
-
z-index: calc(var(--z-
|
|
146
|
+
z-index: calc(var(--z-fixed) + 2);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
&:not(.pinned) {
|
|
@@ -177,6 +177,8 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
&:not(.collapsed) {
|
|
180
|
+
min-width: 240px;
|
|
181
|
+
|
|
180
182
|
:deep(.tooltip-container-hover) {
|
|
181
183
|
display: none;
|
|
182
184
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<atoms-modal
|
|
3
3
|
:test-id="`${props.testId}-rename`"
|
|
4
4
|
:title="localization.common.rename"
|
|
5
|
-
:second-title="
|
|
5
|
+
:second-title="props.subtitle"
|
|
6
6
|
:loading="props.isLoading"
|
|
7
7
|
width="576px"
|
|
8
8
|
class="rename"
|
|
@@ -68,12 +68,14 @@ const props = withDefaults(
|
|
|
68
68
|
defineProps<{
|
|
69
69
|
testId: string
|
|
70
70
|
name: string
|
|
71
|
+
subtitle?: string
|
|
71
72
|
label?: string
|
|
72
73
|
regex?: string
|
|
73
74
|
errorText?: string
|
|
74
75
|
isLoading?: boolean
|
|
75
76
|
}>(),
|
|
76
77
|
{
|
|
78
|
+
subtitle: '',
|
|
77
79
|
label: 'enterNewName',
|
|
78
80
|
regex: undefined,
|
|
79
81
|
errorText: undefined,
|