bfg-common 1.6.89 → 1.6.91

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 (191) hide show
  1. package/assets/localization/local_be.json +4365 -4630
  2. package/assets/localization/local_en.json +4369 -4635
  3. package/assets/localization/local_hy.json +4369 -4634
  4. package/assets/localization/local_kk.json +4368 -4633
  5. package/assets/localization/local_ru.json +4368 -4633
  6. package/assets/localization/local_zh.json +4366 -4631
  7. package/assets/scss/common/global.scss +0 -11
  8. package/assets/scss/common/normalize.scss +0 -3
  9. package/assets/scss/common/theme.scss +2 -2
  10. package/components/atoms/stack/StackBlock.vue +1 -1
  11. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -2
  12. package/components/atoms/tooltip/TooltipError.vue +0 -3
  13. package/components/common/adapterManager/AdapterManagerNew.vue +0 -87
  14. package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +1 -1
  15. package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +1 -0
  16. package/components/common/adapterManager/ui/actions/bar/Bar.vue +0 -2
  17. package/components/common/adapterManager/ui/actions/bar/BarNew.vue +2 -3
  18. package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +0 -1
  19. package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +0 -6
  20. package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +192 -219
  21. package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +4 -6
  22. package/components/common/configure/physicalAdapters/buttons/Buttons.vue +0 -1
  23. package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +1 -26
  24. package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +1 -30
  25. package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +0 -5
  26. package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +1 -12
  27. package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
  28. package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +32 -39
  29. package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +1 -4
  30. package/components/common/diagramMain/Diagram.vue +85 -169
  31. package/components/common/diagramMain/DiagramMain.vue +10 -40
  32. package/components/common/diagramMain/{header/HeaderOld.vue → Header.vue} +67 -78
  33. package/components/common/diagramMain/modals/{managePhysicalAdapters/ManagePhysicalAdaptersOld.vue → ManagePhysicalAdaptersModal.vue} +119 -33
  34. package/components/common/diagramMain/modals/Modals.vue +5 -5
  35. package/components/common/diagramMain/modals/editSettings/{confirmTeamingSettingsModal/ConfirmTeamingSettingsModalOld.vue → ConfirmTeamingSettingsModal.vue} +5 -2
  36. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +102 -104
  37. package/components/common/diagramMain/modals/editSettings/{modal/EditSettingsModalOld.vue → EditSettingsModal.vue} +51 -12
  38. package/components/common/diagramMain/modals/editSettings/lib/models/interfaces.ts +0 -6
  39. package/components/common/diagramMain/modals/editSettings/tabs/{networkProperties/NetworkPropertiesOld.vue → NetworkProperties.vue} +113 -12
  40. package/components/common/diagramMain/modals/editSettings/tabs/{security/SecurityOld.vue → Security.vue} +48 -25
  41. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +164 -0
  42. package/components/common/diagramMain/modals/editSettings/tabs/{teamingFailover/TeamingFailoverOld.vue → TeamingFailover.vue} +48 -11
  43. package/components/common/diagramMain/modals/editSettings/tabs/{trafficShaping/TrafficShapingOld.vue → TrafficShaping.vue} +134 -12
  44. package/components/common/diagramMain/modals/editSettings/tabs/port/{ipvFourSettings/IpvFourSettingsOld.vue → IpvFourSettings.vue} +152 -11
  45. package/components/common/diagramMain/modals/editSettings/tabs/port/{portProperties/PortPropertiesOld.vue → PortProperties.vue} +103 -12
  46. package/components/common/diagramMain/modals/lib/config/adapterModal.ts +9 -9
  47. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +2 -43
  48. package/components/common/diagramMain/modals/lib/config/index.ts +1 -2
  49. package/components/common/diagramMain/modals/lib/config/networkModal.ts +15 -15
  50. package/components/common/diagramMain/modals/lib/config/portModal.ts +12 -12
  51. package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +2 -2
  52. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
  53. package/components/common/diagramMain/modals/lib/utils/index.ts +4 -34
  54. package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
  55. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +1 -1
  56. package/components/common/diagramMain/modals/remove/RemoveModalNew.vue +16 -67
  57. package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalNew.vue +0 -8
  58. package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
  59. package/components/common/layout/theHeader/modals/reconnect/New.vue +30 -38
  60. package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +9 -8
  61. package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +0 -4
  62. package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +2 -9
  63. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +7 -11
  64. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +1 -7
  65. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +5 -8
  66. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +5 -9
  67. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +1 -1
  68. package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +9 -5
  69. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +6 -9
  70. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -3
  71. package/components/common/modals/Rename.vue +1 -3
  72. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +2791 -2791
  73. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +295 -295
  74. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/config/index.ts +22 -22
  75. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/utils/checkSubmit.ts +46 -46
  76. package/components/common/monitor/lib/utils/local_be.json +714 -714
  77. package/components/common/monitor/lib/utils/local_en.json +714 -714
  78. package/components/common/monitor/lib/utils/local_hy.json +714 -714
  79. package/components/common/monitor/lib/utils/local_kk.json +714 -714
  80. package/components/common/monitor/lib/utils/local_ru.json +714 -714
  81. package/components/common/monitor/lib/utils/local_zh.json +714 -714
  82. package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
  83. package/components/common/pages/backups/lib/models/interfaces.ts +0 -1
  84. package/components/common/pages/backups/modals/Modals.vue +0 -1
  85. package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
  86. package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
  87. package/components/common/pages/backups/modals/lib/config/restore.ts +0 -1
  88. package/components/common/pages/backups/modals/lib/models/interfaces.ts +0 -1
  89. package/components/common/pages/backups/modals/restore/Restore.vue +2 -4
  90. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +253 -184
  91. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +1 -1
  92. package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +0 -9
  93. package/components/common/pages/scheduledTasks/table/new/New.vue +10 -12
  94. package/components/common/pages/tasks/Tasks.vue +1 -4
  95. package/components/common/pages/tasks/table/Table.vue +23 -25
  96. package/components/common/readyToComplete/New.vue +0 -1
  97. package/components/common/split/horizontal/New.vue +1 -1
  98. package/components/common/split/horizontal/Old.vue +1 -1
  99. package/components/common/split/vertical/New.vue +8 -42
  100. package/components/common/split/vertical/Old.vue +2 -31
  101. package/components/common/split/vertical/Vertical.vue +0 -4
  102. package/components/common/tools/Actions.vue +3 -7
  103. package/components/common/tools/lib/models/interfaces.ts +0 -1
  104. package/components/common/vm/actions/add/New.vue +6 -21
  105. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +1 -14
  106. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +0 -5
  107. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Old.vue +0 -1
  108. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +0 -1
  109. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +0 -2
  110. package/components/common/vm/actions/common/select/options/New.vue +12 -14
  111. package/components/common/vm/actions/common/select/options/Old.vue +15 -16
  112. package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +15 -13
  113. package/components/common/vm/actions/confirm/Confirm.vue +0 -3
  114. package/components/common/vm/actions/rename/Old.vue +0 -1
  115. package/components/common/vm/snapshots/DetailView.vue +6 -6
  116. package/components/common/wizards/datastore/add/New.vue +0 -6
  117. package/components/common/wizards/datastore/add/lib/config/steps.ts +1 -1
  118. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
  119. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
  120. package/components/common/wizards/network/add/Add.vue +2 -13
  121. package/components/common/wizards/network/add/AddNew.vue +26 -22
  122. package/components/common/wizards/network/add/lib/config/initialData.ts +4 -6
  123. package/components/common/wizards/network/add/lib/config/steps.ts +1 -1
  124. package/components/common/wizards/network/add/lib/models/interfaces.ts +0 -1
  125. package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
  126. package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue +1 -5
  127. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +8 -2
  128. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsOld.vue +0 -3
  129. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +8 -2
  130. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesOld.vue +2 -6
  131. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +3 -10
  132. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +0 -4
  133. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +1 -5
  134. package/components/common/wizards/network/add/validations/common.ts +1 -1
  135. package/components/common/wizards/vm/migrate/New.vue +3 -13
  136. package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +0 -5
  137. package/components/common/wizards/vm/migrate/lib/config/steps.ts +2 -3
  138. package/components/common/wizards/vm/migrate/steps/computeResource/New.vue +1 -2
  139. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +21 -40
  140. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +14 -44
  141. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/models/enums.ts +0 -4
  142. package/components/common/wizards/vm/migrate/steps/priority/New.vue +2 -7
  143. package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +7 -22
  144. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +0 -6
  145. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +1 -4
  146. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/lib/config/datastoreTable.ts +16 -12
  147. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue +5 -10
  148. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +11 -16
  149. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +1 -7
  150. package/components/common/wizards/vm/migrate/steps/selectStorage/selectedPerDisk/New.vue +10 -17
  151. package/components/common/wizards/vm/migrate/steps/type/TypeNew.vue +0 -1
  152. package/components/common/wizards/vm/migrate/vmOrigin/New.vue +15 -35
  153. package/lib/models/store/tasks/enums.ts +0 -3
  154. package/lib/models/store/tasks/types.ts +6 -7
  155. package/package.json +2 -2
  156. package/plugins/directives.ts +5 -3
  157. package/public/spice-console/application/agent.js +17 -18
  158. package/store/tasks/actions.ts +8 -26
  159. package/store/tasks/mappers/recentTasks.ts +0 -1
  160. package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +0 -19
  161. package/components/common/diagramMain/header/Header.vue +0 -49
  162. package/components/common/diagramMain/header/HeaderNew.vue +0 -155
  163. package/components/common/diagramMain/modals/UnsavedChangesModal.vue +0 -32
  164. package/components/common/diagramMain/modals/editSettings/EditSettingsNew.vue +0 -285
  165. package/components/common/diagramMain/modals/editSettings/EditSettingsOld.vue +0 -254
  166. package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModal.vue +0 -31
  167. package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModalNew.vue +0 -82
  168. package/components/common/diagramMain/modals/editSettings/lib/config/config.ts +0 -15
  169. package/components/common/diagramMain/modals/editSettings/lib/utils/utils.ts +0 -177
  170. package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModal.vue +0 -137
  171. package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModalNew.vue +0 -91
  172. package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkProperties.vue +0 -158
  173. package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkPropertiesNew.vue +0 -262
  174. package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettings.vue +0 -192
  175. package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettingsNew.vue +0 -388
  176. package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortProperties.vue +0 -139
  177. package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortPropertiesNew.vue +0 -286
  178. package/components/common/diagramMain/modals/editSettings/tabs/security/Security.vue +0 -209
  179. package/components/common/diagramMain/modals/editSettings/tabs/security/SecurityNew.vue +0 -233
  180. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchProperties.vue +0 -128
  181. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesNew.vue +0 -235
  182. package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesOld.vue +0 -87
  183. package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailover.vue +0 -99
  184. package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailoverNew.vue +0 -319
  185. package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShaping.vue +0 -173
  186. package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShapingNew.vue +0 -348
  187. package/components/common/diagramMain/modals/managePhysicalAdapters/ManagePhysicalAdapters.vue +0 -164
  188. package/components/common/diagramMain/modals/managePhysicalAdapters/ManagePhysicalAdaptersNew.vue +0 -306
  189. package/components/common/diagramMain/skeleton/Header.vue +0 -31
  190. package/components/common/diagramMain/skeleton/Switch.vue +0 -75
  191. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +0 -340
@@ -2,42 +2,12 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
2
  import type { UI_I_EditSettingsErrorMessage } from '~/components/common/diagramMain/lib/models/interfaces'
3
3
 
4
4
  export const validationMessagesArrayFunc = (
5
- keyArray: (keyof UI_I_EditSettingsErrorMessage)[],
5
+ arr: (keyof UI_I_EditSettingsErrorMessage)[],
6
6
  errorMessages: UI_I_EditSettingsErrorMessage
7
7
  ) =>
8
- keyArray
9
- .map(
10
- (key: keyof UI_I_EditSettingsErrorMessage): string | undefined =>
11
- errorMessages[key]
12
- )
13
- .filter((message: string | undefined): boolean => message !== '')
14
-
15
- export const validationMessagesArrayNewFunc = (
16
- keyArray: (keyof UI_I_EditSettingsErrorMessage)[],
17
- errorMessages: UI_I_EditSettingsErrorMessage
18
- ) =>
19
- keyArray
20
- .map(
21
- (
22
- key: keyof UI_I_EditSettingsErrorMessage
23
- ):
24
- | {
25
- key: keyof UI_I_EditSettingsErrorMessage
26
- message: string | undefined
27
- }
28
- | undefined =>
29
- errorMessages[key] ? { key, message: errorMessages[key] } : undefined
30
- )
31
- .filter(
32
- (
33
- messageObject:
34
- | {
35
- key: keyof UI_I_EditSettingsErrorMessage
36
- message: string | undefined
37
- }
38
- | undefined
39
- ): boolean => !!messageObject
40
- )
8
+ arr
9
+ .map((ar: keyof UI_I_EditSettingsErrorMessage) => errorMessages[ar])
10
+ .filter((err) => err !== '')
41
11
 
42
12
  export const getNicSpeed = (
43
13
  speedInitial: number = 0,
@@ -112,7 +112,7 @@ const title = computed<string>(
112
112
 
113
113
  const connectionSettings = ref<UI_I_ConnectionSettings>({
114
114
  networkLabel: 'VM Network',
115
- vlanId: `${localization.value.common.none2} (0)`,
115
+ vlanId: `${localization.value.common.none} (0)`,
116
116
  })
117
117
 
118
118
  const vmkernelAdapter = ref<UI_I_SelectVmkernelAdapter>({
@@ -262,7 +262,7 @@ const reset = (): void => {
262
262
  wizard.reset()
263
263
  connectionSettings.value = {
264
264
  networkLabel: 'VM Network',
265
- vlanId: `${localization.value.common.none2} (0)`,
265
+ vlanId: `${localization.value.common.none} (0)`,
266
266
  }
267
267
  vmkernelAdapter.value = {
268
268
  vm: '',
@@ -14,6 +14,6 @@ export const checkVlanId = (
14
14
  vlanId: string,
15
15
  localization: UI_I_Localization
16
16
  ): boolean =>
17
- vlanId !== `${localization.common.none2} (0)` &&
17
+ vlanId !== `${localization.common.none} (0)` &&
18
18
  vlanId !== `${localization.common.all} (4095)` &&
19
19
  (isIntegerNumberInRange(vlanId, 0, 4095) || vlanId === '')
@@ -1,24 +1,14 @@
1
1
  <template>
2
- <div>
3
- <ui-popup
4
- :v-if="props.show"
5
- :title="title"
6
- :message="text"
7
- :texts="buttons"
8
- icon-name="circle-warning"
9
- size="sm"
10
- @hide="onHideModal"
11
- @submit="onRemove"
12
- >
13
- <template #content>
14
- <div v-if="props.type === 'port'" class="message">
15
- <span class="message-title">{{ title }}</span>
16
- <span class="message-item">{{ text[0] }}</span>
17
- <span class="message-item">{{ text[1] }}</span>
18
- </div>
19
- </template>
20
- </ui-popup>
21
- </div>
2
+ <ui-popup
3
+ :v-if="props.show"
4
+ :title="title"
5
+ :message="text"
6
+ :texts="buttons"
7
+ icon-name="info-status"
8
+ size="sm"
9
+ @hide="onHideModal"
10
+ @submit="onRemove"
11
+ />
22
12
  </template>
23
13
 
24
14
  <script setup lang="ts">
@@ -73,19 +63,16 @@ const title = computed<string>(() => {
73
63
  }
74
64
  })
75
65
 
76
- const text = computed<string | string[]>(() => {
66
+ const text = computed<string>(() => {
77
67
  switch (props.type) {
78
68
  case 'network':
79
69
  return localization.value.common.confirmNetworkRemovalMessage
80
70
  .replace('{networkName}', props.label)
81
71
  .replace('{switchName}', props.switchName)
82
72
  case 'port':
83
- return [
84
- localization.value.common.confirmPortRemovalMessage1,
85
- localization.value.common.confirmPortRemovalMessage2
86
- .replace('{portName}', props.id)
87
- .replace('{switchName}', props.switchName),
88
- ]
73
+ return localization.value.common.confirmPortRemovalMessage
74
+ .replace('{portName}', props.id)
75
+ .replace('{switchName}', props.switchName)
89
76
  case 'switch':
90
77
  return localization.value.common.confirmSwitchRemovalMessage
91
78
  .replace('{switchName}', props.switchName)
@@ -97,7 +84,7 @@ const text = computed<string | string[]>(() => {
97
84
 
98
85
  const buttons = computed<UI_I_ModalTexts>(() => ({
99
86
  button1: localization.value.common.cancel,
100
- button2: localization.value.common.remove,
87
+ button2: localization.value.common.confirm,
101
88
  }))
102
89
 
103
90
  const isSphereProject = computed<boolean>(() => props.project === 'sphere')
@@ -116,42 +103,4 @@ const onHideModal = (): void => {
116
103
  }
117
104
  </script>
118
105
 
119
- <style scoped lang="scss">
120
- :deep(svg) {
121
- path {
122
- fill: #ea3223;
123
- }
124
- }
125
-
126
- .message {
127
- padding: 16px 32px;
128
-
129
- &-title {
130
- display: block;
131
- font-weight: 500;
132
- font-size: 20px;
133
- line-height: 24px;
134
- letter-spacing: 0;
135
- text-align: center;
136
- vertical-align: middle;
137
- margin-bottom: 8px;
138
- color: var(--title-form-first-color);
139
- }
140
-
141
- &-item {
142
- display: block;
143
- font-weight: 400;
144
- font-size: 14px;
145
- line-height: 18px;
146
- letter-spacing: 0;
147
- text-align: center;
148
- vertical-align: middle;
149
- color: #9da6ad;
150
- margin-bottom: 12px;
151
- }
152
-
153
- span:last-of-type {
154
- margin-bottom: 0;
155
- }
156
- }
157
- </style>
106
+ <style scoped lang="scss"></style>
@@ -46,13 +46,5 @@ const emits = defineEmits<{
46
46
  :deep(.modal-body) {
47
47
  max-height: unset;
48
48
  overflow-y: unset;
49
-
50
- .info-container {
51
- padding-top: 0;
52
- }
53
- .table-fixed-height {
54
- scrollbar-gutter: stable;
55
- padding-right: 18px;
56
- }
57
49
  }
58
50
  </style>
@@ -2,7 +2,7 @@
2
2
  <ui-tooltip
3
3
  id="tooltip-theme-mode-toggle-button"
4
4
  test-id="tooltip-theme-mode-toggle-button"
5
- size="md"
5
+ size="sm"
6
6
  position="bottom"
7
7
  position-by-tooltip="center"
8
8
  >
@@ -1,37 +1,35 @@
1
1
  <template>
2
- <div class="reconnect-modal-container">
3
- <ui-modal
4
- :title="props.title"
5
- :texts="modalTexts"
6
- test-id="reconnect-modal"
7
- size="sm"
8
- width="560px"
9
- show
10
- @hide="emits('logout')"
11
- @submit="emits('reconnect')"
12
- >
13
- <template #content>
14
- <div class="reconnect-content">
15
- <div class="icon-content flex items-center gap-2">
16
- <span class="icon-sessions"></span>
17
- <span class="description-text">{{
18
- localization.common.reconnectDesc
19
- }}</span>
20
- </div>
21
- <div class="timer-block mt-4">
22
- <common-countdown-timer
23
- :timer="props.timer"
24
- :total-time="props.totalTime"
25
- is-hide-seconds-text
26
- />
27
- </div>
2
+ <ui-modal
3
+ :title="props.title"
4
+ :texts="modalTexts"
5
+ test-id="reconnect-modal"
6
+ size="sm"
7
+ width="560px"
8
+ show
9
+ @hide="emits('logout')"
10
+ @submit="emits('reconnect')"
11
+ >
12
+ <template #content>
13
+ <div class="reconnect-content">
14
+ <div class="icon-content flex items-center gap-2">
15
+ <span class="icon-sessions"></span>
16
+ <span class="description-text">{{
17
+ localization.common.reconnectDesc
18
+ }}</span>
28
19
  </div>
29
- </template>
30
- <template #footerLeftContent>
31
- <span></span>
32
- </template>
33
- </ui-modal>
34
- </div>
20
+ <div class="timer-block mt-4">
21
+ <common-countdown-timer
22
+ :timer="props.timer"
23
+ :total-time="props.totalTime"
24
+ is-hide-seconds-text
25
+ />
26
+ </div>
27
+ </div>
28
+ </template>
29
+ <template #footerLeftContent>
30
+ <span></span>
31
+ </template>
32
+ </ui-modal>
35
33
  </template>
36
34
 
37
35
  <script lang="ts" setup>
@@ -58,12 +56,6 @@ const modalTexts = ref<UI_I_ModalTexts>({
58
56
  </script>
59
57
 
60
58
  <style lang="scss" scoped>
61
- .reconnect-modal-container {
62
- :deep(.modal), :deep(.modal-background) {
63
- z-index: calc(var(--z-modal) + 3);
64
- }
65
- }
66
-
67
59
  .reconnect-content {
68
60
  padding: 8px 32px 8px 32px;
69
61
 
@@ -107,23 +107,24 @@ const passwordErrorText = computed<string>(() => {
107
107
  const newPasswordErrorText = computed<string>(() => {
108
108
  if (!initValidationFields.value.newPassword) return ''
109
109
 
110
- // const { current_password, new_password, confirm_password } = modelLocal.value
111
- const { current_password, new_password } = modelLocal.value
110
+ const { current_password, new_password, confirm_password } = modelLocal.value
112
111
 
113
112
  const validateText = validateField(
114
113
  localization.value,
115
114
  current_password,
116
115
  new_password
117
116
  )
118
- // const mismatchError = getPasswordMismatchError(
119
- // localization.value,
120
- // new_password,
121
- // confirm_password
122
- // )
117
+ const mismatchError = getPasswordMismatchError(
118
+ localization.value,
119
+ new_password,
120
+ confirm_password
121
+ )
123
122
  if (!new_password) {
124
123
  return localization.value.common.fieldRequired
125
124
  } else if (validateText) {
126
125
  return validateText
126
+ } else if (mismatchError) {
127
+ return mismatchError
127
128
  } else return ''
128
129
  })
129
130
  const confirmPasswordErrorText = computed<string>(() => {
@@ -165,7 +166,7 @@ const onHideModal = (): void => {
165
166
  color: #9da6ad;
166
167
  font-size: 12px;
167
168
  font-weight: 400;
168
- line-height: 18px;
169
+ line-height: 14.52px;
169
170
  margin-bottom: 20px;
170
171
  }
171
172
  &__alert {
@@ -15,7 +15,6 @@
15
15
  <common-layout-the-header-user-menu-modals-preferences-time-format
16
16
  v-model:time-format="timeFormat"
17
17
  :new-view="props.newView"
18
- :project="props.project"
19
18
  />
20
19
  </ui-modal-block-form-standard>
21
20
 
@@ -24,7 +23,6 @@
24
23
  :new-view="props.newView"
25
24
  :selected-type="props.selectedLanguageType"
26
25
  :selected-language="props.selectedLanguage"
27
- :project="props.project"
28
26
  @update-language="emits('update-language', $event)"
29
27
  @update-is-browser="emits('update-is-browser', $event)"
30
28
  />
@@ -34,7 +32,6 @@
34
32
  <common-layout-the-header-user-menu-modals-preferences-default-console
35
33
  v-model="consoleValue"
36
34
  :new-view="props.newView"
37
- :project="props.project"
38
35
  />
39
36
  </ui-modal-block-form-standard>
40
37
 
@@ -58,7 +55,6 @@
58
55
  v-model:new-view-local="newViewLocal"
59
56
  v-model:is-show-notification="isShowNotification"
60
57
  :new-view="props.newView"
61
- :project="props.project"
62
58
  />
63
59
  </ui-modal-block-form-standard>
64
60
  </ui-modal-block-standard>
@@ -19,7 +19,6 @@
19
19
  v-if="selectedTab === 'time-tab'"
20
20
  v-model:time-format="timeFormat"
21
21
  :new-view="props.newView"
22
- :project="props.project"
23
22
  />
24
23
 
25
24
  <common-layout-the-header-user-menu-modals-preferences-change-language
@@ -27,7 +26,6 @@
27
26
  :new-view="props.newView"
28
27
  :selected-type="props.selectedLanguageType"
29
28
  :selected-language="props.selectedLanguage"
30
- :project="props.project"
31
29
  @update-language="emits('update-language', $event)"
32
30
  @update-is-browser="emits('update-is-browser', $event)"
33
31
  />
@@ -42,7 +40,6 @@
42
40
  v-if="selectedTab === 'console-tab' && isSphere"
43
41
  v-model="consoleValue"
44
42
  :new-view="props.newView"
45
- :project="props.project"
46
43
  />
47
44
 
48
45
  <common-layout-the-header-user-menu-modals-preferences-security
@@ -149,12 +146,8 @@ const isOn2FaImportant = ref<boolean>(false)
149
146
  watch(
150
147
  topNotifications,
151
148
  (newValue) => {
152
- if (
153
- newValue === UI_E_TopNotificationActionId.on2Fa ||
154
- newValue === UI_E_TopNotificationActionId.on2FaImportant
155
- ) {
156
- isOn2FaImportant.value =
157
- newValue === UI_E_TopNotificationActionId.on2FaImportant
149
+ if (newValue === UI_E_TopNotificationActionId.on2Fa || newValue === UI_E_TopNotificationActionId.on2FaImportant) {
150
+ isOn2FaImportant.value = newValue === UI_E_TopNotificationActionId.on2FaImportant
158
151
  selectedTab.value = 'security-tab'
159
152
  $store.dispatch('main/A_SET_TOP_NOTIFICATION_ACTION_ID', -1)
160
153
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  <script setup lang="ts">
13
13
  import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
14
- import type { UI_T_LangValue, UI_T_Project } from '~/lib/models/types'
14
+ import type { UI_T_LangValue } from '~/lib/models/types'
15
15
  import type { UI_T_SelectedRadio } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/types'
16
16
  import type { UI_I_Localization } from '~/lib/models/interfaces'
17
17
  import type { UI_I_RadioItemLang } from '~/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/lib/models/interfaces'
@@ -24,7 +24,6 @@ import { defineBrowserLangFunc } from '~/components/common/layout/theHeader/lib/
24
24
  const props = defineProps<{
25
25
  newView: boolean
26
26
  selectedType: UI_T_LangValue
27
- project: UI_T_Project
28
27
  selectedLanguage: UI_I_Dropdown | UI_T_LangValue
29
28
  }>()
30
29
 
@@ -42,15 +41,12 @@ const currentComponent = computed(() =>
42
41
  : defineAsyncComponent(() => import('./Old.vue'))
43
42
  )
44
43
 
45
- /* TODO SC-2104 */
46
- const description = computed<string>(() =>
47
- props.project === 'sphere'
48
- ? localization.value.common.languageDesc1
49
- : localization.value.common.languageDesc.replaceAll(
50
- '{trademark}',
51
- String(config.public[`TRADEMARK_${useEnvLanguage()}`])
52
- )
53
- )
44
+ const description = computed<string>(() => {
45
+ return localization.value.common.languageDesc.replaceAll(
46
+ '{trademark}',
47
+ String(config.public[`TRADEMARK_${useEnvLanguage()}`])
48
+ )
49
+ })
54
50
 
55
51
  const radioOptions = readonly<UI_I_RadioItemLang[]>(
56
52
  radioOptionsFunc(localization.value)
@@ -8,13 +8,11 @@
8
8
 
9
9
  <script setup lang="ts">
10
10
  import type { UI_I_Localization } from '~/lib/models/interfaces'
11
- import type { UI_T_Project } from '~/lib/models/types'
12
11
  import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
13
12
  import { consoleOptionsFunc } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions'
14
13
 
15
14
  const consoleValue = defineModel<string>()
16
15
  const props = defineProps<{
17
- project: UI_T_Project
18
16
  newView: boolean
19
17
  }>()
20
18
 
@@ -26,11 +24,7 @@ const currentComponent = computed(() =>
26
24
 
27
25
  const localization = computed<UI_I_Localization>(() => useLocal())
28
26
 
29
- /* TODO SC-2104 */
30
27
  const consoleOptions = readonly<UI_I_RadioItemConsole[]>(
31
- consoleOptionsFunc(
32
- localization.value,
33
- props.newView && props.project === 'sphere'
34
- )
28
+ consoleOptionsFunc(localization.value)
35
29
  )
36
30
  </script>
@@ -2,17 +2,14 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
2
  import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
3
3
 
4
4
  export const consoleOptionsFunc = (
5
- localization: UI_I_Localization,
6
- isSphereNewView: boolean
5
+ localization: UI_I_Localization
7
6
  ): UI_I_RadioItemConsole[] => {
8
7
  const config = useRuntimeConfig()
9
8
 
10
- const remoteConsole = isSphereNewView
11
- ? localization.common.remoteConsoleVmrc1
12
- : localization.common.remoteConsoleVmrc.replaceAll(
13
- '{trademark}',
14
- String(config.public[`TRADEMARK_${useEnvLanguage()}`])
15
- )
9
+ const remoteConsole = localization.common.remoteConsoleVmrc.replaceAll(
10
+ '{trademark}',
11
+ String(config.public[`TRADEMARK_${useEnvLanguage()}`])
12
+ )
16
13
 
17
14
  return [
18
15
  {
@@ -12,13 +12,12 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
12
12
  import type { UI_I_RadioItem } from '~/components/common/layout/theHeader/userMenu/lib/models/interfaces'
13
13
  import type { UI_T_TimeValue } from '~/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/models/types'
14
14
  import { formatOptionsFunc } from '~/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions'
15
- import type { UI_T_Project } from '~/lib/models/types'
16
15
 
17
16
  const timeFormat = defineModel<UI_T_TimeValue>('timeFormat')
18
17
  const props = defineProps<{
19
- project: UI_T_Project
20
18
  newView: boolean
21
19
  }>()
20
+
22
21
  const currentComponent = computed(() =>
23
22
  props.newView
24
23
  ? defineAsyncComponent(() => import('./New.vue'))
@@ -29,14 +28,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
29
28
 
30
29
  const config = useRuntimeConfig()
31
30
 
32
- /* TODO SC-2104 */
33
31
  const description = computed<string>(() =>
34
- props.project === 'sphere'
35
- ? localization.value.common.timeFormatDesc1
36
- : localization.value.common.timeFormatDesc.replaceAll(
37
- '{trademark}',
38
- String(config.public[`TRADEMARK_${useEnvLanguage()}`])
39
- )
32
+ localization.value.common.timeFormatDesc.replaceAll(
33
+ '{trademark}',
34
+ String(config.public[`TRADEMARK_${useEnvLanguage()}`])
35
+ )
40
36
  )
41
37
 
42
38
  const formatOptions = readonly<UI_I_RadioItem[]>(
@@ -7,7 +7,7 @@ export const formatOptionsFunc = (
7
7
  return [
8
8
  {
9
9
  id: 1,
10
- label: localization.common.automatic,
10
+ label: localization.common.languageDefault,
11
11
  value: 'DEFAULT',
12
12
  testId: 'default-type',
13
13
  },
@@ -15,9 +15,13 @@
15
15
  />
16
16
  </div>
17
17
 
18
- <div class="flex-align-center second-description">
18
+ <div class="description second-description">
19
+ {{ localization.myPreferences.showNotificationDescription }}
20
+ </div>
21
+
22
+ <div class="flex-align-center">
19
23
  <label for="show-notification">{{
20
- localization.myPreferences.showNotificationDescription
24
+ localization.myPreferences.showNotification
21
25
  }}</label>
22
26
  <input
23
27
  id="show-notification"
@@ -59,10 +63,10 @@ window.tools = new Proxy(
59
63
  <style lang="scss" scoped>
60
64
  .description {
61
65
  margin-bottom: 10px;
62
- }
63
66
 
64
- .second-description {
65
- margin-top: 20px;
67
+ &.second-description {
68
+ margin-top: 20px;
69
+ }
66
70
  }
67
71
 
68
72
  label {
@@ -30,13 +30,10 @@ const currentComponent = computed(() =>
30
30
 
31
31
  const localization = computed<UI_I_Localization>(() => useLocal())
32
32
 
33
- /* TODO SC-2104 */
34
- const description = computed<string>(() =>
35
- props.project === 'sphere'
36
- ? localization.value.common.viewDesc1
37
- : localization.value.common.viewDesc.replaceAll(
38
- '{trademark}',
39
- String(config.public[`TRADEMARK_${useEnvLanguage()}`])
40
- )
41
- )
33
+ const description = computed<string>(() => {
34
+ return localization.value.common.viewDesc.replaceAll(
35
+ '{trademark}',
36
+ String(config.public[`TRADEMARK_${useEnvLanguage()}`])
37
+ )
38
+ })
42
39
  </script>
@@ -143,7 +143,7 @@ const localization = computed<UI_I_Localization>(() => useLocal())
143
143
  &.pinned {
144
144
  .nav-context {
145
145
  position: relative;
146
- z-index: calc(var(--z-fixed) + 2);
146
+ z-index: calc(var(--z-default) + 1);
147
147
  }
148
148
  }
149
149
  &:not(.pinned) {
@@ -177,8 +177,6 @@ const localization = computed<UI_I_Localization>(() => useLocal())
177
177
  }
178
178
  }
179
179
  &:not(.collapsed) {
180
- min-width: 240px;
181
-
182
180
  :deep(.tooltip-container-hover) {
183
181
  display: none;
184
182
  }
@@ -2,7 +2,7 @@
2
2
  <atoms-modal
3
3
  :test-id="`${props.testId}-rename`"
4
4
  :title="localization.common.rename"
5
- :second-title="props.subtitle"
5
+ :second-title="name"
6
6
  :loading="props.isLoading"
7
7
  width="576px"
8
8
  class="rename"
@@ -68,14 +68,12 @@ const props = withDefaults(
68
68
  defineProps<{
69
69
  testId: string
70
70
  name: string
71
- subtitle?: string
72
71
  label?: string
73
72
  regex?: string
74
73
  errorText?: string
75
74
  isLoading?: boolean
76
75
  }>(),
77
76
  {
78
- subtitle: '',
79
77
  label: 'enterNewName',
80
78
  regex: undefined,
81
79
  errorText: undefined,