@progress/kendo-vue-layout 3.7.4-dev.202301161618 → 3.8.0-dev.202301180727
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/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tabstrip/TabStrip.js +2 -2
- package/dist/es/tabstrip/TabStripNavigation.js +2 -0
- package/dist/es/tabstrip/TabStripNavigationItem.d.ts +4 -0
- package/dist/es/tabstrip/TabStripNavigationItem.js +8 -2
- package/dist/es/tabstrip/TabStripTab.d.ts +6 -1
- package/dist/es/tabstrip/TabStripTab.js +3 -1
- package/dist/es/tilelayout/Tile.js +4 -2
- package/dist/es/tilelayout/TileLayout.js +4 -2
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/tabstrip/TabStrip.js +2 -2
- package/dist/esm/tabstrip/TabStripNavigation.js +2 -0
- package/dist/esm/tabstrip/TabStripNavigationItem.d.ts +4 -0
- package/dist/esm/tabstrip/TabStripNavigationItem.js +8 -2
- package/dist/esm/tabstrip/TabStripTab.d.ts +6 -1
- package/dist/esm/tabstrip/TabStripTab.js +3 -1
- package/dist/esm/tilelayout/Tile.js +4 -2
- package/dist/esm/tilelayout/TileLayout.js +4 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tabstrip/TabStrip.js +2 -2
- package/dist/npm/tabstrip/TabStripNavigation.js +2 -0
- package/dist/npm/tabstrip/TabStripNavigationItem.d.ts +4 -0
- package/dist/npm/tabstrip/TabStripNavigationItem.js +8 -2
- package/dist/npm/tabstrip/TabStripTab.d.ts +6 -1
- package/dist/npm/tabstrip/TabStripTab.js +3 -1
- package/dist/npm/tilelayout/Tile.js +4 -2
- package/dist/npm/tilelayout/TileLayout.js +4 -2
- package/package.json +13 -13
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-layout',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1674026021,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -104,7 +104,7 @@ var TabStripVue2 = {
|
|
|
104
104
|
methods: {
|
|
105
105
|
addRenderTitle: function addRenderTitle(currentId, titleTemplate) {
|
|
106
106
|
var indexToUpdate = this.compTabs.findIndex(function (e) {
|
|
107
|
-
return e.
|
|
107
|
+
return e.tabId === currentId;
|
|
108
108
|
});
|
|
109
109
|
if (this.v3) {
|
|
110
110
|
this.compTabs[indexToUpdate].titleRender = titleTemplate;
|
|
@@ -119,7 +119,7 @@ var TabStripVue2 = {
|
|
|
119
119
|
},
|
|
120
120
|
removeTab: function removeTab(currentId) {
|
|
121
121
|
var indexToRemove = this.currentTabs.findIndex(function (e) {
|
|
122
|
-
return e.
|
|
122
|
+
return e.tabId === currentId;
|
|
123
123
|
});
|
|
124
124
|
this.currentTabs.splice(indexToRemove, 1);
|
|
125
125
|
},
|
|
@@ -72,6 +72,7 @@ var TabStripNavigationVue2 = {
|
|
|
72
72
|
disabled: tabs[index].disabled,
|
|
73
73
|
index: index,
|
|
74
74
|
title: tabs[index].title,
|
|
75
|
+
id: tabs[index].id,
|
|
75
76
|
titleRender: tabs[index].titleRender,
|
|
76
77
|
first: index === 0,
|
|
77
78
|
last: index === array.length - 1
|
|
@@ -79,6 +80,7 @@ var TabStripNavigationVue2 = {
|
|
|
79
80
|
disabled: tabs[index].disabled,
|
|
80
81
|
index: index,
|
|
81
82
|
title: tabs[index].title,
|
|
83
|
+
id: tabs[index].id,
|
|
82
84
|
titleRender: tabs[index].titleRender,
|
|
83
85
|
first: index === 0,
|
|
84
86
|
last: index === array.length - 1,
|
|
@@ -19,6 +19,10 @@ export interface TabStripNavigationItemProps {
|
|
|
19
19
|
* Sets the index of the TabStripNavigationItem that is used to identify it.
|
|
20
20
|
*/
|
|
21
21
|
index: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the id of the TabStripNavigationItem.
|
|
24
|
+
*/
|
|
25
|
+
id?: any;
|
|
22
26
|
/**
|
|
23
27
|
* Sets the title of the TabStripNavigationItem.
|
|
24
28
|
*/
|
|
@@ -21,6 +21,9 @@ var TabStripNavigationItemVue2 = {
|
|
|
21
21
|
type: String,
|
|
22
22
|
default: 'Untitled'
|
|
23
23
|
},
|
|
24
|
+
id: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
24
27
|
titleRender: [String, Function, Object],
|
|
25
28
|
first: {
|
|
26
29
|
type: Boolean,
|
|
@@ -63,7 +66,8 @@ var TabStripNavigationItemVue2 = {
|
|
|
63
66
|
var _a = this.$props,
|
|
64
67
|
active = _a.active,
|
|
65
68
|
_b = _a.title,
|
|
66
|
-
title = _b === void 0 ? 'Untitled' : _b
|
|
69
|
+
title = _b === void 0 ? 'Untitled' : _b,
|
|
70
|
+
id = _a.id;
|
|
67
71
|
var titleRender = this.$props.titleRender;
|
|
68
72
|
var titleElement = getTemplate.call(this, {
|
|
69
73
|
h: h,
|
|
@@ -78,9 +82,11 @@ var TabStripNavigationItemVue2 = {
|
|
|
78
82
|
"aria-selected": active,
|
|
79
83
|
attrs: this.v3 ? undefined : {
|
|
80
84
|
"aria-selected": active,
|
|
81
|
-
role: 'tab'
|
|
85
|
+
role: 'tab',
|
|
86
|
+
id: id
|
|
82
87
|
},
|
|
83
88
|
role: 'tab',
|
|
89
|
+
id: id,
|
|
84
90
|
onClick: this.onClick,
|
|
85
91
|
on: this.v3 ? undefined : {
|
|
86
92
|
"click": this.onClick
|
|
@@ -5,7 +5,8 @@ declare type DefaultMethods<V> = {
|
|
|
5
5
|
};
|
|
6
6
|
export interface TabStripTabProperties {
|
|
7
7
|
disabled?: boolean;
|
|
8
|
-
id
|
|
8
|
+
id?: string;
|
|
9
|
+
tabId?: string;
|
|
9
10
|
title?: string;
|
|
10
11
|
titleRender?: any;
|
|
11
12
|
content?: any;
|
|
@@ -23,6 +24,10 @@ export interface TabStripTabProps {
|
|
|
23
24
|
* Sets the title of the tab ([see example]({% slug tabs_tabstrip %}#toc-titles)).
|
|
24
25
|
*/
|
|
25
26
|
title?: any;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the id of the tab (li element).
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
26
31
|
/**
|
|
27
32
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
28
33
|
*/
|
|
@@ -15,6 +15,7 @@ var TabStripTabVue2 = {
|
|
|
15
15
|
disabled: Boolean,
|
|
16
16
|
contentClassName: String,
|
|
17
17
|
title: String,
|
|
18
|
+
id: String,
|
|
18
19
|
titleRender: [String, Function, Object]
|
|
19
20
|
},
|
|
20
21
|
inject: {
|
|
@@ -32,7 +33,8 @@ var TabStripTabVue2 = {
|
|
|
32
33
|
this.tabId = guid();
|
|
33
34
|
this.addTab({
|
|
34
35
|
title: this.$props.title,
|
|
35
|
-
|
|
36
|
+
tabId: this.tabId,
|
|
37
|
+
id: this.id,
|
|
36
38
|
disabled: this.$props.disabled,
|
|
37
39
|
contentClassName: this.$props.contentClassName
|
|
38
40
|
});
|
|
@@ -206,13 +206,15 @@ var TileVue2 = {
|
|
|
206
206
|
"aria-keyshortcuts": 'Enter',
|
|
207
207
|
"aria-dropeffect": 'execute',
|
|
208
208
|
"aria-grabbed": this.grabbed ? true : false,
|
|
209
|
-
"aria-ariaDescribedBy": this.$props.ariaDescribedBy
|
|
209
|
+
"aria-ariaDescribedBy": this.$props.ariaDescribedBy,
|
|
210
|
+
ontouchstart: 'return false'
|
|
210
211
|
},
|
|
211
212
|
tabIndex: this.$props.tabIndex,
|
|
212
213
|
"aria-keyshortcuts": 'Enter',
|
|
213
214
|
"aria-dropeffect": 'execute',
|
|
214
215
|
"aria-grabbed": this.grabbed ? true : false,
|
|
215
|
-
"aria-ariaDescribedBy": this.$props.ariaDescribedBy
|
|
216
|
+
"aria-ariaDescribedBy": this.$props.ariaDescribedBy,
|
|
217
|
+
ontouchstart: 'return false'
|
|
216
218
|
}, [defaultSlots, resizable && resizable !== 'vertical' && h(ResizeHandlers, {
|
|
217
219
|
onPress: this.handlePress,
|
|
218
220
|
on: this.v3 ? undefined : {
|
|
@@ -115,12 +115,14 @@ var TileLayoutVue2 = {
|
|
|
115
115
|
attrs: this.v3 ? undefined : {
|
|
116
116
|
dir: this.$props.dir,
|
|
117
117
|
id: this.$props.id,
|
|
118
|
-
role: 'list'
|
|
118
|
+
role: 'list',
|
|
119
|
+
ontouchstart: 'return false'
|
|
119
120
|
},
|
|
120
121
|
"class": this.wrapperClass,
|
|
121
122
|
style: tileLayoutStyles,
|
|
122
123
|
id: this.$props.id,
|
|
123
|
-
role: 'list'
|
|
124
|
+
role: 'list',
|
|
125
|
+
ontouchstart: 'return false'
|
|
124
126
|
}, [items.map(function (tile, index) {
|
|
125
127
|
var _this = this;
|
|
126
128
|
var tileTitleId = tile && tile.id || guid();
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-layout',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1674026021,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -104,7 +104,7 @@ var TabStripVue2 = {
|
|
|
104
104
|
methods: {
|
|
105
105
|
addRenderTitle: function addRenderTitle(currentId, titleTemplate) {
|
|
106
106
|
var indexToUpdate = this.compTabs.findIndex(function (e) {
|
|
107
|
-
return e.
|
|
107
|
+
return e.tabId === currentId;
|
|
108
108
|
});
|
|
109
109
|
if (this.v3) {
|
|
110
110
|
this.compTabs[indexToUpdate].titleRender = titleTemplate;
|
|
@@ -119,7 +119,7 @@ var TabStripVue2 = {
|
|
|
119
119
|
},
|
|
120
120
|
removeTab: function removeTab(currentId) {
|
|
121
121
|
var indexToRemove = this.currentTabs.findIndex(function (e) {
|
|
122
|
-
return e.
|
|
122
|
+
return e.tabId === currentId;
|
|
123
123
|
});
|
|
124
124
|
this.currentTabs.splice(indexToRemove, 1);
|
|
125
125
|
},
|
|
@@ -72,6 +72,7 @@ var TabStripNavigationVue2 = {
|
|
|
72
72
|
disabled: tabs[index].disabled,
|
|
73
73
|
index: index,
|
|
74
74
|
title: tabs[index].title,
|
|
75
|
+
id: tabs[index].id,
|
|
75
76
|
titleRender: tabs[index].titleRender,
|
|
76
77
|
first: index === 0,
|
|
77
78
|
last: index === array.length - 1
|
|
@@ -79,6 +80,7 @@ var TabStripNavigationVue2 = {
|
|
|
79
80
|
disabled: tabs[index].disabled,
|
|
80
81
|
index: index,
|
|
81
82
|
title: tabs[index].title,
|
|
83
|
+
id: tabs[index].id,
|
|
82
84
|
titleRender: tabs[index].titleRender,
|
|
83
85
|
first: index === 0,
|
|
84
86
|
last: index === array.length - 1,
|
|
@@ -19,6 +19,10 @@ export interface TabStripNavigationItemProps {
|
|
|
19
19
|
* Sets the index of the TabStripNavigationItem that is used to identify it.
|
|
20
20
|
*/
|
|
21
21
|
index: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the id of the TabStripNavigationItem.
|
|
24
|
+
*/
|
|
25
|
+
id?: any;
|
|
22
26
|
/**
|
|
23
27
|
* Sets the title of the TabStripNavigationItem.
|
|
24
28
|
*/
|
|
@@ -21,6 +21,9 @@ var TabStripNavigationItemVue2 = {
|
|
|
21
21
|
type: String,
|
|
22
22
|
default: 'Untitled'
|
|
23
23
|
},
|
|
24
|
+
id: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
24
27
|
titleRender: [String, Function, Object],
|
|
25
28
|
first: {
|
|
26
29
|
type: Boolean,
|
|
@@ -63,7 +66,8 @@ var TabStripNavigationItemVue2 = {
|
|
|
63
66
|
var _a = this.$props,
|
|
64
67
|
active = _a.active,
|
|
65
68
|
_b = _a.title,
|
|
66
|
-
title = _b === void 0 ? 'Untitled' : _b
|
|
69
|
+
title = _b === void 0 ? 'Untitled' : _b,
|
|
70
|
+
id = _a.id;
|
|
67
71
|
var titleRender = this.$props.titleRender;
|
|
68
72
|
var titleElement = getTemplate.call(this, {
|
|
69
73
|
h: h,
|
|
@@ -78,9 +82,11 @@ var TabStripNavigationItemVue2 = {
|
|
|
78
82
|
"aria-selected": active,
|
|
79
83
|
attrs: this.v3 ? undefined : {
|
|
80
84
|
"aria-selected": active,
|
|
81
|
-
role: 'tab'
|
|
85
|
+
role: 'tab',
|
|
86
|
+
id: id
|
|
82
87
|
},
|
|
83
88
|
role: 'tab',
|
|
89
|
+
id: id,
|
|
84
90
|
onClick: this.onClick,
|
|
85
91
|
on: this.v3 ? undefined : {
|
|
86
92
|
"click": this.onClick
|
|
@@ -5,7 +5,8 @@ declare type DefaultMethods<V> = {
|
|
|
5
5
|
};
|
|
6
6
|
export interface TabStripTabProperties {
|
|
7
7
|
disabled?: boolean;
|
|
8
|
-
id
|
|
8
|
+
id?: string;
|
|
9
|
+
tabId?: string;
|
|
9
10
|
title?: string;
|
|
10
11
|
titleRender?: any;
|
|
11
12
|
content?: any;
|
|
@@ -23,6 +24,10 @@ export interface TabStripTabProps {
|
|
|
23
24
|
* Sets the title of the tab ([see example]({% slug tabs_tabstrip %}#toc-titles)).
|
|
24
25
|
*/
|
|
25
26
|
title?: any;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the id of the tab (li element).
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
26
31
|
/**
|
|
27
32
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
28
33
|
*/
|
|
@@ -15,6 +15,7 @@ var TabStripTabVue2 = {
|
|
|
15
15
|
disabled: Boolean,
|
|
16
16
|
contentClassName: String,
|
|
17
17
|
title: String,
|
|
18
|
+
id: String,
|
|
18
19
|
titleRender: [String, Function, Object]
|
|
19
20
|
},
|
|
20
21
|
inject: {
|
|
@@ -32,7 +33,8 @@ var TabStripTabVue2 = {
|
|
|
32
33
|
this.tabId = guid();
|
|
33
34
|
this.addTab({
|
|
34
35
|
title: this.$props.title,
|
|
35
|
-
|
|
36
|
+
tabId: this.tabId,
|
|
37
|
+
id: this.id,
|
|
36
38
|
disabled: this.$props.disabled,
|
|
37
39
|
contentClassName: this.$props.contentClassName
|
|
38
40
|
});
|
|
@@ -206,13 +206,15 @@ var TileVue2 = {
|
|
|
206
206
|
"aria-keyshortcuts": 'Enter',
|
|
207
207
|
"aria-dropeffect": 'execute',
|
|
208
208
|
"aria-grabbed": this.grabbed ? true : false,
|
|
209
|
-
"aria-ariaDescribedBy": this.$props.ariaDescribedBy
|
|
209
|
+
"aria-ariaDescribedBy": this.$props.ariaDescribedBy,
|
|
210
|
+
ontouchstart: 'return false'
|
|
210
211
|
},
|
|
211
212
|
tabIndex: this.$props.tabIndex,
|
|
212
213
|
"aria-keyshortcuts": 'Enter',
|
|
213
214
|
"aria-dropeffect": 'execute',
|
|
214
215
|
"aria-grabbed": this.grabbed ? true : false,
|
|
215
|
-
"aria-ariaDescribedBy": this.$props.ariaDescribedBy
|
|
216
|
+
"aria-ariaDescribedBy": this.$props.ariaDescribedBy,
|
|
217
|
+
ontouchstart: 'return false'
|
|
216
218
|
}, [defaultSlots, resizable && resizable !== 'vertical' && h(ResizeHandlers, {
|
|
217
219
|
onPress: this.handlePress,
|
|
218
220
|
on: this.v3 ? undefined : {
|
|
@@ -115,12 +115,14 @@ var TileLayoutVue2 = {
|
|
|
115
115
|
attrs: this.v3 ? undefined : {
|
|
116
116
|
dir: this.$props.dir,
|
|
117
117
|
id: this.$props.id,
|
|
118
|
-
role: 'list'
|
|
118
|
+
role: 'list',
|
|
119
|
+
ontouchstart: 'return false'
|
|
119
120
|
},
|
|
120
121
|
"class": this.wrapperClass,
|
|
121
122
|
style: tileLayoutStyles,
|
|
122
123
|
id: this.$props.id,
|
|
123
|
-
role: 'list'
|
|
124
|
+
role: 'list',
|
|
125
|
+
ontouchstart: 'return false'
|
|
124
126
|
}, [items.map(function (tile, index) {
|
|
125
127
|
var _this = this;
|
|
126
128
|
var tileTitleId = tile && tile.id || guid();
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-layout',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1674026021,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
|
@@ -110,7 +110,7 @@ var TabStripVue2 = {
|
|
|
110
110
|
methods: {
|
|
111
111
|
addRenderTitle: function addRenderTitle(currentId, titleTemplate) {
|
|
112
112
|
var indexToUpdate = this.compTabs.findIndex(function (e) {
|
|
113
|
-
return e.
|
|
113
|
+
return e.tabId === currentId;
|
|
114
114
|
});
|
|
115
115
|
if (this.v3) {
|
|
116
116
|
this.compTabs[indexToUpdate].titleRender = titleTemplate;
|
|
@@ -125,7 +125,7 @@ var TabStripVue2 = {
|
|
|
125
125
|
},
|
|
126
126
|
removeTab: function removeTab(currentId) {
|
|
127
127
|
var indexToRemove = this.currentTabs.findIndex(function (e) {
|
|
128
|
-
return e.
|
|
128
|
+
return e.tabId === currentId;
|
|
129
129
|
});
|
|
130
130
|
this.currentTabs.splice(indexToRemove, 1);
|
|
131
131
|
},
|
|
@@ -78,6 +78,7 @@ var TabStripNavigationVue2 = {
|
|
|
78
78
|
disabled: tabs[index].disabled,
|
|
79
79
|
index: index,
|
|
80
80
|
title: tabs[index].title,
|
|
81
|
+
id: tabs[index].id,
|
|
81
82
|
titleRender: tabs[index].titleRender,
|
|
82
83
|
first: index === 0,
|
|
83
84
|
last: index === array.length - 1
|
|
@@ -85,6 +86,7 @@ var TabStripNavigationVue2 = {
|
|
|
85
86
|
disabled: tabs[index].disabled,
|
|
86
87
|
index: index,
|
|
87
88
|
title: tabs[index].title,
|
|
89
|
+
id: tabs[index].id,
|
|
88
90
|
titleRender: tabs[index].titleRender,
|
|
89
91
|
first: index === 0,
|
|
90
92
|
last: index === array.length - 1,
|
|
@@ -19,6 +19,10 @@ export interface TabStripNavigationItemProps {
|
|
|
19
19
|
* Sets the index of the TabStripNavigationItem that is used to identify it.
|
|
20
20
|
*/
|
|
21
21
|
index: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the id of the TabStripNavigationItem.
|
|
24
|
+
*/
|
|
25
|
+
id?: any;
|
|
22
26
|
/**
|
|
23
27
|
* Sets the title of the TabStripNavigationItem.
|
|
24
28
|
*/
|
|
@@ -27,6 +27,9 @@ var TabStripNavigationItemVue2 = {
|
|
|
27
27
|
type: String,
|
|
28
28
|
default: 'Untitled'
|
|
29
29
|
},
|
|
30
|
+
id: {
|
|
31
|
+
type: String
|
|
32
|
+
},
|
|
30
33
|
titleRender: [String, Function, Object],
|
|
31
34
|
first: {
|
|
32
35
|
type: Boolean,
|
|
@@ -69,7 +72,8 @@ var TabStripNavigationItemVue2 = {
|
|
|
69
72
|
var _a = this.$props,
|
|
70
73
|
active = _a.active,
|
|
71
74
|
_b = _a.title,
|
|
72
|
-
title = _b === void 0 ? 'Untitled' : _b
|
|
75
|
+
title = _b === void 0 ? 'Untitled' : _b,
|
|
76
|
+
id = _a.id;
|
|
73
77
|
var titleRender = this.$props.titleRender;
|
|
74
78
|
var titleElement = kendo_vue_common_1.getTemplate.call(this, {
|
|
75
79
|
h: h,
|
|
@@ -84,9 +88,11 @@ var TabStripNavigationItemVue2 = {
|
|
|
84
88
|
"aria-selected": active,
|
|
85
89
|
attrs: this.v3 ? undefined : {
|
|
86
90
|
"aria-selected": active,
|
|
87
|
-
role: 'tab'
|
|
91
|
+
role: 'tab',
|
|
92
|
+
id: id
|
|
88
93
|
},
|
|
89
94
|
role: 'tab',
|
|
95
|
+
id: id,
|
|
90
96
|
onClick: this.onClick,
|
|
91
97
|
on: this.v3 ? undefined : {
|
|
92
98
|
"click": this.onClick
|
|
@@ -5,7 +5,8 @@ declare type DefaultMethods<V> = {
|
|
|
5
5
|
};
|
|
6
6
|
export interface TabStripTabProperties {
|
|
7
7
|
disabled?: boolean;
|
|
8
|
-
id
|
|
8
|
+
id?: string;
|
|
9
|
+
tabId?: string;
|
|
9
10
|
title?: string;
|
|
10
11
|
titleRender?: any;
|
|
11
12
|
content?: any;
|
|
@@ -23,6 +24,10 @@ export interface TabStripTabProps {
|
|
|
23
24
|
* Sets the title of the tab ([see example]({% slug tabs_tabstrip %}#toc-titles)).
|
|
24
25
|
*/
|
|
25
26
|
title?: any;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the id of the tab (li element).
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
26
31
|
/**
|
|
27
32
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
28
33
|
*/
|
|
@@ -21,6 +21,7 @@ var TabStripTabVue2 = {
|
|
|
21
21
|
disabled: Boolean,
|
|
22
22
|
contentClassName: String,
|
|
23
23
|
title: String,
|
|
24
|
+
id: String,
|
|
24
25
|
titleRender: [String, Function, Object]
|
|
25
26
|
},
|
|
26
27
|
inject: {
|
|
@@ -38,7 +39,8 @@ var TabStripTabVue2 = {
|
|
|
38
39
|
this.tabId = (0, kendo_vue_common_1.guid)();
|
|
39
40
|
this.addTab({
|
|
40
41
|
title: this.$props.title,
|
|
41
|
-
|
|
42
|
+
tabId: this.tabId,
|
|
43
|
+
id: this.id,
|
|
42
44
|
disabled: this.$props.disabled,
|
|
43
45
|
contentClassName: this.$props.contentClassName
|
|
44
46
|
});
|
|
@@ -212,13 +212,15 @@ var TileVue2 = {
|
|
|
212
212
|
"aria-keyshortcuts": 'Enter',
|
|
213
213
|
"aria-dropeffect": 'execute',
|
|
214
214
|
"aria-grabbed": this.grabbed ? true : false,
|
|
215
|
-
"aria-ariaDescribedBy": this.$props.ariaDescribedBy
|
|
215
|
+
"aria-ariaDescribedBy": this.$props.ariaDescribedBy,
|
|
216
|
+
ontouchstart: 'return false'
|
|
216
217
|
},
|
|
217
218
|
tabIndex: this.$props.tabIndex,
|
|
218
219
|
"aria-keyshortcuts": 'Enter',
|
|
219
220
|
"aria-dropeffect": 'execute',
|
|
220
221
|
"aria-grabbed": this.grabbed ? true : false,
|
|
221
|
-
"aria-ariaDescribedBy": this.$props.ariaDescribedBy
|
|
222
|
+
"aria-ariaDescribedBy": this.$props.ariaDescribedBy,
|
|
223
|
+
ontouchstart: 'return false'
|
|
222
224
|
}, [defaultSlots, resizable && resizable !== 'vertical' && h(ResizeHandlers_1.ResizeHandlers, {
|
|
223
225
|
onPress: this.handlePress,
|
|
224
226
|
on: this.v3 ? undefined : {
|
|
@@ -121,12 +121,14 @@ var TileLayoutVue2 = {
|
|
|
121
121
|
attrs: this.v3 ? undefined : {
|
|
122
122
|
dir: this.$props.dir,
|
|
123
123
|
id: this.$props.id,
|
|
124
|
-
role: 'list'
|
|
124
|
+
role: 'list',
|
|
125
|
+
ontouchstart: 'return false'
|
|
125
126
|
},
|
|
126
127
|
"class": this.wrapperClass,
|
|
127
128
|
style: tileLayoutStyles,
|
|
128
129
|
id: this.$props.id,
|
|
129
|
-
role: 'list'
|
|
130
|
+
role: 'list',
|
|
131
|
+
ontouchstart: 'return false'
|
|
130
132
|
}, [items.map(function (tile, index) {
|
|
131
133
|
var _this = this;
|
|
132
134
|
var tileTitleId = tile && tile.id || (0, kendo_vue_common_1.guid)();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-layout",
|
|
3
3
|
"description": "Kendo UI for Vue Layouts package",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.8.0-dev.202301180727",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"vue": "^2.6.12 || ^3.0.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@progress/kendo-vue-animation": "3.
|
|
48
|
-
"@progress/kendo-vue-common": "3.
|
|
49
|
-
"@progress/kendo-vue-popup": "3.
|
|
47
|
+
"@progress/kendo-vue-animation": "3.8.0-dev.202301180727",
|
|
48
|
+
"@progress/kendo-vue-common": "3.8.0-dev.202301180727",
|
|
49
|
+
"@progress/kendo-vue-popup": "3.8.0-dev.202301180727"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@progress/kendo-data-query": "^1.5.0",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"@progress/kendo-drawing": "^1.8.0",
|
|
55
55
|
"@progress/kendo-licensing": "^1.3.0",
|
|
56
56
|
"@progress/kendo-svg-icons": "^1.0.0",
|
|
57
|
-
"@progress/kendo-vue-buttons": "3.
|
|
58
|
-
"@progress/kendo-vue-charts": "3.
|
|
59
|
-
"@progress/kendo-vue-dateinputs": "3.
|
|
60
|
-
"@progress/kendo-vue-dropdowns": "3.
|
|
61
|
-
"@progress/kendo-vue-grid": "3.
|
|
62
|
-
"@progress/kendo-vue-indicators": "3.
|
|
63
|
-
"@progress/kendo-vue-inputs": "3.
|
|
64
|
-
"@progress/kendo-vue-intl": "3.
|
|
65
|
-
"@progress/kendo-vue-progressbars": "3.
|
|
57
|
+
"@progress/kendo-vue-buttons": "3.8.0-dev.202301180727",
|
|
58
|
+
"@progress/kendo-vue-charts": "3.8.0-dev.202301180727",
|
|
59
|
+
"@progress/kendo-vue-dateinputs": "3.8.0-dev.202301180727",
|
|
60
|
+
"@progress/kendo-vue-dropdowns": "3.8.0-dev.202301180727",
|
|
61
|
+
"@progress/kendo-vue-grid": "3.8.0-dev.202301180727",
|
|
62
|
+
"@progress/kendo-vue-indicators": "3.8.0-dev.202301180727",
|
|
63
|
+
"@progress/kendo-vue-inputs": "3.8.0-dev.202301180727",
|
|
64
|
+
"@progress/kendo-vue-intl": "3.8.0-dev.202301180727",
|
|
65
|
+
"@progress/kendo-vue-progressbars": "3.8.0-dev.202301180727"
|
|
66
66
|
},
|
|
67
67
|
"@progress": {
|
|
68
68
|
"friendlyName": "Layouts",
|