@wra-gov/vue-components 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +1,340 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('body{font-family:Arial,Helvetica,Nimbus Sans L,sans-serif}p{font-size:18px;line-height:24px;margin-bottom:0}body p{margin-bottom:0}ul{padding-left:24px}li{font-size:18px;line-height:24px}blockquote{border-left:3px solid #e5e5e5;font-size:18px;line-height:24px;padding:5px 20px 5px 27px}a{color:#2a225b;font-weight:700}a:hover{color:#2a225b;text-decoration:none}a:focus-visible{color:#1f1f1f;background-color:#ffd530;box-shadow:0 -4px #ffd530,0 2px #1f1f1f;outline:2px solid transparent;text-decoration:none;-webkit-box-shadow:0 -4px #ffd530,0 2px #1f1f1f}.validation-tooltip[data-v-386ad06a]{color:#1f1f1f;border-radius:0;font-size:18px;padding:20px 16px 20px 24px}.wra-error[data-v-386ad06a]{background-color:#ffe4e5;border-left:3px solid #aa1111}.wra-success[data-v-386ad06a]{background-color:#cdf7d4;border-left:3px solid #019e1e}.wra-info[data-v-386ad06a]{background-color:#c2e0fc;border-left:3px solid #0360a6}.wra-warning[data-v-386ad06a]{background-color:#fff5ce;border-left:3px solid #ffd530}.checkbox-label[data-v-32449131]{background:#e5e5e5;padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-32449131]:hover{background:#b5b5b5}.checkbox-input[data-v-32449131]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:#1f1f1f;width:20px;height:20px;border:1px solid #1f1f1f;border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-32449131]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:#1f1f1f;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-32449131]:checked:before{transform:scale(1)}.checkbox-input[data-v-32449131]:focus{outline:2px solid #1f1f1f;background-color:#ffd530}.checkbox-input[data-v-32449131]:focus-visible{outline-offset:0px}.checkbox-text[data-v-32449131]{padding:0 0 0 10px;font-size:18px}.checkbox[data-v-035e0eca]:not(:last-child):not(:only-child){margin-bottom:8px}.checkbox-label[data-v-035e0eca]{background:#e5e5e5;padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-035e0eca]:hover{background:#b5b5b5}.checkbox-input[data-v-035e0eca]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:#1f1f1f;width:20px;height:20px;border:1px solid #1f1f1f;border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-035e0eca]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:#1f1f1f;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-035e0eca]:checked:before{transform:scale(1)}.checkbox-input[data-v-035e0eca]:focus{outline:2px solid #1f1f1f;background-color:#ffd530}.checkbox-input[data-v-035e0eca]:focus-visible{outline-offset:0px}.checkbox-text[data-v-035e0eca]{padding:0 0 0 10px;font-size:18px}.content-section-title[data-v-1d23d898]{border-bottom:2px solid #e5e5e5;border-top:10px solid #e5e5e5;padding-bottom:20px;padding-top:30px}.radio-label[data-v-20fce2e7]{background:#e5e5e5;padding:20px;min-height:24px;display:flex;cursor:pointer;display:grid;grid-template-columns:20px auto}.radio-label[data-v-20fce2e7]:hover{background:#b5b5b5}.radio-input[data-v-20fce2e7]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:#1f1f1f;width:20px;height:20px;border:1px solid #1f1f1f;border-radius:50%;transform:translateY(1px);display:grid;place-content:center}.radio-input[data-v-20fce2e7]:before{content:"";width:12px;height:12px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;background-color:#1f1f1f}.radio-input[data-v-20fce2e7]:checked:before{transform:scale(1)}.radio-input[data-v-20fce2e7]:focus{outline:2px solid #1f1f1f;background-color:#ffd530}.radio-input[data-v-20fce2e7]:focus-visible{outline-offset:0px}.radio-text[data-v-20fce2e7]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-20fce2e7]{font-size:14px}p[data-v-20fce2e7]{margin:0}.radio[data-v-5568c917]:not(:last-child):not(:only-child){margin-bottom:8px}*[data-v-b3b8a61e],*[data-v-b3b8a61e]:before,*[data-v-b3b8a61e]:after{box-sizing:border-box}select[data-v-b3b8a61e]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;margin:0;width:100%;font-family:inherit;font-size:inherit;cursor:inherit;line-height:inherit;outline:none;padding:16px}.select[data-v-b3b8a61e]{border:1px solid #1f1f1f;border-radius:0;padding-right:16px;font-size:16px;cursor:pointer;line-height:20px;background-color:#fff;display:grid;grid-template-areas:"select";align-items:center;position:relative}.select[data-v-b3b8a61e]:after{content:"";width:.8em;height:.5em;background-color:#1f1f1f;clip-path:polygon(100% 0%,0 0%,50% 100%);justify-self:end}select[data-v-b3b8a61e],.select[data-v-b3b8a61e]:after{grid-area:select}select:focus+.focus[data-v-b3b8a61e]{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border:2px solid #1f1f1f;outline:3px solid #ffd530;border-radius:inherit}label[data-v-b3b8a61e]{color:#1f1f1f;font-size:16px}.subheader[data-v-c5d10b79]{font-size:14px;letter-spacing:.08em;line-height:20px;text-transform:uppercase;font-weight:700;padding:0;height:unset}*[data-v-0f552efc],*[data-v-0f552efc]:before,*[data-v-0f552efc]:after{box-sizing:border-box}textarea[data-v-0f552efc]{font-size:16px;padding:10px 16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;width:100%}textarea[data-v-0f552efc]:focus{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}label[data-v-0f552efc]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-0f552efc]{margin-top:10px;padding:10px;background:#ffe4e5;color:#1f1f1f;font-size:16px;border-left:#aa1111 3px solid}div[data-v-2f692b7a]{font-weight:700}h1[data-v-2f692b7a]{margin:0;font-size:48px;letter-spacing:-.05rem;line-height:52px}h2[data-v-2f692b7a]{margin:0;font-size:36px;letter-spacing:-.04rem;line-height:40px}h3[data-v-2f692b7a]{margin:0;font-size:28px;letter-spacing:-.03rem;line-height:32px}h4[data-v-2f692b7a]{margin:0;font-size:24px;letter-spacing:-.03rem;line-height:28px}h5[data-v-2f692b7a]{margin:0;font-size:22px;letter-spacing:-.02rem;line-height:26px}h6[data-v-2f692b7a]{margin:0;font-size:18px;letter-spacing:-.01rem;line-height:24px}button[data-v-8ac59e1e]{background-color:#1f1f1f;color:#fff;font-weight:700;border:none;cursor:pointer}button[data-v-8ac59e1e]:hover{opacity:.8;transition:all .3s ease}button[data-v-8ac59e1e]:focus{color:#1f1f1f!important;background-color:#ffd530!important;outline:2px solid #1f1f1f;outline-offset:0px;border-color:#ffd530}button[data-v-8ac59e1e]:focus:hover{opacity:1}.wra-blue[data-v-8ac59e1e]{background-color:#0360a6}.wra-red[data-v-8ac59e1e]{background-color:#a11}.wra-green[data-v-8ac59e1e]{background-color:#019e1e}.wra-revenue[data-v-8ac59e1e]{background-color:#2a225b}.default-button[data-v-8ac59e1e]{font-size:20px;padding:15px 20px}.small-button[data-v-8ac59e1e]{font-size:14px;padding:5px 10px}.outlined-button[data-v-8ac59e1e]{background-color:transparent;outline:2px solid var(--color-prop, #1f1f1f);color:var(--color-prop, #1f1f1f)}.outlined-button[data-v-8ac59e1e]:hover{opacity:1;background-color:var(--color-prop, #1f1f1f);color:#fff;transition:all .3s ease}.icon[data-v-8ac59e1e]{content:" ";display:inline-block;border:solid currentColor;padding:4px;vertical-align:middle;transform:rotate(-135deg);-webkit-transform:rotate(-135deg);margin-bottom:3px}.back-icon[data-v-8ac59e1e]{border-width:3px 3px 0px 0px}.next-icon[data-v-8ac59e1e]{border-width:0px 0px 3px 3px}.prepend-icon-wrapper[data-v-8ac59e1e]{margin-right:15px}.append-icon-wrapper[data-v-8ac59e1e]{margin-left:15px}*[data-v-29411b9a],*[data-v-29411b9a]:before,*[data-v-29411b9a]:after{box-sizing:border-box}input[data-v-29411b9a]{font-size:18px;padding:16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;width:100%;height:59px}input[data-v-29411b9a]:focus{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}label[data-v-29411b9a]{color:#1f1f1f;font-size:16px;display:block;width:100%;margin-bottom:4px}div.error>p[data-v-29411b9a]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}*[data-v-a4427f3c],*[data-v-a4427f3c]:before,*[data-v-a4427f3c]:after{box-sizing:border-box}.input-wrapper[data-v-a4427f3c]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-a4427f3c]{padding:16px 0 16px 16px;font-size:18px;width:28px}.suffix[data-v-a4427f3c]{padding:16px 16px 16px 0;font-size:18px;z-index:1}.input-wrapper input[data-v-a4427f3c]{font-size:18px;background-color:transparent;line-height:20px;width:100%;height:59px;outline:none}.padding-for-prefix[data-v-a4427f3c]{padding:16px 6px}.padding-for-no-prefix[data-v-a4427f3c]{padding:16px}.input-wrapper[data-v-a4427f3c]:focus-within{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}input[data-v-a4427f3c]{border:none}label[data-v-a4427f3c]{color:#1f1f1f;font-size:16px;display:block;width:190px;margin-bottom:4px}div.error>p[data-v-a4427f3c]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}*[data-v-710257d0],*[data-v-710257d0]:before,*[data-v-710257d0]:after{box-sizing:border-box}.input-wrapper[data-v-710257d0]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-710257d0]{padding:16px 0 16px 16px;font-size:18px;width:28px}.suffix[data-v-710257d0]{padding:16px 16px 16px 0;font-size:18px;z-index:1}.input-wrapper input[data-v-710257d0]{font-size:18px;background-color:transparent;line-height:20px;width:100%;height:59px;outline:none}.padding-for-prefix[data-v-710257d0]{padding:16px 6px}.padding-for-no-prefix[data-v-710257d0]{padding:16px}.input-wrapper[data-v-710257d0]:focus-within{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}input[data-v-710257d0]{border:none}label[data-v-710257d0]{color:#1f1f1f;font-size:16px;display:block;width:190px;margin-bottom:4px}div.error>p[data-v-710257d0]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}*[data-v-de5da846],*[data-v-de5da846]:before,*[data-v-de5da846]:after{box-sizing:border-box}input[data-v-de5da846]{font-size:18px;padding:16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;height:59px;width:100%}input[data-v-de5da846]:focus{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}label[data-v-de5da846]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-de5da846]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}*[data-v-d365ea40],*[data-v-d365ea40]:before,*[data-v-d365ea40]:after{box-sizing:border-box;padding-block:0px;padding-inline:0px}.snackbar[data-v-d365ea40]{background:#e5e5e5;font-size:18px;padding:20px 16px 20px 24px;border-left:3px solid #a5a5a5;position:fixed;left:50%;transform:translate(-50%);bottom:16px;width:40%}.snackbar-flex[data-v-d365ea40]{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between;align-items:baseline;row-gap:10px;column-gap:20px}@media (max-width: 900px){.snackbar-flex[data-v-d365ea40]{width:80%}}.snackbar-content[data-v-d365ea40]{text-wrap:wrap}.close-icon-wrapper[data-v-d365ea40]{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:24px;height:24px;cursor:pointer}.close-icon-wrapper[data-v-d365ea40]:hover{opacity:.8;transition:opacity .3s ease}.close-icon-wrapper[data-v-d365ea40]:focus{background-color:#ffd530;outline:2px solid #1f1f1f;outline-offset:0px;border-color:#ffd530}.close-icon-wrapper[data-v-d365ea40]:focus:hover{opacity:1}.close-icon-line-one[data-v-d365ea40]{height:24px;width:4px;margin-left:10px;background-color:#000;transform:rotate(45deg)}.close-icon-line-two[data-v-d365ea40]{height:24px;width:4px;background-color:#000;transform:rotate(90deg)}.wra-error[data-v-d365ea40]{background-color:#ffe4e5;border-color:#a11}.wra-success[data-v-d365ea40]{background-color:#cdf7d4;border-color:#019e1e}.wra-info[data-v-d365ea40]{background-color:#c2e0fc;border-color:#0360a6}.wra-warning[data-v-d365ea40]{background-color:#fff5ce;border-color:#ffd530}.sr-only[data-v-d365ea40]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.snackbar-enter-active[data-v-d365ea40],.snackbar-leave-active[data-v-d365ea40]{transition:opacity .3s ease-out}.snackbar-enter-from[data-v-d365ea40],.snackbar-leave-to[data-v-d365ea40]{opacity:0}.panel-icon[data-v-6993ae29]{content:" ";display:inline-block;border:solid #1f1f1f;border-width:3px 3px 0px 0px;padding:4px;vertical-align:middle;transition:transform .2s ease-out}.icon-wrapper[data-v-6993ae29]{margin-left:8px}.show-panel-icon[data-v-6993ae29]{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);margin-top:3px}.hide-panel-icon[data-v-6993ae29]{transform:rotate(135deg);-webkit-transform:rotate(135deg);margin-top:-5px}button[data-v-6993ae29]{font-size:18px;font-weight:700;padding:15px 20px;background-color:transparent;color:#2a225b;border:none;border-left:2px solid #b5b5b5;cursor:pointer;width:100%;text-align:left}button[data-v-6993ae29]:hover{opacity:.8}button[data-v-6993ae29]:focus{color:#1f1f1f!important;background-color:#ffd530!important;outline:2px solid #1f1f1f;outline-offset:-2px;border-color:#ffd530}button[data-v-6993ae29]:focus:hover{opacity:1}.panel-content[data-v-6993ae29]{display:grid;border-left:2px solid #b5b5b5;background:transparent;padding:15px 20px;grid-template-rows:1fr}.inner-panel[data-v-6993ae29]{overflow:hidden}.slide-fade-enter-active[data-v-6993ae29],.slide-fade-leave-active[data-v-6993ae29]{transition:grid-template-rows .3s ease-out}.slide-fade-enter-from[data-v-6993ae29],.slide-fade-leave-to[data-v-6993ae29]{grid-template-rows:0fr}*[data-v-19bb5a16]{box-sizing:border-box;border:none}.tab-button[data-v-19bb5a16]{border-top:6px #0360a6 solid;font-size:24px;font-weight:700;color:#c2e0fc;background:#1f446d;padding:20px;margin-left:15px;margin-top:40px;cursor:pointer}.tab-button[data-v-19bb5a16]:hover:not(.tab-button--active){background:#3b7dc5;color:#fff}.tab-button.tab-button--active[data-v-19bb5a16]:focus{border-color:#1f1f1f;box-shadow:2px 0 #1f1f1f inset,-2px -2px #1f1f1f inset}.tab-button--active[data-v-19bb5a16]{background:#fff;color:#1f1f1f;border-top:6px #b5b5b5 solid}.tab-button[data-v-19bb5a16]:focus{border-top:6px #0360a6 solid;color:#1f1f1f;background:#ffd530;box-shadow:2px 2px #1f1f1f inset,-2px -2px #1f1f1f inset;outline-style:none}@media (max-width: 768px){.tab-button[data-v-19bb5a16]{margin-left:10px;margin-top:20px;font-size:20px;padding:15px}}.tabs[data-v-bbf8594b]{background-color:#0360a6;width:100%}*[data-v-09473a78],*[data-v-09473a78]:before,*[data-v-09473a78]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-banner[data-v-09473a78]{background-color:#f1f1f1;font-size:18px;color:#1f1f1f;padding:20px;border:none}.new-service[data-v-09473a78]{background-color:#ffd530}.new-service[data-v-09473a78] a{color:#1f1f1f}.new-service[data-v-09473a78] a:focus{color:#fff;background-color:#1f1f1f;box-shadow:0 -4px #1f1f1f,0 2px #fff;-webkit-box-shadow:0 -4px #1f1f1f,0 2px #ffffff}.wra-banner-actions[data-v-09473a78]{padding-top:16px;display:flex;row-gap:10px;column-gap:14px;flex-wrap:wrap}@media print{.hidden-print[data-v-09473a78]{display:none}}hr[data-v-5554eece]{margin:0}.wra-divider[data-v-5554eece]{border:3px solid #e5e5e5}.wra-divider-large[data-v-5554eece]{border:4px solid #e5e5e5}.wra-divider-small[data-v-5554eece]{border:2px solid #e5e5e5}*[data-v-99803a33],*[data-v-99803a33]:before,*[data-v-99803a33]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px;padding-inline-start:0px}.wra-breadcrumbs[data-v-99803a33]{display:flex;flex-direction:row;list-style:none}.wra-breadcrumbs-item[data-v-99803a33]{font-size:16px}.wra-breadcrumbs-item[data-v-99803a33]:not(:last-of-type){margin-right:10px}.wra-breadcrumbs-divider[data-v-99803a33]{display:flex;align-items:center;justify-content:center;margin-right:10px;color:#666}.wra-breadcrumbs-link--disabled[data-v-99803a33]{color:#666}.wra-breadcrumbs-link[data-v-99803a33]{text-decoration:none;font-weight:700;color:#2a225b}.wra-breadcrumbs-link[data-v-99803a33]:hover{opacity:.8}.wra-breadcrumbs-link[data-v-99803a33]:focus{opacity:1;color:#1f1f1f}.wra-breadcrumbs-chevron[data-v-99803a33]{content:" ";display:inline-block;border:solid #666666;border-width:3px 3px 0px 0px;padding:3px;vertical-align:middle;transform:rotate(45deg);-webkit-transform:rotate(45deg)}*[data-v-7085f41c],*[data-v-7085f41c]:before,*[data-v-7085f41c]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.autocomplete-input[data-v-7085f41c]{font-size:18px;padding:16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;width:100%}.autocomplete-input[data-v-7085f41c]:disabled{opacity:.3}.autocomplete-input--focus[data-v-7085f41c]{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}.autocomplete-label[data-v-7085f41c]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}.autocomplete-list[data-v-7085f41c]{position:absolute;display:block;list-style-type:none;z-index:1;padding:0;border:1px solid #1f1f1f;border-top:0px;width:100%;max-height:200px;background:#f1f1f1;overflow-y:auto}.autocomplete-list>li[data-v-7085f41c]{padding:2px 16px;border-bottom:1px solid #1f1f1f;cursor:pointer}.autocomplete-list>li[data-v-7085f41c]:last-child{border-bottom:0px}.autocomplete-list>li[data-v-7085f41c]:nth-child(2n){background:#fff}ul.autocomplete-list>li[data-v-7085f41c]:hover,ul.autocomplete-list>li.autocomplete-item--focus[data-v-7085f41c]{background:#3b7dc5;color:#fff}.autocomplete-item-not-clickable[data-v-7085f41c]{cursor:not-allowed}.autocomplete[data-v-7085f41c]{position:relative}.left-align-headers{text-align:left}.wra-table-caption{background-color:inherit;text-align:left;padding:16px;font-weight:700;font-size:20px}.wra-table{width:100%;line-height:20px;background-color:#f1f1f1;color:#1f1f1f;border-spacing:0;padding:0 16px}.wra-table-inherit{background-color:inherit}.wra-table>thead>tr>th{border-bottom:2px solid #666666}.wra-table>tbody>tr:not(:last-child)>td,.wra-table>tbody>tr:not(:last-child)>th{border-bottom:1px solid #666666}.wra-table td,.wra-table th{padding:16px}.service-logo[data-v-0ba072f4]{max-width:100%}.service-link[data-v-0ba072f4]{border:transparent solid 2px;outline:transparent solid 2px;display:block;padding:2px;line-height:.8;outline-offset:0}.service-link[data-v-0ba072f4]:focus{border:#ffd530 solid 2px;outline:#1f1f1f solid 2px;background:transparent;box-shadow:none;-webkit-box-shadow:none}.wra-footer[data-v-182e61db]{flex-grow:0;background-color:#f1f1f1;padding:70px 20px 50px}@media print{.hidden-print[data-v-182e61db]{display:none}}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { openBlock as o, createElementBlock as l, normalizeClass as _, renderSlot as k, createElementVNode as u, toDisplayString as h, Fragment as V, renderList as x, createCommentVNode as b, resolveComponent as H, createBlock as F, pushScopeId as A, popScopeId as P, normalizeStyle as z, resolveDirective as C, withDirectives as I, Transition as U, withCtx as G, createTextVNode as D, withKeys as g, createVNode as ae, withModifiers as $, vModelText as se, vShow as ie } from "vue";
3
- const c = (t, a) => {
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('body{font-family:Arial,Helvetica,Nimbus Sans L,sans-serif}p{font-size:18px;line-height:24px;margin-bottom:0}body p{margin-bottom:0}ul{padding-left:24px}li{font-size:18px;line-height:24px}blockquote{border-left:3px solid #e5e5e5;font-size:18px;line-height:24px;padding:5px 20px 5px 27px}a{color:#2a225b;font-weight:700}a:hover{color:#2a225b;text-decoration:none}a:focus-visible{color:#1f1f1f;background-color:#ffd530;box-shadow:0 -4px #ffd530,0 2px #1f1f1f;outline:2px solid transparent;text-decoration:none;-webkit-box-shadow:0 -4px #ffd530,0 2px #1f1f1f}*[data-v-dbbbd450],*[data-v-dbbbd450]:before,*[data-v-dbbbd450]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-app-bar[data-v-dbbbd450]{background-color:#323232;font-size:18px;color:#fff;padding:20px;border:none;height:75px}@media print{.hidden-print[data-v-dbbbd450]{display:none}}*[data-v-ea1f573c],*[data-v-ea1f573c]:before,*[data-v-ea1f573c]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.autocomplete-input[data-v-ea1f573c]{font-size:18px;padding:16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;width:100%}.autocomplete-input[data-v-ea1f573c]:disabled{opacity:.3}.autocomplete-input--focus[data-v-ea1f573c]{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}.autocomplete-label[data-v-ea1f573c]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}.autocomplete-list[data-v-ea1f573c]{position:absolute;display:block;list-style-type:none;z-index:1;padding:0;border:1px solid #1f1f1f;border-top:0px;width:100%;max-height:200px;background:#f1f1f1;overflow-y:auto}.autocomplete-list>li[data-v-ea1f573c]{padding:2px 16px;border-bottom:1px solid #1f1f1f;cursor:pointer}.autocomplete-list>li[data-v-ea1f573c]:last-child{border-bottom:0px}.autocomplete-list>li[data-v-ea1f573c]:nth-child(2n){background:#fff}ul.autocomplete-list>li[data-v-ea1f573c]:hover,ul.autocomplete-list>li.autocomplete-item--focus[data-v-ea1f573c]{background:#3b7dc5;color:#fff}.autocomplete-item-not-clickable[data-v-ea1f573c]{cursor:not-allowed}.autocomplete[data-v-ea1f573c]{position:relative}*[data-v-09473a78],*[data-v-09473a78]:before,*[data-v-09473a78]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-banner[data-v-09473a78]{background-color:#f1f1f1;font-size:18px;color:#1f1f1f;padding:20px;border:none}.new-service[data-v-09473a78]{background-color:#ffd530}.new-service[data-v-09473a78] a{color:#1f1f1f}.new-service[data-v-09473a78] a:focus{color:#fff;background-color:#1f1f1f;box-shadow:0 -4px #1f1f1f,0 2px #fff;-webkit-box-shadow:0 -4px #1f1f1f,0 2px #ffffff}.wra-banner-actions[data-v-09473a78]{padding-top:16px;display:flex;row-gap:10px;column-gap:14px;flex-wrap:wrap}@media print{.hidden-print[data-v-09473a78]{display:none}}*[data-v-99803a33],*[data-v-99803a33]:before,*[data-v-99803a33]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px;padding-inline-start:0px}.wra-breadcrumbs[data-v-99803a33]{display:flex;flex-direction:row;list-style:none}.wra-breadcrumbs-item[data-v-99803a33]{font-size:16px}.wra-breadcrumbs-item[data-v-99803a33]:not(:last-of-type){margin-right:10px}.wra-breadcrumbs-divider[data-v-99803a33]{display:flex;align-items:center;justify-content:center;margin-right:10px;color:#666}.wra-breadcrumbs-link--disabled[data-v-99803a33]{color:#666}.wra-breadcrumbs-link[data-v-99803a33]{text-decoration:none;font-weight:700;color:#2a225b}.wra-breadcrumbs-link[data-v-99803a33]:hover{opacity:.8}.wra-breadcrumbs-link[data-v-99803a33]:focus{opacity:1;color:#1f1f1f}.wra-breadcrumbs-chevron[data-v-99803a33]{content:" ";display:inline-block;border:solid #666666;border-width:3px 3px 0px 0px;padding:3px;vertical-align:middle;transform:rotate(45deg);-webkit-transform:rotate(45deg)}button[data-v-bf478d25]{background-color:#1f1f1f;color:#fff;font-weight:700;border:none;cursor:pointer}button[data-v-bf478d25]:hover{opacity:.8;transition:all .3s ease}button[data-v-bf478d25]:focus{color:#1f1f1f!important;background-color:#ffd530!important;outline:2px solid #1f1f1f;outline-offset:0px;border-color:#ffd530}button[data-v-bf478d25]:focus:hover{opacity:1}.wra-blue[data-v-bf478d25]{background-color:#0360a6}.wra-red[data-v-bf478d25]{background-color:#a11}.wra-green[data-v-bf478d25]{background-color:#019e1e}.wra-revenue[data-v-bf478d25]{background-color:#2a225b}.wra-white[data-v-bf478d25]{background-color:#fff;color:#1f1f1f;outline:2px solid #1f1f1f}.default-button[data-v-bf478d25]{font-size:20px;padding:15px 20px}.small-button[data-v-bf478d25]{font-size:14px;padding:5px 10px}.outlined-button[data-v-bf478d25]{background-color:transparent;outline:2px solid var(--color-prop, #1f1f1f);color:var(--color-prop, #1f1f1f)}.outlined-button[data-v-bf478d25]:hover{opacity:1;background-color:var(--color-prop, #1f1f1f);color:#fff;transition:all .3s ease}.icon[data-v-bf478d25]{content:" ";display:inline-block;border:solid currentColor;padding:4px;vertical-align:middle;transform:rotate(-135deg);-webkit-transform:rotate(-135deg);margin-bottom:3px}.back-icon[data-v-bf478d25]{border-width:3px 3px 0px 0px}.next-icon[data-v-bf478d25]{border-width:0px 0px 3px 3px}.prepend-icon-wrapper[data-v-bf478d25]{margin-right:15px}.append-icon-wrapper[data-v-bf478d25]{margin-left:15px}.checkbox-label[data-v-32449131]{background:#e5e5e5;padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-32449131]:hover{background:#b5b5b5}.checkbox-input[data-v-32449131]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:#1f1f1f;width:20px;height:20px;border:1px solid #1f1f1f;border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-32449131]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:#1f1f1f;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-32449131]:checked:before{transform:scale(1)}.checkbox-input[data-v-32449131]:focus{outline:2px solid #1f1f1f;background-color:#ffd530}.checkbox-input[data-v-32449131]:focus-visible{outline-offset:0px}.checkbox-text[data-v-32449131]{padding:0 0 0 10px;font-size:18px}.checkbox[data-v-035e0eca]:not(:last-child):not(:only-child){margin-bottom:8px}.checkbox-label[data-v-035e0eca]{background:#e5e5e5;padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-035e0eca]:hover{background:#b5b5b5}.checkbox-input[data-v-035e0eca]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:#1f1f1f;width:20px;height:20px;border:1px solid #1f1f1f;border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-035e0eca]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:#1f1f1f;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-035e0eca]:checked:before{transform:scale(1)}.checkbox-input[data-v-035e0eca]:focus{outline:2px solid #1f1f1f;background-color:#ffd530}.checkbox-input[data-v-035e0eca]:focus-visible{outline-offset:0px}.checkbox-text[data-v-035e0eca]{padding:0 0 0 10px;font-size:18px}.content-section-title[data-v-1d23d898]{border-bottom:2px solid #e5e5e5;border-top:10px solid #e5e5e5;padding-bottom:20px;padding-top:30px}*[data-v-32c79a39],*[data-v-32c79a39]:before,*[data-v-32c79a39]:after{box-sizing:border-box}.input-wrapper[data-v-32c79a39]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-32c79a39]{padding:16px 0 16px 16px;font-size:18px;width:28px}.suffix[data-v-32c79a39]{padding:16px 16px 16px 0;font-size:18px;z-index:1}.input-wrapper input[data-v-32c79a39]{font-size:18px;background-color:transparent;line-height:20px;width:100%;height:59px;outline:none}.padding-for-prefix[data-v-32c79a39]{padding:16px 6px}.padding-for-no-prefix[data-v-32c79a39]{padding:16px}.input-wrapper[data-v-32c79a39]:focus-within{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}input[data-v-32c79a39]{border:none}label[data-v-32c79a39]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-32c79a39]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}*[data-v-28c82c54],*[data-v-28c82c54]:before,*[data-v-28c82c54]:after{box-sizing:border-box}input[data-v-28c82c54]{font-size:18px;padding:16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;width:100%;height:59px}input[data-v-28c82c54]:focus{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}label[data-v-28c82c54]{color:#1f1f1f;font-size:16px;display:block;width:100%;margin-bottom:4px}div.error>p[data-v-28c82c54]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}hr[data-v-5554eece]{margin:0}.wra-divider[data-v-5554eece]{border:3px solid #e5e5e5}.wra-divider-large[data-v-5554eece]{border:4px solid #e5e5e5}.wra-divider-small[data-v-5554eece]{border:2px solid #e5e5e5}.panel-icon[data-v-6993ae29]{content:" ";display:inline-block;border:solid #1f1f1f;border-width:3px 3px 0px 0px;padding:4px;vertical-align:middle;transition:transform .2s ease-out}.icon-wrapper[data-v-6993ae29]{margin-left:8px}.show-panel-icon[data-v-6993ae29]{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);margin-top:3px}.hide-panel-icon[data-v-6993ae29]{transform:rotate(135deg);-webkit-transform:rotate(135deg);margin-top:-5px}button[data-v-6993ae29]{font-size:18px;font-weight:700;padding:15px 20px;background-color:transparent;color:#2a225b;border:none;border-left:2px solid #b5b5b5;cursor:pointer;width:100%;text-align:left}button[data-v-6993ae29]:hover{opacity:.8}button[data-v-6993ae29]:focus{color:#1f1f1f!important;background-color:#ffd530!important;outline:2px solid #1f1f1f;outline-offset:-2px;border-color:#ffd530}button[data-v-6993ae29]:focus:hover{opacity:1}.panel-content[data-v-6993ae29]{display:grid;border-left:2px solid #b5b5b5;background:transparent;padding:15px 20px;grid-template-rows:1fr}.inner-panel[data-v-6993ae29]{overflow:hidden}.slide-fade-enter-active[data-v-6993ae29],.slide-fade-leave-active[data-v-6993ae29]{transition:grid-template-rows .3s ease-out}.slide-fade-enter-from[data-v-6993ae29],.slide-fade-leave-to[data-v-6993ae29]{grid-template-rows:0fr}.wra-footer[data-v-182e61db]{flex-grow:0;background-color:#f1f1f1;padding:70px 20px 50px}@media print{.hidden-print[data-v-182e61db]{display:none}}div[data-v-2f692b7a]{font-weight:700}h1[data-v-2f692b7a]{margin:0;font-size:48px;letter-spacing:-.05rem;line-height:52px}h2[data-v-2f692b7a]{margin:0;font-size:36px;letter-spacing:-.04rem;line-height:40px}h3[data-v-2f692b7a]{margin:0;font-size:28px;letter-spacing:-.03rem;line-height:32px}h4[data-v-2f692b7a]{margin:0;font-size:24px;letter-spacing:-.03rem;line-height:28px}h5[data-v-2f692b7a]{margin:0;font-size:22px;letter-spacing:-.02rem;line-height:26px}h6[data-v-2f692b7a]{margin:0;font-size:18px;letter-spacing:-.01rem;line-height:24px}*[data-v-0bf6c71c],*[data-v-0bf6c71c]:before,*[data-v-0bf6c71c]:after{box-sizing:border-box}.input-wrapper[data-v-0bf6c71c]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-0bf6c71c]{padding:16px 0 16px 16px;font-size:18px;width:28px}.suffix[data-v-0bf6c71c]{padding:16px 16px 16px 0;font-size:18px;z-index:1}.input-wrapper input[data-v-0bf6c71c]{font-size:18px;background-color:transparent;line-height:20px;width:100%;height:59px;outline:none}.padding-for-prefix[data-v-0bf6c71c]{padding:16px 6px}.padding-for-no-prefix[data-v-0bf6c71c]{padding:16px}.input-wrapper[data-v-0bf6c71c]:focus-within{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}input[data-v-0bf6c71c]{border:none}label[data-v-0bf6c71c]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-0bf6c71c]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}*[data-v-4b9c8bb8],*[data-v-4b9c8bb8]:before,*[data-v-4b9c8bb8]:after{box-sizing:border-box}.input-wrapper[data-v-4b9c8bb8]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-4b9c8bb8]{padding:16px 0 16px 16px;font-size:18px;width:28px}.suffix[data-v-4b9c8bb8]{padding:16px 16px 16px 0;font-size:18px;z-index:1}.input-wrapper input[data-v-4b9c8bb8]{font-size:18px;background-color:transparent;line-height:20px;width:100%;height:59px;outline:none}.padding-for-prefix[data-v-4b9c8bb8]{padding:16px 6px}.padding-for-no-prefix[data-v-4b9c8bb8]{padding:16px}.input-wrapper[data-v-4b9c8bb8]:focus-within{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}input[data-v-4b9c8bb8]{border:none}label[data-v-4b9c8bb8]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-4b9c8bb8]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}.radio-label[data-v-20fce2e7]{background:#e5e5e5;padding:20px;min-height:24px;display:flex;cursor:pointer;display:grid;grid-template-columns:20px auto}.radio-label[data-v-20fce2e7]:hover{background:#b5b5b5}.radio-input[data-v-20fce2e7]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:#1f1f1f;width:20px;height:20px;border:1px solid #1f1f1f;border-radius:50%;transform:translateY(1px);display:grid;place-content:center}.radio-input[data-v-20fce2e7]:before{content:"";width:12px;height:12px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;background-color:#1f1f1f}.radio-input[data-v-20fce2e7]:checked:before{transform:scale(1)}.radio-input[data-v-20fce2e7]:focus{outline:2px solid #1f1f1f;background-color:#ffd530}.radio-input[data-v-20fce2e7]:focus-visible{outline-offset:0px}.radio-text[data-v-20fce2e7]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-20fce2e7]{font-size:14px}p[data-v-20fce2e7]{margin:0}.radio[data-v-5568c917]:not(:last-child):not(:only-child){margin-bottom:8px}*[data-v-b3b8a61e],*[data-v-b3b8a61e]:before,*[data-v-b3b8a61e]:after{box-sizing:border-box}select[data-v-b3b8a61e]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;margin:0;width:100%;font-family:inherit;font-size:inherit;cursor:inherit;line-height:inherit;outline:none;padding:16px}.select[data-v-b3b8a61e]{border:1px solid #1f1f1f;border-radius:0;padding-right:16px;font-size:16px;cursor:pointer;line-height:20px;background-color:#fff;display:grid;grid-template-areas:"select";align-items:center;position:relative}.select[data-v-b3b8a61e]:after{content:"";width:.8em;height:.5em;background-color:#1f1f1f;clip-path:polygon(100% 0%,0 0%,50% 100%);justify-self:end}select[data-v-b3b8a61e],.select[data-v-b3b8a61e]:after{grid-area:select}select:focus+.focus[data-v-b3b8a61e]{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border:2px solid #1f1f1f;outline:3px solid #ffd530;border-radius:inherit}label[data-v-b3b8a61e]{color:#1f1f1f;font-size:16px}.service-logo[data-v-0ba072f4]{max-width:100%}.service-link[data-v-0ba072f4]{border:transparent solid 2px;outline:transparent solid 2px;display:block;padding:2px;line-height:.8;outline-offset:0}.service-link[data-v-0ba072f4]:focus{border:#ffd530 solid 2px;outline:#1f1f1f solid 2px;background:transparent;box-shadow:none;-webkit-box-shadow:none}.wra-table{width:100%;line-height:20px;background-color:#f1f1f1;color:#1f1f1f;border-spacing:0;padding:0 16px}*[data-v-d365ea40],*[data-v-d365ea40]:before,*[data-v-d365ea40]:after{box-sizing:border-box;padding-block:0px;padding-inline:0px}.snackbar[data-v-d365ea40]{background:#e5e5e5;font-size:18px;padding:20px 16px 20px 24px;border-left:3px solid #a5a5a5;position:fixed;left:50%;transform:translate(-50%);bottom:16px;width:40%}.snackbar-flex[data-v-d365ea40]{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between;align-items:baseline;row-gap:10px;column-gap:20px}@media (max-width: 900px){.snackbar-flex[data-v-d365ea40]{width:80%}}.snackbar-content[data-v-d365ea40]{text-wrap:wrap}.close-icon-wrapper[data-v-d365ea40]{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:24px;height:24px;cursor:pointer}.close-icon-wrapper[data-v-d365ea40]:hover{opacity:.8;transition:opacity .3s ease}.close-icon-wrapper[data-v-d365ea40]:focus{background-color:#ffd530;outline:2px solid #1f1f1f;outline-offset:0px;border-color:#ffd530}.close-icon-wrapper[data-v-d365ea40]:focus:hover{opacity:1}.close-icon-line-one[data-v-d365ea40]{height:24px;width:4px;margin-left:10px;background-color:#000;transform:rotate(45deg)}.close-icon-line-two[data-v-d365ea40]{height:24px;width:4px;background-color:#000;transform:rotate(90deg)}.wra-error[data-v-d365ea40]{background-color:#ffe4e5;border-color:#a11}.wra-success[data-v-d365ea40]{background-color:#cdf7d4;border-color:#019e1e}.wra-info[data-v-d365ea40]{background-color:#c2e0fc;border-color:#0360a6}.wra-warning[data-v-d365ea40]{background-color:#fff5ce;border-color:#ffd530}.sr-only[data-v-d365ea40]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.snackbar-enter-active[data-v-d365ea40],.snackbar-leave-active[data-v-d365ea40]{transition:opacity .3s ease-out}.snackbar-enter-from[data-v-d365ea40],.snackbar-leave-to[data-v-d365ea40]{opacity:0}.subheader[data-v-c5d10b79]{font-size:14px;letter-spacing:.08em;line-height:20px;text-transform:uppercase;font-weight:700;padding:0;height:unset}@media screen and (min-width: 600px){#regular{display:table}#pivoted{display:none}}@media screen and (max-width: 599px){#regular{display:none}#pivoted{display:table}}@media print{#regular{display:table}#pivoted{display:none}}.left-align-headers{text-align:left}.wra-table-caption{background-color:inherit;text-align:left;padding:16px;font-weight:700;font-size:20px}.wra-table{width:100%;line-height:20px;background-color:#f1f1f1;color:#1f1f1f;border-spacing:0;padding:0 16px;table-layout:fixed}.wra-table td,.wra-table th{word-break:break-word}.wra-table-inherit{background-color:inherit}.wra-table>thead>tr>th{border-bottom:2px solid #666666}.wra-table>tbody>tr:not(:last-child)>td,.wra-table>tbody>tr:not(:last-child)>th{border-bottom:1px solid #666666}.wra-table td,.wra-table th{padding:16px}#pivoted{text-align:left}#pivoted>tbody>tr:last-child>td,#pivoted>tbody>tr:last-child>th{border-bottom:1px solid #666666}#pivoted>tbody>tr:not(:last-child)>td,#pivoted>tbody>tr:not(:last-child)>th{border-bottom:none}#pivoted>tbody:last-child>tr:last-child>td,#pivoted>tbody:last-child>tr:last-child>th{border-bottom:none}#pivoted table{width:100%}#pivoted>table>tr>th,#pivoted>table>tr>td{width:50%}*[data-v-19bb5a16]{box-sizing:border-box;border:none}.tab-button[data-v-19bb5a16]{border-top:6px #0360a6 solid;font-size:24px;font-weight:700;color:#c2e0fc;background:#1f446d;padding:20px;margin-left:15px;margin-top:40px;cursor:pointer}.tab-button[data-v-19bb5a16]:hover:not(.tab-button--active){background:#3b7dc5;color:#fff}.tab-button.tab-button--active[data-v-19bb5a16]:focus{border-color:#1f1f1f;box-shadow:2px 0 #1f1f1f inset,-2px -2px #1f1f1f inset}.tab-button--active[data-v-19bb5a16]{background:#fff;color:#1f1f1f;border-top:6px #b5b5b5 solid}.tab-button[data-v-19bb5a16]:focus{border-top:6px #0360a6 solid;color:#1f1f1f;background:#ffd530;box-shadow:2px 2px #1f1f1f inset,-2px -2px #1f1f1f inset;outline-style:none}@media (max-width: 768px){.tab-button[data-v-19bb5a16]{margin-left:10px;margin-top:20px;font-size:20px;padding:15px}}.tabs[data-v-bbf8594b]{background-color:#0360a6;width:100%}*[data-v-5633552a],*[data-v-5633552a]:before,*[data-v-5633552a]:after{box-sizing:border-box}textarea[data-v-5633552a]{font-size:16px;padding:10px 16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;width:100%}textarea[data-v-5633552a]:focus{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}label[data-v-5633552a]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-5633552a]{margin-top:10px;padding:10px;background:#ffe4e5;color:#1f1f1f;font-size:16px;border-left:#aa1111 3px solid}*[data-v-274d2c94],*[data-v-274d2c94]:before,*[data-v-274d2c94]:after{box-sizing:border-box}input[data-v-274d2c94]{font-size:18px;padding:16px;background-color:#fff;border:1px solid #1f1f1f;line-height:20px;display:block;height:59px;width:100%}input[data-v-274d2c94]:focus{border-color:#1f1f1f;outline:1px solid #1f1f1f;-webkit-box-shadow:0 0 0 3px #ffd530;-moz-box-shadow:0 0 0 3px #ffd530;box-shadow:0 0 0 3px #ffd530}label[data-v-274d2c94]{color:#1f1f1f;font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-274d2c94]{margin-top:10px;padding:10px;background:#ffe4e5;color:#a11;font-size:16px;border-left:#aa1111 3px solid}.validation-tooltip[data-v-386ad06a]{color:#1f1f1f;border-radius:0;font-size:18px;padding:20px 16px 20px 24px}.wra-error[data-v-386ad06a]{background-color:#ffe4e5;border-left:3px solid #aa1111}.wra-success[data-v-386ad06a]{background-color:#cdf7d4;border-left:3px solid #019e1e}.wra-info[data-v-386ad06a]{background-color:#c2e0fc;border-left:3px solid #0360a6}.wra-warning[data-v-386ad06a]{background-color:#fff5ce;border-left:3px solid #ffd530}')),document.head.appendChild(a)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
+ import { openBlock as n, createElementBlock as l, normalizeClass as m, renderSlot as b, toDisplayString as c, createCommentVNode as h, withDirectives as I, createElementVNode as d, withKeys as v, withModifiers as x, vModelText as te, Fragment as g, renderList as y, vShow as ae, pushScopeId as P, popScopeId as F, resolveDirective as C, normalizeStyle as K, createTextVNode as O, createVNode as se, Transition as z, withCtx as U, resolveComponent as G, createBlock as D } from "vue";
3
+ const f = (t, a) => {
4
4
  const e = t.__vccOpts || t;
5
5
  for (const [s, r] of a)
6
6
  e[s] = r;
7
7
  return e;
8
- }, re = {
9
- name: "wra-validation-tooltip",
8
+ }, ie = {
9
+ name: "wra-app-bar",
10
10
  props: {
11
- type: {
11
+ hiddenPrint: {
12
+ type: Boolean,
13
+ default: !1
14
+ }
15
+ }
16
+ };
17
+ function re(t, a, e, s, r, i) {
18
+ return n(), l("div", {
19
+ class: m(["wra-app-bar", {
20
+ "hidden-print": e.hiddenPrint === !0
21
+ }])
22
+ }, [
23
+ b(t.$slots, "default", {}, void 0, !0)
24
+ ], 2);
25
+ }
26
+ const ne = /* @__PURE__ */ f(ie, [["render", re], ["__scopeId", "data-v-dbbbd450"]]), le = {
27
+ name: "wra-autocomplete",
28
+ emits: ["update:modelValue"],
29
+ props: {
30
+ modelValue: {
31
+ type: Object
32
+ },
33
+ /** Label for autocomplete */
34
+ label: {
35
+ type: String
36
+ },
37
+ /** Input's ID tag */
38
+ id: {
39
+ type: String
40
+ },
41
+ /** Options for autocomplete list */
42
+ options: {
43
+ type: Object,
44
+ required: !0
45
+ },
46
+ /** Change the default object name in options for the data */
47
+ optionValue: {
48
+ type: String,
49
+ default: "value"
50
+ },
51
+ /** Change the default object name in options for the displayed value */
52
+ optionLabel: {
12
53
  type: String,
54
+ default: "label"
55
+ },
56
+ /** Mininum number of characters before the list appears */
57
+ minLength: {
58
+ type: Number,
59
+ default: 1
60
+ },
61
+ /** If list should automatically expand when input is focused */
62
+ autoExpand: {
63
+ type: Boolean,
64
+ default: !1
65
+ }
66
+ },
67
+ data: () => ({
68
+ userInput: {},
69
+ hasFocus: !1,
70
+ listHasFocus: !1,
71
+ optionIndex: null
72
+ }),
73
+ methods: {
74
+ onInputTyping() {
75
+ this.optionIndex = null, this.userInput[this.optionValue] = this.getInputValue, this.$emit("update:modelValue", this.userInput);
76
+ },
77
+ onOptionSelect(t) {
78
+ (t == null ? void 0 : t.clickable) !== !1 && (this.userInput = t, this.userInput = Object.assign({}, t), this.$emit("update:modelValue", this.userInput));
79
+ },
80
+ onBlur() {
81
+ this.listHasFocus === !1 && (this.hasFocus = !1);
82
+ },
83
+ onOptionBlur(t) {
84
+ t === this.optionIndex && (this.hasFocus = !1, this.listHasFocus = !1);
85
+ },
86
+ onUpKey() {
87
+ if (!(this.optionsHasMatches === !1 || this.showOptions === !1)) {
88
+ if (this.optionIndex === 0)
89
+ this.optionIndex = null, this.listHasFocus = !1, this.$refs.autocompleteInput.focus();
90
+ else if (this.optionIndex > 0) {
91
+ this.optionIndex--, this.listHasFocus = !0;
92
+ const t = `option${this.optionIndex}`;
93
+ this.$refs[t][0].focus();
94
+ }
95
+ }
96
+ },
97
+ onDownKey() {
98
+ if (this.optionsHasMatches === !1 || this.showOptions === !1)
99
+ return;
100
+ this.optionIndex === null ? this.optionIndex = 0 : this.optionIndex < this.filterOptions.length - 1 && this.optionIndex++, this.listHasFocus = !0;
101
+ const t = `option${this.optionIndex}`;
102
+ this.$refs[t][0].focus();
103
+ }
104
+ },
105
+ computed: {
106
+ showOptions() {
107
+ const t = this.options.some(
108
+ (s) => s[this.optionLabel] === this.userInput[this.optionLabel]
109
+ ), a = this.userInput[this.optionLabel].length >= this.minLength;
110
+ return t !== !0 && this.hasFocus === !0 && (this.autoExpand === !0 || a === !0);
111
+ },
112
+ filterOptions() {
113
+ const t = this.options.filter(
114
+ (a) => a.label.toLowerCase().includes(this.getInputValue)
115
+ );
116
+ return t.length > 0 ? t : this.autoExpand === !0 ? this.options : (t.push({
117
+ [this.optionLabel]: "No results found",
118
+ [this.optionValue]: "",
119
+ clickable: !1
120
+ }), t);
121
+ },
122
+ optionsHasMatches() {
123
+ return this.filterOptions.every(
124
+ (t) => Object.hasOwn(t, "clickable") ? t.clickable === !0 : !0
125
+ );
126
+ },
127
+ getInputValue() {
128
+ return this.userInput[this.optionLabel].toLowerCase();
129
+ }
130
+ },
131
+ created() {
132
+ if (this.modelValue && Object.keys(this.modelValue).length >= 2) {
133
+ this.userInput = this.modelValue;
134
+ return;
135
+ }
136
+ this.userInput[this.optionLabel] = "", this.userInput[this.optionValue] = "";
137
+ }
138
+ }, oe = { class: "autocomplete" }, de = ["for"], ue = ["id"], ce = {
139
+ role: "listbox",
140
+ class: "autocomplete-list"
141
+ }, he = ["onMousedown", "onKeydown", "onBlur"];
142
+ function fe(t, a, e, s, r, i) {
143
+ return n(), l("div", oe, [
144
+ e.label ? (n(), l("label", {
145
+ key: 0,
146
+ for: e.id,
147
+ class: "autocomplete-label"
148
+ }, c(e.label), 9, de)) : h("", !0),
149
+ I(d("input", {
150
+ ref: "autocompleteInput",
151
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => t.userInput[e.optionLabel] = o),
152
+ role: "combobox",
153
+ inputmode: "text",
154
+ id: e.id,
155
+ class: m(["autocomplete-input", { "autocomplete-input--focus": t.hasFocus }]),
156
+ "aria-owns": "autocomplete-list",
157
+ autocomplete: "off",
158
+ onInput: a[1] || (a[1] = (o) => i.onInputTyping()),
159
+ onFocus: a[2] || (a[2] = (o) => t.hasFocus = !0),
160
+ onBlur: a[3] || (a[3] = (...o) => i.onBlur && i.onBlur(...o)),
161
+ onKeydown: [
162
+ a[4] || (a[4] = v(x((...o) => i.onUpKey && i.onUpKey(...o), ["prevent"]), ["up"])),
163
+ a[5] || (a[5] = v(x((...o) => i.onDownKey && i.onDownKey(...o), ["prevent"]), ["down"]))
164
+ ]
165
+ }, null, 42, ue), [
166
+ [te, t.userInput[e.optionLabel]]
167
+ ]),
168
+ I(d("ul", ce, [
169
+ (n(!0), l(g, null, y(i.filterOptions, (o, u) => (n(), l("li", {
170
+ ref_for: !0,
171
+ ref: `option${u}`,
172
+ tabindex: "-1",
173
+ class: m({
174
+ "autocomplete-item-not-clickable": o.clickable === !1,
175
+ "autocomplete-item--focus": u === t.optionIndex
176
+ }),
177
+ onMousedown: (p) => i.onOptionSelect(o),
178
+ onKeydown: [
179
+ a[6] || (a[6] = v(x((...p) => i.onUpKey && i.onUpKey(...p), ["prevent"]), ["up"])),
180
+ a[7] || (a[7] = v(x((...p) => i.onDownKey && i.onDownKey(...p), ["prevent"]), ["down"])),
181
+ v(x((p) => i.onOptionSelect(o), ["prevent"]), ["enter"]),
182
+ v(x((p) => i.onOptionSelect(o), ["prevent"]), ["space"])
183
+ ],
184
+ onBlur: (p) => i.onOptionBlur(u)
185
+ }, c(o[e.optionLabel]), 43, he))), 256))
186
+ ], 512), [
187
+ [ae, i.showOptions]
188
+ ])
189
+ ]);
190
+ }
191
+ const pe = /* @__PURE__ */ f(le, [["render", fe], ["__scopeId", "data-v-ea1f573c"]]), me = {
192
+ name: "wra-banner",
193
+ props: {
194
+ hiddenPrint: {
195
+ type: Boolean,
196
+ default: !1
197
+ },
198
+ newService: {
199
+ type: Boolean,
200
+ default: !1
201
+ }
202
+ }
203
+ }, ke = {
204
+ key: 0,
205
+ class: "wra-banner-actions"
206
+ };
207
+ function be(t, a, e, s, r, i) {
208
+ return n(), l("div", {
209
+ class: m(["wra-banner", {
210
+ "hidden-print": e.hiddenPrint === !0,
211
+ "new-service": e.newService === !0
212
+ }])
213
+ }, [
214
+ d("div", null, [
215
+ b(t.$slots, "default", {}, void 0, !0)
216
+ ]),
217
+ t.$slots.actions ? (n(), l("div", ke, [
218
+ b(t.$slots, "actions", {}, void 0, !0)
219
+ ])) : h("", !0)
220
+ ], 2);
221
+ }
222
+ const _e = /* @__PURE__ */ f(me, [["render", be], ["__scopeId", "data-v-09473a78"]]), ge = {
223
+ name: "wra-breadcrumbs",
224
+ props: {
225
+ /** Items to display in the breadcrumbs */
226
+ items: {
227
+ type: Array,
13
228
  required: !0
229
+ },
230
+ /** Change the default object name in items for the breadcrumb title */
231
+ itemTitle: {
232
+ type: String,
233
+ default: "title"
234
+ },
235
+ /** Change the default object name in items for disabling the breadcrumb */
236
+ itemDisabled: {
237
+ type: String,
238
+ default: "disabled"
239
+ },
240
+ /** Change the default object name in items for the breadcrumb link */
241
+ itemHref: {
242
+ type: String,
243
+ default: "href"
244
+ }
245
+ }
246
+ }, ve = (t) => (P("data-v-99803a33"), t = t(), F(), t), ye = { class: "wra-breadcrumbs" }, we = { class: "wra-breadcrumbs-item" }, Ve = ["href"], Se = {
247
+ key: 1,
248
+ class: "wra-breadcrumbs-link--disabled"
249
+ }, $e = {
250
+ key: 0,
251
+ class: "wra-breadcrumbs-divider"
252
+ }, Ie = /* @__PURE__ */ ve(() => /* @__PURE__ */ d("span", { class: "wra-breadcrumbs-chevron" }, null, -1));
253
+ function xe(t, a, e, s, r, i) {
254
+ return n(), l("ul", ye, [
255
+ (n(!0), l(g, null, y(e.items, (o, u) => (n(), l(g, null, [
256
+ d("li", we, [
257
+ b(t.$slots, "default", {}, () => [
258
+ o[e.itemDisabled] ? (n(), l("span", Se, c(o[e.itemTitle]), 1)) : (n(), l("a", {
259
+ key: 0,
260
+ href: o[e.itemHref],
261
+ class: "wra-breadcrumbs-link"
262
+ }, c(o[e.itemTitle]), 9, Ve))
263
+ ], !0)
264
+ ]),
265
+ u !== e.items.length - 1 ? (n(), l("li", $e, [
266
+ b(t.$slots, "divider", {}, () => [
267
+ Ie
268
+ ], !0)
269
+ ])) : h("", !0)
270
+ ], 64))), 256))
271
+ ]);
272
+ }
273
+ const Me = /* @__PURE__ */ f(ge, [["render", xe], ["__scopeId", "data-v-99803a33"]]), Te = {
274
+ name: "wra-button",
275
+ props: {
276
+ size: {
277
+ type: String
278
+ },
279
+ backgroundColor: {
280
+ type: String
281
+ },
282
+ outlined: {
283
+ type: Boolean,
284
+ default: !1
285
+ },
286
+ prependIcon: {
287
+ type: Boolean,
288
+ default: !1
289
+ },
290
+ appendIcon: {
291
+ type: Boolean,
292
+ default: !1
293
+ }
294
+ },
295
+ computed: {
296
+ class() {
297
+ return {
298
+ "outlined-button": this.outlined,
299
+ [`${this.size || "default"}-button`]: !0,
300
+ "wra-blue": this.backgroundColor === "wra-blue",
301
+ "wra-red": this.backgroundColor === "wra-red",
302
+ "wra-green": this.backgroundColor === "wra-green",
303
+ "wra-revenue": this.backgroundColor === "wra-revenue",
304
+ "wra-white": this.backgroundColor === "wra-white"
305
+ };
14
306
  }
15
307
  }
308
+ }, We = {
309
+ key: 0,
310
+ class: "icon back-icon"
311
+ }, Oe = {
312
+ key: 0,
313
+ class: "icon next-icon"
16
314
  };
17
- function ne(t, a, e, s, r, i) {
18
- return o(), l("div", {
19
- class: _(["validation-tooltip", e.type])
315
+ function Ce(t, a, e, s, r, i) {
316
+ return n(), l("button", {
317
+ type: "button",
318
+ class: m(i.class)
20
319
  }, [
21
- k(t.$slots, "default", {}, void 0, !0)
320
+ d("span", {
321
+ class: m({
322
+ "prepend-icon-wrapper": e.prependIcon
323
+ })
324
+ }, [
325
+ e.prependIcon ? (n(), l("span", We)) : h("", !0)
326
+ ], 2),
327
+ b(t.$slots, "default", {}, void 0, !0),
328
+ d("span", {
329
+ class: m({
330
+ "append-icon-wrapper": e.appendIcon
331
+ })
332
+ }, [
333
+ e.appendIcon ? (n(), l("span", Oe)) : h("", !0)
334
+ ], 2)
22
335
  ], 2);
23
336
  }
24
- const oe = /* @__PURE__ */ c(re, [["render", ne], ["__scopeId", "data-v-386ad06a"]]), le = {
337
+ const Be = /* @__PURE__ */ f(Te, [["render", Ce], ["__scopeId", "data-v-bf478d25"]]), Ee = {
25
338
  name: "wra-checkbox",
26
339
  props: {
27
340
  modelValue: {},
@@ -53,30 +366,30 @@ const oe = /* @__PURE__ */ c(re, [["render", ne], ["__scopeId", "data-v-386ad06a
53
366
  this.isChecked = !this.isChecked, this.$emit("update:modelValue", this.isChecked);
54
367
  }
55
368
  }
56
- }, ue = ["aria-label"], de = ["for"], ce = ["id", "checked", "aria-checked"], he = { class: "checkbox-text" };
57
- function pe(t, a, e, s, r, i) {
58
- return o(), l("div", {
369
+ }, qe = ["aria-label"], je = ["for"], Ae = ["id", "checked", "aria-checked"], Le = { class: "checkbox-text" };
370
+ function Pe(t, a, e, s, r, i) {
371
+ return n(), l("div", {
59
372
  role: "checkbox",
60
373
  "aria-label": e.label
61
374
  }, [
62
- u("label", {
375
+ d("label", {
63
376
  for: e.id,
64
377
  class: "checkbox-label"
65
378
  }, [
66
- u("input", {
379
+ d("input", {
67
380
  class: "checkbox-input",
68
381
  type: "checkbox",
69
382
  id: e.id,
70
383
  checked: r.isChecked,
71
384
  "aria-checked": r.ariaIsChecked,
72
- onChange: a[0] || (a[0] = (n) => i.checkInput()),
73
- onClick: a[1] || (a[1] = (n) => t.$emit("click"))
74
- }, null, 40, ce),
75
- u("span", he, h(e.label), 1)
76
- ], 8, de)
77
- ], 8, ue);
385
+ onChange: a[0] || (a[0] = (o) => i.checkInput()),
386
+ onClick: a[1] || (a[1] = (o) => t.$emit("click"))
387
+ }, null, 40, Ae),
388
+ d("span", Le, c(e.label), 1)
389
+ ], 8, je)
390
+ ], 8, qe);
78
391
  }
79
- const Y = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-32449131"]]), fe = {
392
+ const Y = /* @__PURE__ */ f(Ee, [["render", Pe], ["__scopeId", "data-v-32449131"]]), Fe = {
80
393
  name: "wra-checkbox-group",
81
394
  props: {
82
395
  modelValue: {},
@@ -129,384 +442,40 @@ const Y = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-32449131"
129
442
  components: {
130
443
  WraCheckbox: Y
131
444
  }
132
- }, me = ["aria-label"], ke = ["for"], be = ["id", "checked", "aria-checked", "onChange"], _e = { class: "checkbox-text" };
133
- function ge(t, a, e, s, r, i) {
134
- return o(!0), l(V, null, x(e.options, (n) => (o(), l("div", {
445
+ }, De = ["aria-label"], Ne = ["for"], Re = ["id", "checked", "aria-checked", "onChange"], He = { class: "checkbox-text" };
446
+ function Ke(t, a, e, s, r, i) {
447
+ return n(!0), l(g, null, y(e.options, (o) => (n(), l("div", {
135
448
  role: "checkbox",
136
449
  class: "checkbox",
137
- "aria-label": i.checkForObjectLabel(n)
450
+ "aria-label": i.checkForObjectLabel(o)
138
451
  }, [
139
- u("label", {
140
- for: i.checkForObjectValue(n),
452
+ d("label", {
453
+ for: i.checkForObjectValue(o),
141
454
  class: "checkbox-label"
142
455
  }, [
143
- u("input", {
456
+ d("input", {
144
457
  class: "checkbox-input",
145
458
  type: "checkbox",
146
- id: i.checkForObjectValue(n),
147
- checked: r.checked[i.checkForObjectValue(n)],
148
- "aria-checked": r.checked[i.checkForObjectValue(n)],
149
- onChange: (d) => i.checkInput(i.checkForObjectValue(n))
150
- }, null, 40, be),
151
- u("span", _e, h(i.checkForObjectLabel(n)), 1)
152
- ], 8, ke)
153
- ], 8, me))), 256);
459
+ id: i.checkForObjectValue(o),
460
+ checked: r.checked[i.checkForObjectValue(o)],
461
+ "aria-checked": r.checked[i.checkForObjectValue(o)],
462
+ onChange: (u) => i.checkInput(i.checkForObjectValue(o))
463
+ }, null, 40, Re),
464
+ d("span", He, c(i.checkForObjectLabel(o)), 1)
465
+ ], 8, Ne)
466
+ ], 8, De))), 256);
154
467
  }
155
- const ve = /* @__PURE__ */ c(fe, [["render", ge], ["__scopeId", "data-v-035e0eca"]]), ye = {
468
+ const ze = /* @__PURE__ */ f(Fe, [["render", Ke], ["__scopeId", "data-v-035e0eca"]]), Ue = {
156
469
  name: "wra-content-section-title"
157
- }, we = { class: "content-section-title" };
158
- function Ve(t, a, e, s, r, i) {
159
- return o(), l("div", we, [
160
- k(t.$slots, "default", {}, void 0, !0)
470
+ }, Ge = { class: "content-section-title" };
471
+ function Ye(t, a, e, s, r, i) {
472
+ return n(), l("div", Ge, [
473
+ b(t.$slots, "default", {}, void 0, !0)
161
474
  ]);
162
475
  }
163
- const Se = /* @__PURE__ */ c(ye, [["render", Ve], ["__scopeId", "data-v-1d23d898"]]), $e = {
164
- name: "wra-radio",
165
- props: {
166
- groupName: {
167
- type: String,
168
- required: !0
169
- },
170
- option: {
171
- type: Array,
172
- required: !0
173
- },
174
- isChecked: {
175
- type: Boolean,
176
- required: !0
177
- }
178
- }
179
- }, Ie = ["for"], xe = ["name", "value", "id", "checked", "aria-checked"], Me = { class: "radio-text" }, Te = ["innerHTML"];
180
- function Oe(t, a, e, s, r, i) {
181
- return o(), l("div", null, [
182
- u("label", {
183
- for: e.groupName + "-" + e.option.value,
184
- class: "radio-label"
185
- }, [
186
- u("input", {
187
- type: "radio",
188
- name: e.groupName,
189
- value: e.option.value,
190
- id: e.groupName + "-" + e.option.value,
191
- onChange: a[0] || (a[0] = (n) => t.$parent.$emit("update:modelValue", e.option.value)),
192
- class: "radio-input",
193
- checked: e.isChecked == "true",
194
- "aria-checked": e.isChecked
195
- }, null, 40, xe),
196
- u("span", Me, [
197
- u("p", null, h(e.option.label), 1),
198
- e.option.info ? (o(), l("p", {
199
- key: 0,
200
- class: "further-information-text",
201
- innerHTML: e.option.info
202
- }, null, 8, Te)) : b("", !0)
203
- ])
204
- ], 8, Ie)
205
- ]);
206
- }
207
- const J = /* @__PURE__ */ c($e, [["render", Oe], ["__scopeId", "data-v-20fce2e7"]]), We = {
208
- name: "wra-radio-group",
209
- props: {
210
- groupName: {
211
- type: String,
212
- required: !0
213
- },
214
- modelValue: {
215
- type: String
216
- },
217
- options: {
218
- type: Array,
219
- required: !0
220
- },
221
- label: {
222
- type: String
223
- },
224
- hint: {
225
- type: String
226
- }
227
- },
228
- methods: {
229
- checkInput: function(t) {
230
- return t == this.modelValue ? "true" : "false";
231
- }
232
- },
233
- components: {
234
- WraRadio: J
235
- }
236
- }, Ce = ["aria-label", "aria-describedby"];
237
- function Ee(t, a, e, s, r, i) {
238
- const n = H("wra-radio");
239
- return o(), l("div", {
240
- role: "radiogroup",
241
- "aria-label": e.label,
242
- "aria-describedby": e.hint
243
- }, [
244
- (o(!0), l(V, null, x(e.options, (d) => (o(), F(n, {
245
- groupName: e.groupName,
246
- option: d,
247
- key: d.value,
248
- class: "radio",
249
- isChecked: i.checkInput(d.value)
250
- }, null, 8, ["groupName", "option", "isChecked"]))), 128))
251
- ], 8, Ce);
252
- }
253
- const qe = /* @__PURE__ */ c(We, [["render", Ee], ["__scopeId", "data-v-5568c917"]]), je = {
254
- name: "wra-select",
255
- props: {
256
- modelValue: {
257
- required: !0
258
- },
259
- items: {
260
- required: !0,
261
- type: Array
262
- },
263
- itemValue: {
264
- required: !0,
265
- type: String
266
- },
267
- itemLabel: {
268
- required: !0,
269
- type: String
270
- },
271
- id: {},
272
- name: {},
273
- required: {},
274
- label: {}
275
- },
276
- methods: {
277
- validate(t) {
278
- this.$emit("update:modelValue", t);
279
- let a = this.items.some((e) => this.checkForObjectValue(e) == t);
280
- if (this.required == !0 && a == !1) {
281
- this.$emit("valid", { id: this.id || this.name, value: !1 });
282
- return;
283
- }
284
- this.$emit("valid", { id: this.id || this.name, value: !0 });
285
- },
286
- checkForObjectValue(t) {
287
- return typeof t == "object" ? t[this.itemValue] : t;
288
- },
289
- checkForObjectLabel(t) {
290
- return typeof t == "object" ? t[this.itemLabel] : t;
291
- }
292
- },
293
- mounted() {
294
- this.validate(this.modelValue);
295
- },
296
- emits: ["update:modelValue", "valid"]
297
- }, Z = (t) => (A("data-v-b3b8a61e"), t = t(), P(), t), Be = ["for"], Le = { class: "select" }, Fe = ["id", "value"], Ae = /* @__PURE__ */ Z(() => /* @__PURE__ */ u("option", {
298
- value: "",
299
- selected: "",
300
- disabled: "",
301
- hidden: ""
302
- }, "-", -1)), Pe = ["value", "selected"], De = { key: 0 }, Ne = { key: 1 }, Re = /* @__PURE__ */ Z(() => /* @__PURE__ */ u("span", { class: "focus" }, null, -1));
303
- function Ke(t, a, e, s, r, i) {
304
- return o(), l(V, null, [
305
- u("label", {
306
- for: e.id || e.name
307
- }, h(e.label), 9, Be),
308
- u("div", Le, [
309
- u("select", {
310
- id: e.id || e.name,
311
- value: e.modelValue,
312
- onChange: a[0] || (a[0] = (n) => i.validate(n.target.value))
313
- }, [
314
- Ae,
315
- (o(!0), l(V, null, x(e.items, (n) => (o(), l("option", {
316
- value: i.checkForObjectValue(n),
317
- selected: e.modelValue == i.checkForObjectValue(n)
318
- }, [
319
- t.$slots.label ? (o(), l("span", De, [
320
- k(t.$slots, "label", { item: n }, void 0, !0)
321
- ])) : (o(), l("span", Ne, h(i.checkForObjectLabel(n)), 1))
322
- ], 8, Pe))), 256))
323
- ], 40, Fe),
324
- Re
325
- ])
326
- ], 64);
327
- }
328
- const He = /* @__PURE__ */ c(je, [["render", Ke], ["__scopeId", "data-v-b3b8a61e"]]), ze = {
329
- name: "wra-subheader",
330
- props: {
331
- color: {
332
- type: String
333
- }
334
- },
335
- computed: {
336
- style() {
337
- return {
338
- color: this.color
339
- };
340
- }
341
- }
342
- };
343
- function Ue(t, a, e, s, r, i) {
344
- return o(), l("div", {
345
- class: "subheader",
346
- style: z(i.style)
347
- }, [
348
- k(t.$slots, "default", {}, void 0, !0)
349
- ], 4);
350
- }
351
- const Ge = /* @__PURE__ */ c(ze, [["render", Ue], ["__scopeId", "data-v-c5d10b79"]]), Ye = {
352
- name: "wra-text-area",
353
- props: {
354
- id: {
355
- type: Number,
356
- required: !0
357
- },
358
- modelValue: {
359
- type: String,
360
- required: !0
361
- },
362
- label: {
363
- type: String,
364
- required: !1
365
- },
366
- rules: {
367
- type: Array,
368
- required: !1
369
- }
370
- },
371
- emits: ["update:modelValue", "valid"],
372
- data() {
373
- return {
374
- errorMessage: "",
375
- firstValidation: !0
376
- };
377
- },
378
- methods: {
379
- validate(t) {
380
- if (this.$emit("update:modelValue", t), this.errorMessage = "", this.rules != null)
381
- for (let a = 0; a < this.rules.length; a++) {
382
- const e = this.rules[a];
383
- let s = e(t);
384
- if (s != !0) {
385
- this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
386
- break;
387
- }
388
- }
389
- if (this.errorMessage == "" && this.$emit("valid", { id: this.id, value: !0 }), this.firstValidation == !0 && (this.firstValidation = !1, this.errorMessage != "")) {
390
- this.errorMessage = "";
391
- return;
392
- }
393
- }
394
- },
395
- mounted() {
396
- this.validate(this.modelValue);
397
- }
398
- }, Je = ["for"], Ze = ["id", "value"];
399
- function Qe(t, a, e, s, r, i) {
400
- return o(), l("div", {
401
- class: _({ error: r.errorMessage != !1 })
402
- }, [
403
- u("label", { for: e.id }, h(e.label), 9, Je),
404
- u("textarea", {
405
- rows: "5",
406
- id: e.id,
407
- value: e.modelValue,
408
- onInput: a[0] || (a[0] = (n) => i.validate(n.target.value))
409
- }, null, 40, Ze),
410
- u("p", null, h(r.errorMessage), 1)
411
- ], 2);
412
- }
413
- const Xe = /* @__PURE__ */ c(Ye, [["render", Qe], ["__scopeId", "data-v-0f552efc"]]), et = {
414
- name: "wra-header",
415
- props: {
416
- size: {
417
- type: String,
418
- required: !0
419
- }
420
- }
421
- }, tt = { key: 0 }, at = { key: 1 }, st = { key: 2 }, it = { key: 3 }, rt = { key: 4 }, nt = { key: 5 };
422
- function ot(t, a, e, s, r, i) {
423
- return o(), l("div", null, [
424
- e.size == "h1" ? (o(), l("h1", tt, [
425
- k(t.$slots, "default", {}, void 0, !0)
426
- ])) : b("", !0),
427
- e.size == "h2" ? (o(), l("h2", at, [
428
- k(t.$slots, "default", {}, void 0, !0)
429
- ])) : b("", !0),
430
- e.size == "h3" ? (o(), l("h3", st, [
431
- k(t.$slots, "default", {}, void 0, !0)
432
- ])) : b("", !0),
433
- e.size == "h4" ? (o(), l("h4", it, [
434
- k(t.$slots, "default", {}, void 0, !0)
435
- ])) : b("", !0),
436
- e.size == "h5" ? (o(), l("h5", rt, [
437
- k(t.$slots, "default", {}, void 0, !0)
438
- ])) : b("", !0),
439
- e.size == "h6" ? (o(), l("h6", nt, [
440
- k(t.$slots, "default", {}, void 0, !0)
441
- ])) : b("", !0)
442
- ]);
443
- }
444
- const lt = /* @__PURE__ */ c(et, [["render", ot], ["__scopeId", "data-v-2f692b7a"]]), ut = {
445
- name: "wra-button",
446
- props: {
447
- size: {
448
- type: String
449
- },
450
- backgroundColor: {
451
- type: String
452
- },
453
- outlined: {
454
- type: Boolean,
455
- default: !1
456
- },
457
- prependIcon: {
458
- type: Boolean,
459
- default: !1
460
- },
461
- appendIcon: {
462
- type: Boolean,
463
- default: !1
464
- }
465
- },
466
- computed: {
467
- class() {
468
- return {
469
- "outlined-button": this.outlined,
470
- [`${this.size || "default"}-button`]: !0,
471
- "wra-blue": this.backgroundColor === "wra-blue",
472
- "wra-red": this.backgroundColor === "wra-red",
473
- "wra-green": this.backgroundColor === "wra-green",
474
- "wra-revenue": this.backgroundColor === "wra-revenue"
475
- };
476
- }
477
- }
478
- }, dt = {
479
- key: 0,
480
- class: "icon back-icon"
481
- }, ct = {
482
- key: 0,
483
- class: "icon next-icon"
484
- };
485
- function ht(t, a, e, s, r, i) {
486
- return o(), l("button", {
487
- type: "button",
488
- class: _(i.class)
489
- }, [
490
- u("span", {
491
- class: _({
492
- "prepend-icon-wrapper": e.prependIcon
493
- })
494
- }, [
495
- e.prependIcon ? (o(), l("span", dt)) : b("", !0)
496
- ], 2),
497
- k(t.$slots, "default", {}, void 0, !0),
498
- u("span", {
499
- class: _({
500
- "append-icon-wrapper": e.appendIcon
501
- })
502
- }, [
503
- e.appendIcon ? (o(), l("span", ct)) : b("", !0)
504
- ], 2)
505
- ], 2);
506
- }
507
- const pt = /* @__PURE__ */ c(ut, [["render", ht], ["__scopeId", "data-v-8ac59e1e"]]);
476
+ const Je = /* @__PURE__ */ f(Ue, [["render", Ye], ["__scopeId", "data-v-1d23d898"]]);
508
477
  /*! maska v2.1.11 | (c) Alexander Shabunevich | Released under the MIT license */
509
- var ft = Object.defineProperty, mt = (t, a, e) => a in t ? ft(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e, O = (t, a, e) => (mt(t, typeof a != "symbol" ? a + "" : a, e), e);
478
+ var Ze = Object.defineProperty, Qe = (t, a, e) => a in t ? Ze(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e, W = (t, a, e) => (Qe(t, typeof a != "symbol" ? a + "" : a, e), e);
510
479
  const N = {
511
480
  "#": { pattern: /[0-9]/ },
512
481
  "@": { pattern: /[a-zA-Z]/ },
@@ -514,7 +483,7 @@ const N = {
514
483
  };
515
484
  class R {
516
485
  constructor(a = {}) {
517
- O(this, "opts", {}), O(this, "memo", /* @__PURE__ */ new Map());
486
+ W(this, "opts", {}), W(this, "memo", /* @__PURE__ */ new Map());
518
487
  const e = { ...a };
519
488
  if (e.tokens != null) {
520
489
  e.tokens = e.tokensReplace ? { ...e.tokens } : { ...N, ...e.tokens };
@@ -566,23 +535,23 @@ class R {
566
535
  const r = `value=${a},mask=${e},masked=${s ? 1 : 0}`;
567
536
  if (this.memo.has(r))
568
537
  return this.memo.get(r);
569
- const { mask: i, escaped: n } = this.escapeMask(e), d = [], p = this.opts.tokens != null ? this.opts.tokens : {}, f = this.isReversed() ? -1 : 1, M = this.isReversed() ? "unshift" : "push", w = this.isReversed() ? 0 : i.length - 1, ee = this.isReversed() ? () => m > -1 && v > -1 : () => m < i.length && v < a.length, te = (S) => !this.isReversed() && S <= w || this.isReversed() && S >= w;
570
- let q, T = -1, m = this.isReversed() ? i.length - 1 : 0, v = this.isReversed() ? a.length - 1 : 0, j = !1;
571
- for (; ee(); ) {
572
- const S = i.charAt(m), y = p[S], W = (y == null ? void 0 : y.transform) != null ? y.transform(a.charAt(v)) : a.charAt(v);
573
- if (!n.includes(m) && y != null ? (W.match(y.pattern) != null ? (d[M](W), y.repeated ? (T === -1 ? T = m : m === w && m !== T && (m = T - f), w === T && (m -= f)) : y.multiple && (j = !0, m -= f), m += f) : y.multiple ? j && (m += f, v -= f, j = !1) : W === q ? q = void 0 : y.optional && (m += f, v -= f), v += f) : (s && !this.isEager() && d[M](S), W === S && !this.isEager() ? v += f : q = S, this.isEager() || (m += f)), this.isEager())
574
- for (; te(m) && (p[i.charAt(m)] == null || n.includes(m)); )
575
- s ? d[M](i.charAt(m)) : i.charAt(m) === a.charAt(v) && (v += f), m += f;
538
+ const { mask: i, escaped: o } = this.escapeMask(e), u = [], p = this.opts.tokens != null ? this.opts.tokens : {}, k = this.isReversed() ? -1 : 1, M = this.isReversed() ? "unshift" : "push", S = this.isReversed() ? 0 : i.length - 1, X = this.isReversed() ? () => _ > -1 && w > -1 : () => _ < i.length && w < a.length, ee = ($) => !this.isReversed() && $ <= S || this.isReversed() && $ >= S;
539
+ let q, T = -1, _ = this.isReversed() ? i.length - 1 : 0, w = this.isReversed() ? a.length - 1 : 0, j = !1;
540
+ for (; X(); ) {
541
+ const $ = i.charAt(_), V = p[$], E = (V == null ? void 0 : V.transform) != null ? V.transform(a.charAt(w)) : a.charAt(w);
542
+ if (!o.includes(_) && V != null ? (E.match(V.pattern) != null ? (u[M](E), V.repeated ? (T === -1 ? T = _ : _ === S && _ !== T && (_ = T - k), S === T && (_ -= k)) : V.multiple && (j = !0, _ -= k), _ += k) : V.multiple ? j && (_ += k, w -= k, j = !1) : E === q ? q = void 0 : V.optional && (_ += k, w -= k), w += k) : (s && !this.isEager() && u[M]($), E === $ && !this.isEager() ? w += k : q = $, this.isEager() || (_ += k)), this.isEager())
543
+ for (; ee(_) && (p[i.charAt(_)] == null || o.includes(_)); )
544
+ s ? u[M](i.charAt(_)) : i.charAt(_) === a.charAt(w) && (w += k), _ += k;
576
545
  }
577
- return this.memo.set(r, d.join("")), this.memo.get(r);
546
+ return this.memo.set(r, u.join("")), this.memo.get(r);
578
547
  }
579
548
  }
580
- const Q = (t) => JSON.parse(t.replaceAll("'", '"')), K = (t, a = {}) => {
549
+ const J = (t) => JSON.parse(t.replaceAll("'", '"')), H = (t, a = {}) => {
581
550
  const e = { ...a };
582
- return t.dataset.maska != null && t.dataset.maska !== "" && (e.mask = kt(t.dataset.maska)), t.dataset.maskaEager != null && (e.eager = B(t.dataset.maskaEager)), t.dataset.maskaReversed != null && (e.reversed = B(t.dataset.maskaReversed)), t.dataset.maskaTokensReplace != null && (e.tokensReplace = B(t.dataset.maskaTokensReplace)), t.dataset.maskaTokens != null && (e.tokens = bt(t.dataset.maskaTokens)), e;
583
- }, B = (t) => t !== "" ? !!JSON.parse(t) : !0, kt = (t) => t.startsWith("[") && t.endsWith("]") ? Q(t) : t, bt = (t) => {
551
+ return t.dataset.maska != null && t.dataset.maska !== "" && (e.mask = Xe(t.dataset.maska)), t.dataset.maskaEager != null && (e.eager = A(t.dataset.maskaEager)), t.dataset.maskaReversed != null && (e.reversed = A(t.dataset.maskaReversed)), t.dataset.maskaTokensReplace != null && (e.tokensReplace = A(t.dataset.maskaTokensReplace)), t.dataset.maskaTokens != null && (e.tokens = et(t.dataset.maskaTokens)), e;
552
+ }, A = (t) => t !== "" ? !!JSON.parse(t) : !0, Xe = (t) => t.startsWith("[") && t.endsWith("]") ? J(t) : t, et = (t) => {
584
553
  if (t.startsWith("{") && t.endsWith("}"))
585
- return Q(t);
554
+ return J(t);
586
555
  const a = {};
587
556
  return t.split("|").forEach((e) => {
588
557
  const s = e.split(":");
@@ -594,23 +563,23 @@ const Q = (t) => JSON.parse(t.replaceAll("'", '"')), K = (t, a = {}) => {
594
563
  };
595
564
  }), a;
596
565
  };
597
- class _t {
566
+ class tt {
598
567
  constructor(a, e = {}) {
599
- O(this, "items", /* @__PURE__ */ new Map()), O(this, "beforeinputEvent", (s) => {
568
+ W(this, "items", /* @__PURE__ */ new Map()), W(this, "beforeinputEvent", (s) => {
600
569
  const r = s.target, i = this.items.get(r);
601
570
  i.isEager() && "inputType" in s && s.inputType.startsWith("delete") && i.unmasked(r.value).length <= 1 && this.setMaskedValue(r, "");
602
- }), O(this, "inputEvent", (s) => {
571
+ }), W(this, "inputEvent", (s) => {
603
572
  if (s instanceof CustomEvent && s.type === "input" && s.detail != null && typeof s.detail == "object" && "masked" in s.detail)
604
573
  return;
605
- const r = s.target, i = this.items.get(r), n = r.value, d = r.selectionStart, p = r.selectionEnd;
606
- let f = n;
574
+ const r = s.target, i = this.items.get(r), o = r.value, u = r.selectionStart, p = r.selectionEnd;
575
+ let k = o;
607
576
  if (i.isEager()) {
608
- const M = i.masked(n), w = i.unmasked(n);
609
- w === "" && "data" in s && s.data != null ? f = s.data : w !== i.unmasked(M) && (f = w);
577
+ const M = i.masked(o), S = i.unmasked(o);
578
+ S === "" && "data" in s && s.data != null ? k = s.data : S !== i.unmasked(M) && (k = S);
610
579
  }
611
- if (this.setMaskedValue(r, f), "inputType" in s && (s.inputType.startsWith("delete") || d != null && d < n.length))
580
+ if (this.setMaskedValue(r, k), "inputType" in s && (s.inputType.startsWith("delete") || u != null && u < o.length))
612
581
  try {
613
- r.setSelectionRange(d, p);
582
+ r.setSelectionRange(u, p);
614
583
  } catch {
615
584
  }
616
585
  }), this.options = e, typeof a == "string" ? this.init(
@@ -627,7 +596,7 @@ class _t {
627
596
  this.items.clear();
628
597
  }
629
598
  needUpdateOptions(a, e) {
630
- const s = this.items.get(a), r = new R(K(a, this.getMaskOpts(e)));
599
+ const s = this.items.get(a), r = new R(H(a, this.getMaskOpts(e)));
631
600
  return JSON.stringify(s.opts) !== JSON.stringify(r.opts);
632
601
  }
633
602
  needUpdateValue(a) {
@@ -640,27 +609,27 @@ class _t {
640
609
  }
641
610
  init(a, e) {
642
611
  for (const s of a) {
643
- const r = new R(K(s, e));
612
+ const r = new R(H(s, e));
644
613
  this.items.set(s, r), s.value !== "" && this.setMaskedValue(s, s.value), s.addEventListener("input", this.inputEvent), s.addEventListener("beforeinput", this.beforeinputEvent);
645
614
  }
646
615
  }
647
616
  setMaskedValue(a, e) {
648
617
  const s = this.items.get(a);
649
618
  this.options.preProcess != null && (e = this.options.preProcess(e));
650
- const r = s.masked(e), i = s.unmasked(s.isEager() ? r : e), n = s.completed(e), d = { masked: r, unmasked: i, completed: n };
651
- e = r, this.options.postProcess != null && (e = this.options.postProcess(e)), a.value = e, a.dataset.maskaValue = e, this.options.onMaska != null && (Array.isArray(this.options.onMaska) ? this.options.onMaska.forEach((p) => p(d)) : this.options.onMaska(d)), a.dispatchEvent(new CustomEvent("maska", { detail: d })), a.dispatchEvent(new CustomEvent("input", { detail: d }));
619
+ const r = s.masked(e), i = s.unmasked(s.isEager() ? r : e), o = s.completed(e), u = { masked: r, unmasked: i, completed: o };
620
+ e = r, this.options.postProcess != null && (e = this.options.postProcess(e)), a.value = e, a.dataset.maskaValue = e, this.options.onMaska != null && (Array.isArray(this.options.onMaska) ? this.options.onMaska.forEach((p) => p(u)) : this.options.onMaska(u)), a.dispatchEvent(new CustomEvent("maska", { detail: u })), a.dispatchEvent(new CustomEvent("input", { detail: u }));
652
621
  }
653
622
  }
654
- const L = /* @__PURE__ */ new WeakMap(), gt = (t) => {
623
+ const L = /* @__PURE__ */ new WeakMap(), at = (t) => {
655
624
  setTimeout(() => {
656
625
  var a;
657
626
  ((a = L.get(t)) == null ? void 0 : a.needUpdateValue(t)) === !0 && t.dispatchEvent(new CustomEvent("input"));
658
627
  });
659
- }, E = (t, a) => {
628
+ }, B = (t, a) => {
660
629
  const e = t instanceof HTMLInputElement ? t : t.querySelector("input"), s = { ...a.arg };
661
630
  if (e == null || (e == null ? void 0 : e.type) === "file")
662
631
  return;
663
- gt(e);
632
+ at(e);
664
633
  const r = L.get(e);
665
634
  if (r != null) {
666
635
  if (!r.needUpdateOptions(e, s))
@@ -668,33 +637,151 @@ const L = /* @__PURE__ */ new WeakMap(), gt = (t) => {
668
637
  r.destroy();
669
638
  }
670
639
  if (a.value != null) {
671
- const i = a.value, n = (d) => {
672
- i.masked = d.masked, i.unmasked = d.unmasked, i.completed = d.completed;
640
+ const i = a.value, o = (u) => {
641
+ i.masked = u.masked, i.unmasked = u.unmasked, i.completed = u.completed;
673
642
  };
674
- s.onMaska = s.onMaska == null ? n : Array.isArray(s.onMaska) ? [...s.onMaska, n] : [s.onMaska, n];
643
+ s.onMaska = s.onMaska == null ? o : Array.isArray(s.onMaska) ? [...s.onMaska, o] : [s.onMaska, o];
675
644
  }
676
- L.set(e, new _t(e, s));
677
- }, vt = {
678
- directives: { maska: E },
679
- name: "wra-date-input",
645
+ L.set(e, new tt(e, s));
646
+ }, st = {
647
+ directives: { maska: B },
648
+ name: "wra-custom-input",
680
649
  props: {
681
650
  modelValue: {
682
- required: !0,
683
- type: Date
651
+ type: Number,
652
+ required: !0
653
+ },
654
+ dataMaska: {
655
+ type: String
656
+ },
657
+ dataMaskaEager: {
658
+ type: Boolean,
659
+ default: !1
660
+ },
661
+ dataMaskaReversed: {
662
+ type: Boolean,
663
+ default: !1
664
+ },
665
+ dataMaskaTokens: {
666
+ type: String
684
667
  },
685
668
  label: {
686
669
  type: String
687
670
  },
688
671
  id: {
672
+ type: String,
689
673
  required: !0,
690
- default: "dateInput",
691
- type: String
674
+ default: "customInput"
692
675
  },
693
676
  inputmode: {
694
677
  default: "numeric",
695
678
  type: String
696
679
  },
697
- required: {},
680
+ placeholder: {
681
+ type: String
682
+ },
683
+ rules: {},
684
+ prefix: {
685
+ type: String
686
+ },
687
+ suffix: {
688
+ type: String
689
+ }
690
+ },
691
+ emits: ["update:modelValue", "valid"],
692
+ data: () => ({
693
+ maskedValue: "",
694
+ errorMessage: "",
695
+ firstValidation: !0,
696
+ returnValue: {
697
+ masked: "",
698
+ unmasked: "",
699
+ completed: !1
700
+ }
701
+ }),
702
+ methods: {
703
+ validate(t) {
704
+ if (this.errorMessage = "", this.rules != null)
705
+ for (let a = 0; a < this.rules.length; a++) {
706
+ const e = this.rules[a];
707
+ let s = e(t);
708
+ if (s != !0) {
709
+ this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
710
+ break;
711
+ }
712
+ }
713
+ if (this.errorMessage == "" && this.$emit("valid", { id: this.id, value: !0 }), this.firstValidation == !0 && (this.firstValidation = !1, this.errorMessage != "")) {
714
+ this.errorMessage = "";
715
+ return;
716
+ }
717
+ }
718
+ },
719
+ computed: {
720
+ prefixPadding() {
721
+ return this.prefix != null ? "padding-for-prefix" : "padding-for-no-prefix";
722
+ }
723
+ },
724
+ mounted() {
725
+ this.maskedValue = this.modelValue, this.validate(this.modelValue);
726
+ }
727
+ }, it = ["for"], rt = { class: "input-wrapper" }, nt = {
728
+ key: 0,
729
+ class: "prefix"
730
+ }, lt = ["id", "value", "inputmode", "placeholder", "data-maska", "data-maska-eager", "data-maska-reversed", "data-maska-tokens"], ot = {
731
+ key: 1,
732
+ class: "suffix"
733
+ };
734
+ function dt(t, a, e, s, r, i) {
735
+ const o = C("maska");
736
+ return n(), l("div", {
737
+ class: m({ error: t.errorMessage != !1 })
738
+ }, [
739
+ e.label ? (n(), l("label", {
740
+ key: 0,
741
+ for: e.id
742
+ }, c(e.label), 9, it)) : h("", !0),
743
+ d("div", rt, [
744
+ e.prefix ? (n(), l("span", nt, c(e.prefix), 1)) : h("", !0),
745
+ I(d("input", {
746
+ id: e.id,
747
+ type: "text",
748
+ value: t.maskedValue,
749
+ inputmode: e.inputmode || "numeric",
750
+ placeholder: e.placeholder,
751
+ "data-maska": e.dataMaska,
752
+ "data-maska-eager": e.dataMaskaEager,
753
+ "data-maska-reversed": e.dataMaskaReversed,
754
+ "data-maska-tokens": e.dataMaskaTokens,
755
+ class: m(i.prefixPadding)
756
+ }, null, 10, lt), [
757
+ [o]
758
+ ]),
759
+ e.suffix ? (n(), l("span", ot, c(e.suffix), 1)) : h("", !0)
760
+ ]),
761
+ d("p", null, c(t.errorMessage), 1)
762
+ ], 2);
763
+ }
764
+ const ut = /* @__PURE__ */ f(st, [["render", dt], ["__scopeId", "data-v-32c79a39"]]), ct = {
765
+ directives: { maska: B },
766
+ name: "wra-date-input",
767
+ props: {
768
+ modelValue: {
769
+ required: !0,
770
+ type: Date
771
+ },
772
+ label: {
773
+ type: String
774
+ },
775
+ id: {
776
+ required: !0,
777
+ default: "dateInput",
778
+ type: String
779
+ },
780
+ inputmode: {
781
+ default: "numeric",
782
+ type: String
783
+ },
784
+ required: {},
698
785
  placeholder: {
699
786
  default: "DD/MM/YYYY",
700
787
  type: String
@@ -752,30 +839,228 @@ const L = /* @__PURE__ */ new WeakMap(), gt = (t) => {
752
839
  mounted() {
753
840
  this.setInitialState();
754
841
  }
755
- }, yt = ["for"], wt = ["id", "value", "inputmode", "placeholder"], Vt = { key: 0 };
756
- function St(t, a, e, s, r, i) {
757
- const n = C("maska");
758
- return o(), l("div", {
759
- class: _({ error: t.showError != !1 })
842
+ }, ht = ["for"], ft = ["id", "value", "inputmode", "placeholder"], pt = { key: 1 };
843
+ function mt(t, a, e, s, r, i) {
844
+ const o = C("maska");
845
+ return n(), l("div", {
846
+ class: m({ error: t.showError != !1 })
760
847
  }, [
761
- u("label", { for: e.id }, h(e.label), 9, yt),
762
- I(u("input", {
848
+ e.label ? (n(), l("label", {
849
+ key: 0,
850
+ for: e.id
851
+ }, c(e.label), 9, ht)) : h("", !0),
852
+ I(d("input", {
763
853
  id: e.id,
764
854
  type: "text",
765
855
  value: t.maskedValue,
766
856
  inputmode: e.inputmode || "numeric",
767
857
  placeholder: e.placeholder,
768
- onInput: a[0] || (a[0] = (d) => i.convertToDate(d.target.value)),
858
+ onInput: a[0] || (a[0] = (u) => i.convertToDate(u.target.value)),
769
859
  "data-maska": "##/##/####",
770
860
  "data-maska-eager": ""
771
- }, null, 40, wt), [
772
- [n]
861
+ }, null, 40, ft), [
862
+ [o]
773
863
  ]),
774
- t.showError && e.required != null ? (o(), l("p", Vt, "Invalid date")) : b("", !0)
864
+ t.showError && e.required != null ? (n(), l("p", pt, "Invalid date")) : h("", !0)
865
+ ], 2);
866
+ }
867
+ const kt = /* @__PURE__ */ f(ct, [["render", mt], ["__scopeId", "data-v-28c82c54"]]), bt = {
868
+ name: "wra-divider",
869
+ props: {
870
+ /** Thickness of the divider */
871
+ thickness: {
872
+ type: String,
873
+ default: "medium",
874
+ validator(t) {
875
+ return t == "large" || t == "medium" || t == "small";
876
+ }
877
+ },
878
+ /** Aria role for the divider */
879
+ role: {
880
+ type: String,
881
+ default: "presentation"
882
+ }
883
+ },
884
+ data() {
885
+ return {};
886
+ }
887
+ }, _t = ["role"];
888
+ function gt(t, a, e, s, r, i) {
889
+ return n(), l("hr", {
890
+ role: e.role,
891
+ class: m({
892
+ "wra-divider-large": e.thickness === "large",
893
+ "wra-divider": e.thickness === "medium",
894
+ "wra-divider-small": e.thickness === "small"
895
+ })
896
+ }, null, 10, _t);
897
+ }
898
+ const vt = /* @__PURE__ */ f(bt, [["render", gt], ["__scopeId", "data-v-5554eece"]]), yt = {
899
+ name: "wra-expansion-panel",
900
+ props: {
901
+ title: {
902
+ type: String,
903
+ required: !0
904
+ },
905
+ ariaTitle: {
906
+ type: String,
907
+ required: !0
908
+ },
909
+ color: {
910
+ type: String
911
+ }
912
+ },
913
+ data() {
914
+ return {
915
+ showPanel: !1
916
+ };
917
+ },
918
+ computed: {
919
+ style() {
920
+ return {
921
+ color: this.color
922
+ };
923
+ }
924
+ },
925
+ methods: {
926
+ togglePanel() {
927
+ this.showPanel = !this.showPanel;
928
+ }
929
+ }
930
+ }, wt = ["aria-controls", "id"], Vt = { class: "icon-wrapper" }, St = ["aria-hidden", "id"], $t = { class: "inner-panel" };
931
+ function It(t, a, e, s, r, i) {
932
+ return n(), l("div", null, [
933
+ d("button", {
934
+ "aria-controls": "expansion-content-" + e.ariaTitle,
935
+ id: "expansion-control-" + e.ariaTitle,
936
+ onClick: a[0] || (a[0] = (...o) => i.togglePanel && i.togglePanel(...o)),
937
+ style: K(i.style)
938
+ }, [
939
+ O(c(e.title) + " ", 1),
940
+ d("span", Vt, [
941
+ d("span", {
942
+ class: m(["panel-icon", {
943
+ "show-panel-icon": r.showPanel,
944
+ "hide-panel-icon": !r.showPanel
945
+ }])
946
+ }, null, 2)
947
+ ])
948
+ ], 12, wt),
949
+ se(z, { name: "slide-fade" }, {
950
+ default: U(() => [
951
+ r.showPanel ? (n(), l("div", {
952
+ key: 0,
953
+ class: "panel-content",
954
+ "aria-hidden": !r.showPanel,
955
+ id: "content-" + e.ariaTitle
956
+ }, [
957
+ d("div", $t, [
958
+ b(t.$slots, "default", {}, void 0, !0)
959
+ ])
960
+ ], 8, St)) : h("", !0)
961
+ ]),
962
+ _: 3
963
+ })
964
+ ]);
965
+ }
966
+ const xt = /* @__PURE__ */ f(yt, [["render", It], ["__scopeId", "data-v-6993ae29"]]), Mt = {
967
+ name: "wra-footer",
968
+ props: {
969
+ /** Display the footer when printed */
970
+ hiddenPrint: {
971
+ type: Boolean,
972
+ default: !1
973
+ }
974
+ }
975
+ };
976
+ function Tt(t, a, e, s, r, i) {
977
+ return n(), l("footer", {
978
+ class: m(["wra-footer", { "hidden-print": e.hiddenPrint === !0 }])
979
+ }, [
980
+ b(t.$slots, "default", {}, void 0, !0)
775
981
  ], 2);
776
982
  }
777
- const $t = /* @__PURE__ */ c(vt, [["render", St], ["__scopeId", "data-v-29411b9a"]]), It = {
778
- directives: { maska: E },
983
+ const Wt = /* @__PURE__ */ f(Mt, [["render", Tt], ["__scopeId", "data-v-182e61db"]]), Ot = {
984
+ name: "wra-header",
985
+ props: {
986
+ size: {
987
+ type: String,
988
+ required: !0
989
+ }
990
+ }
991
+ }, Ct = { key: 0 }, Bt = { key: 1 }, Et = { key: 2 }, qt = { key: 3 }, jt = { key: 4 }, At = { key: 5 };
992
+ function Lt(t, a, e, s, r, i) {
993
+ return n(), l("div", null, [
994
+ e.size == "h1" ? (n(), l("h1", Ct, [
995
+ b(t.$slots, "default", {}, void 0, !0)
996
+ ])) : h("", !0),
997
+ e.size == "h2" ? (n(), l("h2", Bt, [
998
+ b(t.$slots, "default", {}, void 0, !0)
999
+ ])) : h("", !0),
1000
+ e.size == "h3" ? (n(), l("h3", Et, [
1001
+ b(t.$slots, "default", {}, void 0, !0)
1002
+ ])) : h("", !0),
1003
+ e.size == "h4" ? (n(), l("h4", qt, [
1004
+ b(t.$slots, "default", {}, void 0, !0)
1005
+ ])) : h("", !0),
1006
+ e.size == "h5" ? (n(), l("h5", jt, [
1007
+ b(t.$slots, "default", {}, void 0, !0)
1008
+ ])) : h("", !0),
1009
+ e.size == "h6" ? (n(), l("h6", At, [
1010
+ b(t.$slots, "default", {}, void 0, !0)
1011
+ ])) : h("", !0)
1012
+ ]);
1013
+ }
1014
+ const Pt = /* @__PURE__ */ f(Ot, [["render", Lt], ["__scopeId", "data-v-2f692b7a"]]), Ft = {
1015
+ name: "wra-icon",
1016
+ props: {
1017
+ /** Name of icon from material design icons by pictogrammers */
1018
+ icon: {
1019
+ type: String,
1020
+ required: !0
1021
+ },
1022
+ /** Width of icon */
1023
+ width: {
1024
+ type: Number,
1025
+ default: 24
1026
+ },
1027
+ /** Height of icon */
1028
+ height: {
1029
+ type: Number,
1030
+ default: 24
1031
+ },
1032
+ /** Override default viewbox, the size and postion of the SVG, that is calculated from height and width. */
1033
+ viewBox: {
1034
+ type: String,
1035
+ default: "0 0 24 24"
1036
+ },
1037
+ /** Defines the colour of the outline of the icon; */
1038
+ stroke: {
1039
+ type: String
1040
+ },
1041
+ /** Defines the colour of the icon */
1042
+ fill: {
1043
+ type: String
1044
+ }
1045
+ }
1046
+ }, Dt = ["width", "height", "viewBox", "stroke", "fill"], Nt = ["d"];
1047
+ function Rt(t, a, e, s, r, i) {
1048
+ return n(), l("svg", {
1049
+ width: e.width + "px",
1050
+ height: e.height + "px",
1051
+ viewBox: e.viewBox,
1052
+ stroke: e.stroke,
1053
+ fill: e.fill
1054
+ }, [
1055
+ d("path", {
1056
+ d: e.icon,
1057
+ width: "100%",
1058
+ height: "100%"
1059
+ }, null, 8, Nt)
1060
+ ], 8, Dt);
1061
+ }
1062
+ const Ht = /* @__PURE__ */ f(Ft, [["render", Rt]]), Kt = {
1063
+ directives: { maska: B },
779
1064
  name: "wra-number-input",
780
1065
  props: {
781
1066
  modelValue: {
@@ -849,22 +1134,25 @@ const $t = /* @__PURE__ */ c(vt, [["render", St], ["__scopeId", "data-v-29411b9a
849
1134
  mounted() {
850
1135
  this.maskedValue = this.modelValue, this.validate(this.modelValue);
851
1136
  }
852
- }, xt = ["for"], Mt = { class: "input-wrapper" }, Tt = {
1137
+ }, zt = ["for"], Ut = { class: "input-wrapper" }, Gt = {
853
1138
  key: 0,
854
1139
  class: "prefix"
855
- }, Ot = ["id", "value", "inputmode", "placeholder"], Wt = {
1140
+ }, Yt = ["id", "value", "inputmode", "placeholder"], Jt = {
856
1141
  key: 1,
857
1142
  class: "suffix"
858
1143
  };
859
- function Ct(t, a, e, s, r, i) {
860
- const n = C("maska");
861
- return o(), l("div", {
862
- class: _({ error: t.errorMessage != !1 })
1144
+ function Zt(t, a, e, s, r, i) {
1145
+ const o = C("maska");
1146
+ return n(), l("div", {
1147
+ class: m({ error: t.errorMessage != !1 })
863
1148
  }, [
864
- u("label", { for: e.id }, h(e.label), 9, xt),
865
- u("div", Mt, [
866
- e.prefix ? (o(), l("span", Tt, h(e.prefix), 1)) : b("", !0),
867
- I(u("input", {
1149
+ e.label ? (n(), l("label", {
1150
+ key: 0,
1151
+ for: e.id
1152
+ }, c(e.label), 9, zt)) : h("", !0),
1153
+ d("div", Ut, [
1154
+ e.prefix ? (n(), l("span", Gt, c(e.prefix), 1)) : h("", !0),
1155
+ I(d("input", {
868
1156
  id: e.id,
869
1157
  type: "text",
870
1158
  value: t.maskedValue,
@@ -873,17 +1161,17 @@ function Ct(t, a, e, s, r, i) {
873
1161
  "data-maska": "9,99#",
874
1162
  "data-maska-tokens": "9:[0-9]:repeated",
875
1163
  "data-maska-reversed": "",
876
- class: _(i.prefixPadding)
877
- }, null, 10, Ot), [
878
- [n, t.returnValue]
1164
+ class: m(i.prefixPadding)
1165
+ }, null, 10, Yt), [
1166
+ [o, t.returnValue]
879
1167
  ]),
880
- e.suffix ? (o(), l("span", Wt, h(e.suffix), 1)) : b("", !0)
1168
+ e.suffix ? (n(), l("span", Jt, c(e.suffix), 1)) : h("", !0)
881
1169
  ]),
882
- u("p", null, h(t.errorMessage), 1)
1170
+ d("p", null, c(t.errorMessage), 1)
883
1171
  ], 2);
884
1172
  }
885
- const Et = /* @__PURE__ */ c(It, [["render", Ct], ["__scopeId", "data-v-a4427f3c"]]), qt = {
886
- directives: { maska: E },
1173
+ const Qt = /* @__PURE__ */ f(Kt, [["render", Zt], ["__scopeId", "data-v-0bf6c71c"]]), Xt = {
1174
+ directives: { maska: B },
887
1175
  name: "wra-price-input",
888
1176
  props: {
889
1177
  modelValue: {
@@ -970,22 +1258,25 @@ const Et = /* @__PURE__ */ c(It, [["render", Ct], ["__scopeId", "data-v-a4427f3c
970
1258
  mounted() {
971
1259
  this.maskedValue = this.modelValue, this.validate(this.modelValue);
972
1260
  }
973
- }, jt = ["for"], Bt = { class: "input-wrapper" }, Lt = {
1261
+ }, ea = ["for"], ta = { class: "input-wrapper" }, aa = {
974
1262
  key: 0,
975
1263
  class: "prefix"
976
- }, Ft = ["id", "value", "inputmode", "placeholder"], At = {
1264
+ }, sa = ["id", "value", "inputmode", "placeholder"], ia = {
977
1265
  key: 1,
978
1266
  class: "suffix"
979
1267
  };
980
- function Pt(t, a, e, s, r, i) {
981
- const n = C("maska");
982
- return o(), l("div", {
983
- class: _({ error: t.errorMessage != !1 })
1268
+ function ra(t, a, e, s, r, i) {
1269
+ const o = C("maska");
1270
+ return n(), l("div", {
1271
+ class: m({ error: t.errorMessage != !1 })
984
1272
  }, [
985
- u("label", { for: e.id }, h(e.label), 9, jt),
986
- u("div", Bt, [
987
- e.prefix ? (o(), l("span", Lt, h(e.prefix), 1)) : b("", !0),
988
- I(u("input", {
1273
+ e.label ? (n(), l("label", {
1274
+ key: 0,
1275
+ for: e.id
1276
+ }, c(e.label), 9, ea)) : h("", !0),
1277
+ d("div", ta, [
1278
+ e.prefix ? (n(), l("span", aa, c(e.prefix), 1)) : h("", !0),
1279
+ I(d("input", {
989
1280
  id: e.id,
990
1281
  type: "text",
991
1282
  value: t.maskedValue,
@@ -993,140 +1284,254 @@ function Pt(t, a, e, s, r, i) {
993
1284
  placeholder: e.placeholder,
994
1285
  "data-maska": "0.99",
995
1286
  "data-maska-tokens": "0:\\d:multiple|9:\\d:optional",
996
- class: _(i.prefixPadding)
997
- }, null, 10, Ft), [
998
- [n, t.returnValue, t.mask]
1287
+ class: m(i.prefixPadding)
1288
+ }, null, 10, sa), [
1289
+ [o, t.returnValue, t.mask]
999
1290
  ]),
1000
- e.suffix ? (o(), l("span", At, h(e.suffix), 1)) : b("", !0)
1291
+ e.suffix ? (n(), l("span", ia, c(e.suffix), 1)) : h("", !0)
1001
1292
  ]),
1002
- u("p", null, h(t.errorMessage), 1)
1293
+ d("p", null, c(t.errorMessage), 1)
1003
1294
  ], 2);
1004
1295
  }
1005
- const Dt = /* @__PURE__ */ c(qt, [["render", Pt], ["__scopeId", "data-v-710257d0"]]), Nt = {
1006
- directives: { maska: E },
1007
- name: "wra-text-input",
1296
+ const na = /* @__PURE__ */ f(Xt, [["render", ra], ["__scopeId", "data-v-4b9c8bb8"]]), la = {
1297
+ name: "wra-radio",
1008
1298
  props: {
1009
- modelValue: {
1299
+ groupName: {
1010
1300
  type: String,
1011
1301
  required: !0
1012
1302
  },
1013
- label: {
1014
- type: String
1303
+ option: {
1304
+ type: Array,
1305
+ required: !0
1015
1306
  },
1016
- id: {
1307
+ isChecked: {
1308
+ type: Boolean,
1309
+ required: !0
1310
+ }
1311
+ }
1312
+ }, oa = ["for"], da = ["name", "value", "id", "checked", "aria-checked"], ua = { class: "radio-text" }, ca = ["innerHTML"];
1313
+ function ha(t, a, e, s, r, i) {
1314
+ return n(), l("div", null, [
1315
+ d("label", {
1316
+ for: e.groupName + "-" + e.option.value,
1317
+ class: "radio-label"
1318
+ }, [
1319
+ d("input", {
1320
+ type: "radio",
1321
+ name: e.groupName,
1322
+ value: e.option.value,
1323
+ id: e.groupName + "-" + e.option.value,
1324
+ onChange: a[0] || (a[0] = (o) => t.$parent.$emit("update:modelValue", e.option.value)),
1325
+ class: "radio-input",
1326
+ checked: e.isChecked == "true",
1327
+ "aria-checked": e.isChecked
1328
+ }, null, 40, da),
1329
+ d("span", ua, [
1330
+ d("p", null, c(e.option.label), 1),
1331
+ e.option.info ? (n(), l("p", {
1332
+ key: 0,
1333
+ class: "further-information-text",
1334
+ innerHTML: e.option.info
1335
+ }, null, 8, ca)) : h("", !0)
1336
+ ])
1337
+ ], 8, oa)
1338
+ ]);
1339
+ }
1340
+ const fa = /* @__PURE__ */ f(la, [["render", ha], ["__scopeId", "data-v-20fce2e7"]]), pa = {
1341
+ name: "wra-radio-group",
1342
+ props: {
1343
+ groupName: {
1017
1344
  type: String,
1018
- required: !0,
1019
- default: "textInput"
1345
+ required: !0
1020
1346
  },
1021
- inputmode: {
1022
- type: String,
1023
- default: "text"
1347
+ modelValue: {
1348
+ type: String
1024
1349
  },
1025
- rules: {},
1026
- dataMaska: {},
1027
- dataMaskaTokens: {},
1028
- placeholder: {
1350
+ options: {
1351
+ type: Array,
1352
+ required: !0
1353
+ },
1354
+ label: {
1355
+ type: String
1356
+ },
1357
+ hint: {
1029
1358
  type: String
1030
1359
  }
1031
1360
  },
1032
- data() {
1033
- return {
1034
- errorMessage: "",
1035
- firstValidation: !0
1036
- };
1361
+ methods: {
1362
+ checkInput: function(t) {
1363
+ return t == this.modelValue ? "true" : "false";
1364
+ }
1365
+ },
1366
+ components: {
1367
+ WraRadio: fa
1368
+ }
1369
+ }, ma = ["aria-label", "aria-describedby"];
1370
+ function ka(t, a, e, s, r, i) {
1371
+ const o = G("wra-radio");
1372
+ return n(), l("div", {
1373
+ role: "radiogroup",
1374
+ "aria-label": e.label,
1375
+ "aria-describedby": e.hint
1376
+ }, [
1377
+ (n(!0), l(g, null, y(e.options, (u) => (n(), D(o, {
1378
+ groupName: e.groupName,
1379
+ option: u,
1380
+ key: u.value,
1381
+ class: "radio",
1382
+ isChecked: i.checkInput(u.value)
1383
+ }, null, 8, ["groupName", "option", "isChecked"]))), 128))
1384
+ ], 8, ma);
1385
+ }
1386
+ const ba = /* @__PURE__ */ f(pa, [["render", ka], ["__scopeId", "data-v-5568c917"]]), _a = {
1387
+ name: "wra-select",
1388
+ props: {
1389
+ modelValue: {
1390
+ required: !0
1391
+ },
1392
+ items: {
1393
+ required: !0,
1394
+ type: Array
1395
+ },
1396
+ itemValue: {
1397
+ required: !0,
1398
+ type: String
1399
+ },
1400
+ itemLabel: {
1401
+ required: !0,
1402
+ type: String
1403
+ },
1404
+ id: {},
1405
+ name: {},
1406
+ required: {},
1407
+ label: {}
1037
1408
  },
1038
1409
  methods: {
1039
1410
  validate(t) {
1040
- if (this.$emit("update:modelValue", t), this.errorMessage = "", this.rules != null)
1041
- for (let a = 0; a < this.rules.length; a++) {
1042
- const e = this.rules[a];
1043
- let s = e(t);
1044
- if (s != !0) {
1045
- this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
1046
- break;
1047
- }
1048
- }
1049
- if (this.errorMessage == "" && this.$emit("valid", { id: this.id, value: !0 }), this.firstValidation == !0 && (this.firstValidation = !1, this.errorMessage != "")) {
1050
- this.errorMessage = "";
1411
+ this.$emit("update:modelValue", t);
1412
+ let a = this.items.some((e) => this.checkForObjectValue(e) == t);
1413
+ if (this.required == !0 && a == !1) {
1414
+ this.$emit("valid", { id: this.id || this.name, value: !1 });
1051
1415
  return;
1052
1416
  }
1417
+ this.$emit("valid", { id: this.id || this.name, value: !0 });
1418
+ },
1419
+ checkForObjectValue(t) {
1420
+ return typeof t == "object" ? t[this.itemValue] : t;
1421
+ },
1422
+ checkForObjectLabel(t) {
1423
+ return typeof t == "object" ? t[this.itemLabel] : t;
1053
1424
  }
1054
1425
  },
1055
1426
  mounted() {
1056
1427
  this.validate(this.modelValue);
1057
1428
  },
1058
1429
  emits: ["update:modelValue", "valid"]
1059
- }, Rt = ["for"], Kt = ["id", "data-maska", "dataMaskaTokens", "value", "inputmode", "placeholder"];
1060
- function Ht(t, a, e, s, r, i) {
1061
- const n = C("maska");
1062
- return o(), l("div", {
1063
- class: _({ error: r.errorMessage != !1 })
1064
- }, [
1065
- u("label", { for: e.id }, h(e.label), 9, Rt),
1066
- I(u("input", {
1067
- id: e.id,
1068
- type: "text",
1069
- "data-maska": e.dataMaska,
1070
- dataMaskaTokens: e.dataMaskaTokens,
1071
- value: e.modelValue,
1072
- onInput: a[0] || (a[0] = (d) => i.validate(d.target.value)),
1073
- inputmode: e.inputmode || "text",
1074
- placeholder: e.placeholder
1075
- }, null, 40, Kt), [
1076
- [n]
1077
- ]),
1078
- u("p", null, h(r.errorMessage), 1)
1079
- ], 2);
1430
+ }, Z = (t) => (P("data-v-b3b8a61e"), t = t(), F(), t), ga = ["for"], va = { class: "select" }, ya = ["id", "value"], wa = /* @__PURE__ */ Z(() => /* @__PURE__ */ d("option", {
1431
+ value: "",
1432
+ selected: "",
1433
+ disabled: "",
1434
+ hidden: ""
1435
+ }, "-", -1)), Va = ["value", "selected"], Sa = { key: 0 }, $a = { key: 1 }, Ia = /* @__PURE__ */ Z(() => /* @__PURE__ */ d("span", { class: "focus" }, null, -1));
1436
+ function xa(t, a, e, s, r, i) {
1437
+ return n(), l(g, null, [
1438
+ d("label", {
1439
+ for: e.id || e.name
1440
+ }, c(e.label), 9, ga),
1441
+ d("div", va, [
1442
+ d("select", {
1443
+ id: e.id || e.name,
1444
+ value: e.modelValue,
1445
+ onChange: a[0] || (a[0] = (o) => i.validate(o.target.value))
1446
+ }, [
1447
+ wa,
1448
+ (n(!0), l(g, null, y(e.items, (o) => (n(), l("option", {
1449
+ value: i.checkForObjectValue(o),
1450
+ selected: e.modelValue == i.checkForObjectValue(o)
1451
+ }, [
1452
+ t.$slots.label ? (n(), l("span", Sa, [
1453
+ b(t.$slots, "label", { item: o }, void 0, !0)
1454
+ ])) : (n(), l("span", $a, c(i.checkForObjectLabel(o)), 1))
1455
+ ], 8, Va))), 256))
1456
+ ], 40, ya),
1457
+ Ia
1458
+ ])
1459
+ ], 64);
1080
1460
  }
1081
- const zt = /* @__PURE__ */ c(Nt, [["render", Ht], ["__scopeId", "data-v-de5da846"]]), Ut = {
1082
- name: "wra-icon",
1461
+ const Ma = /* @__PURE__ */ f(_a, [["render", xa], ["__scopeId", "data-v-b3b8a61e"]]), Ta = {
1462
+ name: "wra-service-logo",
1083
1463
  props: {
1084
- /** Name of icon from material design icons by pictogrammers */
1085
- icon: {
1464
+ serviceLogo: {
1086
1465
  type: String,
1087
1466
  required: !0
1088
1467
  },
1089
- /** Width of icon */
1090
- width: {
1091
- type: Number,
1092
- default: 24
1093
- },
1094
- /** Height of icon */
1095
- height: {
1096
- type: Number,
1097
- default: 24
1468
+ label: {
1469
+ type: String,
1470
+ required: !0
1098
1471
  },
1099
- /** Override default viewbox, the size and postion of the SVG, that is calculated from height and width. */
1100
- viewBox: {
1472
+ alt: {
1101
1473
  type: String,
1102
- default: "0 0 24 24"
1474
+ required: !0
1103
1475
  },
1104
- /** Defines the colour of the outline of the icon; */
1105
- stroke: {
1476
+ href: {
1106
1477
  type: String
1107
1478
  },
1108
- /** Defines the colour of the icon */
1109
- fill: {
1479
+ height: {
1480
+ type: [String, Number]
1481
+ }
1482
+ }
1483
+ }, Wa = ["href", "aria-label"], Oa = ["src", "height", "alt"];
1484
+ function Ca(t, a, e, s, r, i) {
1485
+ return n(), l("a", {
1486
+ href: e.href,
1487
+ target: "_blank",
1488
+ rel: "noopener noreferrer",
1489
+ "aria-label": e.label,
1490
+ class: "service-link"
1491
+ }, [
1492
+ d("img", {
1493
+ src: e.serviceLogo,
1494
+ height: e.height,
1495
+ class: "service-logo",
1496
+ alt: e.alt
1497
+ }, null, 8, Oa)
1498
+ ], 8, Wa);
1499
+ }
1500
+ const Ba = /* @__PURE__ */ f(Ta, [["render", Ca], ["__scopeId", "data-v-0ba072f4"]]), Ea = {
1501
+ name: "wra-simple-table",
1502
+ props: {
1503
+ inheritBackground: {
1504
+ type: Boolean,
1505
+ default: !1
1506
+ },
1507
+ caption: {
1110
1508
  type: String
1509
+ },
1510
+ leftAlignHeaders: {
1511
+ type: Boolean,
1512
+ default: !0
1111
1513
  }
1112
1514
  }
1113
- }, Gt = ["width", "height", "viewBox", "stroke", "fill"], Yt = ["d"];
1114
- function Jt(t, a, e, s, r, i) {
1115
- return o(), l("svg", {
1116
- width: e.width + "px",
1117
- height: e.height + "px",
1118
- viewBox: e.viewBox,
1119
- stroke: e.stroke,
1120
- fill: e.fill
1515
+ }, qa = {
1516
+ key: 0,
1517
+ class: "wra-table-caption"
1518
+ };
1519
+ function ja(t, a, e, s, r, i) {
1520
+ return n(), l("table", {
1521
+ class: m(["wra-table", {
1522
+ "wra-table-inherit": e.inheritBackground,
1523
+ "left-align-headers": e.leftAlignHeaders
1524
+ }])
1121
1525
  }, [
1122
- u("path", {
1123
- d: e.icon,
1124
- width: "100%",
1125
- height: "100%"
1126
- }, null, 8, Yt)
1127
- ], 8, Gt);
1526
+ e.caption ? (n(), l("caption", qa, [
1527
+ b(t.$slots, "caption", {}, () => [
1528
+ O(c(e.caption), 1)
1529
+ ])
1530
+ ])) : h("", !0),
1531
+ b(t.$slots, "default")
1532
+ ], 2);
1128
1533
  }
1129
- const Zt = /* @__PURE__ */ c(Ut, [["render", Jt]]), Qt = {
1534
+ const Aa = /* @__PURE__ */ f(Ea, [["render", ja]]), La = {
1130
1535
  name: "wra-snackbar",
1131
1536
  emits: ["update:visible"],
1132
1537
  props: {
@@ -1188,107 +1593,135 @@ const Zt = /* @__PURE__ */ c(Ut, [["render", Jt]]), Qt = {
1188
1593
  };
1189
1594
  }
1190
1595
  }
1191
- }, X = (t) => (A("data-v-d365ea40"), t = t(), P(), t), Xt = { class: "snackbar-content" }, ea = /* @__PURE__ */ X(() => /* @__PURE__ */ u("span", { class: "sr-only" }, "Close", -1)), ta = /* @__PURE__ */ X(() => /* @__PURE__ */ u("div", { class: "close-icon-line-one" }, [
1192
- /* @__PURE__ */ u("div", { class: "close-icon-line-two" })
1193
- ], -1)), aa = [
1194
- ea,
1195
- ta
1596
+ }, Q = (t) => (P("data-v-d365ea40"), t = t(), F(), t), Pa = { class: "snackbar-content" }, Fa = /* @__PURE__ */ Q(() => /* @__PURE__ */ d("span", { class: "sr-only" }, "Close", -1)), Da = /* @__PURE__ */ Q(() => /* @__PURE__ */ d("div", { class: "close-icon-line-one" }, [
1597
+ /* @__PURE__ */ d("div", { class: "close-icon-line-two" })
1598
+ ], -1)), Na = [
1599
+ Fa,
1600
+ Da
1196
1601
  ];
1197
- function sa(t, a, e, s, r, i) {
1198
- return o(), F(U, { name: "snackbar" }, {
1199
- default: G(() => [
1200
- t.showSnackbar ? (o(), l("div", {
1602
+ function Ra(t, a, e, s, r, i) {
1603
+ return n(), D(z, { name: "snackbar" }, {
1604
+ default: U(() => [
1605
+ t.showSnackbar ? (n(), l("div", {
1201
1606
  key: 0,
1202
1607
  role: "alert",
1203
1608
  "aria-live": "polite",
1204
- class: _(["snackbar snackbar-flex", e.type])
1609
+ class: m(["snackbar snackbar-flex", e.type])
1205
1610
  }, [
1206
- u("div", Xt, [
1207
- k(t.$slots, "default", {}, () => [
1208
- D(h(e.label), 1)
1611
+ d("div", Pa, [
1612
+ b(t.$slots, "default", {}, () => [
1613
+ O(c(e.label), 1)
1209
1614
  ], !0)
1210
1615
  ]),
1211
- e.showClose ? (o(), l("div", {
1616
+ e.showClose ? (n(), l("div", {
1212
1617
  key: 0,
1213
1618
  class: "close-icon-wrapper",
1214
1619
  tabindex: "0",
1215
- onClick: a[0] || (a[0] = (...n) => i.closeSnackbar && i.closeSnackbar(...n)),
1216
- onKeyup: a[1] || (a[1] = g((...n) => i.closeSnackbar && i.closeSnackbar(...n), ["enter"]))
1217
- }, aa, 32)) : b("", !0)
1218
- ], 2)) : b("", !0)
1620
+ onClick: a[0] || (a[0] = (...o) => i.closeSnackbar && i.closeSnackbar(...o)),
1621
+ onKeyup: a[1] || (a[1] = v((...o) => i.closeSnackbar && i.closeSnackbar(...o), ["enter"]))
1622
+ }, Na, 32)) : h("", !0)
1623
+ ], 2)) : h("", !0)
1219
1624
  ]),
1220
1625
  _: 3
1221
1626
  });
1222
1627
  }
1223
- const ia = /* @__PURE__ */ c(Qt, [["render", sa], ["__scopeId", "data-v-d365ea40"]]), ra = {
1224
- name: "wra-expansion-panel",
1628
+ const Ha = /* @__PURE__ */ f(La, [["render", Ra], ["__scopeId", "data-v-d365ea40"]]), Ka = {
1629
+ name: "wra-subheader",
1225
1630
  props: {
1226
- title: {
1227
- type: String,
1228
- required: !0
1229
- },
1230
- ariaTitle: {
1231
- type: String,
1232
- required: !0
1233
- },
1234
1631
  color: {
1235
1632
  type: String
1236
1633
  }
1237
1634
  },
1238
- data() {
1239
- return {
1240
- showPanel: !1
1241
- };
1242
- },
1243
1635
  computed: {
1244
1636
  style() {
1245
1637
  return {
1246
1638
  color: this.color
1247
1639
  };
1248
1640
  }
1249
- },
1250
- methods: {
1251
- togglePanel() {
1252
- this.showPanel = !this.showPanel;
1641
+ }
1642
+ };
1643
+ function za(t, a, e, s, r, i) {
1644
+ return n(), l("div", {
1645
+ class: "subheader",
1646
+ style: K(i.style)
1647
+ }, [
1648
+ b(t.$slots, "default", {}, void 0, !0)
1649
+ ], 4);
1650
+ }
1651
+ const Ua = /* @__PURE__ */ f(Ka, [["render", za], ["__scopeId", "data-v-c5d10b79"]]), Ga = {
1652
+ name: "wra-table",
1653
+ props: {
1654
+ inheritBackground: {
1655
+ type: Boolean,
1656
+ default: !1
1657
+ },
1658
+ caption: {
1659
+ type: String
1660
+ },
1661
+ headers: {
1662
+ type: Array
1663
+ },
1664
+ items: {
1665
+ type: Array
1666
+ },
1667
+ leftAlignHeaders: {
1668
+ type: Boolean,
1669
+ default: !0
1253
1670
  }
1254
1671
  }
1255
- }, na = ["aria-controls", "id"], oa = { class: "icon-wrapper" }, la = ["aria-hidden", "id"], ua = { class: "inner-panel" };
1256
- function da(t, a, e, s, r, i) {
1257
- return o(), l("div", null, [
1258
- u("button", {
1259
- "aria-controls": "expansion-content-" + e.ariaTitle,
1260
- id: "expansion-control-" + e.ariaTitle,
1261
- onClick: a[0] || (a[0] = (...n) => i.togglePanel && i.togglePanel(...n)),
1262
- style: z(i.style)
1672
+ }, Ya = {
1673
+ key: 0,
1674
+ class: "wra-table-caption"
1675
+ }, Ja = {
1676
+ id: "pivoted",
1677
+ class: "wra-table"
1678
+ }, Za = {
1679
+ key: 0,
1680
+ class: "wra-table-caption"
1681
+ };
1682
+ function Qa(t, a, e, s, r, i) {
1683
+ return n(), l(g, null, [
1684
+ d("table", {
1685
+ id: "regular",
1686
+ class: m(["wra-table", {
1687
+ "wra-table-inherit": e.inheritBackground,
1688
+ "left-align-headers": e.leftAlignHeaders
1689
+ }])
1263
1690
  }, [
1264
- D(h(e.title) + " ", 1),
1265
- u("span", oa, [
1266
- u("span", {
1267
- class: _(["panel-icon", {
1268
- "show-panel-icon": r.showPanel,
1269
- "hide-panel-icon": !r.showPanel
1270
- }])
1271
- }, null, 2)
1272
- ])
1273
- ], 12, na),
1274
- ae(U, { name: "slide-fade" }, {
1275
- default: G(() => [
1276
- r.showPanel ? (o(), l("div", {
1277
- key: 0,
1278
- class: "panel-content",
1279
- "aria-hidden": !r.showPanel,
1280
- id: "content-" + e.ariaTitle
1281
- }, [
1282
- u("div", ua, [
1283
- k(t.$slots, "default", {}, void 0, !0)
1284
- ])
1285
- ], 8, la)) : b("", !0)
1691
+ e.caption ? (n(), l("caption", Ya, [
1692
+ b(t.$slots, "caption", {}, () => [
1693
+ O(c(e.caption), 1)
1694
+ ])
1695
+ ])) : h("", !0),
1696
+ d("thead", null, [
1697
+ d("tr", null, [
1698
+ (n(!0), l(g, null, y(e.headers, (o) => (n(), l("th", null, c(o.title), 1))), 256))
1699
+ ])
1286
1700
  ]),
1287
- _: 3
1288
- })
1289
- ]);
1701
+ d("tbody", null, [
1702
+ (n(!0), l(g, null, y(e.items, (o) => (n(), l("tr", null, [
1703
+ (n(!0), l(g, null, y(o, (u, p) => (n(), l("td", { key: p }, c(u), 1))), 128))
1704
+ ]))), 256))
1705
+ ])
1706
+ ], 2),
1707
+ d("table", Ja, [
1708
+ e.caption ? (n(), l("caption", Za, [
1709
+ b(t.$slots, "caption", {}, () => [
1710
+ O(c(e.caption), 1)
1711
+ ])
1712
+ ])) : h("", !0),
1713
+ (n(!0), l(g, null, y(e.items, (o) => (n(), l("tbody", {
1714
+ key: o.id
1715
+ }, [
1716
+ (n(!0), l(g, null, y(e.headers, (u, p) => (n(), l("tr", { key: p }, [
1717
+ d("th", null, c(u.title), 1),
1718
+ d("td", null, c(o[u.key]), 1)
1719
+ ]))), 128))
1720
+ ]))), 128))
1721
+ ])
1722
+ ], 64);
1290
1723
  }
1291
- const ca = /* @__PURE__ */ c(ra, [["render", da], ["__scopeId", "data-v-6993ae29"]]), ha = {
1724
+ const Xa = /* @__PURE__ */ f(Ga, [["render", Qa]]), es = {
1292
1725
  name: "wra-tab",
1293
1726
  props: {
1294
1727
  label: {
@@ -1316,13 +1749,13 @@ const ca = /* @__PURE__ */ c(ra, [["render", da], ["__scopeId", "data-v-6993ae29
1316
1749
  }
1317
1750
  }
1318
1751
  };
1319
- function pa(t, a, e, s, r, i) {
1320
- return o(), l("button", {
1752
+ function ts(t, a, e, s, r, i) {
1753
+ return n(), l("button", {
1321
1754
  ref: "tabButton",
1322
- class: _(["tab-button", e.active === !0 && "tab-button--active"])
1323
- }, h(e.label), 3);
1755
+ class: m(["tab-button", e.active === !0 && "tab-button--active"])
1756
+ }, c(e.label), 3);
1324
1757
  }
1325
- const fa = /* @__PURE__ */ c(ha, [["render", pa], ["__scopeId", "data-v-19bb5a16"]]), ma = {
1758
+ const as = /* @__PURE__ */ f(es, [["render", ts], ["__scopeId", "data-v-19bb5a16"]]), ss = {
1326
1759
  name: "wra-tabs",
1327
1760
  emits: "update:modelValue",
1328
1761
  props: {
@@ -1338,7 +1771,7 @@ const fa = /* @__PURE__ */ c(ha, [["render", pa], ["__scopeId", "data-v-19bb5a16
1338
1771
  }
1339
1772
  },
1340
1773
  components: {
1341
- Tab: fa
1774
+ Tab: as
1342
1775
  },
1343
1776
  data() {
1344
1777
  return {
@@ -1360,452 +1793,249 @@ const fa = /* @__PURE__ */ c(ha, [["render", pa], ["__scopeId", "data-v-19bb5a16
1360
1793
  created() {
1361
1794
  this.activeTab = this.modelValue;
1362
1795
  }
1363
- }, ka = { class: "tabs" };
1364
- function ba(t, a, e, s, r, i) {
1365
- const n = H("tab");
1366
- return o(), l("div", ka, [
1367
- (o(!0), l(V, null, x(e.options, (d, p) => (o(), F(n, {
1796
+ }, is = { class: "tabs" };
1797
+ function rs(t, a, e, s, r, i) {
1798
+ const o = G("tab");
1799
+ return n(), l("div", is, [
1800
+ (n(!0), l(g, null, y(e.options, (u, p) => (n(), D(o, {
1368
1801
  tabindex: p === 0 ? 0 : -1,
1369
- label: d,
1802
+ label: u,
1370
1803
  active: p === r.activeTab,
1371
1804
  focus: p === r.focusTab,
1372
- onClick: (f) => i.onTabClick(p),
1373
- onFocus: (f) => r.focusTab = p,
1805
+ onClick: (k) => i.onTabClick(p),
1806
+ onFocus: (k) => r.focusTab = p,
1374
1807
  onKeydown: [
1375
- g((f) => i.onTabClick(p), ["enter"]),
1376
- g((f) => i.onTabClick(p), ["space"]),
1377
- g((f) => i.onKeyLeft(p), ["left"]),
1378
- g((f) => i.onKeyRight(p), ["right"])
1808
+ v((k) => i.onTabClick(p), ["enter"]),
1809
+ v((k) => i.onTabClick(p), ["space"]),
1810
+ v((k) => i.onKeyLeft(p), ["left"]),
1811
+ v((k) => i.onKeyRight(p), ["right"])
1379
1812
  ]
1380
1813
  }, null, 8, ["tabindex", "label", "active", "focus", "onClick", "onFocus", "onKeydown"]))), 256))
1381
1814
  ]);
1382
1815
  }
1383
- const _a = /* @__PURE__ */ c(ma, [["render", ba], ["__scopeId", "data-v-bbf8594b"]]), ga = {
1384
- name: "wra-banner",
1816
+ const ns = /* @__PURE__ */ f(ss, [["render", rs], ["__scopeId", "data-v-bbf8594b"]]), ls = {
1817
+ name: "wra-text-area",
1385
1818
  props: {
1386
- hiddenPrint: {
1387
- type: Boolean,
1388
- default: !1
1819
+ id: {
1820
+ type: Number,
1821
+ required: !0
1389
1822
  },
1390
- newService: {
1391
- type: Boolean,
1392
- default: !1
1393
- }
1394
- }
1395
- }, va = {
1396
- key: 0,
1397
- class: "wra-banner-actions"
1398
- };
1399
- function ya(t, a, e, s, r, i) {
1400
- return o(), l("div", {
1401
- class: _(["wra-banner", {
1402
- "hidden-print": e.hiddenPrint === !0,
1403
- "new-service": e.newService === !0
1404
- }])
1405
- }, [
1406
- u("div", null, [
1407
- k(t.$slots, "default", {}, void 0, !0)
1408
- ]),
1409
- t.$slots.actions ? (o(), l("div", va, [
1410
- k(t.$slots, "actions", {}, void 0, !0)
1411
- ])) : b("", !0)
1412
- ], 2);
1413
- }
1414
- const wa = /* @__PURE__ */ c(ga, [["render", ya], ["__scopeId", "data-v-09473a78"]]), Va = {
1415
- name: "wra-divider",
1416
- props: {
1417
- /** Thickness of the divider */
1418
- thickness: {
1823
+ modelValue: {
1419
1824
  type: String,
1420
- default: "medium",
1421
- validator(t) {
1422
- return t == "large" || t == "medium" || t == "small";
1423
- }
1825
+ required: !0
1424
1826
  },
1425
- /** Aria role for the divider */
1426
- role: {
1827
+ label: {
1427
1828
  type: String,
1428
- default: "presentation"
1829
+ required: !1
1830
+ },
1831
+ rules: {
1832
+ type: Array,
1833
+ required: !1
1429
1834
  }
1430
1835
  },
1836
+ emits: ["update:modelValue", "valid"],
1431
1837
  data() {
1432
- return {};
1433
- }
1434
- }, Sa = ["role"];
1435
- function $a(t, a, e, s, r, i) {
1436
- return o(), l("hr", {
1437
- role: e.role,
1438
- class: _({
1439
- "wra-divider-large": e.thickness === "large",
1440
- "wra-divider": e.thickness === "medium",
1441
- "wra-divider-small": e.thickness === "small"
1442
- })
1443
- }, null, 10, Sa);
1444
- }
1445
- const Ia = /* @__PURE__ */ c(Va, [["render", $a], ["__scopeId", "data-v-5554eece"]]), xa = {
1446
- name: "wra-breadcrumbs",
1447
- props: {
1448
- /** Items to display in the breadcrumbs */
1449
- items: {
1450
- type: Array,
1451
- required: !0
1452
- },
1453
- /** Change the default object name in items for the breadcrumb title */
1454
- itemTitle: {
1455
- type: String,
1456
- default: "title"
1457
- },
1458
- /** Change the default object name in items for disabling the breadcrumb */
1459
- itemDisabled: {
1460
- type: String,
1461
- default: "disabled"
1462
- },
1463
- /** Change the default object name in items for the breadcrumb link */
1464
- itemHref: {
1465
- type: String,
1466
- default: "href"
1838
+ return {
1839
+ errorMessage: "",
1840
+ firstValidation: !0
1841
+ };
1842
+ },
1843
+ methods: {
1844
+ validate(t) {
1845
+ if (this.$emit("update:modelValue", t), this.errorMessage = "", this.rules != null)
1846
+ for (let a = 0; a < this.rules.length; a++) {
1847
+ const e = this.rules[a];
1848
+ let s = e(t);
1849
+ if (s != !0) {
1850
+ this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
1851
+ break;
1852
+ }
1853
+ }
1854
+ if (this.errorMessage == "" && this.$emit("valid", { id: this.id, value: !0 }), this.firstValidation == !0 && (this.firstValidation = !1, this.errorMessage != "")) {
1855
+ this.errorMessage = "";
1856
+ return;
1857
+ }
1467
1858
  }
1859
+ },
1860
+ mounted() {
1861
+ this.validate(this.modelValue);
1468
1862
  }
1469
- }, Ma = (t) => (A("data-v-99803a33"), t = t(), P(), t), Ta = { class: "wra-breadcrumbs" }, Oa = { class: "wra-breadcrumbs-item" }, Wa = ["href"], Ca = {
1470
- key: 1,
1471
- class: "wra-breadcrumbs-link--disabled"
1472
- }, Ea = {
1473
- key: 0,
1474
- class: "wra-breadcrumbs-divider"
1475
- }, qa = /* @__PURE__ */ Ma(() => /* @__PURE__ */ u("span", { class: "wra-breadcrumbs-chevron" }, null, -1));
1476
- function ja(t, a, e, s, r, i) {
1477
- return o(), l("ul", Ta, [
1478
- (o(!0), l(V, null, x(e.items, (n, d) => (o(), l(V, null, [
1479
- u("li", Oa, [
1480
- k(t.$slots, "default", {}, () => [
1481
- n[e.itemDisabled] ? (o(), l("span", Ca, h(n[e.itemTitle]), 1)) : (o(), l("a", {
1482
- key: 0,
1483
- href: n[e.itemHref],
1484
- class: "wra-breadcrumbs-link"
1485
- }, h(n[e.itemTitle]), 9, Wa))
1486
- ], !0)
1487
- ]),
1488
- d !== e.items.length - 1 ? (o(), l("li", Ea, [
1489
- k(t.$slots, "divider", {}, () => [
1490
- qa
1491
- ], !0)
1492
- ])) : b("", !0)
1493
- ], 64))), 256))
1494
- ]);
1863
+ }, os = ["for"], ds = ["id", "value"];
1864
+ function us(t, a, e, s, r, i) {
1865
+ return n(), l("div", {
1866
+ class: m({ error: r.errorMessage != !1 })
1867
+ }, [
1868
+ e.label ? (n(), l("label", {
1869
+ key: 0,
1870
+ for: e.id
1871
+ }, c(e.label), 9, os)) : h("", !0),
1872
+ d("textarea", {
1873
+ rows: "5",
1874
+ id: e.id,
1875
+ value: e.modelValue,
1876
+ onInput: a[0] || (a[0] = (o) => i.validate(o.target.value))
1877
+ }, null, 40, ds),
1878
+ d("p", null, c(r.errorMessage), 1)
1879
+ ], 2);
1495
1880
  }
1496
- const Ba = /* @__PURE__ */ c(xa, [["render", ja], ["__scopeId", "data-v-99803a33"]]), La = {
1497
- name: "wra-autocomplete",
1498
- emits: ["update:modelValue"],
1881
+ const cs = /* @__PURE__ */ f(ls, [["render", us], ["__scopeId", "data-v-5633552a"]]), hs = {
1882
+ directives: { maska: B },
1883
+ name: "wra-text-input",
1499
1884
  props: {
1500
1885
  modelValue: {
1501
- type: Object
1886
+ type: String,
1887
+ required: !0
1502
1888
  },
1503
- /** Label for autocomplete */
1504
1889
  label: {
1505
1890
  type: String
1506
1891
  },
1507
- /** Input's ID tag */
1508
1892
  id: {
1509
- type: String
1510
- },
1511
- /** Options for autocomplete list */
1512
- options: {
1513
- type: Object,
1514
- required: !0
1515
- },
1516
- /** Change the default object name in options for the data */
1517
- optionValue: {
1518
1893
  type: String,
1519
- default: "value"
1894
+ required: !0,
1895
+ default: "textInput"
1520
1896
  },
1521
- /** Change the default object name in options for the displayed value */
1522
- optionLabel: {
1897
+ inputmode: {
1523
1898
  type: String,
1524
- default: "label"
1525
- },
1526
- /** Mininum number of characters before the list appears */
1527
- minLength: {
1528
- type: Number,
1529
- default: 1
1899
+ default: "text"
1530
1900
  },
1531
- /** If list should automatically expand when input is focused */
1532
- autoExpand: {
1533
- type: Boolean,
1534
- default: !1
1901
+ rules: {},
1902
+ dataMaska: {},
1903
+ dataMaskaTokens: {},
1904
+ placeholder: {
1905
+ type: String
1535
1906
  }
1536
1907
  },
1537
- data: () => ({
1538
- userInput: {},
1539
- hasFocus: !1,
1540
- listHasFocus: !1,
1541
- optionIndex: null
1542
- }),
1908
+ data() {
1909
+ return {
1910
+ errorMessage: "",
1911
+ firstValidation: !0
1912
+ };
1913
+ },
1543
1914
  methods: {
1544
- onInputTyping() {
1545
- this.optionIndex = null, this.userInput[this.optionValue] = this.getInputValue, this.$emit("update:modelValue", this.userInput);
1546
- },
1547
- onOptionSelect(t) {
1548
- (t == null ? void 0 : t.clickable) !== !1 && (this.userInput = t, this.userInput = Object.assign({}, t), this.$emit("update:modelValue", this.userInput));
1549
- },
1550
- onBlur() {
1551
- this.listHasFocus === !1 && (this.hasFocus = !1);
1552
- },
1553
- onOptionBlur(t) {
1554
- t === this.optionIndex && (this.hasFocus = !1, this.listHasFocus = !1);
1555
- },
1556
- onUpKey() {
1557
- if (!(this.optionsHasMatches === !1 || this.showOptions === !1)) {
1558
- if (this.optionIndex === 0)
1559
- this.optionIndex = null, this.listHasFocus = !1, this.$refs.autocompleteInput.focus();
1560
- else if (this.optionIndex > 0) {
1561
- this.optionIndex--, this.listHasFocus = !0;
1562
- const t = `option${this.optionIndex}`;
1563
- this.$refs[t][0].focus();
1915
+ validate(t) {
1916
+ if (this.$emit("update:modelValue", t), this.errorMessage = "", this.rules != null)
1917
+ for (let a = 0; a < this.rules.length; a++) {
1918
+ const e = this.rules[a];
1919
+ let s = e(t);
1920
+ if (s != !0) {
1921
+ this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
1922
+ break;
1923
+ }
1564
1924
  }
1565
- }
1566
- },
1567
- onDownKey() {
1568
- if (this.optionsHasMatches === !1 || this.showOptions === !1)
1925
+ if (this.errorMessage == "" && this.$emit("valid", { id: this.id, value: !0 }), this.firstValidation == !0 && (this.firstValidation = !1, this.errorMessage != "")) {
1926
+ this.errorMessage = "";
1569
1927
  return;
1570
- this.optionIndex === null ? this.optionIndex = 0 : this.optionIndex < this.filterOptions.length - 1 && this.optionIndex++, this.listHasFocus = !0;
1571
- const t = `option${this.optionIndex}`;
1572
- this.$refs[t][0].focus();
1928
+ }
1573
1929
  }
1574
1930
  },
1575
- computed: {
1576
- showOptions() {
1577
- const t = this.options.some(
1578
- (s) => s[this.optionLabel] === this.userInput[this.optionLabel]
1579
- ), a = this.userInput[this.optionLabel].length >= this.minLength;
1580
- return t !== !0 && this.hasFocus === !0 && (this.autoExpand === !0 || a === !0);
1581
- },
1582
- filterOptions() {
1583
- const t = this.options.filter(
1584
- (a) => a.label.toLowerCase().includes(this.getInputValue)
1585
- );
1586
- return t.length > 0 ? t : this.autoExpand === !0 ? this.options : (t.push({
1587
- [this.optionLabel]: "No results found",
1588
- [this.optionValue]: "",
1589
- clickable: !1
1590
- }), t);
1591
- },
1592
- optionsHasMatches() {
1593
- return this.filterOptions.every(
1594
- (t) => Object.hasOwn(t, "clickable") ? t.clickable === !0 : !0
1595
- );
1596
- },
1597
- getInputValue() {
1598
- return this.userInput[this.optionLabel].toLowerCase();
1599
- }
1931
+ mounted() {
1932
+ this.validate(this.modelValue);
1600
1933
  },
1601
- created() {
1602
- if (this.modelValue && Object.keys(this.modelValue).length >= 2) {
1603
- this.userInput = this.modelValue;
1604
- return;
1605
- }
1606
- this.userInput[this.optionLabel] = "", this.userInput[this.optionValue] = "";
1607
- }
1608
- }, Fa = { class: "autocomplete" }, Aa = ["for"], Pa = ["id"], Da = {
1609
- role: "listbox",
1610
- class: "autocomplete-list"
1611
- }, Na = ["onMousedown", "onKeydown", "onBlur"];
1612
- function Ra(t, a, e, s, r, i) {
1613
- return o(), l("div", Fa, [
1614
- u("label", {
1615
- for: e.id,
1616
- class: "autocomplete-label"
1617
- }, h(e.label), 9, Aa),
1618
- I(u("input", {
1619
- ref: "autocompleteInput",
1620
- "onUpdate:modelValue": a[0] || (a[0] = (n) => t.userInput[e.optionLabel] = n),
1621
- role: "combobox",
1622
- inputmode: "text",
1934
+ emits: ["update:modelValue", "valid"]
1935
+ }, fs = ["for"], ps = ["id", "data-maska", "dataMaskaTokens", "value", "inputmode", "placeholder"];
1936
+ function ms(t, a, e, s, r, i) {
1937
+ const o = C("maska");
1938
+ return n(), l("div", {
1939
+ class: m({ error: r.errorMessage != !1 })
1940
+ }, [
1941
+ e.label ? (n(), l("label", {
1942
+ key: 0,
1943
+ for: e.id
1944
+ }, c(e.label), 9, fs)) : h("", !0),
1945
+ I(d("input", {
1623
1946
  id: e.id,
1624
- class: _(["autocomplete-input", { "autocomplete-input--focus": t.hasFocus }]),
1625
- "aria-owns": "autocomplete-list",
1626
- autocomplete: "off",
1627
- onInput: a[1] || (a[1] = (n) => i.onInputTyping()),
1628
- onFocus: a[2] || (a[2] = (n) => t.hasFocus = !0),
1629
- onBlur: a[3] || (a[3] = (...n) => i.onBlur && i.onBlur(...n)),
1630
- onKeydown: [
1631
- a[4] || (a[4] = g($((...n) => i.onUpKey && i.onUpKey(...n), ["prevent"]), ["up"])),
1632
- a[5] || (a[5] = g($((...n) => i.onDownKey && i.onDownKey(...n), ["prevent"]), ["down"]))
1633
- ]
1634
- }, null, 42, Pa), [
1635
- [se, t.userInput[e.optionLabel]]
1947
+ type: "text",
1948
+ "data-maska": e.dataMaska,
1949
+ dataMaskaTokens: e.dataMaskaTokens,
1950
+ value: e.modelValue,
1951
+ onInput: a[0] || (a[0] = (u) => i.validate(u.target.value)),
1952
+ inputmode: e.inputmode || "text",
1953
+ placeholder: e.placeholder
1954
+ }, null, 40, ps), [
1955
+ [o]
1636
1956
  ]),
1637
- I(u("ul", Da, [
1638
- (o(!0), l(V, null, x(i.filterOptions, (n, d) => (o(), l("li", {
1639
- ref_for: !0,
1640
- ref: `option${d}`,
1641
- tabindex: "-1",
1642
- class: _({
1643
- "autocomplete-item-not-clickable": n.clickable === !1,
1644
- "autocomplete-item--focus": d === t.optionIndex
1645
- }),
1646
- onMousedown: (p) => i.onOptionSelect(n),
1647
- onKeydown: [
1648
- a[6] || (a[6] = g($((...p) => i.onUpKey && i.onUpKey(...p), ["prevent"]), ["up"])),
1649
- a[7] || (a[7] = g($((...p) => i.onDownKey && i.onDownKey(...p), ["prevent"]), ["down"])),
1650
- g($((p) => i.onOptionSelect(n), ["prevent"]), ["enter"]),
1651
- g($((p) => i.onOptionSelect(n), ["prevent"]), ["space"])
1652
- ],
1653
- onBlur: (p) => i.onOptionBlur(d)
1654
- }, h(n[e.optionLabel]), 43, Na))), 256))
1655
- ], 512), [
1656
- [ie, i.showOptions]
1657
- ])
1658
- ]);
1659
- }
1660
- const Ka = /* @__PURE__ */ c(La, [["render", Ra], ["__scopeId", "data-v-7085f41c"]]), Ha = {
1661
- name: "wra-simple-table",
1662
- props: {
1663
- inheritBackground: {
1664
- type: Boolean,
1665
- default: !1
1666
- },
1667
- caption: {
1668
- type: String
1669
- },
1670
- leftAlignHeaders: {
1671
- type: Boolean,
1672
- default: !0
1673
- }
1674
- }
1675
- }, za = {
1676
- key: 0,
1677
- class: "wra-table-caption"
1678
- };
1679
- function Ua(t, a, e, s, r, i) {
1680
- return o(), l("table", {
1681
- class: _(["wra-table", {
1682
- "wra-table-inherit": e.inheritBackground,
1683
- "left-align-headers": e.leftAlignHeaders
1684
- }])
1685
- }, [
1686
- e.caption ? (o(), l("caption", za, [
1687
- k(t.$slots, "caption", {}, () => [
1688
- D(h(e.caption), 1)
1689
- ])
1690
- ])) : b("", !0),
1691
- k(t.$slots, "default")
1957
+ d("p", null, c(r.errorMessage), 1)
1692
1958
  ], 2);
1693
1959
  }
1694
- const Ga = /* @__PURE__ */ c(Ha, [["render", Ua]]), Ya = {
1695
- name: "wra-service-logo",
1960
+ const ks = /* @__PURE__ */ f(hs, [["render", ms], ["__scopeId", "data-v-274d2c94"]]), bs = {
1961
+ name: "wra-validation-tooltip",
1696
1962
  props: {
1697
- serviceLogo: {
1698
- type: String,
1699
- required: !0
1700
- },
1701
- label: {
1702
- type: String,
1703
- required: !0
1704
- },
1705
- alt: {
1963
+ type: {
1706
1964
  type: String,
1707
1965
  required: !0
1708
- },
1709
- href: {
1710
- type: String
1711
- },
1712
- height: {
1713
- type: [String, Number]
1714
- }
1715
- }
1716
- }, Ja = ["href", "aria-label"], Za = ["src", "height", "alt"];
1717
- function Qa(t, a, e, s, r, i) {
1718
- return o(), l("a", {
1719
- href: e.href,
1720
- target: "_blank",
1721
- rel: "noopener noreferrer",
1722
- "aria-label": e.label,
1723
- class: "service-link"
1724
- }, [
1725
- u("img", {
1726
- src: e.serviceLogo,
1727
- height: e.height,
1728
- class: "service-logo",
1729
- alt: e.alt
1730
- }, null, 8, Za)
1731
- ], 8, Ja);
1732
- }
1733
- const Xa = /* @__PURE__ */ c(Ya, [["render", Qa], ["__scopeId", "data-v-0ba072f4"]]), es = {
1734
- name: "wra-footer",
1735
- props: {
1736
- /** Display the footer when printed */
1737
- hiddenPrint: {
1738
- type: Boolean,
1739
- default: !1
1740
1966
  }
1741
1967
  }
1742
1968
  };
1743
- function ts(t, a, e, s, r, i) {
1744
- return o(), l("footer", {
1745
- class: _(["wra-footer", { "hidden-print": e.hiddenPrint === !0 }])
1969
+ function _s(t, a, e, s, r, i) {
1970
+ return n(), l("div", {
1971
+ class: m(["validation-tooltip", e.type])
1746
1972
  }, [
1747
- k(t.$slots, "default", {}, void 0, !0)
1973
+ b(t.$slots, "default", {}, void 0, !0)
1748
1974
  ], 2);
1749
1975
  }
1750
- const as = /* @__PURE__ */ c(es, [["render", ts], ["__scopeId", "data-v-182e61db"]]), ss = {
1751
- WraValidationTooltip: oe,
1976
+ const gs = /* @__PURE__ */ f(bs, [["render", _s], ["__scopeId", "data-v-386ad06a"]]), vs = {
1977
+ WraAppBar: ne,
1978
+ WraAutocomplete: pe,
1979
+ WraBanner: _e,
1980
+ WraBreadcrumbs: Me,
1981
+ WraButton: Be,
1752
1982
  WraCheckbox: Y,
1753
- WraCheckboxGroup: ve,
1754
- WraContentSectionTitle: Se,
1755
- WraRadio: J,
1756
- WraRadioGroup: qe,
1757
- WraSelect: He,
1758
- WraSubheader: Ge,
1759
- WraTextArea: Xe,
1760
- WraHeader: lt,
1761
- WraButton: pt,
1762
- WraDateInput: $t,
1763
- WraNumberInput: Et,
1764
- WraPriceInput: Dt,
1765
- WraTextInput: zt,
1766
- WraIcon: Zt,
1767
- WraSnackbar: ia,
1768
- WraExpansionPanel: ca,
1769
- WraTabs: _a,
1770
- WraBanner: wa,
1771
- WraDivider: Ia,
1772
- WraBreadcrumbs: Ba,
1773
- WraAutocomplete: Ka,
1774
- WraSimpleTable: Ga,
1775
- WraServiceLogo: Xa,
1776
- WraFooter: as
1777
- }, rs = {
1983
+ WraCheckboxGroup: ze,
1984
+ WraContentSectionTitle: Je,
1985
+ WraCustomInput: ut,
1986
+ WraDateInput: kt,
1987
+ WraDivider: vt,
1988
+ WraExpansionPanel: xt,
1989
+ WraFooter: Wt,
1990
+ WraHeader: Pt,
1991
+ WraIcon: Ht,
1992
+ WraNumberInput: Qt,
1993
+ WraPriceInput: na,
1994
+ WraRadioGroup: ba,
1995
+ WraSelect: Ma,
1996
+ WraServiceLogo: Ba,
1997
+ WraSimpleTable: Aa,
1998
+ WraSnackbar: Ha,
1999
+ WraSubheader: Ua,
2000
+ WraTable: Xa,
2001
+ WraTabs: ns,
2002
+ WraTextArea: cs,
2003
+ WraTextInput: ks,
2004
+ WraValidationTooltip: gs
2005
+ }, ws = {
1778
2006
  install(t) {
1779
- for (const [a, e] of Object.entries(ss))
2007
+ for (const [a, e] of Object.entries(vs))
1780
2008
  t.component(a, e);
1781
2009
  }
1782
2010
  };
1783
2011
  export {
1784
- Ka as WraAutocomplete,
1785
- wa as WraBanner,
1786
- Ba as WraBreadcrumbs,
1787
- pt as WraButton,
2012
+ ne as WraAppBar,
2013
+ pe as WraAutocomplete,
2014
+ _e as WraBanner,
2015
+ Me as WraBreadcrumbs,
2016
+ Be as WraButton,
1788
2017
  Y as WraCheckbox,
1789
- ve as WraCheckboxGroup,
1790
- Se as WraContentSectionTitle,
1791
- $t as WraDateInput,
1792
- Ia as WraDivider,
1793
- ca as WraExpansionPanel,
1794
- as as WraFooter,
1795
- lt as WraHeader,
1796
- Zt as WraIcon,
1797
- Et as WraNumberInput,
1798
- Dt as WraPriceInput,
1799
- J as WraRadio,
1800
- qe as WraRadioGroup,
1801
- He as WraSelect,
1802
- Xa as WraServiceLogo,
1803
- Ga as WraSimpleTable,
1804
- ia as WraSnackbar,
1805
- Ge as WraSubheader,
1806
- _a as WraTabs,
1807
- Xe as WraTextArea,
1808
- zt as WraTextInput,
1809
- oe as WraValidationTootip,
1810
- rs as default
2018
+ ze as WraCheckboxGroup,
2019
+ Je as WraContentSectionTitle,
2020
+ ut as WraCustomInput,
2021
+ kt as WraDateInput,
2022
+ vt as WraDivider,
2023
+ xt as WraExpansionPanel,
2024
+ Wt as WraFooter,
2025
+ Pt as WraHeader,
2026
+ Ht as WraIcon,
2027
+ Qt as WraNumberInput,
2028
+ na as WraPriceInput,
2029
+ ba as WraRadioGroup,
2030
+ Ma as WraSelect,
2031
+ Ba as WraServiceLogo,
2032
+ Aa as WraSimpleTable,
2033
+ Ha as WraSnackbar,
2034
+ Ua as WraSubheader,
2035
+ Xa as WraTable,
2036
+ ns as WraTabs,
2037
+ cs as WraTextArea,
2038
+ ks as WraTextInput,
2039
+ gs as WraValidationTooltip,
2040
+ ws as default
1811
2041
  };