@roomle/embedding-lib 5.13.0-alpha.2 → 5.13.0-alpha.3
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 +4 -14
- package/package.json +2 -2
- package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts +13 -13
- package/src/common/components/overlays/PartList.vue.d.ts +3 -4
- package/src/common/components/overlays/part-list/partlist-setup.d.ts +3 -4
- package/src/common/composables/use-configurator-api.d.ts +2 -2
- package/src/common/composables/use-core-instances.d.ts +2 -2
- package/src/common/composables/use-static-item-parameters.d.ts +2 -2
- package/src/common/utils/helper.d.ts +6 -7
- package/src/common/utils/parameters.d.ts +2 -2
- package/src/common/utils/types.d.ts +9 -1
- package/src/common/utils/ui-actions.d.ts +2 -3
- package/src/configurator/business-logic/roomle-sdk-wrapper.d.ts +3 -4
- package/src/configurator/business-logic/sdk-connector-configurator.d.ts +3 -4
- package/src/configurator/business-logic/sdk-connector.d.ts +7 -8
- package/src/configurator/components/grid-view/GridView.vue.d.ts +4 -4
- package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +4 -4
- package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +4 -4
- package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +4 -4
- package/src/configurator/embedding/exposed-api.d.ts +2 -4
- package/src/configurator/embedding/exposed-callbacks.d.ts +2 -1
- package/src/configurator/embedding/helper.d.ts +4 -3
- package/src/planner/business-logic/sdk-connector-planner.d.ts +5 -5
- package/src/planner/components/overlays/ProductSettings.vue.d.ts +3 -4
- package/src/planner/components/overlays/product-settings/ProductPositions.vue.d.ts +3 -3
- package/src/planner/components/overlays/product-settings/ProductRotation.vue.d.ts +3 -3
- package/src/planner/components/overlays/product-settings/ProductSettingsInfos.vue.d.ts +3 -3
- package/src/planner/components/overlays/product-settings/ProductSize.vue.d.ts +3 -3
- package/src/planner/components/overlays/product-settings/ProductXYZChanger.vue.d.ts +3 -3
- package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +7 -7
- package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +12 -12
- package/src/planner/components/overlays/rooms/ElementLengthScaling.vue.d.ts +2 -2
- package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +3 -4
- package/src/planner/components/utils/AssureConfiguratorHandlers.vue.d.ts +1 -1
- package/src/planner/components/utils/AssureSdkHandlers.vue.d.ts +1 -1
- package/src/planner/utils/planner-sidebar.d.ts +2 -2
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
## [5.13.0-alpha.
|
|
1
|
+
## [5.13.0-alpha.3](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.13.0-alpha.2...embedding-lib-v5.13.0-alpha.3) (2025-03-19)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* **SDK:** upgrade to version 2.96.0-alpha.11 ([#1543](https://github.com/roomle-dev/roomle-ui/issues/1543)) ([dee9b2c](https://github.com/roomle-dev/roomle-ui/commit/dee9b2c212583413a9be1381bf66a1d75d4cfbb9))
|
|
9
|
-
* **SDK:** upgrade to version 2.96.0-alpha.12 ([#1544](https://github.com/roomle-dev/roomle-ui/issues/1544)) ([d98dd15](https://github.com/roomle-dev/roomle-ui/commit/d98dd15e85c1a2c9684ed084e1542d04adf10e8c))
|
|
10
|
-
* **SDK:** upgrade to version 2.96.0-alpha.13 ([#1546](https://github.com/roomle-dev/roomle-ui/issues/1546)) ([ccd3ade](https://github.com/roomle-dev/roomle-ui/commit/ccd3adeebcfe259f75cdd8b31ee769f2e2903b39))
|
|
11
|
-
* **SDK:** upgrade to version 2.96.0-alpha.14 ([#1547](https://github.com/roomle-dev/roomle-ui/issues/1547)) ([cd58fb8](https://github.com/roomle-dev/roomle-ui/commit/cd58fb8b233ffddcae31e871c09e6877f47a075c))
|
|
12
|
-
* **SDK:** upgrade to version 2.96.0-alpha.16 ([#1548](https://github.com/roomle-dev/roomle-ui/issues/1548)) ([23470be](https://github.com/roomle-dev/roomle-ui/commit/23470be520b4d323bfe28d2dd3270581476456e0))
|
|
13
|
-
* **SDK:** upgrade to version 2.96.0-alpha.17 ([#1549](https://github.com/roomle-dev/roomle-ui/issues/1549)) ([78641df](https://github.com/roomle-dev/roomle-ui/commit/78641dfe3d7e35e612c80d52d5a2ecb69b72314d))
|
|
14
|
-
* **SDK:** upgrade to version 2.96.0-alpha.18 ([#1550](https://github.com/roomle-dev/roomle-ui/issues/1550)) ([435a6fb](https://github.com/roomle-dev/roomle-ui/commit/435a6fb9e5063e25e83de0a4821de73da4dbd1b3))
|
|
6
|
+
* make catalog handle external objects ([489f0e0](https://github.com/roomle-dev/roomle-ui/commit/489f0e08553f80b7365b77f18342357fcecdc6de))
|
|
7
|
+
* **SDK:** upgrade to version 2.96.0-alpha.19 ([#1552](https://github.com/roomle-dev/roomle-ui/issues/1552)) ([ecd3361](https://github.com/roomle-dev/roomle-ui/commit/ecd3361cd978f48e72c33836751f6276b5a09998))
|
|
15
8
|
|
|
16
9
|
|
|
17
10
|
### Bug Fixes
|
|
18
11
|
|
|
19
|
-
*
|
|
20
|
-
* Feature flag is not working for openCloseAnimation ([90c4b1f](https://github.com/roomle-dev/roomle-ui/commit/90c4b1fc3a67a47c41ecffefd3a5bcb2401c95c1))
|
|
21
|
-
* feedback changes ([9047a41](https://github.com/roomle-dev/roomle-ui/commit/9047a4189273db37e31a6c9ac87d6840b18cad89))
|
|
22
|
-
* icon css, show in planner only ([8d69fff](https://github.com/roomle-dev/roomle-ui/commit/8d69fff7732894e1572c3738a40992d9413ff8ee))
|
|
12
|
+
* type errors ([da36d23](https://github.com/roomle-dev/roomle-ui/commit/da36d232745491c07da000714f2bb61e6a4e38bb))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/embedding-lib",
|
|
3
|
-
"version": "5.13.0-alpha.
|
|
3
|
+
"version": "5.13.0-alpha.3",
|
|
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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"npm": "8.3.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@roomle/web-sdk": "2.96.0-alpha.
|
|
32
|
+
"@roomle/web-sdk": "2.96.0-alpha.19"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts
CHANGED
|
@@ -47,8 +47,8 @@ declare const dynamicComponents: {
|
|
|
47
47
|
isExpanded?: boolean;
|
|
48
48
|
onExpand: (event: MouseEvent) => void;
|
|
49
49
|
onSelect: (possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
50
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
51
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
50
|
+
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
51
|
+
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
52
52
|
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
53
53
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
54
54
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -61,8 +61,8 @@ declare const dynamicComponents: {
|
|
|
61
61
|
isExpanded?: boolean;
|
|
62
62
|
onExpand: (event: MouseEvent) => void;
|
|
63
63
|
onSelect: (possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
64
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
65
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
64
|
+
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
65
|
+
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
66
66
|
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
67
67
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
68
68
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -132,8 +132,8 @@ declare const dynamicComponents: {
|
|
|
132
132
|
isExpanded?: boolean;
|
|
133
133
|
onExpand: (event: MouseEvent) => void;
|
|
134
134
|
onSelect: (possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
135
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
136
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
135
|
+
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
136
|
+
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
137
137
|
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
138
138
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
139
139
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -146,8 +146,8 @@ declare const dynamicComponents: {
|
|
|
146
146
|
isExpanded?: boolean;
|
|
147
147
|
onExpand: (event: MouseEvent) => void;
|
|
148
148
|
onSelect: (possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
149
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
150
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
149
|
+
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
150
|
+
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
151
151
|
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
152
152
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
153
153
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -244,8 +244,8 @@ declare const dynamicComponents: {
|
|
|
244
244
|
isExpanded?: boolean;
|
|
245
245
|
onExpand: (event: MouseEvent) => void;
|
|
246
246
|
onSelect: (possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
247
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
248
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
247
|
+
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
248
|
+
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
249
249
|
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
250
250
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
251
251
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -258,8 +258,8 @@ declare const dynamicComponents: {
|
|
|
258
258
|
isExpanded?: boolean;
|
|
259
259
|
onExpand: (event: MouseEvent) => void;
|
|
260
260
|
onSelect: (possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
261
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
262
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
261
|
+
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
262
|
+
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
263
263
|
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
264
264
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
265
265
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -2704,7 +2704,7 @@ declare const dynamicComponents: {
|
|
|
2704
2704
|
required: true;
|
|
2705
2705
|
};
|
|
2706
2706
|
}>, {
|
|
2707
|
-
api: import('vue').ShallowRef<import('
|
|
2707
|
+
api: import('vue').ShallowRef<import('../../../utils/types').RoomlePlannerWithExtObjs>;
|
|
2708
2708
|
}, {
|
|
2709
2709
|
scalingDirection: number;
|
|
2710
2710
|
}, {}, {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { EventBus } from '../../business-logic/event-bus';
|
|
3
|
-
import { CloseReason, ToggleCallback } from '../../utils/types';
|
|
3
|
+
import { CloseReason, RoomlePlannerWithExtObjs, ToggleCallback } from '../../utils/types';
|
|
4
4
|
import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
|
|
5
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
6
5
|
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
7
6
|
|
|
8
7
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -12,7 +11,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
12
11
|
};
|
|
13
12
|
icToggleEvent: PropType<EventBus<ToggleCallback>>;
|
|
14
13
|
api: {
|
|
15
|
-
type: PropType<
|
|
14
|
+
type: PropType<RoomlePlannerWithExtObjs | RoomleConfigurator<readonly []>>;
|
|
16
15
|
required: true;
|
|
17
16
|
};
|
|
18
17
|
}>, {
|
|
@@ -39,7 +38,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
38
|
};
|
|
40
39
|
icToggleEvent: PropType<EventBus<ToggleCallback>>;
|
|
41
40
|
api: {
|
|
42
|
-
type: PropType<
|
|
41
|
+
type: PropType<RoomlePlannerWithExtObjs | RoomleConfigurator<readonly []>>;
|
|
43
42
|
required: true;
|
|
44
43
|
};
|
|
45
44
|
}>> & Readonly<{}>, {}, {}, {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { KernelPartList, KernelPartListPrice, KernelPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
2
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
3
2
|
import { Store } from 'vuex';
|
|
4
3
|
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
5
|
-
import { Nullable } from '../../../utils/types';
|
|
4
|
+
import { Nullable, RoomlePlannerWithExtObjs } from '../../../utils/types';
|
|
6
5
|
import { StoreState } from '../../../store';
|
|
7
6
|
|
|
8
|
-
export default function setupPartList(api: Nullable<
|
|
9
|
-
api: Nullable<
|
|
7
|
+
export default function setupPartList(api: Nullable<RoomlePlannerWithExtObjs> | Nullable<RoomleConfigurator>, storeIn?: Store<StoreState>, plannerCoreInstance?: {
|
|
8
|
+
api: Nullable<RoomlePlannerWithExtObjs>;
|
|
10
9
|
}, planObject?: KernelPlanObject): () => {
|
|
11
10
|
store: any;
|
|
12
11
|
label: import('vue').ComputedRef<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShallowRef } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { RoomleConfiguratorType } from '../utils/types';
|
|
3
3
|
|
|
4
4
|
export declare const useConfiguratorApi: () => {
|
|
5
|
-
configuratorApi: ShallowRef<
|
|
5
|
+
configuratorApi: ShallowRef<RoomleConfiguratorType>;
|
|
6
6
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ShallowRef } from 'vue';
|
|
2
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
3
2
|
import { PlanInteractionHandler } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
3
|
+
import { RoomlePlannerWithExtObjs } from '../utils/types';
|
|
4
4
|
|
|
5
5
|
export declare const useCoreInstances: () => {
|
|
6
|
-
api: ShallowRef<
|
|
6
|
+
api: ShallowRef<RoomlePlannerWithExtObjs>;
|
|
7
7
|
planInteractionHandler: ShallowRef<PlanInteractionHandler>;
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GridViewElement } from '../../configurator/components/grid-view/-utils/GridViewHelper';
|
|
2
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
3
2
|
import { MaterialsForObjects } from '../../planner/business-logic/rooms';
|
|
3
|
+
import { RoomlePlannerWithExtObjs } from '../utils/types';
|
|
4
4
|
|
|
5
|
-
export declare const useStaticItemParameters: (api:
|
|
5
|
+
export declare const useStaticItemParameters: (api: RoomlePlannerWithExtObjs, materialRootTag?: string[] | string) => {
|
|
6
6
|
show: {
|
|
7
7
|
sizeControls: boolean;
|
|
8
8
|
colorControls: boolean;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { Enumify, CATALOG_INFOS_TYPES, ExtendedKernelVector3, GroupedCollection, Nullable } from './types';
|
|
1
|
+
import { Enumify, CATALOG_INFOS_TYPES, RoomlePlannerWithExtObjs, RoomleConfiguratorType, ExtendedKernelVector3, GroupedCollection, Nullable } from './types';
|
|
2
2
|
import { RapiConfiguration, RapiItem, RapiTenant, AdditionalInfo, RapiMaterial, RapiComponent, RapiPlanSnapshotGetData } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
3
3
|
import { StoreState } from '../store';
|
|
4
4
|
import { UiInitData } from '../../configurator/embedding/types';
|
|
5
5
|
import { BUTTON_ACTIONS } from '../../configurator/store/ui-state';
|
|
6
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
7
|
-
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
8
6
|
import { KernelVector3 } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
9
7
|
import { PlannerUiState } from '../../planner/store/planner-ui-state';
|
|
8
|
+
import { ExternalConfiguration } from '@roomle/web-sdk/lib/definitions/typings/external-objects';
|
|
10
9
|
|
|
11
10
|
export declare const throttle: <T extends (...args: any[]) => any>(func: T, delay?: number) => (...funcArgs: Parameters<T>) => void;
|
|
12
11
|
export declare const round: (float: number, precision: number) => number;
|
|
@@ -34,8 +33,8 @@ export interface KernelBoundsFormatted {
|
|
|
34
33
|
export declare const deepCopy: <T>(o: T) => T;
|
|
35
34
|
export declare const toBoolean: (value: boolean | undefined, defaultValue?: boolean) => boolean;
|
|
36
35
|
export declare const scriptInfo: (...args: any[]) => void;
|
|
37
|
-
export declare const getGlbAssetUrl: (obj: RapiItem | RapiConfiguration | RapiPlanSnapshotGetData) => Nullable<string>;
|
|
38
|
-
export declare const getUsdzAssetUrl: (obj: RapiItem | RapiConfiguration | RapiPlanSnapshotGetData) => Nullable<string>;
|
|
36
|
+
export declare const getGlbAssetUrl: (obj: RapiItem | RapiConfiguration | RapiPlanSnapshotGetData | ExternalConfiguration) => Nullable<string>;
|
|
37
|
+
export declare const getUsdzAssetUrl: (obj: RapiItem | RapiConfiguration | RapiPlanSnapshotGetData | ExternalConfiguration) => Nullable<string>;
|
|
39
38
|
export declare const hasArAssets: (item: RapiItem) => boolean;
|
|
40
39
|
export declare const formatPrice: (currencySymbol: Nullable<string>, price: Nullable<number>) => Nullable<string>;
|
|
41
40
|
export declare const normalizeFloatingNumber: (num: number, decimals?: number) => number;
|
|
@@ -49,7 +48,7 @@ export declare const parseColorToHexDecimalString: (color: string) => string;
|
|
|
49
48
|
export declare const groupArrayBy: <T>(collection: T[], key: keyof T) => GroupedCollection<T>;
|
|
50
49
|
export declare const setupStoreWithInitData: (initData: UiInitData, store: Store<StoreState>) => void;
|
|
51
50
|
export declare const isActionActive: (state: PlannerUiState, action: BUTTON_ACTIONS) => boolean;
|
|
52
|
-
export declare const setMeasurementUnit: (sdkConnector:
|
|
51
|
+
export declare const setMeasurementUnit: (sdkConnector: RoomlePlannerWithExtObjs | RoomleConfiguratorType, store: Store<StoreState>) => void;
|
|
53
52
|
export declare const getStartConfiguringOrViewingIcon: (store: Store<StoreState>) => string;
|
|
54
53
|
export interface Tooltip {
|
|
55
54
|
[key: string]: string;
|
|
@@ -67,7 +66,7 @@ export type WithRequired<T, K extends keyof T> = T & {
|
|
|
67
66
|
};
|
|
68
67
|
export declare const radToDeg: (rad: number) => number;
|
|
69
68
|
export declare const isValidPlanID: (planId: string) => boolean;
|
|
70
|
-
export declare const convertToUIValuesHelper: (valuesMM: KernelVector3, api: Nullable<
|
|
69
|
+
export declare const convertToUIValuesHelper: (valuesMM: KernelVector3, api: Nullable<RoomlePlannerWithExtObjs>) => {
|
|
71
70
|
x: string;
|
|
72
71
|
y: string;
|
|
73
72
|
z: string;
|
|
@@ -2,7 +2,7 @@ import { RapiMaterial, RapiMaterialGroup, RapiTagForUi, RapiTexture } from '@roo
|
|
|
2
2
|
import { KernelPartListParameter, UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
3
3
|
import { CollectionViewElement, TabCategory } from '../components/collection-view/-utils/types';
|
|
4
4
|
import { VariantsMap } from '../../configurator/embedding/types';
|
|
5
|
-
import {
|
|
5
|
+
import { RoomleConfiguratorType } from './types';
|
|
6
6
|
|
|
7
7
|
export interface RapiMaterialEmbeddedTextures extends RapiMaterial {
|
|
8
8
|
embeddedTextures?: RapiTexture[];
|
|
@@ -15,5 +15,5 @@ export declare const mapRootTagToCollectionViewArray: (tags: RapiTagForUi[], tab
|
|
|
15
15
|
export declare const filterAndMapAddons: (addons: UiPossibleChildTag[], selectedGroup: string | undefined) => CollectionViewElement[];
|
|
16
16
|
export declare const addonsHaveGroups: (addons: UiPossibleChildTag[]) => boolean;
|
|
17
17
|
export declare const extractRootComponentId: (id: string) => string;
|
|
18
|
-
export declare const getCurrentVariants: (api:
|
|
18
|
+
export declare const getCurrentVariants: (api: RoomleConfiguratorType, id: string, variantChangeMap?: VariantsMap) => Promise<RapiTagForUi>;
|
|
19
19
|
export declare const prepareParametersForUi: (parameters: KernelPartListParameter[]) => KernelPartListParameter[];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
2
|
+
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
3
|
+
import { ExternalConfiguration } from '@roomle/web-sdk/lib/definitions/typings/external-objects';
|
|
1
4
|
import { KernelVector3 } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
2
5
|
import { RapiConfigurationEnhanced, RapiPlanSnapshotGetData, RapiPlan } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
3
6
|
import { ComponentPublicInstance } from 'vue';
|
|
@@ -120,7 +123,7 @@ export interface MessageEventData {
|
|
|
120
123
|
export type DraftTypes = 'plan' | 'configuration';
|
|
121
124
|
export interface SaveDraftPayload {
|
|
122
125
|
type: Nullable<DraftTypes>;
|
|
123
|
-
payload: Nullable<RapiConfigurationEnhanced | RapiPlanSnapshotGetData | RapiPlan>;
|
|
126
|
+
payload: Nullable<RapiConfigurationEnhanced | RapiPlanSnapshotGetData | RapiPlan | ExternalConfiguration>;
|
|
124
127
|
}
|
|
125
128
|
export interface SaveDraft {
|
|
126
129
|
id: string;
|
|
@@ -144,3 +147,8 @@ export type TutorialData = {
|
|
|
144
147
|
[key: string]: CustomTutorialTranslation | CustomTutorialPlatform | CustomTutorialScope;
|
|
145
148
|
};
|
|
146
149
|
export type TooltipTarget<T> = ComponentPublicInstance<T>;
|
|
150
|
+
export type RoomlePlannerWithExtObjs = RoomlePlanner<['external-objects']>;
|
|
151
|
+
export type RoomleConfiguratorWithExtObjs = RoomleConfigurator<[
|
|
152
|
+
'external-objects'
|
|
153
|
+
]>;
|
|
154
|
+
export type RoomleConfiguratorType = RoomleConfigurator | RoomleConfiguratorWithExtObjs;
|
|
@@ -2,9 +2,8 @@ import { SdkConnector } from '../../configurator/business-logic/sdk-connector';
|
|
|
2
2
|
import { StoreState } from '../store';
|
|
3
3
|
import { Store } from 'vuex';
|
|
4
4
|
import { ExposedCallbacks } from '../../configurator/embedding/exposed-callbacks';
|
|
5
|
-
import { Nullable } from './types';
|
|
5
|
+
import { Nullable, RoomlePlannerWithExtObjs } from './types';
|
|
6
6
|
import { default as PlanElementViewModel } from '@roomle/web-sdk/lib/definitions/common-core/src/view-model/plan-element-view-model';
|
|
7
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
8
7
|
import { SidebarType } from '../composables/use-event-emitter-listener';
|
|
9
8
|
import { default as EventEmitter } from '../business-logic/event-emitter';
|
|
10
9
|
|
|
@@ -33,6 +32,6 @@ export default class UiActions {
|
|
|
33
32
|
preparePartList(buttonAction: number): Promise<void>;
|
|
34
33
|
private _toggleAction;
|
|
35
34
|
switchProduct(): Promise<void>;
|
|
36
|
-
swapObject(api:
|
|
35
|
+
swapObject(api: RoomlePlannerWithExtObjs, planElement: PlanElementViewModel, itemId: string): Promise<Nullable<number>>;
|
|
37
36
|
popSidebar(): void;
|
|
38
37
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { default as RapiAccess } from '@roomle/web-sdk/lib/definitions/common-core/src/rapi-access';
|
|
2
2
|
import { GlbViewer } from '@roomle/web-sdk/lib/definitions/glb-viewer-core/src/glb-viewer';
|
|
3
3
|
import { Configurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/configurator';
|
|
4
|
-
import { Nullable } from '../../common/utils/types';
|
|
4
|
+
import { Nullable, RoomleConfiguratorType } from '../../common/utils/types';
|
|
5
5
|
import { UiInitData } from '../embedding/types';
|
|
6
6
|
import { GlobalInitDataDefinition } from '@roomle/web-sdk/lib/definitions/common-core/src/utils/shims';
|
|
7
7
|
import { Planner } from '@roomle/web-sdk/lib/definitions/planner-core/src/planner';
|
|
8
8
|
import { GlobalCallback } from '@roomle/web-sdk/lib/definitions/common-core/src/services/global-callback';
|
|
9
|
-
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
10
9
|
import { default as IdbManager } from '@roomle/web-sdk/lib/definitions/common-core/src/services/idb-manager';
|
|
11
10
|
|
|
12
11
|
/**
|
|
@@ -20,9 +19,9 @@ export declare class RoomleSdkWrapper {
|
|
|
20
19
|
private _currentInstance;
|
|
21
20
|
get hasPlanner(): boolean;
|
|
22
21
|
getConfigurator(element: HTMLElement, initData?: UiInitData): Promise<Configurator>;
|
|
23
|
-
getConfiguratorApi(element: HTMLElement, initData?: UiInitData): Promise<
|
|
22
|
+
getConfiguratorApi(element: HTMLElement, initData?: UiInitData): Promise<RoomleConfiguratorType>;
|
|
24
23
|
getGlbViewer(element: HTMLElement, initData?: UiInitData): Promise<GlbViewer>;
|
|
25
|
-
getPlanner(element: HTMLElement, initData?: UiInitData): Promise<Planner
|
|
24
|
+
getPlanner(element: HTMLElement, initData?: UiInitData): Promise<Planner<['external-objects']>>;
|
|
26
25
|
getRapiAccess(): Promise<RapiAccess>;
|
|
27
26
|
getGlobalCallback(): Promise<GlobalCallback>;
|
|
28
27
|
getStorage(): Nullable<IdbManager>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Nullable } from '../../common/utils/types';
|
|
1
|
+
import { Nullable, RoomleConfiguratorType } from '../../common/utils/types';
|
|
3
2
|
import { UiInitData } from '../embedding/types';
|
|
4
3
|
import { StoreState } from '../../common/store';
|
|
5
4
|
import { KernelParameter } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
@@ -20,9 +19,9 @@ export declare class SdkConnectorConfigurator extends Connector {
|
|
|
20
19
|
private _previousParameters;
|
|
21
20
|
private _uiCallbacks;
|
|
22
21
|
constructor(store: Store<StoreState>, analytics: Nullable<Analytics>, eventEmitter: EventEmitter);
|
|
23
|
-
get api(): Promise<
|
|
22
|
+
get api(): Promise<RoomleConfiguratorType>;
|
|
24
23
|
init(sdkWrapper: RoomleSdkWrapper, element: HTMLElement, initData: UiInitData): Promise<void>;
|
|
25
|
-
initConfigurator(configurator:
|
|
24
|
+
initConfigurator(configurator: RoomleConfiguratorType): Promise<void>;
|
|
26
25
|
setParameter(parameter: KernelParameter, value: string, isRaw?: boolean): Promise<void>;
|
|
27
26
|
setPrice(currencySymbol: string, price: number): void;
|
|
28
27
|
addUiCallback(listener: UiCallbacks): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Store } from 'vuex';
|
|
2
2
|
import { StoreState } from '../../common/store';
|
|
3
|
-
import { Nullable } from '../../common/utils/types';
|
|
3
|
+
import { Nullable, RoomleConfiguratorType, RoomlePlannerWithExtObjs } from '../../common/utils/types';
|
|
4
4
|
import { KernelParameter, KernelPartList, RuntimeId, UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
5
5
|
import { default as ConfiguratorUiCallbacks } from '@roomle/web-sdk/lib/definitions/configurator-core/src/services/configurator-ui-callback';
|
|
6
6
|
import { Analytics } from '../../common/plugins/analytics';
|
|
@@ -10,12 +10,10 @@ import { default as RapiAccess } from '@roomle/web-sdk/lib/definitions/common-co
|
|
|
10
10
|
import { MessageHandler } from '../../../packages/common/src/utils/message-handler';
|
|
11
11
|
import { ExposedCallbacks } from '../embedding/exposed-callbacks';
|
|
12
12
|
import { UiInitData } from '../embedding/types';
|
|
13
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
14
13
|
import { SdkConnectorConfigurator } from './sdk-connector-configurator';
|
|
15
14
|
import { SdkConnectorViewer } from '../../viewer/business-logic/sdk-connector-viewer';
|
|
16
15
|
import { SdkConnectorPlanner } from '../../planner/business-logic/sdk-connector-planner';
|
|
17
16
|
import { RapiConfigurationEnhanced, RapiPlan, RapiPlanSnapshotGetData } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
18
|
-
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
19
17
|
import { UiCallbacks } from './ui-callback';
|
|
20
18
|
import { Base64Image } from '@roomle/web-sdk/lib/definitions/common-core/src/common-interfaces';
|
|
21
19
|
import { default as RoomlePlannerUiCallback } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
|
|
@@ -23,6 +21,7 @@ import { default as AsyncGuard } from '../../common/utils/async-guard';
|
|
|
23
21
|
import { default as EventEmitter } from '../../common/business-logic/event-emitter';
|
|
24
22
|
import { Translator } from '../../common/composables/use-intl';
|
|
25
23
|
import { Libs } from '../plugins/libs-plugin';
|
|
24
|
+
import { ExternalConfiguration } from '@roomle/web-sdk/lib/definitions/typings/external-objects';
|
|
26
25
|
|
|
27
26
|
export declare enum SDK_MODULES {
|
|
28
27
|
VIEWER = 0,
|
|
@@ -68,8 +67,8 @@ export declare class SdkConnector {
|
|
|
68
67
|
get configuratorConnector(): Promise<SdkConnectorConfigurator>;
|
|
69
68
|
get viewerConnector(): Promise<SdkConnectorViewer>;
|
|
70
69
|
get plannerConnector(): Promise<SdkConnectorPlanner>;
|
|
71
|
-
get configuratorApi(): Promise<
|
|
72
|
-
get plannerApi(): Promise<
|
|
70
|
+
get configuratorApi(): Promise<RoomleConfiguratorType>;
|
|
71
|
+
get plannerApi(): Promise<RoomlePlannerWithExtObjs>;
|
|
73
72
|
get viewerApi(): Promise<RoomleGLBViewer>;
|
|
74
73
|
constructor(sdkWrapper: RoomleSdkWrapper, store: Store<StoreState>, analytics: Analytics, embeddingCallbacks: ExposedCallbacks, eventEmitter: EventEmitter, intl: Translator, libs: Libs);
|
|
75
74
|
createExposedApi(module: SDK_MODULES, mainMessageHandler: MessageHandler, eventEmitter: EventEmitter): Promise<void>;
|
|
@@ -121,11 +120,11 @@ export declare class SdkConnector {
|
|
|
121
120
|
initCanvasElement(module: SDK_MODULES): Promise<void>;
|
|
122
121
|
initConfigurator(): Promise<void>;
|
|
123
122
|
getTenant(): Promise<import('@roomle/web-sdk/lib/definitions/typings/rapi-types').RapiTenant>;
|
|
124
|
-
saveCurrentConfiguration(): Promise<RapiConfigurationEnhanced>;
|
|
125
|
-
saveCurrentPlanOrConfiguration(): Promise<RapiConfigurationEnhanced | RapiPlanSnapshotGetData>;
|
|
123
|
+
saveCurrentConfiguration(): Promise<RapiConfigurationEnhanced | ExternalConfiguration>;
|
|
124
|
+
saveCurrentPlanOrConfiguration(): Promise<RapiConfigurationEnhanced | RapiPlanSnapshotGetData | ExternalConfiguration>;
|
|
126
125
|
giveGaConsent(): void;
|
|
127
126
|
get hasPlanner(): boolean;
|
|
128
|
-
saveCurrentObject(): Promise<RapiPlan | RapiPlanSnapshotGetData | RapiConfigurationEnhanced>;
|
|
127
|
+
saveCurrentObject(): Promise<RapiPlan | RapiPlanSnapshotGetData | RapiConfigurationEnhanced | ExternalConfiguration>;
|
|
129
128
|
preparePerspectiveImage(): Promise<Base64Image>;
|
|
130
129
|
private _finishLoading;
|
|
131
130
|
private _waitForCanvasElement;
|
|
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
isExpanded?: boolean;
|
|
8
8
|
onExpand: (event: MouseEvent) => void;
|
|
9
9
|
onSelect: (possibleChild: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
10
|
-
onDragStart?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
11
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
10
|
+
onDragStart?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
11
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
12
12
|
elements: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
13
13
|
selectedElement?: UiPossibleChild | GridViewVariantElement | GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
14
14
|
groups: GridViewGroup<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -21,8 +21,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
21
21
|
isExpanded?: boolean;
|
|
22
22
|
onExpand: (event: MouseEvent) => void;
|
|
23
23
|
onSelect: (possibleChild: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
24
|
-
onDragStart?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
25
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
24
|
+
onDragStart?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
25
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
26
26
|
elements: GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
27
27
|
selectedElement?: UiPossibleChild | GridViewVariantElement | GridViewElement<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
28
28
|
groups: GridViewGroup<import('./-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -52,8 +52,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
52
52
|
isExpanded?: boolean;
|
|
53
53
|
onExpand: (event: MouseEvent) => void;
|
|
54
54
|
onSelect: (possibleChild: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
55
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
56
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
55
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
56
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
57
57
|
elements: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
58
58
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
59
59
|
groups: GridViewGroup<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -66,8 +66,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
66
66
|
isExpanded?: boolean;
|
|
67
67
|
onExpand: (event: MouseEvent) => void;
|
|
68
68
|
onSelect: (possibleChild: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
69
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
70
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
69
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
70
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
71
71
|
elements: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
72
72
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
73
73
|
groups: GridViewGroup<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -54,8 +54,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
54
|
isExpanded?: boolean;
|
|
55
55
|
onExpand: (event: MouseEvent) => void;
|
|
56
56
|
onSelect: (possibleChild: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
57
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
58
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
57
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
58
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
59
59
|
elements: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
60
60
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
61
61
|
groups: GridViewGroup<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -68,8 +68,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
68
|
isExpanded?: boolean;
|
|
69
69
|
onExpand: (event: MouseEvent) => void;
|
|
70
70
|
onSelect: (possibleChild: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
71
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
72
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
71
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
72
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
73
73
|
elements: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
74
74
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
75
75
|
groups: GridViewGroup<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -49,8 +49,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
49
|
isExpanded?: boolean;
|
|
50
50
|
onExpand: (event: MouseEvent) => void;
|
|
51
51
|
onSelect: (possibleChild: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
52
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
53
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
52
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
53
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
54
54
|
elements: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
55
55
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
56
56
|
groups: GridViewGroup<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -63,8 +63,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
63
|
isExpanded?: boolean;
|
|
64
64
|
onExpand: (event: MouseEvent) => void;
|
|
65
65
|
onSelect: (possibleChild: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
66
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
67
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
66
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
67
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
68
68
|
elements: GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
69
69
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
70
70
|
groups: GridViewGroup<import('../../grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { default as RoomleConfigurator } from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
2
1
|
import { ExposedCallbacks } from './exposed-callbacks';
|
|
3
2
|
import { LoadResponse, SdkConnector } from '../business-logic/sdk-connector';
|
|
4
3
|
import { MessageHandler } from '../../../packages/common/src/utils/message-handler';
|
|
5
4
|
import { Store } from 'vuex';
|
|
6
5
|
import { StoreState } from '../../common/store';
|
|
7
|
-
import { Nullable } from '../../common/utils/types';
|
|
6
|
+
import { Nullable, RoomleConfiguratorType, RoomlePlannerWithExtObjs } from '../../common/utils/types';
|
|
8
7
|
import { Analytics } from '../../common/plugins/analytics';
|
|
9
8
|
import { default as RoomleGLBViewer } from '@roomle/web-sdk/lib/definitions/glb-viewer-core/src/roomle-glb-viewer';
|
|
10
9
|
import { GlobalCallback } from '@roomle/web-sdk/lib/definitions/common-core/src/services/global-callback';
|
|
11
10
|
import { Position3 } from '@roomle/web-sdk/lib/definitions/common-core/src/common-interfaces';
|
|
12
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
13
11
|
import { KernelPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
14
12
|
import { Translator } from '../../common/composables/use-intl';
|
|
15
13
|
import { Libs } from '../plugins/libs-plugin';
|
|
@@ -33,7 +31,7 @@ export declare class ExposedApi {
|
|
|
33
31
|
private _messageHandlers;
|
|
34
32
|
private _eventEmitter;
|
|
35
33
|
private _dragHandler;
|
|
36
|
-
constructor(sdkConnector: SdkConnector, mainMessageHandlers: Nullable<MessageHandler>, sdk:
|
|
34
|
+
constructor(sdkConnector: SdkConnector, mainMessageHandlers: Nullable<MessageHandler>, sdk: RoomleConfiguratorType | RoomleGLBViewer | RoomlePlannerWithExtObjs, exposedCallbacks: ExposedCallbacks, store: Store<StoreState>, analytics: Analytics, globalCallback: GlobalCallback, intl: Translator, libs: Libs, eventEmitter: EventEmitter);
|
|
37
35
|
private _getMethodsAndCallbacks;
|
|
38
36
|
get callbacks(): ExposedCallbacks;
|
|
39
37
|
/**
|
|
@@ -3,6 +3,7 @@ import { KernelPartList, UiPlanObject } from '@roomle/web-sdk/lib/definitions/ty
|
|
|
3
3
|
import { RapiConfigurationEnhanced } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
4
4
|
import { ButtonCallbackPayloads, CustomViewCallbackInfo } from './types';
|
|
5
5
|
import { Nullable, SaveDraftPayload } from '../../common/utils/types';
|
|
6
|
+
import { ExternalConfiguration } from '@roomle/web-sdk/lib/definitions/typings/external-objects';
|
|
6
7
|
|
|
7
8
|
export interface Price {
|
|
8
9
|
currencySymbol: Nullable<string>;
|
|
@@ -22,7 +23,7 @@ export declare class ExposedCallbacks {
|
|
|
22
23
|
* @param labels the label of the catalog and the furniture system
|
|
23
24
|
* @param configuration the data returned from the Roomle backend
|
|
24
25
|
*/
|
|
25
|
-
onRequestProduct: (configurationId: string, image: Base64Image, partList: KernelPartList, price: Price, labels: Labels, configuration: RapiConfigurationEnhanced) => void;
|
|
26
|
+
onRequestProduct: (configurationId: string, image: Base64Image, partList: KernelPartList, price: Price, labels: Labels, configuration: RapiConfigurationEnhanced | ExternalConfiguration) => void;
|
|
26
27
|
/**
|
|
27
28
|
* fullList fullList (needed for price calculation) of the current configuration
|
|
28
29
|
* @param partList the part list with all details, grouped, etc
|
|
@@ -11,19 +11,20 @@ import { Ref } from 'vue';
|
|
|
11
11
|
import { Libs } from '../plugins/libs-plugin';
|
|
12
12
|
import { Translator } from '../../common/composables/use-intl';
|
|
13
13
|
import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
|
|
14
|
+
import { ExternalConfiguration } from '@roomle/web-sdk/lib/definitions/typings/external-objects';
|
|
14
15
|
|
|
15
16
|
export declare const startConfiguring: (store: Store<StoreState>, exposedCallbacks: ExposedCallbacks) => void;
|
|
16
17
|
export declare const resetCollectionViewStates: (store: Store<StoreState>) => void;
|
|
17
18
|
export declare const stopConfiguring: (store: Store<StoreState>, sdkConnector: SdkConnector, embeddingCallbacks?: ExposedCallbacks) => Promise<void>;
|
|
18
19
|
export declare const triggerRequestProduct: (embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics) => Promise<void>;
|
|
19
|
-
export declare const sendSaveDraft: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: RapiConfigurationEnhanced | Nullable<RapiPlanSnapshotGetData | RapiPlan>) => Promise<import('@roomle/web-sdk/lib/definitions/typings/rapi-types').RapiJson>;
|
|
20
|
+
export declare const sendSaveDraft: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: RapiConfigurationEnhanced | Nullable<RapiPlanSnapshotGetData | RapiPlan | ExternalConfiguration>) => Promise<import('@roomle/web-sdk/lib/definitions/typings/rapi-types').RapiJson>;
|
|
20
21
|
export declare function handleSave(embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics, email?: string): Promise<SaveDraft>;
|
|
21
22
|
export declare const initializeConfiguration: (sdkConnector: SdkConnector, isPlanner: boolean, store: Store<StoreState>, email?: string, analytics?: Analytics, embeddingCallbacks?: ExposedCallbacks, skipSendCallback?: boolean) => Promise<{
|
|
22
|
-
configuration: RapiConfigurationEnhanced | RapiPlanSnapshotGetData | RapiPlan;
|
|
23
|
+
configuration: RapiConfigurationEnhanced | RapiPlanSnapshotGetData | RapiPlan | ExternalConfiguration;
|
|
23
24
|
image: string;
|
|
24
25
|
url: string;
|
|
25
26
|
}>;
|
|
26
|
-
export declare const generateUrl: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: Nullable<RapiPlan | RapiConfigurationEnhanced | RapiPlanSnapshotGetData>, isPlanner: boolean) => Promise<string>;
|
|
27
|
+
export declare const generateUrl: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: Nullable<RapiPlan | RapiConfigurationEnhanced | RapiPlanSnapshotGetData | ExternalConfiguration>, isPlanner: boolean) => Promise<string>;
|
|
27
28
|
export declare const triggerRequestPlan: (embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics) => Promise<void>;
|
|
28
29
|
export declare const getCurrentPerspectiveImage: (currentSelectedElement: Nullable<SelectionPayload>) => any;
|
|
29
30
|
export declare const printPartList: (partList: KernelPartList[], price: Nullable<string>, label: string, bounds: string, catalogLabel: Nullable<string>, sdkConnector: SdkConnector, store: Store<StoreState>, embeddingCallbacks: ExposedCallbacks, libs: Libs, intl: Translator, isGenerating: Ref<boolean>) => Promise<void>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Enumify, Nullable, PLAN_OBJECT_TYPES } from '../../common/utils/types';
|
|
1
|
+
import { Enumify, Nullable, RoomlePlannerWithExtObjs, PLAN_OBJECT_TYPES } from '../../common/utils/types';
|
|
2
2
|
import { Store } from 'vuex';
|
|
3
3
|
import { StoreState } from '../../common/store';
|
|
4
4
|
import { Analytics } from '../../common/plugins/analytics';
|
|
5
5
|
import { RoomleSdkWrapper } from '../../configurator/business-logic/roomle-sdk-wrapper';
|
|
6
6
|
import { UiInitData } from '../../configurator/embedding/types';
|
|
7
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
8
7
|
import { PLAN_ELEMENT_CHANGE_TYPES, SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
|
|
9
8
|
import { RapiConfigurationEnhanced, RapiId, RapiPlan, RapiPlanSnapshotGetData } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
10
9
|
import { CancelSelectionReasons } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
@@ -13,6 +12,7 @@ import { default as PlanElementViewModel } from '@roomle/web-sdk/lib/definitions
|
|
|
13
12
|
import { RuntimeId } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
14
13
|
import { default as EventEmitter } from '../../common/business-logic/event-emitter';
|
|
15
14
|
import { SdkConnector } from '../../configurator/business-logic/sdk-connector';
|
|
15
|
+
import { ExternalConfiguration } from '@roomle/web-sdk/lib/definitions/typings/external-objects';
|
|
16
16
|
|
|
17
17
|
export declare const getConstructionWallAngle: (selectionElement: Nullable<PlanElementViewModel>) => Nullable<number>;
|
|
18
18
|
export declare class SdkConnectorPlanner extends Connector {
|
|
@@ -30,9 +30,9 @@ export declare class SdkConnectorPlanner extends Connector {
|
|
|
30
30
|
private _initData;
|
|
31
31
|
private _sdkConnector;
|
|
32
32
|
constructor(store: Store<StoreState>, analytics?: Nullable<Analytics>, eventEmitter?: Nullable<EventEmitter>, sdkConnector?: Nullable<SdkConnector>);
|
|
33
|
-
get api(): Promise<
|
|
33
|
+
get api(): Promise<RoomlePlannerWithExtObjs>;
|
|
34
34
|
init(sdkWrapper: RoomleSdkWrapper, element: HTMLElement, initData: UiInitData): Promise<void>;
|
|
35
|
-
initPlanner(planner:
|
|
35
|
+
initPlanner(planner: RoomlePlannerWithExtObjs): Promise<void>;
|
|
36
36
|
loadPlan(id: RapiId): Promise<void>;
|
|
37
37
|
loadPlanBasedOnObjectId(id: RapiId): Promise<RuntimeId>;
|
|
38
38
|
getObjects(): Promise<import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPlanObject[]>;
|
|
@@ -40,7 +40,7 @@ export declare class SdkConnectorPlanner extends Connector {
|
|
|
40
40
|
onSelectionCancel(reason: CancelSelectionReasons): Promise<void>;
|
|
41
41
|
private _checkForVisibleDrawer;
|
|
42
42
|
saveCurrentPlan(): Promise<Nullable<RapiPlanSnapshotGetData | RapiPlan>>;
|
|
43
|
-
saveCurrentConfigurationInPlanSnapshot(configuration: RapiConfigurationEnhanced): Promise<Nullable<RapiPlanSnapshotGetData | RapiPlan>>;
|
|
43
|
+
saveCurrentConfigurationInPlanSnapshot(configuration: RapiConfigurationEnhanced | ExternalConfiguration): Promise<Nullable<RapiPlanSnapshotGetData | RapiPlan>>;
|
|
44
44
|
private _disableWallDrawingState;
|
|
45
45
|
private _enableWallDrawingState;
|
|
46
46
|
switch2D(): Promise<void>;
|
|
@@ -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:
|
|
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:
|
|
11
|
+
api: RoomlePlannerWithExtObjs;
|
|
13
12
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
13
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
api:
|
|
4
|
+
api: RoomlePlannerWithExtObjs;
|
|
5
5
|
isConstructionElement?: boolean;
|
|
6
6
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
-
api:
|
|
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 {
|
|
1
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
api:
|
|
4
|
+
api: RoomlePlannerWithExtObjs;
|
|
5
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
-
api:
|
|
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 {
|
|
2
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
selectionElement: PlanElementViewModel;
|
|
6
|
-
api:
|
|
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:
|
|
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 {
|
|
1
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
api:
|
|
4
|
+
api: RoomlePlannerWithExtObjs;
|
|
5
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
-
api:
|
|
6
|
+
api: RoomlePlannerWithExtObjs;
|
|
7
7
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
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:
|
|
19
|
+
api: RoomlePlannerWithExtObjs;
|
|
20
20
|
setValues: (values: KernelVector3) => Promise<void>;
|
|
21
21
|
getValues: () => KernelVector3;
|
|
22
22
|
labels: {
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { GridViewElement, GridViewGroup } from '../../../../configurator/components/grid-view/-utils/GridViewHelper';
|
|
3
3
|
import { RapiItem, RapiTag } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
4
4
|
import { CollectionViewUiState } from '../../../../common/store/collection-view-state';
|
|
5
|
-
import {
|
|
5
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
6
6
|
import { PlannerUiState } from '../../../store/planner-ui-state';
|
|
7
7
|
|
|
8
8
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
23
23
|
};
|
|
24
24
|
isDesktop: BooleanConstructor;
|
|
25
25
|
api: {
|
|
26
|
-
type: PropType<
|
|
26
|
+
type: PropType<RoomlePlannerWithExtObjs>;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
29
|
}>, {
|
|
@@ -51,7 +51,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
51
51
|
};
|
|
52
52
|
isDesktop: BooleanConstructor;
|
|
53
53
|
api: {
|
|
54
|
-
type: PropType<
|
|
54
|
+
type: PropType<RoomlePlannerWithExtObjs>;
|
|
55
55
|
required: true;
|
|
56
56
|
};
|
|
57
57
|
}>> & Readonly<{}>, {
|
|
@@ -62,8 +62,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
62
|
isExpanded?: boolean;
|
|
63
63
|
onExpand: (event: MouseEvent) => void;
|
|
64
64
|
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
65
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
66
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
65
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
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>[];
|
|
68
68
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
69
69
|
groups: GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -76,8 +76,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
76
76
|
isExpanded?: boolean;
|
|
77
77
|
onExpand: (event: MouseEvent) => void;
|
|
78
78
|
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
79
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
80
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
79
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
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>[];
|
|
82
82
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
83
83
|
groups: GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
3
3
|
import { PlanInteractionHandler } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
4
4
|
import { GridViewElement } from '../../../../configurator/components/grid-view/-utils/GridViewHelper';
|
|
5
5
|
import { default as PlanElementViewModel } from '@roomle/web-sdk/lib/definitions/common-core/src/view-model/plan-element-view-model';
|
|
@@ -12,7 +12,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
api: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<RoomlePlannerWithExtObjs>;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
interactionHandler: {
|
|
@@ -2265,7 +2265,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2265
2265
|
required: true;
|
|
2266
2266
|
};
|
|
2267
2267
|
api: {
|
|
2268
|
-
type: PropType<
|
|
2268
|
+
type: PropType<RoomlePlannerWithExtObjs>;
|
|
2269
2269
|
required: true;
|
|
2270
2270
|
};
|
|
2271
2271
|
interactionHandler: {
|
|
@@ -2743,7 +2743,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2743
2743
|
required: true;
|
|
2744
2744
|
};
|
|
2745
2745
|
}>, {
|
|
2746
|
-
api: import('vue').ShallowRef<
|
|
2746
|
+
api: import('vue').ShallowRef<RoomlePlannerWithExtObjs>;
|
|
2747
2747
|
}, {
|
|
2748
2748
|
scalingDirection: number;
|
|
2749
2749
|
}, {}, {
|
|
@@ -5111,7 +5111,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5111
5111
|
};
|
|
5112
5112
|
isDesktop: BooleanConstructor;
|
|
5113
5113
|
api: {
|
|
5114
|
-
type: PropType<
|
|
5114
|
+
type: PropType<RoomlePlannerWithExtObjs>;
|
|
5115
5115
|
required: true;
|
|
5116
5116
|
};
|
|
5117
5117
|
}>, {
|
|
@@ -5139,7 +5139,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5139
5139
|
};
|
|
5140
5140
|
isDesktop: BooleanConstructor;
|
|
5141
5141
|
api: {
|
|
5142
|
-
type: PropType<
|
|
5142
|
+
type: PropType<RoomlePlannerWithExtObjs>;
|
|
5143
5143
|
required: true;
|
|
5144
5144
|
};
|
|
5145
5145
|
}>> & Readonly<{}>, {
|
|
@@ -5150,8 +5150,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5150
5150
|
isExpanded?: boolean;
|
|
5151
5151
|
onExpand: (event: MouseEvent) => void;
|
|
5152
5152
|
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
5153
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
5154
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
5153
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
5154
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
5155
5155
|
elements: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
5156
5156
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
5157
5157
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -5164,8 +5164,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5164
5164
|
isExpanded?: boolean;
|
|
5165
5165
|
onExpand: (event: MouseEvent) => void;
|
|
5166
5166
|
onSelect: (possibleChild: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>) => Promise<void>;
|
|
5167
|
-
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
5168
|
-
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event:
|
|
5167
|
+
onDragStart?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => Promise<void>;
|
|
5168
|
+
onDragEnd?: (gridViewElement: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>, event: DragEvent | TouchEvent) => void;
|
|
5169
5169
|
elements: GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
5170
5170
|
selectedElement?: import('@roomle/web-sdk/lib/definitions/typings/kernel').UiPossibleChild | import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewVariantElement | GridViewElement<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>;
|
|
5171
5171
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElementPossiblePayload>[];
|
|
@@ -5176,10 +5176,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5176
5176
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5177
5177
|
LoadingSpinner: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5178
5178
|
ProductPositions: import('vue').DefineComponent<{
|
|
5179
|
-
api:
|
|
5179
|
+
api: RoomlePlannerWithExtObjs;
|
|
5180
5180
|
isConstructionElement?: boolean;
|
|
5181
5181
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5182
|
-
api:
|
|
5182
|
+
api: RoomlePlannerWithExtObjs;
|
|
5183
5183
|
isConstructionElement?: boolean;
|
|
5184
5184
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5185
5185
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ShallowRef } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
3
3
|
import { CoreBoundValue } from '../../../../common/composables/use-core-bound-value';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>, {
|
|
23
|
-
api: ShallowRef<
|
|
23
|
+
api: ShallowRef<RoomlePlannerWithExtObjs>;
|
|
24
24
|
}, {
|
|
25
25
|
scalingDirection: number;
|
|
26
26
|
}, {}, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { CloseReason } from '../../../../common/utils/types';
|
|
2
|
-
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
1
|
+
import { CloseReason, RoomlePlannerWithExtObjs } from '../../../../common/utils/types';
|
|
3
2
|
import { BUTTON_ACTIONS } from '../../../../configurator/store/ui-state';
|
|
4
3
|
import { PlanInteractionHandler } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
5
4
|
|
|
@@ -7,11 +6,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
6
|
onClose: (_buttonAction: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
|
|
8
7
|
onToggleExpand?: () => void;
|
|
9
8
|
interactionHandler: PlanInteractionHandler;
|
|
10
|
-
api:
|
|
9
|
+
api: RoomlePlannerWithExtObjs;
|
|
11
10
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
11
|
onClose: (_buttonAction: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
|
|
13
12
|
onToggleExpand?: () => void;
|
|
14
13
|
interactionHandler: PlanInteractionHandler;
|
|
15
|
-
api:
|
|
14
|
+
api: RoomlePlannerWithExtObjs;
|
|
16
15
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
16
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
configuratorApi: import('vue').ShallowRef<import('
|
|
2
|
+
configuratorApi: import('vue').ShallowRef<import('../../../common/utils/types').RoomleConfiguratorType>;
|
|
3
3
|
}, {}, {
|
|
4
4
|
isLoaded(): boolean;
|
|
5
5
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
api: import('vue').ShallowRef<import('
|
|
2
|
+
api: import('vue').ShallowRef<import('../../../common/utils/types').RoomlePlannerWithExtObjs>;
|
|
3
3
|
planInteractionHandler: import('vue').ShallowRef<import('@roomle/web-sdk/lib/definitions/typings/planner').PlanInteractionHandler>;
|
|
4
4
|
}, {}, {
|
|
5
5
|
isLoaded(): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KernelPartList, UiPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
2
2
|
import { StoreState } from '../../common/store';
|
|
3
3
|
import { RapiConfiguration, RapiItem } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
4
|
-
import {
|
|
4
|
+
import { RoomlePlannerWithExtObjs } from '../../common/utils/types';
|
|
5
5
|
|
|
6
6
|
export interface XYZCoords {
|
|
7
7
|
x: number;
|
|
@@ -13,4 +13,4 @@ export interface ProductListItem extends UiPlanObject {
|
|
|
13
13
|
runtimeIds?: number[];
|
|
14
14
|
}
|
|
15
15
|
export declare const matchProductListAndQuantity: (productList: UiPlanObject[]) => ProductListItem[];
|
|
16
|
-
export declare const fillPartList: (data: RapiItem | RapiConfiguration, partList: KernelPartList, hash: string, plannerApi:
|
|
16
|
+
export declare const fillPartList: (data: RapiItem | RapiConfiguration, partList: KernelPartList, hash: string, plannerApi: RoomlePlannerWithExtObjs, store: Store<StoreState>) => Promise<void>;
|