source: trip-planner-front/node_modules/primeng/picklist/picklist.d.ts@ 571e0df

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

adding photos

  • Property mode set to 100644
File size: 7.0 KB
Line 
1import { ElementRef, AfterContentInit, AfterViewChecked, QueryList, TemplateRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
2import { FilterService } from 'primeng/api';
3import { CdkDragDrop } from '@angular/cdk/drag-drop';
4import * as i0 from "@angular/core";
5import * as i1 from "@angular/common";
6import * as i2 from "primeng/button";
7import * as i3 from "primeng/api";
8import * as i4 from "primeng/ripple";
9import * as i5 from "@angular/cdk/drag-drop";
10export declare class PickList implements AfterViewChecked, AfterContentInit {
11 el: ElementRef;
12 cd: ChangeDetectorRef;
13 filterService: FilterService;
14 source: any[];
15 target: any[];
16 sourceHeader: string;
17 rightButtonAriaLabel: string;
18 leftButtonAriaLabel: string;
19 allRightButtonAriaLabel: string;
20 allLeftButtonAriaLabel: string;
21 upButtonAriaLabel: string;
22 downButtonAriaLabel: string;
23 topButtonAriaLabel: string;
24 bottomButtonAriaLabel: string;
25 targetHeader: string;
26 responsive: boolean;
27 filterBy: string;
28 filterLocale: string;
29 trackBy: Function;
30 sourceTrackBy: Function;
31 targetTrackBy: Function;
32 showSourceFilter: boolean;
33 showTargetFilter: boolean;
34 metaKeySelection: boolean;
35 dragdrop: boolean;
36 style: any;
37 styleClass: string;
38 sourceStyle: any;
39 targetStyle: any;
40 showSourceControls: boolean;
41 showTargetControls: boolean;
42 sourceFilterPlaceholder: string;
43 targetFilterPlaceholder: string;
44 disabled: boolean;
45 ariaSourceFilterLabel: string;
46 ariaTargetFilterLabel: string;
47 filterMatchMode: string;
48 breakpoint: string;
49 onMoveToSource: EventEmitter<any>;
50 onMoveAllToSource: EventEmitter<any>;
51 onMoveAllToTarget: EventEmitter<any>;
52 onMoveToTarget: EventEmitter<any>;
53 onSourceReorder: EventEmitter<any>;
54 onTargetReorder: EventEmitter<any>;
55 onSourceSelect: EventEmitter<any>;
56 onTargetSelect: EventEmitter<any>;
57 onSourceFilter: EventEmitter<any>;
58 onTargetFilter: EventEmitter<any>;
59 listViewSourceChild: ElementRef;
60 listViewTargetChild: ElementRef;
61 sourceFilterViewChild: ElementRef;
62 targetFilterViewChild: ElementRef;
63 templates: QueryList<any>;
64 itemTemplate: TemplateRef<any>;
65 visibleOptionsSource: any[];
66 visibleOptionsTarget: any[];
67 selectedItemsSource: any[];
68 selectedItemsTarget: any[];
69 reorderedListElement: any;
70 movedUp: boolean;
71 movedDown: boolean;
72 itemTouched: boolean;
73 styleElement: any;
74 id: string;
75 filterValueSource: string;
76 filterValueTarget: string;
77 fromListType: number;
78 emptyMessageSourceTemplate: TemplateRef<any>;
79 emptyFilterMessageSourceTemplate: TemplateRef<any>;
80 emptyMessageTargetTemplate: TemplateRef<any>;
81 emptyFilterMessageTargetTemplate: TemplateRef<any>;
82 sourceHeaderTemplate: TemplateRef<any>;
83 targetHeaderTemplate: TemplateRef<any>;
84 readonly SOURCE_LIST = -1;
85 readonly TARGET_LIST = 1;
86 constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService);
87 ngOnInit(): void;
88 ngAfterContentInit(): void;
89 ngAfterViewChecked(): void;
90 onItemClick(event: any, item: any, selectedItems: any[], callback: EventEmitter<any>): void;
91 onSourceItemDblClick(): void;
92 onTargetItemDblClick(): void;
93 onFilter(event: KeyboardEvent, data: any[], listType: number): void;
94 filter(data: any[], listType: number): void;
95 isItemVisible(item: any, listType: number): boolean;
96 isEmpty(listType: number): boolean;
97 isVisibleInList(data: any[], item: any, filterValue: string): boolean;
98 onItemTouchEnd(): void;
99 private sortByIndexInList;
100 moveUp(listElement: any, list: any, selectedItems: any, callback: any, listType: any): void;
101 moveTop(listElement: any, list: any, selectedItems: any, callback: any, listType: any): void;
102 moveDown(listElement: any, list: any, selectedItems: any, callback: any, listType: any): void;
103 moveBottom(listElement: any, list: any, selectedItems: any, callback: any, listType: any): void;
104 moveRight(): void;
105 moveAllRight(): void;
106 moveLeft(): void;
107 moveAllLeft(): void;
108 isSelected(item: any, selectedItems: any[]): boolean;
109 findIndexInSelection(item: any, selectedItems: any[]): number;
110 onDrop(event: CdkDragDrop<string[]>, listType: number): void;
111 getDropIndexes(fromIndex: any, toIndex: any, droppedList: any, isTransfer: any, data: any): {
112 previousIndex: any;
113 currentIndex: any;
114 };
115 findFilteredCurrentIndex(visibleOptions: any, index: any, options: any): number;
116 resetFilter(): void;
117 onItemKeydown(event: KeyboardEvent, item: any, selectedItems: any[], callback: EventEmitter<any>): void;
118 findNextItem(item: any): any;
119 findPrevItem(item: any): any;
120 createStyle(): void;
121 destroyStyle(): void;
122 ngOnDestroy(): void;
123 static ɵfac: i0.ɵɵFactoryDeclaration<PickList, never>;
124 static ɵcmp: i0.ɵɵComponentDeclaration<PickList, "p-pickList", never, { "source": "source"; "target": "target"; "sourceHeader": "sourceHeader"; "rightButtonAriaLabel": "rightButtonAriaLabel"; "leftButtonAriaLabel": "leftButtonAriaLabel"; "allRightButtonAriaLabel": "allRightButtonAriaLabel"; "allLeftButtonAriaLabel": "allLeftButtonAriaLabel"; "upButtonAriaLabel": "upButtonAriaLabel"; "downButtonAriaLabel": "downButtonAriaLabel"; "topButtonAriaLabel": "topButtonAriaLabel"; "bottomButtonAriaLabel": "bottomButtonAriaLabel"; "targetHeader": "targetHeader"; "responsive": "responsive"; "filterBy": "filterBy"; "filterLocale": "filterLocale"; "trackBy": "trackBy"; "sourceTrackBy": "sourceTrackBy"; "targetTrackBy": "targetTrackBy"; "showSourceFilter": "showSourceFilter"; "showTargetFilter": "showTargetFilter"; "metaKeySelection": "metaKeySelection"; "dragdrop": "dragdrop"; "style": "style"; "styleClass": "styleClass"; "sourceStyle": "sourceStyle"; "targetStyle": "targetStyle"; "showSourceControls": "showSourceControls"; "showTargetControls": "showTargetControls"; "sourceFilterPlaceholder": "sourceFilterPlaceholder"; "targetFilterPlaceholder": "targetFilterPlaceholder"; "disabled": "disabled"; "ariaSourceFilterLabel": "ariaSourceFilterLabel"; "ariaTargetFilterLabel": "ariaTargetFilterLabel"; "filterMatchMode": "filterMatchMode"; "breakpoint": "breakpoint"; }, { "onMoveToSource": "onMoveToSource"; "onMoveAllToSource": "onMoveAllToSource"; "onMoveAllToTarget": "onMoveAllToTarget"; "onMoveToTarget": "onMoveToTarget"; "onSourceReorder": "onSourceReorder"; "onTargetReorder": "onTargetReorder"; "onSourceSelect": "onSourceSelect"; "onTargetSelect": "onTargetSelect"; "onSourceFilter": "onSourceFilter"; "onTargetFilter": "onTargetFilter"; }, ["templates"], never>;
125}
126export declare class PickListModule {
127 static ɵfac: i0.ɵɵFactoryDeclaration<PickListModule, never>;
128 static ɵmod: i0.ɵɵNgModuleDeclaration<PickListModule, [typeof PickList], [typeof i1.CommonModule, typeof i2.ButtonModule, typeof i3.SharedModule, typeof i4.RippleModule, typeof i5.DragDropModule], [typeof PickList, typeof i3.SharedModule, typeof i5.DragDropModule]>;
129 static ɵinj: i0.ɵɵInjectorDeclaration<PickListModule>;
130}
Note: See TracBrowser for help on using the repository browser.