@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.
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineComponent as w, h as f, createVNode as i, isVNode as D } from "vue";
9
9
  import { Slide as G } from "@progress/kendo-vue-animation";
10
- import { guid as T, validatePackage as j, getRef as I, FOCUSABLE_ELEMENTS as R, Navigation as F, templateRendering as h, getListeners as d, getTemplate as g, classNames as P, setRef as K } from "@progress/kendo-vue-common";
10
+ import { templateRendering as h, getListeners as d, getTemplate as g, setRef as T, classNames as j, getRef as I, FOCUSABLE_ELEMENTS as R, Navigation as F, guid as P, validatePackage as K } from "@progress/kendo-vue-common";
11
11
  import { packageMetadata as _ } from "../package-metadata.mjs";
12
12
  import { ActionSheetItem as C } from "./ActionSheetItem.mjs";
13
13
  import { ActionSheetHeader as z } from "./ActionSheetHeader.mjs";
@@ -71,7 +71,7 @@ const U = 300, Y = /* @__PURE__ */ w({
71
71
  this.bottomPosition = {
72
72
  bottom: "0px",
73
73
  width: "100%"
74
- }, this.guidId = T(), j(_);
74
+ }, this.guidId = P(), K(_);
75
75
  },
76
76
  mounted() {
77
77
  this.element = I(this, "actionSheet"), this.$props.expand && !this.show && (this.show = !0);
@@ -140,14 +140,14 @@ const U = 300, Y = /* @__PURE__ */ w({
140
140
  template: O,
141
141
  defaultRendering: null
142
142
  }), v = i("div", {
143
- class: P("k-actionsheet", S, {
143
+ class: j("k-actionsheet", S, {
144
144
  "k-actionsheet-bottom": !S
145
145
  }),
146
146
  role: "dialog",
147
147
  "aria-modal": "true",
148
148
  "aria-hidden": !1,
149
149
  "aria-labelledby": this.guidId,
150
- ref: K(this, "actionSheet"),
150
+ ref: T(this, "actionSheet"),
151
151
  onKeydown: this.handleKeyDown
152
152
  }, [this.$props.header && !t && !n && i(z, {
153
153
  headerClassName: $
package/appbar/AppBar.mjs CHANGED
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as e, createVNode as i } from "vue";
9
- import { validatePackage as p, guid as r, getDefaultSlots as s, focusFirstFocusableChild as d } from "@progress/kendo-vue-common";
9
+ import { focusFirstFocusableChild as p, getDefaultSlots as r, validatePackage as s, guid as d } from "@progress/kendo-vue-common";
10
10
  import { packageMetadata as n } from "../package-metadata.mjs";
11
11
  const f = /* @__PURE__ */ e({
12
12
  name: "KendoAppBar",
@@ -32,7 +32,7 @@ const f = /* @__PURE__ */ e({
32
32
  }
33
33
  },
34
34
  created() {
35
- p(n), this.calculatedId = r();
35
+ s(n), this.calculatedId = d();
36
36
  },
37
37
  computed: {
38
38
  wrapperClass() {
@@ -53,7 +53,7 @@ const f = /* @__PURE__ */ e({
53
53
  }
54
54
  },
55
55
  render() {
56
- const t = s(this), {
56
+ const t = r(this), {
57
57
  id: o
58
58
  } = this.$props;
59
59
  return i("div", {
@@ -63,7 +63,7 @@ const f = /* @__PURE__ */ e({
63
63
  },
64
64
  methods: {
65
65
  focus() {
66
- this.$el && d(this.$el);
66
+ this.$el && p(this.$el);
67
67
  }
68
68
  }
69
69
  });
@@ -6,18 +6,18 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as t, createVNode as o } from "vue";
9
- import { getDefaultSlots as r, focusFirstFocusableChild as s } from "@progress/kendo-vue-common";
9
+ import { focusFirstFocusableChild as r, getDefaultSlots as s } from "@progress/kendo-vue-common";
10
10
  const a = /* @__PURE__ */ t({
11
11
  name: "KendoAppBarSection",
12
12
  render() {
13
- const e = r(this);
13
+ const e = s(this);
14
14
  return o("div", {
15
15
  class: "k-appbar-section"
16
16
  }, [e]);
17
17
  },
18
18
  methods: {
19
19
  focus() {
20
- this.$el && s(this.$el);
20
+ this.$el && r(this.$el);
21
21
  }
22
22
  }
23
23
  });
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as s, createVNode as t } from "vue";
9
- import { getDefaultSlots as r, focusFirstFocusableChild as a } from "@progress/kendo-vue-common";
9
+ import { focusFirstFocusableChild as r, getDefaultSlots as a } from "@progress/kendo-vue-common";
10
10
  const d = /* @__PURE__ */ s({
11
11
  name: "KendoAppBarSpacer",
12
12
  props: {
@@ -26,7 +26,7 @@ const d = /* @__PURE__ */ s({
26
26
  }
27
27
  },
28
28
  render() {
29
- const e = r(this);
29
+ const e = a(this);
30
30
  return t("span", {
31
31
  class: this.spacerClasses,
32
32
  style: this.spacerStyles
@@ -34,7 +34,7 @@ const d = /* @__PURE__ */ s({
34
34
  },
35
35
  methods: {
36
36
  focus() {
37
- this.$el && a(this.$el);
37
+ this.$el && r(this.$el);
38
38
  }
39
39
  }
40
40
  });
@@ -7,8 +7,8 @@
7
7
  */
8
8
  import { defineComponent as d, createVNode as n } from "vue";
9
9
  import { packageMetadata as c } from "../package-metadata.mjs";
10
- import { validatePackage as u, guid as m, templateRendering as f, getListeners as h, focusFirstFocusableChild as p, Keys as l } from "@progress/kendo-vue-common";
11
- import { POSITION_MODE_CLASSES as v, THEME_COLOR_CLASSES as S, ITEM_FLOW_CLASSES as y } from "./models/utils.mjs";
10
+ import { Keys as l, focusFirstFocusableChild as u, templateRendering as m, getListeners as f, validatePackage as h, guid as p } from "@progress/kendo-vue-common";
11
+ import { ITEM_FLOW_CLASSES as v, THEME_COLOR_CLASSES as S, POSITION_MODE_CLASSES as y } from "./models/utils.mjs";
12
12
  import { BottomNavigationItem as g } from "./BottomNavigationItem.mjs";
13
13
  const w = /* @__PURE__ */ d({
14
14
  name: "KendoBottomNavigation",
@@ -63,7 +63,7 @@ const w = /* @__PURE__ */ d({
63
63
  selected: Number
64
64
  },
65
65
  created() {
66
- u(c), this.navId = m();
66
+ h(c), this.navId = p();
67
67
  },
68
68
  computed: {
69
69
  navClasses() {
@@ -77,11 +77,11 @@ const w = /* @__PURE__ */ d({
77
77
  } = this.$props, s = e !== void 0 ? e : this.$props.fill;
78
78
  return {
79
79
  "k-bottom-nav": !0,
80
- [v[a]]: !0,
80
+ [y[a]]: !0,
81
81
  [S[t]]: !0,
82
82
  [`k-bottom-nav-${s}`]: s,
83
83
  [`k-bottom-nav-${s}-${t}`]: !!(s && t),
84
- [y[r]]: !0,
84
+ [v[r]]: !0,
85
85
  "k-bottom-nav-border": i,
86
86
  "k-disabled": o
87
87
  };
@@ -98,7 +98,7 @@ const w = /* @__PURE__ */ d({
98
98
  class: this.navClasses,
99
99
  id: t || this.navId
100
100
  }, [e && e.map(function(i, o) {
101
- const s = f.call(this, i.item || a, h.call(this));
101
+ const s = m.call(this, i.item || a, f.call(this));
102
102
  return n(g, {
103
103
  key: o,
104
104
  index: o,
@@ -116,7 +116,7 @@ const w = /* @__PURE__ */ d({
116
116
  },
117
117
  methods: {
118
118
  focus() {
119
- this.$el && p(this.$el);
119
+ this.$el && u(this.$el);
120
120
  },
121
121
  dispatchSelectEvent(t, e) {
122
122
  this.items && (this.items[e].disabled || this.$emit("select", {
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineComponent as h, h as p, createVNode as i } from "vue";
9
9
  import { packageMetadata as b } from "../package-metadata.mjs";
10
- import { validatePackage as u, getTemplate as x, Icon as k } from "@progress/kendo-vue-common";
10
+ import { getTemplate as u, Icon as x, validatePackage as k } from "@progress/kendo-vue-common";
11
11
  const y = /* @__PURE__ */ h({
12
12
  name: "KendoBottomNavigationItem",
13
13
  emits: {
@@ -29,7 +29,7 @@ const y = /* @__PURE__ */ h({
29
29
  }
30
30
  },
31
31
  created() {
32
- u(b);
32
+ k(b);
33
33
  },
34
34
  computed: {
35
35
  itemClasses() {
@@ -57,7 +57,7 @@ const y = /* @__PURE__ */ h({
57
57
  icon: o,
58
58
  text: a,
59
59
  svgIcon: s
60
- } = n, r = x.call(this, {
60
+ } = n, r = u.call(this, {
61
61
  h: p,
62
62
  template: d,
63
63
  defaultRendering: null,
@@ -75,7 +75,7 @@ const y = /* @__PURE__ */ h({
75
75
  onKeydown: this.handleKeyDown,
76
76
  "aria-current": e,
77
77
  "aria-disabled": t
78
- }, [this.$props.item ? r : [(s || o) && i(k, {
78
+ }, [this.$props.item ? r : [(s || o) && i(x, {
79
79
  name: o,
80
80
  icon: s,
81
81
  size: "xlarge",
@@ -5,9 +5,9 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as R, ref as O, h as b, createVNode as l, isVNode as M } from "vue";
8
+ import { defineComponent as R, h as b, createVNode as l, ref as O, isVNode as M } from "vue";
9
9
  import { packageMetadata as $ } from "../package-metadata.mjs";
10
- import { validatePackage as K, kendoThemeMaps as W, getDir as z, canUseDOM as B, templateRendering as g, getListeners as y, getTemplate as f, getTabIndex as j } from "@progress/kendo-vue-common";
10
+ import { templateRendering as g, getListeners as y, getTemplate as f, getTabIndex as K, getDir as W, canUseDOM as z, kendoThemeMaps as B, validatePackage as j } from "@progress/kendo-vue-common";
11
11
  import { BreadcrumbOrderedList as S } from "./BreadcrumbOrderedList.mjs";
12
12
  import { BreadcrumbListItem as p } from "./BreadcrumbListItem.mjs";
13
13
  import { BreadcrumbDelimiter as H } from "./BreadcrumbDelimiter.mjs";
@@ -72,7 +72,7 @@ const _ = /* @__PURE__ */ R({
72
72
  onKeydown: Function
73
73
  },
74
74
  created() {
75
- this.observer = null, K($);
75
+ this.observer = null, j($);
76
76
  },
77
77
  data() {
78
78
  return {
@@ -96,7 +96,7 @@ const _ = /* @__PURE__ */ R({
96
96
  "k-disabled": e,
97
97
  "k-breadcrumb-md": !i,
98
98
  "k-breadcrumb-wrap": a === "wrap",
99
- [`k-breadcrumb-${W.sizeMap[i] || i}`]: i
99
+ [`k-breadcrumb-${B.sizeMap[i] || i}`]: i
100
100
  };
101
101
  }
102
102
  },
@@ -106,12 +106,12 @@ const _ = /* @__PURE__ */ R({
106
106
  };
107
107
  },
108
108
  mounted() {
109
- this.currentDir = z(this.$el, this.$props.dir), this.listItems = this.breadcrumbRef.querySelectorAll("li"), this.itemsData = Array.from(this.listItems).map((e, i) => ({
109
+ this.currentDir = W(this.$el, this.$props.dir), this.listItems = this.breadcrumbRef.querySelectorAll("li"), this.itemsData = Array.from(this.listItems).map((e, i) => ({
110
110
  id: i,
111
111
  name: e.innerText,
112
112
  width: e.offsetWidth,
113
113
  visible: !0
114
- })), this.resizeObserver = B && window.ResizeObserver && new ResizeObserver(this.calculateMedia), this.breadcrumbRef && this.resizeObserver && (this.resizeObserver.observe(this.breadcrumbRef), this.$nextTick(() => {
114
+ })), this.resizeObserver = z && window.ResizeObserver && new ResizeObserver(this.calculateMedia), this.breadcrumbRef && this.resizeObserver && (this.resizeObserver.observe(this.breadcrumbRef), this.$nextTick(() => {
115
115
  this.calculateMedia();
116
116
  }));
117
117
  },
@@ -173,7 +173,7 @@ const _ = /* @__PURE__ */ R({
173
173
  return l("nav", {
174
174
  id: i,
175
175
  ref: (s) => this.breadcrumbRef = s,
176
- tabindex: j(t, h),
176
+ tabindex: K(t, h),
177
177
  dir: this.currentDir,
178
178
  "aria-label": x,
179
179
  class: this.itemClasses
@@ -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 l, ref as u, createVNode as r } from "vue";
9
- import { getDir as b, getTabIndex as h, Icon as m } from "@progress/kendo-vue-common";
8
+ import { defineComponent as l, createVNode as r, ref as u } from "vue";
9
+ import { getTabIndex as b, Icon as h, getDir as m } from "@progress/kendo-vue-common";
10
10
  const f = /* @__PURE__ */ l({
11
11
  name: "KendoBreadcrumbLink",
12
12
  props: {
@@ -44,7 +44,7 @@ const f = /* @__PURE__ */ l({
44
44
  this.currentDir = void 0;
45
45
  },
46
46
  mounted() {
47
- this.currentDir = b(this.$el, this.$props.dir);
47
+ this.currentDir = m(this.$el, this.$props.dir);
48
48
  },
49
49
  setup() {
50
50
  return {
@@ -69,13 +69,13 @@ const f = /* @__PURE__ */ l({
69
69
  id: t,
70
70
  ref: this.linkRef,
71
71
  dir: this.currentDir,
72
- tabindex: h(c, o),
72
+ tabindex: b(c, o),
73
73
  class: this.itemClasses,
74
74
  onClick: (d) => {
75
75
  d.preventDefault(), this.handleSelect(d);
76
76
  },
77
77
  onKeydown: this.handleKeyDown
78
- }, [a || "", n && r(m, {
78
+ }, [a || "", n && r(h, {
79
79
  class: "k-svg-icon",
80
80
  icon: n
81
81
  }, null), s && r("span", {
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as i, createVNode as n } from "vue";
9
- import { getDir as d, getDefaultSlots as s, getTabIndex as a } from "@progress/kendo-vue-common";
9
+ import { getDefaultSlots as d, getTabIndex as s, getDir as a } from "@progress/kendo-vue-common";
10
10
  const p = /* @__PURE__ */ i({
11
11
  name: "KendoBreadcrumbOrderedList",
12
12
  props: {
@@ -42,10 +42,10 @@ const p = /* @__PURE__ */ i({
42
42
  this.currentDir = void 0;
43
43
  },
44
44
  mounted() {
45
- this.currentDir = d(this.$el, this.$props.dir);
45
+ this.currentDir = a(this.$el, this.$props.dir);
46
46
  },
47
47
  render() {
48
- const e = s(this), {
48
+ const e = d(this), {
49
49
  id: t,
50
50
  disabled: r,
51
51
  tabIndex: o
@@ -53,7 +53,7 @@ const p = /* @__PURE__ */ i({
53
53
  return n("ol", {
54
54
  id: t,
55
55
  dir: this.currentDir,
56
- tabindex: a(o, r),
56
+ tabindex: s(o, r),
57
57
  class: this.itemClasses
58
58
  }, [e]);
59
59
  }
package/card/Avatar.mjs CHANGED
@@ -8,7 +8,7 @@
8
8
  import { defineComponent as d, createVNode as n } from "vue";
9
9
  import { avatarType as l } from "./interfaces/Enums.mjs";
10
10
  import { packageMetadata as s } from "../package-metadata.mjs";
11
- import { validatePackage as u, kendoThemeMaps as o, getDefaultSlots as p } from "@progress/kendo-vue-common";
11
+ import { getDefaultSlots as u, kendoThemeMaps as o, validatePackage as p } from "@progress/kendo-vue-common";
12
12
  const g = /* @__PURE__ */ d({
13
13
  name: "KendoAvatar",
14
14
  props: {
@@ -50,7 +50,7 @@ const g = /* @__PURE__ */ d({
50
50
  }
51
51
  },
52
52
  created() {
53
- u(s);
53
+ p(s);
54
54
  },
55
55
  computed: {
56
56
  wrapperClass() {
@@ -78,7 +78,7 @@ const g = /* @__PURE__ */ d({
78
78
  }
79
79
  },
80
80
  render() {
81
- const e = p(this);
81
+ const e = u(this);
82
82
  return n("div", {
83
83
  class: this.wrapperClass
84
84
  }, [n("span", {
package/card/Card.mjs CHANGED
@@ -6,43 +6,43 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as a, createVNode as o } from "vue";
9
- import { cardType as t, cardOrientation as e } from "./interfaces/Enums.mjs";
9
+ import { cardOrientation as t, cardType as e } from "./interfaces/Enums.mjs";
10
10
  import { packageMetadata as i } from "../package-metadata.mjs";
11
- import { validatePackage as n, getDefaultSlots as p } from "@progress/kendo-vue-common";
11
+ import { getDefaultSlots as n, validatePackage as p } from "@progress/kendo-vue-common";
12
12
  const u = /* @__PURE__ */ a({
13
13
  name: "KendoCard",
14
14
  props: {
15
15
  dir: String,
16
16
  type: {
17
17
  type: String,
18
- default: t.DEFAULT,
18
+ default: e.DEFAULT,
19
19
  validator: function(r) {
20
20
  return ["default", "primary", "info", "success", "warning", "error"].includes(r);
21
21
  }
22
22
  },
23
23
  orientation: {
24
24
  type: String,
25
- default: e.VERTICAL,
25
+ default: t.VERTICAL,
26
26
  validator: function(r) {
27
27
  return ["horizontal", "vertical"].includes(r);
28
28
  }
29
29
  }
30
30
  },
31
31
  created() {
32
- n(i);
32
+ p(i);
33
33
  },
34
34
  computed: {
35
35
  wrapperClass() {
36
- const r = this.$props.orientation !== e.HORIZONTAL ? "vertical" : "horizontal";
36
+ const r = this.$props.orientation !== t.HORIZONTAL ? "vertical" : "horizontal";
37
37
  return {
38
38
  "k-card": !0,
39
- [`k-card-${this.$props.type}`]: this.$props.type !== t.DEFAULT,
39
+ [`k-card-${this.$props.type}`]: this.$props.type !== e.DEFAULT,
40
40
  [`k-card-${r}`]: !0
41
41
  };
42
42
  }
43
43
  },
44
44
  render() {
45
- const r = p(this);
45
+ const r = n(this);
46
46
  return o("div", {
47
47
  dir: this.$props.dir,
48
48
  class: this.wrapperClass
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineComponent as o, createVNode as e } from "vue";
9
9
  import { getDefaultSlots as n } from "@progress/kendo-vue-common";
10
- import { cardActionsLayout as a, cardOrientation as r } from "./interfaces/Enums.mjs";
10
+ import { cardOrientation as r, cardActionsLayout as a } from "./interfaces/Enums.mjs";
11
11
  const d = /* @__PURE__ */ o({
12
12
  name: "KendoCardActions",
13
13
  props: {