source: trip-planner-front/node_modules/primeng/dropdown/dropdown.d.ts@ e29cc2e

Last change on this file since e29cc2e was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 9.6 KB
Line 
1import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
2import { ElementRef, OnInit, AfterViewInit, AfterContentInit, AfterViewChecked, OnDestroy, Renderer2, EventEmitter, QueryList, TemplateRef, ChangeDetectorRef, NgZone } from '@angular/core';
3import { AnimationEvent } from '@angular/animations';
4import { OverlayService, PrimeNGConfig, SelectItem } from 'primeng/api';
5import { FilterService } from 'primeng/api';
6import { ControlValueAccessor } from '@angular/forms';
7import * as i0 from "@angular/core";
8import * as i1 from "@angular/common";
9import * as i2 from "primeng/api";
10import * as i3 from "@angular/cdk/scrolling";
11import * as i4 from "primeng/tooltip";
12import * as i5 from "primeng/ripple";
13export declare const DROPDOWN_VALUE_ACCESSOR: any;
14export declare class DropdownItem {
15 option: SelectItem;
16 selected: boolean;
17 label: string;
18 disabled: boolean;
19 visible: boolean;
20 itemSize: number;
21 template: TemplateRef<any>;
22 onClick: EventEmitter<any>;
23 onOptionClick(event: Event): void;
24 static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItem, never>;
25 static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItem, "p-dropdownItem", never, { "option": "option"; "selected": "selected"; "label": "label"; "disabled": "disabled"; "visible": "visible"; "itemSize": "itemSize"; "template": "template"; }, { "onClick": "onClick"; }, never, never>;
26}
27export declare class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterViewChecked, OnDestroy, ControlValueAccessor {
28 el: ElementRef;
29 renderer: Renderer2;
30 cd: ChangeDetectorRef;
31 zone: NgZone;
32 filterService: FilterService;
33 config: PrimeNGConfig;
34 overlayService: OverlayService;
35 scrollHeight: string;
36 filter: boolean;
37 name: string;
38 style: any;
39 panelStyle: any;
40 styleClass: string;
41 panelStyleClass: string;
42 readonly: boolean;
43 required: boolean;
44 editable: boolean;
45 appendTo: any;
46 tabindex: number;
47 placeholder: string;
48 filterPlaceholder: string;
49 filterLocale: string;
50 inputId: string;
51 selectId: string;
52 dataKey: string;
53 filterBy: string;
54 autofocus: boolean;
55 resetFilterOnHide: boolean;
56 dropdownIcon: string;
57 optionLabel: string;
58 optionValue: string;
59 optionDisabled: string;
60 optionGroupLabel: string;
61 optionGroupChildren: string;
62 autoDisplayFirst: boolean;
63 group: boolean;
64 showClear: boolean;
65 emptyFilterMessage: string;
66 emptyMessage: string;
67 virtualScroll: boolean;
68 itemSize: number;
69 autoZIndex: boolean;
70 baseZIndex: number;
71 showTransitionOptions: string;
72 hideTransitionOptions: string;
73 ariaFilterLabel: string;
74 ariaLabelledBy: string;
75 filterMatchMode: string;
76 maxlength: number;
77 tooltip: string;
78 tooltipPosition: string;
79 tooltipPositionStyle: string;
80 tooltipStyleClass: string;
81 autofocusFilter: boolean;
82 onChange: EventEmitter<any>;
83 onFilter: EventEmitter<any>;
84 onFocus: EventEmitter<any>;
85 onBlur: EventEmitter<any>;
86 onClick: EventEmitter<any>;
87 onShow: EventEmitter<any>;
88 onHide: EventEmitter<any>;
89 onClear: EventEmitter<any>;
90 containerViewChild: ElementRef;
91 filterViewChild: ElementRef;
92 accessibleViewChild: ElementRef;
93 viewPort: CdkVirtualScrollViewport;
94 editableInputViewChild: ElementRef;
95 templates: QueryList<any>;
96 private _disabled;
97 get disabled(): boolean;
98 set disabled(_disabled: boolean);
99 overlay: HTMLDivElement;
100 itemsWrapper: HTMLDivElement;
101 itemTemplate: TemplateRef<any>;
102 groupTemplate: TemplateRef<any>;
103 selectedItemTemplate: TemplateRef<any>;
104 headerTemplate: TemplateRef<any>;
105 footerTemplate: TemplateRef<any>;
106 emptyFilterTemplate: TemplateRef<any>;
107 emptyTemplate: TemplateRef<any>;
108 selectedOption: any;
109 _options: any[];
110 value: any;
111 onModelChange: Function;
112 onModelTouched: Function;
113 optionsToDisplay: any[];
114 hover: boolean;
115 focused: boolean;
116 overlayVisible: boolean;
117 documentClickListener: any;
118 scrollHandler: any;
119 optionsChanged: boolean;
120 panel: HTMLDivElement;
121 dimensionsUpdated: boolean;
122 hoveredItem: any;
123 selectedOptionUpdated: boolean;
124 _filterValue: string;
125 searchValue: string;
126 searchIndex: number;
127 searchTimeout: any;
128 previousSearchChar: string;
129 currentSearchChar: string;
130 documentResizeListener: any;
131 virtualAutoScrolled: boolean;
132 virtualScrollSelectedIndex: number;
133 viewPortOffsetTop: number;
134 preventModelTouched: boolean;
135 id: string;
136 labelId: string;
137 listId: string;
138 constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, filterService: FilterService, config: PrimeNGConfig, overlayService: OverlayService);
139 ngAfterContentInit(): void;
140 ngOnInit(): void;
141 get options(): any[];
142 set options(val: any[]);
143 get filterValue(): string;
144 set filterValue(val: string);
145 ngAfterViewInit(): void;
146 get label(): string;
147 get emptyMessageLabel(): string;
148 get emptyFilterMessageLabel(): string;
149 get filled(): any;
150 updateEditableLabel(): void;
151 getOptionLabel(option: any): any;
152 getOptionValue(option: any): any;
153 isOptionDisabled(option: any): any;
154 getOptionGroupLabel(optionGroup: any): any;
155 getOptionGroupChildren(optionGroup: any): any;
156 onItemClick(event: any): void;
157 selectItem(event: any, option: any): void;
158 ngAfterViewChecked(): void;
159 writeValue(value: any): void;
160 resetFilter(): void;
161 updateSelectedOption(val: any): void;
162 registerOnChange(fn: Function): void;
163 registerOnTouched(fn: Function): void;
164 setDisabledState(val: boolean): void;
165 onMouseclick(event: any): void;
166 onOverlayClick(event: any): void;
167 isInputClick(event: any): boolean;
168 isOutsideClicked(event: Event): boolean;
169 isEmpty(): boolean;
170 onEditableInputClick(): void;
171 onEditableInputFocus(event: any): void;
172 onEditableInputChange(event: any): void;
173 show(): void;
174 onOverlayAnimationStart(event: AnimationEvent): void;
175 onOverlayAnimationEnd(event: AnimationEvent): void;
176 scrollToSelectedVirtualScrollElement(): void;
177 updateVirtualScrollSelectedIndex(resetOffset: any): void;
178 appendOverlay(): void;
179 restoreOverlayAppend(): void;
180 hide(): void;
181 alignOverlay(): void;
182 onInputFocus(event: any): void;
183 onInputBlur(event: any): void;
184 findPrevEnabledOption(index: any): any;
185 findNextEnabledOption(index: any): any;
186 onKeydown(event: KeyboardEvent, search: boolean): void;
187 search(event: KeyboardEvent): void;
188 searchOption(index: any): any;
189 searchOptionInRange(start: any, end: any): any;
190 searchOptionWithinGroup(index: any): any;
191 findOptionIndex(val: any, opts: any[]): number;
192 findOptionGroupIndex(val: any, opts: any[]): any;
193 findOption(val: any, opts: any[], inGroup?: boolean): SelectItem;
194 onFilterInputChange(event: any): void;
195 activateFilter(): void;
196 applyFocus(): void;
197 focus(): void;
198 bindDocumentClickListener(): void;
199 unbindDocumentClickListener(): void;
200 bindDocumentResizeListener(): void;
201 unbindDocumentResizeListener(): void;
202 onWindowResize(): void;
203 bindScrollListener(): void;
204 unbindScrollListener(): void;
205 clear(event: Event): void;
206 onOverlayHide(): void;
207 ngOnDestroy(): void;
208 static ɵfac: i0.ɵɵFactoryDeclaration<Dropdown, never>;
209 static ɵcmp: i0.ɵɵComponentDeclaration<Dropdown, "p-dropdown", never, { "scrollHeight": "scrollHeight"; "filter": "filter"; "name": "name"; "style": "style"; "panelStyle": "panelStyle"; "styleClass": "styleClass"; "panelStyleClass": "panelStyleClass"; "readonly": "readonly"; "required": "required"; "editable": "editable"; "appendTo": "appendTo"; "tabindex": "tabindex"; "placeholder": "placeholder"; "filterPlaceholder": "filterPlaceholder"; "filterLocale": "filterLocale"; "inputId": "inputId"; "selectId": "selectId"; "dataKey": "dataKey"; "filterBy": "filterBy"; "autofocus": "autofocus"; "resetFilterOnHide": "resetFilterOnHide"; "dropdownIcon": "dropdownIcon"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionDisabled": "optionDisabled"; "optionGroupLabel": "optionGroupLabel"; "optionGroupChildren": "optionGroupChildren"; "autoDisplayFirst": "autoDisplayFirst"; "group": "group"; "showClear": "showClear"; "emptyFilterMessage": "emptyFilterMessage"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "itemSize": "itemSize"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; "ariaFilterLabel": "ariaFilterLabel"; "ariaLabelledBy": "ariaLabelledBy"; "filterMatchMode": "filterMatchMode"; "maxlength": "maxlength"; "tooltip": "tooltip"; "tooltipPosition": "tooltipPosition"; "tooltipPositionStyle": "tooltipPositionStyle"; "tooltipStyleClass": "tooltipStyleClass"; "autofocusFilter": "autofocusFilter"; "disabled": "disabled"; "options": "options"; "filterValue": "filterValue"; }, { "onChange": "onChange"; "onFilter": "onFilter"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onClick": "onClick"; "onShow": "onShow"; "onHide": "onHide"; "onClear": "onClear"; }, ["templates"], never>;
210}
211export declare class DropdownModule {
212 static ɵfac: i0.ɵɵFactoryDeclaration<DropdownModule, never>;
213 static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, [typeof Dropdown, typeof DropdownItem], [typeof i1.CommonModule, typeof i2.SharedModule, typeof i3.ScrollingModule, typeof i4.TooltipModule, typeof i5.RippleModule], [typeof Dropdown, typeof i2.SharedModule, typeof i3.ScrollingModule]>;
214 static ɵinj: i0.ɵɵInjectorDeclaration<DropdownModule>;
215}
Note: See TracBrowser for help on using the repository browser.