@progress/kendo-vue-layout 6.4.1-develop.2 → 6.4.2-develop.3
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/actionsheet/ActionSheet.mjs +4 -4
- package/appbar/AppBar.mjs +4 -4
- package/appbar/AppBarSection.mjs +3 -3
- package/appbar/AppBarSpacer.mjs +3 -3
- package/bottomnavigation/BottomNavigation.mjs +7 -7
- package/bottomnavigation/BottomNavigationItem.mjs +4 -4
- package/breadcrumb/Breadcrumb.mjs +7 -7
- package/breadcrumb/BreadcrumbLink.mjs +5 -5
- package/breadcrumb/BreadcrumbOrderedList.mjs +4 -4
- package/card/Avatar.mjs +3 -3
- package/card/Card.mjs +8 -8
- package/card/CardActions.mjs +1 -1
- package/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/drawer/Drawer.mjs +4 -4
- package/drawer/DrawerNavigation.js +1 -1
- package/drawer/DrawerNavigation.mjs +3 -5
- package/expansionpanel/ExpansionPanel.mjs +8 -8
- package/expansionpanel/ExpansionPanelContent.mjs +3 -3
- package/gridlayout/GridLayout.mjs +3 -3
- package/gridlayout/GridLayoutItem.mjs +3 -3
- package/menu/components/Menu.mjs +14 -14
- package/menu/components/MenuItemInternal.mjs +8 -8
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +7 -7
- package/panelbar/PanelBar.mjs +10 -10
- package/splitter/Splitter.mjs +3 -3
- package/splitter/SplitterBar.mjs +4 -4
- package/stacklayout/StackLayout.mjs +3 -3
- package/stepper/Step.mjs +5 -5
- package/stepper/Stepper.mjs +7 -7
- package/tabstrip/TabStrip.mjs +5 -5
- package/tabstrip/TabStripContent.mjs +3 -3
- package/tabstrip/TabStripTab.mjs +4 -4
- package/tilelayout/Tile.mjs +6 -6
- package/tilelayout/TileLayout.mjs +5 -5
|
@@ -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"),j=require("./DrawerItem.js"),r=require("@progress/kendo-vue-common"),M=240,R=50,V={
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),j=require("./DrawerItem.js"),r=require("@progress/kendo-vue-common"),M=240,R=50,V={duration:200},_={duration:0},E=e.defineComponent({name:"KendoDrawerNavigation",props:{item:[Object],header:[Object],footer:[Object],content:[Object],tabIndex:Number,showLicenseWatermark:Boolean,onSelect:Function},inject:{kendoDrawer:{default:null}},computed:{navigationClassNames(){const{position:a}=this.kendoDrawer;return{"k-widget k-drawer":!0,"k-drawer-start":a==="start","k-drawer-end":a==="end"}}},render(){const a=r.getDefaultSlots(this),{animation:i,expanded:l,mode:c,position:m,mini:o,dir:p,width:u,miniWidth:h,items:w}=this.kendoDrawer,D=this.$props.header,N=this.$props.footer,g=this.$props.content,t=typeof i!="boolean"?i:i===!1?_:V,f=u||M,k=h||R,I={opacity:1,flexBasis:f+"px",WebkitTransition:"all "+(t&&t.duration)+"ms",transition:"all "+(t&&t.duration)+"ms"},y={opacity:1,transform:"translateX(0px)",WebkitTransition:"all "+(t&&t.duration)+"ms",transition:"all "+(t&&t.duration)+"ms"},T={opacity:o?1:0,flexBasis:o?k+"px":0,WebkitTransition:"all "+(t&&t.duration)+"ms",transition:"all "+(t&&t.duration)+"ms"},b={opacity:0,transform:"translateX(-100%)",WebkitTransition:"all "+(t&&t.duration)+"ms",transition:"all "+(t&&t.duration)+"ms"},W={opacity:0,transform:"translateX(100%)",WebkitTransition:"all "+(t&&t.duration)+"ms",transition:"all "+(t&&t.duration)+"ms"},v={transform:"translateX(0%)",WebkitTransitionDuration:(t&&t.duration)+"ms",transitionDuration:(t&&t.duration)+"ms"},x=this.showLicenseWatermark?e.createVNode(r.WatermarkOverlay,null,null):null,O=l?c==="push"?I:y:c==="push"?T:p==="ltr"&&m==="start"||p==="rtl"&&m==="end"?o?v:b:o?v:W,A=w&&e.createVNode("ul",{class:"k-drawer-items",role:"menubar","aria-orientation":"vertical","aria-expanded":l},[w.map(function(n,d){let s=this.$props.item;s&&!s.type&&!s.render&&(s=r.templateRendering.call(this,this.$props.item,r.getListeners.call(this)));const L=e.createVNode(j.DrawerItem,{key:d,index:d,onClick:this.onDrawerItemSelect,text:n.text,icon:n.icon,svgIcon:n.svgIcon,separator:n.separator,selected:n.selected,targetItem:n.targetItem},null);return r.getTemplate.call(this,{h:e.h,template:s,defaultRendering:L,additionalProps:{...n,index:d},additionalListeners:{click:this.onDrawerItemSelect}})},this),x]),S=r.getTemplate.call(this,{h:e.h,template:D}),$=r.getTemplate.call(this,{h:e.h,template:N}),C=r.getTemplate.call(this,{h:e.h,template:g});return e.createVNode("div",{style:O,class:this.navigationClassNames},[e.createVNode("div",{class:"k-drawer-wrapper",style:!l&&o&&c==="overlay"?{width:k+"px"}:{width:f+"px"}},[S,g?C:A||a,$])])},methods:{focus(a){this.$el&&this.$el.focus(a)},onDrawerItemSelect(a,i){this.$emit("select",a,i)}}});exports.DrawerNavigation=E;
|
|
@@ -9,10 +9,8 @@ import { defineComponent as _, createVNode as o, h as s } from "vue";
|
|
|
9
9
|
import { DrawerItem as j } from "./DrawerItem.mjs";
|
|
10
10
|
import { getDefaultSlots as E, WatermarkOverlay as F, templateRendering as M, getListeners as X, getTemplate as l } from "@progress/kendo-vue-common";
|
|
11
11
|
const P = 240, B = 50, H = {
|
|
12
|
-
type: "slide",
|
|
13
12
|
duration: 200
|
|
14
13
|
}, U = {
|
|
15
|
-
type: "slide",
|
|
16
14
|
duration: 0
|
|
17
15
|
}, J = /* @__PURE__ */ _({
|
|
18
16
|
name: "KendoDrawerNavigation",
|
|
@@ -53,7 +51,7 @@ const P = 240, B = 50, H = {
|
|
|
53
51
|
width: h,
|
|
54
52
|
miniWidth: w,
|
|
55
53
|
items: f
|
|
56
|
-
} = this.kendoDrawer,
|
|
54
|
+
} = this.kendoDrawer, I = this.$props.header, y = this.$props.footer, k = this.$props.content, t = typeof n != "boolean" ? n : n === !1 ? U : H, g = h || P, D = w || B, N = {
|
|
57
55
|
opacity: 1,
|
|
58
56
|
flexBasis: g + "px",
|
|
59
57
|
WebkitTransition: "all " + (t && t.duration) + "ms",
|
|
@@ -121,10 +119,10 @@ const P = 240, B = 50, H = {
|
|
|
121
119
|
});
|
|
122
120
|
}, this), O]), L = l.call(this, {
|
|
123
121
|
h: s,
|
|
124
|
-
template:
|
|
122
|
+
template: I
|
|
125
123
|
}), S = l.call(this, {
|
|
126
124
|
h: s,
|
|
127
|
-
template:
|
|
125
|
+
template: y
|
|
128
126
|
}), C = l.call(this, {
|
|
129
127
|
h: s,
|
|
130
128
|
template: k
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as S,
|
|
9
|
-
import {
|
|
8
|
+
import { defineComponent as S, createVNode as a, h as s } 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
10
|
import { chevronUpIcon as w, chevronDownIcon as y } from "@progress/kendo-svg-icons";
|
|
11
11
|
import { packageMetadata as F } from "../package-metadata.mjs";
|
|
12
12
|
const j = /* @__PURE__ */ S({
|
|
@@ -27,7 +27,7 @@ const j = /* @__PURE__ */ S({
|
|
|
27
27
|
disabled: Boolean
|
|
28
28
|
},
|
|
29
29
|
created() {
|
|
30
|
-
|
|
30
|
+
R(F);
|
|
31
31
|
},
|
|
32
32
|
computed: {
|
|
33
33
|
wrapperClass() {
|
|
@@ -48,7 +48,7 @@ const j = /* @__PURE__ */ S({
|
|
|
48
48
|
expandIcon: t,
|
|
49
49
|
collapseIcon: n
|
|
50
50
|
} = this.$props;
|
|
51
|
-
return e ? t ?
|
|
51
|
+
return e ? t ? l(t) : "chevron-up" : n ? l(n) : "chevron-down";
|
|
52
52
|
},
|
|
53
53
|
expandSVGIcon() {
|
|
54
54
|
const {
|
|
@@ -65,7 +65,7 @@ const j = /* @__PURE__ */ S({
|
|
|
65
65
|
};
|
|
66
66
|
},
|
|
67
67
|
render() {
|
|
68
|
-
const e =
|
|
68
|
+
const e = $(this), {
|
|
69
69
|
expanded: t = !1,
|
|
70
70
|
disabled: n,
|
|
71
71
|
title: c,
|
|
@@ -100,14 +100,14 @@ const j = /* @__PURE__ */ S({
|
|
|
100
100
|
"aria-controls": x,
|
|
101
101
|
"aria-expanded": t,
|
|
102
102
|
"aria-disabled": n,
|
|
103
|
-
tabindex:
|
|
103
|
+
tabindex: v(b, n),
|
|
104
104
|
class: "k-expander-header",
|
|
105
105
|
onClick: this.onClick
|
|
106
106
|
}, [g, a("span", {
|
|
107
107
|
class: "k-spacer"
|
|
108
108
|
}, null), k, a("span", {
|
|
109
109
|
class: "k-expander-indicator"
|
|
110
|
-
}, [a(
|
|
110
|
+
}, [a(C, {
|
|
111
111
|
name: this.expandIconName,
|
|
112
112
|
icon: this.expandSVGIcon
|
|
113
113
|
}, null)])]), e]);
|
|
@@ -120,7 +120,7 @@ const j = /* @__PURE__ */ S({
|
|
|
120
120
|
});
|
|
121
121
|
},
|
|
122
122
|
onKeyDown(e) {
|
|
123
|
-
this.$props.disabled || (e.keyCode ===
|
|
123
|
+
this.$props.disabled || (e.keyCode === o.enter || e.keyCode === o.space) && e.target === this.$refs.header && (e.preventDefault(), this.$emit("action", {
|
|
124
124
|
event: e,
|
|
125
125
|
expanded: this.expanded
|
|
126
126
|
}));
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as n, createVNode as e } from "vue";
|
|
9
9
|
import { packageMetadata as a } from "../package-metadata.mjs";
|
|
10
|
-
import {
|
|
10
|
+
import { getDefaultSlots as o, validatePackage as r } from "@progress/kendo-vue-common";
|
|
11
11
|
const c = /* @__PURE__ */ n({
|
|
12
12
|
name: "KendoExpansionPanelContent",
|
|
13
13
|
created() {
|
|
14
|
-
|
|
14
|
+
r(a);
|
|
15
15
|
},
|
|
16
16
|
render() {
|
|
17
|
-
const t =
|
|
17
|
+
const t = o(this);
|
|
18
18
|
return e("div", {
|
|
19
19
|
class: "k-expander-content-wrapper"
|
|
20
20
|
}, [e("div", {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as n, createVNode as e } from "vue";
|
|
9
9
|
import { packageMetadata as o } from "../package-metadata.mjs";
|
|
10
|
-
import {
|
|
10
|
+
import { templateRendering as a, getListeners as l, validatePackage as p, guid as h } from "@progress/kendo-vue-common";
|
|
11
11
|
import { GridLayoutItem as d } from "./GridLayoutItem.mjs";
|
|
12
12
|
const y = /* @__PURE__ */ n({
|
|
13
13
|
name: "KendoGridLayout",
|
|
@@ -27,7 +27,7 @@ const y = /* @__PURE__ */ n({
|
|
|
27
27
|
items: Array
|
|
28
28
|
},
|
|
29
29
|
created() {
|
|
30
|
-
|
|
30
|
+
p(o), this.layoutId = h();
|
|
31
31
|
},
|
|
32
32
|
computed: {
|
|
33
33
|
hAlign() {
|
|
@@ -76,7 +76,7 @@ const y = /* @__PURE__ */ n({
|
|
|
76
76
|
style: this.gridLayoutStyles,
|
|
77
77
|
id: t || this.layoutId
|
|
78
78
|
}, [s.map(function(i) {
|
|
79
|
-
const r =
|
|
79
|
+
const r = a.call(this, i.content, l.call(this));
|
|
80
80
|
return e(d, {
|
|
81
81
|
content: r,
|
|
82
82
|
class: i.class,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as a, h as n, createVNode as i } from "vue";
|
|
9
9
|
import { packageMetadata as d } from "../package-metadata.mjs";
|
|
10
|
-
import {
|
|
10
|
+
import { getTemplate as m, validatePackage as p, guid as c } from "@progress/kendo-vue-common";
|
|
11
11
|
const g = /* @__PURE__ */ a({
|
|
12
12
|
name: "KendoGridLayoutItem",
|
|
13
13
|
props: {
|
|
@@ -19,7 +19,7 @@ const g = /* @__PURE__ */ a({
|
|
|
19
19
|
rowSpan: Number
|
|
20
20
|
},
|
|
21
21
|
created() {
|
|
22
|
-
|
|
22
|
+
p(d), this.itemId = c();
|
|
23
23
|
},
|
|
24
24
|
computed: {
|
|
25
25
|
gridLayoutItemStyles() {
|
|
@@ -38,7 +38,7 @@ const g = /* @__PURE__ */ a({
|
|
|
38
38
|
const {
|
|
39
39
|
id: e,
|
|
40
40
|
content: o
|
|
41
|
-
} = this.$props, t =
|
|
41
|
+
} = this.$props, t = m.call(this, {
|
|
42
42
|
h: n,
|
|
43
43
|
template: o
|
|
44
44
|
});
|
package/menu/components/Menu.mjs
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as I, createVNode as d } from "vue";
|
|
9
|
-
import {
|
|
10
|
-
import { EMPTY_ID as s, ZERO_LEVEL_ZERO_ITEM_ID as o,
|
|
9
|
+
import { canUseDOM as m, Keys as l, setRef as u, templateRendering as a, getListeners as h, getRef as c, validatePackage as p, guid as f } from "@progress/kendo-vue-common";
|
|
10
|
+
import { isIdEmptyOrZeroLevel as r, EMPTY_ID as s, ZERO_LEVEL_ZERO_ITEM_ID as o, getRootParentId as v, getItemById as n, getDirectParentId as b } from "../utils/itemsIdsUtils.mjs";
|
|
11
11
|
import { prepareInputItemsForInternalWork as g } from "../utils/prepareInputItemsForInternalWork.mjs";
|
|
12
12
|
import { getNewItemIdUponKeyboardNavigation as R } from "../utils/getNewItemIdUponKeyboardNavigation.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { getHoverCloseDelay as H, getHoverOpenDelay as O } from "../utils/hoverDelay.mjs";
|
|
14
14
|
import { DirectionHolder as k } from "../utils/DirectionHolder.mjs";
|
|
15
15
|
import { MouseOverHandler as C } from "../utils/MouseOverHandler.mjs";
|
|
16
16
|
import { packageMetadata as D } from "../../package-metadata.mjs";
|
|
@@ -38,10 +38,10 @@ const N = /* @__PURE__ */ I({
|
|
|
38
38
|
customCloseItemIds: Array
|
|
39
39
|
},
|
|
40
40
|
created() {
|
|
41
|
-
|
|
41
|
+
p(D), this.mouseOverHandler = new C(this.$props.openOnClick, this.reset, this.onItemMouseOver), this.guid = f(), this.directionHolder = new k(), this.inputItems = [], this.currentItems = [];
|
|
42
42
|
},
|
|
43
43
|
mounted() {
|
|
44
|
-
this.isFirstRender = !1, this.menuWrapperEl =
|
|
44
|
+
this.isFirstRender = !1, this.menuWrapperEl = c(this, "menuWrapper");
|
|
45
45
|
},
|
|
46
46
|
updated() {
|
|
47
47
|
this.mouseOverHandler.OpenOnClick = this.$props.openOnClick;
|
|
@@ -71,10 +71,10 @@ const N = /* @__PURE__ */ I({
|
|
|
71
71
|
},
|
|
72
72
|
render() {
|
|
73
73
|
this.prepareItems(), this.isFirstRender || this.directionHolder.setIsDirectionRightToLeft(this.checkIsDirectionRightToLeft());
|
|
74
|
-
let e = this.hoveredItemId ? this.hoveredItemId : this.focusedItemId ?
|
|
74
|
+
let e = this.hoveredItemId ? this.hoveredItemId : this.focusedItemId ? b(this.focusedItemId) : s;
|
|
75
75
|
return d("div", {
|
|
76
76
|
class: this.getMenuWrapperClassName(),
|
|
77
|
-
ref:
|
|
77
|
+
ref: u(this, "menuWrapper")
|
|
78
78
|
}, [d(L, {
|
|
79
79
|
class: this.menuClassName,
|
|
80
80
|
"aria-orientation": this.$props.vertical ? "vertical" : void 0,
|
|
@@ -84,8 +84,8 @@ const N = /* @__PURE__ */ I({
|
|
|
84
84
|
focusedItemId: this.focusedItemId,
|
|
85
85
|
lastItemIdToBeOpened: e,
|
|
86
86
|
tabbableItemId: this.tabbableItemId,
|
|
87
|
-
itemRender:
|
|
88
|
-
linkRender:
|
|
87
|
+
itemRender: a.call(this, this.$props.itemRender, h.call(this)),
|
|
88
|
+
linkRender: a.call(this, this.$props.linkRender, h.call(this)),
|
|
89
89
|
menuGuid: this.guid,
|
|
90
90
|
onMouseleave: this.onItemMouseLeave,
|
|
91
91
|
onMouseover: this.onItemMouseOver,
|
|
@@ -104,20 +104,20 @@ const N = /* @__PURE__ */ I({
|
|
|
104
104
|
onKeyDown(e) {
|
|
105
105
|
if (this.focusedItemId !== s) {
|
|
106
106
|
const t = n(this.focusedItemId, this.currentItems), i = R(this.currentItems, t.id, e.keyCode, e.key, this.$props.vertical, this.directionHolder.getIsDirectionRightToLeft());
|
|
107
|
-
t.id !== i && (e.preventDefault(), this.setFocusedItemId(i)), (e.keyCode ===
|
|
107
|
+
t.id !== i && (e.preventDefault(), this.setFocusedItemId(i)), (e.keyCode === l.enter || e.keyCode === l.space) && !t.disabled && (this.mouseOverHandler.handleItemSelectedViaKeyboard(), this.dispatchSelectEventIfWired(e, t.id), !e.defaultPrevented && t.items.length === 0 && t.url && m && window.location.assign(t.url));
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
onItemMouseOver(e) {
|
|
111
111
|
this.mouseOverHandler.IsMouseOverEnabled && (this.clearItemHoverAndLeaveRequestsIfApplicable(), this.itemHoverRequest = window.setTimeout(() => {
|
|
112
112
|
this.setHoveredItemId(e), this.itemHoverRequest = null;
|
|
113
|
-
},
|
|
113
|
+
}, O({
|
|
114
114
|
...this.$props
|
|
115
115
|
})));
|
|
116
116
|
},
|
|
117
117
|
onItemMouseLeave(e) {
|
|
118
118
|
this.mouseOverHandler.IsMouseOverEnabled && this.isItemWithDefaultClose(e) && (this.clearItemHoverAndLeaveRequestsIfApplicable(), this.itemLeaveRequest = window.setTimeout(() => {
|
|
119
119
|
this.setHoveredItemId(s), this.itemLeaveRequest = null;
|
|
120
|
-
},
|
|
120
|
+
}, H({
|
|
121
121
|
...this.$props
|
|
122
122
|
})));
|
|
123
123
|
},
|
|
@@ -129,7 +129,7 @@ const N = /* @__PURE__ */ I({
|
|
|
129
129
|
},
|
|
130
130
|
onItemClick(e, t) {
|
|
131
131
|
const i = n(t, this.currentItems);
|
|
132
|
-
i.disabled || (this.setFocusedItemId(t), this.mouseOverHandler.handleItemClick(t, this.isItemWithDefaultClose(t)), this.dispatchSelectEventIfWired(e, t), !e.defaultPrevented && i.url &&
|
|
132
|
+
i.disabled || (this.setFocusedItemId(t), this.mouseOverHandler.handleItemClick(t, this.isItemWithDefaultClose(t)), this.dispatchSelectEventIfWired(e, t), !e.defaultPrevented && i.url && m && window.location.assign(i.url));
|
|
133
133
|
},
|
|
134
134
|
onItemBlur(e) {
|
|
135
135
|
this.isItemWithDefaultClose(e) && this.setFocusedItemId(s);
|
|
@@ -138,7 +138,7 @@ const N = /* @__PURE__ */ I({
|
|
|
138
138
|
return n(e, this.inputItems);
|
|
139
139
|
},
|
|
140
140
|
setFocusedItemId(e) {
|
|
141
|
-
const t = e === s ? this.tabbableItemId :
|
|
141
|
+
const t = e === s ? this.tabbableItemId : v(e), i = e === s || r(this.hoveredItemId) && r(e) ? this.hoveredItemId : s;
|
|
142
142
|
this.hoveredItemId = i, this.focusedItemId = e, this.tabbableItemId = t;
|
|
143
143
|
},
|
|
144
144
|
setHoveredItemId(e) {
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as c, createVNode as n, h as u } from "vue";
|
|
9
|
-
import {
|
|
9
|
+
import { setRef as F, classNames as L, getRef as y, guid as D, getTemplate as m, Icon as C, getIconName as B } from "@progress/kendo-vue-common";
|
|
10
10
|
import { Popup as N } from "@progress/kendo-vue-popup";
|
|
11
|
-
import {
|
|
11
|
+
import { isFirstItemFromSiblings as T, shouldOpenItem as S } from "../utils/itemsIdsUtils.mjs";
|
|
12
12
|
import { getDOMElementId as I, convertBoolDirectionToString as p, getPopupSettings as P } from "../utils/misc.mjs";
|
|
13
13
|
import { MenuItemLink as A } from "./MenuItemLink.mjs";
|
|
14
14
|
import { MenuItemArrow as E } from "./MenuItemArrow.mjs";
|
|
@@ -36,7 +36,7 @@ const K = /* @__PURE__ */ c({
|
|
|
36
36
|
originalItemNeeded: Function
|
|
37
37
|
},
|
|
38
38
|
created() {
|
|
39
|
-
this.itemElement = null, this.prevFocusedItemId = this.$props.focusedItemId, this.isFirstRender = !0, this._anchor =
|
|
39
|
+
this.itemElement = null, this.prevFocusedItemId = this.$props.focusedItemId, this.isFirstRender = !0, this._anchor = D();
|
|
40
40
|
},
|
|
41
41
|
data() {
|
|
42
42
|
return {
|
|
@@ -44,7 +44,7 @@ const K = /* @__PURE__ */ c({
|
|
|
44
44
|
};
|
|
45
45
|
},
|
|
46
46
|
mounted() {
|
|
47
|
-
this.itemElement =
|
|
47
|
+
this.itemElement = y(this, "kendoAnchor");
|
|
48
48
|
const e = this.$props.focusedItemId, t = this.$props.item.id;
|
|
49
49
|
e && e === t && this.itemElement && this.itemElement.focus(), this.isFirstRender = !1;
|
|
50
50
|
},
|
|
@@ -72,7 +72,7 @@ const K = /* @__PURE__ */ c({
|
|
|
72
72
|
},
|
|
73
73
|
currentOpened() {
|
|
74
74
|
const e = this.$props;
|
|
75
|
-
return this.hasItems &&
|
|
75
|
+
return this.hasItems && S(e.item.id, e.lastItemIdToBeOpened) && // HACK: Wait for the second render because otherwise the scenario of
|
|
76
76
|
// popup inside popup throws an error (for example, hover of item with id '0_0').
|
|
77
77
|
!this.isFirstRender;
|
|
78
78
|
},
|
|
@@ -81,7 +81,7 @@ const K = /* @__PURE__ */ c({
|
|
|
81
81
|
return e === t;
|
|
82
82
|
},
|
|
83
83
|
popupClassName() {
|
|
84
|
-
return
|
|
84
|
+
return L({
|
|
85
85
|
"k-menu-popup": !0,
|
|
86
86
|
"k-overflow-visible": !0,
|
|
87
87
|
"k-rtl": this.$props.isDirectionRightToLeft,
|
|
@@ -93,7 +93,7 @@ const K = /* @__PURE__ */ c({
|
|
|
93
93
|
return {
|
|
94
94
|
"k-item": !0,
|
|
95
95
|
"k-menu-item": !0,
|
|
96
|
-
"k-first":
|
|
96
|
+
"k-first": T(e.id),
|
|
97
97
|
"k-last": e.isLastFromSiblings,
|
|
98
98
|
"k-disabled": e.disabled,
|
|
99
99
|
[e.cssClass ? e.cssClass : ""]: e.cssClass
|
|
@@ -229,7 +229,7 @@ const K = /* @__PURE__ */ c({
|
|
|
229
229
|
"aria-expanded": this.hasItems ? this.currentOpened : void 0,
|
|
230
230
|
"aria-label": a,
|
|
231
231
|
"aria-owns": this.currentOpened ? I(this.$props.menuGuid, s) : void 0,
|
|
232
|
-
ref:
|
|
232
|
+
ref: F(this, "kendoAnchor"),
|
|
233
233
|
key: "0"
|
|
234
234
|
}, [this.contentRender ? k.call(this) : v.call(this), O.call(this)]);
|
|
235
235
|
},
|
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: 1750421615,version:"6.4.2-develop.3",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: "6.4.
|
|
13
|
+
publishDate: 1750421615,
|
|
14
|
+
version: "6.4.2-develop.3",
|
|
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": "6.4.
|
|
3
|
+
"version": "6.4.2-develop.3",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@progress/kendo-licensing": "^1.4.0",
|
|
22
|
-
"@progress/kendo-vue-animation": "6.4.
|
|
23
|
-
"@progress/kendo-vue-common": "6.4.
|
|
24
|
-
"@progress/kendo-vue-intl": "6.4.
|
|
25
|
-
"@progress/kendo-vue-popup": "6.4.
|
|
26
|
-
"@progress/kendo-vue-progressbars": "6.4.
|
|
22
|
+
"@progress/kendo-vue-animation": "6.4.2-develop.3",
|
|
23
|
+
"@progress/kendo-vue-common": "6.4.2-develop.3",
|
|
24
|
+
"@progress/kendo-vue-intl": "6.4.2-develop.3",
|
|
25
|
+
"@progress/kendo-vue-popup": "6.4.2-develop.3",
|
|
26
|
+
"@progress/kendo-vue-progressbars": "6.4.2-develop.3",
|
|
27
27
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
28
28
|
"vue": "^3.0.2"
|
|
29
29
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"package": {
|
|
45
45
|
"productName": "Kendo UI for Vue",
|
|
46
46
|
"productCode": "KENDOUIVUE",
|
|
47
|
-
"publishDate":
|
|
47
|
+
"publishDate": 1750421615,
|
|
48
48
|
"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"
|
|
49
49
|
}
|
|
50
50
|
},
|
package/panelbar/PanelBar.mjs
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as u, createVNode as l, h as p } from "vue";
|
|
9
9
|
import { PanelBarItem as h } from "./PanelBarItem.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { flatVisibleChildren as m, flatChildren as f, isArrayEqual as y, renderChildren as k, getInitialState as x, getFirstId as g } from "./util.mjs";
|
|
11
|
+
import { Keys as n, classNames as v, WatermarkOverlay as I, validatePackage as P, shouldShowValidationUI as S } from "@progress/kendo-vue-common";
|
|
12
12
|
import { packageMetadata as o } from "../package-metadata.mjs";
|
|
13
13
|
import { NavigationAction as s } from "./interfaces/NavigationAction.mjs";
|
|
14
14
|
const $ = /* @__PURE__ */ u({
|
|
@@ -41,11 +41,11 @@ const $ = /* @__PURE__ */ u({
|
|
|
41
41
|
keepItemsMounted: Boolean
|
|
42
42
|
},
|
|
43
43
|
created() {
|
|
44
|
-
this.activeDescendant = null,
|
|
44
|
+
this.activeDescendant = null, P(o), this.showLicenseWatermark = S(o);
|
|
45
45
|
},
|
|
46
46
|
data() {
|
|
47
|
-
const e =
|
|
48
|
-
return e.currentFocused || (e.currentFocused =
|
|
47
|
+
const e = x(this.$props, this.expandMode);
|
|
48
|
+
return e.currentFocused || (e.currentFocused = g(this.$props)), e;
|
|
49
49
|
},
|
|
50
50
|
computed: {
|
|
51
51
|
selectedItem() {
|
|
@@ -69,7 +69,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
69
69
|
expanded: this.expandedItems,
|
|
70
70
|
handleSelect: this.handleSelect
|
|
71
71
|
};
|
|
72
|
-
return
|
|
72
|
+
return k.call(this, this.items, i);
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
provide() {
|
|
@@ -78,7 +78,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
78
78
|
};
|
|
79
79
|
},
|
|
80
80
|
render() {
|
|
81
|
-
const e =
|
|
81
|
+
const e = v("k-panelbar", this.$props.className), i = this.showLicenseWatermark ? l(I, null, null) : null;
|
|
82
82
|
return l("ul", {
|
|
83
83
|
dir: this.$props.dir,
|
|
84
84
|
role: "tree",
|
|
@@ -100,7 +100,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
100
100
|
this.onSelect(e), this.onFocus(e);
|
|
101
101
|
},
|
|
102
102
|
onSelect(e) {
|
|
103
|
-
const i =
|
|
103
|
+
const i = f(this.computedItems);
|
|
104
104
|
let t, a;
|
|
105
105
|
if (i.forEach((r) => {
|
|
106
106
|
r.uniquePrivateKey === (e.uniquePrivateKey || this.currentFocused) && (t = r);
|
|
@@ -108,7 +108,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
108
108
|
let r;
|
|
109
109
|
switch (this.expandMode) {
|
|
110
110
|
case "single":
|
|
111
|
-
a = [...t.parentUniquePrivateKey, t.uniquePrivateKey],
|
|
111
|
+
a = [...t.parentUniquePrivateKey, t.uniquePrivateKey], y(this.expandedItems, a) && (t.parentUniquePrivateKey ? a = [...t.parentUniquePrivateKey] : a = []);
|
|
112
112
|
break;
|
|
113
113
|
case "multiple":
|
|
114
114
|
a = this.expandedItems.slice(), r = a.indexOf(t.uniquePrivateKey), r === -1 ? a.push(t.uniquePrivateKey) : a.splice(r, 1);
|
|
@@ -124,7 +124,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
onFocus(e, i = 0) {
|
|
127
|
-
const t =
|
|
127
|
+
const t = m(this.computedItems);
|
|
128
128
|
let a;
|
|
129
129
|
t.forEach((r, d) => {
|
|
130
130
|
if (r.uniquePrivateKey === (e.uniquePrivateKey || this.currentFocused)) {
|
package/splitter/Splitter.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { defineComponent as b, createVNode as D } from "vue";
|
|
9
9
|
import { SplitterPane as E } from "./SplitterPane.mjs";
|
|
10
10
|
import { SplitterBar as T } from "./SplitterBar.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { classNames as $, validatePackage as y, isRtl as R, templateRendering as k, getListeners as w } from "@progress/kendo-vue-common";
|
|
12
12
|
import { packageMetadata as B } from "../package-metadata.mjs";
|
|
13
13
|
const C = {
|
|
14
14
|
collapsible: !1,
|
|
@@ -29,7 +29,7 @@ const C = {
|
|
|
29
29
|
defaultPanes: Array
|
|
30
30
|
},
|
|
31
31
|
mounted() {
|
|
32
|
-
this.currentRtl =
|
|
32
|
+
this.currentRtl = R(this.$el);
|
|
33
33
|
},
|
|
34
34
|
emits: {
|
|
35
35
|
change: null
|
|
@@ -59,7 +59,7 @@ const C = {
|
|
|
59
59
|
};
|
|
60
60
|
},
|
|
61
61
|
render() {
|
|
62
|
-
const e = this.panesOptions(), n =
|
|
62
|
+
const e = this.panesOptions(), n = $("k-widget", "k-splitter", "k-splitter-flex", `k-splitter-${this.orientation}`);
|
|
63
63
|
return this.validatePanes(e), D("div", {
|
|
64
64
|
class: n
|
|
65
65
|
}, [function(s) {
|
package/splitter/SplitterBar.mjs
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as v, createVNode as r } from "vue";
|
|
9
|
-
import { classNames as x, Draggable as w, Icon as u
|
|
9
|
+
import { Keys as n, classNames as x, Draggable as w, Icon as u } from "@progress/kendo-vue-common";
|
|
10
10
|
import { provideLocalizationService as k } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { splitterPaneLabel as b, messages as $ } from "../messages/main.mjs";
|
|
12
|
-
import {
|
|
12
|
+
import { caretAltLeftIcon as c, caretAltRightIcon as p, caretAltDownIcon as f, caretAltUpIcon as m } from "@progress/kendo-svg-icons";
|
|
13
13
|
const C = /* @__PURE__ */ v({
|
|
14
14
|
name: "KendoSplitterBar",
|
|
15
15
|
emits: {
|
|
@@ -166,7 +166,7 @@ const C = /* @__PURE__ */ v({
|
|
|
166
166
|
const {
|
|
167
167
|
prev: s
|
|
168
168
|
} = this.$props, e = s.collapsed;
|
|
169
|
-
return t && !e ? this.isRtl ?
|
|
169
|
+
return t && !e ? this.isRtl ? p : c : t && e ? this.isRtl ? c : p : !t && !e ? m : !t && e ? f : void 0;
|
|
170
170
|
},
|
|
171
171
|
nextArrowName(t) {
|
|
172
172
|
const {
|
|
@@ -178,7 +178,7 @@ const C = /* @__PURE__ */ v({
|
|
|
178
178
|
const {
|
|
179
179
|
next: s
|
|
180
180
|
} = this.$props, e = s.collapsed;
|
|
181
|
-
return t && !e ? this.isRtl ?
|
|
181
|
+
return t && !e ? this.isRtl ? c : p : t && e ? this.isRtl ? p : c : !t && !e ? f : !t && e ? m : void 0;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
});
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as s, createVNode as n } from "vue";
|
|
9
9
|
import { packageMetadata as e } from "../package-metadata.mjs";
|
|
10
|
-
import {
|
|
10
|
+
import { getDefaultSlots as r, validatePackage as o, guid as a } from "@progress/kendo-vue-common";
|
|
11
11
|
const p = /* @__PURE__ */ s({
|
|
12
12
|
name: "KendoStackLayout",
|
|
13
13
|
props: {
|
|
@@ -30,7 +30,7 @@ const p = /* @__PURE__ */ s({
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
created() {
|
|
33
|
-
|
|
33
|
+
o(e), this.layoutId = a();
|
|
34
34
|
},
|
|
35
35
|
computed: {
|
|
36
36
|
hAlign() {
|
|
@@ -64,7 +64,7 @@ const p = /* @__PURE__ */ s({
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
render() {
|
|
67
|
-
const i =
|
|
67
|
+
const i = r(this), {
|
|
68
68
|
id: t
|
|
69
69
|
} = this.$props;
|
|
70
70
|
return n("div", {
|
package/stepper/Step.mjs
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as j,
|
|
9
|
-
import {
|
|
8
|
+
import { defineComponent as j, createVNode as n, inject as D } from "vue";
|
|
9
|
+
import { focusFirstFocusableChild as V, getDefaultSlots as M, Icon as S, getIconName as T } from "@progress/kendo-vue-common";
|
|
10
10
|
import { provideLocalizationService as w } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { checkOutlineIcon as _, exclamationCircleIcon as U } from "@progress/kendo-svg-icons";
|
|
12
12
|
import { DEFAULT_ANIMATION_DURATION as K, NO_ANIMATION as R } from "./contants.mjs";
|
|
@@ -94,7 +94,7 @@ const Z = /* @__PURE__ */ j({
|
|
|
94
94
|
};
|
|
95
95
|
},
|
|
96
96
|
render() {
|
|
97
|
-
const e =
|
|
97
|
+
const e = M(this), {
|
|
98
98
|
current: o,
|
|
99
99
|
disabled: r,
|
|
100
100
|
focused: l,
|
|
@@ -117,7 +117,7 @@ const Z = /* @__PURE__ */ j({
|
|
|
117
117
|
errorSvgIcon: B
|
|
118
118
|
} = this.$props, C = !g || c === u - 1 || c === u || c === u + 1, k = h === "labels" || (!!t || !!s) && !!a, F = w(this), L = ((b) => F.toLanguageString(b, W[b]))(q), $ = typeof d == "number" ? d : d !== !1 ? K : R, z = i ? x || "check-circle" : O || "exclamation-circle", y = i ? N || _ : B || U, p = n(S, {
|
|
119
119
|
class: "k-step-indicator-icon",
|
|
120
|
-
name:
|
|
120
|
+
name: T(z),
|
|
121
121
|
icon: y,
|
|
122
122
|
"aria-hidden": "true"
|
|
123
123
|
}, null), A = function() {
|
|
@@ -160,7 +160,7 @@ const Z = /* @__PURE__ */ j({
|
|
|
160
160
|
},
|
|
161
161
|
methods: {
|
|
162
162
|
focus() {
|
|
163
|
-
this.$el &&
|
|
163
|
+
this.$el && V(this.$el);
|
|
164
164
|
},
|
|
165
165
|
handleClick(e) {
|
|
166
166
|
this.disabled || this.$emit("change", {
|