@progress/kendo-vue-inputs 2.8.0-dev.202201121019 → 2.8.0-dev.202201131525
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/colors/ColorPicker.js +4 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/switch/Switch.d.ts +4 -0
- package/dist/es/switch/Switch.js +3 -3
- package/dist/npm/colors/ColorPicker.js +4 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/switch/Switch.d.ts +4 -0
- package/dist/npm/switch/Switch.js +3 -3
- package/package.json +10 -10
|
@@ -342,11 +342,13 @@ var ColorPickerVue2 = {
|
|
|
342
342
|
});
|
|
343
343
|
},
|
|
344
344
|
onBlurTimeout: function onBlurTimeout() {
|
|
345
|
-
|
|
345
|
+
var paleteIsFocused = this.palette && document.activeElement === this.palette.$el;
|
|
346
|
+
|
|
347
|
+
if (!paleteIsFocused) {
|
|
346
348
|
this.setOpen(false, true);
|
|
347
|
-
this.focused = false;
|
|
348
349
|
}
|
|
349
350
|
|
|
351
|
+
this.focused = paleteIsFocused;
|
|
350
352
|
this.blurTimeoutRef = undefined;
|
|
351
353
|
},
|
|
352
354
|
onBlurHandler: function onBlurHandler(event) {
|
|
@@ -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: 1642086802,
|
|
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
|
};
|
|
@@ -19,6 +19,10 @@ export interface SwitchChangeEvent {
|
|
|
19
19
|
* Represents the props of the [Kendo UI for Vue Switch component]({% slug overview_switch %}).
|
|
20
20
|
*/
|
|
21
21
|
export interface SwitchProps extends ToggleBaseProps, FormComponentProps {
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the `name` of the Switch.
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
22
26
|
/**
|
|
23
27
|
* Specifies the `accessKey` of the Switch.
|
|
24
28
|
*/
|
package/dist/es/switch/Switch.js
CHANGED
|
@@ -21,6 +21,7 @@ var SwitchVue2 = {
|
|
|
21
21
|
'blur': null
|
|
22
22
|
},
|
|
23
23
|
props: {
|
|
24
|
+
name: String,
|
|
24
25
|
accessKey: String,
|
|
25
26
|
checked: {
|
|
26
27
|
type: Boolean,
|
|
@@ -204,6 +205,7 @@ var SwitchVue2 = {
|
|
|
204
205
|
attrs: this.v3 ? undefined : {
|
|
205
206
|
type: "checkbox",
|
|
206
207
|
tabIndex: -1,
|
|
208
|
+
name: this.$props.name,
|
|
207
209
|
required: required !== undefined ? required : false,
|
|
208
210
|
"aria-hidden": true
|
|
209
211
|
},
|
|
@@ -216,6 +218,7 @@ var SwitchVue2 = {
|
|
|
216
218
|
_this.inputRef = el;
|
|
217
219
|
} : 'input',
|
|
218
220
|
tabIndex: -1,
|
|
221
|
+
name: this.$props.name,
|
|
219
222
|
required: required !== undefined ? required : false,
|
|
220
223
|
"aria-hidden": true,
|
|
221
224
|
value: this.v3 ? this.computedValue : null,
|
|
@@ -250,9 +253,6 @@ var SwitchVue2 = {
|
|
|
250
253
|
element: function element() {
|
|
251
254
|
return this._element;
|
|
252
255
|
},
|
|
253
|
-
name: function name() {
|
|
254
|
-
return this.$props.name;
|
|
255
|
-
},
|
|
256
256
|
validity: function validity() {
|
|
257
257
|
var customError = this.$props.validationMessage !== undefined;
|
|
258
258
|
var isValid = this.$props.valid !== undefined ? this.$props.valid : !this.$props.required ? true : this.computedValue ? true : false;
|
|
@@ -354,11 +354,13 @@ var ColorPickerVue2 = {
|
|
|
354
354
|
});
|
|
355
355
|
},
|
|
356
356
|
onBlurTimeout: function onBlurTimeout() {
|
|
357
|
-
|
|
357
|
+
var paleteIsFocused = this.palette && document.activeElement === this.palette.$el;
|
|
358
|
+
|
|
359
|
+
if (!paleteIsFocused) {
|
|
358
360
|
this.setOpen(false, true);
|
|
359
|
-
this.focused = false;
|
|
360
361
|
}
|
|
361
362
|
|
|
363
|
+
this.focused = paleteIsFocused;
|
|
362
364
|
this.blurTimeoutRef = undefined;
|
|
363
365
|
},
|
|
364
366
|
onBlurHandler: function onBlurHandler(event) {
|
|
@@ -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: 1642086802,
|
|
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
|
};
|
|
@@ -19,6 +19,10 @@ export interface SwitchChangeEvent {
|
|
|
19
19
|
* Represents the props of the [Kendo UI for Vue Switch component]({% slug overview_switch %}).
|
|
20
20
|
*/
|
|
21
21
|
export interface SwitchProps extends ToggleBaseProps, FormComponentProps {
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the `name` of the Switch.
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
22
26
|
/**
|
|
23
27
|
* Specifies the `accessKey` of the Switch.
|
|
24
28
|
*/
|
|
@@ -33,6 +33,7 @@ var SwitchVue2 = {
|
|
|
33
33
|
'blur': null
|
|
34
34
|
},
|
|
35
35
|
props: {
|
|
36
|
+
name: String,
|
|
36
37
|
accessKey: String,
|
|
37
38
|
checked: {
|
|
38
39
|
type: Boolean,
|
|
@@ -216,6 +217,7 @@ var SwitchVue2 = {
|
|
|
216
217
|
attrs: this.v3 ? undefined : {
|
|
217
218
|
type: "checkbox",
|
|
218
219
|
tabIndex: -1,
|
|
220
|
+
name: this.$props.name,
|
|
219
221
|
required: required !== undefined ? required : false,
|
|
220
222
|
"aria-hidden": true
|
|
221
223
|
},
|
|
@@ -228,6 +230,7 @@ var SwitchVue2 = {
|
|
|
228
230
|
_this.inputRef = el;
|
|
229
231
|
} : 'input',
|
|
230
232
|
tabIndex: -1,
|
|
233
|
+
name: this.$props.name,
|
|
231
234
|
required: required !== undefined ? required : false,
|
|
232
235
|
"aria-hidden": true,
|
|
233
236
|
value: this.v3 ? this.computedValue : null,
|
|
@@ -262,9 +265,6 @@ var SwitchVue2 = {
|
|
|
262
265
|
element: function element() {
|
|
263
266
|
return this._element;
|
|
264
267
|
},
|
|
265
|
-
name: function name() {
|
|
266
|
-
return this.$props.name;
|
|
267
|
-
},
|
|
268
268
|
validity: function validity() {
|
|
269
269
|
var customError = this.$props.validationMessage !== undefined;
|
|
270
270
|
var isValid = this.$props.valid !== undefined ? this.$props.valid : !this.$props.required ? true : this.computedValue ? true : false;
|
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": "2.8.0-dev.
|
|
4
|
+
"version": "2.8.0-dev.202201131525",
|
|
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": "2.8.0-dev.
|
|
42
|
-
"@progress/kendo-vue-common": "2.8.0-dev.
|
|
43
|
-
"@progress/kendo-vue-labels": "2.8.0-dev.
|
|
44
|
-
"@progress/kendo-vue-popup": "2.8.0-dev.
|
|
41
|
+
"@progress/kendo-vue-buttons": "2.8.0-dev.202201131525",
|
|
42
|
+
"@progress/kendo-vue-common": "2.8.0-dev.202201131525",
|
|
43
|
+
"@progress/kendo-vue-labels": "2.8.0-dev.202201131525",
|
|
44
|
+
"@progress/kendo-vue-popup": "2.8.0-dev.202201131525"
|
|
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": "2.8.0-dev.
|
|
52
|
-
"@progress/kendo-vue-form": "2.8.0-dev.
|
|
53
|
-
"@progress/kendo-vue-intl": "2.8.0-dev.
|
|
54
|
-
"@progress/kendo-vue-labels": "2.8.0-dev.
|
|
55
|
-
"@progress/kendo-vue-tooltip": "2.8.0-dev.
|
|
51
|
+
"@progress/kendo-vue-buttons": "2.8.0-dev.202201131525",
|
|
52
|
+
"@progress/kendo-vue-form": "2.8.0-dev.202201131525",
|
|
53
|
+
"@progress/kendo-vue-intl": "2.8.0-dev.202201131525",
|
|
54
|
+
"@progress/kendo-vue-labels": "2.8.0-dev.202201131525",
|
|
55
|
+
"@progress/kendo-vue-tooltip": "2.8.0-dev.202201131525",
|
|
56
56
|
"cldr-core": "^34.0.0",
|
|
57
57
|
"cldr-dates-full": "^34.0.0",
|
|
58
58
|
"cldr-numbers-full": "^34.0.0"
|