| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/swot-analysis", |
| 5 |
"title": "SWOT Analysis", |
| 6 |
"category": "bkbg-business", |
| 7 |
"icon": "grid-view", |
| 8 |
"description": "2\u00d72 SWOT matrix with per-quadrant item lists, colors, and icons.", |
| 9 |
"keywords": [ |
| 10 |
"swot", |
| 11 |
"analysis", |
| 12 |
"strengths", |
| 13 |
"weaknesses", |
| 14 |
"opportunities", |
| 15 |
"threats", |
| 16 |
"strategy", |
| 17 |
"business" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-swot-analysis-editor", |
| 21 |
"editorStyle": "bkbg-swot-analysis-style", |
| 22 |
"style": "bkbg-swot-analysis-style", |
| 23 |
"viewScript": "bkbg-swot-analysis-frontend", |
| 24 |
"supports": { |
| 25 |
"html": false, |
| 26 |
"anchor": true, |
| 27 |
"className": true, |
| 28 |
"align": [ |
| 29 |
"wide", |
| 30 |
"full" |
| 31 |
] |
| 32 |
}, |
| 33 |
"attributes": { |
| 34 |
"blockTitle": { |
| 35 |
"type": "string", |
| 36 |
"default": "SWOT Analysis" |
| 37 |
}, |
| 38 |
"showTitle": { |
| 39 |
"type": "boolean", |
| 40 |
"default": true |
| 41 |
}, |
| 42 |
"layout": { |
| 43 |
"type": "string", |
| 44 |
"default": "grid" |
| 45 |
}, |
| 46 |
"quadrants": { |
| 47 |
"type": "array", |
| 48 |
"default": [ |
| 49 |
{ |
| 50 |
"id": "strengths", |
| 51 |
"label": "Strengths", |
| 52 |
"icon": "\ud83d\udcaa", |
| 53 |
"items": [ |
| 54 |
"Strong brand recognition", |
| 55 |
"Experienced leadership team", |
| 56 |
"Innovative product lineup", |
| 57 |
"Loyal customer base" |
| 58 |
] |
| 59 |
}, |
| 60 |
{ |
| 61 |
"id": "weaknesses", |
| 62 |
"label": "Weaknesses", |
| 63 |
"icon": "\u26a0\ufe0f", |
| 64 |
"items": [ |
| 65 |
"Limited market reach", |
| 66 |
"High operational costs", |
| 67 |
"Dependence on key suppliers", |
| 68 |
"Gaps in digital presence" |
| 69 |
] |
| 70 |
}, |
| 71 |
{ |
| 72 |
"id": "opportunities", |
| 73 |
"label": "Opportunities", |
| 74 |
"icon": "\ud83d\ude80", |
| 75 |
"items": [ |
| 76 |
"Growing global market", |
| 77 |
"Emerging technology trends", |
| 78 |
"Strategic partnership potential", |
| 79 |
"Untapped customer segments" |
| 80 |
] |
| 81 |
}, |
| 82 |
{ |
| 83 |
"id": "threats", |
| 84 |
"label": "Threats", |
| 85 |
"icon": "\ud83d\udee1\ufe0f", |
| 86 |
"items": [ |
| 87 |
"Intensifying competition", |
| 88 |
"Regulatory changes", |
| 89 |
"Economic uncertainty", |
| 90 |
"Rapid market disruption" |
| 91 |
] |
| 92 |
} |
| 93 |
] |
| 94 |
}, |
| 95 |
"showIcons": { |
| 96 |
"type": "boolean", |
| 97 |
"default": true |
| 98 |
}, |
| 99 |
"listStyle": { |
| 100 |
"type": "string", |
| 101 |
"default": "bullet" |
| 102 |
}, |
| 103 |
"showNumbers": { |
| 104 |
"type": "boolean", |
| 105 |
"default": false |
| 106 |
}, |
| 107 |
"borderRadius": { |
| 108 |
"type": "number", |
| 109 |
"default": 12 |
| 110 |
}, |
| 111 |
"gap": { |
| 112 |
"type": "number", |
| 113 |
"default": 16 |
| 114 |
}, |
| 115 |
"headerPaddingV": { |
| 116 |
"type": "number", |
| 117 |
"default": 16 |
| 118 |
}, |
| 119 |
"headerPaddingH": { |
| 120 |
"type": "number", |
| 121 |
"default": 20 |
| 122 |
}, |
| 123 |
"bodyPaddingV": { |
| 124 |
"type": "number", |
| 125 |
"default": 16 |
| 126 |
}, |
| 127 |
"bodyPaddingH": { |
| 128 |
"type": "number", |
| 129 |
"default": 20 |
| 130 |
}, |
| 131 |
"titleTypo": { |
| 132 |
"type": "object", |
| 133 |
"default": {} |
| 134 |
}, |
| 135 |
"headerTypo": { |
| 136 |
"type": "object", |
| 137 |
"default": {} |
| 138 |
}, |
| 139 |
"itemTypo": { |
| 140 |
"type": "object", |
| 141 |
"default": {} |
| 142 |
}, |
| 143 |
"enableShadow": { |
| 144 |
"type": "boolean", |
| 145 |
"default": true |
| 146 |
}, |
| 147 |
"strengthsColor": { |
| 148 |
"type": "string", |
| 149 |
"default": "#22c55e" |
| 150 |
}, |
| 151 |
"weaknessesColor": { |
| 152 |
"type": "string", |
| 153 |
"default": "#ef4444" |
| 154 |
}, |
| 155 |
"opportunitiesColor": { |
| 156 |
"type": "string", |
| 157 |
"default": "#3b82f6" |
| 158 |
}, |
| 159 |
"threatsColor": { |
| 160 |
"type": "string", |
| 161 |
"default": "#f59e0b" |
| 162 |
}, |
| 163 |
"bgColor": { |
| 164 |
"type": "string", |
| 165 |
"default": "#ffffff" |
| 166 |
}, |
| 167 |
"borderColor": { |
| 168 |
"type": "string", |
| 169 |
"default": "#e2e8f0" |
| 170 |
}, |
| 171 |
"titleColor": { |
| 172 |
"type": "string", |
| 173 |
"default": "#1e293b" |
| 174 |
}, |
| 175 |
"textColor": { |
| 176 |
"type": "string", |
| 177 |
"default": "#374151" |
| 178 |
}, |
| 179 |
"headerTextColor": { |
| 180 |
"type": "string", |
| 181 |
"default": "#ffffff" |
| 182 |
} |
| 183 |
} |
| 184 |
} |