@roomle/web-sdk 5.1.0-alpha.3 → 5.1.0-alpha.4
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/ConfiguratorKernel.wasm +0 -0
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-KWh-ESd5.mjs → api-Bznmr-xZ.mjs} +2 -2
- package/lib/{api-KWh-ESd5.mjs.map → api-Bznmr-xZ.mjs.map} +1 -1
- package/lib/asset-loader.worker-CzI1oyTY.mjs.map +1 -1
- package/lib/budgeteer.sw-D80jTmYa.mjs.map +1 -1
- package/lib/{component-dimensioning-luQ3LgrU.mjs → component-dimensioning-BaUqwqYJ.mjs} +2 -2
- package/lib/{component-dimensioning-luQ3LgrU.mjs.map → component-dimensioning-BaUqwqYJ.mjs.map} +1 -1
- package/lib/{component-raycast-helper-hj6sm7jw.mjs → component-raycast-helper-4i8b4E5B.mjs} +2 -2
- package/lib/{component-raycast-helper-hj6sm7jw.mjs.map → component-raycast-helper-4i8b4E5B.mjs.map} +1 -1
- package/lib/configurator-BYQdWEvf.mjs +2 -0
- package/lib/{configurator-CQ7KsW0O.mjs → configurator-CDw_c6tB.mjs} +4 -4
- package/lib/{configurator-CQ7KsW0O.mjs.map → configurator-CDw_c6tB.mjs.map} +1 -1
- package/lib/{glb-viewer-BWMMzvuG.mjs → glb-viewer-B-Zr743e.mjs} +4 -4
- package/lib/{glb-viewer-BWMMzvuG.mjs.map → glb-viewer-B-Zr743e.mjs.map} +1 -1
- package/lib/glb-viewer-Bd5Xn6Oq.mjs +2 -0
- package/lib/{highlight-coordinator-DYjBxYpy.mjs → highlight-coordinator-4gkjde82.mjs} +2 -2
- package/lib/{highlight-coordinator-DYjBxYpy.mjs.map → highlight-coordinator-4gkjde82.mjs.map} +1 -1
- package/lib/{homag-intelligence-lbse0Y0v.mjs → homag-intelligence-D7S7r-Gc.mjs} +3 -3
- package/lib/{homag-intelligence-lbse0Y0v.mjs.map → homag-intelligence-D7S7r-Gc.mjs.map} +1 -1
- package/lib/kernel-BWfRHWkW.mjs.map +1 -1
- package/lib/{material-viewer-BKTxh5Ui.mjs → material-viewer-CTsSfTfL.mjs} +4 -4
- package/lib/{material-viewer-BKTxh5Ui.mjs.map → material-viewer-CTsSfTfL.mjs.map} +1 -1
- package/lib/{packages-B4K6xrdJ.mjs → packages-BXAZEcKa.mjs} +5 -5
- package/lib/{packages-B4K6xrdJ.mjs.map → packages-BXAZEcKa.mjs.map} +1 -1
- package/lib/planner-DMk3T4ts.mjs +2 -0
- package/lib/{planner-HMMHSMAp.mjs → planner-jvLAnYww.mjs} +3 -3
- package/lib/{planner-HMMHSMAp.mjs.map → planner-jvLAnYww.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +21 -4
- package/lib/roomle-headless.js +8 -8
- package/lib/roomle-renderer-Ato6RMrd.mjs.map +1 -1
- package/lib/{roomle-sdk-5aB4wxLW.mjs → roomle-sdk-CBwhwX_e.mjs} +1263 -1226
- package/lib/roomle-sdk-CBwhwX_e.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +21 -4
- package/lib/roomle-sdk.js +7 -7
- package/lib/{scene-renderer-DXvavD4L.mjs → scene-renderer-BHYZac3H.mjs} +2 -2
- package/lib/{scene-renderer-DXvavD4L.mjs.map → scene-renderer-BHYZac3H.mjs.map} +1 -1
- package/lib/{script-loader-axxcKvph.mjs → script-loader-CvnG6LgL.mjs} +2 -2
- package/lib/{script-loader-axxcKvph.mjs.map → script-loader-CvnG6LgL.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/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/{stats-helper-BSmoG68E.mjs → stats-helper-PndcZCzL.mjs} +2 -2
- package/lib/{stats-helper-BSmoG68E.mjs.map → stats-helper-PndcZCzL.mjs.map} +1 -1
- package/lib/{threejs-utils-CLdyrCet.mjs → threejs-utils-v1uOvccg.mjs} +171 -180
- package/lib/threejs-utils-v1uOvccg.mjs.map +1 -0
- package/lib/{tools-core-DusxT3AY.mjs → tools-core-B29U-88K.mjs} +3 -3
- package/lib/{tools-core-DusxT3AY.mjs.map → tools-core-B29U-88K.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-ymHt9qjg.mjs +0 -2
- package/lib/glb-viewer-D5QHd6Da.mjs +0 -2
- package/lib/planner-BM825oIz.mjs +0 -2
- package/lib/roomle-sdk-5aB4wxLW.mjs.map +0 -1
- package/lib/threejs-utils-CLdyrCet.mjs.map +0 -1
package/lib/roomle-sdk.d.ts
CHANGED
|
@@ -1408,6 +1408,7 @@ export declare interface ConfiguratorKernelClass {
|
|
|
1408
1408
|
getPlanObjectParameters(planObjectId: number): KernelParameter[];
|
|
1409
1409
|
getCommonPlanObjectParameters(planObjectIds: EmsArray<number>): KernelParameter[];
|
|
1410
1410
|
getPlanObjectAnimations(planObjectId: number): KernelAnimation[];
|
|
1411
|
+
getPlanViews(planObjectId: number): KernelConfigurationPlanView[];
|
|
1411
1412
|
setPlanObjectParameter(planObjectId: number, parameterKey: string, value: string): void;
|
|
1412
1413
|
setPlanObjectsParameter(planObjectIds: any, parameterKey: string, value: string): void;
|
|
1413
1414
|
dockComponent(childId: number, childDockId: number, parentId: number, parentDockId: number, position?: KernelVector3): void;
|
|
@@ -2674,6 +2675,7 @@ export declare interface Element_2 {
|
|
|
2674
2675
|
export declare interface ElevationPlan {
|
|
2675
2676
|
planSvg: string;
|
|
2676
2677
|
viewType?: PlanViewType;
|
|
2678
|
+
label: string;
|
|
2677
2679
|
}
|
|
2678
2680
|
|
|
2679
2681
|
export declare interface ElevationPlans {
|
|
@@ -4469,6 +4471,13 @@ export declare interface KernelConfiguration {
|
|
|
4469
4471
|
children: KernelConfiguration[];
|
|
4470
4472
|
}
|
|
4471
4473
|
|
|
4474
|
+
export declare interface KernelConfigurationPlanView {
|
|
4475
|
+
viewType: PlanViewType;
|
|
4476
|
+
lineOfSight: KernelVector3f;
|
|
4477
|
+
enabled: boolean;
|
|
4478
|
+
label: string | null;
|
|
4479
|
+
}
|
|
4480
|
+
|
|
4472
4481
|
export declare interface KernelCube {
|
|
4473
4482
|
origin: KernelVector3;
|
|
4474
4483
|
size: KernelVector3;
|
|
@@ -8201,11 +8210,12 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
8201
8210
|
private _onInitDone;
|
|
8202
8211
|
constructor(creator: string, activePlugins?: P);
|
|
8203
8212
|
/**
|
|
8204
|
-
* Creates the 2D plans of the current configuration: the
|
|
8205
|
-
*
|
|
8206
|
-
* raw SVG markup (wireframe
|
|
8213
|
+
* Creates the 2D plans of the current configuration: the enabled plan views its root
|
|
8214
|
+
* component defines, or the floor plan, the front elevation and the side elevation seen
|
|
8215
|
+
* from the left when it defines none. Each plan is returned as raw SVG markup (wireframe
|
|
8216
|
+
* rendering with dimensionings).
|
|
8207
8217
|
*
|
|
8208
|
-
* @returns the plans, each containing its SVG markup
|
|
8218
|
+
* @returns the plans, each containing its SVG markup, its view type and its label
|
|
8209
8219
|
*/
|
|
8210
8220
|
create2DPlanViews(): Promise<ElevationPlans>;
|
|
8211
8221
|
/**
|
|
@@ -11208,6 +11218,7 @@ export declare class WebGpuGroundReflectionConfig implements WebGpuGroundReflect
|
|
|
11208
11218
|
intensity: number;
|
|
11209
11219
|
startFadeout: number;
|
|
11210
11220
|
endFadeout: number;
|
|
11221
|
+
reflectionScale: number;
|
|
11211
11222
|
}
|
|
11212
11223
|
|
|
11213
11224
|
export declare interface WebGpuGroundReflectionConfigDefinition {
|
|
@@ -11234,6 +11245,12 @@ export declare interface WebGpuGroundReflectionConfigDefinition {
|
|
|
11234
11245
|
* @default 0.15
|
|
11235
11246
|
*/
|
|
11236
11247
|
endFadeout?: number;
|
|
11248
|
+
/**
|
|
11249
|
+
* @description How much the resolution of the scene is scaled by for the reflection resolution
|
|
11250
|
+
* If transmissive objects are not in use, this can be set to a lower value like 0.5 to improve performance.
|
|
11251
|
+
* @default 1
|
|
11252
|
+
*/
|
|
11253
|
+
reflectionScale?: number;
|
|
11237
11254
|
}
|
|
11238
11255
|
|
|
11239
11256
|
export declare class WebGpuSkyConfig implements WebGpuSkyConfigDefinition {
|
package/lib/roomle-sdk.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./packages-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./packages-BXAZEcKa.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import { ht as s, yt as c } from "./threejs-utils-
|
|
4
|
-
import { F as l, G as u, J as d, K as f, M as p, N as m, P as h, S as g, W as _, b as v, ct as y, dt as b, j as x, k as S, lt as C, mt as w, q as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-
|
|
5
|
-
import { t as M } from "./configurator-
|
|
6
|
-
import { t as N } from "./planner-
|
|
7
|
-
import { n as P, t as F } from "./glb-viewer-
|
|
8
|
-
import { t as I } from "./api-
|
|
3
|
+
import { ht as s, yt as c } from "./threejs-utils-v1uOvccg.mjs";
|
|
4
|
+
import { F as l, G as u, J as d, K as f, M as p, N as m, P as h, S as g, W as _, b as v, ct as y, dt as b, j as x, k as S, lt as C, mt as w, q as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-CBwhwX_e.mjs";
|
|
5
|
+
import { t as M } from "./configurator-CDw_c6tB.mjs";
|
|
6
|
+
import { t as N } from "./planner-jvLAnYww.mjs";
|
|
7
|
+
import { n as P, t as F } from "./glb-viewer-B-Zr743e.mjs";
|
|
8
|
+
import { t as I } from "./api-Bznmr-xZ.mjs";
|
|
9
9
|
export { o as CONFIGURATION_TYPE, s as CORE_EDGE_TYPE, c as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, M as Configurator, x as FloorPlanElementViewModel, F as GlbViewer, j as HI_CONTEXT_ACTION, g as MeasurementLinePlanElementViewModel, A as PLAN_ELEMENT_CHANGE_TYPES, l as PlanElementViewModel, h as PlanObjectViewModel, N as Planner, y as RapiAccess, C as RapiInvalidIdError, O as RapiOfflineError, I as RoomDesignerApi, S as RoomleConfigurator, P as RoomleGLBViewer, w as RoomleLightSource, D as RoomlePlanner, E as RoomleSdk, m as StaticPlanObjectViewModel, p as WallPlanElementViewModel, _ as createExtObj, d as createExtObjId, b as getCatalogIdFromConfigurationHash, u as isExtObjId, f as isExternalObject, v as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, k as isSafari, T as removeExtObjIdPrefix };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./threejs-utils-
|
|
1
|
+
import { j as e } from "./threejs-utils-v1uOvccg.mjs";
|
|
2
2
|
import { An as t, Ci as n, Di as r, E as i, En as a, Gn as o, J as s, Mr as c, On as l, S as u, Si as d, Tr as f, Ur as p, V as m, Vt as h, Wr as g, Y as _, Z as v, _n as ee, at as te, bn as y, cn as b, ct as x, en as ne, f as re, fn as ie, gi as ae, gn as oe, h as se, hn as ce, ht as le, kr as ue, ln as S, mi as C, mn as de, mt as fe, ni as pe, oi as me, pi as w, qt as T, si as he, sn as E, st as ge, un as _e, w as D, wi as O, y as ve, z as ye, zt as be } from "./three.core-0KaTx8dm.mjs";
|
|
3
3
|
import { r as xe } from "./three.module-dym6j3lO.mjs";
|
|
4
4
|
import { C as Se, D as Ce, E as we, O as k, S as A, T as Te, _ as Ee, a as De, b as j, d as Oe, f as M, g as N, h as ke, i as Ae, l as P, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as Le, u as F, v as Re, w as I, x as L, y as R } from "./shading-settings-BBhR7KcS.mjs";
|
|
@@ -2570,4 +2570,4 @@ He([Ve, Be("design:type", Object)], Zt.prototype, "_initData", void 0);
|
|
|
2570
2570
|
//#endregion
|
|
2571
2571
|
export { ft as a, Mt as i, Zt as n, q as o, Q as r, Xt as t };
|
|
2572
2572
|
|
|
2573
|
-
//# sourceMappingURL=scene-renderer-
|
|
2573
|
+
//# sourceMappingURL=scene-renderer-BHYZac3H.mjs.map
|