@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,286 +1,286 @@
1
- import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import { bibliography } from '../bibliography';
4
- import type { StainChemistryUI } from '../ui';
5
-
6
- const slug = 'protocolo-quimico-manchas-texteis';
7
- const title = 'Protocolo Químico de Manchas Têxteis';
8
- const description =
9
- 'Protocolos científicos para eliminar manchas segundo o tipo de fibra e a natureza química da mancha. Percarbonato, enzimas, solventes: o método correto para cada caso.';
10
-
11
- const faqData = [
12
- {
13
- question: 'Posso usar lixívia em vez de percarbonato?',
14
- answer:
15
- 'A lixívia (hipoclorito de sódio) é altamente corrosiva. Degrada as fibras tornando-as amareladas e quebradiças. O percarbonato branqueia por oxigénio activo, respeitando a estrutura molecular natural.',
16
- },
17
- {
18
- question: 'Porque é que o vinagre ajuda com os cheiros?',
19
- answer:
20
- 'Os odores corporais costumam ser alcalinos. O ácido acético do vinagre neutraliza-os, transformando-os em sais inodoros que são eliminados completamente no enxaguamento.',
21
- },
22
- {
23
- question: 'Devo usar sempre água fria para o sangue?',
24
- answer:
25
- 'Sim. O calor coagula as proteínas do sangue, fixando-o à fibra de forma permanente. A água fria mantém a mancha em estado solúvel e permite que os agentes enzimáticos actuem eficazmente.',
26
- },
27
- {
28
- question: 'O que acontece se eu aplicar acetona numa peça de acetato?',
29
- answer:
30
- 'A acetona dissolve o triacetato e o acetato. As fibras de acetato são celulose esterificada com ácido acético e são completamente solúveis em acetona. O resultado seria a destruição irreversível do tecido.',
31
- },
32
- ];
33
-
34
- const howToData = [
35
- {
36
- name: 'Identificar o tipo de fibra',
37
- text: 'Consulte a etiqueta interior da peça para saber se é fibra natural, sintética ou nobre (lã, seda, cashmere).',
38
- },
39
- {
40
- name: 'Seleccionar a fibra na ferramenta',
41
- text: 'Escolha o material correspondente no primeiro selector.',
42
- },
43
- {
44
- name: 'Seleccionar o tipo de mancha',
45
- text: 'Indique se a mancha é orgânica (vinho, fruta), proteica (sangue), gordura ou sintética (tinta).',
46
- },
47
- {
48
- name: 'Aplicar o protocolo indicado',
49
- text: 'Siga as instruções de agente, temperatura e método. Preste especial atenção às advertências de precaução crítica.',
50
- },
51
- ];
52
-
53
- const faqSchema: WithContext<FAQPage> = {
54
- '@context': 'https://schema.org',
55
- '@type': 'FAQPage',
56
- mainEntity: faqData.map((item) => ({
57
- '@type': 'Question',
58
- name: item.question,
59
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
60
- })),
61
- };
62
-
63
- const howToSchema: WithContext<HowTo> = {
64
- '@context': 'https://schema.org',
65
- '@type': 'HowTo',
66
- name: title,
67
- description,
68
- step: howToData.map((step) => ({
69
- '@type': 'HowToStep',
70
- name: step.name,
71
- text: step.text,
72
- })),
73
- };
74
-
75
- const appSchema: WithContext<SoftwareApplication> = {
76
- '@context': 'https://schema.org',
77
- '@type': 'SoftwareApplication',
78
- name: title,
79
- description,
80
- applicationCategory: 'UtilityApplication',
81
- operatingSystem: 'All',
82
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
83
- inLanguage: 'pt',
84
- };
85
-
86
- export const content: ToolLocaleContent<StainChemistryUI> = {
87
- slug,
88
- title,
89
- description,
90
- ui: {
91
- toolTitle: 'Protocolo Químico de Manchas',
92
- fiberLabel: '1. Fibra',
93
- selectFiberPlaceholder: 'Seleccione o tecido...',
94
- stainLabel: '2. Mancha',
95
- selectStainPlaceholder: 'O que aconteceu?',
96
- molecularDiagnosis: 'Diagnóstico Molecular',
97
- requiredAgent: 'Agente Requerido',
98
- thermalCondition: 'Condição Térmica',
99
- temperature: 'Temperatura',
100
- cleaningInstructions: 'Instruções de Limpeza',
101
- criticalWarning: 'Precaução Crítica',
102
- criticalWarningLabel: 'PRECAUÇÃO',
103
- technicalNote: 'Nota técnica',
104
- technicalNoteText:
105
- 'Valide sempre a solidez do tingimento numa zona não visível antes de proceder com o tratamento químico completo.',
106
- systemDiagnosis: 'Sistema de Diagnóstico',
107
- systemDiagnosisDesc:
108
- 'Configure os parâmetros têxteis para obter o guia de limpeza',
109
- delicatePercarbonateWarning:
110
- 'RISCO DE DEGRADAÇÃO MOLECULAR. Fibras animais altamente sensíveis ao percarbonato. Realizar teste em zona não visível.',
111
- fiberData: {
112
- cotton: { name: 'Algodão', family: 'natural', isNoble: false },
113
- linen: { name: 'Linho', family: 'natural', isNoble: true },
114
- wool: { name: 'Lã / Merino', family: 'natural', isNoble: true },
115
- silk: { name: 'Seda', family: 'natural', isNoble: true },
116
- cashmere: { name: 'Cashmere', family: 'natural', isNoble: true },
117
- mohair: { name: 'Mohair', family: 'natural', isNoble: true },
118
- angora: { name: 'Angora', family: 'natural', isNoble: true },
119
- alpaca: { name: 'Alpaca', family: 'natural', isNoble: true },
120
- polyester: { name: 'Poliéster', family: 'synthetic', isNoble: false },
121
- viscose: { name: 'Viscose / Rayon', family: 'artificial', isNoble: false },
122
- nylon: { name: 'Nailon (Poliamida)', family: 'synthetic', isNoble: false },
123
- acrylic: { name: 'Acrílico', family: 'synthetic', isNoble: false },
124
- },
125
- agents: {
126
- percarbonate: {
127
- name: 'Percarbonato de Sódio',
128
- description: 'Branqueador oxigenado biodegradável. Liberta oxigénio activo ao dissolver-se.',
129
- warning: 'Evitar em fibras de proteína (seda, lã) em concentrações elevadas.',
130
- },
131
- isopropyl: {
132
- name: 'Álcool Isopropílico',
133
- description: 'Solvente eficaz para pigmentos e gorduras ligeiras.',
134
- warning: 'Pode danificar o brilho em sedas e dissolver alguns acrílicos se não for diluído.',
135
- },
136
- acetone: {
137
- name: 'Acetona',
138
- description: 'Solvente potente para lacas e colas.',
139
- warning: 'PROIBIDO em acetatos e triacetatos (dissolve a fibra).',
140
- },
141
- enzyme: {
142
- name: 'Detergente Enzimático',
143
- description: 'Contém proteases que rompem manchas biológicas.',
144
- warning: 'Uso com precaução em lã e seda (são proteínas).',
145
- },
146
- vinegar: {
147
- name: 'Vinagre Branco',
148
- description: 'Ácido acético suave para neutralizar odores e fixar cores.',
149
- },
150
- },
151
- stains: [
152
- {
153
- id: 'wine',
154
- name: 'Vinho Tinto / Fruta',
155
- protocols: {
156
- natural: { agentId: 'percarbonate', temperature: '40-60°C', method: 'Demolha prolongada' },
157
- synthetic: { agentId: 'percarbonate', temperature: '40°C', method: 'Pasta directa' },
158
- delicate: {
159
- agentId: 'vinegar',
160
- temperature: 'Fria',
161
- method: 'Enxaguamento com água com gás e vinagre',
162
- notes: 'Não esfregar',
163
- },
164
- },
165
- },
166
- {
167
- id: 'blood',
168
- name: 'Sangue',
169
- protocols: {
170
- natural: {
171
- agentId: 'enzyme',
172
- temperature: 'Fria',
173
- method: 'Demolha em água salgada e depois enzima',
174
- },
175
- synthetic: { agentId: 'enzyme', temperature: 'Fria', method: 'Aplicação directa' },
176
- delicate: {
177
- agentId: 'vinegar',
178
- temperature: 'Fria',
179
- method: 'Enxaguamento imediato, evitar calor',
180
- },
181
- },
182
- },
183
- {
184
- id: 'grease',
185
- name: 'Gordura / Óleo',
186
- protocols: {
187
- natural: {
188
- agentId: 'isopropyl',
189
- temperature: '40°C',
190
- method: 'Dissolver com álcool e depois lavar',
191
- },
192
- synthetic: {
193
- agentId: 'isopropyl',
194
- temperature: '40°C',
195
- method: 'Colocar papel absorvente por baixo',
196
- },
197
- delicate: { agentId: 'isopropyl', temperature: 'Fria', method: 'Diluir álcool a 50%' },
198
- },
199
- },
200
- {
201
- id: 'ink',
202
- name: 'Tinta / Marcador',
203
- protocols: {
204
- natural: {
205
- agentId: 'isopropyl',
206
- temperature: 'Ambiente',
207
- method: 'Esponjar de fora para dentro',
208
- },
209
- synthetic: {
210
- agentId: 'isopropyl',
211
- temperature: 'Ambiente',
212
- method: 'Precaução com a dispersão',
213
- },
214
- delicate: {
215
- agentId: 'isopropyl',
216
- temperature: 'Fria',
217
- method: 'Diluir e testar em zona oculta',
218
- },
219
- },
220
- },
221
- ],
222
- },
223
- seo: [
224
- {
225
- type: 'title',
226
- text: 'A Química por Trás da Limpeza Têxtil',
227
- level: 2,
228
- },
229
- {
230
- type: 'paragraph',
231
- html: 'Nem todas as manchas são iguais, e nem todas as fibras reagem da mesma forma aos mesmos agentes químicos. A diferença entre salvar uma peça e destruí-la está em entender a natureza molecular da mancha e a estrutura da fibra.',
232
- },
233
- {
234
- type: 'card',
235
- title: '01: Oxidação Controlada',
236
- icon: 'mdi:atom',
237
- html: 'O <strong>percarbonato de sódio</strong> liberta oxigénio activo que quebra as duplas ligações dos cromóforos (as moléculas responsáveis pela cor da mancha), tornando-as incolores e solúveis em água. É o método mais eficaz para manchas orgânicas.',
238
- },
239
- {
240
- type: 'card',
241
- title: '02: Solubilização por Solventes',
242
- icon: 'mdi:flask-outline',
243
- html: 'Manchas como o óleo ou a tinta não são solúveis em água. Solventes como o <strong>álcool isopropílico</strong> ou a <strong>acetona</strong> reduzem a tensão superficial e atraem as moléculas não polares da mancha, permitindo que se transfiram para um meio de suporte.',
244
- },
245
- {
246
- type: 'title',
247
- text: 'Soberania sobre as Fibras: Porque é que o tipo importa',
248
- level: 2,
249
- },
250
- {
251
- type: 'paragraph',
252
- html: 'Nem todas as fibras "comem" da mesma forma. A <strong>seda e a lã</strong> são proteínas (fibroína e queratina). Se aplicar um detergente enzimático desenhado para "comer proteínas" (manchas de sangue ou ovo) sem controlo, o detergente começará a degradar a própria fibra, destruindo o brilho e a estrutura do tecido.',
253
- },
254
- {
255
- type: 'title',
256
- text: 'O Perigo do Calor',
257
- level: 2,
258
- },
259
- {
260
- type: 'paragraph',
261
- html: 'Um dos erros mais comuns é usar água quente para "amolecer" uma mancha de sangue. Quimicamente, o calor produz a <strong>coagulação das proteínas</strong> da mancha, fixando-as permanentemente à estrutura porosa da fibra. As manchas de proteínas devem tratar-se sempre com água fria.',
262
- },
263
- {
264
- type: 'tip',
265
- title: 'Protocolo de Emergência: Vinho Tinto',
266
- html: '<strong>A. Absorção passiva:</strong> Tocar com papel absorvente, nunca esfregar para evitar a expansão mecânica.<br><strong>B. Neutralização osmótica:</strong> Cobrir com sal fino para atrair o líquido para o exterior do núcleo da fibra.<br><strong>C. Acção química:</strong> Aplicar uma pasta de percarbonato e água a 40°C se a fibra for resistente ao calor.',
267
- },
268
- {
269
- type: 'title',
270
- text: 'Solventes Específicos e Precauções',
271
- level: 2,
272
- },
273
- {
274
- type: 'paragraph',
275
- html: 'A <strong>acetona</strong> é um solvente excepcional para vernizes de unhas ou colas, mas é destrutiva para o <strong>acetato</strong>. Ao serem fibras derivadas da celulose mas tratadas quimicamente, a acetona literalmente dissolve o tecido.',
276
- },
277
- {
278
- type: 'paragraph',
279
- html: 'O <strong>álcool isopropílico</strong> é mais estável, mas em sintéticos tingidos pode arrastar o próprio pigmento. Recomendamos sempre o "teste da bainha" numa zona não visível antes do tratamento principal.',
280
- },
281
- ],
282
- faq: faqData,
283
- bibliography: bibliography,
284
- howTo: howToData,
285
- schemas: [faqSchema, howToSchema, appSchema],
286
- };
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import { bibliography } from '../bibliography';
4
+ import type { StainChemistryUI } from '../ui';
5
+
6
+ const slug = 'protocolo-quimico-manchas-texteis';
7
+ const title = 'Protocolo Químico de Manchas Têxteis';
8
+ const description =
9
+ 'Protocolos científicos para eliminar manchas segundo o tipo de fibra e a natureza química da mancha. Percarbonato, enzimas, solventes: o método correto para cada caso.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'Posso usar lixívia em vez de percarbonato?',
14
+ answer:
15
+ 'A lixívia (hipoclorito de sódio) é altamente corrosiva. Degrada as fibras tornando-as amareladas e quebradiças. O percarbonato branqueia por oxigénio activo, respeitando a estrutura molecular natural.',
16
+ },
17
+ {
18
+ question: 'Porque é que o vinagre ajuda com os cheiros?',
19
+ answer:
20
+ 'Os odores corporais costumam ser alcalinos. O ácido acético do vinagre neutraliza-os, transformando-os em sais inodoros que são eliminados completamente no enxaguamento.',
21
+ },
22
+ {
23
+ question: 'Devo usar sempre água fria para o sangue?',
24
+ answer:
25
+ 'Sim. O calor coagula as proteínas do sangue, fixando-o à fibra de forma permanente. A água fria mantém a mancha em estado solúvel e permite que os agentes enzimáticos actuem eficazmente.',
26
+ },
27
+ {
28
+ question: 'O que acontece se eu aplicar acetona numa peça de acetato?',
29
+ answer:
30
+ 'A acetona dissolve o triacetato e o acetato. As fibras de acetato são celulose esterificada com ácido acético e são completamente solúveis em acetona. O resultado seria a destruição irreversível do tecido.',
31
+ },
32
+ ];
33
+
34
+ const howToData = [
35
+ {
36
+ name: 'Identificar o tipo de fibra',
37
+ text: 'Consulte a etiqueta interior da peça para saber se é fibra natural, sintética ou nobre (lã, seda, cashmere).',
38
+ },
39
+ {
40
+ name: 'Seleccionar a fibra na ferramenta',
41
+ text: 'Escolha o material correspondente no primeiro selector.',
42
+ },
43
+ {
44
+ name: 'Seleccionar o tipo de mancha',
45
+ text: 'Indique se a mancha é orgânica (vinho, fruta), proteica (sangue), gordura ou sintética (tinta).',
46
+ },
47
+ {
48
+ name: 'Aplicar o protocolo indicado',
49
+ text: 'Siga as instruções de agente, temperatura e método. Preste especial atenção às advertências de precaução crítica.',
50
+ },
51
+ ];
52
+
53
+ const faqSchema: WithContext<FAQPage> = {
54
+ '@context': 'https://schema.org',
55
+ '@type': 'FAQPage',
56
+ mainEntity: faqData.map((item) => ({
57
+ '@type': 'Question',
58
+ name: item.question,
59
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
60
+ })),
61
+ };
62
+
63
+ const howToSchema: WithContext<HowTo> = {
64
+ '@context': 'https://schema.org',
65
+ '@type': 'HowTo',
66
+ name: title,
67
+ description,
68
+ step: howToData.map((step) => ({
69
+ '@type': 'HowToStep',
70
+ name: step.name,
71
+ text: step.text,
72
+ })),
73
+ };
74
+
75
+ const appSchema: WithContext<SoftwareApplication> = {
76
+ '@context': 'https://schema.org',
77
+ '@type': 'SoftwareApplication',
78
+ name: title,
79
+ description,
80
+ applicationCategory: 'UtilityApplication',
81
+ operatingSystem: 'All',
82
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
83
+ inLanguage: 'pt',
84
+ };
85
+
86
+ export const content: ToolLocaleContent<StainChemistryUI> = {
87
+ slug,
88
+ title,
89
+ description,
90
+ ui: {
91
+ toolTitle: 'Protocolo Químico de Manchas',
92
+ fiberLabel: '1. Fibra',
93
+ selectFiberPlaceholder: 'Seleccione o tecido...',
94
+ stainLabel: '2. Mancha',
95
+ selectStainPlaceholder: 'O que aconteceu?',
96
+ molecularDiagnosis: 'Diagnóstico Molecular',
97
+ requiredAgent: 'Agente Requerido',
98
+ thermalCondition: 'Condição Térmica',
99
+ temperature: 'Temperatura',
100
+ cleaningInstructions: 'Instruções de Limpeza',
101
+ criticalWarning: 'Precaução Crítica',
102
+ criticalWarningLabel: 'PRECAUÇÃO',
103
+ technicalNote: 'Nota técnica',
104
+ technicalNoteText:
105
+ 'Valide sempre a solidez do tingimento numa zona não visível antes de proceder com o tratamento químico completo.',
106
+ systemDiagnosis: 'Sistema de Diagnóstico',
107
+ systemDiagnosisDesc:
108
+ 'Configure os parâmetros têxteis para obter o guia de limpeza',
109
+ delicatePercarbonateWarning:
110
+ 'RISCO DE DEGRADAÇÃO MOLECULAR. Fibras animais altamente sensíveis ao percarbonato. Realizar teste em zona não visível.',
111
+ fiberData: {
112
+ cotton: { name: 'Algodão', family: 'natural', isNoble: false },
113
+ linen: { name: 'Linho', family: 'natural', isNoble: true },
114
+ wool: { name: 'Lã / Merino', family: 'natural', isNoble: true },
115
+ silk: { name: 'Seda', family: 'natural', isNoble: true },
116
+ cashmere: { name: 'Cashmere', family: 'natural', isNoble: true },
117
+ mohair: { name: 'Mohair', family: 'natural', isNoble: true },
118
+ angora: { name: 'Angora', family: 'natural', isNoble: true },
119
+ alpaca: { name: 'Alpaca', family: 'natural', isNoble: true },
120
+ polyester: { name: 'Poliéster', family: 'synthetic', isNoble: false },
121
+ viscose: { name: 'Viscose / Rayon', family: 'artificial', isNoble: false },
122
+ nylon: { name: 'Nailon (Poliamida)', family: 'synthetic', isNoble: false },
123
+ acrylic: { name: 'Acrílico', family: 'synthetic', isNoble: false },
124
+ },
125
+ agents: {
126
+ percarbonate: {
127
+ name: 'Percarbonato de Sódio',
128
+ description: 'Branqueador oxigenado biodegradável. Liberta oxigénio activo ao dissolver-se.',
129
+ warning: 'Evitar em fibras de proteína (seda, lã) em concentrações elevadas.',
130
+ },
131
+ isopropyl: {
132
+ name: 'Álcool Isopropílico',
133
+ description: 'Solvente eficaz para pigmentos e gorduras ligeiras.',
134
+ warning: 'Pode danificar o brilho em sedas e dissolver alguns acrílicos se não for diluído.',
135
+ },
136
+ acetone: {
137
+ name: 'Acetona',
138
+ description: 'Solvente potente para lacas e colas.',
139
+ warning: 'PROIBIDO em acetatos e triacetatos (dissolve a fibra).',
140
+ },
141
+ enzyme: {
142
+ name: 'Detergente Enzimático',
143
+ description: 'Contém proteases que rompem manchas biológicas.',
144
+ warning: 'Uso com precaução em lã e seda (são proteínas).',
145
+ },
146
+ vinegar: {
147
+ name: 'Vinagre Branco',
148
+ description: 'Ácido acético suave para neutralizar odores e fixar cores.',
149
+ },
150
+ },
151
+ stains: [
152
+ {
153
+ id: 'wine',
154
+ name: 'Vinho Tinto / Fruta',
155
+ protocols: {
156
+ natural: { agentId: 'percarbonate', temperature: '40-60°C', method: 'Demolha prolongada' },
157
+ synthetic: { agentId: 'percarbonate', temperature: '40°C', method: 'Pasta directa' },
158
+ delicate: {
159
+ agentId: 'vinegar',
160
+ temperature: 'Fria',
161
+ method: 'Enxaguamento com água com gás e vinagre',
162
+ notes: 'Não esfregar',
163
+ },
164
+ },
165
+ },
166
+ {
167
+ id: 'blood',
168
+ name: 'Sangue',
169
+ protocols: {
170
+ natural: {
171
+ agentId: 'enzyme',
172
+ temperature: 'Fria',
173
+ method: 'Demolha em água salgada e depois enzima',
174
+ },
175
+ synthetic: { agentId: 'enzyme', temperature: 'Fria', method: 'Aplicação directa' },
176
+ delicate: {
177
+ agentId: 'vinegar',
178
+ temperature: 'Fria',
179
+ method: 'Enxaguamento imediato, evitar calor',
180
+ },
181
+ },
182
+ },
183
+ {
184
+ id: 'grease',
185
+ name: 'Gordura / Óleo',
186
+ protocols: {
187
+ natural: {
188
+ agentId: 'isopropyl',
189
+ temperature: '40°C',
190
+ method: 'Dissolver com álcool e depois lavar',
191
+ },
192
+ synthetic: {
193
+ agentId: 'isopropyl',
194
+ temperature: '40°C',
195
+ method: 'Colocar papel absorvente por baixo',
196
+ },
197
+ delicate: { agentId: 'isopropyl', temperature: 'Fria', method: 'Diluir álcool a 50%' },
198
+ },
199
+ },
200
+ {
201
+ id: 'ink',
202
+ name: 'Tinta / Marcador',
203
+ protocols: {
204
+ natural: {
205
+ agentId: 'isopropyl',
206
+ temperature: 'Ambiente',
207
+ method: 'Esponjar de fora para dentro',
208
+ },
209
+ synthetic: {
210
+ agentId: 'isopropyl',
211
+ temperature: 'Ambiente',
212
+ method: 'Precaução com a dispersão',
213
+ },
214
+ delicate: {
215
+ agentId: 'isopropyl',
216
+ temperature: 'Fria',
217
+ method: 'Diluir e testar em zona oculta',
218
+ },
219
+ },
220
+ },
221
+ ],
222
+ },
223
+ seo: [
224
+ {
225
+ type: 'title',
226
+ text: 'A Química por Trás da Limpeza Têxtil',
227
+ level: 2,
228
+ },
229
+ {
230
+ type: 'paragraph',
231
+ html: 'Nem todas as manchas são iguais, e nem todas as fibras reagem da mesma forma aos mesmos agentes químicos. A diferença entre salvar uma peça e destruí-la está em entender a natureza molecular da mancha e a estrutura da fibra.',
232
+ },
233
+ {
234
+ type: 'card',
235
+ title: '01: Oxidação Controlada',
236
+ icon: 'mdi:atom',
237
+ html: 'O <strong>percarbonato de sódio</strong> liberta oxigénio activo que quebra as duplas ligações dos cromóforos (as moléculas responsáveis pela cor da mancha), tornando-as incolores e solúveis em água. É o método mais eficaz para manchas orgânicas.',
238
+ },
239
+ {
240
+ type: 'card',
241
+ title: '02: Solubilização por Solventes',
242
+ icon: 'mdi:flask-outline',
243
+ html: 'Manchas como o óleo ou a tinta não são solúveis em água. Solventes como o <strong>álcool isopropílico</strong> ou a <strong>acetona</strong> reduzem a tensão superficial e atraem as moléculas não polares da mancha, permitindo que se transfiram para um meio de suporte.',
244
+ },
245
+ {
246
+ type: 'title',
247
+ text: 'Soberania sobre as Fibras: Porque é que o tipo importa',
248
+ level: 2,
249
+ },
250
+ {
251
+ type: 'paragraph',
252
+ html: 'Nem todas as fibras "comem" da mesma forma. A <strong>seda e a lã</strong> são proteínas (fibroína e queratina). Se aplicar um detergente enzimático desenhado para "comer proteínas" (manchas de sangue ou ovo) sem controlo, o detergente começará a degradar a própria fibra, destruindo o brilho e a estrutura do tecido.',
253
+ },
254
+ {
255
+ type: 'title',
256
+ text: 'O Perigo do Calor',
257
+ level: 2,
258
+ },
259
+ {
260
+ type: 'paragraph',
261
+ html: 'Um dos erros mais comuns é usar água quente para "amolecer" uma mancha de sangue. Quimicamente, o calor produz a <strong>coagulação das proteínas</strong> da mancha, fixando-as permanentemente à estrutura porosa da fibra. As manchas de proteínas devem tratar-se sempre com água fria.',
262
+ },
263
+ {
264
+ type: 'tip',
265
+ title: 'Protocolo de Emergência: Vinho Tinto',
266
+ html: '<strong>A. Absorção passiva:</strong> Tocar com papel absorvente, nunca esfregar para evitar a expansão mecânica.<br><strong>B. Neutralização osmótica:</strong> Cobrir com sal fino para atrair o líquido para o exterior do núcleo da fibra.<br><strong>C. Acção química:</strong> Aplicar uma pasta de percarbonato e água a 40°C se a fibra for resistente ao calor.',
267
+ },
268
+ {
269
+ type: 'title',
270
+ text: 'Solventes Específicos e Precauções',
271
+ level: 2,
272
+ },
273
+ {
274
+ type: 'paragraph',
275
+ html: 'A <strong>acetona</strong> é um solvente excepcional para vernizes de unhas ou colas, mas é destrutiva para o <strong>acetato</strong>. Ao serem fibras derivadas da celulose mas tratadas quimicamente, a acetona literalmente dissolve o tecido.',
276
+ },
277
+ {
278
+ type: 'paragraph',
279
+ html: 'O <strong>álcool isopropílico</strong> é mais estável, mas em sintéticos tingidos pode arrastar o próprio pigmento. Recomendamos sempre o "teste da bainha" numa zona não visível antes do tratamento principal.',
280
+ },
281
+ ],
282
+ faq: faqData,
283
+ bibliography: bibliography,
284
+ howTo: howToData,
285
+ schemas: [faqSchema, howToSchema, appSchema],
286
+ };