@progress/kendo-vue-layout 3.11.0 → 3.11.1-dev.202307111135
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/actionsheet/ActionSheet.d.ts +124 -0
- package/dist/es/actionsheet/ActionSheet.js +387 -0
- package/dist/es/actionsheet/ActionSheetContent.d.ts +41 -0
- package/dist/es/actionsheet/ActionSheetContent.js +31 -0
- package/dist/es/actionsheet/ActionSheetFooter.d.ts +41 -0
- package/dist/es/actionsheet/ActionSheetFooter.js +31 -0
- package/dist/es/actionsheet/ActionSheetHeader.d.ts +41 -0
- package/dist/es/actionsheet/ActionSheetHeader.js +31 -0
- package/dist/es/actionsheet/ActionSheetItem.d.ts +42 -0
- package/dist/es/actionsheet/ActionSheetItem.js +111 -0
- package/dist/es/actionsheet/interfaces/ActionSheetItemProps.d.ts +62 -0
- package/dist/es/actionsheet/interfaces/ActionSheetItemProps.js +1 -0
- package/dist/es/drawer/DrawerNavigation.js +2 -0
- package/dist/es/main.d.ts +6 -0
- package/dist/es/main.js +6 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/actionsheet/ActionSheet.d.ts +124 -0
- package/dist/esm/actionsheet/ActionSheet.js +387 -0
- package/dist/esm/actionsheet/ActionSheetContent.d.ts +41 -0
- package/dist/esm/actionsheet/ActionSheetContent.js +31 -0
- package/dist/esm/actionsheet/ActionSheetFooter.d.ts +41 -0
- package/dist/esm/actionsheet/ActionSheetFooter.js +31 -0
- package/dist/esm/actionsheet/ActionSheetHeader.d.ts +41 -0
- package/dist/esm/actionsheet/ActionSheetHeader.js +31 -0
- package/dist/esm/actionsheet/ActionSheetItem.d.ts +42 -0
- package/dist/esm/actionsheet/ActionSheetItem.js +111 -0
- package/dist/esm/actionsheet/interfaces/ActionSheetItemProps.d.ts +62 -0
- package/dist/esm/actionsheet/interfaces/ActionSheetItemProps.js +1 -0
- package/dist/esm/drawer/DrawerNavigation.js +2 -0
- package/dist/esm/main.d.ts +6 -0
- package/dist/esm/main.js +6 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/actionsheet/ActionSheet.d.ts +124 -0
- package/dist/npm/actionsheet/ActionSheet.js +394 -0
- package/dist/npm/actionsheet/ActionSheetContent.d.ts +41 -0
- package/dist/npm/actionsheet/ActionSheetContent.js +38 -0
- package/dist/npm/actionsheet/ActionSheetFooter.d.ts +41 -0
- package/dist/npm/actionsheet/ActionSheetFooter.js +38 -0
- package/dist/npm/actionsheet/ActionSheetHeader.d.ts +41 -0
- package/dist/npm/actionsheet/ActionSheetHeader.js +38 -0
- package/dist/npm/actionsheet/ActionSheetItem.d.ts +42 -0
- package/dist/npm/actionsheet/ActionSheetItem.js +118 -0
- package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.d.ts +62 -0
- package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.js +5 -0
- package/dist/npm/drawer/DrawerNavigation.js +2 -0
- package/dist/npm/main.d.ts +6 -0
- package/dist/npm/main.js +6 -0
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +13 -13
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ActionSheetItemVue2 = exports.ActionSheetItem = void 0;
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
var Vue = require("vue");
|
|
9
|
+
var allVue = Vue;
|
|
10
|
+
var gh = allVue.h;
|
|
11
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
12
|
+
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
var ActionSheetItemVue2 = {
|
|
17
|
+
name: 'KendoActionSheetItem',
|
|
18
|
+
props: {
|
|
19
|
+
description: String,
|
|
20
|
+
disabled: Boolean,
|
|
21
|
+
group: {
|
|
22
|
+
type: String,
|
|
23
|
+
validator: function validator(value) {
|
|
24
|
+
return ['top', 'bottom', undefined].includes(value);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
item: Object,
|
|
28
|
+
icon: String,
|
|
29
|
+
svgIcon: Object,
|
|
30
|
+
iconColor: String,
|
|
31
|
+
iconSize: String,
|
|
32
|
+
content: [String, Function, Object],
|
|
33
|
+
title: String
|
|
34
|
+
},
|
|
35
|
+
computed: {
|
|
36
|
+
wrapperClass: function wrapperClass() {
|
|
37
|
+
return {
|
|
38
|
+
'k-actionsheet-item': true,
|
|
39
|
+
'k-cursor-pointer': true,
|
|
40
|
+
'k-disabled': this.$props.disabled
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
setup: !isV3 ? undefined : function () {
|
|
46
|
+
var v3 = !!isV3;
|
|
47
|
+
return {
|
|
48
|
+
v3: v3
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
render: function render(createElement) {
|
|
52
|
+
var h = gh || createElement;
|
|
53
|
+
var itemContent = kendo_vue_common_1.getTemplate.call(this, {
|
|
54
|
+
h: h,
|
|
55
|
+
template: this.$props.content,
|
|
56
|
+
defaultRendering: null,
|
|
57
|
+
additionalProps: {
|
|
58
|
+
item: this.$props.item
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
return h("span", {
|
|
62
|
+
tabIndex: this.$props.tabIndex,
|
|
63
|
+
attrs: this.v3 ? undefined : {
|
|
64
|
+
tabIndex: this.$props.tabIndex,
|
|
65
|
+
role: "button",
|
|
66
|
+
"aria-disabled": this.$props.disabled
|
|
67
|
+
},
|
|
68
|
+
"class": this.wrapperClass,
|
|
69
|
+
role: "button",
|
|
70
|
+
"aria-disabled": this.$props.disabled,
|
|
71
|
+
onClick: this.onClick,
|
|
72
|
+
on: this.v3 ? undefined : {
|
|
73
|
+
"click": this.onClick
|
|
74
|
+
}
|
|
75
|
+
}, [h("span", {
|
|
76
|
+
"class": "k-actionsheet-action"
|
|
77
|
+
}, [this.$props.content ? itemContent : [(this.$props.icon || this.$props.svgIcon) && h("span", {
|
|
78
|
+
className: "k-icon-wrap",
|
|
79
|
+
attrs: this.v3 ? undefined : {
|
|
80
|
+
className: "k-icon-wrap"
|
|
81
|
+
}
|
|
82
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
83
|
+
name: this.$props.icon,
|
|
84
|
+
attrs: this.v3 ? undefined : {
|
|
85
|
+
name: this.$props.icon,
|
|
86
|
+
icon: this.$props.svgIcon,
|
|
87
|
+
size: this.iconSize
|
|
88
|
+
},
|
|
89
|
+
icon: this.$props.svgIcon,
|
|
90
|
+
"class": 'k-actionsheet-item-icon',
|
|
91
|
+
size: this.iconSize,
|
|
92
|
+
style: {
|
|
93
|
+
color: this.iconColor
|
|
94
|
+
}
|
|
95
|
+
})]), (this.$props.title || this.$props.description) && h("span", {
|
|
96
|
+
"class": "k-actionsheet-item-text"
|
|
97
|
+
}, [this.$props.title && h("span", {
|
|
98
|
+
"class": "k-actionsheet-item-title"
|
|
99
|
+
}, [this.$props.title]), this.$props.description && h("span", {
|
|
100
|
+
"class": "k-actionsheet-item-description"
|
|
101
|
+
}, [this.$props.description])])]])]);
|
|
102
|
+
},
|
|
103
|
+
methods: {
|
|
104
|
+
onClick: function onClick(event) {
|
|
105
|
+
this.$emit('click', {
|
|
106
|
+
syntheticEvent: event,
|
|
107
|
+
item: this.$props.item,
|
|
108
|
+
title: this.$props.title
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
exports.ActionSheetItemVue2 = ActionSheetItemVue2;
|
|
114
|
+
/**
|
|
115
|
+
* @hidden
|
|
116
|
+
*/
|
|
117
|
+
var ActionSheetItem = ActionSheetItemVue2;
|
|
118
|
+
exports.ActionSheetItem = ActionSheetItem;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the props of the Kendo UI for Vue ActionSheetItem.
|
|
4
|
+
*/
|
|
5
|
+
export interface ActionSheetItemProps {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies additional text rendered under the item's title.
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies if the ActionSheet item is initially disabled.
|
|
12
|
+
*/
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Defines the group of the item. Items can be segregated in two groups - `top` and `bottom`.
|
|
16
|
+
* Each specifying whether the ActionSheet item will be rendered over the separator or under it.
|
|
17
|
+
*/
|
|
18
|
+
group?: 'top' | 'bottom' | string;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the icon rendered inside the ActionSheet item.
|
|
21
|
+
*/
|
|
22
|
+
icon?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Defines an SVGIcon to be rendered inside the ActionSheet item.
|
|
25
|
+
*/
|
|
26
|
+
svgIcon?: SVGIcon;
|
|
27
|
+
/**
|
|
28
|
+
* Defines an size of the icon or SVGIcon that is rendered inside the ActionSheet item.
|
|
29
|
+
*/
|
|
30
|
+
iconSize?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Defines the color of the icon or SVGIcon that is rendered inside the ActionSheet item.
|
|
33
|
+
*/
|
|
34
|
+
iconColor?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the text content of the ActionSheet item.
|
|
37
|
+
*/
|
|
38
|
+
title?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
item?: object;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the content of the ActionSheetItem either as string that is pointing to a slot template of as render function.
|
|
45
|
+
*/
|
|
46
|
+
content?: string | Function;
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
onClick?: (event: {
|
|
51
|
+
event: any;
|
|
52
|
+
title?: string;
|
|
53
|
+
}) => void;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
onKeydown?: (event: any, title: string | undefined, id: number | undefined) => void;
|
|
58
|
+
/**
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
id?: number;
|
|
62
|
+
}
|
|
@@ -153,6 +153,7 @@ var DrawerNavigationVue2 = {
|
|
|
153
153
|
index: index,
|
|
154
154
|
text: element.text,
|
|
155
155
|
icon: element.icon,
|
|
156
|
+
svgIcon: element.svgIcon,
|
|
156
157
|
separator: element.separator,
|
|
157
158
|
selected: element.selected,
|
|
158
159
|
targetItem: element.targetItem
|
|
@@ -163,6 +164,7 @@ var DrawerNavigationVue2 = {
|
|
|
163
164
|
},
|
|
164
165
|
text: element.text,
|
|
165
166
|
icon: element.icon,
|
|
167
|
+
svgIcon: element.svgIcon,
|
|
166
168
|
separator: element.separator,
|
|
167
169
|
selected: element.selected,
|
|
168
170
|
targetItem: element.targetItem
|
package/dist/npm/main.d.ts
CHANGED
|
@@ -67,5 +67,11 @@ export * from './gridlayout/interfaces/GridLayoutProps';
|
|
|
67
67
|
export * from './gridlayout/interfaces/GridLayoutItemProps';
|
|
68
68
|
export * from './gridlayout/interfaces/GridLayoutRowProps';
|
|
69
69
|
export * from './gridlayout/interfaces/GridLayoutColumnProps';
|
|
70
|
+
export * from './actionsheet/ActionSheet';
|
|
71
|
+
export * from './actionsheet/ActionSheetItem';
|
|
72
|
+
export * from './actionsheet/interfaces/ActionSheetItemProps';
|
|
73
|
+
export * from './actionsheet/ActionSheetHeader';
|
|
74
|
+
export * from './actionsheet/ActionSheetContent';
|
|
75
|
+
export * from './actionsheet/ActionSheetFooter';
|
|
70
76
|
export * from './stacklayout/StackLayout';
|
|
71
77
|
export * from './stacklayout/StackLayoutProps';
|
package/dist/npm/main.js
CHANGED
|
@@ -83,5 +83,11 @@ __exportStar(require("./gridlayout/interfaces/GridLayoutProps"), exports);
|
|
|
83
83
|
__exportStar(require("./gridlayout/interfaces/GridLayoutItemProps"), exports);
|
|
84
84
|
__exportStar(require("./gridlayout/interfaces/GridLayoutRowProps"), exports);
|
|
85
85
|
__exportStar(require("./gridlayout/interfaces/GridLayoutColumnProps"), exports);
|
|
86
|
+
__exportStar(require("./actionsheet/ActionSheet"), exports);
|
|
87
|
+
__exportStar(require("./actionsheet/ActionSheetItem"), exports);
|
|
88
|
+
__exportStar(require("./actionsheet/interfaces/ActionSheetItemProps"), exports);
|
|
89
|
+
__exportStar(require("./actionsheet/ActionSheetHeader"), exports);
|
|
90
|
+
__exportStar(require("./actionsheet/ActionSheetContent"), exports);
|
|
91
|
+
__exportStar(require("./actionsheet/ActionSheetFooter"), exports);
|
|
86
92
|
__exportStar(require("./stacklayout/StackLayout"), exports);
|
|
87
93
|
__exportStar(require("./stacklayout/StackLayoutProps"), exports);
|
|
@@ -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: 1689074785,
|
|
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
|
};
|
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.11.
|
|
4
|
+
"version": "3.11.1-dev.202307111135",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"vue": "^2.6.12 || ^3.0.2"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@progress/kendo-vue-animation": "3.11.
|
|
49
|
-
"@progress/kendo-vue-common": "3.11.
|
|
50
|
-
"@progress/kendo-vue-popup": "3.11.
|
|
48
|
+
"@progress/kendo-vue-animation": "3.11.1-dev.202307111135",
|
|
49
|
+
"@progress/kendo-vue-common": "3.11.1-dev.202307111135",
|
|
50
|
+
"@progress/kendo-vue-popup": "3.11.1-dev.202307111135"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@progress/kendo-data-query": "^1.5.0",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"@progress/kendo-drawing": "^1.8.0",
|
|
56
56
|
"@progress/kendo-licensing": "^1.3.0",
|
|
57
57
|
"@progress/kendo-svg-icons": "^1.0.0",
|
|
58
|
-
"@progress/kendo-vue-buttons": "3.11.
|
|
59
|
-
"@progress/kendo-vue-charts": "3.11.
|
|
60
|
-
"@progress/kendo-vue-dateinputs": "3.11.
|
|
61
|
-
"@progress/kendo-vue-dropdowns": "3.11.
|
|
62
|
-
"@progress/kendo-vue-grid": "3.11.
|
|
63
|
-
"@progress/kendo-vue-indicators": "3.11.
|
|
64
|
-
"@progress/kendo-vue-inputs": "3.11.
|
|
65
|
-
"@progress/kendo-vue-intl": "3.11.
|
|
66
|
-
"@progress/kendo-vue-progressbars": "3.11.
|
|
58
|
+
"@progress/kendo-vue-buttons": "3.11.1-dev.202307111135",
|
|
59
|
+
"@progress/kendo-vue-charts": "3.11.1-dev.202307111135",
|
|
60
|
+
"@progress/kendo-vue-dateinputs": "3.11.1-dev.202307111135",
|
|
61
|
+
"@progress/kendo-vue-dropdowns": "3.11.1-dev.202307111135",
|
|
62
|
+
"@progress/kendo-vue-grid": "3.11.1-dev.202307111135",
|
|
63
|
+
"@progress/kendo-vue-indicators": "3.11.1-dev.202307111135",
|
|
64
|
+
"@progress/kendo-vue-inputs": "3.11.1-dev.202307111135",
|
|
65
|
+
"@progress/kendo-vue-intl": "3.11.1-dev.202307111135",
|
|
66
|
+
"@progress/kendo-vue-progressbars": "3.11.1-dev.202307111135"
|
|
67
67
|
},
|
|
68
68
|
"@progress": {
|
|
69
69
|
"friendlyName": "Layouts",
|