@avs/go 0.14.72000 → 0.14.72017

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 (43) hide show
  1. package/LICENSE +195 -0
  2. package/NOTICE +5 -0
  3. package/README.md +3 -3
  4. package/dist/avs-element-mixin.d.ts +28 -0
  5. package/dist/avs-element-mixin.d.ts.map +1 -0
  6. package/dist/avs-element-mixin.js +108 -0
  7. package/dist/avs-go-dataviz.d.ts +458 -0
  8. package/dist/avs-go-dataviz.d.ts.map +1 -0
  9. package/dist/avs-go-dataviz.js +2089 -0
  10. package/dist/avs-go-dynamic-html.d.ts +52 -0
  11. package/dist/avs-go-dynamic-html.d.ts.map +1 -0
  12. package/dist/avs-go-dynamic-html.js +124 -0
  13. package/dist/avs-go-info.d.ts +57 -0
  14. package/dist/avs-go-info.d.ts.map +1 -0
  15. package/dist/avs-go-info.js +127 -0
  16. package/dist/avs-go.min.js +192 -162
  17. package/dist/avs-renderer.d.ts +37 -0
  18. package/dist/avs-renderer.d.ts.map +1 -0
  19. package/{src → dist}/avs-renderer.js +33 -36
  20. package/{src/avs-go.js → dist/constants.d.ts} +21 -23
  21. package/dist/constants.d.ts.map +1 -0
  22. package/{src → dist}/constants.js +20 -21
  23. package/dist/icons.d.ts +28 -0
  24. package/dist/icons.d.ts.map +1 -0
  25. package/dist/icons.js +27 -0
  26. package/dist/index.d.ts +23 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +22 -0
  29. package/dist/types.d.ts +131 -0
  30. package/dist/types.d.ts.map +1 -0
  31. package/dist/types.js +20 -0
  32. package/licenses/lit.BSD-3 +28 -0
  33. package/{lib/LICENSE-avsthreejs → licenses/three.MIT} +1 -21
  34. package/package.json +15 -4
  35. package/demo/data/scene.json +0 -1
  36. package/demo/img/avs.png +0 -0
  37. package/demo/jsonView.html +0 -36
  38. package/rollup.config.js +0 -16
  39. package/src/avs-element-base.js +0 -119
  40. package/src/avs-go-dataviz.js +0 -2536
  41. package/src/avs-go-dynamic-html.js +0 -151
  42. package/src/avs-go-info.js +0 -152
  43. package/src/logo.js +0 -29
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ import { WebGLRenderer } from 'three';
21
+ /**
22
+ * `avs-renderer` is a custom element created internally by
23
+ * `avs-go-dataviz` to share a single instance of THREE.WebGLRenderer
24
+ * between multiple viewers.
25
+ *
26
+ * @customElement
27
+ */
28
+ export declare class AvsRenderer extends HTMLElement {
29
+ webGLRenderer: WebGLRenderer;
30
+ connectedCallback(): void;
31
+ }
32
+ declare global {
33
+ interface HTMLElementTagNameMap {
34
+ 'avs-renderer': AvsRenderer;
35
+ }
36
+ }
37
+ //# sourceMappingURL=avs-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avs-renderer.d.ts","sourceRoot":"","sources":["../src/avs-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;;;;;GAMG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C,aAAa,EAAE,aAAa,CAAC;IAE7B,iBAAiB;CAGlB;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
@@ -1,36 +1,33 @@
1
- /**
2
- * @license
3
- * Copyright 2018 Advanced Visual Systems Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- *
17
- * This product includes software developed at
18
- * Advanced Visual Systems Inc. (http://www.avs.com)
19
- */
20
-
21
- import {WebGLRenderer} from 'three';
22
-
23
- /**
24
- * `avs-renderer` is a custom element created internally by
25
- * `avs-go-dataviz` to share a single instance of THREE.WebGLRenderer
26
- * between multiple viewers.
27
- *
28
- * @customElement
29
- */
30
- export class AvsRenderer extends HTMLElement {
31
- connectedCallback() {
32
- this.webGLRenderer = new WebGLRenderer( {alpha: true} );
33
- }
34
- }
35
-
36
- window.customElements.define('avs-renderer', AvsRenderer);
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ import { WebGLRenderer } from 'three';
21
+ /**
22
+ * `avs-renderer` is a custom element created internally by
23
+ * `avs-go-dataviz` to share a single instance of THREE.WebGLRenderer
24
+ * between multiple viewers.
25
+ *
26
+ * @customElement
27
+ */
28
+ export class AvsRenderer extends HTMLElement {
29
+ connectedCallback() {
30
+ this.webGLRenderer = new WebGLRenderer({ alpha: true });
31
+ }
32
+ }
33
+ customElements.define('avs-renderer', AvsRenderer);
@@ -1,23 +1,21 @@
1
- /**
2
- * @license
3
- * Copyright 2018 Advanced Visual Systems Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- *
17
- * This product includes software developed at
18
- * Advanced Visual Systems Inc. (http://www.avs.com)
19
- */
20
-
21
- import { AvsGoDataViz } from './avs-go-dataviz.js'
22
- import { AvsGoInfo } from './avs-go-info.js'
23
- import { AvsGoDynamicHtml } from './avs-go-dynamic-html.js'
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export declare const VERSION: string;
21
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,OAAO,EAAE,MAAqB,CAAC"}
@@ -1,21 +1,20 @@
1
- /**
2
- * @license
3
- * Copyright 2018 Advanced Visual Systems Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- *
17
- * This product includes software developed at
18
- * Advanced Visual Systems Inc. (http://www.avs.com)
19
- */
20
-
21
- export var VERSION = '0.14.72000';
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export const VERSION = '0.14.72017';
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export declare const AVS: string;
21
+ export declare const TIMELAPSE: string;
22
+ export declare const CAMERA: string;
23
+ export declare const PLAY: string;
24
+ export declare const HOME: string;
25
+ export declare const DELETE: string;
26
+ export declare const COPY: string;
27
+ export declare const LINK: string;
28
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,GAAG,EAAE,MAAm8F,CAAC;AAEt9F,eAAO,MAAM,SAAS,EAAE,MAAib,CAAC;AAC1c,eAAO,MAAM,MAAM,EAAE,MAA0b,CAAC;AAChd,eAAO,MAAM,IAAI,EAAE,MAA+O,CAAC;AACnQ,eAAO,MAAM,IAAI,EAAE,MAA4Q,CAAC;AAChS,eAAO,MAAM,MAAM,EAAE,MAA4R,CAAC;AAClT,eAAO,MAAM,IAAI,EAAE,MAA8T,CAAC;AAClV,eAAO,MAAM,IAAI,EAAE,MAA0W,CAAC"}
package/dist/icons.js ADDED
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export const AVS = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"46px\" viewBox=\"0 0 12.170833 12.170834\" width=\"46px\"><path d=\"M 7.2486073,9.9076469 H 5.2849946 L 8.4704866,6.123394 6.2360101,3.4130208 7.1885217,2.271515 10.424524,6.122616 Z M 6.0677825,8.6164059 3.9785527,6.1181874 6.0843599,3.5947138 8.1676051,6.1217782 Z M 1.7215741,6.1177086 6.5503222,0.33124232 H 8.5047186 L 3.6754319,6.1184268 5.9155339,8.7972611 4.958833,9.9337997 Z M 7.3399924,2.0900614 9.0019205,0.09856041 H 6.441462 L 1.4175556,6.1188457 4.7994028,10.140329 H 7.3569887 L 10.728423,6.122616 Z\" style=\"display:inline;fill:#2e8cbd;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0598462\" id=\"path22\" /><path d=\"M 7.2486073,9.9076469 H 5.2849946 L 8.4704866,6.123394 6.2360101,3.4130208 7.1885217,2.271515 10.424524,6.122616 Z M 6.0677825,8.6164059 3.9785527,6.1181874 6.0843599,3.5947138 8.1676051,6.1217782 Z M 1.7215741,6.1177086 6.5503222,0.33124232 H 8.5047186 L 3.6754319,6.1184268 5.9155339,8.7972611 4.958833,9.9337997 Z M 7.3399924,2.0900614 9.0019205,0.09856041 H 6.441462 L 1.4175556,6.1188457 4.7994028,10.140329 H 7.3569887 L 10.728423,6.122616 Z\" style=\"fill:none;stroke:#2e8cbd;stroke-width:0.179539;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1\" id=\"path26\" /><g id=\"g78\" class=\"spinnerBackground\"><path d=\"M 5.0916012,7.2951741 C 4.5581951,6.6568 4.1217726,6.1273448 4.1217726,6.1186069 c 0,-0.022412 1.9511841,-2.3603376 1.9654853,-2.3550616 0.00645,0.00237 0.4481639,0.5337638 0.981573,1.1808488 L 8.0386633,6.1209126 7.7794202,6.4289493 C 7.6368389,6.5983701 7.1955674,7.1235887 6.7988191,7.5961017 6.4020707,8.0686158 6.0738528,8.4553619 6.0694438,8.4555369 6.0650388,8.4557059 5.6250056,7.9335497 5.0916012,7.2951741 Z\" id=\"path39\" /><path d=\"M 5.5264617,9.7764122 C 5.5385577,9.7616559 6.2319291,8.9374956 7.0672769,7.9449584 7.9026265,6.9524246 8.5861155,6.1329723 8.5861409,6.1239554 8.5861681,6.1149485 8.0879549,5.5032753 7.4789997,4.7647 6.8700453,4.0261248 6.3741103,3.4156149 6.3769213,3.4080117 6.3797713,3.4004117 6.562373,3.1774787 6.7827896,2.9126121 7.164399,2.4540426 7.1848936,2.4323657 7.2117806,2.4588741 7.2273026,2.4741751 7.9274525,3.3048587 8.767655,4.3048177 L 10.295296,6.1229243 9.4136171,7.1736012 C 8.9286921,7.751474 8.2336861,8.5795488 7.8691565,9.0137659 L 7.2063776,9.8032561 H 6.3554188 c -0.7939025,0 -0.8494825,-0.00179 -0.8289571,-0.026839 z\" id=\"path41\" /><path d=\"M 3.4382986,7.9881037 C 2.6063322,7.0074024 1.9089456,6.1852746 1.8885531,6.1611518 L 1.8514763,6.1172937 4.2262773,3.2714352 6.6010789,0.42557499 H 7.4490822 8.2970851 L 7.0763447,1.8883334 c -3.0218884,3.6209928 -3.5158893,4.2139972 -3.519859,4.2252855 -0.00231,0.00662 0.4954141,0.6094855 1.1060858,1.3397178 0.6106728,0.7302338 1.1103133,1.3348316 1.1103133,1.3435515 0,0.017734 -0.7956667,0.9718373 -0.8117152,0.9733472 -0.00562,5.108e-4 -0.6909038,-0.80143 -1.522871,-1.7821306 z\" id=\"path43\" /></g></svg>";
21
+ export const TIMELAPSE = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M16.24 7.75c-1.17-1.17-2.7-1.76-4.24-1.76v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48zM12 1.99c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"/></svg>";
22
+ export const CAMERA = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z\"/></svg>";
23
+ export const PLAY = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M10 8.64L15.27 12 10 15.36V8.64M8 5v14l11-7L8 5z\"/></svg>";
24
+ export const HOME = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z\"/></svg>";
25
+ export const DELETE = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z\"/></svg>";
26
+ export const COPY = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z\"/></svg>";
27
+ export const LINK = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"currentColor\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2zm-3-4h8v2H8z\"/></svg>";
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export { AvsGoDataViz } from './avs-go-dataviz';
21
+ export { AvsGoInfo } from './avs-go-info';
22
+ export { AvsGoDynamicHtml } from './avs-go-dynamic-html';
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export { AvsGoDataViz } from './avs-go-dataviz';
21
+ export { AvsGoInfo } from './avs-go-info';
22
+ export { AvsGoDynamicHtml } from './avs-go-dynamic-html';
@@ -0,0 +1,131 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export type Renderer = "IMAGE" | "SVG" | "THREEJS";
21
+ export type PickDepth = "CLOSEST" | "ALL";
22
+ export type PickLevel = "SCENE_NODE" | "CELL_SET" | "CELL";
23
+ export interface PanProperties {
24
+ widthZoomLevel?: number;
25
+ heightZoomLevel?: number;
26
+ }
27
+ export interface StreamProperties {
28
+ chunkSizeFirst?: number;
29
+ chunkSize?: number;
30
+ chunkId?: string;
31
+ }
32
+ export interface PickDetail {
33
+ x?: number;
34
+ y?: number;
35
+ left?: number;
36
+ right?: number;
37
+ top?: number;
38
+ bottom?: number;
39
+ selected?: Array<SelectedInfo>;
40
+ }
41
+ export interface PickProperties extends PickDetail {
42
+ type: string;
43
+ level?: PickLevel;
44
+ depth?: PickDepth;
45
+ highlight?: boolean;
46
+ highlightColor?: string;
47
+ highlightLayer?: boolean;
48
+ }
49
+ export interface RendererProperties {
50
+ name?: string;
51
+ userProperties?: object;
52
+ type: Renderer;
53
+ width: number;
54
+ height: number;
55
+ themeName?: string;
56
+ cssProperties?: object;
57
+ pickProperties?: PickProperties;
58
+ panProperties?: PanProperties;
59
+ streamProperties?: StreamProperties;
60
+ transformMatrix?: Array<number>;
61
+ fullReset?: boolean;
62
+ }
63
+ export interface DataVizModel {
64
+ sceneProperties: {
65
+ name: string;
66
+ userProperties?: object;
67
+ };
68
+ dataSourceProperties?: {
69
+ name: string;
70
+ userProperties?: object;
71
+ };
72
+ rendererProperties?: RendererProperties;
73
+ }
74
+ export interface SelectedInfo {
75
+ seriesIndex?: number;
76
+ itemIndex?: number;
77
+ componentInfo?: string;
78
+ }
79
+ export interface MotionCaptureFrame {
80
+ time: number;
81
+ scale: number;
82
+ position: Array<number>;
83
+ rotation: Array<number>;
84
+ }
85
+ export interface HttpResponse {
86
+ error?: string;
87
+ }
88
+ export interface SceneInfo {
89
+ color?: string;
90
+ backgroundColor?: string;
91
+ fontFamily?: string;
92
+ }
93
+ export interface ThreeJS {
94
+ chunkId?: string;
95
+ moreChunks?: boolean;
96
+ }
97
+ export interface DataVizResponse extends HttpResponse {
98
+ sceneInfo?: SceneInfo;
99
+ selectionInfo?: PickProperties;
100
+ image?: string;
101
+ imagemap?: string;
102
+ svg?: string;
103
+ threejs?: ThreeJS;
104
+ }
105
+ export interface InfoModel {
106
+ infoProperties: {
107
+ name: string;
108
+ userProperties?: object;
109
+ };
110
+ dataSourceProperties?: {
111
+ name: string;
112
+ userProperties?: object;
113
+ };
114
+ }
115
+ export interface InfoResponse extends HttpResponse {
116
+ info?: string;
117
+ }
118
+ export interface DynamicHtmlModel {
119
+ dynamicHtmlProperties: {
120
+ name: string;
121
+ userProperties?: object;
122
+ };
123
+ dataSourceProperties?: {
124
+ name: string;
125
+ userProperties?: object;
126
+ };
127
+ }
128
+ export interface DynamicHtmlResponse extends HttpResponse {
129
+ html?: string;
130
+ }
131
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;AAE3D,MAAM,WAAW,aAAa;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;I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AAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,oBAAoB,CAAC,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
package/dist/types.js ADDED
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026-2026 Advanced Visual Systems Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ * This product includes software developed at
18
+ * Advanced Visual Systems Inc. (http://www.avs.com)
19
+ */
20
+ export {};
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2017 Google LLC. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,26 +1,6 @@
1
- avsthree.js
2
- Copyright 2018 Advanced Visual Systems Inc.
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
-
16
- This product includes software developed at
17
- Advanced Visual Systems Inc. (http://www.avs.com)
18
-
19
- This software contains code derived from three.js (http://threejs.org)
20
-
21
1
  The MIT License
22
2
 
23
- Copyright © 2010-2018 three.js authors
3
+ Copyright © 2010-2026 three.js authors
24
4
 
25
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
26
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avs/go",
3
- "version": "0.14.72000",
3
+ "version": "0.14.72017",
4
4
  "description": "AVS/Go",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -10,20 +10,31 @@
10
10
  "three.js",
11
11
  "3d",
12
12
  "webgl",
13
+ "visualization",
14
+ "dataviz",
13
15
  "custom-element",
14
16
  "web-components"
15
17
  ],
16
18
  "author": "Advanced Visual Systems Inc.",
19
+ "homepage": "https://www.avs.com/products/avs-go",
17
20
  "main": "dist/avs-go.min.js",
21
+ "types": "dist/index.d.ts",
18
22
  "repository": {
19
23
  "type": "git",
20
24
  "url": "git+https://github.com/avs/avs-go.git",
21
25
  "directory": "packages/core"
22
26
  },
27
+ "files": [
28
+ "dist",
29
+ "lib",
30
+ "licenses",
31
+ "README.md",
32
+ "LICENSE",
33
+ "NOTICE"
34
+ ],
23
35
  "scripts": {
24
- "build": "rollup -c",
25
- "start": "http-server -o demo/jsonView.html",
26
- "type-check": "echo 'No TypeScript in core package'"
36
+ "build": "tsc && rollup -c",
37
+ "type-check": "tsc"
27
38
  },
28
39
  "license": "Apache-2.0",
29
40
  "dependencies": {