bfg-common 1.5.79 → 1.5.80

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.
@@ -18,8 +18,13 @@
18
18
  >
19
19
  <template #subTitle>
20
20
  <div ref="subTitleBlock0">
21
- <div class="subtitle-block">
21
+ <div class="subtitle-block flex-row">
22
22
  <ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
23
+
24
+ <common-wizards-datastore-add-steps-common-tooltip-info
25
+ id="datastore-type-subtitle-tooltip"
26
+ :description="localization.common.datastoreTypeHelpDesc"
27
+ />
23
28
  </div>
24
29
  </div>
25
30
  </template>
@@ -251,6 +256,10 @@ const onCreateDatastore = (): void => emits('submit')
251
256
  border-bottom: 1px solid var(--wizard-line);
252
257
  padding-bottom: 12px;
253
258
 
259
+ &.flex-row {
260
+ flex-direction: row;
261
+ }
262
+
254
263
  :deep(&__alert) {
255
264
  padding: 10px 12px;
256
265
  }
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
 
33
33
  <div class="common-widget-info-description">
34
- {{ props.info }}
34
+ {{ props.description }}
35
35
  </div>
36
36
  </div>
37
37
  </ui-popup-window>
@@ -41,13 +41,10 @@
41
41
  <script lang="ts" setup>
42
42
  import type { UI_I_Localization } from '~/lib/models/interfaces'
43
43
 
44
- const props = withDefaults(
45
- defineProps<{
46
- id: string
47
- info: string
48
- }>(),
49
- {}
50
- )
44
+ const props = defineProps<{
45
+ id: string
46
+ description: string
47
+ }>()
51
48
 
52
49
  const localization = computed<UI_I_Localization>(() => useLocal())
53
50
 
@@ -84,6 +81,7 @@ const isShowInfo = ref<boolean>(false)
84
81
  line-height: 15.73px;
85
82
  color: var(--zabbix-text-color);
86
83
  margin-top: 12px;
84
+ white-space: pre-line;
87
85
  }
88
86
 
89
87
  svg {
@@ -28,7 +28,7 @@
28
28
  </span>
29
29
  <common-wizards-datastore-add-steps-common-tooltip-info
30
30
  :id="'option.testId'"
31
- :info="'Specify the folder path - for example, /vols/vol0/datastore-001'"
31
+ :description="'Specify the folder path - for example, /vols/vol0/datastore-001'"
32
32
  />
33
33
  </div>
34
34
  <div class="basics-step-row-content">
@@ -53,7 +53,7 @@
53
53
  </span>
54
54
  <common-wizards-datastore-add-steps-common-tooltip-info
55
55
  :id="'option.testIdserver'"
56
- :info="'Specify the server address - for example, nas, nas.it.com or 192.168.0.1.'"
56
+ :description="'Specify the server address - for example, nas, nas.it.com or 192.168.0.1.'"
57
57
  />
58
58
  </div>
59
59
  <div class="basics-step-row-content">
@@ -19,9 +19,7 @@
19
19
  <template #tooltip>
20
20
  <common-wizards-datastore-add-steps-common-tooltip-info
21
21
  :id="option.testId"
22
- :info="option.tooltipContent"
23
- :opened-error="openedError"
24
- @toggle-error="onToggleError"
22
+ :description="option.tooltipContent"
25
23
  />
26
24
  </template>
27
25
  </ui-radio>
@@ -39,16 +37,6 @@ const props = defineProps<{
39
37
  }>()
40
38
 
41
39
  const localization = computed<UI_I_Localization>(() => useLocal())
42
-
43
- const openedError = ref<string>('')
44
-
45
- const onToggleError = (value: string): void => {
46
- if (!value || value === openedError.value) {
47
- openedError.value = ''
48
- } else {
49
- openedError.value = value
50
- }
51
- }
52
40
  </script>
53
41
 
54
42
  <style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.79",
4
+ "version": "1.5.80",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",