@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
@@ -12,38 +12,60 @@ import { PanelBarItemTemplateDirective } from "./panelbar-item-template.directiv
|
|
12
12
|
import { PanelBarSelectEvent, PanelBarExpandEvent, PanelBarCollapseEvent, PanelBarStateChangeEvent, PanelBarItemClickEvent } from './events';
|
13
13
|
import * as i0 from "@angular/core";
|
14
14
|
/**
|
15
|
-
* Represents the
|
15
|
+
* Represents the Kendo UI PanelBar component for Angular.
|
16
|
+
* Displays hierarchical data as an expandable and collapsible accordion-style interface ([see overview]({% slug overview_panelbar %})).
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```typescript
|
20
|
+
* @Component({
|
21
|
+
* selector: 'my-app',
|
22
|
+
* template: `
|
23
|
+
* <kendo-panelbar [items]="items" expandMode="single">
|
24
|
+
* </kendo-panelbar>
|
25
|
+
* `
|
26
|
+
* })
|
27
|
+
* class AppComponent {
|
28
|
+
* items = [
|
29
|
+
* { title: 'Item 1', expanded: true, content: 'Content 1' },
|
30
|
+
* { title: 'Item 2', content: 'Content 2' }
|
31
|
+
* ];
|
32
|
+
* }
|
33
|
+
* ```
|
34
|
+
* @remarks
|
35
|
+
* Supported children components are: {@link PanelBarItemComponent}.
|
16
36
|
*/
|
17
37
|
export declare class PanelBarComponent implements AfterViewChecked, OnChanges, OnInit, OnDestroy {
|
18
38
|
private localization;
|
19
39
|
/**
|
20
40
|
* Sets the expand mode of the PanelBar through the `PanelBarExpandMode` enum ([see example]({% slug expandmodes_panelbar %})).
|
21
41
|
*
|
22
|
-
*
|
23
|
-
* - `"single"`—Expands only one item at a time. Expanding an item collapses the item that was previously expanded.
|
24
|
-
* - `"multiple"`—The default mode of the PanelBar.
|
25
|
-
* Expands more than one item at a time. Items can also be toggled.
|
26
|
-
* - `"full"`—Expands only one item at a time.
|
27
|
-
* The expanded area occupies the entire height of the PanelBar. Requires you to set the `height` property.
|
42
|
+
* @default 'multiple
|
28
43
|
*/
|
29
44
|
expandMode: PanelBarExpandMode;
|
30
45
|
/**
|
31
46
|
* Allows the PanelBar to modify the selected state of the items.
|
47
|
+
*
|
48
|
+
* @default true
|
32
49
|
*/
|
33
50
|
selectable: boolean;
|
34
51
|
/**
|
35
52
|
* Sets the animate state of the PanelBar ([see example]({% slug animations_panelbar %})).
|
53
|
+
*
|
54
|
+
* @default true
|
36
55
|
*/
|
37
56
|
animate: boolean;
|
38
57
|
/**
|
39
58
|
* Sets the height of the component when the `"full"` expand mode is used.
|
40
|
-
* This option is ignored
|
59
|
+
* This option is ignored when the `"multiple"` or `"single"` expand modes are used.
|
60
|
+
*
|
61
|
+
* @default '400px'
|
41
62
|
*/
|
42
63
|
height: any;
|
43
64
|
/**
|
44
65
|
* When set to `true`, the PanelBar renders the content of all items and they are persisted in the DOM
|
45
66
|
* ([see example]({% slug templates_panelbar %}#toc-collections)).
|
46
|
-
*
|
67
|
+
*
|
68
|
+
* @default false
|
47
69
|
*/
|
48
70
|
get keepItemContent(): boolean;
|
49
71
|
set keepItemContent(keepItemContent: boolean);
|
@@ -54,31 +76,32 @@ export declare class PanelBarComponent implements AfterViewChecked, OnChanges, O
|
|
54
76
|
set items(data: Array<PanelBarItemModel>);
|
55
77
|
get items(): Array<PanelBarItemModel>;
|
56
78
|
/**
|
57
|
-
* Fires
|
79
|
+
* Fires when the state of the PanelBar changes.
|
80
|
+
* This event is triggered when an item is selected, expanded, or collapsed.
|
58
81
|
* ([see example](slug:routing_panelbar#using-router-service)).
|
59
82
|
* The event data contains a collection of all items that are modified.
|
60
83
|
*/
|
61
84
|
stateChange: EventEmitter<PanelBarStateChangeEvent>;
|
62
85
|
/**
|
63
86
|
* Fires when an item is about to be selected.
|
64
|
-
*
|
65
|
-
*
|
87
|
+
* This event is preventable. If you cancel it, the item will not be selected
|
88
|
+
* ([see example]({% slug events_panelbar %})).
|
66
89
|
*/
|
67
90
|
select: EventEmitter<PanelBarSelectEvent>;
|
68
91
|
/**
|
69
92
|
* Fires when an item is about to be expanded.
|
70
|
-
*
|
71
|
-
*
|
93
|
+
* This event is preventable. If you cancel it, the item will remain collapsed
|
94
|
+
* ([see example]({% slug events_panelbar %})).
|
72
95
|
*/
|
73
96
|
expand: EventEmitter<PanelBarExpandEvent>;
|
74
97
|
/**
|
75
98
|
* Fires when an item is about to be collapsed.
|
76
|
-
*
|
77
|
-
*
|
99
|
+
* This event is preventable. If you cancel it, the item will remain expanded
|
100
|
+
* ([see example]({% slug events_panelbar %})).
|
78
101
|
*/
|
79
102
|
collapse: EventEmitter<PanelBarCollapseEvent>;
|
80
103
|
/**
|
81
|
-
* Fires when
|
104
|
+
* Fires when an item is clicked ([see example]({% slug events_panelbar %})).
|
82
105
|
*/
|
83
106
|
itemClick: EventEmitter<PanelBarItemClickEvent>;
|
84
107
|
hostClasses: boolean;
|
package/panelbar.module.d.ts
CHANGED
@@ -9,15 +9,20 @@ import * as i3 from "./panelbar/panelbar-content.directive";
|
|
9
9
|
import * as i4 from "./panelbar/panelbar-item-template.directive";
|
10
10
|
import * as i5 from "./panelbar/panelbar-item-title.directive";
|
11
11
|
/**
|
12
|
-
*
|
13
|
-
* definition for the PanelBar component.
|
12
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the PanelBar component.
|
14
13
|
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
14
|
+
* Use this module to add the PanelBar component to your NgModule-based Angular application.
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* ```typescript
|
18
|
+
* import { PanelBarModule } from '@progress/kendo-angular-layout';
|
19
|
+
* import { NgModule } from '@angular/core';
|
20
|
+
*
|
21
|
+
* @NgModule({
|
22
|
+
* imports: [PanelBarModule]
|
23
|
+
* })
|
24
|
+
* export class AppModule { }
|
25
|
+
* ```
|
21
26
|
*/
|
22
27
|
export declare class PanelBarModule {
|
23
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelBarModule, never>;
|
@@ -8,6 +8,18 @@ import { SplitterService } from './splitter.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
/**
|
10
10
|
* Represents the pane component of the Splitter.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* ```html
|
14
|
+
* <kendo-splitter>
|
15
|
+
* <kendo-splitter-pane size="30%" [collapsible]="true">
|
16
|
+
* Left pane content
|
17
|
+
* </kendo-splitter-pane>
|
18
|
+
* <kendo-splitter-pane>
|
19
|
+
* Right pane content
|
20
|
+
* </kendo-splitter-pane>
|
21
|
+
* </kendo-splitter>
|
22
|
+
* ```
|
11
23
|
*/
|
12
24
|
export declare class SplitterPaneComponent implements AfterViewChecked {
|
13
25
|
element: ElementRef<HTMLElement>;
|
@@ -20,16 +32,16 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
|
|
20
32
|
set order(paneOrder: number);
|
21
33
|
get order(): number;
|
22
34
|
/**
|
23
|
-
*
|
24
|
-
* Accepts
|
25
|
-
*
|
35
|
+
* Defines the initial size of the pane.
|
36
|
+
* Accepts values in pixels and percentages.
|
37
|
+
* The value must be between the `min` and `max` properties.
|
26
38
|
*/
|
27
39
|
set size(newSize: string);
|
28
40
|
get size(): string;
|
29
41
|
/**
|
30
|
-
*
|
31
|
-
*
|
32
|
-
*
|
42
|
+
* Defines the HTML attributes of the splitter bar.
|
43
|
+
* Accepts string key-value pairs.
|
44
|
+
* You cannot change attributes that are essential for certain functionalities.
|
33
45
|
*/
|
34
46
|
set splitterBarAttributes(attributes: {
|
35
47
|
[key: string]: string;
|
@@ -38,34 +50,42 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
|
|
38
50
|
[key: string]: string;
|
39
51
|
};
|
40
52
|
/**
|
41
|
-
*
|
42
|
-
* Supports the
|
53
|
+
* Defines the CSS classes that are rendered on the splitter bar.
|
54
|
+
* Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
43
55
|
*/
|
44
56
|
splitterBarClass: string | Array<string> | Object;
|
45
57
|
/**
|
46
|
-
*
|
47
|
-
* Accepts
|
58
|
+
* Defines the minimum possible size of the pane.
|
59
|
+
* Accepts values in pixels and percentages.
|
48
60
|
*/
|
49
61
|
min: string;
|
50
62
|
/**
|
51
|
-
*
|
52
|
-
* Accepts
|
63
|
+
* Defines the maximum possible size of the pane.
|
64
|
+
* Accepts values in pixels and percentages.
|
53
65
|
*/
|
54
66
|
max: string;
|
55
67
|
/**
|
56
|
-
*
|
68
|
+
* Determines if you can resize the pane and provide space for other panes.
|
69
|
+
*
|
70
|
+
* @default true
|
57
71
|
*/
|
58
72
|
resizable: boolean;
|
59
73
|
/**
|
60
|
-
*
|
74
|
+
* Determines if you can hide the pane and provide space for other panes.
|
75
|
+
*
|
76
|
+
* @default false
|
61
77
|
*/
|
62
78
|
collapsible: boolean;
|
63
79
|
/**
|
64
|
-
*
|
80
|
+
* Determines if overflowing content is scrollable or hidden.
|
81
|
+
*
|
82
|
+
* @default true
|
65
83
|
*/
|
66
84
|
scrollable: boolean;
|
67
85
|
/**
|
68
|
-
*
|
86
|
+
* Determines if the pane is initially collapsed.
|
87
|
+
*
|
88
|
+
* @default false
|
69
89
|
*/
|
70
90
|
collapsed: boolean;
|
71
91
|
/**
|
@@ -81,15 +101,15 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
|
|
81
101
|
*/
|
82
102
|
overlayContent: boolean;
|
83
103
|
/**
|
84
|
-
* Fires
|
104
|
+
* Fires when the Splitter pane size changes.
|
85
105
|
* The event data contains the new pane size.
|
86
|
-
*
|
106
|
+
* Enables two-way binding of the pane `size` property.
|
87
107
|
*/
|
88
108
|
sizeChange: EventEmitter<string>;
|
89
109
|
/**
|
90
|
-
* Fires
|
110
|
+
* Fires when the Splitter pane collapses or expands.
|
91
111
|
* The event data contains the new property state.
|
92
|
-
*
|
112
|
+
* Enables two-way binding of the `collapsed` pane property.
|
93
113
|
*/
|
94
114
|
collapsedChange: EventEmitter<boolean>;
|
95
115
|
get isHidden(): boolean;
|
@@ -12,37 +12,19 @@ import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
13
13
|
* Represents the [Kendo UI Splitter component for Angular]({% slug overview_splitter %}).
|
14
14
|
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
22
|
-
*
|
23
|
-
*
|
24
|
-
*
|
25
|
-
* </kendo-splitter-pane>
|
26
|
-
*
|
27
|
-
* <kendo-splitter-pane>
|
28
|
-
* <h3>Inner splitter / center pane</h3>
|
29
|
-
* <p>Resizable only.</p>
|
30
|
-
* </kendo-splitter-pane>
|
31
|
-
*
|
32
|
-
* <kendo-splitter-pane [collapsible]="true" size="30%">
|
33
|
-
* <h3>Inner splitter / right pane</h3>
|
34
|
-
* <p>Resizable and collapsible.</p>
|
35
|
-
* </kendo-splitter-pane>
|
36
|
-
*
|
37
|
-
* </kendo-splitter>
|
38
|
-
* `,
|
39
|
-
* styles: [ `
|
40
|
-
* h3 { font-size: 1.2em; }
|
41
|
-
* h3, p { margin: 10px; padding: 0; }
|
42
|
-
* ` ]
|
43
|
-
* })
|
44
|
-
* class AppComponent {}
|
15
|
+
* @example
|
16
|
+
* ```html
|
17
|
+
* <kendo-splitter [style.height.px]="280">
|
18
|
+
* <kendo-splitter-pane [collapsible]="true" size="30%">
|
19
|
+
* <h3>Left pane</h3>
|
20
|
+
* </kendo-splitter-pane>
|
21
|
+
* <kendo-splitter-pane>
|
22
|
+
* <h3>Right pane</h3>
|
23
|
+
* </kendo-splitter-pane>
|
24
|
+
* </kendo-splitter>
|
45
25
|
* ```
|
26
|
+
* @remarks
|
27
|
+
* Supported children components are: {@link SplitterPaneComponent}.
|
46
28
|
*/
|
47
29
|
export declare class SplitterComponent implements AfterContentInit {
|
48
30
|
protected element: ElementRef<HTMLElement>;
|
@@ -52,30 +34,32 @@ export declare class SplitterComponent implements AfterContentInit {
|
|
52
34
|
private ngZone;
|
53
35
|
private enclosingPane?;
|
54
36
|
/**
|
55
|
-
*
|
56
|
-
*
|
57
|
-
*
|
37
|
+
* Defines the orientation of the panes within the Splitter.
|
38
|
+
* Use `horizontal` to place panes horizontally or `vertical` to place them vertically.
|
39
|
+
*
|
40
|
+
* @default 'horizontal'
|
58
41
|
*/
|
59
42
|
orientation: Orientation;
|
60
43
|
/**
|
61
|
-
*
|
44
|
+
* Defines the width or height of the Splitter splitbars in pixels.
|
45
|
+
* The dimension depends on the orientation of the Splitter.
|
62
46
|
*/
|
63
47
|
splitbarWidth: number;
|
64
48
|
/**
|
65
|
-
*
|
49
|
+
* Defines the distance in pixels that you move the separator during keyboard navigation.
|
50
|
+
*
|
66
51
|
* @default 10
|
67
52
|
*/
|
68
53
|
set resizeStep(value: number);
|
69
54
|
get resizeStep(): number;
|
70
55
|
/**
|
71
|
-
*
|
72
|
-
* Supports the
|
56
|
+
* Defines the CSS classes that are rendered on the splitter bars.
|
57
|
+
* Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
73
58
|
*/
|
74
59
|
splitterBarClass: string | Array<string> | Object;
|
75
60
|
/**
|
76
|
-
* Fires
|
77
|
-
*
|
78
|
-
* which are positioned inside the panes.
|
61
|
+
* Fires when the layout of the Splitter changes.
|
62
|
+
* Use this event to trigger layout calculations on components that are positioned inside the panes.
|
79
63
|
*/
|
80
64
|
layoutChange: EventEmitter<string>;
|
81
65
|
get hostClasses(): boolean;
|
package/splitter.module.d.ts
CHANGED
@@ -6,12 +6,20 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./splitter/splitter.component";
|
7
7
|
import * as i2 from "./splitter/splitter-pane.component";
|
8
8
|
/**
|
9
|
-
*
|
10
|
-
* definition for the Splitter component.
|
9
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Splitter component.
|
11
10
|
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
11
|
+
* Use this module to add the Splitter component to your NgModule-based Angular application.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* ```typescript
|
15
|
+
* import { SplitterModule } from '@progress/kendo-angular-layout';
|
16
|
+
* import { NgModule } from '@angular/core';
|
17
|
+
*
|
18
|
+
* @NgModule({
|
19
|
+
* imports: [SplitterModule]
|
20
|
+
* })
|
21
|
+
* export class AppModule { }
|
22
|
+
* ```
|
15
23
|
*/
|
16
24
|
export declare class SplitterModule {
|
17
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitterModule, never>;
|
package/stacklayout.module.d.ts
CHANGED
@@ -5,8 +5,20 @@
|
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
import * as i1 from "./layouts/stack-layout.component";
|
7
7
|
/**
|
8
|
-
*
|
9
|
-
*
|
8
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the StackLayout component.
|
9
|
+
*
|
10
|
+
* Use this module to add the StackLayout component to your NgModule-based Angular application.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* ```typescript
|
14
|
+
* import { StackLayoutModule } from '@progress/kendo-angular-layout';
|
15
|
+
* import { NgModule } from '@angular/core';
|
16
|
+
*
|
17
|
+
* @NgModule({
|
18
|
+
* imports: [StackLayoutModule]
|
19
|
+
* })
|
20
|
+
* export class AppModule { }
|
21
|
+
* ```
|
10
22
|
*/
|
11
23
|
export declare class StackLayoutModule {
|
12
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<StackLayoutModule, never>;
|
@@ -5,23 +5,23 @@
|
|
5
5
|
import { PreventableEvent } from '@progress/kendo-angular-common';
|
6
6
|
import { StepperComponent } from './../stepper.component';
|
7
7
|
/**
|
8
|
-
*
|
8
|
+
* Represents the arguments for the `activate` event of the Stepper.
|
9
9
|
*/
|
10
10
|
export declare class StepperActivateEvent extends PreventableEvent {
|
11
11
|
/**
|
12
|
-
*
|
12
|
+
* Specifies the index of the activated step in the `steps` collection.
|
13
13
|
*/
|
14
14
|
index: number;
|
15
15
|
/**
|
16
|
-
*
|
16
|
+
* Specifies the activated step.
|
17
17
|
*/
|
18
18
|
step: any;
|
19
19
|
/**
|
20
|
-
*
|
20
|
+
* Specifies the DOM event that triggered the step activation.
|
21
21
|
*/
|
22
22
|
originalEvent: any;
|
23
23
|
/**
|
24
|
-
*
|
24
|
+
* Specifies the Stepper that triggered the event.
|
25
25
|
*/
|
26
26
|
sender: StepperComponent;
|
27
27
|
/**
|
@@ -6,8 +6,16 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { StepperMessages } from './messages';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
*
|
9
|
+
* Provides custom component messages that override default component messages
|
10
10
|
* ([see example]({% slug rtl_layout %})).
|
11
|
+
*
|
12
|
+
* ```html
|
13
|
+
* <kendo-stepper>
|
14
|
+
* <kendo-stepper-messages
|
15
|
+
* optional="Optional step"
|
16
|
+
* ></kendo-stepper-messages>
|
17
|
+
* </kendo-stepper>
|
18
|
+
* ```
|
11
19
|
*/
|
12
20
|
export declare class StepperCustomMessagesComponent extends StepperMessages {
|
13
21
|
protected service: LocalizationService;
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
9
9
|
*/
|
10
10
|
export declare class StepperMessages extends ComponentMessages {
|
11
11
|
/**
|
12
|
-
*
|
12
|
+
* Specifies the optional text.
|
13
13
|
*/
|
14
14
|
optional: string;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepperMessages, never>;
|
@@ -6,8 +6,6 @@
|
|
6
6
|
* Specifies the orientation of the Stepper
|
7
7
|
* ([see example]({% slug orientation_stepper %})).
|
8
8
|
*
|
9
|
-
*
|
10
|
-
* * (Default) `horizontal`
|
11
|
-
* * `vertical`
|
9
|
+
* Use `horizontal` to display steps in a row or `vertical` to display steps in a column.
|
12
10
|
*/
|
13
11
|
export type StepperOrientation = 'horizontal' | 'vertical';
|
@@ -3,17 +3,16 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
/**
|
6
|
-
* Represents the callback used by the `isValid` and `validate` properties of a [step]({% slug api_layout_stepperstep %}).
|
6
|
+
* Represents the callback function used by the `isValid` and `validate` properties of a [step]({% slug api_layout_stepperstep %}).
|
7
7
|
*
|
8
|
-
*
|
8
|
+
* The function receives the index of the step as an argument.
|
9
9
|
*
|
10
|
-
*
|
10
|
+
* Use an arrow function for the callback to capture the `this` execution context of the current class.
|
11
11
|
*
|
12
|
-
* ```
|
13
|
-
* stepCallback = (index: number): boolean => {
|
12
|
+
* ```typescript
|
13
|
+
* public stepCallback = (index: number): boolean => {
|
14
14
|
* return index === 3;
|
15
15
|
* }
|
16
16
|
* ```
|
17
|
-
*
|
18
17
|
*/
|
19
18
|
export type StepPredicateFn = (stepIndex: number) => boolean;
|
@@ -6,9 +6,6 @@
|
|
6
6
|
* Specifies the type of the steps
|
7
7
|
* ([see example]({% slug orientation_stepper %})).
|
8
8
|
*
|
9
|
-
*
|
10
|
-
* * (Default) `indicator`
|
11
|
-
* * `label`
|
12
|
-
* * `full`
|
9
|
+
* Use `indicator` to show only step indicators, `label` to show only step labels, or `full` to show both indicators and labels.
|
13
10
|
*/
|
14
11
|
export type StepType = 'indicator' | 'label' | 'full';
|
@@ -5,16 +5,16 @@
|
|
5
5
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
6
6
|
import { StepPredicateFn } from './step-predicate';
|
7
7
|
/**
|
8
|
-
*
|
8
|
+
* Represents an interface for the steps of the Stepper component.
|
9
9
|
*/
|
10
10
|
export interface StepperStep {
|
11
11
|
/**
|
12
|
-
*
|
12
|
+
* Specifies the CSS classes that will be rendered on the step element of the Stepper.
|
13
13
|
* Supports the type of values that are supported by [ngClass](link:site.data.urls.angular['ngclassapi']).
|
14
14
|
*/
|
15
15
|
cssClass?: any;
|
16
16
|
/**
|
17
|
-
*
|
17
|
+
* Specifies the CSS styles that will be rendered on the item element of the Drawer.
|
18
18
|
* Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
|
19
19
|
*/
|
20
20
|
cssStyle?: any;
|
@@ -24,7 +24,7 @@ export interface StepperStep {
|
|
24
24
|
disabled?: boolean;
|
25
25
|
/**
|
26
26
|
* Specifies if a step is valid.
|
27
|
-
* By default only previous steps are validated
|
27
|
+
* By default only previous steps are validated. You can override this behavior by setting the `validate` property.
|
28
28
|
*
|
29
29
|
* ([More information and example]({% slug step_validation_stepper %})).
|
30
30
|
*/
|
@@ -36,18 +36,18 @@ export interface StepperStep {
|
|
36
36
|
*/
|
37
37
|
validate?: boolean | StepPredicateFn;
|
38
38
|
/**
|
39
|
-
*
|
40
|
-
* If
|
39
|
+
* Specifies the name of an existing icon in a Kendo UI theme.
|
40
|
+
* If you provide this property, the icon will be rendered inside the step indicator by a `span.k-icon` element, instead of the default numeric or text content.
|
41
41
|
*/
|
42
42
|
icon?: string;
|
43
43
|
/**
|
44
|
-
*
|
45
|
-
* Allows
|
44
|
+
* Specifies a CSS class or multiple classes separated by spaces which are applied to a `span` element.
|
45
|
+
* Allows you to use custom icons, rendered inside the step indicator instead of the default numeric or text content.
|
46
46
|
*/
|
47
47
|
iconClass?: string;
|
48
48
|
/**
|
49
|
-
*
|
50
|
-
*
|
49
|
+
* Specifies an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
|
50
|
+
* You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
51
51
|
*/
|
52
52
|
svgIcon?: SVGIcon;
|
53
53
|
/**
|
@@ -59,8 +59,8 @@ export interface StepperStep {
|
|
59
59
|
*/
|
60
60
|
optional?: boolean;
|
61
61
|
/**
|
62
|
-
* Specifies
|
63
|
-
*
|
62
|
+
* Specifies the text content of the step indicator.
|
63
|
+
* If not set, the step index will be rendered by default.
|
64
64
|
*/
|
65
65
|
text?: string;
|
66
66
|
}
|