@progress/kendo-vue-layout 3.1.3 → 3.1.5-dev.202204110939

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 (43) hide show
  1. package/NOTICE.txt +49 -6
  2. package/dist/cdn/js/kendo-vue-layout.js +1 -1
  3. package/dist/es/card/Avatar.js +1 -1
  4. package/dist/es/main.d.ts +9 -0
  5. package/dist/es/main.js +9 -0
  6. package/dist/es/package-metadata.js +1 -1
  7. package/dist/es/panelbar/PanelBar.d.ts +4 -4
  8. package/dist/es/panelbar/PanelBar.js +62 -95
  9. package/dist/es/panelbar/PanelBarGroup.d.ts +47 -0
  10. package/dist/es/panelbar/PanelBarGroup.js +126 -0
  11. package/dist/es/panelbar/PanelBarItem.d.ts +0 -1
  12. package/dist/es/panelbar/PanelBarItem.js +118 -125
  13. package/dist/es/panelbar/interfaces/PanelBarItemProps.d.ts +9 -13
  14. package/dist/es/panelbar/interfaces/PanelBarProps.d.ts +4 -0
  15. package/dist/es/panelbar/interfaces/RenderPanelBarItem.d.ts +2 -2
  16. package/dist/es/panelbar/util.d.ts +7 -21
  17. package/dist/es/panelbar/util.js +136 -146
  18. package/dist/es/splitter/Splitter.d.ts +1 -5
  19. package/dist/es/splitter/Splitter.js +114 -146
  20. package/dist/es/splitter/SplitterBar.js +118 -68
  21. package/dist/es/splitter/SplitterPane.d.ts +8 -30
  22. package/dist/es/splitter/SplitterPane.js +10 -4
  23. package/dist/npm/card/Avatar.js +1 -1
  24. package/dist/npm/main.d.ts +9 -0
  25. package/dist/npm/main.js +9 -0
  26. package/dist/npm/package-metadata.js +1 -1
  27. package/dist/npm/panelbar/PanelBar.d.ts +4 -4
  28. package/dist/npm/panelbar/PanelBar.js +62 -94
  29. package/dist/npm/panelbar/PanelBarGroup.d.ts +47 -0
  30. package/dist/npm/panelbar/PanelBarGroup.js +138 -0
  31. package/dist/npm/panelbar/PanelBarItem.d.ts +0 -1
  32. package/dist/npm/panelbar/PanelBarItem.js +117 -124
  33. package/dist/npm/panelbar/interfaces/PanelBarItemProps.d.ts +9 -13
  34. package/dist/npm/panelbar/interfaces/PanelBarProps.d.ts +4 -0
  35. package/dist/npm/panelbar/interfaces/RenderPanelBarItem.d.ts +2 -2
  36. package/dist/npm/panelbar/util.d.ts +7 -21
  37. package/dist/npm/panelbar/util.js +137 -147
  38. package/dist/npm/splitter/Splitter.d.ts +1 -5
  39. package/dist/npm/splitter/Splitter.js +113 -145
  40. package/dist/npm/splitter/SplitterBar.js +118 -68
  41. package/dist/npm/splitter/SplitterPane.d.ts +8 -30
  42. package/dist/npm/splitter/SplitterPane.js +9 -3
  43. package/package.json +10 -10
@@ -35,10 +35,18 @@ export interface SplitterPaneProps {
35
35
  * Specifies if overflowing content is scrollable or hidden ([see example]({% slug panes_splitter %}#toc-scrolling)). If `scrollable` is not specified, the content will be scrollable.
36
36
  */
37
37
  scrollable?: boolean;
38
+ /**
39
+ * Specifies if the content of the pane contains Splitter.
40
+ */
41
+ containsSplitter: boolean;
38
42
  /**
39
43
  * Specifies if the children of the pane should be mounted when it's in collapsed state.
40
44
  */
41
45
  keepMounted?: boolean;
46
+ /**
47
+ * The slot template for the content of the splitter
48
+ */
49
+ content?: any;
42
50
  }
43
51
  /**
44
52
  * @hidden
@@ -46,36 +54,6 @@ export interface SplitterPaneProps {
46
54
  export interface SplitterPaneExtendedProps extends SplitterPaneProps {
47
55
  orientation: 'vertical' | 'horizontal' | string;
48
56
  overlay: boolean;
49
- containsSplitter: boolean;
50
- size?: string;
51
- /**
52
- * Sets the minimum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
53
- */
54
- min?: string;
55
- /**
56
- * Sets the maximum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
57
- */
58
- max?: string;
59
- /**
60
- * Specifies if the user is allowed to resize the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-resizing)). If `resizable` is not specified, the resizing of the pane will be enabled.
61
- */
62
- resizable?: boolean;
63
- /**
64
- * Specifies if the user is allowed to hide the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-collapsing)).
65
- */
66
- collapsible?: boolean;
67
- /**
68
- * Specifies the pane collapsed state ([see example]({% slug panes_splitter %}#toc-collapsing)).
69
- */
70
- collapsed?: boolean;
71
- /**
72
- * Specifies if overflowing content is scrollable or hidden ([see example]({% slug panes_splitter %}#toc-scrolling)). If `scrollable` is not specified, the content will be scrollable.
73
- */
74
- scrollable?: boolean;
75
- /**
76
- * Specifies if the children of the pane should be mounted when it's in collapsed state.
77
- */
78
- keepMounted?: boolean;
79
57
  }
80
58
  /**
81
59
  * @hidden
@@ -34,7 +34,8 @@ var SplitterPaneVue2 = {
34
34
  collapsible: Boolean,
35
35
  collapsed: Boolean,
36
36
  scrollable: Boolean,
37
- keepMounted: Boolean
37
+ keepMounted: Boolean,
38
+ content: [Object, Function, String]
38
39
  },
39
40
  // @ts-ignore
40
41
  setup: !gh ? undefined : function () {
@@ -48,7 +49,7 @@ var SplitterPaneVue2 = {
48
49
  var _a;
49
50
 
50
51
  var h = gh || createElement;
51
- var _b = this.props,
52
+ var _b = this.$props,
52
53
  size = _b.size,
53
54
  collapsed = _b.collapsed,
54
55
  overlay = _b.overlay,
@@ -62,10 +63,15 @@ var SplitterPaneVue2 = {
62
63
  flexBasis: size
63
64
  };
64
65
  var paneClasses = kendo_vue_common_1.classNames('k-pane', (_a = {}, _a['k-state-hidden'] = collapsed, _a['hidden'] = collapsed, _a['k-pane-flex'] = containsSplitter, _a['k-pane-static'] = !resizable && !collapsible || fixedSize, _a['k-scrollable'] = scrollable, _a));
66
+ var content = kendo_vue_common_1.getTemplate.call(this, {
67
+ h: h,
68
+ template: this.$props.content,
69
+ defaultRendering: null
70
+ });
65
71
  return h("div", {
66
72
  style: style,
67
73
  "class": paneClasses
68
- }, [!collapsed || keepMounted ? this.props.children : undefined, overlay ? h("div", {
74
+ }, [!collapsed || keepMounted ? content : undefined, overlay ? h("div", {
69
75
  "class": 'k-splitter-overlay k-overlay'
70
76
  }) : undefined]);
71
77
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-layout",
3
3
  "description": "Kendo UI for Vue Layouts package",
4
- "version": "3.1.3",
4
+ "version": "3.1.5-dev.202204110939",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -37,21 +37,21 @@
37
37
  "vue": "^2.6.12 || ^3.0.2"
38
38
  },
39
39
  "dependencies": {
40
- "@progress/kendo-vue-animation": "3.1.3",
41
- "@progress/kendo-vue-common": "3.1.3",
42
- "@progress/kendo-vue-popup": "3.1.3"
40
+ "@progress/kendo-vue-animation": "3.1.5-dev.202204110939",
41
+ "@progress/kendo-vue-common": "3.1.5-dev.202204110939",
42
+ "@progress/kendo-vue-popup": "3.1.5-dev.202204110939"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@progress/kendo-data-query": "^1.5.0",
46
46
  "@progress/kendo-date-math": "^1.5.1",
47
47
  "@progress/kendo-drawing": "^1.8.0",
48
48
  "@progress/kendo-licensing": "^1.0.1",
49
- "@progress/kendo-vue-buttons": "3.1.3",
50
- "@progress/kendo-vue-dateinputs": "3.1.3",
51
- "@progress/kendo-vue-dropdowns": "3.1.3",
52
- "@progress/kendo-vue-inputs": "3.1.3",
53
- "@progress/kendo-vue-intl": "3.1.3",
54
- "@progress/kendo-vue-progressbars": "3.1.3"
49
+ "@progress/kendo-vue-buttons": "3.1.5-dev.202204110939",
50
+ "@progress/kendo-vue-dateinputs": "3.1.5-dev.202204110939",
51
+ "@progress/kendo-vue-dropdowns": "3.1.5-dev.202204110939",
52
+ "@progress/kendo-vue-inputs": "3.1.5-dev.202204110939",
53
+ "@progress/kendo-vue-intl": "3.1.5-dev.202204110939",
54
+ "@progress/kendo-vue-progressbars": "3.1.5-dev.202204110939"
55
55
  },
56
56
  "@progress": {
57
57
  "friendlyName": "Layouts",