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,112 +1,112 @@
1
- <template>
2
- <ui-modal
3
- test-id="about-modal"
4
- :title="props.title"
5
- :subtitle="props.subtitle"
6
- width="720px"
7
- class="about-modal"
8
- @hide="onHideModal"
9
- >
10
- <template #content>
11
- <ui-modal-block-standard>
12
- <div class="about-modal__text">
13
- <p>{{ aboutHeadingText }}</p>
14
-
15
- <p>{{ localization.layout.aboutSubtitle }}</p>
16
- </div>
17
-
18
- <div class="about-modal__description">
19
- {{ props.aboutDescOne }}
20
-
21
- (<a
22
- :href="url"
23
- id="about-description-link"
24
- data-id="about-description-link"
25
- target="_blank"
26
- class="about-modal__description-link"
27
- >
28
- {{ props.url }} </a
29
- >)
30
-
31
- {{ props.aboutDescSecond }}
32
- </div>
33
- </ui-modal-block-standard>
34
- </template>
35
- <template #footer><div class="modal-footer-block"></div></template>
36
- </ui-modal>
37
- </template>
38
-
39
- <script lang="ts" setup>
40
- import type { UI_I_Localization } from '~/lib/models/interfaces'
41
-
42
- const props = defineProps<{
43
- title: string
44
- subtitle: string
45
- aboutHeadingText: string
46
- aboutDescOne: string
47
- aboutDescSecond: string
48
- projectName: string
49
- url: string
50
- }>()
51
- const emits = defineEmits<{
52
- (event: 'hide'): void
53
- }>()
54
-
55
- const localization = computed<UI_I_Localization>(() => useLocal())
56
-
57
- const onHideModal = (): void => {
58
- emits('hide')
59
- }
60
- </script>
61
-
62
- <style>
63
- :root {
64
- --about-text-color: #4d5d69;
65
- --about-text-link-color: #008fd6;
66
- --about-text-link-hover-color: #0081c1;
67
- }
68
- :root.dark-theme {
69
- --about-text-color: #9da6ad;
70
- --about-text-link-color: #2ba2de;
71
- --about-text-link-hover-color: #008fd6;
72
- }
73
- </style>
74
-
75
- <style lang="scss" scoped>
76
- .modal-container-standard {
77
- padding-top: 12px;
78
- padding-bottom: 12px;
79
-
80
- .about-modal {
81
- &__text {
82
- color: var(--about-text-color);
83
- font-size: 13px;
84
- font-weight: 400;
85
- line-height: 15.73px;
86
-
87
- p:last-child {
88
- margin: 16px 0;
89
- }
90
- }
91
- &__description {
92
- color: var(--about-text-color);
93
- font-size: 13px;
94
- font-weight: 400;
95
- line-height: 15.73px;
96
-
97
- &-link {
98
- color: var(--about-text-link-color);
99
- &:hover {
100
- color: var(--about-text-link-hover-color);
101
- }
102
- }
103
- }
104
- }
105
- }
106
- .modal-footer-block {
107
- height: 32px;
108
- }
109
- :deep(.title-wrapper__subtitle) {
110
- max-width: 400px;
111
- }
112
- </style>
1
+ <template>
2
+ <ui-modal
3
+ test-id="about-modal"
4
+ :title="props.title"
5
+ :subtitle="props.subtitle"
6
+ width="720px"
7
+ class="about-modal"
8
+ @hide="onHideModal"
9
+ >
10
+ <template #content>
11
+ <ui-modal-block-standard>
12
+ <div class="about-modal__text">
13
+ <p>{{ aboutHeadingText }}</p>
14
+
15
+ <p>{{ localization.layout.aboutSubtitle }}</p>
16
+ </div>
17
+
18
+ <div class="about-modal__description">
19
+ {{ props.aboutDescOne }}
20
+
21
+ (<a
22
+ id="about-description-link"
23
+ :href="url"
24
+ data-id="about-description-link"
25
+ target="_blank"
26
+ class="about-modal__description-link"
27
+ >
28
+ {{ props.url }} </a
29
+ >)
30
+
31
+ {{ props.aboutDescSecond }}
32
+ </div>
33
+ </ui-modal-block-standard>
34
+ </template>
35
+ <template #footer><div class="modal-footer-block"></div></template>
36
+ </ui-modal>
37
+ </template>
38
+
39
+ <script lang="ts" setup>
40
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
41
+
42
+ const props = defineProps<{
43
+ title: string
44
+ subtitle: string
45
+ aboutHeadingText: string
46
+ aboutDescOne: string
47
+ aboutDescSecond: string
48
+ projectName: string
49
+ url: string
50
+ }>()
51
+ const emits = defineEmits<{
52
+ (event: 'hide'): void
53
+ }>()
54
+
55
+ const localization = computed<UI_I_Localization>(() => useLocal())
56
+
57
+ const onHideModal = (): void => {
58
+ emits('hide')
59
+ }
60
+ </script>
61
+
62
+ <style>
63
+ :root {
64
+ --about-text-color: #4d5d69;
65
+ --about-text-link-color: #008fd6;
66
+ --about-text-link-hover-color: #0081c1;
67
+ }
68
+ :root.dark-theme {
69
+ --about-text-color: #9da6ad;
70
+ --about-text-link-color: #2ba2de;
71
+ --about-text-link-hover-color: #008fd6;
72
+ }
73
+ </style>
74
+
75
+ <style lang="scss" scoped>
76
+ .modal-container-standard {
77
+ padding-top: 12px;
78
+ padding-bottom: 12px;
79
+
80
+ .about-modal {
81
+ &__text {
82
+ color: var(--about-text-color);
83
+ font-size: 13px;
84
+ font-weight: 400;
85
+ line-height: 15.73px;
86
+
87
+ p:last-child {
88
+ margin: 16px 0;
89
+ }
90
+ }
91
+ &__description {
92
+ color: var(--about-text-color);
93
+ font-size: 13px;
94
+ font-weight: 400;
95
+ line-height: 15.73px;
96
+
97
+ &-link {
98
+ color: var(--about-text-link-color);
99
+ &:hover {
100
+ color: var(--about-text-link-hover-color);
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ .modal-footer-block {
107
+ height: 32px;
108
+ }
109
+ :deep(.title-wrapper__subtitle) {
110
+ max-width: 400px;
111
+ }
112
+ </style>
@@ -1,80 +1,80 @@
1
- <template>
2
- <Teleport to="body">
3
- <atoms-modal :title="props.title" show width="864px" test-id="about-modal">
4
- <template #modalHeader>
5
- <div class="flex-align-center">
6
- <h3 class="modal-title">{{ brandName }}® {{ props.projectName }}</h3>
7
- <span class="separator" />
8
- <h4 class="secondary-title">
9
- {{ props.subtitle }}
10
- </h4>
11
- </div>
12
- <button id="about-modal-button-close" class="close">
13
- <atoms-the-icon
14
- data-id="about-modal-button-close-icon"
15
- class="close-icon"
16
- name="close"
17
- @click="() => emits('hide')"
18
- />
19
- </button>
20
- </template>
21
-
22
- <template #modalBody>
23
- <div class="about-vsphere-dialog-legal-section">
24
- <p>{{ props.aboutHeadingText }}</p>
25
- <p>{{ localization.layout.aboutSubtitle }}</p>
26
- </div>
27
-
28
- <div class="about-vsphere-dialog-legal-section description">
29
- {{ props.aboutDescOne }}
30
- (<a
31
- :href="url"
32
- id="about-description-link"
33
- data-id="about-description-link"
34
- target="_blank"
35
- >{{ props.url }}</a
36
- >){{ props.aboutDescSecond }}
37
- </div>
38
- </template>
39
-
40
- <template #modalFooter>
41
- <span></span>
42
- </template>
43
- </atoms-modal>
44
- </Teleport>
45
- </template>
46
-
47
- <script lang="ts" setup>
48
- import type { UI_I_Localization } from '~/lib/models/interfaces'
49
-
50
- const props = defineProps<{
51
- title: string
52
- subtitle: string
53
- aboutHeadingText: string
54
- aboutDescOne: string
55
- aboutDescSecond: string
56
- projectName: string
57
- url: string
58
- }>()
59
- const emits = defineEmits<{
60
- (event: 'hide'): void
61
- }>()
62
-
63
- const localization = computed<UI_I_Localization>(() => useLocal())
64
- const config = useRuntimeConfig()
65
-
66
- const brandName = computed<string>(
67
- () => config.public[`TRADEMARK_${useEnvLanguage()}`]
68
- )
69
- </script>
70
-
71
- <style lang="scss" scoped>
72
- .modal-title {
73
- color: var(--main-color-mode);
74
- }
75
- .description {
76
- padding-top: 10px;
77
- font-size: 13px;
78
- line-height: 19px;
79
- }
80
- </style>
1
+ <template>
2
+ <Teleport to="body">
3
+ <atoms-modal :title="props.title" show width="864px" test-id="about-modal">
4
+ <template #modalHeader>
5
+ <div class="flex-align-center">
6
+ <h3 class="modal-title">{{ brandName }}® {{ props.projectName }}</h3>
7
+ <span class="separator" />
8
+ <h4 class="secondary-title">
9
+ {{ props.subtitle }}
10
+ </h4>
11
+ </div>
12
+ <button id="about-modal-button-close" class="close">
13
+ <atoms-the-icon
14
+ data-id="about-modal-button-close-icon"
15
+ class="close-icon"
16
+ name="close"
17
+ @click="() => emits('hide')"
18
+ />
19
+ </button>
20
+ </template>
21
+
22
+ <template #modalBody>
23
+ <div class="about-vsphere-dialog-legal-section">
24
+ <p>{{ props.aboutHeadingText }}</p>
25
+ <p>{{ localization.layout.aboutSubtitle }}</p>
26
+ </div>
27
+
28
+ <div class="about-vsphere-dialog-legal-section description">
29
+ {{ props.aboutDescOne }}
30
+ (<a
31
+ id="about-description-link"
32
+ :href="url"
33
+ data-id="about-description-link"
34
+ target="_blank"
35
+ >{{ props.url }}</a
36
+ >){{ props.aboutDescSecond }}
37
+ </div>
38
+ </template>
39
+
40
+ <template #modalFooter>
41
+ <span></span>
42
+ </template>
43
+ </atoms-modal>
44
+ </Teleport>
45
+ </template>
46
+
47
+ <script lang="ts" setup>
48
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
49
+
50
+ const props = defineProps<{
51
+ title: string
52
+ subtitle: string
53
+ aboutHeadingText: string
54
+ aboutDescOne: string
55
+ aboutDescSecond: string
56
+ projectName: string
57
+ url: string
58
+ }>()
59
+ const emits = defineEmits<{
60
+ (event: 'hide'): void
61
+ }>()
62
+
63
+ const localization = computed<UI_I_Localization>(() => useLocal())
64
+ const config = useRuntimeConfig()
65
+
66
+ const brandName = computed<string>(
67
+ () => config.public[`TRADEMARK_${useEnvLanguage()}`]
68
+ )
69
+ </script>
70
+
71
+ <style lang="scss" scoped>
72
+ .modal-title {
73
+ color: var(--main-color-mode);
74
+ }
75
+ .description {
76
+ padding-top: 10px;
77
+ font-size: 13px;
78
+ line-height: 19px;
79
+ }
80
+ </style>
@@ -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
@@ -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>