@roomle/embedding-lib 5.17.1 → 5.19.0
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 +40 -3
- package/package.json +2 -2
- package/packages/common/src/utils/init-data.d.ts +1 -29
- package/packages/common/src/utils/json.d.ts +1 -0
- package/packages/embedding-lib/src/connector.d.ts +5 -1
- package/packages/embedding-lib/src/examples/activate-deactivate-rd.d.ts +8 -0
- package/roomle-embedding-lib.es.js +30 -28
- package/roomle-embedding-lib.es.min.js +1 -1
- package/roomle-embedding-lib.umd.js +4 -4
- package/roomle-embedding-lib.umd.min.js +1 -1
- package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts +6 -6
- package/src/common/components/inputs/BaseInput.vue.d.ts +108 -2
- package/src/common/components/inputs/GenericInput.vue.d.ts +39 -0
- package/src/common/components/inputs/SelectDropdown.vue.d.ts +2 -0
- package/src/common/components/utils/QRCode.vue.d.ts +2 -2
- package/src/common/composables/use-wall-dimensions-cache.d.ts +8 -0
- package/src/common/store/common-ui-state.d.ts +1 -1
- package/src/common/utils/helper.d.ts +1 -1
- package/src/common/utils/types.d.ts +1 -0
- package/src/configurator/components/grid-view/GridView.vue.d.ts +2 -2
- package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +2 -2
- package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +2 -2
- package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +2 -2
- package/src/configurator/embedding/exposed-api.d.ts +6 -1
- package/src/configurator/embedding/exposed-callbacks.d.ts +7 -2
- package/src/configurator/embedding/types.d.ts +5 -5
- package/src/planner/business-logic/sdk-connector-planner.d.ts +3 -3
- package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +2 -2
- package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +2 -2
- package/src/planner/components/overlays/rooms/RoomFloorAndWallSettings.vue.d.ts +17 -0
- package/src/planner/store/planner-ui-state.d.ts +4 -0
- package/src/viewer/components/ViewerMain.vue.d.ts +1 -0
- package/src/planner/components/overlays/rooms/FloorColor.vue.d.ts +0 -3853
|
@@ -83,11 +83,6 @@ interface UiFeatureFlags extends FeatureFlags {
|
|
|
83
83
|
* @description Enables the open/close animation button in the flying menu - RML-13533
|
|
84
84
|
*/
|
|
85
85
|
openCloseAnimation?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
* @description Enables the show/hide wall toggle button in the flying menu and wall settings panel - RML-13046
|
|
89
|
-
*/
|
|
90
|
-
showWallVisibilityToggle?: boolean;
|
|
91
86
|
}
|
|
92
87
|
export interface VariantsMap {
|
|
93
88
|
[key: string]: RapiId;
|
|
@@ -470,6 +465,11 @@ export interface UiInitData extends InitDataDefinition, GlobalInitDataDefinition
|
|
|
470
465
|
* @description specify an url which can be used as src for an iframe
|
|
471
466
|
*/
|
|
472
467
|
customView?: CustomViews;
|
|
468
|
+
/**
|
|
469
|
+
* @internal
|
|
470
|
+
* @description specify if Room Designer functionality should be active
|
|
471
|
+
*/
|
|
472
|
+
roomDesignerActive?: boolean;
|
|
473
473
|
}
|
|
474
474
|
export interface UiState {
|
|
475
475
|
/**
|
|
@@ -42,9 +42,9 @@ export declare class SdkConnectorPlanner extends Connector {
|
|
|
42
42
|
saveCurrentConfigurationInPlanSnapshot(configuration: RapiConfigurationEnhanced | ExternalConfiguration): Promise<Nullable<RapiPlanSnapshotGetData | RapiPlan>>;
|
|
43
43
|
private _disableWallDrawingState;
|
|
44
44
|
private _enableWallDrawingState;
|
|
45
|
-
switch2D(): Promise<void>;
|
|
46
|
-
switch3D(): Promise<void>;
|
|
47
|
-
switchFp(): Promise<void>;
|
|
45
|
+
switch2D(switchScene?: boolean): Promise<void>;
|
|
46
|
+
switch3D(switchScene?: boolean): Promise<void>;
|
|
47
|
+
switchFp(switchScene?: boolean): Promise<void>;
|
|
48
48
|
confirmRoom(switchTo2D: boolean): Promise<void>;
|
|
49
49
|
cancelSelection(reason: CancelSelectionReasons): Promise<void>;
|
|
50
50
|
private _toggleFirstPersonControlsNotification;
|
|
@@ -61,7 +61,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
61
|
GridView: import('vue').DefineComponent<{
|
|
62
62
|
isExpanded?: boolean;
|
|
63
63
|
onExpand: (event: MouseEvent) => void;
|
|
64
|
-
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void
|
|
64
|
+
onSelect: ((...args: any[]) => any)[] | ((possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>);
|
|
65
65
|
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
66
66
|
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
67
67
|
elements: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -75,7 +75,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
75
75
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
76
76
|
isExpanded?: boolean;
|
|
77
77
|
onExpand: (event: MouseEvent) => void;
|
|
78
|
-
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void
|
|
78
|
+
onSelect: ((...args: any[]) => any)[] | ((possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>);
|
|
79
79
|
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
80
80
|
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
81
81
|
elements: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -5180,7 +5180,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5180
5180
|
GridView: import('vue').DefineComponent<{
|
|
5181
5181
|
isExpanded?: boolean;
|
|
5182
5182
|
onExpand: (event: MouseEvent) => void;
|
|
5183
|
-
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void
|
|
5183
|
+
onSelect: ((...args: any[]) => any)[] | ((possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>);
|
|
5184
5184
|
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
5185
5185
|
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
5186
5186
|
elements: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -5194,7 +5194,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5194
5194
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5195
5195
|
isExpanded?: boolean;
|
|
5196
5196
|
onExpand: (event: MouseEvent) => void;
|
|
5197
|
-
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void
|
|
5197
|
+
onSelect: ((...args: any[]) => any)[] | ((possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>);
|
|
5198
5198
|
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
5199
5199
|
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
5200
5200
|
elements: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BUTTON_ACTIONS } from '../../../../configurator/store/ui-state';
|
|
2
|
+
import { CloseReason } from '../../../../common/utils/types';
|
|
3
|
+
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
4
|
+
import { PlanInteractionHandler } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
5
|
+
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
8
|
+
onToggleExpand: () => void;
|
|
9
|
+
interactionHandler: PlanInteractionHandler;
|
|
10
|
+
api: RoomlePlanner<readonly []>;
|
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
+
onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
|
|
13
|
+
onToggleExpand: () => void;
|
|
14
|
+
interactionHandler: PlanInteractionHandler;
|
|
15
|
+
api: RoomlePlanner<readonly []>;
|
|
16
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -41,6 +41,10 @@ export interface PlannerUiState extends SharedUiState {
|
|
|
41
41
|
currentSelectedMeasurementId: Nullable<number>;
|
|
42
42
|
isConfiguringInRoom: boolean;
|
|
43
43
|
dragInRuntimeId: Nullable<number>;
|
|
44
|
+
wallOriginalDimensions: Record<string, {
|
|
45
|
+
height: number;
|
|
46
|
+
thickness: number;
|
|
47
|
+
}>;
|
|
44
48
|
}
|
|
45
49
|
export declare const PLANNER_UI_STATE_MUTATIONS: PlannerUiIdentifier;
|
|
46
50
|
export declare const PLANNER_UI_STATE_ACTIONS: PlannerUiIdentifier;
|
|
@@ -10,6 +10,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
10
10
|
isOnOverview(): boolean;
|
|
11
11
|
isViewer(): boolean;
|
|
12
12
|
isMoc(): boolean;
|
|
13
|
+
showStopConfiguringButton(): boolean;
|
|
13
14
|
}, {
|
|
14
15
|
resetScroll(): void;
|
|
15
16
|
onClose(action: Nullable<BUTTON_ACTIONS>): Promise<void>;
|