@roomle/embedding-lib 5.13.0 → 5.15.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/docs/md/web/embedding/CHANGELOG.md +17 -2
  2. package/{drag-in-Do47zdKL.mjs → drag-in-C6gLvrDx.mjs} +2 -2
  3. package/{drag-in-CYmR1HFI.mjs → drag-in-w_TrusdP.mjs} +1 -1
  4. package/{from-custom-view-DYkvyOw3.mjs → from-custom-view-BEcgFlAL.mjs} +1 -1
  5. package/{from-custom-view-BVWf7SQ7.mjs → from-custom-view-jmf3K6AT.mjs} +1 -1
  6. package/from-website-Ckh5GB2h.mjs +4 -0
  7. package/{from-website-DDMDPp-F.mjs → from-website-VCMg3teu.mjs} +2 -1
  8. package/package.json +2 -2
  9. package/packages/common/src/utils/init-data.d.ts +1 -0
  10. package/packages/embedding-lib/src/connector.d.ts +1 -1
  11. package/packages/embedding-lib/src/embedding-lib.d.ts +1 -1
  12. package/roomle-embedding-lib.es.js +9 -8
  13. package/roomle-embedding-lib.es.min.js +1 -1
  14. package/roomle-embedding-lib.umd.js +2 -2
  15. package/roomle-embedding-lib.umd.min.js +3 -3
  16. package/src/common/business-logic/event-emitter.d.ts +4 -1
  17. package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts +86 -965
  18. package/src/common/components/collection-view/CollectionViewElement.vue.d.ts +7 -0
  19. package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +3 -0
  20. package/src/common/components/overlays/PartList.vue.d.ts +3 -4
  21. package/src/common/components/overlays/bottom-bar/CloseView.vue.d.ts +105 -60
  22. package/src/common/components/overlays/part-list/partlist-setup.d.ts +3 -4
  23. package/src/common/composables/use-configurator-api.d.ts +2 -2
  24. package/src/common/composables/use-core-instances.d.ts +2 -2
  25. package/src/common/composables/use-event-emitter-listener.d.ts +7 -1
  26. package/src/common/composables/use-open-close-anim.d.ts +9 -0
  27. package/src/common/composables/use-planner-actions-visibility.d.ts +1 -1
  28. package/src/common/composables/use-static-item-parameters.d.ts +2 -2
  29. package/src/common/utils/helper.d.ts +6 -7
  30. package/src/common/utils/parameters.d.ts +2 -2
  31. package/src/common/utils/types.d.ts +9 -1
  32. package/src/common/utils/ui-actions.d.ts +2 -3
  33. package/src/configurator/business-logic/roomle-sdk-wrapper.d.ts +3 -4
  34. package/src/configurator/business-logic/sdk-connector-configurator.d.ts +3 -4
  35. package/src/configurator/business-logic/sdk-connector.d.ts +7 -8
  36. package/src/configurator/components/Overlays.vue.d.ts +614 -356
  37. package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +2 -2
  38. package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +2 -2
  39. package/src/configurator/components/grid-view/GridView.vue.d.ts +25 -319
  40. package/src/configurator/components/overlays/DeleteWarning.vue.d.ts +102 -59
  41. package/src/configurator/components/overlays/ElementDisabled.vue.d.ts +102 -59
  42. package/src/configurator/components/overlays/GenericError.vue.d.ts +102 -59
  43. package/src/configurator/components/overlays/NoDocking.vue.d.ts +102 -59
  44. package/src/configurator/components/overlays/VariantWarning.vue.d.ts +102 -59
  45. package/src/configurator/components/overlays/ar/OpenAR.vue.d.ts +2 -2
  46. package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +27 -320
  47. package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +27 -320
  48. package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +27 -320
  49. package/src/configurator/components/utils/PopUp.vue.d.ts +42 -72
  50. package/src/configurator/embedding/exposed-api.d.ts +7 -4
  51. package/src/configurator/embedding/exposed-callbacks.d.ts +4 -1
  52. package/src/configurator/embedding/helper.d.ts +4 -3
  53. package/src/configurator/embedding/types.d.ts +5 -0
  54. package/src/planner/business-logic/sdk-connector-planner.d.ts +5 -5
  55. package/src/planner/components/ObjectList.vue.d.ts +4 -2
  56. package/src/planner/components/PlannerSidebar.vue.d.ts +3 -1
  57. package/src/planner/components/measurements/MeasurementDisplayComponent.vue.d.ts +4 -0
  58. package/src/planner/components/measurements/ShowWallAtticMeasurements.vue.d.ts +8 -0
  59. package/src/planner/components/measurements/utils/AtticLabel.vue.d.ts +24 -0
  60. package/src/planner/components/measurements/utils/AtticLine.vue.d.ts +26 -0
  61. package/src/planner/components/overlays/ProductList.vue.d.ts +2 -2
  62. package/src/planner/components/overlays/ProductSettings.vue.d.ts +3 -4
  63. package/src/planner/components/overlays/product-list/ProductListEntry.vue.d.ts +2 -2
  64. package/src/planner/components/overlays/product-list/ProductListType.vue.d.ts +2 -2
  65. package/src/planner/components/overlays/product-settings/ProductPositions.vue.d.ts +3 -3
  66. package/src/planner/components/overlays/product-settings/ProductRotation.vue.d.ts +3 -3
  67. package/src/planner/components/overlays/product-settings/ProductSettingsInfos.vue.d.ts +3 -3
  68. package/src/planner/components/overlays/product-settings/ProductSize.vue.d.ts +3 -3
  69. package/src/planner/components/overlays/product-settings/ProductXYZChanger.vue.d.ts +3 -3
  70. package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +28 -321
  71. package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +45 -326
  72. package/src/planner/components/overlays/rooms/ElementLengthScaling.vue.d.ts +2 -2
  73. package/src/planner/components/overlays/rooms/FloorColor.vue.d.ts +14 -2
  74. package/src/planner/components/overlays/rooms/RoomGeneralSettings.vue.d.ts +2 -2
  75. package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +2 -2
  76. package/src/planner/components/overlays/rooms/SlopingRoof.vue.d.ts +2 -2
  77. package/src/planner/components/overlays/rooms/SlopingRoofDirection.vue.d.ts +2 -2
  78. package/src/planner/components/overlays/rooms/SlopingRoofDirectionTooltip.vue.d.ts +2 -0
  79. package/src/planner/components/overlays/rooms/SlopingRoofTooltip.vue.d.ts +2 -0
  80. package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +2 -2
  81. package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +3 -4
  82. package/src/planner/components/utils/AssureConfiguratorHandlers.vue.d.ts +1 -1
  83. package/src/planner/components/utils/AssureSdkHandlers.vue.d.ts +1 -1
  84. package/src/planner/utils/planner-sidebar.d.ts +2 -2
  85. package/from-website-Dx2SUftr.mjs +0 -4
@@ -1,15 +1,17 @@
1
1
  import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
2
2
  import { CollectionViewUiState } from '../../common/store/collection-view-state';
3
+ import { CollectionViewElement } from '../../common/components/collection-view/-utils/types';
4
+ import { UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
3
5
 
4
6
  declare const _default: import('vue').DefineComponent<{
5
- objects: RapiTagForUi;
7
+ element: CollectionViewElement<UiPossibleChildTag | RapiTagForUi>;
6
8
  isExpanded?: boolean;
7
9
  onExpand?: () => void;
8
10
  onCollapse?: (_payload: MouseEvent) => void;
9
11
  state: CollectionViewUiState;
10
12
  isDesktop: boolean;
11
13
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
- objects: RapiTagForUi;
14
+ element: CollectionViewElement<UiPossibleChildTag | RapiTagForUi>;
13
15
  isExpanded?: boolean;
14
16
  onExpand?: () => void;
15
17
  onCollapse?: (_payload: MouseEvent) => void;
@@ -6,7 +6,9 @@ declare const _default: import('vue').DefineComponent<{
6
6
  isLoading?: boolean;
7
7
  resetScroll: () => void;
8
8
  icToggleEvent: EventBus<ToggleCallback>;
9
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
9
+ }, {
10
+ layer0: import('vue').Ref<string, string>;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
10
12
  onToggleExpand?: () => void;
11
13
  isLoading?: boolean;
12
14
  resetScroll: () => void;
@@ -14,6 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
14
14
  hasBubble?: boolean;
15
15
  opaqueBubble?: boolean;
16
16
  isLineBoundBox?: boolean;
17
+ hideArrows?: boolean;
18
+ greyBubbleNoOpacity?: boolean;
17
19
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
20
  measurements: MeasurementType;
19
21
  styleFactor: number;
@@ -23,6 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
23
25
  hasBubble?: boolean;
24
26
  opaqueBubble?: boolean;
25
27
  isLineBoundBox?: boolean;
28
+ hideArrows?: boolean;
29
+ greyBubbleNoOpacity?: boolean;
26
30
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
27
31
  default(_props: {
28
32
  measurement: WallDimensionTransferable;
@@ -0,0 +1,8 @@
1
+ import { WallDimensionTransferable } from '@roomle/web-sdk/lib/definitions/planner-core/src/view-model/wall-plan-element-view-model';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ wallDimension: WallDimensionTransferable;
5
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
+ wallDimension: WallDimensionTransferable;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ position: {
3
+ x: number;
4
+ y: number;
5
+ };
6
+ label: string;
7
+ textRotation: number;
8
+ measurement?: any;
9
+ updateCallback?: (_val: number) => void;
10
+ disableTooltip?: boolean;
11
+ noHover?: boolean;
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
+ position: {
14
+ x: number;
15
+ y: number;
16
+ };
17
+ label: string;
18
+ textRotation: number;
19
+ measurement?: any;
20
+ updateCallback?: (_val: number) => void;
21
+ disableTooltip?: boolean;
22
+ noHover?: boolean;
23
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,26 @@
1
+ type LineCoordinates = {
2
+ x: number;
3
+ y: number;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<{
6
+ line: {
7
+ from: LineCoordinates;
8
+ to: LineCoordinates;
9
+ };
10
+ lineClass?: string;
11
+ sepratorMeasurements?: {
12
+ from: LineCoordinates;
13
+ to: LineCoordinates;
14
+ };
15
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
+ line: {
17
+ from: LineCoordinates;
18
+ to: LineCoordinates;
19
+ };
20
+ lineClass?: string;
21
+ sepratorMeasurements?: {
22
+ from: LineCoordinates;
23
+ to: LineCoordinates;
24
+ };
25
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -14,11 +14,11 @@ declare const _default: import('vue').DefineComponent<{
14
14
  onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
15
15
  resetScroll: () => void;
16
16
  icToggleEvent: EventBus<ToggleCallback>;
17
- api: RoomlePlanner;
17
+ api: RoomlePlanner<readonly []>;
18
18
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
19
19
  onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
20
20
  resetScroll: () => void;
21
21
  icToggleEvent: EventBus<ToggleCallback>;
22
- api: RoomlePlanner;
22
+ api: RoomlePlanner<readonly []>;
23
23
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
24
  export default _default;
@@ -1,14 +1,13 @@
1
- import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
2
1
  import { BUTTON_ACTIONS } from '../../../configurator/store/ui-state';
3
- import { CloseReason, ToggleCallback } from '../../../common/utils/types';
2
+ import { CloseReason, ToggleCallback, RoomlePlannerWithExtObjs } from '../../../common/utils/types';
4
3
 
5
4
  declare const _default: import('vue').DefineComponent<{
6
5
  onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
7
6
  onToggleExpand?: ToggleCallback;
8
- api: RoomlePlanner;
7
+ api: RoomlePlannerWithExtObjs;
9
8
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
10
9
  onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
11
10
  onToggleExpand?: ToggleCallback;
12
- api: RoomlePlanner;
11
+ api: RoomlePlannerWithExtObjs;
13
12
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
13
  export default _default;
@@ -5,14 +5,14 @@ declare const _default: import('vue').DefineComponent<{
5
5
  currencySymbol: string;
6
6
  product: ProductListEntryType;
7
7
  resetScroll: () => void;
8
- api: RoomlePlanner;
8
+ api: RoomlePlanner<readonly []>;
9
9
  renderPurchasableItems: boolean;
10
10
  isLastEntry: boolean;
11
11
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
12
  currencySymbol: string;
13
13
  product: ProductListEntryType;
14
14
  resetScroll: () => void;
15
- api: RoomlePlanner;
15
+ api: RoomlePlanner<readonly []>;
16
16
  renderPurchasableItems: boolean;
17
17
  isLastEntry: boolean;
18
18
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -4,7 +4,7 @@ import { ProductListEntryType } from '../ProductList.vue';
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  itemCount: number;
6
6
  productListUniqueItems: ProductListEntryType[];
7
- api: RoomlePlanner;
7
+ api: RoomlePlanner<readonly []>;
8
8
  isPurchasableItems: boolean;
9
9
  resetScroll: () => void;
10
10
  currencySymbol: string;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<{
13
13
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
14
14
  itemCount: number;
15
15
  productListUniqueItems: ProductListEntryType[];
16
- api: RoomlePlanner;
16
+ api: RoomlePlanner<readonly []>;
17
17
  isPurchasableItems: boolean;
18
18
  resetScroll: () => void;
19
19
  currencySymbol: string;
@@ -1,10 +1,10 @@
1
- import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
1
+ import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
- api: RoomlePlanner;
4
+ api: RoomlePlannerWithExtObjs;
5
5
  isConstructionElement?: boolean;
6
6
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
7
- api: RoomlePlanner;
7
+ api: RoomlePlannerWithExtObjs;
8
8
  isConstructionElement?: boolean;
9
9
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
10
  export default _default;
@@ -1,8 +1,8 @@
1
- import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
1
+ import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
- api: RoomlePlanner;
4
+ api: RoomlePlannerWithExtObjs;
5
5
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
- api: RoomlePlanner;
6
+ api: RoomlePlannerWithExtObjs;
7
7
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import { default as PlanElementViewModel } from '@roomle/web-sdk/lib/definitions/common-core/src/view-model/plan-element-view-model';
2
- import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
2
+ import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  selectionElement: PlanElementViewModel;
6
- api: RoomlePlanner;
6
+ api: RoomlePlannerWithExtObjs;
7
7
  productName: string;
8
8
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
9
9
  selectionElement: PlanElementViewModel;
10
- api: RoomlePlanner;
10
+ api: RoomlePlannerWithExtObjs;
11
11
  productName: string;
12
12
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -1,8 +1,8 @@
1
- import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
1
+ import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
- api: RoomlePlanner;
4
+ api: RoomlePlannerWithExtObjs;
5
5
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
- api: RoomlePlanner;
6
+ api: RoomlePlannerWithExtObjs;
7
7
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -1,8 +1,8 @@
1
- import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
1
+ import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
2
2
  import { KernelVector3 } from '@roomle/web-sdk/lib/definitions/typings/kernel';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
- api: RoomlePlanner;
5
+ api: RoomlePlannerWithExtObjs;
6
6
  setValues: (values: KernelVector3) => Promise<void>;
7
7
  getValues: () => KernelVector3;
8
8
  labels: {
@@ -16,7 +16,7 @@ declare const _default: import('vue').DefineComponent<{
16
16
  z: boolean;
17
17
  };
18
18
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
19
- api: RoomlePlanner;
19
+ api: RoomlePlannerWithExtObjs;
20
20
  setValues: (values: KernelVector3) => Promise<void>;
21
21
  getValues: () => KernelVector3;
22
22
  labels: {