@progress/kendo-vue-inputs 3.7.4-dev.202301091431 → 3.7.4-dev.202301131104
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/input/Input.d.ts +12 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/signature/Signature.js +88 -130
- package/dist/es/signature/SignatureBottomActions.d.ts +42 -0
- package/dist/es/signature/SignatureBottomActions.js +70 -0
- package/dist/es/signature/SignatureCanvas.js +1 -0
- package/dist/es/signature/SignatureDialog.d.ts +51 -0
- package/dist/es/signature/SignatureDialog.js +281 -0
- package/dist/es/signature/SignatureLine.d.ts +39 -0
- package/dist/es/signature/SignatureLine.js +30 -0
- package/dist/es/signature/interfaces/SignatureCanvasProps.d.ts +1 -0
- package/dist/es/textarea/interfaces/TextAreaProps.d.ts +10 -0
- package/dist/esm/input/Input.d.ts +12 -3
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/signature/Signature.js +88 -130
- package/dist/esm/signature/SignatureBottomActions.d.ts +42 -0
- package/dist/esm/signature/SignatureBottomActions.js +70 -0
- package/dist/esm/signature/SignatureCanvas.js +1 -0
- package/dist/esm/signature/SignatureDialog.d.ts +51 -0
- package/dist/esm/signature/SignatureDialog.js +281 -0
- package/dist/esm/signature/SignatureLine.d.ts +39 -0
- package/dist/esm/signature/SignatureLine.js +30 -0
- package/dist/esm/signature/interfaces/SignatureCanvasProps.d.ts +1 -0
- package/dist/esm/textarea/interfaces/TextAreaProps.d.ts +10 -0
- package/dist/npm/input/Input.d.ts +12 -3
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/signature/Signature.js +86 -128
- package/dist/npm/signature/SignatureBottomActions.d.ts +42 -0
- package/dist/npm/signature/SignatureBottomActions.js +77 -0
- package/dist/npm/signature/SignatureCanvas.js +1 -0
- package/dist/npm/signature/SignatureDialog.d.ts +51 -0
- package/dist/npm/signature/SignatureDialog.js +288 -0
- package/dist/npm/signature/SignatureLine.d.ts +39 -0
- package/dist/npm/signature/SignatureLine.js +37 -0
- package/dist/npm/signature/interfaces/SignatureCanvasProps.d.ts +1 -0
- package/dist/npm/textarea/interfaces/TextAreaProps.d.ts +10 -0
- package/package.json +13 -13
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export interface SignatureBottomActionsProps {
|
|
10
|
+
showClear: boolean;
|
|
11
|
+
size: string;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export interface SignatureBottomActionsComputed {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export interface SignatureBottomActionsMethods {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
element: () => HTMLSpanElement | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export interface SignatureBottomActionsData {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export interface SignatureBottomActionsAll extends Vue2type, SignatureBottomActionsMethods, SignatureBottomActionsData, SignatureBottomActionsComputed, SignatureBottomActionsProps {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
declare let SignatureBottomActionsVue2: ComponentOptions<SignatureBottomActionsAll, DefaultData<SignatureBottomActionsData>, DefaultMethods<SignatureBottomActionsAll>, SignatureBottomActionsComputed, RecordPropsDefinition<SignatureBottomActionsProps>>;
|
|
41
|
+
declare const SignatureBottomActions: DefineComponent<{}, any, SignatureBottomActionsData, SignatureBottomActionsComputed, SignatureBottomActionsMethods, {}, {}, {}, string, {}, {}, {}>;
|
|
42
|
+
export { SignatureBottomActions, SignatureBottomActionsVue2 };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
7
|
+
import { xIcon } from '@progress/kendo-svg-icons';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
var SignatureBottomActionsVue2 = {
|
|
12
|
+
name: 'KendoSignatureBottomActions',
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
emits: {
|
|
15
|
+
clear: null
|
|
16
|
+
},
|
|
17
|
+
props: {
|
|
18
|
+
showClear: Boolean,
|
|
19
|
+
size: String,
|
|
20
|
+
title: String
|
|
21
|
+
},
|
|
22
|
+
methods: {
|
|
23
|
+
onClear: function onClear(e) {
|
|
24
|
+
this.$emit('clear', e);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
setup: !isV3 ? undefined : function () {
|
|
29
|
+
var v3 = !!isV3;
|
|
30
|
+
return {
|
|
31
|
+
v3: v3
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
render: function render(createElement) {
|
|
35
|
+
var h = gh || createElement;
|
|
36
|
+
var _a = this.$props,
|
|
37
|
+
showClear = _a.showClear,
|
|
38
|
+
title = _a.title,
|
|
39
|
+
size = _a.size;
|
|
40
|
+
return h("div", {
|
|
41
|
+
"class": 'k-signature-actions k-signature-actions-bottom'
|
|
42
|
+
}, [showClear &&
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
h(Button, {
|
|
45
|
+
"class": 'k-signature-action k-signature-clear',
|
|
46
|
+
icon: 'x',
|
|
47
|
+
attrs: this.v3 ? undefined : {
|
|
48
|
+
icon: 'x',
|
|
49
|
+
svgIcon: xIcon,
|
|
50
|
+
shape: null,
|
|
51
|
+
fillMode: 'flat',
|
|
52
|
+
size: size,
|
|
53
|
+
"aria-label": title,
|
|
54
|
+
title: title
|
|
55
|
+
},
|
|
56
|
+
svgIcon: xIcon,
|
|
57
|
+
shape: null,
|
|
58
|
+
fillMode: 'flat',
|
|
59
|
+
size: size,
|
|
60
|
+
onClick: this.onClear,
|
|
61
|
+
on: this.v3 ? undefined : {
|
|
62
|
+
"click": this.onClear
|
|
63
|
+
},
|
|
64
|
+
"aria-label": title,
|
|
65
|
+
title: title
|
|
66
|
+
})]);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
var SignatureBottomActions = SignatureBottomActionsVue2;
|
|
70
|
+
export { SignatureBottomActions, SignatureBottomActionsVue2 };
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { SignatureCanvasProps } from './interfaces/SignatureCanvasProps';
|
|
7
|
+
export interface SignatureDialogProps extends SignatureCanvasProps {
|
|
8
|
+
openWrapperClass?: object;
|
|
9
|
+
size?: string;
|
|
10
|
+
dir?: string;
|
|
11
|
+
popupWidth: Number;
|
|
12
|
+
popupHeight: Number;
|
|
13
|
+
showClear: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
export interface SignatureDialogState {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export interface SignatureDialogComputed {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export interface SignatureDialogMethods {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export interface SignatureDialogData {
|
|
36
|
+
currentActive: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export interface SignatureDialogAll extends Vue2type, SignatureDialogMethods, SignatureDialogData, SignatureDialogComputed, SignatureDialogState {
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
46
|
+
declare let SignatureDialogVue2: ComponentOptions<SignatureDialogAll, DefaultData<SignatureDialogData>, DefaultMethods<SignatureDialogAll>, SignatureDialogComputed, RecordPropsDefinition<SignatureDialogProps>>;
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
declare const SignatureDialog: DefineComponent<SignatureDialogProps, any, SignatureDialogData, SignatureDialogComputed, SignatureDialogMethods, {}, {}, {}, string, SignatureDialogProps, SignatureDialogProps, {}>;
|
|
51
|
+
export { SignatureDialog, SignatureDialogVue2 };
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { Dialog } from '@progress/kendo-vue-dialogs';
|
|
7
|
+
import { SignatureBottomActions } from './SignatureBottomActions.js';
|
|
8
|
+
import { SignatureLine } from './SignatureLine.js';
|
|
9
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
10
|
+
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
11
|
+
import { setRef } from '@progress/kendo-vue-common';
|
|
12
|
+
import { hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { SignatureCanvas } from './SignatureCanvas.js';
|
|
14
|
+
import { messages, signatureClear, signatureMinimize } from '../messages/main.js';
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
var SignatureDialogVue2 = {
|
|
19
|
+
name: 'KendoSignatureDialog',
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
emits: {
|
|
22
|
+
change: null,
|
|
23
|
+
clear: null,
|
|
24
|
+
close: null,
|
|
25
|
+
focus: null,
|
|
26
|
+
blur: null,
|
|
27
|
+
overlayclick: null
|
|
28
|
+
},
|
|
29
|
+
props: {
|
|
30
|
+
openWrapperClass: Object,
|
|
31
|
+
size: String,
|
|
32
|
+
dir: String,
|
|
33
|
+
popupWidth: Number,
|
|
34
|
+
popupHeight: Number,
|
|
35
|
+
showClear: Boolean,
|
|
36
|
+
strokeWidth: Number,
|
|
37
|
+
popupScale: Number,
|
|
38
|
+
scale: Number,
|
|
39
|
+
value: String,
|
|
40
|
+
tabIndex: Number,
|
|
41
|
+
disabled: Boolean,
|
|
42
|
+
readOnly: Boolean,
|
|
43
|
+
color: String,
|
|
44
|
+
backgroundColor: String,
|
|
45
|
+
elementSize: Function,
|
|
46
|
+
smooth: Boolean
|
|
47
|
+
},
|
|
48
|
+
inject: {
|
|
49
|
+
kendoLocalizationService: {
|
|
50
|
+
default: null
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
setup: !isV3 ? undefined : function () {
|
|
55
|
+
var v3 = !!isV3;
|
|
56
|
+
return {
|
|
57
|
+
v3: v3
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
render: function render(createElement) {
|
|
62
|
+
var _this = this;
|
|
63
|
+
var h = gh || createElement;
|
|
64
|
+
var _a = this.$props,
|
|
65
|
+
showClear = _a.showClear,
|
|
66
|
+
popupWidth = _a.popupWidth,
|
|
67
|
+
popupHeight = _a.popupHeight,
|
|
68
|
+
dir = _a.dir,
|
|
69
|
+
size = _a.size,
|
|
70
|
+
value = _a.value,
|
|
71
|
+
tabIndex = _a.tabIndex,
|
|
72
|
+
disabled = _a.disabled,
|
|
73
|
+
readOnly = _a.readOnly,
|
|
74
|
+
color = _a.color,
|
|
75
|
+
backgroundColor = _a.backgroundColor,
|
|
76
|
+
strokeWidth = _a.strokeWidth,
|
|
77
|
+
smooth = _a.smooth,
|
|
78
|
+
popupScale = _a.popupScale,
|
|
79
|
+
scale = _a.scale,
|
|
80
|
+
elementSize = _a.elementSize;
|
|
81
|
+
var ls = provideLocalizationService(this);
|
|
82
|
+
var minimizeTitle = ls.toLanguageString(signatureMinimize, messages[signatureMinimize]);
|
|
83
|
+
var clearTitle = ls.toLanguageString(signatureClear, messages[signatureClear]);
|
|
84
|
+
var hideLine = !this.$props.hideLine && h(SignatureLine);
|
|
85
|
+
var bottomActions = h(SignatureBottomActions, {
|
|
86
|
+
showClear: showClear,
|
|
87
|
+
attrs: this.v3 ? undefined : {
|
|
88
|
+
showClear: showClear,
|
|
89
|
+
size: size,
|
|
90
|
+
title: clearTitle
|
|
91
|
+
},
|
|
92
|
+
size: size,
|
|
93
|
+
onClear: this.onClear,
|
|
94
|
+
on: this.v3 ? undefined : {
|
|
95
|
+
"clear": this.onClear
|
|
96
|
+
},
|
|
97
|
+
title: clearTitle
|
|
98
|
+
});
|
|
99
|
+
var dialog =
|
|
100
|
+
// @ts-ignore function children
|
|
101
|
+
h(Dialog, {
|
|
102
|
+
ref: setRef(this, 'dialog'),
|
|
103
|
+
onOverlayclick: this.onOverlayClick,
|
|
104
|
+
on: this.v3 ? undefined : {
|
|
105
|
+
"overlayclick": this.onOverlayClick
|
|
106
|
+
}
|
|
107
|
+
}, this.v3 ? function () {
|
|
108
|
+
return [h("div", {
|
|
109
|
+
style: {
|
|
110
|
+
width: popupWidth + 'px',
|
|
111
|
+
height: popupHeight + 'px'
|
|
112
|
+
},
|
|
113
|
+
dir: dir,
|
|
114
|
+
attrs: _this.v3 ? undefined : {
|
|
115
|
+
dir: dir
|
|
116
|
+
},
|
|
117
|
+
"class": _this.openWrapperClass,
|
|
118
|
+
onFocus: _this.onFocus,
|
|
119
|
+
on: _this.v3 ? undefined : {
|
|
120
|
+
"focus": _this.onFocus,
|
|
121
|
+
"blur": _this.onBlur
|
|
122
|
+
},
|
|
123
|
+
onBlur: _this.onBlur
|
|
124
|
+
}, [h(SignatureCanvas, {
|
|
125
|
+
ref: setRef(_this, 'openCanvas'),
|
|
126
|
+
value: value,
|
|
127
|
+
attrs: _this.v3 ? undefined : {
|
|
128
|
+
value: value,
|
|
129
|
+
tabIndex: tabIndex,
|
|
130
|
+
disabled: disabled,
|
|
131
|
+
readOnly: readOnly,
|
|
132
|
+
color: color,
|
|
133
|
+
backgroundColor: backgroundColor,
|
|
134
|
+
strokeWidth: strokeWidth,
|
|
135
|
+
smooth: smooth,
|
|
136
|
+
popupScale: popupScale,
|
|
137
|
+
scale: scale,
|
|
138
|
+
elementSize: elementSize
|
|
139
|
+
},
|
|
140
|
+
tabIndex: tabIndex,
|
|
141
|
+
disabled: disabled,
|
|
142
|
+
readOnly: readOnly,
|
|
143
|
+
color: color,
|
|
144
|
+
backgroundColor: backgroundColor,
|
|
145
|
+
strokeWidth: strokeWidth,
|
|
146
|
+
smooth: smooth,
|
|
147
|
+
popupScale: popupScale,
|
|
148
|
+
scale: scale,
|
|
149
|
+
onChange: _this.onValueChange,
|
|
150
|
+
on: _this.v3 ? undefined : {
|
|
151
|
+
"change": _this.onValueChange
|
|
152
|
+
},
|
|
153
|
+
elementSize: elementSize
|
|
154
|
+
}), h("div", {
|
|
155
|
+
"class": 'k-signature-actions k-signature-actions-top'
|
|
156
|
+
}, [
|
|
157
|
+
// @ts-ignore
|
|
158
|
+
h(Button, {
|
|
159
|
+
"class": 'k-signature-action k-signature-minimize k-rotate-180',
|
|
160
|
+
ref: setRef(_this, 'minimizeButton'),
|
|
161
|
+
icon: 'hyperlink-open',
|
|
162
|
+
attrs: _this.v3 ? undefined : {
|
|
163
|
+
icon: 'hyperlink-open',
|
|
164
|
+
svgIcon: hyperlinkOpenIcon,
|
|
165
|
+
shape: null,
|
|
166
|
+
fillMode: 'flat',
|
|
167
|
+
size: _this.$props.size,
|
|
168
|
+
"aria-label": minimizeTitle,
|
|
169
|
+
title: minimizeTitle
|
|
170
|
+
},
|
|
171
|
+
svgIcon: hyperlinkOpenIcon,
|
|
172
|
+
shape: null,
|
|
173
|
+
fillMode: 'flat',
|
|
174
|
+
size: _this.$props.size,
|
|
175
|
+
onClick: _this.onMinimizeClick,
|
|
176
|
+
on: _this.v3 ? undefined : {
|
|
177
|
+
"click": _this.onMinimizeClick
|
|
178
|
+
},
|
|
179
|
+
"aria-label": minimizeTitle,
|
|
180
|
+
title: minimizeTitle
|
|
181
|
+
})]), hideLine, bottomActions])];
|
|
182
|
+
} : [h("div", {
|
|
183
|
+
style: {
|
|
184
|
+
width: popupWidth + 'px',
|
|
185
|
+
height: popupHeight + 'px'
|
|
186
|
+
},
|
|
187
|
+
dir: dir,
|
|
188
|
+
attrs: _this.v3 ? undefined : {
|
|
189
|
+
dir: dir
|
|
190
|
+
},
|
|
191
|
+
"class": _this.openWrapperClass,
|
|
192
|
+
onFocus: _this.onFocus,
|
|
193
|
+
on: _this.v3 ? undefined : {
|
|
194
|
+
"focus": _this.onFocus,
|
|
195
|
+
"blur": _this.onBlur
|
|
196
|
+
},
|
|
197
|
+
onBlur: _this.onBlur
|
|
198
|
+
}, [h(SignatureCanvas, {
|
|
199
|
+
ref: setRef(_this, 'openCanvas'),
|
|
200
|
+
value: value,
|
|
201
|
+
attrs: _this.v3 ? undefined : {
|
|
202
|
+
value: value,
|
|
203
|
+
tabIndex: tabIndex,
|
|
204
|
+
disabled: disabled,
|
|
205
|
+
readOnly: readOnly,
|
|
206
|
+
color: color,
|
|
207
|
+
backgroundColor: backgroundColor,
|
|
208
|
+
strokeWidth: strokeWidth,
|
|
209
|
+
smooth: smooth,
|
|
210
|
+
popupScale: popupScale,
|
|
211
|
+
scale: scale,
|
|
212
|
+
elementSize: elementSize
|
|
213
|
+
},
|
|
214
|
+
tabIndex: tabIndex,
|
|
215
|
+
disabled: disabled,
|
|
216
|
+
readOnly: readOnly,
|
|
217
|
+
color: color,
|
|
218
|
+
backgroundColor: backgroundColor,
|
|
219
|
+
strokeWidth: strokeWidth,
|
|
220
|
+
smooth: smooth,
|
|
221
|
+
popupScale: popupScale,
|
|
222
|
+
scale: scale,
|
|
223
|
+
onChange: _this.onValueChange,
|
|
224
|
+
on: _this.v3 ? undefined : {
|
|
225
|
+
"change": _this.onValueChange
|
|
226
|
+
},
|
|
227
|
+
elementSize: elementSize
|
|
228
|
+
}), h("div", {
|
|
229
|
+
"class": 'k-signature-actions k-signature-actions-top'
|
|
230
|
+
}, [h(Button, {
|
|
231
|
+
"class": 'k-signature-action k-signature-minimize k-rotate-180',
|
|
232
|
+
ref: setRef(_this, 'minimizeButton'),
|
|
233
|
+
icon: 'hyperlink-open',
|
|
234
|
+
attrs: _this.v3 ? undefined : {
|
|
235
|
+
icon: 'hyperlink-open',
|
|
236
|
+
svgIcon: hyperlinkOpenIcon,
|
|
237
|
+
shape: null,
|
|
238
|
+
fillMode: 'flat',
|
|
239
|
+
size: _this.$props.size,
|
|
240
|
+
"aria-label": minimizeTitle,
|
|
241
|
+
title: minimizeTitle
|
|
242
|
+
},
|
|
243
|
+
svgIcon: hyperlinkOpenIcon,
|
|
244
|
+
shape: null,
|
|
245
|
+
fillMode: 'flat',
|
|
246
|
+
size: _this.$props.size,
|
|
247
|
+
onClick: _this.onMinimizeClick,
|
|
248
|
+
on: _this.v3 ? undefined : {
|
|
249
|
+
"click": _this.onMinimizeClick
|
|
250
|
+
},
|
|
251
|
+
"aria-label": minimizeTitle,
|
|
252
|
+
title: minimizeTitle
|
|
253
|
+
})]), hideLine, bottomActions])]);
|
|
254
|
+
return dialog;
|
|
255
|
+
},
|
|
256
|
+
methods: {
|
|
257
|
+
onValueChange: function onValueChange(nextValue) {
|
|
258
|
+
this.$emit('change', nextValue);
|
|
259
|
+
},
|
|
260
|
+
onClear: function onClear() {
|
|
261
|
+
this.$emit('clear');
|
|
262
|
+
},
|
|
263
|
+
onMinimizeClick: function onMinimizeClick() {
|
|
264
|
+
this.$emit('close');
|
|
265
|
+
},
|
|
266
|
+
onFocus: function onFocus(e) {
|
|
267
|
+
this.$emit('focus', e);
|
|
268
|
+
},
|
|
269
|
+
onBlur: function onBlur(e) {
|
|
270
|
+
this.$emit('blur', e);
|
|
271
|
+
},
|
|
272
|
+
onOverlayClick: function onOverlayClick(e) {
|
|
273
|
+
this.$emit('overlayclick', e);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* @hidden
|
|
279
|
+
*/
|
|
280
|
+
var SignatureDialog = SignatureDialogVue2;
|
|
281
|
+
export { SignatureDialog, SignatureDialogVue2 };
|
|
@@ -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
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export interface SignatureLineState {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface SignatureLineComputed {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export interface SignatureLineMethods {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
element: () => HTMLSpanElement | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export interface SignatureLineData {
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export interface SignatureLineAll extends Vue2type, SignatureLineMethods, SignatureLineData, SignatureLineComputed, SignatureLineState {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
declare let SignatureLineVue2: ComponentOptions<SignatureLineAll, DefaultData<SignatureLineData>, DefaultMethods<SignatureLineAll>, SignatureLineComputed, RecordPropsDefinition<{}>>;
|
|
38
|
+
declare const SignatureLine: DefineComponent<{}, any, SignatureLineData, SignatureLineComputed, SignatureLineMethods, {}, {}, {}, string, {}, {}, {}>;
|
|
39
|
+
export { SignatureLine, SignatureLineVue2 };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
var SignatureLineVue2 = {
|
|
10
|
+
name: 'KendoSignatureLine',
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
setup: !isV3 ? undefined : function () {
|
|
13
|
+
var v3 = !!isV3;
|
|
14
|
+
return {
|
|
15
|
+
v3: v3
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
render: function render(createElement) {
|
|
19
|
+
var h = gh || createElement;
|
|
20
|
+
return h("div", {
|
|
21
|
+
"class": 'k-signature-line',
|
|
22
|
+
style: {
|
|
23
|
+
zIndex: 2,
|
|
24
|
+
pointerEvents: 'none'
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
var SignatureLine = SignatureLineVue2;
|
|
30
|
+
export { SignatureLine, SignatureLineVue2 };
|
|
@@ -21,6 +21,16 @@ export interface TextAreaProps extends FormComponentProps {
|
|
|
21
21
|
* Identifies the title of the TextArea component.
|
|
22
22
|
*/
|
|
23
23
|
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the built-in [minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength) property of the text inputs.
|
|
26
|
+
* * As the property is directly passed to the internal [input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) element, when defining it, it should be written as it is - `minlength`. Camel-case and kebap-case won't work in this scenario.
|
|
27
|
+
*/
|
|
28
|
+
minlength?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Defines the built-in [maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength) property of the text inputs.
|
|
31
|
+
* * As the property is directly passed to the internal [input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) element, when defining it, it should be written as it is - `maxlength`. Camel-case and kebap-case won't work in this scenario.
|
|
32
|
+
*/
|
|
33
|
+
maxlength?: string;
|
|
24
34
|
/**
|
|
25
35
|
* Specifies if the textarea element will resize its height automatically ([see example]({% slug sizing_textarea %})).
|
|
26
36
|
* Defaults to `false`.
|
|
@@ -126,14 +126,23 @@ export interface InputProps extends FormComponentProps {
|
|
|
126
126
|
*/
|
|
127
127
|
inputClass?: String;
|
|
128
128
|
/**
|
|
129
|
-
* Identifies the element(s) which will
|
|
130
|
-
* For example these elements could contain error or hint message.
|
|
129
|
+
* Identifies the element(s) which will label the component.
|
|
131
130
|
*/
|
|
132
131
|
ariaDescribedBy?: string;
|
|
133
132
|
/**
|
|
134
|
-
*
|
|
133
|
+
* Defines a string value that labels an interactive element.
|
|
135
134
|
*/
|
|
136
135
|
ariaLabelledBy?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Defines the built-in [minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength) property of the text inputs.
|
|
138
|
+
* * As the property is directly passed to the internal [input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) element, when defining it, it should be written as it is - `minlength`. Camel-case and kebap-case won't work in this scenario.
|
|
139
|
+
*/
|
|
140
|
+
minlength?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Defines the built-in [maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength) property of the text inputs.
|
|
143
|
+
* * As the property is directly passed to the internal [input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) element, when defining it, it should be written as it is - `maxlength`. Camel-case and kebap-case won't work in this scenario.
|
|
144
|
+
*/
|
|
145
|
+
maxlength?: string;
|
|
137
146
|
}
|
|
138
147
|
/**
|
|
139
148
|
* @hidden
|
|
@@ -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: 1673606827,
|
|
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
|
};
|