1 | import { ElementRef, AfterViewChecked, AfterContentInit, QueryList, TemplateRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
---|
2 | import { FilterService } from 'primeng/api';
|
---|
3 | import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
---|
4 | import * as i0 from "@angular/core";
|
---|
5 | import * as i1 from "@angular/common";
|
---|
6 | import * as i2 from "primeng/button";
|
---|
7 | import * as i3 from "primeng/api";
|
---|
8 | import * as i4 from "primeng/ripple";
|
---|
9 | import * as i5 from "@angular/cdk/drag-drop";
|
---|
10 | export declare class OrderList implements AfterViewChecked, AfterContentInit {
|
---|
11 | el: ElementRef;
|
---|
12 | cd: ChangeDetectorRef;
|
---|
13 | filterService: FilterService;
|
---|
14 | header: string;
|
---|
15 | style: any;
|
---|
16 | styleClass: string;
|
---|
17 | listStyle: any;
|
---|
18 | responsive: boolean;
|
---|
19 | filterBy: string;
|
---|
20 | filterPlaceholder: string;
|
---|
21 | filterLocale: string;
|
---|
22 | metaKeySelection: boolean;
|
---|
23 | dragdrop: boolean;
|
---|
24 | controlsPosition: string;
|
---|
25 | ariaFilterLabel: string;
|
---|
26 | filterMatchMode: string;
|
---|
27 | breakpoint: string;
|
---|
28 | selectionChange: EventEmitter<any>;
|
---|
29 | trackBy: Function;
|
---|
30 | onReorder: EventEmitter<any>;
|
---|
31 | onSelectionChange: EventEmitter<any>;
|
---|
32 | onFilterEvent: EventEmitter<any>;
|
---|
33 | listViewChild: ElementRef;
|
---|
34 | templates: QueryList<any>;
|
---|
35 | itemTemplate: TemplateRef<any>;
|
---|
36 | headerTemplate: TemplateRef<any>;
|
---|
37 | emptyMessageTemplate: TemplateRef<any>;
|
---|
38 | emptyFilterMessageTemplate: TemplateRef<any>;
|
---|
39 | _selection: any[];
|
---|
40 | movedUp: boolean;
|
---|
41 | movedDown: boolean;
|
---|
42 | itemTouched: boolean;
|
---|
43 | styleElement: any;
|
---|
44 | id: string;
|
---|
45 | filterValue: string;
|
---|
46 | visibleOptions: any[];
|
---|
47 | _value: any[];
|
---|
48 | constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService);
|
---|
49 | get selection(): any[];
|
---|
50 | set selection(val: any[]);
|
---|
51 | ngOnInit(): void;
|
---|
52 | ngAfterContentInit(): void;
|
---|
53 | ngAfterViewChecked(): void;
|
---|
54 | get value(): any[];
|
---|
55 | set value(val: any[]);
|
---|
56 | onItemClick(event: any, item: any, index: any): void;
|
---|
57 | onFilterKeyup(event: any): void;
|
---|
58 | filter(): void;
|
---|
59 | isItemVisible(item: any): boolean;
|
---|
60 | onItemTouchEnd(): void;
|
---|
61 | isSelected(item: any): boolean;
|
---|
62 | isEmpty(): boolean;
|
---|
63 | moveUp(): void;
|
---|
64 | moveTop(): void;
|
---|
65 | moveDown(): void;
|
---|
66 | moveBottom(): void;
|
---|
67 | onDrop(event: CdkDragDrop<string[]>): void;
|
---|
68 | onItemKeydown(event: KeyboardEvent, item: any, index: Number): void;
|
---|
69 | findNextItem(item: any): any;
|
---|
70 | findPrevItem(item: any): any;
|
---|
71 | createStyle(): void;
|
---|
72 | destroyStyle(): void;
|
---|
73 | ngOnDestroy(): void;
|
---|
74 | static ɵfac: i0.ɵɵFactoryDeclaration<OrderList, never>;
|
---|
75 | static ɵcmp: i0.ɵɵComponentDeclaration<OrderList, "p-orderList", never, { "header": "header"; "style": "style"; "styleClass": "styleClass"; "listStyle": "listStyle"; "responsive": "responsive"; "filterBy": "filterBy"; "filterPlaceholder": "filterPlaceholder"; "filterLocale": "filterLocale"; "metaKeySelection": "metaKeySelection"; "dragdrop": "dragdrop"; "controlsPosition": "controlsPosition"; "ariaFilterLabel": "ariaFilterLabel"; "filterMatchMode": "filterMatchMode"; "breakpoint": "breakpoint"; "trackBy": "trackBy"; "selection": "selection"; "value": "value"; }, { "selectionChange": "selectionChange"; "onReorder": "onReorder"; "onSelectionChange": "onSelectionChange"; "onFilterEvent": "onFilterEvent"; }, ["templates"], never>;
|
---|
76 | }
|
---|
77 | export declare class OrderListModule {
|
---|
78 | static ɵfac: i0.ɵɵFactoryDeclaration<OrderListModule, never>;
|
---|
79 | static ɵmod: i0.ɵɵNgModuleDeclaration<OrderListModule, [typeof OrderList], [typeof i1.CommonModule, typeof i2.ButtonModule, typeof i3.SharedModule, typeof i4.RippleModule, typeof i5.DragDropModule], [typeof OrderList, typeof i3.SharedModule, typeof i5.DragDropModule]>;
|
---|
80 | static ɵinj: i0.ɵɵInjectorDeclaration<OrderListModule>;
|
---|
81 | }
|
---|