ca-components 1.7.992 → 1.7.994
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-filters/components/ca-location-filter/ca-location-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-input/pipes/input-container-class.pipe.mjs +9 -8
- package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +33 -2
- package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +9 -9
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-parking/ca-input-dropdown-parking.component.mjs +16 -4
- package/esm2022/lib/components/ca-input-dropdown/models/input-dropdown-option.model.mjs +1 -1
- 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 +9 -4
- 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/esm2022/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.mjs +13 -13
- package/esm2022/lib/enums/shared-string.enum.mjs +2 -1
- package/fesm2022/ca-components.mjs +13544 -13500
- 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-address-dropdown/ca-input-address-dropdown.component.d.ts +4 -1
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.d.ts +2 -2
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-parking/ca-input-dropdown-parking.component.d.ts +3 -0
- package/lib/components/ca-input-dropdown/models/input-dropdown-option.model.d.ts +1 -1
- package/lib/components/ca-input-test/input-test.component.d.ts +5 -2
- 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/lib/enums/shared-string.enum.d.ts +2 -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>;
|
|
@@ -18,6 +18,7 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
|
|
|
18
18
|
set activeAddress(value: AddressList | null);
|
|
19
19
|
set receivedAddressData(value: AddressData | null);
|
|
20
20
|
set receivedAddressList(value: AddressListResponse | null);
|
|
21
|
+
set parkingList(value: any[]);
|
|
21
22
|
sentAddressValue: EventEmitter<string>;
|
|
22
23
|
inputConfig: ICaInput;
|
|
23
24
|
commandHandler: CommandsHandler;
|
|
@@ -43,6 +44,7 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
|
|
|
43
44
|
private requestSent;
|
|
44
45
|
_receivedAddressList: AddressListResponse | null;
|
|
45
46
|
_activeAddress: AddressList | null;
|
|
47
|
+
_parkingList: any;
|
|
46
48
|
private destroy$;
|
|
47
49
|
addressForm: UntypedFormGroup;
|
|
48
50
|
constructor(superControl: NgControl, ref: ChangeDetectorRef);
|
|
@@ -65,7 +67,8 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
|
|
|
65
67
|
onIncorrectInput(event: boolean): void;
|
|
66
68
|
onClearInputEvent(): void;
|
|
67
69
|
private checkAddressValidation;
|
|
70
|
+
private filterParkingByCity;
|
|
68
71
|
ngOnDestroy(): void;
|
|
69
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputAddressDropdownComponent, [{ self: true; }, null]>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputAddressDropdownComponent, "app-ca-input-address-dropdown", never, { "placeholderType": { "alias": "placeholderType"; "required": false; }; "activeAddress": { "alias": "activeAddress"; "required": false; }; "receivedAddressData": { "alias": "receivedAddressData"; "required": false; }; "receivedAddressList": { "alias": "receivedAddressList"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "commandHandler": { "alias": "commandHandler"; "required": false; }; "isRouting": { "alias": "isRouting"; "required": false; }; "closedBorder": { "alias": "closedBorder"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "hideEmptyLoaded": { "alias": "hideEmptyLoaded"; "required": false; }; "addresList": { "alias": "addresList"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, { "sentAddressValue": "sentAddressValue"; "selectedAddress": "selectedAddress"; "sentAddressData": "sentAddressData"; "closeDropdown": "closeDropdown"; "commandEvent": "commandEvent"; "changeFlag": "changeFlag"; "incorrectEvent": "incorrectEvent"; }, never, never, true, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputAddressDropdownComponent, "app-ca-input-address-dropdown", never, { "placeholderType": { "alias": "placeholderType"; "required": false; }; "activeAddress": { "alias": "activeAddress"; "required": false; }; "receivedAddressData": { "alias": "receivedAddressData"; "required": false; }; "receivedAddressList": { "alias": "receivedAddressList"; "required": false; }; "parkingList": { "alias": "parkingList"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "commandHandler": { "alias": "commandHandler"; "required": false; }; "isRouting": { "alias": "isRouting"; "required": false; }; "closedBorder": { "alias": "closedBorder"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "hideEmptyLoaded": { "alias": "hideEmptyLoaded"; "required": false; }; "addresList": { "alias": "addresList"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, { "sentAddressValue": "sentAddressValue"; "selectedAddress": "selectedAddress"; "sentAddressData": "sentAddressData"; "closeDropdown": "closeDropdown"; "commandEvent": "commandEvent"; "changeFlag": "changeFlag"; "incorrectEvent": "incorrectEvent"; }, never, never, true, never>;
|
|
71
74
|
}
|
|
@@ -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;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { ICaInput } from '../../../ca-input/config';
|
|
4
4
|
import { OptionModel } from '../../models/input-dropdown-option.model';
|
|
5
|
+
import { eColor, ePosition } from '../../../../enums';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class CaInputDropdownParkingComponent {
|
|
7
8
|
options: OptionModel[];
|
|
@@ -9,6 +10,8 @@ export declare class CaInputDropdownParkingComponent {
|
|
|
9
10
|
getSuperControl: AbstractControl<any, any> | null;
|
|
10
11
|
inputConfig: ICaInput;
|
|
11
12
|
onActiveItem: EventEmitter<OptionModel>;
|
|
13
|
+
eColor: typeof eColor;
|
|
14
|
+
ePosition: typeof ePosition;
|
|
12
15
|
constructor();
|
|
13
16
|
identity(index: number, item: OptionModel): number | undefined;
|
|
14
17
|
onActiveItemEmit(option: OptionModel): void;
|
|
@@ -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 {};
|
|
@@ -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>;
|