@progress/kendo-angular-navigation 21.4.1 → 22.0.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 (58) hide show
  1. package/fesm2022/progress-kendo-angular-navigation.mjs +83 -83
  2. package/package.json +11 -19
  3. package/esm2022/actionsheet/actionsheet-view.component.mjs +0 -173
  4. package/esm2022/actionsheet/actionsheet.component.mjs +0 -700
  5. package/esm2022/actionsheet/animation/animations.mjs +0 -23
  6. package/esm2022/actionsheet/item.component.mjs +0 -125
  7. package/esm2022/actionsheet/list.component.mjs +0 -95
  8. package/esm2022/actionsheet/models/actionsheet-action-layout.mjs +0 -5
  9. package/esm2022/actionsheet/models/actionsheet-action.mjs +0 -5
  10. package/esm2022/actionsheet/models/actionsheet-item.interface.mjs +0 -5
  11. package/esm2022/actionsheet/models/animation.mjs +0 -5
  12. package/esm2022/actionsheet/models/group.mjs +0 -5
  13. package/esm2022/actionsheet/models/index.mjs +0 -10
  14. package/esm2022/actionsheet/models/item-click.event.mjs +0 -19
  15. package/esm2022/actionsheet/templates/actionsheet-template.mjs +0 -37
  16. package/esm2022/actionsheet/templates/content-template.directive.mjs +0 -37
  17. package/esm2022/actionsheet/templates/footer-template.directive.mjs +0 -37
  18. package/esm2022/actionsheet/templates/header-template.directive.mjs +0 -37
  19. package/esm2022/actionsheet/templates/item-template.directive.mjs +0 -37
  20. package/esm2022/actionsheet.module.mjs +0 -48
  21. package/esm2022/appbar/appbar-section.component.mjs +0 -40
  22. package/esm2022/appbar/appbar-spacer.component.mjs +0 -69
  23. package/esm2022/appbar/appbar.component.mjs +0 -158
  24. package/esm2022/appbar/models/position-mode.mjs +0 -5
  25. package/esm2022/appbar/models/position.mjs +0 -5
  26. package/esm2022/appbar/models/theme-color.mjs +0 -5
  27. package/esm2022/appbar.module.mjs +0 -42
  28. package/esm2022/bottomnavigation/bottomnavigation-item.component.mjs +0 -122
  29. package/esm2022/bottomnavigation/bottomnavigation.component.mjs +0 -334
  30. package/esm2022/bottomnavigation/constants.mjs +0 -12
  31. package/esm2022/bottomnavigation/events/select-event.mjs +0 -33
  32. package/esm2022/bottomnavigation/templates/item-template.directive.mjs +0 -36
  33. package/esm2022/bottomnavigation/types/bottomnavigation-fill.mjs +0 -5
  34. package/esm2022/bottomnavigation/types/bottomnavigation-item-flow.mjs +0 -5
  35. package/esm2022/bottomnavigation/types/bottomnavigation-item.mjs +0 -5
  36. package/esm2022/bottomnavigation/types/bottomnavigation-position-mode.mjs +0 -5
  37. package/esm2022/bottomnavigation/types/bottomnavigation-theme-color.mjs +0 -20
  38. package/esm2022/bottomnavigation.module.mjs +0 -43
  39. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +0 -186
  40. package/esm2022/breadcrumb/breadcrumb.component.mjs +0 -362
  41. package/esm2022/breadcrumb/list.component.mjs +0 -107
  42. package/esm2022/breadcrumb/models/breadcrumb-item.interface.mjs +0 -5
  43. package/esm2022/breadcrumb/models/breadcrumb-size.mjs +0 -5
  44. package/esm2022/breadcrumb/models/collapse-mode.mjs +0 -5
  45. package/esm2022/breadcrumb/models/constants.mjs +0 -33
  46. package/esm2022/breadcrumb/template-directives/item-template.directive.mjs +0 -40
  47. package/esm2022/breadcrumb/template-directives/separator.directive.mjs +0 -108
  48. package/esm2022/breadcrumb/util.mjs +0 -22
  49. package/esm2022/breadcrumb.module.mjs +0 -44
  50. package/esm2022/common/direction.mjs +0 -5
  51. package/esm2022/common/dom-queries.mjs +0 -22
  52. package/esm2022/common/preventable-event.mjs +0 -34
  53. package/esm2022/common/util.mjs +0 -63
  54. package/esm2022/directives.mjs +0 -146
  55. package/esm2022/index.mjs +0 -27
  56. package/esm2022/navigation.module.mjs +0 -56
  57. package/esm2022/package-metadata.mjs +0 -16
  58. package/esm2022/progress-kendo-angular-navigation.mjs +0 -8
@@ -1,173 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, ContentChild, ElementRef, Host, HostBinding, Input, NgZone, Optional, Renderer2 } from '@angular/core';
6
- import { ActionSheetHeaderTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective } from './models';
7
- import { NgClass, NgTemplateOutlet } from '@angular/common';
8
- import { getId } from '../common/util';
9
- import { ActionSheetComponent } from './actionsheet.component';
10
- import { take } from 'rxjs/operators';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "./actionsheet.component";
13
- /**
14
- * @hidden
15
- *
16
- * Represents the [Kendo UI ActionSheetView component for Angular].
17
- * Used to display multiple views.
18
- */
19
- export class ActionSheetViewComponent {
20
- actionSheet;
21
- renderer;
22
- host;
23
- zone;
24
- title;
25
- subtitle;
26
- titleId = getId('k-actionsheet-title');
27
- hostClass = true;
28
- transitionDuration = '500ms';
29
- transitionProperty = 'transform';
30
- headerTemplate;
31
- contentTemplate;
32
- footerTemplate;
33
- actionSheetTemplate;
34
- ngAfterViewInit() {
35
- this.zone.onStable.pipe(take(1)).subscribe(() => {
36
- if (this.actionSheet?.actionSheetViews?.length > 1) {
37
- this.renderer.addClass(this.host.nativeElement, 'k-actionsheet-view-animated');
38
- }
39
- });
40
- }
41
- constructor(actionSheet, renderer, host, zone) {
42
- this.actionSheet = actionSheet;
43
- this.renderer = renderer;
44
- this.host = host;
45
- this.zone = zone;
46
- }
47
- get orientationClass() {
48
- return this.actionSheet?.orientationClass;
49
- }
50
- get alignmentClass() {
51
- return this.actionSheet?.alignmentClass;
52
- }
53
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ActionSheetViewComponent, deps: [{ token: i1.ActionSheetComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
54
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ActionSheetViewComponent, isStandalone: true, selector: "kendo-actionsheet-view", inputs: { title: "title", subtitle: "subtitle", titleId: "titleId" }, host: { properties: { "class.k-actionsheet-view": "this.hostClass", "style.transition-duration": "this.transitionDuration", "style.transition-property": "this.transitionProperty" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ActionSheetHeaderTemplateDirective, descendants: true }, { propertyName: "contentTemplate", first: true, predicate: ActionSheetContentTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: ActionSheetFooterTemplateDirective, descendants: true }, { propertyName: "actionSheetTemplate", first: true, predicate: ActionSheetTemplateDirective, descendants: true }], ngImport: i0, template: `
55
- @if (actionSheetTemplate) {
56
- <ng-template
57
- [ngTemplateOutlet]="actionSheetTemplate?.templateRef">
58
- </ng-template>
59
- } @else {
60
- @if (title || subtitle || headerTemplate) {
61
- <div class="k-actionsheet-titlebar">
62
- @if (headerTemplate) {
63
- <ng-template [ngTemplateOutlet]="headerTemplate.templateRef">
64
- </ng-template>
65
- } @else {
66
- <div class="k-actionsheet-titlebar-group k-hbox">
67
- <div class="k-actionsheet-title" [id]="titleId">
68
- @if (title) {
69
- <div class="k-text-center">{{title}}</div>
70
- }
71
- @if (subtitle) {
72
- <div class="k-actionsheet-subtitle k-text-center">{{subtitle}}</div>
73
- }
74
- </div>
75
- </div>
76
- }
77
- </div>
78
- }
79
- @if (contentTemplate) {
80
- <div class="k-actionsheet-content">
81
- <ng-template [ngTemplateOutlet]="contentTemplate.templateRef">
82
- </ng-template>
83
- </div>
84
- }
85
- @if (footerTemplate) {
86
- <div [ngClass]="[orientationClass, alignmentClass, 'k-actions', 'k-actionsheet-footer']">
87
- <ng-template [ngTemplateOutlet]="footerTemplate.templateRef">
88
- </ng-template>
89
- </div>
90
- }
91
- }
92
-
93
- `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
94
- }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ActionSheetViewComponent, decorators: [{
96
- type: Component,
97
- args: [{
98
- selector: 'kendo-actionsheet-view',
99
- template: `
100
- @if (actionSheetTemplate) {
101
- <ng-template
102
- [ngTemplateOutlet]="actionSheetTemplate?.templateRef">
103
- </ng-template>
104
- } @else {
105
- @if (title || subtitle || headerTemplate) {
106
- <div class="k-actionsheet-titlebar">
107
- @if (headerTemplate) {
108
- <ng-template [ngTemplateOutlet]="headerTemplate.templateRef">
109
- </ng-template>
110
- } @else {
111
- <div class="k-actionsheet-titlebar-group k-hbox">
112
- <div class="k-actionsheet-title" [id]="titleId">
113
- @if (title) {
114
- <div class="k-text-center">{{title}}</div>
115
- }
116
- @if (subtitle) {
117
- <div class="k-actionsheet-subtitle k-text-center">{{subtitle}}</div>
118
- }
119
- </div>
120
- </div>
121
- }
122
- </div>
123
- }
124
- @if (contentTemplate) {
125
- <div class="k-actionsheet-content">
126
- <ng-template [ngTemplateOutlet]="contentTemplate.templateRef">
127
- </ng-template>
128
- </div>
129
- }
130
- @if (footerTemplate) {
131
- <div [ngClass]="[orientationClass, alignmentClass, 'k-actions', 'k-actionsheet-footer']">
132
- <ng-template [ngTemplateOutlet]="footerTemplate.templateRef">
133
- </ng-template>
134
- </div>
135
- }
136
- }
137
-
138
- `,
139
- standalone: true,
140
- imports: [NgClass, NgTemplateOutlet]
141
- }]
142
- }], ctorParameters: () => [{ type: i1.ActionSheetComponent, decorators: [{
143
- type: Optional
144
- }, {
145
- type: Host
146
- }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { title: [{
147
- type: Input
148
- }], subtitle: [{
149
- type: Input
150
- }], titleId: [{
151
- type: Input
152
- }], hostClass: [{
153
- type: HostBinding,
154
- args: ['class.k-actionsheet-view']
155
- }], transitionDuration: [{
156
- type: HostBinding,
157
- args: ['style.transition-duration']
158
- }], transitionProperty: [{
159
- type: HostBinding,
160
- args: ['style.transition-property']
161
- }], headerTemplate: [{
162
- type: ContentChild,
163
- args: [ActionSheetHeaderTemplateDirective]
164
- }], contentTemplate: [{
165
- type: ContentChild,
166
- args: [ActionSheetContentTemplateDirective]
167
- }], footerTemplate: [{
168
- type: ContentChild,
169
- args: [ActionSheetFooterTemplateDirective]
170
- }], actionSheetTemplate: [{
171
- type: ContentChild,
172
- args: [ActionSheetTemplateDirective]
173
- }] } });