@jjlmoya/utils-alcohol 1.24.0 → 1.26.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 (144) hide show
  1. package/package.json +1 -1
  2. package/src/entries.ts +7 -1
  3. package/src/index.ts +1 -0
  4. package/src/pages/[locale]/[slug].astro +7 -3
  5. package/src/tests/locale_completeness.test.ts +4 -9
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/alcoholClearance/alcohol-clearance-calculator.css +23 -23
  8. package/src/tool/alcoholClearance/bibliography.ts +6 -0
  9. package/src/tool/alcoholClearance/entry.ts +1 -0
  10. package/src/tool/alcoholClearance/i18n/de.ts +1 -12
  11. package/src/tool/alcoholClearance/i18n/en.ts +1 -12
  12. package/src/tool/alcoholClearance/i18n/es.ts +1 -12
  13. package/src/tool/alcoholClearance/i18n/fr.ts +1 -12
  14. package/src/tool/alcoholClearance/i18n/id.ts +1 -12
  15. package/src/tool/alcoholClearance/i18n/it.ts +1 -12
  16. package/src/tool/alcoholClearance/i18n/ja.ts +1 -12
  17. package/src/tool/alcoholClearance/i18n/ko.ts +1 -12
  18. package/src/tool/alcoholClearance/i18n/nl.ts +1 -12
  19. package/src/tool/alcoholClearance/i18n/pl.ts +1 -12
  20. package/src/tool/alcoholClearance/i18n/pt.ts +1 -12
  21. package/src/tool/alcoholClearance/i18n/ru.ts +1 -12
  22. package/src/tool/alcoholClearance/i18n/sv.ts +1 -12
  23. package/src/tool/alcoholClearance/i18n/tr.ts +1 -12
  24. package/src/tool/alcoholClearance/i18n/zh.ts +1 -12
  25. package/src/tool/beerCooler/beer-cooler.css +22 -22
  26. package/src/tool/beerCooler/bibliography.ts +6 -0
  27. package/src/tool/beerCooler/entry.ts +1 -0
  28. package/src/tool/beerCooler/i18n/de.ts +1 -12
  29. package/src/tool/beerCooler/i18n/en.ts +1 -12
  30. package/src/tool/beerCooler/i18n/es.ts +1 -12
  31. package/src/tool/beerCooler/i18n/fr.ts +1 -12
  32. package/src/tool/beerCooler/i18n/id.ts +1 -12
  33. package/src/tool/beerCooler/i18n/it.ts +1 -12
  34. package/src/tool/beerCooler/i18n/ja.ts +1 -12
  35. package/src/tool/beerCooler/i18n/ko.ts +1 -12
  36. package/src/tool/beerCooler/i18n/nl.ts +1 -12
  37. package/src/tool/beerCooler/i18n/pl.ts +1 -12
  38. package/src/tool/beerCooler/i18n/pt.ts +1 -12
  39. package/src/tool/beerCooler/i18n/ru.ts +1 -12
  40. package/src/tool/beerCooler/i18n/sv.ts +1 -12
  41. package/src/tool/beerCooler/i18n/tr.ts +1 -12
  42. package/src/tool/beerCooler/i18n/zh.ts +1 -12
  43. package/src/tool/carbonationCalculator/beer-carbonation-calculator.css +19 -19
  44. package/src/tool/carbonationCalculator/bibliography.ts +6 -0
  45. package/src/tool/carbonationCalculator/entry.ts +1 -0
  46. package/src/tool/carbonationCalculator/i18n/de.ts +1 -12
  47. package/src/tool/carbonationCalculator/i18n/en.ts +1 -12
  48. package/src/tool/carbonationCalculator/i18n/es.ts +1 -12
  49. package/src/tool/carbonationCalculator/i18n/fr.ts +1 -12
  50. package/src/tool/carbonationCalculator/i18n/id.ts +1 -12
  51. package/src/tool/carbonationCalculator/i18n/it.ts +1 -12
  52. package/src/tool/carbonationCalculator/i18n/ja.ts +1 -12
  53. package/src/tool/carbonationCalculator/i18n/ko.ts +1 -12
  54. package/src/tool/carbonationCalculator/i18n/nl.ts +1 -12
  55. package/src/tool/carbonationCalculator/i18n/pl.ts +1 -12
  56. package/src/tool/carbonationCalculator/i18n/pt.ts +1 -12
  57. package/src/tool/carbonationCalculator/i18n/ru.ts +1 -12
  58. package/src/tool/carbonationCalculator/i18n/sv.ts +1 -12
  59. package/src/tool/carbonationCalculator/i18n/tr.ts +1 -12
  60. package/src/tool/carbonationCalculator/i18n/zh.ts +1 -12
  61. package/src/tool/cocktailBalancer/bibliography.ts +7 -0
  62. package/src/tool/cocktailBalancer/cocktail-balancer.css +59 -59
  63. package/src/tool/cocktailBalancer/entry.ts +1 -0
  64. package/src/tool/cocktailBalancer/i18n/de.ts +1 -16
  65. package/src/tool/cocktailBalancer/i18n/en.ts +1 -16
  66. package/src/tool/cocktailBalancer/i18n/es.ts +1 -16
  67. package/src/tool/cocktailBalancer/i18n/fr.ts +1 -16
  68. package/src/tool/cocktailBalancer/i18n/id.ts +1 -16
  69. package/src/tool/cocktailBalancer/i18n/it.ts +1 -16
  70. package/src/tool/cocktailBalancer/i18n/ja.ts +1 -16
  71. package/src/tool/cocktailBalancer/i18n/ko.ts +1 -16
  72. package/src/tool/cocktailBalancer/i18n/nl.ts +1 -16
  73. package/src/tool/cocktailBalancer/i18n/pl.ts +1 -16
  74. package/src/tool/cocktailBalancer/i18n/pt.ts +1 -16
  75. package/src/tool/cocktailBalancer/i18n/ru.ts +1 -16
  76. package/src/tool/cocktailBalancer/i18n/sv.ts +1 -16
  77. package/src/tool/cocktailBalancer/i18n/tr.ts +1 -16
  78. package/src/tool/cocktailBalancer/i18n/zh.ts +1 -16
  79. package/src/tool/fortifiedWine/bibliography.astro +14 -0
  80. package/src/tool/fortifiedWine/bibliography.ts +7 -0
  81. package/src/tool/fortifiedWine/component.astro +331 -0
  82. package/src/tool/fortifiedWine/entry.ts +62 -0
  83. package/src/tool/fortifiedWine/fortified-wine-builder.css +534 -0
  84. package/src/tool/fortifiedWine/i18n/de.ts +66 -0
  85. package/src/tool/fortifiedWine/i18n/en.ts +140 -0
  86. package/src/tool/fortifiedWine/i18n/es.ts +140 -0
  87. package/src/tool/fortifiedWine/i18n/fr.ts +91 -0
  88. package/src/tool/fortifiedWine/i18n/id.ts +91 -0
  89. package/src/tool/fortifiedWine/i18n/it.ts +91 -0
  90. package/src/tool/fortifiedWine/i18n/ja.ts +91 -0
  91. package/src/tool/fortifiedWine/i18n/ko.ts +91 -0
  92. package/src/tool/fortifiedWine/i18n/nl.ts +91 -0
  93. package/src/tool/fortifiedWine/i18n/pl.ts +91 -0
  94. package/src/tool/fortifiedWine/i18n/pt.ts +91 -0
  95. package/src/tool/fortifiedWine/i18n/ru.ts +91 -0
  96. package/src/tool/fortifiedWine/i18n/sv.ts +91 -0
  97. package/src/tool/fortifiedWine/i18n/tr.ts +91 -0
  98. package/src/tool/fortifiedWine/i18n/zh.ts +91 -0
  99. package/src/tool/fortifiedWine/index.ts +8 -0
  100. package/src/tool/fortifiedWine/logic.ts +46 -0
  101. package/src/tool/fortifiedWine/seo.astro +41 -0
  102. package/src/tool/jelloShotLab/bibliography.astro +14 -0
  103. package/src/tool/jelloShotLab/bibliography.ts +8 -0
  104. package/src/tool/jelloShotLab/component.astro +183 -0
  105. package/src/tool/jelloShotLab/entry.ts +62 -0
  106. package/src/tool/jelloShotLab/i18n/de.ts +156 -0
  107. package/src/tool/jelloShotLab/i18n/en.ts +156 -0
  108. package/src/tool/jelloShotLab/i18n/es.ts +156 -0
  109. package/src/tool/jelloShotLab/i18n/fr.ts +156 -0
  110. package/src/tool/jelloShotLab/i18n/id.ts +156 -0
  111. package/src/tool/jelloShotLab/i18n/it.ts +156 -0
  112. package/src/tool/jelloShotLab/i18n/ja.ts +156 -0
  113. package/src/tool/jelloShotLab/i18n/ko.ts +156 -0
  114. package/src/tool/jelloShotLab/i18n/nl.ts +156 -0
  115. package/src/tool/jelloShotLab/i18n/pl.ts +156 -0
  116. package/src/tool/jelloShotLab/i18n/pt.ts +156 -0
  117. package/src/tool/jelloShotLab/i18n/ru.ts +156 -0
  118. package/src/tool/jelloShotLab/i18n/sv.ts +156 -0
  119. package/src/tool/jelloShotLab/i18n/tr.ts +156 -0
  120. package/src/tool/jelloShotLab/i18n/zh.ts +156 -0
  121. package/src/tool/jelloShotLab/index.ts +11 -0
  122. package/src/tool/jelloShotLab/jello-shot-lab.css +229 -0
  123. package/src/tool/jelloShotLab/logic.ts +29 -0
  124. package/src/tool/jelloShotLab/seo.astro +53 -0
  125. package/src/tool/partyKeg/bibliography.ts +6 -0
  126. package/src/tool/partyKeg/entry.ts +1 -0
  127. package/src/tool/partyKeg/i18n/de.ts +1 -12
  128. package/src/tool/partyKeg/i18n/en.ts +1 -12
  129. package/src/tool/partyKeg/i18n/es.ts +1 -12
  130. package/src/tool/partyKeg/i18n/fr.ts +1 -12
  131. package/src/tool/partyKeg/i18n/id.ts +1 -12
  132. package/src/tool/partyKeg/i18n/it.ts +1 -12
  133. package/src/tool/partyKeg/i18n/ja.ts +1 -12
  134. package/src/tool/partyKeg/i18n/ko.ts +1 -12
  135. package/src/tool/partyKeg/i18n/nl.ts +1 -12
  136. package/src/tool/partyKeg/i18n/pl.ts +1 -12
  137. package/src/tool/partyKeg/i18n/pt.ts +1 -12
  138. package/src/tool/partyKeg/i18n/ru.ts +1 -12
  139. package/src/tool/partyKeg/i18n/sv.ts +1 -12
  140. package/src/tool/partyKeg/i18n/tr.ts +1 -12
  141. package/src/tool/partyKeg/i18n/zh.ts +1 -12
  142. package/src/tool/partyKeg/party-stock-calculator.css +23 -23
  143. package/src/tools.ts +5 -0
  144. package/src/types.ts +1 -1
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = '자주 묻는 질문';
32
- const bibliographyTitle = '참고문헌 및 출처';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Veelgestelde Vragen';
32
- const bibliographyTitle = 'Bibliografie & Bronnen';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Najczęściej Zadawane Pytania';
32
- const bibliographyTitle = 'Bibliografia i Źródła';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Perguntas Frequentes';
32
- const bibliographyTitle = 'Bibliografia e Fontes';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Часто Задаваемые Вопросы';
32
- const bibliographyTitle = 'Библиография и Источники';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Vanliga Frågor';
32
- const bibliographyTitle = 'Bibliografi & Källor';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Sıkça Sorulan Sorular';
32
- const bibliographyTitle = 'Bibliyografya & Kaynaklar';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = '常见问题';
32
- const bibliographyTitle = '参考文献和来源';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -0,0 +1,7 @@
1
+ import type { BibliographyEntry } from '../../types';
2
+
3
+ export const bibliography: BibliographyEntry[] = [
4
+ { name: 'Liquid Intelligence: The Art and Science of the Perfect Cocktail', url: 'https://www.indigo.ca/en-ca/liquid-intelligence-the-art-and-science-of-the-perfect-cocktail/9780393089035.html' },
5
+ { name: 'Cocktails: The Science of Shaking', url: 'https://cookingissues.com/2009/07/22/cocktails-the-science-of-shaking/' },
6
+ { name: "Cocktail Balance - Difford's Guide", url: 'https://www.diffordsguide.com/encyclopedia/1066/cocktails/cocktail-balance' },
7
+ ];