@roomle/embedding-lib 4.33.0 → 4.34.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 +51 -18
- 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 +36 -71
- package/docs/api/modules/roomle_configurator_api.md +3 -3
- package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +31 -24
- package/package.json +2 -2
- package/roomle-configurator-api.cjs.js +33 -76
- package/roomle-configurator-api.cjs.min.js +1 -1
- package/roomle-configurator-api.es.js +33 -76
- package/roomle-configurator-api.es.min.js +1 -1
- package/roomle-configurator-api.js +33 -76
- package/types/index.d.ts +305 -245
- package/types/src/common/store/index.d.ts +11 -4
- package/types/src/common/utils/helper.d.ts +0 -20
- package/types/src/common/utils/merge.d.ts +16 -0
- package/types/src/common/utils/share.d.ts +1 -0
- package/types/src/common/utils/variants.d.ts +3 -0
- package/types/src/configurator/components/collection-view/-utils/types.d.ts +3 -3
- package/types/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +3 -3
- package/types/src/configurator/embedding/roomle-configurator-api.d.ts +6 -6
- package/types/src/configurator/embedding/types.d.ts +6 -1
- package/types/src/configurator/store/ui-state.d.ts +14 -6
- package/types/src/planner/business-logic/pre-defined-rooms.d.ts +2 -0
- package/types/src/planner/business-logic/rooms.d.ts +12 -0
- package/types/src/planner/store/planner-core-data.d.ts +21 -0
- package/types/src/planner/store/planner-ui-state.d.ts +11 -4
- package/types/src/planner/utils/product-list.d.ts +10 -0
- package/types/tests/integration/common/components/IconButton.spec.d.ts +1 -0
- package/types/tests/integration/common/components/ProductButtons.spec.d.ts +1 -0
- package/types/tests/integration/planner/components/CatalogTrigger.spec.d.ts +1 -0
- package/types/tests/integration/planner/components/ProductListButton.spec.d.ts +1 -0
- package/types/tests/integration/planner/components/SampleRooms.spec.d.ts +1 -0
- package/types/tests/integration/planner/components/overlays/product-list/ProductListEntry.spec.d.ts +1 -0
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
### Properties
|
|
18
18
|
|
|
19
19
|
- [\_measureTraffic](types.UiInitData.md#_measuretraffic)
|
|
20
|
-
- [addOnSpots](types.UiInitData.md#addonspots)
|
|
21
20
|
- [alwaysUseCache](types.UiInitData.md#alwaysusecache)
|
|
22
21
|
- [api](types.UiInitData.md#api)
|
|
23
22
|
- [applyCurrentGlobalParameters](types.UiInitData.md#applycurrentglobalparameters)
|
|
@@ -58,7 +57,6 @@
|
|
|
58
57
|
- [overrideRapi](types.UiInitData.md#overriderapi)
|
|
59
58
|
- [overrideServerUrl](types.UiInitData.md#overrideserverurl)
|
|
60
59
|
- [overrideTenant](types.UiInitData.md#overridetenant)
|
|
61
|
-
- [plusInPreview](types.UiInitData.md#plusinpreview)
|
|
62
60
|
- [precisionCm](types.UiInitData.md#precisioncm)
|
|
63
61
|
- [precisionInch](types.UiInitData.md#precisioninch)
|
|
64
62
|
- [preloadHint](types.UiInitData.md#preloadhint)
|
|
@@ -101,24 +99,6 @@ node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:16
|
|
|
101
99
|
|
|
102
100
|
___
|
|
103
101
|
|
|
104
|
-
### addOnSpots
|
|
105
|
-
|
|
106
|
-
• `Optional` **addOnSpots**: false \| true
|
|
107
|
-
|
|
108
|
-
**`deprecated`**
|
|
109
|
-
If set to true we are showing plus icon where addons can be added.
|
|
110
|
-
This has to be scripted. For more information ask your Roomle contact.
|
|
111
|
-
|
|
112
|
-
#### Inherited from
|
|
113
|
-
|
|
114
|
-
InitDataDefinition.addOnSpots
|
|
115
|
-
|
|
116
|
-
#### Defined in
|
|
117
|
-
|
|
118
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:194
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
102
|
### alwaysUseCache
|
|
123
103
|
|
|
124
104
|
• `Optional` **alwaysUseCache**: false \| true
|
|
@@ -147,7 +127,7 @@ to view 3d content. Imagine it then as a <img> tag for 3d content
|
|
|
147
127
|
|
|
148
128
|
#### Defined in
|
|
149
129
|
|
|
150
|
-
[src/configurator/embedding/types.ts:
|
|
130
|
+
[src/configurator/embedding/types.ts:91](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L91)
|
|
151
131
|
|
|
152
132
|
___
|
|
153
133
|
|
|
@@ -164,7 +144,7 @@ InitDataDefinition.applyCurrentGlobalParameters
|
|
|
164
144
|
|
|
165
145
|
#### Defined in
|
|
166
146
|
|
|
167
|
-
[src/configurator/embedding/types.ts:
|
|
147
|
+
[src/configurator/embedding/types.ts:138](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L138)
|
|
168
148
|
|
|
169
149
|
___
|
|
170
150
|
|
|
@@ -200,7 +180,7 @@ InitDataDefinition.bananaForScale
|
|
|
200
180
|
|
|
201
181
|
#### Defined in
|
|
202
182
|
|
|
203
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
183
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:242
|
|
204
184
|
|
|
205
185
|
___
|
|
206
186
|
|
|
@@ -212,6 +192,7 @@ ___
|
|
|
212
192
|
|
|
213
193
|
| Name | Type |
|
|
214
194
|
| :------ | :------ |
|
|
195
|
+
| `2dview?` | false \| true |
|
|
215
196
|
| `addons?` | false \| true |
|
|
216
197
|
| `ar?` | false \| true |
|
|
217
198
|
| `dimensions?` | false \| true |
|
|
@@ -219,6 +200,7 @@ ___
|
|
|
219
200
|
| `fullscreen?` | false \| true |
|
|
220
201
|
| `multiselect?` | false \| true |
|
|
221
202
|
| `partlist?` | false \| true |
|
|
203
|
+
| `partlist_planner?` | false \| true |
|
|
222
204
|
| `pauseconfigure?` | false \| true |
|
|
223
205
|
| `redo?` | false \| true |
|
|
224
206
|
| `renderimage?` | false \| true |
|
|
@@ -231,7 +213,7 @@ ___
|
|
|
231
213
|
|
|
232
214
|
#### Defined in
|
|
233
215
|
|
|
234
|
-
[src/configurator/embedding/types.ts:
|
|
216
|
+
[src/configurator/embedding/types.ts:41](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L41)
|
|
235
217
|
|
|
236
218
|
___
|
|
237
219
|
|
|
@@ -249,7 +231,7 @@ InitDataDefinition.cameraRestriction
|
|
|
249
231
|
|
|
250
232
|
#### Defined in
|
|
251
233
|
|
|
252
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
234
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:216
|
|
253
235
|
|
|
254
236
|
___
|
|
255
237
|
|
|
@@ -267,7 +249,7 @@ InitDataDefinition.cameraSpacing
|
|
|
267
249
|
|
|
268
250
|
#### Defined in
|
|
269
251
|
|
|
270
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
252
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:268
|
|
271
253
|
|
|
272
254
|
___
|
|
273
255
|
|
|
@@ -362,7 +344,7 @@ usage: http://www.example.com/configurator?id=#CONFIGURATIONID#
|
|
|
362
344
|
|
|
363
345
|
#### Defined in
|
|
364
346
|
|
|
365
|
-
[src/configurator/embedding/types.ts:
|
|
347
|
+
[src/configurator/embedding/types.ts:78](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L78)
|
|
366
348
|
|
|
367
349
|
___
|
|
368
350
|
|
|
@@ -397,7 +379,7 @@ InitDataDefinition.dls
|
|
|
397
379
|
|
|
398
380
|
#### Defined in
|
|
399
381
|
|
|
400
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
382
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:199
|
|
401
383
|
|
|
402
384
|
___
|
|
403
385
|
|
|
@@ -414,7 +396,7 @@ InitDataDefinition.edit
|
|
|
414
396
|
|
|
415
397
|
#### Defined in
|
|
416
398
|
|
|
417
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
399
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:287
|
|
418
400
|
|
|
419
401
|
___
|
|
420
402
|
|
|
@@ -427,7 +409,7 @@ an e-mail
|
|
|
427
409
|
|
|
428
410
|
#### Defined in
|
|
429
411
|
|
|
430
|
-
[src/configurator/embedding/types.ts:
|
|
412
|
+
[src/configurator/embedding/types.ts:96](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L96)
|
|
431
413
|
|
|
432
414
|
___
|
|
433
415
|
|
|
@@ -441,7 +423,7 @@ so that we can ensure a smooth transition between different versions of our conf
|
|
|
441
423
|
|
|
442
424
|
#### Defined in
|
|
443
425
|
|
|
444
|
-
[src/configurator/embedding/types.ts:
|
|
426
|
+
[src/configurator/embedding/types.ts:112](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L112)
|
|
445
427
|
|
|
446
428
|
___
|
|
447
429
|
|
|
@@ -457,7 +439,7 @@ InitDataDefinition.floorMaterialsTag
|
|
|
457
439
|
|
|
458
440
|
#### Defined in
|
|
459
441
|
|
|
460
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
442
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:204
|
|
461
443
|
|
|
462
444
|
___
|
|
463
445
|
|
|
@@ -469,7 +451,7 @@ set this flag to false if the user did not give the consent to Analytics
|
|
|
469
451
|
|
|
470
452
|
#### Defined in
|
|
471
453
|
|
|
472
|
-
[src/configurator/embedding/types.ts:
|
|
454
|
+
[src/configurator/embedding/types.ts:116](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L116)
|
|
473
455
|
|
|
474
456
|
___
|
|
475
457
|
|
|
@@ -481,7 +463,7 @@ set this flag to true if you want to group the part list by main components
|
|
|
481
463
|
|
|
482
464
|
#### Defined in
|
|
483
465
|
|
|
484
|
-
[src/configurator/embedding/types.ts:
|
|
466
|
+
[src/configurator/embedding/types.ts:106](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L106)
|
|
485
467
|
|
|
486
468
|
___
|
|
487
469
|
|
|
@@ -517,7 +499,7 @@ InitDataDefinition.initialFloorMaterial
|
|
|
517
499
|
|
|
518
500
|
#### Defined in
|
|
519
501
|
|
|
520
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
502
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:193
|
|
521
503
|
|
|
522
504
|
___
|
|
523
505
|
|
|
@@ -565,7 +547,7 @@ InitDataDefinition.ls
|
|
|
565
547
|
|
|
566
548
|
#### Defined in
|
|
567
549
|
|
|
568
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
550
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:200
|
|
569
551
|
|
|
570
552
|
___
|
|
571
553
|
|
|
@@ -583,7 +565,7 @@ InitDataDefinition.maxHorizontalCameraAngle
|
|
|
583
565
|
|
|
584
566
|
#### Defined in
|
|
585
567
|
|
|
586
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
568
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:240
|
|
587
569
|
|
|
588
570
|
___
|
|
589
571
|
|
|
@@ -601,7 +583,7 @@ InitDataDefinition.maxVerticalCameraAngle
|
|
|
601
583
|
|
|
602
584
|
#### Defined in
|
|
603
585
|
|
|
604
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
586
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:228
|
|
605
587
|
|
|
606
588
|
___
|
|
607
589
|
|
|
@@ -636,7 +618,7 @@ InitDataDefinition.minHorizontalCameraAngle
|
|
|
636
618
|
|
|
637
619
|
#### Defined in
|
|
638
620
|
|
|
639
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
621
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:234
|
|
640
622
|
|
|
641
623
|
___
|
|
642
624
|
|
|
@@ -654,7 +636,7 @@ InitDataDefinition.minVerticalCameraAngle
|
|
|
654
636
|
|
|
655
637
|
#### Defined in
|
|
656
638
|
|
|
657
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
639
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:222
|
|
658
640
|
|
|
659
641
|
___
|
|
660
642
|
|
|
@@ -668,7 +650,7 @@ small div
|
|
|
668
650
|
|
|
669
651
|
#### Defined in
|
|
670
652
|
|
|
671
|
-
[src/configurator/embedding/types.ts:
|
|
653
|
+
[src/configurator/embedding/types.ts:102](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L102)
|
|
672
654
|
|
|
673
655
|
___
|
|
674
656
|
|
|
@@ -688,7 +670,7 @@ InitDataDefinition.moc
|
|
|
688
670
|
|
|
689
671
|
#### Defined in
|
|
690
672
|
|
|
691
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
673
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:295
|
|
692
674
|
|
|
693
675
|
___
|
|
694
676
|
|
|
@@ -707,7 +689,7 @@ InitDataDefinition.mode
|
|
|
707
689
|
|
|
708
690
|
#### Defined in
|
|
709
691
|
|
|
710
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
692
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:282
|
|
711
693
|
|
|
712
694
|
___
|
|
713
695
|
|
|
@@ -789,7 +771,7 @@ ___
|
|
|
789
771
|
|
|
790
772
|
#### Defined in
|
|
791
773
|
|
|
792
|
-
[src/configurator/embedding/types.ts:
|
|
774
|
+
[src/configurator/embedding/types.ts:64](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L64)
|
|
793
775
|
|
|
794
776
|
___
|
|
795
777
|
|
|
@@ -813,23 +795,6 @@ node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:23
|
|
|
813
795
|
|
|
814
796
|
___
|
|
815
797
|
|
|
816
|
-
### plusInPreview
|
|
817
|
-
|
|
818
|
-
• `Optional` **plusInPreview**: false \| true
|
|
819
|
-
|
|
820
|
-
**`deprecated`**
|
|
821
|
-
If set to true we show a plus in the addon preview boxes.
|
|
822
|
-
|
|
823
|
-
#### Inherited from
|
|
824
|
-
|
|
825
|
-
InitDataDefinition.plusInPreview
|
|
826
|
-
|
|
827
|
-
#### Defined in
|
|
828
|
-
|
|
829
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:199
|
|
830
|
-
|
|
831
|
-
___
|
|
832
|
-
|
|
833
798
|
### precisionCm
|
|
834
799
|
|
|
835
800
|
• `Optional` **precisionCm**: `string`
|
|
@@ -921,7 +886,7 @@ for details see deeplink, the only change is that the placeholder is <CONF_ID> h
|
|
|
921
886
|
|
|
922
887
|
#### Defined in
|
|
923
888
|
|
|
924
|
-
[src/configurator/embedding/types.ts:
|
|
889
|
+
[src/configurator/embedding/types.ts:69](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L69)
|
|
925
890
|
|
|
926
891
|
___
|
|
927
892
|
|
|
@@ -956,7 +921,7 @@ InitDataDefinition.showInfos
|
|
|
956
921
|
|
|
957
922
|
#### Defined in
|
|
958
923
|
|
|
959
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
924
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:253
|
|
960
925
|
|
|
961
926
|
___
|
|
962
927
|
|
|
@@ -973,7 +938,7 @@ InitDataDefinition.showPrice
|
|
|
973
938
|
|
|
974
939
|
#### Defined in
|
|
975
940
|
|
|
976
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
941
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:258
|
|
977
942
|
|
|
978
943
|
___
|
|
979
944
|
|
|
@@ -983,7 +948,7 @@ ___
|
|
|
983
948
|
|
|
984
949
|
#### Defined in
|
|
985
950
|
|
|
986
|
-
[src/configurator/embedding/types.ts:
|
|
951
|
+
[src/configurator/embedding/types.ts:61](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L61)
|
|
987
952
|
|
|
988
953
|
___
|
|
989
954
|
|
|
@@ -1041,7 +1006,7 @@ You can find all labels here: [Base.json](../../../ui/base.json)
|
|
|
1041
1006
|
|
|
1042
1007
|
#### Defined in
|
|
1043
1008
|
|
|
1044
|
-
[src/configurator/embedding/types.ts:
|
|
1009
|
+
[src/configurator/embedding/types.ts:133](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L133)
|
|
1045
1010
|
|
|
1046
1011
|
___
|
|
1047
1012
|
|
|
@@ -1059,7 +1024,7 @@ InitDataDefinition.transparentHighlighting
|
|
|
1059
1024
|
|
|
1060
1025
|
#### Defined in
|
|
1061
1026
|
|
|
1062
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
1027
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:248
|
|
1063
1028
|
|
|
1064
1029
|
___
|
|
1065
1030
|
|
|
@@ -1122,7 +1087,7 @@ ___
|
|
|
1122
1087
|
|
|
1123
1088
|
#### Defined in
|
|
1124
1089
|
|
|
1125
|
-
[src/configurator/embedding/types.ts:
|
|
1090
|
+
[src/configurator/embedding/types.ts:63](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L63)
|
|
1126
1091
|
|
|
1127
1092
|
___
|
|
1128
1093
|
|
|
@@ -1173,7 +1138,7 @@ usm:frame is loaded all the items from the tag "DB_Start_ohne_Element" are now s
|
|
|
1173
1138
|
|
|
1174
1139
|
#### Defined in
|
|
1175
1140
|
|
|
1176
|
-
[src/configurator/embedding/types.ts:
|
|
1141
|
+
[src/configurator/embedding/types.ts:85](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L85)
|
|
1177
1142
|
|
|
1178
1143
|
___
|
|
1179
1144
|
|
|
@@ -1183,7 +1148,7 @@ ___
|
|
|
1183
1148
|
|
|
1184
1149
|
#### Defined in
|
|
1185
1150
|
|
|
1186
|
-
[src/configurator/embedding/types.ts:
|
|
1151
|
+
[src/configurator/embedding/types.ts:62](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/types.ts#L62)
|
|
1187
1152
|
|
|
1188
1153
|
___
|
|
1189
1154
|
|
|
@@ -1201,4 +1166,4 @@ InitDataDefinition.zoomDistance
|
|
|
1201
1166
|
|
|
1202
1167
|
#### Defined in
|
|
1203
1168
|
|
|
1204
|
-
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:
|
|
1169
|
+
node_modules/@roomle/web-sdk/lib/definitions/common-core/src/utils/shims.d.ts:210
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[src/configurator/embedding/roomle-configurator-api.ts:
|
|
29
|
+
[src/configurator/embedding/roomle-configurator-api.ts:70](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/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:
|
|
39
|
+
[src/configurator/embedding/roomle-configurator-api.ts:72](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/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:
|
|
49
|
+
[src/configurator/embedding/roomle-configurator-api.ts:71](https://gitlab.com/roomle/web/roomle-ui/-/blob/ec13a00b/src/configurator/embedding/roomle-configurator-api.ts#L71)
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
-
## [4.
|
|
1
|
+
## [4.34.0](https://gitlab.com/roomle/web/roomle-ui/compare/embedding-v4.33.0...embedding-v4.34.0) (2022-05-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* add
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* implement
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* **SDK:** upgrade to version 2.
|
|
15
|
-
* **SDK:** upgrade to version 2.
|
|
6
|
+
* add first idea on how to add a room ([26aa788](https://gitlab.com/roomle/web/roomle-ui/commit/26aa78845bc6e751cc8057fc63db6e9d18d576a6))
|
|
7
|
+
* implement 2d view button ([487e8d8](https://gitlab.com/roomle/web/roomle-ui/commit/487e8d87d634544f0b6ad6d15b19716ce8ad7987))
|
|
8
|
+
* implement part list and product list feature ([9919dad](https://gitlab.com/roomle/web/roomle-ui/commit/9919dada3f8ef389ac726a632bda09dffbde7122))
|
|
9
|
+
* implement product list and part list with bounds create a helper file for it ([349c58c](https://gitlab.com/roomle/web/roomle-ui/commit/349c58ce45ee7a8bfb80957c4f86b969a1a273a7))
|
|
10
|
+
* MoC: create predefined rooms ([2e5757e](https://gitlab.com/roomle/web/roomle-ui/commit/2e5757eb412cbb8d08fb889bc660bcd48d577131))
|
|
11
|
+
* MoC: switch to 2D scene ([faf273a](https://gitlab.com/roomle/web/roomle-ui/commit/faf273ac6e25d8fc0e517b2d2209bc427efee5d7))
|
|
12
|
+
* refactor addons and catalog trigger button and implement generic icon button for it ([1e86efd](https://gitlab.com/roomle/web/roomle-ui/commit/1e86efd6434e7238beaa9906af627d5cffc27938))
|
|
13
|
+
* reset scroll if change from product list to part list ([005b982](https://gitlab.com/roomle/web/roomle-ui/commit/005b982acdbe6ca72901beefeafb9dd1a4b2539d))
|
|
14
|
+
* **SDK:** upgrade to version 2.31.0 ([2938571](https://gitlab.com/roomle/web/roomle-ui/commit/29385711dc9bc3f3438e5fe5984aebb8a7044d47))
|
|
15
|
+
* **SDK:** upgrade to version 2.31.0-alpha.1 ([50a566e](https://gitlab.com/roomle/web/roomle-ui/commit/50a566e620560f7c7b1cb213265b3be3984778d1))
|
|
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))
|
|
16
19
|
|
|
17
20
|
|
|
18
21
|
### Bug Fixes
|
|
19
22
|
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* do not
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* import
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
23
|
+
* also use text filter if "all groups" option is selected ([0f0db02](https://gitlab.com/roomle/web/roomle-ui/commit/0f0db0245810d8cf8b03ce0873019f958cda65ad))
|
|
24
|
+
* changed computed so that Vue.js recognizes if the values change ([2bb4164](https://gitlab.com/roomle/web/roomle-ui/commit/2bb4164be443e84ce45fb6b0dd59ccec018ce74f))
|
|
25
|
+
* create new array to prevent problems with reactivity caveat for more see: ([a7e4c86](https://gitlab.com/roomle/web/roomle-ui/commit/a7e4c86a7ae88d50695918218548a052fe2d7825))
|
|
26
|
+
* do not expand interactions on mobile if catalog trigger is clicked ([10b1531](https://gitlab.com/roomle/web/roomle-ui/commit/10b153145b93d533b92fa815ea28239aaf716738))
|
|
27
|
+
* do not import scss in embedding lib ([fcca831](https://gitlab.com/roomle/web/roomle-ui/commit/fcca831b993df263d6991b47b646761823ffb9c0))
|
|
28
|
+
* do not open interactions for rooms on mobile ([a0fd3da](https://gitlab.com/roomle/web/roomle-ui/commit/a0fd3da8fb92b4e9009b17bdc223b9df29e37d73))
|
|
29
|
+
* does not show catalog trigger button on mobile and collapse interaction menu on deselect partlist toggle on mobile ([257a6c7](https://gitlab.com/roomle/web/roomle-ui/commit/257a6c785fd111837d76c798f02ab58773484f8e))
|
|
30
|
+
* eslint warnings ([a42a64e](https://gitlab.com/roomle/web/roomle-ui/commit/a42a64e653196616b66b29c04705ae70e07fb4e3))
|
|
31
|
+
* failing test ([5a28afc](https://gitlab.com/roomle/web/roomle-ui/commit/5a28afc99be963e01363887a6667e93497eaa337))
|
|
32
|
+
* import SampleRooms component so it can be used in template ([e01a62c](https://gitlab.com/roomle/web/roomle-ui/commit/e01a62c24db204422b6e905f26733b29fa5c751c))
|
|
33
|
+
* move changes from addon-trigger to separate components ([5f578a4](https://gitlab.com/roomle/web/roomle-ui/commit/5f578a483d53ab5c7ffec3677c6d945295844ad6))
|
|
34
|
+
* only close part list not both part list and product list ([66bbefb](https://gitlab.com/roomle/web/roomle-ui/commit/66bbefb40168ed9056ef092184c5882390dafc05))
|
|
35
|
+
* show catalog trigger only if there is any catalog to show ([aaff214](https://gitlab.com/roomle/web/roomle-ui/commit/aaff214c3b3a211a811f482243aaf8e94b0e6e07))
|
|
36
|
+
* show fullscreen on init and expand sidebar if view has changed from mobile to desktop ([4562b68](https://gitlab.com/roomle/web/roomle-ui/commit/4562b685490cd13200935a44da48db04873a5512))
|
|
37
|
+
* show only one overlay in sidebar ([bb8c8e6](https://gitlab.com/roomle/web/roomle-ui/commit/bb8c8e619a6809c63da59e3d4270de13d0ec2e78))
|
|
38
|
+
* top bar selected action refactoring rightly ([ecb00f5](https://gitlab.com/roomle/web/roomle-ui/commit/ecb00f5682068c35e88193fdf205ad81bc071900))
|
|
39
|
+
* use correct generic type ([c00751b](https://gitlab.com/roomle/web/roomle-ui/commit/c00751b58e0547e79d87ecc018ee60c455c2fa40))
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/embedding-lib",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.34.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.31.0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@semantic-release/changelog": "^5.0.1",
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('@/common/styles/Global.module.scss');
|
|
4
|
-
|
|
5
3
|
class MessageHandler {
|
|
6
4
|
constructor(side, incomingMessageBus, outgoingMessageBus, messageExecution) {
|
|
7
5
|
this._outgoingMessageBus = null;
|
|
@@ -164,50 +162,36 @@ const isInIframe = () => {
|
|
|
164
162
|
}
|
|
165
163
|
};
|
|
166
164
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
})(GA_ACTION_TYPE || (GA_ACTION_TYPE = {}));
|
|
198
|
-
var CUSTOM_ACTION_TYPE;
|
|
199
|
-
(function (CUSTOM_ACTION_TYPE) {
|
|
200
|
-
CUSTOM_ACTION_TYPE["TRACK_TIMING"] = "track_timing";
|
|
201
|
-
})(CUSTOM_ACTION_TYPE || (CUSTOM_ACTION_TYPE = {}));
|
|
202
|
-
var GA_CATEGORY;
|
|
203
|
-
(function (GA_CATEGORY) {
|
|
204
|
-
GA_CATEGORY["ERROR"] = "Error";
|
|
205
|
-
GA_CATEGORY["NAVIGATION_TIMING"] = "Navigation Timing";
|
|
206
|
-
GA_CATEGORY["TIMING"] = "Timing";
|
|
207
|
-
GA_CATEGORY["INTERACTION"] = "Interaction";
|
|
208
|
-
GA_CATEGORY["TRACKING"] = "Tracking";
|
|
209
|
-
GA_CATEGORY["DEPRECATION"] = "Deprecation";
|
|
210
|
-
})(GA_CATEGORY || (GA_CATEGORY = {}));
|
|
165
|
+
const NAMES_FOR_LOCALHOST = [
|
|
166
|
+
'127.0.0.1',
|
|
167
|
+
'localhost',
|
|
168
|
+
'0.0.0.0',
|
|
169
|
+
];
|
|
170
|
+
const getHostname = () => {
|
|
171
|
+
const isIframe = isInIframe();
|
|
172
|
+
let url = window.location.href;
|
|
173
|
+
if (isIframe) {
|
|
174
|
+
if (!document.referrer) {
|
|
175
|
+
return null;
|
|
176
|
+
}
|
|
177
|
+
url = document.referrer;
|
|
178
|
+
}
|
|
179
|
+
const { hostname } = new URL(url);
|
|
180
|
+
return hostname;
|
|
181
|
+
};
|
|
182
|
+
const isDemoHostname = (hostname) => {
|
|
183
|
+
if (NAMES_FOR_LOCALHOST.includes(hostname)) {
|
|
184
|
+
return true;
|
|
185
|
+
}
|
|
186
|
+
if (hostname.endsWith('roomle.com')) {
|
|
187
|
+
return true;
|
|
188
|
+
}
|
|
189
|
+
// exception for CI builds
|
|
190
|
+
if (hostname.endsWith('gitlab.io') || hostname.endsWith('gitlab.com')) {
|
|
191
|
+
return true;
|
|
192
|
+
}
|
|
193
|
+
return false;
|
|
194
|
+
};
|
|
211
195
|
|
|
212
196
|
/**
|
|
213
197
|
* Recursively merge properties of two objects.
|
|
@@ -245,36 +229,6 @@ const deepMerge = (obj1, obj2) => {
|
|
|
245
229
|
}
|
|
246
230
|
}
|
|
247
231
|
return obj1;
|
|
248
|
-
};
|
|
249
|
-
const NAMES_FOR_LOCALHOST = [
|
|
250
|
-
'127.0.0.1',
|
|
251
|
-
'localhost',
|
|
252
|
-
'0.0.0.0',
|
|
253
|
-
];
|
|
254
|
-
const getHostname = () => {
|
|
255
|
-
const isIframe = isInIframe();
|
|
256
|
-
let url = window.location.href;
|
|
257
|
-
if (isIframe) {
|
|
258
|
-
if (!document.referrer) {
|
|
259
|
-
return null;
|
|
260
|
-
}
|
|
261
|
-
url = document.referrer;
|
|
262
|
-
}
|
|
263
|
-
const { hostname } = new URL(url);
|
|
264
|
-
return hostname;
|
|
265
|
-
};
|
|
266
|
-
const isDemoHostname = (hostname) => {
|
|
267
|
-
if (NAMES_FOR_LOCALHOST.includes(hostname)) {
|
|
268
|
-
return true;
|
|
269
|
-
}
|
|
270
|
-
if (hostname.endsWith('roomle.com')) {
|
|
271
|
-
return true;
|
|
272
|
-
}
|
|
273
|
-
// exception for CI builds
|
|
274
|
-
if (hostname.endsWith('gitlab.io') || hostname.endsWith('gitlab.com')) {
|
|
275
|
-
return true;
|
|
276
|
-
}
|
|
277
|
-
return false;
|
|
278
232
|
};
|
|
279
233
|
|
|
280
234
|
const BROWSER_LANGUAGE_PROPERTY_KEYS_KNOWN = ['language', 'browserLanguage', 'userLanguage', 'systemLanguage'];
|
|
@@ -361,6 +315,9 @@ const getFallbackInitData = () => {
|
|
|
361
315
|
const LEGACY_SHARE_PLACEHOLDER = '<CONF_ID>';
|
|
362
316
|
const SHARE_PLACEHOLDER = '#CONFIGURATIONID#';
|
|
363
317
|
|
|
318
|
+
// see why: so#/58065241/10800831
|
|
319
|
+
const isAndroid = () => /(android)/i.test(navigator.userAgent);
|
|
320
|
+
|
|
364
321
|
const setDefaultBehaviour = (object, callbackName, defaultBehaviour) => {
|
|
365
322
|
let customBehaviour = null;
|
|
366
323
|
Object.defineProperty(object, callbackName, {
|