@progress/kendo-angular-navigation 19.1.2-develop.4 → 19.1.2-develop.6
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
|
@@ -25,8 +25,8 @@ const packageMetadata = {
|
|
|
25
25
|
productName: 'Kendo UI for Angular',
|
|
26
26
|
productCode: 'KENDOUIANGULAR',
|
|
27
27
|
productCodes: ['KENDOUIANGULAR'],
|
|
28
|
-
publishDate:
|
|
29
|
-
version: '19.1.2-develop.
|
|
28
|
+
publishDate: 1750433561,
|
|
29
|
+
version: '19.1.2-develop.6',
|
|
30
30
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -35,7 +35,20 @@ const DEFAULT_POSITION = 'top';
|
|
|
35
35
|
const DEFAULT_POSITION_MODE = 'static';
|
|
36
36
|
/**
|
|
37
37
|
* Represents the [Kendo UI AppBar component for Angular]({% slug overview_appbar %}).
|
|
38
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* Use the AppBar component to display information, actions, brand titles, and additional navigation on the current screen.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```html
|
|
43
|
+
* <kendo-appbar>
|
|
44
|
+
* <kendo-appbar-section>
|
|
45
|
+
* <h2>Page Title</h2>
|
|
46
|
+
* </kendo-appbar-section>
|
|
47
|
+
* </kendo-appbar>
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Supported children components are: {@link AppBarSectionComponent}, {@link AppBarSpacerComponent}
|
|
39
52
|
*/
|
|
40
53
|
class AppBarComponent {
|
|
41
54
|
localizationService;
|
|
@@ -50,15 +63,7 @@ class AppBarComponent {
|
|
|
50
63
|
* Specifies the position of the AppBar
|
|
51
64
|
* ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
52
65
|
*
|
|
53
|
-
*
|
|
54
|
-
* * `top` (Default)—Positions the AppBar at the top of the content.
|
|
55
|
-
* Setting the `position` property to `top` requires adding the Appbar component before the page content.
|
|
56
|
-
* The position property applies CSS `top: 0` style in [`fixed mode`](slug:api_navigation_appbarcomponent#toc-positionmode) and also adds a `box-shadow` to the bottom of the AppBar.
|
|
57
|
-
*
|
|
58
|
-
* * `bottom`—Positions the AppBar at the bottom of the content.
|
|
59
|
-
* Setting the `position` property to `bottom` requires adding the Appbar component after the page content.
|
|
60
|
-
* The position property applies CSS `bottom: 0` style in [`fixed mode`](slug:api_navigation_appbarcomponent#toc-positionmode) and also adds a `box-shadow ` to the top of the AppBar.
|
|
61
|
-
*
|
|
66
|
+
* @default 'top'
|
|
62
67
|
*/
|
|
63
68
|
set position(position) {
|
|
64
69
|
const newPosition = position ? position : DEFAULT_POSITION;
|
|
@@ -69,13 +74,9 @@ class AppBarComponent {
|
|
|
69
74
|
return this._position;
|
|
70
75
|
}
|
|
71
76
|
/**
|
|
72
|
-
*
|
|
73
|
-
* ([see example](slug:positioning_appbar#toc-position-mode)).
|
|
77
|
+
* Sets the position mode of the AppBar ([see example](slug:positioning_appbar#toc-position-mode)).
|
|
74
78
|
*
|
|
75
|
-
*
|
|
76
|
-
* * `static` (Default)—Does not position the AppBar in any special way. It is positioned according to the normal flow of the page.
|
|
77
|
-
* * `sticky`—Positions the AppBar based on the user's scroll position. A sticky element toggles between static and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
|
|
78
|
-
* * `fixed`—Positions the AppBar relative to the viewport. It always stays in the same place even if the page is scrolled.
|
|
79
|
+
* @default 'static'
|
|
79
80
|
*/
|
|
80
81
|
set positionMode(positionMode) {
|
|
81
82
|
const newPositionMode = positionMode ? positionMode : DEFAULT_POSITION_MODE;
|
|
@@ -86,16 +87,9 @@ class AppBarComponent {
|
|
|
86
87
|
return this._positionMode;
|
|
87
88
|
}
|
|
88
89
|
/**
|
|
89
|
-
*
|
|
90
|
-
* The theme color will be applied as background color of the component.
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* * The possible values are:
|
|
94
|
-
* * `light` (Default)—Applies coloring based on light theme color.
|
|
95
|
-
* * `dark`—Applies coloring based on dark theme color.
|
|
96
|
-
* * `inherit`— Applies inherited coloring value.
|
|
97
|
-
* * `primary`— Applies primary coloring value.
|
|
90
|
+
* Sets the theme color of the AppBar. The theme color is applied as the background color of the component.
|
|
98
91
|
*
|
|
92
|
+
* @default 'light'
|
|
99
93
|
*/
|
|
100
94
|
set themeColor(themeColor) {
|
|
101
95
|
const newThemeColor = themeColor ? themeColor : DEFAULT_THEME_COLOR;
|
|
@@ -188,20 +182,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
188
182
|
/**
|
|
189
183
|
* Represents the [Kendo UI AppBarSection component for Angular]({% slug contentarrangement_appbar %}#toc-sections).
|
|
190
184
|
*
|
|
191
|
-
*
|
|
185
|
+
* Use the AppBarSection component to group content, actions, or navigation items within the AppBar.
|
|
192
186
|
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
* </kendo-appbar>
|
|
202
|
-
* `
|
|
203
|
-
* })
|
|
204
|
-
* class AppComponent {}
|
|
187
|
+
* @example
|
|
188
|
+
* ```html
|
|
189
|
+
* <kendo-appbar>
|
|
190
|
+
* <kendo-appbar-section>
|
|
191
|
+
* <h2>Page Title</h2>
|
|
192
|
+
* </kendo-appbar-section>
|
|
193
|
+
* </kendo-appbar>
|
|
194
|
+
* ```
|
|
205
195
|
*/
|
|
206
196
|
class AppBarSectionComponent {
|
|
207
197
|
hostClass = true;
|
|
@@ -285,30 +275,22 @@ const closestItem$1 = (target, targetAttr, scope) => closestInScope$1(target, el
|
|
|
285
275
|
|
|
286
276
|
/**
|
|
287
277
|
* Represents the [Kendo UI AppBarSpacer component for Angular]({% slug contentarrangement_appbar %}#toc-spacings).
|
|
288
|
-
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
289
278
|
*
|
|
290
|
-
*
|
|
279
|
+
* Use the AppBarSpacer component to add white space between AppBar sections and customize its width.
|
|
291
280
|
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
* <
|
|
297
|
-
*
|
|
298
|
-
* <button kendoButton fillMode="flat">
|
|
299
|
-
* <kendo-icon name="menu"></kendo-icon>
|
|
300
|
-
* </button>
|
|
301
|
-
* </kendo-appbar-section>
|
|
281
|
+
* @example
|
|
282
|
+
* ```html
|
|
283
|
+
* <kendo-appbar>
|
|
284
|
+
* <kendo-appbar-section>
|
|
285
|
+
* <button kendoButton fillMode="flat" [svgIcon]="menuIcon"></button>
|
|
286
|
+
* </kendo-appbar-section>
|
|
302
287
|
*
|
|
303
|
-
*
|
|
288
|
+
* <kendo-appbar-spacer></kendo-appbar-spacer>
|
|
304
289
|
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
* `
|
|
310
|
-
* })
|
|
311
|
-
* class AppComponent {}
|
|
290
|
+
* <kendo-appbar-section>
|
|
291
|
+
* <h2>Page Title</h2>
|
|
292
|
+
* </kendo-appbar-section>
|
|
293
|
+
* </kendo-appbar>
|
|
312
294
|
* ```
|
|
313
295
|
*/
|
|
314
296
|
class AppBarSpacerComponent {
|
|
@@ -321,7 +303,7 @@ class AppBarSpacerComponent {
|
|
|
321
303
|
/**
|
|
322
304
|
* Specifies the width of the AppBarSpacer.
|
|
323
305
|
*
|
|
324
|
-
* If not set, the AppBarSpacer will take all the available space.
|
|
306
|
+
* If not set, the AppBarSpacer will take all of the available space.
|
|
325
307
|
*/
|
|
326
308
|
width;
|
|
327
309
|
constructor(renderer, element) {
|
|
@@ -355,23 +337,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
355
337
|
}] } });
|
|
356
338
|
|
|
357
339
|
/**
|
|
358
|
-
*
|
|
340
|
+
* Provides the event data for the `itemClick` event of the ActionSheet component.
|
|
341
|
+
*
|
|
342
|
+
* Use this event to access the clicked item and the original DOM event.
|
|
359
343
|
*/
|
|
360
344
|
class ActionSheetItemClickEvent {
|
|
361
345
|
/**
|
|
362
|
-
*
|
|
346
|
+
* Provides the ActionSheet item that was clicked.
|
|
363
347
|
*/
|
|
364
348
|
item;
|
|
365
349
|
/**
|
|
366
|
-
*
|
|
350
|
+
* Represents the original DOM event that triggered the `itemClick` event.
|
|
367
351
|
*/
|
|
368
352
|
originalEvent;
|
|
369
353
|
}
|
|
370
354
|
|
|
371
355
|
/**
|
|
372
|
-
* Represents a template
|
|
356
|
+
* Represents a template for customizing the header content of the ActionSheet. If you implement this template, it will override the `title` and `subtitle` of the ActionSheet.
|
|
373
357
|
* To define the template, nest an `<ng-template>` tag
|
|
374
358
|
* with the `kendoActionSheetHeaderTemplate` directive inside the `<kendo-actionsheet>` tag.
|
|
359
|
+
*
|
|
360
|
+
* @example
|
|
361
|
+
* ```html
|
|
362
|
+
* <kendo-actionsheet>
|
|
363
|
+
* <ng-template kendoActionSheetHeaderTemplate>
|
|
364
|
+
* <h3>Custom Header</h3>
|
|
365
|
+
* </ng-template>
|
|
366
|
+
* </kendo-actionsheet>
|
|
367
|
+
* ```
|
|
375
368
|
*/
|
|
376
369
|
class ActionSheetHeaderTemplateDirective {
|
|
377
370
|
templateRef;
|
|
@@ -392,9 +385,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
392
385
|
}] }]; } });
|
|
393
386
|
|
|
394
387
|
/**
|
|
395
|
-
* Represents a template
|
|
388
|
+
* Represents a template for customizing the content of each ActionSheet item.
|
|
396
389
|
* To define the template, nest an `<ng-template>` tag
|
|
397
390
|
* with the `kendoActionSheetItemTemplate` directive inside the `<kendo-actionsheet>` tag.
|
|
391
|
+
*
|
|
392
|
+
* @example
|
|
393
|
+
* ```html
|
|
394
|
+
* <kendo-actionsheet [items]="items">
|
|
395
|
+
* <ng-template kendoActionSheetItemTemplate let-item>
|
|
396
|
+
* <span>{{ item.title }} (custom)</span>
|
|
397
|
+
* </ng-template>
|
|
398
|
+
* </kendo-actionsheet>
|
|
399
|
+
* ```
|
|
398
400
|
*/
|
|
399
401
|
class ActionSheetItemTemplateDirective {
|
|
400
402
|
templateRef;
|
|
@@ -415,9 +417,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
415
417
|
}] }]; } });
|
|
416
418
|
|
|
417
419
|
/**
|
|
418
|
-
* Represents a template
|
|
420
|
+
* Represents a template for customizing the list content of the ActionSheet items.
|
|
419
421
|
* To define the template, nest an `<ng-template>` tag
|
|
420
422
|
* with the `kendoActionSheetContentTemplate` directive inside the `<kendo-actionsheet>` tag.
|
|
423
|
+
*
|
|
424
|
+
* @example
|
|
425
|
+
* ```html
|
|
426
|
+
* <kendo-actionsheet [items]="items">
|
|
427
|
+
* <ng-template kendoActionSheetContentTemplate>
|
|
428
|
+
* <div>Custom content here</div>
|
|
429
|
+
* </ng-template>
|
|
430
|
+
* </kendo-actionsheet>
|
|
431
|
+
* ```
|
|
421
432
|
*/
|
|
422
433
|
class ActionSheetContentTemplateDirective {
|
|
423
434
|
templateRef;
|
|
@@ -438,9 +449,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
438
449
|
}] }]; } });
|
|
439
450
|
|
|
440
451
|
/**
|
|
441
|
-
* Represents a template
|
|
452
|
+
* Represents a template for customizing the footer of the ActionSheet.
|
|
442
453
|
* To define the template, nest an `<ng-template>` tag
|
|
443
454
|
* with the `kendoActionSheetFooterTemplate` directive inside the `<kendo-actionsheet>` tag.
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* ```html
|
|
458
|
+
* <kendo-actionsheet>
|
|
459
|
+
* <ng-template kendoActionSheetFooterTemplate>
|
|
460
|
+
* <button kendoButton>Custom Footer Button</button>
|
|
461
|
+
* </ng-template>
|
|
462
|
+
* </kendo-actionsheet>
|
|
463
|
+
* ```
|
|
444
464
|
*/
|
|
445
465
|
class ActionSheetFooterTemplateDirective {
|
|
446
466
|
templateRef;
|
|
@@ -461,9 +481,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
461
481
|
}] }]; } });
|
|
462
482
|
|
|
463
483
|
/**
|
|
464
|
-
* Represents a template
|
|
484
|
+
* Represents a template for customizing the overall content of the ActionSheet.
|
|
465
485
|
* To define the template, nest an `<ng-template>` tag
|
|
466
486
|
* with the `kendoActionSheetTemplate` directive inside the `<kendo-actionsheet>` tag.
|
|
487
|
+
*
|
|
488
|
+
* @example
|
|
489
|
+
* ```html
|
|
490
|
+
* <kendo-actionsheet>
|
|
491
|
+
* <ng-template kendoActionSheetTemplate>
|
|
492
|
+
* <div>Custom ActionSheet content</div>
|
|
493
|
+
* </ng-template>
|
|
494
|
+
* </kendo-actionsheet>
|
|
495
|
+
* ```
|
|
467
496
|
*/
|
|
468
497
|
class ActionSheetTemplateDirective {
|
|
469
498
|
templateRef;
|
|
@@ -688,7 +717,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
688
717
|
const DEFAULT_ANIMATION_CONFIG = { duration: 300 };
|
|
689
718
|
/**
|
|
690
719
|
* Represents the [Kendo UI ActionSheet component for Angular](slug:overview_actionsheet).
|
|
691
|
-
*
|
|
720
|
+
* Use this component to display a set of choices related to a user-initiated task in a modal sheet that slides up from the bottom of the screen.
|
|
721
|
+
*
|
|
722
|
+
* @example
|
|
723
|
+
* ```html
|
|
724
|
+
* <kendo-actionsheet [items]="actionItems" [expanded]="true">
|
|
725
|
+
* </kendo-actionsheet>
|
|
726
|
+
* ```
|
|
692
727
|
*/
|
|
693
728
|
class ActionSheetComponent {
|
|
694
729
|
element;
|
|
@@ -712,54 +747,50 @@ class ActionSheetComponent {
|
|
|
712
747
|
*/
|
|
713
748
|
direction;
|
|
714
749
|
/**
|
|
715
|
-
* Specifies the
|
|
750
|
+
* Specifies the action buttons displayed in the ActionSheet footer.
|
|
716
751
|
*/
|
|
717
752
|
actions;
|
|
718
753
|
/**
|
|
719
|
-
*
|
|
720
|
-
* By default, the action buttons are rendered horizontally and stretched.
|
|
754
|
+
* Configures the layout of the action buttons in the footer. By default, actions are arranged horizontally and stretched to fill the container.
|
|
721
755
|
*/
|
|
722
756
|
actionsLayout = {
|
|
723
757
|
orientation: 'horizontal',
|
|
724
758
|
alignment: 'stretched'
|
|
725
759
|
};
|
|
726
760
|
/**
|
|
727
|
-
*
|
|
761
|
+
* Determines whether the ActionSheet closes when the overlay is clicked.
|
|
728
762
|
*
|
|
729
763
|
* @default false
|
|
730
764
|
*/
|
|
731
765
|
overlayClickClose = false;
|
|
732
766
|
/**
|
|
733
|
-
*
|
|
767
|
+
* Sets the title text displayed in the ActionSheet header.
|
|
734
768
|
*/
|
|
735
769
|
title;
|
|
736
770
|
/**
|
|
737
|
-
*
|
|
771
|
+
* Sets the subtitle text displayed below the title in the header.
|
|
738
772
|
*/
|
|
739
773
|
subtitle;
|
|
740
774
|
/**
|
|
741
|
-
*
|
|
775
|
+
* Provides the collection of items rendered in the ActionSheet content area.
|
|
742
776
|
*/
|
|
743
777
|
items;
|
|
744
778
|
/**
|
|
745
|
-
*
|
|
746
|
-
* Supports the type of values that are supported by [ngClass](link:site.data.urls.angular['ngclassapi']).
|
|
779
|
+
* Applies CSS classes to the inner ActionSheet element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
747
780
|
*/
|
|
748
781
|
cssClass;
|
|
749
782
|
/**
|
|
750
|
-
*
|
|
751
|
-
* Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
|
|
783
|
+
* Applies inline styles to the inner ActionSheet element. Accepts any value supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
752
784
|
*/
|
|
753
785
|
cssStyle;
|
|
754
786
|
/**
|
|
755
|
-
* Configures the
|
|
756
|
-
* By default, the animations are turned off. The default animations' duration is `300ms`.
|
|
787
|
+
* Configures the opening and closing animations for the ActionSheet ([see example](slug:animations_actionsheet)).
|
|
757
788
|
*
|
|
758
789
|
* @default true
|
|
759
790
|
*/
|
|
760
791
|
animation = true;
|
|
761
792
|
/**
|
|
762
|
-
*
|
|
793
|
+
* Controls whether the ActionSheet is expanded or collapsed.
|
|
763
794
|
*
|
|
764
795
|
* @default false
|
|
765
796
|
*/
|
|
@@ -768,7 +799,6 @@ class ActionSheetComponent {
|
|
|
768
799
|
* Sets the `aria-labelledby` attribute of the ActionSheet wrapper element.
|
|
769
800
|
* Use this option when the built-in header element is replaced through the [`ActionSheetHeaderTemplate`](slug:api_navigation_actionsheetheadertemplatedirective)
|
|
770
801
|
* or [`ActionSheetContentTemplate`](slug:api_navigation_actionsheetcontenttemplatedirective).
|
|
771
|
-
*
|
|
772
802
|
*/
|
|
773
803
|
titleId = getId('k-actionsheet-title');
|
|
774
804
|
/**
|
|
@@ -779,7 +809,7 @@ class ActionSheetComponent {
|
|
|
779
809
|
initialFocus = true;
|
|
780
810
|
/**
|
|
781
811
|
* Fires when the `expanded` property of the component is updated.
|
|
782
|
-
*
|
|
812
|
+
* You can use this event to provide two-way binding for the `expanded` property.
|
|
783
813
|
*/
|
|
784
814
|
expandedChange = new EventEmitter();
|
|
785
815
|
/**
|
|
@@ -1503,23 +1533,23 @@ class PreventableEvent {
|
|
|
1503
1533
|
}
|
|
1504
1534
|
|
|
1505
1535
|
/**
|
|
1506
|
-
*
|
|
1536
|
+
* Provides the arguments for the `select` event of the BottomNavigation.
|
|
1507
1537
|
*/
|
|
1508
1538
|
class BottomNavigationSelectEvent extends PreventableEvent {
|
|
1509
1539
|
/**
|
|
1510
|
-
*
|
|
1540
|
+
* Represents the index of the selected item in the `items` collection.
|
|
1511
1541
|
*/
|
|
1512
1542
|
index;
|
|
1513
1543
|
/**
|
|
1514
|
-
*
|
|
1544
|
+
* Represents the selected BottomNavigation item.
|
|
1515
1545
|
*/
|
|
1516
1546
|
item;
|
|
1517
1547
|
/**
|
|
1518
|
-
*
|
|
1548
|
+
* Provides the DOM event that triggered the selection.
|
|
1519
1549
|
*/
|
|
1520
1550
|
originalEvent;
|
|
1521
1551
|
/**
|
|
1522
|
-
*
|
|
1552
|
+
* Provides a reference to the BottomNavigation instance that triggered the event.
|
|
1523
1553
|
*/
|
|
1524
1554
|
sender;
|
|
1525
1555
|
/**
|
|
@@ -1532,9 +1562,17 @@ class BottomNavigationSelectEvent extends PreventableEvent {
|
|
|
1532
1562
|
}
|
|
1533
1563
|
|
|
1534
1564
|
/**
|
|
1535
|
-
* Represents a template that defines the
|
|
1536
|
-
* To define the template, nest an `<ng-template>` tag
|
|
1537
|
-
*
|
|
1565
|
+
* Represents a template that defines the content of the BottomNavigation items. Use this directive to customize the appearance of each navigation item.
|
|
1566
|
+
* To define the template, nest an `<ng-template>` tag with the `kendoBottomNavigationItemTemplate` directive inside the `<kendo-bottomnavigation>` tag ([see example]({% slug templates_bottomnavigation %})).
|
|
1567
|
+
*
|
|
1568
|
+
* @example
|
|
1569
|
+
* ```html
|
|
1570
|
+
* <kendo-bottomnavigation [items]="items">
|
|
1571
|
+
* <ng-template kendoBottomNavigationItemTemplate let-item="item">
|
|
1572
|
+
* <span>{{ item.text }}</span>
|
|
1573
|
+
* </ng-template>
|
|
1574
|
+
* </kendo-bottomnavigation>
|
|
1575
|
+
* ```
|
|
1538
1576
|
*/
|
|
1539
1577
|
class BottomNavigationItemTemplateDirective {
|
|
1540
1578
|
templateRef;
|
|
@@ -1686,9 +1724,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1686
1724
|
/**
|
|
1687
1725
|
* Represents the [Kendo UI BottomNavigation component for Angular]({% slug overview_bottomnavigation %}).
|
|
1688
1726
|
*
|
|
1727
|
+
* Use the BottomNavigation component to let users quickly switch between primary views in your app.
|
|
1728
|
+
*
|
|
1689
1729
|
* @example
|
|
1690
|
-
* ```
|
|
1691
|
-
*
|
|
1730
|
+
* ```typescript
|
|
1731
|
+
* @Component({
|
|
1692
1732
|
* selector: 'my-app',
|
|
1693
1733
|
* template: `
|
|
1694
1734
|
* <kendo-bottomnavigation [items]="items"></kendo-bottomnavigation>
|
|
@@ -1699,7 +1739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1699
1739
|
* { text: 'Inbox', icon: 'envelop', selected: true },
|
|
1700
1740
|
* { text: 'Calendar', icon: 'calendar'},
|
|
1701
1741
|
* { text: 'Profile', icon: 'user'}
|
|
1702
|
-
* ]
|
|
1742
|
+
* ];
|
|
1703
1743
|
* }
|
|
1704
1744
|
* ```
|
|
1705
1745
|
*/
|
|
@@ -1710,27 +1750,25 @@ class BottomNavigationComponent {
|
|
|
1710
1750
|
changeDetector;
|
|
1711
1751
|
renderer;
|
|
1712
1752
|
/**
|
|
1713
|
-
*
|
|
1753
|
+
* Provides the collection of items rendered in the BottomNavigation ([see example]({% slug items_bottomnavigation %})).
|
|
1714
1754
|
*/
|
|
1715
1755
|
items;
|
|
1716
1756
|
/**
|
|
1717
|
-
*
|
|
1757
|
+
* Shows a top border on the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
1718
1758
|
*
|
|
1719
1759
|
* @default false
|
|
1720
1760
|
*/
|
|
1721
1761
|
border = false;
|
|
1722
1762
|
/**
|
|
1723
|
-
* Disables the
|
|
1763
|
+
* Disables the entire BottomNavigation.
|
|
1724
1764
|
*
|
|
1725
1765
|
* @default false
|
|
1726
1766
|
*/
|
|
1727
1767
|
disabled = false;
|
|
1728
1768
|
/**
|
|
1729
|
-
*
|
|
1769
|
+
* Sets the fill style of the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
1730
1770
|
*
|
|
1731
|
-
*
|
|
1732
|
-
* * (Default) `flat`
|
|
1733
|
-
* * `solid`
|
|
1771
|
+
* @default 'flat'
|
|
1734
1772
|
*/
|
|
1735
1773
|
set fill(fill) {
|
|
1736
1774
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-${this.fill}`);
|
|
@@ -1743,11 +1781,9 @@ class BottomNavigationComponent {
|
|
|
1743
1781
|
return this._fill;
|
|
1744
1782
|
}
|
|
1745
1783
|
/**
|
|
1746
|
-
*
|
|
1784
|
+
* Controls how the icon and text label are positioned in the BottomNavigation items.
|
|
1747
1785
|
*
|
|
1748
|
-
*
|
|
1749
|
-
* * (Default) `vertical` - Renders the text below the icon.
|
|
1750
|
-
* * `horizontal` - Renders the icon and the text on the same line.
|
|
1786
|
+
* @default 'vertical'
|
|
1751
1787
|
*/
|
|
1752
1788
|
set itemFlow(itemFlow) {
|
|
1753
1789
|
this.renderer.removeClass(this._nativeHostElement, `k-bottom-nav-item-flow-${this.itemFlow}`);
|
|
@@ -1758,11 +1794,9 @@ class BottomNavigationComponent {
|
|
|
1758
1794
|
return this._itemFlow;
|
|
1759
1795
|
}
|
|
1760
1796
|
/**
|
|
1761
|
-
*
|
|
1797
|
+
* Sets the position and behavior of the BottomNavigation when the page is scrollable ([see example]({% slug positioning_bottomnavigation %})).
|
|
1762
1798
|
*
|
|
1763
|
-
*
|
|
1764
|
-
* * (Default) `fixed` - The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
1765
|
-
* * `sticky` - Positions the BottomNavigation at the end of the scrollable container.
|
|
1799
|
+
* @default 'fixed'
|
|
1766
1800
|
*/
|
|
1767
1801
|
set positionMode(positionMode) {
|
|
1768
1802
|
this.renderer.removeClass(this._nativeHostElement, `k-pos-${this.positionMode}`);
|
|
@@ -1773,19 +1807,9 @@ class BottomNavigationComponent {
|
|
|
1773
1807
|
return this._positionMode;
|
|
1774
1808
|
}
|
|
1775
1809
|
/**
|
|
1776
|
-
*
|
|
1810
|
+
* Sets the theme color of the BottomNavigation ([see example]({% slug appearance_bottomnavigation %})).
|
|
1777
1811
|
*
|
|
1778
|
-
*
|
|
1779
|
-
* * (Default) `primary` - Applies coloring based on the primary theme color.
|
|
1780
|
-
* * `secondary` - Applies coloring based on the secondary theme color.
|
|
1781
|
-
* * `tertiary` - Applies coloring based on the tertiary theme color.
|
|
1782
|
-
* * `info` - Applies coloring based on the info theme color.
|
|
1783
|
-
* * `success` - Applies coloring based on the success theme color.
|
|
1784
|
-
* * `warning` - Applies coloring based on the warning theme color.
|
|
1785
|
-
* * `error` - Applies coloring based on the error theme color.
|
|
1786
|
-
* * `dark` - Applies coloring based on the dark theme color.
|
|
1787
|
-
* * `light` - Applies coloring based on the light theme color.
|
|
1788
|
-
* * `inverse` - Applies coloring based on the inverted theme color.
|
|
1812
|
+
* @default 'primary'
|
|
1789
1813
|
*/
|
|
1790
1814
|
set themeColor(themeColor) {
|
|
1791
1815
|
const newColor = colors.find(color => color === themeColor);
|
|
@@ -1799,7 +1823,7 @@ class BottomNavigationComponent {
|
|
|
1799
1823
|
return this._themeColor;
|
|
1800
1824
|
}
|
|
1801
1825
|
/**
|
|
1802
|
-
* Fires
|
|
1826
|
+
* Fires when a user selects an item. This event is preventable.
|
|
1803
1827
|
*/
|
|
1804
1828
|
select = new EventEmitter();
|
|
1805
1829
|
/**
|
|
@@ -2014,10 +2038,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2014
2038
|
}] } });
|
|
2015
2039
|
|
|
2016
2040
|
/**
|
|
2017
|
-
* Represents a template that defines the content of a Breadcrumb item.
|
|
2041
|
+
* Represents a template that defines the content of a Breadcrumb item. This directive allows you to customize how each Breadcrumb item appears by providing
|
|
2042
|
+
* your own template. You can access the item data and customize the display with icons, styling, or additional content beyond the default text representation.
|
|
2043
|
+
*
|
|
2018
2044
|
* To define the template, nest an `<ng-template>` tag with the `kendoBreadCrumbItemTemplate` directive inside the `<kendo-breadcrumb>` tag.
|
|
2019
2045
|
*
|
|
2020
2046
|
* For more information and example refer to the [Templates]({% slug templates_breadcrumb %}) article.
|
|
2047
|
+
*
|
|
2048
|
+
* @example
|
|
2049
|
+
* ```html
|
|
2050
|
+
* <kendo-breadcrumb [items]="items">
|
|
2051
|
+
* <ng-template kendoBreadCrumbItemTemplate let-item="item">
|
|
2052
|
+
* <span>{{ item.text }}</span>
|
|
2053
|
+
* </ng-template>
|
|
2054
|
+
* </kendo-breadcrumb>
|
|
2055
|
+
* ```
|
|
2021
2056
|
*/
|
|
2022
2057
|
class BreadCrumbItemTemplateDirective {
|
|
2023
2058
|
templateRef;
|
|
@@ -2442,11 +2477,14 @@ const expandFirst = toggleFirst(true);
|
|
|
2442
2477
|
/* eslint-disable @typescript-eslint/no-inferrable-types */
|
|
2443
2478
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2444
2479
|
/**
|
|
2445
|
-
* Represents the [Kendo UI Breadcrumb component for Angular](
|
|
2480
|
+
* Represents the [Kendo UI Breadcrumb component for Angular](slug:overview_breadcrumb).
|
|
2481
|
+
*
|
|
2482
|
+
* Use the Breadcrumb component to allow users to navigate through a hierarchical structure. The component automatically handles overflow
|
|
2483
|
+
* scenarios and supports customizable separators, templates, and collapse modes.
|
|
2446
2484
|
*
|
|
2447
2485
|
* @example
|
|
2448
|
-
* ```
|
|
2449
|
-
*
|
|
2486
|
+
* ```typescript
|
|
2487
|
+
* @Component({
|
|
2450
2488
|
* selector: 'my-app',
|
|
2451
2489
|
* template: `
|
|
2452
2490
|
* <kendo-breadcrumb
|
|
@@ -2477,7 +2515,7 @@ class BreadCrumbComponent {
|
|
|
2477
2515
|
zone;
|
|
2478
2516
|
renderer;
|
|
2479
2517
|
/**
|
|
2480
|
-
*
|
|
2518
|
+
* Configures the collection of items that will be rendered in the Breadcrumb.
|
|
2481
2519
|
*/
|
|
2482
2520
|
set items(items) {
|
|
2483
2521
|
this._items = items || [];
|
|
@@ -2487,7 +2525,7 @@ class BreadCrumbComponent {
|
|
|
2487
2525
|
return this._items;
|
|
2488
2526
|
}
|
|
2489
2527
|
/**
|
|
2490
|
-
*
|
|
2528
|
+
* Specifies the name of a [built-in font icon](slug:icon_list) in a Kendo UI theme to be rendered as a separator.
|
|
2491
2529
|
*/
|
|
2492
2530
|
separatorIcon;
|
|
2493
2531
|
/**
|
|
@@ -2495,14 +2533,10 @@ class BreadCrumbComponent {
|
|
|
2495
2533
|
*/
|
|
2496
2534
|
separatorSVGIcon;
|
|
2497
2535
|
/**
|
|
2498
|
-
*
|
|
2499
|
-
*
|
|
2500
|
-
* The possible values are:
|
|
2501
|
-
* - `auto` (default)—items are automatically collapsed based on the width of the Breadcrumb.
|
|
2502
|
-
* - `wrap`—items are wrapped on multiple rows.
|
|
2503
|
-
* - `none`—all items are expanded on the same row.
|
|
2536
|
+
* Controls the collapse mode of the Breadcrumb.
|
|
2537
|
+
* For more information and example, refer to the [Collapse Modes]({% slug collapse_modes_breadcrumb %}) article.
|
|
2504
2538
|
*
|
|
2505
|
-
*
|
|
2539
|
+
* @default `auto`
|
|
2506
2540
|
*/
|
|
2507
2541
|
set collapseMode(mode) {
|
|
2508
2542
|
if (isDevMode() && ['auto', 'wrap', 'none'].indexOf(mode) < 0) {
|
|
@@ -2515,13 +2549,9 @@ class BreadCrumbComponent {
|
|
|
2515
2549
|
return this._collapseMode;
|
|
2516
2550
|
}
|
|
2517
2551
|
/**
|
|
2518
|
-
*
|
|
2552
|
+
* Determines the padding of all Breadcrumb elements.
|
|
2519
2553
|
*
|
|
2520
|
-
*
|
|
2521
|
-
* * `small`
|
|
2522
|
-
* * `medium` (default)
|
|
2523
|
-
* * `large`
|
|
2524
|
-
* * `none`
|
|
2554
|
+
* @default `medium`
|
|
2525
2555
|
*/
|
|
2526
2556
|
set size(size) {
|
|
2527
2557
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
@@ -2532,7 +2562,7 @@ class BreadCrumbComponent {
|
|
|
2532
2562
|
return this._size;
|
|
2533
2563
|
}
|
|
2534
2564
|
/**
|
|
2535
|
-
* Fires when a Breadcrumb item
|
|
2565
|
+
* Fires when you click a Breadcrumb item. The event will not be fired by disabled items and the last item.
|
|
2536
2566
|
*/
|
|
2537
2567
|
itemClick = new EventEmitter();
|
|
2538
2568
|
/**
|
|
@@ -2787,7 +2817,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2787
2817
|
}] } });
|
|
2788
2818
|
|
|
2789
2819
|
/**
|
|
2790
|
-
*
|
|
2820
|
+
* Use this utility array to access all ActionSheet-related components and directives in a standalone Angular component.
|
|
2821
|
+
*
|
|
2822
|
+
* @example
|
|
2823
|
+
* ```typescript
|
|
2824
|
+
* import { Component } from '@angular/core';
|
|
2825
|
+
* import { KENDO_ACTIONSHEET } from '@progress/kendo-angular-navigation';
|
|
2826
|
+
*
|
|
2827
|
+
* @Component({
|
|
2828
|
+
* selector: 'my-app',
|
|
2829
|
+
* standalone: true,
|
|
2830
|
+
* imports: [KENDO_ACTIONSHEET],
|
|
2831
|
+
* template: `
|
|
2832
|
+
* <kendo-actionsheet [items]="items">
|
|
2833
|
+
* </kendo-actionsheet>
|
|
2834
|
+
* `
|
|
2835
|
+
* })
|
|
2836
|
+
* export class AppComponent {}
|
|
2837
|
+
* ```
|
|
2791
2838
|
*/
|
|
2792
2839
|
const KENDO_ACTIONSHEET = [
|
|
2793
2840
|
ActionSheetComponent,
|
|
@@ -2799,7 +2846,25 @@ const KENDO_ACTIONSHEET = [
|
|
|
2799
2846
|
ActionSheetTemplateDirective
|
|
2800
2847
|
];
|
|
2801
2848
|
/**
|
|
2802
|
-
*
|
|
2849
|
+
* Use this utility array to access all AppBar-related components and directives in a standalone Angular component.
|
|
2850
|
+
*
|
|
2851
|
+
* @example
|
|
2852
|
+
* ```typescript
|
|
2853
|
+
* import { Component } from '@angular/core';
|
|
2854
|
+
* import { KENDO_APPBAR } from '@progress/kendo-angular-navigation';
|
|
2855
|
+
*
|
|
2856
|
+
* @Component({
|
|
2857
|
+
* selector: 'my-app',
|
|
2858
|
+
* standalone: true,
|
|
2859
|
+
* imports: [KENDO_APPBAR],
|
|
2860
|
+
* template: `
|
|
2861
|
+
* <kendo-appbar>
|
|
2862
|
+
* <!-- AppBar content -->
|
|
2863
|
+
* </kendo-appbar>
|
|
2864
|
+
* `
|
|
2865
|
+
* })
|
|
2866
|
+
* export class AppComponent {}
|
|
2867
|
+
* ```
|
|
2803
2868
|
*/
|
|
2804
2869
|
const KENDO_APPBAR = [
|
|
2805
2870
|
AppBarComponent,
|
|
@@ -2807,21 +2872,75 @@ const KENDO_APPBAR = [
|
|
|
2807
2872
|
AppBarSpacerComponent
|
|
2808
2873
|
];
|
|
2809
2874
|
/**
|
|
2810
|
-
*
|
|
2875
|
+
* Use this utility array to access all BottomNavigation-related components and directives in a standalone Angular component.
|
|
2876
|
+
*
|
|
2877
|
+
* @example
|
|
2878
|
+
* ```typescript
|
|
2879
|
+
* import { Component } from '@angular/core';
|
|
2880
|
+
* import { KENDO_BOTTOMNAVIGATION } from '@progress/kendo-angular-navigation';
|
|
2881
|
+
*
|
|
2882
|
+
* @Component({
|
|
2883
|
+
* selector: 'my-app',
|
|
2884
|
+
* standalone: true,
|
|
2885
|
+
* imports: [KENDO_BOTTOMNAVIGATION],
|
|
2886
|
+
* template: `
|
|
2887
|
+
* <kendo-bottomnavigation [items]="items">
|
|
2888
|
+
* </kendo-bottomnavigation>
|
|
2889
|
+
* `
|
|
2890
|
+
* })
|
|
2891
|
+
* export class AppComponent {}
|
|
2892
|
+
* ```
|
|
2811
2893
|
*/
|
|
2812
2894
|
const KENDO_BOTTOMNAVIGATION = [
|
|
2813
2895
|
BottomNavigationComponent,
|
|
2814
2896
|
BottomNavigationItemTemplateDirective
|
|
2815
2897
|
];
|
|
2816
2898
|
/**
|
|
2817
|
-
*
|
|
2899
|
+
* Use this utility array to access all BreadCrumb-related components and directives in a standalone Angular component.
|
|
2900
|
+
*
|
|
2901
|
+
* @example
|
|
2902
|
+
* ```typescript
|
|
2903
|
+
* import { Component } from '@angular/core';
|
|
2904
|
+
* import { KENDO_BREADCRUMB } from '@progress/kendo-angular-navigation';
|
|
2905
|
+
*
|
|
2906
|
+
* @Component({
|
|
2907
|
+
* selector: 'my-app',
|
|
2908
|
+
* standalone: true,
|
|
2909
|
+
* imports: [KENDO_BREADCRUMB],
|
|
2910
|
+
* template: `
|
|
2911
|
+
* <kendo-breadcrumb [items]="items">
|
|
2912
|
+
* </kendo-breadcrumb>
|
|
2913
|
+
* `
|
|
2914
|
+
* })
|
|
2915
|
+
* export class AppComponent {}
|
|
2916
|
+
* ```
|
|
2818
2917
|
*/
|
|
2819
2918
|
const KENDO_BREADCRUMB = [
|
|
2820
2919
|
BreadCrumbComponent,
|
|
2821
2920
|
BreadCrumbItemTemplateDirective
|
|
2822
2921
|
];
|
|
2823
2922
|
/**
|
|
2824
|
-
*
|
|
2923
|
+
* Use this utility array to access all `@progress/kendo-angular-navigation`-related components and directives in a standalone Angular component.
|
|
2924
|
+
*
|
|
2925
|
+
* @example
|
|
2926
|
+
* ```typescript
|
|
2927
|
+
* import { Component } from '@angular/core';
|
|
2928
|
+
* import { KENDO_NAVIGATION } from '@progress/kendo-angular-navigation';
|
|
2929
|
+
*
|
|
2930
|
+
* @Component({
|
|
2931
|
+
* selector: 'my-app',
|
|
2932
|
+
* standalone: true,
|
|
2933
|
+
* imports: [KENDO_NAVIGATION],
|
|
2934
|
+
* template: `
|
|
2935
|
+
* <kendo-appbar>
|
|
2936
|
+
* <!-- AppBar content -->
|
|
2937
|
+
* </kendo-appbar>
|
|
2938
|
+
* <kendo-breadcrumb [items]="breadcrumbItems">
|
|
2939
|
+
* </kendo-breadcrumb>
|
|
2940
|
+
* `
|
|
2941
|
+
* })
|
|
2942
|
+
* export class AppComponent {}
|
|
2943
|
+
* ```
|
|
2825
2944
|
*/
|
|
2826
2945
|
const KENDO_NAVIGATION = [
|
|
2827
2946
|
...KENDO_ACTIONSHEET,
|
|
@@ -2832,35 +2951,22 @@ const KENDO_NAVIGATION = [
|
|
|
2832
2951
|
|
|
2833
2952
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
2834
2953
|
/**
|
|
2835
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
2954
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
2836
2955
|
* definition for the AppBar component.
|
|
2837
2956
|
*
|
|
2838
2957
|
* @example
|
|
2839
|
-
*
|
|
2840
|
-
* ```ts-no-run
|
|
2841
|
-
* // Import the AppBar module
|
|
2958
|
+
* ```typescript
|
|
2842
2959
|
* import { AppBarModule } from '@progress/kendo-angular-navigation';
|
|
2843
|
-
*
|
|
2844
|
-
* // The browser platform with a compiler
|
|
2845
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2846
2960
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
2847
|
-
*
|
|
2848
2961
|
* import { NgModule } from '@angular/core';
|
|
2849
|
-
*
|
|
2850
|
-
* // Import the app component
|
|
2851
2962
|
* import { AppComponent } from './app.component';
|
|
2852
2963
|
*
|
|
2853
|
-
*
|
|
2854
|
-
*
|
|
2855
|
-
*
|
|
2856
|
-
* imports: [BrowserModule, AppBarModule], // import AppBar module
|
|
2964
|
+
* @NgModule({
|
|
2965
|
+
* declarations: [AppComponent],
|
|
2966
|
+
* imports: [BrowserModule, AppBarModule],
|
|
2857
2967
|
* bootstrap: [AppComponent]
|
|
2858
2968
|
* })
|
|
2859
2969
|
* export class AppModule {}
|
|
2860
|
-
*
|
|
2861
|
-
* // Compile and launch the module
|
|
2862
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
2863
|
-
*
|
|
2864
2970
|
* ```
|
|
2865
2971
|
*/
|
|
2866
2972
|
class AppBarModule {
|
|
@@ -2878,34 +2984,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2878
2984
|
|
|
2879
2985
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
2880
2986
|
/**
|
|
2881
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
2987
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
2882
2988
|
* definition for the Navigation components.
|
|
2883
2989
|
*
|
|
2884
2990
|
* @example
|
|
2885
|
-
*
|
|
2886
|
-
* ```ts-no-run
|
|
2887
|
-
* // Import the Navigation module
|
|
2991
|
+
* ```typescript
|
|
2888
2992
|
* import { NavigationModule } from '@progress/kendo-angular-navigation';
|
|
2889
|
-
*
|
|
2890
|
-
* // The browser platform with a compiler
|
|
2891
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2892
|
-
*
|
|
2993
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
2893
2994
|
* import { NgModule } from '@angular/core';
|
|
2894
|
-
*
|
|
2895
|
-
* // Import the app component
|
|
2896
2995
|
* import { AppComponent } from './app.component';
|
|
2897
2996
|
*
|
|
2898
|
-
*
|
|
2899
|
-
*
|
|
2900
|
-
*
|
|
2901
|
-
* imports: [BrowserModule, NavigationModule], // import Navigation module
|
|
2997
|
+
* @NgModule({
|
|
2998
|
+
* declarations: [AppComponent],
|
|
2999
|
+
* imports: [BrowserModule, NavigationModule],
|
|
2902
3000
|
* bootstrap: [AppComponent]
|
|
2903
3001
|
* })
|
|
2904
3002
|
* export class AppModule {}
|
|
2905
|
-
*
|
|
2906
|
-
* // Compile and launch the module
|
|
2907
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
2908
|
-
*
|
|
2909
3003
|
* ```
|
|
2910
3004
|
*/
|
|
2911
3005
|
class NavigationModule {
|
|
@@ -2924,34 +3018,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2924
3018
|
|
|
2925
3019
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
2926
3020
|
/**
|
|
2927
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3021
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
2928
3022
|
* definition for the BreadCrumb component.
|
|
2929
|
-
* @example
|
|
2930
3023
|
*
|
|
2931
|
-
*
|
|
2932
|
-
*
|
|
3024
|
+
* @example
|
|
3025
|
+
* ```typescript
|
|
2933
3026
|
* import { BreadCrumbModule } from '@progress/kendo-angular-navigation';
|
|
2934
|
-
*
|
|
2935
|
-
* // The browser platform with a compiler
|
|
2936
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2937
3027
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
2938
|
-
*
|
|
2939
3028
|
* import { NgModule } from '@angular/core';
|
|
2940
|
-
*
|
|
2941
|
-
* // Import the app component
|
|
2942
3029
|
* import { AppComponent } from './app.component';
|
|
2943
3030
|
*
|
|
2944
|
-
*
|
|
2945
|
-
*
|
|
2946
|
-
*
|
|
2947
|
-
* imports: [BrowserModule, BreadCrumbModule], // import BreadCrumb module
|
|
3031
|
+
* @NgModule({
|
|
3032
|
+
* declarations: [AppComponent],
|
|
3033
|
+
* imports: [BrowserModule, BreadCrumbModule],
|
|
2948
3034
|
* bootstrap: [AppComponent]
|
|
2949
3035
|
* })
|
|
2950
3036
|
* export class AppModule {}
|
|
2951
|
-
*
|
|
2952
|
-
* // Compile and launch the module
|
|
2953
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
2954
|
-
*
|
|
2955
3037
|
* ```
|
|
2956
3038
|
*/
|
|
2957
3039
|
class BreadCrumbModule {
|
|
@@ -2970,34 +3052,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2970
3052
|
|
|
2971
3053
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
2972
3054
|
/**
|
|
2973
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3055
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
2974
3056
|
* definition for the BottomNavigation component.
|
|
2975
|
-
* @example
|
|
2976
3057
|
*
|
|
2977
|
-
*
|
|
2978
|
-
*
|
|
3058
|
+
* @example
|
|
3059
|
+
* ```typescript
|
|
2979
3060
|
* import { BottomNavigationModule } from '@progress/kendo-angular-navigation';
|
|
2980
|
-
*
|
|
2981
|
-
* // The browser platform with a compiler
|
|
2982
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2983
3061
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
2984
|
-
*
|
|
2985
3062
|
* import { NgModule } from '@angular/core';
|
|
2986
|
-
*
|
|
2987
|
-
* // Import the app component
|
|
2988
3063
|
* import { AppComponent } from './app.component';
|
|
2989
3064
|
*
|
|
2990
|
-
*
|
|
2991
|
-
*
|
|
2992
|
-
*
|
|
2993
|
-
* imports: [BrowserModule, BottomNavigationModule], // import BottomNavigation module
|
|
3065
|
+
* @NgModule({
|
|
3066
|
+
* declarations: [AppComponent],
|
|
3067
|
+
* imports: [BrowserModule, BottomNavigationModule],
|
|
2994
3068
|
* bootstrap: [AppComponent]
|
|
2995
3069
|
* })
|
|
2996
3070
|
* export class AppModule {}
|
|
2997
|
-
*
|
|
2998
|
-
* // Compile and launch the module
|
|
2999
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
3000
|
-
*
|
|
3001
3071
|
* ```
|
|
3002
3072
|
*/
|
|
3003
3073
|
class BottomNavigationModule {
|
|
@@ -3016,35 +3086,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3016
3086
|
|
|
3017
3087
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
3018
3088
|
/**
|
|
3019
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3089
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
|
|
3020
3090
|
* definition for the ActionSheet component.
|
|
3021
3091
|
*
|
|
3022
3092
|
* @example
|
|
3023
|
-
*
|
|
3024
|
-
* ```ts-no-run
|
|
3025
|
-
* // Import the ActionSheet module
|
|
3093
|
+
* ```typescript
|
|
3026
3094
|
* import { ActionSheetModule } from '@progress/kendo-angular-navigation';
|
|
3027
|
-
*
|
|
3028
|
-
* // The browser platform with a compiler
|
|
3029
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
3030
3095
|
* import { BrowserModule } from '@angular/platform-browser';
|
|
3031
|
-
*
|
|
3032
3096
|
* import { NgModule } from '@angular/core';
|
|
3033
|
-
*
|
|
3034
|
-
* // Import the app component
|
|
3035
3097
|
* import { AppComponent } from './app.component';
|
|
3036
3098
|
*
|
|
3037
|
-
*
|
|
3038
|
-
*
|
|
3039
|
-
*
|
|
3040
|
-
* imports: [BrowserModule, ActionSheetModule], // import ActionSheet module
|
|
3099
|
+
* @NgModule({
|
|
3100
|
+
* declarations: [AppComponent],
|
|
3101
|
+
* imports: [BrowserModule, ActionSheetModule],
|
|
3041
3102
|
* bootstrap: [AppComponent]
|
|
3042
3103
|
* })
|
|
3043
3104
|
* export class AppModule {}
|
|
3044
|
-
*
|
|
3045
|
-
* // Compile and launch the module
|
|
3046
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
3047
|
-
*
|
|
3048
3105
|
* ```
|
|
3049
3106
|
*/
|
|
3050
3107
|
class ActionSheetModule {
|