@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
package/stepper/Stepper.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as g, createVNode as d, h as I } from "vue";
|
|
9
|
-
import {
|
|
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
|
-
|
|
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 :
|
|
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 =
|
|
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 ?
|
|
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
|
|
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 &&
|
|
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;
|
package/tabstrip/TabStrip.mjs
CHANGED
|
@@ -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 {
|
|
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
|
-
},
|
|
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 =
|
|
181
|
-
[`k-tabstrip-${
|
|
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(
|
|
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 {
|
|
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 =
|
|
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 =
|
|
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
|
package/tabstrip/TabStripTab.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as e, createVNode as i } from "vue";
|
|
9
|
-
import {
|
|
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 =
|
|
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 ?
|
|
44
|
-
return t && this.addRenderTitle(this.tabId, t), i("div", null, [
|
|
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 {
|
package/tilelayout/Tile.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as g, createVNode as h, isVNode as f } from "vue";
|
|
9
|
-
import {
|
|
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 =
|
|
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 =
|
|
123
|
-
clearTimeout && typeof clearTimeout == "function" && (clearTimeout(this.preventDataOps),
|
|
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:
|
|
174
|
-
}, null), h(
|
|
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 {
|
|
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
|
-
|
|
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(
|
|
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 ||
|
|
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 ?
|
|
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,
|