bfg-common 1.5.92 → 1.5.94

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 (112) hide show
  1. package/assets/scss/common/normalize.scss +347 -347
  2. package/components/atoms/alert/Notification.vue +169 -169
  3. package/components/atoms/autocomplete/Autocomplete.vue +361 -362
  4. package/components/atoms/collapse/CollapseNav.vue +169 -169
  5. package/components/atoms/comboDropdownMenu/ComboDropdownMenu.vue +357 -357
  6. package/components/atoms/combobox/Combobox.vue +154 -154
  7. package/components/atoms/datepicker/Datepicker.vue +639 -639
  8. package/components/atoms/dropdown/Portlet.vue +113 -113
  9. package/components/atoms/dropdown/dropdown/Dropdown.vue +168 -168
  10. package/components/atoms/dropdown/tree/Tree.vue +137 -137
  11. package/components/atoms/list/SelectList.vue +63 -63
  12. package/components/atoms/list/dragDropList/DragDropList.vue +148 -148
  13. package/components/atoms/modal/Modal.vue +250 -250
  14. package/components/atoms/modal/bySteps/BySteps.vue +253 -253
  15. package/components/atoms/notificationBar/NotificationBar.vue +178 -178
  16. package/components/atoms/popover/Popover.vue +58 -58
  17. package/components/atoms/popover/lib/models/interfaces.ts +4 -4
  18. package/components/atoms/select/TheSelect.vue +187 -187
  19. package/components/atoms/stack/StackBlock.vue +185 -185
  20. package/components/atoms/stack/StackContent.vue +63 -63
  21. package/components/atoms/step/lib/models/verticalStepItem.ts +5 -5
  22. package/components/atoms/switch/Switch.vue +111 -111
  23. package/components/atoms/table/compact/Compact.vue +529 -529
  24. package/components/atoms/table/dataGrid/DataGrid.vue +1716 -1713
  25. package/components/atoms/table/dataGrid/DataGridPage.vue +195 -195
  26. package/components/atoms/table/info/Info.vue +2 -2
  27. package/components/atoms/table/simpleEvent/SimpleEvent.vue +98 -98
  28. package/components/atoms/table/simpleInfo/SimpleInfo.vue +73 -73
  29. package/components/atoms/tabs/Tabs.vue +217 -217
  30. package/components/atoms/wizard/Wizard.vue +341 -341
  31. package/components/common/accordion/Recursion.vue +222 -222
  32. package/components/common/adapterManager/AddAdapterModal.vue +561 -561
  33. package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +30 -30
  34. package/components/common/adapterManager/ui/table/Table.vue +162 -162
  35. package/components/common/browse/BrowseNew.vue +237 -237
  36. package/components/common/browse/BrowseOld.vue +217 -217
  37. package/components/common/browse/blocks/TitleNew.vue +145 -145
  38. package/components/common/browse/blocks/TitleOld.vue +91 -91
  39. package/components/common/browse/blocks/contents/FilesOld.vue +72 -72
  40. package/components/common/chartOptionsModal/counters/timespan/form/FormNew.vue +262 -262
  41. package/components/common/context/Context.vue +111 -111
  42. package/components/common/context/recursion/RecursionOld.vue +228 -228
  43. package/components/common/details/DetailsItem.vue +109 -109
  44. package/components/common/feedback/Buttons.vue +229 -229
  45. package/components/common/feedback/Feedback.vue +270 -270
  46. package/components/common/feedback/Message.vue +519 -519
  47. package/components/common/graph/graphNew/GraphNew.vue +194 -194
  48. package/components/common/graph/lib/utils/renderGraph.ts +389 -389
  49. package/components/common/layout/theHeader/feedback/new/New.vue +227 -227
  50. package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +606 -606
  51. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +98 -98
  52. package/components/common/layout/theHeader/feedback/new/description/Description.vue +59 -59
  53. package/components/common/layout/theHeader/feedback/new/email/Email.vue +43 -43
  54. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +103 -103
  55. package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +112 -112
  56. package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +80 -80
  57. package/components/common/layout/theHeader/helpMenu/helpMenuOld/HelpMenuOld.vue +1 -1
  58. package/components/common/layout/theHeader/modals/Reconnect.vue +2 -2
  59. package/components/common/layout/theHeader/modals/RedirectLogin.vue +3 -3
  60. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +1 -1
  61. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +8 -8
  62. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordOld.vue +3 -3
  63. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +1 -1
  64. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +1 -1
  65. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +1 -1
  66. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +1 -1
  67. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageOld.vue +2 -5
  68. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleOld.vue +1 -1
  69. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +1 -1
  70. package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +2 -2
  71. package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
  72. package/components/common/layout/theHeader/userMenu/userMenuOld/UserMenuOld.vue +1 -1
  73. package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +2 -2
  74. package/components/common/modals/Rename.vue +2 -2
  75. package/components/common/modals/confirmByInput/ConfirmByInput.vue +2 -3
  76. package/components/common/modals/confirmByInput/ConfirmByInputOld.vue +3 -3
  77. package/components/common/modals/confirmation/ConfirmationOld.vue +1 -1
  78. package/components/common/modals/unsavedChanges/UnsavedChanges.vue +1 -1
  79. package/components/common/monitor/advanced/Advanced.vue +1 -1
  80. package/components/common/monitor/advanced/AdvancedNew.vue +1 -1
  81. package/components/common/monitor/advanced/AdvancedOld.vue +1 -1
  82. package/components/common/monitor/advanced/graphView/GraphViewNew.vue +1 -1
  83. package/components/common/monitor/advanced/graphView/GraphViewOld.vue +1 -1
  84. package/components/common/monitor/advanced/table/Table.vue +1 -1
  85. package/components/common/monitor/advanced/table/tableNew/TableNew.vue +2 -2
  86. package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +2 -2
  87. package/components/common/monitor/advanced/tools/ToolsOld.vue +2 -2
  88. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +1 -1
  89. package/components/common/monitor/advanced/tools/chartOptionsModal/NotificationOld.vue +1 -1
  90. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
  91. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +1 -1
  92. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +1 -1
  93. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/config/tableConfig.ts +2 -2
  94. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +10 -3
  95. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectNew/ObjectNew.vue +1 -1
  96. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectOld/ObjectOld.vue +2 -2
  97. package/components/common/monitor/advanced/tools/lib/utils/countCores.ts +1 -1
  98. package/components/common/monitor/lib/models/interfaces.ts +1 -1
  99. package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModalOld.vue +3 -3
  100. package/components/common/monitor/overview/filters/customIntervalModal/customIntervalModalNew/CustomIntervalModalNew.vue +4 -3
  101. package/components/common/monitor/resourceAllocation/lib/models/interfaces.ts +8 -8
  102. package/components/common/monitor/resourceAllocation/resourceAllocation.vue +2 -2
  103. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
  104. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +1 -1
  105. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +1 -1
  106. package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +1 -1
  107. package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +5 -5
  108. package/components/common/wizards/vm/migrate/Migrate.vue +39 -2
  109. package/components/common/wizards/vm/migrate/vmOrigin/VmOrigin.vue +92 -0
  110. package/components/common/wizards/vm/migrate/vmOrigin/lib/models/interfaces.ts +19 -0
  111. package/components/common/wizards/vm/migrate/vmOrigin/lib/utils/constructItems.ts +62 -0
  112. package/package.json +1 -1
@@ -1,154 +1,154 @@
1
- <template>
2
- <div
3
- tabindex="-1"
4
- :class="['tooltip-top-left combobox-container', { isOpen }]"
5
- >
6
- <atoms-the-icon
7
- v-show="!isOpen"
8
- :data-id="`${props.testId}-open-icon`"
9
- class="angle-icon clr-icon"
10
- name="angle"
11
- @click="onFocusInput"
12
- />
13
- <input
14
- :id="id"
15
- v-model="modelValueLocal"
16
- :data-id="`${props.testId}-search-input`"
17
- :disabled="props.disabled"
18
- type="text"
19
- tabindex="-1"
20
- @focus="showMenu"
21
- @blur="hideMenu"
22
- />
23
- <atoms-the-icon
24
- v-show="isOpen"
25
- :data-id="`${props.testId}-close-icon`"
26
- class="close-icon clr-icon"
27
- name="close-circle"
28
- @mousedown="clear"
29
- />
30
-
31
- <Teleport to="body">
32
- <div v-show="isOpen" :style="dropdownMenuStyles" class="dropdown-menu">
33
- <button
34
- v-for="(item, key) in props.items"
35
- :key="key"
36
- :id="`${id}-${key}`"
37
- :data-id="item.testId"
38
- class="btn btn-link dropdown-item"
39
- @mousedown="select(item.value)"
40
- >
41
- {{ item.text }}
42
- </button>
43
- </div>
44
- </Teleport>
45
- </div>
46
- </template>
47
-
48
- <script setup lang="ts">
49
- import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
50
-
51
- const props = defineProps<{
52
- items: UI_I_OptionItem[]
53
- modelValue?: string | number
54
- disabled?: boolean
55
- testId?: string
56
- }>()
57
- const emits = defineEmits<{
58
- (event: 'update:model-value', value: string | number): void
59
- (event: 'select', value: string | number): void
60
- }>()
61
-
62
- const modelValueLocal = computed<string | number | undefined>({
63
- get() {
64
- return props.modelValue
65
- },
66
- set(newValue) {
67
- if (newValue === undefined) return
68
- emits('update:model-value', newValue)
69
- },
70
- })
71
-
72
- const id = `combobox${useUniqueId()}`
73
-
74
- const dropdownMenuStyles = ref<any>({})
75
- const showMenu = (): void => {
76
- isOpen.value = true
77
-
78
- const input = document.querySelector(`#${id}`)
79
- if (!input) return
80
-
81
- const { top, height, left } = input.getBoundingClientRect()
82
-
83
- dropdownMenuStyles.value = {
84
- top: `${top + height}px`,
85
- left: `${left}px`,
86
- }
87
- }
88
- const hideMenu = (): void => {
89
- isOpen.value = false
90
- }
91
-
92
- const select = (value: string | number): void => {
93
- emits('update:model-value', value)
94
- emits('select', value)
95
- }
96
- const clear = (): void => {
97
- emits('update:model-value', '')
98
- }
99
-
100
- const isOpen = ref<boolean>(false)
101
-
102
- const onFocusInput = (event: Event): void => {
103
- const target = event.target as HTMLElement
104
- target && target.nextSibling && target.nextSibling.focus()
105
- }
106
- </script>
107
-
108
- <style scoped lang="scss">
109
- .combobox-container {
110
- max-width: 800px;
111
- position: relative;
112
-
113
- .close-icon,
114
- .angle-icon {
115
- width: 16px;
116
- height: 16px;
117
- fill: #565656;
118
- position: absolute;
119
- right: 5px;
120
- top: 5px;
121
- transform: rotate(180deg);
122
- cursor: pointer;
123
- }
124
- }
125
-
126
- .stack-block-expanded > .stack-block-label {
127
- .close-icon,
128
- .angle-icon {
129
- fill: #ffffff;
130
- }
131
- }
132
-
133
- .dropdown-menu {
134
- position: fixed;
135
- background-color: var(--dropdown-bg-color);
136
- border-color: var(--block-border-color);
137
- z-index: var(--z-dropdown);
138
- visibility: unset;
139
-
140
- .dropdown-item {
141
- border-bottom: 1px solid transparent;
142
- border-radius: 0;
143
- color: var(--global-font-color3);
144
- &:hover {
145
- background-color: var(--row-hover-bg-color);
146
- border-color: var(--row-hover-border-color);
147
- color: var(--global-font-color3);
148
- }
149
- }
150
- .dropdown-divider {
151
- border-color: var(--block-border-color);
152
- }
153
- }
154
- </style>
1
+ <template>
2
+ <div
3
+ tabindex="-1"
4
+ :class="['tooltip-top-left combobox-container', { isOpen }]"
5
+ >
6
+ <atoms-the-icon
7
+ v-show="!isOpen"
8
+ :data-id="`${props.testId}-open-icon`"
9
+ class="angle-icon clr-icon"
10
+ name="angle"
11
+ @click="onFocusInput"
12
+ />
13
+ <input
14
+ :id="id"
15
+ v-model="modelValueLocal"
16
+ :data-id="`${props.testId}-search-input`"
17
+ :disabled="props.disabled"
18
+ type="text"
19
+ tabindex="-1"
20
+ @focus="showMenu"
21
+ @blur="hideMenu"
22
+ />
23
+ <atoms-the-icon
24
+ v-show="isOpen"
25
+ :data-id="`${props.testId}-close-icon`"
26
+ class="close-icon clr-icon"
27
+ name="close-circle"
28
+ @mousedown="clear"
29
+ />
30
+
31
+ <Teleport to="body">
32
+ <div v-show="isOpen" :style="dropdownMenuStyles" class="dropdown-menu">
33
+ <button
34
+ v-for="(item, key) in props.items"
35
+ :key="key"
36
+ :id="`${id}-${key}`"
37
+ :data-id="item.testId"
38
+ class="btn btn-link dropdown-item"
39
+ @mousedown="select(item.value)"
40
+ >
41
+ {{ item.text }}
42
+ </button>
43
+ </div>
44
+ </Teleport>
45
+ </div>
46
+ </template>
47
+
48
+ <script setup lang="ts">
49
+ import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
50
+
51
+ const props = defineProps<{
52
+ items: UI_I_OptionItem[]
53
+ modelValue?: string | number
54
+ disabled?: boolean
55
+ testId?: string
56
+ }>()
57
+ const emits = defineEmits<{
58
+ (event: 'update:model-value', value: string | number): void
59
+ (event: 'select', value: string | number): void
60
+ }>()
61
+
62
+ const modelValueLocal = computed<string | number | undefined>({
63
+ get() {
64
+ return props.modelValue
65
+ },
66
+ set(newValue) {
67
+ if (newValue === undefined) return
68
+ emits('update:model-value', newValue)
69
+ },
70
+ })
71
+
72
+ const id = `combobox${useUniqueId()}`
73
+
74
+ const dropdownMenuStyles = ref<any>({})
75
+ const showMenu = (): void => {
76
+ isOpen.value = true
77
+
78
+ const input = document.querySelector(`#${id}`)
79
+ if (!input) return
80
+
81
+ const { top, height, left } = input.getBoundingClientRect()
82
+
83
+ dropdownMenuStyles.value = {
84
+ top: `${top + height}px`,
85
+ left: `${left}px`,
86
+ }
87
+ }
88
+ const hideMenu = (): void => {
89
+ isOpen.value = false
90
+ }
91
+
92
+ const select = (value: string | number): void => {
93
+ emits('update:model-value', value)
94
+ emits('select', value)
95
+ }
96
+ const clear = (): void => {
97
+ emits('update:model-value', '')
98
+ }
99
+
100
+ const isOpen = ref<boolean>(false)
101
+
102
+ const onFocusInput = (event: Event): void => {
103
+ const target = event.target as HTMLElement
104
+ target && target.nextSibling && target.nextSibling.focus()
105
+ }
106
+ </script>
107
+
108
+ <style scoped lang="scss">
109
+ .combobox-container {
110
+ max-width: 800px;
111
+ position: relative;
112
+
113
+ .close-icon,
114
+ .angle-icon {
115
+ width: 16px;
116
+ height: 16px;
117
+ fill: #565656;
118
+ position: absolute;
119
+ right: 5px;
120
+ top: 5px;
121
+ transform: rotate(180deg);
122
+ cursor: pointer;
123
+ }
124
+ }
125
+
126
+ .stack-block-expanded > .stack-block-label {
127
+ .close-icon,
128
+ .angle-icon {
129
+ fill: #ffffff;
130
+ }
131
+ }
132
+
133
+ .dropdown-menu {
134
+ position: fixed;
135
+ background-color: var(--dropdown-bg-color);
136
+ border-color: var(--block-border-color);
137
+ z-index: var(--z-dropdown);
138
+ visibility: unset;
139
+
140
+ .dropdown-item {
141
+ border-bottom: 1px solid transparent;
142
+ border-radius: 0;
143
+ color: var(--global-font-color3);
144
+ &:hover {
145
+ background-color: var(--row-hover-bg-color);
146
+ border-color: var(--row-hover-border-color);
147
+ color: var(--global-font-color3);
148
+ }
149
+ }
150
+ .dropdown-divider {
151
+ border-color: var(--block-border-color);
152
+ }
153
+ }
154
+ </style>