@progress/kendo-vue-inputs 3.7.4-dev.202212020747 → 3.7.4-dev.202301091431
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/README.md +1 -1
- package/dist/cdn/js/kendo-vue-inputs.js +1 -1
- package/dist/es/colors/ColorContrastLabels.js +37 -10
- package/dist/es/colors/ColorGradient.js +14 -4
- package/dist/es/colors/ColorInput.js +4 -1
- package/dist/es/colors/ColorPicker.js +26 -7
- package/dist/es/colors/FlatColorPicker.js +72 -21
- package/dist/es/input/Input.d.ts +9 -0
- package/dist/es/input/Input.js +40 -11
- package/dist/es/main.d.ts +2 -0
- package/dist/es/main.js +2 -0
- package/dist/es/maskedtextbox/MaskedTextBox.js +37 -9
- package/dist/es/messages/main.d.ts +40 -0
- package/dist/es/messages/main.js +41 -2
- package/dist/es/numerictextbox/NumericTextBox.js +40 -12
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/range-slider/RangeSlider.js +9 -3
- package/dist/es/signature/Signature.d.ts +39 -0
- package/dist/es/signature/Signature.js +633 -0
- package/dist/es/signature/SignatureCanvas.d.ts +39 -0
- package/dist/es/signature/SignatureCanvas.js +282 -0
- package/dist/es/signature/interfaces/SignatureBlurEvent.d.ts +5 -0
- package/dist/es/signature/interfaces/SignatureBlurEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureCanvasProps.d.ts +14 -0
- package/dist/es/signature/interfaces/SignatureCanvasProps.js +1 -0
- package/dist/es/signature/interfaces/SignatureChangeEvent.d.ts +9 -0
- package/dist/es/signature/interfaces/SignatureChangeEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureCloseEvent.d.ts +5 -0
- package/dist/es/signature/interfaces/SignatureCloseEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureFocusEvent.d.ts +5 -0
- package/dist/es/signature/interfaces/SignatureFocusEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureHandle.d.ts +42 -0
- package/dist/es/signature/interfaces/SignatureHandle.js +1 -0
- package/dist/es/signature/interfaces/SignatureOpenEvent.d.ts +5 -0
- package/dist/es/signature/interfaces/SignatureOpenEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureProps.d.ts +192 -0
- package/dist/es/signature/interfaces/SignatureProps.js +1 -0
- package/dist/es/signature/interfaces/index.d.ts +7 -0
- package/dist/es/signature/interfaces/index.js +1 -0
- package/dist/es/signature/utils/index.d.ts +4 -0
- package/dist/es/signature/utils/index.js +10 -0
- package/dist/es/slider/Slider.js +42 -25
- package/dist/es/switch/Switch.js +7 -7
- package/dist/es/textarea/TextArea.js +27 -9
- package/dist/esm/colors/ColorContrastLabels.js +37 -10
- package/dist/esm/colors/ColorGradient.js +14 -4
- package/dist/esm/colors/ColorInput.js +4 -1
- package/dist/esm/colors/ColorPicker.js +26 -7
- package/dist/esm/colors/FlatColorPicker.js +72 -21
- package/dist/esm/input/Input.d.ts +9 -0
- package/dist/esm/input/Input.js +40 -11
- package/dist/esm/main.d.ts +2 -0
- package/dist/esm/main.js +2 -0
- package/dist/esm/maskedtextbox/MaskedTextBox.js +37 -9
- package/dist/esm/messages/main.d.ts +40 -0
- package/dist/esm/messages/main.js +41 -2
- package/dist/esm/numerictextbox/NumericTextBox.js +40 -12
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/range-slider/RangeSlider.js +9 -3
- package/dist/esm/signature/Signature.d.ts +39 -0
- package/dist/esm/signature/Signature.js +633 -0
- package/dist/esm/signature/SignatureCanvas.d.ts +39 -0
- package/dist/esm/signature/SignatureCanvas.js +282 -0
- package/dist/esm/signature/interfaces/SignatureBlurEvent.d.ts +5 -0
- package/dist/esm/signature/interfaces/SignatureBlurEvent.js +1 -0
- package/dist/esm/signature/interfaces/SignatureCanvasProps.d.ts +14 -0
- package/dist/esm/signature/interfaces/SignatureCanvasProps.js +1 -0
- package/dist/esm/signature/interfaces/SignatureChangeEvent.d.ts +9 -0
- package/dist/esm/signature/interfaces/SignatureChangeEvent.js +1 -0
- package/dist/esm/signature/interfaces/SignatureCloseEvent.d.ts +5 -0
- package/dist/esm/signature/interfaces/SignatureCloseEvent.js +1 -0
- package/dist/esm/signature/interfaces/SignatureFocusEvent.d.ts +5 -0
- package/dist/esm/signature/interfaces/SignatureFocusEvent.js +1 -0
- package/dist/esm/signature/interfaces/SignatureHandle.d.ts +42 -0
- package/dist/esm/signature/interfaces/SignatureHandle.js +1 -0
- package/dist/esm/signature/interfaces/SignatureOpenEvent.d.ts +5 -0
- package/dist/esm/signature/interfaces/SignatureOpenEvent.js +1 -0
- package/dist/esm/signature/interfaces/SignatureProps.d.ts +192 -0
- package/dist/esm/signature/interfaces/SignatureProps.js +1 -0
- package/dist/esm/signature/interfaces/index.d.ts +7 -0
- package/dist/esm/signature/interfaces/index.js +1 -0
- package/dist/esm/signature/utils/index.d.ts +4 -0
- package/dist/esm/signature/utils/index.js +10 -0
- package/dist/esm/slider/Slider.js +42 -25
- package/dist/esm/switch/Switch.js +7 -7
- package/dist/esm/textarea/TextArea.js +27 -9
- package/dist/npm/colors/ColorContrastLabels.js +37 -10
- package/dist/npm/colors/ColorGradient.js +13 -3
- package/dist/npm/colors/ColorInput.js +4 -1
- package/dist/npm/colors/ColorPicker.js +26 -7
- package/dist/npm/colors/FlatColorPicker.js +71 -20
- package/dist/npm/input/Input.d.ts +9 -0
- package/dist/npm/input/Input.js +39 -10
- package/dist/npm/main.d.ts +2 -0
- package/dist/npm/main.js +2 -0
- package/dist/npm/maskedtextbox/MaskedTextBox.js +36 -8
- package/dist/npm/messages/main.d.ts +40 -0
- package/dist/npm/messages/main.js +42 -3
- package/dist/npm/numerictextbox/NumericTextBox.js +39 -11
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/range-slider/RangeSlider.js +9 -3
- package/dist/npm/signature/Signature.d.ts +39 -0
- package/dist/npm/signature/Signature.js +640 -0
- package/dist/npm/signature/SignatureCanvas.d.ts +39 -0
- package/dist/npm/signature/SignatureCanvas.js +289 -0
- package/dist/npm/signature/interfaces/SignatureBlurEvent.d.ts +5 -0
- package/dist/npm/signature/interfaces/SignatureBlurEvent.js +5 -0
- package/dist/npm/signature/interfaces/SignatureCanvasProps.d.ts +14 -0
- package/dist/npm/signature/interfaces/SignatureCanvasProps.js +5 -0
- package/dist/npm/signature/interfaces/SignatureChangeEvent.d.ts +9 -0
- package/dist/npm/signature/interfaces/SignatureChangeEvent.js +5 -0
- package/dist/npm/signature/interfaces/SignatureCloseEvent.d.ts +5 -0
- package/dist/npm/signature/interfaces/SignatureCloseEvent.js +5 -0
- package/dist/npm/signature/interfaces/SignatureFocusEvent.d.ts +5 -0
- package/dist/npm/signature/interfaces/SignatureFocusEvent.js +5 -0
- package/dist/npm/signature/interfaces/SignatureHandle.d.ts +42 -0
- package/dist/npm/signature/interfaces/SignatureHandle.js +5 -0
- package/dist/npm/signature/interfaces/SignatureOpenEvent.d.ts +5 -0
- package/dist/npm/signature/interfaces/SignatureOpenEvent.js +5 -0
- package/dist/npm/signature/interfaces/SignatureProps.d.ts +192 -0
- package/dist/npm/signature/interfaces/SignatureProps.js +5 -0
- package/dist/npm/signature/interfaces/index.d.ts +7 -0
- package/dist/npm/signature/interfaces/index.js +2 -0
- package/dist/npm/signature/utils/index.d.ts +4 -0
- package/dist/npm/signature/utils/index.js +14 -0
- package/dist/npm/slider/Slider.js +41 -24
- package/dist/npm/switch/Switch.js +7 -7
- package/dist/npm/textarea/TextArea.js +26 -8
- package/package.json +19 -13
package/dist/npm/input/Input.js
CHANGED
|
@@ -25,6 +25,7 @@ var ref = allVue.ref;
|
|
|
25
25
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
26
26
|
var package_metadata_1 = require("../package-metadata");
|
|
27
27
|
var kendo_vue_labels_1 = require("@progress/kendo-vue-labels");
|
|
28
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
28
29
|
/**
|
|
29
30
|
* @hidden
|
|
30
31
|
*/
|
|
@@ -114,7 +115,9 @@ var InputVue2 = {
|
|
|
114
115
|
showClearButton: Boolean,
|
|
115
116
|
inputClass: String,
|
|
116
117
|
wrapperClass: String,
|
|
117
|
-
tabIndex: Number
|
|
118
|
+
tabIndex: Number,
|
|
119
|
+
ariaLabelledBy: String,
|
|
120
|
+
ariaDescribedBy: String
|
|
118
121
|
},
|
|
119
122
|
data: function data() {
|
|
120
123
|
return {
|
|
@@ -163,7 +166,9 @@ var InputVue2 = {
|
|
|
163
166
|
showValidationIcon = _a.showValidationIcon,
|
|
164
167
|
showLoadingIcon = _a.showLoadingIcon,
|
|
165
168
|
showClearButton = _a.showClearButton,
|
|
166
|
-
tabIndex = _a.tabIndex
|
|
169
|
+
tabIndex = _a.tabIndex,
|
|
170
|
+
ariaLabelledBy = _a.ariaLabelledBy,
|
|
171
|
+
ariaDescribedBy = _a.ariaDescribedBy;
|
|
167
172
|
var inputId = id || this._inputId;
|
|
168
173
|
var textbox = h('input', __assign(__assign({
|
|
169
174
|
domProps: this.v3 ? null : __assign(__assign({}, this.$attrs), {
|
|
@@ -180,6 +185,9 @@ var InputVue2 = {
|
|
|
180
185
|
id: inputId,
|
|
181
186
|
tabindex: tabIndex,
|
|
182
187
|
required: required,
|
|
188
|
+
ariaLabelledby: ariaLabelledBy,
|
|
189
|
+
ariaDescribedby: ariaDescribedBy,
|
|
190
|
+
ariaDisabled: this.$props.disabled,
|
|
183
191
|
value: this.computedValue,
|
|
184
192
|
class: this.inputInnerClass,
|
|
185
193
|
ref: this.v3 ? function (el) {
|
|
@@ -229,16 +237,32 @@ var InputVue2 = {
|
|
|
229
237
|
ref: this.v3 ? function (el) {
|
|
230
238
|
_this.wrapperRef = el;
|
|
231
239
|
} : 'wrapper'
|
|
232
|
-
}, [iconName && h(
|
|
233
|
-
|
|
240
|
+
}, [iconName && h(kendo_vue_common_1.Icon, {
|
|
241
|
+
name: iconName,
|
|
242
|
+
attrs: this.v3 ? undefined : {
|
|
243
|
+
name: iconName
|
|
244
|
+
},
|
|
245
|
+
"class": "k-input-icon"
|
|
234
246
|
}), this.$props.inputPrefix && h("span", {
|
|
235
247
|
"class": "k-input-prefix"
|
|
236
248
|
}, [inputPrefix]), textbox, this.$props.inputSuffix && h("span", {
|
|
237
249
|
"class": "k-input-suffix"
|
|
238
|
-
}, [inputSuffix]), showValidationIcon && isValid && h(
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
250
|
+
}, [inputSuffix]), showValidationIcon && isValid && h(kendo_vue_common_1.Icon, {
|
|
251
|
+
name: 'check',
|
|
252
|
+
attrs: this.v3 ? undefined : {
|
|
253
|
+
name: 'check',
|
|
254
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
255
|
+
},
|
|
256
|
+
icon: kendo_svg_icons_1.checkIcon,
|
|
257
|
+
"class": "k-input-validation-icon"
|
|
258
|
+
}), showValidationIcon && !isValid && h(kendo_vue_common_1.Icon, {
|
|
259
|
+
name: 'exclamation-circle',
|
|
260
|
+
attrs: this.v3 ? undefined : {
|
|
261
|
+
name: 'exclamation-circle',
|
|
262
|
+
icon: kendo_svg_icons_1.exclamationCircleIcon
|
|
263
|
+
},
|
|
264
|
+
icon: kendo_svg_icons_1.exclamationCircleIcon,
|
|
265
|
+
"class": "k-input-validation-icon"
|
|
242
266
|
}), showLoadingIcon && h("span", {
|
|
243
267
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
244
268
|
}), showClearButton && this.computedValue && h("span", {
|
|
@@ -247,8 +271,13 @@ var InputVue2 = {
|
|
|
247
271
|
"click": this.clearClick
|
|
248
272
|
},
|
|
249
273
|
"class": "k-clear-value"
|
|
250
|
-
}, [h(
|
|
251
|
-
|
|
274
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
275
|
+
name: 'x',
|
|
276
|
+
attrs: this.v3 ? undefined : {
|
|
277
|
+
name: 'x',
|
|
278
|
+
icon: kendo_svg_icons_1.xIcon
|
|
279
|
+
},
|
|
280
|
+
icon: kendo_svg_icons_1.xIcon
|
|
252
281
|
})])]);
|
|
253
282
|
return label ?
|
|
254
283
|
// @ts-ignore function children
|
package/dist/npm/main.d.ts
CHANGED
|
@@ -37,3 +37,5 @@ export * from './textarea/TextArea';
|
|
|
37
37
|
export * from './textarea/interfaces/TextAreaProps';
|
|
38
38
|
export * from './textarea/interfaces/TextAreaChangeEvent';
|
|
39
39
|
export * from './textarea/interfaces/TextAreaFocusEvent';
|
|
40
|
+
export * from './signature/Signature';
|
|
41
|
+
export * from './signature/interfaces';
|
package/dist/npm/main.js
CHANGED
|
@@ -56,3 +56,5 @@ __exportStar(require("./textarea/TextArea"), exports);
|
|
|
56
56
|
__exportStar(require("./textarea/interfaces/TextAreaProps"), exports);
|
|
57
57
|
__exportStar(require("./textarea/interfaces/TextAreaChangeEvent"), exports);
|
|
58
58
|
__exportStar(require("./textarea/interfaces/TextAreaFocusEvent"), exports);
|
|
59
|
+
__exportStar(require("./signature/Signature"), exports);
|
|
60
|
+
__exportStar(require("./signature/interfaces"), exports);
|
|
@@ -14,6 +14,7 @@ var masking_service_1 = require("./masking.service");
|
|
|
14
14
|
var utils_1 = require("./utils");
|
|
15
15
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
16
16
|
var package_metadata_1 = require("../package-metadata");
|
|
17
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
17
18
|
/**
|
|
18
19
|
* @hidden
|
|
19
20
|
*/
|
|
@@ -21,6 +22,8 @@ var MaskedTextBoxVue2 = {
|
|
|
21
22
|
model: {
|
|
22
23
|
event: 'changemodel'
|
|
23
24
|
},
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
emits: ['change', 'focus', 'blur', 'update:modelValue', 'update:modelRawValue', 'changemodel'],
|
|
24
27
|
props: {
|
|
25
28
|
type: {
|
|
26
29
|
type: String,
|
|
@@ -398,8 +401,12 @@ var MaskedTextBoxVue2 = {
|
|
|
398
401
|
style: !this.$props.label ? {
|
|
399
402
|
width: this.$props.width
|
|
400
403
|
} : undefined
|
|
401
|
-
}, [iconName && h(
|
|
402
|
-
|
|
404
|
+
}, [iconName && h(kendo_vue_common_1.Icon, {
|
|
405
|
+
name: iconName,
|
|
406
|
+
attrs: this.v3 ? undefined : {
|
|
407
|
+
name: iconName
|
|
408
|
+
},
|
|
409
|
+
"class": 'k-input-icon'
|
|
403
410
|
}), this.$props.inputPrefix && h("span", {
|
|
404
411
|
"class": "k-input-prefix"
|
|
405
412
|
}, [inputPrefix]), h("input", {
|
|
@@ -413,6 +420,7 @@ var MaskedTextBoxVue2 = {
|
|
|
413
420
|
id: inputId,
|
|
414
421
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
415
422
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
423
|
+
"aria-disabled": this.$props.disabled,
|
|
416
424
|
name: this.$props.name,
|
|
417
425
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(this.$props.tabIndex, this.$props.disabled, true),
|
|
418
426
|
accesskey: this.$props.accessKey,
|
|
@@ -420,6 +428,7 @@ var MaskedTextBoxVue2 = {
|
|
|
420
428
|
disabled: this.$props.disabled || undefined,
|
|
421
429
|
readonly: this.$props.readonly || undefined,
|
|
422
430
|
placeholder: this.$props.placeholder,
|
|
431
|
+
"aria-placeholder": this.$props.placeholder,
|
|
423
432
|
required: this.$props.required
|
|
424
433
|
},
|
|
425
434
|
autocomplete: "off",
|
|
@@ -434,6 +443,7 @@ var MaskedTextBoxVue2 = {
|
|
|
434
443
|
id: inputId,
|
|
435
444
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
436
445
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
446
|
+
"aria-disabled": this.$props.disabled,
|
|
437
447
|
name: this.$props.name,
|
|
438
448
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(this.$props.tabIndex, this.$props.disabled, true),
|
|
439
449
|
accesskey: this.$props.accessKey,
|
|
@@ -441,6 +451,7 @@ var MaskedTextBoxVue2 = {
|
|
|
441
451
|
disabled: this.$props.disabled || undefined,
|
|
442
452
|
readonly: this.$props.readonly || undefined,
|
|
443
453
|
placeholder: this.$props.placeholder,
|
|
454
|
+
"aria-placeholder": this.$props.placeholder,
|
|
444
455
|
required: this.$props.required,
|
|
445
456
|
ref: (0, kendo_vue_common_1.setRef)(this, 'input'),
|
|
446
457
|
onInput: this.onChangeHandler,
|
|
@@ -459,10 +470,22 @@ var MaskedTextBoxVue2 = {
|
|
|
459
470
|
onDrop: utils_1.returnFalse
|
|
460
471
|
}), this.$props.inputSuffix && h("span", {
|
|
461
472
|
"class": "k-input-suffix"
|
|
462
|
-
}, [inputSuffix]), showValidationIcon && isValid && h(
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
473
|
+
}, [inputSuffix]), showValidationIcon && isValid && h(kendo_vue_common_1.Icon, {
|
|
474
|
+
name: 'check',
|
|
475
|
+
attrs: this.v3 ? undefined : {
|
|
476
|
+
name: 'check',
|
|
477
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
478
|
+
},
|
|
479
|
+
icon: kendo_svg_icons_1.checkIcon,
|
|
480
|
+
"class": "k-input-validation-icon"
|
|
481
|
+
}), showValidationIcon && !isValid && h(kendo_vue_common_1.Icon, {
|
|
482
|
+
name: 'exclamation-circle',
|
|
483
|
+
attrs: this.v3 ? undefined : {
|
|
484
|
+
name: 'exclamation-circle',
|
|
485
|
+
icon: kendo_svg_icons_1.exclamationCircleIcon
|
|
486
|
+
},
|
|
487
|
+
icon: kendo_svg_icons_1.exclamationCircleIcon,
|
|
488
|
+
"class": "k-input-validation-icon"
|
|
466
489
|
}), showLoadingIcon && h("span", {
|
|
467
490
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
468
491
|
}), showClearButton && newValue && h("span", {
|
|
@@ -471,8 +494,13 @@ var MaskedTextBoxVue2 = {
|
|
|
471
494
|
"click": this.clearClick
|
|
472
495
|
},
|
|
473
496
|
"class": "k-clear-value"
|
|
474
|
-
}, [h(
|
|
475
|
-
|
|
497
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
498
|
+
name: 'x',
|
|
499
|
+
attrs: this.v3 ? undefined : {
|
|
500
|
+
name: 'x',
|
|
501
|
+
icon: kendo_svg_icons_1.xIcon
|
|
502
|
+
},
|
|
503
|
+
icon: kendo_svg_icons_1.xIcon
|
|
476
504
|
})])]);
|
|
477
505
|
return this.$props.label ? h("span", {
|
|
478
506
|
"class": this.spanClassNames,
|
|
@@ -42,6 +42,10 @@ export declare const colorGradientA = "colorGradient.a";
|
|
|
42
42
|
* @hidden
|
|
43
43
|
*/
|
|
44
44
|
export declare const colorGradientHex = "colorGradient.hex";
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
export declare const colorGradientHexLabel = "colorGradient.hexLabel";
|
|
45
49
|
/**
|
|
46
50
|
* @hidden
|
|
47
51
|
*/
|
|
@@ -82,6 +86,14 @@ export declare const colorGradientPass = "colorGradient.colorGradientPass";
|
|
|
82
86
|
* @hidden
|
|
83
87
|
*/
|
|
84
88
|
export declare const colorGradientFail = "colorGradient.colorGradientFail";
|
|
89
|
+
/**
|
|
90
|
+
* @hidden
|
|
91
|
+
*/
|
|
92
|
+
export declare const colorGradientHueSliderLabel = "colorGradient.hueSliderLabel";
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
export declare const colorGradientAlphaSliderLabel = "colorGradient.alphaSliderLabel";
|
|
85
97
|
/**
|
|
86
98
|
* @hidden
|
|
87
99
|
*/
|
|
@@ -122,6 +134,26 @@ export declare const switchValidation = "switch.validation";
|
|
|
122
134
|
* @hidden
|
|
123
135
|
*/
|
|
124
136
|
export declare const colorPickerDropdownButtonAriaLabel = "colorPicker.dropdownButtonAriaLabel";
|
|
137
|
+
/**
|
|
138
|
+
* @hidden
|
|
139
|
+
*/
|
|
140
|
+
export declare const colorGradientToggleInputsButton = "colorGradient.toggleInputsButton";
|
|
141
|
+
/**
|
|
142
|
+
* @hidden
|
|
143
|
+
*/
|
|
144
|
+
export declare const ratingAriaLabel = "rating.ariaLabel";
|
|
145
|
+
/**
|
|
146
|
+
* @hidden
|
|
147
|
+
*/
|
|
148
|
+
export declare const signatureClear = "signature.clear";
|
|
149
|
+
/**
|
|
150
|
+
* @hidden
|
|
151
|
+
*/
|
|
152
|
+
export declare const signatureMaximize = "signature.maximize";
|
|
153
|
+
/**
|
|
154
|
+
* @hidden
|
|
155
|
+
*/
|
|
156
|
+
export declare const signatureMinimize = "signature.minimize";
|
|
125
157
|
/**
|
|
126
158
|
* @hidden
|
|
127
159
|
*/
|
|
@@ -142,11 +174,15 @@ export declare const messages: {
|
|
|
142
174
|
"colorGradient.bLabel": string;
|
|
143
175
|
"colorGradient.aLabel": string;
|
|
144
176
|
"colorGradient.hex": string;
|
|
177
|
+
"colorGradient.hexLabel": string;
|
|
145
178
|
"colorGradient.contrastRatio": string;
|
|
146
179
|
"colorGradient.colorGradientAALevel": string;
|
|
147
180
|
"colorGradient.colorGradientAAALevel": string;
|
|
148
181
|
"colorGradient.colorGradientPass": string;
|
|
149
182
|
"colorGradient.colorGradientFail": string;
|
|
183
|
+
"colorGradient.hueSliderLabel": string;
|
|
184
|
+
"colorGradient.alphaSliderLabel": string;
|
|
185
|
+
"colorGradient.toggleInputsButton": string;
|
|
150
186
|
"flatColorPicker.cancelBtn": string;
|
|
151
187
|
"flatColorPicker.applyBtn": string;
|
|
152
188
|
"flatColorPicker.gradientBtn": string;
|
|
@@ -157,4 +193,8 @@ export declare const messages: {
|
|
|
157
193
|
"radioButton.validation": string;
|
|
158
194
|
"switch.validation": string;
|
|
159
195
|
"colorPicker.dropdownButtonAriaLabel": string;
|
|
196
|
+
"rating.ariaLabel": string;
|
|
197
|
+
"signature.clear": string;
|
|
198
|
+
"signature.maximize": string;
|
|
199
|
+
"signature.minimize": string;
|
|
160
200
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.messages = exports.colorPickerDropdownButtonAriaLabel = exports.switchValidation = exports.radioButtonValidation = exports.checkboxOptionalText = exports.checkboxValidation = exports.flatColorPickerClearBtn = exports.flatColorPickerPaletteBtn = exports.flatColorPickerGradientBtn = exports.flatColorPickerApplyBtn = exports.flatColorPickerCancelBtn = exports.colorGradientFail = exports.colorGradientPass = exports.colorGradientAAALevel = exports.colorGradientAALevel = exports.colorGradientContrastRatio = exports.colorGradientALabel = exports.colorGradientBLabel = exports.colorGradientGLabel = exports.colorGradientRLabel = exports.colorGradientInputColorButton = exports.colorGradientHex = exports.colorGradientA = exports.colorGradientB = exports.colorGradientG = exports.colorGradientR = exports.colorGradientDragHandle = exports.sliderDragTitle = exports.sliderDecreaseValue = exports.sliderIncreaseValue = exports.numericDecreaseValue = exports.numericIncreaseValue = void 0;
|
|
4
|
+
exports.messages = exports.signatureMinimize = exports.signatureMaximize = exports.signatureClear = exports.ratingAriaLabel = exports.colorGradientToggleInputsButton = exports.colorPickerDropdownButtonAriaLabel = exports.switchValidation = exports.radioButtonValidation = exports.checkboxOptionalText = exports.checkboxValidation = exports.flatColorPickerClearBtn = exports.flatColorPickerPaletteBtn = exports.flatColorPickerGradientBtn = exports.flatColorPickerApplyBtn = exports.flatColorPickerCancelBtn = exports.colorGradientAlphaSliderLabel = exports.colorGradientHueSliderLabel = exports.colorGradientFail = exports.colorGradientPass = exports.colorGradientAAALevel = exports.colorGradientAALevel = exports.colorGradientContrastRatio = exports.colorGradientALabel = exports.colorGradientBLabel = exports.colorGradientGLabel = exports.colorGradientRLabel = exports.colorGradientInputColorButton = exports.colorGradientHexLabel = exports.colorGradientHex = exports.colorGradientA = exports.colorGradientB = exports.colorGradientG = exports.colorGradientR = exports.colorGradientDragHandle = exports.sliderDragTitle = exports.sliderDecreaseValue = exports.sliderIncreaseValue = exports.numericDecreaseValue = exports.numericIncreaseValue = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
@@ -46,6 +46,10 @@ exports.colorGradientA = 'colorGradient.a';
|
|
|
46
46
|
* @hidden
|
|
47
47
|
*/
|
|
48
48
|
exports.colorGradientHex = 'colorGradient.hex';
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
52
|
+
exports.colorGradientHexLabel = 'colorGradient.hexLabel';
|
|
49
53
|
/**
|
|
50
54
|
* @hidden
|
|
51
55
|
*/
|
|
@@ -86,6 +90,14 @@ exports.colorGradientPass = 'colorGradient.colorGradientPass';
|
|
|
86
90
|
* @hidden
|
|
87
91
|
*/
|
|
88
92
|
exports.colorGradientFail = 'colorGradient.colorGradientFail';
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
exports.colorGradientHueSliderLabel = 'colorGradient.hueSliderLabel';
|
|
97
|
+
/**
|
|
98
|
+
* @hidden
|
|
99
|
+
*/
|
|
100
|
+
exports.colorGradientAlphaSliderLabel = 'colorGradient.alphaSliderLabel';
|
|
89
101
|
/**
|
|
90
102
|
* @hidden
|
|
91
103
|
*/
|
|
@@ -126,6 +138,26 @@ exports.switchValidation = 'switch.validation';
|
|
|
126
138
|
* @hidden
|
|
127
139
|
*/
|
|
128
140
|
exports.colorPickerDropdownButtonAriaLabel = 'colorPicker.dropdownButtonAriaLabel';
|
|
141
|
+
/**
|
|
142
|
+
* @hidden
|
|
143
|
+
*/
|
|
144
|
+
exports.colorGradientToggleInputsButton = 'colorGradient.toggleInputsButton';
|
|
145
|
+
/**
|
|
146
|
+
* @hidden
|
|
147
|
+
*/
|
|
148
|
+
exports.ratingAriaLabel = 'rating.ariaLabel';
|
|
149
|
+
/**
|
|
150
|
+
* @hidden
|
|
151
|
+
*/
|
|
152
|
+
exports.signatureClear = 'signature.clear';
|
|
153
|
+
/**
|
|
154
|
+
* @hidden
|
|
155
|
+
*/
|
|
156
|
+
exports.signatureMaximize = 'signature.maximize';
|
|
157
|
+
/**
|
|
158
|
+
* @hidden
|
|
159
|
+
*/
|
|
160
|
+
exports.signatureMinimize = 'signature.minimize';
|
|
129
161
|
/**
|
|
130
162
|
* @hidden
|
|
131
163
|
*/
|
|
@@ -135,10 +167,9 @@ exports.messages = (_a = {},
|
|
|
135
167
|
_a[exports.sliderIncreaseValue] = 'Increase',
|
|
136
168
|
_a[exports.sliderDecreaseValue] = 'Decrease',
|
|
137
169
|
_a[exports.sliderDragTitle] = 'Drag',
|
|
138
|
-
_a[exports.colorGradientDragHandle] = "Color well with two-dimensional slider for selecting\n
|
|
170
|
+
_a[exports.colorGradientDragHandle] = "Color well with two-dimensional slider for selecting\n saturation and lightness. Selected color is",
|
|
139
171
|
_a[exports.colorGradientInputColorButton] = 'Change the color input',
|
|
140
172
|
_a[exports.colorGradientR] = 'r',
|
|
141
|
-
_a[exports.colorGradientR] = 'r',
|
|
142
173
|
_a[exports.colorGradientG] = 'g',
|
|
143
174
|
_a[exports.colorGradientB] = 'b',
|
|
144
175
|
_a[exports.colorGradientA] = 'a',
|
|
@@ -147,11 +178,15 @@ exports.messages = (_a = {},
|
|
|
147
178
|
_a[exports.colorGradientBLabel] = 'blue chanel',
|
|
148
179
|
_a[exports.colorGradientALabel] = 'alpha chanel',
|
|
149
180
|
_a[exports.colorGradientHex] = 'hex',
|
|
181
|
+
_a[exports.colorGradientHexLabel] = 'HEX',
|
|
150
182
|
_a[exports.colorGradientContrastRatio] = 'Contrast ratio',
|
|
151
183
|
_a[exports.colorGradientAALevel] = 'AA',
|
|
152
184
|
_a[exports.colorGradientAAALevel] = 'AAA',
|
|
153
185
|
_a[exports.colorGradientPass] = 'Pass',
|
|
154
186
|
_a[exports.colorGradientFail] = 'Fail',
|
|
187
|
+
_a[exports.colorGradientHueSliderLabel] = 'Hue slider',
|
|
188
|
+
_a[exports.colorGradientAlphaSliderLabel] = 'Alpha slider',
|
|
189
|
+
_a[exports.colorGradientToggleInputsButton] = 'Toggle colorgradient inputs',
|
|
155
190
|
_a[exports.flatColorPickerCancelBtn] = 'Cancel',
|
|
156
191
|
_a[exports.flatColorPickerApplyBtn] = 'Apply',
|
|
157
192
|
_a[exports.flatColorPickerGradientBtn] = 'Gradient',
|
|
@@ -162,4 +197,8 @@ exports.messages = (_a = {},
|
|
|
162
197
|
_a[exports.radioButtonValidation] = 'Please select option if you want to proceed!',
|
|
163
198
|
_a[exports.switchValidation] = 'Please turn on if you want to proceed!',
|
|
164
199
|
_a[exports.colorPickerDropdownButtonAriaLabel] = 'Select',
|
|
200
|
+
_a[exports.ratingAriaLabel] = 'Rating',
|
|
201
|
+
_a[exports.signatureClear] = 'Clear',
|
|
202
|
+
_a[exports.signatureMaximize] = 'Maximize',
|
|
203
|
+
_a[exports.signatureMinimize] = 'Minimize',
|
|
165
204
|
_a);
|
|
@@ -18,6 +18,7 @@ var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
|
|
|
18
18
|
var main_1 = require("../messages/main");
|
|
19
19
|
var main_2 = require("./utils/main");
|
|
20
20
|
var package_metadata_1 = require("../package-metadata");
|
|
21
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
21
22
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
@@ -505,14 +506,16 @@ var NumericTextBoxVue2 = {
|
|
|
505
506
|
var numerictextbox = h("span", {
|
|
506
507
|
dir: this.$props.dir,
|
|
507
508
|
attrs: this.v3 ? undefined : {
|
|
508
|
-
dir: this.$props.dir
|
|
509
|
-
"aria-disabled": this.$props.disabled ? 'true' : undefined
|
|
509
|
+
dir: this.$props.dir
|
|
510
510
|
},
|
|
511
511
|
"class": this.wrapperClassNames,
|
|
512
|
-
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
513
512
|
style: this.$attrs.style
|
|
514
|
-
}, [iconName && h(
|
|
515
|
-
|
|
513
|
+
}, [iconName && h(kendo_vue_common_1.Icon, {
|
|
514
|
+
name: iconName,
|
|
515
|
+
attrs: this.v3 ? undefined : {
|
|
516
|
+
name: iconName
|
|
517
|
+
},
|
|
518
|
+
"class": "k-input-icon"
|
|
516
519
|
}), this.$props.inputPrefix && h("span", {
|
|
517
520
|
"class": "k-input-prefix"
|
|
518
521
|
}, [inputPrefix]), h("input", {
|
|
@@ -525,12 +528,14 @@ var NumericTextBoxVue2 = {
|
|
|
525
528
|
"aria-label": this.$props.ariaLabel,
|
|
526
529
|
"aria-valuemin": this.$props.min,
|
|
527
530
|
"aria-valuemax": this.$props.max,
|
|
531
|
+
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
528
532
|
placeholder: this.$props.placeholder,
|
|
529
533
|
type: this.$props.inputType,
|
|
530
534
|
spellcheck: false,
|
|
531
535
|
autocomplete: "off",
|
|
532
536
|
autocorrect: "off",
|
|
533
537
|
id: inputId,
|
|
538
|
+
role: 'spinbutton',
|
|
534
539
|
name: this.$props.name
|
|
535
540
|
},
|
|
536
541
|
accesskey: this.$props.accessKey,
|
|
@@ -539,6 +544,7 @@ var NumericTextBoxVue2 = {
|
|
|
539
544
|
"aria-label": this.$props.ariaLabel,
|
|
540
545
|
"aria-valuemin": this.$props.min,
|
|
541
546
|
"aria-valuemax": this.$props.max,
|
|
547
|
+
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
542
548
|
placeholder: this.$props.placeholder,
|
|
543
549
|
type: this.$props.inputType,
|
|
544
550
|
spellcheck: false,
|
|
@@ -546,6 +552,7 @@ var NumericTextBoxVue2 = {
|
|
|
546
552
|
autocorrect: "off",
|
|
547
553
|
"class": this.inputInnerClass,
|
|
548
554
|
id: inputId,
|
|
555
|
+
role: 'spinbutton',
|
|
549
556
|
value: this.v3 ? this.looseValue : null,
|
|
550
557
|
domProps: this.v3 ? undefined : {
|
|
551
558
|
"value": this.looseValue
|
|
@@ -568,10 +575,22 @@ var NumericTextBoxVue2 = {
|
|
|
568
575
|
ref: (0, kendo_vue_common_1.setRef)(this, 'input')
|
|
569
576
|
}), this.$props.inputSuffix && h("span", {
|
|
570
577
|
"class": "k-input-suffix"
|
|
571
|
-
}, [inputSuffix]), showValidationIcon && isValid && h(
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
578
|
+
}, [inputSuffix]), showValidationIcon && isValid && h(kendo_vue_common_1.Icon, {
|
|
579
|
+
name: 'check',
|
|
580
|
+
attrs: this.v3 ? undefined : {
|
|
581
|
+
name: 'check',
|
|
582
|
+
icon: kendo_svg_icons_1.checkIcon
|
|
583
|
+
},
|
|
584
|
+
icon: kendo_svg_icons_1.checkIcon,
|
|
585
|
+
"class": "k-input-validation-icon"
|
|
586
|
+
}), showValidationIcon && !isValid && h(kendo_vue_common_1.Icon, {
|
|
587
|
+
name: 'exclamation-circle',
|
|
588
|
+
attrs: this.v3 ? undefined : {
|
|
589
|
+
name: 'exclamation-circle',
|
|
590
|
+
icon: kendo_svg_icons_1.exclamationCircleIcon
|
|
591
|
+
},
|
|
592
|
+
icon: kendo_svg_icons_1.exclamationCircleIcon,
|
|
593
|
+
"class": "k-input-validation-icon"
|
|
575
594
|
}), showLoadingIcon && h("span", {
|
|
576
595
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
577
596
|
}), showClearButton && this.computedValue !== undefined && this.computedValue !== null && h("span", {
|
|
@@ -580,8 +599,13 @@ var NumericTextBoxVue2 = {
|
|
|
580
599
|
"click": this.clearClick
|
|
581
600
|
},
|
|
582
601
|
"class": "k-clear-value"
|
|
583
|
-
}, [h(
|
|
584
|
-
|
|
602
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
603
|
+
name: 'x',
|
|
604
|
+
attrs: this.v3 ? undefined : {
|
|
605
|
+
name: 'x',
|
|
606
|
+
icon: kendo_svg_icons_1.xIcon
|
|
607
|
+
},
|
|
608
|
+
icon: kendo_svg_icons_1.xIcon
|
|
585
609
|
})]), defaultSlot, this.$props.spinners && h("span", {
|
|
586
610
|
"class": "k-input-spinner k-spin-button",
|
|
587
611
|
onMousedown: this.spinnersWrapperMouseDown,
|
|
@@ -596,12 +620,14 @@ var NumericTextBoxVue2 = {
|
|
|
596
620
|
type: "button",
|
|
597
621
|
tabIndex: -1,
|
|
598
622
|
icon: 'caret-alt-up',
|
|
623
|
+
svgIcon: kendo_svg_icons_1.caretAltUpIcon,
|
|
599
624
|
rounded: null,
|
|
600
625
|
"aria-label": localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue]),
|
|
601
626
|
title: localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue])
|
|
602
627
|
},
|
|
603
628
|
tabIndex: -1,
|
|
604
629
|
icon: 'caret-alt-up',
|
|
630
|
+
svgIcon: kendo_svg_icons_1.caretAltUpIcon,
|
|
605
631
|
"class": "k-spinner-increase",
|
|
606
632
|
rounded: null,
|
|
607
633
|
"aria-label": localizationService.toLanguageString(main_1.numericIncreaseValue, main_1.messages[main_1.numericIncreaseValue]),
|
|
@@ -618,6 +644,7 @@ var NumericTextBoxVue2 = {
|
|
|
618
644
|
type: "button",
|
|
619
645
|
tabIndex: -1,
|
|
620
646
|
icon: 'caret-alt-down',
|
|
647
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
621
648
|
rounded: null,
|
|
622
649
|
"aria-label": localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue]),
|
|
623
650
|
title: localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue])
|
|
@@ -625,6 +652,7 @@ var NumericTextBoxVue2 = {
|
|
|
625
652
|
tabIndex: -1,
|
|
626
653
|
"class": "k-spinner-decrease",
|
|
627
654
|
icon: 'caret-alt-down',
|
|
655
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
628
656
|
rounded: null,
|
|
629
657
|
"aria-label": localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_1.numericDecreaseValue]),
|
|
630
658
|
title: localizationService.toLanguageString(main_1.numericDecreaseValue, main_1.messages[main_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: 1673273516,
|
|
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
|
};
|
|
@@ -165,15 +165,13 @@ var RangeSliderVue2 = {
|
|
|
165
165
|
dir = _c.dir;
|
|
166
166
|
// const dir = useDir(sliderRef, this.$props.dir);
|
|
167
167
|
return h("div", {
|
|
168
|
-
|
|
168
|
+
id: id,
|
|
169
169
|
attrs: this.v3 ? undefined : {
|
|
170
|
-
role: "slider",
|
|
171
170
|
id: id,
|
|
172
171
|
dir: this.currentDir,
|
|
173
172
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
174
173
|
"aria-describedby": this.$props.ariaDescribedBy
|
|
175
174
|
},
|
|
176
|
-
id: id,
|
|
177
175
|
dir: this.currentDir,
|
|
178
176
|
"class": (0, kendo_vue_common_1.classNames)('k-widget k-slider', {
|
|
179
177
|
'k-rtl': this.currentDir === 'rtl',
|
|
@@ -237,6 +235,7 @@ var RangeSliderVue2 = {
|
|
|
237
235
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
238
236
|
"aria-valuenow": _this.computedValue.start,
|
|
239
237
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
238
|
+
"aria-valuetext": _this.computedValue.start,
|
|
240
239
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle])
|
|
241
240
|
},
|
|
242
241
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(_this.startTabIndex, _this.$props.disabled, undefined),
|
|
@@ -244,6 +243,7 @@ var RangeSliderVue2 = {
|
|
|
244
243
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
245
244
|
"aria-valuenow": _this.computedValue.start,
|
|
246
245
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
246
|
+
"aria-valuetext": _this.computedValue.start,
|
|
247
247
|
"class": "k-draghandle",
|
|
248
248
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle]),
|
|
249
249
|
style: _this.vertical ? {
|
|
@@ -270,6 +270,7 @@ var RangeSliderVue2 = {
|
|
|
270
270
|
"aria-valuemax": _this.max,
|
|
271
271
|
"aria-valuenow": _this.computedValue.end,
|
|
272
272
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
273
|
+
"aria-valuetext": _this.computedValue.end,
|
|
273
274
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle])
|
|
274
275
|
},
|
|
275
276
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(_this.endTabIndex, _this.$props.disabled, undefined),
|
|
@@ -277,6 +278,7 @@ var RangeSliderVue2 = {
|
|
|
277
278
|
"aria-valuemax": _this.max,
|
|
278
279
|
"aria-valuenow": _this.computedValue.end,
|
|
279
280
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
281
|
+
"aria-valuetext": _this.computedValue.end,
|
|
280
282
|
"class": "k-draghandle",
|
|
281
283
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle]),
|
|
282
284
|
style: _this.vertical ? {
|
|
@@ -335,6 +337,7 @@ var RangeSliderVue2 = {
|
|
|
335
337
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
336
338
|
"aria-valuenow": _this.computedValue.start,
|
|
337
339
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
340
|
+
"aria-valuetext": _this.computedValue.start,
|
|
338
341
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle])
|
|
339
342
|
},
|
|
340
343
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(_this.startTabIndex, _this.$props.disabled, undefined),
|
|
@@ -342,6 +345,7 @@ var RangeSliderVue2 = {
|
|
|
342
345
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
343
346
|
"aria-valuenow": _this.computedValue.start,
|
|
344
347
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
348
|
+
"aria-valuetext": _this.computedValue.start,
|
|
345
349
|
"class": "k-draghandle",
|
|
346
350
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle]),
|
|
347
351
|
style: _this.vertical ? {
|
|
@@ -368,6 +372,7 @@ var RangeSliderVue2 = {
|
|
|
368
372
|
"aria-valuemax": _this.max,
|
|
369
373
|
"aria-valuenow": _this.computedValue.end,
|
|
370
374
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
375
|
+
"aria-valuetext": _this.computedValue.end,
|
|
371
376
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle])
|
|
372
377
|
},
|
|
373
378
|
tabindex: (0, kendo_vue_common_1.getTabIndex)(_this.endTabIndex, _this.$props.disabled, undefined),
|
|
@@ -375,6 +380,7 @@ var RangeSliderVue2 = {
|
|
|
375
380
|
"aria-valuemax": _this.max,
|
|
376
381
|
"aria-valuenow": _this.computedValue.end,
|
|
377
382
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
383
|
+
"aria-valuetext": _this.computedValue.end,
|
|
378
384
|
"class": "k-draghandle",
|
|
379
385
|
title: localization.toLanguageString(main_1.sliderDragTitle, main_1.messages[main_1.sliderDragTitle]),
|
|
380
386
|
style: _this.vertical ? {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
import { SignaturePad } from '@progress/kendo-inputs-common';
|
|
7
|
+
import { SignatureProps } from './interfaces/SignatureProps';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface SignatureData {
|
|
12
|
+
}
|
|
13
|
+
export interface SignatureState {
|
|
14
|
+
v3: boolean;
|
|
15
|
+
instance: SignaturePad;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export interface SignatureMethods {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export interface SignatureComputed {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export interface SignatureAll extends Vue2type, SignatureMethods, SignatureComputed, SignatureState, SignatureData {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
declare let SignatureVue2: ComponentOptions<SignatureAll, DefaultData<SignatureData>, DefaultMethods<SignatureAll>, SignatureComputed, RecordPropsDefinition<SignatureProps>>;
|
|
38
|
+
declare const Signature: DefineComponent<SignatureProps, any, SignatureData, SignatureComputed, SignatureMethods, {}, {}, {}, string, SignatureProps, SignatureProps, {}>;
|
|
39
|
+
export { Signature, SignatureVue2 };
|