@progress/kendo-react-layout 6.1.1 → 7.0.0-develop.1

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 (592) hide show
  1. package/LICENSE.md +1 -1
  2. package/{dist/npm/actionsheet → actionsheet}/ActionSheet.d.ts +5 -1
  3. package/actionsheet/ActionSheetContent.d.ts +14 -0
  4. package/actionsheet/ActionSheetFooter.d.ts +14 -0
  5. package/actionsheet/ActionSheetHeader.d.ts +14 -0
  6. package/actionsheet/ActionSheetItem.d.ts +10 -0
  7. package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +17 -0
  8. package/{dist/npm/actionsheet → actionsheet}/interfaces/ActionSheetItemProps.d.ts +4 -1
  9. package/{dist/npm/appbar → appbar}/AppBar.d.ts +4 -0
  10. package/{dist/npm/appbar → appbar}/AppBarSection.d.ts +4 -0
  11. package/{dist/npm/appbar → appbar}/AppBarSpacer.d.ts +4 -0
  12. package/{dist/es/appbar → appbar}/interfaces/AppBarProps.d.ts +7 -3
  13. package/{dist/npm/appbar → appbar}/interfaces/AppBarSectionProps.d.ts +4 -0
  14. package/{dist/npm/appbar → appbar}/interfaces/AppBarSpacerProps.d.ts +4 -0
  15. package/{dist/es/bottomnavigation → bottomnavigation}/BottomNavigation.d.ts +4 -0
  16. package/{dist/npm/bottomnavigation → bottomnavigation}/BottomNavigationItem.d.ts +5 -1
  17. package/{dist/npm/bottomnavigation → bottomnavigation}/BottomNavigationItemProps.d.ts +4 -1
  18. package/{dist/es/bottomnavigation → bottomnavigation}/BottomNavigationProps.d.ts +8 -6
  19. package/{dist/npm/bottomnavigation → bottomnavigation}/models/events.d.ts +4 -0
  20. package/{dist/npm/bottomnavigation → bottomnavigation}/models/utils.d.ts +4 -0
  21. package/{dist/npm/breadcrumb → breadcrumb}/Breadcrumb.d.ts +4 -0
  22. package/{dist/npm/breadcrumb → breadcrumb}/BreadcrumbDelimiter.d.ts +4 -0
  23. package/{dist/npm/breadcrumb → breadcrumb}/BreadcrumbLink.d.ts +4 -0
  24. package/{dist/es/breadcrumb → breadcrumb}/BreadcrumbListItem.d.ts +4 -0
  25. package/{dist/npm/breadcrumb → breadcrumb}/BreadcrumbOrderedList.d.ts +4 -0
  26. package/card/Avatar.d.ts +7 -0
  27. package/card/Card.d.ts +8 -0
  28. package/card/CardActions.d.ts +7 -0
  29. package/card/CardBody.d.ts +7 -0
  30. package/card/CardFooter.d.ts +7 -0
  31. package/card/CardHeader.d.ts +7 -0
  32. package/card/CardImage.d.ts +7 -0
  33. package/card/CardSubtitle.d.ts +7 -0
  34. package/card/CardTitle.d.ts +7 -0
  35. package/{dist/npm/card → card}/interfaces/AvatarProps.d.ts +4 -1
  36. package/{dist/es/card → card}/interfaces/CardActionsProps.d.ts +4 -1
  37. package/card/interfaces/CardBodyProps.d.ts +18 -0
  38. package/card/interfaces/CardFooterProps.d.ts +18 -0
  39. package/card/interfaces/CardHandle.d.ts +18 -0
  40. package/card/interfaces/CardHeaderProps.d.ts +18 -0
  41. package/{dist/es/card → card}/interfaces/CardImageProps.d.ts +4 -1
  42. package/{dist/es/card → card}/interfaces/CardProps.d.ts +4 -1
  43. package/card/interfaces/CardSubtitleProps.d.ts +18 -0
  44. package/card/interfaces/CardTitleProps.d.ts +18 -0
  45. package/{dist/npm/card → card}/interfaces/Enums.d.ts +4 -0
  46. package/{dist/npm/contextmenu → contextmenu}/ContextMenu.d.ts +5 -1
  47. package/dist/cdn/js/kendo-react-layout.js +5 -1
  48. package/{dist/es/drawer → drawer}/Drawer.d.ts +4 -0
  49. package/{dist/es/drawer → drawer}/DrawerContent.d.ts +4 -0
  50. package/{dist/npm/drawer → drawer}/DrawerItem.d.ts +4 -0
  51. package/{dist/npm/drawer → drawer}/DrawerNavigation.d.ts +4 -0
  52. package/{dist/npm/drawer → drawer}/context/DrawerContext.d.ts +5 -1
  53. package/drawer/interfaces/DrawerAnimation.d.ts +18 -0
  54. package/{dist/es/drawer → drawer}/interfaces/DrawerContentProps.d.ts +4 -1
  55. package/drawer/interfaces/DrawerItemHandle.d.ts +21 -0
  56. package/{dist/es/drawer → drawer}/interfaces/DrawerItemProps.d.ts +4 -1
  57. package/{dist/npm/drawer → drawer}/interfaces/DrawerNavigationProps.d.ts +4 -1
  58. package/{dist/npm/drawer → drawer}/interfaces/DrawerProps.d.ts +4 -0
  59. package/{dist/es/drawer → drawer}/interfaces/DrawerSelectEvent.d.ts +4 -0
  60. package/expansionpanel/ExpansionPanel.d.ts +10 -0
  61. package/expansionpanel/ExpansionPanelContent.d.ts +9 -0
  62. package/expansionpanel/index.d.ts +7 -0
  63. package/{dist/es/expansionpanel → expansionpanel}/interfaces.d.ts +4 -1
  64. package/{dist/es/gridlayout → gridlayout}/GridLayout.d.ts +4 -0
  65. package/{dist/es/gridlayout → gridlayout}/GridLayoutItem.d.ts +4 -0
  66. package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +13 -0
  67. package/{dist/npm/gridlayout → gridlayout}/interfaces/GridLayoutItemProps.d.ts +4 -0
  68. package/{dist/npm/gridlayout → gridlayout}/interfaces/GridLayoutProps.d.ts +4 -0
  69. package/gridlayout/interfaces/GridLayoutRowProps.d.ts +13 -0
  70. package/{dist/npm/main.d.ts → index.d.ts} +6 -2
  71. package/index.js +5 -0
  72. package/index.mjs +5012 -0
  73. package/{dist/es/menu → menu}/BaseMenuItemInternalProps.d.ts +4 -0
  74. package/{dist/es/menu → menu}/MenuProps.d.ts +4 -1
  75. package/{dist/es/menu → menu}/components/Menu.d.ts +5 -1
  76. package/{dist/es/menu → menu}/components/MenuItem.d.ts +4 -0
  77. package/{dist/es/menu → menu}/components/MenuItemArrow.d.ts +5 -1
  78. package/{dist/es/menu → menu}/components/MenuItemInternal.d.ts +24 -1
  79. package/{dist/es/menu → menu}/components/MenuItemLink.d.ts +5 -1
  80. package/{dist/npm/menu → menu}/consts.d.ts +4 -0
  81. package/{dist/es/menu → menu}/events.d.ts +4 -0
  82. package/{dist/es/menu → menu}/models/BaseMenuItem.d.ts +4 -1
  83. package/{dist/es/menu → menu}/models/MenuItemModel.d.ts +4 -0
  84. package/menu/utils/DirectionHolder.d.ts +15 -0
  85. package/{dist/npm/menu → menu}/utils/MouseOverHandler.d.ts +4 -0
  86. package/{dist/es/menu → menu}/utils/getNewItemIdUponKeyboardNavigation.d.ts +4 -0
  87. package/menu/utils/hoverDelay.d.ts +13 -0
  88. package/{dist/es/menu → menu}/utils/itemsIdsUtils.d.ts +4 -0
  89. package/{dist/npm/menu → menu}/utils/misc.d.ts +4 -0
  90. package/menu/utils/prepareInputItemsForInternalWork.d.ts +10 -0
  91. package/package-metadata.d.ts +9 -0
  92. package/package.json +31 -48
  93. package/{dist/es/panelbar → panelbar}/PanelBar.d.ts +6 -2
  94. package/{dist/npm/panelbar → panelbar}/PanelBarItem.d.ts +6 -2
  95. package/panelbar/interfaces/NavigationAction.d.ts +12 -0
  96. package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +12 -0
  97. package/{dist/es/panelbar → panelbar}/interfaces/PanelBarItemProps.d.ts +4 -1
  98. package/{dist/es/panelbar → panelbar}/interfaces/PanelBarProps.d.ts +6 -3
  99. package/{dist/es/panelbar → panelbar}/interfaces/PanelBarSelectEventArguments.d.ts +4 -1
  100. package/panelbar/interfaces/RenderPanelBarItem.d.ts +19 -0
  101. package/{dist/es/panelbar → panelbar}/util.d.ts +5 -1
  102. package/{dist/es/splitter → splitter}/Splitter.d.ts +5 -1
  103. package/{dist/npm/splitter → splitter}/SplitterBar.d.ts +5 -1
  104. package/{dist/npm/splitter → splitter}/SplitterPane.d.ts +5 -1
  105. package/splitter/messages/index.d.ts +14 -0
  106. package/{dist/npm/stacklayout → stacklayout}/StackLayout.d.ts +4 -0
  107. package/{dist/es/stacklayout → stacklayout}/StackLayoutProps.d.ts +5 -1
  108. package/{dist/es/stepper → stepper}/Step.d.ts +4 -0
  109. package/{dist/es/stepper → stepper}/Stepper.d.ts +4 -0
  110. package/stepper/contants.d.ts +12 -0
  111. package/{dist/es/stepper → stepper}/context/StepperContext.d.ts +5 -1
  112. package/stepper/interfaces/StepChangeEvent.d.ts +15 -0
  113. package/stepper/interfaces/StepFocusEvent.d.ts +11 -0
  114. package/stepper/interfaces/StepHandle.d.ts +17 -0
  115. package/{dist/es/stepper → stepper}/interfaces/StepProps.d.ts +4 -0
  116. package/stepper/interfaces/StepperChangeEvent.d.ts +15 -0
  117. package/stepper/interfaces/StepperFocusEvent.d.ts +11 -0
  118. package/stepper/interfaces/StepperHandle.d.ts +17 -0
  119. package/{dist/npm/stepper → stepper}/interfaces/StepperProps.d.ts +4 -0
  120. package/stepper/messages/index.d.ts +19 -0
  121. package/{dist/es/tabstrip → tabstrip}/TabStrip.d.ts +5 -1
  122. package/{dist/npm/tabstrip → tabstrip}/TabStripContent.d.ts +5 -1
  123. package/{dist/es/tabstrip → tabstrip}/TabStripNavigation.d.ts +5 -1
  124. package/{dist/npm/tabstrip → tabstrip}/TabStripNavigationItem.d.ts +5 -1
  125. package/{dist/es/tabstrip → tabstrip}/TabStripTab.d.ts +4 -0
  126. package/{dist/es/tilelayout → tilelayout}/InternalTile.d.ts +6 -2
  127. package/{dist/es/tilelayout → tilelayout}/ResizeHandlers.d.ts +5 -1
  128. package/{dist/npm/tilelayout → tilelayout}/TileLayout.d.ts +6 -2
  129. package/{dist/es/tilelayout/interfaces/main.d.ts → tilelayout/interfaces/index.d.ts} +6 -3
  130. package/{dist/npm/timeline → timeline}/Timeline.d.ts +4 -0
  131. package/{dist/npm/timeline → timeline}/TimelineCard.d.ts +4 -0
  132. package/timeline/TimelineHorizontal.d.ts +7 -0
  133. package/{dist/es/timeline → timeline}/TimelineVertical.d.ts +4 -0
  134. package/{dist/npm/timeline → timeline}/utils.d.ts +4 -0
  135. package/about.md +0 -3
  136. package/dist/es/actionsheet/ActionSheet.d.ts +0 -134
  137. package/dist/es/actionsheet/ActionSheet.js +0 -267
  138. package/dist/es/actionsheet/ActionSheetContent.d.ts +0 -10
  139. package/dist/es/actionsheet/ActionSheetContent.js +0 -26
  140. package/dist/es/actionsheet/ActionSheetFooter.d.ts +0 -10
  141. package/dist/es/actionsheet/ActionSheetFooter.js +0 -26
  142. package/dist/es/actionsheet/ActionSheetHeader.d.ts +0 -10
  143. package/dist/es/actionsheet/ActionSheetHeader.js +0 -26
  144. package/dist/es/actionsheet/ActionSheetItem.d.ts +0 -6
  145. package/dist/es/actionsheet/ActionSheetItem.js +0 -38
  146. package/dist/es/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -13
  147. package/dist/es/actionsheet/interfaces/ActionSheetChildrenProps.js +0 -5
  148. package/dist/es/actionsheet/interfaces/ActionSheetItemProps.d.ts +0 -67
  149. package/dist/es/actionsheet/interfaces/ActionSheetItemProps.js +0 -1
  150. package/dist/es/appbar/AppBar.d.ts +0 -50
  151. package/dist/es/appbar/AppBar.js +0 -84
  152. package/dist/es/appbar/AppBarSection.d.ts +0 -49
  153. package/dist/es/appbar/AppBarSection.js +0 -58
  154. package/dist/es/appbar/AppBarSpacer.d.ts +0 -50
  155. package/dist/es/appbar/AppBarSpacer.js +0 -66
  156. package/dist/es/appbar/interfaces/AppBarProps.js +0 -1
  157. package/dist/es/appbar/interfaces/AppBarSectionProps.d.ts +0 -18
  158. package/dist/es/appbar/interfaces/AppBarSectionProps.js +0 -1
  159. package/dist/es/appbar/interfaces/AppBarSpacerProps.d.ts +0 -19
  160. package/dist/es/appbar/interfaces/AppBarSpacerProps.js +0 -1
  161. package/dist/es/bottomnavigation/BottomNavigation.js +0 -133
  162. package/dist/es/bottomnavigation/BottomNavigationItem.d.ts +0 -12
  163. package/dist/es/bottomnavigation/BottomNavigationItem.js +0 -53
  164. package/dist/es/bottomnavigation/BottomNavigationItemProps.d.ts +0 -61
  165. package/dist/es/bottomnavigation/BottomNavigationItemProps.js +0 -1
  166. package/dist/es/bottomnavigation/BottomNavigationProps.js +0 -1
  167. package/dist/es/bottomnavigation/models/events.d.ts +0 -20
  168. package/dist/es/bottomnavigation/models/events.js +0 -1
  169. package/dist/es/bottomnavigation/models/utils.d.ts +0 -36
  170. package/dist/es/bottomnavigation/models/utils.js +0 -36
  171. package/dist/es/breadcrumb/Breadcrumb.d.ts +0 -159
  172. package/dist/es/breadcrumb/Breadcrumb.js +0 -118
  173. package/dist/es/breadcrumb/BreadcrumbDelimiter.d.ts +0 -43
  174. package/dist/es/breadcrumb/BreadcrumbDelimiter.js +0 -32
  175. package/dist/es/breadcrumb/BreadcrumbLink.d.ts +0 -131
  176. package/dist/es/breadcrumb/BreadcrumbLink.js +0 -110
  177. package/dist/es/breadcrumb/BreadcrumbListItem.js +0 -36
  178. package/dist/es/breadcrumb/BreadcrumbOrderedList.d.ts +0 -55
  179. package/dist/es/breadcrumb/BreadcrumbOrderedList.js +0 -36
  180. package/dist/es/card/Avatar.d.ts +0 -3
  181. package/dist/es/card/Avatar.js +0 -39
  182. package/dist/es/card/Card.d.ts +0 -4
  183. package/dist/es/card/Card.js +0 -55
  184. package/dist/es/card/CardActions.d.ts +0 -3
  185. package/dist/es/card/CardActions.js +0 -23
  186. package/dist/es/card/CardBody.d.ts +0 -3
  187. package/dist/es/card/CardBody.js +0 -9
  188. package/dist/es/card/CardFooter.d.ts +0 -3
  189. package/dist/es/card/CardFooter.js +0 -9
  190. package/dist/es/card/CardHeader.d.ts +0 -3
  191. package/dist/es/card/CardHeader.js +0 -9
  192. package/dist/es/card/CardImage.d.ts +0 -3
  193. package/dist/es/card/CardImage.js +0 -22
  194. package/dist/es/card/CardSubtitle.d.ts +0 -3
  195. package/dist/es/card/CardSubtitle.js +0 -9
  196. package/dist/es/card/CardTitle.d.ts +0 -3
  197. package/dist/es/card/CardTitle.js +0 -9
  198. package/dist/es/card/interfaces/AvatarProps.d.ts +0 -85
  199. package/dist/es/card/interfaces/AvatarProps.js +0 -1
  200. package/dist/es/card/interfaces/CardActionsProps.js +0 -1
  201. package/dist/es/card/interfaces/CardBodyProps.d.ts +0 -15
  202. package/dist/es/card/interfaces/CardBodyProps.js +0 -1
  203. package/dist/es/card/interfaces/CardFooterProps.d.ts +0 -15
  204. package/dist/es/card/interfaces/CardFooterProps.js +0 -1
  205. package/dist/es/card/interfaces/CardHandle.d.ts +0 -14
  206. package/dist/es/card/interfaces/CardHandle.js +0 -1
  207. package/dist/es/card/interfaces/CardHeaderProps.d.ts +0 -15
  208. package/dist/es/card/interfaces/CardHeaderProps.js +0 -1
  209. package/dist/es/card/interfaces/CardImageProps.js +0 -1
  210. package/dist/es/card/interfaces/CardProps.js +0 -1
  211. package/dist/es/card/interfaces/CardSubtitleProps.d.ts +0 -15
  212. package/dist/es/card/interfaces/CardSubtitleProps.js +0 -1
  213. package/dist/es/card/interfaces/CardTitleProps.d.ts +0 -15
  214. package/dist/es/card/interfaces/CardTitleProps.js +0 -1
  215. package/dist/es/card/interfaces/Enums.d.ts +0 -23
  216. package/dist/es/card/interfaces/Enums.js +0 -27
  217. package/dist/es/contextmenu/ContextMenu.d.ts +0 -27
  218. package/dist/es/contextmenu/ContextMenu.js +0 -36
  219. package/dist/es/drawer/Drawer.js +0 -118
  220. package/dist/es/drawer/DrawerContent.js +0 -50
  221. package/dist/es/drawer/DrawerItem.d.ts +0 -32
  222. package/dist/es/drawer/DrawerItem.js +0 -101
  223. package/dist/es/drawer/DrawerNavigation.d.ts +0 -43
  224. package/dist/es/drawer/DrawerNavigation.js +0 -153
  225. package/dist/es/drawer/context/DrawerContext.d.ts +0 -20
  226. package/dist/es/drawer/context/DrawerContext.js +0 -16
  227. package/dist/es/drawer/interfaces/DrawerAnimation.d.ts +0 -14
  228. package/dist/es/drawer/interfaces/DrawerAnimation.js +0 -1
  229. package/dist/es/drawer/interfaces/DrawerContentProps.js +0 -1
  230. package/dist/es/drawer/interfaces/DrawerItemHandle.d.ts +0 -17
  231. package/dist/es/drawer/interfaces/DrawerItemHandle.js +0 -1
  232. package/dist/es/drawer/interfaces/DrawerItemProps.js +0 -1
  233. package/dist/es/drawer/interfaces/DrawerNavigationProps.d.ts +0 -18
  234. package/dist/es/drawer/interfaces/DrawerNavigationProps.js +0 -1
  235. package/dist/es/drawer/interfaces/DrawerProps.d.ts +0 -82
  236. package/dist/es/drawer/interfaces/DrawerProps.js +0 -1
  237. package/dist/es/drawer/interfaces/DrawerSelectEvent.js +0 -1
  238. package/dist/es/expansionpanel/ExpansionPanel.d.ts +0 -6
  239. package/dist/es/expansionpanel/ExpansionPanel.js +0 -76
  240. package/dist/es/expansionpanel/ExpansionPanelContent.d.ts +0 -5
  241. package/dist/es/expansionpanel/ExpansionPanelContent.js +0 -21
  242. package/dist/es/expansionpanel/index.d.ts +0 -3
  243. package/dist/es/expansionpanel/index.js +0 -3
  244. package/dist/es/expansionpanel/interfaces.js +0 -1
  245. package/dist/es/gridlayout/GridLayout.js +0 -92
  246. package/dist/es/gridlayout/GridLayoutItem.js +0 -60
  247. package/dist/es/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -9
  248. package/dist/es/gridlayout/interfaces/GridLayoutColumnProps.js +0 -1
  249. package/dist/es/gridlayout/interfaces/GridLayoutItemProps.d.ts +0 -40
  250. package/dist/es/gridlayout/interfaces/GridLayoutItemProps.js +0 -1
  251. package/dist/es/gridlayout/interfaces/GridLayoutProps.d.ts +0 -95
  252. package/dist/es/gridlayout/interfaces/GridLayoutProps.js +0 -1
  253. package/dist/es/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -9
  254. package/dist/es/gridlayout/interfaces/GridLayoutRowProps.js +0 -1
  255. package/dist/es/main.d.ts +0 -94
  256. package/dist/es/main.js +0 -94
  257. package/dist/es/menu/BaseMenuItemInternalProps.js +0 -1
  258. package/dist/es/menu/MenuProps.js +0 -2
  259. package/dist/es/menu/components/Menu.js +0 -277
  260. package/dist/es/menu/components/MenuItem.js +0 -46
  261. package/dist/es/menu/components/MenuItemArrow.js +0 -78
  262. package/dist/es/menu/components/MenuItemInternal.js +0 -165
  263. package/dist/es/menu/components/MenuItemInternalsList.d.ts +0 -22
  264. package/dist/es/menu/components/MenuItemInternalsList.js +0 -48
  265. package/dist/es/menu/components/MenuItemLink.js +0 -49
  266. package/dist/es/menu/consts.d.ts +0 -54
  267. package/dist/es/menu/consts.js +0 -70
  268. package/dist/es/menu/events.js +0 -2
  269. package/dist/es/menu/models/BaseMenuItem.js +0 -3
  270. package/dist/es/menu/models/MenuItemModel.js +0 -1
  271. package/dist/es/menu/utils/DirectionHolder.d.ts +0 -11
  272. package/dist/es/menu/utils/DirectionHolder.js +0 -24
  273. package/dist/es/menu/utils/MouseOverHandler.d.ts +0 -17
  274. package/dist/es/menu/utils/MouseOverHandler.js +0 -65
  275. package/dist/es/menu/utils/getNewItemIdUponKeyboardNavigation.js +0 -202
  276. package/dist/es/menu/utils/hoverDelay.d.ts +0 -9
  277. package/dist/es/menu/utils/hoverDelay.js +0 -17
  278. package/dist/es/menu/utils/itemsIdsUtils.js +0 -119
  279. package/dist/es/menu/utils/misc.d.ts +0 -16
  280. package/dist/es/menu/utils/misc.js +0 -42
  281. package/dist/es/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -6
  282. package/dist/es/menu/utils/prepareInputItemsForInternalWork.js +0 -105
  283. package/dist/es/package-metadata.d.ts +0 -5
  284. package/dist/es/package-metadata.js +0 -11
  285. package/dist/es/panelbar/PanelBar.js +0 -291
  286. package/dist/es/panelbar/PanelBarItem.d.ts +0 -48
  287. package/dist/es/panelbar/PanelBarItem.js +0 -153
  288. package/dist/es/panelbar/interfaces/NavigationAction.d.ts +0 -8
  289. package/dist/es/panelbar/interfaces/NavigationAction.js +0 -9
  290. package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -8
  291. package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.js +0 -1
  292. package/dist/es/panelbar/interfaces/PanelBarItemProps.js +0 -2
  293. package/dist/es/panelbar/interfaces/PanelBarProps.js +0 -1
  294. package/dist/es/panelbar/interfaces/PanelBarSelectEventArguments.js +0 -1
  295. package/dist/es/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -16
  296. package/dist/es/panelbar/interfaces/RenderPanelBarItem.js +0 -1
  297. package/dist/es/panelbar/util.js +0 -197
  298. package/dist/es/splitter/Splitter.js +0 -383
  299. package/dist/es/splitter/SplitterBar.d.ts +0 -40
  300. package/dist/es/splitter/SplitterBar.js +0 -183
  301. package/dist/es/splitter/SplitterPane.d.ts +0 -53
  302. package/dist/es/splitter/SplitterPane.js +0 -46
  303. package/dist/es/splitter/messages/index.d.ts +0 -10
  304. package/dist/es/splitter/messages/index.js +0 -11
  305. package/dist/es/stacklayout/StackLayout.d.ts +0 -37
  306. package/dist/es/stacklayout/StackLayout.js +0 -87
  307. package/dist/es/stacklayout/StackLayoutProps.js +0 -1
  308. package/dist/es/stepper/Step.js +0 -141
  309. package/dist/es/stepper/Stepper.js +0 -224
  310. package/dist/es/stepper/contants.d.ts +0 -8
  311. package/dist/es/stepper/contants.js +0 -8
  312. package/dist/es/stepper/context/StepperContext.js +0 -11
  313. package/dist/es/stepper/interfaces/StepChangeEvent.d.ts +0 -11
  314. package/dist/es/stepper/interfaces/StepChangeEvent.js +0 -1
  315. package/dist/es/stepper/interfaces/StepFocusEvent.d.ts +0 -7
  316. package/dist/es/stepper/interfaces/StepFocusEvent.js +0 -1
  317. package/dist/es/stepper/interfaces/StepHandle.d.ts +0 -13
  318. package/dist/es/stepper/interfaces/StepHandle.js +0 -4
  319. package/dist/es/stepper/interfaces/StepProps.js +0 -1
  320. package/dist/es/stepper/interfaces/StepperChangeEvent.d.ts +0 -11
  321. package/dist/es/stepper/interfaces/StepperChangeEvent.js +0 -1
  322. package/dist/es/stepper/interfaces/StepperFocusEvent.d.ts +0 -7
  323. package/dist/es/stepper/interfaces/StepperFocusEvent.js +0 -1
  324. package/dist/es/stepper/interfaces/StepperHandle.d.ts +0 -13
  325. package/dist/es/stepper/interfaces/StepperHandle.js +0 -4
  326. package/dist/es/stepper/interfaces/StepperOnNavigateEvent.d.ts +0 -26
  327. package/dist/es/stepper/interfaces/StepperOnNavigateEvent.js +0 -16
  328. package/dist/es/stepper/interfaces/StepperProps.d.ts +0 -94
  329. package/dist/es/stepper/interfaces/StepperProps.js +0 -1
  330. package/dist/es/stepper/messages/index.d.ts +0 -15
  331. package/dist/es/stepper/messages/index.js +0 -16
  332. package/dist/es/tabstrip/TabStrip.js +0 -218
  333. package/dist/es/tabstrip/TabStripContent.d.ts +0 -50
  334. package/dist/es/tabstrip/TabStripContent.js +0 -95
  335. package/dist/es/tabstrip/TabStripNavigation.js +0 -257
  336. package/dist/es/tabstrip/TabStripNavigationItem.d.ts +0 -67
  337. package/dist/es/tabstrip/TabStripNavigationItem.js +0 -106
  338. package/dist/es/tabstrip/TabStripTab.js +0 -47
  339. package/dist/es/tilelayout/InternalTile.js +0 -331
  340. package/dist/es/tilelayout/ResizeHandlers.js +0 -59
  341. package/dist/es/tilelayout/TileLayout.d.ts +0 -149
  342. package/dist/es/tilelayout/TileLayout.js +0 -178
  343. package/dist/es/tilelayout/interfaces/main.js +0 -1
  344. package/dist/es/timeline/Timeline.d.ts +0 -98
  345. package/dist/es/timeline/Timeline.js +0 -37
  346. package/dist/es/timeline/TimelineCard.d.ts +0 -34
  347. package/dist/es/timeline/TimelineCard.js +0 -62
  348. package/dist/es/timeline/TimelineHorizontal.d.ts +0 -3
  349. package/dist/es/timeline/TimelineHorizontal.js +0 -291
  350. package/dist/es/timeline/TimelineVertical.js +0 -72
  351. package/dist/es/timeline/utils.d.ts +0 -15
  352. package/dist/es/timeline/utils.js +0 -26
  353. package/dist/npm/actionsheet/ActionSheet.js +0 -270
  354. package/dist/npm/actionsheet/ActionSheetContent.d.ts +0 -10
  355. package/dist/npm/actionsheet/ActionSheetContent.js +0 -30
  356. package/dist/npm/actionsheet/ActionSheetFooter.d.ts +0 -10
  357. package/dist/npm/actionsheet/ActionSheetFooter.js +0 -30
  358. package/dist/npm/actionsheet/ActionSheetHeader.d.ts +0 -10
  359. package/dist/npm/actionsheet/ActionSheetHeader.js +0 -30
  360. package/dist/npm/actionsheet/ActionSheetItem.d.ts +0 -6
  361. package/dist/npm/actionsheet/ActionSheetItem.js +0 -42
  362. package/dist/npm/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -13
  363. package/dist/npm/actionsheet/interfaces/ActionSheetChildrenProps.js +0 -6
  364. package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.js +0 -2
  365. package/dist/npm/appbar/AppBar.js +0 -87
  366. package/dist/npm/appbar/AppBarSection.js +0 -61
  367. package/dist/npm/appbar/AppBarSpacer.js +0 -69
  368. package/dist/npm/appbar/interfaces/AppBarProps.d.ts +0 -79
  369. package/dist/npm/appbar/interfaces/AppBarProps.js +0 -2
  370. package/dist/npm/appbar/interfaces/AppBarSectionProps.js +0 -2
  371. package/dist/npm/appbar/interfaces/AppBarSpacerProps.js +0 -2
  372. package/dist/npm/bottomnavigation/BottomNavigation.d.ts +0 -38
  373. package/dist/npm/bottomnavigation/BottomNavigation.js +0 -136
  374. package/dist/npm/bottomnavigation/BottomNavigationItem.js +0 -56
  375. package/dist/npm/bottomnavigation/BottomNavigationItemProps.js +0 -2
  376. package/dist/npm/bottomnavigation/BottomNavigationProps.d.ts +0 -155
  377. package/dist/npm/bottomnavigation/BottomNavigationProps.js +0 -2
  378. package/dist/npm/bottomnavigation/models/events.js +0 -2
  379. package/dist/npm/bottomnavigation/models/utils.js +0 -39
  380. package/dist/npm/breadcrumb/Breadcrumb.js +0 -121
  381. package/dist/npm/breadcrumb/BreadcrumbDelimiter.js +0 -35
  382. package/dist/npm/breadcrumb/BreadcrumbLink.js +0 -113
  383. package/dist/npm/breadcrumb/BreadcrumbListItem.d.ts +0 -51
  384. package/dist/npm/breadcrumb/BreadcrumbListItem.js +0 -39
  385. package/dist/npm/breadcrumb/BreadcrumbOrderedList.js +0 -39
  386. package/dist/npm/card/Avatar.d.ts +0 -3
  387. package/dist/npm/card/Avatar.js +0 -43
  388. package/dist/npm/card/Card.d.ts +0 -4
  389. package/dist/npm/card/Card.js +0 -58
  390. package/dist/npm/card/CardActions.d.ts +0 -3
  391. package/dist/npm/card/CardActions.js +0 -27
  392. package/dist/npm/card/CardBody.d.ts +0 -3
  393. package/dist/npm/card/CardBody.js +0 -13
  394. package/dist/npm/card/CardFooter.d.ts +0 -3
  395. package/dist/npm/card/CardFooter.js +0 -13
  396. package/dist/npm/card/CardHeader.d.ts +0 -3
  397. package/dist/npm/card/CardHeader.js +0 -13
  398. package/dist/npm/card/CardImage.d.ts +0 -3
  399. package/dist/npm/card/CardImage.js +0 -26
  400. package/dist/npm/card/CardSubtitle.d.ts +0 -3
  401. package/dist/npm/card/CardSubtitle.js +0 -13
  402. package/dist/npm/card/CardTitle.d.ts +0 -3
  403. package/dist/npm/card/CardTitle.js +0 -13
  404. package/dist/npm/card/interfaces/AvatarProps.js +0 -2
  405. package/dist/npm/card/interfaces/CardActionsProps.d.ts +0 -35
  406. package/dist/npm/card/interfaces/CardActionsProps.js +0 -2
  407. package/dist/npm/card/interfaces/CardBodyProps.d.ts +0 -15
  408. package/dist/npm/card/interfaces/CardBodyProps.js +0 -2
  409. package/dist/npm/card/interfaces/CardFooterProps.d.ts +0 -15
  410. package/dist/npm/card/interfaces/CardFooterProps.js +0 -2
  411. package/dist/npm/card/interfaces/CardHandle.d.ts +0 -14
  412. package/dist/npm/card/interfaces/CardHandle.js +0 -2
  413. package/dist/npm/card/interfaces/CardHeaderProps.d.ts +0 -15
  414. package/dist/npm/card/interfaces/CardHeaderProps.js +0 -2
  415. package/dist/npm/card/interfaces/CardImageProps.d.ts +0 -19
  416. package/dist/npm/card/interfaces/CardImageProps.js +0 -2
  417. package/dist/npm/card/interfaces/CardProps.d.ts +0 -45
  418. package/dist/npm/card/interfaces/CardProps.js +0 -2
  419. package/dist/npm/card/interfaces/CardSubtitleProps.d.ts +0 -15
  420. package/dist/npm/card/interfaces/CardSubtitleProps.js +0 -2
  421. package/dist/npm/card/interfaces/CardTitleProps.d.ts +0 -15
  422. package/dist/npm/card/interfaces/CardTitleProps.js +0 -2
  423. package/dist/npm/card/interfaces/Enums.js +0 -30
  424. package/dist/npm/contextmenu/ContextMenu.js +0 -40
  425. package/dist/npm/drawer/Drawer.d.ts +0 -40
  426. package/dist/npm/drawer/Drawer.js +0 -121
  427. package/dist/npm/drawer/DrawerContent.d.ts +0 -39
  428. package/dist/npm/drawer/DrawerContent.js +0 -53
  429. package/dist/npm/drawer/DrawerItem.js +0 -104
  430. package/dist/npm/drawer/DrawerNavigation.js +0 -156
  431. package/dist/npm/drawer/context/DrawerContext.js +0 -19
  432. package/dist/npm/drawer/interfaces/DrawerAnimation.d.ts +0 -14
  433. package/dist/npm/drawer/interfaces/DrawerAnimation.js +0 -2
  434. package/dist/npm/drawer/interfaces/DrawerContentProps.d.ts +0 -18
  435. package/dist/npm/drawer/interfaces/DrawerContentProps.js +0 -2
  436. package/dist/npm/drawer/interfaces/DrawerItemHandle.d.ts +0 -17
  437. package/dist/npm/drawer/interfaces/DrawerItemHandle.js +0 -2
  438. package/dist/npm/drawer/interfaces/DrawerItemProps.d.ts +0 -61
  439. package/dist/npm/drawer/interfaces/DrawerItemProps.js +0 -2
  440. package/dist/npm/drawer/interfaces/DrawerNavigationProps.js +0 -2
  441. package/dist/npm/drawer/interfaces/DrawerProps.js +0 -2
  442. package/dist/npm/drawer/interfaces/DrawerSelectEvent.d.ts +0 -15
  443. package/dist/npm/drawer/interfaces/DrawerSelectEvent.js +0 -2
  444. package/dist/npm/expansionpanel/ExpansionPanel.d.ts +0 -6
  445. package/dist/npm/expansionpanel/ExpansionPanel.js +0 -79
  446. package/dist/npm/expansionpanel/ExpansionPanelContent.d.ts +0 -5
  447. package/dist/npm/expansionpanel/ExpansionPanelContent.js +0 -24
  448. package/dist/npm/expansionpanel/index.d.ts +0 -3
  449. package/dist/npm/expansionpanel/index.js +0 -19
  450. package/dist/npm/expansionpanel/interfaces.d.ts +0 -89
  451. package/dist/npm/expansionpanel/interfaces.js +0 -2
  452. package/dist/npm/gridlayout/GridLayout.d.ts +0 -39
  453. package/dist/npm/gridlayout/GridLayout.js +0 -95
  454. package/dist/npm/gridlayout/GridLayoutItem.d.ts +0 -38
  455. package/dist/npm/gridlayout/GridLayoutItem.js +0 -63
  456. package/dist/npm/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -9
  457. package/dist/npm/gridlayout/interfaces/GridLayoutColumnProps.js +0 -2
  458. package/dist/npm/gridlayout/interfaces/GridLayoutItemProps.js +0 -2
  459. package/dist/npm/gridlayout/interfaces/GridLayoutProps.js +0 -2
  460. package/dist/npm/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -9
  461. package/dist/npm/gridlayout/interfaces/GridLayoutRowProps.js +0 -2
  462. package/dist/npm/main.js +0 -115
  463. package/dist/npm/menu/BaseMenuItemInternalProps.d.ts +0 -20
  464. package/dist/npm/menu/BaseMenuItemInternalProps.js +0 -2
  465. package/dist/npm/menu/MenuProps.d.ts +0 -68
  466. package/dist/npm/menu/MenuProps.js +0 -3
  467. package/dist/npm/menu/components/Menu.d.ts +0 -109
  468. package/dist/npm/menu/components/Menu.js +0 -280
  469. package/dist/npm/menu/components/MenuItem.d.ts +0 -29
  470. package/dist/npm/menu/components/MenuItem.js +0 -49
  471. package/dist/npm/menu/components/MenuItemArrow.d.ts +0 -46
  472. package/dist/npm/menu/components/MenuItemArrow.js +0 -81
  473. package/dist/npm/menu/components/MenuItemInternal.d.ts +0 -40
  474. package/dist/npm/menu/components/MenuItemInternal.js +0 -168
  475. package/dist/npm/menu/components/MenuItemInternalsList.d.ts +0 -22
  476. package/dist/npm/menu/components/MenuItemInternalsList.js +0 -51
  477. package/dist/npm/menu/components/MenuItemLink.d.ts +0 -30
  478. package/dist/npm/menu/components/MenuItemLink.js +0 -52
  479. package/dist/npm/menu/consts.js +0 -73
  480. package/dist/npm/menu/events.d.ts +0 -16
  481. package/dist/npm/menu/events.js +0 -3
  482. package/dist/npm/menu/models/BaseMenuItem.d.ts +0 -55
  483. package/dist/npm/menu/models/BaseMenuItem.js +0 -4
  484. package/dist/npm/menu/models/MenuItemModel.d.ts +0 -19
  485. package/dist/npm/menu/models/MenuItemModel.js +0 -2
  486. package/dist/npm/menu/utils/DirectionHolder.d.ts +0 -11
  487. package/dist/npm/menu/utils/DirectionHolder.js +0 -27
  488. package/dist/npm/menu/utils/MouseOverHandler.js +0 -68
  489. package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +0 -7
  490. package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.js +0 -206
  491. package/dist/npm/menu/utils/hoverDelay.d.ts +0 -9
  492. package/dist/npm/menu/utils/hoverDelay.js +0 -22
  493. package/dist/npm/menu/utils/itemsIdsUtils.d.ts +0 -64
  494. package/dist/npm/menu/utils/itemsIdsUtils.js +0 -135
  495. package/dist/npm/menu/utils/misc.js +0 -49
  496. package/dist/npm/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -6
  497. package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +0 -109
  498. package/dist/npm/package-metadata.d.ts +0 -5
  499. package/dist/npm/package-metadata.js +0 -14
  500. package/dist/npm/panelbar/PanelBar.d.ts +0 -77
  501. package/dist/npm/panelbar/PanelBar.js +0 -294
  502. package/dist/npm/panelbar/PanelBarItem.js +0 -156
  503. package/dist/npm/panelbar/interfaces/NavigationAction.d.ts +0 -8
  504. package/dist/npm/panelbar/interfaces/NavigationAction.js +0 -12
  505. package/dist/npm/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -8
  506. package/dist/npm/panelbar/interfaces/PanelBarItemClickEventArguments.js +0 -2
  507. package/dist/npm/panelbar/interfaces/PanelBarItemProps.d.ts +0 -95
  508. package/dist/npm/panelbar/interfaces/PanelBarItemProps.js +0 -3
  509. package/dist/npm/panelbar/interfaces/PanelBarProps.d.ts +0 -63
  510. package/dist/npm/panelbar/interfaces/PanelBarProps.js +0 -2
  511. package/dist/npm/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +0 -15
  512. package/dist/npm/panelbar/interfaces/PanelBarSelectEventArguments.js +0 -2
  513. package/dist/npm/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -16
  514. package/dist/npm/panelbar/interfaces/RenderPanelBarItem.js +0 -2
  515. package/dist/npm/panelbar/util.d.ts +0 -52
  516. package/dist/npm/panelbar/util.js +0 -208
  517. package/dist/npm/splitter/Splitter.d.ts +0 -132
  518. package/dist/npm/splitter/Splitter.js +0 -386
  519. package/dist/npm/splitter/SplitterBar.js +0 -186
  520. package/dist/npm/splitter/SplitterPane.js +0 -49
  521. package/dist/npm/splitter/messages/index.d.ts +0 -10
  522. package/dist/npm/splitter/messages/index.js +0 -14
  523. package/dist/npm/stacklayout/StackLayout.js +0 -90
  524. package/dist/npm/stacklayout/StackLayoutProps.d.ts +0 -88
  525. package/dist/npm/stacklayout/StackLayoutProps.js +0 -2
  526. package/dist/npm/stepper/Step.d.ts +0 -23
  527. package/dist/npm/stepper/Step.js +0 -144
  528. package/dist/npm/stepper/Stepper.d.ts +0 -23
  529. package/dist/npm/stepper/Stepper.js +0 -227
  530. package/dist/npm/stepper/contants.d.ts +0 -8
  531. package/dist/npm/stepper/contants.js +0 -11
  532. package/dist/npm/stepper/context/StepperContext.d.ts +0 -23
  533. package/dist/npm/stepper/context/StepperContext.js +0 -14
  534. package/dist/npm/stepper/interfaces/StepChangeEvent.d.ts +0 -11
  535. package/dist/npm/stepper/interfaces/StepChangeEvent.js +0 -2
  536. package/dist/npm/stepper/interfaces/StepFocusEvent.d.ts +0 -7
  537. package/dist/npm/stepper/interfaces/StepFocusEvent.js +0 -2
  538. package/dist/npm/stepper/interfaces/StepHandle.d.ts +0 -13
  539. package/dist/npm/stepper/interfaces/StepHandle.js +0 -5
  540. package/dist/npm/stepper/interfaces/StepProps.d.ts +0 -79
  541. package/dist/npm/stepper/interfaces/StepProps.js +0 -2
  542. package/dist/npm/stepper/interfaces/StepperChangeEvent.d.ts +0 -11
  543. package/dist/npm/stepper/interfaces/StepperChangeEvent.js +0 -2
  544. package/dist/npm/stepper/interfaces/StepperFocusEvent.d.ts +0 -7
  545. package/dist/npm/stepper/interfaces/StepperFocusEvent.js +0 -2
  546. package/dist/npm/stepper/interfaces/StepperHandle.d.ts +0 -13
  547. package/dist/npm/stepper/interfaces/StepperHandle.js +0 -5
  548. package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.d.ts +0 -26
  549. package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.js +0 -19
  550. package/dist/npm/stepper/interfaces/StepperProps.js +0 -2
  551. package/dist/npm/stepper/messages/index.d.ts +0 -15
  552. package/dist/npm/stepper/messages/index.js +0 -19
  553. package/dist/npm/tabstrip/TabStrip.d.ts +0 -147
  554. package/dist/npm/tabstrip/TabStrip.js +0 -221
  555. package/dist/npm/tabstrip/TabStripContent.js +0 -98
  556. package/dist/npm/tabstrip/TabStripNavigation.d.ts +0 -98
  557. package/dist/npm/tabstrip/TabStripNavigation.js +0 -260
  558. package/dist/npm/tabstrip/TabStripNavigationItem.js +0 -109
  559. package/dist/npm/tabstrip/TabStripTab.d.ts +0 -38
  560. package/dist/npm/tabstrip/TabStripTab.js +0 -50
  561. package/dist/npm/tilelayout/InternalTile.d.ts +0 -90
  562. package/dist/npm/tilelayout/InternalTile.js +0 -334
  563. package/dist/npm/tilelayout/ResizeHandlers.d.ts +0 -20
  564. package/dist/npm/tilelayout/ResizeHandlers.js +0 -62
  565. package/dist/npm/tilelayout/TileLayout.js +0 -181
  566. package/dist/npm/tilelayout/interfaces/main.d.ts +0 -142
  567. package/dist/npm/tilelayout/interfaces/main.js +0 -2
  568. package/dist/npm/timeline/Timeline.js +0 -41
  569. package/dist/npm/timeline/TimelineCard.js +0 -66
  570. package/dist/npm/timeline/TimelineHorizontal.d.ts +0 -3
  571. package/dist/npm/timeline/TimelineHorizontal.js +0 -295
  572. package/dist/npm/timeline/TimelineVertical.d.ts +0 -12
  573. package/dist/npm/timeline/TimelineVertical.js +0 -76
  574. package/dist/npm/timeline/utils.js +0 -31
  575. package/dist/systemjs/kendo-react-layout.js +0 -1
  576. package/e2e-next/actionsheet.basic.tests.ts +0 -25
  577. package/e2e-next/appbar.basic.tests.ts +0 -24
  578. package/e2e-next/avatar.basic.tests.ts +0 -24
  579. package/e2e-next/bottomnav.basic.tests.ts +0 -24
  580. package/e2e-next/breadcrumb.basic.tests.ts +0 -24
  581. package/e2e-next/card.basic.tests.ts +0 -24
  582. package/e2e-next/contextmenu.basic.tests.ts +0 -25
  583. package/e2e-next/drawer.basic.tests.ts +0 -24
  584. package/e2e-next/expansionpanel.basic.tests.ts +0 -23
  585. package/e2e-next/gridlayout.basic.tests.ts +0 -24
  586. package/e2e-next/menu.basic.tests.ts +0 -24
  587. package/e2e-next/panelbar.basic.tests.ts +0 -24
  588. package/e2e-next/splitter.basic.tests.ts +0 -24
  589. package/e2e-next/stacklayout.basic.tests.ts +0 -24
  590. package/e2e-next/tabstrip.basic.tests.ts +0 -24
  591. package/e2e-next/tilelayout.basic.tests.ts +0 -24
  592. package/e2e-next/timeline.basic.tests.ts +0 -24
@@ -1,119 +0,0 @@
1
- /**
2
- * @hidden
3
- */
4
- export var EMPTY_ID = '';
5
- /**
6
- * @hidden
7
- */
8
- export var ZERO_LEVEL_ZERO_ITEM_ID = '0';
9
- /**
10
- * @hidden
11
- */
12
- export var SEPARATOR = '_';
13
- /**
14
- * @hidden
15
- */
16
- export function getItemById(itemId, items) {
17
- if (isIdZeroLevel(itemId)) {
18
- return items[Number(itemId)];
19
- }
20
- else {
21
- var rootParentItem = items[Number(getRootParentId(itemId))];
22
- return rootParentItem.items ?
23
- getItemById(getIdWithoutRootParentId(itemId), rootParentItem.items) : undefined;
24
- }
25
- }
26
- /**
27
- * @hidden
28
- */
29
- export function getRootParentId(itemId) {
30
- return isIdEmptyOrZeroLevel(itemId) ? itemId : itemId.split(SEPARATOR)[0];
31
- }
32
- /**
33
- * @hidden
34
- */
35
- export function getIdWithoutRootParentId(itemId) {
36
- if (isIdEmptyOrZeroLevel(itemId)) {
37
- return itemId;
38
- }
39
- else {
40
- var firstSeparatorIndex = itemId.indexOf(SEPARATOR);
41
- return itemId.substring(firstSeparatorIndex + 1);
42
- }
43
- }
44
- /**
45
- * @hidden
46
- */
47
- export function getFirstChildId(itemId) {
48
- return createId('0', itemId);
49
- }
50
- /**
51
- * @hidden
52
- */
53
- export function shouldOpenItem(itemId, lastItemIdToBeOpened) {
54
- if (lastItemIdToBeOpened.indexOf(itemId) === 0) {
55
- return lastItemIdToBeOpened.length === itemId.length ||
56
- lastItemIdToBeOpened.charAt(itemId.length) === SEPARATOR;
57
- }
58
- else {
59
- return false;
60
- }
61
- }
62
- /**
63
- * @hidden
64
- */
65
- export function createId(childId, parentId) {
66
- return parentId ? parentId + SEPARATOR + childId : childId;
67
- }
68
- /**
69
- * @hidden
70
- */
71
- export function getDirectParentId(itemId) {
72
- var lastSeparatorIndex = itemId.lastIndexOf(SEPARATOR);
73
- return lastSeparatorIndex < 0 ? EMPTY_ID : itemId.substring(0, lastSeparatorIndex);
74
- }
75
- /**
76
- * @hidden
77
- */
78
- export function isIdEmptyOrZeroLevel(itemId) {
79
- return itemId === EMPTY_ID || itemId.indexOf(SEPARATOR) < 0;
80
- }
81
- /**
82
- * @hidden
83
- */
84
- export function isIdZeroLevel(itemId) {
85
- return itemId !== EMPTY_ID && itemId.indexOf(SEPARATOR) < 0;
86
- }
87
- /**
88
- * @hidden
89
- */
90
- export function isIdFirstLevel(itemId) {
91
- return getSeparatorOccurances(itemId) === 1;
92
- }
93
- /**
94
- * @hidden
95
- */
96
- export function isFirstItemFromSiblings(itemId) {
97
- return getShortId(itemId) === ZERO_LEVEL_ZERO_ITEM_ID;
98
- }
99
- /**
100
- * @hidden
101
- */
102
- export function getShortId(itemId) {
103
- var lastSeparatorIndex = itemId.lastIndexOf(SEPARATOR);
104
- return lastSeparatorIndex < 0 ? itemId : itemId.substring(lastSeparatorIndex + 1);
105
- }
106
- /**
107
- * @hidden
108
- */
109
- export function getDirectSiblingIdForLevelZero(next, shortItemId, siblingsCount) {
110
- if (!isIdZeroLevel(shortItemId)) {
111
- return shortItemId;
112
- }
113
- return next ?
114
- Number(shortItemId) < siblingsCount - 1 ? (Number(shortItemId) + 1).toString() : '0' :
115
- Number(shortItemId) > 0 ? (Number(shortItemId) - 1).toString() : (siblingsCount - 1).toString();
116
- }
117
- function getSeparatorOccurances(itemId) {
118
- return itemId.split(SEPARATOR).length - 1;
119
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @hidden
3
- */
4
- export declare function getPopupSettings(itemId: string, isMenuVertical: boolean, isDirectionRightToLeft?: boolean): any;
5
- /**
6
- * @hidden
7
- */
8
- export declare function getChildrenPosition(itemId: string, isMenuVertical: boolean, isDirectionRightToLeft?: boolean): "leftward" | "rightward" | "downward";
9
- /**
10
- * @hidden
11
- */
12
- export declare function convertBoolDirectionToString(isDirectionRightToLeft?: boolean): "ltr" | "rtl";
13
- /**
14
- * @hidden
15
- */
16
- export declare function getDOMElementId(menuGuid: string, itemId: string): string;
@@ -1,42 +0,0 @@
1
- import { POPUP_SETTINGS, POPUP_SETTINGS_RTL } from '../consts';
2
- import { isIdZeroLevel } from './itemsIdsUtils';
3
- /**
4
- * @hidden
5
- */
6
- export function getPopupSettings(itemId, isMenuVertical, isDirectionRightToLeft) {
7
- var childrenPosition = getChildrenPosition(itemId, isMenuVertical, isDirectionRightToLeft);
8
- if (isDirectionRightToLeft) {
9
- return childrenPosition === 'downward' ? POPUP_SETTINGS_RTL.downward : POPUP_SETTINGS_RTL.leftward;
10
- }
11
- else {
12
- return childrenPosition === 'downward' ? POPUP_SETTINGS.downward : POPUP_SETTINGS.rightward;
13
- }
14
- }
15
- /**
16
- * @hidden
17
- */
18
- export function getChildrenPosition(itemId, isMenuVertical, isDirectionRightToLeft) {
19
- if (isIdZeroLevel(itemId)) {
20
- if (isMenuVertical) {
21
- return isDirectionRightToLeft ? 'leftward' : 'rightward';
22
- }
23
- else {
24
- return 'downward';
25
- }
26
- }
27
- else {
28
- return isDirectionRightToLeft ? 'leftward' : 'rightward';
29
- }
30
- }
31
- /**
32
- * @hidden
33
- */
34
- export function convertBoolDirectionToString(isDirectionRightToLeft) {
35
- return isDirectionRightToLeft ? 'rtl' : 'ltr';
36
- }
37
- /**
38
- * @hidden
39
- */
40
- export function getDOMElementId(menuGuid, itemId) {
41
- return "".concat(menuGuid, "_").concat(itemId);
42
- }
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { MenuItemModel } from '../models/MenuItemModel';
3
- /**
4
- * @hidden
5
- */
6
- export declare function prepareInputItemsForInternalWork(models?: MenuItemModel[], menuChildren?: React.ReactNode): any;
@@ -1,105 +0,0 @@
1
- import * as React from 'react';
2
- import { createId, ZERO_LEVEL_ZERO_ITEM_ID } from './itemsIdsUtils';
3
- import { MenuItem } from '../components/MenuItem';
4
- /**
5
- * @hidden
6
- */
7
- export function prepareInputItemsForInternalWork(models, menuChildren) {
8
- if (models && models.length > 0) {
9
- return {
10
- items: convertInputModelsToInternalOnesHelper(models),
11
- inputItems: models
12
- };
13
- }
14
- else if (getMenuItemChildComponents(menuChildren).length > 0) {
15
- var inputModels = convertInputComponentsToInputModelsHelper(getMenuItemChildComponents(menuChildren));
16
- return { items: convertInputModelsToInternalOnesHelper(inputModels), inputItems: inputModels };
17
- }
18
- else {
19
- return { items: [], inputItems: [] };
20
- }
21
- }
22
- function copyInputItemWithoutChildren(inputModel, inputComponent) {
23
- var result = {};
24
- var _a = inputModel ? inputModel : inputComponent.props, text = _a.text, url = _a.url, icon = _a.icon, svgIcon = _a.svgIcon, disabled = _a.disabled, cssClass = _a.cssClass, cssStyle = _a.cssStyle, render = _a.render, linkRender = _a.linkRender, contentRender = _a.contentRender, data = _a.data;
25
- if (text !== undefined) {
26
- result.text = text;
27
- }
28
- if (url !== undefined) {
29
- result.url = url;
30
- }
31
- if (icon !== undefined) {
32
- result.icon = icon;
33
- }
34
- if (svgIcon !== undefined) {
35
- result.svgIcon = svgIcon;
36
- }
37
- if (disabled !== undefined) {
38
- result.disabled = disabled;
39
- }
40
- if (cssClass !== undefined) {
41
- result.cssClass = cssClass;
42
- }
43
- if (cssStyle !== undefined) {
44
- result.cssStyle = cssStyle;
45
- }
46
- if (render !== undefined) {
47
- result.render = render;
48
- }
49
- if (linkRender !== undefined) {
50
- result.linkRender = linkRender;
51
- }
52
- if (contentRender !== undefined) {
53
- result.contentRender = contentRender;
54
- }
55
- if (data !== undefined) {
56
- result.data = data;
57
- }
58
- return result;
59
- }
60
- function getMenuItemChildComponents(menuChildren) {
61
- return React.Children.toArray(menuChildren)
62
- .filter(function (child) { return child && child.type === MenuItem; });
63
- }
64
- function convertInputComponentsToInputModelsHelper(components) {
65
- var result = [];
66
- for (var index = 0; index < components.length; index++) {
67
- var comp = components[index];
68
- var model = copyInputItemWithoutChildren(undefined, comp);
69
- var items = convertInputComponentsToInputModelsHelper(getMenuItemChildComponents(comp.props.children));
70
- if (items.length > 0) {
71
- model.items = items;
72
- }
73
- result.push(model);
74
- }
75
- return result;
76
- }
77
- function convertInputModelsToInternalOnesHelper(inputModels, parentId) {
78
- var result = [];
79
- for (var index = 0; index < inputModels.length; index++) {
80
- var inputModel = inputModels[index];
81
- var internalModel = copyInputItemWithoutChildren(inputModel);
82
- internalModel.id = createId(index.toString(), parentId);
83
- internalModel.isLastFromSiblings = index === inputModels.length - 1;
84
- internalModel.items = copyOrCreateModelChildren(inputModel, internalModel);
85
- result.push(internalModel);
86
- }
87
- return result;
88
- }
89
- function copyOrCreateModelChildren(inputModel, internalModel) {
90
- if (inputModel.contentRender) {
91
- return [{
92
- contentParentItemId: internalModel.id,
93
- id: createId(ZERO_LEVEL_ZERO_ITEM_ID, internalModel.id),
94
- isLastFromSiblings: true,
95
- contentRender: inputModel.contentRender,
96
- items: []
97
- }];
98
- }
99
- else if (inputModel.items) {
100
- return convertInputModelsToInternalOnesHelper(inputModel.items, internalModel.id);
101
- }
102
- else {
103
- return [];
104
- }
105
- }
@@ -1,5 +0,0 @@
1
- import { PackageMetadata } from '@progress/kendo-licensing';
2
- /**
3
- * @hidden
4
- */
5
- export declare const packageMetadata: PackageMetadata;
@@ -1,11 +0,0 @@
1
- /**
2
- * @hidden
3
- */
4
- export var packageMetadata = {
5
- name: '@progress/kendo-react-layout',
6
- productName: 'KendoReact',
7
- productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1700063587,
9
- version: '',
10
- 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'
11
- };
@@ -1,291 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
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");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- var __assign = (this && this.__assign) || function () {
17
- __assign = Object.assign || function(t) {
18
- for (var s, i = 1, n = arguments.length; i < n; i++) {
19
- s = arguments[i];
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
- t[p] = s[p];
22
- }
23
- return t;
24
- };
25
- return __assign.apply(this, arguments);
26
- };
27
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
28
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
29
- if (ar || !(i in from)) {
30
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
31
- ar[i] = from[i];
32
- }
33
- }
34
- return to.concat(ar || Array.prototype.slice.call(from));
35
- };
36
- import * as React from 'react';
37
- import * as PropTypes from 'prop-types';
38
- import { PanelBarItem } from './PanelBarItem';
39
- import { renderChildren, getInitialState, flatVisibleChildren, flatChildren, isArrayEqual, getFirstId } from './util';
40
- import { classNames, Keys, validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-react-common';
41
- import { packageMetadata } from '../package-metadata';
42
- import { NavigationAction } from './interfaces/NavigationAction';
43
- var PanelBar = /** @class */ (function (_super) {
44
- __extends(PanelBar, _super);
45
- function PanelBar(props) {
46
- var _this = _super.call(this, props) || this;
47
- _this._element = null;
48
- _this.showLicenseWatermark = false;
49
- /**
50
- * @hidden
51
- */
52
- _this.handleSelect = function (event) {
53
- _this.onSelect(event);
54
- _this.onFocus(event);
55
- };
56
- /**
57
- * @hidden
58
- */
59
- _this.onSelect = function (event) {
60
- var flattenChildren = flatChildren(React.Children.toArray(_this.children));
61
- var selectedChild;
62
- var newExpanded;
63
- flattenChildren.forEach(function (child) {
64
- if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {
65
- selectedChild = child;
66
- }
67
- });
68
- switch (_this.expandMode) {
69
- case 'single':
70
- newExpanded = __spreadArray(__spreadArray([], selectedChild.props.parentUniquePrivateKey, true), [selectedChild.props.uniquePrivateKey], false);
71
- if (isArrayEqual(_this.expandedItems, newExpanded)) {
72
- if (selectedChild.props.parentUniquePrivateKey) {
73
- newExpanded = __spreadArray([], selectedChild.props.parentUniquePrivateKey, true);
74
- }
75
- else {
76
- newExpanded = [];
77
- }
78
- }
79
- break;
80
- case 'multiple':
81
- newExpanded = _this.expandedItems.slice();
82
- var index = newExpanded.indexOf(selectedChild.props.uniquePrivateKey);
83
- index === -1 ? newExpanded.push(selectedChild.props.uniquePrivateKey) : newExpanded.splice(index, 1);
84
- break;
85
- default:
86
- newExpanded = _this.expandedItems.slice();
87
- break;
88
- }
89
- _this.setState({ selected: selectedChild.props.uniquePrivateKey, expanded: newExpanded });
90
- if (_this.props.onSelect) {
91
- _this.props.onSelect.call(undefined, {
92
- target: selectedChild,
93
- expandedItems: newExpanded
94
- });
95
- }
96
- };
97
- /**
98
- * @hidden
99
- */
100
- _this.onFocus = function (event, step) {
101
- if (step === void 0) { step = 0; }
102
- var flattenChildren = flatVisibleChildren(React.Children.toArray(_this.children));
103
- var focusedChild;
104
- flattenChildren.forEach(function (child, ixd) {
105
- if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {
106
- var index = ixd + step < 0
107
- ? 0
108
- : ixd + step > flattenChildren.length
109
- ? flattenChildren.length - 1
110
- : ixd + step;
111
- focusedChild = flattenChildren[index];
112
- }
113
- });
114
- if (focusedChild) {
115
- _this.activeDescendant = focusedChild.props.id;
116
- _this.setState({ focused: focusedChild.props.uniquePrivateKey });
117
- }
118
- };
119
- /**
120
- * @hidden
121
- */
122
- _this.onNavigate = function (event, action) {
123
- var step;
124
- switch (action) {
125
- case NavigationAction.Previous:
126
- step = -1;
127
- _this.onFocus(event, step);
128
- break;
129
- case NavigationAction.Next:
130
- step = 1;
131
- _this.onFocus(event, step);
132
- break;
133
- case NavigationAction.Toggle:
134
- _this.onSelect(event);
135
- break;
136
- default:
137
- }
138
- };
139
- _this.handleWrapperFocus = function () {
140
- clearTimeout(_this.nextTickId);
141
- if (!_this.state.wrapperFocused) {
142
- _this.setState({ wrapperFocused: true });
143
- }
144
- };
145
- _this.handleWrapperBlur = function () {
146
- _this.nextTick(function () {
147
- _this.setState({ wrapperFocused: false });
148
- });
149
- };
150
- _this.handleKeyDown = function (event) {
151
- var rtl = _this._element && (getComputedStyle(_this._element).direction === 'rtl') || false;
152
- if (event.target === event.currentTarget) {
153
- var keyCode = event.keyCode;
154
- var action = void 0;
155
- switch (keyCode) {
156
- case Keys.left:
157
- action = !rtl ? NavigationAction.Previous : NavigationAction.Next;
158
- break;
159
- case Keys.up:
160
- action = NavigationAction.Previous;
161
- break;
162
- case Keys.right:
163
- action = !rtl ? NavigationAction.Next : NavigationAction.Previous;
164
- break;
165
- case Keys.down:
166
- action = NavigationAction.Next;
167
- break;
168
- case Keys.space:
169
- case Keys.enter:
170
- action = NavigationAction.Toggle;
171
- break;
172
- default:
173
- action = null;
174
- break;
175
- }
176
- if (action !== null) {
177
- event.preventDefault();
178
- _this.onNavigate(event, action);
179
- }
180
- }
181
- };
182
- validatePackage(packageMetadata);
183
- _this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
184
- var initialState = getInitialState(props, _this.expandMode);
185
- if (!initialState.focused) {
186
- initialState.focused = getFirstId(props);
187
- }
188
- _this.state = initialState;
189
- return _this;
190
- }
191
- Object.defineProperty(PanelBar.prototype, "expandMode", {
192
- get: function () {
193
- return this.props.expandMode || 'multiple';
194
- },
195
- enumerable: false,
196
- configurable: true
197
- });
198
- Object.defineProperty(PanelBar.prototype, "selectedItem", {
199
- get: function () {
200
- var _a = this.props.selected, selected = _a === void 0 ? this.state.selected : _a;
201
- return selected;
202
- },
203
- enumerable: false,
204
- configurable: true
205
- });
206
- Object.defineProperty(PanelBar.prototype, "expandedItems", {
207
- get: function () {
208
- var expanded = this.props.isControlled ? this.props.expanded || [] : this.state.expanded;
209
- return expanded;
210
- },
211
- enumerable: false,
212
- configurable: true
213
- });
214
- Object.defineProperty(PanelBar.prototype, "children", {
215
- get: function () {
216
- var state = __assign(__assign({}, this.state), { selected: this.selectedItem });
217
- var renderState = {
218
- animation: this.props.animation,
219
- keepItemsMounted: this.props.keepItemsMounted,
220
- state: state,
221
- expanded: this.expandedItems,
222
- handleSelect: this.handleSelect,
223
- children: this.props.children
224
- };
225
- return renderChildren(renderState);
226
- },
227
- enumerable: false,
228
- configurable: true
229
- });
230
- /**
231
- * @hidden
232
- */
233
- PanelBar.prototype.render = function () {
234
- var _this = this;
235
- var ariaProps = {
236
- 'aria-activedescendant': this.activeDescendant
237
- };
238
- var className = classNames('k-panelbar', 'k-pos-relative', this.props.className);
239
- 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),
240
- this.children,
241
- this.showLicenseWatermark && React.createElement(WatermarkOverlay, null)));
242
- };
243
- PanelBar.prototype.nextTick = function (f) {
244
- this.nextTickId = window.setTimeout(function () { return f(); });
245
- };
246
- /**
247
- * @hidden
248
- */
249
- PanelBar.propTypes = {
250
- animation: PropTypes.bool,
251
- children: function (props, propName) {
252
- var prop = props[propName];
253
- if (prop) {
254
- if (Array.isArray(prop)) {
255
- for (var _i = 0, prop_1 = prop; _i < prop_1.length; _i++) {
256
- var value = prop_1[_i];
257
- if (!value.type || value.type !== PanelBarItem) {
258
- return new Error('PanelBar children should be either PanelBarItem or Array of PanelBarItem.');
259
- }
260
- }
261
- }
262
- else {
263
- if (prop.type !== PanelBarItem) {
264
- return new Error('PanelBar child should be either PanelBarItem or Array of PanelBarItem.');
265
- }
266
- }
267
- return null;
268
- }
269
- return null;
270
- },
271
- dir: PropTypes.string,
272
- selected: PropTypes.string,
273
- expanded: PropTypes.arrayOf(PropTypes.string),
274
- focused: PropTypes.string,
275
- expandMode: PropTypes.oneOf(['single', 'multiple']),
276
- className: PropTypes.string,
277
- keepItemsMounted: PropTypes.bool,
278
- onSelect: PropTypes.func,
279
- style: PropTypes.object
280
- };
281
- /**
282
- * @hidden
283
- */
284
- PanelBar.defaultProps = {
285
- expandMode: 'multiple',
286
- animation: true,
287
- keepItemsMounted: false
288
- };
289
- return PanelBar;
290
- }(React.Component));
291
- export { PanelBar };
@@ -1,48 +0,0 @@
1
- import * as React from 'react';
2
- import * as PropTypes from 'prop-types';
3
- import { PanelBarItemProps } from '../main';
4
- /** @hidden */
5
- interface PanelBarItemState {
6
- show: boolean;
7
- }
8
- export declare class PanelBarItem extends React.PureComponent<PanelBarItemProps, PanelBarItemState> {
9
- /**
10
- * @hidden
11
- */
12
- static propTypes: {
13
- animation: PropTypes.Requireable<boolean>;
14
- children: PropTypes.Requireable<any>;
15
- className: PropTypes.Requireable<string>;
16
- icon: PropTypes.Requireable<string>;
17
- iconClass: PropTypes.Requireable<string>;
18
- imageUrl: PropTypes.Requireable<string>;
19
- svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
20
- name: PropTypes.Validator<string>;
21
- content: PropTypes.Validator<string>;
22
- viewBox: PropTypes.Validator<string>;
23
- }>>;
24
- expanded: PropTypes.Requireable<boolean>;
25
- disabled: PropTypes.Requireable<boolean>;
26
- onSelect: PropTypes.Requireable<(...args: any[]) => any>;
27
- selected: PropTypes.Requireable<boolean>;
28
- level: PropTypes.Requireable<number>;
29
- title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
30
- id: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
31
- focused: PropTypes.Requireable<boolean>;
32
- keepItemsMounted: PropTypes.Requireable<boolean>;
33
- };
34
- /**
35
- * @hidden
36
- */
37
- static defaultProps: {
38
- title: string;
39
- };
40
- constructor(props: PanelBarItemProps);
41
- /**
42
- * @hidden
43
- */
44
- render(): JSX.Element;
45
- private handleItemClick;
46
- private childFactory;
47
- }
48
- export {};