@progress/kendo-angular-navigation 16.5.0 → 16.6.0-develop.10

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 (57) hide show
  1. package/NOTICE.txt +12 -19
  2. package/actionsheet/actionsheet.component.d.ts +1 -1
  3. package/actionsheet/item.component.d.ts +1 -1
  4. package/actionsheet/list.component.d.ts +1 -1
  5. package/actionsheet/templates/actionsheet-template.d.ts +1 -1
  6. package/actionsheet/templates/content-template.directive.d.ts +1 -1
  7. package/actionsheet/templates/footer-template.directive.d.ts +1 -1
  8. package/actionsheet/templates/header-template.directive.d.ts +1 -1
  9. package/actionsheet/templates/item-template.directive.d.ts +1 -1
  10. package/actionsheet.module.d.ts +7 -11
  11. package/appbar/appbar-section.component.d.ts +1 -1
  12. package/appbar/appbar-spacer.component.d.ts +1 -1
  13. package/appbar/appbar.component.d.ts +1 -1
  14. package/appbar.module.d.ts +1 -2
  15. package/bottomnavigation/bottomnavigation-item.component.d.ts +1 -1
  16. package/bottomnavigation/bottomnavigation.component.d.ts +1 -1
  17. package/bottomnavigation/templates/item-template.directive.d.ts +1 -1
  18. package/bottomnavigation.module.d.ts +3 -6
  19. package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
  20. package/breadcrumb/breadcrumb.component.d.ts +1 -1
  21. package/breadcrumb/list.component.d.ts +1 -1
  22. package/breadcrumb/template-directives/item-template.directive.d.ts +1 -1
  23. package/breadcrumb/template-directives/separator.directive.d.ts +1 -1
  24. package/breadcrumb.module.d.ts +2 -8
  25. package/directives.d.ts +33 -0
  26. package/esm2020/actionsheet/actionsheet.component.mjs +7 -5
  27. package/esm2020/actionsheet/item.component.mjs +7 -5
  28. package/esm2020/actionsheet/list.component.mjs +6 -4
  29. package/esm2020/actionsheet/templates/actionsheet-template.mjs +3 -2
  30. package/esm2020/actionsheet/templates/content-template.directive.mjs +3 -2
  31. package/esm2020/actionsheet/templates/footer-template.directive.mjs +3 -2
  32. package/esm2020/actionsheet/templates/header-template.directive.mjs +3 -2
  33. package/esm2020/actionsheet/templates/item-template.directive.mjs +3 -2
  34. package/esm2020/actionsheet.module.mjs +14 -36
  35. package/esm2020/appbar/appbar-section.component.mjs +3 -2
  36. package/esm2020/appbar/appbar-spacer.component.mjs +3 -2
  37. package/esm2020/appbar/appbar.component.mjs +3 -2
  38. package/esm2020/appbar.module.mjs +9 -21
  39. package/esm2020/bottomnavigation/bottomnavigation-item.component.mjs +8 -6
  40. package/esm2020/bottomnavigation/bottomnavigation.component.mjs +7 -5
  41. package/esm2020/bottomnavigation/templates/item-template.directive.mjs +3 -2
  42. package/esm2020/bottomnavigation.module.mjs +10 -13
  43. package/esm2020/breadcrumb/breadcrumb-item.component.mjs +7 -5
  44. package/esm2020/breadcrumb/breadcrumb.component.mjs +6 -6
  45. package/esm2020/breadcrumb/list.component.mjs +6 -5
  46. package/esm2020/breadcrumb/template-directives/item-template.directive.mjs +3 -2
  47. package/esm2020/breadcrumb/template-directives/separator.directive.mjs +6 -4
  48. package/esm2020/breadcrumb.module.mjs +11 -30
  49. package/esm2020/directives.mjs +55 -0
  50. package/esm2020/index.mjs +1 -0
  51. package/esm2020/navigation.module.mjs +22 -18
  52. package/esm2020/package-metadata.mjs +2 -2
  53. package/fesm2015/progress-kendo-angular-navigation.mjs +1555 -1549
  54. package/fesm2020/progress-kendo-angular-navigation.mjs +1523 -1517
  55. package/index.d.ts +1 -0
  56. package/navigation.module.d.ts +14 -5
  57. package/package.json +5 -5
@@ -16,11 +16,12 @@ export class BreadCrumbItemTemplateDirective {
16
16
  }
17
17
  }
18
18
  BreadCrumbItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
19
- BreadCrumbItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbItemTemplateDirective, selector: "[kendoBreadCrumbItemTemplate]", ngImport: i0 });
19
+ BreadCrumbItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbItemTemplateDirective, isStandalone: true, selector: "[kendoBreadCrumbItemTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbItemTemplateDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoBreadCrumbItemTemplate]'
23
+ selector: '[kendoBreadCrumbItemTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
26
27
  type: Optional
@@ -6,9 +6,9 @@ import { HostBinding, Input, ElementRef, Component } from '@angular/core';
6
6
  import { isPresent } from '../../common/util';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { chevronRightIcon, chevronLeftIcon } from '@progress/kendo-svg-icons';
9
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
9
10
  import * as i0 from "@angular/core";
10
11
  import * as i1 from "@progress/kendo-angular-l10n";
11
- import * as i2 from "@progress/kendo-angular-icons";
12
12
  const DEFAULT_ICON = 'chevron-right';
13
13
  const DEFAULT_RTL_ICON = 'chevron-left';
14
14
  const DEFAULT_SVG_ICON = chevronRightIcon;
@@ -67,14 +67,14 @@ export class BreadCrumbSeparatorDirective {
67
67
  }
68
68
  }
69
69
  BreadCrumbSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbSeparatorDirective, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
70
- BreadCrumbSeparatorDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbSeparatorDirective, selector: "[kendoBreadCrumbSeparator]", inputs: { icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-breadcrumb-delimiter-icon": "this.defaultClasses", "class.k-icon": "this.defaultClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `
70
+ BreadCrumbSeparatorDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BreadCrumbSeparatorDirective, isStandalone: true, selector: "[kendoBreadCrumbSeparator]", inputs: { icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-breadcrumb-delimiter-icon": "this.defaultClasses", "class.k-icon": "this.defaultClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `
71
71
  <kendo-icon-wrapper
72
72
  size='xsmall'
73
73
  [name]="icon"
74
74
  [svgIcon]="svgIcon"
75
75
  >
76
76
  </kendo-icon-wrapper>
77
- `, isInline: true, dependencies: [{ kind: "component", type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
77
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
78
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbSeparatorDirective, decorators: [{
79
79
  type: Component,
80
80
  args: [{
@@ -86,7 +86,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
86
86
  [svgIcon]="svgIcon"
87
87
  >
88
88
  </kendo-icon-wrapper>
89
- `
89
+ `,
90
+ standalone: true,
91
+ imports: [IconWrapperComponent]
90
92
  }]
91
93
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
92
94
  type: Input
@@ -3,28 +3,13 @@
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 { ResizeSensorModule } from '@progress/kendo-angular-common';
8
- import { BreadCrumbComponent } from './breadcrumb/breadcrumb.component';
9
- import { BreadCrumbItemComponent } from './breadcrumb/breadcrumb-item.component';
10
- import { BreadCrumbItemTemplateDirective } from './breadcrumb/template-directives/item-template.directive';
11
- import { BreadCrumbSeparatorDirective } from './breadcrumb/template-directives/separator.directive';
12
- import { BreadCrumbListComponent } from './breadcrumb/list.component';
13
- 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 { KENDO_BREADCRUMB } from './directives';
14
9
  import * as i0 from "@angular/core";
15
- const templateDirectives = [
16
- BreadCrumbItemTemplateDirective
17
- ];
18
- const exportedModules = [
19
- BreadCrumbComponent,
20
- BreadCrumbItemComponent,
21
- BreadCrumbListComponent,
22
- ...templateDirectives
23
- ];
24
- const declarations = [
25
- ...exportedModules,
26
- BreadCrumbSeparatorDirective
27
- ];
10
+ import * as i1 from "./breadcrumb/breadcrumb.component";
11
+ import * as i2 from "./breadcrumb/template-directives/item-template.directive";
12
+ // IMPORTANT: NgModule export kept for backwards compatibility
28
13
  /**
29
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
30
15
  * definition for the BreadCrumb component.
@@ -59,17 +44,13 @@ const declarations = [
59
44
  export class BreadCrumbModule {
60
45
  }
61
46
  BreadCrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
62
- BreadCrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, declarations: [BreadCrumbComponent,
63
- BreadCrumbItemComponent,
64
- BreadCrumbListComponent, BreadCrumbItemTemplateDirective, BreadCrumbSeparatorDirective], imports: [CommonModule, ResizeSensorModule, IconsModule], exports: [BreadCrumbComponent,
65
- BreadCrumbItemComponent,
66
- BreadCrumbListComponent, BreadCrumbItemTemplateDirective] });
67
- BreadCrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, imports: [CommonModule, ResizeSensorModule, IconsModule] });
47
+ BreadCrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, imports: [i1.BreadCrumbComponent, i2.BreadCrumbItemTemplateDirective], exports: [i1.BreadCrumbComponent, i2.BreadCrumbItemTemplateDirective] });
48
+ BreadCrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, providers: [IconsService, ResizeBatchService], imports: [i1.BreadCrumbComponent] });
68
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BreadCrumbModule, decorators: [{
69
50
  type: NgModule,
70
51
  args: [{
71
- declarations: [declarations],
72
- exports: [exportedModules],
73
- imports: [CommonModule, ResizeSensorModule, IconsModule]
52
+ exports: [...KENDO_BREADCRUMB],
53
+ imports: [...KENDO_BREADCRUMB],
54
+ providers: [IconsService, ResizeBatchService]
74
55
  }]
75
56
  }] });
@@ -0,0 +1,55 @@
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 { ActionSheetComponent } from "./actionsheet/actionsheet.component";
6
+ import { ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetTemplateDirective } from "./actionsheet/models";
7
+ import { AppBarSectionComponent } from "./appbar/appbar-section.component";
8
+ import { AppBarSpacerComponent } from "./appbar/appbar-spacer.component";
9
+ import { AppBarComponent } from "./appbar/appbar.component";
10
+ import { BottomNavigationComponent } from "./bottomnavigation/bottomnavigation.component";
11
+ import { BottomNavigationItemTemplateDirective } from "./bottomnavigation/templates/item-template.directive";
12
+ import { BreadCrumbComponent } from "./breadcrumb/breadcrumb.component";
13
+ import { BreadCrumbItemTemplateDirective } from "./breadcrumb/template-directives/item-template.directive";
14
+ /**
15
+ * Utility array that contains all `ActionSheet` related components and directives.
16
+ */
17
+ export const KENDO_ACTIONSHEET = [
18
+ ActionSheetComponent,
19
+ ActionSheetHeaderTemplateDirective,
20
+ ActionSheetItemTemplateDirective,
21
+ ActionSheetContentTemplateDirective,
22
+ ActionSheetFooterTemplateDirective,
23
+ ActionSheetTemplateDirective
24
+ ];
25
+ /**
26
+ * Utility array that contains all `AppBar` related components and directives.
27
+ */
28
+ export const KENDO_APPBAR = [
29
+ AppBarComponent,
30
+ AppBarSectionComponent,
31
+ AppBarSpacerComponent
32
+ ];
33
+ /**
34
+ * Utility array that contains all `BottomNavigation` related components and directives.
35
+ */
36
+ export const KENDO_BOTTOMNAVIGATION = [
37
+ BottomNavigationComponent,
38
+ BottomNavigationItemTemplateDirective
39
+ ];
40
+ /**
41
+ * Utility array that contains all `BreadCrumb` related components and directives.
42
+ */
43
+ export const KENDO_BREADCRUMB = [
44
+ BreadCrumbComponent,
45
+ BreadCrumbItemTemplateDirective
46
+ ];
47
+ /**
48
+ * Utility array that contains all `@progress/kendo-angular-navigation` related components and directives.
49
+ */
50
+ export const KENDO_NAVIGATION = [
51
+ ...KENDO_ACTIONSHEET,
52
+ ...KENDO_APPBAR,
53
+ ...KENDO_BOTTOMNAVIGATION,
54
+ ...KENDO_BREADCRUMB
55
+ ];
package/esm2020/index.mjs CHANGED
@@ -23,3 +23,4 @@ export { BreadCrumbListComponent } from './breadcrumb/list.component';
23
23
  export { ActionSheetComponent } from './actionsheet/actionsheet.component';
24
24
  export { ActionSheetItemClickEvent, ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective } from './actionsheet/models';
25
25
  export { ActionSheetModule } from './actionsheet.module';
26
+ export * from './directives';
@@ -3,11 +3,24 @@
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 { AppBarModule } from './appbar.module';
7
- import { BreadCrumbModule } from './breadcrumb.module';
8
- import { BottomNavigationModule } from './bottomnavigation.module';
9
- import { ActionSheetModule } from './actionsheet.module';
6
+ import { IconsService } from '@progress/kendo-angular-icons';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
8
+ import { KENDO_NAVIGATION } from './directives';
10
9
  import * as i0 from "@angular/core";
10
+ import * as i1 from "./actionsheet/actionsheet.component";
11
+ import * as i2 from "./actionsheet/templates/header-template.directive";
12
+ import * as i3 from "./actionsheet/templates/item-template.directive";
13
+ import * as i4 from "./actionsheet/templates/content-template.directive";
14
+ import * as i5 from "./actionsheet/templates/footer-template.directive";
15
+ import * as i6 from "./actionsheet/templates/actionsheet-template";
16
+ import * as i7 from "./appbar/appbar.component";
17
+ import * as i8 from "./appbar/appbar-section.component";
18
+ import * as i9 from "./appbar/appbar-spacer.component";
19
+ import * as i10 from "./bottomnavigation/bottomnavigation.component";
20
+ import * as i11 from "./bottomnavigation/templates/item-template.directive";
21
+ import * as i12 from "./breadcrumb/breadcrumb.component";
22
+ import * as i13 from "./breadcrumb/template-directives/item-template.directive";
23
+ // IMPORTANT: NgModule export kept for backwards compatibility
11
24
  /**
12
25
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
26
  * definition for the Navigation components.
@@ -42,22 +55,13 @@ import * as i0 from "@angular/core";
42
55
  export class NavigationModule {
43
56
  }
44
57
  NavigationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
- NavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NavigationModule, exports: [AppBarModule,
46
- BreadCrumbModule,
47
- BottomNavigationModule,
48
- ActionSheetModule] });
49
- NavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationModule, imports: [AppBarModule,
50
- BreadCrumbModule,
51
- BottomNavigationModule,
52
- ActionSheetModule] });
58
+ NavigationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NavigationModule, imports: [i1.ActionSheetComponent, i2.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i4.ActionSheetContentTemplateDirective, i5.ActionSheetFooterTemplateDirective, i6.ActionSheetTemplateDirective, i7.AppBarComponent, i8.AppBarSectionComponent, i9.AppBarSpacerComponent, i10.BottomNavigationComponent, i11.BottomNavigationItemTemplateDirective, i12.BreadCrumbComponent, i13.BreadCrumbItemTemplateDirective], exports: [i1.ActionSheetComponent, i2.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i4.ActionSheetContentTemplateDirective, i5.ActionSheetFooterTemplateDirective, i6.ActionSheetTemplateDirective, i7.AppBarComponent, i8.AppBarSectionComponent, i9.AppBarSpacerComponent, i10.BottomNavigationComponent, i11.BottomNavigationItemTemplateDirective, i12.BreadCrumbComponent, i13.BreadCrumbItemTemplateDirective] });
59
+ NavigationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationModule, providers: [IconsService, ResizeBatchService], imports: [i1.ActionSheetComponent, i7.AppBarComponent, i8.AppBarSectionComponent, i9.AppBarSpacerComponent, i10.BottomNavigationComponent, i12.BreadCrumbComponent] });
53
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationModule, decorators: [{
54
61
  type: NgModule,
55
62
  args: [{
56
- exports: [
57
- AppBarModule,
58
- BreadCrumbModule,
59
- BottomNavigationModule,
60
- ActionSheetModule
61
- ]
63
+ imports: [...KENDO_NAVIGATION],
64
+ exports: [...KENDO_NAVIGATION],
65
+ providers: [IconsService, ResizeBatchService]
62
66
  }]
63
67
  }] });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-navigation',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721813984,
13
- version: '16.5.0',
12
+ publishDate: 1722606766,
13
+ version: '16.6.0-develop.10',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };