ctt-puro 0.65.3 → 0.66.0
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/puro-careers-form/puro-careers-form.component.mjs +5 -3
- package/esm2022/lib/components/puro-contact-form/puro-contact-form.component.mjs +5 -3
- package/esm2022/lib/components/puro-events-form/puro-events-form.component.mjs +5 -3
- package/esm2022/lib/components/puro-prefix-select/index.mjs +3 -0
- package/esm2022/lib/components/puro-prefix-select/puro-prefix-select.component.mjs +83 -0
- package/esm2022/lib/components/puro-prefix-select/puro-prefix-select.interface.mjs +2 -0
- package/esm2022/lib/components/puro-projects-form/puro-projects-form.component.mjs +5 -3
- package/fesm2022/ctt-puro.mjs +91 -8
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/lib/components/puro-prefix-select/index.d.ts +2 -0
- package/lib/components/puro-prefix-select/puro-prefix-select.component.d.ts +26 -0
- package/lib/components/puro-prefix-select/puro-prefix-select.interface.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { DropdownOption } from '../../interfaces/puro-dropdown.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PuroPrefixSelectComponent implements ControlValueAccessor, OnInit {
|
|
6
|
+
options?: DropdownOption[];
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
open: boolean;
|
|
9
|
+
filtered: DropdownOption[];
|
|
10
|
+
/** Valor que se muestra en el input */
|
|
11
|
+
displayValue?: string;
|
|
12
|
+
/** Valor real del form (code) */
|
|
13
|
+
private value;
|
|
14
|
+
private onChange;
|
|
15
|
+
private onTouched;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
writeValue(value: any): void;
|
|
18
|
+
registerOnChange(fn: any): void;
|
|
19
|
+
registerOnTouched(fn: any): void;
|
|
20
|
+
onInput(ev: Event): void;
|
|
21
|
+
onFocus(): void;
|
|
22
|
+
select(item: DropdownOption): void;
|
|
23
|
+
close(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PuroPrefixSelectComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PuroPrefixSelectComponent, "lib-puro-prefix-select", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|