@progress/kendo-vue-inputs 3.0.0-dev.202201170830 → 3.0.0-dev.202201181632
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-inputs.js +1 -1
- package/dist/es/input/Input.js +2 -5
- package/dist/es/maskedtextbox/MaskedTextBox.js +3 -1
- package/dist/es/numerictextbox/NumericTextBox.js +7 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slider/Slider.js +13 -65
- package/dist/es/slider/SliderLabel.js +1 -1
- package/dist/npm/input/Input.js +2 -5
- package/dist/npm/maskedtextbox/MaskedTextBox.js +3 -1
- package/dist/npm/numerictextbox/NumericTextBox.js +7 -3
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slider/Slider.js +12 -64
- package/dist/npm/slider/SliderLabel.js +1 -1
- package/package.json +10 -10
package/dist/es/input/Input.js
CHANGED
|
@@ -139,19 +139,16 @@ var InputVue2 = {
|
|
|
139
139
|
var _a = this.$props,
|
|
140
140
|
label = _a.label,
|
|
141
141
|
id = _a.id,
|
|
142
|
-
required = _a.required
|
|
143
|
-
validationMessage = _a.validationMessage;
|
|
142
|
+
required = _a.required;
|
|
144
143
|
var inputId = id || this.$data.inputId;
|
|
145
144
|
var textbox = h('input', __assign(__assign({
|
|
146
145
|
domProps: this.v3 ? null : __assign(__assign({}, this.$attrs), {
|
|
147
146
|
placeholder: this.$props.placeholder,
|
|
148
147
|
id: inputId,
|
|
149
148
|
required: required,
|
|
150
|
-
value: this.computedValue
|
|
151
|
-
validationMessage: validationMessage
|
|
149
|
+
value: this.computedValue
|
|
152
150
|
})
|
|
153
151
|
}, this.$attrs), {
|
|
154
|
-
validationMessage: validationMessage,
|
|
155
152
|
placeholder: this.$props.placeholder,
|
|
156
153
|
id: inputId,
|
|
157
154
|
required: required,
|
|
@@ -373,7 +373,8 @@ var MaskedTextBoxVue2 = {
|
|
|
373
373
|
title: this.$props.title,
|
|
374
374
|
disabled: this.$props.disabled || undefined,
|
|
375
375
|
readOnly: this.$props.readonly || undefined,
|
|
376
|
-
placeholder: this.$props.placeholder
|
|
376
|
+
placeholder: this.$props.placeholder,
|
|
377
|
+
required: this.$props.required
|
|
377
378
|
},
|
|
378
379
|
autoComplete: "off",
|
|
379
380
|
autoCorrect: "off",
|
|
@@ -394,6 +395,7 @@ var MaskedTextBoxVue2 = {
|
|
|
394
395
|
disabled: this.$props.disabled || undefined,
|
|
395
396
|
readOnly: this.$props.readonly || undefined,
|
|
396
397
|
placeholder: this.$props.placeholder,
|
|
398
|
+
required: this.$props.required,
|
|
397
399
|
ref: this.v3 ? function (el) {
|
|
398
400
|
_this.inputRef = el;
|
|
399
401
|
} : 'input',
|
|
@@ -528,12 +528,14 @@ var NumericTextBoxVue2 = {
|
|
|
528
528
|
}
|
|
529
529
|
}, [// @ts-ignore
|
|
530
530
|
h(KButton, {
|
|
531
|
-
|
|
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
|
-
|
|
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:
|
|
8
|
+
publishDate: 1642522814,
|
|
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
|
};
|
package/dist/es/slider/Slider.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
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
|
|
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:
|
|
243
|
-
flexGrow: 1,
|
|
244
|
-
position: 'relative',
|
|
208
|
+
style: {
|
|
245
209
|
touchAction: 'none'
|
|
246
|
-
}
|
|
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:
|
|
230
|
+
bottom: percentValue + '%',
|
|
274
231
|
zIndex: 1
|
|
275
|
-
} : (
|
|
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:
|
|
280
|
-
flexGrow: 1,
|
|
281
|
-
position: 'relative',
|
|
236
|
+
style: {
|
|
282
237
|
touchAction: 'none'
|
|
283
|
-
}
|
|
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:
|
|
258
|
+
bottom: percentValue + '%',
|
|
311
259
|
zIndex: 1
|
|
312
|
-
} : (
|
|
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",
|
package/dist/npm/input/Input.js
CHANGED
|
@@ -150,19 +150,16 @@ var InputVue2 = {
|
|
|
150
150
|
var _a = this.$props,
|
|
151
151
|
label = _a.label,
|
|
152
152
|
id = _a.id,
|
|
153
|
-
required = _a.required
|
|
154
|
-
validationMessage = _a.validationMessage;
|
|
153
|
+
required = _a.required;
|
|
155
154
|
var inputId = id || this.$data.inputId;
|
|
156
155
|
var textbox = h('input', __assign(__assign({
|
|
157
156
|
domProps: this.v3 ? null : __assign(__assign({}, this.$attrs), {
|
|
158
157
|
placeholder: this.$props.placeholder,
|
|
159
158
|
id: inputId,
|
|
160
159
|
required: required,
|
|
161
|
-
value: this.computedValue
|
|
162
|
-
validationMessage: validationMessage
|
|
160
|
+
value: this.computedValue
|
|
163
161
|
})
|
|
164
162
|
}, this.$attrs), {
|
|
165
|
-
validationMessage: validationMessage,
|
|
166
163
|
placeholder: this.$props.placeholder,
|
|
167
164
|
id: inputId,
|
|
168
165
|
required: required,
|
|
@@ -385,7 +385,8 @@ var MaskedTextBoxVue2 = {
|
|
|
385
385
|
title: this.$props.title,
|
|
386
386
|
disabled: this.$props.disabled || undefined,
|
|
387
387
|
readOnly: this.$props.readonly || undefined,
|
|
388
|
-
placeholder: this.$props.placeholder
|
|
388
|
+
placeholder: this.$props.placeholder,
|
|
389
|
+
required: this.$props.required
|
|
389
390
|
},
|
|
390
391
|
autoComplete: "off",
|
|
391
392
|
autoCorrect: "off",
|
|
@@ -406,6 +407,7 @@ var MaskedTextBoxVue2 = {
|
|
|
406
407
|
disabled: this.$props.disabled || undefined,
|
|
407
408
|
readOnly: this.$props.readonly || undefined,
|
|
408
409
|
placeholder: this.$props.placeholder,
|
|
410
|
+
required: this.$props.required,
|
|
409
411
|
ref: this.v3 ? function (el) {
|
|
410
412
|
_this.inputRef = el;
|
|
411
413
|
} : 'input',
|
|
@@ -543,12 +543,14 @@ var NumericTextBoxVue2 = {
|
|
|
543
543
|
}
|
|
544
544
|
}, [// @ts-ignore
|
|
545
545
|
h(kendo_vue_buttons_1.Button, {
|
|
546
|
-
|
|
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
|
-
|
|
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:
|
|
11
|
+
publishDate: 1642522814,
|
|
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
|
|
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:
|
|
258
|
-
flexGrow: 1,
|
|
259
|
-
position: 'relative',
|
|
223
|
+
style: {
|
|
260
224
|
touchAction: 'none'
|
|
261
|
-
}
|
|
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:
|
|
245
|
+
bottom: percentValue + '%',
|
|
289
246
|
zIndex: 1
|
|
290
|
-
} : (
|
|
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:
|
|
295
|
-
flexGrow: 1,
|
|
296
|
-
position: 'relative',
|
|
251
|
+
style: {
|
|
297
252
|
touchAction: 'none'
|
|
298
|
-
}
|
|
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:
|
|
273
|
+
bottom: percentValue + '%',
|
|
326
274
|
zIndex: 1
|
|
327
|
-
} : (
|
|
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.
|
|
4
|
+
"version": "3.0.0-dev.202201181632",
|
|
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.
|
|
42
|
-
"@progress/kendo-vue-common": "3.0.0-dev.
|
|
43
|
-
"@progress/kendo-vue-labels": "3.0.0-dev.
|
|
44
|
-
"@progress/kendo-vue-popup": "3.0.0-dev.
|
|
41
|
+
"@progress/kendo-vue-buttons": "3.0.0-dev.202201181632",
|
|
42
|
+
"@progress/kendo-vue-common": "3.0.0-dev.202201181632",
|
|
43
|
+
"@progress/kendo-vue-labels": "3.0.0-dev.202201181632",
|
|
44
|
+
"@progress/kendo-vue-popup": "3.0.0-dev.202201181632"
|
|
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.
|
|
52
|
-
"@progress/kendo-vue-form": "3.0.0-dev.
|
|
53
|
-
"@progress/kendo-vue-intl": "3.0.0-dev.
|
|
54
|
-
"@progress/kendo-vue-labels": "3.0.0-dev.
|
|
55
|
-
"@progress/kendo-vue-tooltip": "3.0.0-dev.
|
|
51
|
+
"@progress/kendo-vue-buttons": "3.0.0-dev.202201181632",
|
|
52
|
+
"@progress/kendo-vue-form": "3.0.0-dev.202201181632",
|
|
53
|
+
"@progress/kendo-vue-intl": "3.0.0-dev.202201181632",
|
|
54
|
+
"@progress/kendo-vue-labels": "3.0.0-dev.202201181632",
|
|
55
|
+
"@progress/kendo-vue-tooltip": "3.0.0-dev.202201181632",
|
|
56
56
|
"cldr-core": "^34.0.0",
|
|
57
57
|
"cldr-dates-full": "^34.0.0",
|
|
58
58
|
"cldr-numbers-full": "^34.0.0"
|