@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.
Files changed (38) hide show
  1. package/esm2022/lib/component/answer/answer.additional/answer.additional.component.mjs +5 -5
  2. package/esm2022/lib/component/answer/answer.additional/directive/additional.answer.caption.position/additional.answer.caption.position.directive.mjs +4 -4
  3. package/esm2022/lib/component/answer/answer.end/answer.end.component.mjs +4 -4
  4. package/esm2022/lib/component/answer/answer.info/answer.info.component.mjs +4 -4
  5. package/esm2022/lib/component/answer/answer.lang/answer.lang.component.mjs +4 -4
  6. package/esm2022/lib/component/answer/answer.master/answer.master.component.mjs +4 -4
  7. package/esm2022/lib/component/answer/answer.ms/answer.ms.component.mjs +8 -8
  8. package/esm2022/lib/component/answer/answer.od/answer.od.component.mjs +4 -4
  9. package/esm2022/lib/component/answer/answer.ol/answer.ol.component.mjs +4 -4
  10. package/esm2022/lib/component/answer/answer.sl/answer.sl.component.mjs +5 -5
  11. package/esm2022/lib/component/answer/answer.sl/pipe/as.form.array/as.form.array.pipe.mjs +4 -4
  12. package/esm2022/lib/component/answer/answer.sl/pipe/as.form.control/as.form.control.pipe.mjs +4 -4
  13. package/esm2022/lib/component/answer/answer.ss/answer.ss.component.mjs +9 -15
  14. package/esm2022/lib/component/answer/container.answer/container.answer.component.mjs +4 -4
  15. package/esm2022/lib/component/navigation.button/navigation.button.component.mjs +4 -4
  16. package/esm2022/lib/component/question.caption/question.caption.component.mjs +4 -4
  17. package/esm2022/lib/component/survey.play/survey.play.component.mjs +5 -5
  18. package/esm2022/lib/component/survey.question.preview/survey.question.preview.component.mjs +6 -6
  19. package/esm2022/lib/core/tp.survey.core/tp.survey.core.service.mjs +4 -4
  20. package/esm2022/lib/core/tp.survey.interview/tp.survey.interview.service.mjs +4 -4
  21. package/esm2022/lib/core/tp.survey.logic/tp.survey.logic.service.mjs +4 -4
  22. package/esm2022/lib/directive/alternatives.container/alternatives.container.directive.mjs +4 -4
  23. package/esm2022/lib/directive/focus.and.select/focus.and.select.directive.mjs +4 -4
  24. package/esm2022/lib/directive/survey.theme/survey.theme.directive.mjs +4 -4
  25. package/esm2022/lib/directive/update.font.size/update.font.size.directive.mjs +4 -4
  26. package/esm2022/lib/icons/default.icons/default.icons.module.mjs +5 -5
  27. package/esm2022/lib/pipe/get.active.language/get.active.language.pipe.mjs +4 -4
  28. package/esm2022/lib/pipe/get.additional.value.by.value/get.additional.value.by.value.pipe.mjs +4 -4
  29. package/esm2022/lib/pipe/get.question.image.background.size/get.question.image.background.css.size.pipe.mjs +39 -0
  30. package/esm2022/lib/pipe/key.values/key.values.pipe.mjs +4 -4
  31. package/esm2022/lib/pipe/multi.lang.object.to.html/multi.lang.object.to.html.pipe.mjs +4 -4
  32. package/esm2022/lib/tp.survey.interface.mjs +1 -1
  33. package/esm2022/lib/tp.survey.module.mjs +5 -5
  34. package/fesm2022/touchpoll-tp-survey.mjs +146 -112
  35. package/fesm2022/touchpoll-tp-survey.mjs.map +1 -1
  36. package/lib/pipe/get.question.image.background.size/get.question.image.background.css.size.pipe.d.ts +12 -0
  37. package/lib/tp.survey.interface.d.ts +4 -1
  38. package/package.json +1 -1
@@ -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: number;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchpoll/tp-survey",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"