@jjlmoya/utils-developer 1.11.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -4
- package/scripts/postinstall.mjs +27 -0
- package/src/entries.ts +74 -0
- package/src/tool/aspectRatio/aspect-ratio-calculator.css +276 -0
- package/src/tool/aspectRatio/component.astro +0 -278
- package/src/tool/aspectRatio/entry.ts +30 -0
- package/src/tool/aspectRatio/index.ts +2 -32
- package/src/tool/calculadoraTiempoDatos/component.astro +0 -524
- package/src/tool/calculadoraTiempoDatos/data-time-calculator-web-speed-impact.css +522 -0
- package/src/tool/calculadoraTiempoDatos/entry.ts +29 -0
- package/src/tool/calculadoraTiempoDatos/index.ts +2 -31
- package/src/tool/colorConverter/color-converter-rgb-hex-hsl.css +262 -0
- package/src/tool/colorConverter/component.astro +0 -264
- package/src/tool/colorConverter/entry.ts +29 -0
- package/src/tool/colorConverter/index.ts +2 -31
- package/src/tool/conversorExcelCsvHtml/component.astro +0 -360
- package/src/tool/conversorExcelCsvHtml/entry.ts +29 -0
- package/src/tool/conversorExcelCsvHtml/excel-csv-html-table-converter.css +358 -0
- package/src/tool/conversorExcelCsvHtml/index.ts +2 -31
- package/src/tool/cronGenerator/component.astro +0 -317
- package/src/tool/cronGenerator/cron.css +315 -0
- package/src/tool/cronGenerator/entry.ts +30 -0
- package/src/tool/cronGenerator/index.ts +2 -32
- package/src/tool/cssSpecificityCalculator/component.astro +0 -205
- package/src/tool/cssSpecificityCalculator/css-specificity-calculator.css +203 -0
- package/src/tool/cssSpecificityCalculator/entry.ts +30 -0
- package/src/tool/cssSpecificityCalculator/index.ts +2 -32
- package/src/tool/cssToInlineConverter/component.astro +0 -150
- package/src/tool/cssToInlineConverter/css-to-inline-converter.css +148 -0
- package/src/tool/cssToInlineConverter/entry.ts +30 -0
- package/src/tool/cssToInlineConverter/index.ts +2 -32
- package/src/tool/duplicateCssRemover/component.astro +0 -197
- package/src/tool/duplicateCssRemover/duplicate-css-remover.css +195 -0
- package/src/tool/duplicateCssRemover/entry.ts +30 -0
- package/src/tool/duplicateCssRemover/index.ts +2 -32
- package/src/tool/generadorSecurityTxt/component.astro +0 -231
- package/src/tool/generadorSecurityTxt/entry.ts +29 -0
- package/src/tool/generadorSecurityTxt/index.ts +2 -31
- package/src/tool/generadorSecurityTxt/security-txt-generator-rfc-9116.css +229 -0
- package/src/tool/hashGenerator/component.astro +0 -229
- package/src/tool/hashGenerator/entry.ts +29 -0
- package/src/tool/hashGenerator/hash-generator.css +227 -0
- package/src/tool/hashGenerator/index.ts +2 -31
- package/src/tool/inspectorCertificadosSsl/component.astro +0 -261
- package/src/tool/inspectorCertificadosSsl/entry.ts +45 -0
- package/src/tool/inspectorCertificadosSsl/index.ts +2 -47
- package/src/tool/inspectorCertificadosSsl/ssl-tls-certificate-inspector.css +259 -0
- package/src/tool/jsonFormatter/component.astro +0 -346
- package/src/tool/jsonFormatter/entry.ts +30 -0
- package/src/tool/jsonFormatter/index.ts +2 -32
- package/src/tool/jsonFormatter/json-formatter.css +344 -0
- package/src/tool/keycode/component.astro +0 -298
- package/src/tool/keycode/entry.ts +30 -0
- package/src/tool/keycode/index.ts +2 -32
- package/src/tool/keycode/keycode.css +296 -0
- package/src/tool/llmCostCalculator/component.astro +0 -253
- package/src/tool/llmCostCalculator/entry.ts +46 -0
- package/src/tool/llmCostCalculator/index.ts +2 -48
- package/src/tool/llmCostCalculator/llm-cost-calculator.css +251 -0
- package/src/tool/mobileMockupGenerator/component.astro +0 -906
- package/src/tool/mobileMockupGenerator/entry.ts +45 -0
- package/src/tool/mobileMockupGenerator/index.ts +2 -47
- package/src/tool/mobileMockupGenerator/mobile-mockup-generator.css +904 -0
- package/src/tool/musicalTypography/component.astro +0 -291
- package/src/tool/musicalTypography/entry.ts +29 -0
- package/src/tool/musicalTypography/index.ts +2 -31
- package/src/tool/musicalTypography/musical-typography.css +289 -0
- package/src/tool/placeholderGenerator/component.astro +0 -255
- package/src/tool/placeholderGenerator/entry.ts +46 -0
- package/src/tool/placeholderGenerator/index.ts +2 -48
- package/src/tool/placeholderGenerator/placeholder-image-generator.css +253 -0
- package/src/tool/promptLibrary/component.astro +0 -689
- package/src/tool/promptLibrary/entry.ts +45 -0
- package/src/tool/promptLibrary/index.ts +2 -47
- package/src/tool/promptLibrary/prompt-library.css +687 -0
- package/src/tool/readabilityCalculator/component.astro +0 -322
- package/src/tool/readabilityCalculator/entry.ts +45 -0
- package/src/tool/readabilityCalculator/index.ts +2 -47
- package/src/tool/readabilityCalculator/visual-readability-calculator-wcag-apca.css +320 -0
- package/src/tool/svgSanitizer/component.astro +0 -289
- package/src/tool/svgSanitizer/entry.ts +45 -0
- package/src/tool/svgSanitizer/index.ts +2 -47
- package/src/tool/svgSanitizer/svg-sanitizer.css +287 -0
- package/src/tool/svgToCss/component.astro +0 -196
- package/src/tool/svgToCss/entry.ts +30 -0
- package/src/tool/svgToCss/index.ts +2 -32
- package/src/tool/svgToCss/svg-to-css-converter.css +194 -0
- package/src/tool/urlCleaner/component.astro +0 -282
- package/src/tool/urlCleaner/entry.ts +45 -0
- package/src/tool/urlCleaner/index.ts +2 -47
- package/src/tool/urlCleaner/url-tracking-cleaner.css +280 -0
- package/src/tool/urlEncoderDecoder/component.astro +0 -168
- package/src/tool/urlEncoderDecoder/entry.ts +30 -0
- package/src/tool/urlEncoderDecoder/index.ts +2 -32
- package/src/tool/urlEncoderDecoder/url-encoder-decoder.css +166 -0
- package/src/tool/utmGenerator/component.astro +0 -156
- package/src/tool/utmGenerator/entry.ts +29 -0
- package/src/tool/utmGenerator/index.ts +2 -31
- package/src/tool/utmGenerator/utm-generator.css +154 -0
- package/src/tools.ts +1 -1
|
@@ -94,328 +94,6 @@ const t = (ui ?? {}) as ReadabilityCalculatorUI;
|
|
|
94
94
|
</div>
|
|
95
95
|
</div>
|
|
96
96
|
|
|
97
|
-
<style>
|
|
98
|
-
.rc-root {
|
|
99
|
-
width: 100%;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.rc-container {
|
|
103
|
-
display: grid;
|
|
104
|
-
grid-template-columns: 1fr;
|
|
105
|
-
gap: 2rem;
|
|
106
|
-
max-width: 1200px;
|
|
107
|
-
margin: 0 auto;
|
|
108
|
-
padding: 1.5rem;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@media (min-width: 1024px) {
|
|
112
|
-
.rc-container {
|
|
113
|
-
grid-template-columns: 1fr 1fr;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.rc-card {
|
|
118
|
-
background: rgba(255, 255, 255, 0.7);
|
|
119
|
-
backdrop-filter: blur(16px);
|
|
120
|
-
-webkit-backdrop-filter: blur(16px);
|
|
121
|
-
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
122
|
-
border-radius: 1.5rem;
|
|
123
|
-
padding: 2.5rem;
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-direction: column;
|
|
126
|
-
gap: 2rem;
|
|
127
|
-
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
:global(.theme-dark) .rc-card {
|
|
131
|
-
background: rgba(15, 23, 42, 0.6);
|
|
132
|
-
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
133
|
-
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.rc-control-section {
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
gap: 2rem;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.rc-group-title {
|
|
143
|
-
font-size: 0.75rem;
|
|
144
|
-
font-weight: 800;
|
|
145
|
-
color: rgb(100, 116, 139);
|
|
146
|
-
text-transform: uppercase;
|
|
147
|
-
letter-spacing: 0.1em;
|
|
148
|
-
margin-bottom: 1rem;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.rc-group-title-sm {
|
|
152
|
-
margin-bottom: 0.75rem;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
:global(.theme-dark) .rc-group-title {
|
|
156
|
-
color: rgb(148, 163, 184);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.rc-inputs-grid {
|
|
160
|
-
display: grid;
|
|
161
|
-
grid-template-columns: repeat(2, 1fr);
|
|
162
|
-
gap: 1.5rem;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.rc-input-wrapper {
|
|
166
|
-
display: flex;
|
|
167
|
-
flex-direction: column;
|
|
168
|
-
gap: 0.75rem;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.rc-label-mini {
|
|
172
|
-
font-size: 0.875rem;
|
|
173
|
-
font-weight: 600;
|
|
174
|
-
color: rgb(30, 41, 59);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
:global(.theme-dark) .rc-label-mini {
|
|
178
|
-
color: rgb(241, 245, 249);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.rc-color-input-container {
|
|
182
|
-
display: flex;
|
|
183
|
-
align-items: center;
|
|
184
|
-
gap: 0.75rem;
|
|
185
|
-
background: rgba(255, 255, 255, 0.5);
|
|
186
|
-
border: 1px solid rgb(226, 232, 240);
|
|
187
|
-
padding: 0.5rem;
|
|
188
|
-
border-radius: 0.75rem;
|
|
189
|
-
transition: all 0.2s ease;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
:global(.theme-dark) .rc-color-input-container {
|
|
193
|
-
background: rgba(30, 41, 59, 0.5);
|
|
194
|
-
border-color: rgb(51, 65, 85);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.rc-color-picker {
|
|
198
|
-
-webkit-appearance: none;
|
|
199
|
-
-moz-appearance: none;
|
|
200
|
-
appearance: none;
|
|
201
|
-
width: 2.5rem;
|
|
202
|
-
height: 2.5rem;
|
|
203
|
-
border: none;
|
|
204
|
-
border-radius: 0.5rem;
|
|
205
|
-
cursor: pointer;
|
|
206
|
-
background: none;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.rc-color-picker::-webkit-color-swatch-wrapper {
|
|
210
|
-
padding: 0;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.rc-color-picker::-webkit-color-swatch {
|
|
214
|
-
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
215
|
-
border-radius: 0.4rem;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
:global(.theme-dark) .rc-color-picker::-webkit-color-swatch {
|
|
219
|
-
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.rc-hex-text {
|
|
223
|
-
font-size: 0.875rem;
|
|
224
|
-
font-weight: 600;
|
|
225
|
-
color: rgb(71, 85, 105);
|
|
226
|
-
flex: 1;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
:global(.theme-dark) .rc-hex-text {
|
|
230
|
-
color: rgb(148, 163, 184);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.rc-sliders-stack {
|
|
234
|
-
display: flex;
|
|
235
|
-
flex-direction: column;
|
|
236
|
-
gap: 1.5rem;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.rc-slider-group {
|
|
240
|
-
display: flex;
|
|
241
|
-
flex-direction: column;
|
|
242
|
-
gap: 0.75rem;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.rc-slider-header {
|
|
246
|
-
display: flex;
|
|
247
|
-
justify-content: space-between;
|
|
248
|
-
align-items: center;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.rc-slider-value {
|
|
252
|
-
background: rgb(14, 165, 233);
|
|
253
|
-
color: rgb(255, 255, 255);
|
|
254
|
-
font-size: 0.75rem;
|
|
255
|
-
font-weight: 700;
|
|
256
|
-
padding: 0.15rem 0.5rem;
|
|
257
|
-
border-radius: 1rem;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.rc-range {
|
|
261
|
-
-webkit-appearance: none;
|
|
262
|
-
appearance: none;
|
|
263
|
-
width: 100%;
|
|
264
|
-
height: 6px;
|
|
265
|
-
background: rgb(226, 232, 240);
|
|
266
|
-
border-radius: 3px;
|
|
267
|
-
outline: none;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
:global(.theme-dark) .rc-range {
|
|
271
|
-
background: rgb(51, 65, 85);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.rc-range::-webkit-slider-thumb {
|
|
275
|
-
-webkit-appearance: none;
|
|
276
|
-
appearance: none;
|
|
277
|
-
width: 18px;
|
|
278
|
-
height: 18px;
|
|
279
|
-
background: rgb(14, 165, 233);
|
|
280
|
-
border-radius: 50%;
|
|
281
|
-
cursor: pointer;
|
|
282
|
-
box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
|
|
283
|
-
transition: all 0.2s ease;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.rc-range::-webkit-slider-thumb:hover {
|
|
287
|
-
transform: scale(1.15);
|
|
288
|
-
box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.2);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.rc-comparison-grid {
|
|
292
|
-
display: grid;
|
|
293
|
-
grid-template-columns: repeat(2, 1fr);
|
|
294
|
-
gap: 1rem;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.rc-score-card {
|
|
298
|
-
padding: 1.25rem;
|
|
299
|
-
border-radius: 1rem;
|
|
300
|
-
display: flex;
|
|
301
|
-
flex-direction: column;
|
|
302
|
-
align-items: center;
|
|
303
|
-
gap: 0.5rem;
|
|
304
|
-
background: rgba(255, 255, 255, 0.4);
|
|
305
|
-
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
:global(.theme-dark) .rc-score-card {
|
|
309
|
-
background: rgba(255, 255, 255, 0.03);
|
|
310
|
-
border-color: rgba(255, 255, 255, 0.05);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.rc-score-label {
|
|
314
|
-
font-size: 0.65rem;
|
|
315
|
-
font-weight: 800;
|
|
316
|
-
text-transform: uppercase;
|
|
317
|
-
color: rgb(100, 116, 139);
|
|
318
|
-
text-align: center;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.rc-score-value {
|
|
322
|
-
font-size: 1.5rem;
|
|
323
|
-
font-weight: 800;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.rc-score-status {
|
|
327
|
-
font-size: 0.75rem;
|
|
328
|
-
font-weight: 700;
|
|
329
|
-
padding: 0.2rem 0.6rem;
|
|
330
|
-
border-radius: 0.5rem;
|
|
331
|
-
text-transform: uppercase;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.rc-status-pass {
|
|
335
|
-
background: rgb(220, 252, 231);
|
|
336
|
-
color: rgb(22, 101, 52);
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.rc-status-fail {
|
|
340
|
-
background: rgb(254, 226, 226);
|
|
341
|
-
color: rgb(153, 27, 27);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
:global(.theme-dark) .rc-status-pass {
|
|
345
|
-
background: rgba(34, 197, 94, 0.15);
|
|
346
|
-
color: rgb(134, 239, 172);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
:global(.theme-dark) .rc-status-fail {
|
|
350
|
-
background: rgba(239, 68, 68, 0.15);
|
|
351
|
-
color: rgb(252, 165, 165);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.rc-preview-container {
|
|
355
|
-
flex: 1;
|
|
356
|
-
display: flex;
|
|
357
|
-
flex-direction: column;
|
|
358
|
-
gap: 1.5rem;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.rc-main-preview-box {
|
|
362
|
-
padding: 2.5rem;
|
|
363
|
-
border-radius: 1.25rem;
|
|
364
|
-
transition: all 0.3s ease;
|
|
365
|
-
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
366
|
-
min-height: 160px;
|
|
367
|
-
display: flex;
|
|
368
|
-
align-items: center;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
.rc-preview-text {
|
|
372
|
-
line-height: 1.5;
|
|
373
|
-
margin: 0;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.rc-apca-breakdown {
|
|
377
|
-
background: rgba(14, 165, 233, 0.05);
|
|
378
|
-
padding: 1.5rem;
|
|
379
|
-
border-radius: 1rem;
|
|
380
|
-
border: 1px solid rgba(14, 165, 233, 0.1);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.rc-breakdown-list {
|
|
384
|
-
display: flex;
|
|
385
|
-
flex-direction: column;
|
|
386
|
-
gap: 0.75rem;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.rc-breakdown-item {
|
|
390
|
-
display: flex;
|
|
391
|
-
justify-content: space-between;
|
|
392
|
-
font-size: 0.875rem;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.rc-item-label {
|
|
396
|
-
color: rgb(71, 85, 105);
|
|
397
|
-
font-weight: 600;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
:global(.theme-dark) .rc-item-label {
|
|
401
|
-
color: rgb(148, 163, 184);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.rc-item-check {
|
|
405
|
-
font-weight: 700;
|
|
406
|
-
display: flex;
|
|
407
|
-
align-items: center;
|
|
408
|
-
gap: 0.4rem;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.rc-check-yes {
|
|
412
|
-
color: rgb(16, 185, 129);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.rc-check-no {
|
|
416
|
-
color: rgb(239, 68, 68);
|
|
417
|
-
}
|
|
418
|
-
</style>
|
|
419
97
|
|
|
420
98
|
<script>
|
|
421
99
|
import type { ReadabilityCalculatorUI } from './ui';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { DeveloperToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
import type { ReadabilityCalculatorUI } from './ui';
|
|
3
|
+
|
|
4
|
+
export type ReadabilityCalculatorLocaleContent = ToolLocaleContent<ReadabilityCalculatorUI>;
|
|
5
|
+
|
|
6
|
+
import { content as es } from './i18n/es';
|
|
7
|
+
import { content as en } from './i18n/en';
|
|
8
|
+
import { content as fr } from './i18n/fr';
|
|
9
|
+
import { content as de } from './i18n/de';
|
|
10
|
+
import { content as id } from './i18n/id';
|
|
11
|
+
import { content as it } from './i18n/it';
|
|
12
|
+
import { content as ja } from './i18n/ja';
|
|
13
|
+
import { content as ko } from './i18n/ko';
|
|
14
|
+
import { content as nl } from './i18n/nl';
|
|
15
|
+
import { content as pl } from './i18n/pl';
|
|
16
|
+
import { content as pt } from './i18n/pt';
|
|
17
|
+
import { content as ru } from './i18n/ru';
|
|
18
|
+
import { content as sv } from './i18n/sv';
|
|
19
|
+
import { content as tr } from './i18n/tr';
|
|
20
|
+
import { content as zh } from './i18n/zh';
|
|
21
|
+
|
|
22
|
+
export const readabilityCalculator: DeveloperToolEntry<ReadabilityCalculatorUI> = {
|
|
23
|
+
id: 'readability-calculator',
|
|
24
|
+
icons: {
|
|
25
|
+
bg: 'mdi:eye-check',
|
|
26
|
+
fg: 'mdi:contrast-circle',
|
|
27
|
+
},
|
|
28
|
+
i18n: {
|
|
29
|
+
es: async () => es,
|
|
30
|
+
en: async () => en,
|
|
31
|
+
fr: async () => fr,
|
|
32
|
+
de: async () => de,
|
|
33
|
+
id: async () => id,
|
|
34
|
+
it: async () => it,
|
|
35
|
+
ja: async () => ja,
|
|
36
|
+
ko: async () => ko,
|
|
37
|
+
nl: async () => nl,
|
|
38
|
+
pl: async () => pl,
|
|
39
|
+
pt: async () => pt,
|
|
40
|
+
ru: async () => ru,
|
|
41
|
+
sv: async () => sv,
|
|
42
|
+
tr: async () => tr,
|
|
43
|
+
zh: async () => zh,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -1,50 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type ReadabilityCalculatorLocaleContent = ToolLocaleContent<ReadabilityCalculatorUI>;
|
|
5
|
-
|
|
6
|
-
import { content as es } from './i18n/es';
|
|
7
|
-
import { content as en } from './i18n/en';
|
|
8
|
-
import { content as fr } from './i18n/fr';
|
|
9
|
-
import { content as de } from './i18n/de';
|
|
10
|
-
import { content as id } from './i18n/id';
|
|
11
|
-
import { content as it } from './i18n/it';
|
|
12
|
-
import { content as ja } from './i18n/ja';
|
|
13
|
-
import { content as ko } from './i18n/ko';
|
|
14
|
-
import { content as nl } from './i18n/nl';
|
|
15
|
-
import { content as pl } from './i18n/pl';
|
|
16
|
-
import { content as pt } from './i18n/pt';
|
|
17
|
-
import { content as ru } from './i18n/ru';
|
|
18
|
-
import { content as sv } from './i18n/sv';
|
|
19
|
-
import { content as tr } from './i18n/tr';
|
|
20
|
-
import { content as zh } from './i18n/zh';
|
|
21
|
-
|
|
22
|
-
export const readabilityCalculator: DeveloperToolEntry<ReadabilityCalculatorUI> = {
|
|
23
|
-
id: 'readability-calculator',
|
|
24
|
-
icons: {
|
|
25
|
-
bg: 'mdi:eye-check',
|
|
26
|
-
fg: 'mdi:contrast-circle',
|
|
27
|
-
},
|
|
28
|
-
i18n: {
|
|
29
|
-
es: async () => es,
|
|
30
|
-
en: async () => en,
|
|
31
|
-
fr: async () => fr,
|
|
32
|
-
de: async () => de,
|
|
33
|
-
id: async () => id,
|
|
34
|
-
it: async () => it,
|
|
35
|
-
ja: async () => ja,
|
|
36
|
-
ko: async () => ko,
|
|
37
|
-
nl: async () => nl,
|
|
38
|
-
pl: async () => pl,
|
|
39
|
-
pt: async () => pt,
|
|
40
|
-
ru: async () => ru,
|
|
41
|
-
sv: async () => sv,
|
|
42
|
-
tr: async () => tr,
|
|
43
|
-
zh: async () => zh,
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
import { readabilityCalculator } from './entry';
|
|
2
|
+
export * from './entry';
|
|
48
3
|
export const READABILITY_CALCULATOR_TOOL: ToolDefinition = {
|
|
49
4
|
entry: readabilityCalculator,
|
|
50
5
|
Component: () => import('./component.astro'),
|