@anglr/common 12.0.0-beta.20220414120442 → 13.0.0-beta.20220419081530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +18 -1
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -1
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +5 -15
- package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
- package/es2015/positions/src/index.js +0 -7
- package/es2015/positions/src/index.js.map +1 -1
- package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +12 -8
- package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js.map +1 -1
- package/es2015/src/services/position/position.interface.js.map +1 -1
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -1
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +5 -15
- package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
- package/es2020/positions/src/index.js +0 -7
- package/es2020/positions/src/index.js.map +1 -1
- package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +12 -8
- package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js.map +1 -1
- package/es2020/src/services/position/position.interface.js.map +1 -1
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
- package/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.d.ts.map +1 -1
- package/package.json +3 -3
- package/positions/src/index.d.ts +0 -7
- package/positions/src/index.d.ts.map +1 -1
- package/src/modules/position/directives/positionTo/positionTo.directive.d.ts +6 -2
- package/src/modules/position/directives/positionTo/positionTo.directive.d.ts.map +1 -1
- package/src/services/position/position.interface.d.ts +4 -0
- package/src/services/position/position.interface.d.ts.map +1 -1
- package/version.bak +1 -1
- package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +0 -58
- package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js.map +0 -1
- package/es2015/positions/src/modules/positions/modules/positions.module.js +0 -24
- package/es2015/positions/src/modules/positions/modules/positions.module.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +0 -98
- package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +0 -230
- package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/misc/tokens.js +0 -6
- package/es2015/positions/src/modules/tooltip/misc/tokens.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/misc/tooltip.interface.js +0 -2
- package/es2015/positions/src/modules/tooltip/misc/tooltip.interface.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js +0 -32
- package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js.map +0 -1
- package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +0 -58
- package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js.map +0 -1
- package/es2020/positions/src/modules/positions/modules/positions.module.js +0 -24
- package/es2020/positions/src/modules/positions/modules/positions.module.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +0 -98
- package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +0 -229
- package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/misc/tokens.js +0 -6
- package/es2020/positions/src/modules/tooltip/misc/tokens.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/misc/tooltip.interface.js +0 -2
- package/es2020/positions/src/modules/tooltip/misc/tooltip.interface.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js +0 -32
- package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js.map +0 -1
- package/positions/src/modules/positions/directives/positionTo/positionTo.directive.d.ts +0 -34
- package/positions/src/modules/positions/directives/positionTo/positionTo.directive.d.ts.map +0 -1
- package/positions/src/modules/positions/modules/positions.module.d.ts +0 -11
- package/positions/src/modules/positions/modules/positions.module.d.ts.map +0 -1
- package/positions/src/modules/tooltip/components/tooltip/tooltip.component.css +0 -10
- package/positions/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +0 -63
- package/positions/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +0 -1
- package/positions/src/modules/tooltip/components/tooltip/tooltip.component.html +0 -6
- package/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts +0 -106
- package/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts.map +0 -1
- package/positions/src/modules/tooltip/misc/tokens.d.ts +0 -7
- package/positions/src/modules/tooltip/misc/tokens.d.ts.map +0 -1
- package/positions/src/modules/tooltip/misc/tooltip.interface.d.ts +0 -71
- package/positions/src/modules/tooltip/misc/tooltip.interface.d.ts.map +0 -1
- package/positions/src/modules/tooltip/modules/tooltip.module.d.ts +0 -13
- package/positions/src/modules/tooltip/modules/tooltip.module.d.ts.map +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../directives/positionTo/positionTo.directive";
|
|
3
|
-
/**
|
|
4
|
-
* Module for position to directive
|
|
5
|
-
*/
|
|
6
|
-
export declare class PositionsModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PositionsModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PositionsModule, [typeof i1.PositionToDirective], never, [typeof i1.PositionToDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PositionsModule>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=positions.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"positions.module.d.ts","sourceRoot":"","sources":["positions.module.ts"],"names":[],"mappings":";;AAIA;;GAEG;AACH,qBAca,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAE3B"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { TooltipRenderer } from '../../misc/tooltip.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Component used for displaying tooltip content
|
|
6
|
-
*/
|
|
7
|
-
export declare class TooltipComponent<TData = any> implements TooltipRenderer<TData> {
|
|
8
|
-
protected _changeDetector: ChangeDetectorRef;
|
|
9
|
-
protected _element: ElementRef<HTMLElement>;
|
|
10
|
-
/**
|
|
11
|
-
* Called when mouse enter tooltip component, hover
|
|
12
|
-
*/
|
|
13
|
-
protected _enterFn: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* Called when mouse leaves tooltip component
|
|
16
|
-
*/
|
|
17
|
-
protected _leaveFn: () => void;
|
|
18
|
-
/**
|
|
19
|
-
* Data that are rendered in tooltip
|
|
20
|
-
*/
|
|
21
|
-
data: TData | null;
|
|
22
|
-
/**
|
|
23
|
-
* Template used for rendering tooltip
|
|
24
|
-
*/
|
|
25
|
-
template: TemplateRef<TData> | null;
|
|
26
|
-
/**
|
|
27
|
-
* Indication whether are html tags allowed in tooltip text
|
|
28
|
-
*/
|
|
29
|
-
allowHtml: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Css class that is applied to tooltip renderer component
|
|
32
|
-
*/
|
|
33
|
-
cssClass: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* Attach fade in/out animation to element
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
animation: boolean;
|
|
39
|
-
constructor(_changeDetector: ChangeDetectorRef, _element: ElementRef<HTMLElement>);
|
|
40
|
-
/**
|
|
41
|
-
* Registers handlers that allows reaction to entering or leaving tooltip
|
|
42
|
-
* @param enter - Called when mouse enter tooltip component, hover
|
|
43
|
-
* @param leave - Called when mouse leaves tooltip component
|
|
44
|
-
*/
|
|
45
|
-
registerHoverEvents(enter: () => void, leave: () => void): void;
|
|
46
|
-
/**
|
|
47
|
-
* Explicitly runs invalidation of content (change detection)
|
|
48
|
-
*/
|
|
49
|
-
invalidateVisuals(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Handles mouse enter event over tooltip
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
mouseEnter(): void;
|
|
55
|
-
/**
|
|
56
|
-
* Handles mouse leave event over tooltip
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
mouseLeave(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent<any>, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent<any>, "tooltip-popup", never, {}, {}, never, never>;
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=tooltip.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.component.d.ts","sourceRoot":"","sources":["tooltip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,WAAW,EAAE,iBAAiB,EAAe,UAAU,EAAe,MAAM,eAAe,CAAC;AAIxI,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;;AAE7D;;GAEG;AACH,qBAqBa,gBAAgB,CAAC,KAAK,GAAG,GAAG,CAAE,YAAW,eAAe,CAAC,KAAK,CAAC;IA8C5D,SAAS,CAAC,eAAe,EAAE,iBAAiB;IAC5C,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IA3CvD;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAc;IAE5C;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAc;IAI5C;;OAEG;IACI,IAAI,EAAE,KAAK,GAAC,IAAI,CAAC;IAExB;;OAEG;IACI,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,GAAC,IAAI,CAAC;IAEzC;;OAEG;IACI,SAAS,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACI,QAAQ,EAAE,MAAM,GAAC,IAAI,CAAC;IAI7B;;;OAGG;IAEI,SAAS,EAAE,OAAO,CAAQ;gBAGX,eAAe,EAAE,iBAAiB,EAClC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAMvD;;;;OAIG;IACI,mBAAmB,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI;IAMtE;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAYhC;;;OAGG;IAEI,UAAU,IAAI,IAAI;IAKzB;;;OAGG;IAEI,UAAU,IAAI,IAAI;yCA9FhB,gBAAgB;2CAAhB,gBAAgB;CAkG5B"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { TooltipOptions, TooltipRenderer } from '../../misc/tooltip.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Directive used for rendering tooltip
|
|
6
|
-
*/
|
|
7
|
-
export declare class TooltipDirective<TData = any> implements OnChanges, OnDestroy {
|
|
8
|
-
protected _componentFactoryResolver: ComponentFactoryResolver;
|
|
9
|
-
protected _appRef: ApplicationRef;
|
|
10
|
-
protected _injector: Injector;
|
|
11
|
-
protected _element: ElementRef<HTMLElement>;
|
|
12
|
-
/**
|
|
13
|
-
* Instance of component used for rendering tooltip
|
|
14
|
-
*/
|
|
15
|
-
protected _tooltipComponent?: ComponentRef<TooltipRenderer>;
|
|
16
|
-
/**
|
|
17
|
-
* Instance of HTML element for tooltip renderer
|
|
18
|
-
*/
|
|
19
|
-
protected _tooltipElement?: HTMLElement;
|
|
20
|
-
/**
|
|
21
|
-
* Instance of options provided for this tooltip
|
|
22
|
-
*/
|
|
23
|
-
protected _options: TooltipOptions;
|
|
24
|
-
/**
|
|
25
|
-
* Indication whether there is active show tooltip request
|
|
26
|
-
*/
|
|
27
|
-
protected _showRequest: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Indication whether keep open tooltip component
|
|
30
|
-
*/
|
|
31
|
-
protected _keepOpen: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Timeout that is used for handling mouse move
|
|
34
|
-
*/
|
|
35
|
-
protected _timeout: number | null;
|
|
36
|
-
/**
|
|
37
|
-
* Tooltip text that is displayed, or any data that could be passed to template
|
|
38
|
-
*/
|
|
39
|
-
tooltip?: TData | string;
|
|
40
|
-
/**
|
|
41
|
-
* Indication whether are html tags allowed in tooltip text
|
|
42
|
-
*/
|
|
43
|
-
allowHtml: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Instance of tooltip template that is used for rendering
|
|
46
|
-
*/
|
|
47
|
-
tooltipTemplate?: TemplateRef<any>;
|
|
48
|
-
/**
|
|
49
|
-
* Options used for displaying tooltip
|
|
50
|
-
*/
|
|
51
|
-
get tooltipOptions(): TooltipOptions;
|
|
52
|
-
set tooltipOptions(value: TooltipOptions);
|
|
53
|
-
/**
|
|
54
|
-
* Gets or sets indication whether is tooltip visible, if has boolean value, mouse events cant override this
|
|
55
|
-
*/
|
|
56
|
-
tooltipVisible?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Instance of template from element content, used for rendering
|
|
59
|
-
*/
|
|
60
|
-
tooltipTemplateChild?: TemplateRef<any>;
|
|
61
|
-
constructor(_componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector, _element: ElementRef<HTMLElement>, options: TooltipOptions);
|
|
62
|
-
/**
|
|
63
|
-
* Called when input value changes
|
|
64
|
-
*/
|
|
65
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
66
|
-
/**
|
|
67
|
-
* Called when component is destroyed
|
|
68
|
-
*/
|
|
69
|
-
ngOnDestroy(): void;
|
|
70
|
-
/**
|
|
71
|
-
* Handles mouse leave event, hover ends
|
|
72
|
-
* @param event - Mouse event that occured
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
mouseLeave(event: MouseEvent): void;
|
|
76
|
-
/**
|
|
77
|
-
* Handles mouse move event, displaying tooltip
|
|
78
|
-
* @param event - Mouse event that occured
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
mouseMove(event: MouseEvent): void;
|
|
82
|
-
/**
|
|
83
|
-
* Shows tooltip
|
|
84
|
-
* @param xCoordinate - X coordinate of mouse event in viewport
|
|
85
|
-
*/
|
|
86
|
-
protected _showTooltip(xCoordinate?: number): void;
|
|
87
|
-
/**
|
|
88
|
-
* Hides tooltip
|
|
89
|
-
*/
|
|
90
|
-
protected _hideTooltip(): void;
|
|
91
|
-
/**
|
|
92
|
-
* Destroys tooltip component
|
|
93
|
-
*/
|
|
94
|
-
protected _destroyTooltip(): void;
|
|
95
|
-
/**
|
|
96
|
-
* Creates tooltip renderer component
|
|
97
|
-
*/
|
|
98
|
-
protected _createTooltip(): void;
|
|
99
|
-
/**
|
|
100
|
-
* Sets data to tooltip component and shows them
|
|
101
|
-
*/
|
|
102
|
-
protected _showData(): void;
|
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective<any>, [null, null, null, null, { optional: true; }]>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective<any>, "[tooltip]", never, { "tooltip": "tooltip"; "allowHtml": "allowHtml"; "tooltipTemplate": "tooltipTemplate"; "tooltipOptions": "tooltipOptions"; "tooltipVisible": "tooltipVisible"; }, {}, ["tooltipTemplateChild"]>;
|
|
105
|
-
}
|
|
106
|
-
//# sourceMappingURL=tooltip.directive.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.directive.d.ts","sourceRoot":"","sources":["tooltip.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,wBAAwB,EAAE,YAAY,EAA2B,UAAU,EAAyC,QAAQ,EAAS,SAAS,EAAE,SAAS,EAAY,aAAa,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AAI9O,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,8BAA8B,CAAC;;AAmB7E;;GAEG;AACH,qBAIa,gBAAgB,CAAC,KAAK,GAAG,GAAG,CAAE,YAAW,SAAS,EAAE,SAAS;IAkF1D,SAAS,CAAC,yBAAyB,EAAE,wBAAwB;IAC7D,SAAS,CAAC,OAAO,EAAE,cAAc;IACjC,SAAS,CAAC,SAAS,EAAE,QAAQ;IAC7B,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAjFvD;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAE5D;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,EAAE,WAAW,CAAC;IAExC;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,cAAc,CAAC;IAEnC;;OAEG;IACH,SAAS,CAAC,YAAY,EAAE,OAAO,CAAS;IAExC;;OAEG;IACH,SAAS,CAAC,SAAS,EAAE,OAAO,CAAS;IAErC;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAC,IAAI,CAAQ;IAIvC;;OAEG;IAEI,OAAO,CAAC,EAAE,KAAK,GAAC,MAAM,CAAC;IAE9B;;OAEG;IAEI,SAAS,EAAE,OAAO,CAAS;IAElC;;OAEG;IAEI,eAAe,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,IACW,cAAc,IAAI,cAAc,CAG1C;IACD,IAAW,cAAc,CAAC,KAAK,EAAE,cAAc,EAG9C;IAED;;OAEG;IAEI,cAAc,CAAC,EAAE,OAAO,CAAC;IAIhC;;OAEG;IAEI,oBAAoB,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;gBAGzB,yBAAyB,EAAE,wBAAwB,EACnD,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,QAAQ,EACnB,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC,EACN,OAAO,EAAE,cAAc;IAOxE;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAiBhD;;OAEG;IACI,WAAW,IAAI,IAAI;IAO1B;;;;OAIG;IAEI,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAoB1C;;;;OAIG;IAEI,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAmCzC;;;OAGG;IACH,SAAS,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI;IAYlD;;OAEG;IACH,SAAS,CAAC,YAAY,IAAI,IAAI;IAK9B;;OAEG;IACH,SAAS,CAAC,eAAe,IAAI,IAAI;IAWjC;;OAEG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI;IAqBhC;;OAEG;IACH,SAAS,CAAC,SAAS,IAAI,IAAI;yCA/PlB,gBAAgB;2CAAhB,gBAAgB;CAkS5B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { TooltipOptions } from './tooltip.interface';
|
|
3
|
-
/**
|
|
4
|
-
* Injection token used for injecting tooltip options
|
|
5
|
-
*/
|
|
6
|
-
export declare const TOOLTIP_OPTIONS: InjectionToken<TooltipOptions>;
|
|
7
|
-
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,cAAc,CAAyD,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import type { PositionsCoordinates } from 'positions';
|
|
3
|
-
/**
|
|
4
|
-
* Represents component that is used for rendering tooltip
|
|
5
|
-
*/
|
|
6
|
-
export interface TooltipRenderer<TData = any> {
|
|
7
|
-
/**
|
|
8
|
-
* Data that are rendered in tooltip
|
|
9
|
-
*/
|
|
10
|
-
data: TData | null;
|
|
11
|
-
/**
|
|
12
|
-
* Template used for rendering tooltip
|
|
13
|
-
*/
|
|
14
|
-
template: TemplateRef<TData> | null;
|
|
15
|
-
/**
|
|
16
|
-
* Indication whether are html tags allowed in tooltip text
|
|
17
|
-
*/
|
|
18
|
-
allowHtml: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Css class that is applied to tooltip renderer component
|
|
21
|
-
*/
|
|
22
|
-
cssClass: string | null;
|
|
23
|
-
/**
|
|
24
|
-
* Registers handlers that allows reaction to entering or leaving tooltip
|
|
25
|
-
* @param enter - Called when mouse enter tooltip component, hover
|
|
26
|
-
* @param leave - Called when mouse leaves tooltip component
|
|
27
|
-
*/
|
|
28
|
-
registerHoverEvents(enter: () => void, leave: () => void): void;
|
|
29
|
-
/**
|
|
30
|
-
* Explicitly runs invalidation of content (change detection)
|
|
31
|
-
*/
|
|
32
|
-
invalidateVisuals(): void;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Options used for tooltip directive
|
|
36
|
-
*/
|
|
37
|
-
export interface TooltipOptions {
|
|
38
|
-
/**
|
|
39
|
-
* Delay for displaying of tooltip on hover
|
|
40
|
-
*/
|
|
41
|
-
delay?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Indication whether is tooltip displayed at fixed position, or if it is displayed where cursor enters element
|
|
44
|
-
*/
|
|
45
|
-
fixedPosition?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Position where should be tooltip displayed at element
|
|
48
|
-
*/
|
|
49
|
-
elementPositionAt?: PositionsCoordinates;
|
|
50
|
-
/**
|
|
51
|
-
* Position of tooltip where should placed at
|
|
52
|
-
*/
|
|
53
|
-
tooltipPosition?: PositionsCoordinates;
|
|
54
|
-
/**
|
|
55
|
-
* Allows selection of text in tooltip
|
|
56
|
-
*/
|
|
57
|
-
allowSelection?: boolean | null;
|
|
58
|
-
/**
|
|
59
|
-
* Css class that is applied to tooltip renderer component
|
|
60
|
-
*/
|
|
61
|
-
tooltipCssClass?: string | null;
|
|
62
|
-
/**
|
|
63
|
-
* Indication whether stop propagation of "hover" event
|
|
64
|
-
*/
|
|
65
|
-
stopPropagation?: boolean | null;
|
|
66
|
-
/**
|
|
67
|
-
* Type of tooltip renderer that is used for rendering tooltip
|
|
68
|
-
*/
|
|
69
|
-
tooltipRenderer?: Type<TooltipRenderer>;
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=tooltip.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.interface.d.ts","sourceRoot":"","sources":["tooltip.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,WAAW,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,KAAK,GAAG,GAAG;IAIxC;;OAEG;IACH,IAAI,EAAE,KAAK,GAAC,IAAI,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,GAAC,IAAI,CAAC;IAElC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAC,IAAI,CAAC;IAItB;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAEhE;;OAEG;IACH,iBAAiB,IAAI,IAAI,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IAEzC;;OAEG;IACH,eAAe,CAAC,EAAE,oBAAoB,CAAC;IAEvC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAC,IAAI,CAAC;IAE9B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAC,IAAI,CAAC;IAE9B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,GAAC,IAAI,CAAC;IAE/B;;OAEG;IACH,eAAe,CAAC,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;CAC3C"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../directives/tooltip/tooltip.directive";
|
|
3
|
-
import * as i2 from "../components/tooltip/tooltip.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
/**
|
|
6
|
-
* Module for rendering tooltips
|
|
7
|
-
*/
|
|
8
|
-
export declare class TooltipModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof i1.TooltipDirective, typeof i2.TooltipComponent], [typeof i3.CommonModule], [typeof i1.TooltipDirective]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=tooltip.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.module.d.ts","sourceRoot":"","sources":["tooltip.module.ts"],"names":[],"mappings":";;;;AAMA;;GAEG;AACH,qBAgBa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAEzB"}
|