@bookmypuja-tech/bmp-pdf 0.2.20 → 0.2.22
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/dist/index.d.ts +3 -6
- package/dist/index.js +450 -510
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -169,14 +169,14 @@ declare const printDevoteeReceipt2Inch: (data: IPujaReceipt) => Promise<void>;
|
|
|
169
169
|
declare const printTotalReceipt2Inch: (data: ITotalReceipt) => Promise<void>;
|
|
170
170
|
declare const printePujaReport2Inch: (data: IPujaReport) => Promise<void>;
|
|
171
171
|
declare const printQuickPrintReceipt2Inch: (data: IQuickReport) => Promise<void>;
|
|
172
|
-
type IReportOptions = "kitchen" | "transaction" | "prasad-delivery" | "prasad" | "puja" | "puja-summary" | "combined-report";
|
|
172
|
+
type IReportOptions = "kitchen" | "transaction" | "prasad-delivery" | "prasad" | "puja-detailed" | "puja-summary" | "combined-report";
|
|
173
173
|
type IReportSize = "A4";
|
|
174
174
|
type ReportDataTypes = {
|
|
175
175
|
kitchen: KitchenReportProps;
|
|
176
176
|
transaction: ITransactionReport;
|
|
177
177
|
"prasad-delivery": IPrasadDelivery;
|
|
178
178
|
prasad: IPrasadReport;
|
|
179
|
-
puja: IPujaList;
|
|
179
|
+
"puja-detailed": IPujaList;
|
|
180
180
|
"puja-summary": ISummaryPujaList;
|
|
181
181
|
"combined-report": CombinedReportData;
|
|
182
182
|
};
|
|
@@ -185,10 +185,7 @@ declare class reportPrinter<T extends IReportOptions> {
|
|
|
185
185
|
size: IReportSize;
|
|
186
186
|
constructor(option: T, size: IReportSize);
|
|
187
187
|
print(data: ReportDataTypes[T]): Promise<Blob>;
|
|
188
|
-
getBlob(data: ReportDataTypes[T]
|
|
189
|
-
waitTime?: number;
|
|
190
|
-
stabilityCheck?: () => Promise<void> | boolean;
|
|
191
|
-
}): Promise<Blob>;
|
|
188
|
+
getBlob(data: ReportDataTypes[T]): Promise<Blob>;
|
|
192
189
|
}
|
|
193
190
|
|
|
194
191
|
export { A4Print, type KitchenReportProps as IKitchenReport, type IPrasadDelivery, type IPrasadReport, type IPrintablePuja, type IPujaReceipt, type IPujaList as IPujaReport, type ISummaryPujaList as ISummaryPujaReport, type ITransactionReport, T2Inch, getA4SummaryBlob, getPrintBlob, printDevoteeReceipt2Inch, printQuickPrintReceipt2Inch, printTotalReceipt2Inch, printePujaReport2Inch, reportPrinter };
|