@cqa-lib/cqa-ui 1.1.555-beta.13 → 1.1.555-beta.17

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.
@@ -12,7 +12,7 @@ export declare class AssignEnvironmentsDialogComponent implements OnInit {
12
12
  defaultSourceEnvId?: number;
13
13
  readonly selected: Set<number>;
14
14
  readonly sourceForm: FormGroup<{
15
- sourceEnvId: FormControl<any>;
15
+ sourceEnvId: FormControl<number>;
16
16
  }>;
17
17
  sourceConfig: DynamicSelectFieldConfig;
18
18
  sourceError: string | null;
@@ -1,8 +1,9 @@
1
1
  import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
2
3
  import * as i0 from "@angular/core";
3
4
  type InputType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
4
5
  type InputSize = 'sm' | 'md' | 'lg';
5
- export declare class CustomInputComponent implements OnChanges {
6
+ export declare class CustomInputComponent implements OnChanges, ControlValueAccessor {
6
7
  inputId?: string;
7
8
  label: string;
8
9
  type: InputType;
@@ -24,7 +25,13 @@ export declare class CustomInputComponent implements OnChanges {
24
25
  enterPressed: EventEmitter<string>;
25
26
  inputValue: string;
26
27
  isFocused: boolean;
28
+ private onChange;
29
+ private onTouched;
27
30
  ngOnChanges(changes: SimpleChanges): void;
31
+ writeValue(value: any): void;
32
+ registerOnChange(fn: (value: string) => void): void;
33
+ registerOnTouched(fn: () => void): void;
34
+ setDisabledState(isDisabled: boolean): void;
28
35
  get hasError(): boolean;
29
36
  get inputSizeClasses(): string;
30
37
  get labelSizeClasses(): string;
@@ -19,6 +19,7 @@ export interface SelectOption {
19
19
  export interface DynamicSelectFieldConfig {
20
20
  key: string;
21
21
  label?: string;
22
+ required?: boolean;
22
23
  placeholder?: string;
23
24
  displayLabelAsInnerHtml?: boolean;
24
25
  disabled?: boolean;
@@ -15,7 +15,7 @@ export declare class NewTestDataProfileDialogComponent implements OnInit {
15
15
  readWriteMode: TdpDialogPermission;
16
16
  columns: string[];
17
17
  readonly envForm: FormGroup<{
18
- environmentIds: FormControl<any[]>;
18
+ environmentIds: FormControl<number[]>;
19
19
  }>;
20
20
  envConfig: DynamicSelectFieldConfig;
21
21
  nameError: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.555-beta.13",
3
+ "version": "1.1.555-beta.17",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",