@webitel/ui-sdk 25.6.11 → 25.6.13
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/CHANGELOG.md +12 -0
- package/dist/img/sprite/index.js +3 -0
- package/dist/img/sprite/portal.svg +3 -0
- package/dist/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +33 -10
- package/dist/types/modules/AuditForm/components/audit-form-question.vue.d.ts +11 -9
- package/dist/types/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue.d.ts +10 -12
- package/dist/ui-sdk.js +2088 -2085
- package/dist/ui-sdk.umd.cjs +16 -16
- package/package.json +1 -1
- package/src/assets/icons/sprite/index.js +3 -0
- package/src/assets/icons/sprite/portal.svg +3 -0
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +15 -19
- package/src/modules/AuditForm/components/audit-form-question.vue +10 -19
- package/src/modules/AuditForm/components/form-questions/options/audit-form-question-options.vue +1 -1
- package/src/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue +10 -18
- package/src/modules/AuditForm/components/__tests__/audit-form-question-read-wrapper.spec.js +0 -15
- package/src/modules/AuditForm/components/__tests__/audit-form-question-write-wrapper.spec.js +0 -68
- package/src/modules/AuditForm/components/__tests__/audit-form-question.spec.js +0 -15
- package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +0 -83
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [v25.6.12] - 2025-05-12
|
|
2
|
+
### :sparkles: New Features
|
|
3
|
+
- [`5dff95a`](https://github.com/webitel/webitel-ui-sdk/commit/5dff95af18314681fa30a08fa112eecc8f760c80) - added portal icon [WTEL-6785](https://webitel.atlassian.net/browse/WTEL-6785) *(commit by [@plnnsimon](https://github.com/plnnsimon))*
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## [v25.6.11] - 2025-05-12
|
|
7
|
+
### :sparkles: New Features
|
|
8
|
+
- [`fabd8e9`](https://github.com/webitel/webitel-ui-sdk/commit/fabd8e9d3aa19bfa106c1d26f796369d53902cc3) - audit-form hide-comment [WTEL-6874](https://webitel.atlassian.net/browse/WTEL-6874) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## [v25.6.10] - 2025-05-12
|
|
2
12
|
### :bug: Bug Fixes
|
|
3
13
|
- [`a5c4a57`](https://github.com/webitel/webitel-ui-sdk/commit/a5c4a575f54a78a3807c53669dba492889fe7933) - audit form answer comment [WTEL-6876](https://webitel.atlassian.net/browse/WTEL-6876) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
|
|
@@ -2124,3 +2134,5 @@
|
|
|
2124
2134
|
[v25.6.8]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.7...v25.6.8
|
|
2125
2135
|
[v25.6.9]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.8...v25.6.9
|
|
2126
2136
|
[v25.6.10]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.9...v25.6.10
|
|
2137
|
+
[v25.6.11]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.10...v25.6.11
|
|
2138
|
+
[v25.6.12]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.11...v25.6.12
|
package/dist/img/sprite/index.js
CHANGED
|
@@ -146,6 +146,7 @@ import plyrRestart from './plyr-restart.svg';
|
|
|
146
146
|
import plyrRewind from './plyr-rewind.svg';
|
|
147
147
|
import plyrSettings from './plyr-settings.svg';
|
|
148
148
|
import plyrVolume from './plyr-volume.svg';
|
|
149
|
+
import portal from './portal.svg';
|
|
149
150
|
import previewTagApplication from './preview-tag-application.svg';
|
|
150
151
|
import previewTagAudio from './preview-tag-audio.svg';
|
|
151
152
|
import previewTagImage from './preview-tag-image.svg';
|
|
@@ -390,6 +391,8 @@ export default objCamelToKebab({
|
|
|
390
391
|
|
|
391
392
|
webitelLogo,
|
|
392
393
|
|
|
394
|
+
portal,
|
|
395
|
+
|
|
393
396
|
previewTagAudio,
|
|
394
397
|
previewTagVideo,
|
|
395
398
|
previewTagApplication,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg id="portal" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM9 19.416C9.92666 19.7912 10.9388 20 12 20C12.4458 20 12.8827 19.9617 13.3086 19.8916L9 16.3008V19.416ZM15.5596 19.1641C16.6047 18.6438 17.5195 17.9024 18.2432 17H12.9629L15.5596 19.1641ZM4.83496 15.5596C5.35516 16.6047 6.09769 17.5185 7 18.2422V12.9619L4.83496 15.5596ZM12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9ZM16.3018 15H19.416C19.7912 14.0733 20 13.0612 20 12C20 11.5539 19.9618 11.1166 19.8916 10.6904L16.3018 15ZM4.58398 9C4.20875 9.92666 4 10.9388 4 12C4 12.4457 4.03734 12.8827 4.10742 13.3086L7.69824 9H4.58398ZM17 11.0371L19.1641 8.43945C18.6438 7.39467 17.9022 6.48031 17 5.75684V11.0371ZM12 4C11.554 4 11.1166 4.03724 10.6904 4.10742L15 7.69824V4.58301C14.0734 4.20786 13.0611 4 12 4ZM8.43945 4.83496C7.3945 5.35523 6.4804 6.0977 5.75684 7H11.0371L8.43945 4.83496Z" />
|
|
3
|
+
</svg>
|
|
@@ -1,12 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { EngineQuestion } from 'webitel-sdk';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
first: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
v: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
};
|
|
10
|
+
question: {
|
|
11
|
+
type: import("vue").PropType<EngineQuestion>;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
delete: (...args: any[]) => void;
|
|
15
|
+
copy: (...args: any[]) => void;
|
|
16
|
+
"update:question": (value: EngineQuestion) => void;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
first: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
10
21
|
};
|
|
11
|
-
|
|
22
|
+
v: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
};
|
|
25
|
+
question: {
|
|
26
|
+
type: import("vue").PropType<EngineQuestion>;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{
|
|
29
|
+
onDelete?: (...args: any[]) => any;
|
|
30
|
+
onCopy?: (...args: any[]) => any;
|
|
31
|
+
"onUpdate:question"?: (value: EngineQuestion) => any;
|
|
32
|
+
}>, {
|
|
33
|
+
first: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
35
|
export default _default;
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { EngineQuestion, EngineQuestionAnswer } from "webitel-sdk";
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
question: EngineQuestion;
|
|
4
|
-
answer: EngineQuestionAnswer | null;
|
|
5
3
|
first?: boolean;
|
|
6
4
|
};
|
|
7
5
|
declare function activateQuestion(): void;
|
|
8
|
-
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
'question'?: EngineQuestion;
|
|
8
|
+
'answer'?: EngineQuestionAnswer | null;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
9
11
|
activateQuestion: typeof activateQuestion;
|
|
10
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
13
|
delete: () => any;
|
|
12
14
|
copy: () => any;
|
|
13
|
-
"update:question": (
|
|
14
|
-
"update:answer": (
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
"update:question": (value: EngineQuestion) => any;
|
|
16
|
+
"update:answer": (value: EngineQuestionAnswer) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
18
|
onDelete?: () => any;
|
|
17
19
|
onCopy?: () => any;
|
|
18
|
-
"onUpdate:question"?: (
|
|
19
|
-
"onUpdate:answer"?: (
|
|
20
|
+
"onUpdate:question"?: (value: EngineQuestion) => any;
|
|
21
|
+
"onUpdate:answer"?: (value: EngineQuestionAnswer) => any;
|
|
20
22
|
}>, {
|
|
21
23
|
first: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
25
|
export default _default;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { EngineQuestionAnswer } from 'webitel-sdk';
|
|
1
|
+
import { EngineQuestion, EngineQuestionAnswer } from 'webitel-sdk';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
question: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
3
|
mode: {
|
|
8
4
|
type: StringConstructor;
|
|
9
5
|
default: string;
|
|
@@ -11,14 +7,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
7
|
answer: {
|
|
12
8
|
type: import("vue").PropType<EngineQuestionAnswer>;
|
|
13
9
|
};
|
|
14
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"change:question": (...args: any[]) => void;
|
|
16
|
-
"update:answer": (value: EngineQuestionAnswer) => void;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
10
|
question: {
|
|
19
|
-
type:
|
|
20
|
-
required: true;
|
|
11
|
+
type: import("vue").PropType<EngineQuestion>;
|
|
21
12
|
};
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:question": (value: EngineQuestion) => any;
|
|
15
|
+
"update:answer": (value: EngineQuestionAnswer) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
17
|
mode: {
|
|
23
18
|
type: StringConstructor;
|
|
24
19
|
default: string;
|
|
@@ -26,9 +21,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
21
|
answer: {
|
|
27
22
|
type: import("vue").PropType<EngineQuestionAnswer>;
|
|
28
23
|
};
|
|
24
|
+
question: {
|
|
25
|
+
type: import("vue").PropType<EngineQuestion>;
|
|
26
|
+
};
|
|
29
27
|
}>> & Readonly<{
|
|
28
|
+
"onUpdate:question"?: (value: EngineQuestion) => any;
|
|
30
29
|
"onUpdate:answer"?: (value: EngineQuestionAnswer) => any;
|
|
31
|
-
"onChange:question"?: (...args: any[]) => any;
|
|
32
30
|
}>, {
|
|
33
31
|
mode: string;
|
|
34
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|