@inweb/viewer-visualize 27.1.8 → 27.2.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/lib/Viewer/Viewer.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare class Viewer extends EventEmitter2<ViewerEventMap & CanvasEventMa
|
|
|
40
40
|
* library you are using.
|
|
41
41
|
* @param params.crossOrigin - The
|
|
42
42
|
* {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/crossorigin | crossorigin} content
|
|
43
|
-
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous
|
|
43
|
+
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous`, or
|
|
44
44
|
* `use-credentials`.
|
|
45
45
|
* @param params.enableAutoUpdate - Enable auto-update of the viewer after any changes. If the
|
|
46
46
|
* auto-update is disabled, you need to register an `update` event handler and update the
|
|
@@ -89,7 +89,7 @@ export declare class Viewer extends EventEmitter2<ViewerEventMap & CanvasEventMa
|
|
|
89
89
|
* library you are using.
|
|
90
90
|
* @param params.crossOrigin - The
|
|
91
91
|
* {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/crossorigin | crossorigin} content
|
|
92
|
-
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous
|
|
92
|
+
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous`, or
|
|
93
93
|
* `use-credentials`.
|
|
94
94
|
*/
|
|
95
95
|
configure(params: {
|
|
@@ -185,7 +185,7 @@ export declare class Viewer extends EventEmitter2<ViewerEventMap & CanvasEventMa
|
|
|
185
185
|
*
|
|
186
186
|
* @param file - File to load. Can be:
|
|
187
187
|
*
|
|
188
|
-
* - `File`, `Assembly
|
|
188
|
+
* - `File`, `Assembly`, or `Model` instance from the Open Cloud Server
|
|
189
189
|
* - `URL` string
|
|
190
190
|
* - {@link https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs | Data URL} string
|
|
191
191
|
* - {@link https://developer.mozilla.org/docs/Web/API/File | Web API dFile} object
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/viewer-visualize",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.2.0",
|
|
4
4
|
"description": "JavaScript library for rendering CAD and BIM files in a browser using VisualizeJS",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"docs": "typedoc"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@inweb/client": "~27.
|
|
33
|
-
"@inweb/eventemitter2": "~27.
|
|
34
|
-
"@inweb/markup": "~27.
|
|
35
|
-
"@inweb/viewer-core": "~27.
|
|
32
|
+
"@inweb/client": "~27.2.0",
|
|
33
|
+
"@inweb/eventemitter2": "~27.2.0",
|
|
34
|
+
"@inweb/markup": "~27.2.0",
|
|
35
|
+
"@inweb/viewer-core": "~27.2.0"
|
|
36
36
|
},
|
|
37
37
|
"visualizeJS": "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/master/Visualize.js"
|
|
38
38
|
}
|
package/src/Viewer/Viewer.ts
CHANGED
|
@@ -105,7 +105,7 @@ export class Viewer
|
|
|
105
105
|
* library you are using.
|
|
106
106
|
* @param params.crossOrigin - The
|
|
107
107
|
* {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/crossorigin | crossorigin} content
|
|
108
|
-
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous
|
|
108
|
+
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous`, or
|
|
109
109
|
* `use-credentials`.
|
|
110
110
|
* @param params.enableAutoUpdate - Enable auto-update of the viewer after any changes. If the
|
|
111
111
|
* auto-update is disabled, you need to register an `update` event handler and update the
|
|
@@ -194,7 +194,7 @@ export class Viewer
|
|
|
194
194
|
* library you are using.
|
|
195
195
|
* @param params.crossOrigin - The
|
|
196
196
|
* {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/crossorigin | crossorigin} content
|
|
197
|
-
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous
|
|
197
|
+
* attribute on `Visalize.js` script element. One of the following values: `""`, `anonymous`, or
|
|
198
198
|
* `use-credentials`.
|
|
199
199
|
*/
|
|
200
200
|
configure(params: { visualizeJsUrl?: string; crossOrigin?: string }): this {
|
|
@@ -484,7 +484,7 @@ export class Viewer
|
|
|
484
484
|
*
|
|
485
485
|
* @param file - File to load. Can be:
|
|
486
486
|
*
|
|
487
|
-
* - `File`, `Assembly
|
|
487
|
+
* - `File`, `Assembly`, or `Model` instance from the Open Cloud Server
|
|
488
488
|
* - `URL` string
|
|
489
489
|
* - {@link https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs | Data URL} string
|
|
490
490
|
* - {@link https://developer.mozilla.org/docs/Web/API/File | Web API dFile} object
|