bfg-common 1.4.527 → 1.4.528

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.
@@ -2295,8 +2295,9 @@
2295
2295
  "about": "Аб",
2296
2296
  "aboutDesc1": "На прадукт распаўсюджваюцца ўсе ўмовы ліцэнзійнага пагаднення. {companyName}",
2297
2297
  "aboutDesc2": "валодае выключнымі аўтарскімі правамі на {trademark} PC. Без відавочна выяўленага пісьмовага дазволу {companyName} дадзены прадукт ці яго частка не могуць быць скапіяваныя або перададзеныя трэцім асобам у камерцыйных мэтах.",
2298
- "aboutHeading": "©️ {companyName}, 2023 год.",
2298
+ "aboutHeading": "© {companyName}, 2023 год.",
2299
2299
  "aboutSubtitle": "Усе аўтарскія правы абаронены.",
2300
+ "aboutWebClientVersion": "Вэб-кліент {0} (версія: {1})",
2300
2301
  "myAccount": "Мой рахунак",
2301
2302
  "lightMode": "Светлавы рэжым",
2302
2303
  "darkMode": "Цёмны рэжым"
@@ -2299,8 +2299,9 @@
2299
2299
  "about": "About",
2300
2300
  "aboutDesc1": "The product is subject to all terms of the license agreement. {companyName}",
2301
2301
  "aboutDesc2": "has the exclusive copyright for the {trademark} PC. Without the express written permission of {companyName}, this product or part of it cannot be copied or transferred to third parties for commercial purposes.",
2302
- "aboutHeading": "©️ {companyName}, 2023.",
2302
+ "aboutHeading": "© {companyName}, 2023.",
2303
2303
  "aboutSubtitle": "All copyrights are reserved.",
2304
+ "aboutWebClientVersion": "{0} Web Client (version: {1})",
2304
2305
  "myAccount": "My Account",
2305
2306
  "lightMode": "Light Mode",
2306
2307
  "darkMode": "Dark Mode"
@@ -2299,8 +2299,9 @@
2299
2299
  "about": "Մեր մասին",
2300
2300
  "aboutDesc1": "Ապրանքի վրա տարածվում են լիցենզային պայմանագրի բոլոր պայմանները: {companyName}",
2301
2301
  "aboutDesc2": "ունի բացառիկ հեղինակային իրավունքներ {trademark} PC-ի նկատմամբ: Առանց {companyName}-ի հստակ արտահայտված գրավոր թույլտվության, տվյալ ապրանքը կամ դրա մի մասը չի կարող պատճենահանվել կամ փոխանցվել երրորդ անձանց առևտրային նպատակներով:",
2302
- "aboutHeading": "©️ {companyName}, 2023 թ.",
2302
+ "aboutHeading": "© {companyName}, 2023 թ.",
2303
2303
  "aboutSubtitle": "Բոլոր հեղինակային իրավունքները պաշտպանված են:",
2304
+ "aboutWebClientVersion": "{0} Վեբ (տարբերակ՝ {1})",
2304
2305
  "myAccount": "Իմ հաշիվը",
2305
2306
  "lightMode": "Լույսի ռեժիմ",
2306
2307
  "darkMode": "Մութ ռեժիմ"
@@ -2298,8 +2298,9 @@
2298
2298
  "about": "Біз туралы",
2299
2299
  "aboutDesc1": "Өнімге лицензиялық келісімнің барлық шарттары қолданылады. {companyName}",
2300
2300
  "aboutDesc2": "{trademark} PC-ге айрықша авторлық құқыққа ие. {companyName}-ның жазбаша рұқсатынсыз бұл өнімді немесе оның бір бөлігін коммерциялық мақсатта көшіруге немесе үшінші тұлғаларға беруге болмайды.",
2301
- "aboutHeading": "©️ {companyName}, 2023 жыл.",
2301
+ "aboutHeading": "© {companyName}, 2023 жыл.",
2302
2302
  "aboutSubtitle": "Барлық авторлық құқықтар қорғалған.",
2303
+ "aboutWebClientVersion": "{0} Веб-клиент (нұсқа: {1})",
2303
2304
  "myAccount": "Менің аккаунтым",
2304
2305
  "lightMode": "Жарық режимі",
2305
2306
  "darkMode": "Қараңғы режим"
@@ -2302,6 +2302,7 @@
2302
2302
  "aboutDesc2": ". Без специального письменного разрешения компании {trademark} этот продукт или его часть не могут быть подвергнуты копированию или передаче третьим лицам с коммерческой целью.",
2303
2303
  "aboutHeading": "© {companyName}, 2023.",
2304
2304
  "aboutSubtitle": "Все авторские права защищены.",
2305
+ "aboutWebClientVersion": "{0} Веб-клиент (версия: {1})",
2305
2306
  "myAccount": "Мой счет",
2306
2307
  "lightMode": "Режим света",
2307
2308
  "darkMode": "Темный режим"
@@ -2297,8 +2297,9 @@
2297
2297
  "about": "关于我们",
2298
2298
  "aboutDesc1": "该产品受许可协议所有条款的约束。 {companyName}",
2299
2299
  "aboutDesc2": "拥有{trademark} PC 的独家版权。 未经{companyName}明确书面许可,不得出于商业目的复制或转让本产品或其部分内容给第三方。",
2300
- "aboutHeading": "©️ {companyName},2023。",
2300
+ "aboutHeading": "© {companyName},2023。",
2301
2301
  "aboutSubtitle": "保留所有版权。",
2302
+ "aboutWebClientVersion": "{0}网络客户端(版本:{1})",
2302
2303
  "myAccount": "我的账户",
2303
2304
  "lightMode": "灯光模式",
2304
2305
  "darkMode": "暗黑模式"
@@ -1,83 +1,85 @@
1
- <template>
2
- <Teleport to="body">
3
- <common-layout-the-header-help-menu-about-new
4
- v-if="isNewView"
5
- :title="title"
6
- :subtitle="subtitle"
7
- :about-heading-text="aboutHeadingText"
8
- :about-desc-one="aboutDesc1"
9
- :about-desc-second="aboutDesc2"
10
- :is-beta-version="props.isBeta"
11
- :is-dev="props.isDev"
12
- :project-name="props.projectName"
13
- :url="companyWebSitePath"
14
- @hide="emits('hide')"
15
- />
16
-
17
- <common-layout-the-header-help-menu-about-old
18
- v-else
19
- :title="title"
20
- :subtitle="subtitle"
21
- :about-heading-text="aboutHeadingText"
22
- :about-desc-one="aboutDesc1"
23
- :about-desc-second="aboutDesc2"
24
- :is-beta-version="props.isBeta"
25
- :is-dev="props.isDev"
26
- :project-name="props.projectName"
27
- :url="companyWebSitePath"
28
- @hide="emits('hide')"
29
- />
30
- </Teleport>
31
- </template>
32
-
33
- <script lang="ts" setup>
34
- import type { UI_I_Localization } from '~/lib/models/interfaces'
35
-
36
- const props = defineProps<{
37
- version: string
38
- isBeta: boolean
39
- isDev: boolean
40
- projectName: string
41
- }>()
42
- const emits = defineEmits<{
43
- (event: 'hide'): void
44
- }>()
45
-
46
- const localization = computed<UI_I_Localization>(() => useLocal())
47
- const { $store }: any = useNuxtApp()
48
- const config = useRuntimeConfig()
49
-
50
- const companyName = computed<string>(
51
- () => config.public[`COMPANY_NAME_${useEnvLanguage()}`]
52
- )
53
- const brandName = computed<string>(
54
- () => config.public[`TRADEMARK_${useEnvLanguage()}`]
55
- )
56
-
57
- const companyWebSitePath = ref<string>('https://iridium-soft.com/')
58
-
59
- const title = computed<string>(() => `${brandName.value}® ${props.projectName}`)
60
- const subtitle = computed<string>(
61
- () => `${props.projectName} Web Client, version: ${props.version}`
62
- )
63
-
64
- const aboutHeadingText = computed<string>(() =>
65
- localization.value.layout.aboutHeading.replaceAll(
66
- '{companyName}',
67
- companyName.value
68
- )
69
- )
70
-
71
- const aboutDesc1 = computed<string>(() =>
72
- localization.value.layout.aboutDesc1
73
- .replaceAll('{companyName}', companyName.value)
74
- .replaceAll('{trademark}', brandName.value)
75
- )
76
- const aboutDesc2 = computed<string>(() =>
77
- localization.value.layout.aboutDesc2
78
- .replaceAll('{companyName}', companyName.value)
79
- .replaceAll('{trademark}', brandName.value)
80
- )
81
-
82
- const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
83
- </script>
1
+ <template>
2
+ <Teleport to="body">
3
+ <common-layout-the-header-help-menu-about-new
4
+ v-if="isNewView"
5
+ :title="title"
6
+ :subtitle="subtitle"
7
+ :about-heading-text="aboutHeadingText"
8
+ :about-desc-one="aboutDesc1"
9
+ :about-desc-second="aboutDesc2"
10
+ :is-beta-version="props.isBeta"
11
+ :is-dev="props.isDev"
12
+ :project-name="props.projectName"
13
+ :url="companyWebSitePath"
14
+ @hide="emits('hide')"
15
+ />
16
+
17
+ <common-layout-the-header-help-menu-about-old
18
+ v-else
19
+ :title="title"
20
+ :subtitle="subtitle"
21
+ :about-heading-text="aboutHeadingText"
22
+ :about-desc-one="aboutDesc1"
23
+ :about-desc-second="aboutDesc2"
24
+ :is-beta-version="props.isBeta"
25
+ :is-dev="props.isDev"
26
+ :project-name="props.projectName"
27
+ :url="companyWebSitePath"
28
+ @hide="emits('hide')"
29
+ />
30
+ </Teleport>
31
+ </template>
32
+
33
+ <script lang="ts" setup>
34
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
35
+
36
+ const props = defineProps<{
37
+ version: string
38
+ isBeta: boolean
39
+ isDev: boolean
40
+ projectName: string
41
+ }>()
42
+ const emits = defineEmits<{
43
+ (event: 'hide'): void
44
+ }>()
45
+
46
+ const localization = computed<UI_I_Localization>(() => useLocal())
47
+ const { $store }: any = useNuxtApp()
48
+ const config = useRuntimeConfig()
49
+
50
+ const companyName = computed<string>(
51
+ () => config.public[`COMPANY_NAME_${useEnvLanguage()}`]
52
+ )
53
+ const brandName = computed<string>(
54
+ () => config.public[`TRADEMARK_${useEnvLanguage()}`]
55
+ )
56
+
57
+ const companyWebSitePath = ref<string>('https://iridium-soft.com/')
58
+
59
+ const title = computed<string>(() => `${brandName.value}® ${props.projectName}`)
60
+ const subtitle = computed<string>(() =>
61
+ localization.value.layout.aboutWebClientVersion
62
+ .replace('{0}', props.projectName)
63
+ .replace('{1}', props.version)
64
+ )
65
+
66
+ const aboutHeadingText = computed<string>(() =>
67
+ localization.value.layout.aboutHeading.replaceAll(
68
+ '{companyName}',
69
+ companyName.value
70
+ )
71
+ )
72
+
73
+ const aboutDesc1 = computed<string>(() =>
74
+ localization.value.layout.aboutDesc1
75
+ .replaceAll('{companyName}', companyName.value)
76
+ .replaceAll('{trademark}', brandName.value)
77
+ )
78
+ const aboutDesc2 = computed<string>(() =>
79
+ localization.value.layout.aboutDesc2
80
+ .replaceAll('{companyName}', companyName.value)
81
+ .replaceAll('{trademark}', brandName.value)
82
+ )
83
+
84
+ const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
85
+ </script>
@@ -1,92 +1,102 @@
1
- <template>
2
- <ui-modal
3
- test-id="about-modal"
4
- width="720px"
5
- :title="props.title"
6
- :subtitle="props.subtitle"
7
- class="about-modal"
8
- @hide="onHideModal"
9
- >
10
- <template #content>
11
- <ui-modal-block-standard>
12
- <div class="about-modal__text">
13
- <p>{{ aboutHeadingText }}</p>
14
-
15
- <p>{{ localization.layout.aboutSubtitle }}</p>
16
- </div>
17
-
18
- <div class="about-modal__description">
19
- {{ props.aboutDescOne }}
20
-
21
- (<a
22
- id="about-description-link"
23
- data-id="about-description-link"
24
- :href="url"
25
- target="_blank"
26
- class="about-modal__description-link"
27
- >
28
- {{ props.url }} </a
29
- >)
30
-
31
- {{ props.aboutDescSecond }}
32
- </div>
33
- </ui-modal-block-standard>
34
- </template>
35
- <template #footerContent><span /></template>
36
- <template #footerLeftContent><span /></template>
37
- </ui-modal>
38
- </template>
39
-
40
- <script lang="ts" setup>
41
- import type { UI_I_Localization } from '~/lib/models/interfaces'
42
-
43
- const props = defineProps<{
44
- title: string
45
- subtitle: string
46
- aboutHeadingText: string
47
- aboutDescOne: string
48
- aboutDescSecond: string
49
- isBetaVersion: boolean
50
- isDev: boolean
51
- projectName: string
52
- url: string
53
- }>()
54
- const emits = defineEmits<{
55
- (event: 'hide'): void
56
- }>()
57
-
58
- const localization = computed<UI_I_Localization>(() => useLocal())
59
-
60
- const onHideModal = (): void => {
61
- emits('hide')
62
- }
63
- </script>
64
-
65
- <style lang="scss" scoped>
66
- .about-modal {
67
- &__text {
68
- color: #4d5d69;
69
- font-size: 13px;
70
- font-weight: 400;
71
- line-height: 15.73px;
72
- p:last-child {
73
- margin: 16px 0;
74
- }
75
- }
76
- &__description {
77
- color: #4d5d69;
78
- font-size: 13px;
79
- font-weight: 400;
80
- line-height: 15.73px;
81
- &-link {
82
- color: #0786d2;
83
- &:hover {
84
- color: #0081c1;
85
- }
86
- }
87
- }
88
- }
89
- :deep(.title-wrapper__subtitle) {
90
- max-width: 400px;
91
- }
92
- </style>
1
+ <template>
2
+ <ui-modal
3
+ test-id="about-modal"
4
+ width="720px"
5
+ :title="props.title"
6
+ :subtitle="props.subtitle"
7
+ class="about-modal"
8
+ @hide="onHideModal"
9
+ >
10
+ <template #content>
11
+ <ui-modal-block-standard>
12
+ <div class="about-modal__text">
13
+ <p>{{ aboutHeadingText }}</p>
14
+
15
+ <p>{{ localization.layout.aboutSubtitle }}</p>
16
+ </div>
17
+
18
+ <div class="about-modal__description">
19
+ {{ props.aboutDescOne }}
20
+
21
+ (<a
22
+ id="about-description-link"
23
+ data-id="about-description-link"
24
+ :href="url"
25
+ target="_blank"
26
+ class="about-modal__description-link"
27
+ >
28
+ {{ props.url }} </a
29
+ >)
30
+
31
+ {{ props.aboutDescSecond }}
32
+ </div>
33
+ </ui-modal-block-standard>
34
+ </template>
35
+ <template #footerContent><span /></template>
36
+ <template #footerLeftContent><span /></template>
37
+ </ui-modal>
38
+ </template>
39
+
40
+ <script lang="ts" setup>
41
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
42
+
43
+ const props = defineProps<{
44
+ title: string
45
+ subtitle: string
46
+ aboutHeadingText: string
47
+ aboutDescOne: string
48
+ aboutDescSecond: string
49
+ isBetaVersion: boolean
50
+ isDev: boolean
51
+ projectName: string
52
+ url: string
53
+ }>()
54
+ const emits = defineEmits<{
55
+ (event: 'hide'): void
56
+ }>()
57
+
58
+ const localization = computed<UI_I_Localization>(() => useLocal())
59
+
60
+ const onHideModal = (): void => {
61
+ emits('hide')
62
+ }
63
+ </script>
64
+
65
+ <style>
66
+ :root {
67
+ --description-color: #4d5d69;
68
+ }
69
+ :root.dark-theme {
70
+ --description-color: #9da6ad;
71
+ }
72
+ </style>
73
+
74
+ <style lang="scss" scoped>
75
+ .about-modal {
76
+ &__text {
77
+ color: #4d5d69;
78
+ font-size: 13px;
79
+ font-weight: 400;
80
+ line-height: 15.73px;
81
+ p:last-child {
82
+ margin: 16px 0;
83
+ }
84
+ }
85
+ &__description {
86
+ color: var(--description-color);
87
+ font-size: 13px;
88
+ font-weight: 400;
89
+ line-height: 15.73px;
90
+
91
+ &-link {
92
+ color: #0786d2;
93
+ &:hover {
94
+ color: #0081c1;
95
+ }
96
+ }
97
+ }
98
+ }
99
+ :deep(.title-wrapper__subtitle) {
100
+ max-width: 400px;
101
+ }
102
+ </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.527",
4
+ "version": "1.4.528",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",