@roomle/embedding-lib 5.23.0 → 5.24.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.
- 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,267 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
onClose: PropType<() => void>;
|
|
5
|
-
}>, {}, {}, {}, {
|
|
6
|
-
backToConfigurator(): void;
|
|
7
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
-
onClose: PropType<() => void>;
|
|
9
|
-
}>> & Readonly<{}>, {}, {}, {
|
|
10
|
-
PopUp: {
|
|
11
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<"small" | "big" | "auto" | "medium">;
|
|
14
|
-
};
|
|
15
|
-
isDesktop: {
|
|
16
|
-
type: PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
onClose: {
|
|
20
|
-
type: PropType<() => void>;
|
|
21
|
-
};
|
|
22
|
-
displayCloseButton: {
|
|
23
|
-
type: PropType<boolean>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
isLightTheme: {
|
|
27
|
-
type: PropType<boolean>;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
alignTo: {
|
|
31
|
-
type: PropType<import('../../../../configurator/components/utils/-utils/popup-types').PopUpAlignment>;
|
|
32
|
-
};
|
|
33
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
-
size: {
|
|
35
|
-
type: PropType<"small" | "big" | "auto" | "medium">;
|
|
36
|
-
};
|
|
37
|
-
isDesktop: {
|
|
38
|
-
type: PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
onClose: {
|
|
42
|
-
type: PropType<() => void>;
|
|
43
|
-
};
|
|
44
|
-
displayCloseButton: {
|
|
45
|
-
type: PropType<boolean>;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
isLightTheme: {
|
|
49
|
-
type: PropType<boolean>;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
alignTo: {
|
|
53
|
-
type: PropType<import('../../../../configurator/components/utils/-utils/popup-types').PopUpAlignment>;
|
|
54
|
-
};
|
|
55
|
-
}>> & Readonly<{}>, {
|
|
56
|
-
isDesktop: boolean;
|
|
57
|
-
displayCloseButton: boolean;
|
|
58
|
-
isLightTheme: boolean;
|
|
59
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
60
|
-
P: {};
|
|
61
|
-
B: {};
|
|
62
|
-
D: {};
|
|
63
|
-
C: {};
|
|
64
|
-
M: {};
|
|
65
|
-
Defaults: {};
|
|
66
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
67
|
-
size: {
|
|
68
|
-
type: PropType<"small" | "big" | "auto" | "medium">;
|
|
69
|
-
};
|
|
70
|
-
isDesktop: {
|
|
71
|
-
type: PropType<boolean>;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
onClose: {
|
|
75
|
-
type: PropType<() => void>;
|
|
76
|
-
};
|
|
77
|
-
displayCloseButton: {
|
|
78
|
-
type: PropType<boolean>;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
isLightTheme: {
|
|
82
|
-
type: PropType<boolean>;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
alignTo: {
|
|
86
|
-
type: PropType<import('../../../../configurator/components/utils/-utils/popup-types').PopUpAlignment>;
|
|
87
|
-
};
|
|
88
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
89
|
-
isDesktop: boolean;
|
|
90
|
-
displayCloseButton: boolean;
|
|
91
|
-
isLightTheme: boolean;
|
|
92
|
-
}>;
|
|
93
|
-
__isFragment?: never;
|
|
94
|
-
__isTeleport?: never;
|
|
95
|
-
__isSuspense?: never;
|
|
96
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
97
|
-
size: {
|
|
98
|
-
type: PropType<"small" | "big" | "auto" | "medium">;
|
|
99
|
-
};
|
|
100
|
-
isDesktop: {
|
|
101
|
-
type: PropType<boolean>;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
onClose: {
|
|
105
|
-
type: PropType<() => void>;
|
|
106
|
-
};
|
|
107
|
-
displayCloseButton: {
|
|
108
|
-
type: PropType<boolean>;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
isLightTheme: {
|
|
112
|
-
type: PropType<boolean>;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
alignTo: {
|
|
116
|
-
type: PropType<import('../../../../configurator/components/utils/-utils/popup-types').PopUpAlignment>;
|
|
117
|
-
};
|
|
118
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
119
|
-
isDesktop: boolean;
|
|
120
|
-
displayCloseButton: boolean;
|
|
121
|
-
isLightTheme: boolean;
|
|
122
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
123
|
-
$slots: {
|
|
124
|
-
content?(_: {
|
|
125
|
-
alignToScene: boolean;
|
|
126
|
-
}): any;
|
|
127
|
-
};
|
|
128
|
-
});
|
|
129
|
-
GoBack: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
130
|
-
cartCount: NumberConstructor;
|
|
131
|
-
onClickBack: FunctionConstructor;
|
|
132
|
-
}>, {}, {}, {
|
|
133
|
-
isPlanner(): boolean;
|
|
134
|
-
hasPlanner(): boolean;
|
|
135
|
-
}, {
|
|
136
|
-
goToCart(): Promise<void>;
|
|
137
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
138
|
-
cartCount: NumberConstructor;
|
|
139
|
-
onClickBack: FunctionConstructor;
|
|
140
|
-
}>> & Readonly<{}>, {}, {}, {
|
|
141
|
-
PrimaryButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
142
|
-
disabled: BooleanConstructor;
|
|
143
|
-
onClick: FunctionConstructor;
|
|
144
|
-
light: {
|
|
145
|
-
type: BooleanConstructor;
|
|
146
|
-
default: boolean;
|
|
147
|
-
};
|
|
148
|
-
red: {
|
|
149
|
-
type: BooleanConstructor;
|
|
150
|
-
default: boolean;
|
|
151
|
-
};
|
|
152
|
-
}>, {}, {
|
|
153
|
-
isRunning: boolean;
|
|
154
|
-
}, {
|
|
155
|
-
isDisabled(): boolean;
|
|
156
|
-
}, {
|
|
157
|
-
clicked(event: Event): Promise<void>;
|
|
158
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
159
|
-
disabled: BooleanConstructor;
|
|
160
|
-
onClick: FunctionConstructor;
|
|
161
|
-
light: {
|
|
162
|
-
type: BooleanConstructor;
|
|
163
|
-
default: boolean;
|
|
164
|
-
};
|
|
165
|
-
red: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
}>> & Readonly<{}>, {
|
|
170
|
-
light: boolean;
|
|
171
|
-
disabled: boolean;
|
|
172
|
-
red: boolean;
|
|
173
|
-
}, {}, {
|
|
174
|
-
Spinner: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
175
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
176
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
177
|
-
ControlButtonsWrapper: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
178
|
-
SaveCartBtn: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
179
|
-
cartCount: NumberConstructor;
|
|
180
|
-
showClose: BooleanConstructor;
|
|
181
|
-
}>, {}, {}, {
|
|
182
|
-
showSaveButton(): boolean;
|
|
183
|
-
}, {
|
|
184
|
-
goToCart(): Promise<void>;
|
|
185
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
186
|
-
cartCount: NumberConstructor;
|
|
187
|
-
showClose: BooleanConstructor;
|
|
188
|
-
}>> & Readonly<{}>, {
|
|
189
|
-
showClose: boolean;
|
|
190
|
-
}, {}, {
|
|
191
|
-
PrimaryButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
192
|
-
disabled: BooleanConstructor;
|
|
193
|
-
onClick: FunctionConstructor;
|
|
194
|
-
light: {
|
|
195
|
-
type: BooleanConstructor;
|
|
196
|
-
default: boolean;
|
|
197
|
-
};
|
|
198
|
-
red: {
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
default: boolean;
|
|
201
|
-
};
|
|
202
|
-
}>, {}, {
|
|
203
|
-
isRunning: boolean;
|
|
204
|
-
}, {
|
|
205
|
-
isDisabled(): boolean;
|
|
206
|
-
}, {
|
|
207
|
-
clicked(event: Event): Promise<void>;
|
|
208
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
209
|
-
disabled: BooleanConstructor;
|
|
210
|
-
onClick: FunctionConstructor;
|
|
211
|
-
light: {
|
|
212
|
-
type: BooleanConstructor;
|
|
213
|
-
default: boolean;
|
|
214
|
-
};
|
|
215
|
-
red: {
|
|
216
|
-
type: BooleanConstructor;
|
|
217
|
-
default: boolean;
|
|
218
|
-
};
|
|
219
|
-
}>> & Readonly<{}>, {
|
|
220
|
-
light: boolean;
|
|
221
|
-
disabled: boolean;
|
|
222
|
-
red: boolean;
|
|
223
|
-
}, {}, {
|
|
224
|
-
Spinner: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
225
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
226
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
227
|
-
ExitBtn: import('vue').DefineComponent<{}, {}, {}, {}, {
|
|
228
|
-
closeView(): void;
|
|
229
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
230
|
-
PrimaryButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
231
|
-
disabled: BooleanConstructor;
|
|
232
|
-
onClick: FunctionConstructor;
|
|
233
|
-
light: {
|
|
234
|
-
type: BooleanConstructor;
|
|
235
|
-
default: boolean;
|
|
236
|
-
};
|
|
237
|
-
red: {
|
|
238
|
-
type: BooleanConstructor;
|
|
239
|
-
default: boolean;
|
|
240
|
-
};
|
|
241
|
-
}>, {}, {
|
|
242
|
-
isRunning: boolean;
|
|
243
|
-
}, {
|
|
244
|
-
isDisabled(): boolean;
|
|
245
|
-
}, {
|
|
246
|
-
clicked(event: Event): Promise<void>;
|
|
247
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
248
|
-
disabled: BooleanConstructor;
|
|
249
|
-
onClick: FunctionConstructor;
|
|
250
|
-
light: {
|
|
251
|
-
type: BooleanConstructor;
|
|
252
|
-
default: boolean;
|
|
253
|
-
};
|
|
254
|
-
red: {
|
|
255
|
-
type: BooleanConstructor;
|
|
256
|
-
default: boolean;
|
|
257
|
-
};
|
|
258
|
-
}>> & Readonly<{}>, {
|
|
259
|
-
light: boolean;
|
|
260
|
-
disabled: boolean;
|
|
261
|
-
red: boolean;
|
|
262
|
-
}, {}, {
|
|
263
|
-
Spinner: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
264
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
265
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
266
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
267
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Module } from 'vuex';
|
|
2
|
-
import { StoreState } from '.';
|
|
3
|
-
import { Enumify, Nullable, MEASUREMENT_UNIT, MEASUREMENT_SYSTEM } from '../utils/types';
|
|
4
|
-
import { AdditionalInfo, RapiId } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
|
|
5
|
-
import { EnsurePrefix } from '../../configurator/store/ui-state';
|
|
6
|
-
|
|
7
|
-
export declare const VIEW_MODES: {
|
|
8
|
-
readonly '2D': "2d";
|
|
9
|
-
readonly '3D': "3d";
|
|
10
|
-
readonly FIRST_PERSON: "fp";
|
|
11
|
-
};
|
|
12
|
-
type CommonUiStateIdentifier = EnsurePrefix<'COMMON_UI_STATE_'>;
|
|
13
|
-
export interface CommonUiState {
|
|
14
|
-
showFlyingMenu: boolean;
|
|
15
|
-
flyingMenuTriggeredByClick: boolean;
|
|
16
|
-
isInIframe: boolean;
|
|
17
|
-
isViewOnly: Nullable<boolean>;
|
|
18
|
-
lastRequestedId: Nullable<RapiId>;
|
|
19
|
-
currentViewMode: Nullable<Enumify<typeof VIEW_MODES>>;
|
|
20
|
-
isShadowOnStage: boolean;
|
|
21
|
-
measurementUnit: Enumify<typeof MEASUREMENT_UNIT>;
|
|
22
|
-
measurementSystem: Enumify<typeof MEASUREMENT_SYSTEM>;
|
|
23
|
-
isTextInputFocused: boolean;
|
|
24
|
-
isCameraIdle: boolean;
|
|
25
|
-
currentEmbeddedInfos: Nullable<AdditionalInfo[]>;
|
|
26
|
-
isDraggingElement: boolean;
|
|
27
|
-
loadedConfigFromIdb: boolean;
|
|
28
|
-
notificationVisible: boolean;
|
|
29
|
-
configuratorHintClosed: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare const initialState: CommonUiState;
|
|
32
|
-
export declare const COMMON_UI_STATE_MUTATIONS: CommonUiStateIdentifier;
|
|
33
|
-
export declare const COMMON_UI_STATE_GETTERS: CommonUiStateIdentifier;
|
|
34
|
-
export declare const COMMON_UI_STATE_ACTIONS: CommonUiStateIdentifier;
|
|
35
|
-
export declare const commonUiState: Module<CommonUiState, StoreState>;
|
|
36
|
-
export {};
|