@roomle/web-sdk 5.2.0-alpha.1 → 5.2.0-alpha.10
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-B4TrOz4F.mjs → api-DzAvODF3.mjs} +13 -10
- package/lib/{api-B4TrOz4F.mjs.map → api-DzAvODF3.mjs.map} +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -1
- package/lib/{component-raycast-helper-CaY2UMli.mjs → component-raycast-helper-DmNjzxSD.mjs} +2 -2
- package/lib/{component-raycast-helper-CaY2UMli.mjs.map → component-raycast-helper-DmNjzxSD.mjs.map} +1 -1
- package/lib/configurator-BpxToJbA.mjs +2 -0
- package/lib/{configurator-DrF49jhK.mjs → configurator-CJFwkh54.mjs} +4 -4
- package/lib/{configurator-DrF49jhK.mjs.map → configurator-CJFwkh54.mjs.map} +1 -1
- package/lib/glb-viewer-45djC72D.mjs +2 -0
- package/lib/{glb-viewer-DfTibwy-.mjs → glb-viewer-BSHmO1do.mjs} +5 -5
- package/lib/{glb-viewer-DfTibwy-.mjs.map → glb-viewer-BSHmO1do.mjs.map} +1 -1
- package/lib/{highlight-coordinator-DKMaPGPo.mjs → highlight-coordinator-DDyo_U8P.mjs} +3 -3
- package/lib/{highlight-coordinator-DKMaPGPo.mjs.map → highlight-coordinator-DDyo_U8P.mjs.map} +1 -1
- package/lib/{homag-intelligence-BpYU-Dit.mjs → homag-intelligence-CNxcr-eA.mjs} +6 -3
- package/lib/homag-intelligence-CNxcr-eA.mjs.map +1 -0
- package/lib/{material-viewer-D2SC_WGL.mjs → material-viewer-HzxKTFQF.mjs} +11 -11
- package/lib/{material-viewer-D2SC_WGL.mjs.map → material-viewer-HzxKTFQF.mjs.map} +1 -1
- package/lib/{packages-Dq64FLqO.mjs → packages-BebHC0FC.mjs} +5 -5
- package/lib/{packages-Dq64FLqO.mjs.map → packages-BebHC0FC.mjs.map} +1 -1
- package/lib/{planner-BflojXJm.mjs → planner-DLRkyi_2.mjs} +3 -3
- package/lib/{planner-BflojXJm.mjs.map → planner-DLRkyi_2.mjs.map} +1 -1
- package/lib/planner-FqhSeWWA.mjs +2 -0
- package/lib/roomle-headless.d.ts +232 -20
- package/lib/roomle-headless.js +11 -11
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -1
- package/lib/{roomle-sdk-AuHoyXQw.mjs → roomle-sdk-Bt3h0SSr.mjs} +4234 -3657
- package/lib/roomle-sdk-Bt3h0SSr.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +232 -20
- package/lib/roomle-sdk.js +8 -8
- package/lib/{roomle-webgpu-renderer-C26OAfkn.mjs → roomle-webgpu-renderer-__fKL0NL.mjs} +7 -7
- package/lib/roomle-webgpu-renderer-__fKL0NL.mjs.map +1 -0
- package/lib/{scene-renderer-DGSgD6mp.mjs → scene-renderer-DdVBP89m.mjs} +11 -11
- package/lib/{scene-renderer-DGSgD6mp.mjs.map → scene-renderer-DdVBP89m.mjs.map} +1 -1
- package/lib/{script-loader-ChoIO9yO.mjs → script-loader-CIboUjm9.mjs} +2 -2
- package/lib/{script-loader-ChoIO9yO.mjs.map → script-loader-CIboUjm9.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-C74q5Bje.mjs → stats-helper-DYmtEOGb.mjs} +2 -2
- package/lib/{stats-helper-C74q5Bje.mjs.map → stats-helper-DYmtEOGb.mjs.map} +1 -1
- package/lib/{three.module-DUSFrLM6.mjs → three.module-230BZkaT.mjs} +2 -2
- package/lib/{three.module-DUSFrLM6.mjs.map → three.module-230BZkaT.mjs.map} +1 -1
- package/lib/{threejs-utils-DHTRY4yW.mjs → threejs-utils-Dy-rm1a9.mjs} +66 -64
- package/lib/threejs-utils-Dy-rm1a9.mjs.map +1 -0
- package/lib/{tools-core-CVyQSfI6.mjs → tools-core-BpUxOTe-.mjs} +3 -3
- package/lib/{tools-core-CVyQSfI6.mjs.map → tools-core-BpUxOTe-.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-CKf-giUj.mjs +0 -2
- package/lib/glb-viewer-BOTT1GcI.mjs +0 -2
- package/lib/homag-intelligence-BpYU-Dit.mjs.map +0 -1
- package/lib/planner-C8gpY4ZL.mjs +0 -2
- package/lib/roomle-sdk-AuHoyXQw.mjs.map +0 -1
- package/lib/roomle-webgpu-renderer-C26OAfkn.mjs.map +0 -1
- package/lib/threejs-utils-DHTRY4yW.mjs.map +0 -1
package/lib/roomle-headless.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { PerspectiveCamera } from 'three';
|
|
|
26
26
|
import { PointLight } from 'three';
|
|
27
27
|
import { Scene } from 'three';
|
|
28
28
|
import { Scene as Scene_2 } from 'three/webgpu';
|
|
29
|
+
import { Sphere } from 'three';
|
|
29
30
|
import { Texture } from 'three';
|
|
30
31
|
import { TextureLoader } from 'three';
|
|
31
32
|
import { Vector2 } from 'three';
|
|
@@ -219,6 +220,19 @@ export declare interface AssetType_2 {
|
|
|
219
220
|
|
|
220
221
|
export declare type AssetUrl = string;
|
|
221
222
|
|
|
223
|
+
export declare class AsyncGuard<T> {
|
|
224
|
+
info: any;
|
|
225
|
+
private _promise;
|
|
226
|
+
private _resolve;
|
|
227
|
+
private _reject;
|
|
228
|
+
constructor(info?: any);
|
|
229
|
+
private _init;
|
|
230
|
+
resolve(value?: any): void;
|
|
231
|
+
reject(e: Error): void;
|
|
232
|
+
wait(): Promise<T>;
|
|
233
|
+
reset(): void;
|
|
234
|
+
}
|
|
235
|
+
|
|
222
236
|
export declare interface Attic extends PlanElement_2 {
|
|
223
237
|
new (): Attic;
|
|
224
238
|
getFrom(): Node_3;
|
|
@@ -1618,12 +1632,31 @@ export declare interface ConfiguratorKernelContainer {
|
|
|
1618
1632
|
export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel {
|
|
1619
1633
|
private _rootComponentRuntimeId;
|
|
1620
1634
|
private _rootComponentId;
|
|
1635
|
+
private _componentsCutByCamera;
|
|
1636
|
+
private _localCameraPosition;
|
|
1621
1637
|
constructor(planObject: PlanObject);
|
|
1622
1638
|
addRootComponent(component: RoomleComponent): void;
|
|
1623
1639
|
addChildEntityComponent(component: RoomleComponent): void;
|
|
1624
1640
|
getConfigurationRuntimeId(): number;
|
|
1625
1641
|
getRootComponentId(): number;
|
|
1626
1642
|
getRootComponentRuntimeId(): number;
|
|
1643
|
+
/**
|
|
1644
|
+
* A configuration is one plan object but many components - a whole kitchen run
|
|
1645
|
+
* shares a single bounding box, so hiding the container would clear the scene as
|
|
1646
|
+
* soon as the camera gets close to any of its cabinets. The object bounds are only
|
|
1647
|
+
* the broad phase here, the components actually cut by the near plane are hidden
|
|
1648
|
+
* individually.
|
|
1649
|
+
*/
|
|
1650
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
1651
|
+
restoreCutByCamera(): boolean;
|
|
1652
|
+
private _setComponentCutByCamera;
|
|
1653
|
+
/**
|
|
1654
|
+
* Only the component's own meshes, its child components stay visible - and
|
|
1655
|
+
* re-applied while cut, so meshes replaced in the meantime stay hidden too.
|
|
1656
|
+
* A component waiting for its geometry hides its meshes behind the loading box
|
|
1657
|
+
* itself, showing them again is `loadingFinished()`'s job, not ours.
|
|
1658
|
+
*/
|
|
1659
|
+
private _applyComponentMeshVisibility;
|
|
1627
1660
|
finishConstruction(): Promise<void>;
|
|
1628
1661
|
failConstruction(): Promise<void>;
|
|
1629
1662
|
toJSON(): {
|
|
@@ -1631,7 +1664,12 @@ export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel
|
|
|
1631
1664
|
rootElementId: number;
|
|
1632
1665
|
};
|
|
1633
1666
|
protected _updateBoundingBox(): void;
|
|
1634
|
-
|
|
1667
|
+
/**
|
|
1668
|
+
* Walks the component tree with a visitor: this runs per frame for every
|
|
1669
|
+
* configuration the camera is close to, where an array per tree level would be
|
|
1670
|
+
* a temporary allocation per component per frame.
|
|
1671
|
+
*/
|
|
1672
|
+
private _forEachComponent;
|
|
1635
1673
|
}
|
|
1636
1674
|
|
|
1637
1675
|
export declare class ConfiguratorSceneEventHandler extends SceneEventHandler<SceneEventInfo> {
|
|
@@ -1712,7 +1750,6 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1712
1750
|
private _uiIntersectionHelper;
|
|
1713
1751
|
private _sceneEventHandler;
|
|
1714
1752
|
private _isComponentDimensionsVisible;
|
|
1715
|
-
private _sceneSetupReady;
|
|
1716
1753
|
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1717
1754
|
/**
|
|
1718
1755
|
* Single point for deciding whether to push HTML label positions to the UI.
|
|
@@ -2516,6 +2553,12 @@ export declare const CORE_OBJECT_TYPE_CATEGORY: {
|
|
|
2516
2553
|
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2517
2554
|
};
|
|
2518
2555
|
|
|
2556
|
+
export declare const CORE_OBSTACLE_TYPE: {
|
|
2557
|
+
readonly GLOBAL: 0;
|
|
2558
|
+
readonly OBJECT_WITH_ID: 1;
|
|
2559
|
+
readonly CONSTRUCTION_WITH_ID: 2;
|
|
2560
|
+
};
|
|
2561
|
+
|
|
2519
2562
|
export declare const CORE_OPENING_DIRECTION: {
|
|
2520
2563
|
readonly LEFT_CLOCKWISE: 0;
|
|
2521
2564
|
readonly LEFT_COUNTERCLOCKWISE: 1;
|
|
@@ -3457,7 +3500,8 @@ export declare interface ExternalObjectAPI {
|
|
|
3457
3500
|
* the "shapes" property, the layout type "posGroups" evaluates the "posGroups" property.
|
|
3458
3501
|
* For the layout type "posGroups" a group whose id matches a group already loaded in the plan
|
|
3459
3502
|
* completely replaces that group; root modules keep their ids when they already exist in the
|
|
3460
|
-
* replaced group, all other ids are regenerated.
|
|
3503
|
+
* replaced group, all other ids are regenerated. A root module the replace adds takes the
|
|
3504
|
+
* implicitRelevant input attributes of a root module it is docked to; its own attributes override them.
|
|
3461
3505
|
* @param layoutType The article layout type. "nobila" and "posGroups" are supported.
|
|
3462
3506
|
* @param options Options for loading the external object group.
|
|
3463
3507
|
*/
|
|
@@ -3511,6 +3555,12 @@ export declare interface ExternalObjectAPI {
|
|
|
3511
3555
|
* @param subArticleId The ID of the sub article to be selected.
|
|
3512
3556
|
*/
|
|
3513
3557
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
3558
|
+
/**
|
|
3559
|
+
* "deleteExternalObjectSubArticle" deletes a placed sub article from its pos group.
|
|
3560
|
+
* @param posGroupId The ID of the pos group.
|
|
3561
|
+
* @param subArticleId The ID of the sub article to be deleted.
|
|
3562
|
+
*/
|
|
3563
|
+
deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
|
|
3514
3564
|
/**
|
|
3515
3565
|
* "renderImagesOfExternalObjectGroups" renders images of groups of modules.
|
|
3516
3566
|
* @param groupJson The group JSON as string or object.
|
|
@@ -3561,8 +3611,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3561
3611
|
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3562
3612
|
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3563
3613
|
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3564
|
-
* docking vectors and sub-modules),
|
|
3565
|
-
* resubmittable article picks with footprints and free docking vectors)
|
|
3614
|
+
* docking vectors and sub-modules), all groups currently loaded in the plan (as
|
|
3615
|
+
* resubmittable article picks with footprints and free docking vectors), and what stands in the
|
|
3616
|
+
* room (the doors, windows and other plan objects as floor outlines with their height range,
|
|
3617
|
+
* and the HI groups as the outlines of their root modules).
|
|
3566
3618
|
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3567
3619
|
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3568
3620
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
@@ -3571,12 +3623,13 @@ export declare interface ExternalObjectAPI {
|
|
|
3571
3623
|
/**
|
|
3572
3624
|
* "externalObjectGroupOperation" changes the groups in the plan by command. The payload refers to
|
|
3573
3625
|
* groups, root modules and articles by the ids of "getExternalObjectPlanContext":
|
|
3574
|
-
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } sets an attribute
|
|
3626
|
+
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } without moduleId sets an attribute on the root module and on each of its sub modules that carry it; with moduleId it sets the attribute on that one sub module only
|
|
3575
3627
|
* - "change-group-attribute" { groupId, attributeId, value } sets an attribute on every module of the group that has it
|
|
3628
|
+
* - "change-attributes" { groupId, attributes: [{ attributeId, value, rootModuleIds? }] } sets several attribute values in one calculation, one load and one undo step: an entry with rootModuleIds on those root modules and their sub modules that carry it, without them on every module of the group that has it; the entries no module they name carries are skipped and named in skippedAttributes
|
|
3576
3629
|
* - "delete-group" { groupId } removes the group from the plan
|
|
3577
3630
|
* - "delete-root-module" { rootModuleId } removes a root module; the rest of the group splits where it is no longer docked together
|
|
3578
|
-
* - "merge-article-into-group" { groupId, articleId, attributes?, dockTo: { rootId, ownDockingVector, dockingVector, mode?, offset? } } docks a new root module of the article to a free docking vector of a root module of the group
|
|
3579
|
-
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking
|
|
3631
|
+
* - "merge-article-into-group" { groupId, articleId, attributes?, dockTo: { rootId, ownDockingVector, dockingVector, mode?, offset? } } docks a new root module of the article to a free docking vector of a root module of the group; the new root module takes the implicitRelevant input attributes of that root module, and attributes override them
|
|
3632
|
+
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking and the implicitRelevant input attributes of the replaced root module
|
|
3580
3633
|
* - "merge-groups" { targetGroupId, groupIds } merges the groups into the target group where they stand, like the merge action of the planner; no docking is added
|
|
3581
3634
|
* The promise resolves once the planner has loaded the result, with the affected groups in the shape of the plan context,
|
|
3582
3635
|
* and rejects with the reason when the payload is invalid or the operation cannot be performed.
|
|
@@ -3816,6 +3869,25 @@ export declare interface ExternalObjectValidContainerModules {
|
|
|
3816
3869
|
parentModuleId: string;
|
|
3817
3870
|
}
|
|
3818
3871
|
|
|
3872
|
+
export declare type ExternalPlanObstacleKind = 'group' | 'door' | 'window' | 'object';
|
|
3873
|
+
|
|
3874
|
+
export declare interface ExternalPlanObstacles {
|
|
3875
|
+
points: Array<{
|
|
3876
|
+
x: number;
|
|
3877
|
+
y: number;
|
|
3878
|
+
}>;
|
|
3879
|
+
obstacles: ExternalPlanObstacleSegment[];
|
|
3880
|
+
kinds: Record<number, ExternalPlanObstacleKind>;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
export declare interface ExternalPlanObstacleSegment {
|
|
3884
|
+
associatedObjectIds: number[];
|
|
3885
|
+
p0: number;
|
|
3886
|
+
p1: number;
|
|
3887
|
+
bottom: number;
|
|
3888
|
+
top: number;
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3819
3891
|
export declare class ExternalReference {
|
|
3820
3892
|
getJsObject(): any;
|
|
3821
3893
|
setJsObject(jsObject: any): void;
|
|
@@ -3879,6 +3951,7 @@ export declare interface FeatureFlags {
|
|
|
3879
3951
|
/* Excluded from this release type: advancedHighlighting */
|
|
3880
3952
|
/* Excluded from this release type: fence */
|
|
3881
3953
|
/* Excluded from this release type: awaitConfigurationSavesBeforeRequestPlan */
|
|
3954
|
+
/* Excluded from this release type: disableRenderStandby */
|
|
3882
3955
|
}
|
|
3883
3956
|
|
|
3884
3957
|
export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
@@ -3894,6 +3967,7 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3894
3967
|
advancedHighlighting: boolean;
|
|
3895
3968
|
fence: boolean;
|
|
3896
3969
|
awaitConfigurationSavesBeforeRequestPlan: boolean;
|
|
3970
|
+
disableRenderStandby: boolean;
|
|
3897
3971
|
}
|
|
3898
3972
|
|
|
3899
3973
|
export declare interface FetchOptions {
|
|
@@ -4188,7 +4262,7 @@ export declare interface GlobalInitDataDefinition {
|
|
|
4188
4262
|
*/
|
|
4189
4263
|
configuratorId?: string;
|
|
4190
4264
|
/**
|
|
4191
|
-
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/
|
|
4265
|
+
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/v2
|
|
4192
4266
|
*/
|
|
4193
4267
|
customApiUrl?: string;
|
|
4194
4268
|
/* Excluded from this release type: e2e */
|
|
@@ -4314,6 +4388,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4314
4388
|
setLengthOfEdge2D(wall: KernelWall, length: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4315
4389
|
setLengthOfSlopingEdge(wall: KernelWall, slopingLength: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4316
4390
|
setWallThickness(wall: KernelWall, thickness: number): void;
|
|
4391
|
+
/** Curved walls PoC — positive sweep angles bulge to the left of from → to, 0 straightens. */
|
|
4392
|
+
setWallArc(wall: KernelWall, sweepAngleInRad: number): void;
|
|
4393
|
+
/** Curved walls PoC — control points in the chord frame, empty array straightens the wall. */
|
|
4394
|
+
setWallCurve(wall: KernelWall, interiorControlPoints: Array<{
|
|
4395
|
+
u: number;
|
|
4396
|
+
v: number;
|
|
4397
|
+
w: number;
|
|
4398
|
+
}>, degree: number, knots: number[]): void;
|
|
4317
4399
|
addAttic(wall: KernelWall, kneeHeight: number, width: number, side: WallSide | null | undefined): KernelAttic;
|
|
4318
4400
|
setAtticSide(attic: KernelAttic, side: WallSide): void;
|
|
4319
4401
|
setAtticKneeHeight(attic: KernelAttic, kneeHeight: number): void;
|
|
@@ -4565,19 +4647,23 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4565
4647
|
* Group operations change the groups of the plan context by command: a
|
|
4566
4648
|
* command names the operation, its payload refers to the groups, root modules
|
|
4567
4649
|
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4568
|
-
* validates the payload, performs the operation with the
|
|
4569
|
-
*
|
|
4570
|
-
*
|
|
4650
|
+
* validates the payload, performs the operation with the HI tools behind
|
|
4651
|
+
* `HiGroupOperations` and returns the affected groups in the plan-context
|
|
4652
|
+
* shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4571
4653
|
* payload type and one handler.
|
|
4572
4654
|
*/
|
|
4573
4655
|
export declare const HI_GROUP_OPERATION: {
|
|
4574
4656
|
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4575
4657
|
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4658
|
+
readonly CHANGE_ATTRIBUTES: "change-attributes";
|
|
4576
4659
|
readonly DELETE_GROUP: "delete-group";
|
|
4577
4660
|
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4578
4661
|
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4579
4662
|
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4580
4663
|
readonly MERGE_GROUPS: "merge-groups";
|
|
4664
|
+
readonly INSERT_ARTICLE_INTO_GROUP: "insert-article-into-group";
|
|
4665
|
+
readonly REMOVE_ARTICLE_FROM_GROUP: "remove-article-from-group";
|
|
4666
|
+
readonly SWAP_ROOT_MODULES: "swap-root-modules";
|
|
4581
4667
|
};
|
|
4582
4668
|
|
|
4583
4669
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
@@ -4596,6 +4682,7 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
4596
4682
|
readonly MERGE_WITH_ON_ACTION: "merge_with_on_action";
|
|
4597
4683
|
readonly PLAN_CHANGED: "plan_changed";
|
|
4598
4684
|
readonly POSITION_CHANGED: "position_changed";
|
|
4685
|
+
readonly REARRANGE: "rearrange";
|
|
4599
4686
|
readonly SPLIT: "split";
|
|
4600
4687
|
readonly SWAP_MODULE: "swap_module";
|
|
4601
4688
|
readonly SWAP_GROUP: "swap_group";
|
|
@@ -4621,6 +4708,17 @@ export declare interface HiArticlePick {
|
|
|
4621
4708
|
attributes?: HiPlanRootAttribute[];
|
|
4622
4709
|
}
|
|
4623
4710
|
|
|
4711
|
+
/**
|
|
4712
|
+
* An attribute value of `change-attributes`: set on the named root modules
|
|
4713
|
+
* and their sub modules that carry the attribute, or without `rootModuleIds`
|
|
4714
|
+
* on every module of the group that carries it.
|
|
4715
|
+
*/
|
|
4716
|
+
export declare interface HiAttributeChange {
|
|
4717
|
+
attributeId: string;
|
|
4718
|
+
value: HiAttributeValue;
|
|
4719
|
+
rootModuleIds?: string[];
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4624
4722
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4625
4723
|
|
|
4626
4724
|
export declare type HiAttributeValue = string | boolean;
|
|
@@ -4756,6 +4854,11 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4756
4854
|
attributeId: string;
|
|
4757
4855
|
value: HiAttributeValue;
|
|
4758
4856
|
};
|
|
4857
|
+
/** Several attribute values in one calculation, one load and one undo step. */
|
|
4858
|
+
'change-attributes': {
|
|
4859
|
+
groupId: string;
|
|
4860
|
+
attributes: HiAttributeChange[];
|
|
4861
|
+
};
|
|
4759
4862
|
'delete-group': {
|
|
4760
4863
|
groupId: string;
|
|
4761
4864
|
};
|
|
@@ -4766,15 +4869,30 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4766
4869
|
groupId: string;
|
|
4767
4870
|
dockTo: HiDockTarget;
|
|
4768
4871
|
};
|
|
4769
|
-
|
|
4872
|
+
/** `attributes` are overrides of the new root module, e.g. another width. */
|
|
4873
|
+
'exchange-root-module': HiArticlePick & {
|
|
4770
4874
|
groupId: string;
|
|
4771
4875
|
rootModuleId: string;
|
|
4772
|
-
articleId: string;
|
|
4773
4876
|
};
|
|
4774
4877
|
'merge-groups': {
|
|
4775
4878
|
targetGroupId: string;
|
|
4776
4879
|
groupIds: string[];
|
|
4777
4880
|
};
|
|
4881
|
+
/** `between` names two root modules docked side by side, in either order. */
|
|
4882
|
+
'insert-article-into-group': HiArticlePick & {
|
|
4883
|
+
groupId: string;
|
|
4884
|
+
between: [string, string];
|
|
4885
|
+
};
|
|
4886
|
+
/** Removes a root module and closes the gap; `delete-root-module` leaves it. */
|
|
4887
|
+
'remove-article-from-group': {
|
|
4888
|
+
groupId: string;
|
|
4889
|
+
rootModuleId: string;
|
|
4890
|
+
};
|
|
4891
|
+
/** Two root modules of the group change places, neighbours or not. */
|
|
4892
|
+
'swap-root-modules': {
|
|
4893
|
+
groupId: string;
|
|
4894
|
+
rootModuleIds: [string, string];
|
|
4895
|
+
};
|
|
4778
4896
|
}
|
|
4779
4897
|
|
|
4780
4898
|
export declare interface HiGroupOperationResult {
|
|
@@ -4782,6 +4900,9 @@ export declare interface HiGroupOperationResult {
|
|
|
4782
4900
|
groups: HiPlanGroup[];
|
|
4783
4901
|
removedGroupIds: string[];
|
|
4784
4902
|
changedModuleIds?: string[];
|
|
4903
|
+
corrections?: string[];
|
|
4904
|
+
gapClosed?: boolean;
|
|
4905
|
+
skippedAttributes?: Array<Omit<HiAttributeChange, 'value'>>;
|
|
4785
4906
|
}
|
|
4786
4907
|
|
|
4787
4908
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
@@ -4884,6 +5005,7 @@ export declare interface HiPlanContext {
|
|
|
4884
5005
|
rooms?: HiPlanRoomInformation;
|
|
4885
5006
|
articles?: HiPlanArticle[];
|
|
4886
5007
|
groups?: HiPlanGroup[];
|
|
5008
|
+
obstacles?: HiPlanObstacles;
|
|
4887
5009
|
}
|
|
4888
5010
|
|
|
4889
5011
|
export declare interface HiPlanContextData {
|
|
@@ -4893,7 +5015,7 @@ export declare interface HiPlanContextData {
|
|
|
4893
5015
|
}>;
|
|
4894
5016
|
}
|
|
4895
5017
|
|
|
4896
|
-
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
5018
|
+
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups' | 'obstacles';
|
|
4897
5019
|
|
|
4898
5020
|
export declare interface HiPlanContour {
|
|
4899
5021
|
level: number;
|
|
@@ -4931,6 +5053,11 @@ export declare interface HiPlanGroup {
|
|
|
4931
5053
|
roots: HiPlanRoot[];
|
|
4932
5054
|
}
|
|
4933
5055
|
|
|
5056
|
+
export declare interface HiPlanGroupObstacles {
|
|
5057
|
+
id: string;
|
|
5058
|
+
roots: HiPlanRootOutline[];
|
|
5059
|
+
}
|
|
5060
|
+
|
|
4934
5061
|
export declare interface HiPlanGroupPosition {
|
|
4935
5062
|
pos?: number[];
|
|
4936
5063
|
rotationY?: number;
|
|
@@ -4941,6 +5068,7 @@ export declare interface HiPlanMasterData {
|
|
|
4941
5068
|
libraryId: string;
|
|
4942
5069
|
modules: HiPlanMasterDataModule[];
|
|
4943
5070
|
attributes: HiPlanAttribute[];
|
|
5071
|
+
groupSettings: string[];
|
|
4944
5072
|
}
|
|
4945
5073
|
|
|
4946
5074
|
export declare interface HiPlanMasterDataModule {
|
|
@@ -4951,9 +5079,21 @@ export declare interface HiPlanMasterDataModule {
|
|
|
4951
5079
|
attributes: string[];
|
|
4952
5080
|
}
|
|
4953
5081
|
|
|
5082
|
+
export declare interface HiPlanObstacle {
|
|
5083
|
+
kind: Exclude<ExternalPlanObstacleKind, 'group'>;
|
|
5084
|
+
outline: HiPlanPosition3[];
|
|
5085
|
+
bottomMm: number;
|
|
5086
|
+
topMm: number;
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
export declare interface HiPlanObstacles {
|
|
5090
|
+
objects: HiPlanObstacle[];
|
|
5091
|
+
groups: HiPlanGroupObstacles[];
|
|
5092
|
+
}
|
|
5093
|
+
|
|
4954
5094
|
/**
|
|
4955
5095
|
* The plan context is the data an AI agent needs to understand and author a
|
|
4956
|
-
* planning session. `
|
|
5096
|
+
* planning session. `createPlanContext` assembles it and every
|
|
4957
5097
|
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4958
5098
|
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4959
5099
|
* `PosGroup`.
|
|
@@ -4992,6 +5132,13 @@ export declare interface HiPlanRootAttribute {
|
|
|
4992
5132
|
value?: number | string | boolean;
|
|
4993
5133
|
}
|
|
4994
5134
|
|
|
5135
|
+
export declare interface HiPlanRootOutline {
|
|
5136
|
+
id: string;
|
|
5137
|
+
outline: HiPlanPosition3[];
|
|
5138
|
+
bottomMm: number;
|
|
5139
|
+
topMm: number;
|
|
5140
|
+
}
|
|
5141
|
+
|
|
4995
5142
|
export declare interface HiPlanWall {
|
|
4996
5143
|
index: number;
|
|
4997
5144
|
side: HiPlanWallSide;
|
|
@@ -6053,7 +6200,9 @@ export declare interface KernelWall extends KernelObject {
|
|
|
6053
6200
|
readonly leftNormal: KernelVector3;
|
|
6054
6201
|
readonly rightNormal: KernelVector3;
|
|
6055
6202
|
readonly edgeType: EdgeType_2;
|
|
6203
|
+
readonly isCurved: boolean;
|
|
6056
6204
|
getAngle: () => number;
|
|
6205
|
+
getArcSweepAngle(): number;
|
|
6057
6206
|
}
|
|
6058
6207
|
|
|
6059
6208
|
export declare interface KernelWallMaterial extends KernelObject {
|
|
@@ -6742,6 +6891,29 @@ export declare interface ObjectTypeCategory {
|
|
|
6742
6891
|
|
|
6743
6892
|
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
6744
6893
|
|
|
6894
|
+
export declare interface Obstacle2d {
|
|
6895
|
+
associatedObjectIds: EmsArray<number>;
|
|
6896
|
+
bottom: number;
|
|
6897
|
+
length: number;
|
|
6898
|
+
normalizedDirection: KernelVector2f;
|
|
6899
|
+
p0: number;
|
|
6900
|
+
p1: number;
|
|
6901
|
+
top: number;
|
|
6902
|
+
type: ObstacleType;
|
|
6903
|
+
}
|
|
6904
|
+
|
|
6905
|
+
export declare class Obstacle2dArray extends EmsArray<Obstacle2d> {
|
|
6906
|
+
}
|
|
6907
|
+
|
|
6908
|
+
export declare interface ObstacleMap2d {
|
|
6909
|
+
obstacles: Obstacle2dArray;
|
|
6910
|
+
points: Vector2Array;
|
|
6911
|
+
}
|
|
6912
|
+
|
|
6913
|
+
export declare interface ObstacleType {
|
|
6914
|
+
value: Enumify<typeof CORE_OBSTACLE_TYPE>;
|
|
6915
|
+
}
|
|
6916
|
+
|
|
6745
6917
|
export declare interface OffsetCamera {
|
|
6746
6918
|
offset: CanvasOffset;
|
|
6747
6919
|
resetOffset(): void;
|
|
@@ -7094,13 +7266,26 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
7094
7266
|
protected _topView: boolean;
|
|
7095
7267
|
private _containerVisible;
|
|
7096
7268
|
private _hiddenByCameraFacing;
|
|
7269
|
+
private _hiddenByCameraCut;
|
|
7097
7270
|
constructor(planObject: PlanObject);
|
|
7098
7271
|
getSize(): Vector3_2;
|
|
7099
7272
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
7100
7273
|
setContainerVisibility(isVisible: boolean): void;
|
|
7101
7274
|
protected isContainerVisible(): boolean;
|
|
7102
|
-
protected
|
|
7275
|
+
protected _applyVisibility(): void;
|
|
7103
7276
|
isHiddenByCameraFacing(): boolean;
|
|
7277
|
+
/**
|
|
7278
|
+
* Hide what the camera near plane cuts open, given a sphere around the camera
|
|
7279
|
+
* position with the near distance as radius. A plan element is a single visual
|
|
7280
|
+
* unit, so the whole container is hidden - {@link ConfiguratorPlanObjectViewModel}
|
|
7281
|
+
* refines this to the components which are actually cut.
|
|
7282
|
+
*/
|
|
7283
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
7284
|
+
/**
|
|
7285
|
+
* Show everything that was hidden by {@link hideCutByCamera} again.
|
|
7286
|
+
*/
|
|
7287
|
+
restoreCutByCamera(): boolean;
|
|
7288
|
+
protected _setHiddenByCameraCut(hidden: boolean): boolean;
|
|
7104
7289
|
update(): void;
|
|
7105
7290
|
protected _updateBoundingBox(): void;
|
|
7106
7291
|
getPosition(): Vector3_2;
|
|
@@ -7368,6 +7553,7 @@ export declare interface PlanModelViewHelper_2 {
|
|
|
7368
7553
|
requestMesh3d(element: PlanElement_3): void;
|
|
7369
7554
|
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7370
7555
|
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
7556
|
+
getObstacleMap(plan: Plan_3): ObstacleMap2d;
|
|
7371
7557
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
7372
7558
|
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
7373
7559
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
@@ -7506,6 +7692,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7506
7692
|
addListener(listener: KernelAccessCallbackI): void;
|
|
7507
7693
|
removeListener(listener: KernelAccessCallbackI): void;
|
|
7508
7694
|
private _homagIntelligence;
|
|
7695
|
+
private _externalObjectPlanChanges;
|
|
7509
7696
|
private _arrangementCorrectionEnabled;
|
|
7510
7697
|
get arrangementCorrectionEnabled(): boolean;
|
|
7511
7698
|
get kernelContainer(): any;
|
|
@@ -7597,7 +7784,8 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7597
7784
|
protected _externalObjectConfigurationDeleted(groupId: string): void;
|
|
7598
7785
|
protected _externalObjectComponentDeleted(remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7599
7786
|
_externalObjectConfigurationDuplicated(duplicatedGroup: ExternalObjectGroup): void;
|
|
7600
|
-
|
|
7787
|
+
loadExternalObjectGroups(load: () => PlanObject[]): Promise<PlanObject[]>;
|
|
7788
|
+
_externalObjectPlanChanged(movedGroup: ExternalObjectGroup, objectPositionChanged: boolean): Promise<void | undefined>;
|
|
7601
7789
|
_externalObjectConfigurationsMerged(mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): Promise<void>;
|
|
7602
7790
|
_externalObjectComponentSplitOff(splitGroups: ExternalObjectGroup[]): void;
|
|
7603
7791
|
planSnapshotCreated(planSnapshot: RapiPlanSnapshotPostData): void;
|
|
@@ -8396,7 +8584,6 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
8396
8584
|
private _plannerSceneEventHandler;
|
|
8397
8585
|
private _cameraHideSphere;
|
|
8398
8586
|
private readonly _cameraHideViewModelGroups;
|
|
8399
|
-
private _objectsHiddenByCamera;
|
|
8400
8587
|
private _cameraType;
|
|
8401
8588
|
private _nodeZoom;
|
|
8402
8589
|
private _latestWallPlanObjectViewModel;
|
|
@@ -9789,6 +9976,7 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9789
9976
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9790
9977
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9791
9978
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9979
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9792
9980
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9793
9981
|
saveCurrentPlanSnapshot(): Promise<RapiPlanSnapshotGetData>;
|
|
9794
9982
|
renderPosDataImage(posDataJson: object): Promise<void>;
|
|
@@ -9807,6 +9995,7 @@ export declare interface RoomDesignerRequests {
|
|
|
9807
9995
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9808
9996
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9809
9997
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9998
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9810
9999
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9811
10000
|
}
|
|
9812
10001
|
|
|
@@ -10856,8 +11045,9 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10856
11045
|
private _globalInitData;
|
|
10857
11046
|
private _globalCallback;
|
|
10858
11047
|
private _unitFormatter;
|
|
10859
|
-
private _planInteractionManager;
|
|
10860
11048
|
private _elevationPlan2dGenerator;
|
|
11049
|
+
private _skyStateTracker;
|
|
11050
|
+
private _planInteractionManager;
|
|
10861
11051
|
private _sceneManager;
|
|
10862
11052
|
private _plan;
|
|
10863
11053
|
private _preloadPlanId;
|
|
@@ -11282,6 +11472,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11282
11472
|
}>;
|
|
11283
11473
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
11284
11474
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
11475
|
+
deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
|
|
11285
11476
|
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11286
11477
|
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
11287
11478
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
@@ -11292,6 +11483,8 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11292
11483
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11293
11484
|
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
11294
11485
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
11486
|
+
_getExternalPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
11487
|
+
private _planObstacleKind;
|
|
11295
11488
|
/**
|
|
11296
11489
|
* Highlights a product in the planner.
|
|
11297
11490
|
* @param planElementId The ID of the plan element to highlight.
|
|
@@ -11911,6 +12104,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11911
12104
|
protected _stopRendering: boolean;
|
|
11912
12105
|
protected _roomleRenderer: GenericRoomleRenderer | null;
|
|
11913
12106
|
private _roomleRendererReady;
|
|
12107
|
+
protected _sceneSetupReady: AsyncGuard<void>;
|
|
11914
12108
|
private _isDebugGUIInitialized;
|
|
11915
12109
|
private _forceRender;
|
|
11916
12110
|
private _lastChange;
|
|
@@ -12141,6 +12335,7 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
12141
12335
|
private _isCurrentlyActive;
|
|
12142
12336
|
private _initData;
|
|
12143
12337
|
constructor(creator: string);
|
|
12338
|
+
get isSkyEnabled(): boolean;
|
|
12144
12339
|
get isCurrentlyActive(): boolean;
|
|
12145
12340
|
notifyEnteredPlanner(): void;
|
|
12146
12341
|
notifyEnteredConfigurator(): void;
|
|
@@ -12200,6 +12395,14 @@ export declare const STEP_GROUPS: {
|
|
|
12200
12395
|
readonly finalize: "on-signal";
|
|
12201
12396
|
readonly methods: ["setWallThickness"];
|
|
12202
12397
|
};
|
|
12398
|
+
readonly wallArc: {
|
|
12399
|
+
readonly finalize: "on-signal";
|
|
12400
|
+
readonly methods: ["setWallArc"];
|
|
12401
|
+
};
|
|
12402
|
+
readonly wallCurve: {
|
|
12403
|
+
readonly finalize: "immediate";
|
|
12404
|
+
readonly methods: ["setWallCurve"];
|
|
12405
|
+
};
|
|
12203
12406
|
readonly objectSize: {
|
|
12204
12407
|
readonly finalize: "immediate";
|
|
12205
12408
|
readonly methods: ["setObjectSize"];
|
|
@@ -12729,6 +12932,9 @@ export declare interface VariantsList {
|
|
|
12729
12932
|
parts: KernelPart[];
|
|
12730
12933
|
}
|
|
12731
12934
|
|
|
12935
|
+
export declare class Vector2Array extends EmsArray<KernelVector2f> {
|
|
12936
|
+
}
|
|
12937
|
+
|
|
12732
12938
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
12733
12939
|
}
|
|
12734
12940
|
|
|
@@ -12906,6 +13112,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
12906
13112
|
private _setBoundingBoxValues;
|
|
12907
13113
|
isVisible(): boolean;
|
|
12908
13114
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
13115
|
+
private _computeCurvedLineVertices;
|
|
12909
13116
|
private _computeLineVertices;
|
|
12910
13117
|
private _createLineForInvisibleWall;
|
|
12911
13118
|
private _createCameraFacingHighlightMesh;
|
|
@@ -12914,6 +13121,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
12914
13121
|
private _ensureCameraFacingHighlightMesh;
|
|
12915
13122
|
private _updateCameraFacingHighlightMesh;
|
|
12916
13123
|
private _computeWallFootprintVertices;
|
|
13124
|
+
private _computeCurvedWallFootprintVertices;
|
|
12917
13125
|
private _computeWallFootprintFallbackVertices;
|
|
12918
13126
|
private _updateLineGeometry;
|
|
12919
13127
|
private _addThinLineForInvisibleWall;
|
|
@@ -12935,8 +13143,12 @@ export declare interface WallPlanObject extends PlanObject {
|
|
|
12935
13143
|
getFrom(): NodePlanObject;
|
|
12936
13144
|
getTo(): NodePlanObject;
|
|
12937
13145
|
getAttachedAttics(): KernelAtticArray;
|
|
13146
|
+
getAxisPolyline(): PointArray_3;
|
|
13147
|
+
getLeftFacePolyline(): PointArray_3;
|
|
13148
|
+
getRightFacePolyline(): PointArray_3;
|
|
12938
13149
|
readonly thickness: number;
|
|
12939
13150
|
readonly height: number;
|
|
13151
|
+
readonly isCurved: boolean;
|
|
12940
13152
|
}
|
|
12941
13153
|
|
|
12942
13154
|
export declare interface WallSide {
|
package/lib/roomle-headless.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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-BebHC0FC.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Tt as s, xt as c } from "./threejs-utils-Dy-rm1a9.mjs";
|
|
4
4
|
import { Ti as l, m as u, nt as d } from "./three.core-BTUCraWz.mjs";
|
|
5
5
|
import { i as f } from "./decorate-CjaqqbUP.mjs";
|
|
6
6
|
import { D as ee, H as p, g as m } from "./common-utils-CNGLvAo_.mjs";
|
|
7
|
-
import { A as te,
|
|
7
|
+
import { A as te, B as ne, F as re, G as ie, H as ae, J as oe, K as se, M as ce, N as le, P as h, S as ue, Y as de, a as fe, b as pe, ct as g, dt as me, ft as he, ht as ge, i as _e, j as ve, k as ye, l as _, lt as v, m as y, o as b, ot as x, q as S, r as C, s as w, st as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-Bt3h0SSr.mjs";
|
|
8
8
|
import { n as M } from "./roomle-renderer-nCUrLU_S.mjs";
|
|
9
|
-
import { n as N } from "./script-loader-
|
|
10
|
-
import { t as P } from "./configurator-
|
|
11
|
-
import { t as be } from "./planner-
|
|
12
|
-
import { n as xe, t as Se } from "./glb-viewer-
|
|
13
|
-
import { t as Ce } from "./api-
|
|
9
|
+
import { n as N } from "./script-loader-CIboUjm9.mjs";
|
|
10
|
+
import { t as P } from "./configurator-CJFwkh54.mjs";
|
|
11
|
+
import { t as be } from "./planner-DLRkyi_2.mjs";
|
|
12
|
+
import { n as xe, t as Se } from "./glb-viewer-BSHmO1do.mjs";
|
|
13
|
+
import { t as Ce } from "./api-DzAvODF3.mjs";
|
|
14
14
|
import { t as we } from "./roomle-headless-setup-DbO_rLjK.mjs";
|
|
15
15
|
import { createRequire as Te } from "module";
|
|
16
16
|
//#region packages/headless-core/src/headless-tween-stub.ts
|
|
@@ -370,7 +370,7 @@ var Le = (e) => {
|
|
|
370
370
|
}
|
|
371
371
|
async _createRoomleRenderer(e) {
|
|
372
372
|
if (!e.isWebGPURenderer) return super._createRoomleRenderer(e);
|
|
373
|
-
let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-
|
|
373
|
+
let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-__fKL0NL.mjs");
|
|
374
374
|
return new t(this._creator_, e, !0, void 0, !1);
|
|
375
375
|
}
|
|
376
376
|
static hasExplicitCameraPlacement(e) {
|
|
@@ -597,7 +597,7 @@ var Le = (e) => {
|
|
|
597
597
|
}
|
|
598
598
|
async _load(e, t, n, r) {
|
|
599
599
|
let i = await this._getPlanner();
|
|
600
|
-
if (i.getConfiguratorContext().baseContext =
|
|
600
|
+
if (i.getConfiguratorContext().baseContext = ae.PLANNER, this._loadedScene?.identity === e) return;
|
|
601
601
|
this._loadedScene = null;
|
|
602
602
|
let a = Q(r, n);
|
|
603
603
|
this._useEnvironmentGeometry(a), await He(i, t), this._loadedScene = {
|
|
@@ -730,6 +730,6 @@ var Le = (e) => {
|
|
|
730
730
|
$()?.setModelExportOngoing(e);
|
|
731
731
|
}, Xe = () => $()?.isModelExportOngoing() ?? !1;
|
|
732
732
|
//#endregion
|
|
733
|
-
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, P as Configurator, ve as FloorPlanElementViewModel, Se as GlbViewer,
|
|
733
|
+
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, P as Configurator, ve as FloorPlanElementViewModel, Se as GlbViewer, ne as HI_CONTEXT_ACTION, j as HI_GROUP_OPERATION, Je as HeadlessRoomleSdk, ue as MeasurementLinePlanElementViewModel, A as PLAN_ELEMENT_CHANGE_TYPES, re as PlanElementViewModel, h as PlanObjectViewModel, be as Planner, v as RapiAccess, O as RapiInvalidIdError, me as RapiOfflineError, Ce as RoomDesignerApi, ye as RoomleConfigurator, xe as RoomleGLBViewer, ge as RoomleLightSource, D as RoomlePlanner, E as RoomleSdk, le as StaticPlanObjectViewModel, ce as WallPlanElementViewModel, ie as createExtObj, de as createExtObjId, m as download, he as getCatalogIdFromConfigurationHash, we as getHeadlessWebGpuMaxTextureDimension, se as isExtObjId, S as isExternalObject, pe as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, Xe as isModelExportOngoing, e as isPlanSnapshotId, k as isSafari, ee as md5Hash, oe as removeExtObjIdPrefix, Ye as setModelExportOngoing, Pe as setPathTracerExternalDenoiser, Re as setPathTracerPreviewHook, Le as setPathTracerProgressHook };
|
|
734
734
|
|
|
735
735
|
//# sourceMappingURL=roomle-headless.js.map
|