@neurodyn/react-room-viewer 0.0.32 → 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.
Files changed (3) hide show
  1. package/dist/index.d.ts +40 -21
  2. package/dist/index.js +5705 -6728
  3. 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 reset: "Reset";
78
+ readonly resetPosition: "Reset";
86
79
  };
87
80
  readonly accessError: {
88
81
  readonly unauthorized: "Invalid API key";
@@ -93,6 +86,17 @@ declare const resources: {
93
86
  readonly 'artwork-load-failed': "The image could not be loaded — its link is missing or incorrect in the widget settings.";
94
87
  readonly 'room-load-failed': "The room photo could not be loaded. Please try again.";
95
88
  };
89
+ readonly missingSurface: {
90
+ readonly floor: {
91
+ readonly title: "We couldn't find the floor";
92
+ readonly body: "Try a photo that shows the floor.";
93
+ };
94
+ readonly wall: {
95
+ readonly title: "We couldn't find a wall";
96
+ readonly body: "Try a photo that shows a wall.";
97
+ };
98
+ readonly uploadAnother: "Upload another photo";
99
+ };
96
100
  readonly wallPanel: {
97
101
  readonly loading: "Loading material";
98
102
  readonly panelActions: "Panel {{number}} actions";
@@ -103,6 +107,9 @@ declare const resources: {
103
107
  readonly rotate: "Rotate panel";
104
108
  readonly delete: "Delete panel";
105
109
  };
110
+ readonly wallArt: {
111
+ readonly pictureFrame: "Frame";
112
+ };
106
113
  readonly resourceType: {
107
114
  readonly 'wall-panel': {
108
115
  readonly productCategory: "Wall panel";
@@ -110,6 +117,10 @@ declare const resources: {
110
117
  readonly replaceProduct: "Replace panel";
111
118
  readonly replaceProductShort: "Replace";
112
119
  };
120
+ readonly wallart: {
121
+ readonly productCardTitle: "Selected wall art";
122
+ readonly appearance: "Replace";
123
+ };
113
124
  readonly rugs: {
114
125
  readonly productCategory: "Rug";
115
126
  readonly productCardTitle: "Selected rug";
@@ -125,7 +136,6 @@ declare const resources: {
125
136
  };
126
137
  readonly floor: {
127
138
  readonly scene: {
128
- readonly companyFallback: "Company name";
129
139
  readonly share: "Share";
130
140
  readonly download: "Download";
131
141
  readonly hideCatalog: "Hide catalog";
@@ -174,13 +184,7 @@ declare const resources: {
174
184
  ru: {
175
185
  translation: {
176
186
  readonly matting: "Паспарту";
177
- readonly material: "Материал";
178
- readonly chooseMaterial: "Выберите материал";
179
- readonly frameWidth: "Ширина рамки";
180
187
  readonly close: "Закрыть";
181
- readonly uploadOwnPhoto: "Загрузить свое фото";
182
- readonly previousSlide: "Предыдущий слайд";
183
- readonly nextSlide: "Следующий слайд";
184
188
  readonly mattingOptions: {
185
189
  readonly none: "Нет";
186
190
  };
@@ -219,10 +223,9 @@ declare const resources: {
219
223
  };
220
224
  readonly scene: {
221
225
  readonly tunePosition: "Настроить положение";
222
- readonly share: "Поделиться";
223
226
  readonly angle: "Угол";
224
227
  readonly rotation: "Поворот";
225
- readonly reset: "Сбросить";
228
+ readonly resetPosition: "Сбросить";
226
229
  };
227
230
  readonly accessError: {
228
231
  readonly unauthorized: "Неверный API-ключ";
@@ -233,6 +236,17 @@ declare const resources: {
233
236
  readonly 'artwork-load-failed': "Не удалось загрузить изображение — ссылка на него отсутствует или указана неверно в настройках виджета.";
234
237
  readonly 'room-load-failed': "Не удалось загрузить фото комнаты. Попробуйте ещё раз.";
235
238
  };
239
+ readonly missingSurface: {
240
+ readonly floor: {
241
+ readonly title: "Не получилось найти пол";
242
+ readonly body: "Попробуйте фото, на котором виден пол.";
243
+ };
244
+ readonly wall: {
245
+ readonly title: "Не получилось найти стену";
246
+ readonly body: "Попробуйте фото, на котором видна стена.";
247
+ };
248
+ readonly uploadAnother: "Загрузить другое фото";
249
+ };
236
250
  readonly wallPanel: {
237
251
  readonly loading: "Загрузка материала";
238
252
  readonly panelActions: "Действия с панелью {{number}}";
@@ -243,6 +257,9 @@ declare const resources: {
243
257
  readonly rotate: "Повернуть панель";
244
258
  readonly delete: "Удалить панель";
245
259
  };
260
+ readonly wallArt: {
261
+ readonly pictureFrame: "Рамка";
262
+ };
246
263
  readonly resourceType: {
247
264
  readonly 'wall-panel': {
248
265
  readonly productCategory: "Стеновая панель";
@@ -250,6 +267,10 @@ declare const resources: {
250
267
  readonly replaceProduct: "Заменить панель";
251
268
  readonly replaceProductShort: "Заменить";
252
269
  };
270
+ readonly wallart: {
271
+ readonly productCardTitle: "Выбранный настенный декор";
272
+ readonly appearance: "Заменить";
273
+ };
253
274
  readonly rugs: {
254
275
  readonly productCategory: "Ковер";
255
276
  readonly productCardTitle: "Выбранный ковер";
@@ -265,7 +286,6 @@ declare const resources: {
265
286
  };
266
287
  readonly floor: {
267
288
  readonly scene: {
268
- readonly companyFallback: "Компания";
269
289
  readonly share: "Поделиться";
270
290
  readonly download: "Скачать";
271
291
  readonly hideCatalog: "Скрыть каталог";
@@ -318,7 +338,7 @@ export declare function RoomViewer({ type, src, tinuuid, roomId, name, language,
318
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;
319
339
 
320
340
  declare interface RoomViewerDialogProps extends Omit<RoomViewerRootProps, 'showDialogCloseButton' | 'viewerSurface' | 'dialogPortalContainer' | 'viewerDialogOpen' | 'onViewerDialogOpenChange'>, Omit<DialogProps, 'children' | 'modal'> {
321
- /** Hide close controls and prevent user dismissal for rugs and flooring. Defaults to false. */
341
+ /** Hide close controls and prevent user dismissal. Defaults to false. */
322
342
  disableClose?: boolean;
323
343
  /** The controlled open state of the dialog. */
324
344
  open?: boolean;
@@ -383,9 +403,8 @@ declare interface RoomViewerRootProps {
383
403
  /** The object's tinuuid. Used for modelled products (`rugs`, `flooring`, `wall-panel`). */
384
404
  tinuuid?: string;
385
405
  /**
386
- * Initial Room from the available catalog. Skips the new layout's initial chooser.
406
+ * Initial Room from the available catalog. Skips the initial interior chooser.
387
407
  * Changed nonempty values select another Room; empty values do nothing.
388
- * Ignored by the legacy poster layout.
389
408
  */
390
409
  roomId?: string;
391
410
  /** Title shown in the dialog header. */