@progress/kendo-vue-inputs 3.0.0 → 3.0.2
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 +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/radiobutton/RadioGroup.js +2 -2
- package/dist/es/slider/Slider.js +2 -2
- 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 +2 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/radiobutton/RadioGroup.js +2 -2
- package/dist/npm/slider/Slider.js +2 -2
- 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;
|
|
@@ -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: 1643194742,
|
|
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
|
};
|
|
@@ -99,12 +99,12 @@ var RadioGroupVue2 = {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
if (!this.$props.disabled) {
|
|
102
|
+
this.$emit('changemodel', currentValue);
|
|
103
|
+
this.$emit('update:modelValue', currentValue);
|
|
102
104
|
this.$emit('change', {
|
|
103
105
|
event: event,
|
|
104
106
|
value: currentValue
|
|
105
107
|
});
|
|
106
|
-
this.$emit('changemodel', currentValue);
|
|
107
|
-
this.$emit('update:modelValue', currentValue);
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
handleFocus: function handleFocus(event) {
|
package/dist/es/slider/Slider.js
CHANGED
|
@@ -355,6 +355,8 @@ var SliderVue2 = {
|
|
|
355
355
|
change: function change(e, value) {
|
|
356
356
|
value = Math.min(Math.max(value, this.$props.min), this.$props.max);
|
|
357
357
|
this.currentValue = value;
|
|
358
|
+
this.$emit('changemodel', value);
|
|
359
|
+
this.$emit('update:modelValue', value);
|
|
358
360
|
this.$emit('change', {
|
|
359
361
|
event: e,
|
|
360
362
|
value: value,
|
|
@@ -364,8 +366,6 @@ var SliderVue2 = {
|
|
|
364
366
|
value: value
|
|
365
367
|
}
|
|
366
368
|
});
|
|
367
|
-
this.$emit('changemodel', value);
|
|
368
|
-
this.$emit('update:modelValue', value);
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
};
|
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;
|
|
@@ -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: 1643194742,
|
|
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
|
};
|
|
@@ -110,12 +110,12 @@ var RadioGroupVue2 = {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
if (!this.$props.disabled) {
|
|
113
|
+
this.$emit('changemodel', currentValue);
|
|
114
|
+
this.$emit('update:modelValue', currentValue);
|
|
113
115
|
this.$emit('change', {
|
|
114
116
|
event: event,
|
|
115
117
|
value: currentValue
|
|
116
118
|
});
|
|
117
|
-
this.$emit('changemodel', currentValue);
|
|
118
|
-
this.$emit('update:modelValue', currentValue);
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
handleFocus: function handleFocus(event) {
|
|
@@ -370,6 +370,8 @@ var SliderVue2 = {
|
|
|
370
370
|
change: function change(e, value) {
|
|
371
371
|
value = Math.min(Math.max(value, this.$props.min), this.$props.max);
|
|
372
372
|
this.currentValue = value;
|
|
373
|
+
this.$emit('changemodel', value);
|
|
374
|
+
this.$emit('update:modelValue', value);
|
|
373
375
|
this.$emit('change', {
|
|
374
376
|
event: e,
|
|
375
377
|
value: value,
|
|
@@ -379,8 +381,6 @@ var SliderVue2 = {
|
|
|
379
381
|
value: value
|
|
380
382
|
}
|
|
381
383
|
});
|
|
382
|
-
this.$emit('changemodel', value);
|
|
383
|
-
this.$emit('update:modelValue', value);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
};
|
|
@@ -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.2",
|
|
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.2",
|
|
42
|
+
"@progress/kendo-vue-common": "3.0.2",
|
|
43
|
+
"@progress/kendo-vue-labels": "3.0.2",
|
|
44
|
+
"@progress/kendo-vue-popup": "3.0.2"
|
|
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.2",
|
|
52
|
+
"@progress/kendo-vue-form": "3.0.2",
|
|
53
|
+
"@progress/kendo-vue-intl": "3.0.2",
|
|
54
|
+
"@progress/kendo-vue-labels": "3.0.2",
|
|
55
|
+
"@progress/kendo-vue-tooltip": "3.0.2",
|
|
56
56
|
"cldr-core": "^34.0.0",
|
|
57
57
|
"cldr-dates-full": "^34.0.0",
|
|
58
58
|
"cldr-numbers-full": "^34.0.0"
|