@jjlmoya/utils-creative 1.15.0 → 1.17.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 CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-creative",
3
- "version": "1.15.0",
3
+ "version": "1.17.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
+ "./entries": "./src/entries.ts",
9
10
  "./data": "./src/data.ts"
10
11
  },
11
12
  "files": [
@@ -1,19 +1,4 @@
1
- import type { CategoryLocaleContent, ToolDefinition } from '../types';
2
- import { EXCUSE_GENERATOR_TOOL } from '../tool/excuse-generator';
3
- import { FORTUNE_COOKIE_TOOL } from '../tool/fortune-cookie';
4
- import { SYNESTHESIA_PAINTER_TOOL } from '../tool/synesthesia-painter';
5
- import { ZALGO_GENERATOR_TOOL } from '../tool/zalgo-generator';
6
- import { BEAD_PATTERN_GENERATOR_TOOL } from '../tool/bead-pattern-generator';
7
- import { DICE_ROLLER_TOOL } from '../tool/dice-roller';
8
-
9
- export const CREATIVE_TOOLS: Record<string, ToolDefinition> = {
10
- 'excuse-generator': EXCUSE_GENERATOR_TOOL,
11
- 'fortune-cookie': FORTUNE_COOKIE_TOOL,
12
- 'synesthesia-painter': SYNESTHESIA_PAINTER_TOOL,
13
- 'zalgo-generator': ZALGO_GENERATOR_TOOL,
14
- 'bead-pattern-generator': BEAD_PATTERN_GENERATOR_TOOL,
15
- 'dice-roller': DICE_ROLLER_TOOL,
16
- };
1
+ import type { CategoryLocaleContent } from '../types';
17
2
 
18
3
  export const creativeCategory: {
19
4
  id: string;
package/src/entries.ts ADDED
@@ -0,0 +1,14 @@
1
+ export { beadPatternGenerator } from './tool/bead-pattern-generator/entry';
2
+ export { diceRoller } from './tool/dice-roller/entry';
3
+ export { excuseGenerator } from './tool/excuse-generator/entry';
4
+ export { fortuneCookie } from './tool/fortune-cookie/entry';
5
+ export { synesthesiaPainter } from './tool/synesthesia-painter/entry';
6
+ export { zalgoGenerator } from './tool/zalgo-generator/entry';
7
+ export { creativeCategory } from './category';
8
+ import { beadPatternGenerator } from './tool/bead-pattern-generator/entry';
9
+ import { diceRoller } from './tool/dice-roller/entry';
10
+ import { excuseGenerator } from './tool/excuse-generator/entry';
11
+ import { fortuneCookie } from './tool/fortune-cookie/entry';
12
+ import { synesthesiaPainter } from './tool/synesthesia-painter/entry';
13
+ import { zalgoGenerator } from './tool/zalgo-generator/entry';
14
+ export const ALL_ENTRIES = [beadPatternGenerator, diceRoller, excuseGenerator, fortuneCookie, synesthesiaPainter, zalgoGenerator];
package/src/index.ts CHANGED
@@ -1,6 +1,22 @@
1
- import { creativeCategory, CREATIVE_TOOLS } from './category';
1
+ import { creativeCategory } from './category';
2
+ import type { ToolDefinition } from './types';
3
+ import { EXCUSE_GENERATOR_TOOL } from './tool/excuse-generator';
4
+ import { FORTUNE_COOKIE_TOOL } from './tool/fortune-cookie';
5
+ import { SYNESTHESIA_PAINTER_TOOL } from './tool/synesthesia-painter';
6
+ import { ZALGO_GENERATOR_TOOL } from './tool/zalgo-generator';
7
+ import { BEAD_PATTERN_GENERATOR_TOOL } from './tool/bead-pattern-generator';
8
+ import { DICE_ROLLER_TOOL } from './tool/dice-roller';
9
+
2
10
  export { creativeCategory };
3
11
  export const templateCategory = creativeCategory;
12
+ export const CREATIVE_TOOLS: Record<string, ToolDefinition> = {
13
+ 'excuse-generator': EXCUSE_GENERATOR_TOOL,
14
+ 'fortune-cookie': FORTUNE_COOKIE_TOOL,
15
+ 'synesthesia-painter': SYNESTHESIA_PAINTER_TOOL,
16
+ 'zalgo-generator': ZALGO_GENERATOR_TOOL,
17
+ 'bead-pattern-generator': BEAD_PATTERN_GENERATOR_TOOL,
18
+ 'dice-roller': DICE_ROLLER_TOOL,
19
+ };
4
20
  export const ALL_TOOLS = Object.values(CREATIVE_TOOLS);
5
21
 
6
22
  export * from './tool/excuse-generator';
@@ -0,0 +1,49 @@
1
+ import type { CreativeToolEntry, ToolLocaleContent } from '../../types';
2
+
3
+ export interface BeadPatternGeneratorUI {
4
+ [key: string]: string;
5
+ title: string;
6
+ description: string;
7
+ subtitle: string;
8
+ gridSizeLabel: string;
9
+ colorCountLabel: string;
10
+ optionsLabel: string;
11
+ rulersLabel: string;
12
+ symbolsTooltip: string;
13
+ symbolsLabel: string;
14
+ downloadBtn: string;
15
+ uploadTitle: string;
16
+ uploadSubtitle: string;
17
+ paletteTitle: string;
18
+ reuploadBtn: string;
19
+ tunnelVisionTitle: string;
20
+ tunnelVisionSubtitle: string;
21
+ uploadLabel: string;
22
+ pixelateBtn: string;
23
+ faqTitle: string;
24
+ bibliographyTitle: string;
25
+ }
26
+
27
+ export type BeadPatternGeneratorLocaleContent = ToolLocaleContent<BeadPatternGeneratorUI>;
28
+
29
+ export const beadPatternGenerator: CreativeToolEntry<BeadPatternGeneratorUI> = {
30
+ id: 'bead-pattern-generator',
31
+ icons: { bg: 'mdi:grid', fg: 'mdi:palette' },
32
+ i18n: {
33
+ es: () => import('./i18n/es').then((m) => m.content),
34
+ en: () => import('./i18n/en').then((m) => m.content),
35
+ fr: () => import('./i18n/fr').then((m) => m.content),
36
+ de: () => import('./i18n/de').then((m) => m.content),
37
+ id: () => import('./i18n/id').then((m) => m.content),
38
+ it: () => import('./i18n/it').then((m) => m.content),
39
+ ja: () => import('./i18n/ja').then((m) => m.content),
40
+ ko: () => import('./i18n/ko').then((m) => m.content),
41
+ nl: () => import('./i18n/nl').then((m) => m.content),
42
+ pl: () => import('./i18n/pl').then((m) => m.content),
43
+ pt: () => import('./i18n/pt').then((m) => m.content),
44
+ ru: () => import('./i18n/ru').then((m) => m.content),
45
+ sv: () => import('./i18n/sv').then((m) => m.content),
46
+ tr: () => import('./i18n/tr').then((m) => m.content),
47
+ zh: () => import('./i18n/zh').then((m) => m.content),
48
+ },
49
+ };
@@ -1,54 +1,6 @@
1
- import type { CreativeToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
-
3
- export interface BeadPatternGeneratorUI {
4
- [key: string]: string;
5
- title: string;
6
- description: string;
7
- subtitle: string;
8
- gridSizeLabel: string;
9
- colorCountLabel: string;
10
- optionsLabel: string;
11
- rulersLabel: string;
12
- symbolsTooltip: string;
13
- symbolsLabel: string;
14
- downloadBtn: string;
15
- uploadTitle: string;
16
- uploadSubtitle: string;
17
- paletteTitle: string;
18
- reuploadBtn: string;
19
- tunnelVisionTitle: string;
20
- tunnelVisionSubtitle: string;
21
- uploadLabel: string;
22
- pixelateBtn: string;
23
- faqTitle: string;
24
- bibliographyTitle: string;
25
- }
26
-
27
- export type BeadPatternGeneratorLocaleContent = ToolLocaleContent<BeadPatternGeneratorUI>;
28
-
29
- export const beadPatternGenerator: CreativeToolEntry<BeadPatternGeneratorUI> = {
30
- id: 'bead-pattern-generator',
31
- icons: { bg: 'mdi:grid', fg: 'mdi:palette' },
32
- i18n: {
33
- es: () => import('./i18n/es').then((m) => m.content),
34
- en: () => import('./i18n/en').then((m) => m.content),
35
- fr: () => import('./i18n/fr').then((m) => m.content),
36
- de: () => import('./i18n/de').then((m) => m.content),
37
- id: () => import('./i18n/id').then((m) => m.content),
38
- it: () => import('./i18n/it').then((m) => m.content),
39
- ja: () => import('./i18n/ja').then((m) => m.content),
40
- ko: () => import('./i18n/ko').then((m) => m.content),
41
- nl: () => import('./i18n/nl').then((m) => m.content),
42
- pl: () => import('./i18n/pl').then((m) => m.content),
43
- pt: () => import('./i18n/pt').then((m) => m.content),
44
- ru: () => import('./i18n/ru').then((m) => m.content),
45
- sv: () => import('./i18n/sv').then((m) => m.content),
46
- tr: () => import('./i18n/tr').then((m) => m.content),
47
- zh: () => import('./i18n/zh').then((m) => m.content),
48
- },
49
- };
50
-
51
-
1
+ import type { ToolDefinition } from '../../types';
2
+ import { beadPatternGenerator } from './entry';
3
+ export * from './entry';
52
4
  export const BEAD_PATTERN_GENERATOR_TOOL: ToolDefinition = {
53
5
  entry: beadPatternGenerator,
54
6
  Component: () => import('./component.astro'),
@@ -0,0 +1,46 @@
1
+ import type { CreativeToolEntry, ToolLocaleContent } from '../../types';
2
+
3
+ export interface DiceRollerUI {
4
+ [key: string]: string;
5
+ title: string;
6
+ description: string;
7
+ rollBtn: string;
8
+ totalLabel: string;
9
+ historyLabel: string;
10
+ clearHistoryBtn: string;
11
+ faqTitle: string;
12
+ bibliographyTitle: string;
13
+ addDiceLabel: string;
14
+ bagLabel: string;
15
+ emptyBagBtn: string;
16
+ emptyBagText: string;
17
+ modifierLabel: string;
18
+ rollManyLabel: string;
19
+ rollOneLabel: string;
20
+ preRollText: string;
21
+ emptyHistoryText: string;
22
+ }
23
+
24
+ export type DiceRollerLocaleContent = ToolLocaleContent<DiceRollerUI>;
25
+
26
+ export const diceRoller: CreativeToolEntry<DiceRollerUI> = {
27
+ id: 'dice-roller',
28
+ icons: { bg: 'mdi:dice-6', fg: 'mdi:refresh' },
29
+ i18n: {
30
+ es: () => import('./i18n/es').then((m) => m.content),
31
+ en: () => import('./i18n/en').then((m) => m.content),
32
+ fr: () => import('./i18n/fr').then((m) => m.content),
33
+ de: () => import('./i18n/de').then((m) => m.content),
34
+ id: () => import('./i18n/id').then((m) => m.content),
35
+ it: () => import('./i18n/it').then((m) => m.content),
36
+ ja: () => import('./i18n/ja').then((m) => m.content),
37
+ ko: () => import('./i18n/ko').then((m) => m.content),
38
+ nl: () => import('./i18n/nl').then((m) => m.content),
39
+ pl: () => import('./i18n/pl').then((m) => m.content),
40
+ pt: () => import('./i18n/pt').then((m) => m.content),
41
+ ru: () => import('./i18n/ru').then((m) => m.content),
42
+ sv: () => import('./i18n/sv').then((m) => m.content),
43
+ tr: () => import('./i18n/tr').then((m) => m.content),
44
+ zh: () => import('./i18n/zh').then((m) => m.content),
45
+ },
46
+ };
@@ -1,51 +1,6 @@
1
- import type { CreativeToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
-
3
- export interface DiceRollerUI {
4
- [key: string]: string;
5
- title: string;
6
- description: string;
7
- rollBtn: string;
8
- totalLabel: string;
9
- historyLabel: string;
10
- clearHistoryBtn: string;
11
- faqTitle: string;
12
- bibliographyTitle: string;
13
- addDiceLabel: string;
14
- bagLabel: string;
15
- emptyBagBtn: string;
16
- emptyBagText: string;
17
- modifierLabel: string;
18
- rollManyLabel: string;
19
- rollOneLabel: string;
20
- preRollText: string;
21
- emptyHistoryText: string;
22
- }
23
-
24
- export type DiceRollerLocaleContent = ToolLocaleContent<DiceRollerUI>;
25
-
26
- export const diceRoller: CreativeToolEntry<DiceRollerUI> = {
27
- id: 'dice-roller',
28
- icons: { bg: 'mdi:dice-6', fg: 'mdi:refresh' },
29
- i18n: {
30
- es: () => import('./i18n/es').then((m) => m.content),
31
- en: () => import('./i18n/en').then((m) => m.content),
32
- fr: () => import('./i18n/fr').then((m) => m.content),
33
- de: () => import('./i18n/de').then((m) => m.content),
34
- id: () => import('./i18n/id').then((m) => m.content),
35
- it: () => import('./i18n/it').then((m) => m.content),
36
- ja: () => import('./i18n/ja').then((m) => m.content),
37
- ko: () => import('./i18n/ko').then((m) => m.content),
38
- nl: () => import('./i18n/nl').then((m) => m.content),
39
- pl: () => import('./i18n/pl').then((m) => m.content),
40
- pt: () => import('./i18n/pt').then((m) => m.content),
41
- ru: () => import('./i18n/ru').then((m) => m.content),
42
- sv: () => import('./i18n/sv').then((m) => m.content),
43
- tr: () => import('./i18n/tr').then((m) => m.content),
44
- zh: () => import('./i18n/zh').then((m) => m.content),
45
- },
46
- };
47
-
48
-
1
+ import type { ToolDefinition } from '../../types';
2
+ import { diceRoller } from './entry';
3
+ export * from './entry';
49
4
  export const DICE_ROLLER_TOOL: ToolDefinition = {
50
5
  entry: diceRoller,
51
6
  Component: () => import('./component.astro'),
@@ -0,0 +1,42 @@
1
+ import type { CreativeToolEntry, ToolLocaleContent } from '../../types';
2
+
3
+ export interface ExcuseGeneratorUI {
4
+ [key: string]: string;
5
+ title: string;
6
+ description: string;
7
+ subjectLabel: string;
8
+ actionLabel: string;
9
+ victimLabel: string;
10
+ generateBtn: string;
11
+ copyBtn: string;
12
+ copied: string;
13
+ starts: string;
14
+ middles: string;
15
+ ends: string;
16
+ faqTitle: string;
17
+ bibliographyTitle: string;
18
+ }
19
+
20
+ export type ExcuseGeneratorLocaleContent = ToolLocaleContent<ExcuseGeneratorUI>;
21
+
22
+ export const excuseGenerator: CreativeToolEntry<ExcuseGeneratorUI> = {
23
+ id: 'excuse-generator',
24
+ icons: { bg: 'mdi:slot-machine', fg: 'mdi:emoticon-poop' },
25
+ i18n: {
26
+ es: () => import('./i18n/es').then((m) => m.content),
27
+ en: () => import('./i18n/en').then((m) => m.content),
28
+ fr: () => import('./i18n/fr').then((m) => m.content),
29
+ de: () => import('./i18n/de').then((m) => m.content),
30
+ id: () => import('./i18n/id').then((m) => m.content),
31
+ it: () => import('./i18n/it').then((m) => m.content),
32
+ ja: () => import('./i18n/ja').then((m) => m.content),
33
+ ko: () => import('./i18n/ko').then((m) => m.content),
34
+ nl: () => import('./i18n/nl').then((m) => m.content),
35
+ pl: () => import('./i18n/pl').then((m) => m.content),
36
+ pt: () => import('./i18n/pt').then((m) => m.content),
37
+ ru: () => import('./i18n/ru').then((m) => m.content),
38
+ sv: () => import('./i18n/sv').then((m) => m.content),
39
+ tr: () => import('./i18n/tr').then((m) => m.content),
40
+ zh: () => import('./i18n/zh').then((m) => m.content),
41
+ },
42
+ };
@@ -1,47 +1,6 @@
1
- import type { CreativeToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
-
3
- export interface ExcuseGeneratorUI {
4
- [key: string]: string;
5
- title: string;
6
- description: string;
7
- subjectLabel: string;
8
- actionLabel: string;
9
- victimLabel: string;
10
- generateBtn: string;
11
- copyBtn: string;
12
- copied: string;
13
- starts: string;
14
- middles: string;
15
- ends: string;
16
- faqTitle: string;
17
- bibliographyTitle: string;
18
- }
19
-
20
- export type ExcuseGeneratorLocaleContent = ToolLocaleContent<ExcuseGeneratorUI>;
21
-
22
- export const excuseGenerator: CreativeToolEntry<ExcuseGeneratorUI> = {
23
- id: 'excuse-generator',
24
- icons: { bg: 'mdi:slot-machine', fg: 'mdi:emoticon-poop' },
25
- i18n: {
26
- es: () => import('./i18n/es').then((m) => m.content),
27
- en: () => import('./i18n/en').then((m) => m.content),
28
- fr: () => import('./i18n/fr').then((m) => m.content),
29
- de: () => import('./i18n/de').then((m) => m.content),
30
- id: () => import('./i18n/id').then((m) => m.content),
31
- it: () => import('./i18n/it').then((m) => m.content),
32
- ja: () => import('./i18n/ja').then((m) => m.content),
33
- ko: () => import('./i18n/ko').then((m) => m.content),
34
- nl: () => import('./i18n/nl').then((m) => m.content),
35
- pl: () => import('./i18n/pl').then((m) => m.content),
36
- pt: () => import('./i18n/pt').then((m) => m.content),
37
- ru: () => import('./i18n/ru').then((m) => m.content),
38
- sv: () => import('./i18n/sv').then((m) => m.content),
39
- tr: () => import('./i18n/tr').then((m) => m.content),
40
- zh: () => import('./i18n/zh').then((m) => m.content),
41
- },
42
- };
43
-
44
-
1
+ import type { ToolDefinition } from '../../types';
2
+ import { excuseGenerator } from './entry';
3
+ export * from './entry';
45
4
  export const EXCUSE_GENERATOR_TOOL: ToolDefinition = {
46
5
  entry: excuseGenerator,
47
6
  Component: () => import('./component.astro'),
@@ -0,0 +1,40 @@
1
+ import type { CreativeToolEntry, ToolLocaleContent } from '../../types';
2
+
3
+ export interface FortuneCookieUI {
4
+ [key: string]: string;
5
+ instruction: string;
6
+ title: string;
7
+ description: string;
8
+ dailyStatus: string;
9
+ shareBtn: string;
10
+ shareTitle: string;
11
+ shareText: string;
12
+ copied: string;
13
+ fortunes: string;
14
+ faqTitle: string;
15
+ bibliographyTitle: string;
16
+ }
17
+
18
+ export type FortuneCookieLocaleContent = ToolLocaleContent<FortuneCookieUI>;
19
+
20
+ export const fortuneCookie: CreativeToolEntry<FortuneCookieUI> = {
21
+ id: 'fortune-cookie',
22
+ icons: { bg: 'mdi:cookie', fg: 'mdi:sparkles' },
23
+ i18n: {
24
+ es: () => import('./i18n/es').then((m) => m.content),
25
+ en: () => import('./i18n/en').then((m) => m.content),
26
+ fr: () => import('./i18n/fr').then((m) => m.content),
27
+ de: () => import('./i18n/de').then((m) => m.content),
28
+ id: () => import('./i18n/id').then((m) => m.content),
29
+ it: () => import('./i18n/it').then((m) => m.content),
30
+ ja: () => import('./i18n/ja').then((m) => m.content),
31
+ ko: () => import('./i18n/ko').then((m) => m.content),
32
+ nl: () => import('./i18n/nl').then((m) => m.content),
33
+ pl: () => import('./i18n/pl').then((m) => m.content),
34
+ pt: () => import('./i18n/pt').then((m) => m.content),
35
+ ru: () => import('./i18n/ru').then((m) => m.content),
36
+ sv: () => import('./i18n/sv').then((m) => m.content),
37
+ tr: () => import('./i18n/tr').then((m) => m.content),
38
+ zh: () => import('./i18n/zh').then((m) => m.content),
39
+ },
40
+ };
@@ -1,45 +1,6 @@
1
- import type { CreativeToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
-
3
- export interface FortuneCookieUI {
4
- [key: string]: string;
5
- instruction: string;
6
- title: string;
7
- description: string;
8
- dailyStatus: string;
9
- shareBtn: string;
10
- shareTitle: string;
11
- shareText: string;
12
- copied: string;
13
- fortunes: string;
14
- faqTitle: string;
15
- bibliographyTitle: string;
16
- }
17
-
18
- export type FortuneCookieLocaleContent = ToolLocaleContent<FortuneCookieUI>;
19
-
20
- export const fortuneCookie: CreativeToolEntry<FortuneCookieUI> = {
21
- id: 'fortune-cookie',
22
- icons: { bg: 'mdi:cookie', fg: 'mdi:sparkles' },
23
- i18n: {
24
- es: () => import('./i18n/es').then((m) => m.content),
25
- en: () => import('./i18n/en').then((m) => m.content),
26
- fr: () => import('./i18n/fr').then((m) => m.content),
27
- de: () => import('./i18n/de').then((m) => m.content),
28
- id: () => import('./i18n/id').then((m) => m.content),
29
- it: () => import('./i18n/it').then((m) => m.content),
30
- ja: () => import('./i18n/ja').then((m) => m.content),
31
- ko: () => import('./i18n/ko').then((m) => m.content),
32
- nl: () => import('./i18n/nl').then((m) => m.content),
33
- pl: () => import('./i18n/pl').then((m) => m.content),
34
- pt: () => import('./i18n/pt').then((m) => m.content),
35
- ru: () => import('./i18n/ru').then((m) => m.content),
36
- sv: () => import('./i18n/sv').then((m) => m.content),
37
- tr: () => import('./i18n/tr').then((m) => m.content),
38
- zh: () => import('./i18n/zh').then((m) => m.content),
39
- },
40
- };
41
-
42
-
1
+ import type { ToolDefinition } from '../../types';
2
+ import { fortuneCookie } from './entry';
3
+ export * from './entry';
43
4
  export const FORTUNE_COOKIE_TOOL: ToolDefinition = {
44
5
  entry: fortuneCookie,
45
6
  Component: () => import('./component.astro'),
@@ -0,0 +1,39 @@
1
+ import type { CreativeToolEntry, ToolLocaleContent } from '../../types';
2
+
3
+ export interface SynesthesiaPainterUI {
4
+ [key: string]: string;
5
+ title: string;
6
+ description: string;
7
+ modeLetters: string;
8
+ modeDots: string;
9
+ modeAura: string;
10
+ placeholder: string;
11
+ footerText: string;
12
+ clearBtn: string;
13
+ faqTitle: string;
14
+ bibliographyTitle: string;
15
+ }
16
+
17
+ export type SynesthesiaPainterLocaleContent = ToolLocaleContent<SynesthesiaPainterUI>;
18
+
19
+ export const synesthesiaPainter: CreativeToolEntry<SynesthesiaPainterUI> = {
20
+ id: 'synesthesia-painter',
21
+ icons: { bg: 'mdi:brush', fg: 'mdi:eye' },
22
+ i18n: {
23
+ es: () => import('./i18n/es').then((m) => m.content),
24
+ en: () => import('./i18n/en').then((m) => m.content),
25
+ fr: () => import('./i18n/fr').then((m) => m.content),
26
+ de: () => import('./i18n/de').then((m) => m.content),
27
+ id: () => import('./i18n/id').then((m) => m.content),
28
+ it: () => import('./i18n/it').then((m) => m.content),
29
+ ja: () => import('./i18n/ja').then((m) => m.content),
30
+ ko: () => import('./i18n/ko').then((m) => m.content),
31
+ nl: () => import('./i18n/nl').then((m) => m.content),
32
+ pl: () => import('./i18n/pl').then((m) => m.content),
33
+ pt: () => import('./i18n/pt').then((m) => m.content),
34
+ ru: () => import('./i18n/ru').then((m) => m.content),
35
+ sv: () => import('./i18n/sv').then((m) => m.content),
36
+ tr: () => import('./i18n/tr').then((m) => m.content),
37
+ zh: () => import('./i18n/zh').then((m) => m.content),
38
+ },
39
+ };
@@ -1,44 +1,6 @@
1
- import type { CreativeToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
-
3
- export interface SynesthesiaPainterUI {
4
- [key: string]: string;
5
- title: string;
6
- description: string;
7
- modeLetters: string;
8
- modeDots: string;
9
- modeAura: string;
10
- placeholder: string;
11
- footerText: string;
12
- clearBtn: string;
13
- faqTitle: string;
14
- bibliographyTitle: string;
15
- }
16
-
17
- export type SynesthesiaPainterLocaleContent = ToolLocaleContent<SynesthesiaPainterUI>;
18
-
19
- export const synesthesiaPainter: CreativeToolEntry<SynesthesiaPainterUI> = {
20
- id: 'synesthesia-painter',
21
- icons: { bg: 'mdi:brush', fg: 'mdi:eye' },
22
- i18n: {
23
- es: () => import('./i18n/es').then((m) => m.content),
24
- en: () => import('./i18n/en').then((m) => m.content),
25
- fr: () => import('./i18n/fr').then((m) => m.content),
26
- de: () => import('./i18n/de').then((m) => m.content),
27
- id: () => import('./i18n/id').then((m) => m.content),
28
- it: () => import('./i18n/it').then((m) => m.content),
29
- ja: () => import('./i18n/ja').then((m) => m.content),
30
- ko: () => import('./i18n/ko').then((m) => m.content),
31
- nl: () => import('./i18n/nl').then((m) => m.content),
32
- pl: () => import('./i18n/pl').then((m) => m.content),
33
- pt: () => import('./i18n/pt').then((m) => m.content),
34
- ru: () => import('./i18n/ru').then((m) => m.content),
35
- sv: () => import('./i18n/sv').then((m) => m.content),
36
- tr: () => import('./i18n/tr').then((m) => m.content),
37
- zh: () => import('./i18n/zh').then((m) => m.content),
38
- },
39
- };
40
-
41
-
1
+ import type { ToolDefinition } from '../../types';
2
+ import { synesthesiaPainter } from './entry';
3
+ export * from './entry';
42
4
  export const SYNESTHESIA_PAINTER_TOOL: ToolDefinition = {
43
5
  entry: synesthesiaPainter,
44
6
  Component: () => import('./component.astro'),
@@ -0,0 +1,49 @@
1
+ import type { CreativeToolEntry, ToolLocaleContent } from '../../types';
2
+
3
+ export interface ZalgoGeneratorUI {
4
+ [key: string]: string;
5
+ title: string;
6
+ description: string;
7
+ inputPlaceholder: string;
8
+ intensityLabel: string;
9
+ outputLabel: string;
10
+ copyBtn: string;
11
+ copied: string;
12
+ faqTitle: string;
13
+ bibliographyTitle: string;
14
+ configTitle: string;
15
+ intensity: string;
16
+ upLabel: string;
17
+ midLabel: string;
18
+ downLabel: string;
19
+ resetBtn: string;
20
+ warningText: string;
21
+ previewLabel: string;
22
+ emptyLabel: string;
23
+ charLabel: string;
24
+ noteText: string;
25
+ }
26
+
27
+ export type ZalgoGeneratorLocaleContent = ToolLocaleContent<ZalgoGeneratorUI>;
28
+
29
+ export const zalgoGenerator: CreativeToolEntry<ZalgoGeneratorUI> = {
30
+ id: 'zalgo-generator',
31
+ icons: { bg: 'mdi:skull-outline', fg: 'mdi:matrix' },
32
+ i18n: {
33
+ es: () => import('./i18n/es').then((m) => m.content),
34
+ en: () => import('./i18n/en').then((m) => m.content),
35
+ fr: () => import('./i18n/fr').then((m) => m.content),
36
+ de: () => import('./i18n/de').then((m) => m.content),
37
+ id: () => import('./i18n/id').then((m) => m.content),
38
+ it: () => import('./i18n/it').then((m) => m.content),
39
+ ja: () => import('./i18n/ja').then((m) => m.content),
40
+ ko: () => import('./i18n/ko').then((m) => m.content),
41
+ nl: () => import('./i18n/nl').then((m) => m.content),
42
+ pl: () => import('./i18n/pl').then((m) => m.content),
43
+ pt: () => import('./i18n/pt').then((m) => m.content),
44
+ ru: () => import('./i18n/ru').then((m) => m.content),
45
+ sv: () => import('./i18n/sv').then((m) => m.content),
46
+ tr: () => import('./i18n/tr').then((m) => m.content),
47
+ zh: () => import('./i18n/zh').then((m) => m.content),
48
+ },
49
+ };
@@ -1,54 +1,6 @@
1
- import type { CreativeToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
2
-
3
- export interface ZalgoGeneratorUI {
4
- [key: string]: string;
5
- title: string;
6
- description: string;
7
- inputPlaceholder: string;
8
- intensityLabel: string;
9
- outputLabel: string;
10
- copyBtn: string;
11
- copied: string;
12
- faqTitle: string;
13
- bibliographyTitle: string;
14
- configTitle: string;
15
- intensity: string;
16
- upLabel: string;
17
- midLabel: string;
18
- downLabel: string;
19
- resetBtn: string;
20
- warningText: string;
21
- previewLabel: string;
22
- emptyLabel: string;
23
- charLabel: string;
24
- noteText: string;
25
- }
26
-
27
- export type ZalgoGeneratorLocaleContent = ToolLocaleContent<ZalgoGeneratorUI>;
28
-
29
- export const zalgoGenerator: CreativeToolEntry<ZalgoGeneratorUI> = {
30
- id: 'zalgo-generator',
31
- icons: { bg: 'mdi:skull-outline', fg: 'mdi:matrix' },
32
- i18n: {
33
- es: () => import('./i18n/es').then((m) => m.content),
34
- en: () => import('./i18n/en').then((m) => m.content),
35
- fr: () => import('./i18n/fr').then((m) => m.content),
36
- de: () => import('./i18n/de').then((m) => m.content),
37
- id: () => import('./i18n/id').then((m) => m.content),
38
- it: () => import('./i18n/it').then((m) => m.content),
39
- ja: () => import('./i18n/ja').then((m) => m.content),
40
- ko: () => import('./i18n/ko').then((m) => m.content),
41
- nl: () => import('./i18n/nl').then((m) => m.content),
42
- pl: () => import('./i18n/pl').then((m) => m.content),
43
- pt: () => import('./i18n/pt').then((m) => m.content),
44
- ru: () => import('./i18n/ru').then((m) => m.content),
45
- sv: () => import('./i18n/sv').then((m) => m.content),
46
- tr: () => import('./i18n/tr').then((m) => m.content),
47
- zh: () => import('./i18n/zh').then((m) => m.content),
48
- },
49
- };
50
-
51
-
1
+ import type { ToolDefinition } from '../../types';
2
+ import { zalgoGenerator } from './entry';
3
+ export * from './entry';
52
4
  export const ZALGO_GENERATOR_TOOL: ToolDefinition = {
53
5
  entry: zalgoGenerator,
54
6
  Component: () => import('./component.astro'),