bfg-common 1.4.397 → 1.4.399
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 +1 -1
- package/components/common/vm/actions/editSettings/EditSettingsNew.vue +1 -1
- 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
|
@@ -1,28 +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 limitIopsTypeOptionsFunc = (
|
|
5
|
-
localization: UI_I_Localization
|
|
6
|
-
): UI_I_OptionItem[] => {
|
|
7
|
-
return [
|
|
8
|
-
{ text: localization.common.unlimited, value: 'unlimited' },
|
|
9
|
-
{ text: localization.common.custom, value: 'custom' },
|
|
10
|
-
]
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const limitIopsOptionsFunc = (
|
|
14
|
-
localization: UI_I_Localization,
|
|
15
|
-
minLimitIops: number,
|
|
16
|
-
maxLimitIops: number
|
|
17
|
-
): UI_I_OptionItem[] => {
|
|
18
|
-
return [
|
|
19
|
-
{
|
|
20
|
-
text: `${localization.common.minimum}: ${minLimitIops}`,
|
|
21
|
-
value: minLimitIops,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
text: `${localization.common.maximum}: ${maxLimitIops}`,
|
|
25
|
-
value: maxLimitIops,
|
|
26
|
-
},
|
|
27
|
-
]
|
|
28
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.location }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<atoms-tooltip-error
|
|
9
|
-
:has-error="!!apiError"
|
|
10
|
-
:selector="`.vm-wizard-disk-device-target-field-${props.index}`"
|
|
11
|
-
@remove="onRemoveValidationError"
|
|
12
|
-
>
|
|
13
|
-
<template #elem>
|
|
14
|
-
<div class="select">
|
|
15
|
-
<select
|
|
16
|
-
:id="`vm-wizard-disk-device-target-field-${props.index}`"
|
|
17
|
-
v-model="selectedLocation"
|
|
18
|
-
:data-id="`vm-wizard-disk-device-target-field-${props.index}`"
|
|
19
|
-
:class="`vm-wizard-disk-device-target-field-${props.index}`"
|
|
20
|
-
@change="changeLocation"
|
|
21
|
-
>
|
|
22
|
-
<option
|
|
23
|
-
v-for="(item, key) in locationOptions"
|
|
24
|
-
:key="key"
|
|
25
|
-
:value="item.value"
|
|
26
|
-
>
|
|
27
|
-
{{ item.text }}
|
|
28
|
-
</option>
|
|
29
|
-
</select>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
<template #content>{{ apiError }}</template>
|
|
33
|
-
</atoms-tooltip-error>
|
|
34
|
-
</template>
|
|
35
|
-
</atoms-stack-block>
|
|
36
|
-
|
|
37
|
-
<Teleport to="body">
|
|
38
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal-new
|
|
39
|
-
v-if="isNewView"
|
|
40
|
-
:storage-modal-is-show="storageModalIsShow"
|
|
41
|
-
:datastore="props.datastore"
|
|
42
|
-
@change-storage="onChangeStorage"
|
|
43
|
-
@hide="onHideStorageModal"
|
|
44
|
-
@submit="onSubmitStorageModal"
|
|
45
|
-
/>
|
|
46
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal-old
|
|
47
|
-
v-else
|
|
48
|
-
:storage-modal-is-show="storageModalIsShow"
|
|
49
|
-
:storage-submit="storageSubmit"
|
|
50
|
-
:datastore="props.datastore"
|
|
51
|
-
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
52
|
-
@change-storage="onChangeStorage"
|
|
53
|
-
@hide="onHideStorageModal"
|
|
54
|
-
@submit="onSubmitStorageModal"
|
|
55
|
-
/>
|
|
56
|
-
</Teleport>
|
|
57
|
-
</div>
|
|
58
|
-
</template>
|
|
59
|
-
|
|
60
|
-
<script setup lang="ts">
|
|
61
|
-
import type {
|
|
62
|
-
UI_I_HTMLSelectElement,
|
|
63
|
-
UI_I_Localization,
|
|
64
|
-
} from '~/lib/models/interfaces'
|
|
65
|
-
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
66
|
-
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
67
|
-
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
68
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
69
|
-
|
|
70
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
71
|
-
|
|
72
|
-
const props = defineProps<{
|
|
73
|
-
location: UI_I_DatastoreTableItem | null
|
|
74
|
-
index: number
|
|
75
|
-
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
76
|
-
datastore: UI_I_DatastoreTableItem[]
|
|
77
|
-
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
78
|
-
}>()
|
|
79
|
-
const emits = defineEmits<{
|
|
80
|
-
(event: 'change', value: UI_I_DatastoreTableItem): void
|
|
81
|
-
(event: 'remove-error-by-title', value: string): void
|
|
82
|
-
}>()
|
|
83
|
-
|
|
84
|
-
const { $store }: any = useNuxtApp()
|
|
85
|
-
|
|
86
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
87
|
-
|
|
88
|
-
const selectedLocation = ref<string>(props.location?.id || '')
|
|
89
|
-
|
|
90
|
-
const storages = ref<UI_I_DatastoreTableItem[]>([])
|
|
91
|
-
const addStorage = (storage: UI_I_DatastoreTableItem): void => {
|
|
92
|
-
const hasStorage = storages.value.some((item) => item.id === storage.id)
|
|
93
|
-
if (hasStorage) {
|
|
94
|
-
return
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
storages.value.push(storage)
|
|
98
|
-
}
|
|
99
|
-
const locationOptions = ref<UI_I_OptionItem[]>([])
|
|
100
|
-
|
|
101
|
-
watch(
|
|
102
|
-
() => props.location,
|
|
103
|
-
(newValue) => {
|
|
104
|
-
if (locationOptions.value.length || !newValue) {
|
|
105
|
-
return
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
locationOptions.value = [
|
|
109
|
-
{
|
|
110
|
-
text: localization.value.common.storeWithVirtualMachine,
|
|
111
|
-
value: newValue.id,
|
|
112
|
-
},
|
|
113
|
-
{ text: `${localization.value.common.browse}...`, value: -1 },
|
|
114
|
-
]
|
|
115
|
-
selectedLocation.value = newValue.id
|
|
116
|
-
storages.value.push(newValue)
|
|
117
|
-
addStorage(newValue)
|
|
118
|
-
},
|
|
119
|
-
{ immediate: true }
|
|
120
|
-
)
|
|
121
|
-
|
|
122
|
-
const storageSubmit = ref<number>(0)
|
|
123
|
-
const onSubmitStorageModal = (): void => {
|
|
124
|
-
storageSubmit.value++
|
|
125
|
-
}
|
|
126
|
-
const storageModalIsShow = ref<boolean>(false)
|
|
127
|
-
const onHideStorageModal = (): void => {
|
|
128
|
-
storageModalIsShow.value = false
|
|
129
|
-
}
|
|
130
|
-
const onChangeStorage = (storage: UI_I_DatastoreTableItem): void => {
|
|
131
|
-
locationOptions.value = [
|
|
132
|
-
locationOptions.value[0],
|
|
133
|
-
{ text: storage.name, value: storage.id },
|
|
134
|
-
// @ts-ignore
|
|
135
|
-
locationOptions.value.at(-1),
|
|
136
|
-
]
|
|
137
|
-
|
|
138
|
-
selectedLocation.value = storage.id
|
|
139
|
-
emits('change', storage)
|
|
140
|
-
addStorage(storage)
|
|
141
|
-
onHideStorageModal()
|
|
142
|
-
}
|
|
143
|
-
const changeLocation = (event: UI_I_HTMLSelectElement): void => {
|
|
144
|
-
const value = +event.target.value
|
|
145
|
-
if (value === -1) {
|
|
146
|
-
storageModalIsShow.value = true
|
|
147
|
-
return
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
selectedLocation.value = event.target.value
|
|
151
|
-
const storage = storages.value.find((item) => item.id === event.target.value)
|
|
152
|
-
storage && emits('change', storage)
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
const typeError = computed<string>(
|
|
156
|
-
() => `disk_devices[${props.index}].location`
|
|
157
|
-
)
|
|
158
|
-
|
|
159
|
-
const apiError = computed<string>(() => {
|
|
160
|
-
return (
|
|
161
|
-
props.errorValidationFields?.find(
|
|
162
|
-
(message) => message.field === typeError.value
|
|
163
|
-
)?.error_message || ''
|
|
164
|
-
)
|
|
165
|
-
})
|
|
166
|
-
|
|
167
|
-
const onRemoveValidationError = (): void => {
|
|
168
|
-
emits('remove-error-by-title', typeError.value)
|
|
169
|
-
}
|
|
170
|
-
</script>
|
|
171
|
-
|
|
172
|
-
<style scoped lang="scss"></style>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<atoms-modal
|
|
3
|
-
class="storage-modal-old"
|
|
4
|
-
:show="props.storageModalIsShow"
|
|
5
|
-
:title="localization.common.selectStorage"
|
|
6
|
-
@submit="emits('submit')"
|
|
7
|
-
@hide="emits('hide')"
|
|
8
|
-
>
|
|
9
|
-
<template #modalBody>
|
|
10
|
-
<span>{{
|
|
11
|
-
localization.common
|
|
12
|
-
.followingDatastoresAccessibleDestinationResourceThatSelected
|
|
13
|
-
}}</span>
|
|
14
|
-
<common-vm-actions-common-select-storage
|
|
15
|
-
:storage-submit="props.storageSubmit"
|
|
16
|
-
:datastore="props.datastore"
|
|
17
|
-
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
18
|
-
hide-compatibility
|
|
19
|
-
@submit="emits('change-storage', $event)"
|
|
20
|
-
/>
|
|
21
|
-
</template>
|
|
22
|
-
</atoms-modal>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
27
|
-
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
28
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
29
|
-
|
|
30
|
-
const props = defineProps<{
|
|
31
|
-
storageModalIsShow: boolean
|
|
32
|
-
storageSubmit: number
|
|
33
|
-
datastore: UI_I_DatastoreTableItem[]
|
|
34
|
-
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
35
|
-
}>()
|
|
36
|
-
|
|
37
|
-
const emits = defineEmits<{
|
|
38
|
-
(event: 'change-storage', value: UI_I_DatastoreTableItem): void
|
|
39
|
-
(event: 'submit'): void
|
|
40
|
-
(event: 'hide'): void
|
|
41
|
-
}>()
|
|
42
|
-
|
|
43
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
-
</script>
|
|
45
|
-
|
|
46
|
-
<style scoped lang="scss">
|
|
47
|
-
.storage-modal-old {
|
|
48
|
-
:deep(.modal-dialog) {
|
|
49
|
-
width: 864px;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
</style>
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ui-modal
|
|
3
|
-
v-if="props.storageModalIsShow"
|
|
4
|
-
show
|
|
5
|
-
:title="localization.common.selectStorage"
|
|
6
|
-
:texts="texts"
|
|
7
|
-
test-id="storage-modal-new"
|
|
8
|
-
size="md"
|
|
9
|
-
@hide="emits('hide')"
|
|
10
|
-
@submit="onSubmit"
|
|
11
|
-
>
|
|
12
|
-
<template #content>
|
|
13
|
-
<div class="select-storage-modal-container">
|
|
14
|
-
<span class="description-text">{{
|
|
15
|
-
localization.common
|
|
16
|
-
.followingDatastoresAccessibleDestinationResourceThatSelected
|
|
17
|
-
}}</span>
|
|
18
|
-
<ui-data-table
|
|
19
|
-
test-id="select-storage-data-table"
|
|
20
|
-
:data="data"
|
|
21
|
-
:options="tableOptions"
|
|
22
|
-
:loading="loading"
|
|
23
|
-
server-off
|
|
24
|
-
:default-layout="false"
|
|
25
|
-
@select-row="onSelectRow"
|
|
26
|
-
/>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
<template #footerLeftContent>
|
|
30
|
-
<span></span>
|
|
31
|
-
</template>
|
|
32
|
-
</ui-modal>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<script setup lang="ts">
|
|
36
|
-
import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
|
|
37
|
-
import type { UI_I_DataTable } from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
|
|
38
|
-
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
39
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
40
|
-
import { datastoreLocalizationByState } from '~/components/common/lib/config/states'
|
|
41
|
-
import {
|
|
42
|
-
tableDataFunc,
|
|
43
|
-
tableOptions,
|
|
44
|
-
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/storageModalNew/lib/config/table'
|
|
45
|
-
|
|
46
|
-
const props = defineProps<{
|
|
47
|
-
storageModalIsShow: boolean
|
|
48
|
-
// storageSubmit: number
|
|
49
|
-
datastore: UI_I_DatastoreTableItem[]
|
|
50
|
-
// getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
51
|
-
}>()
|
|
52
|
-
|
|
53
|
-
const emits = defineEmits<{
|
|
54
|
-
(event: 'change-storage', value: UI_I_DatastoreTableItem): void
|
|
55
|
-
(event: 'submit'): void
|
|
56
|
-
(event: 'hide'): void
|
|
57
|
-
}>()
|
|
58
|
-
|
|
59
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
60
|
-
|
|
61
|
-
const texts = ref<UI_I_ModalTexts>({
|
|
62
|
-
button2: localization.value.common.select,
|
|
63
|
-
})
|
|
64
|
-
|
|
65
|
-
const loading = ref<boolean>(true)
|
|
66
|
-
|
|
67
|
-
const data = ref<UI_I_DataTable>(tableDataFunc(localization.value))
|
|
68
|
-
|
|
69
|
-
watch(
|
|
70
|
-
() => props.datastore,
|
|
71
|
-
(newValue) => {
|
|
72
|
-
if (!newValue.length || data.value.body.length) return
|
|
73
|
-
|
|
74
|
-
const { $binary } = useNuxtApp()
|
|
75
|
-
|
|
76
|
-
newValue.forEach((item, key) => {
|
|
77
|
-
const state =
|
|
78
|
-
localization.value.inventorySummary[
|
|
79
|
-
datastoreLocalizationByState[item.state]
|
|
80
|
-
]
|
|
81
|
-
data.value.body.push({
|
|
82
|
-
row: key,
|
|
83
|
-
collapse: false,
|
|
84
|
-
isHiddenCollapse: false,
|
|
85
|
-
collapseToggle: false,
|
|
86
|
-
data: [
|
|
87
|
-
{
|
|
88
|
-
key: item.id,
|
|
89
|
-
col: 0,
|
|
90
|
-
text: item.name,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
col: 1,
|
|
94
|
-
text: state,
|
|
95
|
-
},
|
|
96
|
-
{ col: 2, text: $binary.round(item.capacity.capacity_mb) },
|
|
97
|
-
{
|
|
98
|
-
col: 3,
|
|
99
|
-
text: $binary.round(item.capacity.provisioned_mb.toString()),
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
col: 4,
|
|
103
|
-
text: $binary.round(item.capacity.free_mb.toString()),
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
col: 5,
|
|
107
|
-
text: $binary.round(item.capacity.used_mb.toString()),
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
col: 6,
|
|
111
|
-
text: item.type_text,
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
col: 7,
|
|
115
|
-
text: item.thin_provisioning
|
|
116
|
-
? localization.value.common.yes
|
|
117
|
-
: localization.value.common.no,
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
col: 8,
|
|
121
|
-
text: item.access_mode,
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
col: 9,
|
|
125
|
-
text: item.hardware_acceleration,
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
col: 10,
|
|
129
|
-
text: item.drive_type,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
col: 11,
|
|
133
|
-
text: item.device,
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
col: 12,
|
|
137
|
-
text: item.storage_io_control,
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
})
|
|
141
|
-
})
|
|
142
|
-
loading.value = false
|
|
143
|
-
},
|
|
144
|
-
{ immediate: true, deep: true }
|
|
145
|
-
)
|
|
146
|
-
|
|
147
|
-
const onSelectRow = (selectedData: UI_I_DataTable): void => {
|
|
148
|
-
const selectedId = selectedData[0]?.data[0]?.key
|
|
149
|
-
const selectedItem = props.datastore.find((item) => (item.id = selectedId))
|
|
150
|
-
|
|
151
|
-
selectedItem && emits('change-storage', selectedItem)
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
const onSubmit = (): void => {
|
|
155
|
-
emits('submit')
|
|
156
|
-
emits('hide')
|
|
157
|
-
}
|
|
158
|
-
</script>
|
|
159
|
-
|
|
160
|
-
<style scoped lang="scss">
|
|
161
|
-
.select-storage-modal-container {
|
|
162
|
-
display: flex;
|
|
163
|
-
flex-direction: column;
|
|
164
|
-
grid-gap: 12px;
|
|
165
|
-
padding-left: 32px;
|
|
166
|
-
padding-bottom: 5px;
|
|
167
|
-
|
|
168
|
-
.description-text {
|
|
169
|
-
font-size: 12px;
|
|
170
|
-
font-weight: 400;
|
|
171
|
-
line-height: 14.52px;
|
|
172
|
-
color: #9da6ad;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
</style>
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import type { UI_I_DataTable } from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
|
|
2
|
-
import type { UI_I_DataTableOptions } from '~/node_modules/bfg-uikit/components/ui/dataTable/models/interfaces'
|
|
3
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
4
|
-
|
|
5
|
-
export const tableDataFunc = (
|
|
6
|
-
localization: UI_I_Localization
|
|
7
|
-
): UI_I_DataTable => ({
|
|
8
|
-
id: '0',
|
|
9
|
-
header: [
|
|
10
|
-
{
|
|
11
|
-
col: 0,
|
|
12
|
-
colName: localization.common.name,
|
|
13
|
-
text: localization.common.name,
|
|
14
|
-
isSortable: true,
|
|
15
|
-
sort: 'asc',
|
|
16
|
-
sortColumn: true,
|
|
17
|
-
width: '30%',
|
|
18
|
-
show: true,
|
|
19
|
-
filter: true,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
col: 1,
|
|
23
|
-
colName: localization.inventorySummary.state,
|
|
24
|
-
text: localization.inventorySummary.state,
|
|
25
|
-
isSortable: false,
|
|
26
|
-
sort: 'asc',
|
|
27
|
-
sortColumn: true,
|
|
28
|
-
width: '30%',
|
|
29
|
-
show: true,
|
|
30
|
-
filter: true,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
col: 2,
|
|
34
|
-
colName: localization.common.capacity,
|
|
35
|
-
text: localization.common.capacity,
|
|
36
|
-
isSortable: false,
|
|
37
|
-
sort: 'asc',
|
|
38
|
-
sortColumn: true,
|
|
39
|
-
width: '30%',
|
|
40
|
-
show: true,
|
|
41
|
-
filter: true,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
col: 3,
|
|
45
|
-
colName: localization.common.provisioned,
|
|
46
|
-
text: localization.common.provisioned,
|
|
47
|
-
isSortable: false,
|
|
48
|
-
sort: 'asc',
|
|
49
|
-
sortColumn: true,
|
|
50
|
-
width: '30%',
|
|
51
|
-
show: true,
|
|
52
|
-
filter: true,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
col: 4,
|
|
56
|
-
colName: localization.common.free,
|
|
57
|
-
text: localization.common.free,
|
|
58
|
-
isSortable: false,
|
|
59
|
-
sort: 'asc',
|
|
60
|
-
sortColumn: true,
|
|
61
|
-
width: '30%',
|
|
62
|
-
show: true,
|
|
63
|
-
filter: true,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
col: 5,
|
|
67
|
-
colName: localization.common.used,
|
|
68
|
-
text: localization.common.used,
|
|
69
|
-
isSortable: false,
|
|
70
|
-
sort: 'asc',
|
|
71
|
-
sortColumn: true,
|
|
72
|
-
width: '30%',
|
|
73
|
-
show: true,
|
|
74
|
-
filter: true,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
col: 6,
|
|
78
|
-
colName: localization.common.type,
|
|
79
|
-
text: localization.common.type,
|
|
80
|
-
isSortable: false,
|
|
81
|
-
sort: 'asc',
|
|
82
|
-
sortColumn: true,
|
|
83
|
-
width: '30%',
|
|
84
|
-
show: true,
|
|
85
|
-
filter: true,
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
col: 7,
|
|
89
|
-
colName: localization.common.thinProvisioning,
|
|
90
|
-
text: localization.common.thinProvisioning,
|
|
91
|
-
isSortable: false,
|
|
92
|
-
sort: 'asc',
|
|
93
|
-
sortColumn: true,
|
|
94
|
-
width: '30%',
|
|
95
|
-
show: true,
|
|
96
|
-
filter: true,
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
col: 8,
|
|
100
|
-
colName: localization.common.access,
|
|
101
|
-
text: localization.common.access,
|
|
102
|
-
isSortable: false,
|
|
103
|
-
sort: 'asc',
|
|
104
|
-
sortColumn: true,
|
|
105
|
-
width: '30%',
|
|
106
|
-
show: true,
|
|
107
|
-
filter: true,
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
col: 9,
|
|
111
|
-
colName: localization.common.hardwareAcceleration,
|
|
112
|
-
text: localization.common.hardwareAcceleration,
|
|
113
|
-
isSortable: false,
|
|
114
|
-
sort: 'asc',
|
|
115
|
-
sortColumn: true,
|
|
116
|
-
width: '30%',
|
|
117
|
-
show: true,
|
|
118
|
-
filter: true,
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
col: 10,
|
|
122
|
-
colName: localization.common.driverType,
|
|
123
|
-
text: localization.common.driverType,
|
|
124
|
-
isSortable: false,
|
|
125
|
-
sort: 'asc',
|
|
126
|
-
sortColumn: true,
|
|
127
|
-
width: '30%',
|
|
128
|
-
show: true,
|
|
129
|
-
filter: true,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
col: 11,
|
|
133
|
-
colName: localization.common.device,
|
|
134
|
-
text: localization.common.device,
|
|
135
|
-
isSortable: false,
|
|
136
|
-
sort: 'asc',
|
|
137
|
-
sortColumn: true,
|
|
138
|
-
width: '30%',
|
|
139
|
-
show: true,
|
|
140
|
-
filter: true,
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
col: 12,
|
|
144
|
-
colName: localization.common.storageIoControl,
|
|
145
|
-
text: localization.common.storageIoControl,
|
|
146
|
-
isSortable: false,
|
|
147
|
-
sort: 'asc',
|
|
148
|
-
sortColumn: true,
|
|
149
|
-
width: '30%',
|
|
150
|
-
show: true,
|
|
151
|
-
filter: true,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
|
|
155
|
-
body: [],
|
|
156
|
-
})
|
|
157
|
-
|
|
158
|
-
export const tableOptions: UI_I_DataTableOptions = {
|
|
159
|
-
isSelectable: true,
|
|
160
|
-
selectType: 'radio',
|
|
161
|
-
showPagination: true,
|
|
162
|
-
showPageInfo: false,
|
|
163
|
-
isSortable: true,
|
|
164
|
-
server: false,
|
|
165
|
-
isResizable: true,
|
|
166
|
-
showColumnManager: true,
|
|
167
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="">
|
|
3
|
-
<atoms-stack-block :has-children="false">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
{{ localization.common.diskMode }}
|
|
6
|
-
</template>
|
|
7
|
-
<template #stackBlockContent>
|
|
8
|
-
<atoms-tooltip-error
|
|
9
|
-
:has-error="!!apiError"
|
|
10
|
-
:selector="`.vm-wizard-disk-device-mode-field-${props.index}`"
|
|
11
|
-
@remove="onRemoveValidationError"
|
|
12
|
-
>
|
|
13
|
-
<template #elem>
|
|
14
|
-
<div class="select">
|
|
15
|
-
<select
|
|
16
|
-
:id="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
17
|
-
v-model="diskModeLocal"
|
|
18
|
-
:data-id="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
19
|
-
:class="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
20
|
-
:disabled="props.disabled"
|
|
21
|
-
>
|
|
22
|
-
<option
|
|
23
|
-
v-for="item in diskModeOptions"
|
|
24
|
-
:key="item.value"
|
|
25
|
-
:value="item.value"
|
|
26
|
-
>
|
|
27
|
-
{{ item.text }}
|
|
28
|
-
</option>
|
|
29
|
-
</select>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
<template #content>{{ apiError }}</template>
|
|
33
|
-
</atoms-tooltip-error>
|
|
34
|
-
</template>
|
|
35
|
-
</atoms-stack-block>
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<script setup lang="ts">
|
|
40
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
|
-
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
42
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
|
-
import { diskModeOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options'
|
|
44
|
-
|
|
45
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
46
|
-
|
|
47
|
-
const props = defineProps<{
|
|
48
|
-
diskMode: string
|
|
49
|
-
index: number
|
|
50
|
-
disabled: boolean
|
|
51
|
-
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
52
|
-
}>()
|
|
53
|
-
const emits = defineEmits<{
|
|
54
|
-
(event: 'update:disk-mode', value: string): void
|
|
55
|
-
(event: 'remove-error-by-title', value: string): void
|
|
56
|
-
}>()
|
|
57
|
-
|
|
58
|
-
const diskModeOptions = ref<UI_I_OptionItem[]>(
|
|
59
|
-
diskModeOptionsFunc(localization.value)
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
const diskModeLocal = computed<string>({
|
|
63
|
-
get() {
|
|
64
|
-
return props.diskMode
|
|
65
|
-
},
|
|
66
|
-
set(newValue) {
|
|
67
|
-
emits('update:disk-mode', newValue)
|
|
68
|
-
},
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
const typeError = computed<string>(
|
|
72
|
-
() => `disk_devices[${props.index}].disk_mode`
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
const apiError = computed<string>(() => {
|
|
76
|
-
return (
|
|
77
|
-
props.errorValidationFields?.find(
|
|
78
|
-
(message) => message.field === typeError.value
|
|
79
|
-
)?.error_message || ''
|
|
80
|
-
)
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
const onRemoveValidationError = (): void => {
|
|
84
|
-
emits('remove-error-by-title', typeError.value)
|
|
85
|
-
}
|
|
86
|
-
</script>
|
|
87
|
-
|
|
88
|
-
<style scoped></style>
|
|
@@ -1,18 +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 diskModeOptionsFunc = (
|
|
5
|
-
localization: UI_I_Localization
|
|
6
|
-
): UI_I_OptionItem[] => {
|
|
7
|
-
return [
|
|
8
|
-
{ text: localization.common.dependent, value: 'dependent' },
|
|
9
|
-
{
|
|
10
|
-
text: localization.common.independentPersistent,
|
|
11
|
-
value: 'independent_persistent',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
text: localization.common.independentNonPersistent,
|
|
15
|
-
value: 'independent_nonpersistent',
|
|
16
|
-
},
|
|
17
|
-
]
|
|
18
|
-
}
|