vim-web 0.3.44-dev.50 → 0.3.44-dev.52
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/dist/types/react-viewers/index.d.ts +2 -0
- package/dist/vim-web.iife.js +48 -13
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +48 -13
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.js
CHANGED
|
@@ -29195,7 +29195,7 @@ class CubeTextureLoader extends Loader {
|
|
|
29195
29195
|
constructor(manager) {
|
|
29196
29196
|
super(manager);
|
|
29197
29197
|
}
|
|
29198
|
-
load(
|
|
29198
|
+
load(urls2, onLoad, onProgress, onError) {
|
|
29199
29199
|
const texture = new CubeTexture();
|
|
29200
29200
|
texture.colorSpace = SRGBColorSpace;
|
|
29201
29201
|
const loader = new ImageLoader(this.manager);
|
|
@@ -29203,7 +29203,7 @@ class CubeTextureLoader extends Loader {
|
|
|
29203
29203
|
loader.setPath(this.path);
|
|
29204
29204
|
let loaded = 0;
|
|
29205
29205
|
function loadTexture(i) {
|
|
29206
|
-
loader.load(
|
|
29206
|
+
loader.load(urls2[i], function(image) {
|
|
29207
29207
|
texture.images[i] = image;
|
|
29208
29208
|
loaded++;
|
|
29209
29209
|
if (loaded === 6) {
|
|
@@ -29212,7 +29212,7 @@ class CubeTextureLoader extends Loader {
|
|
|
29212
29212
|
}
|
|
29213
29213
|
}, void 0, onError);
|
|
29214
29214
|
}
|
|
29215
|
-
for (let i = 0; i <
|
|
29215
|
+
for (let i = 0; i < urls2.length; ++i) {
|
|
29216
29216
|
loadTexture(i);
|
|
29217
29217
|
}
|
|
29218
29218
|
return texture;
|
|
@@ -57131,7 +57131,7 @@ function removeUndefinedProperties(obj) {
|
|
|
57131
57131
|
}
|
|
57132
57132
|
return result;
|
|
57133
57133
|
}
|
|
57134
|
-
const index$
|
|
57134
|
+
const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
57135
57135
|
__proto__: null,
|
|
57136
57136
|
IProgressLogs: distExports$2.IProgressLogs,
|
|
57137
57137
|
Layers: Layers2,
|
|
@@ -61327,7 +61327,7 @@ let Viewer$2 = class Viewer2 {
|
|
|
61327
61327
|
window.onbeforeunload = null;
|
|
61328
61328
|
}
|
|
61329
61329
|
};
|
|
61330
|
-
const index$
|
|
61330
|
+
const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61331
61331
|
__proto__: null,
|
|
61332
61332
|
INVALID_HANDLE,
|
|
61333
61333
|
InputMode,
|
|
@@ -61341,12 +61341,12 @@ const index$6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
61341
61341
|
VimLoadingStatus,
|
|
61342
61342
|
materialHandles
|
|
61343
61343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
61344
|
-
const index$
|
|
61344
|
+
const index$6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61345
61345
|
__proto__: null,
|
|
61346
61346
|
InputHandler,
|
|
61347
61347
|
PointerMode: PointerMode$1,
|
|
61348
|
-
Ultra: index$
|
|
61349
|
-
Webgl: index$
|
|
61348
|
+
Ultra: index$7,
|
|
61349
|
+
Webgl: index$8
|
|
61350
61350
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
61351
61351
|
const sectionSelection = "controlBar.sectionSelection";
|
|
61352
61352
|
const sectionCamera = "controlBar.sectionCamera";
|
|
@@ -61456,7 +61456,7 @@ const style = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
61456
61456
|
sectionDefaultStyle,
|
|
61457
61457
|
sectionNoPadStyle
|
|
61458
61458
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
61459
|
-
const index$
|
|
61459
|
+
const index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61460
61460
|
__proto__: null,
|
|
61461
61461
|
Ids: controlBarIds,
|
|
61462
61462
|
Style: style
|
|
@@ -63619,7 +63619,7 @@ function isTrue(value) {
|
|
|
63619
63619
|
function isFalse(value) {
|
|
63620
63620
|
return value === false || value === "AlwaysFalse";
|
|
63621
63621
|
}
|
|
63622
|
-
const index$
|
|
63622
|
+
const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63623
63623
|
__proto__: null,
|
|
63624
63624
|
createSettings,
|
|
63625
63625
|
getDefaultSettings,
|
|
@@ -74887,6 +74887,13 @@ function link(url, text) {
|
|
|
74887
74887
|
}
|
|
74888
74888
|
const support = "https://docs.vimaec.com";
|
|
74889
74889
|
const supportUltra = "https://docs.vimaec.com/docs/vim-for-windows/configuring-vim-ultra";
|
|
74890
|
+
const supportControls = "https://docs.vimaec.com/docs/vim-cloud/webgl-navigation-and-controls-guide";
|
|
74891
|
+
const urls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
74892
|
+
__proto__: null,
|
|
74893
|
+
support,
|
|
74894
|
+
supportControls,
|
|
74895
|
+
supportUltra
|
|
74896
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
74890
74897
|
function fileOpeningError(url) {
|
|
74891
74898
|
return {
|
|
74892
74899
|
title: "File Opening Error",
|
|
@@ -75063,6 +75070,32 @@ function body$1(url) {
|
|
|
75063
75070
|
])
|
|
75064
75071
|
] });
|
|
75065
75072
|
}
|
|
75073
|
+
const index$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
75074
|
+
__proto__: null,
|
|
75075
|
+
bold,
|
|
75076
|
+
bullet,
|
|
75077
|
+
detailText,
|
|
75078
|
+
dotList,
|
|
75079
|
+
fileOpeningError,
|
|
75080
|
+
footer: footer$1,
|
|
75081
|
+
isFilePathOrUri,
|
|
75082
|
+
isLocalUrl,
|
|
75083
|
+
link,
|
|
75084
|
+
mainText,
|
|
75085
|
+
numList,
|
|
75086
|
+
serverCompatibilityError,
|
|
75087
|
+
serverConnectionError,
|
|
75088
|
+
serverFileDownloadingError,
|
|
75089
|
+
serverFileLoadingError,
|
|
75090
|
+
serverStreamError,
|
|
75091
|
+
subTitle,
|
|
75092
|
+
vcColorLink,
|
|
75093
|
+
vcColorPrimary,
|
|
75094
|
+
vcColorSecondary,
|
|
75095
|
+
vcLabel,
|
|
75096
|
+
vcLink,
|
|
75097
|
+
vcRoboto
|
|
75098
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
75066
75099
|
class ComponentLoader {
|
|
75067
75100
|
constructor(viewer, modal) {
|
|
75068
75101
|
__publicField(this, "_viewer");
|
|
@@ -76305,15 +76338,17 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
76305
76338
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
76306
76339
|
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
76307
76340
|
__proto__: null,
|
|
76308
|
-
ControlBar: index$
|
|
76341
|
+
ControlBar: index$5,
|
|
76342
|
+
Errors: index$3,
|
|
76309
76343
|
Icons: icons,
|
|
76310
|
-
Settings: index$
|
|
76344
|
+
Settings: index$4,
|
|
76311
76345
|
Ultra: index$1,
|
|
76346
|
+
Urls: urls,
|
|
76312
76347
|
Webgl: index$2,
|
|
76313
76348
|
createContainer
|
|
76314
76349
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
76315
76350
|
export {
|
|
76316
|
-
index$
|
|
76351
|
+
index$6 as Core,
|
|
76317
76352
|
index as React,
|
|
76318
76353
|
three_module as THREE
|
|
76319
76354
|
};
|