@bluepic/embed 0.4.0-next.94 → 0.4.0-next.96
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/bluepic-embed.iife.js +61 -61
- package/dist/bluepic-embed.umd.js +61 -61
- package/dist/components/fields/ImageEdit.vue.d.ts +7 -0
- package/dist/main.cjs +64 -64
- package/dist/main.d.ts +1 -0
- package/dist/main.mjs +6784 -6774
- package/dist/style.css +1 -1
- package/dist/util/autoCrop/applyAutoCrop.d.ts +2 -0
- package/dist/util/autoCrop/solveAutoCrop.d.ts +19 -4
- package/package.json +1 -1
|
@@ -25,6 +25,12 @@ type __VLS_Props = {
|
|
|
25
25
|
* so it is safe to enable on hosts that don't ship the runtime.
|
|
26
26
|
*/
|
|
27
27
|
autoCrop?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* When `autoCrop` is on, tighten the suggested crop around the detected
|
|
30
|
+
* faces instead of keeping the largest full-resolution rectangle. Off by
|
|
31
|
+
* default: framing gets closer at the cost of resolution.
|
|
32
|
+
*/
|
|
33
|
+
autoCropZoom?: boolean;
|
|
28
34
|
labelId?: string;
|
|
29
35
|
};
|
|
30
36
|
type __VLS_PublicProps = __VLS_Props & {
|
|
@@ -42,5 +48,6 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
42
48
|
resetCropOnChange: boolean;
|
|
43
49
|
allowPadding: boolean;
|
|
44
50
|
autoCrop: boolean;
|
|
51
|
+
autoCropZoom: boolean;
|
|
45
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
53
|
export default _default;
|