bfg-common 1.4.113 → 1.4.114
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/icons/icons-5.scss +28 -4
- package/components/common/layout/theHeader/TheHeaderNew.vue +12 -2
- package/components/common/layout/theHeader/ThemeSwitch.vue +8 -1
- package/components/common/layout/theHeader/helpMenu/helpMenuNew/HelpMenuNew.vue +8 -2
- package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +7 -1
- package/components/common/select/input/lib/models/interfaces.ts +0 -1
- package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +4 -3
- package/package.json +2 -2
- package/components/common/wizards/vmNew/common/computeResource/TreeView.vue +0 -61
- package/components/common/wizards/vmNew/common/tooltip/Tooltip.vue +0 -84
- package/components/common/wizards/vmNew/common/validation/compatibility/Compatibility.vue +0 -62
- package/components/common/wizards/vmNew/common/validation/lib/models/enums.ts +0 -5
- package/components/common/wizards/vmNew/migrate/Migrate.vue +0 -235
- package/components/common/wizards/vmNew/migrate/lib/config/constructDataReady.ts +0 -100
- package/components/common/wizards/vmNew/migrate/lib/config/steps.ts +0 -82
- package/components/common/wizards/vmNew/migrate/lib/models/enums.ts +0 -6
- package/components/common/wizards/vmNew/migrate/lib/models/interfaces.ts +0 -32
- package/components/common/wizards/vmNew/migrate/lib/utils.ts +0 -0
- package/components/common/wizards/vmNew/migrate/lib/validations.ts +0 -29
- package/components/common/wizards/vmNew/migrate/select/computeResource/ComputeResource.vue +0 -219
- package/components/common/wizards/vmNew/migrate/select/computeResource/lib/config/tabsPannel.ts +0 -28
- package/components/common/wizards/vmNew/migrate/select/computeResource/lib/models/enums.ts +0 -6
- package/components/common/wizards/vmNew/migrate/select/computeResource/lib/models/interfaces.ts +0 -30
- package/components/common/wizards/vmNew/migrate/select/computeResource/lib/models/types.ts +0 -12
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/TableView.vue +0 -143
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/config/clusterTable.ts +0 -113
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/config/hostTable.ts +0 -124
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/config/resourcePoolTable.ts +0 -115
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/config/tableKeys.ts +0 -65
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/config/vappsTable.ts +0 -66
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/models/interfaces.ts +0 -50
- package/components/common/wizards/vmNew/migrate/select/computeResource/tableView/lib/models/types.ts +0 -60
- package/components/common/wizards/vmNew/migrate/select/network/Network.vue +0 -125
- package/components/common/wizards/vmNew/migrate/select/network/table/network/Network.vue +0 -114
- package/components/common/wizards/vmNew/migrate/select/network/table/network/lib/config/advancedTable.ts +0 -78
- package/components/common/wizards/vmNew/migrate/select/network/table/network/lib/config/basicTable.ts +0 -70
- package/components/common/wizards/vmNew/migrate/select/network/table/network/lib/config/tableKeys.ts +0 -13
- package/components/common/wizards/vmNew/migrate/select/network/table/network/lib/models/interfaces.ts +0 -12
- package/components/common/wizards/vmNew/migrate/select/network/table/network/lib/models/types.ts +0 -21
- package/components/common/wizards/vmNew/migrate/select/network/table/useAt/UseAt.vue +0 -54
- package/components/common/wizards/vmNew/migrate/select/network/table/useAt/lib/config/tableKeys.ts +0 -7
- package/components/common/wizards/vmNew/migrate/select/network/table/useAt/lib/config/useAtTable.ts +0 -47
- package/components/common/wizards/vmNew/migrate/select/network/table/useAt/lib/models/interfaces.ts +0 -1
- package/components/common/wizards/vmNew/migrate/select/network/table/useAt/lib/models/types.ts +0 -5
- package/components/common/wizards/vmNew/migrate/select/priority/Priority.vue +0 -39
- package/components/common/wizards/vmNew/migrate/select/priority/lib/config/typeOptions.ts +0 -21
- package/components/common/wizards/vmNew/migrate/select/priority/lib/models/types.ts +0 -1
- package/components/common/wizards/vmNew/migrate/select/storage/Storage.vue +0 -206
- package/components/common/wizards/vmNew/migrate/select/storage/configure/batch/Batch.vue +0 -58
- package/components/common/wizards/vmNew/migrate/select/storage/configure/batch/config/virtualDiskFormat.ts +0 -30
- package/components/common/wizards/vmNew/migrate/select/storage/configure/batch/table/Table.vue +0 -118
- package/components/common/wizards/vmNew/migrate/select/storage/configure/batch/table/lib/config/datastoreTable.ts +0 -177
- package/components/common/wizards/vmNew/migrate/select/storage/configure/batch/table/lib/models/types.ts +0 -15
- package/components/common/wizards/vmNew/migrate/select/storage/configure/disk/Disk.vue +0 -68
- package/components/common/wizards/vmNew/migrate/select/storage/configure/disk/table/Table.vue +0 -74
- package/components/common/wizards/vmNew/migrate/select/storage/configure/disk/table/lib/config/diskTable.ts +0 -135
- package/components/common/wizards/vmNew/migrate/select/storage/configure/disk/table/lib/config/tableKeys.ts +0 -15
- package/components/common/wizards/vmNew/migrate/select/storage/configure/disk/table/lib/models/interfaces.ts +0 -24
- package/components/common/wizards/vmNew/migrate/select/storage/configure/disk/table/lib/models/types.ts +0 -13
- package/components/common/wizards/vmNew/migrate/select/storage/lib/config/tabsPannel.ts +0 -20
- package/components/common/wizards/vmNew/migrate/select/storage/lib/models/enums.ts +0 -6
- package/components/common/wizards/vmNew/migrate/select/storage/lib/models/interfaces.ts +0 -14
- package/components/common/wizards/vmNew/migrate/select/storage/lib/models/types.ts +0 -9
- package/components/common/wizards/vmNew/migrate/select/storage/policy/Policy.vue +0 -84
- package/components/common/wizards/vmNew/migrate/select/storage/selectedPerDisk/SelectedPerDisk.vue +0 -88
- package/components/common/wizards/vmNew/migrate/select/targetServer/lib/config/tabsPannel.ts +0 -18
- package/components/common/wizards/vmNew/migrate/select/targetServer/lib/models/types.ts +0 -1
- package/components/common/wizards/vmNew/migrate/select/targetServer/new/New.vue +0 -294
- package/components/common/wizards/vmNew/migrate/select/targetServer/new/lib/config/defaultForm.ts +0 -36
- package/components/common/wizards/vmNew/migrate/select/targetServer/new/lib/models/interfaces.ts +0 -13
- package/components/common/wizards/vmNew/migrate/select/targetServer/saved/Saved.vue +0 -27
- package/components/common/wizards/vmNew/migrate/select/targetServer/targetServer.vue +0 -41
- package/components/common/wizards/vmNew/migrate/select/type/Type.vue +0 -27
- package/components/common/wizards/vmNew/migrate/select/type/lib/config/typeOptions.ts +0 -41
- package/components/common/wizards/vmNew/migrate/select/type/lib/models/interfaces.ts +0 -5
- package/components/common/wizards/vmNew/migrate/select/type/lib/models/types.ts +0 -5
|
@@ -133,10 +133,12 @@
|
|
|
133
133
|
.icon-calendar-years {
|
|
134
134
|
background-position: 0 73.4%;
|
|
135
135
|
}
|
|
136
|
-
.icon-folder-warning
|
|
136
|
+
.icon-folder-warning,
|
|
137
|
+
.vsphere-icon-folder-warning {
|
|
137
138
|
background-position: 0 74.6%;
|
|
138
139
|
}
|
|
139
|
-
.icon-folder-error
|
|
140
|
+
.icon-folder-error,
|
|
141
|
+
.vsphere-icon-folder-error {
|
|
140
142
|
background-position: 0 75.9%;
|
|
141
143
|
}
|
|
142
144
|
.icon-file {
|
|
@@ -166,15 +168,19 @@
|
|
|
166
168
|
.icon-log-file-error {
|
|
167
169
|
background-position: 0 87.3%;
|
|
168
170
|
}
|
|
169
|
-
.vx-icon-memory-warning
|
|
171
|
+
.vx-icon-memory-warning,
|
|
172
|
+
.icon-vSphere-dsVmNvram-warning {
|
|
170
173
|
background-position: 0 88.6%;
|
|
171
174
|
}
|
|
172
|
-
.vx-icon-memory-error
|
|
175
|
+
.vx-icon-memory-error
|
|
176
|
+
.icon-vSphere-dsVmNvram-error {
|
|
173
177
|
background-position: 0 89.8%;
|
|
174
178
|
}
|
|
179
|
+
.icon-vSphere-dsIsoImage-warning,
|
|
175
180
|
.icon-ds-iso-image-warning {
|
|
176
181
|
background-position: 0 91.1%;
|
|
177
182
|
}
|
|
183
|
+
.icon-vSphere-dsIsoImage-error,
|
|
178
184
|
.icon-ds-iso-image-error {
|
|
179
185
|
background-position: 0 92.4%;
|
|
180
186
|
}
|
|
@@ -243,6 +249,8 @@
|
|
|
243
249
|
.icon-calendar-years,
|
|
244
250
|
.icon-folder-warning,
|
|
245
251
|
.icon-folder-error,
|
|
252
|
+
.vsphere-icon-folder-warning,
|
|
253
|
+
.vsphere-icon-folder-error,
|
|
246
254
|
.icon-file,
|
|
247
255
|
.icon-file-warning,
|
|
248
256
|
.icon-file-error,
|
|
@@ -254,6 +262,10 @@
|
|
|
254
262
|
.icon-log-file-error,
|
|
255
263
|
.vx-icon-memory-warning,
|
|
256
264
|
.vx-icon-memory-error,
|
|
265
|
+
.icon-vSphere-dsVmNvram-warning,
|
|
266
|
+
.icon-vSphere-dsVmNvram-error,
|
|
267
|
+
.icon-vSphere-dsIsoImage-warning,
|
|
268
|
+
.icon-vSphere-dsIsoImage-error,
|
|
257
269
|
.icon-ds-iso-image-warning,
|
|
258
270
|
.icon-ds-iso-image-error,
|
|
259
271
|
.icon-temporary-file,
|
|
@@ -314,6 +326,8 @@
|
|
|
314
326
|
.active .icon-calendar-years,
|
|
315
327
|
.active .icon-folder-warning,
|
|
316
328
|
.active .icon-folder-error,
|
|
329
|
+
.active .vsphere-icon-folder-warning,
|
|
330
|
+
.active .vsphere-icon-folder-error,
|
|
317
331
|
.active .icon-file,
|
|
318
332
|
.active .icon-file-warning,
|
|
319
333
|
.active .icon-file-error,
|
|
@@ -325,6 +339,10 @@
|
|
|
325
339
|
.active .icon-log-file-error,
|
|
326
340
|
.active .vx-icon-memory-warning,
|
|
327
341
|
.active .vx-icon-memory-error,
|
|
342
|
+
.active .icon-vSphere-dsVmNvram-warning,
|
|
343
|
+
.active .icon-vSphere-dsVmNvram-error,
|
|
344
|
+
.active .icon-vSphere-dsIsoImage-warning,
|
|
345
|
+
.active .icon-vSphere-dsIsoImage-error,
|
|
328
346
|
.active .icon-ds-iso-image-warning,
|
|
329
347
|
.active .icon-ds-iso-image-error,
|
|
330
348
|
.active .icon-temporary-file,
|
|
@@ -387,6 +405,8 @@
|
|
|
387
405
|
.icon-calendar-years,
|
|
388
406
|
.icon-folder-warning,
|
|
389
407
|
.icon-folder-error,
|
|
408
|
+
.vsphere-icon-folder-warning,
|
|
409
|
+
.vsphere-icon-folder-error,
|
|
390
410
|
.icon-file,
|
|
391
411
|
.icon-file-warning,
|
|
392
412
|
.icon-file-error,
|
|
@@ -398,6 +418,10 @@
|
|
|
398
418
|
.icon-log-file-error,
|
|
399
419
|
.vx-icon-memory-warning,
|
|
400
420
|
.vx-icon-memory-error,
|
|
421
|
+
.icon-vSphere-dsVmNvram-warning,
|
|
422
|
+
.icon-vSphere-dsVmNvram-error,
|
|
423
|
+
.icon-vSphere-dsIsoImage-warning,
|
|
424
|
+
.icon-vSphere-dsIsoImage-error,
|
|
401
425
|
.icon-ds-iso-image-warning,
|
|
402
426
|
.icon-ds-iso-image-error,
|
|
403
427
|
.icon-temporary-file,
|
|
@@ -29,7 +29,11 @@
|
|
|
29
29
|
</button>
|
|
30
30
|
</div>
|
|
31
31
|
</template>
|
|
32
|
-
<template #content>
|
|
32
|
+
<template #content>
|
|
33
|
+
<span class="header-tooltip-text">{{
|
|
34
|
+
localization.common.menu
|
|
35
|
+
}}</span>
|
|
36
|
+
</template>
|
|
33
37
|
</ui-tooltip>
|
|
34
38
|
<nuxt-link
|
|
35
39
|
id="header-shortcuts-link"
|
|
@@ -77,7 +81,9 @@
|
|
|
77
81
|
</div>
|
|
78
82
|
</template>
|
|
79
83
|
<template #content>
|
|
80
|
-
|
|
84
|
+
<span class="header-tooltip-text">
|
|
85
|
+
{{ localization.common.refresh }}
|
|
86
|
+
</span>
|
|
81
87
|
</template>
|
|
82
88
|
</ui-tooltip>
|
|
83
89
|
<div class="divider" />
|
|
@@ -193,6 +199,10 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
193
199
|
display: flex;
|
|
194
200
|
justify-content: space-between;
|
|
195
201
|
|
|
202
|
+
.header-tooltip-text {
|
|
203
|
+
font-size: 12px;
|
|
204
|
+
font-weight: 500;
|
|
205
|
+
}
|
|
196
206
|
.left-content {
|
|
197
207
|
display: flex;
|
|
198
208
|
align-items: center;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
</template>
|
|
24
24
|
<template #content>
|
|
25
|
-
<span class="text-nowrap">
|
|
25
|
+
<span class="text-nowrap header-tooltip-text">
|
|
26
26
|
{{ tooltipText }}
|
|
27
27
|
</span>
|
|
28
28
|
</template>
|
|
@@ -57,3 +57,10 @@ const tooltipText = computed<string>(() =>
|
|
|
57
57
|
: localization.value.layout.lightMode
|
|
58
58
|
)
|
|
59
59
|
</script>
|
|
60
|
+
|
|
61
|
+
<style scoped lang="scss">
|
|
62
|
+
.header-tooltip-text {
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
>
|
|
21
21
|
<span class="help-icon-container">
|
|
22
22
|
<ui-icon-main-navigation-panel
|
|
23
|
-
name="icon-help"
|
|
23
|
+
name="icon-help-2"
|
|
24
24
|
width="24"
|
|
25
25
|
height="24"
|
|
26
26
|
/>
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
</div>
|
|
33
33
|
</template>
|
|
34
34
|
<template #content>
|
|
35
|
-
{{
|
|
35
|
+
<span class="header-tooltip-text">{{
|
|
36
|
+
localization.mainNavigation.help
|
|
37
|
+
}}</span>
|
|
36
38
|
</template>
|
|
37
39
|
</ui-tooltip>
|
|
38
40
|
</div>
|
|
@@ -114,6 +116,10 @@ const onSelectDropdown = (value: string): void => {
|
|
|
114
116
|
|
|
115
117
|
<style scoped lang="scss">
|
|
116
118
|
.help-menu-content {
|
|
119
|
+
.header-tooltip-text {
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
font-weight: 500;
|
|
122
|
+
}
|
|
117
123
|
.help-menu-dropdown-toggle {
|
|
118
124
|
border: unset;
|
|
119
125
|
padding: 0;
|
|
@@ -29,7 +29,9 @@
|
|
|
29
29
|
</div>
|
|
30
30
|
</template>
|
|
31
31
|
<template #content>
|
|
32
|
-
{{
|
|
32
|
+
<span class="header-tooltip-text">{{
|
|
33
|
+
localization.layout.myAccount
|
|
34
|
+
}}</span>
|
|
33
35
|
</template>
|
|
34
36
|
</ui-tooltip>
|
|
35
37
|
</div>
|
|
@@ -98,6 +100,10 @@ const onSelectDropdown = (value: string): void => {
|
|
|
98
100
|
|
|
99
101
|
<style lang="scss">
|
|
100
102
|
.user-menu-content {
|
|
103
|
+
.header-tooltip-text {
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
}
|
|
101
107
|
.user-menu-dropdown-toggle {
|
|
102
108
|
border: unset;
|
|
103
109
|
padding: 0;
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
>
|
|
91
91
|
<div class="flex-align-center input-action-wrapper">
|
|
92
92
|
<input
|
|
93
|
-
id="configuration-
|
|
93
|
+
id="configuration-server-input"
|
|
94
94
|
v-model="model.server"
|
|
95
|
-
data-id="configuration-
|
|
95
|
+
data-id="configuration-server-input"
|
|
96
96
|
type="text"
|
|
97
97
|
class="clr-input"
|
|
98
98
|
@blur="initValidation(true, ['server'])"
|
|
@@ -124,13 +124,14 @@ import type {
|
|
|
124
124
|
} from '~/lib/models/interfaces'
|
|
125
125
|
import type { UI_I_ErrorFields } from '~/components/atoms/wizard/lib/models/interfaces'
|
|
126
126
|
import type { UI_I_InitialValidationFields } from '~/components/common/wizards/datastore/add/nfs/configuration/lib/models/interfaces'
|
|
127
|
+
import type { UI_I_CreateDatastoreForm } from '~/components/common/wizards/datastore/add/lib/models/interfaces'
|
|
127
128
|
|
|
128
129
|
const props = defineProps<{
|
|
129
130
|
project: UI_T_Project
|
|
130
131
|
alertMessages: string[]
|
|
131
132
|
messagesFields: UI_I_ArbitraryObject<UI_I_ErrorFields>
|
|
132
133
|
}>()
|
|
133
|
-
const model = defineModel<
|
|
134
|
+
const model = defineModel<UI_I_CreateDatastoreForm>({ required: true })
|
|
134
135
|
const emits = defineEmits<{
|
|
135
136
|
(event: 'hide-alert', value: number): void
|
|
136
137
|
}>()
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bfg-common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.114",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "nuxt build",
|
|
7
7
|
"dev": "nuxt dev --port=3002",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@vueuse/components": "^10.1.2",
|
|
36
36
|
"date-fns": "^2.29.3",
|
|
37
37
|
"bfg-nuxt-3-graph": "1.0.15",
|
|
38
|
-
"bfg-uikit": "1.0.
|
|
38
|
+
"bfg-uikit": "1.0.97",
|
|
39
39
|
"html2canvas": "^1.4.1",
|
|
40
40
|
"prettier-eslint": "^15.0.1"
|
|
41
41
|
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="tree-view">
|
|
3
|
-
<atoms-loader-pre-loader
|
|
4
|
-
v-show="loading"
|
|
5
|
-
id="loader"
|
|
6
|
-
class="absolute-center tree-view__loading"
|
|
7
|
-
:show="true"
|
|
8
|
-
/>
|
|
9
|
-
<common-recursion-tree
|
|
10
|
-
:nodes="props.computeResourceTree"
|
|
11
|
-
class="recursion-tree"
|
|
12
|
-
@get-nodes="onShowNodes"
|
|
13
|
-
@select-node="onSelectNode"
|
|
14
|
-
@contextmenu.prevent
|
|
15
|
-
/>
|
|
16
|
-
</div>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<script setup lang="ts">
|
|
20
|
-
import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
|
|
21
|
-
|
|
22
|
-
const props = defineProps<{
|
|
23
|
-
modelValue: UI_I_TreeNode | null
|
|
24
|
-
computeResourceTree: UI_I_TreeNode[]
|
|
25
|
-
}>()
|
|
26
|
-
|
|
27
|
-
const emits = defineEmits<{
|
|
28
|
-
(event: 'update:modelValue', value: UI_I_TreeNode): void
|
|
29
|
-
(
|
|
30
|
-
event: 'get-compute-resource-tree',
|
|
31
|
-
value: { id: string | number; cb: () => void }
|
|
32
|
-
): void
|
|
33
|
-
(event: 'show-compute-resource-tree', value: UI_I_TreeNode): void
|
|
34
|
-
(event: 'select-compute-resource-tree', value: UI_I_TreeNode): void
|
|
35
|
-
(event: 'clear-compute-resource-tree'): void
|
|
36
|
-
}>()
|
|
37
|
-
|
|
38
|
-
const loading = ref<boolean>(false)
|
|
39
|
-
const onShowNodes = (event: any): void => {
|
|
40
|
-
emits('show-compute-resource-tree', event)
|
|
41
|
-
}
|
|
42
|
-
const onSelectNode = (node: UI_I_TreeNode): void => {
|
|
43
|
-
emits('select-compute-resource-tree', node)
|
|
44
|
-
|
|
45
|
-
emits('update:modelValue', node)
|
|
46
|
-
}
|
|
47
|
-
</script>
|
|
48
|
-
|
|
49
|
-
<style scoped lang="scss">
|
|
50
|
-
.tree-view {
|
|
51
|
-
&__loading {
|
|
52
|
-
:deep(.spinner.spinner-inverse) {
|
|
53
|
-
position: static;
|
|
54
|
-
width: 45px;
|
|
55
|
-
height: 45px;
|
|
56
|
-
min-width: 45px;
|
|
57
|
-
min-height: 45px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
</style>
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<td :id="tooltipTestId" class="sign-post">
|
|
3
|
-
<a
|
|
4
|
-
v-if="props.isShowElement"
|
|
5
|
-
href="javascript:void(0)"
|
|
6
|
-
data-id="show-find-help-button"
|
|
7
|
-
@click.stop="isShowTooltip = !isShowTooltip"
|
|
8
|
-
>{{ localization.common.vmOrigin }}
|
|
9
|
-
</a>
|
|
10
|
-
<atoms-the-icon
|
|
11
|
-
id="help-tooltip-icon"
|
|
12
|
-
data-id="show-help-tooltip-icon"
|
|
13
|
-
class="info-icon"
|
|
14
|
-
name="info-circle"
|
|
15
|
-
@click.stop="isShowTooltip = !isShowTooltip"
|
|
16
|
-
/>
|
|
17
|
-
|
|
18
|
-
<atoms-tooltip-signpost
|
|
19
|
-
v-if="isShowTooltip"
|
|
20
|
-
:elem-id="tooltipTestId"
|
|
21
|
-
class="sign-post__content"
|
|
22
|
-
@hide="isShowTooltip = false"
|
|
23
|
-
>
|
|
24
|
-
<slot name="content"> </slot>
|
|
25
|
-
</atoms-tooltip-signpost>
|
|
26
|
-
</td>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script lang="ts" setup>
|
|
30
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
-
|
|
32
|
-
const props = withDefaults(
|
|
33
|
-
defineProps<{
|
|
34
|
-
testId?: string
|
|
35
|
-
isShowElement?: boolean
|
|
36
|
-
}>(),
|
|
37
|
-
{
|
|
38
|
-
testId: 'tooltip',
|
|
39
|
-
isShowElement: false,
|
|
40
|
-
}
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
-
|
|
45
|
-
const tooltipTestId = computed<string>(
|
|
46
|
-
() => `${props.testId}-configure-navigation`
|
|
47
|
-
)
|
|
48
|
-
|
|
49
|
-
const isShowTooltip = ref<boolean>(false)
|
|
50
|
-
</script>
|
|
51
|
-
|
|
52
|
-
<style lang="scss" scoped>
|
|
53
|
-
@import '../../../../../../assets/scss/common/mixins';
|
|
54
|
-
.sign-post {
|
|
55
|
-
@include flex($align: center);
|
|
56
|
-
padding-left: 6px;
|
|
57
|
-
margin-top: 5px;
|
|
58
|
-
&__content {
|
|
59
|
-
max-width: 350px;
|
|
60
|
-
}
|
|
61
|
-
&__alert {
|
|
62
|
-
:deep(.alert-items) {
|
|
63
|
-
padding: 3px 5px;
|
|
64
|
-
}
|
|
65
|
-
:deep(.alert-text) {
|
|
66
|
-
@include text($fs: 11px, $c: var(--global-font-color2));
|
|
67
|
-
margin-right: 0;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
&__title {
|
|
71
|
-
@include text($fs: 22px, $fw: 300, $c: var(--global-font-color));
|
|
72
|
-
}
|
|
73
|
-
&__desc {
|
|
74
|
-
@include text($fs: 14px, $fw: 400, $c: var(--global-font-color));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.info-icon {
|
|
78
|
-
width: 24px;
|
|
79
|
-
height: 24px;
|
|
80
|
-
fill: var(--dropdown-item-color);
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
</style>
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="compatibility">
|
|
3
|
-
<p class="compatibility__title">{{ localization.inventorySummary.compatibility }}</p>
|
|
4
|
-
<div class="flex-align-center compatibility__content">
|
|
5
|
-
<template v-if="!props.loading">
|
|
6
|
-
<div class="compatibility__message">
|
|
7
|
-
<div :class="['icon', iconStatus]" />
|
|
8
|
-
<span>{{ validationText }}</span>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts" setup>
|
|
16
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
17
|
-
import { UI_E_ValidationCompatibilityStatusIcon } from '~/components/common/wizards/vm/common/validation/lib/models/enums'
|
|
18
|
-
|
|
19
|
-
const props = withDefaults(
|
|
20
|
-
defineProps<{
|
|
21
|
-
loading?: boolean
|
|
22
|
-
text: string
|
|
23
|
-
status: 'Error' | 'Success' | 'Warning'
|
|
24
|
-
}>(),
|
|
25
|
-
{
|
|
26
|
-
loading: true,
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
31
|
-
|
|
32
|
-
const iconStatus = computed<string>(
|
|
33
|
-
() => UI_E_ValidationCompatibilityStatusIcon[props.status]
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
const validationText = computed<string>(() => localization.value.common[props.text])
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<style lang="scss" scoped>
|
|
40
|
-
@import 'assets/scss/common/mixins';
|
|
41
|
-
.compatibility {
|
|
42
|
-
padding-top: 10px;
|
|
43
|
-
|
|
44
|
-
&__title {
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__content {
|
|
48
|
-
align-items: self-start;
|
|
49
|
-
border: 1px solid #000;
|
|
50
|
-
padding-top: 5px;
|
|
51
|
-
padding-left: 5px;
|
|
52
|
-
overflow: auto;
|
|
53
|
-
min-height: 75px;
|
|
54
|
-
}
|
|
55
|
-
&__message {
|
|
56
|
-
@include flex($align: center);
|
|
57
|
-
.icon {
|
|
58
|
-
margin-right: 5px;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
</style>
|