@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
@@ -73,7 +73,7 @@ var AvatarVue2 = {
73
73
  return _a = {
74
74
  'k-avatar-bordered': border,
75
75
  'k-avatar': true
76
- }, _a["k-avatar-" + type] = type, _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;
76
+ }, _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
77
  },
78
78
  innerClass: function innerClass() {
79
79
  var _a;
package/dist/es/main.d.ts CHANGED
@@ -38,3 +38,12 @@ export * from './menu/components/MenuItemLink';
38
38
  export * from './menu/components/MenuItemArrow';
39
39
  export * from './menu/models/MenuItemModel';
40
40
  export * from './menu/events';
41
+ export * from './splitter/Splitter';
42
+ export * from './splitter/SplitterPane';
43
+ export * from './panelbar/PanelBar';
44
+ export * from './panelbar/PanelBarItem';
45
+ export * from './panelbar/util';
46
+ export * from './panelbar/interfaces/PanelBarProps';
47
+ export * from './panelbar/interfaces/PanelBarItemProps';
48
+ export * from './panelbar/interfaces/RenderPanelBarItem';
49
+ export * from './panelbar/interfaces/PanelBarSelectEventArguments';
package/dist/es/main.js CHANGED
@@ -38,3 +38,12 @@ export * from './menu/components/MenuItemLink';
38
38
  export * from './menu/components/MenuItemArrow';
39
39
  export * from './menu/models/MenuItemModel';
40
40
  export * from './menu/events';
41
+ export * from './splitter/Splitter';
42
+ export * from './splitter/SplitterPane';
43
+ export * from './panelbar/PanelBar';
44
+ export * from './panelbar/PanelBarItem';
45
+ export * from './panelbar/util';
46
+ export * from './panelbar/interfaces/PanelBarProps';
47
+ export * from './panelbar/interfaces/PanelBarItemProps';
48
+ export * from './panelbar/interfaces/RenderPanelBarItem';
49
+ export * from './panelbar/interfaces/PanelBarSelectEventArguments';
@@ -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: 1648787840,
8
+ publishDate: 1649669495,
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
  };
@@ -8,10 +8,6 @@ import { PanelBarProps } from './interfaces/PanelBarProps';
8
8
  * @hidden
9
9
  */
10
10
  export interface PanelBarState {
11
- focused?: string;
12
- wrapperFocused?: boolean;
13
- selected?: string;
14
- expanded: string[];
15
11
  }
16
12
  /**
17
13
  * @hidden
@@ -29,6 +25,10 @@ export interface PanelBarMethods {
29
25
  * @hidden
30
26
  */
31
27
  export interface PanelBarData {
28
+ currentFocused?: string;
29
+ wrapperFocused?: boolean;
30
+ currentSelected?: string;
31
+ currentExpanded: string[];
32
32
  }
33
33
  /**
34
34
  * @hidden
@@ -32,7 +32,8 @@ var __spreadArrays = this && this.__spreadArrays || function () {
32
32
  import * as Vue from 'vue';
33
33
  var allVue = Vue;
34
34
  var gh = allVue.h;
35
- import { renderChildren, isArrayEqual } from './util';
35
+ import { PanelBarItem } from './PanelBarItem';
36
+ import { renderChildren, getInitialState, flatVisibleChildren, flatChildren, isArrayEqual, getFirstId } from './util';
36
37
  import { classNames, Keys } from '@progress/kendo-vue-common';
37
38
  import { validatePackage } from '@progress/kendo-vue-common';
38
39
  import { packageMetadata } from '../package-metadata';
@@ -45,25 +46,7 @@ var PanelBarVue2 = {
45
46
  type: Boolean,
46
47
  default: true
47
48
  },
48
- // children: function (props: PanelBarProps, propName: any) {
49
- // const prop = props[propName];
50
- // if (prop) {
51
- // if (Array.isArray(prop)) {
52
- // for (let value of prop) {
53
- // if (!value.type || value.type !== PanelBarItem) {
54
- // return new Error(
55
- // 'PanelBar children should be either PanelBarItem or Array of PanelBarItem.');
56
- // }
57
- // }
58
- // } else {
59
- // if (prop.type !== PanelBarItem) {
60
- // return new Error(
61
- // 'PanelBar child should be either PanelBarItem or Array of PanelBarItem.');
62
- // }
63
- // }
64
- // return null;
65
- // }
66
- // },
49
+ items: Array,
67
50
  dir: String,
68
51
  selected: String,
69
52
  expanded: Array,
@@ -79,47 +62,50 @@ var PanelBarVue2 = {
79
62
  keepItemsMounted: Boolean
80
63
  },
81
64
  created: function created() {
82
- // /**
83
- // * @hidden
84
- // */
85
- // readonly state: PanelBarState;
86
- // private activeDescendant?: string;
87
- // private _element: HTMLElement | null = null;
88
- // private nextTickId: any;
89
- validatePackage(packageMetadata); // const initialState = getInitialState(props, this.expandMode);
90
- // if (!initialState.focused) {
91
- // initialState.focused = getFirstId(props);
92
- // }
93
- // this.state = initialState;
65
+ this.activeDescendant = null;
66
+ validatePackage(packageMetadata);
67
+ },
68
+ data: function data() {
69
+ var initialState = getInitialState(this.$props, this.expandMode);
70
+
71
+ if (!initialState.currentFocused) {
72
+ initialState.currentFocused = getFirstId(this.$props);
73
+ }
74
+
75
+ return initialState;
94
76
  },
95
77
  computed: {
96
- expandMode: function expandMode() {
97
- return this.props.expandMode || 'multiple';
98
- },
99
78
  selectedItem: function selectedItem() {
100
- var _a = this.props.selected,
101
- selected = _a === void 0 ? this.state.selected : _a;
79
+ var _a = this.$props.selected,
80
+ selected = _a === void 0 ? this.currentSelected : _a;
102
81
  return selected;
103
82
  },
104
83
  expandedItems: function expandedItems() {
105
- var expanded = this.props.isControlled ? this.props.expanded || [] : this.state.expanded;
84
+ var expanded = this.$props.isControlled ? this.$props.expanded || [] : this.currentExpanded;
106
85
  return expanded;
107
86
  },
108
- children: function children() {
109
- var state = __assign(__assign({}, this.state), {
87
+ computedItems: function computedItems() {
88
+ var state = __assign(__assign({
89
+ currentExpanded: []
90
+ }, this.$data), {
110
91
  selected: this.selectedItem
111
92
  });
112
93
 
113
94
  var renderState = {
114
- animation: this.props.animation,
115
- keepItemsMounted: this.props.keepItemsMounted,
95
+ animation: this.$props.animation,
96
+ keepItemsMounted: this.$props.keepItemsMounted,
116
97
  state: state,
117
98
  expanded: this.expandedItems,
118
99
  handleSelect: this.handleSelect
119
100
  };
120
- return renderChildren(); // (renderState);
101
+ return renderChildren.call(this, this.items, renderState);
121
102
  }
122
103
  },
104
+ provide: function provide() {
105
+ return {
106
+ dispatchItemSelect: this.handleSelect
107
+ };
108
+ },
123
109
  // @ts-ignore
124
110
  setup: !gh ? undefined : function () {
125
111
  var v3 = !!gh;
@@ -129,36 +115,33 @@ var PanelBarVue2 = {
129
115
  },
130
116
  // @ts-ignore
131
117
  render: function render(createElement) {
132
- var _this = this;
133
-
134
118
  var h = gh || createElement;
135
- var ariaProps = {
136
- 'aria-activedescendant': this.activeDescendant
137
- };
138
- var className = classNames('k-panelbar', this.props.className);
119
+ var className = classNames('k-panelbar', this.$props.className);
139
120
  return h("ul", {
140
- ref: function ref(div) {
141
- _this._element = div;
142
- },
143
- dir: this.props.dir,
121
+ dir: this.$props.dir,
144
122
  attrs: this.v3 ? undefined : {
145
- dir: this.props.dir,
123
+ dir: this.$props.dir,
146
124
  role: 'tree',
147
- tabIndex: 0
125
+ tabIndex: 0,
126
+ "aria-activedescendant": this.activeDescendant
148
127
  },
149
128
  role: 'tree',
150
129
  tabIndex: 0,
151
- onKeyDown: this.handleKeyDown,
130
+ onKeydown: this.handleKeyDown,
152
131
  on: this.v3 ? undefined : {
153
- "keyDown": this.handleKeyDown,
132
+ "keydown": this.handleKeyDown,
154
133
  "focus": this.handleWrapperFocus,
155
134
  "blur": this.handleWrapperBlur
156
135
  },
157
136
  onFocus: this.handleWrapperFocus,
158
137
  onBlur: this.handleWrapperBlur,
159
138
  "class": className,
160
- style: this.props.style
161
- }, [this.children]);
139
+ "aria-activedescendant": this.activeDescendant
140
+ }, [this.computedItems.map(function (item) {
141
+ return h(PanelBarItem, __assign({
142
+ props: this.v3 ? undefined : item
143
+ }, item));
144
+ }, this)]);
162
145
  },
163
146
  methods: {
164
147
  handleSelect: function handleSelect(event) {
@@ -168,23 +151,22 @@ var PanelBarVue2 = {
168
151
  onSelect: function onSelect(event) {
169
152
  var _this = this;
170
153
 
171
- var flattenChildren = []; // flatChildren(React.Children.toArray(this.children));
172
-
154
+ var flattenChildren = flatChildren(this.computedItems);
173
155
  var selectedChild;
174
156
  var newExpanded;
175
157
  flattenChildren.forEach(function (child) {
176
- if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {
158
+ if (child.uniquePrivateKey === (event.uniquePrivateKey || _this.currentFocused)) {
177
159
  selectedChild = child;
178
160
  }
179
161
  });
180
162
 
181
163
  switch (this.expandMode) {
182
164
  case 'single':
183
- newExpanded = __spreadArrays(selectedChild.props.parentUniquePrivateKey, [selectedChild.props.uniquePrivateKey]);
165
+ newExpanded = __spreadArrays(selectedChild.parentUniquePrivateKey, [selectedChild.uniquePrivateKey]);
184
166
 
185
167
  if (isArrayEqual(this.expandedItems, newExpanded)) {
186
- if (selectedChild.props.parentUniquePrivateKey) {
187
- newExpanded = __spreadArrays(selectedChild.props.parentUniquePrivateKey);
168
+ if (selectedChild.parentUniquePrivateKey) {
169
+ newExpanded = __spreadArrays(selectedChild.parentUniquePrivateKey);
188
170
  } else {
189
171
  newExpanded = [];
190
172
  }
@@ -194,8 +176,8 @@ var PanelBarVue2 = {
194
176
 
195
177
  case 'multiple':
196
178
  newExpanded = this.expandedItems.slice();
197
- var index = newExpanded.indexOf(selectedChild.props.uniquePrivateKey);
198
- index === -1 ? newExpanded.push(selectedChild.props.uniquePrivateKey) : newExpanded.splice(index, 1);
179
+ var index = newExpanded.indexOf(selectedChild.uniquePrivateKey);
180
+ index === -1 ? newExpanded.push(selectedChild.uniquePrivateKey) : newExpanded.splice(index, 1);
199
181
  break;
200
182
 
201
183
  default:
@@ -203,17 +185,12 @@ var PanelBarVue2 = {
203
185
  break;
204
186
  }
205
187
 
206
- this.setState({
207
- selected: selectedChild.props.uniquePrivateKey,
208
- expanded: newExpanded
188
+ this.currentSelected = selectedChild.uniquePrivateKey;
189
+ this.currentExpanded = newExpanded;
190
+ this.$emit('select', {
191
+ target: selectedChild,
192
+ expandedItems: newExpanded
209
193
  });
210
-
211
- if (this.props.onSelect) {
212
- this.props.onSelect.call(undefined, {
213
- target: selectedChild,
214
- expandedItems: newExpanded
215
- });
216
- }
217
194
  },
218
195
  onFocus: function onFocus(event, step) {
219
196
  var _this = this;
@@ -222,21 +199,18 @@ var PanelBarVue2 = {
222
199
  step = 0;
223
200
  }
224
201
 
225
- var flattenChildren = []; // flatVisibleChildren(React.Children.toArray(this.children));
226
-
202
+ var flattenChildren = flatVisibleChildren(this.computedItems);
227
203
  var focusedChild;
228
204
  flattenChildren.forEach(function (child, ixd) {
229
- if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {
205
+ if (child.uniquePrivateKey === (event.uniquePrivateKey || _this.currentFocused)) {
230
206
  var index = ixd + step < 0 ? 0 : ixd + step > flattenChildren.length ? flattenChildren.length - 1 : ixd + step;
231
207
  focusedChild = flattenChildren[index];
232
208
  }
233
209
  });
234
210
 
235
211
  if (focusedChild) {
236
- this.activeDescendant = focusedChild.props.id;
237
- this.setState({
238
- focused: focusedChild.props.uniquePrivateKey
239
- });
212
+ this.activeDescendant = focusedChild.id;
213
+ this.currentFocused = focusedChild.uniquePrivateKey;
240
214
  }
241
215
  },
242
216
  onNavigate: function onNavigate(event, action) {
@@ -268,20 +242,13 @@ var PanelBarVue2 = {
268
242
  handleWrapperFocus: function handleWrapperFocus() {
269
243
  clearTimeout(this.nextTickId);
270
244
 
271
- if (!this.state.wrapperFocused) {
272
- this.setState({
273
- wrapperFocused: true
274
- });
245
+ if (!this.wrapperFocused) {
246
+ this.wrapperFocused = true;
275
247
  }
276
248
  },
277
249
  handleWrapperBlur: function handleWrapperBlur() {
278
- var _this = this;
279
-
280
- this.nextTick(function () {
281
- _this.setState({
282
- wrapperFocused: false
283
- });
284
- });
250
+ // this.nextTick(() => {
251
+ this.wrapperFocused = false; // });
285
252
  },
286
253
  handleKeyDown: function handleKeyDown(event) {
287
254
  var rtl = this._element && getComputedStyle(this._element).direction === 'rtl' || false;
@@ -0,0 +1,47 @@
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
+ /**
7
+ * @hidden
8
+ */
9
+ export interface PanelBarGroupProps {
10
+ item?: object;
11
+ items?: any[];
12
+ animation?: boolean;
13
+ expanded?: boolean;
14
+ disabled?: boolean;
15
+ content?: any;
16
+ keepItemsMounted?: boolean;
17
+ uniquePrivateKey?: string;
18
+ }
19
+ /** @hidden */
20
+ interface PanelBarGroupState {
21
+ }
22
+ /**
23
+ * @hidden
24
+ */
25
+ export interface PanelBarGroupComputed {
26
+ [key: string]: any;
27
+ }
28
+ /**
29
+ * @hidden
30
+ */
31
+ export interface PanelBarGroupMethods {
32
+ [key: string]: any;
33
+ }
34
+ /**
35
+ * @hidden
36
+ */
37
+ export interface PanelBarGroupData {
38
+ show: boolean;
39
+ }
40
+ /**
41
+ * @hidden
42
+ */
43
+ export interface PanelBarGroupAll extends Vue2type, PanelBarGroupMethods, PanelBarGroupData, PanelBarGroupComputed, PanelBarGroupState {
44
+ }
45
+ declare let PanelBarGroupVue2: ComponentOptions<PanelBarGroupAll, DefaultData<PanelBarGroupData>, DefaultMethods<PanelBarGroupAll>, PanelBarGroupComputed, RecordPropsDefinition<PanelBarGroupProps>>;
46
+ declare const PanelBarGroup: DefineComponent<PanelBarGroupProps, any, PanelBarGroupData, PanelBarGroupComputed, PanelBarGroupMethods, {}, {}, {}, string, PanelBarGroupProps, PanelBarGroupProps, {}>;
47
+ export { PanelBarGroup, PanelBarGroupVue2 };
@@ -0,0 +1,126 @@
1
+ var __assign = this && this.__assign || function () {
2
+ __assign = Object.assign || function (t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+
6
+ for (var p in s) {
7
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
+ }
9
+ }
10
+
11
+ return t;
12
+ };
13
+
14
+ return __assign.apply(this, arguments);
15
+ }; // @ts-ignore
16
+
17
+
18
+ import * as Vue from 'vue';
19
+ var allVue = Vue;
20
+ var gh = allVue.h;
21
+ import { Reveal } from '@progress/kendo-vue-animation';
22
+ import { getTemplate } from '@progress/kendo-vue-common';
23
+ import { PanelBarItem } from './PanelBarItem'; // tslint:enable:max-line-length
24
+
25
+ var PanelBarGroupVue2 = {
26
+ name: 'KendoPanelBarGroup',
27
+ props: {
28
+ item: Object,
29
+ items: Array,
30
+ animation: Boolean,
31
+ expanded: Boolean,
32
+ disabled: Boolean,
33
+ keepItemsMounted: Boolean,
34
+ uniquePrivateKey: String,
35
+ content: Object
36
+ },
37
+ data: function data() {
38
+ return {
39
+ show: this.$props.expanded
40
+ };
41
+ },
42
+ // @ts-ignore
43
+ setup: !gh ? undefined : function () {
44
+ var v3 = !!gh;
45
+ return {
46
+ v3: v3
47
+ };
48
+ },
49
+ // @ts-ignore
50
+ render: function render(createElement) {
51
+ var h = gh || createElement;
52
+ var _a = this.$props,
53
+ items = _a.items,
54
+ uniquePrivateKey = _a.uniquePrivateKey,
55
+ disabled = _a.disabled,
56
+ expanded = _a.expanded,
57
+ animation = _a.animation,
58
+ keepItemsMounted = _a.keepItemsMounted;
59
+ var animationStyle = {
60
+ display: 'block'
61
+ };
62
+ var content = getTemplate.call(this, {
63
+ h: h,
64
+ template: this.$props.content,
65
+ defaultRendering: null,
66
+ additionalProps: __assign(__assign({}, this.$props), {
67
+ show: this.show
68
+ })
69
+ });
70
+ var opened = !disabled && expanded;
71
+ var itemContent = opened || keepItemsMounted ? items ? h("ul", {
72
+ role: "group",
73
+ attrs: this.v3 ? undefined : {
74
+ role: "group"
75
+ },
76
+ "class": "k-panelbar-group k-panel k-group",
77
+ style: {
78
+ display: keepItemsMounted ? this.$data.show ? 'block' : 'none' : 'block'
79
+ }
80
+ }, [items.map(function (item) {
81
+ return h(PanelBarItem, __assign({
82
+ props: this.v3 ? undefined : item
83
+ }, item));
84
+ }, this)]) : this.$props.content ? h("div", {
85
+ "class": "k-panelbar-content k-content"
86
+ }, [content]) : null : null;
87
+ return (animation !== undefined ? animation : true) && !disabled ? // @ts-ignore function children
88
+ h(Reveal, {
89
+ appear: opened,
90
+ attrs: this.v3 ? undefined : {
91
+ appear: opened,
92
+ transitionEnterDuration: 200,
93
+ transitionExitDuration: 200,
94
+ // childFactory={keepItemsMounted && this.childFactory}
95
+ unmountOnExit: !keepItemsMounted
96
+ },
97
+ transitionEnterDuration: 200,
98
+ transitionExitDuration: 200,
99
+ key: uniquePrivateKey + '_animation',
100
+ style: animationStyle,
101
+ unmountOnExit: !keepItemsMounted,
102
+ onEntering: this.handleEntering,
103
+ on: this.v3 ? undefined : {
104
+ "entering": this.handleEntering,
105
+ "exited": this.handleExited
106
+ },
107
+ onExited: this.handleExited
108
+ }, this.v3 ? function () {
109
+ return [itemContent];
110
+ } : [itemContent]) : itemContent;
111
+ },
112
+ methods: {
113
+ handleEntering: function handleEntering() {
114
+ if (this.keepItemsMounted) {
115
+ this.show = true;
116
+ }
117
+ },
118
+ handleExited: function handleExited() {
119
+ if (this.keepItemsMounted) {
120
+ this.show = false;
121
+ }
122
+ }
123
+ }
124
+ };
125
+ var PanelBarGroup = PanelBarGroupVue2;
126
+ export { PanelBarGroup, PanelBarGroupVue2 };
@@ -6,7 +6,6 @@ declare type DefaultMethods<V> = {
6
6
  import { PanelBarItemProps } from './interfaces/PanelBarItemProps';
7
7
  /** @hidden */
8
8
  interface PanelBarItemState {
9
- show: boolean;
10
9
  }
11
10
  /**
12
11
  * @hidden