bfg-common 1.5.92 → 1.5.94
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/scss/common/normalize.scss +347 -347
- package/components/atoms/alert/Notification.vue +169 -169
- package/components/atoms/autocomplete/Autocomplete.vue +361 -362
- package/components/atoms/collapse/CollapseNav.vue +169 -169
- package/components/atoms/comboDropdownMenu/ComboDropdownMenu.vue +357 -357
- package/components/atoms/combobox/Combobox.vue +154 -154
- package/components/atoms/datepicker/Datepicker.vue +639 -639
- package/components/atoms/dropdown/Portlet.vue +113 -113
- package/components/atoms/dropdown/dropdown/Dropdown.vue +168 -168
- package/components/atoms/dropdown/tree/Tree.vue +137 -137
- package/components/atoms/list/SelectList.vue +63 -63
- package/components/atoms/list/dragDropList/DragDropList.vue +148 -148
- package/components/atoms/modal/Modal.vue +250 -250
- package/components/atoms/modal/bySteps/BySteps.vue +253 -253
- package/components/atoms/notificationBar/NotificationBar.vue +178 -178
- package/components/atoms/popover/Popover.vue +58 -58
- package/components/atoms/popover/lib/models/interfaces.ts +4 -4
- package/components/atoms/select/TheSelect.vue +187 -187
- package/components/atoms/stack/StackBlock.vue +185 -185
- package/components/atoms/stack/StackContent.vue +63 -63
- package/components/atoms/step/lib/models/verticalStepItem.ts +5 -5
- package/components/atoms/switch/Switch.vue +111 -111
- package/components/atoms/table/compact/Compact.vue +529 -529
- package/components/atoms/table/dataGrid/DataGrid.vue +1716 -1713
- package/components/atoms/table/dataGrid/DataGridPage.vue +195 -195
- package/components/atoms/table/info/Info.vue +2 -2
- package/components/atoms/table/simpleEvent/SimpleEvent.vue +98 -98
- package/components/atoms/table/simpleInfo/SimpleInfo.vue +73 -73
- package/components/atoms/tabs/Tabs.vue +217 -217
- package/components/atoms/wizard/Wizard.vue +341 -341
- package/components/common/accordion/Recursion.vue +222 -222
- package/components/common/adapterManager/AddAdapterModal.vue +561 -561
- package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +30 -30
- package/components/common/adapterManager/ui/table/Table.vue +162 -162
- package/components/common/browse/BrowseNew.vue +237 -237
- package/components/common/browse/BrowseOld.vue +217 -217
- package/components/common/browse/blocks/TitleNew.vue +145 -145
- package/components/common/browse/blocks/TitleOld.vue +91 -91
- package/components/common/browse/blocks/contents/FilesOld.vue +72 -72
- package/components/common/chartOptionsModal/counters/timespan/form/FormNew.vue +262 -262
- package/components/common/context/Context.vue +111 -111
- package/components/common/context/recursion/RecursionOld.vue +228 -228
- package/components/common/details/DetailsItem.vue +109 -109
- package/components/common/feedback/Buttons.vue +229 -229
- package/components/common/feedback/Feedback.vue +270 -270
- package/components/common/feedback/Message.vue +519 -519
- package/components/common/graph/graphNew/GraphNew.vue +194 -194
- package/components/common/graph/lib/utils/renderGraph.ts +389 -389
- package/components/common/layout/theHeader/feedback/new/New.vue +227 -227
- package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +606 -606
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +98 -98
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +59 -59
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +43 -43
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +103 -103
- package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +112 -112
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +80 -80
- package/components/common/layout/theHeader/helpMenu/helpMenuOld/HelpMenuOld.vue +1 -1
- package/components/common/layout/theHeader/modals/Reconnect.vue +2 -2
- package/components/common/layout/theHeader/modals/RedirectLogin.vue +3 -3
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +8 -8
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordOld.vue +3 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageOld.vue +2 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleOld.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +2 -2
- package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
- package/components/common/layout/theHeader/userMenu/userMenuOld/UserMenuOld.vue +1 -1
- package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +2 -2
- package/components/common/modals/Rename.vue +2 -2
- package/components/common/modals/confirmByInput/ConfirmByInput.vue +2 -3
- package/components/common/modals/confirmByInput/ConfirmByInputOld.vue +3 -3
- package/components/common/modals/confirmation/ConfirmationOld.vue +1 -1
- package/components/common/modals/unsavedChanges/UnsavedChanges.vue +1 -1
- package/components/common/monitor/advanced/Advanced.vue +1 -1
- package/components/common/monitor/advanced/AdvancedNew.vue +1 -1
- package/components/common/monitor/advanced/AdvancedOld.vue +1 -1
- package/components/common/monitor/advanced/graphView/GraphViewNew.vue +1 -1
- package/components/common/monitor/advanced/graphView/GraphViewOld.vue +1 -1
- package/components/common/monitor/advanced/table/Table.vue +1 -1
- package/components/common/monitor/advanced/table/tableNew/TableNew.vue +2 -2
- package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +2 -2
- package/components/common/monitor/advanced/tools/ToolsOld.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/NotificationOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/config/tableConfig.ts +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +10 -3
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectNew/ObjectNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectOld/ObjectOld.vue +2 -2
- package/components/common/monitor/advanced/tools/lib/utils/countCores.ts +1 -1
- package/components/common/monitor/lib/models/interfaces.ts +1 -1
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModalOld.vue +3 -3
- package/components/common/monitor/overview/filters/customIntervalModal/customIntervalModalNew/CustomIntervalModalNew.vue +4 -3
- package/components/common/monitor/resourceAllocation/lib/models/interfaces.ts +8 -8
- package/components/common/monitor/resourceAllocation/resourceAllocation.vue +2 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +5 -5
- package/components/common/wizards/vm/migrate/Migrate.vue +39 -2
- package/components/common/wizards/vm/migrate/vmOrigin/VmOrigin.vue +92 -0
- package/components/common/wizards/vm/migrate/vmOrigin/lib/models/interfaces.ts +19 -0
- package/components/common/wizards/vm/migrate/vmOrigin/lib/utils/constructItems.ts +62 -0
- package/package.json +1 -1
|
@@ -1,169 +1,169 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="notification">
|
|
3
|
-
<div
|
|
4
|
-
:class="['notification-container-wrap animation', { active: isActive }]"
|
|
5
|
-
>
|
|
6
|
-
<div class="notification-container">
|
|
7
|
-
<div v-show="props.show" class="toast">
|
|
8
|
-
<atoms-the-icon
|
|
9
|
-
:name="iconName"
|
|
10
|
-
:class="['toast-icon', iconName !== 'info' && 'with']"
|
|
11
|
-
/>
|
|
12
|
-
<div class="toast-content">
|
|
13
|
-
<div class="flex-align-center flex-space-between">
|
|
14
|
-
<h4>{{ props.title }}</h4>
|
|
15
|
-
<button
|
|
16
|
-
:id="`${props.testId}-close-button`"
|
|
17
|
-
:data-id="`${props.testId}-close-button`"
|
|
18
|
-
:title="localization.common.closeNotification"
|
|
19
|
-
@click="hide"
|
|
20
|
-
>
|
|
21
|
-
<atoms-the-icon name="close" />
|
|
22
|
-
</button>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="description">
|
|
25
|
-
<slot>
|
|
26
|
-
<p class="pre-line">{{ props.description }}</p>
|
|
27
|
-
</slot>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</template>
|
|
35
|
-
|
|
36
|
-
<script setup lang="ts">
|
|
37
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
38
|
-
import type {
|
|
39
|
-
UI_T_NotificationStatus,
|
|
40
|
-
UI_T_NotificationIcon,
|
|
41
|
-
} from '~/components/atoms/alert/lib/models/types'
|
|
42
|
-
import { UI_E_IconsByStatusNotification } from '~/components/atoms/alert/lib/models/enums'
|
|
43
|
-
|
|
44
|
-
const props = withDefaults(
|
|
45
|
-
defineProps<{
|
|
46
|
-
status: UI_T_NotificationStatus
|
|
47
|
-
id: number
|
|
48
|
-
show: boolean
|
|
49
|
-
title: string
|
|
50
|
-
description: string
|
|
51
|
-
testId?: string
|
|
52
|
-
}>(),
|
|
53
|
-
{ testId: 'ui-notification' }
|
|
54
|
-
)
|
|
55
|
-
const emits = defineEmits<{
|
|
56
|
-
(event: 'hide', value: number): void
|
|
57
|
-
}>()
|
|
58
|
-
|
|
59
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
60
|
-
const hide = (): void => {
|
|
61
|
-
isActive.value = false
|
|
62
|
-
|
|
63
|
-
setTimeout(() => {
|
|
64
|
-
emits('hide', props.id)
|
|
65
|
-
}, 200)
|
|
66
|
-
}
|
|
67
|
-
const isActive = ref<boolean>(false)
|
|
68
|
-
|
|
69
|
-
const iconName = computed<UI_T_NotificationIcon>(
|
|
70
|
-
() => UI_E_IconsByStatusNotification[props.status as UI_T_NotificationStatus]
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
setTimeout(() => {
|
|
74
|
-
isActive.value = true
|
|
75
|
-
}, 1000)
|
|
76
|
-
</script>
|
|
77
|
-
|
|
78
|
-
<style scoped lang="scss">
|
|
79
|
-
@import '~/assets/scss/common/mixins.scss';
|
|
80
|
-
|
|
81
|
-
.notification {
|
|
82
|
-
.notification-container-wrap {
|
|
83
|
-
display: block;
|
|
84
|
-
margin-top: 10px;
|
|
85
|
-
width: 414px;
|
|
86
|
-
position: relative;
|
|
87
|
-
right: -600px;
|
|
88
|
-
opacity: 0;
|
|
89
|
-
|
|
90
|
-
&.active {
|
|
91
|
-
right: 0;
|
|
92
|
-
opacity: 1;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.notification-container {
|
|
96
|
-
@include flex($dir: column, $just: flex-end);
|
|
97
|
-
margin-right: 0;
|
|
98
|
-
|
|
99
|
-
.toast {
|
|
100
|
-
@include flex($dir: row);
|
|
101
|
-
background-color: #25333d;
|
|
102
|
-
border-radius: 3px;
|
|
103
|
-
box-shadow: 0 2px 10px rgb(0 0 0 / 40%);
|
|
104
|
-
margin: 0;
|
|
105
|
-
padding: 12px;
|
|
106
|
-
transform: scale(1);
|
|
107
|
-
transform-origin: 100% 0;
|
|
108
|
-
width: 100%;
|
|
109
|
-
|
|
110
|
-
.toast-icon {
|
|
111
|
-
width: 36px;
|
|
112
|
-
height: 36px;
|
|
113
|
-
&.with {
|
|
114
|
-
width: 26px;
|
|
115
|
-
height: 26px;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.toast-content {
|
|
120
|
-
padding-left: 12px;
|
|
121
|
-
width: 100%;
|
|
122
|
-
|
|
123
|
-
h4 {
|
|
124
|
-
color: #e9ecef;
|
|
125
|
-
font-size: 14px;
|
|
126
|
-
font-weight: 500;
|
|
127
|
-
line-height: 24px;
|
|
128
|
-
margin-top: 0;
|
|
129
|
-
max-width: 240px;
|
|
130
|
-
overflow: hidden;
|
|
131
|
-
text-overflow: ellipsis;
|
|
132
|
-
white-space: nowrap;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
button {
|
|
136
|
-
background: transparent;
|
|
137
|
-
border: none;
|
|
138
|
-
border-radius: 100%;
|
|
139
|
-
cursor: pointer;
|
|
140
|
-
display: inline-block;
|
|
141
|
-
height: 30px;
|
|
142
|
-
position: absolute;
|
|
143
|
-
right: 8px;
|
|
144
|
-
top: 8px;
|
|
145
|
-
width: 30px;
|
|
146
|
-
|
|
147
|
-
svg {
|
|
148
|
-
width: 16px;
|
|
149
|
-
height: 16px;
|
|
150
|
-
fill: #adbbc4;
|
|
151
|
-
margin-left: 1px;
|
|
152
|
-
margin-top: -8px;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.description {
|
|
157
|
-
max-height: 60vh;
|
|
158
|
-
overflow: auto;
|
|
159
|
-
|
|
160
|
-
p {
|
|
161
|
-
color: var(--global-font-color6);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="notification">
|
|
3
|
+
<div
|
|
4
|
+
:class="['notification-container-wrap animation', { active: isActive }]"
|
|
5
|
+
>
|
|
6
|
+
<div class="notification-container">
|
|
7
|
+
<div v-show="props.show" class="toast">
|
|
8
|
+
<atoms-the-icon
|
|
9
|
+
:name="iconName"
|
|
10
|
+
:class="['toast-icon', iconName !== 'info' && 'with']"
|
|
11
|
+
/>
|
|
12
|
+
<div class="toast-content">
|
|
13
|
+
<div class="flex-align-center flex-space-between">
|
|
14
|
+
<h4>{{ props.title }}</h4>
|
|
15
|
+
<button
|
|
16
|
+
:id="`${props.testId}-close-button`"
|
|
17
|
+
:data-id="`${props.testId}-close-button`"
|
|
18
|
+
:title="localization.common.closeNotification"
|
|
19
|
+
@click="hide"
|
|
20
|
+
>
|
|
21
|
+
<atoms-the-icon name="close" />
|
|
22
|
+
</button>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="description">
|
|
25
|
+
<slot>
|
|
26
|
+
<p class="pre-line">{{ props.description }}</p>
|
|
27
|
+
</slot>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script setup lang="ts">
|
|
37
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
38
|
+
import type {
|
|
39
|
+
UI_T_NotificationStatus,
|
|
40
|
+
UI_T_NotificationIcon,
|
|
41
|
+
} from '~/components/atoms/alert/lib/models/types'
|
|
42
|
+
import { UI_E_IconsByStatusNotification } from '~/components/atoms/alert/lib/models/enums'
|
|
43
|
+
|
|
44
|
+
const props = withDefaults(
|
|
45
|
+
defineProps<{
|
|
46
|
+
status: UI_T_NotificationStatus
|
|
47
|
+
id: number
|
|
48
|
+
show: boolean
|
|
49
|
+
title: string
|
|
50
|
+
description: string
|
|
51
|
+
testId?: string
|
|
52
|
+
}>(),
|
|
53
|
+
{ testId: 'ui-notification' }
|
|
54
|
+
)
|
|
55
|
+
const emits = defineEmits<{
|
|
56
|
+
(event: 'hide', value: number): void
|
|
57
|
+
}>()
|
|
58
|
+
|
|
59
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
60
|
+
const hide = (): void => {
|
|
61
|
+
isActive.value = false
|
|
62
|
+
|
|
63
|
+
setTimeout(() => {
|
|
64
|
+
emits('hide', props.id)
|
|
65
|
+
}, 200)
|
|
66
|
+
}
|
|
67
|
+
const isActive = ref<boolean>(false)
|
|
68
|
+
|
|
69
|
+
const iconName = computed<UI_T_NotificationIcon>(
|
|
70
|
+
() => UI_E_IconsByStatusNotification[props.status as UI_T_NotificationStatus]
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
setTimeout(() => {
|
|
74
|
+
isActive.value = true
|
|
75
|
+
}, 1000)
|
|
76
|
+
</script>
|
|
77
|
+
|
|
78
|
+
<style scoped lang="scss">
|
|
79
|
+
@import '~/assets/scss/common/mixins.scss';
|
|
80
|
+
|
|
81
|
+
.notification {
|
|
82
|
+
.notification-container-wrap {
|
|
83
|
+
display: block;
|
|
84
|
+
margin-top: 10px;
|
|
85
|
+
width: 414px;
|
|
86
|
+
position: relative;
|
|
87
|
+
right: -600px;
|
|
88
|
+
opacity: 0;
|
|
89
|
+
|
|
90
|
+
&.active {
|
|
91
|
+
right: 0;
|
|
92
|
+
opacity: 1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.notification-container {
|
|
96
|
+
@include flex($dir: column, $just: flex-end);
|
|
97
|
+
margin-right: 0;
|
|
98
|
+
|
|
99
|
+
.toast {
|
|
100
|
+
@include flex($dir: row);
|
|
101
|
+
background-color: #25333d;
|
|
102
|
+
border-radius: 3px;
|
|
103
|
+
box-shadow: 0 2px 10px rgb(0 0 0 / 40%);
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 12px;
|
|
106
|
+
transform: scale(1);
|
|
107
|
+
transform-origin: 100% 0;
|
|
108
|
+
width: 100%;
|
|
109
|
+
|
|
110
|
+
.toast-icon {
|
|
111
|
+
width: 36px;
|
|
112
|
+
height: 36px;
|
|
113
|
+
&.with {
|
|
114
|
+
width: 26px;
|
|
115
|
+
height: 26px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.toast-content {
|
|
120
|
+
padding-left: 12px;
|
|
121
|
+
width: 100%;
|
|
122
|
+
|
|
123
|
+
h4 {
|
|
124
|
+
color: #e9ecef;
|
|
125
|
+
font-size: 14px;
|
|
126
|
+
font-weight: 500;
|
|
127
|
+
line-height: 24px;
|
|
128
|
+
margin-top: 0;
|
|
129
|
+
max-width: 240px;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
text-overflow: ellipsis;
|
|
132
|
+
white-space: nowrap;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
button {
|
|
136
|
+
background: transparent;
|
|
137
|
+
border: none;
|
|
138
|
+
border-radius: 100%;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
display: inline-block;
|
|
141
|
+
height: 30px;
|
|
142
|
+
position: absolute;
|
|
143
|
+
right: 8px;
|
|
144
|
+
top: 8px;
|
|
145
|
+
width: 30px;
|
|
146
|
+
|
|
147
|
+
svg {
|
|
148
|
+
width: 16px;
|
|
149
|
+
height: 16px;
|
|
150
|
+
fill: #adbbc4;
|
|
151
|
+
margin-left: 1px;
|
|
152
|
+
margin-top: -8px;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.description {
|
|
157
|
+
max-height: 60vh;
|
|
158
|
+
overflow: auto;
|
|
159
|
+
|
|
160
|
+
p {
|
|
161
|
+
color: var(--global-font-color6);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
</style>
|