@vizij/render 0.0.3 → 0.0.4
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/index.d.mts +2 -10
- package/dist/index.d.ts +2 -10
- package/dist/index.js +231 -425
- package/dist/index.mjs +96 -291
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import { ComponentProps, ReactNode, RefObject } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Canvas, ThreeEvent } from '@react-three/fiber';
|
|
5
5
|
import * as zustand from 'zustand';
|
|
6
6
|
import * as THREE from 'three';
|
|
7
7
|
import { Mesh, Group as Group$1, BufferGeometry, ShapeGeometry, AnimationClip, Object3D } from 'three';
|
|
8
8
|
import { RawValue, AnimatableValue, RawVector2 } from '@vizij/utils';
|
|
9
9
|
|
|
10
|
-
declare function InnerController({ animatableId, namespace, subfield, className, }: {
|
|
11
|
-
animatableId: string;
|
|
12
|
-
namespace?: string;
|
|
13
|
-
subfield?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}): react_jsx_runtime.JSX.Element | undefined;
|
|
16
|
-
declare const Controller: react.MemoExoticComponent<typeof InnerController>;
|
|
17
|
-
|
|
18
10
|
interface VizijProps {
|
|
19
11
|
style?: React.CSSProperties;
|
|
20
12
|
className?: string;
|
|
@@ -563,4 +555,4 @@ declare function exportScene(data: Group$1, fileNameOrOptions?: string | ExportS
|
|
|
563
555
|
declare function extractVizijBundle(object: Object3D, parserJson?: unknown): VizijBundleExtension | null;
|
|
564
556
|
declare function applyVizijBundle(object: Object3D, bundle: VizijBundleExtension | null): () => void;
|
|
565
557
|
|
|
566
|
-
export { type AnimatedFeature,
|
|
558
|
+
export { type AnimatedFeature, type Ellipse, type EllipseFeature, EmptyModelError, type ExportSceneOptions, type Feature, type Group, type GroupFeature, InnerVizij, type InnerVizijProps, type LoadedVizijAsset, type Rectangle, type RectangleFeature, type RenderableBase, type RenderableFeature, type Selection, type Shape, type ShapeFeature, ShapeMaterial, type StaticFeature, type Stored, type StoredAnimatedFeature, type StoredEllipse, type StoredFeatures, type StoredGroup, type StoredRectangle, type StoredRenderable, type StoredShape, Vizij, type VizijActions, type VizijAnimationId, type VizijBundleAnimationClip, type VizijBundleAnimationEntry, type VizijBundleAnimationKeyframe, type VizijBundleAnimationTrack, type VizijBundleExtension, type VizijBundleGraphEntry, type VizijBundleGraphKind, type VizijBundleGraphMetadata, type VizijBundlePoseSection, type VizijBundleVersion, VizijContext, type VizijData, type VizijGraphId, type VizijPoseDefinition, type VizijPoseId, type VizijPoseRigConfig, type VizijProps, VizijSlice, type VizijStore, type VizijStoreGetter, type VizijStoreSetter, type World, applyVizijBundle, createVizijStore, exportScene, extractVizijBundle, loadGLTF, loadGLTFFromBlob, loadGLTFFromBlobWithBundle, loadGLTFWithBundle, loadGltfFromBlob, useDefaultVizijStore, useFeatures, useVizijStore, useVizijStoreGetter, useVizijStoreSetter, useVizijStoreSubscription };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import { ComponentProps, ReactNode, RefObject } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Canvas, ThreeEvent } from '@react-three/fiber';
|
|
5
5
|
import * as zustand from 'zustand';
|
|
6
6
|
import * as THREE from 'three';
|
|
7
7
|
import { Mesh, Group as Group$1, BufferGeometry, ShapeGeometry, AnimationClip, Object3D } from 'three';
|
|
8
8
|
import { RawValue, AnimatableValue, RawVector2 } from '@vizij/utils';
|
|
9
9
|
|
|
10
|
-
declare function InnerController({ animatableId, namespace, subfield, className, }: {
|
|
11
|
-
animatableId: string;
|
|
12
|
-
namespace?: string;
|
|
13
|
-
subfield?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}): react_jsx_runtime.JSX.Element | undefined;
|
|
16
|
-
declare const Controller: react.MemoExoticComponent<typeof InnerController>;
|
|
17
|
-
|
|
18
10
|
interface VizijProps {
|
|
19
11
|
style?: React.CSSProperties;
|
|
20
12
|
className?: string;
|
|
@@ -563,4 +555,4 @@ declare function exportScene(data: Group$1, fileNameOrOptions?: string | ExportS
|
|
|
563
555
|
declare function extractVizijBundle(object: Object3D, parserJson?: unknown): VizijBundleExtension | null;
|
|
564
556
|
declare function applyVizijBundle(object: Object3D, bundle: VizijBundleExtension | null): () => void;
|
|
565
557
|
|
|
566
|
-
export { type AnimatedFeature,
|
|
558
|
+
export { type AnimatedFeature, type Ellipse, type EllipseFeature, EmptyModelError, type ExportSceneOptions, type Feature, type Group, type GroupFeature, InnerVizij, type InnerVizijProps, type LoadedVizijAsset, type Rectangle, type RectangleFeature, type RenderableBase, type RenderableFeature, type Selection, type Shape, type ShapeFeature, ShapeMaterial, type StaticFeature, type Stored, type StoredAnimatedFeature, type StoredEllipse, type StoredFeatures, type StoredGroup, type StoredRectangle, type StoredRenderable, type StoredShape, Vizij, type VizijActions, type VizijAnimationId, type VizijBundleAnimationClip, type VizijBundleAnimationEntry, type VizijBundleAnimationKeyframe, type VizijBundleAnimationTrack, type VizijBundleExtension, type VizijBundleGraphEntry, type VizijBundleGraphKind, type VizijBundleGraphMetadata, type VizijBundlePoseSection, type VizijBundleVersion, VizijContext, type VizijData, type VizijGraphId, type VizijPoseDefinition, type VizijPoseId, type VizijPoseRigConfig, type VizijProps, VizijSlice, type VizijStore, type VizijStoreGetter, type VizijStoreSetter, type World, applyVizijBundle, createVizijStore, exportScene, extractVizijBundle, loadGLTF, loadGLTFFromBlob, loadGLTFFromBlobWithBundle, loadGLTFWithBundle, loadGltfFromBlob, useDefaultVizijStore, useFeatures, useVizijStore, useVizijStoreGetter, useVizijStoreSetter, useVizijStoreSubscription };
|