@roomle/web-sdk 7.0.0-alpha.6 → 7.0.0-alpha.7
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/README.md +6 -0
- package/SECURITY.md +5 -0
- package/THIRD-PARTY-NOTICES.txt +2 -2
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{agent-prompts-BeAIZFWu.mjs → agent-prompts-CcwnXAhR.mjs} +10 -10
- package/lib/{agent-prompts-BeAIZFWu.mjs.map → agent-prompts-CcwnXAhR.mjs.map} +1 -1
- package/lib/{api-oqNjLSNZ.mjs → api-BngprCu5.mjs} +2 -2
- package/lib/{api-oqNjLSNZ.mjs.map → api-BngprCu5.mjs.map} +1 -1
- package/lib/budgeteer.sw-ByZxiRBr.mjs.map +1 -1
- package/lib/{configuration-operations-Cx7WgZIb.mjs → configuration-operations-CbqNZZmc.mjs} +3 -3
- package/lib/{configuration-operations-Cx7WgZIb.mjs.map → configuration-operations-CbqNZZmc.mjs.map} +1 -1
- package/lib/configurator-DX-SJ2DK.mjs +3 -0
- package/lib/{configurator-capabilities-FnInde4-.mjs → configurator-capabilities-70kymvOa.mjs} +2 -2
- package/lib/{configurator-capabilities-FnInde4-.mjs.map → configurator-capabilities-70kymvOa.mjs.map} +1 -1
- package/lib/configurator-capabilities-Wcmqit2B.mjs +3 -0
- package/lib/{configurator-tOyOfDMx.mjs → configurator-jkfY1b5y.mjs} +3 -3
- package/lib/{configurator-tOyOfDMx.mjs.map → configurator-jkfY1b5y.mjs.map} +1 -1
- package/lib/glb-viewer-B9-VYIi2.mjs +3 -0
- package/lib/{glb-viewer-Bzphu_lz.mjs → glb-viewer-DoM6-7Kf.mjs} +3 -3
- package/lib/{glb-viewer-Bzphu_lz.mjs.map → glb-viewer-DoM6-7Kf.mjs.map} +1 -1
- package/lib/{homag-intelligence-Bw-mJJwG.mjs → homag-intelligence-BvEIC4Sg.mjs} +3 -3
- package/lib/{homag-intelligence-Bw-mJJwG.mjs.map → homag-intelligence-BvEIC4Sg.mjs.map} +1 -1
- package/lib/{material-viewer-CY49RhiC.mjs → material-viewer-B1Qh9EMt.mjs} +3 -3
- package/lib/{material-viewer-CY49RhiC.mjs.map → material-viewer-B1Qh9EMt.mjs.map} +1 -1
- package/lib/{packages-D8YV3OnS.mjs → packages-CaHy27Po.mjs} +5 -5
- package/lib/{packages-D8YV3OnS.mjs.map → packages-CaHy27Po.mjs.map} +1 -1
- package/lib/planner-B4_PoCyq.mjs +3 -0
- package/lib/{planner-B-EAP7Cc.mjs → planner-BB1NDAKt.mjs} +3 -3
- package/lib/{planner-B-EAP7Cc.mjs.map → planner-BB1NDAKt.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +3 -0
- package/lib/roomle-headless.js +7 -7
- package/lib/{roomle-sdk-8VVPfbDD.mjs → roomle-sdk-DfS6QwCf.mjs} +13 -13
- package/lib/{roomle-sdk-8VVPfbDD.mjs.map → roomle-sdk-DfS6QwCf.mjs.map} +1 -1
- package/lib/roomle-sdk.d.ts +3 -0
- package/lib/roomle-sdk.js +6 -6
- package/lib/{script-loader-BbtPLVDR.mjs → script-loader-BBj6hFD3.mjs} +2 -2
- package/lib/{script-loader-BbtPLVDR.mjs.map → script-loader-BBj6hFD3.mjs.map} +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +3 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{tools-core-BdbHH_Vh.mjs → tools-core-BUWB0g7Y.mjs} +3 -3
- package/lib/{tools-core-BdbHH_Vh.mjs.map → tools-core-BUWB0g7Y.mjs.map} +1 -1
- package/package.json +2 -2
- package/sbom.cdx.json +5 -5
- package/lib/configurator-C0zOzynv.mjs +0 -3
- package/lib/configurator-capabilities-DIAH0S8t.mjs +0 -3
- package/lib/glb-viewer-B_A_6G4z.mjs +0 -3
- package/lib/planner-ApAenIGG.mjs +0 -3
package/lib/roomle-headless.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { a as e, i as t, n, r, t as i } from "./packages-
|
|
2
|
+
import { a as e, i as t, n, r, t as i } from "./packages-CaHy27Po.mjs";
|
|
3
3
|
import { i as a, t as o } from "./kernel-2ku6lFfE.mjs";
|
|
4
4
|
import { Ot as s, Tt as c, wt as l } from "./threejs-utils-D1gtvxiA.mjs";
|
|
5
5
|
import { m as u, nt as d, wi as f } from "./three.core-BpdpLVZy.mjs";
|
|
6
6
|
import { i as p } from "./decorate-CooD7C6J.mjs";
|
|
7
7
|
import { D as ee, H as m, g as te } from "./common-utils-zPOllvAT.mjs";
|
|
8
|
-
import { A as ne, C as re, G as ie, H as ae, J as oe, K as se, O as ce, V as le, X as ue, Y as h, Z as de, _ as fe, _t as pe, b as me, bt as he, c as ge, dt as g, f as _e, ft as _, gt as ve, ht as ye, i as v, j as y, k as b, l as x, m as S, mt as C, o as w, p as T, pt as E, q as D, r as O, s as k, t as A, u as j, ut as M, v as N, y as P, z as be } from "./roomle-sdk-
|
|
8
|
+
import { A as ne, C as re, G as ie, H as ae, J as oe, K as se, O as ce, V as le, X as ue, Y as h, Z as de, _ as fe, _t as pe, b as me, bt as he, c as ge, dt as g, f as _e, ft as _, gt as ve, ht as ye, i as v, j as y, k as b, l as x, m as S, mt as C, o as w, p as T, pt as E, q as D, r as O, s as k, t as A, u as j, ut as M, v as N, y as P, z as be } from "./roomle-sdk-DfS6QwCf.mjs";
|
|
9
9
|
import { n as xe } from "./roomle-renderer-hDktY-wA.mjs";
|
|
10
|
-
import { n as Se } from "./script-loader-
|
|
11
|
-
import { t as Ce } from "./configurator-
|
|
12
|
-
import { t as we } from "./planner-
|
|
13
|
-
import { n as Te, t as Ee } from "./glb-viewer-
|
|
14
|
-
import { t as De } from "./api-
|
|
10
|
+
import { n as Se } from "./script-loader-BBj6hFD3.mjs";
|
|
11
|
+
import { t as Ce } from "./configurator-jkfY1b5y.mjs";
|
|
12
|
+
import { t as we } from "./planner-BB1NDAKt.mjs";
|
|
13
|
+
import { n as Te, t as Ee } from "./glb-viewer-DoM6-7Kf.mjs";
|
|
14
|
+
import { t as De } from "./api-BngprCu5.mjs";
|
|
15
15
|
import { t as Oe } from "./roomle-headless-setup-Cbu025cl.mjs";
|
|
16
16
|
import { createRequire as ke } from "module";
|
|
17
17
|
//#region packages/headless-core/src/headless-tween-stub.ts
|
|
@@ -41404,7 +41404,7 @@ var df = (e, t) => !e.sort && !t.sort ? 0 : e.sort ? t.sort ? e.sort - t.sort :
|
|
|
41404
41404
|
};
|
|
41405
41405
|
}
|
|
41406
41406
|
async getConfiguratorAgentPrompts() {
|
|
41407
|
-
let { getConfiguratorAgentPrompts: e } = await import("./agent-prompts-
|
|
41407
|
+
let { getConfiguratorAgentPrompts: e } = await import("./agent-prompts-CcwnXAhR.mjs"), t, n = !1;
|
|
41408
41408
|
try {
|
|
41409
41409
|
let e = await this.queryConfigurationOperation("productContext");
|
|
41410
41410
|
t = e.product, n = e.unresolved.length === 0;
|
|
@@ -41420,15 +41420,15 @@ var df = (e, t) => !e.sort && !t.sort ? 0 : e.sort ? t.sort ? e.sort - t.sort :
|
|
|
41420
41420
|
}), this._configuratorAgentTools;
|
|
41421
41421
|
}
|
|
41422
41422
|
async getConfiguratorCapabilities(e) {
|
|
41423
|
-
let { collectConfiguratorCapabilities: t } = await import("./configurator-capabilities-
|
|
41423
|
+
let { collectConfiguratorCapabilities: t } = await import("./configurator-capabilities-Wcmqit2B.mjs");
|
|
41424
41424
|
return t(this._configuratorContext, this._plannerKernelAccess, this._rapiAccess, e);
|
|
41425
41425
|
}
|
|
41426
41426
|
async queryConfigurationOperation(e, t) {
|
|
41427
|
-
let { queryConfigurationOperation: n } = await import("./configuration-operations-
|
|
41427
|
+
let { queryConfigurationOperation: n } = await import("./configuration-operations-CbqNZZmc.mjs");
|
|
41428
41428
|
return n(this._configuratorContext, this._plannerKernelAccess, this._rapiAccess, this, e, t);
|
|
41429
41429
|
}
|
|
41430
41430
|
async executeConfigurationOperation(e, t) {
|
|
41431
|
-
let { executeConfigurationOperation: n } = await import("./configuration-operations-
|
|
41431
|
+
let { executeConfigurationOperation: n } = await import("./configuration-operations-CbqNZZmc.mjs");
|
|
41432
41432
|
return n(this._configuratorContext, this._plannerKernelAccess, this._rapiAccess, this, () => this._sceneManager.getConfigurationHistoryState(), e, t);
|
|
41433
41433
|
}
|
|
41434
41434
|
getParametersOfPlanObject() {
|
|
@@ -54443,7 +54443,7 @@ var ey = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
54443
54443
|
async switchToConfigurator() {
|
|
54444
54444
|
let e = await this._singlePromiseFactory.create(Bo.START_HSC, "startHSC", (e) => {
|
|
54445
54445
|
if (this._hscInstance) return e(this._hscInstance);
|
|
54446
|
-
import("./configurator-
|
|
54446
|
+
import("./configurator-DX-SJ2DK.mjs").then(({ Configurator: t }) => {
|
|
54447
54447
|
let n = new t(this._creator_);
|
|
54448
54448
|
n.boot({
|
|
54449
54449
|
kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
|
|
@@ -54461,7 +54461,7 @@ var ey = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
54461
54461
|
async switchToViewer() {
|
|
54462
54462
|
let e = await this._singlePromiseFactory.create(Bo.START_GLB, "startGLB", (e) => {
|
|
54463
54463
|
if (this._glbInstance) return e(this._glbInstance);
|
|
54464
|
-
import("./glb-viewer-
|
|
54464
|
+
import("./glb-viewer-B9-VYIi2.mjs").then((t) => {
|
|
54465
54465
|
let n = new t.GlbViewer(this._creator_);
|
|
54466
54466
|
n.boot(), n.getApi().setOverrides(this._initData);
|
|
54467
54467
|
let r = this._domHelper.element;
|
|
@@ -55574,7 +55574,7 @@ var ey = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
55574
55574
|
globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
|
|
55575
55575
|
}, "*", [t.port2]);
|
|
55576
55576
|
let n = Fv(t.port1), r = null;
|
|
55577
|
-
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new $v(this._creator_, r)), await new (await (import("./homag-intelligence-
|
|
55577
|
+
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new $v(this._creator_, r)), await new (await (import("./homag-intelligence-BvEIC4Sg.mjs"))).HomagIntelligence(this, e, n, () => this._plannerKernelAccess.arrangementCorrectionEnabled).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
|
|
55578
55578
|
}
|
|
55579
55579
|
async _loadHomagIntelligenceArticles(e, t) {
|
|
55580
55580
|
let n = this._homagIntelligence;
|
|
@@ -66070,7 +66070,7 @@ var nA = [
|
|
|
66070
66070
|
static getConfigurator(e, t) {
|
|
66071
66071
|
t = this._setupDI(X.CONFIGURATOR, e, t);
|
|
66072
66072
|
let n = rA.lookup("global-init-data");
|
|
66073
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-
|
|
66073
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-DX-SJ2DK.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
66074
66074
|
}
|
|
66075
66075
|
static getPlanner(e, t) {
|
|
66076
66076
|
return this._getPlanner(e, t);
|
|
@@ -66081,15 +66081,15 @@ var nA = [
|
|
|
66081
66081
|
static async getGlbViewer(e, t) {
|
|
66082
66082
|
t = this._setupDI(X.GLB_VIEWER, e, t);
|
|
66083
66083
|
let n = rA.lookup("global-init-data");
|
|
66084
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-
|
|
66084
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-B9-VYIi2.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
66085
66085
|
}
|
|
66086
66086
|
static getMaterialViewer(e, t) {
|
|
66087
66087
|
t = this._setupDI(X.CONFIGURATOR, e, t);
|
|
66088
66088
|
let n = rA.lookup("global-init-data");
|
|
66089
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-
|
|
66089
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-B1Qh9EMt.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
66090
66090
|
}
|
|
66091
66091
|
static getCoreTools(e, t) {
|
|
66092
|
-
return t = this._setupDI(X.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-
|
|
66092
|
+
return t = this._setupDI(X.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-BUWB0g7Y.mjs").then(({ ToolsCore: n }) => {
|
|
66093
66093
|
let r = new n(t);
|
|
66094
66094
|
r.boot(), e(r);
|
|
66095
66095
|
}, n));
|
|
@@ -66117,7 +66117,7 @@ var nA = [
|
|
|
66117
66117
|
}
|
|
66118
66118
|
static _getPlanner(e, t, n) {
|
|
66119
66119
|
let r = this._setupDI(X.PLANNER, e, t), i = rA.lookup("global-init-data");
|
|
66120
|
-
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-
|
|
66120
|
+
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-B4_PoCyq.mjs").then(({ Planner: t }) => {
|
|
66121
66121
|
e(n ? new t(r, n) : new t(r));
|
|
66122
66122
|
}, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
66123
66123
|
}
|
|
@@ -66134,4 +66134,4 @@ var nA = [
|
|
|
66134
66134
|
//#endregion
|
|
66135
66135
|
export { wl as $, Tm as A, gf as B, ug as C, Jm as D, rh as E, rp as F, Md as G, nf as H, Y as I, Hu as J, md as K, Jf as L, Op as M, Cp as N, Wm as O, bp as P, Pl as Q, Wf as R, dg as S, rg as T, Kd as U, hf as V, zd as W, Nu as X, Iu as Y, Eu as Z, yg as _, Wa as _t, hO as a, vs as at, gg as b, Ma as bt, Wy as c, ts as ct, Ay as d, H as dt, _l as et, Dy as f, U as ft, Og as g, Ao as gt, xv as h, jo as ht, bO as i, K as it, X as j, wm as k, Uy as l, Bo as lt, Sv as m, Fo as mt, rA as n, fl as nt, FS as o, is as ot, cy as p, Io as pt, rd as q, nA as r, Zc as rt, IS as s, rs as st, iA as t, hl as tt, Hy as u, zo as ut, _g as v, Ra as vt, ig as w, mg as x, vg as y, Na as yt, Uf as z };
|
|
66136
66136
|
|
|
66137
|
-
//# sourceMappingURL=roomle-sdk-
|
|
66137
|
+
//# sourceMappingURL=roomle-sdk-DfS6QwCf.mjs.map
|