[59329aa] | 1 | import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { ControlValueAccessor } from '@angular/forms';
|
---|
| 3 | import * as i0 from "@angular/core";
|
---|
| 4 | import * as i1 from "@angular/common";
|
---|
| 5 | import * as i2 from "primeng/ripple";
|
---|
| 6 | export declare const SELECTBUTTON_VALUE_ACCESSOR: any;
|
---|
| 7 | export declare class SelectButton implements ControlValueAccessor {
|
---|
| 8 | cd: ChangeDetectorRef;
|
---|
| 9 | options: any[];
|
---|
| 10 | optionLabel: string;
|
---|
| 11 | optionValue: string;
|
---|
| 12 | optionDisabled: string;
|
---|
| 13 | tabindex: number;
|
---|
| 14 | multiple: boolean;
|
---|
| 15 | style: any;
|
---|
| 16 | styleClass: string;
|
---|
| 17 | ariaLabelledBy: string;
|
---|
| 18 | disabled: boolean;
|
---|
| 19 | dataKey: string;
|
---|
| 20 | onOptionClick: EventEmitter<any>;
|
---|
| 21 | onChange: EventEmitter<any>;
|
---|
| 22 | itemTemplate: any;
|
---|
| 23 | value: any;
|
---|
| 24 | onModelChange: Function;
|
---|
| 25 | onModelTouched: Function;
|
---|
| 26 | constructor(cd: ChangeDetectorRef);
|
---|
| 27 | getOptionLabel(option: any): any;
|
---|
| 28 | getOptionValue(option: any): any;
|
---|
| 29 | isOptionDisabled(option: any): any;
|
---|
| 30 | writeValue(value: any): void;
|
---|
| 31 | registerOnChange(fn: Function): void;
|
---|
| 32 | registerOnTouched(fn: Function): void;
|
---|
| 33 | setDisabledState(val: boolean): void;
|
---|
| 34 | onItemClick(event: any, option: any, index: number): void;
|
---|
| 35 | onBlur(): void;
|
---|
| 36 | removeOption(option: any): void;
|
---|
| 37 | isSelected(option: any): boolean;
|
---|
| 38 | static ɵfac: i0.ɵɵFactoryDeclaration<SelectButton, never>;
|
---|
| 39 | static ɵcmp: i0.ɵɵComponentDeclaration<SelectButton, "p-selectButton", never, { "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionDisabled": "optionDisabled"; "tabindex": "tabindex"; "multiple": "multiple"; "style": "style"; "styleClass": "styleClass"; "ariaLabelledBy": "ariaLabelledBy"; "disabled": "disabled"; "dataKey": "dataKey"; }, { "onOptionClick": "onOptionClick"; "onChange": "onChange"; }, ["itemTemplate"], never>;
|
---|
| 40 | }
|
---|
| 41 | export declare class SelectButtonModule {
|
---|
| 42 | static ɵfac: i0.ɵɵFactoryDeclaration<SelectButtonModule, never>;
|
---|
| 43 | static ɵmod: i0.ɵɵNgModuleDeclaration<SelectButtonModule, [typeof SelectButton], [typeof i1.CommonModule, typeof i2.RippleModule], [typeof SelectButton]>;
|
---|
| 44 | static ɵinj: i0.ɵɵInjectorDeclaration<SelectButtonModule>;
|
---|
| 45 | }
|
---|