@roomle/embedding-lib 4.33.0 → 4.36.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.
Files changed (54) hide show
  1. package/docs/api/classes/exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md +1 -1
  2. package/docs/api/classes/exposed_api.ExposedApi.md +11 -11
  3. package/docs/api/classes/exposed_callbacks.ExposedCallbacks.md +7 -7
  4. package/docs/api/classes/roomle_configurator_api.default.md +9 -9
  5. package/docs/api/enums/types.UI_BUTTON.md +62 -18
  6. package/docs/api/interfaces/exposed_callbacks.Labels.md +2 -2
  7. package/docs/api/interfaces/exposed_callbacks.Price.md +2 -2
  8. package/docs/api/interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md +4 -4
  9. package/docs/api/interfaces/types.ConfiguratorSettings.md +5 -5
  10. package/docs/api/interfaces/types.EmbeddingSkin.md +5 -5
  11. package/docs/api/interfaces/types.UiInitData.md +37 -71
  12. package/docs/api/modules/roomle_configurator_api.md +3 -3
  13. package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +12 -24
  14. package/package.json +2 -2
  15. package/roomle-configurator-api.cjs.js +33 -76
  16. package/roomle-configurator-api.cjs.min.js +1 -1
  17. package/roomle-configurator-api.es.js +33 -76
  18. package/roomle-configurator-api.es.min.js +1 -1
  19. package/roomle-configurator-api.js +33 -76
  20. package/types/index.d.ts +368 -280
  21. package/types/src/common/business-logic/event-bus.d.ts +5 -0
  22. package/types/src/{configurator → common}/components/collection-view/-utils/types.d.ts +3 -3
  23. package/types/src/common/store/collection-view-state.d.ts +3 -2
  24. package/types/src/common/store/index.d.ts +16 -5
  25. package/types/src/common/utils/helper.d.ts +0 -20
  26. package/types/src/common/utils/merge.d.ts +16 -0
  27. package/types/src/common/utils/parameters.d.ts +2 -2
  28. package/types/src/common/utils/share.d.ts +1 -0
  29. package/types/src/common/utils/touch-drag.d.ts +8 -9
  30. package/types/src/common/utils/types.d.ts +2 -0
  31. package/types/src/common/utils/variants.d.ts +3 -0
  32. package/types/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +3 -3
  33. package/types/src/configurator/embedding/roomle-configurator-api.d.ts +6 -6
  34. package/types/src/configurator/embedding/types.d.ts +8 -1
  35. package/types/src/configurator/store/ui-state.d.ts +14 -6
  36. package/types/src/planner/business-logic/pre-defined-rooms.d.ts +2 -0
  37. package/types/src/planner/business-logic/rooms.d.ts +12 -0
  38. package/types/src/planner/store/planner-core-data.d.ts +21 -0
  39. package/types/src/planner/store/planner-ui-state.d.ts +22 -7
  40. package/types/src/planner/utils/planner-sidebar.d.ts +21 -0
  41. package/types/tests/helpers/data/items.d.ts +90 -0
  42. package/types/tests/helpers/data/plan.d.ts +224 -0
  43. package/types/tests/helpers/mocks/store.d.ts +2 -1
  44. package/types/tests/integration/{configurator/components/overlays/part-list/PartListPrint.spec.d.ts → common/components/BottomButtons.spec.d.ts} +0 -0
  45. package/types/tests/integration/{configurator/components/overlays/part-list/PartListRow.spec.d.ts → common/components/IconButton.spec.d.ts} +0 -0
  46. package/types/tests/integration/common/components/part-list/part-list/PartListPrint.spec.d.ts +1 -0
  47. package/types/tests/integration/common/components/part-list/part-list/PartListRow.spec.d.ts +1 -0
  48. package/types/tests/integration/configurator/components/overlays/PartList.spec.d.ts +1 -0
  49. package/types/tests/integration/planner/components/CatalogTrigger.spec.d.ts +1 -0
  50. package/types/tests/integration/planner/components/ProductListButton.spec.d.ts +1 -0
  51. package/types/tests/integration/planner/components/SampleRooms.spec.d.ts +1 -0
  52. package/types/tests/integration/planner/components/SelectionPreview.spec.d.ts +1 -0
  53. package/types/tests/integration/planner/components/overlays/product-list/ProductListEntry.spec.d.ts +1 -0
  54. package/types/tests/unit/common/business-logic/event-bus.spec.d.ts +1 -0
@@ -0,0 +1,224 @@
1
+ export declare const PLAN_OVERVIEW: {
2
+ area: number;
3
+ bounds: {
4
+ origin: {
5
+ x: number;
6
+ y: number;
7
+ z: number;
8
+ };
9
+ size: {
10
+ x: number;
11
+ y: number;
12
+ z: number;
13
+ };
14
+ };
15
+ outsideWalls: never[];
16
+ rooms: never[];
17
+ objects: {
18
+ dimensions: {
19
+ x: number;
20
+ y: number;
21
+ z: number;
22
+ };
23
+ center: {
24
+ x: number;
25
+ y: number;
26
+ z: number;
27
+ };
28
+ customColor: number;
29
+ rotation: number;
30
+ customLabel: null;
31
+ catalogItemId: string;
32
+ configuration: string;
33
+ configurationHash: string;
34
+ parts: {
35
+ fullList: ({
36
+ articleNr: string;
37
+ componentId: string;
38
+ componentRuntimeIds: number[];
39
+ subpartId: number;
40
+ hasGeometry: boolean;
41
+ label: string;
42
+ labelIsCalculated: boolean;
43
+ count: number;
44
+ packageSize: number;
45
+ valid: boolean;
46
+ price: number;
47
+ retailerPrice: number;
48
+ currencySymbol: string;
49
+ parameters: ({
50
+ key: string;
51
+ label: string;
52
+ type: string;
53
+ unitType: string;
54
+ value: string;
55
+ valueLabel: string;
56
+ valueThumbnail: null;
57
+ sort: number;
58
+ } | {
59
+ key: string;
60
+ label: string;
61
+ type: string;
62
+ unitType: null;
63
+ value: string;
64
+ valueLabel: null;
65
+ valueThumbnail: null;
66
+ sort: number;
67
+ } | {
68
+ key: string;
69
+ label: null;
70
+ type: string;
71
+ unitType: null;
72
+ value: string;
73
+ valueLabel: null;
74
+ valueThumbnail: null;
75
+ sort: number;
76
+ })[];
77
+ } | {
78
+ articleNr: string;
79
+ componentId: string;
80
+ componentRuntimeIds: number[];
81
+ subpartId: number;
82
+ hasGeometry: boolean;
83
+ label: string;
84
+ labelIsCalculated: boolean;
85
+ count: number;
86
+ packageSize: number;
87
+ valid: boolean;
88
+ price: number;
89
+ retailerPrice: number;
90
+ currencySymbol: null;
91
+ parameters: never[];
92
+ })[];
93
+ perMainComponent: {
94
+ fullList: ({
95
+ articleNr: string;
96
+ componentId: string;
97
+ componentRuntimeIds: number[];
98
+ subpartId: number;
99
+ hasGeometry: boolean;
100
+ label: string;
101
+ labelIsCalculated: boolean;
102
+ count: number;
103
+ packageSize: number;
104
+ valid: boolean;
105
+ price: number;
106
+ retailerPrice: number;
107
+ currencySymbol: string;
108
+ parameters: ({
109
+ key: string;
110
+ label: string;
111
+ type: string;
112
+ unitType: string;
113
+ value: string;
114
+ valueLabel: string;
115
+ valueThumbnail: null;
116
+ sort: number;
117
+ } | {
118
+ key: string;
119
+ label: string;
120
+ type: string;
121
+ unitType: null;
122
+ value: string;
123
+ valueLabel: null;
124
+ valueThumbnail: null;
125
+ sort: number;
126
+ } | {
127
+ key: string;
128
+ label: null;
129
+ type: string;
130
+ unitType: null;
131
+ value: string;
132
+ valueLabel: null;
133
+ valueThumbnail: null;
134
+ sort: number;
135
+ })[];
136
+ } | {
137
+ articleNr: string;
138
+ componentId: string;
139
+ componentRuntimeIds: number[];
140
+ subpartId: number;
141
+ hasGeometry: boolean;
142
+ label: string;
143
+ labelIsCalculated: boolean;
144
+ count: number;
145
+ packageSize: number;
146
+ valid: boolean;
147
+ price: number;
148
+ retailerPrice: number;
149
+ currencySymbol: null;
150
+ parameters: never[];
151
+ })[];
152
+ perMainComponent: never[];
153
+ originPart: {
154
+ articleNr: null;
155
+ componentId: string;
156
+ componentRuntimeIds: number[];
157
+ subpartId: number;
158
+ hasGeometry: boolean;
159
+ label: string;
160
+ labelIsCalculated: boolean;
161
+ count: number;
162
+ packageSize: number;
163
+ valid: boolean;
164
+ price: number;
165
+ retailerPrice: number;
166
+ currencySymbol: null;
167
+ parameters: ({
168
+ key: string;
169
+ label: string;
170
+ type: string;
171
+ unitType: null;
172
+ value: string;
173
+ valueLabel: string;
174
+ valueThumbnail: string;
175
+ sort: number;
176
+ } | {
177
+ key: string;
178
+ label: string;
179
+ type: string;
180
+ unitType: string;
181
+ value: string;
182
+ valueLabel: string;
183
+ valueThumbnail: null;
184
+ sort: number;
185
+ } | {
186
+ key: string;
187
+ label: string;
188
+ type: string;
189
+ unitType: null;
190
+ value: string;
191
+ valueLabel: string;
192
+ valueThumbnail: null;
193
+ sort: number;
194
+ } | {
195
+ key: string;
196
+ label: string;
197
+ type: string;
198
+ unitType: null;
199
+ value: string;
200
+ valueLabel: null;
201
+ valueThumbnail: null;
202
+ sort: number;
203
+ })[];
204
+ };
205
+ }[];
206
+ originPart: {
207
+ articleNr: null;
208
+ componentId: null;
209
+ componentRuntimeIds: never[];
210
+ subpartId: number;
211
+ hasGeometry: boolean;
212
+ label: null;
213
+ labelIsCalculated: boolean;
214
+ count: number;
215
+ packageSize: number;
216
+ valid: boolean;
217
+ price: number;
218
+ retailerPrice: number;
219
+ currencySymbol: null;
220
+ parameters: never[];
221
+ };
222
+ };
223
+ }[];
224
+ };
@@ -1,6 +1,7 @@
1
- export declare const getStoreMock: ({ uiState, plannerUiState, coreData, coreState, commonUiState, }: {
1
+ export declare const getStoreMock: ({ uiState, plannerUiState, plannerCoreData, coreData, coreState, commonUiState, }: {
2
2
  uiState?: object | undefined;
3
3
  plannerUiState?: object | undefined;
4
+ plannerCoreData?: object | undefined;
4
5
  coreData?: object | undefined;
5
6
  coreState?: object | undefined;
6
7
  commonUiState?: object | undefined;