@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.
@@ -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' && h(DropDownButton, {
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
- }), this.media === 'desktop' && // @ts-ignore function children
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 () {
@@ -5,6 +5,7 @@ declare type DefaultMethods<V> = {
5
5
  };
6
6
  /** @hidden */
7
7
  export interface SchedulerResourceIteratorContextProps {
8
+ noWrap: boolean;
8
9
  resource: any;
9
10
  groupIndex: number;
10
11
  }
@@ -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: 1646142190,
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
- resource: args.resources[args.depth],
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
- resource: args.resources[args.depth],
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 h("div", {
190
- "class": "k-scheduler-cell k-group-content"
191
- }, [// @ts-ignore function children
192
- h(SchedulerResourceIteratorContext, {
193
- resource: currentResources[currentGroupIndex],
194
- attrs: this.v3 ? undefined : {
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
- groupIndex: hasGroups ? currentGroupIndex : undefined
199
- }, this.v3 ? function () {
200
- return [children];
201
- } : [children])]);
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) {
@@ -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' && h(kendo_vue_buttons_1.DropDownButton, {
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
- }), this.media === 'desktop' && // @ts-ignore function children
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 () {
@@ -5,6 +5,7 @@ declare type DefaultMethods<V> = {
5
5
  };
6
6
  /** @hidden */
7
7
  export interface SchedulerResourceIteratorContextProps {
8
+ noWrap: boolean;
8
9
  resource: any;
9
10
  groupIndex: number;
10
11
  }
@@ -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: 1646142190,
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
- resource: args.resources[args.depth],
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
- resource: args.resources[args.depth],
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 h("div", {
201
- "class": "k-scheduler-cell k-group-content"
202
- }, [// @ts-ignore function children
203
- h(SchedulerResourceIteratorContext_1.SchedulerResourceIteratorContext, {
204
- resource: currentResources[currentGroupIndex],
205
- attrs: this.v3 ? undefined : {
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
- groupIndex: hasGroups ? currentGroupIndex : undefined
210
- }, this.v3 ? function () {
211
- return [children];
212
- } : [children])]);
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.9",
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.9",
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.9",
62
- "@progress/kendo-vue-dateinputs": "3.0.9",
63
- "@progress/kendo-vue-dialogs": "3.0.9",
64
- "@progress/kendo-vue-dropdowns": "3.0.9",
65
- "@progress/kendo-vue-form": "3.0.9",
66
- "@progress/kendo-vue-inputs": "3.0.9",
67
- "@progress/kendo-vue-intl": "3.0.9",
68
- "@progress/kendo-vue-labels": "3.0.9",
69
- "@progress/kendo-vue-popup": "3.0.9",
70
- "@progress/kendo-vue-progressbars": "3.0.9",
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"