├── .babelrc ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .husky └── pre-push ├── .jsbeautifyrc ├── .nvmrc ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── README.md ├── jest.config.js ├── jsconfig.json ├── package.json ├── postcss.config.js ├── src ├── assets │ ├── README.md │ ├── free_parking │ │ └── free_parking_russia.svg │ ├── icons │ │ ├── download.svg │ │ └── upload.svg │ ├── no_parking │ │ ├── no_parking.svg │ │ ├── no_parking_australia.svg │ │ ├── no_parking_on_even_days.svg │ │ └── no_parking_on_odd_days.svg │ ├── no_stopping │ │ ├── no_stopping.svg │ │ └── no_stopping_australia.svg │ └── paid_parking │ │ └── paid_parking_russia.svg ├── index.ts ├── land.html ├── parking │ ├── access-condition.ts │ ├── bing-imagery.ts │ ├── condition-color.ts │ ├── controls │ │ ├── AppInfo.tsx │ │ ├── Datetime.tsx │ │ ├── Fetch.tsx │ │ ├── LaneInfo.tsx │ │ ├── Legend.tsx │ │ ├── Panel.tsx │ │ ├── SaveButton.tsx │ │ └── editor │ │ │ ├── ConditionalInput.tsx │ │ │ ├── EditorForm.tsx │ │ │ ├── PresetSigns.tsx │ │ │ ├── SelectInput.tsx │ │ │ ├── SideGroup.tsx │ │ │ ├── SimpleTagInput.tsx │ │ │ ├── TagUpdaterModal.tsx │ │ │ ├── TextInput.tsx │ │ │ ├── lane-tags.ts │ │ │ ├── presets.ts │ │ │ └── tag-values.ts │ ├── data-url.ts │ ├── interface.ts │ ├── lane-styles.ts │ ├── legend.ts │ ├── parking-area.ts │ ├── parking-lane.ts │ ├── parking-point.ts │ └── state.ts ├── styles │ └── main.scss ├── template.html ├── test │ ├── conditional-tag.test.ts │ └── parking-conditions.test.ts └── utils │ ├── changes-store.ts │ ├── conditional-tag.ts │ ├── data-client.ts │ ├── josm.ts │ ├── links.ts │ ├── location-cookie.ts │ ├── opening-hours.ts │ ├── osm-client.ts │ └── types │ ├── changes-store.ts │ ├── conditions.ts │ ├── interfaces.ts │ ├── leaflet.ts │ ├── osm-data-storage.ts │ ├── osm-data.ts │ ├── parking.ts │ └── preset.ts ├── taginfo.json ├── tsconfig.json └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vs/ 2 | dist 3 | node_modules 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.jsbeautifyrc: -------------------------------------------------------------------------------- 1 | { 2 | "brace_style": "collapse,preserve-inline" 3 | } -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'ts-jest', 3 | }; 4 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/jsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/postcss.config.js -------------------------------------------------------------------------------- /src/assets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/README.md -------------------------------------------------------------------------------- /src/assets/free_parking/free_parking_russia.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/free_parking/free_parking_russia.svg -------------------------------------------------------------------------------- /src/assets/icons/download.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/icons/download.svg -------------------------------------------------------------------------------- /src/assets/icons/upload.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/icons/upload.svg -------------------------------------------------------------------------------- /src/assets/no_parking/no_parking.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/no_parking/no_parking.svg -------------------------------------------------------------------------------- /src/assets/no_parking/no_parking_australia.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/no_parking/no_parking_australia.svg -------------------------------------------------------------------------------- /src/assets/no_parking/no_parking_on_even_days.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/no_parking/no_parking_on_even_days.svg -------------------------------------------------------------------------------- /src/assets/no_parking/no_parking_on_odd_days.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/no_parking/no_parking_on_odd_days.svg -------------------------------------------------------------------------------- /src/assets/no_stopping/no_stopping.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/no_stopping/no_stopping.svg -------------------------------------------------------------------------------- /src/assets/no_stopping/no_stopping_australia.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/no_stopping/no_stopping_australia.svg -------------------------------------------------------------------------------- /src/assets/paid_parking/paid_parking_russia.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/assets/paid_parking/paid_parking_russia.svg -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/land.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/land.html -------------------------------------------------------------------------------- /src/parking/access-condition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/access-condition.ts -------------------------------------------------------------------------------- /src/parking/bing-imagery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/bing-imagery.ts -------------------------------------------------------------------------------- /src/parking/condition-color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/condition-color.ts -------------------------------------------------------------------------------- /src/parking/controls/AppInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/AppInfo.tsx -------------------------------------------------------------------------------- /src/parking/controls/Datetime.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/Datetime.tsx -------------------------------------------------------------------------------- /src/parking/controls/Fetch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/Fetch.tsx -------------------------------------------------------------------------------- /src/parking/controls/LaneInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/LaneInfo.tsx -------------------------------------------------------------------------------- /src/parking/controls/Legend.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/Legend.tsx -------------------------------------------------------------------------------- /src/parking/controls/Panel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/Panel.tsx -------------------------------------------------------------------------------- /src/parking/controls/SaveButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/SaveButton.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/ConditionalInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/ConditionalInput.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/EditorForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/EditorForm.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/PresetSigns.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/PresetSigns.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/SelectInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/SelectInput.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/SideGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/SideGroup.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/SimpleTagInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/SimpleTagInput.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/TagUpdaterModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/TagUpdaterModal.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/TextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/TextInput.tsx -------------------------------------------------------------------------------- /src/parking/controls/editor/lane-tags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/lane-tags.ts -------------------------------------------------------------------------------- /src/parking/controls/editor/presets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/presets.ts -------------------------------------------------------------------------------- /src/parking/controls/editor/tag-values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/controls/editor/tag-values.ts -------------------------------------------------------------------------------- /src/parking/data-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/data-url.ts -------------------------------------------------------------------------------- /src/parking/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/interface.ts -------------------------------------------------------------------------------- /src/parking/lane-styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/lane-styles.ts -------------------------------------------------------------------------------- /src/parking/legend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/legend.ts -------------------------------------------------------------------------------- /src/parking/parking-area.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/parking-area.ts -------------------------------------------------------------------------------- /src/parking/parking-lane.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/parking-lane.ts -------------------------------------------------------------------------------- /src/parking/parking-point.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/parking-point.ts -------------------------------------------------------------------------------- /src/parking/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/parking/state.ts -------------------------------------------------------------------------------- /src/styles/main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/styles/main.scss -------------------------------------------------------------------------------- /src/template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/template.html -------------------------------------------------------------------------------- /src/test/conditional-tag.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/test/conditional-tag.test.ts -------------------------------------------------------------------------------- /src/test/parking-conditions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/test/parking-conditions.test.ts -------------------------------------------------------------------------------- /src/utils/changes-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/changes-store.ts -------------------------------------------------------------------------------- /src/utils/conditional-tag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/conditional-tag.ts -------------------------------------------------------------------------------- /src/utils/data-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/data-client.ts -------------------------------------------------------------------------------- /src/utils/josm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/josm.ts -------------------------------------------------------------------------------- /src/utils/links.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/links.ts -------------------------------------------------------------------------------- /src/utils/location-cookie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/location-cookie.ts -------------------------------------------------------------------------------- /src/utils/opening-hours.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/opening-hours.ts -------------------------------------------------------------------------------- /src/utils/osm-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/osm-client.ts -------------------------------------------------------------------------------- /src/utils/types/changes-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/changes-store.ts -------------------------------------------------------------------------------- /src/utils/types/conditions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/conditions.ts -------------------------------------------------------------------------------- /src/utils/types/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/interfaces.ts -------------------------------------------------------------------------------- /src/utils/types/leaflet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/leaflet.ts -------------------------------------------------------------------------------- /src/utils/types/osm-data-storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/osm-data-storage.ts -------------------------------------------------------------------------------- /src/utils/types/osm-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/osm-data.ts -------------------------------------------------------------------------------- /src/utils/types/parking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/parking.ts -------------------------------------------------------------------------------- /src/utils/types/preset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/src/utils/types/preset.ts -------------------------------------------------------------------------------- /taginfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/taginfo.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zlant/parking-lanes/HEAD/webpack.config.js --------------------------------------------------------------------------------