Vite + TypeScript PWA that mirrors the Android app's core features: - Pre-processed shelter data (build-time UTM33N→WGS84 conversion) - Leaflet map with shelter markers, user location, and offline tiles - Canvas compass arrow (ported from DirectionArrowView.kt) - IndexedDB shelter cache with 7-day staleness check - Service worker with CacheFirst tiles and precached app shell - i18n for en, nb, nn (ported from Android strings.xml) - iOS/Android compass handling with low-pass filter - Respects user map interaction (no auto-snap on pan/zoom) - Build revision cache-breaker for reliable SW updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1.4 KiB
JavaScript
29 lines
1.4 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.proposalSyntaxPlugins = exports.proposalPlugins = exports.pluginSyntaxMap = void 0;
|
|
const proposalPlugins = exports.proposalPlugins = new Set([]);
|
|
const proposalSyntaxPlugins = exports.proposalSyntaxPlugins = ["syntax-import-assertions", "syntax-import-attributes"];
|
|
const pluginSyntaxObject = {
|
|
"transform-async-generator-functions": "syntax-async-generators",
|
|
"transform-class-properties": "syntax-class-properties",
|
|
"transform-class-static-block": "syntax-class-static-block",
|
|
"transform-export-namespace-from": "syntax-export-namespace-from",
|
|
"transform-json-strings": "syntax-json-strings",
|
|
"transform-nullish-coalescing-operator": "syntax-nullish-coalescing-operator",
|
|
"transform-numeric-separator": "syntax-numeric-separator",
|
|
"transform-object-rest-spread": "syntax-object-rest-spread",
|
|
"transform-optional-catch-binding": "syntax-optional-catch-binding",
|
|
"transform-optional-chaining": "syntax-optional-chaining",
|
|
"transform-private-methods": "syntax-class-properties",
|
|
"transform-private-property-in-object": "syntax-private-property-in-object",
|
|
"transform-unicode-property-regex": null
|
|
};
|
|
const pluginSyntaxEntries = Object.keys(pluginSyntaxObject).map(function (key) {
|
|
return [key, pluginSyntaxObject[key]];
|
|
});
|
|
const pluginSyntaxMap = exports.pluginSyntaxMap = new Map(pluginSyntaxEntries);
|
|
|
|
//# sourceMappingURL=shipped-proposals.js.map
|