@progress/kendo-angular-tooltip 3.1.7-dev.202203280924 → 4.0.0-dev.202204131841
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/bundles/kendo-angular-tooltip.umd.js +5 -0
- package/{dist/es/constants.d.ts → constants.d.ts} +0 -0
- package/{dist/es2015 → esm2015}/constants.js +0 -0
- package/{dist/es/models/functions.model.js → esm2015/kendo-angular-tooltip.js} +4 -0
- package/esm2015/localization/localized-messages.directive.js +38 -0
- package/{dist/es → esm2015}/main.js +2 -0
- package/{dist/es2015 → esm2015}/models/animation.model.js +1 -0
- package/{dist/es2015 → esm2015}/models/events.js +0 -0
- package/{dist/es2015 → esm2015}/models/functions.model.js +1 -0
- package/{dist/es → esm2015}/models/popover-show-option.type.js +1 -0
- package/{dist/es2015 → esm2015}/models/position.type.js +1 -0
- package/{dist/es → esm2015}/models/show.option.type.js +1 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/popover/anchor.directive.js +22 -19
- package/{dist/es2015 → esm2015}/popover/container.directive.js +24 -23
- package/{dist/es2015 → esm2015}/popover/directives-base.js +13 -12
- package/{dist/es2015 → esm2015}/popover/popover.component.js +110 -112
- package/{dist/es2015 → esm2015}/popover/popover.service.js +9 -9
- package/esm2015/popover/template-directives/actions-template.directive.js +27 -0
- package/esm2015/popover/template-directives/body-template.directive.js +27 -0
- package/esm2015/popover/template-directives/title-template.directive.js +27 -0
- package/{dist/es2015 → esm2015}/popover.module.js +31 -16
- package/{dist/es2015 → esm2015}/tooltip/tooltip.content.component.js +95 -73
- package/{dist/es2015 → esm2015}/tooltip/tooltip.directive.js +57 -80
- package/{dist/es2015 → esm2015}/tooltip/tooltip.settings.js +12 -7
- package/{dist/es2015 → esm2015}/tooltip.module.js +15 -12
- package/{dist/es2015 → esm2015}/tooltips.module.js +12 -9
- package/{dist/es2015 → esm2015}/utils.js +0 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-tooltip.js} +448 -403
- package/{dist/es2015/constants.d.ts → kendo-angular-tooltip.d.ts} +3 -6
- package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
- package/{dist/es/main.d.ts → main.d.ts} +3 -0
- package/{dist/es/models → models}/animation.model.d.ts +0 -0
- package/{dist/es/models → models}/events.d.ts +0 -0
- package/{dist/es/models → models}/functions.model.d.ts +0 -0
- package/{dist/es/models → models}/popover-show-option.type.d.ts +0 -0
- package/{dist/es/models → models}/position.type.d.ts +0 -0
- package/{dist/es/models → models}/show.option.type.d.ts +0 -0
- package/{dist/es/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +34 -113
- package/{dist/es2015/popover → popover}/anchor.directive.d.ts +3 -0
- package/{dist/es/popover → popover}/container.directive.d.ts +3 -0
- package/{dist/es2015/popover → popover}/directives-base.d.ts +9 -4
- package/{dist/es2015/popover → popover}/popover.component.d.ts +13 -6
- package/{dist/es/popover → popover}/popover.service.d.ts +7 -4
- package/{dist/es2015/popover → popover}/template-directives/actions-template.directive.d.ts +3 -0
- package/{dist/es2015/popover → popover}/template-directives/body-template.directive.d.ts +3 -0
- package/{dist/es2015/popover → popover}/template-directives/title-template.directive.d.ts +3 -0
- package/popover.module.d.ts +43 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es/tooltip → tooltip}/tooltip.content.component.d.ts +7 -4
- package/{dist/es/tooltip → tooltip}/tooltip.directive.d.ts +5 -1
- package/{dist/es/tooltip → tooltip}/tooltip.settings.d.ts +7 -0
- package/{dist/es2015/tooltip.module.d.ts → tooltip.module.d.ts} +9 -0
- package/{dist/es2015/tooltips.module.d.ts → tooltips.module.d.ts} +6 -0
- package/{dist/es/utils.d.ts → utils.d.ts} +0 -0
- package/dist/cdn/js/kendo-angular-tooltip.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/constants.js +0 -12
- package/dist/es/index.d.ts +0 -12
- package/dist/es/index.js +0 -12
- package/dist/es/index.metadata.json +0 -1
- package/dist/es/localization/localized-messages.directive.d.ts +0 -16
- package/dist/es/localization/localized-messages.directive.js +0 -38
- package/dist/es/models/animation.model.js +0 -4
- package/dist/es/models/events.js +0 -78
- package/dist/es/models/position.type.js +0 -4
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/popover/anchor.directive.d.ts +0 -44
- package/dist/es/popover/anchor.directive.js +0 -156
- package/dist/es/popover/container.directive.js +0 -182
- package/dist/es/popover/directives-base.d.ts +0 -90
- package/dist/es/popover/directives-base.js +0 -294
- package/dist/es/popover/popover.component.d.ts +0 -172
- package/dist/es/popover/popover.component.js +0 -312
- package/dist/es/popover/popover.service.js +0 -88
- package/dist/es/popover/template-directives/actions-template.directive.d.ts +0 -15
- package/dist/es/popover/template-directives/actions-template.directive.js +0 -26
- package/dist/es/popover/template-directives/body-template.directive.d.ts +0 -15
- package/dist/es/popover/template-directives/body-template.directive.js +0 -26
- package/dist/es/popover/template-directives/title-template.directive.d.ts +0 -15
- package/dist/es/popover/template-directives/title-template.directive.js +0 -26
- package/dist/es/popover.module.d.ts +0 -31
- package/dist/es/popover.module.js +0 -65
- package/dist/es/tooltip/tooltip.content.component.js +0 -192
- package/dist/es/tooltip/tooltip.directive.js +0 -452
- package/dist/es/tooltip/tooltip.settings.js +0 -46
- package/dist/es/tooltip.module.d.ts +0 -36
- package/dist/es/tooltip.module.js +0 -57
- package/dist/es/tooltips.module.d.ts +0 -32
- package/dist/es/tooltips.module.js +0 -45
- package/dist/es/utils.js +0 -113
- package/dist/es2015/index.d.ts +0 -12
- package/dist/es2015/index.js +0 -12
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/localized-messages.directive.js +0 -34
- package/dist/es2015/main.d.ts +0 -22
- package/dist/es2015/main.js +0 -18
- package/dist/es2015/models/animation.model.d.ts +0 -9
- package/dist/es2015/models/events.d.ts +0 -78
- package/dist/es2015/models/functions.model.d.ts +0 -17
- package/dist/es2015/models/popover-show-option.type.d.ts +0 -8
- package/dist/es2015/models/popover-show-option.type.js +0 -4
- package/dist/es2015/models/position.type.d.ts +0 -14
- package/dist/es2015/models/show.option.type.d.ts +0 -13
- package/dist/es2015/models/show.option.type.js +0 -4
- package/dist/es2015/package-metadata.d.ts +0 -9
- package/dist/es2015/popover/container.directive.d.ts +0 -56
- package/dist/es2015/popover/popover.service.d.ts +0 -30
- package/dist/es2015/popover/template-directives/actions-template.directive.js +0 -25
- package/dist/es2015/popover/template-directives/body-template.directive.js +0 -25
- package/dist/es2015/popover/template-directives/title-template.directive.js +0 -25
- package/dist/es2015/popover.module.d.ts +0 -31
- package/dist/es2015/tooltip/tooltip.content.component.d.ts +0 -41
- package/dist/es2015/tooltip/tooltip.directive.d.ts +0 -156
- package/dist/es2015/tooltip/tooltip.settings.d.ts +0 -72
- package/dist/es2015/utils.d.ts +0 -34
- package/dist/fesm5/index.js +0 -2083
- package/dist/npm/constants.js +0 -14
- package/dist/npm/index.js +0 -19
- package/dist/npm/localization/localized-messages.directive.js +0 -40
- package/dist/npm/main.js +0 -36
- package/dist/npm/models/animation.model.js +0 -6
- package/dist/npm/models/events.js +0 -80
- package/dist/npm/models/functions.model.js +0 -6
- package/dist/npm/models/popover-show-option.type.js +0 -6
- package/dist/npm/models/position.type.js +0 -6
- package/dist/npm/models/show.option.type.js +0 -6
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/popover/anchor.directive.js +0 -158
- package/dist/npm/popover/container.directive.js +0 -184
- package/dist/npm/popover/directives-base.js +0 -296
- package/dist/npm/popover/popover.component.js +0 -314
- package/dist/npm/popover/popover.service.js +0 -90
- package/dist/npm/popover/template-directives/actions-template.directive.js +0 -28
- package/dist/npm/popover/template-directives/body-template.directive.js +0 -28
- package/dist/npm/popover/template-directives/title-template.directive.js +0 -28
- package/dist/npm/popover.module.js +0 -67
- package/dist/npm/tooltip/tooltip.content.component.js +0 -194
- package/dist/npm/tooltip/tooltip.directive.js +0 -454
- package/dist/npm/tooltip/tooltip.settings.js +0 -48
- package/dist/npm/tooltip.module.js +0 -59
- package/dist/npm/tooltips.module.js +0 -47
- package/dist/npm/utils.js +0 -121
- package/dist/systemjs/kendo-angular-tooltip.js +0 -5
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
|
6
|
-
import { Directive, Input, TemplateRef, Optional, ElementRef, NgZone, Inject, isDevMode, Renderer2 } from '@angular/core';
|
|
5
|
+
import { Directive, Input, Optional, Inject, isDevMode } from '@angular/core';
|
|
7
6
|
import { take, debounceTime, filter } from 'rxjs/operators';
|
|
8
7
|
import { fromEvent } from 'rxjs';
|
|
9
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
10
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
9
|
import { packageMetadata } from '../package-metadata';
|
|
12
|
-
import {
|
|
10
|
+
import { TOOLTIP_SETTINGS } from './tooltip.settings';
|
|
13
11
|
import { TooltipContentComponent } from '../tooltip/tooltip.content.component';
|
|
14
12
|
import { align, closestBySelector, contains, containsItem, collision, hasParent } from '../utils';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@progress/kendo-angular-popup";
|
|
15
|
+
import * as i2 from "./tooltip.settings";
|
|
15
16
|
/**
|
|
16
17
|
* Represents the [Kendo UI Tooltip directive for Angular]({% slug overview_tooltip %}).
|
|
17
18
|
* Used to display additional information that is related to an element.
|
|
@@ -23,7 +24,7 @@ import { align, closestBySelector, contains, containsItem, collision, hasParent
|
|
|
23
24
|
* </div>
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
|
-
|
|
27
|
+
export class TooltipDirective {
|
|
27
28
|
constructor(tooltipWrapper, ngZone, renderer, popupService, settings, legacySettings) {
|
|
28
29
|
this.tooltipWrapper = tooltipWrapper;
|
|
29
30
|
this.ngZone = ngZone;
|
|
@@ -104,7 +105,9 @@ let TooltipDirective = class TooltipDirective {
|
|
|
104
105
|
set tooltipTemplate(value) {
|
|
105
106
|
this.template = value;
|
|
106
107
|
}
|
|
107
|
-
get tooltipTemplate() {
|
|
108
|
+
get tooltipTemplate() {
|
|
109
|
+
return this.template;
|
|
110
|
+
}
|
|
108
111
|
/**
|
|
109
112
|
* Shows the Tooltip.
|
|
110
113
|
* @param anchor— ElementRef|Element.
|
|
@@ -229,7 +232,9 @@ let TooltipDirective = class TooltipDirective {
|
|
|
229
232
|
bindContent(contentComponent, anchorRef) {
|
|
230
233
|
const content = contentComponent.instance;
|
|
231
234
|
this.closeClickSubscription = content.close
|
|
232
|
-
.subscribe(() => {
|
|
235
|
+
.subscribe(() => {
|
|
236
|
+
this.hide();
|
|
237
|
+
});
|
|
233
238
|
if (!this.template) {
|
|
234
239
|
content.templateString = this.anchor.nativeElement.getAttribute('data-title');
|
|
235
240
|
}
|
|
@@ -365,76 +370,48 @@ let TooltipDirective = class TooltipDirective {
|
|
|
365
370
|
throw new Error(`Invalid value provided for showOn property.The available options are 'hover' or 'none'.`);
|
|
366
371
|
}
|
|
367
372
|
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
]
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
]
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
],
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
],
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
],
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
],
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
],
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
],
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
]
|
|
413
|
-
tslib_1.__decorate([
|
|
414
|
-
Input(),
|
|
415
|
-
tslib_1.__metadata("design:type", Object)
|
|
416
|
-
], TooltipDirective.prototype, "collision", void 0);
|
|
417
|
-
tslib_1.__decorate([
|
|
418
|
-
Input(),
|
|
419
|
-
tslib_1.__metadata("design:type", String)
|
|
420
|
-
], TooltipDirective.prototype, "closeTitle", void 0);
|
|
421
|
-
tslib_1.__decorate([
|
|
422
|
-
Input(),
|
|
423
|
-
tslib_1.__metadata("design:type", TemplateRef),
|
|
424
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
425
|
-
], TooltipDirective.prototype, "tooltipTemplate", null);
|
|
426
|
-
TooltipDirective = tslib_1.__decorate([
|
|
427
|
-
Directive({
|
|
428
|
-
selector: '[kendoTooltip]',
|
|
429
|
-
exportAs: 'kendoTooltip'
|
|
430
|
-
}),
|
|
431
|
-
tslib_1.__param(4, Optional()),
|
|
432
|
-
tslib_1.__param(5, Optional()), tslib_1.__param(5, Inject(TOOLTIP_SETTINGS)),
|
|
433
|
-
tslib_1.__metadata("design:paramtypes", [ElementRef,
|
|
434
|
-
NgZone,
|
|
435
|
-
Renderer2,
|
|
436
|
-
PopupService,
|
|
437
|
-
TooltipSettings,
|
|
438
|
-
TooltipSettings])
|
|
439
|
-
], TooltipDirective);
|
|
440
|
-
export { TooltipDirective };
|
|
373
|
+
}
|
|
374
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", 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 });
|
|
375
|
+
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", 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", collision: "collision", closeTitle: "closeTitle", tooltipTemplate: "tooltipTemplate" }, exportAs: ["kendoTooltip"], usesOnChanges: true, ngImport: i0 });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
377
|
+
type: Directive,
|
|
378
|
+
args: [{
|
|
379
|
+
selector: '[kendoTooltip]',
|
|
380
|
+
exportAs: 'kendoTooltip'
|
|
381
|
+
}]
|
|
382
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.PopupService }, { type: i2.TooltipSettings, decorators: [{
|
|
383
|
+
type: Optional
|
|
384
|
+
}] }, { type: i2.TooltipSettings, decorators: [{
|
|
385
|
+
type: Optional
|
|
386
|
+
}, {
|
|
387
|
+
type: Inject,
|
|
388
|
+
args: [TOOLTIP_SETTINGS]
|
|
389
|
+
}] }]; }, propDecorators: { filter: [{
|
|
390
|
+
type: Input
|
|
391
|
+
}], position: [{
|
|
392
|
+
type: Input
|
|
393
|
+
}], titleTemplate: [{
|
|
394
|
+
type: Input
|
|
395
|
+
}], showOn: [{
|
|
396
|
+
type: Input
|
|
397
|
+
}], showAfter: [{
|
|
398
|
+
type: Input
|
|
399
|
+
}], callout: [{
|
|
400
|
+
type: Input
|
|
401
|
+
}], closable: [{
|
|
402
|
+
type: Input
|
|
403
|
+
}], offset: [{
|
|
404
|
+
type: Input
|
|
405
|
+
}], tooltipWidth: [{
|
|
406
|
+
type: Input
|
|
407
|
+
}], tooltipHeight: [{
|
|
408
|
+
type: Input
|
|
409
|
+
}], tooltipClass: [{
|
|
410
|
+
type: Input
|
|
411
|
+
}], collision: [{
|
|
412
|
+
type: Input
|
|
413
|
+
}], closeTitle: [{
|
|
414
|
+
type: Input
|
|
415
|
+
}], tooltipTemplate: [{
|
|
416
|
+
type: Input
|
|
417
|
+
}] } });
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright © 2021 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 * as tslib_1 from "tslib";
|
|
6
5
|
import { Injectable, InjectionToken } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Obsolete. Provide the TooltipSettings class instead.
|
|
9
9
|
*
|
|
@@ -35,9 +35,14 @@ export const TOOLTIP_SETTINGS = new InjectionToken('kendo-ui-tooltip-settings');
|
|
|
35
35
|
* export class AppComponent { }
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
export class TooltipSettings {
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
constructor() { }
|
|
43
|
+
}
|
|
44
|
+
TooltipSettings.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipSettings, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
+
TooltipSettings.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipSettings });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipSettings, decorators: [{
|
|
47
|
+
type: Injectable
|
|
48
|
+
}], ctorParameters: function () { return []; } });
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Copyright © 2021 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 * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { CommonModule } from '@angular/common';
|
|
8
7
|
import { TooltipDirective } from './tooltip/tooltip.directive';
|
|
9
8
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
10
9
|
import { TooltipContentComponent } from './tooltip/tooltip.content.component';
|
|
11
10
|
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
12
|
const COMPONENT_DIRECTIVES = [TooltipDirective, TooltipContentComponent, LocalizedMessagesDirective];
|
|
13
13
|
const COMPONENT_MODULES = [PopupModule];
|
|
14
14
|
/**
|
|
@@ -41,14 +41,17 @@ const COMPONENT_MODULES = [PopupModule];
|
|
|
41
41
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
TooltipModule =
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
],
|
|
54
|
-
|
|
44
|
+
export class TooltipModule {
|
|
45
|
+
}
|
|
46
|
+
TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
+
TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipContentComponent, LocalizedMessagesDirective], imports: [CommonModule, PopupModule], exports: [TooltipDirective, TooltipContentComponent, LocalizedMessagesDirective] });
|
|
48
|
+
TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipModule, imports: [[CommonModule, ...COMPONENT_MODULES]] });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipModule, decorators: [{
|
|
50
|
+
type: NgModule,
|
|
51
|
+
args: [{
|
|
52
|
+
declarations: [COMPONENT_DIRECTIVES],
|
|
53
|
+
entryComponents: [TooltipContentComponent],
|
|
54
|
+
imports: [CommonModule, ...COMPONENT_MODULES],
|
|
55
|
+
exports: [COMPONENT_DIRECTIVES]
|
|
56
|
+
}]
|
|
57
|
+
}] });
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright © 2021 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 * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { TooltipModule } from './tooltip.module';
|
|
8
7
|
import { PopoverModule } from './popover.module';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
11
11
|
* definition for the Tooltips components.
|
|
@@ -32,11 +32,14 @@ import { PopoverModule } from './popover.module';
|
|
|
32
32
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
TooltipsModule =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
export class TooltipsModule {
|
|
36
|
+
}
|
|
37
|
+
TooltipsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
38
|
+
TooltipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipsModule, exports: [TooltipModule, PopoverModule] });
|
|
39
|
+
TooltipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipsModule, imports: [TooltipModule, PopoverModule] });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipsModule, decorators: [{
|
|
41
|
+
type: NgModule,
|
|
42
|
+
args: [{
|
|
43
|
+
exports: [TooltipModule, PopoverModule]
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
@@ -85,7 +85,6 @@ export function contains(container, child) {
|
|
|
85
85
|
return container.contains(child);
|
|
86
86
|
}
|
|
87
87
|
if (container.compareDocumentPosition) {
|
|
88
|
-
// tslint:disable-next-line
|
|
89
88
|
return !!(container.compareDocumentPosition(child) & Node.DOCUMENT_POSITION_CONTAINED_BY);
|
|
90
89
|
}
|
|
91
90
|
}
|