ca-components 1.7.991 → 1.7.993
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/components/ca-input/pipes/input-container-class.pipe.mjs +9 -8
- package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +9 -9
- package/esm2022/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +3 -3
- package/esm2022/lib/components/ca-input-test/input-test.component.mjs +21 -18
- package/esm2022/lib/components/ca-input-test/pipes/input-class.pipe.mjs +7 -5
- package/esm2022/lib/components/ca-input-test/pipes/input-container-class.pipe.mjs +11 -11
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.mjs +5 -4
- package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +3 -3
- package/fesm2022/ca-components.mjs +13502 -13496
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-input/pipes/input-container-class.pipe.d.ts +1 -1
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.d.ts +2 -2
- package/lib/components/ca-input-test/input-test.component.d.ts +5 -2
- package/lib/components/ca-input-test/pipes/input-class.pipe.d.ts +1 -1
- package/lib/components/ca-input-test/pipes/input-container-class.pipe.d.ts +1 -1
- package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.d.ts +1 -1
- package/lib/components/ca-input-test/pipes/label-class.pipe.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { AbstractControl } from '@angular/forms';
|
|
|
3
3
|
import { ICaInput } from '../config/ca-input.config';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputContainerClassPipe implements PipeTransform {
|
|
6
|
-
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, value: string): {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, value: string, isDisabledInput?: boolean): {
|
|
7
7
|
[key: string]: boolean | undefined | null | string;
|
|
8
8
|
};
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerClassPipe, never>;
|
|
@@ -3,9 +3,9 @@ import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
|
3
3
|
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { ICaInput } from '../ca-input/config';
|
|
5
5
|
import { InputChangeValue, InputSvgRoutes } from '../ca-input/utils';
|
|
6
|
-
import { CaInputComponent } from '../ca-input/ca-input.component';
|
|
7
6
|
import { CaInputPlaceholderIconComponent } from '../ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component';
|
|
8
7
|
import { CalendarDateTimePickerService } from '../ca-custom-datetime-pickers/services/calendar-datetime-picker.service';
|
|
8
|
+
import { InputTestComponent } from '../ca-input-test/input-test.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class CaInputDatetimePickerComponent implements AfterViewInit, ControlValueAccessor, OnDestroy {
|
|
11
11
|
superControl: NgControl;
|
|
@@ -16,7 +16,7 @@ export declare class CaInputDatetimePickerComponent implements AfterViewInit, Co
|
|
|
16
16
|
blurInputEvent: EventEmitter<boolean>;
|
|
17
17
|
caInputPlaceholderIconComponent: CaInputPlaceholderIconComponent;
|
|
18
18
|
dateTimePopover: NgbPopover;
|
|
19
|
-
caInputComponent:
|
|
19
|
+
caInputComponent: InputTestComponent;
|
|
20
20
|
inputFormControl: FormControl;
|
|
21
21
|
showDateInput: boolean;
|
|
22
22
|
dateTimeInputDate: Date;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { ICaInput } from './config';
|
|
4
4
|
import { InputChangeValue, InputSvgRoutes } from './utils';
|
|
@@ -7,6 +7,7 @@ import { InputCommandsType, InputStringEnum } from './enums';
|
|
|
7
7
|
import { DropdownTemplateTypeEnum } from '../ca-input-dropdown/enums';
|
|
8
8
|
import { ThousandSeparatorPipe } from '../../pipes';
|
|
9
9
|
import { NgxMaskService } from 'ngx-mask';
|
|
10
|
+
import { CaInputPlaceholderIconComponent } from './components/ca-input-placeholder-icon/ca-input-placeholder-icon.component';
|
|
10
11
|
import { EventInputManager } from './base-classes/ca-input-event-manager';
|
|
11
12
|
import { OptionModel } from '../ca-input-dropdown/models';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
@@ -81,7 +82,9 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
|
|
|
81
82
|
_inputConfig: ICaInput;
|
|
82
83
|
private destroy$;
|
|
83
84
|
inputSvgRoutes: typeof InputSvgRoutes;
|
|
85
|
+
dateTimePopover: TemplateRef<any>;
|
|
84
86
|
inputElement: ElementRef;
|
|
87
|
+
caInputPlaceholderIconComponent: CaInputPlaceholderIconComponent;
|
|
85
88
|
parentControl: AbstractControl<any, any> | null;
|
|
86
89
|
selectedDropdownLabelColor: LabelColor | null;
|
|
87
90
|
template: string;
|
|
@@ -127,6 +130,6 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
|
|
|
127
130
|
handleKeyDown(event: KeyboardEvent): void;
|
|
128
131
|
ngOnDestroy(): void;
|
|
129
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
130
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "parentControl": { "alias": "parentControl"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "dateTimePopover": { "alias": "dateTimePopover"; "required": false; }; "parentControl": { "alias": "parentControl"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
|
|
131
134
|
}
|
|
132
135
|
export {};
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class InputClassPipe implements PipeTransform {
|
|
6
6
|
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, input: {
|
|
7
7
|
value: string;
|
|
8
|
-
}, isVisibleCommands: boolean, value: string | number, superControlInvalid: boolean | undefined, superControlTouched: boolean | undefined, isDropdownToggler: boolean, isEditInput: boolean, template: string): {
|
|
8
|
+
}, isVisibleCommands: boolean, value: string | number, superControlInvalid: boolean | undefined, superControlTouched: boolean | undefined, isDropdownToggler: boolean, isEditInput: boolean, template: string, isDisabledInput?: boolean): {
|
|
9
9
|
[key: string]: boolean | undefined | number | null | string;
|
|
10
10
|
};
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputClassPipe, never>;
|
|
@@ -3,7 +3,7 @@ import { AbstractControl } from '@angular/forms';
|
|
|
3
3
|
import { ICaInput } from '../config/ca-input.config';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputContainerClassPipe implements PipeTransform {
|
|
6
|
-
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput,
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, controlValue: string, controlDisabled?: boolean): {
|
|
7
7
|
[key: string]: boolean | undefined | null | string;
|
|
8
8
|
};
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerClassPipe, never>;
|
|
@@ -3,7 +3,7 @@ import { ICaInput } from '../config';
|
|
|
3
3
|
import { AbstractControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputPlaceholderIconRightClassPipe implements PipeTransform {
|
|
6
|
-
transform(isFocusInput: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: ICaInput, isTouchedInput: boolean,
|
|
6
|
+
transform(isFocusInput: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: ICaInput, isTouchedInput: boolean, isDisabledInput?: boolean): {
|
|
7
7
|
[key: string]: boolean | undefined;
|
|
8
8
|
};
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconRightClassPipe, never>;
|
|
@@ -3,7 +3,7 @@ import { ICaInput } from '../config/ca-input.config';
|
|
|
3
3
|
import { AbstractControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LabelClassPipe implements PipeTransform {
|
|
6
|
-
transform(value: string | number, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, superControlInvalid?: boolean, superControlTouched?: boolean, control?: AbstractControl<any, any> | null): {
|
|
6
|
+
transform(value: string | number, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, superControlInvalid?: boolean, superControlTouched?: boolean, control?: AbstractControl<any, any> | null, isDisabledInput?: boolean): {
|
|
7
7
|
[key: string]: boolean | null | undefined | string | number;
|
|
8
8
|
};
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelClassPipe, never>;
|