@progress/kendo-vue-layout 8.4.0-develop.3 → 8.4.0-develop.5
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.
- package/appbar/AppBar.d.ts +2 -0
- package/appbar/AppBar.js +1 -1
- package/appbar/AppBar.mjs +15 -12
- package/appbar/interfaces/AppBarProps.d.ts +11 -8
- package/bottomnavigation/BottomNavigation.js +1 -1
- package/bottomnavigation/BottomNavigation.mjs +4 -4
- package/bottomnavigation/BottomNavigationProps.d.ts +5 -15
- package/bottomnavigation/models/utils.d.ts +1 -6
- package/bottomnavigation/models/utils.js +1 -1
- package/bottomnavigation/models/utils.mjs +7 -12
- package/card/Avatar.d.ts +2 -5
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +12 -13
- package/card/interfaces/AvatarProps.d.ts +3 -10
- package/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/expansionpanel/ExpansionPanel.d.ts +48 -1
- package/expansionpanel/ExpansionPanel.js +1 -1
- package/expansionpanel/ExpansionPanel.mjs +41 -49
- package/expansionpanel/ExpansionPanelContent.js +1 -1
- package/expansionpanel/ExpansionPanelContent.mjs +11 -24
- package/menu/components/MenuItemArrow.js +1 -1
- package/menu/components/MenuItemArrow.mjs +11 -11
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -8
- package/panelbar/PanelBarItem.js +1 -1
- package/panelbar/PanelBarItem.mjs +87 -82
- package/splitter/SplitterBar.d.ts +2 -2
- package/splitter/SplitterBar.js +1 -1
- package/splitter/SplitterBar.mjs +70 -56
- package/stepper/Step.js +1 -1
- package/stepper/Step.mjs +1 -1
|
@@ -8,5 +8,52 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
declare const ExpansionPanel:
|
|
11
|
+
declare const ExpansionPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
dir: StringConstructor;
|
|
13
|
+
id: StringConstructor;
|
|
14
|
+
tabIndex: NumberConstructor;
|
|
15
|
+
title: StringConstructor;
|
|
16
|
+
subtitle: StringConstructor;
|
|
17
|
+
titleRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
18
|
+
subtitleRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
19
|
+
expandIcon: StringConstructor;
|
|
20
|
+
expandSvgIcon: ObjectConstructor;
|
|
21
|
+
collapseIcon: StringConstructor;
|
|
22
|
+
collapseSvgIcon: ObjectConstructor;
|
|
23
|
+
expanded: BooleanConstructor;
|
|
24
|
+
disabled: BooleanConstructor;
|
|
25
|
+
}>, {}, {
|
|
26
|
+
focused: boolean;
|
|
27
|
+
}, {
|
|
28
|
+
wrapperClass(): {
|
|
29
|
+
'k-expander': boolean;
|
|
30
|
+
'k-expanded': any;
|
|
31
|
+
'k-focus': boolean;
|
|
32
|
+
'k-disabled': any;
|
|
33
|
+
};
|
|
34
|
+
expandIconName(): string;
|
|
35
|
+
expandSVGIcon(): any;
|
|
36
|
+
}, {
|
|
37
|
+
onClick(event: any): void;
|
|
38
|
+
onKeyDown(event: any): void;
|
|
39
|
+
handleFocus(): void;
|
|
40
|
+
handleBlur(): void;
|
|
41
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
dir: StringConstructor;
|
|
43
|
+
id: StringConstructor;
|
|
44
|
+
tabIndex: NumberConstructor;
|
|
45
|
+
title: StringConstructor;
|
|
46
|
+
subtitle: StringConstructor;
|
|
47
|
+
titleRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
48
|
+
subtitleRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
49
|
+
expandIcon: StringConstructor;
|
|
50
|
+
expandSvgIcon: ObjectConstructor;
|
|
51
|
+
collapseIcon: StringConstructor;
|
|
52
|
+
collapseSvgIcon: ObjectConstructor;
|
|
53
|
+
expanded: BooleanConstructor;
|
|
54
|
+
disabled: BooleanConstructor;
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
expanded: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
59
|
export { ExpansionPanel };
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),t=require("@progress/kendo-vue-common"),o=require("@progress/kendo-svg-icons"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),t=require("@progress/kendo-vue-common"),o=require("@progress/kendo-svg-icons"),m=require("../package-metadata.js"),f=n.defineComponent({name:"KendoExpansionPanel",props:{dir:String,id:String,tabIndex:Number,title:String,subtitle:String,titleRender:[String,Object,Function],subtitleRender:[String,Object,Function],expandIcon:String,expandSvgIcon:Object,collapseIcon:String,collapseSvgIcon:Object,expanded:Boolean,disabled:Boolean},created(){t.validatePackage(m.packageMetadata)},computed:{wrapperClass(){const{expanded:e,disabled:a}=this.$props;return{"k-expander":!0,"k-expanded":e,"k-focus":this.focused&&!a,"k-disabled":a}},expandIconName(){const{expanded:e,expandIcon:a,collapseIcon:s}=this.$props;return e?a?t.getIconName(a):"chevron-up":s?t.getIconName(s):"chevron-down"},expandSVGIcon(){const{expanded:e,expandSvgIcon:a,collapseSvgIcon:s}=this.$props;return e?a||o.chevronUpIcon:s||o.chevronDownIcon}},data(){return{focused:!1}},render(){const e=t.getDefaultSlots(this),{expanded:a=!1,disabled:s,title:d,titleRender:i,subtitle:r,subtitleRender:l,ariaControls:c,tabIndex:p,id:u}=this.$props,h=t.templateRendering.call(this,i,t.getListeners.call(this)),g=t.getTemplate.call(this,{h:n.h,template:h,defaultRendering:n.createVNode("div",{class:"k-expander-title"},[d])}),x=t.templateRendering.call(this,l,t.getListeners.call(this)),b=t.getTemplate.call(this,{h:n.h,template:x,defaultRendering:n.createVNode("div",{class:"k-expander-sub-title"},[r])});return n.createVNode("div",{class:this.wrapperClass,onFocusin:this.handleFocus,onFocusout:this.handleBlur,id:u,onKeydown:this.onKeyDown},[n.createVNode("div",{role:"button",ref:"header","aria-controls":c,"aria-expanded":a,"aria-disabled":s,tabindex:t.getTabIndex(p,s),class:"k-expander-header",onClick:this.onClick},[g,n.createVNode("span",{class:"k-spacer"},null),b,n.createVNode("span",{class:"k-expander-indicator"},[n.createVNode(t.Icon,{name:this.expandIconName,icon:this.expandSVGIcon},null)])]),e])},methods:{onClick(e){this.$props.disabled||this.$emit("action",{event:e,expanded:this.expanded})},onKeyDown(e){this.$props.disabled||(e.keyCode===t.Keys.enter||e.keyCode===t.Keys.space)&&e.target===this.$refs.header&&(e.preventDefault(),this.$emit("action",{event:e,expanded:this.expanded}))},handleFocus(){this.$props.disabled||(this.focused=!0)},handleBlur(){this.$props.disabled||(this.focused=!1)}}});exports.ExpansionPanel=f;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { Keys as o, getDefaultSlots as
|
|
10
|
-
import { chevronUpIcon as
|
|
11
|
-
import { packageMetadata as
|
|
12
|
-
const
|
|
8
|
+
import { defineComponent as S, h as s, createVNode as a } from "vue";
|
|
9
|
+
import { Keys as o, getDefaultSlots as $, templateRendering as i, getListeners as d, getTemplate as r, getTabIndex as v, Icon as C, getIconName as l, validatePackage as R } from "@progress/kendo-vue-common";
|
|
10
|
+
import { chevronUpIcon as w, chevronDownIcon as y } from "@progress/kendo-svg-icons";
|
|
11
|
+
import { packageMetadata as F } from "../package-metadata.mjs";
|
|
12
|
+
const j = /* @__PURE__ */ S({
|
|
13
13
|
name: "KendoExpansionPanel",
|
|
14
14
|
props: {
|
|
15
15
|
dir: String,
|
|
@@ -27,94 +27,87 @@ const c = /* @__PURE__ */ C({
|
|
|
27
27
|
disabled: Boolean
|
|
28
28
|
},
|
|
29
29
|
created() {
|
|
30
|
-
F
|
|
31
|
-
},
|
|
32
|
-
provide() {
|
|
33
|
-
return {
|
|
34
|
-
kExpansionPanelExpanded: d(() => this.expanded),
|
|
35
|
-
kExpansionPanelContentId: d(() => this.$props.ariaControls || `${this.uniqueId}-content`)
|
|
36
|
-
};
|
|
30
|
+
R(F);
|
|
37
31
|
},
|
|
38
32
|
computed: {
|
|
39
33
|
wrapperClass() {
|
|
40
34
|
const {
|
|
41
35
|
expanded: e,
|
|
42
|
-
disabled:
|
|
36
|
+
disabled: t
|
|
43
37
|
} = this.$props;
|
|
44
38
|
return {
|
|
45
39
|
"k-expander": !0,
|
|
46
40
|
"k-expanded": e,
|
|
47
|
-
"k-focus": this.focused && !
|
|
48
|
-
"k-disabled":
|
|
41
|
+
"k-focus": this.focused && !t,
|
|
42
|
+
"k-disabled": t
|
|
49
43
|
};
|
|
50
44
|
},
|
|
51
45
|
expandIconName() {
|
|
52
46
|
const {
|
|
53
47
|
expanded: e,
|
|
54
|
-
expandIcon:
|
|
55
|
-
collapseIcon:
|
|
48
|
+
expandIcon: t,
|
|
49
|
+
collapseIcon: n
|
|
56
50
|
} = this.$props;
|
|
57
|
-
return e ?
|
|
51
|
+
return e ? t ? l(t) : "chevron-up" : n ? l(n) : "chevron-down";
|
|
58
52
|
},
|
|
59
53
|
expandSVGIcon() {
|
|
60
54
|
const {
|
|
61
55
|
expanded: e,
|
|
62
|
-
expandSvgIcon:
|
|
63
|
-
collapseSvgIcon:
|
|
56
|
+
expandSvgIcon: t,
|
|
57
|
+
collapseSvgIcon: n
|
|
64
58
|
} = this.$props;
|
|
65
|
-
return e ?
|
|
59
|
+
return e ? t || w : n || y;
|
|
66
60
|
}
|
|
67
61
|
},
|
|
68
62
|
data() {
|
|
69
63
|
return {
|
|
70
|
-
focused: !1
|
|
71
|
-
uniqueId: `k-expander-${c._nextId++}`
|
|
64
|
+
focused: !1
|
|
72
65
|
};
|
|
73
66
|
},
|
|
74
67
|
render() {
|
|
75
|
-
const e =
|
|
76
|
-
expanded:
|
|
77
|
-
disabled:
|
|
78
|
-
title:
|
|
79
|
-
titleRender:
|
|
80
|
-
subtitle:
|
|
81
|
-
subtitleRender:
|
|
82
|
-
ariaControls:
|
|
83
|
-
tabIndex:
|
|
84
|
-
id:
|
|
85
|
-
} = this.$props,
|
|
68
|
+
const e = $(this), {
|
|
69
|
+
expanded: t = !1,
|
|
70
|
+
disabled: n,
|
|
71
|
+
title: c,
|
|
72
|
+
titleRender: p,
|
|
73
|
+
subtitle: h,
|
|
74
|
+
subtitleRender: u,
|
|
75
|
+
ariaControls: x,
|
|
76
|
+
tabIndex: b,
|
|
77
|
+
id: f
|
|
78
|
+
} = this.$props, m = i.call(this, p, d.call(this)), g = r.call(this, {
|
|
86
79
|
h: s,
|
|
87
|
-
template:
|
|
80
|
+
template: m,
|
|
88
81
|
defaultRendering: a("div", {
|
|
89
82
|
class: "k-expander-title"
|
|
90
|
-
}, [
|
|
91
|
-
}),
|
|
83
|
+
}, [c])
|
|
84
|
+
}), I = i.call(this, u, d.call(this)), k = r.call(this, {
|
|
92
85
|
h: s,
|
|
93
|
-
template:
|
|
86
|
+
template: I,
|
|
94
87
|
defaultRendering: a("div", {
|
|
95
88
|
class: "k-expander-sub-title"
|
|
96
|
-
}, [
|
|
89
|
+
}, [h])
|
|
97
90
|
});
|
|
98
91
|
return a("div", {
|
|
99
92
|
class: this.wrapperClass,
|
|
100
93
|
onFocusin: this.handleFocus,
|
|
101
94
|
onFocusout: this.handleBlur,
|
|
102
|
-
id:
|
|
95
|
+
id: f,
|
|
103
96
|
onKeydown: this.onKeyDown
|
|
104
97
|
}, [a("div", {
|
|
105
98
|
role: "button",
|
|
106
99
|
ref: "header",
|
|
107
|
-
"aria-controls":
|
|
108
|
-
"aria-expanded":
|
|
109
|
-
"aria-disabled":
|
|
110
|
-
tabindex:
|
|
100
|
+
"aria-controls": x,
|
|
101
|
+
"aria-expanded": t,
|
|
102
|
+
"aria-disabled": n,
|
|
103
|
+
tabindex: v(b, n),
|
|
111
104
|
class: "k-expander-header",
|
|
112
105
|
onClick: this.onClick
|
|
113
|
-
}, [
|
|
106
|
+
}, [g, a("span", {
|
|
114
107
|
class: "k-spacer"
|
|
115
|
-
}, null),
|
|
108
|
+
}, null), k, a("span", {
|
|
116
109
|
class: "k-expander-indicator"
|
|
117
|
-
}, [a(
|
|
110
|
+
}, [a(C, {
|
|
118
111
|
name: this.expandIconName,
|
|
119
112
|
icon: this.expandSVGIcon
|
|
120
113
|
}, null)])]), e]);
|
|
@@ -140,7 +133,6 @@ const c = /* @__PURE__ */ C({
|
|
|
140
133
|
}
|
|
141
134
|
}
|
|
142
135
|
});
|
|
143
|
-
c._nextId = 0;
|
|
144
136
|
export {
|
|
145
|
-
|
|
137
|
+
j as ExpansionPanel
|
|
146
138
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("../package-metadata.js"),n=require("@progress/kendo-vue-common"),o=e.defineComponent({name:"KendoExpansionPanelContent",created(){n.validatePackage(a.packageMetadata)},render(){const t=n.getDefaultSlots(this);return e.createVNode("div",{class:"k-expander-content-wrapper"},[e.createVNode("div",{class:"k-expander-content"},[t])])}});exports.ExpansionPanelContent=o;
|
|
@@ -5,36 +5,23 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { packageMetadata as
|
|
10
|
-
import { getDefaultSlots as
|
|
11
|
-
const
|
|
8
|
+
import { defineComponent as n, createVNode as e } from "vue";
|
|
9
|
+
import { packageMetadata as a } from "../package-metadata.mjs";
|
|
10
|
+
import { getDefaultSlots as o, validatePackage as r } from "@progress/kendo-vue-common";
|
|
11
|
+
const c = /* @__PURE__ */ n({
|
|
12
12
|
name: "KendoExpansionPanelContent",
|
|
13
|
-
inject: {
|
|
14
|
-
kExpansionPanelExpanded: {
|
|
15
|
-
default: void 0
|
|
16
|
-
},
|
|
17
|
-
kExpansionPanelContentId: {
|
|
18
|
-
default: void 0
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
13
|
created() {
|
|
22
|
-
|
|
14
|
+
r(a);
|
|
23
15
|
},
|
|
24
16
|
render() {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class: {
|
|
30
|
-
"k-expander-content-wrapper": !0,
|
|
31
|
-
"k-hidden": !o
|
|
32
|
-
}
|
|
33
|
-
}, [a("div", {
|
|
17
|
+
const t = o(this);
|
|
18
|
+
return e("div", {
|
|
19
|
+
class: "k-expander-content-wrapper"
|
|
20
|
+
}, [e("div", {
|
|
34
21
|
class: "k-expander-content"
|
|
35
|
-
}, [
|
|
22
|
+
}, [t])]);
|
|
36
23
|
}
|
|
37
24
|
});
|
|
38
25
|
export {
|
|
39
|
-
|
|
26
|
+
c as ExpansionPanelContent
|
|
40
27
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("@progress/kendo-vue-common"),o=require("@progress/kendo-svg-icons"),s=require("../utils/misc.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("@progress/kendo-vue-common"),o=require("@progress/kendo-svg-icons"),s=require("../utils/misc.js"),n=o.chevronDownIcon,t=o.chevronRightIcon,i=o.chevronLeftIcon,d=e.defineComponent({name:"KendoMenuItemArrow",props:{itemId:String,dir:String,verticalMenu:Boolean},render(){return e.createVNode("span",{class:"k-menu-expand-arrow","aria-hidden":"true"},[e.createVNode(c.Icon,{icon:this.getArrowName(),role:"presentation"},null)])},methods:{getArrowName(){const r=s.getChildrenPosition(this.$props.itemId,this.$props.verticalMenu===!0,this.$props.dir==="rtl");return r==="downward"?n:r==="rightward"?t:r==="leftward"?i:""}}});exports.MenuItemArrow=d;exports.downArrowIcon=n;exports.leftArrowIcon=i;exports.rightArrowIcon=t;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { Icon as
|
|
10
|
-
import {
|
|
11
|
-
import { getChildrenPosition as
|
|
12
|
-
const
|
|
8
|
+
import { defineComponent as e, createVNode as o } from "vue";
|
|
9
|
+
import { Icon as n } from "@progress/kendo-vue-common";
|
|
10
|
+
import { chevronDownIcon as t, chevronLeftIcon as i, chevronRightIcon as c } from "@progress/kendo-svg-icons";
|
|
11
|
+
import { getChildrenPosition as s } from "../utils/misc.mjs";
|
|
12
|
+
const d = t, m = c, a = i, I = /* @__PURE__ */ e({
|
|
13
13
|
name: "KendoMenuItemArrow",
|
|
14
14
|
props: {
|
|
15
15
|
itemId: String,
|
|
@@ -20,21 +20,21 @@ const s = n, d = c, m = i, I = /* @__PURE__ */ t({
|
|
|
20
20
|
return o("span", {
|
|
21
21
|
class: "k-menu-expand-arrow",
|
|
22
22
|
"aria-hidden": "true"
|
|
23
|
-
}, [o(
|
|
23
|
+
}, [o(n, {
|
|
24
24
|
icon: this.getArrowName(),
|
|
25
25
|
role: "presentation"
|
|
26
26
|
}, null)]);
|
|
27
27
|
},
|
|
28
28
|
methods: {
|
|
29
29
|
getArrowName() {
|
|
30
|
-
const r =
|
|
31
|
-
return r === "downward" ?
|
|
30
|
+
const r = s(this.$props.itemId, this.$props.verticalMenu === !0, this.$props.dir === "rtl");
|
|
31
|
+
return r === "downward" ? d : r === "rightward" ? m : r === "leftward" ? a : "";
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
export {
|
|
36
36
|
I as MenuItemArrow,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
d as downArrowIcon,
|
|
38
|
+
a as leftArrowIcon,
|
|
39
|
+
m as rightArrowIcon
|
|
40
40
|
};
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-layout",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-layout",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1779201968,version:"8.4.0-develop.5",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "8.4.0-develop.
|
|
13
|
+
publishDate: 1779201968,
|
|
14
|
+
version: "8.4.0-develop.5",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-layout",
|
|
3
|
-
"version": "8.4.0-develop.
|
|
3
|
+
"version": "8.4.0-develop.5",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@progress/kendo-licensing": "^1.7.2",
|
|
28
|
-
"@progress/kendo-vue-animation": "8.4.0-develop.
|
|
29
|
-
"@progress/kendo-vue-common": "8.4.0-develop.
|
|
30
|
-
"@progress/kendo-vue-intl": "8.4.0-develop.
|
|
31
|
-
"@progress/kendo-vue-popup": "8.4.0-develop.
|
|
32
|
-
"@progress/kendo-vue-progressbars": "8.4.0-develop.
|
|
33
|
-
"@progress/kendo-svg-icons": "^4.
|
|
28
|
+
"@progress/kendo-vue-animation": "8.4.0-develop.5",
|
|
29
|
+
"@progress/kendo-vue-common": "8.4.0-develop.5",
|
|
30
|
+
"@progress/kendo-vue-intl": "8.4.0-develop.5",
|
|
31
|
+
"@progress/kendo-vue-popup": "8.4.0-develop.5",
|
|
32
|
+
"@progress/kendo-vue-progressbars": "8.4.0-develop.5",
|
|
33
|
+
"@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
|
|
34
34
|
"vue": "^3.0.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"package": {
|
|
51
51
|
"productName": "Kendo UI for Vue",
|
|
52
52
|
"productCode": "KENDOUIVUE",
|
|
53
|
-
"publishDate":
|
|
53
|
+
"publishDate": 1779201968,
|
|
54
54
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -60,5 +60,10 @@
|
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
62
62
|
"url": "git+https://github.com/telerik/kendo-vue.git"
|
|
63
|
+
},
|
|
64
|
+
"peerDependenciesMeta": {
|
|
65
|
+
"@progress/kendo-svg-icons": {
|
|
66
|
+
"optional": true
|
|
67
|
+
}
|
|
63
68
|
}
|
|
64
69
|
}
|
package/panelbar/PanelBarItem.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("@progress/kendo-vue-common"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("@progress/kendo-vue-common"),f=require("@progress/kendo-svg-icons"),q=require("@progress/kendo-vue-animation");function E(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!e.isVNode(n)}const w=e.defineComponent({name:"KendoPanelBarGroup",props:{item:Object,items:Array,animation:Boolean,expanded:Boolean,disabled:Boolean,keepItemsMounted:Boolean,uniquePrivateKey:[String,Number],content:Object},data(){return{show:this.$props.expanded}},render(){const{item:n,items:i,uniquePrivateKey:u,disabled:d,expanded:l,animation:s,keepItemsMounted:p}=this.$props,b={display:"block"},t=o.getTemplate.call(this,{h:e.h,template:this.$props.content,defaultRendering:null,additionalProps:{...this.$props,show:this.show}}),r=!d&&l,c=r||p?i?e.createVNode("ul",{role:"group",class:"k-panelbar-group",style:{display:p?this.$data.show?"block":"none":"block"}},[i.map(function(k){return e.h(N,{...k,item:n})},this)]):this.$props.content?e.createVNode("div",{class:"k-panelbar-content"},[t]):null:null,a=!r&&!p&&!i&&this.$props.content?e.createVNode("div",{class:"k-panelbar-content","aria-hidden":"true",style:{display:"none"}},[t]):null;return[(s!==void 0?s:!0)&&!d?e.createVNode(q.Reveal,{appear:r,transitionEnterDuration:200,transitionExitDuration:200,key:u+"_animation",style:b,onEntering:this.handleEntering,onExited:this.handleExited},E(c)?c:{default:()=>[c]}):c,a]},methods:{handleEntering(){this.keepItemsMounted&&(this.show=!0)},handleExited(){this.keepItemsMounted&&(this.show=!1)}}}),N=e.defineComponent({name:"KendoPanelBarItem",props:{item:Object,items:Array,animation:Boolean,expanded:Boolean,disabled:Boolean,selected:Boolean,level:Number,title:{type:[String,Object,Function],default:function(){return"Untitled"}},id:[String,Number],focused:Boolean,keepItemsMounted:Boolean,uniquePrivateKey:[String,Number],parentUniquePrivateKey:Array,parentExpanded:Boolean,headerClassName:String,iconClass:String,imageUrl:String,icon:String,svgIcon:Object,content:Object,header:Object},inject:{dispatchItemSelect:{default:null}},render(){const{id:n,item:i,icon:u,svgIcon:d,items:l,content:s,title:p,uniquePrivateKey:b,disabled:t,selected:r,focused:c,expanded:a,className:g,level:m,headerClassName:k,animation:I,keepItemsMounted:y}=this.$props,h=!!l||!!s,v=o.classNames("k-panelbar-item",{"k-panelbar-header":m===0,"k-panelbar-item":m!==0,"k-expanded":a&&h,"k-disabled":t},`k-level-${m}`,g),B=o.classNames("k-link",{"k-selected":!t&&r,"k-focus":c},k),C=o.classNames("k-panelbar-toggle",{"k-panelbar-collapse":a&&h,"k-panelbar-expand":!a&&h}),S=a?"chevron-up":"chevron-down",P=a?f.chevronUpIcon:f.chevronDownIcon,V=function(){return this.imageUrl?e.createVNode("img",{role:"presentation",class:"k-panelbar-item-icon k-image",src:this.imageUrl},null):u||d?e.createVNode(o.Icon,{name:u,class:"k-panelbar-item-icon",icon:d},null):this.iconClass?e.createVNode(o.Icon,{class:"k-panelbar-item-icon "+this.iconClass},null):null}.call(this),x=!t&&(l||s)?e.createVNode(o.Icon,{name:S,icon:P,class:C},null):null,$=l||s?e.createVNode(w,{items:l,item:i,content:s,uniquePrivateKey:b,disabled:t,expanded:a,animation:I,keepItemsMounted:y},null):null,j=o.getTemplate.call(this,{h:e.h,template:this.$props.header,defaultRendering:null,additionalProps:{...this.$props}});return e.createVNode("li",{id:n,class:v,role:"treeitem","aria-disabled":t||void 0,"aria-selected":!t&&r,"aria-expanded":h?!t&&a:void 0},[e.createVNode("span",{class:B,onClick:this.handleItemClick},[V,this.$props.header?j:e.createVNode("span",{class:"k-panelbar-item-text"},[p]),x]),$])},methods:{handleItemClick(){const{disabled:n,id:i}=this.$props;n||this.dispatchItemSelect({uniquePrivateKey:this.$props.uniquePrivateKey,id:i,target:this})},childFactory(n){return n}}});exports.PanelBarItem=N;
|