@wyxos/vibe 3.1.35 → 4.0.1
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/README.md +533 -309
- package/lib/components/CardRegion.vue.d.ts +15 -0
- package/lib/components/GalleryFooter.vue.d.ts +17 -0
- package/lib/components/GalleryScrollbar.vue.d.ts +9 -0
- package/lib/components/MasonryFeed.vue.d.ts +24 -0
- package/lib/components/MediaCard.vue.d.ts +35 -0
- package/lib/components/MediaControls.vue.d.ts +22 -0
- package/lib/components/ReelAutoAdvanceProgress.vue.d.ts +11 -0
- package/lib/components/ReelFeed.vue.d.ts +28 -0
- package/lib/components/ReelLayout.vue.d.ts +28 -0
- package/lib/components/VibeSurface.vue.d.ts +35 -0
- package/lib/core/autoScroll.d.ts +26 -0
- package/lib/core/autofill.d.ts +35 -0
- package/lib/core/backendAutofill.d.ts +5 -0
- package/lib/core/backendFill.d.ts +5 -0
- package/lib/core/createVibe.d.ts +2 -0
- package/lib/core/feed.d.ts +40 -0
- package/lib/core/fill.d.ts +29 -0
- package/lib/core/fillController.d.ts +28 -0
- package/lib/core/initialAutofill.d.ts +12 -0
- package/lib/core/initialRuntimeState.d.ts +3 -0
- package/lib/core/masonry.d.ts +37 -0
- package/lib/core/mediaAsset.d.ts +5 -0
- package/lib/core/mediaPreview.d.ts +3 -0
- package/lib/core/mediaType.d.ts +1 -0
- package/lib/core/options.d.ts +3 -0
- package/lib/core/page.d.ts +3 -0
- package/lib/core/reelAutoAdvance.d.ts +5 -0
- package/lib/core/reelInfoSheet.d.ts +3 -0
- package/lib/core/requestDelay.d.ts +24 -0
- package/lib/core/responsiveLayout.d.ts +13 -0
- package/lib/core/runtime.d.ts +23 -0
- package/lib/core/scrollbar.d.ts +15 -0
- package/lib/core/vibeRouting.d.ts +11 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +3 -73
- package/lib/index.js +2587 -4959
- package/lib/style.css +1 -2
- package/lib/types.d.ts +323 -0
- package/package.json +22 -10
- package/lib/components/FullscreenFooter.vue.d.ts +0 -22
- package/lib/components/FullscreenForwardFillPlaceholder.vue.d.ts +0 -29
- package/lib/components/FullscreenHeader.vue.d.ts +0 -25
- package/lib/components/FullscreenMediaBar.vue.d.ts +0 -26
- package/lib/components/FullscreenSurface.vue.d.ts +0 -83
- package/lib/components/Layout.vue.d.ts +0 -48
- package/lib/components/ListCard.vue.d.ts +0 -44
- package/lib/components/ListSurface.vue.d.ts +0 -87
- package/lib/components/SurfaceEmptyState.vue.d.ts +0 -21
- package/lib/components/viewer-core/assetErrors.d.ts +0 -30
- package/lib/components/viewer-core/assetState.d.ts +0 -14
- package/lib/components/viewer-core/autoBuckets.d.ts +0 -24
- package/lib/components/viewer-core/autoResolveBucketFactory.d.ts +0 -15
- package/lib/components/viewer-core/autoResolveCursors.d.ts +0 -15
- package/lib/components/viewer-core/autoResolveFillUntil.d.ts +0 -47
- package/lib/components/viewer-core/autoResolveHelpers.d.ts +0 -20
- package/lib/components/viewer-core/autoResolveLoading.d.ts +0 -44
- package/lib/components/viewer-core/autoResolveState.d.ts +0 -72
- package/lib/components/viewer-core/dom.d.ts +0 -2
- package/lib/components/viewer-core/dominantImageTone.d.ts +0 -6
- package/lib/components/viewer-core/emptyVisiblePrefetch.d.ts +0 -18
- package/lib/components/viewer-core/fillDelay.d.ts +0 -10
- package/lib/components/viewer-core/fillProgress.d.ts +0 -12
- package/lib/components/viewer-core/format.d.ts +0 -1
- package/lib/components/viewer-core/fullscreenPreviews.d.ts +0 -8
- package/lib/components/viewer-core/itemIdentity.d.ts +0 -6
- package/lib/components/viewer-core/listCardAsset.d.ts +0 -4
- package/lib/components/viewer-core/listPreview.d.ts +0 -10
- package/lib/components/viewer-core/loadError.d.ts +0 -5
- package/lib/components/viewer-core/masonryBoundaryLock.d.ts +0 -5
- package/lib/components/viewer-core/masonryItemMutation.d.ts +0 -35
- package/lib/components/viewer-core/masonryLayout.d.ts +0 -64
- package/lib/components/viewer-core/masonryLayoutState.d.ts +0 -22
- package/lib/components/viewer-core/masonryPendingAppend.d.ts +0 -19
- package/lib/components/viewer-core/masonryScrollBehavior.d.ts +0 -37
- package/lib/components/viewer-core/masonryViewport.d.ts +0 -7
- package/lib/components/viewer-core/media.d.ts +0 -4
- package/lib/components/viewer-core/mediaPlayback.d.ts +0 -1
- package/lib/components/viewer-core/nativeVideoFullscreen.d.ts +0 -2
- package/lib/components/viewer-core/removalState.d.ts +0 -71
- package/lib/components/viewer-core/slotContent.d.ts +0 -2
- package/lib/components/viewer-core/surfaceSlots.d.ts +0 -33
- package/lib/components/viewer-core/surfaceStatus.d.ts +0 -18
- package/lib/components/viewer-core/theme.d.ts +0 -3
- package/lib/components/viewer-core/useActivation.d.ts +0 -8
- package/lib/components/viewer-core/useAssetLoadQueue.d.ts +0 -17
- package/lib/components/viewer-core/useAutoResolveSource.d.ts +0 -68
- package/lib/components/viewer-core/useController.d.ts +0 -98
- package/lib/components/viewer-core/useDataSource.d.ts +0 -99
- package/lib/components/viewer-core/useEdgeBoundary.d.ts +0 -18
- package/lib/components/viewer-core/useFullscreen.d.ts +0 -1
- package/lib/components/viewer-core/useFullscreenAssetEvents.d.ts +0 -24
- package/lib/components/viewer-core/useFullscreenDominantTone.d.ts +0 -12
- package/lib/components/viewer-core/useFullscreenPreloadController.d.ts +0 -18
- package/lib/components/viewer-core/useFullscreenSurfaceMedia.d.ts +0 -32
- package/lib/components/viewer-core/useListCardHealthCheck.d.ts +0 -20
- package/lib/components/viewer-core/useMasonryList.d.ts +0 -85
- package/lib/components/viewer-core/useMasonryMotion.d.ts +0 -76
- package/lib/components/viewer-core/useMedia.d.ts +0 -44
- package/lib/components/viewer-core/useSurfaceEmptyState.d.ts +0 -15
- package/lib/components/viewer-core/useVideoFullscreen.d.ts +0 -9
- package/lib/components/viewer-core/useViewer.d.ts +0 -78
- package/lib/components/viewer-core/virtualization.d.ts +0 -18
- package/lib/components/viewer.d.ts +0 -23
package/lib/index.d.ts
CHANGED
|
@@ -1,73 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export type {
|
|
4
|
-
export type { VibeFullscreenPreviewItem, VibeSurfaceSlotProps, } from './components/viewer-core/surfaceSlots';
|
|
5
|
-
export type { VibeAssetErrorEvent, VibeAssetErrorKind, VibeAssetErrorSurface, VibeAssetLoadEvent, VibeAssetLoadSurface, VibeEmptyStateMode, VibeEmptyStateSlotProps, VibeFillMode, VibeResolveParams, VibeResolveResult, VibeHandle, VibeInitialState, VibeLoadPhase, VibeProps, VibeSurfaceMode, VibeStatus, } from './components/viewer-core/useViewer';
|
|
6
|
-
export declare const VibeLayout: {
|
|
7
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import(".").VibeProps> & Readonly<{
|
|
8
|
-
"onUpdate:activeIndex"?: ((value: number) => any) | undefined;
|
|
9
|
-
"onUpdate:surfaceMode"?: ((value: "fullscreen" | "list") => any) | undefined;
|
|
10
|
-
"onAsset-errors"?: ((errors: import(".").VibeAssetErrorEvent[]) => any) | undefined;
|
|
11
|
-
"onAsset-loads"?: ((loads: import(".").VibeAssetLoadEvent[]) => any) | undefined;
|
|
12
|
-
"onItems-change"?: ((items: import(".").VibeViewerItem[]) => any) | undefined;
|
|
13
|
-
}>, import(".").VibeHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
-
"update:activeIndex": (value: number) => any;
|
|
15
|
-
"update:surfaceMode": (value: "fullscreen" | "list") => any;
|
|
16
|
-
"asset-errors": (errors: import(".").VibeAssetErrorEvent[]) => any;
|
|
17
|
-
"asset-loads": (loads: import(".").VibeAssetLoadEvent[]) => any;
|
|
18
|
-
"items-change": (items: import(".").VibeViewerItem[]) => any;
|
|
19
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
20
|
-
P: {};
|
|
21
|
-
B: {};
|
|
22
|
-
D: {};
|
|
23
|
-
C: {};
|
|
24
|
-
M: {};
|
|
25
|
-
Defaults: {};
|
|
26
|
-
}, Readonly<import(".").VibeProps> & Readonly<{
|
|
27
|
-
"onUpdate:activeIndex"?: ((value: number) => any) | undefined;
|
|
28
|
-
"onUpdate:surfaceMode"?: ((value: "fullscreen" | "list") => any) | undefined;
|
|
29
|
-
"onAsset-errors"?: ((errors: import(".").VibeAssetErrorEvent[]) => any) | undefined;
|
|
30
|
-
"onAsset-loads"?: ((loads: import(".").VibeAssetLoadEvent[]) => any) | undefined;
|
|
31
|
-
"onItems-change"?: ((items: import(".").VibeViewerItem[]) => any) | undefined;
|
|
32
|
-
}>, import(".").VibeHandle, {}, {}, {}, {}>;
|
|
33
|
-
__isFragment?: never;
|
|
34
|
-
__isTeleport?: never;
|
|
35
|
-
__isSuspense?: never;
|
|
36
|
-
} & import("vue").ComponentOptionsBase<Readonly<import(".").VibeProps> & Readonly<{
|
|
37
|
-
"onUpdate:activeIndex"?: ((value: number) => any) | undefined;
|
|
38
|
-
"onUpdate:surfaceMode"?: ((value: "fullscreen" | "list") => any) | undefined;
|
|
39
|
-
"onAsset-errors"?: ((errors: import(".").VibeAssetErrorEvent[]) => any) | undefined;
|
|
40
|
-
"onAsset-loads"?: ((loads: import(".").VibeAssetLoadEvent[]) => any) | undefined;
|
|
41
|
-
"onItems-change"?: ((items: import(".").VibeViewerItem[]) => any) | undefined;
|
|
42
|
-
}>, import(".").VibeHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
-
"update:activeIndex": (value: number) => any;
|
|
44
|
-
"update:surfaceMode": (value: "fullscreen" | "list") => any;
|
|
45
|
-
"asset-errors": (errors: import(".").VibeAssetErrorEvent[]) => any;
|
|
46
|
-
"asset-loads": (loads: import(".").VibeAssetLoadEvent[]) => any;
|
|
47
|
-
"items-change": (items: import(".").VibeViewerItem[]) => any;
|
|
48
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
49
|
-
$slots: {
|
|
50
|
-
'empty-state'?: (props: import(".").VibeEmptyStateSlotProps) => unknown;
|
|
51
|
-
'fullscreen-aside'?: (props: import(".").VibeSurfaceSlotProps) => unknown;
|
|
52
|
-
'fullscreen-footer'?: (props: import(".").VibeSurfaceSlotProps) => unknown;
|
|
53
|
-
'fullscreen-header-actions'?: (props: import(".").VibeSurfaceSlotProps) => unknown;
|
|
54
|
-
'fullscreen-overlay'?: (props: import(".").VibeSurfaceSlotProps) => unknown;
|
|
55
|
-
'fullscreen-status'?: (props: import("./components/viewer-core/surfaceSlots").VibeFullscreenStatusSlotProps) => unknown;
|
|
56
|
-
'grid-footer'?: () => unknown;
|
|
57
|
-
'grid-item-overlay'?: (props: {
|
|
58
|
-
active: boolean;
|
|
59
|
-
focused: boolean;
|
|
60
|
-
hovered: boolean;
|
|
61
|
-
index: number;
|
|
62
|
-
item: import(".").VibeViewerItem;
|
|
63
|
-
openFullscreen: () => void;
|
|
64
|
-
}) => unknown;
|
|
65
|
-
'grid-status'?: (props: import("./components/viewer-core/surfaceSlots").VibeGridStatusSlotProps) => unknown;
|
|
66
|
-
'item-icon'?: (props: {
|
|
67
|
-
icon: import("vue").Component;
|
|
68
|
-
item: import(".").VibeViewerItem;
|
|
69
|
-
}) => unknown;
|
|
70
|
-
};
|
|
71
|
-
});
|
|
72
|
-
export declare const VibePlugin: Plugin;
|
|
73
|
-
export default VibePlugin;
|
|
1
|
+
import './vibe.css';
|
|
2
|
+
export { createVibe } from './core/createVibe';
|
|
3
|
+
export type { CreateVibeOptions, VibeAutoScrollOptions, VibeAutoScrollState, VibeAutofillOptions, VibeAutofillSessionSnapshot, VibeAutofillState, VibeAutofillStatus, VibeAutofillStrategy, VibeBackendAutofillCancelContext, VibeBackendAutofillOptions, VibeBackendAutofillSession, VibeBackendAutofillStartContext, VibeBackendAutofillUpdate, VibeBackendFillCancelContext, VibeBackendFillOptions, VibeBackendFillSession, VibeBackendFillStartContext, VibeBackendFillUpdate, VibeCardRegion, VibeCardRegionProps, VibeCursor, VibeFillOptions, VibeFillSessionSnapshot, VibeFillState, VibeFillStatus, VibeFillStrategy, VibeFillTarget, VibeFrontendFillOptions, VibeInitialPage, VibeInstance, VibeItem, VibeItemId, VibeLayout, VibeLayoutMode, VibeLifecycle, VibeFrontendAutofillOptions, VibeMediaAsset, VibeMediaSource, VibePage, VibePageLoader, VibePageRequest, VibePreview, VibeRequestDelayOptions, VibeReelRouteContext, VibeReelAutoAdvanceOptions, VibeReelAutoAdvanceState, VibeReelInfoSheetOptions, VibeReelInfoSheetProps, VibeReelInfoSheetState, VibeReelOrigin, VibeRoutingOptions, VibeState, } from './types';
|