bfg-common 1.5.421 → 1.5.423
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_STYLE.md +109 -109
- package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +7 -3
- package/assets/localization/local_en.json +12 -8
- package/assets/localization/local_hy.json +8 -4
- package/assets/localization/local_kk.json +7 -3
- package/assets/localization/local_ru.json +12 -8
- package/assets/localization/local_zh.json +7 -3
- package/assets/scss/common/theme.scss +0 -214
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/collapse/CollapseNav.vue +170 -170
- package/components/atoms/perPage/PerPage.vue +58 -58
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
- package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
- package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
- package/components/common/context/lib/models/interfaces.ts +33 -33
- package/components/common/diagramMain/modals/lib/config/networkModal.ts +398 -398
- package/components/common/layout/theHeader/helpMenu/About.vue +82 -82
- package/components/common/pages/backups/Backups.vue +102 -102
- package/components/common/pages/backups/DetailView.vue +52 -52
- package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
- package/components/common/pages/backups/modals/Modals.vue +231 -226
- package/components/common/pages/backups/modals/createBackup/CreateBackup.vue +376 -353
- package/components/common/pages/backups/modals/createBackup/configuration/Configuration.vue +29 -29
- package/components/common/pages/backups/modals/createBackup/configuration/backupWindow/BackupWindow.vue +26 -26
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/MaxBandwidth.vue +66 -66
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
- package/components/common/pages/backups/modals/createBackup/configuration/strategy/Strategy.vue +35 -35
- package/components/common/pages/backups/modals/createBackup/datastores/Datastores.vue +59 -59
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/TableView.vue +95 -95
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/lib/config/table.ts +119 -119
- package/components/common/pages/backups/modals/createBackup/disks/Disks.vue +2 -2
- package/components/common/pages/backups/modals/createBackup/disks/tableView/TableView.vue +7 -4
- package/components/common/pages/backups/modals/createBackup/disks/tableView/lib/config/table.ts +117 -117
- package/components/common/pages/backups/modals/createBackup/general/General.vue +135 -48
- package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +117 -117
- package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +12 -12
- package/components/common/pages/backups/modals/lib/config/restore.ts +115 -115
- package/components/common/pages/backups/modals/lib/models/interfaces.ts +186 -185
- package/components/common/pages/backups/modals/restore/Restore.vue +417 -417
- package/components/common/pages/backups/modals/restore/disks/Disks.vue +27 -27
- package/components/common/pages/backups/modals/restore/disks/tableView/TableView.vue +102 -102
- package/components/common/pages/backups/modals/restore/disks/tableView/lib/config/table.ts +117 -117
- package/components/common/pages/backups/modals/restore/lib/config/steps.ts +108 -108
- package/components/common/pages/backups/modals/restore/name/Name.vue +160 -160
- package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
- package/components/common/pages/backups/modals/restore/networks/Networks.vue +67 -67
- package/components/common/pages/backups/modals/restore/networks/table/Table.vue +214 -214
- package/components/common/pages/backups/modals/restore/types/lib/config/typeOptions.ts +25 -25
- package/components/common/pages/backups/tools/Tools.vue +75 -75
- package/components/common/pages/backups/tools/lib/config/tabs.ts +36 -36
- package/components/common/pages/home/headline/HeadlineOld.vue +42 -42
- package/components/common/pages/home/lib/models/interfaces.ts +48 -48
- package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
- package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
- package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
- package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
- package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
- package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
- package/components/common/select/radio/RadioGroup.vue +137 -137
- package/components/common/spiceConsole/Drawer.vue +381 -381
- package/components/common/spiceConsole/SpiceConsole.vue +127 -127
- package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
- package/components/common/split/horizontal/HorizontalNew.vue +22 -5
- package/components/common/split/horizontal/HorizontalOld.vue +8 -1
- package/components/common/split/vertical/VerticalNew.vue +13 -2
- package/components/common/summary/notification/NotificationNew.vue +20 -4
- package/components/common/titleBar/titleBarNew/notification/Notification.vue +31 -0
- package/components/common/tools/Actions.vue +207 -207
- package/components/common/tooltip/Help.vue +14 -1
- package/components/common/treeView/TreeView.vue +52 -52
- package/components/common/vm/actions/add/New.vue +10 -0
- package/components/common/vm/actions/add/folderTreeView/FolderTreeView.vue +72 -72
- package/components/common/vm/actions/add/folderTreeView/New.vue +40 -40
- package/components/common/vm/actions/clone/Clone.vue +11 -0
- package/components/common/vm/actions/clone/lib/config/steps.ts +291 -291
- package/components/common/vm/actions/clone/toTemplate/ToTemplate.vue +11 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +26 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +25 -25
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +78 -70
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaOld.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +8 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +140 -140
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +15 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +8 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +154 -154
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/LocationOld.vue +85 -85
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -23
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +8 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +66 -66
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoOld.vue +62 -62
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +31 -31
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoOld.vue +76 -76
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +15 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteNew.vue +42 -42
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteOld.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridOld.vue +84 -84
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +10 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +53 -53
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +60 -60
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +174 -174
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapOld.vue +44 -44
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +103 -103
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +28 -28
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -44
- package/components/common/vm/actions/common/select/compatibility/New.vue +18 -0
- package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
- package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +143 -143
- package/components/common/vm/actions/common/select/computeResource/New.vue +184 -168
- package/components/common/vm/actions/common/select/computeResource/treeView/TreeView.vue +131 -131
- package/components/common/vm/actions/common/select/createType/CreateType.vue +38 -38
- package/components/common/vm/actions/common/select/createType/New.vue +16 -0
- package/components/common/vm/actions/common/select/createType/Old.vue +9 -0
- package/components/common/vm/actions/common/select/createType/lib/config/items.ts +48 -48
- package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/name/New.vue +20 -0
- package/components/common/vm/actions/common/select/os/New.vue +10 -0
- package/components/common/vm/actions/common/select/os/Old.vue +152 -152
- package/components/common/vm/actions/common/select/os/Os.vue +139 -139
- package/components/common/vm/actions/common/select/storage/new/New.vue +32 -0
- package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
- package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
- package/components/common/vm/actions/common/select/template/treeView/New.vue +10 -0
- package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
- package/components/common/vmt/actions/add/Old.vue +10 -0
- package/components/common/vmt/actions/add/lib/models/interfaces.ts +23 -23
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/_serversList/DeletePopover.vue +8 -0
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/New.vue +11 -0
- package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
- package/components/common/wizards/network/add/modals/SelectStandardSwitch.vue +17 -6
- package/components/common/wizards/network/add/modals/SelectSwitch.vue +17 -6
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +157 -157
- package/components/common/wizards/vm/migrate/lib/validations.ts +68 -68
- package/components/common/wizards/vm/migrate/select/network/Network.vue +103 -103
- package/components/common/wizards/vm/migrate/select/type/lib/config/typeOptions.ts +45 -45
- package/composables/productNameLocal.ts +30 -30
- package/composables/useAppVersion.ts +21 -21
- package/package.json +1 -1
- package/plugins/date.ts +233 -233
- package/plugins/panelStates.ts +70 -70
- package/plugins/text.ts +59 -59
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +390 -390
- package/store/main/mutations.ts +7 -7
- package/store/main/state.ts +7 -7
- package/components/common/pages/backups/modals/createBackup/disks/tableView/lib/models/interfaces.ts +0 -4
- package/components/common/wizards/network/add/modals/lib/models/interfaces.ts +0 -21
@@ -1,127 +1,127 @@
|
|
1
|
-
<template>
|
2
|
-
<div ref="fullScreen" class="spice-console">
|
3
|
-
<div id="vmw" ref="vmScreen" @scroll="onConsoleScroll"></div>
|
4
|
-
<common-spice-console-drawer
|
5
|
-
@toggle-fullscreen="toggle"
|
6
|
-
@send-alt-command="onSendAltCommand"
|
7
|
-
/>
|
8
|
-
</div>
|
9
|
-
</template>
|
10
|
-
<script setup lang="ts">
|
11
|
-
import { useFullscreen } from '@vueuse/core'
|
12
|
-
import RFB from '@novnc/novnc/core/rfb.js'
|
13
|
-
import SpiceConsole from '~/plugins/spice-console/spice.console'
|
14
|
-
|
15
|
-
const props = defineProps<{
|
16
|
-
wsUrl: string
|
17
|
-
vmType: string
|
18
|
-
vmId: string
|
19
|
-
host: string
|
20
|
-
port: number
|
21
|
-
}>()
|
22
|
-
|
23
|
-
let rfb: any
|
24
|
-
const vmScreen = ref<any>(null)
|
25
|
-
const fullScreen = ref<any>(null)
|
26
|
-
const { toggle } = useFullscreen(fullScreen)
|
27
|
-
|
28
|
-
const connectWS = (): void => {
|
29
|
-
if (props.vmType === 'VNC') {
|
30
|
-
connectVNC()
|
31
|
-
} else if (props.vmType === 'SPICE') {
|
32
|
-
SpiceConsole.init(props.wsUrl)
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
const connectVNC = (): void => {
|
37
|
-
rfb = new RFB(vmScreen.value, props.wsUrl, {
|
38
|
-
protocols: {},
|
39
|
-
})
|
40
|
-
}
|
41
|
-
|
42
|
-
const vmDisconnect = (): void => {
|
43
|
-
if (props.vmType === 'VNC') {
|
44
|
-
if (rfb) {
|
45
|
-
rfb.disconnect()
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
const onSendAltCommand = (): void => {
|
51
|
-
// @ts-ignore
|
52
|
-
window.app.sendCtrlAltDelete()
|
53
|
-
}
|
54
|
-
|
55
|
-
const onConsoleScroll = (event: any): void => {
|
56
|
-
app.clientGui.setClientOffset(
|
57
|
-
app.clientGui.clientOffsetX,
|
58
|
-
event.target.scrollTop
|
59
|
-
)
|
60
|
-
}
|
61
|
-
|
62
|
-
const blockCtrlOrCmdCommands = (e): void => {
|
63
|
-
const blockedKeys = [
|
64
|
-
'e',
|
65
|
-
's',
|
66
|
-
'p',
|
67
|
-
'u',
|
68
|
-
'r',
|
69
|
-
'o',
|
70
|
-
'i',
|
71
|
-
'j',
|
72
|
-
'k',
|
73
|
-
'n',
|
74
|
-
't',
|
75
|
-
'w',
|
76
|
-
'h',
|
77
|
-
'd',
|
78
|
-
]
|
79
|
-
|
80
|
-
const key = e.key
|
81
|
-
const ctrlOrCmd = e.ctrlKey || e.metaKey
|
82
|
-
|
83
|
-
// Block Ctrl+key or Cmd+key
|
84
|
-
if (ctrlOrCmd && blockedKeys.includes(key.toLowerCase())) {
|
85
|
-
e.preventDefault()
|
86
|
-
e.stopPropagation()
|
87
|
-
// console.log(`Blocked key: ${key}`);
|
88
|
-
return false
|
89
|
-
}
|
90
|
-
|
91
|
-
// Optionally block right-click menu key (context menu)
|
92
|
-
// if (e.key === 'ContextMenu') {
|
93
|
-
// e.preventDefault();
|
94
|
-
// return false;
|
95
|
-
// }
|
96
|
-
|
97
|
-
// Optional: block F5/Reload with Ctrl+R as fallback
|
98
|
-
// if (key === 'F5' || (ctrlOrCmd && key.toLowerCase() === 'r')) {
|
99
|
-
// e.preventDefault();
|
100
|
-
// return false;
|
101
|
-
// }
|
102
|
-
}
|
103
|
-
onMounted(() => {
|
104
|
-
connectWS()
|
105
|
-
document.addEventListener('keydown', blockCtrlOrCmdCommands)
|
106
|
-
})
|
107
|
-
|
108
|
-
onBeforeUnmount(() => {
|
109
|
-
vmDisconnect()
|
110
|
-
document.removeEventListener('keydown', blockCtrlOrCmdCommands)
|
111
|
-
})
|
112
|
-
</script>
|
113
|
-
<style scoped lang="scss">
|
114
|
-
.spice-console {
|
115
|
-
width: 100vw;
|
116
|
-
height: 100vh;
|
117
|
-
overflow: hidden;
|
118
|
-
position: relative;
|
119
|
-
}
|
120
|
-
#vmw {
|
121
|
-
overflow-y: auto;
|
122
|
-
overflow-x: auto;
|
123
|
-
position: relative;
|
124
|
-
height: 100vh;
|
125
|
-
background-color: #000;
|
126
|
-
}
|
127
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div ref="fullScreen" class="spice-console">
|
3
|
+
<div id="vmw" ref="vmScreen" @scroll="onConsoleScroll"></div>
|
4
|
+
<common-spice-console-drawer
|
5
|
+
@toggle-fullscreen="toggle"
|
6
|
+
@send-alt-command="onSendAltCommand"
|
7
|
+
/>
|
8
|
+
</div>
|
9
|
+
</template>
|
10
|
+
<script setup lang="ts">
|
11
|
+
import { useFullscreen } from '@vueuse/core'
|
12
|
+
import RFB from '@novnc/novnc/core/rfb.js'
|
13
|
+
import SpiceConsole from '~/plugins/spice-console/spice.console'
|
14
|
+
|
15
|
+
const props = defineProps<{
|
16
|
+
wsUrl: string
|
17
|
+
vmType: string
|
18
|
+
vmId: string
|
19
|
+
host: string
|
20
|
+
port: number
|
21
|
+
}>()
|
22
|
+
|
23
|
+
let rfb: any
|
24
|
+
const vmScreen = ref<any>(null)
|
25
|
+
const fullScreen = ref<any>(null)
|
26
|
+
const { toggle } = useFullscreen(fullScreen)
|
27
|
+
|
28
|
+
const connectWS = (): void => {
|
29
|
+
if (props.vmType === 'VNC') {
|
30
|
+
connectVNC()
|
31
|
+
} else if (props.vmType === 'SPICE') {
|
32
|
+
SpiceConsole.init(props.wsUrl)
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
const connectVNC = (): void => {
|
37
|
+
rfb = new RFB(vmScreen.value, props.wsUrl, {
|
38
|
+
protocols: {},
|
39
|
+
})
|
40
|
+
}
|
41
|
+
|
42
|
+
const vmDisconnect = (): void => {
|
43
|
+
if (props.vmType === 'VNC') {
|
44
|
+
if (rfb) {
|
45
|
+
rfb.disconnect()
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
const onSendAltCommand = (): void => {
|
51
|
+
// @ts-ignore
|
52
|
+
window.app.sendCtrlAltDelete()
|
53
|
+
}
|
54
|
+
|
55
|
+
const onConsoleScroll = (event: any): void => {
|
56
|
+
app.clientGui.setClientOffset(
|
57
|
+
app.clientGui.clientOffsetX,
|
58
|
+
event.target.scrollTop
|
59
|
+
)
|
60
|
+
}
|
61
|
+
|
62
|
+
const blockCtrlOrCmdCommands = (e): void => {
|
63
|
+
const blockedKeys = [
|
64
|
+
'e',
|
65
|
+
's',
|
66
|
+
'p',
|
67
|
+
'u',
|
68
|
+
'r',
|
69
|
+
'o',
|
70
|
+
'i',
|
71
|
+
'j',
|
72
|
+
'k',
|
73
|
+
'n',
|
74
|
+
't',
|
75
|
+
'w',
|
76
|
+
'h',
|
77
|
+
'd',
|
78
|
+
]
|
79
|
+
|
80
|
+
const key = e.key
|
81
|
+
const ctrlOrCmd = e.ctrlKey || e.metaKey
|
82
|
+
|
83
|
+
// Block Ctrl+key or Cmd+key
|
84
|
+
if (ctrlOrCmd && blockedKeys.includes(key.toLowerCase())) {
|
85
|
+
e.preventDefault()
|
86
|
+
e.stopPropagation()
|
87
|
+
// console.log(`Blocked key: ${key}`);
|
88
|
+
return false
|
89
|
+
}
|
90
|
+
|
91
|
+
// Optionally block right-click menu key (context menu)
|
92
|
+
// if (e.key === 'ContextMenu') {
|
93
|
+
// e.preventDefault();
|
94
|
+
// return false;
|
95
|
+
// }
|
96
|
+
|
97
|
+
// Optional: block F5/Reload with Ctrl+R as fallback
|
98
|
+
// if (key === 'F5' || (ctrlOrCmd && key.toLowerCase() === 'r')) {
|
99
|
+
// e.preventDefault();
|
100
|
+
// return false;
|
101
|
+
// }
|
102
|
+
}
|
103
|
+
onMounted(() => {
|
104
|
+
connectWS()
|
105
|
+
document.addEventListener('keydown', blockCtrlOrCmdCommands)
|
106
|
+
})
|
107
|
+
|
108
|
+
onBeforeUnmount(() => {
|
109
|
+
vmDisconnect()
|
110
|
+
document.removeEventListener('keydown', blockCtrlOrCmdCommands)
|
111
|
+
})
|
112
|
+
</script>
|
113
|
+
<style scoped lang="scss">
|
114
|
+
.spice-console {
|
115
|
+
width: 100vw;
|
116
|
+
height: 100vh;
|
117
|
+
overflow: hidden;
|
118
|
+
position: relative;
|
119
|
+
}
|
120
|
+
#vmw {
|
121
|
+
overflow-y: auto;
|
122
|
+
overflow-x: auto;
|
123
|
+
position: relative;
|
124
|
+
height: 100vh;
|
125
|
+
background-color: #000;
|
126
|
+
}
|
127
|
+
</style>
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export interface UI_I_DeviceOption {
|
2
|
-
label: string
|
3
|
-
value: any
|
4
|
-
disabled?: boolean
|
5
|
-
}
|
1
|
+
export interface UI_I_DeviceOption {
|
2
|
+
label: string
|
3
|
+
value: any
|
4
|
+
disabled?: boolean
|
5
|
+
}
|
@@ -216,12 +216,29 @@ onUnmounted(() => {
|
|
216
216
|
|
217
217
|
<style>
|
218
218
|
:root.is-new-view {
|
219
|
+
--split-horizontal-border-color: #e9ebed;
|
220
|
+
--horizontal-panel-bg-color: #fff;
|
221
|
+
--trigger-bg-color: #e9ebeda3;
|
222
|
+
--trigger-color: #213444;
|
223
|
+
--new-gutter-bg-color: #e9ebed;
|
224
|
+
--new-gutter-hover-bg-color: #008fd6;
|
225
|
+
--new-gutter-before-bg-color: rgba(255, 255, 255, 0.8);
|
226
|
+
|
219
227
|
/*rtl*/
|
220
228
|
--horizontal-split-button-border-radius: 4px 0 0 4px;
|
221
229
|
--horizontal-split-button-border-radius-collapsed: 0 4px 4px 0;
|
222
230
|
--horizontal-split-button-rotate: 90deg;
|
223
231
|
--horizontal-split-button-rotate-collapsed: -90deg;
|
224
232
|
}
|
233
|
+
:root.dark-theme {
|
234
|
+
--split-horizontal-border-color: #e9ebed1f;
|
235
|
+
--horizontal-panel-bg-color: #213444;
|
236
|
+
--trigger-bg-color: #314352;
|
237
|
+
--trigger-color: #e9ebed;
|
238
|
+
--new-gutter-bg-color: #394a58;
|
239
|
+
--new-gutter-hover-bg-color: #2ba2de;
|
240
|
+
--new-gutter-before-bg-color: rgba(33, 52, 68, 0.8);
|
241
|
+
}
|
225
242
|
:root.is-new-view[dir='rtl'] {
|
226
243
|
--horizontal-split-button-border-radius: 0 4px 4px 0;
|
227
244
|
--horizontal-split-button-border-radius-collapsed: 4px 0 0 4px;
|
@@ -256,8 +273,8 @@ onUnmounted(() => {
|
|
256
273
|
align-items: center;
|
257
274
|
justify-content: space-between;
|
258
275
|
min-height: 48px;
|
259
|
-
border-bottom: 1px solid var(--
|
260
|
-
background-color: var(--
|
276
|
+
border-bottom: 1px solid var(--split-horizontal-border-color);
|
277
|
+
background-color: var(--horizontal-panel-bg-color);
|
261
278
|
|
262
279
|
&.collapsed {
|
263
280
|
border: none;
|
@@ -283,8 +300,8 @@ onUnmounted(() => {
|
|
283
300
|
border: 0;
|
284
301
|
padding: 0;
|
285
302
|
margin: 0;
|
286
|
-
background-color: var(--
|
287
|
-
color: var(--
|
303
|
+
background-color: var(--trigger-bg-color);
|
304
|
+
color: var(--trigger-color);
|
288
305
|
outline: none;
|
289
306
|
cursor: pointer;
|
290
307
|
border-radius: var(--horizontal-split-button-border-radius);
|
@@ -301,7 +318,7 @@ onUnmounted(() => {
|
|
301
318
|
.panel-inner {
|
302
319
|
position: relative;
|
303
320
|
height: 100%;
|
304
|
-
background: var(--
|
321
|
+
background: var(--horizontal-panel-bg-color);
|
305
322
|
border-radius: 0;
|
306
323
|
border: 0;
|
307
324
|
|
@@ -185,6 +185,13 @@ onUnmounted(() => {
|
|
185
185
|
</script>
|
186
186
|
|
187
187
|
<style>
|
188
|
+
:root:not(.is-new-view) {
|
189
|
+
--horizontal-panel-bg-color: #fff;
|
190
|
+
}
|
191
|
+
:root:not(.is-new-view).dark-theme {
|
192
|
+
--horizontal-panel-bg-color: #1b2a32;
|
193
|
+
}
|
194
|
+
|
188
195
|
:root {
|
189
196
|
--horizontal-split-button-border-right: 1px solid var(--global-border-color);
|
190
197
|
--horizontal-split-button-border-left: none;
|
@@ -264,7 +271,7 @@ onUnmounted(() => {
|
|
264
271
|
.panel-inner {
|
265
272
|
position: relative;
|
266
273
|
height: 100%;
|
267
|
-
background: var(--
|
274
|
+
background: var(--horizontal-panel-bg-color);
|
268
275
|
border-radius: 0;
|
269
276
|
border: 0;
|
270
277
|
|
@@ -38,6 +38,17 @@ const props = defineProps<{
|
|
38
38
|
}>()
|
39
39
|
</script>
|
40
40
|
|
41
|
+
<style>
|
42
|
+
:root {
|
43
|
+
--gutter-handler-active-bg-color: #ffffffcc;
|
44
|
+
--second-panel-box-shadow: 0 4px 20px 0 #0000001f;
|
45
|
+
}
|
46
|
+
:root.dark-theme {
|
47
|
+
--gutter-handler-active-bg-color: #213444cc;
|
48
|
+
--second-panel-box-shadow: 0 4px 20px 0 #0000001f, 0 -1px 12px 0 #00000014;
|
49
|
+
}
|
50
|
+
</style>
|
51
|
+
|
41
52
|
<style scoped lang="scss">
|
42
53
|
.fill-parent {
|
43
54
|
&.dragging {
|
@@ -84,7 +95,7 @@ const props = defineProps<{
|
|
84
95
|
cursor: row-resize;
|
85
96
|
|
86
97
|
&:before {
|
87
|
-
background-color: var(--
|
98
|
+
background-color: var(--gutter-handler-active-bg-color);
|
88
99
|
}
|
89
100
|
}
|
90
101
|
|
@@ -106,7 +117,7 @@ const props = defineProps<{
|
|
106
117
|
height: auto;
|
107
118
|
overflow: hidden;
|
108
119
|
flex: 1;
|
109
|
-
box-shadow: var(--
|
120
|
+
box-shadow: var(--second-panel-box-shadow);
|
110
121
|
//z-index: calc(var(--z-default) + 1);
|
111
122
|
}
|
112
123
|
}
|
@@ -73,11 +73,27 @@ watch(
|
|
73
73
|
)
|
74
74
|
</script>
|
75
75
|
|
76
|
+
<style>
|
77
|
+
:root {
|
78
|
+
--summary-notification-item-text: #4d5d69;
|
79
|
+
--summary-notification-action-toggle: #4d5d69;
|
80
|
+
--summary-notification-action-toggle-border: #e9ebed;
|
81
|
+
--summary-notification-action-active-toggle: #008fd6;
|
82
|
+
}
|
83
|
+
|
84
|
+
:root.dark-theme {
|
85
|
+
--summary-notification-item-text: #e9eaec;
|
86
|
+
--summary-notification-action-toggle: #e9eaec;
|
87
|
+
--summary-notification-action-toggle-border: rgba(233, 235, 237, 0.12);
|
88
|
+
--summary-notification-action-active-toggle: #2ba2de;
|
89
|
+
}
|
90
|
+
</style>
|
91
|
+
|
76
92
|
<style scoped lang="scss">
|
77
93
|
.notification-item-text {
|
78
94
|
font-size: 14px;
|
79
95
|
font-weight: 400;
|
80
|
-
color: var(--
|
96
|
+
color: var(--summary-notification-item-text);
|
81
97
|
line-height: 16.94px;
|
82
98
|
margin-right: 16px;
|
83
99
|
}
|
@@ -88,7 +104,7 @@ watch(
|
|
88
104
|
|
89
105
|
.actions-toggle-button {
|
90
106
|
width: 100%;
|
91
|
-
color: var(--
|
107
|
+
color: var(--summary-notification-action-toggle);
|
92
108
|
font-weight: 500;
|
93
109
|
display: flex;
|
94
110
|
align-items: center;
|
@@ -98,13 +114,13 @@ watch(
|
|
98
114
|
outline: unset;
|
99
115
|
padding: 8px 0 8px 16px;
|
100
116
|
background: unset;
|
101
|
-
border-left: solid 1px var(--
|
117
|
+
border-left: solid 1px var(--summary-notification-action-toggle-border);
|
102
118
|
cursor: pointer;
|
103
119
|
font-family: 'Inter', sans-serif;
|
104
120
|
font-size: 14px;
|
105
121
|
|
106
122
|
&.active {
|
107
|
-
color: var(--
|
123
|
+
color: var(--summary-notification-action-active-toggle);
|
108
124
|
|
109
125
|
.arrow-icon-content {
|
110
126
|
transform: rotateZ(0deg);
|
@@ -195,6 +195,37 @@ watch(
|
|
195
195
|
)
|
196
196
|
</script>
|
197
197
|
|
198
|
+
<style>
|
199
|
+
:root {
|
200
|
+
--summary-action-btn-color: #213444;
|
201
|
+
--summary-action-btn-hover-color: #1b2a37;
|
202
|
+
--summary-action-btn-active-border-color: #008fd6;
|
203
|
+
--summary-dropdown-notifications-bg-color: #ffffff;
|
204
|
+
--summary-dropdown-notifications-title-color: #4d5d69;
|
205
|
+
--summary-dropdown-notifications-mark-all-color: #008fd6;
|
206
|
+
--summary-dropdown-tabs-content-border-color: #e9ebed;
|
207
|
+
--summary-dropdown-notification-item-new-bg-color: #008fd60f;
|
208
|
+
--summary-dropdown-notification-item-hover-bg-color: #e9ebed66;
|
209
|
+
--summary-dropdown-notification-item-hover-action-color: #008fd6;
|
210
|
+
--summary-dropdown-notification-item-text-color: #4d5d69;
|
211
|
+
--summary-dropdown-notification-item-action-color: #4d5d69;
|
212
|
+
}
|
213
|
+
:root.dark-theme {
|
214
|
+
--summary-action-btn-color: #e9eaec;
|
215
|
+
--summary-action-btn-hover-color: #ffffff;
|
216
|
+
--summary-action-btn-active-border-color: #2ba2de;
|
217
|
+
--summary-dropdown-notifications-bg-color: #334453;
|
218
|
+
--summary-dropdown-notifications-title-color: #e9eaec;
|
219
|
+
--summary-dropdown-notifications-mark-all-color: #2ba2de;
|
220
|
+
--summary-dropdown-tabs-content-border-color: #e9ebed1f;
|
221
|
+
--summary-dropdown-notification-item-new-bg-color: #2ba2de0f;
|
222
|
+
--summary-dropdown-notification-item-hover-bg-color: #e9ebed0f;
|
223
|
+
--summary-dropdown-notification-item-hover-action-color: #2ba2de;
|
224
|
+
--summary-dropdown-notification-item-text-color: #e9eaec;
|
225
|
+
--summary-dropdown-notification-item-action-color: #e9eaec;
|
226
|
+
}
|
227
|
+
</style>
|
228
|
+
|
198
229
|
<style scoped lang="scss">
|
199
230
|
.notification-content {
|
200
231
|
#notification-toggle {
|