@bluepic/embed 0.6.21 → 0.6.22
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 +108 -108
- package/dist/bluepic-embed.umd.js +108 -108
- package/dist/components/fields/ImageEdit.vue.d.ts +10 -4
- package/dist/components/fields/SelectColor.vue.d.ts +1 -1
- package/dist/main.cjs +28 -28
- package/dist/main.d.ts +1 -0
- package/dist/main.mjs +8055 -7832
- package/dist/style.css +1 -1
- package/dist/util/analytics.d.ts +2 -0
- package/dist/util/fieldHints/useFieldHitboxes.d.ts +38 -38
- package/dist/util/imageAspect/index.d.ts +6 -0
- package/dist/util/imageAspect/probe.d.ts +36 -0
- package/dist/util/imageAspect/resolve.d.ts +91 -0
- package/dist/util/imageAspect/useImageAspects.d.ts +37 -0
- package/package.json +3 -2
|
@@ -20,7 +20,13 @@ type __VLS_Props = {
|
|
|
20
20
|
compact?: boolean;
|
|
21
21
|
field?: BluepicField;
|
|
22
22
|
allowCropImage: boolean;
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Fixed crop ratio — honoured ONLY with `enforceAspectRatio`. Otherwise the
|
|
25
|
+
* ratio is resolved from the element this field's binding drives (see
|
|
26
|
+
* util/imageAspect), so it follows dynamic sizes and the active canvas.
|
|
27
|
+
*/
|
|
28
|
+
aspectRatio?: number | null;
|
|
29
|
+
enforceAspectRatio?: boolean;
|
|
24
30
|
resetCropOnChange?: boolean;
|
|
25
31
|
allowPadding?: boolean;
|
|
26
32
|
/**
|
|
@@ -47,12 +53,12 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
47
53
|
}>, {
|
|
48
54
|
maxSize: number;
|
|
49
55
|
uploadLabel: string;
|
|
50
|
-
|
|
51
|
-
mobile: boolean;
|
|
56
|
+
autoCrop: boolean;
|
|
52
57
|
compact: boolean;
|
|
53
58
|
resetCropOnChange: boolean;
|
|
54
59
|
allowPadding: boolean;
|
|
55
|
-
|
|
60
|
+
actionsLabel: string;
|
|
61
|
+
mobile: boolean;
|
|
56
62
|
autoCropZoom: boolean;
|
|
57
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
58
64
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string | Template.Gradient) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
mobile: boolean;
|
|
19
18
|
showLabels: boolean;
|
|
19
|
+
mobile: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|