bfg-common 1.0.25 → 1.0.26
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 +160 -1
- package/assets/localization/local_en.json +160 -1
- package/assets/localization/local_hy.json +160 -1
- package/assets/localization/local_kk.json +160 -1
- package/assets/localization/local_ru.json +160 -1
- package/assets/localization/local_zh.json +160 -1
- package/components/atoms/alert/Notification.vue +167 -167
- package/components/atoms/autocomplete/Autocomplete.vue +236 -236
- package/components/atoms/combobox/Combobox.vue +131 -131
- package/components/atoms/datepicker/Datepicker.vue +612 -612
- package/components/atoms/list/SelectList.vue +62 -62
- package/components/atoms/modal/bySteps/BySteps.vue +234 -234
- package/components/atoms/nav/NavBar.vue +116 -116
- package/components/atoms/nav/VerticalNavBar.vue +89 -89
- package/components/atoms/notificationBar/NotificationBar.vue +175 -175
- package/components/atoms/perPage/PerPage.vue +52 -52
- package/components/atoms/popup/SimplePopup.vue +90 -90
- package/components/atoms/step/VerticalStep.vue +104 -104
- package/components/atoms/switch/Switch.vue +107 -107
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +204 -204
- package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
- package/components/atoms/table/dataGrid/DataGridPagination.vue +83 -83
- package/components/atoms/tabs/Tabs.vue +189 -189
- package/components/atoms/tooltip/Signpost.vue +224 -224
- package/components/common/accordion/Accordion.vue +176 -176
- package/components/common/accordion/Recursion.vue +195 -195
- package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
- package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
- package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
- package/components/common/browse/Browse.vue +182 -182
- package/components/common/browse/blocks/Title.vue +66 -66
- package/components/common/diagramMain/Header.vue +160 -160
- package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
- package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
- package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
- package/components/common/diagramMain/modals/viewSettings/Info.vue +94 -94
- package/components/common/diagramMain/network/Contents.vue +238 -238
- package/components/common/feedback/Buttons.vue +232 -232
- package/components/common/feedback/Message.vue +468 -468
- package/components/common/feedback/VisitPortal.vue +54 -54
- package/components/common/modals/Rename.vue +165 -165
- package/components/common/monitor/advanced/Advanced.vue +33 -18
- package/components/common/monitor/advanced/GraphView.vue +78 -146
- package/components/common/monitor/advanced/tools/Tools.vue +41 -20
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +35 -19
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +22 -21
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/Table.vue +44 -35
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/config/items.ts +637 -0
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/config/tableConfig.ts +13 -15
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces.ts +19 -6
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/types.ts +3 -5
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +4 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/Form.vue +381 -388
- package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/Metrics.vue +18 -8
- package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/config/optionsMetrics.ts +52 -58
- package/components/common/monitor/advanced/tools/chartOptionsModal/models/types.ts +3 -0
- package/components/common/monitor/models/interfaces.ts +2 -0
- package/components/common/perPage/PerPage.vue +51 -51
- package/components/common/recursionTree/RecursionTree.vue +201 -201
- package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +373 -373
- package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
- package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
- package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
- package/models/store/storage/interfaces.ts +32 -32
- package/package.json +1 -1
- package/public/spice-console/application/application.js +1 -1
- package/public/spice-console/application/codec.js +257 -257
- package/public/spice-console/lib/rasterEngine.js +907 -907
- package/public/spice-console-minify/application/application.min.js +1 -1
- package/public/spice-console-minify/lib/decoder/dixie.min.js +4 -4
- package/public/spice-console-minify/lib/jgestures.min.js +24 -24
- package/public/spice-console-minify/lib/jquery-2.0.3.min.js +24 -24
- package/public/spice-console-minify/lib/jquery-mousewheel.min.js +11 -11
- package/public/spice-console-minify/lib/jquery-visibility.min.js +1 -1
- package/public/spice-console-minify/lib/lodash.4.0.0.min.js +5 -5
|
@@ -1,26 +1,36 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="chart-option-groups-container">
|
|
3
3
|
<span>{{ localization.chartMetrics }}</span>
|
|
4
|
-
<atoms-tabs-vertical-tabs
|
|
4
|
+
<atoms-tabs-vertical-tabs
|
|
5
|
+
v-model="selectedMetricLocal"
|
|
6
|
+
:items="props.metricsItems"
|
|
7
|
+
/>
|
|
5
8
|
</div>
|
|
6
9
|
</template>
|
|
7
10
|
|
|
8
11
|
<script setup lang="ts">
|
|
9
12
|
import { UI_I_Localization } from '~/models/interfaces'
|
|
10
13
|
import { UI_I_VerticalTabs } from '~/components/atoms/tabs/models/interfaces'
|
|
11
|
-
import { metricsFunc } from '~/components/common/monitor/advanced/tools/chartOptionsModal/metrics/config/optionsMetrics'
|
|
12
|
-
import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
|
|
13
14
|
|
|
14
15
|
const props = defineProps<{
|
|
15
|
-
|
|
16
|
+
metricsItems: UI_I_VerticalTabs[]
|
|
17
|
+
selectedMetric: string
|
|
18
|
+
}>()
|
|
19
|
+
|
|
20
|
+
const emits = defineEmits<{
|
|
21
|
+
(event: 'update:selected-metric', value: string): void
|
|
16
22
|
}>()
|
|
17
23
|
|
|
18
24
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
19
25
|
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
const selectedMetricLocal = computed<string>({
|
|
27
|
+
get() {
|
|
28
|
+
return props.selectedMetric
|
|
29
|
+
},
|
|
30
|
+
set(newValue) {
|
|
31
|
+
emits('update:selected-metric', newValue)
|
|
32
|
+
},
|
|
33
|
+
})
|
|
24
34
|
</script>
|
|
25
35
|
|
|
26
36
|
<style scoped lang="scss">
|
package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/config/optionsMetrics.ts
CHANGED
|
@@ -13,14 +13,16 @@ export const metricsFunc = (
|
|
|
13
13
|
text: localization.cpu,
|
|
14
14
|
value: 'cpu',
|
|
15
15
|
},
|
|
16
|
-
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
// {
|
|
17
|
+
// text: currentRegister(localization.clusterServices, 'first'),
|
|
18
|
+
// value: 'cluster_services',
|
|
19
|
+
// disabled: true,
|
|
20
|
+
// },
|
|
21
|
+
// {
|
|
22
|
+
// text: localization.datastore,
|
|
23
|
+
// value: 'datastore',
|
|
24
|
+
// disabled: true,
|
|
25
|
+
// },
|
|
24
26
|
{
|
|
25
27
|
text: localization.disk,
|
|
26
28
|
value: 'disk',
|
|
@@ -33,72 +35,64 @@ export const metricsFunc = (
|
|
|
33
35
|
text: localization.network,
|
|
34
36
|
value: 'network',
|
|
35
37
|
},
|
|
36
|
-
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
38
|
+
// {
|
|
39
|
+
// text: localization.power,
|
|
40
|
+
// value: 'power',
|
|
41
|
+
// disabled: true,
|
|
42
|
+
// },
|
|
43
|
+
// {
|
|
44
|
+
// text: currentRegister(localization.storageAdapter, 'first'),
|
|
45
|
+
// value: 'storage_adapter',
|
|
46
|
+
// disabled: true,
|
|
47
|
+
// },
|
|
48
|
+
// {
|
|
49
|
+
// text: localization.storagePath,
|
|
50
|
+
// value: 'storage_path',
|
|
51
|
+
// disabled: true,
|
|
52
|
+
// },
|
|
53
|
+
// {
|
|
54
|
+
// text: localization.system,
|
|
55
|
+
// value: 'system',
|
|
56
|
+
// disabled: true,
|
|
57
|
+
// },
|
|
58
|
+
// {
|
|
59
|
+
// text: currentRegister(localization.procuratorReplication, 'last'),
|
|
60
|
+
// value: 'v_sphere_replication',
|
|
61
|
+
// disabled: true,
|
|
62
|
+
// },
|
|
56
63
|
],
|
|
57
64
|
vm: [
|
|
58
|
-
{
|
|
59
|
-
text: localization.cpu,
|
|
60
|
-
value: 'cpu',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
text: localization.datastore,
|
|
64
|
-
value: 'datastore',
|
|
65
|
-
},
|
|
66
65
|
{
|
|
67
66
|
text: localization.disk,
|
|
68
67
|
value: 'disk',
|
|
69
68
|
},
|
|
70
|
-
{
|
|
71
|
-
text: localization.memory,
|
|
72
|
-
value: 'memory',
|
|
73
|
-
},
|
|
74
69
|
{
|
|
75
70
|
text: localization.network,
|
|
76
71
|
value: 'network',
|
|
77
72
|
},
|
|
78
73
|
{
|
|
79
|
-
text: localization.
|
|
80
|
-
value: '
|
|
74
|
+
text: localization.cpu,
|
|
75
|
+
value: 'cpu',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
text: localization.memory,
|
|
79
|
+
value: 'memory',
|
|
81
80
|
},
|
|
82
81
|
{
|
|
83
|
-
text: localization.
|
|
84
|
-
value: '
|
|
82
|
+
text: localization.datastore,
|
|
83
|
+
value: 'datastore',
|
|
85
84
|
},
|
|
86
|
-
{
|
|
85
|
+
// {
|
|
86
|
+
// text: localization.power,
|
|
87
|
+
// value: 'power',
|
|
88
|
+
// },
|
|
89
|
+
// {
|
|
90
|
+
// text: localization.system,
|
|
91
|
+
// value: 'system',
|
|
92
|
+
// },
|
|
93
|
+
// { text: localization.virtualDisk, value: 'virtualDisk' },
|
|
87
94
|
],
|
|
88
95
|
}
|
|
89
96
|
|
|
90
97
|
return metrics[type]
|
|
91
98
|
}
|
|
92
|
-
|
|
93
|
-
const currentRegister = (text: string, type: string): string => {
|
|
94
|
-
let result = ''
|
|
95
|
-
const { $text } = useNuxtApp()
|
|
96
|
-
|
|
97
|
-
if (type === 'first') {
|
|
98
|
-
result = $text.toCapitalize(text)
|
|
99
|
-
} else if (type === 'last') {
|
|
100
|
-
result = $text.toCapitalizeByIndex(text, [1])
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
return result
|
|
104
|
-
}
|
|
@@ -10,8 +10,10 @@ export interface UI_I_GraphDataSettingItem {
|
|
|
10
10
|
export interface UI_I_MonitorGraphPayload {
|
|
11
11
|
period: number[]
|
|
12
12
|
view: string
|
|
13
|
+
periodType?: string
|
|
13
14
|
id?: string
|
|
14
15
|
requestType?: UI_T_OverviewRequestType
|
|
15
16
|
storageId?: string
|
|
16
17
|
hostName?: string
|
|
18
|
+
fields?: string
|
|
17
19
|
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="page-size">
|
|
3
|
-
{{ selectLabel }}
|
|
4
|
-
|
|
5
|
-
<div class="clr-select-wrapper">
|
|
6
|
-
<select
|
|
7
|
-
:id="`${props.testId}-page-size-select`"
|
|
8
|
-
:value="props.pageSize"
|
|
9
|
-
class="clr-page-size-select"
|
|
10
|
-
@change="change"
|
|
11
|
-
>
|
|
12
|
-
<option
|
|
13
|
-
v-for="(item, key) in props.options"
|
|
14
|
-
:key="key"
|
|
15
|
-
:value="item.value"
|
|
16
|
-
>
|
|
17
|
-
{{ item.text }}
|
|
18
|
-
</option>
|
|
19
|
-
</select>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script setup lang="ts">
|
|
25
|
-
import { UI_I_Localization } from '~/models/interfaces'
|
|
26
|
-
import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
|
|
27
|
-
|
|
28
|
-
const props = withDefaults(
|
|
29
|
-
defineProps<{
|
|
30
|
-
testId: string
|
|
31
|
-
pageSize: number
|
|
32
|
-
options: UI_I_OptionItem[]
|
|
33
|
-
label?: string
|
|
34
|
-
}>(),
|
|
35
|
-
{
|
|
36
|
-
label: 'itemsPerPage',
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
const emits = defineEmits<{
|
|
40
|
-
(event: 'change', num: number): void
|
|
41
|
-
}>()
|
|
42
|
-
|
|
43
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
-
const selectLabel = computed<string>(() => localization.value[props.label])
|
|
45
|
-
|
|
46
|
-
const change = (e: InputEvent): void => {
|
|
47
|
-
emits('change', +(e.target as HTMLInputElement).value)
|
|
48
|
-
}
|
|
49
|
-
</script>
|
|
50
|
-
|
|
51
|
-
<style scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page-size">
|
|
3
|
+
{{ selectLabel }}
|
|
4
|
+
|
|
5
|
+
<div class="clr-select-wrapper">
|
|
6
|
+
<select
|
|
7
|
+
:id="`${props.testId}-page-size-select`"
|
|
8
|
+
:value="props.pageSize"
|
|
9
|
+
class="clr-page-size-select"
|
|
10
|
+
@change="change"
|
|
11
|
+
>
|
|
12
|
+
<option
|
|
13
|
+
v-for="(item, key) in props.options"
|
|
14
|
+
:key="key"
|
|
15
|
+
:value="item.value"
|
|
16
|
+
>
|
|
17
|
+
{{ item.text }}
|
|
18
|
+
</option>
|
|
19
|
+
</select>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script setup lang="ts">
|
|
25
|
+
import { UI_I_Localization } from '~/models/interfaces'
|
|
26
|
+
import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
|
|
27
|
+
|
|
28
|
+
const props = withDefaults(
|
|
29
|
+
defineProps<{
|
|
30
|
+
testId: string
|
|
31
|
+
pageSize: number
|
|
32
|
+
options: UI_I_OptionItem[]
|
|
33
|
+
label?: string
|
|
34
|
+
}>(),
|
|
35
|
+
{
|
|
36
|
+
label: 'itemsPerPage',
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
const emits = defineEmits<{
|
|
40
|
+
(event: 'change', num: number): void
|
|
41
|
+
}>()
|
|
42
|
+
|
|
43
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
+
const selectLabel = computed<string>(() => localization.value[props.label])
|
|
45
|
+
|
|
46
|
+
const change = (e: InputEvent): void => {
|
|
47
|
+
emits('change', +(e.target as HTMLInputElement).value)
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style scoped></style>
|