@jjlmoya/utils-babies 1.11.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -4
- package/scripts/postinstall.mjs +27 -0
- package/src/category/index.ts +6 -6
- package/src/entries.ts +20 -0
- package/src/tool/baby-feeding-calculator/baby-feeding-calculator.css +402 -0
- package/src/tool/baby-feeding-calculator/component.astro +0 -404
- package/src/tool/baby-feeding-calculator/entry.ts +47 -0
- package/src/tool/baby-feeding-calculator/index.ts +2 -49
- package/src/tool/baby-percentile-calculator/baby-weight-height-percentile.css +451 -0
- package/src/tool/baby-percentile-calculator/component.astro +0 -453
- package/src/tool/baby-percentile-calculator/entry.ts +55 -0
- package/src/tool/baby-percentile-calculator/index.ts +2 -57
- package/src/tool/baby-size-converter/baby-size-converter.css +553 -0
- package/src/tool/baby-size-converter/component.astro +0 -555
- package/src/tool/baby-size-converter/entry.ts +53 -0
- package/src/tool/baby-size-converter/index.ts +2 -55
- package/src/tool/fertile-days-estimator/component.astro +0 -551
- package/src/tool/fertile-days-estimator/entry.ts +47 -0
- package/src/tool/fertile-days-estimator/fertile-days-calculator.css +549 -0
- package/src/tool/fertile-days-estimator/index.ts +2 -49
- package/src/tool/pregnancy-calculator/component.astro +0 -1054
- package/src/tool/pregnancy-calculator/entry.ts +87 -0
- package/src/tool/pregnancy-calculator/index.ts +2 -89
- package/src/tool/pregnancy-calculator/pregnancy-weeks-calculator.css +1053 -0
- package/src/tool/vaccination-calendar/baby-vaccination-calendar-spain.css +396 -0
- package/src/tool/vaccination-calendar/component.astro +0 -398
- package/src/tool/vaccination-calendar/entry.ts +67 -0
- package/src/tool/vaccination-calendar/index.ts +2 -69
- package/src/tools.ts +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { BabiesToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface MilestoneI18n {
|
|
4
|
+
analogies: { fruits: string; geek: string; sweets: string };
|
|
5
|
+
size: string;
|
|
6
|
+
biolook: string;
|
|
7
|
+
mom: string;
|
|
8
|
+
partner: string;
|
|
9
|
+
symptoms: string[];
|
|
10
|
+
alerts: string[];
|
|
11
|
+
wonder: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface PregnancyCalculatorUI {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
btnFUR: string;
|
|
17
|
+
btnConception: string;
|
|
18
|
+
labelPartnerMode: string;
|
|
19
|
+
labelFUR: string;
|
|
20
|
+
labelConception: string;
|
|
21
|
+
labelCycleLength: string;
|
|
22
|
+
unitDays: string;
|
|
23
|
+
labelWeeks: string;
|
|
24
|
+
labelTrimester: string;
|
|
25
|
+
labelEDD: string;
|
|
26
|
+
eddPlaceholder: string;
|
|
27
|
+
eddNote: string;
|
|
28
|
+
btnCalendar: string;
|
|
29
|
+
labelFruits: string;
|
|
30
|
+
labelGeek: string;
|
|
31
|
+
labelSweets: string;
|
|
32
|
+
labelBioLabel: string;
|
|
33
|
+
labelMomKey: string;
|
|
34
|
+
labelPartnerKey: string;
|
|
35
|
+
labelNormalMolestias: string;
|
|
36
|
+
labelAlert: string;
|
|
37
|
+
labelTimeline: string;
|
|
38
|
+
labelStartHere: string;
|
|
39
|
+
labelStartBody: string;
|
|
40
|
+
labelSem: string;
|
|
41
|
+
labelWeekBadge: string;
|
|
42
|
+
weeksFormat: string;
|
|
43
|
+
trimesterSuffix: string;
|
|
44
|
+
eggFutureTitle: string;
|
|
45
|
+
eggFutureBody: string;
|
|
46
|
+
eggTooOldTitle: string;
|
|
47
|
+
eggTooOldBody: string;
|
|
48
|
+
faqTitle: string;
|
|
49
|
+
bibliographyTitle: string;
|
|
50
|
+
dayLabel: string;
|
|
51
|
+
monthLabel: string;
|
|
52
|
+
yearLabel: string;
|
|
53
|
+
icsSummary: string;
|
|
54
|
+
icsDescription: string;
|
|
55
|
+
icsFilename: string;
|
|
56
|
+
monthsData: string;
|
|
57
|
+
milestonesData: string;
|
|
58
|
+
timelineLabelsData: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type PregnancyCalculatorLocaleContent = ToolLocaleContent<PregnancyCalculatorUI>;
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
export const pregnancyCalculator: BabiesToolEntry<PregnancyCalculatorUI> = {
|
|
68
|
+
id: 'pregnancy-calculator',
|
|
69
|
+
icons: { bg: 'mdi:human-pregnant', fg: 'mdi:calendar-heart' },
|
|
70
|
+
i18n: {
|
|
71
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
72
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
73
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
74
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
75
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
76
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
77
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
78
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
79
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
80
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
81
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
82
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
83
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
84
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
85
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
86
|
+
},
|
|
87
|
+
};
|
|
@@ -1,92 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export interface MilestoneI18n {
|
|
4
|
-
analogies: { fruits: string; geek: string; sweets: string };
|
|
5
|
-
size: string;
|
|
6
|
-
biolook: string;
|
|
7
|
-
mom: string;
|
|
8
|
-
partner: string;
|
|
9
|
-
symptoms: string[];
|
|
10
|
-
alerts: string[];
|
|
11
|
-
wonder: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface PregnancyCalculatorUI {
|
|
15
|
-
[key: string]: string;
|
|
16
|
-
btnFUR: string;
|
|
17
|
-
btnConception: string;
|
|
18
|
-
labelPartnerMode: string;
|
|
19
|
-
labelFUR: string;
|
|
20
|
-
labelConception: string;
|
|
21
|
-
labelCycleLength: string;
|
|
22
|
-
unitDays: string;
|
|
23
|
-
labelWeeks: string;
|
|
24
|
-
labelTrimester: string;
|
|
25
|
-
labelEDD: string;
|
|
26
|
-
eddPlaceholder: string;
|
|
27
|
-
eddNote: string;
|
|
28
|
-
btnCalendar: string;
|
|
29
|
-
labelFruits: string;
|
|
30
|
-
labelGeek: string;
|
|
31
|
-
labelSweets: string;
|
|
32
|
-
labelBioLabel: string;
|
|
33
|
-
labelMomKey: string;
|
|
34
|
-
labelPartnerKey: string;
|
|
35
|
-
labelNormalMolestias: string;
|
|
36
|
-
labelAlert: string;
|
|
37
|
-
labelTimeline: string;
|
|
38
|
-
labelStartHere: string;
|
|
39
|
-
labelStartBody: string;
|
|
40
|
-
labelSem: string;
|
|
41
|
-
labelWeekBadge: string;
|
|
42
|
-
weeksFormat: string;
|
|
43
|
-
trimesterSuffix: string;
|
|
44
|
-
eggFutureTitle: string;
|
|
45
|
-
eggFutureBody: string;
|
|
46
|
-
eggTooOldTitle: string;
|
|
47
|
-
eggTooOldBody: string;
|
|
48
|
-
faqTitle: string;
|
|
49
|
-
bibliographyTitle: string;
|
|
50
|
-
dayLabel: string;
|
|
51
|
-
monthLabel: string;
|
|
52
|
-
yearLabel: string;
|
|
53
|
-
icsSummary: string;
|
|
54
|
-
icsDescription: string;
|
|
55
|
-
icsFilename: string;
|
|
56
|
-
monthsData: string;
|
|
57
|
-
milestonesData: string;
|
|
58
|
-
timelineLabelsData: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type PregnancyCalculatorLocaleContent = ToolLocaleContent<PregnancyCalculatorUI>;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export const pregnancyCalculator: BabiesToolEntry<PregnancyCalculatorUI> = {
|
|
68
|
-
id: 'pregnancy-calculator',
|
|
69
|
-
icons: { bg: 'mdi:human-pregnant', fg: 'mdi:calendar-heart' },
|
|
70
|
-
i18n: {
|
|
71
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
72
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
73
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
74
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
75
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
76
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
77
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
78
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
79
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
80
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
81
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
82
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
83
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
84
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
85
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
|
|
1
|
+
import { pregnancyCalculator } from './entry';
|
|
2
|
+
export * from './entry';
|
|
90
3
|
export const PREGNANCY_CALCULATOR_TOOL: ToolDefinition = {
|
|
91
4
|
entry: pregnancyCalculator,
|
|
92
5
|
Component: () => import('./component.astro'),
|