@webitel/ui-sdk 25.8.48 → 25.8.49
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.8.
|
|
3
|
+
"version": "25.8.49",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<header class="audit-form-question-write-header">
|
|
4
4
|
<wt-switcher
|
|
5
5
|
:disabled="first"
|
|
6
|
-
:label="
|
|
6
|
+
:label="t('reusable.required')"
|
|
7
7
|
:value="question.required"
|
|
8
8
|
@change="updateQuestion({ path: 'required', value: $event })"
|
|
9
9
|
/>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
17
|
<wt-icon-btn
|
|
18
|
-
v-tooltip="
|
|
18
|
+
v-tooltip="t('reusable.delete')"
|
|
19
19
|
:disabled="first"
|
|
20
20
|
icon="bucket"
|
|
21
21
|
@click="emit('delete')"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<section class="audit-form-question-write-content">
|
|
26
26
|
<div class="audit-form-question-write-content-question">
|
|
27
27
|
<wt-input
|
|
28
|
-
:label="
|
|
28
|
+
:label="t('webitelUI.auditForm.question')"
|
|
29
29
|
:v="v.question.question"
|
|
30
30
|
:value="question.question"
|
|
31
31
|
prevent-trim
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
/>
|
|
35
35
|
<wt-select
|
|
36
36
|
:clearable="false"
|
|
37
|
-
:label="
|
|
37
|
+
:label="t('webitelUI.auditForm.answerType')"
|
|
38
38
|
:options="QuestionType"
|
|
39
39
|
:value="prettifiedQuestionType"
|
|
40
40
|
track-by="value"
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
<script lang="ts" setup>
|
|
54
54
|
import cloneDeep from 'lodash/cloneDeep';
|
|
55
55
|
import { computed } from 'vue';
|
|
56
|
+
import { useI18n } from 'vue-i18n';
|
|
56
57
|
import { EngineAuditQuestionType, EngineQuestion } from 'webitel-sdk';
|
|
57
58
|
|
|
58
59
|
import WtIconBtn from '../../../components/wt-icon-btn/wt-icon-btn.vue';
|
|
@@ -80,6 +81,8 @@ defineProps({
|
|
|
80
81
|
|
|
81
82
|
const emit = defineEmits(['copy', 'delete']);
|
|
82
83
|
|
|
84
|
+
const { t } = useI18n();
|
|
85
|
+
|
|
83
86
|
const QuestionType = [
|
|
84
87
|
{
|
|
85
88
|
value: EngineAuditQuestionType.Option,
|