bfg-common 1.5.403 → 1.5.404

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.
@@ -24,13 +24,11 @@
24
24
  <common-tooltip-help
25
25
  :title="localization.common.information"
26
26
  :help-text="localization.common.datastoreTypeHelpDesc"
27
- :is-show-help="isShowFirstStepHelp"
28
27
  test-id="datastore-type-subtitle-tooltip"
29
28
  help-id="datastore-type-subtitle-tooltip-icon"
30
29
  dropdown-width="320px"
31
30
  dropdown-left
32
31
  class="ml-2"
33
- @update-is-show="onUpdateIsShowFirstStepHelp"
34
32
  />
35
33
  </div>
36
34
  </div>
@@ -39,8 +37,6 @@
39
37
  <common-backup-storage-actions-add-steps-type-mode
40
38
  v-if="selectedStep.id === dynamicSteps.type"
41
39
  v-model="formModelLocal.type_code"
42
- :updater-hide-all-help-popups="updaterHideAllHelpPopups"
43
- @hide-all-help-popups="isShowFirstStepHelp = false"
44
40
  />
45
41
  </template>
46
42
  </ui-wizard-block>
@@ -251,13 +247,6 @@ const texts = computed<UI_I_WizardTexts>(() => ({
251
247
  of: localization.value.common.of2,
252
248
  }))
253
249
 
254
- const updaterHideAllHelpPopups = ref<number>(0)
255
- const isShowFirstStepHelp = ref<boolean>(false)
256
- const onUpdateIsShowFirstStepHelp = (value: boolean): void => {
257
- updaterHideAllHelpPopups.value++
258
- isShowFirstStepHelp.value = value
259
- }
260
-
261
250
  const subTitleBlock0 = ref<HTMLElement | null>(null)
262
251
  const { height: height0 } = useElementSize(subTitleBlock0)
263
252
 
@@ -3,8 +3,6 @@
3
3
  v-if="isNewView"
4
4
  v-model="formDatastoreTypeMode"
5
5
  :options="datastoreTypeOptions"
6
- :updater-hide-all-help-popups="props.updaterHideAllHelpPopups"
7
- @hide-all-help-popups="emits('hide-all-help-popups')"
8
6
  />
9
7
 
10
8
  <common-backup-storage-actions-add-steps-type-mode-old
@@ -20,12 +18,6 @@ import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/mode
20
18
  import { datastoreTypesFunc } from '~/components/common/backup/storage/actions/add/steps/typeMode/lib/config/typeOptions'
21
19
 
22
20
  const formDatastoreTypeMode = defineModel<number>({ required: true })
23
- const props = defineProps<{
24
- updaterHideAllHelpPopups: number
25
- }>()
26
- const emits = defineEmits<{
27
- (event: 'hide-all-help-popups'): void
28
- }>()
29
21
 
30
22
  const localization = computed<UI_I_Localization>(() => useLocal())
31
23
  const { $store }: any = useNuxtApp()
@@ -22,13 +22,11 @@
22
22
  :help-id="`${option.testId}-${key}`"
23
23
  :help-text="option.tooltipContent"
24
24
  :title="localization.common.information"
25
- :is-show-help="tooltipsShowState[key]"
26
25
  icon-width="18"
27
26
  icon-height="18"
28
27
  dropdown-width="320px"
29
28
  dropdown-left
30
29
  dropdown-top
31
- @update-is-show="onUpdateIsShow(key, $event)"
32
30
  />
33
31
  </template>
34
32
  </ui-radio>
@@ -45,27 +43,10 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
45
43
  const datastoreTypeModeLocal = defineModel<number>({ required: true })
46
44
  const props = defineProps<{
47
45
  options: UI_I_RadioOption[]
48
- updaterHideAllHelpPopups: number
49
- }>()
50
- const emits = defineEmits<{
51
- (event: 'hide-all-help-popups'): void
52
46
  }>()
53
47
 
54
48
  const localization = computed<UI_I_Localization>(() => useLocal())
55
49
 
56
- const tooltipsShowState = ref<boolean[]>([])
57
- const onUpdateIsShow = (key: number, value: boolean): void => {
58
- tooltipsShowState.value = Array(props.options.length).fill(false)
59
- emits('hide-all-help-popups')
60
- tooltipsShowState.value[key] = value
61
- }
62
- watch(
63
- () => [props.updaterHideAllHelpPopups, props.options],
64
- (newValue) => {
65
- tooltipsShowState.value = Array(newValue[1].length).fill(false)
66
- },
67
- { immediate: true, deep: true }
68
- )
69
50
  const datastoreTypeContainer = ref<HTMLElement | null>(null)
70
51
  const { width } = useElementSize(datastoreTypeContainer)
71
52
  watch([datastoreTypeContainer, width], (newValue) => {
@@ -13,10 +13,7 @@
13
13
  @hide="onHideModal"
14
14
  >
15
15
  <template #headerDescription>
16
- <common-layout-the-header-feedback-new-subtitle
17
- :is-show-help="isShowSubtitleHelp"
18
- @update-is-show="onUpdateIsShowSubtitleHelp"
19
- />
16
+ <common-layout-the-header-feedback-new-subtitle />
20
17
  </template>
21
18
 
22
19
  <template #content>
@@ -52,8 +49,6 @@
52
49
 
53
50
  <common-layout-the-header-feedback-new-additional-details
54
51
  v-model="options"
55
- :is-show-help="isShowAdditionalDetailsHelp"
56
- @update-is-show="onUpdateIsShowAdditionalDetailsHelp"
57
52
  />
58
53
  </template>
59
54
  </ui-modal-block-standard>
@@ -141,17 +136,6 @@ const isDisabledButton = computed<boolean>(() => {
141
136
  return !options.value.isAnnotateImage && !selectedTab.value
142
137
  })
143
138
 
144
- const isShowSubtitleHelp = ref<boolean>(false)
145
- const isShowAdditionalDetailsHelp = ref<boolean>(false)
146
- const onUpdateIsShowSubtitleHelp = (value: boolean): void => {
147
- if (value) isShowAdditionalDetailsHelp.value = false
148
- isShowSubtitleHelp.value = value
149
- }
150
- const onUpdateIsShowAdditionalDetailsHelp = (value: boolean): void => {
151
- if (value) isShowSubtitleHelp.value = false
152
- isShowAdditionalDetailsHelp.value = value
153
- }
154
-
155
139
  const onHideModal = (): void => {
156
140
  !options.value.isAnnotateImage
157
141
  ? emits('hide')
@@ -1,10 +1,7 @@
1
1
  <template>
2
2
  <div class="additional-details">
3
3
  <template v-if="!optionsModel.isAnnotateImage">
4
- <common-layout-the-header-feedback-new-additional-details-headline
5
- :is-show-help="props.isShowHelp"
6
- @update-is-show="emits('update-is-show', $event)"
7
- />
4
+ <common-layout-the-header-feedback-new-additional-details-headline />
8
5
 
9
6
  <ui-alert
10
7
  v-if="optionsModel.hasTakeScreenshot"
@@ -204,13 +201,6 @@ import html2canvas from 'html2canvas'
204
201
  import type { UI_I_Localization } from '~/lib/models/interfaces'
205
202
  import type { UI_I_FeedbackCanvasOptions } from '~/components/common/layout/theHeader/feedback/new/lib/models/interfaces'
206
203
 
207
- const props = defineProps<{
208
- isShowHelp: boolean
209
- }>()
210
- const emits = defineEmits<{
211
- (event: 'update-is-show', value: boolean): void
212
- }>()
213
-
214
204
  const optionsModel = defineModel<UI_I_FeedbackCanvasOptions>({ required: true })
215
205
 
216
206
  const localization = computed<UI_I_Localization>(() => useLocal())
@@ -10,9 +10,7 @@
10
10
  dropdown-width="288px"
11
11
  :title="localization.feedback.additionalDetailsHelp"
12
12
  :help-text="localization.feedback.additionalDetailsTooltip"
13
- :is-show-help="props.isShowHelp"
14
13
  dropdown-left
15
- @update-is-show="emits('update-is-show', $event)"
16
14
  />
17
15
  </div>
18
16
  </template>
@@ -20,13 +18,6 @@
20
18
  <script lang="ts" setup>
21
19
  import type { UI_I_Localization } from '~/lib/models/interfaces'
22
20
 
23
- const props = defineProps<{
24
- isShowHelp: boolean
25
- }>()
26
- const emits = defineEmits<{
27
- (event: 'update-is-show', value: boolean): void
28
- }>()
29
-
30
21
  const localization = computed<UI_I_Localization>(() => useLocal())
31
22
  </script>
32
23
 
@@ -5,14 +5,12 @@
5
5
  </span>
6
6
 
7
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
- :is-show-help="props.isShowHelp"
14
- dropdown-left
15
- @update-is-show="emits('update-is-show', $event)"
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
16
14
  />
17
15
  </div>
18
16
  </template>
@@ -20,14 +18,8 @@
20
18
  <script lang="ts" setup>
21
19
  import type { UI_I_Localization } from '~/lib/models/interfaces'
22
20
 
23
- const props = defineProps<{
24
- isShowHelp: boolean
25
- }>()
26
- const emits = defineEmits<{
27
- (event: 'update-is-show', value: boolean): void
28
- }>()
29
-
30
21
  const localization = computed<UI_I_Localization>(() => useLocal())
22
+
31
23
  </script>
32
24
 
33
25
  <style lang="scss" scoped>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.403",
4
+ "version": "1.5.404",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",