forked from MapComplete/MapComplete
		
	Only show woonerf-explantion on living-streets
This commit is contained in:
		
							parent
							
								
									2900bdc784
								
							
						
					
					
						commit
						2bf6bac994
					
				
					 4 changed files with 234 additions and 15 deletions
				
			
		|  | @ -2,7 +2,7 @@ import { Utils } from "../Utils"; | ||||||
| 
 | 
 | ||||||
| export default class Constants { | export default class Constants { | ||||||
|      |      | ||||||
|     public static vNumber = "0.7.0"; |     public static vNumber = "0.7.0a"; | ||||||
| 
 | 
 | ||||||
|     // The user journey states thresholds when a new feature gets unlocked
 |     // The user journey states thresholds when a new feature gets unlocked
 | ||||||
|     public static userJourney = { |     public static userJourney = { | ||||||
|  |  | ||||||
|  | @ -68,7 +68,8 @@ | ||||||
|     { |     { | ||||||
|       "render": { |       "render": { | ||||||
|         "nl:": "<div class='flex'><img src='./assets/layers/slow_roads/woonerf.svg' style='width: 150px; height: auto; margin-right: 0.5em;' /> <div> Dit is een woonerf: <ul><li>Voetgangers mogen hier de volledige breedte van de straat gebruiken</li><li>Gemotoriseerd verkeer mag maximaal <b>20km/h</b> rijden</li></ul></div></div>" |         "nl:": "<div class='flex'><img src='./assets/layers/slow_roads/woonerf.svg' style='width: 150px; height: auto; margin-right: 0.5em;' /> <div> Dit is een woonerf: <ul><li>Voetgangers mogen hier de volledige breedte van de straat gebruiken</li><li>Gemotoriseerd verkeer mag maximaal <b>20km/h</b> rijden</li></ul></div></div>" | ||||||
|       } |       }, | ||||||
|  |       "condition": "highway=living_street" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "question": { |       "question": { | ||||||
|  |  | ||||||
							
								
								
									
										243
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										243
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -1129,11 +1129,36 @@ | ||||||
|         "glob-to-regexp": "^0.3.0" |         "glob-to-regexp": "^0.3.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "@nodelib/fs.scandir": { | ||||||
|  |       "version": "2.1.4", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", | ||||||
|  |       "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", | ||||||
|  |       "requires": { | ||||||
|  |         "@nodelib/fs.stat": "2.0.4", | ||||||
|  |         "run-parallel": "^1.1.9" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@nodelib/fs.stat": { | ||||||
|  |           "version": "2.0.4", | ||||||
|  |           "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", | ||||||
|  |           "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "@nodelib/fs.stat": { |     "@nodelib/fs.stat": { | ||||||
|       "version": "1.1.3", |       "version": "1.1.3", | ||||||
|       "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", |       "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", | ||||||
|       "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==" |       "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==" | ||||||
|     }, |     }, | ||||||
|  |     "@nodelib/fs.walk": { | ||||||
|  |       "version": "1.2.6", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", | ||||||
|  |       "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", | ||||||
|  |       "requires": { | ||||||
|  |         "@nodelib/fs.scandir": "2.1.4", | ||||||
|  |         "fastq": "^1.6.0" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "@parcel/fs": { |     "@parcel/fs": { | ||||||
|       "version": "1.11.0", |       "version": "1.11.0", | ||||||
|       "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-1.11.0.tgz", |       "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-1.11.0.tgz", | ||||||
|  | @ -3088,7 +3113,6 @@ | ||||||
|       "version": "3.0.2", |       "version": "3.0.2", | ||||||
|       "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", |       "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", | ||||||
|       "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", |       "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", | ||||||
|       "dev": true, |  | ||||||
|       "requires": { |       "requires": { | ||||||
|         "fill-range": "^7.0.1" |         "fill-range": "^7.0.1" | ||||||
|       } |       } | ||||||
|  | @ -4435,6 +4459,11 @@ | ||||||
|         "randombytes": "^2.0.0" |         "randombytes": "^2.0.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "dlv": { | ||||||
|  |       "version": "1.1.3", | ||||||
|  |       "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", | ||||||
|  |       "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" | ||||||
|  |     }, | ||||||
|     "dom-serializer": { |     "dom-serializer": { | ||||||
|       "version": "0.2.2", |       "version": "0.2.2", | ||||||
|       "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", |       "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", | ||||||
|  | @ -4951,6 +4980,14 @@ | ||||||
|       "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", |       "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", | ||||||
|       "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" |       "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" | ||||||
|     }, |     }, | ||||||
|  |     "fastq": { | ||||||
|  |       "version": "1.11.0", | ||||||
|  |       "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz", | ||||||
|  |       "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==", | ||||||
|  |       "requires": { | ||||||
|  |         "reusify": "^1.0.4" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "file-uri-to-path": { |     "file-uri-to-path": { | ||||||
|       "version": "1.0.0", |       "version": "1.0.0", | ||||||
|       "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |       "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", | ||||||
|  | @ -4965,7 +5002,6 @@ | ||||||
|       "version": "7.0.1", |       "version": "7.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", |       "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", | ||||||
|       "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", |       "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", | ||||||
|       "dev": true, |  | ||||||
|       "requires": { |       "requires": { | ||||||
|         "to-regex-range": "^5.0.1" |         "to-regex-range": "^5.0.1" | ||||||
|       } |       } | ||||||
|  | @ -5221,11 +5257,42 @@ | ||||||
|         "path-is-absolute": "^1.0.0" |         "path-is-absolute": "^1.0.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "glob-base": { | ||||||
|  |       "version": "0.3.0", | ||||||
|  |       "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", | ||||||
|  |       "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", | ||||||
|  |       "requires": { | ||||||
|  |         "glob-parent": "^2.0.0", | ||||||
|  |         "is-glob": "^2.0.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "glob-parent": { | ||||||
|  |           "version": "2.0.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", | ||||||
|  |           "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", | ||||||
|  |           "requires": { | ||||||
|  |             "is-glob": "^2.0.0" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "is-extglob": { | ||||||
|  |           "version": "1.0.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", | ||||||
|  |           "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" | ||||||
|  |         }, | ||||||
|  |         "is-glob": { | ||||||
|  |           "version": "2.0.1", | ||||||
|  |           "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", | ||||||
|  |           "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", | ||||||
|  |           "requires": { | ||||||
|  |             "is-extglob": "^1.0.0" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "glob-parent": { |     "glob-parent": { | ||||||
|       "version": "5.1.2", |       "version": "5.1.2", | ||||||
|       "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", |       "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", | ||||||
|       "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", |       "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", | ||||||
|       "dev": true, |  | ||||||
|       "requires": { |       "requires": { | ||||||
|         "is-glob": "^4.0.1" |         "is-glob": "^4.0.1" | ||||||
|       } |       } | ||||||
|  | @ -5844,6 +5911,11 @@ | ||||||
|       "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", |       "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", | ||||||
|       "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" |       "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" | ||||||
|     }, |     }, | ||||||
|  |     "is-dotfile": { | ||||||
|  |       "version": "1.0.3", | ||||||
|  |       "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", | ||||||
|  |       "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=" | ||||||
|  |     }, | ||||||
|     "is-extendable": { |     "is-extendable": { | ||||||
|       "version": "1.0.1", |       "version": "1.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", |       "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", | ||||||
|  | @ -5918,8 +5990,7 @@ | ||||||
|     "is-number": { |     "is-number": { | ||||||
|       "version": "7.0.0", |       "version": "7.0.0", | ||||||
|       "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", |       "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", | ||||||
|       "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", |       "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" | ||||||
|       "dev": true |  | ||||||
|     }, |     }, | ||||||
|     "is-number-object": { |     "is-number-object": { | ||||||
|       "version": "1.0.4", |       "version": "1.0.4", | ||||||
|  | @ -7887,6 +7958,11 @@ | ||||||
|       "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", |       "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", | ||||||
|       "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=" |       "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=" | ||||||
|     }, |     }, | ||||||
|  |     "lodash.topath": { | ||||||
|  |       "version": "4.5.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", | ||||||
|  |       "integrity": "sha1-NhY1Hzu6YZlKCTGYlmC9AyVP0Ak=" | ||||||
|  |     }, | ||||||
|     "lodash.uniq": { |     "lodash.uniq": { | ||||||
|       "version": "4.5.0", |       "version": "4.5.0", | ||||||
|       "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", |       "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", | ||||||
|  | @ -8951,6 +9027,32 @@ | ||||||
|         "safe-buffer": "^5.1.1" |         "safe-buffer": "^5.1.1" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "parse-glob": { | ||||||
|  |       "version": "3.0.4", | ||||||
|  |       "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", | ||||||
|  |       "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", | ||||||
|  |       "requires": { | ||||||
|  |         "glob-base": "^0.3.0", | ||||||
|  |         "is-dotfile": "^1.0.0", | ||||||
|  |         "is-extglob": "^1.0.0", | ||||||
|  |         "is-glob": "^2.0.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "is-extglob": { | ||||||
|  |           "version": "1.0.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", | ||||||
|  |           "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" | ||||||
|  |         }, | ||||||
|  |         "is-glob": { | ||||||
|  |           "version": "2.0.1", | ||||||
|  |           "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", | ||||||
|  |           "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", | ||||||
|  |           "requires": { | ||||||
|  |             "is-extglob": "^1.0.0" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "parse-json": { |     "parse-json": { | ||||||
|       "version": "4.0.0", |       "version": "4.0.0", | ||||||
|       "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", |       "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", | ||||||
|  | @ -9054,8 +9156,7 @@ | ||||||
|     "picomatch": { |     "picomatch": { | ||||||
|       "version": "2.2.2", |       "version": "2.2.2", | ||||||
|       "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", |       "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", | ||||||
|       "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", |       "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" | ||||||
|       "dev": true |  | ||||||
|     }, |     }, | ||||||
|     "pify": { |     "pify": { | ||||||
|       "version": "2.3.0", |       "version": "2.3.0", | ||||||
|  | @ -10006,6 +10107,16 @@ | ||||||
|       "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", |       "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", | ||||||
|       "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" |       "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" | ||||||
|     }, |     }, | ||||||
|  |     "queue-microtask": { | ||||||
|  |       "version": "1.2.3", | ||||||
|  |       "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", | ||||||
|  |       "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" | ||||||
|  |     }, | ||||||
|  |     "quick-lru": { | ||||||
|  |       "version": "5.1.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", | ||||||
|  |       "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==" | ||||||
|  |     }, | ||||||
|     "quickselect": { |     "quickselect": { | ||||||
|       "version": "1.1.1", |       "version": "1.1.1", | ||||||
|       "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-1.1.1.tgz", |       "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-1.1.1.tgz", | ||||||
|  | @ -10346,6 +10457,11 @@ | ||||||
|       "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", |       "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", | ||||||
|       "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" |       "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" | ||||||
|     }, |     }, | ||||||
|  |     "reusify": { | ||||||
|  |       "version": "1.0.4", | ||||||
|  |       "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", | ||||||
|  |       "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" | ||||||
|  |     }, | ||||||
|     "rgb-regex": { |     "rgb-regex": { | ||||||
|       "version": "1.0.1", |       "version": "1.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", |       "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", | ||||||
|  | @ -10416,6 +10532,14 @@ | ||||||
|       "resolved": "https://registry.npmjs.org/robust-sum/-/robust-sum-1.0.0.tgz", |       "resolved": "https://registry.npmjs.org/robust-sum/-/robust-sum-1.0.0.tgz", | ||||||
|       "integrity": "sha1-FmRuUlKStNJdgnV6KGlV4Lv6U9k=" |       "integrity": "sha1-FmRuUlKStNJdgnV6KGlV4Lv6U9k=" | ||||||
|     }, |     }, | ||||||
|  |     "run-parallel": { | ||||||
|  |       "version": "1.2.0", | ||||||
|  |       "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", | ||||||
|  |       "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", | ||||||
|  |       "requires": { | ||||||
|  |         "queue-microtask": "^1.2.2" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "safe-buffer": { |     "safe-buffer": { | ||||||
|       "version": "5.2.1", |       "version": "5.2.1", | ||||||
|       "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |       "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", | ||||||
|  | @ -11240,23 +11364,29 @@ | ||||||
|       "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" |       "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" | ||||||
|     }, |     }, | ||||||
|     "tailwindcss": { |     "tailwindcss": { | ||||||
|       "version": "npm:@tailwindcss/postcss7-compat@2.0.3", |       "version": "npm:@tailwindcss/postcss7-compat@2.1.2", | ||||||
|       "resolved": "https://registry.npmjs.org/@tailwindcss/postcss7-compat/-/postcss7-compat-2.0.3.tgz", |       "resolved": "https://registry.npmjs.org/@tailwindcss/postcss7-compat/-/postcss7-compat-2.1.2.tgz", | ||||||
|       "integrity": "sha512-R43aiSzwlybDMhDld8vkSIKPSLXxbbmotZ+I2GIrX+IzFNy9JAByC7Ncf9A81Dg0JLBWHY5m769lBbBnJCF8cw==", |       "integrity": "sha512-bH2kw6uyqLnDMP8wzDUsis5ovrsRzfHEyiL1McADvqlW54g6y0KVHX1xzO7PH8Fl5s0Sq8vDOAp4+3V8MEcZ9g==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@fullhuman/postcss-purgecss": "^3.1.3", |         "@fullhuman/postcss-purgecss": "^3.1.3", | ||||||
|         "autoprefixer": "^9", |         "autoprefixer": "^9", | ||||||
|         "bytes": "^3.0.0", |         "bytes": "^3.0.0", | ||||||
|         "chalk": "^4.1.0", |         "chalk": "^4.1.0", | ||||||
|  |         "chokidar": "^3.5.1", | ||||||
|         "color": "^3.1.3", |         "color": "^3.1.3", | ||||||
|         "detective": "^5.2.0", |         "detective": "^5.2.0", | ||||||
|         "didyoumean": "^1.2.1", |         "didyoumean": "^1.2.1", | ||||||
|  |         "dlv": "^1.1.3", | ||||||
|  |         "fast-glob": "^3.2.5", | ||||||
|         "fs-extra": "^9.1.0", |         "fs-extra": "^9.1.0", | ||||||
|         "html-tags": "^3.1.0", |         "html-tags": "^3.1.0", | ||||||
|         "lodash": "^4.17.20", |         "lodash": "^4.17.21", | ||||||
|  |         "lodash.topath": "^4.5.2", | ||||||
|         "modern-normalize": "^1.0.0", |         "modern-normalize": "^1.0.0", | ||||||
|         "node-emoji": "^1.8.1", |         "node-emoji": "^1.8.1", | ||||||
|  |         "normalize-path": "^3.0.0", | ||||||
|         "object-hash": "^2.1.1", |         "object-hash": "^2.1.1", | ||||||
|  |         "parse-glob": "^3.0.4", | ||||||
|         "postcss": "^7", |         "postcss": "^7", | ||||||
|         "postcss-functions": "^3", |         "postcss-functions": "^3", | ||||||
|         "postcss-js": "^2", |         "postcss-js": "^2", | ||||||
|  | @ -11264,8 +11394,96 @@ | ||||||
|         "postcss-selector-parser": "^6.0.4", |         "postcss-selector-parser": "^6.0.4", | ||||||
|         "postcss-value-parser": "^4.1.0", |         "postcss-value-parser": "^4.1.0", | ||||||
|         "pretty-hrtime": "^1.0.3", |         "pretty-hrtime": "^1.0.3", | ||||||
|  |         "quick-lru": "^5.1.1", | ||||||
|         "reduce-css-calc": "^2.1.8", |         "reduce-css-calc": "^2.1.8", | ||||||
|         "resolve": "^1.19.0" |         "resolve": "^1.20.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@nodelib/fs.stat": { | ||||||
|  |           "version": "2.0.4", | ||||||
|  |           "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", | ||||||
|  |           "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==" | ||||||
|  |         }, | ||||||
|  |         "anymatch": { | ||||||
|  |           "version": "3.1.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", | ||||||
|  |           "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", | ||||||
|  |           "requires": { | ||||||
|  |             "normalize-path": "^3.0.0", | ||||||
|  |             "picomatch": "^2.0.4" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "binary-extensions": { | ||||||
|  |           "version": "2.2.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", | ||||||
|  |           "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" | ||||||
|  |         }, | ||||||
|  |         "chokidar": { | ||||||
|  |           "version": "3.5.1", | ||||||
|  |           "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", | ||||||
|  |           "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", | ||||||
|  |           "requires": { | ||||||
|  |             "anymatch": "~3.1.1", | ||||||
|  |             "braces": "~3.0.2", | ||||||
|  |             "fsevents": "~2.3.1", | ||||||
|  |             "glob-parent": "~5.1.0", | ||||||
|  |             "is-binary-path": "~2.1.0", | ||||||
|  |             "is-glob": "~4.0.1", | ||||||
|  |             "normalize-path": "~3.0.0", | ||||||
|  |             "readdirp": "~3.5.0" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "fast-glob": { | ||||||
|  |           "version": "3.2.5", | ||||||
|  |           "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz", | ||||||
|  |           "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==", | ||||||
|  |           "requires": { | ||||||
|  |             "@nodelib/fs.stat": "^2.0.2", | ||||||
|  |             "@nodelib/fs.walk": "^1.2.3", | ||||||
|  |             "glob-parent": "^5.1.0", | ||||||
|  |             "merge2": "^1.3.0", | ||||||
|  |             "micromatch": "^4.0.2", | ||||||
|  |             "picomatch": "^2.2.1" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "fsevents": { | ||||||
|  |           "version": "2.3.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", | ||||||
|  |           "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", | ||||||
|  |           "optional": true | ||||||
|  |         }, | ||||||
|  |         "is-binary-path": { | ||||||
|  |           "version": "2.1.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", | ||||||
|  |           "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", | ||||||
|  |           "requires": { | ||||||
|  |             "binary-extensions": "^2.0.0" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "micromatch": { | ||||||
|  |           "version": "4.0.4", | ||||||
|  |           "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", | ||||||
|  |           "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", | ||||||
|  |           "requires": { | ||||||
|  |             "braces": "^3.0.1", | ||||||
|  |             "picomatch": "^2.2.3" | ||||||
|  |           }, | ||||||
|  |           "dependencies": { | ||||||
|  |             "picomatch": { | ||||||
|  |               "version": "2.2.3", | ||||||
|  |               "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", | ||||||
|  |               "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" | ||||||
|  |             } | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "readdirp": { | ||||||
|  |           "version": "3.5.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", | ||||||
|  |           "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", | ||||||
|  |           "requires": { | ||||||
|  |             "picomatch": "^2.2.1" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "tar-fs": { |     "tar-fs": { | ||||||
|  | @ -11404,7 +11622,6 @@ | ||||||
|       "version": "5.0.1", |       "version": "5.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", |       "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", | ||||||
|       "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", |       "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", | ||||||
|       "dev": true, |  | ||||||
|       "requires": { |       "requires": { | ||||||
|         "is-number": "^7.0.0" |         "is-number": "^7.0.0" | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
|     "increase-memory": "export NODE_OPTIONS=--max_old_space_size=4096", |     "increase-memory": "export NODE_OPTIONS=--max_old_space_size=4096", | ||||||
|     "start": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory && parcel *.html UI/** Logic/** assets/** assets/**/** assets/**/**/** vendor/* vendor/*/*", |     "start": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory && parcel *.html UI/** Logic/** assets/** assets/**/** assets/**/**/** vendor/* vendor/*/*", | ||||||
|     "test": "ts-node test/Tag.spec.ts && ts-node test/TagQuestion.spec.ts && ts-node test/ImageSearcher.spec.ts && ts-node test/ImageAttribution.spec.ts && ts-node test/Theme.spec.ts", |     "test": "ts-node test/Tag.spec.ts && ts-node test/TagQuestion.spec.ts && ts-node test/ImageSearcher.spec.ts && ts-node test/ImageAttribution.spec.ts && ts-node test/Theme.spec.ts", | ||||||
|  |     "init": "npm run generate:editor-layer-index && npm run generate:licenses && npm run generate:layeroverview && npm run generate:layouts && npm run clean", | ||||||
|     "generate:editor-layer-index": "cd assets/ && wget https://osmlab.github.io/editor-layer-index/imagery.geojson --output-document=editor-layer-index.json", |     "generate:editor-layer-index": "cd assets/ && wget https://osmlab.github.io/editor-layer-index/imagery.geojson --output-document=editor-layer-index.json", | ||||||
|     "generate:images": "ts-node scripts/generateIncludedImages.ts", |     "generate:images": "ts-node scripts/generateIncludedImages.ts", | ||||||
|     "generate:translations": "ts-node scripts/generateTranslations.ts", |     "generate:translations": "ts-node scripts/generateTranslations.ts", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue