@touchpoll/tp-survey 0.0.23 → 0.0.24
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/answer/answer.additional/answer.additional.component.mjs +5 -5
- package/esm2022/lib/component/answer/answer.additional/directive/additional.answer.caption.position/additional.answer.caption.position.directive.mjs +4 -4
- package/esm2022/lib/component/answer/answer.end/answer.end.component.mjs +4 -4
- package/esm2022/lib/component/answer/answer.info/answer.info.component.mjs +4 -4
- package/esm2022/lib/component/answer/answer.lang/answer.lang.component.mjs +4 -4
- package/esm2022/lib/component/answer/answer.master/answer.master.component.mjs +4 -4
- package/esm2022/lib/component/answer/answer.ms/answer.ms.component.mjs +8 -8
- package/esm2022/lib/component/answer/answer.od/answer.od.component.mjs +4 -4
- package/esm2022/lib/component/answer/answer.ol/answer.ol.component.mjs +4 -4
- package/esm2022/lib/component/answer/answer.sl/answer.sl.component.mjs +5 -5
- package/esm2022/lib/component/answer/answer.sl/pipe/as.form.array/as.form.array.pipe.mjs +4 -4
- package/esm2022/lib/component/answer/answer.sl/pipe/as.form.control/as.form.control.pipe.mjs +4 -4
- package/esm2022/lib/component/answer/answer.ss/answer.ss.component.mjs +9 -15
- package/esm2022/lib/component/answer/container.answer/container.answer.component.mjs +4 -4
- package/esm2022/lib/component/navigation.button/navigation.button.component.mjs +4 -4
- package/esm2022/lib/component/question.caption/question.caption.component.mjs +4 -4
- package/esm2022/lib/component/survey.play/survey.play.component.mjs +5 -5
- package/esm2022/lib/component/survey.question.preview/survey.question.preview.component.mjs +6 -6
- package/esm2022/lib/core/tp.survey.core/tp.survey.core.service.mjs +4 -4
- package/esm2022/lib/core/tp.survey.interview/tp.survey.interview.service.mjs +4 -4
- package/esm2022/lib/core/tp.survey.logic/tp.survey.logic.service.mjs +4 -4
- package/esm2022/lib/directive/alternatives.container/alternatives.container.directive.mjs +4 -4
- package/esm2022/lib/directive/focus.and.select/focus.and.select.directive.mjs +4 -4
- package/esm2022/lib/directive/survey.theme/survey.theme.directive.mjs +4 -4
- package/esm2022/lib/directive/update.font.size/update.font.size.directive.mjs +4 -4
- package/esm2022/lib/icons/default.icons/default.icons.module.mjs +5 -5
- package/esm2022/lib/pipe/get.active.language/get.active.language.pipe.mjs +4 -4
- package/esm2022/lib/pipe/get.additional.value.by.value/get.additional.value.by.value.pipe.mjs +4 -4
- package/esm2022/lib/pipe/get.question.image.background.size/get.question.image.background.css.size.pipe.mjs +39 -0
- package/esm2022/lib/pipe/key.values/key.values.pipe.mjs +4 -4
- package/esm2022/lib/pipe/multi.lang.object.to.html/multi.lang.object.to.html.pipe.mjs +4 -4
- package/esm2022/lib/tp.survey.interface.mjs +1 -1
- package/esm2022/lib/tp.survey.module.mjs +5 -5
- package/fesm2022/touchpoll-tp-survey.mjs +146 -112
- package/fesm2022/touchpoll-tp-survey.mjs.map +1 -1
- package/lib/pipe/get.question.image.background.size/get.question.image.background.css.size.pipe.d.ts +12 -0
- package/lib/tp.survey.interface.d.ts +4 -1
- package/package.json +1 -1
package/lib/pipe/get.question.image.background.size/get.question.image.background.css.size.pipe.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { IdbQuestion } from '../../tp.survey.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GetQuestionImageBackgroundCssSizePipe implements PipeTransform {
|
|
5
|
+
#private;
|
|
6
|
+
transform(question: IdbQuestion): {
|
|
7
|
+
height: string | null;
|
|
8
|
+
width: string | null;
|
|
9
|
+
};
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetQuestionImageBackgroundCssSizePipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetQuestionImageBackgroundCssSizePipe, "getQuestionImageBackgroundCssSize", true>;
|
|
12
|
+
}
|
|
@@ -211,10 +211,13 @@ export interface IdbQuestion {
|
|
|
211
211
|
AlternativeMarginLeft: number;
|
|
212
212
|
AlternativeHeight: number;
|
|
213
213
|
AlternativeWidth: number;
|
|
214
|
-
AlternativeBackgroundImageHeight:
|
|
214
|
+
AlternativeBackgroundImageHeight: string | null;
|
|
215
|
+
AlternativeBackgroundImageWidth: string | null;
|
|
215
216
|
AlternativeTabletFontSize: number;
|
|
216
217
|
TabletViewAlternativeColumnCount: number;
|
|
217
218
|
MobileViewAlternativeColumnCount: number;
|
|
219
|
+
MobileViewAlternativeBackgroundImageHeight: string | null;
|
|
220
|
+
MobileViewAlternativeBackgroundImageWidth: string | null;
|
|
218
221
|
MultiSelect: boolean;
|
|
219
222
|
RequireAllAnswers: boolean;
|
|
220
223
|
SLSectionMinAnswersCount: number;
|