@cqa-lib/cqa-ui 1.1.383 → 1.1.384
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/simulator/simulator.component.mjs +33 -9
- package/fesm2015/cqa-lib-cqa-ui.mjs +31 -7
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +31 -7
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/simulator/simulator.component.d.ts +8 -3
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface StepMarker {
|
|
@@ -17,6 +17,7 @@ declare type SegmentOption = {
|
|
|
17
17
|
};
|
|
18
18
|
export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
19
19
|
private sanitizer;
|
|
20
|
+
private cdr;
|
|
20
21
|
videoUrl: string;
|
|
21
22
|
videoUrls: string[];
|
|
22
23
|
videoCurrentDuration: number;
|
|
@@ -70,7 +71,10 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
70
71
|
private operationQueue;
|
|
71
72
|
get hasDeviceFrame(): boolean;
|
|
72
73
|
get isPlayerSwitching(): boolean;
|
|
73
|
-
get
|
|
74
|
+
get isAspectRatioMatched(): boolean;
|
|
75
|
+
get liveContentContainerStyle(): {
|
|
76
|
+
[key: string]: string;
|
|
77
|
+
};
|
|
74
78
|
segments: SegmentOption[];
|
|
75
79
|
speedSegments: SegmentOption[];
|
|
76
80
|
private videoEventListenerCleanup;
|
|
@@ -96,7 +100,8 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
96
100
|
height: number;
|
|
97
101
|
};
|
|
98
102
|
private readonly deviceFrameConfigs;
|
|
99
|
-
constructor(sanitizer: DomSanitizer);
|
|
103
|
+
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
104
|
+
onWindowResize(): void;
|
|
100
105
|
private get deviceFrameConfig();
|
|
101
106
|
get deviceMockupImage(): string;
|
|
102
107
|
get deviceScreenStyle(): {
|