@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.
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as g, createVNode as d, h as I } from "vue";
9
- import { validatePackage as b, isRtl as S, getDefaultSlots as V, templateRendering as x, getListeners as v, getTemplate as y, focusFirstFocusableChild as C, Keys as a } from "@progress/kendo-vue-common";
9
+ import { Keys as a, focusFirstFocusableChild as b, getDefaultSlots as S, templateRendering as V, getListeners as x, getTemplate as v, isRtl as y, validatePackage as C } from "@progress/kendo-vue-common";
10
10
  import { Step as D } from "./Step.mjs";
11
11
  import { ProgressBar as F } from "@progress/kendo-vue-progressbars";
12
12
  import { DEFAULT_ANIMATION_DURATION as k, NO_ANIMATION as $ } from "./contants.mjs";
@@ -65,10 +65,10 @@ const _ = /* @__PURE__ */ g({
65
65
  errorIcon: String
66
66
  },
67
67
  created() {
68
- b(w), this.focusedIdx = this.computedValue !== void 0 ? this.computedValue : 0;
68
+ C(w), this.focusedIdx = this.computedValue !== void 0 ? this.computedValue : 0;
69
69
  },
70
70
  mounted() {
71
- this.currentDir = this.$props.dir !== void 0 ? this.$props.dir : S(this.$el) ? "rtl" : "ltr";
71
+ this.currentDir = this.$props.dir !== void 0 ? this.$props.dir : y(this.$el) ? "rtl" : "ltr";
72
72
  },
73
73
  data() {
74
74
  return {
@@ -134,13 +134,13 @@ const _ = /* @__PURE__ */ g({
134
134
  }
135
135
  },
136
136
  render() {
137
- const e = V(this), {
137
+ const e = S(this), {
138
138
  animationDuration: t,
139
139
  disabled: s,
140
140
  items: r,
141
141
  orientation: l
142
142
  } = this.$props, o = this.computedValue, h = typeof t == "number" ? t : t !== !1 ? k : $, p = O(this).toLanguageString(u, N[u]), c = r && r.map(function(i, n) {
143
- const f = this.$props.item ? x.call(this, this.$props.item, v.call(this)) : void 0, m = d(D, {
143
+ const f = this.$props.item ? V.call(this, this.$props.item, x.call(this)) : void 0, m = d(D, {
144
144
  key: n,
145
145
  index: n,
146
146
  disabled: s || i.disabled,
@@ -169,7 +169,7 @@ const _ = /* @__PURE__ */ g({
169
169
  successSvgIcon: i.successSvgIcon,
170
170
  errorSvgIcon: i.errorSvgIcon
171
171
  }, null);
172
- return y.call(this, {
172
+ return v.call(this, {
173
173
  h: I,
174
174
  template: f,
175
175
  defaultRendering: m,
@@ -215,7 +215,7 @@ const _ = /* @__PURE__ */ g({
215
215
  },
216
216
  methods: {
217
217
  focus() {
218
- this.$el && C(this.$el);
218
+ this.$el && b(this.$el);
219
219
  },
220
220
  dispatchChangeEvent(e, t) {
221
221
  const s = t === this.computedValue - 1, r = t === this.computedValue, l = t === this.computedValue + 1, o = !this.linear || s || r || l;
@@ -8,7 +8,7 @@
8
8
  import { defineComponent as g, createVNode as n, h as T } from "vue";
9
9
  import { TabStripNavigation as o } from "./TabStripNavigation.mjs";
10
10
  import { TabStripContent as k } from "./TabStripContent.mjs";
11
- import { templateRendering as l, getListeners as h, Keys as i, validatePackage as v, shouldShowValidationUI as y, classNames as S, kendoThemeMaps as w, WatermarkOverlay as x, getDefaultSlots as N } from "@progress/kendo-vue-common";
11
+ import { classNames as v, kendoThemeMaps as y, WatermarkOverlay as S, Keys as i, validatePackage as w, shouldShowValidationUI as x, templateRendering as l, getListeners as h, getDefaultSlots as N } from "@progress/kendo-vue-common";
12
12
  import { packageMetadata as d } from "../package-metadata.mjs";
13
13
  const R = /* @__PURE__ */ g({
14
14
  name: "KendoTabStrip",
@@ -74,7 +74,7 @@ const R = /* @__PURE__ */ g({
74
74
  [i.up]: () => this.prevNavigatableTab(),
75
75
  [i.home]: () => 0,
76
76
  [i.end]: () => this.compTabs.length - 1
77
- }, v(d), this.showLicenseWatermark = y(d);
77
+ }, w(d), this.showLicenseWatermark = x(d);
78
78
  },
79
79
  watch: {
80
80
  selected(t, e) {
@@ -177,13 +177,13 @@ const R = /* @__PURE__ */ g({
177
177
  tabPosition: t,
178
178
  size: e,
179
179
  tabIndex: a = 0
180
- } = this.$props, s = t === "bottom", c = S("k-widget", "k-pos-relative", "k-tabstrip", {
181
- [`k-tabstrip-${w.sizeMap[e] || e}`]: e,
180
+ } = this.$props, s = t === "bottom", c = v("k-widget", "k-pos-relative", "k-tabstrip", {
181
+ [`k-tabstrip-${y.sizeMap[e] || e}`]: e,
182
182
  "k-tabstrip-left": t === "left",
183
183
  "k-tabstrip-right": t === "right",
184
184
  "k-tabstrip-bottom": t === "bottom",
185
185
  "k-tabstrip-top": t === "top"
186
- }), b = this.showLicenseWatermark ? n(x, null, null) : null, p = function(m) {
186
+ }), b = this.showLicenseWatermark ? n(S, null, null) : null, p = function(m) {
187
187
  const {
188
188
  selected: r
189
189
  } = m, u = N(this), f = {
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineComponent as g, createVNode as o, h as C, isVNode as S } from "vue";
9
9
  import { Fade as T } from "@progress/kendo-vue-animation";
10
- import { guid as k, getDefaultSlots as v, classNames as $, getTemplate as N } from "@progress/kendo-vue-common";
10
+ import { getDefaultSlots as k, classNames as v, guid as $, getTemplate as N } from "@progress/kendo-vue-common";
11
11
  import { getTabs as A } from "./utils.mjs";
12
12
  function j(t) {
13
13
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !S(t);
@@ -22,7 +22,7 @@ const P = /* @__PURE__ */ g({
22
22
  hasTabs: Boolean
23
23
  },
24
24
  created() {
25
- this.contentId = k();
25
+ this.contentId = $();
26
26
  },
27
27
  data() {
28
28
  return {
@@ -46,7 +46,7 @@ const P = /* @__PURE__ */ g({
46
46
  selected: n,
47
47
  showAll: i,
48
48
  hasTabs: r
49
- } = this.$props, c = t && typeof n == "number" && t[n], h = v(this), p = r ? t : A.call(this, [], h || []), d = n < p.length && n > -1, m = $({
49
+ } = this.$props, c = t && typeof n == "number" && t[n], h = k(this), p = r ? t : A.call(this, [], h || []), d = n < p.length && n > -1, m = v({
50
50
  "k-tabstrip-content": d
51
51
  }, {
52
52
  "k-active": d
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as e, createVNode as i } from "vue";
9
- import { guid as d, templateRendering as n, getListeners as a, getDefaultSlots as l } from "@progress/kendo-vue-common";
9
+ import { templateRendering as d, getListeners as n, getDefaultSlots as a, guid as l } from "@progress/kendo-vue-common";
10
10
  const o = /* @__PURE__ */ e({
11
11
  name: "KendoTabStripTab",
12
12
  props: {
@@ -28,7 +28,7 @@ const o = /* @__PURE__ */ e({
28
28
  }
29
29
  },
30
30
  created() {
31
- this.tabId = d(), this.addTab({
31
+ this.tabId = l(), this.addTab({
32
32
  title: this.$props.title,
33
33
  tabId: this.tabId,
34
34
  id: this.id,
@@ -40,8 +40,8 @@ const o = /* @__PURE__ */ e({
40
40
  this.removeTab(this.tabId);
41
41
  },
42
42
  render() {
43
- const t = this.$props.titleRender ? n.call(this, this.$props.titleRender, a.call(this)) : null;
44
- return t && this.addRenderTitle(this.tabId, t), i("div", null, [l(this)]);
43
+ const t = this.$props.titleRender ? d.call(this, this.$props.titleRender, n.call(this)) : null;
44
+ return t && this.addRenderTitle(this.tabId, t), i("div", null, [a(this)]);
45
45
  }
46
46
  });
47
47
  export {
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as g, createVNode as h, isVNode as f } from "vue";
9
- import { getRef as m, getDefaultSlots as y, canUseDOM as b, setRef as x, classNames as $, Draggable as S } from "@progress/kendo-vue-common";
9
+ import { getDefaultSlots as m, canUseDOM as y, classNames as b, setRef as x, Draggable as $, getRef as S } from "@progress/kendo-vue-common";
10
10
  import { ResizeHandlers as c } from "./ResizeHandlers.mjs";
11
11
  function w(t) {
12
12
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !f(t);
@@ -88,7 +88,7 @@ const u = ["k-card-title", "k-card-body", "k-tilelayout-item-body", "k-tilelayou
88
88
  },
89
89
  updated() {
90
90
  const t = this.dragElement();
91
- if (this.hintElement = m(this, "hintElement"), !t)
91
+ if (this.hintElement = S(this, "hintElement"), !t)
92
92
  return;
93
93
  const e = t.getBoundingClientRect(), i = this.oldSize;
94
94
  if (this.resizing) {
@@ -119,8 +119,8 @@ const u = ["k-card-title", "k-card-body", "k-tilelayout-item-body", "k-tilelayou
119
119
  }
120
120
  },
121
121
  render() {
122
- const t = y(this);
123
- clearTimeout && typeof clearTimeout == "function" && (clearTimeout(this.preventDataOps), b && (this.preventDataOps = window.setTimeout(() => {
122
+ const t = m(this);
123
+ clearTimeout && typeof clearTimeout == "function" && (clearTimeout(this.preventDataOps), y && (this.preventDataOps = window.setTimeout(() => {
124
124
  this.preventDataOps = void 0;
125
125
  }, 200)));
126
126
  const e = this.$props.defaultPosition, i = this.$props.resizable, r = {
@@ -170,8 +170,8 @@ const u = ["k-card-title", "k-card-body", "k-tilelayout-item-body", "k-tilelayou
170
170
  position: "absolute",
171
171
  ...r
172
172
  },
173
- class: $("k-layout-item-hint k-layout-item-hint-reorder", this.$props.hintClass)
174
- }, null), h(S, {
173
+ class: b("k-layout-item-hint k-layout-item-hint-reorder", this.$props.hintClass)
174
+ }, null), h($, {
175
175
  ref: "draggable",
176
176
  onDrag: this.handleDrag,
177
177
  onRelease: this.handleRelease,
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { defineComponent as P, createVNode as p, h as g } from "vue";
9
- import { validatePackage as T, shouldShowValidationUI as x, WatermarkOverlay as v, guid as L, templateRendering as f, getListeners as y, getTemplate as w, getter as W } from "@progress/kendo-vue-common";
9
+ import { WatermarkOverlay as T, guid as x, templateRendering as f, getListeners as y, getTemplate as w, getter as v, validatePackage as L, shouldShowValidationUI as W } from "@progress/kendo-vue-common";
10
10
  import { packageMetadata as b } from "../package-metadata.mjs";
11
11
  import { Tile as C } from "./Tile.mjs";
12
12
  const I = {
@@ -37,7 +37,7 @@ const I = {
37
37
  ignoreDrag: Function
38
38
  },
39
39
  created() {
40
- T(b), this.showLicenseWatermark = x(b);
40
+ L(b), this.showLicenseWatermark = W(b);
41
41
  },
42
42
  data() {
43
43
  return {
@@ -84,7 +84,7 @@ const I = {
84
84
  gridAutoRows: `minmax(0px, ${typeof i == "number" ? i + "px" : i})`,
85
85
  gap: m,
86
86
  padding: m
87
- }, a = this.showLicenseWatermark ? p(v, null, null) : null;
87
+ }, a = this.showLicenseWatermark ? p(T, null, null) : null;
88
88
  return p("div", {
89
89
  dir: this.$props.dir,
90
90
  class: this.wrapperClass,
@@ -92,7 +92,7 @@ const I = {
92
92
  id: this.$props.id,
93
93
  role: "list"
94
94
  }, [c.map(function(t, r) {
95
- const l = t && t.id || L(), d = f.call(this, t.item, y.call(this)), h = w.call(this, {
95
+ const l = t && t.id || x(), d = f.call(this, t.item, y.call(this)), h = w.call(this, {
96
96
  h: g,
97
97
  template: d,
98
98
  defaultRendering: null,
@@ -121,7 +121,7 @@ const I = {
121
121
  }
122
122
  });
123
123
  return p(C, {
124
- key: this.$props.dataItemKey ? W(this.$props.dataItemKey)(t) : r,
124
+ key: this.$props.dataItemKey ? v(this.$props.dataItemKey)(t) : r,
125
125
  onUpdate: this.updateHandle,
126
126
  defaultPosition: this.compPositions[r],
127
127
  index: r,