bfg-common 1.5.92 → 1.5.94
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/scss/common/normalize.scss +347 -347
- package/components/atoms/alert/Notification.vue +169 -169
- package/components/atoms/autocomplete/Autocomplete.vue +361 -362
- package/components/atoms/collapse/CollapseNav.vue +169 -169
- package/components/atoms/comboDropdownMenu/ComboDropdownMenu.vue +357 -357
- package/components/atoms/combobox/Combobox.vue +154 -154
- package/components/atoms/datepicker/Datepicker.vue +639 -639
- package/components/atoms/dropdown/Portlet.vue +113 -113
- package/components/atoms/dropdown/dropdown/Dropdown.vue +168 -168
- package/components/atoms/dropdown/tree/Tree.vue +137 -137
- package/components/atoms/list/SelectList.vue +63 -63
- package/components/atoms/list/dragDropList/DragDropList.vue +148 -148
- package/components/atoms/modal/Modal.vue +250 -250
- package/components/atoms/modal/bySteps/BySteps.vue +253 -253
- package/components/atoms/notificationBar/NotificationBar.vue +178 -178
- package/components/atoms/popover/Popover.vue +58 -58
- package/components/atoms/popover/lib/models/interfaces.ts +4 -4
- package/components/atoms/select/TheSelect.vue +187 -187
- package/components/atoms/stack/StackBlock.vue +185 -185
- package/components/atoms/stack/StackContent.vue +63 -63
- package/components/atoms/step/lib/models/verticalStepItem.ts +5 -5
- package/components/atoms/switch/Switch.vue +111 -111
- package/components/atoms/table/compact/Compact.vue +529 -529
- package/components/atoms/table/dataGrid/DataGrid.vue +1716 -1713
- package/components/atoms/table/dataGrid/DataGridPage.vue +195 -195
- package/components/atoms/table/info/Info.vue +2 -2
- package/components/atoms/table/simpleEvent/SimpleEvent.vue +98 -98
- package/components/atoms/table/simpleInfo/SimpleInfo.vue +73 -73
- package/components/atoms/tabs/Tabs.vue +217 -217
- package/components/atoms/wizard/Wizard.vue +341 -341
- package/components/common/accordion/Recursion.vue +222 -222
- package/components/common/adapterManager/AddAdapterModal.vue +561 -561
- package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +30 -30
- package/components/common/adapterManager/ui/table/Table.vue +162 -162
- package/components/common/browse/BrowseNew.vue +237 -237
- package/components/common/browse/BrowseOld.vue +217 -217
- package/components/common/browse/blocks/TitleNew.vue +145 -145
- package/components/common/browse/blocks/TitleOld.vue +91 -91
- package/components/common/browse/blocks/contents/FilesOld.vue +72 -72
- package/components/common/chartOptionsModal/counters/timespan/form/FormNew.vue +262 -262
- package/components/common/context/Context.vue +111 -111
- package/components/common/context/recursion/RecursionOld.vue +228 -228
- package/components/common/details/DetailsItem.vue +109 -109
- package/components/common/feedback/Buttons.vue +229 -229
- package/components/common/feedback/Feedback.vue +270 -270
- package/components/common/feedback/Message.vue +519 -519
- package/components/common/graph/graphNew/GraphNew.vue +194 -194
- package/components/common/graph/lib/utils/renderGraph.ts +389 -389
- package/components/common/layout/theHeader/feedback/new/New.vue +227 -227
- package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +606 -606
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +98 -98
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +59 -59
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +43 -43
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +103 -103
- package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +112 -112
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +80 -80
- package/components/common/layout/theHeader/helpMenu/helpMenuOld/HelpMenuOld.vue +1 -1
- package/components/common/layout/theHeader/modals/Reconnect.vue +2 -2
- package/components/common/layout/theHeader/modals/RedirectLogin.vue +3 -3
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +8 -8
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordOld.vue +3 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageOld.vue +2 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleOld.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +2 -2
- package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
- package/components/common/layout/theHeader/userMenu/userMenuOld/UserMenuOld.vue +1 -1
- package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +2 -2
- package/components/common/modals/Rename.vue +2 -2
- package/components/common/modals/confirmByInput/ConfirmByInput.vue +2 -3
- package/components/common/modals/confirmByInput/ConfirmByInputOld.vue +3 -3
- package/components/common/modals/confirmation/ConfirmationOld.vue +1 -1
- package/components/common/modals/unsavedChanges/UnsavedChanges.vue +1 -1
- package/components/common/monitor/advanced/Advanced.vue +1 -1
- package/components/common/monitor/advanced/AdvancedNew.vue +1 -1
- package/components/common/monitor/advanced/AdvancedOld.vue +1 -1
- package/components/common/monitor/advanced/graphView/GraphViewNew.vue +1 -1
- package/components/common/monitor/advanced/graphView/GraphViewOld.vue +1 -1
- package/components/common/monitor/advanced/table/Table.vue +1 -1
- package/components/common/monitor/advanced/table/tableNew/TableNew.vue +2 -2
- package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +2 -2
- package/components/common/monitor/advanced/tools/ToolsOld.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/NotificationOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/config/tableConfig.ts +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +10 -3
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectNew/ObjectNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectOld/ObjectOld.vue +2 -2
- package/components/common/monitor/advanced/tools/lib/utils/countCores.ts +1 -1
- package/components/common/monitor/lib/models/interfaces.ts +1 -1
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModalOld.vue +3 -3
- package/components/common/monitor/overview/filters/customIntervalModal/customIntervalModalNew/CustomIntervalModalNew.vue +4 -3
- package/components/common/monitor/resourceAllocation/lib/models/interfaces.ts +8 -8
- package/components/common/monitor/resourceAllocation/resourceAllocation.vue +2 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +5 -5
- package/components/common/wizards/vm/migrate/Migrate.vue +39 -2
- package/components/common/wizards/vm/migrate/vmOrigin/VmOrigin.vue +92 -0
- package/components/common/wizards/vm/migrate/vmOrigin/lib/models/interfaces.ts +19 -0
- package/components/common/wizards/vm/migrate/vmOrigin/lib/utils/constructItems.ts +62 -0
- package/package.json +1 -1
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="headline">
|
|
3
|
-
<span class="headline__label">
|
|
4
|
-
{{ localization.common.additionalDetails }}
|
|
5
|
-
</span>
|
|
6
|
-
<ui-icon
|
|
7
|
-
id="feedback-additional-details-info-icon"
|
|
8
|
-
:class="['headline__icon pointer', isShowInfo && 'active']"
|
|
9
|
-
name="info"
|
|
10
|
-
width="16"
|
|
11
|
-
height="16"
|
|
12
|
-
@click="isShowInfo = !isShowInfo"
|
|
13
|
-
/>
|
|
14
|
-
<ui-popup-window
|
|
15
|
-
v-model="isShowInfo"
|
|
16
|
-
:elem-id="'feedback-additional-details-info-icon'"
|
|
17
|
-
width="288px"
|
|
18
|
-
is-priority-right-position
|
|
19
|
-
>
|
|
20
|
-
<div class="common-widget-info">
|
|
21
|
-
<div class="flex justify-between">
|
|
22
|
-
<div class="flex">
|
|
23
|
-
<ui-icon-icon3 name="info-2" width="16px" height="16px" />
|
|
24
|
-
<span class="title">
|
|
25
|
-
{{ localization.feedback.additionalDetailsHelp }}
|
|
26
|
-
</span>
|
|
27
|
-
</div>
|
|
28
|
-
<ui-icon
|
|
29
|
-
name="close"
|
|
30
|
-
class="pointer hide-icon"
|
|
31
|
-
width="16px"
|
|
32
|
-
height="16px"
|
|
33
|
-
@click="isShowInfo = false"
|
|
34
|
-
/>
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<div class="common-widget-info-description">
|
|
38
|
-
{{ localization.feedback.additionalDetailsTooltip }}
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</ui-popup-window>
|
|
42
|
-
</div>
|
|
43
|
-
</template>
|
|
44
|
-
|
|
45
|
-
<script lang="ts" setup>
|
|
46
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
47
|
-
|
|
48
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
49
|
-
|
|
50
|
-
const isShowInfo = ref<boolean>(false)
|
|
51
|
-
</script>
|
|
52
|
-
|
|
53
|
-
<style lang="scss" scoped>
|
|
54
|
-
@import 'assets/scss/common/mixins.scss';
|
|
55
|
-
.headline {
|
|
56
|
-
@include flex($align: center);
|
|
57
|
-
margin: 32px 0 16px;
|
|
58
|
-
|
|
59
|
-
&__icon {
|
|
60
|
-
color: var(--feedback-tooltip-trigger-color);
|
|
61
|
-
&:hover {
|
|
62
|
-
color: var(--feedback-tooltip-hover-trigger-color);
|
|
63
|
-
}
|
|
64
|
-
&.active {
|
|
65
|
-
color: var(--feedback-tooltip-acctive-trigger-color);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
&__label {
|
|
69
|
-
line-height: 19.36px;
|
|
70
|
-
font-size: 16px;
|
|
71
|
-
font-weight: 500;
|
|
72
|
-
color: var(--feedback-text-color);
|
|
73
|
-
margin-right: 8px;
|
|
74
|
-
}
|
|
75
|
-
.common-widget-info {
|
|
76
|
-
padding: 16px;
|
|
77
|
-
.title {
|
|
78
|
-
font-size: 14px;
|
|
79
|
-
font-weight: 500;
|
|
80
|
-
line-height: 16.94px;
|
|
81
|
-
color: var(--feedback-text-color);
|
|
82
|
-
margin-left: 8px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.common-widget-info-description {
|
|
86
|
-
font-size: 13px;
|
|
87
|
-
line-height: 15.73px;
|
|
88
|
-
color: var(--feedback-text-color);
|
|
89
|
-
margin-top: 12px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
svg {
|
|
93
|
-
color: var(--feedback-tooltip-close-color);
|
|
94
|
-
min-width: 16px;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="headline">
|
|
3
|
+
<span class="headline__label">
|
|
4
|
+
{{ localization.common.additionalDetails }}
|
|
5
|
+
</span>
|
|
6
|
+
<ui-icon
|
|
7
|
+
id="feedback-additional-details-info-icon"
|
|
8
|
+
:class="['headline__icon pointer', isShowInfo && 'active']"
|
|
9
|
+
name="info"
|
|
10
|
+
width="16"
|
|
11
|
+
height="16"
|
|
12
|
+
@click="isShowInfo = !isShowInfo"
|
|
13
|
+
/>
|
|
14
|
+
<ui-popup-window
|
|
15
|
+
v-model="isShowInfo"
|
|
16
|
+
:elem-id="'feedback-additional-details-info-icon'"
|
|
17
|
+
width="288px"
|
|
18
|
+
is-priority-right-position
|
|
19
|
+
>
|
|
20
|
+
<div class="common-widget-info">
|
|
21
|
+
<div class="flex justify-between">
|
|
22
|
+
<div class="flex">
|
|
23
|
+
<ui-icon-icon3 name="info-2" width="16px" height="16px" />
|
|
24
|
+
<span class="title">
|
|
25
|
+
{{ localization.feedback.additionalDetailsHelp }}
|
|
26
|
+
</span>
|
|
27
|
+
</div>
|
|
28
|
+
<ui-icon
|
|
29
|
+
name="close"
|
|
30
|
+
class="pointer hide-icon"
|
|
31
|
+
width="16px"
|
|
32
|
+
height="16px"
|
|
33
|
+
@click="isShowInfo = false"
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="common-widget-info-description">
|
|
38
|
+
{{ localization.feedback.additionalDetailsTooltip }}
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</ui-popup-window>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script lang="ts" setup>
|
|
46
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
47
|
+
|
|
48
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
49
|
+
|
|
50
|
+
const isShowInfo = ref<boolean>(false)
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
<style lang="scss" scoped>
|
|
54
|
+
@import 'assets/scss/common/mixins.scss';
|
|
55
|
+
.headline {
|
|
56
|
+
@include flex($align: center);
|
|
57
|
+
margin: 32px 0 16px;
|
|
58
|
+
|
|
59
|
+
&__icon {
|
|
60
|
+
color: var(--feedback-tooltip-trigger-color);
|
|
61
|
+
&:hover {
|
|
62
|
+
color: var(--feedback-tooltip-hover-trigger-color);
|
|
63
|
+
}
|
|
64
|
+
&.active {
|
|
65
|
+
color: var(--feedback-tooltip-acctive-trigger-color);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
&__label {
|
|
69
|
+
line-height: 19.36px;
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
color: var(--feedback-text-color);
|
|
73
|
+
margin-right: 8px;
|
|
74
|
+
}
|
|
75
|
+
.common-widget-info {
|
|
76
|
+
padding: 16px;
|
|
77
|
+
.title {
|
|
78
|
+
font-size: 14px;
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
line-height: 16.94px;
|
|
81
|
+
color: var(--feedback-text-color);
|
|
82
|
+
margin-left: 8px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.common-widget-info-description {
|
|
86
|
+
font-size: 13px;
|
|
87
|
+
line-height: 15.73px;
|
|
88
|
+
color: var(--feedback-text-color);
|
|
89
|
+
margin-top: 12px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
svg {
|
|
93
|
+
color: var(--feedback-tooltip-close-color);
|
|
94
|
+
min-width: 16px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</style>
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="description">
|
|
3
|
-
<h4 class="description__title">{{ localization.common.description }}</h4>
|
|
4
|
-
|
|
5
|
-
<ui-textarea
|
|
6
|
-
v-model="descriptionModelLocal"
|
|
7
|
-
:disabled="!selectedTab"
|
|
8
|
-
:placeholder="descriptionTextPlaceholder"
|
|
9
|
-
:error="descriptionErrorText"
|
|
10
|
-
test-id="feedback-description"
|
|
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
|
-
const isValidModel = defineModel<boolean>('isValid', { required: true })
|
|
25
|
-
|
|
26
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
27
|
-
|
|
28
|
-
const descriptionTextPlaceholder = computed<string>(() => {
|
|
29
|
-
if (props.selectedTab === 'warning-outline')
|
|
30
|
-
return localization.value.common.whatIsTheProblemHowCan
|
|
31
|
-
if (props.selectedTab === 'heart-outline')
|
|
32
|
-
return localization.value.common.tellUsWhatYouEnjoyedSo
|
|
33
|
-
return localization.value.common.selectFeedbackType
|
|
34
|
-
})
|
|
35
|
-
|
|
36
|
-
const descriptionErrorText = computed<boolean>(() => {
|
|
37
|
-
return !isValidModel.value && !descriptionModelLocal.value
|
|
38
|
-
? localization.value.common.fieldRequired
|
|
39
|
-
: ''
|
|
40
|
-
})
|
|
41
|
-
</script>
|
|
42
|
-
|
|
43
|
-
<style lang="scss" scoped>
|
|
44
|
-
.description {
|
|
45
|
-
margin-top: 32px;
|
|
46
|
-
&__title {
|
|
47
|
-
line-height: 19.36px;
|
|
48
|
-
margin-bottom: 16px;
|
|
49
|
-
font-size: 16px;
|
|
50
|
-
font-weight: 500;
|
|
51
|
-
color: var(--feedback-text-color);
|
|
52
|
-
}
|
|
53
|
-
:deep(.ui-main-textarea) {
|
|
54
|
-
resize: none;
|
|
55
|
-
height: 68px;
|
|
56
|
-
font-size: 12px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="description">
|
|
3
|
+
<h4 class="description__title">{{ localization.common.description }}</h4>
|
|
4
|
+
|
|
5
|
+
<ui-textarea
|
|
6
|
+
v-model="descriptionModelLocal"
|
|
7
|
+
:disabled="!selectedTab"
|
|
8
|
+
:placeholder="descriptionTextPlaceholder"
|
|
9
|
+
:error="descriptionErrorText"
|
|
10
|
+
test-id="feedback-description"
|
|
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
|
+
const isValidModel = defineModel<boolean>('isValid', { required: true })
|
|
25
|
+
|
|
26
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
27
|
+
|
|
28
|
+
const descriptionTextPlaceholder = computed<string>(() => {
|
|
29
|
+
if (props.selectedTab === 'warning-outline')
|
|
30
|
+
return localization.value.common.whatIsTheProblemHowCan
|
|
31
|
+
if (props.selectedTab === 'heart-outline')
|
|
32
|
+
return localization.value.common.tellUsWhatYouEnjoyedSo
|
|
33
|
+
return localization.value.common.selectFeedbackType
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
const descriptionErrorText = computed<boolean>(() => {
|
|
37
|
+
return !isValidModel.value && !descriptionModelLocal.value
|
|
38
|
+
? localization.value.common.fieldRequired
|
|
39
|
+
: ''
|
|
40
|
+
})
|
|
41
|
+
</script>
|
|
42
|
+
|
|
43
|
+
<style lang="scss" scoped>
|
|
44
|
+
.description {
|
|
45
|
+
margin-top: 32px;
|
|
46
|
+
&__title {
|
|
47
|
+
line-height: 19.36px;
|
|
48
|
+
margin-bottom: 16px;
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
color: var(--feedback-text-color);
|
|
52
|
+
}
|
|
53
|
+
:deep(.ui-main-textarea) {
|
|
54
|
+
resize: none;
|
|
55
|
+
height: 68px;
|
|
56
|
+
font-size: 12px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="email">
|
|
3
|
-
<h4 class="email__title">{{ localization.common.emailAddress }}</h4>
|
|
4
|
-
|
|
5
|
-
<ui-input
|
|
6
|
-
v-model="emailModelLocal"
|
|
7
|
-
:error="emailErrorText"
|
|
8
|
-
:placeholder="localization.common.emailAddressOptional"
|
|
9
|
-
type="text"
|
|
10
|
-
test-id="feedback-email"
|
|
11
|
-
/>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script setup lang="ts">
|
|
16
|
-
import { RegExp } from '~/lib/config/regExp'
|
|
17
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
18
|
-
|
|
19
|
-
const emailModelLocal = defineModel<string>({ required: true })
|
|
20
|
-
|
|
21
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
22
|
-
|
|
23
|
-
const emailErrorText = computed<string>(() => {
|
|
24
|
-
if (!emailModelLocal.value) return ''
|
|
25
|
-
|
|
26
|
-
return RegExp.email.test(emailModelLocal.value)
|
|
27
|
-
? ''
|
|
28
|
-
: localization.value.common.emailErrorText
|
|
29
|
-
})
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
<style scoped lang="scss">
|
|
33
|
-
.email {
|
|
34
|
-
margin-top: 32px;
|
|
35
|
-
&__title {
|
|
36
|
-
line-height: 19.36px;
|
|
37
|
-
margin-bottom: 16px;
|
|
38
|
-
font-size: 16px;
|
|
39
|
-
font-weight: 500;
|
|
40
|
-
color: var(--feedback-text-color);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="email">
|
|
3
|
+
<h4 class="email__title">{{ localization.common.emailAddress }}</h4>
|
|
4
|
+
|
|
5
|
+
<ui-input
|
|
6
|
+
v-model="emailModelLocal"
|
|
7
|
+
:error="emailErrorText"
|
|
8
|
+
:placeholder="localization.common.emailAddressOptional"
|
|
9
|
+
type="text"
|
|
10
|
+
test-id="feedback-email"
|
|
11
|
+
/>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script setup lang="ts">
|
|
16
|
+
import { RegExp } from '~/lib/config/regExp'
|
|
17
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
18
|
+
|
|
19
|
+
const emailModelLocal = defineModel<string>({ required: true })
|
|
20
|
+
|
|
21
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
22
|
+
|
|
23
|
+
const emailErrorText = computed<string>(() => {
|
|
24
|
+
if (!emailModelLocal.value) return ''
|
|
25
|
+
|
|
26
|
+
return RegExp.email.test(emailModelLocal.value)
|
|
27
|
+
? ''
|
|
28
|
+
: localization.value.common.emailErrorText
|
|
29
|
+
})
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<style scoped lang="scss">
|
|
33
|
+
.email {
|
|
34
|
+
margin-top: 32px;
|
|
35
|
+
&__title {
|
|
36
|
+
line-height: 19.36px;
|
|
37
|
+
margin-bottom: 16px;
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
color: var(--feedback-text-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
</style>
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="subtitle">
|
|
3
|
-
<span class="subtitle__label">
|
|
4
|
-
{{ localization.common.helpUsImprove }}
|
|
5
|
-
</span>
|
|
6
|
-
<ui-icon
|
|
7
|
-
id="feedback-description-info-icon"
|
|
8
|
-
name="info"
|
|
9
|
-
width="16"
|
|
10
|
-
height="16"
|
|
11
|
-
:class="['subtitle__icon pointer', isShowInfo && 'active']"
|
|
12
|
-
@click="isShowInfo = !isShowInfo"
|
|
13
|
-
/>
|
|
14
|
-
<ui-popup-window
|
|
15
|
-
v-model="isShowInfo"
|
|
16
|
-
:elem-id="'feedback-description-info-icon'"
|
|
17
|
-
width="320px"
|
|
18
|
-
class="subtitle__tooltip"
|
|
19
|
-
is-priority-right-position
|
|
20
|
-
>
|
|
21
|
-
<div class="common-widget-info">
|
|
22
|
-
<div class="headline justify-between flex-align-start">
|
|
23
|
-
<div class="flex-align-start">
|
|
24
|
-
<ui-icon name="info-2" width="16px" height="16px" />
|
|
25
|
-
<span class="title">{{ localization.common.feedbackHelp }}</span>
|
|
26
|
-
</div>
|
|
27
|
-
<ui-icon
|
|
28
|
-
name="close"
|
|
29
|
-
class="pointer hide-icon"
|
|
30
|
-
width="16px"
|
|
31
|
-
height="16px"
|
|
32
|
-
@click="isShowInfo = false"
|
|
33
|
-
/>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<div class="common-widget-info-description">
|
|
37
|
-
{{ localization.common.anyFeedbackYouProvideMay }}
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</ui-popup-window>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script lang="ts" setup>
|
|
45
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
46
|
-
|
|
47
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
48
|
-
|
|
49
|
-
const isShowInfo = ref<boolean>(false)
|
|
50
|
-
</script>
|
|
51
|
-
|
|
52
|
-
<style lang="scss" scoped>
|
|
53
|
-
.subtitle {
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: space-between;
|
|
56
|
-
border-bottom: 1px solid var(--horizontal-line);
|
|
57
|
-
padding: 24px 0 12px;
|
|
58
|
-
|
|
59
|
-
&__icon {
|
|
60
|
-
color: var(--feedback-tooltip-trigger-color);
|
|
61
|
-
&:hover {
|
|
62
|
-
color: var(--feedback-tooltip-hover-trigger-color);
|
|
63
|
-
}
|
|
64
|
-
&.active {
|
|
65
|
-
color: var(--feedback-tooltip-acctive-trigger-color);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
&__tooltip {
|
|
69
|
-
.flex-align-center {
|
|
70
|
-
height: 16px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&__label {
|
|
75
|
-
font-size: 12px;
|
|
76
|
-
font-weight: 400;
|
|
77
|
-
line-height: 14.52px;
|
|
78
|
-
color: #9da6ad;
|
|
79
|
-
}
|
|
80
|
-
.common-widget-info {
|
|
81
|
-
padding: 16px;
|
|
82
|
-
.title {
|
|
83
|
-
font-size: 14px;
|
|
84
|
-
font-weight: 500;
|
|
85
|
-
line-height: 16.94px;
|
|
86
|
-
color: var(--feedback-text-color);
|
|
87
|
-
margin-left: 8px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.common-widget-info-description {
|
|
91
|
-
font-size: 13px;
|
|
92
|
-
line-height: 15.73px;
|
|
93
|
-
color: var(--feedback-text-color);
|
|
94
|
-
margin-top: 12px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
svg {
|
|
98
|
-
flex: none;
|
|
99
|
-
color: var(--feedback-tooltip-close-color);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="subtitle">
|
|
3
|
+
<span class="subtitle__label">
|
|
4
|
+
{{ localization.common.helpUsImprove }}
|
|
5
|
+
</span>
|
|
6
|
+
<ui-icon
|
|
7
|
+
id="feedback-description-info-icon"
|
|
8
|
+
name="info"
|
|
9
|
+
width="16"
|
|
10
|
+
height="16"
|
|
11
|
+
:class="['subtitle__icon pointer', isShowInfo && 'active']"
|
|
12
|
+
@click="isShowInfo = !isShowInfo"
|
|
13
|
+
/>
|
|
14
|
+
<ui-popup-window
|
|
15
|
+
v-model="isShowInfo"
|
|
16
|
+
:elem-id="'feedback-description-info-icon'"
|
|
17
|
+
width="320px"
|
|
18
|
+
class="subtitle__tooltip"
|
|
19
|
+
is-priority-right-position
|
|
20
|
+
>
|
|
21
|
+
<div class="common-widget-info">
|
|
22
|
+
<div class="headline justify-between flex-align-start">
|
|
23
|
+
<div class="flex-align-start">
|
|
24
|
+
<ui-icon name="info-2" width="16px" height="16px" />
|
|
25
|
+
<span class="title">{{ localization.common.feedbackHelp }}</span>
|
|
26
|
+
</div>
|
|
27
|
+
<ui-icon
|
|
28
|
+
name="close"
|
|
29
|
+
class="pointer hide-icon"
|
|
30
|
+
width="16px"
|
|
31
|
+
height="16px"
|
|
32
|
+
@click="isShowInfo = false"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div class="common-widget-info-description">
|
|
37
|
+
{{ localization.common.anyFeedbackYouProvideMay }}
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</ui-popup-window>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script lang="ts" setup>
|
|
45
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
46
|
+
|
|
47
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
48
|
+
|
|
49
|
+
const isShowInfo = ref<boolean>(false)
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<style lang="scss" scoped>
|
|
53
|
+
.subtitle {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: space-between;
|
|
56
|
+
border-bottom: 1px solid var(--horizontal-line);
|
|
57
|
+
padding: 24px 0 12px;
|
|
58
|
+
|
|
59
|
+
&__icon {
|
|
60
|
+
color: var(--feedback-tooltip-trigger-color);
|
|
61
|
+
&:hover {
|
|
62
|
+
color: var(--feedback-tooltip-hover-trigger-color);
|
|
63
|
+
}
|
|
64
|
+
&.active {
|
|
65
|
+
color: var(--feedback-tooltip-acctive-trigger-color);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
&__tooltip {
|
|
69
|
+
.flex-align-center {
|
|
70
|
+
height: 16px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__label {
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
font-weight: 400;
|
|
77
|
+
line-height: 14.52px;
|
|
78
|
+
color: #9da6ad;
|
|
79
|
+
}
|
|
80
|
+
.common-widget-info {
|
|
81
|
+
padding: 16px;
|
|
82
|
+
.title {
|
|
83
|
+
font-size: 14px;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
line-height: 16.94px;
|
|
86
|
+
color: var(--feedback-text-color);
|
|
87
|
+
margin-left: 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.common-widget-info-description {
|
|
91
|
+
font-size: 13px;
|
|
92
|
+
line-height: 15.73px;
|
|
93
|
+
color: var(--feedback-text-color);
|
|
94
|
+
margin-top: 12px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
svg {
|
|
98
|
+
flex: none;
|
|
99
|
+
color: var(--feedback-tooltip-close-color);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
</style>
|