bfg-common 1.4.331 → 1.4.333
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.
- package/assets/localization/local_be.json +3 -0
- package/assets/localization/local_en.json +3 -0
- package/assets/localization/local_hy.json +3 -0
- package/assets/localization/local_kk.json +3 -0
- package/assets/localization/local_ru.json +3 -0
- package/assets/localization/local_zh.json +3 -0
- package/components/common/layout/theHeader/feedback/Feedback.vue +2 -2
- package/components/common/layout/theHeader/feedback/new/New.vue +79 -0
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +57 -0
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +33 -0
- package/components/common/layout/theHeader/feedback/{FeedbackNew/description/Description.vue → new/subtitle/Subtitle.vue} +37 -7
- package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +79 -0
- package/components/common/layout/theHeader/feedback/new/tabs/lib/config/tabs.ts +25 -0
- package/components/common/layout/theHeader/feedback/new/tabs/lib/models/interfaces.ts +17 -0
- package/components/common/layout/theHeader/feedback/new/tabs/lib/models/types.ts +1 -0
- package/components/common/pages/scheduledTasks/modals/common/frequency/on/On.vue +20 -2
- package/components/common/pages/scheduledTasks/modals/common/newTaskForm/lib/utils.ts +4 -4
- package/lib/models/interfaces.ts +1 -0
- package/package.json +1 -1
- package/components/common/layout/theHeader/feedback/FeedbackNew/FeedbackNew.vue +0 -61
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<common-layout-the-header-feedback-new
|
|
3
|
-
v-if="isNewView"
|
|
3
|
+
v-if="props.isShowFeedback && isNewView"
|
|
4
4
|
@hide="onHide"
|
|
5
5
|
@submit="onSubmit"
|
|
6
6
|
/>
|
|
7
7
|
<common-layout-the-header-feedback-old
|
|
8
|
-
v-
|
|
8
|
+
v-if="!isNewView"
|
|
9
9
|
:is-show-feedback="props.isShowFeedback"
|
|
10
10
|
:title="localization.common.sendFeedback"
|
|
11
11
|
@show="emits('show')"
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Teleport to="body">
|
|
3
|
+
<ui-modal
|
|
4
|
+
show
|
|
5
|
+
width="560px"
|
|
6
|
+
test-id="feedback-modal"
|
|
7
|
+
:title="localization.common.sendFeedback"
|
|
8
|
+
:texts="texts"
|
|
9
|
+
class="feedback"
|
|
10
|
+
@submit="onSubmit"
|
|
11
|
+
@hide="onHideModal"
|
|
12
|
+
>
|
|
13
|
+
<template #content>
|
|
14
|
+
<ui-modal-block-standard>
|
|
15
|
+
<common-layout-the-header-feedback-new-subtitle />
|
|
16
|
+
|
|
17
|
+
<common-layout-the-header-feedback-new-tabs
|
|
18
|
+
v-model="selectedTab"
|
|
19
|
+
class="metrics-tabs"
|
|
20
|
+
/>
|
|
21
|
+
|
|
22
|
+
<common-layout-the-header-feedback-new-description
|
|
23
|
+
v-model="form.description"
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
<common-layout-the-header-feedback-new-email v-model="form.email" />
|
|
27
|
+
</ui-modal-block-standard>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<template #footerLeftContent><span /></template>
|
|
31
|
+
</ui-modal>
|
|
32
|
+
</Teleport>
|
|
33
|
+
</template>
|
|
34
|
+
|
|
35
|
+
<script setup lang="ts">
|
|
36
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
37
|
+
// import type { UI_I_FeedbackForm } from '~/components/common/feedback/lib/models/interfaces'
|
|
38
|
+
|
|
39
|
+
// const props = defineProps<{
|
|
40
|
+
// title: string
|
|
41
|
+
// }>()
|
|
42
|
+
// console.log(props)
|
|
43
|
+
const emits = defineEmits<{
|
|
44
|
+
(event: 'hide'): void
|
|
45
|
+
// (event: 'submit', value: UI_I_FeedbackForm): void
|
|
46
|
+
}>()
|
|
47
|
+
|
|
48
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
49
|
+
|
|
50
|
+
const form = ref({
|
|
51
|
+
description: '',
|
|
52
|
+
email: '',
|
|
53
|
+
})
|
|
54
|
+
const selectedTab = ref<any>('memory')
|
|
55
|
+
|
|
56
|
+
const texts = {
|
|
57
|
+
button1: localization.value.common.send,
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const onHideModal = (): void => {
|
|
61
|
+
emits('hide')
|
|
62
|
+
}
|
|
63
|
+
const onSubmit = (): void => {}
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style lang="scss">
|
|
67
|
+
:root {
|
|
68
|
+
--description-color: #414b57;
|
|
69
|
+
--link-visited-color: #5659b8;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:root.dark-theme {
|
|
73
|
+
--description-color: #adbbc4;
|
|
74
|
+
--link-visited-color: #49afd9;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.feedback {
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="description">
|
|
3
|
+
<h4 class="description__title">{{ localization.common.description }}</h4>
|
|
4
|
+
|
|
5
|
+
<ui-textarea
|
|
6
|
+
v-model="descriptionModelLocal"
|
|
7
|
+
test-id="feedback-description"
|
|
8
|
+
:disabled="!selectedTab"
|
|
9
|
+
:placeholder="descriptionTextPlaceholder"
|
|
10
|
+
:error="descriptionErrorText"
|
|
11
|
+
>
|
|
12
|
+
</ui-textarea>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script lang="ts" setup>
|
|
17
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
18
|
+
import type { UI_T_FeedbackTab } from '~/components/common/layout/theHeader/feedback/new/tabs/lib/models/types'
|
|
19
|
+
|
|
20
|
+
const props = defineProps<{
|
|
21
|
+
selectedTab: UI_T_FeedbackTab
|
|
22
|
+
}>()
|
|
23
|
+
const descriptionModelLocal = defineModel<string>({ required: true })
|
|
24
|
+
|
|
25
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
26
|
+
|
|
27
|
+
const descriptionTextPlaceholder = computed<string>(() => {
|
|
28
|
+
if (props.selectedTab === 'warning-outline')
|
|
29
|
+
return localization.value.common.whatIsTheProblemHowCan
|
|
30
|
+
if (props.selectedTab === 'heart-outline')
|
|
31
|
+
return localization.value.common.tellUsWhatYouEnjoyedSo
|
|
32
|
+
return localization.value.common.selectFeedbackType
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
const descriptionErrorText = computed<boolean>(() => {
|
|
36
|
+
return !descriptionModelLocal.value
|
|
37
|
+
? localization.value.common.fieldRequired
|
|
38
|
+
: ''
|
|
39
|
+
})
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<style lang="scss" scoped>
|
|
43
|
+
.description {
|
|
44
|
+
margin-top: 32px;
|
|
45
|
+
&__title {
|
|
46
|
+
line-height: 38px;
|
|
47
|
+
margin-bottom: 16px;
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
color: #4d5d69;
|
|
51
|
+
}
|
|
52
|
+
:deep(.ui-main-textarea) {
|
|
53
|
+
resize: none;
|
|
54
|
+
height: 68px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="email">
|
|
3
|
+
<h4 class="email__title">{{ localization.common.emailAddress }}</h4>
|
|
4
|
+
|
|
5
|
+
<ui-input
|
|
6
|
+
v-model="emailModelLocal"
|
|
7
|
+
type="text"
|
|
8
|
+
placeholder="placeholder"
|
|
9
|
+
test-id="feedback-email"
|
|
10
|
+
/>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
16
|
+
|
|
17
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
18
|
+
|
|
19
|
+
const emailModelLocal = defineModel<string>({ required: true })
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<style scoped lang="scss">
|
|
23
|
+
.email {
|
|
24
|
+
margin-top: 32px;
|
|
25
|
+
&__title {
|
|
26
|
+
line-height: 38px;
|
|
27
|
+
margin-bottom: 16px;
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
color: #4d5d69;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
3
|
-
<span class="
|
|
2
|
+
<div class="subtitle">
|
|
3
|
+
<span class="subtitle__label">
|
|
4
4
|
{{ localization.common.helpUsImprove }}
|
|
5
5
|
</span>
|
|
6
6
|
<ui-icon
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<div class="headline justify-between flex-align-center">
|
|
22
22
|
<div class="flex-align-center">
|
|
23
23
|
<ui-icon-icon3 name="info-2" width="16px" height="16px" />
|
|
24
|
-
<span class="title">
|
|
24
|
+
<span class="title">{{ localization.common.feedbackHelp }}</span>
|
|
25
25
|
</div>
|
|
26
26
|
<ui-icon
|
|
27
27
|
name="close"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
<div class="common-widget-info-description">
|
|
36
|
-
{{
|
|
36
|
+
{{ localization.common.anyFeedbackYouProvideMay }}
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
</ui-popup-window>
|
|
@@ -46,8 +46,38 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
|
46
46
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
47
47
|
|
|
48
48
|
const isShowInfo = ref<boolean>(false)
|
|
49
|
-
|
|
50
|
-
const infoDescription = ref('')
|
|
51
49
|
</script>
|
|
52
50
|
|
|
53
|
-
<style lang="scss" scoped
|
|
51
|
+
<style lang="scss" scoped>
|
|
52
|
+
.subtitle {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
border-bottom: 1px solid #e9ebed;
|
|
56
|
+
padding-bottom: 12px;
|
|
57
|
+
|
|
58
|
+
&__label {
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
line-height: 14.52px;
|
|
62
|
+
color: #9da6ad;
|
|
63
|
+
}
|
|
64
|
+
.common-widget-info {
|
|
65
|
+
padding: 16px;
|
|
66
|
+
|
|
67
|
+
.title {
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
line-height: 16.94px;
|
|
71
|
+
color: var(--zabbix-text-color);
|
|
72
|
+
margin-left: 8px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.common-widget-info-description {
|
|
76
|
+
font-size: 13px;
|
|
77
|
+
line-height: 15.73px;
|
|
78
|
+
color: var(--zabbix-text-color);
|
|
79
|
+
margin-top: 12px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
</style>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tabs">
|
|
3
|
+
<h4 class="tabs__title">{{ localization.common.selectType }}</h4>
|
|
4
|
+
|
|
5
|
+
<div class="tabs__container">
|
|
6
|
+
<ui-block
|
|
7
|
+
v-for="item in tabs"
|
|
8
|
+
:key="item.iconName"
|
|
9
|
+
:class="{ selected: item.isSelected }"
|
|
10
|
+
@click="selectedTab = item.iconName"
|
|
11
|
+
>
|
|
12
|
+
<div class="main-info">
|
|
13
|
+
<ui-icon :name="item.iconName" width="18" height="18" />
|
|
14
|
+
<span class="main-info-label">{{ item.label }}</span>
|
|
15
|
+
</div>
|
|
16
|
+
</ui-block>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
23
|
+
import type { T_FeedbackTab } from '~/components/common/layout/theHeader/feedback/new/tabs/lib/models/types'
|
|
24
|
+
// import type { I_Metric } from '~/components/layout/new/tabs/lib/models/interfaces'
|
|
25
|
+
import { tabsFunc } from '~/components/common/layout/theHeader/feedback/new/tabs/lib/config/tabs'
|
|
26
|
+
|
|
27
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
28
|
+
|
|
29
|
+
const selectedTab = defineModel<T_FeedbackTab>({ required: true })
|
|
30
|
+
const tabs = computed<any[]>(() =>
|
|
31
|
+
tabsFunc(localization.value, selectedTab.value)
|
|
32
|
+
)
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<style scoped lang="scss">
|
|
36
|
+
.tabs {
|
|
37
|
+
margin-top: 16px;
|
|
38
|
+
&__title {
|
|
39
|
+
line-height: 38px;
|
|
40
|
+
margin-bottom: 16px;
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
color: #4d5d69;
|
|
44
|
+
}
|
|
45
|
+
&__container {
|
|
46
|
+
display: flex;
|
|
47
|
+
gap: 12px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:deep(.block) {
|
|
51
|
+
width: max-content;
|
|
52
|
+
padding: 10px 12px;
|
|
53
|
+
color: #4d5d69;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
}
|
|
56
|
+
:deep(.block.selected) {
|
|
57
|
+
border: 1.5px solid #008fd6;
|
|
58
|
+
color: #008fd6;
|
|
59
|
+
cursor: default;
|
|
60
|
+
|
|
61
|
+
.main-info,
|
|
62
|
+
.main-info-label {
|
|
63
|
+
color: #008fd6;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.main-info {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: 8px;
|
|
71
|
+
|
|
72
|
+
&-label {
|
|
73
|
+
font-size: 16px;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
line-height: 19.36px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { T_FeedbackTab } from '~/components/common/layout/theHeader/feedback/new/tabs/lib/models/types'
|
|
3
|
+
|
|
4
|
+
export const tabsFunc = (
|
|
5
|
+
localization: UI_I_Localization,
|
|
6
|
+
selectedTab: T_FeedbackTab
|
|
7
|
+
): any[] => {
|
|
8
|
+
return [
|
|
9
|
+
{
|
|
10
|
+
iconName: 'warning-outline',
|
|
11
|
+
label: localization.common.problem,
|
|
12
|
+
isSelected: selectedTab === 'warning-outline',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
iconName: 'heart-outline',
|
|
16
|
+
label: localization.common.complement,
|
|
17
|
+
isSelected: selectedTab === 'heart-outline',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
iconName: 'light-bulb',
|
|
21
|
+
label: localization.common.idea,
|
|
22
|
+
isSelected: selectedTab === 'light-bulb',
|
|
23
|
+
},
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
T_MetricTab
|
|
3
|
+
} from '~/components/common/pages/integration/zabbix/content/hosts/details/metrics/lib/models/types'
|
|
4
|
+
|
|
5
|
+
export interface I_Metric {
|
|
6
|
+
iconName: T_MetricTab
|
|
7
|
+
label: string
|
|
8
|
+
isSelected: boolean
|
|
9
|
+
on: {
|
|
10
|
+
label: string
|
|
11
|
+
color: '#239332' | '#BDC3C7'
|
|
12
|
+
}
|
|
13
|
+
off: {
|
|
14
|
+
label: string
|
|
15
|
+
color: '#EA3223' | '#BDC3C7'
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UI_T_FeedbackTab = 'warning-outline' | 'heart-outline' | 'light-bulb'
|
|
@@ -63,13 +63,19 @@
|
|
|
63
63
|
<common-select-input
|
|
64
64
|
v-model="model.frq_ordinal_number"
|
|
65
65
|
:data="frequencyOnOrdinalNumber"
|
|
66
|
-
:class="[
|
|
66
|
+
:class="[
|
|
67
|
+
'radio__select ordinary-day',
|
|
68
|
+
!isDisabledMonthlyDayField && 'disabled',
|
|
69
|
+
]"
|
|
67
70
|
/>
|
|
68
71
|
|
|
69
72
|
<common-select-input
|
|
70
73
|
v-model="model.frq_week_day"
|
|
71
74
|
:data="frequencyOnWeeksDays"
|
|
72
|
-
:class="[
|
|
75
|
+
:class="[
|
|
76
|
+
'radio__select week-days',
|
|
77
|
+
!isDisabledMonthlyDayField && 'disabled',
|
|
78
|
+
]"
|
|
73
79
|
/>
|
|
74
80
|
</div>
|
|
75
81
|
</div>
|
|
@@ -191,6 +197,18 @@ const setDefaultDateTime = () => {
|
|
|
191
197
|
&__select {
|
|
192
198
|
width: 100%;
|
|
193
199
|
margin-top: 10px;
|
|
200
|
+
:deep(.select-input__inner) {
|
|
201
|
+
max-width: 100% !important;
|
|
202
|
+
}
|
|
203
|
+
&.ordinary-day :deep(select) {
|
|
204
|
+
min-width: 80px;
|
|
205
|
+
}
|
|
206
|
+
&.week-days {
|
|
207
|
+
margin-left: 15px;
|
|
208
|
+
:deep(select) {
|
|
209
|
+
min-width: 110px;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
194
212
|
select {
|
|
195
213
|
width: 80px;
|
|
196
214
|
}
|
|
@@ -25,7 +25,7 @@ export const generateWeeklyCronExpression = (
|
|
|
25
25
|
const daysOfWeek = frg_on_week_days.join(',')
|
|
26
26
|
|
|
27
27
|
return endTimestamp
|
|
28
|
-
? `* * * * ${daysOfWeek} ${startTimestamp}-${endTimestamp}:0-0
|
|
28
|
+
? `* * * * ${daysOfWeek} ${startTimestamp}-${endTimestamp}:0-0-${data.frg_interval}-0`
|
|
29
29
|
: `* * * * ${daysOfWeek} ${startTimestamp}:0-0-0-${data.frg_interval}`
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -54,7 +54,7 @@ export const generateMonthlyCronExpression = (
|
|
|
54
54
|
)
|
|
55
55
|
const endTimestamp = Math.floor(new Date(data.frg_end_time).getTime() / 1000)
|
|
56
56
|
|
|
57
|
-
const
|
|
57
|
+
const ordinaryDaysOfMonth = `${frg_interval}#${frq_ordinal_number}`
|
|
58
58
|
|
|
59
59
|
const timestamp = endTimestamp
|
|
60
60
|
? `${startTimestamp}-${endTimestamp}`
|
|
@@ -62,6 +62,6 @@ export const generateMonthlyCronExpression = (
|
|
|
62
62
|
|
|
63
63
|
// Генерируем cron-выражение
|
|
64
64
|
return data.frg_monthly_mode === 'week'
|
|
65
|
-
? `* * * *
|
|
66
|
-
: `* * ${frg_monthly_day}
|
|
65
|
+
? `* * * * ${frq_week_day} ${timestamp}:0-0-0-${ordinaryDaysOfMonth}`
|
|
66
|
+
: `* * ${frg_monthly_day} * * ${timestamp}:0-0-0-${frg_interval}`
|
|
67
67
|
}
|
package/lib/models/interfaces.ts
CHANGED
|
@@ -37,6 +37,7 @@ export interface UI_I_Localization {
|
|
|
37
37
|
events: UI_I_ArbitraryObject<string>
|
|
38
38
|
zabbix: UI_I_ArbitraryObject<string>
|
|
39
39
|
remoteConsole: UI_I_ArbitraryObject<string>
|
|
40
|
+
vmWizard: UI_I_ArbitraryObject<string>
|
|
40
41
|
}
|
|
41
42
|
export interface UI_I_SendTaskParams {
|
|
42
43
|
method: string
|
package/package.json
CHANGED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ui-modal
|
|
3
|
-
show
|
|
4
|
-
width="560px"
|
|
5
|
-
test-id="feedback-modal"
|
|
6
|
-
:title="localization.common.sendFeedback"
|
|
7
|
-
:texts="texts"
|
|
8
|
-
class="feedback"
|
|
9
|
-
@submit="onSubmit"
|
|
10
|
-
@hide="onHideModal"
|
|
11
|
-
>
|
|
12
|
-
<template #content>
|
|
13
|
-
<ui-modal-block-standard>
|
|
14
|
-
<common-layout-the-header-feedback-new-description />
|
|
15
|
-
|
|
16
|
-
</ui-modal-block-standard>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<template #footerLeftContent><span /></template>
|
|
20
|
-
</ui-modal>
|
|
21
|
-
</template>
|
|
22
|
-
|
|
23
|
-
<script setup lang="ts">
|
|
24
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
25
|
-
// import type { UI_I_FeedbackForm } from '~/components/common/feedback/lib/models/interfaces'
|
|
26
|
-
|
|
27
|
-
// const props = defineProps<{
|
|
28
|
-
// title: string
|
|
29
|
-
// }>()
|
|
30
|
-
// console.log(props)
|
|
31
|
-
// const emits = defineEmits<{
|
|
32
|
-
// (event: 'hide'): void
|
|
33
|
-
// (event: 'submit', value: UI_I_FeedbackForm): void
|
|
34
|
-
// }>()
|
|
35
|
-
|
|
36
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
37
|
-
|
|
38
|
-
const texts = {
|
|
39
|
-
button1: localization.value.common.send,
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
const onHideModal = (): void => {
|
|
43
|
-
// emits('hide')
|
|
44
|
-
}
|
|
45
|
-
const onSubmit = (): void => {}
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
<style lang="scss">
|
|
49
|
-
:root {
|
|
50
|
-
--description-color: #414b57;
|
|
51
|
-
--link-visited-color: #5659b8;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
:root.dark-theme {
|
|
55
|
-
--description-color: #adbbc4;
|
|
56
|
-
--link-visited-color: #49afd9;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.feedback {
|
|
60
|
-
}
|
|
61
|
-
</style>
|