@cqa-lib/cqa-ui 1.1.230 → 1.1.233

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.
@@ -45,6 +45,8 @@ export declare class AddPrerequisiteCasesSectionComponent {
45
45
  addTriggerText: string;
46
46
  /** When true, hide Add Prerequisite button even if rows are empty (e.g. when collapsing after update with existing prerequisites) */
47
47
  hideAddPrerequisite: boolean;
48
+ /** When provided, controls Update button disabled state. Use for dirty-state validation (enable when form changed). When undefined, falls back to !allRowsHaveValues(). */
49
+ updateDisabled: boolean | undefined;
48
50
  /** Validation message shown when Add Another/Update are disabled (not all rows have values) */
49
51
  selectFirstValidationMessage: string;
50
52
  /** Optional custom template for the select slot. Use ng-template #selectBody with let-row, let-index, let-form, let-config. */
@@ -88,9 +90,11 @@ export declare class AddPrerequisiteCasesSectionComponent {
88
90
  }, index: number): void;
89
91
  /** True when every row has a non-empty value (no placeholders) */
90
92
  allRowsHaveValues(): boolean;
93
+ /** Computed disabled state for Update button. Uses updateDisabled input if provided, else falls back to !allRowsHaveValues(). */
94
+ isUpdateDisabled(): boolean;
91
95
  /** Emits all current prerequisite selections (key + value) in row order */
92
96
  private emitAllPrerequisites;
93
97
  getConfig(index: number): DynamicSelectFieldConfig;
94
98
  static ɵfac: i0.ɵɵFactoryDeclaration<AddPrerequisiteCasesSectionComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<AddPrerequisiteCasesSectionComponent, "cqa-add-prerequisite-cases-section", never, { "expanded": "expanded"; "form": "form"; "rows": "rows"; "options": "options"; "getSelectConfig": "getSelectConfig"; "label": "label"; "infoTooltip": "infoTooltip"; "addAnotherText": "addAnotherText"; "updateText": "updateText"; "cancelText": "cancelText"; "addTriggerText": "addTriggerText"; "hideAddPrerequisite": "hideAddPrerequisite"; "selectFirstValidationMessage": "selectFirstValidationMessage"; }, { "expandedChange": "expandedChange"; "addRow": "addRow"; "removeRow": "removeRow"; "rowsReordered": "rowsReordered"; "update": "update"; "cancel": "cancel"; "selectionChange": "selectionChange"; "prerequisitesChange": "prerequisitesChange"; }, ["selectBodyTpl"], never>;
99
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddPrerequisiteCasesSectionComponent, "cqa-add-prerequisite-cases-section", never, { "expanded": "expanded"; "form": "form"; "rows": "rows"; "options": "options"; "getSelectConfig": "getSelectConfig"; "label": "label"; "infoTooltip": "infoTooltip"; "addAnotherText": "addAnotherText"; "updateText": "updateText"; "cancelText": "cancelText"; "addTriggerText": "addTriggerText"; "hideAddPrerequisite": "hideAddPrerequisite"; "updateDisabled": "updateDisabled"; "selectFirstValidationMessage": "selectFirstValidationMessage"; }, { "expandedChange": "expandedChange"; "addRow": "addRow"; "removeRow": "removeRow"; "rowsReordered": "rowsReordered"; "update": "update"; "cancel": "cancel"; "selectionChange": "selectionChange"; "prerequisitesChange": "prerequisitesChange"; }, ["selectBodyTpl"], never>;
96
100
  }
@@ -37,6 +37,8 @@ export declare class DeleteStepsComponent {
37
37
  getStepImage(step: TestCaseStepConfig): string | null;
38
38
  /** Check if step has an image */
39
39
  hasStepImage(step: TestCaseStepConfig): boolean;
40
+ /** Get step number from step data, falling back to index + 1 */
41
+ getStepNumber(step: TestCaseStepConfig, index: number): number | string;
40
42
  static ɵfac: i0.ɵɵFactoryDeclaration<DeleteStepsComponent, [{ optional: true; }]>;
41
43
  static ɵcmp: i0.ɵɵComponentDeclaration<DeleteStepsComponent, "cqa-delete-steps", never, {}, { "confirmDelete": "confirmDelete"; "cancelled": "cancelled"; }, never, never>;
42
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.230",
3
+ "version": "1.1.233",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",