@absolutejs/absolute 0.19.0-beta.193 → 0.19.0-beta.195
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.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, ref } from 'vue';
|
|
3
|
-
import type { ImageProps } from '
|
|
3
|
+
import type { ImageProps } from '@absolutejs/absolute/image';
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_QUALITY,
|
|
6
6
|
buildOptimizedUrl,
|
|
7
7
|
generateBlurSvg,
|
|
8
8
|
generateSrcSet
|
|
9
|
-
} from '
|
|
9
|
+
} from '@absolutejs/absolute/image';
|
|
10
10
|
|
|
11
11
|
const props = withDefaults(defineProps<ImageProps>(), {
|
|
12
12
|
quality: DEFAULT_QUALITY,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Client-safe image utilities — no node:fs, no Sharp, no Bun APIs.
|
|
3
3
|
* These can be imported in both server and client (browser) contexts.
|
|
4
4
|
*/
|
|
5
|
+
export type { ImageProps } from '../../types/image';
|
|
5
6
|
export declare const DEFAULT_DEVICE_SIZES: number[];
|
|
6
7
|
export declare const DEFAULT_IMAGE_SIZES: number[];
|
|
7
8
|
export declare const DEFAULT_QUALITY = 75;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { ImageProps } from '
|
|
2
|
+
import type { ImageProps } from '@absolutejs/absolute/image';
|
|
3
3
|
import {
|
|
4
4
|
DEFAULT_QUALITY,
|
|
5
5
|
buildOptimizedUrl,
|
|
6
6
|
generateBlurSvg,
|
|
7
7
|
generateSrcSet
|
|
8
|
-
} from '
|
|
8
|
+
} from '@absolutejs/absolute/image';
|
|
9
9
|
|
|
10
10
|
let {
|
|
11
11
|
src,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, ref } from 'vue';
|
|
3
|
-
import type { ImageProps } from '
|
|
3
|
+
import type { ImageProps } from '@absolutejs/absolute/image';
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_QUALITY,
|
|
6
6
|
buildOptimizedUrl,
|
|
7
7
|
generateBlurSvg,
|
|
8
8
|
generateSrcSet
|
|
9
|
-
} from '
|
|
9
|
+
} from '@absolutejs/absolute/image';
|
|
10
10
|
|
|
11
11
|
const props = withDefaults(defineProps<ImageProps>(), {
|
|
12
12
|
quality: DEFAULT_QUALITY,
|
|
@@ -75,7 +75,7 @@ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
|
75
75
|
var __require = import.meta.require;
|
|
76
76
|
|
|
77
77
|
// src/vue/components/Image.vue
|
|
78
|
-
var Image_default = "../../Image-
|
|
78
|
+
var Image_default = "../../Image-a1aswang.vue";
|
|
79
79
|
export {
|
|
80
80
|
Image_default as Image
|
|
81
81
|
};
|
package/package.json
CHANGED