@roomle/web-sdk 5.1.0-typestest.1 → 5.1.0
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/.releaserc.json +0 -12
- package/lib/{BufferGeometry-CxlpBjLq.mjs → BufferGeometry-BnAxBdk5.mjs} +2 -2
- package/lib/{BufferGeometry-CxlpBjLq.mjs.map → BufferGeometry-BnAxBdk5.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-DeNw0qAI.mjs → GLTFExporter-nbgAo4jg.mjs} +1 -1
- package/lib/{GLTFExporter-DeNw0qAI.mjs.map → GLTFExporter-nbgAo4jg.mjs.map} +1 -1
- package/lib/{GaussianBlurNode-BR1cKBsX.mjs → GaussianBlurNode-CkEuIVaV.mjs} +3 -3
- package/lib/{GaussianBlurNode-BR1cKBsX.mjs.map → GaussianBlurNode-CkEuIVaV.mjs.map} +1 -1
- package/lib/{Object3D-CALIQdg1.mjs → Object3D-DWcwDaGD.mjs} +1 -1
- package/lib/{Object3D-CALIQdg1.mjs.map → Object3D-DWcwDaGD.mjs.map} +1 -1
- package/lib/{PointLightHelper-C_0CYp7R.mjs → PointLightHelper-B9jI7cpI.mjs} +4 -4
- package/lib/{PointLightHelper-C_0CYp7R.mjs.map → PointLightHelper-B9jI7cpI.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-UUIHn43T.mjs → SpotLightHelper-DYKh1Ufq.mjs} +3 -3
- package/lib/{SpotLightHelper-UUIHn43T.mjs.map → SpotLightHelper-DYKh1Ufq.mjs.map} +1 -1
- package/lib/{USDZExporter-BBNw7Hey.mjs → USDZExporter-DxfFzy9g.mjs} +2 -2
- package/lib/{USDZExporter-BBNw7Hey.mjs.map → USDZExporter-DxfFzy9g.mjs.map} +1 -1
- package/lib/{Vector4-BOcWTZJI.mjs → Vector4-BaGMLJRJ.mjs} +2 -2
- package/lib/{Vector4-BOcWTZJI.mjs.map → Vector4-BaGMLJRJ.mjs.map} +1 -1
- package/lib/{api-DGnvZIcv.mjs → api-Woc5NOM1.mjs} +7 -4
- package/lib/api-Woc5NOM1.mjs.map +1 -0
- package/lib/{asset-loader.worker-CzI1oyTY.mjs → asset-loader.worker-CE4O0JU-.mjs} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -0
- package/lib/{banana-for-scale-Cf41yXTl.mjs → banana-for-scale-DQIiLvlJ.mjs} +3 -3
- package/lib/{banana-for-scale-Cf41yXTl.mjs.map → banana-for-scale-DQIiLvlJ.mjs.map} +1 -1
- package/lib/{budgeteer.sw-D80jTmYa.mjs → budgeteer.sw-yR2xApHT.mjs} +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -0
- package/lib/common-utils-CNGLvAo_.mjs +320 -0
- package/lib/common-utils-CNGLvAo_.mjs.map +1 -0
- package/lib/{component-raycast-helper-BtOEYKaR.mjs → component-raycast-helper-CaY2UMli.mjs} +4 -4
- package/lib/{component-raycast-helper-BtOEYKaR.mjs.map → component-raycast-helper-CaY2UMli.mjs.map} +1 -1
- package/lib/configurator-Bo_pnqDi.mjs +2 -0
- package/lib/configurator-i-Zl5omd.mjs +45 -0
- package/lib/{configurator-BFZrqpSE.mjs.map → configurator-i-Zl5omd.mjs.map} +1 -1
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs → continuous-drawing-helper-BPe83b9-.mjs} +2 -2
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs.map → continuous-drawing-helper-BPe83b9-.mjs.map} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs → dat.gui.module-B2PXSbre.mjs} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs.map → dat.gui.module-B2PXSbre.mjs.map} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs → decorate-CjaqqbUP.mjs} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs.map → decorate-CjaqqbUP.mjs.map} +1 -1
- package/lib/{dimensioning-helper-DSlkLDmx.mjs → dimensioning-helper-WQTVJpxQ.mjs} +4 -4
- package/lib/{dimensioning-helper-DSlkLDmx.mjs.map → dimensioning-helper-WQTVJpxQ.mjs.map} +1 -1
- package/lib/dimensioning-helper-v3HsrygN.mjs +2 -0
- package/lib/{dist-BZTF7IJN.mjs → dist-Blgk0vU0.mjs} +1 -1
- package/lib/{dist-BZTF7IJN.mjs.map → dist-Blgk0vU0.mjs.map} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs → fflate.module-DTkA0kF8.mjs} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs.map → fflate.module-DTkA0kF8.mjs.map} +1 -1
- package/lib/{glb-viewer-DY3xeUtU.mjs → glb-viewer-C1-vP2Vq.mjs} +24 -24
- package/lib/{glb-viewer-DY3xeUtU.mjs.map → glb-viewer-C1-vP2Vq.mjs.map} +1 -1
- package/lib/glb-viewer-CaNU0FLF.mjs +2 -0
- package/lib/{highlight-coordinator-Q8dEUY3D.mjs → highlight-coordinator-DKMaPGPo.mjs} +10 -10
- package/lib/{highlight-coordinator-Q8dEUY3D.mjs.map → highlight-coordinator-DKMaPGPo.mjs.map} +1 -1
- package/lib/{homag-intelligence-SidskTjc.mjs → homag-intelligence-Dr0m9LxO.mjs} +9 -3
- package/lib/homag-intelligence-Dr0m9LxO.mjs.map +1 -0
- package/lib/{hosek-wilkie-sky-DmTvnxMA.mjs → hosek-wilkie-sky-CZX3Q53j.mjs} +3 -3
- package/lib/{hosek-wilkie-sky-DmTvnxMA.mjs.map → hosek-wilkie-sky-CZX3Q53j.mjs.map} +1 -1
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs → imos-ix-poc-export-helper-DLaYjLvF.mjs} +3 -3
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs.map → imos-ix-poc-export-helper-DLaYjLvF.mjs.map} +1 -1
- package/lib/{kernel-utils-BYKmP0mf.mjs → kernel-utils-BwJOfYWh.mjs} +1 -1
- package/lib/{kernel-utils-BYKmP0mf.mjs.map → kernel-utils-BwJOfYWh.mjs.map} +1 -1
- package/lib/{layer-DRMDGxT7.mjs → layer-PJGxbJOI.mjs} +1 -1
- package/lib/{layer-DRMDGxT7.mjs.map → layer-PJGxbJOI.mjs.map} +1 -1
- package/lib/{material-viewer-CzzbbiY3.mjs → material-viewer-CHzje_V0.mjs} +31 -31
- package/lib/{material-viewer-CzzbbiY3.mjs.map → material-viewer-CHzje_V0.mjs.map} +1 -1
- package/lib/{packages-Cduqgaaj.mjs → packages-DbOsSpKq.mjs} +6 -5
- package/lib/{packages-Cduqgaaj.mjs.map → packages-DbOsSpKq.mjs.map} +1 -1
- package/lib/{planner-ClhRT5pF.mjs → planner-BOrph7M7.mjs} +14 -14
- package/lib/{planner-ClhRT5pF.mjs.map → planner-BOrph7M7.mjs.map} +1 -1
- package/lib/planner-DXeyIHUx.mjs +2 -0
- package/lib/{plugin-system-CPf99Zkf.mjs → plugin-system-BSLY3o0a.mjs} +3 -3
- package/lib/{plugin-system-CPf99Zkf.mjs.map → plugin-system-BSLY3o0a.mjs.map} +1 -1
- package/lib/{roomle-headless-setup-ps3I0vOP.mjs → roomle-headless-setup-DbO_rLjK.mjs} +1 -1
- package/lib/{roomle-headless-setup-ps3I0vOP.mjs.map → roomle-headless-setup-DbO_rLjK.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +321 -17
- package/lib/roomle-headless.js +68 -68
- package/lib/roomle-headless.js.map +1 -1
- package/lib/{roomle-renderer-UJINLYxS.mjs → roomle-renderer-nCUrLU_S.mjs} +1 -1
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -0
- package/lib/{roomle-sdk-VJa0TBo9.mjs → roomle-sdk-CN9TqA78.mjs} +4236 -3463
- package/lib/roomle-sdk-CN9TqA78.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +321 -17
- package/lib/roomle-sdk.js +9 -8
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs → roomle-webgpu-renderer-C26OAfkn.mjs} +299 -299
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs.map → roomle-webgpu-renderer-C26OAfkn.mjs.map} +1 -1
- package/lib/{scene-renderer-C3ubDmx0.mjs → scene-renderer-DGSgD6mp.mjs} +359 -342
- package/lib/scene-renderer-DGSgD6mp.mjs.map +1 -0
- package/lib/{script-loader-DIm0FRqb.mjs → script-loader-CL3F8sIY.mjs} +3 -3
- package/lib/{script-loader-DIm0FRqb.mjs.map → script-loader-CL3F8sIY.mjs.map} +1 -1
- package/lib/{shading-settings-6v-7O_Sz.mjs → shading-settings-DJ4kY2Cn.mjs} +2 -2
- package/lib/{shading-settings-6v-7O_Sz.mjs.map → shading-settings-DJ4kY2Cn.mjs.map} +1 -1
- package/lib/src-D2lqGogG.mjs +2 -0
- package/lib/{src-Dg0wYIom.mjs → src-DRuHdK6i.mjs} +1 -1
- package/lib/{src-Dg0wYIom.mjs.map → src-DRuHdK6i.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-BQ4iIDmH.mjs → stats-helper-C74q5Bje.mjs} +3 -3
- package/lib/{stats-helper-BQ4iIDmH.mjs.map → stats-helper-C74q5Bje.mjs.map} +1 -1
- package/lib/{svgo.browser-xZ3L7awG.mjs → svgo.browser-EB1zkPfG.mjs} +1 -1
- package/lib/{svgo.browser-xZ3L7awG.mjs.map → svgo.browser-EB1zkPfG.mjs.map} +1 -1
- package/lib/{three.tsl-DtfvggFX.mjs → three.tsl-CuZzrviK.mjs} +1 -1
- package/lib/{three.tsl-De6A-G56.mjs → three.tsl-kYk-mr3-.mjs} +2 -2
- package/lib/{three.tsl-De6A-G56.mjs.map → three.tsl-kYk-mr3-.mjs.map} +1 -1
- package/lib/{three.webgpu-B1OhMci_.mjs → three.webgpu-D11YJG2U.mjs} +1 -1
- package/lib/{three.webgpu-wPiwbpFM.mjs → three.webgpu-DTO8skiU.mjs} +1 -1
- package/lib/{three.webgpu-wPiwbpFM.mjs.map → three.webgpu-DTO8skiU.mjs.map} +1 -1
- package/lib/{threejs-utils-CMmJiCGK.mjs → threejs-utils-DHTRY4yW.mjs} +288 -152
- package/lib/threejs-utils-DHTRY4yW.mjs.map +1 -0
- package/lib/{tools-core-SxI9qPW4.mjs → tools-core-D3kc3jRW.mjs} +6 -6
- package/lib/{tools-core-SxI9qPW4.mjs.map → tools-core-D3kc3jRW.mjs.map} +1 -1
- package/lib/{webgpu-BxYJfBjz.mjs → webgpu-zcxAHKs3.mjs} +4 -4
- package/lib/{webgpu-BxYJfBjz.mjs.map → webgpu-zcxAHKs3.mjs.map} +1 -1
- package/lib/workers-B-AqdQMe.mjs +6 -0
- package/lib/{workers-B_wmKVL0.mjs.map → workers-B-AqdQMe.mjs.map} +1 -1
- package/package.json +3 -3
- package/lib/api-DGnvZIcv.mjs.map +0 -1
- package/lib/asset-loader.worker-CzI1oyTY.mjs.map +0 -1
- package/lib/budgeteer.sw-D80jTmYa.mjs.map +0 -1
- package/lib/common-utils-OTJQGohe.mjs +0 -206
- package/lib/common-utils-OTJQGohe.mjs.map +0 -1
- package/lib/component-dimensioning-BvF9Vdm0.mjs +0 -169
- package/lib/component-dimensioning-BvF9Vdm0.mjs.map +0 -1
- package/lib/configurator-BFZrqpSE.mjs +0 -45
- package/lib/configurator-DUKXHWSS.mjs +0 -2
- package/lib/dimensioning-helper-CQlesi-m.mjs +0 -2
- package/lib/glb-viewer-GQsVJ2fM.mjs +0 -2
- package/lib/homag-intelligence-SidskTjc.mjs.map +0 -1
- package/lib/planner-BX25vBoU.mjs +0 -2
- package/lib/render-cache-CPppt7Rd.mjs +0 -150
- package/lib/render-cache-CPppt7Rd.mjs.map +0 -1
- package/lib/render-order-a0QAbB7Q.mjs +0 -26
- package/lib/render-order-a0QAbB7Q.mjs.map +0 -1
- package/lib/roomle-renderer-UJINLYxS.mjs.map +0 -1
- package/lib/roomle-sdk-VJa0TBo9.mjs.map +0 -1
- package/lib/scene-renderer-C3ubDmx0.mjs.map +0 -1
- package/lib/src-6KtBPZXp.mjs +0 -2
- package/lib/threejs-utils-CMmJiCGK.mjs.map +0 -1
- package/lib/workers-B_wmKVL0.mjs +0 -6
package/lib/roomle-sdk.d.ts
CHANGED
|
@@ -1712,7 +1712,6 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1712
1712
|
private _uiIntersectionHelper;
|
|
1713
1713
|
private _sceneEventHandler;
|
|
1714
1714
|
private _isComponentDimensionsVisible;
|
|
1715
|
-
private _dimensionUpdateDebounced;
|
|
1716
1715
|
private _sceneSetupReady;
|
|
1717
1716
|
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1718
1717
|
/**
|
|
@@ -1751,6 +1750,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1751
1750
|
private _printObjectGraph;
|
|
1752
1751
|
clearScene(): void;
|
|
1753
1752
|
planObjectConstructionDone(_planObject: PlanObjectKernel): void;
|
|
1753
|
+
private _rebuildOrDropComponentDimensionings;
|
|
1754
1754
|
private _internalClearScene;
|
|
1755
1755
|
protected _waitForAssets(): Promise<void>;
|
|
1756
1756
|
preparePerspectiveImage(options?: PrepareImageOptions, _isolationMode?: boolean): Promise<Base64Image>;
|
|
@@ -1793,6 +1793,8 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1793
1793
|
zoomIn(value?: number): void;
|
|
1794
1794
|
zoomOut(value?: number): void;
|
|
1795
1795
|
showDimensions(): Promise<void>;
|
|
1796
|
+
private _showComponentDimensionings;
|
|
1797
|
+
private _areMeasurementsShown;
|
|
1796
1798
|
private _initDimensions;
|
|
1797
1799
|
hideDimensions(): void;
|
|
1798
1800
|
private _updateDimensionLabels;
|
|
@@ -1813,6 +1815,9 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1813
1815
|
};
|
|
1814
1816
|
private _permissionToDeleteComponent;
|
|
1815
1817
|
componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
|
|
1818
|
+
planObjectConfigurationUpdated(_planObject: PlanObjectKernel, _pendingDocking: boolean): Promise<void>;
|
|
1819
|
+
private _refreshComponentDimensionings;
|
|
1820
|
+
private _showBoundingBoxDimensions;
|
|
1816
1821
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
1817
1822
|
componentDeleted(component: RoomleComponent): void;
|
|
1818
1823
|
previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
|
|
@@ -2257,6 +2262,7 @@ export declare interface ConfiguratorViewModelCallbackI {
|
|
|
2257
2262
|
componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
|
|
2258
2263
|
componentDeleted(component: RoomleComponent): void;
|
|
2259
2264
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
2265
|
+
planObjectConfigurationUpdated(planObject: PlanObjectKernel, pendingDocking: boolean): Promise<void>;
|
|
2260
2266
|
planObjectConstructionDone(planObject: PlanObjectKernel): void;
|
|
2261
2267
|
previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
|
|
2262
2268
|
planObjectDependencyUpdated(planObjectId: number): void;
|
|
@@ -2967,6 +2973,8 @@ export declare class DomHelper implements LifeCycleCallbacks, Context {
|
|
|
2967
2973
|
destroy(): void;
|
|
2968
2974
|
}
|
|
2969
2975
|
|
|
2976
|
+
export declare const download: (filename: string, content: string) => void;
|
|
2977
|
+
|
|
2970
2978
|
export declare class DraggableNode extends Object3D {
|
|
2971
2979
|
private _sphere;
|
|
2972
2980
|
private _innerRingMesh;
|
|
@@ -3504,9 +3512,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3504
3512
|
/**
|
|
3505
3513
|
* "removeExternalObject" removes a group or root module from the plan.
|
|
3506
3514
|
* If the removed root module is located between other root modules the remaining group is split up in multiple groups.
|
|
3515
|
+
* The returned promise resolves once the plan object is removed.
|
|
3507
3516
|
* @param groupOrRootModuleId The ID of the group or root module to be removed.
|
|
3508
3517
|
*/
|
|
3509
|
-
removeExternalObject(groupOrRootModuleId: string): void
|
|
3518
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
3510
3519
|
/**
|
|
3511
3520
|
* "selectExternalObject" changes the selected object in the scene.
|
|
3512
3521
|
* The function selects either a complete group of root modules or a single root module or a single sub module.
|
|
@@ -3539,12 +3548,33 @@ export declare interface ExternalObjectAPI {
|
|
|
3539
3548
|
*/
|
|
3540
3549
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
3541
3550
|
/**
|
|
3542
|
-
* "getExternalObjectPlanContext" returns
|
|
3543
|
-
* the master data per library
|
|
3544
|
-
*
|
|
3551
|
+
* "getExternalObjectPlanContext" returns an agent-ready snapshot of the external object state:
|
|
3552
|
+
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3553
|
+
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3554
|
+
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3555
|
+
* docking vectors and sub-modules), and all groups currently loaded in the plan (as
|
|
3556
|
+
* resubmittable article picks with footprints and free docking vectors).
|
|
3557
|
+
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3558
|
+
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3545
3559
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
3546
3560
|
*/
|
|
3547
3561
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
3562
|
+
/**
|
|
3563
|
+
* "externalObjectGroupOperation" changes the groups in the plan by command. The payload refers to
|
|
3564
|
+
* groups, root modules and articles by the ids of "getExternalObjectPlanContext":
|
|
3565
|
+
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } sets an attribute of a root module or of one of its sub modules
|
|
3566
|
+
* - "change-group-attribute" { groupId, attributeId, value } sets an attribute on every module of the group that has it
|
|
3567
|
+
* - "delete-group" { groupId } removes the group from the plan
|
|
3568
|
+
* - "delete-root-module" { rootModuleId } removes a root module; the rest of the group splits where it is no longer docked together
|
|
3569
|
+
* - "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
|
|
3570
|
+
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking
|
|
3571
|
+
* - "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
|
|
3572
|
+
* The promise resolves once the planner has loaded the result, with the affected groups in the shape of the plan context,
|
|
3573
|
+
* and rejects with the reason when the payload is invalid or the operation cannot be performed.
|
|
3574
|
+
* @param command The operation.
|
|
3575
|
+
* @param payload The payload of the operation.
|
|
3576
|
+
*/
|
|
3577
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
3548
3578
|
/**
|
|
3549
3579
|
* It generates a snapshot of the external object in the plan without saving any data.
|
|
3550
3580
|
* By default, the snapshot includes order data, room information, the plan XML, GLBs of the complete scene,
|
|
@@ -3836,7 +3866,6 @@ export declare interface FeatureFlags {
|
|
|
3836
3866
|
/* Excluded from this release type: drawPreviewMode */
|
|
3837
3867
|
/* Excluded from this release type: forceSaveThumbnails */
|
|
3838
3868
|
/* Excluded from this release type: interiorLights */
|
|
3839
|
-
/* Excluded from this release type: advancedDimensioning */
|
|
3840
3869
|
/* Excluded from this release type: webGpu */
|
|
3841
3870
|
/* Excluded from this release type: advancedHighlighting */
|
|
3842
3871
|
/* Excluded from this release type: fence */
|
|
@@ -3850,7 +3879,6 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3850
3879
|
mergeOnInsert: boolean;
|
|
3851
3880
|
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3852
3881
|
interiorLights: boolean;
|
|
3853
|
-
advancedDimensioning: boolean;
|
|
3854
3882
|
enableSnapping: boolean;
|
|
3855
3883
|
webGpu: boolean;
|
|
3856
3884
|
forceSaveThumbnails: boolean;
|
|
@@ -4202,6 +4230,7 @@ export declare interface GlueLogic {
|
|
|
4202
4230
|
createOrReplacePosDataFromArticleLayout(articleLayoutJson: ExternalObjectGroupLayout, layoutType: string, posArticles?: PosArticle[]): Promise<PosGroup | PosGroup[] | undefined>;
|
|
4203
4231
|
newPosDataFromGroup(posDataJson: PosGroup): Promise<PosGroup>;
|
|
4204
4232
|
getPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
4233
|
+
executeGroupOperation(command: string, payload: unknown): Promise<HiGroupOperationResult>;
|
|
4205
4234
|
getGroupDataForOrder(options: GetGroupDataForOrderOptions): Promise<HiOrderData | null>;
|
|
4206
4235
|
getMaterialUrl(materialId: string, groupOrModuleId?: string): string | null;
|
|
4207
4236
|
}
|
|
@@ -4367,6 +4396,25 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4367
4396
|
readonly ISOLATION: "isolation";
|
|
4368
4397
|
};
|
|
4369
4398
|
|
|
4399
|
+
/**
|
|
4400
|
+
* Group operations change the groups of the plan context by command: a
|
|
4401
|
+
* command names the operation, its payload refers to the groups, root modules
|
|
4402
|
+
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4403
|
+
* validates the payload, performs the operation with the glue-logic features
|
|
4404
|
+
* behind `HiGroupOperations` and returns the affected groups in the
|
|
4405
|
+
* plan-context shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4406
|
+
* payload type and one handler.
|
|
4407
|
+
*/
|
|
4408
|
+
export declare const HI_GROUP_OPERATION: {
|
|
4409
|
+
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4410
|
+
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4411
|
+
readonly DELETE_GROUP: "delete-group";
|
|
4412
|
+
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4413
|
+
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4414
|
+
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4415
|
+
readonly MERGE_GROUPS: "merge-groups";
|
|
4416
|
+
};
|
|
4417
|
+
|
|
4370
4418
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
4371
4419
|
readonly ADD_SUBARTICLE: "add_subarticle";
|
|
4372
4420
|
readonly MOVE_SUBARTICLE: "move_subarticle";
|
|
@@ -4403,8 +4451,15 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
4403
4451
|
language?: string;
|
|
4404
4452
|
}
|
|
4405
4453
|
|
|
4454
|
+
export declare interface HiArticlePick {
|
|
4455
|
+
articleId: string;
|
|
4456
|
+
attributes?: HiPlanRootAttribute[];
|
|
4457
|
+
}
|
|
4458
|
+
|
|
4406
4459
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4407
4460
|
|
|
4461
|
+
export declare type HiAttributeValue = string | boolean;
|
|
4462
|
+
|
|
4408
4463
|
export declare interface HiCallbacks {
|
|
4409
4464
|
/**
|
|
4410
4465
|
* Requests the calculation script for the given library ID.
|
|
@@ -4500,6 +4555,15 @@ export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI
|
|
|
4500
4555
|
*/
|
|
4501
4556
|
export declare const HIDDEN_INTERACTION_LIFECYCLE_METHODS: readonly ["startInteraction", "resumeInteraction", "endInteraction"];
|
|
4502
4557
|
|
|
4558
|
+
/** A free docking vector of a root of the group, and how the article docks to it. */
|
|
4559
|
+
export declare interface HiDockTarget {
|
|
4560
|
+
rootId: string;
|
|
4561
|
+
ownDockingVector: PosDock | string;
|
|
4562
|
+
dockingVector: PosDock | string;
|
|
4563
|
+
mode?: PosDockMode;
|
|
4564
|
+
offset?: HiPlanPosition3;
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4503
4567
|
export declare interface HighlightHelper {
|
|
4504
4568
|
init(object: Object3D, camera: PerspectiveCamera): void;
|
|
4505
4569
|
setCamera(camera: PerspectiveCamera): void;
|
|
@@ -4513,6 +4577,48 @@ export declare interface HighlightHelper {
|
|
|
4513
4577
|
invalidate?(): void;
|
|
4514
4578
|
}
|
|
4515
4579
|
|
|
4580
|
+
export declare type HiGroupOperation = (typeof HI_GROUP_OPERATION)[keyof typeof HI_GROUP_OPERATION];
|
|
4581
|
+
|
|
4582
|
+
export declare interface HiGroupOperationPayloads {
|
|
4583
|
+
'change-module-attribute': {
|
|
4584
|
+
rootModuleId: string;
|
|
4585
|
+
moduleId?: string | null;
|
|
4586
|
+
attributeId: string;
|
|
4587
|
+
value: HiAttributeValue;
|
|
4588
|
+
};
|
|
4589
|
+
'change-group-attribute': {
|
|
4590
|
+
groupId: string;
|
|
4591
|
+
attributeId: string;
|
|
4592
|
+
value: HiAttributeValue;
|
|
4593
|
+
};
|
|
4594
|
+
'delete-group': {
|
|
4595
|
+
groupId: string;
|
|
4596
|
+
};
|
|
4597
|
+
'delete-root-module': {
|
|
4598
|
+
rootModuleId: string;
|
|
4599
|
+
};
|
|
4600
|
+
'merge-article-into-group': HiArticlePick & {
|
|
4601
|
+
groupId: string;
|
|
4602
|
+
dockTo: HiDockTarget;
|
|
4603
|
+
};
|
|
4604
|
+
'exchange-root-module': {
|
|
4605
|
+
groupId: string;
|
|
4606
|
+
rootModuleId: string;
|
|
4607
|
+
articleId: string;
|
|
4608
|
+
};
|
|
4609
|
+
'merge-groups': {
|
|
4610
|
+
targetGroupId: string;
|
|
4611
|
+
groupIds: string[];
|
|
4612
|
+
};
|
|
4613
|
+
}
|
|
4614
|
+
|
|
4615
|
+
export declare interface HiGroupOperationResult {
|
|
4616
|
+
command: HiGroupOperation;
|
|
4617
|
+
groups: HiPlanGroup[];
|
|
4618
|
+
removedGroupIds: string[];
|
|
4619
|
+
changedModuleIds?: string[];
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4516
4622
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
4517
4623
|
|
|
4518
4624
|
export declare interface HiObjectSelectionApi {
|
|
@@ -4560,15 +4666,181 @@ export declare interface HiOrderHeader {
|
|
|
4560
4666
|
|
|
4561
4667
|
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4562
4668
|
|
|
4669
|
+
export declare interface HiPlanArticle {
|
|
4670
|
+
articleId: string;
|
|
4671
|
+
articleName?: string;
|
|
4672
|
+
desc?: string;
|
|
4673
|
+
imageUrl?: string;
|
|
4674
|
+
category?: string;
|
|
4675
|
+
libraryId: string;
|
|
4676
|
+
catalog: string;
|
|
4677
|
+
cornerArticle: boolean;
|
|
4678
|
+
cornerPoint?: HiPlanPosition3;
|
|
4679
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4680
|
+
}
|
|
4681
|
+
|
|
4682
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4683
|
+
id: string;
|
|
4684
|
+
name?: string;
|
|
4685
|
+
value?: number | string | boolean;
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4688
|
+
export declare interface HiPlanArticleRootModule {
|
|
4689
|
+
module: {
|
|
4690
|
+
id: string;
|
|
4691
|
+
name?: string;
|
|
4692
|
+
desc?: string;
|
|
4693
|
+
imageUrl?: string;
|
|
4694
|
+
};
|
|
4695
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4696
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4697
|
+
dockingVectors: string[];
|
|
4698
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4699
|
+
subModules: Array<{
|
|
4700
|
+
id: string;
|
|
4701
|
+
name?: string;
|
|
4702
|
+
desc?: string;
|
|
4703
|
+
imageUrl?: string;
|
|
4704
|
+
}>;
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4707
|
+
export declare interface HiPlanAttribute {
|
|
4708
|
+
id: string;
|
|
4709
|
+
name: string;
|
|
4710
|
+
desc?: string;
|
|
4711
|
+
imageUrl?: string;
|
|
4712
|
+
type: MDType;
|
|
4713
|
+
group?: string;
|
|
4714
|
+
selections?: MDAttributeSelection[];
|
|
4715
|
+
}
|
|
4716
|
+
|
|
4563
4717
|
export declare interface HiPlanContext {
|
|
4564
|
-
masterData?: Record<string,
|
|
4565
|
-
rooms?:
|
|
4566
|
-
articles?:
|
|
4567
|
-
groups?:
|
|
4718
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4719
|
+
rooms?: HiPlanRoomInformation;
|
|
4720
|
+
articles?: HiPlanArticle[];
|
|
4721
|
+
groups?: HiPlanGroup[];
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
export declare interface HiPlanContextData {
|
|
4725
|
+
dockedRoots: Array<{
|
|
4726
|
+
ownDockingVector: PosDock | string;
|
|
4727
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4728
|
+
}>;
|
|
4568
4729
|
}
|
|
4569
4730
|
|
|
4570
4731
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4571
4732
|
|
|
4733
|
+
export declare interface HiPlanContour {
|
|
4734
|
+
level: number;
|
|
4735
|
+
segments: HiPlanContourSegment[];
|
|
4736
|
+
}
|
|
4737
|
+
|
|
4738
|
+
export declare interface HiPlanContourSegment {
|
|
4739
|
+
cmd: string;
|
|
4740
|
+
pos: HiPlanPosition3;
|
|
4741
|
+
angle?: number;
|
|
4742
|
+
type?: string;
|
|
4743
|
+
height?: number;
|
|
4744
|
+
thickness?: number;
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
export declare interface HiPlanDockedRoot {
|
|
4748
|
+
id: string;
|
|
4749
|
+
dockingVector: PosDock | string;
|
|
4750
|
+
mode?: PosDockMode | string;
|
|
4751
|
+
offset?: number[];
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4754
|
+
export declare interface HiPlanFootprint {
|
|
4755
|
+
x: [number, number];
|
|
4756
|
+
z: [number, number];
|
|
4757
|
+
widthMm: number;
|
|
4758
|
+
depthMm: number;
|
|
4759
|
+
}
|
|
4760
|
+
|
|
4761
|
+
export declare interface HiPlanGroup {
|
|
4762
|
+
id: string;
|
|
4763
|
+
libraryId?: string;
|
|
4764
|
+
position: HiPlanGroupPosition;
|
|
4765
|
+
attributes?: PosModuleAttribute[];
|
|
4766
|
+
roots: HiPlanRoot[];
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
export declare interface HiPlanGroupPosition {
|
|
4770
|
+
pos?: number[];
|
|
4771
|
+
rotationY?: number;
|
|
4772
|
+
footprint?: HiPlanFootprint;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
export declare interface HiPlanMasterData {
|
|
4776
|
+
libraryId: string;
|
|
4777
|
+
modules: HiPlanMasterDataModule[];
|
|
4778
|
+
attributes: HiPlanAttribute[];
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
export declare interface HiPlanMasterDataModule {
|
|
4782
|
+
id: string;
|
|
4783
|
+
name: string;
|
|
4784
|
+
desc?: string;
|
|
4785
|
+
imageUrl?: string;
|
|
4786
|
+
attributes: string[];
|
|
4787
|
+
}
|
|
4788
|
+
|
|
4789
|
+
/**
|
|
4790
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4791
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4792
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4793
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4794
|
+
* `PosGroup`.
|
|
4795
|
+
*/
|
|
4796
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4797
|
+
|
|
4798
|
+
export declare interface HiPlanRoom {
|
|
4799
|
+
levels: HiPlanContour[];
|
|
4800
|
+
walls: HiPlanWall[];
|
|
4801
|
+
}
|
|
4802
|
+
|
|
4803
|
+
export declare interface HiPlanRoomInformation {
|
|
4804
|
+
rooms: HiPlanRoom[];
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4807
|
+
export declare interface HiPlanRoot {
|
|
4808
|
+
id: string;
|
|
4809
|
+
articleId: string;
|
|
4810
|
+
articleName?: string;
|
|
4811
|
+
desc?: string;
|
|
4812
|
+
imageUrl?: string;
|
|
4813
|
+
category?: string;
|
|
4814
|
+
isGenerated?: boolean;
|
|
4815
|
+
attributes: HiPlanRootAttribute[];
|
|
4816
|
+
contextData?: HiPlanContextData;
|
|
4817
|
+
dockingVectors: string[];
|
|
4818
|
+
freeDockingVectors: string[];
|
|
4819
|
+
subModules: Array<{
|
|
4820
|
+
id: string;
|
|
4821
|
+
imageUrl?: string;
|
|
4822
|
+
}>;
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4825
|
+
export declare interface HiPlanRootAttribute {
|
|
4826
|
+
id: string;
|
|
4827
|
+
value?: number | string | boolean;
|
|
4828
|
+
}
|
|
4829
|
+
|
|
4830
|
+
export declare interface HiPlanWall {
|
|
4831
|
+
index: number;
|
|
4832
|
+
side: HiPlanWallSide;
|
|
4833
|
+
start: HiPlanPosition3;
|
|
4834
|
+
end: HiPlanPosition3;
|
|
4835
|
+
lengthMm: number;
|
|
4836
|
+
type?: string;
|
|
4837
|
+
heightMm?: number;
|
|
4838
|
+
thicknessMm?: number;
|
|
4839
|
+
facingRotationY: number;
|
|
4840
|
+
}
|
|
4841
|
+
|
|
4842
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
4843
|
+
|
|
4572
4844
|
export declare interface HiPriceData {
|
|
4573
4845
|
[key: string]: any;
|
|
4574
4846
|
orderData: HiOrder;
|
|
@@ -4714,7 +4986,7 @@ export declare class ImageRenderer implements Context {
|
|
|
4714
4986
|
private _getRenderer;
|
|
4715
4987
|
protected _createThreejsImageRenderer(): Promise<WebGLRenderer | WebGPURenderer>;
|
|
4716
4988
|
protected _createRoomleRenderer(imageRenderer: WebGLRenderer | WebGPURenderer): Promise<GenericRoomleRenderer>;
|
|
4717
|
-
switchToPlannerSettings(): Promise<void>;
|
|
4989
|
+
switchToPlannerSettings(renderMode: PlannerRenderMode): Promise<void>;
|
|
4718
4990
|
switchToConfiguratorSettings(): Promise<void>;
|
|
4719
4991
|
updateBounds(bounds: Box3): Promise<void>;
|
|
4720
4992
|
static getCameraTargetForBBox(bbox: Box3, spacing?: number): CameraTarget;
|
|
@@ -4768,6 +5040,9 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4768
5040
|
restrictionLevel: number;
|
|
4769
5041
|
hi?: HomagIntelligenceInitData;
|
|
4770
5042
|
disableDefaultLabelStyles: boolean;
|
|
5043
|
+
translations?: Record<string, {
|
|
5044
|
+
'room-types'?: Record<string, string>;
|
|
5045
|
+
}>;
|
|
4771
5046
|
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4772
5047
|
initialFloorMaterial?: string;
|
|
4773
5048
|
dls?: string;
|
|
@@ -5834,8 +6109,15 @@ export declare interface Matrix4 {
|
|
|
5834
6109
|
|
|
5835
6110
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
5836
6111
|
|
|
6112
|
+
/**
|
|
6113
|
+
* MD5 hex digest of a string, e.g. the hashed password RapiAccess.signinUser expects
|
|
6114
|
+
*/
|
|
6115
|
+
export declare const md5Hash: (value: string) => string;
|
|
6116
|
+
|
|
5837
6117
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
5838
6118
|
|
|
6119
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6120
|
+
|
|
5839
6121
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
5840
6122
|
selections?: MDBoolAttributeSelection[];
|
|
5841
6123
|
type: MDType.Bool;
|
|
@@ -9192,6 +9474,16 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
9192
9474
|
private _findHover;
|
|
9193
9475
|
private _intersection;
|
|
9194
9476
|
private _intersect;
|
|
9477
|
+
/**
|
|
9478
|
+
* Components are hit through their bounding boxes, and the box of a component
|
|
9479
|
+
* encloses the boxes of the sub components within it, so the nearest hit of a
|
|
9480
|
+
* priority is usually the enclosing one and a click on a sub component would
|
|
9481
|
+
* never reach it. Move the innermost hit nested within that nearest one to the
|
|
9482
|
+
* front. A sub component counts as nested when it lies mostly within, as it
|
|
9483
|
+
* can protrude from the box around it. Hits that are not nested keep their
|
|
9484
|
+
* distance order, so unrelated objects are unaffected.
|
|
9485
|
+
*/
|
|
9486
|
+
private _preferNestedComponent;
|
|
9195
9487
|
intersectAtPosition(position: Position2): RoomleEventedIntersection | null;
|
|
9196
9488
|
private _findObjectWithHandler;
|
|
9197
9489
|
private _onDragStart;
|
|
@@ -9277,8 +9569,9 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9277
9569
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9278
9570
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9279
9571
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): Promise<void>;
|
|
9280
|
-
deleteGroup(groupId: string): void
|
|
9281
|
-
deleteRootModule(rootModuleId: string): void
|
|
9572
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9573
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9574
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9282
9575
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9283
9576
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9284
9577
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9294,8 +9587,9 @@ export declare interface RoomDesignerRequests {
|
|
|
9294
9587
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9295
9588
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9296
9589
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
9297
|
-
deleteGroup(groupId: string): void
|
|
9298
|
-
deleteRootModule(rootModuleId: string): void
|
|
9590
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9591
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9592
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9299
9593
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9300
9594
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9301
9595
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9436,6 +9730,7 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
9436
9730
|
*/
|
|
9437
9731
|
download2DPlanViews(): Promise<void>;
|
|
9438
9732
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
9733
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
9439
9734
|
initSceneManager(sceneManager?: ConfiguratorSceneManager): void;
|
|
9440
9735
|
getScene(): Scene;
|
|
9441
9736
|
getSceneManager(): ConfiguratorSceneManager;
|
|
@@ -10703,6 +10998,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10703
10998
|
swapObject(old: number | PlanElementViewModel | null, idOfNew: RapiId): Promise<number>;
|
|
10704
10999
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
10705
11000
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11001
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
10706
11002
|
/**
|
|
10707
11003
|
* Move the current selected element in the 3D space
|
|
10708
11004
|
* @param selectedElement this is the current selected plan object
|
|
@@ -10771,13 +11067,15 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10771
11067
|
}>;
|
|
10772
11068
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
10773
11069
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
10774
|
-
|
|
11070
|
+
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11071
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
10775
11072
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
10776
11073
|
highlightExternalObject(groupOrRootModuleId: string, subModuleId: string | null): Promise<void>;
|
|
10777
11074
|
openOrCloseGeometryOfExternalObject(groupIdOrRootModuleId: string, _subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
10778
11075
|
_selectExternalObjectGroup(groupId: string, switchToPlanner: boolean): Promise<void>;
|
|
10779
11076
|
getExternalObjectGroups(): Promise<object[]>;
|
|
10780
11077
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11078
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
10781
11079
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
10782
11080
|
/**
|
|
10783
11081
|
* Highlights a product in the planner.
|
|
@@ -11482,6 +11780,12 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11482
11780
|
protected _waitForAssets(): Promise<void>;
|
|
11483
11781
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11484
11782
|
exportImageFromCamera(filename: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
11783
|
+
/**
|
|
11784
|
+
* Like exportCanvasScreenshot, but cropped to the part of the canvas the
|
|
11785
|
+
* camera renders into (see setCameraOffset), so UI overlays are left out
|
|
11786
|
+
*/
|
|
11787
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
11788
|
+
private _cropToCameraOffset;
|
|
11485
11789
|
private getCanvasScreenshotWithDimensions;
|
|
11486
11790
|
changeEnvironmentMapIntensity(intensity: number): void;
|
|
11487
11791
|
changeEnvironmentMapRotation(rotation: number): void;
|
package/lib/roomle-sdk.js
CHANGED
|
@@ -1,9 +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-DbOsSpKq.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as M } from "./
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
|
|
3
|
+
import { Et as s, St as c } from "./threejs-utils-DHTRY4yW.mjs";
|
|
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-CN9TqA78.mjs";
|
|
6
|
+
import { t as F } from "./configurator-i-Zl5omd.mjs";
|
|
7
|
+
import { t as I } from "./planner-BOrph7M7.mjs";
|
|
8
|
+
import { n as L, t as R } from "./glb-viewer-C1-vP2Vq.mjs";
|
|
9
|
+
import { t as z } from "./api-Woc5NOM1.mjs";
|
|
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 };
|