@posx/core 5.5.99 → 5.5.100
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/build/index.d.ts +8 -0
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -944,6 +944,14 @@ declare module '@posx/core/services/app.service' {
|
|
|
944
944
|
* @returns print command
|
|
945
945
|
*/
|
|
946
946
|
renderReportPrintTemplate(reportData: IReportData, config: IConfig, template: IPrintTemplate, options?: IRenderPrintTemplateOptions): Promise<IPrintCommand>;
|
|
947
|
+
/**
|
|
948
|
+
* Render print template by data
|
|
949
|
+
* @param template template to render
|
|
950
|
+
* @param templateData template data to render
|
|
951
|
+
* @param options options to render
|
|
952
|
+
* @returns print command
|
|
953
|
+
*/
|
|
954
|
+
renderPrintTemplateByData(template: IPrintTemplate, templateData: ITemplateData, options?: IRenderPrintTemplateOptions): Promise<IPrintCommand>;
|
|
947
955
|
}
|
|
948
956
|
export class PrintTemplateService extends AppRemoteService<IPrintTemplate> implements IPrintTemplateService {
|
|
949
957
|
readonly http: AxiosInstance;
|