@colijnit/inphoto 300.1.8 → 300.1.9
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/fesm2022/colijnit-inphoto.mjs +335 -194
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/index.d.ts +49 -26
- package/lib/component/canvas-tool-bar/style/_layout.scss +8 -0
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +3 -0
- package/lib/component/canvas-tool-bar/style/_theme.scss +30 -0
- package/lib/component/edit-canvas/style/_layout.scss +0 -11
- package/lib/component/edit-canvas/style/_material-definition.scss +0 -4
- package/lib/component/edit-canvas/style/_theme.scss +0 -35
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -22,9 +22,9 @@ import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/
|
|
|
22
22
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
23
23
|
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
24
24
|
import * as i2 from '@colijnit/corecomponents_v12';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i4 from '@angular/forms';
|
|
26
26
|
import * as i7 from '@angular/cdk/drag-drop';
|
|
27
|
-
import * as i4 from '@angular/common';
|
|
27
|
+
import * as i4$1 from '@angular/common';
|
|
28
28
|
import * as i5 from '@colijnit/utilities';
|
|
29
29
|
|
|
30
30
|
declare class InphotoDictionaryService {
|
|
@@ -792,7 +792,7 @@ declare class EditCanvasComponent implements AfterViewInit {
|
|
|
792
792
|
|
|
793
793
|
declare class EditCanvasModule {
|
|
794
794
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditCanvasModule, never>;
|
|
795
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EditCanvasModule, [typeof EditCanvasComponent], [typeof i2
|
|
795
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EditCanvasModule, [typeof EditCanvasComponent], [typeof i2.IconModule], [typeof EditCanvasComponent]>;
|
|
796
796
|
static ɵinj: i0.ɵɵInjectorDeclaration<EditCanvasModule>;
|
|
797
797
|
}
|
|
798
798
|
|
|
@@ -818,18 +818,15 @@ interface MaskImageColorInterface {
|
|
|
818
818
|
color: ColorPalette;
|
|
819
819
|
}
|
|
820
820
|
|
|
821
|
-
declare class PromptWithImages extends Prompt {
|
|
822
|
-
imageData: ImageData[];
|
|
823
|
-
}
|
|
824
|
-
|
|
825
821
|
declare class ImageEnhancer {
|
|
826
822
|
iconService: InphotoIconCacheService;
|
|
827
823
|
dataService: InphotoDataService;
|
|
828
824
|
private _appEventService;
|
|
829
825
|
readonly icons: typeof Icon;
|
|
830
826
|
showClass(): boolean;
|
|
831
|
-
|
|
832
|
-
|
|
827
|
+
canvasImage: string;
|
|
828
|
+
generateStarted: EventEmitter<void>;
|
|
829
|
+
imageGenerated: EventEmitter<string>;
|
|
833
830
|
backButtonClicked: EventEmitter<void>;
|
|
834
831
|
changeMarkerColor: EventEmitter<MaskImageColorInterface>;
|
|
835
832
|
prompt: string;
|
|
@@ -838,14 +835,14 @@ declare class ImageEnhancer {
|
|
|
838
835
|
collapsed: boolean;
|
|
839
836
|
constructor(iconService: InphotoIconCacheService, dataService: InphotoDataService, _appEventService: InphotoEventService);
|
|
840
837
|
setTab(index: number): void;
|
|
841
|
-
|
|
842
|
-
|
|
838
|
+
handleGenerateStarted(): void;
|
|
839
|
+
handleImageGenerated(image: string): void;
|
|
843
840
|
handleBackClicked(): void;
|
|
844
841
|
handleChangeMarkerColor(data: MaskImageColorInterface): void;
|
|
845
842
|
closeDialog(): void;
|
|
846
843
|
openDialog(): void;
|
|
847
844
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancer, never>;
|
|
848
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancer, "co-image-enhancer", never, {}, { "
|
|
845
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancer, "co-image-enhancer", never, { "canvasImage": { "alias": "canvasImage"; "required": false; }; }, { "generateStarted": "generateStarted"; "imageGenerated": "imageGenerated"; "backButtonClicked": "backButtonClicked"; "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
849
846
|
}
|
|
850
847
|
|
|
851
848
|
declare enum FileTypes {
|
|
@@ -902,9 +899,14 @@ declare class ImageEnhancerStyleComponent implements OnInit {
|
|
|
902
899
|
connectorService: InPhotoConnectorService;
|
|
903
900
|
iconCacheService: InphotoIconCacheService;
|
|
904
901
|
private _changeDetection;
|
|
902
|
+
private _eventService;
|
|
905
903
|
readonly icons: typeof Icon;
|
|
906
904
|
get showClass(): boolean;
|
|
907
|
-
|
|
905
|
+
canvasImage: string;
|
|
906
|
+
showInstructionTexts: boolean;
|
|
907
|
+
showResetButton: boolean;
|
|
908
|
+
generateStarted: EventEmitter<void>;
|
|
909
|
+
imageGenerated: EventEmitter<string>;
|
|
908
910
|
backButtonClicked: EventEmitter<void>;
|
|
909
911
|
customPrompt: string;
|
|
910
912
|
customPromptMode: PromptStyle;
|
|
@@ -917,15 +919,16 @@ declare class ImageEnhancerStyleComponent implements OnInit {
|
|
|
917
919
|
modeCollection: DecorationStyle[];
|
|
918
920
|
selectedDecorationStyle: DecorationStyle;
|
|
919
921
|
decorationStyleCollection: DecorationStyle[];
|
|
920
|
-
constructor(connectorService: InPhotoConnectorService, iconCacheService: InphotoIconCacheService, _changeDetection: ChangeDetectorRef);
|
|
922
|
+
constructor(connectorService: InPhotoConnectorService, iconCacheService: InphotoIconCacheService, _changeDetection: ChangeDetectorRef, _eventService: InphotoEventService);
|
|
921
923
|
ngOnInit(): Promise<void>;
|
|
922
924
|
handleChangeRoomType(event: DecorationStyle): void;
|
|
923
925
|
handleChangeMode(event: DecorationStyle): void;
|
|
924
926
|
handleChangeStyle(event: DecorationStyle): void;
|
|
925
927
|
handleGenerateClicked(): void;
|
|
928
|
+
handleStyleSelection(event: EnhanceStyle): void;
|
|
926
929
|
handleBackClicked(): void;
|
|
927
930
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerStyleComponent, never>;
|
|
928
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerStyleComponent, "co-image-enhancer-style", never, {}, { "
|
|
931
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerStyleComponent, "co-image-enhancer-style", never, { "canvasImage": { "alias": "canvasImage"; "required": false; }; "showInstructionTexts": { "alias": "showInstructionTexts"; "required": false; }; "showResetButton": { "alias": "showResetButton"; "required": false; }; }, { "generateStarted": "generateStarted"; "imageGenerated": "imageGenerated"; "backButtonClicked": "backButtonClicked"; }, never, never, false, never>;
|
|
929
932
|
}
|
|
930
933
|
|
|
931
934
|
declare class AiPromptComponent {
|
|
@@ -950,7 +953,7 @@ declare class AiPromptComponent {
|
|
|
950
953
|
|
|
951
954
|
declare class AiPromptModule {
|
|
952
955
|
static ɵfac: i0.ɵɵFactoryDeclaration<AiPromptModule, never>;
|
|
953
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AiPromptModule, [typeof AiPromptComponent], [typeof i2.InputTextareaModule, typeof PipeModule, typeof
|
|
956
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AiPromptModule, [typeof AiPromptComponent], [typeof i2.InputTextareaModule, typeof PipeModule, typeof i4.FormsModule], [typeof AiPromptComponent]>;
|
|
954
957
|
static ɵinj: i0.ɵɵInjectorDeclaration<AiPromptModule>;
|
|
955
958
|
}
|
|
956
959
|
|
|
@@ -960,13 +963,20 @@ declare class ImageEnhancerStyleModule {
|
|
|
960
963
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageEnhancerStyleModule>;
|
|
961
964
|
}
|
|
962
965
|
|
|
966
|
+
declare class PromptWithImages extends Prompt {
|
|
967
|
+
imageData: ImageData[];
|
|
968
|
+
}
|
|
969
|
+
|
|
963
970
|
declare class ImageEnhancerUploadComponent {
|
|
964
971
|
dataService: InphotoDataService;
|
|
965
972
|
iconCacheService: InphotoIconCacheService;
|
|
973
|
+
private _connectorService;
|
|
966
974
|
readonly FileTypes: typeof FileTypes;
|
|
967
975
|
readonly icons: typeof Icon;
|
|
968
976
|
multiUpload: boolean;
|
|
969
|
-
|
|
977
|
+
canvasImage: string;
|
|
978
|
+
generateStarted: EventEmitter<void>;
|
|
979
|
+
imageGenerated: EventEmitter<string>;
|
|
970
980
|
backButtonClicked: EventEmitter<void>;
|
|
971
981
|
changeMarkerColor: EventEmitter<MaskImageColorInterface>;
|
|
972
982
|
showClass(): boolean;
|
|
@@ -974,15 +984,16 @@ declare class ImageEnhancerUploadComponent {
|
|
|
974
984
|
customPrompt: string;
|
|
975
985
|
customPromptMode: PromptStyle;
|
|
976
986
|
showInputError: boolean;
|
|
977
|
-
constructor(dataService: InphotoDataService, iconCacheService: InphotoIconCacheService);
|
|
987
|
+
constructor(dataService: InphotoDataService, iconCacheService: InphotoIconCacheService, _connectorService: InPhotoConnectorService);
|
|
978
988
|
handleImageUpload(event: File[]): void;
|
|
979
989
|
handleGenerateClicked(): void;
|
|
990
|
+
handleCreatePromptWithImages(event: PromptWithImages): void;
|
|
980
991
|
handleBackClicked(): void;
|
|
981
992
|
handleDeleteImage(image: ImageData): void;
|
|
982
993
|
handleDeleteMask(data: ImageData): void;
|
|
983
994
|
handleChangeMarkerColor(color: ColorPalette, data: ImageData): void;
|
|
984
995
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEnhancerUploadComponent, never>;
|
|
985
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerUploadComponent, "co-image-enhancer-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; }, { "
|
|
996
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEnhancerUploadComponent, "co-image-enhancer-upload", never, { "multiUpload": { "alias": "multiUpload"; "required": false; }; "canvasImage": { "alias": "canvasImage"; "required": false; }; }, { "generateStarted": "generateStarted"; "imageGenerated": "imageGenerated"; "backButtonClicked": "backButtonClicked"; "changeMarkerColor": "changeMarkerColor"; }, never, never, false, never>;
|
|
986
997
|
}
|
|
987
998
|
|
|
988
999
|
declare class ImageTileComponent {
|
|
@@ -1162,6 +1173,7 @@ declare class PhotoEditorComponent implements OnDestroy {
|
|
|
1162
1173
|
showClass(): boolean;
|
|
1163
1174
|
set image(value: string);
|
|
1164
1175
|
get image(): string;
|
|
1176
|
+
get canvasImage(): string;
|
|
1165
1177
|
resetButtonClicked: EventEmitter<void>;
|
|
1166
1178
|
handleStart3D: EventEmitter<SceneBuildObject>;
|
|
1167
1179
|
startSegmentation: EventEmitter<string>;
|
|
@@ -1180,8 +1192,8 @@ declare class PhotoEditorComponent implements OnDestroy {
|
|
|
1180
1192
|
toggleEraseMode(state: boolean): void;
|
|
1181
1193
|
toggleDragMode(value: boolean): void;
|
|
1182
1194
|
handleChangeBrushSize(size: number): void;
|
|
1183
|
-
|
|
1184
|
-
|
|
1195
|
+
handleGenerateStarted(): void;
|
|
1196
|
+
handleImageGenerated(image: string): void;
|
|
1185
1197
|
handleSetImageFromHistory(event: string): void;
|
|
1186
1198
|
handleEditIn3DFromHistory(image: string): void;
|
|
1187
1199
|
handleRemoveObjectsFromHistory(image: string): void;
|
|
@@ -1226,7 +1238,7 @@ declare class ProcessLoaderComponent implements OnDestroy {
|
|
|
1226
1238
|
|
|
1227
1239
|
declare class ProcessLoaderModule {
|
|
1228
1240
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLoaderModule, never>;
|
|
1229
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessLoaderModule, [typeof ProcessLoaderComponent], [typeof i2.LoaderModule, typeof PipeModule, typeof i4.DecimalPipe, typeof i5.UtilitiesPipesModule, typeof i2.IconModule], [typeof ProcessLoaderComponent]>;
|
|
1241
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessLoaderModule, [typeof ProcessLoaderComponent], [typeof i2.LoaderModule, typeof PipeModule, typeof i4$1.DecimalPipe, typeof i5.UtilitiesPipesModule, typeof i2.IconModule], [typeof ProcessLoaderComponent]>;
|
|
1230
1242
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessLoaderModule>;
|
|
1231
1243
|
}
|
|
1232
1244
|
|
|
@@ -1252,6 +1264,14 @@ declare class CanvasToolBarComponent {
|
|
|
1252
1264
|
changeEraseMode: EventEmitter<boolean>;
|
|
1253
1265
|
changeDragMode: EventEmitter<boolean>;
|
|
1254
1266
|
changeBrushSize: EventEmitter<number>;
|
|
1267
|
+
changeZoomIn: EventEmitter<void>;
|
|
1268
|
+
changeZoomOut: EventEmitter<void>;
|
|
1269
|
+
changeZoomInput: EventEmitter<Event>;
|
|
1270
|
+
zoomPercent: number;
|
|
1271
|
+
minZoomPercent: number;
|
|
1272
|
+
maxZoomPercent: number;
|
|
1273
|
+
canZoomIn: boolean;
|
|
1274
|
+
canZoomOut: boolean;
|
|
1255
1275
|
showBrushSize: boolean;
|
|
1256
1276
|
private _canvasInpaintMode;
|
|
1257
1277
|
private _canvasEraseMode;
|
|
@@ -1262,13 +1282,16 @@ declare class CanvasToolBarComponent {
|
|
|
1262
1282
|
selectEraser(): void;
|
|
1263
1283
|
toggleDragMode(): void;
|
|
1264
1284
|
onBrushSizeChange(event: Event): void;
|
|
1285
|
+
zoomIn(): void;
|
|
1286
|
+
zoomOut(): void;
|
|
1287
|
+
onZoomInput(event: Event): void;
|
|
1265
1288
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolBarComponent, never>;
|
|
1266
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CanvasToolBarComponent, "co-canvas-tool-bar", never, { "canvasInpaintMode": { "alias": "canvasInpaintMode"; "required": false; }; "canvasEraseMode": { "alias": "canvasEraseMode"; "required": false; }; "canvasDragMode": { "alias": "canvasDragMode"; "required": false; }; "brushSize": { "alias": "brushSize"; "required": false; }; "title": { "alias": "title"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "minBrushSize": { "alias": "minBrushSize"; "required": false; }; "maxBrushSize": { "alias": "maxBrushSize"; "required": false; }; "brushSizeStep": { "alias": "brushSizeStep"; "required": false; }; }, { "changeEraseMode": "changeEraseMode"; "changeDragMode": "changeDragMode"; "changeBrushSize": "changeBrushSize"; }, never, never, false, never>;
|
|
1289
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CanvasToolBarComponent, "co-canvas-tool-bar", never, { "canvasInpaintMode": { "alias": "canvasInpaintMode"; "required": false; }; "canvasEraseMode": { "alias": "canvasEraseMode"; "required": false; }; "canvasDragMode": { "alias": "canvasDragMode"; "required": false; }; "brushSize": { "alias": "brushSize"; "required": false; }; "title": { "alias": "title"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "minBrushSize": { "alias": "minBrushSize"; "required": false; }; "maxBrushSize": { "alias": "maxBrushSize"; "required": false; }; "brushSizeStep": { "alias": "brushSizeStep"; "required": false; }; "zoomPercent": { "alias": "zoomPercent"; "required": false; }; "minZoomPercent": { "alias": "minZoomPercent"; "required": false; }; "maxZoomPercent": { "alias": "maxZoomPercent"; "required": false; }; "canZoomIn": { "alias": "canZoomIn"; "required": false; }; "canZoomOut": { "alias": "canZoomOut"; "required": false; }; }, { "changeEraseMode": "changeEraseMode"; "changeDragMode": "changeDragMode"; "changeBrushSize": "changeBrushSize"; "changeZoomIn": "changeZoomIn"; "changeZoomOut": "changeZoomOut"; "changeZoomInput": "changeZoomInput"; }, never, never, false, never>;
|
|
1267
1290
|
}
|
|
1268
1291
|
|
|
1269
1292
|
declare class CanvasToolBarModule {
|
|
1270
1293
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolBarModule, never>;
|
|
1271
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CanvasToolBarModule, [typeof CanvasToolBarComponent], [typeof i2.ButtonModule, typeof i2.IconModule, typeof PipeModule, typeof i7.CdkDrag, typeof i7.CdkDragHandle], [typeof CanvasToolBarComponent]>;
|
|
1294
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CanvasToolBarModule, [typeof CanvasToolBarComponent], [typeof i2.ButtonModule, typeof i2.IconModule, typeof i2.InputTextModule, typeof PipeModule, typeof i7.CdkDrag, typeof i7.CdkDragHandle, typeof i4.FormsModule], [typeof CanvasToolBarComponent]>;
|
|
1272
1295
|
static ɵinj: i0.ɵɵInjectorDeclaration<CanvasToolBarModule>;
|
|
1273
1296
|
}
|
|
1274
1297
|
|
|
@@ -1520,7 +1543,7 @@ declare class ConfigurationSideBarMenuComponent implements OnDestroy {
|
|
|
1520
1543
|
|
|
1521
1544
|
declare class ConfigurationSideBarMenuModule {
|
|
1522
1545
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSideBarMenuModule, never>;
|
|
1523
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationSideBarMenuModule, [typeof ConfigurationSideBarMenuComponent], [typeof
|
|
1546
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationSideBarMenuModule, [typeof ConfigurationSideBarMenuComponent], [typeof i4.FormsModule, typeof PipeModule, typeof i2.IconModule, typeof i2.ButtonModule, typeof i4$1.NgClass], [typeof ConfigurationSideBarMenuComponent]>;
|
|
1524
1547
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationSideBarMenuModule>;
|
|
1525
1548
|
}
|
|
1526
1549
|
|
|
@@ -1770,4 +1793,4 @@ declare class InPhotoModule {
|
|
|
1770
1793
|
static ɵinj: i0.ɵɵInjectorDeclaration<InPhotoModule>;
|
|
1771
1794
|
}
|
|
1772
1795
|
|
|
1773
|
-
export { 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 };
|
|
1796
|
+
export { EditCanvasComponent, EditCanvasModule, ErrorDialogComponent, ErrorDialogModule, ImageEnhancer, ImageEnhancerModule, ImageEnhancerStyleComponent, ImageEnhancerStyleModule, ImageEnhancerUploadComponent, ImageEnhancerUploadModule, ImageHistoryComponent, ImageHistoryModule, ImageHistoryTileComponent, ImageHistoryTileModule, ImageUpload, ImageUploadModule, InPhotoComponent, InPhotoConnectorService, InPhotoModule, InphotoCatalogComponent, InphotoCatalogModule, InphotoSettingsService, InphotoThreedSceneComponent, InphotoThreedsceneModule, PhotoEditorComponent, PhotoEditorModule, PrepareStartingImageComponent, PrepareStartingImageModule, ProcessLoaderComponent, ProcessLoaderModule, UploadStartingImageComponent, UploadStartingImageModule };
|
|
@@ -34,4 +34,7 @@
|
|
|
34
34
|
--co-inphoto-canvas-tool-bar-cancel-button-background: transparent;
|
|
35
35
|
--co-inphoto-canvas-tool-bar-cancel-button-font-weight: 500;
|
|
36
36
|
--co-inphoto-canvas-tool-bar-label-spacing: 10px;
|
|
37
|
+
|
|
38
|
+
--co-inphoto-canvas-tool-bar-zoom-zero: 0;
|
|
39
|
+
--co-inphoto-canvas-tool-bar-zoom-button-height: 40px;
|
|
37
40
|
}
|
|
@@ -103,6 +103,36 @@
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
.canvas-zoom-control {
|
|
108
|
+
.zoom-input-wrapper {
|
|
109
|
+
.co-input-text {
|
|
110
|
+
@include cfg.text();
|
|
111
|
+
}
|
|
112
|
+
.co-input-text:not(.no-style) {
|
|
113
|
+
input {
|
|
114
|
+
text-align: center;
|
|
115
|
+
align-self: center;
|
|
116
|
+
padding: var(--co-inphoto-canvas-tool-bar-zoom-zero);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.co-button {
|
|
122
|
+
@include cfg.action-button(
|
|
123
|
+
var(--co-inphoto-button-background),
|
|
124
|
+
var(--co-inphoto-button-background),
|
|
125
|
+
var(--co-inphoto-button-color),
|
|
126
|
+
var(--co-inphoto-icon-size-small),
|
|
127
|
+
var(--co-inphoto-button-icon-size),
|
|
128
|
+
var(--co-inphoto-button-icon-color),
|
|
129
|
+
var(--co-inphoto-button-border),
|
|
130
|
+
var(--co-inphoto-button-radius),
|
|
131
|
+
var(--co-inphoto-canvas-tool-bar-zoom-zero));
|
|
132
|
+
|
|
133
|
+
height: var(--co-inphoto-canvas-tool-bar-zoom-button-height);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
106
136
|
}
|
|
107
137
|
}
|
|
108
138
|
}
|
|
@@ -63,17 +63,6 @@
|
|
|
63
63
|
z-index: var(--co-inphoto-edit-canvas-label-z-index);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
// Zoom
|
|
67
|
-
.canvas-zoom-control {
|
|
68
|
-
position: var(--co-inphoto-edit-canvas-position-absolute);
|
|
69
|
-
display: flex;
|
|
70
|
-
justify-content: space-around;
|
|
71
|
-
align-items: center;
|
|
72
|
-
bottom: var(--co-inphoto-edit-canvas-zoom-control-bottom);
|
|
73
|
-
left: var(--co-inphoto-edit-canvas-zoom-control-left);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
66
|
&.canvas-disabled {
|
|
78
67
|
cursor: not-allowed;
|
|
79
68
|
canvas {
|
|
@@ -18,8 +18,4 @@
|
|
|
18
18
|
--co-inphoto-edit-canvas-label-radius: 4px;
|
|
19
19
|
--co-inphoto-edit-canvas-label-font-size: 12px;
|
|
20
20
|
--co-inphoto-edit-canvas-label-z-index: 10;
|
|
21
|
-
--co-inphoto-edit-canvas-zoom-control-bottom: 25px;
|
|
22
|
-
--co-inphoto-edit-canvas-zoom-control-left: 100px;
|
|
23
|
-
--co-inphoto-edit-canvas-zoom-control-padding: 8px;
|
|
24
|
-
--co-inphoto-edit-canvas-zoom-button-height: 40px;
|
|
25
21
|
}
|
|
@@ -22,40 +22,5 @@
|
|
|
22
22
|
font-size: var(--co-inphoto-edit-canvas-label-font-size);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// Zoom
|
|
26
|
-
.canvas-zoom-control {
|
|
27
|
-
padding: var(--co-inphoto-edit-canvas-zoom-control-padding);
|
|
28
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
29
|
-
background: var(--co-inphoto-dialog-background-color);
|
|
30
|
-
|
|
31
|
-
.zoom-input-wrapper {
|
|
32
|
-
.co-input-text {
|
|
33
|
-
@include cfg.text();
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
.co-input-text:not(.no-style) {
|
|
37
|
-
input {
|
|
38
|
-
text-align: center;
|
|
39
|
-
align-self: center;
|
|
40
|
-
padding: var(--co-inphoto-edit-canvas-zero);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.co-button {
|
|
46
|
-
@include cfg.action-button(
|
|
47
|
-
var(--co-inphoto-button-background),
|
|
48
|
-
var(--co-inphoto-button-background),
|
|
49
|
-
var(--co-inphoto-button-color),
|
|
50
|
-
var(--co-inphoto-icon-size-small),
|
|
51
|
-
var(--co-inphoto-button-icon-size),
|
|
52
|
-
var(--co-inphoto-button-icon-color),
|
|
53
|
-
var(--co-inphoto-button-border),
|
|
54
|
-
var(--co-inphoto-button-radius),
|
|
55
|
-
var(--co-inphoto-edit-canvas-zero));
|
|
56
|
-
|
|
57
|
-
height: var(--co-inphoto-edit-canvas-zoom-button-height);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
25
|
}
|
|
61
26
|
}
|