@progress/kendo-vue-inputs 3.0.0-dev.202201171427 → 3.0.0-dev.202201180953

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.
@@ -528,12 +528,14 @@ var NumericTextBoxVue2 = {
528
528
  }
529
529
  }, [// @ts-ignore
530
530
  h(KButton, {
531
- icon: 'arrow-n',
531
+ tabIndex: -1,
532
532
  attrs: this.v3 ? undefined : {
533
+ tabIndex: -1,
533
534
  icon: 'arrow-n',
534
535
  "aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
535
536
  title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue])
536
537
  },
538
+ icon: 'arrow-n',
537
539
  "class": "k-spinner-increase",
538
540
  "aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
539
541
  title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
@@ -543,13 +545,15 @@ var NumericTextBoxVue2 = {
543
545
  }
544
546
  }), // @ts-ignore
545
547
  h(KButton, {
546
- "class": "k-spinner-decrease",
547
- icon: 'arrow-s',
548
+ tabIndex: -1,
548
549
  attrs: this.v3 ? undefined : {
550
+ tabIndex: -1,
549
551
  icon: 'arrow-s',
550
552
  "aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
551
553
  title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue])
552
554
  },
555
+ "class": "k-spinner-decrease",
556
+ icon: 'arrow-s',
553
557
  "aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
554
558
  title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
555
559
  onClick: this.decrease,
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-inputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1642428875,
8
+ publishDate: 1642498754,
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
  };
@@ -1,20 +1,4 @@
1
- var __assign = this && this.__assign || function () {
2
- __assign = Object.assign || function (t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
-
6
- for (var p in s) {
7
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
- }
9
- }
10
-
11
- return t;
12
- };
13
-
14
- return __assign.apply(this, arguments);
15
- }; // @ts-ignore
16
-
17
-
1
+ // @ts-ignore
18
2
  import * as Vue from 'vue';
19
3
  var allVue = Vue;
20
4
  var gh = allVue.h;
@@ -143,23 +127,12 @@ var SliderVue2 = {
143
127
  render: function render(createElement) {
144
128
  var _this = this;
145
129
 
146
- var _a, _b;
130
+ var _a;
147
131
 
148
132
  var h = gh || createElement;
149
133
  var lS = provideLocalizationService(this);
150
134
  var percentValue = (this.computedValue - this.$props.min) / (this.$props.max - this.$props.min) * 100;
151
135
  var defaultSlot = getDefaultSlots(this);
152
- var trackStyles = this.$props.vertical ? {
153
- marginTop: '0.5rem',
154
- marginBottom: '0.5rem'
155
- } : {
156
- marginLeft: '0.5rem',
157
- marginRight: '0.5rem'
158
- };
159
- var sliderItemsStyle = this.$props.vertical ? {
160
- paddingTop: 0,
161
- height: '100%'
162
- } : {};
163
136
  return h("div", {
164
137
  "aria-valuemin": this.$props.min,
165
138
  attrs: this.v3 ? undefined : {
@@ -199,14 +172,7 @@ var SliderVue2 = {
199
172
  'k-slider-vertical': this.$props.vertical
200
173
  }, this.$props.className)
201
174
  }, [h("div", {
202
- "class": classNames('k-slider-wrap', {
203
- 'k-slider-buttons': this.$props.buttons
204
- }),
205
- style: {
206
- display: 'flex',
207
- position: 'relative',
208
- flexDirection: this.$props.vertical ? 'column-reverse' : 'row'
209
- }
175
+ "class": classNames('k-slider-wrap')
210
176
  }, [this.$props.buttons && // @ts-ignore
211
177
  h(Button, {
212
178
  tabIndex: -1,
@@ -239,22 +205,13 @@ var SliderVue2 = {
239
205
  }, this.v3 ? function () {
240
206
  return [h("div", {
241
207
  "class": "k-slider-track-wrap",
242
- style: __assign({
243
- flexGrow: 1,
244
- position: 'relative',
208
+ style: {
245
209
  touchAction: 'none'
246
- }, trackStyles)
210
+ }
247
211
  }, [defaultSlot && h("ul", {
248
- "class": "k-reset k-slider-items",
249
- style: __assign({
250
- margin: 0
251
- }, sliderItemsStyle)
212
+ "class": "k-reset k-slider-items"
252
213
  }, [defaultSlot]), h("div", {
253
214
  "class": "k-slider-track",
254
- style: _this.$props.vertical ? {
255
- bottom: 0,
256
- height: '100%'
257
- } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = 0, _a.width = '100%', _a),
258
215
  ref: 'sliderTrack'
259
216
  }, [h("div", {
260
217
  "class": "k-slider-selection",
@@ -270,28 +227,19 @@ var SliderVue2 = {
270
227
  title: lS.toLanguageString(sliderDragTitle, messages[sliderDragTitle])
271
228
  },
272
229
  style: _this.$props.vertical ? {
273
- bottom: 'calc(' + percentValue + '% - 8px)',
230
+ bottom: percentValue + '%',
274
231
  zIndex: 1
275
- } : (_b = {}, _b[_this.currentDir === 'rtl' ? 'right' : 'left'] = 'calc(' + percentValue + '% - 8px)', _b.zIndex = 1, _b)
232
+ } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = percentValue + '%', _a.zIndex = 1, _a)
276
233
  })])])];
277
234
  } : [h("div", {
278
235
  "class": "k-slider-track-wrap",
279
- style: __assign({
280
- flexGrow: 1,
281
- position: 'relative',
236
+ style: {
282
237
  touchAction: 'none'
283
- }, trackStyles)
238
+ }
284
239
  }, [defaultSlot && h("ul", {
285
- "class": "k-reset k-slider-items",
286
- style: __assign({
287
- margin: 0
288
- }, sliderItemsStyle)
240
+ "class": "k-reset k-slider-items"
289
241
  }, [defaultSlot]), h("div", {
290
242
  "class": "k-slider-track",
291
- style: _this.$props.vertical ? {
292
- bottom: 0,
293
- height: '100%'
294
- } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = 0, _a.width = '100%', _a),
295
243
  ref: 'sliderTrack'
296
244
  }, [h("div", {
297
245
  "class": "k-slider-selection",
@@ -307,9 +255,9 @@ var SliderVue2 = {
307
255
  title: lS.toLanguageString(sliderDragTitle, messages[sliderDragTitle])
308
256
  },
309
257
  style: _this.$props.vertical ? {
310
- bottom: 'calc(' + percentValue + '% - 8px)',
258
+ bottom: percentValue + '%',
311
259
  zIndex: 1
312
- } : (_b = {}, _b[_this.currentDir === 'rtl' ? 'right' : 'left'] = 'calc(' + percentValue + '% - 8px)', _b.zIndex = 1, _b)
260
+ } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = percentValue + '%', _a.zIndex = 1, _a)
313
261
  })])])]), this.$props.buttons && // @ts-ignore
314
262
  h(Button, {
315
263
  tabIndex: -1,
@@ -75,7 +75,7 @@ var SliderLabelVue2 = {
75
75
  bottom: position + "%",
76
76
  height: '1px',
77
77
  width: '100%'
78
- } : (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = position + "%", _a.width = '1px', _a);
78
+ } : (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = position + "%", _a.width = '1px', _a.height = '100%', _a);
79
79
  return h("li", {
80
80
  ref: 'sliderLabelRef',
81
81
  role: "presentation",
@@ -543,12 +543,14 @@ var NumericTextBoxVue2 = {
543
543
  }
544
544
  }, [// @ts-ignore
545
545
  h(kendo_vue_buttons_1.Button, {
546
- icon: 'arrow-n',
546
+ tabIndex: -1,
547
547
  attrs: this.v3 ? undefined : {
548
+ tabIndex: -1,
548
549
  icon: 'arrow-n',
549
550
  "aria-label": localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue]),
550
551
  title: localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue])
551
552
  },
553
+ icon: 'arrow-n',
552
554
  "class": "k-spinner-increase",
553
555
  "aria-label": localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue]),
554
556
  title: localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue]),
@@ -558,13 +560,15 @@ var NumericTextBoxVue2 = {
558
560
  }
559
561
  }), // @ts-ignore
560
562
  h(kendo_vue_buttons_1.Button, {
561
- "class": "k-spinner-decrease",
562
- icon: 'arrow-s',
563
+ tabIndex: -1,
563
564
  attrs: this.v3 ? undefined : {
565
+ tabIndex: -1,
564
566
  icon: 'arrow-s',
565
567
  "aria-label": localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue]),
566
568
  title: localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue])
567
569
  },
570
+ "class": "k-spinner-decrease",
571
+ icon: 'arrow-s',
568
572
  "aria-label": localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue]),
569
573
  title: localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue]),
570
574
  onClick: this.decrease,
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-inputs',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1642428875,
11
+ publishDate: 1642498754,
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
  };
@@ -1,21 +1,5 @@
1
1
  "use strict";
2
2
 
3
- var __assign = undefined && undefined.__assign || function () {
4
- __assign = Object.assign || function (t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
-
8
- for (var p in s) {
9
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
10
- }
11
- }
12
-
13
- return t;
14
- };
15
-
16
- return __assign.apply(this, arguments);
17
- };
18
-
19
3
  Object.defineProperty(exports, "__esModule", {
20
4
  value: true
21
5
  });
@@ -158,23 +142,12 @@ var SliderVue2 = {
158
142
  render: function render(createElement) {
159
143
  var _this = this;
160
144
 
161
- var _a, _b;
145
+ var _a;
162
146
 
163
147
  var h = gh || createElement;
164
148
  var lS = kendo_vue_intl_1.provideLocalizationService(this);
165
149
  var percentValue = (this.computedValue - this.$props.min) / (this.$props.max - this.$props.min) * 100;
166
150
  var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
167
- var trackStyles = this.$props.vertical ? {
168
- marginTop: '0.5rem',
169
- marginBottom: '0.5rem'
170
- } : {
171
- marginLeft: '0.5rem',
172
- marginRight: '0.5rem'
173
- };
174
- var sliderItemsStyle = this.$props.vertical ? {
175
- paddingTop: 0,
176
- height: '100%'
177
- } : {};
178
151
  return h("div", {
179
152
  "aria-valuemin": this.$props.min,
180
153
  attrs: this.v3 ? undefined : {
@@ -214,14 +187,7 @@ var SliderVue2 = {
214
187
  'k-slider-vertical': this.$props.vertical
215
188
  }, this.$props.className)
216
189
  }, [h("div", {
217
- "class": kendo_vue_common_2.classNames('k-slider-wrap', {
218
- 'k-slider-buttons': this.$props.buttons
219
- }),
220
- style: {
221
- display: 'flex',
222
- position: 'relative',
223
- flexDirection: this.$props.vertical ? 'column-reverse' : 'row'
224
- }
190
+ "class": kendo_vue_common_2.classNames('k-slider-wrap')
225
191
  }, [this.$props.buttons && // @ts-ignore
226
192
  h(kendo_vue_buttons_1.Button, {
227
193
  tabIndex: -1,
@@ -254,22 +220,13 @@ var SliderVue2 = {
254
220
  }, this.v3 ? function () {
255
221
  return [h("div", {
256
222
  "class": "k-slider-track-wrap",
257
- style: __assign({
258
- flexGrow: 1,
259
- position: 'relative',
223
+ style: {
260
224
  touchAction: 'none'
261
- }, trackStyles)
225
+ }
262
226
  }, [defaultSlot && h("ul", {
263
- "class": "k-reset k-slider-items",
264
- style: __assign({
265
- margin: 0
266
- }, sliderItemsStyle)
227
+ "class": "k-reset k-slider-items"
267
228
  }, [defaultSlot]), h("div", {
268
229
  "class": "k-slider-track",
269
- style: _this.$props.vertical ? {
270
- bottom: 0,
271
- height: '100%'
272
- } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = 0, _a.width = '100%', _a),
273
230
  ref: 'sliderTrack'
274
231
  }, [h("div", {
275
232
  "class": "k-slider-selection",
@@ -285,28 +242,19 @@ var SliderVue2 = {
285
242
  title: lS.toLanguageString(messages_1.sliderDragTitle, messages_1.messages[messages_1.sliderDragTitle])
286
243
  },
287
244
  style: _this.$props.vertical ? {
288
- bottom: 'calc(' + percentValue + '% - 8px)',
245
+ bottom: percentValue + '%',
289
246
  zIndex: 1
290
- } : (_b = {}, _b[_this.currentDir === 'rtl' ? 'right' : 'left'] = 'calc(' + percentValue + '% - 8px)', _b.zIndex = 1, _b)
247
+ } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = percentValue + '%', _a.zIndex = 1, _a)
291
248
  })])])];
292
249
  } : [h("div", {
293
250
  "class": "k-slider-track-wrap",
294
- style: __assign({
295
- flexGrow: 1,
296
- position: 'relative',
251
+ style: {
297
252
  touchAction: 'none'
298
- }, trackStyles)
253
+ }
299
254
  }, [defaultSlot && h("ul", {
300
- "class": "k-reset k-slider-items",
301
- style: __assign({
302
- margin: 0
303
- }, sliderItemsStyle)
255
+ "class": "k-reset k-slider-items"
304
256
  }, [defaultSlot]), h("div", {
305
257
  "class": "k-slider-track",
306
- style: _this.$props.vertical ? {
307
- bottom: 0,
308
- height: '100%'
309
- } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = 0, _a.width = '100%', _a),
310
258
  ref: 'sliderTrack'
311
259
  }, [h("div", {
312
260
  "class": "k-slider-selection",
@@ -322,9 +270,9 @@ var SliderVue2 = {
322
270
  title: lS.toLanguageString(messages_1.sliderDragTitle, messages_1.messages[messages_1.sliderDragTitle])
323
271
  },
324
272
  style: _this.$props.vertical ? {
325
- bottom: 'calc(' + percentValue + '% - 8px)',
273
+ bottom: percentValue + '%',
326
274
  zIndex: 1
327
- } : (_b = {}, _b[_this.currentDir === 'rtl' ? 'right' : 'left'] = 'calc(' + percentValue + '% - 8px)', _b.zIndex = 1, _b)
275
+ } : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = percentValue + '%', _a.zIndex = 1, _a)
328
276
  })])])]), this.$props.buttons && // @ts-ignore
329
277
  h(kendo_vue_buttons_1.Button, {
330
278
  tabIndex: -1,
@@ -84,7 +84,7 @@ var SliderLabelVue2 = {
84
84
  bottom: position + "%",
85
85
  height: '1px',
86
86
  width: '100%'
87
- } : (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = position + "%", _a.width = '1px', _a);
87
+ } : (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = position + "%", _a.width = '1px', _a.height = '100%', _a);
88
88
  return h("li", {
89
89
  ref: 'sliderLabelRef',
90
90
  role: "presentation",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-inputs",
3
3
  "description": "Kendo UI for Vue Input package",
4
- "version": "3.0.0-dev.202201171427",
4
+ "version": "3.0.0-dev.202201180953",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -38,21 +38,21 @@
38
38
  "vue": "^2.6.12 || ^3.0.2"
39
39
  },
40
40
  "dependencies": {
41
- "@progress/kendo-vue-buttons": "3.0.0-dev.202201171427",
42
- "@progress/kendo-vue-common": "3.0.0-dev.202201171427",
43
- "@progress/kendo-vue-labels": "3.0.0-dev.202201171427",
44
- "@progress/kendo-vue-popup": "3.0.0-dev.202201171427"
41
+ "@progress/kendo-vue-buttons": "3.0.0-dev.202201180953",
42
+ "@progress/kendo-vue-common": "3.0.0-dev.202201180953",
43
+ "@progress/kendo-vue-labels": "3.0.0-dev.202201180953",
44
+ "@progress/kendo-vue-popup": "3.0.0-dev.202201180953"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@progress/kendo-data-query": "^1.5.5",
48
48
  "@progress/kendo-date-math": "^1.5.4",
49
49
  "@progress/kendo-drawing": "^1.8.0",
50
50
  "@progress/kendo-licensing": "^1.1.0",
51
- "@progress/kendo-vue-buttons": "3.0.0-dev.202201171427",
52
- "@progress/kendo-vue-form": "3.0.0-dev.202201171427",
53
- "@progress/kendo-vue-intl": "3.0.0-dev.202201171427",
54
- "@progress/kendo-vue-labels": "3.0.0-dev.202201171427",
55
- "@progress/kendo-vue-tooltip": "3.0.0-dev.202201171427",
51
+ "@progress/kendo-vue-buttons": "3.0.0-dev.202201180953",
52
+ "@progress/kendo-vue-form": "3.0.0-dev.202201180953",
53
+ "@progress/kendo-vue-intl": "3.0.0-dev.202201180953",
54
+ "@progress/kendo-vue-labels": "3.0.0-dev.202201180953",
55
+ "@progress/kendo-vue-tooltip": "3.0.0-dev.202201180953",
56
56
  "cldr-core": "^34.0.0",
57
57
  "cldr-dates-full": "^34.0.0",
58
58
  "cldr-numbers-full": "^34.0.0"