@roomle/embedding-lib 5.23.0-alpha.1 → 5.24.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.
- package/docs/md/web/embedding/CHANGELOG.md +23 -3
- package/package.json +2 -2
- package/src/common/components/ExpandableIcons.vue.d.ts +11 -1
- package/src/common/components/SelectionButton.vue.d.ts +13 -1
- package/src/common/components/Tooltip.vue.d.ts +36 -2
- package/src/common/components/collection-view/-utils/collection-view-dynamic-components.d.ts +54 -3
- package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +3 -36
- package/src/common/components/inputs/BaseInput.vue.d.ts +20 -60
- package/src/common/components/inputs/GenericInput.vue.d.ts +5 -26
- package/src/common/components/inputs/SelectDropdown.vue.d.ts +1 -1
- package/src/common/components/overlays/PartList.vue.d.ts +14 -2
- package/src/common/components/overlays/bottom-bar/GoBack.vue.d.ts +5 -1
- package/src/common/components/overlays/bottom-bar/cart/ExitBtn.vue.d.ts +5 -1
- package/src/common/components/overlays/bottom-bar/cart/GoToCartBtn.vue.d.ts +5 -1
- package/src/common/components/overlays/bottom-bar/cart/SaveCartBtn.vue.d.ts +5 -1
- package/src/common/components/overlays/part-list/PartListEntry.vue.d.ts +14 -2
- package/src/common/components/overlays/part-list/PartListRow.vue.d.ts +7 -1
- package/src/common/components/side-bar/BackAction.vue.d.ts +9 -21
- package/src/common/components/side-bar/NextAction.vue.d.ts +9 -21
- package/src/common/components/utils/HeightToggle.vue.d.ts +7 -1
- package/src/common/components/utils/collapsible-buttons-container/CollapsibleTrigger.vue.d.ts +21 -3
- package/src/common/composables/use-shared-sidebar-setup.d.ts +12 -5
- package/src/common/store/common-ui-store.d.ts +305 -0
- package/src/common/store/index.d.ts +1 -3
- package/src/common/utils/helper.d.ts +2 -2
- package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +3 -28
- package/src/configurator/components/parameters/ParameterGroupButton.vue.d.ts +3 -32
- package/src/configurator/components/top-bar/ARButton.vue.d.ts +8 -1
- package/src/configurator/components/utils/ArrowButton.vue.d.ts +7 -1
- package/src/configurator/components/utils/HeightContainer.vue.d.ts +9 -1
- package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +6 -2
- package/src/configurator/components/utils/PopUp.vue.d.ts +1 -26
- package/src/configurator/components/utils/PrimaryButton.vue.d.ts +5 -1
- package/src/configurator/components/utils/SearchInput.vue.d.ts +3 -26
- package/src/configurator/components/utils/Spinner.vue.d.ts +5 -1
- package/src/configurator/components/utils/StartConfiguringButton.vue.d.ts +21 -3
- package/src/planner/components/DraggableButton.vue.d.ts +4 -1
- package/src/planner/components/RotationIndicator.vue.d.ts +3 -40
- package/src/planner/components/overlays/ProductListButton.vue.d.ts +5 -1
- package/src/planner/components/overlays/product-settings/ProductRangeControl.vue.d.ts +323 -0
- package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +81 -335
- package/src/planner/components/overlays/rooms/SlopingRoofDirectionTooltip.vue.d.ts +4 -1
- package/src/planner/components/overlays/rooms/SlopingRoofTooltip.vue.d.ts +4 -1
- package/src/planner/components/utils/AddRoomButton.vue.d.ts +5 -1
- package/src/viewer/components/ViewerMain.vue.d.ts +27 -13
- package/src/common/components/overlays/bottom-bar/CloseView.vue.d.ts +0 -267
- package/src/common/store/common-ui-state.d.ts +0 -36
- package/src/configurator/components/Overlays.vue.d.ts +0 -1119
- package/src/configurator/components/overlays/DeleteWarning.vue.d.ts +0 -132
- package/src/configurator/components/overlays/ElementDisabled.vue.d.ts +0 -128
- package/src/configurator/components/overlays/GenericError.vue.d.ts +0 -149
- package/src/configurator/components/overlays/NoDocking.vue.d.ts +0 -128
- package/src/configurator/components/overlays/VariantWarning.vue.d.ts +0 -144
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
text: StringConstructor;
|
|
11
|
-
}>> & Readonly<{}>, {
|
|
12
|
-
showButton: boolean;
|
|
13
|
-
}, {}, {
|
|
14
|
-
SvgIcon: import('vue').DefineComponent<{
|
|
15
|
-
icon: string;
|
|
16
|
-
}, {
|
|
17
|
-
svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
|
|
18
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
-
icon: string;
|
|
20
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
onClick?: (payload: MouseEvent) => void;
|
|
3
|
+
showButton?: boolean;
|
|
4
|
+
text?: string;
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
onClick?: (payload: MouseEvent) => void;
|
|
7
|
+
showButton?: boolean;
|
|
8
|
+
text?: string;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
10
|
export default _default;
|
|
@@ -23,6 +23,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
isOpen: boolean;
|
|
25
25
|
}, {}, {
|
|
26
|
-
ArrowButton: import('vue').DefineComponent<{
|
|
26
|
+
ArrowButton: import('vue').DefineComponent<{
|
|
27
|
+
onClick?: (_payload: MouseEvent) => void;
|
|
28
|
+
direction?: string;
|
|
29
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
30
|
+
onClick?: (_payload: MouseEvent) => void;
|
|
31
|
+
direction?: string;
|
|
32
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
33
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
34
|
export default _default;
|
package/src/common/components/utils/collapsible-buttons-container/CollapsibleTrigger.vue.d.ts
CHANGED
|
@@ -7,18 +7,36 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
7
7
|
icon: string;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
SelectionButton: {
|
|
10
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
10
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
dark?: boolean;
|
|
13
|
+
red?: boolean;
|
|
14
|
+
svgBigger?: boolean;
|
|
15
|
+
active?: boolean;
|
|
16
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
11
17
|
P: {};
|
|
12
18
|
B: {};
|
|
13
19
|
D: {};
|
|
14
20
|
C: {};
|
|
15
21
|
M: {};
|
|
16
22
|
Defaults: {};
|
|
17
|
-
}, Readonly<{
|
|
23
|
+
}, Readonly<{
|
|
24
|
+
onClick?: () => void;
|
|
25
|
+
dark?: boolean;
|
|
26
|
+
red?: boolean;
|
|
27
|
+
svgBigger?: boolean;
|
|
28
|
+
active?: boolean;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
18
30
|
__isFragment?: never;
|
|
19
31
|
__isTeleport?: never;
|
|
20
32
|
__isSuspense?: never;
|
|
21
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
33
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
34
|
+
onClick?: () => void;
|
|
35
|
+
dark?: boolean;
|
|
36
|
+
red?: boolean;
|
|
37
|
+
svgBigger?: boolean;
|
|
38
|
+
active?: boolean;
|
|
39
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
22
40
|
$slots: {
|
|
23
41
|
default?(_: {}): any;
|
|
24
42
|
};
|
|
@@ -35,7 +35,15 @@ export declare const useSharedSidebarSetup: (topBar: Ref<HTMLElement> | null) =>
|
|
|
35
35
|
}[];
|
|
36
36
|
checkboxToggle: Ref<HTMLInputElement, HTMLInputElement>;
|
|
37
37
|
isLandscape: import('vue').ComputedRef<any>;
|
|
38
|
-
currentViewMode:
|
|
38
|
+
currentViewMode: Ref<Enumify<{
|
|
39
|
+
readonly '2D': "2d";
|
|
40
|
+
readonly '3D': "3d";
|
|
41
|
+
readonly FIRST_PERSON: "fp";
|
|
42
|
+
}>, Enumify<{
|
|
43
|
+
readonly '2D': "2d";
|
|
44
|
+
readonly '3D': "3d";
|
|
45
|
+
readonly FIRST_PERSON: "fp";
|
|
46
|
+
}>>;
|
|
39
47
|
isPartlistShown: import('vue').ComputedRef<any>;
|
|
40
48
|
areDimensionsVisible: import('vue').ComputedRef<any>;
|
|
41
49
|
numberOfSelectedActions: import('vue').ComputedRef<any>;
|
|
@@ -64,9 +72,9 @@ export declare const useSharedSidebarSetup: (topBar: Ref<HTMLElement> | null) =>
|
|
|
64
72
|
hasPlanner: import('vue').ComputedRef<boolean>;
|
|
65
73
|
isConfiguratorInPlanner: import('vue').ComputedRef<boolean>;
|
|
66
74
|
isConfiguringInRoom: import('vue').ComputedRef<any>;
|
|
67
|
-
is2d: import('vue').ComputedRef<
|
|
68
|
-
is3d: import('vue').ComputedRef<
|
|
69
|
-
isFp: import('vue').ComputedRef<
|
|
75
|
+
is2d: import('vue').ComputedRef<boolean>;
|
|
76
|
+
is3d: import('vue').ComputedRef<boolean>;
|
|
77
|
+
isFp: import('vue').ComputedRef<boolean>;
|
|
70
78
|
showMenuButton: import('vue').ComputedRef<any>;
|
|
71
79
|
enableUndoButton: import('vue').ComputedRef<any>;
|
|
72
80
|
enableRedoButton: import('vue').ComputedRef<any>;
|
|
@@ -85,7 +93,6 @@ export declare const useSharedSidebarSetup: (topBar: Ref<HTMLElement> | null) =>
|
|
|
85
93
|
enableMeasurementLineDrawing: () => Promise<void>;
|
|
86
94
|
renderImage: () => Promise<void>;
|
|
87
95
|
toggleSnapping: () => Promise<void>;
|
|
88
|
-
onUndoOrRedoKey: (event: KeyboardEvent) => void;
|
|
89
96
|
undo: () => Promise<void>;
|
|
90
97
|
redo: () => Promise<void>;
|
|
91
98
|
enable2DView: () => Promise<void>;
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { Enumify, MEASUREMENT_UNIT, MEASUREMENT_SYSTEM } from '../utils/types';
|
|
2
|
+
import { AdditionalInfo } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
3
|
+
import { StoreState } from './index';
|
|
4
|
+
|
|
5
|
+
export declare const VIEW_MODES: {
|
|
6
|
+
readonly '2D': "2d";
|
|
7
|
+
readonly '3D': "3d";
|
|
8
|
+
readonly FIRST_PERSON: "fp";
|
|
9
|
+
};
|
|
10
|
+
export declare const useCommonUiStore: import('pinia').StoreDefinition<"commonUiStore", Pick<{
|
|
11
|
+
showFlyingMenu: import('vue').Ref<boolean, boolean>;
|
|
12
|
+
flyingMenuTriggeredByClick: import('vue').Ref<boolean, boolean>;
|
|
13
|
+
isInIframe: import('vue').Ref<boolean, boolean>;
|
|
14
|
+
isViewOnly: import('vue').Ref<boolean, boolean>;
|
|
15
|
+
lastRequestedId: import('vue').Ref<string, string>;
|
|
16
|
+
currentViewMode: import('vue').Ref<Enumify<{
|
|
17
|
+
readonly '2D': "2d";
|
|
18
|
+
readonly '3D': "3d";
|
|
19
|
+
readonly FIRST_PERSON: "fp";
|
|
20
|
+
}>, Enumify<{
|
|
21
|
+
readonly '2D': "2d";
|
|
22
|
+
readonly '3D': "3d";
|
|
23
|
+
readonly FIRST_PERSON: "fp";
|
|
24
|
+
}>>;
|
|
25
|
+
isShadowOnStage: import('vue').Ref<boolean, boolean>;
|
|
26
|
+
measurementUnit: import('vue').Ref<Enumify<{
|
|
27
|
+
readonly FEET: "feet";
|
|
28
|
+
readonly INCH_FEET: "inchfeet";
|
|
29
|
+
readonly INCH: "inch";
|
|
30
|
+
readonly CM: "cm";
|
|
31
|
+
readonly MM: "mm";
|
|
32
|
+
}>, Enumify<{
|
|
33
|
+
readonly FEET: "feet";
|
|
34
|
+
readonly INCH_FEET: "inchfeet";
|
|
35
|
+
readonly INCH: "inch";
|
|
36
|
+
readonly CM: "cm";
|
|
37
|
+
readonly MM: "mm";
|
|
38
|
+
}>>;
|
|
39
|
+
measurementSystem: import('vue').Ref<Enumify<{
|
|
40
|
+
readonly IMPERIAL: "imperial";
|
|
41
|
+
readonly METRIC: "metric";
|
|
42
|
+
}>, Enumify<{
|
|
43
|
+
readonly IMPERIAL: "imperial";
|
|
44
|
+
readonly METRIC: "metric";
|
|
45
|
+
}>>;
|
|
46
|
+
isTextInputFocused: import('vue').Ref<boolean, boolean>;
|
|
47
|
+
isCameraIdle: import('vue').Ref<boolean, boolean>;
|
|
48
|
+
currentEmbeddedInfos: import('vue').Ref<{
|
|
49
|
+
type: import('@roomle/web-sdk/lib/definitions/common-core/src/types').Enumify<{
|
|
50
|
+
readonly PARAMETER: "parameter";
|
|
51
|
+
readonly PARAMETER_VALUE: "paramValue";
|
|
52
|
+
readonly MATERIAL: "material";
|
|
53
|
+
readonly COMPONENT: "component";
|
|
54
|
+
readonly ITEM: "item";
|
|
55
|
+
}>;
|
|
56
|
+
key: string;
|
|
57
|
+
parentIdFilter: string;
|
|
58
|
+
catalog: string;
|
|
59
|
+
tooltip: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
fullInfo: {
|
|
63
|
+
type: string;
|
|
64
|
+
url: {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}[], AdditionalInfo[] | {
|
|
69
|
+
type: import('@roomle/web-sdk/lib/definitions/common-core/src/types').Enumify<{
|
|
70
|
+
readonly PARAMETER: "parameter";
|
|
71
|
+
readonly PARAMETER_VALUE: "paramValue";
|
|
72
|
+
readonly MATERIAL: "material";
|
|
73
|
+
readonly COMPONENT: "component";
|
|
74
|
+
readonly ITEM: "item";
|
|
75
|
+
}>;
|
|
76
|
+
key: string;
|
|
77
|
+
parentIdFilter: string;
|
|
78
|
+
catalog: string;
|
|
79
|
+
tooltip: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
fullInfo: {
|
|
83
|
+
type: string;
|
|
84
|
+
url: {
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}[]>;
|
|
89
|
+
isDraggingElement: import('vue').Ref<boolean, boolean>;
|
|
90
|
+
loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
|
|
91
|
+
notificationVisible: import('vue').Ref<boolean, boolean>;
|
|
92
|
+
configuratorHintClosed: import('vue').Ref<boolean, boolean>;
|
|
93
|
+
is2d: import('vue').ComputedRef<boolean>;
|
|
94
|
+
is3d: import('vue').ComputedRef<boolean>;
|
|
95
|
+
isFp: import('vue').ComputedRef<boolean>;
|
|
96
|
+
setPiniaVuexReference: (store: Store<StoreState>) => void;
|
|
97
|
+
setViewMode: ({ isDesktop, isLandscape, }: {
|
|
98
|
+
isDesktop: boolean;
|
|
99
|
+
isLandscape: boolean;
|
|
100
|
+
}) => void;
|
|
101
|
+
setFlyingMenuVisibility: (payload: {
|
|
102
|
+
show: boolean;
|
|
103
|
+
flyingMenuTriggeredByClick: boolean;
|
|
104
|
+
}) => void;
|
|
105
|
+
setDraggingElementStatus: (isDragging: boolean) => void;
|
|
106
|
+
setMeasurementUnit: (unit: Enumify<typeof MEASUREMENT_UNIT>) => void;
|
|
107
|
+
setMeasurementSystem: (system: Enumify<typeof MEASUREMENT_SYSTEM>) => void;
|
|
108
|
+
}, "showFlyingMenu" | "flyingMenuTriggeredByClick" | "isInIframe" | "isViewOnly" | "lastRequestedId" | "currentViewMode" | "isShadowOnStage" | "measurementUnit" | "measurementSystem" | "isTextInputFocused" | "isCameraIdle" | "currentEmbeddedInfos" | "isDraggingElement" | "loadedConfigFromIdb" | "notificationVisible" | "configuratorHintClosed">, Pick<{
|
|
109
|
+
showFlyingMenu: import('vue').Ref<boolean, boolean>;
|
|
110
|
+
flyingMenuTriggeredByClick: import('vue').Ref<boolean, boolean>;
|
|
111
|
+
isInIframe: import('vue').Ref<boolean, boolean>;
|
|
112
|
+
isViewOnly: import('vue').Ref<boolean, boolean>;
|
|
113
|
+
lastRequestedId: import('vue').Ref<string, string>;
|
|
114
|
+
currentViewMode: import('vue').Ref<Enumify<{
|
|
115
|
+
readonly '2D': "2d";
|
|
116
|
+
readonly '3D': "3d";
|
|
117
|
+
readonly FIRST_PERSON: "fp";
|
|
118
|
+
}>, Enumify<{
|
|
119
|
+
readonly '2D': "2d";
|
|
120
|
+
readonly '3D': "3d";
|
|
121
|
+
readonly FIRST_PERSON: "fp";
|
|
122
|
+
}>>;
|
|
123
|
+
isShadowOnStage: import('vue').Ref<boolean, boolean>;
|
|
124
|
+
measurementUnit: import('vue').Ref<Enumify<{
|
|
125
|
+
readonly FEET: "feet";
|
|
126
|
+
readonly INCH_FEET: "inchfeet";
|
|
127
|
+
readonly INCH: "inch";
|
|
128
|
+
readonly CM: "cm";
|
|
129
|
+
readonly MM: "mm";
|
|
130
|
+
}>, Enumify<{
|
|
131
|
+
readonly FEET: "feet";
|
|
132
|
+
readonly INCH_FEET: "inchfeet";
|
|
133
|
+
readonly INCH: "inch";
|
|
134
|
+
readonly CM: "cm";
|
|
135
|
+
readonly MM: "mm";
|
|
136
|
+
}>>;
|
|
137
|
+
measurementSystem: import('vue').Ref<Enumify<{
|
|
138
|
+
readonly IMPERIAL: "imperial";
|
|
139
|
+
readonly METRIC: "metric";
|
|
140
|
+
}>, Enumify<{
|
|
141
|
+
readonly IMPERIAL: "imperial";
|
|
142
|
+
readonly METRIC: "metric";
|
|
143
|
+
}>>;
|
|
144
|
+
isTextInputFocused: import('vue').Ref<boolean, boolean>;
|
|
145
|
+
isCameraIdle: import('vue').Ref<boolean, boolean>;
|
|
146
|
+
currentEmbeddedInfos: import('vue').Ref<{
|
|
147
|
+
type: import('@roomle/web-sdk/lib/definitions/common-core/src/types').Enumify<{
|
|
148
|
+
readonly PARAMETER: "parameter";
|
|
149
|
+
readonly PARAMETER_VALUE: "paramValue";
|
|
150
|
+
readonly MATERIAL: "material";
|
|
151
|
+
readonly COMPONENT: "component";
|
|
152
|
+
readonly ITEM: "item";
|
|
153
|
+
}>;
|
|
154
|
+
key: string;
|
|
155
|
+
parentIdFilter: string;
|
|
156
|
+
catalog: string;
|
|
157
|
+
tooltip: {
|
|
158
|
+
[key: string]: string;
|
|
159
|
+
};
|
|
160
|
+
fullInfo: {
|
|
161
|
+
type: string;
|
|
162
|
+
url: {
|
|
163
|
+
[key: string]: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
}[], AdditionalInfo[] | {
|
|
167
|
+
type: import('@roomle/web-sdk/lib/definitions/common-core/src/types').Enumify<{
|
|
168
|
+
readonly PARAMETER: "parameter";
|
|
169
|
+
readonly PARAMETER_VALUE: "paramValue";
|
|
170
|
+
readonly MATERIAL: "material";
|
|
171
|
+
readonly COMPONENT: "component";
|
|
172
|
+
readonly ITEM: "item";
|
|
173
|
+
}>;
|
|
174
|
+
key: string;
|
|
175
|
+
parentIdFilter: string;
|
|
176
|
+
catalog: string;
|
|
177
|
+
tooltip: {
|
|
178
|
+
[key: string]: string;
|
|
179
|
+
};
|
|
180
|
+
fullInfo: {
|
|
181
|
+
type: string;
|
|
182
|
+
url: {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
}[]>;
|
|
187
|
+
isDraggingElement: import('vue').Ref<boolean, boolean>;
|
|
188
|
+
loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
|
|
189
|
+
notificationVisible: import('vue').Ref<boolean, boolean>;
|
|
190
|
+
configuratorHintClosed: import('vue').Ref<boolean, boolean>;
|
|
191
|
+
is2d: import('vue').ComputedRef<boolean>;
|
|
192
|
+
is3d: import('vue').ComputedRef<boolean>;
|
|
193
|
+
isFp: import('vue').ComputedRef<boolean>;
|
|
194
|
+
setPiniaVuexReference: (store: Store<StoreState>) => void;
|
|
195
|
+
setViewMode: ({ isDesktop, isLandscape, }: {
|
|
196
|
+
isDesktop: boolean;
|
|
197
|
+
isLandscape: boolean;
|
|
198
|
+
}) => void;
|
|
199
|
+
setFlyingMenuVisibility: (payload: {
|
|
200
|
+
show: boolean;
|
|
201
|
+
flyingMenuTriggeredByClick: boolean;
|
|
202
|
+
}) => void;
|
|
203
|
+
setDraggingElementStatus: (isDragging: boolean) => void;
|
|
204
|
+
setMeasurementUnit: (unit: Enumify<typeof MEASUREMENT_UNIT>) => void;
|
|
205
|
+
setMeasurementSystem: (system: Enumify<typeof MEASUREMENT_SYSTEM>) => void;
|
|
206
|
+
}, "is2d" | "is3d" | "isFp">, Pick<{
|
|
207
|
+
showFlyingMenu: import('vue').Ref<boolean, boolean>;
|
|
208
|
+
flyingMenuTriggeredByClick: import('vue').Ref<boolean, boolean>;
|
|
209
|
+
isInIframe: import('vue').Ref<boolean, boolean>;
|
|
210
|
+
isViewOnly: import('vue').Ref<boolean, boolean>;
|
|
211
|
+
lastRequestedId: import('vue').Ref<string, string>;
|
|
212
|
+
currentViewMode: import('vue').Ref<Enumify<{
|
|
213
|
+
readonly '2D': "2d";
|
|
214
|
+
readonly '3D': "3d";
|
|
215
|
+
readonly FIRST_PERSON: "fp";
|
|
216
|
+
}>, Enumify<{
|
|
217
|
+
readonly '2D': "2d";
|
|
218
|
+
readonly '3D': "3d";
|
|
219
|
+
readonly FIRST_PERSON: "fp";
|
|
220
|
+
}>>;
|
|
221
|
+
isShadowOnStage: import('vue').Ref<boolean, boolean>;
|
|
222
|
+
measurementUnit: import('vue').Ref<Enumify<{
|
|
223
|
+
readonly FEET: "feet";
|
|
224
|
+
readonly INCH_FEET: "inchfeet";
|
|
225
|
+
readonly INCH: "inch";
|
|
226
|
+
readonly CM: "cm";
|
|
227
|
+
readonly MM: "mm";
|
|
228
|
+
}>, Enumify<{
|
|
229
|
+
readonly FEET: "feet";
|
|
230
|
+
readonly INCH_FEET: "inchfeet";
|
|
231
|
+
readonly INCH: "inch";
|
|
232
|
+
readonly CM: "cm";
|
|
233
|
+
readonly MM: "mm";
|
|
234
|
+
}>>;
|
|
235
|
+
measurementSystem: import('vue').Ref<Enumify<{
|
|
236
|
+
readonly IMPERIAL: "imperial";
|
|
237
|
+
readonly METRIC: "metric";
|
|
238
|
+
}>, Enumify<{
|
|
239
|
+
readonly IMPERIAL: "imperial";
|
|
240
|
+
readonly METRIC: "metric";
|
|
241
|
+
}>>;
|
|
242
|
+
isTextInputFocused: import('vue').Ref<boolean, boolean>;
|
|
243
|
+
isCameraIdle: import('vue').Ref<boolean, boolean>;
|
|
244
|
+
currentEmbeddedInfos: import('vue').Ref<{
|
|
245
|
+
type: import('@roomle/web-sdk/lib/definitions/common-core/src/types').Enumify<{
|
|
246
|
+
readonly PARAMETER: "parameter";
|
|
247
|
+
readonly PARAMETER_VALUE: "paramValue";
|
|
248
|
+
readonly MATERIAL: "material";
|
|
249
|
+
readonly COMPONENT: "component";
|
|
250
|
+
readonly ITEM: "item";
|
|
251
|
+
}>;
|
|
252
|
+
key: string;
|
|
253
|
+
parentIdFilter: string;
|
|
254
|
+
catalog: string;
|
|
255
|
+
tooltip: {
|
|
256
|
+
[key: string]: string;
|
|
257
|
+
};
|
|
258
|
+
fullInfo: {
|
|
259
|
+
type: string;
|
|
260
|
+
url: {
|
|
261
|
+
[key: string]: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
}[], AdditionalInfo[] | {
|
|
265
|
+
type: import('@roomle/web-sdk/lib/definitions/common-core/src/types').Enumify<{
|
|
266
|
+
readonly PARAMETER: "parameter";
|
|
267
|
+
readonly PARAMETER_VALUE: "paramValue";
|
|
268
|
+
readonly MATERIAL: "material";
|
|
269
|
+
readonly COMPONENT: "component";
|
|
270
|
+
readonly ITEM: "item";
|
|
271
|
+
}>;
|
|
272
|
+
key: string;
|
|
273
|
+
parentIdFilter: string;
|
|
274
|
+
catalog: string;
|
|
275
|
+
tooltip: {
|
|
276
|
+
[key: string]: string;
|
|
277
|
+
};
|
|
278
|
+
fullInfo: {
|
|
279
|
+
type: string;
|
|
280
|
+
url: {
|
|
281
|
+
[key: string]: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
}[]>;
|
|
285
|
+
isDraggingElement: import('vue').Ref<boolean, boolean>;
|
|
286
|
+
loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
|
|
287
|
+
notificationVisible: import('vue').Ref<boolean, boolean>;
|
|
288
|
+
configuratorHintClosed: import('vue').Ref<boolean, boolean>;
|
|
289
|
+
is2d: import('vue').ComputedRef<boolean>;
|
|
290
|
+
is3d: import('vue').ComputedRef<boolean>;
|
|
291
|
+
isFp: import('vue').ComputedRef<boolean>;
|
|
292
|
+
setPiniaVuexReference: (store: Store<StoreState>) => void;
|
|
293
|
+
setViewMode: ({ isDesktop, isLandscape, }: {
|
|
294
|
+
isDesktop: boolean;
|
|
295
|
+
isLandscape: boolean;
|
|
296
|
+
}) => void;
|
|
297
|
+
setFlyingMenuVisibility: (payload: {
|
|
298
|
+
show: boolean;
|
|
299
|
+
flyingMenuTriggeredByClick: boolean;
|
|
300
|
+
}) => void;
|
|
301
|
+
setDraggingElementStatus: (isDragging: boolean) => void;
|
|
302
|
+
setMeasurementUnit: (unit: Enumify<typeof MEASUREMENT_UNIT>) => void;
|
|
303
|
+
setMeasurementSystem: (system: Enumify<typeof MEASUREMENT_SYSTEM>) => void;
|
|
304
|
+
}, "setPiniaVuexReference" | "setViewMode" | "setFlyingMenuVisibility" | "setDraggingElementStatus" | "setMeasurementUnit" | "setMeasurementSystem">>;
|
|
305
|
+
export type CommonUiStore = ReturnType<typeof useCommonUiStore>;
|
|
@@ -2,7 +2,6 @@ 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 { CommonUiState } from './common-ui-state';
|
|
6
5
|
import { CollectionViewState } from './collection-view-state';
|
|
7
6
|
import { Nullable } from '../utils/types';
|
|
8
7
|
import { PlannerCoreData } from '../../planner/store/planner-core-data';
|
|
@@ -17,7 +16,7 @@ export interface SharedUiState {
|
|
|
17
16
|
topBarSelectedActions: BUTTON_ACTIONS[];
|
|
18
17
|
}
|
|
19
18
|
export declare const MUTATIONS: {
|
|
20
|
-
[x: string]: `PLANNER_CORE_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `
|
|
19
|
+
[x: string]: `PLANNER_CORE_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `UI_STATE_${string}` | `COLLECTION_VIEW_${string}` | `CORE_DATA_${string}` | `CORE_STATE_${string}`;
|
|
21
20
|
};
|
|
22
21
|
export declare const ACTIONS: {
|
|
23
22
|
[x: string]: `PLANNER_CORE_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `UI_STATE_${string}` | `CORE_DATA_${string}` | `CORE_STATE_${string}`;
|
|
@@ -28,7 +27,6 @@ export interface StoreState {
|
|
|
28
27
|
uiState: UiState;
|
|
29
28
|
plannerUiState: PlannerUiState;
|
|
30
29
|
plannerCoreData: PlannerCoreData;
|
|
31
|
-
commonUiState: CommonUiState;
|
|
32
30
|
collectionViewState: CollectionViewState;
|
|
33
31
|
}
|
|
34
32
|
declare const _default: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Enumify,
|
|
1
|
+
import { Enumify, RoomlePlannerWithExtObjs, RoomleConfiguratorType, CATALOG_INFOS_TYPES, ExtendedKernelVector3, GroupedCollection, Nullable } from './types';
|
|
2
2
|
import { RapiConfiguration, RapiItem, RapiTenant, AdditionalInfo, RapiMaterial, RapiComponent, RapiPlanSnapshotGetData } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
3
3
|
import { StoreState } from '../store';
|
|
4
4
|
import { UiInitData } from '../../configurator/embedding/types';
|
|
@@ -48,7 +48,7 @@ export declare const parseColorToHexDecimalString: (color: string) => string;
|
|
|
48
48
|
export declare const groupArrayBy: <T>(collection: T[], key: keyof T) => GroupedCollection<T>;
|
|
49
49
|
export declare const setupStoreWithInitData: (initData: UiInitData, store: Store<StoreState>) => void;
|
|
50
50
|
export declare const isActionActive: (state: PlannerUiState, action: BUTTON_ACTIONS) => boolean;
|
|
51
|
-
export declare const setMeasurementUnit: (sdkConnector: RoomlePlannerWithExtObjs | RoomleConfiguratorType
|
|
51
|
+
export declare const setMeasurementUnit: (sdkConnector: RoomlePlannerWithExtObjs | RoomleConfiguratorType) => void;
|
|
52
52
|
export declare const getStartConfiguringOrViewingIcon: (store: Store<StoreState>) => string;
|
|
53
53
|
export interface Tooltip {
|
|
54
54
|
[key: string]: string;
|
|
@@ -1,39 +1,14 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
isDesktop?: boolean;
|
|
3
3
|
onChange?: (event: Event) => void;
|
|
4
4
|
showListOption?: boolean;
|
|
5
|
-
}
|
|
6
|
-
isDesktop: boolean;
|
|
7
|
-
onChange: (_event: Event) => any;
|
|
8
|
-
showListOption: boolean;
|
|
9
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
6
|
isDesktop?: boolean;
|
|
11
7
|
onChange?: (event: Event) => void;
|
|
12
8
|
showListOption?: boolean;
|
|
13
|
-
}>, {
|
|
14
|
-
isDesktop: boolean;
|
|
15
|
-
onChange: (_event: Event) => any;
|
|
16
|
-
showListOption: boolean;
|
|
17
|
-
}>>> & Readonly<{}>, {
|
|
9
|
+
}> & Readonly<{}>, {
|
|
18
10
|
isDesktop: boolean;
|
|
19
11
|
onChange: (event: Event) => void;
|
|
20
12
|
showListOption: boolean;
|
|
21
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
14
|
export default _default;
|
|
23
|
-
type __VLS_WithDefaults<P, D> = {
|
|
24
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
-
default: D[K];
|
|
26
|
-
}> : P[K];
|
|
27
|
-
};
|
|
28
|
-
type __VLS_Prettify<T> = {
|
|
29
|
-
[K in keyof T]: T[K];
|
|
30
|
-
} & {};
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToOption<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
2
|
showText?: boolean;
|
|
3
3
|
text?: string;
|
|
4
4
|
isVisible?: boolean;
|
|
@@ -6,13 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
6
6
|
icon?: string;
|
|
7
7
|
adjustIcon?: boolean;
|
|
8
8
|
isSelected?: boolean;
|
|
9
|
-
}
|
|
10
|
-
showText: boolean;
|
|
11
|
-
isVisible: boolean;
|
|
12
|
-
adjustIcon: boolean;
|
|
13
|
-
isSelected: boolean;
|
|
14
|
-
onClick: () => any;
|
|
15
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
16
10
|
showText?: boolean;
|
|
17
11
|
text?: string;
|
|
18
12
|
isVisible?: boolean;
|
|
@@ -20,13 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
20
14
|
icon?: string;
|
|
21
15
|
adjustIcon?: boolean;
|
|
22
16
|
isSelected?: boolean;
|
|
23
|
-
}>, {
|
|
24
|
-
showText: boolean;
|
|
25
|
-
isVisible: boolean;
|
|
26
|
-
adjustIcon: boolean;
|
|
27
|
-
isSelected: boolean;
|
|
28
|
-
onClick: () => any;
|
|
29
|
-
}>>> & Readonly<{}>, {
|
|
17
|
+
}> & Readonly<{}>, {
|
|
30
18
|
onClick: () => void;
|
|
31
19
|
isSelected: boolean;
|
|
32
20
|
isVisible: boolean;
|
|
@@ -36,25 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
36
24
|
default?(_: {}): any;
|
|
37
25
|
}>;
|
|
38
26
|
export default _default;
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
47
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
28
|
new (): {
|
|
49
29
|
$slots: S;
|
|
50
30
|
};
|
|
51
31
|
};
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToOption<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type ARButtonSize = 'medium' | 'small';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
size?: ARButtonSize;
|
|
4
|
+
fromTopBar?: boolean;
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
size?: ARButtonSize;
|
|
7
|
+
fromTopBar?: boolean;
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
9
|
export default _default;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
onClick?: (_payload: MouseEvent) => void;
|
|
3
|
+
direction?: string;
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5
|
+
onClick?: (_payload: MouseEvent) => void;
|
|
6
|
+
direction?: string;
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
8
|
export default _default;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
scrollThisContainer?: boolean;
|
|
3
|
+
noMarginBottom?: boolean;
|
|
4
|
+
onlyContainer?: boolean;
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
scrollThisContainer?: boolean;
|
|
7
|
+
noMarginBottom?: boolean;
|
|
8
|
+
onlyContainer?: boolean;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
2
10
|
header?(_: {}): any;
|
|
3
11
|
header?(_: {}): any;
|
|
4
12
|
content?(_: {}): any;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { EventBus } from '../../../common/business-logic/event-bus';
|
|
2
2
|
import { ToggleCallback } from '../../../common/utils/types';
|
|
3
3
|
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
5
|
+
environment?: string;
|
|
6
|
+
}, {
|
|
5
7
|
toggle: () => void;
|
|
6
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
environment?: string;
|
|
10
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
7
11
|
default?(_: {
|
|
8
12
|
toggle: () => void;
|
|
9
13
|
toggleEvent: EventBus<ToggleCallback>;
|