@touchpoll/tp-survey 0.0.41 → 0.0.43

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.
@@ -1,4 +1,4 @@
1
- import { ElementRef, QueryList, Renderer2 } from '@angular/core';
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
2
  import { IdbQuestion } from '../../tp.survey.interface';
3
3
  import { ViewModel } from '../../tp.survey.enum';
4
4
  import { BreakpointObserver } from '@angular/cdk/layout';
@@ -10,8 +10,8 @@ export declare class AlternativesContainerDirective {
10
10
  private _breakpointObserver;
11
11
  question: import("@angular/core").InputSignal<IdbQuestion>;
12
12
  viewModel: import("@angular/core").InputSignal<ViewModel>;
13
- alternatives: QueryList<ElementRef<HTMLElement>> | undefined;
13
+ private set alternativesTemplates(value);
14
14
  constructor(_renderer: Renderer2, elementRef: ElementRef, _breakpointObserver: BreakpointObserver);
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AlternativesContainerDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<AlternativesContainerDirective, "[tpSurveyAlternativesContainer]", never, { "question": { "alias": "tpSurveyAlternativesContainer"; "required": true; "isSignal": true; }; "viewModel": { "alias": "containerViewModel"; "required": true; "isSignal": true; }; }, {}, ["alternatives"], never, true, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AlternativesContainerDirective, "[tpSurveyAlternativesContainer]", never, { "question": { "alias": "tpSurveyAlternativesContainer"; "required": true; "isSignal": true; }; "viewModel": { "alias": "containerViewModel"; "required": true; "isSignal": true; }; }, {}, ["alternativesTemplates"], never, true, never>;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchpoll/tp-survey",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
@@ -129,4 +129,11 @@
129
129
  // }
130
130
  //}
131
131
  }
132
+
133
+
134
+ @media (max-width: 480px) {
135
+ .container-ms-ss-alternatives{
136
+ overflow: auto;
137
+ }
138
+ }
132
139
  }
@@ -1,137 +1,137 @@
1
- // This file was generated by running 'ng generate @angular/material:theme-color'.
2
- // Proceed with caution if making changes to this file.
3
-
4
- @use 'sass:map';
5
- @use '@angular/material' as mat;
6
-
7
- // Note: Color palettes are generated from primary: #cd1b22
8
- $_palettes: (
9
- primary: (
10
- 0: #000000,
11
- 10: #410003,
12
- 20: #680007,
13
- 25: #7d000b,
14
- 30: #93000f,
15
- 35: #a90013,
16
- 40: #ef3940, //#be0a19
17
- 50: #e32e2f,
18
- 60: #ff544d,
19
- 70: #ff897f,
20
- 80: #ffb4ac,
21
- 90: #ffdad6,
22
- 95: #ffedeb,
23
- 98: #fff8f7,
24
- 99: #fffbff,
25
- 100: #ffffff,
26
- ),
27
- secondary: (
28
- 0: #000000,
29
- 10: #410003,
30
- 20: #65080b,
31
- 25: #751615,
32
- 30: #85221f,
33
- 35: #952d29,
34
- 40: #a63934,
35
- 50: #c6514a,
36
- 60: #e76a61,
37
- 70: #ff897f,
38
- 80: #ffb4ac,
39
- 90: #ffdad6,
40
- 95: #ffedeb,
41
- 98: #fff8f7,
42
- 99: #fffbff,
43
- 100: #ffffff,
44
- ),
45
- tertiary: (
46
- 0: #000000,
47
- 10: #2b1700,
48
- 20: #482900,
49
- 25: #573300,
50
- 30: #673d00,
51
- 35: #774800,
52
- 40: #875200,
53
- 50: #a76914,
54
- 60: #c5832e,
55
- 70: #e39c46,
56
- 80: #ffb866,
57
- 90: #ffddba,
58
- 95: #ffeedf,
59
- 98: #fff8f4,
60
- 99: #fffbff,
61
- 100: #ffffff,
62
- ),
63
- neutral: (
64
- 0: #000000,
65
- 10: #281716,
66
- 20: #3f2c2a,
67
- 25: #4b3634,
68
- 30: #57423f,
69
- 35: #634d4b,
70
- 40: #705956,
71
- 50: #8a716e,
72
- 60: #a58a88,
73
- 70: #c1a5a2,
74
- 80: #dec0bc,
75
- 90: #fbdbd8,
76
- 95: #ffedeb,
77
- 98: #fff8f7,
78
- 99: #fffbff,
79
- 100: #ffffff,
80
- 4: #190a09,
81
- 6: #1f0f0e,
82
- 12: #2c1b19,
83
- 17: #382523,
84
- 22: #44302e,
85
- 24: #483432,
86
- 87: #f2d3d0,
87
- 92: #ffe2de,
88
- 94: #ffe9e6,
89
- 96: #fff0ef,
90
- ),
91
- neutral-variant: (
92
- 0: #000000,
93
- 10: #2c1513,
94
- 20: #432a27,
95
- 25: #503432,
96
- 30: #5c403d,
97
- 35: #694b48,
98
- 40: #765754,
99
- 50: #916f6b,
100
- 60: #ac8884,
101
- 70: #c8a29e,
102
- 80: #e5bdb9,
103
- 90: #ffdad6,
104
- 95: #ffedeb,
105
- 98: #fff8f7,
106
- 99: #fffbff,
107
- 100: #ffffff,
108
- ),
109
- error: (
110
- 0: #000000,
111
- 10: #410002,
112
- 20: #690005,
113
- 25: #7e0007,
114
- 30: #93000a,
115
- 35: #a80710,
116
- 40: #ba1a1a,
117
- 50: #de3730,
118
- 60: #ff5449,
119
- 70: #ff897d,
120
- 80: #ffb4ab,
121
- 90: #ffdad6,
122
- 95: #ffedea,
123
- 98: #fff8f7,
124
- 99: #fffbff,
125
- 100: #ffffff,
126
- ),
127
- );
128
-
129
- $_rest: (
130
- secondary: map.get($_palettes, secondary),
131
- neutral: map.get($_palettes, neutral),
132
- neutral-variant: map.get($_palettes, neutral-variant),
133
- error: map.get($_palettes, error),
134
- );
135
-
136
- $primary-palette: map.merge(map.get($_palettes, primary), $_rest);
137
- $tertiary-palette: map.merge(map.get($_palettes, tertiary), $_rest);
1
+ // This file was generated by running 'ng generate @angular/material:theme-color'.
2
+ // Proceed with caution if making changes to this file.
3
+
4
+ @use 'sass:map';
5
+ @use '@angular/material' as mat;
6
+
7
+ // Note: Color palettes are generated from primary: #cd1b22
8
+ $_palettes: (
9
+ primary: (
10
+ 0: #000000,
11
+ 10: #410003,
12
+ 20: #680007,
13
+ 25: #7d000b,
14
+ 30: #93000f,
15
+ 35: #a90013,
16
+ 40: #ef3940, //#be0a19
17
+ 50: #e32e2f,
18
+ 60: #ff544d,
19
+ 70: #ff897f,
20
+ 80: #ffb4ac,
21
+ 90: #ffdad6,
22
+ 95: #ffedeb,
23
+ 98: #fff8f7,
24
+ 99: #fffbff,
25
+ 100: #ffffff,
26
+ ),
27
+ secondary: (
28
+ 0: #000000,
29
+ 10: #410003,
30
+ 20: #65080b,
31
+ 25: #751615,
32
+ 30: #85221f,
33
+ 35: #952d29,
34
+ 40: #a63934,
35
+ 50: #c6514a,
36
+ 60: #e76a61,
37
+ 70: #ff897f,
38
+ 80: #ffb4ac,
39
+ 90: #ffdad6,
40
+ 95: #ffedeb,
41
+ 98: #fff8f7,
42
+ 99: #fffbff,
43
+ 100: #ffffff,
44
+ ),
45
+ tertiary: (
46
+ 0: #000000,
47
+ 10: #2b1700,
48
+ 20: #482900,
49
+ 25: #573300,
50
+ 30: #673d00,
51
+ 35: #774800,
52
+ 40: #875200,
53
+ 50: #a76914,
54
+ 60: #c5832e,
55
+ 70: #e39c46,
56
+ 80: #ffb866,
57
+ 90: #ffddba,
58
+ 95: #ffeedf,
59
+ 98: #fff8f4,
60
+ 99: #fffbff,
61
+ 100: #ffffff,
62
+ ),
63
+ neutral: (
64
+ 0: #000000,
65
+ 10: #281716,
66
+ 20: #3f2c2a,
67
+ 25: #4b3634,
68
+ 30: #57423f,
69
+ 35: #634d4b,
70
+ 40: #705956,
71
+ 50: #8a716e,
72
+ 60: #a58a88,
73
+ 70: #c1a5a2,
74
+ 80: #dec0bc,
75
+ 90: #fbdbd8,
76
+ 95: #ffedeb,
77
+ 98: #fff8f7,
78
+ 99: #fffbff,
79
+ 100: #ffffff,
80
+ 4: #190a09,
81
+ 6: #1f0f0e,
82
+ 12: #2c1b19,
83
+ 17: #382523,
84
+ 22: #44302e,
85
+ 24: #483432,
86
+ 87: #f2d3d0,
87
+ 92: #ffe2de,
88
+ 94: #ffe9e6,
89
+ 96: #fff0ef,
90
+ ),
91
+ neutral-variant: (
92
+ 0: #000000,
93
+ 10: #2c1513,
94
+ 20: #432a27,
95
+ 25: #503432,
96
+ 30: #5c403d,
97
+ 35: #694b48,
98
+ 40: #765754,
99
+ 50: #916f6b,
100
+ 60: #ac8884,
101
+ 70: #c8a29e,
102
+ 80: #e5bdb9,
103
+ 90: #ffdad6,
104
+ 95: #ffedeb,
105
+ 98: #fff8f7,
106
+ 99: #fffbff,
107
+ 100: #ffffff,
108
+ ),
109
+ error: (
110
+ 0: #000000,
111
+ 10: #410002,
112
+ 20: #690005,
113
+ 25: #7e0007,
114
+ 30: #93000a,
115
+ 35: #a80710,
116
+ 40: #ba1a1a,
117
+ 50: #de3730,
118
+ 60: #ff5449,
119
+ 70: #ff897d,
120
+ 80: #ffb4ab,
121
+ 90: #ffdad6,
122
+ 95: #ffedea,
123
+ 98: #fff8f7,
124
+ 99: #fffbff,
125
+ 100: #ffffff,
126
+ ),
127
+ );
128
+
129
+ $_rest: (
130
+ secondary: map.get($_palettes, secondary),
131
+ neutral: map.get($_palettes, neutral),
132
+ neutral-variant: map.get($_palettes, neutral-variant),
133
+ error: map.get($_palettes, error),
134
+ );
135
+
136
+ $primary-palette: map.merge(map.get($_palettes, primary), $_rest);
137
+ $tertiary-palette: map.merge(map.get($_palettes, tertiary), $_rest);