bfg-common 1.5.442 → 1.5.443
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/localization/local_be.json +9 -3
- package/assets/localization/local_en.json +17 -11
- package/assets/localization/local_hy.json +9 -3
- package/assets/localization/local_kk.json +9 -3
- package/assets/localization/local_ru.json +9 -3
- package/assets/localization/local_zh.json +9 -3
- package/components/atoms/wizard/Wizard.vue +2 -2
- package/components/atoms/wizard/step/Step.vue +1 -1
- package/components/common/backup/storage/actions/add/Add.vue +5 -5
- package/components/common/backup/storage/actions/add/Old.vue +1 -1
- package/components/common/backup/storage/actions/add/lib/config/steps.ts +2 -2
- package/components/common/backup/storage/actions/add/lib/validations.ts +4 -4
- package/components/common/backup/storage/actions/add/steps/name/Name.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/name/New.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/name/Old.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigure.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureOld.vue +1 -1
- package/components/common/browse/blocks/lib/models/types.ts +1 -1
- package/components/common/browse/lib/models/interfaces.ts +5 -5
- package/components/common/countdownTimer/CountdownTimer.vue +26 -15
- package/components/common/diagramMain/lib/config/initial.ts +50 -50
- package/components/common/diagramMain/lib/models/types.ts +21 -21
- package/components/common/diagramMain/lib/utils/utils.ts +331 -331
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
- package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
- package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +5 -5
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +5 -5
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
- package/components/common/diagramMain/port/Ports.vue +47 -47
- package/components/common/layout/theHeader/modals/{reconnect/Reconnect.vue → Reconnect.vue} +56 -43
- package/components/common/pages/backups/modals/Modals.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/CreateBackup.vue +5 -2
- package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +2 -2
- package/components/common/pages/backups/modals/restore/Restore.vue +3 -3
- package/components/common/pages/backups/modals/restore/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/add/Add.vue +5 -5
- package/components/common/vm/actions/add/New.vue +2 -2
- package/components/common/vm/actions/add/Old.vue +2 -2
- package/components/common/vm/actions/add/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/clone/Clone.vue +5 -5
- package/components/common/vm/actions/clone/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/clone/toTemplate/ToTemplate.vue +5 -5
- package/components/common/vm/actions/clone/toTemplate/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -23
- package/components/common/vmt/actions/add/Add.vue +5 -5
- package/components/common/vmt/actions/add/New.vue +2 -3
- package/components/common/vmt/actions/add/Old.vue +2 -2
- package/components/common/vmt/actions/add/lib/config/steps.ts +2 -2
- package/components/common/wizards/datastore/add/Add.vue +2 -2
- package/components/common/wizards/datastore/add/Old.vue +2 -2
- package/components/common/wizards/datastore/add/lib/config/steps.ts +2 -2
- package/components/common/wizards/datastore/add/lib/utils.ts +1 -1
- package/components/common/wizards/datastore/add/lib/validations.ts +3 -3
- package/components/common/wizards/datastore/add/steps/_local/Local.vue +1 -1
- package/components/common/wizards/datastore/add/steps/_local/createName/CreateName.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigure.vue +2 -1
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureOld.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDevice.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +1 -1
- package/components/common/wizards/network/add/Add.vue +109 -333
- package/components/common/wizards/network/add/AddNew.vue +514 -0
- package/components/common/wizards/network/add/AddOld.vue +457 -0
- package/components/common/wizards/network/add/lib/config/config.ts +11 -1
- package/components/common/wizards/network/add/lib/config/selectConnectionTypeStep.ts +31 -0
- package/components/common/wizards/network/add/lib/config/selectSwitch.ts +217 -0
- package/components/common/wizards/network/add/lib/config/steps.ts +5 -5
- package/components/common/wizards/network/add/lib/models/interfaces.ts +9 -0
- package/components/common/wizards/network/add/steps/ConnectionSettings.vue +2 -2
- package/components/common/wizards/network/add/steps/IpFourSettings.vue +2 -2
- package/components/common/wizards/network/add/steps/PortProperties.vue +2 -2
- package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionType.vue +35 -0
- package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionTypeNew.vue +104 -0
- package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionTypeOld.vue +80 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDevice.vue +183 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +393 -0
- package/components/common/wizards/network/add/steps/{SelectedTargetDevice.vue → selectTargetDevice/SelectTargetDeviceOld.vue} +42 -139
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/Modals.vue +55 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectNetwork.vue +64 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectStandardSwitch.vue +64 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectSwitch.vue +64 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +163 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectStandardSwitch.vue +163 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectSwitch.vue +163 -0
- package/components/common/wizards/network/add/{modals → steps/selectTargetDevice/modals/old}/SelectNetwork.vue +53 -56
- package/components/common/wizards/network/add/{modals → steps/selectTargetDevice/modals/old}/SelectStandardSwitch.vue +37 -52
- package/components/common/wizards/network/add/{modals → steps/selectTargetDevice/modals/old}/SelectSwitch.vue +38 -42
- package/components/common/wizards/network/add/validations/connectionSettings.ts +5 -5
- package/components/common/wizards/network/add/validations/createStandardSwitch.ts +4 -4
- package/components/common/wizards/network/add/validations/ipFourSettings.ts +5 -5
- package/components/common/wizards/network/add/validations/networkValidation.ts +4 -4
- package/components/common/wizards/network/add/validations/physicalAdapter.ts +4 -4
- package/components/common/wizards/network/add/validations/portProperties.ts +2 -2
- package/components/common/wizards/network/add/validations/targetDevice.ts +11 -10
- package/components/common/wizards/vm/migrate/Migrate.vue +2 -2
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +2 -2
- package/components/common/wizards/vm/migrate/lib/validations.ts +3 -3
- package/components/common/wizards/vm/migrate/select/targetServer/new/New.vue +1 -1
- package/components/common/wizards/vm/migrate/select/targetServer/targetServer.vue +1 -1
- package/package.json +2 -2
- package/components/atoms/wizard/lib/models/enums.ts +0 -8
- package/components/atoms/wizard/lib/models/interfaces.ts +0 -59
- package/components/atoms/wizard/lib/utils/utils.ts +0 -954
- package/components/common/countdownTimer/CountdownTimerNew.vue +0 -53
- package/components/common/countdownTimer/CountdownTimerOld.vue +0 -33
- package/components/common/layout/theHeader/modals/reconnect/ReconnectNew.vue +0 -74
- package/components/common/layout/theHeader/modals/reconnect/ReconnectOld.vue +0 -67
- package/components/common/wizards/network/add/steps/SelectConnectionType.vue +0 -112
@@ -1,53 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="countdown-timer-container flex items-center justify-center">
|
3
|
-
<div class="inner-block">
|
4
|
-
<span class="value">{{ props.minutes }}:{{ props.seconds }}</span>
|
5
|
-
<span class="seconds-text">{{ localization.common.seconds }}</span>
|
6
|
-
</div>
|
7
|
-
</div>
|
8
|
-
</template>
|
9
|
-
|
10
|
-
<script lang="ts" setup>
|
11
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
12
|
-
|
13
|
-
const props = defineProps<{
|
14
|
-
minutes: string
|
15
|
-
seconds: string
|
16
|
-
}>()
|
17
|
-
|
18
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
19
|
-
</script>
|
20
|
-
|
21
|
-
<style>
|
22
|
-
:root {
|
23
|
-
--countdown-time-block-bg: #e9ebed66;
|
24
|
-
--countdown-time-value-color: #182531;
|
25
|
-
}
|
26
|
-
:root.dark-theme {
|
27
|
-
--countdown-time-block-bg: #e9ebed0f;
|
28
|
-
--countdown-time-value-color: #e9eaec;
|
29
|
-
}
|
30
|
-
</style>
|
31
|
-
|
32
|
-
<style lang="scss" scoped>
|
33
|
-
.countdown-timer-container {
|
34
|
-
border-radius: 8px;
|
35
|
-
background-color: var(--countdown-time-block-bg);
|
36
|
-
|
37
|
-
.inner-block {
|
38
|
-
margin: 16px 0;
|
39
|
-
|
40
|
-
.value {
|
41
|
-
font-weight: 500;
|
42
|
-
font-size: 40px;
|
43
|
-
color: var(--countdown-time-value-color);
|
44
|
-
}
|
45
|
-
.seconds-text {
|
46
|
-
font-weight: 400;
|
47
|
-
font-size: 16px;
|
48
|
-
color: #9da6ad;
|
49
|
-
margin-left: 6px;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
</style>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="countdown-timer">
|
3
|
-
<h3 class="countdown-timer__inner">
|
4
|
-
<span class="countdown-timer__minutes">{{ props.minutes }}</span>
|
5
|
-
<span class="countdown-timer__separator">:</span>
|
6
|
-
<span class="countdown-timer__seconds"
|
7
|
-
>{{ props.seconds }} {{ localization.common.seconds }}</span
|
8
|
-
>
|
9
|
-
</h3>
|
10
|
-
</div>
|
11
|
-
</template>
|
12
|
-
|
13
|
-
<script lang="ts" setup>
|
14
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
15
|
-
|
16
|
-
const props = defineProps<{
|
17
|
-
minutes: string
|
18
|
-
seconds: string
|
19
|
-
}>()
|
20
|
-
|
21
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
22
|
-
</script>
|
23
|
-
|
24
|
-
<style lang="scss" scoped>
|
25
|
-
.countdown-timer {
|
26
|
-
&__inner {
|
27
|
-
padding-top: 12px;
|
28
|
-
& > span {
|
29
|
-
font-size: 40px;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
</style>
|
@@ -1,74 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<ui-modal
|
3
|
-
:show="props.isShow"
|
4
|
-
:title="props.title"
|
5
|
-
:texts="modalTexts"
|
6
|
-
test-id="reconnect-modal"
|
7
|
-
size="sm"
|
8
|
-
width="560px"
|
9
|
-
@hide="emits('logout')"
|
10
|
-
@submit="emits('reconnect')"
|
11
|
-
>
|
12
|
-
<template #content>
|
13
|
-
<div class="reconnect-content">
|
14
|
-
<div class="icon-content flex items-center gap-2">
|
15
|
-
<span class="icon-sessions"></span>
|
16
|
-
<span class="description-text">{{
|
17
|
-
localization.common.reconnectDesc
|
18
|
-
}}</span>
|
19
|
-
</div>
|
20
|
-
<div class="timer-block mt-4">
|
21
|
-
<common-countdown-timer
|
22
|
-
:timer="props.timer"
|
23
|
-
:total-time="props.totalTime"
|
24
|
-
/>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
</template>
|
28
|
-
<template #footerLeftContent>
|
29
|
-
<span></span>
|
30
|
-
</template>
|
31
|
-
</ui-modal>
|
32
|
-
</template>
|
33
|
-
|
34
|
-
<script lang="ts" setup>
|
35
|
-
import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
|
36
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
37
|
-
|
38
|
-
const props = defineProps<{
|
39
|
-
isShow: boolean
|
40
|
-
title: string
|
41
|
-
timer: NodeJS.Timer | null
|
42
|
-
totalTime: number
|
43
|
-
}>()
|
44
|
-
|
45
|
-
const emits = defineEmits<{
|
46
|
-
(event: 'logout'): void
|
47
|
-
(event: 'reconnect'): void
|
48
|
-
}>()
|
49
|
-
|
50
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
51
|
-
|
52
|
-
const modalTexts = ref<UI_I_ModalTexts>({
|
53
|
-
button1: localization.value.auth.logout,
|
54
|
-
button2: localization.value.common.reconnect,
|
55
|
-
})
|
56
|
-
</script>
|
57
|
-
|
58
|
-
<style lang="scss" scoped>
|
59
|
-
.reconnect-content {
|
60
|
-
padding: 16px 32px 8px 32px;
|
61
|
-
|
62
|
-
.icon-content {
|
63
|
-
.icon-sessions {
|
64
|
-
width: 24px;
|
65
|
-
height: 24px;
|
66
|
-
}
|
67
|
-
.description-text {
|
68
|
-
font-size: 14px;
|
69
|
-
font-weight: 400;
|
70
|
-
color: #9da6ad;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
}
|
74
|
-
</style>
|
@@ -1,67 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<atoms-modal
|
3
|
-
:show="props.isShow"
|
4
|
-
:title="props.title"
|
5
|
-
test-id="connection-timeout-reconnect-modal"
|
6
|
-
width="580px"
|
7
|
-
class="connection-timeout"
|
8
|
-
is-hide-close-icon
|
9
|
-
>
|
10
|
-
<template #modalBody>
|
11
|
-
<div class="connection-timeout__body">
|
12
|
-
<span>{{ localization.common.yourSessionExpireAfter }}:</span>
|
13
|
-
<common-countdown-timer
|
14
|
-
:timer="props.timer"
|
15
|
-
:total-time="props.totalTime"
|
16
|
-
/>
|
17
|
-
</div>
|
18
|
-
</template>
|
19
|
-
|
20
|
-
<template #modalFooter>
|
21
|
-
<button
|
22
|
-
id="logout-button"
|
23
|
-
data-id="logout-button"
|
24
|
-
class="btn btn-outline"
|
25
|
-
@click="emits('logout')"
|
26
|
-
>
|
27
|
-
{{ localization.common.logout }}
|
28
|
-
</button>
|
29
|
-
|
30
|
-
<button
|
31
|
-
id="reconnect-button"
|
32
|
-
data-id="reconnect-button"
|
33
|
-
class="btn btn-primary"
|
34
|
-
@click="emits('reconnect')"
|
35
|
-
>
|
36
|
-
{{ localization.common.reconnect }}
|
37
|
-
</button>
|
38
|
-
</template>
|
39
|
-
</atoms-modal>
|
40
|
-
</template>
|
41
|
-
|
42
|
-
<script lang="ts" setup>
|
43
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
44
|
-
|
45
|
-
const props = defineProps<{
|
46
|
-
isShow: boolean
|
47
|
-
title: string
|
48
|
-
timer: NodeJS.Timer | null
|
49
|
-
totalTime: number
|
50
|
-
}>()
|
51
|
-
|
52
|
-
const emits = defineEmits<{
|
53
|
-
(event: 'logout'): void
|
54
|
-
(event: 'reconnect'): void
|
55
|
-
}>()
|
56
|
-
|
57
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
58
|
-
</script>
|
59
|
-
|
60
|
-
<style lang="scss" scoped>
|
61
|
-
.connection-timeout {
|
62
|
-
&__body {
|
63
|
-
text-align: center;
|
64
|
-
margin: 15px 0;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
</style>
|
@@ -1,112 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="wizard-content-container add-networking-step">
|
3
|
-
<div class="wizard-content">
|
4
|
-
<form>
|
5
|
-
<div v-permission="'Networks.CreateSysx'" class="radio">
|
6
|
-
<input
|
7
|
-
id="vmkernel-adapter"
|
8
|
-
v-model="connectionTypeLocal"
|
9
|
-
type="radio"
|
10
|
-
value="0"
|
11
|
-
name="connection-type"
|
12
|
-
/>
|
13
|
-
<label for="vmkernel-adapter" data-id="vmkernel-adapter-radio">
|
14
|
-
{{ localization.common.vmKernelNetworkAdapter }}
|
15
|
-
</label>
|
16
|
-
</div>
|
17
|
-
<div
|
18
|
-
v-permission="'Networks.CreateSysx'"
|
19
|
-
class="add-networking-radio-button-description"
|
20
|
-
>
|
21
|
-
{{ localization.common.vMKernelTcpIpStackHandlesTraffic }}
|
22
|
-
</div>
|
23
|
-
<div v-permission="'Networks.CreatePortGroup'" class="radio">
|
24
|
-
<input
|
25
|
-
id="virtual"
|
26
|
-
v-model="connectionTypeLocal"
|
27
|
-
type="radio"
|
28
|
-
value="1"
|
29
|
-
name="connection-type"
|
30
|
-
/>
|
31
|
-
<label for="virtual" data-id="virtual-radio">
|
32
|
-
{{ localization.common.virtualMachinePortGroupStandardSwitch }}
|
33
|
-
</label>
|
34
|
-
</div>
|
35
|
-
<div
|
36
|
-
v-permission="'Networks.CreatePortGroup'"
|
37
|
-
class="add-networking-radio-button-description"
|
38
|
-
>
|
39
|
-
{{ localization.common.portGroupHandlesVirtualMachineTraffic }}
|
40
|
-
</div>
|
41
|
-
<div class="radio">
|
42
|
-
<input
|
43
|
-
id="physical-adapter"
|
44
|
-
v-model="connectionTypeLocal"
|
45
|
-
type="radio"
|
46
|
-
value="2"
|
47
|
-
name="connection-type"
|
48
|
-
/>
|
49
|
-
<label for="physical-adapter" data-id="physical-adapter-radio">
|
50
|
-
{{ localization.common.physicalNetworkAdapter }}
|
51
|
-
</label>
|
52
|
-
</div>
|
53
|
-
<div class="add-networking-radio-button-description">
|
54
|
-
{{ localization.common.physicalNetworkAdapterHandlesNetworkTraffic }}
|
55
|
-
</div>
|
56
|
-
</form>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</template>
|
60
|
-
|
61
|
-
<script setup lang="ts">
|
62
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
63
|
-
import type { UI_T_Project } from '~/lib/models/types'
|
64
|
-
|
65
|
-
const props = withDefaults(
|
66
|
-
defineProps<{
|
67
|
-
modelValue: string
|
68
|
-
project?: UI_T_Project
|
69
|
-
}>(),
|
70
|
-
{
|
71
|
-
project: undefined,
|
72
|
-
}
|
73
|
-
)
|
74
|
-
|
75
|
-
const emits = defineEmits<{
|
76
|
-
(event: 'update:model-value', connectionType: string): void
|
77
|
-
}>()
|
78
|
-
|
79
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
80
|
-
|
81
|
-
const connectionTypeLocal = computed<string>({
|
82
|
-
get() {
|
83
|
-
return props.modelValue
|
84
|
-
},
|
85
|
-
set(newValue: string) {
|
86
|
-
emits('update:model-value', newValue)
|
87
|
-
},
|
88
|
-
})
|
89
|
-
</script>
|
90
|
-
|
91
|
-
<style scoped lang="scss">
|
92
|
-
.wizard-content {
|
93
|
-
height: auto;
|
94
|
-
width: inherit;
|
95
|
-
margin: 0;
|
96
|
-
|
97
|
-
.radio {
|
98
|
-
min-height: 20px;
|
99
|
-
margin: 10px 0;
|
100
|
-
|
101
|
-
label {
|
102
|
-
font-weight: 700;
|
103
|
-
margin: 6px 12px 6px 0;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
|
107
|
-
.add-networking-radio-button-description {
|
108
|
-
padding-left: 20px;
|
109
|
-
color: #333;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
</style>
|