@masters-union/union-stack 0.3.13 → 0.3.14
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/cdn/loader.v1.global.js +1 -1
- package/dist/cdn/loader.v1.global.js.map +1 -1
- package/dist/{chunk-FRXWGKUU.cjs → chunk-24FXFOLY.cjs} +3 -3
- package/dist/{chunk-FRXWGKUU.cjs.map → chunk-24FXFOLY.cjs.map} +1 -1
- package/dist/{chunk-HGX7VKTJ.js → chunk-A6QABSM5.js} +3 -3
- package/dist/{chunk-HGX7VKTJ.js.map → chunk-A6QABSM5.js.map} +1 -1
- package/dist/{chunk-D3THUMKD.js → chunk-LOOZO22K.js} +3 -3
- package/dist/{chunk-D3THUMKD.js.map → chunk-LOOZO22K.js.map} +1 -1
- package/dist/{chunk-XEOQKI5K.cjs → chunk-P32VSH6B.cjs} +7 -7
- package/dist/{chunk-XEOQKI5K.cjs.map → chunk-P32VSH6B.cjs.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/dist/node.cjs +7 -7
- package/dist/node.js +1 -1
- package/dist/picker.cjs +2 -1
- package/dist/picker.cjs.map +1 -1
- package/dist/picker.js +2 -1
- package/dist/picker.js.map +1 -1
- package/dist/react.cjs +3 -3
- package/dist/react.js +2 -2
- package/package.json +1 -1
package/dist/picker.js
CHANGED
|
@@ -1144,6 +1144,7 @@ var ImageEditor = class {
|
|
|
1144
1144
|
// ---- apply --------------------------------------------------------------
|
|
1145
1145
|
async applyAndClose() {
|
|
1146
1146
|
this.applyBtn.disabled = true;
|
|
1147
|
+
if (this.mode === "crop") this.applyCrop();
|
|
1147
1148
|
try {
|
|
1148
1149
|
const file = await this.exportFile();
|
|
1149
1150
|
this.opts.onApply(file);
|
|
@@ -1402,10 +1403,10 @@ var Picker = class {
|
|
|
1402
1403
|
this.$urlSource = this.renderUrlSource();
|
|
1403
1404
|
body.appendChild(this.$urlSource);
|
|
1404
1405
|
}
|
|
1405
|
-
this.activateSource(sources[0] ?? "device");
|
|
1406
1406
|
this.$list = el2("div", "us-file-list");
|
|
1407
1407
|
body.appendChild(this.$list);
|
|
1408
1408
|
panel.appendChild(body);
|
|
1409
|
+
this.activateSource(sources[0] ?? "device");
|
|
1409
1410
|
const autoUpload = this.opts.autoUpload === true;
|
|
1410
1411
|
const actions = el2("div", "us-actions");
|
|
1411
1412
|
this.$summary = el2("div", "us-actions-summary", "");
|