@cqa-lib/cqa-ui 1.1.179 → 1.1.181
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/custom-textarea/custom-textarea.component.mjs +6 -3
- package/esm2020/lib/custom-toggle/custom-toggle.component.mjs +35 -0
- package/esm2020/lib/execution-screen/ai-action-step/ai-action-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/ai-agent-step/ai-agent-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/document-verification-step/document-verification-step.component.mjs +9 -3
- package/esm2020/lib/execution-screen/file-download-step/file-download-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/live-execution-step/live-execution-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +6 -3
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +6 -3
- package/esm2020/lib/file-upload/file-upload.component.mjs +87 -0
- package/esm2020/lib/item-list/item-list.component.mjs +59 -0
- package/esm2020/lib/item-list/item-list.model.mjs +2 -0
- package/esm2020/lib/step-builder/step-builder-ai-agent/step-builder-ai-agent.component.mjs +136 -0
- package/esm2020/lib/step-builder/step-builder-custom-code/step-builder-custom-code.component.mjs +65 -0
- package/esm2020/lib/step-builder/step-builder-database/step-builder-database.component.mjs +1 -1
- package/esm2020/lib/step-builder/step-builder-document/step-builder-document.component.mjs +241 -0
- package/esm2020/lib/step-builder/step-builder-document-generation-template-step/step-builder-document-generation-template-step.component.mjs +176 -0
- package/esm2020/lib/step-builder/step-builder-record-step/step-builder-record-step.component.mjs +31 -0
- package/esm2020/lib/test-case-details/custom-edit-step/custom-edit-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/element-list/element-list.component.mjs +50 -0
- package/esm2020/lib/test-case-details/element-popup/element-popup-data.mjs +5 -0
- package/esm2020/lib/test-case-details/element-popup/element-popup-ref.mjs +32 -0
- package/esm2020/lib/test-case-details/element-popup/element-popup.component.mjs +272 -0
- package/esm2020/lib/test-case-details/element-popup/element-popup.service.mjs +97 -0
- package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +151 -19
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal-data.mjs +5 -0
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal-environment.model.mjs +10 -0
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal-parameter.model.mjs +8 -0
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal-ref.mjs +32 -0
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal.component.mjs +301 -0
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal.service.mjs +97 -0
- package/esm2020/lib/ui-kit.module.mjs +58 -3
- package/esm2020/lib/utils/tw-overlay-container.mjs +7 -3
- package/esm2020/public-api.mjs +19 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +2971 -1106
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +2966 -1121
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/custom-textarea/custom-textarea.component.d.ts +2 -1
- package/lib/custom-toggle/custom-toggle.component.d.ts +12 -0
- package/lib/execution-screen/ai-action-step/ai-action-step.component.d.ts +2 -1
- package/lib/execution-screen/ai-agent-step/ai-agent-step.component.d.ts +2 -1
- package/lib/execution-screen/api-step/api-step.component.d.ts +2 -1
- package/lib/execution-screen/basic-step/basic-step.component.d.ts +2 -1
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +2 -1
- package/lib/execution-screen/db-verification-step/db-verification-step.component.d.ts +2 -1
- package/lib/execution-screen/document-verification-step/document-verification-step.component.d.ts +2 -1
- package/lib/execution-screen/file-download-step/file-download-step.component.d.ts +2 -1
- package/lib/execution-screen/live-execution-step/live-execution-step.component.d.ts +2 -1
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +2 -1
- package/lib/execution-screen/step-group/step-group.component.d.ts +2 -1
- package/lib/file-upload/file-upload.component.d.ts +26 -0
- package/lib/item-list/item-list.component.d.ts +25 -0
- package/lib/item-list/item-list.model.d.ts +16 -0
- package/lib/step-builder/step-builder-ai-agent/step-builder-ai-agent.component.d.ts +47 -0
- package/lib/step-builder/step-builder-custom-code/step-builder-custom-code.component.d.ts +27 -0
- package/lib/step-builder/step-builder-document/step-builder-document.component.d.ts +81 -0
- package/lib/step-builder/step-builder-document-generation-template-step/step-builder-document-generation-template-step.component.d.ts +55 -0
- package/lib/step-builder/step-builder-record-step/step-builder-record-step.component.d.ts +16 -0
- package/lib/test-case-details/element-list/element-list.component.d.ts +26 -0
- package/lib/test-case-details/element-popup/element-popup-data.d.ts +16 -0
- package/lib/test-case-details/element-popup/element-popup-ref.d.ts +13 -0
- package/lib/test-case-details/element-popup/element-popup.component.d.ts +60 -0
- package/lib/test-case-details/element-popup/element-popup.service.d.ts +23 -0
- package/lib/test-case-details/normal-step/normal-step.component.d.ts +17 -2
- package/lib/test-case-details/test-data-modal/test-data-modal-data.d.ts +31 -0
- package/lib/test-case-details/test-data-modal/test-data-modal-environment.model.d.ts +12 -0
- package/lib/test-case-details/test-data-modal/test-data-modal-parameter.model.d.ts +11 -0
- package/lib/test-case-details/test-data-modal/test-data-modal-ref.d.ts +13 -0
- package/lib/test-case-details/test-data-modal/test-data-modal.component.d.ts +91 -0
- package/lib/test-case-details/test-data-modal/test-data-modal.service.d.ts +23 -0
- package/lib/ui-kit.module.d.ts +60 -49
- package/package.json +1 -1
- package/public-api.d.ts +18 -0
- package/styles.css +1 -1
|
@@ -18,6 +18,7 @@ export declare class CustomTextareaComponent implements OnChanges {
|
|
|
18
18
|
resize: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
19
19
|
textareaInlineStyle?: string;
|
|
20
20
|
labelInlineStyle?: string;
|
|
21
|
+
customClass: string;
|
|
21
22
|
valueChange: EventEmitter<string>;
|
|
22
23
|
blurred: EventEmitter<FocusEvent>;
|
|
23
24
|
focused: EventEmitter<FocusEvent>;
|
|
@@ -34,6 +35,6 @@ export declare class CustomTextareaComponent implements OnChanges {
|
|
|
34
35
|
get textareaStyles(): string;
|
|
35
36
|
get labelStyles(): string;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomTextareaComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomTextareaComponent, "cqa-custom-textarea", never, { "label": "label"; "placeholder": "placeholder"; "value": "value"; "disabled": "disabled"; "errors": "errors"; "required": "required"; "ariaLabel": "ariaLabel"; "size": "size"; "fullWidth": "fullWidth"; "maxLength": "maxLength"; "showCharCount": "showCharCount"; "rows": "rows"; "cols": "cols"; "resize": "resize"; "textareaInlineStyle": "textareaInlineStyle"; "labelInlineStyle": "labelInlineStyle"; }, { "valueChange": "valueChange"; "blurred": "blurred"; "focused": "focused"; }, never, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomTextareaComponent, "cqa-custom-textarea", never, { "label": "label"; "placeholder": "placeholder"; "value": "value"; "disabled": "disabled"; "errors": "errors"; "required": "required"; "ariaLabel": "ariaLabel"; "size": "size"; "fullWidth": "fullWidth"; "maxLength": "maxLength"; "showCharCount": "showCharCount"; "rows": "rows"; "cols": "cols"; "resize": "resize"; "textareaInlineStyle": "textareaInlineStyle"; "labelInlineStyle": "labelInlineStyle"; "customClass": "customClass"; }, { "valueChange": "valueChange"; "blurred": "blurred"; "focused": "focused"; }, never, never>;
|
|
38
39
|
}
|
|
39
40
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CustomToggleComponent {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
ariaLabel: string;
|
|
7
|
+
checkedChange: EventEmitter<boolean>;
|
|
8
|
+
change: EventEmitter<boolean>;
|
|
9
|
+
onToggle(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomToggleComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomToggleComponent, "cqa-custom-toggle", never, { "checked": "checked"; "disabled": "disabled"; "ariaLabel": "ariaLabel"; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, never>;
|
|
12
|
+
}
|
|
@@ -18,6 +18,7 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
18
18
|
reasoning?: string[];
|
|
19
19
|
confidence?: string;
|
|
20
20
|
stepDeleted?: boolean;
|
|
21
|
+
isDebug?: boolean;
|
|
21
22
|
isUploadingBaseline: {};
|
|
22
23
|
isMakingCurrentBaseline: {};
|
|
23
24
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
@@ -59,5 +60,5 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
59
60
|
getActionBadgeText(): string;
|
|
60
61
|
onJumpToTimestamp(event: Event): void;
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIActionStepComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIActionStepComponent, "cqa-ai-action-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "actionCount": "actionCount"; "actions": "actions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIActionStepComponent, "cqa-ai-action-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "actionCount": "actionCount"; "actions": "actions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
63
64
|
}
|
|
@@ -21,6 +21,7 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
21
21
|
reasoning?: string[];
|
|
22
22
|
confidence?: string;
|
|
23
23
|
stepDeleted?: boolean;
|
|
24
|
+
isDebug?: boolean;
|
|
24
25
|
isUploadingBaseline: {};
|
|
25
26
|
isMakingCurrentBaseline: {};
|
|
26
27
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
@@ -66,5 +67,5 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
66
67
|
toggleHeader(event?: Event): void;
|
|
67
68
|
onJumpToTimestamp(event: Event): void;
|
|
68
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentStepComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "prompt": "prompt"; "optimizedRun": "optimizedRun"; "actionCount": "actionCount"; "actions": "actions"; "selectedTabInput": "selectedTabInput"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "prompt": "prompt"; "optimizedRun": "optimizedRun"; "actionCount": "actionCount"; "actions": "actions"; "selectedTabInput": "selectedTabInput"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
70
71
|
}
|
|
@@ -22,6 +22,7 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
22
22
|
responseHeaders?: any;
|
|
23
23
|
assertions?: ApiAssertion[];
|
|
24
24
|
initialActions?: SubStep[];
|
|
25
|
+
isDebug?: boolean;
|
|
25
26
|
failureDetails?: FailureDetails;
|
|
26
27
|
reasoning?: string[];
|
|
27
28
|
confidence?: string;
|
|
@@ -105,5 +106,5 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
105
106
|
ngOnDestroy(): void;
|
|
106
107
|
onJumpToTimestamp(event: Event): void;
|
|
107
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiStepComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "method": "method"; "endpoint": "endpoint"; "statusCode": "statusCode"; "responseTime": "responseTime"; "requestBody": "requestBody"; "responseBody": "responseBody"; "requestHeaders": "requestHeaders"; "responseHeaders": "responseHeaders"; "assertions": "assertions"; "initialActions": "initialActions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "jsonPathCopied": "jsonPathCopied"; }, never, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "method": "method"; "endpoint": "endpoint"; "statusCode": "statusCode"; "responseTime": "responseTime"; "requestBody": "requestBody"; "responseBody": "responseBody"; "requestHeaders": "requestHeaders"; "responseHeaders": "responseHeaders"; "assertions": "assertions"; "initialActions": "initialActions"; "isDebug": "isDebug"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "jsonPathCopied": "jsonPathCopied"; }, never, never>;
|
|
109
110
|
}
|
|
@@ -9,6 +9,7 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
9
9
|
stepNumber: string;
|
|
10
10
|
title: string;
|
|
11
11
|
status: StepStatus;
|
|
12
|
+
isDebug?: boolean;
|
|
12
13
|
duration: number;
|
|
13
14
|
timingBreakdown?: TimingBreakdown;
|
|
14
15
|
expanded?: boolean;
|
|
@@ -98,5 +99,5 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
98
99
|
isStepLoading(): boolean;
|
|
99
100
|
onJumpToTimestamp(event: Event): void;
|
|
100
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicStepComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "isLoading": "isLoading"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "isLoading": "isLoading"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
102
103
|
}
|
|
@@ -23,6 +23,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
23
23
|
nestedSteps?: ExecutionStepConfig[];
|
|
24
24
|
hasChild?: boolean;
|
|
25
25
|
stepDeleted?: boolean;
|
|
26
|
+
isDebug?: boolean;
|
|
26
27
|
ifChild?: any;
|
|
27
28
|
activeBranchStepId?: string | number;
|
|
28
29
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
@@ -114,5 +115,5 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
114
115
|
private hasAnyExecutedBranch;
|
|
115
116
|
onJumpToTimestamp(event: Event): void;
|
|
116
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionStepComponent, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "selfHealAnalysis": "selfHealAnalysis"; "isLoading": "isLoading"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "stepDeleted": "stepDeleted"; "ifChild": "ifChild"; "activeBranchStepId": "activeBranchStepId"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "onBranchClickEvent": "onBranchClickEvent"; "onExpand": "onExpand"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "selfHealAnalysis": "selfHealAnalysis"; "isLoading": "isLoading"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "ifChild": "ifChild"; "activeBranchStepId": "activeBranchStepId"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "onBranchClickEvent": "onBranchClickEvent"; "onExpand": "onExpand"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
118
119
|
}
|
|
@@ -19,6 +19,7 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
19
19
|
name: string;
|
|
20
20
|
dbType: string;
|
|
21
21
|
};
|
|
22
|
+
isDebug?: boolean;
|
|
22
23
|
failureDetails?: FailureDetails;
|
|
23
24
|
reasoning?: string[];
|
|
24
25
|
confidence?: string;
|
|
@@ -106,5 +107,5 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
106
107
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
107
108
|
onJumpToTimestamp(event: Event): void;
|
|
108
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbVerificationStepComponent, never>;
|
|
109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "isDebug": "isDebug"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
110
111
|
}
|
package/lib/execution-screen/document-verification-step/document-verification-step.component.d.ts
CHANGED
|
@@ -15,11 +15,12 @@ export declare class DocumentVerificationStepComponent extends BaseStepComponent
|
|
|
15
15
|
verificationChecks: VerificationCheck[];
|
|
16
16
|
step?: any;
|
|
17
17
|
jumpToTimestampHandler?: (timestamp: number, testStepId?: number | string) => void;
|
|
18
|
+
isDebug?: boolean;
|
|
18
19
|
config: DocumentVerificationStepConfig;
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
21
22
|
copyToClipboard(text: string): void;
|
|
22
23
|
onJumpToTimestamp(event: Event): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentVerificationStepComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentVerificationStepComponent, "cqa-document-verification-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "documentScreenshot": "documentScreenshot"; "extractedFields": "extractedFields"; "verificationChecks": "verificationChecks"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; }, {}, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentVerificationStepComponent, "cqa-document-verification-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "documentScreenshot": "documentScreenshot"; "extractedFields": "extractedFields"; "verificationChecks": "verificationChecks"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isDebug": "isDebug"; }, {}, never, never>;
|
|
25
26
|
}
|
|
@@ -20,6 +20,7 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
|
|
|
20
20
|
isDownloading?: boolean;
|
|
21
21
|
step?: any;
|
|
22
22
|
jumpToTimestampHandler?: (timestamp: number, testStepId?: number | string) => void;
|
|
23
|
+
isDebug?: boolean;
|
|
23
24
|
download: EventEmitter<{
|
|
24
25
|
fileName: string;
|
|
25
26
|
filePath?: string;
|
|
@@ -47,5 +48,5 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
|
|
|
47
48
|
ngOnDestroy(): void;
|
|
48
49
|
onJumpToTimestamp(event: Event): void;
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadStepComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadStepComponent, "cqa-file-download-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "fileName": "fileName"; "fileType": "fileType"; "fileSize": "fileSize"; "filePath": "filePath"; "downloaded": "downloaded"; "stepDeleted": "stepDeleted"; "isDownloading": "isDownloading"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; }, { "download": "download"; "filePathCopied": "filePathCopied"; "textCopied": "textCopied"; }, never, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadStepComponent, "cqa-file-download-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "fileName": "fileName"; "fileType": "fileType"; "fileSize": "fileSize"; "filePath": "filePath"; "downloaded": "downloaded"; "stepDeleted": "stepDeleted"; "isDownloading": "isDownloading"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isDebug": "isDebug"; }, { "download": "download"; "filePathCopied": "filePathCopied"; "textCopied": "textCopied"; }, never, never>;
|
|
51
52
|
}
|
|
@@ -8,6 +8,7 @@ export declare class LiveExecutionStepComponent extends BaseStepComponent implem
|
|
|
8
8
|
stepNumber: string;
|
|
9
9
|
title: string;
|
|
10
10
|
status: StepStatus;
|
|
11
|
+
isDebug?: boolean;
|
|
11
12
|
duration: number;
|
|
12
13
|
expanded?: boolean;
|
|
13
14
|
subSteps: LiveSubStep[];
|
|
@@ -22,5 +23,5 @@ export declare class LiveExecutionStepComponent extends BaseStepComponent implem
|
|
|
22
23
|
get hasSubSteps(): boolean;
|
|
23
24
|
trackBySubStepId(index: number, subStep: LiveSubStep): string;
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiveExecutionStepComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiveExecutionStepComponent, "cqa-live-execution-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "expanded": "expanded"; "subSteps": "subSteps"; "stepDeleted": "stepDeleted"; }, {}, never, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiveExecutionStepComponent, "cqa-live-execution-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "duration": "duration"; "expanded": "expanded"; "subSteps": "subSteps"; "stepDeleted": "stepDeleted"; }, {}, never, never>;
|
|
26
27
|
}
|
|
@@ -22,6 +22,7 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
22
22
|
isLive: boolean;
|
|
23
23
|
isLoading?: boolean;
|
|
24
24
|
stepDeleted?: boolean;
|
|
25
|
+
isDebug?: boolean;
|
|
25
26
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
26
27
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
27
28
|
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
@@ -145,5 +146,5 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
145
146
|
isStepLoading(): boolean;
|
|
146
147
|
onJumpToTimestamp(event: Event): void;
|
|
147
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoopStepComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "hasChild": "hasChild"; "isLive": "isLive"; "isLoading": "isLoading"; "stepDeleted": "stepDeleted"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "iterationData": "iterationData"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "hasChild": "hasChild"; "isLive": "isLive"; "isLoading": "isLoading"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "iterationData": "iterationData"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
149
150
|
}
|
|
@@ -17,6 +17,7 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
17
17
|
hasChild?: boolean;
|
|
18
18
|
isLoading?: boolean;
|
|
19
19
|
stepDeleted?: boolean;
|
|
20
|
+
isDebug?: boolean;
|
|
20
21
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
21
22
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
22
23
|
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
@@ -104,5 +105,5 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
104
105
|
isStepLoading(): boolean;
|
|
105
106
|
onJumpToTimestamp(event: Event): void;
|
|
106
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepGroupComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; "hasChild": "hasChild"; "isLoading": "isLoading"; "stepDeleted": "stepDeleted"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "step": "step"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; "hasChild": "hasChild"; "isLoading": "isLoading"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "step": "step"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
108
109
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileUploadComponent {
|
|
4
|
+
/** Accepted file types (e.g., 'application/pdf,application/msword,.txt') */
|
|
5
|
+
accept: string;
|
|
6
|
+
/** Display text for accepted file types */
|
|
7
|
+
acceptedFileTypes: string;
|
|
8
|
+
/** Whether the component is disabled */
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/** Emit when file is selected */
|
|
11
|
+
fileSelected: EventEmitter<File>;
|
|
12
|
+
/** Emit when file selection is cancelled */
|
|
13
|
+
cancelled: EventEmitter<void>;
|
|
14
|
+
fileInput: ElementRef<HTMLInputElement>;
|
|
15
|
+
isDragging: boolean;
|
|
16
|
+
selectedFile: File | null;
|
|
17
|
+
onDragOver(event: DragEvent): void;
|
|
18
|
+
onDragLeave(event: DragEvent): void;
|
|
19
|
+
onDrop(event: DragEvent): void;
|
|
20
|
+
onBrowseClick(): void;
|
|
21
|
+
onFileInputChange(event: Event): void;
|
|
22
|
+
private handleFile;
|
|
23
|
+
removeFile(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "cqa-file-upload", never, { "accept": "accept"; "acceptedFileTypes": "acceptedFileTypes"; "disabled": "disabled"; }, { "fileSelected": "fileSelected"; "cancelled": "cancelled"; }, never, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CqaListItemConfig } from './item-list.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ItemListComponent {
|
|
5
|
+
/** List items to display (e.g. mapped from Parameter, Environment, or any domain model) */
|
|
6
|
+
items: CqaListItemConfig[];
|
|
7
|
+
/** Id of the currently selected item; used for highlight and to show edit icon when showEdit is true */
|
|
8
|
+
selectedId: string | null;
|
|
9
|
+
/** Message shown when items array is empty (e.g. "No parameters match your search.") */
|
|
10
|
+
emptyMessage: string;
|
|
11
|
+
/** When true (default), the list container is scrollable (flex-1 min-h-0 overflow-y-auto). */
|
|
12
|
+
scrollable: boolean;
|
|
13
|
+
/** Emitted when an item row is clicked (passes the item id). */
|
|
14
|
+
itemSelect: EventEmitter<string>;
|
|
15
|
+
/** Emitted when the edit icon is clicked (passes the item id). Call stopPropagation in parent if needed. */
|
|
16
|
+
itemEdit: EventEmitter<string>;
|
|
17
|
+
/** Normalized items (never undefined) so template is safe. */
|
|
18
|
+
get displayItems(): CqaListItemConfig[];
|
|
19
|
+
trackById(_index: number, item: CqaListItemConfig): string;
|
|
20
|
+
isSelected(item: CqaListItemConfig): boolean;
|
|
21
|
+
onItemClick(item: CqaListItemConfig): void;
|
|
22
|
+
onEditClick(event: Event, item: CqaListItemConfig): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemListComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemListComponent, "cqa-item-list", never, { "items": "items"; "selectedId": "selectedId"; "emptyMessage": "emptyMessage"; "scrollable": "scrollable"; }, { "itemSelect": "itemSelect"; "itemEdit": "itemEdit"; }, never, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration for a single item in the reusable item list.
|
|
3
|
+
* Use this interface to bind any domain model to the list by mapping to id, title, subtitle, badge, showEdit.
|
|
4
|
+
*/
|
|
5
|
+
export interface CqaListItemConfig {
|
|
6
|
+
/** Unique id used for selection and tracking */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Primary text (e.g. variable name, label) */
|
|
9
|
+
title: string;
|
|
10
|
+
/** Secondary / value text shown below title */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/** Optional badge text (e.g. "Global", "Local", environment name) */
|
|
13
|
+
badge?: string;
|
|
14
|
+
/** When true, the edit icon is shown (typically when this item is selected) */
|
|
15
|
+
showEdit?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface AiAgentFormData {
|
|
6
|
+
query: string;
|
|
7
|
+
type: string;
|
|
8
|
+
environments: string;
|
|
9
|
+
metadata?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
continueOnError?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
retryCount?: string;
|
|
14
|
+
iframeLocator?: string;
|
|
15
|
+
otherLocators?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class StepBuilderAiAgentComponent implements OnInit {
|
|
18
|
+
private fb;
|
|
19
|
+
/** Options for type dropdown */
|
|
20
|
+
typeOptions: SelectOption[];
|
|
21
|
+
/** Options for environments dropdown */
|
|
22
|
+
environmentOptions: SelectOption[];
|
|
23
|
+
/** Options for retry count dropdown */
|
|
24
|
+
retryCountOptions: SelectOption[];
|
|
25
|
+
/** Options for iframe locator dropdown */
|
|
26
|
+
iframeLocatorOptions: SelectOption[];
|
|
27
|
+
/** Options for other locators dropdown */
|
|
28
|
+
otherLocatorsOptions: SelectOption[];
|
|
29
|
+
/** Emit when step is created */
|
|
30
|
+
createStep: EventEmitter<AiAgentFormData>;
|
|
31
|
+
/** Emit when cancelled */
|
|
32
|
+
cancelled: EventEmitter<void>;
|
|
33
|
+
aiAgentForm: FormGroup;
|
|
34
|
+
showAdvanced: boolean;
|
|
35
|
+
constructor(fb: FormBuilder);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
getTypeConfig(): DynamicSelectFieldConfig;
|
|
38
|
+
getEnvironmentConfig(): DynamicSelectFieldConfig;
|
|
39
|
+
getRetryCountConfig(): DynamicSelectFieldConfig;
|
|
40
|
+
getIframeLocatorConfig(): DynamicSelectFieldConfig;
|
|
41
|
+
getOtherLocatorsConfig(): DynamicSelectFieldConfig;
|
|
42
|
+
toggleAdvanced(): void;
|
|
43
|
+
onCancel(): void;
|
|
44
|
+
onCreateStep(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderAiAgentComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderAiAgentComponent, "cqa-step-builder-ai-agent", never, { "typeOptions": "typeOptions"; "environmentOptions": "environmentOptions"; "retryCountOptions": "retryCountOptions"; "iframeLocatorOptions": "iframeLocatorOptions"; "otherLocatorsOptions": "otherLocatorsOptions"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface CustomCodeFormData {
|
|
6
|
+
language: string;
|
|
7
|
+
code: string;
|
|
8
|
+
metadata?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class StepBuilderCustomCodeComponent implements OnInit {
|
|
12
|
+
private fb;
|
|
13
|
+
/** Options for language dropdown */
|
|
14
|
+
languageOptions: SelectOption[];
|
|
15
|
+
/** Emit when step is created */
|
|
16
|
+
createStep: EventEmitter<CustomCodeFormData>;
|
|
17
|
+
/** Emit when cancelled */
|
|
18
|
+
cancelled: EventEmitter<void>;
|
|
19
|
+
customCodeForm: FormGroup;
|
|
20
|
+
constructor(fb: FormBuilder);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
getLanguageConfig(): DynamicSelectFieldConfig;
|
|
23
|
+
onCancel(): void;
|
|
24
|
+
onCreateStep(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderCustomCodeComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderCustomCodeComponent, "cqa-step-builder-custom-code", never, { "languageOptions": "languageOptions"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
3
|
+
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare type TemplateSourceType = 'existing' | 'upload' | 'createNew';
|
|
6
|
+
export interface DocumentMappingRow {
|
|
7
|
+
key: string;
|
|
8
|
+
valueType: string;
|
|
9
|
+
value: string;
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface DocumentFormData {
|
|
13
|
+
documentType: string;
|
|
14
|
+
outputVariable: string;
|
|
15
|
+
templateSource: TemplateSourceType;
|
|
16
|
+
templateId?: string;
|
|
17
|
+
/** Uploaded template file when templateSource is 'upload' */
|
|
18
|
+
uploadedFile?: File;
|
|
19
|
+
/** Template name when templateSource is 'createNew' */
|
|
20
|
+
templateName?: string;
|
|
21
|
+
/** Template description when templateSource is 'createNew' */
|
|
22
|
+
templateDescription?: string;
|
|
23
|
+
mappings: DocumentMappingRow[];
|
|
24
|
+
}
|
|
25
|
+
export declare class StepBuilderDocumentComponent implements OnInit, OnChanges {
|
|
26
|
+
private fb;
|
|
27
|
+
/** Options for document type dropdown */
|
|
28
|
+
documentTypeOptions: SelectOption[];
|
|
29
|
+
/** Options for template dropdown (when "Use Existing Template" is selected) */
|
|
30
|
+
templateOptions: SelectOption[];
|
|
31
|
+
/** Options for value type dropdown in document mapper */
|
|
32
|
+
valueTypeOptions: SelectOption[];
|
|
33
|
+
/** Optional URL for "Need help?" link in Document Mapper section */
|
|
34
|
+
mapperHelpUrl: string;
|
|
35
|
+
/** Tooltip text when hovering over "Need help?" (same as custom-edit-step) */
|
|
36
|
+
mapperHelpTooltipText: string;
|
|
37
|
+
/** Whether the help tooltip is visible */
|
|
38
|
+
showHelpTooltip: boolean;
|
|
39
|
+
/** Emit when step is created */
|
|
40
|
+
createStep: EventEmitter<DocumentFormData>;
|
|
41
|
+
/** Emit when cancelled */
|
|
42
|
+
cancelled: EventEmitter<void>;
|
|
43
|
+
/** Emit when "Create Template" is clicked (Create New flow). Host can create template via API. */
|
|
44
|
+
createTemplate: EventEmitter<{
|
|
45
|
+
templateName: string;
|
|
46
|
+
templateDescription: string;
|
|
47
|
+
}>;
|
|
48
|
+
documentForm: FormGroup;
|
|
49
|
+
selectedTemplateSource: TemplateSourceType;
|
|
50
|
+
/** Uploaded file when Template Source is "Upload Template" */
|
|
51
|
+
uploadedFile: File | null;
|
|
52
|
+
/** Visual state for drag-and-drop zone */
|
|
53
|
+
isDragOver: boolean;
|
|
54
|
+
constructor(fb: FormBuilder);
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
57
|
+
get mappingsFormArray(): FormArray;
|
|
58
|
+
getDocumentTypeConfig(): DynamicSelectFieldConfig;
|
|
59
|
+
getTemplateSelectConfig(): DynamicSelectFieldConfig;
|
|
60
|
+
getValueTypeConfig(index: number): DynamicSelectFieldConfig;
|
|
61
|
+
onTemplateSourceChange(value: string): void;
|
|
62
|
+
onCreateTemplate(): void;
|
|
63
|
+
onFileSelected(event: Event): void;
|
|
64
|
+
onDragOver(event: DragEvent): void;
|
|
65
|
+
onDragLeave(event: DragEvent): void;
|
|
66
|
+
onDrop(event: DragEvent): void;
|
|
67
|
+
private isAcceptedTemplateFile;
|
|
68
|
+
addMapping(): void;
|
|
69
|
+
removeMapping(index: number): void;
|
|
70
|
+
getMappingFormGroup(index: number): FormGroup;
|
|
71
|
+
/** True when every mapping row has enabled === true */
|
|
72
|
+
get allMappingsSelected(): boolean;
|
|
73
|
+
/** True when at least one mapping row has enabled === true (for header indeterminate) */
|
|
74
|
+
get someMappingsSelected(): boolean;
|
|
75
|
+
onSelectAllMappings(checked: boolean): void;
|
|
76
|
+
onCancel(): void;
|
|
77
|
+
onCreateStep(): void;
|
|
78
|
+
onMapperHelpClick(event: Event): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderDocumentComponent, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderDocumentComponent, "cqa-step-builder-document", never, { "documentTypeOptions": "documentTypeOptions"; "templateOptions": "templateOptions"; "valueTypeOptions": "valueTypeOptions"; "mapperHelpUrl": "mapperHelpUrl"; "mapperHelpTooltipText": "mapperHelpTooltipText"; }, { "createStep": "createStep"; "cancelled": "cancelled"; "createTemplate": "createTemplate"; }, never, never>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
3
|
+
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface DocumentMapper {
|
|
6
|
+
key: string;
|
|
7
|
+
valueType: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DocumentGenerationTemplateFormData {
|
|
11
|
+
documentType: string;
|
|
12
|
+
templateSource: string;
|
|
13
|
+
outputVariable: string;
|
|
14
|
+
templateOption: 'use-existing' | 'upload' | 'create-new';
|
|
15
|
+
mappings: DocumentMapper[];
|
|
16
|
+
}
|
|
17
|
+
export declare class StepBuilderDocumentGenerationTemplateStepComponent implements OnInit, OnChanges {
|
|
18
|
+
private fb;
|
|
19
|
+
/** Options for document type dropdown */
|
|
20
|
+
documentTypeOptions: SelectOption[];
|
|
21
|
+
/** Options for template source dropdown */
|
|
22
|
+
templateSourceOptions: SelectOption[];
|
|
23
|
+
/** Options for value type dropdown */
|
|
24
|
+
valueTypeOptions: SelectOption[];
|
|
25
|
+
/** Emit when step is created */
|
|
26
|
+
createStep: EventEmitter<DocumentGenerationTemplateFormData>;
|
|
27
|
+
/** Emit when cancelled */
|
|
28
|
+
cancelled: EventEmitter<void>;
|
|
29
|
+
documentForm: FormGroup;
|
|
30
|
+
selectedTemplateOption: 'use-existing' | 'upload' | 'create-new';
|
|
31
|
+
documentTypeConfig: DynamicSelectFieldConfig;
|
|
32
|
+
templateSourceConfig: DynamicSelectFieldConfig;
|
|
33
|
+
valueTypeConfig: DynamicSelectFieldConfig;
|
|
34
|
+
templateSegments: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
constructor(fb: FormBuilder);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
+
get mappingsFormArray(): FormArray;
|
|
42
|
+
getMappingGroup(index: number): FormGroup;
|
|
43
|
+
private updateConfigs;
|
|
44
|
+
addMapping(): void;
|
|
45
|
+
removeMapping(index: number): void;
|
|
46
|
+
selectTemplateOption(option: 'use-existing' | 'upload' | 'create-new' | number): void;
|
|
47
|
+
onTemplateOptionChange(value: string): void;
|
|
48
|
+
onTemplateIndexChange(index: number): void;
|
|
49
|
+
onFileSelected(file: File): void;
|
|
50
|
+
onCreateTemplate(): void;
|
|
51
|
+
onCancel(): void;
|
|
52
|
+
onCreateStep(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderDocumentGenerationTemplateStepComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderDocumentGenerationTemplateStepComponent, "cqa-step-builder-document-generation-template-step", never, { "documentTypeOptions": "documentTypeOptions"; "templateSourceOptions": "templateSourceOptions"; "valueTypeOptions": "valueTypeOptions"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface RecordStepFormData {
|
|
4
|
+
}
|
|
5
|
+
export declare class StepBuilderRecordStepComponent implements OnInit {
|
|
6
|
+
/** Emit when cancelled */
|
|
7
|
+
cancelled: EventEmitter<void>;
|
|
8
|
+
/** Emit when recording is cancelled */
|
|
9
|
+
cancelRecording: EventEmitter<void>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
onCancel(): void;
|
|
13
|
+
onCancelRecording(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderRecordStepComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderRecordStepComponent, "cqa-step-builder-record-step", never, {}, { "cancelled": "cancelled"; "cancelRecording": "cancelRecording"; }, never, never>;
|
|
16
|
+
}
|