@roomle/embedding-lib 5.25.0 → 5.26.0-alpha.2
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/md/web/embedding/CHANGELOG.md +5 -64
- package/package.json +1 -1
- package/packages/embedding-lib/src/examples/homag-intelligence-catalog-example.d.ts +12 -0
- package/packages/web-sdk/packages/common-core/src/rapi-access.d.ts +1 -0
- package/packages/web-sdk/packages/common-core/src/services/global-callback.d.ts +2 -0
- package/packages/web-sdk/packages/common-core/src/utils/common-utils.d.ts +1 -0
- package/packages/web-sdk/packages/common-core/src/view-model/configurator-view-model.d.ts +4 -0
- package/packages/web-sdk/packages/configurator-core/src/services/configurator-ui-callback.d.ts +5 -0
- package/packages/web-sdk/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +3 -0
- package/packages/web-sdk/packages/homag-intelligence/src/hi-tag-catalog-callbacks.d.ts +20 -0
- package/packages/web-sdk/packages/homag-intelligence/src/homag-intelligence.d.ts +15 -1
- package/packages/web-sdk/packages/homag-intelligence/src/loader.d.ts +1 -1
- package/packages/web-sdk/packages/planner-core/src/roomle-planner.d.ts +1 -0
- package/packages/web-sdk/packages/planner-core/src/services/planner-kernel-access.d.ts +2 -2
- package/packages/web-sdk/packages/typings/external-objects.d.ts +9 -0
- package/src/common/components/inputs/RangeSlider.vue.d.ts +1 -1
- package/src/common/components/overlays/PartList.vue.d.ts +3 -3
- package/src/common/components/parameters/ColorParameter.vue.d.ts +2 -2
- package/src/common/components/side-bar/ResponsiveSidebarWrapper.vue.d.ts +37 -0
- package/src/common/components/side-bar/SidebarItem.vue.d.ts +20 -0
- package/src/common/components/side-bar/SidebarItemLabel.vue.d.ts +10 -0
- package/src/common/components/side-bar/SidebarRouterLayer.vue.d.ts +6 -0
- package/src/common/components/side-bar/TabbedNav.vue.d.ts +22 -0
- package/src/common/components/{collection-view/-utils → side-bar}/TabbedNavMenu.vue.d.ts +1 -1
- package/src/common/components/{collection-view/-utils/collection-view-dynamic-components.d.ts → side-bar/utils/configurator-sidebar-components.d.ts} +27 -86
- package/src/common/components/side-bar/utils/helper.d.ts +3 -0
- package/src/common/components/side-bar/utils/types.d.ts +32 -0
- package/src/common/components/utils/QRCode.vue.d.ts +3 -3
- package/src/common/composables/use-fetch-root-tag.d.ts +3 -3
- package/src/common/composables/use-open-close-anim.d.ts +2 -2
- package/src/common/composables/use-pausable-computed.d.ts +15 -0
- package/src/common/composables/use-sidebar-layer-router.d.ts +12 -0
- package/src/common/router/router.d.ts +2 -0
- package/src/common/store/index.d.ts +3 -3
- package/src/common/store/{collection-view-state.d.ts → sidebar-store-state.d.ts} +12 -12
- package/src/common/utils/parameters.d.ts +6 -6
- package/src/common/utils/types.d.ts +0 -3
- package/src/configurator/business-logic/sdk-connector.d.ts +0 -1
- package/src/configurator/components/ConfiguratorSidebar.vue.d.ts +4 -2
- package/src/configurator/components/addons/PossibleChildren.vue.d.ts +0 -2
- package/src/configurator/components/grid-view/-utils/CollapsedView.vue.d.ts +29 -77
- package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +6 -6
- package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +7 -4
- package/src/configurator/components/grid-view/-utils/GridViewElement.vue.d.ts +1 -1
- package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +7 -2
- package/src/configurator/components/grid-view/GridView.vue.d.ts +2 -2
- package/src/configurator/components/parameters/types/DisabledParameters.vue.d.ts +3 -3
- package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +10 -64
- package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +4 -5
- package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +2 -5
- package/src/configurator/components/utils/-utils/side-bar-types.d.ts +13 -0
- package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +4 -2
- package/src/configurator/components/utils/SearchInput.vue.d.ts +6 -3
- package/src/configurator/embedding/helper.d.ts +1 -1
- package/src/configurator/embedding/types.d.ts +1 -1
- package/src/planner/business-logic/rooms.d.ts +0 -7
- package/src/planner/components/ObjectList.vue.d.ts +5 -5
- package/src/planner/components/PlannerSidebar.vue.d.ts +4 -2
- package/src/planner/components/RotationIndicator.vue.d.ts +1 -1
- package/src/planner/components/overlays/RoomSidebar.vue.d.ts +4 -2
- package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +2 -3
- package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +15 -4873
- package/src/planner/components/overlays/rooms/RoomFloorAndWallSettings.vue.d.ts +0 -2
- package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +0 -2
- package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +4 -2
- package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +4 -2
- package/src/planner/components/utils/ConfiguratorParameter.vue.d.ts +6 -6
- package/src/planner/components/utils/InteractionHeader.vue.d.ts +3 -3
- package/src/planner/components/utils/WallSideIcon.vue.d.ts +5 -5
- package/src/planner/store/planner-core-data.d.ts +0 -1
- package/src/planner/utils/planner-sidebar.d.ts +0 -9
- package/src/viewer/components/ViewerMain.vue.d.ts +11 -7
- package/src/viewer/components/ViewerSidebar.vue.d.ts +3 -3
- package/src/common/components/collection-view/-utils/TabbedNav.vue.d.ts +0 -18
- package/src/common/components/collection-view/-utils/collection-view-props.d.ts +0 -40
- package/src/common/components/collection-view/-utils/helper.d.ts +0 -5
- package/src/common/components/collection-view/-utils/render.d.ts +0 -9
- package/src/common/components/collection-view/-utils/types.d.ts +0 -45
- package/src/common/components/collection-view/CollectionView.vue.d.ts +0 -69
- package/src/common/components/collection-view/CollectionViewElement.vue.d.ts +0 -47
- package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +0 -71
- package/src/common/components/drawer-layout/DrawerGroup.vue.d.ts +0 -23
- package/src/common/components/drawer-layout/DrawerLayout.vue.d.ts +0 -94
- /package/src/common/components/{collection-view/-utils → side-bar}/BackButton.vue.d.ts +0 -0
- /package/src/common/components/{collection-view/CollectionViewHint.vue.d.ts → side-bar/SidebarHintText.vue.d.ts} +0 -0
- /package/src/common/components/{collection-view/-utils → side-bar}/TabbedNavStatic.vue.d.ts +0 -0
- /package/src/common/components/{collection-view/-utils → tool-tip}/ParameterTooltip.vue.d.ts +0 -0
|
@@ -1,66 +1,15 @@
|
|
|
1
1
|
declare const dynamicComponents: {
|
|
2
|
-
readonly MaterialParameter: import('vue').DefineComponent<
|
|
3
|
-
parameter
|
|
4
|
-
isExpanded: BooleanConstructor;
|
|
5
|
-
onExpand: {
|
|
6
|
-
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
onCollapse: {
|
|
10
|
-
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
11
|
-
};
|
|
12
|
-
isDesktop: BooleanConstructor;
|
|
13
|
-
}>, {}, {
|
|
14
|
-
groups: RapiMaterialGroup[];
|
|
15
|
-
}, {
|
|
16
|
-
allElements(): import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>[];
|
|
17
|
-
selectedElement(): import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>;
|
|
18
|
-
normalizedGroups(): import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
19
|
-
}, {
|
|
20
|
-
onSelect({ key }: {
|
|
21
|
-
key: string;
|
|
22
|
-
}): Promise<void>;
|
|
23
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
-
parameter: import('vue').PropType<UiKernelParameter>;
|
|
25
|
-
isExpanded: BooleanConstructor;
|
|
26
|
-
onExpand: {
|
|
27
|
-
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
onCollapse: {
|
|
31
|
-
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
32
|
-
};
|
|
33
|
-
isDesktop: BooleanConstructor;
|
|
34
|
-
}>> & Readonly<{}>, {
|
|
35
|
-
isDesktop: boolean;
|
|
2
|
+
readonly MaterialParameter: import('vue').DefineComponent<{
|
|
3
|
+
parameter?: UiKernelParameter;
|
|
36
4
|
isExpanded: boolean;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
selectedElement?: any;
|
|
46
|
-
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
47
|
-
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
48
|
-
isDesktop?: boolean;
|
|
49
|
-
}, {
|
|
50
|
-
currentTouch: import('../../../../../packages/common/src/utils/touch-drag').TouchDrag<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>>;
|
|
51
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
52
|
-
isExpanded?: boolean;
|
|
53
|
-
onExpand: (event: MouseEvent) => void;
|
|
54
|
-
onSelect: ((...args: any[]) => any)[] | ((possibleChild: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>) => Promise<void>);
|
|
55
|
-
onDragStart?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>, event: TouchEvent | DragEvent) => Promise<void>;
|
|
56
|
-
onDragEnd?: (gridViewElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>, event: TouchEvent | DragEvent) => void;
|
|
57
|
-
elements: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>[];
|
|
58
|
-
selectedElement?: any;
|
|
59
|
-
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
60
|
-
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
61
|
-
isDesktop?: boolean;
|
|
62
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
63
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
onExpand: (_payload: MouseEvent) => void;
|
|
6
|
+
onCollapse?: (_payload: MouseEvent) => void;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
parameter?: UiKernelParameter;
|
|
9
|
+
isExpanded: boolean;
|
|
10
|
+
onExpand: (_payload: MouseEvent) => void;
|
|
11
|
+
onCollapse?: (_payload: MouseEvent) => void;
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
64
13
|
readonly OptionsParameter: import('vue').DefineComponent<{
|
|
65
14
|
parameter: {
|
|
66
15
|
value: string;
|
|
@@ -86,7 +35,6 @@ declare const dynamicComponents: {
|
|
|
86
35
|
onCollapse: {
|
|
87
36
|
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
88
37
|
};
|
|
89
|
-
isDesktop: BooleanConstructor;
|
|
90
38
|
}>, {}, {}, {
|
|
91
39
|
allElements(): import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>[];
|
|
92
40
|
selectedElement(): import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>;
|
|
@@ -105,9 +53,7 @@ declare const dynamicComponents: {
|
|
|
105
53
|
onCollapse: {
|
|
106
54
|
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
107
55
|
};
|
|
108
|
-
isDesktop: BooleanConstructor;
|
|
109
56
|
}>> & Readonly<{}>, {
|
|
110
|
-
isDesktop: boolean;
|
|
111
57
|
isExpanded: boolean;
|
|
112
58
|
}, {}, {
|
|
113
59
|
GridView: import('vue').DefineComponent<{
|
|
@@ -120,7 +66,7 @@ declare const dynamicComponents: {
|
|
|
120
66
|
selectedElement?: any;
|
|
121
67
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
122
68
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
123
|
-
|
|
69
|
+
label?: string;
|
|
124
70
|
}, {
|
|
125
71
|
currentTouch: import('../../../../../packages/common/src/utils/touch-drag').TouchDrag<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>>;
|
|
126
72
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -133,7 +79,7 @@ declare const dynamicComponents: {
|
|
|
133
79
|
selectedElement?: any;
|
|
134
80
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
135
81
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
136
|
-
|
|
82
|
+
label?: string;
|
|
137
83
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
138
84
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
139
85
|
readonly RangeParameter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -163,13 +109,11 @@ declare const dynamicComponents: {
|
|
|
163
109
|
isExpanded: boolean;
|
|
164
110
|
onExpand: () => void;
|
|
165
111
|
onCollapse: (_payload: MouseEvent) => void;
|
|
166
|
-
isDesktop: boolean;
|
|
167
112
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
168
113
|
addonTag: UiPossibleChildTag;
|
|
169
114
|
isExpanded: boolean;
|
|
170
115
|
onExpand: () => void;
|
|
171
116
|
onCollapse: (_payload: MouseEvent) => void;
|
|
172
|
-
isDesktop: boolean;
|
|
173
117
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
174
118
|
readonly ProductVariant: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
175
119
|
variants: {
|
|
@@ -184,7 +128,7 @@ declare const dynamicComponents: {
|
|
|
184
128
|
onCollapse: {
|
|
185
129
|
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
186
130
|
};
|
|
187
|
-
|
|
131
|
+
label: StringConstructor;
|
|
188
132
|
}>, {}, {
|
|
189
133
|
groups: RapiTagForUi[];
|
|
190
134
|
}, {
|
|
@@ -205,9 +149,8 @@ declare const dynamicComponents: {
|
|
|
205
149
|
onCollapse: {
|
|
206
150
|
type: import('vue').PropType<(_payload: MouseEvent) => void>;
|
|
207
151
|
};
|
|
208
|
-
|
|
152
|
+
label: StringConstructor;
|
|
209
153
|
}>> & Readonly<{}>, {
|
|
210
|
-
isDesktop: boolean;
|
|
211
154
|
isExpanded: boolean;
|
|
212
155
|
}, {}, {
|
|
213
156
|
GridView: import('vue').DefineComponent<{
|
|
@@ -220,7 +163,7 @@ declare const dynamicComponents: {
|
|
|
220
163
|
selectedElement?: any;
|
|
221
164
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
222
165
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
223
|
-
|
|
166
|
+
label?: string;
|
|
224
167
|
}, {
|
|
225
168
|
currentTouch: import('../../../../../packages/common/src/utils/touch-drag').TouchDrag<import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>>;
|
|
226
169
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -233,21 +176,21 @@ declare const dynamicComponents: {
|
|
|
233
176
|
selectedElement?: any;
|
|
234
177
|
groups: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewGroup<any>[];
|
|
235
178
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
236
|
-
|
|
179
|
+
label?: string;
|
|
237
180
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
238
181
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
239
182
|
readonly ObjectList: import('vue').DefineComponent<{
|
|
240
|
-
element: import('./types').
|
|
183
|
+
element: import('./types').ParameterData<any>;
|
|
241
184
|
isExpanded?: boolean;
|
|
242
185
|
onExpand?: () => void;
|
|
243
186
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
244
|
-
|
|
187
|
+
label?: string;
|
|
245
188
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
246
|
-
element: import('./types').
|
|
189
|
+
element: import('./types').ParameterData<any>;
|
|
247
190
|
isExpanded?: boolean;
|
|
248
191
|
onExpand?: () => void;
|
|
249
192
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
250
|
-
|
|
193
|
+
label?: string;
|
|
251
194
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
252
195
|
readonly RoomsList: import('vue').DefineComponent<{
|
|
253
196
|
objects: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../planner/business-logic/rooms').SampleRoom>[];
|
|
@@ -255,7 +198,6 @@ declare const dynamicComponents: {
|
|
|
255
198
|
onExpand: () => void;
|
|
256
199
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
257
200
|
onSelect: (_sampleRoom: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>) => Promise<void>;
|
|
258
|
-
isDesktop?: boolean;
|
|
259
201
|
selectedElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../planner/business-logic/rooms').SampleRoom>;
|
|
260
202
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
261
203
|
objects: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../planner/business-logic/rooms').SampleRoom>[];
|
|
@@ -263,18 +205,17 @@ declare const dynamicComponents: {
|
|
|
263
205
|
onExpand: () => void;
|
|
264
206
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
265
207
|
onSelect: (_sampleRoom: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>) => Promise<void>;
|
|
266
|
-
isDesktop?: boolean;
|
|
267
208
|
selectedElement: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<import('../../../../planner/business-logic/rooms').SampleRoom>;
|
|
268
209
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
269
210
|
readonly InteractionHeader: import('vue').DefineComponent<{
|
|
270
211
|
onClick?: (_payload: MouseEvent) => void;
|
|
271
|
-
heading
|
|
212
|
+
heading?: string;
|
|
272
213
|
hideCloseButton?: boolean;
|
|
273
214
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
274
215
|
onClick?: (_payload: MouseEvent) => void;
|
|
275
|
-
heading
|
|
216
|
+
heading?: string;
|
|
276
217
|
hideCloseButton?: boolean;
|
|
277
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
218
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
278
219
|
readonly RoomRangeParameter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
279
220
|
parameter: {
|
|
280
221
|
type: import('vue').PropType<import('../../../../planner/business-logic/rooms').RoomRangeParametersTab | import('../../../../planner/business-logic/rooms').WallRangeParametersTab>;
|
|
@@ -1503,9 +1444,9 @@ declare const dynamicComponents: {
|
|
|
1503
1444
|
isExpanded?: boolean;
|
|
1504
1445
|
onExpand?: () => void;
|
|
1505
1446
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
1506
|
-
isDesktop?: boolean;
|
|
1507
1447
|
onSetColor?: (element: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>) => void | Promise<void>;
|
|
1508
1448
|
value?: import('../../../composables/use-core-bound-value').MinimalBoundValue<any>;
|
|
1449
|
+
label?: string;
|
|
1509
1450
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
1510
1451
|
groups: RapiMaterialGroup[] | readonly [{
|
|
1511
1452
|
readonly id: "ral_9000";
|
|
@@ -2612,9 +2553,9 @@ declare const dynamicComponents: {
|
|
|
2612
2553
|
isExpanded?: boolean;
|
|
2613
2554
|
onExpand?: () => void;
|
|
2614
2555
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
2615
|
-
isDesktop?: boolean;
|
|
2616
2556
|
onSetColor?: (element: import('../../../../configurator/components/grid-view/-utils/GridViewHelper').GridViewElement<any>) => void | Promise<void>;
|
|
2617
2557
|
value?: import('../../../composables/use-core-bound-value').MinimalBoundValue<any>;
|
|
2558
|
+
label?: string;
|
|
2618
2559
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2619
2560
|
readonly RoomDrawControl: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2620
2561
|
head: StringConstructor;
|
|
@@ -2847,9 +2788,9 @@ declare const dynamicComponents: {
|
|
|
2847
2788
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2848
2789
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2849
2790
|
readonly DisabledParameters: import('vue').DefineComponent<{
|
|
2850
|
-
parameter: import('./types').
|
|
2791
|
+
parameter: import('./types').ParameterData<any>[];
|
|
2851
2792
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
2852
|
-
parameter: import('./types').
|
|
2793
|
+
parameter: import('./types').ParameterData<any>[];
|
|
2853
2794
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2854
2795
|
readonly Tooltip: {
|
|
2855
2796
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { UiKernelParameter, UiPossibleChildTag } from '@roomle/web-sdk/typings/kernel';
|
|
3
|
+
import { RapiTagForUi } from '@roomle/web-sdk/typings/rapi-types';
|
|
4
|
+
import { Nullable } from '../../../utils/types';
|
|
5
|
+
|
|
6
|
+
export type ParameterDataGeneralType = 'addon' | 'parameter' | 'variant';
|
|
7
|
+
export type ParameterDataDynamicType = ParameterDataGeneralType;
|
|
8
|
+
export interface TabCategory {
|
|
9
|
+
key: string;
|
|
10
|
+
label: string;
|
|
11
|
+
icon?: string;
|
|
12
|
+
onSelect?: Nullable<(_category: TabCategory) => Promise<void>>;
|
|
13
|
+
}
|
|
14
|
+
export interface ParameterComponentIcon<T> {
|
|
15
|
+
element: Component;
|
|
16
|
+
props?: T;
|
|
17
|
+
}
|
|
18
|
+
export type ParameterDataPossibleTypes = UiPossibleChildTag | UiKernelParameter | RapiTagForUi;
|
|
19
|
+
export interface ParameterData<T = ParameterDataPossibleTypes> {
|
|
20
|
+
label: Nullable<string>;
|
|
21
|
+
key: string;
|
|
22
|
+
payload: T;
|
|
23
|
+
type: string;
|
|
24
|
+
svgIcon?: string;
|
|
25
|
+
tabCategory?: TabCategory;
|
|
26
|
+
componentIcon?: ParameterComponentIcon<Record<string, any>>;
|
|
27
|
+
}
|
|
28
|
+
export declare const TabbedNavMenuKeys: {
|
|
29
|
+
readonly Draw: "tabbed-nav-menu-draw";
|
|
30
|
+
readonly Settings: "tabbed-nav-menu-settings";
|
|
31
|
+
readonly Construction: "tabbed-nav-menu-construction";
|
|
32
|
+
};
|
|
@@ -3,17 +3,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
3
3
|
size: number;
|
|
4
4
|
color?: string;
|
|
5
5
|
bgColor: string;
|
|
6
|
-
errorLevel: "
|
|
6
|
+
errorLevel: "L" | "M" | "Q" | "H";
|
|
7
7
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
8
|
text: string;
|
|
9
9
|
size: number;
|
|
10
10
|
color?: string;
|
|
11
11
|
bgColor: string;
|
|
12
|
-
errorLevel: "
|
|
12
|
+
errorLevel: "L" | "M" | "Q" | "H";
|
|
13
13
|
}> & Readonly<{}>, {
|
|
14
14
|
size: number;
|
|
15
15
|
color: string;
|
|
16
16
|
bgColor: string;
|
|
17
|
-
errorLevel: "
|
|
17
|
+
errorLevel: "L" | "M" | "Q" | "H";
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SdkConnector } from '../../configurator/business-logic/sdk-connector';
|
|
2
2
|
import { RapiId } from '@roomle/web-sdk/typings/rapi-types';
|
|
3
3
|
import { Nullable } from '../utils/types';
|
|
4
|
-
import {
|
|
4
|
+
import { ParameterData, TabCategory } from '../components/side-bar/utils/types';
|
|
5
5
|
import { UseAsyncData } from '../utils/composable-helpers';
|
|
6
6
|
|
|
7
|
-
export declare const FETCHED_ROOT_TAGS: Map<RapiId, UseAsyncData<
|
|
8
|
-
export declare const useFetchRootTag: (tagId: Nullable<RapiId | RapiId[]>, sdkConnector: SdkConnector, tabCategory?: TabCategory) => UseAsyncData<
|
|
7
|
+
export declare const FETCHED_ROOT_TAGS: Map<RapiId, UseAsyncData<ParameterData[]>>;
|
|
8
|
+
export declare const useFetchRootTag: (tagId: Nullable<RapiId | RapiId[]>, sdkConnector: SdkConnector, tabCategory?: TabCategory) => UseAsyncData<ParameterData[]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ParameterData } from '../components/side-bar/utils/types';
|
|
2
2
|
|
|
3
3
|
export declare const OPEN_CLOSE_ANIMATION_PARAM_KEY = "animation:openClose";
|
|
4
4
|
export declare const useOpenCloseAnim: () => {
|
|
5
|
-
openCloseAnimationParameter: import('vue').ComputedRef<
|
|
5
|
+
openCloseAnimationParameter: import('vue').ComputedRef<ParameterData<UiKernelParameter>>;
|
|
6
6
|
isAnimationToggled: import('vue').ComputedRef<boolean>;
|
|
7
7
|
toggleOpenCloseAnimation: () => Promise<void>;
|
|
8
8
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Ref, ComputedRef, DeepReadonly } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface PausableComputedReturn<T> {
|
|
4
|
+
value: ComputedRef<T>;
|
|
5
|
+
pause: () => void;
|
|
6
|
+
resume: () => void;
|
|
7
|
+
isPaused: Ref<boolean>;
|
|
8
|
+
}
|
|
9
|
+
export declare const usePausableComputed: <T>(getter: () => T) => {
|
|
10
|
+
isPaused: Readonly<Ref<boolean, boolean>>;
|
|
11
|
+
pause: () => void;
|
|
12
|
+
resume: () => void;
|
|
13
|
+
value: Readonly<Ref<DeepReadonly<T>, DeepReadonly<T>>>;
|
|
14
|
+
};
|
|
15
|
+
export { type PausableComputedReturn };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RouteMeta } from 'vue-router';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
|
|
4
|
+
export declare const GRID_VIEW_ROUTE_NAME = "gridView";
|
|
5
|
+
export declare const GRID_VIEW_ROUTE = "/gridView";
|
|
6
|
+
export declare const useSidebarLayerRouter: () => {
|
|
7
|
+
isGridViewSidebarOpen: import('vue').ComputedRef<boolean>;
|
|
8
|
+
showSidebarLayer: (component: Component, props: any, meta: RouteMeta) => void;
|
|
9
|
+
removeSidebarLayer: (routeName: string) => void;
|
|
10
|
+
removeGridViewSidebarLayer: () => void;
|
|
11
|
+
router: import('vue-router').Router;
|
|
12
|
+
};
|
|
@@ -2,7 +2,7 @@ import { CoreState } from '../../configurator/store/core-state';
|
|
|
2
2
|
import { CoreData } from '../../configurator/store/core-data';
|
|
3
3
|
import { BUTTON_ACTIONS, UiState } from '../../configurator/store/ui-state';
|
|
4
4
|
import { PlannerUiState } from '../../planner/store/planner-ui-state';
|
|
5
|
-
import {
|
|
5
|
+
import { SidebarStoreState } from './sidebar-store-state';
|
|
6
6
|
import { Nullable } from '../utils/types';
|
|
7
7
|
import { PlannerCoreData } from '../../planner/store/planner-core-data';
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ export interface SharedUiState {
|
|
|
16
16
|
topBarSelectedActions: BUTTON_ACTIONS[];
|
|
17
17
|
}
|
|
18
18
|
export declare const MUTATIONS: {
|
|
19
|
-
[x: string]: `PLANNER_CORE_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `UI_STATE_${string}` | `
|
|
19
|
+
[x: string]: `PLANNER_CORE_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `UI_STATE_${string}` | `SIDEBAR_${string}` | `CORE_DATA_${string}` | `CORE_STATE_${string}`;
|
|
20
20
|
};
|
|
21
21
|
export declare const ACTIONS: {
|
|
22
22
|
[x: string]: `PLANNER_CORE_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `UI_STATE_${string}` | `CORE_DATA_${string}` | `CORE_STATE_${string}`;
|
|
@@ -27,7 +27,7 @@ export interface StoreState {
|
|
|
27
27
|
uiState: UiState;
|
|
28
28
|
plannerUiState: PlannerUiState;
|
|
29
29
|
plannerCoreData: PlannerCoreData;
|
|
30
|
-
|
|
30
|
+
sidebarState: SidebarStoreState;
|
|
31
31
|
}
|
|
32
32
|
declare const _default: any;
|
|
33
33
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Module } from 'vuex';
|
|
2
2
|
import { Enumify, Nullable } from '../utils/types';
|
|
3
|
-
import {
|
|
3
|
+
import { ParameterData } from '../components/side-bar/utils/types';
|
|
4
4
|
import { StoreState } from '.';
|
|
5
5
|
import { EnsurePrefix } from '../../configurator/store/ui-state';
|
|
6
6
|
import { MaterialsForObjects } from '../../planner/business-logic/rooms';
|
|
@@ -15,7 +15,7 @@ export interface GridViewUiState {
|
|
|
15
15
|
ignoreSearchThreshold: boolean;
|
|
16
16
|
showLabels: boolean;
|
|
17
17
|
}
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const SIDEBAR_VIEW_TYPES: {
|
|
19
19
|
readonly PLANNER_SIDE_BAR: "planner_side_bar";
|
|
20
20
|
readonly CONFIGURATOR_SIDE_BAR: "configurator_side_bar";
|
|
21
21
|
readonly DUMMY: "dummy_side_bar";
|
|
@@ -23,12 +23,12 @@ export declare const COLLECTION_VIEW_TYPES: {
|
|
|
23
23
|
readonly PRODUCT_SETTINGS: "product_settings";
|
|
24
24
|
readonly FLOOR_SIDE_BAR: "floor_side_bar";
|
|
25
25
|
readonly UNIT_TEST: "test_state";
|
|
26
|
-
readonly STATIC_COLLECTION_VIEW: "static_collection_view";
|
|
27
26
|
};
|
|
28
|
-
export type
|
|
29
|
-
export interface
|
|
30
|
-
debugId:
|
|
31
|
-
|
|
27
|
+
export type SidebarViewTypes = Enumify<typeof SIDEBAR_VIEW_TYPES>;
|
|
28
|
+
export interface SidebarStoreState {
|
|
29
|
+
debugId: SidebarViewTypes;
|
|
30
|
+
isUsingSlider: boolean;
|
|
31
|
+
selected: Nullable<ParameterData>;
|
|
32
32
|
showsDetails: boolean;
|
|
33
33
|
gridView: GridViewUiState;
|
|
34
34
|
lastSetExteriorMaterial: Nullable<MaterialsForObjects>;
|
|
@@ -36,10 +36,10 @@ export interface CollectionViewState {
|
|
|
36
36
|
lastSetFloorsMaterial: Nullable<MaterialsForObjects>;
|
|
37
37
|
}
|
|
38
38
|
export declare const getInitialGridViewState: () => GridViewUiState;
|
|
39
|
-
export declare const
|
|
39
|
+
export declare const getInitialSidebarViewState: (debugId: SidebarViewTypes) => SidebarStoreState;
|
|
40
40
|
export declare const getInitialViewType: (initialType?: ViewTypeState) => ViewTypeState;
|
|
41
|
-
type
|
|
42
|
-
export declare const
|
|
43
|
-
export declare const GRID_VIEW_STATE_MUTATIONS:
|
|
44
|
-
export declare const
|
|
41
|
+
type SidebarStateIdentifier = EnsurePrefix<'SIDEBAR_'>;
|
|
42
|
+
export declare const SIDEBAR_STATE_MUTATIONS: SidebarStateIdentifier;
|
|
43
|
+
export declare const GRID_VIEW_STATE_MUTATIONS: SidebarStateIdentifier;
|
|
44
|
+
export declare const sidebarState: Module<SidebarStoreState, StoreState>;
|
|
45
45
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RapiMaterial, RapiMaterialGroup, RapiTagForUi, RapiTexture } from '@roomle/web-sdk/typings/rapi-types';
|
|
2
2
|
import { KernelPartListParameter, UiPossibleChildTag } from '@roomle/web-sdk/typings/kernel';
|
|
3
|
-
import {
|
|
3
|
+
import { ParameterData, TabCategory } from '../components/side-bar/utils/types';
|
|
4
4
|
import { VariantsMap } from '../../configurator/embedding/types';
|
|
5
5
|
import { Translator } from '../composables/use-intl';
|
|
6
6
|
|
|
@@ -10,12 +10,12 @@ export interface RapiMaterialEmbeddedTextures extends RapiMaterial {
|
|
|
10
10
|
[key: string]: any;
|
|
11
11
|
}
|
|
12
12
|
export declare const getAllMaterials: (groups?: RapiMaterialGroup[]) => RapiMaterialEmbeddedTextures[];
|
|
13
|
-
export declare const mapAddons: (addons: UiPossibleChildTag[]) =>
|
|
14
|
-
export declare const mapVariants: (tag: RapiTagForUi) =>
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const filterAndMapAddons: (addons: UiPossibleChildTag[], selectedGroup: string | undefined) =>
|
|
13
|
+
export declare const mapAddons: (addons: UiPossibleChildTag[]) => ParameterData[];
|
|
14
|
+
export declare const mapVariants: (tag: RapiTagForUi) => ParameterData[];
|
|
15
|
+
export declare const mapRootTagToParameterDataArray: (tags: RapiTagForUi[], tabCategory?: TabCategory) => ParameterData[];
|
|
16
|
+
export declare const filterAndMapAddons: (addons: UiPossibleChildTag[], selectedGroup: string | undefined) => ParameterData[];
|
|
17
17
|
export declare const addonsHaveGroups: (addons: UiPossibleChildTag[]) => boolean;
|
|
18
18
|
export declare const extractRootComponentId: (id: string) => string;
|
|
19
19
|
export declare const getCurrentVariants: (api: RoomleConfiguratorType, id: string, variantChangeMap?: VariantsMap) => Promise<any>;
|
|
20
20
|
export declare const prepareParametersForUi: (parameters: KernelPartListParameter[]) => KernelPartListParameter[];
|
|
21
|
-
export declare const createDisabledParamsElement: (elements:
|
|
21
|
+
export declare const createDisabledParamsElement: (elements: ParameterData[], intl: Translator) => ParameterData<ParameterData[]>;
|
|
@@ -89,9 +89,6 @@ export declare const PERSPECTIVE_CAMERA_TYPES: {
|
|
|
89
89
|
readonly RIGHT: "right";
|
|
90
90
|
readonly TOP: "top";
|
|
91
91
|
};
|
|
92
|
-
export declare const ACTION_BUTTONS: {
|
|
93
|
-
readonly UNDO_REDO: "z";
|
|
94
|
-
};
|
|
95
92
|
export declare const INTERACTION_VIEW_TYPE: {
|
|
96
93
|
readonly PARTLIST: "rubens_partlist";
|
|
97
94
|
readonly MATERIAL_INFO: "material_info";
|
|
@@ -38,7 +38,6 @@ export type LoadResponse = PartlistResponse | void;
|
|
|
38
38
|
export interface PartlistResponse {
|
|
39
39
|
partList: KernelPartList;
|
|
40
40
|
}
|
|
41
|
-
export declare const getSelectableEntry: (selected: Selectable, data: Selectable[]) => Nullable<Selectable>;
|
|
42
41
|
export declare const REGISTERED_CALLBACKS: Map<keyof CallbackApi, boolean>;
|
|
43
42
|
export type CallbackApi = ConfiguratorUiCallbacks & RoomlePlannerUiCallback;
|
|
44
43
|
export declare class SdkConnector {
|
|
@@ -2,11 +2,13 @@ import { ToggleCallback } from '../../common/utils/types';
|
|
|
2
2
|
import { EventBus } from '../../common/business-logic/event-bus';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
|
-
|
|
5
|
+
onExpand: () => void;
|
|
6
|
+
onCollapse: () => void;
|
|
6
7
|
onToggleEvent: EventBus<ToggleCallback>;
|
|
7
8
|
onChangeParameterGroup: () => void;
|
|
8
9
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
-
|
|
10
|
+
onExpand: () => void;
|
|
11
|
+
onCollapse: () => void;
|
|
10
12
|
onToggleEvent: EventBus<ToggleCallback>;
|
|
11
13
|
onChangeParameterGroup: () => void;
|
|
12
14
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,12 +3,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
3
3
|
isExpanded: boolean;
|
|
4
4
|
onExpand: () => void;
|
|
5
5
|
onCollapse: (_payload: MouseEvent) => void;
|
|
6
|
-
isDesktop: boolean;
|
|
7
6
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
7
|
addonTag: UiPossibleChildTag;
|
|
9
8
|
isExpanded: boolean;
|
|
10
9
|
onExpand: () => void;
|
|
11
10
|
onCollapse: (_payload: MouseEvent) => void;
|
|
12
|
-
isDesktop: boolean;
|
|
13
11
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
12
|
export default _default;
|