ca-components 1.1.996 → 1.1.998
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/config/ca-input.config.mjs +1 -1
- package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +8 -6
- package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +25 -29
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +11 -9
- package/fesm2022/ca-components.mjs +88 -89
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-input/config/ca-input.config.d.ts +1 -0
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.d.ts +6 -4
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef, AfterContentInit } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { UntypedFormGroup, NgControl, ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import { ICaInput } from '../ca-input/config/ca-input.config';
|
|
@@ -10,13 +10,14 @@ import { CommandsHandler } from './models/commands-handler.model';
|
|
|
10
10
|
import { InputAddressCommandsString } from './models/input-address-commands-string.model';
|
|
11
11
|
import { SentAddressData } from './models/sent-address-data.model';
|
|
12
12
|
import { AddressListResponse } from '../../models/address-list-response.model';
|
|
13
|
+
import { AddressEntity } from '../../models/address-entity.model';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class CaInputAddressDropdownComponent implements OnInit, ControlValueAccessor, OnDestroy {
|
|
15
|
+
export declare class CaInputAddressDropdownComponent implements OnInit, ControlValueAccessor, OnDestroy, AfterContentInit {
|
|
15
16
|
superControl: NgControl;
|
|
16
17
|
private ref;
|
|
17
18
|
inputDropdown: CaInputDropdownComponent;
|
|
18
19
|
set placeholderType(value: string);
|
|
19
|
-
set activeAddress(value:
|
|
20
|
+
set activeAddress(value: AddressEntity | null);
|
|
20
21
|
set receivedAddressData(value: AddressData | null);
|
|
21
22
|
set receivedAddressList(value: AddressListResponse | null);
|
|
22
23
|
sentAddressValue: EventEmitter<string>;
|
|
@@ -42,10 +43,11 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
|
|
|
42
43
|
stopType: string;
|
|
43
44
|
private requestSent;
|
|
44
45
|
_receivedAddressList: AddressListResponse | null;
|
|
45
|
-
_activeAddress:
|
|
46
|
+
_activeAddress: AddressEntity | null;
|
|
46
47
|
private destroy$;
|
|
47
48
|
addressForm: UntypedFormGroup;
|
|
48
49
|
constructor(superControl: NgControl, ref: ChangeDetectorRef);
|
|
50
|
+
ngAfterContentInit(): void;
|
|
49
51
|
writeValue(_: any): void;
|
|
50
52
|
registerOnChange(fn: any): void;
|
|
51
53
|
onChange(_: any): void;
|
|
@@ -108,7 +108,7 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
108
108
|
keyCode: number;
|
|
109
109
|
data: any;
|
|
110
110
|
}): void;
|
|
111
|
-
setDropdownValue(option: OptionModel): void;
|
|
111
|
+
setDropdownValue(option: OptionModel, optionValue?: string, label?: string): void;
|
|
112
112
|
onMultiselectSelect(option: OptionModel): void;
|
|
113
113
|
removeMultiSelectItem(index: number): void;
|
|
114
114
|
deleteAllMultiSelectItems(currentLabel?: string): void;
|