@roomle/embedding-lib 5.33.0 → 5.34.0-alpha.2

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 (295) hide show
  1. package/docs/md/web/embedding/CHANGELOG.md +38 -48
  2. package/index.d.ts +0 -1
  3. package/package.json +1 -1
  4. package/packages/common/src/utils/configurations.d.ts +1 -1
  5. package/packages/common/src/utils/domain.d.ts +17 -0
  6. package/packages/common/src/utils/id-inferrer.d.ts +1 -1
  7. package/packages/common/src/utils/init-data.d.ts +3 -2
  8. package/packages/common/src/utils/noop.d.ts +1 -0
  9. package/packages/embedding-lib/src/connector.d.ts +1 -0
  10. package/packages/embedding-lib/src/embedding-lib.d.ts +2 -95
  11. package/packages/embedding-lib/src/examples/utils/drag-listeners.d.ts +1 -3
  12. package/packages/embedding-lib/src/examples/utils/homag-intelligence/create-catalog.d.ts +1 -0
  13. package/packages/embedding-lib/src/examples/utils/homag-intelligence/default-api-options.d.ts +2 -2
  14. package/packages/embedding-lib/src/examples/utils/homag-intelligence/nobilia-api-options.d.ts +2 -6
  15. package/packages/embedding-lib/src/examples/utils/homag-intelligence/state.d.ts +5 -5
  16. package/packages/embedding-lib/src/examples/utils/homag-intelligence/{util.d.ts → utils.d.ts} +0 -7
  17. package/packages/embedding-lib/src/homag-intelligence/hi-callbacks.d.ts +4 -0
  18. package/packages/embedding-lib/src/homag-intelligence/hi-requests.d.ts +8 -0
  19. package/packages/embedding-lib/src/plugins/drag-in.d.ts +1 -1
  20. package/packages/embedding-lib/src/plugins/strategy/from-custom-view.d.ts +1 -2
  21. package/packages/embedding-lib/src/plugins/strategy/from-website.d.ts +1 -2
  22. package/packages/embedding-lib/src/plugins/strategy/types.d.ts +1 -1
  23. package/packages/embedding-lib/src/types.d.ts +92 -0
  24. package/packages/web-sdk/packages/common-core/mock/mock-utils.d.ts +2 -2
  25. package/packages/web-sdk/packages/common-core/src/cameracontrol/camera-control-3d.d.ts +2 -1
  26. package/packages/web-sdk/packages/common-core/src/cameracontrol/planner-3d-camera-behaviour.d.ts +0 -1
  27. package/packages/web-sdk/packages/common-core/src/configurator-kernel-access.d.ts +3 -4
  28. package/packages/web-sdk/packages/common-core/src/main.d.ts +3 -3
  29. package/packages/web-sdk/packages/common-core/src/rapi-access.d.ts +2 -2
  30. package/packages/web-sdk/packages/common-core/src/roomle-sdk.d.ts +2 -2
  31. package/packages/web-sdk/packages/common-core/src/services/cache-holder.d.ts +1 -2
  32. package/packages/web-sdk/packages/common-core/src/services/common-kernel-access.d.ts +2 -2
  33. package/packages/web-sdk/packages/common-core/src/services/hdr-environment-loader.d.ts +1 -1
  34. package/packages/web-sdk/packages/common-core/src/services/idb-manager.d.ts +1 -1
  35. package/packages/web-sdk/packages/common-core/src/utils/browser-helper.d.ts +1 -1
  36. package/packages/web-sdk/packages/common-core/src/utils/common-utils.d.ts +3 -3
  37. package/packages/web-sdk/packages/common-core/src/utils/external-objects.d.ts +1 -1
  38. package/packages/web-sdk/packages/common-core/src/utils/init-data.d.ts +1 -1
  39. package/packages/web-sdk/packages/common-core/src/utils/shims.d.ts +1 -4
  40. package/packages/web-sdk/packages/common-core/src/utils/threejs-utils.d.ts +2 -2
  41. package/packages/web-sdk/packages/common-core/src/view-model/configurator-plan-object-view-model.d.ts +2 -1
  42. package/packages/web-sdk/packages/common-core/src/view-model/configurator-view-model.d.ts +4 -4
  43. package/packages/web-sdk/packages/common-core/src/view-model/plan-element-view-model.d.ts +1 -1
  44. package/packages/web-sdk/packages/common-core/src/view-model/plan-object-view-model.d.ts +2 -2
  45. package/packages/web-sdk/packages/common-core/src/webgl/mesh-generator.d.ts +1 -1
  46. package/packages/web-sdk/packages/common-core/src/webgl/renderer/environment-definition.d.ts +1 -1
  47. package/packages/web-sdk/packages/common-core/src/webgl/renderer/light-source-detection.d.ts +1 -1
  48. package/packages/web-sdk/packages/common-core/src/webgl/renderer/outline-renderer.d.ts +1 -1
  49. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/baked-ground-contact-shadow-pass.d.ts +1 -1
  50. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/gbuffer-render-pass.d.ts +1 -1
  51. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/ground-reflection-pass.d.ts +1 -1
  52. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/outline-pass.d.ts +1 -1
  53. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/render-pass.d.ts +2 -2
  54. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/scene-render-pass.d.ts +1 -1
  55. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/screen-space-shadow-map-pass.d.ts +1 -1
  56. package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/shadow-and-ao-pass.d.ts +1 -1
  57. package/packages/web-sdk/packages/common-core/src/webgl/renderer/render-pass-manager.d.ts +1 -1
  58. package/packages/web-sdk/packages/common-core/src/webgl/renderer/render-utility.d.ts +1 -1
  59. package/packages/web-sdk/packages/common-core/src/webgl/renderer/scene-renderer.d.ts +1 -1
  60. package/packages/web-sdk/packages/common-core/src/webgl/renderer/shader-utility.d.ts +5 -5
  61. package/packages/web-sdk/packages/common-core/src/webgl/renderer/shaders/ao-shader.d.ts +5 -5
  62. package/packages/web-sdk/packages/common-core/src/webgl/renderer/shaders/poisson-denoise-shader.d.ts +4 -4
  63. package/packages/web-sdk/packages/common-core/src/webgl/roomle-webgl-renderer.d.ts +1 -1
  64. package/packages/web-sdk/packages/common-core/src/webgl/scene-manager.d.ts +161 -0
  65. package/packages/web-sdk/packages/configurator-core/src/configurator-main.d.ts +2 -1
  66. package/packages/web-sdk/packages/configurator-core/src/configurator.d.ts +2 -2
  67. package/packages/web-sdk/packages/configurator-core/src/roomle-configurator.d.ts +5 -5
  68. package/packages/web-sdk/packages/configurator-core/src/services/configurator-ui-callback.d.ts +1 -1
  69. package/packages/web-sdk/packages/configurator-core/src/utils/component-dimensioning.d.ts +1 -10
  70. package/packages/web-sdk/packages/configurator-core/src/utils/dimensioning-helper.d.ts +0 -1
  71. package/packages/web-sdk/packages/configurator-core/src/utils/global-definitions.d.ts +1 -1
  72. package/packages/web-sdk/packages/configurator-core/src/utils/raycast-helper.d.ts +4 -1
  73. package/packages/web-sdk/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +10 -4
  74. package/packages/web-sdk/packages/glb-viewer-core/src/glb-viewer-main.d.ts +1 -1
  75. package/packages/web-sdk/packages/glb-viewer-core/src/glb-viewer.d.ts +2 -2
  76. package/packages/web-sdk/packages/glb-viewer-core/src/roomle-glb-viewer.d.ts +3 -3
  77. package/packages/web-sdk/packages/glb-viewer-core/src/utils/global-definitions.d.ts +1 -1
  78. package/packages/web-sdk/packages/homag-intelligence/src/api.d.ts +1 -1
  79. package/packages/web-sdk/packages/homag-intelligence/src/callbacks.d.ts +1 -1
  80. package/packages/web-sdk/packages/homag-intelligence/src/debug-logging.d.ts +1 -1
  81. package/packages/web-sdk/packages/homag-intelligence/src/external-object-api.d.ts +1 -1
  82. package/packages/web-sdk/packages/homag-intelligence/src/glue-logic.d.ts +1 -1
  83. package/packages/web-sdk/packages/homag-intelligence/src/{loader.d.ts → hi-api-types.d.ts} +7 -9
  84. package/packages/web-sdk/packages/homag-intelligence/src/hi-object-selection.d.ts +2 -2
  85. package/packages/web-sdk/packages/homag-intelligence/src/hi-tag-catalog-callbacks.d.ts +0 -1
  86. package/packages/web-sdk/packages/homag-intelligence/src/homag-intelligence.d.ts +3 -3
  87. package/packages/web-sdk/packages/homag-intelligence/src/model/oc-scripts-domain.model.d.ts +2 -1
  88. package/packages/web-sdk/packages/homag-intelligence/src/orders.d.ts +1 -1
  89. package/packages/web-sdk/packages/index.d.ts +36 -0
  90. package/packages/web-sdk/packages/material-viewer/src/material-viewer-main.d.ts +2 -1
  91. package/packages/web-sdk/packages/material-viewer/src/material-viewer.d.ts +1 -1
  92. package/packages/web-sdk/packages/material-viewer/src/roomle-material-viewer.d.ts +2 -2
  93. package/packages/web-sdk/packages/planner-core/mock/planner-mock-helper.d.ts +6 -6
  94. package/packages/web-sdk/packages/planner-core/src/lights/lamp-light.d.ts +1 -1
  95. package/packages/web-sdk/packages/planner-core/src/lights/point-lamp-light.d.ts +1 -1
  96. package/packages/web-sdk/packages/planner-core/src/lights/rect-area-light.d.ts +1 -1
  97. package/packages/web-sdk/packages/planner-core/src/planner-main.d.ts +2 -1
  98. package/packages/web-sdk/packages/planner-core/src/planner.d.ts +2 -2
  99. package/packages/web-sdk/packages/planner-core/src/roomle-planner-ui-callback.d.ts +5 -3
  100. package/packages/web-sdk/packages/planner-core/src/roomle-planner.d.ts +9 -10
  101. package/packages/web-sdk/packages/planner-core/src/services/planner-kernel-access.d.ts +4 -5
  102. package/packages/web-sdk/packages/planner-core/src/utils/dimensions-helper.d.ts +1 -1
  103. package/packages/web-sdk/packages/planner-core/src/utils/global-definitions.d.ts +3 -3
  104. package/packages/web-sdk/packages/planner-core/src/utils/map-to-ui-plan-objects.d.ts +1 -1
  105. package/packages/web-sdk/packages/planner-core/src/utils/planner-scene-utils.d.ts +4 -4
  106. package/packages/web-sdk/packages/planner-core/src/utils/planner-selection-handler.d.ts +4 -2
  107. package/packages/web-sdk/packages/planner-core/src/view-model/ceiling-plan-element-view-model.d.ts +1 -1
  108. package/packages/web-sdk/packages/planner-core/src/view-model/construction-plan-object-view-model.d.ts +1 -1
  109. package/packages/web-sdk/packages/planner-core/src/view-model/floor-plan-element-view-model.d.ts +2 -2
  110. package/packages/web-sdk/packages/planner-core/src/view-model/measurement-line-plan-element-view-model.d.ts +2 -2
  111. package/packages/web-sdk/packages/planner-core/src/view-model/node-plan-element-view-model.d.ts +1 -1
  112. package/packages/web-sdk/packages/planner-core/src/view-model/plan-view-model.d.ts +5 -5
  113. package/packages/web-sdk/packages/planner-core/src/view-model/static-plan-object-view-model.d.ts +2 -2
  114. package/packages/web-sdk/packages/planner-core/src/view-model/wall-attic-plan-element-view-model.d.ts +1 -1
  115. package/packages/web-sdk/packages/planner-core/src/view-model/wall-plan-element-view-model.d.ts +2 -2
  116. package/packages/web-sdk/packages/planner-core/src/webgl/planner-element-highlighter.d.ts +1 -1
  117. package/packages/web-sdk/packages/planner-core/src/webgl/planner-scene-event-handler.d.ts +4 -3
  118. package/packages/web-sdk/packages/planner-core/src/webgl/planner-scene-manager.d.ts +6 -6
  119. package/packages/web-sdk/packages/tools-core/src/tools-core.d.ts +1 -1
  120. package/packages/web-sdk/packages/typings/configurator-kernel-container.d.ts +1 -2
  121. package/packages/web-sdk/packages/typings/external-objects.d.ts +3 -3
  122. package/packages/web-sdk/packages/typings/global-definitions.d.ts +6 -2
  123. package/packages/web-sdk/packages/typings/kernel.d.ts +5 -8
  124. package/packages/web-sdk/packages/typings/planner-kernel-container.d.ts +1 -2
  125. package/packages/web-sdk/packages/typings/planner.d.ts +2 -2
  126. package/packages/web-sdk/packages/typings/shims.d.ts +0 -5
  127. package/roomle-embedding-lib.es.js +49 -54
  128. package/roomle-embedding-lib.es.min.js +1 -1
  129. package/roomle-embedding-lib.umd.js +7 -7
  130. package/roomle-embedding-lib.umd.min.js +1 -1
  131. package/src/common/components/EmbeddedAdditionalInfo.vue.d.ts +3 -3
  132. package/src/common/components/EmbeddedExternalCatalog.vue.d.ts +5 -5
  133. package/src/common/components/EmbeddedInfoWrapper.vue.d.ts +14 -11
  134. package/src/common/components/ExpandableIcons.vue.d.ts +9 -7
  135. package/src/common/components/IconButton.vue.d.ts +1 -1
  136. package/src/common/components/Layer.vue.d.ts +4 -2
  137. package/src/common/components/Layout.vue.d.ts +8 -6
  138. package/src/common/components/SelectionButton.vue.d.ts +6 -4
  139. package/src/common/components/ShowCustomView.vue.d.ts +12 -10
  140. package/src/common/components/SwitchButton.vue.d.ts +11 -9
  141. package/src/common/components/Tooltip.vue.d.ts +26 -24
  142. package/src/common/components/action-buttons/-utils/ActionButton.vue.d.ts +6 -4
  143. package/src/common/components/flying-menu/FlyingMenu.vue.d.ts +2 -2
  144. package/src/common/components/helpers.d.ts +1 -0
  145. package/src/common/components/inputs/NumericInputWrapper.vue.d.ts +6 -4
  146. package/src/common/components/inputs/SelectDropdown.vue.d.ts +2 -2
  147. package/src/common/components/notifications/LoadSavedPlanNotification.vue.d.ts +2 -0
  148. package/src/common/components/notifications/NotificationCard.vue.d.ts +6 -4
  149. package/src/common/components/overlays/PartList.vue.d.ts +66 -65
  150. package/src/common/components/overlays/part-list/PartListEntry.vue.d.ts +9 -9
  151. package/src/common/components/overlays/part-list/PartListHeader.vue.d.ts +3 -2
  152. package/src/common/components/overlays/part-list/PartListPrint.vue.d.ts +7 -4
  153. package/src/common/components/overlays/part-list/PartListRow.vue.d.ts +2 -2
  154. package/src/common/components/overlays/part-list/partlist-setup.d.ts +2 -4
  155. package/src/common/components/parameters/ColorParameter.vue.d.ts +10 -2208
  156. package/src/common/components/side-bar/NavigationButtonsWrapper.vue.d.ts +4 -2
  157. package/src/common/components/side-bar/ResponsiveSidebarWrapper.vue.d.ts +9 -6
  158. package/src/common/components/side-bar/SidebarItem.vue.d.ts +18 -9
  159. package/src/common/components/side-bar/SidebarItemLabel.vue.d.ts +8 -2
  160. package/src/common/components/side-bar/TabbedNav.vue.d.ts +7 -6
  161. package/src/common/components/side-bar/TabbedNavMenu.vue.d.ts +3 -2
  162. package/src/common/components/side-bar/utils/configurator-sidebar-components.d.ts +72 -2310
  163. package/src/common/components/side-bar/utils/types.d.ts +1 -2
  164. package/src/common/components/tool-tip/MoreInfoTooltipContent.vue.d.ts +9 -4
  165. package/src/common/components/tool-tip/ParameterTooltip.vue.d.ts +6 -4
  166. package/src/common/components/utils/-utils/notifications.d.ts +1 -1
  167. package/src/common/components/utils/CollapsibleButtonsContainer.vue.d.ts +3 -1
  168. package/src/common/components/utils/HeightToggle.vue.d.ts +3 -1
  169. package/src/common/composables/use-configurator-actions-visibility.d.ts +1 -1
  170. package/src/common/composables/use-fetch-root-tag.d.ts +1 -1
  171. package/src/common/composables/use-item-variants.d.ts +1 -1
  172. package/src/common/composables/use-keyboard-resize.d.ts +1 -0
  173. package/src/common/composables/use-materials-and-ral-colors.d.ts +3 -2
  174. package/src/common/composables/use-materials-grouped.d.ts +1 -1
  175. package/src/common/composables/use-measurement-styles.d.ts +1 -2
  176. package/src/common/composables/use-planner-actions-visibility.d.ts +1 -2
  177. package/src/common/composables/use-product-price.d.ts +1 -1
  178. package/src/common/composables/use-sdk-event-emitter-listener.d.ts +1 -7
  179. package/src/common/composables/use-selected-object-center.d.ts +2 -1
  180. package/src/common/composables/use-selected-plan-element.d.ts +1 -0
  181. package/src/common/composables/use-shared-sidebar-setup.d.ts +20 -28
  182. package/src/common/composables/use-static-item-parameters.d.ts +1 -0
  183. package/src/common/composables/use-wall-dimensions-cache.d.ts +1 -1
  184. package/src/common/store/common-ui-store.d.ts +10 -9
  185. package/src/common/store/index.d.ts +1 -1
  186. package/src/common/utils/catalog-builder.d.ts +2 -3
  187. package/src/common/utils/color.d.ts +1 -0
  188. package/src/common/utils/helper.d.ts +5 -5
  189. package/src/common/utils/parameters.d.ts +1 -3
  190. package/src/common/utils/root-tags.d.ts +1 -1
  191. package/src/common/utils/types.d.ts +1 -3
  192. package/src/common/utils/ui-actions.d.ts +2 -3
  193. package/src/configurator/business-logic/roomle-sdk-wrapper.d.ts +1 -8
  194. package/src/configurator/business-logic/sdk-connector-configurator.d.ts +1 -3
  195. package/src/configurator/business-logic/sdk-connector.d.ts +1 -10
  196. package/src/configurator/business-logic/ui-callback.d.ts +1 -1
  197. package/src/configurator/components/addons/PossibleChildren.vue.d.ts +2 -0
  198. package/src/configurator/components/grid-view/-utils/CollapsedView.vue.d.ts +25 -22
  199. package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +8 -6
  200. package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +21 -20
  201. package/src/configurator/components/grid-view/-utils/GridViewElement.vue.d.ts +3 -2
  202. package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +1 -2
  203. package/src/configurator/components/grid-view/-utils/GridViewMaterialElement.vue.d.ts +4 -2
  204. package/src/configurator/components/grid-view/-utils/GridViewThumbnailsElement.vue.d.ts +4 -2
  205. package/src/configurator/components/grid-view/-utils/GridViewTooltipElement.vue.d.ts +4 -2
  206. package/src/configurator/components/grid-view/GridView.vue.d.ts +15 -13
  207. package/src/configurator/components/overlays/LoadProduct.vue.d.ts +6 -4
  208. package/src/configurator/components/overlays/SaveDraft.vue.d.ts +6 -4
  209. package/src/configurator/components/overlays/ar/OpenARView.vue.d.ts +15 -12
  210. package/src/configurator/components/parameters/ParameterGroupButton.vue.d.ts +7 -5
  211. package/src/configurator/components/parameters/ParameterGroups.vue.d.ts +6 -4
  212. package/src/configurator/components/parameters/types/DisabledParameters.vue.d.ts +2 -2
  213. package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +2 -0
  214. package/src/configurator/components/parameters/types/OptionsParameter.vue.d.ts +2 -0
  215. package/src/configurator/components/parameters/types/OptionsParameterValue.vue.d.ts +8 -6
  216. package/src/configurator/components/parameters/types/ParameterGroupPills.vue.d.ts +9 -7
  217. package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +13 -12
  218. package/src/configurator/components/parameters/types/RangeParameter.vue.d.ts +1 -0
  219. package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +13 -12
  220. package/src/configurator/components/utils/-utils/SceneOffsetResizer.d.ts +1 -2
  221. package/src/configurator/components/utils/AspectRatioBox.vue.d.ts +4 -2
  222. package/src/configurator/components/utils/HeightContainer.vue.d.ts +9 -7
  223. package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +11 -9
  224. package/src/configurator/components/utils/PopUp.vue.d.ts +8 -6
  225. package/src/configurator/components/utils/SearchInput.vue.d.ts +8 -6
  226. package/src/configurator/components/utils/WordWrap.vue.d.ts +3 -2
  227. package/src/configurator/embedding/drag-handler.d.ts +1 -1
  228. package/src/configurator/embedding/example/Embedding.vue.d.ts +5 -4
  229. package/src/configurator/embedding/example/GlbConfSwitch.vue.d.ts +3 -2
  230. package/src/configurator/embedding/example/GlbConfSwitchSecret.vue.d.ts +2 -1
  231. package/src/configurator/embedding/exposed-api.d.ts +1 -9
  232. package/src/configurator/embedding/exposed-callbacks.d.ts +1 -3
  233. package/src/configurator/embedding/helper.d.ts +2 -4
  234. package/src/configurator/embedding/roomle-configurator-api.d.ts +1 -4
  235. package/src/configurator/embedding/types.d.ts +1 -3
  236. package/src/configurator/plugins/libs-plugin.d.ts +0 -1
  237. package/src/configurator/store/core-data-store.d.ts +23 -22
  238. package/src/configurator/store/ui-state.d.ts +1 -5
  239. package/src/planner/business-logic/general-room-parameters.d.ts +2 -0
  240. package/src/planner/business-logic/rooms.d.ts +1 -4
  241. package/src/planner/business-logic/sdk-connector-planner.d.ts +2 -7
  242. package/src/planner/components/DraggableButton.vue.d.ts +12 -10
  243. package/src/planner/components/ObjectList.vue.d.ts +3 -2
  244. package/src/planner/components/RotationIndicator.vue.d.ts +10 -5
  245. package/src/planner/components/catalog/CatalogLevels.vue.d.ts +4 -2
  246. package/src/planner/components/catalog/CatalogNavigation.vue.d.ts +2 -2
  247. package/src/planner/components/catalog/ProductCard.vue.d.ts +4 -2
  248. package/src/planner/components/catalog/ProductGrid.vue.d.ts +2 -2
  249. package/src/planner/components/measurements/MeasurementDisplayComponent.vue.d.ts +25 -20
  250. package/src/planner/components/measurements/ShowConstructionMeasurements.vue.d.ts +2 -0
  251. package/src/planner/components/measurements/ShowFloorsAreasData.vue.d.ts +2 -0
  252. package/src/planner/components/measurements/ShowMeasurementLineDimension.vue.d.ts +2 -0
  253. package/src/planner/components/measurements/ShowObjectMeasurements.vue.d.ts +7 -4
  254. package/src/planner/components/measurements/ShowWallAtticMeasurements.vue.d.ts +2 -0
  255. package/src/planner/components/measurements/ShowWallMeasurements.vue.d.ts +5 -2
  256. package/src/planner/components/measurements/utils/AtticLine.vue.d.ts +2 -2
  257. package/src/planner/components/measurements/utils/MeasurementText.vue.d.ts +6 -4
  258. package/src/planner/components/overlays/ProductList.vue.d.ts +6 -5
  259. package/src/planner/components/overlays/ProductSettings.vue.d.ts +4 -3
  260. package/src/planner/components/overlays/RoomSidebar.vue.d.ts +3 -3
  261. package/src/planner/components/overlays/product-list/ProductListEntry.vue.d.ts +6 -4
  262. package/src/planner/components/overlays/product-list/ProductListType.vue.d.ts +6 -4
  263. package/src/planner/components/overlays/product-list/ProductsTotalPrice.vue.d.ts +1 -0
  264. package/src/planner/components/overlays/product-settings/ProductPositions.vue.d.ts +2 -0
  265. package/src/planner/components/overlays/product-settings/ProductRangeControl.vue.d.ts +22 -48
  266. package/src/planner/components/overlays/product-settings/ProductRotation.vue.d.ts +2 -0
  267. package/src/planner/components/overlays/product-settings/ProductSettingsInfos.vue.d.ts +9 -6
  268. package/src/planner/components/overlays/product-settings/ProductSize.vue.d.ts +2 -0
  269. package/src/planner/components/overlays/product-settings/ProductXYZChanger.vue.d.ts +2 -0
  270. package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +5 -2
  271. package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +4 -3
  272. package/src/planner/components/overlays/rooms/ElementLengthScaling.vue.d.ts +22 -57
  273. package/src/planner/components/overlays/rooms/RoomFloorAndWallSettings.vue.d.ts +8 -7
  274. package/src/planner/components/overlays/rooms/RoomGeneralSettings.vue.d.ts +4 -3
  275. package/src/planner/components/overlays/rooms/RoomRangeParameter.vue.d.ts +1 -0
  276. package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +5 -4
  277. package/src/planner/components/overlays/rooms/SampleRooms.vue.d.ts +3 -3
  278. package/src/planner/components/overlays/rooms/SlopingRoof.vue.d.ts +5 -2
  279. package/src/planner/components/overlays/rooms/SlopingRoofDirection.vue.d.ts +7 -4
  280. package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +6 -4
  281. package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +4 -3
  282. package/src/planner/components/utils/ConfiguratorParameter.vue.d.ts +23 -0
  283. package/src/planner/components/utils/InteractionHeader.vue.d.ts +4 -2
  284. package/src/planner/components/utils/MeasurementsString.vue.d.ts +10 -6
  285. package/src/planner/store/planner-core-data.d.ts +1 -1
  286. package/src/planner/store/planner-ui-state.d.ts +1 -4
  287. package/src/planner/utils/interaction.d.ts +4 -1
  288. package/src/planner/utils/planner-sidebar.d.ts +1 -2
  289. package/src/viewer/business-logic/sdk-connector-viewer.d.ts +1 -1
  290. package/src/viewer/components/ViewerMain.vue.d.ts +4 -4
  291. package/src/viewer/components/ViewerSidebar.vue.d.ts +2 -2
  292. package/packages/web-sdk/packages/benchmark/budgeteer-measure.d.ts +0 -1
  293. package/packages/web-sdk/packages/configurator-core/src/static-files/fonts.d.ts +0 -4
  294. package/src/common/components/flying-menu/FlyingMenuToggles.vue.d.ts +0 -16
  295. package/src/common/components/flying-menu/MergeProductButtons.vue.d.ts +0 -2
@@ -1,56 +1,46 @@
1
- ## [5.33.0](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.32.0...embedding-lib-v5.33.0) (2025-12-02)
1
+ ## [5.34.0-alpha.2](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.34.0-alpha.1...embedding-lib-v5.34.0-alpha.2) (2025-12-09)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * core api - getDrawnPoints ([5b92bd3](https://github.com/roomle-dev/roomle-ui/commit/5b92bd3bacc3d85e57af7f9efe6bc16e4ccac4fd))
7
- * core api - object component and permission to delete ([087aff9](https://github.com/roomle-dev/roomle-ui/commit/087aff965a24f99a9780a604af743dfdcaf99559))
8
- * core api - Plan.getRotationForFrontView ([af665c7](https://github.com/roomle-dev/roomle-ui/commit/af665c7af8b2d7d8b9becbaaf7ffa142948dc525))
9
- * core api - removed externalComponent from possible children ([5efeb4b](https://github.com/roomle-dev/roomle-ui/commit/5efeb4b07b5c15b715c08d27457d36caff0d10f1))
10
- * core api - valid container modules ([eeb3060](https://github.com/roomle-dev/roomle-ui/commit/eeb306085afbeefbf7f1822d0a6ee0336750cdd8))
11
- * create possible children from sub articles ([7af9ea4](https://github.com/roomle-dev/roomle-ui/commit/7af9ea42ad8862e4a1fbe4ac98a5499ddad13536))
12
- * distinguish between articles and sub-articles ([d9b2238](https://github.com/roomle-dev/roomle-ui/commit/d9b223815edfeecd343cd750aeb278c899005399))
13
- * enable undo/redo in isolation mode and remove feature flag ([cc5f059](https://github.com/roomle-dev/roomle-ui/commit/cc5f0590b79879a17eb5ef4d6c0ea67e6f4cf7ad))
14
- * exposed api "loadPlanXml" ([6d490ba](https://github.com/roomle-dev/roomle-ui/commit/6d490bac91944f956a1e7b707a86dbea228fcea3))
15
- * get valid sub articles for external object ([0a55b35](https://github.com/roomle-dev/roomle-ui/commit/0a55b35a29f45f02cf994701a3f05427763d047b))
16
- * interface "HiObjectSelectionApi" for hi object selection ([be880ca](https://github.com/roomle-dev/roomle-ui/commit/be880cad7eba2c4326b649232c6279d7cfc071e5))
17
- * removed deprecated core api ([64ae74b](https://github.com/roomle-dev/roomle-ui/commit/64ae74b4f90d50b74bb89857111247a2994f1ecc))
18
- * request sub article geometry for preview ([4e487c3](https://github.com/roomle-dev/roomle-ui/commit/4e487c3aa68f3e3f5afb3365763eba3f001ae408))
19
- * set rotation for perspective object image ([6d29fd1](https://github.com/roomle-dev/roomle-ui/commit/6d29fd15ddfdeee32e4de508782bf91d516db609))
20
- * tidy-up permission to delete component ([b97dbc4](https://github.com/roomle-dev/roomle-ui/commit/b97dbc4ad7cc931f5a872be3e3fff8c86bd63a5f))
21
- * trigger external docking preview via api ([999924a](https://github.com/roomle-dev/roomle-ui/commit/999924ae804911ce336a56c53a1d45b934b2c96e))
22
- * update hi object model types ([098deef](https://github.com/roomle-dev/roomle-ui/commit/098deeff8682af334b5c3d47fb2789ec2b06f628))
23
- * **core:** upgrade to version 2.65.0-alpha.1 ([171c863](https://github.com/roomle-dev/roomle-ui/commit/171c8633afb6c4292d462e8ec61138f5210692e5))
24
- * **core:** upgrade to version 2.65.0-alpha.2 ([f4dfc54](https://github.com/roomle-dev/roomle-ui/commit/f4dfc54deb3b2c112e4e2a72347931dece4b5d16))
25
- * **core:** upgrade to version 2.65.0-alpha.3 ([8a31b8b](https://github.com/roomle-dev/roomle-ui/commit/8a31b8b99bdbc84c48b09d4ac7603653455f1c40))
26
- * **core:** upgrade to version 2.65.0-alpha.4 ([214ee4f](https://github.com/roomle-dev/roomle-ui/commit/214ee4fa8382252e7c2306d5df5a69428b42a989))
27
- * **core:** upgrade to version 2.65.0-alpha.5 ([7927a07](https://github.com/roomle-dev/roomle-ui/commit/7927a07f1e2913307ee3520fcfc9f10526cdd075))
28
- * **core:** upgrade to version 2.65.0-alpha.6 ([bbfd2ad](https://github.com/roomle-dev/roomle-ui/commit/bbfd2ade04bf31e8d67abc910864b335ba873f63))
29
- * **core:** upgrade to version 2.65.0-alpha.7 ([b2b491c](https://github.com/roomle-dev/roomle-ui/commit/b2b491c1099c62d67f42ebb05c3afb72a72c1463))
30
- * use relative paths ([865a826](https://github.com/roomle-dev/roomle-ui/commit/865a8265fbc0642ead26f290a22b3fecdd59430c))
6
+ * add type checking ([726d5c5](https://github.com/roomle-dev/roomle-ui/commit/726d5c5c142d21bfb31cca2761e856c5327f37cb))
7
+ * collapsible sidebar addons segments ([5d73a98](https://github.com/roomle-dev/roomle-ui/commit/5d73a987fd3c617ad994d9a2bd09f75dd3f15086))
8
+ * core api - isRootComponentOfChildObject ([9d048f4](https://github.com/roomle-dev/roomle-ui/commit/9d048f4beefd88f5007dde4cd8fe61233a019e47))
9
+ * default hi library callbacks ([3736bcb](https://github.com/roomle-dev/roomle-ui/commit/3736bcba497605f331d58a76ab31698c5978091f))
10
+ * **planner:** enable panning with right mouse click ([cb14b51](https://github.com/roomle-dev/roomle-ui/commit/cb14b51996d76cf3cddd96138bf3ad8f9357a47c))
11
+ * library localization ([e56dd7a](https://github.com/roomle-dev/roomle-ui/commit/e56dd7ae9419911161437aa13e8a158d440f4858))
12
+ * **planner:** not reset camera when switching to 3d ([c053a16](https://github.com/roomle-dev/roomle-ui/commit/c053a16ce718c966ecfff5d32585fa2dfcbf9a31))
13
+ * raycaster filter for 2d selection ([f325c47](https://github.com/roomle-dev/roomle-ui/commit/f325c474f2e1bd24fcff55a7bcaec7b2a084571a))
14
+ * Subdomain Wildcard Support for Domain Whitelisting ([a4c2c86](https://github.com/roomle-dev/roomle-ui/commit/a4c2c865d792f15911964ba93256fcd8cf146dbf))
15
+ * **core:** upgrade to version 2.65.0-alpha.8 ([bb9d7b7](https://github.com/roomle-dev/roomle-ui/commit/bb9d7b7d95f4d867350d03df7143bc39e1b3ff4b))
16
+ * **core:** upgrade to version 2.65.0 ([e45dbea](https://github.com/roomle-dev/roomle-ui/commit/e45dbea77e5fe4b1f4644a1bc6da0f8dd92d1794))
17
+ * **core:** upgrade to version 2.66.0-alpha.1 ([f24d03c](https://github.com/roomle-dev/roomle-ui/commit/f24d03cd7c196b48c0777fb40a1aa8dbc0cca776))
31
18
 
32
19
 
33
20
  ### Bug Fixes
34
21
 
35
- * add flag plannerIsolationConfigurator instead of using startInDetail ([57f374e](https://github.com/roomle-dev/roomle-ui/commit/57f374e28206164e0f7f92588f16a9b6dec8ec11))
36
- * add missing build feature-flags command ([12336e9](https://github.com/roomle-dev/roomle-ui/commit/12336e9de4594b1359aad10d6bf784f0eb037803))
37
- * article name of generated hi modules ([5556bd2](https://github.com/roomle-dev/roomle-ui/commit/5556bd2a5af526e8cb51127cc6a70197c74832e5))
38
- * cannot read properties of null ([873981e](https://github.com/roomle-dev/roomle-ui/commit/873981ebf763052882affb13216d509df113eca8))
39
- * check for length, not for array presence ([9cb4a57](https://github.com/roomle-dev/roomle-ui/commit/9cb4a57d6edeffe4a74818b0152569b8308e0a1c))
40
- * check possibleChild.articleId?.length ([5f6bb01](https://github.com/roomle-dev/roomle-ui/commit/5f6bb01f55dd87508ca8badb1db9890ff2bfbad1))
41
- * copying attributes from article data to new group data ([f4ef254](https://github.com/roomle-dev/roomle-ui/commit/f4ef2547d721c63a653d87b1e883270dc071df18))
42
- * error handling in loadPlanXml ([079e257](https://github.com/roomle-dev/roomle-ui/commit/079e257156fbdb05a224e101861238bab1266992))
43
- * filter catalog articles ([392c05d](https://github.com/roomle-dev/roomle-ui/commit/392c05d90b6e22c3dd6c7e7ae87bc5fc3b377778))
44
- * filter for the tag with visibilityStatus 2 ([464f136](https://github.com/roomle-dev/roomle-ui/commit/464f136e06d07a029c025d2c57e0dd19a2d6c664))
45
- * glue-logic - add sub article ([60b7fdc](https://github.com/roomle-dev/roomle-ui/commit/60b7fdc0903a4d09470b1b6f69c1a280a40349cd))
46
- * hi example subscription endpoint and catalog ([aefad46](https://github.com/roomle-dev/roomle-ui/commit/aefad462e482ad9d6446dc1d4c1a52ce310c8d41))
47
- * hi undo/redo (messed up when merging) ([2dffbaa](https://github.com/roomle-dev/roomle-ui/commit/2dffbaa8cd503c44560b04bb7951e33ff9b4358c))
48
- * make build work again ([1e22431](https://github.com/roomle-dev/roomle-ui/commit/1e22431f2bb1b445efb63c7f9e7d15587f0fe096))
49
- * recalculate group after adding sub article ([f26894c](https://github.com/roomle-dev/roomle-ui/commit/f26894ca22d7a8bd885312de12fdd5f791e3b049))
50
- * remove hi message handler before adding a new one ([632fdea](https://github.com/roomle-dev/roomle-ui/commit/632fdea46e1feea7e1b9d5b04e627f76bed91194))
51
- * remove redundant explicit initialization ([02e3cdd](https://github.com/roomle-dev/roomle-ui/commit/02e3cdda41a49ebfb56bfcbc3b367b5b20e20c35))
52
- * supply oncollapse to mobile search ([4abcda7](https://github.com/roomle-dev/roomle-ui/commit/4abcda7ad04a0854dd75cb66d898266619f61f17))
53
- * tidy-up glue logic for taking over properties from the article to the group ([e4c875e](https://github.com/roomle-dev/roomle-ui/commit/e4c875e5ac12c93290a3941179477a2893d2ee69))
54
- * typo in comment ([3a381c1](https://github.com/roomle-dev/roomle-ui/commit/3a381c1cd9c6ac2a10657f5a7ae391f840b2a32c))
55
- * **planner:** update bounding box of configurable construction items ([ccc5de1](https://github.com/roomle-dev/roomle-ui/commit/ccc5de14ca67a6e8b9c8475661b29a8fb074fce3))
56
- * visibility toggle not working on mobile ([1f8cae4](https://github.com/roomle-dev/roomle-ui/commit/1f8cae4f36af8cee87a1cd4e77c5cb47e203fd08))
22
+ * **planner:** add wall material changes to interaction handler ([f97e874](https://github.com/roomle-dev/roomle-ui/commit/f97e87419950c3270119cb2f8485c29b1f933c52))
23
+ * adjust the height of sidebar content if showing header ([72b0f55](https://github.com/roomle-dev/roomle-ui/commit/72b0f55866bdb4bbc224e296f85dd851296e0bda))
24
+ * all the stuff ([6691f13](https://github.com/roomle-dev/roomle-ui/commit/6691f13dfa869b9f7230d16a1da5a1d8576cc8e9))
25
+ * bounding geometry for dragging plan object ([65bf415](https://github.com/roomle-dev/roomle-ui/commit/65bf4152d42cf76a6a1bdc1339e40d302fa46c0c))
26
+ * build script ([a7a0a9d](https://github.com/roomle-dev/roomle-ui/commit/a7a0a9dd56bbf902e39c2d803d7d55685b5ffbfe))
27
+ * decorators working ([380b5c6](https://github.com/roomle-dev/roomle-ui/commit/380b5c65522fe024e81b290b03062887ab6ec5db))
28
+ * do not send hi callbacks for sub article preview groups ([974e47c](https://github.com/roomle-dev/roomle-ui/commit/974e47cfd019596b674f867c2151cce521f9e569))
29
+ * embedding alias configs ([2d8fba4](https://github.com/roomle-dev/roomle-ui/commit/2d8fba4f4738d86118646c1ea064c385cb8650b2))
30
+ * failing tests ([f1bcfdf](https://github.com/roomle-dev/roomle-ui/commit/f1bcfdf66ffb50f053943a608ce91e37e46f8cef))
31
+ * failing tests ([18b7f1a](https://github.com/roomle-dev/roomle-ui/commit/18b7f1afaabe37d1f4c1f1a9f5430f82cae9b132))
32
+ * flying menu positioning bugs ([f47f1b2](https://github.com/roomle-dev/roomle-ui/commit/f47f1b274d370c77b11d09548cadd818a4782ca7))
33
+ * handle null return value from getSaveDataGroups ([b8d1cb8](https://github.com/roomle-dev/roomle-ui/commit/b8d1cb819a5561e797754ec059055b812823b70a))
34
+ * import mergeGeometries instead of BufferGeometryUtils ([38aafc4](https://github.com/roomle-dev/roomle-ui/commit/38aafc47a2d4fe5e291464397a53d699cb88fb95))
35
+ * invoke deleteComponent for external sub article preview ([67551c9](https://github.com/roomle-dev/roomle-ui/commit/67551c9223341681ca5a9d11ff87d0dc023b0479))
36
+ * looks good now ([31bff51](https://github.com/roomle-dev/roomle-ui/commit/31bff5162df77e37292e3d2d63df989a30b64129))
37
+ * make it work ([eb69783](https://github.com/roomle-dev/roomle-ui/commit/eb69783425d6b0922b981929166a6c928fb57c41))
38
+ * **planner:** not reset camera on drawing measurement line ([5df4155](https://github.com/roomle-dev/roomle-ui/commit/5df4155156c9d81c02eba99962729eae80451ab3))
39
+ * remove deprecated material mapping (LIGNA hack) ([e372501](https://github.com/roomle-dev/roomle-ui/commit/e372501b58b473e24e35b83abd3a6f4d29fc9b11))
40
+ * sort order for single level catalog structure ([9c54cd1](https://github.com/roomle-dev/roomle-ui/commit/9c54cd1e3f00bc4ed495c00bd6f6402424d6eeab))
41
+ * thumbnail for hi sub article ([36f3025](https://github.com/roomle-dev/roomle-ui/commit/36f30254994c2c22f6391479df8fecf5d4b07d29))
42
+ * TS error ([644b696](https://github.com/roomle-dev/roomle-ui/commit/644b6966a0fbd464a1dfaa88d810730ac21c28c0))
43
+ * type ([1ab8161](https://github.com/roomle-dev/roomle-ui/commit/1ab81619c60e90603c02edc5f498b688440f5709))
44
+ * typescript errors ([d74fad4](https://github.com/roomle-dev/roomle-ui/commit/d74fad4ee03f06fd1d11a9c422d0eed6a67bd666))
45
+ * typescript errors ([755afe6](https://github.com/roomle-dev/roomle-ui/commit/755afe602ef1c4d1a67545a7d155ce961ad6393c))
46
+ * updated handling of subarticles ([53c99a2](https://github.com/roomle-dev/roomle-ui/commit/53c99a2765ebb07a93e403ff51247de0bb362a45))
package/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from './packages/embedding-lib/src/embedding-lib'
2
1
  import _default from './packages/embedding-lib/src/embedding-lib'
3
2
  export default _default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "5.33.0",
3
+ "version": "5.34.0-alpha.2",
4
4
  "description": "This is a small library which can be used to communicate with the Roomle Configurator",
5
5
  "type": "module",
6
6
  "main": "./roomle-embedding-lib.umd.js",
@@ -1,4 +1,4 @@
1
1
  import { Nullable } from '../../../../src/common/utils/types';
2
2
  import { SelectionType } from '../../../../src/planner/store/planner-ui-state';
3
3
 
4
- export declare const isConfigurationSelected: (selectionType: Nullable<SelectionType>) => boolean;
4
+ export declare const isConfigurationSelected: (selectionType: Nullable<SelectionType>) => selectionType is "configuration" | "external-configuration";
@@ -1,3 +1,20 @@
1
1
  export declare const NAMES_FOR_LOCALHOST: string[];
2
+ /**
3
+ * Checks if a hostname matches any of the allowed host patterns.
4
+ * Supports exact matches, global wildcard (*), and subdomain wildcards (*.example.com).
5
+ *
6
+ * Features:
7
+ * - Case-insensitive matching (RFC 1035 compliant)
8
+ * - Handles trailing dots (FQDN normalization)
9
+ * - Preserves original pattern casing in return value
10
+ *
11
+ * @param hostname - The hostname to check
12
+ * @param allowedHosts - Array of allowed host patterns
13
+ * @returns Object with `allowed` boolean and `matchedPattern` if matched
14
+ */
15
+ export declare const matchHostnamePattern: (hostname: string, allowedHosts: string[]) => {
16
+ allowed: boolean;
17
+ matchedPattern?: string;
18
+ };
2
19
  export declare const getHostname: () => string | null;
3
20
  export declare const isDemoHostname: (hostname: string) => boolean;
@@ -1,4 +1,4 @@
1
- import { RapiId } from '@roomle/web-sdk/typings/rapi-types';
1
+ import { RapiId, RapiPlanSnapshotId } from '../../../web-sdk/packages';
2
2
 
3
3
  export declare const isIdAnItem: (id: string) => boolean;
4
4
  export declare const isIdAPlan: (id: string) => boolean;
@@ -1,5 +1,6 @@
1
1
  import { ConfiguratorSettings, PossibleCustomViewSettings, UiInitData } from '../../../../src/configurator/embedding/types';
2
2
  import { MessageHandler } from './message-handler';
3
+ import { RapiAccess } from '../../../web-sdk/packages';
3
4
  import { Nullable } from '../../../../src/common/utils/types';
4
5
  import { RoomleSdkWrapper } from '../../../../src/configurator/business-logic/roomle-sdk-wrapper';
5
6
 
@@ -9,9 +10,9 @@ export declare const CONFIGURATOR_IDLE = "(idle)";
9
10
  export declare const getInitData: (useFallbackId?: boolean) => UiInitData;
10
11
  export declare const castAndFixInitData: (initData: UiInitData) => UiInitData;
11
12
  export declare const mergeStringArrays: (initData: any) => any;
12
- export declare const castInitData: (obj: {
13
+ export declare const castInitData: (obj: Nullable<{
13
14
  [key: string]: any;
14
- }) => void;
15
+ }>) => void;
15
16
  export declare const mergeInitData: (configuratorSettings: ConfiguratorSettings | {
16
17
  id: string;
17
18
  settings: UiInitData;
@@ -0,0 +1 @@
1
+ export declare const noop: (..._args: any[]) => void;
@@ -1,6 +1,7 @@
1
1
  import { Nullable, RapiCallbacks } from '../../../src/common/utils/types';
2
2
  import { ExposedAnalyticsCallbacks } from '../../../src/configurator/embedding/exposed-analytics-callbacks';
3
3
  import { ExposedApi } from '../../../src/configurator/embedding/exposed-api';
4
+ import { GlobalCallback, RoomleConfigurator } from '../../web-sdk/packages';
4
5
  import { EmbeddingCommand, MessageHandler } from '../../common/src/utils/message-handler';
5
6
  import { AvailablePlugins, PluginDefinitions } from './embedding-lib';
6
7
  import { EmbeddingPluginMode } from './plugins/types';
@@ -1,105 +1,12 @@
1
1
  import { PossibleCustomViews, UiInitData } from '../../../src/configurator/embedding/types';
2
- import { default as ConfiguratorUiCallbacks } from '@roomle/web-sdk/configurator-core/src/services/configurator-ui-callback';
3
- import { default as RoomleConfigurator } from '@roomle/web-sdk/configurator-core/src/roomle-configurator';
4
- import { default as RoomleGLBViewer } from '@roomle/web-sdk/glb-viewer-core/src/roomle-glb-viewer';
5
- import { default as RoomlePlanner } from '@roomle/web-sdk/planner-core/src/roomle-planner';
2
+ import { ConfiguratorUiCallbacks, RoomleConfigurator, RoomleGLBViewer, RoomlePlanner } from '../../web-sdk/packages';
6
3
  import { DragIn } from './plugins/drag-in';
7
4
  import { Connector } from './connector';
8
- import { MasterData, PosGroup, PosSaveData } from '@roomle/web-sdk/homag-intelligence/src/model/oc-scripts-domain.model';
5
+ import { HiCallbacks } from './types';
9
6
 
10
7
  interface PluginMap {
11
8
  dragIn: typeof DragIn;
12
9
  }
13
- export declare const HI_PANEL_ACTION: {
14
- readonly HIDE: "hide";
15
- readonly SHOW_ATTRIBUTES: "attributes";
16
- readonly SHOW_ARTICLES: "articles";
17
- };
18
- export type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
19
- export interface HiCallbacks {
20
- /**
21
- * Requests the calculation script for the given library ID.
22
- * @param libraryId the ID of the library for which the calculation script is requested
23
- * @returns the calculation script as a string
24
- */
25
- onLoadJavascript: (libraryId: string) => Promise<string>;
26
- /**
27
- * Requests the master data for the given library ID.
28
- * @param libraryId the ID of the library for which the master data is requested
29
- * @returns the master data as a Promise
30
- */
31
- onLoadMasterData: (libraryId: string) => Promise<MasterData>;
32
- /**
33
- * Requests the article catalog for the given library ID.
34
- * @param libraryId the ID of the library for which the article catalog is requested
35
- * @returns the article catalog as a Promise
36
- */
37
- onLoadArticleCatalog: (libraryId: string) => Promise<any>;
38
- /**
39
- * Notifies the host application that a price calculation should be performed.
40
- * @param posGroups all groups in the plan
41
- */
42
- onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
43
- /**
44
- * Retrieves the current external load data which has to be used to replace the existing groups in the plan.
45
- * @returns load data or null if no replacement is needed
46
- */
47
- onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
48
- /**
49
- * "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
50
- */
51
- onPosGroupsCompletelyLoaded?: () => void;
52
- /**
53
- * "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
54
- * @param groupData The new group data JSON.
55
- */
56
- onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
57
- /**
58
- * "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
59
- *
60
- * @param groupData The new group data JSON.
61
- */
62
- onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
63
- /**
64
- * "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
65
- * @param groupData The ID of the group which was deleted.
66
- */
67
- onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
68
- /**
69
- * "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
70
- * @param panel The panel to show or hide.
71
- * @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
72
- * @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
73
- * @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
74
- */
75
- onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string, rootModuleId?: string, subModuleId?: string) => void;
76
- /**
77
- * "onSelectModule" is invoked when a the selected object in the scene was changed.
78
- * @param posGroupId ID of the selected group
79
- * @param rootModuleId ID of the selected root module
80
- * @param subModuleId Optional id of the selected sub module
81
- */
82
- onSelectModule?: (posGroupId: string, rootModuleId: string, subModuleId?: string) => void;
83
- /**
84
- * Request the price for the given order data.
85
- * @param orderData order data
86
- * @returns price data
87
- */
88
- onFetchPrice?: (orderData: any) => Promise<any>;
89
- /**
90
- * "onPlaceOrder" is invoked when the user wants to place an order.
91
- * You can use this to send the order data to Order Manager or to a 3rd party service.
92
- * @param orderData
93
- */
94
- onPlaceOrder?: (orderData: any) => Promise<void>;
95
- /**
96
- * "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
97
- * You can use this to log messages in your own UI.
98
- * @param area
99
- * @param message
100
- */
101
- onLogMessage?: (area: string, message: string) => void;
102
- }
103
10
  export type AvailablePlugins = {
104
11
  [K in keyof PluginMap]?: InstanceType<PluginMap[K]>;
105
12
  };
@@ -1,6 +1,4 @@
1
- import { default as RoomleConfigurator } from '@roomle/web-sdk/configurator-core/src/roomle-configurator';
2
- import { default as ConfiguratorUiCallbacks } from '@roomle/web-sdk/configurator-core/src/services/configurator-ui-callback';
3
- import { default as RoomlePlanner } from '@roomle/web-sdk/planner-core/src/roomle-planner';
1
+ import { RoomleConfigurator, ConfiguratorUiCallbacks, RoomlePlanner } from '../../../../web-sdk/packages';
4
2
  import { Connector } from '../../connector';
5
3
 
6
4
  export declare const attachDragListeners: (el: HTMLElement, instance: Connector<RoomleConfigurator | RoomlePlanner, ConfiguratorUiCallbacks>, signal: AbortSignal) => void;
@@ -1,2 +1,3 @@
1
+ export declare const FAKE_ROOT_TAG = "external:root-tag";
1
2
  export declare const setCatalogArticles: (data: any) => void;
2
3
  export declare const createCatalog: (articleCatalog: HTMLElement, draggable?: boolean) => Promise<void>;
@@ -1,6 +1,6 @@
1
- import { ApiOptions } from '@roomle/web-sdk/homag-intelligence/src/loader';
1
+ import { HiApiOptions } from '../../../../../web-sdk/packages';
2
2
 
3
- interface TcOptions extends ApiOptions {
3
+ interface TcOptions extends HiApiOptions {
4
4
  libraryId: string;
5
5
  }
6
6
  declare const _default: {
@@ -10,11 +10,6 @@ declare const _default: {
10
10
  };
11
11
  materialConfiguration: {
12
12
  defaultMaterial: string;
13
- replaceUnmappedMaterialsWithDefault: boolean;
14
- materialMapping: {
15
- materialName: string;
16
- materialId: string;
17
- }[];
18
13
  };
19
14
  debugConfiguration: {
20
15
  createDebugGeometry: boolean;
@@ -36,9 +31,10 @@ declare const _default: {
36
31
  om: {
37
32
  subscriptionId: string;
38
33
  key: string;
39
- importBaseUrl: string;
34
+ endpointUrl: string;
40
35
  };
41
36
  libraryId: string;
37
+ language: string;
42
38
  };
43
39
  };
44
40
  export default _default;
@@ -1,20 +1,20 @@
1
1
  export declare const state: {
2
2
  selection: {
3
- type: string;
3
+ type: string | null;
4
4
  payload: {
5
5
  groupId: string;
6
6
  rootModuleId: string;
7
7
  subModuleId: string;
8
8
  } | {
9
9
  id: string;
10
- };
10
+ } | null;
11
11
  parameters: any[];
12
12
  };
13
13
  currentContext: string;
14
- currentCustomView: string;
15
- currentSidebar: string;
14
+ currentCustomView: string | null;
15
+ currentSidebar: string | null;
16
16
  abortController: AbortController;
17
- isBuildingCatalog: Promise<any>;
17
+ isBuildingCatalog: Promise<any> | null;
18
18
  waitForCatalog: () => Promise<void>;
19
19
  };
20
20
  export declare const resetSelectionState: () => void;
@@ -1,10 +1,3 @@
1
- export declare const fetchJSONData: (url: string) => Promise<any>;
2
- export declare const fetchDataWithAuthorization: (url: string, type: 'json' | 'text', apiOptions: any, debug?: {
3
- property: string;
4
- }) => Promise<Response>;
5
- export declare const loadArticleCatalog: (hiInitData: any) => Promise<any>;
6
- export declare const loadMasterData: (hiInitData: any) => Promise<any>;
7
- export declare const loadCalcScript: (hiInitData: any) => Promise<string>;
8
1
  export declare const logInUi: (area: string, message: string, args?: (string | null)[]) => void;
9
2
  export declare const logMessage: (message: string, ...args: (string | null)[]) => void;
10
3
  export declare const logApiCall: (message: string) => void;
@@ -0,0 +1,4 @@
1
+ import { HomagIntelligenceInitData } from '../../../web-sdk/packages/homag-intelligence/src/hi-api-types';
2
+ import { HiCallbacks } from '../types';
3
+
4
+ export declare const createHiLibraryCallbacks: (hiInitData: HomagIntelligenceInitData) => HiCallbacks;
@@ -0,0 +1,8 @@
1
+ import { HomagIntelligenceInitData } from '../../../web-sdk/packages/homag-intelligence/src/hi-api-types';
2
+
3
+ export declare const fetchJSONData: (url: string) => Promise<any>;
4
+ export declare const libLoadArticleCatalog: (hiInitData: HomagIntelligenceInitData) => Promise<any>;
5
+ export declare const libLoadMasterData: (hiInitData: HomagIntelligenceInitData) => Promise<any>;
6
+ export declare const libLoadCalcScript: (hiInitData: HomagIntelligenceInitData) => Promise<string>;
7
+ export declare const omPostRequest: (hiInitData: HomagIntelligenceInitData, body: any, url: string, extraHeaders?: {}) => Promise<any>;
8
+ export declare const omGetRequest: (hiInitData: HomagIntelligenceInitData, url: string, extraHeaders?: {}) => Promise<any>;
@@ -1,4 +1,4 @@
1
- import { RapiId } from '@roomle/web-sdk/typings/rapi-types';
1
+ import { RapiId } from '../../../web-sdk/packages';
2
2
  import { ExposedApi } from '../../../../src/configurator/embedding/exposed-api';
3
3
  import { DragInSettings, EmbeddingPlugin, EmbeddingPluginMode } from './types';
4
4
  import { PossibleCustomViewsAndMain } from '../../../../src/configurator/embedding/types';
@@ -1,10 +1,9 @@
1
1
  import { DragInStrategy } from './types';
2
- import { RapiId } from '@roomle/web-sdk/typings/rapi-types';
2
+ import { RapiId, ID_TYPE } from '../../../../web-sdk/packages';
3
3
  import { ExposedApi } from '../../../../../src/configurator/embedding/exposed-api';
4
4
  import { DragInSettings } from '../types';
5
5
  import { PossibleCustomViewsAndMain } from '../../../../../src/configurator/embedding/types';
6
6
  import { OnBeforeUpdateDragGhost } from '../../../../common/src/utils/drag';
7
- import { ID_TYPE } from '@roomle/web-sdk/planner-core/src/roomle-planner';
8
7
 
9
8
  export declare class DragInFromCustomViewStrategy implements DragInStrategy {
10
9
  private _options;
@@ -1,9 +1,8 @@
1
1
  import { DragInStrategy } from './types';
2
- import { RapiId } from '@roomle/web-sdk/typings/rapi-types';
2
+ import { RapiId, ID_TYPE } from '../../../../web-sdk/packages';
3
3
  import { ExposedApi } from '../../../../../src/configurator/embedding/exposed-api';
4
4
  import { DragInOptions } from '../types';
5
5
  import { OnBeforeUpdateDragGhost } from '../../../../common/src/utils/drag';
6
- import { ID_TYPE } from '@roomle/web-sdk/planner-core/src/roomle-planner';
7
6
 
8
7
  export declare class DragInFromWebsiteStrategy implements DragInStrategy {
9
8
  private _options;
@@ -1,4 +1,4 @@
1
- import { RapiId } from '@roomle/web-sdk/typings/rapi-types';
1
+ import { RapiId } from '../../../../web-sdk/packages';
2
2
  import { OnBeforeUpdateDragGhost } from '../../../../common/src/utils/drag';
3
3
 
4
4
  export interface DragInStrategy {
@@ -0,0 +1,92 @@
1
+ import { MasterData, PosGroup, PosSaveData } from '../../web-sdk/packages';
2
+
3
+ export declare const HI_PANEL_ACTION: {
4
+ readonly HIDE: "hide";
5
+ readonly SHOW_ATTRIBUTES: "attributes";
6
+ readonly SHOW_ARTICLES: "articles";
7
+ };
8
+ export type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
9
+ export interface HiCallbacks {
10
+ /**
11
+ * Requests the calculation script for the given library ID.
12
+ * @param libraryId the ID of the library for which the calculation script is requested
13
+ * @returns the calculation script as a string
14
+ */
15
+ onLoadJavascript: (libraryId: string) => Promise<string>;
16
+ /**
17
+ * Requests the master data for the given library ID.
18
+ * @param libraryId the ID of the library for which the master data is requested
19
+ * @returns the master data as a Promise
20
+ */
21
+ onLoadMasterData: (libraryId: string) => Promise<MasterData>;
22
+ /**
23
+ * Requests the article catalog for the given library ID.
24
+ * @param libraryId the ID of the library for which the article catalog is requested
25
+ * @returns the article catalog as a Promise
26
+ */
27
+ onLoadArticleCatalog: (libraryId: string) => Promise<any>;
28
+ /**
29
+ * Notifies the host application that a price calculation should be performed.
30
+ * @param posGroups all groups in the plan
31
+ */
32
+ onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
33
+ /**
34
+ * Retrieves the current external load data which has to be used to replace the existing groups in the plan.
35
+ * @returns load data or null if no replacement is needed
36
+ */
37
+ onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
38
+ /**
39
+ * "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
40
+ */
41
+ onPosGroupsCompletelyLoaded?: () => void;
42
+ /**
43
+ * "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
44
+ * @param groupData The new group data JSON.
45
+ */
46
+ onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
47
+ /**
48
+ * "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
49
+ *
50
+ * @param groupData The new group data JSON.
51
+ */
52
+ onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
53
+ /**
54
+ * "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
55
+ * @param groupData The ID of the group which was deleted.
56
+ */
57
+ onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
58
+ /**
59
+ * "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
60
+ * @param panel The panel to show or hide.
61
+ * @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
62
+ * @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
63
+ * @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
64
+ */
65
+ onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string, rootModuleId?: string, subModuleId?: string) => void;
66
+ /**
67
+ * "onSelectModule" is invoked when a the selected object in the scene was changed.
68
+ * @param posGroupId ID of the selected group
69
+ * @param rootModuleId ID of the selected root module
70
+ * @param subModuleId Optional id of the selected sub module
71
+ */
72
+ onSelectModule?: (posGroupId: string, rootModuleId: string, subModuleId?: string) => void;
73
+ /**
74
+ * Request the price for the given order data.
75
+ * @param orderData order data
76
+ * @returns price data
77
+ */
78
+ onFetchPrice?: (orderData: any) => Promise<any>;
79
+ /**
80
+ * "onPlaceOrder" is invoked when the user wants to place an order.
81
+ * You can use this to send the order data to Order Manager or to a 3rd party service.
82
+ * @param orderData
83
+ */
84
+ onPlaceOrder?: (orderData: any) => Promise<void>;
85
+ /**
86
+ * "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
87
+ * You can use this to log messages in your own UI.
88
+ * @param area
89
+ * @param message
90
+ */
91
+ onLogMessage?: (area: string, message: string) => void;
92
+ }
@@ -1,5 +1,5 @@
1
1
  import { RoomleComponent } from '../src/webgl/roomle-component-factory';
2
- import { KernelComponent, PlanObject } from '../../typings/kernel';
2
+ import { KernelComponent, PlanObjectKernel } from '../../typings/kernel';
3
3
  import { Object3D } from 'three';
4
4
 
5
5
  /**
@@ -17,7 +17,7 @@ export declare function unmuteConsole(methods?: string[]): void;
17
17
  */
18
18
  export declare function numberOfObjectsWithType(objects: Object3D[], type: string): number;
19
19
  export declare function createMockRoomleComponent(): RoomleComponent;
20
- export declare function createMockPlanObject(): PlanObject;
20
+ export declare function createMockPlanObject(): PlanObjectKernel;
21
21
  export declare function createMockKernelComponent(): KernelComponent;
22
22
  export declare function createMockRoomleComponents(): {
23
23
  roomleComponent: RoomleComponent;
@@ -37,6 +37,7 @@ export default class CameraControl3D extends CameraControl {
37
37
  private _maxZoomedIn;
38
38
  private _maxZoomedOut;
39
39
  private _panningEnabled;
40
+ private _panningUsingRightMouseButton;
40
41
  private _targetPositionIsPanned;
41
42
  constructor(creator: string, inputManager: InputManager, initialCameraParameters?: CameraParameter, camera?: PerspectiveOffsetCamera);
42
43
  protected _getCamera(): PerspectiveCamera;
@@ -77,7 +78,7 @@ export default class CameraControl3D extends CameraControl {
77
78
  * @param cameraParameter
78
79
  */
79
80
  moveCamera(cameraParameter: CameraParameter): Promise<void>;
80
- enablePanning(): void;
81
+ enablePanning(panningUsingRightMouseButton?: boolean): void;
81
82
  disablePanning(): void;
82
83
  getKernelZoomFactor(): number;
83
84
  }
@@ -7,7 +7,6 @@ export default class Planner3dCameraBehaviour extends PlannerCameraBehaviour {
7
7
  get cameraControl(): CameraControl3D;
8
8
  resetCameraOnPlanCompletelyLoaded(bounds: Box3): void;
9
9
  externalApiResetCameraPosition(bounds: Box3): void;
10
- resetCameraOnSwitchTo3d(bounds: Box3): void;
11
10
  disablePanningOnShiftRelease(): void;
12
11
  enablePanningOnShiftClick(): void;
13
12
  updateCameraOnDrawWalls(bounds: Box3): void;
@@ -1,5 +1,5 @@
1
1
  import { default as ConfiguratorContext } from './webgl/configurator-context';
2
- import { DebugClient, KernelDockPairPreview, KernelObjectInformation, PossibleChildPreviewElement, EmscriptenString, KernelAnimation, KernelComponent, KernelParameter, KernelParameterGroup, KernelVector3, PlanObject, VariantsList } from '../../typings/kernel';
2
+ import { DebugClient, KernelDockPairPreview, KernelObjectInformation, PlanObjectKernel, PossibleChildPreviewElement, EmscriptenString, KernelAnimation, KernelComponent, KernelParameter, KernelParameterGroup, KernelVector3, VariantsList } from '../../typings/kernel';
3
3
  import { default as CommonKernelAccess, KERNEL_TYPE } from './services/common-kernel-access';
4
4
  import { ArticleNumber, ConfigurationHash, ConfigurationString, RapiId, RapiPrice } from '../../typings/rapi-types';
5
5
  import { CommonConfiguratorKernelCallbackI } from './common-configurator-kernel-callback';
@@ -10,7 +10,7 @@ import { AnimationLevelType } from '../../configurator-core/src/utils/animation/
10
10
 
11
11
  export interface ConfiguratorKernelCallbackI extends CommonConfiguratorKernelCallbackI {
12
12
  planObjectCreated(conversationId: number, planObjectId: number): void;
13
- planObjectUpdated(planObject: PlanObject, pendingDocking: boolean): void;
13
+ planObjectUpdated(planObject: PlanObjectKernel, pendingDocking: boolean): void;
14
14
  planObjectConfigurationUpdated(planObjectId: number, configuration: ConfigurationString, hash: string, pendingDocking: boolean): void;
15
15
  configurationLoaded(conversationId: number, objectId: number, componentId: number, hash: string, errors: any): void;
16
16
  Editor3dAddDockPreview(componentId: number, previewId: number): void;
@@ -40,7 +40,7 @@ export default class ConfiguratorKernelAccess extends CommonKernelAccess {
40
40
  private _addAnimationParameters;
41
41
  private _updateComponentParameters;
42
42
  selectionChange(componentId: number, isRoot: boolean): void;
43
- protected _componentSelectionChanged(_planObject: PlanObject, _component: KernelComponent, _planComponentSelection: boolean): void;
43
+ protected _componentSelectionChanged(_planObject: PlanObjectKernel, _component: KernelComponent, _planComponentSelection: boolean): void;
44
44
  protected _externalObjectParameterChanged(_objectOrComponentId: number, _parameterKey: string, _value: string): void;
45
45
  multiSelectionChange(runtimeComponentIds: number[], rootComponentId: number): void;
46
46
  private _updateCommonComponentDependencies;
@@ -67,7 +67,6 @@ export default class ConfiguratorKernelAccess extends CommonKernelAccess {
67
67
  changeAnimationValue(elementId: number, parameterKey: string, value: string, level: number, animationLevel: AnimationLevelType, animate: boolean): void;
68
68
  private _finishParameterChange;
69
69
  requestDeleteComponents(componentIds: number[]): void;
70
- requestDeletePlanComponent(componentId: number): void;
71
70
  loadComponentIntoKernel(component: string, componentId: RapiId): void;
72
71
  requestPartListAndUpdatePricesOfParts(hash?: ConfigurationHash, _prices?: Map<ArticleNumber, RapiPrice>): Promise<void>;
73
72
  requestSync(conversationId: number, planObjectId: number): void;