bfg-common 1.5.724 → 1.5.725

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.
@@ -1,96 +1,97 @@
1
- <template>
2
- <ui-modal
3
- :title="props.title"
4
- :subtitle="props.subtitle"
5
- :texts="{}"
6
- test-id="about-modal"
7
- width="720px"
8
- show
9
- @hide="onHideModal"
10
- >
11
- <template #content>
12
- <ui-modal-block-standard>
13
- <div class="about-modal__text">
14
- <p>{{ aboutHeadingText }}</p>
15
-
16
- <p>{{ localization.layout.aboutSubtitle }}</p>
17
- </div>
18
-
19
- <div class="about-modal__description">
20
- {{ props.aboutDescOne
21
- }}<a
22
- id="about-description-link"
23
- :href="url"
24
- data-id="about-description-link"
25
- target="_blank"
26
- class="about-modal__description-link"
27
- >
28
- {{ props.url }} </a
29
- >{{ props.aboutDescSecond }}
30
- </div>
31
- </ui-modal-block-standard>
32
- </template>
33
- <template #footer><div class="modal-footer-block"></div></template>
34
- </ui-modal>
35
- </template>
36
-
37
- <script lang="ts" setup>
38
- import type { UI_I_Localization } from '~/lib/models/interfaces'
39
-
40
- const props = defineProps<{
41
- title: string
42
- subtitle: string
43
- aboutHeadingText: string
44
- aboutDescOne: string
45
- aboutDescSecond: string
46
- url: string
47
- }>()
48
- const emits = defineEmits<{
49
- (event: 'hide'): void
50
- }>()
51
-
52
- const localization = computed<UI_I_Localization>(() => useLocal())
53
-
54
- const onHideModal = (): void => {
55
- emits('hide')
56
- }
57
- </script>
58
-
59
- <style lang="scss" scoped>
60
- .modal-container-standard {
61
- padding-top: 12px;
62
- padding-bottom: 12px;
63
-
64
- .about-modal {
65
- &__text {
66
- color: var(--about-text-color);
67
- font-size: 13px;
68
- font-weight: 400;
69
- line-height: 15.73px;
70
-
71
- p:last-child {
72
- margin: 16px 0;
73
- }
74
- }
75
- &__description {
76
- color: var(--about-text-color);
77
- font-size: 13px;
78
- font-weight: 400;
79
- line-height: 15.73px;
80
-
81
- &-link {
82
- color: var(--about-text-link-color);
83
- &:hover {
84
- color: var(--about-text-link-hover-color);
85
- }
86
- }
87
- }
88
- }
89
- }
90
- .modal-footer-block {
91
- height: 32px;
92
- }
93
- :deep(.title-wrapper__subtitle) {
94
- max-width: 400px;
95
- }
96
- </style>
1
+ <template>
2
+ <ui-modal
3
+ :title="props.title"
4
+ :subtitle="props.subtitle"
5
+ :texts="{}"
6
+ test-id="about-modal"
7
+ width="720px"
8
+ show
9
+ @hide="onHideModal"
10
+ >
11
+ <template #content>
12
+ <ui-modal-block-standard>
13
+ <div class="about-modal__text">
14
+ <p>{{ aboutHeadingText }}</p>
15
+
16
+ <p>{{ localization.layout.aboutSubtitle }}</p>
17
+ </div>
18
+
19
+ <div class="about-modal__description">
20
+ {{ props.aboutDescOne
21
+ }}<a
22
+ id="about-description-link"
23
+ :href="url"
24
+ data-id="about-description-link"
25
+ target="_blank"
26
+ class="about-modal__description-link"
27
+ >
28
+ {{ props.url }} </a
29
+ >{{ props.aboutDescSecond }}
30
+ </div>
31
+ </ui-modal-block-standard>
32
+ </template>
33
+ <template #footer><div class="modal-footer-block"></div></template>
34
+ </ui-modal>
35
+ </template>
36
+
37
+ <script lang="ts" setup>
38
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
39
+
40
+ const props = defineProps<{
41
+ title: string
42
+ subtitle: string
43
+ aboutHeadingText: string
44
+ aboutDescOne: string
45
+ aboutDescSecond: string
46
+ url: string
47
+ projectName: string // для warning console
48
+ }>()
49
+ const emits = defineEmits<{
50
+ (event: 'hide'): void
51
+ }>()
52
+
53
+ const localization = computed<UI_I_Localization>(() => useLocal())
54
+
55
+ const onHideModal = (): void => {
56
+ emits('hide')
57
+ }
58
+ </script>
59
+
60
+ <style lang="scss" scoped>
61
+ .modal-container-standard {
62
+ padding-top: 12px;
63
+ padding-bottom: 12px;
64
+
65
+ .about-modal {
66
+ &__text {
67
+ color: var(--about-text-color);
68
+ font-size: 13px;
69
+ font-weight: 400;
70
+ line-height: 15.73px;
71
+
72
+ p:last-child {
73
+ margin: 16px 0;
74
+ }
75
+ }
76
+ &__description {
77
+ color: var(--about-text-color);
78
+ font-size: 13px;
79
+ font-weight: 400;
80
+ line-height: 15.73px;
81
+
82
+ &-link {
83
+ color: var(--about-text-link-color);
84
+ &:hover {
85
+ color: var(--about-text-link-hover-color);
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ .modal-footer-block {
92
+ height: 32px;
93
+ }
94
+ :deep(.title-wrapper__subtitle) {
95
+ max-width: 400px;
96
+ }
97
+ </style>
@@ -81,6 +81,7 @@ const props = defineProps<{
81
81
  selectedLanguageType: UI_T_LangValue
82
82
  newView: boolean
83
83
  recovery: UI_I_Recovery | null // для Сферы
84
+ securityLoader: boolean // для warning console
84
85
  }>()
85
86
  const emits = defineEmits<{
86
87
  (event: 'hide'): void
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.724",
4
+ "version": "1.5.725",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",