@roomle/embedding-lib 4.24.0 → 4.24.1-alpha.1

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