swissqrbill
Advanced tools
Comparing version 4.0.0-beta.1 to 4.0.0-beta.2
@@ -9,8 +9,8 @@ /// <reference types="pdfkit" /> | ||
backgroundColor?: string; | ||
/** Width of the borders of the row. */ | ||
border?: number | [top: number, right?: number, bottom?: number, left?: number]; | ||
/** The colors of the border */ | ||
borderColor?: string | [top: string, right?: string, bottom?: string, left?: string]; | ||
/** Width of the borders of the row. */ | ||
borderWidth?: number | [top: number, right?: number, bottom?: number, left?: number]; | ||
/** Font of the text inside the table. */ | ||
font?: string; | ||
fontName?: string; | ||
/** Font size of the text inside the table. */ | ||
@@ -40,8 +40,8 @@ fontSize?: number; | ||
backgroundColor?: string; | ||
/** Width of the borders of the row. */ | ||
border?: number | [top: number, right?: number, bottom?: number, left?: number]; | ||
/** The colors of the border */ | ||
borderColor?: string | [top: string, right?: string, bottom?: string, left?: string]; | ||
/** Width of the borders of the row. */ | ||
borderWidth?: number | [top: number, right?: number, bottom?: number, left?: number]; | ||
/** Font of the text inside the row. */ | ||
font?: string; | ||
fontName?: string; | ||
/** Font size of the text inside the row. */ | ||
@@ -73,8 +73,8 @@ fontSize?: number; | ||
backgroundColor?: string; | ||
/** Width of the borders of the row. */ | ||
border?: number | [top: number, right?: number, bottom?: number, left?: number]; | ||
/** The colors of the border */ | ||
borderColor?: string | [top: string, right?: string, bottom?: string, left?: string]; | ||
/** Width of the borders of the row. */ | ||
borderWidth?: number | [top: number, right?: number, bottom?: number, left?: number]; | ||
/** Font of the text inside the cell. */ | ||
font?: string; | ||
fontName?: string; | ||
/** Font size of the text inside the cell. */ | ||
@@ -81,0 +81,0 @@ fontSize?: number; |
@@ -95,3 +95,3 @@ var __defProp = Object.defineProperty; | ||
const tableBackgroundColor = this.data.backgroundColor ? this.data.backgroundColor : void 0; | ||
const tableBorder = this.data.border ? this.data.border : void 0; | ||
const tableBorder = this.data.borderWidth ? this.data.borderWidth : void 0; | ||
const tableBorderColors = this.data.borderColor ? this.data.borderColor : "#000000"; | ||
@@ -101,3 +101,3 @@ const tablePadding = this.data.padding ? this.data.padding : 0; | ||
const tableTextColor = this.data.textColor ? this.data.textColor : "#000000"; | ||
const tableFont = this.data.font ? this.data.font : "Helvetica"; | ||
const tableFont = this.data.fontName ? this.data.fontName : "Helvetica"; | ||
const tableAlign = this.data.align ? this.data.align : void 0; | ||
@@ -117,6 +117,6 @@ const tableVerticalAlign = this.data.verticalAlign ? this.data.verticalAlign : "top"; | ||
const rowBackgroundColor = row.backgroundColor ? row.backgroundColor : tableBackgroundColor; | ||
const rowBorder = row.border ? row.border : tableBorder; | ||
const rowBorder = row.borderWidth ? row.borderWidth : tableBorder; | ||
const rowBorderColors = row.borderColor ? row.borderColor : tableBorderColors; | ||
const rowFontSize = row.fontSize ? row.fontSize : tableFontSize; | ||
const rowFont = row.font ? row.font : tableFont; | ||
const rowFont = row.fontName ? row.fontName : tableFont; | ||
const rowTextColor = row.textColor ? row.textColor : tableTextColor; | ||
@@ -140,6 +140,6 @@ const rowAlign = row.align ? row.align : tableAlign; | ||
const columnBackgroundColor = column.backgroundColor ? column.backgroundColor : rowBackgroundColor; | ||
const columnBorder = column.border ? column.border : rowBorder; | ||
const columnBorder = column.borderWidth ? column.borderWidth : rowBorder; | ||
const columnBorderColors = column.borderColor ? column.borderColor : rowBorderColors; | ||
const columnFontSize = column.fontSize ? column.fontSize : rowFontSize; | ||
const columnFont = column.font ? column.font : rowFont; | ||
const columnFont = column.fontName ? column.fontName : rowFont; | ||
const columnTextColor = column.textColor ? column.textColor : rowTextColor; | ||
@@ -146,0 +146,0 @@ const columnAlign = column.align ? column.align : rowAlign; |
{ | ||
"version": "4.0.0-beta.1", | ||
"version": "4.0.0-beta.2", | ||
"type": "module", | ||
@@ -117,3 +117,3 @@ "name": "swissqrbill", | ||
"typescript": "^5.2.2", | ||
"unwritten": "^0.1.2", | ||
"unwritten": "^0.1.3", | ||
"vite-plugin-dts": "^3.6.2", | ||
@@ -120,0 +120,0 @@ "vite-plugin-no-bundle": "^3.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
443106