@anglr/common 11.3.0-beta.20220413045755 → 11.3.1-beta.20220413101342
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 +22 -9
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +1 -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/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/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/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
|
@@ -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,a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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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.
|
|
1
|
+
11.3.1-beta.20220413101342
|
|
@@ -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"}
|