@jjlmoya/utils-babies 1.5.0 → 1.7.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 (115) hide show
  1. package/package.json +67 -66
  2. package/src/category/i18n/de.ts +48 -0
  3. package/src/category/i18n/en.ts +10 -10
  4. package/src/category/i18n/fr.ts +10 -10
  5. package/src/category/i18n/id.ts +48 -0
  6. package/src/category/i18n/it.ts +48 -0
  7. package/src/category/i18n/ja.ts +48 -0
  8. package/src/category/i18n/ko.ts +48 -0
  9. package/src/category/i18n/nl.ts +48 -0
  10. package/src/category/i18n/pl.ts +48 -0
  11. package/src/category/i18n/pt.ts +48 -0
  12. package/src/category/i18n/ru.ts +48 -0
  13. package/src/category/i18n/sv.ts +48 -0
  14. package/src/category/i18n/tr.ts +48 -0
  15. package/src/category/i18n/zh.ts +48 -0
  16. package/src/category/index.ts +13 -1
  17. package/src/tests/faq_count.test.ts +1 -1
  18. package/src/tests/i18n_coverage.test.ts +36 -0
  19. package/src/tests/locale_completeness.test.ts +1 -1
  20. package/src/tests/schemas_fulfillment.test.ts +23 -0
  21. package/src/tests/seo_length.test.ts +1 -2
  22. package/src/tests/title_quality.test.ts +55 -0
  23. package/src/tool/baby-feeding-calculator/component.astro +40 -40
  24. package/src/tool/baby-feeding-calculator/i18n/de.ts +162 -0
  25. package/src/tool/baby-feeding-calculator/i18n/id.ts +162 -0
  26. package/src/tool/baby-feeding-calculator/i18n/it.ts +162 -0
  27. package/src/tool/baby-feeding-calculator/i18n/ja.ts +162 -0
  28. package/src/tool/baby-feeding-calculator/i18n/ko.ts +162 -0
  29. package/src/tool/baby-feeding-calculator/i18n/nl.ts +162 -0
  30. package/src/tool/baby-feeding-calculator/i18n/pl.ts +162 -0
  31. package/src/tool/baby-feeding-calculator/i18n/pt.ts +162 -0
  32. package/src/tool/baby-feeding-calculator/i18n/ru.ts +162 -0
  33. package/src/tool/baby-feeding-calculator/i18n/sv.ts +162 -0
  34. package/src/tool/baby-feeding-calculator/i18n/tr.ts +162 -0
  35. package/src/tool/baby-feeding-calculator/i18n/zh.ts +162 -0
  36. package/src/tool/baby-feeding-calculator/index.ts +12 -0
  37. package/src/tool/baby-percentile-calculator/component.astro +38 -38
  38. package/src/tool/baby-percentile-calculator/i18n/de.ts +245 -0
  39. package/src/tool/baby-percentile-calculator/i18n/id.ts +245 -0
  40. package/src/tool/baby-percentile-calculator/i18n/it.ts +245 -0
  41. package/src/tool/baby-percentile-calculator/i18n/ja.ts +245 -0
  42. package/src/tool/baby-percentile-calculator/i18n/ko.ts +245 -0
  43. package/src/tool/baby-percentile-calculator/i18n/nl.ts +245 -0
  44. package/src/tool/baby-percentile-calculator/i18n/pl.ts +245 -0
  45. package/src/tool/baby-percentile-calculator/i18n/pt.ts +245 -0
  46. package/src/tool/baby-percentile-calculator/i18n/ru.ts +245 -0
  47. package/src/tool/baby-percentile-calculator/i18n/sv.ts +245 -0
  48. package/src/tool/baby-percentile-calculator/i18n/tr.ts +245 -0
  49. package/src/tool/baby-percentile-calculator/i18n/zh.ts +245 -0
  50. package/src/tool/baby-percentile-calculator/index.ts +12 -0
  51. package/src/tool/baby-size-converter/component.astro +42 -42
  52. package/src/tool/baby-size-converter/i18n/de.ts +203 -0
  53. package/src/tool/baby-size-converter/i18n/fr.ts +1 -1
  54. package/src/tool/baby-size-converter/i18n/id.ts +203 -0
  55. package/src/tool/baby-size-converter/i18n/it.ts +203 -0
  56. package/src/tool/baby-size-converter/i18n/ja.ts +203 -0
  57. package/src/tool/baby-size-converter/i18n/ko.ts +203 -0
  58. package/src/tool/baby-size-converter/i18n/nl.ts +203 -0
  59. package/src/tool/baby-size-converter/i18n/pl.ts +203 -0
  60. package/src/tool/baby-size-converter/i18n/pt.ts +203 -0
  61. package/src/tool/baby-size-converter/i18n/ru.ts +203 -0
  62. package/src/tool/baby-size-converter/i18n/sv.ts +203 -0
  63. package/src/tool/baby-size-converter/i18n/tr.ts +203 -0
  64. package/src/tool/baby-size-converter/i18n/zh.ts +203 -0
  65. package/src/tool/baby-size-converter/index.ts +12 -0
  66. package/src/tool/fertile-days-estimator/component.astro +14 -9
  67. package/src/tool/fertile-days-estimator/i18n/de.ts +262 -0
  68. package/src/tool/fertile-days-estimator/i18n/id.ts +262 -0
  69. package/src/tool/fertile-days-estimator/i18n/it.ts +262 -0
  70. package/src/tool/fertile-days-estimator/i18n/ja.ts +262 -0
  71. package/src/tool/fertile-days-estimator/i18n/ko.ts +262 -0
  72. package/src/tool/fertile-days-estimator/i18n/nl.ts +262 -0
  73. package/src/tool/fertile-days-estimator/i18n/pl.ts +262 -0
  74. package/src/tool/fertile-days-estimator/i18n/pt.ts +262 -0
  75. package/src/tool/fertile-days-estimator/i18n/ru.ts +262 -0
  76. package/src/tool/fertile-days-estimator/i18n/sv.ts +262 -0
  77. package/src/tool/fertile-days-estimator/i18n/tr.ts +262 -0
  78. package/src/tool/fertile-days-estimator/i18n/zh.ts +262 -0
  79. package/src/tool/fertile-days-estimator/index.ts +12 -0
  80. package/src/tool/pregnancy-calculator/component.astro +55 -48
  81. package/src/tool/pregnancy-calculator/i18n/de.ts +467 -0
  82. package/src/tool/pregnancy-calculator/i18n/en.ts +140 -0
  83. package/src/tool/pregnancy-calculator/i18n/es.ts +143 -3
  84. package/src/tool/pregnancy-calculator/i18n/fr.ts +143 -3
  85. package/src/tool/pregnancy-calculator/i18n/id.ts +467 -0
  86. package/src/tool/pregnancy-calculator/i18n/it.ts +467 -0
  87. package/src/tool/pregnancy-calculator/i18n/ja.ts +467 -0
  88. package/src/tool/pregnancy-calculator/i18n/ko.ts +467 -0
  89. package/src/tool/pregnancy-calculator/i18n/nl.ts +467 -0
  90. package/src/tool/pregnancy-calculator/i18n/pl.ts +467 -0
  91. package/src/tool/pregnancy-calculator/i18n/pt.ts +467 -0
  92. package/src/tool/pregnancy-calculator/i18n/ru.ts +467 -0
  93. package/src/tool/pregnancy-calculator/i18n/sv.ts +467 -0
  94. package/src/tool/pregnancy-calculator/i18n/tr.ts +467 -0
  95. package/src/tool/pregnancy-calculator/i18n/zh.ts +467 -0
  96. package/src/tool/pregnancy-calculator/index.ts +37 -1
  97. package/src/tool/pregnancy-calculator/milestones.ts +2 -146
  98. package/src/tool/vaccination-calendar/component.astro +26 -24
  99. package/src/tool/vaccination-calendar/i18n/de.ts +194 -0
  100. package/src/tool/vaccination-calendar/i18n/en.ts +20 -0
  101. package/src/tool/vaccination-calendar/i18n/es.ts +20 -0
  102. package/src/tool/vaccination-calendar/i18n/fr.ts +99 -75
  103. package/src/tool/vaccination-calendar/i18n/id.ts +194 -0
  104. package/src/tool/vaccination-calendar/i18n/it.ts +194 -0
  105. package/src/tool/vaccination-calendar/i18n/ja.ts +194 -0
  106. package/src/tool/vaccination-calendar/i18n/ko.ts +194 -0
  107. package/src/tool/vaccination-calendar/i18n/nl.ts +194 -0
  108. package/src/tool/vaccination-calendar/i18n/pl.ts +194 -0
  109. package/src/tool/vaccination-calendar/i18n/pt.ts +194 -0
  110. package/src/tool/vaccination-calendar/i18n/ru.ts +194 -0
  111. package/src/tool/vaccination-calendar/i18n/sv.ts +194 -0
  112. package/src/tool/vaccination-calendar/i18n/tr.ts +194 -0
  113. package/src/tool/vaccination-calendar/i18n/zh.ts +194 -0
  114. package/src/tool/vaccination-calendar/index.ts +33 -1
  115. package/src/tool/vaccination-calendar/logic.ts +39 -13
@@ -0,0 +1,162 @@
1
+ import type { BabyFeedingCalculatorLocaleContent } from '../index';
2
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
3
+
4
+ const slug = 'akachan-feeding-calculator';
5
+ const title = '아기 수유 계산기';
6
+ const description = '몸무게와 월령에 따라 아기에게 필요한 수유량을 계산합니다. 권장 수유 횟수, 1회당 수유량(ml), 그리고 배고픔과 포만감의 신호.';
7
+
8
+ const faq = [
9
+ {
10
+ question: '신생아는 얼마나 많은 우유가 필요한가요?',
11
+ answer: '태어난 첫날 아기의 위는 체리 크기 정도로, 1회 수유당 5~7ml만 필요합니다. 5일째부터 위 용량은 45~60ml로 늘어나며, 수유량은 점진적으로 증가합니다.',
12
+ },
13
+ {
14
+ question: '아기는 얼마나 자주 먹어야 하나요?',
15
+ answer: '신생아는 하루에 8~12번의 수유가 필요합니다. 3개월이 되면 보통 7~8번으로 간격이 벌어지며, 6개월이 되면 하루 약 5번 정도 수유하게 됩니다.',
16
+ },
17
+ {
18
+ question: '아기가 충분히 먹고 있는지 어떻게 알 수 있나요?',
19
+ answer: '가장 신뢰할 수 있는 지표는 적절한 체중 증가, 하루에 최소 5~6번의 소변 기저귀, 그리고 수유 후 아기가 보여주는 포만감 신호입니다.',
20
+ },
21
+ {
22
+ question: '모유와 분유의 양은 같나요?',
23
+ answer: '모유 수유의 경우, 양을 측정하지 않고 아기가 원할 때마다 먹이는 것이 권장됩니다. 분유의 경우, 일반적인 기준은 체중 1kg당 하루 150ml이며, 이를 월령에 따른 수유 횟수로 나눕니다.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: '아기 월령 선택',
30
+ text: '단위(일, 주, 월)를 선택하고 슬라이더나 버튼을 사용하여 아이의 연령을 조절하세요.',
31
+ },
32
+ {
33
+ name: '아기 몸무게 입력',
34
+ text: '몸무게 슬라이더나 버튼을 사용하여 아기의 현재 몸무게(kg)를 입력하세요.',
35
+ },
36
+ {
37
+ name: '수유 방식 선택',
38
+ text: '가장 적합한 가이드를 확인하기 위해 모유, 혼합 또는 분유 중에서 선택하세요.',
39
+ },
40
+ {
41
+ name: '권장 수유 계획 확인',
42
+ text: '계산기는 수유 횟수, 1회당 수유량, 그리고 추정된 하루 총 수유량을 보여줍니다.',
43
+ },
44
+ ];
45
+
46
+ const faqSchema: WithContext<FAQPage> = {
47
+ '@context': 'https://schema.org',
48
+ '@type': 'FAQPage',
49
+ mainEntity: faq.map((item) => ({
50
+ '@type': 'Question',
51
+ name: item.question,
52
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
53
+ })),
54
+ };
55
+
56
+ const howToSchema: WithContext<HowTo> = {
57
+ '@context': 'https://schema.org',
58
+ '@type': 'HowTo',
59
+ name: title,
60
+ description,
61
+ step: howTo.map((step) => ({
62
+ '@type': 'HowToStep',
63
+ name: step.name,
64
+ text: step.text,
65
+ })),
66
+ };
67
+
68
+ const appSchema: WithContext<SoftwareApplication> = {
69
+ '@context': 'https://schema.org',
70
+ '@type': 'SoftwareApplication',
71
+ name: title,
72
+ description,
73
+ applicationCategory: 'UtilitiesApplication',
74
+ operatingSystem: 'Web',
75
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'KRW' },
76
+ inLanguage: 'ko',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: '현재 설정',
85
+ labelPlan: '권장 계획',
86
+ unitDays: '일',
87
+ unitWeeks: '주',
88
+ unitMonths: '개월',
89
+ labelWeight: '아기 몸무게',
90
+ labelFeedType: '수유 방식',
91
+ feedBreast: '모유',
92
+ feedMixed: '혼합',
93
+ feedFormula: '분유',
94
+ labelFreeDemand: '자율 수유',
95
+ labelMlPerFeed: '1회당 ml',
96
+ labelFeedsCount: '수유 횟수 / 24시간',
97
+ labelDailyTotal: '하루 총량 (추정)',
98
+ labelHunger: '배고픔 신호',
99
+ labelFullness: '포만감 신호',
100
+ faqTitle: '자주 묻는 질문',
101
+ bibliographyTitle: '참고문헌',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: '요약: 아기 수유', items: [
105
+ '신생아의 위 용량은 첫날 단 5~7ml에 불과합니다.',
106
+ '분유의 일반적인 기준은 하루 체중 1kg당 150ml입니다.',
107
+ '모유는 정해진 양 없이 아기가 원할 때 수시로 수유합니다.',
108
+ '수유 횟수는 성장함에 따라 감소하여 6개월경 4~5회로 줄어듭니다.',
109
+ ]},
110
+ { type: 'title', text: '몸무게와 월령에 따른 우리 아기 수유량은 얼마인가요?', level: 2 },
111
+ { type: 'paragraph', html: '수유 요구량은 처음 몇 달간 급격히 변합니다. 수유 계산기는 WHO 및 AAP의 소아과 가이드라인에 따라 현재 몸무게와 월령에 기초하여 수유량을 추정합니다.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5~7 ml', label: '1일차 (체리 크기)' },
114
+ { value: '150 ml/kg', label: '분유 하루 기준' },
115
+ { value: '8~12 회', label: '신생아 수유 횟수' },
116
+ ]},
117
+ { type: 'title', text: '월령별 아기 위 크기', level: 3 },
118
+ { type: 'table', headers: ['월령', '기준 크기', '위 용량', '수유 횟수/일'], rows: [
119
+ ['1일차', '체리', '5~7 ml', '8~12 회'],
120
+ ['2~4일차', '호두', '22~27 ml', '8~12 회'],
121
+ ['5~30일차', '달걀', '45~60 ml', '8~10 회'],
122
+ ['1~3개월', '최대', '90~120 ml', '7~8 회'],
123
+ ['3~6개월', '최대', '120~150 ml', '5~6 회'],
124
+ ['6개월 이상', '최대', '150~180 ml', '4~5 회'],
125
+ ]},
126
+ { type: 'tip', html: '적절한 수유의 신뢰할 수 있는 지표는 소변 기저귀 횟수입니다. 5일차 이후 하루 5~6회 이상이면 수분이 잘 유지되고 있음을 의미합니다.' },
127
+ { type: 'title', text: '모유 수유 vs 분유 수유', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: '모유 수유', description: '자율 수유를 통한 자연스러운 영양 공급.', points: ['정해진 시간표 없음', '활성 항체 포함', '성분의 가변성', '수치화하기 어려움'] },
130
+ { title: '분유 수유', description: '계산된 양에 따른 계획적인 수유.', points: ['3~4시간 간격', '안정적인 성분', '섭취량 조절 용이', '멸균 준비 필요'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ '적절한 체중 증가: 첫 한 달간 주당 150~200g',
134
+ '하루 최소 5~6번 이상의 소변 기저귀',
135
+ '수유 후 아기가 편안하고 조용한 모습',
136
+ '투명하거나 아주 연한 노란색의 소변',
137
+ ]},
138
+ ],
139
+ faqTitle: "자주 묻는 질문",
140
+ faq,
141
+ bibliographyTitle: "참고문헌",
142
+ bibliography: [
143
+ {
144
+ name: 'WHO - 영유아 영양 가이드',
145
+ url: 'https://www.who.int/news-room/fact-sheets/detail/infant-and-young-child-feeding',
146
+ },
147
+ {
148
+ name: 'American Academy of Pediatrics - Breastfeeding Guidelines',
149
+ url: 'https://www.aap.org/en/patient-care/breastfeeding/',
150
+ },
151
+ {
152
+ name: 'La Leche League International',
153
+ url: 'https://www.llli.org',
154
+ },
155
+ {
156
+ name: '대한소아청소년과학회 - 수유 및 영양 가이드',
157
+ url: 'https://www.pediatric.or.kr',
158
+ },
159
+ ],
160
+ howTo,
161
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
162
+ };
@@ -0,0 +1,162 @@
1
+ import type { BabyFeedingCalculatorLocaleContent } from '../index';
2
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
3
+
4
+ const slug = 'voedingscalculator-baby';
5
+ const title = 'Voedingscalculator voor Baby\'s';
6
+ const description = 'Bereken hoeveel melk je baby nodig heeft op basis van gewicht en leeftijd. Aanbevolen voedingen, milliliters per voeding en signalen van honger en verzadiging.';
7
+
8
+ const faq = [
9
+ {
10
+ question: 'Hoeveel melk heeft een pasgeborene nodig?',
11
+ answer: 'Op de eerste levensdag is de maag van de baby zo groot als een kers en heeft hij slechts 5 tot 7 ml per voeding nodig. Vanaf de vijfde dag groeit de capaciteit tot 45–60 ml en de behoeften nemen progressief toe.',
12
+ },
13
+ {
14
+ question: 'Hoe vaak moet een baby eten?',
15
+ answer: 'Pasgeborenen hebben tussen de 8 en 12 voedingen per dag nodig. Bij 3 maanden zijn dat er meestal 7–8, en bij 6 maanden ongeveer 5 voedingen per dag.',
16
+ },
17
+ {
18
+ question: 'Hoe weet ik of mijn baby genoeg eet?',
19
+ answer: 'De meest betrouwbare indicatoren zijn: adequate gewichtstoename, minstens 5–6 natte luiers per dag en een baby die verzadigingssignalen vertoont na de voedingen.',
20
+ },
21
+ {
22
+ question: 'Zijn de hoeveelheden bij borstvoeding en flesvoeding hetzelfde?',
23
+ answer: 'Bij borstvoeding wordt aanbevolen om op verzoek te voeden zonder volumes te meten. Bij flesvoeding is de gebruikelijke richtlijn 150 ml per kg lichaamsgewicht per dag, verdeeld over het aantal voedingen op basis van de leeftijd.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: 'Selecteer de leeftijd van de baby',
30
+ text: 'Kies de eenheid (dagen, weken of maanden) en pas de waarde aan met de slider of de knoppen.',
31
+ },
32
+ {
33
+ name: 'Voer het gewicht van de baby in',
34
+ text: 'Gebruik de gewichtsslider of de knoppen om het huidige gewicht van de baby in kilogrammen in te stellen.',
35
+ },
36
+ {
37
+ name: 'Selecteer de voedingswijze',
38
+ text: 'Kies tussen borstvoeding, gemengd of flesvoeding voor de meest passende gids.',
39
+ },
40
+ {
41
+ name: 'Bekijk het aanbevolen plan',
42
+ text: 'De calculator toont het aantal voedingen, milliliters per voeding en het geschatte dagtotaal.',
43
+ },
44
+ ];
45
+
46
+ const faqSchema: WithContext<FAQPage> = {
47
+ '@context': 'https://schema.org',
48
+ '@type': 'FAQPage',
49
+ mainEntity: faq.map((item) => ({
50
+ '@type': 'Question',
51
+ name: item.question,
52
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
53
+ })),
54
+ };
55
+
56
+ const howToSchema: WithContext<HowTo> = {
57
+ '@context': 'https://schema.org',
58
+ '@type': 'HowTo',
59
+ name: title,
60
+ description,
61
+ step: howTo.map((step) => ({
62
+ '@type': 'HowToStep',
63
+ name: step.name,
64
+ text: step.text,
65
+ })),
66
+ };
67
+
68
+ const appSchema: WithContext<SoftwareApplication> = {
69
+ '@context': 'https://schema.org',
70
+ '@type': 'SoftwareApplication',
71
+ name: title,
72
+ description,
73
+ applicationCategory: 'UtilitiesApplication',
74
+ operatingSystem: 'Web',
75
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
76
+ inLanguage: 'nl',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: 'Huidige configuratie',
85
+ labelPlan: 'Aanbevolen plan',
86
+ unitDays: 'dagen',
87
+ unitWeeks: 'weken',
88
+ unitMonths: 'maanden',
89
+ labelWeight: 'Gewicht van de baby',
90
+ labelFeedType: 'Voedingswijze',
91
+ feedBreast: 'Borstvoeding',
92
+ feedMixed: 'Gemengd',
93
+ feedFormula: 'Flesvoeding',
94
+ labelFreeDemand: 'Op verzoek',
95
+ labelMlPerFeed: 'ml per voeding',
96
+ labelFeedsCount: 'Voedingen / 24u',
97
+ labelDailyTotal: 'Dagtotaal (geschat)',
98
+ labelHunger: 'Hongersignalen',
99
+ labelFullness: 'Verzadigingssignalen',
100
+ faqTitle: 'Veelgestelde vragen',
101
+ bibliographyTitle: 'Referenties',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'Samenvatting: Babyvoeding', items: [
105
+ 'De maagcapaciteit van een pasgeborene is slechts 5–7 ml op de eerste dag.',
106
+ 'De algemene richtlijn voor flesvoeding is 150 ml per kg gewicht per dag.',
107
+ 'Borstvoeding wordt op verzoek aangeboden zonder vaste volumes.',
108
+ 'De frequentie neemt af met de leeftijd: van 8–12 voedingen naar 4–5 in 6 maanden.',
109
+ ]},
110
+ { type: 'title', text: 'Hoeveel melk heeft mijn baby nodig op basis van gewicht en leeftijd?', level: 2 },
111
+ { type: 'paragraph', html: 'De melkbehoefte verandert snel in de eerste maanden. De calculator schat de hoeveelheid op basis van het huidige gewicht en de leeftijd van de baby, volgens de pediatrische richtlijnen van de WHO en de AAP.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5–7 ml', label: 'Dag 1 (kersgrootte)' },
114
+ { value: '150 ml/kg', label: 'Referentie flesvoeding' },
115
+ { value: '8–12', label: 'Voedingen/dag pasgeb.' },
116
+ ]},
117
+ { type: 'title', text: 'Maaggrootte per leeftijd', level: 3 },
118
+ { type: 'table', headers: ['Leeftijd', 'Ref. grootte', 'Capaciteit', 'Voedingen/dag'], rows: [
119
+ ['Dag 1', 'Kers', '5–7 ml', '8–12'],
120
+ ['Dagen 2–4', 'Walnoot', '22–27 ml', '8–12'],
121
+ ['Dagen 5–30', 'Ei', '45–60 ml', '8–10'],
122
+ ['1–3 maanden', 'Maximaal', '90–120 ml', '7–8'],
123
+ ['3–6 maanden', 'Maximaal', '120–150 ml', '5–6'],
124
+ ['6+ maanden', 'Maximaal', '150–180 ml', '4–5'],
125
+ ]},
126
+ { type: 'tip', html: 'Een betrouwbare indicator voor goede voeding is het aantal natte luiers: tussen 5 en 6 per dag vanaf de vijfde dag wijst op een goede hydratatie.' },
127
+ { type: 'title', text: 'Borstvoeding vs. flesvoeding', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: 'Borstvoeding', description: 'Natuurlijke voeding op verzoek.', points: ['Geen vast schema', 'Actieve antistoffen', 'Variabele samenstelling', 'Moeilijk te kwantificeren'] },
130
+ { title: 'Flesvoeding', description: 'Geplande voedingen met berekenbaar volume.', points: ['Elke 3–4 uur', 'Stabiele samenstelling', 'Makkelijk inname te controleren', 'Vereist steriele bereiding'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ 'Adequate gewichtstoename: 150–200 g/week in de eerste maand',
134
+ 'Minstens 5–6 natte luiers per dag',
135
+ 'De baby is rustig na de voedingen',
136
+ 'Heldere of zeer lichtgele urine',
137
+ ]},
138
+ ],
139
+ faqTitle: "Veelgestelde vragen",
140
+ faq,
141
+ bibliographyTitle: "Referenties",
142
+ bibliography: [
143
+ {
144
+ name: 'WHO - Voeding voor zuigelingen en jonge kinderen',
145
+ url: 'https://www.who.int/news-room/fact-sheets/detail/infant-and-young-child-feeding',
146
+ },
147
+ {
148
+ name: 'American Academy of Pediatrics - Breastfeeding Guidelines',
149
+ url: 'https://www.aap.org/en/patient-care/breastfeeding/',
150
+ },
151
+ {
152
+ name: 'La Leche League International',
153
+ url: 'https://www.llli.org',
154
+ },
155
+ {
156
+ name: 'Voedingscentrum - Borstvoeding en flesvoeding',
157
+ url: 'https://www.voedingscentrum.nl/nl/mijn-kind-en-ik/borstvoeding-en-flesvoeding.aspx',
158
+ },
159
+ ],
160
+ howTo,
161
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
162
+ };
@@ -0,0 +1,162 @@
1
+ import type { BabyFeedingCalculatorLocaleContent } from '../index';
2
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
3
+
4
+ const slug = 'kalkulator-karmienia-niemowlecia';
5
+ const title = 'Kalkulator Karmienia Niemowlęcia';
6
+ const description = 'Oblicz, ile mleka potrzebuje Twoje dziecko w zależności od jego wagi i wieku. Zalecane karmienia, mililitry na porcję oraz sygnały głodu i sytości.';
7
+
8
+ const faq = [
9
+ {
10
+ question: 'Ile mleka potrzebuje noworodek?',
11
+ answer: 'W pierwszym dniu życia żołądek dziecka ma wielkość wiśni i potrzebuje tylko 5–7 ml na jedno karmienie. Od piątego dnia pojemność rośnie do 45–60 ml, a potrzeby zwiększają się stopniowo.',
12
+ },
13
+ {
14
+ question: 'Jak często powinno jeść dziecko?',
15
+ answer: 'Noworodki potrzebują od 8 do 12 karmień na dobę. W wieku 3 miesięcy przerwy zwykle się wydłużają do 7–8 karmień, a w wieku 6 miesięcy do około 5 karmień dziennie.',
16
+ },
17
+ {
18
+ question: 'Skąd mam wiedzieć, czy moje dziecko je wystarczająco dużo?',
19
+ answer: 'Najbardziej wiarygodne wskaźniki to: odpowiedni przyrost masy ciała, co najmniej 5–6 mokrych pieluch na dobę oraz wykazywanie przez dziecko oznak sytości po karmieniu.',
20
+ },
21
+ {
22
+ question: 'Czy ilości przy karmieniu piersią i mlekiem modyfikowanym są takie same?',
23
+ answer: 'Przy karmieniu piersią zaleca się karmienie na żądanie bez mierzenia objętości. Przy mleku modyfikowanym zwykłym punktem odniesienia jest 150 ml na kg masy ciała na dobę, rozłożone na liczbę karmień zależną od wieku.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: 'Wybierz wiek dziecka',
30
+ text: 'Wybierz jednostkę (dni, tygodnie lub miesiące) i dostosuj wartość za pomocą suwaka lub przycisków.',
31
+ },
32
+ {
33
+ name: 'Wprowadź wagę dziecka',
34
+ text: 'Użyj suwaka wagi lub przycisków, aby ustawić aktualną wagę dziecka w kilogramach.',
35
+ },
36
+ {
37
+ name: 'Wybierz rodzaj karmienia',
38
+ text: 'Wybierz pierś, karmienie mieszane lub mleko modyfikowane, aby uzyskać najbardziej odpowiednie wskazówki.',
39
+ },
40
+ {
41
+ name: 'Sprawdź zalecany plan',
42
+ text: 'Kalkulator pokazuje liczbę karmień, mililitry na porcję oraz szacowaną całkowitą objętość dobową.',
43
+ },
44
+ ];
45
+
46
+ const faqSchema: WithContext<FAQPage> = {
47
+ '@context': 'https://schema.org',
48
+ '@type': 'FAQPage',
49
+ mainEntity: faq.map((item) => ({
50
+ '@type': 'Question',
51
+ name: item.question,
52
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
53
+ })),
54
+ };
55
+
56
+ const howToSchema: WithContext<HowTo> = {
57
+ '@context': 'https://schema.org',
58
+ '@type': 'HowTo',
59
+ name: title,
60
+ description,
61
+ step: howTo.map((step) => ({
62
+ '@type': 'HowToStep',
63
+ name: step.name,
64
+ text: step.text,
65
+ })),
66
+ };
67
+
68
+ const appSchema: WithContext<SoftwareApplication> = {
69
+ '@context': 'https://schema.org',
70
+ '@type': 'SoftwareApplication',
71
+ name: title,
72
+ description,
73
+ applicationCategory: 'UtilitiesApplication',
74
+ operatingSystem: 'Web',
75
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
76
+ inLanguage: 'pl',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: 'Aktualna konfiguracja',
85
+ labelPlan: 'Zalecany plan',
86
+ unitDays: 'dni',
87
+ unitWeeks: 'tygodnie',
88
+ unitMonths: 'miesiące',
89
+ labelWeight: 'Waga dziecka',
90
+ labelFeedType: 'Rodzaj karmienia',
91
+ feedBreast: 'Pierś',
92
+ feedMixed: 'Mieszane',
93
+ feedFormula: 'Mleko modyf.',
94
+ labelFreeDemand: 'Na żądanie',
95
+ labelMlPerFeed: 'ml na porcję',
96
+ labelFeedsCount: 'Karmienia / 24h',
97
+ labelDailyTotal: 'Dobowe spożycie (szac.)',
98
+ labelHunger: 'Sygnały głodu',
99
+ labelFullness: 'Sygnały sytości',
100
+ faqTitle: 'Często zadawane pytania',
101
+ bibliographyTitle: 'Źródła',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'Podsumowanie: Żywienie dziecka', items: [
105
+ 'Pojemność żołądka noworodka to zaledwie 5–7 ml w pierwszym dniu życia.',
106
+ 'Ogólny punkt odniesienia dla mleka modyfikowanego to 150 ml na kg wagi na dobę.',
107
+ 'Karmienie piersią odbywa się na żądanie, bez stałych objętości.',
108
+ 'Częstotliwość spada z wiekiem: z 8–12 karmień do 4–5 w ciągu 6 miesięcy.',
109
+ ]},
110
+ { type: 'title', text: 'Ile mleka potrzebuje moje dziecko w zależności od wagi i wieku?', level: 2 },
111
+ { type: 'paragraph', html: 'Zapotrzebowanie na mleko zmienia się gwałtownie w pierwszych miesiącach. Kalkulator szacuje ilość na podstawie aktualnej wagi i wieku dziecka, zgodnie z wytycznymi pediatrycznymi WHO i AAP.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5–7 ml', label: 'Dzień 1 (wielkość wiśni)' },
114
+ { value: '150 ml/kg', label: 'Wzorzec mleko modyf.' },
115
+ { value: '8–12', label: 'Karmienia/doba noworodek' },
116
+ ]},
117
+ { type: 'title', text: 'Wielkość żołądka w zależności od wieku', level: 3 },
118
+ { type: 'table', headers: ['Wiek', 'Wielkość ref.', 'Pojemność', 'Karmienia/doba'], rows: [
119
+ ['Dzień 1', 'Wiśnia', '5–7 ml', '8–12'],
120
+ ['Dni 2–4', 'Orzech wł.', '22–27 ml', '8–12'],
121
+ ['Dni 5–30', 'Jajko', '45–60 ml', '8–10'],
122
+ ['1–3 mies.', 'Maksymalna', '90–120 ml', '7–8'],
123
+ ['3–6 mies.', 'Maksymalna', '120–150 ml', '5–6'],
124
+ ['6+ mies.', 'Maksymalna', '150–180 ml', '4–5'],
125
+ ]},
126
+ { type: 'tip', html: 'Wiarygodnym wskaźnikiem odpowiedniego żywienia jest liczba mokrych pieluch: od 5 do 6 na dobę, zaczynając od piątego dnia życia, wskazuje na dobre nawodnienie.' },
127
+ { type: 'title', text: 'Karmienie piersią a mleko modyfikowane', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: 'Karmienie piersią', description: 'Naturalne żywienie na żądanie.', points: ['Brak stałych godzin', 'Aktywne przeciwciała', 'Zmienny skład', 'Trudne do zmierzenia'] },
130
+ { title: 'Mleko modyfikowane', description: 'Zaplanowane karmienia o obliczalnej objętości.', points: ['Co 3–4 godziny', 'Stały skład', 'Łatwa kontrola spożycia', 'Wymaga sterylnego przygotowania'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ 'Odpowiedni przyrost wagi: 150–200 g/tydzień w pierwszym miesiącu',
134
+ 'Co najmniej 5–6 mokrych pieluch na dobę',
135
+ 'Dziecko jest spokojne po karmieniu',
136
+ 'Mocz jasny lub bardzo jasnożółty',
137
+ ]},
138
+ ],
139
+ faqTitle: "Często zadawane pytania",
140
+ faq,
141
+ bibliographyTitle: "Źródła",
142
+ bibliography: [
143
+ {
144
+ name: 'WHO - Żywienie niemowląt i małych dzieci',
145
+ url: 'https://www.who.int/news-room/fact-sheets/detail/infant-and-young-child-feeding',
146
+ },
147
+ {
148
+ name: 'American Academy of Pediatrics - Breastfeeding Guidelines',
149
+ url: 'https://www.aap.org/en/patient-care/breastfeeding/',
150
+ },
151
+ {
152
+ name: 'La Leche League International',
153
+ url: 'https://www.llli.org',
154
+ },
155
+ {
156
+ name: 'Polskie Towarzystwo Gastroenterologii, Hepatologii i Żywienia Dzieci',
157
+ url: 'https://ptp.edu.pl',
158
+ },
159
+ ],
160
+ howTo,
161
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
162
+ };
@@ -0,0 +1,162 @@
1
+ import type { BabyFeedingCalculatorLocaleContent } from '../index';
2
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
3
+
4
+ const slug = 'calculadora-mamadas-bebe';
5
+ const title = 'Calculadora de Mamadas do Bebé';
6
+ const description = 'Calcule quanto leite o seu bebé necessita de acordo com o seu peso e idade. Mamadas recomendadas, mililitros por mamada e sinais de fome e saciedade.';
7
+
8
+ const faq = [
9
+ {
10
+ question: 'Quanto leite necessita um recém-nascido?',
11
+ answer: 'No primeiro dia de vida, o estômago do bebé tem o tamanho de uma cereja e necessita apenas de 5 a 7 ml por mamada. A partir do quinto dia a capacidade cresce até aos 45–60 ml e as necessidades aumentam progressivamente.',
12
+ },
13
+ {
14
+ question: 'Com que frequência deve comer um bebé?',
15
+ answer: 'Os recém-nascidos necessitam de 8 a 12 mamadas por dia. Aos 3 meses costumam espaçar para 7–8 mamadas, e aos 6 meses para cerca de 5 mamadas diárias.',
16
+ },
17
+ {
18
+ question: 'Como sei se o meu bebé está a comer o suficiente?',
19
+ answer: 'Os indicadores mais fiáveis são: ganho de peso adequado, pelo menos 5–6 fraldas molhadas por dia e o bebé mostrar sinais de saciedade após as mamadas.',
20
+ },
21
+ {
22
+ question: 'A amamentação e a fórmula têm as mesmas quantidades?',
23
+ answer: 'Com a amamentação recomenda-se alimentar em livre demanda sem medir volumes. Com a fórmula, a referência habitual é 150 ml por kg de peso por dia, distribuídos pelo número de mamadas conforme a idade.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: 'Selecione a idade do bebé',
30
+ text: 'Escolha a unidade (dias, semanas ou meses) e ajuste o valor com o slider ou os botões.',
31
+ },
32
+ {
33
+ name: 'Introduza o peso do bebé',
34
+ text: 'Use o slider de peso ou os botões para ajustar o peso atual do bebé em quilogramas.',
35
+ },
36
+ {
37
+ name: 'Selecione o tipo de alimentação',
38
+ text: 'Escolha entre peito, mista ou fórmula para obter o guia mais adaptado.',
39
+ },
40
+ {
41
+ name: 'Consulte o plano recomendado',
42
+ text: 'A calculadora mostra o número de mamadas, mililitros por mamada e o total diário estimado.',
43
+ },
44
+ ];
45
+
46
+ const faqSchema: WithContext<FAQPage> = {
47
+ '@context': 'https://schema.org',
48
+ '@type': 'FAQPage',
49
+ mainEntity: faq.map((item) => ({
50
+ '@type': 'Question',
51
+ name: item.question,
52
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
53
+ })),
54
+ };
55
+
56
+ const howToSchema: WithContext<HowTo> = {
57
+ '@context': 'https://schema.org',
58
+ '@type': 'HowTo',
59
+ name: title,
60
+ description,
61
+ step: howTo.map((step) => ({
62
+ '@type': 'HowToStep',
63
+ name: step.name,
64
+ text: step.text,
65
+ })),
66
+ };
67
+
68
+ const appSchema: WithContext<SoftwareApplication> = {
69
+ '@context': 'https://schema.org',
70
+ '@type': 'SoftwareApplication',
71
+ name: title,
72
+ description,
73
+ applicationCategory: 'UtilitiesApplication',
74
+ operatingSystem: 'Web',
75
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
76
+ inLanguage: 'pt',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: 'Configuração atual',
85
+ labelPlan: 'Plano recomendado',
86
+ unitDays: 'dias',
87
+ unitWeeks: 'semanas',
88
+ unitMonths: 'meses',
89
+ labelWeight: 'Peso do bebé',
90
+ labelFeedType: 'Tipo de alimentação',
91
+ feedBreast: 'Peito',
92
+ feedMixed: 'Mista',
93
+ feedFormula: 'Fórmula',
94
+ labelFreeDemand: 'Livre demanda',
95
+ labelMlPerFeed: 'ml por mamada',
96
+ labelFeedsCount: 'Mamadas / 24h',
97
+ labelDailyTotal: 'Total diário (est.)',
98
+ labelHunger: 'Sinais de fome',
99
+ labelFullness: 'Sinais de saciedade',
100
+ faqTitle: 'Perguntas frequentes',
101
+ bibliographyTitle: 'Referências',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'Resumo: Alimentação do bebé', items: [
105
+ 'La capacidade gástrica do recém-nascido é de apenas 5–7 ml no primeiro dia.',
106
+ 'A referência geral para fórmula é 150 ml por kg de peso por dia.',
107
+ 'A amamentação é oferecida em livre demanda sem volumes fixos.',
108
+ 'A frequência diminui com a idade: de 8–12 mamadas para 4–5 em 6 meses.',
109
+ ]},
110
+ { type: 'title', text: 'Quanto leite necessita o meu bebé segundo o seu peso e idade?', level: 2 },
111
+ { type: 'paragraph', html: 'As necessidades de leite mudam rapidamente nos primeiros meses. A calculadora estima a quantidade segundo o peso atual e a idade do bebé, seguindo as diretrizes pediátricas da OMS e da AAP.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5–7 ml', label: 'Dia 1 (cereja)' },
114
+ { value: '150 ml/kg', label: 'Referência fórmula' },
115
+ { value: '8–12', label: 'Mamadas/dia recém-nascido' },
116
+ ]},
117
+ { type: 'title', text: 'Tamanho do estômago por idade', level: 3 },
118
+ { type: 'table', headers: ['Idade', 'Tamanho ref.', 'Capacidade', 'Mamadas/dia'], rows: [
119
+ ['Dia 1', 'Cereja', '5–7 ml', '8–12'],
120
+ ['Dias 2–4', 'Noz', '22–27 ml', '8–12'],
121
+ ['Dias 5–30', 'Ovo', '45–60 ml', '8–10'],
122
+ ['1–3 meses', 'Máxima', '90–120 ml', '7–8'],
123
+ ['3–6 meses', 'Máxima', '120–150 ml', '5–6'],
124
+ ['6+ meses', 'Máxima', '150–180 ml', '4–5'],
125
+ ]},
126
+ { type: 'tip', html: 'Um indicador fiável de alimentação adequada é o número de fraldas molhadas: entre 5 e 6 por dia a partir do quinto dia indicam boa hidratação.' },
127
+ { type: 'title', text: 'Amamentação vs fórmula', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: 'Amamentação', description: 'Alimentação natural em livre demanda.', points: ['Sem horário fixo', 'Anticorpos ativos', 'Composição variável', 'Difícil quantificar'] },
130
+ { title: 'Leite de fórmula', description: 'Mamadas programadas com volume calculável.', points: ['A cada 3–4 horas', 'Composição estável', 'Fácil controlar a ingestão', 'Requer preparação estéril'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ 'Ganho de peso adequado: 150–200 g/semana no primeiro mês',
134
+ 'Pelo menos 5–6 fraldas molhadas por dia',
135
+ 'O bebé mostra-se tranquilo após as mamadas',
136
+ 'Urina clara ou amarelo muito pálido',
137
+ ]},
138
+ ],
139
+ faqTitle: "Perguntas frequentes",
140
+ faq,
141
+ bibliographyTitle: "Referências",
142
+ bibliography: [
143
+ {
144
+ name: 'OMS - Alimentação do lactante e da criança pequena',
145
+ url: 'https://www.who.int/pt/health-topics/infant-nutrition',
146
+ },
147
+ {
148
+ name: 'American Academy of Pediatrics - Breastfeeding Guidelines',
149
+ url: 'https://www.aap.org/en/patient-care/breastfeeding/',
150
+ },
151
+ {
152
+ name: 'La Leche League International',
153
+ url: 'https://www.llli.org',
154
+ },
155
+ {
156
+ name: 'Sociedade Portuguesa de Pediatria - Aleitamento materno',
157
+ url: 'https://www.spp.pt',
158
+ },
159
+ ],
160
+ howTo,
161
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
162
+ };