@progress/kendo-vue-inputs 3.0.1-dev.202201201352 → 3.0.3-dev.202201280639
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/checkbox/Checkbox.js +2 -2
- package/dist/es/input/Input.js +4 -4
- package/dist/es/maskedtextbox/MaskedTextBox.js +1 -1
- package/dist/es/numerictextbox/NumericTextBox.js +8 -4
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/radiobutton/RadioGroup.js +4 -3
- package/dist/es/slider/Slider.js +8 -4
- package/dist/es/switch/Switch.js +2 -2
- package/dist/es/textarea/TextArea.js +4 -4
- package/dist/npm/checkbox/Checkbox.js +2 -2
- package/dist/npm/input/Input.js +4 -4
- package/dist/npm/maskedtextbox/MaskedTextBox.js +1 -1
- package/dist/npm/numerictextbox/NumericTextBox.js +8 -4
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/radiobutton/RadioGroup.js +4 -3
- package/dist/npm/slider/Slider.js +8 -4
- package/dist/npm/switch/Switch.js +2 -2
- package/dist/npm/textarea/TextArea.js +4 -4
- package/package.json +10 -10
|
@@ -322,13 +322,13 @@ var CheckboxVue2 = {
|
|
|
322
322
|
focus: null // focusElement
|
|
323
323
|
|
|
324
324
|
};
|
|
325
|
+
that.$emit('changemodel', val);
|
|
326
|
+
that.$emit('update:modelValue', val);
|
|
325
327
|
that.$emit('change', {
|
|
326
328
|
e: e,
|
|
327
329
|
handle: handle,
|
|
328
330
|
value: val
|
|
329
331
|
});
|
|
330
|
-
that.$emit('changemodel', val);
|
|
331
|
-
that.$emit('update:modelValue', val);
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
this.$data.valueDuringOnChange = undefined;
|
package/dist/es/input/Input.js
CHANGED
|
@@ -248,6 +248,8 @@ var InputVue2 = {
|
|
|
248
248
|
this.$data.currentValue = event.target.value;
|
|
249
249
|
this.$data.valueDuringOnChange = event.target.value;
|
|
250
250
|
this.$nextTick(function () {
|
|
251
|
+
that.$emit('changemodel', event.target.value);
|
|
252
|
+
that.$emit('update:modelValue', event.target.value);
|
|
251
253
|
that.$emit('input', {
|
|
252
254
|
event: event,
|
|
253
255
|
value: event.target.value,
|
|
@@ -255,8 +257,6 @@ var InputVue2 = {
|
|
|
255
257
|
target: event.target,
|
|
256
258
|
validity: that.validity()
|
|
257
259
|
});
|
|
258
|
-
that.$emit('changemodel', event.target.value);
|
|
259
|
-
that.$emit('update:modelValue', event.target.value);
|
|
260
260
|
that.$data.valueDuringOnChange = undefined;
|
|
261
261
|
});
|
|
262
262
|
},
|
|
@@ -265,6 +265,8 @@ var InputVue2 = {
|
|
|
265
265
|
this.$data.currentValue = event.target.value;
|
|
266
266
|
this.$data.valueDuringOnChange = event.target.value;
|
|
267
267
|
this.$nextTick(function () {
|
|
268
|
+
that.$emit('changemodel', event.target.value);
|
|
269
|
+
that.$emit('update:modelValue', event.target.value);
|
|
268
270
|
that.$emit('change', {
|
|
269
271
|
event: event,
|
|
270
272
|
value: event.target.value,
|
|
@@ -272,8 +274,6 @@ var InputVue2 = {
|
|
|
272
274
|
target: event.target,
|
|
273
275
|
validity: that.validity()
|
|
274
276
|
});
|
|
275
|
-
that.$emit('changemodel', event.target.value);
|
|
276
|
-
that.$emit('update:modelValue', event.target.value);
|
|
277
277
|
that.$data.valueDuringOnChange = undefined;
|
|
278
278
|
});
|
|
279
279
|
},
|
|
@@ -310,9 +310,9 @@ var MaskedTextBoxVue2 = {
|
|
|
310
310
|
},
|
|
311
311
|
validity: this.validity()
|
|
312
312
|
});
|
|
313
|
-
this.$emit('changemodel', this.computedValue());
|
|
314
313
|
this.$emit('update:modelValue', this.computedValue());
|
|
315
314
|
this.$emit('update:modelRawValue', this.rawValue());
|
|
315
|
+
this.$emit('changemodel', this.computedValue());
|
|
316
316
|
this.valueDuringOnChange = undefined;
|
|
317
317
|
},
|
|
318
318
|
updateService: function updateService(extra) {
|
|
@@ -324,6 +324,8 @@ var NumericTextBoxVue2 = {
|
|
|
324
324
|
this.$data.forceUpdate = !this.$data.forceUpdate;
|
|
325
325
|
|
|
326
326
|
if (shouldFireEvent) {
|
|
327
|
+
this.$emit('changemodel', this.$data.valueDuringOnChange);
|
|
328
|
+
this.$emit('update:modelValue', this.$data.valueDuringOnChange);
|
|
327
329
|
this.$emit('change', {
|
|
328
330
|
event: event,
|
|
329
331
|
value: this.$data.valueDuringOnChange,
|
|
@@ -334,8 +336,6 @@ var NumericTextBoxVue2 = {
|
|
|
334
336
|
},
|
|
335
337
|
validity: this.validity()
|
|
336
338
|
});
|
|
337
|
-
this.$emit('changemodel', this.$data.valueDuringOnChange);
|
|
338
|
-
this.$emit('update:modelValue', this.$data.valueDuringOnChange);
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
this.$data.valueDuringOnChange = undefined;
|
|
@@ -528,13 +528,15 @@ var NumericTextBoxVue2 = {
|
|
|
528
528
|
}
|
|
529
529
|
}, [// @ts-ignore
|
|
530
530
|
h(KButton, {
|
|
531
|
-
|
|
531
|
+
type: "button",
|
|
532
532
|
attrs: this.v3 ? undefined : {
|
|
533
|
+
type: "button",
|
|
533
534
|
tabIndex: -1,
|
|
534
535
|
icon: 'arrow-n',
|
|
535
536
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
536
537
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue])
|
|
537
538
|
},
|
|
539
|
+
tabIndex: -1,
|
|
538
540
|
icon: 'arrow-n',
|
|
539
541
|
"class": "k-spinner-increase",
|
|
540
542
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
@@ -545,13 +547,15 @@ var NumericTextBoxVue2 = {
|
|
|
545
547
|
}
|
|
546
548
|
}), // @ts-ignore
|
|
547
549
|
h(KButton, {
|
|
548
|
-
|
|
550
|
+
type: "button",
|
|
549
551
|
attrs: this.v3 ? undefined : {
|
|
552
|
+
type: "button",
|
|
550
553
|
tabIndex: -1,
|
|
551
554
|
icon: 'arrow-s',
|
|
552
555
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
553
556
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue])
|
|
554
557
|
},
|
|
558
|
+
tabIndex: -1,
|
|
555
559
|
"class": "k-spinner-decrease",
|
|
556
560
|
icon: 'arrow-s',
|
|
557
561
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
@@ -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: 1643351335,
|
|
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
|
};
|
|
@@ -41,7 +41,8 @@ var RadioGroupVue2 = {
|
|
|
41
41
|
'changemodel': null,
|
|
42
42
|
'update:modelValue': null,
|
|
43
43
|
change: null,
|
|
44
|
-
focus: null
|
|
44
|
+
focus: null,
|
|
45
|
+
blur: null
|
|
45
46
|
},
|
|
46
47
|
model: {
|
|
47
48
|
event: 'changemodel'
|
|
@@ -99,12 +100,12 @@ var RadioGroupVue2 = {
|
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
if (!this.$props.disabled) {
|
|
103
|
+
this.$emit('changemodel', currentValue);
|
|
104
|
+
this.$emit('update:modelValue', currentValue);
|
|
102
105
|
this.$emit('change', {
|
|
103
106
|
event: event,
|
|
104
107
|
value: currentValue
|
|
105
108
|
});
|
|
106
|
-
this.$emit('changemodel', currentValue);
|
|
107
|
-
this.$emit('update:modelValue', currentValue);
|
|
108
109
|
}
|
|
109
110
|
},
|
|
110
111
|
handleFocus: function handleFocus(event) {
|
package/dist/es/slider/Slider.js
CHANGED
|
@@ -175,13 +175,15 @@ var SliderVue2 = {
|
|
|
175
175
|
"class": classNames('k-slider-wrap')
|
|
176
176
|
}, [this.$props.buttons && // @ts-ignore
|
|
177
177
|
h(Button, {
|
|
178
|
-
|
|
178
|
+
type: "button",
|
|
179
179
|
attrs: this.v3 ? undefined : {
|
|
180
|
+
type: "button",
|
|
180
181
|
tabIndex: -1,
|
|
181
182
|
icon: this.$props.vertical ? 'arrow-s' : 'arrow-w',
|
|
182
183
|
rounded: 'full',
|
|
183
184
|
title: lS.toLanguageString(sliderDecreaseValue, messages[sliderDecreaseValue])
|
|
184
185
|
},
|
|
186
|
+
tabIndex: -1,
|
|
185
187
|
icon: this.$props.vertical ? 'arrow-s' : 'arrow-w',
|
|
186
188
|
style: {
|
|
187
189
|
position: 'relative'
|
|
@@ -260,13 +262,15 @@ var SliderVue2 = {
|
|
|
260
262
|
} : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = percentValue + '%', _a.zIndex = 1, _a)
|
|
261
263
|
})])])]), this.$props.buttons && // @ts-ignore
|
|
262
264
|
h(Button, {
|
|
263
|
-
|
|
265
|
+
type: "button",
|
|
264
266
|
attrs: this.v3 ? undefined : {
|
|
267
|
+
type: "button",
|
|
265
268
|
tabIndex: -1,
|
|
266
269
|
icon: this.$props.vertical ? 'arrow-n' : 'arrow-e',
|
|
267
270
|
rounded: 'full',
|
|
268
271
|
title: lS.toLanguageString(sliderIncreaseValue, messages[sliderIncreaseValue])
|
|
269
272
|
},
|
|
273
|
+
tabIndex: -1,
|
|
270
274
|
icon: this.$props.vertical ? 'arrow-n' : 'arrow-e',
|
|
271
275
|
rounded: 'full',
|
|
272
276
|
style: {
|
|
@@ -355,6 +359,8 @@ var SliderVue2 = {
|
|
|
355
359
|
change: function change(e, value) {
|
|
356
360
|
value = Math.min(Math.max(value, this.$props.min), this.$props.max);
|
|
357
361
|
this.currentValue = value;
|
|
362
|
+
this.$emit('changemodel', value);
|
|
363
|
+
this.$emit('update:modelValue', value);
|
|
358
364
|
this.$emit('change', {
|
|
359
365
|
event: e,
|
|
360
366
|
value: value,
|
|
@@ -364,8 +370,6 @@ var SliderVue2 = {
|
|
|
364
370
|
value: value
|
|
365
371
|
}
|
|
366
372
|
});
|
|
367
|
-
this.$emit('changemodel', value);
|
|
368
|
-
this.$emit('update:modelValue', value);
|
|
369
373
|
}
|
|
370
374
|
}
|
|
371
375
|
};
|
package/dist/es/switch/Switch.js
CHANGED
|
@@ -279,6 +279,8 @@ var SwitchVue2 = {
|
|
|
279
279
|
toggle: function toggle(value, event) {
|
|
280
280
|
this.currentChecked = value;
|
|
281
281
|
this.valueDuringOnChange = value;
|
|
282
|
+
this.$emit('changemodel', value);
|
|
283
|
+
this.$emit('update:modelValue', value);
|
|
282
284
|
this.$emit('change', {
|
|
283
285
|
event: event,
|
|
284
286
|
component: this,
|
|
@@ -289,8 +291,6 @@ var SwitchVue2 = {
|
|
|
289
291
|
value: value,
|
|
290
292
|
validity: this.validity()
|
|
291
293
|
});
|
|
292
|
-
this.$emit('changemodel', value);
|
|
293
|
-
this.$emit('update:modelValue', value);
|
|
294
294
|
this.valueDuringOnChange = undefined;
|
|
295
295
|
},
|
|
296
296
|
handleClick: function handleClick(event) {
|
|
@@ -227,14 +227,14 @@ var TextAreaVue2 = {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
if (!this.$props.disabled) {
|
|
230
|
+
this.$emit('changemodel', newValue);
|
|
231
|
+
this.$emit('update:modelValue', newValue);
|
|
230
232
|
this.$emit('change', {
|
|
231
233
|
event: event,
|
|
232
234
|
component: this,
|
|
233
235
|
name: this.element.name,
|
|
234
236
|
value: newValue
|
|
235
237
|
});
|
|
236
|
-
this.$emit('changemodel', newValue);
|
|
237
|
-
this.$emit('update:modelValue', newValue);
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
handleInput: function handleInput(event) {
|
|
@@ -246,14 +246,14 @@ var TextAreaVue2 = {
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
if (!this.$props.disabled) {
|
|
249
|
+
this.$emit('changemodel', newValue);
|
|
250
|
+
this.$emit('update:modelValue', newValue);
|
|
249
251
|
this.$emit('input', {
|
|
250
252
|
event: event,
|
|
251
253
|
component: this,
|
|
252
254
|
name: this.element.name,
|
|
253
255
|
value: newValue
|
|
254
256
|
});
|
|
255
|
-
this.$emit('changemodel', newValue);
|
|
256
|
-
this.$emit('update:modelValue', newValue);
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
handleFocus: function handleFocus(event) {
|
|
@@ -334,13 +334,13 @@ var CheckboxVue2 = {
|
|
|
334
334
|
focus: null // focusElement
|
|
335
335
|
|
|
336
336
|
};
|
|
337
|
+
that.$emit('changemodel', val);
|
|
338
|
+
that.$emit('update:modelValue', val);
|
|
337
339
|
that.$emit('change', {
|
|
338
340
|
e: e,
|
|
339
341
|
handle: handle,
|
|
340
342
|
value: val
|
|
341
343
|
});
|
|
342
|
-
that.$emit('changemodel', val);
|
|
343
|
-
that.$emit('update:modelValue', val);
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
this.$data.valueDuringOnChange = undefined;
|
package/dist/npm/input/Input.js
CHANGED
|
@@ -259,6 +259,8 @@ var InputVue2 = {
|
|
|
259
259
|
this.$data.currentValue = event.target.value;
|
|
260
260
|
this.$data.valueDuringOnChange = event.target.value;
|
|
261
261
|
this.$nextTick(function () {
|
|
262
|
+
that.$emit('changemodel', event.target.value);
|
|
263
|
+
that.$emit('update:modelValue', event.target.value);
|
|
262
264
|
that.$emit('input', {
|
|
263
265
|
event: event,
|
|
264
266
|
value: event.target.value,
|
|
@@ -266,8 +268,6 @@ var InputVue2 = {
|
|
|
266
268
|
target: event.target,
|
|
267
269
|
validity: that.validity()
|
|
268
270
|
});
|
|
269
|
-
that.$emit('changemodel', event.target.value);
|
|
270
|
-
that.$emit('update:modelValue', event.target.value);
|
|
271
271
|
that.$data.valueDuringOnChange = undefined;
|
|
272
272
|
});
|
|
273
273
|
},
|
|
@@ -276,6 +276,8 @@ var InputVue2 = {
|
|
|
276
276
|
this.$data.currentValue = event.target.value;
|
|
277
277
|
this.$data.valueDuringOnChange = event.target.value;
|
|
278
278
|
this.$nextTick(function () {
|
|
279
|
+
that.$emit('changemodel', event.target.value);
|
|
280
|
+
that.$emit('update:modelValue', event.target.value);
|
|
279
281
|
that.$emit('change', {
|
|
280
282
|
event: event,
|
|
281
283
|
value: event.target.value,
|
|
@@ -283,8 +285,6 @@ var InputVue2 = {
|
|
|
283
285
|
target: event.target,
|
|
284
286
|
validity: that.validity()
|
|
285
287
|
});
|
|
286
|
-
that.$emit('changemodel', event.target.value);
|
|
287
|
-
that.$emit('update:modelValue', event.target.value);
|
|
288
288
|
that.$data.valueDuringOnChange = undefined;
|
|
289
289
|
});
|
|
290
290
|
},
|
|
@@ -322,9 +322,9 @@ var MaskedTextBoxVue2 = {
|
|
|
322
322
|
},
|
|
323
323
|
validity: this.validity()
|
|
324
324
|
});
|
|
325
|
-
this.$emit('changemodel', this.computedValue());
|
|
326
325
|
this.$emit('update:modelValue', this.computedValue());
|
|
327
326
|
this.$emit('update:modelRawValue', this.rawValue());
|
|
327
|
+
this.$emit('changemodel', this.computedValue());
|
|
328
328
|
this.valueDuringOnChange = undefined;
|
|
329
329
|
},
|
|
330
330
|
updateService: function updateService(extra) {
|
|
@@ -339,6 +339,8 @@ var NumericTextBoxVue2 = {
|
|
|
339
339
|
this.$data.forceUpdate = !this.$data.forceUpdate;
|
|
340
340
|
|
|
341
341
|
if (shouldFireEvent) {
|
|
342
|
+
this.$emit('changemodel', this.$data.valueDuringOnChange);
|
|
343
|
+
this.$emit('update:modelValue', this.$data.valueDuringOnChange);
|
|
342
344
|
this.$emit('change', {
|
|
343
345
|
event: event,
|
|
344
346
|
value: this.$data.valueDuringOnChange,
|
|
@@ -349,8 +351,6 @@ var NumericTextBoxVue2 = {
|
|
|
349
351
|
},
|
|
350
352
|
validity: this.validity()
|
|
351
353
|
});
|
|
352
|
-
this.$emit('changemodel', this.$data.valueDuringOnChange);
|
|
353
|
-
this.$emit('update:modelValue', this.$data.valueDuringOnChange);
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
this.$data.valueDuringOnChange = undefined;
|
|
@@ -543,13 +543,15 @@ var NumericTextBoxVue2 = {
|
|
|
543
543
|
}
|
|
544
544
|
}, [// @ts-ignore
|
|
545
545
|
h(kendo_vue_buttons_1.Button, {
|
|
546
|
-
|
|
546
|
+
type: "button",
|
|
547
547
|
attrs: this.v3 ? undefined : {
|
|
548
|
+
type: "button",
|
|
548
549
|
tabIndex: -1,
|
|
549
550
|
icon: 'arrow-n',
|
|
550
551
|
"aria-label": localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue]),
|
|
551
552
|
title: localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue])
|
|
552
553
|
},
|
|
554
|
+
tabIndex: -1,
|
|
553
555
|
icon: 'arrow-n',
|
|
554
556
|
"class": "k-spinner-increase",
|
|
555
557
|
"aria-label": localizationService.toLanguageString(messages_1.numericIncreaseValue, messages_1.messages[messages_1.numericIncreaseValue]),
|
|
@@ -560,13 +562,15 @@ var NumericTextBoxVue2 = {
|
|
|
560
562
|
}
|
|
561
563
|
}), // @ts-ignore
|
|
562
564
|
h(kendo_vue_buttons_1.Button, {
|
|
563
|
-
|
|
565
|
+
type: "button",
|
|
564
566
|
attrs: this.v3 ? undefined : {
|
|
567
|
+
type: "button",
|
|
565
568
|
tabIndex: -1,
|
|
566
569
|
icon: 'arrow-s',
|
|
567
570
|
"aria-label": localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue]),
|
|
568
571
|
title: localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue])
|
|
569
572
|
},
|
|
573
|
+
tabIndex: -1,
|
|
570
574
|
"class": "k-spinner-decrease",
|
|
571
575
|
icon: 'arrow-s',
|
|
572
576
|
"aria-label": localizationService.toLanguageString(messages_1.numericDecreaseValue, messages_1.messages[messages_1.numericDecreaseValue]),
|
|
@@ -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: 1643351335,
|
|
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
|
};
|
|
@@ -52,7 +52,8 @@ var RadioGroupVue2 = {
|
|
|
52
52
|
'changemodel': null,
|
|
53
53
|
'update:modelValue': null,
|
|
54
54
|
change: null,
|
|
55
|
-
focus: null
|
|
55
|
+
focus: null,
|
|
56
|
+
blur: null
|
|
56
57
|
},
|
|
57
58
|
model: {
|
|
58
59
|
event: 'changemodel'
|
|
@@ -110,12 +111,12 @@ var RadioGroupVue2 = {
|
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
if (!this.$props.disabled) {
|
|
114
|
+
this.$emit('changemodel', currentValue);
|
|
115
|
+
this.$emit('update:modelValue', currentValue);
|
|
113
116
|
this.$emit('change', {
|
|
114
117
|
event: event,
|
|
115
118
|
value: currentValue
|
|
116
119
|
});
|
|
117
|
-
this.$emit('changemodel', currentValue);
|
|
118
|
-
this.$emit('update:modelValue', currentValue);
|
|
119
120
|
}
|
|
120
121
|
},
|
|
121
122
|
handleFocus: function handleFocus(event) {
|
|
@@ -190,13 +190,15 @@ var SliderVue2 = {
|
|
|
190
190
|
"class": kendo_vue_common_2.classNames('k-slider-wrap')
|
|
191
191
|
}, [this.$props.buttons && // @ts-ignore
|
|
192
192
|
h(kendo_vue_buttons_1.Button, {
|
|
193
|
-
|
|
193
|
+
type: "button",
|
|
194
194
|
attrs: this.v3 ? undefined : {
|
|
195
|
+
type: "button",
|
|
195
196
|
tabIndex: -1,
|
|
196
197
|
icon: this.$props.vertical ? 'arrow-s' : 'arrow-w',
|
|
197
198
|
rounded: 'full',
|
|
198
199
|
title: lS.toLanguageString(messages_1.sliderDecreaseValue, messages_1.messages[messages_1.sliderDecreaseValue])
|
|
199
200
|
},
|
|
201
|
+
tabIndex: -1,
|
|
200
202
|
icon: this.$props.vertical ? 'arrow-s' : 'arrow-w',
|
|
201
203
|
style: {
|
|
202
204
|
position: 'relative'
|
|
@@ -275,13 +277,15 @@ var SliderVue2 = {
|
|
|
275
277
|
} : (_a = {}, _a[_this.currentDir === 'rtl' ? 'right' : 'left'] = percentValue + '%', _a.zIndex = 1, _a)
|
|
276
278
|
})])])]), this.$props.buttons && // @ts-ignore
|
|
277
279
|
h(kendo_vue_buttons_1.Button, {
|
|
278
|
-
|
|
280
|
+
type: "button",
|
|
279
281
|
attrs: this.v3 ? undefined : {
|
|
282
|
+
type: "button",
|
|
280
283
|
tabIndex: -1,
|
|
281
284
|
icon: this.$props.vertical ? 'arrow-n' : 'arrow-e',
|
|
282
285
|
rounded: 'full',
|
|
283
286
|
title: lS.toLanguageString(messages_1.sliderIncreaseValue, messages_1.messages[messages_1.sliderIncreaseValue])
|
|
284
287
|
},
|
|
288
|
+
tabIndex: -1,
|
|
285
289
|
icon: this.$props.vertical ? 'arrow-n' : 'arrow-e',
|
|
286
290
|
rounded: 'full',
|
|
287
291
|
style: {
|
|
@@ -370,6 +374,8 @@ var SliderVue2 = {
|
|
|
370
374
|
change: function change(e, value) {
|
|
371
375
|
value = Math.min(Math.max(value, this.$props.min), this.$props.max);
|
|
372
376
|
this.currentValue = value;
|
|
377
|
+
this.$emit('changemodel', value);
|
|
378
|
+
this.$emit('update:modelValue', value);
|
|
373
379
|
this.$emit('change', {
|
|
374
380
|
event: e,
|
|
375
381
|
value: value,
|
|
@@ -379,8 +385,6 @@ var SliderVue2 = {
|
|
|
379
385
|
value: value
|
|
380
386
|
}
|
|
381
387
|
});
|
|
382
|
-
this.$emit('changemodel', value);
|
|
383
|
-
this.$emit('update:modelValue', value);
|
|
384
388
|
}
|
|
385
389
|
}
|
|
386
390
|
};
|
|
@@ -291,6 +291,8 @@ var SwitchVue2 = {
|
|
|
291
291
|
toggle: function toggle(value, event) {
|
|
292
292
|
this.currentChecked = value;
|
|
293
293
|
this.valueDuringOnChange = value;
|
|
294
|
+
this.$emit('changemodel', value);
|
|
295
|
+
this.$emit('update:modelValue', value);
|
|
294
296
|
this.$emit('change', {
|
|
295
297
|
event: event,
|
|
296
298
|
component: this,
|
|
@@ -301,8 +303,6 @@ var SwitchVue2 = {
|
|
|
301
303
|
value: value,
|
|
302
304
|
validity: this.validity()
|
|
303
305
|
});
|
|
304
|
-
this.$emit('changemodel', value);
|
|
305
|
-
this.$emit('update:modelValue', value);
|
|
306
306
|
this.valueDuringOnChange = undefined;
|
|
307
307
|
},
|
|
308
308
|
handleClick: function handleClick(event) {
|
|
@@ -236,14 +236,14 @@ var TextAreaVue2 = {
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
if (!this.$props.disabled) {
|
|
239
|
+
this.$emit('changemodel', newValue);
|
|
240
|
+
this.$emit('update:modelValue', newValue);
|
|
239
241
|
this.$emit('change', {
|
|
240
242
|
event: event,
|
|
241
243
|
component: this,
|
|
242
244
|
name: this.element.name,
|
|
243
245
|
value: newValue
|
|
244
246
|
});
|
|
245
|
-
this.$emit('changemodel', newValue);
|
|
246
|
-
this.$emit('update:modelValue', newValue);
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
249
|
handleInput: function handleInput(event) {
|
|
@@ -255,14 +255,14 @@ var TextAreaVue2 = {
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
if (!this.$props.disabled) {
|
|
258
|
+
this.$emit('changemodel', newValue);
|
|
259
|
+
this.$emit('update:modelValue', newValue);
|
|
258
260
|
this.$emit('input', {
|
|
259
261
|
event: event,
|
|
260
262
|
component: this,
|
|
261
263
|
name: this.element.name,
|
|
262
264
|
value: newValue
|
|
263
265
|
});
|
|
264
|
-
this.$emit('changemodel', newValue);
|
|
265
|
-
this.$emit('update:modelValue', newValue);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
handleFocus: function handleFocus(event) {
|
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.
|
|
4
|
+
"version": "3.0.3-dev.202201280639",
|
|
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.
|
|
42
|
-
"@progress/kendo-vue-common": "3.0.
|
|
43
|
-
"@progress/kendo-vue-labels": "3.0.
|
|
44
|
-
"@progress/kendo-vue-popup": "3.0.
|
|
41
|
+
"@progress/kendo-vue-buttons": "3.0.3-dev.202201280639",
|
|
42
|
+
"@progress/kendo-vue-common": "3.0.3-dev.202201280639",
|
|
43
|
+
"@progress/kendo-vue-labels": "3.0.3-dev.202201280639",
|
|
44
|
+
"@progress/kendo-vue-popup": "3.0.3-dev.202201280639"
|
|
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.
|
|
52
|
-
"@progress/kendo-vue-form": "3.0.
|
|
53
|
-
"@progress/kendo-vue-intl": "3.0.
|
|
54
|
-
"@progress/kendo-vue-labels": "3.0.
|
|
55
|
-
"@progress/kendo-vue-tooltip": "3.0.
|
|
51
|
+
"@progress/kendo-vue-buttons": "3.0.3-dev.202201280639",
|
|
52
|
+
"@progress/kendo-vue-form": "3.0.3-dev.202201280639",
|
|
53
|
+
"@progress/kendo-vue-intl": "3.0.3-dev.202201280639",
|
|
54
|
+
"@progress/kendo-vue-labels": "3.0.3-dev.202201280639",
|
|
55
|
+
"@progress/kendo-vue-tooltip": "3.0.3-dev.202201280639",
|
|
56
56
|
"cldr-core": "^34.0.0",
|
|
57
57
|
"cldr-dates-full": "^34.0.0",
|
|
58
58
|
"cldr-numbers-full": "^34.0.0"
|