@progress/kendo-react-layout 13.3.0 → 13.4.0-develop.2
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 +242 -0
- package/actionsheet/ActionSheetContent.d.ts +17 -0
- package/actionsheet/ActionSheetFooter.d.ts +42 -0
- package/actionsheet/ActionSheetHeader.d.ts +17 -0
- package/actionsheet/ActionSheetItem.d.ts +13 -0
- package/actionsheet/ActionSheetView.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +20 -0
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +76 -0
- package/appbar/AppBar.d.ts +56 -0
- package/appbar/AppBar.js +1 -1
- package/appbar/AppBar.mjs +10 -10
- package/appbar/AppBarSection.d.ts +55 -0
- package/appbar/AppBarSpacer.d.ts +56 -0
- package/appbar/interfaces/AppBarProps.d.ts +143 -0
- package/appbar/interfaces/AppBarSectionProps.d.ts +25 -0
- package/appbar/interfaces/AppBarSpacerProps.d.ts +26 -0
- package/bottomnavigation/BottomNavigation.d.ts +44 -0
- package/bottomnavigation/BottomNavigation.js +1 -1
- package/bottomnavigation/BottomNavigation.mjs +13 -13
- package/bottomnavigation/BottomNavigationItem.d.ts +19 -0
- package/bottomnavigation/BottomNavigationItem.mjs +3 -3
- package/bottomnavigation/BottomNavigationItemProps.d.ts +120 -0
- package/bottomnavigation/BottomNavigationProps.d.ts +238 -0
- package/bottomnavigation/models/events.d.ts +27 -0
- package/bottomnavigation/models/utils.d.ts +43 -0
- package/breadcrumb/Breadcrumb.d.ts +276 -0
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Breadcrumb.mjs +0 -1
- package/breadcrumb/BreadcrumbDelimiter.d.ts +50 -0
- package/breadcrumb/BreadcrumbLink.d.ts +136 -0
- package/breadcrumb/BreadcrumbLink.mjs +3 -3
- package/breadcrumb/BreadcrumbListItem.d.ts +58 -0
- package/breadcrumb/BreadcrumbOrderedList.d.ts +62 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +5 -5
- package/card/Avatar.d.ts +10 -0
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +20 -22
- package/card/Card.d.ts +11 -0
- package/card/CardActions.d.ts +10 -0
- package/card/CardActions.mjs +1 -1
- package/card/CardBody.d.ts +10 -0
- package/card/CardFooter.d.ts +10 -0
- package/card/CardHeader.d.ts +10 -0
- package/card/CardImage.d.ts +10 -0
- package/card/CardSubtitle.d.ts +10 -0
- package/card/CardTitle.d.ts +10 -0
- package/card/interfaces/AvatarProps.d.ts +141 -0
- package/card/interfaces/CardActionsProps.d.ts +76 -0
- package/card/interfaces/CardBodyProps.d.ts +36 -0
- package/card/interfaces/CardFooterProps.d.ts +36 -0
- package/card/interfaces/CardHandle.d.ts +21 -0
- package/card/interfaces/CardHeaderProps.d.ts +36 -0
- package/card/interfaces/CardImageProps.d.ts +45 -0
- package/card/interfaces/CardProps.d.ts +91 -0
- package/card/interfaces/CardSubtitleProps.d.ts +36 -0
- package/card/interfaces/CardTitleProps.d.ts +21 -0
- package/card/interfaces/Enums.d.ts +30 -0
- package/contextmenu/ContextMenu.d.ts +50 -0
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/drawer/Drawer.d.ts +52 -0
- package/drawer/DrawerContent.d.ts +48 -0
- package/drawer/DrawerItem.d.ts +37 -0
- package/drawer/DrawerNavigation.d.ts +49 -0
- package/drawer/DrawerNavigation.js +1 -1
- package/drawer/DrawerNavigation.mjs +27 -27
- package/drawer/context/DrawerContext.d.ts +27 -0
- package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
- package/drawer/interfaces/DrawerContentProps.d.ts +24 -0
- package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
- package/drawer/interfaces/DrawerItemProps.d.ts +129 -0
- package/drawer/interfaces/DrawerNavigationProps.d.ts +24 -0
- package/drawer/interfaces/DrawerProps.d.ts +171 -0
- package/drawer/interfaces/DrawerSelectEvent.d.ts +22 -0
- package/expansionpanel/ExpansionPanel.d.ts +13 -0
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
- package/expansionpanel/index.d.ts +10 -0
- package/expansionpanel/interfaces.d.ts +99 -0
- package/gridlayout/GridLayout.d.ts +45 -0
- package/gridlayout/GridLayoutItem.d.ts +44 -0
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +21 -0
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +87 -0
- package/gridlayout/interfaces/GridLayoutProps.d.ts +144 -0
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +21 -0
- package/index.d.mts +101 -6278
- package/index.d.ts +101 -6278
- package/menu/BaseMenuItemInternalProps.d.ts +29 -0
- package/menu/MenuProps.d.ts +189 -0
- package/menu/components/Menu.d.ts +132 -0
- package/menu/components/Menu.mjs +1 -1
- package/menu/components/MenuItem.d.ts +43 -0
- package/menu/components/MenuItemArrow.d.ts +53 -0
- package/menu/components/MenuItemInternal.d.ts +70 -0
- package/menu/components/MenuItemLink.d.ts +37 -0
- package/menu/consts.d.ts +65 -0
- package/menu/events.d.ts +45 -0
- package/menu/models/BaseMenuItem.d.ts +65 -0
- package/menu/models/MenuItemModel.d.ts +30 -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 +13 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +8 -8
- package/panelbar/PanelBar.d.ts +89 -0
- package/panelbar/PanelBarItem.d.ts +61 -0
- package/panelbar/interfaces/NavigationAction.d.ts +19 -0
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +15 -0
- package/panelbar/interfaces/PanelBarItemProps.d.ts +116 -0
- package/panelbar/interfaces/PanelBarProps.d.ts +140 -0
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +21 -0
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +22 -0
- package/panelbar/util.d.ts +63 -0
- package/splitter/Splitter.d.ts +150 -0
- package/splitter/SplitterBar.d.ts +51 -0
- package/splitter/SplitterPane.d.ts +76 -0
- package/splitter/messages/index.d.ts +17 -0
- package/stacklayout/StackLayout.d.ts +43 -0
- package/stacklayout/StackLayoutProps.d.ts +97 -0
- package/stepper/Step.d.ts +29 -0
- package/stepper/Stepper.d.ts +29 -0
- package/stepper/contants.d.ts +15 -0
- package/stepper/context/StepperContext.d.ts +30 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +18 -0
- package/stepper/interfaces/StepFocusEvent.d.ts +14 -0
- package/stepper/interfaces/StepHandle.d.ts +20 -0
- package/stepper/interfaces/StepProps.d.ts +95 -0
- package/stepper/interfaces/StepperChangeEvent.d.ts +18 -0
- package/stepper/interfaces/StepperFocusEvent.d.ts +14 -0
- package/stepper/interfaces/StepperHandle.d.ts +20 -0
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +38 -0
- package/stepper/interfaces/StepperProps.d.ts +216 -0
- package/stepper/messages/index.d.ts +22 -0
- package/tabstrip/TabStrip.d.ts +297 -0
- package/tabstrip/TabStrip.js +1 -1
- package/tabstrip/TabStrip.mjs +1 -1
- package/tabstrip/TabStripContent.d.ts +70 -0
- package/tabstrip/TabStripNavigation.d.ts +144 -0
- package/tabstrip/TabStripNavigation.mjs +6 -6
- package/tabstrip/TabStripNavigationItem.d.ts +82 -0
- package/tabstrip/TabStripTab.d.ts +50 -0
- package/tabstrip/messages/index.d.ts +22 -0
- package/tilelayout/InternalTile.d.ts +112 -0
- package/tilelayout/ResizeHandlers.d.ts +27 -0
- package/tilelayout/TileLayout.d.ts +228 -0
- package/tilelayout/interfaces/index.d.ts +159 -0
- package/timeline/Timeline.d.ts +205 -0
- package/timeline/TimelineCard.d.ts +44 -0
- package/timeline/TimelineHorizontal.d.ts +10 -0
- package/timeline/TimelineHorizontal.js +1 -1
- package/timeline/TimelineHorizontal.mjs +0 -2
- package/timeline/TimelineVertical.d.ts +19 -0
- package/timeline/utils.d.ts +22 -0
|
@@ -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 { SVGIcon } from '@progress/kendo-react-common';
|
|
9
|
+
/**
|
|
10
|
+
* An interface which holds the shared properties of the MenuItemModel and the MenuItem components.
|
|
11
|
+
*/
|
|
12
|
+
export interface BaseMenuItem {
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the item text ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-text)).
|
|
15
|
+
*/
|
|
16
|
+
text?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Specifies a URL which is rendered as a `href` attribute on the item link ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-url)).
|
|
19
|
+
*/
|
|
20
|
+
url?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the name of the [font icon](https://www.telerik.com/kendo-react-ui/components/styling/icons#toc-list-of-font-icons) that will be rendered for the item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-icon)).
|
|
23
|
+
*/
|
|
24
|
+
icon?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the SVG icon that will be rendered for the item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-icon)).
|
|
27
|
+
*/
|
|
28
|
+
svgIcon?: SVGIcon;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies if the item is disabled ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-disabled-items)).
|
|
31
|
+
*/
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The additional CSS classes that will be rendered on the item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-styles-and-classes)).
|
|
35
|
+
*/
|
|
36
|
+
cssClass?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The CSS styles that will be rendered on the item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/properties#toc-styles-and-classes)).
|
|
39
|
+
*/
|
|
40
|
+
cssStyle?: React.CSSProperties;
|
|
41
|
+
/**
|
|
42
|
+
* A React functional or class component which is used for rendering the innermost part of the Menu item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/rendering#toc-items)). By default, the innermost item part includes only the text for the item.
|
|
43
|
+
*/
|
|
44
|
+
render?: any;
|
|
45
|
+
/**
|
|
46
|
+
* A React functional or class component which is used for rendering the link of the item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/rendering#toc-links)). The item link is a part of the visual representation of the item which, by default, includes an arrow, icon, and text.
|
|
47
|
+
*/
|
|
48
|
+
linkRender?: any;
|
|
49
|
+
/**
|
|
50
|
+
* A React functional or class component which is used for rendering content instead of the item children ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/rendering#toc-content)).
|
|
51
|
+
*/
|
|
52
|
+
contentRender?: any;
|
|
53
|
+
/**
|
|
54
|
+
* Represents any additional data that is associated with the Menu item.
|
|
55
|
+
*/
|
|
56
|
+
data?: any;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies if this is a separator item. If set to true only the `cssClass` and `cssStyle` props should be rendered along.
|
|
63
|
+
*/
|
|
64
|
+
separator?: boolean;
|
|
65
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { BaseMenuItem } from './BaseMenuItem.js';
|
|
9
|
+
/**
|
|
10
|
+
* The interface for describing items that can be passed to the `items` property of the Menu as an alternative to passing them as children.
|
|
11
|
+
*/
|
|
12
|
+
export interface MenuItemModel extends BaseMenuItem {
|
|
13
|
+
/**
|
|
14
|
+
* Specifies name of the item.
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Specifies the children of the item.
|
|
19
|
+
*/
|
|
20
|
+
items?: MenuItemModel[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export interface MenuItemInternalModel extends BaseMenuItem {
|
|
26
|
+
id: string;
|
|
27
|
+
items: MenuItemInternalModel[];
|
|
28
|
+
contentParentItemId?: string;
|
|
29
|
+
isLastFromSiblings: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class DirectionHolder {
|
|
12
|
+
private phase;
|
|
13
|
+
private previousIsDirectionRightToLeft?;
|
|
14
|
+
private isDirectionRightToLeft?;
|
|
15
|
+
getIsDirectionRightToLeft(): boolean | undefined;
|
|
16
|
+
setIsDirectionRightToLeft(value: boolean): void;
|
|
17
|
+
hasDirectionChanged(): boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class MouseOverHandler {
|
|
12
|
+
private openOnClick;
|
|
13
|
+
private resetMenu;
|
|
14
|
+
private openItem;
|
|
15
|
+
private isMouseOverEnabled;
|
|
16
|
+
private mouseDown;
|
|
17
|
+
constructor(openOnClick: boolean | undefined, resetMenu: any, openItem: any);
|
|
18
|
+
set OpenOnClick(value: boolean | undefined);
|
|
19
|
+
handleItemSelectedViaKeyboard(): void;
|
|
20
|
+
get IsMouseOverEnabled(): boolean;
|
|
21
|
+
handleItemMouseDown(): void;
|
|
22
|
+
handleItemFocus(): void;
|
|
23
|
+
handleItemClick(itemId: string, clickedItemIsWithDefaultClose: boolean): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { MenuItemInternalModel } from '../models/MenuItemModel.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
* Returns the `itemId` (string) for applicable key codes even when the id has not changed.
|
|
12
|
+
* For key codes that are not applicable, returns `undefined`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function getNewItemIdUponKeyboardNavigation(sourceItems: MenuItemInternalModel[], sourceItemId: string, keyCode: number, key: string, isMenuVertical?: boolean, isDirectionRightToLeft?: boolean): string;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { MenuProps } from '../MenuProps.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare function getHoverOpenDelay(props: MenuProps): number;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare function getHoverCloseDelay(props: MenuProps): number;
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const EMPTY_ID = "";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const ZERO_LEVEL_ZERO_ITEM_ID = "0";
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const SEPARATOR = "_";
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare function getItemById(itemId: string, items: any): any;
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export declare function getRootParentId(itemId: string): string;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export declare function getIdWithoutRootParentId(itemId: string): string;
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export declare function getFirstChildId(itemId: string): string;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
export declare function shouldOpenItem(itemId: string, lastItemIdToBeOpened: string): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
export declare function createId(childId: string, parentId?: string): string;
|
|
44
|
+
/**
|
|
45
|
+
* @hidden
|
|
46
|
+
*/
|
|
47
|
+
export declare function getDirectParentId(itemId: string): string;
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
export declare function isIdEmptyOrZeroLevel(itemId: string): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
export declare function isIdZeroLevel(itemId: string): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* @hidden
|
|
58
|
+
*/
|
|
59
|
+
export declare function isIdFirstLevel(itemId: string): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @hidden
|
|
62
|
+
*/
|
|
63
|
+
export declare function isFirstItemFromSiblings(itemId: string): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @hidden
|
|
66
|
+
*/
|
|
67
|
+
export declare function getShortId(itemId: string): string;
|
|
68
|
+
/**
|
|
69
|
+
* @hidden
|
|
70
|
+
*/
|
|
71
|
+
export declare function getDirectSiblingIdForLevelZero(next: boolean, shortItemId: string, siblingsCount: number): string;
|
|
@@ -5,72 +5,72 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
9
|
-
function
|
|
10
|
-
if (
|
|
8
|
+
const s = "", A = "0", O = "_";
|
|
9
|
+
function o(n, r) {
|
|
10
|
+
if (u(n))
|
|
11
11
|
return r[Number(n)];
|
|
12
|
-
const
|
|
13
|
-
return
|
|
12
|
+
const t = r[Number(i(n))];
|
|
13
|
+
return t.items ? o(c(n), t.items) : void 0;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
return
|
|
15
|
+
function i(n) {
|
|
16
|
+
return e(n) ? n : n.split("_")[0];
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
18
|
+
function c(n) {
|
|
19
|
+
if (e(n))
|
|
20
20
|
return n;
|
|
21
|
-
const r = n.indexOf(
|
|
21
|
+
const r = n.indexOf("_");
|
|
22
22
|
return n.substring(r + 1);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
}
|
|
27
|
-
function x(n, r) {
|
|
28
|
-
return r.indexOf(n) === 0 ? r.length === n.length || r.charAt(n.length) === t : !1;
|
|
24
|
+
function S(n) {
|
|
25
|
+
return f("0", n);
|
|
29
26
|
}
|
|
30
|
-
function
|
|
31
|
-
return r ? r
|
|
27
|
+
function g(n, r) {
|
|
28
|
+
return r.indexOf(n) === 0 ? r.length === n.length || r.charAt(n.length) === "_" : !1;
|
|
32
29
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
35
|
-
return r < 0 ? u : n.substring(0, r);
|
|
30
|
+
function f(n, r) {
|
|
31
|
+
return r ? r + "_" + n : n;
|
|
36
32
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
33
|
+
function P(n) {
|
|
34
|
+
const r = n.lastIndexOf("_");
|
|
35
|
+
return r < 0 ? "" : n.substring(0, r);
|
|
39
36
|
}
|
|
40
|
-
function
|
|
41
|
-
return n
|
|
37
|
+
function e(n) {
|
|
38
|
+
return n === "" || n.indexOf("_") < 0;
|
|
42
39
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
40
|
+
function u(n) {
|
|
41
|
+
return n !== "" && n.indexOf("_") < 0;
|
|
45
42
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
43
|
+
function a(n) {
|
|
44
|
+
return E(n) === 1;
|
|
48
45
|
}
|
|
49
46
|
function l(n) {
|
|
50
|
-
|
|
47
|
+
return R(n) === "0";
|
|
48
|
+
}
|
|
49
|
+
function R(n) {
|
|
50
|
+
const r = n.lastIndexOf("_");
|
|
51
51
|
return r < 0 ? n : n.substring(r + 1);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function T(n, r, t) {
|
|
54
|
+
return u(r) ? n ? Number(r) < t - 1 ? (Number(r) + 1).toString() : "0" : Number(r) > 0 ? (Number(r) - 1).toString() : (t - 1).toString() : r;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return n.split(
|
|
56
|
+
function E(n) {
|
|
57
|
+
return n.split("_").length - 1;
|
|
58
58
|
}
|
|
59
59
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
60
|
+
s as EMPTY_ID,
|
|
61
|
+
O as SEPARATOR,
|
|
62
|
+
A as ZERO_LEVEL_ZERO_ITEM_ID,
|
|
63
|
+
f as createId,
|
|
64
|
+
P as getDirectParentId,
|
|
65
|
+
T as getDirectSiblingIdForLevelZero,
|
|
66
|
+
S as getFirstChildId,
|
|
67
|
+
c as getIdWithoutRootParentId,
|
|
68
|
+
o as getItemById,
|
|
69
|
+
i as getRootParentId,
|
|
70
|
+
R as getShortId,
|
|
71
|
+
l as isFirstItemFromSiblings,
|
|
72
|
+
e as isIdEmptyOrZeroLevel,
|
|
73
|
+
a as isIdFirstLevel,
|
|
74
|
+
u as isIdZeroLevel,
|
|
75
|
+
g as shouldOpenItem
|
|
76
76
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare function getPopupSettings(itemId: string, isMenuVertical: boolean, isDirectionRightToLeft?: boolean): any;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare function getChildrenPosition(itemId: string, isMenuVertical: boolean, isDirectionRightToLeft?: boolean): "leftward" | "rightward" | "downward";
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare function convertBoolDirectionToString(isDirectionRightToLeft?: boolean): "rtl" | "ltr";
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare function getDOMElementId(menuGuid: string, itemId: string): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { MenuItemModel } from '../models/MenuItemModel.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare function prepareInputItemsForInternalWork(models?: MenuItemModel[], menuChildren?: React.ReactNode): any;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-layout",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-layout",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770287853,version:"13.4.0-develop.2",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
+
// Generated file. DO NOT EDIT.
|
|
1
2
|
/**
|
|
2
|
-
* @
|
|
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
|
-
*-------------------------------------------------------------------------------------------
|
|
3
|
+
* @hidden
|
|
7
4
|
*/
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
export const packageMetadata = Object.freeze({
|
|
6
|
+
name: '@progress/kendo-react-layout',
|
|
7
|
+
productName: 'KendoReact',
|
|
8
|
+
productCode: 'KENDOUIREACT',
|
|
9
|
+
productCodes: ['KENDOUIREACT'],
|
|
10
|
+
publishDate: 0,
|
|
11
|
+
version: '13.4.0-develop.2',
|
|
12
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
16
13
|
});
|
|
17
|
-
export {
|
|
18
|
-
e as packageMetadata
|
|
19
|
-
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-layout",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.4.0-develop.2",
|
|
4
4
|
"description": "React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.2",
|
|
29
|
-
"@progress/kendo-react-animation": "13.
|
|
30
|
-
"@progress/kendo-react-buttons": "13.
|
|
31
|
-
"@progress/kendo-react-common": "13.
|
|
32
|
-
"@progress/kendo-react-intl": "13.
|
|
33
|
-
"@progress/kendo-react-popup": "13.
|
|
34
|
-
"@progress/kendo-react-progressbars": "13.
|
|
29
|
+
"@progress/kendo-react-animation": "13.4.0-develop.2",
|
|
30
|
+
"@progress/kendo-react-buttons": "13.4.0-develop.2",
|
|
31
|
+
"@progress/kendo-react-common": "13.4.0-develop.2",
|
|
32
|
+
"@progress/kendo-react-intl": "13.4.0-develop.2",
|
|
33
|
+
"@progress/kendo-react-popup": "13.4.0-develop.2",
|
|
34
|
+
"@progress/kendo-react-progressbars": "13.4.0-develop.2",
|
|
35
35
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
36
36
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
37
37
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"package": {
|
|
77
77
|
"productName": "KendoReact",
|
|
78
78
|
"productCode": "KENDOUIREACT",
|
|
79
|
-
"publishDate":
|
|
79
|
+
"publishDate": 1770287853,
|
|
80
80
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
81
81
|
}
|
|
82
82
|
},
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { default as PropTypes } from 'prop-types';
|
|
9
|
+
import { PanelBarProps } from '../index.js';
|
|
10
|
+
import { PanelBarItemClickEventArguments } from './interfaces/PanelBarItemClickEventArguments.js';
|
|
11
|
+
import { NavigationAction } from './interfaces/NavigationAction.js';
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface PanelBarState {
|
|
17
|
+
focused?: string;
|
|
18
|
+
wrapperFocused?: boolean;
|
|
19
|
+
selected?: string;
|
|
20
|
+
expanded: string[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the [KendoReact PanelBar component](https://www.telerik.com/kendo-react-ui/components/layout/panelbar).
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* Supported children components are: {@link PanelBarItem}.
|
|
27
|
+
*/
|
|
28
|
+
export declare class PanelBar extends React.Component<PanelBarProps, PanelBarState> {
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
static propTypes: {
|
|
33
|
+
animation: PropTypes.Requireable<boolean>;
|
|
34
|
+
children: (props: PanelBarProps, propName: any) => Error | null;
|
|
35
|
+
dir: PropTypes.Requireable<string>;
|
|
36
|
+
selected: PropTypes.Requireable<string>;
|
|
37
|
+
expanded: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
38
|
+
focused: PropTypes.Requireable<string>;
|
|
39
|
+
expandMode: PropTypes.Requireable<string>;
|
|
40
|
+
className: PropTypes.Requireable<string>;
|
|
41
|
+
keepItemsMounted: PropTypes.Requireable<boolean>;
|
|
42
|
+
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
|
+
style: PropTypes.Requireable<object>;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
static defaultProps: {
|
|
49
|
+
expandMode: string;
|
|
50
|
+
animation: boolean;
|
|
51
|
+
keepItemsMounted: boolean;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
readonly state: PanelBarState;
|
|
57
|
+
private activeDescendant?;
|
|
58
|
+
private _element;
|
|
59
|
+
private nextTickId;
|
|
60
|
+
private get expandMode();
|
|
61
|
+
private get selectedItem();
|
|
62
|
+
private get expandedItems();
|
|
63
|
+
private get children();
|
|
64
|
+
constructor(props: PanelBarProps);
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
handleSelect: (event: PanelBarItemClickEventArguments) => void;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
onSelect: (event: any) => void;
|
|
73
|
+
/**
|
|
74
|
+
* @hidden
|
|
75
|
+
*/
|
|
76
|
+
onFocus: (event: any, step?: number, action?: NavigationAction) => void;
|
|
77
|
+
/**
|
|
78
|
+
* @hidden
|
|
79
|
+
*/
|
|
80
|
+
onNavigate: (event: React.KeyboardEvent<HTMLUListElement>, action: NavigationAction) => void;
|
|
81
|
+
/**
|
|
82
|
+
* @hidden
|
|
83
|
+
*/
|
|
84
|
+
render(): React.JSX.Element;
|
|
85
|
+
protected nextTick(f: () => any): void;
|
|
86
|
+
private handleWrapperFocus;
|
|
87
|
+
private handleWrapperBlur;
|
|
88
|
+
private handleKeyDown;
|
|
89
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { default as PropTypes } from 'prop-types';
|
|
9
|
+
import { PanelBarItemProps } from '../index.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/** @hidden */
|
|
12
|
+
interface PanelBarItemState {
|
|
13
|
+
show: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Represents the PanelBarItem component.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Supported children components are: {@link PanelBarItem}.
|
|
20
|
+
*/
|
|
21
|
+
export declare class PanelBarItem extends React.PureComponent<PanelBarItemProps, PanelBarItemState> {
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
static propTypes: {
|
|
26
|
+
animation: PropTypes.Requireable<boolean>;
|
|
27
|
+
children: PropTypes.Requireable<any>;
|
|
28
|
+
className: PropTypes.Requireable<string>;
|
|
29
|
+
icon: PropTypes.Requireable<string>;
|
|
30
|
+
iconClass: PropTypes.Requireable<string>;
|
|
31
|
+
imageUrl: PropTypes.Requireable<string>;
|
|
32
|
+
svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
33
|
+
name: PropTypes.Validator<string>;
|
|
34
|
+
content: PropTypes.Validator<string>;
|
|
35
|
+
viewBox: PropTypes.Validator<string>;
|
|
36
|
+
}>>;
|
|
37
|
+
expanded: PropTypes.Requireable<boolean>;
|
|
38
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
39
|
+
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
40
|
+
selected: PropTypes.Requireable<boolean>;
|
|
41
|
+
level: PropTypes.Requireable<number>;
|
|
42
|
+
title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
|
|
43
|
+
id: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
44
|
+
focused: PropTypes.Requireable<boolean>;
|
|
45
|
+
keepItemsMounted: PropTypes.Requireable<boolean>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
static defaultProps: {
|
|
51
|
+
title: string;
|
|
52
|
+
};
|
|
53
|
+
constructor(props: PanelBarItemProps);
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
render(): React.JSX.Element;
|
|
58
|
+
private handleItemClick;
|
|
59
|
+
private childFactory;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare enum NavigationAction {
|
|
12
|
+
Toggle = 0,
|
|
13
|
+
Next = 1,
|
|
14
|
+
Previous = 2,
|
|
15
|
+
First = 3,
|
|
16
|
+
Last = 4,
|
|
17
|
+
Left = 5,
|
|
18
|
+
Right = 6
|
|
19
|
+
}
|