@tresjs/cientos 4.0.0-next.1 → 4.0.0-rc.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/dist/core/abstractions/AnimatedSprite/Atlas.d.ts +1 -1
- package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +15 -15
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +12 -12
- package/dist/core/abstractions/Levioso.vue.d.ts +11 -11
- package/dist/core/abstractions/MouseParallax.vue.d.ts +11 -11
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +13 -13
- package/dist/core/abstractions/Reflector.vue.d.ts +11 -11
- package/dist/core/abstractions/Text3D.vue.d.ts +132 -11
- package/dist/core/abstractions/useFBO/component.vue.d.ts +11 -11
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +8 -8
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +3 -3
- package/dist/core/controls/CameraControls.vue.d.ts +22 -22
- package/dist/core/controls/KeyboardControls.vue.d.ts +11 -11
- package/dist/core/controls/MapControls.vue.d.ts +21 -21
- package/dist/core/controls/OrbitControls.vue.d.ts +25 -25
- package/dist/core/controls/PointerLockControls.vue.d.ts +11 -11
- package/dist/core/controls/ScrollControls.vue.d.ts +11 -11
- package/dist/core/controls/TransformControls.vue.d.ts +11 -11
- package/dist/core/loaders/SVG/component.vue.d.ts +11 -11
- package/dist/core/loaders/useFBX/component.vue.d.ts +11 -11
- package/dist/core/loaders/useGLTF/component.vue.d.ts +11 -11
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +3 -3
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +11 -11
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +11 -11
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +11 -11
- package/dist/core/misc/html/HTML.vue.d.ts +11 -11
- package/dist/core/shapes/Box.vue.d.ts +11 -11
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +11 -11
- package/dist/core/shapes/Circle.vue.d.ts +11 -11
- package/dist/core/shapes/Cone.vue.d.ts +11 -11
- package/dist/core/shapes/Cylinder.vue.d.ts +11 -11
- package/dist/core/shapes/Dodecahedron.vue.d.ts +11 -11
- package/dist/core/shapes/Icosahedron.vue.d.ts +11 -11
- package/dist/core/shapes/Line2.vue.d.ts +11 -11
- package/dist/core/shapes/Octahedron.vue.d.ts +11 -11
- package/dist/core/shapes/Plane.vue.d.ts +11 -11
- package/dist/core/shapes/Ring.vue.d.ts +11 -11
- package/dist/core/shapes/RoundedBox.vue.d.ts +11 -11
- package/dist/core/shapes/Sphere.vue.d.ts +11 -11
- package/dist/core/shapes/Superformula.vue.d.ts +11 -11
- package/dist/core/shapes/Tetrahedron.vue.d.ts +11 -11
- package/dist/core/shapes/Torus.vue.d.ts +11 -11
- package/dist/core/shapes/TorusKnot.vue.d.ts +11 -11
- package/dist/core/shapes/Tube.vue.d.ts +11 -11
- package/dist/core/staging/Backdrop.vue.d.ts +11 -11
- package/dist/core/staging/ContactShadows.vue.d.ts +57 -62
- package/dist/core/staging/Fit.vue.d.ts +17 -12
- package/dist/core/staging/Ocean.vue.d.ts +14 -14
- package/dist/core/staging/Precipitation.vue.d.ts +18 -18
- package/dist/core/staging/Sky.vue.d.ts +11 -11
- package/dist/core/staging/Smoke.vue.d.ts +13 -13
- package/dist/core/staging/Sparkles/component.vue.d.ts +17 -17
- package/dist/core/staging/Stars.vue.d.ts +15 -15
- package/dist/core/staging/useEnvironment/component.vue.d.ts +15 -15
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +11 -11
- package/dist/trescientos.js +5186 -5115
- package/dist/trescientos.umd.cjs +67 -67
- package/package.json +10 -10
- package/dist/composables/useOnDemandInvalidation.d.ts +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Texture } from 'three';
|
|
2
2
|
|
|
3
|
-
export declare function getTextureAndAtlasAsync(imagePathOrImageData: string, atlasPathOrAtlasish: string | Atlasish): Promise<[Texture, Atlas]>;
|
|
3
|
+
export declare function getTextureAndAtlasAsync(imagePathOrImageData: string, atlasPathOrAtlasish: string | Atlasish): Promise<[Texture | Texture[], Atlas]>;
|
|
4
4
|
export interface AtlasFrame {
|
|
5
5
|
name: string;
|
|
6
6
|
width: number;
|
|
@@ -52,7 +52,7 @@ export interface AnimatedSpriteProps {
|
|
|
52
52
|
declare function __VLS_template(): {
|
|
53
53
|
default?(_: {}): any;
|
|
54
54
|
};
|
|
55
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
55
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AnimatedSpriteProps>, {
|
|
56
56
|
fps: number;
|
|
57
57
|
loop: boolean;
|
|
58
58
|
animation: number;
|
|
@@ -72,7 +72,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
72
72
|
end: (frameName: string) => void;
|
|
73
73
|
loop: (frameName: string) => void;
|
|
74
74
|
click: (event: Intersection<import('three').Object3D<import('three').Object3DEventMap>>) => void;
|
|
75
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
75
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AnimatedSpriteProps>, {
|
|
76
76
|
fps: number;
|
|
77
77
|
loop: boolean;
|
|
78
78
|
animation: number;
|
|
@@ -91,11 +91,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
91
91
|
onFrame?: ((frameName: string) => any) | undefined;
|
|
92
92
|
onEnd?: ((frameName: string) => any) | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
loop: boolean;
|
|
95
|
-
depthTest: boolean;
|
|
96
|
-
depthWrite: boolean;
|
|
97
|
-
alphaTest: number;
|
|
98
94
|
center: TresVector2;
|
|
95
|
+
loop: boolean;
|
|
99
96
|
fps: number;
|
|
100
97
|
animation: string | [number, number] | number;
|
|
101
98
|
paused: boolean;
|
|
@@ -103,18 +100,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
103
100
|
flipX: boolean;
|
|
104
101
|
resetOnEnd: boolean;
|
|
105
102
|
asSprite: boolean;
|
|
103
|
+
alphaTest: number;
|
|
104
|
+
depthTest: boolean;
|
|
105
|
+
depthWrite: boolean;
|
|
106
106
|
}, {}>;
|
|
107
107
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
108
108
|
export default _default;
|
|
109
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
110
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
111
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
112
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
113
|
-
} : {
|
|
114
|
-
type: import('vue').PropType<T[K]>;
|
|
115
|
-
required: true;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
109
|
type __VLS_WithDefaults<P, D> = {
|
|
119
110
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
120
111
|
default: D[K];
|
|
@@ -128,3 +119,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
128
119
|
$slots: S;
|
|
129
120
|
};
|
|
130
121
|
};
|
|
122
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
123
|
+
type __VLS_TypePropsToOption<T> = {
|
|
124
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
125
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
126
|
+
} : {
|
|
127
|
+
type: import('vue').PropType<T[K]>;
|
|
128
|
+
required: true;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
@@ -37,7 +37,7 @@ export interface LensflareProps {
|
|
|
37
37
|
*/
|
|
38
38
|
texture?: Texture | string[];
|
|
39
39
|
}
|
|
40
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
40
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LensflareProps>, {
|
|
41
41
|
scale: number;
|
|
42
42
|
elements: undefined;
|
|
43
43
|
seed: undefined;
|
|
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
48
48
|
texture: undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
instance: import('vue').ShallowRef<Lensflare | undefined>;
|
|
51
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
51
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LensflareProps>, {
|
|
52
52
|
scale: number;
|
|
53
53
|
elements: undefined;
|
|
54
54
|
seed: undefined;
|
|
@@ -58,25 +58,16 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
58
58
|
size: undefined;
|
|
59
59
|
texture: undefined;
|
|
60
60
|
}>>>, {
|
|
61
|
+
size: number;
|
|
61
62
|
color: TresColor;
|
|
62
63
|
texture: Texture | string[];
|
|
63
64
|
scale: number;
|
|
64
65
|
distance: number;
|
|
65
|
-
size: number;
|
|
66
66
|
elements: Partial<LensflareElementProps>[];
|
|
67
67
|
seed: number;
|
|
68
68
|
seedProps: SeedProps[];
|
|
69
69
|
}, {}>;
|
|
70
70
|
export default _default;
|
|
71
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
72
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
73
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
74
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
75
|
-
} : {
|
|
76
|
-
type: import('vue').PropType<T[K]>;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
71
|
type __VLS_WithDefaults<P, D> = {
|
|
81
72
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
82
73
|
default: D[K];
|
|
@@ -85,3 +76,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
85
76
|
type __VLS_Prettify<T> = {
|
|
86
77
|
[K in keyof T]: T[K];
|
|
87
78
|
} & {};
|
|
79
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
80
|
+
type __VLS_TypePropsToOption<T> = {
|
|
81
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
82
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
83
|
+
} : {
|
|
84
|
+
type: import('vue').PropType<T[K]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
5
|
speed?: number;
|
|
6
6
|
rotationFactor?: number;
|
|
7
7
|
floatFactor?: number;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
13
13
|
range: () => number[];
|
|
14
14
|
}>, {
|
|
15
15
|
instance: import('vue').ShallowRef<any>;
|
|
16
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
16
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
17
17
|
speed?: number;
|
|
18
18
|
rotationFactor?: number;
|
|
19
19
|
floatFactor?: number;
|
|
@@ -31,15 +31,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
31
31
|
}, {}>;
|
|
32
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
33
|
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
34
|
type __VLS_WithDefaults<P, D> = {
|
|
44
35
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
36
|
default: D[K];
|
|
@@ -53,3 +44,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
53
44
|
$slots: S;
|
|
54
45
|
};
|
|
55
46
|
};
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToOption<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -32,12 +32,12 @@ export interface MouseParallaxProps {
|
|
|
32
32
|
*/
|
|
33
33
|
local?: boolean;
|
|
34
34
|
}
|
|
35
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
35
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MouseParallaxProps>, {
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
factor: number;
|
|
38
38
|
ease: number;
|
|
39
39
|
local: boolean;
|
|
40
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
40
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MouseParallaxProps>, {
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
factor: number;
|
|
43
43
|
ease: number;
|
|
@@ -49,15 +49,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
49
49
|
local: boolean;
|
|
50
50
|
}, {}>;
|
|
51
51
|
export default _default;
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
52
|
type __VLS_WithDefaults<P, D> = {
|
|
62
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
63
54
|
default: D[K];
|
|
@@ -66,3 +57,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
66
57
|
type __VLS_Prettify<T> = {
|
|
67
58
|
[K in keyof T]: T[K];
|
|
68
59
|
} & {};
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToOption<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import('vue').PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -11,7 +11,7 @@ export interface PositionalAudioProps {
|
|
|
11
11
|
outerAngle?: number;
|
|
12
12
|
outerGain?: number;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PositionalAudioProps>, {
|
|
15
15
|
ready: boolean;
|
|
16
16
|
helper: boolean;
|
|
17
17
|
distance: number;
|
|
@@ -28,7 +28,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
28
|
dispose: () => void;
|
|
29
29
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
30
|
isPlaying: (...args: any[]) => void;
|
|
31
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PositionalAudioProps>, {
|
|
32
32
|
ready: boolean;
|
|
33
33
|
helper: boolean;
|
|
34
34
|
distance: number;
|
|
@@ -40,25 +40,16 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
40
40
|
}>>> & {
|
|
41
41
|
onIsPlaying?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
|
|
43
|
+
loop: boolean;
|
|
44
44
|
distance: number;
|
|
45
|
+
ready: boolean;
|
|
45
46
|
helper: boolean;
|
|
46
|
-
loop: boolean;
|
|
47
47
|
autoplay: boolean;
|
|
48
48
|
innerAngle: number;
|
|
49
49
|
outerAngle: number;
|
|
50
50
|
outerGain: number;
|
|
51
51
|
}, {}>;
|
|
52
52
|
export default _default;
|
|
53
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
-
} : {
|
|
58
|
-
type: import('vue').PropType<T[K]>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
53
|
type __VLS_WithDefaults<P, D> = {
|
|
63
54
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
55
|
default: D[K];
|
|
@@ -67,3 +58,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
67
58
|
type __VLS_Prettify<T> = {
|
|
68
59
|
[K in keyof T]: T[K];
|
|
69
60
|
} & {};
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToOption<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -60,7 +60,7 @@ export interface ReflectorProps {
|
|
|
60
60
|
declare function __VLS_template(): {
|
|
61
61
|
default?(_: {}): any;
|
|
62
62
|
};
|
|
63
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
63
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ReflectorProps>, {
|
|
64
64
|
color: string;
|
|
65
65
|
textureWidth: number;
|
|
66
66
|
textureHeight: number;
|
|
@@ -69,7 +69,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
69
69
|
shader: any;
|
|
70
70
|
}>, {
|
|
71
71
|
instance: import('vue').ShallowRef<Reflector | undefined>;
|
|
72
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
72
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ReflectorProps>, {
|
|
73
73
|
color: string;
|
|
74
74
|
textureWidth: number;
|
|
75
75
|
textureHeight: number;
|
|
@@ -86,15 +86,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
86
86
|
}, {}>;
|
|
87
87
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
88
88
|
export default _default;
|
|
89
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
90
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
91
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
92
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
93
|
-
} : {
|
|
94
|
-
type: import('vue').PropType<T[K]>;
|
|
95
|
-
required: true;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
89
|
type __VLS_WithDefaults<P, D> = {
|
|
99
90
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
100
91
|
default: D[K];
|
|
@@ -108,3 +99,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
108
99
|
$slots: S;
|
|
109
100
|
};
|
|
110
101
|
};
|
|
102
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
103
|
+
type __VLS_TypePropsToOption<T> = {
|
|
104
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
105
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
106
|
+
} : {
|
|
107
|
+
type: import('vue').PropType<T[K]>;
|
|
108
|
+
required: true;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
@@ -117,7 +117,7 @@ export interface Text3DProps {
|
|
|
117
117
|
declare function __VLS_template(): {
|
|
118
118
|
default?(_: {}): any;
|
|
119
119
|
};
|
|
120
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
120
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Text3DProps>, {
|
|
121
121
|
size: number;
|
|
122
122
|
height: number;
|
|
123
123
|
curveSegments: number;
|
|
@@ -130,7 +130,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
130
130
|
needUpdates: boolean;
|
|
131
131
|
}>, {
|
|
132
132
|
instance: import('vue').ShallowRef<any>;
|
|
133
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
133
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Text3DProps>, {
|
|
134
134
|
size: number;
|
|
135
135
|
height: number;
|
|
136
136
|
curveSegments: number;
|
|
@@ -142,28 +142,140 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
142
142
|
center: boolean;
|
|
143
143
|
needUpdates: boolean;
|
|
144
144
|
}>>>, {
|
|
145
|
-
height: number;
|
|
146
|
-
center: boolean;
|
|
147
145
|
size: number;
|
|
146
|
+
height: number;
|
|
148
147
|
curveSegments: number;
|
|
149
148
|
bevelEnabled: boolean;
|
|
150
149
|
bevelThickness: number;
|
|
151
150
|
bevelSize: number;
|
|
152
151
|
bevelOffset: number;
|
|
153
152
|
bevelSegments: number;
|
|
153
|
+
center: boolean;
|
|
154
154
|
needUpdates: boolean;
|
|
155
155
|
}, {}>;
|
|
156
156
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
157
157
|
export default _default;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
export declare const __VLS_globalTypesStart: {};
|
|
159
|
+
declare global {
|
|
160
|
+
type __VLS_IntrinsicElements = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.IntrinsicElements, __VLS_PickNotAny<globalThis.JSX.IntrinsicElements, Record<string, any>>>;
|
|
161
|
+
type __VLS_Element = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.Element, globalThis.JSX.Element>;
|
|
162
|
+
type __VLS_GlobalComponents = __VLS_PickNotAny<import('vue').GlobalComponents, {}> & __VLS_PickNotAny<import('@vue/runtime-core').GlobalComponents, {}> & __VLS_PickNotAny<import('@vue/runtime-dom').GlobalComponents, {}> & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
|
|
163
|
+
type __VLS_BuiltInPublicProps = __VLS_PickNotAny<import('vue').VNodeProps, {}> & __VLS_PickNotAny<import('vue').AllowedComponentProps, {}> & __VLS_PickNotAny<import('vue').ComponentCustomProps, {}>;
|
|
164
|
+
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
165
|
+
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
166
|
+
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
167
|
+
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
168
|
+
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
169
|
+
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
170
|
+
item: T[number],
|
|
171
|
+
key: number,
|
|
172
|
+
index: number
|
|
173
|
+
][];
|
|
174
|
+
function __VLS_getVForSourceType<T extends {
|
|
175
|
+
[Symbol.iterator](): Iterator<any>;
|
|
176
|
+
}>(source: T): [
|
|
177
|
+
item: T extends {
|
|
178
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
179
|
+
} ? T1 : never,
|
|
180
|
+
key: number,
|
|
181
|
+
index: undefined
|
|
182
|
+
][];
|
|
183
|
+
function __VLS_getVForSourceType<T extends number | {
|
|
184
|
+
[Symbol.iterator](): Iterator<any>;
|
|
185
|
+
}>(source: T): [
|
|
186
|
+
item: number | (Exclude<T, number> extends {
|
|
187
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
188
|
+
} ? T1 : never),
|
|
189
|
+
key: number,
|
|
190
|
+
index: undefined
|
|
191
|
+
][];
|
|
192
|
+
function __VLS_getVForSourceType<T>(source: T): [
|
|
193
|
+
item: T[keyof T],
|
|
194
|
+
key: keyof T,
|
|
195
|
+
index: number
|
|
196
|
+
][];
|
|
197
|
+
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
198
|
+
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
199
|
+
function __VLS_directiveFunction<T>(dir: T): T extends import('vue').ObjectDirective<infer E, infer V> | import('vue').FunctionDirective<infer E, infer V> ? (value: V) => void : T;
|
|
200
|
+
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
201
|
+
function __VLS_makeOptional<T>(t: T): {
|
|
202
|
+
[K in keyof T]?: T[K];
|
|
203
|
+
};
|
|
204
|
+
type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? {
|
|
205
|
+
[P in N]: C;
|
|
206
|
+
} : {};
|
|
207
|
+
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
208
|
+
[K in N0]: LocalComponents[N1];
|
|
209
|
+
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
210
|
+
[K in N0]: LocalComponents[N2];
|
|
211
|
+
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
212
|
+
[K in N0]: LocalComponents[N3];
|
|
213
|
+
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
214
|
+
[K in N0]: __VLS_GlobalComponents[N1];
|
|
215
|
+
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
216
|
+
[K in N0]: __VLS_GlobalComponents[N2];
|
|
217
|
+
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
218
|
+
[K in N0]: __VLS_GlobalComponents[N3];
|
|
162
219
|
} : {
|
|
163
|
-
|
|
164
|
-
required: true;
|
|
220
|
+
[K in N0]: unknown;
|
|
165
221
|
};
|
|
166
|
-
|
|
222
|
+
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
|
|
223
|
+
$props: infer Props;
|
|
224
|
+
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
|
|
225
|
+
__ctx?: {
|
|
226
|
+
attrs?: any;
|
|
227
|
+
slots?: K extends {
|
|
228
|
+
$slots: infer Slots;
|
|
229
|
+
} ? Slots : any;
|
|
230
|
+
emit?: K extends {
|
|
231
|
+
$emit: infer Emit;
|
|
232
|
+
} ? Emit : any;
|
|
233
|
+
} & {
|
|
234
|
+
props?: (K extends {
|
|
235
|
+
$props: infer Props;
|
|
236
|
+
} ? Props : any) & Record<string, unknown>;
|
|
237
|
+
expose?(exposed: K): void;
|
|
238
|
+
};
|
|
239
|
+
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
|
|
240
|
+
__ctx?: {
|
|
241
|
+
attrs?: any;
|
|
242
|
+
expose?: any;
|
|
243
|
+
slots?: any;
|
|
244
|
+
emit?: any;
|
|
245
|
+
props?: {} & Record<string, unknown>;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
|
249
|
+
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : [];
|
|
250
|
+
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
251
|
+
__ctx?: infer Ctx;
|
|
252
|
+
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>;
|
|
253
|
+
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
254
|
+
__ctx?: {
|
|
255
|
+
props?: infer P;
|
|
256
|
+
};
|
|
257
|
+
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
|
|
258
|
+
type __VLS_AsFunctionOrAny<F> = unknown extends F ? any : ((...args: any) => any) extends F ? F : any;
|
|
259
|
+
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
260
|
+
/**
|
|
261
|
+
* emit
|
|
262
|
+
*/
|
|
263
|
+
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
264
|
+
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
|
|
265
|
+
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
|
|
266
|
+
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
|
|
267
|
+
[K in E & string]: (...args: A) => void;
|
|
268
|
+
} : never : never;
|
|
269
|
+
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
|
|
270
|
+
[K in keyof T]: T[K] extends any[] ? {
|
|
271
|
+
(...args: T[K]): void;
|
|
272
|
+
} : never;
|
|
273
|
+
}>>;
|
|
274
|
+
type __VLS_PrettifyGlobal<T> = {
|
|
275
|
+
[K in keyof T]: T[K];
|
|
276
|
+
} & {};
|
|
277
|
+
}
|
|
278
|
+
export declare const __VLS_globalTypesEnd: {};
|
|
167
279
|
type __VLS_WithDefaults<P, D> = {
|
|
168
280
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
169
281
|
default: D[K];
|
|
@@ -177,3 +289,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
177
289
|
$slots: S;
|
|
178
290
|
};
|
|
179
291
|
};
|
|
292
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
293
|
+
type __VLS_TypePropsToOption<T> = {
|
|
294
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
295
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
296
|
+
} : {
|
|
297
|
+
type: import('vue').PropType<T[K]>;
|
|
298
|
+
required: true;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FboOptions } from '.';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<FboOptions>, {
|
|
4
4
|
depth: boolean;
|
|
5
5
|
settings: undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
instance: import('vue').Ref<import('three').WebGLRenderTarget<import('three').Texture> | null>;
|
|
8
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
8
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<FboOptions>, {
|
|
9
9
|
depth: boolean;
|
|
10
10
|
settings: undefined;
|
|
11
11
|
}>>>, {
|
|
@@ -13,15 +13,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
depth: boolean;
|
|
14
14
|
}, {}>;
|
|
15
15
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
16
|
type __VLS_WithDefaults<P, D> = {
|
|
26
17
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
18
|
default: D[K];
|
|
@@ -30,3 +21,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
30
21
|
type __VLS_Prettify<T> = {
|
|
31
22
|
[K in keyof T]: T[K];
|
|
32
23
|
} & {};
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -3,13 +3,18 @@ import { useSurfaceSamplerProps } from '.';
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<useSurfaceSamplerProps>, {
|
|
7
7
|
samplerRef: import('vue').Ref<any>;
|
|
8
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
8
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<useSurfaceSamplerProps>>>, {}, {}>;
|
|
9
9
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
10
|
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
11
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
19
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
20
|
} : {
|
|
@@ -17,8 +22,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
17
22
|
required: true;
|
|
18
23
|
};
|
|
19
24
|
};
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -98,9 +98,9 @@ export declare const useSurfaceSampler: (mesh: Mesh, count?: number, instanceMes
|
|
|
98
98
|
(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number | undefined;
|
|
99
99
|
};
|
|
100
100
|
findLastIndex: (predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any) => number;
|
|
101
|
-
toReversed: () =>
|
|
102
|
-
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) =>
|
|
103
|
-
with: (index: number, value: number) =>
|
|
101
|
+
toReversed: () => Int8Array;
|
|
102
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Int8Array;
|
|
103
|
+
with: (index: number, value: number) => Int8Array;
|
|
104
104
|
[Symbol.iterator]: () => IterableIterator<number>;
|
|
105
105
|
readonly [Symbol.toStringTag]: "Int8Array";
|
|
106
106
|
} | {
|