@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 = 'baby-futter-rechner';
5
+ const title = 'Baby Fütterungsrechner';
6
+ const description = 'Berechnen Sie, wie viel Milch Ihr Baby basierend auf Gewicht und Alter benötigt. Empfohlene Mahlzeiten, Milliliter pro Mahlzeit sowie Hunger- und Sättigungssignale.';
7
+
8
+ const faq = [
9
+ {
10
+ question: 'Wie viel Milch benötigt ein Neugeborenes?',
11
+ answer: 'Am ersten Lebenstag hat der Magen des Babys die Größe einer Kirsche und benötigt nur 5 bis 7 ml pro Mahlzeit. Ab dem fünften Tag wächst die Kapazität auf 45–60 ml an, und die Bedürfnisse steigen progressiv.',
12
+ },
13
+ {
14
+ question: 'Wie oft sollte ein Baby essen?',
15
+ answer: 'Neugeborene benötigen zwischen 8 und 12 Mahlzeiten am Tag. Mit 3 Monaten liegen sie meist bei 7–8 Mahlzeiten, und mit 6 Monaten bei etwa 5 Mahlzeiten täglich.',
16
+ },
17
+ {
18
+ question: 'Woher weiß ich, ob mein Baby genug isst?',
19
+ answer: 'Die zuverlässigsten Indikatoren sind: angemessene Gewichtszunahme, mindestens 5–6 nasse Windeln pro Tag und dass das Baby nach den Mahlzeiten Sättigungssignale zeigt.',
20
+ },
21
+ {
22
+ question: 'Haben Muttermilch und Formelnahrung die gleichen Mengen?',
23
+ answer: 'Bei Muttermilch wird empfohlen, nach Bedarf zu füttern, ohne Volumina zu messen. Bei Formelnahrung ist der übliche Richtwert 150 ml pro kg Körpergewicht pro Tag, verteilt auf die Anzahl der Mahlzeiten je nach Alter.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: 'Wählen Sie das Alter des Babys',
30
+ text: 'Wählen Sie die Einheit (Tage, Wochen oder Monate) und passen Sie den Wert mit dem Schieberegler oder den Tasten an.',
31
+ },
32
+ {
33
+ name: 'Geben Sie das Gewicht des Babys ein',
34
+ text: 'Verwenden Sie den Gewichts-Schieberegler oder die Tasten, um das aktuelle Gewicht des Babys in Kilogramm einzustellen.',
35
+ },
36
+ {
37
+ name: 'Wählen Sie die Ernährungsart',
38
+ text: 'Wählen Sie zwischen Stillen, Mischfütterung oder Formelnahrung, um die am besten angepasste Anleitung zu erhalten.',
39
+ },
40
+ {
41
+ name: 'Konsultieren Sie den empfohlenen Plan',
42
+ text: 'Der Rechner zeigt die Anzahl der Mahlzeiten, Milliliter pro Mahlzeit und die geschätzte tägliche Gesamtmenge an.',
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: 'de',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: 'Aktuelle Konfiguration',
85
+ labelPlan: 'Empfohlener Plan',
86
+ unitDays: 'Tage',
87
+ unitWeeks: 'Wochen',
88
+ unitMonths: 'Monate',
89
+ labelWeight: 'Gewicht des Babys',
90
+ labelFeedType: 'Ernährungsart',
91
+ feedBreast: 'Stillen',
92
+ feedMixed: 'Mischfütterung',
93
+ feedFormula: 'Formelnahrung',
94
+ labelFreeDemand: 'Füttern nach Bedarf',
95
+ labelMlPerFeed: 'ml pro Mahlzeit',
96
+ labelFeedsCount: 'Mahlzeiten / 24h',
97
+ labelDailyTotal: 'Tagesgesamtmenge (gesch.)',
98
+ labelHunger: 'Hungersignale',
99
+ labelFullness: 'Sättigungssignale',
100
+ faqTitle: 'Häufig gestellte Fragen',
101
+ bibliographyTitle: 'Referenzen',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'Zusammenfassung: Baby Ernährung', items: [
105
+ 'Die Magenkapazität des Neugeborenen beträgt am ersten Tag nur etwa 5–7 ml.',
106
+ 'Der allgemeine Richtwert für Formelnahrung liegt bei 150 ml pro kg Körpergewicht pro Tag.',
107
+ 'Stillen erfolgt nach Bedarf ohne feste Mengen.',
108
+ 'Die Häufigkeit nimmt mit dem Alter ab: von 8–12 Mahlzeiten auf 4–5 in 6 Monaten.',
109
+ ]},
110
+ { type: 'title', text: 'Wie viel Milch benötigt mein Baby basierend auf Gewicht und Alter?', level: 2 },
111
+ { type: 'paragraph', html: 'Der Milchbedarf ändert sich in den ersten Monaten schnell. Der Rechner schätzt die Menge basierend auf dem aktuellen Gewicht und Alter des Babys gemäß den pädiatrischen Richtlinien der WHO und der AAP.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5–7 ml', label: 'Tag 1 (Kirschgröße)' },
114
+ { value: '150 ml/kg', label: 'Tageswert Formel' },
115
+ { value: '8–12', label: 'Mahlzeiten/Tag Neugeb.' },
116
+ ]},
117
+ { type: 'title', text: 'Magengröße nach Alter', level: 3 },
118
+ { type: 'table', headers: ['Alter', 'Ref.-Größe', 'Kapazität', 'Mahlzeiten/Tag'], rows: [
119
+ ['Tag 1', 'Kirsche', '5–7 ml', '8–12'],
120
+ ['Tag 2–4', 'Walnuss', '22–27 ml', '8–12'],
121
+ ['Tag 5–30', 'Ei', '45–60 ml', '8–10'],
122
+ ['1–3 Monate', 'Maximal', '90–120 ml', '7–8'],
123
+ ['3–6 Monate', 'Maximal', '120–150 ml', '5–6'],
124
+ ['6+ Monate', 'Maximal', '150–180 ml', '4–5'],
125
+ ]},
126
+ { type: 'tip', html: 'Ein zuverlässiger Indikator für eine angemessene Ernährung ist die Anzahl der nassen Windeln: Zwischen 5 und 6 pro Tag ab dem fünften Tag deuten auf eine gute Hydratation hin.' },
127
+ { type: 'title', text: 'Stillen vs. Formelnahrung', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: 'Stillen', description: 'Natürliche Ernährung nach Bedarf.', points: ['Kein fester Zeitplan', 'Aktive Antikörper', 'Variable Zusammensetzung', 'Schwer zu quantifizieren'] },
130
+ { title: 'Formelnahrung', description: 'Geplante Mahlzeiten mit berechenbarem Volumen.', points: ['Alle 3–4 Stunden', 'Stabile Zusammensetzung', 'Einfache Kontrolle der Menge', 'Erfordert sterile Zubereitung'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ 'Angemessene Gewichtszunahme: 150–200 g/Woche im ersten Monat',
134
+ 'Mindestens 5–6 nasse Windeln pro Tag',
135
+ 'Das Baby zeigt sich nach den Mahlzeiten ruhig',
136
+ 'Klarer oder sehr hellgelber Urin',
137
+ ]},
138
+ ],
139
+ faqTitle: "Häufig gestellte Fragen",
140
+ faq,
141
+ bibliographyTitle: "Referenzen",
142
+ bibliography: [
143
+ {
144
+ name: 'WHO - Ernährung von Säuglingen und Kleinkindern',
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 Liga International',
153
+ url: 'https://www.llli.org',
154
+ },
155
+ {
156
+ name: 'Deutsche Gesellschaft für Kinder- und Jugendmedizin (DGKJ)',
157
+ url: 'https://www.dgkj.de',
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-asupan-bayi';
5
+ const title = 'Kalkulator Asupan Bayi';
6
+ const description = 'Hitung berapa banyak susu yang dibutuhkan bayi Anda berdasarkan berat badan dan usia. Rekomendasi asupan, mililiter per sesi, serta sinyal lapar dan kenyang.';
7
+
8
+ const faq = [
9
+ {
10
+ question: 'Berapa banyak susu yang dibutuhkan bayi baru lahir?',
11
+ answer: 'Pada hari pertama kehidupan, lambung bayi berukuran sebesar buah ceri dan hanya membutuhkan antara 5 hingga 7 ml per sesi asupan. Sejak hari kelima, kapasitas tumbuh hingga 45–60 ml dan kebutuhan meningkat secara progresif.',
12
+ },
13
+ {
14
+ question: 'Seberapa sering bayi harus makan?',
15
+ answer: 'Bayi baru lahir membutuhkan antara 8 hingga 12 sesi asupan per hari. Pada usia 3 bulan biasanya menjadi 7–8 sesi, dan pada usia 6 bulan menjadi sekitar 5 sesi harian.',
16
+ },
17
+ {
18
+ question: 'Bagaimana saya tahu jika bayi saya cukup makan?',
19
+ answer: 'Indikator yang paling dapat diandalkan adalah: penambahan berat badan yang memadai, setidaknya 5–6 popok basah per hari, dan bayi menunjukkan sinyal kenyang setelah asupan.',
20
+ },
21
+ {
22
+ question: 'Apakah jumlah ASI dan susu formula sama?',
23
+ answer: 'Dengan ASI, disarankan untuk memberikan asupan sesuai permintaan (ad libitum) tanpa mengukur volume. Dengan susu formula, referensi umum adalah 150 ml per kg berat badan per hari, didistribusikan ke jumlah sesi asupan sesuai usia.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: 'Pilih usia bayi',
30
+ text: 'Pilih satuan (hari, minggu atau bulan) dan sesuaikan nilai dengan slider atau tombol.',
31
+ },
32
+ {
33
+ name: 'Masukkan berat badan bayi',
34
+ text: 'Gunakan slider berat badan atau tombol untuk menyesuaikan berat badan bayi saat ini dalam kilogram.',
35
+ },
36
+ {
37
+ name: 'Pilih jenis asupan',
38
+ text: 'Pilih antara ASI, campuran, atau formula untuk mendapatkan panduan yang paling sesuai.',
39
+ },
40
+ {
41
+ name: 'Lihat rencana yang direkomendasikan',
42
+ text: 'Kalkulator menampilkan jumlah sesi asupan, mililiter per sesi, dan perkiraan total harian.',
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: 'IDR' },
76
+ inLanguage: 'id',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: 'Konfigurasi saat ini',
85
+ labelPlan: 'Rencana rekomendasi',
86
+ unitDays: 'hari',
87
+ unitWeeks: 'minggu',
88
+ unitMonths: 'bulan',
89
+ labelWeight: 'Berat badan bayi',
90
+ labelFeedType: 'Jenis asupan',
91
+ feedBreast: 'ASI',
92
+ feedMixed: 'Campuran',
93
+ feedFormula: 'Formula',
94
+ labelFreeDemand: 'Sesuai permintaan',
95
+ labelMlPerFeed: 'ml per sesi',
96
+ labelFeedsCount: 'Sesi / 24 jam',
97
+ labelDailyTotal: 'Total harian (est.)',
98
+ labelHunger: 'Sinyal lapar',
99
+ labelFullness: 'Sinyal kenyang',
100
+ faqTitle: 'Pertanyaan umum',
101
+ bibliographyTitle: 'Referensi',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'Ringkasan: Asupan bayi', items: [
105
+ 'Kapasitas lambung bayi baru lahir hanya sekitar 5–7 ml pada hari pertama.',
106
+ 'Referensi umum untuk formula adalah 150 ml per kg berat badan per hari.',
107
+ 'ASI diberikan sesuai permintaan tanpa volume tetap.',
108
+ 'Frekuensi menurun seiring usia: dari 8–12 sesi ke 4–5 dalam 6 bulan.',
109
+ ]},
110
+ { type: 'title', text: 'Berapa banyak susu yang dibutuhkan bayi saya menurut berat dan usianya?', level: 2 },
111
+ { type: 'paragraph', html: 'Kebutuhan susu berubah dengan cepat di bulan-bulan pertama. Kalkulator memperkirakan jumlah berdasarkan berat saat ini dan usia bayi, mengikuti pedoman pediatrik WHO dan AAP.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5–7 ml', label: 'Hari 1 (ukuran ceri)' },
114
+ { value: '150 ml/kg', label: 'Referensi harian formula' },
115
+ { value: '8–12', label: 'Sesi/hari bayi baru lahir' },
116
+ ]},
117
+ { type: 'title', text: 'Ukuran lambung berdasarkan usia', level: 3 },
118
+ { type: 'table', headers: ['Usia', 'Ukuran ref.', 'Kapasitas', 'Sesi/hari'], rows: [
119
+ ['Hari 1', 'Ceri', '5–7 ml', '8–12'],
120
+ ['Hari 2–4', 'Kacang kenari', '22–27 ml', '8–12'],
121
+ ['Hari 5–30', 'Telur', '45–60 ml', '8–10'],
122
+ ['1–3 bulan', 'Maksimal', '90–120 ml', '7–8'],
123
+ ['3–6 bulan', 'Maksimal', '120–150 ml', '5–6'],
124
+ ['6+ bulan', 'Maksimal', '150–180 ml', '4–5'],
125
+ ]},
126
+ { type: 'tip', html: 'Indikator yang dapat diandalkan untuk asupan yang cukup adalah jumlah popok basah: antara 5 dan 6 popok per hari dari hari kelima menunjukkan hidrasi yang baik.' },
127
+ { type: 'title', text: 'ASI vs susu formula', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: 'ASI', description: 'Asupan alami sesuai permintaan.', points: ['Tanpa jadwal tetap', 'Antibodi aktif', 'Komposisi variabel', 'Sulit diukur volumenya'] },
130
+ { title: 'Susu formula', description: 'Asupan terjadwal dengan volume yang dapat dihitung.', points: ['Setiap 3–4 jam', 'Komposisi stabil', 'Mudah mengontrol asupan', 'Memerlukan persiapan steril'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ 'Penambahan berat badan memadai: 150–200 g/minggu di bulan pertama',
134
+ 'Setidaknya 5–6 popok basah per hari',
135
+ 'Bayi terlihat tenang setelah asupan',
136
+ 'Urin jernih atau kuning pucat',
137
+ ]},
138
+ ],
139
+ faqTitle: "Pertanyaan umum",
140
+ faq,
141
+ bibliographyTitle: "Referensi",
142
+ bibliography: [
143
+ {
144
+ name: 'WHO - Infant and young child feeding',
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: 'Ikatan Dokter Anak Indonesia (IDAI) - Nutrisi',
157
+ url: 'https://www.idai.or.id',
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 = 'calcolatore-poppate-neonato';
5
+ const title = 'Calcolatore delle Poppate del Neonato';
6
+ const description = 'Calcola quanta latte ha bisogno il tuo bambino in base al suo peso e all\'età. Poppate raccomandate, millilitri per poppata e segnali di fame e sazietà.';
7
+
8
+ const faq = [
9
+ {
10
+ question: 'Quanto latte ha bisogno un neonato?',
11
+ answer: 'Nel primo giorno di vita, lo stomaco del bambino ha le dimensioni di una ciliegia e ha bisogno solo di 5-7 ml per poppata. A partire dal quinto giorno la capacità cresce fino a 45–60 ml e le necessità aumentano progressivamente.',
12
+ },
13
+ {
14
+ question: 'Con quale frequenza deve mangiare un bambino?',
15
+ answer: 'I neonati hanno bisogno di 8-12 poppate al giorno. A 3 mesi di solito si distanziano a 7–8 poppate, e a 6 mesi a circa 5 poppate giornaliere.',
16
+ },
17
+ {
18
+ question: 'Come so se il mio bambino sta mangiando a sufficienza?',
19
+ answer: 'Gli indicatori più affidabili sono: aumento di peso adeguato, almeno 5–6 pannolini bagnati al giorno e il bambino che mostra segnali di sazietà dopo le poppate.',
20
+ },
21
+ {
22
+ question: 'L\'allattamento al seno e la formula hanno le stesse quantità?',
23
+ answer: 'Con l\'allattamento al seno si raccomanda di alimentare a richiesta senza misurare i volumi. Con la formula, il riferimento abituale è 150 ml per kg di peso al giorno, distribuiti nel numero di poppate in base all\'età.',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: 'Seleziona l\'età del bambino',
30
+ text: 'Scegli l\'unità (giorni, settimane o mesi) e regola il valore con lo slider o i tasti.',
31
+ },
32
+ {
33
+ name: 'Inserisci il peso del bambino',
34
+ text: 'Usa lo slider del peso o i tasti per regolare il peso attuale del bambino in chilogrammi.',
35
+ },
36
+ {
37
+ name: 'Seleziona il tipo di alimentazione',
38
+ text: 'Scegli tra seno, mista o formula per ottenere la guida più adattata.',
39
+ },
40
+ {
41
+ name: 'Consulta il piano raccomandato',
42
+ text: 'Il calcolatore mostra il numero di poppate, i millilitri per poppata e il totale giornaliero stimato.',
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: 'it',
77
+ };
78
+
79
+ export const content: BabyFeedingCalculatorLocaleContent = {
80
+ slug,
81
+ title,
82
+ description,
83
+ ui: {
84
+ labelConfig: 'Configurazione attuale',
85
+ labelPlan: 'Piano raccomandato',
86
+ unitDays: 'giorni',
87
+ unitWeeks: 'settimane',
88
+ unitMonths: 'mesi',
89
+ labelWeight: 'Peso del bambino',
90
+ labelFeedType: 'Tipo di alimentazione',
91
+ feedBreast: 'Seno',
92
+ feedMixed: 'Mista',
93
+ feedFormula: 'Formula',
94
+ labelFreeDemand: 'A richiesta',
95
+ labelMlPerFeed: 'ml per ogni poppata',
96
+ labelFeedsCount: 'Poppate / 24h',
97
+ labelDailyTotal: 'Totale giornaliero (stim.)',
98
+ labelHunger: 'Segnali di fame',
99
+ labelFullness: 'Segnali di sazietà',
100
+ faqTitle: 'Domande frequenti',
101
+ bibliographyTitle: 'Riferimenti',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'Riepilogo: Alimentazione del bambino', items: [
105
+ 'La capacità gastrica del neonato è di appena 5–7 ml nel primo giorno.',
106
+ 'Il riferimento generale per la formula è 150 ml per kg di peso al giorno.',
107
+ 'L\'allattamento al seno si offre a richiesta senza volumi fissi.',
108
+ 'La frequenza diminuisce con l\'età: da 8–12 poppate a 4–5 in 6 mesi.',
109
+ ]},
110
+ { type: 'title', text: 'Quanta latte ha bisogno il mio bambino secondo il suo peso e l\'età?', level: 2 },
111
+ { type: 'paragraph', html: 'Le necessità di latte cambiano rapidamente nei primi mesi. Il calcolatore stima la quantità secondo il peso attuale e l\'età del bambino, seguendo le linee guida pediatriche dell\'OMS e dell\'AAP.' },
112
+ { type: 'stats', columns: 3, items: [
113
+ { value: '5–7 ml', label: 'Giorno 1 (ciliegia)' },
114
+ { value: '150 ml/kg', label: 'Riferimento formula' },
115
+ { value: '8–12', label: 'Poppate/giorno neonato' },
116
+ ]},
117
+ { type: 'title', text: 'Dimensione dello stomaco per età', level: 3 },
118
+ { type: 'table', headers: ['Età', 'Dimensione rif.', 'Capacità', 'Poppate/giorno'], rows: [
119
+ ['Giorno 1', 'Ciliegia', '5–7 ml', '8–12'],
120
+ ['Giorni 2–4', 'Noce', '22–27 ml', '8–12'],
121
+ ['Giorni 5–30', 'Uovo', '45–60 ml', '8–10'],
122
+ ['1–3 mesi', 'Massima', '90–120 ml', '7–8'],
123
+ ['3–6 mesi', 'Massima', '120–150 ml', '5–6'],
124
+ ['6+ mesi', 'Massima', '150–180 ml', '4–5'],
125
+ ]},
126
+ { type: 'tip', html: 'Un indicatore affidabile di alimentazione adeguata è il numero di pannolini bagnati: tra 5 e 6 al giorno a partire dal quinto giorno indicano una buona idratazione.' },
127
+ { type: 'title', text: 'Allattamento al seno vs formula', level: 3 },
128
+ { type: 'comparative', columns: 2, items: [
129
+ { title: 'Allattamento al seno', description: 'Alimentazione naturale a richiesta.', points: ['Senza orario fisso', 'Anticorpi attivi', 'Composizione variabile', 'Difficile quantificare'] },
130
+ { title: 'Latte di formula', description: 'Poppate programmate con volume calcolabile.', points: ['Ogni 3–4 ore', 'Composizione stabile', 'Facile controllare l\'assunzione', 'Richiede preparazione sterile'] },
131
+ ]},
132
+ { type: 'list', items: [
133
+ 'Aumento di peso adeguato: 150–200 g/settimana nel primo mese',
134
+ 'Almeno 5–6 pannolini bagnati al giorno',
135
+ 'Il bambino appare tranquillo dopo le poppate',
136
+ 'Urina chiara o giallo molto pallido',
137
+ ]},
138
+ ],
139
+ faqTitle: "Domande frequenti",
140
+ faq,
141
+ bibliographyTitle: "Riferimenti",
142
+ bibliography: [
143
+ {
144
+ name: 'OMS - Alimentazione del lattante e del bambino piccolo',
145
+ url: 'https://www.who.int/it/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: 'Ministero della Salute (Italia) - Allattamento',
157
+ url: 'https://www.salute.gov.it/portale/allattamento/homeAllattamento.jsp',
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 = 'akachan-feeding-calculator';
5
+ const title = '赤ちゃんの授乳計算機';
6
+ const description = '体重と月齢に基づいて、赤ちゃんがどれだけのミルクを必要としているかを計算します。推奨される授乳回数、1回あたりのミリリットル、空腹と満腹のサイン。';
7
+
8
+ const faq = [
9
+ {
10
+ question: '新生児はどのくらいのミルクが必要ですか?',
11
+ answer: '生後1日目の赤ちゃんの胃はさくらんぼほどの大きさで、1回あたり5〜7mlしか必要ありません。5日目以降、容量は45〜60mlに増え、必要量は徐々に増加します。',
12
+ },
13
+ {
14
+ question: '赤ちゃんはどのくらいの頻度で食べるべきですか?',
15
+ answer: '新生児は1日に8〜12回の授乳が必要です。3ヶ月になると通常7〜8回に間隔が空き、6ヶ月になると1日約5回になります。',
16
+ },
17
+ {
18
+ question: '赤ちゃんが十分に食べているかどうか、どうすればわかりますか?',
19
+ answer: '最も信頼できる指標は、適切な体重増加、1日に少なくとも5〜6回のおむつの濡れ、そして授乳後に赤ちゃんが満腹のサインを示すことです。',
20
+ },
21
+ {
22
+ question: '母乳と粉ミルクの量は同じですか?',
23
+ answer: '母乳の場合は、量を測らずに自律授乳(欲しがるだけ与える)が推奨されます。粉ミルクの場合、一般的な基準は体重1kgあたり1日150mlで、月齢に応じた授乳回数で分割します。',
24
+ },
25
+ ];
26
+
27
+ const howTo = [
28
+ {
29
+ name: '赤ちゃんの月齢を選択',
30
+ text: '単位(日、週、月)を選択し、スライダーまたはボタンで値を調整します。',
31
+ },
32
+ {
33
+ name: '赤ちゃんの体重を入力',
34
+ text: '体重スライダーまたはボタンを使用して、赤ちゃんの現在の体重をキログラムで設定します。',
35
+ },
36
+ {
37
+ name: '授乳タイプを選択',
38
+ text: '母乳、混合、または粉ミルクから選択して、最も適したガイドを取得します。',
39
+ },
40
+ {
41
+ name: '推奨プランを確認',
42
+ text: '計算機には授乳回数、1回あたりのミリリットル、および推定の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: 'JPY' },
76
+ inLanguage: 'ja',
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: '授乳回数 / 24h',
97
+ labelDailyTotal: '1日の合計(推定)',
98
+ labelHunger: '空腹のサイン',
99
+ labelFullness: '満腹のサイン',
100
+ faqTitle: 'よくある質問',
101
+ bibliographyTitle: '参考文献',
102
+ },
103
+ seo: [
104
+ { type: 'summary', title: 'まとめ:赤ちゃんの食事', items: [
105
+ '新生児の胃の容量は、初日はわずか5〜7mlです。',
106
+ '粉ミルクの一般的な基準は、1日あたり体重1kgにつき150mlです。',
107
+ '母乳は、固定量なしで自律授乳で与えられます。',
108
+ '頻度は成長とともに減少します:6ヶ月で8〜12回から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: '粉ミルク1日基準' },
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日目以降、1日に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
+ '適切な体重増加:最初の1ヶ月で週150〜200g',
134
+ '少なくとも1日に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.jpeds.or.jp',
158
+ },
159
+ ],
160
+ howTo,
161
+ schemas: [faqSchema as any, howToSchema as any, appSchema],
162
+ };