@uploadcare/file-uploader 1.17.1-alpha.0 → 1.17.1
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/abstract/ActivityBlock.d.ts.map +1 -1
- package/abstract/ActivityBlock.js +1 -3
- package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts.map +1 -1
- package/blocks/UploadCtxProvider/UploadCtxProvider.js +1 -0
- package/env.d.ts +1 -1
- package/env.js +1 -1
- package/index.ssr.d.ts +2 -2
- package/index.ssr.js +2 -2
- package/package.json +1 -1
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.js +3 -3
- package/web/uc-cloud-image-editor.min.js +1 -1
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.js +4 -4
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityBlock.d.ts","sourceRoot":"","sources":["ActivityBlock.js"],"names":[],"mappings":"AASA;;;;;GAKG;AAEH;IA+EE;;;;;;OAMG;IACH,kCAAsC;IArFtC,iBAAiB;IACjB,kCAAuB;IAEvB;;;;;;MAA+B;IAE/B;;MAAqE;IAErE,eAAe;IACf,oBAKC;IAED,eAAe;IACf,kBAaC;IA8BD,eAAe;IACf,sBAWC;IAED,eAAe;IACf,8BAEC;IAWD,4CAEC;IAED,iCAEC;IAED;;;;;;;OAOG;IACH,yCAHG;QAA6B,UAAU,UAAzB,IAAI;QACW,YAAY,UAA3B,IAAI;KAAwB,QAQ5C;IAED,2BAKC;IAoBD,0BAEC;IAED,yDAAyD;IACzD,sBADW,iBAAiB,CAAC,MAAM,iBAAiB,CAAC,CAGpD;IAED,qBAAqB;IACrB,2BAEC;IAED,qBAAqB;IACrB,2BAEC;IAED,
|
|
1
|
+
{"version":3,"file":"ActivityBlock.d.ts","sourceRoot":"","sources":["ActivityBlock.js"],"names":[],"mappings":"AASA;;;;;GAKG;AAEH;IA+EE;;;;;;OAMG;IACH,kCAAsC;IArFtC,iBAAiB;IACjB,kCAAuB;IAEvB;;;;;;MAA+B;IAE/B;;MAAqE;IAErE,eAAe;IACf,oBAKC;IAED,eAAe;IACf,kBAaC;IA8BD,eAAe;IACf,sBAWC;IAED,eAAe;IACf,8BAEC;IAWD,4CAEC;IAED,iCAEC;IAED;;;;;;;OAOG;IACH,yCAHG;QAA6B,UAAU,UAAzB,IAAI;QACW,YAAY,UAA3B,IAAI;KAAwB,QAQ5C;IAED,2BAKC;IAoBD,0BAEC;IAED,yDAAyD;IACzD,sBADW,iBAAiB,CAAC,MAAM,iBAAiB,CAAC,CAGpD;IAED,qBAAqB;IACrB,2BAEC;IAED,qBAAqB;IACrB,2BAEC;IAED,oBA4BC;IA7KC,8CAAyB;CA8K5B;;;;;;;;;;;;gCA/LY;IACZ,kBAAsB,EAAE,OAAO,gEAAgE,EAAE,cAAc,CAAC;IAC5G,QAAQ,EAAE,OAAO,4CAA4C,EAAE,cAAc,CAAC;CAC/E;qCAwMU,CAAC,OAAO,aAAa,EAAE,YAAY,CAAC,CAAC,MAAM,CAAC,OAAO,aAAa,EAAE,YAAY,CAAC,CAAC;2BAChF,sBAAsB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI;sBAnNrC,YAAY"}
|
|
@@ -187,10 +187,8 @@ export class ActivityBlock extends Block {
|
|
|
187
187
|
couldOpenActivity = /** @type {ActivityBlock} */ (nextActivityBlock)?.couldOpenActivity ?? false;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
const currentActivity = this.$['*currentActivity'];
|
|
191
|
-
if (currentActivity) this.modalManager.close(currentActivity);
|
|
192
|
-
|
|
193
190
|
nextActivity = couldOpenActivity ? nextActivity : undefined;
|
|
191
|
+
|
|
194
192
|
if (nextActivity) this.modalManager.open(nextActivity);
|
|
195
193
|
|
|
196
194
|
this.$['*currentActivity'] = nextActivity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadCtxProvider.d.ts","sourceRoot":"","sources":["UploadCtxProvider.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UploadCtxProvider.d.ts","sourceRoot":"","sources":["UploadCtxProvider.js"],"names":[],"mappings":"gCAwBa,OAAO,2BAA2B,EAAE,UAAU,CAC1D,OAAW,sBAAsB,EACjC;IACM,gBAAgB,CACd,CAAC,SAAS,CAAC,cAAc,mBAAmB,EAAE,SAAS,CAAC,CAAC,MAAM,cAAc,mBAAmB,EAAE,SAAS,CAAC,EAE5G,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,OAAO,mBAAmB,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IACR,mBAAmB,CACjB,CAAC,SAAS,CAAC,cAAc,mBAAmB,EAAE,SAAS,CAAC,CAAC,MAAM,cAAc,mBAAmB,EAAE,SAAS,CAAC,EAE5G,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,OAAO,mBAAmB,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT,CACF;AAnBJ;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,gCAA4C,iBAAiB,CAAuD;AAzCpH;CAeC;;;;8BAjB6B,iCAAiC;0BACrC,mBAAmB"}
|
package/env.d.ts
CHANGED
package/env.js
CHANGED
package/index.ssr.d.ts
CHANGED
|
@@ -550,7 +550,7 @@ export namespace ModalEvents {
|
|
|
550
550
|
let DESTROY: string;
|
|
551
551
|
}
|
|
552
552
|
export const PACKAGE_NAME: "blocks";
|
|
553
|
-
export const PACKAGE_VERSION: "1.17.
|
|
553
|
+
export const PACKAGE_VERSION: "1.17.1";
|
|
554
554
|
export const PresenceToggle: {
|
|
555
555
|
new (): {};
|
|
556
556
|
template: string;
|
|
@@ -839,6 +839,7 @@ export const UID: {
|
|
|
839
839
|
};
|
|
840
840
|
export const UploadCtxProvider: {
|
|
841
841
|
new (): {};
|
|
842
|
+
styleAttrs: any[];
|
|
842
843
|
EventType: {
|
|
843
844
|
FILE_ADDED: string;
|
|
844
845
|
FILE_REMOVED: string;
|
|
@@ -902,7 +903,6 @@ export const UploadCtxProvider: {
|
|
|
902
903
|
EXTERNAL: string;
|
|
903
904
|
};
|
|
904
905
|
reg: () => void;
|
|
905
|
-
styleAttrs: any[];
|
|
906
906
|
is: string;
|
|
907
907
|
bindAttributes: () => void;
|
|
908
908
|
};
|
package/index.ssr.js
CHANGED
|
@@ -1066,7 +1066,7 @@ export const ModalEvents = {
|
|
|
1066
1066
|
DESTROY: "modal:destroy",
|
|
1067
1067
|
};
|
|
1068
1068
|
export const PACKAGE_NAME = `blocks`;
|
|
1069
|
-
export const PACKAGE_VERSION = `1.17.
|
|
1069
|
+
export const PACKAGE_VERSION = `1.17.1`;
|
|
1070
1070
|
export const PresenceToggle = class {
|
|
1071
1071
|
static template = `<slot></slot> `;
|
|
1072
1072
|
static reg = () => {};
|
|
@@ -1373,6 +1373,7 @@ export const UID = class {
|
|
|
1373
1373
|
static toLocaleString = () => {};
|
|
1374
1374
|
};
|
|
1375
1375
|
export const UploadCtxProvider = class {
|
|
1376
|
+
static styleAttrs = [];
|
|
1376
1377
|
static EventType = {
|
|
1377
1378
|
FILE_ADDED: "file-added",
|
|
1378
1379
|
FILE_REMOVED: "file-removed",
|
|
@@ -1436,7 +1437,6 @@ export const UploadCtxProvider = class {
|
|
|
1436
1437
|
EXTERNAL: "external",
|
|
1437
1438
|
};
|
|
1438
1439
|
static reg = () => {};
|
|
1439
|
-
static styleAttrs = [];
|
|
1440
1440
|
static is = `sym-1`;
|
|
1441
1441
|
static bindAttributes = () => {};
|
|
1442
1442
|
};
|