@cqa-lib/cqa-ui 1.1.244 → 1.1.245

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,6 +18,12 @@ export declare class StepBuilderCustomCodeComponent implements OnInit, OnChanges
18
18
  template: ActionTemplate | null;
19
19
  /** Function to handle variable processing or custom logic. Can be passed from parent component. */
20
20
  setTemplateVariables: (variables: ActionTemplate) => any;
21
+ /** Initial values for editing mode */
22
+ initialCode?: string;
23
+ initialLanguage?: string;
24
+ initialMetadata?: string;
25
+ initialDescription?: string;
26
+ isEditMode: boolean;
21
27
  /** Emit when step is created */
22
28
  createStep: EventEmitter<CustomCodeFormData>;
23
29
  /** Emit when cancelled */
@@ -28,6 +34,7 @@ export declare class StepBuilderCustomCodeComponent implements OnInit, OnChanges
28
34
  constructor(fb: FormBuilder);
29
35
  ngOnInit(): void;
30
36
  ngOnChanges(changes: SimpleChanges): void;
37
+ private initializeFormWithValues;
31
38
  private loadTemplateVariables;
32
39
  private buildVariablesForm;
33
40
  getSelectConfig(variable: any): DynamicSelectFieldConfig;
@@ -37,5 +44,5 @@ export declare class StepBuilderCustomCodeComponent implements OnInit, OnChanges
37
44
  onCancel(): void;
38
45
  onCreateStep(): void;
39
46
  static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderCustomCodeComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderCustomCodeComponent, "cqa-step-builder-custom-code", never, { "languageOptions": "languageOptions"; "template": "template"; "setTemplateVariables": "setTemplateVariables"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderCustomCodeComponent, "cqa-step-builder-custom-code", never, { "languageOptions": "languageOptions"; "template": "template"; "setTemplateVariables": "setTemplateVariables"; "initialCode": "initialCode"; "initialLanguage": "initialLanguage"; "initialMetadata": "initialMetadata"; "initialDescription": "initialDescription"; "isEditMode": "isEditMode"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
41
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.244",
3
+ "version": "1.1.245",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",