bfg-common 1.5.715 → 1.5.716
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_STYLE.md +109 -109
- package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/collapse/CollapseNav.vue +170 -170
- package/components/atoms/perPage/PerPage.vue +58 -58
- package/components/atoms/table/dataGrid/DataGrid.vue +1718 -1718
- package/components/atoms/table/dataGrid/DataGridPagination.vue +97 -97
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
- package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
- package/components/common/backup/storage/actions/add/lib/utils.ts +51 -51
- package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
- package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +48 -48
- package/components/common/diagramMain/port/Port.vue +580 -580
- package/components/common/layout/theHeader/TheHeader.vue +51 -37
- package/components/common/layout/theHeader/TheHeaderNew.vue +315 -305
- package/components/common/layout/theHeader/TheHeaderOld.vue +262 -252
- package/components/common/layout/theHeader/helpMenu/About.vue +79 -79
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +79 -79
- package/components/common/layout/theHeader/userMenu/UserMenu.vue +19 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/Preferences.vue +28 -13
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +16 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +144 -136
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +4 -10
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/New.vue +28 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/Old.vue +28 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +14 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/Inventory.vue +14 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/lib/models/types.ts +7 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +15 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +15 -2
- package/components/common/pages/backups/DetailView.vue +52 -52
- package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
- package/components/common/pages/backups/modals/Modals.vue +243 -243
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
- package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +69 -69
- package/components/common/pages/backups/modals/lib/config/restore.ts +115 -115
- package/components/common/pages/backups/modals/lib/models/interfaces.ts +186 -186
- package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
- package/components/common/pages/home/lib/models/interfaces.ts +48 -48
- package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
- package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
- package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
- package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
- package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
- package/components/common/pages/tasks/Tasks.vue +125 -122
- package/components/common/pages/tasks/table/Table.vue +373 -370
- package/components/common/pages/tasks/table/lib/config/config.ts +279 -279
- package/components/common/pages/tasks/table/lib/models/interfaces.ts +6 -0
- package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
- package/components/common/select/radio/RadioGroup.vue +137 -137
- package/components/common/selectLanguage/SelectLanguage.vue +5 -5
- package/components/common/spiceConsole/Drawer.vue +420 -420
- package/components/common/spiceConsole/SpiceConsole.vue +184 -184
- package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
- package/components/common/tools/Actions.vue +207 -207
- package/components/common/treeView/TreeView.vue +52 -52
- package/components/common/vm/actions/clone/lib/config/steps.ts +295 -295
- package/components/common/vm/actions/clone/new/New.vue +438 -438
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +283 -283
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +156 -156
- package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
- package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/options/New.vue +264 -264
- package/components/common/vm/actions/common/select/options/Options.vue +58 -58
- package/components/common/vm/actions/common/select/storage/Old.vue +125 -125
- package/components/common/vm/actions/common/select/storage/new/New.vue +311 -311
- package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
- package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
- package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
- package/components/common/wizards/common/compatibility/Compatibility.vue +35 -35
- package/components/common/wizards/common/steps/computeResource/New.vue +93 -93
- package/components/common/wizards/common/steps/name/Name.vue +178 -178
- package/components/common/wizards/common/steps/name/New.vue +221 -221
- package/components/common/wizards/common/steps/name/Old.vue +121 -121
- package/components/common/wizards/common/steps/name/lib/models/interfaces.ts +4 -4
- package/components/common/wizards/common/steps/name/location/New.vue +40 -40
- package/components/common/wizards/datastore/add/Add.vue +228 -228
- package/components/common/wizards/datastore/add/lib/utils.ts +85 -85
- package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
- package/composables/useAppVersion.ts +21 -21
- package/composables/useLocal.ts +6 -6
- package/composables/useLocalCommon.ts +39 -39
- package/package.json +1 -1
- package/plugins/console.ts +21 -21
- package/plugins/mouse.ts +21 -21
- package/plugins/panelStates.ts +70 -70
- package/plugins/text.ts +59 -59
- package/public/spice-console/application/clientgui.js +854 -854
- package/public/spice-console/application/packetfactory.js +211 -211
- package/public/spice-console/application/virtualmouse.js +147 -147
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +440 -440
- package/public/spice-console/process/cursorprocess.js +128 -128
- package/public/spice-console/process/inputprocess.js +227 -227
- package/public/spice-console/process/mainprocess.js +212 -212
- package/public/spice-console/run.js +210 -210
- package/store/main/mutations.ts +7 -7
- package/store/main/state.ts +7 -7
- package/store/tasks/actions.ts +1 -1
- package/store/tasks/mappers/recentTasks.ts +123 -123
- package/store/tasks/mappers/tasks.ts +8 -1
- package/store/tasks/mutations.ts +82 -82
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Teleport to="body">
|
|
3
|
-
<common-layout-the-header-help-menu-about-new
|
|
4
|
-
v-if="isNewView"
|
|
5
|
-
:title="title"
|
|
6
|
-
:subtitle="subtitle"
|
|
7
|
-
:about-heading-text="aboutHeadingText"
|
|
8
|
-
:about-desc-one="aboutDesc1"
|
|
9
|
-
:about-desc-second="aboutDesc2"
|
|
10
|
-
:project-name="props.projectName"
|
|
11
|
-
:url="companyWebSitePath"
|
|
12
|
-
@hide="emits('hide')"
|
|
13
|
-
/>
|
|
14
|
-
|
|
15
|
-
<common-layout-the-header-help-menu-about-old
|
|
16
|
-
v-else
|
|
17
|
-
:title="title"
|
|
18
|
-
:subtitle="subtitle"
|
|
19
|
-
:about-heading-text="aboutHeadingText"
|
|
20
|
-
:about-desc-one="aboutDesc1"
|
|
21
|
-
:about-desc-second="aboutDesc2"
|
|
22
|
-
:project-name="props.projectName"
|
|
23
|
-
:url="companyWebSitePath"
|
|
24
|
-
@hide="emits('hide')"
|
|
25
|
-
/>
|
|
26
|
-
</Teleport>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script lang="ts" setup>
|
|
30
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
-
|
|
32
|
-
const props = defineProps<{
|
|
33
|
-
version: string
|
|
34
|
-
projectName: string
|
|
35
|
-
}>()
|
|
36
|
-
const emits = defineEmits<{
|
|
37
|
-
(event: 'hide'): void
|
|
38
|
-
}>()
|
|
39
|
-
|
|
40
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
41
|
-
const { $store }: any = useNuxtApp()
|
|
42
|
-
const config = useRuntimeConfig()
|
|
43
|
-
|
|
44
|
-
const companyName = computed<string>(
|
|
45
|
-
() => config.public[`COMPANY_NAME_${useEnvLanguage()}`]
|
|
46
|
-
)
|
|
47
|
-
const brandName = computed<string>(
|
|
48
|
-
() => config.public[`TRADEMARK_${useEnvLanguage()}`]
|
|
49
|
-
)
|
|
50
|
-
|
|
51
|
-
const companyWebSitePath = ref<string>(config.public.SUPPORT_SITE)
|
|
52
|
-
|
|
53
|
-
const title = computed<string>(() => `${brandName.value}® ${props.projectName}`)
|
|
54
|
-
const subtitle = computed<string>(() =>
|
|
55
|
-
localization.value.layout.aboutWebClientVersion
|
|
56
|
-
.replace('{0}', props.projectName)
|
|
57
|
-
.replace('{1}', props.version)
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
const aboutHeadingText = computed<string>(() =>
|
|
61
|
-
localization.value.layout.aboutHeading.replace(
|
|
62
|
-
'{companyName}',
|
|
63
|
-
companyName.value
|
|
64
|
-
).replace(
|
|
65
|
-
'{year}',
|
|
66
|
-
new Date().getFullYear() + ''
|
|
67
|
-
)
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
const aboutDesc = computed<string[]>(() =>
|
|
71
|
-
localization.value.layout.aboutDesc
|
|
72
|
-
.replaceAll('{companyName}', companyName.value)
|
|
73
|
-
.replaceAll('{trademark}', brandName.value).split('{url}')
|
|
74
|
-
)
|
|
75
|
-
const aboutDesc1 = computed<string>(() => aboutDesc.value[0])
|
|
76
|
-
const aboutDesc2 = computed<string>(() => aboutDesc.value[1])
|
|
77
|
-
|
|
78
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
79
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<Teleport to="body">
|
|
3
|
+
<common-layout-the-header-help-menu-about-new
|
|
4
|
+
v-if="isNewView"
|
|
5
|
+
:title="title"
|
|
6
|
+
:subtitle="subtitle"
|
|
7
|
+
:about-heading-text="aboutHeadingText"
|
|
8
|
+
:about-desc-one="aboutDesc1"
|
|
9
|
+
:about-desc-second="aboutDesc2"
|
|
10
|
+
:project-name="props.projectName"
|
|
11
|
+
:url="companyWebSitePath"
|
|
12
|
+
@hide="emits('hide')"
|
|
13
|
+
/>
|
|
14
|
+
|
|
15
|
+
<common-layout-the-header-help-menu-about-old
|
|
16
|
+
v-else
|
|
17
|
+
:title="title"
|
|
18
|
+
:subtitle="subtitle"
|
|
19
|
+
:about-heading-text="aboutHeadingText"
|
|
20
|
+
:about-desc-one="aboutDesc1"
|
|
21
|
+
:about-desc-second="aboutDesc2"
|
|
22
|
+
:project-name="props.projectName"
|
|
23
|
+
:url="companyWebSitePath"
|
|
24
|
+
@hide="emits('hide')"
|
|
25
|
+
/>
|
|
26
|
+
</Teleport>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script lang="ts" setup>
|
|
30
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
+
|
|
32
|
+
const props = defineProps<{
|
|
33
|
+
version: string
|
|
34
|
+
projectName: string
|
|
35
|
+
}>()
|
|
36
|
+
const emits = defineEmits<{
|
|
37
|
+
(event: 'hide'): void
|
|
38
|
+
}>()
|
|
39
|
+
|
|
40
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
41
|
+
const { $store }: any = useNuxtApp()
|
|
42
|
+
const config = useRuntimeConfig()
|
|
43
|
+
|
|
44
|
+
const companyName = computed<string>(
|
|
45
|
+
() => config.public[`COMPANY_NAME_${useEnvLanguage()}`]
|
|
46
|
+
)
|
|
47
|
+
const brandName = computed<string>(
|
|
48
|
+
() => config.public[`TRADEMARK_${useEnvLanguage()}`]
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
const companyWebSitePath = ref<string>(config.public.SUPPORT_SITE)
|
|
52
|
+
|
|
53
|
+
const title = computed<string>(() => `${brandName.value}® ${props.projectName}`)
|
|
54
|
+
const subtitle = computed<string>(() =>
|
|
55
|
+
localization.value.layout.aboutWebClientVersion
|
|
56
|
+
.replace('{0}', props.projectName)
|
|
57
|
+
.replace('{1}', props.version)
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
const aboutHeadingText = computed<string>(() =>
|
|
61
|
+
localization.value.layout.aboutHeading.replace(
|
|
62
|
+
'{companyName}',
|
|
63
|
+
companyName.value
|
|
64
|
+
).replace(
|
|
65
|
+
'{year}',
|
|
66
|
+
new Date().getFullYear() + ''
|
|
67
|
+
)
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
const aboutDesc = computed<string[]>(() =>
|
|
71
|
+
localization.value.layout.aboutDesc
|
|
72
|
+
.replaceAll('{companyName}', companyName.value)
|
|
73
|
+
.replaceAll('{trademark}', brandName.value).split('{url}')
|
|
74
|
+
)
|
|
75
|
+
const aboutDesc1 = computed<string>(() => aboutDesc.value[0])
|
|
76
|
+
const aboutDesc2 = computed<string>(() => aboutDesc.value[1])
|
|
77
|
+
|
|
78
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
79
|
+
</script>
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Teleport to="body">
|
|
3
|
-
<atoms-modal :title="props.title" show width="864px" test-id="about-modal">
|
|
4
|
-
<template #modalHeader>
|
|
5
|
-
<div class="flex-align-center">
|
|
6
|
-
<h3 class="modal-title">{{ brandName }}® {{ props.projectName }}</h3>
|
|
7
|
-
<span class="separator" />
|
|
8
|
-
<h4 class="secondary-title">
|
|
9
|
-
{{ props.subtitle }}
|
|
10
|
-
</h4>
|
|
11
|
-
</div>
|
|
12
|
-
<button id="about-modal-button-close" class="close">
|
|
13
|
-
<atoms-the-icon
|
|
14
|
-
data-id="about-modal-button-close-icon"
|
|
15
|
-
class="close-icon"
|
|
16
|
-
name="close"
|
|
17
|
-
@click="() => emits('hide')"
|
|
18
|
-
/>
|
|
19
|
-
</button>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<template #modalBody>
|
|
23
|
-
<div class="about-vsphere-dialog-legal-section">
|
|
24
|
-
<p>{{ props.aboutHeadingText }}</p>
|
|
25
|
-
<p>{{ localization.layout.aboutSubtitle }}</p>
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
<div class="about-vsphere-dialog-legal-section description">
|
|
29
|
-
{{ props.aboutDescOne }}<a
|
|
30
|
-
id="about-description-link"
|
|
31
|
-
:href="url"
|
|
32
|
-
data-id="about-description-link"
|
|
33
|
-
target="_blank"
|
|
34
|
-
>{{ props.url }}</a
|
|
35
|
-
>{{ props.aboutDescSecond }}
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<template #modalFooter>
|
|
40
|
-
<span></span>
|
|
41
|
-
</template>
|
|
42
|
-
</atoms-modal>
|
|
43
|
-
</Teleport>
|
|
44
|
-
</template>
|
|
45
|
-
|
|
46
|
-
<script lang="ts" setup>
|
|
47
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
48
|
-
|
|
49
|
-
const props = defineProps<{
|
|
50
|
-
title: string
|
|
51
|
-
subtitle: string
|
|
52
|
-
aboutHeadingText: string
|
|
53
|
-
aboutDescOne: string
|
|
54
|
-
aboutDescSecond: string
|
|
55
|
-
projectName: string
|
|
56
|
-
url: string
|
|
57
|
-
}>()
|
|
58
|
-
const emits = defineEmits<{
|
|
59
|
-
(event: 'hide'): void
|
|
60
|
-
}>()
|
|
61
|
-
|
|
62
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
63
|
-
const config = useRuntimeConfig()
|
|
64
|
-
|
|
65
|
-
const brandName = computed<string>(
|
|
66
|
-
() => config.public[`TRADEMARK_${useEnvLanguage()}`]
|
|
67
|
-
)
|
|
68
|
-
</script>
|
|
69
|
-
|
|
70
|
-
<style lang="scss" scoped>
|
|
71
|
-
.modal-title {
|
|
72
|
-
color: var(--main-color-mode);
|
|
73
|
-
}
|
|
74
|
-
.description {
|
|
75
|
-
padding-top: 10px;
|
|
76
|
-
font-size: 13px;
|
|
77
|
-
line-height: 19px;
|
|
78
|
-
}
|
|
79
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<Teleport to="body">
|
|
3
|
+
<atoms-modal :title="props.title" show width="864px" test-id="about-modal">
|
|
4
|
+
<template #modalHeader>
|
|
5
|
+
<div class="flex-align-center">
|
|
6
|
+
<h3 class="modal-title">{{ brandName }}® {{ props.projectName }}</h3>
|
|
7
|
+
<span class="separator" />
|
|
8
|
+
<h4 class="secondary-title">
|
|
9
|
+
{{ props.subtitle }}
|
|
10
|
+
</h4>
|
|
11
|
+
</div>
|
|
12
|
+
<button id="about-modal-button-close" class="close">
|
|
13
|
+
<atoms-the-icon
|
|
14
|
+
data-id="about-modal-button-close-icon"
|
|
15
|
+
class="close-icon"
|
|
16
|
+
name="close"
|
|
17
|
+
@click="() => emits('hide')"
|
|
18
|
+
/>
|
|
19
|
+
</button>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<template #modalBody>
|
|
23
|
+
<div class="about-vsphere-dialog-legal-section">
|
|
24
|
+
<p>{{ props.aboutHeadingText }}</p>
|
|
25
|
+
<p>{{ localization.layout.aboutSubtitle }}</p>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div class="about-vsphere-dialog-legal-section description">
|
|
29
|
+
{{ props.aboutDescOne }}<a
|
|
30
|
+
id="about-description-link"
|
|
31
|
+
:href="url"
|
|
32
|
+
data-id="about-description-link"
|
|
33
|
+
target="_blank"
|
|
34
|
+
>{{ props.url }}</a
|
|
35
|
+
>{{ props.aboutDescSecond }}
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<template #modalFooter>
|
|
40
|
+
<span></span>
|
|
41
|
+
</template>
|
|
42
|
+
</atoms-modal>
|
|
43
|
+
</Teleport>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script lang="ts" setup>
|
|
47
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
48
|
+
|
|
49
|
+
const props = defineProps<{
|
|
50
|
+
title: string
|
|
51
|
+
subtitle: string
|
|
52
|
+
aboutHeadingText: string
|
|
53
|
+
aboutDescOne: string
|
|
54
|
+
aboutDescSecond: string
|
|
55
|
+
projectName: string
|
|
56
|
+
url: string
|
|
57
|
+
}>()
|
|
58
|
+
const emits = defineEmits<{
|
|
59
|
+
(event: 'hide'): void
|
|
60
|
+
}>()
|
|
61
|
+
|
|
62
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
63
|
+
const config = useRuntimeConfig()
|
|
64
|
+
|
|
65
|
+
const brandName = computed<string>(
|
|
66
|
+
() => config.public[`TRADEMARK_${useEnvLanguage()}`]
|
|
67
|
+
)
|
|
68
|
+
</script>
|
|
69
|
+
|
|
70
|
+
<style lang="scss" scoped>
|
|
71
|
+
.modal-title {
|
|
72
|
+
color: var(--main-color-mode);
|
|
73
|
+
}
|
|
74
|
+
.description {
|
|
75
|
+
padding-top: 10px;
|
|
76
|
+
font-size: 13px;
|
|
77
|
+
line-height: 19px;
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -21,20 +21,24 @@
|
|
|
21
21
|
<common-layout-the-header-user-menu-modals-preferences
|
|
22
22
|
v-if="props.isPreference"
|
|
23
23
|
v-model:security="security"
|
|
24
|
-
|
|
25
|
-
v-model:time-format="timeFormat"
|
|
26
|
-
v-model:console-value="consoleValue"
|
|
27
|
-
v-model:vm-in-hosts-clusters="vmInHostsClusters"
|
|
24
|
+
:time-format="props.timeFormat"
|
|
28
25
|
:new-view="props.newView"
|
|
26
|
+
:new-view-local="props.newViewLocal"
|
|
29
27
|
:selected-language-type="props.selectedLanguageType"
|
|
30
28
|
:selected-language="props.selectedLanguage"
|
|
31
29
|
:project="props.project"
|
|
30
|
+
:remote-console="props.remoteConsole"
|
|
31
|
+
:vm-cluster="props.vmCluster"
|
|
32
32
|
:security-loader="props.securityLoader"
|
|
33
33
|
:recovery="props.recovery"
|
|
34
34
|
@hide="emits('hide-preference')"
|
|
35
35
|
@reset="emits('reset-preference')"
|
|
36
|
+
@update-time-format="emits('update-time-format', $event)"
|
|
36
37
|
@update-language="emits('update-language', $event)"
|
|
37
38
|
@update-is-browser="emits('update-is-browser', $event)"
|
|
39
|
+
@update-is-new-view="emits('update-is-new-view', $event)"
|
|
40
|
+
@update-remote-console="emits('update-remote-console', $event)"
|
|
41
|
+
@update-vm-clusters="emits('update-vm-clusters', $event)"
|
|
38
42
|
@security-confirm="emits('security-confirm', $event)"
|
|
39
43
|
@submit="emits('submit-preferences')"
|
|
40
44
|
/>
|
|
@@ -45,21 +49,23 @@
|
|
|
45
49
|
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
46
50
|
import type { UI_T_LangValue, UI_T_Project } from '~/lib/models/types'
|
|
47
51
|
import type { UI_T_TimeValue } from '~/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/models/types'
|
|
48
|
-
import type {
|
|
52
|
+
import type {
|
|
53
|
+
UI_I_Recovery
|
|
54
|
+
} from "~/components/common/layout/theHeader/userMenu/modals/preferences/security/lib/models/interfaces";
|
|
49
55
|
|
|
50
56
|
const security = defineModel<boolean>('security')
|
|
51
|
-
const newViewLocal = defineModel<boolean>('newViewLocal')
|
|
52
|
-
const timeFormat = defineModel<UI_T_TimeValue>('timeFormat')
|
|
53
|
-
const consoleValue = defineModel<string>('consoleValue')
|
|
54
|
-
const vmInHostsClusters = defineModel<boolean>('vmInHostsClusters')
|
|
55
57
|
|
|
56
58
|
const props = defineProps<{
|
|
57
59
|
hostname: string
|
|
58
60
|
project: UI_T_Project
|
|
59
61
|
isPreference: boolean
|
|
60
62
|
newView: boolean
|
|
63
|
+
newViewLocal: boolean
|
|
64
|
+
timeFormat: UI_T_TimeValue
|
|
61
65
|
selectedLanguageType: UI_T_LangValue
|
|
62
66
|
selectedLanguage: UI_I_Dropdown | string
|
|
67
|
+
remoteConsole: string
|
|
68
|
+
vmCluster: boolean
|
|
63
69
|
securityLoader: boolean // для Сферы
|
|
64
70
|
recovery: UI_I_Recovery | null // для Сферы
|
|
65
71
|
}>()
|
|
@@ -68,8 +74,12 @@ const emits = defineEmits<{
|
|
|
68
74
|
(event: 'reset-preference'): void
|
|
69
75
|
(event: 'hide-preference'): void
|
|
70
76
|
(event: 'change-theme-mode'): void
|
|
77
|
+
(event: 'update-time-format', value: UI_T_TimeValue): void
|
|
71
78
|
(event: 'update-language', value: UI_I_Dropdown): void
|
|
72
79
|
(event: 'update-is-browser', value: string): void
|
|
80
|
+
(event: 'update-is-new-view', value: boolean): void
|
|
81
|
+
(event: 'update-remote-console', value: string): void
|
|
82
|
+
(event: 'update-vm-clusters', value: boolean): void
|
|
73
83
|
(event: 'security-confirm', value: boolean): void
|
|
74
84
|
(event: 'submit-preferences'): void
|
|
75
85
|
}>()
|
|
@@ -2,38 +2,47 @@
|
|
|
2
2
|
<common-layout-the-header-user-menu-modals-preferences-new
|
|
3
3
|
v-if="props.newView"
|
|
4
4
|
v-model:security="security"
|
|
5
|
-
v-model:new-view-local="newViewLocal"
|
|
6
|
-
v-model:time-format="timeFormat"
|
|
7
|
-
v-model:console-value="consoleValue"
|
|
8
|
-
v-model:vm-in-hosts-clusters="vmInHostsClusters"
|
|
9
5
|
:project="props.project"
|
|
6
|
+
:time-format="props.timeFormat"
|
|
10
7
|
:new-view="props.newView"
|
|
8
|
+
:new-view-local="props.newViewLocal"
|
|
11
9
|
:selected-language-type="props.selectedLanguageType"
|
|
12
10
|
:selected-language="props.selectedLanguage"
|
|
11
|
+
:remote-console="props.remoteConsole"
|
|
12
|
+
:vm-cluster="props.vmCluster"
|
|
13
|
+
:security-loader="props.securityLoader"
|
|
13
14
|
:recovery="props.recovery"
|
|
14
15
|
@hide="emits('hide')"
|
|
15
16
|
@reset="emits('reset')"
|
|
17
|
+
@update-time-format="emits('update-time-format', $event)"
|
|
16
18
|
@update-language="emits('update-language', $event)"
|
|
17
19
|
@update-is-browser="emits('update-is-browser', $event)"
|
|
20
|
+
@update-is-new-view="emits('update-is-new-view', $event)"
|
|
21
|
+
@update-remote-console="emits('update-remote-console', $event)"
|
|
22
|
+
@update-vm-clusters="emits('update-vm-clusters', $event)"
|
|
18
23
|
@security-confirm="emits('security-confirm', $event)"
|
|
19
24
|
@submit="emits('submit')"
|
|
20
25
|
/>
|
|
21
26
|
<common-layout-the-header-user-menu-modals-preferences-old
|
|
22
27
|
v-else
|
|
23
28
|
v-model:security="security"
|
|
24
|
-
v-model:new-view-local="newViewLocal"
|
|
25
|
-
v-model:time-format="timeFormat"
|
|
26
|
-
v-model:console-value="consoleValue"
|
|
27
|
-
v-model:vm-in-hosts-clusters="vmInHostsClusters"
|
|
28
29
|
:project="props.project"
|
|
30
|
+
:time-format="props.timeFormat"
|
|
29
31
|
:new-view="props.newView"
|
|
32
|
+
:new-view-local="props.newViewLocal"
|
|
30
33
|
:selected-language-type="props.selectedLanguageType"
|
|
31
34
|
:selected-language="props.selectedLanguage"
|
|
35
|
+
:remote-console="props.remoteConsole"
|
|
36
|
+
:vm-cluster="props.vmCluster"
|
|
32
37
|
:security-loader="props.securityLoader"
|
|
33
38
|
:recovery="props.recovery"
|
|
34
39
|
@hide="emits('hide')"
|
|
40
|
+
@update-time-format="emits('update-time-format', $event)"
|
|
35
41
|
@update-language="emits('update-language', $event)"
|
|
36
42
|
@update-is-browser="emits('update-is-browser', $event)"
|
|
43
|
+
@update-is-new-view="emits('update-is-new-view', $event)"
|
|
44
|
+
@update-remote-console="emits('update-remote-console', $event)"
|
|
45
|
+
@update-vm-clusters="emits('update-vm-clusters', $event)"
|
|
37
46
|
@security-confirm="emits('security-confirm', $event)"
|
|
38
47
|
@submit="emits('submit')"
|
|
39
48
|
/>
|
|
@@ -43,19 +52,21 @@
|
|
|
43
52
|
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
44
53
|
import type { UI_T_LangValue, UI_T_Project } from '~/lib/models/types'
|
|
45
54
|
import type { UI_T_TimeValue } from '~/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/models/types'
|
|
46
|
-
import type {
|
|
55
|
+
import type {
|
|
56
|
+
UI_I_Recovery
|
|
57
|
+
} from "~/components/common/layout/theHeader/userMenu/modals/preferences/security/lib/models/interfaces";
|
|
47
58
|
|
|
48
59
|
const security = defineModel<boolean>('security')
|
|
49
|
-
const newViewLocal = defineModel<boolean>('newViewLocal')
|
|
50
|
-
const timeFormat = defineModel<UI_T_TimeValue>('timeFormat')
|
|
51
|
-
const consoleValue = defineModel<string>('consoleValue')
|
|
52
|
-
const vmInHostsClusters = defineModel<boolean>('vmInHostsClusters')
|
|
53
60
|
|
|
54
61
|
const props = defineProps<{
|
|
55
62
|
project: UI_T_Project
|
|
63
|
+
timeFormat: UI_T_TimeValue
|
|
56
64
|
newView: boolean
|
|
65
|
+
newViewLocal: boolean
|
|
57
66
|
selectedLanguageType: UI_T_LangValue
|
|
58
67
|
selectedLanguage: UI_I_Dropdown | string
|
|
68
|
+
remoteConsole: string
|
|
69
|
+
vmCluster: boolean
|
|
59
70
|
securityLoader: boolean // для Сферы
|
|
60
71
|
recovery: UI_I_Recovery | null // для Сферы
|
|
61
72
|
}>()
|
|
@@ -63,8 +74,12 @@ const props = defineProps<{
|
|
|
63
74
|
const emits = defineEmits<{
|
|
64
75
|
(event: 'hide'): void
|
|
65
76
|
(event: 'reset'): void
|
|
77
|
+
(event: 'update-time-format', value: UI_T_TimeValue): void
|
|
66
78
|
(event: 'update-language', value: UI_I_Dropdown): void
|
|
67
79
|
(event: 'update-is-browser', value: string): void
|
|
80
|
+
(event: 'update-is-new-view', value: boolean): void
|
|
81
|
+
(event: 'update-remote-console', value: string): void
|
|
82
|
+
(event: 'update-vm-clusters', value: boolean): void
|
|
68
83
|
(event: 'security-confirm', value: boolean): void
|
|
69
84
|
(event: 'submit'): void
|
|
70
85
|
}>()
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
<ui-modal-block-standard>
|
|
14
14
|
<ui-modal-block-form-standard>
|
|
15
15
|
<common-layout-the-header-user-menu-modals-preferences-time-format
|
|
16
|
-
v-model:time-format="timeFormat"
|
|
17
16
|
:new-view="props.newView"
|
|
17
|
+
:time-format="props.timeFormat"
|
|
18
|
+
@update-time-format="emits('update-time-format', $event)"
|
|
18
19
|
/>
|
|
19
20
|
</ui-modal-block-form-standard>
|
|
20
21
|
|
|
@@ -30,15 +31,17 @@
|
|
|
30
31
|
|
|
31
32
|
<ui-modal-block-form-standard v-if="isSphere">
|
|
32
33
|
<common-layout-the-header-user-menu-modals-preferences-default-console
|
|
33
|
-
v-model="consoleValue"
|
|
34
34
|
:new-view="props.newView"
|
|
35
|
+
:remote-console="props.remoteConsole"
|
|
36
|
+
@update-remote-console="emits('update-remote-console', $event)"
|
|
35
37
|
/>
|
|
36
38
|
</ui-modal-block-form-standard>
|
|
37
39
|
|
|
38
40
|
<ui-modal-block-form-standard v-if="isSphere">
|
|
39
41
|
<common-layout-the-header-user-menu-modals-preferences-inventory
|
|
40
|
-
v-model="vmInHostsClusters"
|
|
41
42
|
:new-view="props.newView"
|
|
43
|
+
:vm-cluster="props.vmCluster"
|
|
44
|
+
@update-vm-clusters="emits('update-vm-clusters', $event)"
|
|
42
45
|
/>
|
|
43
46
|
</ui-modal-block-form-standard>
|
|
44
47
|
|
|
@@ -52,8 +55,9 @@
|
|
|
52
55
|
|
|
53
56
|
<ui-modal-block-form-standard without-border-bottom>
|
|
54
57
|
<common-layout-the-header-user-menu-modals-preferences-view
|
|
55
|
-
v-model:new-view-local="newViewLocal"
|
|
56
58
|
:new-view="props.newView"
|
|
59
|
+
:new-view-local="props.newViewLocal"
|
|
60
|
+
@update-is-new-view="emits('update-is-new-view', $event)"
|
|
57
61
|
/>
|
|
58
62
|
</ui-modal-block-form-standard>
|
|
59
63
|
</ui-modal-block-standard>
|
|
@@ -70,22 +74,26 @@ import type { UI_T_TimeValue } from '~/components/common/layout/theHeader/userMe
|
|
|
70
74
|
import type { UI_I_Recovery } from '~/components/common/layout/theHeader/userMenu/modals/preferences/security/lib/models/interfaces'
|
|
71
75
|
|
|
72
76
|
const security = defineModel<boolean>('security')
|
|
73
|
-
const newViewLocal = defineModel<boolean>('newViewLocal')
|
|
74
|
-
const timeFormat = defineModel<UI_T_TimeValue>('timeFormat')
|
|
75
|
-
const consoleValue = defineModel<string>('consoleValue')
|
|
76
|
-
const vmInHostsClusters = defineModel<boolean>('vmInHostsClusters')
|
|
77
77
|
|
|
78
78
|
const props = defineProps<{
|
|
79
79
|
project: UI_T_Project
|
|
80
|
+
timeFormat: UI_T_TimeValue
|
|
80
81
|
selectedLanguage: UI_I_Dropdown
|
|
81
82
|
selectedLanguageType: UI_T_LangValue
|
|
82
83
|
newView: boolean
|
|
84
|
+
newViewLocal: boolean
|
|
85
|
+
remoteConsole: string
|
|
86
|
+
vmCluster: boolean
|
|
83
87
|
recovery: UI_I_Recovery | null // для Сферы
|
|
84
88
|
}>()
|
|
85
89
|
const emits = defineEmits<{
|
|
86
90
|
(event: 'hide'): void
|
|
91
|
+
(event: 'update-time-format', value: UI_T_TimeValue): void
|
|
87
92
|
(event: 'update-language', value: UI_I_Dropdown): void
|
|
88
93
|
(event: 'update-is-browser', value: string): void
|
|
94
|
+
(event: 'update-is-new-view', value: boolean): void
|
|
95
|
+
(event: 'update-remote-console', value: string): void
|
|
96
|
+
(event: 'update-vm-clusters', value: boolean): void
|
|
89
97
|
(event: 'security-confirm', value: boolean): void
|
|
90
98
|
(event: 'submit'): void
|
|
91
99
|
(event: 'reset'): void
|