@progress/kendo-vue-layout 3.5.0 → 3.5.1-dev.202208100944

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 (254) hide show
  1. package/dist/cdn/js/kendo-vue-layout.js +1 -1
  2. package/dist/es/card/Avatar.js +2 -2
  3. package/dist/es/card/Card.js +1 -1
  4. package/dist/es/card/CardActions.js +1 -1
  5. package/dist/es/card/interfaces/AvatarProps.js +1 -0
  6. package/dist/es/card/interfaces/CardActionsProps.js +1 -0
  7. package/dist/es/card/interfaces/CardBodyProps.js +1 -0
  8. package/dist/es/card/interfaces/CardFooterProps.js +1 -0
  9. package/dist/es/card/interfaces/CardHeaderProps.js +1 -0
  10. package/dist/es/card/interfaces/CardImageProps.js +1 -0
  11. package/dist/es/card/interfaces/CardProps.js +1 -0
  12. package/dist/es/card/interfaces/CardSubtitleProps.js +1 -0
  13. package/dist/es/card/interfaces/CardTitleProps.js +1 -0
  14. package/dist/es/drawer/context/DrawerContext.js +1 -0
  15. package/dist/es/drawer/interfaces/DrawerAnimation.js +1 -0
  16. package/dist/es/drawer/interfaces/DrawerContentProps.js +1 -0
  17. package/dist/es/drawer/interfaces/DrawerItemHandle.js +1 -0
  18. package/dist/es/drawer/interfaces/DrawerItemProps.js +1 -0
  19. package/dist/es/drawer/interfaces/DrawerNavigationProps.js +1 -0
  20. package/dist/es/drawer/interfaces/DrawerProps.js +1 -0
  21. package/dist/es/drawer/interfaces/DrawerSelectEvent.js +1 -0
  22. package/dist/es/menu/BaseMenuItemInternalProps.js +1 -0
  23. package/dist/es/menu/MenuProps.js +1 -1
  24. package/dist/es/menu/components/MenuItemInternal.js +1 -1
  25. package/dist/es/menu/events.js +1 -0
  26. package/dist/es/menu/models/BaseMenuItem.js +1 -0
  27. package/dist/es/menu/models/MenuItemModel.js +1 -0
  28. package/dist/es/menu/utils/misc.js +1 -1
  29. package/dist/es/package-metadata.js +1 -1
  30. package/dist/es/panelbar/PanelBar.js +8 -12
  31. package/dist/es/panelbar/PanelBarItem.js +1 -1
  32. package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.js +1 -0
  33. package/dist/es/panelbar/interfaces/PanelBarItemProps.js +1 -0
  34. package/dist/es/panelbar/interfaces/PanelBarProps.js +1 -0
  35. package/dist/es/panelbar/interfaces/PanelBarSelectEventArguments.js +1 -0
  36. package/dist/es/panelbar/interfaces/RenderPanelBarItem.js +1 -0
  37. package/dist/es/panelbar/util.js +10 -14
  38. package/dist/es/splitter/Splitter.js +3 -3
  39. package/dist/es/stepper/Step.js +3 -3
  40. package/dist/es/stepper/context/StepperContext.js +1 -0
  41. package/dist/es/stepper/interfaces/StepChangeEvent.js +1 -0
  42. package/dist/es/stepper/interfaces/StepFocusEvent.js +1 -0
  43. package/dist/es/stepper/interfaces/StepHandle.js +1 -0
  44. package/dist/es/stepper/interfaces/StepProps.js +1 -0
  45. package/dist/es/stepper/interfaces/StepperChangeEvent.js +1 -0
  46. package/dist/es/stepper/interfaces/StepperFocusEvent.js +1 -0
  47. package/dist/es/stepper/interfaces/StepperHandle.js +1 -0
  48. package/dist/es/stepper/interfaces/StepperProps.js +1 -0
  49. package/dist/esm/additionalTypes.ts +21 -0
  50. package/dist/esm/card/Avatar.d.ts +43 -0
  51. package/dist/esm/card/Avatar.js +100 -0
  52. package/dist/esm/card/Card.d.ts +43 -0
  53. package/dist/esm/card/Card.js +70 -0
  54. package/dist/esm/card/CardActions.d.ts +43 -0
  55. package/dist/esm/card/CardActions.js +59 -0
  56. package/dist/esm/card/CardBody.d.ts +43 -0
  57. package/dist/esm/card/CardBody.js +33 -0
  58. package/dist/esm/card/CardFooter.d.ts +43 -0
  59. package/dist/esm/card/CardFooter.js +33 -0
  60. package/dist/esm/card/CardHeader.d.ts +43 -0
  61. package/dist/esm/card/CardHeader.js +33 -0
  62. package/dist/esm/card/CardImage.d.ts +43 -0
  63. package/dist/esm/card/CardImage.js +40 -0
  64. package/dist/esm/card/CardSubtitle.d.ts +43 -0
  65. package/dist/esm/card/CardSubtitle.js +33 -0
  66. package/dist/esm/card/CardTitle.d.ts +43 -0
  67. package/dist/esm/card/CardTitle.js +33 -0
  68. package/dist/esm/card/interfaces/AvatarProps.d.ts +72 -0
  69. package/dist/esm/card/interfaces/AvatarProps.js +1 -0
  70. package/dist/esm/card/interfaces/CardActionsProps.d.ts +22 -0
  71. package/dist/esm/card/interfaces/CardActionsProps.js +1 -0
  72. package/dist/esm/card/interfaces/CardBodyProps.d.ts +2 -0
  73. package/dist/esm/card/interfaces/CardBodyProps.js +1 -0
  74. package/dist/esm/card/interfaces/CardFooterProps.d.ts +2 -0
  75. package/dist/esm/card/interfaces/CardFooterProps.js +1 -0
  76. package/dist/esm/card/interfaces/CardHeaderProps.d.ts +2 -0
  77. package/dist/esm/card/interfaces/CardHeaderProps.js +1 -0
  78. package/dist/esm/card/interfaces/CardImageProps.d.ts +6 -0
  79. package/dist/esm/card/interfaces/CardImageProps.js +1 -0
  80. package/dist/esm/card/interfaces/CardProps.d.ts +28 -0
  81. package/dist/esm/card/interfaces/CardProps.js +1 -0
  82. package/dist/esm/card/interfaces/CardSubtitleProps.d.ts +2 -0
  83. package/dist/esm/card/interfaces/CardSubtitleProps.js +1 -0
  84. package/dist/esm/card/interfaces/CardTitleProps.d.ts +2 -0
  85. package/dist/esm/card/interfaces/CardTitleProps.js +1 -0
  86. package/dist/esm/card/interfaces/Enums.d.ts +32 -0
  87. package/dist/esm/card/interfaces/Enums.js +46 -0
  88. package/dist/esm/drawer/Drawer.d.ts +51 -0
  89. package/dist/esm/drawer/Drawer.js +204 -0
  90. package/dist/esm/drawer/DrawerContent.d.ts +110 -0
  91. package/dist/esm/drawer/DrawerContent.js +103 -0
  92. package/dist/esm/drawer/DrawerItem.d.ts +75 -0
  93. package/dist/esm/drawer/DrawerItem.js +164 -0
  94. package/dist/esm/drawer/DrawerNavigation.d.ts +50 -0
  95. package/dist/esm/drawer/DrawerNavigation.js +216 -0
  96. package/dist/esm/drawer/context/DrawerContext.d.ts +17 -0
  97. package/dist/esm/drawer/context/DrawerContext.js +14 -0
  98. package/dist/esm/drawer/interfaces/DrawerAnimation.d.ts +14 -0
  99. package/dist/esm/drawer/interfaces/DrawerAnimation.js +1 -0
  100. package/dist/esm/drawer/interfaces/DrawerContentProps.d.ts +5 -0
  101. package/dist/esm/drawer/interfaces/DrawerContentProps.js +1 -0
  102. package/dist/esm/drawer/interfaces/DrawerItemHandle.d.ts +17 -0
  103. package/dist/esm/drawer/interfaces/DrawerItemHandle.js +1 -0
  104. package/dist/esm/drawer/interfaces/DrawerItemProps.d.ts +43 -0
  105. package/dist/esm/drawer/interfaces/DrawerItemProps.js +1 -0
  106. package/dist/esm/drawer/interfaces/DrawerNavigationProps.d.ts +5 -0
  107. package/dist/esm/drawer/interfaces/DrawerNavigationProps.js +1 -0
  108. package/dist/esm/drawer/interfaces/DrawerProps.d.ts +69 -0
  109. package/dist/esm/drawer/interfaces/DrawerProps.js +1 -0
  110. package/dist/esm/drawer/interfaces/DrawerSelectEvent.d.ts +13 -0
  111. package/dist/esm/drawer/interfaces/DrawerSelectEvent.js +1 -0
  112. package/dist/esm/main.d.ts +49 -0
  113. package/dist/esm/main.js +49 -0
  114. package/dist/esm/menu/BaseMenuItemInternalProps.d.ts +20 -0
  115. package/dist/esm/menu/BaseMenuItemInternalProps.js +1 -0
  116. package/dist/esm/menu/MenuProps.d.ts +51 -0
  117. package/dist/esm/menu/MenuProps.js +1 -0
  118. package/dist/esm/menu/components/Menu.d.ts +79 -0
  119. package/dist/esm/menu/components/Menu.js +322 -0
  120. package/dist/esm/menu/components/MenuItemArrow.d.ts +70 -0
  121. package/dist/esm/menu/components/MenuItemArrow.js +68 -0
  122. package/dist/esm/menu/components/MenuItemInternal.d.ts +61 -0
  123. package/dist/esm/menu/components/MenuItemInternal.js +454 -0
  124. package/dist/esm/menu/components/MenuItemInternalsList.d.ts +49 -0
  125. package/dist/esm/menu/components/MenuItemInternalsList.js +152 -0
  126. package/dist/esm/menu/components/MenuItemLink.d.ts +58 -0
  127. package/dist/esm/menu/components/MenuItemLink.js +67 -0
  128. package/dist/esm/menu/consts.d.ts +54 -0
  129. package/dist/esm/menu/consts.js +70 -0
  130. package/dist/esm/menu/events.d.ts +14 -0
  131. package/dist/esm/menu/events.js +2 -0
  132. package/dist/esm/menu/models/BaseMenuItem.d.ts +45 -0
  133. package/dist/esm/menu/models/BaseMenuItem.js +2 -0
  134. package/dist/esm/menu/models/MenuItemModel.d.ts +19 -0
  135. package/dist/esm/menu/models/MenuItemModel.js +1 -0
  136. package/dist/esm/menu/utils/DirectionHolder.d.ts +11 -0
  137. package/dist/esm/menu/utils/DirectionHolder.js +24 -0
  138. package/dist/esm/menu/utils/MouseOverHandler.d.ts +17 -0
  139. package/dist/esm/menu/utils/MouseOverHandler.js +64 -0
  140. package/dist/esm/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +7 -0
  141. package/dist/esm/menu/utils/getNewItemIdUponKeyboardNavigation.js +202 -0
  142. package/dist/esm/menu/utils/hoverDelay.d.ts +9 -0
  143. package/dist/esm/menu/utils/hoverDelay.js +17 -0
  144. package/dist/esm/menu/utils/itemsIdsUtils.d.ts +64 -0
  145. package/dist/esm/menu/utils/itemsIdsUtils.js +119 -0
  146. package/dist/esm/menu/utils/misc.d.ts +16 -0
  147. package/dist/esm/menu/utils/misc.js +42 -0
  148. package/dist/esm/menu/utils/prepareInputItemsForInternalWork.d.ts +5 -0
  149. package/dist/esm/menu/utils/prepareInputItemsForInternalWork.js +80 -0
  150. package/dist/esm/package-metadata.d.ts +5 -0
  151. package/dist/esm/package-metadata.js +11 -0
  152. package/dist/esm/package.json +3 -0
  153. package/dist/esm/panelbar/PanelBar.d.ts +48 -0
  154. package/dist/esm/panelbar/PanelBar.js +318 -0
  155. package/dist/esm/panelbar/PanelBarGroup.d.ts +53 -0
  156. package/dist/esm/panelbar/PanelBarGroup.js +139 -0
  157. package/dist/esm/panelbar/PanelBarItem.d.ts +40 -0
  158. package/dist/esm/panelbar/PanelBarItem.js +217 -0
  159. package/dist/esm/panelbar/interfaces/NavigationAction.d.ts +8 -0
  160. package/dist/esm/panelbar/interfaces/NavigationAction.js +9 -0
  161. package/dist/esm/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +7 -0
  162. package/dist/esm/panelbar/interfaces/PanelBarItemClickEventArguments.js +1 -0
  163. package/dist/esm/panelbar/interfaces/PanelBarItemProps.d.ts +85 -0
  164. package/dist/esm/panelbar/interfaces/PanelBarItemProps.js +1 -0
  165. package/dist/esm/panelbar/interfaces/PanelBarProps.d.ts +58 -0
  166. package/dist/esm/panelbar/interfaces/PanelBarProps.js +1 -0
  167. package/dist/esm/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +13 -0
  168. package/dist/esm/panelbar/interfaces/PanelBarSelectEventArguments.js +1 -0
  169. package/dist/esm/panelbar/interfaces/RenderPanelBarItem.d.ts +14 -0
  170. package/dist/esm/panelbar/interfaces/RenderPanelBarItem.js +1 -0
  171. package/dist/esm/panelbar/util.d.ts +35 -0
  172. package/dist/esm/panelbar/util.js +232 -0
  173. package/dist/esm/splitter/Splitter.d.ts +139 -0
  174. package/dist/esm/splitter/Splitter.js +466 -0
  175. package/dist/esm/splitter/SplitterBar.d.ts +56 -0
  176. package/dist/esm/splitter/SplitterBar.js +289 -0
  177. package/dist/esm/splitter/SplitterPane.d.ts +93 -0
  178. package/dist/esm/splitter/SplitterPane.js +79 -0
  179. package/dist/esm/stepper/Step.d.ts +54 -0
  180. package/dist/esm/stepper/Step.js +227 -0
  181. package/dist/esm/stepper/Stepper.d.ts +97 -0
  182. package/dist/esm/stepper/Stepper.js +463 -0
  183. package/dist/esm/stepper/contants.d.ts +8 -0
  184. package/dist/esm/stepper/contants.js +8 -0
  185. package/dist/esm/stepper/context/StepperContext.d.ts +16 -0
  186. package/dist/esm/stepper/context/StepperContext.js +9 -0
  187. package/dist/esm/stepper/interfaces/StepChangeEvent.d.ts +9 -0
  188. package/dist/esm/stepper/interfaces/StepChangeEvent.js +1 -0
  189. package/dist/esm/stepper/interfaces/StepFocusEvent.d.ts +5 -0
  190. package/dist/esm/stepper/interfaces/StepFocusEvent.js +1 -0
  191. package/dist/esm/stepper/interfaces/StepHandle.d.ts +13 -0
  192. package/dist/esm/stepper/interfaces/StepHandle.js +4 -0
  193. package/dist/esm/stepper/interfaces/StepProps.d.ts +67 -0
  194. package/dist/esm/stepper/interfaces/StepProps.js +1 -0
  195. package/dist/esm/stepper/interfaces/StepperChangeEvent.d.ts +9 -0
  196. package/dist/esm/stepper/interfaces/StepperChangeEvent.js +1 -0
  197. package/dist/esm/stepper/interfaces/StepperFocusEvent.d.ts +5 -0
  198. package/dist/esm/stepper/interfaces/StepperFocusEvent.js +1 -0
  199. package/dist/esm/stepper/interfaces/StepperHandle.d.ts +13 -0
  200. package/dist/esm/stepper/interfaces/StepperHandle.js +4 -0
  201. package/dist/esm/stepper/interfaces/StepperOnNavigateEvent.d.ts +23 -0
  202. package/dist/esm/stepper/interfaces/StepperOnNavigateEvent.js +15 -0
  203. package/dist/esm/stepper/interfaces/StepperProps.d.ts +84 -0
  204. package/dist/esm/stepper/interfaces/StepperProps.js +1 -0
  205. package/dist/esm/stepper/messages/index.d.ts +10 -0
  206. package/dist/esm/stepper/messages/index.js +11 -0
  207. package/dist/esm/tabstrip/TabStrip.d.ts +114 -0
  208. package/dist/esm/tabstrip/TabStrip.js +333 -0
  209. package/dist/esm/tabstrip/TabStripContent.d.ts +79 -0
  210. package/dist/esm/tabstrip/TabStripContent.js +141 -0
  211. package/dist/esm/tabstrip/TabStripNavigation.d.ts +79 -0
  212. package/dist/esm/tabstrip/TabStripNavigation.js +127 -0
  213. package/dist/esm/tabstrip/TabStripNavigationItem.d.ts +85 -0
  214. package/dist/esm/tabstrip/TabStripNavigationItem.js +101 -0
  215. package/dist/esm/tabstrip/TabStripTab.d.ts +74 -0
  216. package/dist/esm/tabstrip/TabStripTab.js +71 -0
  217. package/dist/esm/tabstrip/utils.d.ts +1 -0
  218. package/dist/esm/tabstrip/utils.js +14 -0
  219. package/dist/npm/card/Avatar.js +4 -4
  220. package/dist/npm/card/Card.js +3 -3
  221. package/dist/npm/card/CardActions.js +2 -2
  222. package/dist/npm/card/CardBody.js +1 -1
  223. package/dist/npm/card/CardFooter.js +1 -1
  224. package/dist/npm/card/CardHeader.js +1 -1
  225. package/dist/npm/card/CardImage.js +1 -1
  226. package/dist/npm/card/CardSubtitle.js +1 -1
  227. package/dist/npm/card/CardTitle.js +1 -1
  228. package/dist/npm/drawer/Drawer.js +3 -3
  229. package/dist/npm/drawer/DrawerContent.js +1 -1
  230. package/dist/npm/drawer/DrawerItem.js +3 -3
  231. package/dist/npm/drawer/DrawerNavigation.js +1 -1
  232. package/dist/npm/main.js +6 -2
  233. package/dist/npm/menu/components/Menu.js +14 -14
  234. package/dist/npm/menu/components/MenuItemArrow.js +1 -1
  235. package/dist/npm/menu/components/MenuItemInternal.js +13 -13
  236. package/dist/npm/menu/components/MenuItemInternalsList.js +2 -2
  237. package/dist/npm/menu/components/MenuItemLink.js +1 -1
  238. package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.js +24 -24
  239. package/dist/npm/menu/utils/misc.js +2 -2
  240. package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +2 -2
  241. package/dist/npm/package-metadata.js +1 -1
  242. package/dist/npm/panelbar/PanelBar.js +15 -19
  243. package/dist/npm/panelbar/PanelBarItem.js +5 -5
  244. package/dist/npm/panelbar/util.js +26 -24
  245. package/dist/npm/splitter/Splitter.js +4 -4
  246. package/dist/npm/splitter/SplitterBar.js +3 -3
  247. package/dist/npm/splitter/SplitterPane.js +1 -1
  248. package/dist/npm/stepper/Step.js +6 -6
  249. package/dist/npm/stepper/Stepper.js +4 -4
  250. package/dist/npm/tabstrip/TabStrip.js +3 -3
  251. package/dist/npm/tabstrip/TabStripContent.js +3 -3
  252. package/dist/npm/tabstrip/TabStripTab.js +2 -2
  253. package/dist/npm/tabstrip/utils.js +2 -1
  254. package/package.json +10 -10
@@ -74,12 +74,12 @@ var AvatarVue2 = {
74
74
  return _a = {
75
75
  'k-avatar-bordered': border,
76
76
  'k-avatar': true
77
- }, _a["k-avatar-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a["k-avatar-" + fillMode] = fillMode, _a["k-avatar-" + fillMode + "-" + themeColor] = Boolean(fillMode && themeColor), _a;
77
+ }, _a["k-avatar-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a["k-avatar-".concat(fillMode)] = fillMode, _a["k-avatar-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor), _a;
78
78
  },
79
79
  innerClass: function innerClass() {
80
80
  var _a;
81
81
 
82
- return _a = {}, _a["k-avatar-" + this.$props.type] = this.$props.type, _a;
82
+ return _a = {}, _a["k-avatar-".concat(this.$props.type)] = this.$props.type, _a;
83
83
  }
84
84
  },
85
85
  render: function render(createElement) {
@@ -47,7 +47,7 @@ var CardVue2 = {
47
47
  var orientationClass = this.$props.orientation !== cardOrientation.HORIZONTAL ? 'vertical' : 'horizontal';
48
48
  return _a = {
49
49
  'k-card': true
50
- }, _a["k-card-" + this.$props.type] = this.$props.type !== cardType.DEFAULT, _a["k-card-" + orientationClass] = true, _a;
50
+ }, _a["k-card-".concat(this.$props.type)] = this.$props.type !== cardType.DEFAULT, _a["k-card-".concat(orientationClass)] = true, _a;
51
51
  }
52
52
  },
53
53
  render: function render(createElement) {
@@ -40,7 +40,7 @@ var CardActionsVue2 = {
40
40
 
41
41
  return _a = {
42
42
  'k-card-actions': true
43
- }, _a["k-card-actions-" + this.$props.layout] = true, _a["k-card-actions-" + (this.$props.orientation !== cardOrientation.HORIZONTAL ? 'vertical' : 'horizontal')] = true, _a;
43
+ }, _a["k-card-actions-".concat(this.$props.layout)] = true, _a["k-card-actions-".concat(this.$props.orientation !== cardOrientation.HORIZONTAL ? 'vertical' : 'horizontal')] = true, _a;
44
44
  }
45
45
  },
46
46
  render: function render(createElement) {
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -11,3 +11,4 @@ var defaultContext = {
11
11
  width: 240,
12
12
  miniWidth: 50
13
13
  };
14
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1 @@
1
- // tslint:enable:max-line-length
1
+ export {}; // tslint:enable:max-line-length
@@ -164,7 +164,7 @@ var MenuItemInternalVue2 = {
164
164
 
165
165
  var renderMenuIconIfApplicable = function renderMenuIconIfApplicable() {
166
166
  return this.$props.item.icon ? h("span", {
167
- "class": "k-icon k-i-" + this.$props.item.icon,
167
+ "class": "k-icon k-i-".concat(this.$props.item.icon),
168
168
  role: "presentation",
169
169
  attrs: this.v3 ? undefined : {
170
170
  role: "presentation"
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -0,0 +1 @@
1
+ export {};
@@ -38,5 +38,5 @@ export function convertBoolDirectionToString(isDirectionRightToLeft) {
38
38
  * @hidden
39
39
  */
40
40
  export function getDOMElementId(menuGuid, itemId) {
41
- return menuGuid + "_" + itemId;
41
+ return "".concat(menuGuid, "_").concat(itemId);
42
42
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-layout',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1659428942,
8
+ publishDate: 1660123933,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -14,18 +14,14 @@ var __assign = this && this.__assign || function () {
14
14
  return __assign.apply(this, arguments);
15
15
  };
16
16
 
17
- var __spreadArrays = this && this.__spreadArrays || function () {
18
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
19
- s += arguments[i].length;
20
- }
21
-
22
- for (var r = Array(s), k = 0, i = 0; i < il; i++) {
23
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
24
- r[k] = a[j];
17
+ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
18
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
+ if (ar || !(i in from)) {
20
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
+ ar[i] = from[i];
25
22
  }
26
23
  }
27
-
28
- return r;
24
+ return to.concat(ar || Array.prototype.slice.call(from));
29
25
  }; // @ts-ignore
30
26
 
31
27
 
@@ -179,11 +175,11 @@ var PanelBarVue2 = {
179
175
  if (selectedChild) {
180
176
  switch (this.expandMode) {
181
177
  case 'single':
182
- newExpanded = __spreadArrays(selectedChild.parentUniquePrivateKey, [selectedChild.uniquePrivateKey]);
178
+ newExpanded = __spreadArray(__spreadArray([], selectedChild.parentUniquePrivateKey, true), [selectedChild.uniquePrivateKey], false);
183
179
 
184
180
  if (isArrayEqual(this.expandedItems, newExpanded)) {
185
181
  if (selectedChild.parentUniquePrivateKey) {
186
- newExpanded = __spreadArrays(selectedChild.parentUniquePrivateKey);
182
+ newExpanded = __spreadArray([], selectedChild.parentUniquePrivateKey, true);
187
183
  } else {
188
184
  newExpanded = [];
189
185
  }
@@ -93,7 +93,7 @@ var PanelBarItemVue2 = {
93
93
  'k-panelbar-header': level === 0,
94
94
  'k-panelbar-item': level !== 0,
95
95
  'k-expanded': expanded && hasContent
96
- }, "k-level-" + level, className);
96
+ }, "k-level-".concat(level), className);
97
97
  var panelBarLinkClassName = classNames('k-link', {
98
98
  'k-selected': !disabled && selected,
99
99
  'k-focus': focused,
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -14,18 +14,14 @@ var __assign = this && this.__assign || function () {
14
14
  return __assign.apply(this, arguments);
15
15
  };
16
16
 
17
- var __spreadArrays = this && this.__spreadArrays || function () {
18
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
19
- s += arguments[i].length;
20
- }
21
-
22
- for (var r = Array(s), k = 0, i = 0; i < il; i++) {
23
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
24
- r[k] = a[j];
17
+ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
18
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
+ if (ar || !(i in from)) {
20
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
+ ar[i] = from[i];
25
22
  }
26
23
  }
27
-
28
- return r;
24
+ return to.concat(ar || Array.prototype.slice.call(from));
29
25
  };
30
26
 
31
27
  import { getListeners, templateRendering } from '@progress/kendo-vue-common';
@@ -62,7 +58,7 @@ export var renderChildren = function renderChildren(items, _a) {
62
58
  handleSelect: handleSelect,
63
59
  parentExpanded: (expanded || []).indexOf(privateKey) > -1,
64
60
  level: level + 1,
65
- parentPrivateKey: __spreadArrays(parentPrivateKey, [privateKey])
61
+ parentPrivateKey: __spreadArray(__spreadArray([], parentPrivateKey, true), [privateKey], false)
66
62
  };
67
63
  nestedChildren = renderChildren.call(this, child.items, renderState);
68
64
  }
@@ -70,7 +66,7 @@ export var renderChildren = function renderChildren(items, _a) {
70
66
  return __assign(__assign({}, child), {
71
67
  animation: child.animation !== undefined ? child.animation : animation,
72
68
  keepItemsMounted: keepItemsMounted,
73
- id: child.id || "k-panelbar-item-default-" + privateKey,
69
+ id: child.id || "k-panelbar-item-default-".concat(privateKey),
74
70
  uniquePrivateKey: privateKey,
75
71
  parentUniquePrivateKey: parentPrivateKey,
76
72
  parentExpanded: parentExpanded,
@@ -140,7 +136,7 @@ export var getInitialState = function getInitialState(props, expandMode, result,
140
136
  }
141
137
 
142
138
  if (item.items) {
143
- result = getInitialState(item, expandMode, result, !!item.expanded, __spreadArrays(parentPrivateKey, [privateKey]));
139
+ result = getInitialState(item, expandMode, result, !!item.expanded, __spreadArray(__spreadArray([], parentPrivateKey, true), [privateKey], false));
144
140
  }
145
141
  }
146
142
  });
@@ -151,7 +147,7 @@ export var getInitialState = function getInitialState(props, expandMode, result,
151
147
  */
152
148
 
153
149
  var getId = function getId(child, parentPrivateKey, idx) {
154
- return child && child && child.id ? child.id : parentPrivateKey.length ? parentPrivateKey[parentPrivateKey.length - 1] + ("." + idx) : "." + idx;
150
+ return child && child && child.id ? child.id : parentPrivateKey.length ? parentPrivateKey[parentPrivateKey.length - 1] + ".".concat(idx) : ".".concat(idx);
155
151
  };
156
152
  /**
157
153
  * @hidden
@@ -95,7 +95,7 @@ var SplitterVue2 = {
95
95
  render: function render(createElement) {
96
96
  var h = gh || createElement;
97
97
  var panesOptions = this.panesOptions();
98
- var className = classNames('k-widget', 'k-splitter', 'k-splitter-flex', "k-splitter-" + this.orientation);
98
+ var className = classNames('k-widget', 'k-splitter', 'k-splitter-flex', "k-splitter-".concat(this.orientation));
99
99
  this.validatePanes(panesOptions);
100
100
 
101
101
  var mapSplitterPanes = function mapSplitterPanes(panes) {
@@ -316,9 +316,9 @@ var SplitterVue2 = {
316
316
  var sizeType = isContainer ? 'client' : 'offset';
317
317
 
318
318
  if (this.orientation === 'vertical') {
319
- return el[sizeType + "Height"];
319
+ return el["".concat(sizeType, "Height")];
320
320
  } else {
321
- return el[sizeType + "Width"];
321
+ return el["".concat(sizeType, "Width")];
322
322
  }
323
323
  },
324
324
  clamp: function clamp(min, max, v) {
@@ -69,7 +69,7 @@ var StepVue2 = {
69
69
  var index = this.$props.index;
70
70
  var allowClick = !this.linear || index === this.value - 1 || index === this.value || index === this.value + 1;
71
71
  return {
72
- maxWidth: !this.isVertical ? "calc(100% / " + this.numOfSteps + ")" : undefined,
72
+ maxWidth: !this.isVertical ? "calc(100% / ".concat(this.numOfSteps, ")") : undefined,
73
73
  pointerEvents: !allowClick ? 'none' : undefined
74
74
  };
75
75
  }
@@ -124,7 +124,7 @@ var StepVue2 = {
124
124
 
125
125
  var optionalMessage = localizeMessage(optionalText);
126
126
  var progressAnimation = typeof animationDuration === 'number' ? animationDuration : animationDuration !== false ? DEFAULT_ANIMATION_DURATION : NO_ANIMATION;
127
- var validationIconClasses = isValid ? successIcon ? "" + successIcon : 'k-icon k-i-check' : errorIcon ? "" + errorIcon : 'k-icon k-i-warning';
127
+ var validationIconClasses = isValid ? successIcon ? "".concat(successIcon) : 'k-icon k-i-check' : errorIcon ? "".concat(errorIcon) : 'k-icon k-i-warning';
128
128
  var validationIcons = h("span", {
129
129
  "class": 'k-step-indicator-icon ' + validationIconClasses,
130
130
  "aria-hidden": "true",
@@ -144,7 +144,7 @@ var StepVue2 = {
144
144
  transitionDuration: progressAnimation + 'ms'
145
145
  }
146
146
  }, [icon ? !isInLabel && isValid !== undefined ? validationIcons : h("span", {
147
- "class": "k-step-indicator-icon k-icon " + icon
147
+ "class": "k-step-indicator-icon k-icon ".concat(icon)
148
148
  }) : isValid !== undefined ? validationIcons : h("span", {
149
149
  "class": "k-step-indicator-text"
150
150
  }, [text ? text : index + 1])]) : null;
@@ -6,3 +6,4 @@ var defaultContext = {
6
6
  mode: 'steps',
7
7
  value: 0
8
8
  };
9
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
1
  /**
2
2
  * The Step ref.
3
3
  */
4
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
1
  /**
2
2
  * The Stepper ref.
3
3
  */
4
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ // @ts-ignore
2
+ import { DefineComponent } from 'vue';
3
+ // @ts-ignore
4
+ import * as Vue from 'vue';
5
+
6
+ /**
7
+ * @hidden
8
+ */
9
+ // @ts-ignore
10
+ type Vue2type = Vue.default;
11
+
12
+ /**
13
+ * @hidden
14
+ */
15
+ // @ts-ignore
16
+ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
17
+ /**
18
+ * @hidden
19
+ */
20
+ // @ts-ignore
21
+ export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -0,0 +1,43 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { AvatarProps } from './interfaces/AvatarProps';
7
+ /**
8
+ * @hidden
9
+ */
10
+ interface AvatarState {
11
+ }
12
+ /**
13
+ * @hidden
14
+ */
15
+ interface AvatarData {
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface AvatarMethods {
21
+ [key: string]: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface AvatarComputed {
27
+ [key: string]: any;
28
+ wrapperClass: object;
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ export interface AvatarAll extends AvatarMethods, AvatarState, AvatarData, AvatarComputed, Vue2type {
34
+ }
35
+ /**
36
+ * @hidden
37
+ */
38
+ declare const AvatarVue2: ComponentOptions<Vue2type, DefaultData<AvatarData>, DefaultMethods<AvatarAll>, AvatarComputed, RecordPropsDefinition<AvatarProps>>;
39
+ /**
40
+ * @hidden
41
+ */
42
+ declare let Avatar: DefineComponent<AvatarProps, any, AvatarData, AvatarComputed, AvatarMethods, {}, {}, {}, string, AvatarProps, AvatarProps, {}>;
43
+ export { Avatar, AvatarVue2 };
@@ -0,0 +1,100 @@
1
+ // @ts-ignore
2
+ import * as Vue from 'vue';
3
+ var allVue = Vue;
4
+ var gh = allVue.h;
5
+ var isV3 = allVue.version && allVue.version[0] === '3';
6
+ import { avatarType } from './interfaces/Enums.js';
7
+ import { packageMetadata } from '../package-metadata.js';
8
+ import { getDefaultSlots, validatePackage, kendoThemeMaps } from '@progress/kendo-vue-common';
9
+ /**
10
+ * @hidden
11
+ */
12
+
13
+ var AvatarVue2 = {
14
+ name: 'KendoAvatar',
15
+ props: {
16
+ type: {
17
+ type: String,
18
+ default: avatarType.TEXT,
19
+ validator: function validator(value) {
20
+ return ['text', 'image', 'icon'].includes(value);
21
+ }
22
+ },
23
+ border: Boolean,
24
+ rounded: {
25
+ type: String,
26
+ default: 'medium',
27
+ validator: function validator(value) {
28
+ return ['small', 'medium', 'large', 'full'].includes(value);
29
+ }
30
+ },
31
+ fillMode: {
32
+ type: String,
33
+ default: 'solid',
34
+ validator: function validator(value) {
35
+ return ['solid', 'outline'].includes(value);
36
+ }
37
+ },
38
+ size: {
39
+ type: String,
40
+ default: 'medium',
41
+ validator: function validator(value) {
42
+ return ['small', 'medium', 'large'].includes(value);
43
+ }
44
+ },
45
+ themeColor: {
46
+ type: String,
47
+ default: 'primary',
48
+ validator: function validator(value) {
49
+ return ['primary', 'secondary', 'tertiary', 'info', 'success', 'warning', 'error', 'dark', 'light', 'inverse', 'inherit'].includes(value);
50
+ }
51
+ }
52
+ },
53
+ created: function created() {
54
+ validatePackage(packageMetadata);
55
+ },
56
+ // @ts-ignore
57
+ setup: !isV3 ? undefined : function () {
58
+ var v3 = !!isV3;
59
+ return {
60
+ v3: v3
61
+ };
62
+ },
63
+ computed: {
64
+ wrapperClass: function wrapperClass() {
65
+ var _a;
66
+
67
+ var _b = this.$props,
68
+ border = _b.border,
69
+ type = _b.type,
70
+ size = _b.size,
71
+ rounded = _b.rounded,
72
+ fillMode = _b.fillMode,
73
+ themeColor = _b.themeColor;
74
+ return _a = {
75
+ 'k-avatar-bordered': border,
76
+ 'k-avatar': true
77
+ }, _a["k-avatar-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a["k-avatar-".concat(fillMode)] = fillMode, _a["k-avatar-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor), _a;
78
+ },
79
+ innerClass: function innerClass() {
80
+ var _a;
81
+
82
+ return _a = {}, _a["k-avatar-".concat(this.$props.type)] = this.$props.type, _a;
83
+ }
84
+ },
85
+ render: function render(createElement) {
86
+ var h = gh || createElement;
87
+ var defaultSlots = getDefaultSlots(this);
88
+ return h("div", {
89
+ "class": this.wrapperClass
90
+ }, [h("span", {
91
+ "class": this.innerClass
92
+ }, [defaultSlots])]);
93
+ }
94
+ };
95
+ /**
96
+ * @hidden
97
+ */
98
+
99
+ var Avatar = AvatarVue2;
100
+ export { Avatar, AvatarVue2 };
@@ -0,0 +1,43 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { CardProps } from './interfaces/CardProps';
7
+ /**
8
+ * @hidden
9
+ */
10
+ interface CardState {
11
+ }
12
+ /**
13
+ * @hidden
14
+ */
15
+ interface CardData {
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface CardMethods {
21
+ [key: string]: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface CardComputed {
27
+ [key: string]: any;
28
+ wrapperClass: object;
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ export interface CardAll extends CardMethods, CardState, CardData, CardComputed, Vue2type {
34
+ }
35
+ /**
36
+ * @hidden
37
+ */
38
+ declare const CardVue2: ComponentOptions<Vue2type, DefaultData<CardData>, DefaultMethods<CardAll>, CardComputed, RecordPropsDefinition<CardProps>>;
39
+ /**
40
+ * @hidden
41
+ */
42
+ declare let Card: DefineComponent<CardProps, any, CardData, CardComputed, CardMethods, {}, {}, {}, string, CardProps, CardProps, {}>;
43
+ export { Card, CardVue2 };
@@ -0,0 +1,70 @@
1
+ // @ts-ignore
2
+ import * as Vue from 'vue';
3
+ var allVue = Vue;
4
+ var gh = allVue.h;
5
+ var isV3 = allVue.version && allVue.version[0] === '3';
6
+ import { cardType } from './interfaces/Enums.js';
7
+ import { cardOrientation } from './interfaces/Enums.js';
8
+ import { packageMetadata } from '../package-metadata.js';
9
+ import { getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
10
+ /**
11
+ * @hidden
12
+ */
13
+
14
+ var CardVue2 = {
15
+ name: 'KendoCard',
16
+ props: {
17
+ dir: String,
18
+ type: {
19
+ type: String,
20
+ default: cardType.DEFAULT,
21
+ validator: function validator(value) {
22
+ return ['default', 'primary', 'info', 'success', 'warning', 'error'].includes(value);
23
+ }
24
+ },
25
+ orientation: {
26
+ type: String,
27
+ default: cardOrientation.VERTICAL,
28
+ validator: function validator(value) {
29
+ return ['horizontal', 'vertical'].includes(value);
30
+ }
31
+ }
32
+ },
33
+ created: function created() {
34
+ validatePackage(packageMetadata);
35
+ },
36
+ // @ts-ignore
37
+ setup: !isV3 ? undefined : function () {
38
+ var v3 = !!isV3;
39
+ return {
40
+ v3: v3
41
+ };
42
+ },
43
+ computed: {
44
+ wrapperClass: function wrapperClass() {
45
+ var _a;
46
+
47
+ var orientationClass = this.$props.orientation !== cardOrientation.HORIZONTAL ? 'vertical' : 'horizontal';
48
+ return _a = {
49
+ 'k-card': true
50
+ }, _a["k-card-".concat(this.$props.type)] = this.$props.type !== cardType.DEFAULT, _a["k-card-".concat(orientationClass)] = true, _a;
51
+ }
52
+ },
53
+ render: function render(createElement) {
54
+ var h = gh || createElement;
55
+ var defaultSlots = getDefaultSlots(this);
56
+ return h("div", {
57
+ dir: this.$props.dir,
58
+ attrs: this.v3 ? undefined : {
59
+ dir: this.$props.dir
60
+ },
61
+ "class": this.wrapperClass
62
+ }, [defaultSlots]);
63
+ }
64
+ };
65
+ /**
66
+ * @hidden
67
+ */
68
+
69
+ var Card = CardVue2;
70
+ export { Card, CardVue2 };