bfg-common 1.5.243 → 1.5.244

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 (20) hide show
  1. package/components/common/backup/storage/actions/add/New.vue +0 -6
  2. package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +0 -10
  3. package/components/common/backup/storage/actions/add/steps/typeMode/TypeModeNew.vue +0 -6
  4. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +0 -69
  5. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +0 -74
  6. package/components/common/pages/tasks/table/Table.vue +0 -10
  7. package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +0 -12
  8. package/components/common/tooltip/Help.vue +0 -49
  9. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +1 -101
  10. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +0 -6
  11. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +1 -152
  12. package/components/common/vm/actions/common/select/name/New.vue +0 -43
  13. package/components/common/wizards/datastore/add/New.vue +0 -6
  14. package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +0 -10
  15. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +0 -6
  16. package/components/common/wizards/datastore/add/steps/typeMode/TypeModeNew.vue +0 -6
  17. package/package.json +1 -1
  18. package/components/common/backup/storage/actions/add/steps/common/tooltipInfo/TooltipInfo.vue +0 -94
  19. package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +0 -128
  20. package/components/common/wizards/datastore/add/steps/common/tooltipInfo/TooltipInfo.vue +0 -93
@@ -30,12 +30,6 @@
30
30
  dropdown-left
31
31
  dropdown-top
32
32
  />
33
- <!-- // TODO Удалить компонент если не используется? -->
34
-
35
- <!-- <common-wizards-datastore-add-steps-common-tooltip-info-->
36
- <!-- id="datastore-type-subtitle-tooltip"-->
37
- <!-- :description="localization.common.datastoreTypeHelpDesc"-->
38
- <!-- />-->
39
33
  </div>
40
34
  </div>
41
35
  </template>
@@ -45,12 +45,6 @@
45
45
  dropdown-left
46
46
  dropdown-top
47
47
  />
48
- <!-- // TODO Удалить компонент если не используется? -->
49
-
50
- <!-- <common-backup-storage-actions-add-steps-common-tooltip-info-->
51
- <!-- :id="'option.testId'"-->
52
- <!-- :description="'Specify the folder path - for example, /vols/vol0/datastore-001'"-->
53
- <!-- />-->
54
48
  </div>
55
49
  <div class="basics-step-row-content">
56
50
  <ui-input
@@ -81,10 +75,6 @@
81
75
  dropdown-left
82
76
  dropdown-top
83
77
  />
84
- <!-- <common-backup-storage-actions-add-steps-common-tooltip-info-->
85
- <!-- :id="'option.testIdserver'"-->
86
- <!-- :description="'Specify the server address - for example, nas, nas.it.com or 192.168.0.1.'"-->
87
- <!-- />-->
88
78
  </div>
89
79
  <div class="basics-step-row-content">
90
80
  <ui-input
@@ -26,12 +26,6 @@
26
26
  dropdown-left
27
27
  dropdown-top
28
28
  />
29
- <!-- // TODO Удалить компонент если не используется? -->
30
-
31
- <!-- <common-backup-storage-actions-add-steps-common-tooltip-info-->
32
- <!-- :id="option.testId"-->
33
- <!-- :description="option.tooltipContent"-->
34
- <!-- />-->
35
29
  </template>
36
30
  </ui-radio>
37
31
  </div>
@@ -12,43 +12,6 @@
12
12
  :help-text="localization.feedback.additionalDetailsTooltip"
13
13
  dropdown-left
14
14
  />
15
-
16
- <!-- <ui-icon-->
17
- <!-- id="feedback-additional-details-info-icon"-->
18
- <!-- :class="['headline__icon pointer', isShowInfo && 'active']"-->
19
- <!-- name="info"-->
20
- <!-- width="16"-->
21
- <!-- height="16"-->
22
- <!-- @click="isShowInfo = !isShowInfo"-->
23
- <!-- />-->
24
- <!-- <ui-popup-window-->
25
- <!-- v-model="isShowInfo"-->
26
- <!-- :elem-id="'feedback-additional-details-info-icon'"-->
27
- <!-- width="288px"-->
28
- <!-- is-priority-right-position-->
29
- <!-- >-->
30
- <!-- <div class="common-widget-info">-->
31
- <!-- <div class="flex justify-between">-->
32
- <!-- <div class="flex">-->
33
- <!-- <ui-icon-icon3 name="info-2" width="16px" height="16px" />-->
34
- <!-- <span class="title">-->
35
- <!-- {{ localization.feedback.additionalDetailsHelp }}-->
36
- <!-- </span>-->
37
- <!-- </div>-->
38
- <!-- <ui-icon-->
39
- <!-- name="close"-->
40
- <!-- class="pointer hide-icon"-->
41
- <!-- width="16px"-->
42
- <!-- height="16px"-->
43
- <!-- @click="isShowInfo = false"-->
44
- <!-- />-->
45
- <!-- </div>-->
46
-
47
- <!-- <div class="common-widget-info-description">-->
48
- <!-- {{ localization.feedback.additionalDetailsTooltip }}-->
49
- <!-- </div>-->
50
- <!-- </div>-->
51
- <!-- </ui-popup-window>-->
52
15
  </div>
53
16
  </template>
54
17
 
@@ -57,7 +20,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
57
20
 
58
21
  const localization = computed<UI_I_Localization>(() => useLocal())
59
22
 
60
- // const isShowInfo = ref<boolean>(false)
61
23
  </script>
62
24
 
63
25
  <style lang="scss" scoped>
@@ -66,15 +28,6 @@ const localization = computed<UI_I_Localization>(() => useLocal())
66
28
  @include flex($align: center);
67
29
  margin: 32px 0 16px;
68
30
 
69
- //&__icon {
70
- // color: var(--feedback-tooltip-trigger-color);
71
- // &:hover {
72
- // color: var(--feedback-tooltip-hover-trigger-color);
73
- // }
74
- // &.active {
75
- // color: var(--feedback-tooltip-acctive-trigger-color);
76
- // }
77
- //}
78
31
  &__label {
79
32
  line-height: 19.36px;
80
33
  font-size: 16px;
@@ -82,27 +35,5 @@ const localization = computed<UI_I_Localization>(() => useLocal())
82
35
  color: var(--feedback-text-color);
83
36
  margin-right: 8px;
84
37
  }
85
- //.common-widget-info {
86
- // padding: 16px;
87
- // .title {
88
- // font-size: 14px;
89
- // font-weight: 500;
90
- // line-height: 16.94px;
91
- // color: var(--feedback-text-color);
92
- // margin-left: 8px;
93
- // }
94
- //
95
- // .common-widget-info-description {
96
- // font-size: 13px;
97
- // line-height: 15.73px;
98
- // color: var(--feedback-text-color);
99
- // margin-top: 12px;
100
- // }
101
- //
102
- // svg {
103
- // color: var(--feedback-tooltip-close-color);
104
- // min-width: 16px;
105
- // }
106
- //}
107
38
  }
108
39
  </style>
@@ -12,42 +12,6 @@
12
12
  :help-text="localization.common.anyFeedbackYouProvideMay"
13
13
  dropdown-left
14
14
  />
15
-
16
- <!-- <ui-icon-->
17
- <!-- id="feedback-description-info-icon"-->
18
- <!-- name="info"-->
19
- <!-- width="16"-->
20
- <!-- height="16"-->
21
- <!-- :class="['subtitle__icon pointer', isShowInfo && 'active']"-->
22
- <!-- @click="isShowInfo = !isShowInfo"-->
23
- <!-- />-->
24
- <!-- <ui-popup-window-->
25
- <!-- v-model="isShowInfo"-->
26
- <!-- :elem-id="'feedback-description-info-icon'"-->
27
- <!-- width="320px"-->
28
- <!-- class="subtitle__tooltip"-->
29
- <!-- is-priority-right-position-->
30
- <!-- >-->
31
- <!-- <div class="common-widget-info">-->
32
- <!-- <div class="headline justify-between flex-align-start">-->
33
- <!-- <div class="flex-align-start">-->
34
- <!-- <ui-icon name="info-2" width="16px" height="16px" />-->
35
- <!-- <span class="title">{{ localization.common.feedbackHelp }}</span>-->
36
- <!-- </div>-->
37
- <!-- <ui-icon-->
38
- <!-- name="close"-->
39
- <!-- class="pointer hide-icon"-->
40
- <!-- width="16px"-->
41
- <!-- height="16px"-->
42
- <!-- @click="isShowInfo = false"-->
43
- <!-- />-->
44
- <!-- </div>-->
45
-
46
- <!-- <div class="common-widget-info-description">-->
47
- <!-- {{ localization.common.anyFeedbackYouProvideMay }}-->
48
- <!-- </div>-->
49
- <!-- </div>-->
50
- <!-- </ui-popup-window>-->
51
15
  </div>
52
16
  </template>
53
17
 
@@ -56,7 +20,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
56
20
 
57
21
  const localization = computed<UI_I_Localization>(() => useLocal())
58
22
 
59
- // const isShowInfo = ref<boolean>(false)
60
23
  </script>
61
24
 
62
25
  <style lang="scss" scoped>
@@ -66,48 +29,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
66
29
  border-bottom: 1px solid var(--horizontal-line);
67
30
  padding: 24px 0 12px;
68
31
 
69
- //&__icon {
70
- // color: var(--feedback-tooltip-trigger-color);
71
- // &:hover {
72
- // color: var(--feedback-tooltip-hover-trigger-color);
73
- // }
74
- // &.active {
75
- // color: var(--feedback-tooltip-acctive-trigger-color);
76
- // }
77
- //}
78
- //&__tooltip {
79
- // .flex-align-center {
80
- // height: 16px;
81
- // }
82
- //}
83
-
84
32
  &__label {
85
33
  font-size: 12px;
86
34
  font-weight: 400;
87
35
  line-height: 14.52px;
88
36
  color: #9da6ad;
89
37
  }
90
- //.common-widget-info {
91
- // padding: 16px;
92
- // .title {
93
- // font-size: 14px;
94
- // font-weight: 500;
95
- // line-height: 16.94px;
96
- // color: var(--feedback-text-color);
97
- // margin-left: 8px;
98
- // }
99
- //
100
- // .common-widget-info-description {
101
- // font-size: 13px;
102
- // line-height: 15.73px;
103
- // color: var(--feedback-text-color);
104
- // margin-top: 12px;
105
- // }
106
- //
107
- // svg {
108
- // flex: none;
109
- // color: var(--feedback-tooltip-close-color);
110
- // }
111
- //}
112
38
  }
113
39
  </style>
@@ -50,16 +50,6 @@
50
50
  dropdown-top
51
51
  />
52
52
  </div>
53
-
54
- <!-- // TODO Удалить компонент если не используется? -->
55
-
56
- <!-- <common-pages-tasks-table-error-info-->
57
- <!-- v-if="item.data.error"-->
58
- <!-- :id="item.data.testId"-->
59
- <!-- :error="item.data.error"-->
60
- <!-- :opened-error="openedError"-->
61
- <!-- @toggle-error="onToggleError"-->
62
- <!-- />-->
63
53
  </template>
64
54
 
65
55
  <template #default-actions="{ item }">
@@ -42,18 +42,6 @@
42
42
  dropdown-top
43
43
  />
44
44
  </div>
45
-
46
- <!-- // TODO Удалить компонент если не используется? -->
47
-
48
- <!-- <common-pages-tasks-table-error-info-->
49
- <!-- v-if="normalizedTaskDetails[2].data.error"-->
50
- <!-- :id="`${normalizedTaskDetails[2].data.testId}-expand-details`"-->
51
- <!-- :error="normalizedTaskDetails[2].data.error"-->
52
- <!-- :opened-error="openedError"-->
53
- <!-- in-collapse-content-->
54
- <!-- is-small-->
55
- <!-- @toggle-error="onToggleError"-->
56
- <!-- />-->
57
45
  </span>
58
46
  </div>
59
47
 
@@ -1,53 +1,4 @@
1
1
  <template>
2
- <!-- <div :id="props.helpId" class="flex-align-center relative">-->
3
- <!-- <ui-icon-->
4
- <!-- :data-id="`${props.testId}-show-help-icon`"-->
5
- <!-- :width="props.iconWidth || '16'"-->
6
- <!-- :height="props.iconHeight || '16'"-->
7
- <!-- name="info"-->
8
- <!-- :class="['help-icon cursor-pointer', {active: isShowHelp}, {disabled: props.isDisabled}]"-->
9
- <!-- @click.stop="isShowHelp = !isShowHelp"-->
10
- <!-- />-->
11
- <!-- <Teleport to="body">-->
12
- <!-- <ui-dropdown-->
13
- <!-- :show="isShowHelp"-->
14
- <!-- :elem-id="props.helpId"-->
15
- <!-- :items="[]"-->
16
- <!-- :test-id="`${props.testId}-help-icon`"-->
17
- <!-- :width="props.dropdownWidth || '480px'"-->
18
- <!-- :max-height="props.dropdownMaxHeight || 'unset'"-->
19
- <!-- :left="props.dropdownLeft"-->
20
- <!-- :right="props.dropdownRight"-->
21
- <!-- :top="props.dropdownTop"-->
22
- <!-- @hide="isShowHelp = false"-->
23
- <!-- >-->
24
- <!-- <template #content>-->
25
- <!-- <div class="help-content">-->
26
- <!-- <div class="headline">-->
27
- <!-- <ui-icon :name="tooltipStatus" width="16" height="16" />-->
28
- <!-- <h3 class="help-title">-->
29
- <!-- {{ props.title || localization.mainNavigation.help }}-->
30
- <!-- </h3>-->
31
- <!-- <ui-icon-->
32
- <!-- name="close"-->
33
- <!-- width="16"-->
34
- <!-- height="16"-->
35
- <!-- class="help-close-icon cursor-pointer"-->
36
- <!-- @click.stop="isShowHelp = false"-->
37
- <!-- />-->
38
- <!-- </div>-->
39
-
40
- <!-- <slot />-->
41
-
42
- <!-- <p v-if="props.helpText" class="help-text">-->
43
- <!-- {{ props.helpText }}-->
44
- <!-- </p>-->
45
- <!-- </div>-->
46
- <!-- </template>-->
47
- <!-- </ui-dropdown>-->
48
- <!-- </Teleport>-->
49
- <!-- </div>-->
50
-
51
2
  <div class="flex-align-center relative">
52
3
  <ui-icon
53
4
  :id="`${props.helpId}`"
@@ -26,53 +26,6 @@
26
26
  dropdown-width="480px"
27
27
  />
28
28
  </div>
29
- <!-- <div-->
30
- <!-- v-if="props.helpText"-->
31
- <!-- :id="props.helpId"-->
32
- <!-- class="flex-align-center relative"-->
33
- <!-- >-->
34
- <!-- <ui-icon-->
35
- <!-- :data-id="`${props.testId}-show-help-icon`"-->
36
- <!-- width="16"-->
37
- <!-- height="16"-->
38
- <!-- name="info"-->
39
- <!-- :class="['bus-help-icon cursor-pointer', {active: isShowHelp}]"-->
40
- <!-- @click.stop="isShowHelp = !isShowHelp"-->
41
- <!-- />-->
42
- <!-- <Teleport to="body">-->
43
- <!-- <ui-dropdown-->
44
- <!-- :show="isShowHelp"-->
45
- <!-- :elem-id="props.helpId"-->
46
- <!-- :items="[]"-->
47
- <!-- test-id=""-->
48
- <!-- width="480px"-->
49
- <!-- left-->
50
- <!-- @hide="isShowHelp = false"-->
51
- <!-- >-->
52
- <!-- <template #content>-->
53
- <!-- <div class="help-content">-->
54
- <!-- <div class="headline">-->
55
- <!-- <ui-icon name="info-2" width="16" height="16" />-->
56
- <!-- <h3 class="help-title">-->
57
- <!-- {{ localization.mainNavigation.help }}-->
58
- <!-- </h3>-->
59
- <!-- <ui-icon-->
60
- <!-- name="close"-->
61
- <!-- width="16"-->
62
- <!-- height="16"-->
63
- <!-- class="bus-help-close-icon cursor-pointer"-->
64
- <!-- @click="isShowHelp = false"-->
65
- <!-- />-->
66
- <!-- </div>-->
67
-
68
- <!-- <p class="help-text">-->
69
- <!-- {{ props.helpText }}-->
70
- <!-- </p>-->
71
- <!-- </div>-->
72
- <!-- </template>-->
73
- <!-- </ui-dropdown>-->
74
- <!-- </Teleport>-->
75
- <!-- </div>-->
76
29
  </div>
77
30
  </template>
78
31
  </ui-stack-block>
@@ -83,7 +36,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
83
36
  import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
84
37
 
85
38
  const bus = defineModel<string>('bus')
86
- // const isShowHelp = defineModel<boolean>('isShowHelp')
87
39
 
88
40
  const props = defineProps<{
89
41
  index: number
@@ -102,56 +54,4 @@ const props = defineProps<{
102
54
  const localization = computed<UI_I_Localization>(() => useLocal())
103
55
  </script>
104
56
 
105
- <style>
106
- //:root {
107
- // --bus-help-color: #4d5d69;
108
- // --bus-help-icon-hover-color: #4d5d69;
109
- // --bus-help-icon-active-color: #008fd6;
110
- // --bus-help-close-icon-color: #182531;
111
- //}
112
- //:root.dark-theme {
113
- // --bus-help-color: #e9eaec;
114
- // --bus-help-icon-hover-color: #e9eaec;
115
- // --bus-help-icon-active-color: #2ba2de;
116
- // --bus-help-close-icon-color: #e9eaec;
117
- //}
118
- </style>
119
- <style lang="scss" scoped>
120
- //.bus-help-icon {
121
- // color: #9da6ad; // for light and dark
122
- //
123
- // &:hover {
124
- // color: var(--bus-help-icon-hover-color);
125
- // }
126
- // &.active {
127
- // color: var(--bus-help-icon-active-color);
128
- // }
129
- //}
130
- //.help-content {
131
- // padding: 16px;
132
- //
133
- // .headline {
134
- // display: flex;
135
- // align-items: center;
136
- // gap: 8px;
137
- // margin-bottom: 12px;
138
- //
139
- // .help-title {
140
- // flex: 1;
141
- // font-size: 14px;
142
- // font-weight: 500;
143
- // line-height: 16.94px;
144
- // color: var(--bus-help-color);
145
- // }
146
- // .bus-help-close-icon {
147
- // color: var(--bus-help-close-icon-color)
148
- // }
149
- // }
150
- //
151
- // .help-text {
152
- // font-size: 13px;
153
- // line-height: 15.73px;
154
- // color: var(--bus-help-color);
155
- // }
156
- //}
157
- </style>
57
+ <style lang="scss" scoped></style>
@@ -30,10 +30,6 @@
30
30
  width="auto"
31
31
  />
32
32
 
33
- <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-tooltip-->
34
- <!-- :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"-->
35
- <!-- />-->
36
-
37
33
  <common-tooltip-help
38
34
  test-id="cpu-help-tooltip"
39
35
  help-id="cpu-help-tooltip-icon"
@@ -204,11 +200,9 @@ const localization = computed<UI_I_Localization>(() => useLocal())
204
200
 
205
201
  <style>
206
202
  :root {
207
- --help-color: #4d5d69;
208
203
  --cpu-help-more-info-color: #008fd6;
209
204
  }
210
205
  :root.dark-theme {
211
- --help-color: #e9eaec;
212
206
  --cpu-help-more-info-color: #2ba2de;
213
207
  }
214
208
  </style>
@@ -40,55 +40,6 @@
40
40
  </p>
41
41
  </common-tooltip-help>
42
42
 
43
- <!-- <div id="passthrough-help-icon" class="flex-align-center relative">-->
44
- <!-- <ui-icon-->
45
- <!-- width="16"-->
46
- <!-- height="16"-->
47
- <!-- name="info"-->
48
- <!-- data-id="show-passthrough-help-icon"-->
49
- <!-- :class="[-->
50
- <!-- 'passthrough-help-icon cursor-pointer',-->
51
- <!-- { active: isShowPassthroughHost },-->
52
- <!-- ]"-->
53
- <!-- @click.stop="isShowPassthroughHost = !isShowPassthroughHost"-->
54
- <!-- />-->
55
- <!-- <Teleport to="body">-->
56
- <!-- <ui-dropdown-->
57
- <!-- :show="isShowPassthroughHost"-->
58
- <!-- :items="[]"-->
59
- <!-- elem-id="passthrough-help-icon"-->
60
- <!-- test-id=""-->
61
- <!-- width="480px"-->
62
- <!-- left-->
63
- <!-- @hide="isShowPassthroughHost = false"-->
64
- <!-- >-->
65
- <!-- <template #content>-->
66
- <!-- <div class="help-content">-->
67
- <!-- <div class="headline">-->
68
- <!-- <ui-icon name="info-2" width="16" height="16" />-->
69
- <!-- <h3 class="help-title">-->
70
- <!-- {{ localization.mainNavigation.help }}-->
71
- <!-- </h3>-->
72
- <!-- <ui-icon-->
73
- <!-- name="close"-->
74
- <!-- width="16"-->
75
- <!-- height="16"-->
76
- <!-- class="cursor-pointer"-->
77
- <!-- @click="isShowPassthroughHost = false"-->
78
- <!-- />-->
79
- <!-- </div>-->
80
-
81
- <!-- <p class="help-text">-->
82
- <!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit.-->
83
- <!-- A cum eius expedita, fuga mollitia perferendis quod soluta-->
84
- <!-- vel? Dolor, illo, nam? A consequatur, consequuntur eos-->
85
- <!-- impedit iusto labore sunt tempora!-->
86
- <!-- </p>-->
87
- <!-- </div>-->
88
- <!-- </template>-->
89
- <!-- </ui-dropdown>-->
90
- <!-- </Teleport>-->
91
- <!-- </div>-->
92
43
  </div>
93
44
  <div class="flex-align-center">
94
45
  <ui-checkbox
@@ -113,55 +64,7 @@
113
64
  impedit iusto labore sunt tempora!
114
65
  </p>
115
66
  </common-tooltip-help>
116
- <!-- <div id="host-model-help-icon" class="flex-align-center relative">-->
117
- <!-- <ui-icon-->
118
- <!-- width="16"-->
119
- <!-- height="16"-->
120
- <!-- name="info"-->
121
- <!-- data-id="show-host-model-help-icon"-->
122
- <!-- :class="[-->
123
- <!-- 'host-model-help-icon cursor-pointer disabled',-->
124
- <!-- { active: isShowHostModel },-->
125
- <!-- ]"-->
126
- <!-- @click.stop="isShowHostModel = !isShowHostModel"-->
127
- <!-- />-->
128
- <!-- <Teleport to="body">-->
129
- <!-- <ui-dropdown-->
130
- <!-- :show="isShowHostModel"-->
131
- <!-- :items="[]"-->
132
- <!-- elem-id="host-model-help-icon"-->
133
- <!-- test-id=""-->
134
- <!-- width="480px"-->
135
- <!-- left-->
136
- <!-- @hide="isShowHostModel = false"-->
137
- <!-- >-->
138
- <!-- <template #content>-->
139
- <!-- <div class="help-content">-->
140
- <!-- <div class="headline">-->
141
- <!-- <ui-icon name="info-2" width="16" height="16" />-->
142
- <!-- <h3 class="help-title">-->
143
- <!-- {{ localization.mainNavigation.help }}-->
144
- <!-- </h3>-->
145
- <!-- <ui-icon-->
146
- <!-- name="close"-->
147
- <!-- width="16"-->
148
- <!-- height="16"-->
149
- <!-- class="cursor-pointer"-->
150
- <!-- @click="isShowHostModel = false"-->
151
- <!-- />-->
152
- <!-- </div>-->
153
67
 
154
- <!-- <p class="help-text">-->
155
- <!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit.-->
156
- <!-- A cum eius expedita, fuga mollitia perferendis quod soluta-->
157
- <!-- vel? Dolor, illo, nam? A consequatur, consequuntur eos-->
158
- <!-- impedit iusto labore sunt tempora!-->
159
- <!-- </p>-->
160
- <!-- </div>-->
161
- <!-- </template>-->
162
- <!-- </ui-dropdown>-->
163
- <!-- </Teleport>-->
164
- <!-- </div>-->
165
68
  </div>
166
69
  </div>
167
70
  </template>
@@ -194,22 +97,12 @@ const emits = defineEmits<{
194
97
 
195
98
  const localization = computed<UI_I_Localization>(() => useLocal())
196
99
 
197
- const isShowPassthroughHost = ref<boolean>(false)
198
- const isShowHostModel = ref<boolean>(false)
199
-
200
100
  const onChangeCpuModel = (data: UI_T_SelectedValue): void => {
201
101
  emits('change-cpu-model', { target: { value: data } })
202
102
  }
203
103
  </script>
204
104
 
205
- <style>
206
- :root {
207
- --cpu-model-help-icon-color: #4d5d69;
208
- }
209
- :root.dark-theme {
210
- --cpu-model-help-icon-color: #e9eaec;
211
- }
212
- </style>
105
+
213
106
  <style scoped lang="scss">
214
107
  .cpu-model-content {
215
108
  display: flex;
@@ -222,48 +115,4 @@ const onChangeCpuModel = (data: UI_T_SelectedValue): void => {
222
115
  }
223
116
  }
224
117
 
225
- #passthrough-help-icon,
226
- #host-model-help-icon {
227
- margin-left: 8px;
228
- }
229
-
230
- .passthrough-help-icon,
231
- .host-model-help-icon {
232
- color: #9da6ad; // for light and dark
233
-
234
- &:hover {
235
- color: var(--cpu-model-help-icon-color);
236
- }
237
- &.active {
238
- color: #008fd6;
239
- }
240
- &.disabled {
241
- color: #bdc3c7;
242
- pointer-events: none;
243
- }
244
- }
245
- .help-content {
246
- padding: 16px;
247
-
248
- .headline {
249
- display: flex;
250
- align-items: center;
251
- gap: 8px;
252
- margin-bottom: 12px;
253
-
254
- .help-title {
255
- flex: 1;
256
- font-size: 14px;
257
- font-weight: 500;
258
- line-height: 16.94px;
259
- color: #4d5d69;
260
- }
261
- }
262
-
263
- .help-text {
264
- font-size: 13px;
265
- line-height: 15.73px;
266
- color: #4d5d69;
267
- }
268
- }
269
118
  </style>
@@ -26,50 +26,7 @@
26
26
  :dropdown-left="true"
27
27
  dropdown-width="320px"
28
28
  />
29
-
30
- <!-- <ui-icon-->
31
- <!-- id="virtual-machine-name-icon"-->
32
- <!-- :class="{ active: isShowHelp }"-->
33
- <!-- width="16"-->
34
- <!-- height="16"-->
35
- <!-- name="info"-->
36
- <!-- data-id="virtual-machine-name-icon"-->
37
- <!-- @click.stop="isShowHelp = !isShowHelp"-->
38
- <!-- />-->
39
29
  </div>
40
- <!-- <Teleport to="body">-->
41
- <!-- <ui-dropdown-->
42
- <!-- :show="isShowHelp"-->
43
- <!-- :items="[]"-->
44
- <!-- elem-id="virtual-machine-name-icon"-->
45
- <!-- test-id="virtual-machine-name"-->
46
- <!-- width="320px"-->
47
- <!-- left-->
48
- <!-- @hide="isShowHelp = false"-->
49
- <!-- >-->
50
- <!-- <template #content>-->
51
- <!-- <div class="vm-name-help-content">-->
52
- <!-- <div class="headline">-->
53
- <!-- <ui-icon name="info-2" width="16" height="16" />-->
54
- <!-- <h3 class="vm-name-help-title">-->
55
- <!-- {{ localization.vmWizard.vmNameRules }}-->
56
- <!-- </h3>-->
57
- <!-- <ui-icon-->
58
- <!-- name="close"-->
59
- <!-- width="16"-->
60
- <!-- height="16"-->
61
- <!-- class="hide-icon pointer"-->
62
- <!-- @click="isShowHelp = false"-->
63
- <!-- />-->
64
- <!-- </div>-->
65
-
66
- <!-- <p class="vm-name-help-text">-->
67
- <!-- {{ localization.common.vmNameValidationDescription }}-->
68
- <!-- </p>-->
69
- <!-- </div>-->
70
- <!-- </template>-->
71
- <!-- </ui-dropdown>-->
72
- <!-- </Teleport>-->
73
30
 
74
31
  <div class="flex-2">
75
32
  <ui-input
@@ -30,12 +30,6 @@
30
30
  dropdown-left
31
31
  dropdown-top
32
32
  />
33
- <!-- // TODO Удалить компонент если не используется? -->
34
-
35
- <!-- <common-wizards-datastore-add-steps-common-tooltip-info-->
36
- <!-- id="datastore-type-subtitle-tooltip"-->
37
- <!-- :description="localization.common.datastoreTypeHelpDesc"-->
38
- <!-- />-->
39
33
  </div>
40
34
  </div>
41
35
  </template>
@@ -36,12 +36,6 @@
36
36
  dropdown-left
37
37
  dropdown-top
38
38
  />
39
- <!-- // TODO Удалить компонент если не используется? -->
40
-
41
- <!-- <common-wizards-datastore-add-steps-common-tooltip-info-->
42
- <!-- :id="'option.testId'"-->
43
- <!-- :description="'Specify the folder path - for example, /vols/vol0/datastore-001'"-->
44
- <!-- />-->
45
39
  </div>
46
40
  <div class="basics-step-row-content">
47
41
  <ui-input
@@ -72,10 +66,6 @@
72
66
  dropdown-left
73
67
  dropdown-top
74
68
  />
75
- <!-- <common-wizards-datastore-add-steps-common-tooltip-info-->
76
- <!-- :id="'option.testIdserver'"-->
77
- <!-- :description="'Specify the server address - for example, nas, nas.it.com or 192.168.0.1.'"-->
78
- <!-- />-->
79
69
  </div>
80
70
  <div class="basics-step-row-content">
81
71
  <ui-input
@@ -42,12 +42,6 @@
42
42
  dropdown-left
43
43
  dropdown-top
44
44
  />
45
- <!-- // TODO Удалить компонент если не используется? -->
46
-
47
- <!-- <common-wizards-datastore-add-steps-common-tooltip-info-->
48
- <!-- id="device-select-host-tooltip"-->
49
- <!-- :description="localization.common.selectHostToViewAccessible"-->
50
- <!-- />-->
51
45
  </div>
52
46
  <div v-if="props.isShowSelectHost" class="row__content">
53
47
  <ui-select
@@ -26,12 +26,6 @@
26
26
  dropdown-left
27
27
  dropdown-top
28
28
  />
29
- <!-- // TODO Удалить компонент если не используется? -->
30
-
31
- <!-- <common-wizards-datastore-add-steps-common-tooltip-info-->
32
- <!-- :id="option.testId"-->
33
- <!-- :description="option.tooltipContent"-->
34
- <!-- />-->
35
29
  </template>
36
30
  </ui-radio>
37
31
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.243",
4
+ "version": "1.5.244",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -1,94 +0,0 @@
1
- <template>
2
- <div class="tooltip-info">
3
- <ui-icon
4
- :id="`${props.id}-info-trigger`"
5
- name="info"
6
- width="16"
7
- height="16"
8
- :class="['tooltip-info__icon pointer', { active: isShowInfo }]"
9
- @click.stop="isShowInfo = !isShowInfo"
10
- />
11
- <ui-popup-window
12
- v-model="isShowInfo"
13
- top
14
- left
15
- width="272px"
16
- :elem-id="`${props.id}-info-trigger`"
17
- >
18
- <div class="common-widget-info">
19
- <div class="flex justify-between">
20
- <div class="flex">
21
- <ui-icon name="info-2" width="16px" height="16px" />
22
- <span class="title"> {{ localization.common.information }}</span>
23
- </div>
24
- <ui-icon
25
- name="close"
26
- class="pointer hide-icon"
27
- width="16px"
28
- height="16px"
29
- @click.stop="isShowInfo = false"
30
- />
31
- </div>
32
-
33
- <div class="common-widget-info-description">
34
- {{ props.description }}
35
- </div>
36
- </div>
37
- </ui-popup-window>
38
- </div>
39
- </template>
40
-
41
- <script lang="ts" setup>
42
- // TODO move to global
43
- import type { UI_I_Localization } from '~/lib/models/interfaces'
44
-
45
- const props = defineProps<{
46
- id: string
47
- description: string
48
- }>()
49
-
50
- const localization = computed<UI_I_Localization>(() => useLocal())
51
-
52
- const isShowInfo = ref<boolean>(false)
53
- </script>
54
-
55
- <style lang="scss" scoped>
56
- @import 'assets/scss/common/mixins.scss';
57
- .tooltip-info {
58
- @include flex($align: center);
59
- &__icon {
60
- color: var(--form-icon-color);
61
- &:hover {
62
- color: var(--close-icon);
63
- }
64
- &.active {
65
- color: var(--btn-primary-fill-bg-color);
66
- }
67
- }
68
-
69
- .common-widget-info {
70
- padding: 16px;
71
-
72
- .title {
73
- font-size: 14px;
74
- font-weight: 500;
75
- line-height: 16px;
76
- color: var(--zabbix-text-color);
77
- margin-left: 8px;
78
- }
79
-
80
- .common-widget-info-description {
81
- font-size: 13px;
82
- line-height: 15.73px;
83
- color: var(--zabbix-text-color);
84
- margin-top: 12px;
85
- white-space: pre-line;
86
- }
87
-
88
- svg {
89
- color: var(--alert-icon);
90
- min-width: 16px;
91
- }
92
- }
93
- }
94
- </style>
@@ -1,128 +0,0 @@
1
- <template>
2
- <div :class="['error-info', { 'error-info-small': props.isSmall }]">
3
- <ui-icon
4
- :id="`task-error-info-icon-${props.id}`"
5
- name="info"
6
- width="16px"
7
- height="16px"
8
- :class="[
9
- 'info-icon pointer',
10
- { show: isShowInfo, 'in-collapse-content': props.inCollapseContent },
11
- ]"
12
- @click.stop="emits('toggle-error', props.id)"
13
- />
14
- <ui-popup-window
15
- v-model="isShowInfo"
16
- top
17
- left
18
- :elem-id="`task-error-info-icon-${props.id}`"
19
- >
20
- <div class="common-widget-info">
21
- <div class="headline justify-between flex-align-center">
22
- <div class="flex-align-center">
23
- <ui-icon name="error" width="16px" height="16px" />
24
- <span class="title">{{ localization.common.failureReason }}</span>
25
- </div>
26
- <ui-icon
27
- name="close"
28
- class="pointer hide-icon"
29
- width="16px"
30
- height="16px"
31
- @click.stop="emits('toggle-error', '')"
32
- />
33
- </div>
34
-
35
- <div class="common-widget-info-description">
36
- {{ props.error }}
37
- </div>
38
- </div>
39
- </ui-popup-window>
40
- </div>
41
- </template>
42
-
43
- <script lang="ts" setup>
44
- import type { UI_I_Localization } from '~/lib/models/interfaces'
45
-
46
- const props = withDefaults(
47
- defineProps<{
48
- id: string
49
- error: string
50
- openedError: string
51
- inCollapseContent?: boolean
52
- isSmall?: boolean
53
- }>(),
54
- {
55
- inCollapseContent: false,
56
- isSmall: false,
57
- }
58
- )
59
-
60
- const localization = computed<UI_I_Localization>(() => useLocal())
61
-
62
- const emits = defineEmits<{
63
- (event: 'toggle-error', value: string): void
64
- }>()
65
-
66
- const isShowInfo = computed<boolean>({
67
- get() {
68
- return props.openedError === props.id
69
- },
70
- set() {
71
- emits('toggle-error', '')
72
- },
73
- })
74
- </script>
75
-
76
- <style lang="scss" scoped>
77
- .error-info {
78
- display: flex;
79
- justify-content: space-between;
80
- margin-left: 8px;
81
-
82
- &.error-info-small {
83
- margin-left: 6px;
84
- }
85
-
86
- .info-icon {
87
- color: var(--form-icon-color);
88
-
89
- &:hover {
90
- color: var(--close-icon);
91
- }
92
- &.show {
93
- color: var(--btn-primary-fill-bg-color);
94
- }
95
- }
96
-
97
- .common-widget-info {
98
- width: 232px;
99
- padding: 16px;
100
-
101
- .title {
102
- font-size: 14px;
103
- font-weight: 500;
104
- line-height: 16px;
105
- color: var(--zabbix-text-color);
106
- margin-left: 8px;
107
- }
108
-
109
- .hide-icon {
110
- color: var(--alert-icon);
111
- }
112
-
113
- .common-widget-info-description {
114
- font-size: 13px;
115
- line-height: 15.73px;
116
- color: var(--zabbix-text-color);
117
- margin-top: 12px;
118
- }
119
- }
120
- }
121
-
122
- :deep(.in-collapse-content) {
123
- path,
124
- circle {
125
- stroke-width: 1.4 !important;
126
- }
127
- }
128
- </style>
@@ -1,93 +0,0 @@
1
- <template>
2
- <div class="tooltip-info">
3
- <ui-icon
4
- :id="`${props.id}-info-trigger`"
5
- name="info"
6
- width="16"
7
- height="16"
8
- :class="['tooltip-info__icon pointer', { active: isShowInfo }]"
9
- @click.stop="isShowInfo = !isShowInfo"
10
- />
11
- <ui-popup-window
12
- v-model="isShowInfo"
13
- top
14
- left
15
- width="272px"
16
- :elem-id="`${props.id}-info-trigger`"
17
- >
18
- <div class="common-widget-info">
19
- <div class="flex justify-between">
20
- <div class="flex">
21
- <ui-icon name="info-2" width="16px" height="16px" />
22
- <span class="title"> {{ localization.common.information }}</span>
23
- </div>
24
- <ui-icon
25
- name="close"
26
- class="pointer hide-icon"
27
- width="16px"
28
- height="16px"
29
- @click.stop="isShowInfo = false"
30
- />
31
- </div>
32
-
33
- <div class="common-widget-info-description">
34
- {{ props.description }}
35
- </div>
36
- </div>
37
- </ui-popup-window>
38
- </div>
39
- </template>
40
-
41
- <script lang="ts" setup>
42
- import type { UI_I_Localization } from '~/lib/models/interfaces'
43
-
44
- const props = defineProps<{
45
- id: string
46
- description: string
47
- }>()
48
-
49
- const localization = computed<UI_I_Localization>(() => useLocal())
50
-
51
- const isShowInfo = ref<boolean>(false)
52
- </script>
53
-
54
- <style lang="scss" scoped>
55
- @import 'assets/scss/common/mixins.scss';
56
- .tooltip-info {
57
- @include flex($align: center);
58
- &__icon {
59
- color: var(--form-icon-color);
60
- &:hover {
61
- color: var(--close-icon);
62
- }
63
- &.active {
64
- color: var(--btn-primary-fill-bg-color);
65
- }
66
- }
67
-
68
- .common-widget-info {
69
- padding: 16px;
70
-
71
- .title {
72
- font-size: 14px;
73
- font-weight: 500;
74
- line-height: 16px;
75
- color: var(--zabbix-text-color);
76
- margin-left: 8px;
77
- }
78
-
79
- .common-widget-info-description {
80
- font-size: 13px;
81
- line-height: 15.73px;
82
- color: var(--zabbix-text-color);
83
- margin-top: 12px;
84
- white-space: pre-line;
85
- }
86
-
87
- svg {
88
- color: var(--alert-icon);
89
- min-width: 16px;
90
- }
91
- }
92
- }
93
- </style>