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,86 +1,93 @@
1
- <template>
2
- <div class="vertical-flex-container chart-option-counters-container">
3
- <common-monitor-advanced-tools-chart-options-modal-counters-table
4
- :chart="props.chart"
5
- :type="props.type"
6
- :selected-keys="props.selectedKeys"
7
- @select-row="emits('select-row', $event)"
8
- />
9
- <common-monitor-advanced-tools-chart-options-modal-counters-timespan
10
- :type="props.type"
11
- :chart="props.chart"
12
- :language="props.language"
13
- :selected-chart-type="props.selectedChartType"
14
- :selected-timespan-type="props.selectedTimespanType"
15
- :units-count="props.unitsCount"
16
- :period-type="props.periodType"
17
- :selected-custom-time="props.selectedCustomTime"
18
- :custom-date-from="props.customDateFrom"
19
- :custom-date-to="props.customDateTo"
20
- :custom-time-from="props.customTimeFrom"
21
- :custom-time-to="props.customTimeTo"
22
- :total-cores="props.totalCores"
23
- :host-id="props.hostId"
24
- @update-chart-type="emits('update-chart-type', $event)"
25
- @update-custom-time="emits('update-custom-time', $event)"
26
- @update-timespan-type="emits('update-timespan-type', $event)"
27
- @update-unit-count="emits('update-unit-count', $event)"
28
- @update-period-type="emits('update-period-type', $event)"
29
- @update-custom-date-from="emits('update-custom-date-from', $event)"
30
- @update-custom-date-to="emits('update-custom-date-to', $event)"
31
- @update-custom-time-from="emits('update-custom-time-from', $event)"
32
- @update-custom-time-to="emits('update-custom-time-to', $event)"
33
- @select-objects="emits('select-objects', $event)"
34
- />
35
- </div>
36
- </template>
37
-
38
- <script setup lang="ts">
39
- import {
40
- T_ChartHost,
41
- T_ChartVm,
42
- } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
43
- import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
44
- import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
45
-
46
- const props = defineProps<{
47
- language: string
48
- chart: T_ChartHost | T_ChartVm
49
- type: UI_T_AdvancedType
50
- selectedKeys: number[]
51
- selectedChartType: string
52
- selectedTimespanType: string
53
- unitsCount: number
54
- periodType: string
55
- selectedCustomTime: string
56
- customDateFrom: string
57
- customDateTo: string
58
- customTimeFrom: string
59
- customTimeTo: string
60
- totalCores: number
61
- hostId: string
62
- }>()
63
-
64
- const emits = defineEmits<{
65
- (event: 'select-row', value: UI_I_AdvancedCounterItem[]): void
66
- (event: 'update-chart-type', value: string): void
67
- (event: 'update-custom-time', value: string): void
68
- (event: 'update-timespan-type', value: string): void
69
- (event: 'update-unit-count', value: number): void
70
- (event: 'update-period-type', value: string): void
71
- (event: 'update-custom-date-from', value: string): void
72
- (event: 'update-custom-date-to', value: string): void
73
- (event: 'update-custom-time-from', value: string): void
74
- (event: 'update-custom-time-to', value: string): void
75
- (event: 'select-objects', value: string): void
76
- }>()
77
- </script>
78
-
79
- <style scoped lang="scss">
80
- .chart-option-counters-container {
81
- margin-top: 20px;
82
- flex-basis: 80%;
83
- padding-left: 15px;
84
- max-width: 80%;
85
- }
86
- </style>
1
+ <template>
2
+ <div class="vertical-flex-container chart-option-counters-container">
3
+ <common-monitor-advanced-tools-chart-options-modal-counters-table
4
+ :chart="props.chart"
5
+ :type="props.type"
6
+ :selected-keys="props.selectedKeys"
7
+ @select-row="emits('select-row', $event)"
8
+ />
9
+ <common-monitor-advanced-tools-chart-options-modal-counters-timespan
10
+ :type="props.type"
11
+ :chart="props.chart"
12
+ :language="props.language"
13
+ :selected-chart-type="props.selectedChartType"
14
+ :selected-timespan-type="props.selectedTimespanType"
15
+ :units-count="props.unitsCount"
16
+ :period-type="props.periodType"
17
+ :selected-custom-time="props.selectedCustomTime"
18
+ :custom-date-from="props.customDateFrom"
19
+ :custom-date-to="props.customDateTo"
20
+ :custom-time-from="props.customTimeFrom"
21
+ :custom-time-to="props.customTimeTo"
22
+ :total-cores="props.totalCores"
23
+ :host-id="props.hostId"
24
+ :selected-metrics-keys="props.selectedMetricsKeys"
25
+ :total-metric-items="totalMetricItems"
26
+ :selected-objects="props.selectedObjects"
27
+ @update-chart-type="emits('update-chart-type', $event)"
28
+ @update-custom-time="emits('update-custom-time', $event)"
29
+ @update-timespan-type="emits('update-timespan-type', $event)"
30
+ @update-unit-count="emits('update-unit-count', $event)"
31
+ @update-period-type="emits('update-period-type', $event)"
32
+ @update-custom-date-from="emits('update-custom-date-from', $event)"
33
+ @update-custom-date-to="emits('update-custom-date-to', $event)"
34
+ @update-custom-time-from="emits('update-custom-time-from', $event)"
35
+ @update-custom-time-to="emits('update-custom-time-to', $event)"
36
+ @select-objects="emits('select-objects', $event)"
37
+ />
38
+ </div>
39
+ </template>
40
+
41
+ <script setup lang="ts">
42
+ import {
43
+ T_ChartHost,
44
+ T_ChartVm,
45
+ } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
46
+ import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
47
+ import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
48
+
49
+ const props = defineProps<{
50
+ language: string
51
+ chart: T_ChartHost | T_ChartVm
52
+ type: UI_T_AdvancedType
53
+ selectedKeys: number[]
54
+ selectedChartType: string
55
+ selectedTimespanType: string
56
+ unitsCount: number
57
+ periodType: string
58
+ selectedCustomTime: string
59
+ customDateFrom: string
60
+ customDateTo: string
61
+ customTimeFrom: string
62
+ customTimeTo: string
63
+ totalCores: number
64
+ hostId: string
65
+ selectedMetricsKeys: number[]
66
+ selectedObjects: string
67
+ }>()
68
+
69
+ const emits = defineEmits<{
70
+ (event: 'select-row', value: UI_I_AdvancedCounterItem[]): void
71
+ (event: 'update-chart-type', value: string): void
72
+ (event: 'update-custom-time', value: string): void
73
+ (event: 'update-timespan-type', value: string): void
74
+ (event: 'update-unit-count', value: number): void
75
+ (event: 'update-period-type', value: string): void
76
+ (event: 'update-custom-date-from', value: string): void
77
+ (event: 'update-custom-date-to', value: string): void
78
+ (event: 'update-custom-time-from', value: string): void
79
+ (event: 'update-custom-time-to', value: string): void
80
+ (event: 'select-objects', value: string): void
81
+ }>()
82
+
83
+ const totalMetricItems = ref<number>(0)
84
+ </script>
85
+
86
+ <style scoped lang="scss">
87
+ .chart-option-counters-container {
88
+ margin-top: 20px;
89
+ flex-basis: 80%;
90
+ padding-left: 15px;
91
+ max-width: 80%;
92
+ }
93
+ </style>
@@ -1,121 +1,130 @@
1
- <template>
2
- <div class="vertical-flex-container chart-option-counters-vertical-split">
3
- <span class="chart-options-grid-title">{{
4
- localization.selectCountersForThisChart
5
- }}</span>
6
-
7
- <atoms-table-data-grid
8
- v-model:selected-row="selectedCounters"
9
- v-model:column-keys="columnItems"
10
- v-model:page-size="pagination.pageSize"
11
- v-model:page="pagination.page"
12
- type="checkbox"
13
- class="data-table"
14
- :head-items="headItems"
15
- :body-items="bodyItems"
16
- :total-items="totalItems"
17
- :total-pages="totalPages"
18
- hide-footer
19
- server-off
20
- @change="onChangeRow"
21
- />
22
- </div>
23
- </template>
24
-
25
- <script setup lang="ts">
26
- import {
27
- UI_I_HeadItem,
28
- UI_I_BodyItem,
29
- UI_I_ColumnKey,
30
- } from '~/components/atoms/table/dataGrid/models/interfaces'
31
- import { UI_I_Localization } from '~/models/interfaces'
32
- import * as table from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/config/tableConfig'
33
- import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
34
- import {
35
- T_ChartHost,
36
- T_ChartVm,
37
- } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
38
- import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
39
- import { countersItemsFunc } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/config/utils'
40
-
41
- const props = defineProps<{
42
- chart: T_ChartHost | T_ChartVm
43
- type: UI_T_AdvancedType
44
- selectedKeys: number[]
45
- }>()
46
-
47
- const emits = defineEmits<{
48
- (event: 'select-row', value: UI_I_AdvancedCounterItem[]): void
49
- }>()
50
-
51
- const localization = computed<UI_I_Localization>(() => useLocal())
52
-
53
- const counters = computed<UI_I_AdvancedCounterItem[]>(() =>
54
- countersItemsFunc(props.type, props.chart, localization.value)
55
- )
56
-
57
- const totalItems = computed<number>(() => counters.value.length)
58
- const totalPages = computed<number>(() => 1)
59
-
60
- const selectedCounters = ref<number[]>([])
61
- watch(
62
- () => props.selectedKeys,
63
- (newValue) => {
64
- selectedCounters.value = newValue
65
- },
66
- { immediate: true, deep: true }
67
- )
68
- watch(
69
- () => props.chart,
70
- () => {
71
- selectedCounters.value = []
72
- }
73
- )
74
- const pagination = ref<any>({
75
- page: 1,
76
- pageSize: 35,
77
- })
78
-
79
- const columnItems = computed<UI_I_ColumnKey[]>(() =>
80
- table.columnKeys(localization.value)
81
- )
82
- const headItems = computed<UI_I_HeadItem[]>(() =>
83
- table.headItems(localization.value)
84
- )
85
- const bodyItems = ref<UI_I_BodyItem[][]>([])
86
-
87
- watch(
88
- counters,
89
- (newValue) => {
90
- if (!newValue.length) return
91
-
92
- bodyItems.value = table.bodyItems(newValue)
93
- },
94
- { deep: true, immediate: true }
95
- )
96
-
97
- const onChangeRow = (val: number[]): void => {
98
- const result: UI_I_AdvancedCounterItem[] = []
99
-
100
- counters.value.forEach((item) => {
101
- if (val.includes(item.id)) result.push(item)
102
- })
103
-
104
- emits('select-row', result)
105
- }
106
-
107
- watch(
108
- selectedCounters,
109
- (newValue) => {
110
- onChangeRow(newValue)
111
- },
112
- { immediate: true }
113
- )
114
- </script>
115
-
116
- <style scoped lang="scss">
117
- .chart-options-grid-title {
118
- display: block;
119
- margin-bottom: -20px;
120
- }
121
- </style>
1
+ <template>
2
+ <div class="vertical-flex-container chart-option-counters-vertical-split">
3
+ <span class="chart-options-grid-title">{{
4
+ localization.selectCountersForThisChart
5
+ }}</span>
6
+
7
+ <atoms-table-data-grid
8
+ v-model:selected-row="selectedCounters"
9
+ v-model:column-keys="columnItems"
10
+ v-model:page-size="pagination.pageSize"
11
+ v-model:page="pagination.page"
12
+ type="checkbox"
13
+ class="data-table"
14
+ :head-items="headItems"
15
+ :body-items="bodyItems"
16
+ :total-items="totalItems"
17
+ :total-pages="totalPages"
18
+ hide-footer
19
+ server-off
20
+ @change="onChangeRow"
21
+ />
22
+ </div>
23
+ </template>
24
+
25
+ <script setup lang="ts">
26
+ import {
27
+ UI_I_HeadItem,
28
+ UI_I_BodyItem,
29
+ UI_I_ColumnKey,
30
+ } from '~/components/atoms/table/dataGrid/models/interfaces'
31
+ import { UI_I_Localization } from '~/models/interfaces'
32
+ import * as table from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/config/tableConfig'
33
+ import { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/models/interfaces'
34
+ import {
35
+ T_ChartHost,
36
+ T_ChartVm,
37
+ } from '~/components/common/monitor/advanced/tools/chartOptionsModal/models/types'
38
+ import { UI_T_AdvancedType } from '~/components/common/monitor/advanced/models/types'
39
+ import { countersItemsFunc } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/config/utils'
40
+
41
+ const props = defineProps<{
42
+ chart: T_ChartHost | T_ChartVm
43
+ type: UI_T_AdvancedType
44
+ selectedKeys: number[]
45
+ }>()
46
+
47
+ const emits = defineEmits<{
48
+ (event: 'select-row', value: UI_I_AdvancedCounterItem[]): void
49
+ (event: 'total-items', value: number): void
50
+ }>()
51
+
52
+ const localization = computed<UI_I_Localization>(() => useLocal())
53
+
54
+ const counters = computed<UI_I_AdvancedCounterItem[]>(() =>
55
+ countersItemsFunc(props.type, props.chart, localization.value)
56
+ )
57
+
58
+ const totalItems = computed<number>(() => counters.value.length)
59
+ const totalPages = computed<number>(() => 1)
60
+
61
+ watch(
62
+ totalItems,
63
+ (newValue) => {
64
+ emits('total-items', newValue)
65
+ },
66
+ { immediate: true }
67
+ )
68
+
69
+ const selectedCounters = ref<number[]>([])
70
+ watch(
71
+ () => props.selectedKeys,
72
+ (newValue) => {
73
+ selectedCounters.value = newValue
74
+ },
75
+ { immediate: true, deep: true }
76
+ )
77
+ watch(
78
+ () => props.chart,
79
+ () => {
80
+ selectedCounters.value = []
81
+ }
82
+ )
83
+ const pagination = ref<any>({
84
+ page: 1,
85
+ pageSize: 35,
86
+ })
87
+
88
+ const columnItems = computed<UI_I_ColumnKey[]>(() =>
89
+ table.columnKeys(localization.value)
90
+ )
91
+ const headItems = computed<UI_I_HeadItem[]>(() =>
92
+ table.headItems(localization.value)
93
+ )
94
+ const bodyItems = ref<UI_I_BodyItem[][]>([])
95
+
96
+ watch(
97
+ counters,
98
+ (newValue) => {
99
+ if (!newValue.length) return
100
+
101
+ bodyItems.value = table.bodyItems(newValue)
102
+ },
103
+ { deep: true, immediate: true }
104
+ )
105
+
106
+ const onChangeRow = (val: number[]): void => {
107
+ const result: UI_I_AdvancedCounterItem[] = []
108
+
109
+ counters.value.forEach((item) => {
110
+ if (val.includes(item.id)) result.push(item)
111
+ })
112
+
113
+ emits('select-row', result)
114
+ }
115
+
116
+ watch(
117
+ selectedCounters,
118
+ (newValue) => {
119
+ onChangeRow(newValue)
120
+ },
121
+ { immediate: true }
122
+ )
123
+ </script>
124
+
125
+ <style scoped lang="scss">
126
+ .chart-options-grid-title {
127
+ display: block;
128
+ margin-bottom: -20px;
129
+ }
130
+ </style>