{"version":3,"file":"app-21604579.47e839c4edc29ae0ca22.bundle.js","mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChDA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AAC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;AAAA;AAEA;AACA;AACA;AAAA;AACA;AACA;AAEA;AACA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AApHA;AAAA;;AAAA;AAGA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AAEA;AAAA;;;AAGA;AAEA;AAAA;;;AAGA;AAEA;AAAA;;;AAGA;AAoBA;AAAA;;;AAKA;AACA;AAAA;;;AASA;AArEA;AAdA;AACA;AACA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAmIA;AAAA;AAnIA;AAuIA;AAEA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVA;AAYA;;;;;AACA;AAAA;AAEA;AACA;AACA;AACA;AAAA;;AAAA;;;;AAGA;AACA;AAAA;;AAAA;;;AACA;;;;;;AAGA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;;;;;;AACA;AAEA;AACA;AAAA;AAGA;;;;AACA;AA5CA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AACA;AAAA;;AAAA;AAZA;AAFA;AACA;AAGA;AAFA;AAiDA;AAAA;AAjDA;;;;;;;;;;;;;;;;AC1JA;AAEA;AAAA;AAKA;AAJA;AACA;AACA;AACA;AACA;AAAA;;;;;;;;;;;;;;;;;ACVA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AAGA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;ACzCA;AAEA;AAAA;AAKA;AAJA;AACA;AACA;AACA;AACA;AAAA;;;;;;;;;;;;;;;;ACJA;AAAA;AA+BA;AA9BA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;;;;;;;;;;;;;;;;AClCA;AAAA;AAIA;AAHA;AACA;AACA;AACA;AAAA;;;;;;;;;;;;;;;;ACJA;AAAA;AAQA;AAPA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA","sources":["webpack://client-app/./src/resources/elements/input-checkbox/input-checkbox.scss","webpack://client-app/./src/resources/elements/input-textarea/control.scss","webpack://client-app/./src/resources/elements/spinner/spinner.scss","webpack://client-app/./src/resources/elements/wizard/wizard.scss","webpack://client-app/./src/resources/elements/help-text/help-text.html","webpack://client-app/./src/resources/elements/input-checkbox/input-checkbox.html","webpack://client-app/./src/resources/elements/input-password/control.html","webpack://client-app/./src/resources/elements/input-text/control.html","webpack://client-app/./src/resources/elements/input-textarea/control.html","webpack://client-app/./src/resources/elements/loader/control.html","webpack://client-app/./src/resources/elements/spinner/spinner.html","webpack://client-app/./src/resources/elements/wizard/wizard-step.html","webpack://client-app/./src/resources/elements/wizard/wizard.html","webpack://client-app/./src/resources/elements/help-text/help-text.ts","webpack://client-app/./src/resources/elements/input-checkbox/input-checkbox.ts","webpack://client-app/./src/resources/elements/input-password/control.ts","webpack://client-app/./src/resources/elements/input-text/control.ts","webpack://client-app/./src/resources/elements/input-textarea/control.ts","webpack://client-app/./src/resources/elements/inputBase.ts","webpack://client-app/./src/resources/elements/loader/control.ts","webpack://client-app/./src/resources/elements/spinner/spinner.ts","webpack://client-app/./src/resources/elements/wizard/wizard.ts","webpack://client-app/./src/resources/hooks/viewPortEnum.ts","webpack://client-app/./src/resources/index.ts","webpack://client-app/./src/resources/value-converters/date.ts","webpack://client-app/./src/resources/value-converters/documentation-sort.ts","webpack://client-app/./src/resources/value-converters/proper-case.ts","webpack://client-app/./src/resources/value-converters/upper-case.ts"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `input-checkbox {\n position: relative;\n display: block;\n padding: 15px 0 12px 50px;\n margin: 20px 0;\n}\ninput-checkbox label input {\n position: absolute;\n opacity: 0;\n}\ninput-checkbox label input:checked ~ span {\n border-radius: 5px;\n -webkit-transform: rotate(0deg) scale(1);\n -ms-transform: rotate(0deg) scale(1);\n transform: rotate(0deg) scale(1);\n opacity: 1;\n}\ninput-checkbox label input:checked ~ span::after {\n -webkit-transform: rotate(45deg) scale(1);\n -ms-transform: rotate(45deg) scale(1);\n transform: rotate(45deg) scale(1);\n opacity: 1;\n left: 9px;\n top: 5px;\n width: 6px;\n height: 12px;\n border-radius: 0;\n}\ninput-checkbox label span.answer {\n position: absolute;\n cursor: pointer;\n top: 50%;\n margin-top: -15px;\n left: 5px;\n padding: 0;\n width: 30px;\n height: 30px;\n transition: all 0.3s ease-out;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -ms-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n}\ninput-checkbox label span.answer::after {\n position: absolute;\n content: \"\";\n top: 15px;\n left: 15px;\n height: 0;\n width: 0;\n border: solid #000;\n border-width: 0 3px 3px 0;\n opacity: 1;\n -webkit-transform: rotate(0deg) scale(0);\n -ms-transform: rotate(0deg) scale(0);\n transform: rotate(0deg) scale(0);\n transition: all 0.3s ease-out;\n -webkit-transition: all 0.3s ease-out;\n -moz-transition: all 0.3s ease-out;\n -ms-transition: all 0.3s ease-out;\n -o-transition: all 0.3s ease-out;\n}\ninput-checkbox label span.answer::before {\n display: none;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/input-checkbox/input-checkbox.scss\",\"webpack://./src/style/mixins.scss\"],\"names\":[],\"mappings\":\"AAEA;EACI,kBAAA;EACA,cAAA;EACA,yBAAA;EACA,cAAA;AADJ;AAIQ;EACI,kBAAA;EACA,UAAA;AAFZ;AAKgB;EACI,kBAAA;ECsBlB,wCDrBqC;ECsBrC,oCDtBqC;ECuBrC,gCDvBqC;EACnB,UAAA;AADpB;AAIgB;ECiBd,yCDhBqC;ECiBrC,qCDjBqC;ECkBrC,iCDlBqC;EACnB,UAAA;EACA,SAAA;EACA,QAAA;EACA,UAAA;EACA,YAAA;EACA,gBAAA;AAApB;AAKQ;EACI,kBAAA;EACA,eAAA;EACA,QAAA;EACA,iBAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;ECXV,6BDY8B;ECX9B,qCDW8B;ECV9B,kCDU8B;ECT9B,iCDS8B;ECR9B,gCDQ8B;AAChC;AACY;EACI,kBAAA;EACA,WAAA;EACA,SAAA;EACA,UAAA;EACA,SAAA;EACA,QAAA;EACA,kBAAA;EACA,yBAAA;EACA,UAAA;ECfd,wCDgBiC;ECfjC,oCDeiC;ECdjC,gCDciC;ECxBjC,6BDyBkC;ECxBlC,qCDwBkC;ECvBlC,kCDuBkC;ECtBlC,iCDsBkC;ECrBlC,gCDqBkC;AAOpC;AAJY;EACI,aAAA;AAMhB\",\"sourcesContent\":[\"@import \\\"../../../style/mixins.scss\\\";\\r\\n\\r\\ninput-checkbox {\\r\\n position: relative;\\r\\n display: block;\\r\\n padding: 15px 0 12px 50px;\\r\\n margin: 20px 0;\\r\\n\\r\\n label {\\r\\n input {\\r\\n position: absolute;\\r\\n opacity: 0;\\r\\n\\r\\n &:checked {\\r\\n ~span {\\r\\n border-radius: 5px;\\r\\n @include transform(rotate(0deg) scale(1));\\r\\n opacity: 1;\\r\\n }\\r\\n \\r\\n ~span::after {\\r\\n @include transform(rotate(45deg) scale(1));\\r\\n opacity: 1;\\r\\n left: 9px;\\r\\n top: 5px;\\r\\n width: 6px;\\r\\n height: 12px;\\r\\n border-radius: 0;\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n span.answer {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 50%;\\r\\n margin-top: -15px;\\r\\n left: 5px;\\r\\n padding: 0;\\r\\n width: 30px;\\r\\n height: 30px;\\r\\n @include transition(all 0.3s ease-out);\\r\\n\\r\\n &::after {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n top: 15px;\\r\\n left: 15px;\\r\\n height: 0;\\r\\n width: 0;\\r\\n border: solid #000;\\r\\n border-width: 0 3px 3px 0;\\r\\n opacity: 1;\\r\\n @include transform(rotate(0deg) scale(0));\\r\\n @include transition(all 0.3s ease-out);\\r\\n }\\r\\n\\r\\n &::before {\\r\\n display: none;\\r\\n }\\r\\n }\\r\\n }\\r\\n}\",\"@mixin breakpoint($point) {\\r\\n @if $point == desktop {\\r\\n @media (min-width: 1281px) {\\r\\n @content;\\r\\n }\\r\\n }\\r\\n @else if $point == laptop {\\r\\n @media (min-width: 1024px) {\\r\\n @content;\\r\\n }\\r\\n }\\r\\n @else if $point == tablet {\\r\\n @media (min-width: 768px) {\\r\\n @content;\\r\\n }\\r\\n }\\r\\n @else if $point == phablet {\\r\\n @media (min-width: 481px) {\\r\\n @content;\\r\\n }\\r\\n }\\r\\n @else if $point == mobile {\\r\\n @media (min-width: 320px) {\\r\\n @content;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin transition($value) {\\r\\n transition: $value;\\r\\n -webkit-transition: $value;\\r\\n -moz-transition: $value;\\r\\n -ms-transition: $value;\\r\\n -o-transition: $value;\\r\\n}\\r\\n\\r\\n@mixin transform($value) {\\r\\n -webkit-transform: $value;\\r\\n -ms-transform: $value;\\r\\n transform: $value;\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.messages {\n display: flex;\n justify-content: right;\n}\n.messages .errors {\n flex-grow: 1;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/input-textarea/control.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,sBAAA;AACJ;AACI;EACI,YAAA;AACR\",\"sourcesContent\":[\".messages {\\r\\n display: flex;\\r\\n justify-content: right;\\r\\n\\r\\n .errors {\\r\\n flex-grow: 1;\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.spinner-ctr {\n display: inline-block;\n position: relative;\n overflow: hidden;\n width: 32px;\n height: 32px;\n top: 12px;\n margin: 0 10px;\n}\n\n.spinner {\n pointer-events: none;\n width: 14px;\n height: 14px;\n border: 8px solid transparent;\n border-color: #eee;\n border-top-color: #aaa;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n}\n\n@keyframes spin {\n 100% {\n transform: rotate(360deg);\n }\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/spinner/spinner.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,qBAAA;EACA,kBAAA;EACA,gBAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;EACA,cAAA;AACJ;;AAEA;EACC,oBAAA;EACA,WAAA;EACA,YAAA;EACA,6BAAA;EACA,kBAAA;EACA,sBAAA;EACA,kBAAA;EACA,kCAAA;AACD;;AAEA;EACC;IACE,yBAAA;EACD;AACF\",\"sourcesContent\":[\".spinner-ctr {\\r\\n display: inline-block;\\r\\n position: relative;\\r\\n overflow: hidden;\\r\\n width: 32px;\\r\\n height: 32px;\\r\\n top: 12px;\\r\\n margin: 0 10px;\\r\\n}\\r\\n\\r\\n.spinner {\\r\\n\\tpointer-events: none;\\r\\n\\twidth: 14px;\\r\\n\\theight: 14px;\\r\\n\\tborder: 8px solid transparent;\\r\\n\\tborder-color: #eee;\\r\\n\\tborder-top-color: #aaa;\\r\\n\\tborder-radius: 50%;\\r\\n\\tanimation: spin 1s linear infinite;\\r\\n}\\r\\n\\r\\n@keyframes spin {\\r\\n\\t100% {\\r\\n\\t\\t\\ttransform: rotate(360deg)\\r\\n\\t}\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `@keyframes WizardSlideIn {\n 0% {\n margin-left: 100%;\n }\n 100% {\n margin-left: 0;\n }\n}\n@keyframes WizardSlideOut {\n 0% {\n margin-left: 0;\n }\n 100% {\n margin-left: -100%;\n }\n}\nwizard .wizard-content {\n display: block;\n width: 100%;\n position: relative;\n overflow: hidden;\n}\nwizard .wizard-content wizard-step {\n display: block;\n width: 100%;\n margin-left: 0;\n top: 0;\n}\nwizard.au-animate .wizard-content wizard-step.au-leave-active {\n animation: WizardSlideOut 0.5s;\n position: absolute;\n}\nwizard.au-animate .wizard-content wizard-step.au-enter-active {\n animation: WizardSlideIn 0.5s;\n}\nwizard.au-animate .wizard-content.back wizard-step.au-leave-active {\n animation: WizardSlideIn 0.5s reverse;\n position: absolute;\n}\nwizard.au-animate .wizard-content.back wizard-step.au-enter-active {\n animation: WizardSlideOut 0.5s reverse;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/wizard/wizard.scss\"],\"names\":[],\"mappings\":\"AAEA;EACE;IACE,iBAAA;EADF;EAIA;IACE,cAAA;EAFF;AACF;AAKA;EACE;IACE,cAAA;EAHF;EAMA;IACE,kBAAA;EAJF;AACF;AAUE;EACE,cAAA;EACA,WAAA;EACA,kBAAA;EACA,gBAAA;AARJ;AAWI;EACE,cAAA;EACA,WAAA;EACA,cAAA;EACA,MAAA;AATN;AAiBQ;EACE,8BAAA;EACA,kBAAA;AAfV;AAkBQ;EACE,6BAAA;AAhBV;AAuBU;EACE,qCAAA;EACA,kBAAA;AArBZ;AAwBU;EACE,sCAAA;AAtBZ\",\"sourcesContent\":[\"\\r\\n\\r\\n@keyframes WizardSlideIn {\\r\\n 0% {\\r\\n margin-left: 100%;\\r\\n }\\r\\n\\r\\n 100% {\\r\\n margin-left: 0;\\r\\n }\\r\\n}\\r\\n\\r\\n@keyframes WizardSlideOut {\\r\\n 0% {\\r\\n margin-left: 0;\\r\\n }\\r\\n\\r\\n 100% {\\r\\n margin-left: -100%;\\r\\n }\\r\\n}\\r\\n\\r\\n$wizardSlideDuration : 0.5s;\\r\\nwizard {\\r\\n\\r\\n .wizard-content {\\r\\n display: block;\\r\\n width: 100%;\\r\\n position: relative;\\r\\n overflow: hidden;\\r\\n\\r\\n\\r\\n wizard-step {\\r\\n display: block;\\r\\n width: 100%;\\r\\n margin-left: 0;\\r\\n top: 0;\\r\\n\\r\\n }\\r\\n }\\r\\n\\r\\n &.au-animate {\\r\\n .wizard-content {\\r\\n wizard-step {\\r\\n &.au-leave-active {\\r\\n animation: WizardSlideOut $wizardSlideDuration;\\r\\n position: absolute;\\r\\n }\\r\\n\\r\\n &.au-enter-active {\\r\\n animation: WizardSlideIn $wizardSlideDuration;\\r\\n }\\r\\n }\\r\\n\\r\\n &.back {\\r\\n wizard-step {\\r\\n\\r\\n &.au-leave-active {\\r\\n animation: WizardSlideIn $wizardSlideDuration reverse;\\r\\n position: absolute;\\r\\n }\\r\\n\\r\\n &.au-enter-active {\\r\\n animation: WizardSlideOut $wizardSlideDuration reverse;\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Module\nvar code = \"\\r\\n ${showHelp ? hideHelpTitle : helpTitle}\\r\\n ${helpText}\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ${label}\\r\\n \\r\\n ${validationMessage}\\r\\n\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n ${label}\\r\\n \\r\\n ${validationMessage}\\r\\n\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n ${label}\\r\\n \\r\\n \\r\\n ${validationMessage}\\r\\n \\r\\n\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n \\r\\n ${label}\\r\\n \\r\\n \\r\\n \\r\\n ${validationMessage}\\r\\n \\r\\n maxLength ? 'validation-msg-tight' : ''}\\\" if.bind=\\\"showLength\\\">\\r\\n ${value.length || 0}/${maxLength}\\r\\n \\r\\n \\r\\n\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n Loading...\\r\\n\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n ${stepTitle}\\r\\n \\r\\n\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n ${$index + 1}\\r\\n ${step.stepTitle}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\";\n// Exports\nexport default code;","import { customElement, bindable, autoinject } from 'aurelia-framework';\r\nimport { Helpers } from 'application/helpers';\r\n\r\n@customElement('help-text')\r\n@autoinject()\r\nexport class HelpText {\r\n @bindable helpText: string;\r\n @bindable helpTitle: string;\r\n @bindable hideHelpTitle: string;\r\n \r\n showHelp: boolean = false;\r\n\r\n helpKeydown(event: KeyboardEvent) {\r\n return Helpers.keypressEnterOrSpace(event, () => this.showHelp = !this.showHelp);\r\n }\r\n}\r\n","import { customElement, autoinject, bindable } from 'aurelia-framework';\r\nimport { InputBase } from '../inputBase';\r\n\r\n@customElement('input-checkbox')\r\n@autoinject()\r\nexport class InputCheckbox extends InputBase {\r\n @bindable disabled: boolean = false;\r\n}\r\n","import { customElement, bindable, useView, bindingMode, autoinject, containerless, PLATFORM } from 'aurelia-framework';\r\nimport { InputBase } from '../inputBase';\r\n\r\n@customElement('input-password')\r\n@useView(PLATFORM.moduleName('./control.html'))\r\n@autoinject()\r\nexport class InputText extends InputBase {\r\n\r\n}\r\n","import { customElement, bindable, useView, bindingMode, autoinject, containerless, PLATFORM } from 'aurelia-framework';\r\nimport { InputBase } from '../inputBase';\r\n\r\n@customElement('input-text')\r\n@useView(PLATFORM.moduleName('./control.html'))\r\n@autoinject()\r\nexport class InputText extends InputBase {\r\n @bindable placeholder: string;\r\n @bindable hideLabel: boolean;\r\n}\r\n","import { customElement, bindable, useView, bindingMode, autoinject, containerless, PLATFORM } from 'aurelia-framework';\r\nimport { InputBase } from '../inputBase';\r\n\r\n@customElement('input-textarea')\r\n@useView(PLATFORM.moduleName('./control.html'))\r\n@autoinject()\r\nexport class InputTextarea extends InputBase {\r\n @bindable placeholder: string = '';\r\n @bindable hideLabel: boolean;\r\n @bindable maxLength?: number;\r\n @bindable showLength: boolean;\r\n}\r\n","import { customElement, bindable, useView, bindingMode, autoinject, containerless, PLATFORM, computedFrom} from 'aurelia-framework';\r\nimport { ValidationError } from \"class-validator\";\r\nimport { bindValidationResult, bindValidationFired, ValidationTriggers } from '../behaviour/bindValidationResult';\r\n\r\nlet sharedInputCounter: number = 0;\r\n\r\n\r\nexport class InputBase {\r\n @bindable public name: string = \"\";\r\n @bindable public label: string = \"\";\r\n @bindable public subtitle: string;\r\n @bindable public note: string;\r\n @bindable public showNote: boolean = false;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) public value: T;\r\n\r\n private inputCounter: number;\r\n\r\n @bindable helpTitle = 'What does this mean?';\r\n @bindable hideHelpTitle = 'Hide explanation';\r\n @bindable helpText: string;\r\n @bindable delayValidation : boolean = false;\r\n\r\n @bindValidationResult()\r\n private errorResult: ValidationError;\r\n \r\n @bindValidationFired(ValidationTriggers.AutoValidation)\r\n private validationTriggeredAuto: boolean = false;\r\n \r\n @bindValidationFired(ValidationTriggers.ManualValidation)\r\n private validationTriggeredManual: boolean = false;\r\n\r\n private visited: boolean = false;\r\n\r\n public markVisited(){\r\n this.visited = true;\r\n }\r\n\r\n @computedFrom('validationTriggeredAuto', 'validationTriggeredManual')\r\n private get validationTriggered() {\r\n return this.validationTriggeredManual || (!this.delayValidation && this.validationTriggeredAuto);\r\n }\r\n\r\n @computedFrom('inputCounter', 'name')\r\n protected get fieldName() {\r\n if (!!this.name) {\r\n return name;\r\n } else {\r\n return `input-${this.inputCounter}`;\r\n }\r\n }\r\n\r\n @computedFrom('hasValidationErrors', 'visited', 'validationTriggered')\r\n protected get showValidationErrors() {\r\n return this.hasValidationErrors && (this.visited || this.validationTriggered);\r\n }\r\n\r\n @computedFrom('errorResult')\r\n protected get hasValidationErrors() {\r\n if (this.errorResult) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n @computedFrom('validationMessages')\r\n protected get validationMessage() {\r\n var msg = '';\r\n this.validationMessages.forEach(k => {\r\n if (msg) msg += '\\n';\r\n msg += k;\r\n });\r\n return msg;\r\n }\r\n\r\n @computedFrom('errorResult')\r\n get validationMessages() {\r\n if (this.errorResult && this.errorResult.constraints) {\r\n return Object.keys(this.errorResult.constraints).map(k => {\r\n return this.errorResult.constraints[k];\r\n });\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n constructor() {\r\n this.inputCounter = ++sharedInputCounter;\r\n }\r\n}\r\n\r\n","import { customElement, bindable, useView, bindingMode, autoinject, containerless, PLATFORM } from 'aurelia-framework';\r\nimport { InputBase } from '../inputBase';\r\n\r\n@customElement('ex-loader')\r\n@useView(PLATFORM.moduleName('./control.html'))\r\n@autoinject()\r\nexport class Loader{\r\n\r\n}\r\n","import { customElement, autoinject } from 'aurelia-framework';\r\n\r\n@customElement('spinner')\r\n@autoinject()\r\nexport class Spinner {}\r\n","import { BindingSignaler } from 'aurelia-templating-resources';\r\nimport { noView, children, bindable, child, inject, BindingEngine, customElement, processContent, TargetInstruction, useView, PLATFORM, autoinject, Animator, computedFrom, observable} from 'aurelia-framework';\r\nimport {ViewCompiler, ViewSlot, ViewResources, Container} from 'aurelia-framework';\r\nimport { EmptyStatement } from '@babel/types';\r\nimport { validate, ValidationError } from \"validation\";\r\n\r\n\r\n\r\n@customElement('wizard')\r\n@useView(PLATFORM.moduleName('./wizard.html'))\r\n@autoinject\r\n\r\n //@processContent(function (viewCompiler: ViewCompiler, viewResources: ViewResources, element: Element, instruction: TargetInstruction) {\r\n // var steps = processUserTemplate(element);\r\n // viewCompiler.compile().create(\r\n //instruction.columns = result.columns;\r\n //instruction.rowAttributes = result.rowAttributes;\r\n //instruction.pager = result.pager;\r\n\r\n //return true;\r\n //})\r\n\r\nexport class Wizard{\r\n\r\n private contentArea: HTMLElement;\r\n constructor(private element: Element,\r\n vc: ViewCompiler,\r\n vr: ViewResources,\r\n container: Container,\r\n targetInstruction: TargetInstruction,\r\n bindingEngine: BindingEngine,\r\n private animator: Animator) {\r\n \r\n }\r\n\r\n private navigateDirection = 'forward';\r\n @children('wizard-step') private wizardSteps: WizardStep[] = [];\r\n private actualCurrentStep: WizardStep;\r\n\r\n @bindable showStepper: boolean = true;\r\n @bindable showDots: boolean = false;\r\n @bindable animate: boolean = true;\r\n\r\n @computedFrom('actualCurrentStep', 'wizardSteps')\r\n get currentStep() {\r\n return this.actualCurrentStep;\r\n }\r\n\r\n @computedFrom('actualCurrentStep', 'wizardSteps')\r\n get currentStepIndex() {\r\n return this.wizardSteps.indexOf(this.actualCurrentStep);\r\n }\r\n\r\n @computedFrom('wizardSteps.length')\r\n get totalSteps() {\r\n return this.wizardSteps.length;\r\n }\r\n\r\n private wizardStepsChanged(n, o) {\r\n this.wizardSteps.forEach(step => {\r\n (step as any).active = false;\r\n });\r\n this.forward();\r\n }\r\n\r\n public forward() {\r\n var target = this.wizardSteps[this.currentStepIndex + 1];\r\n this.goto(target);\r\n }\r\n\r\n public back() {\r\n if (this.currentStepIndex > 0) {\r\n var target = this.wizardSteps[this.currentStepIndex - 1];\r\n this.goto(target);\r\n }\r\n }\r\n @computedFrom('wizardSteps', 'actualCurrentStep', 'actualCurrentStep.valid', 'actualCurrentStep.canSkipInvalid')\r\n public get canGoForward() {\r\n var target = this.wizardSteps[this.currentStepIndex + 1];\r\n if (!target) return false;\r\n return this.canGoto(target);\r\n }\r\n @computedFrom('wizardSteps', 'actualCurrentStep', 'actualCurrentStep.valid', 'actualCurrentStep.canSkipInvalid')\r\n public get canGoBack() {\r\n if (this.currentStepIndex > 0) {\r\n var target = this.wizardSteps[this.currentStepIndex - 1];\r\n if (!target) return false;\r\n return this.canGoto(target);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public canGoto(step: WizardStep | number) {\r\n if (typeof step === \"number\") {\r\n step = this.wizardSteps[step];\r\n }\r\n if (step === undefined) return false;\r\n\r\n var actualtNextStep = this.nextValid(step);\r\n\r\n return step == actualtNextStep;\r\n }\r\n\r\n async stepClicked(step: WizardStep)\r\n {\r\n await this.actualCurrentStep.validate();\r\n setTimeout(() => this.goto(step), 10);\r\n }\r\n \r\n public goto(step: WizardStep | number) {\r\n if (typeof step === \"number\") {\r\n step = this.wizardSteps[step];\r\n }\r\n if (step === undefined) return;\r\n\r\n // get next valid step here based on validation rules etc\r\n step = this.nextValid(step);\r\n\r\n if (step == this.actualCurrentStep) return;\r\n\r\n if (!step.enabled) return;\r\n \r\n if (this.wizardSteps.indexOf(this.actualCurrentStep) < this.wizardSteps.indexOf(step)) {\r\n this.navigateDirection = 'forward';\r\n } else {\r\n this.navigateDirection = 'back';\r\n }\r\n\r\n (step as any).active = true;\r\n if (this.actualCurrentStep) (this.actualCurrentStep as any).active = false;\r\n this.actualCurrentStep = step;\r\n }\r\n\r\n private nextValid(step: WizardStep) {\r\n for (var i = Math.max(0, this.currentStepIndex); i < this.wizardSteps.length; i++) {\r\n var s = this.wizardSteps[i];\r\n if (!s.enabled) {\r\n continue;\r\n }\r\n\r\n if (s == step) {\r\n return s;\r\n }\r\n if (s.valid || s.canSkipInvalid) {\r\n continue;\r\n }\r\n if (!s.valid) {\r\n return s;\r\n }\r\n }\r\n return step;\r\n }\r\n}\r\n\r\n@customElement('wizard-step')\r\n@useView(PLATFORM.moduleName('./wizard-step.html'))\r\nexport class WizardStep {\r\n hasAttached: boolean;\r\n constructor(private bindingSignaler: BindingSignaler, private element : Element, private animator : Animator) { }\r\n\r\n @bindable stepTitle = '';\r\n @bindable icon = null;\r\n @bindable description = '';\r\n @bindable({ changeHandler: 'notify' }) valid = true;\r\n @bindable({ changeHandler: 'notify' }) enabled = true;\r\n @bindable({ changeHandler: 'notify' }) visited = false;\r\n @observable private active = false;\r\n @observable visible = false;\r\n @bindable canSkipInvalid = false;\r\n\r\n async activeChanged(n, o) {\r\n if (n == o) return;\r\n\r\n if (n) {\r\n if (!this.visible) {\r\n this.visible = this.active;\r\n if (this.hasAttached) await this.animator.enter(this.element as HTMLElement);\r\n }\r\n } else {\r\n if (this.visible) {\r\n if (this.hasAttached) await this.animator.leave(this.element as HTMLElement);\r\n this.visible = this.active;\r\n }\r\n }\r\n }\r\n\r\n init() {\r\n this.visible = false;\r\n }\r\n\r\n attached() {\r\n this.hasAttached = true;\r\n }\r\n\r\n notify() { this.bindingSignaler.signal('wizard-step-changed'); }\r\n\r\n public async validate() : Promise {\r\n const wizardContent: any = this.element.children[1];\r\n \r\n if (wizardContent.au && wizardContent.au.controller.viewModel) {\r\n return await validate(wizardContent.au.controller.viewModel);\r\n }\r\n\r\n return [];\r\n }\r\n}\r\n","import {FrameworkConfiguration, PLATFORM} from 'aurelia-framework';\r\n\r\nimport { ViewEngineHooks } from 'aurelia-templating';\r\nimport { ViewPorts } from '../../viewPort';\r\n\r\nexport class ViewPortEnumViewEngineHooks implements ViewEngineHooks {\r\n beforeBind(view) {\r\n view.overrideContext.Enums = view.overrideContext.Enums || {};\r\n view.overrideContext.Enums.ViewPorts = ViewPorts;\r\n }\r\n}\r\n","import {FrameworkConfiguration, PLATFORM} from 'aurelia-framework';\r\n\r\nexport function configure(config: FrameworkConfiguration) {\r\n config\r\n // controls\r\n .globalResources(PLATFORM.moduleName('./elements/input-password/control'))\r\n .globalResources(PLATFORM.moduleName('./elements/input-text/control'))\r\n .globalResources(PLATFORM.moduleName('./elements/input-textarea/control'))\r\n .globalResources(PLATFORM.moduleName('./elements/input-checkbox/input-checkbox'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-button/control'))\r\n .globalResources(PLATFORM.moduleName('./elements/ex-icon/control'))\r\n .globalResources(PLATFORM.moduleName('./elements/loader/control'))\r\n .globalResources(PLATFORM.moduleName('./body'))\r\n .globalResources(PLATFORM.moduleName('./elements/grid/grid'))\r\n .globalResources(PLATFORM.moduleName('./elements/wizard/wizard'))\r\n .globalResources(PLATFORM.moduleName('./behaviour/validate'))\r\n .globalResources(PLATFORM.moduleName('./elements/crisp-input-radio/crisp-input-radio'))\r\n .globalResources(PLATFORM.moduleName('./elements/crisp-picker/crisp-picker'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-text/form-input-text'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-radio/form-input-radio'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-multiple/form-input-multiple'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-bool/form-input-bool'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-date/form-input-date'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-address/form-input-address'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-file/form-input-file'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-telephone/form-input-telephone'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-country/form-input-country'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-contact/form-input-contact'))\r\n .globalResources(PLATFORM.moduleName('./elements/form-input-readonly/form-input-readonly'))\r\n .globalResources(PLATFORM.moduleName('./elements/help-text/help-text'))\r\n .globalResources(PLATFORM.moduleName('./elements/spinner/spinner'))\r\n \r\n // hooks\r\n .globalResources(PLATFORM.moduleName('./hooks/viewPortEnum'))\r\n\r\n // value converters\r\n .globalResources(PLATFORM.moduleName('./value-converters/date'))\r\n .globalResources(PLATFORM.moduleName('./value-converters/upper-case'))\r\n .globalResources(PLATFORM.moduleName('./value-converters/proper-case'))\r\n .globalResources(PLATFORM.moduleName('./value-converters/documentation-sort'))\r\n ;\r\n}\r\n","import * as moment from 'moment'\r\n\r\nexport class DateValueConverter {\r\n toView(value, format) {\r\n format = format || 'DD/MM/YYYY';\r\n return !!value ? moment(value).format(format) : '';\r\n }\r\n}","import { Evidence } from \"application/components/evidence-item\";\r\nimport { Contact } from \"resources/elements/form-input-contact/form-input-contact\";\r\n\r\nexport class DocumentationSortValueConverter {\r\n toView(evidence: Evidence[], additionalClaimants: Contact[]) {\r\n return evidence.slice(0).sort((a: Evidence, b: Evidence) => {\r\n const sortOrderA = this.evidenceSortOrder(a, additionalClaimants);\r\n const sortOrderB = this.evidenceSortOrder(b, additionalClaimants);\r\n return sortOrderA < sortOrderB ? -1 : sortOrderA > sortOrderB ? 1 : 0;\r\n });\r\n }\r\n\r\n evidenceSortOrder(evidence: Evidence, additionalClaimants: Contact[]) {\r\n switch (evidence.evidenceType) {\r\n case \"Proof of Name\":\r\n const i = additionalClaimants.findIndex(x => x.id === evidence.contactId);\r\n return i === -1 ? 0 : i + 2;\r\n case \"Proof of Address\":\r\n const ix = additionalClaimants.findIndex(x => x.id === evidence.contactId);\r\n return ix === -1 ? 1 : ix + 3;\r\n case \"Proof of Ownership of property\":\r\n return additionalClaimants.length + 4;\r\n case \"Copy of Pre-purchase Survey\":\r\n return additionalClaimants.length + 5;\r\n case \"Letter of Authority to act on behalf of the policyholder\":\r\n return additionalClaimants.length + 6;\r\n case \"Copy of the Signed Lease / Deed of Conditions / Tenancy Agreement\":\r\n return additionalClaimants.length + 7;\r\n case \"Details of the Service Charge Apportionment\":\r\n return additionalClaimants.length + 8;\r\n }\r\n\r\n return 99;\r\n }\r\n}\r\n","export class ProperCaseValueConverter {\r\n toView(value: string) {\r\n return !!value ? value.substr(0, 1).toUpperCase() + value.substr(1).toLowerCase() : '';\r\n }\r\n}\r\n","export class UpperCaseValueConverter {\r\n toView(value) {\r\n return !!value ? value.toUpperCase() : '';\r\n }\r\n\r\n fromView(value) {\r\n return value;\r\n }\r\n}\r\n"],"names":[],"sourceRoot":""}