@jjlmoya/utils-converters 1.13.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 (44) 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/tool/avifAJpg/entry.ts +29 -0
  5. package/src/tool/avifAJpg/index.ts +2 -31
  6. package/src/tool/avifAPng/entry.ts +29 -0
  7. package/src/tool/avifAPng/index.ts +2 -31
  8. package/src/tool/avifAWebp/entry.ts +29 -0
  9. package/src/tool/avifAWebp/index.ts +2 -31
  10. package/src/tool/bmpAJpg/entry.ts +29 -0
  11. package/src/tool/bmpAJpg/index.ts +2 -31
  12. package/src/tool/bmpAPng/entry.ts +29 -0
  13. package/src/tool/bmpAPng/index.ts +2 -31
  14. package/src/tool/bmpAWebp/entry.ts +29 -0
  15. package/src/tool/bmpAWebp/index.ts +2 -31
  16. package/src/tool/gifAJpg/entry.ts +29 -0
  17. package/src/tool/gifAJpg/index.ts +2 -31
  18. package/src/tool/gifAPng/entry.ts +29 -0
  19. package/src/tool/gifAPng/index.ts +2 -31
  20. package/src/tool/gifAWebp/entry.ts +29 -0
  21. package/src/tool/gifAWebp/index.ts +2 -31
  22. package/src/tool/jpgAIco/entry.ts +29 -0
  23. package/src/tool/jpgAIco/index.ts +2 -31
  24. package/src/tool/jpgAPng/entry.ts +29 -0
  25. package/src/tool/jpgAPng/index.ts +2 -31
  26. package/src/tool/jpgAWebp/entry.ts +29 -0
  27. package/src/tool/jpgAWebp/index.ts +2 -31
  28. package/src/tool/pngAIco/entry.ts +29 -0
  29. package/src/tool/pngAIco/index.ts +2 -31
  30. package/src/tool/pngAJpg/entry.ts +29 -0
  31. package/src/tool/pngAJpg/index.ts +2 -31
  32. package/src/tool/pngAWebp/entry.ts +29 -0
  33. package/src/tool/pngAWebp/index.ts +2 -31
  34. package/src/tool/svgAJpg/entry.ts +29 -0
  35. package/src/tool/svgAJpg/index.ts +2 -31
  36. package/src/tool/svgAPng/entry.ts +29 -0
  37. package/src/tool/svgAPng/index.ts +2 -31
  38. package/src/tool/webpAIco/entry.ts +29 -0
  39. package/src/tool/webpAIco/index.ts +2 -31
  40. package/src/tool/webpAJpg/entry.ts +29 -0
  41. package/src/tool/webpAJpg/index.ts +2 -31
  42. package/src/tool/webpAPng/entry.ts +29 -0
  43. package/src/tool/webpAPng/index.ts +2 -31
  44. package/src/tools.ts +1 -1
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-converters",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
7
7
  "exports": {
8
8
  ".": "./src/index.ts",
9
- "./data": "./src/data.ts"
9
+ "./data": "./src/data.ts",
10
+ "./entries": "./src/entries.ts"
10
11
  },
11
12
  "files": [
12
13
  "src"
@@ -1,25 +1,25 @@
1
1
  import type { ConvertersCategoryEntry } from '../types';
2
- import { pngAJpg } from '../tool/pngAJpg';
3
- import { jpgAPng } from '../tool/jpgAPng';
4
- import { webpAPng } from '../tool/webpAPng';
5
- import { webpAJpg } from '../tool/webpAJpg';
6
- import { pngAWebp } from '../tool/pngAWebp';
7
- import { jpgAWebp } from '../tool/jpgAWebp';
8
- import { svgAPng } from '../tool/svgAPng';
9
- import { svgAJpg } from '../tool/svgAJpg';
2
+ import { pngAJpg } from '../tool/pngAJpg/entry';
3
+ import { jpgAPng } from '../tool/jpgAPng/entry';
4
+ import { webpAPng } from '../tool/webpAPng/entry';
5
+ import { webpAJpg } from '../tool/webpAJpg/entry';
6
+ import { pngAWebp } from '../tool/pngAWebp/entry';
7
+ import { jpgAWebp } from '../tool/jpgAWebp/entry';
8
+ import { svgAPng } from '../tool/svgAPng/entry';
9
+ import { svgAJpg } from '../tool/svgAJpg/entry';
10
10
  import { imagenBase64 } from '../tool/imagenBase64';
11
- import { bmpAJpg } from '../tool/bmpAJpg';
12
- import { bmpAPng } from '../tool/bmpAPng';
13
- import { bmpAWebp } from '../tool/bmpAWebp';
14
- import { avifAJpg } from '../tool/avifAJpg';
15
- import { avifAPng } from '../tool/avifAPng';
16
- import { avifAWebp } from '../tool/avifAWebp';
17
- import { gifAJpg } from '../tool/gifAJpg';
18
- import { gifAPng } from '../tool/gifAPng';
19
- import { gifAWebp } from '../tool/gifAWebp';
20
- import { pngAIco } from '../tool/pngAIco';
21
- import { jpgAIco } from '../tool/jpgAIco';
22
- import { webpAIco } from '../tool/webpAIco';
11
+ import { bmpAJpg } from '../tool/bmpAJpg/entry';
12
+ import { bmpAPng } from '../tool/bmpAPng/entry';
13
+ import { bmpAWebp } from '../tool/bmpAWebp/entry';
14
+ import { avifAJpg } from '../tool/avifAJpg/entry';
15
+ import { avifAPng } from '../tool/avifAPng/entry';
16
+ import { avifAWebp } from '../tool/avifAWebp/entry';
17
+ import { gifAJpg } from '../tool/gifAJpg/entry';
18
+ import { gifAPng } from '../tool/gifAPng/entry';
19
+ import { gifAWebp } from '../tool/gifAWebp/entry';
20
+ import { pngAIco } from '../tool/pngAIco/entry';
21
+ import { jpgAIco } from '../tool/jpgAIco/entry';
22
+ import { webpAIco } from '../tool/webpAIco/entry';
23
23
 
24
24
  export const convertersCategory: ConvertersCategoryEntry = {
25
25
  icon: 'mdi:image-sync',
package/src/entries.ts ADDED
@@ -0,0 +1,62 @@
1
+ export { avifAJpg } from './tool/avifAJpg/entry';
2
+ export type { AvifAJpgLocaleContent } from './tool/avifAJpg/entry';
3
+ export { avifAPng } from './tool/avifAPng/entry';
4
+ export type { AvifAPngLocaleContent } from './tool/avifAPng/entry';
5
+ export { avifAWebp } from './tool/avifAWebp/entry';
6
+ export type { AvifAWebpLocaleContent } from './tool/avifAWebp/entry';
7
+ export { bmpAJpg } from './tool/bmpAJpg/entry';
8
+ export type { BmpAJpgLocaleContent } from './tool/bmpAJpg/entry';
9
+ export { bmpAPng } from './tool/bmpAPng/entry';
10
+ export type { BmpAPngLocaleContent } from './tool/bmpAPng/entry';
11
+ export { bmpAWebp } from './tool/bmpAWebp/entry';
12
+ export type { BmpAWebpLocaleContent } from './tool/bmpAWebp/entry';
13
+ export { gifAJpg } from './tool/gifAJpg/entry';
14
+ export type { GifAJpgLocaleContent } from './tool/gifAJpg/entry';
15
+ export { gifAPng } from './tool/gifAPng/entry';
16
+ export type { GifAPngLocaleContent } from './tool/gifAPng/entry';
17
+ export { gifAWebp } from './tool/gifAWebp/entry';
18
+ export type { GifAWebpLocaleContent } from './tool/gifAWebp/entry';
19
+ export { jpgAIco } from './tool/jpgAIco/entry';
20
+ export type { JpgAIcoLocaleContent } from './tool/jpgAIco/entry';
21
+ export { jpgAPng } from './tool/jpgAPng/entry';
22
+ export type { JpgAPngLocaleContent } from './tool/jpgAPng/entry';
23
+ export { jpgAWebp } from './tool/jpgAWebp/entry';
24
+ export type { JpgAWebpLocaleContent } from './tool/jpgAWebp/entry';
25
+ export { pngAIco } from './tool/pngAIco/entry';
26
+ export type { PngAIcoLocaleContent } from './tool/pngAIco/entry';
27
+ export { pngAJpg } from './tool/pngAJpg/entry';
28
+ export type { PngAJpgLocaleContent } from './tool/pngAJpg/entry';
29
+ export { pngAWebp } from './tool/pngAWebp/entry';
30
+ export type { PngAWebpLocaleContent } from './tool/pngAWebp/entry';
31
+ export { svgAJpg } from './tool/svgAJpg/entry';
32
+ export type { SvgAJpgLocaleContent } from './tool/svgAJpg/entry';
33
+ export { svgAPng } from './tool/svgAPng/entry';
34
+ export type { SvgAPngLocaleContent } from './tool/svgAPng/entry';
35
+ export { webpAIco } from './tool/webpAIco/entry';
36
+ export type { WebpAIcoLocaleContent } from './tool/webpAIco/entry';
37
+ export { webpAJpg } from './tool/webpAJpg/entry';
38
+ export type { WebpAJpgLocaleContent } from './tool/webpAJpg/entry';
39
+ export { webpAPng } from './tool/webpAPng/entry';
40
+ export type { WebpAPngLocaleContent } from './tool/webpAPng/entry';
41
+ export { convertersCategory } from './category';
42
+ import { avifAJpg } from './tool/avifAJpg/entry';
43
+ import { avifAPng } from './tool/avifAPng/entry';
44
+ import { avifAWebp } from './tool/avifAWebp/entry';
45
+ import { bmpAJpg } from './tool/bmpAJpg/entry';
46
+ import { bmpAPng } from './tool/bmpAPng/entry';
47
+ import { bmpAWebp } from './tool/bmpAWebp/entry';
48
+ import { gifAJpg } from './tool/gifAJpg/entry';
49
+ import { gifAPng } from './tool/gifAPng/entry';
50
+ import { gifAWebp } from './tool/gifAWebp/entry';
51
+ import { jpgAIco } from './tool/jpgAIco/entry';
52
+ import { jpgAPng } from './tool/jpgAPng/entry';
53
+ import { jpgAWebp } from './tool/jpgAWebp/entry';
54
+ import { pngAIco } from './tool/pngAIco/entry';
55
+ import { pngAJpg } from './tool/pngAJpg/entry';
56
+ import { pngAWebp } from './tool/pngAWebp/entry';
57
+ import { svgAJpg } from './tool/svgAJpg/entry';
58
+ import { svgAPng } from './tool/svgAPng/entry';
59
+ import { webpAIco } from './tool/webpAIco/entry';
60
+ import { webpAJpg } from './tool/webpAJpg/entry';
61
+ import { webpAPng } from './tool/webpAPng/entry';
62
+ export const ALL_ENTRIES = [avifAJpg, avifAPng, avifAWebp, bmpAJpg, bmpAPng, bmpAWebp, gifAJpg, gifAPng, gifAWebp, jpgAIco, jpgAPng, jpgAWebp, pngAIco, pngAJpg, pngAWebp, svgAJpg, svgAPng, webpAIco, webpAJpg, webpAPng];
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type AvifAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const avifAJpg: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'avif-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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
-
4
- export type AvifAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
-
6
- export const avifAJpg: ConvertersToolEntry<ImageConverterUI> = {
7
- id: 'avif-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
- };
30
-
31
-
1
+ import { avifAJpg } from './entry';
2
+ export * from './entry';
32
3
  export const AVIF_A_JPG_TOOL: ToolDefinition = {
33
4
  entry: avifAJpg,
34
5
  Component: () => import('./component.astro'),
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type AvifAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const avifAPng: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'avif-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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
-
4
- export type AvifAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
-
6
- export const avifAPng: ConvertersToolEntry<ImageConverterUI> = {
7
- id: 'avif-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
- };
30
-
31
-
1
+ import { avifAPng } from './entry';
2
+ export * from './entry';
32
3
  export const AVIF_A_PNG_TOOL: ToolDefinition = {
33
4
  entry: avifAPng,
34
5
  Component: () => import('./component.astro'),
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type AvifAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const avifAWebp: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'avif-a-webp',
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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
-
4
- export type AvifAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
-
6
- export const avifAWebp: ConvertersToolEntry<ImageConverterUI> = {
7
- id: 'avif-a-webp',
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
- };
30
-
31
-
1
+ import { avifAWebp } from './entry';
2
+ export * from './entry';
32
3
  export const AVIF_A_WEBP_TOOL: ToolDefinition = {
33
4
  entry: avifAWebp,
34
5
  Component: () => import('./component.astro'),
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type BmpAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const bmpAJpg: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'bmp-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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
-
4
- export type BmpAJpgLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
-
6
- export const bmpAJpg: ConvertersToolEntry<ImageConverterUI> = {
7
- id: 'bmp-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
- };
30
-
31
-
1
+ import { bmpAJpg } from './entry';
2
+ export * from './entry';
32
3
  export const BMP_A_JPG_TOOL: ToolDefinition = {
33
4
  entry: bmpAJpg,
34
5
  Component: () => import('./component.astro'),
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type BmpAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const bmpAPng: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'bmp-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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
-
4
- export type BmpAPngLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
-
6
- export const bmpAPng: ConvertersToolEntry<ImageConverterUI> = {
7
- id: 'bmp-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
- };
30
-
31
-
1
+ import { bmpAPng } from './entry';
2
+ export * from './entry';
32
3
  export const BMP_A_PNG_TOOL: ToolDefinition = {
33
4
  entry: bmpAPng,
34
5
  Component: () => import('./component.astro'),
@@ -0,0 +1,29 @@
1
+ import type { ConvertersToolEntry, ToolLocaleContent } from '../../types';
2
+ import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
+
4
+ export type BmpAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
+
6
+ export const bmpAWebp: ConvertersToolEntry<ImageConverterUI> = {
7
+ id: 'bmp-a-webp',
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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
- import type { ImageConverterUI } from '../../shared/ImageConverter.astro';
3
-
4
- export type BmpAWebpLocaleContent = ToolLocaleContent<ImageConverterUI>;
5
-
6
- export const bmpAWebp: ConvertersToolEntry<ImageConverterUI> = {
7
- id: 'bmp-a-webp',
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
- };
30
-
31
-
1
+ import { bmpAWebp } from './entry';
2
+ export * from './entry';
32
3
  export const BMP_A_WEBP_TOOL: ToolDefinition = {
33
4
  entry: bmpAWebp,
34
5
  Component: () => import('./component.astro'),
@@ -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,34 +1,5 @@
1
- import type { ConvertersToolEntry, ToolLocaleContent, ToolDefinition } 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
- };
30
-
31
-
1
+ import { gifAJpg } from './entry';
2
+ export * from './entry';
32
3
  export const GIF_A_JPG_TOOL: ToolDefinition = {
33
4
  entry: gifAJpg,
34
5
  Component: () => import('./component.astro'),
@@ -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
+ };