@yogiswara/honcho-editor-ui 1.3.7 → 1.3.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.
@@ -41,18 +41,24 @@ export declare function useHonchoEditor(controller: Controller, initImageId: str
41
41
  canvasRef: import("react").MutableRefObject<HTMLCanvasElement | null>;
42
42
  canvasContainerRef: import("react").MutableRefObject<HTMLDivElement | null>;
43
43
  fileInputRef: import("react").MutableRefObject<HTMLInputElement | null>;
44
- displayedToken: string | null;
45
- handleBackCallback: () => void;
46
- handlePrev: (firebaseUid: string) => Promise<void>;
47
- handleNext: (firebaseUid: string) => Promise<void>;
44
+ editorStatus: string;
45
+ isEditorReady: boolean;
46
+ isImageLoaded: boolean;
47
+ galleryError: string | null;
48
+ handlePrev: () => Promise<void>;
49
+ handleNext: () => Promise<void>;
50
+ isPrevAvailable: boolean;
51
+ isNextAvailable: boolean;
52
+ handleUndo: () => void;
53
+ handleRedo: () => void;
54
+ handleRevert: () => void;
55
+ canUndo: boolean;
56
+ canRedo: boolean;
48
57
  panelRef: import("react").MutableRefObject<HTMLDivElement | null>;
49
58
  contentRef: import("react").MutableRefObject<HTMLDivElement | null>;
50
59
  panelHeight: number;
51
60
  handleDragStart: (e: React.MouseEvent | React.TouchEvent) => void;
52
61
  handleContentHeightChange: (height: number) => void;
53
- editorStatus: string;
54
- isEditorReady: boolean;
55
- isImageLoaded: boolean;
56
62
  isPasteAvailable: boolean;
57
63
  isOnline: boolean;
58
64
  isConnectionSlow: boolean;
@@ -97,9 +103,6 @@ export declare function useHonchoEditor(controller: Controller, initImageId: str
97
103
  handleAlertClose: () => void;
98
104
  loadImageFromId: (firebaseUid: string, imageId: string) => Promise<Gallery | undefined>;
99
105
  loadImageFromUrl: (url: string) => Promise<void>;
100
- handleRevert: () => void;
101
- handleUndo: () => void;
102
- handleRedo: () => void;
103
106
  handleOpenCopyDialog: () => void;
104
107
  handleCloseCopyDialog: () => void;
105
108
  copyColorChecks: {
@@ -148,7 +151,6 @@ export declare function useHonchoEditor(controller: Controller, initImageId: str
148
151
  handleToggleCopyDialogExpand: (section: "color" | "light" | "details") => void;
149
152
  handleConfirmCopy: () => void;
150
153
  handleCopyEdit: () => void;
151
- handlePasteEdit: () => void;
152
154
  setActivePanel: import("react").Dispatch<import("react").SetStateAction<string>>;
153
155
  setActiveSubPanel: import("react").Dispatch<import("react").SetStateAction<string>>;
154
156
  setHeaderMenuAnchorEl: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
@@ -185,80 +187,10 @@ export declare function useHonchoEditor(controller: Controller, initImageId: str
185
187
  handleCancelWatermark: () => void;
186
188
  toggleBulkEditing: () => void;
187
189
  handleSelectBulkPreset: (event: SelectChangeEvent<string>) => void;
188
- tempScore: number;
189
- setTempScore: (value: number) => void;
190
- tintScore: number;
191
- setTintScore: (value: number) => void;
192
- vibranceScore: number;
193
- setVibranceScore: (value: number) => void;
194
- saturationScore: number;
195
- setSaturationScore: (value: number) => void;
196
- exposureScore: number;
197
- setExposureScore: (value: number) => void;
198
- highlightsScore: number;
199
- setHighlightsScore: (value: number) => void;
200
- shadowsScore: number;
201
- setShadowsScore: (value: number) => void;
202
- whitesScore: number;
203
- setWhitesScore: (value: number) => void;
204
- blacksScore: number;
205
- setBlacksScore: (value: number) => void;
206
- contrastScore: number;
207
- setContrastScore: (value: number) => void;
208
- clarityScore: number;
209
- setClarityScore: (value: number) => void;
210
- sharpnessScore: number;
211
- setSharpnessScore: (value: number) => void;
190
+ currentAdjustmentsState: AdjustmentState;
191
+ setCurrentAdjustmentsState: import("react").Dispatch<import("react").SetStateAction<AdjustmentState>>;
212
192
  imageList: ImageItem[];
213
193
  adjustmentsMap: Map<string, AdjustmentState>;
214
194
  selectedImageIds: Set<string>;
215
195
  handleToggleImageSelection: (imageId: string) => void;
216
- handleBulkTempDecreaseMax: () => void;
217
- handleBulkTempDecrease: () => void;
218
- handleBulkTempIncrease: () => void;
219
- handleBulkTempIncreaseMax: () => void;
220
- handleBulkTintDecreaseMax: () => void;
221
- handleBulkTintDecrease: () => void;
222
- handleBulkTintIncrease: () => void;
223
- handleBulkTintIncreaseMax: () => void;
224
- handleBulkVibranceDecreaseMax: () => void;
225
- handleBulkVibranceDecrease: () => void;
226
- handleBulkVibranceIncrease: () => void;
227
- handleBulkVibranceIncreaseMax: () => void;
228
- handleBulkSaturationDecreaseMax: () => void;
229
- handleBulkSaturationDecrease: () => void;
230
- handleBulkSaturationIncrease: () => void;
231
- handleBulkSaturationIncreaseMax: () => void;
232
- handleBulkExposureDecreaseMax: () => void;
233
- handleBulkExposureDecrease: () => void;
234
- handleBulkExposureIncrease: () => void;
235
- handleBulkExposureIncreaseMax: () => void;
236
- handleBulkContrastDecreaseMax: () => void;
237
- handleBulkContrastDecrease: () => void;
238
- handleBulkContrastIncrease: () => void;
239
- handleBulkContrastIncreaseMax: () => void;
240
- handleBulkHighlightsDecreaseMax: () => void;
241
- handleBulkHighlightsDecrease: () => void;
242
- handleBulkHighlightsIncrease: () => void;
243
- handleBulkHighlightsIncreaseMax: () => void;
244
- handleBulkShadowsDecreaseMax: () => void;
245
- handleBulkShadowsDecrease: () => void;
246
- handleBulkShadowsIncrease: () => void;
247
- handleBulkShadowsIncreaseMax: () => void;
248
- handleBulkWhitesDecreaseMax: () => void;
249
- handleBulkWhitesDecrease: () => void;
250
- handleBulkWhitesIncrease: () => void;
251
- handleBulkWhitesIncreaseMax: () => void;
252
- handleBulkBlacksDecreaseMax: () => void;
253
- handleBulkBlacksDecrease: () => void;
254
- handleBulkBlacksIncrease: () => void;
255
- handleBulkBlacksIncreaseMax: () => void;
256
- handleBulkClarityDecreaseMax: () => void;
257
- handleBulkClarityDecrease: () => void;
258
- handleBulkClarityIncrease: () => void;
259
- handleBulkClarityIncreaseMax: () => void;
260
- handleBulkSharpnessDecreaseMax: () => void;
261
- handleBulkSharpnessDecrease: () => void;
262
- handleBulkSharpnessIncrease: () => void;
263
- handleBulkSharpnessIncreaseMax: () => void;
264
196
  };