@codingfactory/mediables-vue 2.18.2 → 2.19.0
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/{PixiFrameExporter-CVa0D6mr.js → PixiFrameExporter-CL1sPbnw.js} +2 -2
- package/dist/{PixiFrameExporter-CVa0D6mr.js.map → PixiFrameExporter-CL1sPbnw.js.map} +1 -1
- package/dist/{PixiFrameExporter-C8Ty9X-z.cjs → PixiFrameExporter-nFehBjPQ.cjs} +2 -2
- package/dist/{PixiFrameExporter-C8Ty9X-z.cjs.map → PixiFrameExporter-nFehBjPQ.cjs.map} +1 -1
- package/dist/components/MediaAlbumPickerModal.vue.d.ts +6 -0
- package/dist/components/MediaLibraryShell.vue.d.ts +5 -0
- package/dist/editor-D85y_zTO.cjs +2 -0
- package/dist/editor-D85y_zTO.cjs.map +1 -0
- package/dist/{editor-4KRKCBKe.js → editor-DAJxTvzM.js} +216 -183
- package/dist/editor-DAJxTvzM.js.map +1 -0
- package/dist/{index-ZHcVI7XG.js → index-BR0szJau.js} +11005 -10797
- package/dist/{index-ZHcVI7XG.js.map → index-BR0szJau.js.map} +1 -1
- package/dist/index-CKYVSPfs.cjs +357 -0
- package/dist/{index-Boyt6ME1.cjs.map → index-CKYVSPfs.cjs.map} +1 -1
- package/dist/mediables-vanilla.cjs +1 -1
- package/dist/mediables-vanilla.mjs +1 -1
- package/dist/mediables-vue.cjs +1 -1
- package/dist/mediables-vue.mjs +2 -2
- package/dist/style.css +1 -1
- package/dist/vanilla-editor/renderer/CropManager.d.ts +9 -1
- package/package.json +1 -1
- package/dist/editor-4KRKCBKe.js.map +0 -1
- package/dist/editor-HgfBAw_0.cjs +0 -2
- package/dist/editor-HgfBAw_0.cjs.map +0 -1
- package/dist/index-Boyt6ME1.cjs +0 -357
|
@@ -55,7 +55,15 @@ export class CropManager extends EventEmitter {
|
|
|
55
55
|
*/
|
|
56
56
|
_getAspectRatio(aspect: string): number | null;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Return the numeric aspect ratio that the crop rect must obey, accounting
|
|
59
|
+
* for both the shape (circle/square force 1:1) and the explicit aspect
|
|
60
|
+
* setting. Returns null when the crop is free-form.
|
|
61
|
+
*/
|
|
62
|
+
_getEffectiveTargetAspect(): number | null;
|
|
63
|
+
/**
|
|
64
|
+
* Apply aspect ratio constraint to crop rect. Honours shape (circle/square
|
|
65
|
+
* force 1:1) so the post-drag correction agrees with the effective ratio
|
|
66
|
+
* the edge-handle drag code targets.
|
|
59
67
|
*/
|
|
60
68
|
applyAspectRatio(): void;
|
|
61
69
|
/**
|