@progress/kendo-vue-inputs 3.5.2 → 3.5.4-dev.202209071223
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 +1 -1
- package/dist/es/colors/ColorGradient.js +5 -1
- package/dist/es/colors/ColorInput.js +2 -2
- package/dist/es/colors/ColorPicker.js +2 -2
- package/dist/es/colors/FlatColorPicker.js +19 -7
- package/dist/es/numerictextbox/NumericTextBox.js +8 -4
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slider/Slider.js +4 -4
- package/dist/es/switch/Switch.js +2 -2
- package/dist/esm/checkbox/Checkbox.js +1 -1
- package/dist/esm/colors/ColorGradient.js +5 -1
- package/dist/esm/colors/ColorInput.js +2 -2
- package/dist/esm/colors/ColorPicker.js +2 -2
- package/dist/esm/colors/FlatColorPicker.js +19 -7
- package/dist/esm/numerictextbox/NumericTextBox.js +8 -4
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/slider/Slider.js +4 -4
- package/dist/esm/switch/Switch.js +2 -2
- package/dist/npm/checkbox/Checkbox.js +1 -1
- package/dist/npm/colors/ColorGradient.js +5 -1
- package/dist/npm/colors/ColorInput.js +2 -2
- package/dist/npm/colors/ColorPicker.js +2 -2
- package/dist/npm/colors/FlatColorPicker.js +19 -7
- package/dist/npm/numerictextbox/NumericTextBox.js +8 -4
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slider/Slider.js +4 -4
- package/dist/npm/switch/Switch.js +2 -2
- package/package.json +11 -11
|
@@ -206,7 +206,7 @@ var CheckboxVue2 = {
|
|
|
206
206
|
});
|
|
207
207
|
var inputClasses = classNames((_a = {
|
|
208
208
|
'k-checkbox': true
|
|
209
|
-
}, _a["k-checkbox-".concat(kendoThemeMaps.sizeMap[size])] = size, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded])] = rounded, _a['k-indeterminate'] = this.indeterminateProp, _a['k-invalid k-invalid'] = !(this.isValid || validityStyles !== undefined || validityStyles === true), _a));
|
|
209
|
+
}, _a["k-checkbox-".concat(kendoThemeMaps.sizeMap[size])] = size, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded])] = rounded, _a['k-indeterminate'] = this.indeterminateProp, _a['k-disabled'] = disabled, _a['k-invalid k-invalid'] = !(this.isValid || validityStyles !== undefined || validityStyles === true), _a));
|
|
210
210
|
|
|
211
211
|
var checkboxInput = function checkboxInput() {
|
|
212
212
|
return h("input", {
|
|
@@ -387,7 +387,11 @@ var ColorGradientVue2 = {
|
|
|
387
387
|
},
|
|
388
388
|
onGradientWrapperClick: function onGradientWrapperClick(event) {
|
|
389
389
|
this.firstFocusable = getRef(this, 'draghandle');
|
|
390
|
-
|
|
390
|
+
|
|
391
|
+
if (this.firstFocusable) {
|
|
392
|
+
this.firstFocusable.focus();
|
|
393
|
+
}
|
|
394
|
+
|
|
391
395
|
this.changePosition(event);
|
|
392
396
|
},
|
|
393
397
|
move: function move(e, prop, d) {
|
|
@@ -105,12 +105,12 @@ var ColorInputVue2 = {
|
|
|
105
105
|
tabIndex: this.tabIndex,
|
|
106
106
|
type: "button",
|
|
107
107
|
fillMode: 'flat',
|
|
108
|
-
icon: '
|
|
108
|
+
icon: 'caret-alt-expand'
|
|
109
109
|
},
|
|
110
110
|
tabIndex: this.tabIndex,
|
|
111
111
|
type: "button",
|
|
112
112
|
fillMode: 'flat',
|
|
113
|
-
icon: '
|
|
113
|
+
icon: 'caret-alt-expand',
|
|
114
114
|
"class": "k-colorgradient-toggle-mode k-icon-button",
|
|
115
115
|
onClick: this.onToggleModeChange,
|
|
116
116
|
on: this.v3 ? undefined : {
|
|
@@ -313,7 +313,7 @@ var ColorPickerVue2 = {
|
|
|
313
313
|
type: "button",
|
|
314
314
|
tabindex: -1,
|
|
315
315
|
rounded: null,
|
|
316
|
-
icon: '
|
|
316
|
+
icon: 'caret-alt-down'
|
|
317
317
|
},
|
|
318
318
|
tabindex: -1,
|
|
319
319
|
ref: this.v3 ? function (el) {
|
|
@@ -325,7 +325,7 @@ var ColorPickerVue2 = {
|
|
|
325
325
|
},
|
|
326
326
|
rounded: null,
|
|
327
327
|
"class": "k-input-button",
|
|
328
|
-
icon: '
|
|
328
|
+
icon: 'caret-alt-down'
|
|
329
329
|
}), // @ts-ignore function children
|
|
330
330
|
h(Picker, {
|
|
331
331
|
dir: dir,
|
|
@@ -382,10 +382,10 @@ var FlatColorPickerVue2 = {
|
|
|
382
382
|
onClick: this.handleResetColor
|
|
383
383
|
}, this.v3 ? function () {
|
|
384
384
|
return [h("span", {
|
|
385
|
-
"class": "k-icon k-i-
|
|
385
|
+
"class": "k-icon k-i-droplet-slash"
|
|
386
386
|
})];
|
|
387
387
|
} : [h("span", {
|
|
388
|
-
"class": "k-icon k-i-
|
|
388
|
+
"class": "k-icon k-i-droplet-slash"
|
|
389
389
|
})]), this.$props.showPreview && h("div", {
|
|
390
390
|
"class": "k-coloreditor-preview k-vstack"
|
|
391
391
|
}, [h("span", {
|
|
@@ -439,9 +439,9 @@ var FlatColorPickerVue2 = {
|
|
|
439
439
|
onKeydown: this.handleButtonKeydown,
|
|
440
440
|
on: this.v3 ? undefined : {
|
|
441
441
|
"keydown": this.handleButtonKeydown,
|
|
442
|
-
"click": this.
|
|
442
|
+
"click": this.triggerChange
|
|
443
443
|
},
|
|
444
|
-
onClick: this.
|
|
444
|
+
onClick: this.triggerChange
|
|
445
445
|
}, this.v3 ? function () {
|
|
446
446
|
return [applyMessage];
|
|
447
447
|
} : [applyMessage])]), footer]);
|
|
@@ -469,14 +469,26 @@ var FlatColorPickerVue2 = {
|
|
|
469
469
|
},
|
|
470
470
|
handleResetColor: function handleResetColor() {
|
|
471
471
|
this.colorValue = null;
|
|
472
|
+
|
|
473
|
+
if (!this.showButtons) {
|
|
474
|
+
this.triggerChange();
|
|
475
|
+
}
|
|
472
476
|
},
|
|
473
477
|
handleColorChange: function handleColorChange(event) {
|
|
474
478
|
this.colorValue = event.value;
|
|
479
|
+
|
|
480
|
+
if (!this.showButtons) {
|
|
481
|
+
this.triggerChange(event);
|
|
482
|
+
}
|
|
475
483
|
},
|
|
476
484
|
handlePaletteColorChange: function handlePaletteColorChange(event) {
|
|
477
485
|
this.colorValue = event.value;
|
|
486
|
+
|
|
487
|
+
if (!this.showButtons) {
|
|
488
|
+
this.triggerChange(event);
|
|
489
|
+
}
|
|
478
490
|
},
|
|
479
|
-
|
|
491
|
+
triggerChange: function triggerChange(event) {
|
|
480
492
|
var rgbaValue = parseColor(this.colorValue, 'rgba');
|
|
481
493
|
this.currentPrevColor = this.colorValue;
|
|
482
494
|
this.$emit('changemodel', this.colorValue);
|
|
@@ -490,14 +502,14 @@ var FlatColorPickerVue2 = {
|
|
|
490
502
|
},
|
|
491
503
|
innerKeyDown: function innerKeyDown(event) {
|
|
492
504
|
if (event.keyCode === Keys.enter) {
|
|
493
|
-
this.
|
|
505
|
+
this.triggerChange(event);
|
|
494
506
|
}
|
|
495
507
|
},
|
|
496
508
|
gradientKeyDown: function gradientKeyDown(event) {
|
|
497
509
|
event.stopPropagation();
|
|
498
510
|
|
|
499
511
|
if (!this.showButtons && event.keyCode === Keys.enter) {
|
|
500
|
-
this.
|
|
512
|
+
this.triggerChange(event);
|
|
501
513
|
}
|
|
502
514
|
},
|
|
503
515
|
handleButtonKeydown: function handleButtonKeydown(e) {
|
|
@@ -620,13 +620,15 @@ var NumericTextBoxVue2 = {
|
|
|
620
620
|
attrs: this.v3 ? undefined : {
|
|
621
621
|
type: "button",
|
|
622
622
|
tabIndex: -1,
|
|
623
|
-
icon: '
|
|
623
|
+
icon: 'caret-alt-up',
|
|
624
|
+
rounded: null,
|
|
624
625
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
625
626
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue])
|
|
626
627
|
},
|
|
627
628
|
tabIndex: -1,
|
|
628
|
-
icon: '
|
|
629
|
+
icon: 'caret-alt-up',
|
|
629
630
|
"class": "k-spinner-increase",
|
|
631
|
+
rounded: null,
|
|
630
632
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
631
633
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
632
634
|
onClick: this.increase,
|
|
@@ -639,13 +641,15 @@ var NumericTextBoxVue2 = {
|
|
|
639
641
|
attrs: this.v3 ? undefined : {
|
|
640
642
|
type: "button",
|
|
641
643
|
tabIndex: -1,
|
|
642
|
-
icon: '
|
|
644
|
+
icon: 'caret-alt-down',
|
|
645
|
+
rounded: null,
|
|
643
646
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
644
647
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue])
|
|
645
648
|
},
|
|
646
649
|
tabIndex: -1,
|
|
647
650
|
"class": "k-spinner-decrease",
|
|
648
|
-
icon: '
|
|
651
|
+
icon: 'caret-alt-down',
|
|
652
|
+
rounded: null,
|
|
649
653
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
650
654
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
651
655
|
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: 1662552758,
|
|
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
|
@@ -191,12 +191,12 @@ var SliderVue2 = {
|
|
|
191
191
|
attrs: this.v3 ? undefined : {
|
|
192
192
|
type: "button",
|
|
193
193
|
tabIndex: -1,
|
|
194
|
-
icon: this.$props.vertical ? '
|
|
194
|
+
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
195
195
|
rounded: 'full',
|
|
196
196
|
title: lS.toLanguageString(sliderDecreaseValue, messages[sliderDecreaseValue])
|
|
197
197
|
},
|
|
198
198
|
tabIndex: -1,
|
|
199
|
-
icon: this.$props.vertical ? '
|
|
199
|
+
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
200
200
|
style: {
|
|
201
201
|
position: 'relative'
|
|
202
202
|
},
|
|
@@ -278,12 +278,12 @@ var SliderVue2 = {
|
|
|
278
278
|
attrs: this.v3 ? undefined : {
|
|
279
279
|
type: "button",
|
|
280
280
|
tabIndex: -1,
|
|
281
|
-
icon: this.$props.vertical ? '
|
|
281
|
+
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
282
282
|
rounded: 'full',
|
|
283
283
|
title: lS.toLanguageString(sliderIncreaseValue, messages[sliderIncreaseValue])
|
|
284
284
|
},
|
|
285
285
|
tabIndex: -1,
|
|
286
|
-
icon: this.$props.vertical ? '
|
|
286
|
+
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
287
287
|
rounded: 'full',
|
|
288
288
|
style: {
|
|
289
289
|
position: 'relative'
|
package/dist/es/switch/Switch.js
CHANGED
|
@@ -235,11 +235,11 @@ var SwitchVue2 = {
|
|
|
235
235
|
"class": 'k-switch-label-on'
|
|
236
236
|
}, [onLabel]), h("span", {
|
|
237
237
|
"class": 'k-switch-label-off'
|
|
238
|
-
}, [offLabel]), h("span", {
|
|
238
|
+
}, [offLabel])]), h("span", {
|
|
239
239
|
"class": 'k-switch-thumb-wrap'
|
|
240
240
|
}, [h("span", {
|
|
241
241
|
"class": this.switchThumbClass
|
|
242
|
-
})])])
|
|
242
|
+
})])]);
|
|
243
243
|
},
|
|
244
244
|
methods: {
|
|
245
245
|
focus: function focus() {
|
|
@@ -206,7 +206,7 @@ var CheckboxVue2 = {
|
|
|
206
206
|
});
|
|
207
207
|
var inputClasses = classNames((_a = {
|
|
208
208
|
'k-checkbox': true
|
|
209
|
-
}, _a["k-checkbox-".concat(kendoThemeMaps.sizeMap[size])] = size, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded])] = rounded, _a['k-indeterminate'] = this.indeterminateProp, _a['k-invalid k-invalid'] = !(this.isValid || validityStyles !== undefined || validityStyles === true), _a));
|
|
209
|
+
}, _a["k-checkbox-".concat(kendoThemeMaps.sizeMap[size])] = size, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded])] = rounded, _a['k-indeterminate'] = this.indeterminateProp, _a['k-disabled'] = disabled, _a['k-invalid k-invalid'] = !(this.isValid || validityStyles !== undefined || validityStyles === true), _a));
|
|
210
210
|
|
|
211
211
|
var checkboxInput = function checkboxInput() {
|
|
212
212
|
return h("input", {
|
|
@@ -387,7 +387,11 @@ var ColorGradientVue2 = {
|
|
|
387
387
|
},
|
|
388
388
|
onGradientWrapperClick: function onGradientWrapperClick(event) {
|
|
389
389
|
this.firstFocusable = getRef(this, 'draghandle');
|
|
390
|
-
|
|
390
|
+
|
|
391
|
+
if (this.firstFocusable) {
|
|
392
|
+
this.firstFocusable.focus();
|
|
393
|
+
}
|
|
394
|
+
|
|
391
395
|
this.changePosition(event);
|
|
392
396
|
},
|
|
393
397
|
move: function move(e, prop, d) {
|
|
@@ -105,12 +105,12 @@ var ColorInputVue2 = {
|
|
|
105
105
|
tabIndex: this.tabIndex,
|
|
106
106
|
type: "button",
|
|
107
107
|
fillMode: 'flat',
|
|
108
|
-
icon: '
|
|
108
|
+
icon: 'caret-alt-expand'
|
|
109
109
|
},
|
|
110
110
|
tabIndex: this.tabIndex,
|
|
111
111
|
type: "button",
|
|
112
112
|
fillMode: 'flat',
|
|
113
|
-
icon: '
|
|
113
|
+
icon: 'caret-alt-expand',
|
|
114
114
|
"class": "k-colorgradient-toggle-mode k-icon-button",
|
|
115
115
|
onClick: this.onToggleModeChange,
|
|
116
116
|
on: this.v3 ? undefined : {
|
|
@@ -313,7 +313,7 @@ var ColorPickerVue2 = {
|
|
|
313
313
|
type: "button",
|
|
314
314
|
tabindex: -1,
|
|
315
315
|
rounded: null,
|
|
316
|
-
icon: '
|
|
316
|
+
icon: 'caret-alt-down'
|
|
317
317
|
},
|
|
318
318
|
tabindex: -1,
|
|
319
319
|
ref: this.v3 ? function (el) {
|
|
@@ -325,7 +325,7 @@ var ColorPickerVue2 = {
|
|
|
325
325
|
},
|
|
326
326
|
rounded: null,
|
|
327
327
|
"class": "k-input-button",
|
|
328
|
-
icon: '
|
|
328
|
+
icon: 'caret-alt-down'
|
|
329
329
|
}), // @ts-ignore function children
|
|
330
330
|
h(Picker, {
|
|
331
331
|
dir: dir,
|
|
@@ -382,10 +382,10 @@ var FlatColorPickerVue2 = {
|
|
|
382
382
|
onClick: this.handleResetColor
|
|
383
383
|
}, this.v3 ? function () {
|
|
384
384
|
return [h("span", {
|
|
385
|
-
"class": "k-icon k-i-
|
|
385
|
+
"class": "k-icon k-i-droplet-slash"
|
|
386
386
|
})];
|
|
387
387
|
} : [h("span", {
|
|
388
|
-
"class": "k-icon k-i-
|
|
388
|
+
"class": "k-icon k-i-droplet-slash"
|
|
389
389
|
})]), this.$props.showPreview && h("div", {
|
|
390
390
|
"class": "k-coloreditor-preview k-vstack"
|
|
391
391
|
}, [h("span", {
|
|
@@ -439,9 +439,9 @@ var FlatColorPickerVue2 = {
|
|
|
439
439
|
onKeydown: this.handleButtonKeydown,
|
|
440
440
|
on: this.v3 ? undefined : {
|
|
441
441
|
"keydown": this.handleButtonKeydown,
|
|
442
|
-
"click": this.
|
|
442
|
+
"click": this.triggerChange
|
|
443
443
|
},
|
|
444
|
-
onClick: this.
|
|
444
|
+
onClick: this.triggerChange
|
|
445
445
|
}, this.v3 ? function () {
|
|
446
446
|
return [applyMessage];
|
|
447
447
|
} : [applyMessage])]), footer]);
|
|
@@ -469,14 +469,26 @@ var FlatColorPickerVue2 = {
|
|
|
469
469
|
},
|
|
470
470
|
handleResetColor: function handleResetColor() {
|
|
471
471
|
this.colorValue = null;
|
|
472
|
+
|
|
473
|
+
if (!this.showButtons) {
|
|
474
|
+
this.triggerChange();
|
|
475
|
+
}
|
|
472
476
|
},
|
|
473
477
|
handleColorChange: function handleColorChange(event) {
|
|
474
478
|
this.colorValue = event.value;
|
|
479
|
+
|
|
480
|
+
if (!this.showButtons) {
|
|
481
|
+
this.triggerChange(event);
|
|
482
|
+
}
|
|
475
483
|
},
|
|
476
484
|
handlePaletteColorChange: function handlePaletteColorChange(event) {
|
|
477
485
|
this.colorValue = event.value;
|
|
486
|
+
|
|
487
|
+
if (!this.showButtons) {
|
|
488
|
+
this.triggerChange(event);
|
|
489
|
+
}
|
|
478
490
|
},
|
|
479
|
-
|
|
491
|
+
triggerChange: function triggerChange(event) {
|
|
480
492
|
var rgbaValue = parseColor(this.colorValue, 'rgba');
|
|
481
493
|
this.currentPrevColor = this.colorValue;
|
|
482
494
|
this.$emit('changemodel', this.colorValue);
|
|
@@ -490,14 +502,14 @@ var FlatColorPickerVue2 = {
|
|
|
490
502
|
},
|
|
491
503
|
innerKeyDown: function innerKeyDown(event) {
|
|
492
504
|
if (event.keyCode === Keys.enter) {
|
|
493
|
-
this.
|
|
505
|
+
this.triggerChange(event);
|
|
494
506
|
}
|
|
495
507
|
},
|
|
496
508
|
gradientKeyDown: function gradientKeyDown(event) {
|
|
497
509
|
event.stopPropagation();
|
|
498
510
|
|
|
499
511
|
if (!this.showButtons && event.keyCode === Keys.enter) {
|
|
500
|
-
this.
|
|
512
|
+
this.triggerChange(event);
|
|
501
513
|
}
|
|
502
514
|
},
|
|
503
515
|
handleButtonKeydown: function handleButtonKeydown(e) {
|
|
@@ -620,13 +620,15 @@ var NumericTextBoxVue2 = {
|
|
|
620
620
|
attrs: this.v3 ? undefined : {
|
|
621
621
|
type: "button",
|
|
622
622
|
tabIndex: -1,
|
|
623
|
-
icon: '
|
|
623
|
+
icon: 'caret-alt-up',
|
|
624
|
+
rounded: null,
|
|
624
625
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
625
626
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue])
|
|
626
627
|
},
|
|
627
628
|
tabIndex: -1,
|
|
628
|
-
icon: '
|
|
629
|
+
icon: 'caret-alt-up',
|
|
629
630
|
"class": "k-spinner-increase",
|
|
631
|
+
rounded: null,
|
|
630
632
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
631
633
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
632
634
|
onClick: this.increase,
|
|
@@ -639,13 +641,15 @@ var NumericTextBoxVue2 = {
|
|
|
639
641
|
attrs: this.v3 ? undefined : {
|
|
640
642
|
type: "button",
|
|
641
643
|
tabIndex: -1,
|
|
642
|
-
icon: '
|
|
644
|
+
icon: 'caret-alt-down',
|
|
645
|
+
rounded: null,
|
|
643
646
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
644
647
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue])
|
|
645
648
|
},
|
|
646
649
|
tabIndex: -1,
|
|
647
650
|
"class": "k-spinner-decrease",
|
|
648
|
-
icon: '
|
|
651
|
+
icon: 'caret-alt-down',
|
|
652
|
+
rounded: null,
|
|
649
653
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
650
654
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
651
655
|
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: 1662552758,
|
|
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
|
};
|
|
@@ -191,12 +191,12 @@ var SliderVue2 = {
|
|
|
191
191
|
attrs: this.v3 ? undefined : {
|
|
192
192
|
type: "button",
|
|
193
193
|
tabIndex: -1,
|
|
194
|
-
icon: this.$props.vertical ? '
|
|
194
|
+
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
195
195
|
rounded: 'full',
|
|
196
196
|
title: lS.toLanguageString(sliderDecreaseValue, messages[sliderDecreaseValue])
|
|
197
197
|
},
|
|
198
198
|
tabIndex: -1,
|
|
199
|
-
icon: this.$props.vertical ? '
|
|
199
|
+
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
200
200
|
style: {
|
|
201
201
|
position: 'relative'
|
|
202
202
|
},
|
|
@@ -278,12 +278,12 @@ var SliderVue2 = {
|
|
|
278
278
|
attrs: this.v3 ? undefined : {
|
|
279
279
|
type: "button",
|
|
280
280
|
tabIndex: -1,
|
|
281
|
-
icon: this.$props.vertical ? '
|
|
281
|
+
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
282
282
|
rounded: 'full',
|
|
283
283
|
title: lS.toLanguageString(sliderIncreaseValue, messages[sliderIncreaseValue])
|
|
284
284
|
},
|
|
285
285
|
tabIndex: -1,
|
|
286
|
-
icon: this.$props.vertical ? '
|
|
286
|
+
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
287
287
|
rounded: 'full',
|
|
288
288
|
style: {
|
|
289
289
|
position: 'relative'
|
|
@@ -235,11 +235,11 @@ var SwitchVue2 = {
|
|
|
235
235
|
"class": 'k-switch-label-on'
|
|
236
236
|
}, [onLabel]), h("span", {
|
|
237
237
|
"class": 'k-switch-label-off'
|
|
238
|
-
}, [offLabel]), h("span", {
|
|
238
|
+
}, [offLabel])]), h("span", {
|
|
239
239
|
"class": 'k-switch-thumb-wrap'
|
|
240
240
|
}, [h("span", {
|
|
241
241
|
"class": this.switchThumbClass
|
|
242
|
-
})])])
|
|
242
|
+
})])]);
|
|
243
243
|
},
|
|
244
244
|
methods: {
|
|
245
245
|
focus: function focus() {
|
|
@@ -218,7 +218,7 @@ var CheckboxVue2 = {
|
|
|
218
218
|
});
|
|
219
219
|
var inputClasses = (0, kendo_vue_common_1.classNames)((_a = {
|
|
220
220
|
'k-checkbox': true
|
|
221
|
-
}, _a["k-checkbox-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size])] = size, _a["k-rounded-".concat(kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded])] = rounded, _a['k-indeterminate'] = this.indeterminateProp, _a['k-invalid k-invalid'] = !(this.isValid || validityStyles !== undefined || validityStyles === true), _a));
|
|
221
|
+
}, _a["k-checkbox-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size])] = size, _a["k-rounded-".concat(kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded])] = rounded, _a['k-indeterminate'] = this.indeterminateProp, _a['k-disabled'] = disabled, _a['k-invalid k-invalid'] = !(this.isValid || validityStyles !== undefined || validityStyles === true), _a));
|
|
222
222
|
|
|
223
223
|
var checkboxInput = function checkboxInput() {
|
|
224
224
|
return h("input", {
|
|
@@ -407,7 +407,11 @@ var ColorGradientVue2 = {
|
|
|
407
407
|
},
|
|
408
408
|
onGradientWrapperClick: function onGradientWrapperClick(event) {
|
|
409
409
|
this.firstFocusable = (0, kendo_vue_common_1.getRef)(this, 'draghandle');
|
|
410
|
-
|
|
410
|
+
|
|
411
|
+
if (this.firstFocusable) {
|
|
412
|
+
this.firstFocusable.focus();
|
|
413
|
+
}
|
|
414
|
+
|
|
411
415
|
this.changePosition(event);
|
|
412
416
|
},
|
|
413
417
|
move: function move(e, prop, d) {
|
|
@@ -120,12 +120,12 @@ var ColorInputVue2 = {
|
|
|
120
120
|
tabIndex: this.tabIndex,
|
|
121
121
|
type: "button",
|
|
122
122
|
fillMode: 'flat',
|
|
123
|
-
icon: '
|
|
123
|
+
icon: 'caret-alt-expand'
|
|
124
124
|
},
|
|
125
125
|
tabIndex: this.tabIndex,
|
|
126
126
|
type: "button",
|
|
127
127
|
fillMode: 'flat',
|
|
128
|
-
icon: '
|
|
128
|
+
icon: 'caret-alt-expand',
|
|
129
129
|
"class": "k-colorgradient-toggle-mode k-icon-button",
|
|
130
130
|
onClick: this.onToggleModeChange,
|
|
131
131
|
on: this.v3 ? undefined : {
|
|
@@ -326,7 +326,7 @@ var ColorPickerVue2 = {
|
|
|
326
326
|
type: "button",
|
|
327
327
|
tabindex: -1,
|
|
328
328
|
rounded: null,
|
|
329
|
-
icon: '
|
|
329
|
+
icon: 'caret-alt-down'
|
|
330
330
|
},
|
|
331
331
|
tabindex: -1,
|
|
332
332
|
ref: this.v3 ? function (el) {
|
|
@@ -338,7 +338,7 @@ var ColorPickerVue2 = {
|
|
|
338
338
|
},
|
|
339
339
|
rounded: null,
|
|
340
340
|
"class": "k-input-button",
|
|
341
|
-
icon: '
|
|
341
|
+
icon: 'caret-alt-down'
|
|
342
342
|
}), // @ts-ignore function children
|
|
343
343
|
h(Picker_1.Picker, {
|
|
344
344
|
dir: dir,
|
|
@@ -399,10 +399,10 @@ var FlatColorPickerVue2 = {
|
|
|
399
399
|
onClick: this.handleResetColor
|
|
400
400
|
}, this.v3 ? function () {
|
|
401
401
|
return [h("span", {
|
|
402
|
-
"class": "k-icon k-i-
|
|
402
|
+
"class": "k-icon k-i-droplet-slash"
|
|
403
403
|
})];
|
|
404
404
|
} : [h("span", {
|
|
405
|
-
"class": "k-icon k-i-
|
|
405
|
+
"class": "k-icon k-i-droplet-slash"
|
|
406
406
|
})]), this.$props.showPreview && h("div", {
|
|
407
407
|
"class": "k-coloreditor-preview k-vstack"
|
|
408
408
|
}, [h("span", {
|
|
@@ -456,9 +456,9 @@ var FlatColorPickerVue2 = {
|
|
|
456
456
|
onKeydown: this.handleButtonKeydown,
|
|
457
457
|
on: this.v3 ? undefined : {
|
|
458
458
|
"keydown": this.handleButtonKeydown,
|
|
459
|
-
"click": this.
|
|
459
|
+
"click": this.triggerChange
|
|
460
460
|
},
|
|
461
|
-
onClick: this.
|
|
461
|
+
onClick: this.triggerChange
|
|
462
462
|
}, this.v3 ? function () {
|
|
463
463
|
return [applyMessage];
|
|
464
464
|
} : [applyMessage])]), footer]);
|
|
@@ -486,14 +486,26 @@ var FlatColorPickerVue2 = {
|
|
|
486
486
|
},
|
|
487
487
|
handleResetColor: function handleResetColor() {
|
|
488
488
|
this.colorValue = null;
|
|
489
|
+
|
|
490
|
+
if (!this.showButtons) {
|
|
491
|
+
this.triggerChange();
|
|
492
|
+
}
|
|
489
493
|
},
|
|
490
494
|
handleColorChange: function handleColorChange(event) {
|
|
491
495
|
this.colorValue = event.value;
|
|
496
|
+
|
|
497
|
+
if (!this.showButtons) {
|
|
498
|
+
this.triggerChange(event);
|
|
499
|
+
}
|
|
492
500
|
},
|
|
493
501
|
handlePaletteColorChange: function handlePaletteColorChange(event) {
|
|
494
502
|
this.colorValue = event.value;
|
|
503
|
+
|
|
504
|
+
if (!this.showButtons) {
|
|
505
|
+
this.triggerChange(event);
|
|
506
|
+
}
|
|
495
507
|
},
|
|
496
|
-
|
|
508
|
+
triggerChange: function triggerChange(event) {
|
|
497
509
|
var rgbaValue = (0, color_parser_1.parseColor)(this.colorValue, 'rgba');
|
|
498
510
|
this.currentPrevColor = this.colorValue;
|
|
499
511
|
this.$emit('changemodel', this.colorValue);
|
|
@@ -507,14 +519,14 @@ var FlatColorPickerVue2 = {
|
|
|
507
519
|
},
|
|
508
520
|
innerKeyDown: function innerKeyDown(event) {
|
|
509
521
|
if (event.keyCode === kendo_vue_common_1.Keys.enter) {
|
|
510
|
-
this.
|
|
522
|
+
this.triggerChange(event);
|
|
511
523
|
}
|
|
512
524
|
},
|
|
513
525
|
gradientKeyDown: function gradientKeyDown(event) {
|
|
514
526
|
event.stopPropagation();
|
|
515
527
|
|
|
516
528
|
if (!this.showButtons && event.keyCode === kendo_vue_common_1.Keys.enter) {
|
|
517
|
-
this.
|
|
529
|
+
this.triggerChange(event);
|
|
518
530
|
}
|
|
519
531
|
},
|
|
520
532
|
handleButtonKeydown: function handleButtonKeydown(e) {
|
|
@@ -635,13 +635,15 @@ var NumericTextBoxVue2 = {
|
|
|
635
635
|
attrs: this.v3 ? undefined : {
|
|
636
636
|
type: "button",
|
|
637
637
|
tabIndex: -1,
|
|
638
|
-
icon: '
|
|
638
|
+
icon: 'caret-alt-up',
|
|
639
|
+
rounded: null,
|
|
639
640
|
"aria-label": localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue]),
|
|
640
641
|
title: localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue])
|
|
641
642
|
},
|
|
642
643
|
tabIndex: -1,
|
|
643
|
-
icon: '
|
|
644
|
+
icon: 'caret-alt-up',
|
|
644
645
|
"class": "k-spinner-increase",
|
|
646
|
+
rounded: null,
|
|
645
647
|
"aria-label": localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue]),
|
|
646
648
|
title: localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue]),
|
|
647
649
|
onClick: this.increase,
|
|
@@ -654,13 +656,15 @@ var NumericTextBoxVue2 = {
|
|
|
654
656
|
attrs: this.v3 ? undefined : {
|
|
655
657
|
type: "button",
|
|
656
658
|
tabIndex: -1,
|
|
657
|
-
icon: '
|
|
659
|
+
icon: 'caret-alt-down',
|
|
660
|
+
rounded: null,
|
|
658
661
|
"aria-label": localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue]),
|
|
659
662
|
title: localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue])
|
|
660
663
|
},
|
|
661
664
|
tabIndex: -1,
|
|
662
665
|
"class": "k-spinner-decrease",
|
|
663
|
-
icon: '
|
|
666
|
+
icon: 'caret-alt-down',
|
|
667
|
+
rounded: null,
|
|
664
668
|
"aria-label": localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue]),
|
|
665
669
|
title: localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue]),
|
|
666
670
|
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: 1662552758,
|
|
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
|
};
|
|
@@ -205,12 +205,12 @@ var SliderVue2 = {
|
|
|
205
205
|
attrs: this.v3 ? undefined : {
|
|
206
206
|
type: "button",
|
|
207
207
|
tabIndex: -1,
|
|
208
|
-
icon: this.$props.vertical ? '
|
|
208
|
+
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
209
209
|
rounded: 'full',
|
|
210
210
|
title: lS.toLanguageString(main_1.sliderDecreaseValue, main_1.messages[main_1.sliderDecreaseValue])
|
|
211
211
|
},
|
|
212
212
|
tabIndex: -1,
|
|
213
|
-
icon: this.$props.vertical ? '
|
|
213
|
+
icon: this.$props.vertical ? 'caret-alt-down' : 'caret-alt-left',
|
|
214
214
|
style: {
|
|
215
215
|
position: 'relative'
|
|
216
216
|
},
|
|
@@ -292,12 +292,12 @@ var SliderVue2 = {
|
|
|
292
292
|
attrs: this.v3 ? undefined : {
|
|
293
293
|
type: "button",
|
|
294
294
|
tabIndex: -1,
|
|
295
|
-
icon: this.$props.vertical ? '
|
|
295
|
+
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
296
296
|
rounded: 'full',
|
|
297
297
|
title: lS.toLanguageString(main_1.sliderIncreaseValue, main_1.messages[main_1.sliderIncreaseValue])
|
|
298
298
|
},
|
|
299
299
|
tabIndex: -1,
|
|
300
|
-
icon: this.$props.vertical ? '
|
|
300
|
+
icon: this.$props.vertical ? 'caret-alt-up' : 'caret-alt-right',
|
|
301
301
|
rounded: 'full',
|
|
302
302
|
style: {
|
|
303
303
|
position: 'relative'
|