@bcc-code/component-library-vue 1.3.24 → 1.3.26

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,7 +0,0 @@
1
- export { default as BccLightbox } from './BccLightbox.vue';
2
- export { closeBccLightbox, openBccLightbox, useLightbox, usePinchPan } from './composables';
3
- export { detectMediaType, normalizeLightboxItem, normalizeLightboxItems } from './detectMedia';
4
- export { canGoNext, canGoPrevious, closeLightbox, goToNextItem, goToPreviousItem, installLightbox, lightboxState, openLightbox, setLightboxIndex, } from './state';
5
- export type { LightboxState } from './state';
6
- export { LIGHTBOX_KEY } from './types';
7
- export type { LightboxApi, LightboxItem, LightboxItemInput, LightboxMediaType, LightboxOpenOptions } from './types';
@@ -1,30 +0,0 @@
1
- import type { App } from 'vue';
2
- import { type LightboxItem, type LightboxOpenOptions } from './types';
3
- export type LightboxState = {
4
- visible: boolean;
5
- items: LightboxItem[];
6
- index: number;
7
- loop: boolean;
8
- maskClosable: boolean;
9
- };
10
- export declare const lightboxState: {
11
- readonly visible: boolean;
12
- readonly items: readonly {
13
- readonly src: string;
14
- readonly type?: import("./types").LightboxMediaType | undefined;
15
- readonly alt?: string | undefined;
16
- readonly title?: string | undefined;
17
- readonly poster?: string | undefined;
18
- }[];
19
- readonly index: number;
20
- readonly loop: boolean;
21
- readonly maskClosable: boolean;
22
- };
23
- export declare function openLightbox(options: LightboxOpenOptions): void;
24
- export declare function closeLightbox(): void;
25
- export declare function setLightboxIndex(index: number): void;
26
- export declare function goToPreviousItem(): void;
27
- export declare function goToNextItem(): void;
28
- export declare function canGoPrevious(): boolean;
29
- export declare function canGoNext(): boolean;
30
- export declare function installLightbox(app: App): void;