@cqa-lib/cqa-ui 1.1.390 → 1.1.391

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.
@@ -8,6 +8,8 @@ export interface ErrorModalButton {
8
8
  action: string;
9
9
  btnSize?: 'sm' | 'md' | 'lg';
10
10
  fullWidth?: boolean;
11
+ /** When true, button is disabled and does not emit click */
12
+ disabled?: boolean;
11
13
  }
12
14
  export declare class ErrorModalComponent {
13
15
  isOpen: boolean;
@@ -20,6 +22,10 @@ export declare class ErrorModalComponent {
20
22
  appTime: string;
21
23
  toolTime: string;
22
24
  buttons: ErrorModalButton[];
25
+ /** When true, shows a loading badge instead of buttons (e.g. while waiting for async completion) */
26
+ showLoading: boolean;
27
+ /** Inline styles for the loading badge (e.g. min-height to match button). Pass from parent for reusability. */
28
+ loadingBadgeInlineStyles?: string;
23
29
  buttonClick: EventEmitter<string>;
24
30
  closeModal: EventEmitter<void>;
25
31
  onBackdropClick(event: MouseEvent): void;
@@ -31,5 +37,5 @@ export declare class ErrorModalComponent {
31
37
  getNonTextButtons(): ErrorModalButton[];
32
38
  getTextButtons(): ErrorModalButton[];
33
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorModalComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ErrorModalComponent, "cqa-error-modal", never, { "isOpen": "isOpen"; "title": "title"; "instructionalMessage": "instructionalMessage"; "errorMessage": "errorMessage"; "totalSteps": "totalSteps"; "completedSteps": "completedSteps"; "totalTime": "totalTime"; "appTime": "appTime"; "toolTime": "toolTime"; "buttons": "buttons"; }, { "buttonClick": "buttonClick"; "closeModal": "closeModal"; }, never, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ErrorModalComponent, "cqa-error-modal", never, { "isOpen": "isOpen"; "title": "title"; "instructionalMessage": "instructionalMessage"; "errorMessage": "errorMessage"; "totalSteps": "totalSteps"; "completedSteps": "completedSteps"; "totalTime": "totalTime"; "appTime": "appTime"; "toolTime": "toolTime"; "buttons": "buttons"; "showLoading": "showLoading"; "loadingBadgeInlineStyles": "loadingBadgeInlineStyles"; }, { "buttonClick": "buttonClick"; "closeModal": "closeModal"; }, never, never>;
35
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.390",
3
+ "version": "1.1.391",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",