metag-sdk-ionic 1.2.7-native-0.113 → 1.2.7-native-0.115

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.
@@ -16,7 +16,7 @@ export declare class NativeVideoSelfiePreviewComponent implements AfterViewInit,
16
16
  countdown: number;
17
17
  isRecording: boolean;
18
18
  timeRemaining: number;
19
- isLoading: boolean;
19
+ isProcessing: boolean;
20
20
  private defaultBrightness;
21
21
  private recordingTimer;
22
22
  private isAndroid;
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
9
9
  import * as i1 from "@ionic/angular";
10
10
  import * as i2 from "../../services/modal-services/modal-dpi-services";
11
11
  import * as i3 from "@angular/common";
12
- function NativeVideoSelfiePreviewComponent_div_3_Template(rf, ctx) { if (rf & 1) {
13
- i0.ɵɵelementStart(0, "div", 11)(1, "div", 12);
12
+ function NativeVideoSelfiePreviewComponent_div_1_Template(rf, ctx) { if (rf & 1) {
13
+ i0.ɵɵelementStart(0, "div", 4)(1, "div", 5);
14
14
  i0.ɵɵtext(2);
15
15
  i0.ɵɵelementEnd()();
16
16
  } if (rf & 2) {
@@ -18,11 +18,8 @@ function NativeVideoSelfiePreviewComponent_div_3_Template(rf, ctx) { if (rf & 1)
18
18
  i0.ɵɵadvance(2);
19
19
  i0.ɵɵtextInterpolate(ctx_r0.countdown);
20
20
  } }
21
- function NativeVideoSelfiePreviewComponent_div_4_Template(rf, ctx) { if (rf & 1) {
22
- i0.ɵɵelement(0, "div", 13);
23
- } }
24
- function NativeVideoSelfiePreviewComponent_div_5_Template(rf, ctx) { if (rf & 1) {
25
- i0.ɵɵelementStart(0, "div", 14)(1, "div", 15);
21
+ function NativeVideoSelfiePreviewComponent_div_2_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "div", 6)(1, "div", 7);
26
23
  i0.ɵɵtext(2);
27
24
  i0.ɵɵelementEnd()();
28
25
  } if (rf & 2) {
@@ -30,28 +27,12 @@ function NativeVideoSelfiePreviewComponent_div_5_Template(rf, ctx) { if (rf & 1)
30
27
  i0.ɵɵadvance(2);
31
28
  i0.ɵɵtextInterpolate1("", ctx_r0.timeRemaining, "s");
32
29
  } }
33
- function NativeVideoSelfiePreviewComponent_div_6_Template(rf, ctx) { if (rf & 1) {
34
- i0.ɵɵelementStart(0, "div", 16);
35
- i0.ɵɵtext(1);
36
- i0.ɵɵelement(2, "br");
37
- i0.ɵɵtext(3);
38
- i0.ɵɵelementEnd();
39
- } if (rf & 2) {
40
- const ctx_r0 = i0.ɵɵnextContext();
41
- i0.ɵɵadvance();
42
- i0.ɵɵtextInterpolate1(" ", ctx_r0.text1, "");
43
- i0.ɵɵadvance(2);
44
- i0.ɵɵtextInterpolate1("", ctx_r0.text2, " ");
45
- } }
46
- function NativeVideoSelfiePreviewComponent_ion_button_7_Template(rf, ctx) { if (rf & 1) {
47
- const _r2 = i0.ɵɵgetCurrentView();
48
- i0.ɵɵelementStart(0, "ion-button", 17);
49
- i0.ɵɵlistener("click", function NativeVideoSelfiePreviewComponent_ion_button_7_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.recordVideo()); });
50
- i0.ɵɵtext(1, " Iniciar grabaci\u00F3n ");
51
- i0.ɵɵelementEnd();
52
- } }
53
- function NativeVideoSelfiePreviewComponent_ion_spinner_8_Template(rf, ctx) { if (rf & 1) {
54
- i0.ɵɵelement(0, "ion-spinner", 18);
30
+ function NativeVideoSelfiePreviewComponent_div_3_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵelementStart(0, "div", 8);
32
+ i0.ɵɵelement(1, "ion-spinner", 9);
33
+ i0.ɵɵelementStart(2, "p");
34
+ i0.ɵɵtext(3, "Procesando video...");
35
+ i0.ɵɵelementEnd()();
55
36
  } }
56
37
  export class NativeVideoSelfiePreviewComponent {
57
38
  constructor(platform, modalController, alertController, changeDetector, modalDpiServices) {
@@ -66,7 +47,7 @@ export class NativeVideoSelfiePreviewComponent {
66
47
  this.countdown = 0;
67
48
  this.isRecording = false;
68
49
  this.timeRemaining = 5;
69
- this.isLoading = true;
50
+ this.isProcessing = false;
70
51
  this.defaultBrightness = null;
71
52
  this.isAndroid = this.platform.is('android');
72
53
  this.isIOS = this.platform.is('ios');
@@ -84,7 +65,10 @@ export class NativeVideoSelfiePreviewComponent {
84
65
  }
85
66
  }
86
67
  await this.startCameraPreview();
87
- this.isLoading = false;
68
+ // Iniciar grabación automáticamente después de 2 segundos
69
+ setTimeout(() => {
70
+ this.recordVideo();
71
+ }, 2000);
88
72
  this.modalDpiServices.closeModalAndChangeBrightness$.subscribe(async () => await this.closeOverlayVideo());
89
73
  }
90
74
  async ngOnDestroy() {
@@ -98,24 +82,17 @@ export class NativeVideoSelfiePreviewComponent {
98
82
  }
99
83
  async startCameraPreview() {
100
84
  try {
101
- // Pequeño delay para asegurar que el DOM esté listo
102
85
  await new Promise(resolve => setTimeout(resolve, 100));
103
86
  const cameraPreviewOptions = {
104
87
  position: 'front',
105
- toBack: true,
88
+ toBack: false,
106
89
  x: 0,
107
90
  y: 0,
108
91
  width: window.screen.width,
109
92
  height: window.screen.height,
110
93
  disableAudio: false
111
94
  };
112
- console.log('[NativeVideoSelfiePreview] Dimensiones de pantalla:', {
113
- width: window.screen.width,
114
- height: window.screen.height,
115
- innerWidth: window.innerWidth,
116
- innerHeight: window.innerHeight
117
- });
118
- console.log('[NativeVideoSelfiePreview] Iniciando CameraPreview con toBack: true...');
95
+ console.log('[NativeVideoSelfiePreview] Iniciando CameraPreview con toBack: false (cámara encima de todo)');
119
96
  await CameraPreview.start(cameraPreviewOptions);
120
97
  console.log('[NativeVideoSelfiePreview] ✅ CameraPreview iniciado correctamente');
121
98
  this.changeDetector.detectChanges();
@@ -152,7 +129,6 @@ export class NativeVideoSelfiePreviewComponent {
152
129
  this.timeRemaining = 5;
153
130
  await CameraPreview.startRecordVideo({});
154
131
  console.log('[NativeVideoSelfiePreview] Grabación iniciada');
155
- // Timer de 5 segundos
156
132
  this.recordingTimer = setInterval(() => {
157
133
  this.timeRemaining -= 1;
158
134
  this.changeDetector.detectChanges();
@@ -172,9 +148,11 @@ export class NativeVideoSelfiePreviewComponent {
172
148
  try {
173
149
  console.log('[NativeVideoSelfiePreview] Deteniendo grabación...');
174
150
  await CameraPreview.stopRecordVideo();
175
- console.log('[NativeVideoSelfiePreview] Video grabado, esperando 1 segundo antes de obtener...');
151
+ this.isRecording = false;
152
+ this.isProcessing = true;
153
+ this.changeDetector.detectChanges();
154
+ console.log('[NativeVideoSelfiePreview] Video grabado, esperando 1 segundo...');
176
155
  await new Promise(resolve => setTimeout(resolve, 1000));
177
- console.log('[NativeVideoSelfiePreview] Obteniendo video del almacenamiento...');
178
156
  const videoFile = await this.getLatestVideoFile();
179
157
  if (!videoFile) {
180
158
  throw new Error('No se encontró el video grabado');
@@ -183,7 +161,7 @@ export class NativeVideoSelfiePreviewComponent {
183
161
  const file = await this.pathToFile(videoFile);
184
162
  console.log('[NativeVideoSelfiePreview] File creado:', file.size, 'bytes');
185
163
  this.capVideo = file;
186
- this.isRecording = false;
164
+ this.isProcessing = false;
187
165
  if (this.backFunction) {
188
166
  await this.backFunction(file);
189
167
  }
@@ -191,6 +169,7 @@ export class NativeVideoSelfiePreviewComponent {
191
169
  catch (error) {
192
170
  console.error('[NativeVideoSelfiePreview] Error deteniendo grabación:', error);
193
171
  this.isRecording = false;
172
+ this.isProcessing = false;
194
173
  await this.showError('No se pudo procesar el video: ' + error.message);
195
174
  }
196
175
  }
@@ -221,7 +200,6 @@ export class NativeVideoSelfiePreviewComponent {
221
200
  const fileData = await Filesystem.readFile({
222
201
  path: videoPath
223
202
  });
224
- console.log('[NativeVideoSelfiePreview] Archivo leído, convirtiendo a blob...');
225
203
  const base64Data = typeof fileData.data === 'string' ? fileData.data : fileData.data.toString();
226
204
  const byteCharacters = atob(base64Data);
227
205
  const byteNumbers = new Array(byteCharacters.length);
@@ -230,12 +208,10 @@ export class NativeVideoSelfiePreviewComponent {
230
208
  }
231
209
  const byteArray = new Uint8Array(byteNumbers);
232
210
  const blob = new Blob([byteArray], { type: 'video/mp4' });
233
- console.log('[NativeVideoSelfiePreview] Blob creado:', blob.size, 'bytes');
234
211
  const file = new File([blob], 'video-selfie.mp4', {
235
212
  type: 'video/mp4',
236
213
  lastModified: Date.now()
237
214
  });
238
- console.log('[NativeVideoSelfiePreview] File creado:', file.size, 'bytes');
239
215
  if (file.size === 0 && blob.size > 0) {
240
216
  console.warn('[NativeVideoSelfiePreview] File size es 0, usando blob como File');
241
217
  const blobAsFile = blob;
@@ -274,75 +250,40 @@ export class NativeVideoSelfiePreviewComponent {
274
250
  await alert.present();
275
251
  }
276
252
  static { this.ɵfac = function NativeVideoSelfiePreviewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeVideoSelfiePreviewComponent)(i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i1.ModalController), i0.ɵɵdirectiveInject(i1.AlertController), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.ModalDpiServices)); }; }
277
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NativeVideoSelfiePreviewComponent, selectors: [["app-native-video-selfie-preview"]], inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 11, vars: 6, consts: [[1, "camera-fullscreen"], [1, "camera-view-area"], [1, "overlay-container"], ["class", "countdown-overlay", 4, "ngIf"], ["class", "circle-overlay", 4, "ngIf"], ["class", "timer", 4, "ngIf"], ["class", "instruction", 4, "ngIf"], ["expand", "block", "class", "start-button", 3, "click", 4, "ngIf"], ["name", "crescent", 4, "ngIf"], ["fill", "clear", 1, "close-btn", 3, "click"], ["slot", "icon-only", "name", "close"], [1, "countdown-overlay"], [1, "countdown"], [1, "circle-overlay"], [1, "timer"], [1, "timer-label"], [1, "instruction"], ["expand", "block", 1, "start-button", 3, "click"], ["name", "crescent"]], template: function NativeVideoSelfiePreviewComponent_Template(rf, ctx) { if (rf & 1) {
253
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NativeVideoSelfiePreviewComponent, selectors: [["app-native-video-selfie-preview"]], inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 3, consts: [[1, "camera-fullscreen"], ["class", "countdown-overlay", 4, "ngIf"], ["class", "timer-overlay", 4, "ngIf"], ["class", "processing-overlay", 4, "ngIf"], [1, "countdown-overlay"], [1, "countdown"], [1, "timer-overlay"], [1, "timer"], [1, "processing-overlay"], ["name", "crescent"]], template: function NativeVideoSelfiePreviewComponent_Template(rf, ctx) { if (rf & 1) {
278
254
  i0.ɵɵelementStart(0, "div", 0);
279
- i0.ɵɵelement(1, "div", 1);
280
- i0.ɵɵelementStart(2, "div", 2);
281
- i0.ɵɵtemplate(3, NativeVideoSelfiePreviewComponent_div_3_Template, 3, 1, "div", 3)(4, NativeVideoSelfiePreviewComponent_div_4_Template, 1, 0, "div", 4)(5, NativeVideoSelfiePreviewComponent_div_5_Template, 3, 1, "div", 5)(6, NativeVideoSelfiePreviewComponent_div_6_Template, 4, 2, "div", 6)(7, NativeVideoSelfiePreviewComponent_ion_button_7_Template, 2, 0, "ion-button", 7)(8, NativeVideoSelfiePreviewComponent_ion_spinner_8_Template, 1, 0, "ion-spinner", 8);
282
- i0.ɵɵelementStart(9, "ion-button", 9);
283
- i0.ɵɵlistener("click", function NativeVideoSelfiePreviewComponent_Template_ion_button_click_9_listener() { return ctx.closeRequestedFunction(); });
284
- i0.ɵɵelement(10, "ion-icon", 10);
285
- i0.ɵɵelementEnd()()();
255
+ i0.ɵɵtemplate(1, NativeVideoSelfiePreviewComponent_div_1_Template, 3, 1, "div", 1)(2, NativeVideoSelfiePreviewComponent_div_2_Template, 3, 1, "div", 2)(3, NativeVideoSelfiePreviewComponent_div_3_Template, 4, 0, "div", 3);
256
+ i0.ɵɵelementEnd();
286
257
  } if (rf & 2) {
287
- i0.ɵɵadvance(3);
288
- i0.ɵɵproperty("ngIf", ctx.countdown > 0);
289
258
  i0.ɵɵadvance();
290
- i0.ɵɵproperty("ngIf", ctx.isRecording);
259
+ i0.ɵɵproperty("ngIf", ctx.countdown > 0);
291
260
  i0.ɵɵadvance();
292
261
  i0.ɵɵproperty("ngIf", ctx.isRecording);
293
262
  i0.ɵɵadvance();
294
- i0.ɵɵproperty("ngIf", !ctx.isRecording && ctx.countdown === 0);
295
- i0.ɵɵadvance();
296
- i0.ɵɵproperty("ngIf", !ctx.isRecording && ctx.countdown === 0);
297
- i0.ɵɵadvance();
298
- i0.ɵɵproperty("ngIf", ctx.isLoading);
299
- } }, dependencies: [IonicModule, i1.IonButton, i1.IonIcon, i1.IonSpinner, CommonModule, i3.NgIf], styles: ["[_nghost-%COMP%] { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: transparent !important; }", ".camera-fullscreen[_ngcontent-%COMP%] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent !important; }", ".camera-view-area[_ngcontent-%COMP%] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent !important; z-index: 1; }", ".overlay-container[_ngcontent-%COMP%] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; z-index: 999999; background: transparent !important; }", ".overlay-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] { pointer-events: all; }", ".countdown-overlay[_ngcontent-%COMP%] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 20; }", ".countdown[_ngcontent-%COMP%] { font-size: 120px; color: white; font-weight: bold; animation: pulse 1s ease-in-out; }", "@keyframes _ngcontent-%COMP%_pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }", ".circle-overlay[_ngcontent-%COMP%] { position: absolute; width: 300px; height: 300px; border: 4px solid #9c27b0; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 20px rgba(156, 39, 176, 0.5); animation: pulse-border 2s ease-in-out infinite; }", "@keyframes _ngcontent-%COMP%_pulse-border { 0%, 100% { border-color: #9c27b0; box-shadow: 0 0 20px rgba(156, 39, 176, 0.5); } 50% { border-color: #7b1fa2; box-shadow: 0 0 30px rgba(123, 31, 162, 0.8); } }", ".timer[_ngcontent-%COMP%] { position: absolute; top: 15%; z-index: 15; }", ".timer-label[_ngcontent-%COMP%] { color: #f44336; font-size: 32px; font-weight: bold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }", ".instruction[_ngcontent-%COMP%] { position: absolute; bottom: 150px; color: white; text-align: center; padding: 0 30px; font-size: 16px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); background: rgba(0, 0, 0, 0.5); border-radius: 10px; padding: 15px 20px; }", ".start-button[_ngcontent-%COMP%] { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); width: 80%; max-width: 300px; --background: #9c27b0; --background-hover: #7b1fa2; --border-radius: 25px; font-weight: bold; pointer-events: all !important; z-index: 10000000; }", "ion-spinner[_ngcontent-%COMP%] { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); --color: white; width: 60px; height: 60px; pointer-events: none; }", ".close-btn[_ngcontent-%COMP%] { position: absolute !important; top: 20px !important; right: 20px !important; --color: white; --background: rgba(0, 0, 0, 0.5); --border-radius: 50%; width: 50px; height: 50px; pointer-events: all !important; z-index: 10000001 !important; }"] }); }
263
+ i0.ɵɵproperty("ngIf", ctx.isProcessing);
264
+ } }, dependencies: [IonicModule, i1.IonSpinner, CommonModule, i3.NgIf], styles: ["[_nghost-%COMP%] { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }", ".camera-fullscreen[_ngcontent-%COMP%] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }", ".countdown-overlay[_ngcontent-%COMP%] { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".countdown[_ngcontent-%COMP%] { font-size: 120px; color: white; font-weight: bold; animation: pulse 1s ease-in-out; }", "@keyframes _ngcontent-%COMP%_pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }", ".timer-overlay[_ngcontent-%COMP%] { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 99999; pointer-events: none; }", ".timer[_ngcontent-%COMP%] { background: rgba(244, 67, 54, 0.9); color: white; font-size: 32px; font-weight: bold; padding: 10px 20px; border-radius: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.3); }", ".processing-overlay[_ngcontent-%COMP%] { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".processing-overlay[_ngcontent-%COMP%] ion-spinner[_ngcontent-%COMP%] { --color: white; width: 60px; height: 60px; margin-bottom: 20px; }", ".processing-overlay[_ngcontent-%COMP%] p[_ngcontent-%COMP%] { color: white; font-size: 18px; font-weight: bold; }"] }); }
300
265
  }
301
266
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeVideoSelfiePreviewComponent, [{
302
267
  type: Component,
303
268
  args: [{ selector: 'app-native-video-selfie-preview', standalone: true, imports: [IonicModule, CommonModule], template: `
304
269
  <div class="camera-fullscreen">
305
- <!-- Área transparente donde se verá la cámara -->
306
- <div class="camera-view-area"></div>
307
-
308
- <!-- Overlay transparente encima -->
309
- <div class="overlay-container">
310
- <!-- Countdown antes de grabar -->
311
- <div *ngIf="countdown > 0" class="countdown-overlay">
312
- <div class="countdown">{{ countdown }}</div>
313
- </div>
314
-
315
- <!-- Círculo guía mientras graba -->
316
- <div *ngIf="isRecording" class="circle-overlay"></div>
317
-
318
- <!-- Timer -->
319
- <div *ngIf="isRecording" class="timer">
320
- <div class="timer-label">{{ timeRemaining }}s</div>
321
- </div>
322
-
323
- <!-- Instrucciones -->
324
- <div *ngIf="!isRecording && countdown === 0" class="instruction">
325
- {{ text1 }}<br>{{ text2 }}
326
- </div>
327
-
328
- <!-- Botón para iniciar -->
329
- <ion-button *ngIf="!isRecording && countdown === 0"
330
- (click)="recordVideo()"
331
- expand="block"
332
- class="start-button">
333
- Iniciar grabación
334
- </ion-button>
270
+ <!-- Countdown antes de iniciar -->
271
+ <div *ngIf="countdown > 0" class="countdown-overlay">
272
+ <div class="countdown">{{ countdown }}</div>
273
+ </div>
335
274
 
336
- <!-- Spinner de carga -->
337
- <ion-spinner *ngIf="isLoading" name="crescent"></ion-spinner>
275
+ <!-- Timer durante grabación -->
276
+ <div *ngIf="isRecording" class="timer-overlay">
277
+ <div class="timer">{{ timeRemaining }}s</div>
278
+ </div>
338
279
 
339
- <!-- Botón cerrar -->
340
- <ion-button fill="clear" class="close-btn" (click)="closeRequestedFunction()">
341
- <ion-icon slot="icon-only" name="close"></ion-icon>
342
- </ion-button>
280
+ <!-- Mensaje de procesamiento -->
281
+ <div *ngIf="isProcessing" class="processing-overlay">
282
+ <ion-spinner name="crescent"></ion-spinner>
283
+ <p>Procesando video...</p>
343
284
  </div>
344
285
  </div>
345
- `, encapsulation: ViewEncapsulation.Emulated, styles: [":host { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: transparent !important; }", ".camera-fullscreen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent !important; }", ".camera-view-area { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent !important; z-index: 1; }", ".overlay-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; z-index: 999999; background: transparent !important; }", ".overlay-container > * { pointer-events: all; }", ".countdown-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 20; }", ".countdown { font-size: 120px; color: white; font-weight: bold; animation: pulse 1s ease-in-out; }", "@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }", ".circle-overlay { position: absolute; width: 300px; height: 300px; border: 4px solid #9c27b0; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 20px rgba(156, 39, 176, 0.5); animation: pulse-border 2s ease-in-out infinite; }", "@keyframes pulse-border { 0%, 100% { border-color: #9c27b0; box-shadow: 0 0 20px rgba(156, 39, 176, 0.5); } 50% { border-color: #7b1fa2; box-shadow: 0 0 30px rgba(123, 31, 162, 0.8); } }", ".timer { position: absolute; top: 15%; z-index: 15; }", ".timer-label { color: #f44336; font-size: 32px; font-weight: bold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }", ".instruction { position: absolute; bottom: 150px; color: white; text-align: center; padding: 0 30px; font-size: 16px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); background: rgba(0, 0, 0, 0.5); border-radius: 10px; padding: 15px 20px; }", ".start-button { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); width: 80%; max-width: 300px; --background: #9c27b0; --background-hover: #7b1fa2; --border-radius: 25px; font-weight: bold; pointer-events: all !important; z-index: 10000000; }", "ion-spinner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); --color: white; width: 60px; height: 60px; pointer-events: none; }", ".close-btn { position: absolute !important; top: 20px !important; right: 20px !important; --color: white; --background: rgba(0, 0, 0, 0.5); --border-radius: 50%; width: 50px; height: 50px; pointer-events: all !important; z-index: 10000001 !important; }"] }]
286
+ `, encapsulation: ViewEncapsulation.Emulated, styles: [":host { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }", ".camera-fullscreen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }", ".countdown-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".countdown { font-size: 120px; color: white; font-weight: bold; animation: pulse 1s ease-in-out; }", "@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }", ".timer-overlay { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 99999; pointer-events: none; }", ".timer { background: rgba(244, 67, 54, 0.9); color: white; font-size: 32px; font-weight: bold; padding: 10px 20px; border-radius: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.3); }", ".processing-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".processing-overlay ion-spinner { --color: white; width: 60px; height: 60px; margin-bottom: 20px; }", ".processing-overlay p { color: white; font-size: 18px; font-weight: bold; }"] }]
346
287
  }], () => [{ type: i1.Platform }, { type: i1.ModalController }, { type: i1.AlertController }, { type: i0.ChangeDetectorRef }, { type: i2.ModalDpiServices }], { text1: [{
347
288
  type: Input
348
289
  }], text2: [{
@@ -352,5 +293,5 @@ export class NativeVideoSelfiePreviewComponent {
352
293
  }], closeRequested: [{
353
294
  type: Output
354
295
  }] }); })();
355
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NativeVideoSelfiePreviewComponent, { className: "NativeVideoSelfiePreviewComponent", filePath: "src\\app\\pages\\id-vision\\components\\native-video-selfie-preview\\native-video-selfie-preview.component.ts", lineNumber: 80 }); })();
296
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NativeVideoSelfiePreviewComponent, { className: "NativeVideoSelfiePreviewComponent", filePath: "src\\app\\pages\\id-vision\\components\\native-video-selfie-preview\\native-video-selfie-preview.component.ts", lineNumber: 50 }); })();
356
297
  //# sourceMappingURL=native-video-selfie-preview.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"native-video-selfie-preview.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAC6B,SAAS,EAAE,YAAY,EACzD,KAAK,EAAa,MAAM,EAAE,iBAAiB,EAC5C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAA8C,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,aAAa,EAAwB,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,KAAK,EAAoB,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAa,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;;;;;;IAgBhE,AADF,+BAAqD,cAC5B;IAAA,YAAe;IACxC,AADwC,iBAAM,EACxC;;;IADmB,eAAe;IAAf,sCAAe;;;IAIxC,0BAAsD;;;IAIpD,AADF,+BAAuC,cACZ;IAAA,YAAoB;IAC/C,AAD+C,iBAAM,EAC/C;;;IADqB,eAAoB;IAApB,oDAAoB;;;IAI/C,+BAAiE;IAC/D,YAAW;IAAA,qBAAI;IAAA,YACjB;IAAA,iBAAM;;;IADJ,cAAW;IAAX,4CAAW;IAAI,eACjB;IADiB,4CACjB;;;;IAGA,sCAGiC;IAFrB,wMAAS,oBAAa,KAAC;IAGjC,wCACF;IAAA,iBAAa;;;IAGb,kCAA6D;;AA6BrE,MAAM,OAAO,iCAAiC;IAgB5C,YACU,QAAkB,EAClB,eAAgC,EAChC,eAAgC,EAChC,cAAiC,EACjC,gBAAkC;QAJlC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AAS,CAAC,OAAe;QACrC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC;YAC9C,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,CAAC;oBACR,IAAI,EAAE,IAAI;oBACV,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE;iBACxC,CAAC;SACH,CAAC,CAAC;QACH,MAAM,KAAK,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;kIA9QU,iCAAiC;oEAAjC,iCAAiC;YA9D1C,8BAA+B;YAE7B,yBAAoC;YAGpC,8BAA+B;YA4B7B,AARA,AALA,AALA,AAHA,AALA,kFAAqD,qEAKL,qEAGT,qEAK0B,mFAQhC,qFAKc;YAG/C,qCAA8E;YAAnC,kHAAS,4BAAwB,IAAC;YAC3E,gCAAmD;YAGzD,AADE,AADE,iBAAa,EACT,EACF;;YAjCI,eAAmB;YAAnB,wCAAmB;YAKnB,cAAiB;YAAjB,sCAAiB;YAGjB,cAAiB;YAAjB,sCAAiB;YAKjB,cAAqC;YAArC,8DAAqC;YAK9B,cAAqC;YAArC,8DAAqC;YAQpC,cAAe;YAAf,oCAAe;4BAnCzB,WAAW,2CAAE,YAAY;;iFAgExB,iCAAiC;cAnE7C,SAAS;2BACE,iCAAiC,cAC/B,IAAI,WACP,CAAC,WAAW,EAAE,YAAY,CAAC,YAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CT,iBAmBc,iBAAiB,CAAC,QAAQ;oKAGhC,KAAK;kBAAb,KAAK;YACG,KAAK;kBAAb,KAAK;YACG,YAAY;kBAApB,KAAK;YACI,cAAc;kBAAvB,MAAM;;kFAJI,iCAAiC"}
1
+ {"version":3,"file":"native-video-selfie-preview.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EA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K;kBAAb,KAAK;YACG,YAAY;kBAApB,KAAK;YACI,cAAc;kBAAvB,MAAM;;kFAJI,iCAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metag-sdk-ionic",
3
- "version": "1.2.7-native-0.113",
3
+ "version": "1.2.7-native-0.115",
4
4
  "author": "FGE",
5
5
  "description": "SDK de MetaG para validación de documentos y prueba de vida con Angular e Ionic.",
6
6
  "homepage": "https://ionicframework.com/",