@roomle/web-sdk 4.3.0-alpha.1 → 4.3.0-alpha.3
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.js +3 -3
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-C0UElaCW.mjs → api-1PNZF4e6.mjs} +2 -2
- package/lib/{api-C0UElaCW.mjs.map → api-1PNZF4e6.mjs.map} +1 -1
- package/lib/asset-loader.worker-eqHzNAwa.mjs.map +1 -1
- package/lib/banana-for-scale-DGYmxeBG.mjs.map +1 -1
- package/lib/budgeteer.sw-BUMElkO1.mjs.map +1 -1
- package/lib/{component-dimensioning--4sX2AgY.mjs → component-dimensioning-BXN285kw.mjs} +2 -2
- package/lib/{component-dimensioning--4sX2AgY.mjs.map → component-dimensioning-BXN285kw.mjs.map} +1 -1
- package/lib/{component-raycast-helper-CskJedpv.mjs → component-raycast-helper-CADFRMLS.mjs} +2 -2
- package/lib/{component-raycast-helper-CskJedpv.mjs.map → component-raycast-helper-CADFRMLS.mjs.map} +1 -1
- package/lib/configurator-5BzSqk39.mjs +2 -0
- package/lib/{configurator-vxRFxJ-B.mjs → configurator-BMXr72V6.mjs} +4 -4
- package/lib/{configurator-vxRFxJ-B.mjs.map → configurator-BMXr72V6.mjs.map} +1 -1
- package/lib/glb-viewer-B3hqfiM6.mjs +2 -0
- package/lib/{glb-viewer-B-r0E1aa.mjs → glb-viewer-CFMOHQk3.mjs} +4 -4
- package/lib/{glb-viewer-B-r0E1aa.mjs.map → glb-viewer-CFMOHQk3.mjs.map} +1 -1
- package/lib/{highlight-coordinator-CR5rcFh_.mjs → highlight-coordinator-RCfVwPHC.mjs} +2 -2
- package/lib/{highlight-coordinator-CR5rcFh_.mjs.map → highlight-coordinator-RCfVwPHC.mjs.map} +1 -1
- package/lib/{homag-intelligence-DHTCBB64.mjs → homag-intelligence-BcNm3Zg8.mjs} +3 -3
- package/lib/{homag-intelligence-DHTCBB64.mjs.map → homag-intelligence-BcNm3Zg8.mjs.map} +1 -1
- package/lib/{material-viewer-ZlNDhA8D.mjs → material-viewer-DlLHNvj_.mjs} +4 -4
- package/lib/{material-viewer-ZlNDhA8D.mjs.map → material-viewer-DlLHNvj_.mjs.map} +1 -1
- package/lib/{packages-C9J0u-cc.mjs → packages-BKnJk02a.mjs} +5 -5
- package/lib/{packages-C9J0u-cc.mjs.map → packages-BKnJk02a.mjs.map} +1 -1
- package/lib/{planner-ClY-VUWt.mjs → planner-BLcwLi9h.mjs} +3 -3
- package/lib/{planner-ClY-VUWt.mjs.map → planner-BLcwLi9h.mjs.map} +1 -1
- package/lib/planner-CgL9JfFb.mjs +2 -0
- package/lib/roomle-headless.d.ts +42 -11
- package/lib/roomle-headless.js +8 -8
- package/lib/{roomle-sdk-BpCPIwDm.mjs → roomle-sdk-DdQjEWNK.mjs} +2628 -2627
- package/lib/{roomle-sdk-BpCPIwDm.mjs.map → roomle-sdk-DdQjEWNK.mjs.map} +1 -1
- package/lib/roomle-sdk.d.ts +42 -11
- package/lib/roomle-sdk.js +7 -7
- package/lib/{scene-renderer-CLkhNnnv.mjs → scene-renderer-CSBoi_8w.mjs} +2 -2
- package/lib/{scene-renderer-CLkhNnnv.mjs.map → scene-renderer-CSBoi_8w.mjs.map} +1 -1
- package/lib/{script-loader-9GrUxzSB.mjs → script-loader-Binkn2lL.mjs} +2 -2
- package/lib/{script-loader-9GrUxzSB.mjs.map → script-loader-Binkn2lL.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 +35 -8
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js +6 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +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.js +3 -3
- 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-D9l8soWd.mjs → stats-helper-P4jYV8as.mjs} +2 -2
- package/lib/{stats-helper-D9l8soWd.mjs.map → stats-helper-P4jYV8as.mjs.map} +1 -1
- package/lib/{threejs-utils-CKV1QNU9.mjs → threejs-utils-DKJ0uer7.mjs} +89 -86
- package/lib/threejs-utils-DKJ0uer7.mjs.map +1 -0
- package/lib/{tools-core-CKaB3WsP.mjs → tools-core-C8T-y6HX.mjs} +3 -3
- package/lib/{tools-core-CKaB3WsP.mjs.map → tools-core-C8T-y6HX.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-CjFo24FH.mjs +0 -2
- package/lib/glb-viewer-BnJkmakv.mjs +0 -2
- package/lib/planner-C-5Mg-Lv.mjs +0 -2
- package/lib/threejs-utils-CKV1QNU9.mjs.map +0 -1
package/lib/roomle-sdk.d.ts
CHANGED
|
@@ -2286,6 +2286,11 @@ export declare const CORE_PLAN_ROOM_GEOMETRY_MODE: {
|
|
|
2286
2286
|
readonly PLAN: 2;
|
|
2287
2287
|
};
|
|
2288
2288
|
|
|
2289
|
+
export declare const CORE_PLAN_VIEW_TYPE: {
|
|
2290
|
+
readonly FLOOR: 0;
|
|
2291
|
+
readonly ELEVATION: 1;
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2289
2294
|
export declare const CORE_SNAP_STATE: {
|
|
2290
2295
|
readonly DEFAULT: 0;
|
|
2291
2296
|
readonly DOCKING: 1;
|
|
@@ -2640,6 +2645,11 @@ export declare interface DynamicLightSettingSource {
|
|
|
2640
2645
|
ls?: PreDefinedLightSettings;
|
|
2641
2646
|
}
|
|
2642
2647
|
|
|
2648
|
+
export declare interface EdgeDeflection {
|
|
2649
|
+
connectionPosition: KernelVector3f;
|
|
2650
|
+
deflectionAngleInRadians: number;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2643
2653
|
export declare interface EdgeType {
|
|
2644
2654
|
value: Enumify<typeof CORE_EDGE_TYPE>;
|
|
2645
2655
|
}
|
|
@@ -2652,6 +2662,7 @@ export declare interface Element_2 {
|
|
|
2652
2662
|
|
|
2653
2663
|
export declare interface ElevationPlan {
|
|
2654
2664
|
planSvg: string;
|
|
2665
|
+
viewType?: PlanViewType;
|
|
2655
2666
|
}
|
|
2656
2667
|
|
|
2657
2668
|
export declare interface ElevationPlans {
|
|
@@ -2669,12 +2680,6 @@ export declare interface ElevationProfilePoint {
|
|
|
2669
2680
|
slopeAngleInRadians: number;
|
|
2670
2681
|
}
|
|
2671
2682
|
|
|
2672
|
-
export declare interface ElevationView {
|
|
2673
|
-
lineOfSight: KernelVector3f;
|
|
2674
|
-
objects: PlanObject[];
|
|
2675
|
-
profile: ElevationProfile;
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2678
2683
|
export declare class EmsArray<T> {
|
|
2679
2684
|
get(index: number): T;
|
|
2680
2685
|
push_back(element: T): void;
|
|
@@ -3403,6 +3408,18 @@ export declare class FloorMaterial extends BaseMaterial {
|
|
|
3403
3408
|
rotation(): KernelVector3f;
|
|
3404
3409
|
}
|
|
3405
3410
|
|
|
3411
|
+
export declare interface FloorPlanEdge {
|
|
3412
|
+
id: number;
|
|
3413
|
+
start: KernelVector3f;
|
|
3414
|
+
end: KernelVector3f;
|
|
3415
|
+
startDeflection?: EdgeDeflection | null;
|
|
3416
|
+
endDeflection?: EdgeDeflection | null;
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
export declare interface FloorPlanEdges {
|
|
3420
|
+
edges: FloorPlanEdge[];
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3406
3423
|
export declare class FloorPlanElementViewModel extends PlanElementViewModel {
|
|
3407
3424
|
constructor(planObject: PlanObject);
|
|
3408
3425
|
addMesh(mesh: Mesh): void;
|
|
@@ -5726,7 +5743,7 @@ export declare interface PlanModelViewHelper_2 {
|
|
|
5726
5743
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
5727
5744
|
calculateLightSourceDistribution(plan: Plan_2, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
5728
5745
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
5729
|
-
|
|
5746
|
+
getPlanViews(plan: Plan_2): PlanView[];
|
|
5730
5747
|
}
|
|
5731
5748
|
|
|
5732
5749
|
export declare class Planner<P extends readonly PluginName[] = readonly []> extends Main {
|
|
@@ -6630,6 +6647,15 @@ export declare abstract class PlanText extends PlanElement {
|
|
|
6630
6647
|
getText(): string;
|
|
6631
6648
|
}
|
|
6632
6649
|
|
|
6650
|
+
export declare interface PlanView {
|
|
6651
|
+
id: number;
|
|
6652
|
+
viewType: PlanViewType;
|
|
6653
|
+
lineOfSight: KernelVector3f;
|
|
6654
|
+
objects: PlanObject[];
|
|
6655
|
+
profile: ElevationProfile;
|
|
6656
|
+
floorPlanEdges: FloorPlanEdges;
|
|
6657
|
+
}
|
|
6658
|
+
|
|
6633
6659
|
export declare class PlanViewModel extends ConfiguratorViewModel implements PlannerKernelCallbackI {
|
|
6634
6660
|
private _plannerMeshGenerator;
|
|
6635
6661
|
private _roomlePlannerUiCallback;
|
|
@@ -6783,6 +6809,10 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6783
6809
|
externalObjectRemoveSubModule(_groupId: string, _subModuleId: string): void;
|
|
6784
6810
|
}
|
|
6785
6811
|
|
|
6812
|
+
export declare interface PlanViewType {
|
|
6813
|
+
value: Enumify<typeof CORE_PLAN_VIEW_TYPE>;
|
|
6814
|
+
}
|
|
6815
|
+
|
|
6786
6816
|
export declare interface PluginConfigMap {
|
|
6787
6817
|
'external-objects': RapiConfigurationEnhanced | ExternalConfiguration;
|
|
6788
6818
|
}
|
|
@@ -9093,15 +9123,16 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
9093
9123
|
private _createPlanFromElement;
|
|
9094
9124
|
loadPlanXml(xml: string, options?: InitDataDefinition & GlobalInitDataDefinition): Promise<void>;
|
|
9095
9125
|
/**
|
|
9096
|
-
* Creates 2D
|
|
9097
|
-
*
|
|
9126
|
+
* Creates the 2D plans of the current plan: the floor plan of the whole
|
|
9127
|
+
* construction first, then one elevation plan per construction edge. Each
|
|
9128
|
+
* plan is returned as raw SVG markup (wireframe rendering with
|
|
9098
9129
|
* dimensionings).
|
|
9099
9130
|
*
|
|
9100
|
-
* @returns the
|
|
9131
|
+
* @returns the plans, each containing its SVG markup and its view type
|
|
9101
9132
|
*/
|
|
9102
9133
|
create2DElevationPlan(): Promise<ElevationPlans>;
|
|
9103
9134
|
/**
|
|
9104
|
-
* Creates the 2D
|
|
9135
|
+
* Creates the 2D plans of the current plan (see
|
|
9105
9136
|
* {@link create2DElevationPlan}) and downloads each plan as an SVG file.
|
|
9106
9137
|
*/
|
|
9107
9138
|
download2DElevationPlan(): Promise<void>;
|
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-BKnJk02a.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import { mt as s, vt 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 { mt as s, vt as c } from "./threejs-utils-DKJ0uer7.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-DdQjEWNK.mjs";
|
|
5
|
+
import { t as M } from "./configurator-BMXr72V6.mjs";
|
|
6
|
+
import { t as N } from "./planner-BLcwLi9h.mjs";
|
|
7
|
+
import { n as P, t as F } from "./glb-viewer-CFMOHQk3.mjs";
|
|
8
|
+
import { t as I } from "./api-1PNZF4e6.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 { k as e } from "./threejs-utils-
|
|
1
|
+
import { k as e } from "./threejs-utils-DKJ0uer7.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 ee, _n as v, 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 w, oi as pe, pi as T, qt as E, si as me, sn as D, st as he, un as ge, w as O, wi as k, y as _e, z as A, zt as ve } from "./three.core-0KaTx8dm.mjs";
|
|
3
3
|
import { r as ye } from "./three.module-dym6j3lO.mjs";
|
|
4
4
|
import { C as j, D as be, E as xe, O as M, S as N, T as Se, _ as Ce, a as we, b as P, d as Te, f as F, g as I, h as Ee, i as De, l as L, m as Oe, n as ke, o as Ae, p as je, r as Me, s as Ne, t as Pe, u as R, v as Fe, w as z, x as B, y as Ie } from "./shading-settings-CRNmMpcn.mjs";
|
|
@@ -2707,4 +2707,4 @@ Ve([Be, ze("design:type", Object)], Zt.prototype, "_initData", void 0);
|
|
|
2707
2707
|
//#endregion
|
|
2708
2708
|
export { ft as a, Mt as i, Zt as n, W as o, Q as r, Xt as t };
|
|
2709
2709
|
|
|
2710
|
-
//# sourceMappingURL=scene-renderer-
|
|
2710
|
+
//# sourceMappingURL=scene-renderer-CSBoi_8w.mjs.map
|