@syncfusion/ej2-vue-inputs 19.3.53 → 19.4.42
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/CHANGELOG.md +30 -0
- package/dist/ej2-vue-inputs.umd.min.js +1 -1
- package/dist/es6/ej2-vue-inputs.es2015.js +166 -13
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +180 -13
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/dist/global/ej2-vue-inputs.min.js +2 -2
- package/package.json +8 -8
- package/signature.d.ts +4 -0
- package/signature.js +4 -0
- package/src/color-picker/colorpicker.component.js +2 -2
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/maskedtextbox/maskedtextbox.component.js +2 -2
- package/src/numerictextbox/numerictextbox.component.js +2 -2
- package/src/signature/index.d.ts +1 -0
- package/src/signature/index.js +1 -0
- package/src/signature/signature.component.d.ts +47 -0
- package/src/signature/signature.component.js +170 -0
- package/src/slider/slider.component.js +2 -2
- package/src/textbox/textbox.component.js +2 -2
- package/src/uploader/uploader.component.js +1 -1
- package/styles/bootstrap-dark.css +43 -16
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +43 -16
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +43 -16
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +46 -41
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +46 -41
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap-dark.css +20 -0
- package/styles/color-picker/bootstrap.css +20 -0
- package/styles/color-picker/bootstrap4.css +20 -0
- package/styles/color-picker/bootstrap5-dark.css +22 -20
- package/styles/color-picker/bootstrap5.css +22 -20
- package/styles/color-picker/fabric-dark.css +23 -3
- package/styles/color-picker/fabric.css +20 -0
- package/styles/color-picker/highcontrast-light.css +20 -0
- package/styles/color-picker/highcontrast.css +20 -0
- package/styles/color-picker/material-dark.css +20 -0
- package/styles/color-picker/material.css +20 -0
- package/styles/color-picker/tailwind-dark.css +20 -0
- package/styles/color-picker/tailwind.css +20 -0
- package/styles/fabric-dark.css +46 -19
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +43 -16
- package/styles/fabric.scss +1 -0
- package/styles/highcontrast-light.css +43 -16
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +43 -16
- package/styles/highcontrast.scss +1 -0
- package/styles/input/bootstrap-dark.css +13 -16
- package/styles/input/bootstrap.css +13 -16
- package/styles/input/bootstrap4.css +13 -16
- package/styles/input/bootstrap5-dark.css +13 -16
- package/styles/input/bootstrap5.css +13 -16
- package/styles/input/fabric-dark.css +13 -16
- package/styles/input/fabric.css +13 -16
- package/styles/input/highcontrast-light.css +13 -16
- package/styles/input/highcontrast.css +13 -16
- package/styles/input/material-dark.css +13 -16
- package/styles/input/material.css +13 -16
- package/styles/input/tailwind-dark.css +13 -16
- package/styles/input/tailwind.css +13 -16
- package/styles/material-dark.css +43 -16
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +43 -16
- package/styles/material.scss +1 -0
- package/styles/signature/bootstrap-dark.css +9 -0
- package/styles/signature/bootstrap-dark.scss +1 -0
- package/styles/signature/bootstrap.css +9 -0
- package/styles/signature/bootstrap.scss +1 -0
- package/styles/signature/bootstrap4.css +9 -0
- package/styles/signature/bootstrap4.scss +1 -0
- package/styles/signature/bootstrap5-dark.css +9 -0
- package/styles/signature/bootstrap5-dark.scss +1 -0
- package/styles/signature/bootstrap5.css +9 -0
- package/styles/signature/bootstrap5.scss +1 -0
- package/styles/signature/fabric-dark.css +9 -0
- package/styles/signature/fabric-dark.scss +1 -0
- package/styles/signature/fabric.css +9 -0
- package/styles/signature/fabric.scss +1 -0
- package/styles/signature/highcontrast-light.css +9 -0
- package/styles/signature/highcontrast-light.scss +1 -0
- package/styles/signature/highcontrast.css +9 -0
- package/styles/signature/highcontrast.scss +1 -0
- package/styles/signature/material-dark.css +10 -0
- package/styles/signature/material-dark.scss +1 -0
- package/styles/signature/material.css +10 -0
- package/styles/signature/material.scss +1 -0
- package/styles/signature/tailwind-dark.css +10 -0
- package/styles/signature/tailwind-dark.scss +1 -0
- package/styles/signature/tailwind.css +10 -0
- package/styles/signature/tailwind.scss +1 -0
- package/styles/slider/bootstrap5-dark.css +1 -5
- package/styles/slider/bootstrap5.css +1 -5
- package/styles/slider/tailwind-dark.css +1 -5
- package/styles/slider/tailwind.css +1 -5
- package/styles/tailwind-dark.css +45 -21
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +45 -21
- package/styles/tailwind.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 19.4.38 (2021-12-17)
|
|
6
|
+
|
|
7
|
+
### Signature
|
|
8
|
+
|
|
9
|
+
The Signature control allows user to draw smooth signatures as vector outline of strokes using variable width Bézier curve interpolation. You can use your finger, pen, or mouse on a tablet, touchscreen, etc., to draw your own signature on this Signature control.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
- **Customization** - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
|
|
13
|
+
- **Load** - Support to load the signature as base64.
|
|
14
|
+
- **Draw** - Support to draw the text with the different font family and font size.
|
|
15
|
+
- **Save** - Support to save the signature as image like PNG, JPEG, and SVG.
|
|
16
|
+
|
|
17
|
+
The Signature component allows user to draw smooth signatures as vector outline of strokes using variable width Bézier curve interpolation. You can use your finger, pen, or mouse on a tablet, touchscreen, etc., to draw your own signature on this Signature component.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **Customization** - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
|
|
21
|
+
- **Load** - Support to load the signature as base64.
|
|
22
|
+
- **Draw** - Support to draw the text with the different font family and font size.
|
|
23
|
+
- **Save** - Support to save the signature as image like PNG, JPEG, and SVG.
|
|
24
|
+
|
|
25
|
+
## 19.3.53 (2021-11-12)
|
|
26
|
+
|
|
5
27
|
### ColorPicker
|
|
6
28
|
|
|
7
29
|
#### Bug Fixes
|
|
@@ -1248,6 +1270,14 @@ MaskedTextBox allows the user to enter the valid input only based on the provide
|
|
|
1248
1270
|
- **Accessibility** - provides built-in accessibility support which helps to access all the MaskedTextBox component features through keyboard, on-screen readers, or other assistive technology devices.
|
|
1249
1271
|
|
|
1250
1272
|
|
|
1273
|
+
## 19.3.57 (2021-12-07)
|
|
1274
|
+
|
|
1275
|
+
### NumericTextBox
|
|
1276
|
+
|
|
1277
|
+
#### Bug Fixes
|
|
1278
|
+
|
|
1279
|
+
- `#FB30370` - Issue with "typing decimal separator in the starting position is converted as 0 while binding the v-model property" has been resolved.
|
|
1280
|
+
|
|
1251
1281
|
## 19.1.67 (2021-06-08)
|
|
1252
1282
|
|
|
1253
1283
|
### MaskedTextBox
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-inputs.umd.min.js
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.42
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorPicker, MaskedTextBox, NumericTextBox, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
1
|
+
import { ColorPicker, MaskedTextBox, NumericTextBox, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
2
2
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
3
3
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
4
4
|
import { Vue } from 'vue-class-component';
|
|
@@ -11,7 +11,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
13
|
// {{VueImport}}
|
|
14
|
-
const properties = ['
|
|
14
|
+
const properties = ['isLazyUpdate', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
|
|
15
15
|
const modelProps = ['value'];
|
|
16
16
|
const testProp = getProps({ props: properties });
|
|
17
17
|
const props = testProp[0];
|
|
@@ -110,7 +110,7 @@ class TextBoxComponent extends ComponentBase {
|
|
|
110
110
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
113
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
114
114
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
115
115
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
116
116
|
}
|
|
@@ -186,7 +186,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
186
186
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
187
187
|
};
|
|
188
188
|
// {{VueImport}}
|
|
189
|
-
const properties$1 = ['
|
|
189
|
+
const properties$1 = ['isLazyUpdate', 'cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
190
190
|
const modelProps$1 = ['value'];
|
|
191
191
|
const testProp$1 = getProps({ props: properties$1 });
|
|
192
192
|
const props$1 = testProp$1[0];
|
|
@@ -285,7 +285,7 @@ class NumericTextBoxComponent extends ComponentBase {
|
|
|
285
285
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
286
286
|
}
|
|
287
287
|
else {
|
|
288
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
288
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
289
289
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
290
290
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
291
291
|
}
|
|
@@ -361,7 +361,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
361
361
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
362
362
|
};
|
|
363
363
|
// {{VueImport}}
|
|
364
|
-
const properties$2 = ['
|
|
364
|
+
const properties$2 = ['isLazyUpdate', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
365
365
|
const modelProps$2 = ['value'];
|
|
366
366
|
const testProp$2 = getProps({ props: properties$2 });
|
|
367
367
|
const props$2 = testProp$2[0];
|
|
@@ -460,7 +460,7 @@ class MaskedTextBoxComponent extends ComponentBase {
|
|
|
460
460
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
461
461
|
}
|
|
462
462
|
else {
|
|
463
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
463
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
464
464
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
465
465
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
466
466
|
}
|
|
@@ -530,7 +530,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
530
530
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
531
531
|
};
|
|
532
532
|
// {{VueImport}}
|
|
533
|
-
const properties$3 = ['
|
|
533
|
+
const properties$3 = ['isLazyUpdate', 'colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
|
|
534
534
|
const modelProps$3 = ['value'];
|
|
535
535
|
const testProp$3 = getProps({ props: properties$3 });
|
|
536
536
|
const props$3 = testProp$3[0];
|
|
@@ -629,7 +629,7 @@ class SliderComponent extends ComponentBase {
|
|
|
629
629
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
630
630
|
}
|
|
631
631
|
else {
|
|
632
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
632
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
633
633
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
634
634
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
635
635
|
}
|
|
@@ -757,7 +757,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
757
757
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
758
758
|
};
|
|
759
759
|
// {{VueImport}}
|
|
760
|
-
const properties$4 = ['
|
|
760
|
+
const properties$4 = ['isLazyUpdate', 'allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
|
|
761
761
|
const modelProps$4 = [];
|
|
762
762
|
const testProp$4 = getProps({ props: properties$4 });
|
|
763
763
|
const props$4 = testProp$4[0];
|
|
@@ -912,7 +912,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
912
912
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
913
913
|
};
|
|
914
914
|
// {{VueImport}}
|
|
915
|
-
const properties$5 = ['
|
|
915
|
+
const properties$5 = ['isLazyUpdate', 'columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
|
|
916
916
|
const modelProps$5 = ['value'];
|
|
917
917
|
const testProp$5 = getProps({ props: properties$5 });
|
|
918
918
|
const props$5 = testProp$5[0];
|
|
@@ -1011,7 +1011,7 @@ class ColorPickerComponent extends ComponentBase {
|
|
|
1011
1011
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1012
1012
|
}
|
|
1013
1013
|
else {
|
|
1014
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
1014
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1015
1015
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1016
1016
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
1017
1017
|
}
|
|
@@ -1074,6 +1074,159 @@ const ColorPickerPlugin = {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
1076
|
|
|
1077
|
-
|
|
1077
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1078
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1079
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1080
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1081
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1082
|
+
};
|
|
1083
|
+
// {{VueImport}}
|
|
1084
|
+
const properties$6 = ['isLazyUpdate', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
|
|
1085
|
+
const modelProps$6 = [];
|
|
1086
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1087
|
+
const props$6 = testProp$6[0];
|
|
1088
|
+
const watch$6 = testProp$6[1];
|
|
1089
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1090
|
+
emitProbs$6.push('modelchanged');
|
|
1091
|
+
for (let props of modelProps$6) {
|
|
1092
|
+
emitProbs$6.push('update:' + props);
|
|
1093
|
+
}
|
|
1094
|
+
const isExecute$7 = gh ? false : true;
|
|
1095
|
+
/**
|
|
1096
|
+
* Represents the Essential JS 2 VueJS Signature Component
|
|
1097
|
+
* ```html
|
|
1098
|
+
* <ejs-signature></ejs-signature>
|
|
1099
|
+
* ```
|
|
1100
|
+
*/
|
|
1101
|
+
let SignatureComponent =
|
|
1102
|
+
/* Start Options({
|
|
1103
|
+
props: props,
|
|
1104
|
+
watch: watch,
|
|
1105
|
+
emits: emitProbs
|
|
1106
|
+
}) End */
|
|
1107
|
+
class SignatureComponent extends ComponentBase {
|
|
1108
|
+
constructor() {
|
|
1109
|
+
super(arguments);
|
|
1110
|
+
this.propKeys = properties$6;
|
|
1111
|
+
this.models = modelProps$6;
|
|
1112
|
+
this.hasChildDirective = false;
|
|
1113
|
+
this.hasInjectedModules = false;
|
|
1114
|
+
this.tagMapper = {};
|
|
1115
|
+
this.tagNameMapper = {};
|
|
1116
|
+
this.isVue3 = !isExecute$7;
|
|
1117
|
+
this.ej2Instances = new Signature({});
|
|
1118
|
+
this.bindProperties();
|
|
1119
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1120
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
1121
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1122
|
+
}
|
|
1123
|
+
clearTemplate(templateNames) {
|
|
1124
|
+
if (!templateNames) {
|
|
1125
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1126
|
+
}
|
|
1127
|
+
if (templateNames.length && this.templateCollection) {
|
|
1128
|
+
for (let tempName of templateNames) {
|
|
1129
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1130
|
+
if (elementCollection && elementCollection.length) {
|
|
1131
|
+
for (let ele of elementCollection) {
|
|
1132
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1133
|
+
if (destroy) {
|
|
1134
|
+
ele.__vue__.$destroy();
|
|
1135
|
+
}
|
|
1136
|
+
if (ele.innerHTML) {
|
|
1137
|
+
ele.innerHTML = '';
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
delete this.templateCollection[tempName];
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
setProperties(prop, muteOnChange) {
|
|
1146
|
+
if (this.isVue3) {
|
|
1147
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1148
|
+
}
|
|
1149
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1150
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1151
|
+
}
|
|
1152
|
+
if (prop && this.models && this.models.length) {
|
|
1153
|
+
Object.keys(prop).map((key) => {
|
|
1154
|
+
this.models.map((model) => {
|
|
1155
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1156
|
+
if (this.isVue3) {
|
|
1157
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1158
|
+
}
|
|
1159
|
+
else {
|
|
1160
|
+
this.$emit('update:' + key, prop[key]);
|
|
1161
|
+
this.$emit('modelchanged', prop[key]);
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
});
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
render(createElement) {
|
|
1169
|
+
let h = gh || createElement;
|
|
1170
|
+
let slots = null;
|
|
1171
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1172
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1173
|
+
}
|
|
1174
|
+
return h('canvas', slots);
|
|
1175
|
+
}
|
|
1176
|
+
canRedo() {
|
|
1177
|
+
return this.ej2Instances.canRedo();
|
|
1178
|
+
}
|
|
1179
|
+
canUndo() {
|
|
1180
|
+
return this.ej2Instances.canUndo();
|
|
1181
|
+
}
|
|
1182
|
+
clear() {
|
|
1183
|
+
return this.ej2Instances.clear();
|
|
1184
|
+
}
|
|
1185
|
+
draw(text, fontFamily, fontSize) {
|
|
1186
|
+
return this.ej2Instances.draw(text, fontFamily, fontSize);
|
|
1187
|
+
}
|
|
1188
|
+
getBlob(url) {
|
|
1189
|
+
return this.ej2Instances.getBlob(url);
|
|
1190
|
+
}
|
|
1191
|
+
initialize() {
|
|
1192
|
+
return this.ej2Instances.initialize();
|
|
1193
|
+
}
|
|
1194
|
+
isEmpty() {
|
|
1195
|
+
return this.ej2Instances.isEmpty();
|
|
1196
|
+
}
|
|
1197
|
+
load(signature, width, height) {
|
|
1198
|
+
return this.ej2Instances.load(signature, width, height);
|
|
1199
|
+
}
|
|
1200
|
+
redo() {
|
|
1201
|
+
return this.ej2Instances.redo();
|
|
1202
|
+
}
|
|
1203
|
+
save(type, fileName) {
|
|
1204
|
+
return this.ej2Instances.save(type, fileName);
|
|
1205
|
+
}
|
|
1206
|
+
saveAsBlob() {
|
|
1207
|
+
return this.ej2Instances.saveAsBlob();
|
|
1208
|
+
}
|
|
1209
|
+
undo() {
|
|
1210
|
+
return this.ej2Instances.undo();
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
SignatureComponent = __decorate$7([
|
|
1214
|
+
EJComponentDecorator({
|
|
1215
|
+
props: properties$6
|
|
1216
|
+
}, isExecute$7)
|
|
1217
|
+
/* Start Options({
|
|
1218
|
+
props: props,
|
|
1219
|
+
watch: watch,
|
|
1220
|
+
emits: emitProbs
|
|
1221
|
+
}) End */
|
|
1222
|
+
], SignatureComponent);
|
|
1223
|
+
const SignaturePlugin = {
|
|
1224
|
+
name: 'ejs-signature',
|
|
1225
|
+
install(Vue$$1) {
|
|
1226
|
+
Vue$$1.component(SignaturePlugin.name, SignatureComponent);
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
export { TextBoxComponent, TextBoxPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin, SignatureComponent, SignaturePlugin };
|
|
1078
1231
|
export * from '@syncfusion/ej2-inputs';
|
|
1079
1232
|
//# sourceMappingURL=ej2-vue-inputs.es2015.js.map
|