@progress/kendo-react-layout 5.4.0-dev.202205200719 → 5.4.0-dev.202206061009

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.
Files changed (244) hide show
  1. package/dist/cdn/js/kendo-react-layout.js +1 -1
  2. package/dist/es/appbar/AppBar.d.ts +1 -1
  3. package/dist/es/appbar/AppBarSection.d.ts +1 -1
  4. package/dist/es/appbar/AppBarSpacer.d.ts +1 -1
  5. package/dist/es/appbar/interfaces/AppBarProps.js +1 -0
  6. package/dist/es/appbar/interfaces/AppBarSectionProps.js +1 -0
  7. package/dist/es/appbar/interfaces/AppBarSpacerProps.d.ts +4 -0
  8. package/dist/es/appbar/interfaces/AppBarSpacerProps.js +1 -0
  9. package/dist/es/bottomnavigation/BottomNavigation.d.ts +1 -1
  10. package/dist/es/bottomnavigation/BottomNavigation.js +1 -1
  11. package/dist/es/bottomnavigation/BottomNavigationItem.d.ts +1 -1
  12. package/dist/es/bottomnavigation/BottomNavigationItem.js +1 -1
  13. package/dist/es/bottomnavigation/BottomNavigationItemProps.js +1 -0
  14. package/dist/es/bottomnavigation/BottomNavigationProps.js +1 -0
  15. package/dist/es/bottomnavigation/models/events.js +1 -0
  16. package/dist/es/bottomnavigation/models/utils.d.ts +16 -16
  17. package/dist/es/breadcrumb/Breadcrumb.d.ts +1 -1
  18. package/dist/es/breadcrumb/BreadcrumbDelimiter.d.ts +1 -1
  19. package/dist/es/breadcrumb/BreadcrumbDelimiter.js +0 -1
  20. package/dist/es/breadcrumb/BreadcrumbLink.d.ts +1 -1
  21. package/dist/es/breadcrumb/BreadcrumbListItem.d.ts +1 -1
  22. package/dist/es/breadcrumb/BreadcrumbListItem.js +0 -1
  23. package/dist/es/breadcrumb/BreadcrumbOrderedList.d.ts +1 -1
  24. package/dist/es/breadcrumb/BreadcrumbOrderedList.js +0 -1
  25. package/dist/es/card/Avatar.js +5 -5
  26. package/dist/es/card/Card.d.ts +1 -1
  27. package/dist/es/card/Card.js +6 -5
  28. package/dist/es/card/CardActions.js +1 -1
  29. package/dist/es/card/interfaces/AvatarProps.js +1 -0
  30. package/dist/es/card/interfaces/CardActionsProps.js +1 -0
  31. package/dist/es/card/interfaces/CardBodyProps.js +1 -0
  32. package/dist/es/card/interfaces/CardFooterProps.js +1 -0
  33. package/dist/es/card/interfaces/CardHandle.js +1 -0
  34. package/dist/es/card/interfaces/CardHeaderProps.js +1 -0
  35. package/dist/es/card/interfaces/CardImageProps.js +1 -0
  36. package/dist/es/card/interfaces/CardProps.js +1 -0
  37. package/dist/es/card/interfaces/CardSubtitleProps.js +1 -0
  38. package/dist/es/card/interfaces/CardTitleProps.js +1 -0
  39. package/dist/es/drawer/Drawer.d.ts +1 -1
  40. package/dist/es/drawer/Drawer.js +9 -4
  41. package/dist/es/drawer/DrawerContent.d.ts +1 -1
  42. package/dist/es/drawer/DrawerItem.d.ts +1 -1
  43. package/dist/es/drawer/DrawerItem.js +6 -4
  44. package/dist/es/drawer/DrawerNavigation.d.ts +1 -1
  45. package/dist/es/drawer/DrawerNavigation.js +2 -2
  46. package/dist/es/drawer/context/DrawerContext.d.ts +1 -1
  47. package/dist/es/drawer/interfaces/DrawerAnimation.js +1 -0
  48. package/dist/es/drawer/interfaces/DrawerContentProps.js +1 -0
  49. package/dist/es/drawer/interfaces/DrawerItemHandle.js +1 -0
  50. package/dist/es/drawer/interfaces/DrawerItemProps.d.ts +1 -1
  51. package/dist/es/drawer/interfaces/DrawerItemProps.js +1 -0
  52. package/dist/es/drawer/interfaces/DrawerNavigationProps.js +1 -0
  53. package/dist/es/drawer/interfaces/DrawerProps.js +1 -0
  54. package/dist/es/drawer/interfaces/DrawerSelectEvent.js +1 -0
  55. package/dist/es/expansionpanel/ExpansionPanel.d.ts +1 -1
  56. package/dist/es/expansionpanel/index.js +1 -0
  57. package/dist/es/expansionpanel/interfaces.js +1 -0
  58. package/dist/es/gridlayout/GridLayout.d.ts +1 -1
  59. package/dist/es/gridlayout/GridLayout.js +3 -3
  60. package/dist/es/gridlayout/GridLayoutItem.d.ts +1 -1
  61. package/dist/es/gridlayout/GridLayoutItem.js +1 -1
  62. package/dist/es/gridlayout/interfaces/GridLayoutColumnProps.js +1 -0
  63. package/dist/es/gridlayout/interfaces/GridLayoutItemProps.js +1 -0
  64. package/dist/es/gridlayout/interfaces/GridLayoutProps.js +1 -0
  65. package/dist/es/gridlayout/interfaces/GridLayoutRowProps.js +1 -0
  66. package/dist/es/main.js +37 -0
  67. package/dist/es/menu/BaseMenuItemInternalProps.js +1 -0
  68. package/dist/es/menu/MenuProps.js +1 -0
  69. package/dist/es/menu/components/Menu.d.ts +2 -2
  70. package/dist/es/menu/components/Menu.js +5 -1
  71. package/dist/es/menu/components/MenuItem.d.ts +1 -1
  72. package/dist/es/menu/components/MenuItem.js +3 -1
  73. package/dist/es/menu/components/MenuItemArrow.js +3 -1
  74. package/dist/es/menu/components/MenuItemInternal.d.ts +4 -4
  75. package/dist/es/menu/components/MenuItemInternal.js +8 -6
  76. package/dist/es/menu/components/MenuItemInternalsList.js +3 -1
  77. package/dist/es/menu/components/MenuItemLink.js +3 -1
  78. package/dist/es/menu/events.js +1 -0
  79. package/dist/es/menu/models/BaseMenuItem.d.ts +4 -0
  80. package/dist/es/menu/models/BaseMenuItem.js +1 -0
  81. package/dist/es/menu/models/MenuItemModel.js +1 -0
  82. package/dist/es/menu/utils/DirectionHolder.d.ts +1 -1
  83. package/dist/es/menu/utils/MouseOverHandler.d.ts +2 -2
  84. package/dist/es/menu/utils/MouseOverHandler.js +3 -2
  85. package/dist/es/menu/utils/misc.js +1 -1
  86. package/dist/es/package-metadata.js +1 -1
  87. package/dist/es/panelbar/PanelBar.d.ts +6 -6
  88. package/dist/es/panelbar/PanelBar.js +19 -8
  89. package/dist/es/panelbar/PanelBarItem.js +6 -4
  90. package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.js +1 -0
  91. package/dist/es/panelbar/interfaces/PanelBarItemProps.js +1 -0
  92. package/dist/es/panelbar/interfaces/PanelBarProps.js +1 -0
  93. package/dist/es/panelbar/interfaces/PanelBarSelectEventArguments.js +1 -0
  94. package/dist/es/panelbar/interfaces/RenderPanelBarItem.js +1 -0
  95. package/dist/es/panelbar/util.js +14 -5
  96. package/dist/es/splitter/Splitter.d.ts +5 -5
  97. package/dist/es/splitter/Splitter.js +20 -17
  98. package/dist/es/splitter/SplitterBar.d.ts +3 -3
  99. package/dist/es/splitter/SplitterBar.js +8 -5
  100. package/dist/es/splitter/SplitterPane.js +3 -1
  101. package/dist/es/stacklayout/StackLayout.d.ts +1 -1
  102. package/dist/es/stacklayout/StackLayout.js +1 -1
  103. package/dist/es/stacklayout/StackLayoutProps.js +1 -0
  104. package/dist/es/stepper/Step.d.ts +1 -1
  105. package/dist/es/stepper/Step.js +8 -6
  106. package/dist/es/stepper/Stepper.d.ts +1 -1
  107. package/dist/es/stepper/Stepper.js +4 -1
  108. package/dist/es/stepper/interfaces/StepChangeEvent.js +1 -0
  109. package/dist/es/stepper/interfaces/StepFocusEvent.js +1 -0
  110. package/dist/es/stepper/interfaces/StepHandle.js +1 -0
  111. package/dist/es/stepper/interfaces/StepProps.js +1 -0
  112. package/dist/es/stepper/interfaces/StepperChangeEvent.js +1 -0
  113. package/dist/es/stepper/interfaces/StepperFocusEvent.js +1 -0
  114. package/dist/es/stepper/interfaces/StepperHandle.js +1 -0
  115. package/dist/es/stepper/interfaces/StepperOnNavigateEvent.js +1 -0
  116. package/dist/es/stepper/interfaces/StepperProps.js +1 -0
  117. package/dist/es/stepper/messages/index.d.ts +1 -1
  118. package/dist/es/tabstrip/TabStrip.js +4 -2
  119. package/dist/es/tabstrip/TabStripContent.d.ts +5 -1
  120. package/dist/es/tabstrip/TabStripContent.js +4 -2
  121. package/dist/es/tabstrip/TabStripNavigation.d.ts +1 -1
  122. package/dist/es/tabstrip/TabStripNavigation.js +3 -1
  123. package/dist/es/tabstrip/TabStripNavigationItem.js +3 -1
  124. package/dist/es/tabstrip/TabStripTab.d.ts +6 -2
  125. package/dist/es/tabstrip/TabStripTab.js +9 -1
  126. package/dist/es/tilelayout/InternalTile.d.ts +4 -3
  127. package/dist/es/tilelayout/InternalTile.js +12 -10
  128. package/dist/es/tilelayout/ResizeHandlers.d.ts +1 -1
  129. package/dist/es/tilelayout/ResizeHandlers.js +3 -1
  130. package/dist/es/tilelayout/TileLayout.d.ts +2 -2
  131. package/dist/es/tilelayout/TileLayout.js +6 -4
  132. package/dist/es/tilelayout/interfaces/main.js +1 -0
  133. package/dist/npm/appbar/AppBar.d.ts +1 -1
  134. package/dist/npm/appbar/AppBar.js +5 -4
  135. package/dist/npm/appbar/AppBarSection.d.ts +1 -1
  136. package/dist/npm/appbar/AppBarSection.js +3 -2
  137. package/dist/npm/appbar/AppBarSpacer.d.ts +1 -1
  138. package/dist/npm/appbar/AppBarSpacer.js +3 -2
  139. package/dist/npm/appbar/interfaces/AppBarSpacerProps.d.ts +4 -0
  140. package/dist/npm/bottomnavigation/BottomNavigation.d.ts +1 -1
  141. package/dist/npm/bottomnavigation/BottomNavigation.js +9 -8
  142. package/dist/npm/bottomnavigation/BottomNavigationItem.d.ts +1 -1
  143. package/dist/npm/bottomnavigation/BottomNavigationItem.js +4 -3
  144. package/dist/npm/bottomnavigation/models/utils.d.ts +16 -16
  145. package/dist/npm/bottomnavigation/models/utils.js +1 -0
  146. package/dist/npm/breadcrumb/Breadcrumb.d.ts +1 -1
  147. package/dist/npm/breadcrumb/Breadcrumb.js +6 -5
  148. package/dist/npm/breadcrumb/BreadcrumbDelimiter.d.ts +1 -1
  149. package/dist/npm/breadcrumb/BreadcrumbDelimiter.js +3 -3
  150. package/dist/npm/breadcrumb/BreadcrumbLink.d.ts +1 -1
  151. package/dist/npm/breadcrumb/BreadcrumbLink.js +6 -5
  152. package/dist/npm/breadcrumb/BreadcrumbListItem.d.ts +1 -1
  153. package/dist/npm/breadcrumb/BreadcrumbListItem.js +3 -3
  154. package/dist/npm/breadcrumb/BreadcrumbOrderedList.d.ts +1 -1
  155. package/dist/npm/breadcrumb/BreadcrumbOrderedList.js +3 -3
  156. package/dist/npm/card/Avatar.js +10 -8
  157. package/dist/npm/card/Card.d.ts +1 -1
  158. package/dist/npm/card/Card.js +8 -6
  159. package/dist/npm/card/CardActions.js +4 -2
  160. package/dist/npm/card/CardBody.js +4 -2
  161. package/dist/npm/card/CardFooter.js +4 -2
  162. package/dist/npm/card/CardHeader.js +4 -2
  163. package/dist/npm/card/CardImage.js +4 -2
  164. package/dist/npm/card/CardSubtitle.js +4 -2
  165. package/dist/npm/card/CardTitle.js +4 -2
  166. package/dist/npm/card/interfaces/Enums.js +1 -0
  167. package/dist/npm/drawer/Drawer.d.ts +1 -1
  168. package/dist/npm/drawer/Drawer.js +13 -7
  169. package/dist/npm/drawer/DrawerContent.d.ts +1 -1
  170. package/dist/npm/drawer/DrawerContent.js +2 -1
  171. package/dist/npm/drawer/DrawerItem.d.ts +1 -1
  172. package/dist/npm/drawer/DrawerItem.js +9 -6
  173. package/dist/npm/drawer/DrawerNavigation.d.ts +1 -1
  174. package/dist/npm/drawer/DrawerNavigation.js +4 -3
  175. package/dist/npm/drawer/context/DrawerContext.d.ts +1 -1
  176. package/dist/npm/drawer/context/DrawerContext.js +1 -0
  177. package/dist/npm/drawer/interfaces/DrawerItemProps.d.ts +1 -1
  178. package/dist/npm/expansionpanel/ExpansionPanel.d.ts +1 -1
  179. package/dist/npm/expansionpanel/ExpansionPanel.js +8 -7
  180. package/dist/npm/expansionpanel/ExpansionPanelContent.js +2 -1
  181. package/dist/npm/expansionpanel/index.js +17 -5
  182. package/dist/npm/gridlayout/GridLayout.d.ts +1 -1
  183. package/dist/npm/gridlayout/GridLayout.js +7 -6
  184. package/dist/npm/gridlayout/GridLayoutItem.d.ts +1 -1
  185. package/dist/npm/gridlayout/GridLayoutItem.js +4 -3
  186. package/dist/npm/main.js +95 -47
  187. package/dist/npm/menu/components/Menu.d.ts +2 -2
  188. package/dist/npm/menu/components/Menu.js +22 -17
  189. package/dist/npm/menu/components/MenuItem.d.ts +1 -1
  190. package/dist/npm/menu/components/MenuItem.js +4 -1
  191. package/dist/npm/menu/components/MenuItemArrow.js +6 -3
  192. package/dist/npm/menu/components/MenuItemInternal.d.ts +4 -4
  193. package/dist/npm/menu/components/MenuItemInternal.js +17 -14
  194. package/dist/npm/menu/components/MenuItemInternalsList.js +5 -2
  195. package/dist/npm/menu/components/MenuItemLink.js +6 -3
  196. package/dist/npm/menu/consts.js +1 -0
  197. package/dist/npm/menu/models/BaseMenuItem.d.ts +4 -0
  198. package/dist/npm/menu/utils/DirectionHolder.d.ts +1 -1
  199. package/dist/npm/menu/utils/DirectionHolder.js +1 -0
  200. package/dist/npm/menu/utils/MouseOverHandler.d.ts +2 -2
  201. package/dist/npm/menu/utils/MouseOverHandler.js +4 -2
  202. package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.js +25 -24
  203. package/dist/npm/menu/utils/hoverDelay.js +1 -0
  204. package/dist/npm/menu/utils/itemsIdsUtils.js +1 -0
  205. package/dist/npm/menu/utils/misc.js +3 -2
  206. package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +3 -2
  207. package/dist/npm/package-metadata.js +2 -1
  208. package/dist/npm/panelbar/PanelBar.d.ts +6 -6
  209. package/dist/npm/panelbar/PanelBar.js +28 -16
  210. package/dist/npm/panelbar/PanelBarItem.js +11 -8
  211. package/dist/npm/panelbar/interfaces/NavigationAction.js +1 -0
  212. package/dist/npm/panelbar/util.js +26 -11
  213. package/dist/npm/splitter/Splitter.d.ts +5 -5
  214. package/dist/npm/splitter/Splitter.js +22 -18
  215. package/dist/npm/splitter/SplitterBar.d.ts +3 -3
  216. package/dist/npm/splitter/SplitterBar.js +12 -8
  217. package/dist/npm/splitter/SplitterPane.js +5 -2
  218. package/dist/npm/stacklayout/StackLayout.d.ts +1 -1
  219. package/dist/npm/stacklayout/StackLayout.js +5 -4
  220. package/dist/npm/stepper/Step.d.ts +1 -1
  221. package/dist/npm/stepper/Step.js +14 -11
  222. package/dist/npm/stepper/Stepper.d.ts +1 -1
  223. package/dist/npm/stepper/Stepper.js +12 -8
  224. package/dist/npm/stepper/contants.js +1 -0
  225. package/dist/npm/stepper/context/StepperContext.js +1 -0
  226. package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.js +2 -0
  227. package/dist/npm/stepper/messages/index.d.ts +1 -1
  228. package/dist/npm/stepper/messages/index.js +2 -1
  229. package/dist/npm/tabstrip/TabStrip.js +7 -4
  230. package/dist/npm/tabstrip/TabStripContent.d.ts +5 -1
  231. package/dist/npm/tabstrip/TabStripContent.js +7 -4
  232. package/dist/npm/tabstrip/TabStripNavigation.d.ts +1 -1
  233. package/dist/npm/tabstrip/TabStripNavigation.js +6 -3
  234. package/dist/npm/tabstrip/TabStripNavigationItem.js +5 -2
  235. package/dist/npm/tabstrip/TabStripTab.d.ts +6 -2
  236. package/dist/npm/tabstrip/TabStripTab.js +10 -1
  237. package/dist/npm/tilelayout/InternalTile.d.ts +4 -3
  238. package/dist/npm/tilelayout/InternalTile.js +14 -11
  239. package/dist/npm/tilelayout/ResizeHandlers.d.ts +1 -1
  240. package/dist/npm/tilelayout/ResizeHandlers.js +4 -1
  241. package/dist/npm/tilelayout/TileLayout.d.ts +2 -2
  242. package/dist/npm/tilelayout/TileLayout.js +10 -7
  243. package/dist/systemjs/kendo-react-layout.js +1 -1
  244. package/package.json +14 -14
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getDirectSiblingIdForLevelZero = exports.getShortId = exports.isFirstItemFromSiblings = exports.isIdFirstLevel = exports.isIdZeroLevel = exports.isIdEmptyOrZeroLevel = exports.getDirectParentId = exports.createId = exports.shouldOpenItem = exports.getFirstChildId = exports.getIdWithoutRootParentId = exports.getRootParentId = exports.getItemById = exports.SEPARATOR = exports.ZERO_LEVEL_ZERO_ITEM_ID = exports.EMPTY_ID = void 0;
3
4
  /**
4
5
  * @hidden
5
6
  */
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getDOMElementId = exports.convertBoolDirectionToString = exports.getChildrenPosition = exports.getPopupSettings = void 0;
3
4
  var consts_1 = require("../consts");
4
5
  var itemsIdsUtils_1 = require("./itemsIdsUtils");
5
6
  /**
@@ -19,7 +20,7 @@ exports.getPopupSettings = getPopupSettings;
19
20
  * @hidden
20
21
  */
21
22
  function getChildrenPosition(itemId, isMenuVertical, isDirectionRightToLeft) {
22
- if (itemsIdsUtils_1.isIdZeroLevel(itemId)) {
23
+ if ((0, itemsIdsUtils_1.isIdZeroLevel)(itemId)) {
23
24
  if (isMenuVertical) {
24
25
  return isDirectionRightToLeft ? 'leftward' : 'rightward';
25
26
  }
@@ -43,6 +44,6 @@ exports.convertBoolDirectionToString = convertBoolDirectionToString;
43
44
  * @hidden
44
45
  */
45
46
  function getDOMElementId(menuGuid, itemId) {
46
- return menuGuid + "_" + itemId;
47
+ return "".concat(menuGuid, "_").concat(itemId);
47
48
  }
48
49
  exports.getDOMElementId = getDOMElementId;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.prepareInputItemsForInternalWork = void 0;
3
4
  var React = require("react");
4
5
  var itemsIdsUtils_1 = require("./itemsIdsUtils");
5
6
  var MenuItem_1 = require("../components/MenuItem");
@@ -79,7 +80,7 @@ function convertInputModelsToInternalOnesHelper(inputModels, parentId) {
79
80
  for (var index = 0; index < inputModels.length; index++) {
80
81
  var inputModel = inputModels[index];
81
82
  var internalModel = copyInputItemWithoutChildren(inputModel);
82
- internalModel.id = itemsIdsUtils_1.createId(index.toString(), parentId);
83
+ internalModel.id = (0, itemsIdsUtils_1.createId)(index.toString(), parentId);
83
84
  internalModel.isLastFromSiblings = index === inputModels.length - 1;
84
85
  internalModel.items = copyOrCreateModelChildren(inputModel, internalModel);
85
86
  result.push(internalModel);
@@ -90,7 +91,7 @@ function copyOrCreateModelChildren(inputModel, internalModel) {
90
91
  if (inputModel.contentRender) {
91
92
  return [{
92
93
  contentParentItemId: internalModel.id,
93
- id: itemsIdsUtils_1.createId(itemsIdsUtils_1.ZERO_LEVEL_ZERO_ITEM_ID, internalModel.id),
94
+ id: (0, itemsIdsUtils_1.createId)(itemsIdsUtils_1.ZERO_LEVEL_ZERO_ITEM_ID, internalModel.id),
94
95
  isLastFromSiblings: true,
95
96
  contentRender: inputModel.contentRender,
96
97
  items: []
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.packageMetadata = void 0;
3
4
  /**
4
5
  * @hidden
5
6
  */
@@ -7,7 +8,7 @@ exports.packageMetadata = {
7
8
  name: '@progress/kendo-react-layout',
8
9
  productName: 'KendoReact',
9
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1653030207,
11
+ publishDate: 1654509261,
11
12
  version: '',
12
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
13
14
  };
@@ -18,10 +18,10 @@ export declare class PanelBar extends React.Component<PanelBarProps, PanelBarSta
18
18
  */
19
19
  static propTypes: {
20
20
  animation: PropTypes.Requireable<boolean>;
21
- children: (props: PanelBarProps, propName: any) => Error;
21
+ children: (props: PanelBarProps, propName: any) => Error | null | undefined;
22
22
  dir: PropTypes.Requireable<string>;
23
23
  selected: PropTypes.Requireable<string>;
24
- expanded: PropTypes.Requireable<string[]>;
24
+ expanded: PropTypes.Requireable<(string | null)[]>;
25
25
  focused: PropTypes.Requireable<string>;
26
26
  expandMode: PropTypes.Requireable<string>;
27
27
  className: PropTypes.Requireable<string>;
@@ -44,10 +44,10 @@ export declare class PanelBar extends React.Component<PanelBarProps, PanelBarSta
44
44
  private activeDescendant?;
45
45
  private _element;
46
46
  private nextTickId;
47
- private readonly expandMode;
48
- private readonly selectedItem;
49
- private readonly expandedItems;
50
- private readonly children;
47
+ private get expandMode();
48
+ private get selectedItem();
49
+ private get expandedItems();
50
+ private get children();
51
51
  constructor(props: PanelBarProps);
52
52
  /**
53
53
  * @hidden
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -23,7 +25,17 @@ var __assign = (this && this.__assign) || function () {
23
25
  };
24
26
  return __assign.apply(this, arguments);
25
27
  };
28
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
29
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
30
+ if (ar || !(i in from)) {
31
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
32
+ ar[i] = from[i];
33
+ }
34
+ }
35
+ return to.concat(ar || Array.prototype.slice.call(from));
36
+ };
26
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.PanelBar = void 0;
27
39
  var React = require("react");
28
40
  var PropTypes = require("prop-types");
29
41
  var PanelBarItem_1 = require("./PanelBarItem");
@@ -48,7 +60,7 @@ var PanelBar = /** @class */ (function (_super) {
48
60
  * @hidden
49
61
  */
50
62
  _this.onSelect = function (event) {
51
- var flattenChildren = util_1.flatChildren(React.Children.toArray(_this.children));
63
+ var flattenChildren = (0, util_1.flatChildren)(React.Children.toArray(_this.children));
52
64
  var selectedChild;
53
65
  var newExpanded;
54
66
  flattenChildren.forEach(function (child) {
@@ -58,10 +70,10 @@ var PanelBar = /** @class */ (function (_super) {
58
70
  });
59
71
  switch (_this.expandMode) {
60
72
  case 'single':
61
- newExpanded = selectedChild.props.parentUniquePrivateKey.concat([selectedChild.props.uniquePrivateKey]);
62
- if (util_1.isArrayEqual(_this.expandedItems, newExpanded)) {
73
+ newExpanded = __spreadArray(__spreadArray([], selectedChild.props.parentUniquePrivateKey, true), [selectedChild.props.uniquePrivateKey], false);
74
+ if ((0, util_1.isArrayEqual)(_this.expandedItems, newExpanded)) {
63
75
  if (selectedChild.props.parentUniquePrivateKey) {
64
- newExpanded = selectedChild.props.parentUniquePrivateKey.slice();
76
+ newExpanded = __spreadArray([], selectedChild.props.parentUniquePrivateKey, true);
65
77
  }
66
78
  else {
67
79
  newExpanded = [];
@@ -90,7 +102,7 @@ var PanelBar = /** @class */ (function (_super) {
90
102
  */
91
103
  _this.onFocus = function (event, step) {
92
104
  if (step === void 0) { step = 0; }
93
- var flattenChildren = util_1.flatVisibleChildren(React.Children.toArray(_this.children));
105
+ var flattenChildren = (0, util_1.flatVisibleChildren)(React.Children.toArray(_this.children));
94
106
  var focusedChild;
95
107
  flattenChildren.forEach(function (child, ixd) {
96
108
  if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {
@@ -170,10 +182,10 @@ var PanelBar = /** @class */ (function (_super) {
170
182
  }
171
183
  }
172
184
  };
173
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
174
- var initialState = util_1.getInitialState(props, _this.expandMode);
185
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
186
+ var initialState = (0, util_1.getInitialState)(props, _this.expandMode);
175
187
  if (!initialState.focused) {
176
- initialState.focused = util_1.getFirstId(props);
188
+ initialState.focused = (0, util_1.getFirstId)(props);
177
189
  }
178
190
  _this.state = initialState;
179
191
  return _this;
@@ -182,7 +194,7 @@ var PanelBar = /** @class */ (function (_super) {
182
194
  get: function () {
183
195
  return this.props.expandMode || 'multiple';
184
196
  },
185
- enumerable: true,
197
+ enumerable: false,
186
198
  configurable: true
187
199
  });
188
200
  Object.defineProperty(PanelBar.prototype, "selectedItem", {
@@ -190,7 +202,7 @@ var PanelBar = /** @class */ (function (_super) {
190
202
  var _a = this.props.selected, selected = _a === void 0 ? this.state.selected : _a;
191
203
  return selected;
192
204
  },
193
- enumerable: true,
205
+ enumerable: false,
194
206
  configurable: true
195
207
  });
196
208
  Object.defineProperty(PanelBar.prototype, "expandedItems", {
@@ -198,12 +210,12 @@ var PanelBar = /** @class */ (function (_super) {
198
210
  var expanded = this.props.isControlled ? this.props.expanded || [] : this.state.expanded;
199
211
  return expanded;
200
212
  },
201
- enumerable: true,
213
+ enumerable: false,
202
214
  configurable: true
203
215
  });
204
216
  Object.defineProperty(PanelBar.prototype, "children", {
205
217
  get: function () {
206
- var state = __assign({}, this.state, { selected: this.selectedItem });
218
+ var state = __assign(__assign({}, this.state), { selected: this.selectedItem });
207
219
  var renderState = {
208
220
  animation: this.props.animation,
209
221
  keepItemsMounted: this.props.keepItemsMounted,
@@ -212,9 +224,9 @@ var PanelBar = /** @class */ (function (_super) {
212
224
  handleSelect: this.handleSelect,
213
225
  children: this.props.children
214
226
  };
215
- return util_1.renderChildren(renderState);
227
+ return (0, util_1.renderChildren)(renderState);
216
228
  },
217
- enumerable: true,
229
+ enumerable: false,
218
230
  configurable: true
219
231
  });
220
232
  /**
@@ -225,7 +237,7 @@ var PanelBar = /** @class */ (function (_super) {
225
237
  var ariaProps = {
226
238
  'aria-activedescendant': this.activeDescendant
227
239
  };
228
- var className = kendo_react_common_1.classNames('k-panelbar', this.props.className);
240
+ var className = (0, kendo_react_common_1.classNames)('k-panelbar', this.props.className);
229
241
  return (React.createElement("ul", __assign({ ref: function (div) { _this._element = div; }, dir: this.props.dir, role: 'tree', tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleWrapperFocus, onBlur: this.handleWrapperBlur, className: className, style: this.props.style }, ariaProps), this.children));
230
242
  };
231
243
  PanelBar.prototype.nextTick = function (f) {
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PanelBarItem = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_common_1 = require("@progress/kendo-react-common");
@@ -37,7 +40,7 @@ function iconElement(_a) {
37
40
  return (React.createElement("img", { role: "presentation", className: 'k-panelbar-item-icon k-image', src: imageUrl }));
38
41
  }
39
42
  else if (icon) {
40
- var iconClasses = kendo_react_common_1.classNames('k-panelbar-item-icon', 'k-icon', 'k-i-' + icon);
43
+ var iconClasses = (0, kendo_react_common_1.classNames)('k-panelbar-item-icon', 'k-icon', 'k-i-' + icon);
41
44
  return (React.createElement("span", { role: "presentation", className: iconClasses }));
42
45
  }
43
46
  else if (iconClass) {
@@ -61,7 +64,7 @@ var PanelBarItem = /** @class */ (function (_super) {
61
64
  };
62
65
  _this.childFactory = function (child) {
63
66
  if (_this.props.keepItemsMounted) {
64
- return React.cloneElement(child, __assign({}, child.props, { in: _this.props.expanded }));
67
+ return React.cloneElement(child, __assign(__assign({}, child.props), { in: _this.props.expanded }));
65
68
  }
66
69
  return child;
67
70
  };
@@ -74,8 +77,8 @@ var PanelBarItem = /** @class */ (function (_super) {
74
77
  * @hidden
75
78
  */
76
79
  PanelBarItem.prototype.render = function () {
77
- var _this = this;
78
80
  var _a;
81
+ var _this = this;
79
82
  var _b = this.props, id = _b.id, children = _b.children, title = _b.title, uniquePrivateKey = _b.uniquePrivateKey, disabled = _b.disabled, selected = _b.selected, focused = _b.focused, expanded = _b.expanded, className = _b.className, level = _b.level, headerClassName = _b.headerClassName, animation = _b.animation, keepItemsMounted = _b.keepItemsMounted;
80
83
  var panelBarItemAriaAttributes = {
81
84
  'role': 'treeitem',
@@ -84,17 +87,17 @@ var PanelBarItem = /** @class */ (function (_super) {
84
87
  'aria-selected': !disabled && selected,
85
88
  'aria-expanded': !disabled && expanded && !!children
86
89
  };
87
- var panelBarItemClassName = kendo_react_common_1.classNames('k-item', {
90
+ var panelBarItemClassName = (0, kendo_react_common_1.classNames)('k-item', {
88
91
  'k-panelbar-header': level === 0,
89
92
  'k-panelbar-item': level !== 0,
90
93
  'k-state-expanded': expanded && !!children
91
- }, "k-level-" + level, className);
92
- var panelBarLinkClassName = kendo_react_common_1.classNames('k-link', {
94
+ }, "k-level-".concat(level), className);
95
+ var panelBarLinkClassName = (0, kendo_react_common_1.classNames)('k-link', {
93
96
  'k-selected': !disabled && selected,
94
97
  'k-focus': !disabled && focused,
95
98
  'k-disabled': disabled
96
99
  }, headerClassName);
97
- var panelBarItemArrowClassName = kendo_react_common_1.classNames('k-panelbar-toggle', 'k-icon', (_a = {},
100
+ var panelBarItemArrowClassName = (0, kendo_react_common_1.classNames)('k-panelbar-toggle', 'k-icon', (_a = {},
98
101
  _a['k-i-arrow-chevron-up'] = expanded && !!children,
99
102
  _a['k-panelbar-collapse'] = expanded && !!children,
100
103
  _a['k-i-arrow-chevron-down'] = !expanded && !!children,
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NavigationAction = void 0;
3
4
  /**
4
5
  * @hidden
5
6
  */
@@ -10,13 +10,23 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
14
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
15
+ if (ar || !(i in from)) {
16
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
17
+ ar[i] = from[i];
18
+ }
19
+ }
20
+ return to.concat(ar || Array.prototype.slice.call(from));
21
+ };
13
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
+ exports.isArrayEqual = exports.PanelBarUtils = exports.isPresent = exports.flatVisibleChildren = exports.flatChildren = exports.flatVisibleItems = exports.getInitialState = exports.getFirstId = exports.renderChildren = void 0;
14
24
  var React = require("react");
15
25
  var PanelBarItem_1 = require("./PanelBarItem");
16
26
  /**
17
27
  * @hidden
18
28
  */
19
- exports.renderChildren = function (_a) {
29
+ var renderChildren = function (_a) {
20
30
  var _b = _a.animation, animation = _b === void 0 ? true : _b, _c = _a.keepItemsMounted, keepItemsMounted = _c === void 0 ? false : _c, state = _a.state, expanded = _a.expanded, handleSelect = _a.handleSelect, children = _a.children, _d = _a.parentExpanded, parentExpanded = _d === void 0 ? true : _d, _e = _a.level, level = _e === void 0 ? 0 : _e, _f = _a.parentPrivateKey, parentPrivateKey = _f === void 0 ? [] : _f;
21
31
  return React.Children.map(children, function (child, idx) {
22
32
  if (child && child.type === PanelBarItem_1.PanelBarItem) {
@@ -32,31 +42,33 @@ exports.renderChildren = function (_a) {
32
42
  children: child.props.children,
33
43
  parentExpanded: (expanded || []).indexOf(privateKey) > -1,
34
44
  level: level + 1,
35
- parentPrivateKey: parentPrivateKey.concat([privateKey])
45
+ parentPrivateKey: __spreadArray(__spreadArray([], parentPrivateKey, true), [privateKey], false)
36
46
  };
37
- nestedChildren = exports.renderChildren(renderState);
47
+ nestedChildren = (0, exports.renderChildren)(renderState);
38
48
  }
39
- 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 }));
49
+ 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-".concat(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 }));
40
50
  }
41
51
  else {
42
52
  return React.createElement("div", { className: "k-panelbar-content k-content" }, child);
43
53
  }
44
54
  });
45
55
  };
56
+ exports.renderChildren = renderChildren;
46
57
  /**
47
58
  * @hidden
48
59
  */
49
- exports.getFirstId = function (props) {
60
+ var getFirstId = function (props) {
50
61
  var firstItem = React.Children.toArray(props.children)[0];
51
62
  if (firstItem) {
52
63
  return getId(firstItem, [], 0);
53
64
  }
54
65
  return '';
55
66
  };
67
+ exports.getFirstId = getFirstId;
56
68
  /**
57
69
  * @hidden
58
70
  */
59
- exports.getInitialState = function (props, expandMode, result, parentExpanded, parentPrivateKey) {
71
+ var getInitialState = function (props, expandMode, result, parentExpanded, parentPrivateKey) {
60
72
  if (result === void 0) { result = {
61
73
  expanded: props.expanded || [],
62
74
  selected: props.selected || '',
@@ -84,13 +96,14 @@ exports.getInitialState = function (props, expandMode, result, parentExpanded, p
84
96
  }
85
97
  }
86
98
  if (child.props.children) {
87
- result = exports.getInitialState(child.props, expandMode, result, !!child.props.expanded, parentPrivateKey.concat([privateKey]));
99
+ result = (0, exports.getInitialState)(child.props, expandMode, result, !!child.props.expanded, __spreadArray(__spreadArray([], parentPrivateKey, true), [privateKey], false));
88
100
  }
89
101
  }
90
102
  }
91
103
  });
92
104
  return result;
93
105
  };
106
+ exports.getInitialState = getInitialState;
94
107
  /**
95
108
  * @hidden
96
109
  */
@@ -98,8 +111,8 @@ var getId = function (child, parentPrivateKey, idx) {
98
111
  return child && child.props && child.props.id
99
112
  ? child.props.id
100
113
  : parentPrivateKey.length
101
- ? parentPrivateKey[parentPrivateKey.length - 1] + ("." + idx)
102
- : "." + idx;
114
+ ? parentPrivateKey[parentPrivateKey.length - 1] + ".".concat(idx)
115
+ : ".".concat(idx);
103
116
  };
104
117
  /**
105
118
  * @hidden
@@ -154,7 +167,8 @@ exports.flatVisibleChildren = flatVisibleChildren;
154
167
  /**
155
168
  * @hidden
156
169
  */
157
- exports.isPresent = function (value) { return value !== null && value !== undefined; };
170
+ var isPresent = function (value) { return value !== null && value !== undefined; };
171
+ exports.isPresent = isPresent;
158
172
  /**
159
173
  * Represents the PanelBarUtils functions.
160
174
  */
@@ -185,9 +199,10 @@ var PanelBarUtils;
185
199
  /**
186
200
  * @hidden
187
201
  */
188
- exports.isArrayEqual = function (firstArray, secondArray) {
202
+ var isArrayEqual = function (firstArray, secondArray) {
189
203
  if (firstArray.length !== secondArray.length) {
190
204
  return false;
191
205
  }
192
206
  return firstArray.every(function (ex, i) { return ex === secondArray[i]; });
193
207
  };
208
+ exports.isArrayEqual = isArrayEqual;
@@ -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 readonly isControlledState;
102
- private readonly panes;
101
+ private get isControlledState();
102
+ private get panes();
103
103
  private _container;
104
- private readonly orientation;
105
- private readonly isRtl;
106
- private readonly panesContent;
104
+ private get orientation();
105
+ private get isRtl();
106
+ private get panesContent();
107
107
  /**
108
108
  * @hidden
109
109
  */
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Splitter = void 0;
36
41
  var React = require("react");
37
42
  var SplitterPane_1 = require("./SplitterPane");
38
43
  var SplitterBar_1 = require("./SplitterBar");
@@ -84,6 +89,7 @@ var Splitter = /** @class */ (function (_super) {
84
89
  */
85
90
  function Splitter(props) {
86
91
  var _this = _super.call(this, props) || this;
92
+ _this._container = null;
87
93
  _this.validatePanes = function (panesOptions) {
88
94
  var withoutSize = panesOptions.filter(function (pane) { return pane.size === undefined; });
89
95
  if (!withoutSize.length) {
@@ -104,9 +110,7 @@ var Splitter = /** @class */ (function (_super) {
104
110
  if (isDragging && dragIndex !== undefined) {
105
111
  overlay = dragIndex === index || dragIndex + 1 === index;
106
112
  }
107
- paneOptions.push(__assign({}, PANE_DEFAULTS, { orientation: orientation,
108
- containsSplitter: containsSplitter,
109
- overlay: overlay }, (panes || [])[index]));
113
+ paneOptions.push(__assign(__assign(__assign({}, PANE_DEFAULTS), { orientation: orientation, containsSplitter: containsSplitter, overlay: overlay }), (panes || [])[index]));
110
114
  }
111
115
  return paneOptions;
112
116
  };
@@ -128,7 +132,7 @@ var Splitter = /** @class */ (function (_super) {
128
132
  var updatedState = panesOptions.map(function (pane, idx) {
129
133
  var paneProps = _this.getPaneProps(pane);
130
134
  if (idx === index) {
131
- return __assign({}, paneProps, { collapsed: !pane.collapsed });
135
+ return __assign(__assign({}, paneProps), { collapsed: !pane.collapsed });
132
136
  }
133
137
  else {
134
138
  return __assign({}, paneProps);
@@ -201,15 +205,15 @@ var Splitter = /** @class */ (function (_super) {
201
205
  _this.elementSize = function (el, isContainer) {
202
206
  var sizeType = isContainer ? 'client' : 'offset';
203
207
  if (_this.orientation === 'vertical') {
204
- return el[sizeType + "Height"];
208
+ return el["".concat(sizeType, "Height")];
205
209
  }
206
210
  else {
207
- return el[sizeType + "Width"];
211
+ return el["".concat(sizeType, "Width")];
208
212
  }
209
213
  };
210
214
  _this.clamp = function (min, max, v) { return Math.min(max, Math.max(min, v)); };
211
215
  _this.fixedSize = function (size) { return size && size.length > 0; };
212
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
216
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
213
217
  _this.state = {
214
218
  isDragging: false,
215
219
  dragIndex: undefined,
@@ -226,7 +230,7 @@ var Splitter = /** @class */ (function (_super) {
226
230
  get: function () {
227
231
  return this.props.panes !== undefined;
228
232
  },
229
- enumerable: true,
233
+ enumerable: false,
230
234
  configurable: true
231
235
  });
232
236
  Object.defineProperty(Splitter.prototype, "panes", {
@@ -235,28 +239,28 @@ var Splitter = /** @class */ (function (_super) {
235
239
  this.panesDuringOnChange :
236
240
  (this.isControlledState ? this.props.panes : this.state.panes);
237
241
  },
238
- enumerable: true,
242
+ enumerable: false,
239
243
  configurable: true
240
244
  });
241
245
  Object.defineProperty(Splitter.prototype, "orientation", {
242
246
  get: function () {
243
247
  return this.props.orientation || 'horizontal';
244
248
  },
245
- enumerable: true,
249
+ enumerable: false,
246
250
  configurable: true
247
251
  });
248
252
  Object.defineProperty(Splitter.prototype, "isRtl", {
249
253
  get: function () {
250
254
  return this._container && (getComputedStyle(this._container).direction === 'rtl') || false;
251
255
  },
252
- enumerable: true,
256
+ enumerable: false,
253
257
  configurable: true
254
258
  });
255
259
  Object.defineProperty(Splitter.prototype, "panesContent", {
256
260
  get: function () {
257
261
  return React.Children.toArray(this.props.children).filter(function (c) { return c; });
258
262
  },
259
- enumerable: true,
263
+ enumerable: false,
260
264
  configurable: true
261
265
  });
262
266
  /**
@@ -266,7 +270,7 @@ var Splitter = /** @class */ (function (_super) {
266
270
  var _this = this;
267
271
  var panesContent = this.panesContent;
268
272
  var panesOptions = this.panesOptions(panesContent);
269
- var className = kendo_react_common_1.classNames('k-widget', 'k-splitter', 'k-splitter-flex', "k-splitter-" + this.orientation, this.props.className);
273
+ var className = (0, kendo_react_common_1.classNames)('k-widget', 'k-splitter', 'k-splitter-flex', "k-splitter-".concat(this.orientation), this.props.className);
270
274
  this.validatePanes(panesOptions);
271
275
  return (React.createElement("div", { style: this.props.style, ref: function (ref) { return _this._container = ref; }, className: className }, this.mapSplitterPanes(panesOptions, panesContent)));
272
276
  };
@@ -342,10 +346,10 @@ var Splitter = /** @class */ (function (_super) {
342
346
  var updatedState = panesOptions.map(function (pane, idx) {
343
347
  var paneProps = _this.getPaneProps(pane);
344
348
  if (idx === prevIndex) {
345
- return __assign({}, paneProps, { size: prevSize });
349
+ return __assign(__assign({}, paneProps), { size: prevSize });
346
350
  }
347
351
  else if (idx === nextIndex) {
348
- return __assign({}, paneProps, { size: nextSize });
352
+ return __assign(__assign({}, paneProps), { size: nextSize });
349
353
  }
350
354
  else {
351
355
  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 readonly isStatic;
27
- private readonly isDraggable;
28
- private readonly isHorizontal;
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;