@mrfylke/contact-form 0.1.5 → 0.1.8
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/README.md +17 -0
- package/lib/components/button/button.module.css +151 -139
- package/lib/components/checkbox/checkbox.module.css +40 -37
- package/lib/components/error-message/error-message.module.css +2 -2
- package/lib/components/external-link-page.module.css +15 -15
- package/lib/components/form/fieldset/fieldset.module.css +15 -15
- package/lib/components/form/form-component-label/form-component-label.module.css +4 -4
- package/lib/components/form/form.module.css +324 -308
- package/lib/components/loading/loading.module.css +9 -9
- package/lib/components/section-card/section-card.module.css +10 -10
- package/lib/contact.module.css +37 -36
- package/lib/error-content/error-content.module.css +7 -7
- package/lib/layouts/container.module.css +10 -10
- package/lib/layouts/layout.module.css +46 -45
- package/lib/modules/config/types.d.ts +2 -32
- package/lib/modules/config/types.d.ts.map +1 -1
- package/lib/modules/transport-mode/filter/filter.module.css +51 -49
- package/lib/modules/transport-mode/icon/icon.module.css +14 -14
- package/lib/success-content/success-content.module.css +7 -7
- package/lib/translations/components/index.d.ts +0 -10
- package/lib/translations/components/index.d.ts.map +1 -1
- package/lib/translations/components/index.js +1 -21
- package/lib/translations/index.d.ts +0 -1
- package/lib/translations/index.d.ts.map +1 -1
- package/lib/translations/index.js +1 -2
- package/lib/translations/json-to-override.d.ts.map +1 -1
- package/lib/translations/json-to-override.js +0 -6
- package/lib/translations/merge-overrides.d.ts +0 -2
- package/lib/translations/merge-overrides.d.ts.map +1 -1
- package/lib/translations/merge-overrides.js +0 -4
- package/lib/translations/pages/index.d.ts +0 -1
- package/lib/translations/pages/index.d.ts.map +1 -1
- package/lib/translations/pages/index.js +1 -3
- package/lib/translations/types.d.ts +0 -2
- package/lib/translations/types.d.ts.map +1 -1
- package/package.json +2 -3
- package/lib/layouts/contact-form-footer.d.ts +0 -5
- package/lib/layouts/contact-form-footer.d.ts.map +0 -1
- package/lib/layouts/contact-form-footer.js +0 -75
- package/lib/layouts/contact-form-header.d.ts +0 -9
- package/lib/layouts/contact-form-header.d.ts.map +0 -1
- package/lib/layouts/contact-form-header.js +0 -50
- package/lib/layouts/footer.module.css +0 -109
- package/lib/layouts/header.module.css +0 -39
- package/lib/translations/components/clear-button.d.ts +0 -4
- package/lib/translations/components/clear-button.d.ts.map +0 -1
- package/lib/translations/components/clear-button.js +0 -7
- package/lib/translations/components/departure-date-selector.d.ts +0 -8
- package/lib/translations/components/departure-date-selector.d.ts.map +0 -1
- package/lib/translations/components/departure-date-selector.js +0 -11
- package/lib/translations/components/departure-time.d.ts +0 -8
- package/lib/translations/components/departure-time.d.ts.map +0 -1
- package/lib/translations/components/departure-time.js +0 -11
- package/lib/translations/components/empty-search.d.ts +0 -18
- package/lib/translations/components/empty-search.d.ts.map +0 -1
- package/lib/translations/components/empty-search.js +0 -21
- package/lib/translations/components/geolocation-button.d.ts +0 -10
- package/lib/translations/components/geolocation-button.d.ts.map +0 -1
- package/lib/translations/components/geolocation-button.js +0 -13
- package/lib/translations/components/map.d.ts +0 -19
- package/lib/translations/components/map.d.ts.map +0 -1
- package/lib/translations/components/map.js +0 -22
- package/lib/translations/components/search.d.ts +0 -9
- package/lib/translations/components/search.d.ts.map +0 -1
- package/lib/translations/components/search.js +0 -12
- package/lib/translations/components/swap-button.d.ts +0 -4
- package/lib/translations/components/swap-button.d.ts.map +0 -1
- package/lib/translations/components/swap-button.js +0 -7
- package/lib/translations/components/tab-link.d.ts +0 -5
- package/lib/translations/components/tab-link.d.ts.map +0 -1
- package/lib/translations/components/tab-link.js +0 -8
- package/lib/translations/components/venue-icon.d.ts +0 -9
- package/lib/translations/components/venue-icon.d.ts.map +0 -1
- package/lib/translations/components/venue-icon.js +0 -12
- package/lib/translations/dictionary.d.ts +0 -33
- package/lib/translations/dictionary.d.ts.map +0 -1
- package/lib/translations/dictionary.js +0 -59
- package/lib/translations/modules/index.d.ts +0 -4
- package/lib/translations/modules/index.d.ts.map +0 -1
- package/lib/translations/modules/index.js +0 -9
- package/lib/translations/modules/layout.d.ts +0 -73
- package/lib/translations/modules/layout.d.ts.map +0 -1
- package/lib/translations/modules/layout.js +0 -106
- package/lib/translations/modules/search-time.d.ts +0 -8
- package/lib/translations/modules/search-time.d.ts.map +0 -1
- package/lib/translations/modules/search-time.js +0 -11
- package/lib/translations/modules/situation.d.ts +0 -8
- package/lib/translations/modules/situation.d.ts.map +0 -1
- package/lib/translations/modules/situation.js +0 -11
- package/lib/translations/pages/departures.d.ts +0 -64
- package/lib/translations/pages/departures.d.ts.map +0 -1
- package/lib/translations/pages/departures.js +0 -75
- package/lib/utils/env.d.ts +0 -10
- package/lib/utils/env.d.ts.map +0 -1
- package/lib/utils/env.js +0 -49
- package/lib/utils/presence.d.ts +0 -2
- package/lib/utils/presence.d.ts.map +0 -1
- package/lib/utils/presence.js +0 -5
- package/lib/utils/use-debounce.d.ts +0 -3
- package/lib/utils/use-debounce.d.ts.map +0 -1
- package/lib/utils/use-debounce.js +0 -14
- package/lib/utils/use-localstorage.d.ts +0 -2
- package/lib/utils/use-localstorage.d.ts.map +0 -1
- package/lib/utils/use-localstorage.js +0 -40
- package/lib/utils/user-media-query.d.ts +0 -2
- package/lib/utils/user-media-query.d.ts.map +0 -1
- package/lib/utils/user-media-query.js +0 -36
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const GeolocationButton: {
|
|
2
|
-
alt: import("../../translations/commons").TranslatedString;
|
|
3
|
-
loading: import("../../translations/commons").TranslatedString;
|
|
4
|
-
error: {
|
|
5
|
-
denied: import("../../translations/commons").TranslatedString;
|
|
6
|
-
unavailable: import("../../translations/commons").TranslatedString;
|
|
7
|
-
timeout: import("../../translations/commons").TranslatedString;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=geolocation-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"geolocation-button.d.ts","sourceRoot":"","sources":["../../../src/translations/components/geolocation-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;CAoB7B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GeolocationButton = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.GeolocationButton = {
|
|
6
|
-
alt: (0, commons_1.translation)('Finn min posisjon', 'Find my position', 'Finn min posisjon'),
|
|
7
|
-
loading: (0, commons_1.translation)('Finner posisjon', 'Finding position', 'Finn posisjon'),
|
|
8
|
-
error: {
|
|
9
|
-
denied: (0, commons_1.translation)('Du må endre stedsinnstillinger i nettleseren din for å bruke din posisjon i reisesøket.', 'You need to change your browser settings to use your position in the journey planner.', 'Du må endre stadsinnstillingar i nettlesaren din for å bruke din posisjon i reisesøket.'),
|
|
10
|
-
unavailable: (0, commons_1.translation)('Posisjonen din er ikke tilgjengelig.', 'Your position is not available.', 'Posisjonen din er ikkje tilgjengeleg.'),
|
|
11
|
-
timeout: (0, commons_1.translation)('Det tok for lang tid å hente posisjonen din. Prøv på nytt.', 'It took too long to get your position. Please try again.', 'Det tok for lang tid å hente posisjonen din. Prøv på nytt.'),
|
|
12
|
-
},
|
|
13
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const Map: {
|
|
2
|
-
header: {
|
|
3
|
-
address: import("../../translations/commons").TranslatedString;
|
|
4
|
-
venue: (address: string) => import("../../translations/commons").TranslatedString;
|
|
5
|
-
};
|
|
6
|
-
map: {
|
|
7
|
-
openFullscreenButton: import("../../translations/commons").TranslatedString;
|
|
8
|
-
closeFullscreenButton: import("../../translations/commons").TranslatedString;
|
|
9
|
-
centerMapButton: import("../../translations/commons").TranslatedString;
|
|
10
|
-
startPoint: import("../../translations/commons").TranslatedString;
|
|
11
|
-
endPoint: import("../../translations/commons").TranslatedString;
|
|
12
|
-
};
|
|
13
|
-
button: {
|
|
14
|
-
travelFrom: import("../../translations/commons").TranslatedString;
|
|
15
|
-
travelTo: import("../../translations/commons").TranslatedString;
|
|
16
|
-
};
|
|
17
|
-
loading: import("../../translations/commons").TranslatedString;
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/translations/components/map.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;yBAOK,MAAM;;;;;;;;;;;;;;CAmB1B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Map = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.Map = {
|
|
6
|
-
header: {
|
|
7
|
-
address: (0, commons_1.translation)('Holdeplasser i nærheten av', 'Stops near', 'Haldeplasser i nærleiken av'),
|
|
8
|
-
venue: (address) => (0, commons_1.translation)(`Ligger i ${address}`, `Located on ${address}`, `Ligg i ${address}`),
|
|
9
|
-
},
|
|
10
|
-
map: {
|
|
11
|
-
openFullscreenButton: (0, commons_1.translation)('Se i kart', 'See in map', 'Sjå i kart'),
|
|
12
|
-
closeFullscreenButton: (0, commons_1.translation)('Lukk kart', 'Close map', 'Lukk kart'),
|
|
13
|
-
centerMapButton: (0, commons_1.translation)('Tilbakestill kartvisning', 'Reset map view', 'Tilbakestill kartvisning'),
|
|
14
|
-
startPoint: (0, commons_1.translation)('Start', 'Start', 'Start'),
|
|
15
|
-
endPoint: (0, commons_1.translation)('Slutt', 'End', 'Slutt'),
|
|
16
|
-
},
|
|
17
|
-
button: {
|
|
18
|
-
travelFrom: (0, commons_1.translation)('Reis fra', 'Travel from', 'Reis frå'),
|
|
19
|
-
travelTo: (0, commons_1.translation)('Reis til', 'Travel to', 'Reis til'),
|
|
20
|
-
},
|
|
21
|
-
loading: (0, commons_1.translation)('Laster...', 'Loading...', 'Lastar...'),
|
|
22
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const SearchInput: {
|
|
2
|
-
noResults: import("../../translations/commons").TranslatedString;
|
|
3
|
-
results: (resultCount: number) => import("../../translations/commons").TranslatedString;
|
|
4
|
-
previousResultA11yLabel: (resultCount: number) => import("../../translations/commons").TranslatedString;
|
|
5
|
-
myPosition: import("../../translations/commons").TranslatedString;
|
|
6
|
-
positionNotAvailable: import("../../translations/commons").TranslatedString;
|
|
7
|
-
recentSearches: import("../../translations/commons").TranslatedString;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/translations/components/search.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;2BAMC,MAAM;2CAQU,MAAM;;;;CAiB9C,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchInput = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.SearchInput = {
|
|
6
|
-
noResults: (0, commons_1.translation)('Ingen resultater tilgjengelig', 'No results are available.', 'Ingen resultat tilgjengeleg'),
|
|
7
|
-
results: (resultCount) => (0, commons_1.translation)(`${resultCount} treff, bruk pil opp og pil ned for navigering. Trykk Enter for å velge.`, `${resultCount} result${resultCount === 1 ? ' is' : 's are'} available, use up and down arrow keys to navigate. Press Enter key to select.`, `${resultCount} treff, bruk pil opp og pil ned for navigering. Trykk Enter for å velje.`),
|
|
8
|
-
previousResultA11yLabel: (resultCount) => (0, commons_1.translation)(`Min posisjon og ${resultCount} tidligere søk, bruk pil opp og pil ned for navigering. Trykk Enter for å velje.`, `My location and ${resultCount} previous searches, use up and down arrow keys to navigate. Press Enter key to select.`, `Min posisjon og ${resultCount} tidligere søk, bruk pil opp og pil ned for navigering. Trykk Enter for å velje.`),
|
|
9
|
-
myPosition: (0, commons_1.translation)('Min posisjon', 'My location', 'Min posisjon'),
|
|
10
|
-
positionNotAvailable: (0, commons_1.translation)('Posisjon ikke tilgjengelig', 'Position not available', 'Posisjon ikke tilgjengelig'),
|
|
11
|
-
recentSearches: (0, commons_1.translation)('Sist brukte steder', 'Recently used places', 'Siste brukte steder'),
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swap-button.d.ts","sourceRoot":"","sources":["../../../src/translations/components/swap-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;CAMtB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SwapButton = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.SwapButton = {
|
|
6
|
-
alt: (0, commons_1.translation)('Bytt avreisested og ankomststed', 'Swap place of departure/arrival', 'Byt avreisestad og framkomststad'),
|
|
7
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab-link.d.ts","sourceRoot":"","sources":["../../../src/translations/components/tab-link.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TabLink = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.TabLink = {
|
|
6
|
-
assistant: (0, commons_1.translation)('Finn reise', 'Find trip', 'Finn reise'),
|
|
7
|
-
departures: (0, commons_1.translation)('Se avganger', 'See departures', 'Sjå avganger'),
|
|
8
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const VenueIcon: {
|
|
2
|
-
bus: import("../../translations/commons").TranslatedString;
|
|
3
|
-
air: import("../../translations/commons").TranslatedString;
|
|
4
|
-
rail: import("../../translations/commons").TranslatedString;
|
|
5
|
-
tram: import("../../translations/commons").TranslatedString;
|
|
6
|
-
water: import("../../translations/commons").TranslatedString;
|
|
7
|
-
unknown: import("../../translations/commons").TranslatedString;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=venue-icon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"venue-icon.d.ts","sourceRoot":"","sources":["../../../src/translations/components/venue-icon.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;CAOrB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VenueIcon = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.VenueIcon = {
|
|
6
|
-
bus: (0, commons_1.translation)('Buss', 'Bus', 'Buss'),
|
|
7
|
-
air: (0, commons_1.translation)('Fly', 'Airplane', 'Fly'),
|
|
8
|
-
rail: (0, commons_1.translation)('Tog', 'Train', 'Tog'),
|
|
9
|
-
tram: (0, commons_1.translation)('Trikk', 'Tram', 'Trikk'),
|
|
10
|
-
water: (0, commons_1.translation)('Båt', 'Boat', 'Båt'),
|
|
11
|
-
unknown: (0, commons_1.translation)('Ukjent', 'Unknown', 'Ukjend'),
|
|
12
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
date: {
|
|
3
|
-
units: {
|
|
4
|
-
now: import("./commons").TranslatedString;
|
|
5
|
-
short: {
|
|
6
|
-
year: import("./commons").TranslatedString;
|
|
7
|
-
month: import("./commons").TranslatedString;
|
|
8
|
-
week: import("./commons").TranslatedString;
|
|
9
|
-
day: import("./commons").TranslatedString;
|
|
10
|
-
hour: import("./commons").TranslatedString;
|
|
11
|
-
minute: import("./commons").TranslatedString;
|
|
12
|
-
second: import("./commons").TranslatedString;
|
|
13
|
-
ms: import("./commons").TranslatedString;
|
|
14
|
-
};
|
|
15
|
-
long: {};
|
|
16
|
-
};
|
|
17
|
-
at: import("./commons").TranslatedString;
|
|
18
|
-
atTime: import("./commons").TranslatedString;
|
|
19
|
-
relativeDayNames: (daysDifference: number) => import("./commons").TranslatedString;
|
|
20
|
-
};
|
|
21
|
-
distance: {
|
|
22
|
-
km: import("./commons").TranslatedString;
|
|
23
|
-
m: import("./commons").TranslatedString;
|
|
24
|
-
};
|
|
25
|
-
a11yRouteTimePrefix: import("./commons").TranslatedString;
|
|
26
|
-
missingRealTimePrefix: import("./commons").TranslatedString;
|
|
27
|
-
readMore: import("./commons").TranslatedString;
|
|
28
|
-
close: import("./commons").TranslatedString;
|
|
29
|
-
listConcatWord: import("./commons").TranslatedString;
|
|
30
|
-
via: import("./commons").TranslatedString;
|
|
31
|
-
};
|
|
32
|
-
export default _default;
|
|
33
|
-
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../src/translations/dictionary.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;2CAqBuC,MAAM;;;;;;;;;;;;;AAyC7C,wBAGG"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const commons_1 = require("./commons");
|
|
4
|
-
const utils_1 = require("./utils");
|
|
5
|
-
const dictionary = {
|
|
6
|
-
date: {
|
|
7
|
-
units: {
|
|
8
|
-
now: (0, commons_1.translation)('Nå', 'Now', 'No'),
|
|
9
|
-
short: {
|
|
10
|
-
year: (0, commons_1.translation)('år', 'y', 'år'),
|
|
11
|
-
month: (0, commons_1.translation)('m', 'm', 'm'),
|
|
12
|
-
week: (0, commons_1.translation)('u', 'w', 'v'),
|
|
13
|
-
day: (0, commons_1.translation)('d', 'd', 'd'),
|
|
14
|
-
hour: (0, commons_1.translation)('t', 'h', 't'),
|
|
15
|
-
minute: (0, commons_1.translation)('min', 'min', 'min'),
|
|
16
|
-
second: (0, commons_1.translation)('sek', 'sec', 'sek'),
|
|
17
|
-
ms: (0, commons_1.translation)('ms', 'msec', 'ms'),
|
|
18
|
-
},
|
|
19
|
-
long: {},
|
|
20
|
-
},
|
|
21
|
-
at: (0, commons_1.translation)('klokken', 'at', 'klokka'),
|
|
22
|
-
atTime: (0, commons_1.translation)(`kl.`, `at`, `kl.`),
|
|
23
|
-
relativeDayNames: (daysDifference) => {
|
|
24
|
-
switch (daysDifference) {
|
|
25
|
-
case -2:
|
|
26
|
-
return (0, commons_1.translation)('i forgårs', 'the day before yesterday', 'i forgårs');
|
|
27
|
-
case -1:
|
|
28
|
-
return (0, commons_1.translation)('i går', 'yesterday', 'i går');
|
|
29
|
-
case 0:
|
|
30
|
-
return (0, commons_1.translation)('i dag', 'today', 'i dag');
|
|
31
|
-
case 1:
|
|
32
|
-
return (0, commons_1.translation)('i morgen', 'tomorrow', 'i morgon');
|
|
33
|
-
case 2:
|
|
34
|
-
return (0, commons_1.translation)('i overmorgen', 'day after tomorrow', 'i overmorgon');
|
|
35
|
-
default:
|
|
36
|
-
if (daysDifference < 0) {
|
|
37
|
-
return (0, commons_1.translation)(`for ${daysDifference} dager siden`, `${daysDifference} days ago`, `for ${daysDifference} dagar sidan`);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return (0, commons_1.translation)(`om ${daysDifference} dager`, `in ${daysDifference} days`, `om ${daysDifference} dagar`);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
distance: {
|
|
46
|
-
km: (0, commons_1.translation)('km', 'km', 'km'),
|
|
47
|
-
m: (0, commons_1.translation)('m', 'm', 'm'),
|
|
48
|
-
},
|
|
49
|
-
a11yRouteTimePrefix: (0, commons_1.translation)('rutetid ', 'route time ', `rutetid `),
|
|
50
|
-
missingRealTimePrefix: (0, commons_1.translation)('ca. ', 'ca. ', `ca. `),
|
|
51
|
-
readMore: (0, commons_1.translation)('Les mer', 'Read more', `Les meir`),
|
|
52
|
-
close: (0, commons_1.translation)('Lukk', 'Close', 'Lukk'),
|
|
53
|
-
listConcatWord: (0, commons_1.translation)('og', 'and', 'og'),
|
|
54
|
-
via: (0, commons_1.translation)('via', 'via', 'via'),
|
|
55
|
-
};
|
|
56
|
-
exports.default = (0, utils_1.orgSpecificTranslations)(dictionary, {
|
|
57
|
-
nfk: {},
|
|
58
|
-
fram: {},
|
|
59
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/translations/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Situation = exports.SearchTime = exports.Layout = void 0;
|
|
4
|
-
var layout_1 = require("./layout");
|
|
5
|
-
Object.defineProperty(exports, "Layout", { enumerable: true, get: function () { return layout_1.Layout; } });
|
|
6
|
-
var search_time_1 = require("./search-time");
|
|
7
|
-
Object.defineProperty(exports, "SearchTime", { enumerable: true, get: function () { return search_time_1.SearchTime; } });
|
|
8
|
-
var situation_1 = require("./situation");
|
|
9
|
-
Object.defineProperty(exports, "Situation", { enumerable: true, get: function () { return situation_1.Situation; } });
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export declare const LayoutInternal: {
|
|
2
|
-
base: {
|
|
3
|
-
footer: {
|
|
4
|
-
sections: {
|
|
5
|
-
general: {
|
|
6
|
-
header: import("../../translations/commons").TranslatedString;
|
|
7
|
-
supportPageLink: import("../../translations/commons").TranslatedString;
|
|
8
|
-
helpPageLink: import("../../translations/commons").TranslatedString;
|
|
9
|
-
ticketPricesPageLink: import("../../translations/commons").TranslatedString;
|
|
10
|
-
};
|
|
11
|
-
contact: {
|
|
12
|
-
header: import("../../translations/commons").TranslatedString;
|
|
13
|
-
contactLink: import("../../translations/commons").TranslatedString;
|
|
14
|
-
};
|
|
15
|
-
settings: {
|
|
16
|
-
header: import("../../translations/commons").TranslatedString;
|
|
17
|
-
forcedThemeHeader: import("../../translations/commons").TranslatedString;
|
|
18
|
-
setLanguage: {
|
|
19
|
-
norsk: import("../../translations/commons").TranslatedString;
|
|
20
|
-
english: import("../../translations/commons").TranslatedString;
|
|
21
|
-
nynorsk: import("../../translations/commons").TranslatedString;
|
|
22
|
-
};
|
|
23
|
-
toggleDarkMode: import("../../translations/commons").TranslatedString;
|
|
24
|
-
toggleLightMode: import("../../translations/commons").TranslatedString;
|
|
25
|
-
cookiesWarning: import("../../translations/commons").TranslatedString;
|
|
26
|
-
languageCookiesWarning: import("../../translations/commons").TranslatedString;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
bottomLinks: {
|
|
30
|
-
privacy: import("../../translations/commons").TranslatedString;
|
|
31
|
-
accessibilityStatement: import("../../translations/commons").TranslatedString;
|
|
32
|
-
termsOfUse: import("../../translations/commons").TranslatedString;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export declare const Layout: {
|
|
38
|
-
base: {
|
|
39
|
-
footer: {
|
|
40
|
-
sections: {
|
|
41
|
-
general: {
|
|
42
|
-
header: import("../../translations/commons").TranslatedString;
|
|
43
|
-
supportPageLink: import("../../translations/commons").TranslatedString;
|
|
44
|
-
helpPageLink: import("../../translations/commons").TranslatedString;
|
|
45
|
-
ticketPricesPageLink: import("../../translations/commons").TranslatedString;
|
|
46
|
-
};
|
|
47
|
-
contact: {
|
|
48
|
-
header: import("../../translations/commons").TranslatedString;
|
|
49
|
-
contactLink: import("../../translations/commons").TranslatedString;
|
|
50
|
-
};
|
|
51
|
-
settings: {
|
|
52
|
-
header: import("../../translations/commons").TranslatedString;
|
|
53
|
-
forcedThemeHeader: import("../../translations/commons").TranslatedString;
|
|
54
|
-
setLanguage: {
|
|
55
|
-
norsk: import("../../translations/commons").TranslatedString;
|
|
56
|
-
english: import("../../translations/commons").TranslatedString;
|
|
57
|
-
nynorsk: import("../../translations/commons").TranslatedString;
|
|
58
|
-
};
|
|
59
|
-
toggleDarkMode: import("../../translations/commons").TranslatedString;
|
|
60
|
-
toggleLightMode: import("../../translations/commons").TranslatedString;
|
|
61
|
-
cookiesWarning: import("../../translations/commons").TranslatedString;
|
|
62
|
-
languageCookiesWarning: import("../../translations/commons").TranslatedString;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
bottomLinks: {
|
|
66
|
-
privacy: import("../../translations/commons").TranslatedString;
|
|
67
|
-
accessibilityStatement: import("../../translations/commons").TranslatedString;
|
|
68
|
-
termsOfUse: import("../../translations/commons").TranslatedString;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/translations/modules/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmF1B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFjB,CAAC"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Layout = exports.LayoutInternal = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
const utils_1 = require("../utils");
|
|
6
|
-
exports.LayoutInternal = {
|
|
7
|
-
base: {
|
|
8
|
-
footer: {
|
|
9
|
-
sections: {
|
|
10
|
-
general: {
|
|
11
|
-
header: (0, commons_1.translation)('Reiseplanlegger', 'Travel Planner', 'Reiseplanleggar'),
|
|
12
|
-
supportPageLink: (0, commons_1.translation)('Hjelp og kontakt', 'Help and contact', 'Hjelp og kontakt'),
|
|
13
|
-
helpPageLink: (0, commons_1.translation)('Hjelp til reiseplanleggeren', 'Help for the travel planner', 'Hjelp for reiseplanleggaren'),
|
|
14
|
-
ticketPricesPageLink: (0, commons_1.translation)('Billetter og priser', 'Tickets and prices', 'Billettar og prisar'),
|
|
15
|
-
},
|
|
16
|
-
contact: {
|
|
17
|
-
header: (0, commons_1.translation)('Kontakt AtB', 'Contact AtB', 'Kontakt AtB'),
|
|
18
|
-
contactLink: (0, commons_1.translation)('Kontakt AtB', 'Contact AtB', 'Kontakt AtB'),
|
|
19
|
-
},
|
|
20
|
-
settings: {
|
|
21
|
-
header: (0, commons_1.translation)('Språk og utseende', 'Language and appearance', 'Språk og utsjånad'),
|
|
22
|
-
forcedThemeHeader: (0, commons_1.translation)('Språk', 'Language', 'Språk'),
|
|
23
|
-
setLanguage: {
|
|
24
|
-
norsk: (0, commons_1.translation)('Endre til norsk (bokmål)', 'Endre til norsk (bokmål)', 'Endre til norsk (bokmål)'),
|
|
25
|
-
english: (0, commons_1.translation)('Switch to English', 'Switch to English', 'Switch to English'),
|
|
26
|
-
nynorsk: (0, commons_1.translation)('Endre til norsk (nynorsk)', 'Endre til norsk (nynorsk)', 'Endre til norsk (nynorsk)'),
|
|
27
|
-
},
|
|
28
|
-
toggleDarkMode: (0, commons_1.translation)('Bytt til mørkt utseende', 'Change to dark mode', 'Byt til mørk utsjånad'),
|
|
29
|
-
toggleLightMode: (0, commons_1.translation)('Bytt til lyst utseende', 'Change to light mode', 'Byt til lys utsjånad'),
|
|
30
|
-
cookiesWarning: (0, commons_1.translation)('* Overstyring av språk og utseende krever bruk av cookies.', '* Overriding language and appearance requires cookies.', '* Overstyring av språk og utsjånad krev bruk av cookies.'),
|
|
31
|
-
languageCookiesWarning: (0, commons_1.translation)('* Overstyring av språk krever bruk av cookies.', '* Overriding language requires cookies.', '* Overstyring av språk krev bruk av cookies.'),
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
bottomLinks: {
|
|
35
|
-
privacy: (0, commons_1.translation)('Personvern', 'Privacy', 'Personvern'),
|
|
36
|
-
accessibilityStatement: (0, commons_1.translation)('Tilgjengelighetserklæring', 'Accessibility statement', 'Tilgjengelegheitserklæring'),
|
|
37
|
-
termsOfUse: (0, commons_1.translation)('Bruksvilkår', 'Terms of use', 'Bruksvilkår'),
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
exports.Layout = (0, utils_1.orgSpecificTranslations)(exports.LayoutInternal, {
|
|
43
|
-
nfk: {
|
|
44
|
-
base: {
|
|
45
|
-
footer: {
|
|
46
|
-
sections: {
|
|
47
|
-
contact: {
|
|
48
|
-
header: (0, commons_1.translation)('Kontakt Reis Nordland', 'Contact Reis Nordland', 'Kontakt Reis Nordland'),
|
|
49
|
-
contactLink: (0, commons_1.translation)('Kontakt Reis Nordland', 'Contact Reis Nordland', 'Kontakt Reis Nordland'),
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
fram: {
|
|
56
|
-
base: {
|
|
57
|
-
footer: {
|
|
58
|
-
sections: {
|
|
59
|
-
contact: {
|
|
60
|
-
header: (0, commons_1.translation)('Kontakt', 'Contact', 'Kontakt'),
|
|
61
|
-
contactLink: (0, commons_1.translation)('Kontakt FRAM', 'Contact FRAM', 'Kontakt FRAM'),
|
|
62
|
-
},
|
|
63
|
-
general: {
|
|
64
|
-
supportPageLink: (0, commons_1.translation)('Kontaktskjema', 'Contact form', 'Kontaktskjema'),
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
troms: {
|
|
71
|
-
base: {
|
|
72
|
-
footer: {
|
|
73
|
-
sections: {
|
|
74
|
-
contact: {
|
|
75
|
-
header: (0, commons_1.translation)('Kontakt Svipper', 'Contact Svipper', 'Kontakt Svipper'),
|
|
76
|
-
contactLink: (0, commons_1.translation)('Kontakt Svipper', 'Contact Svipper', 'Kontakt Svipper'),
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
vkt: {
|
|
83
|
-
base: {
|
|
84
|
-
footer: {
|
|
85
|
-
sections: {
|
|
86
|
-
contact: {
|
|
87
|
-
header: (0, commons_1.translation)('Kontakt Vestfold Kollektivtrafikk', 'Contact Vestfold Kollektivtrafikk', 'Kontakt Vestfold Kollektivtrafikk'),
|
|
88
|
-
contactLink: (0, commons_1.translation)('Kontakt Vestfold Kollektivtrafikk', 'Contact Vestfold Kollektivtrafikk', 'Kontakt Vestfold Kollektivtrafikk'),
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
farte: {
|
|
95
|
-
base: {
|
|
96
|
-
footer: {
|
|
97
|
-
sections: {
|
|
98
|
-
contact: {
|
|
99
|
-
header: (0, commons_1.translation)('Kontakt Farte', 'Contact Farte', 'Kontakt Farte'),
|
|
100
|
-
contactLink: (0, commons_1.translation)('Kontakt Farte', 'Contact Farte', 'Kontakt Farte'),
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const SearchTime: {
|
|
2
|
-
now: import("../../translations/commons").TranslatedString;
|
|
3
|
-
departure: import("../../translations/commons").TranslatedString;
|
|
4
|
-
arrival: import("../../translations/commons").TranslatedString;
|
|
5
|
-
date: import("../../translations/commons").TranslatedString;
|
|
6
|
-
time: import("../../translations/commons").TranslatedString;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=search-time.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-time.d.ts","sourceRoot":"","sources":["../../../src/translations/modules/search-time.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;CAMtB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchTime = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.SearchTime = {
|
|
6
|
-
now: (0, commons_1.translation)('Dra nå', 'Leave now', 'Dra no'),
|
|
7
|
-
departure: (0, commons_1.translation)('Avreise', 'Leave at', 'Avreise'),
|
|
8
|
-
arrival: (0, commons_1.translation)('Ankomst', 'Arrive by', 'Framkomst'),
|
|
9
|
-
date: (0, commons_1.translation)('Dato', 'Date', 'Dato'),
|
|
10
|
-
time: (0, commons_1.translation)('Tid', 'Time', 'Tid'),
|
|
11
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const Situation: {
|
|
2
|
-
validity: {
|
|
3
|
-
from: (fromDate: string) => import("../../translations/commons").TranslatedString;
|
|
4
|
-
to: (toDate: string) => import("../../translations/commons").TranslatedString;
|
|
5
|
-
fromAndTo: (fromDate: string, toDate: string) => import("../../translations/commons").TranslatedString;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=situation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"situation.d.ts","sourceRoot":"","sources":["../../../src/translations/modules/situation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;yBAED,MAAM;qBAMV,MAAM;8BAEG,MAAM,UAAU,MAAM;;CAO/C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Situation = void 0;
|
|
4
|
-
const commons_1 = require("../../translations/commons");
|
|
5
|
-
exports.Situation = {
|
|
6
|
-
validity: {
|
|
7
|
-
from: (fromDate) => (0, commons_1.translation)(`Gyldig fra ${fromDate}`, `Valid from ${fromDate}`, `Gyldig frå ${fromDate}`),
|
|
8
|
-
to: (toDate) => (0, commons_1.translation)(`Gyldig til ${toDate}`, `Valid to ${toDate}`, `Gyldig til ${toDate}`),
|
|
9
|
-
fromAndTo: (fromDate, toDate) => (0, commons_1.translation)(`Gyldig fra ${fromDate} til ${toDate}`, `Valid from ${fromDate} to ${toDate}`, `Gyldig frå ${fromDate} til ${toDate}`),
|
|
10
|
-
},
|
|
11
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export declare const Departures: {
|
|
2
|
-
title: import("../../translations/commons").TranslatedString;
|
|
3
|
-
titleAddress: (place: string) => import("../../translations/commons").TranslatedString;
|
|
4
|
-
titleStopp: (place: string) => import("../../translations/commons").TranslatedString;
|
|
5
|
-
homeLink: (name: string) => import("../../translations/commons").TranslatedString;
|
|
6
|
-
shortTitle: import("../../translations/commons").TranslatedString;
|
|
7
|
-
search: {
|
|
8
|
-
input: {
|
|
9
|
-
label: import("../../translations/commons").TranslatedString;
|
|
10
|
-
from: import("../../translations/commons").TranslatedString;
|
|
11
|
-
placeholder: import("../../translations/commons").TranslatedString;
|
|
12
|
-
};
|
|
13
|
-
date: {
|
|
14
|
-
label: import("../../translations/commons").TranslatedString;
|
|
15
|
-
};
|
|
16
|
-
buttons: {
|
|
17
|
-
find: {
|
|
18
|
-
title: import("../../translations/commons").TranslatedString;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
nearest: {
|
|
23
|
-
stopPlaceItem: {
|
|
24
|
-
stopPlace: import("../../translations/commons").TranslatedString;
|
|
25
|
-
uuTitle: (name: string, distance: string) => import("../../translations/commons").TranslatedString;
|
|
26
|
-
};
|
|
27
|
-
resultsFound: (count: number) => import("../../translations/commons").TranslatedString;
|
|
28
|
-
emptySearchResults: {
|
|
29
|
-
emptyNearbyLocationsTitle: import("../../translations/commons").TranslatedString;
|
|
30
|
-
emptyNearbyLocationsDetails: import("../../translations/commons").TranslatedString;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
stopPlace: {
|
|
34
|
-
noDepartures: import("../../translations/commons").TranslatedString;
|
|
35
|
-
quaySection: {
|
|
36
|
-
resultsLoaded: import("../../translations/commons").TranslatedString;
|
|
37
|
-
refreshButton: import("../../translations/commons").TranslatedString;
|
|
38
|
-
a11yExpand: import("../../translations/commons").TranslatedString;
|
|
39
|
-
a11yMinimize: import("../../translations/commons").TranslatedString;
|
|
40
|
-
a11yToQuayHint: import("../../translations/commons").TranslatedString;
|
|
41
|
-
moreDepartures: import("../../translations/commons").TranslatedString;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
details: {
|
|
45
|
-
backToDepartures: import("../../translations/commons").TranslatedString;
|
|
46
|
-
backToAssistant: import("../../translations/commons").TranslatedString;
|
|
47
|
-
quayPublicCodePrefix: import("../../translations/commons").TranslatedString;
|
|
48
|
-
lastPassedStop: (stopPlaceName: string, time: string) => import("../../translations/commons").TranslatedString;
|
|
49
|
-
noPassedStop: (stopPlaceName: string, time: string) => import("../../translations/commons").TranslatedString;
|
|
50
|
-
onTime: import("../../translations/commons").TranslatedString;
|
|
51
|
-
notOnTime: import("../../translations/commons").TranslatedString;
|
|
52
|
-
collapse: {
|
|
53
|
-
label: (numberStops: number) => import("../../translations/commons").TranslatedString;
|
|
54
|
-
a11yHint: import("../../translations/commons").TranslatedString;
|
|
55
|
-
};
|
|
56
|
-
messages: {
|
|
57
|
-
loading: import("../../translations/commons").TranslatedString;
|
|
58
|
-
noAlighting: import("../../translations/commons").TranslatedString;
|
|
59
|
-
noBoarding: import("../../translations/commons").TranslatedString;
|
|
60
|
-
noActiveItem: import("../../translations/commons").TranslatedString;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=departures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"departures.d.ts","sourceRoot":"","sources":["../../../src/translations/pages/departures.ts"],"names":[],"mappings":"AAiKA,eAAO,MAAM,UAAU;;0BA5JC,MAAM;wBAER,MAAM;qBAMT,MAAM;;;;;;;;;;;;;;;;;;;;4BAmCH,MAAM,YAAY,MAAM;;8BAOpB,MAAM;;;;;;;;;;;;;;;;;;;;;wCAkEI,MAAM,QAAQ,MAAM;sCAMtB,MAAM,QAAQ,MAAM;;;;iCAS3B,MAAM;;;;;;;;;;CA+B/B,CAAC"}
|