@cqa-lib/cqa-ui 1.1.537-gamma.4 → 1.1.537
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/.github/workflows/README.md +1 -8
- package/esm2020/lib/compare-runs/compare-runs.component.mjs +1 -1
- package/esm2020/lib/execution-screen/condition-debug-step/condition-branch-editor.component.mjs +1 -1
- package/esm2020/lib/execution-screen/db-query-execution-item/db-query-execution-item.component.mjs +1 -1
- package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +1 -1
- package/esm2020/lib/iterations-loop/iterations-loop.component.mjs +1 -1
- package/esm2020/lib/mixed-variable-input/mixed-variable-input.component.mjs +10 -30
- package/esm2020/lib/new-global-variable-dialog/new-global-variable-dialog.component.mjs +5 -16
- package/esm2020/lib/new-global-variable-dialog/new-global-variable-dialog.models.mjs +1 -1
- package/esm2020/lib/segment-control/segment-control.component.mjs +4 -12
- package/esm2020/lib/step-builder/step-builder-action/step-builder-action.component.mjs +3 -17
- package/esm2020/lib/step-builder/step-builder-condition/step-builder-condition.component.mjs +3 -17
- package/esm2020/lib/step-builder/step-builder-loop/step-builder-loop.component.mjs +3 -12
- package/esm2020/lib/step-builder/template-variables-form/template-variables-form.component.mjs +27 -258
- package/esm2020/lib/templates/table-template.component.mjs +3 -5
- package/esm2020/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.mjs +4 -43
- package/esm2020/lib/test-case-details/test-case-details.models.mjs +1 -3
- package/esm2020/lib/ui-kit.module.mjs +1 -6
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/cqa-lib-cqa-ui.mjs +103 -590
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +53 -530
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/new-global-variable-dialog/new-global-variable-dialog.component.d.ts +2 -5
- package/lib/new-global-variable-dialog/new-global-variable-dialog.models.d.ts +0 -8
- package/lib/segment-control/segment-control.component.d.ts +1 -3
- package/lib/step-builder/step-builder-action/step-builder-action.component.d.ts +1 -15
- package/lib/step-builder/step-builder-condition/step-builder-condition.component.d.ts +1 -15
- package/lib/step-builder/step-builder-loop/step-builder-loop.component.d.ts +1 -11
- package/lib/step-builder/template-variables-form/template-variables-form.component.d.ts +4 -70
- package/lib/templates/table-template.component.d.ts +1 -8
- package/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.d.ts +0 -7
- package/lib/test-case-details/test-case-details.models.d.ts +0 -2
- package/lib/ui-kit.module.d.ts +96 -97
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/styles.css +1 -1
- package/esm2020/lib/new-global-variable-dialog/global-variable-tags-input.component.mjs +0 -129
- package/lib/new-global-variable-dialog/global-variable-tags-input.component.d.ts +0 -39
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { GlobalVariableDialogValue,
|
|
2
|
+
import { GlobalVariableDialogValue, GlobalVariableUIPermission, GlobalVariableUIType } from './new-global-variable-dialog.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NewGlobalVariableDialogComponent implements OnInit {
|
|
5
5
|
private readonly cdr;
|
|
6
6
|
mode: 'create' | 'edit';
|
|
7
7
|
initialValue?: Partial<GlobalVariableDialogValue>;
|
|
8
8
|
existingNames: string[];
|
|
9
|
-
availableTags: GlobalVariableTagOption[];
|
|
10
9
|
readonly typeOptions: GlobalVariableUIType[];
|
|
11
10
|
readonly typeDropdownOptions: {
|
|
12
11
|
label: string;
|
|
@@ -22,7 +21,6 @@ export declare class NewGlobalVariableDialogComponent implements OnInit {
|
|
|
22
21
|
value: string;
|
|
23
22
|
readWriteMode: GlobalVariableUIPermission;
|
|
24
23
|
description: string;
|
|
25
|
-
tags: string[];
|
|
26
24
|
passwordTouched: boolean;
|
|
27
25
|
nameError: string | null;
|
|
28
26
|
valueError: string | null;
|
|
@@ -52,7 +50,6 @@ export declare class NewGlobalVariableDialogComponent implements OnInit {
|
|
|
52
50
|
onValueChange(next: string): void;
|
|
53
51
|
onBooleanValueChange(next: string): void;
|
|
54
52
|
onDescriptionChange(next: string): void;
|
|
55
|
-
onTagsChange(next: string[]): void;
|
|
56
53
|
/**
|
|
57
54
|
* Called by the host (via DialogRef.getComponentInstance()) when the primary
|
|
58
55
|
* button is clicked. Returns the captured value when valid, or null when the
|
|
@@ -63,5 +60,5 @@ export declare class NewGlobalVariableDialogComponent implements OnInit {
|
|
|
63
60
|
private isDuplicateName;
|
|
64
61
|
private isValidNumber;
|
|
65
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewGlobalVariableDialogComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NewGlobalVariableDialogComponent, "cqa-new-global-variable-dialog", never, { "mode": "mode"; "initialValue": "initialValue"; "existingNames": "existingNames";
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewGlobalVariableDialogComponent, "cqa-new-global-variable-dialog", never, { "mode": "mode"; "initialValue": "initialValue"; "existingNames": "existingNames"; }, {}, never, never>;
|
|
67
64
|
}
|
|
@@ -6,17 +6,9 @@ export interface GlobalVariableDialogValue {
|
|
|
6
6
|
value: string | null;
|
|
7
7
|
readWriteMode: GlobalVariableUIPermission;
|
|
8
8
|
description: string | null;
|
|
9
|
-
tags: string[];
|
|
10
|
-
}
|
|
11
|
-
/** A tag option for the dialog's autocomplete. `count` drives the small usage
|
|
12
|
-
* badge in the suggestion list; pass 0 (or omit) for newly-created entries. */
|
|
13
|
-
export interface GlobalVariableTagOption {
|
|
14
|
-
name: string;
|
|
15
|
-
count?: number;
|
|
16
9
|
}
|
|
17
10
|
export interface NewGlobalVariableDialogInputs {
|
|
18
11
|
mode?: 'create' | 'edit';
|
|
19
12
|
initialValue?: Partial<GlobalVariableDialogValue>;
|
|
20
13
|
existingNames?: string[];
|
|
21
|
-
availableTags?: GlobalVariableTagOption[];
|
|
22
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare type SegmentOption = {
|
|
4
4
|
label: string;
|
|
@@ -9,7 +9,6 @@ export declare type SegmentOption = {
|
|
|
9
9
|
count?: number;
|
|
10
10
|
};
|
|
11
11
|
export declare class SegmentControlComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
12
|
-
private readonly cdr;
|
|
13
12
|
segments: SegmentOption[];
|
|
14
13
|
/**
|
|
15
14
|
* The currently selected segment value.
|
|
@@ -29,7 +28,6 @@ export declare class SegmentControlComponent implements OnChanges, AfterViewInit
|
|
|
29
28
|
indicatorStyle: Record<string, string>;
|
|
30
29
|
indicatorVisible: boolean;
|
|
31
30
|
private buttonChangesSub?;
|
|
32
|
-
constructor(cdr: ChangeDetectorRef);
|
|
33
31
|
ngOnChanges(changes: SimpleChanges): void;
|
|
34
32
|
ngAfterViewInit(): void;
|
|
35
33
|
ngOnDestroy(): void;
|
|
@@ -110,19 +110,6 @@ export declare class StepBuilderActionComponent implements OnInit, OnChanges, On
|
|
|
110
110
|
hasMoreEnvironments: boolean;
|
|
111
111
|
/** True while parent is loading environments (search or load more) */
|
|
112
112
|
isLoadingEnvironments: boolean;
|
|
113
|
-
/** Global Data variables (workspace-scoped) for the Global Data tab. */
|
|
114
|
-
globalVariableOptions: {
|
|
115
|
-
id: string;
|
|
116
|
-
name: string;
|
|
117
|
-
value: string;
|
|
118
|
-
type?: string;
|
|
119
|
-
readWriteMode?: string;
|
|
120
|
-
}[];
|
|
121
|
-
isLoadingGlobalVariables: boolean;
|
|
122
|
-
/** Resolved test-case environment name, used for the env banner subhead. */
|
|
123
|
-
testCaseEnvironmentName?: string;
|
|
124
|
-
/** Test case's TDP id (when set, lock the TDP picker in the parameter tab). */
|
|
125
|
-
testCaseTestDataId?: number | null;
|
|
126
113
|
/** Default test data profile ID from test case (if available, profile and data set dropdowns will be disabled) */
|
|
127
114
|
defaultTestDataProfileId?: number;
|
|
128
115
|
/** Default test data start index from test case (data set index in the profile) */
|
|
@@ -153,7 +140,6 @@ export declare class StepBuilderActionComponent implements OnInit, OnChanges, On
|
|
|
153
140
|
loadMoreUploads: EventEmitter<void>;
|
|
154
141
|
searchEnvironments: EventEmitter<string>;
|
|
155
142
|
loadMoreEnvironments: EventEmitter<void>;
|
|
156
|
-
searchGlobalVariables: EventEmitter<string>;
|
|
157
143
|
/** Emit when step is created */
|
|
158
144
|
createStep: EventEmitter<any>;
|
|
159
145
|
/** Emit when cancelled */
|
|
@@ -246,6 +232,6 @@ export declare class StepBuilderActionComponent implements OnInit, OnChanges, On
|
|
|
246
232
|
*/
|
|
247
233
|
get environmentVariableAvailable(): boolean;
|
|
248
234
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderActionComponent, never>;
|
|
249
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderActionComponent, "cqa-step-builder-action", never, { "showHeader": "showHeader"; "changeTemplateSignal": "changeTemplateSignal"; "cancelChangeTemplateSignal": "cancelChangeTemplateSignal"; "templates": "templates"; "initialTemplate": "initialTemplate"; "initialDescription": "initialDescription"; "initialMetadata": "initialMetadata"; "isDebug": "isDebug"; "editMode": "editMode"; "searchPlaceholder": "searchPlaceholder"; "setTemplateVariables": "setTemplateVariables"; "setAdvancedSettingsVariables": "setAdvancedSettingsVariables"; "computeHtmlGrammarFn": "computeHtmlGrammarFn"; "preventSelectTemplate": "preventSelectTemplate"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "uploadOptions": "uploadOptions"; "hasMoreUploads": "hasMoreUploads"; "isLoadingUploads": "isLoadingUploads"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "
|
|
235
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderActionComponent, "cqa-step-builder-action", never, { "showHeader": "showHeader"; "changeTemplateSignal": "changeTemplateSignal"; "cancelChangeTemplateSignal": "cancelChangeTemplateSignal"; "templates": "templates"; "initialTemplate": "initialTemplate"; "initialDescription": "initialDescription"; "initialMetadata": "initialMetadata"; "isDebug": "isDebug"; "editMode": "editMode"; "searchPlaceholder": "searchPlaceholder"; "setTemplateVariables": "setTemplateVariables"; "setAdvancedSettingsVariables": "setAdvancedSettingsVariables"; "computeHtmlGrammarFn": "computeHtmlGrammarFn"; "preventSelectTemplate": "preventSelectTemplate"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "uploadOptions": "uploadOptions"; "hasMoreUploads": "hasMoreUploads"; "isLoadingUploads": "isLoadingUploads"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "defaultTestDataProfileId": "defaultTestDataProfileId"; "defaultTestDataStartIndex": "defaultTestDataStartIndex"; "defaultTestDataEndIndex": "defaultTestDataEndIndex"; "isInsideForLoopStep": "isInsideForLoopStep"; "hasTestDataProfile": "hasTestDataProfile"; "isCreatingStep": "isCreatingStep"; "elementScreenPrefill": "elementScreenPrefill"; }, { "templateChanged": "templateChanged"; "loadMoreElements": "loadMoreElements"; "searchElements": "searchElements"; "searchElementsByScreenName": "searchElementsByScreenName"; "createElement": "createElement"; "searchScreenName": "searchScreenName"; "loadMoreScreenNames": "loadMoreScreenNames"; "createScreenNameRequest": "createScreenNameRequest"; "searchParameters": "searchParameters"; "loadMoreParameters": "loadMoreParameters"; "searchUploads": "searchUploads"; "loadMoreUploads": "loadMoreUploads"; "searchEnvironments": "searchEnvironments"; "loadMoreEnvironments": "loadMoreEnvironments"; "createStep": "createStep"; "cancelled": "cancelled"; "redirectToParameter": "redirectToParameter"; "redirectToEnvironment": "redirectToEnvironment"; }, never, never>;
|
|
250
236
|
}
|
|
251
237
|
export {};
|
|
@@ -61,19 +61,6 @@ export declare class StepBuilderConditionComponent implements OnInit, OnChanges
|
|
|
61
61
|
}[];
|
|
62
62
|
hasMoreEnvironments: boolean;
|
|
63
63
|
isLoadingEnvironments: boolean;
|
|
64
|
-
/** Global Data variables (workspace-scoped) for the Global Data tab. */
|
|
65
|
-
globalVariableOptions: {
|
|
66
|
-
id: string;
|
|
67
|
-
name: string;
|
|
68
|
-
value: string;
|
|
69
|
-
type?: string;
|
|
70
|
-
readWriteMode?: string;
|
|
71
|
-
}[];
|
|
72
|
-
isLoadingGlobalVariables: boolean;
|
|
73
|
-
/** Resolved test-case environment name, used for the env banner subhead. */
|
|
74
|
-
testCaseEnvironmentName?: string;
|
|
75
|
-
/** Test case's TDP id (when set, lock the TDP picker in the parameter tab). */
|
|
76
|
-
testCaseTestDataId?: number | null;
|
|
77
64
|
/** Default test data profile properties */
|
|
78
65
|
defaultTestDataProfileId?: number;
|
|
79
66
|
defaultTestDataStartIndex?: number;
|
|
@@ -102,7 +89,6 @@ export declare class StepBuilderConditionComponent implements OnInit, OnChanges
|
|
|
102
89
|
loadMoreEnvironments: EventEmitter<void>;
|
|
103
90
|
redirectToParameter: EventEmitter<void>;
|
|
104
91
|
redirectToEnvironment: EventEmitter<void>;
|
|
105
|
-
searchGlobalVariables: EventEmitter<string>;
|
|
106
92
|
conditionForm: FormGroup;
|
|
107
93
|
includeElse: boolean;
|
|
108
94
|
private valueConfigCache;
|
|
@@ -171,6 +157,6 @@ export declare class StepBuilderConditionComponent implements OnInit, OnChanges
|
|
|
171
157
|
isFormValid(): boolean;
|
|
172
158
|
onCreateStep(): void;
|
|
173
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderConditionComponent, never>;
|
|
174
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderConditionComponent, "cqa-step-builder-condition", never, { "operatorOptions": "operatorOptions"; "conditionTemplates": "conditionTemplates"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "setAdvancedSettingsVariables": "setAdvancedSettingsVariables"; "computeHtmlGrammarFn": "computeHtmlGrammarFn"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderConditionComponent, "cqa-step-builder-condition", never, { "operatorOptions": "operatorOptions"; "conditionTemplates": "conditionTemplates"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "setAdvancedSettingsVariables": "setAdvancedSettingsVariables"; "computeHtmlGrammarFn": "computeHtmlGrammarFn"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "defaultTestDataProfileId": "defaultTestDataProfileId"; "defaultTestDataStartIndex": "defaultTestDataStartIndex"; "defaultTestDataEndIndex": "defaultTestDataEndIndex"; "isInsideForLoopStep": "isInsideForLoopStep"; "hasTestDataProfile": "hasTestDataProfile"; "isCreatingStep": "isCreatingStep"; }, { "createStep": "createStep"; "cancelled": "cancelled"; "loadMoreElements": "loadMoreElements"; "searchElements": "searchElements"; "searchElementsByScreenName": "searchElementsByScreenName"; "createElement": "createElement"; "searchScreenName": "searchScreenName"; "loadMoreScreenNames": "loadMoreScreenNames"; "createScreenNameRequest": "createScreenNameRequest"; "searchParameters": "searchParameters"; "loadMoreParameters": "loadMoreParameters"; "searchEnvironments": "searchEnvironments"; "loadMoreEnvironments": "loadMoreEnvironments"; "redirectToParameter": "redirectToParameter"; "redirectToEnvironment": "redirectToEnvironment"; }, never, never>;
|
|
175
161
|
}
|
|
176
162
|
export {};
|
|
@@ -90,11 +90,6 @@ export declare class StepBuilderLoopComponent implements OnInit, OnChanges {
|
|
|
90
90
|
isDebug: boolean;
|
|
91
91
|
/** Existing step when editing; used with isDebug to determine edit mode. */
|
|
92
92
|
testStep?: any;
|
|
93
|
-
/**
|
|
94
|
-
* Resolved name of the test case's environment. Drives the env banner subhead
|
|
95
|
-
* shown above the form. Optional; when missing the banner is hidden.
|
|
96
|
-
*/
|
|
97
|
-
testCaseEnvironmentName?: string;
|
|
98
93
|
get isEditMode(): boolean;
|
|
99
94
|
loadMoreElements: EventEmitter<void>;
|
|
100
95
|
searchElements: EventEmitter<string>;
|
|
@@ -113,11 +108,6 @@ export declare class StepBuilderLoopComponent implements OnInit, OnChanges {
|
|
|
113
108
|
loadMoreEnvironments: EventEmitter<void>;
|
|
114
109
|
redirectToParameter: EventEmitter<void>;
|
|
115
110
|
redirectToEnvironment: EventEmitter<void>;
|
|
116
|
-
/**
|
|
117
|
-
* Emitted when the user clicks "Manage profiles" in the empty state. Host
|
|
118
|
-
* navigates to the Environment & Data Management screen for the active env.
|
|
119
|
-
*/
|
|
120
|
-
manageProfilesClicked: EventEmitter<void>;
|
|
121
111
|
selectedWhileTemplate: any;
|
|
122
112
|
selectedWhileDescription: string;
|
|
123
113
|
selectedWhileMetadata: string;
|
|
@@ -233,5 +223,5 @@ export declare class StepBuilderLoopComponent implements OnInit, OnChanges {
|
|
|
233
223
|
filterWhileTemplates(query: string): void;
|
|
234
224
|
selectWhileTemplate(template: any): void;
|
|
235
225
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderLoopComponent, never>;
|
|
236
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderLoopComponent, "cqa-step-builder-loop", never, { "loopType": "loopType"; "selectOptions": "selectOptions"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "isCreatingStep": "isCreatingStep"; "setWhileTemplateVariables": "setWhileTemplateVariables"; "setAdvancedSettingsVariables": "setAdvancedSettingsVariables"; "computeHtmlGrammarFn": "computeHtmlGrammarFn"; "whileTemplates": "whileTemplates"; "whileSearchPlaceholder": "whileSearchPlaceholder"; "whileSearchValue": "whileSearchValue"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "defaultTestDataProfileId": "defaultTestDataProfileId"; "defaultTestDataStartIndex": "defaultTestDataStartIndex"; "defaultTestDataEndIndex": "defaultTestDataEndIndex"; "isInsideForLoopStep": "isInsideForLoopStep"; "hasTestDataProfile": "hasTestDataProfile"; "isDebug": "isDebug"; "testStep": "testStep";
|
|
226
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderLoopComponent, "cqa-step-builder-loop", never, { "loopType": "loopType"; "selectOptions": "selectOptions"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "isCreatingStep": "isCreatingStep"; "setWhileTemplateVariables": "setWhileTemplateVariables"; "setAdvancedSettingsVariables": "setAdvancedSettingsVariables"; "computeHtmlGrammarFn": "computeHtmlGrammarFn"; "whileTemplates": "whileTemplates"; "whileSearchPlaceholder": "whileSearchPlaceholder"; "whileSearchValue": "whileSearchValue"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "defaultTestDataProfileId": "defaultTestDataProfileId"; "defaultTestDataStartIndex": "defaultTestDataStartIndex"; "defaultTestDataEndIndex": "defaultTestDataEndIndex"; "isInsideForLoopStep": "isInsideForLoopStep"; "hasTestDataProfile": "hasTestDataProfile"; "isDebug": "isDebug"; "testStep": "testStep"; }, { "createStep": "createStep"; "cancelled": "cancelled"; "loopTypeChange": "loopTypeChange"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "loadMoreElements": "loadMoreElements"; "searchElements": "searchElements"; "searchElementsByScreenName": "searchElementsByScreenName"; "createElement": "createElement"; "searchScreenName": "searchScreenName"; "loadMoreScreenNames": "loadMoreScreenNames"; "createScreenNameRequest": "createScreenNameRequest"; "cancelElementForm": "cancelElementForm"; "searchParameters": "searchParameters"; "loadMoreParameters": "loadMoreParameters"; "searchEnvironments": "searchEnvironments"; "loadMoreEnvironments": "loadMoreEnvironments"; "redirectToParameter": "redirectToParameter"; "redirectToEnvironment": "redirectToEnvironment"; }, never, never>;
|
|
237
227
|
}
|
|
@@ -22,12 +22,10 @@ export interface TemplateVariable {
|
|
|
22
22
|
value: string;
|
|
23
23
|
label: string;
|
|
24
24
|
}[];
|
|
25
|
-
dataType?: 'plain-text' | 'parameter' | 'runtime' | 'environment'
|
|
25
|
+
dataType?: 'plain-text' | 'parameter' | 'runtime' | 'environment';
|
|
26
26
|
rawValue?: string;
|
|
27
27
|
selectedEnvironment?: string;
|
|
28
28
|
selectedEnvironmentId?: number;
|
|
29
|
-
selectedGlobalVariable?: string;
|
|
30
|
-
selectedGlobalVariableId?: string;
|
|
31
29
|
selectedTestDataProfile?: string;
|
|
32
30
|
selectedTestDataProfileId?: number;
|
|
33
31
|
selectedDataSet?: string;
|
|
@@ -77,20 +75,6 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
77
75
|
hasMoreEnvironments: boolean;
|
|
78
76
|
/** True while parent is loading environments (search or load more) */
|
|
79
77
|
isLoadingEnvironments: boolean;
|
|
80
|
-
/** Global Data variables (workspace-scoped) for the new Global Data tab */
|
|
81
|
-
globalVariableOptions: {
|
|
82
|
-
id: string;
|
|
83
|
-
name: string;
|
|
84
|
-
value: string;
|
|
85
|
-
type?: string;
|
|
86
|
-
readWriteMode?: string;
|
|
87
|
-
}[];
|
|
88
|
-
/** True while parent is loading global variables */
|
|
89
|
-
isLoadingGlobalVariables: boolean;
|
|
90
|
-
/** Resolved test-case environment name, used for the env banner subhead. */
|
|
91
|
-
testCaseEnvironmentName?: string;
|
|
92
|
-
/** Test case's TDP id (when set, the TDP picker is locked in the parameter tab). */
|
|
93
|
-
testCaseTestDataId?: number | null;
|
|
94
78
|
/** Default test data profile ID from test case (if available, profile and data set dropdowns will be disabled) */
|
|
95
79
|
defaultTestDataProfileId?: number;
|
|
96
80
|
/** Default test data start index from test case (data set index in the profile) */
|
|
@@ -129,7 +113,6 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
129
113
|
loadMoreUploads: EventEmitter<void>;
|
|
130
114
|
searchEnvironments: EventEmitter<string>;
|
|
131
115
|
loadMoreEnvironments: EventEmitter<void>;
|
|
132
|
-
searchGlobalVariables: EventEmitter<string>;
|
|
133
116
|
cancelElementForm: EventEmitter<void>;
|
|
134
117
|
elementFormVisibilityChange: EventEmitter<boolean>;
|
|
135
118
|
private selectConfigCache;
|
|
@@ -137,7 +120,6 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
137
120
|
private parameterSelectConfigCache;
|
|
138
121
|
private environmentSelectConfigCache;
|
|
139
122
|
private environmentParameterSelectConfigCache;
|
|
140
|
-
private globalVariableSelectConfigCache;
|
|
141
123
|
private screenNameSelectConfigCache;
|
|
142
124
|
private elementSelectConfigCache;
|
|
143
125
|
private testDataProfileSelectConfigCache;
|
|
@@ -151,25 +133,6 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
151
133
|
private needsDataTypeDropdownCache;
|
|
152
134
|
private shouldShowDropdownCache;
|
|
153
135
|
private readonly dataTypeOptions;
|
|
154
|
-
/**
|
|
155
|
-
* Stable segment options for the Value Source segment strip. MUST be a field
|
|
156
|
-
* (not a getter) — see feedback_segment_control_no_getter_input.md: a getter
|
|
157
|
-
* triggers a CD loop in cqa-segment-control.
|
|
158
|
-
*/
|
|
159
|
-
readonly dataTypeSegments: {
|
|
160
|
-
value: string;
|
|
161
|
-
label: string;
|
|
162
|
-
}[];
|
|
163
|
-
/**
|
|
164
|
-
* Memoized filtered segments — drops Test Data Profile when neither TC nor FOR loop has a TDP.
|
|
165
|
-
* Held as a field (not a getter) so cqa-segment-control's [segments] stays a stable reference.
|
|
166
|
-
* Recomputed in ngOnChanges when isInsideForLoopStep / hasTestDataProfile change.
|
|
167
|
-
*/
|
|
168
|
-
visibleDataTypeSegments: {
|
|
169
|
-
value: string;
|
|
170
|
-
label: string;
|
|
171
|
-
}[];
|
|
172
|
-
private recomputeVisibleSegments;
|
|
173
136
|
createElementVisible: boolean;
|
|
174
137
|
constructor(cdr: ChangeDetectorRef);
|
|
175
138
|
onCreateElement(payload: ElementCreatePayload): void;
|
|
@@ -191,16 +154,7 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
191
154
|
needsDataTypeDropdown(variable: TemplateVariable): boolean;
|
|
192
155
|
getDataTypeOptions(): SelectOption[];
|
|
193
156
|
getDataTypeSelectConfig(variable: TemplateVariable, index: number): DynamicSelectFieldConfig;
|
|
194
|
-
getCurrentDataType(variable: TemplateVariable): 'plain-text' | 'parameter' | 'runtime' | 'environment'
|
|
195
|
-
/** Whether the variable is currently using the Global Data tab. */
|
|
196
|
-
isGlobalType(variable: TemplateVariable): boolean;
|
|
197
|
-
/** Whether the user has picked a global variable on this row. */
|
|
198
|
-
hasSelectedGlobalVariable(variable: TemplateVariable): boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Build select config for the Global Data dropdown.
|
|
201
|
-
* Each row inserts `{{name}}` on selection.
|
|
202
|
-
*/
|
|
203
|
-
getGlobalVariableSelectConfig(variable: TemplateVariable, index: number): DynamicSelectFieldConfig;
|
|
157
|
+
getCurrentDataType(variable: TemplateVariable): 'plain-text' | 'parameter' | 'runtime' | 'environment';
|
|
204
158
|
getRawValue(variable: TemplateVariable): string;
|
|
205
159
|
/**
|
|
206
160
|
* Check if selector variable is available in templateVariables
|
|
@@ -214,7 +168,7 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
214
168
|
* Check if environment variable is available (testData with environment type)
|
|
215
169
|
*/
|
|
216
170
|
get environmentVariableAvailable(): boolean;
|
|
217
|
-
onDataTypeChange(variableName: string, dataType: 'plain-text' | 'parameter' | 'runtime' | 'environment'
|
|
171
|
+
onDataTypeChange(variableName: string, dataType: 'plain-text' | 'parameter' | 'runtime' | 'environment'): void;
|
|
218
172
|
onElementSearch(event: {
|
|
219
173
|
key: string;
|
|
220
174
|
query: string;
|
|
@@ -269,26 +223,6 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
269
223
|
* Get select config for parameter dropdown (third dropdown for parameters - shows parameters from selected data set)
|
|
270
224
|
*/
|
|
271
225
|
getParameterSelectConfig(variable: TemplateVariable, index: number): DynamicSelectFieldConfig;
|
|
272
|
-
/**
|
|
273
|
-
* Env-on-test-case contract: a test case has exactly one environment, so the
|
|
274
|
-
* "Environment Name" dropdown has nothing meaningful to choose from. We trust
|
|
275
|
-
* `testCaseEnvironmentName` as the source of truth — even if it's not in the
|
|
276
|
-
* loaded `environmentOptions` yet (those are async, env-scoped, and may be
|
|
277
|
-
* empty when the env has no parameters). The dropdown's `optionsArray.unshift`
|
|
278
|
-
* fallback in `getEnvironmentSelectConfig` ensures the value renders even when
|
|
279
|
-
* missing from the option list.
|
|
280
|
-
*/
|
|
281
|
-
private resolveDefaultEnvironmentName;
|
|
282
|
-
/**
|
|
283
|
-
* Proactive companion to `resolveDefaultEnvironmentName`: walks every env-type
|
|
284
|
-
* template variable that hasn't been seeded yet and pre-fills its
|
|
285
|
-
* `selectedEnvironment` (plus the matching form control) with the test case's
|
|
286
|
-
* environment. Idempotent — variables that already have a selection are
|
|
287
|
-
* skipped. Called from `ngOnChanges` whenever the inputs that could unlock the
|
|
288
|
-
* seed (`testCaseEnvironmentName`, `environmentOptions`, `templateVariables`)
|
|
289
|
-
* change.
|
|
290
|
-
*/
|
|
291
|
-
private seedDefaultEnvironmentForVariables;
|
|
292
226
|
/**
|
|
293
227
|
* Get unique environments from environment options
|
|
294
228
|
*/
|
|
@@ -376,6 +310,6 @@ export declare class TemplateVariablesFormComponent implements OnChanges {
|
|
|
376
310
|
*/
|
|
377
311
|
isRuntimeType(variable: TemplateVariable): boolean;
|
|
378
312
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateVariablesFormComponent, never>;
|
|
379
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateVariablesFormComponent, "cqa-template-variables-form", never, { "templateVariables": "templateVariables"; "variablesForm": "variablesForm"; "metadata": "metadata"; "description": "description"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "uploadOptions": "uploadOptions"; "hasMoreUploads": "hasMoreUploads"; "isLoadingUploads": "isLoadingUploads"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "
|
|
313
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateVariablesFormComponent, "cqa-template-variables-form", never, { "templateVariables": "templateVariables"; "variablesForm": "variablesForm"; "metadata": "metadata"; "description": "description"; "elementOptions": "elementOptions"; "hasMoreElements": "hasMoreElements"; "isLoadingElements": "isLoadingElements"; "screenNameOptions": "screenNameOptions"; "hasMoreScreenNames": "hasMoreScreenNames"; "isLoadingScreenNames": "isLoadingScreenNames"; "parameterOptions": "parameterOptions"; "hasMoreParameters": "hasMoreParameters"; "isLoadingParameters": "isLoadingParameters"; "uploadOptions": "uploadOptions"; "hasMoreUploads": "hasMoreUploads"; "isLoadingUploads": "isLoadingUploads"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "defaultTestDataProfileId": "defaultTestDataProfileId"; "defaultTestDataStartIndex": "defaultTestDataStartIndex"; "defaultTestDataEndIndex": "defaultTestDataEndIndex"; "isInsideForLoopStep": "isInsideForLoopStep"; "hasTestDataProfile": "hasTestDataProfile"; "isEditInDepth": "isEditInDepth"; "isDebug": "isDebug"; "createElementVisible": "createElementVisible"; }, { "variableValueChange": "variableValueChange"; "variableBooleanChange": "variableBooleanChange"; "metadataChange": "metadataChange"; "descriptionChange": "descriptionChange"; "loadMoreElements": "loadMoreElements"; "searchElements": "searchElements"; "searchElementsByScreenName": "searchElementsByScreenName"; "createElement": "createElement"; "searchScreenName": "searchScreenName"; "loadMoreScreenNames": "loadMoreScreenNames"; "createScreenNameRequest": "createScreenNameRequest"; "searchParameters": "searchParameters"; "loadMoreParameters": "loadMoreParameters"; "searchUploads": "searchUploads"; "loadMoreUploads": "loadMoreUploads"; "searchEnvironments": "searchEnvironments"; "loadMoreEnvironments": "loadMoreEnvironments"; "cancelElementForm": "cancelElementForm"; "elementFormVisibilityChange": "elementFormVisibilityChange"; }, never, never>;
|
|
380
314
|
}
|
|
381
315
|
export {};
|
|
@@ -31,13 +31,6 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
|
|
|
31
31
|
otherButtons: TemplateRef<any>[];
|
|
32
32
|
otherDropDownButtons: TemplateRef<any>[];
|
|
33
33
|
otherSelectDropDownButtons: TemplateRef<any>[];
|
|
34
|
-
/**
|
|
35
|
-
* Optional template rendered between the search/toolbar row and the
|
|
36
|
-
* selected-filters chip block. Used to slot in feature-specific filters
|
|
37
|
-
* (e.g. Global Data's tag chip bar) so they sit visually inside the
|
|
38
|
-
* table-template's sticky header instead of floating above it.
|
|
39
|
-
*/
|
|
40
|
-
tagFilterTemplate?: TemplateRef<any>;
|
|
41
34
|
/** @deprecated Use otherButtons array instead */
|
|
42
35
|
otherButtonLabel: string;
|
|
43
36
|
/** @deprecated Use otherButtons array instead */
|
|
@@ -208,5 +201,5 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
|
|
|
208
201
|
}>;
|
|
209
202
|
get arrowClasses(): string;
|
|
210
203
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableTemplateComponent, never>;
|
|
211
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "showExportButton": "showExportButton"; "isExporting": "isExporting"; "filterConfig": "filterConfig"; "filterModel": "filterModel"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtons": "otherButtons"; "otherDropDownButtons": "otherDropDownButtons"; "otherSelectDropDownButtons": "otherSelectDropDownButtons"; "
|
|
204
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "showExportButton": "showExportButton"; "isExporting": "isExporting"; "filterConfig": "filterConfig"; "filterModel": "filterModel"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtons": "otherButtons"; "otherDropDownButtons": "otherDropDownButtons"; "otherSelectDropDownButtons": "otherSelectDropDownButtons"; "otherButtonLabel": "otherButtonLabel"; "otherButtonVariant": "otherButtonVariant"; "showOtherButton": "showOtherButton"; "showActionButton": "showActionButton"; "showSettingsButton": "showSettingsButton"; "showAutoRefreshButton": "showAutoRefreshButton"; "showViewModeToggle": "showViewModeToggle"; "viewMode": "viewMode"; "viewModeLabels": "viewModeLabels"; "data": "data"; "isEmptyState": "isEmptyState"; "emptyStateConfig": "emptyStateConfig"; "actions": "actions"; "chips": "chips"; "filterApplied": "filterApplied"; "columns": "columns"; "rowSelectable": "rowSelectable"; "selectedAutoRefreshInterval": "selectedAutoRefreshInterval"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "pageSizeMenuDirection": "pageSizeMenuDirection"; "serverSidePagination": "serverSidePagination"; "totalElements": "totalElements"; "enableLocalSort": "enableLocalSort"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; "cellJsonPathGetter": "cellJsonPathGetter"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "selectedItems": "selectedItems"; "showSelectAllInToolbar": "showSelectAllInToolbar"; "showDismissInToolbar": "showDismissInToolbar"; "allSelectedInToolbar": "allSelectedInToolbar"; "columnVisibility": "columnVisibility"; }, { "onSearchChange": "onSearchChange"; "onExportClick": "onExportClick"; "onApplyFilterClick": "onApplyFilterClick"; "onResetFilterClick": "onResetFilterClick"; "onClearAll": "onClearAll"; "removeChip": "removeChip"; "viewModeChange": "viewModeChange"; "pageChange": "pageChange"; "sortChange": "sortChange"; "onReload": "onReload"; "onAutoRefreshClick": "onAutoRefreshClick"; "columnVisibilityChange": "columnVisibilityChange"; "autoRefreshIntervalChange": "autoRefreshIntervalChange"; "bulkActionClick": "bulkActionClick"; "bulkSelectAllChange": "bulkSelectAllChange"; "bulkDismiss": "bulkDismiss"; "selectedItemsChange": "selectedItemsChange"; }, never, never>;
|
|
212
205
|
}
|
|
@@ -18,10 +18,6 @@ export interface SelectConfigOverride {
|
|
|
18
18
|
searchable?: boolean;
|
|
19
19
|
/** When true, triggers initial search on panel open (serverSearch mode). */
|
|
20
20
|
initialFetchOnOpen?: boolean;
|
|
21
|
-
/** Disable the select (e.g. dependent dropdown waiting on a parent value). */
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/** Override the placeholder shown when no value is selected. */
|
|
24
|
-
placeholder?: string;
|
|
25
21
|
/** Callback when user types in search. Call API, then update options via selectConfigOverrides. */
|
|
26
22
|
onSearch?: (query: string) => void;
|
|
27
23
|
/** Callback when user scrolls to load more. Call API, append options via selectConfigOverrides. */
|
|
@@ -36,7 +32,6 @@ export declare const TEST_CASE_DETAILS_SELECT_KEYS: {
|
|
|
36
32
|
readonly type: "type";
|
|
37
33
|
readonly labels: "labels";
|
|
38
34
|
readonly prerequisiteCases: "prerequisiteCases";
|
|
39
|
-
readonly environment: "environment";
|
|
40
35
|
readonly testDataProfile: "testDataProfile";
|
|
41
36
|
readonly testDataSet: "testDataSet";
|
|
42
37
|
readonly videoRecording: "videoRecording";
|
|
@@ -55,7 +50,6 @@ export interface TestCaseDetailsEditFormData {
|
|
|
55
50
|
priority: string;
|
|
56
51
|
type?: string | number;
|
|
57
52
|
labels: string[];
|
|
58
|
-
environmentId?: number | string | null;
|
|
59
53
|
testDataProfileId?: number | string | null;
|
|
60
54
|
testDataSetIndex?: number | string | null;
|
|
61
55
|
configSections: TestCaseDetailsConfigSection[];
|
|
@@ -185,7 +179,6 @@ export declare class TestCaseDetailsEditComponent implements OnInit, OnChanges {
|
|
|
185
179
|
/** Cached configs to avoid new object refs each change detection (prevents infinite loops) */
|
|
186
180
|
readonly statusSelectConfig: DynamicSelectFieldConfig;
|
|
187
181
|
readonly typeSelectConfig: DynamicSelectFieldConfig;
|
|
188
|
-
readonly environmentSelectConfig: DynamicSelectFieldConfig;
|
|
189
182
|
readonly testDataProfileSelectConfig: DynamicSelectFieldConfig;
|
|
190
183
|
readonly testDataSetSelectConfig: DynamicSelectFieldConfig;
|
|
191
184
|
private readonly defaultPrerequisiteCaseOptions;
|
|
@@ -36,7 +36,6 @@ export declare const TEST_CASE_DETAILS_FIELD_MAP: {
|
|
|
36
36
|
};
|
|
37
37
|
/** Execution config */
|
|
38
38
|
readonly execution: {
|
|
39
|
-
readonly environment: "environment";
|
|
40
39
|
readonly prerequisiteCase: "prerequisiteCase";
|
|
41
40
|
readonly defaultBrowser: "defaultBrowser";
|
|
42
41
|
readonly videoRecording: "videoRecording";
|
|
@@ -75,7 +74,6 @@ export interface TestCaseDetailsApiData {
|
|
|
75
74
|
type?: string;
|
|
76
75
|
typeId?: number | string;
|
|
77
76
|
environment?: string;
|
|
78
|
-
environmentId?: number | string | null;
|
|
79
77
|
version?: string;
|
|
80
78
|
testPlanName?: string;
|
|
81
79
|
testPlanRedirectUrl?: string;
|