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