@syncfusion/ej2-vue-inputs 19.3.57 → 19.4.43
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 -2
- package/dist/ej2-vue-inputs.umd.min.js +10 -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
|
@@ -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';
|
|
@@ -24,7 +24,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
26
|
import { Options } from 'vue-class-component';
|
|
27
|
-
var properties = ['
|
|
27
|
+
var properties = ['isLazyUpdate', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
|
|
28
28
|
var modelProps = ['value'];
|
|
29
29
|
var testProp = getProps({ props: properties });
|
|
30
30
|
var props = testProp[0];
|
|
@@ -123,7 +123,7 @@ var TextBoxComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
123
123
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
126
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
127
127
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
128
128
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
129
129
|
}
|
|
@@ -213,7 +213,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
213
213
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
214
214
|
};
|
|
215
215
|
// {{VueImport}}
|
|
216
|
-
var properties$1 = ['
|
|
216
|
+
var 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'];
|
|
217
217
|
var modelProps$1 = ['value'];
|
|
218
218
|
var testProp$1 = getProps({ props: properties$1 });
|
|
219
219
|
var props$1 = testProp$1[0];
|
|
@@ -312,7 +312,7 @@ var NumericTextBoxComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
312
312
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
313
313
|
}
|
|
314
314
|
else {
|
|
315
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
315
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
316
316
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
317
317
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
318
318
|
}
|
|
@@ -402,7 +402,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
402
402
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
403
403
|
};
|
|
404
404
|
// {{VueImport}}
|
|
405
|
-
var properties$2 = ['
|
|
405
|
+
var properties$2 = ['isLazyUpdate', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
406
406
|
var modelProps$2 = ['value'];
|
|
407
407
|
var testProp$2 = getProps({ props: properties$2 });
|
|
408
408
|
var props$2 = testProp$2[0];
|
|
@@ -501,7 +501,7 @@ var MaskedTextBoxComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
501
501
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
504
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
504
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
505
505
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
506
506
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
507
507
|
}
|
|
@@ -585,7 +585,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
585
585
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
586
586
|
};
|
|
587
587
|
// {{VueImport}}
|
|
588
|
-
var properties$3 = ['
|
|
588
|
+
var 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'];
|
|
589
589
|
var modelProps$3 = ['value'];
|
|
590
590
|
var testProp$3 = getProps({ props: properties$3 });
|
|
591
591
|
var props$3 = testProp$3[0];
|
|
@@ -684,7 +684,7 @@ var SliderComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
684
684
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
685
685
|
}
|
|
686
686
|
else {
|
|
687
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
687
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
688
688
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
689
689
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
690
690
|
}
|
|
@@ -849,7 +849,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
849
849
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
850
850
|
};
|
|
851
851
|
// {{VueImport}}
|
|
852
|
-
var properties$4 = ['
|
|
852
|
+
var 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'];
|
|
853
853
|
var modelProps$4 = [];
|
|
854
854
|
var testProp$4 = getProps({ props: properties$4 });
|
|
855
855
|
var props$4 = testProp$4[0];
|
|
@@ -1018,7 +1018,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1018
1018
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1019
1019
|
};
|
|
1020
1020
|
// {{VueImport}}
|
|
1021
|
-
var properties$5 = ['
|
|
1021
|
+
var 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'];
|
|
1022
1022
|
var modelProps$5 = ['value'];
|
|
1023
1023
|
var testProp$5 = getProps({ props: properties$5 });
|
|
1024
1024
|
var props$5 = testProp$5[0];
|
|
@@ -1117,7 +1117,7 @@ var ColorPickerComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1117
1117
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1118
1118
|
}
|
|
1119
1119
|
else {
|
|
1120
|
-
if (eventName === 'change' || (this.$props && !this.$props.
|
|
1120
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1121
1121
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1122
1122
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
1123
1123
|
}
|
|
@@ -1181,6 +1181,173 @@ var ColorPickerPlugin = {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
};
|
|
1183
1183
|
|
|
1184
|
-
|
|
1184
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
1185
|
+
var extendStatics = function (d, b) {
|
|
1186
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1187
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1188
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1189
|
+
return extendStatics(d, b);
|
|
1190
|
+
};
|
|
1191
|
+
return function (d, b) {
|
|
1192
|
+
extendStatics(d, b);
|
|
1193
|
+
function __() { this.constructor = d; }
|
|
1194
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1195
|
+
};
|
|
1196
|
+
})();
|
|
1197
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1198
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1199
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1200
|
+
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;
|
|
1201
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1202
|
+
};
|
|
1203
|
+
// {{VueImport}}
|
|
1204
|
+
var properties$6 = ['isLazyUpdate', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
|
|
1205
|
+
var modelProps$6 = [];
|
|
1206
|
+
var testProp$6 = getProps({ props: properties$6 });
|
|
1207
|
+
var props$6 = testProp$6[0];
|
|
1208
|
+
var watch$6 = testProp$6[1];
|
|
1209
|
+
var emitProbs$6 = Object.keys(watch$6);
|
|
1210
|
+
emitProbs$6.push('modelchanged');
|
|
1211
|
+
for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
|
|
1212
|
+
var props_1$6 = modelProps_1$6[_i$6];
|
|
1213
|
+
emitProbs$6.push('update:' + props_1$6);
|
|
1214
|
+
}
|
|
1215
|
+
var isExecute$7 = gh ? false : true;
|
|
1216
|
+
/**
|
|
1217
|
+
* Represents the Essential JS 2 VueJS Signature Component
|
|
1218
|
+
* ```html
|
|
1219
|
+
* <ejs-signature></ejs-signature>
|
|
1220
|
+
* ```
|
|
1221
|
+
*/
|
|
1222
|
+
var SignatureComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1223
|
+
__extends$7(SignatureComponent, _super);
|
|
1224
|
+
function SignatureComponent() {
|
|
1225
|
+
var _this = _super.call(this, arguments) || this;
|
|
1226
|
+
_this.propKeys = properties$6;
|
|
1227
|
+
_this.models = modelProps$6;
|
|
1228
|
+
_this.hasChildDirective = false;
|
|
1229
|
+
_this.hasInjectedModules = false;
|
|
1230
|
+
_this.tagMapper = {};
|
|
1231
|
+
_this.tagNameMapper = {};
|
|
1232
|
+
_this.isVue3 = !isExecute$7;
|
|
1233
|
+
_this.ej2Instances = new Signature({});
|
|
1234
|
+
_this.bindProperties();
|
|
1235
|
+
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1236
|
+
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1237
|
+
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1238
|
+
return _this;
|
|
1239
|
+
}
|
|
1240
|
+
SignatureComponent.prototype.clearTemplate = function (templateNames) {
|
|
1241
|
+
if (!templateNames) {
|
|
1242
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1243
|
+
}
|
|
1244
|
+
if (templateNames.length && this.templateCollection) {
|
|
1245
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
1246
|
+
var tempName = templateNames_1[_i];
|
|
1247
|
+
var elementCollection = this.templateCollection[tempName];
|
|
1248
|
+
if (elementCollection && elementCollection.length) {
|
|
1249
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
1250
|
+
var ele = elementCollection_1[_a];
|
|
1251
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
1252
|
+
if (destroy) {
|
|
1253
|
+
ele.__vue__.$destroy();
|
|
1254
|
+
}
|
|
1255
|
+
if (ele.innerHTML) {
|
|
1256
|
+
ele.innerHTML = '';
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
delete this.templateCollection[tempName];
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
SignatureComponent.prototype.setProperties = function (prop, muteOnChange) {
|
|
1265
|
+
var _this = this;
|
|
1266
|
+
if (this.isVue3) {
|
|
1267
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1268
|
+
}
|
|
1269
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1270
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1271
|
+
}
|
|
1272
|
+
if (prop && this.models && this.models.length) {
|
|
1273
|
+
Object.keys(prop).map(function (key) {
|
|
1274
|
+
_this.models.map(function (model) {
|
|
1275
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1276
|
+
if (_this.isVue3) {
|
|
1277
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1278
|
+
}
|
|
1279
|
+
else {
|
|
1280
|
+
_this.$emit('update:' + key, prop[key]);
|
|
1281
|
+
_this.$emit('modelchanged', prop[key]);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
});
|
|
1285
|
+
});
|
|
1286
|
+
}
|
|
1287
|
+
};
|
|
1288
|
+
SignatureComponent.prototype.render = function (createElement) {
|
|
1289
|
+
var h = gh || createElement;
|
|
1290
|
+
var slots = null;
|
|
1291
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1292
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1293
|
+
}
|
|
1294
|
+
return h('canvas', slots);
|
|
1295
|
+
};
|
|
1296
|
+
SignatureComponent.prototype.canRedo = function () {
|
|
1297
|
+
return this.ej2Instances.canRedo();
|
|
1298
|
+
};
|
|
1299
|
+
SignatureComponent.prototype.canUndo = function () {
|
|
1300
|
+
return this.ej2Instances.canUndo();
|
|
1301
|
+
};
|
|
1302
|
+
SignatureComponent.prototype.clear = function () {
|
|
1303
|
+
return this.ej2Instances.clear();
|
|
1304
|
+
};
|
|
1305
|
+
SignatureComponent.prototype.draw = function (text, fontFamily, fontSize) {
|
|
1306
|
+
return this.ej2Instances.draw(text, fontFamily, fontSize);
|
|
1307
|
+
};
|
|
1308
|
+
SignatureComponent.prototype.getBlob = function (url) {
|
|
1309
|
+
return this.ej2Instances.getBlob(url);
|
|
1310
|
+
};
|
|
1311
|
+
SignatureComponent.prototype.initialize = function () {
|
|
1312
|
+
return this.ej2Instances.initialize();
|
|
1313
|
+
};
|
|
1314
|
+
SignatureComponent.prototype.isEmpty = function () {
|
|
1315
|
+
return this.ej2Instances.isEmpty();
|
|
1316
|
+
};
|
|
1317
|
+
SignatureComponent.prototype.load = function (signature, width, height) {
|
|
1318
|
+
return this.ej2Instances.load(signature, width, height);
|
|
1319
|
+
};
|
|
1320
|
+
SignatureComponent.prototype.redo = function () {
|
|
1321
|
+
return this.ej2Instances.redo();
|
|
1322
|
+
};
|
|
1323
|
+
SignatureComponent.prototype.save = function (type, fileName) {
|
|
1324
|
+
return this.ej2Instances.save(type, fileName);
|
|
1325
|
+
};
|
|
1326
|
+
SignatureComponent.prototype.saveAsBlob = function () {
|
|
1327
|
+
return this.ej2Instances.saveAsBlob();
|
|
1328
|
+
};
|
|
1329
|
+
SignatureComponent.prototype.undo = function () {
|
|
1330
|
+
return this.ej2Instances.undo();
|
|
1331
|
+
};
|
|
1332
|
+
SignatureComponent = __decorate$7([
|
|
1333
|
+
EJComponentDecorator({
|
|
1334
|
+
props: properties$6
|
|
1335
|
+
}, isExecute$7)
|
|
1336
|
+
,Options({
|
|
1337
|
+
props: props,
|
|
1338
|
+
watch: watch,
|
|
1339
|
+
emits: emitProbs
|
|
1340
|
+
})
|
|
1341
|
+
], SignatureComponent);
|
|
1342
|
+
return SignatureComponent;
|
|
1343
|
+
}(ComponentBase));
|
|
1344
|
+
var SignaturePlugin = {
|
|
1345
|
+
name: 'ejs-signature',
|
|
1346
|
+
install: function (Vue$$1) {
|
|
1347
|
+
Vue$$1.component(SignaturePlugin.name, SignatureComponent);
|
|
1348
|
+
}
|
|
1349
|
+
};
|
|
1350
|
+
|
|
1351
|
+
export { TextBoxComponent, TextBoxPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin, SignatureComponent, SignaturePlugin };
|
|
1185
1352
|
export * from '@syncfusion/ej2-inputs';
|
|
1186
1353
|
//# sourceMappingURL=ej2-vue-inputs.es5.js.map
|