@wyxos/vibe 3.0.15 → 3.1.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/lib/components/ListSurface.vue.d.ts +8 -0
- package/lib/components/viewer-core/removalState.d.ts +2 -0
- package/lib/components/viewer-core/useController.d.ts +6 -0
- package/lib/components/viewer-core/useMasonryList.d.ts +2 -0
- package/lib/index.cjs +1 -1
- package/lib/index.js +663 -612
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -42,9 +42,17 @@ type __VLS_Slots = {
|
|
|
42
42
|
};
|
|
43
43
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
"update:activeIndex": (value: number) => any;
|
|
45
|
+
"boundary-load-progress": (value: {
|
|
46
|
+
nextBoundaryLoadProgress: number;
|
|
47
|
+
previousBoundaryLoadProgress: number;
|
|
48
|
+
}) => any;
|
|
45
49
|
"open-fullscreen": (index: number) => any;
|
|
46
50
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
51
|
"onUpdate:activeIndex"?: ((value: number) => any) | undefined;
|
|
52
|
+
"onBoundary-load-progress"?: ((value: {
|
|
53
|
+
nextBoundaryLoadProgress: number;
|
|
54
|
+
previousBoundaryLoadProgress: number;
|
|
55
|
+
}) => any) | undefined;
|
|
48
56
|
"onOpen-fullscreen"?: ((index: number) => any) | undefined;
|
|
49
57
|
}>, {
|
|
50
58
|
loading: boolean;
|
|
@@ -16,9 +16,11 @@ export interface VibeStatus {
|
|
|
16
16
|
itemCount: number;
|
|
17
17
|
loadState: 'failed' | 'loaded' | 'loading';
|
|
18
18
|
mode: VibeFeedMode;
|
|
19
|
+
nextBoundaryLoadProgress: number;
|
|
19
20
|
nextCursor: string | null;
|
|
20
21
|
pageLoadingLocked: boolean;
|
|
21
22
|
phase: VibeLoadPhase;
|
|
23
|
+
previousBoundaryLoadProgress: number;
|
|
22
24
|
previousCursor: string | null;
|
|
23
25
|
removedCount: number;
|
|
24
26
|
removedIds: readonly string[];
|
|
@@ -10,6 +10,10 @@ export declare function useController(props: Readonly<VibeProps>, emit: VibeEmit
|
|
|
10
10
|
openFullscreen: (index: number) => void;
|
|
11
11
|
returnToList: () => void;
|
|
12
12
|
retry: () => Promise<void>;
|
|
13
|
+
setBoundaryLoadProgress: (value: {
|
|
14
|
+
nextBoundaryLoadProgress: number;
|
|
15
|
+
previousBoundaryLoadProgress: number;
|
|
16
|
+
}) => void;
|
|
13
17
|
showBackToList: import("vue").ComputedRef<boolean>;
|
|
14
18
|
status: {
|
|
15
19
|
readonly activeIndex: number;
|
|
@@ -23,9 +27,11 @@ export declare function useController(props: Readonly<VibeProps>, emit: VibeEmit
|
|
|
23
27
|
readonly itemCount: number;
|
|
24
28
|
readonly loadState: "failed" | "loaded" | "loading";
|
|
25
29
|
readonly mode: import("./removalState").VibeFeedMode;
|
|
30
|
+
readonly nextBoundaryLoadProgress: number;
|
|
26
31
|
readonly nextCursor: string | null;
|
|
27
32
|
readonly pageLoadingLocked: boolean;
|
|
28
33
|
readonly phase: import("./removalState").VibeLoadPhase;
|
|
34
|
+
readonly previousBoundaryLoadProgress: number;
|
|
29
35
|
readonly previousCursor: string | null;
|
|
30
36
|
readonly removedCount: number;
|
|
31
37
|
readonly removedIds: readonly string[];
|
|
@@ -62,9 +62,11 @@ export declare function useVibeMasonryList(options: {
|
|
|
62
62
|
y: number;
|
|
63
63
|
};
|
|
64
64
|
}[]>;
|
|
65
|
+
nextBoundaryLoadProgress: import("vue").ComputedRef<number>;
|
|
65
66
|
onScroll: () => void;
|
|
66
67
|
onWheel: (event: WheelEvent) => void;
|
|
67
68
|
paginationLabel: import("vue").ComputedRef<string>;
|
|
69
|
+
previousBoundaryLoadProgress: import("vue").ComputedRef<number>;
|
|
68
70
|
renderedItems: import("vue").ComputedRef<{
|
|
69
71
|
item: VibeViewerItem;
|
|
70
72
|
index: number;
|