@syncfusion/ej2-vue-inputs 19.3.57 → 19.4.38

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.
Files changed (94) hide show
  1. package/CHANGELOG.md +23 -3
  2. package/dist/ej2-vue-inputs.umd.min.js +1 -1
  3. package/dist/es6/ej2-vue-inputs.es2015.js +166 -13
  4. package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-inputs.es5.js +180 -13
  6. package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-inputs.min.js +2 -2
  8. package/package.json +8 -8
  9. package/signature.d.ts +4 -0
  10. package/signature.js +4 -0
  11. package/src/color-picker/colorpicker.component.js +2 -2
  12. package/src/index.d.ts +1 -0
  13. package/src/index.js +1 -0
  14. package/src/maskedtextbox/maskedtextbox.component.js +2 -2
  15. package/src/numerictextbox/numerictextbox.component.js +2 -2
  16. package/src/signature/index.d.ts +1 -0
  17. package/src/signature/index.js +1 -0
  18. package/src/signature/signature.component.d.ts +47 -0
  19. package/src/signature/signature.component.js +170 -0
  20. package/src/slider/slider.component.js +2 -2
  21. package/src/textbox/textbox.component.js +2 -2
  22. package/src/uploader/uploader.component.js +1 -1
  23. package/styles/bootstrap-dark.css +23 -16
  24. package/styles/bootstrap-dark.scss +1 -0
  25. package/styles/bootstrap.css +23 -16
  26. package/styles/bootstrap.scss +1 -0
  27. package/styles/bootstrap4.css +23 -16
  28. package/styles/bootstrap4.scss +1 -0
  29. package/styles/bootstrap5-dark.css +27 -42
  30. package/styles/bootstrap5-dark.scss +1 -0
  31. package/styles/bootstrap5.css +27 -42
  32. package/styles/bootstrap5.scss +1 -0
  33. package/styles/color-picker/bootstrap5-dark.css +3 -21
  34. package/styles/color-picker/bootstrap5.css +3 -21
  35. package/styles/color-picker/fabric-dark.css +3 -3
  36. package/styles/fabric-dark.css +26 -19
  37. package/styles/fabric-dark.scss +1 -0
  38. package/styles/fabric.css +23 -16
  39. package/styles/fabric.scss +1 -0
  40. package/styles/highcontrast-light.css +23 -16
  41. package/styles/highcontrast-light.scss +1 -0
  42. package/styles/highcontrast.css +23 -16
  43. package/styles/highcontrast.scss +1 -0
  44. package/styles/input/bootstrap-dark.css +13 -16
  45. package/styles/input/bootstrap.css +13 -16
  46. package/styles/input/bootstrap4.css +13 -16
  47. package/styles/input/bootstrap5-dark.css +13 -16
  48. package/styles/input/bootstrap5.css +13 -16
  49. package/styles/input/fabric-dark.css +13 -16
  50. package/styles/input/fabric.css +13 -16
  51. package/styles/input/highcontrast-light.css +13 -16
  52. package/styles/input/highcontrast.css +13 -16
  53. package/styles/input/material-dark.css +13 -16
  54. package/styles/input/material.css +13 -16
  55. package/styles/input/tailwind-dark.css +13 -16
  56. package/styles/input/tailwind.css +13 -16
  57. package/styles/material-dark.css +23 -16
  58. package/styles/material-dark.scss +1 -0
  59. package/styles/material.css +23 -16
  60. package/styles/material.scss +1 -0
  61. package/styles/signature/bootstrap-dark.css +9 -0
  62. package/styles/signature/bootstrap-dark.scss +1 -0
  63. package/styles/signature/bootstrap.css +9 -0
  64. package/styles/signature/bootstrap.scss +1 -0
  65. package/styles/signature/bootstrap4.css +9 -0
  66. package/styles/signature/bootstrap4.scss +1 -0
  67. package/styles/signature/bootstrap5-dark.css +9 -0
  68. package/styles/signature/bootstrap5-dark.scss +1 -0
  69. package/styles/signature/bootstrap5.css +9 -0
  70. package/styles/signature/bootstrap5.scss +1 -0
  71. package/styles/signature/fabric-dark.css +9 -0
  72. package/styles/signature/fabric-dark.scss +1 -0
  73. package/styles/signature/fabric.css +9 -0
  74. package/styles/signature/fabric.scss +1 -0
  75. package/styles/signature/highcontrast-light.css +9 -0
  76. package/styles/signature/highcontrast-light.scss +1 -0
  77. package/styles/signature/highcontrast.css +9 -0
  78. package/styles/signature/highcontrast.scss +1 -0
  79. package/styles/signature/material-dark.css +10 -0
  80. package/styles/signature/material-dark.scss +1 -0
  81. package/styles/signature/material.css +10 -0
  82. package/styles/signature/material.scss +1 -0
  83. package/styles/signature/tailwind-dark.css +10 -0
  84. package/styles/signature/tailwind-dark.scss +1 -0
  85. package/styles/signature/tailwind.css +10 -0
  86. package/styles/signature/tailwind.scss +1 -0
  87. package/styles/slider/bootstrap5-dark.css +1 -5
  88. package/styles/slider/bootstrap5.css +1 -5
  89. package/styles/slider/tailwind-dark.css +1 -5
  90. package/styles/slider/tailwind.css +1 -5
  91. package/styles/tailwind-dark.css +25 -21
  92. package/styles/tailwind-dark.scss +1 -0
  93. package/styles/tailwind.css +25 -21
  94. package/styles/tailwind.scss +1 -0
package/CHANGELOG.md CHANGED
@@ -2,11 +2,23 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### NumericTextBox
5
+ ### Signature
6
6
 
7
- #### Bug Fixes
7
+ 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.
8
8
 
9
- - `#FB30370` - Issue with "typing decimal separator in the starting position is converted as 0 while binding the v-model property" has been resolved.
9
+
10
+ - **Customization** - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
11
+ - **Load** - Support to load the signature as base64.
12
+ - **Draw** - Support to draw the text with the different font family and font size.
13
+ - **Save** - Support to save the signature as image like PNG, JPEG, and SVG.
14
+
15
+ 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.
16
+
17
+
18
+ - **Customization** - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
19
+ - **Load** - Support to load the signature as base64.
20
+ - **Draw** - Support to draw the text with the different font family and font size.
21
+ - **Save** - Support to save the signature as image like PNG, JPEG, and SVG.
10
22
 
11
23
  ## 19.3.53 (2021-11-12)
12
24
 
@@ -1256,6 +1268,14 @@ MaskedTextBox allows the user to enter the valid input only based on the provide
1256
1268
  - **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.
1257
1269
 
1258
1270
 
1271
+ ## 19.3.57 (2021-12-07)
1272
+
1273
+ ### NumericTextBox
1274
+
1275
+ #### Bug Fixes
1276
+
1277
+ - `#FB30370` - Issue with "typing decimal separator in the starting position is converted as 0 while binding the v-model property" has been resolved.
1278
+
1259
1279
  ## 19.1.67 (2021-06-08)
1260
1280
 
1261
1281
  ### MaskedTextBox
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-vue-inputs.umd.min.js
3
- * version : 19.3.57
3
+ * version : 19.4.38
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 = ['islazyUpdate', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
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.islazyUpdate)) {
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 = ['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'];
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.islazyUpdate)) {
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 = ['islazyUpdate', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
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.islazyUpdate)) {
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 = ['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'];
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.islazyUpdate)) {
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 = ['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'];
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 = ['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'];
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.islazyUpdate)) {
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
- export { TextBoxComponent, TextBoxPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin };
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