@progress/kendo-react-layout 5.4.0-dev.202205250548 → 5.4.0-dev.202205271059
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/dist/cdn/js/kendo-react-layout.js +1 -1
- package/dist/es/appbar/interfaces/AppBarProps.js +1 -0
- package/dist/es/appbar/interfaces/AppBarSectionProps.js +1 -0
- package/dist/es/appbar/interfaces/AppBarSpacerProps.js +1 -0
- package/dist/es/bottomnavigation/BottomNavigationItemProps.js +1 -0
- package/dist/es/bottomnavigation/BottomNavigationProps.js +1 -0
- package/dist/es/bottomnavigation/models/events.js +1 -0
- package/dist/es/bottomnavigation/models/utils.d.ts +16 -16
- package/dist/es/card/Card.js +5 -4
- package/dist/es/card/interfaces/AvatarProps.js +1 -0
- package/dist/es/card/interfaces/CardActionsProps.js +1 -0
- package/dist/es/card/interfaces/CardBodyProps.js +1 -0
- package/dist/es/card/interfaces/CardFooterProps.js +1 -0
- package/dist/es/card/interfaces/CardHandle.js +1 -0
- package/dist/es/card/interfaces/CardHeaderProps.js +1 -0
- package/dist/es/card/interfaces/CardImageProps.js +1 -0
- package/dist/es/card/interfaces/CardProps.js +1 -0
- package/dist/es/card/interfaces/CardSubtitleProps.js +1 -0
- package/dist/es/card/interfaces/CardTitleProps.js +1 -0
- package/dist/es/drawer/DrawerItem.js +4 -2
- package/dist/es/drawer/DrawerNavigation.js +2 -2
- package/dist/es/drawer/interfaces/DrawerAnimation.js +1 -0
- package/dist/es/drawer/interfaces/DrawerContentProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerItemHandle.js +1 -0
- package/dist/es/drawer/interfaces/DrawerItemProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerNavigationProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerSelectEvent.js +1 -0
- package/dist/es/expansionpanel/index.js +1 -0
- package/dist/es/expansionpanel/interfaces.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutColumnProps.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutItemProps.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutProps.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutRowProps.js +1 -0
- package/dist/es/main.js +37 -0
- package/dist/es/menu/BaseMenuItemInternalProps.js +1 -0
- package/dist/es/menu/MenuProps.js +1 -0
- package/dist/es/menu/components/Menu.js +3 -1
- package/dist/es/menu/components/MenuItem.js +3 -1
- package/dist/es/menu/components/MenuItemArrow.js +3 -1
- package/dist/es/menu/components/MenuItemInternal.d.ts +4 -4
- package/dist/es/menu/components/MenuItemInternal.js +7 -5
- package/dist/es/menu/components/MenuItemInternalsList.js +3 -1
- package/dist/es/menu/components/MenuItemLink.js +3 -1
- package/dist/es/menu/events.js +1 -0
- package/dist/es/menu/models/BaseMenuItem.js +1 -0
- package/dist/es/menu/models/MenuItemModel.js +1 -0
- package/dist/es/menu/utils/MouseOverHandler.d.ts +2 -2
- package/dist/es/menu/utils/MouseOverHandler.js +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/panelbar/PanelBar.d.ts +4 -4
- package/dist/es/panelbar/PanelBar.js +15 -8
- package/dist/es/panelbar/PanelBarItem.js +5 -3
- package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.js +1 -0
- package/dist/es/panelbar/interfaces/PanelBarItemProps.js +1 -0
- package/dist/es/panelbar/interfaces/PanelBarProps.js +1 -0
- package/dist/es/panelbar/interfaces/PanelBarSelectEventArguments.js +1 -0
- package/dist/es/panelbar/interfaces/RenderPanelBarItem.js +1 -0
- package/dist/es/panelbar/util.js +8 -3
- package/dist/es/splitter/Splitter.d.ts +5 -5
- package/dist/es/splitter/Splitter.js +16 -14
- package/dist/es/splitter/SplitterBar.d.ts +3 -3
- package/dist/es/splitter/SplitterBar.js +7 -5
- package/dist/es/splitter/SplitterPane.js +3 -1
- package/dist/es/stacklayout/StackLayoutProps.js +1 -0
- package/dist/es/stepper/Step.js +4 -2
- package/dist/es/stepper/interfaces/StepChangeEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepFocusEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepHandle.js +1 -0
- package/dist/es/stepper/interfaces/StepProps.js +1 -0
- package/dist/es/stepper/interfaces/StepperChangeEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepperFocusEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepperHandle.js +1 -0
- package/dist/es/stepper/interfaces/StepperProps.js +1 -0
- package/dist/es/stepper/messages/index.d.ts +1 -1
- package/dist/es/tabstrip/TabStrip.js +4 -2
- package/dist/es/tabstrip/TabStripContent.js +4 -2
- package/dist/es/tabstrip/TabStripNavigation.js +3 -1
- package/dist/es/tabstrip/TabStripNavigationItem.js +3 -1
- package/dist/es/tabstrip/TabStripTab.d.ts +4 -0
- package/dist/es/tabstrip/TabStripTab.js +9 -1
- package/dist/es/tilelayout/InternalTile.d.ts +2 -2
- package/dist/es/tilelayout/InternalTile.js +5 -3
- package/dist/es/tilelayout/ResizeHandlers.js +3 -1
- package/dist/es/tilelayout/TileLayout.d.ts +1 -1
- package/dist/es/tilelayout/TileLayout.js +4 -2
- package/dist/es/tilelayout/interfaces/main.js +1 -0
- package/dist/npm/appbar/AppBar.js +1 -0
- package/dist/npm/appbar/AppBarSection.js +1 -0
- package/dist/npm/appbar/AppBarSpacer.js +1 -0
- package/dist/npm/bottomnavigation/BottomNavigation.js +1 -0
- package/dist/npm/bottomnavigation/BottomNavigationItem.js +1 -0
- package/dist/npm/bottomnavigation/models/utils.d.ts +16 -16
- package/dist/npm/bottomnavigation/models/utils.js +1 -0
- package/dist/npm/breadcrumb/Breadcrumb.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbDelimiter.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbLink.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbListItem.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbOrderedList.js +1 -0
- package/dist/npm/card/Avatar.js +3 -1
- package/dist/npm/card/Card.js +6 -4
- package/dist/npm/card/CardActions.js +3 -1
- package/dist/npm/card/CardBody.js +3 -1
- package/dist/npm/card/CardFooter.js +3 -1
- package/dist/npm/card/CardHeader.js +3 -1
- package/dist/npm/card/CardImage.js +3 -1
- package/dist/npm/card/CardSubtitle.js +3 -1
- package/dist/npm/card/CardTitle.js +3 -1
- package/dist/npm/card/interfaces/Enums.js +1 -0
- package/dist/npm/drawer/Drawer.js +1 -0
- package/dist/npm/drawer/DrawerContent.js +1 -0
- package/dist/npm/drawer/DrawerItem.js +5 -2
- package/dist/npm/drawer/DrawerNavigation.js +3 -2
- package/dist/npm/drawer/context/DrawerContext.js +1 -0
- package/dist/npm/expansionpanel/ExpansionPanel.js +1 -0
- package/dist/npm/expansionpanel/ExpansionPanelContent.js +1 -0
- package/dist/npm/expansionpanel/index.js +13 -5
- package/dist/npm/gridlayout/GridLayout.js +1 -0
- package/dist/npm/gridlayout/GridLayoutItem.js +1 -0
- package/dist/npm/main.js +91 -47
- package/dist/npm/menu/components/Menu.js +4 -1
- package/dist/npm/menu/components/MenuItem.js +4 -1
- package/dist/npm/menu/components/MenuItemArrow.js +4 -1
- package/dist/npm/menu/components/MenuItemInternal.d.ts +4 -4
- package/dist/npm/menu/components/MenuItemInternal.js +8 -5
- package/dist/npm/menu/components/MenuItemInternalsList.js +4 -1
- package/dist/npm/menu/components/MenuItemLink.js +4 -1
- package/dist/npm/menu/consts.js +1 -0
- package/dist/npm/menu/utils/DirectionHolder.js +1 -0
- package/dist/npm/menu/utils/MouseOverHandler.d.ts +2 -2
- package/dist/npm/menu/utils/MouseOverHandler.js +3 -2
- package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -0
- package/dist/npm/menu/utils/hoverDelay.js +1 -0
- package/dist/npm/menu/utils/itemsIdsUtils.js +1 -0
- package/dist/npm/menu/utils/misc.js +1 -0
- package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +1 -0
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/panelbar/PanelBar.d.ts +4 -4
- package/dist/npm/panelbar/PanelBar.js +16 -8
- package/dist/npm/panelbar/PanelBarItem.js +6 -3
- package/dist/npm/panelbar/interfaces/NavigationAction.js +1 -0
- package/dist/npm/panelbar/util.js +19 -8
- package/dist/npm/splitter/Splitter.d.ts +5 -5
- package/dist/npm/splitter/Splitter.js +17 -14
- package/dist/npm/splitter/SplitterBar.d.ts +3 -3
- package/dist/npm/splitter/SplitterBar.js +8 -5
- package/dist/npm/splitter/SplitterPane.js +4 -1
- package/dist/npm/stacklayout/StackLayout.js +1 -0
- package/dist/npm/stepper/Step.js +5 -2
- package/dist/npm/stepper/Stepper.js +1 -0
- package/dist/npm/stepper/contants.js +1 -0
- package/dist/npm/stepper/context/StepperContext.js +1 -0
- package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.js +1 -0
- package/dist/npm/stepper/messages/index.d.ts +1 -1
- package/dist/npm/stepper/messages/index.js +2 -1
- package/dist/npm/tabstrip/TabStrip.js +5 -2
- package/dist/npm/tabstrip/TabStripContent.js +5 -2
- package/dist/npm/tabstrip/TabStripNavigation.js +4 -1
- package/dist/npm/tabstrip/TabStripNavigationItem.js +4 -1
- package/dist/npm/tabstrip/TabStripTab.d.ts +4 -0
- package/dist/npm/tabstrip/TabStripTab.js +10 -1
- package/dist/npm/tilelayout/InternalTile.d.ts +2 -2
- package/dist/npm/tilelayout/InternalTile.js +6 -3
- package/dist/npm/tilelayout/ResizeHandlers.js +4 -1
- package/dist/npm/tilelayout/TileLayout.d.ts +1 -1
- package/dist/npm/tilelayout/TileLayout.js +5 -2
- package/dist/systemjs/kendo-react-layout.js +1 -1
- package/package.json +13 -13
package/dist/es/panelbar/util.js
CHANGED
|
@@ -9,6 +9,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
13
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
14
|
+
to[j] = from[i];
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
12
17
|
import * as React from 'react';
|
|
13
18
|
import { PanelBarItem } from './PanelBarItem';
|
|
14
19
|
/**
|
|
@@ -30,11 +35,11 @@ export var renderChildren = function (_a) {
|
|
|
30
35
|
children: child.props.children,
|
|
31
36
|
parentExpanded: (expanded || []).indexOf(privateKey) > -1,
|
|
32
37
|
level: level + 1,
|
|
33
|
-
parentPrivateKey:
|
|
38
|
+
parentPrivateKey: __spreadArray(__spreadArray([], parentPrivateKey), [privateKey])
|
|
34
39
|
};
|
|
35
40
|
nestedChildren = renderChildren(renderState);
|
|
36
41
|
}
|
|
37
|
-
return React.cloneElement(child, __assign({}, child.props, { animation: child.props.animation !== undefined ? child.props.animation : animation, keepItemsMounted: keepItemsMounted, id: child.props.id || "k-panelbar-item-default-" + privateKey, uniquePrivateKey: privateKey, parentUniquePrivateKey: parentPrivateKey, parentExpanded: parentExpanded, level: level, expanded: (expanded || []).indexOf(privateKey) > -1, focused: state.focused === privateKey && state.wrapperFocused, selected: state.selected === privateKey, children: nestedChildren, onSelect: handleSelect }));
|
|
42
|
+
return React.cloneElement(child, __assign(__assign({}, child.props), { animation: child.props.animation !== undefined ? child.props.animation : animation, keepItemsMounted: keepItemsMounted, id: child.props.id || "k-panelbar-item-default-" + privateKey, uniquePrivateKey: privateKey, parentUniquePrivateKey: parentPrivateKey, parentExpanded: parentExpanded, level: level, expanded: (expanded || []).indexOf(privateKey) > -1, focused: state.focused === privateKey && state.wrapperFocused, selected: state.selected === privateKey, children: nestedChildren, onSelect: handleSelect }));
|
|
38
43
|
}
|
|
39
44
|
else {
|
|
40
45
|
return React.createElement("div", { className: "k-panelbar-content k-content" }, child);
|
|
@@ -82,7 +87,7 @@ export var getInitialState = function (props, expandMode, result, parentExpanded
|
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
89
|
if (child.props.children) {
|
|
85
|
-
result = getInitialState(child.props, expandMode, result, !!child.props.expanded,
|
|
90
|
+
result = getInitialState(child.props, expandMode, result, !!child.props.expanded, __spreadArray(__spreadArray([], parentPrivateKey), [privateKey]));
|
|
86
91
|
}
|
|
87
92
|
}
|
|
88
93
|
}
|
|
@@ -98,12 +98,12 @@ export declare class Splitter extends React.Component<SplitterProps, SplitterSta
|
|
|
98
98
|
*/
|
|
99
99
|
readonly state: SplitterState;
|
|
100
100
|
private panesDuringOnChange?;
|
|
101
|
-
private
|
|
102
|
-
private
|
|
101
|
+
private get isControlledState();
|
|
102
|
+
private get panes();
|
|
103
103
|
private _container;
|
|
104
|
-
private
|
|
105
|
-
private
|
|
106
|
-
private
|
|
104
|
+
private get orientation();
|
|
105
|
+
private get isRtl();
|
|
106
|
+
private get panesContent();
|
|
107
107
|
/**
|
|
108
108
|
* @hidden
|
|
109
109
|
*/
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -102,9 +106,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
102
106
|
if (isDragging && dragIndex !== undefined) {
|
|
103
107
|
overlay = dragIndex === index || dragIndex + 1 === index;
|
|
104
108
|
}
|
|
105
|
-
paneOptions.push(__assign({}, PANE_DEFAULTS, { orientation: orientation,
|
|
106
|
-
containsSplitter: containsSplitter,
|
|
107
|
-
overlay: overlay }, (panes || [])[index]));
|
|
109
|
+
paneOptions.push(__assign(__assign(__assign({}, PANE_DEFAULTS), { orientation: orientation, containsSplitter: containsSplitter, overlay: overlay }), (panes || [])[index]));
|
|
108
110
|
}
|
|
109
111
|
return paneOptions;
|
|
110
112
|
};
|
|
@@ -126,7 +128,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
126
128
|
var updatedState = panesOptions.map(function (pane, idx) {
|
|
127
129
|
var paneProps = _this.getPaneProps(pane);
|
|
128
130
|
if (idx === index) {
|
|
129
|
-
return __assign({}, paneProps, { collapsed: !pane.collapsed });
|
|
131
|
+
return __assign(__assign({}, paneProps), { collapsed: !pane.collapsed });
|
|
130
132
|
}
|
|
131
133
|
else {
|
|
132
134
|
return __assign({}, paneProps);
|
|
@@ -224,7 +226,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
224
226
|
get: function () {
|
|
225
227
|
return this.props.panes !== undefined;
|
|
226
228
|
},
|
|
227
|
-
enumerable:
|
|
229
|
+
enumerable: false,
|
|
228
230
|
configurable: true
|
|
229
231
|
});
|
|
230
232
|
Object.defineProperty(Splitter.prototype, "panes", {
|
|
@@ -233,28 +235,28 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
233
235
|
this.panesDuringOnChange :
|
|
234
236
|
(this.isControlledState ? this.props.panes : this.state.panes);
|
|
235
237
|
},
|
|
236
|
-
enumerable:
|
|
238
|
+
enumerable: false,
|
|
237
239
|
configurable: true
|
|
238
240
|
});
|
|
239
241
|
Object.defineProperty(Splitter.prototype, "orientation", {
|
|
240
242
|
get: function () {
|
|
241
243
|
return this.props.orientation || 'horizontal';
|
|
242
244
|
},
|
|
243
|
-
enumerable:
|
|
245
|
+
enumerable: false,
|
|
244
246
|
configurable: true
|
|
245
247
|
});
|
|
246
248
|
Object.defineProperty(Splitter.prototype, "isRtl", {
|
|
247
249
|
get: function () {
|
|
248
250
|
return this._container && (getComputedStyle(this._container).direction === 'rtl') || false;
|
|
249
251
|
},
|
|
250
|
-
enumerable:
|
|
252
|
+
enumerable: false,
|
|
251
253
|
configurable: true
|
|
252
254
|
});
|
|
253
255
|
Object.defineProperty(Splitter.prototype, "panesContent", {
|
|
254
256
|
get: function () {
|
|
255
257
|
return React.Children.toArray(this.props.children).filter(function (c) { return c; });
|
|
256
258
|
},
|
|
257
|
-
enumerable:
|
|
259
|
+
enumerable: false,
|
|
258
260
|
configurable: true
|
|
259
261
|
});
|
|
260
262
|
/**
|
|
@@ -340,10 +342,10 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
340
342
|
var updatedState = panesOptions.map(function (pane, idx) {
|
|
341
343
|
var paneProps = _this.getPaneProps(pane);
|
|
342
344
|
if (idx === prevIndex) {
|
|
343
|
-
return __assign({}, paneProps, { size: prevSize });
|
|
345
|
+
return __assign(__assign({}, paneProps), { size: prevSize });
|
|
344
346
|
}
|
|
345
347
|
else if (idx === nextIndex) {
|
|
346
|
-
return __assign({}, paneProps, { size: nextSize });
|
|
348
|
+
return __assign(__assign({}, paneProps), { size: nextSize });
|
|
347
349
|
}
|
|
348
350
|
else {
|
|
349
351
|
return __assign({}, paneProps);
|
|
@@ -23,9 +23,9 @@ export interface SplitterBarState {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare class SplitterBar extends React.Component<SplitterBarProps, SplitterBarState> {
|
|
25
25
|
private draggable;
|
|
26
|
-
private
|
|
27
|
-
private
|
|
28
|
-
private
|
|
26
|
+
private get isStatic();
|
|
27
|
+
private get isDraggable();
|
|
28
|
+
private get isHorizontal();
|
|
29
29
|
constructor(props: SplitterBarProps);
|
|
30
30
|
render(): JSX.Element;
|
|
31
31
|
private onDrag;
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -130,7 +132,7 @@ var SplitterBar = /** @class */ (function (_super) {
|
|
|
130
132
|
var nearCollapsiblePane = prev.collapsible || next.collapsible;
|
|
131
133
|
return !betweenResizablePanes && !nearCollapsiblePane;
|
|
132
134
|
},
|
|
133
|
-
enumerable:
|
|
135
|
+
enumerable: false,
|
|
134
136
|
configurable: true
|
|
135
137
|
});
|
|
136
138
|
Object.defineProperty(SplitterBar.prototype, "isDraggable", {
|
|
@@ -140,19 +142,19 @@ var SplitterBar = /** @class */ (function (_super) {
|
|
|
140
142
|
var nearCollapsedPane = prev.collapsed || next.collapsed;
|
|
141
143
|
return !!betweenResizablePanes && !nearCollapsedPane;
|
|
142
144
|
},
|
|
143
|
-
enumerable:
|
|
145
|
+
enumerable: false,
|
|
144
146
|
configurable: true
|
|
145
147
|
});
|
|
146
148
|
Object.defineProperty(SplitterBar.prototype, "isHorizontal", {
|
|
147
149
|
get: function () {
|
|
148
150
|
return this.props.orientation === 'horizontal';
|
|
149
151
|
},
|
|
150
|
-
enumerable:
|
|
152
|
+
enumerable: false,
|
|
151
153
|
configurable: true
|
|
152
154
|
});
|
|
153
155
|
SplitterBar.prototype.render = function () {
|
|
154
|
-
var _this = this;
|
|
155
156
|
var _a;
|
|
157
|
+
var _this = this;
|
|
156
158
|
var isDraggable = this.isDraggable;
|
|
157
159
|
var isStatic = this.isStatic;
|
|
158
160
|
var isHorizontal = this.isHorizontal;
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/stepper/Step.js
CHANGED
|
@@ -14,8 +14,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
14
14
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
15
|
t[p] = s[p];
|
|
16
16
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
18
|
-
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
19
21
|
return t;
|
|
20
22
|
};
|
|
21
23
|
import * as React from 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -162,7 +164,7 @@ var TabStrip = /** @class */ (function (_super) {
|
|
|
162
164
|
*/
|
|
163
165
|
TabStrip.prototype.render = function () {
|
|
164
166
|
var _this = this;
|
|
165
|
-
var tabProps = __assign({}, this.props, { children: this.children(), onKeyDown: this.onKeyDown, onSelect: this.onSelect });
|
|
167
|
+
var tabProps = __assign(__assign({}, this.props), { children: this.children(), onKeyDown: this.onKeyDown, onSelect: this.onSelect });
|
|
166
168
|
var tabPosition = tabProps.tabPosition, _a = tabProps.tabIndex, tabIndex = _a === void 0 ? 0 : _a;
|
|
167
169
|
var bottom = tabPosition === 'bottom';
|
|
168
170
|
var componentClasses = classNames('k-tabstrip', 'k-floatwrap', {
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -32,7 +34,7 @@ var TabStripContent = /** @class */ (function (_super) {
|
|
|
32
34
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
33
35
|
_this.contentId = guid();
|
|
34
36
|
_this.childFactory = function (child) {
|
|
35
|
-
return React.cloneElement(child, __assign({}, child.props, { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));
|
|
37
|
+
return React.cloneElement(child, __assign(__assign({}, child.props), { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));
|
|
36
38
|
};
|
|
37
39
|
return _this;
|
|
38
40
|
}
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -18,6 +20,12 @@ var TabStripTab = /** @class */ (function (_super) {
|
|
|
18
20
|
function TabStripTab() {
|
|
19
21
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
20
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
TabStripTab.prototype.render = function () {
|
|
27
|
+
return null;
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* @hidden
|
|
23
31
|
*/
|
|
@@ -42,7 +42,7 @@ export declare class InternalTile extends React.Component<InternalTileProps, {
|
|
|
42
42
|
resizable: boolean;
|
|
43
43
|
reorderable: boolean;
|
|
44
44
|
};
|
|
45
|
-
protected
|
|
45
|
+
protected get reorderable(): boolean;
|
|
46
46
|
state: {
|
|
47
47
|
rtl: boolean;
|
|
48
48
|
};
|
|
@@ -53,7 +53,7 @@ export declare class InternalTile extends React.Component<InternalTileProps, {
|
|
|
53
53
|
dragging: boolean;
|
|
54
54
|
resizing: boolean;
|
|
55
55
|
element: HTMLElement | null;
|
|
56
|
-
|
|
56
|
+
get dragElement(): HTMLElement;
|
|
57
57
|
ignoreDrag: boolean;
|
|
58
58
|
pressOffset: {
|
|
59
59
|
x: number;
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -187,14 +189,14 @@ var InternalTile = /** @class */ (function (_super) {
|
|
|
187
189
|
get: function () {
|
|
188
190
|
return this.props.reorderable !== undefined ? this.props.reorderable : InternalTile.defaultProps.reorderable;
|
|
189
191
|
},
|
|
190
|
-
enumerable:
|
|
192
|
+
enumerable: false,
|
|
191
193
|
configurable: true
|
|
192
194
|
});
|
|
193
195
|
Object.defineProperty(InternalTile.prototype, "dragElement", {
|
|
194
196
|
get: function () {
|
|
195
197
|
return this.draggable ? this.draggable.element : undefined;
|
|
196
198
|
},
|
|
197
|
-
enumerable:
|
|
199
|
+
enumerable: false,
|
|
198
200
|
configurable: true
|
|
199
201
|
});
|
|
200
202
|
InternalTile.prototype.componentDidMount = function () {
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -124,7 +124,7 @@ export declare class TileLayout extends React.Component<TileLayoutProps, TileLay
|
|
|
124
124
|
/**
|
|
125
125
|
* Gets the HTML element of the TileLayout component.
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
get element(): HTMLDivElement | null;
|
|
128
128
|
/**
|
|
129
129
|
* @hidden
|
|
130
130
|
*/
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -108,7 +110,7 @@ var TileLayout = /** @class */ (function (_super) {
|
|
|
108
110
|
get: function () {
|
|
109
111
|
return this._element;
|
|
110
112
|
},
|
|
111
|
-
enumerable:
|
|
113
|
+
enumerable: false,
|
|
112
114
|
configurable: true
|
|
113
115
|
});
|
|
114
116
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.BottomNavigation = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var PropTypes = require("prop-types");
|
|
16
17
|
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
* @hidden
|
|
3
3
|
*/
|
|
4
4
|
export declare const THEME_COLOR_CLASSES: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
primary: string;
|
|
6
|
+
secondary: string;
|
|
7
|
+
tertiary: string;
|
|
8
|
+
info: string;
|
|
9
|
+
success: string;
|
|
10
|
+
warning: string;
|
|
11
|
+
error: string;
|
|
12
|
+
dark: string;
|
|
13
|
+
light: string;
|
|
14
|
+
inverse: string;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* @hidden
|
|
18
18
|
*/
|
|
19
19
|
export declare const FILL_CLASSES: {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
flat: string;
|
|
21
|
+
solid: string;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
26
|
export declare const ITEM_FLOW_CLASSES: {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
vertical: string;
|
|
28
|
+
horizontal: string;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* @hidden
|
|
32
32
|
*/
|
|
33
33
|
export declare const POSITION_MODE_CLASSES: {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
fixed: string;
|
|
35
|
+
sticky: string;
|
|
36
36
|
};
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Breadcrumb = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var PropTypes = require("prop-types");
|
|
16
17
|
var kendo_licensing_1 = require("@progress/kendo-licensing");
|