@roomle/embedding-lib 4.24.0-alpha.5 → 4.24.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.
Files changed (34) hide show
  1. package/docs/api/classes/{exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md → exposed_analytics_callbacks.exposedanalyticscallbacks.md} +9 -11
  2. package/docs/api/classes/exposed_api.exposedapi.md +191 -0
  3. package/docs/api/classes/exposed_callbacks.exposedcallbacks.md +145 -0
  4. package/docs/api/classes/roomle_configurator_api.default.md +42 -78
  5. package/docs/api/enums/types.ui_button.md +145 -0
  6. package/docs/api/interfaces/exposed_callbacks.labels.md +28 -0
  7. package/docs/api/interfaces/exposed_callbacks.price.md +28 -0
  8. package/docs/api/interfaces/roomle_configurator_api.roomleembeddingapikeys.md +50 -0
  9. package/docs/api/interfaces/types.configuratorsettings.md +118 -0
  10. package/docs/api/interfaces/types.embeddingskin.md +55 -0
  11. package/docs/api/interfaces/types.uiinitdata.md +957 -0
  12. package/docs/api/interfaces/{types.VariantsMap.md → types.variantsmap.md} +1 -1
  13. package/docs/api/modules/exposed_analytics_callbacks.md +1 -1
  14. package/docs/api/modules/exposed_api.md +1 -1
  15. package/docs/api/modules/exposed_callbacks.md +3 -3
  16. package/docs/api/modules/roomle_configurator_api.md +7 -13
  17. package/docs/api/modules/types.md +5 -5
  18. package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +6 -1
  19. package/package.json +1 -1
  20. package/roomle-configurator-api.cjs.js +1 -1
  21. package/roomle-configurator-api.cjs.min.js +1 -1
  22. package/roomle-configurator-api.es.js +1 -1
  23. package/roomle-configurator-api.es.min.js +1 -1
  24. package/roomle-configurator-api.js +1 -1
  25. package/docs/api/.nojekyll +0 -1
  26. package/docs/api/classes/exposed_api.ExposedApi.md +0 -227
  27. package/docs/api/classes/exposed_callbacks.ExposedCallbacks.md +0 -171
  28. package/docs/api/enums/types.UI_BUTTON.md +0 -175
  29. package/docs/api/interfaces/exposed_callbacks.Labels.md +0 -32
  30. package/docs/api/interfaces/exposed_callbacks.Price.md +0 -32
  31. package/docs/api/interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md +0 -58
  32. package/docs/api/interfaces/types.ConfiguratorSettings.md +0 -150
  33. package/docs/api/interfaces/types.EmbeddingSkin.md +0 -65
  34. package/docs/api/interfaces/types.UiInitData.md +0 -1183
@@ -1,1183 +0,0 @@
1
- [Embedding API Reference](../README.md) / [Modules](../modules.md) / [types](../modules/types.md) / UiInitData
2
-
3
- # Interface: UiInitData
4
-
5
- [types](../modules/types.md).UiInitData
6
-
7
- ## Hierarchy
8
-
9
- - `InitDataDefinition`
10
-
11
- - `GlobalInitDataDefinition`
12
-
13
- ↳ **`UiInitData`**
14
-
15
- ## Table of contents
16
-
17
- ### Properties
18
-
19
- - [\_measureTraffic](types.UiInitData.md#_measuretraffic)
20
- - [addOnSpots](types.UiInitData.md#addonspots)
21
- - [alwaysUseCache](types.UiInitData.md#alwaysusecache)
22
- - [api](types.UiInitData.md#api)
23
- - [applyCurrentGlobalParameters](types.UiInitData.md#applycurrentglobalparameters)
24
- - [autoQuality](types.UiInitData.md#autoquality)
25
- - [bananaForScale](types.UiInitData.md#bananaforscale)
26
- - [buttons](types.UiInitData.md#buttons)
27
- - [cameraRestriction](types.UiInitData.md#camerarestriction)
28
- - [cameraSpacing](types.UiInitData.md#cameraspacing)
29
- - [colors](types.UiInitData.md#colors)
30
- - [configuratorId](types.UiInitData.md#configuratorid)
31
- - [customApiUrl](types.UiInitData.md#customapiurl)
32
- - [debug](types.UiInitData.md#debug)
33
- - [deeplink](types.UiInitData.md#deeplink)
34
- - [dls](types.UiInitData.md#dls)
35
- - [edit](types.UiInitData.md#edit)
36
- - [emails](types.UiInitData.md#emails)
37
- - [featureFlags](types.UiInitData.md#featureflags)
38
- - [floorMaterialsTag](types.UiInitData.md#floormaterialstag)
39
- - [gaConsent](types.UiInitData.md#gaconsent)
40
- - [groupPartList](types.UiInitData.md#grouppartlist)
41
- - [id](types.UiInitData.md#id)
42
- - [initialFloorMaterial](types.UiInitData.md#initialfloormaterial)
43
- - [isItem](types.UiInitData.md#isitem)
44
- - [locale](types.UiInitData.md#locale)
45
- - [ls](types.UiInitData.md#ls)
46
- - [maxHorizontalCameraAngle](types.UiInitData.md#maxhorizontalcameraangle)
47
- - [maxVerticalCameraAngle](types.UiInitData.md#maxverticalcameraangle)
48
- - [meshSelection](types.UiInitData.md#meshselection)
49
- - [minHorizontalCameraAngle](types.UiInitData.md#minhorizontalcameraangle)
50
- - [minVerticalCameraAngle](types.UiInitData.md#minverticalcameraangle)
51
- - [mobileLandscape](types.UiInitData.md#mobilelandscape)
52
- - [moc](types.UiInitData.md#moc)
53
- - [mode](types.UiInitData.md#mode)
54
- - [offlineSync](types.UiInitData.md#offlinesync)
55
- - [offset](types.UiInitData.md#offset)
56
- - [overrideCountry](types.UiInitData.md#overridecountry)
57
- - [overrideRapi](types.UiInitData.md#overriderapi)
58
- - [overrideServerUrl](types.UiInitData.md#overrideserverurl)
59
- - [overrideTenant](types.UiInitData.md#overridetenant)
60
- - [plusInPreview](types.UiInitData.md#plusinpreview)
61
- - [precisionCm](types.UiInitData.md#precisioncm)
62
- - [precisionInch](types.UiInitData.md#precisioninch)
63
- - [preloadHint](types.UiInitData.md#preloadhint)
64
- - [preloadId](types.UiInitData.md#preloadid)
65
- - [shareUrl](types.UiInitData.md#shareurl)
66
- - [showArButton](types.UiInitData.md#showarbutton)
67
- - [showInfos](types.UiInitData.md#showinfos)
68
- - [showPrice](types.UiInitData.md#showprice)
69
- - [skin](types.UiInitData.md#skin)
70
- - [startTag](types.UiInitData.md#starttag)
71
- - [stats](types.UiInitData.md#stats)
72
- - [translations](types.UiInitData.md#translations)
73
- - [transparentHighlighting](types.UiInitData.md#transparenthighlighting)
74
- - [typeChangeTag](types.UiInitData.md#typechangetag)
75
- - [unit](types.UiInitData.md#unit)
76
- - [unitStringType](types.UiInitData.md#unitstringtype)
77
- - [useLocalRoomle](types.UiInitData.md#uselocalroomle)
78
- - [usePriceService](types.UiInitData.md#usepriceservice)
79
- - [useRoomlePrice](types.UiInitData.md#useroomleprice)
80
- - [variants](types.UiInitData.md#variants)
81
- - [zIndex](types.UiInitData.md#zindex)
82
- - [zoomDistance](types.UiInitData.md#zoomdistance)
83
-
84
- ## Properties
85
-
86
- ### \_measureTraffic
87
-
88
- • `Optional` **\_measureTraffic**: false \| true
89
-
90
- **`internal`**
91
- Enable service worker which tracks performance and request size (content, materials, etc)
92
-
93
- #### Inherited from
94
-
95
- InitDataDefinition.\_measureTraffic
96
-
97
- #### Defined in
98
-
99
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:165
100
-
101
- ___
102
-
103
- ### addOnSpots
104
-
105
- • `Optional` **addOnSpots**: false \| true
106
-
107
- **`deprecated`**
108
- If set to true we are showing plus icon where addons can be added.
109
- This has to be scripted. For more information ask your Roomle contact.
110
-
111
- #### Inherited from
112
-
113
- InitDataDefinition.addOnSpots
114
-
115
- #### Defined in
116
-
117
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:189
118
-
119
- ___
120
-
121
- ### alwaysUseCache
122
-
123
- • `Optional` **alwaysUseCache**: false \| true
124
-
125
- 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
126
- usage: alwaysUseCache=true
127
- default: not set -> assets fetched from url, set -> assets from cache
128
-
129
- #### Inherited from
130
-
131
- GlobalInitDataDefinition.alwaysUseCache
132
-
133
- #### Defined in
134
-
135
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:48
136
-
137
- ___
138
-
139
- ### api
140
-
141
- • `Optional` **api**: false \| true
142
-
143
- if set to true you can load the configurator in an iframe.src but without any embedding lib
144
- This is needed if you do not want to interact with the configurator and only want to use it
145
- to view 3d content. Imagine it then as a <img> tag for 3d content
146
-
147
- #### Defined in
148
-
149
- [src/configurator/embedding/types.ts:80](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L80)
150
-
151
- ___
152
-
153
- ### applyCurrentGlobalParameters
154
-
155
- • `Optional` **applyCurrentGlobalParameters**: false \| true
156
-
157
- set this flag to false and global parameters are not applied when switching variants
158
- default: true
159
-
160
- #### Overrides
161
-
162
- InitDataDefinition.applyCurrentGlobalParameters
163
-
164
- #### Defined in
165
-
166
- [src/configurator/embedding/types.ts:127](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L127)
167
-
168
- ___
169
-
170
- ### autoQuality
171
-
172
- • `Optional` **autoQuality**: false \| true
173
-
174
- If set to true the configurator will make sure every device has great user experience with fluid frame rate.
175
- If set to false the configurator will always show the highest quality possible.
176
- That could lead to stutter and other problems on low-end devices. We advise you to only turn off "autoQuality" if you really know what you are doing.
177
- default: true
178
- usage: autoQuality=false
179
-
180
- #### Inherited from
181
-
182
- InitDataDefinition.autoQuality
183
-
184
- #### Defined in
185
-
186
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:66
187
-
188
- ___
189
-
190
- ### bananaForScale
191
-
192
- • `Optional` **bananaForScale**: false \| true
193
-
194
- Easter Egg
195
-
196
- #### Inherited from
197
-
198
- InitDataDefinition.bananaForScale
199
-
200
- #### Defined in
201
-
202
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:248
203
-
204
- ___
205
-
206
- ### buttons
207
-
208
- • `Optional` **buttons**: `Object`
209
-
210
- #### Type declaration
211
-
212
- | Name | Type |
213
- | :------ | :------ |
214
- | `addons?` | false \| true |
215
- | `ar?` | false \| true |
216
- | `dimensions?` | false \| true |
217
- | `export3d?` | false \| true |
218
- | `fullscreen?` | false \| true |
219
- | `multiselect?` | false \| true |
220
- | `partlist?` | false \| true |
221
- | `pauseconfigure?` | false \| true |
222
- | `renderimage?` | false \| true |
223
- | `requestproduct?` | false \| true |
224
- | `resetcamera?` | false \| true |
225
- | `savedraft?` | false \| true |
226
- | `startconfigure?` | false \| true |
227
-
228
- #### Defined in
229
-
230
- [src/configurator/embedding/types.ts:35](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L35)
231
-
232
- ___
233
-
234
- ### cameraRestriction
235
-
236
- • `Optional` **cameraRestriction**: `number`
237
-
238
- When set this param restricts the camera rotation to the given angle (e.g. 45 degree), this overrides minHorizontalCameraAngle and maxHorizontalCameraAngle
239
- default: not set -> no camera restriction
240
- usage: cameraRestriction=45
241
-
242
- #### Inherited from
243
-
244
- InitDataDefinition.cameraRestriction
245
-
246
- #### Defined in
247
-
248
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:222
249
-
250
- ___
251
-
252
- ### cameraSpacing
253
-
254
- • `Optional` **cameraSpacing**: `number`
255
-
256
- Adds the given spacing (in centimeters) to the loaded object. This is then used to calculate the initial camera distance
257
- default: object size itself
258
- usage: cameraSpacing=100
259
-
260
- #### Inherited from
261
-
262
- InitDataDefinition.cameraSpacing
263
-
264
- #### Defined in
265
-
266
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:274
267
-
268
- ___
269
-
270
- ### colors
271
-
272
- • `Optional` **colors**: `Object`
273
-
274
- Can be used to personalize colors used in the 3D scene
275
-
276
- #### Type declaration
277
-
278
- | Name | Type |
279
- | :------ | :------ |
280
- | `DEFAULT_BACKGROUND` | `string` |
281
- | `ON_PRIMARY` | `string` |
282
- | `PRIMARY` | `string` |
283
- | `SELECTION` | `string` |
284
-
285
- #### Inherited from
286
-
287
- InitDataDefinition.colors
288
-
289
- #### Defined in
290
-
291
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:68
292
-
293
- ___
294
-
295
- ### configuratorId
296
-
297
- • `Optional` **configuratorId**: `string`
298
-
299
- The id which should be used for this configurator instance.
300
- When this id is set all InitData parameter can be set and changed in Rubens Admin.
301
- This is the way we recommend to set init data params.
302
- Ask your Roomle contact for your configuratorId.
303
-
304
- #### Inherited from
305
-
306
- GlobalInitDataDefinition.configuratorId
307
-
308
- #### Defined in
309
-
310
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:42
311
-
312
- ___
313
-
314
- ### customApiUrl
315
-
316
- • `Optional` **customApiUrl**: `string`
317
-
318
- Set which RAPI (Roomle API) backend should be used
319
- usage: customApiUrl=https://www.roomle.com/api/v2
320
-
321
- #### Inherited from
322
-
323
- GlobalInitDataDefinition.customApiUrl
324
-
325
- #### Defined in
326
-
327
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:53
328
-
329
- ___
330
-
331
- ### debug
332
-
333
- • `Optional` **debug**: false \| true
334
-
335
- This flag enables:
336
- - Scripter debug logs (e.g. which parameter is not assigned to a parameter group)
337
- - Free camera movement (no restrictions, camera stays after reload, panning using Shift key)
338
-
339
- #### Inherited from
340
-
341
- InitDataDefinition.debug
342
-
343
- #### Defined in
344
-
345
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:171
346
-
347
- ___
348
-
349
- ### deeplink
350
-
351
- • `Optional` **deeplink**: `string`
352
-
353
- Set this parameter to use your custom share url.
354
- The provided url has to contain a configuration id parameter (`#CONFIGURATIONID#`) which will be replaced with the real
355
- configuration id.
356
- default: not set -> use Roomle short url service (linking to roomle.com domain)
357
- usage: http://www.example.com/configurator?id=#CONFIGURATIONID#
358
-
359
- #### Defined in
360
-
361
- [src/configurator/embedding/types.ts:67](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L67)
362
-
363
- ___
364
-
365
- ### dls
366
-
367
- • `Optional` **dls**: `string`
368
-
369
- **`internal`**
370
- Load a light setting using an URL.
371
- Check lights in {@link SceneSettings} for an example.
372
-
373
- #### Inherited from
374
-
375
- InitDataDefinition.dls
376
-
377
- #### Defined in
378
-
379
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:205
380
-
381
- ___
382
-
383
- ### edit
384
-
385
- • `Optional` **edit**: false \| true
386
-
387
- **`internal`**
388
- If set to true the plan can be edited.
389
-
390
- #### Inherited from
391
-
392
- InitDataDefinition.edit
393
-
394
- #### Defined in
395
-
396
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:288
397
-
398
- ___
399
-
400
- ### emails
401
-
402
- • `Optional` **emails**: false \| true
403
-
404
- if this is set to true the "save draft" will be done by sending
405
- an e-mail
406
-
407
- #### Defined in
408
-
409
- [src/configurator/embedding/types.ts:85](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L85)
410
-
411
- ___
412
-
413
- ### featureFlags
414
-
415
- • `Optional` **featureFlags**: `FeatureFlags`
416
-
417
- **`internal`**
418
- this is an object which is for Roomle internal usage, we can set feature flags
419
- so that we can ensure a smooth transition between different versions of our configurator
420
-
421
- #### Defined in
422
-
423
- [src/configurator/embedding/types.ts:101](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L101)
424
-
425
- ___
426
-
427
- ### floorMaterialsTag
428
-
429
- • `Optional` **floorMaterialsTag**: `string`
430
-
431
- **`deprecated`**
432
-
433
- #### Inherited from
434
-
435
- InitDataDefinition.floorMaterialsTag
436
-
437
- #### Defined in
438
-
439
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:210
440
-
441
- ___
442
-
443
- ### gaConsent
444
-
445
- • `Optional` **gaConsent**: false \| true
446
-
447
- set this flag to false if the user did not give the consent to Analytics
448
-
449
- #### Defined in
450
-
451
- [src/configurator/embedding/types.ts:105](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L105)
452
-
453
- ___
454
-
455
- ### groupPartList
456
-
457
- • `Optional` **groupPartList**: false \| true
458
-
459
- set this flag to true if you want to group the part list by main components
460
-
461
- #### Defined in
462
-
463
- [src/configurator/embedding/types.ts:95](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L95)
464
-
465
- ___
466
-
467
- ### id
468
-
469
- • `Optional` **id**: `string`
470
-
471
- The item id or configuration id of the item which should be loaded.
472
- Examples:
473
- Configuration id: usm:frame:2449773A7F54278EBB61A67A10EF6A10E8BB6F38BE775B028AC050B438414507
474
- Item id: usm:frame
475
-
476
- #### Inherited from
477
-
478
- InitDataDefinition.id
479
-
480
- #### Defined in
481
-
482
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:81
483
-
484
- ___
485
-
486
- ### initialFloorMaterial
487
-
488
- • `Optional` **initialFloorMaterial**: `string`
489
-
490
- Set the floor material which is used when loading the configurator
491
- For different options see {@link EnvironmentSetting}
492
-
493
- #### Inherited from
494
-
495
- InitDataDefinition.initialFloorMaterial
496
-
497
- #### Defined in
498
-
499
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:199
500
-
501
- ___
502
-
503
- ### isItem
504
-
505
- • `Optional` **isItem**: false \| true
506
-
507
- **`deprecated`**
508
- Set if the currently loaded id is an item or a configuration.
509
- In the new configurator UI this is determined automatically based on the id.
510
-
511
- #### Inherited from
512
-
513
- InitDataDefinition.isItem
514
-
515
- #### Defined in
516
-
517
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:74
518
-
519
- ___
520
-
521
- ### locale
522
-
523
- • `Optional` **locale**: `string`
524
-
525
- Set the language/locale which should be used, for example 'de' or 'en'
526
-
527
- #### Inherited from
528
-
529
- GlobalInitDataDefinition.locale
530
-
531
- #### Defined in
532
-
533
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:16
534
-
535
- ___
536
-
537
- ### ls
538
-
539
- • `Optional` **ls**: `string`
540
-
541
- #### Inherited from
542
-
543
- InitDataDefinition.ls
544
-
545
- #### Defined in
546
-
547
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:206
548
-
549
- ___
550
-
551
- ### maxHorizontalCameraAngle
552
-
553
- • `Optional` **maxHorizontalCameraAngle**: `number`
554
-
555
- When set this param restricts the right/horizontal camera rotation to the given angle (e.g. 45 degree)
556
- default: not set -> no camera angle restriction
557
- usage: maxHorizontalCameraAngle=45
558
-
559
- #### Inherited from
560
-
561
- InitDataDefinition.maxHorizontalCameraAngle
562
-
563
- #### Defined in
564
-
565
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:246
566
-
567
- ___
568
-
569
- ### maxVerticalCameraAngle
570
-
571
- • `Optional` **maxVerticalCameraAngle**: `number`
572
-
573
- When set this param restricts the up/vertical camera rotation to the given angle (e.g. 45 degree)
574
- default: not set -> no camera angle restriction
575
- usage: maxVerticalCameraAngle=45
576
-
577
- #### Inherited from
578
-
579
- InitDataDefinition.maxVerticalCameraAngle
580
-
581
- #### Defined in
582
-
583
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:234
584
-
585
- ___
586
-
587
- ### meshSelection
588
-
589
- • `Optional` **meshSelection**: false \| true
590
-
591
- When mesh selection is enabled, the meshes of the object are used directly for highlighting.
592
- Setting it to false could be useful for square/rectangular (shelf) items.
593
-
594
- #### Inherited from
595
-
596
- InitDataDefinition.meshSelection
597
-
598
- #### Defined in
599
-
600
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:158
601
-
602
- ___
603
-
604
- ### minHorizontalCameraAngle
605
-
606
- • `Optional` **minHorizontalCameraAngle**: `number`
607
-
608
- When set this param restricts the left/horizontal camera rotation to the given angle (e.g. 45 degree)
609
- default: not set -> no camera angle restriction
610
- usage: minHorizontalCameraAngle=45
611
-
612
- #### Inherited from
613
-
614
- InitDataDefinition.minHorizontalCameraAngle
615
-
616
- #### Defined in
617
-
618
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:240
619
-
620
- ___
621
-
622
- ### minVerticalCameraAngle
623
-
624
- • `Optional` **minVerticalCameraAngle**: `number`
625
-
626
- When set this param restricts the down/vertical camera rotation to the given angle (e.g. 45 degree)
627
- default: not set -> no camera angle restriction
628
- usage: minVerticalCameraAngle=45
629
-
630
- #### Inherited from
631
-
632
- InitDataDefinition.minVerticalCameraAngle
633
-
634
- #### Defined in
635
-
636
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:228
637
-
638
- ___
639
-
640
- ### mobileLandscape
641
-
642
- • `Optional` **mobileLandscape**: false \| true
643
-
644
- set this flag to true if you want to configure on small devices in landscape as well
645
- this is relevant for things like Rubens Admin, where the configurator is embedded into a very
646
- small div
647
-
648
- #### Defined in
649
-
650
- [src/configurator/embedding/types.ts:91](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L91)
651
-
652
- ___
653
-
654
- ### moc
655
-
656
- • `Optional` **moc**: false \| true
657
-
658
- If set to true it will treat the planner as a multi object configurator (moc).
659
- This means:
660
- - do not merge geometries
661
- - set configurator environment & lights in planner
662
- - reduce initial spacing of camera (higher zoom)
663
-
664
- #### Inherited from
665
-
666
- InitDataDefinition.moc
667
-
668
- #### Defined in
669
-
670
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:296
671
-
672
- ___
673
-
674
- ### mode
675
-
676
- • `Optional` **mode**: `CAMERA_2D` \| `CAMERA_3D` \| `CAMERA_FP`
677
-
678
- Select with which camera mode to start initially.
679
- default: 3D
680
- usage: mode=2D
681
- options: 2D, 3D, FP
682
-
683
- #### Inherited from
684
-
685
- InitDataDefinition.mode
686
-
687
- #### Defined in
688
-
689
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:283
690
-
691
- ___
692
-
693
- ### offlineSync
694
-
695
- • `Optional` **offlineSync**: `string`
696
-
697
- **`deprecated`**
698
- Download all necessary files to run the configurator in offline mode
699
-
700
- #### Inherited from
701
-
702
- InitDataDefinition.offlineSync
703
-
704
- #### Defined in
705
-
706
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:183
707
-
708
- ___
709
-
710
- ### offset
711
-
712
- • `Optional` **offset**: `CanvasOffset`
713
-
714
- **`deprecated`**
715
- Change the offset of the camera. For example if you add a margin left (0.1 means 10%) then
716
- the item moves to the right.
717
- This value is overridden in the new configurator UI.
718
-
719
- #### Inherited from
720
-
721
- InitDataDefinition.offset
722
-
723
- #### Defined in
724
-
725
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:148
726
-
727
- ___
728
-
729
- ### overrideCountry
730
-
731
- • `Optional` **overrideCountry**: `string`
732
-
733
- Set country to use for the Roomle price service.
734
- If not used the customer IP address will be used to determine the location.
735
- usage: overrideCountry=de
736
-
737
- #### Inherited from
738
-
739
- GlobalInitDataDefinition.overrideCountry
740
-
741
- #### Defined in
742
-
743
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:29
744
-
745
- ___
746
-
747
- ### overrideRapi
748
-
749
- • `Optional` **overrideRapi**: ``"live"`` \| ``"test"``
750
-
751
- **`internal`**
752
- Set which RAPI (Roomle API) backend should be used
753
- options: live, test
754
-
755
- #### Inherited from
756
-
757
- GlobalInitDataDefinition.overrideRapi
758
-
759
- #### Defined in
760
-
761
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:35
762
-
763
- ___
764
-
765
- ### overrideServerUrl
766
-
767
- • `Optional` **overrideServerUrl**: `string`
768
-
769
- #### Defined in
770
-
771
- [src/configurator/embedding/types.ts:53](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L53)
772
-
773
- ___
774
-
775
- ### overrideTenant
776
-
777
- • `Optional` **overrideTenant**: `number`
778
-
779
- **`internal`**
780
-
781
- **`deprecated`**
782
- Can be used for content testing
783
- default: 9
784
-
785
- #### Inherited from
786
-
787
- GlobalInitDataDefinition.overrideTenant
788
-
789
- #### Defined in
790
-
791
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:23
792
-
793
- ___
794
-
795
- ### plusInPreview
796
-
797
- • `Optional` **plusInPreview**: false \| true
798
-
799
- **`deprecated`**
800
- If set to true we show a plus in the addon preview boxes.
801
-
802
- #### Inherited from
803
-
804
- InitDataDefinition.plusInPreview
805
-
806
- #### Defined in
807
-
808
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:194
809
-
810
- ___
811
-
812
- ### precisionCm
813
-
814
- • `Optional` **precisionCm**: `string`
815
-
816
- Set how many positions after the decimal point should be shown.
817
- For example:
818
- 123,45 -> precisionCm=2 -> 123,45
819
- 123,45 -> precisionCm=1 -> 123,5
820
- 123,45 -> precisionCm=0 -> 124
821
-
822
- #### Inherited from
823
-
824
- InitDataDefinition.precisionCm
825
-
826
- #### Defined in
827
-
828
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:118
829
-
830
- ___
831
-
832
- ### precisionInch
833
-
834
- • `Optional` **precisionInch**: `string`
835
-
836
- Set how many positions after the decimal point should be shown.
837
- For example:
838
- 8' 1.68" -> precisionCm=2 -> 8' 1.68"
839
- 8' 1.68" -> precisionCm=1 -> 8' 1.7"
840
- 8' 1.68" -> precisionCm=0 -> 8' 2"
841
-
842
- #### Inherited from
843
-
844
- InitDataDefinition.precisionInch
845
-
846
- #### Defined in
847
-
848
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:110
849
-
850
- ___
851
-
852
- ### preloadHint
853
-
854
- • `Optional` **preloadHint**: `string`
855
-
856
- **`deprecated`**
857
-
858
- **`internal`**
859
- Same as preloadId, both call getPreloadForItem or getPreloadForConfiguration to pre load things needed
860
- for the configuration so that there are less XHR calls and the cache is pre-warmed
861
- Will no longer be used in the new configurator UI.
862
-
863
- #### Inherited from
864
-
865
- InitDataDefinition.preloadHint
866
-
867
- #### Defined in
868
-
869
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:141
870
-
871
- ___
872
-
873
- ### preloadId
874
-
875
- • `Optional` **preloadId**: `string`
876
-
877
- **`deprecated`**
878
-
879
- **`internal`**
880
- Same as preloadHint, both call getPreloadForItem or getPreloadForConfiguration to pre load things needed
881
- for the configuration so that there are less XHR calls and the cache is pre-warmed
882
- Will no longer be used in the new configurator UI.
883
-
884
- #### Inherited from
885
-
886
- InitDataDefinition.preloadId
887
-
888
- #### Defined in
889
-
890
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:89
891
-
892
- ___
893
-
894
- ### shareUrl
895
-
896
- • `Optional` **shareUrl**: `string`
897
-
898
- **`deprecated`**
899
- for details see deeplink, the only change is that the placeholder is <CONF_ID> here instead of #CONFIGURATIONID#
900
-
901
- #### Defined in
902
-
903
- [src/configurator/embedding/types.ts:58](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L58)
904
-
905
- ___
906
-
907
- ### showArButton
908
-
909
- • `Optional` **showArButton**: false \| true
910
-
911
- **`deprecated`**
912
- Set if the AR button should be shown.
913
- In the new configurator UI this is in the configurator settings object called buttons.
914
-
915
- #### Inherited from
916
-
917
- InitDataDefinition.showArButton
918
-
919
- #### Defined in
920
-
921
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:95
922
-
923
- ___
924
-
925
- ### showInfos
926
-
927
- • `Optional` **showInfos**: false \| true
928
-
929
- **`deprecated`**
930
- Shows partlist if there are no prices
931
-
932
- #### Inherited from
933
-
934
- InitDataDefinition.showInfos
935
-
936
- #### Defined in
937
-
938
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:259
939
-
940
- ___
941
-
942
- ### showPrice
943
-
944
- • `Optional` **showPrice**: false \| true
945
-
946
- **`deprecated`**
947
- Show price label using prices from configuration script
948
-
949
- #### Inherited from
950
-
951
- InitDataDefinition.showPrice
952
-
953
- #### Defined in
954
-
955
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:264
956
-
957
- ___
958
-
959
- ### skin
960
-
961
- • `Optional` **skin**: [`EmbeddingSkin`](types.EmbeddingSkin.md)
962
-
963
- #### Defined in
964
-
965
- [src/configurator/embedding/types.ts:50](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L50)
966
-
967
- ___
968
-
969
- ### startTag
970
-
971
- • `Optional` **startTag**: `string`
972
-
973
- **`deprecated`**
974
- Add a tag id which is used to show different variations when opening the configurator
975
-
976
- #### Inherited from
977
-
978
- InitDataDefinition.startTag
979
-
980
- #### Defined in
981
-
982
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:153
983
-
984
- ___
985
-
986
- ### stats
987
-
988
- • `Optional` **stats**: false \| true
989
-
990
- if set to true it shows a little overlay with performance stats
991
-
992
- #### Inherited from
993
-
994
- InitDataDefinition.stats
995
-
996
- #### Defined in
997
-
998
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:160
999
-
1000
- ___
1001
-
1002
- ### translations
1003
-
1004
- • `Optional` **translations**: `any`
1005
-
1006
- override translations to change labels for some or all languages.
1007
- Example:
1008
-
1009
- ```
1010
- "translations": {
1011
- "en": {
1012
- "params": {
1013
- "request-product": "Add to cart",
1014
- }
1015
- }
1016
- }
1017
- ```
1018
-
1019
- You can find all labels here: [Base.json](../../../ui/base.json)
1020
-
1021
- #### Defined in
1022
-
1023
- [src/configurator/embedding/types.ts:122](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L122)
1024
-
1025
- ___
1026
-
1027
- ### transparentHighlighting
1028
-
1029
- • `Optional` **transparentHighlighting**: false \| true
1030
-
1031
- If set to true, components which are between the camera and the selected component/preview will be rendered transparent
1032
- default: false
1033
- usage: transparentHighlighting=true
1034
-
1035
- #### Inherited from
1036
-
1037
- InitDataDefinition.transparentHighlighting
1038
-
1039
- #### Defined in
1040
-
1041
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:254
1042
-
1043
- ___
1044
-
1045
- ### typeChangeTag
1046
-
1047
- • `Optional` **typeChangeTag**: `string`
1048
-
1049
- Add a tag id which is used to show different variations for the current item/configuration
1050
-
1051
- #### Inherited from
1052
-
1053
- InitDataDefinition.typeChangeTag
1054
-
1055
- #### Defined in
1056
-
1057
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:133
1058
-
1059
- ___
1060
-
1061
- ### unit
1062
-
1063
- • `Optional` **unit**: `string`
1064
-
1065
- Defines which unit should be used for measurements/dimensions
1066
- Options: 'cm', 'mm', 'inchfeet'
1067
-
1068
- #### Inherited from
1069
-
1070
- InitDataDefinition.unit
1071
-
1072
- #### Defined in
1073
-
1074
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:123
1075
-
1076
- ___
1077
-
1078
- ### unitStringType
1079
-
1080
- • `Optional` **unitStringType**: `string`
1081
-
1082
- How the current unit should be formatted
1083
- Options:
1084
- 'none': No unit string added, for example '200'
1085
- 'long': Long unit string, for example '200 meters'
1086
- 'short': Short unit string, for example '200 m'
1087
-
1088
- #### Inherited from
1089
-
1090
- InitDataDefinition.unitStringType
1091
-
1092
- #### Defined in
1093
-
1094
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:131
1095
-
1096
- ___
1097
-
1098
- ### useLocalRoomle
1099
-
1100
- • `Optional` **useLocalRoomle**: false \| true
1101
-
1102
- #### Defined in
1103
-
1104
- [src/configurator/embedding/types.ts:52](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L52)
1105
-
1106
- ___
1107
-
1108
- ### usePriceService
1109
-
1110
- • `Optional` **usePriceService**: false \| true
1111
-
1112
- If set to true, prices are calculated using the Roomle price service.
1113
- For more information ask your Roomle contact.
1114
-
1115
- #### Inherited from
1116
-
1117
- InitDataDefinition.usePriceService
1118
-
1119
- #### Defined in
1120
-
1121
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:176
1122
-
1123
- ___
1124
-
1125
- ### useRoomlePrice
1126
-
1127
- • `Optional` **useRoomlePrice**: false \| true
1128
-
1129
- **`internal`**
1130
-
1131
- **`deprecated`**
1132
- Use prices which are hardcoded in the configuration script.
1133
- Only used for trade show demos.
1134
-
1135
- #### Inherited from
1136
-
1137
- InitDataDefinition.useRoomlePrice
1138
-
1139
- #### Defined in
1140
-
1141
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:102
1142
-
1143
- ___
1144
-
1145
- ### variants
1146
-
1147
- • `Optional` **variants**: [`VariantsMap`](types.VariantsMap.md)
1148
-
1149
- Define to which variants you can switch from which root component id. This is a simple JS object which is
1150
- used like a map, e.g.: { "usm:frame": "DB_Start_ohne_Element" } now if a configuration with root component
1151
- usm:frame is loaded all the items from the tag "DB_Start_ohne_Element" are now shown as variants
1152
-
1153
- #### Defined in
1154
-
1155
- [src/configurator/embedding/types.ts:74](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L74)
1156
-
1157
- ___
1158
-
1159
- ### zIndex
1160
-
1161
- • `Optional` **zIndex**: `number`
1162
-
1163
- #### Defined in
1164
-
1165
- [src/configurator/embedding/types.ts:51](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/types.ts#L51)
1166
-
1167
- ___
1168
-
1169
- ### zoomDistance
1170
-
1171
- • `Optional` **zoomDistance**: `number`
1172
-
1173
- Set the distance to which the user can zoom (in centimeters).
1174
- default: object size divided by 10 or 10 cm
1175
- usage: zoomDistance=3
1176
-
1177
- #### Inherited from
1178
-
1179
- InitDataDefinition.zoomDistance
1180
-
1181
- #### Defined in
1182
-
1183
- node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:216