@jjlmoya/utils-alcohol 1.22.0 → 1.24.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/entries.ts +17 -0
- package/src/tool/alcoholClearance/alcohol-clearance-calculator.css +431 -0
- package/src/tool/alcoholClearance/component.astro +0 -432
- package/src/tool/alcoholClearance/entry.ts +54 -0
- package/src/tool/alcoholClearance/index.ts +2 -56
- package/src/tool/beerCooler/beer-cooler.css +381 -0
- package/src/tool/beerCooler/component.astro +0 -382
- package/src/tool/beerCooler/entry.ts +53 -0
- package/src/tool/beerCooler/index.ts +2 -55
- package/src/tool/carbonationCalculator/beer-carbonation-calculator.css +483 -0
- package/src/tool/carbonationCalculator/component.astro +0 -484
- package/src/tool/carbonationCalculator/entry.ts +52 -0
- package/src/tool/carbonationCalculator/index.ts +2 -54
- package/src/tool/cocktailBalancer/cocktail-balancer.css +1218 -0
- package/src/tool/cocktailBalancer/component.astro +0 -1219
- package/src/tool/cocktailBalancer/entry.ts +68 -0
- package/src/tool/cocktailBalancer/index.ts +2 -70
- package/src/tool/partyKeg/component.astro +0 -661
- package/src/tool/partyKeg/entry.ts +50 -0
- package/src/tool/partyKeg/index.ts +2 -52
- package/src/tool/partyKeg/party-stock-calculator.css +660 -0
- package/src/tools.ts +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { AlcoholToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface CocktailBalancerUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
title: string;
|
|
6
|
+
presetsBtn: string;
|
|
7
|
+
saveBtn: string;
|
|
8
|
+
resetBtn: string;
|
|
9
|
+
emptyStateTitle: string;
|
|
10
|
+
emptyStateDescription: string;
|
|
11
|
+
addBtn: string;
|
|
12
|
+
addMoreBtn: string;
|
|
13
|
+
flavorProfileTitle: string;
|
|
14
|
+
volLabel: string;
|
|
15
|
+
sugarLabel: string;
|
|
16
|
+
colorLabel: string;
|
|
17
|
+
sourLawTitle: string;
|
|
18
|
+
acidDryLabel: string;
|
|
19
|
+
balanceLabel: string;
|
|
20
|
+
sweetLabel: string;
|
|
21
|
+
aiSuggestionTitle: string;
|
|
22
|
+
addIngredientTitle: string;
|
|
23
|
+
searchPlaceholder: string;
|
|
24
|
+
presetsTitle: string;
|
|
25
|
+
savedSectionTitle: string;
|
|
26
|
+
classicsSectionTitle: string;
|
|
27
|
+
confirmDeleteTitle: string;
|
|
28
|
+
confirmDeleteText: string;
|
|
29
|
+
cancelBtn: string;
|
|
30
|
+
deleteBtn: string;
|
|
31
|
+
verdictSpiritSeco: string;
|
|
32
|
+
verdictSoloDulce: string;
|
|
33
|
+
verdictMuyAcido: string;
|
|
34
|
+
verdictAcido: string;
|
|
35
|
+
verdictEquilibrado: string;
|
|
36
|
+
verdictDulce: string;
|
|
37
|
+
verdictEmpalagoso: string;
|
|
38
|
+
fixAddBitters: string;
|
|
39
|
+
fixAddSugar: string;
|
|
40
|
+
fixAddAcid: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type CocktailBalancerLocaleContent = ToolLocaleContent<CocktailBalancerUI>;
|
|
44
|
+
|
|
45
|
+
export const cocktailBalancer: AlcoholToolEntry<CocktailBalancerUI> = {
|
|
46
|
+
id: 'cocktail-balancer',
|
|
47
|
+
icons: {
|
|
48
|
+
bg: 'mdi:glass-cocktail',
|
|
49
|
+
fg: 'mdi:fruit-citrus',
|
|
50
|
+
},
|
|
51
|
+
i18n: {
|
|
52
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
53
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
54
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
55
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
56
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
57
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
58
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
59
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
60
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
61
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
62
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
63
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
64
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
65
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
66
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
67
|
+
},
|
|
68
|
+
};
|
|
@@ -1,73 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export interface CocktailBalancerUI {
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
title: string;
|
|
6
|
-
presetsBtn: string;
|
|
7
|
-
saveBtn: string;
|
|
8
|
-
resetBtn: string;
|
|
9
|
-
emptyStateTitle: string;
|
|
10
|
-
emptyStateDescription: string;
|
|
11
|
-
addBtn: string;
|
|
12
|
-
addMoreBtn: string;
|
|
13
|
-
flavorProfileTitle: string;
|
|
14
|
-
volLabel: string;
|
|
15
|
-
sugarLabel: string;
|
|
16
|
-
colorLabel: string;
|
|
17
|
-
sourLawTitle: string;
|
|
18
|
-
acidDryLabel: string;
|
|
19
|
-
balanceLabel: string;
|
|
20
|
-
sweetLabel: string;
|
|
21
|
-
aiSuggestionTitle: string;
|
|
22
|
-
addIngredientTitle: string;
|
|
23
|
-
searchPlaceholder: string;
|
|
24
|
-
presetsTitle: string;
|
|
25
|
-
savedSectionTitle: string;
|
|
26
|
-
classicsSectionTitle: string;
|
|
27
|
-
confirmDeleteTitle: string;
|
|
28
|
-
confirmDeleteText: string;
|
|
29
|
-
cancelBtn: string;
|
|
30
|
-
deleteBtn: string;
|
|
31
|
-
verdictSpiritSeco: string;
|
|
32
|
-
verdictSoloDulce: string;
|
|
33
|
-
verdictMuyAcido: string;
|
|
34
|
-
verdictAcido: string;
|
|
35
|
-
verdictEquilibrado: string;
|
|
36
|
-
verdictDulce: string;
|
|
37
|
-
verdictEmpalagoso: string;
|
|
38
|
-
fixAddBitters: string;
|
|
39
|
-
fixAddSugar: string;
|
|
40
|
-
fixAddAcid: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type CocktailBalancerLocaleContent = ToolLocaleContent<CocktailBalancerUI>;
|
|
44
|
-
|
|
45
|
-
export const cocktailBalancer: AlcoholToolEntry<CocktailBalancerUI> = {
|
|
46
|
-
id: 'cocktail-balancer',
|
|
47
|
-
icons: {
|
|
48
|
-
bg: 'mdi:glass-cocktail',
|
|
49
|
-
fg: 'mdi:fruit-citrus',
|
|
50
|
-
},
|
|
51
|
-
i18n: {
|
|
52
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
53
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
54
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
55
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
56
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
57
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
58
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
59
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
60
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
61
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
62
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
63
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
64
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
65
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
66
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
|
|
1
|
+
import { cocktailBalancer } from './entry';
|
|
2
|
+
export * from './entry';
|
|
71
3
|
export const COCKTAIL_BALANCER_TOOL: ToolDefinition = {
|
|
72
4
|
entry: cocktailBalancer as AlcoholToolEntry<Record<string, string>>,
|
|
73
5
|
Component: () => import('./component.astro'),
|