bfg-common 1.4.398 → 1.4.400
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/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +203 -189
- package/package.json +1 -1
- package/components/common/vm/actions/common/_customizeHardware/CustomizeHardware.vue +0 -274
- package/components/common/vm/actions/common/_customizeHardware/lib/config/navItems.ts +0 -21
- package/components/common/vm/actions/common/_customizeHardware/lib/models/interfaces.ts +0 -7
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/VirtualHardware.vue +0 -702
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/BrowseView.vue +0 -203
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/lib/models/interfaces.ts +0 -8
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/Bus.vue +0 -156
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/lib/config/options.ts +0 -20
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +0 -270
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/fileTypes.ts +0 -9
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/options.ts +0 -11
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/models/types.ts +0 -1
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +0 -57
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +0 -110
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Cpu.vue +0 -403
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +0 -56
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/CpuModel.vue +0 -225
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Hv.vue +0 -99
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Iommu.vue +0 -55
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/MaxCpu.vue +0 -106
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Pc.vue +0 -55
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Sa.vue +0 -106
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/lib/config/cpuOptions.ts +0 -21
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/Shares.vue +0 -160
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +0 -28
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +0 -59
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/binaryOptions.ts +0 -12
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/dropdownItems.ts +0 -66
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/interfaces.ts +0 -118
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/types.ts +0 -4
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/Limit.vue +0 -236
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/lib/config/options.ts +0 -28
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/Memory.vue +0 -329
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/MemoryHotPlug.vue +0 -54
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/lib/config/memoryOptions.ts +0 -35
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/DiskFile.vue +0 -24
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/MaximumSize.vue +0 -27
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +0 -462
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +0 -81
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/lib/config/options.ts +0 -7
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +0 -153
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/lib/config/options.ts +0 -28
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/Location.vue +0 -172
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +0 -52
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/storageModalNew/StorageModalNew.vue +0 -175
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/storageModalNew/lib/config/table.ts +0 -167
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +0 -88
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options.ts +0 -18
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +0 -88
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/lib/config/options.ts +0 -15
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +0 -86
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/lib/config/options.ts +0 -12
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/Location.vue +0 -145
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +0 -305
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +0 -87
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/lib/config/options.ts +0 -9
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +0 -148
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options.ts +0 -11
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +0 -168
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +0 -48
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +0 -49
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/lib/config/options.ts +0 -10
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +0 -7
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/note/Note.vue +0 -27
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +0 -42
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +0 -57
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +0 -82
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/lib/config/options.ts +0 -6
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/other/InputDevices.vue +0 -21
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/other/Other.vue +0 -32
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/Reservation.vue +0 -237
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/lib/config/options.ts +0 -33
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/Graphics.vue +0 -50
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/TotalVideoMemory.vue +0 -121
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/VideoCard.vue +0 -182
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/lib/config/options.ts +0 -11
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/Model.vue +0 -59
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/lib/config/options.ts +0 -10
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +0 -83
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/lib/config/options.ts +0 -14
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/Vmoptions.vue +0 -181
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/BootOptions.vue +0 -114
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/Menu.vue +0 -50
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/Secure.vue +0 -50
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/Delay.vue +0 -54
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/lib/config/config.ts +0 -14
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +0 -84
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/lib/config/config.ts +0 -11
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/Order.vue +0 -201
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/lib/models/interfaces.ts +0 -9
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +0 -192
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/lib/models/interfaces.ts +0 -34
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +0 -52
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/FileTransfer.vue +0 -52
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/FolderSharing.vue +0 -51
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +0 -52
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +0 -50
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +0 -254
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +0 -85
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config.ts +0 -14
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +0 -85
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/lib/config/config.ts +0 -12
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +0 -56
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/lib/config/config.ts +0 -6
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +0 -57
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/lib/config/config.ts +0 -11
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +0 -142
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/models/interfaces.ts +0 -5
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/utils.ts +0 -12
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +0 -56
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/lib/config/config.ts +0 -11
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +0 -85
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config.ts +0 -12
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +0 -85
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/lib/config/config.ts +0 -7
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +0 -57
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/lib/config/config.ts +0 -14
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +0 -85
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/lib/config/config.ts +0 -12
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/tools/Tools.vue +0 -72
package/components/common/vm/actions/common/_customizeHardware/vmoptions/lib/models/interfaces.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface UI_I_SendDataVmoptions {
|
|
2
|
-
remote_console: UI_I_SendDataRemoteConsoleOptions | null
|
|
3
|
-
guest_tools: UI_I_SendDataTools | null
|
|
4
|
-
boot_options: UI_I_SendDataBootOptions | null
|
|
5
|
-
}
|
|
6
|
-
export interface UI_I_SendDataRemoteConsoleOptions {
|
|
7
|
-
type: string
|
|
8
|
-
port: number
|
|
9
|
-
keymap: string
|
|
10
|
-
password: string
|
|
11
|
-
guest_os_lock: boolean
|
|
12
|
-
limit_sessions: number
|
|
13
|
-
spice: UI_I_SendDataRemoteConsoleOptionsSpice
|
|
14
|
-
}
|
|
15
|
-
export interface UI_I_SendDataRemoteConsoleOptionsSpice {
|
|
16
|
-
img_compression: string
|
|
17
|
-
jpeg_compression: string
|
|
18
|
-
zlib_glz_compression: string
|
|
19
|
-
streaming_mode: string
|
|
20
|
-
playback_compression: boolean
|
|
21
|
-
file_transfer: boolean
|
|
22
|
-
clipboard: boolean
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface UI_I_SendDataTools {
|
|
26
|
-
enabled: boolean
|
|
27
|
-
synchronized_time: boolean
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface UI_I_SendDataBootOptions {
|
|
31
|
-
firmware: string
|
|
32
|
-
boot_delay_ms: number
|
|
33
|
-
boot_menu: boolean
|
|
34
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.copyPaste }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<div class="flex-align-center">
|
|
9
|
-
<input
|
|
10
|
-
id="copy-paste"
|
|
11
|
-
v-model="copyPasteLocal"
|
|
12
|
-
data-id="copy-paste-checkbox"
|
|
13
|
-
:disabled="props.disabled"
|
|
14
|
-
type="checkbox"
|
|
15
|
-
/>
|
|
16
|
-
<label for="copy-paste" class="label-text-normal">{{
|
|
17
|
-
localization.common.enable
|
|
18
|
-
}}</label>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
</atoms-stack-block>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
27
|
-
|
|
28
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
29
|
-
|
|
30
|
-
const props = defineProps<{
|
|
31
|
-
copyPaste: boolean
|
|
32
|
-
disabled: boolean
|
|
33
|
-
}>()
|
|
34
|
-
const emits = defineEmits<{
|
|
35
|
-
(event: 'update:copy-paste', value: boolean): void
|
|
36
|
-
}>()
|
|
37
|
-
|
|
38
|
-
const copyPasteLocal = computed<boolean>({
|
|
39
|
-
get() {
|
|
40
|
-
return props.copyPaste
|
|
41
|
-
},
|
|
42
|
-
set(newValue) {
|
|
43
|
-
emits('update:copy-paste', newValue)
|
|
44
|
-
},
|
|
45
|
-
})
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
<style scoped>
|
|
49
|
-
#copy-paste {
|
|
50
|
-
margin: 0 4px 4px 0;
|
|
51
|
-
}
|
|
52
|
-
</style>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.fileTransfer }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<div class="flex-align-center">
|
|
9
|
-
<input
|
|
10
|
-
id="file-transfer"
|
|
11
|
-
v-model="fileTransferLocal"
|
|
12
|
-
data-id="file-transfer-checkbox"
|
|
13
|
-
:disabled="props.disabled"
|
|
14
|
-
type="checkbox"
|
|
15
|
-
/>
|
|
16
|
-
<label for="file-transfer" class="label-text-normal">{{
|
|
17
|
-
localization.common.enable
|
|
18
|
-
}}</label>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
</atoms-stack-block>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
27
|
-
|
|
28
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
29
|
-
|
|
30
|
-
const props = defineProps<{
|
|
31
|
-
fileTransfer: boolean
|
|
32
|
-
disabled: boolean
|
|
33
|
-
}>()
|
|
34
|
-
const emits = defineEmits<{
|
|
35
|
-
(event: 'update:file-transfer', value: boolean): boolean
|
|
36
|
-
}>()
|
|
37
|
-
|
|
38
|
-
const fileTransferLocal = computed<boolean>({
|
|
39
|
-
get() {
|
|
40
|
-
return props.fileTransfer
|
|
41
|
-
},
|
|
42
|
-
set(newValue) {
|
|
43
|
-
emits('update:file-transfer', newValue)
|
|
44
|
-
},
|
|
45
|
-
})
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
<style scoped>
|
|
49
|
-
#file-transfer {
|
|
50
|
-
margin: 0 4px 4px 0;
|
|
51
|
-
}
|
|
52
|
-
</style>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.folderSharing }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<div class="flex-align-center">
|
|
9
|
-
<input
|
|
10
|
-
id="folder-sharing"
|
|
11
|
-
v-model="folderSharingLocal"
|
|
12
|
-
data-id="folder-sharing-checkbox"
|
|
13
|
-
type="checkbox"
|
|
14
|
-
disabled
|
|
15
|
-
/>
|
|
16
|
-
<label for="folder-sharing" class="div-disabled label-text-normal">{{
|
|
17
|
-
localization.common.enable
|
|
18
|
-
}}</label>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
</atoms-stack-block>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
27
|
-
|
|
28
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
29
|
-
|
|
30
|
-
const props = defineProps<{
|
|
31
|
-
folderSharing: boolean
|
|
32
|
-
}>()
|
|
33
|
-
const emits = defineEmits<{
|
|
34
|
-
(event: 'update:folder-sharing', value: boolean): void
|
|
35
|
-
}>()
|
|
36
|
-
|
|
37
|
-
const folderSharingLocal = computed<boolean>({
|
|
38
|
-
get() {
|
|
39
|
-
return props.folderSharing
|
|
40
|
-
},
|
|
41
|
-
set(newValue) {
|
|
42
|
-
emits('update:folder-sharing', newValue)
|
|
43
|
-
},
|
|
44
|
-
})
|
|
45
|
-
</script>
|
|
46
|
-
|
|
47
|
-
<style scoped>
|
|
48
|
-
#folder-sharing {
|
|
49
|
-
margin: 0 4px 4px 0;
|
|
50
|
-
}
|
|
51
|
-
</style>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.playbackCompression }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<div class="flex-align-center">
|
|
9
|
-
<input
|
|
10
|
-
id="playback-compression"
|
|
11
|
-
v-model="playbackCompressionLocal"
|
|
12
|
-
data-id="playback-compression-checkbox"
|
|
13
|
-
:disabled="props.disabled"
|
|
14
|
-
type="checkbox"
|
|
15
|
-
/>
|
|
16
|
-
<label for="playback-compression" class="label-text-normal">{{
|
|
17
|
-
localization.common.enable
|
|
18
|
-
}}</label>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
</atoms-stack-block>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
27
|
-
|
|
28
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
29
|
-
|
|
30
|
-
const props = defineProps<{
|
|
31
|
-
playbackCompression: boolean
|
|
32
|
-
disabled: boolean
|
|
33
|
-
}>()
|
|
34
|
-
const emits = defineEmits<{
|
|
35
|
-
(event: 'update:playback-compression', value: boolean): void
|
|
36
|
-
}>()
|
|
37
|
-
|
|
38
|
-
const playbackCompressionLocal = computed<boolean>({
|
|
39
|
-
get() {
|
|
40
|
-
return props.playbackCompression
|
|
41
|
-
},
|
|
42
|
-
set(newValue) {
|
|
43
|
-
emits('update:playback-compression', newValue)
|
|
44
|
-
},
|
|
45
|
-
})
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
<style scoped>
|
|
49
|
-
#playback-compression {
|
|
50
|
-
margin: 0 4px 4px 0;
|
|
51
|
-
}
|
|
52
|
-
</style>
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.powerControl }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<div class="flex-align-center">
|
|
9
|
-
<input
|
|
10
|
-
id="power-control"
|
|
11
|
-
v-model="powerControlLocal"
|
|
12
|
-
data-id="power-control-checkbox"
|
|
13
|
-
type="checkbox"
|
|
14
|
-
/>
|
|
15
|
-
<label for="power-control" class="label-text-normal">{{
|
|
16
|
-
localization.common.enable
|
|
17
|
-
}}</label>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
</atoms-stack-block>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script setup lang="ts">
|
|
25
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
26
|
-
|
|
27
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
28
|
-
|
|
29
|
-
const props = defineProps<{
|
|
30
|
-
powerControl: boolean
|
|
31
|
-
}>()
|
|
32
|
-
const emits = defineEmits<{
|
|
33
|
-
(event: 'update:power-control', value: boolean): void
|
|
34
|
-
}>()
|
|
35
|
-
|
|
36
|
-
const powerControlLocal = computed<boolean>({
|
|
37
|
-
get() {
|
|
38
|
-
return props.powerControl
|
|
39
|
-
},
|
|
40
|
-
set(newValue) {
|
|
41
|
-
emits('update:power-control', newValue)
|
|
42
|
-
},
|
|
43
|
-
})
|
|
44
|
-
</script>
|
|
45
|
-
|
|
46
|
-
<style scoped>
|
|
47
|
-
#power-control {
|
|
48
|
-
margin: 4px 4px 0 0;
|
|
49
|
-
}
|
|
50
|
-
</style>
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="hardware-remote-console">
|
|
3
|
-
<atoms-stack-block :has-children="true" test-id="remote-console-stack-block">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
<div
|
|
6
|
-
id="vm-wizard-toggle-block-remote-console"
|
|
7
|
-
data-id="vm-wizard-toggle-block-remote-console"
|
|
8
|
-
class="flex-align-center"
|
|
9
|
-
>
|
|
10
|
-
<span>{{ localization.common.remoteConsoleOptions }}</span>
|
|
11
|
-
<atoms-the-icon
|
|
12
|
-
v-show="remoteConsoleOptionsInvalid"
|
|
13
|
-
width="24px"
|
|
14
|
-
height="24px"
|
|
15
|
-
class="is-error tooltip-trigger"
|
|
16
|
-
name="info"
|
|
17
|
-
/>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
<template #stackChildren>
|
|
21
|
-
<!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
|
|
22
|
-
|
|
23
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-type-->
|
|
24
|
-
<!-- v-models:remote-console-type="remoteConsoleType"-->
|
|
25
|
-
<!-- :error-validation-fields="props.errorValidationFields"-->
|
|
26
|
-
<!-- :disabled="isDisabled"-->
|
|
27
|
-
<!-- @input="changeRemoteConsoleType"-->
|
|
28
|
-
<!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
|
|
29
|
-
<!-- />-->
|
|
30
|
-
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-keymap
|
|
31
|
-
v-model:keymap="keymap"
|
|
32
|
-
:disabled="isDisabled"
|
|
33
|
-
/>
|
|
34
|
-
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-password
|
|
35
|
-
v-model:password="password"
|
|
36
|
-
:disabled="isDisabled"
|
|
37
|
-
@valid="passwordIsValid = $event"
|
|
38
|
-
/>
|
|
39
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-power-control-->
|
|
40
|
-
<!-- v-if="remoteConsoleType === 'vnc'"-->
|
|
41
|
-
<!-- v-models:power-control="powerControl"-->
|
|
42
|
-
<!-- />-->
|
|
43
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-share-policy-->
|
|
44
|
-
<!-- v-if="remoteConsoleType === 'vnc'"-->
|
|
45
|
-
<!-- v-models:share-policy="sharePolicy"-->
|
|
46
|
-
<!-- />-->
|
|
47
|
-
<!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
|
|
48
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-img-compression-->
|
|
49
|
-
<!-- v-if="remoteConsoleType === 'spice'"-->
|
|
50
|
-
<!-- v-models:img-compression="imgCompression"-->
|
|
51
|
-
<!-- :error-validation-fields="props.errorValidationFields"-->
|
|
52
|
-
<!-- :disabled="isDisabled"-->
|
|
53
|
-
<!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
|
|
54
|
-
<!-- />-->
|
|
55
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-jpeg-compression-->
|
|
56
|
-
<!-- v-if="remoteConsoleType === 'spice'"-->
|
|
57
|
-
<!-- v-models:jpeg-compression="jpegCompression"-->
|
|
58
|
-
<!-- :error-validation-fields="props.errorValidationFields"-->
|
|
59
|
-
<!-- :disabled="isDisabled"-->
|
|
60
|
-
<!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
|
|
61
|
-
<!-- />-->
|
|
62
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-zlib-compression-->
|
|
63
|
-
<!-- v-if="remoteConsoleType === 'spice'"-->
|
|
64
|
-
<!-- v-models:zlib-compression="zlibCompression"-->
|
|
65
|
-
<!-- :error-validation-fields="props.errorValidationFields"-->
|
|
66
|
-
<!-- :disabled="isDisabled"-->
|
|
67
|
-
<!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
|
|
68
|
-
<!-- />-->
|
|
69
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-playback-compression-->
|
|
70
|
-
<!-- v-if="remoteConsoleType === 'spice'"-->
|
|
71
|
-
<!-- :disabled="isDisabled"-->
|
|
72
|
-
<!-- v-models:playback-compression="playbackCompression"-->
|
|
73
|
-
<!-- />-->
|
|
74
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-streaming-mode-->
|
|
75
|
-
<!-- v-if="remoteConsoleType === 'spice'"-->
|
|
76
|
-
<!-- v-models:streaming-mode="streamingMode"-->
|
|
77
|
-
<!-- :error-validation-fields="props.errorValidationFields"-->
|
|
78
|
-
<!-- :disabled="isDisabled"-->
|
|
79
|
-
<!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
|
|
80
|
-
<!-- />-->
|
|
81
|
-
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-copy-paste
|
|
82
|
-
v-if="remoteConsoleType === 'spice'"
|
|
83
|
-
v-model:copy-paste="copyPaste"
|
|
84
|
-
:disabled="isDisabled"
|
|
85
|
-
/>
|
|
86
|
-
<!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
|
|
87
|
-
<!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-mouse-mode-->
|
|
88
|
-
<!-- v-if="remoteConsoleType === 'spice'"-->
|
|
89
|
-
<!-- v-models:mouse-mode="mouseMode"-->
|
|
90
|
-
<!-- />-->
|
|
91
|
-
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-file-transfer
|
|
92
|
-
v-if="remoteConsoleType === 'spice'"
|
|
93
|
-
v-model:file-transfer="fileTransfer"
|
|
94
|
-
:disabled="isDisabled"
|
|
95
|
-
/>
|
|
96
|
-
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-usb-redirection
|
|
97
|
-
v-if="remoteConsoleType === 'spice'"
|
|
98
|
-
v-model:usb-redirection="usbRedirection"
|
|
99
|
-
:disabled="isDisabled"
|
|
100
|
-
/>
|
|
101
|
-
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing
|
|
102
|
-
v-if="remoteConsoleType === 'spice'"
|
|
103
|
-
v-model:folder-sharing="folderSharing"
|
|
104
|
-
:disabled="isDisabled"
|
|
105
|
-
/>
|
|
106
|
-
</template>
|
|
107
|
-
</atoms-stack-block>
|
|
108
|
-
</div>
|
|
109
|
-
</template>
|
|
110
|
-
|
|
111
|
-
<script setup lang="ts">
|
|
112
|
-
import type { UI_I_SendDataRemoteConsoleOptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
|
|
113
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
114
|
-
// import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
115
|
-
|
|
116
|
-
const props = defineProps<{
|
|
117
|
-
remoteConsoleOptions?: UI_I_SendDataRemoteConsoleOptions
|
|
118
|
-
// TODO возможно вернем, НЕ УДАЛЯТЬ
|
|
119
|
-
// errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
120
|
-
isEdit: boolean
|
|
121
|
-
state?: string | number
|
|
122
|
-
}>()
|
|
123
|
-
const emits = defineEmits<{
|
|
124
|
-
(event: 'send-data', value: UI_I_SendDataRemoteConsoleOptions): void
|
|
125
|
-
(event: 'invalid', value: boolean): void
|
|
126
|
-
// TODO возможно вернем, НЕ УДАЛЯТЬ
|
|
127
|
-
// (event: 'remove-error-by-title', value: string): void
|
|
128
|
-
}>()
|
|
129
|
-
|
|
130
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
131
|
-
|
|
132
|
-
const isDisabled = computed<boolean>(() => props.isEdit && props.state !== 1)
|
|
133
|
-
|
|
134
|
-
const remoteConsoleType = ref<string>('spice')
|
|
135
|
-
// TODO возможно вернем, НЕ УДАЛЯТЬ
|
|
136
|
-
// const changeRemoteConsoleType = (): void => {
|
|
137
|
-
// // powerControl.value = false
|
|
138
|
-
// // sharePolicy.value = 'allow-exclusive'
|
|
139
|
-
// imgCompression.value = 'auto_glz'
|
|
140
|
-
// jpegCompression.value = 'auto'
|
|
141
|
-
// zlibCompression.value = 'auto'
|
|
142
|
-
// playbackCompression.value = true
|
|
143
|
-
// streamingMode.value = 'all'
|
|
144
|
-
// copyPaste.value = true
|
|
145
|
-
// mouseMode.value = 'client'
|
|
146
|
-
// fileTransfer.value = true
|
|
147
|
-
// usbRedirection.value = 3
|
|
148
|
-
// folderSharing.value = true
|
|
149
|
-
// }
|
|
150
|
-
|
|
151
|
-
const keymap = ref<string>('en_US')
|
|
152
|
-
|
|
153
|
-
const password = ref<string>('')
|
|
154
|
-
const passwordIsValid = ref<boolean>(true)
|
|
155
|
-
|
|
156
|
-
// const powerControl = ref<boolean>(false)
|
|
157
|
-
|
|
158
|
-
// const sharePolicy = ref<string>('allow-exclusive')
|
|
159
|
-
|
|
160
|
-
const imgCompression = ref<string>('auto_glz')
|
|
161
|
-
|
|
162
|
-
const jpegCompression = ref<string>('auto')
|
|
163
|
-
|
|
164
|
-
const zlibCompression = ref<string>('auto')
|
|
165
|
-
|
|
166
|
-
const playbackCompression = ref<boolean>(true)
|
|
167
|
-
|
|
168
|
-
const streamingMode = ref<string>('all')
|
|
169
|
-
|
|
170
|
-
const copyPaste = ref<boolean>(true)
|
|
171
|
-
|
|
172
|
-
const mouseMode = ref<string>('client')
|
|
173
|
-
|
|
174
|
-
const fileTransfer = ref<boolean>(true)
|
|
175
|
-
|
|
176
|
-
const usbRedirection = ref<number>(3)
|
|
177
|
-
|
|
178
|
-
const folderSharing = ref<boolean>(true)
|
|
179
|
-
|
|
180
|
-
watch(
|
|
181
|
-
[
|
|
182
|
-
remoteConsoleType,
|
|
183
|
-
keymap,
|
|
184
|
-
password,
|
|
185
|
-
// powerControl,
|
|
186
|
-
// sharePolicy,
|
|
187
|
-
imgCompression,
|
|
188
|
-
jpegCompression,
|
|
189
|
-
zlibCompression,
|
|
190
|
-
playbackCompression,
|
|
191
|
-
streamingMode,
|
|
192
|
-
copyPaste,
|
|
193
|
-
mouseMode,
|
|
194
|
-
fileTransfer,
|
|
195
|
-
usbRedirection,
|
|
196
|
-
folderSharing,
|
|
197
|
-
],
|
|
198
|
-
() => {
|
|
199
|
-
emits('send-data', {
|
|
200
|
-
type: remoteConsoleType.value,
|
|
201
|
-
port: 0,
|
|
202
|
-
keymap: keymap.value,
|
|
203
|
-
password: password.value,
|
|
204
|
-
guest_os_lock: false,
|
|
205
|
-
limit_sessions: 0,
|
|
206
|
-
spice: {
|
|
207
|
-
img_compression: imgCompression.value,
|
|
208
|
-
jpeg_compression: jpegCompression.value,
|
|
209
|
-
zlib_glz_compression: zlibCompression.value,
|
|
210
|
-
streaming_mode: streamingMode.value,
|
|
211
|
-
playback_compression: playbackCompression.value,
|
|
212
|
-
file_transfer: fileTransfer.value,
|
|
213
|
-
clipboard: copyPaste.value,
|
|
214
|
-
},
|
|
215
|
-
})
|
|
216
|
-
},
|
|
217
|
-
{ immediate: true }
|
|
218
|
-
)
|
|
219
|
-
|
|
220
|
-
// Добавляем данные для редактирования
|
|
221
|
-
watch(
|
|
222
|
-
() => props.remoteConsoleOptions,
|
|
223
|
-
(newValue) => {
|
|
224
|
-
if (!newValue || !props.remoteConsoleOptions) return
|
|
225
|
-
|
|
226
|
-
remoteConsoleType.value = props.remoteConsoleOptions.type
|
|
227
|
-
keymap.value = props.remoteConsoleOptions.keymap
|
|
228
|
-
password.value = props.remoteConsoleOptions.password
|
|
229
|
-
imgCompression.value = props.remoteConsoleOptions.spice.img_compression
|
|
230
|
-
jpegCompression.value = props.remoteConsoleOptions.spice.jpeg_compression
|
|
231
|
-
zlibCompression.value =
|
|
232
|
-
props.remoteConsoleOptions.spice.zlib_glz_compression
|
|
233
|
-
streamingMode.value = props.remoteConsoleOptions.spice.streaming_mode
|
|
234
|
-
playbackCompression.value =
|
|
235
|
-
props.remoteConsoleOptions.spice.playback_compression
|
|
236
|
-
fileTransfer.value = props.remoteConsoleOptions.spice.file_transfer
|
|
237
|
-
copyPaste.value = props.remoteConsoleOptions.spice.clipboard
|
|
238
|
-
},
|
|
239
|
-
{ immediate: true }
|
|
240
|
-
)
|
|
241
|
-
|
|
242
|
-
const remoteConsoleOptionsInvalid = computed<boolean>(
|
|
243
|
-
() => !passwordIsValid.value
|
|
244
|
-
)
|
|
245
|
-
watch(
|
|
246
|
-
remoteConsoleOptionsInvalid,
|
|
247
|
-
(newValue) => {
|
|
248
|
-
emits('invalid', newValue)
|
|
249
|
-
},
|
|
250
|
-
{ immediate: true }
|
|
251
|
-
)
|
|
252
|
-
</script>
|
|
253
|
-
|
|
254
|
-
<style scoped lang="scss"></style>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.imgCompression }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<atoms-tooltip-error
|
|
9
|
-
:has-error="!!apiError"
|
|
10
|
-
selector="#vm-wizard-img-compression-field"
|
|
11
|
-
@remove="onRemoveValidationError"
|
|
12
|
-
>
|
|
13
|
-
<template #elem>
|
|
14
|
-
<div class="select">
|
|
15
|
-
<select
|
|
16
|
-
id="vm-wizard-img-compression-field"
|
|
17
|
-
v-model="imgCompressionLocal"
|
|
18
|
-
data-id="vm-wizard-img-compression-select"
|
|
19
|
-
:disabled="props.disabled"
|
|
20
|
-
>
|
|
21
|
-
<option
|
|
22
|
-
v-for="(item, key) in imgCompressionOptions"
|
|
23
|
-
:key="key"
|
|
24
|
-
:value="item.value"
|
|
25
|
-
>
|
|
26
|
-
{{ item.text }}
|
|
27
|
-
</option>
|
|
28
|
-
</select>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
<template #content>
|
|
32
|
-
{{ apiError }}
|
|
33
|
-
</template>
|
|
34
|
-
</atoms-tooltip-error>
|
|
35
|
-
</template>
|
|
36
|
-
</atoms-stack-block>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script setup lang="ts">
|
|
41
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
42
|
-
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
43
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
44
|
-
import { imgCompressionOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config'
|
|
45
|
-
|
|
46
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
47
|
-
|
|
48
|
-
const props = defineProps<{
|
|
49
|
-
imgCompression: string
|
|
50
|
-
errorValidationFields: UI_I_ErrorValidationField[]
|
|
51
|
-
disabled: boolean
|
|
52
|
-
}>()
|
|
53
|
-
const emits = defineEmits<{
|
|
54
|
-
(event: 'update:img-compression', value: string): void
|
|
55
|
-
(event: 'remove-error-by-title', value: string): void
|
|
56
|
-
}>()
|
|
57
|
-
|
|
58
|
-
const imgCompressionOptions = ref<UI_I_OptionItem[]>(
|
|
59
|
-
imgCompressionOptionsFunc(localization.value)
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
const imgCompressionLocal = computed<string>({
|
|
63
|
-
get() {
|
|
64
|
-
return props.imgCompression
|
|
65
|
-
},
|
|
66
|
-
set(newValue) {
|
|
67
|
-
emits('update:img-compression', newValue)
|
|
68
|
-
},
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
const typeError = 'options.remote_console.spice.img_compression'
|
|
72
|
-
|
|
73
|
-
const apiError = computed<string>(() => {
|
|
74
|
-
return (
|
|
75
|
-
props.errorValidationFields?.find((message) => message.field === typeError)
|
|
76
|
-
?.error_message || ''
|
|
77
|
-
)
|
|
78
|
-
})
|
|
79
|
-
|
|
80
|
-
const onRemoveValidationError = (): void => {
|
|
81
|
-
emits('remove-error-by-title', typeError)
|
|
82
|
-
}
|
|
83
|
-
</script>
|
|
84
|
-
|
|
85
|
-
<style scoped></style>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
-
|
|
4
|
-
export const imgCompressionOptionsFunc = (
|
|
5
|
-
localization: UI_I_Localization
|
|
6
|
-
): UI_I_OptionItem[] => {
|
|
7
|
-
return [
|
|
8
|
-
{ text: `${localization.common.auto} Glz`, value: 'auto_glz' },
|
|
9
|
-
{ text: 'Glz', value: 'glz' },
|
|
10
|
-
{ text: 'Lz', value: 'lz' },
|
|
11
|
-
{ text: 'Quic', value: 'quic' },
|
|
12
|
-
{ text: localization.common.off, value: 'off' },
|
|
13
|
-
]
|
|
14
|
-
}
|