bfg-common 1.5.249 → 1.5.251

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 (35) hide show
  1. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  2. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  3. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  4. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  5. package/assets/localization/local_be.json +7 -1
  6. package/assets/localization/local_en.json +7 -1
  7. package/assets/localization/local_hy.json +7 -1
  8. package/assets/localization/local_kk.json +7 -1
  9. package/assets/localization/local_ru.json +7 -1
  10. package/assets/localization/local_zh.json +7 -1
  11. package/assets/scss/common/theme.scss +16 -0
  12. package/components/atoms/stack/StackBlock.vue +185 -185
  13. package/components/atoms/table/info/lib/models/interfaces.ts +10 -10
  14. package/components/common/backup/storage/actions/add/New.vue +4 -9
  15. package/components/common/backup/storage/actions/add/steps/common/tooltipInfo/TooltipInfo.vue +94 -0
  16. package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +9 -18
  17. package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeNew.vue +3 -12
  18. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +67 -8
  19. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +72 -8
  20. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +1 -9
  21. package/components/common/pages/tasks/table/Table.vue +7 -15
  22. package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +128 -0
  23. package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +9 -15
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +99 -10
  25. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +3 -52
  26. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +151 -32
  27. package/components/common/vm/actions/common/select/name/New.vue +70 -10
  28. package/components/common/wizards/datastore/add/New.vue +3 -8
  29. package/components/common/wizards/datastore/add/steps/common/tooltipInfo/TooltipInfo.vue +93 -0
  30. package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +6 -20
  31. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +3 -9
  32. package/components/common/wizards/datastore/add/steps/typeMode/TypeModeNew.vue +3 -8
  33. package/package.json +2 -2
  34. package/components/common/tooltip/Help.vue +0 -132
  35. package/components/common/tooltip/lib/models/types.ts +0 -1
@@ -1,132 +0,0 @@
1
- <template>
2
- <div class="flex-align-center relative">
3
- <ui-icon
4
- :id="`${props.helpId}`"
5
- :data-id="`${props.testId}-show-help-icon`"
6
- name="info"
7
- :width="props.iconWidth || '16'"
8
- :height="props.iconHeight || '16'"
9
- :class="['help-icon cursor-pointer', {active: isShowHelp}, {disabled: props.isDisabled}]"
10
- @click.stop="isShowHelp = !isShowHelp"
11
- />
12
- <ui-popup-window
13
- v-model="isShowHelp"
14
- :left="props.dropdownLeft"
15
- :right="props.dropdownRight"
16
- :top="props.dropdownTop"
17
- :elem-id="props.helpId"
18
- :width="props.dropdownWidth || 'max-content'"
19
- :max-height="props.dropdownMaxHeight || 'unset'"
20
-
21
- >
22
- <div class="help-content" :style="{ width: props.dropdownWidth }">
23
- <div class="headline">
24
- <ui-icon :name="tooltipStatus" width="16" height="16" />
25
- <h3 class="help-title">
26
- {{ props.title || localization.mainNavigation.help }}
27
- </h3>
28
- <ui-icon
29
- name="close"
30
- width="16"
31
- height="16"
32
- class="help-close-icon cursor-pointer"
33
- @click.stop="isShowHelp = false"
34
- />
35
- </div>
36
-
37
- <slot />
38
-
39
- <p v-if="props.helpText" class="help-text">
40
- {{ props.helpText }}
41
- </p>
42
- </div>
43
- </ui-popup-window>
44
- </div>
45
- </template>
46
- <script setup lang="ts">
47
-
48
- import type { UI_I_Localization } from '~/lib/models/interfaces'
49
- import { T_TooltipHelpStatus } from '~/components/common/tooltip/lib/models/types'
50
-
51
- const props = defineProps<{
52
- testId: string,
53
- helpId: string,
54
- dropdownWidth?: string
55
- helpText?: string,
56
- iconWidth?: string,
57
- iconHeight?: string,
58
- dropdownMaxHeight?: string,
59
- dropdownLeft?: boolean,
60
- dropdownRight?: boolean,
61
- dropdownTop?: boolean,
62
- isDisabled?: boolean,
63
- title?: string,
64
- status?: T_TooltipHelpStatus
65
- }>()
66
-
67
- const localization = computed<UI_I_Localization>(() => useLocal())
68
-
69
- const isShowHelp = ref<boolean>(false)
70
-
71
- const tooltipStatus = computed<string>(() => props.status === 'error' ? 'error' : 'info-2')
72
-
73
- </script>
74
- <style>
75
- :root {
76
- --help-color: #4d5d69;
77
- --help-icon-hover-color: #4d5d69;
78
- --help-icon-active-color: #008fd6;
79
- --help-close-icon-color: #182531;
80
- }
81
- :root.dark-theme {
82
- --help-color: #e9eaec;
83
- --help-icon-hover-color: #e9eaec;
84
- --help-icon-active-color: #2ba2de;
85
- --help-close-icon-color: #e9eaec;
86
- }
87
- </style>
88
- <style scoped lang="scss">
89
- .help-icon {
90
- color: #9da6ad; // for light and dark
91
-
92
- &:hover {
93
- color: var(--help-icon-hover-color);
94
- }
95
- &.active {
96
- color: var(--help-icon-active-color);
97
- }
98
- &.disabled {
99
- color: #bdc3c7;
100
- pointer-events: none;
101
- }
102
- }
103
- .help-content {
104
- padding: 16px;
105
-
106
- .headline {
107
- display: flex;
108
- align-items: center;
109
- gap: 8px;
110
- margin-bottom: 12px;
111
-
112
- .help-title {
113
- flex: 1;
114
- font-size: 14px;
115
- font-weight: 500;
116
- line-height: 16.94px;
117
- color: var(--help-color);
118
- }
119
- .help-close-icon {
120
- color: var(--help-close-icon-color)
121
- }
122
- }
123
-
124
- :deep(.help-text) {
125
- font-size: 13px;
126
- line-height: 15.73px;
127
- color: var(--help-color);
128
- word-break: break-word;
129
- white-space: normal;
130
- }
131
- }
132
- </style>
@@ -1 +0,0 @@
1
- export type T_TooltipHelpStatus = 'info' | 'error'