@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/esm/input/Input.js
CHANGED
|
@@ -16,9 +16,10 @@ var allVue = Vue;
|
|
|
16
16
|
var gh = allVue.h;
|
|
17
17
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
18
18
|
var ref = allVue.ref;
|
|
19
|
-
import { guid, templateDefinition, validatePackage, kendoThemeMaps, templateRendering, getListeners, getTemplate } from '@progress/kendo-vue-common';
|
|
19
|
+
import { guid, templateDefinition, validatePackage, kendoThemeMaps, templateRendering, getListeners, getTemplate, Icon } from '@progress/kendo-vue-common';
|
|
20
20
|
import { packageMetadata } from '../package-metadata.js';
|
|
21
21
|
import { FloatingLabel } from '@progress/kendo-vue-labels';
|
|
22
|
+
import { checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
@@ -108,7 +109,9 @@ var InputVue2 = {
|
|
|
108
109
|
showClearButton: Boolean,
|
|
109
110
|
inputClass: String,
|
|
110
111
|
wrapperClass: String,
|
|
111
|
-
tabIndex: Number
|
|
112
|
+
tabIndex: Number,
|
|
113
|
+
ariaLabelledBy: String,
|
|
114
|
+
ariaDescribedBy: String
|
|
112
115
|
},
|
|
113
116
|
data: function data() {
|
|
114
117
|
return {
|
|
@@ -157,7 +160,9 @@ var InputVue2 = {
|
|
|
157
160
|
showValidationIcon = _a.showValidationIcon,
|
|
158
161
|
showLoadingIcon = _a.showLoadingIcon,
|
|
159
162
|
showClearButton = _a.showClearButton,
|
|
160
|
-
tabIndex = _a.tabIndex
|
|
163
|
+
tabIndex = _a.tabIndex,
|
|
164
|
+
ariaLabelledBy = _a.ariaLabelledBy,
|
|
165
|
+
ariaDescribedBy = _a.ariaDescribedBy;
|
|
161
166
|
var inputId = id || this._inputId;
|
|
162
167
|
var textbox = h('input', __assign(__assign({
|
|
163
168
|
domProps: this.v3 ? null : __assign(__assign({}, this.$attrs), {
|
|
@@ -174,6 +179,9 @@ var InputVue2 = {
|
|
|
174
179
|
id: inputId,
|
|
175
180
|
tabindex: tabIndex,
|
|
176
181
|
required: required,
|
|
182
|
+
ariaLabelledby: ariaLabelledBy,
|
|
183
|
+
ariaDescribedby: ariaDescribedBy,
|
|
184
|
+
ariaDisabled: this.$props.disabled,
|
|
177
185
|
value: this.computedValue,
|
|
178
186
|
class: this.inputInnerClass,
|
|
179
187
|
ref: this.v3 ? function (el) {
|
|
@@ -223,16 +231,32 @@ var InputVue2 = {
|
|
|
223
231
|
ref: this.v3 ? function (el) {
|
|
224
232
|
_this.wrapperRef = el;
|
|
225
233
|
} : 'wrapper'
|
|
226
|
-
}, [iconName && h(
|
|
227
|
-
|
|
234
|
+
}, [iconName && h(Icon, {
|
|
235
|
+
name: iconName,
|
|
236
|
+
attrs: this.v3 ? undefined : {
|
|
237
|
+
name: iconName
|
|
238
|
+
},
|
|
239
|
+
"class": "k-input-icon"
|
|
228
240
|
}), this.$props.inputPrefix && h("span", {
|
|
229
241
|
"class": "k-input-prefix"
|
|
230
242
|
}, [inputPrefix]), textbox, this.$props.inputSuffix && h("span", {
|
|
231
243
|
"class": "k-input-suffix"
|
|
232
|
-
}, [inputSuffix]), showValidationIcon && isValid && h(
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
244
|
+
}, [inputSuffix]), showValidationIcon && isValid && h(Icon, {
|
|
245
|
+
name: 'check',
|
|
246
|
+
attrs: this.v3 ? undefined : {
|
|
247
|
+
name: 'check',
|
|
248
|
+
icon: checkIcon
|
|
249
|
+
},
|
|
250
|
+
icon: checkIcon,
|
|
251
|
+
"class": "k-input-validation-icon"
|
|
252
|
+
}), showValidationIcon && !isValid && h(Icon, {
|
|
253
|
+
name: 'exclamation-circle',
|
|
254
|
+
attrs: this.v3 ? undefined : {
|
|
255
|
+
name: 'exclamation-circle',
|
|
256
|
+
icon: exclamationCircleIcon
|
|
257
|
+
},
|
|
258
|
+
icon: exclamationCircleIcon,
|
|
259
|
+
"class": "k-input-validation-icon"
|
|
236
260
|
}), showLoadingIcon && h("span", {
|
|
237
261
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
238
262
|
}), showClearButton && this.computedValue && h("span", {
|
|
@@ -241,8 +265,13 @@ var InputVue2 = {
|
|
|
241
265
|
"click": this.clearClick
|
|
242
266
|
},
|
|
243
267
|
"class": "k-clear-value"
|
|
244
|
-
}, [h(
|
|
245
|
-
|
|
268
|
+
}, [h(Icon, {
|
|
269
|
+
name: 'x',
|
|
270
|
+
attrs: this.v3 ? undefined : {
|
|
271
|
+
name: 'x',
|
|
272
|
+
icon: xIcon
|
|
273
|
+
},
|
|
274
|
+
icon: xIcon
|
|
246
275
|
})])]);
|
|
247
276
|
return label ?
|
|
248
277
|
// @ts-ignore function children
|
package/dist/esm/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/esm/main.js
CHANGED
|
@@ -35,3 +35,5 @@ export * from './textarea/TextArea.js';
|
|
|
35
35
|
export * from './textarea/interfaces/TextAreaProps.js';
|
|
36
36
|
export * from './textarea/interfaces/TextAreaChangeEvent.js';
|
|
37
37
|
export * from './textarea/interfaces/TextAreaFocusEvent.js';
|
|
38
|
+
export * from './signature/Signature.js';
|
|
39
|
+
export * from './signature/interfaces.js';
|
|
@@ -6,8 +6,9 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
import { MaskingService } from './masking.service.js';
|
|
8
8
|
import { defaultRules, maskingChanged, returnFalse } from './utils.js';
|
|
9
|
-
import { guid, getTabIndex, validatePackage, kendoThemeMaps, templateDefinition, templateRendering, getListeners, getTemplate, setRef } from '@progress/kendo-vue-common';
|
|
9
|
+
import { guid, getTabIndex, validatePackage, kendoThemeMaps, templateDefinition, templateRendering, getListeners, getTemplate, setRef, Icon } from '@progress/kendo-vue-common';
|
|
10
10
|
import { packageMetadata } from '../package-metadata.js';
|
|
11
|
+
import { checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -15,6 +16,8 @@ var MaskedTextBoxVue2 = {
|
|
|
15
16
|
model: {
|
|
16
17
|
event: 'changemodel'
|
|
17
18
|
},
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
emits: ['change', 'focus', 'blur', 'update:modelValue', 'update:modelRawValue', 'changemodel'],
|
|
18
21
|
props: {
|
|
19
22
|
type: {
|
|
20
23
|
type: String,
|
|
@@ -392,8 +395,12 @@ var MaskedTextBoxVue2 = {
|
|
|
392
395
|
style: !this.$props.label ? {
|
|
393
396
|
width: this.$props.width
|
|
394
397
|
} : undefined
|
|
395
|
-
}, [iconName && h(
|
|
396
|
-
|
|
398
|
+
}, [iconName && h(Icon, {
|
|
399
|
+
name: iconName,
|
|
400
|
+
attrs: this.v3 ? undefined : {
|
|
401
|
+
name: iconName
|
|
402
|
+
},
|
|
403
|
+
"class": 'k-input-icon'
|
|
397
404
|
}), this.$props.inputPrefix && h("span", {
|
|
398
405
|
"class": "k-input-prefix"
|
|
399
406
|
}, [inputPrefix]), h("input", {
|
|
@@ -407,6 +414,7 @@ var MaskedTextBoxVue2 = {
|
|
|
407
414
|
id: inputId,
|
|
408
415
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
409
416
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
417
|
+
"aria-disabled": this.$props.disabled,
|
|
410
418
|
name: this.$props.name,
|
|
411
419
|
tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled, true),
|
|
412
420
|
accesskey: this.$props.accessKey,
|
|
@@ -414,6 +422,7 @@ var MaskedTextBoxVue2 = {
|
|
|
414
422
|
disabled: this.$props.disabled || undefined,
|
|
415
423
|
readonly: this.$props.readonly || undefined,
|
|
416
424
|
placeholder: this.$props.placeholder,
|
|
425
|
+
"aria-placeholder": this.$props.placeholder,
|
|
417
426
|
required: this.$props.required
|
|
418
427
|
},
|
|
419
428
|
autocomplete: "off",
|
|
@@ -428,6 +437,7 @@ var MaskedTextBoxVue2 = {
|
|
|
428
437
|
id: inputId,
|
|
429
438
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
430
439
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
440
|
+
"aria-disabled": this.$props.disabled,
|
|
431
441
|
name: this.$props.name,
|
|
432
442
|
tabindex: getTabIndex(this.$props.tabIndex, this.$props.disabled, true),
|
|
433
443
|
accesskey: this.$props.accessKey,
|
|
@@ -435,6 +445,7 @@ var MaskedTextBoxVue2 = {
|
|
|
435
445
|
disabled: this.$props.disabled || undefined,
|
|
436
446
|
readonly: this.$props.readonly || undefined,
|
|
437
447
|
placeholder: this.$props.placeholder,
|
|
448
|
+
"aria-placeholder": this.$props.placeholder,
|
|
438
449
|
required: this.$props.required,
|
|
439
450
|
ref: setRef(this, 'input'),
|
|
440
451
|
onInput: this.onChangeHandler,
|
|
@@ -453,10 +464,22 @@ var MaskedTextBoxVue2 = {
|
|
|
453
464
|
onDrop: returnFalse
|
|
454
465
|
}), this.$props.inputSuffix && h("span", {
|
|
455
466
|
"class": "k-input-suffix"
|
|
456
|
-
}, [inputSuffix]), showValidationIcon && isValid && h(
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
467
|
+
}, [inputSuffix]), showValidationIcon && isValid && h(Icon, {
|
|
468
|
+
name: 'check',
|
|
469
|
+
attrs: this.v3 ? undefined : {
|
|
470
|
+
name: 'check',
|
|
471
|
+
icon: checkIcon
|
|
472
|
+
},
|
|
473
|
+
icon: checkIcon,
|
|
474
|
+
"class": "k-input-validation-icon"
|
|
475
|
+
}), showValidationIcon && !isValid && h(Icon, {
|
|
476
|
+
name: 'exclamation-circle',
|
|
477
|
+
attrs: this.v3 ? undefined : {
|
|
478
|
+
name: 'exclamation-circle',
|
|
479
|
+
icon: exclamationCircleIcon
|
|
480
|
+
},
|
|
481
|
+
icon: exclamationCircleIcon,
|
|
482
|
+
"class": "k-input-validation-icon"
|
|
460
483
|
}), showLoadingIcon && h("span", {
|
|
461
484
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
462
485
|
}), showClearButton && newValue && h("span", {
|
|
@@ -465,8 +488,13 @@ var MaskedTextBoxVue2 = {
|
|
|
465
488
|
"click": this.clearClick
|
|
466
489
|
},
|
|
467
490
|
"class": "k-clear-value"
|
|
468
|
-
}, [h(
|
|
469
|
-
|
|
491
|
+
}, [h(Icon, {
|
|
492
|
+
name: 'x',
|
|
493
|
+
attrs: this.v3 ? undefined : {
|
|
494
|
+
name: 'x',
|
|
495
|
+
icon: xIcon
|
|
496
|
+
},
|
|
497
|
+
icon: xIcon
|
|
470
498
|
})])]);
|
|
471
499
|
return this.$props.label ? h("span", {
|
|
472
500
|
"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
|
};
|
|
@@ -43,6 +43,10 @@ export var colorGradientA = 'colorGradient.a';
|
|
|
43
43
|
* @hidden
|
|
44
44
|
*/
|
|
45
45
|
export var colorGradientHex = 'colorGradient.hex';
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
export var colorGradientHexLabel = 'colorGradient.hexLabel';
|
|
46
50
|
/**
|
|
47
51
|
* @hidden
|
|
48
52
|
*/
|
|
@@ -83,6 +87,14 @@ export var colorGradientPass = 'colorGradient.colorGradientPass';
|
|
|
83
87
|
* @hidden
|
|
84
88
|
*/
|
|
85
89
|
export var colorGradientFail = 'colorGradient.colorGradientFail';
|
|
90
|
+
/**
|
|
91
|
+
* @hidden
|
|
92
|
+
*/
|
|
93
|
+
export var colorGradientHueSliderLabel = 'colorGradient.hueSliderLabel';
|
|
94
|
+
/**
|
|
95
|
+
* @hidden
|
|
96
|
+
*/
|
|
97
|
+
export var colorGradientAlphaSliderLabel = 'colorGradient.alphaSliderLabel';
|
|
86
98
|
/**
|
|
87
99
|
* @hidden
|
|
88
100
|
*/
|
|
@@ -123,6 +135,26 @@ export var switchValidation = 'switch.validation';
|
|
|
123
135
|
* @hidden
|
|
124
136
|
*/
|
|
125
137
|
export var colorPickerDropdownButtonAriaLabel = 'colorPicker.dropdownButtonAriaLabel';
|
|
138
|
+
/**
|
|
139
|
+
* @hidden
|
|
140
|
+
*/
|
|
141
|
+
export var colorGradientToggleInputsButton = 'colorGradient.toggleInputsButton';
|
|
142
|
+
/**
|
|
143
|
+
* @hidden
|
|
144
|
+
*/
|
|
145
|
+
export var ratingAriaLabel = 'rating.ariaLabel';
|
|
146
|
+
/**
|
|
147
|
+
* @hidden
|
|
148
|
+
*/
|
|
149
|
+
export var signatureClear = 'signature.clear';
|
|
150
|
+
/**
|
|
151
|
+
* @hidden
|
|
152
|
+
*/
|
|
153
|
+
export var signatureMaximize = 'signature.maximize';
|
|
154
|
+
/**
|
|
155
|
+
* @hidden
|
|
156
|
+
*/
|
|
157
|
+
export var signatureMinimize = 'signature.minimize';
|
|
126
158
|
/**
|
|
127
159
|
* @hidden
|
|
128
160
|
*/
|
|
@@ -132,10 +164,9 @@ export var messages = (_a = {},
|
|
|
132
164
|
_a[sliderIncreaseValue] = 'Increase',
|
|
133
165
|
_a[sliderDecreaseValue] = 'Decrease',
|
|
134
166
|
_a[sliderDragTitle] = 'Drag',
|
|
135
|
-
_a[colorGradientDragHandle] = "Color well with two-dimensional slider for selecting\n
|
|
167
|
+
_a[colorGradientDragHandle] = "Color well with two-dimensional slider for selecting\n saturation and lightness. Selected color is",
|
|
136
168
|
_a[colorGradientInputColorButton] = 'Change the color input',
|
|
137
169
|
_a[colorGradientR] = 'r',
|
|
138
|
-
_a[colorGradientR] = 'r',
|
|
139
170
|
_a[colorGradientG] = 'g',
|
|
140
171
|
_a[colorGradientB] = 'b',
|
|
141
172
|
_a[colorGradientA] = 'a',
|
|
@@ -144,11 +175,15 @@ export var messages = (_a = {},
|
|
|
144
175
|
_a[colorGradientBLabel] = 'blue chanel',
|
|
145
176
|
_a[colorGradientALabel] = 'alpha chanel',
|
|
146
177
|
_a[colorGradientHex] = 'hex',
|
|
178
|
+
_a[colorGradientHexLabel] = 'HEX',
|
|
147
179
|
_a[colorGradientContrastRatio] = 'Contrast ratio',
|
|
148
180
|
_a[colorGradientAALevel] = 'AA',
|
|
149
181
|
_a[colorGradientAAALevel] = 'AAA',
|
|
150
182
|
_a[colorGradientPass] = 'Pass',
|
|
151
183
|
_a[colorGradientFail] = 'Fail',
|
|
184
|
+
_a[colorGradientHueSliderLabel] = 'Hue slider',
|
|
185
|
+
_a[colorGradientAlphaSliderLabel] = 'Alpha slider',
|
|
186
|
+
_a[colorGradientToggleInputsButton] = 'Toggle colorgradient inputs',
|
|
152
187
|
_a[flatColorPickerCancelBtn] = 'Cancel',
|
|
153
188
|
_a[flatColorPickerApplyBtn] = 'Apply',
|
|
154
189
|
_a[flatColorPickerGradientBtn] = 'Gradient',
|
|
@@ -159,4 +194,8 @@ export var messages = (_a = {},
|
|
|
159
194
|
_a[radioButtonValidation] = 'Please select option if you want to proceed!',
|
|
160
195
|
_a[switchValidation] = 'Please turn on if you want to proceed!',
|
|
161
196
|
_a[colorPickerDropdownButtonAriaLabel] = 'Select',
|
|
197
|
+
_a[ratingAriaLabel] = 'Rating',
|
|
198
|
+
_a[signatureClear] = 'Clear',
|
|
199
|
+
_a[signatureMaximize] = 'Maximize',
|
|
200
|
+
_a[signatureMinimize] = 'Minimize',
|
|
162
201
|
_a);
|
|
@@ -5,13 +5,14 @@ var gh = allVue.h;
|
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
var inject = allVue.inject;
|
|
8
|
-
import { canUseDOM, getDefaultSlots, getListeners, getRef, getTemplate, kendoThemeMaps, setRef, templateDefinition, templateRendering } from '@progress/kendo-vue-common';
|
|
8
|
+
import { canUseDOM, getDefaultSlots, getListeners, getRef, getTemplate, Icon, kendoThemeMaps, setRef, templateDefinition, templateRendering } from '@progress/kendo-vue-common';
|
|
9
9
|
import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
10
10
|
import { guid, validatePackage } from '@progress/kendo-vue-common';
|
|
11
11
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
12
12
|
import { messages, numericIncreaseValue, numericDecreaseValue } from '../messages/main.js';
|
|
13
13
|
import { formatValue, sanitizeNumber, rangeValue, increaseValue, decreaseValue, getStateOrPropsValue } from './utils/main.js';
|
|
14
14
|
import { packageMetadata } from '../package-metadata.js';
|
|
15
|
+
import { caretAltDownIcon, caretAltUpIcon, checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
15
16
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
@@ -499,14 +500,16 @@ var NumericTextBoxVue2 = {
|
|
|
499
500
|
var numerictextbox = h("span", {
|
|
500
501
|
dir: this.$props.dir,
|
|
501
502
|
attrs: this.v3 ? undefined : {
|
|
502
|
-
dir: this.$props.dir
|
|
503
|
-
"aria-disabled": this.$props.disabled ? 'true' : undefined
|
|
503
|
+
dir: this.$props.dir
|
|
504
504
|
},
|
|
505
505
|
"class": this.wrapperClassNames,
|
|
506
|
-
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
507
506
|
style: this.$attrs.style
|
|
508
|
-
}, [iconName && h(
|
|
509
|
-
|
|
507
|
+
}, [iconName && h(Icon, {
|
|
508
|
+
name: iconName,
|
|
509
|
+
attrs: this.v3 ? undefined : {
|
|
510
|
+
name: iconName
|
|
511
|
+
},
|
|
512
|
+
"class": "k-input-icon"
|
|
510
513
|
}), this.$props.inputPrefix && h("span", {
|
|
511
514
|
"class": "k-input-prefix"
|
|
512
515
|
}, [inputPrefix]), h("input", {
|
|
@@ -519,12 +522,14 @@ var NumericTextBoxVue2 = {
|
|
|
519
522
|
"aria-label": this.$props.ariaLabel,
|
|
520
523
|
"aria-valuemin": this.$props.min,
|
|
521
524
|
"aria-valuemax": this.$props.max,
|
|
525
|
+
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
522
526
|
placeholder: this.$props.placeholder,
|
|
523
527
|
type: this.$props.inputType,
|
|
524
528
|
spellcheck: false,
|
|
525
529
|
autocomplete: "off",
|
|
526
530
|
autocorrect: "off",
|
|
527
531
|
id: inputId,
|
|
532
|
+
role: 'spinbutton',
|
|
528
533
|
name: this.$props.name
|
|
529
534
|
},
|
|
530
535
|
accesskey: this.$props.accessKey,
|
|
@@ -533,6 +538,7 @@ var NumericTextBoxVue2 = {
|
|
|
533
538
|
"aria-label": this.$props.ariaLabel,
|
|
534
539
|
"aria-valuemin": this.$props.min,
|
|
535
540
|
"aria-valuemax": this.$props.max,
|
|
541
|
+
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
536
542
|
placeholder: this.$props.placeholder,
|
|
537
543
|
type: this.$props.inputType,
|
|
538
544
|
spellcheck: false,
|
|
@@ -540,6 +546,7 @@ var NumericTextBoxVue2 = {
|
|
|
540
546
|
autocorrect: "off",
|
|
541
547
|
"class": this.inputInnerClass,
|
|
542
548
|
id: inputId,
|
|
549
|
+
role: 'spinbutton',
|
|
543
550
|
value: this.v3 ? this.looseValue : null,
|
|
544
551
|
domProps: this.v3 ? undefined : {
|
|
545
552
|
"value": this.looseValue
|
|
@@ -562,10 +569,22 @@ var NumericTextBoxVue2 = {
|
|
|
562
569
|
ref: setRef(this, 'input')
|
|
563
570
|
}), this.$props.inputSuffix && h("span", {
|
|
564
571
|
"class": "k-input-suffix"
|
|
565
|
-
}, [inputSuffix]), showValidationIcon && isValid && h(
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
572
|
+
}, [inputSuffix]), showValidationIcon && isValid && h(Icon, {
|
|
573
|
+
name: 'check',
|
|
574
|
+
attrs: this.v3 ? undefined : {
|
|
575
|
+
name: 'check',
|
|
576
|
+
icon: checkIcon
|
|
577
|
+
},
|
|
578
|
+
icon: checkIcon,
|
|
579
|
+
"class": "k-input-validation-icon"
|
|
580
|
+
}), showValidationIcon && !isValid && h(Icon, {
|
|
581
|
+
name: 'exclamation-circle',
|
|
582
|
+
attrs: this.v3 ? undefined : {
|
|
583
|
+
name: 'exclamation-circle',
|
|
584
|
+
icon: exclamationCircleIcon
|
|
585
|
+
},
|
|
586
|
+
icon: exclamationCircleIcon,
|
|
587
|
+
"class": "k-input-validation-icon"
|
|
569
588
|
}), showLoadingIcon && h("span", {
|
|
570
589
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
571
590
|
}), showClearButton && this.computedValue !== undefined && this.computedValue !== null && h("span", {
|
|
@@ -574,8 +593,13 @@ var NumericTextBoxVue2 = {
|
|
|
574
593
|
"click": this.clearClick
|
|
575
594
|
},
|
|
576
595
|
"class": "k-clear-value"
|
|
577
|
-
}, [h(
|
|
578
|
-
|
|
596
|
+
}, [h(Icon, {
|
|
597
|
+
name: 'x',
|
|
598
|
+
attrs: this.v3 ? undefined : {
|
|
599
|
+
name: 'x',
|
|
600
|
+
icon: xIcon
|
|
601
|
+
},
|
|
602
|
+
icon: xIcon
|
|
579
603
|
})]), defaultSlot, this.$props.spinners && h("span", {
|
|
580
604
|
"class": "k-input-spinner k-spin-button",
|
|
581
605
|
onMousedown: this.spinnersWrapperMouseDown,
|
|
@@ -590,12 +614,14 @@ var NumericTextBoxVue2 = {
|
|
|
590
614
|
type: "button",
|
|
591
615
|
tabIndex: -1,
|
|
592
616
|
icon: 'caret-alt-up',
|
|
617
|
+
svgIcon: caretAltUpIcon,
|
|
593
618
|
rounded: null,
|
|
594
619
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
595
620
|
title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue])
|
|
596
621
|
},
|
|
597
622
|
tabIndex: -1,
|
|
598
623
|
icon: 'caret-alt-up',
|
|
624
|
+
svgIcon: caretAltUpIcon,
|
|
599
625
|
"class": "k-spinner-increase",
|
|
600
626
|
rounded: null,
|
|
601
627
|
"aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]),
|
|
@@ -612,6 +638,7 @@ var NumericTextBoxVue2 = {
|
|
|
612
638
|
type: "button",
|
|
613
639
|
tabIndex: -1,
|
|
614
640
|
icon: 'caret-alt-down',
|
|
641
|
+
svgIcon: caretAltDownIcon,
|
|
615
642
|
rounded: null,
|
|
616
643
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
617
644
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue])
|
|
@@ -619,6 +646,7 @@ var NumericTextBoxVue2 = {
|
|
|
619
646
|
tabIndex: -1,
|
|
620
647
|
"class": "k-spinner-decrease",
|
|
621
648
|
icon: 'caret-alt-down',
|
|
649
|
+
svgIcon: caretAltDownIcon,
|
|
622
650
|
rounded: null,
|
|
623
651
|
"aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
624
652
|
title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]),
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-inputs',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1673273516,
|
|
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
|
};
|
|
@@ -161,15 +161,13 @@ var RangeSliderVue2 = {
|
|
|
161
161
|
dir = _c.dir;
|
|
162
162
|
// const dir = useDir(sliderRef, this.$props.dir);
|
|
163
163
|
return h("div", {
|
|
164
|
-
|
|
164
|
+
id: id,
|
|
165
165
|
attrs: this.v3 ? undefined : {
|
|
166
|
-
role: "slider",
|
|
167
166
|
id: id,
|
|
168
167
|
dir: this.currentDir,
|
|
169
168
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
170
169
|
"aria-describedby": this.$props.ariaDescribedBy
|
|
171
170
|
},
|
|
172
|
-
id: id,
|
|
173
171
|
dir: this.currentDir,
|
|
174
172
|
"class": classNames('k-widget k-slider', {
|
|
175
173
|
'k-rtl': this.currentDir === 'rtl',
|
|
@@ -233,6 +231,7 @@ var RangeSliderVue2 = {
|
|
|
233
231
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
234
232
|
"aria-valuenow": _this.computedValue.start,
|
|
235
233
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
234
|
+
"aria-valuetext": _this.computedValue.start,
|
|
236
235
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle])
|
|
237
236
|
},
|
|
238
237
|
tabindex: getTabIndex(_this.startTabIndex, _this.$props.disabled, undefined),
|
|
@@ -240,6 +239,7 @@ var RangeSliderVue2 = {
|
|
|
240
239
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
241
240
|
"aria-valuenow": _this.computedValue.start,
|
|
242
241
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
242
|
+
"aria-valuetext": _this.computedValue.start,
|
|
243
243
|
"class": "k-draghandle",
|
|
244
244
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle]),
|
|
245
245
|
style: _this.vertical ? {
|
|
@@ -266,6 +266,7 @@ var RangeSliderVue2 = {
|
|
|
266
266
|
"aria-valuemax": _this.max,
|
|
267
267
|
"aria-valuenow": _this.computedValue.end,
|
|
268
268
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
269
|
+
"aria-valuetext": _this.computedValue.end,
|
|
269
270
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle])
|
|
270
271
|
},
|
|
271
272
|
tabindex: getTabIndex(_this.endTabIndex, _this.$props.disabled, undefined),
|
|
@@ -273,6 +274,7 @@ var RangeSliderVue2 = {
|
|
|
273
274
|
"aria-valuemax": _this.max,
|
|
274
275
|
"aria-valuenow": _this.computedValue.end,
|
|
275
276
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
277
|
+
"aria-valuetext": _this.computedValue.end,
|
|
276
278
|
"class": "k-draghandle",
|
|
277
279
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle]),
|
|
278
280
|
style: _this.vertical ? {
|
|
@@ -331,6 +333,7 @@ var RangeSliderVue2 = {
|
|
|
331
333
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
332
334
|
"aria-valuenow": _this.computedValue.start,
|
|
333
335
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
336
|
+
"aria-valuetext": _this.computedValue.start,
|
|
334
337
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle])
|
|
335
338
|
},
|
|
336
339
|
tabindex: getTabIndex(_this.startTabIndex, _this.$props.disabled, undefined),
|
|
@@ -338,6 +341,7 @@ var RangeSliderVue2 = {
|
|
|
338
341
|
"aria-valuemax": Math.max(_this.max, _this.computedValue.end),
|
|
339
342
|
"aria-valuenow": _this.computedValue.start,
|
|
340
343
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
344
|
+
"aria-valuetext": _this.computedValue.start,
|
|
341
345
|
"class": "k-draghandle",
|
|
342
346
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle]),
|
|
343
347
|
style: _this.vertical ? {
|
|
@@ -364,6 +368,7 @@ var RangeSliderVue2 = {
|
|
|
364
368
|
"aria-valuemax": _this.max,
|
|
365
369
|
"aria-valuenow": _this.computedValue.end,
|
|
366
370
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
371
|
+
"aria-valuetext": _this.computedValue.end,
|
|
367
372
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle])
|
|
368
373
|
},
|
|
369
374
|
tabindex: getTabIndex(_this.endTabIndex, _this.$props.disabled, undefined),
|
|
@@ -371,6 +376,7 @@ var RangeSliderVue2 = {
|
|
|
371
376
|
"aria-valuemax": _this.max,
|
|
372
377
|
"aria-valuenow": _this.computedValue.end,
|
|
373
378
|
"aria-disabled": _this.disabled ? 'true' : undefined,
|
|
379
|
+
"aria-valuetext": _this.computedValue.end,
|
|
374
380
|
"class": "k-draghandle",
|
|
375
381
|
title: localization.toLanguageString(sliderDragTitle, messages[sliderDragTitle]),
|
|
376
382
|
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 };
|