@colijnit/inphoto 262.1.1 → 300.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/inphoto-select-all.png +0 -0
- package/assets/inphoto-single-select.png +0 -0
- package/fesm2022/colijnit-inphoto.mjs +5126 -1933
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/angle_down_solid_full.svg +1 -0
- package/icons/angle_up_solid_full.svg +1 -0
- package/icons/arrow_left_solid_full.svg +1 -0
- package/icons/arrow_right_solid_full.svg +1 -0
- package/icons/arrow_rotate_left_solid_full.svg +1 -0
- package/icons/arrow_up_from_bracket_solid.svg +1 -0
- package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
- package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
- package/icons/brush_solid_full.svg +1 -0
- package/icons/caret_down_solid_full.svg +1 -0
- package/icons/caret_up_solid_full.svg +1 -0
- package/icons/check_solid_full.svg +1 -0
- package/icons/circle_info_regular_full.svg +1 -0
- package/icons/cloud_arrow_up_regular.svg +1 -0
- package/icons/copy_light.svg +1 -0
- package/icons/couch_solid_full.svg +1 -0
- package/icons/cross_skinny.svg +1 -0
- package/icons/cube_regular_full.svg +1 -0
- package/icons/draw_square_regular.svg +1 -0
- package/icons/eraser_regular.svg +1 -0
- package/icons/eraser_solid_full.svg +1 -0
- package/icons/file_vector_light.svg +1 -0
- package/icons/fill_solid_full.svg +1 -0
- package/icons/grip_dots_vertical_solid.svg +1 -0
- package/icons/grip_vertical_sharp_solid.svg +1 -0
- package/icons/image_circle_arrow_down_solid_full.svg +1 -0
- package/icons/image_circle_xmark_solid_full.svg +1 -0
- package/icons/image_solid_full.svg +1 -0
- package/icons/images_sharp_solid_full.svg +1 -0
- package/icons/info_solid_full.svg +1 -0
- package/icons/lightbulb_regular_full.svg +1 -0
- package/icons/paintbrush_regular.svg +1 -0
- package/icons/pen_to_square_solid_full.svg +1 -0
- package/icons/rotate_left_sharp_solid_full.svg +1 -0
- package/icons/rotate_solid_full.svg +1 -0
- package/icons/save_skinny.svg +3 -0
- package/icons/scale.svg +1 -0
- package/icons/sharp_regular_object_group_pen.svg +1 -0
- package/icons/sparkles_regular_full.svg +1 -0
- package/icons/trash_can_light.svg +1 -0
- package/icons/up_down_left_right_solid_full.svg +1 -0
- package/icons/upload_solid_full.svg +1 -0
- package/icons/wand_magic_sparkles.svg +1 -0
- package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
- package/icons/xmark_solid_full.svg +1 -0
- package/index.d.ts +817 -334
- package/lib/component/ai-prompt/style/_layout.scss +125 -0
- package/lib/component/ai-prompt/style/_theme.scss +9 -0
- package/lib/component/back-next-buttons/style/_layout.scss +2 -2
- package/lib/component/back-next-buttons/style/_theme.scss +32 -22
- package/lib/component/canvas-tool-bar/style/_layout.scss +129 -0
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
- package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
- package/lib/component/catalog/style/_layout.scss +8 -35
- package/lib/component/catalog/style/_material-definition.scss +2 -1
- package/lib/component/catalog/style/_theme.scss +41 -7
- package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
- package/lib/component/edit-canvas/style/_layout.scss +10 -38
- package/lib/component/edit-canvas/style/_theme.scss +2 -27
- package/lib/component/error-dialog/style/_layout.scss +5 -6
- package/lib/component/error-dialog/style/_theme.scss +2 -2
- package/lib/component/image-enhancer/style/_layout.scss +51 -15
- package/lib/component/image-enhancer/style/_theme.scss +12 -12
- package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
- package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
- package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
- package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
- package/lib/component/image-history/style/_layout.scss +52 -13
- package/lib/component/image-history/style/_theme.scss +19 -7
- package/lib/component/image-history-tile/style/_layout.scss +46 -32
- package/lib/component/image-history-tile/style/_theme.scss +4 -4
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +44 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
- package/lib/component/image-process-complete/style/_layout.scss +50 -0
- package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/style/_theme.scss +61 -0
- package/lib/component/image-process-complete/style/material.scss +3 -0
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
- package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
- package/lib/component/image-tile/style/_layout.scss +100 -0
- package/lib/component/image-tile/style/_material-definition.scss +3 -0
- package/lib/component/image-tile/style/_theme.scss +8 -0
- package/lib/component/image-tile/style/material.scss +3 -0
- package/lib/component/image-upload/style/_layout.scss +34 -18
- package/lib/component/image-upload/style/_material-definition.scss +3 -3
- package/lib/component/image-upload/style/_theme.scss +29 -20
- package/lib/component/inphoto/style/_layout.scss +2 -10
- package/lib/component/inphoto/style/_theme.scss +2 -2
- package/lib/component/photo-editor/style/_layout.scss +19 -24
- package/lib/component/photo-editor/style/_theme.scss +2 -2
- package/lib/component/prepare-starting-image/style/_layout.scss +106 -24
- package/lib/component/prepare-starting-image/style/_theme.scss +2 -65
- package/lib/component/process-loader/style/_layout.scss +50 -16
- package/lib/component/process-loader/style/_theme.scss +2 -12
- package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
- package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
- package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
- package/lib/component/ready-to-add-articles/style/material.scss +3 -0
- package/lib/component/scene-context-menu/style/_layout.scss +90 -0
- package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
- package/lib/component/scene-context-menu/style/_theme.scss +8 -0
- package/lib/component/scene-context-menu/style/material.scss +3 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
- package/lib/component/segment-inpaint/style/_layout.scss +52 -0
- package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
- package/lib/component/segment-inpaint/style/_theme.scss +11 -0
- package/lib/component/segment-inpaint/style/material.scss +3 -0
- package/lib/component/side-bar-menu/style/_layout.scss +24 -19
- package/lib/component/side-bar-menu/style/_theme.scss +2 -15
- package/lib/component/threed-to-ai/style/_layout.scss +38 -0
- package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
- package/lib/component/threed-to-ai/style/_theme.scss +6 -0
- package/lib/component/threed-to-ai/style/material.scss +3 -0
- package/lib/component/threedscene/style/_layout.scss +12 -41
- package/lib/component/threedscene/style/_theme.scss +3 -33
- package/lib/component/upload-starting-image/style/_layout.scss +40 -31
- package/lib/component/upload-starting-image/style/_theme.scss +31 -13
- package/lib/style/_index.scss +2 -0
- package/lib/style/_mixin.scss +28 -0
- package/lib/style/_variables.scss +38 -33
- package/lib/style/inphoto-globals.scss +15 -0
- package/package.json +6 -6
- package/lib/component/model-list/style/_layout.scss +0 -7
- package/lib/component/model-list/style/_theme.scss +0 -10
- package/lib/component/model-list-item/style/_material-definition.scss +0 -4
- package/lib/component/model-list-item/style/_theme.scss +0 -10
- package/lib/component/step-menu/style/_layout.scss +0 -43
- package/lib/component/step-menu/style/_material-definition.scss +0 -7
- package/lib/component/step-menu/style/_theme.scss +0 -44
- package/lib/style/app-globals.scss +0 -26
- /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
- /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
- /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
- /package/lib/component/{step-menu → configuration-side-bar-menu}/style/material.scss +0 -0
package/index.d.ts
CHANGED
|
@@ -18,12 +18,13 @@ import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
|
18
18
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
19
19
|
import { ExternalCatalogStartupInfoRequest } from '@colijnit/articleapi/build/model/external-catalog-startup-info-request';
|
|
20
20
|
import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/external-catalog-startup-info';
|
|
21
|
-
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
22
21
|
import * as i7 from '@colijnit/configurator';
|
|
23
22
|
import { ConfigurationResultObject, ConfiguringService, ConfiguratorEventService } from '@colijnit/configurator';
|
|
23
|
+
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
24
|
+
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
24
25
|
import * as i2$1 from '@angular/forms';
|
|
25
|
-
import { Router } from '@angular/router';
|
|
26
26
|
import * as i4 from '@angular/common';
|
|
27
|
+
import * as i5 from '@colijnit/utilities';
|
|
27
28
|
|
|
28
29
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
29
30
|
declare enum Icon {
|
|
@@ -36,22 +37,45 @@ declare enum Icon {
|
|
|
36
37
|
ArrowUpRightAndArrowDownLeftFromCenterSolidFull = "arrow_up_right_and_arrow_down_left_from_center_solid_full",
|
|
37
38
|
ArrowUpToBracketDuotoneRegular = "arrow_up_to_bracket_duotone_regular",
|
|
38
39
|
BrushSolidFull = "brush_solid_full",
|
|
40
|
+
CaretDownSolidFull = "caret_down_solid_full",
|
|
41
|
+
CaretUpSolidFull = "caret_up_solid_full",
|
|
42
|
+
CheckSolidFull = "check_solid_full",
|
|
43
|
+
CircleInfoRegularFull = "circle_info_regular_full",
|
|
44
|
+
CloudArrowUpRegular = "cloud_arrow_up_regular",
|
|
45
|
+
CopyLight = "copy_light",
|
|
39
46
|
CouchSolidFull = "couch_solid_full",
|
|
40
47
|
CrossSkinny = "cross_skinny",
|
|
48
|
+
CubeRegularFull = "cube_regular_full",
|
|
49
|
+
DrawSquareRegular = "draw_square_regular",
|
|
50
|
+
EraserRegular = "eraser_regular",
|
|
51
|
+
EraserSolidFull = "eraser_solid_full",
|
|
52
|
+
FileVectorLight = "file_vector_light",
|
|
41
53
|
FillSolidFull = "fill_solid_full",
|
|
54
|
+
GripDotsVerticalSolid = "grip_dots_vertical_solid",
|
|
55
|
+
GripVerticalSharpSolid = "grip_vertical_sharp_solid",
|
|
42
56
|
ImagesSharpSolidFull = "images_sharp_solid_full",
|
|
43
57
|
ImageCircleArrowDownSolidFull = "image_circle_arrow_down_solid_full",
|
|
44
58
|
ImageCircleXmarkSolidFull = "image_circle_xmark_solid_full",
|
|
45
59
|
ImageSolidFull = "image_solid_full",
|
|
60
|
+
InfoSolidFull = "info_solid_full",
|
|
46
61
|
LightbulbRegularFull = "lightbulb_regular_full",
|
|
62
|
+
PaintbrushRegular = "paintbrush_regular",
|
|
47
63
|
PenToSquareSolidFull = "pen_to_square_solid_full",
|
|
64
|
+
RotateLeftSharpSolidFull = "rotate_left_sharp_solid_full",
|
|
65
|
+
RotateSolidFull = "rotate_solid_full",
|
|
48
66
|
SaveSkinny = "save_skinny",
|
|
67
|
+
Scale = "scale",
|
|
49
68
|
SharpRegularObjectGroupPen = "sharp_regular_object_group_pen",
|
|
69
|
+
SparklesRegularFull = "sparkles_regular_full",
|
|
70
|
+
TrashCanLight = "trash_can_light",
|
|
50
71
|
UploadSolidFull = "upload_solid_full",
|
|
51
|
-
|
|
72
|
+
UpDownLeftRightSolidFull = "up_down_left_right_solid_full",
|
|
73
|
+
WandMagicSparkles = "wand_magic_sparkles",
|
|
74
|
+
WandMagicSparklesSharpRegular = "wand_magic_sparkles_sharp_regular",
|
|
75
|
+
XmarkSolidFull = "xmark_solid_full"
|
|
52
76
|
}
|
|
53
77
|
|
|
54
|
-
declare class
|
|
78
|
+
declare class InphotoIconCacheService {
|
|
55
79
|
private _sanitizer;
|
|
56
80
|
/**
|
|
57
81
|
* All the icons as a large JSON object, from the all-icons.json file.
|
|
@@ -66,12 +90,12 @@ declare class IconCacheService {
|
|
|
66
90
|
getIconAsBase64(iconName: Icon): SafeHtml;
|
|
67
91
|
getRawIcon(iconName: Icon): string;
|
|
68
92
|
setIconCache(): void;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
70
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoIconCacheService, never>;
|
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoIconCacheService>;
|
|
71
95
|
}
|
|
72
96
|
|
|
73
97
|
declare class BackNextButtonsComponent {
|
|
74
|
-
iconService:
|
|
98
|
+
iconService: InphotoIconCacheService;
|
|
75
99
|
readonly icons: typeof Icon;
|
|
76
100
|
set showBackButton(value: boolean);
|
|
77
101
|
get showBackButton(): boolean;
|
|
@@ -95,12 +119,12 @@ declare class BackNextButtonsComponent {
|
|
|
95
119
|
private _disableNextButton;
|
|
96
120
|
private _showGenerateButton;
|
|
97
121
|
private _disableGenerateButton;
|
|
98
|
-
constructor(iconService:
|
|
122
|
+
constructor(iconService: InphotoIconCacheService);
|
|
99
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackNextButtonsComponent, never>;
|
|
100
124
|
static ɵcmp: i0.ɵɵComponentDeclaration<BackNextButtonsComponent, "co-back-next-buttons", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "disableBackButton": { "alias": "disableBackButton"; "required": false; }; "showNextButton": { "alias": "showNextButton"; "required": false; }; "disableNextButton": { "alias": "disableNextButton"; "required": false; }; "showGenerateButton": { "alias": "showGenerateButton"; "required": false; }; "disableGenerateButton": { "alias": "disableGenerateButton"; "required": false; }; }, { "backClicked": "backClicked"; "nextClicked": "nextClicked"; "generateClicked": "generateClicked"; }, never, never, false, never>;
|
|
101
125
|
}
|
|
102
126
|
|
|
103
|
-
declare class
|
|
127
|
+
declare class InphotoDictionaryService {
|
|
104
128
|
get language(): LanguageCode;
|
|
105
129
|
set language(value: LanguageCode);
|
|
106
130
|
private _dictionaryPromise;
|
|
@@ -117,13 +141,13 @@ declare class DictionaryService {
|
|
|
117
141
|
*/
|
|
118
142
|
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
119
143
|
private _dictionaryLoaded;
|
|
120
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
121
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoDictionaryService, never>;
|
|
145
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoDictionaryService>;
|
|
122
146
|
}
|
|
123
147
|
|
|
124
148
|
declare class LocalizePipe implements PipeTransform {
|
|
125
149
|
private _dictionaryService;
|
|
126
|
-
constructor(_dictionaryService:
|
|
150
|
+
constructor(_dictionaryService: InphotoDictionaryService);
|
|
127
151
|
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
128
152
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
129
153
|
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
@@ -195,21 +219,44 @@ declare class SceneBuildObject {
|
|
|
195
219
|
constructor(image?: string, floorPlaneMap?: ImageRoomResponse);
|
|
196
220
|
}
|
|
197
221
|
|
|
198
|
-
declare class
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
222
|
+
declare class ArticleConfiguration {
|
|
223
|
+
sku: string;
|
|
224
|
+
instanceId: string;
|
|
225
|
+
externalSourceId: number;
|
|
226
|
+
externalSourceUserName: string;
|
|
227
|
+
externalSourcePassword: string;
|
|
228
|
+
externalSourceSchema: string;
|
|
229
|
+
externalSourceUrl: string;
|
|
230
|
+
configurationResult: ConfigurationResultObject;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
declare class InphotoEventService {
|
|
234
|
+
onProcessRoomReceived: Subject<SceneBuildObject>;
|
|
235
|
+
openCatalog: Subject<boolean>;
|
|
236
|
+
addArticleToScene: Subject<ArticleConfiguration>;
|
|
237
|
+
onObjectSelect: Subject<ArticleConfiguration>;
|
|
238
|
+
unSelectObject: Subject<void>;
|
|
239
|
+
updateProcessingImageData: Subject<boolean>;
|
|
240
|
+
updateCanvasMaskColor: Subject<boolean>;
|
|
241
|
+
onGeneratedImageReceived: Subject<void>;
|
|
242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoEventService, never>;
|
|
243
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoEventService>;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
declare enum PromptStyle {
|
|
247
|
+
append = "append",
|
|
248
|
+
replace = "replace"
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare class Prompt {
|
|
252
|
+
prompt: string;
|
|
253
|
+
promptStyle: PromptStyle;
|
|
206
254
|
}
|
|
207
255
|
|
|
208
|
-
declare class EnhanceStyle {
|
|
256
|
+
declare class EnhanceStyle extends Prompt {
|
|
209
257
|
roomType: string;
|
|
210
258
|
mode: string;
|
|
211
259
|
decorationStyle: string;
|
|
212
|
-
customInstructions: string;
|
|
213
260
|
}
|
|
214
261
|
|
|
215
262
|
declare class SegmentationPoint {
|
|
@@ -220,7 +267,6 @@ declare class SegmentationPoint {
|
|
|
220
267
|
|
|
221
268
|
declare class LoaderService {
|
|
222
269
|
showLoader: WritableSignal<boolean>;
|
|
223
|
-
showProgress: WritableSignal<boolean>;
|
|
224
270
|
loadingText: WritableSignal<string>;
|
|
225
271
|
showEstimateLoadingTime: WritableSignal<boolean>;
|
|
226
272
|
estimatedLoadingTime: WritableSignal<string>;
|
|
@@ -294,7 +340,7 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
294
340
|
private _mainApi;
|
|
295
341
|
private _boFactory;
|
|
296
342
|
private _publicationCodeForUserRole;
|
|
297
|
-
constructor(_catalogExternalSourcesService: CatalogExternalSourcesService, _appEventService:
|
|
343
|
+
constructor(_catalogExternalSourcesService: CatalogExternalSourcesService, _appEventService: InphotoEventService, _errorService: ErrorService, _loaderService: LoaderService);
|
|
298
344
|
ngOnDestroy(): void;
|
|
299
345
|
initConnector(options: Options, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<boolean>;
|
|
300
346
|
getExternalSourceFromId(id: number): ExternalSource;
|
|
@@ -309,8 +355,8 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
309
355
|
**/
|
|
310
356
|
uploadRoomImage(image: string, skipInpainting: boolean): Promise<SceneBuildObject>;
|
|
311
357
|
processDecorateImage(canvasImage: string, style: EnhanceStyle): Promise<DecorateResponse>;
|
|
312
|
-
|
|
313
|
-
processMultiProductPlacement(canvasImage: string, productImages: string[]): Promise<CreatedImageResponse>;
|
|
358
|
+
processEmptyRoom(canvasImage: string): Promise<CreatedImageResponse>;
|
|
359
|
+
processMultiProductPlacement(canvasImage: string, productImages: string[], colorProducts: any[], customPrompt: string, customPromptMode: PromptStyle): Promise<CreatedImageResponse>;
|
|
314
360
|
uploadSegmentationImage(image: string): Promise<JobIdResponse>;
|
|
315
361
|
handleSegmentationClick(jobId: string, point: SegmentationPoint): Promise<SegmentationResponse>;
|
|
316
362
|
segmentInpaint(jobId: string, image: string): Promise<CreatedImageResponse>;
|
|
@@ -325,7 +371,7 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
325
371
|
static ɵprov: i0.ɵɵInjectableDeclaration<InPhotoConnectorAdapterService>;
|
|
326
372
|
}
|
|
327
373
|
|
|
328
|
-
declare class
|
|
374
|
+
declare class InphotoSettingsService {
|
|
329
375
|
private _dictionary;
|
|
330
376
|
private _connectorAdapterService;
|
|
331
377
|
readonly languageCodeToDictionary: Map<string, string>;
|
|
@@ -334,15 +380,14 @@ declare class SettingsService {
|
|
|
334
380
|
set settings(value: Settings);
|
|
335
381
|
get settings(): Settings;
|
|
336
382
|
settingsInitialized: BehaviorSubject<boolean>;
|
|
337
|
-
get dictionaryKey(): string;
|
|
338
383
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
339
384
|
private _languageCode;
|
|
340
385
|
private _settings;
|
|
341
|
-
constructor(_dictionary:
|
|
386
|
+
constructor(_dictionary: InphotoDictionaryService, _connectorAdapterService: InPhotoConnectorAdapterService);
|
|
342
387
|
createSettingsFromObject(obj: any): void;
|
|
343
388
|
initialize(options?: Settings): Promise<void>;
|
|
344
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
345
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
389
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoSettingsService, never>;
|
|
390
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoSettingsService>;
|
|
346
391
|
}
|
|
347
392
|
|
|
348
393
|
declare class InPhotoConnectorService {
|
|
@@ -355,7 +400,7 @@ declare class InPhotoConnectorService {
|
|
|
355
400
|
private _initialized;
|
|
356
401
|
private _connectorOptions;
|
|
357
402
|
private _shouldShowLoader;
|
|
358
|
-
constructor(_connectorAdapterService: InPhotoConnectorAdapterService, _settingsService:
|
|
403
|
+
constructor(_connectorAdapterService: InPhotoConnectorAdapterService, _settingsService: InphotoSettingsService);
|
|
359
404
|
initConnection(forceReload?: boolean, standAlone?: boolean): Promise<void>;
|
|
360
405
|
initConnector(options: any, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<boolean>;
|
|
361
406
|
onShowLoaderChange(showLoader: boolean): void;
|
|
@@ -369,8 +414,8 @@ declare class InPhotoConnectorService {
|
|
|
369
414
|
* */
|
|
370
415
|
uploadRoomImage(image: string, skipInpainting?: boolean): Promise<SceneBuildObject>;
|
|
371
416
|
processDecorateImage(canvasImage: string, style: EnhanceStyle): Promise<DecorateResponse>;
|
|
372
|
-
|
|
373
|
-
processMultiProductPlacement(canvasImage: string, productImages: string[]): Promise<CreatedImageResponse>;
|
|
417
|
+
processEmptyRoom(canvasImage: string): Promise<CreatedImageResponse>;
|
|
418
|
+
processMultiProductPlacement(canvasImage: string, productImages: string[], colorProducts: any[], customPrompt: string, customPromptMode: PromptStyle): Promise<CreatedImageResponse>;
|
|
374
419
|
uploadSegmentationImage(image: string): Promise<JobIdResponse>;
|
|
375
420
|
handleSegmentationClick(jobId: string, point: SegmentationPoint): Promise<SegmentationResponse>;
|
|
376
421
|
segmentInpaint(jobId: string, image: string): Promise<CreatedImageResponse>;
|
|
@@ -381,18 +426,7 @@ declare class InPhotoConnectorService {
|
|
|
381
426
|
static ɵprov: i0.ɵɵInjectableDeclaration<InPhotoConnectorService>;
|
|
382
427
|
}
|
|
383
428
|
|
|
384
|
-
declare class
|
|
385
|
-
sku: string;
|
|
386
|
-
instanceId: string;
|
|
387
|
-
externalSourceId: number;
|
|
388
|
-
externalSourceUserName: string;
|
|
389
|
-
externalSourcePassword: string;
|
|
390
|
-
externalSourceSchema: string;
|
|
391
|
-
externalSourceUrl: string;
|
|
392
|
-
configurationResult: ConfigurationResultObject;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
declare class ObjectsService implements OnDestroy {
|
|
429
|
+
declare class InphotoItemService implements OnDestroy {
|
|
396
430
|
set selectedObject(value: ArticleConfiguration | undefined);
|
|
397
431
|
get selectedObject(): ArticleConfiguration | undefined;
|
|
398
432
|
set floorPlane(plane: Mesh);
|
|
@@ -405,16 +439,15 @@ declare class ObjectsService implements OnDestroy {
|
|
|
405
439
|
private _floorItems;
|
|
406
440
|
private _floorPlane;
|
|
407
441
|
private _floorBounds;
|
|
408
|
-
constructor();
|
|
409
442
|
ngOnDestroy(): void;
|
|
410
443
|
addFloorItem(item: ArticleConfiguration): void;
|
|
411
444
|
removeFloorItem(item: ArticleConfiguration): void;
|
|
412
445
|
getFloorCenter(): Vector3;
|
|
413
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
414
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
446
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoItemService, never>;
|
|
447
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoItemService>;
|
|
415
448
|
}
|
|
416
449
|
|
|
417
|
-
declare class
|
|
450
|
+
declare class InphotoSceneService implements OnDestroy {
|
|
418
451
|
private _objectsService;
|
|
419
452
|
set needsRender(render: boolean);
|
|
420
453
|
get needsRender(): boolean;
|
|
@@ -427,8 +460,9 @@ declare class SceneService implements OnDestroy {
|
|
|
427
460
|
imageWidth: number;
|
|
428
461
|
imageHeight: number;
|
|
429
462
|
private _sceneHasImage;
|
|
463
|
+
private _placementMarker;
|
|
430
464
|
private _needsRender;
|
|
431
|
-
constructor(_objectsService:
|
|
465
|
+
constructor(_objectsService: InphotoItemService);
|
|
432
466
|
ngOnDestroy(): void;
|
|
433
467
|
init(element: ElementRef<HTMLDivElement>): void;
|
|
434
468
|
getSceneAsImage(): string;
|
|
@@ -437,38 +471,102 @@ declare class SceneService implements OnDestroy {
|
|
|
437
471
|
getObjectByUUID(uuid: string): Object3D | undefined;
|
|
438
472
|
removeObject(object: Object3D): void;
|
|
439
473
|
addFloorToScene(floorMesh: Mesh): void;
|
|
474
|
+
setPlacementMarker(marker: Object3D | null): void;
|
|
440
475
|
private _prepLights;
|
|
441
476
|
private _animate;
|
|
442
477
|
private _render;
|
|
478
|
+
private _animateMarker;
|
|
443
479
|
private _onResize;
|
|
444
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
445
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
480
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoSceneService, never>;
|
|
481
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoSceneService>;
|
|
446
482
|
}
|
|
447
483
|
|
|
448
|
-
declare class
|
|
449
|
-
|
|
484
|
+
declare class InphotoFontService {
|
|
485
|
+
hudFont: Font;
|
|
486
|
+
monospaceFont: Font;
|
|
487
|
+
constructor();
|
|
488
|
+
private _loadFont;
|
|
489
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoFontService, never>;
|
|
490
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoFontService>;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
declare class InphotoHudService implements OnDestroy {
|
|
494
|
+
private _appEventService;
|
|
450
495
|
private _sceneService;
|
|
496
|
+
private _fontService;
|
|
497
|
+
private _selectedItem;
|
|
498
|
+
private _rotationHelper;
|
|
499
|
+
private _subs;
|
|
500
|
+
private _mouseover;
|
|
501
|
+
private _rotating;
|
|
502
|
+
constructor(_appEventService: InphotoEventService, _sceneService: InphotoSceneService, _fontService: InphotoFontService);
|
|
503
|
+
ngOnDestroy(): void;
|
|
504
|
+
update(force?: boolean): void;
|
|
505
|
+
getRotationSnapperArea(): Object3D | null;
|
|
506
|
+
getSelectedCenter(): Vector3 | null;
|
|
507
|
+
setMouseOver(on: boolean): void;
|
|
508
|
+
setRotating(on: boolean): void;
|
|
509
|
+
private _applySceneUpdates;
|
|
510
|
+
private _unselectItem;
|
|
511
|
+
private _selectItem;
|
|
512
|
+
private _resetSelectedItem;
|
|
513
|
+
private _createRotationHelper;
|
|
514
|
+
private _setColor;
|
|
515
|
+
private _addToScene;
|
|
516
|
+
private _removeRotationHelper;
|
|
517
|
+
private _removeFromScene;
|
|
518
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoHudService, never>;
|
|
519
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoHudService>;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
declare enum InteractionMode {
|
|
523
|
+
Move = "move",
|
|
524
|
+
Rotate = "rotate"
|
|
525
|
+
}
|
|
526
|
+
declare class InphotoInteractionService implements OnDestroy {
|
|
527
|
+
objectsService: InphotoItemService;
|
|
528
|
+
private _sceneService;
|
|
529
|
+
private _appEventService;
|
|
530
|
+
private _hudService;
|
|
451
531
|
mouse: Vector2;
|
|
452
532
|
raycaster: Raycaster;
|
|
453
533
|
lastMousePosition: Vector2;
|
|
454
534
|
isDragging: boolean;
|
|
455
535
|
dragOffset: Vector3;
|
|
536
|
+
mode: InteractionMode;
|
|
537
|
+
rotationSensitivity: number;
|
|
538
|
+
isPlacing: boolean;
|
|
539
|
+
placementLocked: boolean;
|
|
456
540
|
private _camera;
|
|
457
541
|
private _scene;
|
|
458
542
|
private _renderer;
|
|
459
|
-
|
|
543
|
+
private _placementMarker;
|
|
544
|
+
private _placementPosition;
|
|
545
|
+
private _placementNormal;
|
|
546
|
+
constructor(objectsService: InphotoItemService, _sceneService: InphotoSceneService, _appEventService: InphotoEventService, _hudService: InphotoHudService);
|
|
460
547
|
ngOnDestroy(): void;
|
|
461
548
|
init(scene: Scene, camera: PerspectiveCamera, renderer: WebGLRenderer): void;
|
|
549
|
+
setMode(mode: InteractionMode): void;
|
|
462
550
|
onMouseUp(event: MouseEvent): void;
|
|
463
551
|
onMouseDown(event: MouseEvent): void;
|
|
464
552
|
onMouseMove(event: MouseEvent): void;
|
|
553
|
+
startPlacement(): void;
|
|
554
|
+
endPlacement(): {
|
|
555
|
+
position: Vector3;
|
|
556
|
+
normal: Vector3;
|
|
557
|
+
};
|
|
558
|
+
private _clearPlacementMarker;
|
|
559
|
+
private _floorHitFromEvent;
|
|
560
|
+
private _moveMarkerTo;
|
|
561
|
+
private _rotateByDrag;
|
|
562
|
+
private _applyYRotation;
|
|
465
563
|
updateMousePosition(event: MouseEvent): void;
|
|
466
564
|
handleFurnitureHit(furniture: ArticleConfiguration): void;
|
|
467
|
-
handlePlacement(object: Object3D): Object3D;
|
|
565
|
+
handlePlacement(object: Object3D, targetPosition?: Vector3, targetNormal?: Vector3): Object3D;
|
|
468
566
|
makeItStick(yRotation: number): void;
|
|
469
567
|
private _bindObjectToFloorBounds;
|
|
470
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
471
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
568
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoInteractionService, never>;
|
|
569
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoInteractionService>;
|
|
472
570
|
}
|
|
473
571
|
|
|
474
572
|
declare class ModelConfigurationService implements OnDestroy {
|
|
@@ -480,12 +578,6 @@ declare class ModelConfigurationService implements OnDestroy {
|
|
|
480
578
|
private _interactionService;
|
|
481
579
|
private _loaderService;
|
|
482
580
|
private _configuratorEventService;
|
|
483
|
-
/**
|
|
484
|
-
*
|
|
485
|
-
* Service that get the article/ external source data, starts the configurator, and waits for the build the finish.
|
|
486
|
-
* After that it will add it to the scene
|
|
487
|
-
*
|
|
488
|
-
* */
|
|
489
581
|
set loadConfigurator(value: boolean);
|
|
490
582
|
get loadConfigurator(): boolean;
|
|
491
583
|
set currentArticleConfiguration(value: ArticleConfiguration);
|
|
@@ -497,24 +589,17 @@ declare class ModelConfigurationService implements OnDestroy {
|
|
|
497
589
|
private _loadConfigurator;
|
|
498
590
|
private _currentArticleConfiguration;
|
|
499
591
|
private _subs;
|
|
500
|
-
constructor(_connectorService: InPhotoConnectorService, _sceneService:
|
|
592
|
+
constructor(_connectorService: InPhotoConnectorService, _sceneService: InphotoSceneService, _settingsService: InphotoSettingsService, _configuringService: ConfiguringService, _objectsService: InphotoItemService, _interactionService: InphotoInteractionService, _loaderService: LoaderService, _configuratorEventService: ConfiguratorEventService);
|
|
501
593
|
ngOnDestroy(): void;
|
|
502
|
-
startConfigurator(articleConfiguration: ArticleConfiguration): Promise<void>;
|
|
503
|
-
handleFirstBuild(buildResult: ConfigurationResultObject): void;
|
|
504
|
-
handleBuildResult(buildResult: ConfigurationResultObject): void;
|
|
505
|
-
continueConfiguration(articleConfiguration: ArticleConfiguration): Promise<void>;
|
|
506
594
|
rotateObject(rotationDegrees: number): void;
|
|
507
|
-
scaleObject(object: ArticleConfiguration, scaleX: number, scaleY: number, scaleZ: number): void;
|
|
508
|
-
removeModelFromProject(item: ArticleConfiguration): void;
|
|
509
|
-
private _prepareSettings;
|
|
510
595
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModelConfigurationService, never>;
|
|
511
596
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModelConfigurationService>;
|
|
512
597
|
}
|
|
513
598
|
|
|
514
|
-
declare class
|
|
515
|
-
iconService:
|
|
516
|
-
settingService:
|
|
517
|
-
appEventService:
|
|
599
|
+
declare class InphotoCatalogComponent implements OnInit, OnDestroy {
|
|
600
|
+
iconService: InphotoIconCacheService;
|
|
601
|
+
settingService: InphotoSettingsService;
|
|
602
|
+
appEventService: InphotoEventService;
|
|
518
603
|
connectorService: InPhotoConnectorService;
|
|
519
604
|
modelConfigurationService: ModelConfigurationService;
|
|
520
605
|
private _catalogService;
|
|
@@ -536,7 +621,7 @@ declare class CatalogComponent implements OnInit, OnDestroy {
|
|
|
536
621
|
catalogInfo: ExternalCatalogStartupInfo;
|
|
537
622
|
externalCatalogName: string;
|
|
538
623
|
private _source;
|
|
539
|
-
constructor(iconService:
|
|
624
|
+
constructor(iconService: InphotoIconCacheService, settingService: InphotoSettingsService, appEventService: InphotoEventService, connectorService: InPhotoConnectorService, modelConfigurationService: ModelConfigurationService, _catalogService: CatalogService, _changeDetection: ChangeDetectorRef);
|
|
540
625
|
ngOnInit(): Promise<void>;
|
|
541
626
|
ngOnDestroy(): void;
|
|
542
627
|
handleToggleShowOwnCollection(): void;
|
|
@@ -547,93 +632,127 @@ declare class CatalogComponent implements OnInit, OnDestroy {
|
|
|
547
632
|
handleCloseDialog(): void;
|
|
548
633
|
handleExternalSourceClick(source?: ExternalSourceViewmodel): Promise<void>;
|
|
549
634
|
private _buildExternalCatalogRequest;
|
|
550
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
551
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoCatalogComponent, never>;
|
|
636
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InphotoCatalogComponent, "co-inphoto-catalog", never, {}, {}, never, never, false, never>;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
declare class InphotoCatalogModule {
|
|
640
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoCatalogModule, never>;
|
|
641
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InphotoCatalogModule, [typeof InphotoCatalogComponent], [typeof i2.ButtonModule, typeof i3.CatalogSearchModule, typeof PipeModule, typeof i2.IconModule, typeof i3.CatalogExternalSourcesModule, typeof i3.CatalogExternalSourceModule, typeof i2.AppendPipeModule], [typeof InphotoCatalogComponent]>;
|
|
642
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InphotoCatalogModule>;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
declare enum ColorPalette {
|
|
646
|
+
RED = "FF0000",
|
|
647
|
+
GREEN = "00FF00",
|
|
648
|
+
BLUE = "0000FF",
|
|
649
|
+
YELLOW = "FFD700",
|
|
650
|
+
PURPLE = "800080",
|
|
651
|
+
TEAL = "008080"
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
interface MaskStroke {
|
|
655
|
+
brushSize: number;
|
|
656
|
+
points: SegmentationPoint[];
|
|
657
|
+
erase?: boolean;
|
|
552
658
|
}
|
|
553
659
|
|
|
554
|
-
declare class
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
660
|
+
declare class ImageData {
|
|
661
|
+
image: string;
|
|
662
|
+
maskColor: ColorPalette;
|
|
663
|
+
maskData: MaskStroke[];
|
|
558
664
|
}
|
|
559
665
|
|
|
560
|
-
declare class
|
|
666
|
+
declare class InphotoDataService {
|
|
667
|
+
private _appEventService;
|
|
561
668
|
/**
|
|
562
669
|
*
|
|
563
670
|
* Since the frontend is responsible for the data, we need to keep a list of images that where processed by AI
|
|
564
671
|
* But also what image is in the drawing canvas and are uploaded to be used with AI to create images.
|
|
565
|
-
* We might also need to save the threejs scene here aswel
|
|
566
|
-
*
|
|
567
|
-
* We might also need to create some more data object to save states.
|
|
568
672
|
*
|
|
569
673
|
* */
|
|
570
|
-
get startingPointImage(): string;
|
|
571
|
-
set startingPointImage(value: string);
|
|
572
|
-
get canvasBackground(): string;
|
|
573
|
-
set canvasBackground(value: string);
|
|
574
|
-
get generatedImages(): string[];
|
|
575
|
-
get threeJSBackground(): string;
|
|
576
|
-
set threeJSBackground(value: string);
|
|
577
|
-
get floorGeometry(): ImageRoomResponse;
|
|
578
|
-
set floorGeometry(value: ImageRoomResponse);
|
|
579
674
|
set canvasHasMask(value: boolean);
|
|
580
675
|
get canvasHasMask(): boolean;
|
|
581
|
-
get
|
|
582
|
-
set
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
676
|
+
get generatedImages(): string[];
|
|
677
|
+
set progressingData(data: ImageData[]);
|
|
678
|
+
get progressingData(): ImageData[];
|
|
679
|
+
set activeCanvasColor(value: ColorPalette);
|
|
680
|
+
get activeCanvasColor(): ColorPalette;
|
|
586
681
|
private _canvasHasMask;
|
|
587
682
|
private _generatedImages;
|
|
588
|
-
private
|
|
589
|
-
private
|
|
683
|
+
private _processingData;
|
|
684
|
+
private _activeCanvasColor;
|
|
685
|
+
constructor(_appEventService: InphotoEventService);
|
|
590
686
|
addGeneratedImage(image: string): void;
|
|
591
|
-
|
|
592
|
-
|
|
687
|
+
addImageData(data: ImageData): void;
|
|
688
|
+
removeProcessingImage(data: ImageData): void;
|
|
689
|
+
uploadProcessingObject(updateData: ImageData, currentData: ImageData): void;
|
|
690
|
+
getOrCreateImageDataForColor(color: ColorPalette): ImageData;
|
|
691
|
+
getStrokes(color: ColorPalette): MaskStroke[];
|
|
692
|
+
addStroke(color: ColorPalette, stroke: MaskStroke): void;
|
|
693
|
+
undoLastStroke(color: ColorPalette): MaskStroke | undefined;
|
|
694
|
+
clearColor(color: ColorPalette): void;
|
|
695
|
+
/** Clear the color's mask. */
|
|
696
|
+
removeMask(color: ColorPalette): void;
|
|
697
|
+
hasAnyMask(): boolean;
|
|
698
|
+
clearAllMasks(): void;
|
|
699
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoDataService, never>;
|
|
700
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoDataService>;
|
|
593
701
|
}
|
|
594
702
|
|
|
595
703
|
declare class EditCanvasComponent implements AfterViewInit {
|
|
596
|
-
iconService:
|
|
597
|
-
dataService:
|
|
598
|
-
private
|
|
704
|
+
iconService: InphotoIconCacheService;
|
|
705
|
+
dataService: InphotoDataService;
|
|
706
|
+
private _appEventService;
|
|
599
707
|
readonly icons: typeof Icon;
|
|
708
|
+
showClass(): boolean;
|
|
600
709
|
canvas: ElementRef<HTMLCanvasElement>;
|
|
601
710
|
set image(value: string);
|
|
602
711
|
get image(): string;
|
|
603
|
-
set showToolbar(value: boolean);
|
|
604
|
-
get showToolbar(): boolean;
|
|
605
|
-
set enableObjectPicker(value: boolean);
|
|
606
|
-
get enableObjectPicker(): boolean;
|
|
607
712
|
set segmentationInPainting(value: SegmentationResponse);
|
|
713
|
+
set inpaintMode(value: boolean);
|
|
714
|
+
set eraserMode(value: boolean);
|
|
608
715
|
onSegmentationPointClick: EventEmitter<SegmentationPoint>;
|
|
609
|
-
|
|
716
|
+
imageState: EventEmitter<string>;
|
|
717
|
+
set maskColor(color: ColorPalette);
|
|
718
|
+
get maskColor(): ColorPalette;
|
|
610
719
|
ctx: CanvasRenderingContext2D;
|
|
611
720
|
drawing: boolean;
|
|
612
|
-
brushColor: string;
|
|
613
721
|
brushSize: number;
|
|
614
|
-
|
|
615
|
-
setCanvasFullScreen: boolean;
|
|
722
|
+
maskOpacity: number;
|
|
616
723
|
private _backgroundImage;
|
|
724
|
+
private _maskLayers;
|
|
725
|
+
private _currentStroke;
|
|
726
|
+
private _segCanvas;
|
|
727
|
+
private _segCtx;
|
|
617
728
|
private _image;
|
|
618
|
-
private
|
|
619
|
-
private
|
|
620
|
-
|
|
729
|
+
private _inpaintMode;
|
|
730
|
+
private _eraserMode;
|
|
731
|
+
private _maskColor;
|
|
732
|
+
private _subs;
|
|
733
|
+
private _canvasLoaded;
|
|
734
|
+
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, _appEventService: InphotoEventService);
|
|
621
735
|
ngAfterViewInit(): void;
|
|
736
|
+
changeCanvasCursor(icon: Icon): void;
|
|
622
737
|
startDrawing(event: MouseEvent): void;
|
|
623
738
|
draw(event: MouseEvent): void;
|
|
624
739
|
stopDrawing(): void;
|
|
625
|
-
|
|
626
|
-
|
|
740
|
+
undoLastStroke(color?: ColorPalette): void;
|
|
741
|
+
clearColor(color: ColorPalette): void;
|
|
742
|
+
private _syncLayersFromData;
|
|
627
743
|
clearCanvas(): void;
|
|
628
744
|
loadBackground(): void;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
745
|
+
private _getLayer;
|
|
746
|
+
private _resizeAndReplayLayers;
|
|
747
|
+
private _render;
|
|
748
|
+
private _replayColor;
|
|
632
749
|
private _getCanvasCoords;
|
|
633
750
|
private _drawSegmentation;
|
|
751
|
+
private _ensureSegCanvas;
|
|
634
752
|
private _saveCanvas;
|
|
753
|
+
private _colorToString;
|
|
635
754
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditCanvasComponent, never>;
|
|
636
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditCanvasComponent, "co-edit-canvas", never, { "image": { "alias": "image"; "required": false; }; "
|
|
755
|
+
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; }; }, { "onSegmentationPointClick": "onSegmentationPointClick"; "imageState": "imageState"; }, never, never, false, never>;
|
|
637
756
|
}
|
|
638
757
|
|
|
639
758
|
declare class EditCanvasModule {
|
|
@@ -644,10 +763,10 @@ declare class EditCanvasModule {
|
|
|
644
763
|
|
|
645
764
|
declare class ErrorDialogComponent {
|
|
646
765
|
errorService: ErrorService;
|
|
647
|
-
iconService:
|
|
766
|
+
iconService: InphotoIconCacheService;
|
|
648
767
|
readonly icons: typeof Icon;
|
|
649
768
|
showClass(): boolean;
|
|
650
|
-
constructor(errorService: ErrorService, iconService:
|
|
769
|
+
constructor(errorService: ErrorService, iconService: InphotoIconCacheService);
|
|
651
770
|
clearAndClose(): void;
|
|
652
771
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorDialogComponent, never>;
|
|
653
772
|
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorDialogComponent, "co-error-dialog", never, {}, {}, never, never, false, never>;
|
|
@@ -659,54 +778,76 @@ declare class ErrorDialogModule {
|
|
|
659
778
|
static ɵinj: i0.ɵɵInjectorDeclaration<ErrorDialogModule>;
|
|
660
779
|
}
|
|
661
780
|
|
|
781
|
+
interface MaskImageColorInterface {
|
|
782
|
+
image: string;
|
|
783
|
+
color: ColorPalette;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
declare class PromptWithImages extends Prompt {
|
|
787
|
+
imageData: ImageData[];
|
|
788
|
+
}
|
|
789
|
+
|
|
662
790
|
declare class ImageEnhancer {
|
|
663
|
-
iconService:
|
|
664
|
-
dataService:
|
|
791
|
+
iconService: InphotoIconCacheService;
|
|
792
|
+
dataService: InphotoDataService;
|
|
793
|
+
private _appEventService;
|
|
665
794
|
readonly icons: typeof Icon;
|
|
666
795
|
selectedStyle: EventEmitter<EnhanceStyle>;
|
|
667
|
-
|
|
668
|
-
selectedProductImages: EventEmitter<string[]>;
|
|
796
|
+
createPromptWithImages: EventEmitter<PromptWithImages>;
|
|
669
797
|
backButtonClicked: EventEmitter<void>;
|
|
798
|
+
changeMarkerColor: EventEmitter<MaskImageColorInterface>;
|
|
670
799
|
showClass(): boolean;
|
|
671
800
|
prompt: string;
|
|
672
801
|
activeTab: number;
|
|
673
802
|
showMaskInfoDialog: boolean;
|
|
674
|
-
|
|
803
|
+
collapsed: boolean;
|
|
804
|
+
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, _appEventService: InphotoEventService);
|
|
675
805
|
setTab(index: number): void;
|
|
676
|
-
|
|
677
|
-
handleProductImagesPrompt(event: string[]): void;
|
|
806
|
+
handlePromptWithImages(event: PromptWithImages): void;
|
|
678
807
|
handleStylePrompt(event: EnhanceStyle): void;
|
|
679
808
|
handleBackClicked(): void;
|
|
809
|
+
handleChangeMarkerColor(data: MaskImageColorInterface): void;
|
|
810
|
+
closeDialog(): void;
|
|
811
|
+
openDialog(): void;
|
|
680
812
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancer, never>;
|
|
681
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancer, "co-image-enhancer", never, {}, { "selectedStyle": "selectedStyle"; "
|
|
813
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancer, "co-image-enhancer", never, {}, { "selectedStyle": "selectedStyle"; "createPromptWithImages": "createPromptWithImages"; "backButtonClicked": "backButtonClicked"; "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
declare enum FileTypes {
|
|
817
|
+
JPG = "JPG",
|
|
818
|
+
JPEG = "JPEG",
|
|
819
|
+
PNG = "PNG"
|
|
682
820
|
}
|
|
683
821
|
|
|
684
822
|
declare class ImageUpload implements OnDestroy {
|
|
685
|
-
iconService:
|
|
823
|
+
iconService: InphotoIconCacheService;
|
|
686
824
|
readonly icons: typeof Icon;
|
|
825
|
+
showClass(): boolean;
|
|
687
826
|
multiUpload: boolean;
|
|
688
|
-
|
|
827
|
+
set supportedFiles(value: FileTypes[]);
|
|
828
|
+
get supportedFiles(): FileTypes[];
|
|
829
|
+
set compactMode(value: boolean);
|
|
830
|
+
get compactMode(): boolean;
|
|
689
831
|
uploadedFiles: EventEmitter<File[]>;
|
|
690
|
-
showClass(): boolean;
|
|
691
|
-
get fileEntries(): [number, [File, string]][];
|
|
692
832
|
selectedFiles: File[];
|
|
693
833
|
files: Map<number, [File, string]>;
|
|
694
834
|
fileId: number;
|
|
695
835
|
isDragging: boolean;
|
|
696
|
-
|
|
697
|
-
|
|
836
|
+
accepted: string;
|
|
837
|
+
private _compactMode;
|
|
838
|
+
private _supportedFiles;
|
|
839
|
+
constructor(iconService: InphotoIconCacheService);
|
|
698
840
|
ngOnDestroy(): void;
|
|
699
841
|
onFileSelected(event: any): void;
|
|
700
842
|
handleFile(fileList: FileList): void;
|
|
701
843
|
onDrop(event: DragEvent): void;
|
|
702
844
|
onDragOver(event: DragEvent): void;
|
|
703
845
|
onDragLeave(): void;
|
|
704
|
-
removeUploadedImage(id: number): void;
|
|
705
|
-
deleteFile(id: number): boolean;
|
|
706
|
-
getFile(id: number): [File, string];
|
|
707
846
|
private _addFile;
|
|
847
|
+
private _handleSetSupportedFiles;
|
|
848
|
+
private _setAcceptAttr;
|
|
708
849
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUpload, never>;
|
|
709
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUpload, "co-image-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; "
|
|
850
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUpload, "co-image-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; "supportedFiles": { "alias": "supportedFiles"; "required": false; }; "compactMode": { "alias": "compactMode"; "required": false; }; }, { "uploadedFiles": "uploadedFiles"; }, never, never, false, never>;
|
|
710
851
|
}
|
|
711
852
|
|
|
712
853
|
declare class ImageUploadModule {
|
|
@@ -723,10 +864,15 @@ declare class DecorationStyle {
|
|
|
723
864
|
|
|
724
865
|
declare class ImageEnhancerStyleComponent implements OnInit {
|
|
725
866
|
connectorService: InPhotoConnectorService;
|
|
867
|
+
iconCacheService: InphotoIconCacheService;
|
|
868
|
+
private _changeDetection;
|
|
869
|
+
readonly icons: typeof Icon;
|
|
870
|
+
get showClass(): boolean;
|
|
726
871
|
prompt: EventEmitter<EnhanceStyle>;
|
|
727
872
|
backButtonClicked: EventEmitter<void>;
|
|
728
|
-
|
|
729
|
-
|
|
873
|
+
customPrompt: string;
|
|
874
|
+
customPromptMode: PromptStyle;
|
|
875
|
+
showInputError: boolean;
|
|
730
876
|
loaded: boolean;
|
|
731
877
|
styleEnhancePrompt: EnhanceStyle;
|
|
732
878
|
selectedRoomStyle: DecorationStyle;
|
|
@@ -735,7 +881,7 @@ declare class ImageEnhancerStyleComponent implements OnInit {
|
|
|
735
881
|
modeCollection: DecorationStyle[];
|
|
736
882
|
selectedDecorationStyle: DecorationStyle;
|
|
737
883
|
decorationStyleCollection: DecorationStyle[];
|
|
738
|
-
constructor(connectorService: InPhotoConnectorService);
|
|
884
|
+
constructor(connectorService: InPhotoConnectorService, iconCacheService: InphotoIconCacheService, _changeDetection: ChangeDetectorRef);
|
|
739
885
|
ngOnInit(): Promise<void>;
|
|
740
886
|
handleChangeRoomType(event: DecorationStyle): void;
|
|
741
887
|
handleChangeMode(event: DecorationStyle): void;
|
|
@@ -746,30 +892,120 @@ declare class ImageEnhancerStyleComponent implements OnInit {
|
|
|
746
892
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerStyleComponent, "co-image-enhancer-style", never, {}, { "prompt": "prompt"; "backButtonClicked": "backButtonClicked"; }, never, never, false, never>;
|
|
747
893
|
}
|
|
748
894
|
|
|
895
|
+
declare class AiPromptComponent {
|
|
896
|
+
private _changeDetection;
|
|
897
|
+
get showClass(): boolean;
|
|
898
|
+
customPrompt: string;
|
|
899
|
+
set promptMode(value: PromptStyle);
|
|
900
|
+
get promptMode(): PromptStyle;
|
|
901
|
+
set showEmptyInputError(value: boolean);
|
|
902
|
+
get showEmptyInputError(): boolean;
|
|
903
|
+
promptModeChange: EventEmitter<PromptStyle>;
|
|
904
|
+
customPromptChange: EventEmitter<string>;
|
|
905
|
+
toggleModel: boolean;
|
|
906
|
+
private _promptMode;
|
|
907
|
+
private _emptyInputError;
|
|
908
|
+
constructor(_changeDetection: ChangeDetectorRef);
|
|
909
|
+
handleUpdateModel(): void;
|
|
910
|
+
handlePromptChange(value: string): void;
|
|
911
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AiPromptComponent, never>;
|
|
912
|
+
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>;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
declare class AiPromptModule {
|
|
916
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AiPromptModule, never>;
|
|
917
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AiPromptModule, [typeof AiPromptComponent], [typeof i2.InputTextareaModule, typeof PipeModule, typeof i2$1.FormsModule], [typeof AiPromptComponent]>;
|
|
918
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AiPromptModule>;
|
|
919
|
+
}
|
|
920
|
+
|
|
749
921
|
declare class ImageEnhancerStyleModule {
|
|
750
922
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerStyleModule, never>;
|
|
751
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerStyleModule, [typeof ImageEnhancerStyleComponent], [typeof i2.ListOfValuesModule, typeof PipeModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof BackNextButtonsModule], [typeof ImageEnhancerStyleComponent]>;
|
|
923
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerStyleModule, [typeof ImageEnhancerStyleComponent], [typeof i2.ListOfValuesModule, typeof PipeModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof BackNextButtonsModule, typeof i2.IconModule, typeof AiPromptModule], [typeof ImageEnhancerStyleComponent]>;
|
|
752
924
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerStyleModule>;
|
|
753
925
|
}
|
|
754
926
|
|
|
755
927
|
declare class ImageEnhancerUploadComponent {
|
|
928
|
+
dataService: InphotoDataService;
|
|
929
|
+
iconCacheService: InphotoIconCacheService;
|
|
930
|
+
readonly FileTypes: typeof FileTypes;
|
|
931
|
+
readonly icons: typeof Icon;
|
|
756
932
|
multiUpload: boolean;
|
|
757
|
-
prompt: EventEmitter<
|
|
933
|
+
prompt: EventEmitter<PromptWithImages>;
|
|
758
934
|
backButtonClicked: EventEmitter<void>;
|
|
935
|
+
changeMarkerColor: EventEmitter<MaskImageColorInterface>;
|
|
759
936
|
showClass(): boolean;
|
|
937
|
+
compactMode: boolean;
|
|
760
938
|
disableGenerateButton: boolean;
|
|
761
|
-
useCustomPrompt: boolean;
|
|
762
939
|
uploadedImages: string[];
|
|
940
|
+
customPrompt: string;
|
|
941
|
+
customPromptMode: PromptStyle;
|
|
942
|
+
showInputError: boolean;
|
|
943
|
+
constructor(dataService: InphotoDataService, iconCacheService: InphotoIconCacheService);
|
|
763
944
|
handleImageUpload(event: File[]): void;
|
|
764
945
|
handleGenerateClicked(): void;
|
|
765
946
|
handleBackClicked(): void;
|
|
947
|
+
handleDeleteImage(image: ImageData): void;
|
|
948
|
+
handleDeleteMask(data: ImageData): void;
|
|
949
|
+
handleChangeMarkerColor(color: ColorPalette, data: ImageData): void;
|
|
766
950
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerUploadComponent, never>;
|
|
767
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerUploadComponent, "co-image-enhancer-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; }, { "prompt": "prompt"; "backButtonClicked": "backButtonClicked"; }, never, never, false, never>;
|
|
951
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerUploadComponent, "co-image-enhancer-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; }, { "prompt": "prompt"; "backButtonClicked": "backButtonClicked"; "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
declare class ImageTileComponent {
|
|
955
|
+
iconCacheService: InphotoIconCacheService;
|
|
956
|
+
private _dataService;
|
|
957
|
+
readonly icons: typeof Icon;
|
|
958
|
+
readonly color: typeof ColorPalette;
|
|
959
|
+
showClass(): boolean;
|
|
960
|
+
index: number;
|
|
961
|
+
set activeItem(value: boolean);
|
|
962
|
+
get activeItem(): boolean;
|
|
963
|
+
set data(value: ImageData);
|
|
964
|
+
get data(): ImageData;
|
|
965
|
+
changeMarkerColor: EventEmitter<ColorPalette>;
|
|
966
|
+
deleteImage: EventEmitter<ImageData>;
|
|
967
|
+
deleteMask: EventEmitter<ImageData>;
|
|
968
|
+
hideColors: boolean;
|
|
969
|
+
hasSelectedColor: boolean;
|
|
970
|
+
private _activeItem;
|
|
971
|
+
private _selectedColor;
|
|
972
|
+
private _data;
|
|
973
|
+
constructor(iconCacheService: InphotoIconCacheService, _dataService: InphotoDataService);
|
|
974
|
+
setMarkerColor(color: ColorPalette): void;
|
|
975
|
+
handleContinueCurrentMask(): void;
|
|
976
|
+
showColorPalette(): void;
|
|
977
|
+
removeImage(): void;
|
|
978
|
+
removeMask(): void;
|
|
979
|
+
private _handleSetData;
|
|
980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageTileComponent, never>;
|
|
981
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageTileComponent, "co-image-title", never, { "index": { "alias": "index"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "changeMarkerColor": "changeMarkerColor"; "deleteImage": "deleteImage"; "deleteMask": "deleteMask"; }, never, never, false, never>;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
declare class ColorPaletteOptionComponent {
|
|
985
|
+
iconCacheService: InphotoIconCacheService;
|
|
986
|
+
readonly icons: typeof Icon;
|
|
987
|
+
readonly color: typeof ColorPalette;
|
|
988
|
+
showClass(): boolean;
|
|
989
|
+
colorOption: ColorPalette;
|
|
990
|
+
set selected(value: boolean);
|
|
991
|
+
get selected(): boolean;
|
|
992
|
+
changeMarkerColor: EventEmitter<ColorPalette>;
|
|
993
|
+
private _selected;
|
|
994
|
+
constructor(iconCacheService: InphotoIconCacheService);
|
|
995
|
+
setMarkerColor(color: ColorPalette): void;
|
|
996
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPaletteOptionComponent, never>;
|
|
997
|
+
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>;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
declare class ImageTileModule {
|
|
1001
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageTileModule, never>;
|
|
1002
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageTileModule, [typeof ImageTileComponent, typeof ColorPaletteOptionComponent], [typeof i2.IconModule, typeof i2.ButtonModule, typeof PipeModule], [typeof ImageTileComponent, typeof ColorPaletteOptionComponent]>;
|
|
1003
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ImageTileModule>;
|
|
768
1004
|
}
|
|
769
1005
|
|
|
770
1006
|
declare class ImageEnhancerUploadModule {
|
|
771
1007
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerUploadModule, never>;
|
|
772
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerUploadModule, [typeof ImageEnhancerUploadComponent], [typeof ImageUploadModule, typeof BackNextButtonsModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof PipeModule], [typeof ImageEnhancerUploadComponent]>;
|
|
1008
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageEnhancerUploadModule, [typeof ImageEnhancerUploadComponent], [typeof ImageUploadModule, typeof BackNextButtonsModule, typeof i2.InputCheckboxModule, typeof i2.InputTextareaModule, typeof PipeModule, typeof ImageTileModule, typeof i2.IconModule, typeof AiPromptModule], [typeof ImageEnhancerUploadComponent]>;
|
|
773
1009
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerUploadModule>;
|
|
774
1010
|
}
|
|
775
1011
|
|
|
@@ -779,47 +1015,51 @@ declare class ImageEnhancerModule {
|
|
|
779
1015
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerModule>;
|
|
780
1016
|
}
|
|
781
1017
|
|
|
782
|
-
declare class ImageHistoryComponent {
|
|
783
|
-
dataService:
|
|
784
|
-
iconService:
|
|
1018
|
+
declare class ImageHistoryComponent implements AfterViewInit, OnDestroy {
|
|
1019
|
+
dataService: InphotoDataService;
|
|
1020
|
+
iconService: InphotoIconCacheService;
|
|
1021
|
+
private _eventService;
|
|
785
1022
|
readonly icons: typeof Icon;
|
|
786
1023
|
setImageAsBackground: EventEmitter<string>;
|
|
1024
|
+
private tilesRow?;
|
|
787
1025
|
showClass(): boolean;
|
|
1026
|
+
onResize(): void;
|
|
1027
|
+
displayedImages: string[];
|
|
1028
|
+
selectedImage: string;
|
|
788
1029
|
showFullImage: boolean;
|
|
789
1030
|
fullImage: string;
|
|
790
|
-
|
|
1031
|
+
canScrollLeft: boolean;
|
|
1032
|
+
canScrollRight: boolean;
|
|
1033
|
+
private observer;
|
|
1034
|
+
private _subs;
|
|
1035
|
+
constructor(dataService: InphotoDataService, iconService: InphotoIconCacheService, _eventService: InphotoEventService);
|
|
1036
|
+
ngAfterViewInit(): void;
|
|
1037
|
+
ngOnDestroy(): void;
|
|
1038
|
+
setDataCollection(): void;
|
|
1039
|
+
handleSetImageAsBackground(event: string): void;
|
|
791
1040
|
handleShowFullImage(event: string): void;
|
|
792
1041
|
handleCloseFullImage(): void;
|
|
793
|
-
handleSetImageAsBackground(event: string): void;
|
|
794
1042
|
handleRemoveImageFromHistory(event: string): void;
|
|
795
1043
|
handleDownloadImage(event: string): void;
|
|
1044
|
+
scroll(direction: number): void;
|
|
1045
|
+
updateScrollState(): void;
|
|
796
1046
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageHistoryComponent, never>;
|
|
797
1047
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageHistoryComponent, "co-image-history", never, {}, { "setImageAsBackground": "setImageAsBackground"; }, never, never, false, never>;
|
|
798
1048
|
}
|
|
799
1049
|
|
|
800
1050
|
declare class ImageHistoryTileComponent {
|
|
801
|
-
iconService:
|
|
802
|
-
private _dataService;
|
|
1051
|
+
iconService: InphotoIconCacheService;
|
|
803
1052
|
readonly icons: typeof Icon;
|
|
804
1053
|
image: string;
|
|
1054
|
+
selected: boolean;
|
|
805
1055
|
showFullImage: EventEmitter<string>;
|
|
806
1056
|
setImageAsBackground: EventEmitter<string>;
|
|
807
1057
|
removeImageFromHistory: EventEmitter<string>;
|
|
808
1058
|
downloadImage: EventEmitter<string>;
|
|
809
1059
|
showClass(): boolean;
|
|
810
|
-
|
|
811
|
-
*
|
|
812
|
-
* Functionality
|
|
813
|
-
* - Show thumbnail of image
|
|
814
|
-
* - Show image in full size when clicked
|
|
815
|
-
* - Button to remove image from history
|
|
816
|
-
* - Button to use the image as background in the canvas
|
|
817
|
-
* - Button to use the image as background in the 3D scene?
|
|
818
|
-
*
|
|
819
|
-
* */
|
|
820
|
-
constructor(iconService: IconCacheService, _dataService: DataService);
|
|
1060
|
+
constructor(iconService: InphotoIconCacheService);
|
|
821
1061
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageHistoryTileComponent, never>;
|
|
822
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageHistoryTileComponent, "co-image-history-tile", never, { "image": { "alias": "image"; "required": false; }; }, { "showFullImage": "showFullImage"; "setImageAsBackground": "setImageAsBackground"; "removeImageFromHistory": "removeImageFromHistory"; "downloadImage": "downloadImage"; }, never, never, false, never>;
|
|
1062
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageHistoryTileComponent, "co-image-history-tile", never, { "image": { "alias": "image"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "showFullImage": "showFullImage"; "setImageAsBackground": "setImageAsBackground"; "removeImageFromHistory": "removeImageFromHistory"; "downloadImage": "downloadImage"; }, never, never, false, never>;
|
|
823
1063
|
}
|
|
824
1064
|
|
|
825
1065
|
declare class ImageHistoryTileModule {
|
|
@@ -830,238 +1070,322 @@ declare class ImageHistoryTileModule {
|
|
|
830
1070
|
|
|
831
1071
|
declare class ImageHistoryModule {
|
|
832
1072
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageHistoryModule, never>;
|
|
833
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageHistoryModule, [typeof ImageHistoryComponent], [typeof ImageHistoryTileModule, typeof PipeModule, typeof i2.ButtonModule], [typeof ImageHistoryComponent]>;
|
|
1073
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageHistoryModule, [typeof ImageHistoryComponent], [typeof ImageHistoryTileModule, typeof PipeModule, typeof i2.ButtonModule, typeof i2.IconModule], [typeof ImageHistoryComponent]>;
|
|
834
1074
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageHistoryModule>;
|
|
835
1075
|
}
|
|
836
1076
|
|
|
837
|
-
declare enum RoutesEnum {
|
|
838
|
-
Upload = "1",
|
|
839
|
-
AdjustImage = "2",
|
|
840
|
-
SelectProducts = "3",
|
|
841
|
-
EnhanceImage = "4"
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
declare class NavigationService {
|
|
845
|
-
readonly menuItemChange: EventEmitter<RoutesEnum>;
|
|
846
|
-
activeStep: RoutesEnum;
|
|
847
|
-
menuItems: {
|
|
848
|
-
label: string;
|
|
849
|
-
icon: Icon;
|
|
850
|
-
menuIndex: RoutesEnum;
|
|
851
|
-
disabled: boolean;
|
|
852
|
-
}[];
|
|
853
|
-
navigateToStep(step: RoutesEnum, updateDisabledItems?: boolean): void;
|
|
854
|
-
updateMenu(step: RoutesEnum): void;
|
|
855
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
856
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
1077
|
declare class PhotoEditorComponent implements OnInit {
|
|
860
|
-
iconService:
|
|
861
|
-
dataService:
|
|
862
|
-
router: Router;
|
|
863
|
-
navigationService: NavigationService;
|
|
1078
|
+
iconService: InphotoIconCacheService;
|
|
1079
|
+
dataService: InphotoDataService;
|
|
864
1080
|
private _connectorService;
|
|
865
|
-
private
|
|
1081
|
+
private _changeDetection;
|
|
1082
|
+
private _eventService;
|
|
866
1083
|
readonly icons: typeof Icon;
|
|
1084
|
+
readonly FileTypes: typeof FileTypes;
|
|
1085
|
+
showClass(): boolean;
|
|
867
1086
|
set image(value: string);
|
|
868
1087
|
get image(): string;
|
|
869
|
-
|
|
1088
|
+
showLoader: boolean;
|
|
1089
|
+
loadingTexts: string[];
|
|
1090
|
+
canvasErase: boolean;
|
|
1091
|
+
maskingList: MaskImageColorInterface[];
|
|
1092
|
+
canvasMaskColor: ColorPalette;
|
|
870
1093
|
private _image;
|
|
871
|
-
|
|
1094
|
+
private _canvasImage;
|
|
1095
|
+
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, _connectorService: InPhotoConnectorService, _changeDetection: ChangeDetectorRef, _eventService: InphotoEventService);
|
|
872
1096
|
ngOnInit(): void;
|
|
873
|
-
|
|
874
|
-
|
|
1097
|
+
toggleEraseMode(state: boolean): void;
|
|
1098
|
+
handleCreatePromptWithImages(event: PromptWithImages): void;
|
|
875
1099
|
handleStyleSelection(event: EnhanceStyle): void;
|
|
876
1100
|
handleSetImageFromHistory(event: string): void;
|
|
877
1101
|
handleBackButtonClicked(): void;
|
|
878
1102
|
handleImageUpload(event: File[]): void;
|
|
1103
|
+
handleChangeMarkerColor(data: MaskImageColorInterface): void;
|
|
1104
|
+
handleUpdateCanvasImage(image: string): void;
|
|
879
1105
|
private _handleSetLoader;
|
|
880
1106
|
private _handleImageResponse;
|
|
1107
|
+
private _addToHistory;
|
|
881
1108
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhotoEditorComponent, never>;
|
|
882
1109
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhotoEditorComponent, "co-photo-editor", never, { "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
|
|
883
1110
|
}
|
|
884
1111
|
|
|
1112
|
+
declare class ProcessLoaderComponent implements OnDestroy {
|
|
1113
|
+
iconCacheService: InphotoIconCacheService;
|
|
1114
|
+
readonly icons: typeof Icon;
|
|
1115
|
+
showClass(): boolean;
|
|
1116
|
+
set showLoader(value: boolean);
|
|
1117
|
+
get showLoader(): boolean;
|
|
1118
|
+
set loadingTexts(values: string[]);
|
|
1119
|
+
get loadingTexts(): string[];
|
|
1120
|
+
activeIndex: number;
|
|
1121
|
+
suppressTransition: boolean;
|
|
1122
|
+
private _showLoader;
|
|
1123
|
+
private _loadingTexts;
|
|
1124
|
+
private _intervalId;
|
|
1125
|
+
private _snapTimeoutId?;
|
|
1126
|
+
private _rafId;
|
|
1127
|
+
private _holdDuration;
|
|
1128
|
+
private _slideDuration;
|
|
1129
|
+
constructor(iconCacheService: InphotoIconCacheService);
|
|
1130
|
+
ngOnDestroy(): void;
|
|
1131
|
+
start(): void;
|
|
1132
|
+
advance(): void;
|
|
1133
|
+
reset(): void;
|
|
1134
|
+
stop(): void;
|
|
1135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLoaderComponent, never>;
|
|
1136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessLoaderComponent, "co-process-loader", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "loadingTexts": { "alias": "loadingTexts"; "required": false; }; }, {}, never, never, false, never>;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
declare class ProcessLoaderModule {
|
|
1140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLoaderModule, never>;
|
|
1141
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessLoaderModule, [typeof ProcessLoaderComponent], [typeof i2.LoaderModule, typeof PipeModule, typeof i4.DecimalPipe, typeof i5.UtilitiesPipesModule, typeof i2.IconModule], [typeof ProcessLoaderComponent]>;
|
|
1142
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessLoaderModule>;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
declare class CanvasToolBarComponent {
|
|
1146
|
+
iconService: InphotoIconCacheService;
|
|
1147
|
+
readonly icons: typeof Icon;
|
|
1148
|
+
showClass(): boolean;
|
|
1149
|
+
set canvasInpaintMode(value: boolean);
|
|
1150
|
+
get canvasInpaintMode(): boolean;
|
|
1151
|
+
set canvasEraseMode(value: boolean);
|
|
1152
|
+
get canvasEraseMode(): boolean;
|
|
1153
|
+
showActionButtons: boolean;
|
|
1154
|
+
showInfoIcon: boolean;
|
|
1155
|
+
title: string;
|
|
1156
|
+
changeEraseMode: EventEmitter<boolean>;
|
|
1157
|
+
cancelClick: EventEmitter<void>;
|
|
1158
|
+
processSegmentation: EventEmitter<void>;
|
|
1159
|
+
openInfoContainer: EventEmitter<any>;
|
|
1160
|
+
private _canvasInpaintMode;
|
|
1161
|
+
private _canvasEraseMode;
|
|
1162
|
+
constructor(iconService: InphotoIconCacheService);
|
|
1163
|
+
toggleEraseMode(mode: boolean): void;
|
|
1164
|
+
openInfoDialog(): void;
|
|
1165
|
+
handleCancelClick(): void;
|
|
1166
|
+
processInpainted(): void;
|
|
1167
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolBarComponent, never>;
|
|
1168
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CanvasToolBarComponent, "co-canvas-tool-bar", never, { "canvasInpaintMode": { "alias": "canvasInpaintMode"; "required": false; }; "canvasEraseMode": { "alias": "canvasEraseMode"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "showInfoIcon": { "alias": "showInfoIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "changeEraseMode": "changeEraseMode"; "cancelClick": "cancelClick"; "processSegmentation": "processSegmentation"; "openInfoContainer": "openInfoContainer"; }, never, never, false, never>;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
declare class CanvasToolBarModule {
|
|
1172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolBarModule, never>;
|
|
1173
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CanvasToolBarModule, [typeof CanvasToolBarComponent], [typeof i2.ButtonModule, typeof i2.IconModule, typeof PipeModule], [typeof CanvasToolBarComponent]>;
|
|
1174
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CanvasToolBarModule>;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
885
1177
|
declare class PhotoEditorModule {
|
|
886
1178
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhotoEditorModule, never>;
|
|
887
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PhotoEditorModule, [typeof PhotoEditorComponent], [typeof EditCanvasModule, typeof PipeModule, typeof ImageUploadModule, typeof i2.ButtonModule, typeof ImageEnhancerModule, typeof ImageHistoryModule], [typeof PhotoEditorComponent]>;
|
|
1179
|
+
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 PhotoEditorComponent]>;
|
|
888
1180
|
static ɵinj: i0.ɵɵInjectorDeclaration<PhotoEditorModule>;
|
|
889
1181
|
}
|
|
890
1182
|
|
|
891
1183
|
declare class PrepareStartingImageComponent implements OnDestroy {
|
|
892
|
-
|
|
893
|
-
iconService: IconCacheService;
|
|
894
|
-
navigationService: NavigationService;
|
|
1184
|
+
iconService: InphotoIconCacheService;
|
|
895
1185
|
private _connectorService;
|
|
896
|
-
private _loaderService;
|
|
897
1186
|
private _appEventService;
|
|
898
1187
|
readonly icons: typeof Icon;
|
|
899
1188
|
showClass(): boolean;
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
1189
|
+
image: string;
|
|
1190
|
+
cancelClick: EventEmitter<void>;
|
|
1191
|
+
processedRoom: EventEmitter<SceneBuildObject>;
|
|
1192
|
+
segmentationJobId: EventEmitter<string>;
|
|
1193
|
+
imageReady: EventEmitter<string>;
|
|
903
1194
|
disableSelectObjectsButton: boolean;
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
enableObjectPicker: boolean;
|
|
907
|
-
segmentationInPaintingData: any;
|
|
908
|
-
private _nextButtonDisabled;
|
|
1195
|
+
showLoader: boolean;
|
|
1196
|
+
loadingTexts: string[];
|
|
909
1197
|
private _subs;
|
|
910
|
-
|
|
911
|
-
private _usedSegmentation;
|
|
912
|
-
constructor(dataService: DataService, iconService: IconCacheService, navigationService: NavigationService, _connectorService: InPhotoConnectorService, _loaderService: LoaderService, _appEventService: AppEventService);
|
|
1198
|
+
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _appEventService: InphotoEventService);
|
|
913
1199
|
ngOnDestroy(): void;
|
|
1200
|
+
handleCancelClick(): void;
|
|
914
1201
|
handleClearAllObjects(): void;
|
|
915
1202
|
handleSelectToClearObjects(): void;
|
|
916
|
-
handleSegmentationPointClick(event: SegmentationPoint): void;
|
|
917
|
-
handleClearSelectedObjects(): void;
|
|
918
|
-
handleGenerateFloorData(): Promise<SceneBuildObject>;
|
|
919
|
-
handleNextRoute(): void;
|
|
920
|
-
handleBackRoute(): void;
|
|
921
1203
|
private _handleRoomReceived;
|
|
922
|
-
private _handleLoader;
|
|
923
1204
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareStartingImageComponent, never>;
|
|
924
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PrepareStartingImageComponent, "co-prepare-starting-image", never, {}, {}, never, never, false, never>;
|
|
1205
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrepareStartingImageComponent, "co-prepare-starting-image", never, { "image": { "alias": "image"; "required": false; }; }, { "cancelClick": "cancelClick"; "processedRoom": "processedRoom"; "segmentationJobId": "segmentationJobId"; "imageReady": "imageReady"; }, never, never, false, never>;
|
|
925
1206
|
}
|
|
926
1207
|
|
|
927
1208
|
declare class PrepareStartingImageModule {
|
|
928
1209
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareStartingImageModule, never>;
|
|
929
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PrepareStartingImageModule, [typeof PrepareStartingImageComponent], [typeof EditCanvasModule, typeof i2.ButtonModule, typeof PipeModule, typeof BackNextButtonsModule, typeof i2.IconModule], [typeof PrepareStartingImageComponent]>;
|
|
1210
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PrepareStartingImageModule, [typeof PrepareStartingImageComponent], [typeof EditCanvasModule, typeof i2.ButtonModule, typeof PipeModule, typeof BackNextButtonsModule, typeof i2.IconModule, typeof ProcessLoaderModule], [typeof PrepareStartingImageComponent]>;
|
|
930
1211
|
static ɵinj: i0.ɵɵInjectorDeclaration<PrepareStartingImageModule>;
|
|
931
1212
|
}
|
|
932
1213
|
|
|
933
|
-
declare class
|
|
934
|
-
|
|
935
|
-
appEventService: AppEventService;
|
|
936
|
-
private _changeDetectorRef;
|
|
937
|
-
showClass(): boolean;
|
|
938
|
-
get loaderProgress(): number;
|
|
939
|
-
set loaderProgress(value: number);
|
|
940
|
-
private _loaderProgress;
|
|
941
|
-
subs: Subscription[];
|
|
942
|
-
constructor(loaderService: LoaderService, appEventService: AppEventService, _changeDetectorRef: ChangeDetectorRef);
|
|
943
|
-
updateProgress(): void;
|
|
944
|
-
setLoaderDone(): void;
|
|
945
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLoaderComponent, never>;
|
|
946
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessLoaderComponent, "co-process-loader", never, {}, {}, never, never, false, never>;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
declare class ProcessLoaderModule {
|
|
950
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLoaderModule, never>;
|
|
951
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessLoaderModule, [typeof ProcessLoaderComponent], [typeof i2.LoaderModule, typeof PipeModule, typeof i4.DecimalPipe], [typeof ProcessLoaderComponent]>;
|
|
952
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessLoaderModule>;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
declare class StepMenuComponent {
|
|
956
|
-
navigationService: NavigationService;
|
|
957
|
-
iconService: IconCacheService;
|
|
958
|
-
readonly icons: typeof Icon;
|
|
959
|
-
showClass(): boolean;
|
|
960
|
-
constructor(navigationService: NavigationService, iconService: IconCacheService);
|
|
961
|
-
navigate(menuIndex: RoutesEnum): void;
|
|
962
|
-
isActive(menuIndex: RoutesEnum): boolean;
|
|
963
|
-
isFinished(item: any): boolean;
|
|
964
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepMenuComponent, never>;
|
|
965
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepMenuComponent, "co-step-menu", never, {}, {}, never, never, false, never>;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
declare class StepMenuModule {
|
|
969
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepMenuModule, never>;
|
|
970
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepMenuModule, [typeof StepMenuComponent], [typeof PipeModule, typeof i2.IconModule], [typeof StepMenuComponent]>;
|
|
971
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<StepMenuModule>;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
declare class ThreedSceneComponent implements AfterViewInit {
|
|
975
|
-
dataService: DataService;
|
|
976
|
-
router: Router;
|
|
977
|
-
navigationService: NavigationService;
|
|
978
|
-
iconService: IconCacheService;
|
|
979
|
-
modelConfigurationService: ModelConfigurationService;
|
|
1214
|
+
declare class InphotoThreedSceneComponent implements AfterViewInit {
|
|
1215
|
+
iconService: InphotoIconCacheService;
|
|
980
1216
|
private _interactionService;
|
|
981
1217
|
private _sceneService;
|
|
982
1218
|
private _objectsService;
|
|
983
|
-
private _settingService;
|
|
984
1219
|
private _appEventService;
|
|
1220
|
+
private _settingsService;
|
|
1221
|
+
private _configuringService;
|
|
1222
|
+
private _configuratorEventService;
|
|
1223
|
+
private _inphotoHudService;
|
|
985
1224
|
readonly icons: typeof Icon;
|
|
986
|
-
constructor(dataService: DataService, router: Router, navigationService: NavigationService, iconService: IconCacheService, modelConfigurationService: ModelConfigurationService, _interactionService: InteractionService, _sceneService: SceneService, _objectsService: ObjectsService, _settingService: SettingsService, _appEventService: AppEventService);
|
|
987
1225
|
showClass(): boolean;
|
|
988
1226
|
container: ElementRef<HTMLDivElement>;
|
|
1227
|
+
set room(value: SceneBuildObject);
|
|
1228
|
+
get room(): SceneBuildObject;
|
|
1229
|
+
set currentArticleConfiguration(value: ArticleConfiguration);
|
|
1230
|
+
get currentArticleConfiguration(): ArticleConfiguration;
|
|
1231
|
+
startAiDecoration: EventEmitter<string>;
|
|
1232
|
+
configuratorSettings: any;
|
|
1233
|
+
configuratorSku: string;
|
|
1234
|
+
configuratorInstanceId: string;
|
|
1235
|
+
firstBuild: boolean;
|
|
1236
|
+
loadConfigurator: boolean;
|
|
1237
|
+
showConfiguratorSideBar: boolean;
|
|
1238
|
+
private _room;
|
|
1239
|
+
private _sceneReady;
|
|
1240
|
+
private _currentArticleConfiguration;
|
|
1241
|
+
private _userActionNeeded;
|
|
1242
|
+
private _subs;
|
|
1243
|
+
constructor(iconService: InphotoIconCacheService, _interactionService: InphotoInteractionService, _sceneService: InphotoSceneService, _objectsService: InphotoItemService, _appEventService: InphotoEventService, _settingsService: InphotoSettingsService, _configuringService: ConfiguringService, _configuratorEventService: ConfiguratorEventService, _inphotoHudService: InphotoHudService);
|
|
989
1244
|
ngAfterViewInit(): void;
|
|
990
1245
|
init(): void;
|
|
991
|
-
openCatalog(): void;
|
|
992
|
-
handleNextRoute(): void;
|
|
993
|
-
handleBackRoute(): void;
|
|
994
1246
|
setBackgroundImage(url: string): void;
|
|
995
|
-
|
|
996
|
-
|
|
1247
|
+
handleConfigureObjectClick(articleConfiguration: ArticleConfiguration): void;
|
|
1248
|
+
handleObjectScaleClick(articleConfiguration: ArticleConfiguration): void;
|
|
1249
|
+
handleDeleteObject(articleConfiguration: ArticleConfiguration): void;
|
|
1250
|
+
showConfiguratorChange(show: boolean): void;
|
|
1251
|
+
handleChangeObjectScale(scale: Vector3): void;
|
|
1252
|
+
handleCloseConfiguratorSideBar(): void;
|
|
1253
|
+
handleThreedToAi(): void;
|
|
1254
|
+
private _addArticleToScene;
|
|
1255
|
+
private _prepareSettings;
|
|
1256
|
+
private _handleFirstBuild;
|
|
1257
|
+
private _handleBuildResult;
|
|
1258
|
+
private _continueConfiguration;
|
|
1259
|
+
private _resetConfigurator;
|
|
1260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoThreedSceneComponent, never>;
|
|
1261
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InphotoThreedSceneComponent, "co-inphoto-threed-scene", never, { "room": { "alias": "room"; "required": false; }; }, { "startAiDecoration": "startAiDecoration"; }, never, never, false, never>;
|
|
997
1262
|
}
|
|
998
1263
|
|
|
999
|
-
declare class
|
|
1000
|
-
|
|
1264
|
+
declare class SceneContextMenuComponent implements OnDestroy {
|
|
1265
|
+
iconService: InphotoIconCacheService;
|
|
1266
|
+
private _appEventService;
|
|
1267
|
+
private _interactionService;
|
|
1268
|
+
readonly icons: typeof Icon;
|
|
1001
1269
|
showClass(): boolean;
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
private
|
|
1270
|
+
configureObject: EventEmitter<ArticleConfiguration>;
|
|
1271
|
+
copyObject: EventEmitter<ArticleConfiguration>;
|
|
1272
|
+
scaleObject: EventEmitter<ArticleConfiguration>;
|
|
1273
|
+
deleteObject: EventEmitter<ArticleConfiguration>;
|
|
1274
|
+
activeItem: 'move' | 'rotate' | null;
|
|
1275
|
+
articleName: string;
|
|
1276
|
+
showContextMenu: boolean;
|
|
1277
|
+
private _subs;
|
|
1278
|
+
private _articleConfiguration;
|
|
1279
|
+
constructor(iconService: InphotoIconCacheService, _appEventService: InphotoEventService, _interactionService: InphotoInteractionService);
|
|
1280
|
+
ngOnDestroy(): void;
|
|
1281
|
+
handleMovementClick(): void;
|
|
1282
|
+
handleRotateClick(): void;
|
|
1283
|
+
handleConfigureClick(): void;
|
|
1284
|
+
handleScaleClick(): void;
|
|
1285
|
+
handleCopyClick(): void;
|
|
1286
|
+
handleDeleteClick(): void;
|
|
1287
|
+
setArticleConfiguration(article: ArticleConfiguration): void;
|
|
1288
|
+
closeMenu(): void;
|
|
1289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneContextMenuComponent, never>;
|
|
1290
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SceneContextMenuComponent, "co-scene-context-menu", never, {}, { "configureObject": "configureObject"; "copyObject": "copyObject"; "scaleObject": "scaleObject"; "deleteObject": "deleteObject"; }, never, never, false, never>;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
declare class SceneContextMenuModule {
|
|
1294
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneContextMenuModule, never>;
|
|
1295
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SceneContextMenuModule, [typeof SceneContextMenuComponent], [typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule], [typeof SceneContextMenuComponent]>;
|
|
1296
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SceneContextMenuModule>;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
declare class ConfigurationSideBarMenuComponent implements OnDestroy {
|
|
1300
|
+
iconService: InphotoIconCacheService;
|
|
1301
|
+
private _eventService;
|
|
1010
1302
|
readonly icons: typeof Icon;
|
|
1303
|
+
showClass(): boolean;
|
|
1304
|
+
set item(value: ArticleConfiguration);
|
|
1305
|
+
get item(): ArticleConfiguration;
|
|
1306
|
+
updateObjectScale: EventEmitter<Vector3>;
|
|
1307
|
+
closeClick: EventEmitter<void>;
|
|
1011
1308
|
scaleAll: number;
|
|
1012
1309
|
scaleX: number;
|
|
1013
1310
|
scaleY: number;
|
|
1014
1311
|
scaleZ: number;
|
|
1015
|
-
rotationDegrees: number;
|
|
1016
|
-
set item(value: ArticleConfiguration);
|
|
1017
|
-
get item(): ArticleConfiguration;
|
|
1018
|
-
showClass(): boolean;
|
|
1019
|
-
collapsed: boolean;
|
|
1020
1312
|
private _item;
|
|
1021
|
-
|
|
1022
|
-
|
|
1313
|
+
private _subs;
|
|
1314
|
+
constructor(iconService: InphotoIconCacheService, _eventService: InphotoEventService);
|
|
1315
|
+
ngOnDestroy(): void;
|
|
1023
1316
|
onScaleAllChange(event: Event): void;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
onScaleZChange(event: Event): void;
|
|
1027
|
-
toggleCollapse(): void;
|
|
1028
|
-
openConfiguration(): void;
|
|
1029
|
-
removeFromProject(): void;
|
|
1317
|
+
onScaleSingleAxis(event: Event): void;
|
|
1318
|
+
handleCloseClick(): void;
|
|
1030
1319
|
private _setProperties;
|
|
1031
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1032
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
1320
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSideBarMenuComponent, never>;
|
|
1321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationSideBarMenuComponent, "co-configuration-side-bar-menu", never, { "item": { "alias": "item"; "required": false; }; }, { "updateObjectScale": "updateObjectScale"; "closeClick": "closeClick"; }, never, never, false, never>;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
declare class ConfigurationSideBarMenuModule {
|
|
1325
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSideBarMenuModule, never>;
|
|
1326
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationSideBarMenuModule, [typeof ConfigurationSideBarMenuComponent], [typeof i2$1.FormsModule, typeof PipeModule, typeof i2.IconModule, typeof i2.ButtonModule, typeof i4.NgClass], [typeof ConfigurationSideBarMenuComponent]>;
|
|
1327
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationSideBarMenuModule>;
|
|
1033
1328
|
}
|
|
1034
1329
|
|
|
1035
|
-
declare class
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1330
|
+
declare class ThreedToAiComponent {
|
|
1331
|
+
iconService: InphotoIconCacheService;
|
|
1332
|
+
readonly icons: typeof Icon;
|
|
1333
|
+
showClass(): boolean;
|
|
1334
|
+
threedToAiClick: EventEmitter<void>;
|
|
1335
|
+
constructor(iconService: InphotoIconCacheService);
|
|
1336
|
+
handleClick(): void;
|
|
1337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedToAiComponent, never>;
|
|
1338
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThreedToAiComponent, "co-threed-to-ai", never, {}, { "threedToAiClick": "threedToAiClick"; }, never, never, false, never>;
|
|
1039
1339
|
}
|
|
1040
1340
|
|
|
1041
|
-
declare class
|
|
1042
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1043
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
1044
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
1341
|
+
declare class ThreedToAiModule {
|
|
1342
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedToAiModule, never>;
|
|
1343
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedToAiModule, [typeof ThreedToAiComponent], [typeof i2.IconModule, typeof PipeModule], [typeof ThreedToAiComponent]>;
|
|
1344
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedToAiModule>;
|
|
1045
1345
|
}
|
|
1046
1346
|
|
|
1047
|
-
declare class
|
|
1048
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1049
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
1050
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
1347
|
+
declare class InphotoThreedsceneModule {
|
|
1348
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoThreedsceneModule, never>;
|
|
1349
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InphotoThreedsceneModule, [typeof InphotoThreedSceneComponent], [typeof ImageUploadModule, typeof BackNextButtonsModule, typeof i2.ButtonModule, typeof PipeModule, typeof InphotoCatalogModule, typeof i2.IconModule, typeof i7.ConfiguratorModule, typeof SceneContextMenuModule, typeof ConfigurationSideBarMenuModule, typeof ThreedToAiModule], [typeof InphotoThreedSceneComponent]>;
|
|
1350
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InphotoThreedsceneModule>;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
declare enum RoutesEnum {
|
|
1354
|
+
Upload = "1",
|
|
1355
|
+
AdjustImage = "2",
|
|
1356
|
+
SelectProducts = "3",
|
|
1357
|
+
EnhanceImage = "4"
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
declare class NavigationService {
|
|
1361
|
+
readonly menuItemChange: EventEmitter<RoutesEnum>;
|
|
1362
|
+
activeStep: RoutesEnum;
|
|
1363
|
+
menuItems: {
|
|
1364
|
+
label: string;
|
|
1365
|
+
icon: Icon;
|
|
1366
|
+
menuIndex: RoutesEnum;
|
|
1367
|
+
disabled: boolean;
|
|
1368
|
+
}[];
|
|
1369
|
+
navigateToStep(step: RoutesEnum, updateDisabledItems?: boolean): void;
|
|
1370
|
+
updateMenu(step: RoutesEnum): void;
|
|
1371
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
1372
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
1051
1373
|
}
|
|
1052
1374
|
|
|
1053
1375
|
declare class UploadStartingImageComponent {
|
|
1054
|
-
iconService:
|
|
1055
|
-
dataService:
|
|
1376
|
+
iconService: InphotoIconCacheService;
|
|
1377
|
+
dataService: InphotoDataService;
|
|
1056
1378
|
navigationService: NavigationService;
|
|
1057
1379
|
readonly icons: typeof Icon;
|
|
1380
|
+
readonly FileTypes: typeof FileTypes;
|
|
1058
1381
|
showClass(): boolean;
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1382
|
+
cancelClick: EventEmitter<void>;
|
|
1383
|
+
uploadedImage: EventEmitter<string>;
|
|
1384
|
+
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, navigationService: NavigationService);
|
|
1062
1385
|
handleImageUpload(event: File[]): void;
|
|
1386
|
+
handleCancelClick(): void;
|
|
1063
1387
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadStartingImageComponent, never>;
|
|
1064
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadStartingImageComponent, "co-upload-starting-image", never, {}, {}, never, never, false, never>;
|
|
1388
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadStartingImageComponent, "co-upload-starting-image", never, {}, { "cancelClick": "cancelClick"; "uploadedImage": "uploadedImage"; }, never, never, false, never>;
|
|
1065
1389
|
}
|
|
1066
1390
|
|
|
1067
1391
|
declare class UploadStartingImageModule {
|
|
@@ -1074,29 +1398,188 @@ declare class AppInitializerService {
|
|
|
1074
1398
|
private _settingsService;
|
|
1075
1399
|
private _connectorService;
|
|
1076
1400
|
appInitialized: BehaviorSubject<boolean>;
|
|
1077
|
-
constructor(_settingsService:
|
|
1401
|
+
constructor(_settingsService: InphotoSettingsService, _connectorService: InPhotoConnectorService);
|
|
1078
1402
|
initializeApp(options?: Settings): Promise<void>;
|
|
1079
1403
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
|
|
1080
1404
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
|
|
1081
1405
|
}
|
|
1082
1406
|
|
|
1083
|
-
declare class InPhotoComponent
|
|
1407
|
+
declare class InPhotoComponent {
|
|
1084
1408
|
appInitializerService: AppInitializerService;
|
|
1085
|
-
|
|
1409
|
+
appEventService: InphotoEventService;
|
|
1410
|
+
private _cdk;
|
|
1086
1411
|
readonly RoutesEnum: typeof RoutesEnum;
|
|
1087
1412
|
showClass(): boolean;
|
|
1088
1413
|
set settings(input: any);
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1414
|
+
showImageUpload: boolean;
|
|
1415
|
+
showImagePrepare: boolean;
|
|
1416
|
+
showImageNextStep: boolean;
|
|
1417
|
+
showImageInpaint: boolean;
|
|
1418
|
+
showImageAiDecoration: boolean;
|
|
1419
|
+
show3D: boolean;
|
|
1420
|
+
showReadyToAddDialog: boolean;
|
|
1421
|
+
uploadedImage: string;
|
|
1422
|
+
preparedImage: string;
|
|
1423
|
+
aiDecorationImage: string;
|
|
1424
|
+
roomData: SceneBuildObject;
|
|
1425
|
+
segmentJobId: string;
|
|
1426
|
+
useMock: boolean;
|
|
1427
|
+
constructor(appInitializerService: AppInitializerService, appEventService: InphotoEventService, _cdk: ChangeDetectorRef);
|
|
1428
|
+
handleCancelClick(): void;
|
|
1429
|
+
startPoint(): void;
|
|
1430
|
+
handleImageUpload(image: string): void;
|
|
1431
|
+
handleProcessedRoom(roomData: SceneBuildObject): void;
|
|
1432
|
+
handleStart3D(data: SceneBuildObject): void;
|
|
1433
|
+
handleSegmentationJobId(segmentJobId: string): void;
|
|
1434
|
+
handleSegmentOutput(image: string): void;
|
|
1435
|
+
handleMenuChange(event: any): void;
|
|
1436
|
+
handleAiDecoration(image?: string): void;
|
|
1437
|
+
closeReadyToOpen(): void;
|
|
1438
|
+
handleOpenCatalog(): void;
|
|
1092
1439
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoComponent, never>;
|
|
1093
1440
|
static ɵcmp: i0.ɵɵComponentDeclaration<InPhotoComponent, "co-inphoto", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
1094
1441
|
}
|
|
1095
1442
|
|
|
1443
|
+
declare class SegmentInpaintComponent {
|
|
1444
|
+
iconService: InphotoIconCacheService;
|
|
1445
|
+
private _connectorService;
|
|
1446
|
+
private _loaderService;
|
|
1447
|
+
readonly icons: typeof Icon;
|
|
1448
|
+
showClass(): boolean;
|
|
1449
|
+
set image(value: string);
|
|
1450
|
+
get image(): string;
|
|
1451
|
+
set segmentJobId(value: string);
|
|
1452
|
+
get segmentJobId(): string;
|
|
1453
|
+
cancelClick: EventEmitter<void>;
|
|
1454
|
+
preparedImage: EventEmitter<string>;
|
|
1455
|
+
segmentationInPaintingData: any;
|
|
1456
|
+
showInfoDialog: boolean;
|
|
1457
|
+
canvasInPaint: boolean;
|
|
1458
|
+
canvasErase: boolean;
|
|
1459
|
+
showLoader: boolean;
|
|
1460
|
+
loadingTexts: string[];
|
|
1461
|
+
private _image;
|
|
1462
|
+
private _segmentJobiId;
|
|
1463
|
+
private _inpaintImageState;
|
|
1464
|
+
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _loaderService: LoaderService);
|
|
1465
|
+
handleCancelClick(): void;
|
|
1466
|
+
openInfoDialog(): void;
|
|
1467
|
+
handleCloseInfoDialogClick(): void;
|
|
1468
|
+
toggleEraseMode(erase: boolean): void;
|
|
1469
|
+
handleSegmentationPointClick(event: SegmentationPoint): void;
|
|
1470
|
+
processInpainted(): void;
|
|
1471
|
+
handleImageStateChange(image: string): void;
|
|
1472
|
+
private _handleLoader;
|
|
1473
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentInpaintComponent, never>;
|
|
1474
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentInpaintComponent, "co-segment-inpaint", never, { "image": { "alias": "image"; "required": false; }; "segmentJobId": { "alias": "segmentJobId"; "required": false; }; }, { "cancelClick": "cancelClick"; "preparedImage": "preparedImage"; }, never, never, false, never>;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
declare class InpaintInfoCardComponent {
|
|
1478
|
+
showClass(): boolean;
|
|
1479
|
+
icon: SafeHtml;
|
|
1480
|
+
title: string;
|
|
1481
|
+
description: string;
|
|
1482
|
+
number: number;
|
|
1483
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InpaintInfoCardComponent, never>;
|
|
1484
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InpaintInfoCardComponent, "co-inpaint-info-card", never, { "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "number": { "alias": "number"; "required": false; }; }, {}, never, never, false, never>;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
declare class SegmentInpaintModule {
|
|
1488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentInpaintModule, never>;
|
|
1489
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentInpaintModule, [typeof SegmentInpaintComponent, typeof InpaintInfoCardComponent], [typeof EditCanvasModule, typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule, typeof ProcessLoaderModule, typeof CanvasToolBarModule], [typeof SegmentInpaintComponent, typeof InpaintInfoCardComponent]>;
|
|
1490
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SegmentInpaintModule>;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
declare class ImageProcessCompleteComponent {
|
|
1494
|
+
iconService: InphotoIconCacheService;
|
|
1495
|
+
private _connectorService;
|
|
1496
|
+
private _appEventService;
|
|
1497
|
+
readonly icons: typeof Icon;
|
|
1498
|
+
showClass(): boolean;
|
|
1499
|
+
set image(value: string);
|
|
1500
|
+
get image(): string;
|
|
1501
|
+
handleStart3D: EventEmitter<SceneBuildObject>;
|
|
1502
|
+
handleAiDecorationClicked: EventEmitter<string>;
|
|
1503
|
+
showLoader: boolean;
|
|
1504
|
+
loadingTexts: string[];
|
|
1505
|
+
private _image;
|
|
1506
|
+
private _subs;
|
|
1507
|
+
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _appEventService: InphotoEventService);
|
|
1508
|
+
handle3DClick(): void;
|
|
1509
|
+
handleAiClick(): void;
|
|
1510
|
+
private _handleRoomReceived;
|
|
1511
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageProcessCompleteComponent, never>;
|
|
1512
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageProcessCompleteComponent, "co-image-process-complete", never, { "image": { "alias": "image"; "required": false; }; }, { "handleStart3D": "handleStart3D"; "handleAiDecorationClicked": "handleAiDecorationClicked"; }, never, never, false, never>;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
declare class ImageProcessCompleteNextComponent {
|
|
1516
|
+
iconService: InphotoIconCacheService;
|
|
1517
|
+
readonly icons: typeof Icon;
|
|
1518
|
+
showClass(): boolean;
|
|
1519
|
+
icon: Icon;
|
|
1520
|
+
header: string;
|
|
1521
|
+
body: string;
|
|
1522
|
+
onClick: EventEmitter<void>;
|
|
1523
|
+
constructor(iconService: InphotoIconCacheService);
|
|
1524
|
+
handleClick(): void;
|
|
1525
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageProcessCompleteNextComponent, never>;
|
|
1526
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageProcessCompleteNextComponent, "co-image-process-complete-next", never, { "icon": { "alias": "icon"; "required": false; }; "header": { "alias": "header"; "required": false; }; "body": { "alias": "body"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
declare class ImageProcessCompleteModule {
|
|
1530
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageProcessCompleteModule, never>;
|
|
1531
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageProcessCompleteModule, [typeof ImageProcessCompleteComponent, typeof ImageProcessCompleteNextComponent], [typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule, typeof ProcessLoaderModule], [typeof ImageProcessCompleteComponent, typeof ImageProcessCompleteNextComponent]>;
|
|
1532
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ImageProcessCompleteModule>;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
interface SideBarMenuOption {
|
|
1536
|
+
id: number;
|
|
1537
|
+
labelKey: string;
|
|
1538
|
+
icon: Icon;
|
|
1539
|
+
disabled: boolean;
|
|
1540
|
+
}
|
|
1541
|
+
declare class SideBarMenuComponent {
|
|
1542
|
+
iconService: InphotoIconCacheService;
|
|
1543
|
+
readonly icons: typeof Icon;
|
|
1544
|
+
showClass(): boolean;
|
|
1545
|
+
optionClicked: EventEmitter<SideBarMenuOption>;
|
|
1546
|
+
options: SideBarMenuOption[];
|
|
1547
|
+
activeId: number;
|
|
1548
|
+
constructor(iconService: InphotoIconCacheService);
|
|
1549
|
+
select(option: SideBarMenuOption): void;
|
|
1550
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideBarMenuComponent, never>;
|
|
1551
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideBarMenuComponent, "co-side-bar-menu", never, {}, { "optionClicked": "optionClicked"; }, never, never, false, never>;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
declare class SideBarMenuModule {
|
|
1555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideBarMenuModule, never>;
|
|
1556
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SideBarMenuModule, [typeof SideBarMenuComponent], [typeof i2.IconModule, typeof PipeModule], [typeof SideBarMenuComponent]>;
|
|
1557
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SideBarMenuModule>;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
declare class ReadyToAddArticlesComponent {
|
|
1561
|
+
iconCacheService: InphotoIconCacheService;
|
|
1562
|
+
readonly icons: typeof Icon;
|
|
1563
|
+
showClass(): boolean;
|
|
1564
|
+
closeClick: EventEmitter<void>;
|
|
1565
|
+
openCatalog: EventEmitter<void>;
|
|
1566
|
+
constructor(iconCacheService: InphotoIconCacheService);
|
|
1567
|
+
close(): void;
|
|
1568
|
+
open(): void;
|
|
1569
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadyToAddArticlesComponent, never>;
|
|
1570
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReadyToAddArticlesComponent, "co-ready-to-add-articles", never, {}, { "closeClick": "closeClick"; "openCatalog": "openCatalog"; }, never, never, false, never>;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
declare class ReadyToAddArticlesModule {
|
|
1574
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadyToAddArticlesModule, never>;
|
|
1575
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ReadyToAddArticlesModule, [typeof ReadyToAddArticlesComponent], [typeof i2.IconModule, typeof PipeModule, typeof i2.ButtonModule], [typeof ReadyToAddArticlesComponent]>;
|
|
1576
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ReadyToAddArticlesModule>;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1096
1579
|
declare class InPhotoModule {
|
|
1097
1580
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoModule, never>;
|
|
1098
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InPhotoModule, [typeof InPhotoComponent], [typeof UploadStartingImageModule, typeof
|
|
1581
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InPhotoModule, [typeof InPhotoComponent], [typeof UploadStartingImageModule, typeof ErrorDialogModule, typeof ProcessLoaderModule, typeof PrepareStartingImageModule, typeof InphotoThreedsceneModule, typeof PhotoEditorModule, typeof EditCanvasModule, typeof SegmentInpaintModule, typeof ImageProcessCompleteModule, typeof SideBarMenuModule, typeof InphotoCatalogModule, typeof ReadyToAddArticlesModule], [typeof InPhotoComponent]>;
|
|
1099
1582
|
static ɵinj: i0.ɵɵInjectorDeclaration<InPhotoModule>;
|
|
1100
1583
|
}
|
|
1101
1584
|
|
|
1102
|
-
export { BackNextButtonsComponent, BackNextButtonsModule,
|
|
1585
|
+
export { BackNextButtonsComponent, BackNextButtonsModule, EditCanvasComponent, EditCanvasModule, ErrorDialogComponent, ErrorDialogModule, ImageEnhancer, ImageEnhancerModule, ImageEnhancerStyleComponent, ImageEnhancerStyleModule, ImageEnhancerUploadComponent, ImageEnhancerUploadModule, ImageHistoryComponent, ImageHistoryModule, ImageHistoryTileComponent, ImageHistoryTileModule, ImageUpload, ImageUploadModule, InPhotoComponent, InPhotoModule, InphotoCatalogComponent, InphotoCatalogModule, InphotoThreedSceneComponent, InphotoThreedsceneModule, PhotoEditorComponent, PhotoEditorModule, PrepareStartingImageComponent, PrepareStartingImageModule, ProcessLoaderComponent, ProcessLoaderModule, UploadStartingImageComponent, UploadStartingImageModule };
|