@progress/kendo-angular-navigation 19.1.2-develop.4 → 19.1.2-develop.5
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/actionsheet/actionsheet.component.d.ts +18 -17
- package/actionsheet/models/actionsheet-action-layout.d.ts +15 -13
- package/actionsheet/models/actionsheet-action.d.ts +9 -30
- package/actionsheet/models/actionsheet-item.interface.d.ts +13 -18
- package/actionsheet/models/animation.d.ts +4 -2
- package/actionsheet/models/group.d.ts +6 -0
- package/actionsheet/models/item-click.event.d.ts +5 -3
- package/actionsheet/templates/actionsheet-template.d.ts +10 -1
- package/actionsheet/templates/content-template.directive.d.ts +10 -1
- package/actionsheet/templates/footer-template.directive.d.ts +10 -1
- package/actionsheet/templates/header-template.directive.d.ts +10 -1
- package/actionsheet/templates/item-template.directive.d.ts +10 -1
- package/actionsheet.module.d.ts +5 -18
- package/appbar/appbar-section.component.d.ts +9 -13
- package/appbar/appbar-spacer.component.d.ts +13 -21
- package/appbar/appbar.component.d.ts +19 -25
- package/appbar/models/position-mode.d.ts +5 -6
- package/appbar/models/position.d.ts +3 -8
- package/appbar/models/theme-color.d.ts +6 -7
- package/appbar.module.d.ts +5 -18
- package/bottomnavigation/bottomnavigation.component.d.ts +17 -31
- package/bottomnavigation/events/select-event.d.ts +5 -5
- package/bottomnavigation/templates/item-template.directive.d.ts +11 -3
- package/bottomnavigation/types/bottomnavigation-fill.d.ts +3 -3
- package/bottomnavigation/types/bottomnavigation-item-flow.d.ts +3 -3
- package/bottomnavigation/types/bottomnavigation-item.d.ts +11 -10
- package/bottomnavigation/types/bottomnavigation-position-mode.d.ts +3 -3
- package/bottomnavigation/types/bottomnavigation-theme-color.d.ts +12 -12
- package/bottomnavigation.module.d.ts +6 -18
- package/breadcrumb/breadcrumb.component.d.ts +14 -19
- package/breadcrumb/models/breadcrumb-item.interface.d.ts +10 -11
- package/breadcrumb/models/breadcrumb-size.d.ts +1 -2
- package/breadcrumb/models/collapse-mode.d.ts +5 -3
- package/breadcrumb/template-directives/item-template.directive.d.ts +12 -1
- package/breadcrumb.module.d.ts +6 -18
- package/directives.d.ts +94 -5
- package/esm2022/actionsheet/actionsheet.component.mjs +18 -17
- package/esm2022/actionsheet/models/item-click.event.mjs +5 -3
- package/esm2022/actionsheet/templates/actionsheet-template.mjs +10 -1
- package/esm2022/actionsheet/templates/content-template.directive.mjs +10 -1
- package/esm2022/actionsheet/templates/footer-template.directive.mjs +10 -1
- package/esm2022/actionsheet/templates/header-template.directive.mjs +10 -1
- package/esm2022/actionsheet/templates/item-template.directive.mjs +10 -1
- package/esm2022/actionsheet.module.mjs +5 -18
- package/esm2022/appbar/appbar-section.component.mjs +9 -13
- package/esm2022/appbar/appbar-spacer.component.mjs +13 -21
- package/esm2022/appbar/appbar.component.mjs +19 -25
- package/esm2022/appbar.module.mjs +5 -18
- package/esm2022/bottomnavigation/bottomnavigation.component.mjs +17 -31
- package/esm2022/bottomnavigation/events/select-event.mjs +5 -5
- package/esm2022/bottomnavigation/templates/item-template.directive.mjs +11 -3
- package/esm2022/bottomnavigation/types/bottomnavigation-theme-color.mjs +12 -12
- package/esm2022/bottomnavigation.module.mjs +6 -18
- package/esm2022/breadcrumb/breadcrumb.component.mjs +14 -19
- package/esm2022/breadcrumb/template-directives/item-template.directive.mjs +12 -1
- package/esm2022/breadcrumb.module.mjs +6 -18
- package/esm2022/directives.mjs +94 -5
- package/esm2022/navigation.module.mjs +6 -18
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-navigation.mjs +297 -240
- package/navigation.module.d.ts +6 -18
- package/package.json +7 -7
|
@@ -19,9 +19,11 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
19
19
|
/**
|
|
20
20
|
* Represents the [Kendo UI BottomNavigation component for Angular]({% slug overview_bottomnavigation %}).
|
|
21
21
|
*
|
|
22
|
+
* Use the BottomNavigation component to let users quickly switch between primary views in your app.
|
|
23
|
+
*
|
|
22
24
|
* @example
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* @Component({
|
|
25
27
|
* selector: 'my-app',
|
|
26
28
|
* template: `
|
|
27
29
|
* <kendo-bottomnavigation [items]="items"></kendo-bottomnavigation>
|
|
@@ -32,7 +34,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
32
34
|
* { text: 'Inbox', icon: 'envelop', selected: true },
|
|
33
35
|
* { text: 'Calendar', icon: 'calendar'},
|
|
34
36
|
* { text: 'Profile', icon: 'user'}
|
|
35
|
-
* ]
|
|
37
|
+
* ];
|
|
36
38
|
* }
|
|
37
39
|
* ```
|
|
38
40
|
*/
|
|
@@ -43,27 +45,25 @@ export class BottomNavigationComponent {
|
|
|
43
45
|
changeDetector;
|
|
44
46
|
renderer;
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
48
|
+
* Provides the collection of items rendered in the BottomNavigation ([see example]({% slug items_bottomnavigation %})).
|
|
47
49
|
*/
|
|
48
50
|
items;
|
|
49
51
|
/**
|
|
50
|
-
*
|
|
52
|
+
* Shows a top border on the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
51
53
|
*
|
|
52
54
|
* @default false
|
|
53
55
|
*/
|
|
54
56
|
border = false;
|
|
55
57
|
/**
|
|
56
|
-
* Disables the
|
|
58
|
+
* Disables the entire BottomNavigation.
|
|
57
59
|
*
|
|
58
60
|
* @default false
|
|
59
61
|
*/
|
|
60
62
|
disabled = false;
|
|
61
63
|
/**
|
|
62
|
-
*
|
|
64
|
+
* Sets the fill style of the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
63
65
|
*
|
|
64
|
-
*
|
|
65
|
-
* * (Default) `flat`
|
|
66
|
-
* * `solid`
|
|
66
|
+
* @default 'flat'
|
|
67
67
|
*/
|
|
68
68
|
set fill(fill) {
|
|
69
69
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-${this.fill}`);
|
|
@@ -76,11 +76,9 @@ export class BottomNavigationComponent {
|
|
|
76
76
|
return this._fill;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Controls how the icon and text label are positioned in the BottomNavigation items.
|
|
80
80
|
*
|
|
81
|
-
*
|
|
82
|
-
* * (Default) `vertical` - Renders the text below the icon.
|
|
83
|
-
* * `horizontal` - Renders the icon and the text on the same line.
|
|
81
|
+
* @default 'vertical'
|
|
84
82
|
*/
|
|
85
83
|
set itemFlow(itemFlow) {
|
|
86
84
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-item-flow-${this.itemFlow}`);
|
|
@@ -91,11 +89,9 @@ export class BottomNavigationComponent {
|
|
|
91
89
|
return this._itemFlow;
|
|
92
90
|
}
|
|
93
91
|
/**
|
|
94
|
-
*
|
|
92
|
+
* Sets the position and behavior of the BottomNavigation when the page is scrollable ([see example]({% slug positioning_bottomnavigation %})).
|
|
95
93
|
*
|
|
96
|
-
*
|
|
97
|
-
* * (Default) `fixed` - The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
98
|
-
* * `sticky` - Positions the BottomNavigation at the end of the scrollable container.
|
|
94
|
+
* @default 'fixed'
|
|
99
95
|
*/
|
|
100
96
|
set positionMode(positionMode) {
|
|
101
97
|
this.renderer.removeClass(this._nativeHostElement, `k-pos-${this.positionMode}`);
|
|
@@ -106,19 +102,9 @@ export class BottomNavigationComponent {
|
|
|
106
102
|
return this._positionMode;
|
|
107
103
|
}
|
|
108
104
|
/**
|
|
109
|
-
*
|
|
105
|
+
* Sets the theme color of the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
110
106
|
*
|
|
111
|
-
*
|
|
112
|
-
* * (Default) `primary` - Applies coloring based on the primary theme color.
|
|
113
|
-
* * `secondary` - Applies coloring based on the secondary theme color.
|
|
114
|
-
* * `tertiary` - Applies coloring based on the tertiary theme color.
|
|
115
|
-
* * `info` - Applies coloring based on the info theme color.
|
|
116
|
-
* * `success` - Applies coloring based on the success theme color.
|
|
117
|
-
* * `warning` - Applies coloring based on the warning theme color.
|
|
118
|
-
* * `error` - Applies coloring based on the error theme color.
|
|
119
|
-
* * `dark` - Applies coloring based on the dark theme color.
|
|
120
|
-
* * `light` - Applies coloring based on the light theme color.
|
|
121
|
-
* * `inverse` - Applies coloring based on the inverted theme color.
|
|
107
|
+
* @default 'primary'
|
|
122
108
|
*/
|
|
123
109
|
set themeColor(themeColor) {
|
|
124
110
|
const newColor = colors.find(color => color === themeColor);
|
|
@@ -132,7 +118,7 @@ export class BottomNavigationComponent {
|
|
|
132
118
|
return this._themeColor;
|
|
133
119
|
}
|
|
134
120
|
/**
|
|
135
|
-
* Fires
|
|
121
|
+
* Fires when a user selects an item. This event is preventable.
|
|
136
122
|
*/
|
|
137
123
|
select = new EventEmitter();
|
|
138
124
|
/**
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from '../../common/preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `select` event of the BottomNavigation.
|
|
8
8
|
*/
|
|
9
9
|
export class BottomNavigationSelectEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Represents the index of the selected item in the `items` collection.
|
|
12
12
|
*/
|
|
13
13
|
index;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Represents the selected BottomNavigation item.
|
|
16
16
|
*/
|
|
17
17
|
item;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides the DOM event that triggered the selection.
|
|
20
20
|
*/
|
|
21
21
|
originalEvent;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Provides a reference to the BottomNavigation instance that triggered the event.
|
|
24
24
|
*/
|
|
25
25
|
sender;
|
|
26
26
|
/**
|
|
@@ -5,9 +5,17 @@
|
|
|
5
5
|
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents a template that defines the
|
|
9
|
-
* To define the template, nest an `<ng-template>` tag
|
|
10
|
-
*
|
|
8
|
+
* Represents a template that defines the content of the BottomNavigation items. Use this directive to customize the appearance of each navigation item.
|
|
9
|
+
* To define the template, nest an `<ng-template>` tag with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <kendo-bottomnavigation [items]="items">
|
|
14
|
+
* <ng-template kendoBottomNavigationItemTemplate let-item="item">
|
|
15
|
+
* <span>{{ item.text }}</span>
|
|
16
|
+
* </ng-template>
|
|
17
|
+
* </kendo-bottomnavigation>
|
|
18
|
+
* ```
|
|
11
19
|
*/
|
|
12
20
|
export class BottomNavigationItemTemplateDirective {
|
|
13
21
|
templateRef;
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the possible theme colors of the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
* *
|
|
10
|
-
* * `secondary
|
|
11
|
-
* * `tertiary
|
|
12
|
-
* * `info
|
|
13
|
-
* * `success
|
|
14
|
-
* * `warning
|
|
15
|
-
* * `error
|
|
16
|
-
* * `dark
|
|
17
|
-
* * `light
|
|
18
|
-
* * `inverse
|
|
8
|
+
* The possible values are:
|
|
9
|
+
* * `primary`—Applies coloring based on the primary theme color.
|
|
10
|
+
* * `secondary`—Applies coloring based on the secondary theme color.
|
|
11
|
+
* * `tertiary`—Applies coloring based on the tertiary theme color.
|
|
12
|
+
* * `info`—Applies coloring based on the info theme color.
|
|
13
|
+
* * `success`—Applies coloring based on the success theme color.
|
|
14
|
+
* * `warning`—Applies coloring based on the warning theme color.
|
|
15
|
+
* * `error`—Applies coloring based on the error theme color.
|
|
16
|
+
* * `dark`—Applies coloring based on the dark theme color.
|
|
17
|
+
* * `light`—Applies coloring based on the light theme color.
|
|
18
|
+
* * `inverse`—Applies coloring based on the inverted theme color.
|
|
19
19
|
*/
|
|
20
20
|
export {};
|
|
@@ -10,34 +10,22 @@ import * as i1 from "./bottomnavigation/bottomnavigation.component";
|
|
|
10
10
|
import * as i2 from "./bottomnavigation/templates/item-template.directive";
|
|
11
11
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
12
12
|
/**
|
|
13
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
14
|
* definition for the BottomNavigation component.
|
|
15
|
-
* @example
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```typescript
|
|
19
18
|
* import { BottomNavigationModule } from '@progress/kendo-angular-navigation';
|
|
20
|
-
*
|
|
21
|
-
* // The browser platform with a compiler
|
|
22
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
23
19
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
24
|
-
*
|
|
25
20
|
* import { NgModule } from '@angular/core';
|
|
26
|
-
*
|
|
27
|
-
* // Import the app component
|
|
28
21
|
* import { AppComponent } from './app.component';
|
|
29
22
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* imports: [BrowserModule, BottomNavigationModule], // import BottomNavigation module
|
|
23
|
+
* @NgModule({
|
|
24
|
+
* declarations: [AppComponent],
|
|
25
|
+
* imports: [BrowserModule, BottomNavigationModule],
|
|
34
26
|
* bootstrap: [AppComponent]
|
|
35
27
|
* })
|
|
36
28
|
* export class AppModule {}
|
|
37
|
-
*
|
|
38
|
-
* // Compile and launch the module
|
|
39
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
40
|
-
*
|
|
41
29
|
* ```
|
|
42
30
|
*/
|
|
43
31
|
export class BottomNavigationModule {
|
|
@@ -20,11 +20,14 @@ import { NgIf, NgClass, AsyncPipe } from '@angular/common';
|
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
22
22
|
/**
|
|
23
|
-
* Represents the [Kendo UI Breadcrumb component for Angular](
|
|
23
|
+
* Represents the [Kendo UI Breadcrumb component for Angular](slug:overview_breadcrumb).
|
|
24
|
+
*
|
|
25
|
+
* Use the Breadcrumb component to allow users to navigate through a hierarchical structure. The component automatically handles overflow
|
|
26
|
+
* scenarios and supports customizable separators, templates, and collapse modes.
|
|
24
27
|
*
|
|
25
28
|
* @example
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* @Component({
|
|
28
31
|
* selector: 'my-app',
|
|
29
32
|
* template: `
|
|
30
33
|
* <kendo-breadcrumb
|
|
@@ -55,7 +58,7 @@ export class BreadCrumbComponent {
|
|
|
55
58
|
zone;
|
|
56
59
|
renderer;
|
|
57
60
|
/**
|
|
58
|
-
*
|
|
61
|
+
* Configures the collection of items that will be rendered in the Breadcrumb.
|
|
59
62
|
*/
|
|
60
63
|
set items(items) {
|
|
61
64
|
this._items = items || [];
|
|
@@ -65,7 +68,7 @@ export class BreadCrumbComponent {
|
|
|
65
68
|
return this._items;
|
|
66
69
|
}
|
|
67
70
|
/**
|
|
68
|
-
*
|
|
71
|
+
* Specifies the name of a [built-in font icon](slug:icon_list) in a Kendo UI theme to be rendered as a separator.
|
|
69
72
|
*/
|
|
70
73
|
separatorIcon;
|
|
71
74
|
/**
|
|
@@ -73,14 +76,10 @@ export class BreadCrumbComponent {
|
|
|
73
76
|
*/
|
|
74
77
|
separatorSVGIcon;
|
|
75
78
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* The possible values are:
|
|
79
|
-
* - `auto` (default)—items are automatically collapsed based on the width of the Breadcrumb.
|
|
80
|
-
* - `wrap`—items are wrapped on multiple rows.
|
|
81
|
-
* - `none`—all items are expanded on the same row.
|
|
79
|
+
* Controls the collapse mode of the Breadcrumb.
|
|
80
|
+
* For more information and example, refer to the [Collapse Modes]({% slug collapse_modes_breadcrumb %}) article.
|
|
82
81
|
*
|
|
83
|
-
*
|
|
82
|
+
* @default `auto`
|
|
84
83
|
*/
|
|
85
84
|
set collapseMode(mode) {
|
|
86
85
|
if (isDevMode() && ['auto', 'wrap', 'none'].indexOf(mode) < 0) {
|
|
@@ -93,13 +92,9 @@ export class BreadCrumbComponent {
|
|
|
93
92
|
return this._collapseMode;
|
|
94
93
|
}
|
|
95
94
|
/**
|
|
96
|
-
*
|
|
95
|
+
* Determines the padding of all Breadcrumb elements.
|
|
97
96
|
*
|
|
98
|
-
*
|
|
99
|
-
* * `small`
|
|
100
|
-
* * `medium` (default)
|
|
101
|
-
* * `large`
|
|
102
|
-
* * `none`
|
|
97
|
+
* @default `medium`
|
|
103
98
|
*/
|
|
104
99
|
set size(size) {
|
|
105
100
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
@@ -110,7 +105,7 @@ export class BreadCrumbComponent {
|
|
|
110
105
|
return this._size;
|
|
111
106
|
}
|
|
112
107
|
/**
|
|
113
|
-
* Fires when a Breadcrumb item
|
|
108
|
+
* Fires when you click a Breadcrumb item. The event will not be fired by disabled items and the last item.
|
|
114
109
|
*/
|
|
115
110
|
itemClick = new EventEmitter();
|
|
116
111
|
/**
|
|
@@ -5,10 +5,21 @@
|
|
|
5
5
|
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents a template that defines the content of a Breadcrumb item.
|
|
8
|
+
* Represents a template that defines the content of a Breadcrumb item. This directive allows you to customize how each Breadcrumb item appears by providing
|
|
9
|
+
* your own template. You can access the item data and customize the display with icons, styling, or additional content beyond the default text representation.
|
|
10
|
+
*
|
|
9
11
|
* To define the template, nest an `<ng-template>` tag with the `kendoBreadCrumbItemTemplate` directive inside the `<kendo-breadcrumb>` tag.
|
|
10
12
|
*
|
|
11
13
|
* For more information and example refer to the [Templates]({% slug templates_breadcrumb %}) article.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <kendo-breadcrumb [items]="items">
|
|
18
|
+
* <ng-template kendoBreadCrumbItemTemplate let-item="item">
|
|
19
|
+
* <span>{{ item.text }}</span>
|
|
20
|
+
* </ng-template>
|
|
21
|
+
* </kendo-breadcrumb>
|
|
22
|
+
* ```
|
|
12
23
|
*/
|
|
13
24
|
export class BreadCrumbItemTemplateDirective {
|
|
14
25
|
templateRef;
|
|
@@ -11,34 +11,22 @@ import * as i1 from "./breadcrumb/breadcrumb.component";
|
|
|
11
11
|
import * as i2 from "./breadcrumb/template-directives/item-template.directive";
|
|
12
12
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
13
13
|
/**
|
|
14
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
15
15
|
* definition for the BreadCrumb component.
|
|
16
|
-
* @example
|
|
17
16
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
20
19
|
* import { BreadCrumbModule } from '@progress/kendo-angular-navigation';
|
|
21
|
-
*
|
|
22
|
-
* // The browser platform with a compiler
|
|
23
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
24
20
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
25
|
-
*
|
|
26
21
|
* import { NgModule } from '@angular/core';
|
|
27
|
-
*
|
|
28
|
-
* // Import the app component
|
|
29
22
|
* import { AppComponent } from './app.component';
|
|
30
23
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* imports: [BrowserModule, BreadCrumbModule], // import BreadCrumb module
|
|
24
|
+
* @NgModule({
|
|
25
|
+
* declarations: [AppComponent],
|
|
26
|
+
* imports: [BrowserModule, BreadCrumbModule],
|
|
35
27
|
* bootstrap: [AppComponent]
|
|
36
28
|
* })
|
|
37
29
|
* export class AppModule {}
|
|
38
|
-
*
|
|
39
|
-
* // Compile and launch the module
|
|
40
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
41
|
-
*
|
|
42
30
|
* ```
|
|
43
31
|
*/
|
|
44
32
|
export class BreadCrumbModule {
|
package/esm2022/directives.mjs
CHANGED
|
@@ -13,7 +13,24 @@ import { BottomNavigationItemTemplateDirective } from "./bottomnavigation/templa
|
|
|
13
13
|
import { BreadCrumbComponent } from "./breadcrumb/breadcrumb.component";
|
|
14
14
|
import { BreadCrumbItemTemplateDirective } from "./breadcrumb/template-directives/item-template.directive";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Use this utility array to access all ActionSheet-related components and directives in a standalone Angular component.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import { Component } from '@angular/core';
|
|
21
|
+
* import { KENDO_ACTIONSHEET } from '@progress/kendo-angular-navigation';
|
|
22
|
+
*
|
|
23
|
+
* @Component({
|
|
24
|
+
* selector: 'my-app',
|
|
25
|
+
* standalone: true,
|
|
26
|
+
* imports: [KENDO_ACTIONSHEET],
|
|
27
|
+
* template: `
|
|
28
|
+
* <kendo-actionsheet [items]="items">
|
|
29
|
+
* </kendo-actionsheet>
|
|
30
|
+
* `
|
|
31
|
+
* })
|
|
32
|
+
* export class AppComponent {}
|
|
33
|
+
* ```
|
|
17
34
|
*/
|
|
18
35
|
export const KENDO_ACTIONSHEET = [
|
|
19
36
|
ActionSheetComponent,
|
|
@@ -25,7 +42,25 @@ export const KENDO_ACTIONSHEET = [
|
|
|
25
42
|
ActionSheetTemplateDirective
|
|
26
43
|
];
|
|
27
44
|
/**
|
|
28
|
-
*
|
|
45
|
+
* Use this utility array to access all AppBar-related components and directives in a standalone Angular component.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import { Component } from '@angular/core';
|
|
50
|
+
* import { KENDO_APPBAR } from '@progress/kendo-angular-navigation';
|
|
51
|
+
*
|
|
52
|
+
* @Component({
|
|
53
|
+
* selector: 'my-app',
|
|
54
|
+
* standalone: true,
|
|
55
|
+
* imports: [KENDO_APPBAR],
|
|
56
|
+
* template: `
|
|
57
|
+
* <kendo-appbar>
|
|
58
|
+
* <!-- AppBar content -->
|
|
59
|
+
* </kendo-appbar>
|
|
60
|
+
* `
|
|
61
|
+
* })
|
|
62
|
+
* export class AppComponent {}
|
|
63
|
+
* ```
|
|
29
64
|
*/
|
|
30
65
|
export const KENDO_APPBAR = [
|
|
31
66
|
AppBarComponent,
|
|
@@ -33,21 +68,75 @@ export const KENDO_APPBAR = [
|
|
|
33
68
|
AppBarSpacerComponent
|
|
34
69
|
];
|
|
35
70
|
/**
|
|
36
|
-
*
|
|
71
|
+
* Use this utility array to access all BottomNavigation-related components and directives in a standalone Angular component.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import { Component } from '@angular/core';
|
|
76
|
+
* import { KENDO_BOTTOMNAVIGATION } from '@progress/kendo-angular-navigation';
|
|
77
|
+
*
|
|
78
|
+
* @Component({
|
|
79
|
+
* selector: 'my-app',
|
|
80
|
+
* standalone: true,
|
|
81
|
+
* imports: [KENDO_BOTTOMNAVIGATION],
|
|
82
|
+
* template: `
|
|
83
|
+
* <kendo-bottomnavigation [items]="items">
|
|
84
|
+
* </kendo-bottomnavigation>
|
|
85
|
+
* `
|
|
86
|
+
* })
|
|
87
|
+
* export class AppComponent {}
|
|
88
|
+
* ```
|
|
37
89
|
*/
|
|
38
90
|
export const KENDO_BOTTOMNAVIGATION = [
|
|
39
91
|
BottomNavigationComponent,
|
|
40
92
|
BottomNavigationItemTemplateDirective
|
|
41
93
|
];
|
|
42
94
|
/**
|
|
43
|
-
*
|
|
95
|
+
* Use this utility array to access all BreadCrumb-related components and directives in a standalone Angular component.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```typescript
|
|
99
|
+
* import { Component } from '@angular/core';
|
|
100
|
+
* import { KENDO_BREADCRUMB } from '@progress/kendo-angular-navigation';
|
|
101
|
+
*
|
|
102
|
+
* @Component({
|
|
103
|
+
* selector: 'my-app',
|
|
104
|
+
* standalone: true,
|
|
105
|
+
* imports: [KENDO_BREADCRUMB],
|
|
106
|
+
* template: `
|
|
107
|
+
* <kendo-breadcrumb [items]="items">
|
|
108
|
+
* </kendo-breadcrumb>
|
|
109
|
+
* `
|
|
110
|
+
* })
|
|
111
|
+
* export class AppComponent {}
|
|
112
|
+
* ```
|
|
44
113
|
*/
|
|
45
114
|
export const KENDO_BREADCRUMB = [
|
|
46
115
|
BreadCrumbComponent,
|
|
47
116
|
BreadCrumbItemTemplateDirective
|
|
48
117
|
];
|
|
49
118
|
/**
|
|
50
|
-
*
|
|
119
|
+
* Use this utility array to access all `@progress/kendo-angular-navigation`-related components and directives in a standalone Angular component.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```typescript
|
|
123
|
+
* import { Component } from '@angular/core';
|
|
124
|
+
* import { KENDO_NAVIGATION } from '@progress/kendo-angular-navigation';
|
|
125
|
+
*
|
|
126
|
+
* @Component({
|
|
127
|
+
* selector: 'my-app',
|
|
128
|
+
* standalone: true,
|
|
129
|
+
* imports: [KENDO_NAVIGATION],
|
|
130
|
+
* template: `
|
|
131
|
+
* <kendo-appbar>
|
|
132
|
+
* <!-- AppBar content -->
|
|
133
|
+
* </kendo-appbar>
|
|
134
|
+
* <kendo-breadcrumb [items]="breadcrumbItems">
|
|
135
|
+
* </kendo-breadcrumb>
|
|
136
|
+
* `
|
|
137
|
+
* })
|
|
138
|
+
* export class AppComponent {}
|
|
139
|
+
* ```
|
|
51
140
|
*/
|
|
52
141
|
export const KENDO_NAVIGATION = [
|
|
53
142
|
...KENDO_ACTIONSHEET,
|
|
@@ -23,34 +23,22 @@ import * as i13 from "./breadcrumb/breadcrumb.component";
|
|
|
23
23
|
import * as i14 from "./breadcrumb/template-directives/item-template.directive";
|
|
24
24
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
25
25
|
/**
|
|
26
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
26
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
27
27
|
* definition for the Navigation components.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
|
-
*
|
|
31
|
-
* ```ts-no-run
|
|
32
|
-
* // Import the Navigation module
|
|
30
|
+
* ```typescript
|
|
33
31
|
* import { NavigationModule } from '@progress/kendo-angular-navigation';
|
|
34
|
-
*
|
|
35
|
-
* // The browser platform with a compiler
|
|
36
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
37
|
-
*
|
|
32
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
38
33
|
* import { NgModule } from '@angular/core';
|
|
39
|
-
*
|
|
40
|
-
* // Import the app component
|
|
41
34
|
* import { AppComponent } from './app.component';
|
|
42
35
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* imports: [BrowserModule, NavigationModule], // import Navigation module
|
|
36
|
+
* @NgModule({
|
|
37
|
+
* declarations: [AppComponent],
|
|
38
|
+
* imports: [BrowserModule, NavigationModule],
|
|
47
39
|
* bootstrap: [AppComponent]
|
|
48
40
|
* })
|
|
49
41
|
* export class AppModule {}
|
|
50
|
-
*
|
|
51
|
-
* // Compile and launch the module
|
|
52
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
53
|
-
*
|
|
54
42
|
* ```
|
|
55
43
|
*/
|
|
56
44
|
export class NavigationModule {
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '19.1.2-develop.
|
|
13
|
+
publishDate: 1750430744,
|
|
14
|
+
version: '19.1.2-develop.5',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|