@component-hook/pdf-canvas 1.1.0-alpha.2 → 1.1.0-alpha.4

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.
@@ -32,6 +32,7 @@ export declare interface ComponentProps {
32
32
  dropTextOptions?: TOptions<TextProps>;
33
33
  dropImageOptions?: TOptions<ImageProps>;
34
34
  closeSvgOptions?: CloseSvgOptions;
35
+ manualReload?: boolean;
35
36
  onDestroy?: (callback: () => void) => void;
36
37
  }
37
38
 
@@ -39,6 +39,7 @@ export declare interface ComponentProps {
39
39
  dropTextOptions?: TOptions<TextProps>;
40
40
  dropImageOptions?: TOptions<ImageProps>;
41
41
  closeSvgOptions?: CloseSvgOptions;
42
+ manualReload?: boolean;
42
43
  onDestroy?: (callback: () => void) => void;
43
44
  }
44
45
 
@@ -50,6 +51,7 @@ export declare interface CreateCloseFabricArgs {
50
51
  }
51
52
 
52
53
  declare const _default: DefineComponent<ComponentProps, {
54
+ reload: typeof setPDF;
53
55
  addImage: typeof addImage;
54
56
  addText: typeof addText;
55
57
  clearActive: () => void;
@@ -120,6 +122,8 @@ export declare type SelectedEvent = Partial<TEvent> & {
120
122
  target: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>;
121
123
  };
122
124
 
125
+ declare function setPDF(): Promise<void>;
126
+
123
127
  export declare interface SpecifyPageArgs {
124
128
  page: number;
125
129
  PDFBase64: string;