@roomle/web-sdk 3.10.0-alpha.5 → 3.10.0-alpha.6

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.
Files changed (61) hide show
  1. package/lib/ConfiguratorKernel.wasm +0 -0
  2. package/lib/RoomleCore.wasm +0 -0
  3. package/lib/RoomleToolsCore.wasm +0 -0
  4. package/lib/{api-DJoArPcI.mjs → api-D64AfPG6.mjs} +2 -2
  5. package/lib/{api-DJoArPcI.mjs.map → api-D64AfPG6.mjs.map} +1 -1
  6. package/lib/asset-loader.worker-CHyN7JB1.mjs.map +1 -1
  7. package/lib/budgeteer.sw-BCLEIWCW.mjs.map +1 -1
  8. package/lib/{common-utils-DMk5jc_R.mjs → common-utils-uHp4dDZQ.mjs} +20 -17
  9. package/lib/{common-utils-DMk5jc_R.mjs.map → common-utils-uHp4dDZQ.mjs.map} +1 -1
  10. package/lib/{component-dimensioning-Bo5U4LwJ.mjs → component-dimensioning-lu16QjEZ.mjs} +2 -2
  11. package/lib/{component-dimensioning-Bo5U4LwJ.mjs.map → component-dimensioning-lu16QjEZ.mjs.map} +1 -1
  12. package/lib/{component-raycast-helper-BwRJfce2.mjs → component-raycast-helper-DRE5bxWr.mjs} +3 -3
  13. package/lib/{component-raycast-helper-BwRJfce2.mjs.map → component-raycast-helper-DRE5bxWr.mjs.map} +1 -1
  14. package/lib/configurator-C3LkQHDF.mjs +2 -0
  15. package/lib/{configurator-BGTlYsAz.mjs → configurator-CEHN5oY2.mjs} +4 -4
  16. package/lib/{configurator-BGTlYsAz.mjs.map → configurator-CEHN5oY2.mjs.map} +1 -1
  17. package/lib/{glb-viewer-Bpr7dSuq.mjs → glb-viewer-C03QVqRZ.mjs} +5 -5
  18. package/lib/{glb-viewer-Bpr7dSuq.mjs.map → glb-viewer-C03QVqRZ.mjs.map} +1 -1
  19. package/lib/glb-viewer-vQQ5RF-e.mjs +2 -0
  20. package/lib/{highlight-coordinator-Dweh3BSu.mjs → highlight-coordinator-DZReLBh6.mjs} +2 -2
  21. package/lib/{highlight-coordinator-Dweh3BSu.mjs.map → highlight-coordinator-DZReLBh6.mjs.map} +1 -1
  22. package/lib/{homag-intelligence-D11ORwRA.mjs → homag-intelligence-CaflKydn.mjs} +3 -3
  23. package/lib/{homag-intelligence-D11ORwRA.mjs.map → homag-intelligence-CaflKydn.mjs.map} +1 -1
  24. package/lib/{imos-ix-poc-export-helper-D2KaQu_v.mjs → imos-ix-poc-export-helper-D6oTPQr3.mjs} +2 -2
  25. package/lib/{imos-ix-poc-export-helper-D2KaQu_v.mjs.map → imos-ix-poc-export-helper-D6oTPQr3.mjs.map} +1 -1
  26. package/lib/{main-C2IL3ar7.mjs → main-BkA09a6W.mjs} +8216 -8190
  27. package/lib/main-BkA09a6W.mjs.map +1 -0
  28. package/lib/{material-viewer-ChuyspP3.mjs → material-viewer-Nkl4Qx29.mjs} +5 -5
  29. package/lib/{material-viewer-ChuyspP3.mjs.map → material-viewer-Nkl4Qx29.mjs.map} +1 -1
  30. package/lib/packages-CNXXlUsV.mjs +4 -0
  31. package/lib/{planner-BVsxip3_.mjs → planner-DsChoUH0.mjs} +3 -3
  32. package/lib/{planner-BVsxip3_.mjs.map → planner-DsChoUH0.mjs.map} +1 -1
  33. package/lib/planner-Z2m78Y_4.mjs +2 -0
  34. package/lib/roomle-headless.d.ts +157 -51
  35. package/lib/roomle-headless.js +8 -8
  36. package/lib/roomle-sdk.d.ts +157 -51
  37. package/lib/roomle-sdk.js +7 -7
  38. package/lib/{roomle-webgpu-renderer-NhCn2iM-.mjs → roomle-webgpu-renderer-OGrZqd3w.mjs} +4 -4
  39. package/lib/{roomle-webgpu-renderer-NhCn2iM-.mjs.map → roomle-webgpu-renderer-OGrZqd3w.mjs.map} +1 -1
  40. package/lib/{scene-renderer-rrWFY9B9.mjs → scene-renderer-kbl6O83T.mjs} +3 -3
  41. package/lib/{scene-renderer-rrWFY9B9.mjs.map → scene-renderer-kbl6O83T.mjs.map} +1 -1
  42. package/lib/{script-loader-DFhN_ZHC.mjs → script-loader-vbm5pELp.mjs} +2 -2
  43. package/lib/{script-loader-DFhN_ZHC.mjs.map → script-loader-vbm5pELp.mjs.map} +1 -1
  44. package/lib/{shading-settings-BWeccIZv.mjs → shading-settings-BXL0haNX.mjs} +2 -2
  45. package/lib/{shading-settings-BWeccIZv.mjs.map → shading-settings-BXL0haNX.mjs.map} +1 -1
  46. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  47. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  48. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  49. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  50. package/lib/{stats-helper-83r4i8j_.mjs → stats-helper-B4ejVlyj.mjs} +2 -2
  51. package/lib/{stats-helper-83r4i8j_.mjs.map → stats-helper-B4ejVlyj.mjs.map} +1 -1
  52. package/lib/{threejs-utils-cTSWDuZN.mjs → threejs-utils-DQCcy2fJ.mjs} +2 -2
  53. package/lib/{threejs-utils-cTSWDuZN.mjs.map → threejs-utils-DQCcy2fJ.mjs.map} +1 -1
  54. package/lib/{tools-core-BXc5X-bq.mjs → tools-core-f9Mqfmi2.mjs} +3 -3
  55. package/lib/{tools-core-BXc5X-bq.mjs.map → tools-core-f9Mqfmi2.mjs.map} +1 -1
  56. package/package.json +1 -1
  57. package/lib/configurator-BDdNLPig.mjs +0 -2
  58. package/lib/glb-viewer-C1M1v4Da.mjs +0 -2
  59. package/lib/main-C2IL3ar7.mjs.map +0 -1
  60. package/lib/packages-D26IfYP3.mjs +0 -4
  61. package/lib/planner-n1B1oBcW.mjs +0 -2
@@ -3346,6 +3346,24 @@ export declare interface FeatureFlags {
3346
3346
  /* Excluded from this release type: webGpuConfig */
3347
3347
  /* Excluded from this release type: advancedHighlighting */
3348
3348
  /* Excluded from this release type: fence */
3349
+ /* Excluded from this release type: awaitConfigurationSavesBeforeRequestPlan */
3350
+ }
3351
+
3352
+ export declare class FeatureFlagsImplementation implements FeatureFlags {
3353
+ pulsePreview: boolean;
3354
+ reDock: boolean;
3355
+ advancedDocking: boolean;
3356
+ mergeOnInsert: boolean;
3357
+ drawPreviewMode: Enumify_3<typeof DRAW_PREVIEW_MODES>;
3358
+ interiorLights: boolean;
3359
+ advancedDimensioning: boolean;
3360
+ enableSnapping: boolean;
3361
+ webGpu: boolean;
3362
+ webGpuConfig: WebGpuConfig;
3363
+ forceSaveThumbnails: boolean;
3364
+ advancedHighlighting: boolean;
3365
+ fence: boolean;
3366
+ awaitConfigurationSavesBeforeRequestPlan: boolean;
3349
3367
  }
3350
3368
 
3351
3369
  export declare interface FetchOptions {
@@ -3566,15 +3584,15 @@ export declare class GlobalCallback extends UiCallback {
3566
3584
 
3567
3585
  export declare class GlobalInitData implements Context, GlobalInitDataDefinition {
3568
3586
  _creator_: string;
3569
- locale?: string;
3587
+ locale: string;
3570
3588
  overrideTenant?: number;
3571
- overrideCountry?: string | null;
3589
+ overrideCountry: string | null;
3572
3590
  configuratorId?: string;
3573
3591
  overrideRapi?: RapiServerUrlType;
3574
- alwaysUseCache?: boolean;
3592
+ alwaysUseCache: boolean;
3575
3593
  customApiUrl?: string;
3576
- e2e?: boolean;
3577
- e2eRoomleRendererForImages?: boolean;
3594
+ e2e: boolean;
3595
+ e2eRoomleRendererForImages: boolean;
3578
3596
  constructor(creator: string);
3579
3597
  setOverrides(globalInitData: Partial<GlobalInitDataDefinition> | InitData): void;
3580
3598
  }
@@ -3600,7 +3618,7 @@ export declare interface GlobalInitDataDefinition {
3600
3618
  configuratorId?: string;
3601
3619
  /**
3602
3620
  * @deprecated
3603
- * @description when set to true and assets were prechaced by the asset loader they are returned from cache. Otherwise we always return a fresh copy from network usage: alwaysUseCache=true default: not set -> assets fetched from url, set -> assets from cache
3621
+ * @description when set to true and assets were precached by the asset loader they are returned from cache. Otherwise we always return a fresh copy from network usage: alwaysUseCache=true default: not set -> assets fetched from url, set -> assets from cache
3604
3622
  */
3605
3623
  alwaysUseCache?: boolean;
3606
3624
  /**
@@ -4040,13 +4058,13 @@ export declare class ImageRenderer implements Context {
4040
4058
 
4041
4059
  export declare class InitData implements Context, Omit<InitDataDefinition, 'colors'> {
4042
4060
  _creator_: string;
4043
- autoQuality?: boolean;
4061
+ autoQuality: boolean;
4044
4062
  colors: ThreeJsColorsIn3dScene;
4045
- isItem?: boolean;
4063
+ isItem: boolean;
4046
4064
  id?: RapiId;
4047
4065
  preloadId?: RapiId;
4048
- showArButton?: boolean;
4049
- useRoomlePrice?: boolean;
4066
+ showArButton: boolean;
4067
+ useRoomlePrice: boolean;
4050
4068
  precisionInch?: string;
4051
4069
  precisionCm?: string;
4052
4070
  unit?: string;
@@ -4056,37 +4074,37 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
4056
4074
  offset?: CanvasOffset;
4057
4075
  startTag?: RapiId;
4058
4076
  measurementSystem?: Enumify_3<typeof MEASUREMENT_SYSTEM_STRING>;
4059
- meshSelection?: boolean;
4060
- stats?: boolean;
4061
- _measureTraffic?: boolean;
4062
- debug?: boolean;
4063
- debugGeometry?: boolean;
4064
- debugLines?: boolean;
4065
- debugBoundingBox?: boolean;
4066
- usePriceService?: boolean;
4067
- disableDebugGUI?: boolean;
4068
- disableEnvMap?: boolean;
4069
- envMapUrl?: string;
4077
+ meshSelection: boolean;
4078
+ stats: boolean;
4079
+ _measureTraffic: boolean;
4080
+ debug: boolean;
4081
+ debugGeometry: boolean;
4082
+ debugLines: boolean;
4083
+ debugBoundingBox: boolean;
4084
+ usePriceService: boolean;
4085
+ disableDebugGUI: boolean;
4086
+ disableEnvMap: boolean;
4087
+ envMapUrl: string;
4070
4088
  envMapIntensity: number;
4071
4089
  envMapRotation: number;
4072
- maxLightSources?: number;
4073
- legacyLight?: boolean;
4090
+ maxLightSources: number;
4091
+ legacyLight: boolean;
4074
4092
  sceneLight?: DefaultEnvironmentSceneType;
4075
- shading?: SceneShadingType;
4076
- linearAoFilter?: boolean;
4093
+ shading: SceneShadingType;
4094
+ linearAoFilter: boolean;
4077
4095
  customShading?: CustomShadingParameters;
4078
4096
  customShadingMoc?: CustomShadingParameters;
4079
- restrictionLevel?: number;
4097
+ restrictionLevel: number;
4080
4098
  hi?: HomagIntelligenceInitData;
4081
- disableDefaultLabelStyles?: boolean;
4099
+ disableDefaultLabelStyles: boolean;
4082
4100
  offlineSync?: string;
4083
- highlighting?: Enumify_3<typeof ROOMLE_HIGHLIGHTNG>;
4101
+ highlighting: Enumify_3<typeof ROOMLE_HIGHLIGHTNG>;
4084
4102
  initialFloorMaterial?: string;
4085
4103
  dls?: string;
4086
4104
  ls?: string;
4087
4105
  floorMaterialsTag?: RapiId;
4088
4106
  zoomDistance?: number;
4089
- cameraSpacing?: number;
4107
+ cameraSpacing: number;
4090
4108
  cameraRestriction?: number;
4091
4109
  verticalCameraAngle?: number;
4092
4110
  minVerticalCameraAngle?: number;
@@ -4095,31 +4113,31 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
4095
4113
  horizontalCameraAngle?: number;
4096
4114
  minHorizontalCameraAngle?: number;
4097
4115
  maxHorizontalCameraAngle?: number;
4098
- bananaForScale?: boolean;
4099
- transparentHighlighting?: boolean;
4100
- transparentBackground?: boolean;
4101
- snappingEnabled?: boolean;
4102
- showInfos?: boolean;
4103
- showPrice?: boolean;
4104
- applyCurrentGlobalParameters?: boolean;
4105
- configureInRoom?: boolean;
4106
- dockInRoom?: boolean;
4107
- discardExternalObjectsWhenLoadingPlan?: boolean;
4108
- featureFlags: FeatureFlags;
4109
- meshRaycasting?: boolean;
4116
+ bananaForScale: boolean;
4117
+ transparentHighlighting: boolean;
4118
+ transparentBackground: boolean;
4119
+ snappingEnabled: boolean;
4120
+ showInfos: boolean;
4121
+ showPrice: boolean;
4122
+ applyCurrentGlobalParameters: boolean;
4123
+ configureInRoom: boolean;
4124
+ dockInRoom: boolean;
4125
+ discardExternalObjectsWhenLoadingPlan: boolean;
4126
+ featureFlags: FeatureFlagsImplementation;
4127
+ meshRaycasting: boolean;
4110
4128
  defaultFloorMaterial?: number | string;
4111
- mode?: Enumify_3<typeof CAMERA_TYPE>;
4112
- edit?: boolean;
4113
- moc?: boolean;
4129
+ mode: Enumify_3<typeof CAMERA_TYPE>;
4130
+ edit: boolean;
4131
+ moc: boolean;
4114
4132
  lockPlan: boolean;
4115
- readonly?: boolean;
4116
- externalObjectSettings?: ExternalObjectApiConfiguration;
4117
- plannerIsolationConfigurator?: boolean;
4133
+ readonly: boolean;
4134
+ externalObjectSettings: ExternalObjectApiConfiguration;
4135
+ plannerIsolationConfigurator: boolean;
4118
4136
  /**
4119
4137
  * If true, the callbacks will only be called if the geometry is ready.
4120
4138
  * Before RML-8368 false was the default. For more info see there
4121
4139
  */
4122
- callbacksOnlyIfGeometryIsReady?: boolean;
4140
+ callbacksOnlyIfGeometryIsReady: boolean;
4123
4141
  constructor(creator: string);
4124
4142
  setOverrides(initData: Partial<InitDataDefinition & GlobalInitDataDefinition> | InitData): void;
4125
4143
  }
@@ -6135,6 +6153,15 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6135
6153
  private _roomlePlannerCallback;
6136
6154
  private _homagIntelligence;
6137
6155
  private _itemsLoadingStatePromises;
6156
+ /**
6157
+ * Debounced wrapper around {@link _saveConfiguration}
6158
+ */
6159
+ private _debouncedSaveConfiguration;
6160
+ /**
6161
+ * In-flight configuration auto-saves (config POST + thumbnails), awaited by
6162
+ * {@link awaitPendingConfigurationSaves}.
6163
+ */
6164
+ private _pendingConfigurationSaves;
6138
6165
  private _sky;
6139
6166
  private _drawingEnabled;
6140
6167
  private _configureInRoom;
@@ -6403,6 +6430,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6403
6430
  toggleInteriorLightsSceneSettings(on: boolean): void;
6404
6431
  private _insertRapiItems;
6405
6432
  insertRapiObjects(rapiIds: InsertItemIdInfo[]): Promise<InsertItemResult[]>;
6433
+ private _scheduleConfigurationSave;
6434
+ awaitPendingConfigurationSaves(): Promise<void>;
6406
6435
  private _saveConfiguration;
6407
6436
  externalObjectRequestAddOnContainers(groupId: string, subArticleId: string): Promise<void>;
6408
6437
  externalObjectAddSubArticle(subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
@@ -7204,6 +7233,7 @@ export declare class RapiAccess implements Context {
7204
7233
  private _flushOfflineQueue;
7205
7234
  private _setQueuedConfiguration;
7206
7235
  saveConfiguration(configuration: RapiConfiguration): Promise<RapiConfiguration>;
7236
+ awaitPendingSaves(): Promise<void>;
7207
7237
  getShortUrl(referencedId: RapiId, type: SHORT_TYPES): Promise<RapiShortId>;
7208
7238
  resolveShortUrl(id: string): Promise<RapiShortId>;
7209
7239
  private _peekData;
@@ -8778,10 +8808,10 @@ export declare class RoomleGLBViewer implements GlobalAPI, Context, ExternalEmbe
8778
8808
  }
8779
8809
 
8780
8810
  export declare class RoomleLightSource {
8781
- private _lightSourceId;
8811
+ private readonly _lightSourceId;
8782
8812
  private _light;
8783
8813
  private _savedPosition;
8784
- constructor(lightSourceId: number, lightSource: Light);
8814
+ constructor(lightSourceId: number, lightSource: Light, enableShadows: boolean);
8785
8815
  get light(): Light;
8786
8816
  set light(light: Light);
8787
8817
  get lightSourceId(): number;
@@ -9103,6 +9133,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
9103
9133
  * this includes info about size, rotation, id and parts
9104
9134
  */
9105
9135
  getObjects(): Promise<UiPlanObject[]>;
9136
+ awaitPendingConfigurationSaves(): Promise<void>;
9106
9137
  /**
9107
9138
  * get all info available for the current plan, including objects, rooms and walls
9108
9139
  */
@@ -10808,7 +10839,15 @@ export declare interface WallSide {
10808
10839
  value: Enumify<typeof WALL_SIDES>;
10809
10840
  }
10810
10841
 
10811
- export declare interface WebGpuConfig {
10842
+ export declare class WebGpuConfig implements WebGpuConfigDefinition {
10843
+ autoDetectQualityLevel: boolean;
10844
+ autoQualityMinFps: number;
10845
+ autoQualityMaxFps: number;
10846
+ topLight: WebGpuTopLightConfig;
10847
+ groundReflection: WebGpuGroundReflectionConfig;
10848
+ }
10849
+
10850
+ export declare interface WebGpuConfigDefinition {
10812
10851
  /**
10813
10852
  * @description If true, the initial webgpu quality level is autodetected based on
10814
10853
  * a benchmark of the graphics hardware. If false, the default quality level is used.
@@ -10830,6 +10869,73 @@ export declare interface WebGpuConfig {
10830
10869
  * @default 59
10831
10870
  */
10832
10871
  autoQualityMaxFps?: number;
10872
+ /**
10873
+ * @description Visual configuration for the WebGPU top light and its shadow.
10874
+ */
10875
+ topLight?: WebGpuTopLightConfigDefinition;
10876
+ /**
10877
+ * @description Visual configuration for the WebGPU ground reflection.
10878
+ */
10879
+ groundReflection?: WebGpuGroundReflectionConfigDefinition;
10880
+ }
10881
+
10882
+ export declare class WebGpuGroundReflectionConfig implements WebGpuGroundReflectionConfigDefinition {
10883
+ enabled: boolean;
10884
+ intensity: number;
10885
+ startFadeout: number;
10886
+ endFadeout: number;
10887
+ }
10888
+
10889
+ export declare interface WebGpuGroundReflectionConfigDefinition {
10890
+ /**
10891
+ * @description Enables or disables the ground reflection entirely.
10892
+ * When disabled the floor still receives shadows but does not render a reflection,
10893
+ * which also avoids the extra reflection render pass.
10894
+ * @default true
10895
+ */
10896
+ enabled?: boolean;
10897
+ /**
10898
+ * @description Strength of the ground reflection.
10899
+ * 0 means no reflection, 1 means a full mirror-like reflection.
10900
+ * @default 0.1
10901
+ */
10902
+ intensity?: number;
10903
+ /**
10904
+ * @description Depth at which the reflection starts to fade out.
10905
+ * @default 0.05
10906
+ */
10907
+ startFadeout?: number;
10908
+ /**
10909
+ * @description Depth at which the reflection is fully faded out.
10910
+ * @default 0.15
10911
+ */
10912
+ endFadeout?: number;
10913
+ }
10914
+
10915
+ export declare class WebGpuTopLightConfig implements WebGpuTopLightConfigDefinition {
10916
+ intensity: number;
10917
+ shadowIntensity: number;
10918
+ shadowRadius: number;
10919
+ }
10920
+
10921
+ export declare interface WebGpuTopLightConfigDefinition {
10922
+ /**
10923
+ * @description Intensity (brightness) of the WebGPU top light.
10924
+ * @default 1
10925
+ */
10926
+ intensity?: number;
10927
+ /**
10928
+ * @description Intensity of the shadow cast by the top light.
10929
+ * 0 means no shadow, 1 means a fully opaque shadow.
10930
+ * @default 1
10931
+ */
10932
+ shadowIntensity?: number;
10933
+ /**
10934
+ * @description Softness (blur radius) of the top light's shadow edges.
10935
+ * Higher values produce softer shadows.
10936
+ * @default 1.1
10937
+ */
10938
+ shadowRadius?: number;
10833
10939
  }
10834
10940
 
10835
10941
  export declare class ZoomChangeEvent {
package/lib/roomle-sdk.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { i as e, t } from "./kernel-C7YDLxq8.mjs";
2
- import { mt as n, vt as r } from "./threejs-utils-cTSWDuZN.mjs";
3
- import { B as i, F as a, G as o, H as s, I as c, J as l, K as u, M as d, N as f, P as p, S as m, U as h, W as g, a as _, b as v, c as y, ct as b, dt as x, k as S, l as C, n as w, ot as T, pt as E, st as D, ut as O, v as k, x as A, y as j } from "./main-C2IL3ar7.mjs";
4
- import { t as M } from "./configurator-BGTlYsAz.mjs";
5
- import { t as N } from "./planner-BVsxip3_.mjs";
6
- import { n as P, t as F } from "./glb-viewer-Bpr7dSuq.mjs";
7
- import { t as I } from "./api-DJoArPcI.mjs";
8
- import "./packages-D26IfYP3.mjs";
2
+ import { mt as n, vt as r } from "./threejs-utils-DQCcy2fJ.mjs";
3
+ import { B as i, F as a, G as o, H as s, I as c, J as l, K as u, M as d, N as f, P as p, S as m, U as h, W as g, a as _, b as v, c as y, ct as b, dt as x, k as S, l as C, n as w, ot as T, pt as E, st as D, ut as O, v as k, x as A, y as j } from "./main-BkA09a6W.mjs";
4
+ import { t as M } from "./configurator-CEHN5oY2.mjs";
5
+ import { t as N } from "./planner-DsChoUH0.mjs";
6
+ import { n as P, t as F } from "./glb-viewer-C03QVqRZ.mjs";
7
+ import { t as I } from "./api-D64AfPG6.mjs";
8
+ import "./packages-CNXXlUsV.mjs";
9
9
  export { t as CONFIGURATION_TYPE, n as CORE_EDGE_TYPE, r as CORE_OBJECT_CATEGORY, e as CORE_PERMISSION_TO_DELETE, M as Configurator, _ as ConfiguratorUiCallbacks, d as FloorPlanElementViewModel, F as GlbViewer, l as GlobalCallback, i as HI_CONTEXT_ACTION, O as IdbManager, w as Main, m as MeasurementLinePlanElementViewModel, k as PLAN_ELEMENT_CHANGE_TYPES, c as PlanElementViewModel, a as PlanObjectViewModel, N as Planner, T as RapiAccess, D as RapiInvalidIdError, b as RapiOfflineError, I as RoomDesignerApi, S as RoomleConfigurator, P as RoomleGLBViewer, E as RoomleLightSource, y as RoomlePlanner, j as RoomlePlannerUiCallback, C as RoomleSdk, p as StaticPlanObjectViewModel, f as WallPlanElementViewModel, s as createExtObj, u as createExtObjId, x as getCatalogIdFromConfigurationHash, h as isExtObjId, g as isExternalObject, v as isFirefox, A as isSafari, o as removeExtObjIdPrefix };
@@ -1,5 +1,5 @@
1
1
  import { Ar as e, Br as t, Cr as n, En as r, Gn as i, Hi as a, J as o, Jr as s, Kn as c, On as l, Qt as u, Tt as d, Wi as f, Y as p, _i as m, bi as h, ci as g, ct as _, g as v, gi as y, hi as b, hr as x, ht as S, in as C, jr as w, kr as T, mi as ee, mr as te, pi as ne, q as re, rt as E, sn as D, t as ie, vi as ae, w as O, wr as oe, xi as k, yi as se } from "./three.core-tV_4n8Wg.mjs";
2
- import { t as ce } from "./shading-settings-BWeccIZv.mjs";
2
+ import { t as ce } from "./shading-settings-BXL0haNX.mjs";
3
3
  import { n as le, r as ue, t as de } from "./decorate-CTUwswpM.mjs";
4
4
  import { n as fe, r as pe } from "./roomle-renderer-BD3ZmpLS.mjs";
5
5
  import { Rt as A, Ut as me, Wn as he, Z as ge, bn as j, fr as _e, jn as ve, kt as ye, lr as be, un as xe, vn as Se, x as Ce } from "./three.webgpu-CT4fuV2X.mjs";
@@ -2520,7 +2520,7 @@ var Fn = /* @__PURE__ */ Array.from({ length: 32 }, (e, t) => [Pn(t + 1, 2), Pn(
2520
2520
  }
2521
2521
  }, Gn = class extends fe {
2522
2522
  constructor(e, t, n, r) {
2523
- super(e, t), this.passNeedsReassembly = !0, this.debugMode = "off", this.renderPasses = /* @__PURE__ */ new Map(), this.guiParameterGroups = /* @__PURE__ */ new Map(), this.lastRenderCamera = void 0, this.qualityManager = new Wn(this.applyQualityParameters.bind(this)), this.freezeFrames = 0, this.freezeRenderTarget = new w(), this.renderPipeline = new Se(t), this.enableRenderPasses(n, r), this._initData.featureFlags.webGpuConfig?.autoDetectQualityLevel ?? !0 ? this.qualityManager.autoDetectInitialQualityLevel().then(() => this.qualityManager.applyCurrentQualityLevel(0)) : this.qualityManager.applyCurrentQualityLevel(0);
2523
+ super(e, t), this.passNeedsReassembly = !0, this.debugMode = "off", this.renderPasses = /* @__PURE__ */ new Map(), this.guiParameterGroups = /* @__PURE__ */ new Map(), this.lastRenderCamera = void 0, this.qualityManager = new Wn(this.applyQualityParameters.bind(this)), this.freezeFrames = 0, this.freezeRenderTarget = new w(), this.renderPipeline = new Se(t), this.enableRenderPasses(n, r), this._initData.featureFlags.webGpuConfig.autoDetectQualityLevel ? this.qualityManager.autoDetectInitialQualityLevel().then(() => this.qualityManager.applyCurrentQualityLevel(0)) : this.qualityManager.applyCurrentQualityLevel(0);
2524
2524
  }
2525
2525
  enableRenderPasses(e, t) {
2526
2526
  e && this.enableSsgiPass(), t && this.enableOutline(t.outlineVisibleEdgeColor, t.outlineHiddenEdgeColor), e && this.enableTraaPass();
@@ -2554,7 +2554,7 @@ var Fn = /* @__PURE__ */ Array.from({ length: 32 }, (e, t) => [Pn(t + 1, 2), Pn(
2554
2554
  this.freezeFrames--, this.renderToFreezeTarget();
2555
2555
  return;
2556
2556
  }
2557
- this.renderPipeline.render(), this.qualityManager.manageQualitySettings(this._initData.featureFlags.webGpuConfig?.autoQualityMinFps ?? 24, this._initData.featureFlags.webGpuConfig?.autoQualityMaxFps ?? 59);
2557
+ this.renderPipeline.render(), this.qualityManager.manageQualitySettings(this._initData.featureFlags.webGpuConfig.autoQualityMinFps, this._initData.featureFlags.webGpuConfig.autoQualityMaxFps);
2558
2558
  }
2559
2559
  renderToFreezeTarget() {
2560
2560
  let e = this.renderer.getRenderTarget();
@@ -2673,4 +2673,4 @@ de([ue, le("design:type", Object)], Gn.prototype, "_domHelper", void 0), de([ue,
2673
2673
  //#endregion
2674
2674
  export { Gn as RoomleWebGPURenderer };
2675
2675
 
2676
- //# sourceMappingURL=roomle-webgpu-renderer-NhCn2iM-.mjs.map
2676
+ //# sourceMappingURL=roomle-webgpu-renderer-OGrZqd3w.mjs.map