@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.
@@ -8,5 +8,52 @@
8
8
  /**
9
9
  * @hidden
10
10
  */
11
- declare const ExpansionPanel: any;
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"),f=require("../package-metadata.js"),s=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(f.packageMetadata)},provide(){return{kExpansionPanelExpanded:n.computed(()=>this.expanded),kExpansionPanelContentId:n.computed(()=>this.$props.ariaControls||`${this.uniqueId}-content`)}},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:d}=this.$props;return e?a?t.getIconName(a):"chevron-up":d?t.getIconName(d):"chevron-down"},expandSVGIcon(){const{expanded:e,expandSvgIcon:a,collapseSvgIcon:d}=this.$props;return e?a||o.chevronUpIcon:d||o.chevronDownIcon}},data(){return{focused:!1,uniqueId:`k-expander-${s._nextId++}`}},render(){const e=t.getDefaultSlots(this),{expanded:a=!1,disabled:d,title:i,titleRender:r,subtitle:c,subtitleRender:l,ariaControls:p,tabIndex:u,id:h}=this.$props,x=p||`${this.uniqueId}-content`,g=t.templateRendering.call(this,r,t.getListeners.call(this)),b=t.getTemplate.call(this,{h:n.h,template:g,defaultRendering:n.createVNode("div",{class:"k-expander-title"},[i])}),I=t.templateRendering.call(this,l,t.getListeners.call(this)),m=t.getTemplate.call(this,{h:n.h,template:I,defaultRendering:n.createVNode("div",{class:"k-expander-sub-title"},[c])});return n.createVNode("div",{class:this.wrapperClass,onFocusin:this.handleFocus,onFocusout:this.handleBlur,id:h,onKeydown:this.onKeyDown},[n.createVNode("div",{role:"button",ref:"header","aria-controls":x,"aria-expanded":a,"aria-disabled":d||void 0,tabindex:t.getTabIndex(u,d),class:"k-expander-header",onClick:this.onClick},[b,n.createVNode("span",{class:"k-spacer"},null),m,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)}}});s._nextId=0;exports.ExpansionPanel=s;
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 C, h as s, createVNode as a, computed as d } from "vue";
9
- import { Keys as o, getDefaultSlots as R, templateRendering as i, getListeners as r, getTemplate as l, getTabIndex as w, Icon as y, getIconName as p, validatePackage as F } from "@progress/kendo-vue-common";
10
- import { chevronUpIcon as T, chevronDownIcon as D } from "@progress/kendo-svg-icons";
11
- import { packageMetadata as E } from "../package-metadata.mjs";
12
- const c = /* @__PURE__ */ C({
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(E);
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: n
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 && !n,
48
- "k-disabled": n
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: n,
55
- collapseIcon: t
48
+ expandIcon: t,
49
+ collapseIcon: n
56
50
  } = this.$props;
57
- return e ? n ? p(n) : "chevron-up" : t ? p(t) : "chevron-down";
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: n,
63
- collapseSvgIcon: t
56
+ expandSvgIcon: t,
57
+ collapseSvgIcon: n
64
58
  } = this.$props;
65
- return e ? n || T : t || D;
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 = R(this), {
76
- expanded: n = !1,
77
- disabled: t,
78
- title: u,
79
- titleRender: h,
80
- subtitle: x,
81
- subtitleRender: b,
82
- ariaControls: f,
83
- tabIndex: m,
84
- id: I
85
- } = this.$props, g = f || `${this.uniqueId}-content`, k = i.call(this, h, r.call(this)), S = l.call(this, {
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: k,
80
+ template: m,
88
81
  defaultRendering: a("div", {
89
82
  class: "k-expander-title"
90
- }, [u])
91
- }), $ = i.call(this, b, r.call(this)), v = l.call(this, {
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
- }, [x])
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: I,
95
+ id: f,
103
96
  onKeydown: this.onKeyDown
104
97
  }, [a("div", {
105
98
  role: "button",
106
99
  ref: "header",
107
- "aria-controls": g,
108
- "aria-expanded": n,
109
- "aria-disabled": t || void 0,
110
- tabindex: w(m, t),
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
- }, [S, a("span", {
106
+ }, [g, a("span", {
114
107
  class: "k-spacer"
115
- }, null), v, a("span", {
108
+ }, null), k, a("span", {
116
109
  class: "k-expander-indicator"
117
- }, [a(y, {
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
- c as ExpansionPanel
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 t=require("vue"),c=require("../package-metadata.js"),d=require("@progress/kendo-vue-common"),r=t.defineComponent({name:"KendoExpansionPanelContent",inject:{kExpansionPanelExpanded:{default:void 0},kExpansionPanelContentId:{default:void 0}},created(){d.validatePackage(c.packageMetadata)},render(){var a;const o=d.getDefaultSlots(this),e=this.kExpansionPanelExpanded,n=this.kExpansionPanelContentId,i=e!==void 0?(a=e==null?void 0:e.value)!=null?a:e:!0,s=n?n.value||n:void 0;return t.createVNode("div",{id:s,class:{"k-expander-content-wrapper":!0,"k-hidden":!i}},[t.createVNode("div",{class:"k-expander-content"},[o])])}});exports.ExpansionPanelContent=r;
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 s, createVNode as a } from "vue";
9
- import { packageMetadata as r } from "../package-metadata.mjs";
10
- import { getDefaultSlots as l, validatePackage as p } from "@progress/kendo-vue-common";
11
- const x = /* @__PURE__ */ s({
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
- p(r);
14
+ r(a);
23
15
  },
24
16
  render() {
25
- var t;
26
- const d = l(this), n = this.kExpansionPanelExpanded, e = this.kExpansionPanelContentId, o = n !== void 0 ? (t = n == null ? void 0 : n.value) != null ? t : n : !0, i = e ? e.value || e : void 0;
27
- return a("div", {
28
- id: i,
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
- }, [d])]);
22
+ }, [t])]);
36
23
  }
37
24
  });
38
25
  export {
39
- x as ExpansionPanelContent
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"),t=o.caretAltDownIcon,n=o.caretAltRightIcon,i=o.caretAltLeftIcon,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"?t:r==="rightward"?n:r==="leftward"?i:""}}});exports.MenuItemArrow=d;exports.downArrowIcon=t;exports.leftArrowIcon=i;exports.rightArrowIcon=n;
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 t, createVNode as o } from "vue";
9
- import { Icon as e } from "@progress/kendo-vue-common";
10
- import { caretAltDownIcon as n, caretAltLeftIcon as i, caretAltRightIcon as c } from "@progress/kendo-svg-icons";
11
- import { getChildrenPosition as a } from "../utils/misc.mjs";
12
- const s = n, d = c, m = i, I = /* @__PURE__ */ t({
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(e, {
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 = a(this.$props.itemId, this.$props.verticalMenu === !0, this.$props.dir === "rtl");
31
- return r === "downward" ? s : r === "rightward" ? d : r === "leftward" ? m : "";
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
- s as downArrowIcon,
38
- m as leftArrowIcon,
39
- d as rightArrowIcon
37
+ d as downArrowIcon,
38
+ a as leftArrowIcon,
39
+ m as rightArrowIcon
40
40
  };
@@ -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: 1779097370,version:"8.4.0-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;
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;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1779097370,
14
- version: "8.4.0-develop.3",
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",
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.3",
29
- "@progress/kendo-vue-common": "8.4.0-develop.3",
30
- "@progress/kendo-vue-intl": "8.4.0-develop.3",
31
- "@progress/kendo-vue-popup": "8.4.0-develop.3",
32
- "@progress/kendo-vue-progressbars": "8.4.0-develop.3",
33
- "@progress/kendo-svg-icons": "^4.4.0",
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": 1779097370,
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
  }
@@ -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"),k=require("@progress/kendo-svg-icons"),q=require("@progress/kendo-vue-animation");function E(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}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:t,items:s,uniquePrivateKey:p,disabled:c,expanded:r,animation:i,keepItemsMounted:u}=this.$props,h={display:"block"},n=o.getTemplate.call(this,{h:e.h,template:this.$props.content,defaultRendering:null,additionalProps:{...this.$props,show:this.show}}),d=!c&&r,l=d||u?s?e.createVNode("ul",{role:"group",class:"k-panelbar-group",style:{display:u?this.$data.show?"block":"none":"block"}},[s.map(function(a){return e.h(g,{...a,item:t})},this)]):this.$props.content?e.createVNode("div",{class:"k-panelbar-content"},[n]):null:null;return(i===void 0||i)&&!c?e.createVNode(q.Reveal,{appear:d,transitionEnterDuration:200,transitionExitDuration:200,key:p+"_animation",style:h,onEntering:this.handleEntering,onExited:this.handleExited},E(l)?l:{default:()=>[l]}):l},methods:{handleEntering(){this.keepItemsMounted&&(this.show=!0)},handleExited(){this.keepItemsMounted&&(this.show=!1)}}}),g=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:t,item:s,icon:p,svgIcon:c,items:r,content:i,title:u,uniquePrivateKey:h,disabled:n,selected:d,focused:l,expanded:a,className:I,level:b,headerClassName:N,animation:f,keepItemsMounted:y}=this.$props,m=!!r||!!i,v=o.classNames("k-panelbar-item",{"k-panelbar-header":b===0,"k-panelbar-item":b!==0,"k-expanded":a&&m,"k-disabled":n},`k-level-${b}`,I),B=o.classNames("k-link",{"k-selected":!n&&d,"k-focus":l},N),S=o.classNames("k-panelbar-toggle",{"k-panelbar-collapse":a&&m,"k-panelbar-expand":!a&&m}),C=a?"chevron-up":"chevron-down",P=a?k.chevronUpIcon:k.chevronDownIcon,x=function(){return this.imageUrl?e.createVNode("img",{role:"presentation",class:"k-panelbar-item-icon k-image",src:this.imageUrl},null):p||c?e.createVNode(o.Icon,{name:p,class:"k-panelbar-item-icon",icon:c},null):this.iconClass?e.createVNode(o.Icon,{class:"k-panelbar-item-icon "+this.iconClass},null):null}.call(this),V=!n&&(r||i)?e.createVNode(o.Icon,{name:C,icon:P,class:S},null):null,$=r||i?e.createVNode(w,{items:r,item:s,content:i,uniquePrivateKey:h,disabled:n,expanded:a,animation:f,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:t,class:v,role:"treeitem","aria-disabled":n,"aria-hidden":!n&&!a,"aria-selected":!n&&d,"aria-expanded":!n&&a&&m},[e.createVNode("span",{class:B,onClick:this.handleItemClick},[x,this.$props.header?j:e.createVNode("span",{class:"k-panelbar-item-text"},[u]),V]),$])},methods:{handleItemClick(){const{disabled:t,id:s}=this.$props;t||this.dispatchItemSelect({uniquePrivateKey:this.$props.uniquePrivateKey,id:s,target:this})},childFactory(t){return t}}});exports.PanelBarItem=g;
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;