@roomle/embedding-lib 5.9.0-alpha.3 → 5.9.0-alpha.4

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 (367) hide show
  1. package/docs/md/web/embedding/CHANGELOG.md +6 -10
  2. package/index.d.ts +2 -179
  3. package/package.json +2 -2
  4. package/packages/build-tools/src/vite-file-size-check.d.ts +8 -0
  5. package/packages/build-tools/src/vite-minify.d.ts +3 -0
  6. package/packages/common/src/utils/browser.d.ts +4 -0
  7. package/packages/common/src/utils/custom-drag.d.ts +26 -0
  8. package/packages/common/src/utils/custom-view.d.ts +2 -0
  9. package/packages/common/src/utils/domain.d.ts +3 -0
  10. package/packages/common/src/utils/drag.d.ts +17 -0
  11. package/packages/common/src/utils/embedding.d.ts +23 -0
  12. package/packages/common/src/utils/get-computed-style-cached.d.ts +8 -0
  13. package/packages/common/src/utils/id-inferrer.d.ts +7 -0
  14. package/packages/common/src/utils/iframe.d.ts +3 -0
  15. package/packages/common/src/utils/init-data.d.ts +66 -0
  16. package/packages/common/src/utils/merge.d.ts +16 -0
  17. package/packages/common/src/utils/message-handler-creator.d.ts +3 -0
  18. package/packages/common/src/utils/message-handler.d.ts +35 -0
  19. package/packages/common/src/utils/promise.d.ts +5 -0
  20. package/packages/common/src/utils/timing.d.ts +1 -0
  21. package/packages/common/src/utils/touch-drag.d.ts +30 -0
  22. package/packages/common/src/utils/touch.d.ts +1 -0
  23. package/packages/embedding-lib/src/connector.d.ts +42 -0
  24. package/packages/embedding-lib/src/embedding-lib.d.ts +64 -0
  25. package/packages/embedding-lib/src/example.d.ts +5 -0
  26. package/packages/embedding-lib/src/examples/api-false.d.ts +10 -0
  27. package/packages/embedding-lib/src/examples/configurator-only.d.ts +7 -0
  28. package/packages/embedding-lib/src/examples/download-partlist.d.ts +7 -0
  29. package/packages/embedding-lib/src/examples/drag-in.d.ts +8 -0
  30. package/packages/embedding-lib/src/examples/ext-catalog/ext-catalog-connection.d.ts +1 -0
  31. package/packages/embedding-lib/src/examples/ext-catalog.d.ts +7 -0
  32. package/packages/embedding-lib/src/examples/ext-selection-overlay.d.ts +8 -0
  33. package/packages/embedding-lib/src/examples/planner-and-configurator.d.ts +7 -0
  34. package/packages/embedding-lib/src/examples/start-and-end-configurator.d.ts +7 -0
  35. package/packages/embedding-lib/src/examples/utils/drag-listeners.d.ts +6 -0
  36. package/packages/embedding-lib/src/overview.d.ts +1 -0
  37. package/packages/embedding-lib/src/plugins/constants.d.ts +19 -0
  38. package/packages/embedding-lib/src/plugins/drag-in.d.ts +33 -0
  39. package/packages/embedding-lib/src/plugins/strategy/from-custom-view.d.ts +31 -0
  40. package/packages/embedding-lib/src/plugins/strategy/from-website.d.ts +27 -0
  41. package/packages/embedding-lib/src/plugins/strategy/types.d.ts +15 -0
  42. package/packages/embedding-lib/src/plugins/types.d.ts +36 -0
  43. package/packages/embedding-lib/src/utils.d.ts +18 -0
  44. package/src/App.vue.d.ts +127 -0
  45. package/src/common/business-logic/connector.d.ts +9 -0
  46. package/src/common/business-logic/event-bus.d.ts +7 -0
  47. package/src/common/business-logic/event-emitter.d.ts +11 -0
  48. package/src/common/components/ActionButtons.vue.d.ts +8 -0
  49. package/src/common/components/BottomBar.vue.d.ts +2 -0
  50. package/src/common/components/BottomButtons.vue.d.ts +9 -0
  51. package/src/common/components/CounterDot.vue.d.ts +6 -0
  52. package/src/common/components/EmbeddedAdditionalInfo.vue.d.ts +12 -0
  53. package/src/common/components/EmbeddedExternalCatalog.vue.d.ts +16 -0
  54. package/src/common/components/EmbeddedInfoWrapper.vue.d.ts +27 -0
  55. package/src/common/components/ExpandableIcons.vue.d.ts +12 -0
  56. package/src/common/components/IconButton.vue.d.ts +15 -0
  57. package/src/common/components/Layer.vue.d.ts +9 -0
  58. package/src/common/components/Layout.vue.d.ts +15 -0
  59. package/src/common/components/LeftHeaderContainer.vue.d.ts +2 -0
  60. package/src/common/components/Loading.vue.d.ts +2 -0
  61. package/src/common/components/LoadingSpinner.vue.d.ts +2 -0
  62. package/src/common/components/MainComponent.vue.d.ts +2 -0
  63. package/src/common/components/SelectionButton.vue.d.ts +9 -0
  64. package/src/common/components/SelectionButtons.vue.d.ts +10 -0
  65. package/src/common/components/ShowCustomView.vue.d.ts +22 -0
  66. package/src/common/components/SwitchButton.vue.d.ts +16 -0
  67. package/src/common/components/ToggleButtons.vue.d.ts +12 -0
  68. package/src/common/components/Tooltip.vue.d.ts +29 -0
  69. package/src/common/components/action-buttons/-utils/ActionButton.vue.d.ts +21 -0
  70. package/src/common/components/collection-view/-utils/BackButton.vue.d.ts +16 -0
  71. package/src/common/components/collection-view/-utils/ParameterTooltip.vue.d.ts +14 -0
  72. package/src/common/components/collection-view/-utils/TabbedNav.vue.d.ts +18 -0
  73. package/src/common/components/collection-view/-utils/TabbedNavMenu.vue.d.ts +30 -0
  74. package/src/common/components/collection-view/-utils/TabbedNavStatic.vue.d.ts +6 -0
  75. package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts +3802 -0
  76. package/src/common/components/collection-view/-utils/collection-view-props.d.ts +45 -0
  77. package/src/common/components/collection-view/-utils/helper.d.ts +5 -0
  78. package/src/common/components/collection-view/-utils/render.d.ts +9 -0
  79. package/src/common/components/collection-view/-utils/types.d.ts +45 -0
  80. package/src/common/components/collection-view/CollectionView.vue.d.ts +70 -0
  81. package/src/common/components/collection-view/CollectionViewElement.vue.d.ts +200 -0
  82. package/src/common/components/collection-view/CollectionViewHint.vue.d.ts +10 -0
  83. package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +100 -0
  84. package/src/common/components/drawer-layout/DrawerGroup.vue.d.ts +23 -0
  85. package/src/common/components/drawer-layout/DrawerLayout.vue.d.ts +101 -0
  86. package/src/common/components/flying-menu/FlyingMenu.vue.d.ts +8 -0
  87. package/src/common/components/flying-menu/MergeProductButtons.vue.d.ts +2 -0
  88. package/src/common/components/flying-menu/StartConfiguringButton.vue.d.ts +2 -0
  89. package/src/common/components/helpers.d.ts +6 -0
  90. package/src/common/components/inputs/BaseInput.vue.d.ts +24 -0
  91. package/src/common/components/inputs/NumericInput.vue.d.ts +22 -0
  92. package/src/common/components/inputs/NumericInputWrapper.vue.d.ts +15 -0
  93. package/src/common/components/inputs/RangeSlider.vue.d.ts +34 -0
  94. package/src/common/components/inputs/SelectDropdown.vue.d.ts +18 -0
  95. package/src/common/components/notifications/FirstPersonControlsNotification.vue.d.ts +6 -0
  96. package/src/common/components/notifications/InteractionNotes.vue.d.ts +10 -0
  97. package/src/common/components/notifications/LoadSavedPlanNotification.vue.d.ts +10 -0
  98. package/src/common/components/notifications/NotificationCard.vue.d.ts +19 -0
  99. package/src/common/components/notifications/Notifications.vue.d.ts +2 -0
  100. package/src/common/components/overlays/PartList.vue.d.ts +185 -0
  101. package/src/common/components/overlays/bottom-bar/CloseView.vue.d.ts +220 -0
  102. package/src/common/components/overlays/bottom-bar/ControlButtonsWrapper.vue.d.ts +2 -0
  103. package/src/common/components/overlays/bottom-bar/GoBack.vue.d.ts +49 -0
  104. package/src/common/components/overlays/bottom-bar/cart/AddToBasket.vue.d.ts +6 -0
  105. package/src/common/components/overlays/bottom-bar/cart/CartIconWithBadge.vue.d.ts +12 -0
  106. package/src/common/components/overlays/bottom-bar/cart/ExitBtn.vue.d.ts +40 -0
  107. package/src/common/components/overlays/bottom-bar/cart/GoToCartBtn.vue.d.ts +49 -0
  108. package/src/common/components/overlays/bottom-bar/cart/SaveCartBtn.vue.d.ts +50 -0
  109. package/src/common/components/overlays/part-list/PartListEntry.vue.d.ts +114 -0
  110. package/src/common/components/overlays/part-list/PartListHeader.vue.d.ts +10 -0
  111. package/src/common/components/overlays/part-list/PartListPrint.vue.d.ts +16 -0
  112. package/src/common/components/overlays/part-list/PartListRow.vue.d.ts +60 -0
  113. package/src/common/components/overlays/part-list/partlist-setup.d.ts +17 -0
  114. package/src/common/components/overlays/tutorials/SupaDemoEmbed.vue.d.ts +10 -0
  115. package/src/common/components/overlays/tutorials/Tutorials.vue.d.ts +6 -0
  116. package/src/common/components/overlays/tutorials/YouTubeEmbed.vue.d.ts +10 -0
  117. package/src/common/components/parameters/ColorParameter.vue.d.ts +2229 -0
  118. package/src/common/components/side-bar/BackAction.vue.d.ts +22 -0
  119. package/src/common/components/side-bar/NavigationButtonsWrapper.vue.d.ts +9 -0
  120. package/src/common/components/side-bar/NextAction.vue.d.ts +22 -0
  121. package/src/common/components/tool-bar/ToolBar.vue.d.ts +2 -0
  122. package/src/common/components/tool-bar/ToolBarWrapper.vue.d.ts +4 -0
  123. package/src/common/components/tool-tip/MoreInfoTooltipContent.vue.d.ts +18 -0
  124. package/src/common/components/top-bar/TopBar.vue.d.ts +2 -0
  125. package/src/common/components/utils/-utils/notifications.d.ts +50 -0
  126. package/src/common/components/utils/-utils/overlays.d.ts +65 -0
  127. package/src/common/components/utils/CollapsibleButtonsContainer.vue.d.ts +26 -0
  128. package/src/common/components/utils/HeightToggle.vue.d.ts +34 -0
  129. package/src/common/components/utils/QRCode.vue.d.ts +139 -0
  130. package/src/common/components/utils/ShadowOnStage.vue.d.ts +8 -0
  131. package/src/common/components/utils/StageActivityIndicator.vue.d.ts +2 -0
  132. package/src/common/components/utils/collapsible-buttons-container/CollapsibleButton.vue.d.ts +14 -0
  133. package/src/common/components/utils/collapsible-buttons-container/CollapsibleTrigger.vue.d.ts +27 -0
  134. package/src/common/components/utils/collapsible-buttons-container/collapsible-button-types.d.ts +1 -0
  135. package/src/common/composables/use-analytics.d.ts +3 -0
  136. package/src/common/composables/use-ar-service.d.ts +3 -0
  137. package/src/common/composables/use-async-function.d.ts +8 -0
  138. package/src/common/composables/use-configurator-actions-visibility.d.ts +4 -0
  139. package/src/common/composables/use-configurator-api.d.ts +6 -0
  140. package/src/common/composables/use-core-bound-value.d.ts +8 -0
  141. package/src/common/composables/use-core-instances.d.ts +8 -0
  142. package/src/common/composables/use-embedding-callbacks.d.ts +3 -0
  143. package/src/common/composables/use-event-emitter-listener.d.ts +61 -0
  144. package/src/common/composables/use-fetch-root-tag.d.ts +8 -0
  145. package/src/common/composables/use-intersection-observer.d.ts +8 -0
  146. package/src/common/composables/use-intl.d.ts +14 -0
  147. package/src/common/composables/use-item-variants.d.ts +7 -0
  148. package/src/common/composables/use-libs.d.ts +3 -0
  149. package/src/common/composables/use-local-storage.d.ts +3 -0
  150. package/src/common/composables/use-materials-and-ral-colors.d.ts +10 -0
  151. package/src/common/composables/use-materials-grouped.d.ts +10 -0
  152. package/src/common/composables/use-measurement-styles.d.ts +10 -0
  153. package/src/common/composables/use-on-click-outside.d.ts +7 -0
  154. package/src/common/composables/use-planner-actions-visibility.d.ts +11 -0
  155. package/src/common/composables/use-pointer-pos.d.ts +16 -0
  156. package/src/common/composables/use-product-price.d.ts +11 -0
  157. package/src/common/composables/use-purchasable-count.d.ts +3 -0
  158. package/src/common/composables/use-sdk-connector.d.ts +3 -0
  159. package/src/common/composables/use-sdk-event-emitter-listener.d.ts +36 -0
  160. package/src/common/composables/use-selected-object-center.d.ts +5 -0
  161. package/src/common/composables/use-selected-plan-element.d.ts +7 -0
  162. package/src/common/composables/use-shared-sidebar-setup.d.ts +96 -0
  163. package/src/common/composables/use-stage-activity-indicator.d.ts +9 -0
  164. package/src/common/composables/use-static-item-parameters.d.ts +1114 -0
  165. package/src/common/composables/use-ui-actions.d.ts +3 -0
  166. package/src/common/config/tutorial-data.d.ts +3 -0
  167. package/src/common/plugins/analytics.d.ts +12 -0
  168. package/src/common/plugins/event-emitter.d.ts +4 -0
  169. package/src/common/plugins/local-storage.d.ts +10 -0
  170. package/src/common/plugins/localize.d.ts +2 -0
  171. package/src/common/plugins/ui-actions.d.ts +13 -0
  172. package/src/common/store/collection-view-state.d.ts +51 -0
  173. package/src/common/store/common-ui-state.d.ts +35 -0
  174. package/src/common/store/index.d.ts +35 -0
  175. package/src/common/translations/local-translation-source.d.ts +9 -0
  176. package/src/common/utils/access-restriction.d.ts +8 -0
  177. package/src/common/utils/ar-service.d.ts +14 -0
  178. package/src/common/utils/async-guard.d.ts +12 -0
  179. package/src/common/utils/bezier.d.ts +2 -0
  180. package/src/common/utils/color.d.ts +27 -0
  181. package/src/common/utils/compatibility.d.ts +4 -0
  182. package/src/common/utils/composable-helpers.d.ts +10 -0
  183. package/src/common/utils/dom.d.ts +20 -0
  184. package/src/common/utils/font-size-detector.d.ts +1 -0
  185. package/src/common/utils/fonts.d.ts +3 -0
  186. package/src/common/utils/google-analytics.d.ts +68 -0
  187. package/src/common/utils/helper.d.ts +83 -0
  188. package/src/common/utils/init-data-helper.d.ts +3 -0
  189. package/src/common/utils/log-canvas-coords.d.ts +3 -0
  190. package/src/common/utils/parameters.d.ts +19 -0
  191. package/src/common/utils/performance.d.ts +2 -0
  192. package/src/common/utils/plan.d.ts +1 -0
  193. package/src/common/utils/playwright-handler.d.ts +5 -0
  194. package/src/common/utils/playwright-response-checker.d.ts +3 -0
  195. package/src/common/utils/root-tags.d.ts +5 -0
  196. package/src/common/utils/script-loader.d.ts +6 -0
  197. package/src/common/utils/share.d.ts +1 -0
  198. package/src/common/utils/tutorials.d.ts +6 -0
  199. package/src/common/utils/types.d.ts +145 -0
  200. package/src/common/utils/ui-actions.d.ts +38 -0
  201. package/src/common/utils/user-agent.d.ts +7 -0
  202. package/src/common/utils/variants.d.ts +4 -0
  203. package/src/configurator/ar/AppAR.vue.d.ts +11 -0
  204. package/src/configurator/ar/main.d.ts +1 -0
  205. package/src/configurator/business-logic/roomle-sdk-wrapper.d.ts +30 -0
  206. package/src/configurator/business-logic/sdk-connector-configurator.d.ts +39 -0
  207. package/src/configurator/business-logic/sdk-connector.d.ts +136 -0
  208. package/src/configurator/business-logic/ui-callback.d.ts +6 -0
  209. package/src/configurator/components/ActionButtonsParameterGroups.vue.d.ts +6 -0
  210. package/src/configurator/components/ConfiguratorMain.vue.d.ts +2 -0
  211. package/src/configurator/components/ConfiguratorSidebar.vue.d.ts +13 -0
  212. package/src/configurator/components/CookieBanner.vue.d.ts +6 -0
  213. package/src/configurator/components/Overlays.vue.d.ts +842 -0
  214. package/src/configurator/components/PoweredBy.vue.d.ts +10 -0
  215. package/src/configurator/components/SceneContainer.vue.d.ts +2 -0
  216. package/src/configurator/components/StopConfiguringButton.vue.d.ts +2 -0
  217. package/src/configurator/components/addons/AddonsTrigger.vue.d.ts +34 -0
  218. package/src/configurator/components/addons/PossibleChildren.vue.d.ts +19 -0
  219. package/src/configurator/components/grid-view/-utils/CollapsedView.vue.d.ts +107 -0
  220. package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +88 -0
  221. package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +31 -0
  222. package/src/configurator/components/grid-view/-utils/GridViewElement.vue.d.ts +177 -0
  223. package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +23 -0
  224. package/src/configurator/components/grid-view/-utils/GridViewMaterialElement.vue.d.ts +44 -0
  225. package/src/configurator/components/grid-view/-utils/GridViewThumbnailsElement.vue.d.ts +60 -0
  226. package/src/configurator/components/grid-view/-utils/GridViewTooltipElement.vue.d.ts +8 -0
  227. package/src/configurator/components/grid-view/GridView.vue.d.ts +327 -0
  228. package/src/configurator/components/overlays/DeleteWarning.vue.d.ts +87 -0
  229. package/src/configurator/components/overlays/ElementDisabled.vue.d.ts +83 -0
  230. package/src/configurator/components/overlays/Export3D.vue.d.ts +6 -0
  231. package/src/configurator/components/overlays/GenericError.vue.d.ts +104 -0
  232. package/src/configurator/components/overlays/LoadProduct.vue.d.ts +13 -0
  233. package/src/configurator/components/overlays/NoDocking.vue.d.ts +83 -0
  234. package/src/configurator/components/overlays/SaveDraft.vue.d.ts +13 -0
  235. package/src/configurator/components/overlays/VariantWarning.vue.d.ts +99 -0
  236. package/src/configurator/components/overlays/ar/OpenAR.vue.d.ts +12 -0
  237. package/src/configurator/components/overlays/ar/OpenARView.vue.d.ts +24 -0
  238. package/src/configurator/components/parameters/BackParameterGroupButton.vue.d.ts +6 -0
  239. package/src/configurator/components/parameters/NextParameterGroupButton.vue.d.ts +6 -0
  240. package/src/configurator/components/parameters/OverflowIndicator.vue.d.ts +12 -0
  241. package/src/configurator/components/parameters/ParameterGroupArrowButton.vue.d.ts +10 -0
  242. package/src/configurator/components/parameters/ParameterGroupButton.vue.d.ts +45 -0
  243. package/src/configurator/components/parameters/ParameterGroups.vue.d.ts +8 -0
  244. package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +372 -0
  245. package/src/configurator/components/parameters/types/OptionsParameter.vue.d.ts +18 -0
  246. package/src/configurator/components/parameters/types/OptionsParameterValue.vue.d.ts +14 -0
  247. package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +374 -0
  248. package/src/configurator/components/parameters/types/RangeParameter.vue.d.ts +15 -0
  249. package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +369 -0
  250. package/src/configurator/components/parameters/types/UnknownParameter.vue.d.ts +12 -0
  251. package/src/configurator/components/top-bar/ARButton.vue.d.ts +2 -0
  252. package/src/configurator/components/utils/-utils/SceneOffsetResizer.d.ts +25 -0
  253. package/src/configurator/components/utils/-utils/popup-types.d.ts +1 -0
  254. package/src/configurator/components/utils/ArrowButton.vue.d.ts +8 -0
  255. package/src/configurator/components/utils/AspectRatioBox.vue.d.ts +9 -0
  256. package/src/configurator/components/utils/CheckBox.vue.d.ts +10 -0
  257. package/src/configurator/components/utils/FullscreenContainer.vue.d.ts +15 -0
  258. package/src/configurator/components/utils/GdprEmailInput.vue.d.ts +12 -0
  259. package/src/configurator/components/utils/HeightContainer.vue.d.ts +12 -0
  260. package/src/configurator/components/utils/ImageWithFallback.vue.d.ts +23 -0
  261. package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +18 -0
  262. package/src/configurator/components/utils/PopUp.vue.d.ts +79 -0
  263. package/src/configurator/components/utils/PrimaryButton.vue.d.ts +36 -0
  264. package/src/configurator/components/utils/RadioButton.vue.d.ts +25 -0
  265. package/src/configurator/components/utils/ScrollHint.vue.d.ts +13 -0
  266. package/src/configurator/components/utils/SearchInput.vue.d.ts +41 -0
  267. package/src/configurator/components/utils/Spinner.vue.d.ts +2 -0
  268. package/src/configurator/components/utils/StartConfiguringButton.vue.d.ts +31 -0
  269. package/src/configurator/components/utils/SvgIcon.vue.d.ts +8 -0
  270. package/src/configurator/components/utils/WordWrap.vue.d.ts +33 -0
  271. package/src/configurator/components/utils/transitions/SlideTransitionWrapper.vue.d.ts +10 -0
  272. package/src/configurator/embedding/drag-ghost.d.ts +11 -0
  273. package/src/configurator/embedding/drag-handler.d.ts +11 -0
  274. package/src/configurator/embedding/example/Embedding.vue.d.ts +67 -0
  275. package/src/configurator/embedding/example/GlbConfSwitch.vue.d.ts +21 -0
  276. package/src/configurator/embedding/example/GlbConfSwitchSecret.vue.d.ts +17 -0
  277. package/src/configurator/embedding/example/main.d.ts +1 -0
  278. package/src/configurator/embedding/exposed-analytics-callbacks.d.ts +10 -0
  279. package/src/configurator/embedding/exposed-api.d.ts +169 -0
  280. package/src/configurator/embedding/exposed-callbacks.d.ts +83 -0
  281. package/src/configurator/embedding/helper.d.ts +31 -0
  282. package/src/configurator/embedding/roomle-configurator-api.d.ts +65 -0
  283. package/src/configurator/embedding/types.d.ts +505 -0
  284. package/src/configurator/plugins/ar-service-plugin.d.ts +6 -0
  285. package/src/configurator/plugins/embedding-callbacks-plugin.d.ts +4 -0
  286. package/src/configurator/plugins/libs-plugin.d.ts +11 -0
  287. package/src/configurator/plugins/sdk-connector-plugin.d.ts +21 -0
  288. package/src/configurator/store/core-data.d.ts +25 -0
  289. package/src/configurator/store/core-state.d.ts +21 -0
  290. package/src/configurator/store/ui-state.d.ts +80 -0
  291. package/src/main.d.ts +24 -0
  292. package/src/planner/business-logic/general-room-parameters.d.ts +32 -0
  293. package/src/planner/business-logic/pre-defined-rooms.d.ts +4 -0
  294. package/src/planner/business-logic/rooms.d.ts +62 -0
  295. package/src/planner/business-logic/sdk-connector-planner.d.ts +67 -0
  296. package/src/planner/business-logic/selected-door-parameters.d.ts +10 -0
  297. package/src/planner/business-logic/selected-wall-parameters.d.ts +11 -0
  298. package/src/planner/business-logic/selected-window-parameters.d.ts +10 -0
  299. package/src/planner/components/DraggableButton.vue.d.ts +27 -0
  300. package/src/planner/components/ObjectList.vue.d.ts +19 -0
  301. package/src/planner/components/PlannerMain.vue.d.ts +2 -0
  302. package/src/planner/components/PlannerSidebar.vue.d.ts +15 -0
  303. package/src/planner/components/RotateButton.vue.d.ts +14 -0
  304. package/src/planner/components/RotationButtonWrapper.vue.d.ts +6 -0
  305. package/src/planner/components/RotationIndicator.vue.d.ts +69 -0
  306. package/src/planner/components/StartPlannerButton.vue.d.ts +2 -0
  307. package/src/planner/components/catalog/CatalogTrigger.vue.d.ts +2 -0
  308. package/src/planner/components/measurements/MeasurementDisplayComponent.vue.d.ts +48 -0
  309. package/src/planner/components/measurements/ShowConstructionMeasurements.vue.d.ts +8 -0
  310. package/src/planner/components/measurements/ShowFloorsAreasData.vue.d.ts +8 -0
  311. package/src/planner/components/measurements/ShowMeasurementLineDimension.vue.d.ts +8 -0
  312. package/src/planner/components/measurements/ShowObjectMeasurements.vue.d.ts +10 -0
  313. package/src/planner/components/measurements/ShowWallMeasurements.vue.d.ts +8 -0
  314. package/src/planner/components/measurements/utils/IndicatorArrow.vue.d.ts +14 -0
  315. package/src/planner/components/measurements/utils/IndicatorLine.vue.d.ts +21 -0
  316. package/src/planner/components/measurements/utils/MeasurementText.vue.d.ts +19 -0
  317. package/src/planner/components/overlays/ProductList.vue.d.ts +24 -0
  318. package/src/planner/components/overlays/ProductListButton.vue.d.ts +2 -0
  319. package/src/planner/components/overlays/ProductSettings.vue.d.ts +14 -0
  320. package/src/planner/components/overlays/RoomSidebar.vue.d.ts +14 -0
  321. package/src/planner/components/overlays/product-list/LoadProductButton.vue.d.ts +2 -0
  322. package/src/planner/components/overlays/product-list/ProductListEntry.vue.d.ts +19 -0
  323. package/src/planner/components/overlays/product-list/ProductListType.vue.d.ts +23 -0
  324. package/src/planner/components/overlays/product-list/ProductsTotalPrice.vue.d.ts +12 -0
  325. package/src/planner/components/overlays/product-settings/ProductLabelButton.vue.d.ts +12 -0
  326. package/src/planner/components/overlays/product-settings/ProductPositions.vue.d.ts +10 -0
  327. package/src/planner/components/overlays/product-settings/ProductRangeControl.vue.d.ts +65 -0
  328. package/src/planner/components/overlays/product-settings/ProductRotation.vue.d.ts +8 -0
  329. package/src/planner/components/overlays/product-settings/ProductSettingsControls.vue.d.ts +2 -0
  330. package/src/planner/components/overlays/product-settings/ProductSettingsInfos.vue.d.ts +13 -0
  331. package/src/planner/components/overlays/product-settings/ProductSize.vue.d.ts +8 -0
  332. package/src/planner/components/overlays/product-settings/ProductXYZChanger.vue.d.ts +33 -0
  333. package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +382 -0
  334. package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +5479 -0
  335. package/src/planner/components/overlays/rooms/ElementLengthScaling.vue.d.ts +111 -0
  336. package/src/planner/components/overlays/rooms/FloorColor.vue.d.ts +3822 -0
  337. package/src/planner/components/overlays/rooms/IconSwitch.vue.d.ts +46 -0
  338. package/src/planner/components/overlays/rooms/ParameterSwitch.vue.d.ts +42 -0
  339. package/src/planner/components/overlays/rooms/RoomDrawControl.vue.d.ts +36 -0
  340. package/src/planner/components/overlays/rooms/RoomDrawControlsDesc.vue.d.ts +2 -0
  341. package/src/planner/components/overlays/rooms/RoomGeneralSettings.vue.d.ts +17 -0
  342. package/src/planner/components/overlays/rooms/RoomRangeParameter.vue.d.ts +47 -0
  343. package/src/planner/components/overlays/rooms/RoomUnitSwitch.vue.d.ts +84 -0
  344. package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +24 -0
  345. package/src/planner/components/overlays/rooms/SampleRooms.vue.d.ts +14 -0
  346. package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +16 -0
  347. package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +17 -0
  348. package/src/planner/components/overlays/rooms/utils/ral-colors.d.ts +1113 -0
  349. package/src/planner/components/utils/AddRoomButton.vue.d.ts +2 -0
  350. package/src/planner/components/utils/AssureConfiguratorHandlers.vue.d.ts +6 -0
  351. package/src/planner/components/utils/AssureSdkHandlers.vue.d.ts +7 -0
  352. package/src/planner/components/utils/ConfiguratorParameter.vue.d.ts +19 -0
  353. package/src/planner/components/utils/InteractionHeader.vue.d.ts +10 -0
  354. package/src/planner/components/utils/MeasurementsString.vue.d.ts +18 -0
  355. package/src/planner/components/utils/WallSideIcon.vue.d.ts +23 -0
  356. package/src/planner/components/utils/sidebar-nav/NavIndicatorLine.vue.d.ts +14 -0
  357. package/src/planner/components/utils/sidebar-nav/RoomNavOptionElement.vue.d.ts +49 -0
  358. package/src/planner/components/utils/sidebar-nav/SidebarNav.vue.d.ts +50 -0
  359. package/src/planner/store/planner-core-data.d.ts +20 -0
  360. package/src/planner/store/planner-ui-state.d.ts +50 -0
  361. package/src/planner/utils/interaction.d.ts +4 -0
  362. package/src/planner/utils/planner-sidebar.d.ts +16 -0
  363. package/src/planner/utils/rotation-calculation.d.ts +7 -0
  364. package/src/viewer/business-logic/sdk-connector-viewer.d.ts +19 -0
  365. package/src/viewer/components/ARButtonViewer.vue.d.ts +2 -0
  366. package/src/viewer/components/ViewerMain.vue.d.ts +146 -0
  367. package/src/viewer/components/ViewerSidebar.vue.d.ts +33 -0
@@ -0,0 +1,25 @@
1
+ import { PropType } from 'vue';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ text: StringConstructor;
5
+ checked: BooleanConstructor;
6
+ value: StringConstructor;
7
+ onClick: PropType<(_payload: MouseEvent) => void>;
8
+ name: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ text: StringConstructor;
14
+ checked: BooleanConstructor;
15
+ value: StringConstructor;
16
+ onClick: PropType<(_payload: MouseEvent) => void>;
17
+ name: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ name: string;
23
+ checked: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {
2
+ hint: {
3
+ top: boolean;
4
+ right: boolean;
5
+ bottom: boolean;
6
+ left: boolean;
7
+ };
8
+ }, {}, {
9
+ scrollRight(): void;
10
+ scrollLeft(): void;
11
+ toggleHints(): void;
12
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
@@ -0,0 +1,41 @@
1
+ import { PropType } from 'vue';
2
+ import { GridViewUiState } from '../../../common/store/collection-view-state';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ state: {
6
+ type: PropType<GridViewUiState>;
7
+ required: true;
8
+ };
9
+ isDesktop: BooleanConstructor;
10
+ onChange: {
11
+ type: FunctionConstructor;
12
+ default: () => any;
13
+ };
14
+ }>, {}, {}, {}, {
15
+ onInput(event: Event): void;
16
+ onFocus(event: Event): void;
17
+ onCursorInInput(): void;
18
+ onCursorLeavesInput(): void;
19
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ state: {
21
+ type: PropType<GridViewUiState>;
22
+ required: true;
23
+ };
24
+ isDesktop: BooleanConstructor;
25
+ onChange: {
26
+ type: FunctionConstructor;
27
+ default: () => any;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ isDesktop: boolean;
31
+ onChange: Function;
32
+ }, {}, {
33
+ SvgIcon: import('vue').DefineComponent<{
34
+ icon: string;
35
+ }, {
36
+ svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
37
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
38
+ icon: string;
39
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
40
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,31 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {
2
+ currentIcon(): any;
3
+ }, {
4
+ startConfiguring(): Promise<void>;
5
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
6
+ SelectionButton: {
7
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{}>, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
8
+ P: {};
9
+ B: {};
10
+ D: {};
11
+ C: {};
12
+ M: {};
13
+ Defaults: {};
14
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
15
+ __isFragment?: never;
16
+ __isTeleport?: never;
17
+ __isSuspense?: never;
18
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
19
+ $slots: {
20
+ default?(_: {}): any;
21
+ };
22
+ });
23
+ SvgIcon: import('vue').DefineComponent<{
24
+ icon: string;
25
+ }, {
26
+ svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
28
+ icon: string;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ icon: string;
3
+ }, {
4
+ svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
5
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
+ icon: string;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ text: StringConstructor;
3
+ thinText: BooleanConstructor;
4
+ fontSmall: BooleanConstructor;
5
+ wrapAt: {
6
+ type: NumberConstructor;
7
+ default: number;
8
+ };
9
+ lines: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
13
+ }>, {}, {}, {
14
+ wrappedLines(): string[];
15
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ text: StringConstructor;
17
+ thinText: BooleanConstructor;
18
+ fontSmall: BooleanConstructor;
19
+ wrapAt: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ lines: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ thinText: boolean;
29
+ fontSmall: boolean;
30
+ wrapAt: number;
31
+ lines: number;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ useTransition: BooleanConstructor;
3
+ }>, {}, {}, {
4
+ computedTransition(): string;
5
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ useTransition: BooleanConstructor;
7
+ }>> & Readonly<{}>, {
8
+ useTransition: boolean;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { Nullable } from '../../common/utils/types';
2
+ import { DragInOptions } from '../../../packages/embedding-lib/src/plugins/types';
3
+
4
+ export declare class ExposedApiDragGhost {
5
+ private _dragGhostAnimationFrameId;
6
+ private _dragGhostRemoveAnimationFrameId;
7
+ private _dragGhostElement;
8
+ constructor(dragGhostElement?: Nullable<HTMLElement>);
9
+ updateDragGhost(x: number, y: number, options: DragInOptions): void;
10
+ removeDragGhost(): void;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { SdkConnector } from '../business-logic/sdk-connector';
2
+ import { DragInOptions } from '../../../packages/embedding-lib/src/plugins/types';
3
+
4
+ export declare class ExposedApiDragHandler {
5
+ private _dragGhost;
6
+ private _sdkConnector;
7
+ constructor(sdkConnector: SdkConnector);
8
+ dragInObject(id: string, x: number, y: number, type?: string): Promise<number>;
9
+ updateDrag(x: number, y: number, options: DragInOptions): void;
10
+ dragInObjectEnd(): void;
11
+ }
@@ -0,0 +1,67 @@
1
+ import { RoomleConfiguratorApi, default as RoomleEmbeddingApi } from '../roomle-configurator-api';
2
+ import { ExposedApi } from '../exposed-api';
3
+
4
+ declare const _default: import('vue').DefineComponent<{}, {}, {
5
+ showConfigurators: {
6
+ number01: boolean;
7
+ number02: boolean;
8
+ number03: boolean;
9
+ number04: boolean;
10
+ number05: boolean;
11
+ number06: boolean;
12
+ number07: boolean;
13
+ number08: boolean;
14
+ number09: boolean;
15
+ number10: boolean;
16
+ number11: boolean;
17
+ number12: boolean;
18
+ number13: boolean;
19
+ number14: boolean;
20
+ };
21
+ embeddingApi: typeof RoomleEmbeddingApi;
22
+ configuratorId: string;
23
+ defaultOptions: {
24
+ id: string;
25
+ buttons: {
26
+ addons: boolean;
27
+ };
28
+ useLocalRoomle: boolean;
29
+ };
30
+ }, {
31
+ simpleLink(): string;
32
+ regularLink(): string;
33
+ }, {
34
+ getRubensApi(iframe: HTMLIFrameElement): Promise<ExposedApi>;
35
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
36
+ GlbConfSwitch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
37
+ defaultOptions: ObjectConstructor;
38
+ configuratorId: StringConstructor;
39
+ embeddingApi: import('vue').PropType<typeof RoomleEmbeddingApi>;
40
+ }>, {
41
+ configuratorApi: RoomleConfiguratorApi;
42
+ viewerApi: import('../roomle-configurator-api').RoomleViewerApi;
43
+ }, {
44
+ isConfigurator: boolean;
45
+ isGlbViewer: boolean;
46
+ }, {}, {
47
+ loadObject(id: string, isViewer: boolean): Promise<void>;
48
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
+ defaultOptions: ObjectConstructor;
50
+ configuratorId: StringConstructor;
51
+ embeddingApi: import('vue').PropType<typeof RoomleEmbeddingApi>;
52
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
53
+ GlbConfSwitchSecret: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
54
+ defaultOptions: ObjectConstructor;
55
+ configuratorId: StringConstructor;
56
+ embeddingApi: import('vue').PropType<typeof RoomleEmbeddingApi>;
57
+ }>, {
58
+ api: RoomleConfiguratorApi | import('../roomle-configurator-api').RoomleViewerApi;
59
+ }, {}, {}, {
60
+ loadObject(id: string, isViewer: boolean): Promise<void>;
61
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
+ defaultOptions: ObjectConstructor;
63
+ configuratorId: StringConstructor;
64
+ embeddingApi: import('vue').PropType<typeof RoomleEmbeddingApi>;
65
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
66
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { PropType } from 'vue';
2
+ import { RoomleConfiguratorApi, RoomleViewerApi, default as RoomleEmbeddingApi } from '../roomle-configurator-api';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ defaultOptions: ObjectConstructor;
6
+ configuratorId: StringConstructor;
7
+ embeddingApi: PropType<typeof RoomleEmbeddingApi>;
8
+ }>, {
9
+ configuratorApi: RoomleConfiguratorApi;
10
+ viewerApi: RoomleViewerApi;
11
+ }, {
12
+ isConfigurator: boolean;
13
+ isGlbViewer: boolean;
14
+ }, {}, {
15
+ loadObject(id: string, isViewer: boolean): Promise<void>;
16
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ defaultOptions: ObjectConstructor;
18
+ configuratorId: StringConstructor;
19
+ embeddingApi: PropType<typeof RoomleEmbeddingApi>;
20
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { PropType } from 'vue';
2
+ import { RoomleConfiguratorApi, RoomleViewerApi, default as RoomleEmbeddingApi } from '../roomle-configurator-api';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ defaultOptions: ObjectConstructor;
6
+ configuratorId: StringConstructor;
7
+ embeddingApi: PropType<typeof RoomleEmbeddingApi>;
8
+ }>, {
9
+ api: RoomleConfiguratorApi | RoomleViewerApi;
10
+ }, {}, {}, {
11
+ loadObject(id: string, isViewer: boolean): Promise<void>;
12
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ defaultOptions: ObjectConstructor;
14
+ configuratorId: StringConstructor;
15
+ embeddingApi: PropType<typeof RoomleEmbeddingApi>;
16
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare class ExposedAnalyticsCallbacks {
2
+ /**
3
+ * Is called whenever something is sent to google analytics
4
+ * Possible parameters are everything which is possible in gtag.js
5
+ * If you need further details about gtag.js: https://developers.google.com/gtagjs
6
+ * Currently we use Google Analytics in combination with gtag.js so
7
+ * you can intercept events and send them to your own analytics tool
8
+ */
9
+ onGATracking: (..._args: any[]) => void;
10
+ }
@@ -0,0 +1,169 @@
1
+ import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
2
+ import { ExposedCallbacks } from './exposed-callbacks';
3
+ import { LoadResponse, SdkConnector } from '../business-logic/sdk-connector';
4
+ import { MessageHandler } from '../../../packages/common/src/utils/message-handler';
5
+ import { Store } from 'vuex';
6
+ import { StoreState } from '../../common/store';
7
+ import { Nullable } from '../../common/utils/types';
8
+ import { Analytics } from '../../common/plugins/analytics';
9
+ import { default as RoomleGLBViewer } from '@roomle/web-sdk/lib/definitions/glb-viewer-core/src/roomle-glb-viewer';
10
+ import { GlobalCallback } from '@roomle/web-sdk/lib/definitions/common-core/src/services/global-callback';
11
+ import { Position3 } from '@roomle/web-sdk/lib/definitions/common-core/src/common-interfaces';
12
+ import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
13
+ import { KernelPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
14
+ import { Translator } from '../../common/composables/use-intl';
15
+ import { Libs } from '../plugins/libs-plugin';
16
+ import { ExposedOverlays } from '../../common/components/utils/-utils/overlays';
17
+ import { default as EventEmitter } from '../../common/business-logic/event-emitter';
18
+ import { DragInOptions } from '../../../packages/embedding-lib/src/plugins/types';
19
+
20
+ export declare class ExposedApi {
21
+ private _sdk;
22
+ private _exposedCallbacks;
23
+ private _sdkConnector;
24
+ private _store;
25
+ private _analytics;
26
+ private _exposedAnalyticsCallbacks;
27
+ private _isWebsiteReady;
28
+ private _libs;
29
+ private _intl;
30
+ private _configuratorSdk;
31
+ private _globalCallback;
32
+ private _messageHandlers;
33
+ private _eventEmitter;
34
+ private _dragHandler;
35
+ constructor(sdkConnector: SdkConnector, mainMessageHandlers: Nullable<MessageHandler>, sdk: RoomleConfigurator | RoomleGLBViewer | RoomlePlanner, exposedCallbacks: ExposedCallbacks, store: Store<StoreState>, analytics: Analytics, globalCallback: GlobalCallback, intl: Translator, libs: Libs, eventEmitter: EventEmitter);
36
+ private _getMethodsAndCallbacks;
37
+ get callbacks(): ExposedCallbacks;
38
+ /**
39
+ * call this method to load the object you want into the 3d Scene
40
+ * @param id database ID of the object you want to load
41
+ */
42
+ loadObject(id: string): Promise<Nullable<LoadResponse>>;
43
+ /**
44
+ * call this method to load the configuration string you want into the 3d Scene
45
+ * @param configurationString string of the configuration, starts with `{` and ends with `}`
46
+ * @returns null if configuration can not be loaded
47
+ */
48
+ loadConfigurationString(configurationString: string): Promise<Nullable<LoadResponse>>;
49
+ /**
50
+ * set the price for the UI to show
51
+ * most likely needed when implementing your own price service
52
+ *
53
+ * @param currencySymbol
54
+ * @param price
55
+ */
56
+ setPrice(currencySymbol: string, price: number): void;
57
+ /**
58
+ * This method can be used to start configuration when
59
+ * 3d scene is only initialized as viewer first, the
60
+ * configurator is automatically instantiated as viewer
61
+ * if the container where the configurator is placed is
62
+ * smaller than 1024px (this breakpoint could change in future)
63
+ * so do not rely on this exact pixel setting
64
+ */
65
+ startConfiguring(): void;
66
+ /**
67
+ * This method can be used to pause configuration
68
+ * If the configurator was called in view-only mode
69
+ * this method triggers the onBackToWebsite callback.
70
+ * To know when the view-only mode is activated see the
71
+ * description of the startConfiguring method
72
+ */
73
+ pauseConfiguring(): void;
74
+ /**
75
+ * call this method to trigger the onRequestProduct event from
76
+ * outside of the iframe. When this method is called the same
77
+ * process is kicked off as if the user would have clicked on
78
+ * request product. Therefore you can just use the same callback
79
+ * to react on the response
80
+ */
81
+ triggerRequestProduct(): Promise<void>;
82
+ /**
83
+ * call this method to trigger the onSaveDraft event from
84
+ * outside of the iframe. When this method is called the same
85
+ * process is kicked off as if the user would have clicked on
86
+ * save draft in the bottom bar. Therefore you can just use the same callback
87
+ * to react on the response
88
+ */
89
+ triggerSaveDraft(email?: string): Promise<void>;
90
+ /**
91
+ * call this method to trigger the onRequestPlan event from
92
+ * outside of the iframe. When this method is called the same
93
+ * process is kicked off as if the user would have clicked on
94
+ * request plan. Therefore you can just use the same callback
95
+ * to react on the response
96
+ */
97
+ triggerRequestPlan(): Promise<void>;
98
+ /**
99
+ * call this method if consent of Google Analytics is given later and not already in init-data on boot
100
+ */
101
+ giveGaConsent(): void;
102
+ /**
103
+ * Insert an object into the current MOC/planner scene
104
+ * If no position or rotation is set then it will be placed automatically (without overlapping other objects) with rotation 0
105
+ * @param id
106
+ * @param position as x (left/right), y (up/down) and z (front/back)
107
+ * @param rotation in radians
108
+ */
109
+ insertObject(id: string, position?: Position3, rotation?: number): Promise<void>;
110
+ /**
111
+ * Changes the currently selected parameter group to a parameter group containing the specified key.
112
+ * @param groupKey - parameterGroup key.
113
+ */
114
+ setActiveParameterGroup(groupKey: string): void;
115
+ /**
116
+ * Use this to start a drag in of an object the coordinates x and y are relative
117
+ * to the iframe. Meaning 0/0 is the top left corner of the iframe
118
+ * @param id Roomle ID of the object that should be inserted and dragged
119
+ * @param x coordinate of the drag event
120
+ * @param y coordinate of the drag event
121
+ * @param type type of the id, default is 'rml_id' for example: usm:frame, 'rml_serialized' for serialized configurations like {"componentId": "usm:frame"} (currently not supported), 'tc_serialized' for serialized TecConfig Object, 'tc_id' for TecConfig ID (currently not supported)
122
+ * @returns number runtimeId of the dragged object
123
+ */
124
+ dragInObject(id: string, x: number, y: number, type?: string): Promise<number>;
125
+ getBoundingClientRect(selector: string): DOMRect;
126
+ private _getComputedStyle;
127
+ getDrawerAnimation(): {
128
+ transition: string;
129
+ direction: string;
130
+ };
131
+ /**
132
+ * After you called dragInObject you can call this method to update the drag position
133
+ * the coordinates x and y are relative to the iframe. Meaning 0/0 is the top left
134
+ * corner of the iframe
135
+ * @param x coordinate of the drag event
136
+ * @param y coordinate of the drag event
137
+ * @returns void
138
+ */
139
+ updateDrag(x: number, y: number, options?: DragInOptions): void;
140
+ /**
141
+ * Call this method when the drag ends
142
+ */
143
+ dragInObjectEnd(): void;
144
+ getPartListPdf(planObject?: KernelPlanObject): Promise<any>;
145
+ /**
146
+ * List of overlays that can be triggered from outside the iframe.
147
+ * These overlays allow for controlled external triggering, ensuring
148
+ * that only specific, predefined overlays can be displayed from external sources.
149
+ *
150
+ * Each overlay in the set is identified by a unique number:
151
+ *
152
+ * - SAVE_DRAFT: 1
153
+ * - OPEN_AR: 4
154
+ * - EXPORT_3D: 5
155
+ * - TUTORIALS: 11
156
+ * - LOAD_PRODUCT: 12 (only available in Room Designer)
157
+ */
158
+ triggerShowOverlay(overlay: ExposedOverlays): Promise<void>;
159
+ getDrawerBoundingClientRect(): Promise<{
160
+ actual: DOMRect;
161
+ final: DOMRect;
162
+ }>;
163
+ disableEvents(): void;
164
+ enableEvents(): void;
165
+ toggleDrawer(): void;
166
+ private _websiteReady;
167
+ private _handleMessage;
168
+ private _forwardSdkCallbacks;
169
+ }
@@ -0,0 +1,83 @@
1
+ import { Base64Image } from '@roomle/web-sdk/lib/definitions/common-core/src/common-interfaces';
2
+ import { KernelPartList, UiPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
3
+ import { RapiConfigurationEnhanced } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
4
+ import { ButtonCallbackPayloads, CustomViewCallbackInfo } from './types';
5
+ import { Nullable, SaveDraftPayload } from '../../common/utils/types';
6
+
7
+ export interface Price {
8
+ currencySymbol: Nullable<string>;
9
+ price: Nullable<number>;
10
+ }
11
+ export interface Labels {
12
+ catalogLabel: Nullable<string>;
13
+ label: Nullable<string>;
14
+ }
15
+ export declare class ExposedCallbacks {
16
+ /**
17
+ * Returns all necessary params when 'Request Product'/'Checkout' button has pressed
18
+ * @param configurationId id of the current configuration
19
+ * @param image image of the current configuration
20
+ * @param partList the part list with all details, grouped, etc
21
+ * @param price price of the current configuration, either set via setPrice or from Roomle price service
22
+ * @param labels the label of the catalog and the furniture system
23
+ * @param configuration the data returned from the Roomle backend
24
+ */
25
+ onRequestProduct: (configurationId: string, image: Base64Image, partList: KernelPartList, price: Price, labels: Labels, configuration: RapiConfigurationEnhanced) => void;
26
+ /**
27
+ * fullList fullList (needed for price calculation) of the current configuration
28
+ * @param partList the part list with all details, grouped, etc
29
+ */
30
+ onPartListUpdate: (partList: KernelPartList, hash: string) => void;
31
+ onResize: (isDesktop: boolean) => void;
32
+ onUseFullPage: () => void;
33
+ /**
34
+ * Gets called when the configuring is paused and the user leaves fullscreen configurator mode
35
+ */
36
+ onBackToWebsite: () => void;
37
+ /**
38
+ * Gets called when a button in the UI is clicked
39
+ * @param name
40
+ * @param args - Optional arguments specific to the button that was clicked. This parameter is an object where each key is a UI_BUTTON and the value is the corresponding arguments for that button.
41
+ * @return overrideEventBehaviour true if the event has been consumed and it should not trigger default behaviour, undefined or false otherwise
42
+ */
43
+ onButtonClicked: <K extends keyof ButtonCallbackPayloads>(name: K, args?: ButtonCallbackPayloads[K]) => Promise<boolean> | boolean | void;
44
+ onRequestPlan: (planId: string, image: Base64Image, items: any[]) => void;
45
+ /**
46
+ * Gets called if a plan object gets added, changed or removed and returns all objects of the plan
47
+ * @param objects -- all objects in the plan
48
+ */
49
+ onPlanUpdate: (objects: UiPlanObject[]) => void;
50
+ /**
51
+ * Called when an element is added to the plan, not called when wall or construction element added
52
+ * @param addedObject
53
+ */
54
+ onPlanElementAdded: (addedObject: UiPlanObject) => void;
55
+ /**
56
+ * Called when an element is removed from the plan, not called when wall or construction element removed
57
+ * @param removedObject
58
+ */
59
+ onPlanElementRemoved: (removedObject: UiPlanObject) => void;
60
+ /**
61
+ * Called when an element is changed in the plan, not called when wall or construction element changed
62
+ * @param changedObject
63
+ */
64
+ onPlanElementChanged: (changedObject: UiPlanObject) => void;
65
+ /**
66
+ * Gets triggered if a tooltip gets closed by controls button
67
+ * @param tooltipName
68
+ */
69
+ onTooltipClose: (tooltipName: string) => void;
70
+ /**
71
+ * called when triggerSaveDraft called
72
+ * @param id configuration id or plan id
73
+ * @param image image of the current configuration
74
+ * @param url generated url from save draft
75
+ * @param data object contains
76
+ * { type: 'plan' | 'configuration', payload: configuration object or plan snapshot data}
77
+ */
78
+ onSaveDraft: (id: string, image: string, url: string, data: SaveDraftPayload) => void;
79
+ onShowCustomView: (...[viewName, data]: CustomViewCallbackInfo) => Promise<Nullable<boolean>> | Nullable<boolean>;
80
+ onHideCustomView: (...[viewName, data]: CustomViewCallbackInfo) => void;
81
+ onCollapseDrawer: () => void;
82
+ onExpandDrawer: () => void;
83
+ }
@@ -0,0 +1,31 @@
1
+ import { ExposedCallbacks } from './exposed-callbacks';
2
+ import { Store } from 'vuex';
3
+ import { StoreState } from '../../common/store';
4
+ import { SdkConnector } from '../business-logic/sdk-connector';
5
+ import { Analytics } from '../../common/plugins/analytics';
6
+ import { RapiConfigurationEnhanced, RapiPlan, RapiPlanSnapshotGetData } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
7
+ import { Nullable, SaveDraft } from '../../common/utils/types';
8
+ import { KernelBoundsFormatted } from '../../common/utils/helper';
9
+ import { KernelPartList, KernelPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
10
+ import { Ref } from 'vue';
11
+ import { Libs } from '../plugins/libs-plugin';
12
+ import { Translator } from '../../common/composables/use-intl';
13
+ import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
14
+
15
+ export declare const startConfiguring: (store: Store<StoreState>, exposedCallbacks: ExposedCallbacks) => void;
16
+ export declare const resetCollectionViewStates: (store: Store<StoreState>) => void;
17
+ export declare const stopConfiguring: (store: Store<StoreState>, sdkConnector: SdkConnector, embeddingCallbacks: ExposedCallbacks) => Promise<void>;
18
+ export declare const triggerRequestProduct: (embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics) => Promise<void>;
19
+ export declare const sendSaveDraft: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: RapiConfigurationEnhanced | Nullable<RapiPlanSnapshotGetData | RapiPlan>) => Promise<import('@roomle/web-sdk/lib/definitions/typings/rapi-types').RapiJson>;
20
+ export declare function handleSave(embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics, email?: string): Promise<SaveDraft>;
21
+ export declare const initializeConfiguration: (sdkConnector: SdkConnector, isPlanner: boolean, store: Store<StoreState>, email?: string, analytics?: Analytics, embeddingCallbacks?: ExposedCallbacks, skipSendCallback?: boolean) => Promise<{
22
+ configuration: RapiConfigurationEnhanced | RapiPlanSnapshotGetData | RapiPlan;
23
+ image: string;
24
+ url: string;
25
+ }>;
26
+ export declare const generateUrl: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: Nullable<RapiPlan | RapiConfigurationEnhanced | RapiPlanSnapshotGetData>, isPlanner: boolean) => Promise<string>;
27
+ export declare const triggerRequestPlan: (embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics) => Promise<void>;
28
+ export declare const getCurrentPerspectiveImage: (currentSelectedElement: Nullable<SelectionPayload>) => any;
29
+ export declare const printPartList: (partList: KernelPartList[], price: Nullable<string>, label: string, bounds: string, catalogLabel: Nullable<string>, sdkConnector: SdkConnector, store: Store<StoreState>, embeddingCallbacks: ExposedCallbacks, libs: Libs, intl: Translator, isGenerating: Ref<boolean>) => Promise<void>;
30
+ export declare const generatePartListPdf: (partList: KernelPartList[], price: Nullable<string>, label: string, bounds: string, catalogLabel: Nullable<string>, sdkConnector: SdkConnector, store: Store<StoreState>, libs: Libs, intl: Translator, isGenerating: Ref<boolean>, perspectiveImage?: string, planObject?: KernelPlanObject) => Promise<import('jspdf').jsPDF>;
31
+ export declare const formatBounds: (bounds: Nullable<KernelBoundsFormatted>, intl: Translator) => string;