bfg-common 1.1.76 → 1.1.78

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