@neurodyn/react-room-viewer 0.0.33 → 0.0.34
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/dist/index.d.ts +18 -21
- package/dist/index.js +3707 -4812
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -34,13 +34,7 @@ declare const resources: {
|
|
|
34
34
|
en: {
|
|
35
35
|
translation: {
|
|
36
36
|
readonly matting: "Matting";
|
|
37
|
-
readonly material: "Material";
|
|
38
|
-
readonly chooseMaterial: "Choose material";
|
|
39
|
-
readonly frameWidth: "Frame width";
|
|
40
37
|
readonly close: "Close";
|
|
41
|
-
readonly uploadOwnPhoto: "Upload your photo";
|
|
42
|
-
readonly previousSlide: "Previous slide";
|
|
43
|
-
readonly nextSlide: "Next slide";
|
|
44
38
|
readonly mattingOptions: {
|
|
45
39
|
readonly none: "None";
|
|
46
40
|
};
|
|
@@ -79,10 +73,9 @@ declare const resources: {
|
|
|
79
73
|
};
|
|
80
74
|
readonly scene: {
|
|
81
75
|
readonly tunePosition: "Tune position";
|
|
82
|
-
readonly share: "Share";
|
|
83
76
|
readonly angle: "Angle";
|
|
84
77
|
readonly rotation: "Rotation";
|
|
85
|
-
readonly
|
|
78
|
+
readonly resetPosition: "Reset";
|
|
86
79
|
};
|
|
87
80
|
readonly accessError: {
|
|
88
81
|
readonly unauthorized: "Invalid API key";
|
|
@@ -114,6 +107,9 @@ declare const resources: {
|
|
|
114
107
|
readonly rotate: "Rotate panel";
|
|
115
108
|
readonly delete: "Delete panel";
|
|
116
109
|
};
|
|
110
|
+
readonly wallArt: {
|
|
111
|
+
readonly pictureFrame: "Frame";
|
|
112
|
+
};
|
|
117
113
|
readonly resourceType: {
|
|
118
114
|
readonly 'wall-panel': {
|
|
119
115
|
readonly productCategory: "Wall panel";
|
|
@@ -121,6 +117,10 @@ declare const resources: {
|
|
|
121
117
|
readonly replaceProduct: "Replace panel";
|
|
122
118
|
readonly replaceProductShort: "Replace";
|
|
123
119
|
};
|
|
120
|
+
readonly wallart: {
|
|
121
|
+
readonly productCardTitle: "Selected wall art";
|
|
122
|
+
readonly appearance: "Replace";
|
|
123
|
+
};
|
|
124
124
|
readonly rugs: {
|
|
125
125
|
readonly productCategory: "Rug";
|
|
126
126
|
readonly productCardTitle: "Selected rug";
|
|
@@ -136,7 +136,6 @@ declare const resources: {
|
|
|
136
136
|
};
|
|
137
137
|
readonly floor: {
|
|
138
138
|
readonly scene: {
|
|
139
|
-
readonly companyFallback: "Company name";
|
|
140
139
|
readonly share: "Share";
|
|
141
140
|
readonly download: "Download";
|
|
142
141
|
readonly hideCatalog: "Hide catalog";
|
|
@@ -185,13 +184,7 @@ declare const resources: {
|
|
|
185
184
|
ru: {
|
|
186
185
|
translation: {
|
|
187
186
|
readonly matting: "Паспарту";
|
|
188
|
-
readonly material: "Материал";
|
|
189
|
-
readonly chooseMaterial: "Выберите материал";
|
|
190
|
-
readonly frameWidth: "Ширина рамки";
|
|
191
187
|
readonly close: "Закрыть";
|
|
192
|
-
readonly uploadOwnPhoto: "Загрузить свое фото";
|
|
193
|
-
readonly previousSlide: "Предыдущий слайд";
|
|
194
|
-
readonly nextSlide: "Следующий слайд";
|
|
195
188
|
readonly mattingOptions: {
|
|
196
189
|
readonly none: "Нет";
|
|
197
190
|
};
|
|
@@ -230,10 +223,9 @@ declare const resources: {
|
|
|
230
223
|
};
|
|
231
224
|
readonly scene: {
|
|
232
225
|
readonly tunePosition: "Настроить положение";
|
|
233
|
-
readonly share: "Поделиться";
|
|
234
226
|
readonly angle: "Угол";
|
|
235
227
|
readonly rotation: "Поворот";
|
|
236
|
-
readonly
|
|
228
|
+
readonly resetPosition: "Сбросить";
|
|
237
229
|
};
|
|
238
230
|
readonly accessError: {
|
|
239
231
|
readonly unauthorized: "Неверный API-ключ";
|
|
@@ -265,6 +257,9 @@ declare const resources: {
|
|
|
265
257
|
readonly rotate: "Повернуть панель";
|
|
266
258
|
readonly delete: "Удалить панель";
|
|
267
259
|
};
|
|
260
|
+
readonly wallArt: {
|
|
261
|
+
readonly pictureFrame: "Рамка";
|
|
262
|
+
};
|
|
268
263
|
readonly resourceType: {
|
|
269
264
|
readonly 'wall-panel': {
|
|
270
265
|
readonly productCategory: "Стеновая панель";
|
|
@@ -272,6 +267,10 @@ declare const resources: {
|
|
|
272
267
|
readonly replaceProduct: "Заменить панель";
|
|
273
268
|
readonly replaceProductShort: "Заменить";
|
|
274
269
|
};
|
|
270
|
+
readonly wallart: {
|
|
271
|
+
readonly productCardTitle: "Выбранный настенный декор";
|
|
272
|
+
readonly appearance: "Заменить";
|
|
273
|
+
};
|
|
275
274
|
readonly rugs: {
|
|
276
275
|
readonly productCategory: "Ковер";
|
|
277
276
|
readonly productCardTitle: "Выбранный ковер";
|
|
@@ -287,7 +286,6 @@ declare const resources: {
|
|
|
287
286
|
};
|
|
288
287
|
readonly floor: {
|
|
289
288
|
readonly scene: {
|
|
290
|
-
readonly companyFallback: "Компания";
|
|
291
289
|
readonly share: "Поделиться";
|
|
292
290
|
readonly download: "Скачать";
|
|
293
291
|
readonly hideCatalog: "Скрыть каталог";
|
|
@@ -340,7 +338,7 @@ export declare function RoomViewer({ type, src, tinuuid, roomId, name, language,
|
|
|
340
338
|
export declare function RoomViewerDialog({ type, src, tinuuid, roomId, width, height, dimensionUnit, displayUnit, name, language, apiKey, source, widgetSession, disableClose, open, defaultOpen, onOpenChange, }: RoomViewerDialogProps): JSX.Element;
|
|
341
339
|
|
|
342
340
|
declare interface RoomViewerDialogProps extends Omit<RoomViewerRootProps, 'showDialogCloseButton' | 'viewerSurface' | 'dialogPortalContainer' | 'viewerDialogOpen' | 'onViewerDialogOpenChange'>, Omit<DialogProps, 'children' | 'modal'> {
|
|
343
|
-
/** Hide close controls and prevent user dismissal
|
|
341
|
+
/** Hide close controls and prevent user dismissal. Defaults to false. */
|
|
344
342
|
disableClose?: boolean;
|
|
345
343
|
/** The controlled open state of the dialog. */
|
|
346
344
|
open?: boolean;
|
|
@@ -405,9 +403,8 @@ declare interface RoomViewerRootProps {
|
|
|
405
403
|
/** The object's tinuuid. Used for modelled products (`rugs`, `flooring`, `wall-panel`). */
|
|
406
404
|
tinuuid?: string;
|
|
407
405
|
/**
|
|
408
|
-
* Initial Room from the available catalog. Skips the
|
|
406
|
+
* Initial Room from the available catalog. Skips the initial interior chooser.
|
|
409
407
|
* Changed nonempty values select another Room; empty values do nothing.
|
|
410
|
-
* Ignored by the legacy poster layout.
|
|
411
408
|
*/
|
|
412
409
|
roomId?: string;
|
|
413
410
|
/** Title shown in the dialog header. */
|