@progress/kendo-vue-layout 8.0.3-develop.1 → 8.0.3-develop.3
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.d.ts +234 -0
- package/actionsheet/ActionSheetContent.d.ts +25 -0
- package/actionsheet/ActionSheetFooter.d.ts +25 -0
- package/actionsheet/ActionSheetHeader.d.ts +34 -0
- package/actionsheet/ActionSheetItem.d.ts +65 -0
- package/actionsheet/interfaces/ActionSheetContentProps.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetFooterProps.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetHeaderProps.d.ts +20 -0
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +81 -0
- package/appbar/AppBar.d.ts +60 -0
- package/appbar/AppBarSection.d.ts +21 -0
- package/appbar/AppBarSpacer.d.ts +30 -0
- package/appbar/interfaces/AppBarProps.d.ts +74 -0
- package/appbar/interfaces/AppBarSectionProps.d.ts +12 -0
- package/appbar/interfaces/AppBarSpacerProps.d.ts +14 -0
- package/bottomnavigation/BottomNavigation.d.ts +117 -0
- package/bottomnavigation/BottomNavigationItem.d.ts +59 -0
- package/bottomnavigation/BottomNavigationItemProps.d.ts +61 -0
- package/bottomnavigation/BottomNavigationProps.d.ts +154 -0
- package/bottomnavigation/models/events.d.ts +25 -0
- package/bottomnavigation/models/utils.d.ts +43 -0
- package/breadcrumb/Breadcrumb.d.ts +143 -0
- package/breadcrumb/BreadcrumbDelimiter.d.ts +21 -0
- package/breadcrumb/BreadcrumbLink.d.ts +63 -0
- package/breadcrumb/BreadcrumbListItem.d.ts +30 -0
- package/breadcrumb/BreadcrumbOrderedList.d.ts +42 -0
- package/breadcrumb/interfaces/BreadcrumbDelimiterProps.d.ts +24 -0
- package/breadcrumb/interfaces/BreadcrumbLinkProps.d.ts +61 -0
- package/breadcrumb/interfaces/BreadcrumbListItemProps.d.ts +24 -0
- package/breadcrumb/interfaces/BreadcrumbOrderedListProps.d.ts +42 -0
- package/breadcrumb/interfaces/BreadcrumbProps.d.ts +138 -0
- package/card/Avatar.d.ts +76 -0
- package/card/Card.d.ts +50 -0
- package/card/CardActions.d.ts +52 -0
- package/card/CardBody.d.ts +12 -0
- package/card/CardFooter.d.ts +12 -0
- package/card/CardHeader.d.ts +12 -0
- package/card/CardImage.d.ts +17 -0
- package/card/CardSubtitle.d.ts +12 -0
- package/card/CardTitle.d.ts +12 -0
- package/card/interfaces/AvatarProps.d.ts +79 -0
- package/card/interfaces/CardActionsProps.d.ts +29 -0
- package/card/interfaces/CardBodyProps.d.ts +9 -0
- package/card/interfaces/CardFooterProps.d.ts +9 -0
- package/card/interfaces/CardHeaderProps.d.ts +9 -0
- package/card/interfaces/CardImageProps.d.ts +13 -0
- package/card/interfaces/CardProps.d.ts +34 -0
- package/card/interfaces/CardSubtitleProps.d.ts +9 -0
- package/card/interfaces/CardTitleProps.d.ts +9 -0
- package/card/interfaces/Enums.d.ts +39 -0
- package/card/interfaces/Enums.js +1 -1
- package/card/interfaces/Enums.mjs +5 -5
- package/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/drawer/Drawer.d.ts +148 -0
- package/drawer/DrawerContent.d.ts +84 -0
- package/drawer/DrawerItem.d.ts +81 -0
- package/drawer/DrawerNavigation.d.ts +47 -0
- package/drawer/context/DrawerContext.d.ts +24 -0
- package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
- package/drawer/interfaces/DrawerContentProps.d.ts +12 -0
- package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
- package/drawer/interfaces/DrawerItemProps.d.ts +55 -0
- package/drawer/interfaces/DrawerNavigationProps.d.ts +21 -0
- package/drawer/interfaces/DrawerProps.d.ts +92 -0
- package/drawer/interfaces/DrawerSelectEvent.d.ts +20 -0
- package/expansionpanel/ExpansionPanel.d.ts +59 -0
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
- package/expansionpanel/interfaces.d.ts +95 -0
- package/expansionpanel/main.d.ts +10 -0
- package/gridlayout/GridLayout.d.ts +61 -0
- package/gridlayout/GridLayoutItem.d.ts +35 -0
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +17 -0
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +46 -0
- package/gridlayout/interfaces/GridLayoutProps.d.ts +102 -0
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +17 -0
- package/index.d.mts +86 -4954
- package/index.d.ts +86 -4954
- package/menu/BaseMenuItemInternalProps.d.ts +27 -0
- package/menu/MenuProps.d.ts +58 -0
- package/menu/components/Menu.d.ts +117 -0
- package/menu/components/MenuItemArrow.d.ts +52 -0
- package/menu/components/MenuItemArrow.mjs +2 -2
- package/menu/components/MenuItemInternal.d.ts +173 -0
- package/menu/components/MenuItemLink.d.ts +53 -0
- package/menu/consts.d.ts +61 -0
- package/menu/events.d.ts +21 -0
- package/menu/models/BaseMenuItem.d.ts +65 -0
- package/menu/models/MenuItemModel.d.ts +26 -0
- package/menu/utils/DirectionHolder.d.ts +18 -0
- package/menu/utils/MouseOverHandler.d.ts +24 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +14 -0
- package/menu/utils/hoverDelay.d.ts +16 -0
- package/menu/utils/itemsIdsUtils.d.ts +71 -0
- package/menu/utils/itemsIdsUtils.mjs +49 -49
- package/menu/utils/misc.d.ts +23 -0
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +12 -0
- package/messages/main.d.ts +22 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +15 -9
- package/panelbar/PanelBar.d.ts +88 -0
- package/panelbar/PanelBarItem.d.ts +87 -0
- package/panelbar/interfaces/NavigationAction.d.ts +15 -0
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +14 -0
- package/panelbar/interfaces/PanelBarItemProps.d.ts +97 -0
- package/panelbar/interfaces/PanelBarProps.d.ts +65 -0
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +20 -0
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +21 -0
- package/panelbar/util.d.ts +42 -0
- package/splitter/Splitter.d.ts +170 -0
- package/splitter/SplitterBar.d.ts +72 -0
- package/splitter/SplitterPane.d.ts +101 -0
- package/stacklayout/StackLayout.d.ts +64 -0
- package/stacklayout/StackLayoutProps.d.ts +82 -0
- package/stepper/Step.d.ts +120 -0
- package/stepper/Stepper.d.ts +195 -0
- package/stepper/contants.d.ts +15 -0
- package/stepper/context/StepperContext.d.ts +23 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +16 -0
- package/stepper/interfaces/StepFocusEvent.d.ts +12 -0
- package/stepper/interfaces/StepHandle.d.ts +20 -0
- package/stepper/interfaces/StepProps.d.ts +91 -0
- package/stepper/interfaces/StepperChangeEvent.d.ts +16 -0
- package/stepper/interfaces/StepperFocusEvent.d.ts +12 -0
- package/stepper/interfaces/StepperHandle.d.ts +20 -0
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +30 -0
- package/stepper/interfaces/StepperProps.d.ts +95 -0
- package/stepper/messages/main.d.ts +22 -0
- package/tabstrip/TabStrip.d.ts +171 -0
- package/tabstrip/TabStripContent.d.ts +71 -0
- package/tabstrip/TabStripNavigation.d.ts +101 -0
- package/tabstrip/TabStripNavigationItem.d.ts +118 -0
- package/tabstrip/TabStripTab.d.ts +59 -0
- package/tabstrip/utils.d.ts +8 -0
- package/tilelayout/ResizeHandlers.d.ts +84 -0
- package/tilelayout/Tile.d.ts +105 -0
- package/tilelayout/TileLayout.d.ts +126 -0
- package/tilelayout/interfaces/main.d.ts +205 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-vue-common';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the props of the PanelBarItem component.
|
|
11
|
+
*/
|
|
12
|
+
export interface PanelBarItemProps {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the subitems of the item.
|
|
15
|
+
*/
|
|
16
|
+
items?: any[];
|
|
17
|
+
/**
|
|
18
|
+
* Allows individual animation control over the child ([see example]({% slug animations_panelbar %})). By default, it is controlled by the PanelBar component.
|
|
19
|
+
*/
|
|
20
|
+
animation?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The class name that is set to the PanelBarItem header.
|
|
23
|
+
*/
|
|
24
|
+
headerClassName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Sets the initial expanded state of the PanelBarItem ([see example]({% slug statesitems_panelbar %}#toc-expanded-items)). Controlled by the PanelBar component.
|
|
27
|
+
*/
|
|
28
|
+
expanded?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the disabled state of the PanelBarItem ([see example]({% slug statesitems_panelbar %}#toc-disabled-items)).
|
|
31
|
+
*/
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
level?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Defines an icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
39
|
+
*/
|
|
40
|
+
icon?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Defines an SVGIcon to be rendered next to the title.
|
|
43
|
+
*/
|
|
44
|
+
svgIcon?: SVGIcon;
|
|
45
|
+
/**
|
|
46
|
+
* Defines an icon with a custom CSS class that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
47
|
+
*/
|
|
48
|
+
iconClass?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Defines the location of the image that will be displayed next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-images)).
|
|
51
|
+
*/
|
|
52
|
+
imageUrl?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Sets the initial selected state of the PanelBarItem. Controlled by the PanelBarItem component ([see example]({% slug statesitems_panelbar %}#toc-selected-items)).
|
|
55
|
+
*/
|
|
56
|
+
selected?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the title of the PanelBar item ([see example]({% slug titlesitems_panelbar %}#toc-getting-started)).
|
|
59
|
+
*/
|
|
60
|
+
title?: any;
|
|
61
|
+
/**
|
|
62
|
+
* Allows the component to set the `id` property to each item. If not set, a default `id` is applied.
|
|
63
|
+
*/
|
|
64
|
+
id?: string | number;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the initial focused state of the PanelBarItem. Controlled by the PanelBar component.
|
|
67
|
+
*/
|
|
68
|
+
focused?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
parentExpanded?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Defines the custom rendering of the content of the PanelBarItem. Accepts a Vue component, a `render` function, or a slot name.
|
|
75
|
+
*/
|
|
76
|
+
content?: any;
|
|
77
|
+
/**
|
|
78
|
+
* Defines the custom rendering of the header of the PanelBarItem. Accepts a Vue component, a `render` function, or a slot name.
|
|
79
|
+
*/
|
|
80
|
+
header?: any;
|
|
81
|
+
/**
|
|
82
|
+
* Used to identify the PanelBarItems inside the PanelBar ([see example]({% slug controlling_state_panelbar %})). Does not depend on the state of the PanelBarItem.
|
|
83
|
+
*/
|
|
84
|
+
uniquePrivateKey?: string | number;
|
|
85
|
+
/**
|
|
86
|
+
* @hidden
|
|
87
|
+
*/
|
|
88
|
+
parentUniquePrivateKey?: string[];
|
|
89
|
+
/**
|
|
90
|
+
* @hidden
|
|
91
|
+
*/
|
|
92
|
+
keepItemsMounted?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
item?: any;
|
|
97
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PanelBarSelectEventArguments } from './PanelBarSelectEventArguments';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the expand modes of the Kendo UI for Vue PanelBar. Defaults to `multiple`.
|
|
11
|
+
*/
|
|
12
|
+
export type PanelBarExpandMode = 'single' | 'multiple';
|
|
13
|
+
/**
|
|
14
|
+
* Represents the props of the [Kendo UI for Vue PanelBar component]({% slug overview_panelbar %}).
|
|
15
|
+
*/
|
|
16
|
+
export interface PanelBarProps {
|
|
17
|
+
/**
|
|
18
|
+
* The class name that is set to the PanelBar.
|
|
19
|
+
*/
|
|
20
|
+
className?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the animation state of the PanelBar.
|
|
23
|
+
*/
|
|
24
|
+
animation?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Sets the items of the PanelBar.
|
|
27
|
+
*/
|
|
28
|
+
items?: any[];
|
|
29
|
+
/**
|
|
30
|
+
* Sets the expand mode of the PanelBar ([see example]({% slug expandmodes_panelbar %})).
|
|
31
|
+
*
|
|
32
|
+
* The available modes are:
|
|
33
|
+
* - `"single"`—Allows you to expand only one item at a time. The expanding of an item collapses the item that was previously expanded.
|
|
34
|
+
* - `"multiple"` (default)—Allows you to expand two or more items at a time. Items can also be toggled.
|
|
35
|
+
*/
|
|
36
|
+
expandMode?: PanelBarExpandMode;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the direction of the PanelBar component.
|
|
39
|
+
*/
|
|
40
|
+
dir?: string;
|
|
41
|
+
/**
|
|
42
|
+
* If set, overrides the currently selected property in the PanelBar state.
|
|
43
|
+
*/
|
|
44
|
+
selected?: string | number;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the initial expanded state of the PanelBar.
|
|
47
|
+
*/
|
|
48
|
+
expanded?: string[];
|
|
49
|
+
/**
|
|
50
|
+
* Sets the initial focused state of the PanelBar.
|
|
51
|
+
*/
|
|
52
|
+
focused?: string | number;
|
|
53
|
+
/**
|
|
54
|
+
* Determines if the PanelBar items will be mounted after expand collapse. Defaults to `false`.
|
|
55
|
+
*/
|
|
56
|
+
keepItemsMounted?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Determines if the PanelBar is going to be used in controlled state.
|
|
59
|
+
*/
|
|
60
|
+
isControlled?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Fires each time the user makes a selection ([see example]({% slug controlling_state_panelbar %})).
|
|
63
|
+
*/
|
|
64
|
+
onSelect?: (event: PanelBarSelectEventArguments) => void;
|
|
65
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments that are passed to the `onSelect` callback function.
|
|
10
|
+
*/
|
|
11
|
+
export interface PanelBarSelectEventArguments {
|
|
12
|
+
/**
|
|
13
|
+
* The selected PanelBar item.
|
|
14
|
+
*/
|
|
15
|
+
target: any;
|
|
16
|
+
/**
|
|
17
|
+
* The new expanded PanelBar items state.
|
|
18
|
+
*/
|
|
19
|
+
expandedItems: string[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PanelBarData } from '../PanelBar';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface RenderPanelBarItem {
|
|
13
|
+
animation?: boolean;
|
|
14
|
+
keepItemsMounted?: boolean;
|
|
15
|
+
state: PanelBarData;
|
|
16
|
+
expanded: string[];
|
|
17
|
+
handleSelect: any;
|
|
18
|
+
parentExpanded?: boolean;
|
|
19
|
+
level?: number;
|
|
20
|
+
parentPrivateKey?: string[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PanelBarData } from './PanelBar';
|
|
9
|
+
import { RenderPanelBarItem } from './interfaces/RenderPanelBarItem';
|
|
10
|
+
import { PanelBarExpandMode } from './interfaces/PanelBarProps';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare const renderChildren: (this: any, items: any[], { animation, keepItemsMounted, state, expanded, handleSelect, parentExpanded, level, parentPrivateKey }: RenderPanelBarItem) => any;
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
export declare const getFirstId: (props: any) => any;
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const getInitialState: (props: any, expandMode: PanelBarExpandMode, result?: PanelBarData, parentExpanded?: boolean, parentPrivateKey?: string[]) => PanelBarData;
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export declare function flatVisibleItems(data: any, flattedItems?: any[]): any[];
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export declare function flatChildren(children: any, flattenChildren?: any[]): any[];
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export declare function flatVisibleChildren(children: any, flattenVisibleChildren?: any[]): any[];
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export declare const isPresent: Function;
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
export declare const isArrayEqual: (firstArray: any[], secondArray: any[]) => boolean;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { SplitterPaneExtendedProps, SplitterPaneProps } from './SplitterPane';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the onChange event of the Splitter.
|
|
12
|
+
*/
|
|
13
|
+
export interface SplitterOnChangeEvent {
|
|
14
|
+
/**
|
|
15
|
+
* The new panes state.
|
|
16
|
+
*/
|
|
17
|
+
newState: SplitterPaneProps[];
|
|
18
|
+
/**
|
|
19
|
+
* Indicates if is the last event during drag. Can be used to optimize performance.
|
|
20
|
+
*/
|
|
21
|
+
isLast: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The native DOM event.
|
|
24
|
+
*/
|
|
25
|
+
nativeEvent: any;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Represents the options of the Splitter.
|
|
29
|
+
*/
|
|
30
|
+
export interface SplitterProps {
|
|
31
|
+
/**
|
|
32
|
+
* Sets the options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for controlled state.
|
|
33
|
+
*/
|
|
34
|
+
panes?: SplitterPaneProps[];
|
|
35
|
+
/**
|
|
36
|
+
* Sets the initial options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for uncontrolled state.
|
|
37
|
+
*/
|
|
38
|
+
defaultPanes?: SplitterPaneProps[];
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the orientation of the panes within the Splitter ([more information and examples]({% slug orientation_splitter %})). Panes in a horizontal Splitter are placed horizontally. Panes in a vertical Splitter are placed vertically.
|
|
41
|
+
*/
|
|
42
|
+
orientation?: 'vertical' | 'horizontal' | string;
|
|
43
|
+
/**
|
|
44
|
+
* Fires after a Splitter pane is resized or collapsed. Useful for updating the pane options and triggering layout calculations on components which are positioned inside the panes.
|
|
45
|
+
*/
|
|
46
|
+
onChange?: (event: SplitterOnChangeEvent) => void;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
export interface SplitterData {
|
|
52
|
+
isDragging: boolean;
|
|
53
|
+
dragIndex?: number;
|
|
54
|
+
startTime: number;
|
|
55
|
+
originalX: number;
|
|
56
|
+
originalY: number;
|
|
57
|
+
originalPrevSize: number;
|
|
58
|
+
originalNextSize: number;
|
|
59
|
+
currentPanes: SplitterPaneProps[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Represents the [Kendo UI for Vue Native Splitter component]({% slug overview_splitter %}).
|
|
63
|
+
*
|
|
64
|
+
* ```js-no-run
|
|
65
|
+
* <template>
|
|
66
|
+
* <Splitter
|
|
67
|
+
* :style="{ height: '340px' }"
|
|
68
|
+
* :panes="panes"
|
|
69
|
+
* :orientation="'vertical'"
|
|
70
|
+
* @change="onChange"
|
|
71
|
+
* >
|
|
72
|
+
* <template v-slot:first>
|
|
73
|
+
* <div class="pane-content">
|
|
74
|
+
* <h3>Top Pane</h3>
|
|
75
|
+
* </div>
|
|
76
|
+
* </template>
|
|
77
|
+
* <template v-slot:second>
|
|
78
|
+
* <div class="pane-content">
|
|
79
|
+
* <h3>Bottom Pane</h3>
|
|
80
|
+
* </div>
|
|
81
|
+
* </template>
|
|
82
|
+
* </Splitter>
|
|
83
|
+
* </template>
|
|
84
|
+
*
|
|
85
|
+
* <script>
|
|
86
|
+
* import { Splitter } from '@progress/kendo-vue-layout';
|
|
87
|
+
* import './styles.css';
|
|
88
|
+
*
|
|
89
|
+
* export default {
|
|
90
|
+
* components: {
|
|
91
|
+
* Splitter,
|
|
92
|
+
* },
|
|
93
|
+
* data() {
|
|
94
|
+
* return {
|
|
95
|
+
* panes: [
|
|
96
|
+
* { size: '40%', containsSplitter: true, content: 'first' },
|
|
97
|
+
* { content: 'second' },
|
|
98
|
+
* ],
|
|
99
|
+
* };
|
|
100
|
+
* },
|
|
101
|
+
* methods: {
|
|
102
|
+
* onChange(event) {
|
|
103
|
+
* this.panes = event.newState;
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* };
|
|
107
|
+
* </script>
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
*
|
|
112
|
+
* ### props <span class='code'>Readonly<[SplitterProps]({% slug api_layout_splitterprops %})</span>
|
|
113
|
+
* The props of the Splitter component.
|
|
114
|
+
*/
|
|
115
|
+
declare const Splitter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
116
|
+
orientation: {
|
|
117
|
+
type: PropType<string>;
|
|
118
|
+
default: string;
|
|
119
|
+
validator: (value: string) => any;
|
|
120
|
+
};
|
|
121
|
+
panes: PropType<SplitterPaneProps[]>;
|
|
122
|
+
defaultPanes: PropType<SplitterPaneProps[]>;
|
|
123
|
+
}>, {}, {
|
|
124
|
+
currentRtl: boolean;
|
|
125
|
+
isDragging: boolean;
|
|
126
|
+
dragIndex: any;
|
|
127
|
+
startTime: number;
|
|
128
|
+
originalX: number;
|
|
129
|
+
originalY: number;
|
|
130
|
+
originalPrevSize: number;
|
|
131
|
+
originalNextSize: number;
|
|
132
|
+
currentPanes: SplitterPaneProps[];
|
|
133
|
+
}, {
|
|
134
|
+
isControlledState(): boolean;
|
|
135
|
+
computedPanes(): SplitterPaneProps[] | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
validatePanes(panesOptions: SplitterPaneProps[]): void;
|
|
138
|
+
mapPaneOptions(panes: SplitterPaneProps[]): SplitterPaneExtendedProps[];
|
|
139
|
+
onBarToggle(index: number, event: any): void;
|
|
140
|
+
onBarDragResize(event: any, barElement: HTMLDivElement, index: number, isFirst: boolean, isLast: boolean): void;
|
|
141
|
+
onBarKeyboardResize(barElement: HTMLDivElement, index: number, delta: number, event: any): void;
|
|
142
|
+
surroudingPanes(barElement: HTMLDivElement): {
|
|
143
|
+
prevElement: Element;
|
|
144
|
+
nextElement: Element;
|
|
145
|
+
};
|
|
146
|
+
containerSize(): number;
|
|
147
|
+
isPercent(size: string): boolean;
|
|
148
|
+
toPixels(size: string, splitterSize: number): number;
|
|
149
|
+
panesOptions(): SplitterPaneProps[];
|
|
150
|
+
resetDragState(): void;
|
|
151
|
+
elementSize(el: HTMLElement, isContainer?: boolean): number;
|
|
152
|
+
clamp(min: number, max: number, v: number): number;
|
|
153
|
+
fixedSize(size: string | undefined): any;
|
|
154
|
+
resize(prevIndex: number, nextIndex: number, originalPrevSize: number, originalNextSize: number, delta: any, isLast: boolean, event: any): void;
|
|
155
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
156
|
+
change: (event: SplitterOnChangeEvent) => true;
|
|
157
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
158
|
+
orientation: {
|
|
159
|
+
type: PropType<string>;
|
|
160
|
+
default: string;
|
|
161
|
+
validator: (value: string) => any;
|
|
162
|
+
};
|
|
163
|
+
panes: PropType<SplitterPaneProps[]>;
|
|
164
|
+
defaultPanes: PropType<SplitterPaneProps[]>;
|
|
165
|
+
}>> & Readonly<{
|
|
166
|
+
onChange?: (event: SplitterOnChangeEvent) => any;
|
|
167
|
+
}>, {
|
|
168
|
+
orientation: string;
|
|
169
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
170
|
+
export { Splitter };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { SplitterPaneExtendedProps } from './SplitterPane';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface SplitterBarProps {
|
|
14
|
+
orientation: 'vertical' | 'horizontal' | string;
|
|
15
|
+
index: number;
|
|
16
|
+
prev: SplitterPaneExtendedProps;
|
|
17
|
+
next: SplitterPaneExtendedProps;
|
|
18
|
+
isRtl?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
declare const SplitterBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
24
|
+
orientation: {
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
validator: (value: string) => any;
|
|
28
|
+
};
|
|
29
|
+
index: PropType<number>;
|
|
30
|
+
prev: PropType<SplitterPaneExtendedProps>;
|
|
31
|
+
next: PropType<SplitterPaneExtendedProps>;
|
|
32
|
+
isRtl: PropType<boolean>;
|
|
33
|
+
}>, {}, {
|
|
34
|
+
focused: boolean;
|
|
35
|
+
}, {
|
|
36
|
+
isStatic(): boolean;
|
|
37
|
+
isDraggable(): boolean;
|
|
38
|
+
isHorizontal(): boolean;
|
|
39
|
+
}, {
|
|
40
|
+
onDrag(data: any, isFirst: boolean, isLast: boolean): void;
|
|
41
|
+
onFocus(): void;
|
|
42
|
+
onBlur(): void;
|
|
43
|
+
onToggle(event: any): void;
|
|
44
|
+
onPrevToggle(event: any): void;
|
|
45
|
+
onNextToggle(event: any): void;
|
|
46
|
+
onKeyDown(event: any): void;
|
|
47
|
+
previousArrowName(isHorizontal: boolean): "" | "caret-alt-right" | "caret-alt-left" | "caret-alt-up" | "caret-alt-down";
|
|
48
|
+
previousArrowSVG(isHorizontal: boolean): import('@progress/kendo-svg-icons').SVGIcon;
|
|
49
|
+
nextArrowName(isHorizontal: boolean): "" | "caret-alt-right" | "caret-alt-left" | "caret-alt-up" | "caret-alt-down";
|
|
50
|
+
nextArrowSVG(isHorizontal: boolean): import('@progress/kendo-svg-icons').SVGIcon;
|
|
51
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
|
+
drag: any;
|
|
53
|
+
toggle: any;
|
|
54
|
+
keyboardresize: any;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
orientation: {
|
|
57
|
+
type: PropType<string>;
|
|
58
|
+
default: string;
|
|
59
|
+
validator: (value: string) => any;
|
|
60
|
+
};
|
|
61
|
+
index: PropType<number>;
|
|
62
|
+
prev: PropType<SplitterPaneExtendedProps>;
|
|
63
|
+
next: PropType<SplitterPaneExtendedProps>;
|
|
64
|
+
isRtl: PropType<boolean>;
|
|
65
|
+
}>> & Readonly<{
|
|
66
|
+
onDrag?: (...args: any[] | unknown[]) => any;
|
|
67
|
+
onToggle?: (...args: any[] | unknown[]) => any;
|
|
68
|
+
onKeyboardresize?: (...args: any[] | unknown[]) => any;
|
|
69
|
+
}>, {
|
|
70
|
+
orientation: string;
|
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
export { SplitterBar };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the pane options of the Splitter.
|
|
11
|
+
*/
|
|
12
|
+
export interface SplitterPaneProps {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)). Has to be between the `min` and `max` properties.
|
|
15
|
+
*/
|
|
16
|
+
size?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the minimum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
|
|
19
|
+
*/
|
|
20
|
+
min?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the maximum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
|
|
23
|
+
*/
|
|
24
|
+
max?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies if the user is allowed to resize the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-resizing)). If `resizable` is not specified, the resizing of the pane will be enabled.
|
|
27
|
+
*/
|
|
28
|
+
resizable?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies if the user is allowed to hide the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-collapsing)).
|
|
31
|
+
*/
|
|
32
|
+
collapsible?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the pane collapsed state ([see example]({% slug panes_splitter %}#toc-collapsing)).
|
|
35
|
+
*/
|
|
36
|
+
collapsed?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies if overflowing content is scrollable or hidden ([see example]({% slug panes_splitter %}#toc-scrolling)). If `scrollable` is not specified, the content will be scrollable.
|
|
39
|
+
*/
|
|
40
|
+
scrollable?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies if the content of the pane contains Splitter.
|
|
43
|
+
*/
|
|
44
|
+
containsSplitter: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies if the children of the pane should be mounted when it's in collapsed state.
|
|
47
|
+
*/
|
|
48
|
+
keepMounted?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The slot template for the content of the splitter
|
|
51
|
+
*/
|
|
52
|
+
content?: any;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
export interface SplitterPaneExtendedProps extends SplitterPaneProps {
|
|
58
|
+
orientation: 'vertical' | 'horizontal' | string;
|
|
59
|
+
overlay: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
declare const SplitterPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
65
|
+
orientation: {
|
|
66
|
+
type: PropType<string>;
|
|
67
|
+
default: () => any;
|
|
68
|
+
validator: (value: string) => any;
|
|
69
|
+
};
|
|
70
|
+
overlay: PropType<boolean>;
|
|
71
|
+
containsSplitter: PropType<boolean>;
|
|
72
|
+
size: PropType<string>;
|
|
73
|
+
min: PropType<string>;
|
|
74
|
+
max: PropType<string>;
|
|
75
|
+
resizable: PropType<boolean>;
|
|
76
|
+
collapsible: PropType<boolean>;
|
|
77
|
+
collapsed: PropType<boolean>;
|
|
78
|
+
scrollable: PropType<boolean>;
|
|
79
|
+
keepMounted: PropType<boolean>;
|
|
80
|
+
content: PropType<any>;
|
|
81
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
+
orientation: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: () => any;
|
|
85
|
+
validator: (value: string) => any;
|
|
86
|
+
};
|
|
87
|
+
overlay: PropType<boolean>;
|
|
88
|
+
containsSplitter: PropType<boolean>;
|
|
89
|
+
size: PropType<string>;
|
|
90
|
+
min: PropType<string>;
|
|
91
|
+
max: PropType<string>;
|
|
92
|
+
resizable: PropType<boolean>;
|
|
93
|
+
collapsible: PropType<boolean>;
|
|
94
|
+
collapsed: PropType<boolean>;
|
|
95
|
+
scrollable: PropType<boolean>;
|
|
96
|
+
keepMounted: PropType<boolean>;
|
|
97
|
+
content: PropType<any>;
|
|
98
|
+
}>> & Readonly<{}>, {
|
|
99
|
+
orientation: string;
|
|
100
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
export { SplitterPane };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
import { StackLayoutAlign } from './StackLayoutProps';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the [Kendo UI for Vue StackLayout component]({% slug overview_stacklayout %}).
|
|
12
|
+
* Arranges its inner elements horizontally, or vertically in a stack. Nesting stack layouts is supported to build more complex layouts.
|
|
13
|
+
*/
|
|
14
|
+
declare const StackLayout: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
id: PropType<string>;
|
|
16
|
+
orientation: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (value: string) => any;
|
|
20
|
+
};
|
|
21
|
+
gap: {
|
|
22
|
+
type: PropType<string | number>;
|
|
23
|
+
};
|
|
24
|
+
align: {
|
|
25
|
+
type: PropType<StackLayoutAlign>;
|
|
26
|
+
validator: (value: StackLayoutAlign) => any;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {
|
|
29
|
+
hAlign(): any;
|
|
30
|
+
vAlign(): any;
|
|
31
|
+
stackLayoutClasses(): {
|
|
32
|
+
'k-stack-layout': boolean;
|
|
33
|
+
'k-hstack': boolean;
|
|
34
|
+
'k-vstack': boolean;
|
|
35
|
+
'k-justify-content-start': boolean;
|
|
36
|
+
'k-justify-content-center': boolean;
|
|
37
|
+
'k-justify-content-end': boolean;
|
|
38
|
+
'k-justify-content-stretch': boolean;
|
|
39
|
+
'k-align-items-start': boolean;
|
|
40
|
+
'k-align-items-center': boolean;
|
|
41
|
+
'k-align-items-end': boolean;
|
|
42
|
+
'k-align-items-stretch': boolean;
|
|
43
|
+
};
|
|
44
|
+
stackLayoutStyles(): {
|
|
45
|
+
gap: string;
|
|
46
|
+
};
|
|
47
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
id: PropType<string>;
|
|
49
|
+
orientation: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
validator: (value: string) => any;
|
|
53
|
+
};
|
|
54
|
+
gap: {
|
|
55
|
+
type: PropType<string | number>;
|
|
56
|
+
};
|
|
57
|
+
align: {
|
|
58
|
+
type: PropType<StackLayoutAlign>;
|
|
59
|
+
validator: (value: StackLayoutAlign) => any;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
orientation: string;
|
|
63
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
export { StackLayout };
|