metag-sdk-ionic 1.1.57-beta.0.9 → 1.2.1

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.
@@ -39,15 +39,15 @@ export declare class CamaraVideoSelfieComponent implements AfterViewInit, OnDest
39
39
  constructor(platform: Platform, modalController: ModalController, sanitizer: DomSanitizer, renderer: Renderer2, alertController: AlertController, changeDetector: ChangeDetectorRef, modalVideoSelfieServices: ModalVideoSelfieServices, modalDpiServices: ModalDpiServices);
40
40
  ngAfterViewInit(): Promise<void>;
41
41
  ngOnDestroy(): Promise<void>;
42
- waitForCameraReady(): Promise<void>;
43
42
  requestPermissions(): Promise<void>;
44
43
  initCamera(): Promise<void>;
45
- startRecording(): Promise<void>;
46
- blobToFile(blob: Blob, fileName: string): File;
44
+ waitForCameraReady(): Promise<void>;
45
+ private prepareRecorder;
47
46
  recordVideo(): void;
48
47
  startVideoRecord(): Promise<void>;
49
48
  updateTimeRemaining(): void;
50
49
  stopRecording(): Promise<void>;
50
+ blobToFile(blob: Blob, fileName: string): File;
51
51
  closeOverlayVideo(): Promise<void>;
52
52
  stopCamera(): void;
53
53
  closeRequestedFunction(): void;
@@ -69,7 +69,11 @@ export class CamaraVideoSelfieComponent {
69
69
  this.isAndroid = this.platform.is('android');
70
70
  this.isIOS = this.platform.is('ios');
71
71
  }
72
+ /* ----------------------------------------------------------------------- */
73
+ /* Ciclo de vida */
74
+ /* ----------------------------------------------------------------------- */
72
75
  async ngAfterViewInit() {
76
+ // Ajustar brillo al máximo en móviles
73
77
  if (this.isAndroid || this.isIOS) {
74
78
  try {
75
79
  const { brightness } = await ScreenBrightness.getBrightness();
@@ -83,6 +87,7 @@ export class CamaraVideoSelfieComponent {
83
87
  }
84
88
  await this.initCamera();
85
89
  await this.waitForCameraReady();
90
+ // Escuchar evento externo para cerrar
86
91
  this.modalDpiServices.closeModalAndChangeBrightness$.subscribe(async () => {
87
92
  await this.closeOverlayVideo();
88
93
  });
@@ -100,13 +105,9 @@ export class CamaraVideoSelfieComponent {
100
105
  console.warn('Error al restaurar el brillo original:', error);
101
106
  }
102
107
  }
103
- async waitForCameraReady() {
104
- return new Promise((resolve) => {
105
- this.videoElement.nativeElement.onloadedmetadata = () => {
106
- resolve();
107
- };
108
- });
109
- }
108
+ /* ----------------------------------------------------------------------- */
109
+ /* Permisos y cámara */
110
+ /* ----------------------------------------------------------------------- */
110
111
  async requestPermissions() {
111
112
  if (Capacitor.getPlatform() !== 'web') {
112
113
  if (this.isAndroid || this.isIOS) {
@@ -129,6 +130,11 @@ export class CamaraVideoSelfieComponent {
129
130
  },
130
131
  };
131
132
  this.stream = await navigator.mediaDevices.getUserMedia(constraints);
133
+ // Validar que haya pistas de video activas
134
+ if (!this.stream.getVideoTracks().length) {
135
+ alert('No se encontraron pistas de video activas.');
136
+ return;
137
+ }
132
138
  this.videoElement.nativeElement.srcObject = this.stream;
133
139
  this.videoElement.nativeElement.onloadedmetadata = () => {
134
140
  isCameraReady = true;
@@ -142,38 +148,63 @@ export class CamaraVideoSelfieComponent {
142
148
  }, 100);
143
149
  });
144
150
  this.isLoading = false;
145
- await this.startRecording();
151
+ await this.prepareRecorder();
146
152
  }
147
153
  catch (error) {
148
154
  console.error('Error al inicializar la cámara:', error);
149
155
  this.isLoading = false;
150
156
  }
151
157
  }
152
- async startRecording() {
153
- if (!this.stream)
158
+ async waitForCameraReady() {
159
+ return new Promise((resolve) => {
160
+ this.videoElement.nativeElement.onloadedmetadata = () => {
161
+ resolve();
162
+ };
163
+ });
164
+ }
165
+ /* ----------------------------------------------------------------------- */
166
+ /* Preparar y gestionar MediaRecorder */
167
+ /* ----------------------------------------------------------------------- */
168
+ async prepareRecorder() {
169
+ if (!this.stream || !this.stream.getVideoTracks().length) {
170
+ alert('No se detectó una fuente de video válida.');
171
+ return;
172
+ }
173
+ // Selección segura de MIME
174
+ let mimeType = '';
175
+ if (MediaRecorder.isTypeSupported('video/webm;codecs=vp8')) {
176
+ mimeType = 'video/webm;codecs=vp8';
177
+ }
178
+ else if (MediaRecorder.isTypeSupported('video/mp4')) {
179
+ mimeType = 'video/mp4';
180
+ }
181
+ else {
182
+ alert('Este dispositivo/navegador no soporta la grabación de video.');
154
183
  return;
155
- if (this.mediaRecorder && this.mediaRecorder.state !== 'inactive') {
156
- this.mediaRecorder.stop();
157
184
  }
158
185
  const options = {
159
- mimeType: this.isIOS ? 'video/mp4' : 'video/webm',
186
+ mimeType,
160
187
  videoBitsPerSecond: 400000,
161
188
  };
162
- this.recordedChunks = [];
163
189
  this.mediaRecorder = new MediaRecorder(this.stream, options);
190
+ this.recordedChunks = [];
164
191
  this.mediaRecorder.ondataavailable = (event) => {
165
- if (event.data.size > 0) {
192
+ if (event.data && event.data.size > 0) {
166
193
  this.recordedChunks.push(event.data);
167
194
  }
168
195
  };
196
+ this.mediaRecorder.onerror = (event) => {
197
+ console.error('MediaRecorder error:', event);
198
+ alert('Ocurrió un error durante la grabación del video.');
199
+ };
169
200
  this.mediaRecorder.onstop = async () => {
170
201
  if (this.recordedChunks.length === 0) {
171
- console.error('No se capturaron datos en la grabación.');
202
+ console.warn('No se capturaron datos en la grabación.');
203
+ alert('No se capturaron datos en la grabación.');
172
204
  return;
173
205
  }
174
- const fileType = this.isIOS ? 'video/mp4' : 'video/webm';
175
- const fileExtension = this.isIOS ? 'mp4' : 'webm';
176
- const videoBlob = new Blob(this.recordedChunks, { type: fileType });
206
+ const fileExtension = mimeType.includes('webm') ? 'webm' : 'mp4';
207
+ const videoBlob = new Blob(this.recordedChunks, { type: mimeType });
177
208
  const videoFile = this.blobToFile(videoBlob, `video-selfie.${fileExtension}`);
178
209
  this.capVideo = videoFile;
179
210
  if (this.backFunction) {
@@ -182,13 +213,9 @@ export class CamaraVideoSelfieComponent {
182
213
  this.recordedChunks = [];
183
214
  };
184
215
  }
185
- blobToFile(blob, fileName) {
186
- const b = blob;
187
- b.lastModified = new Date().getTime();
188
- b.lastModifiedDate = new Date();
189
- b.name = fileName;
190
- return b;
191
- }
216
+ /* ----------------------------------------------------------------------- */
217
+ /* Flujo de grabación (UI) */
218
+ /* ----------------------------------------------------------------------- */
192
219
  recordVideo() {
193
220
  this.countdown = 3;
194
221
  const countdownInterval = setInterval(() => {
@@ -203,16 +230,16 @@ export class CamaraVideoSelfieComponent {
203
230
  async startVideoRecord() {
204
231
  if (this.mediaRecorder && !this.isRecording) {
205
232
  await new Promise((resolve) => setTimeout(resolve, 500));
206
- this.mediaRecorder.start(100);
233
+ this.mediaRecorder.start();
207
234
  this.isRecording = true;
208
235
  this.canStopRecording = false;
209
236
  this.renderer.addClass(this.progressRing.nativeElement, 'progress-active');
210
237
  this.timeRemaining = this.maxRecordingTime / 1000;
211
238
  this.updateTimeRemaining();
212
239
  setTimeout(() => {
213
- this.canStopRecording = true;
214
240
  }, this.minRecordingTime);
215
241
  this.recordingTimer = setTimeout(async () => {
242
+ this.canStopRecording = true;
216
243
  await this.stopRecording();
217
244
  }, this.maxRecordingTime);
218
245
  }
@@ -234,7 +261,9 @@ export class CamaraVideoSelfieComponent {
234
261
  }
235
262
  async stopRecording() {
236
263
  if (this.mediaRecorder && this.isRecording && this.canStopRecording) {
237
- this.mediaRecorder.stop();
264
+ if (this.mediaRecorder.state !== 'inactive') {
265
+ this.mediaRecorder.stop();
266
+ }
238
267
  this.isRecording = false;
239
268
  }
240
269
  if (this.scanTimeout) {
@@ -242,6 +271,19 @@ export class CamaraVideoSelfieComponent {
242
271
  }
243
272
  this.renderer.removeClass(this.progressRing.nativeElement, 'progress-active');
244
273
  }
274
+ /* ----------------------------------------------------------------------- */
275
+ /* Utilidades */
276
+ /* ----------------------------------------------------------------------- */
277
+ blobToFile(blob, fileName) {
278
+ const b = blob;
279
+ b.lastModified = new Date().getTime();
280
+ b.lastModifiedDate = new Date();
281
+ b.name = fileName;
282
+ return b;
283
+ }
284
+ /* ----------------------------------------------------------------------- */
285
+ /* Cierre y limpieza */
286
+ /* ----------------------------------------------------------------------- */
245
287
  async closeOverlayVideo() {
246
288
  this.stopCamera();
247
289
  if (this.defaultBrightness !== null) {
@@ -271,7 +313,7 @@ export class CamaraVideoSelfieComponent {
271
313
  let _t;
272
314
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.videoElement = _t.first);
273
315
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.progressRing = _t.first);
274
- } }, inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, decls: 22, vars: 9, consts: [["videoElement", ""], ["progressRing", ""], ["color", "light", 1, "custom-content"], ["class", "loading-overlay", 4, "ngIf"], ["class", "countdown-overlay", 4, "ngIf"], [1, "ion-no-border"], ["color", "light"], ["slot", "end"], [3, "click", "disabled"], ["name", "close"], [1, "camera-container"], [1, "video-wrapper"], ["muted", "", "autoplay", "", "playsinline", "", 2, "transform", "scaleX(-1)"], ["width", "300", "height", "300", 1, "progress-ring"], ["cx", "150", "cy", "150", "r", "150", 1, "progress-ring__circle"], [3, "ngClass"], [1, "text-center"], [1, "fixed-footer"], ["expand", "block", 3, "click", 4, "ngIf"], ["expand", "block", 3, "disabled", "click", 4, "ngIf"], [1, "loading-overlay"], ["name", "crescent"], [1, "countdown-overlay"], [1, "countdown"], ["expand", "block", 3, "click"], ["expand", "block", 3, "click", "disabled"]], template: function CamaraVideoSelfieComponent_Template(rf, ctx) { if (rf & 1) {
316
+ } }, inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, decls: 22, vars: 9, consts: [["videoElement", ""], ["progressRing", ""], ["color", "light", 1, "custom-content"], ["class", "loading-overlay", 4, "ngIf"], ["class", "countdown-overlay", 4, "ngIf"], [1, "ion-no-border"], ["color", "light"], ["slot", "end"], [3, "click", "disabled"], ["name", "close", "color", "dark"], [1, "camera-container"], [1, "video-wrapper"], ["muted", "", "autoplay", "", "playsinline", "", 2, "transform", "scaleX(-1)"], ["width", "300", "height", "300", 1, "progress-ring"], ["cx", "150", "cy", "150", "r", "150", 1, "progress-ring__circle"], [3, "ngClass"], [1, "text-center"], [1, "fixed-footer"], ["class", "button-grabar", "expand", "block", 3, "click", 4, "ngIf"], ["expand", "block", 3, "disabled", "click", 4, "ngIf"], [1, "loading-overlay"], ["name", "crescent"], [1, "countdown-overlay"], [1, "countdown"], ["expand", "block", 1, "button-grabar", 3, "click"], ["expand", "block", 3, "click", "disabled"]], template: function CamaraVideoSelfieComponent_Template(rf, ctx) { if (rf & 1) {
275
317
  const _r1 = i0.ɵɵgetCurrentView();
276
318
  i0.ɵɵelementStart(0, "ion-content", 2);
277
319
  i0.ɵɵtemplate(1, CamaraVideoSelfieComponent_div_1_Template, 2, 0, "div", 3)(2, CamaraVideoSelfieComponent_div_2_Template, 3, 1, "div", 4);
@@ -310,11 +352,11 @@ export class CamaraVideoSelfieComponent {
310
352
  i0.ɵɵproperty("ngIf", !ctx.isRecording);
311
353
  i0.ɵɵadvance();
312
354
  i0.ɵɵproperty("ngIf", ctx.isRecording);
313
- } }, dependencies: [i5.NgClass, i5.NgIf, i1.IonButton, i1.IonButtons, i1.IonContent, i1.IonHeader, i1.IonIcon, i1.IonLabel, i1.IonSpinner, i1.IonToolbar], styles: [".camera-container[_ngcontent-%COMP%] {\n justify-content: center;\n align-items: center;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 70%;\n background-color: white;\n}\n\n.video-wrapper[_ngcontent-%COMP%] {\n position: relative;\n width: 300px;\n height: 300px;\n border-radius: 50%;\n overflow: hidden;\n}\n\nvideo[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 50%;\n}\n\n.progress-ring[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n transform: rotate(-90deg); \n\n}\n\n.progress-ring__circle[_ngcontent-%COMP%] {\n fill: transparent;\n stroke: purple;\n stroke-width: 12;\n stroke-dasharray: 945; \n\n stroke-dashoffset: 880; \n\n transition: stroke-dashoffset 12s linear; \n\n}\n\n.progress-active[_ngcontent-%COMP%] .progress-ring__circle[_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_progress-animation 5s linear forwards;\n}\n\n@keyframes _ngcontent-%COMP%_progress-animation {\n from {\n stroke-dashoffset: 880;\n }\n to {\n stroke-dashoffset: 0;\n }\n}\n\n.text-container[_ngcontent-%COMP%] {\n height: 40px;\n color: black;\n}\n\nion-header[_ngcontent-%COMP%] {\n --background: #ffffff; \n\n}\n\n\n\n.centered-title[_ngcontent-%COMP%] {\n text-align: center;\n width: 100%; \n\n font-weight: bold;\n}\n\n.fixed-footer[_ngcontent-%COMP%] {\n\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n padding: 10px;\n background-color: #fff; // Color de fondo, opcional\n // box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);\n\n ion-button {\n width: 90%;\n max-width: 300px;\n margin: 0 auto;\n background-color: #ffcc00;\n color: #ffffff;\n font-weight: bold;\n border-radius: 20px;\n\n --background: var(--purple-primary);\n --background-hover: var(--purple-secondary);\n --background-activated: var(--purple-secondary);\n --background-focused: var(--purple-secondary);\n \n --color: var(--purple-primary);\n \n --border-radius: 20px;\n --border-color: var(--purple-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--purple-secondary);\n \n\n &:hover {\n background-color: #ffb300;\n }\n\n &:active {\n background-color: #e6a800;\n }\n }\n}\n\n\nion-header[_ngcontent-%COMP%] {\n --background: #ffffff; \n\n color: #000000; \n\n}\n\nion-toolbar[_ngcontent-%COMP%] {\n --ion-background-color: #ffffff !important;\n --background: #ffffff !important;\n color: #000000;\n}\n\n\nion-header[_ngcontent-%COMP%] {\n --background: #ffffff; \n\n}\n\nion-toolbar[_ngcontent-%COMP%] {\n --ion-background-color: #ffffff !important;\n --background: #ffffff !important;\n color: #000000;\n display: flex;\n justify-content: space-between; \n\n align-items: center;\n}\n\n.centered-title[_ngcontent-%COMP%] {\n flex: 1;\n text-align: center; \n\n font-weight: bold;\n color: #000000;\n margin: 0; \n\n}\n\nion-buttons[_ngcontent-%COMP%] {\n justify-content: flex-end; \n\n}\n.countdown-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6); \n\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n padding: 0;\n z-index: 1000; \n\n animation: _ngcontent-%COMP%_fadeIn 0.5s ease-out, _ngcontent-%COMP%_fadeOut 0.5s ease-out 2.5s; \n\n box-sizing: border-box;\n border-radius: 0px;\n\n}\n\nion-content.custom-content[_ngcontent-%COMP%] {\n --padding-top: 0;\n --padding-bottom: 0;\n margin: 0;\n padding: 0;\n}\n\n.countdown[_ngcontent-%COMP%] {\n font-size: 100px;\n font-weight: bold;\n color: white;\n animation: _ngcontent-%COMP%_scaleUp 0.5s ease-out, _ngcontent-%COMP%_scaleDown 0.5s ease-out 2.5s; \n\n}\n\n\n\n@keyframes _ngcontent-%COMP%_fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes _ngcontent-%COMP%_fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n\n\n@keyframes _ngcontent-%COMP%_scaleUp {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n@keyframes _ngcontent-%COMP%_scaleDown {\n from {\n transform: scale(1);\n opacity: 1;\n }\n to {\n transform: scale(0.8);\n opacity: 0;\n }\n}\n\n.red[_ngcontent-%COMP%] {\n padding: 10px;\n color: red;\n}\n\n.text-center[_ngcontent-%COMP%]{\n text-align: center;\n padding-left: 20%;\n padding-right: 20%;\n color: #333;\n}\n\n.loading-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.8); \n\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000; \n\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n border-radius: 0px;\n}\n\nion-spinner[_ngcontent-%COMP%] {\n color: white;\n width: 50px;\n height: 50px;\n}"] }); }
355
+ } }, dependencies: [i5.NgClass, i5.NgIf, i1.IonButton, i1.IonButtons, i1.IonContent, i1.IonHeader, i1.IonIcon, i1.IonLabel, i1.IonSpinner, i1.IonToolbar], styles: [".camera-container[_ngcontent-%COMP%] {\n justify-content: center;\n align-items: center;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 70%;\n background-color: #fff;\n}\n\n.video-wrapper[_ngcontent-%COMP%] {\n position: relative;\n width: 300px;\n height: 300px;\n border-radius: 50%;\n overflow: hidden;\n}\n\nvideo[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 50%;\n}\n\n.progress-ring[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n transform: rotate(-90deg);\n \n\n}\n\n.progress-ring__circle[_ngcontent-%COMP%] {\n fill: transparent;\n stroke: purple;\n stroke-width: 12;\n stroke-dasharray: 945;\n \n\n stroke-dashoffset: 880;\n \n\n transition: stroke-dashoffset 12s linear;\n \n\n}\n\n.progress-active[_ngcontent-%COMP%] .progress-ring__circle[_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_progress-animation 5s linear forwards;\n}\n\n@keyframes _ngcontent-%COMP%_progress-animation {\n from {\n stroke-dashoffset: 880;\n }\n\n to {\n stroke-dashoffset: 0;\n }\n}\n\n.text-container[_ngcontent-%COMP%] {\n height: 40px;\n color: black;\n}\n\nion-header[_ngcontent-%COMP%] {\n --background: #fff;\n \n\n}\n\n.centered-title[_ngcontent-%COMP%] {\n text-align: center;\n width: 100%;\n \n\n font-weight: bold;\n}\n\n.fixed-footer[_ngcontent-%COMP%] {\n position: fixed;\n bottom: 40px;\n left: 0;\n width: 100%;\n padding: 10px;\n background-color: #fff; // Color de fondo, opcional\n // box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);\n\n\n ion-button {\n width: 90%;\n max-width: 300px;\n margin: 0 auto;\n color: #fff;\n font-weight: bold;\n border-radius: 20px;\n\n --background: #82298F;\n --background-hover: #82298F;\n --background-activated: #82298F;\n --background-focused: #82298F;\n\n --color: #fff;\n\n --border-radius: 20px;\n --border-color: #82298F;\n ;\n --border-style: solid;\n --border-width: 1px;\n\n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n\n --ripple-color: #82298F;\n\n\n &:hover {\n background-color: #82298F;\n }\n\n &:active {\n background-color: #82298F;\n }\n }\n}\n\n\n\n\n\nion-header[_ngcontent-%COMP%] {\n --background: #fff;\n \n\n color: #000000;\n \n\n}\n\nion-toolbar[_ngcontent-%COMP%] {\n --ion-background-color: #fff !important;\n --background: #ffffff !important;\n --color: #000000 !important;\n}\n\n.centered-title[_ngcontent-%COMP%] {\n flex: 1;\n text-align: center;\n \n\n font-weight: bold;\n color: #000000;\n margin: 0;\n \n\n}\n\nion-buttons[_ngcontent-%COMP%] {\n justify-content: flex-end;\n \n\n}\n\n.countdown-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n \n\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n padding: 0;\n z-index: 1000;\n \n\n animation: _ngcontent-%COMP%_fadeIn 0.5s ease-out, _ngcontent-%COMP%_fadeOut 0.5s ease-out 2.5s;\n \n\n box-sizing: border-box;\n border-radius: 0px;\n\n}\n\nion-content.custom-content[_ngcontent-%COMP%] {\n --padding-top: 0;\n --padding-bottom: 0;\n margin: 0;\n padding: 0;\n}\n\n.countdown[_ngcontent-%COMP%] {\n font-size: 100px;\n font-weight: bold;\n color: #fff;\n animation: _ngcontent-%COMP%_scaleUp 0.5s ease-out, _ngcontent-%COMP%_scaleDown 0.5s ease-out 2.5s;\n \n\n}\n\n\n\n@keyframes _ngcontent-%COMP%_fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes _ngcontent-%COMP%_fadeOut {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n\n\n\n@keyframes _ngcontent-%COMP%_scaleUp {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n@keyframes _ngcontent-%COMP%_scaleDown {\n from {\n transform: scale(1);\n opacity: 1;\n }\n\n to {\n transform: scale(0.8);\n opacity: 0;\n }\n}\n\n.red[_ngcontent-%COMP%] {\n padding: 10px;\n color: red;\n}\n\n.text-center[_ngcontent-%COMP%] {\n text-align: center;\n padding-left: 20%;\n padding-right: 20%;\n color: #333;\n}\n\n.loading-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.8);\n \n\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n \n\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n border-radius: 0px;\n}\n\nion-spinner[_ngcontent-%COMP%] {\n color: #fff;\n width: 50px;\n height: 50px;\n}"] }); }
314
356
  }
315
357
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CamaraVideoSelfieComponent, [{
316
358
  type: Component,
317
- args: [{ selector: 'app-camara-video-selfie', encapsulation: ViewEncapsulation.Emulated, template: "<ion-content color=\"light\" class=\"custom-content\">\n <div *ngIf=\"isLoading\" class=\"loading-overlay\">\n <ion-spinner name=\"crescent\"></ion-spinner>\n </div>\n \n <div *ngIf=\"countdown > 0\" class=\"countdown-overlay\">\n <div class=\"countdown\">{{ countdown }}</div>\n </div>\n <ion-header class=\"ion-no-border\">\n <ion-toolbar color=\"light\">\n <!-- <ion-title class=\"centered-title\">Video Selfie</ion-title> -->\n <ion-buttons slot=\"end\">\n <ion-button (click)=\"closeOverlayVideo()\" [disabled]=\"!canStopRecording\">\n <ion-icon name=\"close\"></ion-icon>\n </ion-button>\n </ion-buttons>\n </ion-toolbar>\n </ion-header>\n\n <!-- Contenedor de la c\u00E1mara y progresi\u00F3n -->\n <div class=\"camera-container\">\n <div class=\"video-wrapper\">\n <video #videoElement muted autoplay playsinline style=\"transform: scaleX(-1)\"></video>\n <svg class=\"progress-ring\" #progressRing width=\"300\" height=\"300\">\n <circle class=\"progress-ring__circle\" cx=\"150\" cy=\"150\" r=\"150\" />\n </svg>\n </div>\n <ion-label [ngClass]=\"{'red': isRecording}\">00:{{ timeRemaining < 10 ? '0' + timeRemaining : timeRemaining\n }}</ion-label>\n <p class=\"text-center\">Permanece quieto, con tu rostro en el centro del c\u00EDrculo.</p>\n <!-- Botones de grabaci\u00F3n -->\n <div class=\"fixed-footer\">\n <ion-button *ngIf=\"!isRecording\" expand=\"block\" (click)=\"recordVideo()\">Iniciar Grabaci\u00F3n</ion-button>\n <ion-button *ngIf=\"isRecording\" expand=\"block\" (click)=\"stopRecording()\" [disabled]=\"!canStopRecording\">Detener\n Grabaci\u00F3n</ion-button>\n </div>\n </div>\n</ion-content>", styles: [".camera-container {\n justify-content: center;\n align-items: center;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 70%;\n background-color: white;\n}\n\n.video-wrapper {\n position: relative;\n width: 300px;\n height: 300px;\n border-radius: 50%;\n overflow: hidden;\n}\n\nvideo {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 50%;\n}\n\n.progress-ring {\n position: absolute;\n top: 0;\n left: 0;\n transform: rotate(-90deg); /* Rotamos el c\u00EDrculo para que la animaci\u00F3n inicie desde arriba */\n}\n\n.progress-ring__circle {\n fill: transparent;\n stroke: purple;\n stroke-width: 12;\n stroke-dasharray: 945; /* La circunferencia del c\u00EDrculo 880*/\n stroke-dashoffset: 880; /* Oculto por completo al inicio */\n transition: stroke-dashoffset 12s linear; /* Esto controlar\u00E1 el llenado progresivo */\n}\n\n.progress-active .progress-ring__circle {\n animation: progress-animation 5s linear forwards;\n}\n\n@keyframes progress-animation {\n from {\n stroke-dashoffset: 880;\n }\n to {\n stroke-dashoffset: 0;\n }\n}\n\n.text-container {\n height: 40px;\n color: black;\n}\n\nion-header {\n --background: #ffffff; /* Fondo blanco para el header */\n}\n\n\n\n.centered-title {\n text-align: center;\n width: 100%; /* Asegura que el t\u00EDtulo est\u00E9 centrado */\n font-weight: bold;\n}\n\n.fixed-footer {\n\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n padding: 10px;\n background-color: #fff; // Color de fondo, opcional\n // box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);\n\n ion-button {\n width: 90%;\n max-width: 300px;\n margin: 0 auto;\n background-color: #ffcc00;\n color: #ffffff;\n font-weight: bold;\n border-radius: 20px;\n\n --background: var(--purple-primary);\n --background-hover: var(--purple-secondary);\n --background-activated: var(--purple-secondary);\n --background-focused: var(--purple-secondary);\n \n --color: var(--purple-primary);\n \n --border-radius: 20px;\n --border-color: var(--purple-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--purple-secondary);\n \n\n &:hover {\n background-color: #ffb300;\n }\n\n &:active {\n background-color: #e6a800;\n }\n }\n}\n\n\nion-header {\n --background: #ffffff; /* Fondo blanco */\n color: #000000; /* Texto negro */\n}\n\nion-toolbar {\n --ion-background-color: #ffffff !important;\n --background: #ffffff !important;\n color: #000000;\n}\n\n\nion-header {\n --background: #ffffff; /* Fondo blanco */\n}\n\nion-toolbar {\n --ion-background-color: #ffffff !important;\n --background: #ffffff !important;\n color: #000000;\n display: flex;\n justify-content: space-between; /* Espacio entre t\u00EDtulo y bot\u00F3n */\n align-items: center;\n}\n\n.centered-title {\n flex: 1;\n text-align: center; /* Centrar el t\u00EDtulo */\n font-weight: bold;\n color: #000000;\n margin: 0; /* Quita cualquier margen del t\u00EDtulo */\n}\n\nion-buttons {\n justify-content: flex-end; /* Alinea el bot\u00F3n a la derecha */\n}\n.countdown-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n padding: 0;\n z-index: 1000; /* Asegurarse de que est\u00E9 encima de otros elementos */\n animation: fadeIn 0.5s ease-out, fadeOut 0.5s ease-out 2.5s; /* Animaciones de entrada y salida */\n box-sizing: border-box;\n border-radius: 0px;\n\n}\n\nion-content.custom-content {\n --padding-top: 0;\n --padding-bottom: 0;\n margin: 0;\n padding: 0;\n}\n\n.countdown {\n font-size: 100px;\n font-weight: bold;\n color: white;\n animation: scaleUp 0.5s ease-out, scaleDown 0.5s ease-out 2.5s; /* Escalar en entrada y salida */\n}\n\n/* Animaci\u00F3n para desvanecer la superposici\u00F3n */\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n/* Animaci\u00F3n para escalar el n\u00FAmero */\n@keyframes scaleUp {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n@keyframes scaleDown {\n from {\n transform: scale(1);\n opacity: 1;\n }\n to {\n transform: scale(0.8);\n opacity: 0;\n }\n}\n\n.red {\n padding: 10px;\n color: red;\n}\n\n.text-center{\n text-align: center;\n padding-left: 20%;\n padding-right: 20%;\n color: #333;\n}\n\n.loading-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000; /* Aseg\u00FArate de que est\u00E9 por encima del contenido */\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n border-radius: 0px;\n}\n\nion-spinner {\n color: white;\n width: 50px;\n height: 50px;\n}\n\n\n\n"] }]
359
+ args: [{ selector: 'app-camara-video-selfie', encapsulation: ViewEncapsulation.Emulated, template: "<ion-content color=\"light\" class=\"custom-content\">\n <div *ngIf=\"isLoading\" class=\"loading-overlay\">\n <ion-spinner name=\"crescent\"></ion-spinner>\n </div> \n <div *ngIf=\"countdown > 0\" class=\"countdown-overlay\">\n <div class=\"countdown\">{{ countdown }}</div>\n </div>\n <ion-header class=\"ion-no-border\">\n <ion-toolbar color=\"light\">\n <!-- <ion-title class=\"centered-title\">Video Selfie</ion-title> -->\n <ion-buttons slot=\"end\">\n <ion-button (click)=\"closeOverlayVideo()\" [disabled]=\"!canStopRecording\">\n <ion-icon name=\"close\" color=\"dark\"></ion-icon>\n </ion-button>\n </ion-buttons>\n </ion-toolbar>\n </ion-header>\n <!-- Contenedor de la c\u00E1mara y progresi\u00F3n -->\n <div class=\"camera-container\">\n <div class=\"video-wrapper\">\n <video #videoElement muted autoplay playsinline style=\"transform: scaleX(-1)\"></video>\n <svg class=\"progress-ring\" #progressRing width=\"300\" height=\"300\">\n <circle class=\"progress-ring__circle\" cx=\"150\" cy=\"150\" r=\"150\" />\n </svg>\n </div>\n <ion-label [ngClass]=\"{'red': isRecording}\">00:{{ timeRemaining < 10 ? '0' + timeRemaining : timeRemaining\n }}</ion-label>\n <p class=\"text-center\">Permanece quieto, con tu rostro en el centro del c\u00EDrculo.</p>\n <!-- Botones de grabaci\u00F3n -->\n <div class=\"fixed-footer\">\n <ion-button class=\"button-grabar\" *ngIf=\"!isRecording\" expand=\"block\" (click)=\"recordVideo()\">Iniciar Grabaci\u00F3n</ion-button>\n <ion-button *ngIf=\"isRecording\" expand=\"block\" (click)=\"stopRecording()\" [disabled]=\"!canStopRecording\">Detener\n Grabaci\u00F3n</ion-button>\n </div>\n </div>\n</ion-content>", styles: [".camera-container {\n justify-content: center;\n align-items: center;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 70%;\n background-color: #fff;\n}\n\n.video-wrapper {\n position: relative;\n width: 300px;\n height: 300px;\n border-radius: 50%;\n overflow: hidden;\n}\n\nvideo {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 50%;\n}\n\n.progress-ring {\n position: absolute;\n top: 0;\n left: 0;\n transform: rotate(-90deg);\n /* Rotamos el c\u00EDrculo para que la animaci\u00F3n inicie desde arriba */\n}\n\n.progress-ring__circle {\n fill: transparent;\n stroke: purple;\n stroke-width: 12;\n stroke-dasharray: 945;\n /* La circunferencia del c\u00EDrculo 880*/\n stroke-dashoffset: 880;\n /* Oculto por completo al inicio */\n transition: stroke-dashoffset 12s linear;\n /* Esto controlar\u00E1 el llenado progresivo */\n}\n\n.progress-active .progress-ring__circle {\n animation: progress-animation 5s linear forwards;\n}\n\n@keyframes progress-animation {\n from {\n stroke-dashoffset: 880;\n }\n\n to {\n stroke-dashoffset: 0;\n }\n}\n\n.text-container {\n height: 40px;\n color: black;\n}\n\nion-header {\n --background: #fff;\n /* Fondo blanco para el header */\n}\n\n.centered-title {\n text-align: center;\n width: 100%;\n /* Asegura que el t\u00EDtulo est\u00E9 centrado */\n font-weight: bold;\n}\n\n.fixed-footer {\n position: fixed;\n bottom: 40px;\n left: 0;\n width: 100%;\n padding: 10px;\n background-color: #fff; // Color de fondo, opcional\n // box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);\n\n\n ion-button {\n width: 90%;\n max-width: 300px;\n margin: 0 auto;\n color: #fff;\n font-weight: bold;\n border-radius: 20px;\n\n --background: #82298F;\n --background-hover: #82298F;\n --background-activated: #82298F;\n --background-focused: #82298F;\n\n --color: #fff;\n\n --border-radius: 20px;\n --border-color: #82298F;\n ;\n --border-style: solid;\n --border-width: 1px;\n\n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n\n --ripple-color: #82298F;\n\n\n &:hover {\n background-color: #82298F;\n }\n\n &:active {\n background-color: #82298F;\n }\n }\n}\n\n\n\n\n\nion-header {\n --background: #fff;\n /* Fondo blanco */\n color: #000000;\n /* Texto negro */\n}\n\nion-toolbar {\n --ion-background-color: #fff !important;\n --background: #ffffff !important;\n --color: #000000 !important;\n}\n\n.centered-title {\n flex: 1;\n text-align: center;\n /* Centrar el t\u00EDtulo */\n font-weight: bold;\n color: #000000;\n margin: 0;\n /* Quita cualquier margen del t\u00EDtulo */\n}\n\nion-buttons {\n justify-content: flex-end;\n /* Alinea el bot\u00F3n a la derecha */\n}\n\n.countdown-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n /* Fondo semi-transparente */\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n padding: 0;\n z-index: 1000;\n /* Asegurarse de que est\u00E9 encima de otros elementos */\n animation: fadeIn 0.5s ease-out, fadeOut 0.5s ease-out 2.5s;\n /* Animaciones de entrada y salida */\n box-sizing: border-box;\n border-radius: 0px;\n\n}\n\nion-content.custom-content {\n --padding-top: 0;\n --padding-bottom: 0;\n margin: 0;\n padding: 0;\n}\n\n.countdown {\n font-size: 100px;\n font-weight: bold;\n color: #fff;\n animation: scaleUp 0.5s ease-out, scaleDown 0.5s ease-out 2.5s;\n /* Escalar en entrada y salida */\n}\n\n/* Animaci\u00F3n para desvanecer la superposici\u00F3n */\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n\n/* Animaci\u00F3n para escalar el n\u00FAmero */\n@keyframes scaleUp {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n@keyframes scaleDown {\n from {\n transform: scale(1);\n opacity: 1;\n }\n\n to {\n transform: scale(0.8);\n opacity: 0;\n }\n}\n\n.red {\n padding: 10px;\n color: red;\n}\n\n.text-center {\n text-align: center;\n padding-left: 20%;\n padding-right: 20%;\n color: #333;\n}\n\n.loading-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.8);\n /* Fondo oscuro semi-transparente */\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n /* Aseg\u00FArate de que est\u00E9 por encima del contenido */\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n border-radius: 0px;\n}\n\nion-spinner {\n color: #fff;\n width: 50px;\n height: 50px;\n}"] }]
318
360
  }], () => [{ type: i1.Platform }, { type: i1.ModalController }, { type: i2.DomSanitizer }, { type: i0.Renderer2 }, { type: i1.AlertController }, { type: i0.ChangeDetectorRef }, { type: i3.ModalVideoSelfieServices }, { type: i4.ModalDpiServices }], { videoElement: [{
319
361
  type: ViewChild,
320
362
  args: ['videoElement']
@@ -1 +1 @@
1
- {"version":3,"file":"camara-video-selfie.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/camara-video-selfie/camara-video-selfie.component.ts","../../../../../../../src/app/pages/id-vision/components/camara-video-selfie/camara-video-selfie.component.html"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAET,YAAY,EACZ,KAAK,EAEL,MAAM,EAEN,SAAS,EACT,iBAAiB,GAClB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;IClB1C,+BAA+C;IAC7C,kCAA2C;IAC7C,iBAAM;;;IAGJ,AADF,+BAAqD,cAC5B;IAAA,YAAe;IACxC,AADwC,iBAAM,EACxC;;;IADmB,eAAe;IAAf,sCAAe;;;;IA0BhC,sCAAwE;IAAxB,kMAAS,oBAAa,KAAC;IAAC,sCAAiB;IAAA,iBAAa;;;;IACtG,sCAAwG;IAAzD,kMAAS,s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,8BAA8B,EAAE,CAAC;IACzD,CAAC;2HAnRU,0BAA0B;oEAA1B,0BAA0B;;;;;;;;;YC3BvC,sCAAkD;YAKhD,AAJA,2EAA+C,8DAIM;YAO/C,AADF,AAFF,AADF,qCAAkC,qBACL,qBAED,oBACmD;YAA7D,iJAAS,uBAAmB,KAAC;YACvC,8BAAkC;YAI1C,AADE,AADE,AADE,iBAAa,EACD,EACF,EACH;YAIX,AADF,+BAA8B,cACD;YACzB,gCAAsF;;YACtF,mCAAkE;YAChE,8BAAkE;YAEtE,AADE,iBAAM,EACF;;YACN,sCAA4C;YAAA,aACtC;YAAA,iBAAY;YACd,8BAAuB;YAAA,+EAAyD;YAAA,iBAAI;YAEpF,gCAA0B;YAExB,AADA,4FAAwE,+EACgC;YAIlH,AADE,AADM,iBAAM,EACN,EACM;;YApCN,cAAe;YAAf,oCAAe;YAIf,cAAmB;YAAnB,wCAAmB;YAOuB,eAA8B;YAA9B,gDAA8B;YAejE,eAAgC;YAAhC,qEAAgC;YAAC,cACtC;YADsC,sGACtC;YAIa,eAAkB;YAAlB,uCAAkB;YAClB,cAAiB;YAAjB,sCAAiB;;;iFDN3B,0BAA0B;cANtC,SAAS;2BACE,yBAAyB,iBAGpB,iBAAiB,CAAC,QAAQ;8PAGd,YAAY;kBAAtC,SAAS;mBAAC,cAAc;YACE,YAAY;kBAAtC,SAAS;mBAAC,cAAc;YAEhB,KAAK;kBAAb,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,YAAY;kBAApB,KAAK;YACI,cAAc;kBAAvB,MAAM;;kFAPI,0BAA0B"}
1
+ {"version":3,"file":"camara-video-selfie.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/camara-video-selfie/camara-video-selfie.component.ts","../../../../../../../src/app/pages/id-vision/components/camara-video-selfie/camara-video-selfie.component.html"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAET,YAAY,EACZ,KAAK,EAEL,MAAM,EAEN,SAAS,EACT,iBAAiB,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,CAAC,WAAW;YAAE,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACvD,CAAC;IAEM,sBAAsB;QAC3B,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,gBAAgB,CAAC,8BAA8B,EAAE,CAAC;IACzD,CAAC;2HArUU,0BAA0B;oEAA1B,0BAA0B;;;;;;;;;YC3BvC,sCAAkD;YAIhD,AAHA,2EAA+C,8DAGM;YAO/C,AADF,AAFF,AADF,qCAAkC,qBACL,qBAED,oBACmD;YAA7D,iJAAS,uBAAmB,KAAC;YACvC,8BAA+C;YAIvD,AADE,AADE,AADE,iBAAa,EACD,EACF,EACH;YAGX,AADF,+BAA8B,cACD;YACzB,gCAAsF;;YACtF,mCAAkE;YAChE,8BAAkE;YAEtE,AADE,iBAAM,EACF;;YACN,sCAA4C;YAAA,aACtC;YAAA,iBAAY;YACd,8BAAuB;YAAA,+EAAyD;YAAA,iBAAI;YAEpF,gCAA0B;YAExB,AADA,4FAA8F,+EACU;YAIlH,AADE,AADM,iBAAM,EACN,EACM;;YAlCN,cAAe;YAAf,oCAAe;YAGf,cAAmB;YAAnB,wCAAmB;YAOuB,eAA8B;YAA9B,gDAA8B;YAcjE,eAAgC;YAAhC,qEAAgC;YAAC,cACtC;YADsC,sGACtC;YAImC,eAAkB;YAAlB,uCAAkB;YACxC,cAAiB;YAAjB,sCAAiB;;;iFDJ3B,0BAA0B;cANtC,SAAS;2BACE,yBAAyB,iBAGpB,iBAAiB,CAAC,QAAQ;8PAGd,YAAY;kBAAtC,SAAS;mBAAC,cAAc;YACE,YAAY;kBAAtC,SAAS;mBAAC,cAAc;YAEhB,KAAK;kBAAb,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,YAAY;kBAApB,KAAK;YACI,cAAc;kBAAvB,MAAM;;kFAPI,0BAA0B"}
@@ -8,14 +8,14 @@ import * as i3 from "@angular/common";
8
8
  const _c0 = ["videoElement"];
9
9
  function CameraWithOverlayComponent_ion_fab_2_Template(rf, ctx) { if (rf & 1) {
10
10
  const _r2 = i0.ɵɵgetCurrentView();
11
- i0.ɵɵelementStart(0, "ion-fab", 16)(1, "ion-fab-button", 17);
11
+ i0.ɵɵelementStart(0, "ion-fab", 17)(1, "ion-fab-button", 18);
12
12
  i0.ɵɵlistener("click", function CameraWithOverlayComponent_ion_fab_2_Template_ion_fab_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleRearCam()); });
13
- i0.ɵɵelement(2, "ion-icon", 18);
13
+ i0.ɵɵelement(2, "ion-icon", 19);
14
14
  i0.ɵɵelementEnd()();
15
15
  } }
16
16
  function CameraWithOverlayComponent_div_9_Template(rf, ctx) { if (rf & 1) {
17
- i0.ɵɵelementStart(0, "div", 19);
18
- i0.ɵɵelement(1, "ion-spinner", 20);
17
+ i0.ɵɵelementStart(0, "div", 20);
18
+ i0.ɵɵelement(1, "ion-spinner", 21);
19
19
  i0.ɵɵelementEnd();
20
20
  } }
21
21
  export class CameraWithOverlayComponent {
@@ -197,7 +197,7 @@ export class CameraWithOverlayComponent {
197
197
  } if (rf & 2) {
198
198
  let _t;
199
199
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.videoElement = _t.first);
200
- } }, inputs: { text1: "text1", text2: "text2", overlaySrc: "overlaySrc", onTakePicture: "onTakePicture" }, outputs: { closeRequested: "closeRequested" }, decls: 19, vars: 4, consts: [["videoElement", ""], ["color", "dark"], [1, "camera-overlay"], ["vertical", "top", "horizontal", "start", "slot", "fixed", 4, "ngIf"], [1, "header-text"], [1, "text-help"], [1, "country"], ["class", "loading-overlay", 4, "ngIf"], [1, "visible-window"], [1, "camera-container"], ["autoplay", "", "muted", "", "playsinline", ""], [1, "button-container"], ["shape", "round", "expand", "block", 1, "capture-button", 3, "click"], ["name", "camera-outline"], ["fill", "clear", 1, "close-button", 3, "click"], ["name", "close-outline"], ["vertical", "top", "horizontal", "start", "slot", "fixed"], ["size", "small", 1, "buttonfabCameraChange", 3, "click"], ["name", "camera-reverse-outline"], [1, "loading-overlay"], ["name", "crescent"]], template: function CameraWithOverlayComponent_Template(rf, ctx) { if (rf & 1) {
200
+ } }, inputs: { text1: "text1", text2: "text2", overlaySrc: "overlaySrc", onTakePicture: "onTakePicture" }, outputs: { closeRequested: "closeRequested" }, decls: 20, vars: 5, consts: [["videoElement", ""], ["color", "dark"], [1, "camera-overlay"], ["vertical", "top", "horizontal", "start", "slot", "fixed", 4, "ngIf"], [1, "header-text"], [1, "text-help"], [1, "country"], ["class", "loading-overlay", 4, "ngIf"], [1, "visible-window"], [1, "camera-container"], ["autoplay", "", "muted", "", "playsinline", ""], ["alt", "Overlay", 1, "overlay-frame", "blink-image", 3, "src"], [1, "button-container"], ["shape", "round", "expand", "block", 1, "capture-button", 3, "click"], ["name", "camera-outline"], ["fill", "clear", 1, "close-button", 3, "click"], ["name", "close-outline"], ["vertical", "top", "horizontal", "start", "slot", "fixed"], ["size", "small", 1, "buttonfabCameraChange", 3, "click"], ["name", "camera-reverse-outline"], [1, "loading-overlay"], ["name", "crescent"]], template: function CameraWithOverlayComponent_Template(rf, ctx) { if (rf & 1) {
201
201
  const _r1 = i0.ɵɵgetCurrentView();
202
202
  i0.ɵɵelementStart(0, "ion-content", 1)(1, "div", 2);
203
203
  i0.ɵɵtemplate(2, CameraWithOverlayComponent_ion_fab_2_Template, 3, 0, "ion-fab", 3);
@@ -210,15 +210,15 @@ export class CameraWithOverlayComponent {
210
210
  i0.ɵɵtemplate(9, CameraWithOverlayComponent_div_9_Template, 2, 0, "div", 7);
211
211
  i0.ɵɵelement(10, "div", 8);
212
212
  i0.ɵɵelementStart(11, "div", 9);
213
- i0.ɵɵelement(12, "video", 10, 0);
213
+ i0.ɵɵelement(12, "video", 10, 0)(14, "img", 11);
214
214
  i0.ɵɵelementEnd();
215
- i0.ɵɵelementStart(14, "div", 11)(15, "ion-button", 12);
216
- i0.ɵɵlistener("click", function CameraWithOverlayComponent_Template_ion_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.capturePhoto()); });
217
- i0.ɵɵelement(16, "ion-icon", 13);
215
+ i0.ɵɵelementStart(15, "div", 12)(16, "ion-button", 13);
216
+ i0.ɵɵlistener("click", function CameraWithOverlayComponent_Template_ion_button_click_16_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.capturePhoto()); });
217
+ i0.ɵɵelement(17, "ion-icon", 14);
218
218
  i0.ɵɵelementEnd()();
219
- i0.ɵɵelementStart(17, "ion-button", 14);
220
- i0.ɵɵlistener("click", function CameraWithOverlayComponent_Template_ion_button_click_17_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.closeOverlay()); });
221
- i0.ɵɵelement(18, "ion-icon", 15);
219
+ i0.ɵɵelementStart(18, "ion-button", 15);
220
+ i0.ɵɵlistener("click", function CameraWithOverlayComponent_Template_ion_button_click_18_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.closeOverlay()); });
221
+ i0.ɵɵelement(19, "ion-icon", 16);
222
222
  i0.ɵɵelementEnd()()();
223
223
  } if (rf & 2) {
224
224
  i0.ɵɵadvance(2);
@@ -229,11 +229,13 @@ export class CameraWithOverlayComponent {
229
229
  i0.ɵɵtextInterpolate(ctx.text2);
230
230
  i0.ɵɵadvance();
231
231
  i0.ɵɵproperty("ngIf", ctx.isLoading);
232
- } }, dependencies: [i3.NgIf, i1.IonButton, i1.IonContent, i1.IonFab, i1.IonFabButton, i1.IonIcon, i1.IonSpinner], styles: ["ion-content[_ngcontent-%COMP%] {\n --background: black;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n\n}\n\n.modal-container[_ngcontent-%COMP%] {\n max-width: 400px; // Ajusta el valor seg\u00FAn tus necesidades\n\n}\n\n.camera-overlay[_ngcontent-%COMP%] {\n position: relative;\n width: 100vw;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.camera-container[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n position: relative;\n\n video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n}\n\n.overlay-frame[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 70%;\n max-height: 70%;\n z-index: 9;\n}\n\n.header-text[_ngcontent-%COMP%] {\n position: absolute;\n top: 50px;\n width: 100%;\n text-align: center;\n color: white;\n z-index: 15;\n\n p {\n margin: 0;\n font-size: 18px;\n }\n\n .country {\n font-weight: bold;\n }\n}\n\n.button-container[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 20px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 10;\n}\n\n.capture-button[_ngcontent-%COMP%] {\n width: 70px;\n height: 70px;\n border-radius: 50%;\n\n\n --background: var(--purple-primary);\n --background-hover: var(--purple-secondary);\n --background-activated: var(--purple-secondary);\n --background-focused: var(--purple-secondary);\n \n --color: white;\n \n --border-color: var(--purple-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--purple-secondary);\n}\n\n.close-button[_ngcontent-%COMP%] {\n position: absolute;\n top: 14px;\n right: 20px;\n color: white;\n z-index: 10;\n}\n\n.visible-window[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n // width: 70%; \n\n // height: 45%; \n\n\n width: 313px;\n height: 500px;\n\n max-width: 90%;\n max-height: 90%;\n background: transparent;\n border: 2px solid white; \n\n border-radius: 10px; \n\n z-index: 10; \n\n box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.65); \n\n}\n.text-help[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{\n display: inline-block; \n\n background-color: white; \n\n padding: 5px; \n\n border-radius: 5px; \n\n color: black; \n\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); \n\n animation: _ngcontent-%COMP%_popIn 1s ease-in-out; \n\n}\n\n\n\n@keyframes _ngcontent-%COMP%_popIn {\n 0% {\n transform: scale(0.8); \n\n opacity: 0; \n\n }\n 50% {\n transform: scale(1.1); \n\n opacity: 1; \n\n }\n 100% {\n transform: scale(1); \n\n }\n}\n\n.loading-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8); \n\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000; \n\n}\n\nion-spinner[_ngcontent-%COMP%] {\n color: white;\n width: 50px;\n height: 50px;\n}\n\n\n\n.camera-select[_ngcontent-%COMP%] {\n position: absolute;\n top: 1rem;\n left: 1rem;\n background: rgba(0, 0, 0, 0.7);\n padding: 0.5rem;\n border-radius: 0.5rem;\n z-index: 999;\n display: flex;\n align-items: center;\n color: white;\n\n label {\n margin-right: 0.5rem;\n font-size: 14px;\n }\n\n select {\n background: transparent;\n color: white;\n border: 1px solid white;\n border-radius: 0.3rem;\n font-size: 14px;\n padding: 0.2rem;\n }\n}\n\n.buttonfabCameraChange[_ngcontent-%COMP%] {\n --background: rgba(0, 0, 0, 0.6);\n --color: #fff;\n //box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n \n\n \n\n}"] }); }
232
+ i0.ɵɵadvance(5);
233
+ i0.ɵɵproperty("src", ctx.overlaySrc, i0.ɵɵsanitizeUrl);
234
+ } }, dependencies: [i3.NgIf, i1.IonButton, i1.IonContent, i1.IonFab, i1.IonFabButton, i1.IonIcon, i1.IonSpinner], styles: ["ion-content[_ngcontent-%COMP%] {\n --background: black;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n\n}\n\n\n.blink-image[_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_blink 3s infinite;\n}\n\n@keyframes _ngcontent-%COMP%_blink {\n 0% { opacity: 1; }\n 50% { opacity: 0; }\n 100% { opacity: 1; }\n}\n\n.modal-container[_ngcontent-%COMP%] {\n max-width: 400px; // Ajusta el valor seg\u00FAn tus necesidades\n\n}\n\n.camera-overlay[_ngcontent-%COMP%] {\n position: relative;\n width: 100vw;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.camera-container[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n position: relative;\n\n video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n}\n\n.overlay-frame[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 86%;\n max-height: 90%;\n z-index: 9;\n}\n\n.header-text[_ngcontent-%COMP%] {\n position: absolute;\n top: 50px;\n width: 100%;\n text-align: center;\n color: white;\n z-index: 15;\n\n p {\n margin: 0;\n font-size: 18px;\n }\n\n .country {\n font-weight: bold;\n }\n}\n\n.button-container[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 20px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 10;\n}\n\n.capture-button[_ngcontent-%COMP%] {\n width: 70px;\n height: 70px;\n border-radius: 50%;\n\n\n --background: var(--purple-primary);\n --background-hover: var(--purple-secondary);\n --background-activated: var(--purple-secondary);\n --background-focused: var(--purple-secondary);\n \n --color: white;\n \n --border-color: var(--purple-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--purple-secondary);\n}\n\n.close-button[_ngcontent-%COMP%] {\n position: absolute;\n top: 14px;\n right: 20px;\n color: white;\n z-index: 10;\n}\n\n.visible-window[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n // width: 70%; \n\n // height: 45%; \n\n\n width: 313px;\n height: 500px;\n\n max-width: 90%;\n max-height: 90%;\n background: transparent;\n border: 2px solid white; \n\n border-radius: 10px; \n\n z-index: 10; \n\n box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.65); \n\n}\n.text-help[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{\n display: inline-block; \n\n background-color: white; \n\n padding:15px; \n\n border-radius: 5px; \n\n color: black; \n\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); \n\n animation: _ngcontent-%COMP%_popIn 1s ease-in-out; \n\n margin-left: 10px;\n margin-right: 10px;\n\n}\n\n\n\n@keyframes _ngcontent-%COMP%_popIn {\n 0% {\n transform: scale(0.8); \n\n opacity: 0; \n\n }\n 50% {\n transform: scale(1.1); \n\n opacity: 1; \n\n }\n 100% {\n transform: scale(1); \n\n }\n}\n\n.loading-overlay[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8); \n\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000; \n\n}\n\nion-spinner[_ngcontent-%COMP%] {\n color: white;\n width: 50px;\n height: 50px;\n}\n\n\n\n.camera-select[_ngcontent-%COMP%] {\n position: absolute;\n top: 1rem;\n left: 1rem;\n background: rgba(0, 0, 0, 0.7);\n padding: 0.5rem;\n border-radius: 0.5rem;\n z-index: 999;\n display: flex;\n align-items: center;\n color: white;\n\n label {\n margin-right: 0.5rem;\n font-size: 14px;\n }\n\n select {\n background: transparent;\n color: white;\n border: 1px solid white;\n border-radius: 0.3rem;\n font-size: 14px;\n padding: 0.2rem;\n }\n}\n\n.buttonfabCameraChange[_ngcontent-%COMP%] {\n --background: rgba(0, 0, 0, 0.6);\n --color: #fff;\n //box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n \n\n \n\n}"] }); }
233
235
  }
234
236
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CameraWithOverlayComponent, [{
235
237
  type: Component,
236
- args: [{ selector: 'app-camera-overlay', encapsulation: ViewEncapsulation.Emulated, template: "<ion-content color=\"dark\">\n <div class=\"camera-overlay\">\n <ion-fab vertical=\"top\" horizontal=\"start\" slot=\"fixed\" *ngIf=\"rearCams.length > 1\">\n <ion-fab-button\n class=\"buttonfabCameraChange\"\n size=\"small\"\n (click)=\"toggleRearCam()\">\n <ion-icon name=\"camera-reverse-outline\"></ion-icon>\n </ion-fab-button>\n </ion-fab>\n <!-- \u25B8 Encabezado ---------------------------------------------------- -->\n <div class=\"header-text\">\n <div class=\"text-help\">\n <p>{{ text1 }}</p>\n </div>\n <p class=\"country\">{{ text2 }}</p>\n\n <!-- \u25B8 Selector de c\u00E1maras traseras (solo se muestra si hay varias) -->\n <!-- <ion-item class=\"cam-picker\" lines=\"none\">\n <ion-label>Elegir c\u00E1mara</ion-label>\n <ion-select interface=\"popover\"\n [value]=\"selectedCamId\"\n (ionChange)=\"onSelectCam($event)\">\n <ion-select-option *ngFor=\"let cam of rearCams\"\n [value]=\"cam.deviceId\">\n {{ cam.label }}\n </ion-select-option>\n </ion-select>\n </ion-item>-->\n </div> \n\n <!-- \u25B8 Loader mientras inicializa ------------------------------------ -->\n <div *ngIf=\"isLoading\" class=\"loading-overlay\">\n <ion-spinner name=\"crescent\"></ion-spinner>\n </div>\n\n <!-- \u25B8 Capa oscura con recorte (tu ventana de enfoque) --------------- -->\n <div class=\"visible-window\"></div>\n\n <!-- \u25B8 Contenedor del v\u00EDdeo + overlay -------------------------------- -->\n <div class=\"camera-container\">\n <video #videoElement autoplay muted playsinline></video>\n <!-- <img [src]=\"overlaySrc\" alt=\"Overlay\" class=\"overlay-frame\" /> -->\n </div>\n\n <!-- \u25B8 Bot\u00F3n de captura ---------------------------------------------- -->\n <div class=\"button-container\">\n <ion-button (click)=\"capturePhoto()\"\n class=\"capture-button\"\n shape=\"round\"\n expand=\"block\">\n <ion-icon name=\"camera-outline\"></ion-icon>\n </ion-button>\n </div>\n\n <!-- \u25B8 Bot\u00F3n de cerrar ------------------------------------------------ -->\n <ion-button fill=\"clear\"\n (click)=\"closeOverlay()\"\n class=\"close-button\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </div>\n</ion-content>\n", styles: ["ion-content {\n --background: black;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n\n}\n\n.modal-container {\n max-width: 400px; // Ajusta el valor seg\u00FAn tus necesidades\n\n}\n\n.camera-overlay {\n position: relative;\n width: 100vw;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.camera-container {\n width: 100%;\n height: 100%;\n position: relative;\n\n video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n}\n\n.overlay-frame {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 70%;\n max-height: 70%;\n z-index: 9;\n}\n\n.header-text {\n position: absolute;\n top: 50px;\n width: 100%;\n text-align: center;\n color: white;\n z-index: 15;\n\n p {\n margin: 0;\n font-size: 18px;\n }\n\n .country {\n font-weight: bold;\n }\n}\n\n.button-container {\n position: absolute;\n bottom: 20px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 10;\n}\n\n.capture-button {\n width: 70px;\n height: 70px;\n border-radius: 50%;\n\n\n --background: var(--purple-primary);\n --background-hover: var(--purple-secondary);\n --background-activated: var(--purple-secondary);\n --background-focused: var(--purple-secondary);\n \n --color: white;\n \n --border-color: var(--purple-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--purple-secondary);\n}\n\n.close-button {\n position: absolute;\n top: 14px;\n right: 20px;\n color: white;\n z-index: 10;\n}\n\n.visible-window {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n // width: 70%; /* Ajusta el tama\u00F1o del cuadro */\n // height: 45%; /* Ajusta el tama\u00F1o del cuadro */\n\n width: 313px;\n height: 500px;\n\n max-width: 90%;\n max-height: 90%;\n background: transparent;\n border: 2px solid white; /* Color y grosor del borde */\n border-radius: 10px; /* Ajusta para redondear las esquinas */\n z-index: 10; /* Aseg\u00FArate de que est\u00E9 encima del overlay oscuro */\n box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.65); /* Oscurece fuera del cuadro */\n}\n.text-help p{\n display: inline-block; /* Hace que solo el texto ocupe espacio */\n background-color: white; /* Color de fondo del texto */\n padding: 5px; /* Espaciado interno para una mejor visualizaci\u00F3n */\n border-radius: 5px; /* Opcional, para esquinas redondeadas */\n color: black; /* Color del texto */\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra leve */\n animation: popIn 1s ease-in-out; /* Agrega la animaci\u00F3n al aparecer */\n}\n\n/* Definimos la animaci\u00F3n \"popIn\" */\n@keyframes popIn {\n 0% {\n transform: scale(0.8); /* Comienza m\u00E1s peque\u00F1o */\n opacity: 0; /* Empieza invisible */\n }\n 50% {\n transform: scale(1.1); /* Crece un poco m\u00E1s de lo normal */\n opacity: 1; /* Se hace visible */\n }\n 100% {\n transform: scale(1); /* Vuelve a su tama\u00F1o normal */\n }\n}\n\n.loading-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000; /* Aseg\u00FArate de que est\u00E9 por encima del contenido */\n}\n\nion-spinner {\n color: white;\n width: 50px;\n height: 50px;\n}\n\n\n\n.camera-select {\n position: absolute;\n top: 1rem;\n left: 1rem;\n background: rgba(0, 0, 0, 0.7);\n padding: 0.5rem;\n border-radius: 0.5rem;\n z-index: 999;\n display: flex;\n align-items: center;\n color: white;\n\n label {\n margin-right: 0.5rem;\n font-size: 14px;\n }\n\n select {\n background: transparent;\n color: white;\n border: 1px solid white;\n border-radius: 0.3rem;\n font-size: 14px;\n padding: 0.2rem;\n }\n}\n\n.buttonfabCameraChange {\n --background: rgba(0, 0, 0, 0.6);\n --color: #fff;\n //box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n /* ajusta posici\u00F3n extra si lo necesitas */\n /* margin-top: 8px; margin-left: 8px; */\n}\n"] }]
238
+ args: [{ selector: 'app-camera-overlay', encapsulation: ViewEncapsulation.Emulated, template: "<ion-content color=\"dark\">\n <div class=\"camera-overlay\">\n <ion-fab vertical=\"top\" horizontal=\"start\" slot=\"fixed\" *ngIf=\"rearCams.length > 1\">\n <ion-fab-button\n class=\"buttonfabCameraChange\"\n size=\"small\"\n (click)=\"toggleRearCam()\">\n <ion-icon name=\"camera-reverse-outline\"></ion-icon>\n </ion-fab-button>\n </ion-fab>\n <!-- \u25B8 Encabezado ---------------------------------------------------- -->\n <div class=\"header-text\">\n <div class=\"text-help\">\n <p>{{ text1 }}</p>\n </div>\n <p class=\"country\">{{ text2 }}</p>\n\n <!-- \u25B8 Selector de c\u00E1maras traseras (solo se muestra si hay varias) -->\n <!-- <ion-item class=\"cam-picker\" lines=\"none\">\n <ion-label>Elegir c\u00E1mara</ion-label>\n <ion-select interface=\"popover\"\n [value]=\"selectedCamId\"\n (ionChange)=\"onSelectCam($event)\">\n <ion-select-option *ngFor=\"let cam of rearCams\"\n [value]=\"cam.deviceId\">\n {{ cam.label }}\n </ion-select-option>\n </ion-select>\n </ion-item>-->\n </div> \n\n <!-- \u25B8 Loader mientras inicializa ------------------------------------ -->\n <div *ngIf=\"isLoading\" class=\"loading-overlay\">\n <ion-spinner name=\"crescent\"></ion-spinner>\n </div>\n\n <!-- \u25B8 Capa oscura con recorte (tu ventana de enfoque) --------------- -->\n <div class=\"visible-window\"></div>\n\n <!-- \u25B8 Contenedor del v\u00EDdeo + overlay -------------------------------- -->\n <div class=\"camera-container\">\n <video #videoElement autoplay muted playsinline></video>\n <img [src]=\"overlaySrc\" alt=\"Overlay\" class=\"overlay-frame blink-image\" />\n </div>\n\n <!-- \u25B8 Bot\u00F3n de captura ---------------------------------------------- -->\n <div class=\"button-container\">\n <ion-button (click)=\"capturePhoto()\"\n class=\"capture-button\"\n shape=\"round\"\n expand=\"block\">\n <ion-icon name=\"camera-outline\"></ion-icon>\n </ion-button>\n </div>\n\n <!-- \u25B8 Bot\u00F3n de cerrar ------------------------------------------------ -->\n <ion-button fill=\"clear\"\n (click)=\"closeOverlay()\"\n class=\"close-button\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </div>\n</ion-content>\n", styles: ["ion-content {\n --background: black;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n\n}\n\n\n.blink-image {\n animation: blink 3s infinite;\n}\n\n@keyframes blink {\n 0% { opacity: 1; }\n 50% { opacity: 0; }\n 100% { opacity: 1; }\n}\n\n.modal-container {\n max-width: 400px; // Ajusta el valor seg\u00FAn tus necesidades\n\n}\n\n.camera-overlay {\n position: relative;\n width: 100vw;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.camera-container {\n width: 100%;\n height: 100%;\n position: relative;\n\n video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n}\n\n.overlay-frame {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 86%;\n max-height: 90%;\n z-index: 9;\n}\n\n.header-text {\n position: absolute;\n top: 50px;\n width: 100%;\n text-align: center;\n color: white;\n z-index: 15;\n\n p {\n margin: 0;\n font-size: 18px;\n }\n\n .country {\n font-weight: bold;\n }\n}\n\n.button-container {\n position: absolute;\n bottom: 20px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 10;\n}\n\n.capture-button {\n width: 70px;\n height: 70px;\n border-radius: 50%;\n\n\n --background: var(--purple-primary);\n --background-hover: var(--purple-secondary);\n --background-activated: var(--purple-secondary);\n --background-focused: var(--purple-secondary);\n \n --color: white;\n \n --border-color: var(--purple-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--purple-secondary);\n}\n\n.close-button {\n position: absolute;\n top: 14px;\n right: 20px;\n color: white;\n z-index: 10;\n}\n\n.visible-window {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n // width: 70%; /* Ajusta el tama\u00F1o del cuadro */\n // height: 45%; /* Ajusta el tama\u00F1o del cuadro */\n\n width: 313px;\n height: 500px;\n\n max-width: 90%;\n max-height: 90%;\n background: transparent;\n border: 2px solid white; /* Color y grosor del borde */\n border-radius: 10px; /* Ajusta para redondear las esquinas */\n z-index: 10; /* Aseg\u00FArate de que est\u00E9 encima del overlay oscuro */\n box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.65); /* Oscurece fuera del cuadro */\n}\n.text-help p{\n display: inline-block; /* Hace que solo el texto ocupe espacio */\n background-color: white; /* Color de fondo del texto */\n padding:15px; /* Espaciado interno para una mejor visualizaci\u00F3n */\n border-radius: 5px; /* Opcional, para esquinas redondeadas */\n color: black; /* Color del texto */\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra leve */\n animation: popIn 1s ease-in-out; /* Agrega la animaci\u00F3n al aparecer */\n margin-left: 10px;\n margin-right: 10px;\n\n}\n\n/* Definimos la animaci\u00F3n \"popIn\" */\n@keyframes popIn {\n 0% {\n transform: scale(0.8); /* Comienza m\u00E1s peque\u00F1o */\n opacity: 0; /* Empieza invisible */\n }\n 50% {\n transform: scale(1.1); /* Crece un poco m\u00E1s de lo normal */\n opacity: 1; /* Se hace visible */\n }\n 100% {\n transform: scale(1); /* Vuelve a su tama\u00F1o normal */\n }\n}\n\n.loading-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000; /* Aseg\u00FArate de que est\u00E9 por encima del contenido */\n}\n\nion-spinner {\n color: white;\n width: 50px;\n height: 50px;\n}\n\n\n\n.camera-select {\n position: absolute;\n top: 1rem;\n left: 1rem;\n background: rgba(0, 0, 0, 0.7);\n padding: 0.5rem;\n border-radius: 0.5rem;\n z-index: 999;\n display: flex;\n align-items: center;\n color: white;\n\n label {\n margin-right: 0.5rem;\n font-size: 14px;\n }\n\n select {\n background: transparent;\n color: white;\n border: 1px solid white;\n border-radius: 0.3rem;\n font-size: 14px;\n padding: 0.2rem;\n }\n}\n\n.buttonfabCameraChange {\n --background: rgba(0, 0, 0, 0.6);\n --color: #fff;\n //box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n /* ajusta posici\u00F3n extra si lo necesitas */\n /* margin-top: 8px; margin-left: 8px; */\n}\n"] }]
237
239
  }], () => [{ type: i1.Platform }, { type: i1.ModalController }, { type: i2.ModalDpiServices }], { videoElement: [{
238
240
  type: ViewChild,
239
241
  args: ['videoElement']
@@ -1 +1 @@
1
- {"version":3,"file":"camera-with-overlay.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/camera-with-overlay/camera-with-overlay.component.ts","../../../../../../../src/app/pages/id-vision/components/camera-with-overlay/camera-with-overlay.component.html"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAET,YAAY,EACZ,KAAK,EAEL,MAAM,EACN,SAAS,EACT,iBAAiB,EAClB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;ICVtC,AADF,mCAAoF,yBAItD;IAA1B,kMAAS,sBAAe,KAAC;IACzB,+BAAmD;IAEvD,AADE,iBAAiB,EACT;;;IAuBV,+BAA+C;IAC7C,kCAA2C;IAC7C,iBAAM;;ADPV,MAAM,OAAO,0BAA0B;IAmBrC,YACU,QAAkB,EAClB,eAAgC,EAChC,gBAAkC;QAFlC,aAAQ,GAAR,QAAQ,CAAU;QAClB,oBAAe,GAAf,eAAe,CAAiB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 {"version":3,"file":"camera-with-overlay.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/camera-with-overlay/camera-with-overlay.component.ts","../../../../../../../src/app/pages/id-vision/components/camera-with-overlay/camera-with-overlay.component.html"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAET,YAAY,EACZ,KAAK,EAEL,MAAM,EACN,SAAS,EACT,iBAAiB,EAClB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;ICVtC,AADF,mCAAoF,yBAItD;IAA1B,kMAAS,sBAAe,KAAC;IACzB,+BAAmD;IAEvD,AADE,iBAAiB,EACT;;;IAuBV,+BAA+C;IAC7C,kCAA2C;IAC7C,iBAAM;;ADPV,MAAM,OAAO,0BAA0B;IAmBrC,YACU,QAAkB,EAClB,eAAgC,EAChC,gBAAkC;QAFlC,aAAQ,GAAR,QAAQ,CAAU;QAClB,oBAAe,GAAf,eAAe,CAAiB;QAChC,qBAAgB,GAAhB,gBAAgB,CAAkB;QAnB5C,8BAA8B;QACrB,UAAK,GAAG,EAAE,CAAC;QACX,UAAK,GAAG,EAAE,CAAC;QACX,eAAU,GAAG,EAAE,CAAC;QAEf,mBAAc,GAAG,IAAI,YAAY,EAAQ,CAAC;QAEpD,oBAAoB;QACpB,WAAM,GAAuB,IAAI,CAAC;QAClC,cAAS,GAAG,IAAI,CAAC;QACjB,aAAQ,GAAc,EAAE,CAAC;QACzB,kBAAa,GAAkB,IAAI,CAAC;QACpC,qBAAgB,GAAG,CAAC,CAAC,CAAe,sCAAsC;QAEzD,aAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IAM/E,CAAC;IAEL,oCAAoC;IAEpC,KAAK,CAAC,eAAe;QACnB,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,YAAW;YAchC,AAdgC,iBAAI,EAc9B;YAGN,2EAA+C;YAK/C,0BAAkC;YAGlC,+BAA8B;YAE5B,AADA,gCAAwD,eACkB;YAC5E,iBAAM;YAIJ,AADF,gCAA8B,sBAID;YAHf,kJAAS,kBAAc,KAAC;YAIlC,gCAA2C;YAE/C,AADE,iBAAa,EACT;YAGN,uCAEiC;YADrB,kJAAS,kBAAc,KAAC;YAElC,gCAA0C;YAGhD,AADE,AADE,iBAAa,EACT,EACM;;YA5D+C,eAAyB;YAAzB,8CAAyB;YAW3E,eAAW;YAAX,+BAAW;YAEG,eAAW;YAAX,+BAAW;YAiB1B,cAAe;YAAf,oCAAe;YAUd,eAAkB;YAAlB,sDAAkB;;;iFDfhB,0BAA0B;cANtC,SAAS;2BACE,oBAAoB,iBAGf,iBAAiB,CAAC,QAAQ;sGAGd,YAAY;kBAAtC,SAAS;mBAAC,cAAc;YAGhB,KAAK;kBAAb,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,UAAU;kBAAlB,KAAK;YACG,aAAa;kBAArB,KAAK;YACI,cAAc;kBAAvB,MAAM;;kFARI,0BAA0B"}
@@ -69,7 +69,7 @@ export class MessageModalComponent {
69
69
  this.modalCtrl.dismiss();
70
70
  }
71
71
  static { this.ɵfac = function MessageModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MessageModalComponent)(i0.ɵɵdirectiveInject(i1.ModalController)); }; }
72
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageModalComponent, selectors: [["app-modal-error"]], inputs: { title: "title", variant: "variant", message: "message", errors: "errors" }, decls: 13, vars: 6, consts: [["singleMessage", ""], [1, "custom-modal-content"], [1, "modal-wrapper"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "modal-title"], [4, "ngIf", "ngIfElse"], ["expand", "block", 1, "modal-button", 3, "click"], ["src", "assets/imagesIdvision/icons/dpi-error.svg", "alt", "Icono DPI", 1, "modal-icon"], ["src", "assets/imagesIdvision/icons/video-error.svg", "alt", "Icono Video", 1, "modal-icon"], [1, "error-list"], [4, "ngFor", "ngForOf"], [1, "modal-message"]], template: function MessageModalComponent_Template(rf, ctx) { if (rf & 1) {
72
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageModalComponent, selectors: [["app-modal-error"]], inputs: { title: "title", variant: "variant", message: "message", errors: "errors" }, decls: 13, vars: 6, consts: [["singleMessage", ""], ["id", "custom-modal-error"], [1, "modal-wrapper-error"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "modal-title"], [4, "ngIf", "ngIfElse"], ["expand", "block", 1, "modal-button-error", 3, "click"], ["src", "assets/imagesIdvision/icons/dpi-error.svg", "alt", "Icono DPI", 1, "modal-icon"], ["src", "assets/imagesIdvision/icons/video-error.svg", "alt", "Icono Video", 1, "modal-icon"], [1, "error-list"], [4, "ngFor", "ngForOf"], [1, "modal-message"]], template: function MessageModalComponent_Template(rf, ctx) { if (rf & 1) {
73
73
  const _r1 = i0.ɵɵgetCurrentView();
74
74
  i0.ɵɵelementStart(0, "ion-content", 1)(1, "div", 2);
75
75
  i0.ɵɵelementContainerStart(2, 3);
@@ -95,11 +95,11 @@ export class MessageModalComponent {
95
95
  i0.ɵɵtextInterpolate(ctx.title);
96
96
  i0.ɵɵadvance();
97
97
  i0.ɵɵproperty("ngIf", ctx.errorMessages && ctx.errorMessages.length > 0)("ngIfElse", singleMessage_r4);
98
- } }, dependencies: [i2.NgForOf, i2.NgIf, i2.NgSwitch, i2.NgSwitchCase, i2.NgSwitchDefault, i1.IonButton, i1.IonContent], styles: [".custom-modal-content[_ngcontent-%COMP%] {\n --background: transparent; // Para que el fondo del ion-content sea transparente\n }\n \n .modal-wrapper[_ngcontent-%COMP%] {\n background-color: #fff;\n margin: auto;\n margin-top: 50%;\n width: 80%;\n max-width: 320px;\n border-radius: 8px;\n text-align: center;\n padding: 20px;\n box-shadow: 0 2px 8px rgba(0,0,0,0.2);\n }\n \n .modal-icon[_ngcontent-%COMP%] {\n font-size: 3rem;\n color: var(--orange-primary);\n margin-bottom: 8px;\n }\n \n \n\n .modal-title[_ngcontent-%COMP%] {\n font-size: 1.2rem;\n font-weight: bold;\n color: #333;\n margin-bottom: 8px;\n }\n \n \n\n .modal-message[_ngcontent-%COMP%] {\n font-size: 1rem;\n color: #666;\n margin-bottom: 16px;\n }\n \n.error-list[_ngcontent-%COMP%] {\n list-style-type: disc;\n padding-left: 20px;\n margin-bottom: 16px;\n text-align: left;\n color: #666;\n font-size: 1rem;\n }\n \n .error-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n }\n\n .modal-button[_ngcontent-%COMP%] {\n // --background: #F8AA00; \n\n // --color: #fff;\n // --border-radius: 4px;\n // max-width: 300px; // anteriormente 300\n width: auto;\n margin: 0 auto;\n background-color: #ffcc00;\n color: #ffffff;\n font-weight: bold;\n border-radius: 20px;\n \n --background: var(--orange-primary);\n --background-hover: var(--orange-secondary);\n --background-activated: var(--orange-secondary);\n --background-focused: var(--orange-secondary);\n \n --color: var(--orange-primary);\n \n --border-radius: 20px;\n --border-color: var(--orange-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--orange-secondary);\n \n \n &:hover {\n background-color: #ffb300;\n }\n \n &:active {\n background-color: #e6a800;\n }\n \n }"] }); }
98
+ } }, dependencies: [i2.NgForOf, i2.NgIf, i2.NgSwitch, i2.NgSwitchCase, i2.NgSwitchDefault, i1.IonButton, i1.IonContent], styles: ["#custom-modal-error[_ngcontent-%COMP%] {\n --background: transparent !important; // Para que el fondo del ion-content sea transparente\n }\n \n .modal-wrapper-error[_ngcontent-%COMP%] {\n background-color: #fff;\n margin: auto;\n margin-top: 50%;\n width: 80%;\n max-width: 320px;\n border-radius: 8px;\n text-align: center;\n padding: 20px;\n box-shadow: 0 2px 8px rgba(0,0,0,0.2);\n }\n \n .modal-icon[_ngcontent-%COMP%] {\n font-size: 3rem;\n color: var(--orange-primary);\n margin-bottom: 8px;\n }\n \n \n\n .modal-title[_ngcontent-%COMP%] {\n font-size: 1.2rem;\n font-weight: bold;\n color: #333;\n margin-bottom: 8px;\n }\n \n \n\n .modal-message[_ngcontent-%COMP%] {\n font-size: 1rem;\n color: #666;\n margin-bottom: 16px;\n }\n \n.error-list[_ngcontent-%COMP%] {\n list-style-type: disc;\n padding-left: 20px;\n margin-bottom: 16px;\n text-align: left;\n color: #666;\n font-size: 1rem;\n }\n \n .error-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n }\n\n .modal-button-error[_ngcontent-%COMP%] {\n // --background: #F8AA00; \n\n // --color: #fff;\n // --border-radius: 4px;\n // max-width: 300px; // anteriormente 300\n width: auto;\n margin: 0 auto;\n background-color: #ffcc00;\n color: #ffffff;\n font-weight: bold;\n border-radius: 20px;\n \n --background: var(--orange-primary);\n --background-hover: var(--orange-secondary);\n --background-activated: var(--orange-secondary);\n --background-focused: var(--orange-secondary);\n \n --color: var(--orange-primary);\n \n --border-radius: 20px;\n --border-color: var(--orange-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--orange-secondary);\n \n \n &:hover {\n background-color: #ffb300;\n }\n \n &:active {\n background-color: #e6a800;\n }\n \n }"] }); }
99
99
  }
100
100
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageModalComponent, [{
101
101
  type: Component,
102
- args: [{ selector: 'app-modal-error', template: "<ion-content class=\"custom-modal-content\">\n <div class=\"modal-wrapper\">\n <ng-container [ngSwitch]=\"variant\">\n <ng-container *ngSwitchCase=\"'dpi'\">\n <img src=\"assets/imagesIdvision/icons/dpi-error.svg\" alt=\"Icono DPI\" class=\"modal-icon\">\n </ng-container>\n <ng-container *ngSwitchCase=\"'video'\">\n <img src=\"assets/imagesIdvision/icons/video-error.svg\" alt=\"Icono Video\" class=\"modal-icon\">\n </ng-container>\n <ng-container *ngSwitchDefault>\n <img src=\"assets/imagesIdvision/icons/dpi-error.svg\" alt=\"Icono DPI\" class=\"modal-icon\">\n </ng-container>\n </ng-container>\n <h2 class=\"modal-title\">{{ title }}</h2>\n <div *ngIf=\"errorMessages && errorMessages.length > 0; else singleMessage\">\n <ul class=\"error-list\">\n <li *ngFor=\"let error of errorMessages\">{{ error }}</li>\n </ul>\n </div>\n <ng-template #singleMessage>\n <p class=\"modal-message\">{{ message }}</p>\n </ng-template>\n \n <ion-button (click)=\"closeModal()\" expand=\"block\" class=\"modal-button\">\n Ok\n </ion-button>\n </div>\n</ion-content>\n", styles: [".custom-modal-content {\n --background: transparent; // Para que el fondo del ion-content sea transparente\n }\n \n .modal-wrapper {\n background-color: #fff;\n margin: auto;\n margin-top: 50%;\n width: 80%;\n max-width: 320px;\n border-radius: 8px;\n text-align: center;\n padding: 20px;\n box-shadow: 0 2px 8px rgba(0,0,0,0.2);\n }\n \n .modal-icon {\n font-size: 3rem;\n color: var(--orange-primary);\n margin-bottom: 8px;\n }\n \n /* T\u00EDtulo */\n .modal-title {\n font-size: 1.2rem;\n font-weight: bold;\n color: #333;\n margin-bottom: 8px;\n }\n \n /* Mensaje */\n .modal-message {\n font-size: 1rem;\n color: #666;\n margin-bottom: 16px;\n }\n \n.error-list {\n list-style-type: disc;\n padding-left: 20px;\n margin-bottom: 16px;\n text-align: left;\n color: #666;\n font-size: 1rem;\n }\n \n .error-list li {\n margin-bottom: 8px;\n }\n\n .modal-button {\n // --background: #F8AA00; /* Mismo color del \u00EDcono */\n // --color: #fff;\n // --border-radius: 4px;\n // max-width: 300px; // anteriormente 300\n width: auto;\n margin: 0 auto;\n background-color: #ffcc00;\n color: #ffffff;\n font-weight: bold;\n border-radius: 20px;\n \n --background: var(--orange-primary);\n --background-hover: var(--orange-secondary);\n --background-activated: var(--orange-secondary);\n --background-focused: var(--orange-secondary);\n \n --color: var(--orange-primary);\n \n --border-radius: 20px;\n --border-color: var(--orange-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--orange-secondary);\n \n \n &:hover {\n background-color: #ffb300;\n }\n \n &:active {\n background-color: #e6a800;\n }\n \n }\n "] }]
102
+ args: [{ selector: 'app-modal-error', template: "<ion-content id=\"custom-modal-error\">\n <div class=\"modal-wrapper-error\">\n <ng-container [ngSwitch]=\"variant\">\n <ng-container *ngSwitchCase=\"'dpi'\">\n <img src=\"assets/imagesIdvision/icons/dpi-error.svg\" alt=\"Icono DPI\" class=\"modal-icon\">\n </ng-container>\n <ng-container *ngSwitchCase=\"'video'\">\n <img src=\"assets/imagesIdvision/icons/video-error.svg\" alt=\"Icono Video\" class=\"modal-icon\">\n </ng-container>\n <ng-container *ngSwitchDefault>\n <img src=\"assets/imagesIdvision/icons/dpi-error.svg\" alt=\"Icono DPI\" class=\"modal-icon\">\n </ng-container>\n </ng-container>\n <h2 class=\"modal-title\">{{ title }}</h2>\n <div *ngIf=\"errorMessages && errorMessages.length > 0; else singleMessage\">\n <ul class=\"error-list\">\n <li *ngFor=\"let error of errorMessages\">{{ error }}</li>\n </ul>\n </div>\n <ng-template #singleMessage>\n <p class=\"modal-message\">{{ message }}</p>\n </ng-template>\n \n <ion-button (click)=\"closeModal()\" expand=\"block\" class=\"modal-button-error\">\n Ok\n </ion-button>\n </div>\n</ion-content>\n", styles: ["#custom-modal-error {\n --background: transparent !important; // Para que el fondo del ion-content sea transparente\n }\n \n .modal-wrapper-error {\n background-color: #fff;\n margin: auto;\n margin-top: 50%;\n width: 80%;\n max-width: 320px;\n border-radius: 8px;\n text-align: center;\n padding: 20px;\n box-shadow: 0 2px 8px rgba(0,0,0,0.2);\n }\n \n .modal-icon {\n font-size: 3rem;\n color: var(--orange-primary);\n margin-bottom: 8px;\n }\n \n /* T\u00EDtulo */\n .modal-title {\n font-size: 1.2rem;\n font-weight: bold;\n color: #333;\n margin-bottom: 8px;\n }\n \n /* Mensaje */\n .modal-message {\n font-size: 1rem;\n color: #666;\n margin-bottom: 16px;\n }\n \n.error-list {\n list-style-type: disc;\n padding-left: 20px;\n margin-bottom: 16px;\n text-align: left;\n color: #666;\n font-size: 1rem;\n }\n \n .error-list li {\n margin-bottom: 8px;\n }\n\n .modal-button-error {\n // --background: #F8AA00; /* Mismo color del \u00EDcono */\n // --color: #fff;\n // --border-radius: 4px;\n // max-width: 300px; // anteriormente 300\n width: auto;\n margin: 0 auto;\n background-color: #ffcc00;\n color: #ffffff;\n font-weight: bold;\n border-radius: 20px;\n \n --background: var(--orange-primary);\n --background-hover: var(--orange-secondary);\n --background-activated: var(--orange-secondary);\n --background-focused: var(--orange-secondary);\n \n --color: var(--orange-primary);\n \n --border-radius: 20px;\n --border-color: var(--orange-primary);\n --border-style: solid;\n --border-width: 1px;\n \n --box-shadow: 0 2px 6px 0 rgb(0, 0, 0, 0.25);\n \n --ripple-color: var(--orange-secondary);\n \n \n &:hover {\n background-color: #ffb300;\n }\n \n &:active {\n background-color: #e6a800;\n }\n \n }\n "] }]
103
103
  }], () => [{ type: i1.ModalController }], { title: [{
104
104
  type: Input
105
105
  }], variant: [{
@@ -1 +1 @@
1
- {"version":3,"file":"message-modal.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/message-modal/message-modal.component.ts","../../../../../../../src/app/pages/id-vision/components/message-modal/message-modal.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;;;ICG3C,6BAAoC;IAClC,yBAAwF;;;;IAE1F,6BAAsC;IACpC,0BAA4F;;;;IAE9F,6BAA+B;IAC7B,yBAAwF;;;;IAMpF,0BAAwC;IAAA,YAAW;IAAA,iBAAK;;;IAAhB,cAAW;IAAX,8BAAW;;;IADrD,AADF,2BAA2E,aAClD;IACrB,2EAAw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ACT,EACM;;;YAzBI,eAAoB;YAApB,sCAAoB;YACjB,cAAmB;YAAnB,oCAAmB;YAGnB,cAAqB;YAArB,sCAAqB;YAOd,eAAW;YAAX,+BAAW;YACzB,cAAiD;YAAA,AAAjD,wEAAiD,8BAAkB;;;iFDNpE,qBAAqB;cALjC,SAAS;2BACE,iBAAiB;gDAKlB,KAAK;kBAAb,KAAK;YACG,OAAO;kBAAf,KAAK;YAEK,OAAO;kBAAf,KAAK;YAMF,MAAM;kBAFT,KAAK;;kBACL,KAAK;;kFATG,qBAAqB"}
1
+ {"version":3,"file":"message-modal.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/message-modal/message-modal.component.ts","../../../../../../../src/app/pages/id-vision/components/message-modal/message-modal.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;;;ICG3C,6BAAoC;IAClC,yBAAwF;;;;IAE1F,6BAAsC;IACpC,0BAA4F;;;;IAE9F,6BAA+B;IAC7B,yBAAwF;;;;IAMpF,0BAAwC;IAAA,YAAW;IAAA,iBAAK;;;IAAhB,cAAW;IAAX,8BAAW;;;IADrD,AADF,2BAA2E,aAClD;IACrB,2EAAwC;IAE5C,AADE,iBAAK,EACD;;;IAFoB,eAAgB;IAAhB,8CAAgB;;;IAIxC,6BAAyB;IAAA,YAAa;IAAA,iBAAI;;;IAAjB,cAAa;IAAb,oCAAa;;ADZhD,MAAM,OAAO,qBAAqB;IAQ9B,IAEI,MAAM,CAAC,KAAwB;QACjC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC7B,CAAC;aAAM,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9C,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;gBACtC,CAAC,CAAC,KAAK,CA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