@anglr/common 11.3.0-beta.20220412124216 → 11.3.0
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 -10
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +2 -1
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.context.js +2 -0
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.context.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -1
- package/es2015/forms/src/modules/errorMessage/directives/index.js +1 -1
- package/es2015/forms/src/modules/errorMessage/directives/index.js.map +1 -1
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +16 -2
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
- package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +4 -33
- package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
- package/es2015/src/modules/tooltip/directives/index.js +1 -0
- package/es2015/src/modules/tooltip/directives/index.js.map +1 -1
- package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +23 -5
- package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
- package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.context.js +2 -0
- package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.context.js.map +1 -0
- package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +7 -0
- package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js.map +1 -1
- package/es2015/src/modules/tooltip/misc/tooltip.interface.js.map +1 -1
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +1 -1
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.context.js +2 -0
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.context.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -1
- package/es2020/forms/src/modules/errorMessage/directives/index.js +1 -1
- package/es2020/forms/src/modules/errorMessage/directives/index.js.map +1 -1
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +16 -2
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
- package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +4 -33
- package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
- package/es2020/src/modules/tooltip/directives/index.js +1 -0
- package/es2020/src/modules/tooltip/directives/index.js.map +1 -1
- package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +23 -5
- package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
- package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.context.js +2 -0
- package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.context.js.map +1 -0
- package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +7 -0
- package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js.map +1 -1
- package/es2020/src/modules/tooltip/misc/tooltip.interface.js.map +1 -1
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/{groupErrorTemplate.context.d.ts → groupErrorsTemplate.context.d.ts} +1 -1
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.context.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts +1 -1
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/directives/index.d.ts +1 -1
- package/forms/src/modules/errorMessage/directives/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +12 -3
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +1 -1
- package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +2 -6
- package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
- package/src/modules/tooltip/directives/index.d.ts +1 -0
- package/src/modules/tooltip/directives/index.d.ts.map +1 -1
- package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts +14 -3
- package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts.map +1 -1
- package/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.context.d.ts +10 -0
- package/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.context.d.ts.map +1 -0
- package/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.d.ts +7 -2
- package/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.d.ts.map +1 -1
- package/src/modules/tooltip/misc/tooltip.interface.d.ts +11 -1
- package/src/modules/tooltip/misc/tooltip.interface.d.ts.map +1 -1
- package/version.bak +1 -1
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js +0 -2
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js.map +0 -1
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js +0 -2
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js.map +0 -1
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.d.ts.map +0 -1
|
@@ -4,12 +4,17 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* Directive that handles click outside of element
|
|
5
5
|
*/
|
|
6
6
|
export declare class ClickOutsideDirective implements OnInit, OnDestroy {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
protected _element: ElementRef<HTMLElement>;
|
|
8
|
+
protected _document: Document;
|
|
9
9
|
/**
|
|
10
10
|
* Variable that is used for displaying element that handles click outside
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
protected _clickOutsideCondition: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Variable that is used for displaying element that handles click outside
|
|
15
|
+
*/
|
|
16
|
+
get clickOutsideCondition(): boolean;
|
|
17
|
+
set clickOutsideCondition(value: boolean);
|
|
13
18
|
/**
|
|
14
19
|
* Additional element that is checked for click
|
|
15
20
|
*/
|
|
@@ -32,6 +37,10 @@ export declare class ClickOutsideDirective implements OnInit, OnDestroy {
|
|
|
32
37
|
* @param event - Mouse event object
|
|
33
38
|
*/
|
|
34
39
|
protected _handleClickOutside: (event: MouseEvent) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Custom input type for `clickOutsideCondition` input
|
|
42
|
+
*/
|
|
43
|
+
static ngAcceptInputType_clickOutsideCondition: boolean | '';
|
|
35
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
36
45
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, { "clickOutsideCondition": "clickOutside"; "clickOutsideElement": "clickOutsideElement"; }, { "clickOutsideConditionChange": "clickOutsideChange"; }, never>;
|
|
37
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickOutside.directive.d.ts","sourceRoot":"","sources":["clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,SAAS,EAAS,YAAY,EAAU,UAAU,EAAS,MAAM,eAAe,CAAC;;AAI5G;;GAEG;AACH,qBAIa,qBAAsB,YAAW,MAAM,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"clickOutside.directive.d.ts","sourceRoot":"","sources":["clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,SAAS,EAAS,YAAY,EAAU,UAAU,EAAS,MAAM,eAAe,CAAC;;AAI5G;;GAEG;AACH,qBAIa,qBAAsB,YAAW,MAAM,EAAE,SAAS;IA8C/C,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IACzB,SAAS,CAAC,SAAS,EAAE,QAAQ;IA3C3D;;OAEG;IACH,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAC;IAI1C;;OAEG;IACH,IACW,qBAAqB,IAAI,OAAO,CAG1C;IACD,IAAW,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAU9C;IAED;;OAEG;IAEI,mBAAmB,EAAE,WAAW,CAAC;IAIxC;;OAEG;IAEI,2BAA2B,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;gBAGlE,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC,EACf,SAAS,EAAE,QAAQ;IAM3D;;OAEG;IACI,QAAQ,IAAI,IAAI;IAOvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAO1B;;;OAGG;IACH,SAAS,CAAC,mBAAmB,UAAW,UAAU,UAUjD;IAID;;OAEG;IACH,OAAc,uCAAuC,EAAE,OAAO,GAAC,EAAE,CAAC;yCA9FzD,qBAAqB;2CAArB,qBAAqB;CA+FjC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TemplateRef, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { TooltipTemplateContext } from '../../directives';
|
|
2
3
|
import { TooltipRenderer } from '../../misc/tooltip.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
@@ -22,7 +23,7 @@ export declare class TooltipComponent<TData = any> implements TooltipRenderer<TD
|
|
|
22
23
|
/**
|
|
23
24
|
* Template used for rendering tooltip
|
|
24
25
|
*/
|
|
25
|
-
template: TemplateRef<TData
|
|
26
|
+
template: TemplateRef<TooltipTemplateContext<TData>> | null | undefined;
|
|
26
27
|
/**
|
|
27
28
|
* Indication whether are html tags allowed in tooltip text
|
|
28
29
|
*/
|
|
@@ -31,11 +32,6 @@ export declare class TooltipComponent<TData = any> implements TooltipRenderer<TD
|
|
|
31
32
|
* Css class that is applied to tooltip renderer component
|
|
32
33
|
*/
|
|
33
34
|
cssClass: string | null | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* Attach fade in/out animation to element
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
animation: boolean;
|
|
39
35
|
constructor(_changeDetector: ChangeDetectorRef, _element: ElementRef<HTMLElement>);
|
|
40
36
|
/**
|
|
41
37
|
* Registers handlers that allows reaction to entering or leaving tooltip
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.component.d.ts","sourceRoot":"","sources":["tooltip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,WAAW,EAAE,iBAAiB,
|
|
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;AAE3H,OAAO,EAAC,sBAAsB,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;;AAE7D;;GAEG;AACH,qBAOa,gBAAgB,CAAC,KAAK,GAAG,GAAG,CAAE,YAAW,eAAe,CAAC,KAAK,CAAC;IAqC5D,SAAS,CAAC,eAAe,EAAE,iBAAiB;IAC5C,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAlCvD;;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,GAAC,SAAS,CAAC;IAElC;;OAEG;IACI,QAAQ,EAAE,WAAW,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,GAAC,IAAI,GAAC,SAAS,CAAC;IAE3E;;OAEG;IACI,SAAS,EAAE,OAAO,CAAS;IAElC;;OAEG;IACI,QAAQ,EAAE,MAAM,GAAC,IAAI,GAAC,SAAS,CAAC;gBAGjB,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;yCArFhB,gBAAgB;2CAAhB,gBAAgB;CAyF5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6CAA6C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ComponentRef, ElementRef, Injector, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AnimationBuilder, AnimationFactory } from '@angular/animations';
|
|
2
3
|
import { TooltipOptions, TooltipRenderer } from '../../misc/tooltip.interface';
|
|
3
4
|
import { Position } from '../../../../services/position';
|
|
4
5
|
import { TooltipTemplateDirective } from '../tooltipTemplate/tooltipTemplate.directive';
|
|
6
|
+
import { TooltipTemplateContext } from '../tooltipTemplate/tooltipTemplate.context';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
/**
|
|
7
9
|
* Directive used for rendering tooltip
|
|
@@ -10,6 +12,7 @@ export declare class TooltipDirective<TData = any> implements OnChanges, OnDestr
|
|
|
10
12
|
protected _viewContainerRef: ViewContainerRef;
|
|
11
13
|
protected _injector: Injector;
|
|
12
14
|
protected _element: ElementRef<HTMLElement>;
|
|
15
|
+
protected _animationsPlayer: AnimationBuilder;
|
|
13
16
|
protected _document: Document;
|
|
14
17
|
protected _position: Position;
|
|
15
18
|
/**
|
|
@@ -20,6 +23,14 @@ export declare class TooltipDirective<TData = any> implements OnChanges, OnDestr
|
|
|
20
23
|
* Instance of HTML element for tooltip renderer
|
|
21
24
|
*/
|
|
22
25
|
protected _tooltipElement?: HTMLElement;
|
|
26
|
+
/**
|
|
27
|
+
* Animation factory used for enter animation of tooltip
|
|
28
|
+
*/
|
|
29
|
+
protected _enterAnimation: AnimationFactory;
|
|
30
|
+
/**
|
|
31
|
+
* Animation factory used for exit animation of tooltip
|
|
32
|
+
*/
|
|
33
|
+
protected _exitAnimation: AnimationFactory;
|
|
23
34
|
/**
|
|
24
35
|
* Instance of options provided for this tooltip
|
|
25
36
|
*/
|
|
@@ -47,7 +58,7 @@ export declare class TooltipDirective<TData = any> implements OnChanges, OnDestr
|
|
|
47
58
|
/**
|
|
48
59
|
* Instance of tooltip template that is used for rendering
|
|
49
60
|
*/
|
|
50
|
-
tooltipTemplate?: TemplateRef<TData
|
|
61
|
+
tooltipTemplate?: TemplateRef<TooltipTemplateContext<TData>>;
|
|
51
62
|
/**
|
|
52
63
|
* Options used for displaying tooltip
|
|
53
64
|
*/
|
|
@@ -61,7 +72,7 @@ export declare class TooltipDirective<TData = any> implements OnChanges, OnDestr
|
|
|
61
72
|
* Instance of template from element content, used for rendering
|
|
62
73
|
*/
|
|
63
74
|
tooltipTemplateChild?: TooltipTemplateDirective;
|
|
64
|
-
constructor(_viewContainerRef: ViewContainerRef, _injector: Injector, _element: ElementRef<HTMLElement>, _document: Document, _position: Position, options?: Partial<TooltipOptions>);
|
|
75
|
+
constructor(_viewContainerRef: ViewContainerRef, _injector: Injector, _element: ElementRef<HTMLElement>, _animationsPlayer: AnimationBuilder, _document: Document, _position: Position, options?: Partial<TooltipOptions>);
|
|
65
76
|
/**
|
|
66
77
|
* Called when input value changes
|
|
67
78
|
*/
|
|
@@ -107,7 +118,7 @@ export declare class TooltipDirective<TData = any> implements OnChanges, OnDestr
|
|
|
107
118
|
* Custom input type for `tooltip` input
|
|
108
119
|
*/
|
|
109
120
|
static ngAcceptInputType_tooltip: any;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective<any>, [null, null, null, null, null, null, { optional: true; }]>;
|
|
111
122
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective<any>, "[tooltip]", never, { "tooltip": "tooltip"; "allowHtml": "allowHtml"; "tooltipTemplate": "tooltipTemplate"; "tooltipOptions": "tooltipOptions"; "tooltipVisible": "tooltipVisible"; }, {}, ["tooltipTemplateChild"]>;
|
|
112
123
|
}
|
|
113
124
|
//# sourceMappingURL=tooltip.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.directive.d.ts","sourceRoot":"","sources":["tooltip.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAA2B,UAAU,EAAyC,QAAQ,EAAS,SAAS,EAAE,SAAS,EAAY,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"tooltip.directive.d.ts","sourceRoot":"","sources":["tooltip.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAA2B,UAAU,EAAyC,QAAQ,EAAS,SAAS,EAAE,SAAS,EAAY,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAC,MAAM,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":3,"file":"tooltipTemplate.context.d.ts","sourceRoot":"","sources":["tooltipTemplate.context.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,KAAK,GAAG,GAAG;IAE/C;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC;CACpB"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { TooltipTemplateContext } from './tooltipTemplate.context';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* Directive used for obtaining custom tooltip template
|
|
5
6
|
*/
|
|
6
7
|
export declare class TooltipTemplateDirective<TData = any> {
|
|
7
|
-
template: TemplateRef<TData
|
|
8
|
-
constructor(template: TemplateRef<TData
|
|
8
|
+
template: TemplateRef<TooltipTemplateContext<TData>>;
|
|
9
|
+
constructor(template: TemplateRef<TooltipTemplateContext<TData>>);
|
|
10
|
+
/**
|
|
11
|
+
* Allows typechecking for template
|
|
12
|
+
*/
|
|
13
|
+
static ngTemplateContextGuard(_dir: TooltipTemplateDirective, _ctx: unknown): _ctx is TooltipTemplateContext;
|
|
9
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTemplateDirective<any>, never>;
|
|
10
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipTemplateDirective<any>, "[tooltipTemplate]", never, {}, {}, never>;
|
|
11
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltipTemplate.directive.d.ts","sourceRoot":"","sources":["tooltipTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAC,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"tooltipTemplate.directive.d.ts","sourceRoot":"","sources":["tooltipTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAC,MAAM,eAAe,CAAC;AAErD,OAAO,EAAC,sBAAsB,EAAC,MAAM,2BAA2B,CAAC;;AAEjE;;GAEG;AACH,qBAIa,wBAAwB,CAAC,KAAK,GAAG,GAAG;IAG1B,QAAQ,EAAE,WAAW,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;gBAApD,QAAQ,EAAE,WAAW,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAMvE;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,sBAAsB;yCAZnG,wBAAwB;2CAAxB,wBAAwB;CAgBpC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { AnimationMetadata } from '@angular/animations';
|
|
2
3
|
import { PositionOptions } from '../../../services/position';
|
|
4
|
+
import { TooltipTemplateContext } from '../directives';
|
|
3
5
|
/**
|
|
4
6
|
* Represents component that is used for rendering tooltip
|
|
5
7
|
*/
|
|
@@ -11,7 +13,7 @@ export interface TooltipRenderer<TData = any> {
|
|
|
11
13
|
/**
|
|
12
14
|
* Template used for rendering tooltip
|
|
13
15
|
*/
|
|
14
|
-
template: TemplateRef<TData
|
|
16
|
+
template: TemplateRef<TooltipTemplateContext<TData>> | null | undefined;
|
|
15
17
|
/**
|
|
16
18
|
* Indication whether are html tags allowed in tooltip text
|
|
17
19
|
*/
|
|
@@ -59,5 +61,13 @@ export interface TooltipOptions {
|
|
|
59
61
|
* Type of tooltip renderer that is used for rendering tooltip
|
|
60
62
|
*/
|
|
61
63
|
tooltipRenderer: Type<TooltipRenderer>;
|
|
64
|
+
/**
|
|
65
|
+
* Animation used to tooltip component when it is displayed
|
|
66
|
+
*/
|
|
67
|
+
enterAnimation: AnimationMetadata;
|
|
68
|
+
/**
|
|
69
|
+
* Animation used to tooltip component when it is hidden
|
|
70
|
+
*/
|
|
71
|
+
exitAnimation: AnimationMetadata;
|
|
62
72
|
}
|
|
63
73
|
//# sourceMappingURL=tooltip.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,KAAK,GAAG,GAAG;IAIxC;;OAEG;IACH,IAAI,EAAE,KAAK,GAAC,IAAI,GAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,GAAC,IAAI,GAAC,SAAS,CAAC;IAEpE;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAC,IAAI,GAAC,SAAS,CAAC;IAIhC;;;;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,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,GAAC,QAAQ,CAAC,CAAC;IAEtD;;OAEG;IACH,cAAc,EAAE,OAAO,GAAC,IAAI,CAAC;IAE7B;;OAEG;IACH,eAAe,EAAE,MAAM,GAAC,IAAI,CAAC;IAE7B;;OAEG;IACH,eAAe,EAAE,OAAO,GAAC,IAAI,CAAC;IAE9B;;OAEG;IACH,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IAEvC;;OAEG;IACH,cAAc,EAAE,iBAAiB,CAAC;IAElC;;OAEG;IACH,aAAa,EAAE,iBAAiB,CAAC;CACpC"}
|
package/version.bak
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.3.0
|
|
1
|
+
11.3.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"groupErrorTemplate.context.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.ts"],"names":[],"mappings":"","sourcesContent":["import {Dictionary} from '@jscrpt/common';\n\n/**\n * Context passed to template of group error\n */\nexport interface GroupErrorsTemplateContext\n{\n /**\n * Name/code of error\n */\n $implicit: string;\n\n /**\n * Indication whether rendered error is last\n */\n last: boolean;\n\n /**\n * Indication whether rendered error is first\n */\n first: boolean;\n\n /**\n * Index of currently rendered item\n */\n index: number;\n\n /**\n * Object storing all errors for form group\n */\n errors: Dictionary;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"groupErrorTemplate.context.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.ts"],"names":[],"mappings":"","sourcesContent":["import {Dictionary} from '@jscrpt/common';\n\n/**\n * Context passed to template of group error\n */\nexport interface GroupErrorsTemplateContext\n{\n /**\n * Name/code of error\n */\n $implicit: string;\n\n /**\n * Indication whether rendered error is last\n */\n last: boolean;\n\n /**\n * Indication whether rendered error is first\n */\n first: boolean;\n\n /**\n * Index of currently rendered item\n */\n index: number;\n\n /**\n * Object storing all errors for form group\n */\n errors: Dictionary;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"groupErrorTemplate.context.d.ts","sourceRoot":"","sources":["groupErrorTemplate.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAEvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;CACtB"}
|