@sv-print/hiprint 0.3.23 → 0.3.24

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 CHANGED
@@ -188,7 +188,7 @@ export declare interface PrintElementTypeGroup {
188
188
 
189
189
  export declare interface PrintElementTypeManager {
190
190
  buildByHtml(el: any): void;
191
- build(el: any, type: string, render: (list: any) => any): void;
191
+ build(el: any, type: string, render?: (list: any) => any): void;
192
192
  }
193
193
 
194
194
  export declare interface PrinterInfo {
@@ -209,7 +209,7 @@ export declare class PrintTemplate {
209
209
  container: any;
210
210
  editingPanel: Array<any>;
211
211
  printPanels: Array<any>;
212
- design: (container: string, option: { grid?: boolean; activePanel?: boolean }) => any;
212
+ design: (container: string, option?: { grid?: boolean; activePanel?: boolean; adaptToSize?: boolean }) => any;
213
213
  buildPagination: (container: string) => void;
214
214
  update: (json: PrintTemplateJson, panelIndex?: number, history?: boolean) => any;
215
215
  print: (