@uploadcare/file-uploader 1.24.2 → 1.24.3
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/env.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -5
- package/dist/index.ssr.js +1 -1
- package/package.json +1 -1
- package/web/file-uploader.iife.min.d.ts +1 -0
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.d.ts +1 -0
- package/web/file-uploader.min.js +4 -4
- package/web/uc-cloud-image-editor.min.d.ts +1 -0
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.min.d.ts +1 -0
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.d.ts +1 -0
- package/web/uc-file-uploader-minimal.min.js +4 -4
- package/web/uc-file-uploader-regular.min.d.ts +1 -0
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +1 -1
package/dist/env.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1371,6 +1371,7 @@ declare class CropFrame extends Block {
|
|
|
1371
1371
|
private readonly _handlePointerUp;
|
|
1372
1372
|
private readonly _handlePointerMove;
|
|
1373
1373
|
private readonly _handleSvgPointerMove;
|
|
1374
|
+
private readonly _backdropMaskId;
|
|
1374
1375
|
private _backdropMask?;
|
|
1375
1376
|
private _backdropMaskInner?;
|
|
1376
1377
|
private _frameThumbs?;
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
// src/index.ts
|
|
28
|
-
import { BaseComponent as BaseComponent4, Data as Data8, UID as
|
|
28
|
+
import { BaseComponent as BaseComponent4, Data as Data8, UID as UID5 } from "@symbiotejs/symbiote";
|
|
29
29
|
|
|
30
30
|
// src/blocks/UploadCtxProvider/EventEmitter.ts
|
|
31
31
|
var DEFAULT_DEBOUNCE_TIMEOUT = 20;
|
|
@@ -1217,7 +1217,7 @@ import { TelemetryAPIService } from "@uploadcare/quality-insights";
|
|
|
1217
1217
|
import { Queue as Queue2 } from "@uploadcare/upload-client";
|
|
1218
1218
|
|
|
1219
1219
|
// package.json
|
|
1220
|
-
var version = "1.24.
|
|
1220
|
+
var version = "1.24.3";
|
|
1221
1221
|
|
|
1222
1222
|
// src/env.ts
|
|
1223
1223
|
var PACKAGE_NAME = "blocks";
|
|
@@ -5476,10 +5476,12 @@ CloudImageEditorBlock.bindAttributes({
|
|
|
5476
5476
|
});
|
|
5477
5477
|
|
|
5478
5478
|
// src/blocks/CloudImageEditor/src/CropFrame.ts
|
|
5479
|
+
import { UID as UID4 } from "@symbiotejs/symbiote";
|
|
5479
5480
|
var CropFrame = class extends Block {
|
|
5480
5481
|
_handlePointerUp;
|
|
5481
5482
|
_handlePointerMove;
|
|
5482
5483
|
_handleSvgPointerMove;
|
|
5484
|
+
_backdropMaskId = `backdrop-mask-${UID4.generate()}`;
|
|
5483
5485
|
_backdropMask;
|
|
5484
5486
|
_backdropMaskInner;
|
|
5485
5487
|
_frameThumbs;
|
|
@@ -5519,7 +5521,7 @@ var CropFrame = class extends Block {
|
|
|
5519
5521
|
}
|
|
5520
5522
|
const { x, y, width, height } = cropBox;
|
|
5521
5523
|
const svg = this.ref["svg-el"];
|
|
5522
|
-
const mask = createSvgNode("mask", { id:
|
|
5524
|
+
const mask = createSvgNode("mask", { id: this._backdropMaskId });
|
|
5523
5525
|
const maskRectOuter = createSvgNode("rect", {
|
|
5524
5526
|
x: 0,
|
|
5525
5527
|
y: 0,
|
|
@@ -5543,7 +5545,7 @@ var CropFrame = class extends Block {
|
|
|
5543
5545
|
height: "100%",
|
|
5544
5546
|
fill: "var(--color-image-background)",
|
|
5545
5547
|
"fill-opacity": 0.85,
|
|
5546
|
-
mask:
|
|
5548
|
+
mask: `url(#${this._backdropMaskId})`
|
|
5547
5549
|
});
|
|
5548
5550
|
svg.appendChild(backdropRect);
|
|
5549
5551
|
svg.appendChild(mask);
|
|
@@ -11982,7 +11984,7 @@ export {
|
|
|
11982
11984
|
Spinner,
|
|
11983
11985
|
StartFrom,
|
|
11984
11986
|
Thumb,
|
|
11985
|
-
|
|
11987
|
+
UID5 as UID,
|
|
11986
11988
|
UploadCtxProvider,
|
|
11987
11989
|
UploadList,
|
|
11988
11990
|
UploadSource,
|
package/dist/index.ssr.js
CHANGED
|
@@ -1132,7 +1132,7 @@ export const ModalEvents = {
|
|
|
1132
1132
|
DESTROY: "modal:destroy",
|
|
1133
1133
|
};
|
|
1134
1134
|
export const PACKAGE_NAME = `blocks`;
|
|
1135
|
-
export const PACKAGE_VERSION = `1.24.
|
|
1135
|
+
export const PACKAGE_VERSION = `1.24.3`;
|
|
1136
1136
|
export const PresenceToggle = class {
|
|
1137
1137
|
static template = `<slot></slot> `;
|
|
1138
1138
|
static reg = () => {};
|
package/package.json
CHANGED
|
@@ -1382,6 +1382,7 @@ declare class CropFrame extends Block {
|
|
|
1382
1382
|
private readonly _handlePointerUp;
|
|
1383
1383
|
private readonly _handlePointerMove;
|
|
1384
1384
|
private readonly _handleSvgPointerMove;
|
|
1385
|
+
private readonly _backdropMaskId;
|
|
1385
1386
|
private _backdropMask?;
|
|
1386
1387
|
private _backdropMaskInner?;
|
|
1387
1388
|
private _frameThumbs?;
|