{"version":3,"sources":["src/typings/chrome/Page/PrintToPDFOptions.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,CAAC,OAAO,WAAW,iBAAiB;IACxC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;;;;;;;;;;;;OAaG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B","file":"PrintToPDFOptions.d.ts","sourcesContent":["'use strict';\n\n/**\n * Chrome Page.printToPDF options.\n *\n * @export\n * @interface PrintToPDFOptions\n */\nexport default interface PrintToPDFOptions {\n  /**\n   * Paper orientation. Defaults to false.\n   *\n   * @type {boolean}\n   * @memberof PrintToPDFOptions\n   */\n  landscape?: boolean;\n\n  /**\n   * Display header and footer. Defaults to false.\n   *\n   * @type {boolean}\n   * @memberof PrintToPDFOptions\n   */\n  displayHeaderFooter?: boolean;\n\n  /**\n   * Print background graphics. Defaults to false.\n   *\n   * @type {boolean}\n   * @memberof PrintToPDFOptions\n   */\n  printBackground?: boolean;\n\n  /**\n   * Scale of the webpage rendering. Defaults to 1.\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  scale?: number;\n\n  /**\n   * Paper width in inches. Defaults to 8.5 inches.\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  paperWidth?: number;\n\n  /**\n   * Paper height in inches. Defaults to 11 inches.\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  paperHeight?: number;\n\n  /**\n   * Top margin in inches. Defaults to 1cm (~0.4 inches).\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  marginTop?: number;\n\n  /**\n   * Bottom margin in inches. Defaults to 1cm (~0.4 inches).\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  marginBottom?: number;\n\n  /**\n   * Left margin in inches. Defaults to 1cm (~0.4 inches).\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  marginLeft?: number;\n\n  /**\n   * Right margin in inches. Defaults to 1cm (~0.4 inches).\n   *\n   * @type {number}\n   * @memberof PrintToPDFOptions\n   */\n  marginRight?: number;\n\n  /**\n   * Paper ranges to print, e.g., '1-5, 8, 11-13'.\n   * Defaults to the empty string, which means print all pages.\n   *\n   * @type {string}\n   * @memberof PrintToPDFOptions\n   */\n  pageRanges?: string;\n\n  /**\n   * Whether to silently ignore invalid but successfully parsed\n   * page ranges, such as '3-2'. Defaults to false.\n   *\n   * @type {boolean}\n   * @memberof PrintToPDFOptions\n   */\n  ignoreInvalidPageRanges?: boolean;\n\n  /**\n   * HTML template for the print header.\n   * Should be valid HTML markup with following classes used to inject printing values into them:\n   * - `date` formatted print date\n   * - `title` document title\n   * - `url` document location\n   * - `pageNumber` current page number\n   * - `totalPages` total pages in the document\n   *\n   * For example, `<span class=\"title\"></span>` would generate a span containing the title.\n   *\n   * @type {string}\n   * @memberof PrintToPDFOptions\n   */\n  headerTemplate?: string;\n\n  /**\n   * HTML template for the print footer. Should use the same format as the `headerTemplate`.\n   *\n   * @type {string}\n   * @memberof PrintToPDFOptions\n   */\n  footerTemplate?: string;\n\n  /**\n   * Whether or not to prefer page size as defined by css.\n   * Defaults to false, in which case the content will be scaled to fit the paper size.\n   *\n   * @type {boolean}\n   * @memberof PrintToPDFOptions\n   */\n  preferCSSPageSize?: boolean;\n}\n"],"sourceRoot":"../../../../.."}