bfg-common 1.5.251 → 1.5.253

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 (30) hide show
  1. package/assets/localization/local_be.json +11 -1
  2. package/assets/localization/local_en.json +11 -1
  3. package/assets/localization/local_hy.json +11 -1
  4. package/assets/localization/local_kk.json +11 -1
  5. package/assets/localization/local_ru.json +11 -1
  6. package/assets/localization/local_zh.json +12 -2
  7. package/assets/scss/common/theme.scss +379 -355
  8. package/components/common/backup/storage/actions/add/New.vue +9 -4
  9. package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +18 -9
  10. package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeNew.vue +12 -3
  11. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +8 -67
  12. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +8 -72
  13. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +9 -1
  14. package/components/common/pages/tasks/table/Table.vue +15 -7
  15. package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +15 -9
  16. package/components/common/tooltip/Help.vue +132 -0
  17. package/components/common/tooltip/lib/models/types.ts +1 -0
  18. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +10 -99
  19. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +52 -3
  20. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +32 -151
  21. package/components/common/vm/actions/common/select/name/New.vue +10 -70
  22. package/components/common/wizards/datastore/add/New.vue +8 -3
  23. package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +20 -6
  24. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +9 -3
  25. package/components/common/wizards/datastore/add/steps/typeMode/TypeModeNew.vue +8 -3
  26. package/lib/models/interfaces.ts +1 -0
  27. package/package.json +2 -2
  28. package/components/common/backup/storage/actions/add/steps/common/tooltipInfo/TooltipInfo.vue +0 -94
  29. package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +0 -128
  30. package/components/common/wizards/datastore/add/steps/common/tooltipInfo/TooltipInfo.vue +0 -93
@@ -21,10 +21,15 @@
21
21
  <div class="subtitle-block flex-row">
22
22
  <ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
23
23
 
24
- <common-wizards-datastore-add-steps-common-tooltip-info
25
- id="datastore-type-subtitle-tooltip"
26
- class="ml-2"
27
- :description="localization.common.datastoreTypeHelpDesc"
24
+ <common-tooltip-help
25
+ test-id="datastore-type-subtitle-tooltip"
26
+ help-id="datastore-type-subtitle-tooltip-icon"
27
+ :title="localization.common.information"
28
+ :help-text="localization.common.datastoreTypeHelpDesc"
29
+ dropdown-width="272px"
30
+ dropdown-left
31
+ dropdown-top
32
+ class="ml-2"
28
33
  />
29
34
  </div>
30
35
  </div>
@@ -35,9 +35,14 @@
35
35
  <span class="basics-step-row-title-text">
36
36
  {{ localization.common.folder }}
37
37
  </span>
38
- <common-backup-storage-actions-add-steps-common-tooltip-info
39
- id="backup-storage-tooltip-info-folder"
40
- :description="localization.backup.specifyFolderPathExample"
38
+ <common-tooltip-help
39
+ test-id="backup-storage-tooltip-info-folder"
40
+ help-id="backup-storage-tooltip-info-folder-icon"
41
+ :title="localization.common.information"
42
+ :help-text="localization.backup.specifyFolderPathExample"
43
+ dropdown-width="272px"
44
+ dropdown-left
45
+ dropdown-top
41
46
  />
42
47
  </div>
43
48
  <div class="basics-step-row-content">
@@ -58,9 +63,14 @@
58
63
  <span class="basics-step-row-title-text">
59
64
  {{ localization.common.server }}
60
65
  </span>
61
- <common-backup-storage-actions-add-steps-common-tooltip-info
62
- id="backup-storage-tooltip-info-server"
63
- :description="localization.backup.specifyServerAddressExample"
66
+ <common-tooltip-help
67
+ test-id="backup-storage-tooltip-info-server"
68
+ help-id="backup-storage-tooltip-info-server-icon"
69
+ :title="localization.common.information"
70
+ :help-text="localization.backup.specifyServerAddressExample"
71
+ dropdown-width="272px"
72
+ dropdown-left
73
+ dropdown-top
64
74
  />
65
75
  </div>
66
76
  <div class="basics-step-row-content">
@@ -127,9 +137,7 @@ const props = defineProps<{
127
137
  alertMessages: string[]
128
138
  messagesFields: UI_I_WizardStep['fields']
129
139
  }>()
130
- const emits = defineEmits<{
131
- (event: 'remove-errors'): void
132
- }>()
140
+
133
141
 
134
142
  const localization = computed<UI_I_Localization>(() => useLocal())
135
143
 
@@ -139,6 +147,7 @@ const isEmptyAlertMessages = computed<boolean>(() => {
139
147
  (props.alertMessages && !props.alertMessages.flat().length)
140
148
  )
141
149
  })
150
+
142
151
  /* Validation error text for Name input field */
143
152
  const nameErrorText = computed<string>(() => {
144
153
  if (isEmptyAlertMessages.value && props.messagesFields?.name?.field) {
@@ -17,9 +17,14 @@
17
17
  </template>
18
18
 
19
19
  <template #tooltip>
20
- <common-backup-storage-actions-add-steps-common-tooltip-info
21
- :id="option.testId"
22
- :description="option.tooltipContent"
20
+ <common-tooltip-help
21
+ :test-id="`${option.testId}-${key}`"
22
+ :help-id="`${option.testId}-${key}`"
23
+ :help-text="option.tooltipContent"
24
+ :title="localization.common.information"
25
+ dropdown-width="272px"
26
+ dropdown-left
27
+ dropdown-top
23
28
  />
24
29
  </template>
25
30
  </ui-radio>
@@ -30,11 +35,15 @@
30
35
  <script lang="ts" setup>
31
36
  // TODO this component is duplicate
32
37
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
38
+ import type {UI_I_Localization} from "~/lib/models/interfaces";
33
39
 
34
40
  const datastoreTypeModeLocal = defineModel<number>({ required: true })
35
41
  const props = defineProps<{
36
42
  options: UI_I_RadioOption[]
37
43
  }>()
44
+
45
+ const localization = computed<UI_I_Localization>(() => useLocal())
46
+
38
47
  </script>
39
48
 
40
49
  <style>
@@ -3,42 +3,15 @@
3
3
  <span class="headline__label">
4
4
  {{ localization.common.additionalDetails }}
5
5
  </span>
6
- <ui-icon
7
- id="feedback-additional-details-info-icon"
8
- :class="['headline__icon pointer', isShowInfo && 'active']"
9
- name="info"
10
- width="16"
11
- height="16"
12
- @click="isShowInfo = !isShowInfo"
13
- />
14
- <ui-popup-window
15
- v-model="isShowInfo"
16
- :elem-id="'feedback-additional-details-info-icon'"
17
- width="288px"
18
- is-priority-right-position
19
- >
20
- <div class="common-widget-info">
21
- <div class="flex justify-between">
22
- <div class="flex">
23
- <ui-icon-icon3 name="info-2" width="16px" height="16px" />
24
- <span class="title">
25
- {{ localization.feedback.additionalDetailsHelp }}
26
- </span>
27
- </div>
28
- <ui-icon
29
- name="close"
30
- class="pointer hide-icon"
31
- width="16px"
32
- height="16px"
33
- @click="isShowInfo = false"
34
- />
35
- </div>
36
6
 
37
- <div class="common-widget-info-description">
38
- {{ localization.feedback.additionalDetailsTooltip }}
39
- </div>
40
- </div>
41
- </ui-popup-window>
7
+ <common-tooltip-help
8
+ test-id="feedback-additional-details-help"
9
+ help-id="feedback-additional-details-info-icon"
10
+ dropdown-width="288px"
11
+ :title="localization.feedback.additionalDetailsHelp"
12
+ :help-text="localization.feedback.additionalDetailsTooltip"
13
+ dropdown-left
14
+ />
42
15
  </div>
43
16
  </template>
44
17
 
@@ -47,7 +20,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
47
20
 
48
21
  const localization = computed<UI_I_Localization>(() => useLocal())
49
22
 
50
- const isShowInfo = ref<boolean>(false)
51
23
  </script>
52
24
 
53
25
  <style lang="scss" scoped>
@@ -56,15 +28,6 @@ const isShowInfo = ref<boolean>(false)
56
28
  @include flex($align: center);
57
29
  margin: 32px 0 16px;
58
30
 
59
- &__icon {
60
- color: var(--feedback-tooltip-trigger-color);
61
- &:hover {
62
- color: var(--feedback-tooltip-hover-trigger-color);
63
- }
64
- &.active {
65
- color: var(--feedback-tooltip-acctive-trigger-color);
66
- }
67
- }
68
31
  &__label {
69
32
  line-height: 19.36px;
70
33
  font-size: 16px;
@@ -72,27 +35,5 @@ const isShowInfo = ref<boolean>(false)
72
35
  color: var(--feedback-text-color);
73
36
  margin-right: 8px;
74
37
  }
75
- .common-widget-info {
76
- padding: 16px;
77
- .title {
78
- font-size: 14px;
79
- font-weight: 500;
80
- line-height: 16.94px;
81
- color: var(--feedback-text-color);
82
- margin-left: 8px;
83
- }
84
-
85
- .common-widget-info-description {
86
- font-size: 13px;
87
- line-height: 15.73px;
88
- color: var(--feedback-text-color);
89
- margin-top: 12px;
90
- }
91
-
92
- svg {
93
- color: var(--feedback-tooltip-close-color);
94
- min-width: 16px;
95
- }
96
- }
97
38
  }
98
39
  </style>
@@ -3,41 +3,15 @@
3
3
  <span class="subtitle__label">
4
4
  {{ localization.common.helpUsImprove }}
5
5
  </span>
6
- <ui-icon
7
- id="feedback-description-info-icon"
8
- name="info"
9
- width="16"
10
- height="16"
11
- :class="['subtitle__icon pointer', isShowInfo && 'active']"
12
- @click="isShowInfo = !isShowInfo"
13
- />
14
- <ui-popup-window
15
- v-model="isShowInfo"
16
- :elem-id="'feedback-description-info-icon'"
17
- width="320px"
18
- class="subtitle__tooltip"
19
- is-priority-right-position
20
- >
21
- <div class="common-widget-info">
22
- <div class="headline justify-between flex-align-start">
23
- <div class="flex-align-start">
24
- <ui-icon name="info-2" width="16px" height="16px" />
25
- <span class="title">{{ localization.common.feedbackHelp }}</span>
26
- </div>
27
- <ui-icon
28
- name="close"
29
- class="pointer hide-icon"
30
- width="16px"
31
- height="16px"
32
- @click="isShowInfo = false"
33
- />
34
- </div>
35
6
 
36
- <div class="common-widget-info-description">
37
- {{ localization.common.anyFeedbackYouProvideMay }}
38
- </div>
39
- </div>
40
- </ui-popup-window>
7
+ <common-tooltip-help
8
+ test-id="feedback-description-help"
9
+ help-id="feedback-description-info-icon"
10
+ dropdown-width="320px"
11
+ :title="localization.common.feedbackHelp"
12
+ :help-text="localization.common.anyFeedbackYouProvideMay"
13
+ dropdown-left
14
+ />
41
15
  </div>
42
16
  </template>
43
17
 
@@ -46,7 +20,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
46
20
 
47
21
  const localization = computed<UI_I_Localization>(() => useLocal())
48
22
 
49
- const isShowInfo = ref<boolean>(false)
50
23
  </script>
51
24
 
52
25
  <style lang="scss" scoped>
@@ -56,48 +29,11 @@ const isShowInfo = ref<boolean>(false)
56
29
  border-bottom: 1px solid var(--horizontal-line);
57
30
  padding: 24px 0 12px;
58
31
 
59
- &__icon {
60
- color: var(--feedback-tooltip-trigger-color);
61
- &:hover {
62
- color: var(--feedback-tooltip-hover-trigger-color);
63
- }
64
- &.active {
65
- color: var(--feedback-tooltip-acctive-trigger-color);
66
- }
67
- }
68
- &__tooltip {
69
- .flex-align-center {
70
- height: 16px;
71
- }
72
- }
73
-
74
32
  &__label {
75
33
  font-size: 12px;
76
34
  font-weight: 400;
77
35
  line-height: 14.52px;
78
36
  color: #9da6ad;
79
37
  }
80
- .common-widget-info {
81
- padding: 16px;
82
- .title {
83
- font-size: 14px;
84
- font-weight: 500;
85
- line-height: 16.94px;
86
- color: var(--feedback-text-color);
87
- margin-left: 8px;
88
- }
89
-
90
- .common-widget-info-description {
91
- font-size: 13px;
92
- line-height: 15.73px;
93
- color: var(--feedback-text-color);
94
- margin-top: 12px;
95
- }
96
-
97
- svg {
98
- flex: none;
99
- color: var(--feedback-tooltip-close-color);
100
- }
101
- }
102
38
  }
103
39
  </style>
@@ -4,6 +4,7 @@
4
4
  test-id="user-preferences-modal"
5
5
  width="580px"
6
6
  height="345px"
7
+ :modal-loading="isLoading"
7
8
  :title="localization.common.preferences"
8
9
  @hide="onHide"
9
10
  >
@@ -65,7 +66,7 @@
65
66
  id="user-preferences-apply-button"
66
67
  data-id="user-preferences-apply-button"
67
68
  class="btn btn-primary"
68
- @click="emits('submit')"
69
+ @click="onSubmit"
69
70
  >
70
71
  {{ localization.common.save }}
71
72
  </button>
@@ -105,6 +106,8 @@ const emits = defineEmits<{
105
106
 
106
107
  const localization = computed<UI_I_Localization>(() => useLocal())
107
108
 
109
+ const isLoading = ref<boolean>(false)
110
+
108
111
  const isSphere = ref<boolean>(props.project === 'sphere')
109
112
  const selectedTab = ref<UI_T_UserPreferenceTab>('time-tab')
110
113
 
@@ -112,6 +115,11 @@ const tabsItems = computed<UI_I_CollapseNavItem[]>(() =>
112
115
  preferencesTabs(localization.value, props.project)
113
116
  )
114
117
 
118
+ const onSubmit = (): void => {
119
+ isLoading.value = true
120
+ emits('submit')
121
+ }
122
+
115
123
  const onHide = (): void => {
116
124
  emits('hide')
117
125
 
@@ -38,13 +38,18 @@
38
38
  {{ item.text }}
39
39
  </ui-chip>
40
40
 
41
- <common-pages-tasks-table-error-info
42
- v-if="item.data.error"
43
- :id="item.data.testId"
44
- :error="item.data.error"
45
- :opened-error="openedError"
46
- @toggle-error="onToggleError"
47
- />
41
+ <div v-if="item.data.error" class="task-table__tooltip">
42
+ <common-tooltip-help
43
+ :test-id="item.data.testId"
44
+ :help-id="item.data.testId + 'icon'"
45
+ :title="localization.common.failureReason"
46
+ :help-text="item.data.error"
47
+ status="error"
48
+ dropdown-width="232px"
49
+ dropdown-left
50
+ dropdown-top
51
+ />
52
+ </div>
48
53
  </template>
49
54
 
50
55
  <template #default-actions="{ item }">
@@ -331,6 +336,9 @@ const onSelectNodeOfTree = (
331
336
  margin-left: 8px;
332
337
  }
333
338
  }
339
+ &__tooltip {
340
+ margin-left: 8px;
341
+ }
334
342
  }
335
343
 
336
344
  .skeleton-header {
@@ -30,15 +30,18 @@
30
30
  {{ normalizedTaskDetails[2].text }}
31
31
  </ui-chip>
32
32
 
33
- <common-pages-tasks-table-error-info
34
- v-if="normalizedTaskDetails[2].data.error"
35
- :id="`${normalizedTaskDetails[2].data.testId}-expand-details`"
36
- :error="normalizedTaskDetails[2].data.error"
37
- :opened-error="openedError"
38
- in-collapse-content
39
- is-small
40
- @toggle-error="onToggleError"
41
- />
33
+ <div v-if="normalizedTaskDetails[2].data.error" class="expand-details__tooltip">
34
+ <common-tooltip-help
35
+ :test-id="normalizedTaskDetails[2].data.testId"
36
+ :help-id="`${normalizedTaskDetails[2].data.testId}-expand-icon`"
37
+ :title="localization.common.failureReason"
38
+ :help-text="normalizedTaskDetails[2].data.error"
39
+ status="error"
40
+ dropdown-width="232px"
41
+ dropdown-left
42
+ dropdown-top
43
+ />
44
+ </div>
42
45
  </span>
43
46
  </div>
44
47
 
@@ -182,5 +185,8 @@ const onSelectNodeOfTree = (data: any): void => {
182
185
  width: max-content;
183
186
  }
184
187
  }
188
+ &__tooltip {
189
+ margin-left: 6px;
190
+ }
185
191
  }
186
192
  </style>
@@ -0,0 +1,132 @@
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>
@@ -0,0 +1 @@
1
+ export type T_TooltipHelpStatus = 'info' | 'error'
@@ -17,52 +17,16 @@
17
17
  size="sm"
18
18
  />
19
19
 
20
- <div
21
- v-if="props.helpText"
22
- :id="props.helpId"
23
- class="flex-align-center relative"
24
- >
25
- <ui-icon
26
- :data-id="`${props.testId}-show-help-icon`"
27
- width="20"
28
- height="20"
29
- name="info"
30
- :class="['bus-help-icon cursor-pointer', {active: isShowHelp}]"
31
- @click.stop="isShowHelp = !isShowHelp"
20
+ <div v-if="props.helpText">
21
+ <common-tooltip-help
22
+ :test-id="`${props.testId}`"
23
+ :help-id="`${props.helpId}`"
24
+ :help-text="props.helpText"
25
+ :dropdown-left="true"
26
+ dropdown-width="480px"
27
+ icon-width="20"
28
+ icon-height="20"
32
29
  />
33
- <Teleport to="body">
34
- <ui-dropdown
35
- :show="isShowHelp"
36
- :elem-id="props.helpId"
37
- :items="[]"
38
- test-id=""
39
- width="480px"
40
- left
41
- @hide="isShowHelp = false"
42
- >
43
- <template #content>
44
- <div class="help-content">
45
- <div class="headline">
46
- <ui-icon name="info-2" width="16" height="16" />
47
- <h3 class="help-title">
48
- {{ localization.mainNavigation.help }}
49
- </h3>
50
- <ui-icon
51
- name="close"
52
- width="16"
53
- height="16"
54
- class="bus-help-close-icon cursor-pointer"
55
- @click="isShowHelp = false"
56
- />
57
- </div>
58
-
59
- <p class="help-text">
60
- {{ props.helpText }}
61
- </p>
62
- </div>
63
- </template>
64
- </ui-dropdown>
65
- </Teleport>
66
30
  </div>
67
31
  </div>
68
32
  </template>
@@ -74,7 +38,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
74
38
  import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
75
39
 
76
40
  const bus = defineModel<string>('bus')
77
- const isShowHelp = defineModel<boolean>('isShowHelp')
78
41
 
79
42
  const props = defineProps<{
80
43
  index: number
@@ -93,56 +56,4 @@ const props = defineProps<{
93
56
  const localization = computed<UI_I_Localization>(() => useLocal())
94
57
  </script>
95
58
 
96
- <style>
97
- :root {
98
- --bus-help-color: #4d5d69;
99
- --bus-help-icon-hover-color: #4d5d69;
100
- --bus-help-icon-active-color: #008fd6;
101
- --bus-help-close-icon-color: #182531;
102
- }
103
- :root.dark-theme {
104
- --bus-help-color: #e9eaec;
105
- --bus-help-icon-hover-color: #e9eaec;
106
- --bus-help-icon-active-color: #2ba2de;
107
- --bus-help-close-icon-color: #e9eaec;
108
- }
109
- </style>
110
- <style lang="scss" scoped>
111
- .bus-help-icon {
112
- color: #9da6ad; // for light and dark
113
-
114
- &:hover {
115
- color: var(--bus-help-icon-hover-color);
116
- }
117
- &.active {
118
- color: var(--bus-help-icon-active-color);
119
- }
120
- }
121
- .help-content {
122
- padding: 16px;
123
-
124
- .headline {
125
- display: flex;
126
- align-items: center;
127
- gap: 8px;
128
- margin-bottom: 12px;
129
-
130
- .help-title {
131
- flex: 1;
132
- font-size: 14px;
133
- font-weight: 500;
134
- line-height: 16.94px;
135
- color: var(--bus-help-color);
136
- }
137
- .bus-help-close-icon {
138
- color: var(--bus-help-close-icon-color)
139
- }
140
- }
141
-
142
- .help-text {
143
- font-size: 13px;
144
- line-height: 15.73px;
145
- color: var(--bus-help-color);
146
- }
147
- }
148
- </style>
59
+ <style lang="scss" scoped></style>