patronet-pdf-generator 1.0.9 → 1.0.10
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.
@@ -2,7 +2,9 @@ import { DocumentProps } from "@react-pdf/renderer";
|
|
2
2
|
interface pdfGeneratorBlobProps {
|
3
3
|
setIsLoadingPdf?: (props: boolean) => void;
|
4
4
|
documentPDf: React.ReactElement<DocumentProps>;
|
5
|
+
fileName?: string;
|
6
|
+
afterDownloadFile?: VoidFunction;
|
5
7
|
}
|
6
|
-
export declare const pdfGeneratorBlob: ({ setIsLoadingPdf, documentPDf, }: pdfGeneratorBlobProps) => Promise<void>;
|
8
|
+
export declare const pdfGeneratorBlob: ({ setIsLoadingPdf, documentPDf, fileName, afterDownloadFile, }: pdfGeneratorBlobProps) => Promise<void>;
|
7
9
|
export {};
|
8
10
|
//# sourceMappingURL=pdf-generator-blob.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pdf-generator-blob.d.ts","sourceRoot":"","sources":["../../../../src/components/generator/pdf-generator-blob/pdf-generator-blob.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAO,MAAM,qBAAqB,CAAC;AAEzD,UAAU,qBAAqB;IAC7B,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"pdf-generator-blob.d.ts","sourceRoot":"","sources":["../../../../src/components/generator/pdf-generator-blob/pdf-generator-blob.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAO,MAAM,qBAAqB,CAAC;AAEzD,UAAU,qBAAqB;IAC7B,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,YAAY,CAAC;CAClC;AACD,eAAO,MAAM,gBAAgB,GAAU,gEAKpC,qBAAqB,kBAkBvB,CAAC"}
|