bfg-common 1.2.38 → 1.2.39

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.
Files changed (80) hide show
  1. package/components/atoms/alert/Notification.vue +167 -167
  2. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  3. package/components/atoms/datepicker/Datepicker.vue +612 -612
  4. package/components/atoms/list/SelectList.vue +62 -62
  5. package/components/atoms/nav/NavBar.vue +116 -116
  6. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  7. package/components/atoms/notificationBar/NotificationBar.vue +175 -175
  8. package/components/atoms/perPage/PerPage.vue +52 -52
  9. package/components/atoms/popup/SimplePopup.vue +90 -90
  10. package/components/atoms/step/VerticalStep.vue +104 -104
  11. package/components/atoms/switch/Switch.vue +107 -107
  12. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +206 -206
  13. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  14. package/components/atoms/tabs/Tabs.vue +189 -189
  15. package/components/atoms/tooltip/Signpost.vue +224 -224
  16. package/components/common/BadBrowser.vue +114 -114
  17. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  18. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  19. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  20. package/components/common/browse/Browse.vue +182 -182
  21. package/components/common/browse/blocks/Title.vue +66 -66
  22. package/components/common/diagramMain/Diagram.vue +186 -186
  23. package/components/common/diagramMain/DiagramMain.vue +986 -986
  24. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  25. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  26. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  27. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  28. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  29. package/components/common/diagramMain/network/Contents.vue +238 -238
  30. package/components/common/feedback/Buttons.vue +232 -232
  31. package/components/common/feedback/Message.vue +468 -468
  32. package/components/common/feedback/VisitPortal.vue +54 -54
  33. package/components/common/help/navbar/left/Left.vue +159 -159
  34. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  35. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +359 -359
  36. package/components/common/modals/Rename.vue +165 -165
  37. package/components/common/monitor/advanced/Advanced.vue +235 -235
  38. package/components/common/monitor/advanced/tools/Tools.vue +1 -1
  39. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
  40. package/components/common/monitor/advanced/tools/chartOptionsModal/models/{models.ts → interfaces.ts} +19 -19
  41. package/components/common/perPage/PerPage.vue +51 -51
  42. package/components/common/recursionTree/RecursionTree.vue +201 -201
  43. package/components/common/vm/actions/add/config/capabilities.ts +338 -338
  44. package/components/common/vm/actions/add/customizeHardware/virtualHardware/VirtualHardware.vue +657 -657
  45. package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  46. package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  47. package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  48. package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  49. package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  50. package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  51. package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -445
  52. package/components/common/vm/actions/add/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +288 -288
  53. package/components/common/vm/actions/add/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  54. package/components/common/vm/actions/add/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  55. package/components/common/vm/actions/add/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  56. package/components/common/vm/actions/add/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  57. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  58. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  59. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  60. package/components/common/vm/actions/add/select/storage/config/config.ts +154 -154
  61. package/components/common/vm/actions/clone/Clone.vue +544 -544
  62. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  63. package/components/common/vm/actions/clone/utils.ts +43 -43
  64. package/components/common/wizards/datastore/add/nfs/Nfs.vue +94 -94
  65. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +377 -377
  66. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  67. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  68. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  69. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  70. package/composables/useLocal.ts +38 -38
  71. package/minify.js +146 -146
  72. package/models/store/interfaces.ts +37 -37
  73. package/models/store/storage/interfaces.ts +32 -32
  74. package/models/store/types.ts +32 -32
  75. package/modules/fixContentBuild/utils/methods.ts +114 -114
  76. package/package.json +1 -1
  77. package/public/spice-console/application/codec.js +257 -257
  78. package/public/spice-console/lib/rasterEngine.js +907 -907
  79. package/public/spice-console/network/spicechannel.js +369 -369
  80. package/utils/contentBuild.ts +34 -34
@@ -1,235 +1,235 @@
1
- <template>
2
- <div id="advanced-page" class="fill-parent">
3
- <div class="routed-view-panel-layout">
4
- <div class="settingsViewHeader">
5
- <h3 class="settingsBlockTitle m-0">
6
- {{ localization.advancedPerformance }}
7
- </h3>
8
- </div>
9
- <!-- <div v-show="props.advancedLoading || !props.data" class="empty-data">-->
10
- <!-- {{ localization.emptyAdvancedGraphText }}-->
11
- <!-- </div>-->
12
- <div class="fill-parent flex-column">
13
- <div class="vertical-flex-container fill-parent">
14
- <common-monitor-advanced-tools
15
- v-model:selected-timespan-type="localSelectedTimespanType"
16
- :type="props.type"
17
- :start-date="props.data?.pointStart || 0"
18
- :chart-title="props.data?.groupName || ''"
19
- :language="props.language"
20
- :selected-counters-keys="props.selectedCountersKeys"
21
- :selected-metric="props.selectedMetric"
22
- :disabled-period="props.disabledPeriod"
23
- :disabled-view="props.disabledView"
24
- :selected-chart-type="props.selectedChartType"
25
- :units-count="props.unitsCount"
26
- :period-type="props.periodType"
27
- :selected-custom-time="props.selectedCustomTime"
28
- :selected-chart-option-name="props.selectedChartOptionName"
29
- :custom-date-from="props.customDateFrom"
30
- :custom-date-to="props.customDateTo"
31
- :custom-time-from="props.customTimeFrom"
32
- :custom-time-to="props.customTimeTo"
33
- :total-cores="totalCores"
34
- :host-id="props.hostId"
35
- :selected-objects="props.selectedObjects"
36
- @update-tools="emits('update-tools', $event)"
37
- @exporting="onExporting"
38
- @open-advanced-page="onGetEmptyPage"
39
- @select-row="emits('select-row', $event)"
40
- @select-metric="emits('select-metric', $event)"
41
- @update-chart-type="emits('update-chart-type', $event)"
42
- @update-timespan-type="emits('update-timespan-type', $event)"
43
- @update-unit-count="emits('update-unit-count', $event)"
44
- @update-period-type="emits('update-period-type', $event)"
45
- @update-custom-time="emits('update-custom-time', $event)"
46
- @delete-option="emits('delete-option')"
47
- @update-custom-date-from="emits('update-custom-date-from', $event)"
48
- @update-custom-date-to="emits('update-custom-date-to', $event)"
49
- @update-custom-time-from="emits('update-custom-time-from', $event)"
50
- @update-custom-time-to="emits('update-custom-time-to', $event)"
51
- @submit-options="emits('submit-options', $event)"
52
- />
53
-
54
- <div v-show="!props.data" class="empty-container">
55
- {{
56
- localization.noPerformanceDataIsAvailableForTheCurrentlySelectedMetrics
57
- }}
58
- </div>
59
-
60
- <div v-show="props.data">
61
- <div class="main-graphs-loader relative">
62
- <common-monitor-advanced-graph-view
63
- :loading="props.advancedLoading"
64
- :data="props.data"
65
- :update="update"
66
- :export="exportGraph"
67
- :selected-row="selectedRow"
68
- :dark-mode="props.darkMode"
69
- :formatted-datetime="props.formattedDatetime"
70
- :get-date-format="props.getDateFormat"
71
- :language="props.language"
72
- :selected-chart-type="props.selectedChartType"
73
- />
74
- <div class="datatable">
75
- <common-monitor-advanced-table
76
- :data="props.tableData"
77
- @select="onCheckSelectedRow"
78
- />
79
- </div>
80
- </div>
81
- </div>
82
- </div>
83
- </div>
84
- </div>
85
- </div>
86
- </template>
87
-
88
- <script setup lang="ts">
89
- import { UI_I_Localization } from '~/models/interfaces'
90
- import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
91
- import { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/models/interfaces'
92
- import { UI_I_MonitorGraphPayload } from '~/components/common/monitor/models/interfaces'
93
- import { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/models/interfaces'
94
- import {
95
- T_ChartHost,
96
- T_ChartVm,
97
- } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
98
- import { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/models'
99
- import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
100
- import { getCountCores } from '~/components/common/monitor/advanced/tools/utils/countCores'
101
-
102
- const props = defineProps<{
103
- type: UI_T_AdvancedType
104
- advancedLoading: boolean
105
- data: I_SeriesLine | null
106
- cpuCoresDataData: I_SeriesLine | null
107
- tableData: UI_I_PerformanceItem[] | []
108
- language: string
109
- darkMode: boolean
110
- formattedDatetime: any
111
- getDateFormat: any
112
- selectedCountersKeys: number[]
113
- selectedMetric: T_ChartHost | T_ChartVm
114
- selectedChartType: string
115
- selectedTimespanType: string
116
- unitsCount: number
117
- periodType: string
118
- selectedCustomTime: string
119
- selectedChartOptionName: string
120
- customDateFrom: string
121
- customDateTo: string
122
- customTimeFrom: string
123
- customTimeTo: string
124
- hostId: string
125
- selectedObjects: string
126
- disabledPeriod?: boolean
127
- disabledView?: boolean
128
- }>()
129
-
130
- const emits = defineEmits<{
131
- (event: 'update-tools', value: UI_I_MonitorGraphPayload): void
132
- (event: 'open-advanced-page'): void
133
- (event: 'update-selected-row', value: number[]): void
134
- (event: 'select-row', value: UI_I_AdvancedCounterItem[]): void
135
- (event: 'select-metric', value: string): void
136
- (event: 'update-chart-type', value: string): void
137
- (event: 'update-timespan-type', value: string): void
138
- (event: 'update-unit-count', value: number): void
139
- (event: 'update-period-type', value: string): void
140
- (event: 'update-custom-time', value: string): void
141
- (event: 'delete-option'): void
142
- (event: 'update-custom-date-from', value: string): void
143
- (event: 'update-custom-date-to', value: string): void
144
- (event: 'update-custom-time-from', value: string): void
145
- (event: 'update-custom-time-to', value: string): void
146
- (event: 'submit-options', value: UI_I_OptionsForm): void
147
- (event: 'update:selected-timespan-type', value: string): void
148
- }>()
149
-
150
- const localization = computed<UI_I_Localization>(() => useLocal())
151
-
152
- const localSelectedTimespanType = computed<string>({
153
- get() {
154
- return props.selectedTimespanType
155
- },
156
- set(newValue) {
157
- emits('update:selected-timespan-type', newValue)
158
- },
159
- })
160
-
161
- const totalCores = ref<number>(0)
162
- let isFirstUpdate = true
163
- watch(
164
- () => props.cpuCoresDataData,
165
- (newValue) => {
166
- if (!newValue || !isFirstUpdate) return
167
-
168
- totalCores.value = getCountCores(newValue)
169
- isFirstUpdate = false
170
- },
171
- { immediate: true }
172
- )
173
-
174
- const exportGraph = ref<string>('')
175
- const onExporting = (key: string): void => {
176
- exportGraph.value = key
177
- }
178
-
179
- const onGetEmptyPage = (): void => emits('open-advanced-page')
180
-
181
- const update = ref<number>(0)
182
-
183
- const selectedRow = ref<number[]>([])
184
- const onCheckSelectedRow = (data: number[]): void => {
185
- selectedRow.value = data
186
- }
187
- </script>
188
-
189
- <style scoped lang="scss">
190
- #advanced-page {
191
- overflow-x: hidden;
192
- }
193
- .fill-parent {
194
- flex-direction: column;
195
-
196
- .empty-data {
197
- height: 100%;
198
- display: flex;
199
- align-items: center;
200
- justify-content: center;
201
- }
202
- .empty-container {
203
- min-height: 300px;
204
- height: 100%;
205
- background-color: var(--block-view-bg-color5);
206
- display: flex;
207
- flex-grow: 1;
208
- flex-shrink: 1;
209
- justify-content: center;
210
- align-items: center;
211
- width: 100%;
212
- }
213
-
214
- .routed-view-panel-layout {
215
- width: 100%;
216
- height: 100%;
217
- box-sizing: border-box;
218
- display: flex;
219
- flex-direction: column;
220
-
221
- .settingsViewHeader {
222
- display: flex;
223
- align-items: center;
224
- box-sizing: border-box;
225
-
226
- .settingsBlockTitle {
227
- font-size: 22px;
228
- font-weight: 400;
229
- color: var(--light-white-100);
230
- padding: 4px 0 4px 2px;
231
- }
232
- }
233
- }
234
- }
235
- </style>
1
+ <template>
2
+ <div id="advanced-page" class="fill-parent">
3
+ <div class="routed-view-panel-layout">
4
+ <div class="settingsViewHeader">
5
+ <h3 class="settingsBlockTitle m-0">
6
+ {{ localization.advancedPerformance }}
7
+ </h3>
8
+ </div>
9
+ <!-- <div v-show="props.advancedLoading || !props.data" class="empty-data">-->
10
+ <!-- {{ localization.emptyAdvancedGraphText }}-->
11
+ <!-- </div>-->
12
+ <div class="fill-parent flex-column">
13
+ <div class="vertical-flex-container fill-parent">
14
+ <common-monitor-advanced-tools
15
+ v-model:selected-timespan-type="localSelectedTimespanType"
16
+ :type="props.type"
17
+ :start-date="props.data?.pointStart || 0"
18
+ :chart-title="props.data?.groupName || ''"
19
+ :language="props.language"
20
+ :selected-counters-keys="props.selectedCountersKeys"
21
+ :selected-metric="props.selectedMetric"
22
+ :disabled-period="props.disabledPeriod"
23
+ :disabled-view="props.disabledView"
24
+ :selected-chart-type="props.selectedChartType"
25
+ :units-count="props.unitsCount"
26
+ :period-type="props.periodType"
27
+ :selected-custom-time="props.selectedCustomTime"
28
+ :selected-chart-option-name="props.selectedChartOptionName"
29
+ :custom-date-from="props.customDateFrom"
30
+ :custom-date-to="props.customDateTo"
31
+ :custom-time-from="props.customTimeFrom"
32
+ :custom-time-to="props.customTimeTo"
33
+ :total-cores="totalCores"
34
+ :host-id="props.hostId"
35
+ :selected-objects="props.selectedObjects"
36
+ @update-tools="emits('update-tools', $event)"
37
+ @exporting="onExporting"
38
+ @open-advanced-page="onGetEmptyPage"
39
+ @select-row="emits('select-row', $event)"
40
+ @select-metric="emits('select-metric', $event)"
41
+ @update-chart-type="emits('update-chart-type', $event)"
42
+ @update-timespan-type="emits('update-timespan-type', $event)"
43
+ @update-unit-count="emits('update-unit-count', $event)"
44
+ @update-period-type="emits('update-period-type', $event)"
45
+ @update-custom-time="emits('update-custom-time', $event)"
46
+ @delete-option="emits('delete-option')"
47
+ @update-custom-date-from="emits('update-custom-date-from', $event)"
48
+ @update-custom-date-to="emits('update-custom-date-to', $event)"
49
+ @update-custom-time-from="emits('update-custom-time-from', $event)"
50
+ @update-custom-time-to="emits('update-custom-time-to', $event)"
51
+ @submit-options="emits('submit-options', $event)"
52
+ />
53
+
54
+ <div v-show="!props.data" class="empty-container">
55
+ {{
56
+ localization.noPerformanceDataIsAvailableForTheCurrentlySelectedMetrics
57
+ }}
58
+ </div>
59
+
60
+ <div v-show="props.data">
61
+ <div class="main-graphs-loader relative">
62
+ <common-monitor-advanced-graph-view
63
+ :loading="props.advancedLoading"
64
+ :data="props.data"
65
+ :update="update"
66
+ :export="exportGraph"
67
+ :selected-row="selectedRow"
68
+ :dark-mode="props.darkMode"
69
+ :formatted-datetime="props.formattedDatetime"
70
+ :get-date-format="props.getDateFormat"
71
+ :language="props.language"
72
+ :selected-chart-type="props.selectedChartType"
73
+ />
74
+ <div class="datatable">
75
+ <common-monitor-advanced-table
76
+ :data="props.tableData"
77
+ @select="onCheckSelectedRow"
78
+ />
79
+ </div>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </template>
87
+
88
+ <script setup lang="ts">
89
+ import { UI_I_Localization } from '~/models/interfaces'
90
+ import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
91
+ import { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/models/interfaces'
92
+ import { UI_I_MonitorGraphPayload } from '~/components/common/monitor/models/interfaces'
93
+ import { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/models/interfaces'
94
+ import {
95
+ T_ChartHost,
96
+ T_ChartVm,
97
+ } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
98
+ import { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/interfaces'
99
+ import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
100
+ import { getCountCores } from '~/components/common/monitor/advanced/tools/utils/countCores'
101
+
102
+ const props = defineProps<{
103
+ type: UI_T_AdvancedType
104
+ advancedLoading: boolean
105
+ data: I_SeriesLine | null
106
+ cpuCoresDataData: I_SeriesLine | null
107
+ tableData: UI_I_PerformanceItem[] | []
108
+ language: string
109
+ darkMode: boolean
110
+ formattedDatetime: any
111
+ getDateFormat: any
112
+ selectedCountersKeys: number[]
113
+ selectedMetric: T_ChartHost | T_ChartVm
114
+ selectedChartType: string
115
+ selectedTimespanType: string
116
+ unitsCount: number
117
+ periodType: string
118
+ selectedCustomTime: string
119
+ selectedChartOptionName: string
120
+ customDateFrom: string
121
+ customDateTo: string
122
+ customTimeFrom: string
123
+ customTimeTo: string
124
+ hostId: string
125
+ selectedObjects: string
126
+ disabledPeriod?: boolean
127
+ disabledView?: boolean
128
+ }>()
129
+
130
+ const emits = defineEmits<{
131
+ (event: 'update-tools', value: UI_I_MonitorGraphPayload): void
132
+ (event: 'open-advanced-page'): void
133
+ (event: 'update-selected-row', value: number[]): void
134
+ (event: 'select-row', value: UI_I_AdvancedCounterItem[]): void
135
+ (event: 'select-metric', value: string): void
136
+ (event: 'update-chart-type', value: string): void
137
+ (event: 'update-timespan-type', value: string): void
138
+ (event: 'update-unit-count', value: number): void
139
+ (event: 'update-period-type', value: string): void
140
+ (event: 'update-custom-time', value: string): void
141
+ (event: 'delete-option'): void
142
+ (event: 'update-custom-date-from', value: string): void
143
+ (event: 'update-custom-date-to', value: string): void
144
+ (event: 'update-custom-time-from', value: string): void
145
+ (event: 'update-custom-time-to', value: string): void
146
+ (event: 'submit-options', value: UI_I_OptionsForm): void
147
+ (event: 'update:selected-timespan-type', value: string): void
148
+ }>()
149
+
150
+ const localization = computed<UI_I_Localization>(() => useLocal())
151
+
152
+ const localSelectedTimespanType = computed<string>({
153
+ get() {
154
+ return props.selectedTimespanType
155
+ },
156
+ set(newValue) {
157
+ emits('update:selected-timespan-type', newValue)
158
+ },
159
+ })
160
+
161
+ const totalCores = ref<number>(0)
162
+ let isFirstUpdate = true
163
+ watch(
164
+ () => props.cpuCoresDataData,
165
+ (newValue) => {
166
+ if (!newValue || !isFirstUpdate) return
167
+
168
+ totalCores.value = getCountCores(newValue)
169
+ isFirstUpdate = false
170
+ },
171
+ { immediate: true }
172
+ )
173
+
174
+ const exportGraph = ref<string>('')
175
+ const onExporting = (key: string): void => {
176
+ exportGraph.value = key
177
+ }
178
+
179
+ const onGetEmptyPage = (): void => emits('open-advanced-page')
180
+
181
+ const update = ref<number>(0)
182
+
183
+ const selectedRow = ref<number[]>([])
184
+ const onCheckSelectedRow = (data: number[]): void => {
185
+ selectedRow.value = data
186
+ }
187
+ </script>
188
+
189
+ <style scoped lang="scss">
190
+ #advanced-page {
191
+ overflow-x: hidden;
192
+ }
193
+ .fill-parent {
194
+ flex-direction: column;
195
+
196
+ .empty-data {
197
+ height: 100%;
198
+ display: flex;
199
+ align-items: center;
200
+ justify-content: center;
201
+ }
202
+ .empty-container {
203
+ min-height: 300px;
204
+ height: 100%;
205
+ background-color: var(--block-view-bg-color5);
206
+ display: flex;
207
+ flex-grow: 1;
208
+ flex-shrink: 1;
209
+ justify-content: center;
210
+ align-items: center;
211
+ width: 100%;
212
+ }
213
+
214
+ .routed-view-panel-layout {
215
+ width: 100%;
216
+ height: 100%;
217
+ box-sizing: border-box;
218
+ display: flex;
219
+ flex-direction: column;
220
+
221
+ .settingsViewHeader {
222
+ display: flex;
223
+ align-items: center;
224
+ box-sizing: border-box;
225
+
226
+ .settingsBlockTitle {
227
+ font-size: 22px;
228
+ font-weight: 400;
229
+ color: var(--light-white-100);
230
+ padding: 4px 0 4px 2px;
231
+ }
232
+ }
233
+ }
234
+ }
235
+ </style>
@@ -130,7 +130,7 @@ import {
130
130
  T_ChartHost,
131
131
  T_ChartVm,
132
132
  } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
133
- import { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/models'
133
+ import { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/interfaces'
134
134
  import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
135
135
  import { getValidDateByOptionFunc } from '~/components/common/monitor/config/getValidDateByOption'
136
136
  import {
@@ -76,7 +76,7 @@ import {
76
76
  T_ChartHost,
77
77
  T_ChartVm,
78
78
  } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
79
- import { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/models'
79
+ import { UI_I_OptionsForm } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/interfaces'
80
80
  import { metricsFunc } from '~/components/common/monitor/advanced/tools/chartOptionsModal/metrics/config/optionsMetrics'
81
81
  import { getCurrentOptionsStorageFunc } from '~/components/common/monitor/advanced/tools/config/advancedToolbar'
82
82
  import { checkDateFunc } from '~/components/common/monitor/overview/filters/customIntervalModal/config/dateChecker'
@@ -1,19 +1,19 @@
1
- import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
2
-
3
- export interface UI_I_OptionsForm {
4
- fields: string
5
- optionName: string
6
- metric: string
7
- counters: UI_I_AdvancedCounterItem[]
8
- timespanType: string
9
- periodType: string
10
- unitCount: number
11
- localTimespanType: string
12
- dateFrom: string
13
- timeFrom: string
14
- dateTo: string
15
- timeTo: string
16
- chartType: string
17
- objects: string
18
- periodValue: number[]
19
- }
1
+ import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
2
+
3
+ export interface UI_I_OptionsForm {
4
+ fields: string
5
+ optionName: string
6
+ metric: string
7
+ counters: UI_I_AdvancedCounterItem[]
8
+ timespanType: string
9
+ periodType: string
10
+ unitCount: number
11
+ localTimespanType: string
12
+ dateFrom: string
13
+ timeFrom: string
14
+ dateTo: string
15
+ timeTo: string
16
+ chartType: string
17
+ objects: string
18
+ periodValue: number[]
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>