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

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.
Files changed (52) hide show
  1. package/docs/api/.nojekyll +1 -0
  2. package/docs/api/README.md +1 -1
  3. package/docs/api/classes/{exposed_analytics_callbacks.exposedanalyticscallbacks.md → exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md} +11 -9
  4. package/docs/api/classes/exposed_api.ExposedApi.md +255 -0
  5. package/docs/api/classes/exposed_callbacks.ExposedCallbacks.md +171 -0
  6. package/docs/api/classes/roomle_configurator_api.default.md +78 -42
  7. package/docs/api/enums/types.UI_BUTTON.md +208 -0
  8. package/docs/api/interfaces/exposed_callbacks.Labels.md +32 -0
  9. package/docs/api/interfaces/exposed_callbacks.Price.md +32 -0
  10. package/docs/api/interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md +58 -0
  11. package/docs/api/interfaces/types.ConfiguratorSettings.md +150 -0
  12. package/docs/api/interfaces/types.EmbeddingSkin.md +65 -0
  13. package/docs/api/interfaces/types.UiInitData.md +1204 -0
  14. package/docs/api/interfaces/{types.variantsmap.md → types.VariantsMap.md} +1 -1
  15. package/docs/api/modules/exposed_analytics_callbacks.md +1 -1
  16. package/docs/api/modules/exposed_api.md +1 -1
  17. package/docs/api/modules/exposed_callbacks.md +3 -3
  18. package/docs/api/modules/roomle_configurator_api.md +13 -7
  19. package/docs/api/modules/types.md +5 -5
  20. package/docs/index.md +31 -0
  21. package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +67 -7
  22. package/package.json +28 -1
  23. package/roomle-configurator-api.cjs.js +47 -3
  24. package/roomle-configurator-api.cjs.min.js +1 -1
  25. package/roomle-configurator-api.es.js +47 -3
  26. package/roomle-configurator-api.es.min.js +1 -1
  27. package/roomle-configurator-api.js +47 -3
  28. package/types/index.d.ts +190 -129
  29. package/types/src/common/store/collection-view-state.d.ts +2 -2
  30. package/types/src/common/store/index.d.ts +6 -0
  31. package/types/src/common/utils/helper.d.ts +3 -0
  32. package/types/src/common/utils/types.d.ts +3 -2
  33. package/types/src/configurator/business-logic/sdk-connector.d.ts +1 -0
  34. package/types/src/configurator/components/-utils/overlays.d.ts +8 -8
  35. package/types/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +3 -0
  36. package/types/src/configurator/embedding/exposed-api.d.ts +10 -0
  37. package/types/src/configurator/embedding/types.d.ts +7 -1
  38. package/types/src/configurator/store/ui-state.d.ts +19 -3
  39. package/types/tests/helpers/data/variants.d.ts +60 -0
  40. package/types/tests/helpers/mocks/sdk-connector-planner.d.ts +13 -0
  41. package/types/tests/helpers/mocks/sdk-connector.d.ts +5 -0
  42. package/types/tests/integration/configurator/components/{overlays/PartList.spec.d.ts → parameters/types/ProductVariant.spec.d.ts} +0 -0
  43. package/types/tests/integration/planner/components/BottomBar.spec.d.ts +1 -0
  44. package/docs/api/classes/exposed_api.exposedapi.md +0 -191
  45. package/docs/api/classes/exposed_callbacks.exposedcallbacks.md +0 -145
  46. package/docs/api/enums/types.ui_button.md +0 -145
  47. package/docs/api/interfaces/exposed_callbacks.labels.md +0 -28
  48. package/docs/api/interfaces/exposed_callbacks.price.md +0 -28
  49. package/docs/api/interfaces/roomle_configurator_api.roomleembeddingapikeys.md +0 -50
  50. package/docs/api/interfaces/types.configuratorsettings.md +0 -118
  51. package/docs/api/interfaces/types.embeddingskin.md +0 -55
  52. package/docs/api/interfaces/types.uiinitdata.md +0 -957
@@ -1,50 +0,0 @@
1
- [Embedding API Reference](../README.md) / [Modules](../modules.md) / [roomle-configurator-api](../modules/roomle_configurator_api.md) / RoomleEmbeddingApiKeys
2
-
3
- # Interface: RoomleEmbeddingApiKeys
4
-
5
- [roomle-configurator-api](../modules/roomle_configurator_api.md).RoomleEmbeddingApiKeys
6
-
7
- ## Implemented by
8
-
9
- - [*default*](../classes/roomle_configurator_api.default.md)
10
-
11
- ## Table of contents
12
-
13
- ### Properties
14
-
15
- - [analytics](roomle_configurator_api.roomleembeddingapikeys.md#analytics)
16
- - [extended](roomle_configurator_api.roomleembeddingapikeys.md#extended)
17
- - [global](roomle_configurator_api.roomleembeddingapikeys.md#global)
18
- - [ui](roomle_configurator_api.roomleembeddingapikeys.md#ui)
19
-
20
- ## Properties
21
-
22
- ### analytics
23
-
24
- • **analytics**: *any*
25
-
26
- Defined in: src/configurator/embedding/roomle-configurator-api.ts:65
27
-
28
- ___
29
-
30
- ### extended
31
-
32
- • **extended**: *any*
33
-
34
- Defined in: src/configurator/embedding/roomle-configurator-api.ts:63
35
-
36
- ___
37
-
38
- ### global
39
-
40
- • **global**: *any*
41
-
42
- Defined in: src/configurator/embedding/roomle-configurator-api.ts:66
43
-
44
- ___
45
-
46
- ### ui
47
-
48
- • **ui**: *any*
49
-
50
- Defined in: src/configurator/embedding/roomle-configurator-api.ts:64
@@ -1,118 +0,0 @@
1
- [Embedding API Reference](../README.md) / [Modules](../modules.md) / [types](../modules/types.md) / ConfiguratorSettings
2
-
3
- # Interface: ConfiguratorSettings
4
-
5
- [types](../modules/types.md).ConfiguratorSettings
6
-
7
- ## Hierarchy
8
-
9
- - *RapiConfiguratorSettings*
10
-
11
- ↳ **ConfiguratorSettings**
12
-
13
- ## Table of contents
14
-
15
- ### Properties
16
-
17
- - [\_\_rapi\_path\_\_](types.configuratorsettings.md#__rapi_path__)
18
- - [allowedHost](types.configuratorsettings.md#allowedhost)
19
- - [allowedHosts](types.configuratorsettings.md#allowedhosts)
20
- - [id](types.configuratorsettings.md#id)
21
- - [isLocally](types.configuratorsettings.md#islocally)
22
- - [links](types.configuratorsettings.md#links)
23
- - [settings](types.configuratorsettings.md#settings)
24
- - [tenant](types.configuratorsettings.md#tenant)
25
- - [tenant\_id](types.configuratorsettings.md#tenant_id)
26
- - [url](types.configuratorsettings.md#url)
27
-
28
- ## Properties
29
-
30
- ### \_\_rapi\_path\_\_
31
-
32
- • `Optional` **\_\_rapi\_path\_\_**: *string*
33
-
34
- Inherited from: RapiConfiguratorSettings.\_\_rapi\_path\_\_
35
-
36
- Defined in: node_modules/@roomle/web-sdk/lib/definitions/typings/rapi-types.d.ts:28
37
-
38
- ___
39
-
40
- ### allowedHost
41
-
42
- • **allowedHost**: *string*
43
-
44
- Defined in: src/configurator/embedding/types.ts:140
45
-
46
- ___
47
-
48
- ### allowedHosts
49
-
50
- • **allowedHosts**: *string*[]
51
-
52
- Inherited from: RapiConfiguratorSettings.allowedHosts
53
-
54
- Defined in: node_modules/@roomle/web-sdk/lib/definitions/typings/rapi-types.d.ts:422
55
-
56
- ___
57
-
58
- ### id
59
-
60
- • **id**: *string*
61
-
62
- Overrides: RapiConfiguratorSettings.id
63
-
64
- Defined in: src/configurator/embedding/types.ts:139
65
-
66
- ___
67
-
68
- ### isLocally
69
-
70
- • `Optional` **isLocally**: *boolean*
71
-
72
- Inherited from: RapiConfiguratorSettings.isLocally
73
-
74
- Defined in: node_modules/@roomle/web-sdk/lib/definitions/typings/rapi-types.d.ts:27
75
-
76
- ___
77
-
78
- ### links
79
-
80
- • `Optional` **links**: LinksCollection
81
-
82
- Inherited from: RapiConfiguratorSettings.links
83
-
84
- Defined in: node_modules/@roomle/web-sdk/lib/definitions/typings/rapi-types.d.ts:30
85
-
86
- ___
87
-
88
- ### settings
89
-
90
- • **settings**: [*UiInitData*](types.uiinitdata.md)
91
-
92
- Defined in: src/configurator/embedding/types.ts:143
93
-
94
- ___
95
-
96
- ### tenant
97
-
98
- • **tenant**: *number*
99
-
100
- Defined in: src/configurator/embedding/types.ts:141
101
-
102
- ___
103
-
104
- ### tenant\_id
105
-
106
- • **tenant\_id**: *string*
107
-
108
- Inherited from: RapiConfiguratorSettings.tenant\_id
109
-
110
- Defined in: node_modules/@roomle/web-sdk/lib/definitions/typings/rapi-types.d.ts:423
111
-
112
- ___
113
-
114
- ### url
115
-
116
- • **url**: *string*
117
-
118
- Defined in: src/configurator/embedding/types.ts:142
@@ -1,55 +0,0 @@
1
- [Embedding API Reference](../README.md) / [Modules](../modules.md) / [types](../modules/types.md) / EmbeddingSkin
2
-
3
- # Interface: EmbeddingSkin
4
-
5
- [types](../modules/types.md).EmbeddingSkin
6
-
7
- ## Table of contents
8
-
9
- ### Properties
10
-
11
- - [color-on-cta](types.embeddingskin.md#color-on-cta)
12
- - [color-on-primary](types.embeddingskin.md#color-on-primary)
13
- - [cta-color](types.embeddingskin.md#cta-color)
14
- - [primary-color](types.embeddingskin.md#primary-color)
15
- - [primary-color-in-rgb](types.embeddingskin.md#primary-color-in-rgb)
16
-
17
- ## Properties
18
-
19
- ### color-on-cta
20
-
21
- • `Optional` **color-on-cta**: *string*
22
-
23
- Defined in: src/configurator/embedding/types.ts:134
24
-
25
- ___
26
-
27
- ### color-on-primary
28
-
29
- • `Optional` **color-on-primary**: *string*
30
-
31
- Defined in: src/configurator/embedding/types.ts:132
32
-
33
- ___
34
-
35
- ### cta-color
36
-
37
- • `Optional` **cta-color**: *string*
38
-
39
- Defined in: src/configurator/embedding/types.ts:133
40
-
41
- ___
42
-
43
- ### primary-color
44
-
45
- • `Optional` **primary-color**: *string*
46
-
47
- Defined in: src/configurator/embedding/types.ts:130
48
-
49
- ___
50
-
51
- ### primary-color-in-rgb
52
-
53
- • `Optional` **primary-color-in-rgb**: *string*
54
-
55
- Defined in: src/configurator/embedding/types.ts:131