hof 22.0.0-timeout-warning-beta.11 → 22.0.0-timeout-warning-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/{332fb170-672e-4e73-a6b5-5dfcf25ce16e.json → b41c37a9-490c-4262-8cef-5e13a7a48210.json} +1 -1
- package/.nyc_output/processinfo/{332fb170-672e-4e73-a6b5-5dfcf25ce16e.json → b41c37a9-490c-4262-8cef-5e13a7a48210.json} +1 -1
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +1 -0
- package/components/session-timeout-warning/Readme.md +45 -0
- package/components/session-timeout-warning/index.js +1 -1
- package/config/hof-defaults.js +1 -1
- package/frontend/template-partials/views/exit.html +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/sandbox/server.js +1 -1
- /package/{pull_request.md → pull-request-template.md} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"parent":null,"pid":
|
1
|
+
{"parent":null,"pid":80661,"argv":["/Users/user/.nvm/versions/node/v20.9.0/bin/node","/Users/user/Documents/HO/HOF/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/user/Documents/HO/HOF/hof","time":1722881188290,"ppid":80644,"coverageFilename":"/Users/user/Documents/HO/HOF/hof/.nyc_output/b41c37a9-490c-4262-8cef-5e13a7a48210.json","externalId":"","uuid":"b41c37a9-490c-4262-8cef-5e13a7a48210","files":["/Users/user/Documents/HO/HOF/hof/model/index.js","/Users/user/Documents/HO/HOF/hof/model/apis/axios-settings.js","/Users/user/Documents/HO/HOF/hof/components/index.js","/Users/user/Documents/HO/HOF/hof/components/address-lookup/index.js","/Users/user/Documents/HO/HOF/hof/components/address-lookup/default-model.js","/Users/user/Documents/HO/HOF/hof/components/address-lookup/defaults.js","/Users/user/Documents/HO/HOF/hof/components/clear-session/index.js","/Users/user/Documents/HO/HOF/hof/components/combine-and-loop-fields/index.js","/Users/user/Documents/HO/HOF/hof/components/date/index.js","/Users/user/Documents/HO/HOF/hof/components/date/fields.js","/Users/user/Documents/HO/HOF/hof/components/emailer/index.js","/Users/user/Documents/HO/HOF/hof/components/emailer/email-service.js","/Users/user/Documents/HO/HOF/hof/components/emailer/emailer.js","/Users/user/Documents/HO/HOF/hof/components/emailer/transports/index.js","/Users/user/Documents/HO/HOF/hof/components/emailer/transports/smtp.js","/Users/user/Documents/HO/HOF/hof/components/emailer/transports/ses.js","/Users/user/Documents/HO/HOF/hof/components/emailer/transports/stub.js","/Users/user/Documents/HO/HOF/hof/components/emailer/transports/debug.js","/Users/user/Documents/HO/HOF/hof/components/homeoffice-countries/index.js","/Users/user/Documents/HO/HOF/hof/config/component-defaults.js","/Users/user/Documents/HO/HOF/hof/components/notify/index.js","/Users/user/Documents/HO/HOF/hof/components/notify/notify.js","/Users/user/Documents/HO/HOF/hof/components/summary/index.js","/Users/user/Documents/HO/HOF/hof/config/rate-limits.js","/Users/user/Documents/HO/HOF/hof/middleware/rate-limiter.js","/Users/user/Documents/HO/HOF/hof/config/hof-defaults.js","/Users/user/Documents/HO/HOF/hof/components/session-timeout-warning/index.js","/Users/user/Documents/HO/HOF/hof/controller/base-controller.js","/Users/user/Documents/HO/HOF/hof/controller/formatting/index.js","/Users/user/Documents/HO/HOF/hof/controller/validation/index.js","/Users/user/Documents/HO/HOF/hof/controller/validation/validators.js","/Users/user/Documents/HO/HOF/hof/controller/validation/email.js","/Users/user/Documents/HO/HOF/hof/controller/validation-error.js","/Users/user/Documents/HO/HOF/hof/utilities/index.js","/Users/user/Documents/HO/HOF/hof/utilities/autofill/index.js","/Users/user/Documents/HO/HOF/hof/utilities/autofill/inputs.js","/Users/user/Documents/HO/HOF/hof/utilities/test-data/index.js","/Users/user/Documents/HO/HOF/hof/utilities/countries.js","/Users/user/Documents/HO/HOF/hof/utilities/helpers/index.js","/Users/user/Documents/HO/HOF/hof/utilities/reqres/index.js","/Users/user/Documents/HO/HOF/hof/config/sanitisation-rules.js","/Users/user/Documents/HO/HOF/hof/controller/formatting/formatters.js","/Users/user/Documents/HO/HOF/hof/controller/index.js","/Users/user/Documents/HO/HOF/hof/controller/behaviour-session.js","/Users/user/Documents/HO/HOF/hof/controller/behaviour-hooks.js","/Users/user/Documents/HO/HOF/hof/controller/controller.js","/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/index.js","/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/render.js","/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/helpers.js","/Users/user/Documents/HO/HOF/hof/index.js","/Users/user/Documents/HO/HOF/hof/frontend/index.js","/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/index.js","/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/build/index.js","/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/build/config.js","/Users/user/Documents/HO/HOF/hof/frontend/template-partials/index.js","/Users/user/Documents/HO/HOF/hof/frontend/template-partials/translations/index.js","/Users/user/Documents/HO/HOF/hof/frontend/themes/index.js","/Users/user/Documents/HO/HOF/hof/frontend/themes/gov-uk/index.js","/Users/user/Documents/HO/HOF/hof/frontend/toolkit/index.js","/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/validation.js","/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/user/Documents/HO/HOF/hof/middleware/index.js","/Users/user/Documents/HO/HOF/hof/middleware/cookies.js","/Users/user/Documents/HO/HOF/hof/middleware/errors.js","/Users/user/Documents/HO/HOF/hof/middleware/not-found.js","/Users/user/Documents/HO/HOF/hof/middleware/deep-translate.js","/Users/user/Documents/HO/HOF/hof/lib/markdown.js","/Users/user/Documents/HO/HOF/hof/lib/router.js","/Users/user/Documents/HO/HOF/hof/wizard/index.js","/Users/user/Documents/HO/HOF/hof/wizard/behaviours/index.js","/Users/user/Documents/HO/HOF/hof/wizard/behaviours/complete.js","/Users/user/Documents/HO/HOF/hof/wizard/util/constants.js","/Users/user/Documents/HO/HOF/hof/lib/helpers.js","/Users/user/Documents/HO/HOF/hof/lib/health.js","/Users/user/Documents/HO/HOF/hof/lib/serve-static.js","/Users/user/Documents/HO/HOF/hof/lib/ga-tag.js","/Users/user/Documents/HO/HOF/hof/lib/sessions.js","/Users/user/Documents/HO/HOF/hof/lib/settings.js","/Users/user/Documents/HO/HOF/hof/lib/logger.js","/Users/user/Documents/HO/HOF/hof/build/index.js","/Users/user/Documents/HO/HOF/hof/config/builder-defaults.js","/Users/user/Documents/HO/HOF/hof/transpiler/index.js","/Users/user/Documents/HO/HOF/hof/transpiler/lib/compile.js","/Users/user/Documents/HO/HOF/hof/transpiler/lib/build.js","/Users/user/Documents/HO/HOF/hof/transpiler/lib/expand-dirs.js","/Users/user/Documents/HO/HOF/hof/transpiler/lib/aggregate.js","/Users/user/Documents/HO/HOF/hof/transpiler/lib/write-files.js","/Users/user/Documents/HO/HOF/hof/model/apis/index.js","/Users/user/Documents/HO/HOF/hof/model/apis/html-to-pdf-converter.js","/Users/user/Documents/HO/HOF/hof/wizard/model.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/back-links.js","/Users/user/Documents/HO/HOF/hof/wizard/util/helpers.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-complete.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-progress.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-session.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/csrf.js","/Users/user/Documents/HO/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/fields.js","/Users/user/Documents/HO/HOF/hof/sandbox/test/helpers/utilities.js","/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/user/Documents/HO/HOF/hof/lib/encryption.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/session.js","/Users/user/Documents/HO/HOF/hof/wizard/middleware/session-model.js"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"processes":{"332fb170-672e-4e73-a6b5-5dfcf25ce16e":{"parent":null,"children":[]}},"files":{"/Users/user/Documents/HO/HOF/hof/model/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/model/apis/axios-settings.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/address-lookup/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/address-lookup/default-model.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/address-lookup/defaults.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/clear-session/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/combine-and-loop-fields/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/date/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/date/fields.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/email-service.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/emailer.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/smtp.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/ses.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/stub.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/debug.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/homeoffice-countries/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/config/component-defaults.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/notify/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/notify/notify.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/summary/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/config/rate-limits.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/middleware/rate-limiter.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/config/hof-defaults.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/components/session-timeout-warning/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/base-controller.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/formatting/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/validation/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/validation/validators.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/validation/email.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/validation-error.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/autofill/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/autofill/inputs.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/test-data/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/countries.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/helpers/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/utilities/reqres/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/config/sanitisation-rules.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/formatting/formatters.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/behaviour-session.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/behaviour-hooks.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/controller/controller.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/template-mixins.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/render.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/helpers.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/build/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/build/config.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/template-partials/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/template-partials/translations/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/themes/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/themes/gov-uk/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/helpers.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/validation.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/character-count.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/middleware/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/middleware/cookies.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/middleware/errors.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/middleware/not-found.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/middleware/deep-translate.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/markdown.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/router.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/behaviours/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/behaviours/complete.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/util/constants.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/helpers.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/health.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/serve-static.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/ga-tag.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/sessions.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/settings.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/logger.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/build/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/config/builder-defaults.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/transpiler/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/compile.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/build.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/expand-dirs.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/aggregate.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/write-files.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/model/apis/index.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/model/apis/html-to-pdf-converter.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/model.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/back-links.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/util/helpers.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-complete.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-progress.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-session.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/csrf.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/fields.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/test/helpers/utilities.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/lib/encryption.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/session.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/session-model.js":["332fb170-672e-4e73-a6b5-5dfcf25ce16e"]},"externalIds":{}}
|
1
|
+
{"processes":{"b41c37a9-490c-4262-8cef-5e13a7a48210":{"parent":null,"children":[]}},"files":{"/Users/user/Documents/HO/HOF/hof/model/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/model/apis/axios-settings.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/address-lookup/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/address-lookup/default-model.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/address-lookup/defaults.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/clear-session/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/combine-and-loop-fields/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/date/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/date/fields.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/email-service.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/emailer.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/smtp.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/ses.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/stub.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/emailer/transports/debug.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/homeoffice-countries/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/config/component-defaults.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/notify/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/notify/notify.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/summary/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/config/rate-limits.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/middleware/rate-limiter.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/config/hof-defaults.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/components/session-timeout-warning/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/base-controller.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/formatting/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/validation/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/validation/validators.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/validation/email.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/validation-error.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/autofill/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/autofill/inputs.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/test-data/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/countries.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/helpers/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/utilities/reqres/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/config/sanitisation-rules.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/formatting/formatters.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/behaviour-session.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/behaviour-hooks.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/controller/controller.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/template-mixins.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/render.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/template-mixins/mixins/helpers.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/build/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/govuk-template/build/config.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/template-partials/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/template-partials/translations/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/themes/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/themes/gov-uk/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/helpers.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/validation.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/frontend/toolkit/assets/javascript/character-count.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/middleware/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/middleware/cookies.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/middleware/errors.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/middleware/not-found.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/middleware/deep-translate.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/markdown.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/router.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/behaviours/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/behaviours/complete.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/util/constants.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/helpers.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/health.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/serve-static.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/ga-tag.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/sessions.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/settings.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/logger.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/build/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/config/builder-defaults.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/transpiler/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/compile.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/build.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/expand-dirs.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/aggregate.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/transpiler/lib/write-files.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/model/apis/index.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/model/apis/html-to-pdf-converter.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/model.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/back-links.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/util/helpers.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-complete.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-progress.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/check-session.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/csrf.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/fields.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/test/helpers/utilities.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/lib/encryption.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/session.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"],"/Users/user/Documents/HO/HOF/hof/wizard/middleware/session-model.js":["b41c37a9-490c-4262-8cef-5e13a7a48210"]},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
- user can stay on page or exit form
|
4
4
|
- adds exit html
|
5
5
|
- updates confirmation html to a static page
|
6
|
+
- allows for customisation of session timeout warning dialog content and exit page content
|
6
7
|
* Fixes accessibility issues
|
7
8
|
* Sandbox area for testing hof changes
|
8
9
|
* Updates patch and minor dependency versions
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Session Timeout Warning Behaviour
|
2
|
+
|
3
|
+
## What this does
|
4
|
+
Makes the content related to the session timeout warning behaviour customisable. This includes the content in the session timeout warning dialog and on the exit page after the user clicks to exit the form from the session timeout warning dialog.
|
5
|
+
|
6
|
+
The component should be set in the project's hof.settings.json
|
7
|
+
```
|
8
|
+
"behaviours": [
|
9
|
+
"hof/components/session-timeout-warning"
|
10
|
+
]
|
11
|
+
```
|
12
|
+
|
13
|
+
It will then pick the default content from hof.
|
14
|
+
|
15
|
+
If you require customised content at a project level, the following variables must be set to false in hof.settings.json
|
16
|
+
|
17
|
+
```
|
18
|
+
behaviours: [
|
19
|
+
require('../').components.sessionTimeoutWarning
|
20
|
+
],
|
21
|
+
sessionTimeoutWarningContent: false,
|
22
|
+
exitFormContent: false
|
23
|
+
```
|
24
|
+
|
25
|
+
You can then set the content in the project's pages.json
|
26
|
+
|
27
|
+
```
|
28
|
+
"exit": {
|
29
|
+
"message": "We have cleared your information to keep it secure. Your information has not been saved."
|
30
|
+
},
|
31
|
+
"session-timeout-warning": {
|
32
|
+
"dialog-title": "Your application will close soon",
|
33
|
+
"dialog-text": "If that happens, your progress will not be saved.",
|
34
|
+
"timeout-continue-button": "Stay on this page",
|
35
|
+
"dialog-exit-link": "Exit this form"
|
36
|
+
}
|
37
|
+
```
|
38
|
+
|
39
|
+
To customise the exit page's header and title, you can create an exit.json file and set the content:
|
40
|
+
```
|
41
|
+
{
|
42
|
+
"header": "You have left this application",
|
43
|
+
"title": "You have left this application"
|
44
|
+
}
|
45
|
+
```
|
@@ -21,7 +21,7 @@ module.exports = superclass => class extends superclass {
|
|
21
21
|
superLocals.dialogExitLink = true;
|
22
22
|
}
|
23
23
|
// set the default content on /exit page
|
24
|
-
if (req.form.options.route === '/exit' && config.
|
24
|
+
if (req.form.options.route === '/exit' && config.exitFormContent === true) {
|
25
25
|
superLocals.header = req.translate('exit.header');
|
26
26
|
superLocals.title = req.translate('exit.title');
|
27
27
|
superLocals.message = req.translate('exit.message');
|
package/config/hof-defaults.js
CHANGED
@@ -15,7 +15,7 @@ const defaults = {
|
|
15
15
|
getTerms: true,
|
16
16
|
getAccessibility: false,
|
17
17
|
sessionTimeoutWarningContent: true,
|
18
|
-
|
18
|
+
exitFormContent: true,
|
19
19
|
viewEngine: 'html',
|
20
20
|
protocol: process.env.PROTOCOL || 'http',
|
21
21
|
noCache: process.env.NO_CACHE || false,
|
@@ -3,7 +3,7 @@
|
|
3
3
|
{{header}}
|
4
4
|
{{/header}}
|
5
5
|
{{$content}}
|
6
|
-
<h2 class="govuk-heading-m">{{#
|
6
|
+
<h2 class="govuk-heading-m">{{#exitFormContent}}{{message}}{{/exitFormContent}}{{^exitFormContent}}{{#t}}pages.exit.message{{/t}}{{/exitFormContent}}</h2>
|
7
7
|
<a href="/" class="govuk-button" role="button">{{#t}}buttons.start-again{{/t}}</a>
|
8
8
|
{{/content}}
|
9
9
|
{{/layout}}
|
package/index.js
CHANGED
@@ -152,7 +152,7 @@ function bootstrap(options) {
|
|
152
152
|
res.locals.sessionTimeOut = config.session.ttl;
|
153
153
|
res.locals.sessionTimeOutWarning = config.sessionTimeOutWarning;
|
154
154
|
res.locals.sessionTimeoutWarningContent = config.sessionTimeoutWarningContent;
|
155
|
-
res.locals.
|
155
|
+
res.locals.exitFormContent = config.exitFormContent;
|
156
156
|
next();
|
157
157
|
});
|
158
158
|
|
package/package.json
CHANGED
package/sandbox/server.js
CHANGED
File without changes
|