@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
package/tabstrip/TabStrip.d.ts
DELETED
|
@@ -1,158 +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
|
-
import { ButtonProps } from '@progress/kendo-react-buttons';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export interface TabStripScrollableProps {
|
|
13
|
-
/**
|
|
14
|
-
* Determines whether the TabStrip will be scrollable.
|
|
15
|
-
*
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
scrollable?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the tab list scroll speed in pixels when scrolling via clicking the previous or next button.
|
|
21
|
-
*
|
|
22
|
-
* @default 100
|
|
23
|
-
*/
|
|
24
|
-
buttonScrollSpeed?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the tab list scroll speed in pixels when scrolling via the mouse wheel. You can disable the mouse wheel scrolling by setting this prop to `0`.
|
|
27
|
-
*
|
|
28
|
-
* @default 10
|
|
29
|
-
*/
|
|
30
|
-
mouseScrollSpeed?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Defines the custom component that will be rendered as a previous button.
|
|
33
|
-
* To remove the button, set a function which returns null `() => null`.
|
|
34
|
-
*/
|
|
35
|
-
prevButton?: React.ComponentType<ButtonProps>;
|
|
36
|
-
/**
|
|
37
|
-
* Defines the custom component that will be rendered as a next button.
|
|
38
|
-
* To remove the button, set a function which returns null `() => null`.
|
|
39
|
-
*/
|
|
40
|
-
nextButton?: React.ComponentType<ButtonProps>;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* The arguments that are passed to the `onSelect` callback function of the TabStrip.
|
|
44
|
-
*/
|
|
45
|
-
export interface TabStripSelectEventArguments {
|
|
46
|
-
/**
|
|
47
|
-
* The index of the selected TabStrip tab.
|
|
48
|
-
*/
|
|
49
|
-
selected: number;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Represents the props of the [KendoReact TabStrip component]({% slug overview_tabstrip %}).
|
|
53
|
-
*/
|
|
54
|
-
export interface TabStripProps extends KendoReactComponentBaseProps, TabStripScrollableProps {
|
|
55
|
-
/**
|
|
56
|
-
* Enables the tab animation.
|
|
57
|
-
*/
|
|
58
|
-
animation?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the index of the selected TabStripTab component ([see example]({% slug tabs_tabstrip %}#toc-tabs-on-initial-loading)).
|
|
61
|
-
*/
|
|
62
|
-
selected?: number;
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
style?: any;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the style of the TabStripContent component.
|
|
69
|
-
*/
|
|
70
|
-
tabContentStyle?: any;
|
|
71
|
-
/**
|
|
72
|
-
* The position in which the TabStripNavigation components will be rendered.
|
|
73
|
-
*
|
|
74
|
-
* The available options are:
|
|
75
|
-
* - `"top"`—Renders the `TabStripNavigation` components to the top of the TabStrip.
|
|
76
|
-
* - `"bottom"`—Renders the `TabStripNavigation` components to the bottom of the TabStrip.
|
|
77
|
-
* - `"left"`—Renders the `TabStripNavigation` components to the left of the TabStrip.
|
|
78
|
-
* - `"right"`—Renders the `TabStripNavigation` components to the right of the TabStrip.
|
|
79
|
-
*/
|
|
80
|
-
tabPosition?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Sets the `tabIndex` of the TabStripNavigation.
|
|
83
|
-
*/
|
|
84
|
-
tabIndex?: number;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the direction of the TabStrip component.
|
|
87
|
-
*/
|
|
88
|
-
dir?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Specifies the CSS class names of the TabStrip component.
|
|
91
|
-
*/
|
|
92
|
-
className?: string;
|
|
93
|
-
/**
|
|
94
|
-
* Defines if the tabs will remain mounted after another tab is selected. Defaults to `false`.
|
|
95
|
-
*/
|
|
96
|
-
keepTabsMounted?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Fires each time the user makes a selection.
|
|
99
|
-
*/
|
|
100
|
-
onSelect?: (e: TabStripSelectEventArguments) => void;
|
|
101
|
-
}
|
|
102
|
-
export declare class TabStrip extends React.Component<TabStripProps, {}> {
|
|
103
|
-
/**
|
|
104
|
-
* @hidden
|
|
105
|
-
*/
|
|
106
|
-
static propTypes: {
|
|
107
|
-
animation: PropTypes.Requireable<boolean>;
|
|
108
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
109
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
110
|
-
selected: PropTypes.Requireable<number>;
|
|
111
|
-
style: PropTypes.Requireable<object>;
|
|
112
|
-
tabContentStyle: PropTypes.Requireable<object>;
|
|
113
|
-
tabPosition: PropTypes.Requireable<string>;
|
|
114
|
-
tabIndex: PropTypes.Requireable<number>;
|
|
115
|
-
className: PropTypes.Requireable<string>;
|
|
116
|
-
dir: PropTypes.Requireable<string>;
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* @hidden
|
|
120
|
-
*/
|
|
121
|
-
static defaultProps: {
|
|
122
|
-
animation: boolean;
|
|
123
|
-
tabPosition: string;
|
|
124
|
-
keepTabsMounted: boolean;
|
|
125
|
-
buttonScrollSpeed: number;
|
|
126
|
-
mouseScrollSpeed: number;
|
|
127
|
-
};
|
|
128
|
-
private _element;
|
|
129
|
-
private get contentPanelId();
|
|
130
|
-
private get navItemId();
|
|
131
|
-
private showLicenseWatermark;
|
|
132
|
-
private keyBinding;
|
|
133
|
-
constructor(props: TabStripProps);
|
|
134
|
-
/**
|
|
135
|
-
* @hidden
|
|
136
|
-
*/
|
|
137
|
-
onSelect: (index: any) => void;
|
|
138
|
-
/**
|
|
139
|
-
* @hidden
|
|
140
|
-
*/
|
|
141
|
-
onKeyDown: (event: any) => void;
|
|
142
|
-
/**
|
|
143
|
-
* @hidden
|
|
144
|
-
*/
|
|
145
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
146
|
-
private renderContent;
|
|
147
|
-
private invertKeys;
|
|
148
|
-
private firstNavigatableTab;
|
|
149
|
-
private lastNavigatableTab;
|
|
150
|
-
private prevNavigatableTab;
|
|
151
|
-
private nextNavigatableTab;
|
|
152
|
-
private children;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Represent the `ref` of the TabStrip component.
|
|
156
|
-
*/
|
|
157
|
-
export interface TabStripHandle extends Pick<TabStrip, keyof TabStrip> {
|
|
158
|
-
}
|
|
@@ -1,62 +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 props that are passed to the TabStripContent by the TabStrip.
|
|
9
|
-
*/
|
|
10
|
-
export interface TabStripContentProps {
|
|
11
|
-
/**
|
|
12
|
-
* Defines whether the content appearance will be animated.
|
|
13
|
-
*/
|
|
14
|
-
animation?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* The index of the selected tab. Used to indicate which child to render.
|
|
17
|
-
*/
|
|
18
|
-
selected?: number;
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
style?: any;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
index?: number;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
keepTabsMounted?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
children?: React.ReactNode;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
contentPanelId?: string;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
navItemId?: string;
|
|
43
|
-
}
|
|
44
|
-
export declare class TabStripContent extends React.Component<TabStripContentProps, {}> {
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
static propTypes: {
|
|
49
|
-
animation: PropTypes.Requireable<boolean>;
|
|
50
|
-
children: PropTypes.Requireable<NonNullable<PropTypes.ReactElementLike | (PropTypes.ReactElementLike | null | undefined)[] | null | undefined>>;
|
|
51
|
-
selected: PropTypes.Requireable<number>;
|
|
52
|
-
style: PropTypes.Requireable<object>;
|
|
53
|
-
};
|
|
54
|
-
private contentId;
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
private renderContent;
|
|
60
|
-
private renderChild;
|
|
61
|
-
private childFactory;
|
|
62
|
-
}
|
|
@@ -1,110 +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 { ButtonProps } from '@progress/kendo-react-buttons';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface TabStripNavigationStateProps {
|
|
12
|
-
disabledPrev: boolean;
|
|
13
|
-
disabledNext: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* The props that are passed to the TabStripNavigation by the TabStrip.
|
|
17
|
-
*/
|
|
18
|
-
export interface TabStripNavigationProps {
|
|
19
|
-
/**
|
|
20
|
-
* Sets the index of the selected tab. Controlled by the TabStrip component.
|
|
21
|
-
*/
|
|
22
|
-
selected?: number;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
tabIndex?: number;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
onKeyDown?: any;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
tabPosition?: string;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
children?: any;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
onSelect?(idx: number): void;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
scrollable?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
buttonScrollSpeed?: number;
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
*/
|
|
54
|
-
mouseScrollSpeed?: number;
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
|
-
prevButton?: React.ComponentType<ButtonProps>;
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*/
|
|
62
|
-
nextButton?: React.ComponentType<ButtonProps>;
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
dir?: 'ltr' | 'rtl';
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
*/
|
|
70
|
-
contentPanelId?: string;
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*/
|
|
74
|
-
navItemId?: string;
|
|
75
|
-
}
|
|
76
|
-
export declare class TabStripNavigation extends React.Component<TabStripNavigationProps, TabStripNavigationStateProps, {}> {
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
*/
|
|
80
|
-
static propTypes: {
|
|
81
|
-
children: PropTypes.Requireable<NonNullable<PropTypes.ReactElementLike | (PropTypes.ReactElementLike | null | undefined)[] | null | undefined>>;
|
|
82
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
83
|
-
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
84
|
-
selected: PropTypes.Requireable<number>;
|
|
85
|
-
tabIndex: PropTypes.Requireable<number>;
|
|
86
|
-
};
|
|
87
|
-
private itemsNavRef;
|
|
88
|
-
constructor(props: TabStripNavigationProps);
|
|
89
|
-
/**
|
|
90
|
-
* @hidden
|
|
91
|
-
*/
|
|
92
|
-
componentDidMount(): void;
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
componentDidUpdate(prevProps: Readonly<TabStripNavigationProps>): void;
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
101
|
-
private scrollToSelected;
|
|
102
|
-
private horizontalScroll;
|
|
103
|
-
private isRtl;
|
|
104
|
-
private onWheel;
|
|
105
|
-
private arrowClickPrev;
|
|
106
|
-
private arrowClickNext;
|
|
107
|
-
private handleArrowClick;
|
|
108
|
-
private setNewScrollPosition;
|
|
109
|
-
private renderArrow;
|
|
110
|
-
}
|
|
@@ -1,75 +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 props that are passed by the TabStripNavigation to the TabStripNavigationItem.
|
|
9
|
-
*/
|
|
10
|
-
export interface TabStripNavigationItemProps {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the `id` property of the top element of the TabStripNavigationItem.
|
|
13
|
-
*/
|
|
14
|
-
id?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Defines whether the current TabStripNavigationItem is selected.
|
|
17
|
-
*/
|
|
18
|
-
active?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Defines whether the TabStripNavigationItem is disabled.
|
|
21
|
-
*/
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the index of the TabStripNavigationItem that is used to identify it.
|
|
25
|
-
*/
|
|
26
|
-
index: number;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the title of the TabStripNavigationItem.
|
|
29
|
-
*/
|
|
30
|
-
title?: React.ReactNode;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
first?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
last?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
onSelect?(idx: number): void;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
contentPanelId?: string;
|
|
47
|
-
}
|
|
48
|
-
export declare class TabStripNavigationItem extends React.Component<TabStripNavigationItemProps, {}> {
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
static propTypes: {
|
|
53
|
-
active: PropTypes.Requireable<boolean>;
|
|
54
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
55
|
-
index: PropTypes.Requireable<number>;
|
|
56
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
57
|
-
title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
|
|
58
|
-
first: PropTypes.Requireable<boolean>;
|
|
59
|
-
last: PropTypes.Requireable<boolean>;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* @hidden
|
|
63
|
-
*/
|
|
64
|
-
private itemRef;
|
|
65
|
-
/**
|
|
66
|
-
* @hidden
|
|
67
|
-
*/
|
|
68
|
-
focus: () => void;
|
|
69
|
-
blur: () => void;
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
74
|
-
private onClick;
|
|
75
|
-
}
|
|
@@ -1,42 +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
|
-
* Represents the props of the TabStrip tabs.
|
|
9
|
-
*/
|
|
10
|
-
export interface TabStripTabProps {
|
|
11
|
-
/**
|
|
12
|
-
* Defines whether a tab is disabled ([see example]({% slug tabs_tabstrip %}#toc-disabled-state)).
|
|
13
|
-
*/
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the title of the tab ([see example]({% slug tabs_tabstrip %}#toc-titles)).
|
|
21
|
-
*/
|
|
22
|
-
title?: React.ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* Specifies the CSS class names of the TabStripTab content.
|
|
25
|
-
*/
|
|
26
|
-
contentClassName?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare class TabStripTab extends React.Component<TabStripTabProps, {}> {
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
static propTypes: {
|
|
33
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
34
|
-
contentClassName: PropTypes.Requireable<string>;
|
|
35
|
-
children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
36
|
-
title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
render(): null;
|
|
42
|
-
}
|
|
@@ -1,94 +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 { TileStrictPosition, TileLayoutItem } from './interfaces';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface InternalTileProps extends TileLayoutItem {
|
|
12
|
-
update: (index: number, dRow: number, dCol: number, row: number, col: number) => void;
|
|
13
|
-
index: number;
|
|
14
|
-
defaultPosition: TileStrictPosition;
|
|
15
|
-
ignoreDrag?: (event: any) => boolean;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare class InternalTile extends React.Component<InternalTileProps, {
|
|
22
|
-
rtl: boolean;
|
|
23
|
-
}> {
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
static propTypes: {
|
|
28
|
-
defaultPosition: PropTypes.Validator<object>;
|
|
29
|
-
style: PropTypes.Requireable<object>;
|
|
30
|
-
className: PropTypes.Requireable<string>;
|
|
31
|
-
hintStyle: PropTypes.Requireable<object>;
|
|
32
|
-
hintClassName: PropTypes.Requireable<string>;
|
|
33
|
-
header: PropTypes.Requireable<any>;
|
|
34
|
-
body: PropTypes.Requireable<any>;
|
|
35
|
-
item: PropTypes.Requireable<any>;
|
|
36
|
-
resizable: PropTypes.Requireable<string | boolean>;
|
|
37
|
-
reorderable: PropTypes.Requireable<boolean>;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
static displayName: string;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
static defaultProps: {
|
|
47
|
-
resizable: boolean;
|
|
48
|
-
reorderable: boolean;
|
|
49
|
-
};
|
|
50
|
-
protected get reorderable(): boolean;
|
|
51
|
-
state: {
|
|
52
|
-
rtl: boolean;
|
|
53
|
-
};
|
|
54
|
-
oldSize: {};
|
|
55
|
-
draggable: {
|
|
56
|
-
element: HTMLElement | null;
|
|
57
|
-
} | null;
|
|
58
|
-
dragging: boolean;
|
|
59
|
-
resizing: boolean;
|
|
60
|
-
element: HTMLElement | null;
|
|
61
|
-
hintElement: HTMLElement | null;
|
|
62
|
-
get dragElement(): HTMLElement | null | undefined;
|
|
63
|
-
ignoreDrag: boolean;
|
|
64
|
-
pressOffset: {
|
|
65
|
-
x: number;
|
|
66
|
-
y: number;
|
|
67
|
-
};
|
|
68
|
-
pressXY: {
|
|
69
|
-
x: number;
|
|
70
|
-
y: number;
|
|
71
|
-
};
|
|
72
|
-
currentTranslate: {
|
|
73
|
-
x: number;
|
|
74
|
-
y: number;
|
|
75
|
-
};
|
|
76
|
-
preventDataOps: any;
|
|
77
|
-
handleResize: (e: any, q: {
|
|
78
|
-
end: boolean;
|
|
79
|
-
direction: any;
|
|
80
|
-
}) => void;
|
|
81
|
-
handlePress: (e: any) => void;
|
|
82
|
-
handleDrag: (e: any) => void;
|
|
83
|
-
handleRelease: () => void;
|
|
84
|
-
componentDidMount(): void;
|
|
85
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
getSnapshotBeforeUpdate(_: any): null;
|
|
90
|
-
/**
|
|
91
|
-
* @hidden
|
|
92
|
-
*/
|
|
93
|
-
componentDidUpdate(prevProps: any): void;
|
|
94
|
-
}
|
|
@@ -1,24 +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
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface ResizeHandlersProps {
|
|
10
|
-
resizable: string | boolean;
|
|
11
|
-
onResize: (e: any, args: {
|
|
12
|
-
end: boolean;
|
|
13
|
-
direction: any;
|
|
14
|
-
}) => void;
|
|
15
|
-
onPress: (e: any) => void;
|
|
16
|
-
rtl: boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare class ResizeHandlers extends React.Component<ResizeHandlersProps, {}> {
|
|
22
|
-
handleResize: (event: any, isEnd: boolean, direction: any) => void;
|
|
23
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
-
}
|