source: trip-planner-front/node_modules/primeng/tree/tree.d.ts@ 76712b2

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

adding photos

  • Property mode set to 100644
File size: 8.4 KB
Line 
1import { AfterContentInit, OnDestroy, EventEmitter, OnInit, OnChanges, QueryList, TemplateRef, ElementRef, SimpleChanges } from '@angular/core';
2import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
3import { PrimeNGConfig, TreeNode } from 'primeng/api';
4import { TreeDragDropService } from 'primeng/api';
5import { Subscription } from 'rxjs';
6import { BlockableUI } from 'primeng/api';
7import * as i0 from "@angular/core";
8import * as i1 from "@angular/common";
9import * as i2 from "@angular/cdk/scrolling";
10import * as i3 from "primeng/ripple";
11import * as i4 from "primeng/api";
12export declare class UITreeNode implements OnInit {
13 static ICON_CLASS: string;
14 rowNode: any;
15 node: TreeNode;
16 parentNode: TreeNode;
17 root: boolean;
18 index: number;
19 firstChild: boolean;
20 lastChild: boolean;
21 level: number;
22 indentation: number;
23 tree: Tree;
24 constructor(tree: any);
25 draghoverPrev: boolean;
26 draghoverNext: boolean;
27 draghoverNode: boolean;
28 ngOnInit(): void;
29 getIcon(): string;
30 isLeaf(): boolean;
31 toggle(event: Event): void;
32 expand(event: Event): void;
33 collapse(event: Event): void;
34 onNodeClick(event: MouseEvent): void;
35 onNodeKeydown(event: KeyboardEvent): void;
36 onNodeTouchEnd(): void;
37 onNodeRightClick(event: MouseEvent): void;
38 isSelected(): boolean;
39 onDropPoint(event: Event, position: number): void;
40 processPointDrop(event: any): void;
41 createDropPointEventMetadata(position: any): {
42 dragNode: TreeNode<any>;
43 dragNodeIndex: number;
44 dragNodeSubNodes: TreeNode<any>[];
45 dropNode: TreeNode<any>;
46 index: number;
47 position: any;
48 };
49 onDropPointDragOver(event: any): void;
50 onDropPointDragEnter(event: Event, position: number): void;
51 onDropPointDragLeave(event: Event): void;
52 onDragStart(event: any): void;
53 onDragStop(event: any): void;
54 onDropNodeDragOver(event: any): void;
55 onDropNode(event: any): void;
56 createDropNodeEventMetadata(): {
57 dragNode: TreeNode<any>;
58 dragNodeIndex: number;
59 dragNodeSubNodes: TreeNode<any>[];
60 dropNode: TreeNode<any>;
61 };
62 processNodeDrop(event: any): void;
63 onDropNodeDragEnter(event: any): void;
64 onDropNodeDragLeave(event: any): void;
65 onKeyDown(event: KeyboardEvent): void;
66 findNextSiblingOfAncestor(nodeElement: any): any;
67 findLastVisibleDescendant(nodeElement: any): any;
68 getParentNodeElement(nodeElement: any): any;
69 focusNode(element: any): void;
70 static ɵfac: i0.ɵɵFactoryDeclaration<UITreeNode, never>;
71 static ɵcmp: i0.ɵɵComponentDeclaration<UITreeNode, "p-treeNode", never, { "rowNode": "rowNode"; "node": "node"; "parentNode": "parentNode"; "root": "root"; "index": "index"; "firstChild": "firstChild"; "lastChild": "lastChild"; "level": "level"; "indentation": "indentation"; }, {}, never, never>;
72}
73export declare class Tree implements OnInit, AfterContentInit, OnChanges, OnDestroy, BlockableUI {
74 el: ElementRef;
75 dragDropService: TreeDragDropService;
76 config: PrimeNGConfig;
77 value: TreeNode[];
78 selectionMode: string;
79 selection: any;
80 selectionChange: EventEmitter<any>;
81 onNodeSelect: EventEmitter<any>;
82 onNodeUnselect: EventEmitter<any>;
83 onNodeExpand: EventEmitter<any>;
84 onNodeCollapse: EventEmitter<any>;
85 onNodeContextMenuSelect: EventEmitter<any>;
86 onNodeDrop: EventEmitter<any>;
87 style: any;
88 styleClass: string;
89 contextMenu: any;
90 layout: string;
91 draggableScope: any;
92 droppableScope: any;
93 draggableNodes: boolean;
94 droppableNodes: boolean;
95 metaKeySelection: boolean;
96 propagateSelectionUp: boolean;
97 propagateSelectionDown: boolean;
98 loading: boolean;
99 loadingIcon: string;
100 emptyMessage: string;
101 ariaLabel: string;
102 togglerAriaLabel: string;
103 ariaLabelledBy: string;
104 validateDrop: boolean;
105 filter: boolean;
106 filterBy: string;
107 filterMode: string;
108 filterPlaceholder: string;
109 filterLocale: string;
110 scrollHeight: string;
111 virtualScroll: boolean;
112 virtualNodeHeight: string;
113 minBufferPx: number;
114 maxBufferPx: number;
115 indentation: number;
116 trackBy: Function;
117 onFilter: EventEmitter<any>;
118 templates: QueryList<any>;
119 virtualScrollBody: CdkVirtualScrollViewport;
120 filterViewChild: ElementRef;
121 serializedValue: any[];
122 headerTemplate: TemplateRef<any>;
123 footerTemplate: TemplateRef<any>;
124 emptyMessageTemplate: TemplateRef<any>;
125 templateMap: any;
126 nodeTouched: boolean;
127 dragNodeTree: Tree;
128 dragNode: TreeNode;
129 dragNodeSubNodes: TreeNode[];
130 dragNodeIndex: number;
131 dragNodeScope: any;
132 dragHover: boolean;
133 dragStartSubscription: Subscription;
134 dragStopSubscription: Subscription;
135 filteredNodes: TreeNode[];
136 constructor(el: ElementRef, dragDropService: TreeDragDropService, config: PrimeNGConfig);
137 ngOnInit(): void;
138 ngOnChanges(simpleChange: SimpleChanges): void;
139 get horizontal(): boolean;
140 get emptyMessageLabel(): string;
141 ngAfterContentInit(): void;
142 updateSerializedValue(): void;
143 serializeNodes(parent: any, nodes: any, level: any, visible: any): void;
144 onNodeClick(event: any, node: TreeNode): void;
145 onNodeTouchEnd(): void;
146 onNodeRightClick(event: MouseEvent, node: TreeNode): void;
147 findIndexInSelection(node: TreeNode): number;
148 syncNodeOption(node: any, parentNodes: any, option: any, value?: any): void;
149 hasFilteredNodes(): number;
150 getNodeWithKey(key: string, nodes: TreeNode[]): any;
151 propagateUp(node: TreeNode, select: boolean): void;
152 propagateDown(node: TreeNode, select: boolean): void;
153 isSelected(node: TreeNode): boolean;
154 isSingleSelectionMode(): boolean;
155 isMultipleSelectionMode(): boolean;
156 isCheckboxSelectionMode(): boolean;
157 isNodeLeaf(node: any): boolean;
158 getRootNode(): TreeNode<any>[];
159 getTemplateForNode(node: TreeNode): TemplateRef<any>;
160 onDragOver(event: any): void;
161 onDrop(event: any): void;
162 processTreeDrop(dragNode: any, dragNodeIndex: any): void;
163 onDragEnter(): void;
164 onDragLeave(event: any): void;
165 allowDrop(dragNode: TreeNode, dropNode: TreeNode, dragNodeScope: any): boolean;
166 isValidDragScope(dragScope: any): boolean;
167 _filter(value: any): void;
168 resetFilter(): void;
169 findFilteredNodes(node: any, paramsWithoutNode: any): boolean;
170 isFilterMatched(node: any, { searchFields, filterText, isStrictMode }: {
171 searchFields: any;
172 filterText: any;
173 isStrictMode: any;
174 }): boolean;
175 getBlockableElement(): HTMLElement;
176 ngOnDestroy(): void;
177 static ɵfac: i0.ɵɵFactoryDeclaration<Tree, [null, { optional: true; }, null]>;
178 static ɵcmp: i0.ɵɵComponentDeclaration<Tree, "p-tree", never, { "value": "value"; "selectionMode": "selectionMode"; "selection": "selection"; "style": "style"; "styleClass": "styleClass"; "contextMenu": "contextMenu"; "layout": "layout"; "draggableScope": "draggableScope"; "droppableScope": "droppableScope"; "draggableNodes": "draggableNodes"; "droppableNodes": "droppableNodes"; "metaKeySelection": "metaKeySelection"; "propagateSelectionUp": "propagateSelectionUp"; "propagateSelectionDown": "propagateSelectionDown"; "loading": "loading"; "loadingIcon": "loadingIcon"; "emptyMessage": "emptyMessage"; "ariaLabel": "ariaLabel"; "togglerAriaLabel": "togglerAriaLabel"; "ariaLabelledBy": "ariaLabelledBy"; "validateDrop": "validateDrop"; "filter": "filter"; "filterBy": "filterBy"; "filterMode": "filterMode"; "filterPlaceholder": "filterPlaceholder"; "filterLocale": "filterLocale"; "scrollHeight": "scrollHeight"; "virtualScroll": "virtualScroll"; "virtualNodeHeight": "virtualNodeHeight"; "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; "indentation": "indentation"; "trackBy": "trackBy"; }, { "selectionChange": "selectionChange"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onNodeExpand": "onNodeExpand"; "onNodeCollapse": "onNodeCollapse"; "onNodeContextMenuSelect": "onNodeContextMenuSelect"; "onNodeDrop": "onNodeDrop"; "onFilter": "onFilter"; }, ["templates"], never>;
179}
180export declare class TreeModule {
181 static ɵfac: i0.ɵɵFactoryDeclaration<TreeModule, never>;
182 static ɵmod: i0.ɵɵNgModuleDeclaration<TreeModule, [typeof Tree, typeof UITreeNode], [typeof i1.CommonModule, typeof i2.ScrollingModule, typeof i3.RippleModule], [typeof Tree, typeof i4.SharedModule, typeof i2.ScrollingModule]>;
183 static ɵinj: i0.ɵɵInjectorDeclaration<TreeModule>;
184}
Note: See TracBrowser for help on using the repository browser.