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
- <div class="title-block" :style="blockWidth">
3
- <div class="title-block__container" :style="blockWidth">
2
+ <div :style="blockWidth" class="title-block">
3
+ <div :style="blockWidth" class="title-block__container">
4
4
  <div
5
- class="title-block__title pointer"
6
5
  :style="blockTitleWidth"
6
+ class="title-block__title pointer"
7
7
  @click="emits('sort')"
8
8
  >
9
9
  <b>{{ props.title }}</b>
@@ -37,8 +37,8 @@ const emits = defineEmits<{
37
37
  (event: 'sort'): void
38
38
  }>()
39
39
 
40
- const blockWidth = computed(() => ({ width: `${props.width}px` }))
41
- const blockTitleWidth = computed(() => ({ width: `${props.width - 2}px` }))
40
+ const blockWidth = computed<any>(() => ({ width: `${props.width}px` }))
41
+ const blockTitleWidth = computed<any>(() => ({ width: `${props.width - 2}px` }))
42
42
  </script>
43
43
 
44
44
  <style scoped lang="scss">
@@ -23,7 +23,7 @@ const props = defineProps<{
23
23
  }>()
24
24
 
25
25
  const emits = defineEmits<{
26
- (event: 'select-file', file: any): void
26
+ (event: 'select-file', value: any): void
27
27
  }>()
28
28
 
29
29
  const { $store }: any = useNuxtApp()
@@ -9,7 +9,7 @@
9
9
  ]"
10
10
  @click="onSelectFile(file)"
11
11
  >
12
- <span class="file-view__icon" :class="file.iconClassName"></span>
12
+ <span :class="['file-view__icon', file.iconClassName]"></span>
13
13
  <span class="file-view__text">{{ file.name }}</span>
14
14
  </li>
15
15
  </template>
@@ -23,7 +23,7 @@ const props = defineProps<{
23
23
  }>()
24
24
 
25
25
  const emits = defineEmits<{
26
- (event: 'select-file', file: any): void
26
+ (event: 'select-file', value: any): void
27
27
  }>()
28
28
 
29
29
  const onSelectFile = (file: any): void => {
@@ -35,7 +35,7 @@ const props = defineProps<{
35
35
  }>()
36
36
 
37
37
  const emits = defineEmits<{
38
- (event: 'select-file', file: any): void
38
+ (event: 'select-file', value: any): void
39
39
  }>()
40
40
 
41
41
  const localization = computed<UI_I_Localization>(() => useLocal())
@@ -9,6 +9,7 @@
9
9
 
10
10
  <script setup lang="ts">
11
11
  import { format } from 'date-fns'
12
+
12
13
  const props = defineProps<{
13
14
  title: string
14
15
  value: number
@@ -33,10 +33,10 @@
33
33
  v-model="localSelectedCustomTimeLocal"
34
34
  :items="constructedCustomTimeOptions"
35
35
  :disabled="isDisabledCustomFormLast"
36
+ :margin-between-trigger="4"
36
37
  test-id="custom-time"
37
38
  select-width="100%"
38
39
  size="md"
39
- :margin-between-trigger="4"
40
40
  />
41
41
  </div>
42
42
  </div>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <div
3
3
  :id="elementId"
4
- class="context-popup"
5
4
  :style="{
6
5
  top: currentContextMenuY,
7
6
  left: currentContextMenuX,
8
7
  }"
8
+ class="context-popup"
9
9
  >
10
10
  <common-context-recursion
11
11
  :action-loading="props.actionLoading"
@@ -3,8 +3,8 @@
3
3
  <template v-if="props.isLoading">
4
4
  <atoms-loader-pre-loader
5
5
  id="loader"
6
- class="absolute-center context-menu__loading"
7
6
  :show="true"
7
+ class="absolute-center context-menu__loading"
8
8
  />
9
9
  </template>
10
10
  <li
@@ -21,9 +21,9 @@
21
21
  @mouseleave="emits('toggle-items', [item, false, $event])"
22
22
  >
23
23
  <span
24
- class="context-link"
25
24
  :style="item.style"
26
25
  :data-id="`${item.testId}-context-link`"
26
+ class="context-link"
27
27
  @mousedown="emits('select-item', item)"
28
28
  >
29
29
  <span :class="['context-icon', item.iconClassName]" />
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
 
24
24
  <div v-show="isOpen" class="stack-children">
25
- <div style="height: auto">
25
+ <div class="h-auto">
26
26
  <slot name="stackChildren" />
27
27
  </div>
28
28
  </div>
@@ -8,4 +8,5 @@ export interface UI_I_DetailsItem {
8
8
  permission?: string[]
9
9
  data?: any
10
10
  testId?: string
11
+ iconClassName?: string
11
12
  }
@@ -41,8 +41,8 @@
41
41
  @click="onSelect(item.key)"
42
42
  >
43
43
  <atoms-the-icon2
44
- class="feedback-icon btn-icon has-solid clr-i-outline clr-i-outline-path-2"
45
44
  :name="item.iconName"
45
+ class="feedback-icon btn-icon has-solid clr-i-outline clr-i-outline-path-2"
46
46
  />
47
47
  <span>{{ item.text }}</span>
48
48
  </button>
@@ -52,8 +52,10 @@
52
52
  {{ localization.common.cancel }}
53
53
  </button>
54
54
  <button
55
- class="btn btn-outline"
56
- :class="props.loading && 'modal-dialog__loader'"
55
+ :class="[
56
+ 'btn btn-outline',
57
+ props.loading && 'modal-dialog__loader',
58
+ ]"
57
59
  :disabled="!description"
58
60
  data-id="feedback-modal-submit-button"
59
61
  @click="submit"
@@ -6,16 +6,16 @@
6
6
  id="feedback-message-textarea"
7
7
  v-model="descriptionLocal"
8
8
  :disabled="props.type === undefined"
9
- class="clr-textarea ng-pristine ng-invalid ng-touched textarea"
10
9
  :placeholder="descriptionTextPlaceholder"
10
+ class="clr-textarea ng-pristine ng-invalid ng-touched textarea"
11
11
  data-id="feedback-message-textarea"
12
12
  ></textarea>
13
13
  </div>
14
14
  <div class="main-block">
15
15
  <span class="text">{{ localization.common.emailAddress }} </span>
16
16
  <atoms-tooltip-error
17
- class="tooltip-error"
18
17
  :has-error="isInvalidEmail"
18
+ class="tooltip-error"
19
19
  selector="#vm-wizard-vcpus-field input"
20
20
  >
21
21
  <template #elem>
@@ -199,9 +199,9 @@ const descriptionTextPlaceholder = computed<string>(() => {
199
199
  return localization.value.common.selectFeedbackType
200
200
  })
201
201
  const hasTakeScreenshot = ref<boolean>(false)
202
- const feedbackImgWrap = ref()
203
- const feedbackImg = ref()
204
- const isFileLoad = ref(null)
202
+ const feedbackImgWrap = ref<any>()
203
+ const feedbackImg = ref<any>()
204
+ const isFileLoad = ref<any>(null)
205
205
  const memoryParentMain = ref<string>('')
206
206
  const memoryParentModalDialog = ref<string>('')
207
207
 
@@ -27,6 +27,7 @@
27
27
 
28
28
  <script setup lang="ts">
29
29
  import type { UI_I_Localization } from '~/lib/models/interfaces'
30
+
30
31
  const localization = computed<UI_I_Localization>(() => useLocal())
31
32
 
32
33
  const descriptions = ref<string[]>(localization.value.common.useOurExternalIdeasPortal.split('{0}'))
@@ -14,10 +14,10 @@
14
14
  <div class="chart-export-dropdown-container">
15
15
  <ui-button
16
16
  :test-id="`button-metric-${uniqueId}`"
17
+ :class="['metric-export-button', { active: isShowDropdown }]"
17
18
  is-without-sizes
18
19
  is-without-height
19
20
  variant="text"
20
- :class="['metric-export-button', { active: isShowDropdown }]"
21
21
  @click="isShowDropdown = !isShowDropdown"
22
22
  >
23
23
  <ui-icon name="burger" width="20" height="20" />
@@ -29,7 +29,7 @@
29
29
  :elem-id="`button-metric-${uniqueId}`"
30
30
  left
31
31
  width="max-content"
32
- @select="onSelect($event, key)"
32
+ @select="onSelect($event)"
33
33
  @hide="isShowDropdown = false"
34
34
  />
35
35
  </div>
@@ -9,7 +9,7 @@ import type {
9
9
  I_SeriesLine,
10
10
  I_SeriesDisk,
11
11
  I_SeriesLineItem,
12
- } from 'bfg-nuxt-3-graph/graph/lib/models/interfaces'
12
+ } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
13
13
 
14
14
  import type { UI_I_Localization } from '~/lib/models/interfaces'
15
15
 
@@ -7,8 +7,8 @@
7
7
  <ui-modal
8
8
  show
9
9
  :width="!options.isAnnotateImage ? '560px' : '880px'"
10
- test-id="feedback-modal"
11
10
  :title="title"
11
+ test-id="feedback-modal"
12
12
  class="feedback"
13
13
  @hide="onHideModal"
14
14
  >
@@ -101,12 +101,12 @@
101
101
  </ui-button>
102
102
  <div class="separator-line"></div>
103
103
  <ui-button
104
+ :disabled="isDisabledButton"
104
105
  test-id="feedback-undo-button"
105
106
  size="sm"
106
107
  type="default"
107
108
  variant="outline"
108
109
  class="btn undo"
109
- :disabled="isDisabledButton"
110
110
  @click="onUndoLast"
111
111
  >
112
112
  <ui-icon
@@ -120,12 +120,12 @@
120
120
  </div>
121
121
 
122
122
  <ui-button
123
+ :disabled="isDisabledButton"
123
124
  test-id="feedback-clear-all-button"
124
125
  size="sm"
125
126
  type="default"
126
127
  variant="outline"
127
128
  class="btn clear-all"
128
- :disabled="isDisabledButton"
129
129
  @click="clearAll"
130
130
  >
131
131
  <ui-icon
@@ -140,12 +140,14 @@
140
140
 
141
141
  <div
142
142
  id="feedbackImgWrap"
143
+ :class="[
144
+ 'preview-container',
145
+ {
146
+ disabled: !optionsModel.hasTakeScreenshot,
147
+ annotate: optionsModel.isAnnotateImage,
148
+ },
149
+ ]"
143
150
  ref="feedbackImgWrap"
144
- class="preview-container"
145
- :class="{
146
- disabled: !optionsModel.hasTakeScreenshot,
147
- annotate: optionsModel.isAnnotateImage,
148
- }"
149
151
  >
150
152
  <div class="preview-container__backdrop">
151
153
  <div>
@@ -5,17 +5,16 @@
5
5
  </span>
6
6
  <ui-icon
7
7
  id="feedback-additional-details-info-icon"
8
+ :class="['headline__icon pointer', isShowInfo && 'active']"
8
9
  name="info"
9
10
  width="16"
10
11
  height="16"
11
- class="headline__icon pointer"
12
- :class="isShowInfo && 'active'"
13
12
  @click="isShowInfo = !isShowInfo"
14
13
  />
15
14
  <ui-popup-window
16
15
  v-model="isShowInfo"
17
- width="288px"
18
16
  :elem-id="'feedback-additional-details-info-icon'"
17
+ width="288px"
19
18
  is-priority-right-position
20
19
  >
21
20
  <div class="common-widget-info">
@@ -4,10 +4,10 @@
4
4
 
5
5
  <ui-textarea
6
6
  v-model="descriptionModelLocal"
7
- test-id="feedback-description"
8
7
  :disabled="!selectedTab"
9
8
  :placeholder="descriptionTextPlaceholder"
10
9
  :error="descriptionErrorText"
10
+ test-id="feedback-description"
11
11
  >
12
12
  </ui-textarea>
13
13
  </div>
@@ -5,8 +5,8 @@
5
5
  <ui-input
6
6
  v-model="emailModelLocal"
7
7
  :error="emailErrorText"
8
- type="text"
9
8
  :placeholder="localization.common.emailAddressOptional"
9
+ type="text"
10
10
  test-id="feedback-email"
11
11
  />
12
12
  </div>
@@ -8,14 +8,13 @@
8
8
  name="info"
9
9
  width="16"
10
10
  height="16"
11
- class="subtitle__icon pointer"
12
- :class="isShowInfo && 'active'"
11
+ :class="['subtitle__icon pointer', isShowInfo && 'active']"
13
12
  @click="isShowInfo = !isShowInfo"
14
13
  />
15
14
  <ui-popup-window
16
15
  v-model="isShowInfo"
17
- width="320px"
18
16
  :elem-id="'feedback-description-info-icon'"
17
+ width="320px"
19
18
  class="subtitle__tooltip"
20
19
  is-priority-right-position
21
20
  >
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <ui-modal
3
3
  test-id="about-modal"
4
- width="720px"
5
4
  :title="props.title"
6
5
  :subtitle="props.subtitle"
6
+ width="720px"
7
7
  class="about-modal"
8
8
  @hide="onHideModal"
9
9
  >
@@ -20,8 +20,8 @@
20
20
 
21
21
  (<a
22
22
  id="about-description-link"
23
- data-id="about-description-link"
24
23
  :href="url"
24
+ data-id="about-description-link"
25
25
  target="_blank"
26
26
  class="about-modal__description-link"
27
27
  >
@@ -1,11 +1,6 @@
1
1
  <template>
2
2
  <Teleport to="body">
3
- <atoms-modal
4
- show
5
- width="864px"
6
- :title="props.title"
7
- test-id="about-modal"
8
- >
3
+ <atoms-modal :title="props.title" show width="864px" test-id="about-modal">
9
4
  <template #modalHeader>
10
5
  <div class="flex-align-center">
11
6
  <h3 class="modal-title">{{ brandName }}® {{ props.projectName }}</h3>
@@ -34,8 +29,8 @@
34
29
  {{ props.aboutDescOne }}
35
30
  (<a
36
31
  id="about-description-link"
37
- data-id="about-description-link"
38
32
  :href="url"
33
+ data-id="about-description-link"
39
34
  target="_blank"
40
35
  >{{ props.url }}</a
41
36
  >){{ props.aboutDescSecond }}
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div class="tid-control-bar-help-menu help-menu">
3
3
  <atoms-dropdown
4
- test-id="help-menu-dropdown"
5
4
  :drop-menu="helpMenu"
5
+ test-id="help-menu-dropdown"
6
6
  @select="emits('select-dropdown', $event.action)"
7
7
  >
8
8
  <template #icon>
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <atoms-modal
3
- test-id="connection-timeout-reconnect-modal"
4
- width="580px"
5
3
  :show="isShow"
6
4
  :title="localization.common.connectionTimeout"
5
+ test-id="connection-timeout-reconnect-modal"
6
+ width="580px"
7
7
  class="connection-timeout"
8
8
  is-hide-close-icon
9
9
  >
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <atoms-modal
3
- test-id="connection-timeout-modal"
4
- width="580px"
5
3
  :show="isShow"
6
4
  :title="localization.common.connectionTimeout"
5
+ test-id="connection-timeout-modal"
6
+ width="580px"
7
7
  class="connection-timeout"
8
8
  is-hide-close-icon
9
9
  >
@@ -11,9 +11,9 @@
11
11
  <div class="connection-timeout__body">
12
12
  <atoms-alert
13
13
  v-show="true"
14
+ :items="[localization.common.connectionTimeoutErrorDesc]"
14
15
  test-id="connection-timeout-alert"
15
16
  status="alert-danger"
16
- :items="[localization.common.connectionTimeoutErrorDesc]"
17
17
  hide-close-icon
18
18
  />
19
19
  </div>
@@ -26,7 +26,7 @@ import type {
26
26
  UI_I_ChangePasswordForm,
27
27
  } from '~/components/common/layout/theHeader/userMenu/modals/changePassword/lib/models/interfaces'
28
28
  import type { UI_T_Project } from '~/lib/models/types'
29
- import {} from '#build/components/common/layout/theHeader/userMenu/modals/changePassword/lib/models/interfaces'
29
+ // import {} from '#build/components/common/layout/theHeader/userMenu/modals/changePassword/lib/models/interfaces'
30
30
 
31
31
  const props = defineProps<{
32
32
  hostname: string
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <ui-modal
3
- show
4
- width="560px"
5
- test-id="change-password-modal"
6
3
  :title="localization.common.changePassword"
7
4
  :texts="modalTexts"
8
5
  :subtitle="props.subtitle"
6
+ width="560px"
7
+ test-id="change-password-modal"
9
8
  class="change-password"
9
+ show
10
10
  @submit="onSubmit"
11
11
  @hide="onHideModal"
12
12
  >
@@ -14,10 +14,10 @@
14
14
  <ui-modal-block-standard>
15
15
  <ui-alert
16
16
  v-if="alertErrorText"
17
+ :messages="[alertErrorText]"
17
18
  test-id="change-password-error-alert"
18
19
  type="error"
19
20
  hide-close-button
20
- :messages="[alertErrorText]"
21
21
  class="change-password__alert"
22
22
  />
23
23
 
@@ -28,26 +28,26 @@
28
28
  <div class="change-password__form">
29
29
  <ui-input
30
30
  v-model="modelLocal.current_password"
31
- test-id="change-password-password-field"
32
31
  :label="localization.auth.password"
33
32
  :error="passwordErrorText"
34
- type="password"
35
33
  :autocomplete="'new-password'"
34
+ type="password"
35
+ test-id="change-password-password-field"
36
36
  />
37
37
 
38
38
  <ui-input
39
39
  v-model="modelLocal.new_password"
40
- test-id="change-password-new-password-field"
41
40
  :label="localization.common.newPassword"
42
41
  :error="newPasswordErrorText"
42
+ test-id="change-password-new-password-field"
43
43
  type="password"
44
44
  />
45
45
 
46
46
  <ui-input
47
47
  v-model="modelLocal.confirm_password"
48
- test-id="change-password-confirm-password-field"
49
48
  :label="localization.common.confirmPassword"
50
49
  :error="confirmPasswordErrorText"
50
+ test-id="change-password-confirm-password-field"
51
51
  type="password"
52
52
  />
53
53
  </div>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <atoms-modal
3
- width="580px"
4
- test-id="change-password"
5
- show
6
3
  :title="localization.common.changePassword"
7
4
  :second-title="props.hostname"
8
5
  :disabled-submit="buttonDisabled"
6
+ width="580px"
7
+ test-id="change-password"
8
+ show
9
9
  @hide="onHideModal"
10
10
  @submit="onChangePassword"
11
11
  >
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <ui-modal
3
+ :title="localization.common.preferences"
3
4
  test-id="user-preferences-modal"
4
5
  width="580px"
5
- :title="localization.common.preferences"
6
6
  @reset="emits('reset')"
7
7
  @submit="emits('submit')"
8
8
  @hide="onHide"
@@ -101,7 +101,7 @@ const emits = defineEmits<{
101
101
  (event: 'submit'): void
102
102
  }>()
103
103
 
104
- const { $store }: any = useNuxtApp()
104
+ // const { $store }: any = useNuxtApp()
105
105
 
106
106
  const localization = computed<UI_I_Localization>(() => useLocal())
107
107
 
@@ -27,9 +27,9 @@ import type { UI_T_LangValue } from '~/lib/models/types'
27
27
  import type { UI_T_SelectedRadio } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/types'
28
28
  import type { UI_I_Localization } from '~/lib/models/interfaces'
29
29
  import type { UI_I_RadioItemLang } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/interfaces'
30
+ import { UI_E_DetectSelectedRadio } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/enums'
30
31
  import { locales } from '~/components/common/selectLanguage/lib/config/config'
31
32
  import { findInLocals } from '~/components/common/selectLanguage/lib/utils/utils'
32
- import { UI_E_DetectSelectedRadio } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/enums'
33
33
  import { radioOptionsFunc } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/config/radioOptions'
34
34
  import { defineBrowserLangFunc } from '~/components/common/layout/theHeader/lib/utils/localization'
35
35
 
@@ -56,7 +56,7 @@ const emits = defineEmits<{
56
56
  (event: 'update-is-browser', value: string): void
57
57
  }>()
58
58
 
59
- const config = useRuntimeConfig()
59
+ // const config = useRuntimeConfig()
60
60
  const localization = computed<UI_I_Localization>(() => useLocal())
61
61
 
62
62
  const selectedLanguageLocal = computed<UI_I_Dropdown>({
@@ -1,8 +1,5 @@
1
1
  <template>
2
- <form
3
- id="change-language-form"
4
- class="compact change-default-console"
5
- >
2
+ <form id="change-language-form" class="compact change-default-console">
6
3
  <div class="description">
7
4
  {{ props.description }}
8
5
  </div>
@@ -55,7 +52,7 @@ const emits = defineEmits<{
55
52
  (event: 'update-is-browser', value: string): void
56
53
  }>()
57
54
 
58
- const config = useRuntimeConfig()
55
+ // const config = useRuntimeConfig()
59
56
 
60
57
  const selectedLanguageLocal = computed<UI_I_Dropdown>({
61
58
  get() {
@@ -14,9 +14,9 @@
14
14
  :id="item.label"
15
15
  v-model="consoleValue"
16
16
  :data-id="item.testId"
17
- type="radio"
18
17
  :value="item.value"
19
18
  :disabled="item.disabled"
19
+ type="radio"
20
20
  @change="onChange"
21
21
  />
22
22
  <label :for="item.label">
@@ -18,8 +18,8 @@
18
18
  </div>
19
19
  <ui-checkbox
20
20
  v-model="vmInHostsClusters"
21
- test-id="user-preferences-inventory-show-vms-checkbox"
22
21
  :label-text="localization.common.virtualMachinesLabel"
22
+ test-id="user-preferences-inventory-show-vms-checkbox"
23
23
  />
24
24
  </div>
25
25
  </div>
@@ -36,9 +36,9 @@
36
36
  </ui-tooltip>
37
37
  </div>
38
38
  <ui-dropdown
39
- test-id="user-menu-dropdown"
40
39
  :show="isShowDropdown"
41
40
  :items="dropdownItems"
41
+ test-id="user-menu-dropdown"
42
42
  width="max-content"
43
43
  elem-id="user-menu-dropdown-toggle"
44
44
  @select="onSelectDropdown"
@@ -62,8 +62,8 @@
62
62
  </template>
63
63
 
64
64
  <script setup lang="ts">
65
- import type { UI_I_Localization } from '~/lib/models/interfaces'
66
65
  import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
66
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
67
67
  import { userMenuFunc } from '~/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu'
68
68
 
69
69
  const props = defineProps<{
@@ -1,5 +1,5 @@
1
- import type { UI_I_Localization } from '~/lib/models/interfaces'
2
1
  import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
2
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
3
3
 
4
4
  export const userMenuFunc = (
5
5
  localization: UI_I_Localization