@progress/kendo-angular-tooltip 17.0.0-develop.9 → 17.0.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.
Files changed (42) hide show
  1. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +13 -8
  2. package/{esm2020 → esm2022}/models/events.mjs +24 -0
  3. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  4. package/{esm2020 → esm2022}/popover/anchor.directive.mjs +46 -41
  5. package/{esm2020 → esm2022}/popover/container.directive.mjs +58 -46
  6. package/{esm2020 → esm2022}/popover/directives-base.mjs +31 -15
  7. package/{esm2020 → esm2022}/popover/popover.component.mjs +145 -86
  8. package/{esm2020 → esm2022}/popover/popover.service.mjs +12 -8
  9. package/{esm2020 → esm2022}/popover/template-directives/actions-template.directive.mjs +4 -3
  10. package/{esm2020 → esm2022}/popover/template-directives/body-template.directive.mjs +4 -3
  11. package/{esm2020 → esm2022}/popover/template-directives/title-template.directive.mjs +4 -3
  12. package/{esm2020 → esm2022}/popover.module.mjs +4 -4
  13. package/{esm2020 → esm2022}/tooltip/tooltip.content.component.mjs +66 -48
  14. package/{esm2020 → esm2022}/tooltip/tooltip.directive.mjs +116 -62
  15. package/{esm2020 → esm2022}/tooltip/tooltip.settings.mjs +40 -3
  16. package/{esm2020 → esm2022}/tooltip.module.mjs +4 -4
  17. package/{esm2020 → esm2022}/tooltips.module.mjs +4 -4
  18. package/{fesm2020 → fesm2022}/progress-kendo-angular-tooltip.mjs +579 -342
  19. package/localization/localized-messages.directive.d.ts +1 -1
  20. package/models/animation.model.d.ts +1 -1
  21. package/models/functions.model.d.ts +2 -2
  22. package/models/popover-show-option.type.d.ts +1 -1
  23. package/models/position.type.d.ts +1 -1
  24. package/models/show.option.type.d.ts +1 -1
  25. package/package.json +14 -20
  26. package/popover/container.directive.d.ts +1 -1
  27. package/popover/directives-base.d.ts +1 -1
  28. package/popover/popover.component.d.ts +1 -1
  29. package/schematics/ngAdd/index.js +1 -1
  30. package/tooltip/tooltip.content.component.d.ts +1 -1
  31. package/tooltip/tooltip.directive.d.ts +1 -1
  32. package/fesm2015/progress-kendo-angular-tooltip.mjs +0 -2312
  33. /package/{esm2020 → esm2022}/constants.mjs +0 -0
  34. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  35. /package/{esm2020 → esm2022}/index.mjs +0 -0
  36. /package/{esm2020 → esm2022}/models/animation.model.mjs +0 -0
  37. /package/{esm2020 → esm2022}/models/functions.model.mjs +0 -0
  38. /package/{esm2020 → esm2022}/models/popover-show-option.type.mjs +0 -0
  39. /package/{esm2020 → esm2022}/models/position.type.mjs +0 -0
  40. /package/{esm2020 → esm2022}/models/show.option.type.mjs +0 -0
  41. /package/{esm2020 → esm2022}/progress-kendo-angular-tooltip.mjs +0 -0
  42. /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
  }
@@ -6,4 +6,4 @@ import { PopupAnimation } from "@progress/kendo-angular-popup";
6
6
  /**
7
7
  * Specifies the available Popover animation options
8
8
  */
9
- export declare type PopoverAnimation = PopupAnimation | boolean;
9
+ export type PopoverAnimation = PopupAnimation | boolean;
@@ -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 declare type PopoverFn = (anchor: Element) => PopoverComponent;
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 declare type PopoverDataFn = (anchor: Element) => any;
17
+ export type PopoverDataFn = (anchor: Element) => any;
@@ -5,4 +5,4 @@
5
5
  /**
6
6
  * Specifies the possible events on which the Popover could be shown.
7
7
  */
8
- export declare type PopoverShowOption = 'hover' | 'click' | 'none' | 'focus';
8
+ export type PopoverShowOption = 'hover' | 'click' | 'none' | 'focus';
@@ -11,4 +11,4 @@
11
11
  * - `right`&mdash;Aligns the tooltip with the rightmost point of the `anchor` element.
12
12
  * - `left`&mdash;Aligns the tooltip with the leftmost point of the `anchor` element.
13
13
  */
14
- export declare type Position = 'top' | 'bottom' | 'right' | 'left';
14
+ export type Position = 'top' | 'bottom' | 'right' | 'left';
@@ -10,4 +10,4 @@
10
10
  * - `click`&mdash;Tooltip is rendered when its `anchor` element is clicked.
11
11
  * - `none`&mdash;Tooltip is not rendered in `kendoTooltip` container.
12
12
  */
13
- export declare type ShowOption = 'hover' | 'click' | 'none';
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.9",
3
+ "version": "17.0.0",
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": "15 - 18",
24
- "@angular/common": "15 - 18",
25
- "@angular/core": "15 - 18",
26
- "@angular/platform-browser": "15 - 18",
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.9",
29
- "@progress/kendo-angular-l10n": "17.0.0-develop.9",
30
- "@progress/kendo-angular-popup": "17.0.0-develop.9",
31
- "@progress/kendo-angular-icons": "17.0.0-develop.9",
28
+ "@progress/kendo-angular-common": "17.0.0",
29
+ "@progress/kendo-angular-l10n": "17.0.0",
30
+ "@progress/kendo-angular-popup": "17.0.0",
31
+ "@progress/kendo-angular-icons": "17.0.0",
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.9"
36
+ "@progress/kendo-angular-schematics": "17.0.0"
37
37
  },
38
38
  "schematics": "./schematics/collection.json",
39
- "module": "fesm2015/progress-kendo-angular-tooltip.mjs",
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
- "esm2020": "./esm2020/progress-kendo-angular-tooltip.mjs",
52
- "es2020": "./fesm2020/progress-kendo-angular-tooltip.mjs",
53
- "es2015": "./fesm2015/progress-kendo-angular-tooltip.mjs",
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
  }
@@ -4,7 +4,7 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TooltipsModule', package: 'tooltip', peerDependencies: {
6
6
  // Peer dependency of icons
7
- '@progress/kendo-svg-icons': '^3.0.0'
7
+ '@progress/kendo-svg-icons': '^4.0.0'
8
8
  } });
9
9
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
10
10
  }
@@ -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
  }