2727 "id" : " administration" ,
2828 "name" : " Administration" ,
2929 "layerName" : " region:nuts_2021_level_3" ,
30- "regionIdProperty" : " nuts_id " ,
30+ "regionIdProperty" : " nuts_name " ,
3131 "layerNameForWPS" : " region:nuts_2021"
3232 },
3333 {
4747 "title" : " Region Selection" ,
4848 "drawerTitle" : " Select a base map" ,
4949 "icon" : " mdi-map-marker-radius" ,
50- "requiredSteps" : [
51- " userCaseSelection"
52- ],
5350 "explanation" : " Select a region on the map by clicking it, then confirm to continue." ,
54- "requiresConfirmation" : true ,
55- "confirmationSource" : " mapClick" ,
51+ "requiresConfirmation" : false ,
5652 "components" : [
5753 {
5854 "component" : " LayerList" ,
145141 }
146142 }
147143 ]
144+ },
145+ {
146+ "id" : " archetypeSelection" ,
147+ "title" : " Archetype Selection" ,
148+ "drawerTitle" : " Select the archetype" ,
149+ "requiredSteps" : [
150+ " uom"
151+ ],
152+ "explanation" : " Select the archetype and confirm to continue." ,
153+ "requiresConfirmation" : true ,
154+ "confirmationSource" : " component" ,
155+ "wps" : {
156+ "identifier" : " lare_coastal" ,
157+ "trigger" : " stepComplete" ,
158+ "inputs" : [
159+ {
160+ "id" : " sessionid" ,
161+ "type" : " LiteralData" ,
162+ "source" : " store:app.wpsResults.initialSetup.sessionid"
163+ }
164+ ],
165+ "storeResultAs" : " coastalUseCase" ,
166+ "outputActions" : [
167+ {
168+ "action" : " removeLayer" ,
169+ "fromResultKey" : " uom" ,
170+ "path" : " layers"
171+ },
172+ {
173+ "action" : " addLayer" ,
174+ "path" : " layers"
175+ }
176+ ]
177+ },
178+ "components" : [
179+ {
180+ "component" : " SelectionList" ,
181+ "componentProps" : {
182+ "label" : " Archetypes" ,
183+ "selectionKey" : " archetypeSelection" ,
184+ "options" : [
185+ {
186+ "id" : " coastal" ,
187+ "name" : " Urban Coastal"
188+ },
189+ {
190+ "id" : " agricultural_land" ,
191+ "name" : " Agricultural Land"
192+ },
193+ {
194+ "id" : " rural_settlements" ,
195+ "name" : " Rural Settlements"
196+ }
197+ ]
198+ }
199+ }
200+ ]
201+ },
202+ {
203+ "id" : " kcsSelection" ,
204+ "title" : " KCS & Hazards" ,
205+ "drawerTitle" : " Select KCS and hazard" ,
206+ "requiredSteps" : [
207+ " archetypeSelection"
208+ ],
209+ "explanation" : " Select KCS and hazard type, then confirm to run the UOM KCS calculation." ,
210+ "requiresConfirmation" : true ,
211+ "confirmationSource" : " component" ,
212+ "wps" : {
213+ "identifier" : " lare_kcs" ,
214+ "trigger" : " stepComplete" ,
215+ "inputs" : [
216+ {
217+ "id" : " archetype" ,
218+ "type" : " LiteralData" ,
219+ "source" : " store:app.selections.archetypeSelection"
220+ },
221+ {
222+ "id" : " kcs" ,
223+ "type" : " LiteralData" ,
224+ "source" : " store:app.selections.kcsSelection"
225+ },
226+ {
227+ "id" : " sessionid" ,
228+ "type" : " LiteralData" ,
229+ "source" : " store:app.wpsResults.initialSetup.sessionid"
230+ },
231+ {
232+ "id" : " hazard" ,
233+ "type" : " LiteralData" ,
234+ "source" : " store:app.selections.hazardSelection"
235+ }
236+ ],
237+ "storeResultAs" : " uomKcs" ,
238+ "outputActions" : [
239+ {
240+ "action" : " addLayer" ,
241+ "path" : " layers"
242+ }
243+ ]
244+ },
245+ "components" : [
246+ {
247+ "component" : " SelectionList" ,
248+ "componentProps" : {
249+ "label" : " KCS" ,
250+ "selectionKey" : " kcsSelection" ,
251+ "options" : [
252+ {
253+ "id" : " transport" ,
254+ "name" : " Transport"
255+ }
256+ ]
257+ }
258+ },
259+ {
260+ "component" : " SelectionList" ,
261+ "componentProps" : {
262+ "label" : " Hazards" ,
263+ "selectionKey" : " hazardSelection" ,
264+ "options" : [
265+ {
266+ "id" : " pluvial_RP200" ,
267+ "name" : " Pluvial floods"
268+ }
269+ ]
270+ }
271+ }
272+ ]
148273 }
149274 ]
150275}
0 commit comments