| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "blockenberg/qr-code", |
| 4 |
"title": "QR Code", |
| 5 |
"category": "bkbg-dev", |
| 6 |
"icon": "screenoptions", |
| 7 |
"description": "Generate a QR code from any URL or text with custom colors and size.", |
| 8 |
"keywords": [ |
| 9 |
"qr", |
| 10 |
"qrcode", |
| 11 |
"barcode", |
| 12 |
"link", |
| 13 |
"scan" |
| 14 |
], |
| 15 |
"textdomain": "blockenberg", |
| 16 |
"editorScript": "bkbg-qr-code-editor", |
| 17 |
"editorStyle": "bkbg-qr-code-style", |
| 18 |
"style": "bkbg-qr-code-style", |
| 19 |
"viewScript": "bkbg-qr-code-frontend", |
| 20 |
"supports": { |
| 21 |
"html": false, |
| 22 |
"anchor": true, |
| 23 |
"className": true |
| 24 |
}, |
| 25 |
"attributes": { |
| 26 |
"content": { |
| 27 |
"type": "string", |
| 28 |
"default": "https://example.com" |
| 29 |
}, |
| 30 |
"size": { |
| 31 |
"type": "number", |
| 32 |
"default": 200 |
| 33 |
}, |
| 34 |
"fgColor": { |
| 35 |
"type": "string", |
| 36 |
"default": "#1f2937" |
| 37 |
}, |
| 38 |
"bgColor": { |
| 39 |
"type": "string", |
| 40 |
"default": "#ffffff" |
| 41 |
}, |
| 42 |
"errorLevel": { |
| 43 |
"type": "string", |
| 44 |
"default": "M" |
| 45 |
}, |
| 46 |
"caption": { |
| 47 |
"type": "string", |
| 48 |
"default": "" |
| 49 |
}, |
| 50 |
"showCaption": { |
| 51 |
"type": "boolean", |
| 52 |
"default": false |
| 53 |
}, |
| 54 |
"captionColor": { |
| 55 |
"type": "string", |
| 56 |
"default": "#6b7280" |
| 57 |
}, |
| 58 |
"captionTypo": { |
| 59 |
"type": "object", |
| 60 |
"default": {} |
| 61 |
}, |
| 62 |
"align": { |
| 63 |
"type": "string", |
| 64 |
"default": "center" |
| 65 |
}, |
| 66 |
"cardBg": { |
| 67 |
"type": "string", |
| 68 |
"default": "#ffffff" |
| 69 |
}, |
| 70 |
"cardPadding": { |
| 71 |
"type": "number", |
| 72 |
"default": 20 |
| 73 |
}, |
| 74 |
"borderRadius": { |
| 75 |
"type": "number", |
| 76 |
"default": 12 |
| 77 |
}, |
| 78 |
"borderStyle": { |
| 79 |
"type": "string", |
| 80 |
"default": "shadow" |
| 81 |
}, |
| 82 |
"borderColor": { |
| 83 |
"type": "string", |
| 84 |
"default": "#e5e7eb" |
| 85 |
}, |
| 86 |
"downloadable": { |
| 87 |
"type": "boolean", |
| 88 |
"default": true |
| 89 |
}, |
| 90 |
"downloadLabel": { |
| 91 |
"type": "string", |
| 92 |
"default": "Download QR" |
| 93 |
} |
| 94 |
} |
| 95 |
} |
| 96 |
|