@cqa-lib/cqa-ui 1.1.291 → 1.1.293

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.
Files changed (33) hide show
  1. package/esm2020/lib/autocomplete/autocomplete.component.mjs +7 -3
  2. package/esm2020/lib/test-case-details/ai-verify-step/ai-verify-step.component.mjs +6 -5
  3. package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +61 -16
  4. package/esm2020/lib/test-case-details/custom-code-step/custom-code-step.component.mjs +6 -5
  5. package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +6 -5
  6. package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +13 -11
  7. package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +7 -5
  8. package/esm2020/lib/test-case-details/restore-session-step/restore-session-step.component.mjs +6 -5
  9. package/esm2020/lib/test-case-details/screenshot-step/screenshot-step.component.mjs +6 -5
  10. package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +6 -5
  11. package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +12 -13
  12. package/esm2020/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.mjs +2 -1
  13. package/esm2020/lib/test-case-details/upload-step/upload-step.component.mjs +6 -5
  14. package/esm2020/lib/test-case-details/verify-url-step/verify-url-step.component.mjs +6 -5
  15. package/fesm2015/cqa-lib-cqa-ui.mjs +139 -75
  16. package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
  17. package/fesm2020/cqa-lib-cqa-ui.mjs +136 -75
  18. package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
  19. package/lib/autocomplete/autocomplete.component.d.ts +3 -1
  20. package/lib/test-case-details/ai-verify-step/ai-verify-step.component.d.ts +2 -1
  21. package/lib/test-case-details/condition-step/condition-step.component.d.ts +14 -2
  22. package/lib/test-case-details/custom-code-step/custom-code-step.component.d.ts +2 -1
  23. package/lib/test-case-details/database-step/database-step.component.d.ts +2 -1
  24. package/lib/test-case-details/loop-step/loop-step.component.d.ts +5 -2
  25. package/lib/test-case-details/normal-step/normal-step.component.d.ts +3 -1
  26. package/lib/test-case-details/restore-session-step/restore-session-step.component.d.ts +2 -1
  27. package/lib/test-case-details/screenshot-step/screenshot-step.component.d.ts +2 -1
  28. package/lib/test-case-details/scroll-step/scroll-step.component.d.ts +2 -1
  29. package/lib/test-case-details/step-group/step-group.component.d.ts +5 -2
  30. package/lib/test-case-details/upload-step/upload-step.component.d.ts +2 -1
  31. package/lib/test-case-details/verify-url-step/verify-url-step.component.d.ts +2 -1
  32. package/package.json +1 -1
  33. package/styles.css +1 -1
@@ -21,6 +21,8 @@ export declare class AutocompleteComponent implements OnInit, OnChanges {
21
21
  size: AutocompleteSize;
22
22
  /** Stretch to full width of container */
23
23
  fullWidth: boolean;
24
+ /** Use compact padding (4px) instead of default (24px) for the input field */
25
+ compact: boolean;
24
26
  /** Emit when the input value changes (e.g. for two-way binding) */
25
27
  valueChange: EventEmitter<string>;
26
28
  /** Emit when an option is selected from the list (value from option) */
@@ -43,6 +45,6 @@ export declare class AutocompleteComponent implements OnInit, OnChanges {
43
45
  trackByValue(_index: number, option: CqaAutocompleteOption): string;
44
46
  onEscape(): void;
45
47
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "cqa-autocomplete", never, { "placeholder": "placeholder"; "options": "options"; "value": "value"; "disabled": "disabled"; "showClear": "showClear"; "ariaLabel": "ariaLabel"; "autoFocus": "autoFocus"; "size": "size"; "fullWidth": "fullWidth"; }, { "valueChange": "valueChange"; "optionSelect": "optionSelect"; "cleared": "cleared"; }, never, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "cqa-autocomplete", never, { "placeholder": "placeholder"; "options": "options"; "value": "value"; "disabled": "disabled"; "showClear": "showClear"; "ariaLabel": "ariaLabel"; "autoFocus": "autoFocus"; "size": "size"; "fullWidth": "fullWidth"; "compact": "compact"; }, { "valueChange": "valueChange"; "optionSelect": "optionSelect"; "cleared": "cleared"; }, never, never>;
47
49
  }
48
50
  export {};
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseAiVerifyStepComponent implements OnInit {
6
6
  config: AiVerifyStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  instructions: string;
9
10
  description?: string;
10
11
  selected: boolean;
@@ -35,5 +36,5 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
35
36
  onViewDetails(event?: MouseEvent): void;
36
37
  onSelectionChange(checked: boolean): void;
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseAiVerifyStepComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiVerifyStepComponent, "cqa-test-case-ai-verify-step", never, { "config": "config"; "stepNumber": "stepNumber"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiVerifyStepComponent, "cqa-test-case-ai-verify-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
39
40
  }
@@ -12,6 +12,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
12
12
  config: ConditionStepConfig;
13
13
  id: string;
14
14
  stepNumber: number | string;
15
+ /** Array index from parent renderer - use this for editInDepth instead of stepNumber (stepNumber "10.3" parses to 10) */
16
+ index?: number;
15
17
  condition: string;
16
18
  branches: ConditionBranch[];
17
19
  expanded: boolean;
@@ -180,6 +182,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
180
182
  type: 'if' | 'else-if' | 'else';
181
183
  badgeClass: string;
182
184
  }[];
185
+ /** Condition text as plain text (strips HTML), truncated with "..." if long */
186
+ getConditionPlainText(maxLength?: number): string;
183
187
  /** Event key-value pairs for display, excluding customEvent */
184
188
  getEventDetailsForDisplay(): {
185
189
  key: string;
@@ -227,6 +231,10 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
227
231
  getEndBranchLabel(branch: ConditionBranch): string;
228
232
  /** Branch display number: condition step number + branch index (e.g. step 3 → branches 3, 4, 5 to match nested 3.1, 4.1, 5.1). */
229
233
  getBranchDisplayNumber(branchIndex: number): number;
234
+ /** Find branch in branches by id (for elseIfBranches which use same id). */
235
+ getBranchById(branchId?: string | number): ConditionBranch | undefined;
236
+ /** Get branch index in branches by id. */
237
+ getBranchIndexById(branchId?: string | number): number;
230
238
  getBranchColorClass(branch: ConditionBranch): string;
231
239
  getBranchTextColor(branch: ConditionBranch): string;
232
240
  /** True when condition already has an ELSE branch (disables Add ELSE IF / Add ELSE). */
@@ -252,7 +260,11 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
252
260
  * Mirrors the portal renderer's substituteTemplateVariablesToHtml so inline edit mode never shows raw #{label}.
253
261
  */
254
262
  private substituteTemplateVariablesToHtmlForCondition;
255
- onEditInDepth(templateOverride?: any): void;
263
+ /**
264
+ * Emit editInDepth. When branch is provided (ELSE IF/ELSE branch row), use branch's nested condition step
265
+ * and branch display number for correct "Edit Step N" title. Otherwise use main config and renderer index.
266
+ */
267
+ onEditInDepth(templateOverride?: any, branch?: ConditionBranch, branchIndex?: number): void;
256
268
  onLink(): void;
257
269
  onDuplicate(): void;
258
270
  onDelete(): void;
@@ -262,5 +274,5 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
262
274
  /** Get select config for a template variable */
263
275
  getSelectConfigForVariable(variable: any, branchIdOrIsElse?: string | boolean): DynamicSelectFieldConfig;
264
276
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseConditionStepComponent, never>;
265
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "addStepForLoop": "addStepForLoop"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "edit": "edit"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
277
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "index": "index"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "addStepForLoop": "addStepForLoop"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "edit": "edit"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
266
278
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseCustomCodeStepComponent implements OnInit {
6
6
  config: CustomCodeStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  language: 'javascript' | 'python' | 'typescript';
9
10
  code: string;
10
11
  description?: string;
@@ -38,5 +39,5 @@ export declare class TestCaseCustomCodeStepComponent implements OnInit {
38
39
  onViewDetails(event?: MouseEvent): void;
39
40
  onSelectionChange(checked: boolean): void;
40
41
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseCustomCodeStepComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseCustomCodeStepComponent, "cqa-test-case-custom-code-step", never, { "config": "config"; "stepNumber": "stepNumber"; "language": "language"; "code": "code"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseCustomCodeStepComponent, "cqa-test-case-custom-code-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "language": "language"; "code": "code"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
42
43
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseDatabaseStepComponent implements OnInit {
6
6
  config: DatabaseStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  query: string;
9
10
  description?: string;
10
11
  databaseType?: 'mysql' | 'postgresql' | 'mongodb' | 'mssql' | 'oracle';
@@ -44,5 +45,5 @@ export declare class TestCaseDatabaseStepComponent implements OnInit {
44
45
  onConnectionChange(value: string): void;
45
46
  onQueryChange(value: string): void;
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseDatabaseStepComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDatabaseStepComponent, "cqa-test-case-database-step", never, { "config": "config"; "stepNumber": "stepNumber"; "query": "query"; "description": "description"; "databaseType": "databaseType"; "connectionName": "connectionName"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "connectionNameChange": "connectionNameChange"; "queryChange": "queryChange"; }, never, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDatabaseStepComponent, "cqa-test-case-database-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "query": "query"; "description": "description"; "databaseType": "databaseType"; "connectionName": "connectionName"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "connectionNameChange": "connectionNameChange"; "queryChange": "queryChange"; }, never, never>;
48
49
  }
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef, ChangeDetec
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { DndDropEvent } from 'ngx-drag-drop';
4
4
  import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
5
- import { LoopStepConfig, TestCaseStepConfig, NormalStepConfig, ConditionStepConfig, StepGroupConfig } from '../test-case-step.models';
5
+ import { LoopStepConfig, TestCaseStepConfig, NormalStepConfig, ConditionStepConfig, StepGroupConfig, ConditionBranch } from '../test-case-step.models';
6
6
  import { DataProfileOption } from '../../step-builder/step-builder-loop/step-builder-loop.component';
7
7
  import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
8
8
  import { CqaAutocompleteOption } from '../../autocomplete/autocomplete.model';
@@ -14,6 +14,8 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
14
14
  id: string;
15
15
  loopType: 'for' | 'while';
16
16
  stepNumber: number | string;
17
+ /** Array index from parent renderer - use this for editInDepth instead of stepNumber (stepNumber "10.3" parses to 10) */
18
+ index?: number;
17
19
  condition?: string;
18
20
  maxIterations?: number;
19
21
  testDataProfile?: string;
@@ -92,6 +94,7 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
92
94
  position: 'ABOVE' | 'BELOW';
93
95
  }>;
94
96
  selectionChange: EventEmitter<boolean>;
97
+ deleteBranch: EventEmitter<ConditionBranch>;
95
98
  onDndDrop(event: DndDropEvent): void;
96
99
  /** Emit clickAction when user clicks on loop display badges (element, test_data, etc.) so parent can open edit modals */
97
100
  onLoopActionClick(event: MouseEvent): void;
@@ -270,5 +273,5 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
270
273
  onMoreOptions(): void;
271
274
  onViewDetails(event?: MouseEvent): void;
272
275
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseLoopStepComponent, never>;
273
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
276
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "index": "index"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; "deleteBranch": "deleteBranch"; }, never, never>;
274
277
  }
@@ -22,6 +22,8 @@ export declare class TestCaseNormalStepComponent implements OnInit {
22
22
  viewDetailsTrigger?: ElementRef<HTMLElement>;
23
23
  config: NormalStepConfig;
24
24
  stepNumber: number | string;
25
+ /** Array index from parent renderer - use for editInDepth (stepNumber "10.3" parses wrong) */
26
+ index?: number;
25
27
  action: string;
26
28
  eventType: TestCaseEventType;
27
29
  parameters: StepParameter[];
@@ -88,5 +90,5 @@ export declare class TestCaseNormalStepComponent implements OnInit {
88
90
  onDocumentClick(event: MouseEvent): void;
89
91
  clickOnAction(event: MouseEvent): void;
90
92
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseNormalStepComponent, never>;
91
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseNormalStepComponent, "cqa-test-case-normal-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "eventType": "eventType"; "parameters": "parameters"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "stepIndex": "stepIndex"; }, { "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "clickAction": "clickAction"; }, never, never>;
93
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseNormalStepComponent, "cqa-test-case-normal-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "eventType": "eventType"; "parameters": "parameters"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "stepIndex": "stepIndex"; }, { "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "clickAction": "clickAction"; }, never, never>;
92
94
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseRestoreSessionStepComponent implements OnInit {
6
6
  config: RestoreSessionStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  action?: string;
9
10
  selected: boolean;
10
11
  disabled: boolean;
@@ -35,5 +36,5 @@ export declare class TestCaseRestoreSessionStepComponent implements OnInit {
35
36
  onViewDetails(event?: MouseEvent): void;
36
37
  onSelectionChange(checked: boolean): void;
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseRestoreSessionStepComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseRestoreSessionStepComponent, "cqa-test-case-restore-session-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseRestoreSessionStepComponent, "cqa-test-case-restore-session-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
39
40
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseScreenshotStepComponent implements OnInit {
6
6
  config: ScreenshotStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  name?: string;
9
10
  fullPage: boolean;
10
11
  selector?: string;
@@ -38,5 +39,5 @@ export declare class TestCaseScreenshotStepComponent implements OnInit {
38
39
  onViewDetails(event?: MouseEvent): void;
39
40
  onSelectionChange(checked: boolean): void;
40
41
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseScreenshotStepComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScreenshotStepComponent, "cqa-test-case-screenshot-step", never, { "config": "config"; "stepNumber": "stepNumber"; "name": "name"; "fullPage": "fullPage"; "selector": "selector"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScreenshotStepComponent, "cqa-test-case-screenshot-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "name": "name"; "fullPage": "fullPage"; "selector": "selector"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
42
43
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseScrollStepComponent implements OnInit {
6
6
  config: ScrollStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  selector: string;
9
10
  direction?: 'top' | 'bottom' | 'up' | 'down' | 'left' | 'right';
10
11
  description?: string;
@@ -45,5 +46,5 @@ export declare class TestCaseScrollStepComponent implements OnInit {
45
46
  onSelectorChange(value: string): void;
46
47
  onDirectionChange(value: 'top' | 'bottom' | 'up' | 'down' | 'left' | 'right'): void;
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseScrollStepComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScrollStepComponent, "cqa-test-case-scroll-step", never, { "config": "config"; "stepNumber": "stepNumber"; "selector": "selector"; "direction": "direction"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "selectorChange": "selectorChange"; "directionChange": "directionChange"; }, never, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScrollStepComponent, "cqa-test-case-scroll-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "selector": "selector"; "direction": "direction"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "selectorChange": "selectorChange"; "directionChange": "directionChange"; }, never, never>;
49
50
  }
@@ -1,6 +1,6 @@
1
1
  import { DndDropEvent } from 'ngx-drag-drop';
2
2
  import { EventEmitter, OnInit, OnChanges, SimpleChanges, DoCheck, ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import { StepGroupConfig, TestCaseStepConfig, NormalStepConfig, LoopStepConfig, ConditionStepConfig } from '../test-case-step.models';
3
+ import { StepGroupConfig, TestCaseStepConfig, NormalStepConfig, LoopStepConfig, ConditionStepConfig, ConditionBranch } from '../test-case-step.models';
4
4
  import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, DoCheck {
@@ -8,6 +8,8 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
8
8
  config: StepGroupConfig;
9
9
  id: string;
10
10
  stepNumber: number | string;
11
+ /** Array index from parent renderer - use for editInDepth (stepNumber "10.3" parses wrong) */
12
+ index?: number;
11
13
  groupName: string;
12
14
  description?: string;
13
15
  reusable: boolean;
@@ -83,6 +85,7 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
83
85
  loopStepConfig: LoopStepConfig;
84
86
  }>;
85
87
  selectionChange: EventEmitter<boolean>;
88
+ deleteBranch: EventEmitter<ConditionBranch>;
86
89
  onDndDrop(event: DndDropEvent): void;
87
90
  ngOnInit(): void;
88
91
  ngOnChanges(changes: SimpleChanges): void;
@@ -132,5 +135,5 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
132
135
  onNestedConditionAddBranch(nestedStep: ConditionStepConfig, index: number): void;
133
136
  onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, branch: any, index: number): void;
134
137
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseStepGroupComponent, never>;
135
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseStepGroupComponent, "cqa-test-case-step-group", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "groupName": "groupName"; "description": "description"; "reusable": "reusable"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "openExternal": "openExternal"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "addStepForLoop": "addStepForLoop"; "selectionChange": "selectionChange"; }, never, never>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseStepGroupComponent, "cqa-test-case-step-group", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "index": "index"; "groupName": "groupName"; "description": "description"; "reusable": "reusable"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "openExternal": "openExternal"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "addStepForLoop": "addStepForLoop"; "selectionChange": "selectionChange"; "deleteBranch": "deleteBranch"; }, never, never>;
136
139
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseUploadStepComponent implements OnInit {
6
6
  config: UploadStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  selector: string;
9
10
  fileName: string;
10
11
  source: 'Data Library' | 'Local' | 'URL';
@@ -38,5 +39,5 @@ export declare class TestCaseUploadStepComponent implements OnInit {
38
39
  onViewDetails(event?: MouseEvent): void;
39
40
  onSelectionChange(checked: boolean): void;
40
41
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseUploadStepComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseUploadStepComponent, "cqa-test-case-upload-step", never, { "config": "config"; "stepNumber": "stepNumber"; "selector": "selector"; "fileName": "fileName"; "source": "source"; "sourcePath": "sourcePath"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseUploadStepComponent, "cqa-test-case-upload-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "selector": "selector"; "fileName": "fileName"; "source": "source"; "sourcePath": "sourcePath"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
42
43
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TestCaseVerifyUrlStepComponent implements OnInit {
6
6
  config: VerifyUrlStepConfig;
7
7
  stepNumber: number | string;
8
+ index?: number;
8
9
  action?: string;
9
10
  url?: string;
10
11
  selected: boolean;
@@ -36,5 +37,5 @@ export declare class TestCaseVerifyUrlStepComponent implements OnInit {
36
37
  onViewDetails(event?: MouseEvent): void;
37
38
  onSelectionChange(checked: boolean): void;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseVerifyUrlStepComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseVerifyUrlStepComponent, "cqa-test-case-verify-url-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "url": "url"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseVerifyUrlStepComponent, "cqa-test-case-verify-url-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "url": "url"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
40
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.291",
3
+ "version": "1.1.293",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",