@cqa-lib/cqa-ui 1.1.352 → 1.1.353
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/step-builder/template-variables-form/template-variables-form.component.mjs +3 -3
- package/esm2020/lib/test-case-details/api-edit-step/api-edit-step.component.mjs +33 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +34 -4
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +34 -4
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/api-edit-step/api-edit-step.component.d.ts +7 -0
- package/package.json +1 -1
|
@@ -378,6 +378,8 @@ export declare class ApiEditStepComponent implements OnChanges, OnInit, AfterVie
|
|
|
378
378
|
private getStatusVerificationValues;
|
|
379
379
|
private getDefaultStatusVerification;
|
|
380
380
|
responsePreview: string;
|
|
381
|
+
/** Reference to the response preview section, used to scroll into view after Send Request completes. */
|
|
382
|
+
responsePreviewRef?: ElementRef<HTMLElement>;
|
|
381
383
|
private methodChangesSub?;
|
|
382
384
|
private formatChangesSub?;
|
|
383
385
|
private headerNameOptionsChangesSub?;
|
|
@@ -503,6 +505,11 @@ export declare class ApiEditStepComponent implements OnChanges, OnInit, AfterVie
|
|
|
503
505
|
/** Current header rows from form (for consumers that read headers) */
|
|
504
506
|
get headers(): ApiEditHeaderRow[];
|
|
505
507
|
ngOnChanges(changes: SimpleChanges): void;
|
|
508
|
+
/**
|
|
509
|
+
* Smoothly scrolls the response preview section into view within the scrollable container.
|
|
510
|
+
* Called when a fresh response preview value is set from the parent (API builder).
|
|
511
|
+
*/
|
|
512
|
+
private scrollPreviewIntoView;
|
|
506
513
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiEditStepComponent, never>;
|
|
507
514
|
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>;
|
|
508
515
|
}
|