@reactvision/react-viro 2.41.6 → 2.43.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/android/react_viro/react_viro-release.aar +0 -0
- package/components/AR/ViroARPlaneSelector.tsx +76 -37
- package/components/AR/ViroARScene.tsx +7 -4
- package/components/AR/ViroARSceneNavigator.tsx +1 -2
- package/components/Utilities/ViroVersion.ts +1 -1
- package/components/Viro3DSceneNavigator.tsx +1 -1
- package/components/ViroCamera.tsx +1 -0
- package/components/ViroOrbitCamera.tsx +1 -0
- package/components/ViroScene.tsx +7 -3
- package/components/ViroSceneContext.tsx +4 -3
- package/components/ViroSceneNavigator.tsx +1 -1
- package/dist/components/AR/ViroARCamera.d.ts +1 -1
- package/dist/components/AR/ViroARCamera.js +17 -7
- package/dist/components/AR/ViroARImageMarker.d.ts +2 -2
- package/dist/components/AR/ViroARImageMarker.js +17 -7
- package/dist/components/AR/ViroARObjectMarker.d.ts +2 -2
- package/dist/components/AR/ViroARObjectMarker.js +17 -7
- package/dist/components/AR/ViroARPlane.d.ts +2 -2
- package/dist/components/AR/ViroARPlane.js +17 -7
- package/dist/components/AR/ViroARPlaneSelector.d.ts +3 -3
- package/dist/components/AR/ViroARPlaneSelector.js +63 -25
- package/dist/components/AR/ViroARScene.d.ts +2 -2
- package/dist/components/AR/ViroARScene.js +17 -7
- package/dist/components/AR/ViroARSceneNavigator.d.ts +2 -2
- package/dist/components/AR/ViroARSceneNavigator.js +17 -9
- package/dist/components/Types/ViroEvents.d.ts +6 -6
- package/dist/components/Types/ViroEvents.js +6 -6
- package/dist/components/Types/ViroUtils.d.ts +0 -1
- package/dist/components/Utilities/ViroProps.js +1 -2
- package/dist/components/Utilities/ViroUtils.js +3 -4
- package/dist/components/Utilities/ViroVersion.d.ts +1 -1
- package/dist/components/Utilities/ViroVersion.js +1 -1
- package/dist/components/Viro360Image.d.ts +1 -1
- package/dist/components/Viro360Image.js +17 -7
- package/dist/components/Viro360Video.d.ts +1 -1
- package/dist/components/Viro360Video.js +17 -7
- package/dist/components/Viro3DObject.d.ts +2 -2
- package/dist/components/Viro3DObject.js +17 -7
- package/dist/components/Viro3DSceneNavigator.d.ts +2 -2
- package/dist/components/Viro3DSceneNavigator.js +17 -7
- package/dist/components/ViroAmbientLight.d.ts +1 -1
- package/dist/components/ViroAmbientLight.js +17 -7
- package/dist/components/ViroAnimatedComponent.d.ts +1 -1
- package/dist/components/ViroAnimatedComponent.js +17 -7
- package/dist/components/ViroAnimatedImage.d.ts +2 -2
- package/dist/components/ViroAnimatedImage.js +17 -7
- package/dist/components/ViroBase.js +17 -7
- package/dist/components/ViroBox.d.ts +2 -2
- package/dist/components/ViroBox.js +17 -7
- package/dist/components/ViroButton.d.ts +1 -1
- package/dist/components/ViroButton.js +18 -8
- package/dist/components/ViroCamera.d.ts +3 -1
- package/dist/components/ViroCamera.js +17 -7
- package/dist/components/ViroConstants.js +3 -3
- package/dist/components/ViroController.d.ts +1 -1
- package/dist/components/ViroController.js +17 -7
- package/dist/components/ViroDirectionalLight.d.ts +1 -1
- package/dist/components/ViroDirectionalLight.js +17 -7
- package/dist/components/ViroFlexView.d.ts +2 -2
- package/dist/components/ViroFlexView.js +17 -7
- package/dist/components/ViroGeometry.d.ts +2 -2
- package/dist/components/ViroGeometry.js +17 -7
- package/dist/components/ViroImage.d.ts +2 -2
- package/dist/components/ViroImage.js +17 -7
- package/dist/components/ViroLightingEnvironment.d.ts +1 -1
- package/dist/components/ViroLightingEnvironment.js +17 -7
- package/dist/components/ViroMaterialVideo.d.ts +1 -1
- package/dist/components/ViroMaterialVideo.js +17 -7
- package/dist/components/ViroNode.d.ts +2 -2
- package/dist/components/ViroNode.js +17 -7
- package/dist/components/ViroOmniLight.d.ts +1 -1
- package/dist/components/ViroOmniLight.js +17 -7
- package/dist/components/ViroOrbitCamera.d.ts +3 -1
- package/dist/components/ViroOrbitCamera.js +17 -7
- package/dist/components/ViroParticleEmitter.d.ts +1 -1
- package/dist/components/ViroParticleEmitter.js +17 -7
- package/dist/components/ViroPolygon.d.ts +2 -2
- package/dist/components/ViroPolygon.js +17 -7
- package/dist/components/ViroPolyline.d.ts +2 -2
- package/dist/components/ViroPolyline.js +17 -7
- package/dist/components/ViroPortal.d.ts +2 -2
- package/dist/components/ViroPortal.js +17 -7
- package/dist/components/ViroPortalScene.d.ts +2 -2
- package/dist/components/ViroPortalScene.js +17 -7
- package/dist/components/ViroQuad.d.ts +2 -2
- package/dist/components/ViroQuad.js +17 -7
- package/dist/components/ViroScene.d.ts +10 -2
- package/dist/components/ViroScene.js +17 -7
- package/dist/components/ViroSceneContext.d.ts +4 -3
- package/dist/components/ViroSceneContext.js +17 -7
- package/dist/components/ViroSceneNavigator.d.ts +2 -2
- package/dist/components/ViroSceneNavigator.js +17 -7
- package/dist/components/ViroSkyBox.d.ts +1 -1
- package/dist/components/ViroSkyBox.js +17 -7
- package/dist/components/ViroSound.d.ts +1 -1
- package/dist/components/ViroSound.js +17 -7
- package/dist/components/ViroSoundField.d.ts +1 -1
- package/dist/components/ViroSoundField.js +17 -7
- package/dist/components/ViroSpatialSound.d.ts +1 -1
- package/dist/components/ViroSpatialSound.js +17 -7
- package/dist/components/ViroSphere.d.ts +2 -2
- package/dist/components/ViroSphere.js +17 -7
- package/dist/components/ViroSpinner.d.ts +2 -2
- package/dist/components/ViroSpinner.js +17 -7
- package/dist/components/ViroSpotLight.d.ts +1 -1
- package/dist/components/ViroSpotLight.js +17 -7
- package/dist/components/ViroSurface.d.ts +2 -2
- package/dist/components/ViroSurface.js +17 -7
- package/dist/components/ViroText.d.ts +2 -2
- package/dist/components/ViroText.js +17 -7
- package/dist/components/ViroVRSceneNavigator.d.ts +2 -2
- package/dist/components/ViroVRSceneNavigator.js +17 -7
- package/dist/components/ViroVideo.d.ts +10 -2
- package/dist/components/ViroVideo.js +17 -7
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -3
- package/dist/plugins/withViroAndroid.js +15 -11
- package/dist/plugins/withViroIos.js +1 -1
- package/index.ts +0 -2
- package/package.json +23 -14
- package/components/Telemetry/ViroTelemetry.ts +0 -93
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
47
|
exports.ViroPolygon = void 0;
|
|
38
48
|
const React = __importStar(require("react"));
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
7
7
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
import * as React from "react";
|
|
10
10
|
import { Viro3DPoint } from "./Types/ViroUtils";
|
|
11
11
|
import { ViroBase } from "./ViroBase";
|
|
12
12
|
type Props = {
|
|
@@ -20,6 +20,6 @@ type Props = {
|
|
|
20
20
|
thickness?: number;
|
|
21
21
|
};
|
|
22
22
|
export declare class ViroPolyline extends ViroBase<Props> {
|
|
23
|
-
render(): JSX.Element;
|
|
23
|
+
render(): React.JSX.Element;
|
|
24
24
|
}
|
|
25
25
|
export {};
|
|
@@ -23,13 +23,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
23
23
|
}) : function(o, v) {
|
|
24
24
|
o["default"] = v;
|
|
25
25
|
});
|
|
26
|
-
var __importStar = (this && this.__importStar) || function (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
26
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
27
|
+
var ownKeys = function(o) {
|
|
28
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
29
|
+
var ar = [];
|
|
30
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
31
|
+
return ar;
|
|
32
|
+
};
|
|
33
|
+
return ownKeys(o);
|
|
34
|
+
};
|
|
35
|
+
return function (mod) {
|
|
36
|
+
if (mod && mod.__esModule) return mod;
|
|
37
|
+
var result = {};
|
|
38
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
39
|
+
__setModuleDefault(result, mod);
|
|
40
|
+
return result;
|
|
41
|
+
};
|
|
42
|
+
})();
|
|
33
43
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
44
|
exports.ViroPolyline = void 0;
|
|
35
45
|
const React = __importStar(require("react"));
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @providesModule ViroPortal
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import * as React from "react";
|
|
12
12
|
import { ViroBase } from "./ViroBase";
|
|
13
13
|
type Props = {};
|
|
14
14
|
/**
|
|
15
15
|
* Frame that serves as a 'window' into a ViroPortal
|
|
16
16
|
*/
|
|
17
17
|
export declare class ViroPortal extends ViroBase<Props> {
|
|
18
|
-
render(): JSX.Element;
|
|
18
|
+
render(): React.JSX.Element;
|
|
19
19
|
}
|
|
20
20
|
export {};
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
46
|
exports.ViroPortal = void 0;
|
|
37
47
|
const React = __importStar(require("react"));
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @providesModule ViroPortalScene
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import * as React from "react";
|
|
12
12
|
import { NativeSyntheticEvent } from "react-native";
|
|
13
13
|
import { ViroCommonProps } from "./AR/ViroCommonProps";
|
|
14
14
|
import { ViroPortalEnterEvent, ViroPortalExitEvent } from "./Types/ViroEvents";
|
|
@@ -24,6 +24,6 @@ type Props = ViroCommonProps & {
|
|
|
24
24
|
export declare class ViroPortalScene extends ViroBase<Props> {
|
|
25
25
|
_onPortalEnter: (event: NativeSyntheticEvent<ViroPortalEnterEvent>) => void;
|
|
26
26
|
_onPortalExit: (event: NativeSyntheticEvent<ViroPortalExitEvent>) => void;
|
|
27
|
-
render(): JSX.Element;
|
|
27
|
+
render(): React.JSX.Element;
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
46
|
exports.ViroPortalScene = void 0;
|
|
37
47
|
const React = __importStar(require("react"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { ViroUVCoordinate } from "./Types/ViroUtils";
|
|
3
3
|
import { ViroBase } from "./ViroBase";
|
|
4
4
|
type Props = {
|
|
@@ -9,6 +9,6 @@ type Props = {
|
|
|
9
9
|
* Used to render a ViroQuad.
|
|
10
10
|
*/
|
|
11
11
|
export declare class ViroQuad extends ViroBase<Props> {
|
|
12
|
-
render(): JSX.Element;
|
|
12
|
+
render(): React.JSX.Element;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
47
|
exports.ViroQuad = void 0;
|
|
38
48
|
const React = __importStar(require("react"));
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2015-present, Viro Media, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the BSD-style license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
|
7
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
|
8
|
+
*/
|
|
9
|
+
import * as React from "react";
|
|
2
10
|
import { NativeSyntheticEvent } from "react-native";
|
|
3
11
|
import { ViroCommonProps } from "./AR/ViroCommonProps";
|
|
4
12
|
import { ViroCameraTransform, ViroCameraTransformEvent, ViroPlatformEvent, ViroPlatformInfo, ViroTrackingReason, ViroTrackingState } from "./Types/ViroEvents";
|
|
@@ -31,6 +39,6 @@ export declare class ViroScene extends ViroBase<Props> {
|
|
|
31
39
|
forward: any[];
|
|
32
40
|
up: any[];
|
|
33
41
|
}>;
|
|
34
|
-
render(): JSX.Element;
|
|
42
|
+
render(): React.JSX.Element;
|
|
35
43
|
}
|
|
36
44
|
export {};
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.ViroScene = void 0;
|
|
27
37
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ViroCamera } from "./ViroCamera";
|
|
3
|
+
import { ViroOrbitCamera } from "./ViroOrbitCamera";
|
|
3
4
|
export declare const ViroSceneContext: React.Context<{
|
|
4
|
-
cameraDidMount: (camera: ViroCamera) => void;
|
|
5
|
-
cameraWillUnmount: (camera: ViroCamera) => void;
|
|
6
|
-
cameraDidUpdate: (camera: ViroCamera, active: boolean) => void;
|
|
5
|
+
cameraDidMount: (camera: ViroCamera | ViroOrbitCamera) => void;
|
|
6
|
+
cameraWillUnmount: (camera: ViroCamera | ViroOrbitCamera) => void;
|
|
7
|
+
cameraDidUpdate: (camera: ViroCamera | ViroOrbitCamera, active: boolean) => void;
|
|
7
8
|
}>;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.ViroSceneContext = void 0;
|
|
27
37
|
const React = __importStar(require("react"));
|
|
@@ -137,7 +137,7 @@ export declare class ViroSceneNavigator extends React.Component<Props, State> {
|
|
|
137
137
|
_project(point: Viro3DPoint): Promise<any>;
|
|
138
138
|
_unproject(point: Viro3DPoint): Promise<any>;
|
|
139
139
|
_recenterTracking(): void;
|
|
140
|
-
_renderSceneStackItems(): JSX.Element[];
|
|
141
|
-
render(): JSX.Element;
|
|
140
|
+
_renderSceneStackItems(): React.JSX.Element[];
|
|
141
|
+
render(): React.JSX.Element;
|
|
142
142
|
}
|
|
143
143
|
export {};
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
47
|
exports.ViroSceneNavigator = void 0;
|
|
38
48
|
const React = __importStar(require("react"));
|
|
@@ -18,6 +18,6 @@ export declare class ViroSkyBox extends React.Component<Props> {
|
|
|
18
18
|
_onLoadStart: (event: NativeSyntheticEvent<ViroLoadStartEvent>) => void;
|
|
19
19
|
_onLoadEnd: (event: NativeSyntheticEvent<ViroLoadEndEvent>) => void;
|
|
20
20
|
setNativeProps: (nativeProps: Props) => void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
|
@@ -21,7 +21,7 @@ export declare class ViroSound extends React.Component<Props> {
|
|
|
21
21
|
_onFinish: (event: NativeSyntheticEvent<ViroSoundFinishEvent>) => void;
|
|
22
22
|
_onError: (event: NativeSyntheticEvent<ViroErrorEvent>) => void;
|
|
23
23
|
setNativeProps: (nativeProps: Props) => void;
|
|
24
|
-
render(): JSX.Element;
|
|
24
|
+
render(): React.JSX.Element;
|
|
25
25
|
seekToTime: (timeInSeconds: number) => void;
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
|
@@ -17,7 +17,7 @@ export declare class ViroSoundField extends React.Component<Props> {
|
|
|
17
17
|
_onFinish: (event: NativeSyntheticEvent<ViroSoundFinishEvent>) => void;
|
|
18
18
|
_onError: (event: NativeSyntheticEvent<ViroErrorEvent>) => void;
|
|
19
19
|
setNativeProps: (nativeProps: Props) => void;
|
|
20
|
-
render(): JSX.Element;
|
|
20
|
+
render(): React.JSX.Element;
|
|
21
21
|
seekToTime: (timeInSeconds: number) => void;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
|
@@ -20,7 +20,7 @@ export declare class ViroSpatialSound extends React.Component<Props> {
|
|
|
20
20
|
_onFinish: (event: NativeSyntheticEvent<ViroSoundFinishEvent>) => void;
|
|
21
21
|
_onError: (event: NativeSyntheticEvent<ViroErrorEvent>) => void;
|
|
22
22
|
setNativeProps: (nativeProps: Props) => void;
|
|
23
|
-
render(): JSX.Element;
|
|
23
|
+
render(): React.JSX.Element;
|
|
24
24
|
getTransformAsync: () => Promise<any>;
|
|
25
25
|
getBoundingBoxAsync: () => Promise<any>;
|
|
26
26
|
seekToTime: (timeInSeconds: number) => void;
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @providesModule ViroSphere
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import * as React from "react";
|
|
12
12
|
import { ViroBase } from "./ViroBase";
|
|
13
13
|
type Props = {
|
|
14
14
|
widthSegmentCount?: number;
|
|
@@ -20,6 +20,6 @@ type Props = {
|
|
|
20
20
|
* Used to render a ViroSphere
|
|
21
21
|
*/
|
|
22
22
|
export declare class ViroSphere extends ViroBase<Props> {
|
|
23
|
-
render(): JSX.Element;
|
|
23
|
+
render(): React.JSX.Element;
|
|
24
24
|
}
|
|
25
25
|
export {};
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
46
|
exports.ViroSphere = void 0;
|
|
37
47
|
const React = __importStar(require("react"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { ViroBase } from "./ViroBase";
|
|
3
3
|
type Props = {
|
|
4
4
|
type?: "Dark" | "Light" | "dark" | "light";
|
|
@@ -7,7 +7,7 @@ type Props = {
|
|
|
7
7
|
* Composite control for a 2D Spinner
|
|
8
8
|
*/
|
|
9
9
|
export declare class ViroSpinner extends ViroBase<Props> {
|
|
10
|
-
render(): JSX.Element;
|
|
10
|
+
render(): React.JSX.Element;
|
|
11
11
|
_getImage1(): any;
|
|
12
12
|
_getImage1a(): any;
|
|
13
13
|
}
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
47
|
exports.ViroSpinner = void 0;
|
|
38
48
|
const React = __importStar(require("react"));
|