@progress/kendo-angular-tooltip 4.0.0-next.202110211119 → 4.0.0-next.202203281040

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 (50) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/bundles/kendo-angular-tooltip.umd.js +1 -1
  5. package/constants.d.ts +12 -0
  6. package/esm2015/constants.js +12 -0
  7. package/esm2015/localization/localized-messages.directive.js +3 -3
  8. package/esm2015/main.js +12 -1
  9. package/esm2015/models/animation.model.js +5 -0
  10. package/esm2015/models/events.js +65 -0
  11. package/esm2015/models/functions.model.js +5 -0
  12. package/esm2015/models/popover-show-option.type.js +5 -0
  13. package/esm2015/package-metadata.js +1 -1
  14. package/esm2015/popover/anchor.directive.js +147 -0
  15. package/esm2015/popover/container.directive.js +172 -0
  16. package/esm2015/popover/directives-base.js +282 -0
  17. package/esm2015/popover/popover.component.js +314 -0
  18. package/esm2015/popover/popover.service.js +67 -0
  19. package/esm2015/popover/template-directives/actions-template.directive.js +27 -0
  20. package/esm2015/popover/template-directives/body-template.directive.js +27 -0
  21. package/esm2015/popover/template-directives/title-template.directive.js +27 -0
  22. package/esm2015/popover.module.js +78 -0
  23. package/esm2015/tooltip/tooltip.content.component.js +3 -3
  24. package/esm2015/tooltip/tooltip.directive.js +7 -7
  25. package/esm2015/tooltip/tooltip.settings.js +8 -4
  26. package/esm2015/tooltip.module.js +4 -4
  27. package/esm2015/tooltips.module.js +45 -0
  28. package/esm2015/utils.js +1 -1
  29. package/fesm2015/kendo-angular-tooltip.js +1199 -28
  30. package/main.d.ts +16 -2
  31. package/models/animation.model.d.ts +9 -0
  32. package/models/events.d.ts +78 -0
  33. package/models/functions.model.d.ts +17 -0
  34. package/models/popover-show-option.type.d.ts +8 -0
  35. package/models/position.type.d.ts +1 -1
  36. package/package.json +4 -4
  37. package/popover/anchor.directive.d.ts +47 -0
  38. package/popover/container.directive.d.ts +59 -0
  39. package/popover/directives-base.d.ts +95 -0
  40. package/popover/popover.component.d.ts +179 -0
  41. package/popover/popover.service.d.ts +33 -0
  42. package/popover/template-directives/actions-template.directive.d.ts +18 -0
  43. package/popover/template-directives/body-template.directive.d.ts +18 -0
  44. package/popover/template-directives/title-template.directive.d.ts +18 -0
  45. package/popover.module.d.ts +43 -0
  46. package/schematics/ngAdd/index.js +1 -2
  47. package/schematics/ngAdd/index.js.map +1 -1
  48. package/tooltip/tooltip.settings.d.ts +4 -0
  49. package/tooltips.module.d.ts +38 -0
  50. package/utils.d.ts +1 -1
@@ -0,0 +1,43 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./popover/template-directives/actions-template.directive";
7
+ import * as i2 from "./popover/template-directives/body-template.directive";
8
+ import * as i3 from "./popover/template-directives/title-template.directive";
9
+ import * as i4 from "./popover/anchor.directive";
10
+ import * as i5 from "./popover/container.directive";
11
+ import * as i6 from "./popover/popover.component";
12
+ import * as i7 from "@angular/common";
13
+ import * as i8 from "@progress/kendo-angular-popup";
14
+ /**
15
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
16
+ * definition for the Popover component.
17
+ *
18
+ * @example
19
+ *
20
+ * ```ts-no-run
21
+ * import { PopoverModule } from '@progress/kendo-angular-tooltip';
22
+ *
23
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
24
+ * import { NgModule } from '@angular/core';
25
+ *
26
+ * import { AppComponent } from './app.component';
27
+ *
28
+ * _@NgModule({
29
+ * declarations: [AppComponent],
30
+ * imports: [BrowserModule, PopoverModule],
31
+ * bootstrap: [AppComponent]
32
+ * })
33
+ * export class AppModule {}
34
+ *
35
+ * platformBrowserDynamic().bootstrapModule(AppModule);
36
+ *
37
+ * ```
38
+ */
39
+ export declare class PopoverModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PopoverModule, [typeof i1.PopoverActionsTemplateDirective, typeof i2.PopoverBodyTemplateDirective, typeof i3.PopoverTitleTemplateDirective, typeof i4.PopoverAnchorDirective, typeof i5.PopoverContainerDirective, typeof i6.PopoverComponent], [typeof i7.CommonModule, typeof i8.PopupModule], [typeof i1.PopoverActionsTemplateDirective, typeof i2.PopoverBodyTemplateDirective, typeof i3.PopoverTitleTemplateDirective, typeof i4.PopoverAnchorDirective, typeof i5.PopoverContainerDirective, typeof i6.PopoverComponent]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<PopoverModule>;
43
+ }
@@ -6,8 +6,7 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const schematics_1 = require("@angular-devkit/schematics");
8
8
  function default_1(options) {
9
- const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TooltipModule', package: 'tooltip' //package name, e.g grid
10
- });
9
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TooltipsModule', package: 'tooltip' });
11
10
  return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
12
11
  }
13
12
  exports.default = default_1;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,eAAe,EAC7B,OAAO,EAAE,SAAS,CAAC,wBAAwB;OAC9C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,gBAAgB,EAC9B,OAAO,EAAE,SAAS,GACrB,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
@@ -70,6 +70,10 @@ export declare class TooltipSettings {
70
70
  * * `none`
71
71
  */
72
72
  showOn?: ShowOption;
73
+ /**
74
+ * @hidden
75
+ */
76
+ constructor();
73
77
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipSettings, never>;
74
78
  static ɵprov: i0.ɵɵInjectableDeclaration<TooltipSettings>;
75
79
  }
@@ -0,0 +1,38 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./tooltip.module";
7
+ import * as i2 from "./popover.module";
8
+ /**
9
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
10
+ * definition for the Tooltips components.
11
+ *
12
+ * @example
13
+ *
14
+ * ```ts-no-run
15
+ * import { TooltipsModule } from '@progress/kendo-angular-tooltip';
16
+ *
17
+ * // The browser platform with a compiler
18
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
19
+ *
20
+ * import { NgModule } from '@angular/core';
21
+ *
22
+ * // Import the app component
23
+ * _@NgModule{{
24
+ * declarations: [AppComponent], // declare app component
25
+ * imports: [BrowserModule, TooltipsModule], // import TooltipsModule module
26
+ * bootstrap: [AppComponent]
27
+ * }}
28
+ * export class AppModule {}
29
+ *
30
+ * // Compile and launch the module
31
+ * platformBrowserDynamic().bootstrapModule(AppModule);
32
+ * ```
33
+ */
34
+ export declare class TooltipsModule {
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipsModule, never>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipsModule, never, never, [typeof i1.TooltipModule, typeof i2.PopoverModule]>;
37
+ static ɵinj: i0.ɵɵInjectorDeclaration<TooltipsModule>;
38
+ }
package/utils.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare function collision(inputcollision: Collision, position: Position)
15
15
  /**
16
16
  * @hidden
17
17
  */
18
- export declare function closest(element: any, selector: string): any;
18
+ export declare function closestBySelector(element: any, selector: string): any;
19
19
  /**
20
20
  * @hidden
21
21
  */