@progress/kendo-angular-tooltip 16.5.0-develop.6 → 16.6.0-develop.1

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 (34) hide show
  1. package/directives.d.ts +25 -0
  2. package/esm2020/directives.mjs +39 -0
  3. package/esm2020/index.mjs +2 -0
  4. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  5. package/esm2020/package-metadata.mjs +2 -2
  6. package/esm2020/popover/anchor.directive.mjs +4 -3
  7. package/esm2020/popover/container.directive.mjs +4 -3
  8. package/esm2020/popover/directives-base.mjs +1 -1
  9. package/esm2020/popover/popover.component.mjs +7 -5
  10. package/esm2020/popover/template-directives/actions-template.directive.mjs +3 -2
  11. package/esm2020/popover/template-directives/body-template.directive.mjs +3 -2
  12. package/esm2020/popover/template-directives/title-template.directive.mjs +3 -2
  13. package/esm2020/popover.module.mjs +15 -35
  14. package/esm2020/tooltip/tooltip.content.component.mjs +8 -6
  15. package/esm2020/tooltip/tooltip.directive.mjs +3 -2
  16. package/esm2020/tooltip.module.mjs +13 -12
  17. package/esm2020/tooltips.module.mjs +19 -5
  18. package/fesm2015/progress-kendo-angular-tooltip.mjs +1745 -1729
  19. package/fesm2020/progress-kendo-angular-tooltip.mjs +1729 -1713
  20. package/index.d.ts +1 -0
  21. package/localization/localized-messages.directive.d.ts +1 -1
  22. package/package.json +6 -6
  23. package/popover/anchor.directive.d.ts +2 -2
  24. package/popover/container.directive.d.ts +3 -3
  25. package/popover/directives-base.d.ts +1 -1
  26. package/popover/popover.component.d.ts +2 -2
  27. package/popover/template-directives/actions-template.directive.d.ts +1 -1
  28. package/popover/template-directives/body-template.directive.d.ts +1 -1
  29. package/popover/template-directives/title-template.directive.d.ts +1 -1
  30. package/popover.module.d.ts +7 -9
  31. package/tooltip/tooltip.content.component.d.ts +1 -1
  32. package/tooltip/tooltip.directive.d.ts +1 -1
  33. package/tooltip.module.d.ts +1 -4
  34. package/tooltips.module.d.ts +10 -3
@@ -0,0 +1,25 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { LocalizedMessagesDirective } from "./localization/localized-messages.directive";
6
+ import { PopoverAnchorDirective } from "./popover/anchor.directive";
7
+ import { PopoverContainerDirective } from "./popover/container.directive";
8
+ import { PopoverComponent } from "./popover/popover.component";
9
+ import { PopoverActionsTemplateDirective } from "./popover/template-directives/actions-template.directive";
10
+ import { PopoverBodyTemplateDirective } from "./popover/template-directives/body-template.directive";
11
+ import { PopoverTitleTemplateDirective } from "./popover/template-directives/title-template.directive";
12
+ import { TooltipContentComponent } from "./tooltip/tooltip.content.component";
13
+ import { TooltipDirective } from "./tooltip/tooltip.directive";
14
+ /**
15
+ * Utility array that contains all `Tooltip` related components and directives
16
+ */
17
+ export declare const KENDO_TOOLTIP: readonly [typeof TooltipDirective, typeof TooltipContentComponent, typeof LocalizedMessagesDirective];
18
+ /**
19
+ * Utility array that contains all `Popover` related components and directives
20
+ */
21
+ export declare const KENDO_POPOVER: readonly [typeof PopoverComponent, typeof PopoverActionsTemplateDirective, typeof PopoverBodyTemplateDirective, typeof PopoverTitleTemplateDirective, typeof PopoverAnchorDirective, typeof PopoverContainerDirective];
22
+ /**
23
+ * Utility array that contains all `@progress/kendo-angular-tooltip` related components and directives
24
+ */
25
+ export declare const KENDO_TOOLTIPS: readonly [typeof TooltipDirective, typeof TooltipContentComponent, typeof LocalizedMessagesDirective, typeof PopoverComponent, typeof PopoverActionsTemplateDirective, typeof PopoverBodyTemplateDirective, typeof PopoverTitleTemplateDirective, typeof PopoverAnchorDirective, typeof PopoverContainerDirective];
@@ -0,0 +1,39 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { LocalizedMessagesDirective } from "./localization/localized-messages.directive";
6
+ import { PopoverAnchorDirective } from "./popover/anchor.directive";
7
+ import { PopoverContainerDirective } from "./popover/container.directive";
8
+ import { PopoverComponent } from "./popover/popover.component";
9
+ import { PopoverActionsTemplateDirective } from "./popover/template-directives/actions-template.directive";
10
+ import { PopoverBodyTemplateDirective } from "./popover/template-directives/body-template.directive";
11
+ import { PopoverTitleTemplateDirective } from "./popover/template-directives/title-template.directive";
12
+ import { TooltipContentComponent } from "./tooltip/tooltip.content.component";
13
+ import { TooltipDirective } from "./tooltip/tooltip.directive";
14
+ /**
15
+ * Utility array that contains all `Tooltip` related components and directives
16
+ */
17
+ export const KENDO_TOOLTIP = [
18
+ TooltipDirective,
19
+ TooltipContentComponent,
20
+ LocalizedMessagesDirective
21
+ ];
22
+ /**
23
+ * Utility array that contains all `Popover` related components and directives
24
+ */
25
+ export const KENDO_POPOVER = [
26
+ PopoverComponent,
27
+ PopoverActionsTemplateDirective,
28
+ PopoverBodyTemplateDirective,
29
+ PopoverTitleTemplateDirective,
30
+ PopoverAnchorDirective,
31
+ PopoverContainerDirective
32
+ ];
33
+ /**
34
+ * Utility array that contains all `@progress/kendo-angular-tooltip` related components and directives
35
+ */
36
+ export const KENDO_TOOLTIPS = [
37
+ ...KENDO_TOOLTIP,
38
+ ...KENDO_POPOVER
39
+ ];
package/esm2020/index.mjs CHANGED
@@ -2,6 +2,8 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ // Standalone Directives Arrays
6
+ export * from './directives';
5
7
  // Tooltip
6
8
  export { TooltipDirective } from './tooltip/tooltip.directive';
7
9
  export { TooltipSettings, TOOLTIP_SETTINGS } from './tooltip/tooltip.settings';
@@ -16,7 +16,7 @@ export class LocalizedMessagesDirective extends ComponentMessages {
16
16
  }
17
17
  }
18
18
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
19
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoTooltipLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
19
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoTooltipLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
20
20
  {
21
21
  provide: ComponentMessages,
22
22
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -31,7 +31,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
31
31
  useExisting: forwardRef(() => LocalizedMessagesDirective)
32
32
  }
33
33
  ],
34
- selector: `[kendoTooltipLocalizedMessages]`
34
+ selector: `[kendoTooltipLocalizedMessages]`,
35
+ standalone: true
35
36
  }]
36
37
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { closeTitle: [{
37
38
  type: Input
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-tooltip',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721766098,
13
- version: '16.5.0-develop.6',
12
+ publishDate: 1721827743,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
13
13
  import * as i1 from "@progress/kendo-angular-popup";
14
14
  import * as i2 from "./popover.service";
15
15
  /**
16
- * Represents the [`kendoPopoverAnchor`]({% slug configuration_popover %}#toc-anchordirective) directive.
16
+ * Represents the [`kendoPopoverAnchor`](slug:configuration_popover#toc-popover-anchor) directive.
17
17
  * It is used to target an element, which should display a popover on interaction.
18
18
  *
19
19
  * @example
@@ -144,12 +144,13 @@ export class PopoverAnchorDirective extends PopoverDirectivesBase {
144
144
  }
145
145
  }
146
146
  PopoverAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.PopupService }, { token: i0.Renderer2 }, { token: i2.PopoverService }], target: i0.ɵɵFactoryTarget.Directive });
147
- PopoverAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverAnchorDirective, selector: "[kendoPopoverAnchor]", providers: [PopoverService], exportAs: ["kendoPopoverAnchor"], usesInheritance: true, ngImport: i0 });
147
+ PopoverAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverAnchorDirective, isStandalone: true, selector: "[kendoPopoverAnchor]", providers: [PopoverService], exportAs: ["kendoPopoverAnchor"], usesInheritance: true, ngImport: i0 });
148
148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverAnchorDirective, decorators: [{
149
149
  type: Directive,
150
150
  args: [{
151
151
  selector: '[kendoPopoverAnchor]',
152
152
  exportAs: 'kendoPopoverAnchor',
153
- providers: [PopoverService]
153
+ providers: [PopoverService],
154
+ standalone: true
154
155
  }]
155
156
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.PopupService }, { type: i0.Renderer2 }, { type: i2.PopoverService }]; } });
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
14
14
  import * as i1 from "@progress/kendo-angular-popup";
15
15
  import * as i2 from "./popover.service";
16
16
  /**
17
- * Represents the [`kendoPopoverContainer`]({% slug configuration_popover %}#toc-containerdirective) directive.
17
+ * Represents the [`kendoPopoverContainer`](slug:configuration_popover#toc-popover-container) directive.
18
18
  * It is used to filter and target multiple elements, which should display a popover on interaction.
19
19
  *
20
20
  * @example
@@ -166,13 +166,14 @@ export class PopoverContainerDirective extends PopoverDirectivesBase {
166
166
  }
167
167
  }
168
168
  PopoverContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverContainerDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.PopupService }, { token: i0.Renderer2 }, { token: i2.PopoverService }], target: i0.ɵɵFactoryTarget.Directive });
169
- PopoverContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverContainerDirective, selector: "[kendoPopoverContainer]", inputs: { filter: "filter" }, providers: [PopoverService], exportAs: ["kendoPopoverContainer"], usesInheritance: true, ngImport: i0 });
169
+ PopoverContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverContainerDirective, isStandalone: true, selector: "[kendoPopoverContainer]", inputs: { filter: "filter" }, providers: [PopoverService], exportAs: ["kendoPopoverContainer"], usesInheritance: true, ngImport: i0 });
170
170
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverContainerDirective, decorators: [{
171
171
  type: Directive,
172
172
  args: [{
173
173
  selector: '[kendoPopoverContainer]',
174
174
  exportAs: 'kendoPopoverContainer',
175
- providers: [PopoverService]
175
+ providers: [PopoverService],
176
+ standalone: true
176
177
  }]
177
178
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.PopupService }, { type: i0.Renderer2 }, { type: i2.PopoverService }]; }, propDecorators: { filter: [{
178
179
  type: Input
@@ -36,7 +36,7 @@ export class PopoverDirectivesBase {
36
36
  * a [`PopoverFn`]({% slug api_tooltip_popoverfn %}) callback which returns a [`PopoverComponent`]({% slug api_tooltip_popovercomponent %}) instance
37
37
  * depending on the current anchor element.
38
38
  *
39
- * [See example]({% slug templates_popover %}#toc-popovercallback)
39
+ * [See example](slug:templates_popover#toc-passing-data-to-templates)
40
40
  */
41
41
  set popover(value) {
42
42
  if (value instanceof PopoverComponent || typeof value === `function`) {
@@ -15,9 +15,9 @@ import { PopoverActionsTemplateDirective } from './template-directives/actions-t
15
15
  import { Keys } from '@progress/kendo-angular-common';
16
16
  import { take } from 'rxjs/operators';
17
17
  import { getAllFocusableChildren, getFirstAndLastFocusable, getId } from '../utils';
18
+ import { NgIf, NgStyle, NgClass, NgTemplateOutlet } from '@angular/common';
18
19
  import * as i0 from "@angular/core";
19
20
  import * as i1 from "@progress/kendo-angular-l10n";
20
- import * as i2 from "@angular/common";
21
21
  /**
22
22
  * Represents the [Kendo UI Popover component for Angular]({% slug overview_popover %}).
23
23
  * Used to display additional information that is related to a target element.
@@ -144,7 +144,7 @@ export class PopoverComponent {
144
144
  }
145
145
  /**
146
146
  * Defines a callback function which returns custom data passed to the Popover templates.
147
- * It exposes the current anchor element as an argument. [See example]({% slug templates_popover %}#toc-popoverdatacallback)
147
+ * It exposes the current anchor element as an argument. [See example](slug:templates_popover#toc-passing-data-to-templates)
148
148
  */
149
149
  set templateData(fn) {
150
150
  if (isDevMode && typeof fn !== 'function') {
@@ -250,7 +250,7 @@ export class PopoverComponent {
250
250
  }
251
251
  }
252
252
  PopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
253
- PopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopoverComponent, selector: "kendo-popover", inputs: { position: "position", offset: "offset", width: "width", height: "height", title: "title", subtitle: "subtitle", body: "body", callout: "callout", animation: "animation", templateData: "templateData" }, outputs: { show: "show", shown: "shown", hide: "hide", hidden: "hidden", closeOnKeyDown: "closeOnKeyDown" }, host: { properties: { "attr.dir": "this.direction", "class.k-hidden": "this.isHidden", "attr.aria-hidden": "this.hasAttributeHidden", "style.width": "this._width", "style.height": "this._height" } }, providers: [
253
+ PopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopoverComponent, isStandalone: true, selector: "kendo-popover", inputs: { position: "position", offset: "offset", width: "width", height: "height", title: "title", subtitle: "subtitle", body: "body", callout: "callout", animation: "animation", templateData: "templateData" }, outputs: { show: "show", shown: "shown", hide: "hide", hidden: "hidden", closeOnKeyDown: "closeOnKeyDown" }, host: { properties: { "attr.dir": "this.direction", "class.k-hidden": "this.isHidden", "attr.aria-hidden": "this.hasAttributeHidden", "style.width": "this._width", "style.height": "this._height" } }, providers: [
254
254
  LocalizationService,
255
255
  {
256
256
  provide: L10N_PREFIX,
@@ -293,7 +293,7 @@ PopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
293
293
  </div>
294
294
  </ng-template>
295
295
  </div>
296
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
296
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
297
297
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverComponent, decorators: [{
298
298
  type: Component,
299
299
  args: [{
@@ -342,7 +342,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
342
342
  </div>
343
343
  </ng-template>
344
344
  </div>
345
- `
345
+ `,
346
+ standalone: true,
347
+ imports: [NgIf, NgStyle, NgClass, NgTemplateOutlet]
346
348
  }]
347
349
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { position: [{
348
350
  type: Input
@@ -16,11 +16,12 @@ export class PopoverActionsTemplateDirective {
16
16
  }
17
17
  }
18
18
  PopoverActionsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverActionsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
19
- PopoverActionsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverActionsTemplateDirective, selector: "[kendoPopoverActionsTemplate]", ngImport: i0 });
19
+ PopoverActionsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverActionsTemplateDirective, isStandalone: true, selector: "[kendoPopoverActionsTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverActionsTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoPopoverActionsTemplate]'
23
+ selector: '[kendoPopoverActionsTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
26
27
  type: Optional
@@ -16,11 +16,12 @@ export class PopoverBodyTemplateDirective {
16
16
  }
17
17
  }
18
18
  PopoverBodyTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverBodyTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
19
- PopoverBodyTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverBodyTemplateDirective, selector: "[kendoPopoverBodyTemplate]", ngImport: i0 });
19
+ PopoverBodyTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverBodyTemplateDirective, isStandalone: true, selector: "[kendoPopoverBodyTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverBodyTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoPopoverBodyTemplate]'
23
+ selector: '[kendoPopoverBodyTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
26
27
  type: Optional
@@ -16,11 +16,12 @@ export class PopoverTitleTemplateDirective {
16
16
  }
17
17
  }
18
18
  PopoverTitleTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverTitleTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
19
- PopoverTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverTitleTemplateDirective, selector: "[kendoPopoverTitleTemplate]", ngImport: i0 });
19
+ PopoverTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PopoverTitleTemplateDirective, isStandalone: true, selector: "[kendoPopoverTitleTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverTitleTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoPopoverTitleTemplate]'
23
+ selector: '[kendoPopoverTitleTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
26
27
  type: Optional
@@ -2,23 +2,19 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { CommonModule } from "@angular/common";
6
5
  import { NgModule } from "@angular/core";
7
- import { PopupModule } from "@progress/kendo-angular-popup";
8
- import { PopoverAnchorDirective } from "./popover/anchor.directive";
9
- import { PopoverContainerDirective } from "./popover/container.directive";
6
+ import { PopupService } from "@progress/kendo-angular-popup";
7
+ import { ResizeBatchService } from "@progress/kendo-angular-common";
10
8
  import { PopoverComponent } from "./popover/popover.component";
11
- import { PopoverTitleTemplateDirective } from './popover/template-directives/title-template.directive';
12
- import { PopoverBodyTemplateDirective } from './popover/template-directives/body-template.directive';
13
- import { PopoverActionsTemplateDirective } from './popover/template-directives/actions-template.directive';
9
+ import { KENDO_POPOVER } from "./directives";
14
10
  import * as i0 from "@angular/core";
15
- const DIRECTIVES = [
16
- PopoverActionsTemplateDirective,
17
- PopoverBodyTemplateDirective,
18
- PopoverTitleTemplateDirective,
19
- PopoverAnchorDirective,
20
- PopoverContainerDirective
21
- ];
11
+ import * as i1 from "./popover/popover.component";
12
+ import * as i2 from "./popover/template-directives/actions-template.directive";
13
+ import * as i3 from "./popover/template-directives/body-template.directive";
14
+ import * as i4 from "./popover/template-directives/title-template.directive";
15
+ import * as i5 from "./popover/anchor.directive";
16
+ import * as i6 from "./popover/container.directive";
17
+ // IMPORTANT: NgModule export kept for backwards compatibility
22
18
  /**
23
19
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
24
20
  * definition for the Popover component.
@@ -47,30 +43,14 @@ const DIRECTIVES = [
47
43
  export class PopoverModule {
48
44
  }
49
45
  PopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
- PopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopoverModule, declarations: [PopoverActionsTemplateDirective,
51
- PopoverBodyTemplateDirective,
52
- PopoverTitleTemplateDirective,
53
- PopoverAnchorDirective,
54
- PopoverContainerDirective, PopoverComponent], imports: [CommonModule,
55
- PopupModule], exports: [PopoverActionsTemplateDirective,
56
- PopoverBodyTemplateDirective,
57
- PopoverTitleTemplateDirective,
58
- PopoverAnchorDirective,
59
- PopoverContainerDirective, PopoverComponent] });
60
- PopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverModule, imports: [CommonModule,
61
- PopupModule] });
46
+ PopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopoverModule, imports: [i1.PopoverComponent, i2.PopoverActionsTemplateDirective, i3.PopoverBodyTemplateDirective, i4.PopoverTitleTemplateDirective, i5.PopoverAnchorDirective, i6.PopoverContainerDirective], exports: [i1.PopoverComponent, i2.PopoverActionsTemplateDirective, i3.PopoverBodyTemplateDirective, i4.PopoverTitleTemplateDirective, i5.PopoverAnchorDirective, i6.PopoverContainerDirective] });
47
+ PopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverModule, providers: [PopupService, ResizeBatchService], imports: [i1.PopoverComponent] });
62
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopoverModule, decorators: [{
63
49
  type: NgModule,
64
50
  args: [{
65
- declarations: [
66
- ...DIRECTIVES,
67
- PopoverComponent
68
- ],
69
51
  entryComponents: [PopoverComponent],
70
- exports: [...DIRECTIVES, PopoverComponent],
71
- imports: [
72
- CommonModule,
73
- PopupModule
74
- ]
52
+ exports: [...KENDO_POPOVER],
53
+ imports: [...KENDO_POPOVER],
54
+ providers: [PopupService, ResizeBatchService]
75
55
  }]
76
56
  }] });
@@ -6,11 +6,11 @@ import { Component, HostBinding, Input, ElementRef, TemplateRef, Output, EventEm
6
6
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
7
7
  import { getCenterOffset, getId } from '../utils';
8
8
  import { xIcon } from '@progress/kendo-svg-icons';
9
+ import { NgIf, NgTemplateOutlet, NgClass } from '@angular/common';
10
+ import { LocalizedMessagesDirective } from './../localization/localized-messages.directive';
11
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
9
12
  import * as i0 from "@angular/core";
10
13
  import * as i1 from "@progress/kendo-angular-l10n";
11
- import * as i2 from "@angular/common";
12
- import * as i3 from "@progress/kendo-angular-icons";
13
- import * as i4 from "../localization/localized-messages.directive";
14
14
  /**
15
15
  * @hidden
16
16
  */
@@ -115,7 +115,7 @@ export class TooltipContentComponent {
115
115
  }
116
116
  }
117
117
  TooltipContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipContentComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
118
- TooltipContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TooltipContentComponent, selector: "kendo-tooltip", inputs: { tooltipWidth: "tooltipWidth", tooltipHeight: "tooltipHeight", titleTemplate: "titleTemplate", anchor: "anchor", closable: "closable", templateRef: "templateRef", templateString: "templateString" }, outputs: { close: "close" }, host: { properties: { "attr.dir": "this.direction", "class": "this.cssClasses", "attr.role": "this.hostRole", "attr.id": "this.hostId", "class.k-tooltip-closable": "this.className", "style.position": "this.cssPosition", "style.width.px": "this.tooltipWidth", "style.height.px": "this.tooltipHeight" } }, providers: [
118
+ TooltipContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TooltipContentComponent, isStandalone: true, selector: "kendo-tooltip", inputs: { tooltipWidth: "tooltipWidth", tooltipHeight: "tooltipHeight", titleTemplate: "titleTemplate", anchor: "anchor", closable: "closable", templateRef: "templateRef", templateString: "templateString" }, outputs: { close: "close" }, host: { properties: { "attr.dir": "this.direction", "class": "this.cssClasses", "attr.role": "this.hostRole", "attr.id": "this.hostId", "class.k-tooltip-closable": "this.className", "style.position": "this.cssPosition", "style.width.px": "this.tooltipWidth", "style.height.px": "this.tooltipHeight" } }, providers: [
119
119
  LocalizationService,
120
120
  {
121
121
  provide: L10N_PREFIX,
@@ -158,7 +158,7 @@ TooltipContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
158
158
  </div>
159
159
 
160
160
  <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>
161
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: i4.LocalizedMessagesDirective, selector: "[kendoTooltipLocalizedMessages]", inputs: ["closeTitle"] }] });
161
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoTooltipLocalizedMessages]", inputs: ["closeTitle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
162
162
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipContentComponent, decorators: [{
163
163
  type: Component,
164
164
  args: [{
@@ -207,7 +207,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
207
207
  provide: L10N_PREFIX,
208
208
  useValue: 'kendo.tooltip'
209
209
  }
210
- ]
210
+ ],
211
+ standalone: true,
212
+ imports: [LocalizedMessagesDirective, NgIf, NgTemplateOutlet, IconWrapperComponent, NgClass]
211
213
  }]
212
214
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }]; }, propDecorators: { direction: [{
213
215
  type: HostBinding,
@@ -402,12 +402,13 @@ export class TooltipDirective {
402
402
  }
403
403
  }
404
404
  TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.PopupService }, { token: i2.TooltipSettings, optional: true }, { token: TOOLTIP_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
405
- TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TooltipDirective, selector: "[kendoTooltip]", inputs: { 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" }, exportAs: ["kendoTooltip"], usesOnChanges: true, ngImport: i0 });
405
+ TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TooltipDirective, isStandalone: true, selector: "[kendoTooltip]", inputs: { 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" }, exportAs: ["kendoTooltip"], usesOnChanges: true, ngImport: i0 });
406
406
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipDirective, decorators: [{
407
407
  type: Directive,
408
408
  args: [{
409
409
  selector: '[kendoTooltip]',
410
- exportAs: 'kendoTooltip'
410
+ exportAs: 'kendoTooltip',
411
+ standalone: true
411
412
  }]
412
413
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.PopupService }, { type: i2.TooltipSettings, decorators: [{
413
414
  type: Optional
@@ -3,15 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { TooltipDirective } from './tooltip/tooltip.directive';
8
- import { PopupModule } from '@progress/kendo-angular-popup';
9
- import { IconsModule } from '@progress/kendo-angular-icons';
6
+ import { IconsService } from '@progress/kendo-angular-icons';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
8
+ import { PopupService } from '@progress/kendo-angular-popup';
10
9
  import { TooltipContentComponent } from './tooltip/tooltip.content.component';
11
- import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
10
+ import { KENDO_TOOLTIP } from './directives';
12
11
  import * as i0 from "@angular/core";
13
- const COMPONENT_DIRECTIVES = [TooltipDirective, TooltipContentComponent, LocalizedMessagesDirective];
14
- const COMPONENT_MODULES = [PopupModule, IconsModule];
12
+ import * as i1 from "./tooltip/tooltip.directive";
13
+ import * as i2 from "./tooltip/tooltip.content.component";
14
+ import * as i3 from "./localization/localized-messages.directive";
15
+ // IMPORTANT: NgModule export kept for backwards compatibility
15
16
  /**
16
17
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
18
  * definition for the Tooltip component.
@@ -45,14 +46,14 @@ const COMPONENT_MODULES = [PopupModule, IconsModule];
45
46
  export class TooltipModule {
46
47
  }
47
48
  TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
- TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipContentComponent, LocalizedMessagesDirective], imports: [CommonModule, PopupModule, IconsModule], exports: [TooltipDirective, TooltipContentComponent, LocalizedMessagesDirective] });
49
- TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipModule, imports: [CommonModule, COMPONENT_MODULES] });
49
+ TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TooltipModule, imports: [i1.TooltipDirective, i2.TooltipContentComponent, i3.LocalizedMessagesDirective], exports: [i1.TooltipDirective, i2.TooltipContentComponent, i3.LocalizedMessagesDirective] });
50
+ TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipModule, providers: [PopupService, ResizeBatchService, IconsService], imports: [i2.TooltipContentComponent] });
50
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipModule, decorators: [{
51
52
  type: NgModule,
52
53
  args: [{
53
- declarations: [COMPONENT_DIRECTIVES],
54
54
  entryComponents: [TooltipContentComponent],
55
- imports: [CommonModule, ...COMPONENT_MODULES],
56
- exports: [COMPONENT_DIRECTIVES]
55
+ imports: [...KENDO_TOOLTIP],
56
+ exports: [...KENDO_TOOLTIP],
57
+ providers: [PopupService, ResizeBatchService, IconsService]
57
58
  }]
58
59
  }] });
@@ -3,9 +3,21 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { TooltipModule } from './tooltip.module';
7
- import { PopoverModule } from './popover.module';
6
+ import { IconsService } from '@progress/kendo-angular-icons';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
8
+ import { PopupService } from '@progress/kendo-angular-popup';
9
+ import { KENDO_TOOLTIPS } from './directives';
8
10
  import * as i0 from "@angular/core";
11
+ import * as i1 from "./tooltip/tooltip.directive";
12
+ import * as i2 from "./tooltip/tooltip.content.component";
13
+ import * as i3 from "./localization/localized-messages.directive";
14
+ import * as i4 from "./popover/popover.component";
15
+ import * as i5 from "./popover/template-directives/actions-template.directive";
16
+ import * as i6 from "./popover/template-directives/body-template.directive";
17
+ import * as i7 from "./popover/template-directives/title-template.directive";
18
+ import * as i8 from "./popover/anchor.directive";
19
+ import * as i9 from "./popover/container.directive";
20
+ // IMPORTANT: NgModule export kept for backwards compatibility
9
21
  /**
10
22
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
23
  * definition for the Tooltips components.
@@ -35,11 +47,13 @@ import * as i0 from "@angular/core";
35
47
  export class TooltipsModule {
36
48
  }
37
49
  TooltipsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
- TooltipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TooltipsModule, exports: [TooltipModule, PopoverModule] });
39
- TooltipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipsModule, imports: [TooltipModule, PopoverModule] });
50
+ TooltipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TooltipsModule, imports: [i1.TooltipDirective, i2.TooltipContentComponent, i3.LocalizedMessagesDirective, i4.PopoverComponent, i5.PopoverActionsTemplateDirective, i6.PopoverBodyTemplateDirective, i7.PopoverTitleTemplateDirective, i8.PopoverAnchorDirective, i9.PopoverContainerDirective], exports: [i1.TooltipDirective, i2.TooltipContentComponent, i3.LocalizedMessagesDirective, i4.PopoverComponent, i5.PopoverActionsTemplateDirective, i6.PopoverBodyTemplateDirective, i7.PopoverTitleTemplateDirective, i8.PopoverAnchorDirective, i9.PopoverContainerDirective] });
51
+ TooltipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipsModule, providers: [PopupService, ResizeBatchService, IconsService], imports: [i2.TooltipContentComponent, i4.PopoverComponent] });
40
52
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipsModule, decorators: [{
41
53
  type: NgModule,
42
54
  args: [{
43
- exports: [TooltipModule, PopoverModule]
55
+ imports: [...KENDO_TOOLTIPS],
56
+ exports: [...KENDO_TOOLTIPS],
57
+ providers: [PopupService, ResizeBatchService, IconsService]
44
58
  }]
45
59
  }] });