hof 20.0.0-beta.37 → 20.0.0-beta.38
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/6ec5c088-e828-4f32-9115-eefea6cdc69b.json +1 -0
- package/.nyc_output/processinfo/6ec5c088-e828-4f32-9115-eefea6cdc69b.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/README.md +6 -0
- package/controller/controller.js +5 -0
- package/frontend/template-partials/views/layout.html +2 -2
- package/frontend/template-partials/views/partials/maincontent-left.html +2 -2
- package/frontend/template-partials/views/partials/navigation.html +2 -2
- package/frontend/template-partials/views/partials/summary-table-row.html +2 -2
- package/frontend/template-partials/views/session-timeout.html +1 -2
- package/index.js +1 -1
- package/middleware/errors.js +0 -2
- package/package.json +1 -1
- package/wizard/middleware/check-progress.js +1 -36
- package/.nyc_output/0b3039f4-3eec-49e8-b2ae-0d24e1932fcf.json +0 -1
- package/.nyc_output/processinfo/0b3039f4-3eec-49e8-b2ae-0d24e1932fcf.json +0 -1
- package/sandbox/apps/sandbox/translations/en/default.json +0 -203
- package/sandbox/public/css/app.css +0 -9387
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +0 -35658
@@ -1 +0,0 @@
|
|
1
|
-
{"parent":null,"pid":15136,"argv":["/Users/rhyadzergane/.nvm/versions/node/v14.19.1/bin/node","/Users/rhyadzergane/Documents/HOF/projects/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/rhyadzergane/Documents/HOF/projects/hof","time":1664458347559,"ppid":15133,"coverageFilename":"/Users/rhyadzergane/Documents/HOF/projects/hof/.nyc_output/0b3039f4-3eec-49e8-b2ae-0d24e1932fcf.json","externalId":"","uuid":"0b3039f4-3eec-49e8-b2ae-0d24e1932fcf","files":["/Users/rhyadzergane/Documents/HOF/projects/hof/model/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/default-model.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/defaults.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/clear-session/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/fields.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/email-service.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/emailer.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/smtp.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/ses.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/stub.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/debug.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/summary/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/rate-limits.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/rate-limiter.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/hof-defaults.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/notify.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/base-controller.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/validators.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/email.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation-error.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/inputs.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/test-data/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/countries.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/helpers/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/reqres/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/sanitisation-rules.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/formatters.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-session.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-hooks.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/controller.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/render.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/config.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/translations/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/gov-uk/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/validation.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/cookies.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/errors.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/not-found.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/deep-translate.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/markdown.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/router.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/complete.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/constants.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/health.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/serve-static.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/ga-tag.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/sessions.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/settings.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/logger.js","/Users/rhyadzergane/Documents/HOF/projects/hof/build/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/builder-defaults.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/compile.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/build.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/expand-dirs.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/aggregate.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/write-files.js","/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/html-to-pdf-converter.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/model.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/back-links.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-complete.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-progress.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-session.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/csrf.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/fields.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/helpers/utilities.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/encryption.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session-model.js"]}
|
@@ -1,203 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fields": {
|
3
|
-
"landing-page-radio": {
|
4
|
-
"legend": "Which form would you like to explore?",
|
5
|
-
"hint": "Choose one of the options below and press continue.",
|
6
|
-
"options": {
|
7
|
-
"basic-form": {
|
8
|
-
"label": "Basic form"
|
9
|
-
},
|
10
|
-
"complex-form": {
|
11
|
-
"label": "Complex form"
|
12
|
-
},
|
13
|
-
"build-your-own-form": {
|
14
|
-
"label": "Build your own form"
|
15
|
-
}
|
16
|
-
}
|
17
|
-
},
|
18
|
-
"name": {
|
19
|
-
"label": "What is your full name?"
|
20
|
-
},
|
21
|
-
"dateOfBirth": {
|
22
|
-
"legend": "What is your date of birth?",
|
23
|
-
"hint": "For example, 31 10 1990"
|
24
|
-
},
|
25
|
-
"building": {
|
26
|
-
"label": "Building and street"
|
27
|
-
},
|
28
|
-
"street": {
|
29
|
-
"label": "Address line 2"
|
30
|
-
},
|
31
|
-
"townOrCity": {
|
32
|
-
"label": "Town or city"
|
33
|
-
},
|
34
|
-
"postcode": {
|
35
|
-
"label": "Postcode"
|
36
|
-
},
|
37
|
-
"incomeTypes": {
|
38
|
-
"label": "Sources of income",
|
39
|
-
"legend": "Select the options where you receive income from",
|
40
|
-
"hint": "Select all options that apply to you.",
|
41
|
-
"options": {
|
42
|
-
"salary": {
|
43
|
-
"label": "Salary"
|
44
|
-
},
|
45
|
-
"universal_credit": {
|
46
|
-
"label": "Universal Credit"
|
47
|
-
},
|
48
|
-
"child_benefit": {
|
49
|
-
"label": "Child Benefit"
|
50
|
-
},
|
51
|
-
"housing_benefit": {
|
52
|
-
"label": "Housing Benefit"
|
53
|
-
},
|
54
|
-
"other": {
|
55
|
-
"label": "Other"
|
56
|
-
}
|
57
|
-
}
|
58
|
-
},
|
59
|
-
"countryOfHearing": {
|
60
|
-
"legend": "What country was the appeal lodged?",
|
61
|
-
"options": {
|
62
|
-
"englandAndWales": {
|
63
|
-
"label": "England and Wales"
|
64
|
-
},
|
65
|
-
"scotland": {
|
66
|
-
"label": "Scotland"
|
67
|
-
},
|
68
|
-
"northernIreland": {
|
69
|
-
"label": "Northern Ireland"
|
70
|
-
}
|
71
|
-
}
|
72
|
-
},
|
73
|
-
"email": {
|
74
|
-
"label": "Enter your email address"
|
75
|
-
},
|
76
|
-
"phone": {
|
77
|
-
"label": "Phone number",
|
78
|
-
"hint": "International phone numbers require the international dialling code, for example +33235066182"
|
79
|
-
},
|
80
|
-
"int-phone-number": {
|
81
|
-
"legend": "International phone number"
|
82
|
-
},
|
83
|
-
"complaintDetails": {
|
84
|
-
"label": "Complaint details",
|
85
|
-
"hint": "Briefly summarise your complaint. Include anything that can help our investigation."
|
86
|
-
},
|
87
|
-
"countrySelect": {
|
88
|
-
"label": "Which country are you based in?",
|
89
|
-
"hint": "Start to type the country name and options will appear"
|
90
|
-
},
|
91
|
-
"appealStages": {
|
92
|
-
"label": "Appeal stage",
|
93
|
-
"hint": "Choose an appeal stage from the drop down menu",
|
94
|
-
"options": {
|
95
|
-
"null": "Select..."
|
96
|
-
}
|
97
|
-
}
|
98
|
-
},
|
99
|
-
"journey": {
|
100
|
-
"header": "HOF Bootstrap Sandbox Form",
|
101
|
-
"confirmation": {
|
102
|
-
"details": "Your reference number <br><strong>HDJ2123F</strong>"
|
103
|
-
}
|
104
|
-
},
|
105
|
-
"pages": {
|
106
|
-
"landing-page": {
|
107
|
-
"header": "Landing page"
|
108
|
-
},
|
109
|
-
"build-your-own-form": {
|
110
|
-
"title": "Build your own form",
|
111
|
-
"subheader": "Access the build your own form guidance link"
|
112
|
-
},
|
113
|
-
"address": {
|
114
|
-
"header": "What is your address in the UK?",
|
115
|
-
"intro": "If you have no fixed address, enter an address where we can contact you."
|
116
|
-
},
|
117
|
-
"phone-number": {
|
118
|
-
"header": "Enter your phone number"
|
119
|
-
},
|
120
|
-
"confirm": {
|
121
|
-
"header": "Check your answers before submitting your application.",
|
122
|
-
"sections": {
|
123
|
-
"applicantsDetails": {
|
124
|
-
"header": "Applicant's details"
|
125
|
-
},
|
126
|
-
"address": {
|
127
|
-
"header": "Address"
|
128
|
-
},
|
129
|
-
"income": {
|
130
|
-
"header": "Income"
|
131
|
-
},
|
132
|
-
"appealDetails": {
|
133
|
-
"header": "Appeal details"
|
134
|
-
},
|
135
|
-
"countrySelect": {
|
136
|
-
"header": "Country of residence"
|
137
|
-
},
|
138
|
-
"contactDetails": {
|
139
|
-
"header": "Contact details"
|
140
|
-
},
|
141
|
-
"complaintDetails": {
|
142
|
-
"header": "Complaint details"
|
143
|
-
}
|
144
|
-
}
|
145
|
-
},
|
146
|
-
"confirmation": {
|
147
|
-
"title": "Application sent",
|
148
|
-
"alert": "Application sent",
|
149
|
-
"subheader": "What happens next",
|
150
|
-
"content": "We’ll contact you with the decision of your application or if we need more information from you."
|
151
|
-
}
|
152
|
-
},
|
153
|
-
"validation": {
|
154
|
-
"landing-page-radio": {
|
155
|
-
"required": "Select an option below and press continue"
|
156
|
-
},
|
157
|
-
"name": {
|
158
|
-
"default": "Enter your full name"
|
159
|
-
},
|
160
|
-
"dateOfBirth": {
|
161
|
-
"default": "Enter your date of birth in the correct format; for example, 31 10 1990",
|
162
|
-
"after": "Enter a date after 1 1 1900",
|
163
|
-
"before": "Enter a date that is in the past"
|
164
|
-
},
|
165
|
-
"building": {
|
166
|
-
"default": "Enter details of your building and street"
|
167
|
-
},
|
168
|
-
"townOrCity": {
|
169
|
-
"default": "Enter a town or city",
|
170
|
-
"regex": "Enter a town or city without including digits"
|
171
|
-
},
|
172
|
-
"postcode": {
|
173
|
-
"default": "Enter your postcode"
|
174
|
-
},
|
175
|
-
"incomeTypes": {
|
176
|
-
"default": "Select all options that apply to you."
|
177
|
-
},
|
178
|
-
"countryOfHearing": {
|
179
|
-
"default": "Select where the appeal hearing is to be held"
|
180
|
-
},
|
181
|
-
"countrySelect": {
|
182
|
-
"default": "Enter a valid country of residence",
|
183
|
-
"required": "Enter your country of residence"
|
184
|
-
},
|
185
|
-
"email": {
|
186
|
-
"default": "Enter your email address in the correct format"
|
187
|
-
},
|
188
|
-
"phone": {
|
189
|
-
"default": "Enter your phone number"
|
190
|
-
},
|
191
|
-
"int-phone-number": {
|
192
|
-
"required": "Enter an international phone number",
|
193
|
-
"internationalPhoneNumber": "Enter a valid international phone number"
|
194
|
-
},
|
195
|
-
"complaintDetails": {
|
196
|
-
"default": "Enter details about why you are making a complaint",
|
197
|
-
"maxlength": "Keep to the {{maxlength}} character limit"
|
198
|
-
},
|
199
|
-
"appealStages": {
|
200
|
-
"required": "Select an appeal stage from the list"
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|