bfg-common 1.3.594 → 1.3.596
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 +123 -96
- package/assets/localization/local_en.json +123 -96
- package/assets/localization/local_hy.json +123 -96
- package/assets/localization/local_kk.json +123 -96
- package/assets/localization/local_ru.json +126 -96
- package/assets/localization/local_zh.json +123 -96
- package/components/atoms/TheIcon2.vue +1366 -1366
- package/components/atoms/modal/bySteps/BySteps.vue +1 -1
- package/components/atoms/modal/byStepsSecond/ByStepsSecond.vue +1 -1
- package/components/atoms/table/dataGrid/DataGridPagination.vue +1 -1
- package/components/atoms/wizard/Wizard.vue +1 -1
- package/components/common/adapterManager/ui/table/Header.vue +1 -1
- package/components/common/browse/Browse.vue +240 -240
- package/components/common/browse/blocks/Title.vue +91 -91
- package/components/common/browse/blocks/info/Date.vue +21 -21
- package/components/common/context/recursion/Recursion.vue +86 -86
- package/components/common/context/recursion/RecursionNew.vue +198 -198
- package/components/common/context/recursion/RecursionOld.vue +212 -212
- package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +6 -6
- package/components/common/diagramMain/modals/lib/config/adapterModal.ts +1 -1
- package/components/common/diagramMain/modals/lib/config/networkModal.ts +4 -4
- package/components/common/diagramMain/modals/lib/config/switchModal.ts +4 -4
- package/components/common/layout/theHeader/feedback/Feedback.vue +1 -1
- package/components/common/layout/theHeader/helpMenu/About.vue +4 -4
- package/components/common/layout/theHeader/helpMenu/helpMenuNew/lib/config/dropMenu.ts +2 -2
- package/components/common/layout/theHeader/helpMenu/helpMenuOld/lib/config/dropMenu.ts +2 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/lib/config/preferencesTabs.ts +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/tableConfig.ts +1 -1
- package/components/common/pages/Tasks.vue +2 -2
- package/components/common/pages/hardwareHealth/tableView/lib/config/storageSensorTable.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/systemLogTable.ts +1 -1
- package/components/common/shortcuts/Shortcuts.vue +1 -1
- package/components/common/split/horizontal/HorizontalNew.vue +321 -321
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/BrowseView.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuModel.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +1 -1
- package/components/common/vm/actions/common/select/storage/lib/config/config.ts +1 -1
- package/components/common/wizards/datastore/add/Add.vue +437 -437
- package/components/common/wizards/datastore/add/readyComplete/ReadyComplete.vue +95 -95
- package/components/common/wizards/vm/migrate/select/storage/table/datastore/lib/config/config.ts +1 -1
- package/components/common/wizards/vm/migrate/select/targetServer/new/lib/config/defaultForm.ts +3 -3
- package/composables/productNameLocal.ts +31 -6
- package/composables/useEnvLanguage.ts +2 -2
- package/lib/models/interfaces.ts +16 -3
- package/lib/models/types.ts +24 -1
- package/lib/utils/sendTask.ts +1 -1
- package/package.json +2 -2
- package/plugins/recursion.ts +293 -293
- package/store/tasks/mappers/recentTasks.ts +45 -45
|
@@ -1,212 +1,212 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ul class="context-wrap">
|
|
3
|
-
<span v-if="props.isLoading">
|
|
4
|
-
<atoms-loader-pre-loader
|
|
5
|
-
id="loader"
|
|
6
|
-
class="absolute-center context-menu__loading"
|
|
7
|
-
:show="true"
|
|
8
|
-
/>
|
|
9
|
-
</span>
|
|
10
|
-
<li
|
|
11
|
-
v-for="(item, key) in props.items"
|
|
12
|
-
:key="key"
|
|
13
|
-
:class="[
|
|
14
|
-
'menu-item',
|
|
15
|
-
{ disabled: item.disabled || isLoading },
|
|
16
|
-
{ 'item-header': item.isHeader },
|
|
17
|
-
{ 'has-border-top': item.hasBorderTop },
|
|
18
|
-
]"
|
|
19
|
-
@mouseenter="emits('toggle-items', [item, true, $event])"
|
|
20
|
-
@mouseleave="emits('toggle-items', [item, false, $event])"
|
|
21
|
-
>
|
|
22
|
-
<span
|
|
23
|
-
class="context-link"
|
|
24
|
-
:data-id="`${item.testId}-context-link`"
|
|
25
|
-
@mousedown="emits('select-item', item)"
|
|
26
|
-
>
|
|
27
|
-
<span :class="['context-icon', item.iconClassName]" />
|
|
28
|
-
<span class="menu-item-text">{{ item.name }}</span>
|
|
29
|
-
<span v-if="item.items.length" class="arrow-icon" />
|
|
30
|
-
<span v-if="item.shortcut" class="shortcut">{{ item.shortcut }}</span>
|
|
31
|
-
</span>
|
|
32
|
-
|
|
33
|
-
<div class="context-children">
|
|
34
|
-
<common-context-recursion
|
|
35
|
-
v-show="item.isShowItems"
|
|
36
|
-
:action-loading="props.actionLoading"
|
|
37
|
-
:class="[{ 'child-show': item.isShowItems }]"
|
|
38
|
-
:items="item.items"
|
|
39
|
-
@select-item="emits('select-item', $event)"
|
|
40
|
-
/>
|
|
41
|
-
</div>
|
|
42
|
-
</li>
|
|
43
|
-
</ul>
|
|
44
|
-
</template>
|
|
45
|
-
|
|
46
|
-
<script setup lang="ts">
|
|
47
|
-
import type { UI_I_ContextMenuItem } from '~/components/common/context/lib/models/interfaces'
|
|
48
|
-
import type { I_HTMLLiElement } from '~/components/common/context/recursion/lib/models/interfaces'
|
|
49
|
-
|
|
50
|
-
const props = defineProps<{
|
|
51
|
-
items: UI_I_ContextMenuItem[]
|
|
52
|
-
actionLoading: string | null
|
|
53
|
-
isLoading: boolean
|
|
54
|
-
testId?: string
|
|
55
|
-
}>()
|
|
56
|
-
|
|
57
|
-
const emits = defineEmits<{
|
|
58
|
-
(event: 'select-item', value: UI_I_ContextMenuItem): void
|
|
59
|
-
(
|
|
60
|
-
event: 'toggle-items',
|
|
61
|
-
value: [UI_I_ContextMenuItem, boolean, I_HTMLLiElement]
|
|
62
|
-
): void
|
|
63
|
-
}>()
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style scoped lang="scss">
|
|
67
|
-
.loader-wrapper {
|
|
68
|
-
width: 100%;
|
|
69
|
-
height: 100%;
|
|
70
|
-
z-index: 100;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.context-menu__loading {
|
|
74
|
-
:deep(.spinner) {
|
|
75
|
-
width: 45px;
|
|
76
|
-
height: 45px;
|
|
77
|
-
min-width: 45px;
|
|
78
|
-
min-height: 45px;
|
|
79
|
-
z-index: 1000;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
.context-wrap {
|
|
83
|
-
width: auto;
|
|
84
|
-
max-width: 400px;
|
|
85
|
-
background: var(--global-bg-color);
|
|
86
|
-
border-radius: 0;
|
|
87
|
-
color: #333;
|
|
88
|
-
border: 1px solid var(--context-menu-border-color);
|
|
89
|
-
user-select: none;
|
|
90
|
-
list-style: none;
|
|
91
|
-
max-height: 100vh;
|
|
92
|
-
overflow-y: auto;
|
|
93
|
-
|
|
94
|
-
.menu-item {
|
|
95
|
-
position: relative;
|
|
96
|
-
color: #565656;
|
|
97
|
-
border-bottom: 1px solid transparent;
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
padding: 5px 0 3px;
|
|
100
|
-
|
|
101
|
-
&.has-border-top {
|
|
102
|
-
border-top: 1px solid var(--context-menu-inset-border-color);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&.item-header {
|
|
106
|
-
font-size: 11px;
|
|
107
|
-
background-color: var(--context-menu-item-header-color);
|
|
108
|
-
cursor: default;
|
|
109
|
-
}
|
|
110
|
-
&:not(.item-header):not(.disabled):hover {
|
|
111
|
-
background-color: var(--context-menu-hover-bg-color);
|
|
112
|
-
color: #454545;
|
|
113
|
-
border-bottom: 1px solid var(--context-menu-hover-border-color);
|
|
114
|
-
}
|
|
115
|
-
&.disabled {
|
|
116
|
-
opacity: 0.5;
|
|
117
|
-
user-select: none;
|
|
118
|
-
cursor: default;
|
|
119
|
-
}
|
|
120
|
-
&.left {
|
|
121
|
-
:deep(.context-children) {
|
|
122
|
-
left: 0;
|
|
123
|
-
background: red;
|
|
124
|
-
|
|
125
|
-
.context-wrap {
|
|
126
|
-
transform: translateX(-100%);
|
|
127
|
-
left: auto;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.context-link {
|
|
133
|
-
position: relative;
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
text-overflow: ellipsis;
|
|
136
|
-
white-space: nowrap;
|
|
137
|
-
display: flex;
|
|
138
|
-
align-items: center;
|
|
139
|
-
user-select: none;
|
|
140
|
-
padding: 3px 20px 4px 10px;
|
|
141
|
-
|
|
142
|
-
.menu-item-text {
|
|
143
|
-
flex: 1 1 0;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.context-icon {
|
|
147
|
-
display: inline-block;
|
|
148
|
-
margin: -2px 4px 0 0;
|
|
149
|
-
vertical-align: middle;
|
|
150
|
-
width: 18px;
|
|
151
|
-
height: 18px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.arrow-icon {
|
|
155
|
-
position: absolute;
|
|
156
|
-
top: 50%;
|
|
157
|
-
margin-top: -8px;
|
|
158
|
-
right: 4px;
|
|
159
|
-
background-image: url('assets/img/icons/sprite.png');
|
|
160
|
-
display: inline-block;
|
|
161
|
-
width: 16px;
|
|
162
|
-
height: 16px;
|
|
163
|
-
overflow: hidden;
|
|
164
|
-
background-repeat: no-repeat;
|
|
165
|
-
font-size: 0;
|
|
166
|
-
line-height: 0;
|
|
167
|
-
text-align: center;
|
|
168
|
-
transform: rotate(90deg);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.shortcut {
|
|
172
|
-
padding-left: 10px;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.context-children {
|
|
177
|
-
position: absolute;
|
|
178
|
-
top: 0;
|
|
179
|
-
left: 100%;
|
|
180
|
-
|
|
181
|
-
.context-wrap {
|
|
182
|
-
position: fixed;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
.context-menu__loading {
|
|
188
|
-
:deep(.spinner) {
|
|
189
|
-
width: 45px;
|
|
190
|
-
height: 45px;
|
|
191
|
-
min-width: 45px;
|
|
192
|
-
min-height: 45px;
|
|
193
|
-
z-index: 1000;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
</style>
|
|
197
|
-
<style>
|
|
198
|
-
:root {
|
|
199
|
-
--context-menu-hover-bg-color: #e8e8e8;
|
|
200
|
-
--context-menu-border-color: #949494;
|
|
201
|
-
--context-menu-inset-border-color: #d4d5d6;
|
|
202
|
-
--context-menu-item-header-color: #eceff2;
|
|
203
|
-
--context-menu-hover-border-color: #666;
|
|
204
|
-
}
|
|
205
|
-
:root.dark-theme {
|
|
206
|
-
--context-menu-hover-bg-color: #324f61;
|
|
207
|
-
--context-menu-border-color: #495865;
|
|
208
|
-
--context-menu-inset-border-color: #485764;
|
|
209
|
-
--context-menu-item-header-color: #29414e;
|
|
210
|
-
--context-menu-hover-border-color: #fff;
|
|
211
|
-
}
|
|
212
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<ul class="context-wrap">
|
|
3
|
+
<span v-if="props.isLoading">
|
|
4
|
+
<atoms-loader-pre-loader
|
|
5
|
+
id="loader"
|
|
6
|
+
class="absolute-center context-menu__loading"
|
|
7
|
+
:show="true"
|
|
8
|
+
/>
|
|
9
|
+
</span>
|
|
10
|
+
<li
|
|
11
|
+
v-for="(item, key) in props.items"
|
|
12
|
+
:key="key"
|
|
13
|
+
:class="[
|
|
14
|
+
'menu-item',
|
|
15
|
+
{ disabled: item.disabled || isLoading },
|
|
16
|
+
{ 'item-header': item.isHeader },
|
|
17
|
+
{ 'has-border-top': item.hasBorderTop },
|
|
18
|
+
]"
|
|
19
|
+
@mouseenter="emits('toggle-items', [item, true, $event])"
|
|
20
|
+
@mouseleave="emits('toggle-items', [item, false, $event])"
|
|
21
|
+
>
|
|
22
|
+
<span
|
|
23
|
+
class="context-link"
|
|
24
|
+
:data-id="`${item.testId}-context-link`"
|
|
25
|
+
@mousedown="emits('select-item', item)"
|
|
26
|
+
>
|
|
27
|
+
<span :class="['context-icon', item.iconClassName]" />
|
|
28
|
+
<span class="menu-item-text">{{ item.name }}</span>
|
|
29
|
+
<span v-if="item.items.length" class="arrow-icon" />
|
|
30
|
+
<span v-if="item.shortcut" class="shortcut">{{ item.shortcut }}</span>
|
|
31
|
+
</span>
|
|
32
|
+
|
|
33
|
+
<div class="context-children">
|
|
34
|
+
<common-context-recursion
|
|
35
|
+
v-show="item.isShowItems"
|
|
36
|
+
:action-loading="props.actionLoading"
|
|
37
|
+
:class="[{ 'child-show': item.isShowItems }]"
|
|
38
|
+
:items="item.items"
|
|
39
|
+
@select-item="emits('select-item', $event)"
|
|
40
|
+
/>
|
|
41
|
+
</div>
|
|
42
|
+
</li>
|
|
43
|
+
</ul>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script setup lang="ts">
|
|
47
|
+
import type { UI_I_ContextMenuItem } from '~/components/common/context/lib/models/interfaces'
|
|
48
|
+
import type { I_HTMLLiElement } from '~/components/common/context/recursion/lib/models/interfaces'
|
|
49
|
+
|
|
50
|
+
const props = defineProps<{
|
|
51
|
+
items: UI_I_ContextMenuItem[]
|
|
52
|
+
actionLoading: string | null
|
|
53
|
+
isLoading: boolean
|
|
54
|
+
testId?: string
|
|
55
|
+
}>()
|
|
56
|
+
|
|
57
|
+
const emits = defineEmits<{
|
|
58
|
+
(event: 'select-item', value: UI_I_ContextMenuItem): void
|
|
59
|
+
(
|
|
60
|
+
event: 'toggle-items',
|
|
61
|
+
value: [UI_I_ContextMenuItem, boolean, I_HTMLLiElement]
|
|
62
|
+
): void
|
|
63
|
+
}>()
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style scoped lang="scss">
|
|
67
|
+
.loader-wrapper {
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
z-index: 100;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.context-menu__loading {
|
|
74
|
+
:deep(.spinner) {
|
|
75
|
+
width: 45px;
|
|
76
|
+
height: 45px;
|
|
77
|
+
min-width: 45px;
|
|
78
|
+
min-height: 45px;
|
|
79
|
+
z-index: 1000;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.context-wrap {
|
|
83
|
+
width: auto;
|
|
84
|
+
max-width: 400px;
|
|
85
|
+
background: var(--global-bg-color);
|
|
86
|
+
border-radius: 0;
|
|
87
|
+
color: #333;
|
|
88
|
+
border: 1px solid var(--context-menu-border-color);
|
|
89
|
+
user-select: none;
|
|
90
|
+
list-style: none;
|
|
91
|
+
max-height: 100vh;
|
|
92
|
+
overflow-y: auto;
|
|
93
|
+
|
|
94
|
+
.menu-item {
|
|
95
|
+
position: relative;
|
|
96
|
+
color: #565656;
|
|
97
|
+
border-bottom: 1px solid transparent;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
padding: 5px 0 3px;
|
|
100
|
+
|
|
101
|
+
&.has-border-top {
|
|
102
|
+
border-top: 1px solid var(--context-menu-inset-border-color);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.item-header {
|
|
106
|
+
font-size: 11px;
|
|
107
|
+
background-color: var(--context-menu-item-header-color);
|
|
108
|
+
cursor: default;
|
|
109
|
+
}
|
|
110
|
+
&:not(.item-header):not(.disabled):hover {
|
|
111
|
+
background-color: var(--context-menu-hover-bg-color);
|
|
112
|
+
color: #454545;
|
|
113
|
+
border-bottom: 1px solid var(--context-menu-hover-border-color);
|
|
114
|
+
}
|
|
115
|
+
&.disabled {
|
|
116
|
+
opacity: 0.5;
|
|
117
|
+
user-select: none;
|
|
118
|
+
cursor: default;
|
|
119
|
+
}
|
|
120
|
+
&.left {
|
|
121
|
+
:deep(.context-children) {
|
|
122
|
+
left: 0;
|
|
123
|
+
background: red;
|
|
124
|
+
|
|
125
|
+
.context-wrap {
|
|
126
|
+
transform: translateX(-100%);
|
|
127
|
+
left: auto;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.context-link {
|
|
133
|
+
position: relative;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
text-overflow: ellipsis;
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
user-select: none;
|
|
140
|
+
padding: 3px 20px 4px 10px;
|
|
141
|
+
|
|
142
|
+
.menu-item-text {
|
|
143
|
+
flex: 1 1 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.context-icon {
|
|
147
|
+
display: inline-block;
|
|
148
|
+
margin: -2px 4px 0 0;
|
|
149
|
+
vertical-align: middle;
|
|
150
|
+
width: 18px;
|
|
151
|
+
height: 18px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.arrow-icon {
|
|
155
|
+
position: absolute;
|
|
156
|
+
top: 50%;
|
|
157
|
+
margin-top: -8px;
|
|
158
|
+
right: 4px;
|
|
159
|
+
background-image: url('assets/img/icons/sprite.png');
|
|
160
|
+
display: inline-block;
|
|
161
|
+
width: 16px;
|
|
162
|
+
height: 16px;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
background-repeat: no-repeat;
|
|
165
|
+
font-size: 0;
|
|
166
|
+
line-height: 0;
|
|
167
|
+
text-align: center;
|
|
168
|
+
transform: rotate(90deg);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.shortcut {
|
|
172
|
+
padding-left: 10px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.context-children {
|
|
177
|
+
position: absolute;
|
|
178
|
+
top: 0;
|
|
179
|
+
left: 100%;
|
|
180
|
+
|
|
181
|
+
.context-wrap {
|
|
182
|
+
position: fixed;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
.context-menu__loading {
|
|
188
|
+
:deep(.spinner) {
|
|
189
|
+
width: 45px;
|
|
190
|
+
height: 45px;
|
|
191
|
+
min-width: 45px;
|
|
192
|
+
min-height: 45px;
|
|
193
|
+
z-index: 1000;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
</style>
|
|
197
|
+
<style>
|
|
198
|
+
:root {
|
|
199
|
+
--context-menu-hover-bg-color: #e8e8e8;
|
|
200
|
+
--context-menu-border-color: #949494;
|
|
201
|
+
--context-menu-inset-border-color: #d4d5d6;
|
|
202
|
+
--context-menu-item-header-color: #eceff2;
|
|
203
|
+
--context-menu-hover-border-color: #666;
|
|
204
|
+
}
|
|
205
|
+
:root.dark-theme {
|
|
206
|
+
--context-menu-hover-bg-color: #324f61;
|
|
207
|
+
--context-menu-border-color: #495865;
|
|
208
|
+
--context-menu-inset-border-color: #485764;
|
|
209
|
+
--context-menu-item-header-color: #29414e;
|
|
210
|
+
--context-menu-hover-border-color: #fff;
|
|
211
|
+
}
|
|
212
|
+
</style>
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
<option :value="2" :label="localization.reject">
|
|
38
38
|
{{ localization.reject }}
|
|
39
39
|
</option>
|
|
40
|
-
<option :value="1" :label="localization.accept">
|
|
41
|
-
{{ localization.accept }}
|
|
40
|
+
<option :value="1" :label="localization.common.accept">
|
|
41
|
+
{{ localization.common.accept }}
|
|
42
42
|
</option>
|
|
43
43
|
</select>
|
|
44
44
|
</div>
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
<option :value="2" :label="localization.reject">
|
|
84
84
|
{{ localization.reject }}
|
|
85
85
|
</option>
|
|
86
|
-
<option :value="1" :label="localization.accept">
|
|
87
|
-
{{ localization.accept }}
|
|
86
|
+
<option :value="1" :label="localization.common.accept">
|
|
87
|
+
{{ localization.common.accept }}
|
|
88
88
|
</option>
|
|
89
89
|
</select>
|
|
90
90
|
</div>
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
<option :value="2" :label="localization.reject">
|
|
130
130
|
{{ localization.reject }}
|
|
131
131
|
</option>
|
|
132
|
-
<option :value="1" :label="localization.accept">
|
|
133
|
-
{{ localization.accept }}
|
|
132
|
+
<option :value="1" :label="localization.common.accept">
|
|
133
|
+
{{ localization.common.accept }}
|
|
134
134
|
</option>
|
|
135
135
|
</select>
|
|
136
136
|
</div>
|
|
@@ -95,7 +95,7 @@ export const networkViewSettingsFunc = (
|
|
|
95
95
|
(sec: UI_I_NetworkSummaryPortletListItem<UI_E_IYNOption>) =>
|
|
96
96
|
sec.id === 'promiscuous_mode'
|
|
97
97
|
)?.initialValue?.value === UI_E_IYNOption.YES
|
|
98
|
-
? localization.accept
|
|
98
|
+
? localization.common.accept
|
|
99
99
|
: localization.reject,
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -107,7 +107,7 @@ export const networkViewSettingsFunc = (
|
|
|
107
107
|
(sec: UI_I_NetworkSummaryPortletListItem<UI_E_IYNOption>) =>
|
|
108
108
|
sec.id === 'mac_change'
|
|
109
109
|
)?.initialValue?.value === UI_E_IYNOption.YES
|
|
110
|
-
? localization.accept
|
|
110
|
+
? localization.common.accept
|
|
111
111
|
: localization.reject,
|
|
112
112
|
},
|
|
113
113
|
{
|
|
@@ -119,7 +119,7 @@ export const networkViewSettingsFunc = (
|
|
|
119
119
|
(sec: UI_I_NetworkSummaryPortletListItem<UI_E_IYNOption>) =>
|
|
120
120
|
sec.id === 'forged_transmits'
|
|
121
121
|
)?.initialValue?.value === UI_E_IYNOption.YES
|
|
122
|
-
? localization.accept
|
|
122
|
+
? localization.common.accept
|
|
123
123
|
: localization.reject,
|
|
124
124
|
},
|
|
125
125
|
],
|
|
@@ -196,7 +196,7 @@ export const networkViewSettingsFunc = (
|
|
|
196
196
|
: localization.no,
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
|
-
name: localization.activeAdapters,
|
|
199
|
+
name: localization.networks.activeAdapters,
|
|
200
200
|
value: initialData.activeAdapters,
|
|
201
201
|
},
|
|
202
202
|
{
|
|
@@ -106,7 +106,7 @@ export const switchViewSettingsFunc = (
|
|
|
106
106
|
(sec: UI_I_NetworkSummaryPortletListItem<UI_E_IYNOption>) =>
|
|
107
107
|
sec.id === 'promiscuous_mode'
|
|
108
108
|
)?.initialValue?.value === UI_E_IYNOption.YES
|
|
109
|
-
? localization.accept
|
|
109
|
+
? localization.common.accept
|
|
110
110
|
: localization.reject,
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -118,7 +118,7 @@ export const switchViewSettingsFunc = (
|
|
|
118
118
|
(sec: UI_I_NetworkSummaryPortletListItem<UI_E_IYNOption>) =>
|
|
119
119
|
sec.id === 'mac_change'
|
|
120
120
|
)?.initialValue?.value === UI_E_IYNOption.YES
|
|
121
|
-
? localization.accept
|
|
121
|
+
? localization.common.accept
|
|
122
122
|
: localization.reject,
|
|
123
123
|
},
|
|
124
124
|
{
|
|
@@ -130,7 +130,7 @@ export const switchViewSettingsFunc = (
|
|
|
130
130
|
(sec: UI_I_NetworkSummaryPortletListItem<UI_E_IYNOption>) =>
|
|
131
131
|
sec.id === 'forged_transmits'
|
|
132
132
|
)?.initialValue?.value === UI_E_IYNOption.YES
|
|
133
|
-
? localization.accept
|
|
133
|
+
? localization.common.accept
|
|
134
134
|
: localization.reject,
|
|
135
135
|
},
|
|
136
136
|
],
|
|
@@ -207,7 +207,7 @@ export const switchViewSettingsFunc = (
|
|
|
207
207
|
: localization.no,
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
|
-
name: localization.activeAdapters,
|
|
210
|
+
name: localization.networks.activeAdapters,
|
|
211
211
|
value: initialData.activeAdapters,
|
|
212
212
|
},
|
|
213
213
|
{
|
|
@@ -78,7 +78,7 @@ const showNotification = (message: UI_I_NotifyBodyMessage): void => {
|
|
|
78
78
|
}
|
|
79
79
|
const msgError = ref<UI_I_NotifyBodyMessage>({
|
|
80
80
|
status: 'error',
|
|
81
|
-
title: localization.value.error,
|
|
81
|
+
title: localization.value.common.error,
|
|
82
82
|
desc: '',
|
|
83
83
|
})
|
|
84
84
|
const handleErrors = (error: Ref<API_UI_I_Error>): void => {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<template #modalBody>
|
|
36
36
|
<div class="about-vsphere-dialog-legal-section">
|
|
37
37
|
<p>{{ aboutHeadingText }}</p>
|
|
38
|
-
<p>{{ localization.aboutSubtitle }}</p>
|
|
38
|
+
<p>{{ localization.layout.aboutSubtitle }}</p>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
41
|
<div class="about-vsphere-dialog-legal-section description">
|
|
@@ -80,15 +80,15 @@ const companyName = computed<string>(
|
|
|
80
80
|
() => config.public[`COMPANY_NAME_${useEnvLanguage()}`]
|
|
81
81
|
)
|
|
82
82
|
const aboutHeadingText = computed<string>(() =>
|
|
83
|
-
localization.value.aboutHeading.replaceAll('{companyName}', companyName.value)
|
|
83
|
+
localization.value.layout.aboutHeading.replaceAll('{companyName}', companyName.value)
|
|
84
84
|
)
|
|
85
85
|
const aboutDesc1 = computed<string>(() =>
|
|
86
|
-
localization.value.aboutDesc1
|
|
86
|
+
localization.value.layout.aboutDesc1
|
|
87
87
|
.replaceAll('{companyName}', companyName.value)
|
|
88
88
|
.replaceAll('{trademark}', brandName.value)
|
|
89
89
|
)
|
|
90
90
|
const aboutDesc2 = computed<string>(() =>
|
|
91
|
-
localization.value.aboutDesc2
|
|
91
|
+
localization.value.layout.aboutDesc2
|
|
92
92
|
.replaceAll('{companyName}', companyName.value)
|
|
93
93
|
.replaceAll('{trademark}', brandName.value)
|
|
94
94
|
)
|
|
@@ -6,13 +6,13 @@ export const helpMenuFunc = (
|
|
|
6
6
|
): UI_I_Dropdown[] => {
|
|
7
7
|
return [
|
|
8
8
|
{
|
|
9
|
-
text: localization.help,
|
|
9
|
+
text: localization.mainNavigation.help,
|
|
10
10
|
value: 'help',
|
|
11
11
|
testId: 'information-menu-help',
|
|
12
12
|
iconName: 'icon-help',
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
text: localization.about,
|
|
15
|
+
text: localization.layout.about,
|
|
16
16
|
value: 'about',
|
|
17
17
|
testId: 'information-menu-about',
|
|
18
18
|
divider: true,
|
|
@@ -7,13 +7,13 @@ export const helpMenuFunc = (
|
|
|
7
7
|
): UI_I_DropMenu<UI_T_ActionTypeHelpMenu>[] => {
|
|
8
8
|
return [
|
|
9
9
|
{
|
|
10
|
-
text: localization.help,
|
|
10
|
+
text: localization.mainNavigation.help,
|
|
11
11
|
action: 'help',
|
|
12
12
|
closeAfterClick: true,
|
|
13
13
|
testId: 'information-menu-help',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
text: localization.about,
|
|
16
|
+
text: localization.layout.about,
|
|
17
17
|
action: 'about',
|
|
18
18
|
closeAfterClick: true,
|
|
19
19
|
testId: 'information-menu-about',
|
package/components/common/layout/theHeader/userMenu/modals/preferences/lib/config/preferencesTabs.ts
CHANGED
|
@@ -25,7 +25,7 @@ export const preferencesTabs = (
|
|
|
25
25
|
testId: 'user-preferences-default-console',
|
|
26
26
|
}
|
|
27
27
|
const inventoryTab = {
|
|
28
|
-
text: `${localization.inventory}`,
|
|
28
|
+
text: `${localization.mainNavigation.inventory}`,
|
|
29
29
|
value: 'inventory-tab',
|
|
30
30
|
disabled: false,
|
|
31
31
|
testId: 'user-preferences-inventory',
|
|
@@ -23,7 +23,7 @@ const getItems = (
|
|
|
23
23
|
): [string, boolean, string, string][] => {
|
|
24
24
|
return [
|
|
25
25
|
[localization.name, true, '140px', countersTableKey[0]],
|
|
26
|
-
[localization.description, true, '140px', countersTableKey[1]],
|
|
26
|
+
[localization.common.description, true, '140px', countersTableKey[1]],
|
|
27
27
|
[localization.measurement, true, '140px', countersTableKey[2]],
|
|
28
28
|
[localization.units, true, '140px', countersTableKey[3]],
|
|
29
29
|
]
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:disabled="pagination.page === 1"
|
|
14
14
|
@click="onClickButton('previous')"
|
|
15
15
|
>
|
|
16
|
-
{{ localization.previous }}
|
|
16
|
+
{{ localization.common.previous }}
|
|
17
17
|
</button>
|
|
18
18
|
|
|
19
19
|
<button
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
:disabled="pagination.page === tasksList?.total_pages"
|
|
24
24
|
@click="onClickButton('next')"
|
|
25
25
|
>
|
|
26
|
-
{{ localization.next }}
|
|
26
|
+
{{ localization.common.next }}
|
|
27
27
|
</button>
|
|
28
28
|
</div>
|
|
29
29
|
|