@cqa-lib/cqa-ui 1.1.328 → 1.1.329

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.
@@ -18,7 +18,10 @@ export interface TemplateVariable {
18
18
  label: string;
19
19
  value: any;
20
20
  type?: string;
21
- options?: string[];
21
+ options?: {
22
+ value: string;
23
+ label: string;
24
+ }[];
22
25
  dataType?: 'plain-text' | 'parameter' | 'runtime' | 'environment';
23
26
  rawValue?: string;
24
27
  selectedEnvironment?: string;
@@ -1,8 +1,10 @@
1
1
  import { EventEmitter, OnInit, ElementRef } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
2
3
  import { AiVerifyStepConfig, TestCaseStepConfig } from '../test-case-step.models';
3
4
  import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class TestCaseAiVerifyStepComponent implements OnInit {
7
+ private readonly sanitizer;
6
8
  config: AiVerifyStepConfig;
7
9
  stepNumber: number | string;
8
10
  index?: number;
@@ -26,7 +28,7 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
26
28
  moreOptions: EventEmitter<void>;
27
29
  viewDetails: EventEmitter<ViewDetailsPayload>;
28
30
  selectionChange: EventEmitter<boolean>;
29
- constructor();
31
+ constructor(sanitizer: DomSanitizer);
30
32
  ngOnInit(): void;
31
33
  onEdit(): void;
32
34
  onLink(): void;
@@ -35,6 +37,10 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
35
37
  onMoreOptions(): void;
36
38
  onViewDetails(event?: MouseEvent): void;
37
39
  onSelectionChange(checked: boolean): void;
40
+ /**
41
+ * Get sanitized HTML for instructions to preserve data-key and data-event-key attributes
42
+ */
43
+ getSanitizedInstructions(): SafeHtml;
38
44
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseAiVerifyStepComponent, never>;
39
45
  static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiVerifyStepComponent, "cqa-test-case-ai-verify-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
40
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.328",
3
+ "version": "1.1.329",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",