@progress/kendo-react-layout 7.2.4-develop.2 → 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
package/panelbar/PanelBar.d.ts
DELETED
|
@@ -1,81 +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 { PanelBarProps } from '..';
|
|
8
|
-
import { PanelBarItemClickEventArguments } from './interfaces/PanelBarItemClickEventArguments';
|
|
9
|
-
import { NavigationAction } from './interfaces/NavigationAction';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export interface PanelBarState {
|
|
14
|
-
focused?: string;
|
|
15
|
-
wrapperFocused?: boolean;
|
|
16
|
-
selected?: string;
|
|
17
|
-
expanded: string[];
|
|
18
|
-
}
|
|
19
|
-
export declare class PanelBar extends React.Component<PanelBarProps, PanelBarState> {
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
static propTypes: {
|
|
24
|
-
animation: PropTypes.Requireable<boolean>;
|
|
25
|
-
children: (props: PanelBarProps, propName: any) => Error | null;
|
|
26
|
-
dir: PropTypes.Requireable<string>;
|
|
27
|
-
selected: PropTypes.Requireable<string>;
|
|
28
|
-
expanded: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
29
|
-
focused: PropTypes.Requireable<string>;
|
|
30
|
-
expandMode: PropTypes.Requireable<string>;
|
|
31
|
-
className: PropTypes.Requireable<string>;
|
|
32
|
-
keepItemsMounted: PropTypes.Requireable<boolean>;
|
|
33
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
|
-
style: PropTypes.Requireable<object>;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
static defaultProps: {
|
|
40
|
-
expandMode: string;
|
|
41
|
-
animation: boolean;
|
|
42
|
-
keepItemsMounted: boolean;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
readonly state: PanelBarState;
|
|
48
|
-
private activeDescendant?;
|
|
49
|
-
private _element;
|
|
50
|
-
private showLicenseWatermark;
|
|
51
|
-
private nextTickId;
|
|
52
|
-
private get expandMode();
|
|
53
|
-
private get selectedItem();
|
|
54
|
-
private get expandedItems();
|
|
55
|
-
private get children();
|
|
56
|
-
constructor(props: PanelBarProps);
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
handleSelect: (event: PanelBarItemClickEventArguments) => void;
|
|
61
|
-
/**
|
|
62
|
-
* @hidden
|
|
63
|
-
*/
|
|
64
|
-
onSelect: (event: any) => void;
|
|
65
|
-
/**
|
|
66
|
-
* @hidden
|
|
67
|
-
*/
|
|
68
|
-
onFocus: (event: any, step?: number) => void;
|
|
69
|
-
/**
|
|
70
|
-
* @hidden
|
|
71
|
-
*/
|
|
72
|
-
onNavigate: (event: any, action: NavigationAction) => void;
|
|
73
|
-
/**
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
protected nextTick(f: () => any): void;
|
|
78
|
-
private handleWrapperFocus;
|
|
79
|
-
private handleWrapperBlur;
|
|
80
|
-
private handleKeyDown;
|
|
81
|
-
}
|
|
@@ -1,52 +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 { PanelBarItemProps } from '..';
|
|
8
|
-
/** @hidden */
|
|
9
|
-
interface PanelBarItemState {
|
|
10
|
-
show: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class PanelBarItem extends React.PureComponent<PanelBarItemProps, PanelBarItemState> {
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
static propTypes: {
|
|
17
|
-
animation: PropTypes.Requireable<boolean>;
|
|
18
|
-
children: PropTypes.Requireable<any>;
|
|
19
|
-
className: PropTypes.Requireable<string>;
|
|
20
|
-
icon: PropTypes.Requireable<string>;
|
|
21
|
-
iconClass: PropTypes.Requireable<string>;
|
|
22
|
-
imageUrl: PropTypes.Requireable<string>;
|
|
23
|
-
svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
24
|
-
name: PropTypes.Validator<string>;
|
|
25
|
-
content: PropTypes.Validator<string>;
|
|
26
|
-
viewBox: PropTypes.Validator<string>;
|
|
27
|
-
}>>;
|
|
28
|
-
expanded: PropTypes.Requireable<boolean>;
|
|
29
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
30
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
31
|
-
selected: PropTypes.Requireable<boolean>;
|
|
32
|
-
level: PropTypes.Requireable<number>;
|
|
33
|
-
title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
|
|
34
|
-
id: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
35
|
-
focused: PropTypes.Requireable<boolean>;
|
|
36
|
-
keepItemsMounted: PropTypes.Requireable<boolean>;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
static defaultProps: {
|
|
42
|
-
title: string;
|
|
43
|
-
};
|
|
44
|
-
constructor(props: PanelBarItemProps);
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
private handleItemClick;
|
|
50
|
-
private childFactory;
|
|
51
|
-
}
|
|
52
|
-
export {};
|
|
@@ -1,12 +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 enum NavigationAction {
|
|
9
|
-
Toggle = 0,
|
|
10
|
-
Next = 1,
|
|
11
|
-
Previous = 2
|
|
12
|
-
}
|
|
@@ -1,12 +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 { PanelBarItem } from '../PanelBarItem';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface PanelBarItemClickEventArguments {
|
|
10
|
-
uniquePrivateKey: number;
|
|
11
|
-
target: PanelBarItem;
|
|
12
|
-
}
|
|
@@ -1,98 +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
|
-
* Represents the props of the PanelBarItem component.
|
|
8
|
-
*/
|
|
9
|
-
export interface PanelBarItemProps {
|
|
10
|
-
/**
|
|
11
|
-
* Allows individual animation control over the child ([see example]({% slug animations_panelbar %})). By default, it is controlled by the PanelBar component.
|
|
12
|
-
*/
|
|
13
|
-
animation?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Can be any of PanelBar items, an array of PanelBar items, or a custom component.
|
|
16
|
-
*/
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* The class name that is set to the PanelBarItem component.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The class name that is set to the PanelBarItem header.
|
|
24
|
-
*/
|
|
25
|
-
headerClassName?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the initial expanded state of the PanelBarItem ([see example]({% slug statesitems_panelbar %}#toc-expanded-items)). Controlled by the PanelBar component.
|
|
28
|
-
*/
|
|
29
|
-
expanded?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the disabled state of the PanelBarItem ([see example]({% slug statesitems_panelbar %}#toc-disabled-items)).
|
|
32
|
-
*/
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
onSelect?: Function;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
level?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Defines an icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
44
|
-
*/
|
|
45
|
-
icon?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Defines an SVG icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
48
|
-
*/
|
|
49
|
-
svgIcon?: SVGIcon;
|
|
50
|
-
/**
|
|
51
|
-
* Defines an icon with a custom CSS class that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
52
|
-
*/
|
|
53
|
-
iconClass?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Defines the location of the image that will be displayed next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-images)).
|
|
56
|
-
*/
|
|
57
|
-
imageUrl?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the initial selected state of the PanelBarItem. Controlled by the PanelBarItem component ([see example]({% slug statesitems_panelbar %}#toc-selected-items)).
|
|
60
|
-
*/
|
|
61
|
-
selected?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Sets the title of the PanelBar item ([see example]({% slug titlesitems_panelbar %}#toc-getting-started)).
|
|
64
|
-
*/
|
|
65
|
-
title?: React.ReactNode;
|
|
66
|
-
/**
|
|
67
|
-
* Allows the component to set the `id` property to each item. If not set, a default `id` is applied.
|
|
68
|
-
*/
|
|
69
|
-
id?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Sets the initial focused state of the PanelBarItem. Controlled by the PanelBar component.
|
|
72
|
-
*/
|
|
73
|
-
focused?: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
parentExpanded?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
content?: any;
|
|
82
|
-
/**
|
|
83
|
-
* Used to identify the PanelBarItems inside the PanelBar ([see example]({% slug controlling_state_panelbar %})). Does not depend on the state of the PanelBarItem.
|
|
84
|
-
*/
|
|
85
|
-
uniquePrivateKey?: string;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
parentUniquePrivateKey?: string[];
|
|
90
|
-
/**
|
|
91
|
-
* @hidden
|
|
92
|
-
*/
|
|
93
|
-
keepItemsMounted?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Sets a custom property. Contained in the PanelBarItem props that are returned from the `onSelect` PanelBar event.
|
|
96
|
-
*/
|
|
97
|
-
[customProp: string]: any;
|
|
98
|
-
}
|
|
@@ -1,66 +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 { PanelBarSelectEventArguments } from '../..';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the expand modes of the KendoReact PanelBar. Defaults to `multiple`.
|
|
8
|
-
*/
|
|
9
|
-
export type PanelBarExpandMode = 'single' | 'multiple';
|
|
10
|
-
/**
|
|
11
|
-
* Represents the props of the [KendoReact PanelBar component]({% slug overview_panelbar %}).
|
|
12
|
-
*/
|
|
13
|
-
export interface PanelBarProps {
|
|
14
|
-
/**
|
|
15
|
-
* The child can be either a single PanelBarItem or a PanelBarItem array.
|
|
16
|
-
*/
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* The class name that is set to the PanelBar.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the animation state of the PanelBar.
|
|
24
|
-
*/
|
|
25
|
-
animation?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the expand mode of the PanelBar ([see example]({% slug expandmodes_panelbar %})).
|
|
28
|
-
*
|
|
29
|
-
* The available modes are:
|
|
30
|
-
* - `"single"`—Allows you to expand only one item at a time. The expanding of an item collapses the item that was previously expanded.
|
|
31
|
-
* - `"multiple"` (default)—Allows you to expand two or more items at a time. Items can also be toggled.
|
|
32
|
-
*/
|
|
33
|
-
expandMode?: PanelBarExpandMode;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the direction of the PanelBar component.
|
|
36
|
-
*/
|
|
37
|
-
dir?: string;
|
|
38
|
-
/**
|
|
39
|
-
* If set, overrides the currently selected property in the PanelBar state.
|
|
40
|
-
*/
|
|
41
|
-
selected?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the initial expanded state of the PanelBar.
|
|
44
|
-
*/
|
|
45
|
-
expanded?: string[];
|
|
46
|
-
/**
|
|
47
|
-
* Sets the initial focused state of the PanelBar.
|
|
48
|
-
*/
|
|
49
|
-
focused?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Determines if the PanelBar items will be mounted after expand collapse. Defaults to `false`.
|
|
52
|
-
*/
|
|
53
|
-
keepItemsMounted?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Determines if the PanelBar is going to be used in controlled state.
|
|
56
|
-
*/
|
|
57
|
-
isControlled?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Fires each time the user makes a selection ([see example]({% slug controlling_state_panelbar %})).
|
|
60
|
-
*/
|
|
61
|
-
onSelect?: (event: PanelBarSelectEventArguments) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Sets additional CSS styles to the PanelBar.
|
|
64
|
-
*/
|
|
65
|
-
style?: React.CSSProperties;
|
|
66
|
-
}
|
|
@@ -1,18 +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 { PanelBarItemProps } from '../interfaces/PanelBarItemProps';
|
|
6
|
-
/**
|
|
7
|
-
* The arguments that are passed to the `onSelect` callback function.
|
|
8
|
-
*/
|
|
9
|
-
export interface PanelBarSelectEventArguments {
|
|
10
|
-
/**
|
|
11
|
-
* The selected PanelBar item.
|
|
12
|
-
*/
|
|
13
|
-
target: React.ReactElement<PanelBarItemProps>;
|
|
14
|
-
/**
|
|
15
|
-
* The new expanded PanelBar items state.
|
|
16
|
-
*/
|
|
17
|
-
expandedItems: string[];
|
|
18
|
-
}
|
|
@@ -1,19 +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 { PanelBarState } from '../PanelBar';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface RenderPanelBarItem {
|
|
10
|
-
animation?: boolean;
|
|
11
|
-
keepItemsMounted?: boolean;
|
|
12
|
-
state: PanelBarState;
|
|
13
|
-
expanded: string[];
|
|
14
|
-
handleSelect: any;
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
parentExpanded?: boolean;
|
|
17
|
-
level?: number;
|
|
18
|
-
parentPrivateKey?: string[];
|
|
19
|
-
}
|
package/panelbar/util.d.ts
DELETED
|
@@ -1,56 +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 { PanelBarState } from './PanelBar';
|
|
7
|
-
import { PanelBarItem } from './PanelBarItem';
|
|
8
|
-
import { RenderPanelBarItem } from './interfaces/RenderPanelBarItem';
|
|
9
|
-
import { PanelBarItemProps } from '..';
|
|
10
|
-
import { PanelBarExpandMode } from './interfaces/PanelBarProps';
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare const renderChildren: ({ animation, keepItemsMounted, state, expanded, handleSelect, children, parentExpanded, level, parentPrivateKey }: RenderPanelBarItem) => React.ReactNode;
|
|
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?: PanelBarState, parentExpanded?: boolean, parentPrivateKey?: string[]) => PanelBarState;
|
|
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
|
-
* Represents the PanelBarUtils functions.
|
|
41
|
-
*/
|
|
42
|
-
export declare namespace PanelBarUtils {
|
|
43
|
-
/**
|
|
44
|
-
* Maps a collection of PanelBarItemProps to PanelBarItem components
|
|
45
|
-
* ([see example]({% slug customization_panelbar %})).
|
|
46
|
-
* Contained in the `PanelBarUtils` object.
|
|
47
|
-
*
|
|
48
|
-
* @param items - A collection of PanelBarItemProps.
|
|
49
|
-
* @return {PanelBarItem[]} Returns an array of PanelBarItem components.
|
|
50
|
-
*/
|
|
51
|
-
function mapItemsToComponents(items: Array<PanelBarItemProps>): PanelBarItem[];
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* @hidden
|
|
55
|
-
*/
|
|
56
|
-
export declare const isArrayEqual: (firstArray: any[], secondArray: any[]) => boolean;
|
package/splitter/Splitter.d.ts
DELETED
|
@@ -1,136 +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 { SplitterPaneProps } from './SplitterPane';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the onChange event of the Splitter.
|
|
9
|
-
*/
|
|
10
|
-
export interface SplitterOnChangeEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The new panes state.
|
|
13
|
-
*/
|
|
14
|
-
newState: SplitterPaneProps[];
|
|
15
|
-
/**
|
|
16
|
-
* Indicates if is the last event during drag. Can be used to optimize performance.
|
|
17
|
-
*/
|
|
18
|
-
isLast: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The native DOM event.
|
|
21
|
-
*/
|
|
22
|
-
nativeEvent: React.MouseEvent<HTMLDivElement, MouseEvent> | React.KeyboardEvent<HTMLDivElement> | any;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Represents the options of the Splitter.
|
|
26
|
-
*/
|
|
27
|
-
export interface SplitterProps {
|
|
28
|
-
/**
|
|
29
|
-
* Sets the options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for controlled state.
|
|
30
|
-
*/
|
|
31
|
-
panes?: SplitterPaneProps[];
|
|
32
|
-
/**
|
|
33
|
-
* Sets the initial options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for uncontrolled state.
|
|
34
|
-
*/
|
|
35
|
-
defaultPanes?: SplitterPaneProps[];
|
|
36
|
-
/**
|
|
37
|
-
* 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.
|
|
38
|
-
*/
|
|
39
|
-
orientation?: 'vertical' | 'horizontal';
|
|
40
|
-
/**
|
|
41
|
-
* Sets the styles of the Splitter.
|
|
42
|
-
*/
|
|
43
|
-
style?: React.CSSProperties;
|
|
44
|
-
/**
|
|
45
|
-
* 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.
|
|
46
|
-
*/
|
|
47
|
-
onChange?: (event: SplitterOnChangeEvent) => void;
|
|
48
|
-
/**
|
|
49
|
-
* The pane elements of the Splitter.
|
|
50
|
-
*/
|
|
51
|
-
children?: React.ReactNode;
|
|
52
|
-
/**
|
|
53
|
-
* The class name that is set to the Splitter.
|
|
54
|
-
*/
|
|
55
|
-
className?: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
export interface SplitterState {
|
|
61
|
-
isDragging: boolean;
|
|
62
|
-
dragIndex?: number;
|
|
63
|
-
startTime: number;
|
|
64
|
-
originalX: number;
|
|
65
|
-
originalY: number;
|
|
66
|
-
originalPrevSize: number;
|
|
67
|
-
originalNextSize: number;
|
|
68
|
-
panes: SplitterPaneProps[];
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Represents the [KendoReact Splitter component]({% slug overview_splitter %}).
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* ```jsx
|
|
75
|
-
* class App extends React.Component {
|
|
76
|
-
* render() {
|
|
77
|
-
* return (
|
|
78
|
-
* <div>
|
|
79
|
-
* <Splitter
|
|
80
|
-
* style={{height: 400}}
|
|
81
|
-
* orientation={'vertical'}
|
|
82
|
-
* >
|
|
83
|
-
* <div>Pane 1</div>
|
|
84
|
-
* <div>Pane 2</div>
|
|
85
|
-
* <div>Pane 3</div>
|
|
86
|
-
* </Splitter>
|
|
87
|
-
* </div>
|
|
88
|
-
* );
|
|
89
|
-
* }
|
|
90
|
-
* }
|
|
91
|
-
*
|
|
92
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
93
|
-
* ```
|
|
94
|
-
*/
|
|
95
|
-
export declare class Splitter extends React.Component<SplitterProps, SplitterState> {
|
|
96
|
-
/**
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
static displayName: string;
|
|
100
|
-
/**
|
|
101
|
-
* @hidden
|
|
102
|
-
*/
|
|
103
|
-
readonly state: SplitterState;
|
|
104
|
-
private panesDuringOnChange?;
|
|
105
|
-
private get isControlledState();
|
|
106
|
-
private get panes();
|
|
107
|
-
private _container;
|
|
108
|
-
private get orientation();
|
|
109
|
-
private get isRtl();
|
|
110
|
-
private get panesContent();
|
|
111
|
-
/**
|
|
112
|
-
* @hidden
|
|
113
|
-
*/
|
|
114
|
-
constructor(props: SplitterProps);
|
|
115
|
-
/**
|
|
116
|
-
* @hidden
|
|
117
|
-
*/
|
|
118
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
119
|
-
private validatePanes;
|
|
120
|
-
private mapPaneOptions;
|
|
121
|
-
private mapSplitterPanes;
|
|
122
|
-
private onBarToggle;
|
|
123
|
-
private onBarDragResize;
|
|
124
|
-
private onBarKeyboardResize;
|
|
125
|
-
private surroudingPanes;
|
|
126
|
-
private containerSize;
|
|
127
|
-
private isPercent;
|
|
128
|
-
private toPixels;
|
|
129
|
-
private panesOptions;
|
|
130
|
-
private resetDragState;
|
|
131
|
-
private elementSize;
|
|
132
|
-
private clamp;
|
|
133
|
-
private fixedSize;
|
|
134
|
-
private resize;
|
|
135
|
-
private getPaneProps;
|
|
136
|
-
}
|
|
@@ -1,44 +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 { SplitterPaneExtendedProps } from './SplitterPane';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export interface SplitterBarProps {
|
|
11
|
-
orientation: 'vertical' | 'horizontal';
|
|
12
|
-
index: number;
|
|
13
|
-
prev: SplitterPaneExtendedProps;
|
|
14
|
-
next: SplitterPaneExtendedProps;
|
|
15
|
-
ariaLabel?: string;
|
|
16
|
-
isRtl?: boolean;
|
|
17
|
-
onDrag: (event: any, element: HTMLDivElement, index: number, isFirst: boolean, isLast: boolean) => void;
|
|
18
|
-
onToggle: (index: number, nativeEvent: React.MouseEvent<HTMLDivElement, MouseEvent> | React.KeyboardEvent<HTMLDivElement>) => void;
|
|
19
|
-
onKeyboardResize: (element: HTMLDivElement, index: number, delta: number, nativeEvent: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export interface SplitterBarState {
|
|
25
|
-
focused: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export declare class SplitterBar extends React.Component<SplitterBarProps, SplitterBarState> {
|
|
31
|
-
private draggable;
|
|
32
|
-
private get isStatic();
|
|
33
|
-
private get isDraggable();
|
|
34
|
-
private get isHorizontal();
|
|
35
|
-
constructor(props: SplitterBarProps);
|
|
36
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
private onDrag;
|
|
38
|
-
private onFocus;
|
|
39
|
-
private onBlur;
|
|
40
|
-
private onToggle;
|
|
41
|
-
private onPrevToggle;
|
|
42
|
-
private onNextToggle;
|
|
43
|
-
private onKeyDown;
|
|
44
|
-
}
|
|
@@ -1,57 +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 { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the pane options of the Splitter.
|
|
9
|
-
*/
|
|
10
|
-
export interface SplitterPaneProps extends KendoReactComponentBaseProps {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)). Has to be between the `min` and `max` properties.
|
|
13
|
-
*/
|
|
14
|
-
size?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the minimum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
|
|
17
|
-
*/
|
|
18
|
-
min?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the maximum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
|
|
21
|
-
*/
|
|
22
|
-
max?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 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.
|
|
25
|
-
*/
|
|
26
|
-
resizable?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies if the user is allowed to hide the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-collapsing)).
|
|
29
|
-
*/
|
|
30
|
-
collapsible?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the pane collapsed state ([see example]({% slug panes_splitter %}#toc-collapsing)).
|
|
33
|
-
*/
|
|
34
|
-
collapsed?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* 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.
|
|
37
|
-
*/
|
|
38
|
-
scrollable?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies if the children of the pane should be mounted when it's in collapsed state.
|
|
41
|
-
*/
|
|
42
|
-
keepMounted?: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
export interface SplitterPaneExtendedProps extends SplitterPaneProps {
|
|
48
|
-
orientation: 'vertical' | 'horizontal';
|
|
49
|
-
overlay: boolean;
|
|
50
|
-
containsSplitter: boolean;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
export declare class SplitterPane extends React.Component<SplitterPaneExtendedProps, {}> {
|
|
56
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
}
|
|
@@ -1,14 +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 splitBarLabel = "splitBarLabel";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const messages: {
|
|
13
|
-
splitBarLabel: string;
|
|
14
|
-
};
|