@progress/kendo-angular-layout 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/avatar/avatar.component.d.ts +43 -47
- package/avatar/l10n/custom-messages.component.d.ts +9 -1
- package/avatar/l10n/messages.d.ts +1 -1
- package/avatar/models/fill.d.ts +1 -1
- package/avatar/models/rounded.d.ts +1 -1
- package/avatar/models/size.d.ts +1 -1
- package/avatar/models/theme-color.d.ts +1 -1
- package/avatar.module.d.ts +14 -2
- package/card/card-actions.component.d.ts +16 -15
- package/card/card-body.component.d.ts +9 -1
- package/card/card-footer.component.d.ts +9 -1
- package/card/card-header.component.d.ts +10 -1
- package/card/card.component.d.ts +19 -6
- package/card/directives/card-media.directive.d.ts +10 -1
- package/card/directives/card-separator.directive.d.ts +10 -4
- package/card/directives/card-subtitle.directive.d.ts +8 -1
- package/card/directives/card-title.directive.d.ts +8 -1
- package/card/models/actions-layout.d.ts +1 -8
- package/card/models/card-action.d.ts +4 -4
- package/card.module.d.ts +14 -2
- package/codemods/utils.js +0 -3
- package/common/orientation.d.ts +1 -1
- package/common/preventable-event.d.ts +3 -6
- package/directives.d.ts +13 -13
- package/drawer/drawer-container.component.d.ts +13 -1
- package/drawer/drawer-content.component.d.ts +9 -1
- package/drawer/drawer.component.d.ts +48 -47
- package/drawer/events/select-event.d.ts +5 -5
- package/drawer/models/drawer-animation.interface.d.ts +1 -2
- package/drawer/models/drawer-item-expand.interface.d.ts +1 -1
- package/drawer/models/drawer-item.interface.d.ts +15 -17
- package/drawer/models/mode.d.ts +4 -3
- package/drawer/models/position.d.ts +1 -6
- package/drawer/template-directives/drawer-template.directive.d.ts +18 -5
- package/drawer/template-directives/footer-template.directive.d.ts +11 -3
- package/drawer/template-directives/header-template.directive.d.ts +11 -3
- package/drawer/template-directives/item-template.directive.d.ts +19 -3
- package/drawer.module.d.ts +14 -2
- package/esm2022/avatar/avatar.component.mjs +43 -47
- package/esm2022/avatar/l10n/custom-messages.component.mjs +9 -1
- package/esm2022/avatar/l10n/messages.mjs +1 -1
- package/esm2022/avatar.module.mjs +14 -2
- package/esm2022/card/card-actions.component.mjs +16 -15
- package/esm2022/card/card-body.component.mjs +9 -1
- package/esm2022/card/card-footer.component.mjs +9 -1
- package/esm2022/card/card-header.component.mjs +10 -1
- package/esm2022/card/card.component.mjs +19 -6
- package/esm2022/card/directives/card-media.directive.mjs +10 -1
- package/esm2022/card/directives/card-separator.directive.mjs +10 -4
- package/esm2022/card/directives/card-subtitle.directive.mjs +8 -1
- package/esm2022/card/directives/card-title.directive.mjs +8 -1
- package/esm2022/card/models/card-action.mjs +4 -4
- package/esm2022/card.module.mjs +14 -2
- package/esm2022/common/preventable-event.mjs +3 -6
- package/esm2022/directives.mjs +13 -13
- package/esm2022/drawer/drawer-container.component.mjs +13 -1
- package/esm2022/drawer/drawer-content.component.mjs +9 -1
- package/esm2022/drawer/drawer.component.mjs +48 -47
- package/esm2022/drawer/events/select-event.mjs +5 -5
- package/esm2022/drawer/template-directives/drawer-template.directive.mjs +18 -5
- package/esm2022/drawer/template-directives/footer-template.directive.mjs +11 -3
- package/esm2022/drawer/template-directives/header-template.directive.mjs +11 -3
- package/esm2022/drawer/template-directives/item-template.directive.mjs +19 -3
- package/esm2022/drawer.module.mjs +14 -2
- package/esm2022/expansionpanel/events/action-event.mjs +2 -2
- package/esm2022/expansionpanel/expansionpanel-title.directive.mjs +12 -3
- package/esm2022/expansionpanel/expansionpanel.component.mjs +20 -27
- package/esm2022/expansionpanel.module.mjs +14 -2
- package/esm2022/gridlayout.module.mjs +14 -2
- package/esm2022/layout.module.mjs +10 -21
- package/esm2022/layouts/grid-layout.component.mjs +24 -17
- package/esm2022/layouts/gridlayout-item.component.mjs +16 -4
- package/esm2022/layouts/stack-layout.component.mjs +15 -6
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/panelbar/events/collapse-event.mjs +2 -2
- package/esm2022/panelbar/events/expand-event.mjs +2 -2
- package/esm2022/panelbar/events/item-click-event.mjs +3 -3
- package/esm2022/panelbar/events/select-event.mjs +2 -2
- package/esm2022/panelbar/events/state-change-event.mjs +2 -2
- package/esm2022/panelbar/panelbar-content.directive.mjs +12 -1
- package/esm2022/panelbar/panelbar-expand-mode.mjs +3 -4
- package/esm2022/panelbar/panelbar-item-template.directive.mjs +12 -1
- package/esm2022/panelbar/panelbar-item-title.directive.mjs +12 -19
- package/esm2022/panelbar/panelbar-item.component.mjs +26 -11
- package/esm2022/panelbar/panelbar.component.mjs +40 -17
- package/esm2022/panelbar.module.mjs +13 -8
- package/esm2022/splitter/splitter-pane.component.mjs +40 -20
- package/esm2022/splitter/splitter.component.mjs +25 -41
- package/esm2022/splitter.module.mjs +13 -5
- package/esm2022/stacklayout.module.mjs +14 -2
- package/esm2022/stepper/events/activate-event.mjs +5 -5
- package/esm2022/stepper/localization/custom-messages.component.mjs +9 -1
- package/esm2022/stepper/localization/messages.mjs +1 -1
- package/esm2022/stepper/stepper.component.mjs +32 -39
- package/esm2022/stepper/stepper.service.mjs +4 -4
- package/esm2022/stepper/template-directives/indicator-template.directive.mjs +10 -1
- package/esm2022/stepper/template-directives/label-template.directive.mjs +10 -1
- package/esm2022/stepper/template-directives/step-template.directive.mjs +12 -1
- package/esm2022/stepper.module.mjs +14 -2
- package/esm2022/tabstrip/directives/tab-content.directive.mjs +12 -24
- package/esm2022/tabstrip/directives/tab-title.directive.mjs +10 -29
- package/esm2022/tabstrip/events/select-event.mjs +3 -1
- package/esm2022/tabstrip/events/tabclose-event.mjs +2 -1
- package/esm2022/tabstrip/events/tabscroll-event.mjs +2 -2
- package/esm2022/tabstrip/localization/custom-messages.component.mjs +11 -2
- package/esm2022/tabstrip/localization/messages.mjs +3 -3
- package/esm2022/tabstrip/models/tabstrip-tab.component.mjs +30 -17
- package/esm2022/tabstrip/tabstrip.component.mjs +49 -37
- package/esm2022/tabstrip.module.mjs +13 -7
- package/esm2022/tilelayout/reorder-event.mjs +3 -2
- package/esm2022/tilelayout/resize-event.mjs +3 -2
- package/esm2022/tilelayout/tilelayout-item-body.component.mjs +10 -1
- package/esm2022/tilelayout/tilelayout-item-header.component.mjs +12 -2
- package/esm2022/tilelayout/tilelayout-item.component.mjs +20 -10
- package/esm2022/tilelayout/tilelayout.component.mjs +31 -26
- package/esm2022/tilelayout.module.mjs +13 -7
- package/esm2022/timeline/templates/timeline-card-actions.directive.mjs +11 -2
- package/esm2022/timeline/templates/timeline-card-body.directive.mjs +11 -2
- package/esm2022/timeline/templates/timeline-card-header.directive.mjs +12 -2
- package/esm2022/timeline/timeline.component.mjs +3 -0
- package/esm2022/timeline.module.mjs +13 -4
- package/expansionpanel/events/action-event.d.ts +3 -3
- package/expansionpanel/expansionpanel-title.directive.d.ts +12 -3
- package/expansionpanel/expansionpanel.component.d.ts +20 -27
- package/expansionpanel.module.d.ts +14 -2
- package/fesm2022/progress-kendo-angular-layout.mjs +1072 -641
- package/gridlayout.module.d.ts +14 -2
- package/layout.module.d.ts +10 -21
- package/layouts/grid-layout.component.d.ts +24 -17
- package/layouts/gridlayout-item.component.d.ts +16 -4
- package/layouts/models/gridlayout-gap-settings.d.ts +3 -3
- package/layouts/models/gridlayout-row-col-size.d.ts +4 -4
- package/layouts/models/layout-align-settings.d.ts +3 -3
- package/layouts/models/layout-horizontal-align.d.ts +1 -1
- package/layouts/models/layout-vertical-align.d.ts +1 -1
- package/layouts/stack-layout.component.d.ts +15 -6
- package/package.json +9 -9
- package/panelbar/events/collapse-event.d.ts +2 -2
- package/panelbar/events/expand-event.d.ts +2 -2
- package/panelbar/events/item-click-event.d.ts +3 -3
- package/panelbar/events/select-event.d.ts +2 -2
- package/panelbar/events/state-change-event.d.ts +2 -2
- package/panelbar/panelbar-content.directive.d.ts +12 -1
- package/panelbar/panelbar-expand-mode.d.ts +3 -4
- package/panelbar/panelbar-item-model.d.ts +6 -6
- package/panelbar/panelbar-item-template.directive.d.ts +12 -1
- package/panelbar/panelbar-item-title.directive.d.ts +12 -19
- package/panelbar/panelbar-item.component.d.ts +24 -9
- package/panelbar/panelbar.component.d.ts +40 -17
- package/panelbar.module.d.ts +13 -8
- package/splitter/splitter-pane.component.d.ts +40 -20
- package/splitter/splitter.component.d.ts +24 -40
- package/splitter.module.d.ts +13 -5
- package/stacklayout.module.d.ts +14 -2
- package/stepper/events/activate-event.d.ts +5 -5
- package/stepper/localization/custom-messages.component.d.ts +9 -1
- package/stepper/localization/messages.d.ts +1 -1
- package/stepper/models/orientation.d.ts +1 -3
- package/stepper/models/step-predicate.d.ts +5 -6
- package/stepper/models/step-type.d.ts +1 -4
- package/stepper/models/stepper-step.interface.d.ts +12 -12
- package/stepper/stepper.component.d.ts +32 -39
- package/stepper/template-directives/indicator-template.directive.d.ts +10 -1
- package/stepper/template-directives/label-template.directive.d.ts +10 -1
- package/stepper/template-directives/step-template.directive.d.ts +12 -1
- package/stepper.module.d.ts +14 -2
- package/tabstrip/directives/tab-content.directive.d.ts +12 -24
- package/tabstrip/directives/tab-title.directive.d.ts +10 -29
- package/tabstrip/events/select-event.d.ts +3 -1
- package/tabstrip/events/tabclose-event.d.ts +2 -1
- package/tabstrip/events/tabscroll-event.d.ts +2 -2
- package/tabstrip/localization/custom-messages.component.d.ts +11 -2
- package/tabstrip/localization/messages.d.ts +3 -3
- package/tabstrip/models/scroll-buttons-visibility.d.ts +1 -1
- package/tabstrip/models/scrollable-settings.d.ts +17 -22
- package/tabstrip/models/size.d.ts +1 -1
- package/tabstrip/models/tab-alignment.d.ts +1 -1
- package/tabstrip/models/tab-position.d.ts +1 -1
- package/tabstrip/models/tabstrip-tab.component.d.ts +30 -17
- package/tabstrip/tabstrip.component.d.ts +41 -29
- package/tabstrip.module.d.ts +13 -7
- package/tilelayout/models/flowmode.type.d.ts +7 -8
- package/tilelayout/models/gap.interface.d.ts +3 -5
- package/tilelayout/reorder-event.d.ts +3 -2
- package/tilelayout/resize-event.d.ts +3 -2
- package/tilelayout/tilelayout-item-body.component.d.ts +10 -1
- package/tilelayout/tilelayout-item-header.component.d.ts +12 -2
- package/tilelayout/tilelayout-item.component.d.ts +20 -10
- package/tilelayout/tilelayout.component.d.ts +31 -26
- package/tilelayout.module.d.ts +13 -7
- package/timeline/events/navigation-direction.d.ts +6 -0
- package/timeline/models/anchor-target.d.ts +6 -0
- package/timeline/templates/timeline-card-actions.directive.d.ts +11 -2
- package/timeline/templates/timeline-card-body.directive.d.ts +11 -2
- package/timeline/templates/timeline-card-header.directive.d.ts +12 -2
- package/timeline/timeline.component.d.ts +3 -0
- package/timeline.module.d.ts +13 -4
@@ -26,6 +26,16 @@ const autoFlowClasses = {
|
|
26
26
|
};
|
27
27
|
/**
|
28
28
|
* Represents the [Kendo UI TileLayout component for Angular]({% slug overview_tilelayout %})
|
29
|
+
*
|
30
|
+
* @example
|
31
|
+
* ```html
|
32
|
+
* <kendo-tilelayout [columns]="3" [gap]="10">
|
33
|
+
* <kendo-tilelayout-item>Content 1</kendo-tilelayout-item>
|
34
|
+
* <kendo-tilelayout-item>Content 2</kendo-tilelayout-item>
|
35
|
+
* </kendo-tilelayout>
|
36
|
+
* ```
|
37
|
+
* @remarks
|
38
|
+
* Supported children components are: {@link TileLayoutItemComponent}.
|
29
39
|
*/
|
30
40
|
export class TileLayoutComponent {
|
31
41
|
zone;
|
@@ -35,22 +45,22 @@ export class TileLayoutComponent {
|
|
35
45
|
draggingService;
|
36
46
|
navigationService;
|
37
47
|
/**
|
38
|
-
*
|
48
|
+
* Specifies the number of columns ([see example](slug:tiles_tilelayout#size-and-position)).
|
39
49
|
* @default 1
|
40
50
|
*/
|
41
51
|
columns = 1;
|
42
52
|
/**
|
43
|
-
*
|
53
|
+
* Sets the width of the columns.
|
54
|
+
* Use numeric values for pixels or string values for other CSS units ([see example](slug:tiles_tilelayout#size-and-position)).
|
44
55
|
* @default '1fr'
|
45
56
|
*/
|
46
57
|
columnWidth = '1fr';
|
47
58
|
/**
|
48
|
-
*
|
49
|
-
*
|
50
|
-
*
|
51
|
-
* * columns - the horizontal spacing. Numeric values are treated as pixels. Defaults to `16`.
|
59
|
+
* Sets the spacing between layout items in pixels.
|
60
|
+
* Use an object with `rows` and `columns` properties to set different horizontal and vertical spacing.
|
61
|
+
* Use a single number to apply the same spacing to both directions.
|
52
62
|
*
|
53
|
-
*
|
63
|
+
* @default { rows: 16, columns: 16 }
|
54
64
|
*/
|
55
65
|
set gap(value) {
|
56
66
|
this._gap = (typeof value === 'number') ? { rows: value, columns: value } : Object.assign(this._gap, value);
|
@@ -59,48 +69,42 @@ export class TileLayoutComponent {
|
|
59
69
|
return this._gap;
|
60
70
|
}
|
61
71
|
/**
|
62
|
-
*
|
72
|
+
* Enables or disables item reordering ([see example]({% slug reordering_tilelayout %})).
|
63
73
|
* @default false
|
64
74
|
*/
|
65
75
|
reorderable = false;
|
66
76
|
/**
|
67
|
-
*
|
77
|
+
* Enables or disables item resizing ([see example]({% slug resizing_tilelayout %})).
|
68
78
|
* @default false
|
69
79
|
*/
|
70
80
|
resizable = false;
|
71
81
|
/**
|
72
|
-
*
|
82
|
+
* Sets the height of the rows.
|
83
|
+
* Use numeric values for pixels or string values for other CSS units ([see example](slug:tiles_tilelayout#size-and-position)).
|
73
84
|
* @default '1fr'
|
74
85
|
*/
|
75
86
|
rowHeight = '1fr';
|
76
87
|
/**
|
77
|
-
* Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
|
78
|
-
* For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
|
79
88
|
*
|
80
|
-
*
|
81
|
-
* * (Default) `column`
|
82
|
-
* * `row`
|
83
|
-
* * `row dense`
|
84
|
-
* * `column dense`
|
85
|
-
* * `none`
|
89
|
+
* Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
|
86
90
|
*
|
91
|
+
* For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
|
92
|
+
* @default 'column'
|
87
93
|
*/
|
88
94
|
autoFlow = 'column';
|
89
95
|
/**
|
90
|
-
*
|
91
|
-
* By default, navigation is enabled. To disable it and include focusable TileLayout content as a part of the natural tab sequence of the page, set the property to `false`.
|
92
|
-
*
|
96
|
+
* Enables or disables [keyboard navigation](slug:keyboard_navigation_tilelayout).
|
93
97
|
* @default true
|
94
98
|
*/
|
95
99
|
navigable = true;
|
96
100
|
/**
|
97
|
-
* Fires when
|
98
|
-
*
|
101
|
+
* Fires when item reordering is completed ([see example]({% slug reordering_tilelayout %})).
|
102
|
+
* You can prevent this event to cancel the reorder operation.
|
99
103
|
*/
|
100
104
|
reorder = new EventEmitter();
|
101
105
|
/**
|
102
|
-
* Fires when
|
103
|
-
*
|
106
|
+
* Fires when item resizing is completed ([see example]({% slug resizing_tilelayout %})).
|
107
|
+
* You can prevent this event to cancel the resize operation.
|
104
108
|
*/
|
105
109
|
resize = new EventEmitter();
|
106
110
|
hostClass = true;
|
@@ -122,7 +126,8 @@ export class TileLayoutComponent {
|
|
122
126
|
return this.draggingService.order;
|
123
127
|
}
|
124
128
|
/**
|
125
|
-
*
|
129
|
+
* Contains a query list of the `TileLayoutItemComponent` instances that are used in the TileLayout.
|
130
|
+
* This allows you to access the items programmatically and manipulate their properties or listen to their events.
|
126
131
|
*/
|
127
132
|
items;
|
128
133
|
hint;
|
@@ -11,14 +11,20 @@ import * as i3 from "./tilelayout/tilelayout-item.component";
|
|
11
11
|
import * as i4 from "./tilelayout/tilelayout-item-header.component";
|
12
12
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
13
13
|
/**
|
14
|
-
*
|
15
|
-
* definition for the TileLayout component.
|
14
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the TileLayout component.
|
16
15
|
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
16
|
+
* Use this module to add the TileLayout component to your NgModule-based Angular application.
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```typescript
|
20
|
+
* import { TileLayoutModule } from '@progress/kendo-angular-layout';
|
21
|
+
* import { NgModule } from '@angular/core';
|
22
|
+
*
|
23
|
+
* @NgModule({
|
24
|
+
* imports: [TileLayoutModule]
|
25
|
+
* })
|
26
|
+
* export class AppModule { }
|
27
|
+
* ```
|
22
28
|
*/
|
23
29
|
export class TileLayoutModule {
|
24
30
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
@@ -9,8 +9,17 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* with the `kendoTimelineCardActionsTemplate` directive inside the `<kendo-timeline>` tag.
|
10
10
|
*
|
11
11
|
* The following values are available as context variables:
|
12
|
-
* - `let-event="event"` (`TimelineEvent`)
|
13
|
-
* - `let-index="index"` (`number`)
|
12
|
+
* - `let-event="event"` (`TimelineEvent`)—The current card's event. Also available as implicit context variable.
|
13
|
+
* - `let-index="index"` (`number`)—The current event index.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html
|
17
|
+
* <kendo-timeline [events]="events">
|
18
|
+
* <ng-template kendoTimelineCardActionsTemplate let-event let-index="index">
|
19
|
+
* Content for the actions of the card with index {{ index }} and event {{ event.title }}.
|
20
|
+
* </ng-template>
|
21
|
+
* </kendo-timeline>
|
22
|
+
* ```
|
14
23
|
*/
|
15
24
|
export class TimelineCardActionsTemplateDirective {
|
16
25
|
templateRef;
|
@@ -9,8 +9,17 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* with the `kendoTimelineCardBodyTemplate` directive inside the `<kendo-timeline>` tag.
|
10
10
|
*
|
11
11
|
* The following values are available as context variables:
|
12
|
-
* - `let-event="event"` (`TimelineEvent`)
|
13
|
-
* - `let-index="index"` (`number`)
|
12
|
+
* - `let-event="event"` (`TimelineEvent`)—The current card's event. Also available as implicit context variable.
|
13
|
+
* - `let-index="index"` (`number`)—The current event index.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html
|
17
|
+
* <kendo-timeline [events]="events">
|
18
|
+
* <ng-template kendoTimelineCardBodyTemplate let-event let-index="index">
|
19
|
+
* Component for the body of the card with index {{ index }} and event {{ event.title }}.
|
20
|
+
* </ng-template>
|
21
|
+
* </kendo-timeline>
|
22
|
+
* ```
|
14
23
|
*/
|
15
24
|
export class TimelineCardBodyTemplateDirective {
|
16
25
|
templateRef;
|
@@ -9,8 +9,18 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* with the `kendoTimelineCardHeaderTemplate` directive inside the `<kendo-timeline>` tag.
|
10
10
|
*
|
11
11
|
* The following values are available as context variables:
|
12
|
-
* - `let-event="event"` (`TimelineEvent`)
|
13
|
-
* - `let-index="index"` (`number`)
|
12
|
+
* - `let-event="event"` (`TimelineEvent`)—The current card's event. Also available as implicit context variable.
|
13
|
+
* - `let-index="index"` (`number`)—The current event index.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html
|
17
|
+
* <kendo-timeline [events]="events">
|
18
|
+
* <ng-template kendoTimelineCardHeaderTemplate let-event let-index="index">
|
19
|
+
* <span class="k-event-title">Title: {{ event.title }}</span>
|
20
|
+
* <div kendoCardSubtitle>Event number {{ index }}</div>
|
21
|
+
* </ng-template>
|
22
|
+
* </kendo-timeline>
|
23
|
+
* ```
|
14
24
|
*/
|
15
25
|
export class TimelineCardHeaderTemplateDirective {
|
16
26
|
templateRef;
|
@@ -25,6 +25,9 @@ const DEFAULT_EVENT_HEIGHT = 600;
|
|
25
25
|
const DEFAULT_DATE_FORMAT = 'MMMM dd, yyyy';
|
26
26
|
/**
|
27
27
|
* Represents the [Kendo UI Timeline component for Angular]({% slug overview_timeline %}).
|
28
|
+
*
|
29
|
+
* @remarks
|
30
|
+
* Supported children components are: {@link TimelineCustomMessagesComponent}.
|
28
31
|
*/
|
29
32
|
export class TimelineComponent {
|
30
33
|
timelineService;
|
@@ -12,11 +12,20 @@ import * as i4 from "./timeline/templates/timeline-card-body.directive";
|
|
12
12
|
import * as i5 from "./timeline/templates/timeline-card-header.directive";
|
13
13
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
14
14
|
/**
|
15
|
-
*
|
16
|
-
* definition for the Timeline component.
|
15
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Timeline component.
|
17
16
|
*
|
18
|
-
*
|
19
|
-
*
|
17
|
+
* Use this module to add the Timeline component to your NgModule-based Angular application.
|
18
|
+
*
|
19
|
+
* @example
|
20
|
+
* ```typescript
|
21
|
+
* import { TimelineModule } from '@progress/kendo-angular-layout';
|
22
|
+
* import { NgModule } from '@angular/core';
|
23
|
+
*
|
24
|
+
* @NgModule({
|
25
|
+
* imports: [TimelineModule]
|
26
|
+
* })
|
27
|
+
* export class AppModule { }
|
28
|
+
* ```
|
20
29
|
*/
|
21
30
|
export class TimelineModule {
|
22
31
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
@@ -4,15 +4,15 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Defines the type of the action that takes place upon interaction with the ExpansionPanel.
|
8
8
|
*/
|
9
9
|
export type ExpansionPanelAction = 'expand' | 'collapse';
|
10
10
|
/**
|
11
|
-
*
|
11
|
+
* Defines the arguments for the `action` event of the ExpansionPanel.
|
12
12
|
*/
|
13
13
|
export declare class ExpansionPanelActionEvent extends PreventableEvent {
|
14
14
|
/**
|
15
|
-
*
|
15
|
+
* Defines the action that takes place upon interaction with the ExpansionPanel.
|
16
16
|
*/
|
17
17
|
action: ExpansionPanelAction;
|
18
18
|
/**
|
@@ -5,10 +5,19 @@
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
*
|
9
|
-
* To define the template, nest an `<ng-template>` tag
|
10
|
-
* with the `kendoExpansionPanelTitleDirective` directive inside the `<kendo-expansionpanel>` tag.
|
8
|
+
* Defines a template that specifies the content of the ExpansionPanel title.
|
9
|
+
* To define the template, nest an `<ng-template>` tag with the `kendoExpansionPanelTitleDirective` directive inside the `<kendo-expansionpanel>` tag
|
11
10
|
* ([see example]({% slug title_expansionpanel %}#toc-title-template)).
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* ```html
|
14
|
+
* <kendo-expansionpanel>
|
15
|
+
* <ng-template kendoExpansionPanelTitleDirective>
|
16
|
+
* <h3>Custom Title</h3>
|
17
|
+
* </ng-template>
|
18
|
+
* <p>Panel content</p>
|
19
|
+
* </kendo-expansionpanel>
|
20
|
+
* ```
|
12
21
|
*/
|
13
22
|
export declare class ExpansionPanelTitleDirective {
|
14
23
|
templateRef: TemplateRef<any>;
|
@@ -10,19 +10,16 @@ import { ExpansionPanelActionEvent } from './events/action-event';
|
|
10
10
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
|
-
* Represents the
|
13
|
+
* Represents the Kendo UI ExpansionPanel component for Angular. Provides an expandable and collapsible content container with customizable header and animation ([see overview]({% slug overview_expansionpanel %})).
|
14
14
|
*
|
15
15
|
* @example
|
16
|
-
* ```
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
22
|
-
*
|
23
|
-
* `
|
24
|
-
* })
|
25
|
-
* class AppComponent {}
|
16
|
+
* ```html
|
17
|
+
* <kendo-expansionpanel
|
18
|
+
* title="Chile"
|
19
|
+
* subtitle="South America"
|
20
|
+
* [expanded]="isExpanded">
|
21
|
+
* There are various theories about the origin of the word Chile.
|
22
|
+
* </kendo-expansionpanel>
|
26
23
|
* ```
|
27
24
|
*/
|
28
25
|
export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, OnDestroy {
|
@@ -37,7 +34,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
|
|
37
34
|
*/
|
38
35
|
title: string;
|
39
36
|
/**
|
40
|
-
* Specifies the secondary text in the header of the ExpansionPanel, which
|
37
|
+
* Specifies the secondary text in the header of the ExpansionPanel, which renders next to the collapse/expand icon
|
41
38
|
* ([see example](slug:title_expansionpanel#toc-titles-and-subtitles)).
|
42
39
|
*/
|
43
40
|
subtitle: string;
|
@@ -49,7 +46,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
|
|
49
46
|
*/
|
50
47
|
disabled: boolean;
|
51
48
|
/**
|
52
|
-
* Specifies whether the ExpansionPanel is expanded. The property supports two-way binding
|
49
|
+
* Specifies whether the ExpansionPanel is expanded. The property supports two-way binding
|
53
50
|
* ([see example]({% slug interaction_expansionpanel %}#toc-setting-the-initial-state)).
|
54
51
|
*
|
55
52
|
* @default false
|
@@ -57,24 +54,24 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
|
|
57
54
|
set expanded(value: boolean);
|
58
55
|
get expanded(): boolean;
|
59
56
|
/**
|
60
|
-
* Defines an
|
61
|
-
*
|
57
|
+
* Defines an SVG icon for the expanded state of the component.
|
58
|
+
* You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
62
59
|
*/
|
63
60
|
set svgExpandIcon(icon: SVGIcon);
|
64
61
|
get svgExpandIcon(): SVGIcon;
|
65
62
|
/**
|
66
|
-
* Defines an
|
67
|
-
*
|
63
|
+
* Defines an SVG icon for the collapsed state of the component.
|
64
|
+
* You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
68
65
|
*/
|
69
66
|
set svgCollapseIcon(icon: SVGIcon);
|
70
67
|
get svgCollapseIcon(): SVGIcon;
|
71
68
|
/**
|
72
|
-
* Sets a custom icon via
|
69
|
+
* Sets a custom icon via CSS class(es) for the collapsed state of the component
|
73
70
|
* ([see example]({% slug icons_expansionpanel %}#toc-icons)).
|
74
71
|
*/
|
75
72
|
expandIcon: string;
|
76
73
|
/**
|
77
|
-
* Sets a custom icon via
|
74
|
+
* Sets a custom icon via CSS class(es) for the expanded state of the component
|
78
75
|
* ([see example]({% slug icons_expansionpanel %}#toc-icons)).
|
79
76
|
*/
|
80
77
|
collapseIcon: string;
|
@@ -82,11 +79,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
|
|
82
79
|
* Specifies the animation settings of the ExpansionPanel
|
83
80
|
* ([see example]({% slug animations_expansionpanel %})).
|
84
81
|
*
|
85
|
-
*
|
86
|
-
* * Boolean
|
87
|
-
* * (Default) `true` Numeric values represent duration. Default duration is 200ms.
|
88
|
-
* * false
|
89
|
-
* * Number
|
82
|
+
* @default true
|
90
83
|
*/
|
91
84
|
animation?: boolean | number;
|
92
85
|
/**
|
@@ -101,12 +94,12 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
|
|
101
94
|
*/
|
102
95
|
action: EventEmitter<ExpansionPanelActionEvent>;
|
103
96
|
/**
|
104
|
-
* Fires when the ExpansionPanel is expanded. If there is animation it
|
97
|
+
* Fires when the ExpansionPanel is expanded. If there is animation it fires when the animation is complete
|
105
98
|
* ([see example](slug:events_expansionpanel)).
|
106
99
|
*/
|
107
100
|
expand: EventEmitter<any>;
|
108
101
|
/**
|
109
|
-
* Fires when the ExpansionPanel is collapsed. If there is animation it
|
102
|
+
* Fires when the ExpansionPanel is collapsed. If there is animation it fires when the animation is complete
|
110
103
|
* ([see example](slug:events_expansionpanel)).
|
111
104
|
*/
|
112
105
|
collapse: EventEmitter<any>;
|
@@ -164,7 +157,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
|
|
164
157
|
* Toggles the visibility of the ExpansionPanel
|
165
158
|
* ([see example](slug:interaction_expansionpanel#toggling-between-states)).
|
166
159
|
*
|
167
|
-
* @param expanded
|
160
|
+
* @param expanded Specifies whether the ExpansionPanel will be expanded or collapsed.
|
168
161
|
*/
|
169
162
|
toggle(expanded?: boolean): void;
|
170
163
|
private focusExpansionPanel;
|
@@ -6,8 +6,20 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./expansionpanel/expansionpanel.component";
|
7
7
|
import * as i2 from "./expansionpanel/expansionpanel-title.directive";
|
8
8
|
/**
|
9
|
-
*
|
10
|
-
*
|
9
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the ExpansionPanel component.
|
10
|
+
*
|
11
|
+
* Use this module to add the ExpansionPanel component to your NgModule-based Angular application.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* ```typescript
|
15
|
+
* import { ExpansionPanelModule } from '@progress/kendo-angular-layout';
|
16
|
+
* import { NgModule } from '@angular/core';
|
17
|
+
*
|
18
|
+
* @NgModule({
|
19
|
+
* imports: [ExpansionPanelModule]
|
20
|
+
* })
|
21
|
+
* export class AppModule { }
|
22
|
+
* ```
|
11
23
|
*/
|
12
24
|
export declare class ExpansionPanelModule {
|
13
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpansionPanelModule, never>;
|