@cqa-lib/cqa-ui 1.1.344 → 1.1.345
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/test-case-details/api-edit-step/api-edit-step.component.mjs +62 -5
- package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +4 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +58 -7
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +63 -6
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/api-edit-step/api-edit-step.component.d.ts +19 -1
- package/package.json +1 -1
|
@@ -115,9 +115,19 @@ export declare class ApiEditStepComponent implements OnChanges, OnInit, AfterVie
|
|
|
115
115
|
initialStep?: number;
|
|
116
116
|
initialUrl?: string;
|
|
117
117
|
initialPayloadTab?: ApiEditPayloadTab;
|
|
118
|
+
/** Initial payload type (raw, x-www-form-urlencoded, form-data) when editing an existing step. */
|
|
119
|
+
initialPayloadType?: 'raw' | 'x-www-form-urlencoded' | 'form-data';
|
|
120
|
+
/** Initial payload text (body) when editing an existing step. */
|
|
121
|
+
initialPayloadText?: string;
|
|
118
122
|
initialHeaders?: ApiEditHeaderRow[];
|
|
119
123
|
initialResponsePreview?: string;
|
|
120
124
|
initialVariableName?: string;
|
|
125
|
+
/** Initial response body verifications when editing an existing step. */
|
|
126
|
+
initialResponseBodyVerifications?: ApiEditResponseBodyVerificationRow[];
|
|
127
|
+
/** Initial status verifications when editing an existing step. */
|
|
128
|
+
initialStatusVerifications?: ApiEditStatusVerificationRow[];
|
|
129
|
+
/** Initial active response verification tab when editing an existing step. */
|
|
130
|
+
initialActiveResponseVerificationTab?: 'response-body' | 'status';
|
|
121
131
|
editMode?: boolean;
|
|
122
132
|
/** Emits the cURL string when user clicks Import (value from the textarea control). */
|
|
123
133
|
importCurl: EventEmitter<string>;
|
|
@@ -176,6 +186,10 @@ export declare class ApiEditStepComponent implements OnChanges, OnInit, AfterVie
|
|
|
176
186
|
environmentForm: FormGroup;
|
|
177
187
|
/** Environment options: array of strings or objects with id, name, value, label (passed from parent). */
|
|
178
188
|
environmentOptions: EnvironmentOptionInput[];
|
|
189
|
+
/** Whether more environments are available for infinite scroll (provided by parent). */
|
|
190
|
+
hasMoreEnvironments: boolean;
|
|
191
|
+
/** True while parent is loading environments (search or load more). */
|
|
192
|
+
isLoadingEnvironments: boolean;
|
|
179
193
|
/** URL field options when an environment is selected (base URL + parameters as *|key|). Parent fills this when environmentChange fires. */
|
|
180
194
|
urlOptions: CqaAutocompleteOption[];
|
|
181
195
|
/** Config for environment dropdown (updated when environmentOptions changes to avoid new reference every CD) */
|
|
@@ -184,6 +198,10 @@ export declare class ApiEditStepComponent implements OnChanges, OnInit, AfterVie
|
|
|
184
198
|
private static getOptionValue;
|
|
185
199
|
private updateEnvironmentSelectConfig;
|
|
186
200
|
private getEnvironmentValues;
|
|
201
|
+
/** Emit when user searches environments from the dropdown. */
|
|
202
|
+
environmentSearch: EventEmitter<string>;
|
|
203
|
+
/** Emit when user scrolls to load more environments. */
|
|
204
|
+
environmentLoadMore: EventEmitter<void>;
|
|
187
205
|
/** Form for Auth Type select (Authorization tab) */
|
|
188
206
|
authTypeForm: FormGroup;
|
|
189
207
|
/** Auth type options: array of strings or objects with id, name, value, label (passed from parent). Falls back to built-in list when empty. */
|
|
@@ -486,5 +504,5 @@ export declare class ApiEditStepComponent implements OnChanges, OnInit, AfterVie
|
|
|
486
504
|
get headers(): ApiEditHeaderRow[];
|
|
487
505
|
ngOnChanges(changes: SimpleChanges): void;
|
|
488
506
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiEditStepComponent, never>;
|
|
489
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiEditStepComponent, "cqa-api-edit-step", never, { "initialMethod": "initialMethod"; "initialEnvironment": "initialEnvironment"; "initialStep": "initialStep"; "initialUrl": "initialUrl"; "initialPayloadTab": "initialPayloadTab"; "initialHeaders": "initialHeaders"; "initialResponsePreview": "initialResponsePreview"; "initialVariableName": "initialVariableName"; "editMode": "editMode"; "httpMethodOptions": "httpMethodOptions"; "environmentOptions": "environmentOptions"; "urlOptions": "urlOptions"; "authTypeOptions": "authTypeOptions"; "initialAuthType": "initialAuthType"; "formatOptions": "formatOptions"; "initialFormat": "initialFormat"; "headerNameOptions": "headerNameOptions"; "verificationOptions": "verificationOptions"; "verificationDataTypeOptions": "verificationDataTypeOptions"; "statusVerificationOptions": "statusVerificationOptions"; "advancedSettingsVariables": "advancedSettingsVariables"; }, { "importCurl": "importCurl"; "importCurlCancel": "importCurlCancel"; "sendRequest": "sendRequest"; "back": "back"; "cancel": "cancel"; "next": "next"; "create": "create"; "headersChange": "headersChange"; "environmentChange": "environmentChange"; }, never, never>;
|
|
507
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApiEditStepComponent, "cqa-api-edit-step", never, { "initialMethod": "initialMethod"; "initialEnvironment": "initialEnvironment"; "initialStep": "initialStep"; "initialUrl": "initialUrl"; "initialPayloadTab": "initialPayloadTab"; "initialPayloadType": "initialPayloadType"; "initialPayloadText": "initialPayloadText"; "initialHeaders": "initialHeaders"; "initialResponsePreview": "initialResponsePreview"; "initialVariableName": "initialVariableName"; "initialResponseBodyVerifications": "initialResponseBodyVerifications"; "initialStatusVerifications": "initialStatusVerifications"; "initialActiveResponseVerificationTab": "initialActiveResponseVerificationTab"; "editMode": "editMode"; "httpMethodOptions": "httpMethodOptions"; "environmentOptions": "environmentOptions"; "hasMoreEnvironments": "hasMoreEnvironments"; "isLoadingEnvironments": "isLoadingEnvironments"; "urlOptions": "urlOptions"; "authTypeOptions": "authTypeOptions"; "initialAuthType": "initialAuthType"; "formatOptions": "formatOptions"; "initialFormat": "initialFormat"; "headerNameOptions": "headerNameOptions"; "verificationOptions": "verificationOptions"; "verificationDataTypeOptions": "verificationDataTypeOptions"; "statusVerificationOptions": "statusVerificationOptions"; "advancedSettingsVariables": "advancedSettingsVariables"; }, { "importCurl": "importCurl"; "importCurlCancel": "importCurlCancel"; "sendRequest": "sendRequest"; "back": "back"; "cancel": "cancel"; "next": "next"; "create": "create"; "headersChange": "headersChange"; "environmentChange": "environmentChange"; "environmentSearch": "environmentSearch"; "environmentLoadMore": "environmentLoadMore"; }, never, never>;
|
|
490
508
|
}
|