@colijnit/inphoto 300.1.1 → 300.1.3
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/fesm2022/colijnit-inphoto.mjs +645 -324
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/lock_solid_full.svg +1 -0
- package/index.d.ts +35 -18
- package/lib/component/ai-prompt/style/_layout.scss +1 -1
- package/lib/component/back-next-buttons/style/_theme.scss +1 -0
- package/lib/component/canvas-tool-bar/style/_layout.scss +6 -0
- package/lib/component/edit-canvas/style/_layout.scss +6 -0
- package/lib/component/image-enhancer/style/_layout.scss +47 -26
- package/lib/component/image-enhancer/style/_theme.scss +14 -2
- package/lib/component/image-enhancer-style/style/_theme.scss +3 -3
- package/lib/component/image-history/style/_layout.scss +64 -9
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +1 -0
- package/lib/component/image-process-complete/style/_layout.scss +9 -3
- package/lib/component/image-process-complete/style/_theme.scss +21 -16
- package/lib/component/photo-editor/style/_layout.scss +1 -11
- package/lib/component/prepare-starting-image/style/_layout.scss +43 -66
- package/lib/component/prepare-starting-image/style/_material-definition.scss +1 -3
- package/lib/component/prepare-starting-image/style/_theme.scss +118 -0
- package/lib/component/process-loader/style/_layout.scss +29 -8
- package/lib/component/process-loader/style/_material-definition.scss +3 -0
- package/lib/component/process-loader/style/_theme.scss +87 -1
- package/lib/component/threedscene/style/_layout.scss +7 -3
- package/lib/style/_variables.scss +9 -8
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M256 160L256 224L384 224L384 160C384 124.7 355.3 96 320 96C284.7 96 256 124.7 256 160zM192 224L192 160C192 89.3 249.3 32 320 32C390.7 32 448 89.3 448 160L448 224C483.3 224 512 252.7 512 288L512 512C512 547.3 483.3 576 448 576L192 576C156.7 576 128 547.3 128 512L128 288C128 252.7 156.7 224 192 224z"/></svg>
|
package/index.d.ts
CHANGED
|
@@ -18,11 +18,12 @@ 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 * as i7 from '@colijnit/configurator';
|
|
21
|
+
import * as i7$1 from '@colijnit/configurator';
|
|
22
22
|
import { ConfigurationResultObject, ConfiguringService, ConfiguratorEventService } from '@colijnit/configurator';
|
|
23
23
|
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
24
24
|
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
25
25
|
import * as i2$1 from '@angular/forms';
|
|
26
|
+
import * as i7 from '@angular/cdk/drag-drop';
|
|
26
27
|
import * as i4 from '@angular/common';
|
|
27
28
|
import * as i5 from '@colijnit/utilities';
|
|
28
29
|
|
|
@@ -59,6 +60,7 @@ declare enum Icon {
|
|
|
59
60
|
ImageSolidFull = "image_solid_full",
|
|
60
61
|
InfoSolidFull = "info_solid_full",
|
|
61
62
|
LightbulbRegularFull = "lightbulb_regular_full",
|
|
63
|
+
LockSolidFull = "lock_solid_full",
|
|
62
64
|
PaintbrushRegular = "paintbrush_regular",
|
|
63
65
|
PenToSquareSolidFull = "pen_to_square_solid_full",
|
|
64
66
|
RotateLeftSharpSolidFull = "rotate_left_sharp_solid_full",
|
|
@@ -238,6 +240,7 @@ declare class InphotoEventService {
|
|
|
238
240
|
unSelectObject: Subject<void>;
|
|
239
241
|
updateProcessingImageData: Subject<boolean>;
|
|
240
242
|
updateCanvasMaskColor: Subject<boolean>;
|
|
243
|
+
clearMarkedCanvas: Subject<void>;
|
|
241
244
|
onGeneratedImageReceived: Subject<void>;
|
|
242
245
|
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoEventService, never>;
|
|
243
246
|
static ɵprov: i0.ɵɵInjectableDeclaration<InphotoEventService>;
|
|
@@ -465,6 +468,7 @@ declare class InphotoSceneService implements OnDestroy {
|
|
|
465
468
|
constructor(_objectsService: InphotoItemService);
|
|
466
469
|
ngOnDestroy(): void;
|
|
467
470
|
init(element: ElementRef<HTMLDivElement>): void;
|
|
471
|
+
resize(width: number, height: number): void;
|
|
468
472
|
getSceneAsImage(): string;
|
|
469
473
|
addObjectToScene(result: ArticleConfiguration): void;
|
|
470
474
|
placeObject(object: Object3D): void;
|
|
@@ -739,9 +743,10 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
739
743
|
stopDrawing(): void;
|
|
740
744
|
undoLastStroke(color?: ColorPalette): void;
|
|
741
745
|
clearColor(color: ColorPalette): void;
|
|
742
|
-
private _syncLayersFromData;
|
|
743
746
|
clearCanvas(): void;
|
|
744
747
|
loadBackground(): void;
|
|
748
|
+
private _applyCanvasSize;
|
|
749
|
+
private _syncLayersFromData;
|
|
745
750
|
private _getLayer;
|
|
746
751
|
private _resizeAndReplayLayers;
|
|
747
752
|
private _render;
|
|
@@ -792,11 +797,12 @@ declare class ImageEnhancer {
|
|
|
792
797
|
dataService: InphotoDataService;
|
|
793
798
|
private _appEventService;
|
|
794
799
|
readonly icons: typeof Icon;
|
|
800
|
+
showClass(): boolean;
|
|
801
|
+
dragBoundary: string;
|
|
795
802
|
selectedStyle: EventEmitter<EnhanceStyle>;
|
|
796
803
|
createPromptWithImages: EventEmitter<PromptWithImages>;
|
|
797
804
|
backButtonClicked: EventEmitter<void>;
|
|
798
805
|
changeMarkerColor: EventEmitter<MaskImageColorInterface>;
|
|
799
|
-
showClass(): boolean;
|
|
800
806
|
prompt: string;
|
|
801
807
|
activeTab: number;
|
|
802
808
|
showMaskInfoDialog: boolean;
|
|
@@ -810,7 +816,7 @@ declare class ImageEnhancer {
|
|
|
810
816
|
closeDialog(): void;
|
|
811
817
|
openDialog(): void;
|
|
812
818
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancer, never>;
|
|
813
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancer, "co-image-enhancer", never, {}, { "selectedStyle": "selectedStyle"; "createPromptWithImages": "createPromptWithImages"; "backButtonClicked": "backButtonClicked"; "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
819
|
+
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>;
|
|
814
820
|
}
|
|
815
821
|
|
|
816
822
|
declare enum FileTypes {
|
|
@@ -1011,7 +1017,7 @@ declare class ImageEnhancerUploadModule {
|
|
|
1011
1017
|
|
|
1012
1018
|
declare class ImageEnhancerModule {
|
|
1013
1019
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerModule, never>;
|
|
1014
|
-
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]>;
|
|
1020
|
+
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]>;
|
|
1015
1021
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerModule>;
|
|
1016
1022
|
}
|
|
1017
1023
|
|
|
@@ -1020,17 +1026,19 @@ declare class ImageHistoryComponent implements AfterViewInit, OnDestroy {
|
|
|
1020
1026
|
iconService: InphotoIconCacheService;
|
|
1021
1027
|
private _eventService;
|
|
1022
1028
|
readonly icons: typeof Icon;
|
|
1023
|
-
setImageAsBackground: EventEmitter<string>;
|
|
1024
1029
|
private tilesRow?;
|
|
1025
1030
|
showClass(): boolean;
|
|
1026
1031
|
onResize(): void;
|
|
1032
|
+
onEscape(): void;
|
|
1033
|
+
onArrowLeft(event: KeyboardEvent): void;
|
|
1034
|
+
onArrowRight(event: KeyboardEvent): void;
|
|
1035
|
+
setImageAsBackground: EventEmitter<string>;
|
|
1027
1036
|
displayedImages: string[];
|
|
1028
1037
|
selectedImage: string;
|
|
1029
1038
|
showFullImage: boolean;
|
|
1030
1039
|
fullImage: string;
|
|
1031
1040
|
canScrollLeft: boolean;
|
|
1032
1041
|
canScrollRight: boolean;
|
|
1033
|
-
private observer;
|
|
1034
1042
|
private _subs;
|
|
1035
1043
|
constructor(dataService: InphotoDataService, iconService: InphotoIconCacheService, _eventService: InphotoEventService);
|
|
1036
1044
|
ngAfterViewInit(): void;
|
|
@@ -1041,8 +1049,14 @@ declare class ImageHistoryComponent implements AfterViewInit, OnDestroy {
|
|
|
1041
1049
|
handleCloseFullImage(): void;
|
|
1042
1050
|
handleRemoveImageFromHistory(event: string): void;
|
|
1043
1051
|
handleDownloadImage(event: string): void;
|
|
1052
|
+
handleDownloadFullImage(): void;
|
|
1053
|
+
handleDeleteFullImage(): void;
|
|
1044
1054
|
scroll(direction: number): void;
|
|
1055
|
+
onWheel(event: WheelEvent): void;
|
|
1045
1056
|
updateScrollState(): void;
|
|
1057
|
+
showNextPrevImage(): void;
|
|
1058
|
+
showNextLargeImage(): void;
|
|
1059
|
+
private _getCurrentIndex;
|
|
1046
1060
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageHistoryComponent, never>;
|
|
1047
1061
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageHistoryComponent, "co-image-history", never, {}, { "setImageAsBackground": "setImageAsBackground"; }, never, never, false, never>;
|
|
1048
1062
|
}
|
|
@@ -1153,6 +1167,7 @@ declare class CanvasToolBarComponent {
|
|
|
1153
1167
|
showActionButtons: boolean;
|
|
1154
1168
|
showInfoIcon: boolean;
|
|
1155
1169
|
title: string;
|
|
1170
|
+
dragBoundary: string;
|
|
1156
1171
|
changeEraseMode: EventEmitter<boolean>;
|
|
1157
1172
|
cancelClick: EventEmitter<void>;
|
|
1158
1173
|
processSegmentation: EventEmitter<void>;
|
|
@@ -1165,22 +1180,22 @@ declare class CanvasToolBarComponent {
|
|
|
1165
1180
|
handleCancelClick(): void;
|
|
1166
1181
|
processInpainted(): void;
|
|
1167
1182
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolBarComponent, never>;
|
|
1168
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CanvasToolBarComponent, "co-canvas-tool-bar", never, { "canvasInpaintMode": { "alias": "canvasInpaintMode"; "required": false; }; "canvasEraseMode": { "alias": "canvasEraseMode"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "showInfoIcon": { "alias": "showInfoIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "changeEraseMode": "changeEraseMode"; "cancelClick": "cancelClick"; "processSegmentation": "processSegmentation"; "openInfoContainer": "openInfoContainer"; }, never, never, false, never>;
|
|
1183
|
+
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>;
|
|
1169
1184
|
}
|
|
1170
1185
|
|
|
1171
1186
|
declare class CanvasToolBarModule {
|
|
1172
1187
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolBarModule, never>;
|
|
1173
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CanvasToolBarModule, [typeof CanvasToolBarComponent], [typeof i2.ButtonModule, typeof i2.IconModule, typeof PipeModule], [typeof CanvasToolBarComponent]>;
|
|
1188
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CanvasToolBarModule, [typeof CanvasToolBarComponent], [typeof i2.ButtonModule, typeof i2.IconModule, typeof PipeModule, typeof i7.CdkDrag, typeof i7.CdkDragHandle], [typeof CanvasToolBarComponent]>;
|
|
1174
1189
|
static ɵinj: i0.ɵɵInjectorDeclaration<CanvasToolBarModule>;
|
|
1175
1190
|
}
|
|
1176
1191
|
|
|
1177
1192
|
declare class PhotoEditorModule {
|
|
1178
1193
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhotoEditorModule, never>;
|
|
1179
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PhotoEditorModule, [typeof PhotoEditorComponent], [typeof EditCanvasModule, typeof PipeModule, typeof ImageUploadModule, typeof i2.ButtonModule, typeof ImageEnhancerModule, typeof ImageHistoryModule, typeof ProcessLoaderModule, typeof i2.IconModule, typeof CanvasToolBarModule], [typeof PhotoEditorComponent]>;
|
|
1194
|
+
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]>;
|
|
1180
1195
|
static ɵinj: i0.ɵɵInjectorDeclaration<PhotoEditorModule>;
|
|
1181
1196
|
}
|
|
1182
1197
|
|
|
1183
|
-
declare class PrepareStartingImageComponent
|
|
1198
|
+
declare class PrepareStartingImageComponent {
|
|
1184
1199
|
iconService: InphotoIconCacheService;
|
|
1185
1200
|
private _connectorService;
|
|
1186
1201
|
private _appEventService;
|
|
@@ -1191,18 +1206,18 @@ declare class PrepareStartingImageComponent implements OnDestroy {
|
|
|
1191
1206
|
processedRoom: EventEmitter<SceneBuildObject>;
|
|
1192
1207
|
segmentationJobId: EventEmitter<string>;
|
|
1193
1208
|
imageReady: EventEmitter<string>;
|
|
1209
|
+
continueToAI: EventEmitter<string>;
|
|
1194
1210
|
disableSelectObjectsButton: boolean;
|
|
1195
1211
|
showLoader: boolean;
|
|
1196
1212
|
loadingTexts: string[];
|
|
1197
|
-
private _subs;
|
|
1198
1213
|
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _appEventService: InphotoEventService);
|
|
1199
|
-
ngOnDestroy(): void;
|
|
1200
1214
|
handleCancelClick(): void;
|
|
1201
1215
|
handleClearAllObjects(): void;
|
|
1202
1216
|
handleSelectToClearObjects(): void;
|
|
1217
|
+
handleContinueToAI(): void;
|
|
1203
1218
|
private _handleRoomReceived;
|
|
1204
1219
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareStartingImageComponent, never>;
|
|
1205
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PrepareStartingImageComponent, "co-prepare-starting-image", never, { "image": { "alias": "image"; "required": false; }; }, { "cancelClick": "cancelClick"; "processedRoom": "processedRoom"; "segmentationJobId": "segmentationJobId"; "imageReady": "imageReady"; }, never, never, false, never>;
|
|
1220
|
+
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>;
|
|
1206
1221
|
}
|
|
1207
1222
|
|
|
1208
1223
|
declare class PrepareStartingImageModule {
|
|
@@ -1346,7 +1361,7 @@ declare class ThreedToAiModule {
|
|
|
1346
1361
|
|
|
1347
1362
|
declare class InphotoThreedsceneModule {
|
|
1348
1363
|
static ɵfac: i0.ɵɵFactoryDeclaration<InphotoThreedsceneModule, never>;
|
|
1349
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InphotoThreedsceneModule, [typeof InphotoThreedSceneComponent], [typeof ImageUploadModule, typeof BackNextButtonsModule, typeof i2.ButtonModule, typeof PipeModule, typeof InphotoCatalogModule, typeof i2.IconModule, typeof i7.ConfiguratorModule, typeof SceneContextMenuModule, typeof ConfigurationSideBarMenuModule, typeof ThreedToAiModule], [typeof InphotoThreedSceneComponent]>;
|
|
1364
|
+
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]>;
|
|
1350
1365
|
static ɵinj: i0.ɵɵInjectorDeclaration<InphotoThreedsceneModule>;
|
|
1351
1366
|
}
|
|
1352
1367
|
|
|
@@ -1408,7 +1423,6 @@ declare class InPhotoComponent {
|
|
|
1408
1423
|
appInitializerService: AppInitializerService;
|
|
1409
1424
|
appEventService: InphotoEventService;
|
|
1410
1425
|
private _cdk;
|
|
1411
|
-
readonly RoutesEnum: typeof RoutesEnum;
|
|
1412
1426
|
showClass(): boolean;
|
|
1413
1427
|
set settings(input: any);
|
|
1414
1428
|
showImageUpload: boolean;
|
|
@@ -1423,7 +1437,6 @@ declare class InPhotoComponent {
|
|
|
1423
1437
|
aiDecorationImage: string;
|
|
1424
1438
|
roomData: SceneBuildObject;
|
|
1425
1439
|
segmentJobId: string;
|
|
1426
|
-
useMock: boolean;
|
|
1427
1440
|
constructor(appInitializerService: AppInitializerService, appEventService: InphotoEventService, _cdk: ChangeDetectorRef);
|
|
1428
1441
|
handleCancelClick(): void;
|
|
1429
1442
|
startPoint(): void;
|
|
@@ -1432,8 +1445,10 @@ declare class InPhotoComponent {
|
|
|
1432
1445
|
handleStart3D(data: SceneBuildObject): void;
|
|
1433
1446
|
handleSegmentationJobId(segmentJobId: string): void;
|
|
1434
1447
|
handleSegmentOutput(image: string): void;
|
|
1448
|
+
handleCancelSegmentClick(): void;
|
|
1435
1449
|
handleMenuChange(event: any): void;
|
|
1436
1450
|
handleAiDecoration(image?: string): void;
|
|
1451
|
+
handleCancelCompleteClick(): void;
|
|
1437
1452
|
closeReadyToOpen(): void;
|
|
1438
1453
|
handleOpenCatalog(): void;
|
|
1439
1454
|
static ɵfac: i0.ɵɵFactoryDeclaration<InPhotoComponent, never>;
|
|
@@ -1500,6 +1515,7 @@ declare class ImageProcessCompleteComponent {
|
|
|
1500
1515
|
get image(): string;
|
|
1501
1516
|
handleStart3D: EventEmitter<SceneBuildObject>;
|
|
1502
1517
|
handleAiDecorationClicked: EventEmitter<string>;
|
|
1518
|
+
cancelClick: EventEmitter<void>;
|
|
1503
1519
|
showLoader: boolean;
|
|
1504
1520
|
loadingTexts: string[];
|
|
1505
1521
|
private _image;
|
|
@@ -1507,9 +1523,10 @@ declare class ImageProcessCompleteComponent {
|
|
|
1507
1523
|
constructor(iconService: InphotoIconCacheService, _connectorService: InPhotoConnectorService, _appEventService: InphotoEventService);
|
|
1508
1524
|
handle3DClick(): void;
|
|
1509
1525
|
handleAiClick(): void;
|
|
1526
|
+
cancel(): void;
|
|
1510
1527
|
private _handleRoomReceived;
|
|
1511
1528
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageProcessCompleteComponent, never>;
|
|
1512
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageProcessCompleteComponent, "co-image-process-complete", never, { "image": { "alias": "image"; "required": false; }; }, { "handleStart3D": "handleStart3D"; "handleAiDecorationClicked": "handleAiDecorationClicked"; }, never, never, false, never>;
|
|
1529
|
+
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>;
|
|
1513
1530
|
}
|
|
1514
1531
|
|
|
1515
1532
|
declare class ImageProcessCompleteNextComponent {
|
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
justify-content: space-around;
|
|
17
17
|
|
|
18
18
|
.drag-indicator-icon {
|
|
19
|
+
cursor: grab;
|
|
20
|
+
|
|
21
|
+
&:active {
|
|
22
|
+
cursor: grabbing;
|
|
23
|
+
}
|
|
24
|
+
|
|
19
25
|
@include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-text));
|
|
20
26
|
}
|
|
21
27
|
|
|
@@ -38,37 +38,58 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
transition: opacity 0.2s ease;
|
|
54
|
-
|
|
55
|
-
.collapse-menu-open, .collapse-close-open {
|
|
56
|
-
display: flex;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
align-items: center;
|
|
59
|
-
|
|
60
|
-
.collapse-menu-text {
|
|
61
|
-
@include cfg.text();
|
|
62
|
-
}
|
|
41
|
+
.image-enhancer-header {
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: space-between;
|
|
44
|
+
gap: 20px;
|
|
45
|
+
|
|
46
|
+
.drag-indicator-icon {
|
|
47
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
48
|
+
background: var(--co-inphoto-background-white);
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
padding: 10px;
|
|
51
|
+
cursor: grab;
|
|
63
52
|
|
|
64
|
-
|
|
53
|
+
&:active {
|
|
54
|
+
cursor: grabbing;
|
|
65
55
|
}
|
|
56
|
+
|
|
66
57
|
}
|
|
67
58
|
|
|
68
|
-
.collapse-menu
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
.collapse-menu {
|
|
60
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
61
|
+
background: var(--co-inphoto-background-white);
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
padding: 10px;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
display: grid;
|
|
66
|
+
|
|
67
|
+
.collapse-menu-item {
|
|
68
|
+
grid-area: 1 / 1;
|
|
69
|
+
opacity: 0;
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
transition: opacity 0.2s ease;
|
|
72
|
+
|
|
73
|
+
.collapse-menu-open, .collapse-close-open {
|
|
74
|
+
display: flex;
|
|
75
|
+
justify-content: space-between;
|
|
76
|
+
align-items: center;
|
|
77
|
+
|
|
78
|
+
.collapse-menu-text {
|
|
79
|
+
@include cfg.text();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.collapse-menu-active {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
pointer-events: auto;
|
|
89
|
+
}
|
|
71
90
|
}
|
|
91
|
+
|
|
72
92
|
}
|
|
93
|
+
|
|
73
94
|
}
|
|
74
95
|
}
|
|
@@ -2,14 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
@include cfg.export-module('co-image-enhancer-theme') {
|
|
4
4
|
.co-image-enhancer {
|
|
5
|
+
.enhancer-container {
|
|
6
|
+
background: rgba(255, 255, 255, 0.9);
|
|
7
|
+
position: fixed;
|
|
8
|
+
top: 20px;
|
|
9
|
+
right: 20px;
|
|
10
|
+
width: 30%;
|
|
11
|
+
max-width: 30%;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
padding: 20px;
|
|
14
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
5
18
|
.image-enhancer-container {
|
|
6
19
|
.header {
|
|
7
20
|
.header-icon-container {
|
|
8
21
|
margin-bottom: 10px;
|
|
9
22
|
|
|
10
23
|
h2 {
|
|
11
|
-
|
|
12
|
-
color: var(--co-inphoto-color-dark);
|
|
24
|
+
@include cfg.header-text();
|
|
13
25
|
}
|
|
14
26
|
}
|
|
15
27
|
}
|
|
@@ -61,24 +61,79 @@
|
|
|
61
61
|
inset: 0;
|
|
62
62
|
z-index: 1000;
|
|
63
63
|
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
64
65
|
justify-content: center;
|
|
65
66
|
align-items: center;
|
|
66
67
|
|
|
68
|
+
.dialog-container {
|
|
69
|
+
position: relative;
|
|
67
70
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
top: 20px;
|
|
71
|
-
right: 20px;
|
|
72
|
-
cursor: pointer;
|
|
71
|
+
.close-dialog-button, .dialog-prev-button, .dialog-next-button {
|
|
72
|
+
position: absolute;
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
background: var(--co-inphoto-loader-background-dark);
|
|
76
|
+
width: 30px;
|
|
77
|
+
height: 30px;
|
|
78
|
+
border-radius: 50%;
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: space-around;
|
|
82
|
+
|
|
83
|
+
.co-icon {
|
|
84
|
+
flex: 1
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color-light));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.close-dialog-button {
|
|
91
|
+
top: 20px;
|
|
92
|
+
right: 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.dialog-prev-button {
|
|
96
|
+
left: 20px;
|
|
97
|
+
top: 50%;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dialog-next-button {
|
|
101
|
+
right: 20px;
|
|
102
|
+
top: 50%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.dialog-toolbar {
|
|
106
|
+
position: absolute;
|
|
107
|
+
bottom: 20px;
|
|
108
|
+
right: 20px;
|
|
109
|
+
display: flex;
|
|
110
|
+
gap: 10px;
|
|
111
|
+
|
|
112
|
+
.co-button {
|
|
113
|
+
display: flex;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
padding: 8px 15px;
|
|
117
|
+
background: var(--co-inphoto-loader-background-dark);
|
|
118
|
+
color: var(--co-inphoto-color-light);
|
|
119
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
120
|
+
font-size: var(--co-inphoto-font-size-label);
|
|
121
|
+
|
|
122
|
+
.label {
|
|
123
|
+
margin-left: 10px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
75
129
|
}
|
|
76
130
|
|
|
131
|
+
|
|
77
132
|
.large-image {
|
|
78
|
-
max-width:
|
|
79
|
-
max-height:
|
|
133
|
+
max-width: 100%;
|
|
134
|
+
max-height: 100%;
|
|
80
135
|
object-fit: contain;
|
|
81
|
-
border-radius:
|
|
136
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
82
137
|
}
|
|
83
138
|
}
|
|
84
139
|
}
|
|
@@ -3,9 +3,15 @@
|
|
|
3
3
|
@include cfg.export-module('co-image-process-complete-layout') {
|
|
4
4
|
.co-image-process-complete {
|
|
5
5
|
.image-process-complete {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
background-size: contain;
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-around;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
min-height: 100vh;
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
background-position: center;
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
.image-process-complete-dialog {
|
|
@@ -16,17 +16,21 @@
|
|
|
16
16
|
background: var(--co-inphoto-header-icon-background);
|
|
17
17
|
color: var(--co-inphoto-success-color);
|
|
18
18
|
margin-right: 25px;
|
|
19
|
-
height:
|
|
20
|
-
width:
|
|
21
|
-
|
|
19
|
+
height: 50px;
|
|
20
|
+
width: 50px;
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: space-around;
|
|
23
|
+
align-items: center;
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-success-color));
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
.header-info {
|
|
25
|
-
.header-
|
|
29
|
+
.header-text {
|
|
26
30
|
@include cfg.header-text();
|
|
27
31
|
}
|
|
28
32
|
|
|
29
|
-
.
|
|
33
|
+
.explain-text {
|
|
30
34
|
@include cfg.text();
|
|
31
35
|
}
|
|
32
36
|
}
|
|
@@ -35,20 +39,21 @@
|
|
|
35
39
|
margin-left: auto;
|
|
36
40
|
|
|
37
41
|
.co-button {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
@include cfg.action-button(
|
|
43
|
+
var(--co-inphoto-button-background),
|
|
44
|
+
var(--co-inphoto-button-background),
|
|
45
|
+
var(--co-inphoto-button-color),
|
|
46
|
+
var(--co-inphoto-button-font-size),
|
|
47
|
+
var(--co-inphoto-button-icon-size),
|
|
48
|
+
var(--co-inphoto-button-icon-color),
|
|
49
|
+
var(--co-inphoto-button-border),
|
|
50
|
+
var(--co-inphoto-button-radius),
|
|
51
|
+
var(--co-inphoto-button-padding)
|
|
52
|
+
);
|
|
49
53
|
|
|
50
54
|
.label {
|
|
51
55
|
margin-left: 15px;
|
|
56
|
+
font-weight: bold;
|
|
52
57
|
}
|
|
53
58
|
}
|
|
54
59
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
width: 100vw;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
background: rgba(255, 255, 255, 0.9);
|
|
15
|
-
position: fixed;
|
|
16
|
-
top: 20px;
|
|
17
|
-
right: 20px;
|
|
18
|
-
width: 30%;
|
|
19
|
-
max-width: 30%;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
padding: 20px;
|
|
22
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
23
|
-
}
|
|
13
|
+
|
|
24
14
|
}
|
|
25
15
|
}
|