@roomle/embedding-lib 4.34.0 → 4.35.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/api/classes/exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md +1 -1
- package/docs/api/classes/exposed_api.ExposedApi.md +11 -11
- package/docs/api/classes/exposed_callbacks.ExposedCallbacks.md +7 -7
- package/docs/api/classes/roomle_configurator_api.default.md +9 -9
- package/docs/api/enums/types.UI_BUTTON.md +32 -21
- package/docs/api/interfaces/exposed_callbacks.Labels.md +2 -2
- package/docs/api/interfaces/exposed_callbacks.Price.md +2 -2
- package/docs/api/interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md +4 -4
- package/docs/api/interfaces/types.ConfiguratorSettings.md +5 -5
- package/docs/api/interfaces/types.EmbeddingSkin.md +5 -5
- package/docs/api/interfaces/types.UiInitData.md +17 -16
- package/docs/api/modules/roomle_configurator_api.md +3 -3
- package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +32 -31
- package/package.json +2 -2
- package/types/index.d.ts +94 -66
- package/types/src/common/business-logic/event-bus.d.ts +5 -0
- package/types/src/{configurator → common}/components/collection-view/-utils/types.d.ts +0 -0
- package/types/src/common/store/collection-view-state.d.ts +3 -2
- package/types/src/common/store/index.d.ts +5 -1
- package/types/src/common/utils/parameters.d.ts +2 -2
- package/types/src/common/utils/types.d.ts +2 -0
- package/types/src/configurator/embedding/types.d.ts +3 -1
- package/types/src/planner/business-logic/rooms.d.ts +1 -1
- package/types/src/planner/store/planner-core-data.d.ts +1 -1
- package/types/src/planner/store/planner-ui-state.d.ts +13 -5
- package/types/src/planner/utils/{product-list.d.ts → planner-sidebar.d.ts} +11 -0
- package/types/tests/helpers/data/items.d.ts +90 -0
- package/types/tests/helpers/data/plan.d.ts +224 -0
- package/types/tests/helpers/mocks/store.d.ts +2 -1
- package/types/tests/integration/common/components/{ProductButtons.spec.d.ts → BottomButtons.spec.d.ts} +0 -0
- package/types/tests/integration/{configurator/components/overlays → common/components/part-list}/part-list/PartListPrint.spec.d.ts +0 -0
- package/types/tests/integration/{configurator/components/overlays → common/components/part-list}/part-list/PartListRow.spec.d.ts +0 -0
- package/types/tests/integration/configurator/components/overlays/PartList.spec.d.ts +1 -0
- package/types/tests/unit/common/business-logic/event-bus.spec.d.ts +1 -0
|
@@ -127,7 +127,7 @@ to view 3d content. Imagine it then as a <img> tag for 3d content
|
|
|
127
127
|
|
|
128
128
|
#### Defined in
|
|
129
129
|
|
|
130
|
-
[src/configurator/embedding/types.ts:
|
|
130
|
+
[src/configurator/embedding/types.ts:90](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L90)
|
|
131
131
|
|
|
132
132
|
___
|
|
133
133
|
|
|
@@ -144,7 +144,7 @@ InitDataDefinition.applyCurrentGlobalParameters
|
|
|
144
144
|
|
|
145
145
|
#### Defined in
|
|
146
146
|
|
|
147
|
-
[src/configurator/embedding/types.ts:
|
|
147
|
+
[src/configurator/embedding/types.ts:137](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L137)
|
|
148
148
|
|
|
149
149
|
___
|
|
150
150
|
|
|
@@ -193,6 +193,7 @@ ___
|
|
|
193
193
|
| Name | Type |
|
|
194
194
|
| :------ | :------ |
|
|
195
195
|
| `2dview?` | false \| true |
|
|
196
|
+
| `add_room?` | false \| true |
|
|
196
197
|
| `addons?` | false \| true |
|
|
197
198
|
| `ar?` | false \| true |
|
|
198
199
|
| `dimensions?` | false \| true |
|
|
@@ -213,7 +214,7 @@ ___
|
|
|
213
214
|
|
|
214
215
|
#### Defined in
|
|
215
216
|
|
|
216
|
-
[src/configurator/embedding/types.ts:
|
|
217
|
+
[src/configurator/embedding/types.ts:39](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L39)
|
|
217
218
|
|
|
218
219
|
___
|
|
219
220
|
|
|
@@ -344,7 +345,7 @@ usage: http://www.example.com/configurator?id=#CONFIGURATIONID#
|
|
|
344
345
|
|
|
345
346
|
#### Defined in
|
|
346
347
|
|
|
347
|
-
[src/configurator/embedding/types.ts:
|
|
348
|
+
[src/configurator/embedding/types.ts:77](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L77)
|
|
348
349
|
|
|
349
350
|
___
|
|
350
351
|
|
|
@@ -409,7 +410,7 @@ an e-mail
|
|
|
409
410
|
|
|
410
411
|
#### Defined in
|
|
411
412
|
|
|
412
|
-
[src/configurator/embedding/types.ts:
|
|
413
|
+
[src/configurator/embedding/types.ts:95](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L95)
|
|
413
414
|
|
|
414
415
|
___
|
|
415
416
|
|
|
@@ -423,7 +424,7 @@ so that we can ensure a smooth transition between different versions of our conf
|
|
|
423
424
|
|
|
424
425
|
#### Defined in
|
|
425
426
|
|
|
426
|
-
[src/configurator/embedding/types.ts:
|
|
427
|
+
[src/configurator/embedding/types.ts:111](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L111)
|
|
427
428
|
|
|
428
429
|
___
|
|
429
430
|
|
|
@@ -451,7 +452,7 @@ set this flag to false if the user did not give the consent to Analytics
|
|
|
451
452
|
|
|
452
453
|
#### Defined in
|
|
453
454
|
|
|
454
|
-
[src/configurator/embedding/types.ts:
|
|
455
|
+
[src/configurator/embedding/types.ts:115](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L115)
|
|
455
456
|
|
|
456
457
|
___
|
|
457
458
|
|
|
@@ -463,7 +464,7 @@ set this flag to true if you want to group the part list by main components
|
|
|
463
464
|
|
|
464
465
|
#### Defined in
|
|
465
466
|
|
|
466
|
-
[src/configurator/embedding/types.ts:
|
|
467
|
+
[src/configurator/embedding/types.ts:105](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L105)
|
|
467
468
|
|
|
468
469
|
___
|
|
469
470
|
|
|
@@ -650,7 +651,7 @@ small div
|
|
|
650
651
|
|
|
651
652
|
#### Defined in
|
|
652
653
|
|
|
653
|
-
[src/configurator/embedding/types.ts:
|
|
654
|
+
[src/configurator/embedding/types.ts:101](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L101)
|
|
654
655
|
|
|
655
656
|
___
|
|
656
657
|
|
|
@@ -771,7 +772,7 @@ ___
|
|
|
771
772
|
|
|
772
773
|
#### Defined in
|
|
773
774
|
|
|
774
|
-
[src/configurator/embedding/types.ts:
|
|
775
|
+
[src/configurator/embedding/types.ts:63](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L63)
|
|
775
776
|
|
|
776
777
|
___
|
|
777
778
|
|
|
@@ -886,7 +887,7 @@ for details see deeplink, the only change is that the placeholder is <CONF_ID> h
|
|
|
886
887
|
|
|
887
888
|
#### Defined in
|
|
888
889
|
|
|
889
|
-
[src/configurator/embedding/types.ts:
|
|
890
|
+
[src/configurator/embedding/types.ts:68](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L68)
|
|
890
891
|
|
|
891
892
|
___
|
|
892
893
|
|
|
@@ -948,7 +949,7 @@ ___
|
|
|
948
949
|
|
|
949
950
|
#### Defined in
|
|
950
951
|
|
|
951
|
-
[src/configurator/embedding/types.ts:
|
|
952
|
+
[src/configurator/embedding/types.ts:60](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L60)
|
|
952
953
|
|
|
953
954
|
___
|
|
954
955
|
|
|
@@ -1006,7 +1007,7 @@ You can find all labels here: [Base.json](../../../ui/base.json)
|
|
|
1006
1007
|
|
|
1007
1008
|
#### Defined in
|
|
1008
1009
|
|
|
1009
|
-
[src/configurator/embedding/types.ts:
|
|
1010
|
+
[src/configurator/embedding/types.ts:132](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L132)
|
|
1010
1011
|
|
|
1011
1012
|
___
|
|
1012
1013
|
|
|
@@ -1087,7 +1088,7 @@ ___
|
|
|
1087
1088
|
|
|
1088
1089
|
#### Defined in
|
|
1089
1090
|
|
|
1090
|
-
[src/configurator/embedding/types.ts:
|
|
1091
|
+
[src/configurator/embedding/types.ts:62](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L62)
|
|
1091
1092
|
|
|
1092
1093
|
___
|
|
1093
1094
|
|
|
@@ -1138,7 +1139,7 @@ usm:frame is loaded all the items from the tag "DB_Start_ohne_Element" are now s
|
|
|
1138
1139
|
|
|
1139
1140
|
#### Defined in
|
|
1140
1141
|
|
|
1141
|
-
[src/configurator/embedding/types.ts:
|
|
1142
|
+
[src/configurator/embedding/types.ts:84](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L84)
|
|
1142
1143
|
|
|
1143
1144
|
___
|
|
1144
1145
|
|
|
@@ -1148,7 +1149,7 @@ ___
|
|
|
1148
1149
|
|
|
1149
1150
|
#### Defined in
|
|
1150
1151
|
|
|
1151
|
-
[src/configurator/embedding/types.ts:
|
|
1152
|
+
[src/configurator/embedding/types.ts:61](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/types.ts#L61)
|
|
1152
1153
|
|
|
1153
1154
|
___
|
|
1154
1155
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[src/configurator/embedding/roomle-configurator-api.ts:70](https://gitlab.com/roomle/web/roomle-ui/-/blob/
|
|
29
|
+
[src/configurator/embedding/roomle-configurator-api.ts:70](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/roomle-configurator-api.ts#L70)
|
|
30
30
|
|
|
31
31
|
___
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ ___
|
|
|
36
36
|
|
|
37
37
|
#### Defined in
|
|
38
38
|
|
|
39
|
-
[src/configurator/embedding/roomle-configurator-api.ts:72](https://gitlab.com/roomle/web/roomle-ui/-/blob/
|
|
39
|
+
[src/configurator/embedding/roomle-configurator-api.ts:72](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/roomle-configurator-api.ts#L72)
|
|
40
40
|
|
|
41
41
|
___
|
|
42
42
|
|
|
@@ -46,4 +46,4 @@ ___
|
|
|
46
46
|
|
|
47
47
|
#### Defined in
|
|
48
48
|
|
|
49
|
-
[src/configurator/embedding/roomle-configurator-api.ts:71](https://gitlab.com/roomle/web/roomle-ui/-/blob/
|
|
49
|
+
[src/configurator/embedding/roomle-configurator-api.ts:71](https://gitlab.com/roomle/web/roomle-ui/-/blob/81cb0139/src/configurator/embedding/roomle-configurator-api.ts#L71)
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
## [4.
|
|
1
|
+
## [4.35.0](https://gitlab.com/roomle/web/roomle-ui/compare/embedding-v4.34.0...embedding-v4.35.0) (2022-05-24)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* add
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* implement product list and part list
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* **SDK:** upgrade to version 2.
|
|
15
|
-
* **SDK:** upgrade to version 2.
|
|
16
|
-
* **SDK:** upgrade to version 2.31.0-alpha.2 ([638cf4b](https://gitlab.com/roomle/web/roomle-ui/commit/638cf4b91650f35fbfff4f5b9ecee5caf2a3af5d))
|
|
17
|
-
* **SDK:** upgrade to version 2.31.0-alpha.3 ([e198e51](https://gitlab.com/roomle/web/roomle-ui/commit/e198e513ed99d203f3eeabb0a218033d27a12aca))
|
|
18
|
-
* **SDK:** upgrade to version 2.31.0-alpha.4 ([52ad6a1](https://gitlab.com/roomle/web/roomle-ui/commit/52ad6a1687f3af6c4e18020a2ff5834f76d44d26))
|
|
6
|
+
* add fullscreen modus on mobile planner too ([db76d7b](https://gitlab.com/roomle/web/roomle-ui/commit/db76d7b7539e268f1d81d3ec1f26556d04770e74))
|
|
7
|
+
* add right behaviour for fullscreen modus on mobile ([a8329bf](https://gitlab.com/roomle/web/roomle-ui/commit/a8329bf60bd9eb9f824fd18b4fd55232dc4f2ddf))
|
|
8
|
+
* adding fullscreen as default view on mobile ([93bb33e](https://gitlab.com/roomle/web/roomle-ui/commit/93bb33e86a8cc0b1a2065bf98ab359d4906827c0))
|
|
9
|
+
* implement event bus in planner product list and part list ([1385fca](https://gitlab.com/roomle/web/roomle-ui/commit/1385fca6fd2c93ae4cd4fe22114fa2c6f9205ef1))
|
|
10
|
+
* implement generic overlay for planner sidebar ([6ddadef](https://gitlab.com/roomle/web/roomle-ui/commit/6ddadefac7a07ea0cdb8b4ffa0fb0da1c999643c))
|
|
11
|
+
* remove automatically generated walls before adding new walls ([d3a1f6c](https://gitlab.com/roomle/web/roomle-ui/commit/d3a1f6c9d9cc87474fa85946467145a6d418d516))
|
|
12
|
+
* **SDK:** upgrade to version 2.32.0 ([6acb7d4](https://gitlab.com/roomle/web/roomle-ui/commit/6acb7d4b1277ecb381a42db7791c40b49021380f))
|
|
13
|
+
* **SDK:** upgrade to version 2.32.0-alpha.1 ([d0541af](https://gitlab.com/roomle/web/roomle-ui/commit/d0541afb0953d9069a7d3dfc2ad820e207757ad6))
|
|
14
|
+
* **SDK:** upgrade to version 2.32.0-alpha.2 ([7cd8cc7](https://gitlab.com/roomle/web/roomle-ui/commit/7cd8cc7424210cadc984beeb1acfaeacfe7061bf))
|
|
15
|
+
* **SDK:** upgrade to version 2.32.0-alpha.3 ([59618bc](https://gitlab.com/roomle/web/roomle-ui/commit/59618bc09047e0753da95534331214b85e5838c2))
|
|
19
16
|
|
|
20
17
|
|
|
21
18
|
### Bug Fixes
|
|
22
19
|
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* show
|
|
38
|
-
*
|
|
39
|
-
*
|
|
20
|
+
* add deselect button action on interaction container toggle ([d4648f9](https://gitlab.com/roomle/web/roomle-ui/commit/d4648f9b845d868d9ff154f6bf52ee830a814709))
|
|
21
|
+
* bug if expand catalog ([3f3d4f7](https://gitlab.com/roomle/web/roomle-ui/commit/3f3d4f794719bcca714a085880f79fe8b29f4972))
|
|
22
|
+
* deselect sidebar action buttons if toggle interaction menu ([bf5cc92](https://gitlab.com/roomle/web/roomle-ui/commit/bf5cc9207175739796c9cb802895796f5b62a1a6))
|
|
23
|
+
* display catalog trigger only when there is a catalog available ([ed073e3](https://gitlab.com/roomle/web/roomle-ui/commit/ed073e3b890ba6c1373e88e73d7e9c433eafb21c))
|
|
24
|
+
* eslint errors ([a0d4573](https://gitlab.com/roomle/web/roomle-ui/commit/a0d4573e8d93400f6375a3551b5fcfe5c7c60a6c))
|
|
25
|
+
* failing tests ([fd49e17](https://gitlab.com/roomle/web/roomle-ui/commit/fd49e17b92148cbae8a9d3a04f2d25450304e428))
|
|
26
|
+
* failing tests ([b445959](https://gitlab.com/roomle/web/roomle-ui/commit/b445959f477df554c0b9ce722bc1dbd7116d253c))
|
|
27
|
+
* if click catalog trigger, other buttons should not be active anymore ([a499cd2](https://gitlab.com/roomle/web/roomle-ui/commit/a499cd299429ffc204733619d629d7e7ee20b49b))
|
|
28
|
+
* if expand catalog, it should not clear add rooms ([21eb4b0](https://gitlab.com/roomle/web/roomle-ui/commit/21eb4b0cef76472d5fcac3873729340c2c5e8400))
|
|
29
|
+
* if trigger toggle product list and part list should be closed ([711e357](https://gitlab.com/roomle/web/roomle-ui/commit/711e357c2db2175b2dcccdb3c5053ff648dfcfc8))
|
|
30
|
+
* interaction container exposes eventBus ([d2e1a7b](https://gitlab.com/roomle/web/roomle-ui/commit/d2e1a7ba77074a63fe2a6e8238665d8cba08c57f))
|
|
31
|
+
* resolves RML-4018 ([1d3601d](https://gitlab.com/roomle/web/roomle-ui/commit/1d3601d4c94fdfd2bd1b401924541430f127ef97))
|
|
32
|
+
* save lastWalls in store so that they are not lost when the component is destroyed ([0229f4b](https://gitlab.com/roomle/web/roomle-ui/commit/0229f4befa82119c90bce7e50c4ee536d601dda5))
|
|
33
|
+
* should not expand interaction container on mobile when sample rooms is toggled ([9e3608b](https://gitlab.com/roomle/web/roomle-ui/commit/9e3608b0883edcb00e61d21eb046171c94ab821a))
|
|
34
|
+
* show close button of standalone views only on desktop ([34ba73f](https://gitlab.com/roomle/web/roomle-ui/commit/34ba73f728eb58ecab1022b755f3c1885485b913))
|
|
35
|
+
* show part list button properly in moc ([88084a4](https://gitlab.com/roomle/web/roomle-ui/commit/88084a49c58698a4894dbd58b0d946df7f723756))
|
|
36
|
+
* toggle work also on mobile ([dab5f1c](https://gitlab.com/roomle/web/roomle-ui/commit/dab5f1c5fc7e9a6a2ab7f87c9b6503489c7c1aa6))
|
|
37
|
+
* transform add product button to a a toggle button which does not hide ([d91295e](https://gitlab.com/roomle/web/roomle-ui/commit/d91295ee56aa26c2934d4c5ea861daeb98ae2fb8))
|
|
38
|
+
* ts-lint warnings ([b02659e](https://gitlab.com/roomle/web/roomle-ui/commit/b02659eeaf1b8db76f1f1654fce9c860f7a6f6c3))
|
|
39
|
+
* use plannerUiState instead of only state only ([52d6076](https://gitlab.com/roomle/web/roomle-ui/commit/52d6076b5f24679b7ed8f45dd32b2c95819a62c8))
|
|
40
|
+
* when toggle sidebar, catalog trigger should also be enabled again ([b98c712](https://gitlab.com/roomle/web/roomle-ui/commit/b98c712ee4407cda56942001e12acba4dedd569d))
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/embedding-lib",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.35.0",
|
|
4
4
|
"main": "roomle-configurator-api.es.min.js",
|
|
5
5
|
"types": "types/index.d.ts",
|
|
6
6
|
"author": "Roomle Development",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@roomle/web-sdk": "2.
|
|
8
|
+
"@roomle/web-sdk": "2.32.0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@semantic-release/changelog": "^5.0.1",
|
package/types/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ declare module "common/utils/types" {
|
|
|
12
12
|
SHARE_AR = 301,
|
|
13
13
|
SAVE_DRAFT = 302
|
|
14
14
|
}
|
|
15
|
+
export type ToggleCallback = (isExpanded: boolean) => void;
|
|
16
|
+
export type CloseReason = 'toggle';
|
|
15
17
|
}
|
|
16
18
|
declare module "configurator/embedding/message-handler" {
|
|
17
19
|
import { Nullable } from "common/utils/types";
|
|
@@ -69,7 +71,8 @@ declare module "configurator/embedding/types" {
|
|
|
69
71
|
REDO = "redo",
|
|
70
72
|
PARTLIST_PLANNER = "partlist_planner",
|
|
71
73
|
PRODUCTLIST = "productlist",
|
|
72
|
-
TWO_D_VIEW = "2dview"
|
|
74
|
+
TWO_D_VIEW = "2dview",
|
|
75
|
+
ADD_ROOM = "add_room"
|
|
73
76
|
}
|
|
74
77
|
interface FeatureFlags {
|
|
75
78
|
realPartList?: boolean;
|
|
@@ -98,6 +101,7 @@ declare module "configurator/embedding/types" {
|
|
|
98
101
|
[UI_BUTTON.REDO]?: boolean;
|
|
99
102
|
[UI_BUTTON.TWO_D_VIEW]?: boolean;
|
|
100
103
|
[UI_BUTTON.PARTLIST_PLANNER]?: boolean;
|
|
104
|
+
[UI_BUTTON.ADD_ROOM]?: boolean;
|
|
101
105
|
};
|
|
102
106
|
skin?: EmbeddingSkin;
|
|
103
107
|
zIndex?: number;
|
|
@@ -347,7 +351,7 @@ declare module "configurator/store/core-data" {
|
|
|
347
351
|
}
|
|
348
352
|
export const coreData: Module<CoreData, StoreState>;
|
|
349
353
|
}
|
|
350
|
-
declare module "
|
|
354
|
+
declare module "common/components/collection-view/-utils/types" {
|
|
351
355
|
import { Nullable } from "common/utils/types";
|
|
352
356
|
import { UiPossibleChildTag, UiKernelParameter } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
353
357
|
import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
@@ -360,9 +364,9 @@ declare module "configurator/components/collection-view/-utils/types" {
|
|
|
360
364
|
}
|
|
361
365
|
}
|
|
362
366
|
declare module "common/utils/parameters" {
|
|
363
|
-
import { RapiMaterial, RapiMaterialGroup,
|
|
367
|
+
import { RapiMaterial, RapiMaterialGroup, RapiTagForUi, RapiTexture } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
364
368
|
import { KernelPartListParameter, UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
365
|
-
import { CollectionViewElement } from "
|
|
369
|
+
import { CollectionViewElement } from "common/components/collection-view/-utils/types";
|
|
366
370
|
import { VariantsMap } from "configurator/embedding/types";
|
|
367
371
|
import RoomleConfigurator from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
368
372
|
export interface RapiMaterialEmbeddedTextures extends RapiMaterial {
|
|
@@ -442,10 +446,87 @@ declare module "common/store/common-ui-state" {
|
|
|
442
446
|
}
|
|
443
447
|
export const commonUiState: Module<CommonUiState, StoreState>;
|
|
444
448
|
}
|
|
449
|
+
declare module "planner/utils/planner-sidebar" {
|
|
450
|
+
import { KernelPartList, UiPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
451
|
+
import { Store } from 'vuex';
|
|
452
|
+
import { StoreState } from "common/store/index";
|
|
453
|
+
import { SdkConnector } from "configurator/business-logic/sdk-connector";
|
|
454
|
+
import { RapiConfiguration, RapiItem } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
455
|
+
export interface PlannerSidebarState {
|
|
456
|
+
welcome: boolean;
|
|
457
|
+
catalog: boolean;
|
|
458
|
+
productList: boolean;
|
|
459
|
+
partList: boolean;
|
|
460
|
+
sampleRooms: boolean;
|
|
461
|
+
selectionDetail: boolean;
|
|
462
|
+
mobileExpanded: boolean;
|
|
463
|
+
[key: string]: boolean;
|
|
464
|
+
}
|
|
465
|
+
export interface ProductListItem extends UiPlanObject {
|
|
466
|
+
quantity: number;
|
|
467
|
+
}
|
|
468
|
+
export const initialPlannerSidebarState: PlannerSidebarState;
|
|
469
|
+
export const matchProductListAndQuantity: (productList: UiPlanObject[]) => ProductListItem[];
|
|
470
|
+
export const fillPartList: (data: RapiItem | RapiConfiguration, partList: KernelPartList, hash: string, sdkConnector: SdkConnector, store: Store<StoreState>) => Promise<void>;
|
|
471
|
+
}
|
|
472
|
+
declare module "planner/store/planner-ui-state" {
|
|
473
|
+
import { Module } from 'vuex';
|
|
474
|
+
import { SharedUiState, StoreState } from "common/store/index";
|
|
475
|
+
import { Nullable } from "common/utils/types";
|
|
476
|
+
import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
|
|
477
|
+
import { BUTTON_ACTIONS } from "configurator/store/ui-state";
|
|
478
|
+
import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
479
|
+
import { PlannerSidebarState } from "planner/utils/planner-sidebar";
|
|
480
|
+
import { KernelWall } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
481
|
+
type SelectionType = 'static' | 'configuration';
|
|
482
|
+
export interface PlannerUiState extends SharedUiState {
|
|
483
|
+
selection: Nullable<SelectionType>;
|
|
484
|
+
selectionPayload: Nullable<SelectionPayload>;
|
|
485
|
+
isDrag: boolean;
|
|
486
|
+
catalogTags: Nullable<RapiTagForUi[]>;
|
|
487
|
+
actionMenuExpanded: boolean;
|
|
488
|
+
selectedActions: BUTTON_ACTIONS[];
|
|
489
|
+
stackViewStack: PlannerSidebarState[];
|
|
490
|
+
lastWalls: KernelWall[];
|
|
491
|
+
}
|
|
492
|
+
export enum PLANNER_UI_STATE_MUTATIONS {
|
|
493
|
+
SET_SELECTION_PAYLOAD = "PLANNER_UI_STATE_setSelectionPayload",
|
|
494
|
+
SET_SELECTION = "PLANNER_UI_STATE_setSelection",
|
|
495
|
+
SET_IS_LANDSCAPE = "PLANNER_UI_STATE_setIsLandscape",
|
|
496
|
+
SET_INTERACTIONS_EXPANDED = "PLANNER_UI_STATE_setInteractionsExpanded",
|
|
497
|
+
SET_IS_FULLSCREEN = "PLANNER_UI_STATE_setIsFullscreen",
|
|
498
|
+
SET_IS_DESKTOP = "PLANNER_UI_STATE_setIsDesktop",
|
|
499
|
+
SET_LAST_REGULAR_VIEW_MODE = "PLANNER_UI_STATE_SET_LAST_REGULAR_VIEW_MODE",
|
|
500
|
+
SET_CATALOG_ROOT_TAG = "PLANNER_UI_STATE_SET_CATALOG_ROOT_TAG",
|
|
501
|
+
SET_IS_DRAG = "SET_IS_DRAG",
|
|
502
|
+
SET_ACTION_SELECTED = "SET_ACTION_SELECTED",
|
|
503
|
+
SET_ACTION_DESELECTED = "SET_ACTION_DESELECTED",
|
|
504
|
+
SET_ACTION_MENU_EXPANDED = "SET_ACTION_MENU_EXPANDED",
|
|
505
|
+
SET_TOPBAR_ACTION_SELECTED = "SET_TOPBAR_ACTION_SELECTED",
|
|
506
|
+
SET_TOPBAR_ACTION_DESELECTED = "SET_TOPBAR_ACTION_DESELECTED",
|
|
507
|
+
PUSH_SIDEBAR_VIEW = "PUSH_SIDEBAR_VIEW",
|
|
508
|
+
POP_SIDEBAR_VIEW = "POP_SIDEBAR_VIEW",
|
|
509
|
+
CLEAR_SIDEBAR = "CLEAR_SIDEBAR",
|
|
510
|
+
SET_LAST_WALLS = "SET_LAST_WALLS"
|
|
511
|
+
}
|
|
512
|
+
export enum PLANNER_UI_STATE_ACTIONS {
|
|
513
|
+
SELECT_VIEW_MODE = "PLANNER_UI_STATE_SELECT_VIEW_MODE",
|
|
514
|
+
SET_INTERACTIONS_EXPANDED = "PLANNER_UI_STATE_SET_INTERACTIONS_EXPANDED",
|
|
515
|
+
DESELECT_SIDEBAR_ACTION_BUTTONS = "DESELECT_SIDEBAR_ACTION_BUTTONS"
|
|
516
|
+
}
|
|
517
|
+
export enum PLANNER_UI_STATE_GETTERS {
|
|
518
|
+
CATALOG_ROOT_TAG = "PLANNER_UI_STATE_CATALOG_ROOT_TAG",
|
|
519
|
+
SELECTED_ITEM_PAYLOAD = "PLANNER_UI_STATE_SELECTED_ITEM_PAYLOAD",
|
|
520
|
+
PART_LIST_PLANNER_SHOWN = "PART_LIST_PLANNER_SHOWN",
|
|
521
|
+
PRODUCT_LIST_SHOWN = "PRODUCT_LIST_SHOWN",
|
|
522
|
+
LAST_OF_STACK_VIEW_STACK = "LAST_OF_STACK_VIEW_STACK"
|
|
523
|
+
}
|
|
524
|
+
export const plannerUiState: Module<PlannerUiState, StoreState>;
|
|
525
|
+
}
|
|
445
526
|
declare module "common/store/collection-view-state" {
|
|
446
527
|
import { Module } from 'vuex';
|
|
447
528
|
import { Nullable } from "common/utils/types";
|
|
448
|
-
import { CollectionViewElement } from "
|
|
529
|
+
import { CollectionViewElement } from "common/components/collection-view/-utils/types";
|
|
449
530
|
import { StoreState } from "common/store/index";
|
|
450
531
|
export interface GridViewUiState {
|
|
451
532
|
filter: string[];
|
|
@@ -461,7 +542,8 @@ declare module "common/store/collection-view-state" {
|
|
|
461
542
|
export const getInitialCollectionViewState: () => CollectionViewUiState;
|
|
462
543
|
export enum COLLECTION_VIEW_STATE_MUTATIONS {
|
|
463
544
|
ELEMENT_EXPANDED = "CV_ELEMENT_EXPANDED",
|
|
464
|
-
SET_SELECTED_ELEMENT = "CV_SET_SELECTED_ELEMENT"
|
|
545
|
+
SET_SELECTED_ELEMENT = "CV_SET_SELECTED_ELEMENT",
|
|
546
|
+
RESET_COLLECTION_VIEW = "RESET_COLLECTION_VIEW"
|
|
465
547
|
}
|
|
466
548
|
export enum GRID_VIEW_STATE_MUTATIONS {
|
|
467
549
|
SET_SEARCH = "GV_SET_SEARCH",
|
|
@@ -607,69 +689,11 @@ declare module "configurator/store/ui-state" {
|
|
|
607
689
|
export const initialState: UiState;
|
|
608
690
|
export const uiState: Module<UiState, StoreState>;
|
|
609
691
|
}
|
|
610
|
-
declare module "planner/store/planner-ui-state" {
|
|
611
|
-
import { Module } from 'vuex';
|
|
612
|
-
import { SharedUiState, StoreState } from "common/store/index";
|
|
613
|
-
import { Nullable } from "common/utils/types";
|
|
614
|
-
import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
|
|
615
|
-
import { BUTTON_ACTIONS } from "configurator/store/ui-state";
|
|
616
|
-
import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
617
|
-
type SelectionType = 'static' | 'configuration';
|
|
618
|
-
export interface PlannerUiState extends SharedUiState {
|
|
619
|
-
selection: Nullable<SelectionType>;
|
|
620
|
-
selectionPayload: Nullable<SelectionPayload>;
|
|
621
|
-
showCatalog: boolean;
|
|
622
|
-
isDrag: boolean;
|
|
623
|
-
catalogTags: Nullable<RapiTagForUi[]>;
|
|
624
|
-
actionMenuExpanded: boolean;
|
|
625
|
-
selectedActions: BUTTON_ACTIONS[];
|
|
626
|
-
}
|
|
627
|
-
export enum PLANNER_UI_STATE_MUTATIONS {
|
|
628
|
-
SET_SELECTION_PAYLOAD = "PLANNER_UI_STATE_setSelectionPayload",
|
|
629
|
-
SET_SELECTION = "PLANNER_UI_STATE_setSelection",
|
|
630
|
-
SET_IS_LANDSCAPE = "PLANNER_UI_STATE_setIsLandscape",
|
|
631
|
-
SET_INTERACTIONS_EXPANDED = "PLANNER_UI_STATE_setInteractionsExpanded",
|
|
632
|
-
SET_IS_FULLSCREEN = "PLANNER_UI_STATE_setIsFullscreen",
|
|
633
|
-
SET_IS_DESKTOP = "PLANNER_UI_STATE_setIsDesktop",
|
|
634
|
-
SET_LAST_REGULAR_VIEW_MODE = "PLANNER_UI_STATE_SET_LAST_REGULAR_VIEW_MODE",
|
|
635
|
-
SET_SHOW_CATALOG = "PLANNER_UI_STATE_SET_SHOW_CATALOG",
|
|
636
|
-
SET_CATALOG_ROOT_TAG = "PLANNER_UI_STATE_SET_CATALOG_ROOT_TAG",
|
|
637
|
-
SET_IS_DRAG = "SET_IS_DRAG",
|
|
638
|
-
SET_ACTION_SELECTED = "SET_ACTION_SELECTED",
|
|
639
|
-
SET_ACTION_DESELECTED = "SET_ACTION_DESELECTED",
|
|
640
|
-
SET_ACTION_MENU_EXPANDED = "SET_ACTION_MENU_EXPANDED",
|
|
641
|
-
SET_TOPBAR_ACTION_SELECTED = "SET_TOPBAR_ACTION_SELECTED",
|
|
642
|
-
SET_TOPBAR_ACTION_DESELECTED = "SET_TOPBAR_ACTION_DESELECTED"
|
|
643
|
-
}
|
|
644
|
-
export enum PLANNER_UI_STATE_ACTIONS {
|
|
645
|
-
SELECT_VIEW_MODE = "PLANNER_UI_STATE_SELECT_VIEW_MODE",
|
|
646
|
-
SET_INTERACTIONS_EXPANDED = "PLANNER_UI_STATE_SET_INTERACTIONS_EXPANDED"
|
|
647
|
-
}
|
|
648
|
-
export enum PLANNER_UI_STATE_GETTERS {
|
|
649
|
-
CATALOG_ROOT_TAG = "PLANNER_UI_STATE_CATALOG_ROOT_TAG",
|
|
650
|
-
SELECTED_ITEM_PAYLOAD = "PLANNER_UI_STATE_SELECTED_ITEM_PAYLOAD",
|
|
651
|
-
PART_LIST_PLANNER_SHOWN = "PART_LIST_PLANNER_SHOWN",
|
|
652
|
-
PRODUCT_LIST_SHOWN = "PRODUCT_LIST_SHOWN"
|
|
653
|
-
}
|
|
654
|
-
export const plannerUiState: Module<PlannerUiState, StoreState>;
|
|
655
|
-
}
|
|
656
|
-
declare module "planner/utils/product-list" {
|
|
657
|
-
import { KernelPartList, UiPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
658
|
-
import { Store } from 'vuex';
|
|
659
|
-
import { StoreState } from "common/store/index";
|
|
660
|
-
import { SdkConnector } from "configurator/business-logic/sdk-connector";
|
|
661
|
-
import { RapiConfiguration, RapiItem } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
662
|
-
export interface ProductListItem extends UiPlanObject {
|
|
663
|
-
quantity: number;
|
|
664
|
-
}
|
|
665
|
-
export const matchProductListAndQuantity: (productList: UiPlanObject[]) => ProductListItem[];
|
|
666
|
-
export const fillPartList: (data: RapiItem | RapiConfiguration, partList: KernelPartList, hash: string, sdkConnector: SdkConnector, store: Store<StoreState>) => Promise<void>;
|
|
667
|
-
}
|
|
668
692
|
declare module "planner/store/planner-core-data" {
|
|
669
693
|
import { StoreState } from "common/store/index";
|
|
670
694
|
import { Nullable } from "common/utils/types";
|
|
671
695
|
import { Module } from 'vuex';
|
|
672
|
-
import { ProductListItem } from "planner/utils/
|
|
696
|
+
import { ProductListItem } from "planner/utils/planner-sidebar";
|
|
673
697
|
export interface PlannerCoreData {
|
|
674
698
|
productList: ProductListItem[];
|
|
675
699
|
currencySymbol: string;
|
|
@@ -713,6 +737,7 @@ declare module "common/store/index" {
|
|
|
713
737
|
UPDATE_CURRENCY_SYMBOL: PLANNER_CORE_DATA_MUTATIONS.UPDATE_CURRENCY_SYMBOL;
|
|
714
738
|
ELEMENT_EXPANDED: COLLECTION_VIEW_STATE_MUTATIONS.ELEMENT_EXPANDED;
|
|
715
739
|
SET_SELECTED_ELEMENT: COLLECTION_VIEW_STATE_MUTATIONS.SET_SELECTED_ELEMENT;
|
|
740
|
+
RESET_COLLECTION_VIEW: COLLECTION_VIEW_STATE_MUTATIONS.RESET_COLLECTION_VIEW;
|
|
716
741
|
SET_IS_IN_IFRAME: COMMON_UI_STATE_MUTATIONS.SET_IS_IN_IFRAME;
|
|
717
742
|
SET_IS_VIEW_ONLY: COMMON_UI_STATE_MUTATIONS.SET_IS_VIEW_ONLY;
|
|
718
743
|
SET_LAST_REQUESTED_ID: COMMON_UI_STATE_MUTATIONS.SET_LAST_REQUESTED_ID;
|
|
@@ -723,7 +748,6 @@ declare module "common/store/index" {
|
|
|
723
748
|
SET_IS_FULLSCREEN: PLANNER_UI_STATE_MUTATIONS.SET_IS_FULLSCREEN;
|
|
724
749
|
SET_IS_DESKTOP: PLANNER_UI_STATE_MUTATIONS.SET_IS_DESKTOP;
|
|
725
750
|
SET_LAST_REGULAR_VIEW_MODE: PLANNER_UI_STATE_MUTATIONS.SET_LAST_REGULAR_VIEW_MODE;
|
|
726
|
-
SET_SHOW_CATALOG: PLANNER_UI_STATE_MUTATIONS.SET_SHOW_CATALOG;
|
|
727
751
|
SET_CATALOG_ROOT_TAG: PLANNER_UI_STATE_MUTATIONS.SET_CATALOG_ROOT_TAG;
|
|
728
752
|
SET_IS_DRAG: PLANNER_UI_STATE_MUTATIONS.SET_IS_DRAG;
|
|
729
753
|
SET_ACTION_SELECTED: PLANNER_UI_STATE_MUTATIONS.SET_ACTION_SELECTED;
|
|
@@ -731,6 +755,10 @@ declare module "common/store/index" {
|
|
|
731
755
|
SET_ACTION_MENU_EXPANDED: PLANNER_UI_STATE_MUTATIONS.SET_ACTION_MENU_EXPANDED;
|
|
732
756
|
SET_TOPBAR_ACTION_SELECTED: PLANNER_UI_STATE_MUTATIONS.SET_TOPBAR_ACTION_SELECTED;
|
|
733
757
|
SET_TOPBAR_ACTION_DESELECTED: PLANNER_UI_STATE_MUTATIONS.SET_TOPBAR_ACTION_DESELECTED;
|
|
758
|
+
PUSH_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.PUSH_SIDEBAR_VIEW;
|
|
759
|
+
POP_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.POP_SIDEBAR_VIEW;
|
|
760
|
+
CLEAR_SIDEBAR: PLANNER_UI_STATE_MUTATIONS.CLEAR_SIDEBAR;
|
|
761
|
+
SET_LAST_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_LAST_WALLS;
|
|
734
762
|
SET_SELECTED_GROUP: UI_STATE_MUTATIONS.SET_SELECTED_GROUP;
|
|
735
763
|
SET_IS_PART_LIST_SHOWN: UI_STATE_MUTATIONS.SET_IS_PART_LIST_SHOWN;
|
|
736
764
|
SHOW_ONLY_ADDONS: UI_STATE_MUTATIONS.SHOW_ONLY_ADDONS;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Module } from 'vuex';
|
|
2
2
|
import { Nullable } from '@/common/utils/types';
|
|
3
|
-
import { CollectionViewElement } from '@/
|
|
3
|
+
import { CollectionViewElement } from '@/common/components/collection-view/-utils/types';
|
|
4
4
|
import { StoreState } from '@/common/store';
|
|
5
5
|
export interface GridViewUiState {
|
|
6
6
|
filter: string[];
|
|
@@ -16,7 +16,8 @@ export interface CollectionViewUiState {
|
|
|
16
16
|
export declare const getInitialCollectionViewState: () => CollectionViewUiState;
|
|
17
17
|
export declare enum COLLECTION_VIEW_STATE_MUTATIONS {
|
|
18
18
|
ELEMENT_EXPANDED = "CV_ELEMENT_EXPANDED",
|
|
19
|
-
SET_SELECTED_ELEMENT = "CV_SET_SELECTED_ELEMENT"
|
|
19
|
+
SET_SELECTED_ELEMENT = "CV_SET_SELECTED_ELEMENT",
|
|
20
|
+
RESET_COLLECTION_VIEW = "RESET_COLLECTION_VIEW"
|
|
20
21
|
}
|
|
21
22
|
export declare enum GRID_VIEW_STATE_MUTATIONS {
|
|
22
23
|
SET_SEARCH = "GV_SET_SEARCH",
|
|
@@ -22,6 +22,7 @@ export declare const MUTATIONS: {
|
|
|
22
22
|
UPDATE_CURRENCY_SYMBOL: PLANNER_CORE_DATA_MUTATIONS.UPDATE_CURRENCY_SYMBOL;
|
|
23
23
|
ELEMENT_EXPANDED: COLLECTION_VIEW_STATE_MUTATIONS.ELEMENT_EXPANDED;
|
|
24
24
|
SET_SELECTED_ELEMENT: COLLECTION_VIEW_STATE_MUTATIONS.SET_SELECTED_ELEMENT;
|
|
25
|
+
RESET_COLLECTION_VIEW: COLLECTION_VIEW_STATE_MUTATIONS.RESET_COLLECTION_VIEW;
|
|
25
26
|
SET_IS_IN_IFRAME: COMMON_UI_STATE_MUTATIONS.SET_IS_IN_IFRAME;
|
|
26
27
|
SET_IS_VIEW_ONLY: COMMON_UI_STATE_MUTATIONS.SET_IS_VIEW_ONLY;
|
|
27
28
|
SET_LAST_REQUESTED_ID: COMMON_UI_STATE_MUTATIONS.SET_LAST_REQUESTED_ID;
|
|
@@ -32,7 +33,6 @@ export declare const MUTATIONS: {
|
|
|
32
33
|
SET_IS_FULLSCREEN: PLANNER_UI_STATE_MUTATIONS.SET_IS_FULLSCREEN;
|
|
33
34
|
SET_IS_DESKTOP: PLANNER_UI_STATE_MUTATIONS.SET_IS_DESKTOP;
|
|
34
35
|
SET_LAST_REGULAR_VIEW_MODE: PLANNER_UI_STATE_MUTATIONS.SET_LAST_REGULAR_VIEW_MODE;
|
|
35
|
-
SET_SHOW_CATALOG: PLANNER_UI_STATE_MUTATIONS.SET_SHOW_CATALOG;
|
|
36
36
|
SET_CATALOG_ROOT_TAG: PLANNER_UI_STATE_MUTATIONS.SET_CATALOG_ROOT_TAG;
|
|
37
37
|
SET_IS_DRAG: PLANNER_UI_STATE_MUTATIONS.SET_IS_DRAG;
|
|
38
38
|
SET_ACTION_SELECTED: PLANNER_UI_STATE_MUTATIONS.SET_ACTION_SELECTED;
|
|
@@ -40,6 +40,10 @@ export declare const MUTATIONS: {
|
|
|
40
40
|
SET_ACTION_MENU_EXPANDED: PLANNER_UI_STATE_MUTATIONS.SET_ACTION_MENU_EXPANDED;
|
|
41
41
|
SET_TOPBAR_ACTION_SELECTED: PLANNER_UI_STATE_MUTATIONS.SET_TOPBAR_ACTION_SELECTED;
|
|
42
42
|
SET_TOPBAR_ACTION_DESELECTED: PLANNER_UI_STATE_MUTATIONS.SET_TOPBAR_ACTION_DESELECTED;
|
|
43
|
+
PUSH_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.PUSH_SIDEBAR_VIEW;
|
|
44
|
+
POP_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.POP_SIDEBAR_VIEW;
|
|
45
|
+
CLEAR_SIDEBAR: PLANNER_UI_STATE_MUTATIONS.CLEAR_SIDEBAR;
|
|
46
|
+
SET_LAST_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_LAST_WALLS;
|
|
43
47
|
SET_SELECTED_GROUP: UI_STATE_MUTATIONS.SET_SELECTED_GROUP;
|
|
44
48
|
SET_IS_PART_LIST_SHOWN: UI_STATE_MUTATIONS.SET_IS_PART_LIST_SHOWN;
|
|
45
49
|
SHOW_ONLY_ADDONS: UI_STATE_MUTATIONS.SHOW_ONLY_ADDONS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RapiMaterial, RapiMaterialGroup,
|
|
1
|
+
import { RapiMaterial, RapiMaterialGroup, RapiTagForUi, RapiTexture } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
2
2
|
import { KernelPartListParameter, UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
|
|
3
|
-
import { CollectionViewElement } from '@/
|
|
3
|
+
import { CollectionViewElement } from '@/common/components/collection-view/-utils/types';
|
|
4
4
|
import { VariantsMap } from '@/configurator/embedding/types';
|
|
5
5
|
import RoomleConfigurator from '@roomle/web-sdk/lib/definitions/configurator-core/src/roomle-configurator';
|
|
6
6
|
export interface RapiMaterialEmbeddedTextures extends RapiMaterial {
|
|
@@ -21,7 +21,8 @@ export declare enum UI_BUTTON {
|
|
|
21
21
|
REDO = "redo",
|
|
22
22
|
PARTLIST_PLANNER = "partlist_planner",
|
|
23
23
|
PRODUCTLIST = "productlist",
|
|
24
|
-
TWO_D_VIEW = "2dview"
|
|
24
|
+
TWO_D_VIEW = "2dview",
|
|
25
|
+
ADD_ROOM = "add_room"
|
|
25
26
|
}
|
|
26
27
|
interface FeatureFlags {
|
|
27
28
|
realPartList?: boolean;
|
|
@@ -50,6 +51,7 @@ export interface UiInitData extends InitDataDefinition, GlobalInitDataDefinition
|
|
|
50
51
|
[UI_BUTTON.REDO]?: boolean;
|
|
51
52
|
[UI_BUTTON.TWO_D_VIEW]?: boolean;
|
|
52
53
|
[UI_BUTTON.PARTLIST_PLANNER]?: boolean;
|
|
54
|
+
[UI_BUTTON.ADD_ROOM]?: boolean;
|
|
53
55
|
};
|
|
54
56
|
skin?: EmbeddingSkin;
|
|
55
57
|
zIndex?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionViewElement } from '@/
|
|
1
|
+
import { CollectionViewElement } from '@/common/components/collection-view/-utils/types';
|
|
2
2
|
import { WallDefinition } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
3
3
|
import { PlanOverview } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
4
4
|
export declare type RoomType = 'wall' | 'corner' | 'square' | 'L';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoreState } from '@/common/store';
|
|
2
2
|
import { Nullable } from '@/common/utils/types';
|
|
3
3
|
import { Module } from 'vuex';
|
|
4
|
-
import { ProductListItem } from '@/planner/utils/
|
|
4
|
+
import { ProductListItem } from '@/planner/utils/planner-sidebar';
|
|
5
5
|
export interface PlannerCoreData {
|
|
6
6
|
productList: ProductListItem[];
|
|
7
7
|
currencySymbol: string;
|