@rdlabo/ionic-angular-photo-editor 21.2.0-6 → 21.2.0-8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-angular-photo-editor",
3
- "version": "21.2.0-6",
3
+ "version": "21.2.0-8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:rdlabo-team/ionic-angular-library.git"
@@ -54,6 +54,21 @@ interface IDictionaryForService {
54
54
  album: string;
55
55
  cancel: string;
56
56
  }
57
+ /** Props for presenting {@link PhotoViewerPage} via Ionic Modal `componentProps`. */
58
+ interface PhotoViewerProps {
59
+ imageUrls?: string[];
60
+ index?: number;
61
+ isCircle?: boolean;
62
+ enableDelete?: boolean;
63
+ enableFooterSafeArea?: boolean;
64
+ labels?: Partial<IDictionaryForViewer>;
65
+ }
66
+ /** Props for presenting {@link PhotoEditorPage} via Ionic Modal `componentProps`. */
67
+ interface PhotoEditorProps {
68
+ requireSquare?: boolean;
69
+ value: string;
70
+ labels?: Partial<IDictionaryForEditor>;
71
+ }
57
72
 
58
73
  declare class PhotoEditorPage implements OnInit, OnDestroy, ViewDidEnter, ViewDidLeave {
59
74
  readonly modalCtrl: ModalController;
@@ -129,4 +144,4 @@ declare class PhotoFileService {
129
144
  }
130
145
 
131
146
  export { PhotoEditorPage, PhotoFileService, PhotoViewerPage };
132
- export type { IDictionaryForEditor, IDictionaryForService, IDictionaryForViewer, IFilter, IFilterPreset, IPhotoEditorDismiss, IPhotoViewerDismiss, ISize };
147
+ export type { IDictionaryForEditor, IDictionaryForService, IDictionaryForViewer, IFilter, IFilterPreset, IPhotoEditorDismiss, IPhotoViewerDismiss, ISize, PhotoEditorProps, PhotoViewerProps };