troncell-vue-component 1.0.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/README.md +144 -0
- package/dist/index.cjs +742 -0
- package/dist/index.mjs +10142 -0
- package/dist/troncell-vue-component.css +1 -0
- package/dist/types/components/3DCardComp/component/CardBody.vue.d.ts +21 -0
- package/dist/types/components/3DCardComp/component/CardContainer.vue.d.ts +27 -0
- package/dist/types/components/3DCardComp/component/Cardltem.vue.d.ts +89 -0
- package/dist/types/components/3DCardComp/component/card-3d.d.ts +4 -0
- package/dist/types/components/3DCardComp/component/useMouseState.d.ts +4 -0
- package/dist/types/components/3DCardComp/index.vue.d.ts +50 -0
- package/dist/types/components/AnimatedTestimonialsComp/component/AnimatedTestimonials.vue.d.ts +39 -0
- package/dist/types/components/AnimatedTestimonialsComp/index.vue.d.ts +53 -0
- package/dist/types/components/AuroraComp/component/Aurora.vue.d.ts +23 -0
- package/dist/types/components/AuroraComp/index.vue.d.ts +35 -0
- package/dist/types/components/BendingGalleryComp/component/BendingGallery.vue.d.ts +19 -0
- package/dist/types/components/BendingGalleryComp/index.vue.d.ts +35 -0
- package/dist/types/components/BentoGridComp/component/BentoGrid.vue.d.ts +21 -0
- package/dist/types/components/BentoGridComp/component/BentoGridltem.vue.d.ts +24 -0
- package/dist/types/components/BentoGridComp/index.vue.d.ts +33 -0
- package/dist/types/components/Carousel3DComp/component/Carousel3D.vue.d.ts +18 -0
- package/dist/types/components/Carousel3DComp/index.vue.d.ts +27 -0
- package/dist/types/components/ContainerScrollComp/component/ContainerScroll.vue.d.ts +22 -0
- package/dist/types/components/ContainerScrollComp/component/ContainerScrollCard.vue.d.ts +23 -0
- package/dist/types/components/ContainerScrollComp/component/ContainerScrollTitle.vue.d.ts +21 -0
- package/dist/types/components/ContainerScrollComp/index.vue.d.ts +37 -0
- package/dist/types/components/DirectionAwareHoverComp/component/DirectionAwareHover.vue.d.ts +31 -0
- package/dist/types/components/DirectionAwareHoverComp/index.vue.d.ts +42 -0
- package/dist/types/components/DockComp/component/Dock.vue.d.ts +35 -0
- package/dist/types/components/DockComp/component/DockSeparator.vue.d.ts +2 -0
- package/dist/types/components/DockComp/component/Docklcon.vue.d.ts +21 -0
- package/dist/types/components/DockComp/component/index.d.ts +3 -0
- package/dist/types/components/DockComp/component/injectionKeys.d.ts +7 -0
- package/dist/types/components/DockComp/component/types.d.ts +2 -0
- package/dist/types/components/DockComp/index.vue.d.ts +27 -0
- package/dist/types/components/DomeGalleryComp/component/DomeGallery.vue.d.ts +49 -0
- package/dist/types/components/DomeGalleryComp/index.vue.d.ts +53 -0
- package/dist/types/components/ExpandableGalleryComp/component/ExpandableGallery.vue.d.ts +7 -0
- package/dist/types/components/ExpandableGalleryComp/index.vue.d.ts +17 -0
- package/dist/types/components/FluidCursorComp/component/FluidCursor.vue.d.ts +42 -0
- package/dist/types/components/FluidCursorComp/index.vue.d.ts +23 -0
- package/dist/types/components/IButtonComp/index.vue.d.ts +55 -0
- package/dist/types/components/IInputComp/index.vue.d.ts +28 -0
- package/dist/types/components/IconCloudComp/component/IconCloud.vue.d.ts +5 -0
- package/dist/types/components/IconCloudComp/component/index.d.ts +14 -0
- package/dist/types/components/IconCloudComp/index.vue.d.ts +29 -0
- package/dist/types/components/InfiniteGridComp/component/DisposalManager.d.ts +121 -0
- package/dist/types/components/InfiniteGridComp/component/EventHandler.d.ts +126 -0
- package/dist/types/components/InfiniteGridComp/component/GridManager.d.ts +191 -0
- package/dist/types/components/InfiniteGridComp/component/InfiniteGrid.vue.d.ts +16 -0
- package/dist/types/components/InfiniteGridComp/component/InfiniteGridClass.d.ts +382 -0
- package/dist/types/components/InfiniteGridComp/component/PostProcessShader.d.ts +116 -0
- package/dist/types/components/InfiniteGridComp/component/createTexture.d.ts +99 -0
- package/dist/types/components/InfiniteGridComp/component/shaders.d.ts +4 -0
- package/dist/types/components/InfiniteGridComp/component/types.d.ts +122 -0
- package/dist/types/components/InfiniteGridComp/index.vue.d.ts +47 -0
- package/dist/types/components/InfiniteMenuComp/component/InfiniteMenu.vue.d.ts +13 -0
- package/dist/types/components/InfiniteMenuComp/index.vue.d.ts +33 -0
- package/dist/types/components/InspiraImageParticlesComp/component/inspiraImageParticles.d.ts +107 -0
- package/dist/types/components/InspiraImageParticlesComp/index.vue.d.ts +24 -0
- package/dist/types/components/InteractiveGridPatternComp/component/InteractiveGridPattern.vue.d.ts +14 -0
- package/dist/types/components/InteractiveGridPatternComp/index.vue.d.ts +29 -0
- package/dist/types/components/LightningComp/component/Lightning.vue.d.ts +17 -0
- package/dist/types/components/LightningComp/index.vue.d.ts +35 -0
- package/dist/types/components/LinkPreviewComp/component/LinkPreview.vue.d.ts +19 -0
- package/dist/types/components/LinkPreviewComp/index.vue.d.ts +11 -0
- package/dist/types/components/MagnifyingGlassComp/component/Beams.vue.d.ts +2 -0
- package/dist/types/components/MagnifyingGlassComp/component/Lens.vue.d.ts +45 -0
- package/dist/types/components/MagnifyingGlassComp/component/Rays.vue.d.ts +5 -0
- package/dist/types/components/MagnifyingGlassComp/index.vue.d.ts +41 -0
- package/dist/types/components/MarqueeComp/component/Marquee.vue.d.ts +28 -0
- package/dist/types/components/MarqueeComp/component/ReviewCard.vue.d.ts +8 -0
- package/dist/types/components/MarqueeComp/index.vue.d.ts +42 -0
- package/dist/types/components/MeteorsComp/component/Meteors.vue.d.ts +16 -0
- package/dist/types/components/MeteorsComp/index.vue.d.ts +45 -0
- package/dist/types/components/Navigation.vue.d.ts +2 -0
- package/dist/types/components/PhotoGalleryComp/component/PhotoGallery.vue.d.ts +9 -0
- package/dist/types/components/PhotoGalleryComp/index.vue.d.ts +38 -0
- package/dist/types/components/RegistrationFormComp/index.vue.d.ts +15 -0
- package/dist/types/components/RippleButtonComp/component/RippleButton.vue.d.ts +35 -0
- package/dist/types/components/RippleButtonComp/index.vue.d.ts +35 -0
- package/dist/types/components/RollingGalleryComp/component/RollingGallery.vue.d.ts +29 -0
- package/dist/types/components/RollingGalleryComp/index.vue.d.ts +45 -0
- package/dist/types/components/ScratchToRevealComp/component/ScratchToReveal.vue.d.ts +37 -0
- package/dist/types/components/ScratchToRevealComp/index.vue.d.ts +37 -0
- package/dist/types/components/ScrollIslandComp/component/AnimatedCircularProgressBar.vue.d.ts +22 -0
- package/dist/types/components/ScrollIslandComp/component/ScrollIsland.vue.d.ts +19 -0
- package/dist/types/components/ScrollIslandComp/index.vue.d.ts +41 -0
- package/dist/types/components/SparkElementComp/component/Sparkles.vue.d.ts +20 -0
- package/dist/types/components/SparkElementComp/index.vue.d.ts +13 -0
- package/dist/types/components/SparklesTextComp/component/SparklesText.vue.d.ts +17 -0
- package/dist/types/components/SparklesTextComp/index.vue.d.ts +13 -0
- package/dist/types/components/SplineComp/component/ParentSize.vue.d.ts +55 -0
- package/dist/types/components/SplineComp/component/Spline.vue.d.ts +67 -0
- package/dist/types/components/SplineComp/index.vue.d.ts +41 -0
- package/dist/types/components/StackComp/component/Stack.vue.d.ts +36 -0
- package/dist/types/components/StackComp/index.vue.d.ts +49 -0
- package/dist/types/components/TargetCursorComp/component/TargetCursor.vue.d.ts +15 -0
- package/dist/types/components/TargetCursorComp/index.vue.d.ts +50 -0
- package/dist/types/components/TestimonialSliderComp/component/TestimonialSlider.vue.d.ts +19 -0
- package/dist/types/components/TestimonialSliderComp/index.vue.d.ts +35 -0
- package/dist/types/components/Text3dComp/component/Text3d.vue.d.ts +40 -0
- package/dist/types/components/Text3dComp/index.vue.d.ts +33 -0
- package/dist/types/components/TextGenerateEffectComp/component/TextGenerateEffect.vue.d.ts +16 -0
- package/dist/types/components/TextGenerateEffectComp/index.vue.d.ts +29 -0
- package/dist/types/components/TimelineComp/component/Timeline.vue.d.ts +37 -0
- package/dist/types/components/TimelineComp/index.vue.d.ts +41 -0
- package/dist/types/components/TracingBeamComp/component/TracingBeam.vue.d.ts +27 -0
- package/dist/types/components/TracingBeamComp/index.vue.d.ts +47 -0
- package/dist/types/index.d.ts +42 -0
- package/dist/types/utils/lib/utils.d.ts +3 -0
- package/dist/types/utils/sensing-sample-sdk-quorra-1.0.d.ts +67 -0
- package/dist/types/utils/sensing-sample-sdk-webview-1.0.d.ts +45 -0
- package/dist/types/utils/useDynamicComponents.d.ts +42 -0
- package/package.json +83 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Texture, Vec3 } from 'ogl';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the data structure for a single card/tile in the grid
|
|
4
|
+
*/
|
|
5
|
+
export interface CardData {
|
|
6
|
+
/** The main title text displayed on the card */
|
|
7
|
+
title: string;
|
|
8
|
+
/** Badge text (currently not implemented in rendering) */
|
|
9
|
+
badge: string;
|
|
10
|
+
/** Detailed description text (optional) */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Array of tag strings displayed as pills at the bottom */
|
|
13
|
+
tags: string[];
|
|
14
|
+
/** Date string displayed in the bottom-right corner */
|
|
15
|
+
date: string;
|
|
16
|
+
/** Optional image URL for the card's main image */
|
|
17
|
+
image?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Configuration parameters for post-processing visual effects
|
|
21
|
+
*/
|
|
22
|
+
export interface PostProcessParams {
|
|
23
|
+
/** Intensity of the barrel/pincushion distortion effect (0 = no distortion) */
|
|
24
|
+
distortionIntensity?: number;
|
|
25
|
+
/** Offset value for the vignette effect (higher = smaller dark area) */
|
|
26
|
+
vignetteOffset?: number;
|
|
27
|
+
/** Darkness intensity of the vignette effect (higher = darker edges) */
|
|
28
|
+
vignetteDarkness?: number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Configuration options for initializing the infinite grid
|
|
32
|
+
*/
|
|
33
|
+
export interface InfiniteGridOptions {
|
|
34
|
+
/** Number of columns in each grid section (default: 3) */
|
|
35
|
+
gridCols?: number;
|
|
36
|
+
/** Number of rows in each grid section (default: 3) */
|
|
37
|
+
gridRows?: number;
|
|
38
|
+
/** Gap between tiles in Three.js units (default: 0) */
|
|
39
|
+
gridGap?: number;
|
|
40
|
+
/** Size of each tile in Three.js units (default: 3) */
|
|
41
|
+
tileSize?: number;
|
|
42
|
+
/** Base Z position of the camera (default: 10) */
|
|
43
|
+
baseCameraZ?: number;
|
|
44
|
+
/** Whether to enable post-processing effects (default: true) */
|
|
45
|
+
enablePostProcessing: boolean;
|
|
46
|
+
/** Parameters for post-processing effects */
|
|
47
|
+
postProcessParams: PostProcessParams;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Simple 2D coordinate structure
|
|
51
|
+
*/
|
|
52
|
+
export interface Position2D {
|
|
53
|
+
/** X coordinate */
|
|
54
|
+
x: number;
|
|
55
|
+
/** Y coordinate */
|
|
56
|
+
y: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Tracks the current scroll state and behavior
|
|
60
|
+
*/
|
|
61
|
+
export interface ScrollState {
|
|
62
|
+
/** Scaling factor for scroll sensitivity */
|
|
63
|
+
scale: number;
|
|
64
|
+
/** Current scroll position */
|
|
65
|
+
current: Position2D;
|
|
66
|
+
/** Previous scroll position for delta calculations */
|
|
67
|
+
last: Position2D;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Data structure for each group of tiles (3x3 groups create infinite effect)
|
|
71
|
+
*/
|
|
72
|
+
export interface TileGroupData {
|
|
73
|
+
/** Base 3D position of the group in world space */
|
|
74
|
+
basePos: Vec3;
|
|
75
|
+
/** Additional offset for infinite scrolling wrapping */
|
|
76
|
+
offset: Position2D;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* User data attached to each tile mesh for identification
|
|
80
|
+
*/
|
|
81
|
+
export interface TileUserData {
|
|
82
|
+
/** Index of the tile group this tile belongs to */
|
|
83
|
+
groupIndex: number;
|
|
84
|
+
/** Index of the tile within its group */
|
|
85
|
+
tileIndex: number;
|
|
86
|
+
/** Unique string identifier for the tile */
|
|
87
|
+
tileKey: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Event detail passed when a tile is clicked
|
|
91
|
+
*/
|
|
92
|
+
export interface TileClickEventDetail {
|
|
93
|
+
/** Index of the clicked tile's group */
|
|
94
|
+
groupIndex: number;
|
|
95
|
+
/** Index of the clicked tile within its group */
|
|
96
|
+
tileIndex: number;
|
|
97
|
+
/** The card data associated with the clicked tile */
|
|
98
|
+
cardData: CardData;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Pair of textures for each card (foreground content + background blur)
|
|
102
|
+
*/
|
|
103
|
+
export interface CardTexturePair {
|
|
104
|
+
/** Canvas texture containing the card's main content */
|
|
105
|
+
foreground: Texture | null;
|
|
106
|
+
/** Canvas texture containing the blurred background image */
|
|
107
|
+
background: Texture | null;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Camera viewport dimensions in world space
|
|
111
|
+
*/
|
|
112
|
+
export interface Viewport {
|
|
113
|
+
/** Width of the viewport in world units */
|
|
114
|
+
width: number;
|
|
115
|
+
/** Height of the viewport in world units */
|
|
116
|
+
height: number;
|
|
117
|
+
}
|
|
118
|
+
declare global {
|
|
119
|
+
interface HTMLElementEventMap {
|
|
120
|
+
tileClicked: CustomEvent<TileClickEventDetail>;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
interface CardData {
|
|
2
|
+
title: string;
|
|
3
|
+
badge: string;
|
|
4
|
+
image: string;
|
|
5
|
+
description: string;
|
|
6
|
+
tags: string[];
|
|
7
|
+
date: string;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
cardData?: CardData[];
|
|
11
|
+
loadingText?: string;
|
|
12
|
+
buttonText?: string;
|
|
13
|
+
classList?: {
|
|
14
|
+
overallClass?: string;
|
|
15
|
+
gridClass?: string;
|
|
16
|
+
loadingClass?: string;
|
|
17
|
+
buttonClass?: string;
|
|
18
|
+
Location?: {
|
|
19
|
+
position?: string;
|
|
20
|
+
width?: string;
|
|
21
|
+
height?: string;
|
|
22
|
+
left?: string;
|
|
23
|
+
top?: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
28
|
+
classList: {
|
|
29
|
+
overallClass?: string;
|
|
30
|
+
gridClass?: string;
|
|
31
|
+
loadingClass?: string;
|
|
32
|
+
buttonClass?: string;
|
|
33
|
+
Location?: {
|
|
34
|
+
position?: string;
|
|
35
|
+
width?: string;
|
|
36
|
+
height?: string;
|
|
37
|
+
left?: string;
|
|
38
|
+
top?: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
buttonText: string;
|
|
42
|
+
cardData: CardData[];
|
|
43
|
+
loadingText: string;
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
45
|
+
el: HTMLDivElement;
|
|
46
|
+
}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type InfiniteMenuItem = {
|
|
2
|
+
image: string;
|
|
3
|
+
link?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
};
|
|
7
|
+
type InfiniteMenuProps = {
|
|
8
|
+
items?: InfiniteMenuItem[];
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<InfiniteMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<InfiniteMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
canvasRef: HTMLCanvasElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
interface MenuItem {
|
|
2
|
+
image: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
items?: MenuItem[];
|
|
9
|
+
classList?: {
|
|
10
|
+
overallClass?: string;
|
|
11
|
+
Location?: {
|
|
12
|
+
position?: string;
|
|
13
|
+
width?: string;
|
|
14
|
+
height?: string;
|
|
15
|
+
left?: string;
|
|
16
|
+
top?: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
classList: {
|
|
22
|
+
overallClass?: string;
|
|
23
|
+
Location?: {
|
|
24
|
+
position?: string;
|
|
25
|
+
width?: string;
|
|
26
|
+
height?: string;
|
|
27
|
+
left?: string;
|
|
28
|
+
top?: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
items: MenuItem[];
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export function inspiraImageParticles(): {
|
|
2
|
+
InspiraImageParticle: {
|
|
3
|
+
new (optionsParam: any): {
|
|
4
|
+
state: string;
|
|
5
|
+
touches: any[];
|
|
6
|
+
on(event: any, fn: any): void;
|
|
7
|
+
events: any;
|
|
8
|
+
emit(event: any, params: any): void;
|
|
9
|
+
get renderer(): any;
|
|
10
|
+
set renderer(value: any);
|
|
11
|
+
_renderer: any;
|
|
12
|
+
_draw: any;
|
|
13
|
+
set color(value: any);
|
|
14
|
+
colorArr: any;
|
|
15
|
+
start(optionsParam: any): void;
|
|
16
|
+
initPosition: any;
|
|
17
|
+
initDirection: any;
|
|
18
|
+
stop(optionsParam: any): void;
|
|
19
|
+
fadePosition: any;
|
|
20
|
+
fadeDirection: any;
|
|
21
|
+
_animate(): void;
|
|
22
|
+
get _mouseHandler(): (e: any) => void;
|
|
23
|
+
get _clickHandler(): (e: any) => void;
|
|
24
|
+
get _touchHandler(): (e: any) => void;
|
|
25
|
+
get _clearTouches(): (e: any) => void;
|
|
26
|
+
_onImageLoaded(options: any): void;
|
|
27
|
+
imageWidth: number | undefined;
|
|
28
|
+
imageHeight: number | undefined;
|
|
29
|
+
imageRatio: number | undefined;
|
|
30
|
+
width: any;
|
|
31
|
+
height: any;
|
|
32
|
+
renderSize: number | undefined;
|
|
33
|
+
_initImage(options: any): void;
|
|
34
|
+
srcImage: any;
|
|
35
|
+
imageUrl: any;
|
|
36
|
+
image: HTMLImageElement | undefined;
|
|
37
|
+
wrapperElement: any;
|
|
38
|
+
_initContext(options: any): void;
|
|
39
|
+
canvas: any;
|
|
40
|
+
context: any;
|
|
41
|
+
_defaultInitContext(options: any): void;
|
|
42
|
+
_webglInitContext(): void;
|
|
43
|
+
fragmentShaderScript: string | undefined;
|
|
44
|
+
vertexShaderScript: string | undefined;
|
|
45
|
+
program: any;
|
|
46
|
+
vertexPosition: any;
|
|
47
|
+
vertexColor: any;
|
|
48
|
+
vertexBuffer: any;
|
|
49
|
+
vertexOffset: any;
|
|
50
|
+
uModelViewMatrix: any;
|
|
51
|
+
uPerspectiveMatrix: any;
|
|
52
|
+
uRotationMatrix: any;
|
|
53
|
+
uPointSize: any;
|
|
54
|
+
uDepth: any;
|
|
55
|
+
_webglSetAttributes(): void;
|
|
56
|
+
_updateRotation(): void;
|
|
57
|
+
_webglRenderer(): void;
|
|
58
|
+
_initSettings(options: any): void;
|
|
59
|
+
maxWidth: any;
|
|
60
|
+
maxHeight: any;
|
|
61
|
+
minWidth: any;
|
|
62
|
+
minHeight: any;
|
|
63
|
+
alphaFade: number | undefined;
|
|
64
|
+
gravity: number | undefined;
|
|
65
|
+
particleGap: number | undefined;
|
|
66
|
+
particleSize: number | undefined;
|
|
67
|
+
layerCount: number | undefined;
|
|
68
|
+
depth: number | undefined;
|
|
69
|
+
rotationDuration: number | undefined;
|
|
70
|
+
growDuration: number | undefined;
|
|
71
|
+
waitDuration: number | undefined;
|
|
72
|
+
shrinkDuration: number | undefined;
|
|
73
|
+
shrinkDistance: number | undefined;
|
|
74
|
+
threeDimensional: boolean | undefined;
|
|
75
|
+
lifeCycle: boolean | undefined;
|
|
76
|
+
layerDistance: any;
|
|
77
|
+
noise: number | undefined;
|
|
78
|
+
disableInteraction: any;
|
|
79
|
+
mouseForce: number | undefined;
|
|
80
|
+
clickStrength: number | undefined;
|
|
81
|
+
_initResponsive(options: any): void;
|
|
82
|
+
responsiveWidth: any;
|
|
83
|
+
_calculate(): void;
|
|
84
|
+
vertices: boolean | never[] | undefined;
|
|
85
|
+
_defaultRenderer(): void;
|
|
86
|
+
minZ: number | undefined;
|
|
87
|
+
maxZ: number | undefined;
|
|
88
|
+
_initParticles(): void;
|
|
89
|
+
particles: any[] | undefined;
|
|
90
|
+
_initParticlePosition(origin: any, particle: any): void;
|
|
91
|
+
_fade(): void;
|
|
92
|
+
_fadeOriginPosition(origin: any): void;
|
|
93
|
+
_initParticleDirection(particle: any): void;
|
|
94
|
+
_fadeOriginDirection(particle: any): void;
|
|
95
|
+
_initOrigins(): void;
|
|
96
|
+
ratio: number | undefined;
|
|
97
|
+
renderWidth: any;
|
|
98
|
+
renderHeight: any;
|
|
99
|
+
offsetX: number | undefined;
|
|
100
|
+
offsetY: number | undefined;
|
|
101
|
+
origins: any[] | undefined;
|
|
102
|
+
speed: number | undefined;
|
|
103
|
+
gravityFactor: number | undefined;
|
|
104
|
+
_parseColor(strParam: any): number[] | undefined;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type ParticleImageProps = {
|
|
2
|
+
imageSrc: string;
|
|
3
|
+
class?: string;
|
|
4
|
+
classList?: any;
|
|
5
|
+
canvasWidth?: string;
|
|
6
|
+
canvasHeight?: string;
|
|
7
|
+
gravity?: string;
|
|
8
|
+
particleSize?: string;
|
|
9
|
+
particleGap?: string;
|
|
10
|
+
mouseForce?: string;
|
|
11
|
+
renderer?: "default" | "webgl";
|
|
12
|
+
color?: string;
|
|
13
|
+
colorArr?: number[];
|
|
14
|
+
initPosition?: "random" | "top" | "left" | "bottom" | "right" | "misplaced" | "none";
|
|
15
|
+
initDirection?: "random" | "top" | "left" | "bottom" | "right" | "none";
|
|
16
|
+
fadePosition?: "explode" | "top" | "left" | "bottom" | "right" | "random" | "none";
|
|
17
|
+
fadeDirection?: "random" | "top" | "left" | "bottom" | "right" | "none";
|
|
18
|
+
noise?: number;
|
|
19
|
+
responsiveWidth?: boolean;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import('vue').DefineComponent<ParticleImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ParticleImageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
imageParticleRef: HTMLImageElement;
|
|
23
|
+
}, HTMLDivElement>;
|
|
24
|
+
export default _default;
|
package/dist/types/components/InteractiveGridPatternComp/component/InteractiveGridPattern.vue.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface InteractiveGridPatternProps {
|
|
3
|
+
className?: HTMLAttributes["class"];
|
|
4
|
+
squaresClassName?: HTMLAttributes["class"];
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
squares?: [number, number];
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<InteractiveGridPatternProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<InteractiveGridPatternProps> & Readonly<{}>, {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
squares: [number, number];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
classList?: {
|
|
3
|
+
overallClass?: string;
|
|
4
|
+
textClass?: string;
|
|
5
|
+
patternClass?: string;
|
|
6
|
+
Location?: {
|
|
7
|
+
position?: string;
|
|
8
|
+
width?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
left?: string;
|
|
11
|
+
top?: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
classList: {
|
|
17
|
+
overallClass?: string;
|
|
18
|
+
textClass?: string;
|
|
19
|
+
patternClass?: string;
|
|
20
|
+
Location?: {
|
|
21
|
+
position?: string;
|
|
22
|
+
width?: string;
|
|
23
|
+
height?: string;
|
|
24
|
+
left?: string;
|
|
25
|
+
top?: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface LightningProps {
|
|
2
|
+
hue?: number;
|
|
3
|
+
xOffset?: number;
|
|
4
|
+
speed?: number;
|
|
5
|
+
intensity?: number;
|
|
6
|
+
size?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<LightningProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LightningProps> & Readonly<{}>, {
|
|
9
|
+
size: number;
|
|
10
|
+
speed: number;
|
|
11
|
+
intensity: number;
|
|
12
|
+
hue: number;
|
|
13
|
+
xOffset: number;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
canvasRef: HTMLCanvasElement;
|
|
16
|
+
}, HTMLCanvasElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
hue?: number;
|
|
3
|
+
xOffset?: number;
|
|
4
|
+
speed?: number;
|
|
5
|
+
intensity?: number;
|
|
6
|
+
size?: number;
|
|
7
|
+
classList?: {
|
|
8
|
+
overallClass?: string;
|
|
9
|
+
Location?: {
|
|
10
|
+
position?: string;
|
|
11
|
+
width?: string;
|
|
12
|
+
height?: string;
|
|
13
|
+
left?: string;
|
|
14
|
+
top?: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
size: number;
|
|
20
|
+
classList: {
|
|
21
|
+
overallClass?: string;
|
|
22
|
+
Location?: {
|
|
23
|
+
position?: string;
|
|
24
|
+
width?: string;
|
|
25
|
+
height?: string;
|
|
26
|
+
left?: string;
|
|
27
|
+
top?: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
speed: number;
|
|
31
|
+
intensity: number;
|
|
32
|
+
hue: number;
|
|
33
|
+
xOffset: number;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
preview: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
classList: Record<string, any>;
|
|
3
|
+
firstParagraph: Record<string, any>;
|
|
4
|
+
secondParagraph: Record<string, any>;
|
|
5
|
+
$props: {
|
|
6
|
+
readonly classList?: Record<string, any> | undefined;
|
|
7
|
+
readonly firstParagraph?: Record<string, any> | undefined;
|
|
8
|
+
readonly secondParagraph?: Record<string, any> | undefined;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
interface LensProps {
|
|
2
|
+
zoomFactor?: number;
|
|
3
|
+
lensSize?: number;
|
|
4
|
+
position?: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
};
|
|
8
|
+
isStatic?: boolean;
|
|
9
|
+
hovering?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {
|
|
18
|
+
containerRef: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
rootEl: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<LensProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
"hover-update": (value: boolean) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<LensProps> & Readonly<{
|
|
26
|
+
"onHover-update"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
position: {
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
};
|
|
32
|
+
isStatic: boolean;
|
|
33
|
+
zoomFactor: number;
|
|
34
|
+
lensSize: number;
|
|
35
|
+
hovering: boolean;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
37
|
+
containerRef: HTMLDivElement;
|
|
38
|
+
}, HTMLDivElement>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
class?: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
imageSrc?: string;
|
|
3
|
+
title1?: string;
|
|
4
|
+
title2?: string;
|
|
5
|
+
classList?: {
|
|
6
|
+
overallClass?: string;
|
|
7
|
+
innerContainerClass?: string;
|
|
8
|
+
imageClass?: string;
|
|
9
|
+
textContainerClass?: string;
|
|
10
|
+
title1Class?: string;
|
|
11
|
+
title2Class?: string;
|
|
12
|
+
Location?: {
|
|
13
|
+
position?: string;
|
|
14
|
+
width?: string;
|
|
15
|
+
height?: string;
|
|
16
|
+
left?: string;
|
|
17
|
+
top?: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
22
|
+
imageSrc: string;
|
|
23
|
+
classList: {
|
|
24
|
+
overallClass?: string;
|
|
25
|
+
innerContainerClass?: string;
|
|
26
|
+
imageClass?: string;
|
|
27
|
+
textContainerClass?: string;
|
|
28
|
+
title1Class?: string;
|
|
29
|
+
title2Class?: string;
|
|
30
|
+
Location?: {
|
|
31
|
+
position?: string;
|
|
32
|
+
width?: string;
|
|
33
|
+
height?: string;
|
|
34
|
+
left?: string;
|
|
35
|
+
top?: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
title1: string;
|
|
39
|
+
title2: string;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
reverse?: boolean;
|
|
4
|
+
pauseOnHover?: boolean;
|
|
5
|
+
vertical?: boolean;
|
|
6
|
+
repeat?: number;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
repeat: number;
|
|
19
|
+
vertical: boolean;
|
|
20
|
+
pauseOnHover: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
img: string;
|
|
3
|
+
name: string;
|
|
4
|
+
username: string;
|
|
5
|
+
body: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
interface Review {
|
|
2
|
+
name: string;
|
|
3
|
+
username: string;
|
|
4
|
+
body: string;
|
|
5
|
+
img: string;
|
|
6
|
+
}
|
|
7
|
+
interface ClassList {
|
|
8
|
+
overallClass?: string;
|
|
9
|
+
marqueeClass?: string;
|
|
10
|
+
gradientLeftClass?: string;
|
|
11
|
+
gradientRightClass?: string;
|
|
12
|
+
Location?: {
|
|
13
|
+
position?: string;
|
|
14
|
+
width?: string;
|
|
15
|
+
height?: string;
|
|
16
|
+
left?: string;
|
|
17
|
+
top?: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
reviews: {
|
|
22
|
+
type: () => Review[];
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
|
+
classList: {
|
|
26
|
+
type: () => ClassList;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
reviews: {
|
|
31
|
+
type: () => Review[];
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
classList: {
|
|
35
|
+
type: () => ClassList;
|
|
36
|
+
default: () => {};
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{}>, {
|
|
39
|
+
classList: ClassList;
|
|
40
|
+
reviews: Review[];
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
42
|
+
export default _default;
|