bfg-common 1.3.597 → 1.3.599
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/components/atoms/TheIcon2.vue +1366 -1366
- package/components/atoms/table/simpleTable/SimpleTable.vue +1 -1
- package/components/common/adapterManager/AdapterManager.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/TrafficShaping.vue +1 -1
- package/components/common/diagramMain/modals/lib/config/adapterModal.ts +5 -5
- package/components/common/diagramMain/modals/lib/config/networkModal.ts +1 -1
- package/components/common/diagramMain/modals/lib/config/portModal.ts +1 -1
- package/components/common/diagramMain/modals/lib/config/switchModal.ts +1 -1
- package/components/common/feedback/Message.vue +2 -2
- package/components/common/feedback/lib/config/drawingPanel.ts +1 -1
- package/components/common/home/servicesTable/lib/config/config.ts +1 -1
- package/components/common/layout/theHeader/helpMenu/About.vue +1 -1
- package/components/common/monitor/advanced/table/lib/config/performanceDatatable.ts +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +4 -23
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/tableConfig.ts +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/lib/utils/checkSubmit.ts +1 -1
- package/components/common/monitor/lib/models/interfaces.ts +1 -0
- package/components/common/pages/hardwareHealth/tableView/TableView.vue +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/storageSensorTable.ts +1 -1
- package/components/common/split/horizontal/HorizontalNew.vue +321 -321
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/lib/config/config.ts +3 -3
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config.ts +3 -3
- 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/nfs/configuration/Configuration.vue +2 -2
- package/components/common/wizards/datastore/add/readyComplete/ReadyComplete.vue +95 -95
- package/components/common/wizards/datastore/add/readyComplete/lib/config/propertiesDetails.ts +2 -2
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue +1 -1
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/lib/config/hostsTable.ts +1 -1
- package/components/common/wizards/network/add/lib/config/selectSwitch.ts +1 -1
- package/components/common/wizards/vm/migrate/select/computeResource/lib/config/tabsPannel.ts +1 -1
- package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/clusterTable.ts +3 -3
- package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/hostTable.ts +1 -1
- package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/resourcePoolTable.ts +1 -1
- package/components/common/wizards/vm/migrate/select/computeResource/tableView/lib/config/vappsTable.ts +1 -1
- package/components/common/wizards/vm/migrate/select/storage/table/datastore/lib/config/config.ts +1 -1
- package/components/common/wizards/vm/migrate/select/storage/table/disk/lib/config/config.ts +1 -1
- package/package.json +1 -1
- 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>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<form id="traffic-shaping-form" action="">
|
|
12
12
|
<div class="horizontal-flex-container">
|
|
13
13
|
<span class="flex-property-label-group large">
|
|
14
|
-
{{ localization.status }}
|
|
14
|
+
{{ localization.common.status }}
|
|
15
15
|
</span>
|
|
16
16
|
|
|
17
17
|
<div class="flex-property-value-group overridable-dropdown">
|
|
@@ -6,7 +6,7 @@ export const adapterViewSettingsModalTabsFunc = (
|
|
|
6
6
|
localization: UI_I_Localization
|
|
7
7
|
) => [
|
|
8
8
|
{
|
|
9
|
-
text: localization.all,
|
|
9
|
+
text: localization.common.all,
|
|
10
10
|
value: 0,
|
|
11
11
|
testId: 'tab-item-all',
|
|
12
12
|
},
|
|
@@ -40,7 +40,7 @@ export const adapterViewSettingsFunc = (
|
|
|
40
40
|
value: initialData.adapter?.trim(),
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
name: localization.name,
|
|
43
|
+
name: localization.common.name,
|
|
44
44
|
value: initialData.name,
|
|
45
45
|
},
|
|
46
46
|
{
|
|
@@ -54,12 +54,12 @@ export const adapterViewSettingsFunc = (
|
|
|
54
54
|
],
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
title: localization.status,
|
|
57
|
+
title: localization.common.status,
|
|
58
58
|
id: 2,
|
|
59
59
|
type: 1,
|
|
60
60
|
rows: [
|
|
61
61
|
{
|
|
62
|
-
name: localization.status,
|
|
62
|
+
name: localization.common.status,
|
|
63
63
|
value: initialData.carrier
|
|
64
64
|
? localization.connected
|
|
65
65
|
: localization.disconnected,
|
|
@@ -95,7 +95,7 @@ export const adapterViewSettingsFunc = (
|
|
|
95
95
|
type: 1,
|
|
96
96
|
rows: [
|
|
97
97
|
{
|
|
98
|
-
name: localization.status,
|
|
98
|
+
name: localization.common.status,
|
|
99
99
|
value: !initialData.srIov ? localization.notSupported : '',
|
|
100
100
|
},
|
|
101
101
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="message">
|
|
3
3
|
<div class="main-block">
|
|
4
|
-
<span class="text">{{ localization.description }}</span>
|
|
4
|
+
<span class="text">{{ localization.common.description }}</span>
|
|
5
5
|
<textarea
|
|
6
6
|
id="feedback-message-textarea"
|
|
7
7
|
v-model="descriptionLocal"
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
data-id="clear-all-button"
|
|
107
107
|
@click="clearAll"
|
|
108
108
|
>
|
|
109
|
-
{{ localization.clearAll }}</a
|
|
109
|
+
{{ localization.common.clearAll }}</a
|
|
110
110
|
>
|
|
111
111
|
</div>
|
|
112
112
|
<div class="main-block main-block__last">
|
|
@@ -19,7 +19,7 @@ const getItems = (
|
|
|
19
19
|
): [string, boolean, string, string][] => {
|
|
20
20
|
return [
|
|
21
21
|
[localization.item, true, '34%', servicesTableKeys[0]],
|
|
22
|
-
[localization.status, true, '33%', servicesTableKeys[1]],
|
|
22
|
+
[localization.common.status, true, '33%', servicesTableKeys[1]],
|
|
23
23
|
[localization.version, true, '33%', servicesTableKeys[2]],
|
|
24
24
|
]
|
|
25
25
|
}
|
|
@@ -29,7 +29,7 @@ const getItems = (
|
|
|
29
29
|
const widthCol = '113px'
|
|
30
30
|
return [
|
|
31
31
|
[localization.key, true, widthCol, performanceTableKey[0]],
|
|
32
|
-
[localization.object, true, widthCol, performanceTableKey[1]],
|
|
32
|
+
[localization.common.object, true, widthCol, performanceTableKey[1]],
|
|
33
33
|
[localization.measurement, true, widthCol, performanceTableKey[2]],
|
|
34
34
|
[localization.rollup, true, widthCol, performanceTableKey[3]],
|
|
35
35
|
[localization.units, true, widthCol, performanceTableKey[4]],
|
|
@@ -286,29 +286,10 @@ const onSubmit = (): void => {
|
|
|
286
286
|
|
|
287
287
|
onSaveOptions(selectedLocalOptionName.value)
|
|
288
288
|
|
|
289
|
-
//
|
|
290
|
-
//
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
// emits('update-unit-count', unitCount.value) +
|
|
294
|
-
// emits('update-custom-time', localCustomTime.value) +
|
|
295
|
-
// emits('update-custom-date-from', localCustomDateFrom.value) +
|
|
296
|
-
// emits('update-custom-date-to', localCustomDateTo.value) +
|
|
297
|
-
// emits('update-custom-time-from', localCustomTimeFrom.value) +
|
|
298
|
-
// emits('update-custom-time-to', localCustomTimeTo.value) +
|
|
299
|
-
// emits('update-chart-type', selectedChartTypeLocal.value) +
|
|
300
|
-
// emits('submit-options')
|
|
301
|
-
|
|
302
|
-
// const periodValue = getValidDateByOptionFunc(
|
|
303
|
-
// periodValue,
|
|
304
|
-
// selectedValue,
|
|
305
|
-
// props.unitsCount,
|
|
306
|
-
// props.selectedCustomTime
|
|
307
|
-
// )
|
|
308
|
-
//
|
|
309
|
-
|
|
310
|
-
const currentFields =
|
|
311
|
-
localSelectedObjects.value || currentFieldsByArray(selectedRows.value)
|
|
289
|
+
// const currentFields =
|
|
290
|
+
// localSelectedObjects.value || currentFieldsByArray(selectedRows.value)
|
|
291
|
+
|
|
292
|
+
const currentFields = currentFieldsByArray(selectedRows.value)
|
|
312
293
|
|
|
313
294
|
const validPeriod = getValidDateByOptionFunc(
|
|
314
295
|
timespanType.value,
|
|
@@ -22,7 +22,7 @@ const getItems = (
|
|
|
22
22
|
localization: UI_I_Localization
|
|
23
23
|
): [string, boolean, string, string][] => {
|
|
24
24
|
return [
|
|
25
|
-
[localization.name, true, '140px', countersTableKey[0]],
|
|
25
|
+
[localization.common.name, true, '140px', countersTableKey[0]],
|
|
26
26
|
[localization.common.description, true, '140px', countersTableKey[1]],
|
|
27
27
|
[localization.measurement, true, '140px', countersTableKey[2]],
|
|
28
28
|
[localization.units, true, '140px', countersTableKey[3]],
|
|
@@ -8,7 +8,7 @@ export const checkIsDisabledSubmit = (
|
|
|
8
8
|
|
|
9
9
|
if (type === 'host') {
|
|
10
10
|
if (selectedMetric === 'cpu' && !localSelectedObjects) result = true
|
|
11
|
-
else if (
|
|
11
|
+
else if (['disk', 'network'].includes(selectedMetric)) {
|
|
12
12
|
result = !localSelectedObjects
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -21,7 +21,7 @@ const getItems = (
|
|
|
21
21
|
): [string, boolean, string, string][] => {
|
|
22
22
|
return [
|
|
23
23
|
[localization.sensors, true, '330px', hardwareHealthSensorTableKeys[0]],
|
|
24
|
-
[localization.status, true, '140px', hardwareHealthSensorTableKeys[1]],
|
|
24
|
+
[localization.common.status, true, '140px', hardwareHealthSensorTableKeys[1]],
|
|
25
25
|
[localization.reading, true, '115px', hardwareHealthSensorTableKeys[2]],
|
|
26
26
|
[localization.categories, true, '130px', hardwareHealthSensorTableKeys[3]],
|
|
27
27
|
[localization.lastUpdated, true, '195px', hardwareHealthSensorTableKeys[4]],
|
|
@@ -15,7 +15,7 @@ const getItems = (
|
|
|
15
15
|
localization: UI_I_Localization
|
|
16
16
|
): [string, boolean, string, string][] => {
|
|
17
17
|
return [
|
|
18
|
-
[localization.name, true, '230px', hardwareHealthStorageSensorTableKeys[0]],
|
|
18
|
+
[localization.common.name, true, '230px', hardwareHealthStorageSensorTableKeys[0]],
|
|
19
19
|
[
|
|
20
20
|
localization.health,
|
|
21
21
|
true,
|