@cqa-lib/cqa-ui 1.1.406 → 1.1.408

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.
@@ -41,6 +41,7 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
41
41
  width: number;
42
42
  height: number;
43
43
  } | null;
44
+ browserDevice: string;
44
45
  videoTimeUpdate: EventEmitter<number>;
45
46
  videoPlay: EventEmitter<void>;
46
47
  videoPause: EventEmitter<void>;
@@ -69,6 +70,7 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
69
70
  private hitMarkers;
70
71
  private playerState;
71
72
  private operationQueue;
73
+ get effectivePlatformType(): 'browser' | 'device';
72
74
  get hasDeviceFrame(): boolean;
73
75
  get isPlayerSwitching(): boolean;
74
76
  get isAspectRatioMatched(): boolean;
@@ -99,6 +101,8 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
99
101
  width: number;
100
102
  height: number;
101
103
  };
104
+ private readonly MOBILE_BROWSER_DEVICE_MAP;
105
+ private resolveMobileBrowserDevice;
102
106
  private readonly deviceFrameConfigs;
103
107
  constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
104
108
  onWindowResize(): void;
@@ -230,6 +234,6 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
230
234
  private switchToVideoAndSeek;
231
235
  private switchToVideoAndSeekInternal;
232
236
  static ɵfac: i0.ɵɵFactoryDeclaration<SimulatorComponent, never>;
233
- static ɵcmp: i0.ɵɵComponentDeclaration<SimulatorComponent, "cqa-simulator", never, { "videoUrl": "videoUrl"; "videoUrls": "videoUrls"; "videoCurrentDuration": "videoCurrentDuration"; "stepMarkers": "stepMarkers"; "screenShotUrl": "screenShotUrl"; "traceViewUrl": "traceViewUrl"; "platformName": "platformName"; "platformType": "platformType"; "platform": "platform"; "deviceName": "deviceName"; "isLive": "isLive"; "liveStatus": "liveStatus"; "liveLoadingLabel": "liveLoadingLabel"; "isContentVideoLoading": "isContentVideoLoading"; "failedStatusMessage": "failedStatusMessage"; "isVNCSessionIntruppted": "isVNCSessionIntruppted"; "vncSessionIntupptedMessage": "vncSessionIntupptedMessage"; "selectedView": "selectedView"; "hideVideoTab": "hideVideoTab"; "browserViewPort": "browserViewPort"; }, { "videoTimeUpdate": "videoTimeUpdate"; "videoPlay": "videoPlay"; "videoPause": "videoPause"; "markerHit": "markerHit"; "isVideoPlayingChange": "isVideoPlayingChange"; }, never, ["*"]>;
237
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimulatorComponent, "cqa-simulator", never, { "videoUrl": "videoUrl"; "videoUrls": "videoUrls"; "videoCurrentDuration": "videoCurrentDuration"; "stepMarkers": "stepMarkers"; "screenShotUrl": "screenShotUrl"; "traceViewUrl": "traceViewUrl"; "platformName": "platformName"; "platformType": "platformType"; "platform": "platform"; "deviceName": "deviceName"; "isLive": "isLive"; "liveStatus": "liveStatus"; "liveLoadingLabel": "liveLoadingLabel"; "isContentVideoLoading": "isContentVideoLoading"; "failedStatusMessage": "failedStatusMessage"; "isVNCSessionIntruppted": "isVNCSessionIntruppted"; "vncSessionIntupptedMessage": "vncSessionIntupptedMessage"; "selectedView": "selectedView"; "hideVideoTab": "hideVideoTab"; "browserViewPort": "browserViewPort"; "browserDevice": "browserDevice"; }, { "videoTimeUpdate": "videoTimeUpdate"; "videoPlay": "videoPlay"; "videoPause": "videoPause"; "markerHit": "markerHit"; "isVideoPlayingChange": "isVideoPlayingChange"; }, never, ["*"]>;
234
238
  }
235
239
  export {};
@@ -109,7 +109,9 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
109
109
  stepNumber?: number | string;
110
110
  }>;
111
111
  duplicate: EventEmitter<void>;
112
- delete: EventEmitter<void>;
112
+ delete: EventEmitter<void | {
113
+ step: TestCaseStepConfig;
114
+ }>;
113
115
  edit: EventEmitter<{
114
116
  step: TestCaseStepConfig;
115
117
  index: number;
@@ -252,6 +254,10 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
252
254
  branch: ConditionBranch;
253
255
  stepNumber?: number | string;
254
256
  }): void;
257
+ /** Forward nested step's delete event upward (e.g. a step inside a loop inside a branch). */
258
+ onNestedStepDelete(payload: {
259
+ step: TestCaseStepConfig;
260
+ } | void): void;
255
261
  isNormalStep(step: TestCaseStepConfig): step is NormalStepConfig;
256
262
  isLoopStep(step: TestCaseStepConfig): step is LoopStepConfig;
257
263
  isConditionStep(step: TestCaseStepConfig): step is ConditionStepConfig;
@@ -265,6 +271,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
265
271
  getEndBranchLabel(branch: ConditionBranch): string;
266
272
  /** Branch display number: full hierarchical number. IF = stepNumber (e.g. 2.1.50), ELSE IF = 2.1.51, ELSE = 2.1.52. */
267
273
  getBranchDisplayNumber(branchIndex: number): number | string;
274
+ /** Return the branch id after which a new ELSE IF should be inserted, based on the current edit context. */
275
+ getInsertAfterBranchId(): string | undefined;
268
276
  /** Find branch in branches by id (for elseIfBranches which use same id). */
269
277
  getBranchById(branchId?: string | number): ConditionBranch | undefined;
270
278
  /** Get branch index in branches by id. */
@@ -300,7 +308,7 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
300
308
  * Emit editInDepth. When branch is provided (ELSE IF/ELSE branch row), use branch's nested condition step
301
309
  * and branch display number for correct "Edit Step N" title. When isCreateMode (new ELSE IF), modal shows "Create In depth" and calls create API on save.
302
310
  */
303
- onEditInDepth(templateOverride?: any, branch?: ConditionBranch, branchIndex?: number, isCreateMode?: boolean, elseIfBranch?: any): void;
311
+ onEditInDepth(templateOverride?: any, branch?: ConditionBranch, branchIndex?: number, isCreateMode?: boolean, elseIfBranch?: any, insertAfterBranchId?: string): void;
304
312
  onLink(): void;
305
313
  onDuplicate(): void;
306
314
  onDelete(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.406",
3
+ "version": "1.1.408",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",