1 | import { ElementRef, TemplateRef, AfterContentInit, QueryList, EventEmitter, ChangeDetectorRef, OnDestroy, AfterViewInit } from '@angular/core';
|
---|
2 | import { MenuItem } from 'primeng/api';
|
---|
3 | import * as i0 from "@angular/core";
|
---|
4 | import * as i1 from "@angular/common";
|
---|
5 | import * as i2 from "primeng/button";
|
---|
6 | import * as i3 from "primeng/ripple";
|
---|
7 | import * as i4 from "primeng/tooltip";
|
---|
8 | import * as i5 from "@angular/router";
|
---|
9 | import * as i6 from "primeng/api";
|
---|
10 | export declare class SpeedDial implements AfterViewInit, AfterContentInit, OnDestroy {
|
---|
11 | private el;
|
---|
12 | cd: ChangeDetectorRef;
|
---|
13 | id: string;
|
---|
14 | model: any[];
|
---|
15 | get visible(): any;
|
---|
16 | set visible(value: any);
|
---|
17 | style: any;
|
---|
18 | className: string;
|
---|
19 | direction: string;
|
---|
20 | transitionDelay: number;
|
---|
21 | type: string;
|
---|
22 | radius: number;
|
---|
23 | mask: boolean;
|
---|
24 | disabled: boolean;
|
---|
25 | hideOnClickOutside: boolean;
|
---|
26 | buttonStyle: any;
|
---|
27 | buttonClassName: string;
|
---|
28 | maskStyle: any;
|
---|
29 | maskClassName: string;
|
---|
30 | showIcon: string;
|
---|
31 | hideIcon: string;
|
---|
32 | rotateAnimation: boolean;
|
---|
33 | onVisibleChange: EventEmitter<any>;
|
---|
34 | visibleChange: EventEmitter<any>;
|
---|
35 | onClick: EventEmitter<any>;
|
---|
36 | onShow: EventEmitter<any>;
|
---|
37 | onHide: EventEmitter<any>;
|
---|
38 | container: ElementRef;
|
---|
39 | list: ElementRef;
|
---|
40 | templates: QueryList<any>;
|
---|
41 | buttonTemplate: TemplateRef<any>;
|
---|
42 | isItemClicked: boolean;
|
---|
43 | _visible: boolean;
|
---|
44 | documentClickListener: any;
|
---|
45 | constructor(el: ElementRef, cd: ChangeDetectorRef);
|
---|
46 | ngAfterViewInit(): void;
|
---|
47 | ngAfterContentInit(): void;
|
---|
48 | show(): void;
|
---|
49 | hide(): void;
|
---|
50 | onButtonClick(event: any): void;
|
---|
51 | onItemClick(e: any, item: any): void;
|
---|
52 | calculatePointStyle(index: any): {
|
---|
53 | left: string;
|
---|
54 | top: string;
|
---|
55 | bottom?: undefined;
|
---|
56 | right?: undefined;
|
---|
57 | } | {
|
---|
58 | left: string;
|
---|
59 | bottom: string;
|
---|
60 | top?: undefined;
|
---|
61 | right?: undefined;
|
---|
62 | } | {
|
---|
63 | right: string;
|
---|
64 | top: string;
|
---|
65 | left?: undefined;
|
---|
66 | bottom?: undefined;
|
---|
67 | } | {
|
---|
68 | right: string;
|
---|
69 | bottom: string;
|
---|
70 | left?: undefined;
|
---|
71 | top?: undefined;
|
---|
72 | } | {
|
---|
73 | left?: undefined;
|
---|
74 | top?: undefined;
|
---|
75 | bottom?: undefined;
|
---|
76 | right?: undefined;
|
---|
77 | };
|
---|
78 | calculateTransitionDelay(index: any): number;
|
---|
79 | containerClass(): {
|
---|
80 | [x: string]: any;
|
---|
81 | 'p-speeddial-opened': any;
|
---|
82 | 'p-disabled': boolean;
|
---|
83 | };
|
---|
84 | buttonClass(): {
|
---|
85 | [x: string]: boolean;
|
---|
86 | 'p-speeddial-button p-button-rounded': boolean;
|
---|
87 | 'p-speeddial-rotate': boolean;
|
---|
88 | };
|
---|
89 | get buttonIconClass(): string;
|
---|
90 | getItemStyle(index: any): {
|
---|
91 | left: string;
|
---|
92 | top: string;
|
---|
93 | bottom?: undefined;
|
---|
94 | right?: undefined;
|
---|
95 | transitionDelay: string;
|
---|
96 | } | {
|
---|
97 | left: string;
|
---|
98 | bottom: string;
|
---|
99 | top?: undefined;
|
---|
100 | right?: undefined;
|
---|
101 | transitionDelay: string;
|
---|
102 | } | {
|
---|
103 | right: string;
|
---|
104 | top: string;
|
---|
105 | left?: undefined;
|
---|
106 | bottom?: undefined;
|
---|
107 | transitionDelay: string;
|
---|
108 | } | {
|
---|
109 | right: string;
|
---|
110 | bottom: string;
|
---|
111 | left?: undefined;
|
---|
112 | top?: undefined;
|
---|
113 | transitionDelay: string;
|
---|
114 | } | {
|
---|
115 | left?: undefined;
|
---|
116 | top?: undefined;
|
---|
117 | bottom?: undefined;
|
---|
118 | right?: undefined;
|
---|
119 | transitionDelay: string;
|
---|
120 | };
|
---|
121 | isClickableRouterLink(item: MenuItem): boolean;
|
---|
122 | isOutsideClicked(event: any): boolean;
|
---|
123 | bindDocumentClickListener(): void;
|
---|
124 | unbindDocumentClickListener(): void;
|
---|
125 | ngOnDestroy(): void;
|
---|
126 | static ɵfac: i0.ɵɵFactoryDeclaration<SpeedDial, never>;
|
---|
127 | static ɵcmp: i0.ɵɵComponentDeclaration<SpeedDial, "p-speedDial", never, { "id": "id"; "model": "model"; "visible": "visible"; "style": "style"; "className": "className"; "direction": "direction"; "transitionDelay": "transitionDelay"; "type": "type"; "radius": "radius"; "mask": "mask"; "disabled": "disabled"; "hideOnClickOutside": "hideOnClickOutside"; "buttonStyle": "buttonStyle"; "buttonClassName": "buttonClassName"; "maskStyle": "maskStyle"; "maskClassName": "maskClassName"; "showIcon": "showIcon"; "hideIcon": "hideIcon"; "rotateAnimation": "rotateAnimation"; }, { "onVisibleChange": "onVisibleChange"; "visibleChange": "visibleChange"; "onClick": "onClick"; "onShow": "onShow"; "onHide": "onHide"; }, ["templates"], never>;
|
---|
128 | }
|
---|
129 | export declare class SpeedDialModule {
|
---|
130 | static ɵfac: i0.ɵɵFactoryDeclaration<SpeedDialModule, never>;
|
---|
131 | static ɵmod: i0.ɵɵNgModuleDeclaration<SpeedDialModule, [typeof SpeedDial], [typeof i1.CommonModule, typeof i2.ButtonModule, typeof i3.RippleModule, typeof i4.TooltipModule, typeof i5.RouterModule], [typeof SpeedDial, typeof i6.SharedModule, typeof i2.ButtonModule, typeof i4.TooltipModule, typeof i5.RouterModule]>;
|
---|
132 | static ɵinj: i0.ɵɵInjectorDeclaration<SpeedDialModule>;
|
---|
133 | }
|
---|