@roomle/embedding-lib 5.9.0-alpha.3 → 5.9.0-alpha.5
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.
- package/docs/md/web/embedding/CHANGELOG.md +2 -14
- package/index.d.ts +2 -179
- package/package.json +2 -2
- package/packages/build-tools/src/vite-file-size-check.d.ts +8 -0
- package/packages/build-tools/src/vite-minify.d.ts +3 -0
- package/packages/common/src/utils/browser.d.ts +4 -0
- package/packages/common/src/utils/custom-drag.d.ts +26 -0
- package/packages/common/src/utils/custom-view.d.ts +2 -0
- package/packages/common/src/utils/domain.d.ts +3 -0
- package/packages/common/src/utils/drag.d.ts +17 -0
- package/packages/common/src/utils/embedding.d.ts +23 -0
- package/packages/common/src/utils/get-computed-style-cached.d.ts +8 -0
- package/packages/common/src/utils/id-inferrer.d.ts +7 -0
- package/packages/common/src/utils/iframe.d.ts +3 -0
- package/packages/common/src/utils/init-data.d.ts +66 -0
- package/packages/common/src/utils/merge.d.ts +16 -0
- package/packages/common/src/utils/message-handler-creator.d.ts +3 -0
- package/packages/common/src/utils/message-handler.d.ts +35 -0
- package/packages/common/src/utils/promise.d.ts +5 -0
- package/packages/common/src/utils/timing.d.ts +1 -0
- package/packages/common/src/utils/touch-drag.d.ts +30 -0
- package/packages/common/src/utils/touch.d.ts +1 -0
- package/packages/embedding-lib/src/connector.d.ts +42 -0
- package/packages/embedding-lib/src/embedding-lib.d.ts +64 -0
- package/packages/embedding-lib/src/example.d.ts +5 -0
- package/packages/embedding-lib/src/examples/api-false.d.ts +10 -0
- package/packages/embedding-lib/src/examples/configurator-only.d.ts +7 -0
- package/packages/embedding-lib/src/examples/download-partlist.d.ts +7 -0
- package/packages/embedding-lib/src/examples/drag-in.d.ts +8 -0
- package/packages/embedding-lib/src/examples/ext-catalog/ext-catalog-connection.d.ts +1 -0
- package/packages/embedding-lib/src/examples/ext-catalog.d.ts +7 -0
- package/packages/embedding-lib/src/examples/ext-selection-overlay.d.ts +8 -0
- package/packages/embedding-lib/src/examples/planner-and-configurator.d.ts +7 -0
- package/packages/embedding-lib/src/examples/start-and-end-configurator.d.ts +7 -0
- package/packages/embedding-lib/src/examples/utils/drag-listeners.d.ts +6 -0
- package/packages/embedding-lib/src/overview.d.ts +1 -0
- package/packages/embedding-lib/src/plugins/constants.d.ts +19 -0
- package/packages/embedding-lib/src/plugins/drag-in.d.ts +33 -0
- package/packages/embedding-lib/src/plugins/strategy/from-custom-view.d.ts +31 -0
- package/packages/embedding-lib/src/plugins/strategy/from-website.d.ts +27 -0
- package/packages/embedding-lib/src/plugins/strategy/types.d.ts +15 -0
- package/packages/embedding-lib/src/plugins/types.d.ts +36 -0
- package/packages/embedding-lib/src/utils.d.ts +18 -0
- package/src/App.vue.d.ts +127 -0
- package/src/common/business-logic/connector.d.ts +9 -0
- package/src/common/business-logic/event-bus.d.ts +7 -0
- package/src/common/business-logic/event-emitter.d.ts +11 -0
- package/src/common/components/ActionButtons.vue.d.ts +8 -0
- package/src/common/components/BottomBar.vue.d.ts +2 -0
- package/src/common/components/BottomButtons.vue.d.ts +9 -0
- package/src/common/components/CounterDot.vue.d.ts +6 -0
- package/src/common/components/EmbeddedAdditionalInfo.vue.d.ts +12 -0
- package/src/common/components/EmbeddedExternalCatalog.vue.d.ts +16 -0
- package/src/common/components/EmbeddedInfoWrapper.vue.d.ts +27 -0
- package/src/common/components/ExpandableIcons.vue.d.ts +12 -0
- package/src/common/components/IconButton.vue.d.ts +15 -0
- package/src/common/components/Layer.vue.d.ts +9 -0
- package/src/common/components/Layout.vue.d.ts +15 -0
- package/src/common/components/LeftHeaderContainer.vue.d.ts +2 -0
- package/src/common/components/Loading.vue.d.ts +2 -0
- package/src/common/components/LoadingSpinner.vue.d.ts +2 -0
- package/src/common/components/MainComponent.vue.d.ts +2 -0
- package/src/common/components/SelectionButton.vue.d.ts +9 -0
- package/src/common/components/SelectionButtons.vue.d.ts +10 -0
- package/src/common/components/ShowCustomView.vue.d.ts +22 -0
- package/src/common/components/SwitchButton.vue.d.ts +16 -0
- package/src/common/components/ToggleButtons.vue.d.ts +12 -0
- package/src/common/components/Tooltip.vue.d.ts +29 -0
- package/src/common/components/action-buttons/-utils/ActionButton.vue.d.ts +21 -0
- package/src/common/components/collection-view/-utils/BackButton.vue.d.ts +16 -0
- package/src/common/components/collection-view/-utils/ParameterTooltip.vue.d.ts +14 -0
- package/src/common/components/collection-view/-utils/TabbedNav.vue.d.ts +18 -0
- package/src/common/components/collection-view/-utils/TabbedNavMenu.vue.d.ts +30 -0
- package/src/common/components/collection-view/-utils/TabbedNavStatic.vue.d.ts +6 -0
- package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts +3802 -0
- package/src/common/components/collection-view/-utils/collection-view-props.d.ts +45 -0
- package/src/common/components/collection-view/-utils/helper.d.ts +5 -0
- package/src/common/components/collection-view/-utils/render.d.ts +9 -0
- package/src/common/components/collection-view/-utils/types.d.ts +45 -0
- package/src/common/components/collection-view/CollectionView.vue.d.ts +70 -0
- package/src/common/components/collection-view/CollectionViewElement.vue.d.ts +200 -0
- package/src/common/components/collection-view/CollectionViewHint.vue.d.ts +10 -0
- package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +100 -0
- package/src/common/components/drawer-layout/DrawerGroup.vue.d.ts +23 -0
- package/src/common/components/drawer-layout/DrawerLayout.vue.d.ts +101 -0
- package/src/common/components/flying-menu/FlyingMenu.vue.d.ts +8 -0
- package/src/common/components/flying-menu/MergeProductButtons.vue.d.ts +2 -0
- package/src/common/components/flying-menu/StartConfiguringButton.vue.d.ts +2 -0
- package/src/common/components/helpers.d.ts +6 -0
- package/src/common/components/inputs/BaseInput.vue.d.ts +24 -0
- package/src/common/components/inputs/NumericInput.vue.d.ts +22 -0
- package/src/common/components/inputs/NumericInputWrapper.vue.d.ts +15 -0
- package/src/common/components/inputs/RangeSlider.vue.d.ts +34 -0
- package/src/common/components/inputs/SelectDropdown.vue.d.ts +18 -0
- package/src/common/components/notifications/FirstPersonControlsNotification.vue.d.ts +6 -0
- package/src/common/components/notifications/InteractionNotes.vue.d.ts +10 -0
- package/src/common/components/notifications/LoadSavedPlanNotification.vue.d.ts +10 -0
- package/src/common/components/notifications/NotificationCard.vue.d.ts +19 -0
- package/src/common/components/notifications/Notifications.vue.d.ts +2 -0
- package/src/common/components/overlays/PartList.vue.d.ts +185 -0
- package/src/common/components/overlays/bottom-bar/CloseView.vue.d.ts +220 -0
- package/src/common/components/overlays/bottom-bar/ControlButtonsWrapper.vue.d.ts +2 -0
- package/src/common/components/overlays/bottom-bar/GoBack.vue.d.ts +49 -0
- package/src/common/components/overlays/bottom-bar/cart/AddToBasket.vue.d.ts +6 -0
- package/src/common/components/overlays/bottom-bar/cart/CartIconWithBadge.vue.d.ts +12 -0
- package/src/common/components/overlays/bottom-bar/cart/ExitBtn.vue.d.ts +40 -0
- package/src/common/components/overlays/bottom-bar/cart/GoToCartBtn.vue.d.ts +49 -0
- package/src/common/components/overlays/bottom-bar/cart/SaveCartBtn.vue.d.ts +50 -0
- package/src/common/components/overlays/part-list/PartListEntry.vue.d.ts +114 -0
- package/src/common/components/overlays/part-list/PartListHeader.vue.d.ts +10 -0
- package/src/common/components/overlays/part-list/PartListPrint.vue.d.ts +16 -0
- package/src/common/components/overlays/part-list/PartListRow.vue.d.ts +60 -0
- package/src/common/components/overlays/part-list/partlist-setup.d.ts +17 -0
- package/src/common/components/overlays/tutorials/SupaDemoEmbed.vue.d.ts +10 -0
- package/src/common/components/overlays/tutorials/Tutorials.vue.d.ts +6 -0
- package/src/common/components/overlays/tutorials/YouTubeEmbed.vue.d.ts +10 -0
- package/src/common/components/parameters/ColorParameter.vue.d.ts +2229 -0
- package/src/common/components/side-bar/BackAction.vue.d.ts +22 -0
- package/src/common/components/side-bar/NavigationButtonsWrapper.vue.d.ts +9 -0
- package/src/common/components/side-bar/NextAction.vue.d.ts +22 -0
- package/src/common/components/tool-bar/ToolBar.vue.d.ts +2 -0
- package/src/common/components/tool-bar/ToolBarWrapper.vue.d.ts +4 -0
- package/src/common/components/tool-tip/MoreInfoTooltipContent.vue.d.ts +18 -0
- package/src/common/components/top-bar/TopBar.vue.d.ts +2 -0
- package/src/common/components/utils/-utils/notifications.d.ts +50 -0
- package/src/common/components/utils/-utils/overlays.d.ts +65 -0
- package/src/common/components/utils/CollapsibleButtonsContainer.vue.d.ts +26 -0
- package/src/common/components/utils/HeightToggle.vue.d.ts +34 -0
- package/src/common/components/utils/QRCode.vue.d.ts +139 -0
- package/src/common/components/utils/ShadowOnStage.vue.d.ts +8 -0
- package/src/common/components/utils/StageActivityIndicator.vue.d.ts +2 -0
- package/src/common/components/utils/collapsible-buttons-container/CollapsibleButton.vue.d.ts +14 -0
- package/src/common/components/utils/collapsible-buttons-container/CollapsibleTrigger.vue.d.ts +27 -0
- package/src/common/components/utils/collapsible-buttons-container/collapsible-button-types.d.ts +1 -0
- package/src/common/composables/use-analytics.d.ts +3 -0
- package/src/common/composables/use-ar-service.d.ts +3 -0
- package/src/common/composables/use-async-function.d.ts +8 -0
- package/src/common/composables/use-configurator-actions-visibility.d.ts +4 -0
- package/src/common/composables/use-configurator-api.d.ts +6 -0
- package/src/common/composables/use-core-bound-value.d.ts +8 -0
- package/src/common/composables/use-core-instances.d.ts +8 -0
- package/src/common/composables/use-embedding-callbacks.d.ts +3 -0
- package/src/common/composables/use-event-emitter-listener.d.ts +61 -0
- package/src/common/composables/use-fetch-root-tag.d.ts +8 -0
- package/src/common/composables/use-intersection-observer.d.ts +8 -0
- package/src/common/composables/use-intl.d.ts +14 -0
- package/src/common/composables/use-item-variants.d.ts +7 -0
- package/src/common/composables/use-libs.d.ts +3 -0
- package/src/common/composables/use-local-storage.d.ts +3 -0
- package/src/common/composables/use-materials-and-ral-colors.d.ts +10 -0
- package/src/common/composables/use-materials-grouped.d.ts +10 -0
- package/src/common/composables/use-measurement-styles.d.ts +10 -0
- package/src/common/composables/use-on-click-outside.d.ts +7 -0
- package/src/common/composables/use-planner-actions-visibility.d.ts +11 -0
- package/src/common/composables/use-pointer-pos.d.ts +16 -0
- package/src/common/composables/use-product-price.d.ts +11 -0
- package/src/common/composables/use-purchasable-count.d.ts +3 -0
- package/src/common/composables/use-sdk-connector.d.ts +3 -0
- package/src/common/composables/use-sdk-event-emitter-listener.d.ts +36 -0
- package/src/common/composables/use-selected-object-center.d.ts +5 -0
- package/src/common/composables/use-selected-plan-element.d.ts +7 -0
- package/src/common/composables/use-shared-sidebar-setup.d.ts +96 -0
- package/src/common/composables/use-stage-activity-indicator.d.ts +9 -0
- package/src/common/composables/use-static-item-parameters.d.ts +1114 -0
- package/src/common/composables/use-ui-actions.d.ts +3 -0
- package/src/common/config/tutorial-data.d.ts +3 -0
- package/src/common/plugins/analytics.d.ts +12 -0
- package/src/common/plugins/event-emitter.d.ts +4 -0
- package/src/common/plugins/local-storage.d.ts +10 -0
- package/src/common/plugins/localize.d.ts +2 -0
- package/src/common/plugins/ui-actions.d.ts +13 -0
- package/src/common/store/collection-view-state.d.ts +51 -0
- package/src/common/store/common-ui-state.d.ts +35 -0
- package/src/common/store/index.d.ts +35 -0
- package/src/common/translations/local-translation-source.d.ts +9 -0
- package/src/common/utils/access-restriction.d.ts +8 -0
- package/src/common/utils/ar-service.d.ts +14 -0
- package/src/common/utils/async-guard.d.ts +12 -0
- package/src/common/utils/bezier.d.ts +2 -0
- package/src/common/utils/color.d.ts +27 -0
- package/src/common/utils/compatibility.d.ts +4 -0
- package/src/common/utils/composable-helpers.d.ts +10 -0
- package/src/common/utils/dom.d.ts +20 -0
- package/src/common/utils/font-size-detector.d.ts +1 -0
- package/src/common/utils/fonts.d.ts +3 -0
- package/src/common/utils/google-analytics.d.ts +68 -0
- package/src/common/utils/helper.d.ts +83 -0
- package/src/common/utils/init-data-helper.d.ts +3 -0
- package/src/common/utils/log-canvas-coords.d.ts +3 -0
- package/src/common/utils/parameters.d.ts +19 -0
- package/src/common/utils/performance.d.ts +2 -0
- package/src/common/utils/plan.d.ts +1 -0
- package/src/common/utils/playwright-handler.d.ts +5 -0
- package/src/common/utils/playwright-response-checker.d.ts +3 -0
- package/src/common/utils/root-tags.d.ts +5 -0
- package/src/common/utils/script-loader.d.ts +6 -0
- package/src/common/utils/share.d.ts +1 -0
- package/src/common/utils/tutorials.d.ts +6 -0
- package/src/common/utils/types.d.ts +145 -0
- package/src/common/utils/ui-actions.d.ts +38 -0
- package/src/common/utils/user-agent.d.ts +7 -0
- package/src/common/utils/variants.d.ts +4 -0
- package/src/configurator/ar/AppAR.vue.d.ts +11 -0
- package/src/configurator/ar/main.d.ts +1 -0
- package/src/configurator/business-logic/roomle-sdk-wrapper.d.ts +30 -0
- package/src/configurator/business-logic/sdk-connector-configurator.d.ts +39 -0
- package/src/configurator/business-logic/sdk-connector.d.ts +136 -0
- package/src/configurator/business-logic/ui-callback.d.ts +6 -0
- package/src/configurator/components/ActionButtonsParameterGroups.vue.d.ts +6 -0
- package/src/configurator/components/ConfiguratorMain.vue.d.ts +2 -0
- package/src/configurator/components/ConfiguratorSidebar.vue.d.ts +13 -0
- package/src/configurator/components/CookieBanner.vue.d.ts +6 -0
- package/src/configurator/components/Overlays.vue.d.ts +842 -0
- package/src/configurator/components/PoweredBy.vue.d.ts +10 -0
- package/src/configurator/components/SceneContainer.vue.d.ts +2 -0
- package/src/configurator/components/StopConfiguringButton.vue.d.ts +2 -0
- package/src/configurator/components/addons/AddonsTrigger.vue.d.ts +34 -0
- package/src/configurator/components/addons/PossibleChildren.vue.d.ts +19 -0
- package/src/configurator/components/grid-view/-utils/CollapsedView.vue.d.ts +107 -0
- package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +88 -0
- package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +31 -0
- package/src/configurator/components/grid-view/-utils/GridViewElement.vue.d.ts +177 -0
- package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +23 -0
- package/src/configurator/components/grid-view/-utils/GridViewMaterialElement.vue.d.ts +44 -0
- package/src/configurator/components/grid-view/-utils/GridViewThumbnailsElement.vue.d.ts +60 -0
- package/src/configurator/components/grid-view/-utils/GridViewTooltipElement.vue.d.ts +8 -0
- package/src/configurator/components/grid-view/GridView.vue.d.ts +327 -0
- package/src/configurator/components/overlays/DeleteWarning.vue.d.ts +87 -0
- package/src/configurator/components/overlays/ElementDisabled.vue.d.ts +83 -0
- package/src/configurator/components/overlays/Export3D.vue.d.ts +6 -0
- package/src/configurator/components/overlays/GenericError.vue.d.ts +104 -0
- package/src/configurator/components/overlays/LoadProduct.vue.d.ts +13 -0
- package/src/configurator/components/overlays/NoDocking.vue.d.ts +83 -0
- package/src/configurator/components/overlays/SaveDraft.vue.d.ts +13 -0
- package/src/configurator/components/overlays/VariantWarning.vue.d.ts +99 -0
- package/src/configurator/components/overlays/ar/OpenAR.vue.d.ts +12 -0
- package/src/configurator/components/overlays/ar/OpenARView.vue.d.ts +26 -0
- package/src/configurator/components/parameters/BackParameterGroupButton.vue.d.ts +6 -0
- package/src/configurator/components/parameters/NextParameterGroupButton.vue.d.ts +6 -0
- package/src/configurator/components/parameters/OverflowIndicator.vue.d.ts +12 -0
- package/src/configurator/components/parameters/ParameterGroupArrowButton.vue.d.ts +10 -0
- package/src/configurator/components/parameters/ParameterGroupButton.vue.d.ts +45 -0
- package/src/configurator/components/parameters/ParameterGroups.vue.d.ts +8 -0
- package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +372 -0
- package/src/configurator/components/parameters/types/OptionsParameter.vue.d.ts +18 -0
- package/src/configurator/components/parameters/types/OptionsParameterValue.vue.d.ts +14 -0
- package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +374 -0
- package/src/configurator/components/parameters/types/RangeParameter.vue.d.ts +15 -0
- package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +369 -0
- package/src/configurator/components/parameters/types/UnknownParameter.vue.d.ts +12 -0
- package/src/configurator/components/top-bar/ARButton.vue.d.ts +2 -0
- package/src/configurator/components/utils/-utils/SceneOffsetResizer.d.ts +25 -0
- package/src/configurator/components/utils/-utils/popup-types.d.ts +1 -0
- package/src/configurator/components/utils/ArrowButton.vue.d.ts +8 -0
- package/src/configurator/components/utils/AspectRatioBox.vue.d.ts +9 -0
- package/src/configurator/components/utils/CheckBox.vue.d.ts +10 -0
- package/src/configurator/components/utils/FullscreenContainer.vue.d.ts +15 -0
- package/src/configurator/components/utils/GdprEmailInput.vue.d.ts +12 -0
- package/src/configurator/components/utils/HeightContainer.vue.d.ts +12 -0
- package/src/configurator/components/utils/ImageWithFallback.vue.d.ts +23 -0
- package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +18 -0
- package/src/configurator/components/utils/PopUp.vue.d.ts +79 -0
- package/src/configurator/components/utils/PrimaryButton.vue.d.ts +36 -0
- package/src/configurator/components/utils/RadioButton.vue.d.ts +25 -0
- package/src/configurator/components/utils/ScrollHint.vue.d.ts +13 -0
- package/src/configurator/components/utils/SearchInput.vue.d.ts +41 -0
- package/src/configurator/components/utils/Spinner.vue.d.ts +2 -0
- package/src/configurator/components/utils/StartConfiguringButton.vue.d.ts +31 -0
- package/src/configurator/components/utils/SvgIcon.vue.d.ts +8 -0
- package/src/configurator/components/utils/WordWrap.vue.d.ts +33 -0
- package/src/configurator/components/utils/transitions/SlideTransitionWrapper.vue.d.ts +10 -0
- package/src/configurator/embedding/drag-ghost.d.ts +11 -0
- package/src/configurator/embedding/drag-handler.d.ts +11 -0
- package/src/configurator/embedding/example/Embedding.vue.d.ts +67 -0
- package/src/configurator/embedding/example/GlbConfSwitch.vue.d.ts +21 -0
- package/src/configurator/embedding/example/GlbConfSwitchSecret.vue.d.ts +17 -0
- package/src/configurator/embedding/example/main.d.ts +1 -0
- package/src/configurator/embedding/exposed-analytics-callbacks.d.ts +10 -0
- package/src/configurator/embedding/exposed-api.d.ts +169 -0
- package/src/configurator/embedding/exposed-callbacks.d.ts +83 -0
- package/src/configurator/embedding/helper.d.ts +31 -0
- package/src/configurator/embedding/roomle-configurator-api.d.ts +65 -0
- package/src/configurator/embedding/types.d.ts +505 -0
- package/src/configurator/plugins/ar-service-plugin.d.ts +6 -0
- package/src/configurator/plugins/embedding-callbacks-plugin.d.ts +4 -0
- package/src/configurator/plugins/libs-plugin.d.ts +11 -0
- package/src/configurator/plugins/sdk-connector-plugin.d.ts +21 -0
- package/src/configurator/store/core-data.d.ts +25 -0
- package/src/configurator/store/core-state.d.ts +21 -0
- package/src/configurator/store/ui-state.d.ts +80 -0
- package/src/main.d.ts +24 -0
- package/src/planner/business-logic/general-room-parameters.d.ts +32 -0
- package/src/planner/business-logic/pre-defined-rooms.d.ts +4 -0
- package/src/planner/business-logic/rooms.d.ts +62 -0
- package/src/planner/business-logic/sdk-connector-planner.d.ts +67 -0
- package/src/planner/business-logic/selected-door-parameters.d.ts +10 -0
- package/src/planner/business-logic/selected-wall-parameters.d.ts +11 -0
- package/src/planner/business-logic/selected-window-parameters.d.ts +10 -0
- package/src/planner/components/DraggableButton.vue.d.ts +27 -0
- package/src/planner/components/ObjectList.vue.d.ts +19 -0
- package/src/planner/components/PlannerMain.vue.d.ts +2 -0
- package/src/planner/components/PlannerSidebar.vue.d.ts +15 -0
- package/src/planner/components/RotateButton.vue.d.ts +14 -0
- package/src/planner/components/RotationButtonWrapper.vue.d.ts +6 -0
- package/src/planner/components/RotationIndicator.vue.d.ts +69 -0
- package/src/planner/components/StartPlannerButton.vue.d.ts +2 -0
- package/src/planner/components/catalog/CatalogTrigger.vue.d.ts +2 -0
- package/src/planner/components/measurements/MeasurementDisplayComponent.vue.d.ts +48 -0
- package/src/planner/components/measurements/ShowConstructionMeasurements.vue.d.ts +8 -0
- package/src/planner/components/measurements/ShowFloorsAreasData.vue.d.ts +8 -0
- package/src/planner/components/measurements/ShowMeasurementLineDimension.vue.d.ts +8 -0
- package/src/planner/components/measurements/ShowObjectMeasurements.vue.d.ts +10 -0
- package/src/planner/components/measurements/ShowWallMeasurements.vue.d.ts +8 -0
- package/src/planner/components/measurements/utils/IndicatorArrow.vue.d.ts +14 -0
- package/src/planner/components/measurements/utils/IndicatorLine.vue.d.ts +21 -0
- package/src/planner/components/measurements/utils/MeasurementText.vue.d.ts +19 -0
- package/src/planner/components/overlays/ProductList.vue.d.ts +24 -0
- package/src/planner/components/overlays/ProductListButton.vue.d.ts +2 -0
- package/src/planner/components/overlays/ProductSettings.vue.d.ts +14 -0
- package/src/planner/components/overlays/RoomSidebar.vue.d.ts +14 -0
- package/src/planner/components/overlays/product-list/LoadProductButton.vue.d.ts +2 -0
- package/src/planner/components/overlays/product-list/ProductListEntry.vue.d.ts +19 -0
- package/src/planner/components/overlays/product-list/ProductListType.vue.d.ts +23 -0
- package/src/planner/components/overlays/product-list/ProductsTotalPrice.vue.d.ts +12 -0
- package/src/planner/components/overlays/product-settings/ProductLabelButton.vue.d.ts +12 -0
- package/src/planner/components/overlays/product-settings/ProductPositions.vue.d.ts +10 -0
- package/src/planner/components/overlays/product-settings/ProductRangeControl.vue.d.ts +65 -0
- package/src/planner/components/overlays/product-settings/ProductRotation.vue.d.ts +8 -0
- package/src/planner/components/overlays/product-settings/ProductSettingsControls.vue.d.ts +2 -0
- package/src/planner/components/overlays/product-settings/ProductSettingsInfos.vue.d.ts +13 -0
- package/src/planner/components/overlays/product-settings/ProductSize.vue.d.ts +8 -0
- package/src/planner/components/overlays/product-settings/ProductXYZChanger.vue.d.ts +33 -0
- package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +382 -0
- package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +5479 -0
- package/src/planner/components/overlays/rooms/ElementLengthScaling.vue.d.ts +111 -0
- package/src/planner/components/overlays/rooms/FloorColor.vue.d.ts +3822 -0
- package/src/planner/components/overlays/rooms/IconSwitch.vue.d.ts +46 -0
- package/src/planner/components/overlays/rooms/ParameterSwitch.vue.d.ts +42 -0
- package/src/planner/components/overlays/rooms/RoomDrawControl.vue.d.ts +36 -0
- package/src/planner/components/overlays/rooms/RoomDrawControlsDesc.vue.d.ts +2 -0
- package/src/planner/components/overlays/rooms/RoomGeneralSettings.vue.d.ts +17 -0
- package/src/planner/components/overlays/rooms/RoomRangeParameter.vue.d.ts +47 -0
- package/src/planner/components/overlays/rooms/RoomUnitSwitch.vue.d.ts +84 -0
- package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +24 -0
- package/src/planner/components/overlays/rooms/SampleRooms.vue.d.ts +14 -0
- package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +16 -0
- package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +17 -0
- package/src/planner/components/overlays/rooms/utils/ral-colors.d.ts +1113 -0
- package/src/planner/components/utils/AddRoomButton.vue.d.ts +2 -0
- package/src/planner/components/utils/AssureConfiguratorHandlers.vue.d.ts +6 -0
- package/src/planner/components/utils/AssureSdkHandlers.vue.d.ts +7 -0
- package/src/planner/components/utils/ConfiguratorParameter.vue.d.ts +19 -0
- package/src/planner/components/utils/InteractionHeader.vue.d.ts +10 -0
- package/src/planner/components/utils/MeasurementsString.vue.d.ts +18 -0
- package/src/planner/components/utils/WallSideIcon.vue.d.ts +23 -0
- package/src/planner/components/utils/sidebar-nav/NavIndicatorLine.vue.d.ts +14 -0
- package/src/planner/components/utils/sidebar-nav/RoomNavOptionElement.vue.d.ts +49 -0
- package/src/planner/components/utils/sidebar-nav/SidebarNav.vue.d.ts +50 -0
- package/src/planner/store/planner-core-data.d.ts +20 -0
- package/src/planner/store/planner-ui-state.d.ts +50 -0
- package/src/planner/utils/interaction.d.ts +4 -0
- package/src/planner/utils/planner-sidebar.d.ts +16 -0
- package/src/planner/utils/rotation-calculation.d.ts +7 -0
- package/src/viewer/business-logic/sdk-connector-viewer.d.ts +19 -0
- package/src/viewer/components/ARButtonViewer.vue.d.ts +2 -0
- package/src/viewer/components/ViewerMain.vue.d.ts +146 -0
- package/src/viewer/components/ViewerSidebar.vue.d.ts +33 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
2
|
+
import { default as ConfiguratorUiCallbacks } from '@roomle/web-sdk/lib/definitions/configurator-core/src/services/configurator-ui-callback';
|
|
3
|
+
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
4
|
+
import { Connector } from '../../connector';
|
|
5
|
+
|
|
6
|
+
export declare const attachDragListeners: (el: HTMLElement, instance: Connector<RoomleConfigurator | RoomlePlanner, ConfiguratorUiCallbacks>, signal: AbortSignal) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const RML_DRAG_IN_STYLES_ID = "rml-drag-in-styles";
|
|
2
|
+
export declare const RML_DRAG_IN_DRAG_ELEMENT_ID = "rml-drag-in-drag-element";
|
|
3
|
+
export declare const RML_DRAG_IN_OVERLAY_CSS_CLASS = "rml-drag-in-overlay";
|
|
4
|
+
export declare const RML_DRAG_IN_DRAG_GHOST_CSS_CLASS = "rml-drag-in-drag-ghost";
|
|
5
|
+
export declare const RML_DRAG_IN_FADE_IN_ANIMATION = "rml-drag-in-fade-in";
|
|
6
|
+
export declare const RML_DRAG_IN_FADE_OUT_ANIMATION = "rml-drag-in-fade-out";
|
|
7
|
+
export declare const RML_CSS_CLASSES: {
|
|
8
|
+
readonly DISPLAY_NONE: "rml-display-none";
|
|
9
|
+
};
|
|
10
|
+
export declare const TARGET_OPACITY = 0.5;
|
|
11
|
+
export declare const ANIMATION_DURATION = "250ms";
|
|
12
|
+
export declare const ANIMATION_DIRECTION = "forwards";
|
|
13
|
+
export declare const RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS = "@keyframes rml-drag-in-fade-in {from{opacity: 0;}to {opacity: 0.5;}}";
|
|
14
|
+
export declare const RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS = "@keyframes rml-drag-in-fade-out {from{opacity: 0.5;}to {opacity: 0;}}";
|
|
15
|
+
export declare const RML_DRAG_GHOST_FADE_IN = "rml-drag-in-fade-in 250ms forwards";
|
|
16
|
+
export declare const RML_DRAG_GHOST_FADE_OUT = "rml-drag-in-fade-out 250ms forwards";
|
|
17
|
+
export declare const RML_DRAG_IN_FALLBACK_GHOST_URL = "https://res.cloudinary.com/roomle/image/upload/v1729679975/fallback_afpyqr.jpg";
|
|
18
|
+
export declare const RML_DRAG_IN_FALLBACK_GHOST_WIDTH = 112;
|
|
19
|
+
export declare const RML_DRAG_IN_FALLBACK_GHOST_HEIGHT = 112;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RapiId } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
2
|
+
import { ExposedApi } from '../../../../src/configurator/embedding/exposed-api';
|
|
3
|
+
import { DragInSettings, EmbeddingPlugin, EmbeddingPluginMode } from './types';
|
|
4
|
+
import { PossibleCustomViewsAndMain } from '../../../../src/configurator/embedding/types';
|
|
5
|
+
import { DragInStrategy } from './strategy/types';
|
|
6
|
+
import { OnBeforeUpdateDragGhost } from '../../../common/src/utils/drag';
|
|
7
|
+
|
|
8
|
+
export declare class DragIn extends EmbeddingPlugin implements DragInStrategy {
|
|
9
|
+
options: DragInSettings;
|
|
10
|
+
private _strategy;
|
|
11
|
+
private _customDragSignal;
|
|
12
|
+
private _injectStyles;
|
|
13
|
+
private _initializeDragGhost;
|
|
14
|
+
constructor(instance: ExposedApi, mainDomElement: HTMLIFrameElement | HTMLBodyElement, mode: EmbeddingPluginMode, viewName: PossibleCustomViewsAndMain);
|
|
15
|
+
init(): Promise<void>;
|
|
16
|
+
get isDragging(): boolean;
|
|
17
|
+
dragStart(id: RapiId, event: DragEvent | TouchEvent | MouseEvent, type?: string): void;
|
|
18
|
+
dragUpdate(event: DragEvent | TouchEvent | MouseEvent): void;
|
|
19
|
+
dragEnd(): void;
|
|
20
|
+
touchStart(id: RapiId, event: TouchEvent, type?: string): void;
|
|
21
|
+
touchMove(event: TouchEvent): void;
|
|
22
|
+
touchEnd(): void;
|
|
23
|
+
dispose(): void;
|
|
24
|
+
beforeUpdateGhost(handler: OnBeforeUpdateDragGhost): void;
|
|
25
|
+
registerCustomDrag({ customDragStart, customDragEnd, customDragUpdate, beforeUpdateGhost, }: {
|
|
26
|
+
customDragStart: (event: MouseEvent | TouchEvent) => void;
|
|
27
|
+
customDragEnd: (event: MouseEvent | TouchEvent) => void;
|
|
28
|
+
customDragUpdate: (event: MouseEvent | TouchEvent) => void;
|
|
29
|
+
beforeUpdateGhost?: OnBeforeUpdateDragGhost;
|
|
30
|
+
}): void;
|
|
31
|
+
unregisterCustomDrag(): void;
|
|
32
|
+
releaseInput(event: DragEvent | TouchEvent | MouseEvent): void;
|
|
33
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DragInStrategy } from './types';
|
|
2
|
+
import { RapiId } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
3
|
+
import { ExposedApi } from '../../../../../src/configurator/embedding/exposed-api';
|
|
4
|
+
import { DragInSettings } from '../types';
|
|
5
|
+
import { PossibleCustomViewsAndMain } from '../../../../../src/configurator/embedding/types';
|
|
6
|
+
import { OnBeforeUpdateDragGhost } from '../../../../common/src/utils/drag';
|
|
7
|
+
|
|
8
|
+
export declare class DragInFromCustomViewStrategy implements DragInStrategy {
|
|
9
|
+
private _options;
|
|
10
|
+
private _instance;
|
|
11
|
+
private _viewName;
|
|
12
|
+
private _currentCustomDrag;
|
|
13
|
+
private _currentBb;
|
|
14
|
+
private _startTarget;
|
|
15
|
+
private _onBeforeUpdateDrag;
|
|
16
|
+
isDragging: boolean;
|
|
17
|
+
constructor(instance: ExposedApi, options: DragInSettings, viewName: PossibleCustomViewsAndMain);
|
|
18
|
+
beforeUpdateGhost(handler: OnBeforeUpdateDragGhost): void;
|
|
19
|
+
_dragStart(id: RapiId, event: MouseEvent | TouchEvent, type?: string): Promise<void>;
|
|
20
|
+
_dragUpdate(event: MouseEvent | TouchEvent): void;
|
|
21
|
+
_dragEnd(): void;
|
|
22
|
+
dragStart(id: RapiId, event: MouseEvent | TouchEvent, type: string): void;
|
|
23
|
+
dragEnd(): void;
|
|
24
|
+
dragUpdate(event: MouseEvent | TouchEvent): void;
|
|
25
|
+
touchStart(id: RapiId, event: TouchEvent, type?: string): void;
|
|
26
|
+
touchMove(event: TouchEvent): void;
|
|
27
|
+
touchEnd(): void;
|
|
28
|
+
dispose(): void;
|
|
29
|
+
private _resetStartTarget;
|
|
30
|
+
releaseInput(_event: TouchEvent | MouseEvent): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DragInStrategy } from './types';
|
|
2
|
+
import { RapiId } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
3
|
+
import { ExposedApi } from '../../../../../src/configurator/embedding/exposed-api';
|
|
4
|
+
import { DragInOptions } from '../types';
|
|
5
|
+
import { OnBeforeUpdateDragGhost } from '../../../../common/src/utils/drag';
|
|
6
|
+
|
|
7
|
+
export declare class DragInFromWebsiteStrategy implements DragInStrategy {
|
|
8
|
+
private _options;
|
|
9
|
+
private _instance;
|
|
10
|
+
private _mainDomElement;
|
|
11
|
+
private _currentDrag;
|
|
12
|
+
private _currentTouch;
|
|
13
|
+
private _firefoxDragPosition;
|
|
14
|
+
private _onBeforeUpdateDrag;
|
|
15
|
+
isDragging: boolean;
|
|
16
|
+
private _firefoxFallback;
|
|
17
|
+
constructor(instance: ExposedApi, mainDomElement: HTMLIFrameElement, options: DragInOptions);
|
|
18
|
+
beforeUpdateGhost(handler: OnBeforeUpdateDragGhost): void;
|
|
19
|
+
dragStart(id: RapiId, event: DragEvent | TouchEvent, type?: string): void;
|
|
20
|
+
dragUpdate(event: DragEvent | TouchEvent): void;
|
|
21
|
+
dragEnd(): void;
|
|
22
|
+
touchStart(id: RapiId, event: TouchEvent, type?: string): void;
|
|
23
|
+
touchMove(event: TouchEvent): void;
|
|
24
|
+
touchEnd(): void;
|
|
25
|
+
dispose(): void;
|
|
26
|
+
releaseInput(_event: DragEvent | TouchEvent | MouseEvent): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RapiId } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
2
|
+
import { OnBeforeUpdateDragGhost } from '../../../../common/src/utils/drag';
|
|
3
|
+
|
|
4
|
+
export interface DragInStrategy {
|
|
5
|
+
isDragging: boolean;
|
|
6
|
+
dragStart(id: RapiId, event: DragEvent | TouchEvent | MouseEvent, type: string): void;
|
|
7
|
+
dragUpdate(event: DragEvent | TouchEvent | MouseEvent): void;
|
|
8
|
+
dragEnd(): void;
|
|
9
|
+
touchStart(id: RapiId, event: TouchEvent, type: string): void;
|
|
10
|
+
touchMove(event: TouchEvent): void;
|
|
11
|
+
touchEnd(): void;
|
|
12
|
+
beforeUpdateGhost(handler: OnBeforeUpdateDragGhost): void;
|
|
13
|
+
releaseInput(event: DragEvent | TouchEvent | MouseEvent): void;
|
|
14
|
+
dispose(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ExposedApi } from '../../../../src/configurator/embedding/exposed-api';
|
|
2
|
+
import { PossibleCustomViewsAndMain } from '../../../../src/configurator/embedding/types';
|
|
3
|
+
import { PointRect } from '../../../common/src/utils/drag';
|
|
4
|
+
|
|
5
|
+
export type EmbeddingPluginMode = 'website' | 'custom-view';
|
|
6
|
+
export declare class EmbeddingPlugin {
|
|
7
|
+
protected _mainDomElement: HTMLIFrameElement | HTMLBodyElement;
|
|
8
|
+
protected _instance: ExposedApi;
|
|
9
|
+
protected _mode: EmbeddingPluginMode;
|
|
10
|
+
protected _viewName: PossibleCustomViewsAndMain;
|
|
11
|
+
constructor(instance: ExposedApi, iframe: HTMLIFrameElement | HTMLBodyElement, mode: EmbeddingPluginMode, viewName: PossibleCustomViewsAndMain);
|
|
12
|
+
init(): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export interface DragInSettings {
|
|
15
|
+
dragInOverlapX?: number;
|
|
16
|
+
dragInOverlapY?: number;
|
|
17
|
+
fingerSize?: number;
|
|
18
|
+
touchDragDelay?: number;
|
|
19
|
+
touchDragEpsilon?: number;
|
|
20
|
+
customDragDelay?: number;
|
|
21
|
+
customDragEpsilon?: number;
|
|
22
|
+
}
|
|
23
|
+
export interface DragGhostOptions {
|
|
24
|
+
external?: boolean;
|
|
25
|
+
visibleIn?: PointRect;
|
|
26
|
+
hiddenIn?: PointRect;
|
|
27
|
+
url?: string;
|
|
28
|
+
width?: number;
|
|
29
|
+
height?: number;
|
|
30
|
+
element?: HTMLElement;
|
|
31
|
+
}
|
|
32
|
+
export interface DragInOptions {
|
|
33
|
+
settings?: DragInSettings;
|
|
34
|
+
ghost?: DragGhostOptions;
|
|
35
|
+
mode?: EmbeddingPluginMode;
|
|
36
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Nullable } from '../../../src/common/utils/types';
|
|
2
|
+
|
|
3
|
+
export declare const getComputedStyleCached: (element: HTMLElement) => CSSStyleDeclaration;
|
|
4
|
+
export declare const convertToPixels: (value: string, unit: string, element: HTMLElement) => number;
|
|
5
|
+
export declare const getXY: (element: HTMLElement, event: DragEvent | TouchEvent, fallback?: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
}) => {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const extractClientXY: (event: MouseEvent | DragEvent | TouchEvent, fallback?: Nullable<{
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}>) => {
|
|
16
|
+
clientX: number;
|
|
17
|
+
clientY: number;
|
|
18
|
+
};
|
package/src/App.vue.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
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;
|
|
3
|
+
export declare const __VLS_globalTypesStart: {};
|
|
4
|
+
declare module 'vue' {
|
|
5
|
+
interface GlobalComponents {
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
|
|
10
|
+
type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
|
|
11
|
+
type __VLS_GlobalComponents = import('vue').GlobalComponents;
|
|
12
|
+
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
13
|
+
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
14
|
+
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
15
|
+
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
16
|
+
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
17
|
+
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
18
|
+
item: T[number],
|
|
19
|
+
key: number,
|
|
20
|
+
index: number
|
|
21
|
+
][];
|
|
22
|
+
function __VLS_getVForSourceType<T extends {
|
|
23
|
+
[Symbol.iterator](): Iterator<any>;
|
|
24
|
+
}>(source: T): [
|
|
25
|
+
item: T extends {
|
|
26
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
27
|
+
} ? T1 : never,
|
|
28
|
+
key: number,
|
|
29
|
+
index: undefined
|
|
30
|
+
][];
|
|
31
|
+
function __VLS_getVForSourceType<T extends number | {
|
|
32
|
+
[Symbol.iterator](): Iterator<any>;
|
|
33
|
+
}>(source: T): [
|
|
34
|
+
item: number | (Exclude<T, number> extends {
|
|
35
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
36
|
+
} ? T1 : never),
|
|
37
|
+
key: number,
|
|
38
|
+
index: undefined
|
|
39
|
+
][];
|
|
40
|
+
function __VLS_getVForSourceType<T>(source: T): [
|
|
41
|
+
item: T[keyof T],
|
|
42
|
+
key: keyof T,
|
|
43
|
+
index: number
|
|
44
|
+
][];
|
|
45
|
+
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
46
|
+
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
47
|
+
function __VLS_directiveFunction<T>(dir: T): T extends import('vue').ObjectDirective<infer E, infer V> | import('vue').FunctionDirective<infer E, infer V> ? (value: V) => void : T;
|
|
48
|
+
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
49
|
+
function __VLS_makeOptional<T>(t: T): {
|
|
50
|
+
[K in keyof T]?: T[K];
|
|
51
|
+
};
|
|
52
|
+
function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
|
|
53
|
+
type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? {
|
|
54
|
+
[P in N]: C;
|
|
55
|
+
} : {};
|
|
56
|
+
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
57
|
+
[K in N0]: LocalComponents[N1];
|
|
58
|
+
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
59
|
+
[K in N0]: LocalComponents[N2];
|
|
60
|
+
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
61
|
+
[K in N0]: LocalComponents[N3];
|
|
62
|
+
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
63
|
+
[K in N0]: __VLS_GlobalComponents[N1];
|
|
64
|
+
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
65
|
+
[K in N0]: __VLS_GlobalComponents[N2];
|
|
66
|
+
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
67
|
+
[K in N0]: __VLS_GlobalComponents[N3];
|
|
68
|
+
} : {
|
|
69
|
+
[K in N0]: unknown;
|
|
70
|
+
};
|
|
71
|
+
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
|
|
72
|
+
$props: infer Props;
|
|
73
|
+
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
|
|
74
|
+
__ctx?: {
|
|
75
|
+
attrs?: any;
|
|
76
|
+
slots?: K extends {
|
|
77
|
+
$slots: infer Slots;
|
|
78
|
+
} ? Slots : any;
|
|
79
|
+
emit?: K extends {
|
|
80
|
+
$emit: infer Emit;
|
|
81
|
+
} ? Emit : any;
|
|
82
|
+
} & {
|
|
83
|
+
props?: (K extends {
|
|
84
|
+
$props: infer Props;
|
|
85
|
+
} ? Props : any) & Record<string, unknown>;
|
|
86
|
+
expose?(exposed: K): void;
|
|
87
|
+
};
|
|
88
|
+
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
|
|
89
|
+
__ctx?: {
|
|
90
|
+
attrs?: any;
|
|
91
|
+
expose?: any;
|
|
92
|
+
slots?: any;
|
|
93
|
+
emit?: any;
|
|
94
|
+
props?: {} & Record<string, unknown>;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
|
98
|
+
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : [];
|
|
99
|
+
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
100
|
+
__ctx?: infer Ctx;
|
|
101
|
+
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>;
|
|
102
|
+
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
103
|
+
__ctx?: {
|
|
104
|
+
props?: infer P;
|
|
105
|
+
};
|
|
106
|
+
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
|
|
107
|
+
type __VLS_IsFunction<T, K> = K extends keyof T ? __VLS_IsAny<T[K]> extends false ? unknown extends T[K] ? false : true : false : false;
|
|
108
|
+
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
109
|
+
/**
|
|
110
|
+
* emit
|
|
111
|
+
*/
|
|
112
|
+
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
113
|
+
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
|
|
114
|
+
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
|
|
115
|
+
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
|
|
116
|
+
[K in E & string]: (...args: A) => void;
|
|
117
|
+
} : never : never;
|
|
118
|
+
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
|
|
119
|
+
[K in keyof T]: T[K] extends any[] ? {
|
|
120
|
+
(...args: T[K]): void;
|
|
121
|
+
} : never;
|
|
122
|
+
}>>;
|
|
123
|
+
type __VLS_PrettifyGlobal<T> = {
|
|
124
|
+
[K in keyof T]: T[K];
|
|
125
|
+
} & {};
|
|
126
|
+
}
|
|
127
|
+
export declare const __VLS_globalTypesEnd: {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RoomleSdkWrapper } from '../../configurator/business-logic/roomle-sdk-wrapper';
|
|
2
|
+
import { UiInitData } from '../../configurator/embedding/types';
|
|
3
|
+
import { CallbackApi } from '../../configurator/business-logic/sdk-connector';
|
|
4
|
+
|
|
5
|
+
export declare abstract class Connector {
|
|
6
|
+
abstract readonly api: Promise<any>;
|
|
7
|
+
abstract init(sdkWrapper: RoomleSdkWrapper, element: HTMLElement, initData: UiInitData): Promise<void>;
|
|
8
|
+
addCallback<K extends keyof CallbackApi>(key: K, fun: CallbackApi[K], allowMultiple?: boolean): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type EventCallback<T = unknown> = (payload: T) => void;
|
|
2
|
+
type EventsDataMap<T> = Map<string, T>;
|
|
3
|
+
export default class EventEmitter {
|
|
4
|
+
private _eventsMap;
|
|
5
|
+
private _eventsDataMap;
|
|
6
|
+
emit<T>(event: string, data?: T): void;
|
|
7
|
+
on<T>(event: string, callback: EventCallback<T>): void;
|
|
8
|
+
off<T>(event: string, callback: EventCallback<T>): void;
|
|
9
|
+
getEventsDataMap(): EventsDataMap<any>;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SharedUiState } from '../store';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {
|
|
4
|
+
sharedUiState(): SharedUiState;
|
|
5
|
+
isDesktop(): boolean;
|
|
6
|
+
isExpanded(): boolean;
|
|
7
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
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,9 @@
|
|
|
1
|
+
import { SharedUiState } from '../store';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {
|
|
4
|
+
sharedUiState(): SharedUiState;
|
|
5
|
+
isViewerOnMobile(): boolean;
|
|
6
|
+
isFullscreen(): boolean;
|
|
7
|
+
isExpanded(): boolean;
|
|
8
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
count: NumberConstructor;
|
|
3
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
count: NumberConstructor;
|
|
5
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BUTTON_ACTIONS } from '../../configurator/store/ui-state';
|
|
2
|
+
import { EventBus } from '../business-logic/event-bus';
|
|
3
|
+
import { CloseReason, ToggleCallback } from '../utils/types';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
7
|
+
icToggleEvent: EventBus<ToggleCallback>;
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
10
|
+
icToggleEvent: EventBus<ToggleCallback>;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BUTTON_ACTIONS } from '../../configurator/store/ui-state';
|
|
2
|
+
import { EventBus } from '../business-logic/event-bus';
|
|
3
|
+
import { CloseReason, ToggleCallback } from '../utils/types';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
7
|
+
embeddedCatalogUrl: string;
|
|
8
|
+
header: string;
|
|
9
|
+
icToggleEvent: EventBus<ToggleCallback>;
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
12
|
+
embeddedCatalogUrl: string;
|
|
13
|
+
header: string;
|
|
14
|
+
icToggleEvent: EventBus<ToggleCallback>;
|
|
15
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BUTTON_ACTIONS } from '../../configurator/store/ui-state';
|
|
2
|
+
import { EventBus } from '../business-logic/event-bus';
|
|
3
|
+
import { CloseReason, ToggleCallback } from '../utils/types';
|
|
4
|
+
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
6
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
7
|
+
embeddedUrl: string;
|
|
8
|
+
icToggleEvent: EventBus<ToggleCallback>;
|
|
9
|
+
customViewName?: keyof import('../../configurator/embedding/types').CustomViews;
|
|
10
|
+
showHeader?: boolean;
|
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
13
|
+
embeddedUrl: string;
|
|
14
|
+
icToggleEvent: EventBus<ToggleCallback>;
|
|
15
|
+
customViewName?: keyof import('../../configurator/embedding/types').CustomViews;
|
|
16
|
+
showHeader?: boolean;
|
|
17
|
+
}> & Readonly<{}>, {
|
|
18
|
+
showHeader: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
20
|
+
header?(_: {}): any;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
"placeholder-icon"?(_: {
|
|
3
|
+
runOnClick: (method?: (_expanded?: boolean) => void) => void;
|
|
4
|
+
}): any;
|
|
5
|
+
"expanded-icons"?(_: {}): any;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
isCtaButton: BooleanConstructor;
|
|
5
|
+
onClick: PropType<(_payload: MouseEvent) => void>;
|
|
6
|
+
isActive: BooleanConstructor;
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
isCtaButton: BooleanConstructor;
|
|
9
|
+
onClick: PropType<(_payload: MouseEvent) => void>;
|
|
10
|
+
isActive: BooleanConstructor;
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
isCtaButton: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
environment: string;
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
4
|
+
environment: string;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
6
|
+
"stage-scene-view-port"?(_: {}): any;
|
|
7
|
+
stage?(_: {}): any;
|
|
8
|
+
bottom?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -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,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,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,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,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
rise: BooleanConstructor;
|
|
3
|
+
}>, {}, {}, {
|
|
4
|
+
isFullscreen(): boolean;
|
|
5
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
rise: BooleanConstructor;
|
|
7
|
+
}>> & Readonly<{}>, {
|
|
8
|
+
rise: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CustomViewSettingsForIframe } from '../../configurator/embedding/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
+
customViewName: keyof import('../../configurator/embedding/types').CustomViews;
|
|
5
|
+
forceCustomView?: boolean;
|
|
6
|
+
}, {
|
|
7
|
+
checkPromise: Promise<boolean>;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
customViewName: keyof import('../../configurator/embedding/types').CustomViews;
|
|
10
|
+
forceCustomView?: boolean;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
customView?(_: {
|
|
13
|
+
settings: CustomViewSettingsForIframe<any>;
|
|
14
|
+
}): any;
|
|
15
|
+
regularView?(_: {}): any;
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|