@touchpoll/tp-survey 0.0.2 → 0.0.4
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/esm2022/lib/component/survey.play/survey.play.component.mjs +3 -3
- package/esm2022/lib/core/tp.survey.answer/tp.survey.answer.mjs +1 -1
- package/esm2022/lib/core/tp.survey.interview/tp.survey.interview.service.mjs +8 -10
- package/esm2022/lib/pipe/multi.lang.object.to.html/multi.lang.object.to.html.pipe.mjs +13 -5
- package/esm2022/lib/tp.survey.interface.mjs +1 -1
- package/fesm2022/touchpoll-tp-survey.mjs +61 -56
- package/fesm2022/touchpoll-tp-survey.mjs.map +1 -1
- package/lib/core/tp.survey.answer/tp.survey.answer.d.ts +1 -1
- package/lib/pipe/multi.lang.object.to.html/multi.lang.object.to.html.pipe.d.ts +5 -3
- package/lib/tp.survey.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { AdditionalAnswer, LogicObject } from '../../tp.survey.type';
|
|
|
3
3
|
export declare class Answer implements IQuestionAnswer {
|
|
4
4
|
readonly QuestionGUID: number;
|
|
5
5
|
readonly QuestionVersion: number;
|
|
6
|
-
readonly AnswerAdditional: Record<
|
|
6
|
+
readonly AnswerAdditional: Record<string, AdditionalAnswer>;
|
|
7
7
|
readonly ViewedAlternativeValues: Array<number>;
|
|
8
8
|
readonly ViewedSectionGuids: Array<number>;
|
|
9
9
|
readonly AlternativeSequenceClicks: Array<[number, number]>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import { IdbMultilangObject } from '../../tp.survey.interface';
|
|
3
|
+
import { IdbLogicCaptionObject, IdbMultilangObject } from '../../tp.survey.interface';
|
|
4
|
+
import { TpSurveyLogicService } from '../../core/tp.survey.logic/tp.survey.logic.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MultiLangObjectToHtmlPipe implements PipeTransform {
|
|
6
7
|
private readonly _sanitizer;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
private readonly _logic;
|
|
9
|
+
constructor(_sanitizer: DomSanitizer, _logic: TpSurveyLogicService);
|
|
10
|
+
transform(caption: Array<IdbMultilangObject>, language: number, logicCaptions?: Array<IdbLogicCaptionObject>): SafeHtml;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiLangObjectToHtmlPipe, never>;
|
|
10
12
|
static ɵpipe: i0.ɵɵPipeDeclaration<MultiLangObjectToHtmlPipe, "multiLangObjectToHtml", true>;
|
|
11
13
|
}
|
|
@@ -254,6 +254,7 @@ export interface IQuestionAnswer {
|
|
|
254
254
|
AnswerAdditional: Record<number, AdditionalAnswer>;
|
|
255
255
|
ViewedAlternativeValues: Array<number>;
|
|
256
256
|
ViewedSectionGuids: Array<number>;
|
|
257
|
+
AlternativeSequenceClicks: Array<[number, number]>;
|
|
257
258
|
}
|
|
258
259
|
export interface IInterviewAutoSaveData {
|
|
259
260
|
interview_auto_save_id: string;
|