@cqa-lib/cqa-ui 1.1.481 → 1.1.483

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.
@@ -102,9 +102,17 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
102
102
  copyRequestHeaders(): void;
103
103
  copyResponseHeaders(): void;
104
104
  /**
105
- * Extracts JSON path from the clicked position in a formatted JSON string
105
+ * Walks jsonData and builds a map from each line number (in the output of
106
+ * JSON.stringify(jsonData, null, 2)) to the segment path that line represents.
107
+ * Segments are strings for object keys and numbers for array indices.
108
+ */
109
+ private buildLinePathMap;
110
+ /**
111
+ * Extracts JSON path from the clicked position in a formatted JSON string.
112
+ * Returns an array of segments (string keys or numeric array indices), or null.
106
113
  */
107
114
  private getJsonPathFromClick;
115
+ private formatSegmentsPath;
108
116
  private normalizeJsonPath;
109
117
  /**
110
118
  * Copy JSON path on double-click
@@ -138,6 +138,27 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
138
138
  private clearCountdownTimer;
139
139
  private addDurationToWaitLocatorGroupEntry;
140
140
  private processSubStepsForRunResult;
141
+ /** True when this normal step is a "Download file by click on <label>" action with a file result. */
142
+ get isDownloadByClickStep(): boolean;
143
+ /** The file payload returned by the backend for a downloadByClick step (or null). */
144
+ get downloadByClickFile(): any | null;
145
+ /** Human-readable file name derived from the backend path/name. Used in the file details card. */
146
+ get downloadByClickFileName(): string;
147
+ /** File extension (e.g. "txt", "pdf") used in the type badge. */
148
+ get downloadByClickFileType(): string;
149
+ /** S3 path shown in the "File Path" card and sent through to the portal's download handler. */
150
+ get downloadByClickFilePath(): string;
151
+ /** True while the portal is fetching the blob for this step. */
152
+ get isDownloadByClickDownloading(): boolean;
153
+ /** Tailwind classes for the file-type badge (matches file-download-step styling). */
154
+ getDownloadByClickBadgeClass(): string;
155
+ /** Click handler for the Download button — delegates to the portal-provided onDownloadHandler. */
156
+ onDownloadByClickDownload(): void;
157
+ /** State for the "Copied" tooltip shown next to the File Path copy button. */
158
+ showDownloadByClickCopied: boolean;
159
+ private downloadByClickCopyTimeout;
160
+ /** Click handler for the file-path copy button. */
161
+ copyDownloadByClickFilePath(): void;
141
162
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicStepComponent, never>;
142
163
  static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "parentSkipped": "parentSkipped"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "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"; "onEditStepHandler": "onEditStepHandler"; "onAddStepOptionSelectHandler": "onAddStepOptionSelectHandler"; "onStepMoreOptionSelectHandler": "onStepMoreOptionSelectHandler"; "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"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
143
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.481",
3
+ "version": "1.1.483",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",