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