@jjlmoya/utils-converters 1.11.0 → 1.14.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 (47) hide show
  1. package/package.json +3 -2
  2. package/src/category/index.ts +20 -20
  3. package/src/entries.ts +62 -0
  4. package/src/index.ts +1 -1
  5. package/src/pages/[locale]/[slug].astro +3 -4
  6. package/src/tool/avifAJpg/entry.ts +29 -0
  7. package/src/tool/avifAJpg/index.ts +5 -38
  8. package/src/tool/avifAPng/entry.ts +29 -0
  9. package/src/tool/avifAPng/index.ts +5 -38
  10. package/src/tool/avifAWebp/entry.ts +29 -0
  11. package/src/tool/avifAWebp/index.ts +5 -38
  12. package/src/tool/bmpAJpg/entry.ts +29 -0
  13. package/src/tool/bmpAJpg/index.ts +5 -38
  14. package/src/tool/bmpAPng/entry.ts +29 -0
  15. package/src/tool/bmpAPng/index.ts +5 -38
  16. package/src/tool/bmpAWebp/entry.ts +29 -0
  17. package/src/tool/bmpAWebp/index.ts +5 -38
  18. package/src/tool/gifAJpg/entry.ts +29 -0
  19. package/src/tool/gifAJpg/index.ts +5 -38
  20. package/src/tool/gifAPng/entry.ts +29 -0
  21. package/src/tool/gifAPng/index.ts +5 -38
  22. package/src/tool/gifAWebp/entry.ts +29 -0
  23. package/src/tool/gifAWebp/index.ts +5 -38
  24. package/src/tool/imagenBase64/index.ts +3 -7
  25. package/src/tool/jpgAIco/entry.ts +29 -0
  26. package/src/tool/jpgAIco/index.ts +5 -38
  27. package/src/tool/jpgAPng/entry.ts +29 -0
  28. package/src/tool/jpgAPng/index.ts +5 -38
  29. package/src/tool/jpgAWebp/entry.ts +29 -0
  30. package/src/tool/jpgAWebp/index.ts +5 -38
  31. package/src/tool/pngAIco/entry.ts +29 -0
  32. package/src/tool/pngAIco/index.ts +5 -38
  33. package/src/tool/pngAJpg/entry.ts +29 -0
  34. package/src/tool/pngAJpg/index.ts +5 -38
  35. package/src/tool/pngAWebp/entry.ts +29 -0
  36. package/src/tool/pngAWebp/index.ts +5 -38
  37. package/src/tool/svgAJpg/entry.ts +29 -0
  38. package/src/tool/svgAJpg/index.ts +5 -38
  39. package/src/tool/svgAPng/entry.ts +29 -0
  40. package/src/tool/svgAPng/index.ts +5 -38
  41. package/src/tool/webpAIco/entry.ts +29 -0
  42. package/src/tool/webpAIco/index.ts +5 -38
  43. package/src/tool/webpAJpg/entry.ts +29 -0
  44. package/src/tool/webpAJpg/index.ts +5 -38
  45. package/src/tool/webpAPng/entry.ts +29 -0
  46. package/src/tool/webpAPng/index.ts +5 -38
  47. package/src/tools.ts +1 -1
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type GifAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const gifAJpg: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'gif-a-jpg',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ de: () => import('./i18n/de').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ es: () => import('./i18n/es').then((m) => m.content),
16
+ fr: () => import('./i18n/fr').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import GifAJpgCalculator from './component.astro';
4
- import GifAJpgSEO from './seo.astro';
5
- import GifAJpgBibliography from './bibliography.astro';
6
-
7
- export type GifAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const gifAJpg: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'gif-a-jpg',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- de: () => import('./i18n/de').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- es: () => import('./i18n/es').then((m) => m.content),
19
- fr: () => import('./i18n/fr').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { GifAJpgCalculator, GifAJpgSEO, GifAJpgBibliography };
35
-
1
+ import { gifAJpg } from './entry';
2
+ export * from './entry';
36
3
  export const GIF_A_JPG_TOOL: ToolDefinition = {
37
4
  entry: gifAJpg,
38
- Component: GifAJpgCalculator,
39
- SEOComponent: GifAJpgSEO,
40
- BibliographyComponent: GifAJpgBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type GifAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const gifAPng: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'gif-a-png',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ es: () => import('./i18n/es').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ fr: () => import('./i18n/fr').then((m) => m.content),
16
+ de: () => import('./i18n/de').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import GifAPngCalculator from './component.astro';
4
- import GifAPngSEO from './seo.astro';
5
- import GifAPngBibliography from './bibliography.astro';
6
-
7
- export type GifAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const gifAPng: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'gif-a-png',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- es: () => import('./i18n/es').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- fr: () => import('./i18n/fr').then((m) => m.content),
19
- de: () => import('./i18n/de').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { GifAPngCalculator, GifAPngSEO, GifAPngBibliography };
35
-
1
+ import { gifAPng } from './entry';
2
+ export * from './entry';
36
3
  export const GIF_A_PNG_TOOL: ToolDefinition = {
37
4
  entry: gifAPng,
38
- Component: GifAPngCalculator,
39
- SEOComponent: GifAPngSEO,
40
- BibliographyComponent: GifAPngBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type GifAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const gifAWebp: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'gif-a-webp',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ es: () => import('./i18n/es').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ fr: () => import('./i18n/fr').then((m) => m.content),
16
+ de: () => import('./i18n/de').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import GifAWebpCalculator from './component.astro';
4
- import GifAWebpSEO from './seo.astro';
5
- import GifAWebpBibliography from './bibliography.astro';
6
-
7
- export type GifAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const gifAWebp: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'gif-a-webp',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- es: () => import('./i18n/es').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- fr: () => import('./i18n/fr').then((m) => m.content),
19
- de: () => import('./i18n/de').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { GifAWebpCalculator, GifAWebpSEO, GifAWebpBibliography };
35
-
1
+ import { gifAWebp } from './entry';
2
+ export * from './entry';
36
3
  export const GIF_A_WEBP_TOOL: ToolDefinition = {
37
4
  entry: gifAWebp,
38
- Component: GifAWebpCalculator,
39
- SEOComponent: GifAWebpSEO,
40
- BibliographyComponent: GifAWebpBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -1,7 +1,4 @@
1
1
  import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import ImagenBase64Calculator from './component.astro';
3
- import ImagenBase64SEO from './seo.astro';
4
- import ImagenBase64Bibliography from './bibliography.astro';
5
2
 
6
3
  export interface ImageToBase64UI {
7
4
  [key: string]: string;
@@ -45,11 +42,10 @@ export const imagenBase64: ConvertersToolEntry<ImageToBase64UI> = {
45
42
  },
46
43
  };
47
44
 
48
- export { ImagenBase64Calculator, ImagenBase64SEO, ImagenBase64Bibliography };
49
45
 
50
46
  export const IMAGEN_BASE64_TOOL: ToolDefinition = {
51
47
  entry: imagenBase64,
52
- Component: ImagenBase64Calculator,
53
- SEOComponent: ImagenBase64SEO,
54
- BibliographyComponent: ImagenBase64Bibliography,
48
+ Component: () => import('./component.astro'),
49
+ SEOComponent: () => import('./seo.astro'),
50
+ BibliographyComponent: () => import('./bibliography.astro'),
55
51
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type JpgAIcoLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const jpgAIco: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'jpg-a-ico',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ es: () => import('./i18n/es').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ fr: () => import('./i18n/fr').then((m) => m.content),
16
+ de: () => import('./i18n/de').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import JpgAIcoCalculator from './component.astro';
4
- import JpgAIcoSEO from './seo.astro';
5
- import JpgAIcoBibliography from './bibliography.astro';
6
-
7
- export type JpgAIcoLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const jpgAIco: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'jpg-a-ico',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- es: () => import('./i18n/es').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- fr: () => import('./i18n/fr').then((m) => m.content),
19
- de: () => import('./i18n/de').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { JpgAIcoCalculator, JpgAIcoSEO, JpgAIcoBibliography };
35
-
1
+ import { jpgAIco } from './entry';
2
+ export * from './entry';
36
3
  export const JPG_A_ICO_TOOL: ToolDefinition = {
37
4
  entry: jpgAIco,
38
- Component: JpgAIcoCalculator,
39
- SEOComponent: JpgAIcoSEO,
40
- BibliographyComponent: JpgAIcoBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type JpgAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const jpgAPng: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'jpg-a-png',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ de: () => import('./i18n/de').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ es: () => import('./i18n/es').then((m) => m.content),
16
+ fr: () => import('./i18n/fr').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import JpgAPngCalculator from './component.astro';
4
- import JpgAPngSEO from './seo.astro';
5
- import JpgAPngBibliography from './bibliography.astro';
6
-
7
- export type JpgAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const jpgAPng: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'jpg-a-png',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- de: () => import('./i18n/de').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- es: () => import('./i18n/es').then((m) => m.content),
19
- fr: () => import('./i18n/fr').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { JpgAPngCalculator, JpgAPngSEO, JpgAPngBibliography };
35
-
1
+ import { jpgAPng } from './entry';
2
+ export * from './entry';
36
3
  export const JPG_A_PNG_TOOL: ToolDefinition = {
37
4
  entry: jpgAPng,
38
- Component: JpgAPngCalculator,
39
- SEOComponent: JpgAPngSEO,
40
- BibliographyComponent: JpgAPngBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type JpgAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const jpgAWebp: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'jpg-a-webp',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ es: () => import('./i18n/es').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ fr: () => import('./i18n/fr').then((m) => m.content),
16
+ de: () => import('./i18n/de').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import JpgAWebpCalculator from './component.astro';
4
- import JpgAWebpSEO from './seo.astro';
5
- import JpgAWebpBibliography from './bibliography.astro';
6
-
7
- export type JpgAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const jpgAWebp: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'jpg-a-webp',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- es: () => import('./i18n/es').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- fr: () => import('./i18n/fr').then((m) => m.content),
19
- de: () => import('./i18n/de').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { JpgAWebpCalculator, JpgAWebpSEO, JpgAWebpBibliography };
35
-
1
+ import { jpgAWebp } from './entry';
2
+ export * from './entry';
36
3
  export const JPG_A_WEBP_TOOL: ToolDefinition = {
37
4
  entry: jpgAWebp,
38
- Component: JpgAWebpCalculator,
39
- SEOComponent: JpgAWebpSEO,
40
- BibliographyComponent: JpgAWebpBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type PngAIcoLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const pngAIco: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'png-a-ico',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ es: () => import('./i18n/es').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ fr: () => import('./i18n/fr').then((m) => m.content),
16
+ de: () => import('./i18n/de').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import PngAIcoCalculator from './component.astro';
4
- import PngAIcoSEO from './seo.astro';
5
- import PngAIcoBibliography from './bibliography.astro';
6
-
7
- export type PngAIcoLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const pngAIco: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'png-a-ico',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- es: () => import('./i18n/es').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- fr: () => import('./i18n/fr').then((m) => m.content),
19
- de: () => import('./i18n/de').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { PngAIcoCalculator, PngAIcoSEO, PngAIcoBibliography };
35
-
1
+ import { pngAIco } from './entry';
2
+ export * from './entry';
36
3
  export const PNG_A_ICO_TOOL: ToolDefinition = {
37
4
  entry: pngAIco,
38
- Component: PngAIcoCalculator,
39
- SEOComponent: PngAIcoSEO,
40
- BibliographyComponent: PngAIcoBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type PngAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const pngAJpg: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'png-a-jpg',
8
+ icons: {
9
+ bg: 'mdi:file-image',
10
+ fg: 'mdi:file-export',
11
+ },
12
+ i18n: {
13
+ de: () => import('./i18n/de').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ es: () => import('./i18n/es').then((m) => m.content),
16
+ fr: () => import('./i18n/fr').then((m) => m.content),
17
+ id: () => import('./i18n/id').then((m) => m.content),
18
+ it: () => import('./i18n/it').then((m) => m.content),
19
+ ja: () => import('./i18n/ja').then((m) => m.content),
20
+ ko: () => import('./i18n/ko').then((m) => m.content),
21
+ nl: () => import('./i18n/nl').then((m) => m.content),
22
+ pl: () => import('./i18n/pl').then((m) => m.content),
23
+ pt: () => import('./i18n/pt').then((m) => m.content),
24
+ ru: () => import('./i18n/ru').then((m) => m.content),
25
+ sv: () => import('./i18n/sv').then((m) => m.content),
26
+ tr: () => import('./i18n/tr').then((m) => m.content),
27
+ zh: () => import('./i18n/zh').then((m) => m.content),
28
+ },
29
+ };
@@ -1,41 +1,8 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
- import PngAJpgCalculator from './component.astro';
4
- import PngAJpgSEO from './seo.astro';
5
- import PngAJpgBibliography from './bibliography.astro';
6
-
7
- export type PngAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
8
-
9
- export const pngAJpg: ConvertersToolEntry<ImageConverterUI> = {
10
- id: 'png-a-jpg',
11
- icons: {
12
- bg: 'mdi:file-image',
13
- fg: 'mdi:file-export',
14
- },
15
- i18n: {
16
- de: () => import('./i18n/de').then((m) => m.content),
17
- en: () => import('./i18n/en').then((m) => m.content),
18
- es: () => import('./i18n/es').then((m) => m.content),
19
- fr: () => import('./i18n/fr').then((m) => m.content),
20
- id: () => import('./i18n/id').then((m) => m.content),
21
- it: () => import('./i18n/it').then((m) => m.content),
22
- ja: () => import('./i18n/ja').then((m) => m.content),
23
- ko: () => import('./i18n/ko').then((m) => m.content),
24
- nl: () => import('./i18n/nl').then((m) => m.content),
25
- pl: () => import('./i18n/pl').then((m) => m.content),
26
- pt: () => import('./i18n/pt').then((m) => m.content),
27
- ru: () => import('./i18n/ru').then((m) => m.content),
28
- sv: () => import('./i18n/sv').then((m) => m.content),
29
- tr: () => import('./i18n/tr').then((m) => m.content),
30
- zh: () => import('./i18n/zh').then((m) => m.content),
31
- },
32
- };
33
-
34
- export { PngAJpgCalculator, PngAJpgSEO, PngAJpgBibliography };
35
-
1
+ import { pngAJpg } from './entry';
2
+ export * from './entry';
36
3
  export const PNG_A_JPG_TOOL: ToolDefinition = {
37
4
  entry: pngAJpg,
38
- Component: PngAJpgCalculator,
39
- SEOComponent: PngAJpgSEO,
40
- BibliographyComponent: PngAJpgBibliography,
5
+ Component: () => import('./component.astro'),
6
+ SEOComponent: () => import('./seo.astro'),
7
+ BibliographyComponent: () => import('./bibliography.astro'),
41
8
  };