@roomle/embedding-lib 4.24.0-alpha.1 → 4.24.0-alpha.5

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.
@@ -0,0 +1,9 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / [types](../modules/types.md) / VariantsMap
2
+
3
+ # Interface: VariantsMap
4
+
5
+ [types](../modules/types.md).VariantsMap
6
+
7
+ ## Indexable
8
+
9
+ ▪ [key: `string`]: `RapiId`
@@ -0,0 +1,9 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / exposed-analytics-callbacks
2
+
3
+ # Module: exposed-analytics-callbacks
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [ExposedAnalyticsCallbacks](../classes/exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md)
@@ -0,0 +1,9 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / exposed-api
2
+
3
+ # Module: exposed-api
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [ExposedApi](../classes/exposed_api.ExposedApi.md)
@@ -0,0 +1,14 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / exposed-callbacks
2
+
3
+ # Module: exposed-callbacks
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [ExposedCallbacks](../classes/exposed_callbacks.ExposedCallbacks.md)
10
+
11
+ ### Interfaces
12
+
13
+ - [Labels](../interfaces/exposed_callbacks.Labels.md)
14
+ - [Price](../interfaces/exposed_callbacks.Price.md)
@@ -0,0 +1,49 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / roomle-configurator-api
2
+
3
+ # Module: roomle-configurator-api
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [default](../classes/roomle_configurator_api.default.md)
10
+
11
+ ### Interfaces
12
+
13
+ - [RoomleEmbeddingApiKeys](../interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md)
14
+
15
+ ### Type aliases
16
+
17
+ - [RoomleConfiguratorApi](roomle_configurator_api.md#roomleconfiguratorapi)
18
+ - [RoomlePlannerApi](roomle_configurator_api.md#roomleplannerapi)
19
+ - [RoomleViewerApi](roomle_configurator_api.md#roomleviewerapi)
20
+
21
+ ## Type aliases
22
+
23
+ ### RoomleConfiguratorApi
24
+
25
+ Ƭ **RoomleConfiguratorApi**: [`default`](../classes/roomle_configurator_api.default.md)<`RoomleConfigurator`, `ConfiguratorUiCallbacks`\>
26
+
27
+ #### Defined in
28
+
29
+ [src/configurator/embedding/roomle-configurator-api.ts:69](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/roomle-configurator-api.ts#L69)
30
+
31
+ ___
32
+
33
+ ### RoomlePlannerApi
34
+
35
+ Ƭ **RoomlePlannerApi**: [`default`](../classes/roomle_configurator_api.default.md)<`RoomlePlanner`, `ConfiguratorUiCallbacks`\>
36
+
37
+ #### Defined in
38
+
39
+ [src/configurator/embedding/roomle-configurator-api.ts:71](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/roomle-configurator-api.ts#L71)
40
+
41
+ ___
42
+
43
+ ### RoomleViewerApi
44
+
45
+ Ƭ **RoomleViewerApi**: [`default`](../classes/roomle_configurator_api.default.md)<`RoomleGLBViewer`, `ConfiguratorUiCallbacks`\>
46
+
47
+ #### Defined in
48
+
49
+ [src/configurator/embedding/roomle-configurator-api.ts:70](https://gitlab.com/roomle/web/roomle-ui/-/blob/5c482b70/src/configurator/embedding/roomle-configurator-api.ts#L70)
@@ -0,0 +1,16 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / types
2
+
3
+ # Module: types
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumerations
8
+
9
+ - [UI\_BUTTON](../enums/types.UI_BUTTON.md)
10
+
11
+ ### Interfaces
12
+
13
+ - [ConfiguratorSettings](../interfaces/types.ConfiguratorSettings.md)
14
+ - [EmbeddingSkin](../interfaces/types.EmbeddingSkin.md)
15
+ - [UiInitData](../interfaces/types.UiInitData.md)
16
+ - [VariantsMap](../interfaces/types.VariantsMap.md)
@@ -0,0 +1,13 @@
1
+ [Embedding API Reference](README.md) / Modules
2
+
3
+ # Embedding API Reference
4
+
5
+ ## Table of contents
6
+
7
+ ### Modules
8
+
9
+ - [exposed-analytics-callbacks](modules/exposed_analytics_callbacks.md)
10
+ - [exposed-api](modules/exposed_api.md)
11
+ - [exposed-callbacks](modules/exposed_callbacks.md)
12
+ - [roomle-configurator-api](modules/roomle_configurator_api.md)
13
+ - [types](modules/types.md)
package/docs/index.md CHANGED
@@ -206,9 +206,9 @@ Here you will find some recipes for how you could implement certain use cases. T
206
206
 
207
207
  ### Instantiation
208
208
 
209
- We provide now two convenient ways to load a product into the configurator. Either you instantiate the Roomle Configurator without a product and use `loadObject` later or you pass in an ID as init-option. Both ways have their pros and cons. Let's review them quickly.
209
+ We provide now two convenient ways to load a product into the configurator. Either you instantiate the Roomle Configurator without a product and use `loadObject` later or you pass in the `Roomle unique product ID` as init-option. Both ways have their pros and cons. Let's review them quickly.
210
210
 
211
- When you have a detail-page of a product in your webshop or website it makes sense to pass the ID as init-option (because you know which product your customer wants to see). This makes it possible that everything is loaded in parallel, the code of the configurator, and the content of your product. This speeds up the loading process. On the other hand, it makes no sense if you load some product when you do not know which product your customer wants to see in the configurator. This could be the case if the Roomle Configurator is opened on a list-view page where several products are listed. Here it makes sense to only instantiate the configurator. This only loads the code of the configurator. When the user then selects a product you can use the `loadObject` method to load this specific product.
211
+ When you have a detail-page of a product in your webshop or website it makes sense to pass the `Roomle unique product ID` as init-option (because you know which product your customer wants to see). This makes it possible that everything is loaded in parallel, the code of the configurator, and the content of your product. This speeds up the loading process. On the other hand, it makes no sense if you load some product when you do not know which product your customer wants to see in the configurator. This could be the case if the Roomle Configurator is opened on a list-view page where several products are listed. Here it makes sense to only instantiate the configurator. This only loads the code of the configurator. When the user then selects a product you can use the `loadObject` method to load this specific product.
212
212
 
213
213
  ```JavaScript
214
214
  const objectToLoadId = 'usm:frame:BB3BB3E7951BC15109B1FF86D78C95DE3FB46E9F78714C46FFA2DE91866A2C2B';
@@ -778,7 +778,7 @@ const options = {
778
778
  };
779
779
  ```
780
780
 
781
- To see which labels exist you can take a look at the [API documentation](./api/interfaces/types.uiinitdata.html#translations)
781
+ To see which labels exist you can take a look at the [API documentation](./api/interfaces/types.UiInitData.html#translations).
782
782
 
783
783
  You can test and play around with those settings in this CodeSandbox:
784
784
  [![Edit intelligent-merkle-s589m](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/intelligent-merkle-s589m?fontsize=14&hidenavigation=1&theme=dark)
@@ -1,6 +1,6 @@
1
- ## [4.24.0-alpha.1](https://gitlab.com/roomle/web/roomle-ui/compare/embedding-v4.23.0...embedding-v4.24.0-alpha.1) (2021-11-03)
1
+ ## [4.24.0-alpha.5](https://gitlab.com/roomle/web/roomle-ui/compare/embedding-v4.24.0-alpha.4...embedding-v4.24.0-alpha.5) (2021-11-23)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * upgrade SDK to version 2.19.0-alpha.1 ([f9e573f](https://gitlab.com/roomle/web/roomle-ui/commit/f9e573f08bb9718c1597ad4bc53198f87117e63f))
6
+ * upgrade SDK to version 2.19.0 ([34c7760](https://gitlab.com/roomle/web/roomle-ui/commit/34c7760ec4877beef0e6645f9e12e466de185f08))
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@roomle/embedding-lib","version":"4.24.0-alpha.1","main":"roomle-configurator-api.es.min.js","types":"types/index.d.ts","author":"Roomle Development","dependencies":{"@roomle/web-sdk":"2.19.0-alpha.1"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/exec":"^5.0.0","conventional-changelog-conventionalcommits":"^4.2.3","semantic-release":"^17.0.7"},"scripts":{"release":"semantic-release"},"description":"This is a small library which can be used to communicate with the Roomle Configurator","repository":{"type":"git","url":"git+https://github.com/roomle-build/npm-packages.git"},"publishConfig":{"access":"public"},"license":"MIT"}
1
+ {"name":"@roomle/embedding-lib","version":"4.24.0-alpha.5","main":"roomle-configurator-api.es.min.js","types":"types/index.d.ts","author":"Roomle Development","dependencies":{"@roomle/web-sdk":"2.19.0"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/exec":"^5.0.0","conventional-changelog-conventionalcommits":"^4.2.3","semantic-release":"^17.0.7"},"scripts":{"release":"semantic-release"},"description":"This is a small library which can be used to communicate with the Roomle Configurator","repository":{"type":"git","url":"git+https://github.com/roomle-build/npm-packages.git"},"publishConfig":{"access":"public"},"license":"MIT"}