@progress/kendo-vue-scheduler 3.0.9 → 3.1.0-dev.202203011833
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-scheduler.js +1 -1
- package/dist/es/Scheduler.js +4 -0
- package/dist/es/components/header/view-selector/ViewSelectorList.js +9 -2
- package/dist/es/context/SchedulerResourceIteratorContext.d.ts +1 -0
- package/dist/es/context/SchedulerResourceIteratorContext.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/views/common/VerticalResourceIterator.js +22 -13
- package/dist/npm/Scheduler.js +4 -0
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +9 -2
- package/dist/npm/context/SchedulerResourceIteratorContext.d.ts +1 -0
- package/dist/npm/context/SchedulerResourceIteratorContext.js +2 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/views/common/VerticalResourceIterator.js +22 -13
- package/package.json +12 -12
package/dist/es/Scheduler.js
CHANGED
|
@@ -173,6 +173,10 @@ var SchedulerVue2 = {
|
|
|
173
173
|
watch: {
|
|
174
174
|
view: function view(newName) {
|
|
175
175
|
this.updatePassedState(newName);
|
|
176
|
+
},
|
|
177
|
+
timezone: function timezone(newName) {
|
|
178
|
+
this.ks.timezone = newName;
|
|
179
|
+
this.updatePassedState();
|
|
176
180
|
}
|
|
177
181
|
},
|
|
178
182
|
// @ts-ignore
|
|
@@ -78,7 +78,8 @@ var ViewSelectorListVue2 = {
|
|
|
78
78
|
|
|
79
79
|
return h("div", {
|
|
80
80
|
"class": "k-scheduler-views-wrapper"
|
|
81
|
-
}, [activeView && this.media === 'mobile' &&
|
|
81
|
+
}, [activeView && this.media === 'mobile' && // @ts-ignore function children
|
|
82
|
+
h(DropDownButton, {
|
|
82
83
|
"class": "k-views-dropdown",
|
|
83
84
|
onItemclick: this.handleItemClick,
|
|
84
85
|
on: this.v3 ? undefined : {
|
|
@@ -113,7 +114,13 @@ var ViewSelectorListVue2 = {
|
|
|
113
114
|
});
|
|
114
115
|
}, this),
|
|
115
116
|
text: activeView.title || activeView.name
|
|
116
|
-
}
|
|
117
|
+
}, this.v3 ? function () {
|
|
118
|
+
return [h("span", {
|
|
119
|
+
"class": "k-icon k-i-arrow-60-down"
|
|
120
|
+
})];
|
|
121
|
+
} : [h("span", {
|
|
122
|
+
"class": "k-icon k-i-arrow-60-down"
|
|
123
|
+
})]), this.media === 'desktop' && // @ts-ignore function children
|
|
117
124
|
h(ButtonGroup, {
|
|
118
125
|
"class": "k-scheduler-views"
|
|
119
126
|
}, this.v3 ? function () {
|
|
@@ -8,6 +8,7 @@ var SchedulerResourceIteratorContextVue2 = {
|
|
|
8
8
|
name: 'KendoSchedulerResourceIteratorContext',
|
|
9
9
|
inheritAttrs: false,
|
|
10
10
|
props: {
|
|
11
|
+
noWrap: Boolean,
|
|
11
12
|
resource: {
|
|
12
13
|
type: Object,
|
|
13
14
|
default: function _default() {
|
|
@@ -43,7 +44,7 @@ var SchedulerResourceIteratorContextVue2 = {
|
|
|
43
44
|
render: function render(createElement) {
|
|
44
45
|
var h = gh || createElement;
|
|
45
46
|
var defaultSlot = getDefaultSlots(this);
|
|
46
|
-
return h("div", {
|
|
47
|
+
return this.$props.noWrap ? defaultSlot[0] : h("div", {
|
|
47
48
|
"class": "k-scheduler-cell k-group-cell"
|
|
48
49
|
}, [defaultSlot]);
|
|
49
50
|
}
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-scheduler',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1646159364,
|
|
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
|
};
|
|
@@ -64,11 +64,13 @@ var VerticalResourceIteratorVue2 = {
|
|
|
64
64
|
if (args.depth === args.resources.length || !hasGroups) {
|
|
65
65
|
return (// @ts-ignore function children
|
|
66
66
|
h(SchedulerResourceIteratorContext, {
|
|
67
|
-
|
|
67
|
+
noWrap: true,
|
|
68
68
|
attrs: this.v3 ? undefined : {
|
|
69
|
+
noWrap: true,
|
|
69
70
|
resource: args.resources[args.depth],
|
|
70
71
|
groupIndex: hasGroups ? args.groupIndex : 0
|
|
71
72
|
},
|
|
73
|
+
resource: args.resources[args.depth],
|
|
72
74
|
groupIndex: hasGroups ? args.groupIndex : 0
|
|
73
75
|
}, this.v3 ? function () {
|
|
74
76
|
return [children];
|
|
@@ -146,11 +148,13 @@ var VerticalResourceIteratorVue2 = {
|
|
|
146
148
|
if (args.depth === args.resources.length || !hasGroups) {
|
|
147
149
|
return (// @ts-ignore function children
|
|
148
150
|
h(SchedulerResourceIteratorContext, {
|
|
149
|
-
|
|
151
|
+
noWrap: true,
|
|
150
152
|
attrs: this.v3 ? undefined : {
|
|
153
|
+
noWrap: true,
|
|
151
154
|
resource: args.resources[args.depth],
|
|
152
155
|
groupIndex: hasGroups ? args.groupIndex : undefined
|
|
153
156
|
},
|
|
157
|
+
resource: args.resources[args.depth],
|
|
154
158
|
groupIndex: hasGroups ? args.groupIndex : undefined
|
|
155
159
|
}, this.v3 ? function () {
|
|
156
160
|
return [children];
|
|
@@ -186,19 +190,24 @@ var VerticalResourceIteratorVue2 = {
|
|
|
186
190
|
|
|
187
191
|
var cellChildren = function cellChildren(children, currentResources, currentGroupIndex) {
|
|
188
192
|
var hasGroups = currentResources.length > 0;
|
|
189
|
-
return
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
return (// @ts-ignore function children
|
|
194
|
+
h(SchedulerResourceIteratorContext, {
|
|
195
|
+
noWrap: true,
|
|
196
|
+
attrs: this.v3 ? undefined : {
|
|
197
|
+
noWrap: true,
|
|
198
|
+
resource: currentResources[currentGroupIndex],
|
|
199
|
+
groupIndex: hasGroups ? currentGroupIndex : undefined
|
|
200
|
+
},
|
|
195
201
|
resource: currentResources[currentGroupIndex],
|
|
196
202
|
groupIndex: hasGroups ? currentGroupIndex : undefined
|
|
197
|
-
},
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
203
|
+
}, this.v3 ? function () {
|
|
204
|
+
return [h("div", {
|
|
205
|
+
"class": "k-scheduler-cell k-group-content"
|
|
206
|
+
}, [children])];
|
|
207
|
+
} : [h("div", {
|
|
208
|
+
"class": "k-scheduler-cell k-group-content"
|
|
209
|
+
}, [children])])
|
|
210
|
+
);
|
|
202
211
|
};
|
|
203
212
|
|
|
204
213
|
var cellPrefix = function cellPrefix(currentResources) {
|
package/dist/npm/Scheduler.js
CHANGED
|
@@ -199,6 +199,10 @@ var SchedulerVue2 = {
|
|
|
199
199
|
watch: {
|
|
200
200
|
view: function view(newName) {
|
|
201
201
|
this.updatePassedState(newName);
|
|
202
|
+
},
|
|
203
|
+
timezone: function timezone(newName) {
|
|
204
|
+
this.ks.timezone = newName;
|
|
205
|
+
this.updatePassedState();
|
|
202
206
|
}
|
|
203
207
|
},
|
|
204
208
|
// @ts-ignore
|
|
@@ -87,7 +87,8 @@ var ViewSelectorListVue2 = {
|
|
|
87
87
|
|
|
88
88
|
return h("div", {
|
|
89
89
|
"class": "k-scheduler-views-wrapper"
|
|
90
|
-
}, [activeView && this.media === 'mobile' &&
|
|
90
|
+
}, [activeView && this.media === 'mobile' && // @ts-ignore function children
|
|
91
|
+
h(kendo_vue_buttons_1.DropDownButton, {
|
|
91
92
|
"class": "k-views-dropdown",
|
|
92
93
|
onItemclick: this.handleItemClick,
|
|
93
94
|
on: this.v3 ? undefined : {
|
|
@@ -122,7 +123,13 @@ var ViewSelectorListVue2 = {
|
|
|
122
123
|
});
|
|
123
124
|
}, this),
|
|
124
125
|
text: activeView.title || activeView.name
|
|
125
|
-
}
|
|
126
|
+
}, this.v3 ? function () {
|
|
127
|
+
return [h("span", {
|
|
128
|
+
"class": "k-icon k-i-arrow-60-down"
|
|
129
|
+
})];
|
|
130
|
+
} : [h("span", {
|
|
131
|
+
"class": "k-icon k-i-arrow-60-down"
|
|
132
|
+
})]), this.media === 'desktop' && // @ts-ignore function children
|
|
126
133
|
h(kendo_vue_buttons_1.ButtonGroup, {
|
|
127
134
|
"class": "k-scheduler-views"
|
|
128
135
|
}, this.v3 ? function () {
|
|
@@ -17,6 +17,7 @@ var SchedulerResourceIteratorContextVue2 = {
|
|
|
17
17
|
name: 'KendoSchedulerResourceIteratorContext',
|
|
18
18
|
inheritAttrs: false,
|
|
19
19
|
props: {
|
|
20
|
+
noWrap: Boolean,
|
|
20
21
|
resource: {
|
|
21
22
|
type: Object,
|
|
22
23
|
default: function _default() {
|
|
@@ -52,7 +53,7 @@ var SchedulerResourceIteratorContextVue2 = {
|
|
|
52
53
|
render: function render(createElement) {
|
|
53
54
|
var h = gh || createElement;
|
|
54
55
|
var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
|
|
55
|
-
return h("div", {
|
|
56
|
+
return this.$props.noWrap ? defaultSlot[0] : h("div", {
|
|
56
57
|
"class": "k-scheduler-cell k-group-cell"
|
|
57
58
|
}, [defaultSlot]);
|
|
58
59
|
}
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-scheduler',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1646159364,
|
|
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
|
};
|
|
@@ -75,11 +75,13 @@ var VerticalResourceIteratorVue2 = {
|
|
|
75
75
|
if (args.depth === args.resources.length || !hasGroups) {
|
|
76
76
|
return (// @ts-ignore function children
|
|
77
77
|
h(SchedulerResourceIteratorContext_1.SchedulerResourceIteratorContext, {
|
|
78
|
-
|
|
78
|
+
noWrap: true,
|
|
79
79
|
attrs: this.v3 ? undefined : {
|
|
80
|
+
noWrap: true,
|
|
80
81
|
resource: args.resources[args.depth],
|
|
81
82
|
groupIndex: hasGroups ? args.groupIndex : 0
|
|
82
83
|
},
|
|
84
|
+
resource: args.resources[args.depth],
|
|
83
85
|
groupIndex: hasGroups ? args.groupIndex : 0
|
|
84
86
|
}, this.v3 ? function () {
|
|
85
87
|
return [children];
|
|
@@ -157,11 +159,13 @@ var VerticalResourceIteratorVue2 = {
|
|
|
157
159
|
if (args.depth === args.resources.length || !hasGroups) {
|
|
158
160
|
return (// @ts-ignore function children
|
|
159
161
|
h(SchedulerResourceIteratorContext_1.SchedulerResourceIteratorContext, {
|
|
160
|
-
|
|
162
|
+
noWrap: true,
|
|
161
163
|
attrs: this.v3 ? undefined : {
|
|
164
|
+
noWrap: true,
|
|
162
165
|
resource: args.resources[args.depth],
|
|
163
166
|
groupIndex: hasGroups ? args.groupIndex : undefined
|
|
164
167
|
},
|
|
168
|
+
resource: args.resources[args.depth],
|
|
165
169
|
groupIndex: hasGroups ? args.groupIndex : undefined
|
|
166
170
|
}, this.v3 ? function () {
|
|
167
171
|
return [children];
|
|
@@ -197,19 +201,24 @@ var VerticalResourceIteratorVue2 = {
|
|
|
197
201
|
|
|
198
202
|
var cellChildren = function cellChildren(children, currentResources, currentGroupIndex) {
|
|
199
203
|
var hasGroups = currentResources.length > 0;
|
|
200
|
-
return
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
return (// @ts-ignore function children
|
|
205
|
+
h(SchedulerResourceIteratorContext_1.SchedulerResourceIteratorContext, {
|
|
206
|
+
noWrap: true,
|
|
207
|
+
attrs: this.v3 ? undefined : {
|
|
208
|
+
noWrap: true,
|
|
209
|
+
resource: currentResources[currentGroupIndex],
|
|
210
|
+
groupIndex: hasGroups ? currentGroupIndex : undefined
|
|
211
|
+
},
|
|
206
212
|
resource: currentResources[currentGroupIndex],
|
|
207
213
|
groupIndex: hasGroups ? currentGroupIndex : undefined
|
|
208
|
-
},
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
214
|
+
}, this.v3 ? function () {
|
|
215
|
+
return [h("div", {
|
|
216
|
+
"class": "k-scheduler-cell k-group-content"
|
|
217
|
+
}, [children])];
|
|
218
|
+
} : [h("div", {
|
|
219
|
+
"class": "k-scheduler-cell k-group-content"
|
|
220
|
+
}, [children])])
|
|
221
|
+
);
|
|
213
222
|
};
|
|
214
223
|
|
|
215
224
|
var cellPrefix = function cellPrefix(currentResources) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-scheduler",
|
|
3
3
|
"description": "Kendo UI for Vue Scheduler package",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.1.0-dev.202203011833",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@progress/kendo-data-query": "^1.5.1",
|
|
44
44
|
"@progress/kendo-recurrence": "^1.0.1",
|
|
45
|
-
"@progress/kendo-vue-common": "3.0.
|
|
45
|
+
"@progress/kendo-vue-common": "3.1.0-dev.202203011833",
|
|
46
46
|
"@telerik/kendo-draggable": "^2.2.1"
|
|
47
47
|
},
|
|
48
48
|
"@progress": {
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"@progress/kendo-date-math": "^1.4.1",
|
|
59
59
|
"@progress/kendo-drawing": "^1.8.0",
|
|
60
60
|
"@progress/kendo-licensing": "^1.0.1",
|
|
61
|
-
"@progress/kendo-vue-buttons": "3.0.
|
|
62
|
-
"@progress/kendo-vue-dateinputs": "3.0.
|
|
63
|
-
"@progress/kendo-vue-dialogs": "3.0.
|
|
64
|
-
"@progress/kendo-vue-dropdowns": "3.0.
|
|
65
|
-
"@progress/kendo-vue-form": "3.0.
|
|
66
|
-
"@progress/kendo-vue-inputs": "3.0.
|
|
67
|
-
"@progress/kendo-vue-intl": "3.0.
|
|
68
|
-
"@progress/kendo-vue-labels": "3.0.
|
|
69
|
-
"@progress/kendo-vue-popup": "3.0.
|
|
70
|
-
"@progress/kendo-vue-progressbars": "3.0.
|
|
61
|
+
"@progress/kendo-vue-buttons": "3.1.0-dev.202203011833",
|
|
62
|
+
"@progress/kendo-vue-dateinputs": "3.1.0-dev.202203011833",
|
|
63
|
+
"@progress/kendo-vue-dialogs": "3.1.0-dev.202203011833",
|
|
64
|
+
"@progress/kendo-vue-dropdowns": "3.1.0-dev.202203011833",
|
|
65
|
+
"@progress/kendo-vue-form": "3.1.0-dev.202203011833",
|
|
66
|
+
"@progress/kendo-vue-inputs": "3.1.0-dev.202203011833",
|
|
67
|
+
"@progress/kendo-vue-intl": "3.1.0-dev.202203011833",
|
|
68
|
+
"@progress/kendo-vue-labels": "3.1.0-dev.202203011833",
|
|
69
|
+
"@progress/kendo-vue-popup": "3.1.0-dev.202203011833",
|
|
70
|
+
"@progress/kendo-vue-progressbars": "3.1.0-dev.202203011833",
|
|
71
71
|
"cldr-core": "36.0.0",
|
|
72
72
|
"cldr-dates-full": "36.0.0",
|
|
73
73
|
"cldr-numbers-full": "36.0.0"
|