@avs/go-react 0.13.71756 → 0.13.71765

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.
@@ -1,3 +1,6 @@
1
+ import {
2
+ PolymerElement
3
+ } from "./chunk-BSA4YZO6.js";
1
4
  import {
2
5
  Class,
3
6
  CustomStyleInterface,
@@ -15,10 +18,6 @@ import {
15
18
  nativeShadow,
16
19
  updateNativeProperties
17
20
  } from "./chunk-BHAOVVTR.js";
18
- import "./chunk-QQPVW2K2.js";
19
- import {
20
- PolymerElement
21
- } from "./chunk-BSA4YZO6.js";
22
21
  import {
23
22
  ElementMixin,
24
23
  PropertyEffects,
@@ -39,6 +38,7 @@ import {
39
38
  import {
40
39
  dedupingMixin
41
40
  } from "./chunk-I2HDYNON.js";
41
+ import "./chunk-QQPVW2K2.js";
42
42
  import "./chunk-MXBCLPIN.js";
43
43
  import "./chunk-BUSYA2B4.js";
44
44
 
@@ -2,9 +2,9 @@ import {
2
2
  Class,
3
3
  mixinBehaviors
4
4
  } from "./chunk-BHAOVVTR.js";
5
- import "./chunk-QQPVW2K2.js";
6
5
  import "./chunk-PRUGAEYJ.js";
7
6
  import "./chunk-I2HDYNON.js";
7
+ import "./chunk-QQPVW2K2.js";
8
8
  import "./chunk-MXBCLPIN.js";
9
9
  import "./chunk-BUSYA2B4.js";
10
10
  export {
@@ -1,101 +1,101 @@
1
1
  {
2
- "hash": "9655bdd0",
2
+ "hash": "c1f9dd88",
3
3
  "configHash": "f1217b0f",
4
- "lockfileHash": "2e777a7e",
5
- "browserHash": "a93d0bfe",
4
+ "lockfileHash": "459c6f83",
5
+ "browserHash": "9d5df3d9",
6
6
  "optimized": {
7
7
  "react": {
8
8
  "src": "../../../../../../node_modules/react/index.js",
9
9
  "file": "react.js",
10
- "fileHash": "cbda1220",
10
+ "fileHash": "a9765d7c",
11
11
  "needsInterop": true
12
12
  },
13
13
  "react-dom": {
14
14
  "src": "../../../../../../node_modules/react-dom/index.js",
15
15
  "file": "react-dom.js",
16
- "fileHash": "131e2108",
16
+ "fileHash": "fdf51716",
17
17
  "needsInterop": true
18
18
  },
19
19
  "react/jsx-dev-runtime": {
20
20
  "src": "../../../../../../node_modules/react/jsx-dev-runtime.js",
21
21
  "file": "react_jsx-dev-runtime.js",
22
- "fileHash": "75d33b4c",
22
+ "fileHash": "1e822282",
23
23
  "needsInterop": true
24
24
  },
25
25
  "react/jsx-runtime": {
26
26
  "src": "../../../../../../node_modules/react/jsx-runtime.js",
27
27
  "file": "react_jsx-runtime.js",
28
- "fileHash": "06888346",
28
+ "fileHash": "58655f39",
29
29
  "needsInterop": true
30
30
  },
31
31
  "@polymer/iron-resizable-behavior/iron-resizable-behavior.js": {
32
32
  "src": "../../../../../../node_modules/@polymer/iron-resizable-behavior/iron-resizable-behavior.js",
33
33
  "file": "@polymer_iron-resizable-behavior_iron-resizable-behavior__js.js",
34
- "fileHash": "7e01d931",
34
+ "fileHash": "3c38a535",
35
35
  "needsInterop": false
36
36
  },
37
37
  "@polymer/polymer/lib/legacy/class.js": {
38
38
  "src": "../../../../../../node_modules/@polymer/polymer/lib/legacy/class.js",
39
39
  "file": "@polymer_polymer_lib_legacy_class__js.js",
40
- "fileHash": "95a26f3a",
40
+ "fileHash": "28f20dd1",
41
41
  "needsInterop": false
42
42
  },
43
43
  "@polymer/polymer/lib/utils/mixin.js": {
44
44
  "src": "../../../../../../node_modules/@polymer/polymer/lib/utils/mixin.js",
45
45
  "file": "@polymer_polymer_lib_utils_mixin__js.js",
46
- "fileHash": "89943a4c",
46
+ "fileHash": "daeffede",
47
47
  "needsInterop": false
48
48
  },
49
49
  "@polymer/polymer/lib/utils/render-status.js": {
50
50
  "src": "../../../../../../node_modules/@polymer/polymer/lib/utils/render-status.js",
51
51
  "file": "@polymer_polymer_lib_utils_render-status__js.js",
52
- "fileHash": "5d3b8dcd",
52
+ "fileHash": "9c8f75f1",
53
53
  "needsInterop": false
54
54
  },
55
55
  "@polymer/polymer/polymer-element.js": {
56
56
  "src": "../../../../../../node_modules/@polymer/polymer/polymer-element.js",
57
57
  "file": "@polymer_polymer_polymer-element__js.js",
58
- "fileHash": "34ad9e7a",
58
+ "fileHash": "b17c3fa2",
59
59
  "needsInterop": false
60
60
  },
61
61
  "react-dom/client": {
62
62
  "src": "../../../../../../node_modules/react-dom/client.js",
63
63
  "file": "react-dom_client.js",
64
- "fileHash": "77621582",
64
+ "fileHash": "cbb9cc2b",
65
65
  "needsInterop": true
66
66
  },
67
67
  "three": {
68
68
  "src": "../../../../../../node_modules/three/build/three.module.js",
69
69
  "file": "three.js",
70
- "fileHash": "484cc2aa",
70
+ "fileHash": "5123e06f",
71
71
  "needsInterop": false
72
72
  }
73
73
  },
74
74
  "chunks": {
75
- "chunk-BHAOVVTR": {
76
- "file": "chunk-BHAOVVTR.js"
75
+ "chunk-6HI7N2AN": {
76
+ "file": "chunk-6HI7N2AN.js"
77
77
  },
78
- "chunk-QQPVW2K2": {
79
- "file": "chunk-QQPVW2K2.js"
78
+ "chunk-CWUEONQP": {
79
+ "file": "chunk-CWUEONQP.js"
80
80
  },
81
81
  "chunk-BSA4YZO6": {
82
82
  "file": "chunk-BSA4YZO6.js"
83
83
  },
84
+ "chunk-BHAOVVTR": {
85
+ "file": "chunk-BHAOVVTR.js"
86
+ },
84
87
  "chunk-PRUGAEYJ": {
85
88
  "file": "chunk-PRUGAEYJ.js"
86
89
  },
87
90
  "chunk-I2HDYNON": {
88
91
  "file": "chunk-I2HDYNON.js"
89
92
  },
93
+ "chunk-QQPVW2K2": {
94
+ "file": "chunk-QQPVW2K2.js"
95
+ },
90
96
  "chunk-MXBCLPIN": {
91
97
  "file": "chunk-MXBCLPIN.js"
92
98
  },
93
- "chunk-6HI7N2AN": {
94
- "file": "chunk-6HI7N2AN.js"
95
- },
96
- "chunk-CWUEONQP": {
97
- "file": "chunk-CWUEONQP.js"
98
- },
99
99
  "chunk-BUSYA2B4": {
100
100
  "file": "chunk-BUSYA2B4.js"
101
101
  }
package/demo/package.json CHANGED
@@ -10,6 +10,6 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "@avs/go-react": "^0.12.0"
13
+ "@avs/go-react": "^0.13.0"
14
14
  }
15
15
  }
package/demo/src/App.tsx CHANGED
@@ -3,11 +3,14 @@ import { AvsGoDataViz } from '@avs/go-react/src/AvsGoDataViz';
3
3
 
4
4
  function App() {
5
5
  return (
6
- <div style={{width: '100vw', height: '100vh'}}>
6
+ <div style={{
7
+ width: '100vw', height: '100vh', backgroundColor: 'black', color: 'yellow'}}>
7
8
  <AvsGoDataViz
8
- url='hydrogen.json'
9
- urlLoadJsonFile
9
+ url='http://localhost:8080/OpenVizAppServer/chart'
10
+ xurlLoadJsonFile
11
+ sceneName="contour3dConstraint"
10
12
  renderer='THREEJS'
13
+ animationControlsEnable
11
14
  transformEnable
12
15
  />
13
16
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avs/go-react",
3
- "version": "0.13.71756",
3
+ "version": "0.13.71765",
4
4
  "description": "React wrapper for AVS/Go web components",
5
5
  "keywords": [
6
6
  "visualization",
@@ -11,7 +11,7 @@
11
11
  "author": "Advanced Visual Systems Inc.",
12
12
  "license": "Apache-2.0",
13
13
  "dependencies": {
14
- "@avs/go": "0.13.71745",
14
+ "@avs/go": "^0.13.71764",
15
15
  "react": "^19.2.0",
16
16
  "react-dom": "^19.2.0"
17
17
  },
@@ -74,7 +74,7 @@ export const AvsGoDataViz = forwardRef(({
74
74
  transformTwistAngle,
75
75
  transformTiltAngle,
76
76
  transformScale,
77
- transformAnimation,
77
+ motionCapture,
78
78
  zoomRectangleEnable,
79
79
  panEnable,
80
80
  panZoomEnable,
@@ -83,11 +83,10 @@ export const AvsGoDataViz = forwardRef(({
83
83
  panMaximumZoomLevel,
84
84
  animatedGlyphsVisible,
85
85
  animatedGlyphsEnable,
86
- animationControlsEnable,
86
+ motionCaptureControlsEnable,
87
87
  onSceneInfo,
88
88
  onLoadComplete,
89
89
  onPanInfo,
90
- onTransformAnimationShare,
91
90
  onError
92
91
  }, ref) => {
93
92
 
@@ -134,12 +133,6 @@ export const AvsGoDataViz = forwardRef(({
134
133
  }
135
134
  }
136
135
 
137
- function handleTransformAnimationShare(e) {
138
- if (onTransformAnimationShare) {
139
- onTransformAnimationShare(e);
140
- }
141
- }
142
-
143
136
  function handleError(e) {
144
137
  if (onError) {
145
138
  onError(e);
@@ -152,7 +145,6 @@ export const AvsGoDataViz = forwardRef(({
152
145
  dataVizRef.current.addEventListener('avs-scene-info', handleSceneInfo);
153
146
  dataVizRef.current.addEventListener('avs-load-complete', handleLoadComplete);
154
147
  dataVizRef.current.addEventListener('avs-pan-info', handlePanInfo);
155
- dataVizRef.current.addEventListener('avs-transform-animation-share', handleTransformAnimationShare);
156
148
  dataVizRef.current.addEventListener('avs-error', handleError);
157
149
 
158
150
  return () => {
@@ -163,7 +155,6 @@ export const AvsGoDataViz = forwardRef(({
163
155
  dataVizRef.current.removeEventListener('avs-scene-info', handleSceneInfo);
164
156
  dataVizRef.current.removeEventListener('avs-load-complete', handleLoadComplete);
165
157
  dataVizRef.current.removeEventListener('avs-pan-info', handlePanInfo);
166
- dataVizRef.current.removeEventListener('avs-transform-animation-share', handleTransformAnimationShare);
167
158
  dataVizRef.current.removeEventListener('avs-error', handleError);
168
159
  }
169
160
  }
@@ -258,7 +249,7 @@ export const AvsGoDataViz = forwardRef(({
258
249
  transform-twist-angle={transformTwistAngle}
259
250
  transform-tilt-angle={transformTiltAngle}
260
251
  transform-scale={transformScale}
261
- transformAnimation={transformAnimation}
252
+ motion-capture={motionCapture}
262
253
  zoom-reactangle-enable={zoomRectangleEnable}
263
254
  pan-enable={panEnable}
264
255
  pan-zoom-enable={panZoomEnable}
@@ -267,7 +258,7 @@ export const AvsGoDataViz = forwardRef(({
267
258
  pan-maximum-zoom-level={panMaximumZoomLevel}
268
259
  animated-glyphs-visible={animatedGlyphsVisible}
269
260
  animated-glyphs-enable={animatedGlyphsEnable}
270
- animation-controls-enable={animationControlsEnable}
261
+ motion-capture-controls-enable={motionCaptureControlsEnable}
271
262
  >
272
263
  {children}
273
264
  </avs-go-dataviz>