@cqa-lib/cqa-ui 1.1.389 → 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.
- package/esm2020/lib/code-editor/code-editor.component.mjs +72 -21
- package/esm2020/lib/error-modal/error-modal.component.mjs +14 -5
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +18 -8
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +16 -6
- package/esm2020/lib/step-builder/step-builder-custom-code/step-builder-custom-code.component.mjs +2 -2
- package/esm2020/lib/step-builder/step-builder-loop/step-builder-loop.component.mjs +3 -3
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +116 -43
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +122 -43
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/code-editor/code-editor.component.d.ts +5 -0
- package/lib/error-modal/error-modal.component.d.ts +7 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -56,6 +56,11 @@ export declare class CodeEditorComponent implements OnInit, OnChanges, OnDestroy
|
|
|
56
56
|
dispose?: () => void;
|
|
57
57
|
};
|
|
58
58
|
}): void;
|
|
59
|
+
/** Configure Monaco JS/TS language defaults to allow top-level await.
|
|
60
|
+
* Sets module target to ESNext (enables top-level await as a module) and
|
|
61
|
+
* suppresses error code 1308 ("await is only valid in async functions") which
|
|
62
|
+
* Monaco incorrectly raises when code runs in an async context on the test runner. */
|
|
63
|
+
private configureMonacoForAsyncCode;
|
|
59
64
|
private setupMarkersListener;
|
|
60
65
|
get hasValidationErrors(): boolean;
|
|
61
66
|
get hasErrors(): boolean;
|
|
@@ -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
|
}
|