@progress/kendo-react-layout 7.2.4-develop.3 → 7.2.4-develop.4
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.js +8 -0
- package/actionsheet/ActionSheet.mjs +184 -0
- package/actionsheet/ActionSheetContent.js +8 -0
- package/actionsheet/ActionSheetContent.mjs +32 -0
- package/actionsheet/ActionSheetFooter.js +8 -0
- package/actionsheet/ActionSheetFooter.mjs +32 -0
- package/actionsheet/ActionSheetHeader.js +8 -0
- package/actionsheet/ActionSheetHeader.mjs +32 -0
- package/actionsheet/ActionSheetItem.js +8 -0
- package/actionsheet/ActionSheetItem.mjs +52 -0
- package/appbar/AppBar.js +8 -0
- package/appbar/AppBar.mjs +86 -0
- package/appbar/AppBarSection.js +8 -0
- package/appbar/AppBarSection.mjs +47 -0
- package/appbar/AppBarSpacer.js +8 -0
- package/appbar/AppBarSpacer.mjs +55 -0
- package/bottomnavigation/BottomNavigation.js +8 -0
- package/bottomnavigation/BottomNavigation.mjs +160 -0
- package/bottomnavigation/BottomNavigationItem.js +8 -0
- package/bottomnavigation/BottomNavigationItem.mjs +93 -0
- package/bottomnavigation/models/utils.js +8 -0
- package/bottomnavigation/models/utils.mjs +19 -0
- package/breadcrumb/Breadcrumb.js +8 -0
- package/breadcrumb/Breadcrumb.mjs +158 -0
- package/breadcrumb/BreadcrumbDelimiter.js +8 -0
- package/breadcrumb/BreadcrumbDelimiter.mjs +48 -0
- package/breadcrumb/BreadcrumbLink.js +8 -0
- package/breadcrumb/BreadcrumbLink.mjs +82 -0
- package/breadcrumb/BreadcrumbListItem.js +8 -0
- package/breadcrumb/BreadcrumbListItem.mjs +52 -0
- package/breadcrumb/BreadcrumbOrderedList.js +8 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +67 -0
- package/card/Avatar.js +8 -0
- package/card/Avatar.mjs +53 -0
- package/card/Card.js +8 -0
- package/card/Card.mjs +52 -0
- package/card/CardActions.js +8 -0
- package/card/CardActions.mjs +40 -0
- package/card/CardBody.js +8 -0
- package/card/CardBody.mjs +28 -0
- package/card/CardFooter.js +8 -0
- package/card/CardFooter.mjs +28 -0
- package/card/CardHeader.js +8 -0
- package/card/CardHeader.mjs +28 -0
- package/card/CardImage.js +8 -0
- package/card/CardImage.mjs +36 -0
- package/card/CardSubtitle.js +8 -0
- package/card/CardSubtitle.mjs +28 -0
- package/card/CardTitle.js +8 -0
- package/card/CardTitle.mjs +28 -0
- package/card/interfaces/Enums.js +8 -0
- package/card/interfaces/Enums.mjs +15 -0
- package/contextmenu/ContextMenu.js +8 -0
- package/contextmenu/ContextMenu.mjs +48 -0
- package/dist/cdn/js/kendo-react-layout.js +8 -5
- package/drawer/Drawer.js +8 -0
- package/drawer/Drawer.mjs +130 -0
- package/drawer/DrawerContent.js +8 -0
- package/drawer/DrawerContent.mjs +33 -0
- package/drawer/DrawerItem.js +8 -0
- package/drawer/DrawerItem.mjs +89 -0
- package/drawer/DrawerNavigation.js +8 -0
- package/drawer/DrawerNavigation.mjs +132 -0
- package/drawer/context/DrawerContext.js +8 -0
- package/drawer/context/DrawerContext.mjs +22 -0
- package/expansionpanel/ExpansionPanel.js +8 -0
- package/expansionpanel/ExpansionPanel.mjs +116 -0
- package/expansionpanel/ExpansionPanelContent.js +8 -0
- package/expansionpanel/ExpansionPanelContent.mjs +23 -0
- package/gridlayout/GridLayout.js +8 -0
- package/gridlayout/GridLayout.mjs +83 -0
- package/gridlayout/GridLayoutItem.js +8 -0
- package/gridlayout/GridLayoutItem.mjs +46 -0
- package/index.d.mts +4593 -5
- package/index.d.ts +4593 -103
- package/index.js +8 -5
- package/index.mjs +139 -5037
- package/menu/components/Menu.js +8 -0
- package/menu/components/Menu.mjs +193 -0
- package/menu/components/MenuItem.js +8 -0
- package/menu/components/MenuItem.mjs +34 -0
- package/menu/components/MenuItemArrow.js +8 -0
- package/menu/components/MenuItemArrow.mjs +49 -0
- package/menu/components/MenuItemInternal.js +8 -0
- package/menu/components/MenuItemInternal.mjs +222 -0
- package/menu/components/MenuItemLink.js +8 -0
- package/menu/components/MenuItemLink.mjs +54 -0
- package/menu/consts.js +8 -0
- package/menu/consts.mjs +59 -0
- package/menu/utils/DirectionHolder.js +8 -0
- package/menu/utils/DirectionHolder.mjs +25 -0
- package/menu/utils/MouseOverHandler.js +8 -0
- package/menu/utils/MouseOverHandler.mjs +34 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +8 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +124 -0
- package/menu/utils/hoverDelay.js +8 -0
- package/menu/utils/hoverDelay.mjs +18 -0
- package/menu/utils/itemsIdsUtils.js +8 -0
- package/menu/utils/itemsIdsUtils.mjs +81 -0
- package/menu/utils/misc.js +8 -0
- package/menu/utils/misc.mjs +29 -0
- package/menu/utils/prepareInputItemsForInternalWork.js +8 -0
- package/menu/utils/prepareInputItemsForInternalWork.mjs +59 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +6 -6
- package/panelbar/PanelBar.js +8 -0
- package/panelbar/PanelBar.mjs +195 -0
- package/panelbar/PanelBarItem.js +8 -0
- package/panelbar/PanelBarItem.mjs +148 -0
- package/panelbar/interfaces/NavigationAction.js +8 -0
- package/panelbar/interfaces/NavigationAction.mjs +12 -0
- package/panelbar/util.js +8 -0
- package/panelbar/util.mjs +122 -0
- package/splitter/Splitter.js +8 -0
- package/splitter/Splitter.mjs +238 -0
- package/splitter/SplitterBar.js +8 -0
- package/splitter/SplitterBar.mjs +129 -0
- package/splitter/SplitterPane.js +8 -0
- package/splitter/SplitterPane.mjs +50 -0
- package/splitter/messages/index.js +8 -0
- package/splitter/messages/index.mjs +15 -0
- package/stacklayout/StackLayout.js +8 -0
- package/stacklayout/StackLayout.mjs +84 -0
- package/stepper/Step.js +8 -0
- package/stepper/Step.mjs +177 -0
- package/stepper/Stepper.js +8 -0
- package/stepper/Stepper.mjs +252 -0
- package/stepper/contants.js +8 -0
- package/stepper/contants.mjs +13 -0
- package/stepper/context/StepperContext.js +8 -0
- package/stepper/context/StepperContext.mjs +17 -0
- package/stepper/messages/index.js +8 -0
- package/stepper/messages/index.mjs +17 -0
- package/tabstrip/TabStrip.js +8 -0
- package/tabstrip/TabStrip.mjs +163 -0
- package/tabstrip/TabStripContent.js +8 -0
- package/tabstrip/TabStripContent.mjs +81 -0
- package/tabstrip/TabStripNavigation.js +8 -0
- package/tabstrip/TabStripNavigation.mjs +171 -0
- package/tabstrip/TabStripNavigationItem.js +8 -0
- package/tabstrip/TabStripNavigationItem.mjs +55 -0
- package/tabstrip/TabStripTab.js +8 -0
- package/tabstrip/TabStripTab.mjs +35 -0
- package/tilelayout/InternalTile.js +8 -0
- package/tilelayout/InternalTile.mjs +203 -0
- package/tilelayout/ResizeHandlers.js +8 -0
- package/tilelayout/ResizeHandlers.mjs +53 -0
- package/tilelayout/TileLayout.js +8 -0
- package/tilelayout/TileLayout.mjs +122 -0
- package/timeline/Timeline.js +8 -0
- package/timeline/Timeline.mjs +79 -0
- package/timeline/TimelineCard.js +8 -0
- package/timeline/TimelineCard.mjs +109 -0
- package/timeline/TimelineHorizontal.js +8 -0
- package/timeline/TimelineHorizontal.mjs +239 -0
- package/timeline/TimelineVertical.js +8 -0
- package/timeline/TimelineVertical.mjs +78 -0
- package/timeline/utils.js +8 -0
- package/timeline/utils.mjs +16 -0
- package/actionsheet/ActionSheet.d.ts +0 -138
- package/actionsheet/ActionSheetContent.d.ts +0 -14
- package/actionsheet/ActionSheetFooter.d.ts +0 -14
- package/actionsheet/ActionSheetHeader.d.ts +0 -14
- package/actionsheet/ActionSheetItem.d.ts +0 -10
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -17
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +0 -70
- package/appbar/AppBar.d.ts +0 -54
- package/appbar/AppBarSection.d.ts +0 -53
- package/appbar/AppBarSpacer.d.ts +0 -54
- package/appbar/interfaces/AppBarProps.d.ts +0 -83
- package/appbar/interfaces/AppBarSectionProps.d.ts +0 -22
- package/appbar/interfaces/AppBarSpacerProps.d.ts +0 -23
- package/bottomnavigation/BottomNavigation.d.ts +0 -42
- package/bottomnavigation/BottomNavigationItem.d.ts +0 -16
- package/bottomnavigation/BottomNavigationItemProps.d.ts +0 -64
- package/bottomnavigation/BottomNavigationProps.d.ts +0 -157
- package/bottomnavigation/models/events.d.ts +0 -24
- package/bottomnavigation/models/utils.d.ts +0 -40
- package/breadcrumb/Breadcrumb.d.ts +0 -163
- package/breadcrumb/BreadcrumbDelimiter.d.ts +0 -47
- package/breadcrumb/BreadcrumbLink.d.ts +0 -135
- package/breadcrumb/BreadcrumbListItem.d.ts +0 -55
- package/breadcrumb/BreadcrumbOrderedList.d.ts +0 -59
- package/card/Avatar.d.ts +0 -7
- package/card/Card.d.ts +0 -8
- package/card/CardActions.d.ts +0 -7
- package/card/CardBody.d.ts +0 -7
- package/card/CardFooter.d.ts +0 -7
- package/card/CardHeader.d.ts +0 -7
- package/card/CardImage.d.ts +0 -7
- package/card/CardSubtitle.d.ts +0 -7
- package/card/CardTitle.d.ts +0 -7
- package/card/interfaces/AvatarProps.d.ts +0 -88
- package/card/interfaces/CardActionsProps.d.ts +0 -38
- package/card/interfaces/CardBodyProps.d.ts +0 -18
- package/card/interfaces/CardFooterProps.d.ts +0 -18
- package/card/interfaces/CardHandle.d.ts +0 -18
- package/card/interfaces/CardHeaderProps.d.ts +0 -18
- package/card/interfaces/CardImageProps.d.ts +0 -22
- package/card/interfaces/CardProps.d.ts +0 -48
- package/card/interfaces/CardSubtitleProps.d.ts +0 -18
- package/card/interfaces/CardTitleProps.d.ts +0 -18
- package/card/interfaces/Enums.d.ts +0 -27
- package/contextmenu/ContextMenu.d.ts +0 -31
- package/drawer/Drawer.d.ts +0 -44
- package/drawer/DrawerContent.d.ts +0 -43
- package/drawer/DrawerItem.d.ts +0 -36
- package/drawer/DrawerNavigation.d.ts +0 -47
- package/drawer/context/DrawerContext.d.ts +0 -24
- package/drawer/interfaces/DrawerAnimation.d.ts +0 -18
- package/drawer/interfaces/DrawerContentProps.d.ts +0 -21
- package/drawer/interfaces/DrawerItemHandle.d.ts +0 -21
- package/drawer/interfaces/DrawerItemProps.d.ts +0 -64
- package/drawer/interfaces/DrawerNavigationProps.d.ts +0 -21
- package/drawer/interfaces/DrawerProps.d.ts +0 -86
- package/drawer/interfaces/DrawerSelectEvent.d.ts +0 -19
- package/expansionpanel/ExpansionPanel.d.ts +0 -10
- package/expansionpanel/ExpansionPanelContent.d.ts +0 -9
- package/expansionpanel/index.d.ts +0 -7
- package/expansionpanel/interfaces.d.ts +0 -92
- package/gridlayout/GridLayout.d.ts +0 -43
- package/gridlayout/GridLayoutItem.d.ts +0 -42
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -13
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +0 -44
- package/gridlayout/interfaces/GridLayoutProps.d.ts +0 -99
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -13
- package/menu/BaseMenuItemInternalProps.d.ts +0 -24
- package/menu/MenuProps.d.ts +0 -75
- package/menu/components/Menu.d.ts +0 -118
- package/menu/components/MenuItem.d.ts +0 -33
- package/menu/components/MenuItemArrow.d.ts +0 -50
- package/menu/components/MenuItemInternal.d.ts +0 -63
- package/menu/components/MenuItemLink.d.ts +0 -34
- package/menu/consts.d.ts +0 -58
- package/menu/events.d.ts +0 -20
- package/menu/models/BaseMenuItem.d.ts +0 -58
- package/menu/models/MenuItemModel.d.ts +0 -23
- package/menu/utils/DirectionHolder.d.ts +0 -15
- package/menu/utils/MouseOverHandler.d.ts +0 -21
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +0 -11
- package/menu/utils/hoverDelay.d.ts +0 -13
- package/menu/utils/itemsIdsUtils.d.ts +0 -68
- package/menu/utils/misc.d.ts +0 -20
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -10
- package/package-metadata.d.ts +0 -9
- package/panelbar/PanelBar.d.ts +0 -81
- package/panelbar/PanelBarItem.d.ts +0 -52
- package/panelbar/interfaces/NavigationAction.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemProps.d.ts +0 -98
- package/panelbar/interfaces/PanelBarProps.d.ts +0 -66
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +0 -18
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -19
- package/panelbar/util.d.ts +0 -56
- package/splitter/Splitter.d.ts +0 -136
- package/splitter/SplitterBar.d.ts +0 -44
- package/splitter/SplitterPane.d.ts +0 -57
- package/splitter/messages/index.d.ts +0 -14
- package/stacklayout/StackLayout.d.ts +0 -41
- package/stacklayout/StackLayoutProps.d.ts +0 -92
- package/stepper/Step.d.ts +0 -27
- package/stepper/Stepper.d.ts +0 -27
- package/stepper/contants.d.ts +0 -12
- package/stepper/context/StepperContext.d.ts +0 -27
- package/stepper/interfaces/StepChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepHandle.d.ts +0 -17
- package/stepper/interfaces/StepProps.d.ts +0 -83
- package/stepper/interfaces/StepperChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepperFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepperHandle.d.ts +0 -17
- package/stepper/interfaces/StepperProps.d.ts +0 -98
- package/stepper/messages/index.d.ts +0 -19
- package/tabstrip/TabStrip.d.ts +0 -158
- package/tabstrip/TabStripContent.d.ts +0 -62
- package/tabstrip/TabStripNavigation.d.ts +0 -110
- package/tabstrip/TabStripNavigationItem.d.ts +0 -75
- package/tabstrip/TabStripTab.d.ts +0 -42
- package/tilelayout/InternalTile.d.ts +0 -94
- package/tilelayout/ResizeHandlers.d.ts +0 -24
- package/tilelayout/TileLayout.d.ts +0 -153
- package/tilelayout/interfaces/index.d.ts +0 -145
- package/timeline/Timeline.d.ts +0 -102
- package/timeline/TimelineCard.d.ts +0 -38
- package/timeline/TimelineHorizontal.d.ts +0 -7
- package/timeline/TimelineVertical.d.ts +0 -16
- package/timeline/utils.d.ts +0 -19
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { MenuProps } from '../MenuProps';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface MenuState {
|
|
12
|
-
focusedItemId: string;
|
|
13
|
-
hoveredItemId: string;
|
|
14
|
-
tabbableItemId: string;
|
|
15
|
-
isFirstRender: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Represents the [KendoReact Menu component]({% slug overview_menu %}).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```jsx
|
|
22
|
-
* class App extends React.Component {
|
|
23
|
-
* render() {
|
|
24
|
-
* return (
|
|
25
|
-
* <Menu>
|
|
26
|
-
* <MenuItem text="Item1" />
|
|
27
|
-
* <MenuItem text="Item2">
|
|
28
|
-
* <MenuItem text="Item2.1" />
|
|
29
|
-
* <MenuItem text="Item2.2" />
|
|
30
|
-
* </MenuItem>
|
|
31
|
-
* <MenuItem text="Item3" />
|
|
32
|
-
* </Menu>
|
|
33
|
-
* );
|
|
34
|
-
* }
|
|
35
|
-
* }
|
|
36
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare class Menu extends React.Component<MenuProps, MenuState> {
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
static propTypes: {
|
|
44
|
-
vertical: PropTypes.Requireable<boolean>;
|
|
45
|
-
items: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
46
|
-
style: PropTypes.Requireable<object>;
|
|
47
|
-
dir: PropTypes.Requireable<string>;
|
|
48
|
-
hoverOpenDelay: PropTypes.Requireable<number>;
|
|
49
|
-
hoverCloseDelay: PropTypes.Requireable<number>;
|
|
50
|
-
openOnClick: PropTypes.Requireable<boolean>;
|
|
51
|
-
itemRender: PropTypes.Requireable<any>;
|
|
52
|
-
linkRender: PropTypes.Requireable<any>;
|
|
53
|
-
customCloseItemIds: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
54
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
55
|
-
role: PropTypes.Requireable<string>;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
static defaultProps: {
|
|
61
|
-
vertical: boolean;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
readonly state: MenuState;
|
|
67
|
-
private itemHoverRequest;
|
|
68
|
-
private itemLeaveRequest;
|
|
69
|
-
private menuWrapperEl;
|
|
70
|
-
private get menuItemId();
|
|
71
|
-
private directionHolder;
|
|
72
|
-
private inputItems;
|
|
73
|
-
private items;
|
|
74
|
-
private mouseOverHandler;
|
|
75
|
-
get element(): HTMLDivElement | null;
|
|
76
|
-
constructor(props: MenuProps);
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
*/
|
|
80
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
/**
|
|
82
|
-
* @hidden
|
|
83
|
-
*/
|
|
84
|
-
componentDidMount(): void;
|
|
85
|
-
/**
|
|
86
|
-
* @hidden
|
|
87
|
-
*/
|
|
88
|
-
componentDidUpdate(prevProps: MenuProps): void;
|
|
89
|
-
/**
|
|
90
|
-
* @hidden
|
|
91
|
-
*/
|
|
92
|
-
componentWillUnmount(): void;
|
|
93
|
-
/**
|
|
94
|
-
* Resets the selection and opening of Menu items.
|
|
95
|
-
*/
|
|
96
|
-
reset: () => void;
|
|
97
|
-
private onKeyDown;
|
|
98
|
-
private onItemMouseOver;
|
|
99
|
-
private onItemMouseLeave;
|
|
100
|
-
private onItemMouseDown;
|
|
101
|
-
private onItemFocus;
|
|
102
|
-
private onItemClick;
|
|
103
|
-
private onItemBlur;
|
|
104
|
-
private getInputItem;
|
|
105
|
-
private setFocusedItemId;
|
|
106
|
-
private setHoveredItemId;
|
|
107
|
-
private getMenuClassName;
|
|
108
|
-
private clearItemHoverAndLeaveRequestsIfApplicable;
|
|
109
|
-
private isItemWithDefaultClose;
|
|
110
|
-
private checkIsDirectionRightToLeft;
|
|
111
|
-
private prepareItems;
|
|
112
|
-
private dispatchSelectEventIfWired;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Represent the `ref` of the Menu component.
|
|
116
|
-
*/
|
|
117
|
-
export interface MenuHandle extends Pick<Menu, keyof Menu> {
|
|
118
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { BaseMenuItem } from '../models/BaseMenuItem';
|
|
8
|
-
/**
|
|
9
|
-
* The properties of the KendoReact MenuItem component ([more information and examples]({% slug items_menu %})).
|
|
10
|
-
*/
|
|
11
|
-
export interface MenuItemProps extends BaseMenuItem {
|
|
12
|
-
}
|
|
13
|
-
export declare class MenuItem extends React.Component<MenuItemProps, {}> {
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
static propTypes: {
|
|
18
|
-
text: PropTypes.Requireable<string>;
|
|
19
|
-
url: PropTypes.Requireable<string>;
|
|
20
|
-
icon: PropTypes.Requireable<string>;
|
|
21
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
22
|
-
cssClass: PropTypes.Requireable<string>;
|
|
23
|
-
cssStyle: PropTypes.Requireable<object>;
|
|
24
|
-
render: PropTypes.Requireable<any>;
|
|
25
|
-
linkRender: PropTypes.Requireable<any>;
|
|
26
|
-
contentRender: PropTypes.Requireable<any>;
|
|
27
|
-
data: PropTypes.Requireable<any>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
render(): null;
|
|
33
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
/**
|
|
8
|
-
* The properties of the KendoReact MenuItemArrow component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MenuItemArrowProps {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the item id of the MenuItemArrow component.
|
|
13
|
-
*/
|
|
14
|
-
itemId: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the direction of the MenuItemArrow component.
|
|
17
|
-
*/
|
|
18
|
-
dir: 'ltr' | 'rtl';
|
|
19
|
-
/**
|
|
20
|
-
* Specifies whether the Menu which holds the MenuItemArrow component is vertical.
|
|
21
|
-
*/
|
|
22
|
-
verticalMenu?: boolean;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
export declare const downArrowName = "caret-alt-down";
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
export declare const rightArrowName = "caret-alt-right";
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare const leftArrowName = "caret-alt-left";
|
|
36
|
-
export declare class MenuItemArrow extends React.Component<MenuItemArrowProps, {}> {
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
static propTypes: {
|
|
41
|
-
itemId: PropTypes.Requireable<string>;
|
|
42
|
-
dir: PropTypes.Requireable<string>;
|
|
43
|
-
verticalMenu: PropTypes.Requireable<boolean>;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
private getIcon;
|
|
50
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { MenuItemInternalModel } from '../models/MenuItemModel';
|
|
7
|
-
import { BaseMenuItemInternalProps } from './../BaseMenuItemInternalProps';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface MenuItemInternalsListProps extends BaseMenuItemInternalProps {
|
|
12
|
-
items: MenuItemInternalModel[];
|
|
13
|
-
parentItemId?: string;
|
|
14
|
-
className: string;
|
|
15
|
-
role?: string;
|
|
16
|
-
'aria-orientation'?: 'vertical';
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare class MenuItemInternalsList extends React.Component<MenuItemInternalsListProps, {}> {
|
|
22
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
private renderChildItems;
|
|
24
|
-
private onMouseOver;
|
|
25
|
-
private onMouseLeave;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export interface MenuItemInternalProps extends BaseMenuItemInternalProps {
|
|
31
|
-
item: MenuItemInternalModel;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export interface MenuItemInternalState {
|
|
37
|
-
opened: boolean;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
export declare class MenuItemInternal extends React.Component<MenuItemInternalProps, MenuItemInternalState> {
|
|
43
|
-
readonly state: MenuItemInternalState;
|
|
44
|
-
private itemElement;
|
|
45
|
-
private isFirstRender;
|
|
46
|
-
constructor(props: MenuItemInternalProps);
|
|
47
|
-
componentDidMount(): void;
|
|
48
|
-
componentDidUpdate(prevProps: MenuItemInternalProps): void;
|
|
49
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
private renderContent;
|
|
51
|
-
private renderMenuItemLink;
|
|
52
|
-
private renderPopupIfOpened;
|
|
53
|
-
private renderMenuIconIfApplicable;
|
|
54
|
-
private renderArrowIfApplicable;
|
|
55
|
-
private onMouseOver;
|
|
56
|
-
private onMouseLeave;
|
|
57
|
-
private get itemRender();
|
|
58
|
-
private get linkRender();
|
|
59
|
-
private get contentRender();
|
|
60
|
-
private get Opened();
|
|
61
|
-
private getPopupClassName;
|
|
62
|
-
private getMenuItemClassName;
|
|
63
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
|
|
8
|
-
/**
|
|
9
|
-
* The properties of the KendoReact MenuItemLink component.
|
|
10
|
-
*/
|
|
11
|
-
export interface MenuItemLinkProps extends KendoReactComponentBaseProps {
|
|
12
|
-
/**
|
|
13
|
-
* Specifies whether the MenuItemLink component is opened.
|
|
14
|
-
*/
|
|
15
|
-
opened: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Sets the URL of the MenuItemLink component.
|
|
18
|
-
*/
|
|
19
|
-
url?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare class MenuItemLink extends React.Component<MenuItemLinkProps, {}> {
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
static propTypes: {
|
|
26
|
-
opened: PropTypes.Requireable<boolean>;
|
|
27
|
-
url: PropTypes.Requireable<string>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
private getMenuItemClassName;
|
|
34
|
-
}
|
package/menu/consts.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const POPUP_SETTINGS_RTL: {
|
|
9
|
-
downward: {
|
|
10
|
-
anchorAlign: {
|
|
11
|
-
vertical: string;
|
|
12
|
-
horizontal: string;
|
|
13
|
-
};
|
|
14
|
-
popupAlign: any;
|
|
15
|
-
collision: {
|
|
16
|
-
vertical: string;
|
|
17
|
-
horizontal: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
leftward: {
|
|
21
|
-
anchorAlign: {
|
|
22
|
-
vertical: string;
|
|
23
|
-
horizontal: string;
|
|
24
|
-
};
|
|
25
|
-
popupAlign: any;
|
|
26
|
-
collision: {
|
|
27
|
-
vertical: string;
|
|
28
|
-
horizontal: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare const POPUP_SETTINGS: {
|
|
36
|
-
downward: {
|
|
37
|
-
anchorAlign: {
|
|
38
|
-
vertical: string;
|
|
39
|
-
horizontal: string;
|
|
40
|
-
};
|
|
41
|
-
popupAlign: any;
|
|
42
|
-
collision: {
|
|
43
|
-
vertical: string;
|
|
44
|
-
horizontal: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
rightward: {
|
|
48
|
-
anchorAlign: {
|
|
49
|
-
vertical: string;
|
|
50
|
-
horizontal: string;
|
|
51
|
-
};
|
|
52
|
-
popupAlign: any;
|
|
53
|
-
collision: {
|
|
54
|
-
vertical: string;
|
|
55
|
-
horizontal: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
package/menu/events.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Menu } from './components/Menu';
|
|
6
|
-
import { MenuItemModel } from './models/MenuItemModel';
|
|
7
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
8
|
-
/**
|
|
9
|
-
* The arguments for the `select` event of the Menu. If the item has a URL and the event is prevented, navigation to the URL does not occur.
|
|
10
|
-
*/
|
|
11
|
-
export interface MenuSelectEvent extends BaseEvent<Menu> {
|
|
12
|
-
/**
|
|
13
|
-
* The id of selected item. The ids are hierarchical and zero-based. The first root item has a `0` id. If the first root item has children, the first child acquires a `0_0` id and the second acquires a `0_1` id.
|
|
14
|
-
*/
|
|
15
|
-
itemId: string;
|
|
16
|
-
/**
|
|
17
|
-
* The selected item.
|
|
18
|
-
*/
|
|
19
|
-
item: MenuItemModel;
|
|
20
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { SVGIcon } from '@progress/kendo-react-common';
|
|
6
|
-
/**
|
|
7
|
-
* An interface which holds the shared properties of the MenuItemModel and the MenuItem components.
|
|
8
|
-
*/
|
|
9
|
-
export interface BaseMenuItem {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the item text ([see example]({% slug itemproperties_menu %}#toc-text)).
|
|
12
|
-
*/
|
|
13
|
-
text?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies a URL which is rendered as a `href` attribute on the item link ([see example]({% slug itemproperties_menu %}#toc-url)).
|
|
16
|
-
*/
|
|
17
|
-
url?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the name of the [font icon]({% slug icons %}#toc-list-of-font-icons) that will be rendered for the item ([see example]({% slug itemproperties_menu %}#toc-icon)).
|
|
20
|
-
*/
|
|
21
|
-
icon?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the SVG icon that will be rendered for the item ([see example]({% slug itemproperties_menu %}#toc-icon)).
|
|
24
|
-
*/
|
|
25
|
-
svgIcon?: SVGIcon;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies if the item is disabled ([see example]({% slug itemproperties_menu %}#toc-disabled-state)).
|
|
28
|
-
*/
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* The additional CSS classes that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
|
|
32
|
-
*/
|
|
33
|
-
cssClass?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The CSS styles that will be rendered on the item ([see example]({% slug itemproperties_menu %}#toc-styles-and-classes)).
|
|
36
|
-
*/
|
|
37
|
-
cssStyle?: React.CSSProperties;
|
|
38
|
-
/**
|
|
39
|
-
* A React functional or class component which is used for rendering the innermost part of the Menu item ([see example]({% slug rendering_menu %}#toc-items)). By default, the innermost item part includes only the text for the item.
|
|
40
|
-
*/
|
|
41
|
-
render?: any;
|
|
42
|
-
/**
|
|
43
|
-
* A React functional or class component which is used for rendering the link of the item ([see example]({% slug rendering_menu %}#toc-links)). The item link is a part of the visual representation of the item which, by default, includes an arrow, icon, and text.
|
|
44
|
-
*/
|
|
45
|
-
linkRender?: any;
|
|
46
|
-
/**
|
|
47
|
-
* A React functional or class component which is used for rendering content instead of the item children ([see example]({% slug rendering_menu %}#toc-content)).
|
|
48
|
-
*/
|
|
49
|
-
contentRender?: any;
|
|
50
|
-
/**
|
|
51
|
-
* Represents any additional data that is associated with the Menu item.
|
|
52
|
-
*/
|
|
53
|
-
data?: any;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
children?: React.ReactNode;
|
|
58
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BaseMenuItem } from './BaseMenuItem';
|
|
6
|
-
/**
|
|
7
|
-
* The interface for describing items that can be passed to the `items` property of the Menu as an alternative to passing them as children.
|
|
8
|
-
*/
|
|
9
|
-
export interface MenuItemModel extends BaseMenuItem {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the children of the item.
|
|
12
|
-
*/
|
|
13
|
-
items?: MenuItemModel[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export interface MenuItemInternalModel extends BaseMenuItem {
|
|
19
|
-
id: string;
|
|
20
|
-
items: MenuItemInternalModel[];
|
|
21
|
-
contentParentItemId?: string;
|
|
22
|
-
isLastFromSiblings: boolean;
|
|
23
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class DirectionHolder {
|
|
9
|
-
private phase;
|
|
10
|
-
private previousIsDirectionRightToLeft?;
|
|
11
|
-
private isDirectionRightToLeft?;
|
|
12
|
-
getIsDirectionRightToLeft(): boolean | undefined;
|
|
13
|
-
setIsDirectionRightToLeft(value: boolean): void;
|
|
14
|
-
hasDirectionChanged(): boolean;
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class MouseOverHandler {
|
|
9
|
-
private openOnClick;
|
|
10
|
-
private resetMenu;
|
|
11
|
-
private openItem;
|
|
12
|
-
private isMouseOverEnabled;
|
|
13
|
-
private mouseDown;
|
|
14
|
-
constructor(openOnClick: boolean | undefined, resetMenu: any, openItem: any);
|
|
15
|
-
set OpenOnClick(value: boolean | undefined);
|
|
16
|
-
handleItemSelectedViaKeyboard(): void;
|
|
17
|
-
get IsMouseOverEnabled(): boolean;
|
|
18
|
-
handleItemMouseDown(): void;
|
|
19
|
-
handleItemFocus(): void;
|
|
20
|
-
handleItemClick(itemId: string, clickedItemIsWithDefaultClose: boolean): void;
|
|
21
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MenuItemInternalModel } from '../models/MenuItemModel';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
* Returns the `itemId` (string) for applicable key codes even when the id has not changed.
|
|
9
|
-
* For key codes that are not applicable, returns `undefined`.
|
|
10
|
-
*/
|
|
11
|
-
export declare function getNewItemIdUponKeyboardNavigation(sourceItems: MenuItemInternalModel[], sourceItemId: string, keyCode: number, key: string, isMenuVertical?: boolean, isDirectionRightToLeft?: boolean): string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MenuProps } from '../MenuProps';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare function getHoverOpenDelay(props: MenuProps): number;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare function getHoverCloseDelay(props: MenuProps): number;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const EMPTY_ID = "";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const ZERO_LEVEL_ZERO_ITEM_ID = "0";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const SEPARATOR = "_";
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare function getItemById(itemId: string, items: any): any;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export declare function getRootParentId(itemId: string): string;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare function getIdWithoutRootParentId(itemId: string): string;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export declare function getFirstChildId(itemId: string): string;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare function shouldOpenItem(itemId: string, lastItemIdToBeOpened: string): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
export declare function createId(childId: string, parentId?: string): string;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export declare function getDirectParentId(itemId: string): string;
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
export declare function isIdEmptyOrZeroLevel(itemId: string): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
export declare function isIdZeroLevel(itemId: string): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* @hidden
|
|
55
|
-
*/
|
|
56
|
-
export declare function isIdFirstLevel(itemId: string): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
export declare function isFirstItemFromSiblings(itemId: string): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* @hidden
|
|
63
|
-
*/
|
|
64
|
-
export declare function getShortId(itemId: string): string;
|
|
65
|
-
/**
|
|
66
|
-
* @hidden
|
|
67
|
-
*/
|
|
68
|
-
export declare function getDirectSiblingIdForLevelZero(next: boolean, shortItemId: string, siblingsCount: number): string;
|
package/menu/utils/misc.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare function getPopupSettings(itemId: string, isMenuVertical: boolean, isDirectionRightToLeft?: boolean): any;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare function getChildrenPosition(itemId: string, isMenuVertical: boolean, isDirectionRightToLeft?: boolean): "leftward" | "rightward" | "downward";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare function convertBoolDirectionToString(isDirectionRightToLeft?: boolean): "ltr" | "rtl";
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare function getDOMElementId(menuGuid: string, itemId: string): string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { MenuItemModel } from '../models/MenuItemModel';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare function prepareInputItemsForInternalWork(models?: MenuItemModel[], menuChildren?: React.ReactNode): any;
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|