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,151 +1,151 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<common-diagram-main-highlights-new
|
|
3
|
-
v-if="isNewView"
|
|
4
|
-
:main-classes="mainClasses"
|
|
5
|
-
:second-classes="secondClasses"
|
|
6
|
-
:line-classes="lineClasses"
|
|
7
|
-
:is-main="isMain"
|
|
8
|
-
:is-second="isSecond"
|
|
9
|
-
:is-line="isLine"
|
|
10
|
-
:is-vertical-line="isVerticalLine"
|
|
11
|
-
:data-title="props.dataTitle"
|
|
12
|
-
:width="props.width"
|
|
13
|
-
:height="props.height"
|
|
14
|
-
:x="props.x"
|
|
15
|
-
:y="props.y"
|
|
16
|
-
:x2="props.x2"
|
|
17
|
-
:y2="props.y2"
|
|
18
|
-
:d1="props.d1"
|
|
19
|
-
:d2="props.d2"
|
|
20
|
-
:radius="props.radius"
|
|
21
|
-
:is-network-block="props.isNetworkBlock"
|
|
22
|
-
:is-adapter-block="props.isAdapterBlock"
|
|
23
|
-
/>
|
|
24
|
-
<common-diagram-main-highlights-old
|
|
25
|
-
v-else
|
|
26
|
-
:main-classes="mainClasses"
|
|
27
|
-
:second-classes="secondClasses"
|
|
28
|
-
:line-classes="lineClasses"
|
|
29
|
-
:is-main="isMain"
|
|
30
|
-
:is-second="isSecond"
|
|
31
|
-
:is-line="isLine"
|
|
32
|
-
:data-title="props.dataTitle"
|
|
33
|
-
:width="props.width"
|
|
34
|
-
:height="props.height"
|
|
35
|
-
:x="props.x"
|
|
36
|
-
:y="props.y"
|
|
37
|
-
:x2="props.x2"
|
|
38
|
-
:y2="props.y2"
|
|
39
|
-
:d="props.d"
|
|
40
|
-
/>
|
|
41
|
-
</template>
|
|
42
|
-
|
|
43
|
-
<script setup lang="ts">
|
|
44
|
-
import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
|
|
45
|
-
|
|
46
|
-
const props = withDefaults(
|
|
47
|
-
defineProps<{
|
|
48
|
-
dataTitle?: string
|
|
49
|
-
type: string
|
|
50
|
-
height?: number | string | undefined
|
|
51
|
-
width?: number | string | undefined
|
|
52
|
-
x?: number | string | undefined
|
|
53
|
-
y?: number | string | undefined
|
|
54
|
-
x2?: number | string | undefined
|
|
55
|
-
y2?: number | string | undefined
|
|
56
|
-
d?: string
|
|
57
|
-
d1?: string
|
|
58
|
-
d2?: string
|
|
59
|
-
hide?: boolean
|
|
60
|
-
radius?: string,
|
|
61
|
-
isNetworkBlock?: boolean
|
|
62
|
-
isAdapterBlock?: boolean
|
|
63
|
-
}>(),
|
|
64
|
-
{
|
|
65
|
-
dataTitle: '',
|
|
66
|
-
width: undefined,
|
|
67
|
-
height: undefined,
|
|
68
|
-
x: undefined,
|
|
69
|
-
y: undefined,
|
|
70
|
-
x2: undefined,
|
|
71
|
-
y2: undefined,
|
|
72
|
-
d: '',
|
|
73
|
-
d1: '',
|
|
74
|
-
d2: '',
|
|
75
|
-
hide: true,
|
|
76
|
-
radius: '3',
|
|
77
|
-
isNetworkBlock: false,
|
|
78
|
-
isAdapterBlock: false,
|
|
79
|
-
}
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
const { $store }: any = useNuxtApp()
|
|
83
|
-
|
|
84
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
85
|
-
|
|
86
|
-
const isMain = computed<boolean>(() => props.type.includes('main'))
|
|
87
|
-
const isSecond = computed<boolean>(() => props.type.includes('second'))
|
|
88
|
-
const isLine = computed<boolean>(() => props.type.includes('line'))
|
|
89
|
-
const isVerticalLine = computed<boolean>(
|
|
90
|
-
() => isLine.value && props.type.includes('vertical')
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
const mainClasses = computed<UI_I_ArbitraryObject<boolean>>(() => ({
|
|
94
|
-
'highlight highlight-stroke': props.type === 'main-orange',
|
|
95
|
-
'selection selection-stroke': props.type === 'main-blue',
|
|
96
|
-
'highlight-hide': props.hide,
|
|
97
|
-
}))
|
|
98
|
-
|
|
99
|
-
const secondClasses = computed<UI_I_ArbitraryObject<boolean>>(() => ({
|
|
100
|
-
'highlight highlight-stroke': props.type === 'second-orange',
|
|
101
|
-
'selection selection-stroke': props.type === 'second-blue',
|
|
102
|
-
'highlight-hide': props.hide,
|
|
103
|
-
}))
|
|
104
|
-
|
|
105
|
-
const lineClasses = computed<UI_I_ArbitraryObject<boolean>>(() => ({
|
|
106
|
-
'highlight-hide': props.hide,
|
|
107
|
-
}))
|
|
108
|
-
</script>
|
|
109
|
-
|
|
110
|
-
<style scoped lang="scss">
|
|
111
|
-
:root.dark-theme {
|
|
112
|
-
.selection-stroke {
|
|
113
|
-
stroke: #0f6082;
|
|
114
|
-
fill: #0f6082;
|
|
115
|
-
}
|
|
116
|
-
.selection-line {
|
|
117
|
-
stroke: #fdd006;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.highlight {
|
|
121
|
-
fill: #7f6509;
|
|
122
|
-
|
|
123
|
-
&-stroke {
|
|
124
|
-
stroke: #7f6509;
|
|
125
|
-
}
|
|
126
|
-
&-hide {
|
|
127
|
-
stroke-opacity: 0;
|
|
128
|
-
fill: transparent;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.selection-stroke {
|
|
134
|
-
stroke: #0079b8;
|
|
135
|
-
fill: #f3f6fa;
|
|
136
|
-
}
|
|
137
|
-
.selection-line {
|
|
138
|
-
stroke: #f3bb00;
|
|
139
|
-
}
|
|
140
|
-
.highlight {
|
|
141
|
-
fill: #fffce8;
|
|
142
|
-
|
|
143
|
-
&-stroke {
|
|
144
|
-
stroke: #f3bb00;
|
|
145
|
-
}
|
|
146
|
-
&-hide {
|
|
147
|
-
stroke-opacity: 0;
|
|
148
|
-
fill: transparent;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<common-diagram-main-highlights-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
:main-classes="mainClasses"
|
|
5
|
+
:second-classes="secondClasses"
|
|
6
|
+
:line-classes="lineClasses"
|
|
7
|
+
:is-main="isMain"
|
|
8
|
+
:is-second="isSecond"
|
|
9
|
+
:is-line="isLine"
|
|
10
|
+
:is-vertical-line="isVerticalLine"
|
|
11
|
+
:data-title="props.dataTitle"
|
|
12
|
+
:width="props.width"
|
|
13
|
+
:height="props.height"
|
|
14
|
+
:x="props.x"
|
|
15
|
+
:y="props.y"
|
|
16
|
+
:x2="props.x2"
|
|
17
|
+
:y2="props.y2"
|
|
18
|
+
:d1="props.d1"
|
|
19
|
+
:d2="props.d2"
|
|
20
|
+
:radius="props.radius"
|
|
21
|
+
:is-network-block="props.isNetworkBlock"
|
|
22
|
+
:is-adapter-block="props.isAdapterBlock"
|
|
23
|
+
/>
|
|
24
|
+
<common-diagram-main-highlights-old
|
|
25
|
+
v-else
|
|
26
|
+
:main-classes="mainClasses"
|
|
27
|
+
:second-classes="secondClasses"
|
|
28
|
+
:line-classes="lineClasses"
|
|
29
|
+
:is-main="isMain"
|
|
30
|
+
:is-second="isSecond"
|
|
31
|
+
:is-line="isLine"
|
|
32
|
+
:data-title="props.dataTitle"
|
|
33
|
+
:width="props.width"
|
|
34
|
+
:height="props.height"
|
|
35
|
+
:x="props.x"
|
|
36
|
+
:y="props.y"
|
|
37
|
+
:x2="props.x2"
|
|
38
|
+
:y2="props.y2"
|
|
39
|
+
:d="props.d"
|
|
40
|
+
/>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<script setup lang="ts">
|
|
44
|
+
import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
|
|
45
|
+
|
|
46
|
+
const props = withDefaults(
|
|
47
|
+
defineProps<{
|
|
48
|
+
dataTitle?: string
|
|
49
|
+
type: string
|
|
50
|
+
height?: number | string | undefined
|
|
51
|
+
width?: number | string | undefined
|
|
52
|
+
x?: number | string | undefined
|
|
53
|
+
y?: number | string | undefined
|
|
54
|
+
x2?: number | string | undefined
|
|
55
|
+
y2?: number | string | undefined
|
|
56
|
+
d?: string
|
|
57
|
+
d1?: string
|
|
58
|
+
d2?: string
|
|
59
|
+
hide?: boolean
|
|
60
|
+
radius?: string,
|
|
61
|
+
isNetworkBlock?: boolean
|
|
62
|
+
isAdapterBlock?: boolean
|
|
63
|
+
}>(),
|
|
64
|
+
{
|
|
65
|
+
dataTitle: '',
|
|
66
|
+
width: undefined,
|
|
67
|
+
height: undefined,
|
|
68
|
+
x: undefined,
|
|
69
|
+
y: undefined,
|
|
70
|
+
x2: undefined,
|
|
71
|
+
y2: undefined,
|
|
72
|
+
d: '',
|
|
73
|
+
d1: '',
|
|
74
|
+
d2: '',
|
|
75
|
+
hide: true,
|
|
76
|
+
radius: '3',
|
|
77
|
+
isNetworkBlock: false,
|
|
78
|
+
isAdapterBlock: false,
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
const { $store }: any = useNuxtApp()
|
|
83
|
+
|
|
84
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
85
|
+
|
|
86
|
+
const isMain = computed<boolean>(() => props.type.includes('main'))
|
|
87
|
+
const isSecond = computed<boolean>(() => props.type.includes('second'))
|
|
88
|
+
const isLine = computed<boolean>(() => props.type.includes('line'))
|
|
89
|
+
const isVerticalLine = computed<boolean>(
|
|
90
|
+
() => isLine.value && props.type.includes('vertical')
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
const mainClasses = computed<UI_I_ArbitraryObject<boolean>>(() => ({
|
|
94
|
+
'highlight highlight-stroke': props.type === 'main-orange',
|
|
95
|
+
'selection selection-stroke': props.type === 'main-blue',
|
|
96
|
+
'highlight-hide': props.hide,
|
|
97
|
+
}))
|
|
98
|
+
|
|
99
|
+
const secondClasses = computed<UI_I_ArbitraryObject<boolean>>(() => ({
|
|
100
|
+
'highlight highlight-stroke': props.type === 'second-orange',
|
|
101
|
+
'selection selection-stroke': props.type === 'second-blue',
|
|
102
|
+
'highlight-hide': props.hide,
|
|
103
|
+
}))
|
|
104
|
+
|
|
105
|
+
const lineClasses = computed<UI_I_ArbitraryObject<boolean>>(() => ({
|
|
106
|
+
'highlight-hide': props.hide,
|
|
107
|
+
}))
|
|
108
|
+
</script>
|
|
109
|
+
|
|
110
|
+
<style scoped lang="scss">
|
|
111
|
+
:root.dark-theme {
|
|
112
|
+
.selection-stroke {
|
|
113
|
+
stroke: #0f6082;
|
|
114
|
+
fill: #0f6082;
|
|
115
|
+
}
|
|
116
|
+
.selection-line {
|
|
117
|
+
stroke: #fdd006;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.highlight {
|
|
121
|
+
fill: #7f6509;
|
|
122
|
+
|
|
123
|
+
&-stroke {
|
|
124
|
+
stroke: #7f6509;
|
|
125
|
+
}
|
|
126
|
+
&-hide {
|
|
127
|
+
stroke-opacity: 0;
|
|
128
|
+
fill: transparent;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.selection-stroke {
|
|
134
|
+
stroke: #0079b8;
|
|
135
|
+
fill: #f3f6fa;
|
|
136
|
+
}
|
|
137
|
+
.selection-line {
|
|
138
|
+
stroke: #f3bb00;
|
|
139
|
+
}
|
|
140
|
+
.highlight {
|
|
141
|
+
fill: #fffce8;
|
|
142
|
+
|
|
143
|
+
&-stroke {
|
|
144
|
+
stroke: #f3bb00;
|
|
145
|
+
}
|
|
146
|
+
&-hide {
|
|
147
|
+
stroke-opacity: 0;
|
|
148
|
+
fill: transparent;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
</style>
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g v-if="props.isMain" :data-title="`${props.dataTitle}-main`">
|
|
3
|
-
<rect
|
|
4
|
-
:width="props.width"
|
|
5
|
-
:height="props.height"
|
|
6
|
-
:x="props.x"
|
|
7
|
-
:y="props.y"
|
|
8
|
-
:rx="props.radius"
|
|
9
|
-
:ry="props.radius"
|
|
10
|
-
shape-rendering="geometricprecision"
|
|
11
|
-
:class="props.mainClasses"
|
|
12
|
-
/>
|
|
13
|
-
<polyline
|
|
14
|
-
v-if="props.isNetworkBlock"
|
|
15
|
-
:points="`284.5,${props.y} 294.5,${props.y} 294.5,${bottomPoint} 284.5,${bottomPoint}`"
|
|
16
|
-
:class="props.mainClasses"
|
|
17
|
-
/>
|
|
18
|
-
<polyline
|
|
19
|
-
v-if="props.isAdapterBlock"
|
|
20
|
-
:points="`440.5,17.5 430.5,17.5 430.5,${bottomPoint} 440.5,${bottomPoint}`"
|
|
21
|
-
:class="props.mainClasses"
|
|
22
|
-
/>
|
|
23
|
-
</g>
|
|
24
|
-
<g v-if="props.isSecond" :data-title="`${props.dataTitle}-second`">
|
|
25
|
-
<rect
|
|
26
|
-
width="28"
|
|
27
|
-
:height="props.height"
|
|
28
|
-
:x="props.x"
|
|
29
|
-
:y="props.y"
|
|
30
|
-
rx="6"
|
|
31
|
-
ry="6"
|
|
32
|
-
shape-rendering="geometricprecision"
|
|
33
|
-
:class="props.secondClasses"
|
|
34
|
-
/>
|
|
35
|
-
<polyline
|
|
36
|
-
v-if="props.isNetworkBlock"
|
|
37
|
-
:points="`320.5,${props.y} 310.5,${props.y} 310.5,${bottomPoint} 320.5,${bottomPoint}`"
|
|
38
|
-
:class="props.secondClasses"
|
|
39
|
-
/>
|
|
40
|
-
<polyline
|
|
41
|
-
v-if="props.isAdapterBlock"
|
|
42
|
-
:points="`404.5,${props.y} 414.5,${props.y} 414.5,${bottomPoint} 404.5,${bottomPoint}`"
|
|
43
|
-
:class="props.secondClasses"
|
|
44
|
-
/>
|
|
45
|
-
</g>
|
|
46
|
-
<g v-if="props.isLine" :data-title="`${props.dataTitle}-line`">
|
|
47
|
-
<line
|
|
48
|
-
:x1="props.x"
|
|
49
|
-
:y1="props.y"
|
|
50
|
-
:x2="props.x2"
|
|
51
|
-
:y2="props.y2"
|
|
52
|
-
shape-rendering="geometricprecision"
|
|
53
|
-
stroke-width="1.5"
|
|
54
|
-
:class="['selection-line', props.lineClasses]"
|
|
55
|
-
/>
|
|
56
|
-
</g>
|
|
57
|
-
<g v-if="props.isVerticalLine" :data-title="`${props.dataTitle}-vertical-line`">
|
|
58
|
-
<path :d="props.d1" :class="['selection-line', props.lineClasses]" />
|
|
59
|
-
<path :d="props.d2" :class="['selection-line', props.lineClasses]" />
|
|
60
|
-
</g>
|
|
61
|
-
</template>
|
|
62
|
-
|
|
63
|
-
<script setup lang="ts">
|
|
64
|
-
import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
|
|
65
|
-
|
|
66
|
-
const props = withDefaults(
|
|
67
|
-
defineProps<{
|
|
68
|
-
mainClasses: UI_I_ArbitraryObject<boolean>
|
|
69
|
-
secondClasses: UI_I_ArbitraryObject<boolean>
|
|
70
|
-
lineClasses: UI_I_ArbitraryObject<boolean>
|
|
71
|
-
isMain: boolean
|
|
72
|
-
isSecond: boolean
|
|
73
|
-
isLine: boolean
|
|
74
|
-
isVerticalLine: boolean
|
|
75
|
-
dataTitle: string
|
|
76
|
-
height?: number | string
|
|
77
|
-
width?: number | string
|
|
78
|
-
x?: number | string
|
|
79
|
-
y?: number | string
|
|
80
|
-
x2?: number | string
|
|
81
|
-
y2?: number | string
|
|
82
|
-
d1: string
|
|
83
|
-
d2: string
|
|
84
|
-
radius: string
|
|
85
|
-
isNetworkBlock: boolean
|
|
86
|
-
isAdapterBlock: boolean
|
|
87
|
-
}>(),
|
|
88
|
-
{
|
|
89
|
-
width: 288,
|
|
90
|
-
height: 18,
|
|
91
|
-
x: 6.5,
|
|
92
|
-
y: 20,
|
|
93
|
-
x2: 16.5,
|
|
94
|
-
y2: 20,
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
const bottomPoint = computed<number>(
|
|
99
|
-
() => Number(props.height) + Number(props.y)
|
|
100
|
-
)
|
|
101
|
-
</script>
|
|
102
|
-
|
|
103
|
-
<style scoped lang="scss">
|
|
104
|
-
.selection-stroke {
|
|
105
|
-
stroke: var(--diagram-selection-line);
|
|
106
|
-
fill: var(--diagram-selection-bg);
|
|
107
|
-
}
|
|
108
|
-
.selection-line {
|
|
109
|
-
stroke: var(--diagram-highlight-line);
|
|
110
|
-
fill: none;
|
|
111
|
-
stroke-width: 1.5px;
|
|
112
|
-
}
|
|
113
|
-
.highlight {
|
|
114
|
-
fill: var(--diagram-highlight-bg);
|
|
115
|
-
|
|
116
|
-
&-stroke {
|
|
117
|
-
stroke: var(--diagram-highlight-line);
|
|
118
|
-
}
|
|
119
|
-
&-hide {
|
|
120
|
-
stroke-opacity: 0;
|
|
121
|
-
fill: transparent;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<g v-if="props.isMain" :data-title="`${props.dataTitle}-main`">
|
|
3
|
+
<rect
|
|
4
|
+
:width="props.width"
|
|
5
|
+
:height="props.height"
|
|
6
|
+
:x="props.x"
|
|
7
|
+
:y="props.y"
|
|
8
|
+
:rx="props.radius"
|
|
9
|
+
:ry="props.radius"
|
|
10
|
+
shape-rendering="geometricprecision"
|
|
11
|
+
:class="props.mainClasses"
|
|
12
|
+
/>
|
|
13
|
+
<polyline
|
|
14
|
+
v-if="props.isNetworkBlock"
|
|
15
|
+
:points="`284.5,${props.y} 294.5,${props.y} 294.5,${bottomPoint} 284.5,${bottomPoint}`"
|
|
16
|
+
:class="props.mainClasses"
|
|
17
|
+
/>
|
|
18
|
+
<polyline
|
|
19
|
+
v-if="props.isAdapterBlock"
|
|
20
|
+
:points="`440.5,17.5 430.5,17.5 430.5,${bottomPoint} 440.5,${bottomPoint}`"
|
|
21
|
+
:class="props.mainClasses"
|
|
22
|
+
/>
|
|
23
|
+
</g>
|
|
24
|
+
<g v-if="props.isSecond" :data-title="`${props.dataTitle}-second`">
|
|
25
|
+
<rect
|
|
26
|
+
width="28"
|
|
27
|
+
:height="props.height"
|
|
28
|
+
:x="props.x"
|
|
29
|
+
:y="props.y"
|
|
30
|
+
rx="6"
|
|
31
|
+
ry="6"
|
|
32
|
+
shape-rendering="geometricprecision"
|
|
33
|
+
:class="props.secondClasses"
|
|
34
|
+
/>
|
|
35
|
+
<polyline
|
|
36
|
+
v-if="props.isNetworkBlock"
|
|
37
|
+
:points="`320.5,${props.y} 310.5,${props.y} 310.5,${bottomPoint} 320.5,${bottomPoint}`"
|
|
38
|
+
:class="props.secondClasses"
|
|
39
|
+
/>
|
|
40
|
+
<polyline
|
|
41
|
+
v-if="props.isAdapterBlock"
|
|
42
|
+
:points="`404.5,${props.y} 414.5,${props.y} 414.5,${bottomPoint} 404.5,${bottomPoint}`"
|
|
43
|
+
:class="props.secondClasses"
|
|
44
|
+
/>
|
|
45
|
+
</g>
|
|
46
|
+
<g v-if="props.isLine" :data-title="`${props.dataTitle}-line`">
|
|
47
|
+
<line
|
|
48
|
+
:x1="props.x"
|
|
49
|
+
:y1="props.y"
|
|
50
|
+
:x2="props.x2"
|
|
51
|
+
:y2="props.y2"
|
|
52
|
+
shape-rendering="geometricprecision"
|
|
53
|
+
stroke-width="1.5"
|
|
54
|
+
:class="['selection-line', props.lineClasses]"
|
|
55
|
+
/>
|
|
56
|
+
</g>
|
|
57
|
+
<g v-if="props.isVerticalLine" :data-title="`${props.dataTitle}-vertical-line`">
|
|
58
|
+
<path :d="props.d1" :class="['selection-line', props.lineClasses]" />
|
|
59
|
+
<path :d="props.d2" :class="['selection-line', props.lineClasses]" />
|
|
60
|
+
</g>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script setup lang="ts">
|
|
64
|
+
import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
|
|
65
|
+
|
|
66
|
+
const props = withDefaults(
|
|
67
|
+
defineProps<{
|
|
68
|
+
mainClasses: UI_I_ArbitraryObject<boolean>
|
|
69
|
+
secondClasses: UI_I_ArbitraryObject<boolean>
|
|
70
|
+
lineClasses: UI_I_ArbitraryObject<boolean>
|
|
71
|
+
isMain: boolean
|
|
72
|
+
isSecond: boolean
|
|
73
|
+
isLine: boolean
|
|
74
|
+
isVerticalLine: boolean
|
|
75
|
+
dataTitle: string
|
|
76
|
+
height?: number | string
|
|
77
|
+
width?: number | string
|
|
78
|
+
x?: number | string
|
|
79
|
+
y?: number | string
|
|
80
|
+
x2?: number | string
|
|
81
|
+
y2?: number | string
|
|
82
|
+
d1: string
|
|
83
|
+
d2: string
|
|
84
|
+
radius: string
|
|
85
|
+
isNetworkBlock: boolean
|
|
86
|
+
isAdapterBlock: boolean
|
|
87
|
+
}>(),
|
|
88
|
+
{
|
|
89
|
+
width: 288,
|
|
90
|
+
height: 18,
|
|
91
|
+
x: 6.5,
|
|
92
|
+
y: 20,
|
|
93
|
+
x2: 16.5,
|
|
94
|
+
y2: 20,
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
const bottomPoint = computed<number>(
|
|
99
|
+
() => Number(props.height) + Number(props.y)
|
|
100
|
+
)
|
|
101
|
+
</script>
|
|
102
|
+
|
|
103
|
+
<style scoped lang="scss">
|
|
104
|
+
.selection-stroke {
|
|
105
|
+
stroke: var(--diagram-selection-line);
|
|
106
|
+
fill: var(--diagram-selection-bg);
|
|
107
|
+
}
|
|
108
|
+
.selection-line {
|
|
109
|
+
stroke: var(--diagram-highlight-line);
|
|
110
|
+
fill: none;
|
|
111
|
+
stroke-width: 1.5px;
|
|
112
|
+
}
|
|
113
|
+
.highlight {
|
|
114
|
+
fill: var(--diagram-highlight-bg);
|
|
115
|
+
|
|
116
|
+
&-stroke {
|
|
117
|
+
stroke: var(--diagram-highlight-line);
|
|
118
|
+
}
|
|
119
|
+
&-hide {
|
|
120
|
+
stroke-opacity: 0;
|
|
121
|
+
fill: transparent;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
</style>
|