@roomle/web-sdk 5.2.0-alpha.1 → 5.2.0-alpha.2
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-DgmvQKJM.mjs} +5 -2
- package/lib/{api-B4TrOz4F.mjs.map → api-DgmvQKJM.mjs.map} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -1
- package/lib/{component-raycast-helper-CaY2UMli.mjs → component-raycast-helper-BKwofixp.mjs} +2 -2
- package/lib/{component-raycast-helper-CaY2UMli.mjs.map → component-raycast-helper-BKwofixp.mjs.map} +1 -1
- package/lib/{configurator-DrF49jhK.mjs → configurator-B8BvHTky.mjs} +4 -4
- package/lib/{configurator-DrF49jhK.mjs.map → configurator-B8BvHTky.mjs.map} +1 -1
- package/lib/configurator-CaIbtRET.mjs +2 -0
- package/lib/glb-viewer-CZvZ1erY.mjs +2 -0
- package/lib/{glb-viewer-DfTibwy-.mjs → glb-viewer-DamedzN_.mjs} +4 -4
- package/lib/{glb-viewer-DfTibwy-.mjs.map → glb-viewer-DamedzN_.mjs.map} +1 -1
- package/lib/{highlight-coordinator-DKMaPGPo.mjs → highlight-coordinator-DiTRPUXt.mjs} +3 -3
- package/lib/{highlight-coordinator-DKMaPGPo.mjs.map → highlight-coordinator-DiTRPUXt.mjs.map} +1 -1
- package/lib/{homag-intelligence-BpYU-Dit.mjs → homag-intelligence-Kd23hknu.mjs} +6 -3
- package/lib/homag-intelligence-Kd23hknu.mjs.map +1 -0
- package/lib/{material-viewer-D2SC_WGL.mjs → material-viewer-CArm5Sbd.mjs} +4 -4
- package/lib/{material-viewer-D2SC_WGL.mjs.map → material-viewer-CArm5Sbd.mjs.map} +1 -1
- package/lib/{packages-Dq64FLqO.mjs → packages-Cl6mO8eL.mjs} +5 -5
- package/lib/{packages-Dq64FLqO.mjs.map → packages-Cl6mO8eL.mjs.map} +1 -1
- package/lib/{planner-BflojXJm.mjs → planner-BvSAoyAE.mjs} +3 -3
- package/lib/{planner-BflojXJm.mjs.map → planner-BvSAoyAE.mjs.map} +1 -1
- package/lib/planner-CGH5CX5Q.mjs +2 -0
- package/lib/roomle-headless.d.ts +128 -7
- package/lib/roomle-headless.js +9 -9
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -1
- package/lib/{roomle-sdk-AuHoyXQw.mjs → roomle-sdk-CyuyR7se.mjs} +3457 -3125
- package/lib/roomle-sdk-CyuyR7se.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +128 -7
- package/lib/roomle-sdk.js +7 -7
- 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-NOgMV9KH.mjs} +2 -2
- package/lib/{scene-renderer-DGSgD6mp.mjs.map → scene-renderer-NOgMV9KH.mjs.map} +1 -1
- package/lib/{script-loader-ChoIO9yO.mjs → script-loader-i9PxCq7s.mjs} +2 -2
- package/lib/{script-loader-ChoIO9yO.mjs.map → script-loader-i9PxCq7s.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-BKeEnvFU.mjs} +2 -2
- package/lib/{stats-helper-C74q5Bje.mjs.map → stats-helper-BKeEnvFU.mjs.map} +1 -1
- package/lib/{threejs-utils-DHTRY4yW.mjs → threejs-utils-CX2ILaES.mjs} +66 -62
- package/lib/threejs-utils-CX2ILaES.mjs.map +1 -0
- package/lib/{tools-core-CVyQSfI6.mjs → tools-core-DqGfLhDO.mjs} +3 -3
- package/lib/{tools-core-CVyQSfI6.mjs.map → tools-core-DqGfLhDO.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-sdk.d.ts
CHANGED
|
@@ -219,6 +219,19 @@ export declare interface AssetType_2 {
|
|
|
219
219
|
|
|
220
220
|
export declare type AssetUrl = string;
|
|
221
221
|
|
|
222
|
+
export declare class AsyncGuard<T> {
|
|
223
|
+
info: any;
|
|
224
|
+
private _promise;
|
|
225
|
+
private _resolve;
|
|
226
|
+
private _reject;
|
|
227
|
+
constructor(info?: any);
|
|
228
|
+
private _init;
|
|
229
|
+
resolve(value?: any): void;
|
|
230
|
+
reject(e: Error): void;
|
|
231
|
+
wait(): Promise<T>;
|
|
232
|
+
reset(): void;
|
|
233
|
+
}
|
|
234
|
+
|
|
222
235
|
export declare interface Attic extends PlanElement_2 {
|
|
223
236
|
new (): Attic;
|
|
224
237
|
getFrom(): Node_3;
|
|
@@ -1712,7 +1725,6 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1712
1725
|
private _uiIntersectionHelper;
|
|
1713
1726
|
private _sceneEventHandler;
|
|
1714
1727
|
private _isComponentDimensionsVisible;
|
|
1715
|
-
private _sceneSetupReady;
|
|
1716
1728
|
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1717
1729
|
/**
|
|
1718
1730
|
* Single point for deciding whether to push HTML label positions to the UI.
|
|
@@ -2516,6 +2528,12 @@ export declare const CORE_OBJECT_TYPE_CATEGORY: {
|
|
|
2516
2528
|
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2517
2529
|
};
|
|
2518
2530
|
|
|
2531
|
+
export declare const CORE_OBSTACLE_TYPE: {
|
|
2532
|
+
readonly GLOBAL: 0;
|
|
2533
|
+
readonly OBJECT_WITH_ID: 1;
|
|
2534
|
+
readonly CONSTRUCTION_WITH_ID: 2;
|
|
2535
|
+
};
|
|
2536
|
+
|
|
2519
2537
|
export declare const CORE_OPENING_DIRECTION: {
|
|
2520
2538
|
readonly LEFT_CLOCKWISE: 0;
|
|
2521
2539
|
readonly LEFT_COUNTERCLOCKWISE: 1;
|
|
@@ -3552,8 +3570,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3552
3570
|
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3553
3571
|
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3554
3572
|
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3555
|
-
* docking vectors and sub-modules),
|
|
3556
|
-
* resubmittable article picks with footprints and free docking vectors)
|
|
3573
|
+
* docking vectors and sub-modules), all groups currently loaded in the plan (as
|
|
3574
|
+
* resubmittable article picks with footprints and free docking vectors), and what stands in the
|
|
3575
|
+
* room (the doors, windows and other plan objects as floor outlines with their height range,
|
|
3576
|
+
* and the HI groups as the outlines of their root modules).
|
|
3557
3577
|
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3558
3578
|
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3559
3579
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
@@ -3807,6 +3827,25 @@ export declare interface ExternalObjectValidContainerModules {
|
|
|
3807
3827
|
parentModuleId: string;
|
|
3808
3828
|
}
|
|
3809
3829
|
|
|
3830
|
+
export declare type ExternalPlanObstacleKind = 'group' | 'door' | 'window' | 'object';
|
|
3831
|
+
|
|
3832
|
+
export declare interface ExternalPlanObstacles {
|
|
3833
|
+
points: Array<{
|
|
3834
|
+
x: number;
|
|
3835
|
+
y: number;
|
|
3836
|
+
}>;
|
|
3837
|
+
obstacles: ExternalPlanObstacleSegment[];
|
|
3838
|
+
kinds: Record<number, ExternalPlanObstacleKind>;
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
export declare interface ExternalPlanObstacleSegment {
|
|
3842
|
+
associatedObjectIds: number[];
|
|
3843
|
+
p0: number;
|
|
3844
|
+
p1: number;
|
|
3845
|
+
bottom: number;
|
|
3846
|
+
top: number;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3810
3849
|
export declare class ExternalReference {
|
|
3811
3850
|
getJsObject(): any;
|
|
3812
3851
|
setJsObject(jsObject: any): void;
|
|
@@ -3870,6 +3909,7 @@ export declare interface FeatureFlags {
|
|
|
3870
3909
|
/* Excluded from this release type: advancedHighlighting */
|
|
3871
3910
|
/* Excluded from this release type: fence */
|
|
3872
3911
|
/* Excluded from this release type: awaitConfigurationSavesBeforeRequestPlan */
|
|
3912
|
+
/* Excluded from this release type: disableRenderStandby */
|
|
3873
3913
|
}
|
|
3874
3914
|
|
|
3875
3915
|
export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
@@ -3885,6 +3925,7 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3885
3925
|
advancedHighlighting: boolean;
|
|
3886
3926
|
fence: boolean;
|
|
3887
3927
|
awaitConfigurationSavesBeforeRequestPlan: boolean;
|
|
3928
|
+
disableRenderStandby: boolean;
|
|
3888
3929
|
}
|
|
3889
3930
|
|
|
3890
3931
|
export declare interface FetchOptions {
|
|
@@ -4415,6 +4456,9 @@ export declare const HI_GROUP_OPERATION: {
|
|
|
4415
4456
|
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4416
4457
|
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4417
4458
|
readonly MERGE_GROUPS: "merge-groups";
|
|
4459
|
+
readonly INSERT_ARTICLE_INTO_GROUP: "insert-article-into-group";
|
|
4460
|
+
readonly REMOVE_ARTICLE_FROM_GROUP: "remove-article-from-group";
|
|
4461
|
+
readonly SWAP_ROOT_MODULES: "swap-root-modules";
|
|
4418
4462
|
};
|
|
4419
4463
|
|
|
4420
4464
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
@@ -4433,6 +4477,7 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
4433
4477
|
readonly MERGE_WITH_ON_ACTION: "merge_with_on_action";
|
|
4434
4478
|
readonly PLAN_CHANGED: "plan_changed";
|
|
4435
4479
|
readonly POSITION_CHANGED: "position_changed";
|
|
4480
|
+
readonly REARRANGE: "rearrange";
|
|
4436
4481
|
readonly SPLIT: "split";
|
|
4437
4482
|
readonly SWAP_MODULE: "swap_module";
|
|
4438
4483
|
readonly SWAP_GROUP: "swap_group";
|
|
@@ -4603,15 +4648,30 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4603
4648
|
groupId: string;
|
|
4604
4649
|
dockTo: HiDockTarget;
|
|
4605
4650
|
};
|
|
4606
|
-
|
|
4651
|
+
/** `attributes` are overrides of the new root module, e.g. another width. */
|
|
4652
|
+
'exchange-root-module': HiArticlePick & {
|
|
4607
4653
|
groupId: string;
|
|
4608
4654
|
rootModuleId: string;
|
|
4609
|
-
articleId: string;
|
|
4610
4655
|
};
|
|
4611
4656
|
'merge-groups': {
|
|
4612
4657
|
targetGroupId: string;
|
|
4613
4658
|
groupIds: string[];
|
|
4614
4659
|
};
|
|
4660
|
+
/** `between` names two root modules docked side by side, in either order. */
|
|
4661
|
+
'insert-article-into-group': HiArticlePick & {
|
|
4662
|
+
groupId: string;
|
|
4663
|
+
between: [string, string];
|
|
4664
|
+
};
|
|
4665
|
+
/** Removes a root module and closes the gap; `delete-root-module` leaves it. */
|
|
4666
|
+
'remove-article-from-group': {
|
|
4667
|
+
groupId: string;
|
|
4668
|
+
rootModuleId: string;
|
|
4669
|
+
};
|
|
4670
|
+
/** Two root modules of the group change places, neighbours or not. */
|
|
4671
|
+
'swap-root-modules': {
|
|
4672
|
+
groupId: string;
|
|
4673
|
+
rootModuleIds: [string, string];
|
|
4674
|
+
};
|
|
4615
4675
|
}
|
|
4616
4676
|
|
|
4617
4677
|
export declare interface HiGroupOperationResult {
|
|
@@ -4619,6 +4679,8 @@ export declare interface HiGroupOperationResult {
|
|
|
4619
4679
|
groups: HiPlanGroup[];
|
|
4620
4680
|
removedGroupIds: string[];
|
|
4621
4681
|
changedModuleIds?: string[];
|
|
4682
|
+
corrections?: string[];
|
|
4683
|
+
gapClosed?: boolean;
|
|
4622
4684
|
}
|
|
4623
4685
|
|
|
4624
4686
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
@@ -4721,6 +4783,7 @@ export declare interface HiPlanContext {
|
|
|
4721
4783
|
rooms?: HiPlanRoomInformation;
|
|
4722
4784
|
articles?: HiPlanArticle[];
|
|
4723
4785
|
groups?: HiPlanGroup[];
|
|
4786
|
+
obstacles?: HiPlanObstacles;
|
|
4724
4787
|
}
|
|
4725
4788
|
|
|
4726
4789
|
export declare interface HiPlanContextData {
|
|
@@ -4730,7 +4793,7 @@ export declare interface HiPlanContextData {
|
|
|
4730
4793
|
}>;
|
|
4731
4794
|
}
|
|
4732
4795
|
|
|
4733
|
-
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4796
|
+
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups' | 'obstacles';
|
|
4734
4797
|
|
|
4735
4798
|
export declare interface HiPlanContour {
|
|
4736
4799
|
level: number;
|
|
@@ -4768,6 +4831,11 @@ export declare interface HiPlanGroup {
|
|
|
4768
4831
|
roots: HiPlanRoot[];
|
|
4769
4832
|
}
|
|
4770
4833
|
|
|
4834
|
+
export declare interface HiPlanGroupObstacles {
|
|
4835
|
+
id: string;
|
|
4836
|
+
roots: HiPlanRootOutline[];
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4771
4839
|
export declare interface HiPlanGroupPosition {
|
|
4772
4840
|
pos?: number[];
|
|
4773
4841
|
rotationY?: number;
|
|
@@ -4788,6 +4856,18 @@ export declare interface HiPlanMasterDataModule {
|
|
|
4788
4856
|
attributes: string[];
|
|
4789
4857
|
}
|
|
4790
4858
|
|
|
4859
|
+
export declare interface HiPlanObstacle {
|
|
4860
|
+
kind: Exclude<ExternalPlanObstacleKind, 'group'>;
|
|
4861
|
+
outline: HiPlanPosition3[];
|
|
4862
|
+
bottomMm: number;
|
|
4863
|
+
topMm: number;
|
|
4864
|
+
}
|
|
4865
|
+
|
|
4866
|
+
export declare interface HiPlanObstacles {
|
|
4867
|
+
objects: HiPlanObstacle[];
|
|
4868
|
+
groups: HiPlanGroupObstacles[];
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4791
4871
|
/**
|
|
4792
4872
|
* The plan context is the data an AI agent needs to understand and author a
|
|
4793
4873
|
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
@@ -4829,6 +4909,13 @@ export declare interface HiPlanRootAttribute {
|
|
|
4829
4909
|
value?: number | string | boolean;
|
|
4830
4910
|
}
|
|
4831
4911
|
|
|
4912
|
+
export declare interface HiPlanRootOutline {
|
|
4913
|
+
id: string;
|
|
4914
|
+
outline: HiPlanPosition3[];
|
|
4915
|
+
bottomMm: number;
|
|
4916
|
+
topMm: number;
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4832
4919
|
export declare interface HiPlanWall {
|
|
4833
4920
|
index: number;
|
|
4834
4921
|
side: HiPlanWallSide;
|
|
@@ -6567,6 +6654,29 @@ export declare interface ObjectTypeCategory {
|
|
|
6567
6654
|
|
|
6568
6655
|
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
6569
6656
|
|
|
6657
|
+
export declare interface Obstacle2d {
|
|
6658
|
+
associatedObjectIds: EmsArray<number>;
|
|
6659
|
+
bottom: number;
|
|
6660
|
+
length: number;
|
|
6661
|
+
normalizedDirection: KernelVector2f;
|
|
6662
|
+
p0: number;
|
|
6663
|
+
p1: number;
|
|
6664
|
+
top: number;
|
|
6665
|
+
type: ObstacleType;
|
|
6666
|
+
}
|
|
6667
|
+
|
|
6668
|
+
export declare class Obstacle2dArray extends EmsArray<Obstacle2d> {
|
|
6669
|
+
}
|
|
6670
|
+
|
|
6671
|
+
export declare interface ObstacleMap2d {
|
|
6672
|
+
obstacles: Obstacle2dArray;
|
|
6673
|
+
points: Vector2Array;
|
|
6674
|
+
}
|
|
6675
|
+
|
|
6676
|
+
export declare interface ObstacleType {
|
|
6677
|
+
value: Enumify<typeof CORE_OBSTACLE_TYPE>;
|
|
6678
|
+
}
|
|
6679
|
+
|
|
6570
6680
|
export declare interface OffsetCamera {
|
|
6571
6681
|
offset: CanvasOffset;
|
|
6572
6682
|
resetOffset(): void;
|
|
@@ -7164,6 +7274,7 @@ export declare interface PlanModelViewHelper_2 {
|
|
|
7164
7274
|
requestMesh3d(element: PlanElement_3): void;
|
|
7165
7275
|
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7166
7276
|
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
7277
|
+
getObstacleMap(plan: Plan_3): ObstacleMap2d;
|
|
7167
7278
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
7168
7279
|
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
7169
7280
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
@@ -9585,6 +9696,7 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9585
9696
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9586
9697
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9587
9698
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9699
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9588
9700
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9589
9701
|
saveCurrentPlanSnapshot(): Promise<RapiPlanSnapshotGetData>;
|
|
9590
9702
|
renderPosDataImage(posDataJson: object): Promise<void>;
|
|
@@ -9603,6 +9715,7 @@ export declare interface RoomDesignerRequests {
|
|
|
9603
9715
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9604
9716
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9605
9717
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9718
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9606
9719
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9607
9720
|
}
|
|
9608
9721
|
|
|
@@ -10652,8 +10765,9 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10652
10765
|
private _globalInitData;
|
|
10653
10766
|
private _globalCallback;
|
|
10654
10767
|
private _unitFormatter;
|
|
10655
|
-
private _planInteractionManager;
|
|
10656
10768
|
private _elevationPlan2dGenerator;
|
|
10769
|
+
private _skyStateTracker;
|
|
10770
|
+
private _planInteractionManager;
|
|
10657
10771
|
private _sceneManager;
|
|
10658
10772
|
private _plan;
|
|
10659
10773
|
private _preloadPlanId;
|
|
@@ -11088,6 +11202,8 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11088
11202
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11089
11203
|
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
11090
11204
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
11205
|
+
_getExternalPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
11206
|
+
private _planObstacleKind;
|
|
11091
11207
|
/**
|
|
11092
11208
|
* Highlights a product in the planner.
|
|
11093
11209
|
* @param planElementId The ID of the plan element to highlight.
|
|
@@ -11694,6 +11810,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11694
11810
|
protected _stopRendering: boolean;
|
|
11695
11811
|
protected _roomleRenderer: GenericRoomleRenderer | null;
|
|
11696
11812
|
private _roomleRendererReady;
|
|
11813
|
+
protected _sceneSetupReady: AsyncGuard<void>;
|
|
11697
11814
|
private _isDebugGUIInitialized;
|
|
11698
11815
|
private _forceRender;
|
|
11699
11816
|
private _lastChange;
|
|
@@ -11912,6 +12029,7 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
11912
12029
|
private _isCurrentlyActive;
|
|
11913
12030
|
private _initData;
|
|
11914
12031
|
constructor(creator: string);
|
|
12032
|
+
get isSkyEnabled(): boolean;
|
|
11915
12033
|
get isCurrentlyActive(): boolean;
|
|
11916
12034
|
notifyEnteredPlanner(): void;
|
|
11917
12035
|
notifyEnteredConfigurator(): void;
|
|
@@ -12496,6 +12614,9 @@ export declare interface VariantsList {
|
|
|
12496
12614
|
parts: KernelPart[];
|
|
12497
12615
|
}
|
|
12498
12616
|
|
|
12617
|
+
export declare class Vector2Array extends EmsArray<KernelVector2f> {
|
|
12618
|
+
}
|
|
12619
|
+
|
|
12499
12620
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
12500
12621
|
}
|
|
12501
12622
|
|
package/lib/roomle-sdk.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-Cl6mO8eL.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import { Et as s, St as c } from "./threejs-utils-
|
|
3
|
+
import { Et as s, St as c } from "./threejs-utils-CX2ILaES.mjs";
|
|
4
4
|
import { D as l, g as u } from "./common-utils-CNGLvAo_.mjs";
|
|
5
|
-
import { F as d, G as f, J as p, K as m, M as h, N as g, P as _, S as v, V as y, Y as b, b as x, dt as S, ft as C, ht as w, j as T, k as E, lt as D, q as O, t as k, u as A, ut as j, x as M, y as N, z as P } from "./roomle-sdk-
|
|
6
|
-
import { t as F } from "./configurator-
|
|
7
|
-
import { t as I } from "./planner-
|
|
8
|
-
import { n as L, t as R } from "./glb-viewer-
|
|
9
|
-
import { t as z } from "./api-
|
|
5
|
+
import { F as d, G as f, J as p, K as m, M as h, N as g, P as _, S as v, V as y, Y as b, b as x, dt as S, ft as C, ht as w, j as T, k as E, lt as D, q as O, t as k, u as A, ut as j, x as M, y as N, z as P } from "./roomle-sdk-CyuyR7se.mjs";
|
|
6
|
+
import { t as F } from "./configurator-B8BvHTky.mjs";
|
|
7
|
+
import { t as I } from "./planner-BvSAoyAE.mjs";
|
|
8
|
+
import { n as L, t as R } from "./glb-viewer-DamedzN_.mjs";
|
|
9
|
+
import { t as z } from "./api-DgmvQKJM.mjs";
|
|
10
10
|
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, F as Configurator, T as FloorPlanElementViewModel, R as GlbViewer, P as HI_CONTEXT_ACTION, y as HI_GROUP_OPERATION, v as MeasurementLinePlanElementViewModel, N as PLAN_ELEMENT_CHANGE_TYPES, d as PlanElementViewModel, _ as PlanObjectViewModel, I as Planner, D as RapiAccess, j as RapiInvalidIdError, S as RapiOfflineError, z as RoomDesignerApi, E as RoomleConfigurator, L as RoomleGLBViewer, w as RoomleLightSource, A as RoomlePlanner, k as RoomleSdk, g as StaticPlanObjectViewModel, h as WallPlanElementViewModel, f as createExtObj, b as createExtObjId, u as download, C as getCatalogIdFromConfigurationHash, m as isExtObjId, O as isExternalObject, x as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, M as isSafari, l as md5Hash, p as removeExtObjIdPrefix };
|
|
@@ -106,7 +106,7 @@ var W = /* @__PURE__ */ new Ae(), Xt = /* @__PURE__ */ new d(), Zt = /* @__PURE_
|
|
|
106
106
|
selectedObjects: this.selectedObjects,
|
|
107
107
|
edgeThickness: this.edgeThickness,
|
|
108
108
|
edgeGlow: this.edgeGlow
|
|
109
|
-
}), s = L(a.mul(this.visibleEdgeColor).add(o.mul(this.hiddenEdgeColor)).mul(this.edgeStrength), 0);
|
|
109
|
+
}), s = L(a.mul(this.visibleEdgeColor).add(o.mul(this.hiddenEdgeColor)).mul(this.edgeStrength), 0).toInspector("Outline / Composite");
|
|
110
110
|
return i === "outline" ? L(0, 0, 0, 0).add(s) : t.add(s);
|
|
111
111
|
}
|
|
112
112
|
addParametersToGUI(e, t) {
|
|
@@ -2858,9 +2858,9 @@ var nr = (e, t, n, r) => new $n(pt(e), ot(t), ot(n), r), rr = class e extends tn
|
|
|
2858
2858
|
if (!(r instanceof D) || this.sliceCount.value === 0 || this.stepCount.value === 0) return t;
|
|
2859
2859
|
let a = e.getTextureNode("output"), o = e.getTextureNode("diffuseColor"), s = e.getTextureNode("depth"), c = e.getTextureNode("normal"), l = St((e) => Be(c.sample(e))), u = Qn(a, s, l, r);
|
|
2860
2860
|
u.sliceCount = this.sliceCount, u.stepCount = this.stepCount, u.radius = this.radius, u.expFactor = this.expFactor, u.thickness = this.thickness, u.backfaceLighting = this.backfaceLighting, u.aoIntensity = this.aoIntensity, u.giIntensity = this.giIntensity, u.useLinearThickness = this.useLinearThickness, u.useScreenSpaceSampling = this.useScreenSpaceSampling, u.useTemporalFiltering = this.useTemporalFiltering;
|
|
2861
|
-
let d = u.getGINode(), f = u.getAONode(), p = nr(d, s, l, r);
|
|
2861
|
+
let d = u.getGINode().toInspector("SSGI / GI"), f = u.getAONode().toInspector("SSGI / AO"), p = nr(d, s, l, r).toInspector("SSGI / GI Denoised");
|
|
2862
2862
|
p.radius = this.giDenoiseRadius;
|
|
2863
|
-
let m = nr(f, s, l, r);
|
|
2863
|
+
let m = nr(f, s, l, r).toInspector("SSGI / AO Denoised");
|
|
2864
2864
|
m.radius = this.aoDenoiseRadius;
|
|
2865
2865
|
let h = L(Mt(a.rgb.mul(m.r), o.rgb.mul(p.rgb)), a.a);
|
|
2866
2866
|
return h.name = "Ssgi Composite", i === "ao only" ? L(M(f.r), 1) : i === "gi only" ? L(d.rgb, 1) : i === "denoised ao only" ? L(M(m.r), 1) : i === "denoised gi only" ? L(p.rgb, 1) : i === "direct lighting only" ? a : i === "without denoise" ? L(Mt(a.rgb.mul(f.r), o.rgb.mul(d.rgb)), a.a) : h;
|
|
@@ -3201,8 +3201,8 @@ var fr = /* @__PURE__ */ new Ae(), pr = /* @__PURE__ */ new d(), mr, hr = class
|
|
|
3201
3201
|
}
|
|
3202
3202
|
assemble(e, t, n, r, i) {
|
|
3203
3203
|
if (!(r instanceof D) || i === "no fog" || i === "depth") return this.removeSceneFog(), t;
|
|
3204
|
-
let a = e.getTextureNode("depth"), o = this.getTransparentObjectsDepthPassTexture(n, r), s = Ve(a.r, o.r), c = F(r.projectionMatrixInverse), l = F(r.matrixWorld), u = Ve(F(r.far).onRenderUpdate(() => r.far), 50).sub(this.fogFarBlend), d = u.sub(this.fogNearBlend), f = L(Ht.x.mul(2).sub(1), Ht.y.mul(2).sub(1), s, 1), p = c.mul(f), m = p.xyz.div(p.w), h = l.mul(L(m, 1)).xyz.xz.length(), g = u.sub(h).div(u.sub(d)).clamp(0, 1);
|
|
3205
|
-
return this.addSceneFog(n, d, u), Ge(L(this.fogColor, 1), t, g);
|
|
3204
|
+
let a = e.getTextureNode("depth"), o = this.getTransparentObjectsDepthPassTexture(n, r), s = Ve(a.r, o.r), c = F(r.projectionMatrixInverse), l = F(r.matrixWorld), u = Ve(F(r.far).onRenderUpdate(() => r.far), 50).sub(this.fogFarBlend), d = u.sub(this.fogNearBlend), f = L(Ht.x.mul(2).sub(1), Ht.y.mul(2).sub(1), s, 1), p = c.mul(f), m = p.xyz.div(p.w), h = l.mul(L(m, 1)).xyz.xz.length(), g = u.sub(h).div(u.sub(d)).clamp(0, 1).toInspector("Fog / Factor");
|
|
3205
|
+
return this.addSceneFog(n, d, u), Ge(L(this.fogColor, 1), t, g).toInspector("Fog / Composite");
|
|
3206
3206
|
}
|
|
3207
3207
|
addSceneFog(e, t, n) {
|
|
3208
3208
|
let r = It.xz.length(), i = n.sub(r).div(n.sub(t)).clamp(0, 1).oneMinus();
|
|
@@ -3267,7 +3267,7 @@ var fr = /* @__PURE__ */ new Ae(), pr = /* @__PURE__ */ new d(), mr, hr = class
|
|
|
3267
3267
|
}
|
|
3268
3268
|
switchToPlanner(e) {
|
|
3269
3269
|
super.switchToPlanner(e);
|
|
3270
|
-
let t = this.
|
|
3270
|
+
let t = this._skyStateTracker.isSkyEnabled;
|
|
3271
3271
|
this._webGpuGroundShadowReflection.setFloorVisible(t), this._webGpuGroundShadowReflection.setTopLightVisible(!t && e !== Se.Mode2D), this._webGpuSkyContainer.setVisible(t), this._skyStateTracker.notifyEnteredPlanner(), this.disableFogPass(), this.passNeedsReassembly = !0;
|
|
3272
3272
|
}
|
|
3273
3273
|
highlightObjects(e) {
|
|
@@ -3432,4 +3432,4 @@ ye([ve, _e("design:type", Object)], kr.prototype, "_domHelper", void 0), ye([ve,
|
|
|
3432
3432
|
//#endregion
|
|
3433
3433
|
export { kr as RoomleWebGPURenderer };
|
|
3434
3434
|
|
|
3435
|
-
//# sourceMappingURL=roomle-webgpu-renderer-
|
|
3435
|
+
//# sourceMappingURL=roomle-webgpu-renderer-__fKL0NL.mjs.map
|