bfg-common 1.5.93 → 1.5.95

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 (146) hide show
  1. package/assets/scss/common/normalize.scss +9 -1
  2. package/components/atoms/alert/Notification.vue +2 -4
  3. package/components/atoms/autocomplete/Autocomplete.vue +5 -6
  4. package/components/atoms/collapse/CollapseNav.vue +7 -3
  5. package/components/atoms/collapse/CollapseNavItem.vue +1 -1
  6. package/components/atoms/comboDropdownMenu/ComboDropdownMenu.vue +1 -1
  7. package/components/atoms/combobox/Combobox.vue +4 -4
  8. package/components/atoms/datepicker/Datepicker.vue +10 -10
  9. package/components/atoms/dropdown/Portlet.vue +1 -2
  10. package/components/atoms/dropdown/dropdown/Dropdown.vue +3 -3
  11. package/components/atoms/dropdown/tree/Tree.vue +3 -3
  12. package/components/atoms/list/SelectList.vue +1 -1
  13. package/components/atoms/list/dragDropList/DragDropList.vue +18 -9
  14. package/components/atoms/modal/Modal.vue +5 -3
  15. package/components/atoms/modal/bySteps/BySteps.vue +8 -8
  16. package/components/atoms/nav/NavBar.vue +1 -1
  17. package/components/atoms/nav/VerticalNavBar.vue +1 -1
  18. package/components/atoms/notificationBar/NotificationBar.vue +2 -2
  19. package/components/atoms/popover/Popover.vue +3 -5
  20. package/components/atoms/popover/lib/models/interfaces.ts +4 -0
  21. package/components/atoms/select/TheSelect.vue +5 -4
  22. package/components/atoms/stack/StackBlock.vue +1 -1
  23. package/components/atoms/stack/StackContent.vue +1 -1
  24. package/components/atoms/step/VerticalStep.vue +1 -1
  25. package/components/atoms/step/lib/models/verticalStepItem.ts +1 -3
  26. package/components/atoms/switch/Switch.vue +6 -6
  27. package/components/atoms/table/compact/Compact.vue +23 -20
  28. package/components/atoms/table/dataGrid/DataGrid.vue +27 -24
  29. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +5 -5
  30. package/components/atoms/table/dataGrid/DataGridPage.vue +6 -8
  31. package/components/atoms/table/info/Info.vue +2 -2
  32. package/components/atoms/table/simpleEvent/SimpleEvent.vue +1 -1
  33. package/components/atoms/table/simpleInfo/SimpleInfo.vue +1 -1
  34. package/components/atoms/tabs/Tabs.vue +4 -2
  35. package/components/atoms/tooltip/Signpost.vue +1 -0
  36. package/components/atoms/tooltip/Tooltip.vue +1 -1
  37. package/components/atoms/tooltip/TooltipError.vue +1 -0
  38. package/components/atoms/wizard/Wizard.vue +1 -1
  39. package/components/atoms/wizard/step/Step.vue +1 -1
  40. package/components/common/accordion/Recursion.vue +2 -2
  41. package/components/common/adapterManager/AddAdapterModal.vue +2 -2
  42. package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +1 -1
  43. package/components/common/adapterManager/ui/table/Adapters.vue +1 -1
  44. package/components/common/adapterManager/ui/table/Header.vue +1 -1
  45. package/components/common/adapterManager/ui/table/Table.vue +4 -4
  46. package/components/common/browse/Browse.vue +1 -1
  47. package/components/common/browse/BrowseNew.vue +3 -3
  48. package/components/common/browse/BrowseOld.vue +3 -3
  49. package/components/common/browse/blocks/TitleNew.vue +4 -4
  50. package/components/common/browse/blocks/TitleOld.vue +5 -5
  51. package/components/common/browse/blocks/contents/Files.vue +1 -1
  52. package/components/common/browse/blocks/contents/FilesOld.vue +2 -2
  53. package/components/common/browse/blocks/contents/filesNew/FilesNew.vue +1 -1
  54. package/components/common/browse/blocks/info/Date.vue +1 -0
  55. package/components/common/chartOptionsModal/counters/timespan/form/FormNew.vue +1 -1
  56. package/components/common/context/Context.vue +1 -1
  57. package/components/common/context/recursion/RecursionOld.vue +2 -2
  58. package/components/common/details/DetailsItem.vue +1 -1
  59. package/components/common/details/lib/models/interfaces.ts +1 -0
  60. package/components/common/feedback/Buttons.vue +1 -1
  61. package/components/common/feedback/Feedback.vue +4 -2
  62. package/components/common/feedback/Message.vue +5 -5
  63. package/components/common/feedback/VisitPortal.vue +1 -0
  64. package/components/common/graph/graphNew/GraphNew.vue +2 -2
  65. package/components/common/graph/lib/utils/renderGraph.ts +1 -1
  66. package/components/common/layout/theHeader/feedback/new/New.vue +1 -1
  67. package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +9 -7
  68. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +2 -3
  69. package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -1
  70. package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
  71. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +2 -3
  72. package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +2 -2
  73. package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +2 -7
  74. package/components/common/layout/theHeader/helpMenu/helpMenuOld/HelpMenuOld.vue +1 -1
  75. package/components/common/layout/theHeader/modals/Reconnect.vue +2 -2
  76. package/components/common/layout/theHeader/modals/RedirectLogin.vue +3 -3
  77. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +1 -1
  78. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +8 -8
  79. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordOld.vue +3 -3
  80. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +1 -1
  81. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +1 -1
  82. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +1 -1
  83. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +1 -1
  84. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageOld.vue +2 -5
  85. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleOld.vue +1 -1
  86. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +1 -1
  87. package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +2 -2
  88. package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
  89. package/components/common/layout/theHeader/userMenu/userMenuOld/UserMenuOld.vue +1 -1
  90. package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +2 -2
  91. package/components/common/modals/Rename.vue +2 -2
  92. package/components/common/modals/confirmByInput/ConfirmByInput.vue +2 -3
  93. package/components/common/modals/confirmByInput/ConfirmByInputOld.vue +3 -3
  94. package/components/common/modals/confirmation/ConfirmationOld.vue +1 -1
  95. package/components/common/modals/unsavedChanges/UnsavedChanges.vue +1 -1
  96. package/components/common/monitor/advanced/Advanced.vue +1 -1
  97. package/components/common/monitor/advanced/AdvancedNew.vue +1 -1
  98. package/components/common/monitor/advanced/AdvancedOld.vue +1 -1
  99. package/components/common/monitor/advanced/graphView/GraphViewNew.vue +1 -1
  100. package/components/common/monitor/advanced/graphView/GraphViewOld.vue +1 -1
  101. package/components/common/monitor/advanced/table/Table.vue +1 -1
  102. package/components/common/monitor/advanced/table/tableNew/TableNew.vue +2 -2
  103. package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +2 -2
  104. package/components/common/monitor/advanced/tools/ToolsOld.vue +2 -2
  105. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +1 -1
  106. package/components/common/monitor/advanced/tools/chartOptionsModal/NotificationOld.vue +1 -1
  107. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
  108. package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +1 -1
  109. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +1 -1
  110. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/config/tableConfig.ts +2 -2
  111. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +10 -3
  112. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectNew/ObjectNew.vue +1 -1
  113. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectOld/ObjectOld.vue +2 -2
  114. package/components/common/monitor/advanced/tools/lib/utils/countCores.ts +1 -1
  115. package/components/common/monitor/lib/models/interfaces.ts +1 -1
  116. package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModalOld.vue +3 -3
  117. package/components/common/monitor/overview/filters/customIntervalModal/customIntervalModalNew/CustomIntervalModalNew.vue +4 -3
  118. package/components/common/monitor/resourceAllocation/lib/models/interfaces.ts +8 -8
  119. package/components/common/monitor/resourceAllocation/resourceAllocation.vue +2 -2
  120. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
  121. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +1 -1
  122. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +1 -1
  123. package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +1 -1
  124. package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +5 -5
  125. package/components/common/wizards/datastore/add/Add.vue +0 -1
  126. package/components/common/wizards/datastore/add/New.vue +1 -16
  127. package/components/common/wizards/datastore/add/lib/models/interfaces.ts +1 -1
  128. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces.ts +0 -10
  129. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDevice.vue +78 -223
  130. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +19 -188
  131. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +199 -12
  132. package/components/common/wizards/datastore/add/steps/nameAndDevice/lib/config/selectOptions.ts +6 -3
  133. package/components/common/wizards/datastore/add/steps/nameAndDevice/lib/models/interfaces.ts +1 -11
  134. package/components/common/wizards/datastore/add/steps/nameAndDevice/table/Table.vue +22 -33
  135. package/components/common/wizards/datastore/add/steps/nameAndDevice/table/lib/models/interfaces.ts +14 -0
  136. package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/New.vue +118 -0
  137. package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/config/lunDiskTable.ts +86 -0
  138. package/components/common/wizards/datastore/add/steps/nameAndDevice/table/old/Old.vue +133 -0
  139. package/components/common/wizards/datastore/add/steps/readyComplete/ReadyCompleteNew.vue +1 -0
  140. package/components/common/wizards/datastore/add/steps/readyComplete/lib/config/propertiesDetails.ts +9 -3
  141. package/package.json +1 -1
  142. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/types.ts +0 -1
  143. package/components/common/wizards/datastore/add/steps/nameAndDevice/lib/models/types.ts +0 -1
  144. /package/components/common/wizards/datastore/add/steps/nameAndDevice/table/{lib → old/lib}/config/lunDiskTable.ts +0 -0
  145. /package/components/common/wizards/datastore/add/steps/nameAndDevice/table/{lib → old/lib}/config/tableKeys.ts +0 -0
  146. /package/components/common/wizards/datastore/add/steps/nameAndDevice/table/{lib → old/lib}/models/types.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div class="tid-control-bar-user-menu user-menu">
3
3
  <atoms-dropdown
4
- test-id="user-menu-host-name-drop-down"
5
4
  :title="props.hostname"
6
5
  :drop-menu="accountMenu"
6
+ test-id="user-menu-host-name-drop-down"
7
7
  @select="clickMenuItem"
8
8
  />
9
9
  </div>
@@ -28,7 +28,6 @@
28
28
  :id="`nav-item-${key}-${key2}`"
29
29
  :key="item2.id"
30
30
  :data-id="item2.testId"
31
- active-class="active"
32
31
  :to="!item2.disabled && item2.to"
33
32
  :class="['nav-link', { disabled: item2.disabled }]"
34
33
  :title="
@@ -37,6 +36,7 @@
37
36
  : item2.title
38
37
  "
39
38
  :disabled="item2.disabled"
39
+ active-class="active"
40
40
  @click="emits('hide-main-menu')"
41
41
  >
42
42
  <span class="nav-text">
@@ -60,9 +60,9 @@
60
60
  <input
61
61
  id="pin-menu-control"
62
62
  v-model="menuPined"
63
+ :disabled="props.disabledPin"
63
64
  data-id="navigation-panel-pin-menu-control"
64
65
  type="checkbox"
65
- :disabled="props.disabledPin"
66
66
  @change="emits('change-menu-pin')"
67
67
  />
68
68
  <label for="pin-menu-control">{{
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <atoms-modal
3
3
  :test-id="`${props.testId}-rename`"
4
- width="576px"
5
- class="rename"
6
4
  :show="true"
7
5
  :title="localization.common.rename"
8
6
  :second-title="name"
7
+ width="576px"
8
+ class="rename"
9
9
  @submit="onRename"
10
10
  @hide="onHide"
11
11
  >
@@ -30,8 +30,8 @@
30
30
  </template>
31
31
 
32
32
  <script setup lang="ts">
33
- import type { UI_I_Localization } from '~/lib/models/interfaces'
34
33
  import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
34
+ // import type { UI_I_Localization } from '~/lib/models/interfaces'
35
35
 
36
36
  const props = withDefaults(
37
37
  defineProps<{
@@ -63,7 +63,7 @@ const emits = defineEmits<{
63
63
  (event: 'hide'): void
64
64
  }>()
65
65
 
66
- const localization = computed<UI_I_Localization>(() => useLocal())
66
+ // const localization = computed<UI_I_Localization>(() => useLocal())
67
67
  const { $store }: any = useNuxtApp()
68
68
 
69
69
  const isNewViewLocal = computed<boolean>(
@@ -80,7 +80,6 @@ const onConfirm = async (): Promise<void> => {
80
80
 
81
81
  emits('confirm')
82
82
  }
83
-
84
83
  </script>
85
84
 
86
85
  <style lang="scss" scoped></style>
@@ -3,10 +3,10 @@
3
3
  show
4
4
  :test-id="`${props.testId}-modal`"
5
5
  :width="props.width"
6
- class="confirm-by-input"
7
6
  :title="props.title"
8
7
  :second-title="props.subTitle"
9
8
  :loading="props.loading"
9
+ class="confirm-by-input"
10
10
  is-hide-close-icon
11
11
  @submit="onConfirm"
12
12
  >
@@ -68,17 +68,17 @@
68
68
  <button
69
69
  id="confirm-by-input-modal-apply-button"
70
70
  :data-id="`${props.testId}-modal-apply-button`"
71
- class="btn btn-primary"
72
71
  :class="props.loading && 'modal-dialog__loader'"
73
72
  :disabled="!props.isValid || props.loading"
73
+ class="btn btn-primary"
74
74
  @click="onConfirm"
75
75
  >
76
76
  <atoms-loader-pre-loader
77
77
  v-if="props.loading"
78
78
  id="loader"
79
79
  :show="props.loading"
80
- class="button__loading"
81
80
  :test-id="`${props.testId}-spinner`"
81
+ class="button__loading"
82
82
  />
83
83
  <span v-else>
84
84
  {{ localization.common.yes }}
@@ -2,10 +2,10 @@
2
2
  <atoms-modal
3
3
  show
4
4
  :width="props.width"
5
- class="confirm-modal"
6
5
  :title="props.headline"
7
6
  :second-title="props.subTitle"
8
7
  :modal-loading="props.loading"
8
+ class="confirm-modal"
9
9
  @hide="onHideModal"
10
10
  >
11
11
  <template #modalBody>
@@ -13,7 +13,7 @@
13
13
  </template>
14
14
 
15
15
  <script setup lang="ts">
16
- import type { UI_I_ModalTexts } from 'bfg-uikit/components/ui/modal/models/interfaces'
16
+ import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
17
17
  import type { UI_I_Localization } from '~/lib/models/interfaces'
18
18
 
19
19
  const emits = defineEmits<{
@@ -93,8 +93,8 @@
93
93
  </template>
94
94
 
95
95
  <script setup lang="ts">
96
+ import type { I_SeriesLine } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
96
97
  import type { UI_T_AdvancedType } from '~/components/common/monitor/advanced/lib/models/types'
97
- import type { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
98
98
  import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
99
99
  import type {
100
100
  UI_T_ChartHost,
@@ -80,9 +80,9 @@
80
80
  </template>
81
81
 
82
82
  <script setup lang="ts">
83
+ import type { I_SeriesLine } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
83
84
  import type { UI_I_Localization } from '~/lib/models/interfaces'
84
85
  import type { UI_T_AdvancedType } from '~/components/common/monitor/advanced/lib/models/types'
85
- import type { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
86
86
  import type { UI_I_MonitorGraphPayload } from '~/components/common/monitor/lib/models/interfaces'
87
87
  import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
88
88
  import type {
@@ -87,9 +87,9 @@
87
87
  </template>
88
88
 
89
89
  <script setup lang="ts">
90
+ import type { I_SeriesLine } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
90
91
  import type { UI_I_Localization } from '~/lib/models/interfaces'
91
92
  import type { UI_T_AdvancedType } from '~/components/common/monitor/advanced/lib/models/types'
92
- import type { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
93
93
  import type { UI_I_MonitorGraphPayload } from '~/components/common/monitor/lib/models/interfaces'
94
94
  import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
95
95
  import type {
@@ -14,7 +14,7 @@
14
14
  </template>
15
15
 
16
16
  <script setup lang="ts">
17
- import type { I_LineGraph } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
17
+ import type { I_LineGraph } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
18
18
 
19
19
  const props = defineProps<{
20
20
  loading: boolean
@@ -17,8 +17,8 @@
17
17
  </template>
18
18
 
19
19
  <script setup lang="ts">
20
+ import type { I_LineGraph } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
20
21
  import type { UI_I_Localization } from '~/lib/models/interfaces'
21
- import type { I_LineGraph } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
22
22
 
23
23
  const localization = computed<UI_I_Localization>(() => useLocal())
24
24
 
@@ -20,7 +20,7 @@ const props = defineProps<{
20
20
  data: UI_I_PerformanceItem[]
21
21
  }>()
22
22
  const emits = defineEmits<{
23
- (event: 'select', str: number[]): void
23
+ (event: 'select', value: number[]): void
24
24
  }>()
25
25
 
26
26
  const { $store }: any = useNuxtApp()
@@ -1,17 +1,17 @@
1
1
  <template>
2
2
  <div class="advanced-main-table">
3
3
  <ui-data-table
4
- test-id="advanced-table"
5
4
  :data="data"
6
5
  :options="options"
7
6
  :loading="props.loading"
8
7
  :texts="tableTexts"
8
+ test-id="advanced-table"
9
9
  @select-row="onSelectRow"
10
10
  >
11
11
  <template #icon="{ item }">
12
12
  <div
13
- class="color-circle"
14
13
  :style="{ backgroundColor: item.data.color }"
14
+ class="color-circle"
15
15
  ></div>
16
16
  </template>
17
17
  <template #zone="{ item }">
@@ -4,12 +4,12 @@ import type {
4
4
  UI_I_BodyItem,
5
5
  UI_I_ColumnKey,
6
6
  } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
7
+ import type { UI_T_PerformanceColumnKey } from '~/components/common/monitor/advanced/table/lib/models/types'
8
+ import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
7
9
  import {
8
10
  constructColumnKey,
9
11
  constructHeadItem,
10
12
  } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
11
- import type { UI_T_PerformanceColumnKey } from '~/components/common/monitor/advanced/table/lib/models/types'
12
- import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
13
13
 
14
14
  export const performanceTableKey: UI_T_PerformanceColumnKey[] = [
15
15
  'key',
@@ -18,8 +18,8 @@
18
18
  <select
19
19
  id="periodSelect"
20
20
  v-model="selectedPeriodLocal"
21
- data-id="period-select"
22
21
  :disabled="props.disabledPeriod"
22
+ data-id="period-select"
23
23
  @change="emits('change-period')"
24
24
  >
25
25
  <option
@@ -47,8 +47,8 @@
47
47
  <select
48
48
  id="viewSelect"
49
49
  v-model="selectedViewLocal"
50
- data-id="view-select"
51
50
  :disabled="props.disabledView"
51
+ data-id="view-select"
52
52
  @change="emits('change-view')"
53
53
  >
54
54
  <option
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <div class="chart-options-modal">
3
3
  <atoms-modal
4
- width="1150px"
5
4
  :show="true"
6
5
  :title="localization.inventoryMonitor.chartOptions"
7
6
  :disabled-submit="props.isDisabledSubmit"
7
+ width="1150px"
8
8
  @hide="emits('hide-main-modal')"
9
9
  @submit="emits('submit-main-modal')"
10
10
  >
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <atoms-alert
3
3
  v-show="props.alerts.length"
4
- status="alert-danger"
5
4
  :items="props.alerts"
5
+ status="alert-danger"
6
6
  class="notification"
7
7
  test-id="notification-alert"
8
8
  @remove="onRemove"
@@ -34,8 +34,8 @@
34
34
  @save="emits('save-options', $event)"
35
35
  />
36
36
  <button
37
- class="btn chart-options-delete-button"
38
37
  :disabled="!props.isDisabledDeleteAction"
38
+ class="btn chart-options-delete-button"
39
39
  data-id="chart-options-delete-button"
40
40
  @click="emits('delete-action')"
41
41
  >
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <atoms-modal
3
- width="575px"
4
3
  :show="true"
5
4
  :title="localization.inventoryMonitor.saveOptionsAs"
5
+ width="575px"
6
6
  @hide="onHide"
7
7
  @submit="onSave"
8
8
  >
@@ -108,7 +108,7 @@ const emits = defineEmits<{
108
108
  (event: 'select-objects', value: string): void
109
109
  }>()
110
110
 
111
- const chartOptionsBottomBlock = ref(null)
111
+ const chartOptionsBottomBlock = ref<HTMLElement | null>(null)
112
112
  const { y } = useScroll(chartOptionsBottomBlock)
113
113
  const isScrolledBlock = computed<boolean>(() => y.value > 0)
114
114
  </script>
@@ -4,12 +4,12 @@ import type {
4
4
  UI_I_BodyItem,
5
5
  UI_I_ColumnKey,
6
6
  } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
7
+ import type { UI_T_AdvancedCountersColumnKey } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/models/types'
8
+ import type { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/models/interfaces'
7
9
  import {
8
10
  constructColumnKey,
9
11
  constructHeadItem,
10
12
  } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
11
- import type { UI_T_AdvancedCountersColumnKey } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/models/types'
12
- import type { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/models/interfaces'
13
13
 
14
14
  export const countersTableKey: UI_T_AdvancedCountersColumnKey[] = [
15
15
  'name',
@@ -4,19 +4,26 @@ import type {
4
4
  UI_I_BodyItem,
5
5
  UI_I_ColumnKey,
6
6
  } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
7
+ import type { UI_T_ObjectColumnKey } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/models/types'
8
+ import type { UI_I_ObjectItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/models/interfaces'
7
9
  import {
8
10
  constructColumnKey,
9
11
  constructHeadItem,
10
12
  } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
11
- import type { UI_T_ObjectColumnKey } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/models/types'
12
- import type { UI_I_ObjectItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/models/interfaces'
13
13
 
14
14
  export const objectTableKey: UI_T_ObjectColumnKey[] = ['target_object']
15
15
 
16
16
  const getItems = (
17
17
  localization: UI_I_Localization
18
18
  ): [string, boolean, string, string][] => {
19
- return [[localization.inventoryMonitor.targetObjects, true, '140px', objectTableKey[0]]]
19
+ return [
20
+ [
21
+ localization.inventoryMonitor.targetObjects,
22
+ true,
23
+ '140px',
24
+ objectTableKey[0],
25
+ ],
26
+ ]
20
27
  }
21
28
 
22
29
  export const columnKeys = (
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <div class="object-table-container">
3
3
  <ui-data-table
4
- test-id="object-table"
5
4
  :data="dataLocal"
6
5
  :options="optionsData"
7
6
  :loading="props.loading"
8
7
  :texts="tableTexts"
8
+ test-id="object-table"
9
9
  size="sm"
10
10
  @select-row="onSelectRow"
11
11
  />
@@ -11,13 +11,13 @@
11
11
  v-model:page-size="paginationLocal.pageSize"
12
12
  v-model:page="paginationLocal.page"
13
13
  :type="props.tableType"
14
- class="data-table"
15
- test-id="object-table"
16
14
  :loading="props.loading"
17
15
  :head-items="props.headItems"
18
16
  :body-items="props.bodyItems"
19
17
  :total-items="props.bodyItems.length"
20
18
  :total-pages="1"
19
+ test-id="object-table"
20
+ class="data-table"
21
21
  hide-footer
22
22
  server-off
23
23
  >
@@ -1,4 +1,4 @@
1
- import type { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
1
+ import type { I_SeriesLine } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
2
2
 
3
3
  export const getCountCores = (data: I_SeriesLine | null): number => {
4
4
  if (!data) return 0
@@ -1,4 +1,4 @@
1
- import type { I_SeriesLine } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
1
+ import type { I_SeriesLine } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
2
2
  import type { UI_T_OverviewRequestType } from '~/components/common/monitor/overview/filters/lib/models/types'
3
3
 
4
4
  export interface UI_I_GraphDataSettingItem {
@@ -1,18 +1,18 @@
1
1
  <template>
2
2
  <atoms-modal
3
- show
4
- width="580px"
5
3
  :title="props.titleIntervalModal"
6
4
  :second-title="props.selectedNodeName"
5
+ width="580px"
7
6
  test-id="overview-custom-interval-modal"
7
+ show
8
8
  @hide="onHide"
9
9
  @submit="onSubmit"
10
10
  >
11
11
  <template #modalBody>
12
12
  <atoms-alert
13
13
  v-show="alertShow"
14
- status="alert-danger"
15
14
  :items="props.alertItems"
15
+ status="alert-danger"
16
16
  test-id="overview-alert"
17
17
  @remove="alertShow = false"
18
18
  />
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <ui-modal
3
- show
4
3
  :title="titleLocal"
5
4
  :subtitle="props.selectedNodeName"
6
5
  :texts="modalTexts"
7
6
  width="560px"
8
7
  test-id="overview-custom-interval-modal"
8
+ show
9
9
  @hide="onHide"
10
10
  @submit="onSubmit"
11
11
  >
@@ -13,8 +13,8 @@
13
13
  <div class="time-range">
14
14
  <ui-alert
15
15
  v-show="alertShow"
16
- status="alert-danger"
17
16
  :messages="props.alertItems"
17
+ status="alert-danger"
18
18
  class="overview-alert"
19
19
  test-id="overview-alert"
20
20
  size="md"
@@ -70,7 +70,8 @@
70
70
  </template>
71
71
 
72
72
  <script setup lang="ts">
73
- import type { UI_I_ModalTexts } from 'bfg-uikit/components/ui/modal/models/interfaces'
73
+ import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
74
+ import type { UI_I_DatepickerTexts } from '~/node_modules/bfg-uikit/components/ui/datepicker/models/interfaces'
74
75
  import type { UI_I_Localization } from '~/lib/models/interfaces'
75
76
  import { getUiDatepickerFormatByLanguage } from '~/lib/utils/date'
76
77
  import { getUnixDate } from '~/components/common/monitor/overview/filters/customIntervalModal/customIntervalModalNew/lib/utils/date'
@@ -1,13 +1,13 @@
1
1
  export interface UI_I_ResourceAllocationHeaderItem {
2
- title: string
3
- value: string
4
- used?: boolean
5
- available?: boolean
2
+ title: string
3
+ value: string
4
+ used?: boolean
5
+ available?: boolean
6
6
  }
7
7
 
8
8
  export interface UI_I_ResourceAllocationHeader {
9
- used: number
10
- from: string
11
- to: string
12
- items: UI_I_ResourceAllocationHeaderItem[]
9
+ used: number
10
+ from: string
11
+ to: string
12
+ items: UI_I_ResourceAllocationHeaderItem[]
13
13
  }
@@ -6,14 +6,14 @@
6
6
  <div class="resource-allocation-header-block">
7
7
  <div class="resource-allocation-header-block-progress">
8
8
  <div
9
+ :style="{ width: props.headerData.used + '%' }"
9
10
  title="70%"
10
11
  class="resource-allocation-header-block-progress-used"
11
- :style="{ width: props.headerData.used + '%' }"
12
12
  ></div>
13
13
  <div
14
+ :style="{ width: 100 - props.headerData.used + '%' }"
14
15
  title="30%"
15
16
  class="resource-allocation-header-block-progress-available"
16
- :style="{ width: 100 - props.headerData.used + '%' }"
17
17
  ></div>
18
18
  </div>
19
19
  <div class="resource-allocation-header-block-progress-info">
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <div class="chart-options-modal">
3
3
  <atoms-modal
4
- width="1150px"
5
4
  :show="true"
6
5
  :title="localization.inventoryMonitor.chartOptions"
7
6
  :disabled-submit="isDisabledSubmit"
7
+ width="1150px"
8
8
  @hide="onHide"
9
9
  @submit="onSubmit"
10
10
  >
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <atoms-alert
3
3
  v-show="props.alerts.length"
4
- status="alert-danger"
5
4
  :items="props.alerts"
5
+ status="alert-danger"
6
6
  class="notification"
7
7
  test-id="notification-alert"
8
8
  @remove="emits('remove')"
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <atoms-modal
3
- width="575px"
4
3
  :show="true"
5
4
  :title="localization.inventoryMonitor.saveOptionsAs"
5
+ width="575px"
6
6
  @hide="onHide"
7
7
  @submit="onSave"
8
8
  >
@@ -4,11 +4,11 @@ import type {
4
4
  UI_I_BodyItem,
5
5
  } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
6
6
  import type { UI_I_Localization } from '~/lib/models/interfaces'
7
+ import type { UI_I_HardwareHealthAlertWarnings } from '~/components/common/pages/hardwareHealth/tableView/lib/models/interfaces'
7
8
  import {
8
9
  constructHeadItem,
9
10
  constructColumnKey,
10
11
  } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
11
- import type { UI_I_HardwareHealthAlertWarnings } from '~/components/common/pages/hardwareHealth/tableView/lib/models/interfaces'
12
12
  import { hardwareHealthAlertWarningTableKeys } from '~/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys'
13
13
  import {
14
14
  sensorsLocalizationByStatus,
@@ -4,17 +4,17 @@ import {
4
4
  constructHeadItem,
5
5
  constructColumnKey,
6
6
  } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
7
- import {
8
- sensorsLocalizationByStatus,
9
- sensorsIconByStatus,
10
- } from '~/components/common/pages/hardwareHealth/lib/config/status'
11
- import { hardwareHealthHistoryTestimonyTableKeys } from '~/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys'
12
7
  import type {
13
8
  UI_I_BodyItem,
14
9
  UI_I_ColumnKey,
15
10
  UI_I_HeadItem,
16
11
  } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
17
12
  import type { UI_I_HardwareHealthSensors } from '~/components/common/pages/hardwareHealth/tableView/lib/models/interfaces'
13
+ import {
14
+ sensorsLocalizationByStatus,
15
+ sensorsIconByStatus,
16
+ } from '~/components/common/pages/hardwareHealth/lib/config/status'
17
+ import { hardwareHealthHistoryTestimonyTableKeys } from '~/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys'
18
18
 
19
19
  const getItems = (
20
20
  localization: UI_I_Localization
@@ -40,7 +40,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
40
40
  import type { UI_T_Project } from '~/lib/models/types'
41
41
  import type { UI_T_DatastoreTypeCode } from '~/components/common/wizards/datastore/add/lib/models/types'
42
42
  import type { UI_I_CreateDatastoreForm } from '~/components/common/wizards/datastore/add/lib/models/interfaces'
43
- import type { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
44
43
  import type { UI_I_CompatibleHosts } from '~/components/common/wizards/datastore/add/steps/hostAccessibility/table/lib/models/interfaces'
45
44
  import {
46
45
  stepsFunc,
@@ -37,7 +37,7 @@
37
37
  </ui-wizard-block>
38
38
 
39
39
  <ui-wizard-block
40
- v-if="selectedStep.id === dynamicSteps.connectionSettings"
40
+ v-if="selectedStep.id === dynamicSteps.nameAndDevice"
41
41
  :sub-title-height="height1"
42
42
  >
43
43
  <template #subTitle>
@@ -127,7 +127,6 @@
127
127
  v-model="formModelLocal.hosts"
128
128
  :alert-messages="props.alertMessages[dynamicSteps.nameAndDevice]"
129
129
  :hosts="props.nfsHosts"
130
- @hide-alert="(e) => emits('hide-alert', e)"
131
130
  />
132
131
  </template>
133
132
  </ui-wizard-block>
@@ -166,9 +165,7 @@ import type Wizard from '~/node_modules/bfg-uikit/components/ui/wizard/lib/utils
166
165
  import type { UI_I_Localization } from '~/lib/models/interfaces'
167
166
  import type { UI_T_Project } from '~/lib/models/types'
168
167
  import type { UI_I_CreateDatastoreForm } from '~/components/common/wizards/datastore/add/lib/models/interfaces'
169
- import type { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
170
168
  import type { UI_I_CompatibleHosts } from '~/components/common/wizards/datastore/add/steps/hostAccessibility/table/lib/models/interfaces'
171
- import { constructDataReadyViewFunc } from '~/components/common/wizards/datastore/add/steps/readyComplete/lib/config/propertiesDetails'
172
169
  import { dynamicSteps } from '~/components/common/wizards/datastore/add/lib/config/steps'
173
170
 
174
171
  const formModelLocal = defineModel<UI_I_CreateDatastoreForm>({ required: true })
@@ -184,7 +181,6 @@ const props = defineProps<{
184
181
  }>()
185
182
  const emits = defineEmits<{
186
183
  (event: 'change-steps', value: UI_I_WizardStep[]): void
187
- (event: 'hide-alert', value: number): void
188
184
  (event: 'hide'): void
189
185
  (event: 'submit', value: any): void
190
186
  (event: 'main-filter', value: string): void
@@ -222,17 +218,6 @@ const { height: height4 } = useElementSize(subTitleBlock4)
222
218
  const onChangeSteps = async (value: UI_I_WizardStep[]): Promise<void> =>
223
219
  emits('change-steps', value)
224
220
 
225
- const dataReadyView = computed<UI_I_DetailsItem>(() =>
226
- constructDataReadyViewFunc(
227
- localization.value,
228
- formModelLocal.value,
229
- props.project,
230
- props.nfsHosts
231
- )
232
- )
233
- const onHideAlert = (stepId: number): void => {
234
- emits('hide-alert', stepId)
235
- }
236
221
  const onHideModal = (): void => emits('hide')
237
222
  const onCreateDatastore = (): void => emits('submit')
238
223
  </script>