bfg-common 1.5.251 → 1.5.253
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 +11 -1
- package/assets/localization/local_en.json +11 -1
- package/assets/localization/local_hy.json +11 -1
- package/assets/localization/local_kk.json +11 -1
- package/assets/localization/local_ru.json +11 -1
- package/assets/localization/local_zh.json +12 -2
- package/assets/scss/common/theme.scss +379 -355
- package/components/common/backup/storage/actions/add/New.vue +9 -4
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +18 -9
- package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeNew.vue +12 -3
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +8 -67
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +8 -72
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +9 -1
- package/components/common/pages/tasks/table/Table.vue +15 -7
- package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +15 -9
- package/components/common/tooltip/Help.vue +132 -0
- package/components/common/tooltip/lib/models/types.ts +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +10 -99
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +52 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +32 -151
- package/components/common/vm/actions/common/select/name/New.vue +10 -70
- package/components/common/wizards/datastore/add/New.vue +8 -3
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +20 -6
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +9 -3
- package/components/common/wizards/datastore/add/steps/typeMode/TypeModeNew.vue +8 -3
- package/lib/models/interfaces.ts +1 -0
- package/package.json +2 -2
- package/components/common/backup/storage/actions/add/steps/common/tooltipInfo/TooltipInfo.vue +0 -94
- package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +0 -128
- package/components/common/wizards/datastore/add/steps/common/tooltipInfo/TooltipInfo.vue +0 -93
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="['error-info', { 'error-info-small': props.isSmall }]">
|
|
3
|
-
<ui-icon
|
|
4
|
-
:id="`task-error-info-icon-${props.id}`"
|
|
5
|
-
name="info"
|
|
6
|
-
width="16px"
|
|
7
|
-
height="16px"
|
|
8
|
-
:class="[
|
|
9
|
-
'info-icon pointer',
|
|
10
|
-
{ show: isShowInfo, 'in-collapse-content': props.inCollapseContent },
|
|
11
|
-
]"
|
|
12
|
-
@click.stop="emits('toggle-error', props.id)"
|
|
13
|
-
/>
|
|
14
|
-
<ui-popup-window
|
|
15
|
-
v-model="isShowInfo"
|
|
16
|
-
top
|
|
17
|
-
left
|
|
18
|
-
:elem-id="`task-error-info-icon-${props.id}`"
|
|
19
|
-
>
|
|
20
|
-
<div class="common-widget-info">
|
|
21
|
-
<div class="headline justify-between flex-align-center">
|
|
22
|
-
<div class="flex-align-center">
|
|
23
|
-
<ui-icon name="error" width="16px" height="16px" />
|
|
24
|
-
<span class="title">{{ localization.common.failureReason }}</span>
|
|
25
|
-
</div>
|
|
26
|
-
<ui-icon
|
|
27
|
-
name="close"
|
|
28
|
-
class="pointer hide-icon"
|
|
29
|
-
width="16px"
|
|
30
|
-
height="16px"
|
|
31
|
-
@click.stop="emits('toggle-error', '')"
|
|
32
|
-
/>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div class="common-widget-info-description">
|
|
36
|
-
{{ props.error }}
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</ui-popup-window>
|
|
40
|
-
</div>
|
|
41
|
-
</template>
|
|
42
|
-
|
|
43
|
-
<script lang="ts" setup>
|
|
44
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
45
|
-
|
|
46
|
-
const props = withDefaults(
|
|
47
|
-
defineProps<{
|
|
48
|
-
id: string
|
|
49
|
-
error: string
|
|
50
|
-
openedError: string
|
|
51
|
-
inCollapseContent?: boolean
|
|
52
|
-
isSmall?: boolean
|
|
53
|
-
}>(),
|
|
54
|
-
{
|
|
55
|
-
inCollapseContent: false,
|
|
56
|
-
isSmall: false,
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
61
|
-
|
|
62
|
-
const emits = defineEmits<{
|
|
63
|
-
(event: 'toggle-error', value: string): void
|
|
64
|
-
}>()
|
|
65
|
-
|
|
66
|
-
const isShowInfo = computed<boolean>({
|
|
67
|
-
get() {
|
|
68
|
-
return props.openedError === props.id
|
|
69
|
-
},
|
|
70
|
-
set() {
|
|
71
|
-
emits('toggle-error', '')
|
|
72
|
-
},
|
|
73
|
-
})
|
|
74
|
-
</script>
|
|
75
|
-
|
|
76
|
-
<style lang="scss" scoped>
|
|
77
|
-
.error-info {
|
|
78
|
-
display: flex;
|
|
79
|
-
justify-content: space-between;
|
|
80
|
-
margin-left: 8px;
|
|
81
|
-
|
|
82
|
-
&.error-info-small {
|
|
83
|
-
margin-left: 6px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.info-icon {
|
|
87
|
-
color: var(--form-icon-color);
|
|
88
|
-
|
|
89
|
-
&:hover {
|
|
90
|
-
color: var(--close-icon);
|
|
91
|
-
}
|
|
92
|
-
&.show {
|
|
93
|
-
color: var(--btn-primary-fill-bg-color);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.common-widget-info {
|
|
98
|
-
width: 232px;
|
|
99
|
-
padding: 16px;
|
|
100
|
-
|
|
101
|
-
.title {
|
|
102
|
-
font-size: 14px;
|
|
103
|
-
font-weight: 500;
|
|
104
|
-
line-height: 16px;
|
|
105
|
-
color: var(--zabbix-text-color);
|
|
106
|
-
margin-left: 8px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.hide-icon {
|
|
110
|
-
color: var(--alert-icon);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.common-widget-info-description {
|
|
114
|
-
font-size: 13px;
|
|
115
|
-
line-height: 15.73px;
|
|
116
|
-
color: var(--zabbix-text-color);
|
|
117
|
-
margin-top: 12px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
:deep(.in-collapse-content) {
|
|
123
|
-
path,
|
|
124
|
-
circle {
|
|
125
|
-
stroke-width: 1.4 !important;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
</style>
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="tooltip-info">
|
|
3
|
-
<ui-icon
|
|
4
|
-
:id="`${props.id}-info-trigger`"
|
|
5
|
-
name="info"
|
|
6
|
-
width="16"
|
|
7
|
-
height="16"
|
|
8
|
-
:class="['tooltip-info__icon pointer', { active: isShowInfo }]"
|
|
9
|
-
@click.stop="isShowInfo = !isShowInfo"
|
|
10
|
-
/>
|
|
11
|
-
<ui-popup-window
|
|
12
|
-
v-model="isShowInfo"
|
|
13
|
-
top
|
|
14
|
-
left
|
|
15
|
-
width="272px"
|
|
16
|
-
:elem-id="`${props.id}-info-trigger`"
|
|
17
|
-
>
|
|
18
|
-
<div class="common-widget-info">
|
|
19
|
-
<div class="flex justify-between">
|
|
20
|
-
<div class="flex">
|
|
21
|
-
<ui-icon name="info-2" width="16px" height="16px" />
|
|
22
|
-
<span class="title"> {{ localization.common.information }}</span>
|
|
23
|
-
</div>
|
|
24
|
-
<ui-icon
|
|
25
|
-
name="close"
|
|
26
|
-
class="pointer hide-icon"
|
|
27
|
-
width="16px"
|
|
28
|
-
height="16px"
|
|
29
|
-
@click.stop="isShowInfo = false"
|
|
30
|
-
/>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<div class="common-widget-info-description">
|
|
34
|
-
{{ props.description }}
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</ui-popup-window>
|
|
38
|
-
</div>
|
|
39
|
-
</template>
|
|
40
|
-
|
|
41
|
-
<script lang="ts" setup>
|
|
42
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
43
|
-
|
|
44
|
-
const props = defineProps<{
|
|
45
|
-
id: string
|
|
46
|
-
description: string
|
|
47
|
-
}>()
|
|
48
|
-
|
|
49
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
50
|
-
|
|
51
|
-
const isShowInfo = ref<boolean>(false)
|
|
52
|
-
</script>
|
|
53
|
-
|
|
54
|
-
<style lang="scss" scoped>
|
|
55
|
-
@import 'assets/scss/common/mixins.scss';
|
|
56
|
-
.tooltip-info {
|
|
57
|
-
@include flex($align: center);
|
|
58
|
-
&__icon {
|
|
59
|
-
color: var(--form-icon-color);
|
|
60
|
-
&:hover {
|
|
61
|
-
color: var(--close-icon);
|
|
62
|
-
}
|
|
63
|
-
&.active {
|
|
64
|
-
color: var(--btn-primary-fill-bg-color);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.common-widget-info {
|
|
69
|
-
padding: 16px;
|
|
70
|
-
|
|
71
|
-
.title {
|
|
72
|
-
font-size: 14px;
|
|
73
|
-
font-weight: 500;
|
|
74
|
-
line-height: 16px;
|
|
75
|
-
color: var(--zabbix-text-color);
|
|
76
|
-
margin-left: 8px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.common-widget-info-description {
|
|
80
|
-
font-size: 13px;
|
|
81
|
-
line-height: 15.73px;
|
|
82
|
-
color: var(--zabbix-text-color);
|
|
83
|
-
margin-top: 12px;
|
|
84
|
-
white-space: pre-line;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
svg {
|
|
88
|
-
color: var(--alert-icon);
|
|
89
|
-
min-width: 16px;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
</style>
|