@jjlmoya/utils-hardware 1.11.0 → 1.12.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 +3 -2
- package/src/entries.ts +23 -0
- package/src/tool/batteryHealthEstimator/entry.ts +30 -0
- package/src/tool/batteryHealthEstimator/index.ts +2 -32
- package/src/tool/deadPixelTest/entry.ts +30 -0
- package/src/tool/deadPixelTest/index.ts +2 -32
- package/src/tool/gamepadTest/entry.ts +30 -0
- package/src/tool/gamepadTest/index.ts +2 -32
- package/src/tool/gamepadVibrationTester/entry.ts +30 -0
- package/src/tool/gamepadVibrationTester/index.ts +2 -32
- package/src/tool/keyboardTest/entry.ts +30 -0
- package/src/tool/keyboardTest/index.ts +2 -32
- package/src/tool/mousePollingTest/entry.ts +30 -0
- package/src/tool/mousePollingTest/index.ts +2 -32
- package/src/tool/toneGenerator/entry.ts +30 -0
- package/src/tool/toneGenerator/index.ts +2 -32
- package/src/tools.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jjlmoya/utils-hardware",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.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"
|
package/src/entries.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { estimadorSaludBateria } from './tool/batteryHealthEstimator/entry';
|
|
2
|
+
export type { EstimadorSaludBateriaLocaleContent } from './tool/batteryHealthEstimator/entry';
|
|
3
|
+
export { pixelesPantalla } from './tool/deadPixelTest/entry';
|
|
4
|
+
export type { PixelesPantallaLocaleContent } from './tool/deadPixelTest/entry';
|
|
5
|
+
export { testMando } from './tool/gamepadTest/entry';
|
|
6
|
+
export type { TestMandoLocaleContent } from './tool/gamepadTest/entry';
|
|
7
|
+
export { probadorVibracionMando } from './tool/gamepadVibrationTester/entry';
|
|
8
|
+
export type { ProbadorVibracionMandoLocaleContent } from './tool/gamepadVibrationTester/entry';
|
|
9
|
+
export { testTeclado } from './tool/keyboardTest/entry';
|
|
10
|
+
export type { TestTecladoLocaleContent } from './tool/keyboardTest/entry';
|
|
11
|
+
export { testRaton } from './tool/mousePollingTest/entry';
|
|
12
|
+
export type { TestRatonLocaleContent } from './tool/mousePollingTest/entry';
|
|
13
|
+
export { toneGenerator } from './tool/toneGenerator/entry';
|
|
14
|
+
export type { ToneGeneratorLocaleContent } from './tool/toneGenerator/entry';
|
|
15
|
+
export { hardwareCategory } from './category';
|
|
16
|
+
import { estimadorSaludBateria } from './tool/batteryHealthEstimator/entry';
|
|
17
|
+
import { pixelesPantalla } from './tool/deadPixelTest/entry';
|
|
18
|
+
import { testMando } from './tool/gamepadTest/entry';
|
|
19
|
+
import { probadorVibracionMando } from './tool/gamepadVibrationTester/entry';
|
|
20
|
+
import { testTeclado } from './tool/keyboardTest/entry';
|
|
21
|
+
import { testRaton } from './tool/mousePollingTest/entry';
|
|
22
|
+
import { toneGenerator } from './tool/toneGenerator/entry';
|
|
23
|
+
export const ALL_ENTRIES = [estimadorSaludBateria, pixelesPantalla, testMando, probadorVibracionMando, testTeclado, testRaton, toneGenerator];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { EstimadorSaludBateriaUI } from './ui';
|
|
5
|
+
export type EstimadorSaludBateriaLocaleContent = ToolLocaleContent<EstimadorSaludBateriaUI>;
|
|
6
|
+
|
|
7
|
+
export const estimadorSaludBateria: HardwareToolEntry<EstimadorSaludBateriaUI> = {
|
|
8
|
+
id: 'estimador-salud-bateria',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:battery-heart-variant',
|
|
11
|
+
fg: 'mdi:battery-charging-high',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { EstimadorSaludBateriaUI } from './ui';
|
|
5
|
-
export type EstimadorSaludBateriaLocaleContent = ToolLocaleContent<EstimadorSaludBateriaUI>;
|
|
6
|
-
|
|
7
|
-
export const estimadorSaludBateria: HardwareToolEntry<EstimadorSaludBateriaUI> = {
|
|
8
|
-
id: 'estimador-salud-bateria',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:battery-heart-variant',
|
|
11
|
-
fg: 'mdi:battery-charging-high',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { estimadorSaludBateria } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const ESTIMADOR_SALUD_BATERIA_TOOL: ToolDefinition = {
|
|
34
4
|
entry: estimadorSaludBateria,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { PixelesPantallaUI } from './ui';
|
|
5
|
+
export type PixelesPantallaLocaleContent = ToolLocaleContent<PixelesPantallaUI>;
|
|
6
|
+
|
|
7
|
+
export const pixelesPantalla: HardwareToolEntry<PixelesPantallaUI> = {
|
|
8
|
+
id: 'pixeles-pantalla',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:monitor-dashboard',
|
|
11
|
+
fg: 'mdi:monitor-shimmer',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { PixelesPantallaUI } from './ui';
|
|
5
|
-
export type PixelesPantallaLocaleContent = ToolLocaleContent<PixelesPantallaUI>;
|
|
6
|
-
|
|
7
|
-
export const pixelesPantalla: HardwareToolEntry<PixelesPantallaUI> = {
|
|
8
|
-
id: 'pixeles-pantalla',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:monitor-dashboard',
|
|
11
|
-
fg: 'mdi:monitor-shimmer',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { pixelesPantalla } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const PIXELES_PANTALLA_TOOL: ToolDefinition = {
|
|
34
4
|
entry: pixelesPantalla,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { TestMandoUI } from './ui';
|
|
5
|
+
export type TestMandoLocaleContent = ToolLocaleContent<TestMandoUI>;
|
|
6
|
+
|
|
7
|
+
export const testMando: HardwareToolEntry<TestMandoUI> = {
|
|
8
|
+
id: 'test-mando',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:gamepad-variant',
|
|
11
|
+
fg: 'mdi:gamepad-circle',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { TestMandoUI } from './ui';
|
|
5
|
-
export type TestMandoLocaleContent = ToolLocaleContent<TestMandoUI>;
|
|
6
|
-
|
|
7
|
-
export const testMando: HardwareToolEntry<TestMandoUI> = {
|
|
8
|
-
id: 'test-mando',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:gamepad-variant',
|
|
11
|
-
fg: 'mdi:gamepad-circle',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { testMando } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const TEST_MANDO_TOOL: ToolDefinition = {
|
|
34
4
|
entry: testMando,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { ProbadorVibracionMandoUI } from './ui';
|
|
5
|
+
export type ProbadorVibracionMandoLocaleContent = ToolLocaleContent<ProbadorVibracionMandoUI>;
|
|
6
|
+
|
|
7
|
+
export const probadorVibracionMando: HardwareToolEntry<ProbadorVibracionMandoUI> = {
|
|
8
|
+
id: 'probador-vibracion-mando',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:vibrate',
|
|
11
|
+
fg: 'mdi:gamepad-variant',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { ProbadorVibracionMandoUI } from './ui';
|
|
5
|
-
export type ProbadorVibracionMandoLocaleContent = ToolLocaleContent<ProbadorVibracionMandoUI>;
|
|
6
|
-
|
|
7
|
-
export const probadorVibracionMando: HardwareToolEntry<ProbadorVibracionMandoUI> = {
|
|
8
|
-
id: 'probador-vibracion-mando',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:vibrate',
|
|
11
|
-
fg: 'mdi:gamepad-variant',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { probadorVibracionMando } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const PROBADOR_VIBRACION_MANDO_TOOL: ToolDefinition = {
|
|
34
4
|
entry: probadorVibracionMando,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { TestTecladoUI } from './ui';
|
|
5
|
+
export type TestTecladoLocaleContent = ToolLocaleContent<TestTecladoUI>;
|
|
6
|
+
|
|
7
|
+
export const testTeclado: HardwareToolEntry<TestTecladoUI> = {
|
|
8
|
+
id: 'test-teclado',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:keyboard-variant',
|
|
11
|
+
fg: 'mdi:keyboard-settings',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { TestTecladoUI } from './ui';
|
|
5
|
-
export type TestTecladoLocaleContent = ToolLocaleContent<TestTecladoUI>;
|
|
6
|
-
|
|
7
|
-
export const testTeclado: HardwareToolEntry<TestTecladoUI> = {
|
|
8
|
-
id: 'test-teclado',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:keyboard-variant',
|
|
11
|
-
fg: 'mdi:keyboard-settings',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { testTeclado } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const TEST_TECLADO_TOOL: ToolDefinition = {
|
|
34
4
|
entry: testTeclado,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { TestRatonUI } from './ui';
|
|
5
|
+
export type TestRatonLocaleContent = ToolLocaleContent<TestRatonUI>;
|
|
6
|
+
|
|
7
|
+
export const testRaton: HardwareToolEntry<TestRatonUI> = {
|
|
8
|
+
id: 'test-raton',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:mouse-variant',
|
|
11
|
+
fg: 'mdi:mouse',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { TestRatonUI } from './ui';
|
|
5
|
-
export type TestRatonLocaleContent = ToolLocaleContent<TestRatonUI>;
|
|
6
|
-
|
|
7
|
-
export const testRaton: HardwareToolEntry<TestRatonUI> = {
|
|
8
|
-
id: 'test-raton',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:mouse-variant',
|
|
11
|
-
fg: 'mdi:mouse',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { testRaton } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const TEST_RATON_TOOL: ToolDefinition = {
|
|
34
4
|
entry: testRaton,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HardwareToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { ToneGeneratorUI } from './ui';
|
|
5
|
+
export type ToneGeneratorLocaleContent = ToolLocaleContent<ToneGeneratorUI>;
|
|
6
|
+
|
|
7
|
+
export const toneGenerator: HardwareToolEntry<ToneGeneratorUI> = {
|
|
8
|
+
id: 'generador-tonos',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:sine-wave',
|
|
11
|
+
fg: 'mdi:waveform',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { ToneGeneratorUI } from './ui';
|
|
5
|
-
export type ToneGeneratorLocaleContent = ToolLocaleContent<ToneGeneratorUI>;
|
|
6
|
-
|
|
7
|
-
export const toneGenerator: HardwareToolEntry<ToneGeneratorUI> = {
|
|
8
|
-
id: 'generador-tonos',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:sine-wave',
|
|
11
|
-
fg: 'mdi:waveform',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
17
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { toneGenerator } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const TONE_GENERATOR_TOOL: ToolDefinition = {
|
|
34
4
|
entry: toneGenerator,
|
|
35
5
|
Component: () => import('./component.astro'),
|
package/src/tools.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ALL_ENTRIES } from './entries';
|
|
1
2
|
import type { ToolDefinition } from './types';
|
|
2
3
|
import { PIXELES_PANTALLA_TOOL } from './tool/deadPixelTest/index';
|
|
3
4
|
import { TEST_TECLADO_TOOL } from './tool/keyboardTest/index';
|
|
@@ -9,4 +10,3 @@ import { TONE_GENERATOR_TOOL } from './tool/toneGenerator/index';
|
|
|
9
10
|
|
|
10
11
|
export const ALL_TOOLS: ToolDefinition[] = [PIXELES_PANTALLA_TOOL, TEST_TECLADO_TOOL, TEST_MANDO_TOOL, PROBADOR_VIBRACION_MANDO_TOOL, TEST_RATON_TOOL, ESTIMADOR_SALUD_BATERIA_TOOL, TONE_GENERATOR_TOOL];
|
|
11
12
|
|
|
12
|
-
export const ALL_ENTRIES = ALL_TOOLS.map(t => t.entry);
|