@progress/kendo-vue-layout 8.4.0-develop.3 → 8.4.0-develop.4
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 +3 -3
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +6 -6
- package/card/interfaces/AvatarProps.d.ts +3 -5
- 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/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: 1779122987,version:"8.4.0-develop.4",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: 1779122987,
|
|
14
|
+
version: "8.4.0-develop.4",
|
|
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.4",
|
|
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.4",
|
|
29
|
+
"@progress/kendo-vue-common": "8.4.0-develop.4",
|
|
30
|
+
"@progress/kendo-vue-intl": "8.4.0-develop.4",
|
|
31
|
+
"@progress/kendo-vue-popup": "8.4.0-develop.4",
|
|
32
|
+
"@progress/kendo-vue-progressbars": "8.4.0-develop.4",
|
|
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": 1779122987,
|
|
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
|
}
|
|
@@ -44,9 +44,9 @@ declare const SplitterBar: import('vue').DefineComponent<import('vue').ExtractPr
|
|
|
44
44
|
onPrevToggle(event: any): void;
|
|
45
45
|
onNextToggle(event: any): void;
|
|
46
46
|
onKeyDown(event: any): void;
|
|
47
|
-
previousArrowName(isHorizontal: boolean): "" | "
|
|
47
|
+
previousArrowName(isHorizontal: boolean): "" | "chevron-right" | "chevron-left" | "chevron-up" | "chevron-down";
|
|
48
48
|
previousArrowSVG(isHorizontal: boolean): import('@progress/kendo-svg-icons').SVGIcon;
|
|
49
|
-
nextArrowName(isHorizontal: boolean): "" | "
|
|
49
|
+
nextArrowName(isHorizontal: boolean): "" | "chevron-right" | "chevron-left" | "chevron-up" | "chevron-down";
|
|
50
50
|
nextArrowSVG(isHorizontal: boolean): import('@progress/kendo-svg-icons').SVGIcon;
|
|
51
51
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
52
|
drag: any;
|
package/splitter/SplitterBar.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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),l=require("@progress/kendo-vue-common"),d=require("@progress/kendo-vue-intl"),g=require("../messages/main.js"),s=require("@progress/kendo-svg-icons"),f=a.defineComponent({name:"KendoSplitterBar",emits:{drag:null,toggle:null,keyboardresize:null},props:{orientation:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},index:Number,prev:Object,next:Object,isRtl:Boolean},created(){this.draggable=null},computed:{isStatic(){const{prev:t,next:r}=this.$props,e=t.resizable&&r.resizable,o=t.collapsible||r.collapsible;return!e&&!o},isDraggable(){const{prev:t,next:r}=this.$props,e=t.resizable&&r.resizable,o=t.collapsed||r.collapsed;return!!e&&!o},isHorizontal(){return this.$props.orientation==="horizontal"}},inject:{kendoLocalizationService:{default:null}},data(){return{focused:!1}},mounted(){this.$el&&(this.draggable=this.$refs.draggable)},render(){const t=this.isDraggable,r=this.isStatic,e=this.isHorizontal,o=l.classNames("k-splitbar",{"k-focus":this.focused,"k-splitbar-horizontal":e,"k-splitbar-vertical":!e,"k-splitbar-draggable-horizontal":e&&t,"k-splitbar-draggable-vertical":!e&&t,"k-splitbar-static-horizontal":e&&r,"k-splitbar-static-vertical":!e&&r}),n=this.previousArrowName(e),i=this.previousArrowSVG(e),h=this.nextArrowName(e),p=this.nextArrowSVG(e),u=d.provideLocalizationService(this).toLanguageString(g.splitterPaneLabel,g.messages[g.splitterPaneLabel]);return a.createVNode(l.Draggable,{onPress:c=>this.onDrag(c,!0,!1),onDrag:c=>this.onDrag(c,!1,!1),onRelease:c=>this.onDrag(c,!1,!0),ref:"draggable"},{default:()=>[a.createVNode("div",{tabindex:r?-1:0,role:"separator",class:o,style:{touchAction:"none"},onFocusin:this.onFocus,onFocusout:this.onBlur,onDblclick:this.onToggle,onKeydown:this.onKeyDown,"aria-label":u,"aria-orientation":this.isHorizontal?"vertical":"horizontal"},[this.prev.collapsible&&a.createVNode("span",{class:"k-collapse-prev",onClick:this.onPrevToggle},[a.createVNode(l.Icon,{name:n,icon:i,size:"xsmall"},null)]),a.createVNode("div",{class:"k-resize-handle"},null),this.next.collapsible&&a.createVNode("span",{class:"k-collapse-next",onClick:this.onNextToggle},[a.createVNode(l.Icon,{name:h,icon:p,size:"xsmall"},null)])])]})},methods:{onDrag(t,r,e){const o=t,{index:n}=this.$props,i=this.draggable&&this.draggable.element;!e&&o&&o.originalEvent.preventDefault(),i&&!this.isStatic&&this.isDraggable&&this.$emit("drag",o,i,n,r,e)},onFocus(){this.focused=!0},onBlur(){this.focused=!1},onToggle(t){const{index:r,prev:e,next:o}=this.$props;(e.collapsible||o.collapsible)&&this.$emit("toggle",e.collapsible?r:r+1,t)},onPrevToggle(t){const{index:r,prev:e}=this.$props;e.collapsible&&this.$emit("toggle",r,t)},onNextToggle(t){const{index:r,next:e}=this.$props;e.collapsible&&this.$emit("toggle",r+1,t)},onKeyDown(t){const r=t&&t.keyCode,e=this.isHorizontal,{index:o}=this.$props,n=this.draggable&&this.draggable.element,i=(h,p,u)=>{t.preventDefault(),this.$emit("keyboardresize",h,p,u,t)};n&&(r===l.Keys.enter?(t.preventDefault(),this.onToggle(t)):this.isDraggable&&(e&&r===l.Keys.left?i(n,o,-10):e&&r===l.Keys.right?i(n,o,10):!e&&r===l.Keys.up?i(n,o,-10):!e&&r===l.Keys.down&&i(n,o,10)))},previousArrowName(t){const{prev:r}=this.$props,e=r.collapsed;return t&&!e?this.isRtl?"chevron-right":"chevron-left":t&&e?this.isRtl?"chevron-left":"chevron-right":!t&&!e?"chevron-up":!t&&e?"chevron-down":""},previousArrowSVG(t){const{prev:r}=this.$props,e=r.collapsed;if(t&&!e)return this.isRtl?s.chevronRightIcon:s.chevronLeftIcon;if(t&&e)return this.isRtl?s.chevronLeftIcon:s.chevronRightIcon;if(!t&&!e)return s.chevronUpIcon;if(!t&&e)return s.chevronDownIcon},nextArrowName(t){const{next:r}=this.$props,e=r.collapsed;return t&&!e?this.isRtl?"chevron-left":"chevron-right":t&&e?this.isRtl?"chevron-right":"chevron-left":!t&&!e?"chevron-down":!t&&e?"chevron-up":""},nextArrowSVG(t){const{next:r}=this.$props,e=r.collapsed;if(t&&!e)return this.isRtl?s.chevronLeftIcon:s.chevronRightIcon;if(t&&e)return this.isRtl?s.chevronRightIcon:s.chevronLeftIcon;if(!t&&!e)return s.chevronDownIcon;if(!t&&e)return s.chevronUpIcon}}});exports.SplitterBar=f;
|