@cqa-lib/cqa-ui 1.1.557-beta.23 → 1.1.557-beta.25
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/esm2022/lib/custom-input/custom-input.component.mjs +7 -4
- package/esm2022/lib/custom-textarea/custom-textarea.component.mjs +42 -4
- package/esm2022/lib/dialog/dialog.component.mjs +7 -2
- package/esm2022/lib/dialogs/name-prompt-modal.component.mjs +1 -1
- package/esm2022/lib/dynamic-select/dynamic-select-field.component.mjs +5 -1
- package/esm2022/lib/export-code-modal/export-code-modal.component.mjs +1 -1
- package/esm2022/lib/manage-columns-dialog/manage-columns-dialog.component.mjs +1 -1
- package/esm2022/lib/new-db-config-dialog/new-db-config-dialog.component.mjs +1 -1
- package/esm2022/lib/new-environment-dialog/new-environment-dialog.component.mjs +1 -1
- package/esm2022/lib/new-environment-variable-dialog/new-environment-variable-dialog.component.mjs +1 -1
- package/esm2022/lib/new-global-variable-dialog/new-global-variable-dialog.component.mjs +1 -1
- package/esm2022/lib/new-test-data-profile-dialog/new-test-data-profile-dialog.component.mjs +1 -1
- package/esm2022/lib/questionnaire-list/questionnaire-list.component.mjs +1 -1
- package/esm2022/lib/step-builder/advanced-variables-form/advanced-variables-form.component.mjs +1 -1
- package/esm2022/lib/step-builder/step-builder-ai-agent/step-builder-ai-agent.component.mjs +1 -1
- package/esm2022/lib/step-builder/step-builder-custom-code/step-builder-custom-code.component.mjs +1 -1
- package/esm2022/lib/step-builder/step-builder-database/step-builder-database.component.mjs +71 -17
- package/esm2022/lib/step-builder/step-builder-document/step-builder-document.component.mjs +1 -1
- package/esm2022/lib/step-builder/step-builder-document-generation-template-step/step-builder-document-generation-template-step.component.mjs +1 -1
- package/esm2022/lib/step-builder/step-builder-group/step-builder-group.component.mjs +1 -1
- package/esm2022/lib/step-builder/step-builder-loop/step-builder-loop.component.mjs +1 -1
- package/esm2022/lib/step-builder/template-variables-form/template-variables-form.component.mjs +1 -1
- package/esm2022/lib/templates/modular-table-template/dialogs/new-folder-dialog.component.mjs +1 -1
- package/esm2022/lib/test-case-details/api-edit-step/api-edit-step.component.mjs +1 -1
- package/esm2022/lib/test-case-details/condition-step/condition-step.component.mjs +1 -1
- package/esm2022/lib/test-case-details/create-step-group/create-step-group.component.mjs +1 -1
- package/esm2022/lib/test-case-details/element-popup/element-form/element-form.component.mjs +1 -1
- package/esm2022/lib/test-case-details/step-details-drawer/step-details-drawer.component.mjs +1 -1
- package/esm2022/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.mjs +1 -1
- package/esm2022/lib/test-case-details/test-data-modal/test-data-modal.component.mjs +1 -1
- package/esm2022/lib/test-suite/move-test-suite-dialog/move-test-suite-dialog.component.mjs +1 -1
- package/esm2022/lib/ui-kit.module.mjs +10 -2
- package/esm2022/lib/viewport-selector/viewport-selector.component.mjs +1 -1
- package/fesm2022/cqa-lib-cqa-ui.mjs +155 -38
- package/fesm2022/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/custom-input/custom-input.component.d.ts +2 -1
- package/lib/custom-textarea/custom-textarea.component.d.ts +8 -1
- package/lib/step-builder/step-builder-database/step-builder-database.component.d.ts +11 -0
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -10,6 +10,7 @@ export declare class CustomInputComponent implements OnChanges, ControlValueAcce
|
|
|
10
10
|
placeholder: string;
|
|
11
11
|
value: string;
|
|
12
12
|
disabled: boolean;
|
|
13
|
+
readonly: boolean;
|
|
13
14
|
errors: string[];
|
|
14
15
|
required: boolean;
|
|
15
16
|
ariaLabel: string;
|
|
@@ -42,6 +43,6 @@ export declare class CustomInputComponent implements OnChanges, ControlValueAcce
|
|
|
42
43
|
get inputStyles(): string;
|
|
43
44
|
get labelStyles(): string;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomInputComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomInputComponent, "cqa-custom-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "required": { "alias": "required"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "showCharCount": { "alias": "showCharCount"; "required": false; }; "inputInlineStyle": { "alias": "inputInlineStyle"; "required": false; }; "labelInlineStyle": { "alias": "labelInlineStyle"; "required": false; }; }, { "valueChange": "valueChange"; "blurred": "blurred"; "focused": "focused"; "enterPressed": "enterPressed"; }, never, never, false, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomInputComponent, "cqa-custom-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "required": { "alias": "required"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "showCharCount": { "alias": "showCharCount"; "required": false; }; "inputInlineStyle": { "alias": "inputInlineStyle"; "required": false; }; "labelInlineStyle": { "alias": "labelInlineStyle"; "required": false; }; }, { "valueChange": "valueChange"; "blurred": "blurred"; "focused": "focused"; "enterPressed": "enterPressed"; }, never, never, false, never>;
|
|
46
47
|
}
|
|
47
48
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
type TextareaSize = 'sm' | 'md' | 'lg';
|
|
4
|
-
export declare class CustomTextareaComponent implements OnChanges, AfterViewInit {
|
|
5
|
+
export declare class CustomTextareaComponent implements OnChanges, AfterViewInit, ControlValueAccessor {
|
|
5
6
|
label: string;
|
|
6
7
|
placeholder: string;
|
|
7
8
|
value: string;
|
|
@@ -27,6 +28,12 @@ export declare class CustomTextareaComponent implements OnChanges, AfterViewInit
|
|
|
27
28
|
textareaValue: string;
|
|
28
29
|
isFocused: boolean;
|
|
29
30
|
trixEditorId: string;
|
|
31
|
+
private onChange;
|
|
32
|
+
private onTouched;
|
|
33
|
+
writeValue(value: any): void;
|
|
34
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
35
|
+
registerOnTouched(fn: () => void): void;
|
|
36
|
+
setDisabledState(isDisabled: boolean): void;
|
|
30
37
|
ngAfterViewInit(): void;
|
|
31
38
|
onTrixInitialize(_event: Event): void;
|
|
32
39
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -76,6 +76,17 @@ export declare class StepBuilderDatabaseComponent implements OnInit, OnChanges,
|
|
|
76
76
|
defaultExpectedType: string;
|
|
77
77
|
private formSubscriptions;
|
|
78
78
|
assertionsTable?: MatTable<any>;
|
|
79
|
+
/** Options + cqa-dynamic-select configs for the assertion-row dropdowns. */
|
|
80
|
+
readonly verificationTypeOptions: SelectOption[];
|
|
81
|
+
readonly expectedTypeOptions: SelectOption[];
|
|
82
|
+
readonly booleanExpectedValueOptions: SelectOption[];
|
|
83
|
+
readonly verificationTypeSelectConfig: DynamicSelectFieldConfig;
|
|
84
|
+
readonly expectedTypeSelectConfig: DynamicSelectFieldConfig;
|
|
85
|
+
readonly booleanExpectedValueSelectConfig: DynamicSelectFieldConfig;
|
|
86
|
+
/** Returns the per-row FormGroup so cqa-dynamic-select can bind to it. */
|
|
87
|
+
getAssertionFormGroupAt(index: number): UntypedFormGroup | null;
|
|
88
|
+
/** Returns validation errors for a per-row control, in the shape cqa-custom-input expects. */
|
|
89
|
+
getAssertionFieldErrors(index: number, controlName: string): string[];
|
|
79
90
|
advancedSettingsVariables: any[];
|
|
80
91
|
advancedVariablesForm: UntypedFormArray;
|
|
81
92
|
constructor(fb: UntypedFormBuilder, cdr: ChangeDetectorRef);
|