PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / loan-calculator / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/loan-calculator/block.json

254 lines 6.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/loan-calculator",
5 "title": "Loan Calculator",
6 "category": "bkbg-calculators",
7 "icon": "chart-line",
8 "description": "Interactive mortgage and loan calculator with sliders for loan amount, interest rate, and term. Displays monthly payment, total interest, and total cost. Optional amortization schedule and doughnut chart.",
9 "keywords": [
10 "loan",
11 "mortgage",
12 "calculator",
13 "finance",
14 "interest",
15 "payment",
16 "amortization"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-loan-calculator-editor",
20 "style": "bkbg-loan-calculator-style",
21 "viewScript": "bkbg-loan-calculator-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "title": {
33 "type": "string",
34 "default": "Loan Calculator"
35 },
36 "showTitle": {
37 "type": "boolean",
38 "default": true
39 },
40 "subtitle": {
41 "type": "string",
42 "default": "Estimate your monthly payments in seconds."
43 },
44 "showSubtitle": {
45 "type": "boolean",
46 "default": true
47 },
48 "loanAmountDefault": {
49 "type": "number",
50 "default": 300000
51 },
52 "loanAmountMin": {
53 "type": "number",
54 "default": 10000
55 },
56 "loanAmountMax": {
57 "type": "number",
58 "default": 2000000
59 },
60 "loanAmountStep": {
61 "type": "number",
62 "default": 5000
63 },
64 "interestDefault": {
65 "type": "number",
66 "default": 5.5
67 },
68 "interestMin": {
69 "type": "number",
70 "default": 0.5
71 },
72 "interestMax": {
73 "type": "number",
74 "default": 20
75 },
76 "interestStep": {
77 "type": "number",
78 "default": 0.1
79 },
80 "termDefault": {
81 "type": "number",
82 "default": 25
83 },
84 "termMin": {
85 "type": "number",
86 "default": 1
87 },
88 "termMax": {
89 "type": "number",
90 "default": 30
91 },
92 "termStep": {
93 "type": "number",
94 "default": 1
95 },
96 "currency": {
97 "type": "string",
98 "default": "$"
99 },
100 "currencyPos": {
101 "type": "string",
102 "default": "before"
103 },
104 "showChart": {
105 "type": "boolean",
106 "default": true
107 },
108 "showAmortization": {
109 "type": "boolean",
110 "default": false
111 },
112 "amortizationRows": {
113 "type": "number",
114 "default": 12
115 },
116 "loanLabel": {
117 "type": "string",
118 "default": "Loan Amount"
119 },
120 "interestLabel": {
121 "type": "string",
122 "default": "Annual Interest Rate"
123 },
124 "termLabel": {
125 "type": "string",
126 "default": "Loan Term (years)"
127 },
128 "ctaLabel": {
129 "type": "string",
130 "default": "Apply Now"
131 },
132 "ctaUrl": {
133 "type": "string",
134 "default": "#"
135 },
136 "ctaNewTab": {
137 "type": "boolean",
138 "default": false
139 },
140 "showCta": {
141 "type": "boolean",
142 "default": true
143 },
144 "disclaimer": {
145 "type": "string",
146 "default": "This calculator is for illustrative purposes only. Actual rates may vary."
147 },
148 "showDisclaimer": {
149 "type": "boolean",
150 "default": true
151 },
152 "accentColor": {
153 "type": "string",
154 "default": "#6c3fb5"
155 },
156 "sliderFill": {
157 "type": "string",
158 "default": "#6c3fb5"
159 },
160 "sliderTrack": {
161 "type": "string",
162 "default": "#e5e7eb"
163 },
164 "principalColor": {
165 "type": "string",
166 "default": "#6c3fb5"
167 },
168 "interestColor": {
169 "type": "string",
170 "default": "#f59e0b"
171 },
172 "cardBg": {
173 "type": "string",
174 "default": "#ffffff"
175 },
176 "cardBorder": {
177 "type": "string",
178 "default": "#e5e7eb"
179 },
180 "resultBg": {
181 "type": "string",
182 "default": "#f5f3ff"
183 },
184 "resultBorder": {
185 "type": "string",
186 "default": "#ede9fe"
187 },
188 "titleColor": {
189 "type": "string",
190 "default": "#1e1b4b"
191 },
192 "subtitleColor": {
193 "type": "string",
194 "default": "#6b7280"
195 },
196 "labelColor": {
197 "type": "string",
198 "default": "#374151"
199 },
200 "valueColor": {
201 "type": "string",
202 "default": "#1e1b4b"
203 },
204 "monthlyColor": {
205 "type": "string",
206 "default": "#6c3fb5"
207 },
208 "ctaBg": {
209 "type": "string",
210 "default": "#6c3fb5"
211 },
212 "ctaColor": {
213 "type": "string",
214 "default": "#ffffff"
215 },
216 "bgColor": {
217 "type": "string",
218 "default": ""
219 },
220 "titleTypo": {
221 "type": "object",
222 "default": {}
223 },
224 "subtitleTypo": {
225 "type": "object",
226 "default": {}
227 },
228 "monthlySize": {
229 "type": "number",
230 "default": 48
231 },
232 "cardRadius": {
233 "type": "number",
234 "default": 16
235 },
236 "btnRadius": {
237 "type": "number",
238 "default": 8
239 },
240 "maxWidth": {
241 "type": "number",
242 "default": 760
243 },
244 "paddingTop": {
245 "type": "number",
246 "default": 60
247 },
248 "paddingBottom": {
249 "type": "number",
250 "default": 60
251 }
252 }
253 }
254