@progress/kendo-angular-tooltip 17.0.0-develop.4 → 17.0.0-develop.41
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/README.md +32 -32
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +13 -8
- package/{esm2020 → esm2022}/models/events.mjs +24 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/popover/anchor.directive.mjs +46 -41
- package/{esm2020 → esm2022}/popover/container.directive.mjs +58 -46
- package/{esm2020 → esm2022}/popover/directives-base.mjs +31 -15
- package/{esm2020 → esm2022}/popover/popover.component.mjs +145 -86
- package/{esm2020 → esm2022}/popover/popover.service.mjs +12 -8
- package/{esm2020 → esm2022}/popover/template-directives/actions-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/popover/template-directives/body-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/popover/template-directives/title-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/popover.module.mjs +4 -4
- package/{esm2020 → esm2022}/tooltip/tooltip.content.component.mjs +66 -48
- package/{esm2020 → esm2022}/tooltip/tooltip.directive.mjs +116 -62
- package/{esm2020 → esm2022}/tooltip/tooltip.settings.mjs +40 -3
- package/{esm2020 → esm2022}/tooltip.module.mjs +4 -4
- package/{esm2020 → esm2022}/tooltips.module.mjs +4 -4
- package/{fesm2020 → fesm2022}/progress-kendo-angular-tooltip.mjs +579 -342
- package/localization/localized-messages.directive.d.ts +1 -1
- package/models/animation.model.d.ts +1 -1
- package/models/functions.model.d.ts +2 -2
- package/models/popover-show-option.type.d.ts +1 -1
- package/models/position.type.d.ts +1 -1
- package/models/show.option.type.d.ts +1 -1
- package/package.json +14 -20
- package/popover/container.directive.d.ts +1 -1
- package/popover/directives-base.d.ts +1 -1
- package/popover/popover.component.d.ts +1 -1
- package/tooltip/tooltip.content.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-tooltip.mjs +0 -2312
- /package/{esm2020 → esm2022}/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/models/animation.model.mjs +0 -0
- /package/{esm2020 → esm2022}/models/functions.model.mjs +0 -0
- /package/{esm2020 → esm2022}/models/popover-show-option.type.mjs +0 -0
- /package/{esm2020 → esm2022}/models/position.type.mjs +0 -0
- /package/{esm2020 → esm2022}/models/show.option.type.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/utils.mjs +0 -0
|
@@ -15,5 +15,5 @@ export declare class LocalizedMessagesDirective extends ComponentMessages {
|
|
|
15
15
|
closeTitle: string;
|
|
16
16
|
constructor(service: LocalizationService);
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoTooltipLocalizedMessages]", never, { "closeTitle": "closeTitle"; }, {}, never, never, true, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoTooltipLocalizedMessages]", never, { "closeTitle": { "alias": "closeTitle"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
19
|
}
|
|
@@ -8,10 +8,10 @@ import { PopoverComponent } from "../popover/popover.component";
|
|
|
8
8
|
* It returns the popover instance to be displayed.
|
|
9
9
|
* ([see example]({% slug configuration_popover %}#toc-popover-callback))
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type PopoverFn = (anchor: Element) => PopoverComponent;
|
|
12
12
|
/**
|
|
13
13
|
* Represents the callback that is used by the [`templateData`]({% slug api_tooltip_popovercomponent %}#toc-templateData) property.
|
|
14
14
|
* It returns the custom data that will be passed to the popover templates.
|
|
15
15
|
* ([see example]({% slug templates_popover %}#toc-passing-data-to-templates))
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type PopoverDataFn = (anchor: Element) => any;
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
* - `right`—Aligns the tooltip with the rightmost point of the `anchor` element.
|
|
12
12
|
* - `left`—Aligns the tooltip with the leftmost point of the `anchor` element.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type Position = 'top' | 'bottom' | 'right' | 'left';
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
* - `click`—Tooltip is rendered when its `anchor` element is clicked.
|
|
11
11
|
* - `none`—Tooltip is not rendered in `kendoTooltip` container.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ShowOption = 'hover' | 'click' | 'none';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-tooltip",
|
|
3
|
-
"version": "17.0.0-develop.
|
|
3
|
+
"version": "17.0.0-develop.41",
|
|
4
4
|
"description": "Kendo UI Tooltip for Angular - A highly customizable and easily themeable tooltip from the creators developers trust for professional Angular components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -20,27 +20,23 @@
|
|
|
20
20
|
"friendlyName": "Tooltip"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@angular/animations": "
|
|
24
|
-
"@angular/common": "
|
|
25
|
-
"@angular/core": "
|
|
26
|
-
"@angular/platform-browser": "
|
|
23
|
+
"@angular/animations": "16 - 18",
|
|
24
|
+
"@angular/common": "16 - 18",
|
|
25
|
+
"@angular/core": "16 - 18",
|
|
26
|
+
"@angular/platform-browser": "16 - 18",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "17.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-l10n": "17.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-popup": "17.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-icons": "17.0.0-develop.
|
|
28
|
+
"@progress/kendo-angular-common": "17.0.0-develop.41",
|
|
29
|
+
"@progress/kendo-angular-l10n": "17.0.0-develop.41",
|
|
30
|
+
"@progress/kendo-angular-popup": "17.0.0-develop.41",
|
|
31
|
+
"@progress/kendo-angular-icons": "17.0.0-develop.41",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "17.0.0-develop.
|
|
36
|
+
"@progress/kendo-angular-schematics": "17.0.0-develop.41"
|
|
37
37
|
},
|
|
38
38
|
"schematics": "./schematics/collection.json",
|
|
39
|
-
"module": "
|
|
40
|
-
"es2020": "fesm2020/progress-kendo-angular-tooltip.mjs",
|
|
41
|
-
"esm2020": "esm2020/progress-kendo-angular-tooltip.mjs",
|
|
42
|
-
"fesm2020": "fesm2020/progress-kendo-angular-tooltip.mjs",
|
|
43
|
-
"fesm2015": "fesm2015/progress-kendo-angular-tooltip.mjs",
|
|
39
|
+
"module": "fesm2022/progress-kendo-angular-tooltip.mjs",
|
|
44
40
|
"typings": "index.d.ts",
|
|
45
41
|
"exports": {
|
|
46
42
|
"./package.json": {
|
|
@@ -48,11 +44,9 @@
|
|
|
48
44
|
},
|
|
49
45
|
".": {
|
|
50
46
|
"types": "./index.d.ts",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"node": "./fesm2015/progress-kendo-angular-tooltip.mjs",
|
|
55
|
-
"default": "./fesm2020/progress-kendo-angular-tooltip.mjs"
|
|
47
|
+
"esm2022": "./esm2022/progress-kendo-angular-tooltip.mjs",
|
|
48
|
+
"esm": "./esm2022/progress-kendo-angular-tooltip.mjs",
|
|
49
|
+
"default": "./fesm2022/progress-kendo-angular-tooltip.mjs"
|
|
56
50
|
}
|
|
57
51
|
},
|
|
58
52
|
"sideEffects": false
|
|
@@ -55,5 +55,5 @@ export declare class PopoverContainerDirective extends PopoverDirectivesBase {
|
|
|
55
55
|
private clickHandler;
|
|
56
56
|
private controlVisibility;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverContainerDirective, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverContainerDirective, "[kendoPopoverContainer]", ["kendoPopoverContainer"], { "filter": "filter"; }, {}, never, never, true, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverContainerDirective, "[kendoPopoverContainer]", ["kendoPopoverContainer"], { "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
59
|
}
|
|
@@ -98,5 +98,5 @@ export declare abstract class PopoverDirectivesBase {
|
|
|
98
98
|
private shouldEmitEvent;
|
|
99
99
|
private shouldEmitCompletionEvents;
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirectivesBase, never>;
|
|
101
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirectivesBase, never, never, { "popover": "popover"; "showOn": "showOn"; }, {}, never, never, false, never>;
|
|
101
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirectivesBase, never, never, { "popover": { "alias": "popover"; "required": false; }; "showOn": { "alias": "showOn"; "required": false; }; }, {}, never, never, false, never>;
|
|
102
102
|
}
|
|
@@ -202,5 +202,5 @@ export declare class PopoverComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
202
202
|
private keepFocusWithinComponent;
|
|
203
203
|
private setAriaAttributes;
|
|
204
204
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
205
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "kendo-popover", never, { "position": "position"; "offset": "offset"; "width": "width"; "height": "height"; "title": "title"; "subtitle": "subtitle"; "body": "body"; "callout": "callout"; "animation": "animation"; "templateData": "templateData"; }, { "show": "show"; "shown": "shown"; "hide": "hide"; "hidden": "hidden"; "closeOnKeyDown": "closeOnKeyDown"; }, ["titleTemplate", "bodyTemplate", "actionsTemplate"], never, true, never>;
|
|
205
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "kendo-popover", never, { "position": { "alias": "position"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "body": { "alias": "body"; "required": false; }; "callout": { "alias": "callout"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "templateData": { "alias": "templateData"; "required": false; }; }, { "show": "show"; "shown": "shown"; "hide": "hide"; "hidden": "hidden"; "closeOnKeyDown": "closeOnKeyDown"; }, ["titleTemplate", "bodyTemplate", "actionsTemplate"], never, true, never>;
|
|
206
206
|
}
|
|
@@ -51,5 +51,5 @@ export declare class TooltipContentComponent {
|
|
|
51
51
|
updateCalloutPosition(position: Position, isFlip: boolean): void;
|
|
52
52
|
private calloutStyles;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContentComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "kendo-tooltip", never, { "tooltipWidth": "tooltipWidth"; "tooltipHeight": "tooltipHeight"; "titleTemplate": "titleTemplate"; "anchor": "anchor"; "closable": "closable"; "templateRef": "templateRef"; "templateString": "templateString"; }, { "close": "close"; }, never, never, true, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "kendo-tooltip", never, { "tooltipWidth": { "alias": "tooltipWidth"; "required": false; }; "tooltipHeight": { "alias": "tooltipHeight"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "templateString": { "alias": "templateString"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
55
55
|
}
|
|
@@ -164,5 +164,5 @@ export declare class TooltipDirective implements OnDestroy, OnChanges, AfterView
|
|
|
164
164
|
private onMouseOut;
|
|
165
165
|
private verifyProperties;
|
|
166
166
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
167
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[kendoTooltip]", ["kendoTooltip"], { "filter": "filter"; "position": "position"; "titleTemplate": "titleTemplate"; "showOn": "showOn"; "showAfter": "showAfter"; "callout": "callout"; "closable": "closable"; "offset": "offset"; "tooltipWidth": "tooltipWidth"; "tooltipHeight": "tooltipHeight"; "tooltipClass": "tooltipClass"; "tooltipContentClass": "tooltipContentClass"; "collision": "collision"; "closeTitle": "closeTitle"; "tooltipTemplate": "tooltipTemplate"; }, {}, never, never, true, never>;
|
|
167
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[kendoTooltip]", ["kendoTooltip"], { "filter": { "alias": "filter"; "required": false; }; "position": { "alias": "position"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; }; "showOn": { "alias": "showOn"; "required": false; }; "showAfter": { "alias": "showAfter"; "required": false; }; "callout": { "alias": "callout"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "tooltipWidth": { "alias": "tooltipWidth"; "required": false; }; "tooltipHeight": { "alias": "tooltipHeight"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; "tooltipContentClass": { "alias": "tooltipContentClass"; "required": false; }; "collision": { "alias": "collision"; "required": false; }; "closeTitle": { "alias": "closeTitle"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
168
168
|
}
|