@colijnit/inphoto 300.1.9 → 300.1.10
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/assets/01-bohemian.jpg +0 -0
- package/assets/02-mid-century-modern.jpg +0 -0
- package/assets/03-rustic-farmhouse.jpg +0 -0
- package/assets/04-coastal-nautical.jpg +0 -0
- package/assets/05-art-deco.jpg +0 -0
- package/assets/06-eclectic.jpg +0 -0
- package/assets/07-japanese-zen.jpg +0 -0
- package/assets/08-modern.jpg +0 -0
- package/assets/09-contemporary.jpg +0 -0
- package/assets/10-minimalist.jpg +0 -0
- package/assets/11-scandinavian.jpg +0 -0
- package/assets/12-industrial.jpg +0 -0
- package/assets/13-traditional.jpg +0 -0
- package/assets/14-transitional.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-01.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-02.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-03.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-04.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-01.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-02.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-03.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-04.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-05.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-06.jpg +0 -0
- package/assets/room-01-living-room.jpg +0 -0
- package/assets/room-02-kitchen.jpg +0 -0
- package/assets/room-03-dining-room.jpg +0 -0
- package/assets/room-04-bathroom.jpg +0 -0
- package/assets/room-05-bedroom.jpg +0 -0
- package/assets/room-06-kids-room.jpg +0 -0
- package/assets/room-07-home-office.jpg +0 -0
- package/assets/room-08-home-bar.jpg +0 -0
- package/fesm2022/colijnit-inphoto.mjs +7156 -5990
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/angle_right_sharp_solid.svg +1 -0
- package/icons/camera_solid_regular.svg +1 -0
- package/icons/expand_regular_full.svg +1 -0
- package/index.d.ts +549 -345
- package/lib/component/ai-prompt/style/_layout.scss +87 -76
- package/lib/component/ai-prompt/style/_material-definition.scss +36 -38
- package/lib/component/ai-prompt/style/_theme.scss +73 -78
- package/lib/component/canvas-tool-bar/style/_layout.scss +116 -71
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +43 -40
- package/lib/component/canvas-tool-bar/style/_theme.scss +119 -138
- package/lib/component/catalog/style/_layout.scss +68 -68
- package/lib/component/catalog/style/_material-definition.scss +26 -22
- package/lib/component/catalog/style/_theme.scss +43 -43
- package/lib/component/edit-canvas/style/_layout.scss +90 -74
- package/lib/component/edit-canvas/style/_material-definition.scss +19 -21
- package/lib/component/edit-canvas/style/_theme.scss +24 -26
- package/lib/component/error-dialog/style/_layout.scss +36 -36
- package/lib/component/error-dialog/style/_material-definition.scss +12 -12
- package/lib/component/error-dialog/style/_theme.scss +17 -17
- package/lib/component/header/style/_layout.scss +20 -20
- package/lib/component/header/style/_material-definition.scss +10 -8
- package/lib/component/header/style/_theme.scss +4 -1
- package/lib/component/image-2d-placement/style/_layout.scss +13 -0
- package/lib/component/image-2d-placement/style/_material-definition.scss +7 -0
- package/lib/component/image-2d-placement/style/_theme.scss +8 -0
- package/lib/component/image-enhancer/style/_layout.scss +43 -37
- package/lib/component/image-enhancer/style/_material-definition.scss +16 -13
- package/lib/component/image-enhancer/style/_theme.scss +42 -45
- package/lib/component/image-enhancer-style/style/_layout.scss +148 -65
- package/lib/component/image-enhancer-style/style/_material-definition.scss +42 -16
- package/lib/component/image-enhancer-style/style/_theme.scss +182 -120
- package/lib/component/image-enhancer-upload/style/_layout.scss +53 -48
- package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
- package/lib/component/image-enhancer-upload/style/_theme.scss +64 -66
- package/lib/component/image-history/style/_layout.scss +55 -57
- package/lib/component/image-history/style/_material-definition.scss +18 -20
- package/lib/component/image-history/style/_theme.scss +20 -25
- package/lib/component/image-history-tile/style/_layout.scss +53 -53
- package/lib/component/image-history-tile/style/_material-definition.scss +17 -15
- package/lib/component/image-history-tile/style/_theme.scss +32 -32
- package/lib/component/image-output-settings/style/_layout.scss +38 -0
- package/lib/component/image-output-settings/style/_material-definition.scss +8 -0
- package/lib/component/image-output-settings/style/_theme.scss +15 -0
- package/lib/component/image-overlay/style/_layout.scss +85 -84
- package/lib/component/image-overlay/style/_material-definition.scss +24 -21
- package/lib/component/image-overlay/style/_theme.scss +40 -40
- package/lib/component/image-overlay/style/material.scss +3 -3
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +19 -15
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +10 -9
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +19 -15
- package/lib/component/image-tile/style/_layout.scss +102 -102
- package/lib/component/image-tile/style/_material-definition.scss +19 -18
- package/lib/component/image-tile/style/_theme.scss +58 -58
- package/lib/component/image-upload/style/_layout.scss +97 -93
- package/lib/component/image-upload/style/_material-definition.scss +35 -35
- package/lib/component/image-upload/style/_theme.scss +99 -103
- package/lib/component/marker/style/_layout.scss +29 -30
- package/lib/component/marker/style/_material-definition.scss +12 -12
- package/lib/component/marker/style/_theme.scss +31 -30
- package/lib/component/marker/style/material.scss +3 -3
- package/lib/component/photo-editor/style/_layout.scss +77 -38
- package/lib/component/photo-editor/style/_material-definition.scss +17 -8
- package/lib/component/photo-editor/style/_theme.scss +15 -0
- package/lib/component/prepare-starting-image/style/_layout.scss +97 -34
- package/lib/component/prepare-starting-image/style/_material-definition.scss +19 -11
- package/lib/component/prepare-starting-image/style/_theme.scss +14 -3
- package/lib/component/process-loader/style/_layout.scss +75 -74
- package/lib/component/process-loader/style/_material-definition.scss +41 -24
- package/lib/component/process-loader/style/_theme.scss +128 -128
- package/lib/component/scale-dialog/style/_layout.scss +25 -0
- package/lib/component/scale-dialog/style/_material-definition.scss +8 -0
- package/lib/component/scale-dialog/style/_theme.scss +26 -0
- package/lib/component/scale-dialog/style/material.scss +3 -0
- package/lib/component/scene-context-menu/style/_layout.scss +69 -59
- package/lib/component/scene-context-menu/style/_material-definition.scss +32 -27
- package/lib/component/scene-context-menu/style/_theme.scss +62 -57
- package/lib/component/segment-inpaint/style/_layout.scss +96 -51
- package/lib/component/segment-inpaint/style/_material-definition.scss +23 -11
- package/lib/component/segment-inpaint/style/_theme.scss +79 -29
- package/lib/component/side-bar-menu/style/_layout.scss +30 -26
- package/lib/component/side-bar-menu/style/_material-definition.scss +13 -12
- package/lib/component/side-bar-menu/style/_theme.scss +32 -32
- package/lib/component/side-panel/style/_layout.scss +48 -45
- package/lib/component/side-panel/style/_material-definition.scss +17 -16
- package/lib/component/side-panel/style/_theme.scss +36 -39
- package/lib/component/step-tile/style/_layout.scss +66 -50
- package/lib/component/step-tile/style/_material-definition.scss +20 -20
- package/lib/component/step-tile/style/_theme.scss +68 -78
- package/lib/component/threedscene/style/_layout.scss +67 -57
- package/lib/component/threedscene/style/_material-definition.scss +16 -12
- package/lib/component/threedscene/style/_theme.scss +55 -17
- package/lib/component/upload-starting-image/style/_layout.scss +58 -58
- package/lib/component/upload-starting-image/style/_material-definition.scss +18 -18
- package/lib/component/upload-starting-image/style/_theme.scss +39 -39
- package/lib/style/_mixin.scss +2 -7
- package/lib/style/_variables.scss +7 -13
- package/package.json +13 -6
- package/lib/component/configuration-side-bar-menu/style/_layout.scss +0 -33
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +0 -10
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +0 -58
- package/lib/component/image-process-complete/style/_layout.scss +0 -42
- package/lib/component/image-process-complete/style/_material-definition.scss +0 -13
- package/lib/component/image-process-complete/style/_theme.scss +0 -24
- /package/lib/component/{configuration-side-bar-menu → image-2d-placement}/style/material.scss +0 -0
- /package/lib/component/{image-process-complete → image-output-settings}/style/material.scss +0 -0
package/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { WritableSignal, EventEmitter, OnDestroy,
|
|
2
|
+
import { WritableSignal, EventEmitter, OnDestroy, OnInit, ChangeDetectorRef, PipeTransform, AfterViewInit, ElementRef } from '@angular/core';
|
|
3
3
|
import { Subject, BehaviorSubject, Subscription } from 'rxjs';
|
|
4
|
-
import { LanguageCode } from '@colijnit/ioneconnector/build/enum/language-code.enum';
|
|
5
4
|
import { GetArticlesForCatalogRequest } from '@colijnit/transactionapi/build/model/get-articles-for-catalog';
|
|
6
5
|
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
7
6
|
import { Vector3, Mesh, Box3, Scene, PerspectiveCamera, WebGLRenderer, Object3D, Vector2, Raycaster } from 'three';
|
|
@@ -18,23 +17,24 @@ import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/ext
|
|
|
18
17
|
import * as i6 from '@colijnit/configurator';
|
|
19
18
|
import { ConfigurationResultObject, ConfiguringService, ConfiguratorEventService } from '@colijnit/configurator';
|
|
20
19
|
import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
|
|
20
|
+
import { RenderSettingsService, RenderConnectorService, RenderService, RenderEventService } from '@colijnit/render';
|
|
21
21
|
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
22
22
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
23
|
-
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
24
23
|
import * as i2 from '@colijnit/corecomponents_v12';
|
|
25
24
|
import * as i4 from '@angular/forms';
|
|
26
25
|
import * as i7 from '@angular/cdk/drag-drop';
|
|
27
26
|
import * as i4$1 from '@angular/common';
|
|
28
27
|
import * as i5 from '@colijnit/utilities';
|
|
28
|
+
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
29
29
|
|
|
30
30
|
declare class InphotoDictionaryService {
|
|
31
|
-
get language():
|
|
32
|
-
set language(value:
|
|
31
|
+
get language(): string;
|
|
32
|
+
set language(value: string);
|
|
33
33
|
private _dictionaryPromise;
|
|
34
34
|
private _dictionaries;
|
|
35
35
|
private _language;
|
|
36
36
|
private readonly _placeholder;
|
|
37
|
-
setDictionary(language:
|
|
37
|
+
setDictionary(language: string): Promise<void>;
|
|
38
38
|
/**
|
|
39
39
|
* Returns the localized text for the given dictionary key.
|
|
40
40
|
* @param {string} key
|
|
@@ -56,6 +56,7 @@ declare class SettingOptions {
|
|
|
56
56
|
showAsConfigured: boolean;
|
|
57
57
|
development: boolean;
|
|
58
58
|
inlineAnswers: boolean;
|
|
59
|
+
showAddArticleButton: boolean;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
declare class Settings extends Options {
|
|
@@ -105,6 +106,13 @@ declare class SceneBuildObject {
|
|
|
105
106
|
constructor(image?: string, floor?: ImageRoomResponse);
|
|
106
107
|
}
|
|
107
108
|
|
|
109
|
+
declare class Image2DPlacement {
|
|
110
|
+
uuid: string;
|
|
111
|
+
position: Vector3;
|
|
112
|
+
scale: Vector3;
|
|
113
|
+
scaleInitialized: boolean;
|
|
114
|
+
}
|
|
115
|
+
|
|
108
116
|
declare class ArticleConfiguration {
|
|
109
117
|
sku: string;
|
|
110
118
|
instanceId: string;
|
|
@@ -112,6 +120,9 @@ declare class ArticleConfiguration {
|
|
|
112
120
|
externalSourceSchema: string;
|
|
113
121
|
externalSourceUrl: string;
|
|
114
122
|
configurationResult: ConfigurationResultObject;
|
|
123
|
+
is2D: boolean;
|
|
124
|
+
imageSource: string;
|
|
125
|
+
placement2D: Image2DPlacement;
|
|
115
126
|
}
|
|
116
127
|
|
|
117
128
|
declare class InphotoEventService {
|
|
@@ -133,9 +144,30 @@ declare enum PromptStyle {
|
|
|
133
144
|
replace = "replace"
|
|
134
145
|
}
|
|
135
146
|
|
|
147
|
+
declare enum RenderSize {
|
|
148
|
+
ONE_K = "1K",
|
|
149
|
+
TWO_K = "2K",
|
|
150
|
+
FOUR_K = "4K"
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare enum AspectRatio {
|
|
154
|
+
RATIO_1_1 = "1:1",
|
|
155
|
+
RATIO_2_3 = "2:3",
|
|
156
|
+
RATIO_3_2 = "3:2",
|
|
157
|
+
RATIO_3_4 = "3:4",
|
|
158
|
+
RATIO_4_3 = "4:3",
|
|
159
|
+
RATIO_4_5 = "4:5",
|
|
160
|
+
RATIO_5_4 = "5:4",
|
|
161
|
+
RATIO_9_16 = "9:16",
|
|
162
|
+
RATIO_16_9 = "16:9",
|
|
163
|
+
RATIO_21_9 = "21:9"
|
|
164
|
+
}
|
|
165
|
+
|
|
136
166
|
declare class Prompt {
|
|
137
167
|
prompt: string;
|
|
138
168
|
promptStyle: PromptStyle;
|
|
169
|
+
aspect_ratio: AspectRatio;
|
|
170
|
+
image_size: RenderSize;
|
|
139
171
|
}
|
|
140
172
|
|
|
141
173
|
declare class EnhanceStyle extends Prompt {
|
|
@@ -162,6 +194,7 @@ declare class LoaderService {
|
|
|
162
194
|
|
|
163
195
|
declare class ErrorService implements OnDestroy {
|
|
164
196
|
private _loaderService;
|
|
197
|
+
readonly errorAdded: Subject<void>;
|
|
165
198
|
showErrorDialog: WritableSignal<boolean>;
|
|
166
199
|
get errors(): string[];
|
|
167
200
|
set errors(value: string[]);
|
|
@@ -179,11 +212,11 @@ declare class JobIdResponse {
|
|
|
179
212
|
|
|
180
213
|
declare class DecorateResponse {
|
|
181
214
|
image: string;
|
|
182
|
-
public: string;
|
|
183
215
|
}
|
|
184
216
|
|
|
185
217
|
declare class CreatedImageResponse {
|
|
186
218
|
image: string;
|
|
219
|
+
image_size: RenderSize;
|
|
187
220
|
}
|
|
188
221
|
|
|
189
222
|
declare class SegmentationResponse {
|
|
@@ -239,7 +272,7 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
239
272
|
uploadRoomImage(image: string, skipInpainting: boolean): Promise<SceneBuildObject>;
|
|
240
273
|
processDecorateImage(canvasImage: string, style: EnhanceStyle): Promise<DecorateResponse>;
|
|
241
274
|
processEmptyRoom(canvasImage: string): Promise<CreatedImageResponse>;
|
|
242
|
-
processMultiProductPlacement(canvasImage: string, productImages: string[], colorProducts: any[], customPrompt: string, customPromptMode: PromptStyle): Promise<CreatedImageResponse>;
|
|
275
|
+
processMultiProductPlacement(canvasImage: string, productImages: string[], colorProducts: any[], customPrompt: string, customPromptMode: PromptStyle, aspect_ratio: AspectRatio, image_size: RenderSize): Promise<CreatedImageResponse>;
|
|
243
276
|
uploadSegmentationImage(image: string): Promise<JobIdResponse>;
|
|
244
277
|
handleSegmentationClick(jobId: string, point: SegmentationPoint): Promise<SegmentationResponse>;
|
|
245
278
|
segmentInpaint(image: string, jobId?: string): Promise<CreatedImageResponse>;
|
|
@@ -247,9 +280,12 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
247
280
|
getDecorationModes(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
248
281
|
getDecorationStyles(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
249
282
|
getObjectBasedSegmentation(image: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
283
|
+
inPhotoGenerate(image: string, prompt: string): Promise<DataServiceResponseData>;
|
|
250
284
|
private _handleRoomData;
|
|
251
285
|
private _processRoom;
|
|
252
286
|
private _getJobStatus;
|
|
287
|
+
private _request;
|
|
288
|
+
private _getResponseError;
|
|
253
289
|
private _loadRoom;
|
|
254
290
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoConnectorAdapterService, never>;
|
|
255
291
|
static ɵprov: i0.ɵɵInjectableDeclaration<InPhotoConnectorAdapterService>;
|
|
@@ -258,16 +294,17 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
258
294
|
declare class InphotoSettingsService {
|
|
259
295
|
private _dictionary;
|
|
260
296
|
private _connectorAdapterService;
|
|
297
|
+
private _renderSettingsService;
|
|
261
298
|
readonly languageCodeToDictionary: Map<string, string>;
|
|
262
|
-
get languageCode():
|
|
263
|
-
set languageCode(value:
|
|
299
|
+
get languageCode(): string;
|
|
300
|
+
set languageCode(value: string);
|
|
264
301
|
set settings(value: Settings);
|
|
265
302
|
get settings(): Settings;
|
|
266
303
|
settingsInitialized: BehaviorSubject<boolean>;
|
|
267
304
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
268
305
|
private _languageCode;
|
|
269
306
|
private _settings;
|
|
270
|
-
constructor(_dictionary: InphotoDictionaryService, _connectorAdapterService: InPhotoConnectorAdapterService);
|
|
307
|
+
constructor(_dictionary: InphotoDictionaryService, _connectorAdapterService: InPhotoConnectorAdapterService, _renderSettingsService: RenderSettingsService);
|
|
271
308
|
createSettingsFromObject(obj: any): void;
|
|
272
309
|
initialize(options?: Settings): Promise<void>;
|
|
273
310
|
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoSettingsService, never>;
|
|
@@ -309,7 +346,7 @@ declare class InPhotoConnectorService {
|
|
|
309
346
|
uploadRoomImage(image: string, skipInpainting?: boolean): Promise<SceneBuildObject>;
|
|
310
347
|
processDecorateImage(canvasImage: string, style: EnhanceStyle): Promise<DecorateResponse>;
|
|
311
348
|
processEmptyRoom(canvasImage: string): Promise<CreatedImageResponse>;
|
|
312
|
-
processMultiProductPlacement(canvasImage: string, productImages: string[], colorProducts: any[], customPrompt: string, customPromptMode: PromptStyle): Promise<CreatedImageResponse>;
|
|
349
|
+
processMultiProductPlacement(canvasImage: string, productImages: string[], colorProducts: any[], customPrompt: string, customPromptMode: PromptStyle, aspect_ratio: AspectRatio, image_size: RenderSize): Promise<CreatedImageResponse>;
|
|
313
350
|
uploadSegmentationImage(image: string): Promise<JobIdResponse>;
|
|
314
351
|
handleSegmentationClick(jobId: string, point: SegmentationPoint): Promise<SegmentationResponse>;
|
|
315
352
|
segmentInpaint(image: string, jobId?: string): Promise<CreatedImageResponse>;
|
|
@@ -317,6 +354,7 @@ declare class InPhotoConnectorService {
|
|
|
317
354
|
getDecorationStyles(showLoader?: boolean): Promise<string[]>;
|
|
318
355
|
getRoomTypes(showLoader?: boolean): Promise<string[]>;
|
|
319
356
|
getObjectBasedSegmentation(image: string, showLoader?: boolean): Promise<SegmentationObject[]>;
|
|
357
|
+
inPhotoGenerate(image: string, prompt: string): Promise<CreatedImageResponse>;
|
|
320
358
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoConnectorService, never>;
|
|
321
359
|
static ɵprov: i0.ɵɵInjectableDeclaration<InPhotoConnectorService>;
|
|
322
360
|
}
|
|
@@ -324,6 +362,7 @@ declare class InPhotoConnectorService {
|
|
|
324
362
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
325
363
|
declare enum Icon {
|
|
326
364
|
AngleDownSolidFull = "angle_down_solid_full",
|
|
365
|
+
AngleRightSharpSolid = "angle_right_sharp_solid",
|
|
327
366
|
AngleUpSolidFull = "angle_up_solid_full",
|
|
328
367
|
ArrowDownSolidFull = "arrow_down_solid_full",
|
|
329
368
|
ArrowLeftSolidFull = "arrow_left_solid_full",
|
|
@@ -333,6 +372,7 @@ declare enum Icon {
|
|
|
333
372
|
ArrowUpRightAndArrowDownLeftFromCenterSolidFull = "arrow_up_right_and_arrow_down_left_from_center_solid_full",
|
|
334
373
|
ArrowUpToBracketDuotoneRegular = "arrow_up_to_bracket_duotone_regular",
|
|
335
374
|
BrushSolidFull = "brush_solid_full",
|
|
375
|
+
CameraSolidRegular = "camera_solid_regular",
|
|
336
376
|
CaretDownSolidFull = "caret_down_solid_full",
|
|
337
377
|
CaretUpSolidFull = "caret_up_solid_full",
|
|
338
378
|
CheckSolidFull = "check_solid_full",
|
|
@@ -345,6 +385,7 @@ declare enum Icon {
|
|
|
345
385
|
DrawSquareRegular = "draw_square_regular",
|
|
346
386
|
EraserRegular = "eraser_regular",
|
|
347
387
|
EraserSolidFull = "eraser_solid_full",
|
|
388
|
+
ExpandRegularFull = "expand_regular_full",
|
|
348
389
|
FileVectorLight = "file_vector_light",
|
|
349
390
|
FillSolidFull = "fill_solid_full",
|
|
350
391
|
GripDotsVerticalSolid = "grip_dots_vertical_solid",
|
|
@@ -395,187 +436,11 @@ declare class InphotoIconCacheService {
|
|
|
395
436
|
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoIconCacheService>;
|
|
396
437
|
}
|
|
397
438
|
|
|
398
|
-
declare class InphotoItemService implements OnDestroy {
|
|
399
|
-
set selectedObject(value: ArticleConfiguration | undefined);
|
|
400
|
-
get selectedObject(): ArticleConfiguration | undefined;
|
|
401
|
-
set floorPlane(plane: Mesh);
|
|
402
|
-
get floorPlane(): Mesh;
|
|
403
|
-
set wallPlanes(planes: Mesh[]);
|
|
404
|
-
get wallPlanes(): Mesh[];
|
|
405
|
-
set floorItems(items: ArticleConfiguration[]);
|
|
406
|
-
get floorItems(): ArticleConfiguration[];
|
|
407
|
-
set floorBounds(value: Box3);
|
|
408
|
-
get floorBounds(): Box3;
|
|
409
|
-
private _selectedObject;
|
|
410
|
-
private _floorItems;
|
|
411
|
-
private _floorPlane;
|
|
412
|
-
private _wallPlanes;
|
|
413
|
-
private _floorBounds;
|
|
414
|
-
ngOnDestroy(): void;
|
|
415
|
-
addFloorItem(item: ArticleConfiguration): void;
|
|
416
|
-
removeFloorItem(item: ArticleConfiguration): void;
|
|
417
|
-
getFloorCenter(): Vector3;
|
|
418
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoItemService, never>;
|
|
419
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoItemService>;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
declare class InphotoSceneService implements OnDestroy {
|
|
423
|
-
private _objectsService;
|
|
424
|
-
set needsRender(render: boolean);
|
|
425
|
-
get needsRender(): boolean;
|
|
426
|
-
set sceneHasImage(value: boolean);
|
|
427
|
-
get sceneHasImage(): boolean;
|
|
428
|
-
container: ElementRef<HTMLDivElement>;
|
|
429
|
-
scene: Scene;
|
|
430
|
-
camera: PerspectiveCamera;
|
|
431
|
-
renderer: WebGLRenderer;
|
|
432
|
-
imageWidth: number;
|
|
433
|
-
imageHeight: number;
|
|
434
|
-
private _sceneHasImage;
|
|
435
|
-
private _placementMarker;
|
|
436
|
-
private _needsRender;
|
|
437
|
-
constructor(_objectsService: InphotoItemService);
|
|
438
|
-
ngOnDestroy(): void;
|
|
439
|
-
init(element: ElementRef<HTMLDivElement>): void;
|
|
440
|
-
resize(width: number, height: number): void;
|
|
441
|
-
getSceneAsImage(): string;
|
|
442
|
-
addObjectToScene(result: ArticleConfiguration): void;
|
|
443
|
-
placeObject(object: Object3D): void;
|
|
444
|
-
getObjectByUUID(uuid: string): Object3D | undefined;
|
|
445
|
-
removeObject(object: Object3D): void;
|
|
446
|
-
addFloorToScene(floorMesh: Mesh): void;
|
|
447
|
-
addWallsToScene(wallMeshes: Mesh[]): void;
|
|
448
|
-
setPlacementMarker(marker: Object3D | null): void;
|
|
449
|
-
private _prepLights;
|
|
450
|
-
private _animate;
|
|
451
|
-
private _render;
|
|
452
|
-
private _animateMarker;
|
|
453
|
-
private _onResize;
|
|
454
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoSceneService, never>;
|
|
455
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoSceneService>;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
declare class InphotoFontService {
|
|
459
|
-
hudFont: Font;
|
|
460
|
-
monospaceFont: Font;
|
|
461
|
-
constructor();
|
|
462
|
-
private _loadFont;
|
|
463
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoFontService, never>;
|
|
464
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoFontService>;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
declare class InphotoHudService implements OnDestroy {
|
|
468
|
-
private _appEventService;
|
|
469
|
-
private _sceneService;
|
|
470
|
-
private _fontService;
|
|
471
|
-
private _selectedItem;
|
|
472
|
-
private _rotationHelper;
|
|
473
|
-
private _subs;
|
|
474
|
-
private _mouseover;
|
|
475
|
-
private _rotating;
|
|
476
|
-
constructor(_appEventService: InphotoEventService, _sceneService: InphotoSceneService, _fontService: InphotoFontService);
|
|
477
|
-
ngOnDestroy(): void;
|
|
478
|
-
update(force?: boolean): void;
|
|
479
|
-
getRotationSnapperArea(): Object3D | null;
|
|
480
|
-
getSelectedCenter(): Vector3 | null;
|
|
481
|
-
setMouseOver(on: boolean): void;
|
|
482
|
-
setRotating(on: boolean): void;
|
|
483
|
-
private _applySceneUpdates;
|
|
484
|
-
private _unselectItem;
|
|
485
|
-
private _selectItem;
|
|
486
|
-
private _resetSelectedItem;
|
|
487
|
-
private _createRotationHelper;
|
|
488
|
-
private _setColor;
|
|
489
|
-
private _addToScene;
|
|
490
|
-
private _removeRotationHelper;
|
|
491
|
-
private _removeFromScene;
|
|
492
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoHudService, never>;
|
|
493
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoHudService>;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
declare enum InteractionMode {
|
|
497
|
-
Move = "move",
|
|
498
|
-
Rotate = "rotate"
|
|
499
|
-
}
|
|
500
|
-
declare class InphotoInteractionService implements OnDestroy {
|
|
501
|
-
objectsService: InphotoItemService;
|
|
502
|
-
private _sceneService;
|
|
503
|
-
private _appEventService;
|
|
504
|
-
private _hudService;
|
|
505
|
-
mouse: Vector2;
|
|
506
|
-
raycaster: Raycaster;
|
|
507
|
-
lastMousePosition: Vector2;
|
|
508
|
-
isDragging: boolean;
|
|
509
|
-
dragOffset: Vector3;
|
|
510
|
-
mode: InteractionMode;
|
|
511
|
-
rotationSensitivity: number;
|
|
512
|
-
isPlacing: boolean;
|
|
513
|
-
placementLocked: boolean;
|
|
514
|
-
private _camera;
|
|
515
|
-
private _scene;
|
|
516
|
-
private _renderer;
|
|
517
|
-
private _placementMarker;
|
|
518
|
-
private _placementPosition;
|
|
519
|
-
private _placementNormal;
|
|
520
|
-
constructor(objectsService: InphotoItemService, _sceneService: InphotoSceneService, _appEventService: InphotoEventService, _hudService: InphotoHudService);
|
|
521
|
-
ngOnDestroy(): void;
|
|
522
|
-
init(scene: Scene, camera: PerspectiveCamera, renderer: WebGLRenderer): void;
|
|
523
|
-
setMode(mode: InteractionMode): void;
|
|
524
|
-
onMouseUp(event: MouseEvent): void;
|
|
525
|
-
onMouseDown(event: MouseEvent): void;
|
|
526
|
-
onMouseMove(event: MouseEvent): void;
|
|
527
|
-
startPlacement(): void;
|
|
528
|
-
endPlacement(): {
|
|
529
|
-
position: Vector3;
|
|
530
|
-
normal: Vector3;
|
|
531
|
-
};
|
|
532
|
-
private _clearPlacementMarker;
|
|
533
|
-
private _floorHitFromEvent;
|
|
534
|
-
private _moveMarkerTo;
|
|
535
|
-
private _rotateByDrag;
|
|
536
|
-
private _applyYRotation;
|
|
537
|
-
updateMousePosition(event: MouseEvent): void;
|
|
538
|
-
handleFurnitureHit(furniture: ArticleConfiguration): void;
|
|
539
|
-
handlePlacement(object: Object3D, targetPosition?: Vector3, targetNormal?: Vector3): Object3D;
|
|
540
|
-
makeItStick(yRotation: number): void;
|
|
541
|
-
private _bindObjectToFloorBounds;
|
|
542
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoInteractionService, never>;
|
|
543
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoInteractionService>;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
declare class ModelConfigurationService implements OnDestroy {
|
|
547
|
-
private _connectorService;
|
|
548
|
-
private _sceneService;
|
|
549
|
-
private _settingsService;
|
|
550
|
-
private _configuringService;
|
|
551
|
-
private _objectsService;
|
|
552
|
-
private _interactionService;
|
|
553
|
-
private _loaderService;
|
|
554
|
-
private _configuratorEventService;
|
|
555
|
-
set loadConfigurator(value: boolean);
|
|
556
|
-
get loadConfigurator(): boolean;
|
|
557
|
-
set currentArticleConfiguration(value: ArticleConfiguration);
|
|
558
|
-
get currentArticleConfiguration(): ArticleConfiguration;
|
|
559
|
-
configuratorSettings: any;
|
|
560
|
-
configuratorSku: string;
|
|
561
|
-
configuratorInstanceId: string;
|
|
562
|
-
firstBuild: boolean;
|
|
563
|
-
private _loadConfigurator;
|
|
564
|
-
private _currentArticleConfiguration;
|
|
565
|
-
private _subs;
|
|
566
|
-
constructor(_connectorService: InPhotoConnectorService, _sceneService: InphotoSceneService, _settingsService: InphotoSettingsService, _configuringService: ConfiguringService, _objectsService: InphotoItemService, _interactionService: InphotoInteractionService, _loaderService: LoaderService, _configuratorEventService: ConfiguratorEventService);
|
|
567
|
-
ngOnDestroy(): void;
|
|
568
|
-
rotateObject(rotationDegrees: number): void;
|
|
569
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelConfigurationService, never>;
|
|
570
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModelConfigurationService>;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
439
|
declare class InphotoCatalogComponent implements OnInit, OnDestroy {
|
|
574
440
|
iconService: InphotoIconCacheService;
|
|
575
441
|
settingService: InphotoSettingsService;
|
|
576
442
|
appEventService: InphotoEventService;
|
|
577
443
|
connectorService: InPhotoConnectorService;
|
|
578
|
-
modelConfigurationService: ModelConfigurationService;
|
|
579
444
|
private _catalogService;
|
|
580
445
|
private _changeDetection;
|
|
581
446
|
readonly icons: typeof Icon;
|
|
@@ -595,16 +460,18 @@ declare class InphotoCatalogComponent implements OnInit, OnDestroy {
|
|
|
595
460
|
catalogInfo: ExternalCatalogStartupInfo;
|
|
596
461
|
externalCatalogName: string;
|
|
597
462
|
private _source;
|
|
598
|
-
|
|
463
|
+
private _is2D;
|
|
464
|
+
constructor(iconService: InphotoIconCacheService, settingService: InphotoSettingsService, appEventService: InphotoEventService, connectorService: InPhotoConnectorService, _catalogService: CatalogService, _changeDetection: ChangeDetectorRef);
|
|
599
465
|
ngOnInit(): Promise<void>;
|
|
600
466
|
ngOnDestroy(): void;
|
|
601
467
|
handleToggleShowOwnCollection(): void;
|
|
602
468
|
handleArticleClick(event: any): void;
|
|
603
469
|
handleExternalArticleClick(data: ExternalSourceArticleClickInterface, catalogInfo?: ExternalCatalogStartupInfo): void;
|
|
604
470
|
resetOpenCatalogs(): void;
|
|
605
|
-
handleShowCatalog(): void;
|
|
471
|
+
handleShowCatalog(is2D?: boolean): void;
|
|
606
472
|
handleCloseDialog(): void;
|
|
607
473
|
handleExternalSourceClick(source?: ExternalSourceViewmodel): Promise<void>;
|
|
474
|
+
handleCatalogsLoaded(loaded: boolean): void;
|
|
608
475
|
private _buildExternalCatalogRequest;
|
|
609
476
|
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoCatalogComponent, never>;
|
|
610
477
|
static ɵcmp: i0.ɵɵComponentDeclaration<InphotoCatalogComponent, "co-inphoto-catalog", never, {}, {}, never, never, false, never>;
|
|
@@ -651,6 +518,14 @@ declare class ImageData {
|
|
|
651
518
|
maskData: MaskStroke[];
|
|
652
519
|
}
|
|
653
520
|
|
|
521
|
+
declare class StyleEditorSelection {
|
|
522
|
+
roomType: string;
|
|
523
|
+
mode: string;
|
|
524
|
+
decorationStyle: string;
|
|
525
|
+
aspectRatio: AspectRatio;
|
|
526
|
+
renderSize: RenderSize;
|
|
527
|
+
}
|
|
528
|
+
|
|
654
529
|
declare class InphotoDataService {
|
|
655
530
|
private _appEventService;
|
|
656
531
|
/**
|
|
@@ -666,6 +541,7 @@ declare class InphotoDataService {
|
|
|
666
541
|
get progressingData(): ImageData[];
|
|
667
542
|
set activeCanvasColor(value: ColorPalette);
|
|
668
543
|
get activeCanvasColor(): ColorPalette;
|
|
544
|
+
styleEditorSelection: StyleEditorSelection;
|
|
669
545
|
private _canvasHasMask;
|
|
670
546
|
private _generatedImages;
|
|
671
547
|
private _processingData;
|
|
@@ -695,6 +571,8 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
695
571
|
private _appEventService;
|
|
696
572
|
readonly icons: typeof Icon;
|
|
697
573
|
showClass(): boolean;
|
|
574
|
+
fitToContainerClass(): boolean;
|
|
575
|
+
onResize(): void;
|
|
698
576
|
canvas: ElementRef<HTMLCanvasElement>;
|
|
699
577
|
canvasContainer: ElementRef<HTMLDivElement>;
|
|
700
578
|
set image(value: string);
|
|
@@ -706,6 +584,7 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
706
584
|
get dragMode(): boolean;
|
|
707
585
|
set brushSize(value: number);
|
|
708
586
|
get brushSize(): number;
|
|
587
|
+
drawingDisabled: boolean;
|
|
709
588
|
set segmentationObjects(value: SegmentationObject[]);
|
|
710
589
|
get segmentationObjects(): SegmentationObject[];
|
|
711
590
|
onSegmentationPointClick: EventEmitter<SegmentationPoint>;
|
|
@@ -723,6 +602,7 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
723
602
|
hoveredObjectLabel: string | null;
|
|
724
603
|
hoveredLabelX: number;
|
|
725
604
|
hoveredLabelY: number;
|
|
605
|
+
fitToContainer: boolean;
|
|
726
606
|
private _backgroundImage;
|
|
727
607
|
private _maskLayers;
|
|
728
608
|
private _currentStroke;
|
|
@@ -753,6 +633,7 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
753
633
|
changeCanvasCursor(icon: Icon): void;
|
|
754
634
|
startDrawing(event: MouseEvent): void;
|
|
755
635
|
draw(event: MouseEvent): void;
|
|
636
|
+
handleMouseLeave(): void;
|
|
756
637
|
stopDrawing(): void;
|
|
757
638
|
onWheel(event: WheelEvent): void;
|
|
758
639
|
zoomIn(): void;
|
|
@@ -779,6 +660,7 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
779
660
|
private _updateHoveredObject;
|
|
780
661
|
private _findSegmentationObjectAtPoint;
|
|
781
662
|
private _isPointInPolygon;
|
|
663
|
+
private _clearHoveredObject;
|
|
782
664
|
private _drawHoveredSegmentationObject;
|
|
783
665
|
private _applyHoveredObjectAsMask;
|
|
784
666
|
private _fillContours;
|
|
@@ -787,7 +669,7 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
787
669
|
private _setPlainCursor;
|
|
788
670
|
private _colorToString;
|
|
789
671
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditCanvasComponent, never>;
|
|
790
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditCanvasComponent, "co-edit-canvas", never, { "image": { "alias": "image"; "required": false; }; "segmentationInPainting": { "alias": "segmentationInPainting"; "required": false; }; "inpaintMode": { "alias": "inpaintMode"; "required": false; }; "eraserMode": { "alias": "eraserMode"; "required": false; }; "dragMode": { "alias": "dragMode"; "required": false; }; "brushSize": { "alias": "brushSize"; "required": false; }; "segmentationObjects": { "alias": "segmentationObjects"; "required": false; }; }, { "onSegmentationPointClick": "onSegmentationPointClick"; "imageState": "imageState"; }, never, never, false, never>;
|
|
672
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditCanvasComponent, "co-edit-canvas", never, { "image": { "alias": "image"; "required": false; }; "segmentationInPainting": { "alias": "segmentationInPainting"; "required": false; }; "inpaintMode": { "alias": "inpaintMode"; "required": false; }; "eraserMode": { "alias": "eraserMode"; "required": false; }; "dragMode": { "alias": "dragMode"; "required": false; }; "brushSize": { "alias": "brushSize"; "required": false; }; "drawingDisabled": { "alias": "drawingDisabled"; "required": false; }; "segmentationObjects": { "alias": "segmentationObjects"; "required": false; }; }, { "onSegmentationPointClick": "onSegmentationPointClick"; "imageState": "imageState"; }, never, never, false, never>;
|
|
791
673
|
}
|
|
792
674
|
|
|
793
675
|
declare class EditCanvasModule {
|
|
@@ -895,15 +777,22 @@ declare class DecorationStyle {
|
|
|
895
777
|
constructor(label: string, description: string);
|
|
896
778
|
}
|
|
897
779
|
|
|
780
|
+
declare class AiImageStyleOption {
|
|
781
|
+
label: string;
|
|
782
|
+
value: string;
|
|
783
|
+
image: string;
|
|
784
|
+
constructor(label: string, value: string, image: string);
|
|
785
|
+
}
|
|
786
|
+
|
|
898
787
|
declare class ImageEnhancerStyleComponent implements OnInit {
|
|
899
788
|
connectorService: InPhotoConnectorService;
|
|
900
789
|
iconCacheService: InphotoIconCacheService;
|
|
901
790
|
private _changeDetection;
|
|
902
791
|
private _eventService;
|
|
792
|
+
private _dataService;
|
|
903
793
|
readonly icons: typeof Icon;
|
|
904
794
|
get showClass(): boolean;
|
|
905
795
|
canvasImage: string;
|
|
906
|
-
showInstructionTexts: boolean;
|
|
907
796
|
showResetButton: boolean;
|
|
908
797
|
generateStarted: EventEmitter<void>;
|
|
909
798
|
imageGenerated: EventEmitter<string>;
|
|
@@ -913,27 +802,32 @@ declare class ImageEnhancerStyleComponent implements OnInit {
|
|
|
913
802
|
showInputError: boolean;
|
|
914
803
|
loaded: boolean;
|
|
915
804
|
styleEnhancePrompt: EnhanceStyle;
|
|
916
|
-
selectedRoomStyle:
|
|
917
|
-
roomStyleCollection:
|
|
805
|
+
selectedRoomStyle: AiImageStyleOption;
|
|
806
|
+
roomStyleCollection: AiImageStyleOption[];
|
|
918
807
|
selectedMode: DecorationStyle;
|
|
919
808
|
modeCollection: DecorationStyle[];
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
809
|
+
aspectRatioModel: AspectRatio;
|
|
810
|
+
renderSizeModel: RenderSize;
|
|
811
|
+
decorationStyleCollection: AiImageStyleOption[];
|
|
812
|
+
selectedDecorationStyle: AiImageStyleOption;
|
|
813
|
+
constructor(connectorService: InPhotoConnectorService, iconCacheService: InphotoIconCacheService, _changeDetection: ChangeDetectorRef, _eventService: InphotoEventService, _dataService: InphotoDataService);
|
|
923
814
|
ngOnInit(): Promise<void>;
|
|
924
|
-
|
|
815
|
+
handleRoomTypeChange(value: AiImageStyleOption): void;
|
|
925
816
|
handleChangeMode(event: DecorationStyle): void;
|
|
926
|
-
|
|
817
|
+
handleSelectionChange(): void;
|
|
927
818
|
handleGenerateClicked(): void;
|
|
928
819
|
handleStyleSelection(event: EnhanceStyle): void;
|
|
929
820
|
handleBackClicked(): void;
|
|
821
|
+
handleDecorationStyleChange(value: AiImageStyleOption): void;
|
|
822
|
+
private _restoreSelection;
|
|
930
823
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerStyleComponent, never>;
|
|
931
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerStyleComponent, "co-image-enhancer-style", never, { "canvasImage": { "alias": "canvasImage"; "required": false; }; "
|
|
824
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerStyleComponent, "co-image-enhancer-style", never, { "canvasImage": { "alias": "canvasImage"; "required": false; }; "showResetButton": { "alias": "showResetButton"; "required": false; }; }, { "generateStarted": "generateStarted"; "imageGenerated": "imageGenerated"; "backButtonClicked": "backButtonClicked"; }, never, never, false, never>;
|
|
932
825
|
}
|
|
933
826
|
|
|
934
827
|
declare class AiPromptComponent {
|
|
935
828
|
private _changeDetection;
|
|
936
829
|
showClass(): boolean;
|
|
830
|
+
showModeToggle: boolean;
|
|
937
831
|
customPrompt: string;
|
|
938
832
|
set promptMode(value: PromptStyle);
|
|
939
833
|
get promptMode(): PromptStyle;
|
|
@@ -941,14 +835,16 @@ declare class AiPromptComponent {
|
|
|
941
835
|
get showEmptyInputError(): boolean;
|
|
942
836
|
promptModeChange: EventEmitter<PromptStyle>;
|
|
943
837
|
customPromptChange: EventEmitter<string>;
|
|
838
|
+
showEmptyInputErrorChange: EventEmitter<boolean>;
|
|
944
839
|
toggleModel: boolean;
|
|
945
840
|
private _promptMode;
|
|
946
841
|
private _emptyInputError;
|
|
947
842
|
constructor(_changeDetection: ChangeDetectorRef);
|
|
948
843
|
handleUpdateModel(): void;
|
|
949
844
|
handlePromptChange(value: string): void;
|
|
845
|
+
private _clearEmptyInputError;
|
|
950
846
|
static ɵfac: i0.ɵɵFactoryDeclaration<AiPromptComponent, never>;
|
|
951
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AiPromptComponent, "co-ai-prompt", never, { "customPrompt": { "alias": "customPrompt"; "required": false; }; "promptMode": { "alias": "promptMode"; "required": false; }; "showEmptyInputError": { "alias": "showEmptyInputError"; "required": false; }; }, { "promptModeChange": "promptModeChange"; "customPromptChange": "customPromptChange"; }, never, never, false, never>;
|
|
847
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AiPromptComponent, "co-ai-prompt", never, { "showModeToggle": { "alias": "showModeToggle"; "required": false; }; "customPrompt": { "alias": "customPrompt"; "required": false; }; "promptMode": { "alias": "promptMode"; "required": false; }; "showEmptyInputError": { "alias": "showEmptyInputError"; "required": false; }; }, { "promptModeChange": "promptModeChange"; "customPromptChange": "customPromptChange"; "showEmptyInputErrorChange": "showEmptyInputErrorChange"; }, never, never, false, never>;
|
|
952
848
|
}
|
|
953
849
|
|
|
954
850
|
declare class AiPromptModule {
|
|
@@ -957,9 +853,42 @@ declare class AiPromptModule {
|
|
|
957
853
|
static ɵinj: i0.ɵɵInjectorDeclaration<AiPromptModule>;
|
|
958
854
|
}
|
|
959
855
|
|
|
856
|
+
declare class LabelValue {
|
|
857
|
+
label: string;
|
|
858
|
+
value: string;
|
|
859
|
+
constructor(label: string, value: string);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
declare class ImageOutputSettingsComponent {
|
|
863
|
+
iconCacheService: InphotoIconCacheService;
|
|
864
|
+
readonly icons: typeof Icon;
|
|
865
|
+
get showClass(): boolean;
|
|
866
|
+
selectedRatio: LabelValue;
|
|
867
|
+
selectedSize: LabelValue;
|
|
868
|
+
set aspectRatio(value: AspectRatio);
|
|
869
|
+
get aspectRatio(): AspectRatio;
|
|
870
|
+
set renderSize(value: RenderSize);
|
|
871
|
+
get renderSize(): RenderSize;
|
|
872
|
+
aspectRatioChange: EventEmitter<AspectRatio>;
|
|
873
|
+
renderSizeChange: EventEmitter<RenderSize>;
|
|
874
|
+
listOfRatios: LabelValue[];
|
|
875
|
+
listOfSizes: LabelValue[];
|
|
876
|
+
constructor(iconCacheService: InphotoIconCacheService);
|
|
877
|
+
handleRatioChange(event: LabelValue): void;
|
|
878
|
+
handleSizeChange(event: LabelValue): void;
|
|
879
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageOutputSettingsComponent, never>;
|
|
880
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageOutputSettingsComponent, "co-image-output-settings", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; }; "renderSize": { "alias": "renderSize"; "required": false; }; }, { "aspectRatioChange": "aspectRatioChange"; "renderSizeChange": "renderSizeChange"; }, never, never, false, never>;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
declare class ImageOutputSettingsModule {
|
|
884
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageOutputSettingsModule, never>;
|
|
885
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageOutputSettingsModule, [typeof ImageOutputSettingsComponent], [typeof i2.IconModule, typeof i2.ListOfValuesModule, typeof PipeModule], [typeof ImageOutputSettingsComponent]>;
|
|
886
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ImageOutputSettingsModule>;
|
|
887
|
+
}
|
|
888
|
+
|
|
960
889
|
declare class ImageEnhancerStyleModule {
|
|
961
890
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerStyleModule, never>;
|
|
962
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerStyleModule, [typeof ImageEnhancerStyleComponent], [typeof i2.ListOfValuesModule, typeof PipeModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof i2.IconModule, typeof AiPromptModule, typeof i2.ButtonModule], [typeof ImageEnhancerStyleComponent]>;
|
|
891
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerStyleModule, [typeof ImageEnhancerStyleComponent], [typeof i2.ListOfValuesModule, typeof PipeModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof i2.IconModule, typeof AiPromptModule, typeof i2.ButtonModule, typeof ImageOutputSettingsModule, typeof i2.CustomListOfValuesModule], [typeof ImageEnhancerStyleComponent]>;
|
|
963
892
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerStyleModule>;
|
|
964
893
|
}
|
|
965
894
|
|
|
@@ -980,10 +909,13 @@ declare class ImageEnhancerUploadComponent {
|
|
|
980
909
|
backButtonClicked: EventEmitter<void>;
|
|
981
910
|
changeMarkerColor: EventEmitter<MaskImageColorInterface>;
|
|
982
911
|
showClass(): boolean;
|
|
983
|
-
|
|
912
|
+
get uploadedImages(): ImageData[];
|
|
913
|
+
get disableGenerateButton(): boolean;
|
|
984
914
|
customPrompt: string;
|
|
985
915
|
customPromptMode: PromptStyle;
|
|
986
916
|
showInputError: boolean;
|
|
917
|
+
aspectRatioModel: AspectRatio;
|
|
918
|
+
renderSizeModel: RenderSize;
|
|
987
919
|
constructor(dataService: InphotoDataService, iconCacheService: InphotoIconCacheService, _connectorService: InPhotoConnectorService);
|
|
988
920
|
handleImageUpload(event: File[]): void;
|
|
989
921
|
handleGenerateClicked(): void;
|
|
@@ -991,6 +923,7 @@ declare class ImageEnhancerUploadComponent {
|
|
|
991
923
|
handleBackClicked(): void;
|
|
992
924
|
handleDeleteImage(image: ImageData): void;
|
|
993
925
|
handleDeleteMask(data: ImageData): void;
|
|
926
|
+
getColorsUsedByOtherImages(image: ImageData): ColorPalette[];
|
|
994
927
|
handleChangeMarkerColor(color: ColorPalette, data: ImageData): void;
|
|
995
928
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerUploadComponent, never>;
|
|
996
929
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerUploadComponent, "co-image-enhancer-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; "canvasImage": { "alias": "canvasImage"; "required": false; }; }, { "generateStarted": "generateStarted"; "imageGenerated": "imageGenerated"; "backButtonClicked": "backButtonClicked"; "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
@@ -1007,6 +940,7 @@ declare class ImageTileComponent {
|
|
|
1007
940
|
get activeItem(): boolean;
|
|
1008
941
|
set data(value: ImageData);
|
|
1009
942
|
get data(): ImageData;
|
|
943
|
+
usedColors: ColorPalette[];
|
|
1010
944
|
changeMarkerColor: EventEmitter<ColorPalette>;
|
|
1011
945
|
deleteImage: EventEmitter<ImageData>;
|
|
1012
946
|
deleteMask: EventEmitter<ImageData>;
|
|
@@ -1016,6 +950,7 @@ declare class ImageTileComponent {
|
|
|
1016
950
|
private _selectedColor;
|
|
1017
951
|
private _data;
|
|
1018
952
|
constructor(iconCacheService: InphotoIconCacheService, _dataService: InphotoDataService);
|
|
953
|
+
isUsedColor(color: ColorPalette): boolean;
|
|
1019
954
|
setMarkerColor(color: ColorPalette): void;
|
|
1020
955
|
handleContinueCurrentMask(): void;
|
|
1021
956
|
showColorPalette(): void;
|
|
@@ -1023,7 +958,7 @@ declare class ImageTileComponent {
|
|
|
1023
958
|
removeMask(): void;
|
|
1024
959
|
private _handleSetData;
|
|
1025
960
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageTileComponent, never>;
|
|
1026
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageTileComponent, "co-image-
|
|
961
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageTileComponent, "co-image-tile", never, { "index": { "alias": "index"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "data": { "alias": "data"; "required": false; }; "usedColors": { "alias": "usedColors"; "required": false; }; }, { "changeMarkerColor": "changeMarkerColor"; "deleteImage": "deleteImage"; "deleteMask": "deleteMask"; }, never, never, false, never>;
|
|
1027
962
|
}
|
|
1028
963
|
|
|
1029
964
|
declare class ColorPaletteOptionComponent {
|
|
@@ -1034,12 +969,13 @@ declare class ColorPaletteOptionComponent {
|
|
|
1034
969
|
colorOption: ColorPalette;
|
|
1035
970
|
set selected(value: boolean);
|
|
1036
971
|
get selected(): boolean;
|
|
972
|
+
disabled: boolean;
|
|
1037
973
|
changeMarkerColor: EventEmitter<ColorPalette>;
|
|
1038
974
|
private _selected;
|
|
1039
975
|
constructor(iconCacheService: InphotoIconCacheService);
|
|
1040
976
|
setMarkerColor(color: ColorPalette): void;
|
|
1041
977
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPaletteOptionComponent, never>;
|
|
1042
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPaletteOptionComponent, "co-color-palette-option", never, { "colorOption": { "alias": "colorOption"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
978
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPaletteOptionComponent, "co-color-palette-option", never, { "colorOption": { "alias": "colorOption"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
1043
979
|
}
|
|
1044
980
|
|
|
1045
981
|
declare class ImageTileModule {
|
|
@@ -1050,7 +986,7 @@ declare class ImageTileModule {
|
|
|
1050
986
|
|
|
1051
987
|
declare class ImageEnhancerUploadModule {
|
|
1052
988
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerUploadModule, never>;
|
|
1053
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerUploadModule, [typeof ImageEnhancerUploadComponent], [typeof ImageUploadModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof PipeModule, typeof ImageTileModule, typeof i2.IconModule, typeof AiPromptModule, typeof i2.ButtonModule], [typeof ImageEnhancerUploadComponent]>;
|
|
989
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerUploadModule, [typeof ImageEnhancerUploadComponent], [typeof ImageUploadModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof PipeModule, typeof ImageTileModule, typeof i2.IconModule, typeof AiPromptModule, typeof i2.ButtonModule, typeof ImageOutputSettingsModule], [typeof ImageEnhancerUploadComponent]>;
|
|
1054
990
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerUploadModule>;
|
|
1055
991
|
}
|
|
1056
992
|
|
|
@@ -1079,6 +1015,7 @@ declare class ImageHistoryComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
1079
1015
|
canScrollRight: boolean;
|
|
1080
1016
|
private _subs;
|
|
1081
1017
|
private _tilesObserver;
|
|
1018
|
+
private _observedTilesRow;
|
|
1082
1019
|
constructor(dataService: InphotoDataService, iconService: InphotoIconCacheService, _eventService: InphotoEventService);
|
|
1083
1020
|
ngOnInit(): void;
|
|
1084
1021
|
ngAfterViewInit(): void;
|
|
@@ -1162,20 +1099,28 @@ declare class ImageHistoryModule {
|
|
|
1162
1099
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageHistoryModule>;
|
|
1163
1100
|
}
|
|
1164
1101
|
|
|
1102
|
+
declare enum RedesignMode {
|
|
1103
|
+
style = 0,
|
|
1104
|
+
referenceImage = 1
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1165
1107
|
declare class PhotoEditorComponent implements OnDestroy {
|
|
1166
1108
|
iconService: InphotoIconCacheService;
|
|
1167
1109
|
dataService: InphotoDataService;
|
|
1168
1110
|
private _connectorService;
|
|
1169
1111
|
private _changeDetection;
|
|
1170
1112
|
private _eventService;
|
|
1113
|
+
private _errorService;
|
|
1171
1114
|
readonly icons: typeof Icon;
|
|
1172
1115
|
readonly FileTypes: typeof FileTypes;
|
|
1116
|
+
readonly redesignMode: typeof RedesignMode;
|
|
1173
1117
|
showClass(): boolean;
|
|
1118
|
+
mode: RedesignMode;
|
|
1174
1119
|
set image(value: string);
|
|
1175
1120
|
get image(): string;
|
|
1176
1121
|
get canvasImage(): string;
|
|
1177
1122
|
resetButtonClicked: EventEmitter<void>;
|
|
1178
|
-
|
|
1123
|
+
backToEditMenuClick: EventEmitter<string>;
|
|
1179
1124
|
startSegmentation: EventEmitter<string>;
|
|
1180
1125
|
showLoader: boolean;
|
|
1181
1126
|
loadingTexts: string[];
|
|
@@ -1187,26 +1132,27 @@ declare class PhotoEditorComponent implements OnDestroy {
|
|
|
1187
1132
|
private _image;
|
|
1188
1133
|
private _canvasImage;
|
|
1189
1134
|
private _subs;
|
|
1190
|
-
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, _connectorService: InPhotoConnectorService, _changeDetection: ChangeDetectorRef, _eventService: InphotoEventService);
|
|
1135
|
+
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, _connectorService: InPhotoConnectorService, _changeDetection: ChangeDetectorRef, _eventService: InphotoEventService, _errorService: ErrorService);
|
|
1191
1136
|
ngOnDestroy(): void;
|
|
1192
1137
|
toggleEraseMode(state: boolean): void;
|
|
1193
1138
|
toggleDragMode(value: boolean): void;
|
|
1194
1139
|
handleChangeBrushSize(size: number): void;
|
|
1195
1140
|
handleGenerateStarted(): void;
|
|
1196
1141
|
handleImageGenerated(image: string): void;
|
|
1142
|
+
handleBackClicked(): void;
|
|
1143
|
+
handleResetClicked(): void;
|
|
1197
1144
|
handleSetImageFromHistory(event: string): void;
|
|
1198
1145
|
handleEditIn3DFromHistory(image: string): void;
|
|
1199
1146
|
handleRemoveObjectsFromHistory(image: string): void;
|
|
1200
|
-
handleBackButtonClicked(): void;
|
|
1201
1147
|
handleImageUpload(event: File[]): void;
|
|
1202
1148
|
handleChangeMarkerColor(data: MaskImageColorInterface): void;
|
|
1203
1149
|
handleUpdateCanvasImage(image: string): void;
|
|
1204
1150
|
private _handleSetLoader;
|
|
1205
1151
|
private _handleImageResponse;
|
|
1206
1152
|
private _addToHistory;
|
|
1207
|
-
private
|
|
1153
|
+
private _handleError;
|
|
1208
1154
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhotoEditorComponent, never>;
|
|
1209
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhotoEditorComponent, "co-photo-editor", never, { "image": { "alias": "image"; "required": false; }; }, { "resetButtonClicked": "resetButtonClicked"; "
|
|
1155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhotoEditorComponent, "co-photo-editor", never, { "mode": { "alias": "mode"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, { "resetButtonClicked": "resetButtonClicked"; "backToEditMenuClick": "backToEditMenuClick"; "startSegmentation": "startSegmentation"; }, never, never, false, never>;
|
|
1210
1156
|
}
|
|
1211
1157
|
|
|
1212
1158
|
declare class ProcessLoaderComponent implements OnDestroy {
|
|
@@ -1295,37 +1241,37 @@ declare class CanvasToolBarModule {
|
|
|
1295
1241
|
static ɵinj: i0.ɵɵInjectorDeclaration<CanvasToolBarModule>;
|
|
1296
1242
|
}
|
|
1297
1243
|
|
|
1298
|
-
declare class
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1244
|
+
declare class SidePanelComponent {
|
|
1245
|
+
iconService: InphotoIconCacheService;
|
|
1246
|
+
readonly icons: typeof Icon;
|
|
1247
|
+
showClass(): boolean;
|
|
1248
|
+
header: string;
|
|
1249
|
+
description: string;
|
|
1250
|
+
headerIcon: Icon;
|
|
1251
|
+
headerClass: string;
|
|
1252
|
+
onRestartClick: EventEmitter<void>;
|
|
1253
|
+
constructor(iconService: InphotoIconCacheService);
|
|
1254
|
+
cancel(): void;
|
|
1255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponent, never>;
|
|
1256
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidePanelComponent, "co-side-panel", never, { "header": { "alias": "header"; "required": false; }; "description": { "alias": "description"; "required": false; }; "headerIcon": { "alias": "headerIcon"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; }, { "onRestartClick": "onRestartClick"; }, never, ["*"], false, never>;
|
|
1302
1257
|
}
|
|
1303
1258
|
|
|
1304
|
-
declare class
|
|
1259
|
+
declare class HeaderComponent {
|
|
1305
1260
|
iconService: InphotoIconCacheService;
|
|
1306
|
-
private _connectorService;
|
|
1307
|
-
private _appEventService;
|
|
1308
1261
|
readonly icons: typeof Icon;
|
|
1309
1262
|
showClass(): boolean;
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
handleClearAllObjects(): void;
|
|
1323
|
-
handleClearAllObjectsAndStart3D(): void;
|
|
1324
|
-
handleSelectToClearObjects(): void;
|
|
1325
|
-
handleContinueToAI(): void;
|
|
1326
|
-
private _handleRoomReceived;
|
|
1327
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareStartingImageComponent, never>;
|
|
1328
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PrepareStartingImageComponent, "co-prepare-starting-image", never, { "image": { "alias": "image"; "required": false; }; }, { "cancelClick": "cancelClick"; "processedRoom": "processedRoom"; "startSegmentation": "startSegmentation"; "imageReady": "imageReady"; "continueToAI": "continueToAI"; }, never, never, false, never>;
|
|
1263
|
+
headerIcon: Icon;
|
|
1264
|
+
header: string;
|
|
1265
|
+
description: string;
|
|
1266
|
+
constructor(iconService: InphotoIconCacheService);
|
|
1267
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
1268
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "co-header", never, { "headerIcon": { "alias": "headerIcon"; "required": false; }; "header": { "alias": "header"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, never, false, never>;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
declare class HeaderModule {
|
|
1272
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
1273
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof HeaderComponent], [typeof i2.IconModule, typeof PipeModule], [typeof HeaderComponent]>;
|
|
1274
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
1329
1275
|
}
|
|
1330
1276
|
|
|
1331
1277
|
declare class StepTileComponent {
|
|
@@ -1355,79 +1301,313 @@ declare class StepTileModule {
|
|
|
1355
1301
|
static ɵinj: i0.ɵɵInjectorDeclaration<StepTileModule>;
|
|
1356
1302
|
}
|
|
1357
1303
|
|
|
1358
|
-
declare class
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
headerIcon: Icon;
|
|
1363
|
-
header: string;
|
|
1364
|
-
description: string;
|
|
1365
|
-
constructor(iconService: InphotoIconCacheService);
|
|
1366
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
1367
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "co-header", never, { "headerIcon": { "alias": "headerIcon"; "required": false; }; "header": { "alias": "header"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, never, false, never>;
|
|
1304
|
+
declare class SidePanelModule {
|
|
1305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelModule, never>;
|
|
1306
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SidePanelModule, [typeof SidePanelComponent], [typeof i2.ButtonModule, typeof HeaderModule, typeof PipeModule, typeof ProcessLoaderModule, typeof StepTileModule], [typeof SidePanelComponent]>;
|
|
1307
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SidePanelModule>;
|
|
1368
1308
|
}
|
|
1369
1309
|
|
|
1370
|
-
declare class
|
|
1371
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1372
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
1373
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
1310
|
+
declare class PhotoEditorModule {
|
|
1311
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhotoEditorModule, never>;
|
|
1312
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PhotoEditorModule, [typeof PhotoEditorComponent], [typeof EditCanvasModule, typeof PipeModule, typeof ImageUploadModule, typeof i2.ButtonModule, typeof ImageEnhancerModule, typeof ImageHistoryModule, typeof ProcessLoaderModule, typeof i2.IconModule, typeof CanvasToolBarModule, typeof i7.DragDropModule, typeof SidePanelModule, typeof ImageEnhancerStyleModule, typeof ImageEnhancerUploadModule], [typeof PhotoEditorComponent]>;
|
|
1313
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PhotoEditorModule>;
|
|
1374
1314
|
}
|
|
1375
1315
|
|
|
1376
|
-
|
|
1316
|
+
interface AiRedesignInterface {
|
|
1317
|
+
image: string;
|
|
1318
|
+
mode: RedesignMode;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
declare class PrepareStartingImageComponent implements OnDestroy {
|
|
1377
1322
|
iconService: InphotoIconCacheService;
|
|
1323
|
+
private _connectorService;
|
|
1324
|
+
private _dataService;
|
|
1325
|
+
private _errorService;
|
|
1326
|
+
private _eventService;
|
|
1327
|
+
private _changeDetection;
|
|
1378
1328
|
readonly icons: typeof Icon;
|
|
1329
|
+
readonly redesignMode: typeof RedesignMode;
|
|
1379
1330
|
showClass(): boolean;
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1331
|
+
set image(value: string);
|
|
1332
|
+
get image(): string;
|
|
1333
|
+
get canvasImage(): string;
|
|
1334
|
+
cancelClick: EventEmitter<void>;
|
|
1335
|
+
startSegmentation: EventEmitter<string>;
|
|
1336
|
+
imageReady: EventEmitter<string>;
|
|
1337
|
+
continueToAI: EventEmitter<AiRedesignInterface>;
|
|
1338
|
+
customPrompt: string;
|
|
1339
|
+
disableSelectObjectsButton: boolean;
|
|
1340
|
+
showLoader: boolean;
|
|
1341
|
+
loadingTexts: string[];
|
|
1342
|
+
showInputError: boolean;
|
|
1343
|
+
showAILoader: boolean;
|
|
1344
|
+
loadingAIgenerationTexts: string[];
|
|
1345
|
+
canvasErase: boolean;
|
|
1346
|
+
dragMode: boolean;
|
|
1347
|
+
brushSize: number;
|
|
1348
|
+
private _image;
|
|
1349
|
+
private _canvasImage;
|
|
1350
|
+
private _subs;
|
|
1351
|
+
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _dataService: InphotoDataService, _errorService: ErrorService, _eventService: InphotoEventService, _changeDetection: ChangeDetectorRef);
|
|
1352
|
+
ngOnDestroy(): void;
|
|
1353
|
+
handleCancelClick(): void;
|
|
1354
|
+
toggleEraseMode(state: boolean): void;
|
|
1355
|
+
toggleDragMode(value: boolean): void;
|
|
1356
|
+
handleChangeBrushSize(size: number): void;
|
|
1357
|
+
handleUpdateCanvasImage(image: string): void;
|
|
1358
|
+
handleSetImageFromHistory(image: string): void;
|
|
1359
|
+
handleGenerateClicked(): void;
|
|
1360
|
+
handleClearAllObjectsAndStart3D(image?: string): void;
|
|
1361
|
+
handleSelectToClearObjects(image?: string): void;
|
|
1362
|
+
handleContinueToAI(mode: RedesignMode): void;
|
|
1363
|
+
private _addStartingImageToHistory;
|
|
1364
|
+
private _addToHistory;
|
|
1365
|
+
private _handleError;
|
|
1366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareStartingImageComponent, never>;
|
|
1367
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrepareStartingImageComponent, "co-prepare-starting-image", never, { "image": { "alias": "image"; "required": false; }; }, { "cancelClick": "cancelClick"; "startSegmentation": "startSegmentation"; "imageReady": "imageReady"; "continueToAI": "continueToAI"; }, never, never, false, never>;
|
|
1395
1368
|
}
|
|
1396
1369
|
|
|
1397
1370
|
declare class PrepareStartingImageModule {
|
|
1398
1371
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareStartingImageModule, never>;
|
|
1399
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PrepareStartingImageModule, [typeof PrepareStartingImageComponent], [typeof EditCanvasModule, typeof i2.ButtonModule, typeof PipeModule, typeof i2.IconModule, typeof ProcessLoaderModule, typeof StepTileModule, typeof HeaderModule, typeof SidePanelModule], [typeof PrepareStartingImageComponent]>;
|
|
1372
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PrepareStartingImageModule, [typeof PrepareStartingImageComponent], [typeof EditCanvasModule, typeof ImageHistoryModule, typeof CanvasToolBarModule, typeof i7.DragDropModule, typeof i2.ButtonModule, typeof PipeModule, typeof i2.IconModule, typeof ProcessLoaderModule, typeof StepTileModule, typeof HeaderModule, typeof SidePanelModule, typeof AiPromptModule], [typeof PrepareStartingImageComponent]>;
|
|
1400
1373
|
static ɵinj: i0.ɵɵInjectorDeclaration<PrepareStartingImageModule>;
|
|
1401
1374
|
}
|
|
1402
1375
|
|
|
1403
|
-
declare class
|
|
1376
|
+
declare class InphotoItemService implements OnDestroy {
|
|
1377
|
+
set selectedObject(value: ArticleConfiguration | undefined);
|
|
1378
|
+
get selectedObject(): ArticleConfiguration | undefined;
|
|
1379
|
+
set floorPlane(plane: Mesh);
|
|
1380
|
+
get floorPlane(): Mesh;
|
|
1381
|
+
set wallPlanes(planes: Mesh[]);
|
|
1382
|
+
get wallPlanes(): Mesh[];
|
|
1383
|
+
set floorItems(items: ArticleConfiguration[]);
|
|
1384
|
+
get floorItems(): ArticleConfiguration[];
|
|
1385
|
+
set floorBounds(value: Box3);
|
|
1386
|
+
get floorBounds(): Box3;
|
|
1387
|
+
set imageItems(items: ArticleConfiguration[]);
|
|
1388
|
+
get imageItems(): ArticleConfiguration[];
|
|
1389
|
+
private _selectedObject;
|
|
1390
|
+
private _floorItems;
|
|
1391
|
+
private _imageItems;
|
|
1392
|
+
private _floorPlane;
|
|
1393
|
+
private _wallPlanes;
|
|
1394
|
+
private _floorBounds;
|
|
1395
|
+
ngOnDestroy(): void;
|
|
1396
|
+
clear(): void;
|
|
1397
|
+
addFloorItem(item: ArticleConfiguration): void;
|
|
1398
|
+
removeFloorItem(item: ArticleConfiguration): void;
|
|
1399
|
+
addImageItem(item: ArticleConfiguration): void;
|
|
1400
|
+
removeImageItem(item: ArticleConfiguration): void;
|
|
1401
|
+
getFloorCenter(): Vector3;
|
|
1402
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoItemService, never>;
|
|
1403
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoItemService>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
declare class InphotoSceneService implements OnDestroy {
|
|
1407
|
+
private _objectsService;
|
|
1408
|
+
set needsRender(render: boolean);
|
|
1409
|
+
get needsRender(): boolean;
|
|
1410
|
+
set sceneHasImage(value: boolean);
|
|
1411
|
+
get sceneHasImage(): boolean;
|
|
1412
|
+
container: ElementRef<HTMLDivElement>;
|
|
1413
|
+
scene: Scene;
|
|
1414
|
+
camera: PerspectiveCamera;
|
|
1415
|
+
renderer: WebGLRenderer;
|
|
1416
|
+
imageWidth: number;
|
|
1417
|
+
imageHeight: number;
|
|
1418
|
+
private _sceneHasImage;
|
|
1419
|
+
private _placementMarker;
|
|
1420
|
+
private _needsRender;
|
|
1421
|
+
constructor(_objectsService: InphotoItemService);
|
|
1422
|
+
ngOnDestroy(): void;
|
|
1423
|
+
init(element: ElementRef<HTMLDivElement>): void;
|
|
1424
|
+
resize(width: number, height: number): void;
|
|
1425
|
+
getSceneAsImage(overlayCanvas?: HTMLCanvasElement): string;
|
|
1426
|
+
addObjectToScene(result: ArticleConfiguration): void;
|
|
1427
|
+
placeObject(object: Object3D): void;
|
|
1428
|
+
getObjectByUUID(uuid: string): Object3D | undefined;
|
|
1429
|
+
removeObject(object: Object3D): void;
|
|
1430
|
+
addFloorToScene(floorMesh: Mesh): void;
|
|
1431
|
+
addWallsToScene(wallMeshes: Mesh[]): void;
|
|
1432
|
+
setPlacementMarker(marker: Object3D | null): void;
|
|
1433
|
+
private _prepLights;
|
|
1434
|
+
private _animate;
|
|
1435
|
+
private _render;
|
|
1436
|
+
private _animateMarker;
|
|
1437
|
+
private _onResize;
|
|
1438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoSceneService, never>;
|
|
1439
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoSceneService>;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
declare class InphotoFontService {
|
|
1443
|
+
hudFont: Font;
|
|
1444
|
+
monospaceFont: Font;
|
|
1445
|
+
constructor();
|
|
1446
|
+
private _loadFont;
|
|
1447
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoFontService, never>;
|
|
1448
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoFontService>;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
declare class InphotoHudService implements OnDestroy {
|
|
1452
|
+
private _appEventService;
|
|
1453
|
+
private _sceneService;
|
|
1454
|
+
private _fontService;
|
|
1455
|
+
private _selectedItem;
|
|
1456
|
+
private _rotationHelper;
|
|
1457
|
+
private _subs;
|
|
1458
|
+
private _mouseover;
|
|
1459
|
+
private _rotating;
|
|
1460
|
+
constructor(_appEventService: InphotoEventService, _sceneService: InphotoSceneService, _fontService: InphotoFontService);
|
|
1461
|
+
ngOnDestroy(): void;
|
|
1462
|
+
update(force?: boolean): void;
|
|
1463
|
+
getRotationSnapperArea(): Object3D | null;
|
|
1464
|
+
getSelectedCenter(): Vector3 | null;
|
|
1465
|
+
setMouseOver(on: boolean): void;
|
|
1466
|
+
setRotating(on: boolean): void;
|
|
1467
|
+
private _applySceneUpdates;
|
|
1468
|
+
private _unselectItem;
|
|
1469
|
+
private _selectItem;
|
|
1470
|
+
private _resetSelectedItem;
|
|
1471
|
+
private _createRotationHelper;
|
|
1472
|
+
private _setColor;
|
|
1473
|
+
private _addToScene;
|
|
1474
|
+
private _removeRotationHelper;
|
|
1475
|
+
private _removeFromScene;
|
|
1476
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoHudService, never>;
|
|
1477
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoHudService>;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
declare enum InteractionMode {
|
|
1481
|
+
Move = "move",
|
|
1482
|
+
Rotate = "rotate"
|
|
1483
|
+
}
|
|
1484
|
+
declare class InphotoInteractionService implements OnDestroy {
|
|
1485
|
+
objectsService: InphotoItemService;
|
|
1486
|
+
private _sceneService;
|
|
1487
|
+
private _appEventService;
|
|
1488
|
+
private _hudService;
|
|
1489
|
+
mouse: Vector2;
|
|
1490
|
+
raycaster: Raycaster;
|
|
1491
|
+
lastMousePosition: Vector2;
|
|
1492
|
+
isDragging: boolean;
|
|
1493
|
+
dragOffset: Vector3;
|
|
1494
|
+
mode: InteractionMode;
|
|
1495
|
+
rotationSensitivity: number;
|
|
1496
|
+
isPlacing: boolean;
|
|
1497
|
+
placementLocked: boolean;
|
|
1498
|
+
private _camera;
|
|
1499
|
+
private _scene;
|
|
1500
|
+
private _renderer;
|
|
1501
|
+
private _placementMarker;
|
|
1502
|
+
private _placementPosition;
|
|
1503
|
+
private _placementNormal;
|
|
1504
|
+
constructor(objectsService: InphotoItemService, _sceneService: InphotoSceneService, _appEventService: InphotoEventService, _hudService: InphotoHudService);
|
|
1505
|
+
ngOnDestroy(): void;
|
|
1506
|
+
init(scene: Scene, camera: PerspectiveCamera, renderer: WebGLRenderer): void;
|
|
1507
|
+
setMode(mode: InteractionMode): void;
|
|
1508
|
+
onMouseUp(event: MouseEvent): void;
|
|
1509
|
+
onMouseDown(event: MouseEvent): void;
|
|
1510
|
+
handlePointerDown(event: MouseEvent): void;
|
|
1511
|
+
onMouseMove(event: MouseEvent): void;
|
|
1512
|
+
startPlacement(): void;
|
|
1513
|
+
endPlacement(): {
|
|
1514
|
+
position: Vector3;
|
|
1515
|
+
normal: Vector3;
|
|
1516
|
+
};
|
|
1517
|
+
private _clearPlacementMarker;
|
|
1518
|
+
private _floorHitFromEvent;
|
|
1519
|
+
private _moveMarkerTo;
|
|
1520
|
+
private _rotateByDrag;
|
|
1521
|
+
private _applyYRotation;
|
|
1522
|
+
updateMousePosition(event: MouseEvent): void;
|
|
1523
|
+
handleFurnitureHit(furniture: ArticleConfiguration): void;
|
|
1524
|
+
handlePlacement(object: Object3D, targetPosition?: Vector3, targetNormal?: Vector3): Object3D;
|
|
1525
|
+
makeItStick(yRotation: number): void;
|
|
1526
|
+
private _bindObjectToFloorBounds;
|
|
1527
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoInteractionService, never>;
|
|
1528
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoInteractionService>;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
declare class Image2DPlacementComponent implements AfterViewInit {
|
|
1532
|
+
private _interactionService;
|
|
1533
|
+
showClass(): boolean;
|
|
1534
|
+
canvas: ElementRef<HTMLCanvasElement>;
|
|
1535
|
+
set items(value: ArticleConfiguration[]);
|
|
1536
|
+
get items(): ArticleConfiguration[];
|
|
1537
|
+
set width(value: number);
|
|
1538
|
+
get width(): number;
|
|
1539
|
+
set height(value: number);
|
|
1540
|
+
get height(): number;
|
|
1541
|
+
imageSelected: EventEmitter<ArticleConfiguration>;
|
|
1542
|
+
imageDeselected: EventEmitter<void>;
|
|
1543
|
+
private _items;
|
|
1544
|
+
private _width;
|
|
1545
|
+
private _height;
|
|
1546
|
+
private _ctx;
|
|
1547
|
+
private _canvasReady;
|
|
1548
|
+
private _imageCache;
|
|
1549
|
+
private _loadedImageSourceByUuid;
|
|
1550
|
+
private _selectedItem;
|
|
1551
|
+
private _dragging;
|
|
1552
|
+
private _dragOffsetX;
|
|
1553
|
+
private _dragOffsetY;
|
|
1554
|
+
constructor(_interactionService: InphotoInteractionService);
|
|
1555
|
+
ngAfterViewInit(): void;
|
|
1556
|
+
getCanvasElement(): HTMLCanvasElement;
|
|
1557
|
+
refresh(): void;
|
|
1558
|
+
onMouseDown(event: MouseEvent): void;
|
|
1559
|
+
onMouseMove(event: MouseEvent): void;
|
|
1560
|
+
onMouseUp(): void;
|
|
1561
|
+
private _syncImageCache;
|
|
1562
|
+
private _loadImageForItem;
|
|
1563
|
+
private _applyDefaultScale;
|
|
1564
|
+
private _applyCanvasSize;
|
|
1565
|
+
private _hitTest;
|
|
1566
|
+
private _getBounds;
|
|
1567
|
+
private _isInsideBounds;
|
|
1568
|
+
private _uuidOf;
|
|
1569
|
+
private _transformOf;
|
|
1570
|
+
private _getCanvasCoords;
|
|
1571
|
+
private _setCursor;
|
|
1572
|
+
private _render;
|
|
1573
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Image2DPlacementComponent, never>;
|
|
1574
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Image2DPlacementComponent, "co-image-2d-placement", never, { "items": { "alias": "items"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "imageSelected": "imageSelected"; "imageDeselected": "imageDeselected"; }, never, never, false, never>;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
declare class InphotoThreedSceneComponent implements AfterViewInit, OnDestroy {
|
|
1404
1578
|
iconService: InphotoIconCacheService;
|
|
1579
|
+
objectsService: InphotoItemService;
|
|
1405
1580
|
private _interactionService;
|
|
1406
1581
|
private _sceneService;
|
|
1407
|
-
private _objectsService;
|
|
1408
1582
|
private _appEventService;
|
|
1409
1583
|
private _settingsService;
|
|
1410
1584
|
private _configuringService;
|
|
1411
1585
|
private _configuratorEventService;
|
|
1412
1586
|
private _cdk;
|
|
1587
|
+
private _renderConnectorService;
|
|
1588
|
+
private _renderService;
|
|
1589
|
+
private _renderEventService;
|
|
1590
|
+
private _errorService;
|
|
1413
1591
|
private _inphotoHudService;
|
|
1414
1592
|
readonly icons: typeof Icon;
|
|
1593
|
+
readonly RedesignMode: typeof RedesignMode;
|
|
1415
1594
|
showClass(): boolean;
|
|
1595
|
+
onResize(): void;
|
|
1416
1596
|
container: ElementRef<HTMLDivElement>;
|
|
1417
1597
|
sceneContainer: ElementRef<HTMLDivElement>;
|
|
1598
|
+
imageOverlayComponent: Image2DPlacementComponent;
|
|
1418
1599
|
set room(value: SceneBuildObject);
|
|
1419
1600
|
get room(): SceneBuildObject;
|
|
1420
1601
|
debug: boolean;
|
|
1421
|
-
startAiDecoration: EventEmitter<
|
|
1602
|
+
startAiDecoration: EventEmitter<AiRedesignInterface>;
|
|
1422
1603
|
startSegmentation: EventEmitter<string>;
|
|
1423
|
-
openCatalog: EventEmitter<
|
|
1604
|
+
openCatalog: EventEmitter<boolean>;
|
|
1424
1605
|
closeClick: EventEmitter<void>;
|
|
1425
1606
|
configuratorSettings: any;
|
|
1426
1607
|
configuratorSku: string;
|
|
1427
1608
|
configuratorInstanceId: string;
|
|
1428
1609
|
firstBuild: boolean;
|
|
1429
1610
|
loadConfigurator: boolean;
|
|
1430
|
-
showConfiguratorSideBar: boolean;
|
|
1431
1611
|
showWallOptions: boolean;
|
|
1432
1612
|
wallMarkers: {
|
|
1433
1613
|
x: number;
|
|
@@ -1442,26 +1622,39 @@ declare class InphotoThreedSceneComponent implements AfterViewInit {
|
|
|
1442
1622
|
uuid: string;
|
|
1443
1623
|
}[];
|
|
1444
1624
|
selectedFloorUuid: string | null;
|
|
1625
|
+
show2DImageOverlay: boolean;
|
|
1626
|
+
overlayWidth: number;
|
|
1627
|
+
overlayHeight: number;
|
|
1628
|
+
overlayLeft: number;
|
|
1629
|
+
overlayTop: number;
|
|
1630
|
+
showRenderLoader: boolean;
|
|
1631
|
+
loadingTexts: string[];
|
|
1632
|
+
private readonly _copyOffset2D;
|
|
1445
1633
|
private _room;
|
|
1446
1634
|
private _sceneReady;
|
|
1447
1635
|
private _currentArticleConfiguration;
|
|
1448
|
-
private _userActionNeeded;
|
|
1449
1636
|
private _subs;
|
|
1450
|
-
|
|
1637
|
+
private _pendingImageArticleConfiguration;
|
|
1638
|
+
private _pendingImageIsReconfigure;
|
|
1639
|
+
private _backgroundSize;
|
|
1640
|
+
constructor(iconService: InphotoIconCacheService, objectsService: InphotoItemService, _interactionService: InphotoInteractionService, _sceneService: InphotoSceneService, _appEventService: InphotoEventService, _settingsService: InphotoSettingsService, _configuringService: ConfiguringService, _configuratorEventService: ConfiguratorEventService, _cdk: ChangeDetectorRef, _renderConnectorService: RenderConnectorService, _renderService: RenderService, _renderEventService: RenderEventService, _errorService: ErrorService, _inphotoHudService: InphotoHudService);
|
|
1451
1641
|
ngAfterViewInit(): void;
|
|
1642
|
+
ngOnDestroy(): void;
|
|
1452
1643
|
init(): void;
|
|
1453
1644
|
set currentArticleConfiguration(value: ArticleConfiguration);
|
|
1454
1645
|
get currentArticleConfiguration(): ArticleConfiguration;
|
|
1455
1646
|
handleCancelClick(): void;
|
|
1456
|
-
handleOpenCatalog(): void;
|
|
1647
|
+
handleOpenCatalog(is2D?: boolean): void;
|
|
1457
1648
|
setBackgroundImage(url: string): void;
|
|
1458
1649
|
handleConfigureObjectClick(articleConfiguration: ArticleConfiguration): void;
|
|
1459
1650
|
handleObjectScaleClick(articleConfiguration: ArticleConfiguration): void;
|
|
1651
|
+
handleCopyObject(articleConfiguration: ArticleConfiguration): void;
|
|
1460
1652
|
handleDeleteObject(articleConfiguration: ArticleConfiguration): void;
|
|
1461
1653
|
showConfiguratorChange(show: boolean): void;
|
|
1462
1654
|
handleChangeObjectScale(scale: Vector3): void;
|
|
1463
|
-
|
|
1464
|
-
|
|
1655
|
+
handle2DImageSelected(articleConfiguration: ArticleConfiguration): void;
|
|
1656
|
+
handle2DImageDeselected(): void;
|
|
1657
|
+
handleThreedToAi(mode: RedesignMode): void;
|
|
1465
1658
|
handleSegmentationClick(): void;
|
|
1466
1659
|
handleShowWallOptions(): void;
|
|
1467
1660
|
handleShowFloorOptions(): void;
|
|
@@ -1471,12 +1664,29 @@ declare class InphotoThreedSceneComponent implements AfterViewInit {
|
|
|
1471
1664
|
private _getMarkersForMeshType;
|
|
1472
1665
|
private _getMeshesByType;
|
|
1473
1666
|
private _worldPositionToContainerPixel;
|
|
1667
|
+
private _applyBackgroundSize;
|
|
1668
|
+
private _getViewportFittedSize;
|
|
1669
|
+
private _updateOverlayCanvasRect;
|
|
1670
|
+
private _getOverlayCanvasForMerge;
|
|
1474
1671
|
private _addArticleToScene;
|
|
1475
1672
|
private _prepareSettings;
|
|
1476
1673
|
private _handleFirstBuild;
|
|
1477
1674
|
private _handleBuildResult;
|
|
1675
|
+
private _handleReconfigure2DImage;
|
|
1478
1676
|
private _continueConfiguration;
|
|
1677
|
+
private _copy3DObject;
|
|
1678
|
+
private _copy2DImage;
|
|
1679
|
+
private _copyArticleConfiguration;
|
|
1680
|
+
private _cloneUserData;
|
|
1681
|
+
private _selectObject;
|
|
1682
|
+
private _setConfiguratorArticle;
|
|
1683
|
+
private _handleArticleNotFound;
|
|
1479
1684
|
private _resetConfigurator;
|
|
1685
|
+
private _handleCreateRender;
|
|
1686
|
+
private _handleRenderFailed;
|
|
1687
|
+
private _handleRenderResult;
|
|
1688
|
+
private _createNewPlacement2D;
|
|
1689
|
+
private _createStubFromPlacement;
|
|
1480
1690
|
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoThreedSceneComponent, never>;
|
|
1481
1691
|
static ɵcmp: i0.ɵɵComponentDeclaration<InphotoThreedSceneComponent, "co-inphoto-threed-scene", never, { "room": { "alias": "room"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "startAiDecoration": "startAiDecoration"; "startSegmentation": "startSegmentation"; "openCatalog": "openCatalog"; "closeClick": "closeClick"; }, never, never, false, never>;
|
|
1482
1692
|
}
|
|
@@ -1491,11 +1701,15 @@ declare class SceneContextMenuComponent implements OnDestroy {
|
|
|
1491
1701
|
copyObject: EventEmitter<ArticleConfiguration>;
|
|
1492
1702
|
scaleObject: EventEmitter<ArticleConfiguration>;
|
|
1493
1703
|
deleteObject: EventEmitter<ArticleConfiguration>;
|
|
1704
|
+
updateObjectScale: EventEmitter<Vector3>;
|
|
1494
1705
|
activeItem: 'move' | 'rotate' | null;
|
|
1706
|
+
isSelected2D: boolean;
|
|
1707
|
+
showScaleDialog: boolean;
|
|
1495
1708
|
articleName: string;
|
|
1496
1709
|
showContextMenu: boolean;
|
|
1497
1710
|
private _subs;
|
|
1498
1711
|
private _articleConfiguration;
|
|
1712
|
+
get articleConfiguration(): ArticleConfiguration;
|
|
1499
1713
|
constructor(iconService: InphotoIconCacheService, _appEventService: InphotoEventService, _interactionService: InphotoInteractionService);
|
|
1500
1714
|
ngOnDestroy(): void;
|
|
1501
1715
|
handleMovementClick(): void;
|
|
@@ -1507,19 +1721,16 @@ declare class SceneContextMenuComponent implements OnDestroy {
|
|
|
1507
1721
|
setArticleConfiguration(article: ArticleConfiguration): void;
|
|
1508
1722
|
closeMenu(): void;
|
|
1509
1723
|
static ɵfac: i0.ɵɵFactoryDeclaration<SceneContextMenuComponent, never>;
|
|
1510
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SceneContextMenuComponent, "co-scene-context-menu", never, {}, { "configureObject": "configureObject"; "copyObject": "copyObject"; "scaleObject": "scaleObject"; "deleteObject": "deleteObject"; }, never, never, false, never>;
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
declare class SceneContextMenuModule {
|
|
1514
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneContextMenuModule, never>;
|
|
1515
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SceneContextMenuModule, [typeof SceneContextMenuComponent], [typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule], [typeof SceneContextMenuComponent]>;
|
|
1516
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SceneContextMenuModule>;
|
|
1724
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SceneContextMenuComponent, "co-scene-context-menu", never, {}, { "configureObject": "configureObject"; "copyObject": "copyObject"; "scaleObject": "scaleObject"; "deleteObject": "deleteObject"; "updateObjectScale": "updateObjectScale"; }, never, never, false, never>;
|
|
1517
1725
|
}
|
|
1518
1726
|
|
|
1519
|
-
declare class
|
|
1727
|
+
declare class ScaleDialogComponent implements OnDestroy {
|
|
1520
1728
|
iconService: InphotoIconCacheService;
|
|
1521
1729
|
private _eventService;
|
|
1522
1730
|
readonly icons: typeof Icon;
|
|
1731
|
+
readonly minScale: number;
|
|
1732
|
+
readonly maxScale: number;
|
|
1733
|
+
readonly scaleStep: number;
|
|
1523
1734
|
showClass(): boolean;
|
|
1524
1735
|
set item(value: ArticleConfiguration);
|
|
1525
1736
|
get item(): ArticleConfiguration;
|
|
@@ -1537,14 +1748,21 @@ declare class ConfigurationSideBarMenuComponent implements OnDestroy {
|
|
|
1537
1748
|
onScaleSingleAxis(event: Event): void;
|
|
1538
1749
|
handleCloseClick(): void;
|
|
1539
1750
|
private _setProperties;
|
|
1540
|
-
|
|
1541
|
-
static
|
|
1751
|
+
private _round;
|
|
1752
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleDialogComponent, never>;
|
|
1753
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleDialogComponent, "co-scale-dialog", never, { "item": { "alias": "item"; "required": false; }; }, { "updateObjectScale": "updateObjectScale"; "closeClick": "closeClick"; }, never, never, false, never>;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
declare class ScaleDialogModule {
|
|
1757
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleDialogModule, never>;
|
|
1758
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScaleDialogModule, [typeof ScaleDialogComponent], [typeof i4.FormsModule, typeof PipeModule, typeof i2.IconModule, typeof i2.ButtonModule], [typeof ScaleDialogComponent]>;
|
|
1759
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScaleDialogModule>;
|
|
1542
1760
|
}
|
|
1543
1761
|
|
|
1544
|
-
declare class
|
|
1545
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1546
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
1547
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
1762
|
+
declare class SceneContextMenuModule {
|
|
1763
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneContextMenuModule, never>;
|
|
1764
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SceneContextMenuModule, [typeof SceneContextMenuComponent], [typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule, typeof ScaleDialogModule], [typeof SceneContextMenuComponent]>;
|
|
1765
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SceneContextMenuModule>;
|
|
1548
1766
|
}
|
|
1549
1767
|
|
|
1550
1768
|
declare class MarkerComponent {
|
|
@@ -1566,9 +1784,15 @@ declare class MarkerModule {
|
|
|
1566
1784
|
static ɵinj: i0.ɵɵInjectorDeclaration<MarkerModule>;
|
|
1567
1785
|
}
|
|
1568
1786
|
|
|
1787
|
+
declare class Image2DPlacementModule {
|
|
1788
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Image2DPlacementModule, never>;
|
|
1789
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Image2DPlacementModule, [typeof Image2DPlacementComponent], never, [typeof Image2DPlacementComponent]>;
|
|
1790
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<Image2DPlacementModule>;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1569
1793
|
declare class InphotoThreedsceneModule {
|
|
1570
1794
|
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoThreedsceneModule, never>;
|
|
1571
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InphotoThreedsceneModule, [typeof InphotoThreedSceneComponent], [typeof ImageUploadModule, typeof i2.ButtonModule, typeof PipeModule, typeof InphotoCatalogModule, typeof i2.IconModule, typeof i6.ConfiguratorModule, typeof SceneContextMenuModule, typeof
|
|
1795
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InphotoThreedsceneModule, [typeof InphotoThreedSceneComponent], [typeof ImageUploadModule, typeof i2.ButtonModule, typeof PipeModule, typeof InphotoCatalogModule, typeof i2.IconModule, typeof i6.ConfiguratorModule, typeof SceneContextMenuModule, typeof SidePanelModule, typeof StepTileModule, typeof ProcessLoaderModule, typeof MarkerModule, typeof AiPromptModule, typeof Image2DPlacementModule], [typeof InphotoThreedSceneComponent]>;
|
|
1572
1796
|
static ɵinj: i0.ɵɵInjectorDeclaration<InphotoThreedsceneModule>;
|
|
1573
1797
|
}
|
|
1574
1798
|
|
|
@@ -1626,13 +1850,16 @@ declare class AppInitializerService {
|
|
|
1626
1850
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
|
|
1627
1851
|
}
|
|
1628
1852
|
|
|
1629
|
-
declare class InPhotoComponent {
|
|
1853
|
+
declare class InPhotoComponent implements OnDestroy {
|
|
1630
1854
|
appInitializerService: AppInitializerService;
|
|
1631
1855
|
appEventService: InphotoEventService;
|
|
1632
1856
|
private _cdk;
|
|
1633
1857
|
private _dataService;
|
|
1858
|
+
readonly catalogMenuOptionIds: number[];
|
|
1859
|
+
readonly noMenuOptionIds: number[];
|
|
1634
1860
|
showClass(): boolean;
|
|
1635
1861
|
set settings(input: any);
|
|
1862
|
+
set image(value: string);
|
|
1636
1863
|
debug: boolean;
|
|
1637
1864
|
set useMockRoomData(value: boolean);
|
|
1638
1865
|
showImageUpload: boolean;
|
|
@@ -1645,31 +1872,34 @@ declare class InPhotoComponent {
|
|
|
1645
1872
|
uploadedImage: string;
|
|
1646
1873
|
preparedImage: string;
|
|
1647
1874
|
aiDecorationImage: string;
|
|
1875
|
+
aiDecorationMode: RedesignMode;
|
|
1648
1876
|
roomData: SceneBuildObject;
|
|
1649
1877
|
segmentImage: string;
|
|
1878
|
+
private _subs;
|
|
1650
1879
|
constructor(appInitializerService: AppInitializerService, appEventService: InphotoEventService, _cdk: ChangeDetectorRef, _dataService: InphotoDataService);
|
|
1880
|
+
ngOnDestroy(): void;
|
|
1651
1881
|
private _createMockSceneBuildObject;
|
|
1652
1882
|
handleCancelClick(): void;
|
|
1653
1883
|
startPoint(): void;
|
|
1654
1884
|
handleImageUpload(image: string): void;
|
|
1655
|
-
handleProcessedRoom(roomData: SceneBuildObject): void;
|
|
1656
1885
|
handleStart3D(data: SceneBuildObject): void;
|
|
1657
1886
|
handleSegmentationJob(image: string): void;
|
|
1658
1887
|
handleSegmentOutput(image: string): void;
|
|
1659
1888
|
handleCancelSegmentClick(): void;
|
|
1660
1889
|
handleMenuChange(event: any): void;
|
|
1661
|
-
handleAiDecoration(
|
|
1890
|
+
handleAiDecoration(data: AiRedesignInterface): void;
|
|
1662
1891
|
handleCancelCompleteClick(): void;
|
|
1663
1892
|
closeReadyToOpen(): void;
|
|
1664
|
-
handleOpenCatalog(): void;
|
|
1893
|
+
handleOpenCatalog(is2D?: boolean): void;
|
|
1665
1894
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoComponent, never>;
|
|
1666
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InPhotoComponent, "co-inphoto", never, { "settings": { "alias": "settings"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "useMockRoomData": { "alias": "useMockRoomData"; "required": false; }; }, {}, never, never, false, never>;
|
|
1895
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InPhotoComponent, "co-inphoto", never, { "settings": { "alias": "settings"; "required": false; }; "image": { "alias": "image"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "useMockRoomData": { "alias": "useMockRoomData"; "required": false; }; }, {}, never, never, false, never>;
|
|
1667
1896
|
}
|
|
1668
1897
|
|
|
1669
1898
|
declare enum SegmentationType {
|
|
1670
1899
|
Yolo = "yolo",
|
|
1671
1900
|
Click = "click",
|
|
1672
|
-
Manual = "manual"
|
|
1901
|
+
Manual = "manual",
|
|
1902
|
+
Auto = "auto"
|
|
1673
1903
|
}
|
|
1674
1904
|
|
|
1675
1905
|
interface SegmentationJob {
|
|
@@ -1678,17 +1908,19 @@ interface SegmentationJob {
|
|
|
1678
1908
|
segmentationType: SegmentationType;
|
|
1679
1909
|
}
|
|
1680
1910
|
|
|
1681
|
-
declare class SegmentInpaintComponent {
|
|
1911
|
+
declare class SegmentInpaintComponent implements OnDestroy {
|
|
1682
1912
|
iconService: InphotoIconCacheService;
|
|
1683
1913
|
private _connectorService;
|
|
1684
1914
|
private _loaderService;
|
|
1915
|
+
private _errorService;
|
|
1916
|
+
private _dataService;
|
|
1917
|
+
private _eventService;
|
|
1685
1918
|
readonly icons: typeof Icon;
|
|
1686
1919
|
readonly SegmentationType: typeof SegmentationType;
|
|
1687
1920
|
showClass(): boolean;
|
|
1688
1921
|
set image(value: string);
|
|
1689
1922
|
get image(): string;
|
|
1690
|
-
|
|
1691
|
-
preparedImage: EventEmitter<string>;
|
|
1923
|
+
backToEditMenuClick: EventEmitter<string>;
|
|
1692
1924
|
segmentationInPaintingData: any;
|
|
1693
1925
|
canvasInPaint: boolean;
|
|
1694
1926
|
inpaintClick: boolean;
|
|
@@ -1701,67 +1933,38 @@ declare class SegmentInpaintComponent {
|
|
|
1701
1933
|
segmentMode: SegmentationType;
|
|
1702
1934
|
brushSize: number;
|
|
1703
1935
|
segmentationObjects: SegmentationObject[];
|
|
1936
|
+
clearButtonDisabled: boolean;
|
|
1704
1937
|
private _image;
|
|
1705
1938
|
private _inpaintImageState;
|
|
1706
|
-
|
|
1939
|
+
private _subs;
|
|
1940
|
+
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _loaderService: LoaderService, _errorService: ErrorService, _dataService: InphotoDataService, _eventService: InphotoEventService);
|
|
1941
|
+
ngOnDestroy(): void;
|
|
1707
1942
|
handleSegmentationClick(): void;
|
|
1708
1943
|
handleSegmentationMask(): void;
|
|
1709
1944
|
handleSegmentationObject(): void;
|
|
1710
|
-
|
|
1945
|
+
handleBackToEditMenu(): void;
|
|
1711
1946
|
toggleEraseMode(erase: boolean): void;
|
|
1712
1947
|
toggleDragMode(value: boolean): void;
|
|
1713
1948
|
handleSegmentationPointClick(event: SegmentationPoint): void;
|
|
1714
1949
|
processInpainted(): void;
|
|
1950
|
+
handleSetImageFromHistory(image: string): void;
|
|
1951
|
+
handleEditIn3DFromHistory(image: string): void;
|
|
1715
1952
|
handleImageStateChange(image: string): void;
|
|
1716
1953
|
handleChangeBrushSize(size: number): void;
|
|
1954
|
+
handleAutoSegmentation(): void;
|
|
1955
|
+
private _handleError;
|
|
1956
|
+
private _resetSegmentation;
|
|
1717
1957
|
private _handleLoader;
|
|
1718
1958
|
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentInpaintComponent, never>;
|
|
1719
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentInpaintComponent, "co-segment-inpaint", never, { "image": { "alias": "image"; "required": false; }; }, { "
|
|
1959
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentInpaintComponent, "co-segment-inpaint", never, { "image": { "alias": "image"; "required": false; }; }, { "backToEditMenuClick": "backToEditMenuClick"; }, never, never, false, never>;
|
|
1720
1960
|
}
|
|
1721
1961
|
|
|
1722
1962
|
declare class SegmentInpaintModule {
|
|
1723
1963
|
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentInpaintModule, never>;
|
|
1724
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentInpaintModule, [typeof SegmentInpaintComponent], [typeof EditCanvasModule, typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule, typeof ProcessLoaderModule, typeof CanvasToolBarModule, typeof StepTileModule, typeof HeaderModule, typeof SidePanelModule], [typeof SegmentInpaintComponent]>;
|
|
1964
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentInpaintModule, [typeof SegmentInpaintComponent], [typeof EditCanvasModule, typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule, typeof ProcessLoaderModule, typeof CanvasToolBarModule, typeof StepTileModule, typeof HeaderModule, typeof SidePanelModule, typeof ImageHistoryModule], [typeof SegmentInpaintComponent]>;
|
|
1725
1965
|
static ɵinj: i0.ɵɵInjectorDeclaration<SegmentInpaintModule>;
|
|
1726
1966
|
}
|
|
1727
1967
|
|
|
1728
|
-
declare class ImageProcessCompleteComponent {
|
|
1729
|
-
iconService: InphotoIconCacheService;
|
|
1730
|
-
private _connectorService;
|
|
1731
|
-
private _appEventService;
|
|
1732
|
-
private _dataService;
|
|
1733
|
-
readonly icons: typeof Icon;
|
|
1734
|
-
showClass(): boolean;
|
|
1735
|
-
set image(value: string);
|
|
1736
|
-
get image(): string;
|
|
1737
|
-
handleStart3D: EventEmitter<SceneBuildObject>;
|
|
1738
|
-
handleAiDecorationClicked: EventEmitter<string>;
|
|
1739
|
-
startSegmentation: EventEmitter<string>;
|
|
1740
|
-
cancelClick: EventEmitter<void>;
|
|
1741
|
-
showLoader: boolean;
|
|
1742
|
-
loadingTexts: string[];
|
|
1743
|
-
private _image;
|
|
1744
|
-
private _subs;
|
|
1745
|
-
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _appEventService: InphotoEventService, _dataService: InphotoDataService);
|
|
1746
|
-
handleSetImage(): void;
|
|
1747
|
-
handle3DClick(): void;
|
|
1748
|
-
handleAiClick(): void;
|
|
1749
|
-
handleContinueSegmentationClick(): void;
|
|
1750
|
-
handleEditIn3DFromHistory(image: string): void;
|
|
1751
|
-
handleRemoveObjectsFromHistory(image: string): void;
|
|
1752
|
-
handleCancelClick(): void;
|
|
1753
|
-
private _handleRoomReceived;
|
|
1754
|
-
private _startRoomGeneration;
|
|
1755
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageProcessCompleteComponent, never>;
|
|
1756
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageProcessCompleteComponent, "co-image-process-complete", never, { "image": { "alias": "image"; "required": false; }; }, { "handleStart3D": "handleStart3D"; "handleAiDecorationClicked": "handleAiDecorationClicked"; "startSegmentation": "startSegmentation"; "cancelClick": "cancelClick"; }, never, never, false, never>;
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
declare class ImageProcessCompleteModule {
|
|
1760
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageProcessCompleteModule, never>;
|
|
1761
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageProcessCompleteModule, [typeof ImageProcessCompleteComponent], [typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule, typeof ProcessLoaderModule, typeof StepTileModule, typeof HeaderModule, typeof SidePanelModule, typeof ImageHistoryModule], [typeof ImageProcessCompleteComponent]>;
|
|
1762
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ImageProcessCompleteModule>;
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
1968
|
interface SideBarMenuOption {
|
|
1766
1969
|
id: number;
|
|
1767
1970
|
labelKey: string;
|
|
@@ -1772,13 +1975,14 @@ declare class SideBarMenuComponent {
|
|
|
1772
1975
|
iconService: InphotoIconCacheService;
|
|
1773
1976
|
readonly icons: typeof Icon;
|
|
1774
1977
|
showClass(): boolean;
|
|
1978
|
+
set disabledOptionIds(value: number[]);
|
|
1775
1979
|
optionClicked: EventEmitter<SideBarMenuOption>;
|
|
1776
1980
|
options: SideBarMenuOption[];
|
|
1777
1981
|
activeId: number;
|
|
1778
1982
|
constructor(iconService: InphotoIconCacheService);
|
|
1779
1983
|
select(option: SideBarMenuOption): void;
|
|
1780
1984
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideBarMenuComponent, never>;
|
|
1781
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideBarMenuComponent, "co-side-bar-menu", never, {}, { "optionClicked": "optionClicked"; }, never, never, false, never>;
|
|
1985
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideBarMenuComponent, "co-side-bar-menu", never, { "disabledOptionIds": { "alias": "disabledOptionIds"; "required": false; }; }, { "optionClicked": "optionClicked"; }, never, never, false, never>;
|
|
1782
1986
|
}
|
|
1783
1987
|
|
|
1784
1988
|
declare class SideBarMenuModule {
|
|
@@ -1789,7 +1993,7 @@ declare class SideBarMenuModule {
|
|
|
1789
1993
|
|
|
1790
1994
|
declare class InPhotoModule {
|
|
1791
1995
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoModule, never>;
|
|
1792
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InPhotoModule, [typeof InPhotoComponent], [typeof UploadStartingImageModule, typeof ErrorDialogModule, typeof ProcessLoaderModule, typeof PrepareStartingImageModule, typeof InphotoThreedsceneModule, typeof PhotoEditorModule, typeof EditCanvasModule, typeof SegmentInpaintModule, typeof
|
|
1996
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InPhotoModule, [typeof InPhotoComponent], [typeof UploadStartingImageModule, typeof ErrorDialogModule, typeof ProcessLoaderModule, typeof PrepareStartingImageModule, typeof InphotoThreedsceneModule, typeof PhotoEditorModule, typeof EditCanvasModule, typeof SegmentInpaintModule, typeof SideBarMenuModule, typeof InphotoCatalogModule], [typeof InPhotoComponent]>;
|
|
1793
1997
|
static ɵinj: i0.ɵɵInjectorDeclaration<InPhotoModule>;
|
|
1794
1998
|
}
|
|
1795
1999
|
|