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