@uploadcare/file-uploader 1.16.1 → 1.16.2
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/blocks/Modal/Modal.d.ts.map +1 -1
- package/blocks/Modal/Modal.js +10 -2
- package/env.d.ts +1 -1
- package/env.js +1 -1
- package/index.ssr.d.ts +1 -1
- package/index.ssr.js +1 -1
- package/package.json +1 -1
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.js +1 -1
- package/web/uc-cloud-image-editor.min.js +1 -1
- package/web/uc-file-uploader-inline.min.js +1 -1
- package/web/uc-file-uploader-minimal.min.js +1 -1
- package/web/uc-file-uploader-regular.min.js +1 -1
- package/web/uc-img.min.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["Modal.js"],"names":[],"mappings":"AAQA;IAEE,kCAAoC;IAIlC;;MAGC;IAGH,iCAEE;IAEF,yBAME;IAEF,+BAEE;IAEF,uBAAuB;IACvB,yBAA0B,GADd,KACe,UAGzB;IAFA,eAAe;IACf,yBAAgC;IAGlC,uBAAuB;IACvB,uBAAwB,GADZ,KACa,UAIvB;IAEF,aAWC;IAED,aAOC;IAED;;;OAGG;IACH,yBASC;IAED;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["Modal.js"],"names":[],"mappings":"AAQA;IAEE,kCAAoC;IAIlC;;MAGC;IAGH,iCAEE;IAEF,yBAME;IAEF,+BAEE;IAEF,uBAAuB;IACvB,yBAA0B,GADd,KACe,UAGzB;IAFA,eAAe;IACf,yBAAgC;IAGlC,uBAAuB;IACvB,uBAAwB,GADZ,KACa,UAIvB;IAEF,aAWC;IAED,aAOC;IAED;;;OAGG;IACH,yBASC;IAED;;;OAGG;IACH,0BAUC;IAED,eAAe;IACf,6BAUC;IAmBC;;;4BAAuD;IACvD;;;4BAAyD;IACzD,8CAA+D;CAmBlE;;;;sBAxJqB,yBAAyB"}
|
package/blocks/Modal/Modal.js
CHANGED
|
@@ -93,7 +93,11 @@ export class Modal extends Block {
|
|
|
93
93
|
this.hide();
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
this.emit(
|
|
96
|
+
this.emit(
|
|
97
|
+
EventType.MODAL_CLOSE,
|
|
98
|
+
{ modalId: id, hasActiveModals: this.modalManager.hasActiveModals },
|
|
99
|
+
{ debounce: true },
|
|
100
|
+
);
|
|
97
101
|
}
|
|
98
102
|
|
|
99
103
|
/** @private */
|
|
@@ -101,7 +105,11 @@ export class Modal extends Block {
|
|
|
101
105
|
this.hide();
|
|
102
106
|
|
|
103
107
|
if (LAST_ACTIVE_MODAL_ID === this.id) {
|
|
104
|
-
this.emit(
|
|
108
|
+
this.emit(
|
|
109
|
+
EventType.MODAL_CLOSE,
|
|
110
|
+
{ modalId: LAST_ACTIVE_MODAL_ID, hasActiveModals: this.modalManager.hasActiveModals },
|
|
111
|
+
{ debounce: true },
|
|
112
|
+
);
|
|
105
113
|
}
|
|
106
114
|
}
|
|
107
115
|
|
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.16.
|
|
553
|
+
export const PACKAGE_VERSION: "1.16.2";
|
|
554
554
|
export const PresenceToggle: {
|
|
555
555
|
new (): {};
|
|
556
556
|
template: string;
|
package/index.ssr.js
CHANGED
|
@@ -1061,7 +1061,7 @@ export const ModalEvents = {
|
|
|
1061
1061
|
DESTROY: "modal:destroy",
|
|
1062
1062
|
};
|
|
1063
1063
|
export const PACKAGE_NAME = `blocks`;
|
|
1064
|
-
export const PACKAGE_VERSION = `1.16.
|
|
1064
|
+
export const PACKAGE_VERSION = `1.16.2`;
|
|
1065
1065
|
export const PresenceToggle = class {
|
|
1066
1066
|
static template = `<slot></slot> `;
|
|
1067
1067
|
static reg = () => {};
|