@jjlmoya/utils-textiles 1.20.0 → 1.22.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.
Files changed (209) hide show
  1. package/package.json +1 -1
  2. package/src/category/i18n/de.ts +76 -76
  3. package/src/category/i18n/en.ts +76 -76
  4. package/src/category/i18n/es.ts +76 -76
  5. package/src/category/i18n/fr.ts +76 -76
  6. package/src/category/i18n/id.ts +76 -76
  7. package/src/category/i18n/it.ts +76 -76
  8. package/src/category/i18n/ja.ts +76 -76
  9. package/src/category/i18n/ko.ts +76 -76
  10. package/src/category/i18n/nl.ts +76 -76
  11. package/src/category/i18n/pl.ts +76 -76
  12. package/src/category/i18n/pt.ts +76 -76
  13. package/src/category/i18n/ru.ts +76 -76
  14. package/src/category/i18n/sv.ts +76 -76
  15. package/src/category/i18n/zh.ts +76 -76
  16. package/src/category/index.ts +2 -0
  17. package/src/category/seo.astro +1 -1
  18. package/src/components/PreviewNavSidebar.astro +1 -1
  19. package/src/components/PreviewToolbar.astro +1 -1
  20. package/src/data.ts +1 -1
  21. package/src/entries.ts +4 -1
  22. package/src/env.d.ts +1 -1
  23. package/src/index.ts +1 -1
  24. package/src/layouts/PreviewLayout.astro +113 -113
  25. package/src/pages/index.astro +1 -1
  26. package/src/tests/faq_count.test.ts +19 -19
  27. package/src/tests/i18n_coverage.test.ts +4 -2
  28. package/src/tests/locale_spelling.test.ts +44 -0
  29. package/src/tests/mocks/astro_mock.js +1 -1
  30. package/src/tests/no_en_dash.test.ts +70 -70
  31. package/src/tests/no_h1_in_components.test.ts +1 -1
  32. package/src/tests/seo_length.test.ts +22 -22
  33. package/src/tests/seo_translation_completeness.test.ts +69 -0
  34. package/src/tests/spanish_leakage.test.ts +175 -153
  35. package/src/tests/tool_validation.test.ts +17 -17
  36. package/src/tool/burnTest/i18n/es.ts +211 -211
  37. package/src/tool/burnTest/i18n/fr.ts +211 -211
  38. package/src/tool/burnTest/i18n/ja.ts +211 -211
  39. package/src/tool/burnTest/i18n/ko.ts +211 -211
  40. package/src/tool/burnTest/i18n/pl.ts +211 -211
  41. package/src/tool/burnTest/i18n/ru.ts +211 -211
  42. package/src/tool/burnTest/i18n/sv.ts +211 -211
  43. package/src/tool/burnTest/i18n/zh.ts +211 -211
  44. package/src/tool/burnTest/seo.astro +15 -15
  45. package/src/tool/clothingSizeConverter/i18n/de.ts +348 -348
  46. package/src/tool/clothingSizeConverter/i18n/en.ts +348 -348
  47. package/src/tool/clothingSizeConverter/i18n/fr.ts +348 -348
  48. package/src/tool/clothingSizeConverter/i18n/ja.ts +348 -348
  49. package/src/tool/clothingSizeConverter/i18n/ko.ts +348 -348
  50. package/src/tool/clothingSizeConverter/i18n/nl.ts +348 -348
  51. package/src/tool/clothingSizeConverter/i18n/pl.ts +348 -348
  52. package/src/tool/clothingSizeConverter/i18n/ru.ts +348 -348
  53. package/src/tool/clothingSizeConverter/i18n/sv.ts +348 -348
  54. package/src/tool/clothingSizeConverter/i18n/tr.ts +348 -348
  55. package/src/tool/clothingSizeConverter/i18n/zh.ts +348 -348
  56. package/src/tool/clothingSizeConverter/seo.astro +15 -15
  57. package/src/tool/embroideryStitchPricingEstimator/bibliography.astro +6 -0
  58. package/src/tool/embroideryStitchPricingEstimator/bibliography.ts +12 -0
  59. package/src/tool/embroideryStitchPricingEstimator/component.astro +111 -0
  60. package/src/tool/embroideryStitchPricingEstimator/controller.ts +111 -0
  61. package/src/tool/embroideryStitchPricingEstimator/dom-views.ts +94 -0
  62. package/src/tool/embroideryStitchPricingEstimator/embroidery-stitch-count-pricing-estimator.css +438 -0
  63. package/src/tool/embroideryStitchPricingEstimator/entry.ts +29 -0
  64. package/src/tool/embroideryStitchPricingEstimator/evaluator.ts +22 -0
  65. package/src/tool/embroideryStitchPricingEstimator/i18n/de.ts +38 -0
  66. package/src/tool/embroideryStitchPricingEstimator/i18n/en.ts +194 -0
  67. package/src/tool/embroideryStitchPricingEstimator/i18n/es.ts +38 -0
  68. package/src/tool/embroideryStitchPricingEstimator/i18n/fr.ts +38 -0
  69. package/src/tool/embroideryStitchPricingEstimator/i18n/id.ts +38 -0
  70. package/src/tool/embroideryStitchPricingEstimator/i18n/it.ts +38 -0
  71. package/src/tool/embroideryStitchPricingEstimator/i18n/ja.ts +38 -0
  72. package/src/tool/embroideryStitchPricingEstimator/i18n/ko.ts +38 -0
  73. package/src/tool/embroideryStitchPricingEstimator/i18n/nl.ts +38 -0
  74. package/src/tool/embroideryStitchPricingEstimator/i18n/pl.ts +38 -0
  75. package/src/tool/embroideryStitchPricingEstimator/i18n/pt.ts +38 -0
  76. package/src/tool/embroideryStitchPricingEstimator/i18n/ru.ts +38 -0
  77. package/src/tool/embroideryStitchPricingEstimator/i18n/sv.ts +38 -0
  78. package/src/tool/embroideryStitchPricingEstimator/i18n/tr.ts +38 -0
  79. package/src/tool/embroideryStitchPricingEstimator/i18n/zh.ts +38 -0
  80. package/src/tool/embroideryStitchPricingEstimator/index.ts +11 -0
  81. package/src/tool/embroideryStitchPricingEstimator/logic.test.ts +40 -0
  82. package/src/tool/embroideryStitchPricingEstimator/logic.ts +86 -0
  83. package/src/tool/embroideryStitchPricingEstimator/seo.astro +15 -0
  84. package/src/tool/embroideryStitchPricingEstimator/storage.ts +20 -0
  85. package/src/tool/embroideryStitchPricingEstimator/ui.ts +53 -0
  86. package/src/tool/fabricProjectCalculator/i18n/de.ts +236 -236
  87. package/src/tool/fabricProjectCalculator/i18n/ja.ts +236 -236
  88. package/src/tool/fabricProjectCalculator/i18n/ko.ts +236 -236
  89. package/src/tool/fabricProjectCalculator/i18n/nl.ts +236 -236
  90. package/src/tool/fabricProjectCalculator/i18n/pl.ts +236 -236
  91. package/src/tool/fabricProjectCalculator/i18n/ru.ts +236 -236
  92. package/src/tool/fabricProjectCalculator/i18n/sv.ts +236 -236
  93. package/src/tool/fabricProjectCalculator/i18n/tr.ts +236 -236
  94. package/src/tool/fabricProjectCalculator/i18n/zh.ts +236 -236
  95. package/src/tool/fabricProjectCalculator/seo.astro +15 -15
  96. package/src/tool/fabricTruth/i18n/de.ts +268 -268
  97. package/src/tool/fabricTruth/i18n/en.ts +268 -268
  98. package/src/tool/fabricTruth/i18n/es.ts +302 -302
  99. package/src/tool/fabricTruth/i18n/fr.ts +268 -268
  100. package/src/tool/fabricTruth/i18n/id.ts +268 -268
  101. package/src/tool/fabricTruth/i18n/it.ts +268 -268
  102. package/src/tool/fabricTruth/i18n/ja.ts +268 -268
  103. package/src/tool/fabricTruth/i18n/ko.ts +268 -268
  104. package/src/tool/fabricTruth/i18n/nl.ts +268 -268
  105. package/src/tool/fabricTruth/i18n/pl.ts +268 -268
  106. package/src/tool/fabricTruth/i18n/pt.ts +268 -268
  107. package/src/tool/fabricTruth/i18n/ru.ts +268 -268
  108. package/src/tool/fabricTruth/i18n/sv.ts +268 -268
  109. package/src/tool/fabricTruth/i18n/tr.ts +268 -268
  110. package/src/tool/fabricTruth/i18n/zh.ts +272 -272
  111. package/src/tool/fabricTruth/seo.astro +15 -15
  112. package/src/tool/fiberPrep/i18n/de.ts +215 -215
  113. package/src/tool/fiberPrep/i18n/fr.ts +215 -215
  114. package/src/tool/fiberPrep/i18n/ja.ts +215 -215
  115. package/src/tool/fiberPrep/i18n/ko.ts +215 -215
  116. package/src/tool/fiberPrep/i18n/nl.ts +215 -215
  117. package/src/tool/fiberPrep/i18n/pl.ts +215 -215
  118. package/src/tool/fiberPrep/i18n/ru.ts +215 -215
  119. package/src/tool/fiberPrep/i18n/sv.ts +215 -215
  120. package/src/tool/fiberPrep/i18n/tr.ts +215 -215
  121. package/src/tool/fiberPrep/i18n/zh.ts +215 -215
  122. package/src/tool/fiberPrep/seo.astro +15 -15
  123. package/src/tool/knittingGauge/i18n/de.ts +224 -224
  124. package/src/tool/knittingGauge/i18n/ja.ts +224 -224
  125. package/src/tool/knittingGauge/i18n/ko.ts +224 -224
  126. package/src/tool/knittingGauge/i18n/pl.ts +224 -224
  127. package/src/tool/knittingGauge/i18n/ru.ts +224 -224
  128. package/src/tool/knittingGauge/i18n/tr.ts +224 -224
  129. package/src/tool/knittingGauge/i18n/zh.ts +224 -224
  130. package/src/tool/knittingGauge/seo.astro +15 -15
  131. package/src/tool/laundryGuide/i18n/de.ts +271 -271
  132. package/src/tool/laundryGuide/i18n/en.ts +271 -271
  133. package/src/tool/laundryGuide/i18n/es.ts +271 -271
  134. package/src/tool/laundryGuide/i18n/fr.ts +255 -255
  135. package/src/tool/laundryGuide/i18n/id.ts +271 -271
  136. package/src/tool/laundryGuide/i18n/it.ts +271 -271
  137. package/src/tool/laundryGuide/i18n/ja.ts +271 -271
  138. package/src/tool/laundryGuide/i18n/ko.ts +271 -271
  139. package/src/tool/laundryGuide/i18n/nl.ts +271 -271
  140. package/src/tool/laundryGuide/i18n/pl.ts +271 -271
  141. package/src/tool/laundryGuide/i18n/pt.ts +271 -271
  142. package/src/tool/laundryGuide/i18n/ru.ts +271 -271
  143. package/src/tool/laundryGuide/i18n/sv.ts +271 -271
  144. package/src/tool/laundryGuide/i18n/tr.ts +271 -271
  145. package/src/tool/laundryGuide/i18n/zh.ts +271 -271
  146. package/src/tool/laundryGuide/seo.astro +15 -15
  147. package/src/tool/needleConverter/i18n/de.ts +202 -202
  148. package/src/tool/needleConverter/i18n/es.ts +207 -207
  149. package/src/tool/needleConverter/i18n/fr.ts +207 -207
  150. package/src/tool/needleConverter/i18n/ja.ts +202 -202
  151. package/src/tool/needleConverter/i18n/ko.ts +202 -202
  152. package/src/tool/needleConverter/i18n/nl.ts +202 -202
  153. package/src/tool/needleConverter/i18n/pl.ts +202 -202
  154. package/src/tool/needleConverter/i18n/ru.ts +202 -202
  155. package/src/tool/needleConverter/i18n/sv.ts +202 -202
  156. package/src/tool/needleConverter/i18n/tr.ts +202 -202
  157. package/src/tool/needleConverter/i18n/zh.ts +202 -202
  158. package/src/tool/needleConverter/seo.astro +15 -15
  159. package/src/tool/sewingPatternScaler/component.astro +236 -236
  160. package/src/tool/sewingPatternScaler/i18n/fr.ts +170 -170
  161. package/src/tool/sewingPatternScaler/i18n/ja.ts +114 -114
  162. package/src/tool/sewingPatternScaler/i18n/ko.ts +114 -114
  163. package/src/tool/sewingPatternScaler/i18n/nl.ts +114 -114
  164. package/src/tool/sewingPatternScaler/i18n/pl.ts +114 -114
  165. package/src/tool/sewingPatternScaler/i18n/ru.ts +114 -114
  166. package/src/tool/sewingPatternScaler/i18n/sv.ts +114 -114
  167. package/src/tool/sewingPatternScaler/i18n/tr.ts +114 -114
  168. package/src/tool/sewingPatternScaler/i18n/zh.ts +114 -114
  169. package/src/tool/sewingPatternScaler/seo.astro +15 -15
  170. package/src/tool/shoeSizeConverter/i18n/fr.ts +183 -183
  171. package/src/tool/shoeSizeConverter/i18n/ja.ts +179 -179
  172. package/src/tool/shoeSizeConverter/i18n/ko.ts +179 -179
  173. package/src/tool/shoeSizeConverter/i18n/nl.ts +179 -179
  174. package/src/tool/shoeSizeConverter/i18n/pl.ts +179 -179
  175. package/src/tool/shoeSizeConverter/i18n/ru.ts +179 -179
  176. package/src/tool/shoeSizeConverter/i18n/sv.ts +179 -179
  177. package/src/tool/shoeSizeConverter/i18n/tr.ts +179 -179
  178. package/src/tool/shoeSizeConverter/i18n/zh.ts +179 -179
  179. package/src/tool/shoeSizeConverter/seo.astro +15 -15
  180. package/src/tool/stainChemistry/bibliography.ts +16 -16
  181. package/src/tool/stainChemistry/i18n/de.ts +286 -286
  182. package/src/tool/stainChemistry/i18n/en.ts +289 -289
  183. package/src/tool/stainChemistry/i18n/es.ts +286 -286
  184. package/src/tool/stainChemistry/i18n/fr.ts +296 -296
  185. package/src/tool/stainChemistry/i18n/id.ts +286 -286
  186. package/src/tool/stainChemistry/i18n/it.ts +286 -286
  187. package/src/tool/stainChemistry/i18n/ja.ts +286 -286
  188. package/src/tool/stainChemistry/i18n/ko.ts +283 -283
  189. package/src/tool/stainChemistry/i18n/nl.ts +286 -286
  190. package/src/tool/stainChemistry/i18n/pl.ts +286 -286
  191. package/src/tool/stainChemistry/i18n/pt.ts +286 -286
  192. package/src/tool/stainChemistry/i18n/ru.ts +286 -286
  193. package/src/tool/stainChemistry/i18n/sv.ts +286 -286
  194. package/src/tool/stainChemistry/i18n/tr.ts +286 -286
  195. package/src/tool/stainChemistry/i18n/zh.ts +281 -281
  196. package/src/tool/stainChemistry/seo.astro +15 -15
  197. package/src/tool/yarnCalculator/i18n/de.ts +296 -296
  198. package/src/tool/yarnCalculator/i18n/es.ts +296 -296
  199. package/src/tool/yarnCalculator/i18n/fr.ts +296 -296
  200. package/src/tool/yarnCalculator/i18n/ja.ts +296 -296
  201. package/src/tool/yarnCalculator/i18n/ko.ts +296 -296
  202. package/src/tool/yarnCalculator/i18n/nl.ts +296 -296
  203. package/src/tool/yarnCalculator/i18n/pl.ts +296 -296
  204. package/src/tool/yarnCalculator/i18n/ru.ts +296 -296
  205. package/src/tool/yarnCalculator/i18n/sv.ts +296 -296
  206. package/src/tool/yarnCalculator/i18n/tr.ts +296 -296
  207. package/src/tool/yarnCalculator/i18n/zh.ts +295 -295
  208. package/src/tool/yarnCalculator/seo.astro +15 -15
  209. package/src/tools.ts +2 -2
@@ -1,207 +1,207 @@
1
- import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import { bibliography } from '../bibliography';
4
- import type { NeedleConverterUI } from '../ui';
5
-
6
- const slug = 'conversor-agujas-punto';
7
- const title = 'Conversor de Agujas de Punto y Ganchillo';
8
- const description =
9
- 'Convierte tamaños de agujas entre sistemas Métrico (mm), US y UK con recomendación de hilos y WPI.';
10
-
11
- const faqData = [
12
- {
13
- question: '¿Por qué hay diferentes sistemas de tallas de agujas?',
14
- answer:
15
- 'Históricamente, cada país desarrolló su propio sistema. El sistema métrico (mm) es el estándar internacional más preciso. El sistema US usa numeración progresiva (0-50), mientras que el sistema UK usa numeración inversa: cuanto más alto el número, más fina es la aguja.',
16
- },
17
- {
18
- question: '¿Son iguales las tallas de ganchillo y punto en US?',
19
- answer:
20
- 'No exactamente. Los ganchillos en US suelen llevar una letra asociada (ej. H-8) y existen variaciones específicas en grosores pequeños. Además, los ganchillos de acero para hilos finos usan una numeración totalmente distinta.',
21
- },
22
- {
23
- question: '¿Qué aguja debo elegir si mi patrón usa una medida sin equivalente exacto?',
24
- answer:
25
- 'Si un patrón pide una medida como 7.0mm y tu sistema solo llega de 6.5mm a 8.0mm, se recomienda hacer siempre una muestra de tensión (gauge). La diferencia de 0.5mm puede alterar significativamente el tamaño final de la prenda.',
26
- },
27
- {
28
- question: '¿Qué es el WPI (Wraps Per Inch)?',
29
- answer:
30
- 'Es el número de vueltas de hilo que caben en una pulgada. Es el método más fiable para identificar el grosor de una lana sin etiqueta y determinar qué aguja es la más adecuada para tejerla.',
31
- },
32
- ];
33
-
34
- const howToData = [
35
- {
36
- name: 'Selecciona el tipo de labor',
37
- text: 'Elige entre punto (knitting) o ganchillo (crochet) para ver las equivalencias correctas en el sistema US.',
38
- },
39
- {
40
- name: 'Elige el calibre en el selector visual',
41
- text: 'Pulsa sobre el círculo que corresponde al tamaño de tu aguja. Los orificios guardan proporción matemática real con el milimetraje.',
42
- },
43
- {
44
- name: 'Lee las equivalencias',
45
- text: 'Consulta los resultados en tiempo real: milímetros, talla US y talla UK, junto con la categoría de hilo recomendada y su WPI.',
46
- },
47
- ];
48
-
49
- const faqSchema: WithContext<FAQPage> = {
50
- '@context': 'https://schema.org',
51
- '@type': 'FAQPage',
52
- mainEntity: faqData.map((item) => ({
53
- '@type': 'Question',
54
- name: item.question,
55
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
56
- })),
57
- };
58
-
59
- const howToSchema: WithContext<HowTo> = {
60
- '@context': 'https://schema.org',
61
- '@type': 'HowTo',
62
- name: title,
63
- description,
64
- step: howToData.map((step) => ({
65
- '@type': 'HowToStep',
66
- name: step.name,
67
- text: step.text,
68
- })),
69
- };
70
-
71
- const appSchema: WithContext<SoftwareApplication> = {
72
- '@context': 'https://schema.org',
73
- '@type': 'SoftwareApplication',
74
- name: title,
75
- description,
76
- applicationCategory: 'UtilityApplication',
77
- operatingSystem: 'All',
78
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
79
- inLanguage: 'es',
80
- };
81
-
82
- export const content: ToolLocaleContent<NeedleConverterUI> = {
83
- slug,
84
- title,
85
- description,
86
- faq: faqData,
87
- bibliography: bibliography,
88
- howTo: howToData,
89
- schemas: [faqSchema, howToSchema, appSchema],
90
- seo: [
91
- {
92
- type: 'title',
93
- text: 'Guía Técnica de Agujas de Punto y Ganchillo: Sistemas, Calibres y Equivalencias',
94
- level: 2,
95
- },
96
- {
97
- type: 'paragraph',
98
- html: 'La globalización de los patrones digitales ha hecho imprescindible entender las diferencias entre el <strong>sistema métrico decimal</strong>, el <strong>estándar de Estados Unidos (US)</strong> y el <strong>sistema imperial del Reino Unido (UK)</strong>. Esta herramienta convierte entre los tres sistemas y ofrece recomendación de hilo mediante el método WPI.',
99
- },
100
- {
101
- type: 'stats',
102
- items: [
103
- { value: 'Offline', label: 'Funciona sin Red', icon: 'mdi:wifi-off' },
104
- { value: 'Triple', label: 'Sincronización Total', icon: 'mdi:sync' },
105
- { value: 'WPI', label: 'Análisis de Hilo', icon: 'mdi:texture' },
106
- ],
107
- columns: 3,
108
- },
109
- {
110
- type: 'title',
111
- text: 'La Complejidad de los Sistemas Internacionales',
112
- level: 3,
113
- },
114
- {
115
- type: 'table',
116
- headers: ['Sistema', 'Base de Cálculo', 'Región Predominante', 'Características Técnicas'],
117
- rows: [
118
- ['<strong>Métrico (mm)</strong>', 'Diámetro exacto en mm', 'Europa / Internacional', 'El estándar ISO más fiable. Incrementos constantes de 0.25mm o 0.50mm.'],
119
- ['<strong>US (EE.UU.)</strong>', 'Numeración Progresiva', 'Norteamérica', 'Usa números del 0 al 50. En ganchillo, los números se asocian a letras (B-1, G-6).'],
120
- ['<strong>UK (Imperial)</strong>', 'Numeración Inversa', 'Reino Unido / Australia', 'Basado en el calibre de trefilado. A mayor número, más fina es la aguja (14 es fino, 0 es grueso).'],
121
- ],
122
- },
123
- {
124
- type: 'title',
125
- text: 'Identificación de Hilos mediante el Método WPI',
126
- level: 3,
127
- },
128
- {
129
- type: 'list',
130
- items: [
131
- '<strong>Lace / Encaje (18-22+ WPI):</strong> Hilos ultrafinos para encajes de seda o mohair. Agujas de 1.5mm a 2.5mm.',
132
- '<strong>Fingering / Baby (14-16 WPI):</strong> El estándar para calcetines y ropa de bebé. Agujas óptimas de 2.75mm a 3.25mm.',
133
- '<strong>Sport / Fine (12-14 WPI):</strong> Hilo de grosor medio-bajo, ideal para chaquetas ligeras. Agujas de 3.5mm a 3.75mm.',
134
- '<strong>DK / Light Worsted (11-13 WPI):</strong> El grosor más versátil del mercado. Agujas de 4.0mm o 4.5mm.',
135
- '<strong>Worsted / Aran (9-10 WPI):</strong> Hilo grueso para jerséis de invierno. Agujas de 5.0mm a 5.5mm.',
136
- '<strong>Bulky / Chunky (7-8 WPI):</strong> Lanas de gran calibre para proyectos rápidos. Agujas de 6.0mm a 8.0mm.',
137
- '<strong>Super Bulky (5-6 WPI):</strong> Fibras gigantes para decoración o bufandas. Agujas de 9.0mm a 15.0mm.',
138
- ],
139
- },
140
- {
141
- type: 'tip',
142
- title: 'Técnica Profesional: El Ganchillo de Acero',
143
- html: '<p>Existe una familia de agujas para hilos de algodón mercerizado extremadamente finos. Son los <strong>Steel Hooks (Ganchillos de Acero)</strong>. Su numeración es específica e inversa: un ganchillo de acero #14 (0.6mm) es mucho más fino que uno de #00 (3.5mm). Nunca uses la tabla estándar para estos calibres.</p>',
144
- },
145
- {
146
- type: 'diagnostic',
147
- variant: 'success',
148
- title: 'Checklist para acertar con el calibre',
149
- icon: 'mdi:check-circle-outline',
150
- badge: 'Validación Técnica',
151
- html: '<p>Sigue estos pasos antes de iniciar un proyecto de larga duración:</p><ul><li><strong>Tensión Personal:</strong> Si eres tejedora apretada, sube 0.5mm. Si eres floja, baja 0.5mm.</li><li><strong>Material de Aguja:</strong> Bambú para hilos resbaladizos; Metal para lanas rugosas.</li><li><strong>Tipo de Fibra:</strong> El algodón no cede; la lana merino se expande con el bloqueo.</li><li><strong>Muestra de Tensión:</strong> Teje un cuadrado de 10x10cm y lávalo antes de medir el calibre final.</li></ul>',
152
- },
153
- {
154
- type: 'proscons',
155
- items: [
156
- {
157
- pro: 'El sistema Métrico es universal y evita errores de redondeo entre fabricantes.',
158
- con: 'Muchos patrones antiguos e históricos no incluyen medidas en milímetros.',
159
- },
160
- {
161
- pro: 'El sistema US facilita la memorización de tallas estándar para patrones americanos.',
162
- con: 'Las letras en ganchillo no siempre son consistentes entre marcas.',
163
- },
164
- {
165
- pro: 'El sistema WPI permite reciclar hilos sin etiqueta de forma técnica y profesional.',
166
- con: 'Requiere una medición manual muy meticulosa para no falsear el resultado.',
167
- },
168
- ],
169
- },
170
- {
171
- type: 'glossary',
172
- items: [
173
- { term: 'Gauge Swatch', definition: 'Cuadrado de muestra (10x10cm) tejido antes de iniciar el proyecto para validar el calibre real.' },
174
- { term: 'Hook Throat', definition: 'La garganta del ganchillo. Su profundidad determina cuánta carga de hilo puede manejar la aguja.' },
175
- { term: 'Block Testing', definition: 'Proceso de humedecer y estirar el tejido para que las fibras se relajen y revelen su tamaño final verdadero.' },
176
- ],
177
- },
178
- {
179
- type: 'summary',
180
- title: 'Factores Críticos para el Éxito de tu Proyecto Textil',
181
- items: [
182
- 'La aguja correcta dictará no solo el tamaño, sino la durabilidad de la prenda contra el rozamiento.',
183
- 'Usa nuestro conversor para validar patrones de revistas americanas o inglesas en segundos.',
184
- 'Si no encuentras el equivalente exacto, opta por el calibre superior o inferior basándote en tu muestra de tensión.',
185
- 'El ganchillo consume aprox. un 30% más de hilo que el punto con la misma aguja.',
186
- 'Limpia tus agujas de metal regularmente para mantener la velocidad de deslizamiento óptima.',
187
- ],
188
- },
189
- ],
190
- ui: {
191
- labelSystem: 'SISTEMA DE TRABAJO',
192
- modeKnitting: 'Punto',
193
- modeCrochet: 'Ganchillo',
194
- calibratorLabel: 'CALIBRADOR DE PRECISIÓN (ESCALA REAL)',
195
- calibratorDesc: 'Selecciona un diámetro para ver las equivalencias en tiempo real. Los orificios guardan una proporción matemática real respecto al milimetraje.',
196
- tagMetric: 'Métrico (mm)',
197
- tagUS: 'Sistema US',
198
- tagUK: 'Sistema UK',
199
- yarnLabel: 'GROSOR DE HILO IDEAL',
200
- wpiFormat: '{wpi} WPI (Vuelta por pulgada)',
201
- tableSectionLabel: 'CATÁLOGO TÉCNICO DE EQUIVALENCIAS',
202
- tableMetric: 'MÉTRICO',
203
- tableUS: 'US SIZE',
204
- tableUK: 'UK / IMPERIAL',
205
- tableYarn: 'CATEGORÍA HILO',
206
- },
207
- };
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import { bibliography } from '../bibliography';
4
+ import type { NeedleConverterUI } from '../ui';
5
+
6
+ const slug = 'conversor-agujas-punto';
7
+ const title = 'Conversor de Agujas de Punto y Ganchillo';
8
+ const description =
9
+ 'Convierte tamaños de agujas entre sistemas Métrico (mm), US y UK con recomendación de hilos y WPI.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: '¿Por qué hay diferentes sistemas de tallas de agujas?',
14
+ answer:
15
+ 'Históricamente, cada país desarrolló su propio sistema. El sistema métrico (mm) es el estándar internacional más preciso. El sistema US usa numeración progresiva (0-50), mientras que el sistema UK usa numeración inversa: cuanto más alto el número, más fina es la aguja.',
16
+ },
17
+ {
18
+ question: '¿Son iguales las tallas de ganchillo y punto en US?',
19
+ answer:
20
+ 'No exactamente. Los ganchillos en US suelen llevar una letra asociada (ej. H-8) y existen variaciones específicas en grosores pequeños. Además, los ganchillos de acero para hilos finos usan una numeración totalmente distinta.',
21
+ },
22
+ {
23
+ question: '¿Qué aguja debo elegir si mi patrón usa una medida sin equivalente exacto?',
24
+ answer:
25
+ 'Si un patrón pide una medida como 7.0mm y tu sistema solo llega de 6.5mm a 8.0mm, se recomienda hacer siempre una muestra de tensión (gauge). La diferencia de 0.5mm puede alterar significativamente el tamaño final de la prenda.',
26
+ },
27
+ {
28
+ question: '¿Qué es el WPI (Wraps Per Inch)?',
29
+ answer:
30
+ 'Es el número de vueltas de hilo que caben en una pulgada. Es el método más fiable para identificar el grosor de una lana sin etiqueta y determinar qué aguja es la más adecuada para tejerla.',
31
+ },
32
+ ];
33
+
34
+ const howToData = [
35
+ {
36
+ name: 'Selecciona el tipo de labor',
37
+ text: 'Elige entre punto (knitting) o ganchillo (crochet) para ver las equivalencias correctas en el sistema US.',
38
+ },
39
+ {
40
+ name: 'Elige el calibre en el selector visual',
41
+ text: 'Pulsa sobre el círculo que corresponde al tamaño de tu aguja. Los orificios guardan proporción matemática real con el milimetraje.',
42
+ },
43
+ {
44
+ name: 'Lee las equivalencias',
45
+ text: 'Consulta los resultados en tiempo real: milímetros, talla US y talla UK, junto con la categoría de hilo recomendada y su WPI.',
46
+ },
47
+ ];
48
+
49
+ const faqSchema: WithContext<FAQPage> = {
50
+ '@context': 'https://schema.org',
51
+ '@type': 'FAQPage',
52
+ mainEntity: faqData.map((item) => ({
53
+ '@type': 'Question',
54
+ name: item.question,
55
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
56
+ })),
57
+ };
58
+
59
+ const howToSchema: WithContext<HowTo> = {
60
+ '@context': 'https://schema.org',
61
+ '@type': 'HowTo',
62
+ name: title,
63
+ description,
64
+ step: howToData.map((step) => ({
65
+ '@type': 'HowToStep',
66
+ name: step.name,
67
+ text: step.text,
68
+ })),
69
+ };
70
+
71
+ const appSchema: WithContext<SoftwareApplication> = {
72
+ '@context': 'https://schema.org',
73
+ '@type': 'SoftwareApplication',
74
+ name: title,
75
+ description,
76
+ applicationCategory: 'UtilityApplication',
77
+ operatingSystem: 'All',
78
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
79
+ inLanguage: 'es',
80
+ };
81
+
82
+ export const content: ToolLocaleContent<NeedleConverterUI> = {
83
+ slug,
84
+ title,
85
+ description,
86
+ faq: faqData,
87
+ bibliography: bibliography,
88
+ howTo: howToData,
89
+ schemas: [faqSchema, howToSchema, appSchema],
90
+ seo: [
91
+ {
92
+ type: 'title',
93
+ text: 'Guía Técnica de Agujas de Punto y Ganchillo: Sistemas, Calibres y Equivalencias',
94
+ level: 2,
95
+ },
96
+ {
97
+ type: 'paragraph',
98
+ html: 'La globalización de los patrones digitales ha hecho imprescindible entender las diferencias entre el <strong>sistema métrico decimal</strong>, el <strong>estándar de Estados Unidos (US)</strong> y el <strong>sistema imperial del Reino Unido (UK)</strong>. Esta herramienta convierte entre los tres sistemas y ofrece recomendación de hilo mediante el método WPI.',
99
+ },
100
+ {
101
+ type: 'stats',
102
+ items: [
103
+ { value: 'Offline', label: 'Funciona sin Red', icon: 'mdi:wifi-off' },
104
+ { value: 'Triple', label: 'Sincronización Total', icon: 'mdi:sync' },
105
+ { value: 'WPI', label: 'Análisis de Hilo', icon: 'mdi:texture' },
106
+ ],
107
+ columns: 3,
108
+ },
109
+ {
110
+ type: 'title',
111
+ text: 'La Complejidad de los Sistemas Internacionales',
112
+ level: 3,
113
+ },
114
+ {
115
+ type: 'table',
116
+ headers: ['Sistema', 'Base de Cálculo', 'Región Predominante', 'Características Técnicas'],
117
+ rows: [
118
+ ['<strong>Métrico (mm)</strong>', 'Diámetro exacto en mm', 'Europa / Internacional', 'El estándar ISO más fiable. Incrementos constantes de 0.25mm o 0.50mm.'],
119
+ ['<strong>US (EE.UU.)</strong>', 'Numeración Progresiva', 'Norteamérica', 'Usa números del 0 al 50. En ganchillo, los números se asocian a letras (B-1, G-6).'],
120
+ ['<strong>UK (Imperial)</strong>', 'Numeración Inversa', 'Reino Unido / Australia', 'Basado en el calibre de trefilado. A mayor número, más fina es la aguja (14 es fino, 0 es grueso).'],
121
+ ],
122
+ },
123
+ {
124
+ type: 'title',
125
+ text: 'Identificación de Hilos mediante el Método WPI',
126
+ level: 3,
127
+ },
128
+ {
129
+ type: 'list',
130
+ items: [
131
+ '<strong>Lace / Encaje (18-22+ WPI):</strong> Hilos ultrafinos para encajes de seda o mohair. Agujas de 1.5mm a 2.5mm.',
132
+ '<strong>Fingering / Baby (14-16 WPI):</strong> El estándar para calcetines y ropa de bebé. Agujas óptimas de 2.75mm a 3.25mm.',
133
+ '<strong>Sport / Fine (12-14 WPI):</strong> Hilo de grosor medio-bajo, ideal para chaquetas ligeras. Agujas de 3.5mm a 3.75mm.',
134
+ '<strong>DK / Light Worsted (11-13 WPI):</strong> El grosor más versátil del mercado. Agujas de 4.0mm o 4.5mm.',
135
+ '<strong>Worsted / Aran (9-10 WPI):</strong> Hilo grueso para jerséis de invierno. Agujas de 5.0mm a 5.5mm.',
136
+ '<strong>Bulky / Chunky (7-8 WPI):</strong> Lanas de gran calibre para proyectos rápidos. Agujas de 6.0mm a 8.0mm.',
137
+ '<strong>Super Bulky (5-6 WPI):</strong> Fibras gigantes para decoración o bufandas. Agujas de 9.0mm a 15.0mm.',
138
+ ],
139
+ },
140
+ {
141
+ type: 'tip',
142
+ title: 'Técnica Profesional: El Ganchillo de Acero',
143
+ html: '<p>Existe una familia de agujas para hilos de algodón mercerizado extremadamente finos. Son los <strong>Steel Hooks (Ganchillos de Acero)</strong>. Su numeración es específica e inversa: un ganchillo de acero #14 (0.6mm) es mucho más fino que uno de #00 (3.5mm). Nunca uses la tabla estándar para estos calibres.</p>',
144
+ },
145
+ {
146
+ type: 'diagnostic',
147
+ variant: 'success',
148
+ title: 'Checklist para acertar con el calibre',
149
+ icon: 'mdi:check-circle-outline',
150
+ badge: 'Validación Técnica',
151
+ html: '<p>Sigue estos pasos antes de iniciar un proyecto de larga duración:</p><ul><li><strong>Tensión Personal:</strong> Si eres tejedora apretada, sube 0.5mm. Si eres floja, baja 0.5mm.</li><li><strong>Material de Aguja:</strong> Bambú para hilos resbaladizos; Metal para lanas rugosas.</li><li><strong>Tipo de Fibra:</strong> El algodón no cede; la lana merino se expande con el bloqueo.</li><li><strong>Muestra de Tensión:</strong> Teje un cuadrado de 10x10cm y lávalo antes de medir el calibre final.</li></ul>',
152
+ },
153
+ {
154
+ type: 'proscons',
155
+ items: [
156
+ {
157
+ pro: 'El sistema Métrico es universal y evita errores de redondeo entre fabricantes.',
158
+ con: 'Muchos patrones antiguos e históricos no incluyen medidas en milímetros.',
159
+ },
160
+ {
161
+ pro: 'El sistema US facilita la memorización de tallas estándar para patrones americanos.',
162
+ con: 'Las letras en ganchillo no siempre son consistentes entre marcas.',
163
+ },
164
+ {
165
+ pro: 'El sistema WPI permite reciclar hilos sin etiqueta de forma técnica y profesional.',
166
+ con: 'Requiere una medición manual muy meticulosa para no falsear el resultado.',
167
+ },
168
+ ],
169
+ },
170
+ {
171
+ type: 'glossary',
172
+ items: [
173
+ { term: 'Gauge Swatch', definition: 'Cuadrado de muestra (10x10cm) tejido antes de iniciar el proyecto para validar el calibre real.' },
174
+ { term: 'Hook Throat', definition: 'La garganta del ganchillo. Su profundidad determina cuánta carga de hilo puede manejar la aguja.' },
175
+ { term: 'Block Testing', definition: 'Proceso de humedecer y estirar el tejido para que las fibras se relajen y revelen su tamaño final verdadero.' },
176
+ ],
177
+ },
178
+ {
179
+ type: 'summary',
180
+ title: 'Factores Críticos para el Éxito de tu Proyecto Textil',
181
+ items: [
182
+ 'La aguja correcta dictará no solo el tamaño, sino la durabilidad de la prenda contra el rozamiento.',
183
+ 'Usa nuestro conversor para validar patrones de revistas americanas o inglesas en segundos.',
184
+ 'Si no encuentras el equivalente exacto, opta por el calibre superior o inferior basándote en tu muestra de tensión.',
185
+ 'El ganchillo consume aprox. un 30% más de hilo que el punto con la misma aguja.',
186
+ 'Limpia tus agujas de metal regularmente para mantener la velocidad de deslizamiento óptima.',
187
+ ],
188
+ },
189
+ ],
190
+ ui: {
191
+ labelSystem: 'SISTEMA DE TRABAJO',
192
+ modeKnitting: 'Punto',
193
+ modeCrochet: 'Ganchillo',
194
+ calibratorLabel: 'CALIBRADOR DE PRECISIÓN (ESCALA REAL)',
195
+ calibratorDesc: 'Selecciona un diámetro para ver las equivalencias en tiempo real. Los orificios guardan una proporción matemática real respecto al milimetraje.',
196
+ tagMetric: 'Métrico (mm)',
197
+ tagUS: 'Sistema US',
198
+ tagUK: 'Sistema UK',
199
+ yarnLabel: 'GROSOR DE HILO IDEAL',
200
+ wpiFormat: '{wpi} WPI (Vuelta por pulgada)',
201
+ tableSectionLabel: 'CATÁLOGO TÉCNICO DE EQUIVALENCIAS',
202
+ tableMetric: 'MÉTRICO',
203
+ tableUS: 'US SIZE',
204
+ tableUK: 'UK / IMPERIAL',
205
+ tableYarn: 'CATEGORÍA HILO',
206
+ },
207
+ };