@jjlmoya/utils-nautical 1.10.0 → 1.13.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/category/index.ts +6 -6
- package/src/entries.ts +20 -0
- package/src/index.ts +1 -1
- package/src/pages/[locale]/[slug].astro +3 -4
- package/src/tool/endurance/entry.ts +56 -0
- package/src/tool/endurance/index.ts +5 -65
- package/src/tool/nauticalConverter/entry.ts +57 -0
- package/src/tool/nauticalConverter/index.ts +5 -66
- package/src/tool/sailArea/entry.ts +53 -0
- package/src/tool/sailArea/index.ts +5 -62
- package/src/tool/speedConverter/entry.ts +46 -0
- package/src/tool/speedConverter/index.ts +5 -55
- package/src/tool/tideCalculator/entry.ts +50 -0
- package/src/tool/tideCalculator/index.ts +5 -59
- package/src/tool/underKeel/entry.ts +49 -0
- package/src/tool/underKeel/index.ts +5 -58
- package/src/tools.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jjlmoya/utils-nautical",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.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/category/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { NauticalCategoryEntry, CategoryLocaleContent } from '../types';
|
|
2
|
-
import { tideCalculator } from '../tool/tideCalculator';
|
|
3
|
-
import { underKeel } from '../tool/underKeel';
|
|
4
|
-
import { nauticalConverter } from '../tool/nauticalConverter';
|
|
5
|
-
import { sailArea } from '../tool/sailArea';
|
|
6
|
-
import { speedConverter } from '../tool/speedConverter';
|
|
7
|
-
import { endurance } from '../tool/endurance';
|
|
2
|
+
import { tideCalculator } from '../tool/tideCalculator/entry';
|
|
3
|
+
import { underKeel } from '../tool/underKeel/entry';
|
|
4
|
+
import { nauticalConverter } from '../tool/nauticalConverter/entry';
|
|
5
|
+
import { sailArea } from '../tool/sailArea/entry';
|
|
6
|
+
import { speedConverter } from '../tool/speedConverter/entry';
|
|
7
|
+
import { endurance } from '../tool/endurance/entry';
|
|
8
8
|
|
|
9
9
|
export type { CategoryLocaleContent };
|
|
10
10
|
|
package/src/entries.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { endurance } from './tool/endurance/entry';
|
|
2
|
+
export type { EnduranceUI, EnduranceLocaleContent } from './tool/endurance/entry';
|
|
3
|
+
export { nauticalConverter } from './tool/nauticalConverter/entry';
|
|
4
|
+
export type { NauticalConverterUI, NauticalConverterLocaleContent } from './tool/nauticalConverter/entry';
|
|
5
|
+
export { sailArea } from './tool/sailArea/entry';
|
|
6
|
+
export type { SailAreaUI, SailAreaLocaleContent } from './tool/sailArea/entry';
|
|
7
|
+
export { speedConverter } from './tool/speedConverter/entry';
|
|
8
|
+
export type { SpeedConverterUI, SpeedConverterLocaleContent } from './tool/speedConverter/entry';
|
|
9
|
+
export { tideCalculator } from './tool/tideCalculator/entry';
|
|
10
|
+
export type { TideCalculatorUI, TideCalculatorLocaleContent } from './tool/tideCalculator/entry';
|
|
11
|
+
export { underKeel } from './tool/underKeel/entry';
|
|
12
|
+
export type { UnderKeelUI, UnderKeelLocaleContent } from './tool/underKeel/entry';
|
|
13
|
+
export { nauticalCategory } from './category';
|
|
14
|
+
import { endurance } from './tool/endurance/entry';
|
|
15
|
+
import { nauticalConverter } from './tool/nauticalConverter/entry';
|
|
16
|
+
import { sailArea } from './tool/sailArea/entry';
|
|
17
|
+
import { speedConverter } from './tool/speedConverter/entry';
|
|
18
|
+
import { tideCalculator } from './tool/tideCalculator/entry';
|
|
19
|
+
import { underKeel } from './tool/underKeel/entry';
|
|
20
|
+
export const ALL_ENTRIES = [endurance, nauticalConverter, sailArea, speedConverter, tideCalculator, underKeel];
|
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ export * from './tool/sailArea';
|
|
|
5
5
|
export * from './tool/speedConverter';
|
|
6
6
|
export * from './tool/endurance';
|
|
7
7
|
export * from './category';
|
|
8
|
-
export
|
|
8
|
+
export const NauticalCategorySEO = () => import('./category/seo.astro').then((m) => m.default);
|
|
9
9
|
|
|
10
10
|
export type {
|
|
11
11
|
KnownLocale,
|
|
@@ -14,7 +14,8 @@ import type { UtilitySEOContent } from "@jjlmoya/utils-shared";
|
|
|
14
14
|
export async function getStaticPaths() {
|
|
15
15
|
const paths = [];
|
|
16
16
|
|
|
17
|
-
for (const { entry, Component } of ALL_TOOLS) {
|
|
17
|
+
for (const { entry, Component: lazyComp } of ALL_TOOLS) {
|
|
18
|
+
const { default: Component } = await lazyComp();
|
|
18
19
|
const localeEntries = Object.entries(entry.i18n) as [
|
|
19
20
|
KnownLocale,
|
|
20
21
|
() => Promise<ToolLocaleContent>,
|
|
@@ -52,8 +53,6 @@ export async function getStaticPaths() {
|
|
|
52
53
|
return paths;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
type ToolComponent = (props: { ui: Record<string, string> }) => unknown;
|
|
56
|
-
|
|
57
56
|
interface NavItem {
|
|
58
57
|
id: string;
|
|
59
58
|
title: string;
|
|
@@ -62,7 +61,7 @@ interface NavItem {
|
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
interface Props {
|
|
65
|
-
Component:
|
|
64
|
+
Component: unknown;
|
|
66
65
|
locale: KnownLocale;
|
|
67
66
|
content: ToolLocaleContent;
|
|
68
67
|
localeUrls: Partial<Record<KnownLocale, string>>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { NauticalToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface EnduranceUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
tankCapacityLabel: string;
|
|
6
|
+
mainTankLabel: string;
|
|
7
|
+
auxTankLabel: string;
|
|
8
|
+
currentFuelLabel: string;
|
|
9
|
+
seaConditionsLabel: string;
|
|
10
|
+
consumptionLabel: string;
|
|
11
|
+
cruiseSpeedLabel: string;
|
|
12
|
+
reserveLabel: string;
|
|
13
|
+
fuelPriceLabel: string;
|
|
14
|
+
maxRangeLabel: string;
|
|
15
|
+
realPerformanceLabel: string;
|
|
16
|
+
hoursLabel: string;
|
|
17
|
+
safeMilesLabel: string;
|
|
18
|
+
tankValueLabel: string;
|
|
19
|
+
inverseCalcLabel: string;
|
|
20
|
+
desiredDistLabel: string;
|
|
21
|
+
minFuelLabel: string;
|
|
22
|
+
warningLabel: string;
|
|
23
|
+
seaCalm: string;
|
|
24
|
+
seaLight: string;
|
|
25
|
+
seaModerate: string;
|
|
26
|
+
seaStorm: string;
|
|
27
|
+
faqTitle: string;
|
|
28
|
+
bibliographyTitle: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type EnduranceLocaleContent = ToolLocaleContent<EnduranceUI>;
|
|
32
|
+
|
|
33
|
+
export const endurance: NauticalToolEntry<EnduranceUI> = {
|
|
34
|
+
id: 'endurance',
|
|
35
|
+
icons: {
|
|
36
|
+
bg: 'mdi:fuel',
|
|
37
|
+
fg: 'mdi:map-marker-distance',
|
|
38
|
+
},
|
|
39
|
+
i18n: {
|
|
40
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
41
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
42
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
43
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
44
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
45
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
46
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
47
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
48
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
49
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
50
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
51
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
52
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
53
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
54
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
55
|
+
},
|
|
56
|
+
};
|
|
@@ -1,68 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import EnduranceSEO from './seo.astro';
|
|
4
|
-
import EnduranceBibliography from './bibliography.astro';
|
|
5
|
-
|
|
6
|
-
export interface EnduranceUI {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
tankCapacityLabel: string;
|
|
9
|
-
mainTankLabel: string;
|
|
10
|
-
auxTankLabel: string;
|
|
11
|
-
currentFuelLabel: string;
|
|
12
|
-
seaConditionsLabel: string;
|
|
13
|
-
consumptionLabel: string;
|
|
14
|
-
cruiseSpeedLabel: string;
|
|
15
|
-
reserveLabel: string;
|
|
16
|
-
fuelPriceLabel: string;
|
|
17
|
-
maxRangeLabel: string;
|
|
18
|
-
realPerformanceLabel: string;
|
|
19
|
-
hoursLabel: string;
|
|
20
|
-
safeMilesLabel: string;
|
|
21
|
-
tankValueLabel: string;
|
|
22
|
-
inverseCalcLabel: string;
|
|
23
|
-
desiredDistLabel: string;
|
|
24
|
-
minFuelLabel: string;
|
|
25
|
-
warningLabel: string;
|
|
26
|
-
seaCalm: string;
|
|
27
|
-
seaLight: string;
|
|
28
|
-
seaModerate: string;
|
|
29
|
-
seaStorm: string;
|
|
30
|
-
faqTitle: string;
|
|
31
|
-
bibliographyTitle: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export type EnduranceLocaleContent = ToolLocaleContent<EnduranceUI>;
|
|
35
|
-
|
|
36
|
-
export const endurance: NauticalToolEntry<EnduranceUI> = {
|
|
37
|
-
id: 'endurance',
|
|
38
|
-
icons: {
|
|
39
|
-
bg: 'mdi:fuel',
|
|
40
|
-
fg: 'mdi:map-marker-distance',
|
|
41
|
-
},
|
|
42
|
-
i18n: {
|
|
43
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
44
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
45
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
46
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
47
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
48
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
49
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
50
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
51
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
52
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
53
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
54
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
55
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
56
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
57
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export { EnduranceComponent, EnduranceSEO, EnduranceBibliography };
|
|
62
|
-
|
|
1
|
+
import { endurance } from './entry';
|
|
2
|
+
export * from './entry';
|
|
63
3
|
export const ENDURANCE_TOOL: ToolDefinition = {
|
|
64
4
|
entry: endurance,
|
|
65
|
-
Component:
|
|
66
|
-
SEOComponent:
|
|
67
|
-
BibliographyComponent:
|
|
5
|
+
Component: () => import('./component.astro'),
|
|
6
|
+
SEOComponent: () => import('./seo.astro'),
|
|
7
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
68
8
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { NauticalToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface NauticalConverterUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
distanceCategoryLabel: string;
|
|
6
|
+
speedCategoryLabel: string;
|
|
7
|
+
depthCategoryLabel: string;
|
|
8
|
+
pressureCategoryLabel: string;
|
|
9
|
+
nmLabel: string;
|
|
10
|
+
kmLabel: string;
|
|
11
|
+
miLabel: string;
|
|
12
|
+
cableLabel: string;
|
|
13
|
+
knLabel: string;
|
|
14
|
+
kmhLabel: string;
|
|
15
|
+
msLabel: string;
|
|
16
|
+
mphLabel: string;
|
|
17
|
+
brozaLabel: string;
|
|
18
|
+
mLabel: string;
|
|
19
|
+
ftLabel: string;
|
|
20
|
+
mbarLabel: string;
|
|
21
|
+
mmhgLabel: string;
|
|
22
|
+
inhgLabel: string;
|
|
23
|
+
atmLabel: string;
|
|
24
|
+
windSeaLabel: string;
|
|
25
|
+
forceLabel: string;
|
|
26
|
+
effectLabel: string;
|
|
27
|
+
copyLabel: string;
|
|
28
|
+
faqTitle: string;
|
|
29
|
+
bibliographyTitle: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type NauticalConverterLocaleContent = ToolLocaleContent<NauticalConverterUI>;
|
|
33
|
+
|
|
34
|
+
export const nauticalConverter: NauticalToolEntry<NauticalConverterUI> = {
|
|
35
|
+
id: 'nautical-converter',
|
|
36
|
+
icons: {
|
|
37
|
+
bg: 'mdi:swap-horizontal',
|
|
38
|
+
fg: 'mdi:compass',
|
|
39
|
+
},
|
|
40
|
+
i18n: {
|
|
41
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
42
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
43
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
44
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
45
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
46
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
47
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
48
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
49
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
50
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
51
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
52
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
53
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
54
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
55
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -1,69 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import NauticalConverterSEO from './seo.astro';
|
|
4
|
-
import NauticalConverterBibliography from './bibliography.astro';
|
|
5
|
-
|
|
6
|
-
export interface NauticalConverterUI {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
distanceCategoryLabel: string;
|
|
9
|
-
speedCategoryLabel: string;
|
|
10
|
-
depthCategoryLabel: string;
|
|
11
|
-
pressureCategoryLabel: string;
|
|
12
|
-
nmLabel: string;
|
|
13
|
-
kmLabel: string;
|
|
14
|
-
miLabel: string;
|
|
15
|
-
cableLabel: string;
|
|
16
|
-
knLabel: string;
|
|
17
|
-
kmhLabel: string;
|
|
18
|
-
msLabel: string;
|
|
19
|
-
mphLabel: string;
|
|
20
|
-
brozaLabel: string;
|
|
21
|
-
mLabel: string;
|
|
22
|
-
ftLabel: string;
|
|
23
|
-
mbarLabel: string;
|
|
24
|
-
mmhgLabel: string;
|
|
25
|
-
inhgLabel: string;
|
|
26
|
-
atmLabel: string;
|
|
27
|
-
windSeaLabel: string;
|
|
28
|
-
forceLabel: string;
|
|
29
|
-
effectLabel: string;
|
|
30
|
-
copyLabel: string;
|
|
31
|
-
faqTitle: string;
|
|
32
|
-
bibliographyTitle: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type NauticalConverterLocaleContent = ToolLocaleContent<NauticalConverterUI>;
|
|
36
|
-
|
|
37
|
-
export const nauticalConverter: NauticalToolEntry<NauticalConverterUI> = {
|
|
38
|
-
id: 'nautical-converter',
|
|
39
|
-
icons: {
|
|
40
|
-
bg: 'mdi:swap-horizontal',
|
|
41
|
-
fg: 'mdi:compass',
|
|
42
|
-
},
|
|
43
|
-
i18n: {
|
|
44
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
45
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
46
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
47
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
48
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
49
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
50
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
51
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
52
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
53
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
54
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
55
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
56
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
57
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
58
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
59
|
-
},
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export { NauticalConverterComponent, NauticalConverterSEO, NauticalConverterBibliography };
|
|
63
|
-
|
|
1
|
+
import { nauticalConverter } from './entry';
|
|
2
|
+
export * from './entry';
|
|
64
3
|
export const NAUTICAL_CONVERTER_TOOL: ToolDefinition = {
|
|
65
4
|
entry: nauticalConverter,
|
|
66
|
-
Component:
|
|
67
|
-
SEOComponent:
|
|
68
|
-
BibliographyComponent:
|
|
5
|
+
Component: () => import('./component.astro'),
|
|
6
|
+
SEOComponent: () => import('./seo.astro'),
|
|
7
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
69
8
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { NauticalToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface SailAreaUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
hullSectionLabel: string;
|
|
6
|
+
totalMassLabel: string;
|
|
7
|
+
rigSystemLabel: string;
|
|
8
|
+
intendedUseLabel: string;
|
|
9
|
+
rigGeometryLabel: string;
|
|
10
|
+
sailConfigLabel: string;
|
|
11
|
+
genoaOverlapLabel: string;
|
|
12
|
+
foqueLabel: string;
|
|
13
|
+
genovaLabel: string;
|
|
14
|
+
sadRatioLabel: string;
|
|
15
|
+
totalAreaLabel: string;
|
|
16
|
+
performanceLabel: string;
|
|
17
|
+
sloopLabel: string;
|
|
18
|
+
cutterLabel: string;
|
|
19
|
+
ketchLabel: string;
|
|
20
|
+
cruiserLabel: string;
|
|
21
|
+
performanceTypeLabel: string;
|
|
22
|
+
racerLabel: string;
|
|
23
|
+
exportPdfLabel: string;
|
|
24
|
+
faqTitle: string;
|
|
25
|
+
bibliographyTitle: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type SailAreaLocaleContent = ToolLocaleContent<SailAreaUI>;
|
|
29
|
+
|
|
30
|
+
export const sailArea: NauticalToolEntry<SailAreaUI> = {
|
|
31
|
+
id: 'sail-area',
|
|
32
|
+
icons: {
|
|
33
|
+
bg: 'mdi:sail-boat',
|
|
34
|
+
fg: 'mdi:wind-power',
|
|
35
|
+
},
|
|
36
|
+
i18n: {
|
|
37
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
38
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
39
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
40
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
41
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
42
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
43
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
44
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
45
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
46
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
47
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
48
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
49
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
50
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
51
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -1,65 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import SailAreaSEO from './seo.astro';
|
|
4
|
-
import SailAreaBibliography from './bibliography.astro';
|
|
5
|
-
|
|
6
|
-
export interface SailAreaUI {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
hullSectionLabel: string;
|
|
9
|
-
totalMassLabel: string;
|
|
10
|
-
rigSystemLabel: string;
|
|
11
|
-
intendedUseLabel: string;
|
|
12
|
-
rigGeometryLabel: string;
|
|
13
|
-
sailConfigLabel: string;
|
|
14
|
-
genoaOverlapLabel: string;
|
|
15
|
-
foqueLabel: string;
|
|
16
|
-
genovaLabel: string;
|
|
17
|
-
sadRatioLabel: string;
|
|
18
|
-
totalAreaLabel: string;
|
|
19
|
-
performanceLabel: string;
|
|
20
|
-
sloopLabel: string;
|
|
21
|
-
cutterLabel: string;
|
|
22
|
-
ketchLabel: string;
|
|
23
|
-
cruiserLabel: string;
|
|
24
|
-
performanceTypeLabel: string;
|
|
25
|
-
racerLabel: string;
|
|
26
|
-
exportPdfLabel: string;
|
|
27
|
-
faqTitle: string;
|
|
28
|
-
bibliographyTitle: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export type SailAreaLocaleContent = ToolLocaleContent<SailAreaUI>;
|
|
32
|
-
|
|
33
|
-
export const sailArea: NauticalToolEntry<SailAreaUI> = {
|
|
34
|
-
id: 'sail-area',
|
|
35
|
-
icons: {
|
|
36
|
-
bg: 'mdi:sail-boat',
|
|
37
|
-
fg: 'mdi:wind-power',
|
|
38
|
-
},
|
|
39
|
-
i18n: {
|
|
40
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
41
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
42
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
43
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
44
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
45
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
46
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
47
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
48
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
49
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
50
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
51
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
52
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
53
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
54
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { SailAreaComponent, SailAreaSEO, SailAreaBibliography };
|
|
59
|
-
|
|
1
|
+
import { sailArea } from './entry';
|
|
2
|
+
export * from './entry';
|
|
60
3
|
export const SAIL_AREA_TOOL: ToolDefinition = {
|
|
61
4
|
entry: sailArea,
|
|
62
|
-
Component:
|
|
63
|
-
SEOComponent:
|
|
64
|
-
BibliographyComponent:
|
|
5
|
+
Component: () => import('./component.astro'),
|
|
6
|
+
SEOComponent: () => import('./seo.astro'),
|
|
7
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
65
8
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { NauticalToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface SpeedConverterUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
knLabel: string;
|
|
6
|
+
kmhLabel: string;
|
|
7
|
+
msLabel: string;
|
|
8
|
+
mphLabel: string;
|
|
9
|
+
beaufortTitle: string;
|
|
10
|
+
forceLabel: string;
|
|
11
|
+
descriptionLabel: string;
|
|
12
|
+
knotsLabel: string;
|
|
13
|
+
effectLabel: string;
|
|
14
|
+
seaStateLabel: string;
|
|
15
|
+
windEffectLabel: string;
|
|
16
|
+
faqTitle: string;
|
|
17
|
+
bibliographyTitle: string;
|
|
18
|
+
beaufortDataJson: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type SpeedConverterLocaleContent = ToolLocaleContent<SpeedConverterUI>;
|
|
22
|
+
|
|
23
|
+
export const speedConverter: NauticalToolEntry<SpeedConverterUI> = {
|
|
24
|
+
id: 'speed-converter',
|
|
25
|
+
icons: {
|
|
26
|
+
bg: 'mdi:speedometer',
|
|
27
|
+
fg: 'mdi:weather-windy',
|
|
28
|
+
},
|
|
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,58 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import SpeedConverterSEO from './seo.astro';
|
|
4
|
-
import SpeedConverterBibliography from './bibliography.astro';
|
|
5
|
-
|
|
6
|
-
export interface SpeedConverterUI {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
knLabel: string;
|
|
9
|
-
kmhLabel: string;
|
|
10
|
-
msLabel: string;
|
|
11
|
-
mphLabel: string;
|
|
12
|
-
beaufortTitle: string;
|
|
13
|
-
forceLabel: string;
|
|
14
|
-
descriptionLabel: string;
|
|
15
|
-
knotsLabel: string;
|
|
16
|
-
effectLabel: string;
|
|
17
|
-
seaStateLabel: string;
|
|
18
|
-
windEffectLabel: string;
|
|
19
|
-
faqTitle: string;
|
|
20
|
-
bibliographyTitle: string;
|
|
21
|
-
beaufortDataJson: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type SpeedConverterLocaleContent = ToolLocaleContent<SpeedConverterUI>;
|
|
25
|
-
|
|
26
|
-
export const speedConverter: NauticalToolEntry<SpeedConverterUI> = {
|
|
27
|
-
id: 'speed-converter',
|
|
28
|
-
icons: {
|
|
29
|
-
bg: 'mdi:speedometer',
|
|
30
|
-
fg: 'mdi:weather-windy',
|
|
31
|
-
},
|
|
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
|
-
export { SpeedConverterComponent, SpeedConverterSEO, SpeedConverterBibliography };
|
|
52
|
-
|
|
1
|
+
import { speedConverter } from './entry';
|
|
2
|
+
export * from './entry';
|
|
53
3
|
export const SPEED_CONVERTER_TOOL: ToolDefinition = {
|
|
54
4
|
entry: speedConverter,
|
|
55
|
-
Component:
|
|
56
|
-
SEOComponent:
|
|
57
|
-
BibliographyComponent:
|
|
5
|
+
Component: () => import('./component.astro'),
|
|
6
|
+
SEOComponent: () => import('./seo.astro'),
|
|
7
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
58
8
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { NauticalToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface TideCalculatorUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
parametersLabel: string;
|
|
6
|
+
highTideLabel: string;
|
|
7
|
+
lowTideLabel: string;
|
|
8
|
+
targetTimeLabel: string;
|
|
9
|
+
estimatedHeightLabel: string;
|
|
10
|
+
metersLabel: string;
|
|
11
|
+
amplitudeLabel: string;
|
|
12
|
+
durationLabel: string;
|
|
13
|
+
tableBreakdownLabel: string;
|
|
14
|
+
tableHourLabel: string;
|
|
15
|
+
tableStateLabel: string;
|
|
16
|
+
tableStartLabel: string;
|
|
17
|
+
tableEndLabel: string;
|
|
18
|
+
statusUpLabel: string;
|
|
19
|
+
statusDownLabel: string;
|
|
20
|
+
statusOutOfRange: string;
|
|
21
|
+
faqTitle: string;
|
|
22
|
+
bibliographyTitle: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type TideCalculatorLocaleContent = ToolLocaleContent<TideCalculatorUI>;
|
|
26
|
+
|
|
27
|
+
export const tideCalculator: NauticalToolEntry<TideCalculatorUI> = {
|
|
28
|
+
id: 'tide-calculator',
|
|
29
|
+
icons: {
|
|
30
|
+
bg: 'mdi:waves',
|
|
31
|
+
fg: 'mdi:sailing',
|
|
32
|
+
},
|
|
33
|
+
i18n: {
|
|
34
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
35
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
36
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
37
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
38
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
39
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
40
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
41
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
42
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
43
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
44
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
45
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
46
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
47
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
48
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
49
|
+
},
|
|
50
|
+
};
|
|
@@ -1,62 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import TideCalculatorSEO from './seo.astro';
|
|
4
|
-
import TideCalculatorBibliography from './bibliography.astro';
|
|
5
|
-
|
|
6
|
-
export interface TideCalculatorUI {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
parametersLabel: string;
|
|
9
|
-
highTideLabel: string;
|
|
10
|
-
lowTideLabel: string;
|
|
11
|
-
targetTimeLabel: string;
|
|
12
|
-
estimatedHeightLabel: string;
|
|
13
|
-
metersLabel: string;
|
|
14
|
-
amplitudeLabel: string;
|
|
15
|
-
durationLabel: string;
|
|
16
|
-
tableBreakdownLabel: string;
|
|
17
|
-
tableHourLabel: string;
|
|
18
|
-
tableStateLabel: string;
|
|
19
|
-
tableStartLabel: string;
|
|
20
|
-
tableEndLabel: string;
|
|
21
|
-
statusUpLabel: string;
|
|
22
|
-
statusDownLabel: string;
|
|
23
|
-
statusOutOfRange: string;
|
|
24
|
-
faqTitle: string;
|
|
25
|
-
bibliographyTitle: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type TideCalculatorLocaleContent = ToolLocaleContent<TideCalculatorUI>;
|
|
29
|
-
|
|
30
|
-
export const tideCalculator: NauticalToolEntry<TideCalculatorUI> = {
|
|
31
|
-
id: 'tide-calculator',
|
|
32
|
-
icons: {
|
|
33
|
-
bg: 'mdi:waves',
|
|
34
|
-
fg: 'mdi:sailing',
|
|
35
|
-
},
|
|
36
|
-
i18n: {
|
|
37
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
38
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
39
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
40
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
41
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
42
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
43
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
44
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
45
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
46
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
47
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
48
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
49
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
50
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
51
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export { TideCalculatorCalculator, TideCalculatorSEO, TideCalculatorBibliography };
|
|
56
|
-
|
|
1
|
+
import { tideCalculator } from './entry';
|
|
2
|
+
export * from './entry';
|
|
57
3
|
export const TIDE_CALCULATOR_TOOL: ToolDefinition = {
|
|
58
4
|
entry: tideCalculator,
|
|
59
|
-
Component:
|
|
60
|
-
SEOComponent:
|
|
61
|
-
BibliographyComponent:
|
|
5
|
+
Component: () => import('./component.astro'),
|
|
6
|
+
SEOComponent: () => import('./seo.astro'),
|
|
7
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
62
8
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { NauticalToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface UnderKeelUI {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
parametersLabel: string;
|
|
6
|
+
boatDraftLabel: string;
|
|
7
|
+
chartDepthLabel: string;
|
|
8
|
+
safetyMarginLabel: string;
|
|
9
|
+
highTideLabel: string;
|
|
10
|
+
lowTideLabel: string;
|
|
11
|
+
metersLabel: string;
|
|
12
|
+
passWindowLabel: string;
|
|
13
|
+
neededLabel: string;
|
|
14
|
+
tideRequiredLabel: string;
|
|
15
|
+
statusNeverLabel: string;
|
|
16
|
+
statusAlwaysLabel: string;
|
|
17
|
+
statusFromLabel: string;
|
|
18
|
+
statusUntilLabel: string;
|
|
19
|
+
bottomLabel: string;
|
|
20
|
+
faqTitle: string;
|
|
21
|
+
bibliographyTitle: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type UnderKeelLocaleContent = ToolLocaleContent<UnderKeelUI>;
|
|
25
|
+
|
|
26
|
+
export const underKeel: NauticalToolEntry<UnderKeelUI> = {
|
|
27
|
+
id: 'under-keel',
|
|
28
|
+
icons: {
|
|
29
|
+
bg: 'mdi:ferry',
|
|
30
|
+
fg: 'mdi:anchor',
|
|
31
|
+
},
|
|
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,61 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import UnderKeelSEO from './seo.astro';
|
|
4
|
-
import UnderKeelBibliography from './bibliography.astro';
|
|
5
|
-
|
|
6
|
-
export interface UnderKeelUI {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
parametersLabel: string;
|
|
9
|
-
boatDraftLabel: string;
|
|
10
|
-
chartDepthLabel: string;
|
|
11
|
-
safetyMarginLabel: string;
|
|
12
|
-
highTideLabel: string;
|
|
13
|
-
lowTideLabel: string;
|
|
14
|
-
metersLabel: string;
|
|
15
|
-
passWindowLabel: string;
|
|
16
|
-
neededLabel: string;
|
|
17
|
-
tideRequiredLabel: string;
|
|
18
|
-
statusNeverLabel: string;
|
|
19
|
-
statusAlwaysLabel: string;
|
|
20
|
-
statusFromLabel: string;
|
|
21
|
-
statusUntilLabel: string;
|
|
22
|
-
bottomLabel: string;
|
|
23
|
-
faqTitle: string;
|
|
24
|
-
bibliographyTitle: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type UnderKeelLocaleContent = ToolLocaleContent<UnderKeelUI>;
|
|
28
|
-
|
|
29
|
-
export const underKeel: NauticalToolEntry<UnderKeelUI> = {
|
|
30
|
-
id: 'under-keel',
|
|
31
|
-
icons: {
|
|
32
|
-
bg: 'mdi:ferry',
|
|
33
|
-
fg: 'mdi:anchor',
|
|
34
|
-
},
|
|
35
|
-
i18n: {
|
|
36
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
37
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
38
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
39
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
40
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
41
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
42
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
43
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
44
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
45
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
46
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
47
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
48
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
49
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
50
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
51
|
-
},
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { UnderKeelComponent, UnderKeelSEO, UnderKeelBibliography };
|
|
55
|
-
|
|
1
|
+
import { underKeel } from './entry';
|
|
2
|
+
export * from './entry';
|
|
56
3
|
export const UNDER_KEEL_TOOL: ToolDefinition = {
|
|
57
4
|
entry: underKeel,
|
|
58
|
-
Component:
|
|
59
|
-
SEOComponent:
|
|
60
|
-
BibliographyComponent:
|
|
5
|
+
Component: () => import('./component.astro'),
|
|
6
|
+
SEOComponent: () => import('./seo.astro'),
|
|
7
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
61
8
|
};
|
package/src/tools.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ALL_ENTRIES } from './entries';
|
|
1
2
|
import { TIDE_CALCULATOR_TOOL } from './tool/tideCalculator';
|
|
2
3
|
import { UNDER_KEEL_TOOL } from './tool/underKeel';
|
|
3
4
|
import { NAUTICAL_CONVERTER_TOOL } from './tool/nauticalConverter';
|
|
@@ -24,4 +25,3 @@ export {
|
|
|
24
25
|
ENDURANCE_TOOL,
|
|
25
26
|
};
|
|
26
27
|
|
|
27
|
-
export const ALL_ENTRIES = ALL_TOOLS.map(t => t.entry);
|