source: trip-planner-front/node_modules/primeng/cascadeselect/cascadeselect.d.ts@ 84d0fbb

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

adding photos

  • Property mode set to 100644
File size: 6.5 KB
RevLine 
[59329aa]1import { TemplateRef, QueryList, ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy, OnInit, AfterContentInit } from '@angular/core';
2import { PrimeNGConfig, OverlayService } from 'primeng/api';
3import { AnimationEvent } from '@angular/animations';
4import * as i0 from "@angular/core";
5import * as i1 from "@angular/common";
6import * as i2 from "primeng/api";
7import * as i3 from "primeng/ripple";
8export declare const CASCADESELECT_VALUE_ACCESSOR: any;
9export declare class CascadeSelectSub implements OnInit {
10 private el;
11 selectionPath: any[];
12 options: any[];
13 optionGroupChildren: any[];
14 optionTemplate: TemplateRef<any>;
15 level: number;
16 optionLabel: string;
17 optionValue: string;
18 optionGroupLabel: string;
19 dirty: boolean;
20 root: boolean;
21 onSelect: EventEmitter<any>;
22 onGroupSelect: EventEmitter<any>;
23 get parentActive(): boolean;
24 set parentActive(val: boolean);
25 activeOption: any;
26 _parentActive: boolean;
27 cascadeSelect: CascadeSelect;
28 constructor(cascadeSelect: any, el: ElementRef);
29 ngOnInit(): void;
30 onOptionClick(event: any, option: any): void;
31 onOptionSelect(event: any): void;
32 onOptionGroupSelect(event: any): void;
33 getOptionLabel(option: any): any;
34 getOptionValue(option: any): any;
35 getOptionGroupLabel(optionGroup: any): any;
36 getOptionGroupChildren(optionGroup: any): any;
37 isOptionGroup(option: any): any;
38 getOptionLabelToRender(option: any): any;
39 getItemClass(option: any): {
40 'p-cascadeselect-item': boolean;
41 'p-cascadeselect-item-group': any;
42 'p-cascadeselect-item-active p-highlight': boolean;
43 };
44 isOptionActive(option: any): boolean;
45 onKeyDown(event: any, option: any, index: any): void;
46 position(): void;
47 static ɵfac: i0.ɵɵFactoryDeclaration<CascadeSelectSub, never>;
48 static ɵcmp: i0.ɵɵComponentDeclaration<CascadeSelectSub, "p-cascadeSelectSub", never, { "selectionPath": "selectionPath"; "options": "options"; "optionGroupChildren": "optionGroupChildren"; "optionTemplate": "optionTemplate"; "level": "level"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionGroupLabel": "optionGroupLabel"; "dirty": "dirty"; "root": "root"; "parentActive": "parentActive"; }, { "onSelect": "onSelect"; "onGroupSelect": "onGroupSelect"; }, never, never>;
49}
50export declare class CascadeSelect implements OnInit, AfterContentInit, OnDestroy {
51 private el;
52 private cd;
53 private config;
54 overlayService: OverlayService;
55 styleClass: string;
56 style: any;
57 options: any[];
58 optionLabel: string;
59 optionValue: string;
60 optionGroupLabel: string;
61 optionGroupChildren: any[];
62 placeholder: string;
63 value: string;
64 dataKey: string;
65 inputId: string;
66 tabindex: string;
67 ariaLabelledBy: string;
68 appendTo: any;
69 disabled: boolean;
70 rounded: boolean;
71 showTransitionOptions: string;
72 hideTransitionOptions: string;
73 focusInputEl: ElementRef;
74 containerEl: ElementRef;
75 onChange: EventEmitter<any>;
76 onGroupChange: EventEmitter<any>;
77 onShow: EventEmitter<any>;
78 onHide: EventEmitter<any>;
79 onBeforeShow: EventEmitter<any>;
80 onBeforeHide: EventEmitter<any>;
81 templates: QueryList<any>;
82 selectionPath: any;
83 focused: boolean;
84 filled: boolean;
85 overlayVisible: boolean;
86 dirty: boolean;
87 valueTemplate: TemplateRef<any>;
88 optionTemplate: TemplateRef<any>;
89 outsideClickListener: any;
90 scrollHandler: any;
91 resizeListener: any;
92 overlayEl: any;
93 onModelChange: Function;
94 onModelTouched: Function;
95 constructor(el: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig, overlayService: OverlayService);
96 ngOnInit(): void;
97 ngAfterContentInit(): void;
98 onOptionSelect(event: any): void;
99 onOptionGroupSelect(event: any): void;
100 getOptionLabel(option: any): any;
101 getOptionValue(option: any): any;
102 getOptionGroupChildren(optionGroup: any, level: any): any;
103 isOptionGroup(option: any, level: any): any;
104 updateSelectionPath(): void;
105 updateFilledState(): void;
106 findModelOptionInGroup(option: any, level: any): any;
107 show(): void;
108 hide(): void;
109 onClick(event: any): void;
110 onFocus(): void;
111 onBlur(): void;
112 onOverlayClick(event: any): void;
113 onOverlayAnimationStart(event: AnimationEvent): void;
114 onOverlayAnimationDone(event: AnimationEvent): void;
115 onOverlayEnter(): void;
116 onOverlayLeave(): void;
117 writeValue(value: any): void;
118 registerOnChange(fn: Function): void;
119 registerOnTouched(fn: Function): void;
120 setDisabledState(val: boolean): void;
121 alignOverlay(): void;
122 bindOutsideClickListener(): void;
123 unbindOutsideClickListener(): void;
124 bindScrollListener(): void;
125 unbindScrollListener(): void;
126 bindResizeListener(): void;
127 unbindResizeListener(): void;
128 appendContainer(): void;
129 restoreAppend(): void;
130 label(): any;
131 onKeyDown(event: any): void;
132 containerClass(): {
133 'p-cascadeselect p-component p-inputwrapper': boolean;
134 'p-disabled': boolean;
135 'p-focus': boolean;
136 };
137 labelClass(): {
138 'p-cascadeselect-label': boolean;
139 'p-placeholder': boolean;
140 'p-cascadeselect-label-empty': boolean;
141 };
142 ngOnDestroy(): void;
143 static ɵfac: i0.ɵɵFactoryDeclaration<CascadeSelect, never>;
144 static ɵcmp: i0.ɵɵComponentDeclaration<CascadeSelect, "p-cascadeSelect", never, { "styleClass": "styleClass"; "style": "style"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionGroupLabel": "optionGroupLabel"; "optionGroupChildren": "optionGroupChildren"; "placeholder": "placeholder"; "value": "value"; "dataKey": "dataKey"; "inputId": "inputId"; "tabindex": "tabindex"; "ariaLabelledBy": "ariaLabelledBy"; "appendTo": "appendTo"; "disabled": "disabled"; "rounded": "rounded"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "onChange": "onChange"; "onGroupChange": "onGroupChange"; "onShow": "onShow"; "onHide": "onHide"; "onBeforeShow": "onBeforeShow"; "onBeforeHide": "onBeforeHide"; }, ["templates"], never>;
145}
146export declare class CascadeSelectModule {
147 static ɵfac: i0.ɵɵFactoryDeclaration<CascadeSelectModule, never>;
148 static ɵmod: i0.ɵɵNgModuleDeclaration<CascadeSelectModule, [typeof CascadeSelect, typeof CascadeSelectSub], [typeof i1.CommonModule, typeof i2.SharedModule, typeof i3.RippleModule], [typeof CascadeSelect, typeof CascadeSelectSub, typeof i2.SharedModule]>;
149 static ɵinj: i0.ɵɵInjectorDeclaration<CascadeSelectModule>;
150}
Note: See TracBrowser for help on using the repository browser.