@avs/go 0.14.72008 → 0.14.72037
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/LICENSE +195 -0
- package/NOTICE +5 -0
- package/README.md +2 -2
- package/dist/avs-element-mixin.d.ts +3 -3
- package/dist/avs-element-mixin.d.ts.map +1 -1
- package/dist/avs-element-mixin.js +1 -1
- package/dist/avs-go-dataviz.d.ts +34 -44
- package/dist/avs-go-dataviz.d.ts.map +1 -1
- package/dist/avs-go-dataviz.js +49 -66
- package/dist/avs-go-dynamic-html.d.ts +1 -1
- package/dist/avs-go-dynamic-html.d.ts.map +1 -1
- package/dist/avs-go-dynamic-html.js +8 -3
- package/dist/avs-go-info.d.ts +1 -1
- package/dist/avs-go-info.d.ts.map +1 -1
- package/dist/avs-go-info.js +7 -2
- package/dist/avs-go.min.js +36 -57
- package/dist/avs-renderer.d.ts +2 -2
- package/dist/avs-renderer.d.ts.map +1 -1
- package/dist/avs-renderer.js +5 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +2 -2
- package/dist/icons.d.ts +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +4 -15
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -18
- package/licenses/lit.BSD-3 +28 -0
- package/{lib/LICENSE-avsthreejs → licenses/three.MIT} +1 -21
- package/package.json +14 -4
- package/demo/data/scene.json +0 -1
- package/demo/img/avs.png +0 -0
- package/demo/jsonView.html +0 -36
- package/dist/avs-go.min.js.LICENSE.txt +0 -61
- package/rollup.config.js +0 -26
- package/src/avs-element-mixin.ts +0 -126
- package/src/avs-go-dataviz.ts +0 -2400
- package/src/avs-go-dynamic-html.ts +0 -138
- package/src/avs-go-info.ts +0 -141
- package/src/avs-renderer.ts +0 -44
- package/src/constants.ts +0 -21
- package/src/icons.ts +0 -29
- package/src/index.ts +0 -23
- package/src/types.ts +0 -160
- package/tsconfig.json +0 -16
package/dist/avs-renderer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright 2018 Advanced Visual Systems Inc.
|
|
3
|
+
* Copyright 2018-2026 Advanced Visual Systems Inc.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -26,7 +26,7 @@ import { WebGLRenderer } from 'three';
|
|
|
26
26
|
* @customElement
|
|
27
27
|
*/
|
|
28
28
|
export declare class AvsRenderer extends HTMLElement {
|
|
29
|
-
webGLRenderer
|
|
29
|
+
webGLRenderer?: WebGLRenderer;
|
|
30
30
|
connectedCallback(): void;
|
|
31
31
|
}
|
|
32
32
|
declare global {
|
|
@@ -1 +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,
|
|
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,CAAC,EAAE,aAAa,CAAa;IAE1C,iBAAiB;CAGlB;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
|
package/dist/avs-renderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright 2018 Advanced Visual Systems Inc.
|
|
3
|
+
* Copyright 2018-2026 Advanced Visual Systems Inc.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -26,6 +26,10 @@ import { WebGLRenderer } from 'three';
|
|
|
26
26
|
* @customElement
|
|
27
27
|
*/
|
|
28
28
|
export class AvsRenderer extends HTMLElement {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.webGLRenderer = undefined;
|
|
32
|
+
}
|
|
29
33
|
connectedCallback() {
|
|
30
34
|
this.webGLRenderer = new WebGLRenderer({ alpha: true });
|
|
31
35
|
}
|
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright 2018 Advanced Visual Systems Inc.
|
|
3
|
+
* Copyright 2018-2026 Advanced Visual Systems Inc.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* This product includes software developed at
|
|
18
18
|
* Advanced Visual Systems Inc. (http://www.avs.com)
|
|
19
19
|
*/
|
|
20
|
-
export const VERSION = '0.14.
|
|
20
|
+
export const VERSION = '0.14.72037';
|
package/dist/icons.d.ts
CHANGED
package/dist/icons.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright 2026 Advanced Visual Systems Inc.
|
|
3
|
+
* Copyright 2018-2026 Advanced Visual Systems Inc.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -17,20 +17,9 @@
|
|
|
17
17
|
* This product includes software developed at
|
|
18
18
|
* Advanced Visual Systems Inc. (http://www.avs.com)
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
THREEJS = "THREEJS"
|
|
24
|
-
}
|
|
25
|
-
export declare enum PickDepth {
|
|
26
|
-
CLOSEST = "CLOSEST",
|
|
27
|
-
ALL = "ALL"
|
|
28
|
-
}
|
|
29
|
-
export declare enum PickLevel {
|
|
30
|
-
SCENE_NODE = "SCENE_NODE",
|
|
31
|
-
CELL_SET = "CELL_SET",
|
|
32
|
-
CELL = "CELL"
|
|
33
|
-
}
|
|
20
|
+
export type Renderer = "IMAGE" | "SVG" | "THREEJS";
|
|
21
|
+
export type PickDepth = "CLOSEST" | "ALL";
|
|
22
|
+
export type PickLevel = "SCENE_NODE" | "CELL_SET" | "CELL";
|
|
34
23
|
export interface PanProperties {
|
|
35
24
|
widthZoomLevel?: number;
|
|
36
25
|
heightZoomLevel?: number;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,
|
|
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,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C,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright 2026 Advanced Visual Systems Inc.
|
|
3
|
+
* Copyright 2018-2026 Advanced Visual Systems Inc.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -17,20 +17,4 @@
|
|
|
17
17
|
* This product includes software developed at
|
|
18
18
|
* Advanced Visual Systems Inc. (http://www.avs.com)
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
(function (Renderer) {
|
|
22
|
-
Renderer["IMAGE"] = "IMAGE";
|
|
23
|
-
Renderer["SVG"] = "SVG";
|
|
24
|
-
Renderer["THREEJS"] = "THREEJS";
|
|
25
|
-
})(Renderer || (Renderer = {}));
|
|
26
|
-
export var PickDepth;
|
|
27
|
-
(function (PickDepth) {
|
|
28
|
-
PickDepth["CLOSEST"] = "CLOSEST";
|
|
29
|
-
PickDepth["ALL"] = "ALL";
|
|
30
|
-
})(PickDepth || (PickDepth = {}));
|
|
31
|
-
export var PickLevel;
|
|
32
|
-
(function (PickLevel) {
|
|
33
|
-
PickLevel["SCENE_NODE"] = "SCENE_NODE";
|
|
34
|
-
PickLevel["CELL_SET"] = "CELL_SET";
|
|
35
|
-
PickLevel["CELL"] = "CELL";
|
|
36
|
-
})(PickLevel || (PickLevel = {}));
|
|
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-
|
|
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.
|
|
3
|
+
"version": "0.14.72037",
|
|
4
4
|
"description": "AVS/Go",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -10,10 +10,13 @@
|
|
|
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",
|
|
18
21
|
"types": "dist/index.d.ts",
|
|
19
22
|
"repository": {
|
|
@@ -21,15 +24,22 @@
|
|
|
21
24
|
"url": "git+https://github.com/avs/avs-go.git",
|
|
22
25
|
"directory": "packages/core"
|
|
23
26
|
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"lib",
|
|
30
|
+
"licenses",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"NOTICE"
|
|
34
|
+
],
|
|
24
35
|
"scripts": {
|
|
25
36
|
"build": "tsc && rollup -c",
|
|
26
|
-
"start": "http-server -o demo/jsonView.html",
|
|
27
37
|
"type-check": "tsc"
|
|
28
38
|
},
|
|
29
39
|
"license": "Apache-2.0",
|
|
30
40
|
"dependencies": {
|
|
31
|
-
"dompurify": "^3.4.
|
|
32
|
-
"lit": "^3.3.
|
|
41
|
+
"dompurify": "^3.4.5",
|
|
42
|
+
"lit": "^3.3.3",
|
|
33
43
|
"three": "0.184.0"
|
|
34
44
|
}
|
|
35
45
|
}
|