@syncfusion/ej2-inputs 28.1.33 → 28.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -8
- package/dist/ej2-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +8 -5
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +8 -5
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/common/signature-base.d.ts +6 -4
- package/src/common/signature-base.js +7 -4
- package/src/uploader/uploader.js +1 -1
- package/styles/color-picker/_tailwind3-definition.scss +4 -4
- package/styles/color-picker/tailwind3.css +6 -6
- package/styles/input/_bigger.scss +0 -3
- package/styles/input/_layout.scss +2 -2
- package/styles/input/_tailwind3-definition.scss +1 -1
- package/styles/input/tailwind3.css +6 -5
- package/styles/maskedtextbox/tailwind3.css +1 -1
- package/styles/signature/_layout.scss +1 -2
- package/styles/signature/tailwind3.css +2 -3
- package/styles/slider/tailwind3.css +2 -2
- package/styles/tailwind3-lite.css +15 -15
- package/styles/tailwind3.css +19 -20
- package/styles/uploader/_layout.scss +0 -1
- package/styles/uploader/tailwind3.css +2 -3
|
@@ -9131,7 +9131,7 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
9131
9131
|
}
|
|
9132
9132
|
for (var file = 0; file < item.length; file++) {
|
|
9133
9133
|
var pasteFile = [].slice.call(item)[file];
|
|
9134
|
-
if ((pasteFile.kind === 'file') || pasteFile.type.match('^image/')) {
|
|
9134
|
+
if (!isNullOrUndefined(pasteFile.getAsFile()) && ((pasteFile.kind === 'file') || pasteFile.type.match('^image/'))) {
|
|
9135
9135
|
this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
|
|
9136
9136
|
}
|
|
9137
9137
|
}
|
|
@@ -16004,6 +16004,7 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
16004
16004
|
this.canvasContext.canvas.width = this.element.offsetWidth;
|
|
16005
16005
|
this.canvasContext.canvas.height = this.element.offsetHeight;
|
|
16006
16006
|
this.canvasContext.scale(1, 1);
|
|
16007
|
+
this.canvasContext.fillStyle = this.strokeColor;
|
|
16007
16008
|
var pointSize = (this.minStrokeWidth + this.maxStrokeWidth) / 2;
|
|
16008
16009
|
for (var i = 0; i < this.signRatioPointsColl.length; i++) {
|
|
16009
16010
|
this.arcDraw((this.signRatioPointsColl[i].x * this.canvasContext.canvas.width), (this.signRatioPointsColl[i].y * this.canvasContext.canvas.height), pointSize);
|
|
@@ -16691,11 +16692,13 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
16691
16692
|
return this.getBlob(this.canvasContext.canvas.toDataURL('image/png'));
|
|
16692
16693
|
};
|
|
16693
16694
|
/**
|
|
16694
|
-
*
|
|
16695
|
+
* Gets the signature as a Base 64 string.
|
|
16695
16696
|
*
|
|
16696
|
-
*
|
|
16697
|
-
*
|
|
16698
|
-
* @
|
|
16697
|
+
* This method is used to retrieve the current signature on the canvas as a Base 64-encoded string, in the specified image format.
|
|
16698
|
+
*
|
|
16699
|
+
* @param {SignatureFileType} [type] - Specifies the type of the image format.
|
|
16700
|
+
* Can be one of 'Png', 'Jpeg', or 'Svg'. If not specified, the default is 'Png'.
|
|
16701
|
+
* @returns {string} - Returns the Base 64 string of the signature in the specified format.
|
|
16699
16702
|
*/
|
|
16700
16703
|
SignatureBase.prototype.getSignature = function (type) {
|
|
16701
16704
|
if (this.saveWithBackground && this.backgroundColor && !this.backgroundImage) {
|