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