@testgorilla/tgo-immersive-test 2.0.0 → 2.0.2
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/README.md +0 -1
- package/fesm2022/testgorilla-tgo-immersive-test.mjs +456 -0
- package/fesm2022/testgorilla-tgo-immersive-test.mjs.map +1 -0
- package/lib/components/immersive-test/immersive-test.component.d.ts +53 -0
- package/{src/lib/components/index.ts → lib/components/index.d.ts} +0 -2
- package/lib/components/review-instructions-dialog/review-instructions-dialog.component.d.ts +24 -0
- package/lib/components/ringing-phone-animation/ringing-phone-animation.component.d.ts +13 -0
- package/lib/components/ringing-phone-animation/ringing-phone-animation.sound.d.ts +1 -0
- package/lib/components/video-countdown/video-countdown.component.d.ts +24 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/translations.d.ts +1 -0
- package/lib/services/index.d.ts +1 -0
- package/package.json +30 -13
- package/.eslintrc.json +0 -47
- package/jest.config.ts +0 -34
- package/ng-package.json +0 -16
- package/project.json +0 -48
- package/src/lib/components/immersive-test/immersive-test.component.html +0 -100
- package/src/lib/components/immersive-test/immersive-test.component.scss +0 -247
- package/src/lib/components/immersive-test/immersive-test.component.spec.ts +0 -583
- package/src/lib/components/immersive-test/immersive-test.component.ts +0 -278
- package/src/lib/components/review-instructions-dialog/review-instructions-dialog.component.html +0 -39
- package/src/lib/components/review-instructions-dialog/review-instructions-dialog.component.scss +0 -160
- package/src/lib/components/review-instructions-dialog/review-instructions-dialog.component.spec.ts +0 -81
- package/src/lib/components/review-instructions-dialog/review-instructions-dialog.component.ts +0 -79
- package/src/lib/components/ringing-phone-animation/ringing-phone-animation.component.html +0 -16
- package/src/lib/components/ringing-phone-animation/ringing-phone-animation.component.scss +0 -79
- package/src/lib/components/ringing-phone-animation/ringing-phone-animation.component.spec.ts +0 -104
- package/src/lib/components/ringing-phone-animation/ringing-phone-animation.component.ts +0 -53
- package/src/lib/components/ringing-phone-animation/ringing-phone-animation.sound.ts +0 -2
- package/src/lib/components/video-countdown/video-countdown.component.html +0 -10
- package/src/lib/components/video-countdown/video-countdown.component.scss +0 -16
- package/src/lib/components/video-countdown/video-countdown.component.spec.ts +0 -58
- package/src/lib/components/video-countdown/video-countdown.component.ts +0 -100
- package/src/lib/models/index.ts +0 -9
- package/src/lib/models/translations.ts +0 -3
- package/src/lib/services/index.ts +0 -7
- package/src/test-setup.ts +0 -62
- package/tsconfig.json +0 -20
- package/tsconfig.lib.json +0 -20
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -17
- /package/{src/assets → assets}/i18n/en.json +0 -0
- /package/{src/index.ts → index.d.ts} +0 -0
- /package/{src/lib/components/review-instructions-dialog/index.ts → lib/components/review-instructions-dialog/index.d.ts} +0 -0
- /package/{src/lib/components/ringing-phone-animation/index.ts → lib/components/ringing-phone-animation/index.d.ts} +0 -0
- /package/{src/lib/components/video-countdown/index.ts → lib/components/video-countdown/index.d.ts} +0 -0
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
@import '@testgorilla/tgo-ui/projects/tgo-canopy-ui/theme/variables';
|
|
2
|
-
|
|
3
|
-
$border-radius: 10px;
|
|
4
|
-
|
|
5
|
-
.immersive-test {
|
|
6
|
-
padding: 0 64px;
|
|
7
|
-
margin-top: 40px;
|
|
8
|
-
|
|
9
|
-
.media-info {
|
|
10
|
-
width: 100%;
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
align-items: center;
|
|
14
|
-
background: rgba(36, 36, 36, 0.66);
|
|
15
|
-
background-color: $black;
|
|
16
|
-
border-bottom-left-radius: $border-radius;
|
|
17
|
-
border-bottom-right-radius: $border-radius;
|
|
18
|
-
padding: 13px 32px;
|
|
19
|
-
color: $tgo-white;
|
|
20
|
-
|
|
21
|
-
::ng-deep ui-button button {
|
|
22
|
-
border-color: $tgo-white;
|
|
23
|
-
color: $tgo-white;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.test-container {
|
|
28
|
-
min-width: 360px;
|
|
29
|
-
max-width: 1312px;
|
|
30
|
-
min-height: 725px;
|
|
31
|
-
height: min(
|
|
32
|
-
725px,
|
|
33
|
-
100%,
|
|
34
|
-
max(calc(100vw - 200px), calc(100vh - 200px), 200px)
|
|
35
|
-
);
|
|
36
|
-
border-radius: $border-radius;
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
justify-content: space-between;
|
|
40
|
-
position: relative;
|
|
41
|
-
background-color: $black;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.media-container {
|
|
45
|
-
position: relative;
|
|
46
|
-
color: $tgo-white;
|
|
47
|
-
flex-grow: 1;
|
|
48
|
-
border-top-left-radius: $border-radius;
|
|
49
|
-
border-top-right-radius: $border-radius;
|
|
50
|
-
aspect-ratio: 16 / 9;
|
|
51
|
-
|
|
52
|
-
.candidate-no-camera {
|
|
53
|
-
position: absolute;
|
|
54
|
-
width: 200px;
|
|
55
|
-
aspect-ratio: 16 / 9;
|
|
56
|
-
z-index: 3;
|
|
57
|
-
top: 32px;
|
|
58
|
-
left: 32px;
|
|
59
|
-
border-radius: $border-radius;
|
|
60
|
-
background-color: #1a47aa;
|
|
61
|
-
display: flex;
|
|
62
|
-
justify-content: space-between;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
padding: 16px;
|
|
65
|
-
|
|
66
|
-
ui-icon {
|
|
67
|
-
margin: auto;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.candidate-camera {
|
|
72
|
-
position: absolute;
|
|
73
|
-
width: 200px;
|
|
74
|
-
top: 32px;
|
|
75
|
-
left: 32px;
|
|
76
|
-
z-index: 3;
|
|
77
|
-
|
|
78
|
-
video {
|
|
79
|
-
width: 200px;
|
|
80
|
-
border-radius: $border-radius;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
h3 {
|
|
84
|
-
position: absolute;
|
|
85
|
-
bottom: 16px;
|
|
86
|
-
left: 16px;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
tgo-audio-animation {
|
|
91
|
-
position: absolute;
|
|
92
|
-
top: 32px;
|
|
93
|
-
right: 32px;
|
|
94
|
-
z-index: 1;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
tgo-vimeo-video {
|
|
98
|
-
display: none;
|
|
99
|
-
position: absolute;
|
|
100
|
-
height: 100%;
|
|
101
|
-
width: 100%;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.is-video-visible {
|
|
105
|
-
tgo-vimeo-video {
|
|
106
|
-
display: block;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&.is-playing {
|
|
111
|
-
border: 4px solid $informative-40;
|
|
112
|
-
border-bottom-width: 3px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&.is-answering {
|
|
116
|
-
.candidate-camera,
|
|
117
|
-
.candidate-no-camera {
|
|
118
|
-
tgo-audio-animation {
|
|
119
|
-
position: absolute;
|
|
120
|
-
top: 16px;
|
|
121
|
-
right: 16px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.candidate-camera video,
|
|
126
|
-
.candidate-no-camera {
|
|
127
|
-
border: 3px solid $informative-40;
|
|
128
|
-
border-radius: $border-radius;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
tgo-vimeo-video {
|
|
132
|
-
display: block;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.start,
|
|
137
|
-
.audio-info,
|
|
138
|
-
.overlay,
|
|
139
|
-
.answer {
|
|
140
|
-
display: flex;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
align-items: center;
|
|
143
|
-
flex-direction: column;
|
|
144
|
-
gap: 40px;
|
|
145
|
-
height: 100%;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.preview {
|
|
149
|
-
height: 100%;
|
|
150
|
-
display: flex;
|
|
151
|
-
align-items: center;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
justify-content: flex-end;
|
|
154
|
-
padding: 24px;
|
|
155
|
-
|
|
156
|
-
p {
|
|
157
|
-
color: $grayscale-30;
|
|
158
|
-
margin: 8px 0;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
audio {
|
|
162
|
-
margin: 16px 0;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.hidden {
|
|
166
|
-
display: none;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
h3,
|
|
172
|
-
h4 {
|
|
173
|
-
color: $tgo-white;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.bold {
|
|
177
|
-
font-weight: 700;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
ui-button.review-button ::ng-deep button {
|
|
181
|
-
border: 1px solid $tgo-white;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
ui-button.white-btn ::ng-deep button {
|
|
185
|
-
background-color: $tgo-white;
|
|
186
|
-
border-color: $tgo-white;
|
|
187
|
-
color: $tgo-black;
|
|
188
|
-
|
|
189
|
-
&:hover {
|
|
190
|
-
background-color: $grayscale-50 !important;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.overlay {
|
|
195
|
-
top: 0;
|
|
196
|
-
position: absolute;
|
|
197
|
-
width: 100%;
|
|
198
|
-
height: 100%;
|
|
199
|
-
background-color: rgb(36 36 36 / 88%);
|
|
200
|
-
z-index: 2;
|
|
201
|
-
border-radius: $border-radius;
|
|
202
|
-
|
|
203
|
-
h1,
|
|
204
|
-
h3 {
|
|
205
|
-
color: $tgo-white;
|
|
206
|
-
text-align: center;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
h3 {
|
|
210
|
-
margin-bottom: 10px;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
tgo-radial-progress {
|
|
215
|
-
position: absolute;
|
|
216
|
-
top: 50%;
|
|
217
|
-
left: 50%;
|
|
218
|
-
transform: translate(-50%, -50%);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.uppercase {
|
|
222
|
-
text-transform: uppercase;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.recording-started {
|
|
226
|
-
display: flex;
|
|
227
|
-
align-items: center;
|
|
228
|
-
justify-content: center;
|
|
229
|
-
gap: 10px;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.recording-dot {
|
|
233
|
-
background-color: $error-40;
|
|
234
|
-
display: inline-block;
|
|
235
|
-
width: 20px;
|
|
236
|
-
height: 20px;
|
|
237
|
-
border-radius: 50%;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
@media screen and (max-width: 600px) {
|
|
242
|
-
.immersive-test {
|
|
243
|
-
padding: 0 24px;
|
|
244
|
-
margin-top: 16px;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|