ca-components 1.1.994 → 1.1.995
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-address-dropdown/ca-input-address-dropdown.component.mjs +13 -7
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +21 -13
- package/fesm2022/ca-components.mjs +24 -13
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.d.ts +4 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
3
4
|
import { UntypedFormGroup, NgControl, ControlValueAccessor } from '@angular/forms';
|
|
4
5
|
import { ICaInput } from '../ca-input/config/ca-input.config';
|
|
5
6
|
import { CaInputDropdownComponent } from '../ca-input-dropdown/ca-input-dropdown.component';
|
|
@@ -50,6 +51,9 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
|
|
|
50
51
|
onChange(_: any): void;
|
|
51
52
|
registerOnTouched(_: any): void;
|
|
52
53
|
ngOnInit(): void;
|
|
54
|
+
private observableInputSearch;
|
|
55
|
+
observableInputSearch$: Observable<string>;
|
|
56
|
+
handleSearchInput(text: string): void;
|
|
53
57
|
initChangesListener(): void;
|
|
54
58
|
get getSuperControl(): FormControl;
|
|
55
59
|
onCloseDropdown(event: boolean): void;
|
|
@@ -9,6 +9,7 @@ import { ImageBase64Service } from '../../services/image-base64.service';
|
|
|
9
9
|
import { InputDropdownSvgRoutes } from './utils/svg-routes/input-dropdown-svg-routes';
|
|
10
10
|
import { DropdownTemplateTypeEnum } from './enums';
|
|
11
11
|
import { InputTestComponent } from '../ca-input/input-test/input-test.component';
|
|
12
|
+
import { EventInputManager } from '../ca-input/base-classes/ca-input-event-manager';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class CaInputDropdownComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, AfterViewInit {
|
|
14
15
|
superControl: NgControl;
|
|
@@ -24,7 +25,6 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
24
25
|
dropDownIsOpen: boolean;
|
|
25
26
|
_template: string;
|
|
26
27
|
_canAddNew: boolean;
|
|
27
|
-
searchText: string;
|
|
28
28
|
set template(value: string);
|
|
29
29
|
multiselectTemplate: string;
|
|
30
30
|
inputConfig: ICaInput;
|
|
@@ -59,6 +59,8 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
59
59
|
paginationEvent: EventEmitter<number>;
|
|
60
60
|
activeGroupEvent: EventEmitter<OptionModel>;
|
|
61
61
|
clearInputEvent: EventEmitter<boolean>;
|
|
62
|
+
searchInputEvent: EventEmitter<string>;
|
|
63
|
+
searchInputText: EventInputManager<string>;
|
|
62
64
|
originalOptions: OptionModel[];
|
|
63
65
|
paginationNumber: number;
|
|
64
66
|
multiselectItems: OptionModel[];
|
|
@@ -119,5 +121,5 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
119
121
|
private dropdownNavigation;
|
|
120
122
|
ngOnDestroy(): void;
|
|
121
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownComponent, [{ self: true; }, null, null, null]>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownComponent, "app-ca-input-dropdown", never, { "label": { "alias": "label"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "template": { "alias": "template"; "required": false; }; "multiselectTemplate": { "alias": "multiselectTemplate"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "canOpenModal": { "alias": "canOpenModal"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "activeItemColor": { "alias": "activeItemColor"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "options": { "alias": "options"; "required": false; }; "preloadMultiselectItems": { "alias": "preloadMultiselectItems"; "required": false; }; "isDetailsPages": { "alias": "isDetailsPages"; "required": false; }; "isIncorrectValue": { "alias": "isIncorrectValue"; "required": false; }; "isAddressDropdown": { "alias": "isAddressDropdown"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "selectedItemColor": "selectedItemColor"; "selectedLabelMode": "selectedLabelMode"; "closeDropdown": "closeDropdown"; "saveItem": "saveItem"; "incorrectEvent": "incorrectEvent"; "placeholderIconEvent": "placeholderIconEvent"; "paginationEvent": "pagination"; "activeGroupEvent": "activeGroup"; "clearInputEvent": "clearInputEvent"; }, never, never, true, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownComponent, "app-ca-input-dropdown", never, { "label": { "alias": "label"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "template": { "alias": "template"; "required": false; }; "multiselectTemplate": { "alias": "multiselectTemplate"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "canOpenModal": { "alias": "canOpenModal"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "activeItemColor": { "alias": "activeItemColor"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "options": { "alias": "options"; "required": false; }; "preloadMultiselectItems": { "alias": "preloadMultiselectItems"; "required": false; }; "isDetailsPages": { "alias": "isDetailsPages"; "required": false; }; "isIncorrectValue": { "alias": "isIncorrectValue"; "required": false; }; "isAddressDropdown": { "alias": "isAddressDropdown"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "selectedItemColor": "selectedItemColor"; "selectedLabelMode": "selectedLabelMode"; "closeDropdown": "closeDropdown"; "saveItem": "saveItem"; "incorrectEvent": "incorrectEvent"; "placeholderIconEvent": "placeholderIconEvent"; "paginationEvent": "pagination"; "activeGroupEvent": "activeGroup"; "clearInputEvent": "clearInputEvent"; "searchInputEvent": "searchInputEvent"; }, never, never, true, never>;
|
|
123
125
|
}
|