| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "blockenberg/invoice-calculator", |
| 4 |
"title": "Invoice Calculator", |
| 5 |
"description": "A line-item invoice builder with editable rows, discount, tax, and grand total.", |
| 6 |
"category": "bkbg-calculators", |
| 7 |
"icon": "media-spreadsheet", |
| 8 |
"keywords": [ |
| 9 |
"invoice", |
| 10 |
"line items", |
| 11 |
"tax", |
| 12 |
"discount", |
| 13 |
"calculator", |
| 14 |
"billing" |
| 15 |
], |
| 16 |
"textdomain": "blockenberg", |
| 17 |
"editorScript": "bkbg-invoice-calculator-editor", |
| 18 |
"style": "bkbg-invoice-calculator-style", |
| 19 |
"viewScript": "bkbg-invoice-calculator-frontend", |
| 20 |
"attributes": { |
| 21 |
"title": { |
| 22 |
"type": "string", |
| 23 |
"default": "Invoice" |
| 24 |
}, |
| 25 |
"subtitle": { |
| 26 |
"type": "string", |
| 27 |
"default": "Add items, apply discount and tax to calculate your total." |
| 28 |
}, |
| 29 |
"showTitle": { |
| 30 |
"type": "boolean", |
| 31 |
"default": true |
| 32 |
}, |
| 33 |
"showSubtitle": { |
| 34 |
"type": "boolean", |
| 35 |
"default": true |
| 36 |
}, |
| 37 |
"showFromTo": { |
| 38 |
"type": "boolean", |
| 39 |
"default": false |
| 40 |
}, |
| 41 |
"fromName": { |
| 42 |
"type": "string", |
| 43 |
"default": "Your Business Name" |
| 44 |
}, |
| 45 |
"toName": { |
| 46 |
"type": "string", |
| 47 |
"default": "Client Name" |
| 48 |
}, |
| 49 |
"showInvoiceNo": { |
| 50 |
"type": "boolean", |
| 51 |
"default": false |
| 52 |
}, |
| 53 |
"currencySymbol": { |
| 54 |
"type": "string", |
| 55 |
"default": "$" |
| 56 |
}, |
| 57 |
"defaultTax": { |
| 58 |
"type": "number", |
| 59 |
"default": 10 |
| 60 |
}, |
| 61 |
"defaultDiscount": { |
| 62 |
"type": "number", |
| 63 |
"default": 0 |
| 64 |
}, |
| 65 |
"accentColor": { |
| 66 |
"type": "string", |
| 67 |
"default": "#6c3fb5" |
| 68 |
}, |
| 69 |
"cardBg": { |
| 70 |
"type": "string", |
| 71 |
"default": "#ffffff" |
| 72 |
}, |
| 73 |
"headerBg": { |
| 74 |
"type": "string", |
| 75 |
"default": "#f5f3ff" |
| 76 |
}, |
| 77 |
"headerColor": { |
| 78 |
"type": "string", |
| 79 |
"default": "#6c3fb5" |
| 80 |
}, |
| 81 |
"rowOddBg": { |
| 82 |
"type": "string", |
| 83 |
"default": "#ffffff" |
| 84 |
}, |
| 85 |
"rowEvenBg": { |
| 86 |
"type": "string", |
| 87 |
"default": "#f9fafb" |
| 88 |
}, |
| 89 |
"totalBg": { |
| 90 |
"type": "string", |
| 91 |
"default": "#6c3fb5" |
| 92 |
}, |
| 93 |
"totalColor": { |
| 94 |
"type": "string", |
| 95 |
"default": "#ffffff" |
| 96 |
}, |
| 97 |
"borderColor": { |
| 98 |
"type": "string", |
| 99 |
"default": "#e5e7eb" |
| 100 |
}, |
| 101 |
"labelColor": { |
| 102 |
"type": "string", |
| 103 |
"default": "#374151" |
| 104 |
}, |
| 105 |
"titleColor": { |
| 106 |
"type": "string", |
| 107 |
"default": "#1f2937" |
| 108 |
}, |
| 109 |
"subtitleColor": { |
| 110 |
"type": "string", |
| 111 |
"default": "#6b7280" |
| 112 |
}, |
| 113 |
"sectionBg": { |
| 114 |
"type": "string", |
| 115 |
"default": "" |
| 116 |
}, |
| 117 |
"titleSize": { |
| 118 |
"type": "number", |
| 119 |
"default": 28 |
| 120 |
}, |
| 121 |
"titleTypo": { |
| 122 |
"type": "object", |
| 123 |
"default": {} |
| 124 |
}, |
| 125 |
"cardRadius": { |
| 126 |
"type": "number", |
| 127 |
"default": 16 |
| 128 |
}, |
| 129 |
"inputRadius": { |
| 130 |
"type": "number", |
| 131 |
"default": 6 |
| 132 |
}, |
| 133 |
"maxWidth": { |
| 134 |
"type": "number", |
| 135 |
"default": 640 |
| 136 |
}, |
| 137 |
"paddingTop": { |
| 138 |
"type": "number", |
| 139 |
"default": 60 |
| 140 |
}, |
| 141 |
"paddingBottom": { |
| 142 |
"type": "number", |
| 143 |
"default": 60 |
| 144 |
} |
| 145 |
}, |
| 146 |
"supports": { |
| 147 |
"html": false, |
| 148 |
"align": [ |
| 149 |
"wide", |
| 150 |
"full" |
| 151 |
] |
| 152 |
} |
| 153 |
} |
| 154 |
|