@tresjs/cientos 4.0.0-next.1 → 4.0.0-rc.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.
Files changed (60) hide show
  1. package/dist/core/abstractions/AnimatedSprite/Atlas.d.ts +1 -1
  2. package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +15 -15
  3. package/dist/core/abstractions/Lensflare/component.vue.d.ts +12 -12
  4. package/dist/core/abstractions/Levioso.vue.d.ts +11 -11
  5. package/dist/core/abstractions/MouseParallax.vue.d.ts +11 -11
  6. package/dist/core/abstractions/PositionalAudio.vue.d.ts +13 -13
  7. package/dist/core/abstractions/Reflector.vue.d.ts +11 -11
  8. package/dist/core/abstractions/Text3D.vue.d.ts +132 -11
  9. package/dist/core/abstractions/useFBO/component.vue.d.ts +14 -11
  10. package/dist/core/abstractions/useFBO/index.d.ts +8 -0
  11. package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +8 -8
  12. package/dist/core/abstractions/useSurfaceSampler/index.d.ts +3 -3
  13. package/dist/core/controls/CameraControls.vue.d.ts +22 -22
  14. package/dist/core/controls/KeyboardControls.vue.d.ts +11 -11
  15. package/dist/core/controls/MapControls.vue.d.ts +21 -21
  16. package/dist/core/controls/OrbitControls.vue.d.ts +25 -25
  17. package/dist/core/controls/PointerLockControls.vue.d.ts +11 -11
  18. package/dist/core/controls/ScrollControls.vue.d.ts +11 -11
  19. package/dist/core/controls/TransformControls.vue.d.ts +11 -11
  20. package/dist/core/loaders/SVG/component.vue.d.ts +11 -11
  21. package/dist/core/loaders/useFBX/component.vue.d.ts +11 -11
  22. package/dist/core/loaders/useGLTF/component.vue.d.ts +11 -11
  23. package/dist/core/materials/customShaderMaterial/index.vue.d.ts +3 -3
  24. package/dist/core/materials/holographicMaterial/index.vue.d.ts +11 -11
  25. package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +11 -11
  26. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +11 -11
  27. package/dist/core/misc/html/HTML.vue.d.ts +11 -11
  28. package/dist/core/shapes/Box.vue.d.ts +11 -11
  29. package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +11 -11
  30. package/dist/core/shapes/Circle.vue.d.ts +11 -11
  31. package/dist/core/shapes/Cone.vue.d.ts +11 -11
  32. package/dist/core/shapes/Cylinder.vue.d.ts +11 -11
  33. package/dist/core/shapes/Dodecahedron.vue.d.ts +11 -11
  34. package/dist/core/shapes/Icosahedron.vue.d.ts +11 -11
  35. package/dist/core/shapes/Line2.vue.d.ts +11 -11
  36. package/dist/core/shapes/Octahedron.vue.d.ts +11 -11
  37. package/dist/core/shapes/Plane.vue.d.ts +11 -11
  38. package/dist/core/shapes/Ring.vue.d.ts +11 -11
  39. package/dist/core/shapes/RoundedBox.vue.d.ts +11 -11
  40. package/dist/core/shapes/Sphere.vue.d.ts +11 -11
  41. package/dist/core/shapes/Superformula.vue.d.ts +11 -11
  42. package/dist/core/shapes/Tetrahedron.vue.d.ts +11 -11
  43. package/dist/core/shapes/Torus.vue.d.ts +11 -11
  44. package/dist/core/shapes/TorusKnot.vue.d.ts +11 -11
  45. package/dist/core/shapes/Tube.vue.d.ts +11 -11
  46. package/dist/core/staging/Backdrop.vue.d.ts +11 -11
  47. package/dist/core/staging/ContactShadows.vue.d.ts +57 -62
  48. package/dist/core/staging/Fit.vue.d.ts +17 -12
  49. package/dist/core/staging/Ocean.vue.d.ts +14 -14
  50. package/dist/core/staging/Precipitation.vue.d.ts +18 -18
  51. package/dist/core/staging/Sky.vue.d.ts +11 -11
  52. package/dist/core/staging/Smoke.vue.d.ts +13 -13
  53. package/dist/core/staging/Sparkles/component.vue.d.ts +17 -17
  54. package/dist/core/staging/Stars.vue.d.ts +15 -15
  55. package/dist/core/staging/useEnvironment/component.vue.d.ts +15 -15
  56. package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +11 -11
  57. package/dist/trescientos.js +4816 -4744
  58. package/dist/trescientos.umd.cjs +64 -64
  59. package/package.json +10 -10
  60. package/dist/composables/useOnDemandInvalidation.d.ts +0 -3
@@ -68,7 +68,7 @@ export interface MeshReflectionMaterialProps {
68
68
  flatShading?: boolean;
69
69
  fog?: boolean;
70
70
  }
71
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MeshReflectionMaterialProps>, {
71
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MeshReflectionMaterialProps>, {
72
72
  resolution: number;
73
73
  mix: number;
74
74
  sharpMix: number;
@@ -108,7 +108,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
108
108
  fog: boolean;
109
109
  }>, {
110
110
  instance: import('vue').ShallowRef<any>;
111
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MeshReflectionMaterialProps>, {
111
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MeshReflectionMaterialProps>, {
112
112
  resolution: number;
113
113
  mix: number;
114
114
  sharpMix: number;
@@ -186,15 +186,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
186
186
  flatShading: boolean;
187
187
  }, {}>;
188
188
  export default _default;
189
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
190
- type __VLS_TypePropsToRuntimeProps<T> = {
191
- [K in keyof T]-?: {} extends Pick<T, K> ? {
192
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
193
- } : {
194
- type: import('vue').PropType<T[K]>;
195
- required: true;
196
- };
197
- };
198
189
  type __VLS_WithDefaults<P, D> = {
199
190
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
200
191
  default: D[K];
@@ -203,3 +194,12 @@ type __VLS_WithDefaults<P, D> = {
203
194
  type __VLS_Prettify<T> = {
204
195
  [K in keyof T]: T[K];
205
196
  } & {};
197
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
198
+ type __VLS_TypePropsToOption<T> = {
199
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
200
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
201
+ } : {
202
+ type: import('vue').PropType<T[K]>;
203
+ required: true;
204
+ };
205
+ };
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
2
  speed?: number;
3
3
  factor?: number;
4
4
  }>, {
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
6
6
  factor: number;
7
7
  }>, {
8
8
  instance: import('vue').ShallowRef<any>;
9
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
10
  speed?: number;
11
11
  factor?: number;
12
12
  }>, {
@@ -17,15 +17,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  factor: number;
18
18
  }, {}>;
19
19
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
20
  type __VLS_WithDefaults<P, D> = {
30
21
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
22
  default: D[K];
@@ -34,3 +25,12 @@ type __VLS_WithDefaults<P, D> = {
34
25
  type __VLS_Prettify<T> = {
35
26
  [K in keyof T]: T[K];
36
27
  } & {};
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToOption<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -21,7 +21,7 @@ export interface HTMLProps {
21
21
  }
22
22
  type PointerEventsProperties = 'auto' | 'none' | 'visiblePainted' | 'visibleFill' | 'visibleStroke' | 'visible' | 'painted' | 'fill' | 'stroke' | 'all' | 'inherit';
23
23
  declare function __VLS_template(): Readonly<Record<string, any>> & Record<string, any>;
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HTMLProps>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<HTMLProps>, {
25
25
  geometry: PlaneGeometry;
26
26
  zIndexRange: () => number[];
27
27
  as: string;
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
33
33
  instance: Ref<TresObject3D | undefined>;
34
34
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
35
  onOcclude: (...args: any[]) => void;
36
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HTMLProps>, {
36
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<HTMLProps>, {
37
37
  geometry: PlaneGeometry;
38
38
  zIndexRange: () => number[];
39
39
  as: string;
@@ -54,15 +54,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
54
54
  }, {}>;
55
55
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
56
56
  export default _default;
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToRuntimeProps<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
66
57
  type __VLS_WithDefaults<P, D> = {
67
58
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
59
  default: D[K];
@@ -76,3 +67,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
76
67
  $slots: S;
77
68
  };
78
69
  };
70
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
71
+ type __VLS_TypePropsToOption<T> = {
72
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
73
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
74
+ } : {
75
+ type: import('vue').PropType<T[K]>;
76
+ required: true;
77
+ };
78
+ };
@@ -23,12 +23,12 @@ export interface BoxProps {
23
23
  declare function __VLS_template(): {
24
24
  default?(_: {}): any;
25
25
  };
26
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxProps>, {
26
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
27
27
  args: () => number[];
28
28
  color: string;
29
29
  }>, {
30
30
  instance: import('vue').ShallowRef<any>;
31
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxProps>, {
31
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
32
32
  args: () => number[];
33
33
  color: string;
34
34
  }>>>, {
@@ -37,15 +37,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
37
37
  }, {}>;
38
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
39
  export default _default;
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToRuntimeProps<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
49
40
  type __VLS_WithDefaults<P, D> = {
50
41
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
42
  default: D[K];
@@ -59,3 +50,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
59
50
  $slots: S;
60
51
  };
61
52
  };
53
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ type __VLS_TypePropsToOption<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
+ };
@@ -20,14 +20,14 @@ interface CatmullRomCurve3Props {
20
20
  gapSize?: number;
21
21
  worldUnits?: boolean;
22
22
  }
23
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CatmullRomCurve3Props>, {
23
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CatmullRomCurve3Props>, {
24
24
  segments: number;
25
25
  closed: boolean;
26
26
  curveType: string;
27
27
  tension: number;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CatmullRomCurve3Props>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CatmullRomCurve3Props>, {
31
31
  segments: number;
32
32
  closed: boolean;
33
33
  curveType: string;
@@ -39,15 +39,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
39
39
  tension: number;
40
40
  }, {}>;
41
41
  export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
51
42
  type __VLS_WithDefaults<P, D> = {
52
43
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
44
  default: D[K];
@@ -56,3 +47,12 @@ type __VLS_WithDefaults<P, D> = {
56
47
  type __VLS_Prettify<T> = {
57
48
  [K in keyof T]: T[K];
58
49
  } & {};
50
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
+ type __VLS_TypePropsToOption<T> = {
52
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
53
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
+ } : {
55
+ type: import('vue').PropType<T[K]>;
56
+ required: true;
57
+ };
58
+ };
@@ -22,12 +22,12 @@ export interface CircleProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CircleProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CircleProps>, {
26
26
  args: () => number[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CircleProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CircleProps>, {
31
31
  args: () => number[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -22,12 +22,12 @@ export interface ConeProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ConeProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ConeProps>, {
26
26
  args: () => (number | boolean)[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ConeProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ConeProps>, {
31
31
  args: () => (number | boolean)[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -22,12 +22,12 @@ export interface CylinderProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CylinderProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CylinderProps>, {
26
26
  args: () => (number | boolean)[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CylinderProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CylinderProps>, {
31
31
  args: () => (number | boolean)[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -22,12 +22,12 @@ export interface DodecahedronProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DodecahedronProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DodecahedronProps>, {
26
26
  args: () => number[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DodecahedronProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DodecahedronProps>, {
31
31
  args: () => number[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -22,12 +22,12 @@ export interface IcosahedronProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IcosahedronProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IcosahedronProps>, {
26
26
  args: () => number[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IcosahedronProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IcosahedronProps>, {
31
31
  args: () => number[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -16,7 +16,7 @@ export interface LineProps {
16
16
  dashScale?: number;
17
17
  dashOffset?: number;
18
18
  }
19
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LineProps>, {
19
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LineProps>, {
20
20
  vertexColors: null;
21
21
  color: string;
22
22
  lineWidth: number;
@@ -29,7 +29,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
29
29
  dashOffset: number;
30
30
  }>, {
31
31
  instance: import('vue').ShallowRef<any>;
32
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LineProps>, {
32
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LineProps>, {
33
33
  vertexColors: null;
34
34
  color: string;
35
35
  lineWidth: number;
@@ -53,15 +53,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
53
53
  dashOffset: number;
54
54
  }, {}>;
55
55
  export default _default;
56
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
- type __VLS_TypePropsToRuntimeProps<T> = {
58
- [K in keyof T]-?: {} extends Pick<T, K> ? {
59
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
60
- } : {
61
- type: import('vue').PropType<T[K]>;
62
- required: true;
63
- };
64
- };
65
56
  type __VLS_WithDefaults<P, D> = {
66
57
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
58
  default: D[K];
@@ -70,3 +61,12 @@ type __VLS_WithDefaults<P, D> = {
70
61
  type __VLS_Prettify<T> = {
71
62
  [K in keyof T]: T[K];
72
63
  } & {};
64
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
65
+ type __VLS_TypePropsToOption<T> = {
66
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
67
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
68
+ } : {
69
+ type: import('vue').PropType<T[K]>;
70
+ required: true;
71
+ };
72
+ };
@@ -22,12 +22,12 @@ export interface OctahedronProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OctahedronProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OctahedronProps>, {
26
26
  args: () => number[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OctahedronProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OctahedronProps>, {
31
31
  args: () => number[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -22,12 +22,12 @@ export interface PlaneProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlaneProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PlaneProps>, {
26
26
  args: () => number[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlaneProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PlaneProps>, {
31
31
  args: () => number[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };
@@ -22,12 +22,12 @@ export interface RingProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RingProps>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RingProps>, {
26
26
  args: () => number[];
27
27
  color: string;
28
28
  }>, {
29
29
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RingProps>, {
30
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RingProps>, {
31
31
  args: () => number[];
32
32
  color: string;
33
33
  }>>>, {
@@ -36,15 +36,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
36
36
  }, {}>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
38
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
39
  type __VLS_WithDefaults<P, D> = {
49
40
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
41
  default: D[K];
@@ -58,3 +49,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
49
  $slots: S;
59
50
  };
60
51
  };
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToOption<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
+ };