@roomle/web-sdk 2.94.0-alpha.21 → 2.94.0-alpha.22
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/definitions/packages/planner-core/src/roomle-planner.d.ts +3 -0
- package/lib/definitions/planner-core/src/roomle-planner.d.ts +3 -0
- package/lib/legacy/{planner-6ac5fbd5.legacy.js → planner-a57cc9cd.legacy.js} +2 -2
- package/lib/legacy/{planner-6ac5fbd5.legacy.js.map → planner-a57cc9cd.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/{planner-25f2d158.js → planner-220e25fa.js} +2 -2
- package/lib/{planner-25f2d158.js.map → planner-220e25fa.js.map} +1 -1
- package/lib/{planner-7a18388e.nomodule.js → planner-2a1991da.nomodule.js} +2 -2
- package/lib/{planner-7a18388e.nomodule.js.map → planner-2a1991da.nomodule.js.map} +1 -1
- package/lib/{planner-main-fc011fe8.js → planner-main-bc926117.js} +2 -2
- package/lib/planner-main-bc926117.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/{roomle-sdk-01eb0edc.js → roomle-sdk-896ec634.js} +2 -2
- package/lib/roomle-sdk-896ec634.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/package.json +2 -2
- package/lib/planner-main-fc011fe8.js.map +0 -1
- package/lib/roomle-sdk-01eb0edc.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Planner}from"./planner-
|
|
2
|
-
//# sourceMappingURL=planner-main-
|
|
1
|
+
import{Planner}from"./planner-220e25fa.js";import"./script-loader-70ce6f9a.js";import"./query-params-helper-28405b8d.js";import"./main-thread-to-worker-352ff4b1.js";import"./roomle-dependency-injection-ac8a4f1a.js";import"./camera-behaviour-0645d7cb.js";import"./roomle-configurator-6cae38d6.js";import"./default-light-setting-29267642.js";import"./glb-viewer-camera-behaviour-53f06ec3.js";(new Planner).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let a=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});
|
|
2
|
+
//# sourceMappingURL=planner-main-bc926117.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planner-main-bc926117.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./planner-
|
|
1
|
+
System.register(["./planner-2a1991da.nomodule.js","./script-loader-6d269a25.nomodule.js","./query-params-helper-4f855064.nomodule.js","./main-thread-to-worker-7f1cb5ea.nomodule.js","./roomle-dependency-injection-dc47e900.nomodule.js","./camera-behaviour-abdcb0b5.nomodule.js","./roomle-configurator-b7ff58ea.nomodule.js","./default-light-setting-1fa040f8.nomodule.js","./glb-viewer-camera-behaviour-24604395.nomodule.js"],(function(){var e;return{setters:[function(n){e=n.Planner},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){(new e).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let n=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)})}}}));
|
|
2
2
|
//# sourceMappingURL=planner-main.nomodule.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as RoomleDependencyInjection,D as DependencyInjectionAssignment,R as RapiAccess,aV as GlobalCallback,aW as GlobalInitData,aX as InitData}from"./roomle-dependency-injection-ac8a4f1a.js";import"./main-thread-to-worker-352ff4b1.js";class RoomleSdk{static getConfigurator(e,n){return n=this._setupDI("configurator",e,n),RoomleDependencyInjection.lookup("global-init-data").configuratorId?new Promise((e,t)=>import("./configurator-1065bd8e.js").then(({Configurator:t})=>e(new t(n)),t)):Promise.reject("configuratorId is not set")}static getPlanner(e,n){return n=this._setupDI("planner",e,n),RoomleDependencyInjection.lookup("global-init-data").configuratorId?new Promise((e,t)=>import("./planner-
|
|
2
|
-
//# sourceMappingURL=roomle-sdk-
|
|
1
|
+
import{b as RoomleDependencyInjection,D as DependencyInjectionAssignment,R as RapiAccess,aV as GlobalCallback,aW as GlobalInitData,aX as InitData}from"./roomle-dependency-injection-ac8a4f1a.js";import"./main-thread-to-worker-352ff4b1.js";class RoomleSdk{static getConfigurator(e,n){return n=this._setupDI("configurator",e,n),RoomleDependencyInjection.lookup("global-init-data").configuratorId?new Promise((e,t)=>import("./configurator-1065bd8e.js").then(({Configurator:t})=>e(new t(n)),t)):Promise.reject("configuratorId is not set")}static getPlanner(e,n){return n=this._setupDI("planner",e,n),RoomleDependencyInjection.lookup("global-init-data").configuratorId?new Promise((e,t)=>import("./planner-220e25fa.js").then(({Planner:t})=>e(new t(n)),t)):Promise.reject("configuratorId is not set")}static async getGlbViewer(e,n){return n=this._setupDI("glb-viewer",e,n),RoomleDependencyInjection.lookup("global-init-data").configuratorId?new Promise((e,t)=>import("./glb-viewer-4004fc6d.js").then(({GlbViewer:t})=>e(new t(n)),t)):Promise.reject("configuratorId is not set")}static getMaterialViewer(e,n){return n=this._setupDI("configurator",e,n),RoomleDependencyInjection.lookup("global-init-data").configuratorId?new Promise((e,t)=>import("./material-viewer-5b3af4ed.js").then(({MaterialViewer:t})=>e(new t(n)),t)):Promise.reject("configuratorId is not set")}static getCoreTools(e,n){return n=this._setupDI("tools-core",e,n),new Promise((e,t)=>import("./tools-core-c6390c9a.js").then(({ToolsCore:t})=>{const o=new t(n);o.boot(),e(o)},t))}static getRapiAccess(){return RoomleDependencyInjection.addToContainer([new DependencyInjectionAssignment("rapi-access",RapiAccess,0),new DependencyInjectionAssignment("global-callback",GlobalCallback,0)]),Promise.resolve(RoomleDependencyInjection.lookup("rapi-access"))}static get callbacks(){return RoomleDependencyInjection.addToContainer([new DependencyInjectionAssignment("global-callback",GlobalCallback,0)]),Promise.resolve(RoomleDependencyInjection.lookup("global-callback"))}static async setGlobalInitData(e){e&&(RoomleDependencyInjection.addToContainer([new DependencyInjectionAssignment("global-init-data",GlobalInitData,0)]),RoomleDependencyInjection.lookup("global-init-data").setOverrides(e),(await this.getRapiAccess()).setConfiguratorSettings())}static getContext(e){return RoomleDependencyInjection.getContext(e)}static _setupDI(e,n,t){return n&&(RoomleDependencyInjection.addToContainer([new DependencyInjectionAssignment("init-data",InitData,1)]),t||(t=RoomleDependencyInjection.getContext(e)),RoomleDependencyInjection.lookup("init-data",t).setOverrides(n)),t}}export{RoomleSdk as default};
|
|
2
|
+
//# sourceMappingURL=roomle-sdk-896ec634.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roomle-sdk-896ec634.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-dc47e900.nomodule.js","./main-thread-to-worker-7f1cb5ea.nomodule.js"],(function(e,t){var o,r,n,
|
|
1
|
+
System.register(["./roomle-dependency-injection-dc47e900.nomodule.js","./main-thread-to-worker-7f1cb5ea.nomodule.js"],(function(e,t){var o,r,a,n,i,s;return{setters:[function(e){o=e.b,r=e.D,a=e.R,n=e.aV,i=e.aW,s=e.aX},function(){}],execute:function(){e("default",class{static getConfigurator(e,r){return r=this._setupDI("configurator",e,r),o.lookup("global-init-data").configuratorId?new Promise((e,o)=>t.import("./configurator-a25c06d2.nomodule.js").then(({Configurator:t})=>e(new t(r)),o)):Promise.reject("configuratorId is not set")}static getPlanner(e,r){return r=this._setupDI("planner",e,r),o.lookup("global-init-data").configuratorId?new Promise((e,o)=>t.import("./planner-2a1991da.nomodule.js").then(({Planner:t})=>e(new t(r)),o)):Promise.reject("configuratorId is not set")}static async getGlbViewer(e,r){return r=this._setupDI("glb-viewer",e,r),o.lookup("global-init-data").configuratorId?new Promise((e,o)=>t.import("./glb-viewer-162d9d86.nomodule.js").then(({GlbViewer:t})=>e(new t(r)),o)):Promise.reject("configuratorId is not set")}static getMaterialViewer(e,r){return r=this._setupDI("configurator",e,r),o.lookup("global-init-data").configuratorId?new Promise((e,o)=>t.import("./material-viewer-5224904b.nomodule.js").then(({MaterialViewer:t})=>e(new t(r)),o)):Promise.reject("configuratorId is not set")}static getCoreTools(e,o){return o=this._setupDI("tools-core",e,o),new Promise((e,r)=>t.import("./tools-core-3f52f1d2.nomodule.js").then(({ToolsCore:t})=>{const r=new t(o);r.boot(),e(r)},r))}static getRapiAccess(){return o.addToContainer([new r("rapi-access",a,0),new r("global-callback",n,0)]),Promise.resolve(o.lookup("rapi-access"))}static get callbacks(){return o.addToContainer([new r("global-callback",n,0)]),Promise.resolve(o.lookup("global-callback"))}static async setGlobalInitData(e){e&&(o.addToContainer([new r("global-init-data",i,0)]),o.lookup("global-init-data").setOverrides(e),(await this.getRapiAccess()).setConfiguratorSettings())}static getContext(e){return o.getContext(e)}static _setupDI(e,t,a){return t&&(o.addToContainer([new r("init-data",s,1)]),a||(a=o.getContext(e)),o.lookup("init-data",a).setOverrides(t)),a}})}}}));
|
|
2
2
|
//# sourceMappingURL=roomle-sdk.nomodule.js.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/web-sdk",
|
|
3
|
-
"version": "2.94.0-alpha.
|
|
3
|
+
"version": "2.94.0-alpha.22",
|
|
4
4
|
"description": "Roomle Web SDK",
|
|
5
5
|
"author": "Roomle Development",
|
|
6
|
-
"main": "lib/roomle-sdk-
|
|
6
|
+
"main": "lib/roomle-sdk-896ec634.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"release": "semantic-release && cd ../packages/eslint-plugin-roomle && npm i && npm run release && cd ../../dist",
|
|
9
9
|
"postinstall": "node scripts/copy-assets-sdk.js"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planner-main-fc011fe8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roomle-sdk-01eb0edc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|