@wra-gov/vue-components 0.22.0 → 0.24.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/index.d.ts +2106 -0
- package/dist/vue-components.js +1216 -1154
- package/dist/vue-components.umd.cjs +2 -2
- package/package.json +12 -3
package/dist/vue-components.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
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 var(--color-wra-grey);font-size:18px;line-height:24px;padding:5px 20px 5px 27px}a{color:var(--color-wra-blue);font-weight:700}a:hover{color:var(--color-wra-blue);text-decoration:none}a:focus-visible{color:var(--color-wra-black);background-color:var(--color-wra-yellow);box-shadow:0 -4px var(--color-wra-yellow),0 2px var(--color-wra-black);outline:2px solid transparent;text-decoration:none;-webkit-box-shadow:0 -4px var(--color-wra-yellow),0 2px var(--color-wra-black)}/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--color-wra-revenue:#2a225b;--color-wra-black:#1f1f1f;--color-wra-charcoal:#323232;--color-wra-light-grey:#f1f1f1;--color-wra-grey:#e5e5e5;--color-wra-mid-grey:#b5b5b5;--color-wra-dark-grey:#666;--color-wra-light-red:#ffe4e5;--color-wra-red:#a11;--color-wra-light-blue:#c2e0fc;--color-wra-blue:#0360a6;--color-wra-mid-blue:#3b7dc5;--color-wra-dark-blue:#1f446d;--color-wra-light-green:#cdf7d4;--color-wra-green:#007015;--color-wra-light-yellow:#fff5ce;--color-wra-yellow:#ffd530}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-4{margin-top:calc(var(--spacing)*4)}.contents{display:contents}.hidden{display:none}.table{display:table}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.bg-wra-blue{background-color:var(--color-wra-blue)}.bg-wra-light-blue{background-color:var(--color-wra-light-blue)}.bg-wra-red{background-color:var(--color-wra-red)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-wrap{text-wrap:wrap}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}[data-v-dc0e7a07],[data-v-dc0e7a07]:before,[data-v-dc0e7a07]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-app-bar[data-v-dc0e7a07]{background-color:var(--color-wra-charcoal);font-size:18px;color:#fff;padding:20px;border:none;height:75px}@media print{.hidden-print[data-v-dc0e7a07]{display:none}}[data-v-5bb9da83],[data-v-5bb9da83]:before,[data-v-5bb9da83]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.autocomplete-input[data-v-5bb9da83]{font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}.autocomplete-input[data-v-5bb9da83]:disabled{opacity:.3}.autocomplete-input--focus[data-v-5bb9da83]{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}.autocomplete-label[data-v-5bb9da83]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}.autocomplete-list[data-v-5bb9da83]{position:absolute;display:block;list-style-type:none;z-index:1;padding:0;border:1px solid var(--color-wra-black);border-top:0px;width:100%;max-height:200px;background:var(--color-wra-light-grey);overflow-y:auto}.autocomplete-list>li[data-v-5bb9da83]{font-size:16px;padding:2px 10px;border-bottom:1px solid var(--color-wra-black);cursor:pointer}.autocomplete-list>li[data-v-5bb9da83]:last-child{border-bottom:0px}.autocomplete-list>li[data-v-5bb9da83]:nth-child(2n){background:#fff}ul.autocomplete-list>li[data-v-5bb9da83]:hover,ul.autocomplete-list>li.autocomplete-item--focus[data-v-5bb9da83]{background:var(--color-wra-blue);color:#fff}.autocomplete-item-not-clickable[data-v-5bb9da83]{cursor:not-allowed}.autocomplete[data-v-5bb9da83]{position:relative}[data-v-94b786a8],[data-v-94b786a8]:before,[data-v-94b786a8]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-banner[data-v-94b786a8]{background-color:var(--color-wra-light-grey);font-size:18px;color:var(--color-wra-black);padding:20px;border:none;position:relative}.new-service[data-v-94b786a8]{background-color:var(--color-wra-yellow)}.new-service[data-v-94b786a8] a{color:var(--color-wra-black)}.new-service[data-v-94b786a8] a:focus{color:#fff;background-color:var(--color-wra-black);box-shadow:0 -4px var(--color-wra-black),0 2px #fff;-webkit-box-shadow:0 -4px var(--color-wra-black),0 2px #ffffff}.wra-banner-actions[data-v-94b786a8]{padding-top:16px;display:flex;row-gap:10px;column-gap:14px;flex-wrap:wrap}.wra-banner-close[data-v-94b786a8]{background:none;border:none;font-size:26px;font-weight:700;color:var(--color-wra-black);cursor:pointer;position:absolute;top:15px;right:15px;height:30px}.wra-banner-close[data-v-94b786a8]:hover{opacity:.6;transition:all .3s ease}.wra-banner-close[data-v-94b786a8]:focus{background-color:var(--color-wra-yellow);outline:2px solid var(--color-wra-black)}.wra-banner-close[data-v-94b786a8]:focus:hover{opacity:1}.closable-padding[data-v-94b786a8]{padding-right:44px}@media print{.hidden-print[data-v-94b786a8]{display:none}}[data-v-26b6a965],[data-v-26b6a965]:before,[data-v-26b6a965]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px;padding-inline-start:0px}.wra-breadcrumbs[data-v-26b6a965]{display:flex;flex-direction:row;list-style:none}.wra-breadcrumbs-item[data-v-26b6a965]{font-size:16px}.wra-breadcrumbs-item[data-v-26b6a965]:not(:last-of-type){margin-right:10px}.wra-breadcrumbs-divider[data-v-26b6a965]{display:flex;align-items:center;justify-content:center;margin-right:12px;color:var(--color-wra-dark-grey)}.wra-breadcrumbs-link--disabled[data-v-26b6a965]{color:var(--color-wra-dark-grey)}.wra-breadcrumbs-link[data-v-26b6a965]{text-decoration:none;font-weight:700;color:var(--color-wra-revenue)}.wra-breadcrumbs-link[data-v-26b6a965]:hover{opacity:.8}.wra-breadcrumbs-link[data-v-26b6a965]:focus{opacity:1;color:var(--color-wra-black)}.wra-breadcrumbs-chevron[data-v-26b6a965]{content:" ";display:inline-block;border:solid var(--color-wra-dark-grey);border-width:3.5px 3.5px 0px 0px;padding:2.5px;vertical-align:middle;transform:rotate(45deg);-webkit-transform:rotate(45deg)}button[data-v-b8b8bfe8]{color:#fff;font-weight:700;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center}button[data-v-b8b8bfe8]:hover{background-color:var(--color-wra-dark-grey);transition:all .3s ease}button[data-v-b8b8bfe8]:focus{color:var(--color-wra-black)!important;background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}button[data-v-b8b8bfe8]:disabled{cursor:not-allowed;opacity:.7;background-color:var(--color-wra-charcoal)}button[data-v-b8b8bfe8]:disabled:hover{opacity:.7;background-color:var(--color-wra-charcoal)}button.outlined-button[data-v-b8b8bfe8]:disabled{color:#fff}.icon[data-v-b8b8bfe8]{display:flex;align-items:center;justify-content:center}.prepend-icon-wrapper[data-v-b8b8bfe8]{margin-right:8px}.append-icon-wrapper[data-v-b8b8bfe8]{margin-left:8px}.wra-black[data-v-b8b8bfe8]{background-color:var(--color-wra-black)}.wra-black[data-v-b8b8bfe8]:hover{background-color:var(--color-wra-dark-grey)}.wra-blue[data-v-b8b8bfe8]{background-color:var(--color-wra-blue)}.wra-blue[data-v-b8b8bfe8]:hover{background-color:#3571b1}.wra-red[data-v-b8b8bfe8]{background-color:var(--color-wra-red)}.wra-red[data-v-b8b8bfe8]:hover{background-color:#d81f1f}.wra-green[data-v-b8b8bfe8]{background-color:var(--color-wra-green)}.wra-green[data-v-b8b8bfe8]:hover{background-color:#008a19}.wra-revenue[data-v-b8b8bfe8]{background-color:var(--color-wra-revenue)}.wra-revenue[data-v-b8b8bfe8]:hover{background-color:#55507b}.wra-white[data-v-b8b8bfe8]{background-color:#fff;color:var(--color-wra-black);outline:2px solid var(--color-wra-black)}.wra-white[data-v-b8b8bfe8]:hover{background-color:var(--color-wra-grey)}.wra-white[data-v-b8b8bfe8]:disabled{color:#fff}.default-button[data-v-b8b8bfe8]{font-size:16px;padding:10px 20px;line-height:24px}.small-button[data-v-b8b8bfe8]{font-size:14px;padding:5px 15px;line-height:24px}.outlined-button[data-v-b8b8bfe8]{background-color:transparent;outline:2px solid var(--color-prop, var(--color-wra-black));color:var(--color-prop, var(--color-wra-black))}.outlined-button[data-v-b8b8bfe8]:hover{background-color:var(--color-prop, var(--color-wra-black));color:#fff;transition:all .3s ease}.wra-button:focus>.icon>svg{fill:var(--color-wra-black)}.card[data-v-7de2c8b6]{background-color:var(--color-wra-light-grey);padding:20px 24px}.checkbox-label[data-v-ad0c7146]{background:var(--color-wra-grey);padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-ad0c7146]:hover{background:var(--color-wra-mid-grey)}.checkbox-input[data-v-ad0c7146]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:var(--color-wra-black);width:20px;height:20px;border:1px solid var(--color-wra-black);border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-ad0c7146]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:var(--color-wra-black);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-ad0c7146]:checked:before{transform:scale(1)}.checkbox-input[data-v-ad0c7146]:focus{outline:2px solid var(--color-wra-black);background-color:var(--color-wra-yellow)}.checkbox-input[data-v-ad0c7146]:focus-visible{outline-offset:0px}.checkbox-text[data-v-ad0c7146]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-ad0c7146]{font-size:14px}p[data-v-ad0c7146]{margin:0}.checkbox[data-v-c51ef964]:not(:last-child):not(:only-child){margin-bottom:8px}.checkbox-label[data-v-c51ef964]{background:var(--color-wra-grey);padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-c51ef964]:hover{background:var(--color-wra-mid-grey)}.checkbox-input[data-v-c51ef964]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:var(--color-wra-black);width:20px;height:20px;border:1px solid var(--color-wra-black);border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-c51ef964]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:var(--color-wra-black);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-c51ef964]:checked:before{transform:scale(1)}.checkbox-input[data-v-c51ef964]:focus{outline:2px solid var(--color-wra-black);background-color:var(--color-wra-yellow)}.checkbox-input[data-v-c51ef964]:focus-visible{outline-offset:0px}.checkbox-text[data-v-c51ef964]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-c51ef964]{font-size:14px}p[data-v-c51ef964]{margin:0}.content-section-title[data-v-c737967a]{border-bottom:2px solid var(--color-wra-grey);border-top:10px solid var(--color-wra-grey);padding-bottom:20px;padding-top:30px}[data-v-5b640ba7],[data-v-5b640ba7]:before,[data-v-5b640ba7]:after{box-sizing:border-box}.input-wrapper[data-v-5b640ba7]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-5b640ba7]{padding:10px 0 10px 10px;font-size:16px}.suffix[data-v-5b640ba7]{padding:10px 10px 10px 0;font-size:16px;z-index:1}.input-wrapper input[data-v-5b640ba7]{font-size:16px;background-color:transparent;line-height:1.15;width:100%;outline:none}.padding-for-prefix[data-v-5b640ba7]{padding:10px 6px}.padding-for-no-prefix[data-v-5b640ba7]{padding:10px}.input-wrapper[data-v-5b640ba7]:focus-within{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}input[data-v-5b640ba7]{border:none}label[data-v-5b640ba7]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-5b640ba7]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}.bold[data-v-2cdb0a4c]{font-weight:700}.wra-data-table-caption[data-v-2cdb0a4c]{background-color:inherit;text-align:left;padding:0 0 16px;font-weight:700;font-size:20px}.wra-data-table[data-v-2cdb0a4c]{width:100%;border-spacing:0;line-height:20px;padding:0;table-layout:auto}.wra-data-table>thead>tr>th[data-v-2cdb0a4c]{border-bottom:2px solid var(--color-wra-dark-grey)}.wra-data-table>tbody>tr>td[data-v-2cdb0a4c],.wra-data-table>tbody>tr>th[data-v-2cdb0a4c]{border-bottom:1px solid var(--color-wra-dark-grey)}.wra-data-table td[data-v-2cdb0a4c],.wra-data-table th[data-v-2cdb0a4c]{padding:16px}.wra-data-table>thead>tr>th[data-v-2cdb0a4c]:first-child,.wra-data-table>tbody>tr>td[data-v-2cdb0a4c]:first-child{padding-left:0}.wra-data-table>thead>tr>th[data-v-2cdb0a4c]:last-child,.wra-data-table>tbody>tr>td[data-v-2cdb0a4c]:last-child{padding-right:0}.column-search-input[data-v-2cdb0a4c]{margin-top:12px;box-sizing:border-box;font-size:16px;padding:10px;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}.column-search-input[data-v-2cdb0a4c]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}button[data-v-2cdb0a4c]{background-color:var(--color-wra-black);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:5px 12px;height:32px}button[data-v-2cdb0a4c]:hover{opacity:.8;transition:all .3s ease}button[data-v-2cdb0a4c]:focus{background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}button[data-v-2cdb0a4c]:focus:hover{opacity:1}.wra-chevron[data-v-2cdb0a4c]{content:" ";display:inline-block;padding:3px;vertical-align:middle;transform:rotate(45deg);-webkit-transform:rotate(45deg)}.wra-chevron-right[data-v-2cdb0a4c]{border:solid #ffffff;border-width:3px 3px 0px 0px}.wra-chevron-left[data-v-2cdb0a4c]{border:solid #ffffff;border-width:0px 0px 3px 3px}.wra-chevron-up[data-v-2cdb0a4c]{border:solid var(--color-wra-black);border-width:3px 0px 0px 3px;margin-left:4px;margin-top:3px}.wra-chevron-down[data-v-2cdb0a4c]{border:solid var(--color-wra-black);border-width:0px 3px 3px 0px;margin-left:4px;margin-bottom:6px}button:focus>.wra-chevron-right[data-v-2cdb0a4c]{border:solid var(--color-wra-black);border-width:3px 3px 0px 0px}button:focus>.wra-chevron-left[data-v-2cdb0a4c]{border:solid var(--color-wra-black);border-width:0px 0px 3px 3px}.clickable[data-v-2cdb0a4c]{cursor:pointer}tbody.clickable[data-v-2cdb0a4c]:hover{background-color:var(--color-wra-light-grey)}.sort-icons[data-v-2cdb0a4c]{visibility:hidden;opacity:.4}th:hover .sort-icons[data-v-2cdb0a4c]{visibility:visible}.text-left[data-v-2cdb0a4c]{text-align:left}.text-right[data-v-2cdb0a4c]{text-align:right}.text-center[data-v-2cdb0a4c]{text-align:center}.pagination[data-v-2cdb0a4c]{display:flex;align-items:center;justify-content:flex-end;padding:16px 0 0}.pagination button[data-v-2cdb0a4c]{margin-left:10px}.disable-button[data-v-2cdb0a4c]{opacity:.4}.disable-button[data-v-2cdb0a4c]:hover{opacity:.4;cursor:default}.loader[data-v-2cdb0a4c]{width:40px;height:40px;border:5px solid grey;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation-2cdb0a4c 1s linear infinite}@keyframes rotation-2cdb0a4c{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-v-015240fd],[data-v-015240fd]:before,[data-v-015240fd]:after{box-sizing:border-box}input[data-v-015240fd]{font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}input[data-v-015240fd]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}label[data-v-015240fd]{color:var(--color-wra-black);font-size:16px;display:block;width:100%;margin-bottom:4px}div.error>p[data-v-015240fd]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}div[data-v-6feb6611]{font-weight:700}h1[data-v-6feb6611]{margin:0;font-size:48px;letter-spacing:-.05rem;line-height:52px}h2[data-v-6feb6611]{margin:0;font-size:36px;letter-spacing:-.04rem;line-height:40px}h3[data-v-6feb6611]{margin:0;font-size:28px;letter-spacing:-.03rem;line-height:32px}h4[data-v-6feb6611]{margin:0;font-size:24px;letter-spacing:-.03rem;line-height:28px}h5[data-v-6feb6611]{margin:0;font-size:22px;letter-spacing:-.02rem;line-height:26px}h6[data-v-6feb6611]{margin:0;font-size:18px;letter-spacing:-.01rem;line-height:24px}@media (max-width: 600px){h1[data-v-6feb6611]{margin:0;font-size:34px;letter-spacing:-.05rem;line-height:38px}h2[data-v-6feb6611]{margin:0;font-size:28px;letter-spacing:-.04rem;line-height:32px}h3[data-v-6feb6611]{margin:0;font-size:24px;letter-spacing:-.03rem;line-height:28px}h4[data-v-6feb6611]{margin:0;font-size:20px;letter-spacing:-.03rem;line-height:24px}h5[data-v-6feb6611]{margin:0;font-size:18px;letter-spacing:-.02rem;line-height:22px}h6[data-v-6feb6611]{margin:0;font-size:14px;letter-spacing:-.01rem;line-height:18px}}.dialog-class[data-v-7b5e24d0]{z-index:9999}.dialog-content[data-v-7b5e24d0]{min-width:300px;max-width:90vw;text-align:center}.dialog-buttons[data-v-7b5e24d0]{margin-top:16px;display:flex;justify-content:space-evenly}dialog.dialog-class::backdrop{background:#0000004d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}hr[data-v-adda45c5]{margin:0}.wra-divider[data-v-adda45c5]{border:3px solid var(--color-wra-grey)}.wra-divider-large[data-v-adda45c5]{border:4px solid var(--color-wra-grey)}.wra-divider-small[data-v-adda45c5]{border:2px solid var(--color-wra-grey)}.panel-icon[data-v-4cb2edc7]{content:" ";display:inline-block;border:solid var(--color-wra-black);border-width:3px 3px 0px 0px;padding:4px;vertical-align:middle;transition:transform .2s ease-out}.icon-wrapper[data-v-4cb2edc7]{margin-left:8px}.show-panel-icon[data-v-4cb2edc7]{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);margin-top:3px}.hide-panel-icon[data-v-4cb2edc7]{transform:rotate(135deg);-webkit-transform:rotate(135deg);margin-top:-5px}.expansion-button[data-v-4cb2edc7]{display:flex;justify-content:space-between}button[data-v-4cb2edc7]{font-size:18px;font-weight:700;padding:15px 20px;background-color:transparent;color:var(--color-wra-revenue);border:none;border-left:2px solid var(--color-wra-mid-grey);cursor:pointer;width:100%;text-align:left}button[data-v-4cb2edc7]:hover{opacity:.8}button[data-v-4cb2edc7]:focus{color:var(--color-wra-black)!important;background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:-2px;border-color:var(--color-wra-yellow)}button[data-v-4cb2edc7]:focus:hover{opacity:1}.panel-content[data-v-4cb2edc7]{display:grid;border-left:2px solid var(--color-wra-mid-grey);background:transparent;padding:15px 20px;grid-template-rows:1fr}.inner-panel[data-v-4cb2edc7]{overflow:hidden}.slide-fade-enter-active[data-v-4cb2edc7],.slide-fade-leave-active[data-v-4cb2edc7]{transition:grid-template-rows .3s ease-out}.slide-fade-enter-from[data-v-4cb2edc7],.slide-fade-leave-to[data-v-4cb2edc7]{grid-template-rows:0fr}.validation-tooltip[data-v-04d7c0aa]{display:flex;align-items:flex-start;color:var(--color-wra-black);border-radius:0;font-size:18px;padding:25px}.wra-error[data-v-04d7c0aa]{background-color:var(--color-wra-light-red);border-left:10px solid var(--color-wra-red)}.wra-success[data-v-04d7c0aa]{background-color:var(--color-wra-light-green);border-left:10px solid var(--color-wra-green)}.wra-info[data-v-04d7c0aa]{background-color:var(--color-wra-light-blue);border-left:10px solid var(--color-wra-blue)}.wra-warning[data-v-04d7c0aa]{background-color:var(--color-wra-light-yellow);border-left:10px solid var(--color-wra-yellow)}.icon[data-v-04d7c0aa]{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}.custom-icon-wrapper[data-v-04d7c0aa]{margin-right:12px}.file-upload-wrapper[data-v-da8c427f]{display:flex;align-items:center}.file-upload-wrapper input[type=file][data-v-da8c427f]{display:none}.file-upload-label[data-v-da8c427f]{display:block;margin-bottom:10px;font-size:16px}.file-name[data-v-da8c427f]{margin:0 10px;font-size:14px}.file-upload-error-box[data-v-da8c427f]{margin-bottom:16px}.file-upload-error-text[data-v-da8c427f]{margin-block:0px;font-size:16px}.file-upload-error-box>.file-upload-error-text[data-v-da8c427f]{margin-bottom:1rem}.file-upload-error-box>.file-upload-error-text[data-v-da8c427f]:last-child{margin-bottom:0rem}.error-enter-active[data-v-da8c427f],.error-leave-active[data-v-da8c427f]{transition:opacity .3s ease-out}.error-enter-from[data-v-da8c427f],.error-leave-to[data-v-da8c427f]{opacity:0}.wra-footer[data-v-f78a0985]{flex-grow:0;background-color:var(--color-wra-light-grey);padding:70px 20px 40px}@media print{.hidden-print[data-v-f78a0985]{display:none}}.wra-inset[data-v-f32082c4]{font-size:16px;padding:20px;border-left-width:10px;border-left-style:solid}.wra-inset.wra-revenue[data-v-f32082c4]{border-left-color:var(--color-wra-revenue)}.wra-inset.wra-charcoal[data-v-f32082c4]{border-left-color:var(--color-wra-charcoal)}.wra-inset.wra-red[data-v-f32082c4]{border-left-color:var(--color-wra-red)}.wra-inset.wra-blue[data-v-f32082c4]{border-left-color:var(--color-wra-blue)}.wra-inset.wra-green[data-v-f32082c4]{border-left-color:var(--color-wra-green)}.wra-inset.wra-yellow[data-v-f32082c4]{border-left-color:var(--color-wra-yellow)}[data-v-93248f45],[data-v-93248f45]:before,[data-v-93248f45]:after{box-sizing:border-box}.input-wrapper[data-v-93248f45]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-93248f45]{padding:10px 0 10px 10px;font-size:16px}.suffix[data-v-93248f45]{padding:10px 10px 10px 0;font-size:16px;z-index:1}.input-wrapper input[data-v-93248f45]{font-size:16px;background-color:transparent;line-height:1.15;width:100%;outline:none}.padding-for-prefix[data-v-93248f45]{padding:10px 6px}.padding-for-no-prefix[data-v-93248f45]{padding:10px}.input-wrapper[data-v-93248f45]:focus-within{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}input[data-v-93248f45]{border:none}label[data-v-93248f45]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-93248f45]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}.pagination-button[data-v-b8adcc77]{background-color:transparent;color:var(--color-wra-revenue);font-weight:700;border:none;cursor:pointer;font-size:18px}.pagination-button[data-v-b8adcc77]>*:first-child{margin-right:8px}.pagination-button[data-v-b8adcc77]:hover,.pagination-number[data-v-b8adcc77]:hover{text-decoration:none;opacity:.8;transition:all .3s ease}.pagination-button[data-v-b8adcc77]:focus,.pagination-number[data-v-b8adcc77]:focus{color:var(--color-wra-black);background-color:var(--color-wra-yellow);outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}.pagination-button[data-v-b8adcc77]:focus:hover,.pagination-number[data-v-b8adcc77]:focus:hover{opacity:1}.pagination-number[data-v-b8adcc77]{color:var(--color-wra-black);background-color:var(--color-wra-light-grey);padding:8px;font-weight:700;border:none;font-size:18px;cursor:pointer;min-width:3rem;text-align:center}.pagination-number[data-v-b8adcc77]:hover{color:var(--color-wra-black);opacity:.8}.pagination-number--selected[data-v-b8adcc77]{background-color:var(--color-wra-revenue);color:#fff}.pagination-number--selected[data-v-b8adcc77]:hover:not(:focus){color:#fff}.pagination-divider[data-v-b8adcc77]{font-size:18px}.pagination[data-v-b8adcc77]{display:flex;justify-content:center;align-items:center;gap:10px}.pagination-icon[data-v-b8adcc77]{content:" ";display:inline-block;border:solid currentColor;padding:4px;vertical-align:middle;transform:rotate(-135deg);-webkit-transform:rotate(-135deg);margin-bottom:3px}.previous-icon[data-v-b8adcc77]{border-width:3px 3px 0px 0px}.next-icon[data-v-b8adcc77]{border-width:0px 0px 3px 3px}[data-v-e66a36da],[data-v-e66a36da]:before,[data-v-e66a36da]:after{box-sizing:border-box}.input-wrapper[data-v-e66a36da]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-e66a36da]{padding:10px 0 10px 10px;font-size:16px}.suffix[data-v-e66a36da]{padding:10px 10px 10px 0;font-size:16px;z-index:1}.input-wrapper input[data-v-e66a36da]{font-size:16px;background-color:transparent;line-height:1.15;width:100%;outline:none}.padding-for-prefix[data-v-e66a36da]{padding:10px 6px}.padding-for-no-prefix[data-v-e66a36da]{padding:10px}.input-wrapper[data-v-e66a36da]:focus-within{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}input[data-v-e66a36da]{border:none}label[data-v-e66a36da]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-e66a36da]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}.radio-label[data-v-d18916d1]{background:var(--color-wra-grey);padding:20px;min-height:24px;display:flex;cursor:pointer;display:grid;grid-template-columns:20px auto}.radio-label[data-v-d18916d1]:hover{background:var(--color-wra-mid-grey)}.radio-input[data-v-d18916d1]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:var(--color-wra-black);width:20px;height:20px;border:1px solid var(--color-wra-black);border-radius:50%;transform:translateY(1px);display:grid;place-content:center}.radio-input[data-v-d18916d1]:before{content:"";width:12px;height:12px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;background-color:var(--color-wra-black)}.radio-input[data-v-d18916d1]:checked:before{transform:scale(1)}.radio-input[data-v-d18916d1]:focus{outline:2px solid var(--color-wra-black);background-color:var(--color-wra-yellow)}.radio-input[data-v-d18916d1]:focus-visible{outline-offset:0px}.radio-text[data-v-d18916d1]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-d18916d1]{font-size:14px}p[data-v-d18916d1]{margin:0}.radio[data-v-b72f445c]:not(:last-child):not(:only-child){margin-bottom:8px}[data-v-e700f97c],[data-v-e700f97c]:before,[data-v-e700f97c]:after{box-sizing:border-box}select[data-v-e700f97c]{-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:10px}.select[data-v-e700f97c]{border:1px solid var(--color-wra-black);border-radius:0;padding-right:10px;font-size:16px;cursor:pointer;line-height:1.15;background-color:#fff;display:grid;grid-template-areas:"select";align-items:center;position:relative}.select[data-v-e700f97c]:after{content:"";width:.8em;height:.5em;background-color:var(--color-wra-black);clip-path:polygon(100% 0%,0 0%,50% 100%);justify-self:end}select[data-v-e700f97c],.select[data-v-e700f97c]:after{grid-area:select}select:focus+.focus[data-v-e700f97c]{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border:2px solid var(--color-wra-black);outline:3px solid var(--color-wra-yellow);border-radius:inherit}label[data-v-e700f97c]{color:var(--color-wra-black);font-size:16px}.service-logo[data-v-c9a7cc51]{max-width:100%}.service-link[data-v-c9a7cc51]{border:transparent solid 2px;outline:transparent solid 2px;display:block;padding:2px;line-height:.8;outline-offset:0}.service-link[data-v-c9a7cc51]:focus{border:2px solid var(--color-wra-yellow);outline:2px solid var(--color-wra-black);background:transparent;box-shadow:none;-webkit-box-shadow:none}.wra-simple-table-wrapper{padding:0 16px 16px;background-color:var(--color-wra-light-grey)}.wra-simple-table-no-padding{padding:0!important}.left-align-headers{text-align:left}.wra-simple-table-caption{background-color:inherit;text-align:left;padding:16px 16px 16px 0;font-weight:700;font-size:20px}.wra-simple-table{width:100%;line-height:20px;color:var(--color-wra-black);border-spacing:0;table-layout:auto}.wra-simple-table-inherit{background-color:inherit}.wra-simple-table>thead>tr>th{border-bottom:2px solid var(--color-wra-dark-grey)}.wra-simple-table>tbody>tr>td,.wra-simple-table>tbody>tr>th{border-bottom:1px solid var(--color-wra-dark-grey)}.wra-simple-table td,.wra-simple-table th{padding:16px}.wra-simple-table>thead>tr>th:first-child,.wra-simple-table>tbody>tr>th:first-child,.wra-simple-table>tbody>tr>td:first-child{padding-left:0}.wra-simple-table>thead>tr>th:last-child,.wra-simple-table>tbody>tr>th:last-child,.wra-simple-table>tbody>tr>td:last-child{padding-right:0}.skip-link[data-v-7a92cb77]:not(:focus):not(:active){clip:rect(0 0 0 0)!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:0!important;overflow:hidden!important;padding:0!important;position:absolute!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap!important;width:1px!important}.skip-link[data-v-7a92cb77]{background-color:var(--color-wra-grey);color:var(--color-wra-black);font-weight:700;border:none;cursor:pointer;padding:10px;font-size:1em}.skip-link[data-v-7a92cb77]:focus{color:var(--color-wra-black)!important;background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}.skip-link-full-width[data-v-7a92cb77]{width:100%;text-align:left}.skip-link-full-width[data-v-7a92cb77]:focus{outline-width:0px;border-width:0px}[data-v-778a02a7],[data-v-778a02a7]:before,[data-v-778a02a7]:after{box-sizing:border-box;padding-block:0px;padding-inline:0px}.snackbar[data-v-778a02a7]{background:var(--color-wra-light-grey);font-size:18px;padding:20px;border-left:5px solid var(--color-wra-dark-grey);position:fixed;left:50%;transform:translate(-50%);bottom:16px;width:40%}.snackbar-flex[data-v-778a02a7]{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-778a02a7]{width:80%}}.snackbar-content[data-v-778a02a7]{text-wrap:wrap}.close-icon-wrapper[data-v-778a02a7]{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:24px;height:24px;cursor:pointer}.close-icon-wrapper[data-v-778a02a7]:hover{opacity:.8;transition:opacity .3s ease}.close-icon-wrapper[data-v-778a02a7]:focus{background-color:var(--color-wra-yellow);outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}.close-icon-wrapper[data-v-778a02a7]:focus:hover{opacity:1}.close-icon-line-one[data-v-778a02a7]{height:24px;width:4px;margin-left:10px;background-color:#000;transform:rotate(45deg)}.close-icon-line-two[data-v-778a02a7]{height:24px;width:4px;background-color:#000;transform:rotate(90deg)}.wra-error[data-v-778a02a7]{background-color:var(--color-wra-light-red);border-color:var(--color-wra-red)}.wra-success[data-v-778a02a7]{background-color:var(--color-wra-light-green);border-color:var(--color-wra-green)}.wra-info[data-v-778a02a7]{background-color:var(--color-wra-light-blue);border-color:var(--color-wra-blue)}.wra-warning[data-v-778a02a7]{background-color:var(--color-wra-light-yellow);border-color:var(--color-wra-yellow)}.sr-only[data-v-778a02a7]{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-778a02a7],.snackbar-leave-active[data-v-778a02a7]{transition:opacity .3s ease-out}.snackbar-enter-from[data-v-778a02a7],.snackbar-leave-to[data-v-778a02a7]{opacity:0}.subheader[data-v-8d2c773f]{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}}.bold{font-weight:700}.wra-table-caption{background-color:inherit;text-align:left;padding:16px;font-weight:700;font-size:20px}.caption-no-padding{padding:0 0 16px!important}.wra-table{width:100%;line-height:20px;background-color:var(--color-wra-light-grey);color:var(--color-wra-black);border-spacing:0;padding:0 16px 16px;table-layout:auto}.wra-table-no-padding{padding:0!important}.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 var(--color-wra-dark-grey)}.wra-table>tbody>tr>td,.wra-table>tbody>tr>th{border-bottom:1px solid var(--color-wra-dark-grey)}.wra-table td,.wra-table th{padding:16px}.wra-table>thead>tr>th:first-child,.wra-table>tbody>tr>td:first-child{padding-left:0}.wra-table>thead>tr>th:last-child,.wra-table>tbody>tr>td:last-child{padding-right:0}#pivoted{table-layout:fixed;text-align:left}#pivoted>tbody>tr:last-child>td,#pivoted>tbody>tr:last-child>th{border-bottom:1px solid var(--color-wra-dark-grey)}#pivoted>tbody>tr:not(:last-child)>td,#pivoted>tbody>tr:not(:last-child)>th{border-bottom:none}#pivoted>tbody>tr>th{padding-left:0}#pivoted table{width:100%}#pivoted>table>tr>th,#pivoted>table>tr>td{width:50%}[data-v-90cdb825]{box-sizing:border-box;border:none}.tab-button[data-v-90cdb825]{border-top:6px solid var(--color-wra-blue);font-size:24px;font-weight:700;color:var(--color-wra-light-blue);background:var(--color-wra-dark-blue);padding:20px;margin-left:15px;margin-top:40px;cursor:pointer}.tab-button[data-v-90cdb825]:hover:not(.tab-button--active){background:var(--color-wra-mid-blue);color:#fff}.tab-button.tab-button--active[data-v-90cdb825]:focus{border-color:var(--color-wra-black);box-shadow:2px 0 0 0 var(--color-wra-black) inset,-2px -2px 0 0 var(--color-wra-black) inset}.tab-button--active[data-v-90cdb825]{background:#fff;color:var(--color-wra-black);border-top:6px solid var(--color-wra-mid-grey)}.tab-button[data-v-90cdb825]:focus{border-top:6px solid var(--color-wra-blue);color:var(--color-wra-black);background:var(--color-wra-yellow);box-shadow:2px 2px 0 0 var(--color-wra-black) inset,-2px -2px 0 0 var(--color-wra-black) inset;outline-style:none}@media (max-width: 768px){.tab-button[data-v-90cdb825]{margin-left:10px;margin-top:20px;font-size:20px;padding:15px}}.tabs[data-v-a505540c]{background-color:var(--color-wra-blue);width:100%}[data-v-34ec88e9],[data-v-34ec88e9]:before,[data-v-34ec88e9]:after{box-sizing:border-box}textarea[data-v-34ec88e9]{font-family:Arial,Helvetica,Nimbus Sans L,sans-serif;font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}textarea[data-v-34ec88e9]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}label[data-v-34ec88e9]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-34ec88e9]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}[data-v-bbfa1a0a],[data-v-bbfa1a0a]:before,[data-v-bbfa1a0a]:after{box-sizing:border-box}input[data-v-bbfa1a0a]{font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}input[data-v-bbfa1a0a]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}label[data-v-bbfa1a0a]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-bbfa1a0a]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}')),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
const
|
|
4
|
-
const e = t.__vccOpts || t;
|
|
5
|
-
for (const [r, n] of a)
|
|
6
|
-
e[r] = n;
|
|
7
|
-
return e;
|
|
8
|
-
}, ne = {
|
|
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 var(--color-wra-grey);font-size:18px;line-height:24px;padding:5px 20px 5px 27px}a{color:var(--color-wra-blue);font-weight:700}a:hover{color:var(--color-wra-blue);text-decoration:none}a:focus-visible{color:var(--color-wra-black);background-color:var(--color-wra-yellow);box-shadow:0 -4px var(--color-wra-yellow),0 2px var(--color-wra-black);outline:2px solid transparent;text-decoration:none;-webkit-box-shadow:0 -4px var(--color-wra-yellow),0 2px var(--color-wra-black)}/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--color-wra-revenue:#2a225b;--color-wra-black:#1f1f1f;--color-wra-charcoal:#323232;--color-wra-light-grey:#f1f1f1;--color-wra-grey:#e5e5e5;--color-wra-mid-grey:#b5b5b5;--color-wra-dark-grey:#666;--color-wra-light-red:#ffe4e5;--color-wra-red:#a11;--color-wra-light-blue:#c2e0fc;--color-wra-blue:#0360a6;--color-wra-mid-blue:#3b7dc5;--color-wra-dark-blue:#1f446d;--color-wra-light-green:#cdf7d4;--color-wra-green:#007015;--color-wra-light-yellow:#fff5ce;--color-wra-yellow:#ffd530}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-4{margin-top:calc(var(--spacing)*4)}.contents{display:contents}.hidden{display:none}.table{display:table}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.bg-wra-blue{background-color:var(--color-wra-blue)}.bg-wra-light-blue{background-color:var(--color-wra-light-blue)}.bg-wra-red{background-color:var(--color-wra-red)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-wrap{text-wrap:wrap}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}[data-v-a67304e8],[data-v-a67304e8]:before,[data-v-a67304e8]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-app-bar[data-v-a67304e8]{background-color:var(--color-wra-charcoal);font-size:18px;color:#fff;padding:20px;border:none;height:75px}@media print{.hidden-print[data-v-a67304e8]{display:none}}[data-v-c6c55768],[data-v-c6c55768]:before,[data-v-c6c55768]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.autocomplete-input[data-v-c6c55768]{font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}.autocomplete-input[data-v-c6c55768]:disabled{opacity:.3}.autocomplete-input--focus[data-v-c6c55768]{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}.autocomplete-label[data-v-c6c55768]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}.autocomplete-list[data-v-c6c55768]{position:absolute;display:block;list-style-type:none;z-index:1;padding:0;border:1px solid var(--color-wra-black);border-top:0px;width:100%;max-height:200px;background:var(--color-wra-light-grey);overflow-y:auto}.autocomplete-list>li[data-v-c6c55768]{font-size:16px;padding:2px 10px;border-bottom:1px solid var(--color-wra-black);cursor:pointer}.autocomplete-list>li[data-v-c6c55768]:last-child{border-bottom:0px}.autocomplete-list>li[data-v-c6c55768]:nth-child(2n){background:#fff}ul.autocomplete-list>li[data-v-c6c55768]:hover,ul.autocomplete-list>li.autocomplete-item--focus[data-v-c6c55768]{background:var(--color-wra-blue);color:#fff}.autocomplete-item-not-clickable[data-v-c6c55768]{cursor:not-allowed}.autocomplete[data-v-c6c55768]{position:relative}[data-v-13fdebc5],[data-v-13fdebc5]:before,[data-v-13fdebc5]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px}.wra-banner[data-v-13fdebc5]{background-color:var(--color-wra-light-grey);font-size:18px;color:var(--color-wra-black);padding:20px;border:none;position:relative}.new-service[data-v-13fdebc5]{background-color:var(--color-wra-yellow)}.new-service[data-v-13fdebc5] a{color:var(--color-wra-black)}.new-service[data-v-13fdebc5] a:focus{color:#fff;background-color:var(--color-wra-black);box-shadow:0 -4px var(--color-wra-black),0 2px #fff;-webkit-box-shadow:0 -4px var(--color-wra-black),0 2px #ffffff}.wra-banner-actions[data-v-13fdebc5]{padding-top:16px;display:flex;row-gap:10px;column-gap:14px;flex-wrap:wrap}.wra-banner-close[data-v-13fdebc5]{background:none;border:none;font-size:26px;font-weight:700;color:var(--color-wra-black);cursor:pointer;position:absolute;top:15px;right:15px;height:30px}.wra-banner-close[data-v-13fdebc5]:hover{opacity:.6;transition:all .3s ease}.wra-banner-close[data-v-13fdebc5]:focus{background-color:var(--color-wra-yellow);outline:2px solid var(--color-wra-black)}.wra-banner-close[data-v-13fdebc5]:focus:hover{opacity:1}.closable-padding[data-v-13fdebc5]{padding-right:44px}@media print{.hidden-print[data-v-13fdebc5]{display:none}}[data-v-2a897129],[data-v-2a897129]:before,[data-v-2a897129]:after{box-sizing:border-box;margin-block-start:0px;margin-block-end:0px;padding-inline-start:0px}.wra-breadcrumbs[data-v-2a897129]{display:flex;flex-direction:row;list-style:none}.wra-breadcrumbs-item[data-v-2a897129]{font-size:16px}.wra-breadcrumbs-item[data-v-2a897129]:not(:last-of-type){margin-right:10px}.wra-breadcrumbs-divider[data-v-2a897129]{display:flex;align-items:center;justify-content:center;margin-right:12px;color:var(--color-wra-dark-grey)}.wra-breadcrumbs-link--disabled[data-v-2a897129]{color:var(--color-wra-dark-grey)}.wra-breadcrumbs-link[data-v-2a897129]{text-decoration:none;font-weight:700;color:var(--color-wra-revenue)}.wra-breadcrumbs-link[data-v-2a897129]:hover{opacity:.8}.wra-breadcrumbs-link[data-v-2a897129]:focus{opacity:1;color:var(--color-wra-black)}.wra-breadcrumbs-chevron[data-v-2a897129]{content:" ";display:inline-block;border:solid var(--color-wra-dark-grey);border-width:3.5px 3.5px 0px 0px;padding:2.5px;vertical-align:middle;transform:rotate(45deg);-webkit-transform:rotate(45deg)}button[data-v-667ad3bf]{color:#fff;font-weight:700;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center}button[data-v-667ad3bf]:hover{background-color:var(--color-wra-dark-grey);transition:all .3s ease}button[data-v-667ad3bf]:focus{color:var(--color-wra-black)!important;background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}button[data-v-667ad3bf]:disabled{cursor:not-allowed;opacity:.7;background-color:var(--color-wra-charcoal)}button[data-v-667ad3bf]:disabled:hover{opacity:.7;background-color:var(--color-wra-charcoal)}button.outlined-button[data-v-667ad3bf]:disabled{color:#fff}.icon[data-v-667ad3bf]{display:flex;align-items:center;justify-content:center}.prepend-icon-wrapper[data-v-667ad3bf]{margin-right:8px}.append-icon-wrapper[data-v-667ad3bf]{margin-left:8px}.wra-black[data-v-667ad3bf]{background-color:var(--color-wra-black)}.wra-black[data-v-667ad3bf]:hover{background-color:var(--color-wra-dark-grey)}.wra-blue[data-v-667ad3bf]{background-color:var(--color-wra-blue)}.wra-blue[data-v-667ad3bf]:hover{background-color:#3571b1}.wra-red[data-v-667ad3bf]{background-color:var(--color-wra-red)}.wra-red[data-v-667ad3bf]:hover{background-color:#d81f1f}.wra-green[data-v-667ad3bf]{background-color:var(--color-wra-green)}.wra-green[data-v-667ad3bf]:hover{background-color:#008a19}.wra-revenue[data-v-667ad3bf]{background-color:var(--color-wra-revenue)}.wra-revenue[data-v-667ad3bf]:hover{background-color:#55507b}.wra-white[data-v-667ad3bf]{background-color:#fff;color:var(--color-wra-black);outline:2px solid var(--color-wra-black)}.wra-white[data-v-667ad3bf]:hover{background-color:var(--color-wra-grey)}.wra-white[data-v-667ad3bf]:disabled{color:#fff}.default-button[data-v-667ad3bf]{font-size:16px;padding:10px 20px;line-height:24px}.small-button[data-v-667ad3bf]{font-size:14px;padding:5px 15px;line-height:24px}.outlined-button[data-v-667ad3bf]{background-color:transparent;outline:2px solid var(--color-prop, var(--color-wra-black));color:var(--color-prop, var(--color-wra-black))}.outlined-button[data-v-667ad3bf]:hover{background-color:var(--color-prop, var(--color-wra-black));color:#fff;transition:all .3s ease}.wra-button:focus>.icon>svg{fill:var(--color-wra-black)}.card[data-v-b458be18]{background-color:var(--color-wra-light-grey);padding:20px 24px}.checkbox-label[data-v-b55724c0]{background:var(--color-wra-grey);padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-b55724c0]:hover{background:var(--color-wra-mid-grey)}.checkbox-input[data-v-b55724c0]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:var(--color-wra-black);width:20px;height:20px;border:1px solid var(--color-wra-black);border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-b55724c0]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:var(--color-wra-black);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-b55724c0]:checked:before{transform:scale(1)}.checkbox-input[data-v-b55724c0]:focus{outline:2px solid var(--color-wra-black);background-color:var(--color-wra-yellow)}.checkbox-input[data-v-b55724c0]:focus-visible{outline-offset:0px}.checkbox-text[data-v-b55724c0]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-b55724c0]{font-size:14px}p[data-v-b55724c0]{margin:0}.checkbox[data-v-01eb117c]:not(:last-child):not(:only-child){margin-bottom:8px}.checkbox-label[data-v-01eb117c]{background:var(--color-wra-grey);padding:20px;min-height:24px;display:flex;cursor:pointer;line-height:1.375rem;display:grid;grid-template-columns:20px auto}.checkbox-label[data-v-01eb117c]:hover{background:var(--color-wra-mid-grey)}.checkbox-input[data-v-01eb117c]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:var(--color-wra-black);width:20px;height:20px;border:1px solid var(--color-wra-black);border-radius:0;transform:translateY(1px);display:grid;place-content:center}.checkbox-input[data-v-01eb117c]:before{content:"";width:12px;height:12px;border-radius:0;transform:scale(0);transition:.12s transform ease-in-out;background-color:var(--color-wra-black);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.checkbox-input[data-v-01eb117c]:checked:before{transform:scale(1)}.checkbox-input[data-v-01eb117c]:focus{outline:2px solid var(--color-wra-black);background-color:var(--color-wra-yellow)}.checkbox-input[data-v-01eb117c]:focus-visible{outline-offset:0px}.checkbox-text[data-v-01eb117c]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-01eb117c]{font-size:14px}p[data-v-01eb117c]{margin:0}.content-section-title[data-v-b917a4a4]{border-bottom:2px solid var(--color-wra-grey);border-top:10px solid var(--color-wra-grey);padding-bottom:20px;padding-top:30px}[data-v-ab1cc940],[data-v-ab1cc940]:before,[data-v-ab1cc940]:after{box-sizing:border-box}.input-wrapper[data-v-ab1cc940]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-ab1cc940]{padding:10px 0 10px 10px;font-size:16px}.suffix[data-v-ab1cc940]{padding:10px 10px 10px 0;font-size:16px;z-index:1}.input-wrapper input[data-v-ab1cc940]{font-size:16px;background-color:transparent;line-height:1.15;width:100%;outline:none}.padding-for-prefix[data-v-ab1cc940]{padding:10px 6px}.padding-for-no-prefix[data-v-ab1cc940]{padding:10px}.input-wrapper[data-v-ab1cc940]:focus-within{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}input[data-v-ab1cc940]{border:none}label[data-v-ab1cc940]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-ab1cc940]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}.bold[data-v-ce2c389d]{font-weight:700}.wra-data-table-caption[data-v-ce2c389d]{background-color:inherit;text-align:left;padding:0 0 16px;font-weight:700;font-size:20px}.wra-data-table[data-v-ce2c389d]{width:100%;border-spacing:0;line-height:20px;padding:0;table-layout:auto}.wra-data-table>thead>tr>th[data-v-ce2c389d]{border-bottom:2px solid var(--color-wra-dark-grey)}.wra-data-table>tbody>tr>td[data-v-ce2c389d],.wra-data-table>tbody>tr>th[data-v-ce2c389d]{border-bottom:1px solid var(--color-wra-dark-grey)}.wra-data-table td[data-v-ce2c389d],.wra-data-table th[data-v-ce2c389d]{padding:16px}.wra-data-table>thead>tr>th[data-v-ce2c389d]:first-child,.wra-data-table>tbody>tr>td[data-v-ce2c389d]:first-child{padding-left:0}.wra-data-table>thead>tr>th[data-v-ce2c389d]:last-child,.wra-data-table>tbody>tr>td[data-v-ce2c389d]:last-child{padding-right:0}.column-search-input[data-v-ce2c389d]{margin-top:12px;box-sizing:border-box;font-size:16px;padding:10px;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}.column-search-input[data-v-ce2c389d]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}button[data-v-ce2c389d]{background-color:var(--color-wra-black);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:5px 12px;height:32px}button[data-v-ce2c389d]:hover{opacity:.8;transition:all .3s ease}button[data-v-ce2c389d]:focus{background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}button[data-v-ce2c389d]:focus:hover{opacity:1}.wra-chevron[data-v-ce2c389d]{content:" ";display:inline-block;padding:3px;vertical-align:middle;transform:rotate(45deg);-webkit-transform:rotate(45deg)}.wra-chevron-right[data-v-ce2c389d]{border:solid #ffffff;border-width:3px 3px 0px 0px}.wra-chevron-left[data-v-ce2c389d]{border:solid #ffffff;border-width:0px 0px 3px 3px}.wra-chevron-up[data-v-ce2c389d]{border:solid var(--color-wra-black);border-width:3px 0px 0px 3px;margin-left:4px;margin-top:3px}.wra-chevron-down[data-v-ce2c389d]{border:solid var(--color-wra-black);border-width:0px 3px 3px 0px;margin-left:4px;margin-bottom:6px}button:focus>.wra-chevron-right[data-v-ce2c389d]{border:solid var(--color-wra-black);border-width:3px 3px 0px 0px}button:focus>.wra-chevron-left[data-v-ce2c389d]{border:solid var(--color-wra-black);border-width:0px 0px 3px 3px}.clickable[data-v-ce2c389d]{cursor:pointer}tbody.clickable[data-v-ce2c389d]:hover{background-color:var(--color-wra-light-grey)}.sort-icons[data-v-ce2c389d]{visibility:hidden;opacity:.4}th:hover .sort-icons[data-v-ce2c389d]{visibility:visible}.text-left[data-v-ce2c389d]{text-align:left}.text-right[data-v-ce2c389d]{text-align:right}.text-center[data-v-ce2c389d]{text-align:center}.pagination[data-v-ce2c389d]{display:flex;align-items:center;justify-content:flex-end;padding:16px 0 0}.pagination button[data-v-ce2c389d]{margin-left:10px}.disable-button[data-v-ce2c389d]{opacity:.4}.disable-button[data-v-ce2c389d]:hover{opacity:.4;cursor:default}.loader[data-v-ce2c389d]{width:40px;height:40px;border:5px solid grey;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation-ce2c389d 1s linear infinite}@keyframes rotation-ce2c389d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-v-49969f70],[data-v-49969f70]:before,[data-v-49969f70]:after{box-sizing:border-box}input[data-v-49969f70]{font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}input[data-v-49969f70]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}label[data-v-49969f70]{color:var(--color-wra-black);font-size:16px;display:block;width:100%;margin-bottom:4px}div.error>p[data-v-49969f70]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}div[data-v-6d53d792]{font-weight:700}h1[data-v-6d53d792]{margin:0;font-size:48px;letter-spacing:-.05rem;line-height:52px}h2[data-v-6d53d792]{margin:0;font-size:36px;letter-spacing:-.04rem;line-height:40px}h3[data-v-6d53d792]{margin:0;font-size:28px;letter-spacing:-.03rem;line-height:32px}h4[data-v-6d53d792]{margin:0;font-size:24px;letter-spacing:-.03rem;line-height:28px}h5[data-v-6d53d792]{margin:0;font-size:22px;letter-spacing:-.02rem;line-height:26px}h6[data-v-6d53d792]{margin:0;font-size:18px;letter-spacing:-.01rem;line-height:24px}@media (max-width: 600px){h1[data-v-6d53d792]{margin:0;font-size:34px;letter-spacing:-.05rem;line-height:38px}h2[data-v-6d53d792]{margin:0;font-size:28px;letter-spacing:-.04rem;line-height:32px}h3[data-v-6d53d792]{margin:0;font-size:24px;letter-spacing:-.03rem;line-height:28px}h4[data-v-6d53d792]{margin:0;font-size:20px;letter-spacing:-.03rem;line-height:24px}h5[data-v-6d53d792]{margin:0;font-size:18px;letter-spacing:-.02rem;line-height:22px}h6[data-v-6d53d792]{margin:0;font-size:14px;letter-spacing:-.01rem;line-height:18px}}.dialog-class[data-v-a58221e3]{z-index:9999}.dialog-content[data-v-a58221e3]{min-width:300px;max-width:90vw;text-align:center}.dialog-buttons[data-v-a58221e3]{margin-top:16px;display:flex;justify-content:space-evenly}dialog.dialog-class::backdrop{background:#0000004d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}hr[data-v-40db3bc1]{margin:0}.wra-divider[data-v-40db3bc1]{border:3px solid var(--color-wra-grey)}.wra-divider-large[data-v-40db3bc1]{border:4px solid var(--color-wra-grey)}.wra-divider-small[data-v-40db3bc1]{border:2px solid var(--color-wra-grey)}.panel-icon[data-v-aad4db7d]{content:" ";display:inline-block;border:solid var(--color-wra-black);border-width:3px 3px 0px 0px;padding:4px;vertical-align:middle;transition:transform .2s ease-out}.icon-wrapper[data-v-aad4db7d]{margin-left:8px}.show-panel-icon[data-v-aad4db7d]{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);margin-top:3px}.hide-panel-icon[data-v-aad4db7d]{transform:rotate(135deg);-webkit-transform:rotate(135deg);margin-top:-5px}.expansion-button[data-v-aad4db7d]{display:flex;justify-content:space-between}button[data-v-aad4db7d]{font-size:18px;font-weight:700;padding:15px 20px;background-color:transparent;color:var(--color-wra-revenue);border:none;border-left:2px solid var(--color-wra-mid-grey);cursor:pointer;width:100%;text-align:left}button[data-v-aad4db7d]:hover{opacity:.8}button[data-v-aad4db7d]:focus{color:var(--color-wra-black)!important;background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:-2px;border-color:var(--color-wra-yellow)}button[data-v-aad4db7d]:focus:hover{opacity:1}.panel-content[data-v-aad4db7d]{display:grid;border-left:2px solid var(--color-wra-mid-grey);background:transparent;padding:15px 20px;grid-template-rows:1fr}.inner-panel[data-v-aad4db7d]{overflow:hidden}.slide-fade-enter-active[data-v-aad4db7d],.slide-fade-leave-active[data-v-aad4db7d]{transition:grid-template-rows .3s ease-out}.slide-fade-enter-from[data-v-aad4db7d],.slide-fade-leave-to[data-v-aad4db7d]{grid-template-rows:0fr}.validation-tooltip[data-v-391271cf]{display:flex;align-items:flex-start;color:var(--color-wra-black);border-radius:0;font-size:18px;padding:25px}.wra-error[data-v-391271cf]{background-color:var(--color-wra-light-red);border-left:10px solid var(--color-wra-red)}.wra-success[data-v-391271cf]{background-color:var(--color-wra-light-green);border-left:10px solid var(--color-wra-green)}.wra-info[data-v-391271cf]{background-color:var(--color-wra-light-blue);border-left:10px solid var(--color-wra-blue)}.wra-warning[data-v-391271cf]{background-color:var(--color-wra-light-yellow);border-left:10px solid var(--color-wra-yellow)}.icon[data-v-391271cf]{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}.custom-icon-wrapper[data-v-391271cf]{margin-right:12px}.file-upload-wrapper[data-v-b5c85208]{display:flex;align-items:center}.file-upload-wrapper input[type=file][data-v-b5c85208]{display:none}.file-upload-label[data-v-b5c85208]{display:block;margin-bottom:10px;font-size:16px}.file-name[data-v-b5c85208]{margin:0 10px;font-size:14px}.file-upload-error-box[data-v-b5c85208]{margin-bottom:16px}.file-upload-error-text[data-v-b5c85208]{margin-block:0px;font-size:16px}.file-upload-error-box>.file-upload-error-text[data-v-b5c85208]{margin-bottom:1rem}.file-upload-error-box>.file-upload-error-text[data-v-b5c85208]:last-child{margin-bottom:0rem}.error-enter-active[data-v-b5c85208],.error-leave-active[data-v-b5c85208]{transition:opacity .3s ease-out}.error-enter-from[data-v-b5c85208],.error-leave-to[data-v-b5c85208]{opacity:0}.wra-footer[data-v-ec223b2a]{flex-grow:0;background-color:var(--color-wra-light-grey);padding:70px 20px 40px}@media print{.hidden-print[data-v-ec223b2a]{display:none}}.wra-inset[data-v-5eaa02a8]{font-size:16px;padding:20px;border-left-width:10px;border-left-style:solid}.wra-inset.wra-revenue[data-v-5eaa02a8]{border-left-color:var(--color-wra-revenue)}.wra-inset.wra-charcoal[data-v-5eaa02a8]{border-left-color:var(--color-wra-charcoal)}.wra-inset.wra-red[data-v-5eaa02a8]{border-left-color:var(--color-wra-red)}.wra-inset.wra-blue[data-v-5eaa02a8]{border-left-color:var(--color-wra-blue)}.wra-inset.wra-green[data-v-5eaa02a8]{border-left-color:var(--color-wra-green)}.wra-inset.wra-yellow[data-v-5eaa02a8]{border-left-color:var(--color-wra-yellow)}[data-v-4bc18423],[data-v-4bc18423]:before,[data-v-4bc18423]:after{box-sizing:border-box}.input-wrapper[data-v-4bc18423]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-4bc18423]{padding:10px 0 10px 10px;font-size:16px}.suffix[data-v-4bc18423]{padding:10px 10px 10px 0;font-size:16px;z-index:1}.input-wrapper input[data-v-4bc18423]{font-size:16px;background-color:transparent;line-height:1.15;width:100%;outline:none}.padding-for-prefix[data-v-4bc18423]{padding:10px 6px}.padding-for-no-prefix[data-v-4bc18423]{padding:10px}.input-wrapper[data-v-4bc18423]:focus-within{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}input[data-v-4bc18423]{border:none}label[data-v-4bc18423]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-4bc18423]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}.pagination-button[data-v-4fb0a9cd]{background-color:transparent;color:var(--color-wra-revenue);font-weight:700;border:none;cursor:pointer;font-size:18px}.pagination-button[data-v-4fb0a9cd]>*:first-child{margin-right:8px}.pagination-button[data-v-4fb0a9cd]:hover,.pagination-number[data-v-4fb0a9cd]:hover{text-decoration:none;opacity:.8;transition:all .3s ease}.pagination-button[data-v-4fb0a9cd]:focus,.pagination-number[data-v-4fb0a9cd]:focus{color:var(--color-wra-black);background-color:var(--color-wra-yellow);outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}.pagination-button[data-v-4fb0a9cd]:focus:hover,.pagination-number[data-v-4fb0a9cd]:focus:hover{opacity:1}.pagination-number[data-v-4fb0a9cd]{color:var(--color-wra-black);background-color:var(--color-wra-light-grey);padding:8px;font-weight:700;border:none;font-size:18px;cursor:pointer;min-width:3rem;text-align:center}.pagination-number[data-v-4fb0a9cd]:hover{color:var(--color-wra-black);opacity:.8}.pagination-number--selected[data-v-4fb0a9cd]{background-color:var(--color-wra-revenue);color:#fff}.pagination-number--selected[data-v-4fb0a9cd]:hover:not(:focus){color:#fff}.pagination-divider[data-v-4fb0a9cd]{font-size:18px}.pagination[data-v-4fb0a9cd]{display:flex;justify-content:center;align-items:center;gap:10px}.pagination-icon[data-v-4fb0a9cd]{content:" ";display:inline-block;border:solid currentColor;padding:4px;vertical-align:middle;transform:rotate(-135deg);-webkit-transform:rotate(-135deg);margin-bottom:3px}.previous-icon[data-v-4fb0a9cd]{border-width:3px 3px 0px 0px}.next-icon[data-v-4fb0a9cd]{border-width:0px 0px 3px 3px}[data-v-7d92a809],[data-v-7d92a809]:before,[data-v-7d92a809]:after{box-sizing:border-box}.input-wrapper[data-v-7d92a809]{display:flex;align-items:center;background-color:#fff;border:1px solid black;width:100%}.prefix[data-v-7d92a809]{padding:10px 0 10px 10px;font-size:16px}.suffix[data-v-7d92a809]{padding:10px 10px 10px 0;font-size:16px;z-index:1}.input-wrapper input[data-v-7d92a809]{font-size:16px;background-color:transparent;line-height:1.15;width:100%;outline:none}.padding-for-prefix[data-v-7d92a809]{padding:10px 6px}.padding-for-no-prefix[data-v-7d92a809]{padding:10px}.input-wrapper[data-v-7d92a809]:focus-within{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}input[data-v-7d92a809]{border:none}label[data-v-7d92a809]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-7d92a809]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}.radio-label[data-v-4a565a05]{background:var(--color-wra-grey);padding:20px;min-height:24px;display:flex;cursor:pointer;display:grid;grid-template-columns:20px auto}.radio-label[data-v-4a565a05]:hover{background:var(--color-wra-mid-grey)}.radio-input[data-v-4a565a05]{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;color:var(--color-wra-black);width:20px;height:20px;border:1px solid var(--color-wra-black);border-radius:50%;transform:translateY(1px);display:grid;place-content:center}.radio-input[data-v-4a565a05]:before{content:"";width:12px;height:12px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;background-color:var(--color-wra-black)}.radio-input[data-v-4a565a05]:checked:before{transform:scale(1)}.radio-input[data-v-4a565a05]:focus{outline:2px solid var(--color-wra-black);background-color:var(--color-wra-yellow)}.radio-input[data-v-4a565a05]:focus-visible{outline-offset:0px}.radio-text[data-v-4a565a05]{padding:0 0 0 10px;font-size:18px}.further-information-text[data-v-4a565a05]{font-size:14px}p[data-v-4a565a05]{margin:0}.radio[data-v-32c5746a]:not(:last-child):not(:only-child){margin-bottom:8px}[data-v-f1105098],[data-v-f1105098]:before,[data-v-f1105098]:after{box-sizing:border-box}select[data-v-f1105098]{-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:10px}.select[data-v-f1105098]{border:1px solid var(--color-wra-black);border-radius:0;padding-right:10px;font-size:16px;cursor:pointer;line-height:1.15;background-color:#fff;display:grid;grid-template-areas:"select";align-items:center;position:relative}.select[data-v-f1105098]:after{content:"";width:.8em;height:.5em;background-color:var(--color-wra-black);clip-path:polygon(100% 0%,0 0%,50% 100%);justify-self:end}select[data-v-f1105098],.select[data-v-f1105098]:after{grid-area:select}select:focus+.focus[data-v-f1105098]{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border:2px solid var(--color-wra-black);outline:3px solid var(--color-wra-yellow);border-radius:inherit}label[data-v-f1105098]{color:var(--color-wra-black);font-size:16px}.service-logo[data-v-726556fc]{max-width:100%}.service-link[data-v-726556fc]{border:transparent solid 2px;outline:transparent solid 2px;display:block;padding:2px;line-height:.8;outline-offset:0}.service-link[data-v-726556fc]:focus{border:2px solid var(--color-wra-yellow);outline:2px solid var(--color-wra-black);background:transparent;box-shadow:none;-webkit-box-shadow:none}.wra-simple-table-wrapper{padding:0 16px 16px;background-color:var(--color-wra-light-grey)}.wra-simple-table-no-padding{padding:0!important}.left-align-headers{text-align:left}.wra-simple-table-caption{background-color:inherit;text-align:left;padding:16px 16px 16px 0;font-weight:700;font-size:20px}.wra-simple-table{width:100%;line-height:20px;color:var(--color-wra-black);border-spacing:0;table-layout:auto}.wra-simple-table-inherit{background-color:inherit}.wra-simple-table>thead>tr>th{border-bottom:2px solid var(--color-wra-dark-grey)}.wra-simple-table>tbody>tr>td,.wra-simple-table>tbody>tr>th{border-bottom:1px solid var(--color-wra-dark-grey)}.wra-simple-table td,.wra-simple-table th{padding:16px}.wra-simple-table>thead>tr>th:first-child,.wra-simple-table>tbody>tr>th:first-child,.wra-simple-table>tbody>tr>td:first-child{padding-left:0}.wra-simple-table>thead>tr>th:last-child,.wra-simple-table>tbody>tr>th:last-child,.wra-simple-table>tbody>tr>td:last-child{padding-right:0}.skip-link[data-v-8e4609fc]:not(:focus):not(:active){clip:rect(0 0 0 0)!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:0!important;overflow:hidden!important;padding:0!important;position:absolute!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap!important;width:1px!important}.skip-link[data-v-8e4609fc]{background-color:var(--color-wra-grey);color:var(--color-wra-black);font-weight:700;border:none;cursor:pointer;padding:10px;font-size:1em}.skip-link[data-v-8e4609fc]:focus{color:var(--color-wra-black)!important;background-color:var(--color-wra-yellow)!important;outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}.skip-link-full-width[data-v-8e4609fc]{width:100%;text-align:left}.skip-link-full-width[data-v-8e4609fc]:focus{outline-width:0px;border-width:0px}[data-v-d07fa6ea],[data-v-d07fa6ea]:before,[data-v-d07fa6ea]:after{box-sizing:border-box;padding-block:0px;padding-inline:0px}.snackbar[data-v-d07fa6ea]{background:var(--color-wra-light-grey);font-size:18px;padding:20px;border-left:5px solid var(--color-wra-dark-grey);position:fixed;left:50%;transform:translate(-50%);bottom:16px;width:40%}.snackbar-flex[data-v-d07fa6ea]{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-d07fa6ea]{width:80%}}.snackbar-content[data-v-d07fa6ea]{text-wrap:wrap}.close-icon-wrapper[data-v-d07fa6ea]{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:24px;height:24px;cursor:pointer}.close-icon-wrapper[data-v-d07fa6ea]:hover{opacity:.8;transition:opacity .3s ease}.close-icon-wrapper[data-v-d07fa6ea]:focus{background-color:var(--color-wra-yellow);outline:2px solid var(--color-wra-black);outline-offset:0px;border-color:var(--color-wra-yellow)}.close-icon-wrapper[data-v-d07fa6ea]:focus:hover{opacity:1}.close-icon-line-one[data-v-d07fa6ea]{height:24px;width:4px;margin-left:10px;background-color:#000;transform:rotate(45deg)}.close-icon-line-two[data-v-d07fa6ea]{height:24px;width:4px;background-color:#000;transform:rotate(90deg)}.wra-error[data-v-d07fa6ea]{background-color:var(--color-wra-light-red);border-color:var(--color-wra-red)}.wra-success[data-v-d07fa6ea]{background-color:var(--color-wra-light-green);border-color:var(--color-wra-green)}.wra-info[data-v-d07fa6ea]{background-color:var(--color-wra-light-blue);border-color:var(--color-wra-blue)}.wra-warning[data-v-d07fa6ea]{background-color:var(--color-wra-light-yellow);border-color:var(--color-wra-yellow)}.sr-only[data-v-d07fa6ea]{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-d07fa6ea],.snackbar-leave-active[data-v-d07fa6ea]{transition:opacity .3s ease-out}.snackbar-enter-from[data-v-d07fa6ea],.snackbar-leave-to[data-v-d07fa6ea]{opacity:0}.subheader[data-v-31386f32]{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}}.bold{font-weight:700}.wra-table-caption{background-color:inherit;text-align:left;padding:16px;font-weight:700;font-size:20px}.caption-no-padding{padding:0 0 16px!important}.wra-table{width:100%;line-height:20px;background-color:var(--color-wra-light-grey);color:var(--color-wra-black);border-spacing:0;padding:0 16px 16px;table-layout:auto}.wra-table-no-padding{padding:0!important}.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 var(--color-wra-dark-grey)}.wra-table>tbody>tr>td,.wra-table>tbody>tr>th{border-bottom:1px solid var(--color-wra-dark-grey)}.wra-table td,.wra-table th{padding:16px}.wra-table>thead>tr>th:first-child,.wra-table>tbody>tr>td:first-child{padding-left:0}.wra-table>thead>tr>th:last-child,.wra-table>tbody>tr>td:last-child{padding-right:0}#pivoted{table-layout:fixed;text-align:left}#pivoted>tbody>tr:last-child>td,#pivoted>tbody>tr:last-child>th{border-bottom:1px solid var(--color-wra-dark-grey)}#pivoted>tbody>tr:not(:last-child)>td,#pivoted>tbody>tr:not(:last-child)>th{border-bottom:none}#pivoted>tbody>tr>th{padding-left:0}#pivoted table{width:100%}#pivoted>table>tr>th,#pivoted>table>tr>td{width:50%}[data-v-d68660c7]{box-sizing:border-box;border:none}.tab-button[data-v-d68660c7]{border-top:6px solid var(--color-wra-blue);font-size:24px;font-weight:700;color:var(--color-wra-light-blue);background:var(--color-wra-dark-blue);padding:20px;margin-left:15px;margin-top:40px;cursor:pointer}.tab-button[data-v-d68660c7]:hover:not(.tab-button--active){background:var(--color-wra-mid-blue);color:#fff}.tab-button.tab-button--active[data-v-d68660c7]:focus{border-color:var(--color-wra-black);box-shadow:2px 0 0 0 var(--color-wra-black) inset,-2px -2px 0 0 var(--color-wra-black) inset}.tab-button--active[data-v-d68660c7]{background:#fff;color:var(--color-wra-black);border-top:6px solid var(--color-wra-mid-grey)}.tab-button[data-v-d68660c7]:focus{border-top:6px solid var(--color-wra-blue);color:var(--color-wra-black);background:var(--color-wra-yellow);box-shadow:2px 2px 0 0 var(--color-wra-black) inset,-2px -2px 0 0 var(--color-wra-black) inset;outline-style:none}@media (max-width: 768px){.tab-button[data-v-d68660c7]{margin-left:10px;margin-top:20px;font-size:20px;padding:15px}}.tabs[data-v-eef46a08]{background-color:var(--color-wra-blue);width:100%}[data-v-c1205688],[data-v-c1205688]:before,[data-v-c1205688]:after{box-sizing:border-box}textarea[data-v-c1205688]{font-family:Arial,Helvetica,Nimbus Sans L,sans-serif;font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}textarea[data-v-c1205688]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}label[data-v-c1205688]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-c1205688]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}[data-v-2d4536b4],[data-v-2d4536b4]:before,[data-v-2d4536b4]:after{box-sizing:border-box}input[data-v-2d4536b4]{font-size:16px;padding:10px;background-color:#fff;border:1px solid var(--color-wra-black);line-height:1.15;display:block;width:100%}input[data-v-2d4536b4]:focus{border-color:var(--color-wra-black);outline:1px solid var(--color-wra-black);-webkit-box-shadow:0 0 0 3px var(--color-wra-yellow);-moz-box-shadow:0 0 0 3px var(--color-wra-yellow);box-shadow:0 0 0 3px var(--color-wra-yellow)}label[data-v-2d4536b4]{color:var(--color-wra-black);font-size:16px;display:block;margin-bottom:4px}div.error>p[data-v-2d4536b4]{margin-top:10px;padding:10px;background:var(--color-wra-light-red);color:var(--color-wra-black);font-size:16px;border-left:10px solid var(--color-wra-red)}')),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
import { defineComponent as g, createElementBlock as n, openBlock as i, normalizeClass as f, renderSlot as m, createCommentVNode as h, withDirectives as q, toDisplayString as p, createElementVNode as u, withKeys as S, withModifiers as W, vModelText as x, Fragment as $, renderList as V, vShow as ie, resolveDirective as D, createTextVNode as B, normalizeStyle as j, nextTick as ne, resolveComponent as E, createBlock as z, Teleport as oe, createVNode as F, withCtx as N, Transition as G, mergeProps as J } from "vue";
|
|
3
|
+
const le = g({
|
|
9
4
|
name: "wra-app-bar",
|
|
10
5
|
props: {
|
|
11
6
|
/**
|
|
@@ -16,17 +11,22 @@ const g = (t, a) => {
|
|
|
16
11
|
default: !1
|
|
17
12
|
}
|
|
18
13
|
}
|
|
14
|
+
}), b = (e, t) => {
|
|
15
|
+
const a = e.__vccOpts || e;
|
|
16
|
+
for (const [s, o] of t)
|
|
17
|
+
a[s] = o;
|
|
18
|
+
return a;
|
|
19
19
|
};
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
-
class:
|
|
20
|
+
function ue(e, t, a, s, o, l) {
|
|
21
|
+
return i(), n("div", {
|
|
22
|
+
class: f(["wra-app-bar", {
|
|
23
23
|
"hidden-print": e.hiddenPrint === !0
|
|
24
24
|
}])
|
|
25
25
|
}, [
|
|
26
|
-
|
|
26
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
27
27
|
], 2);
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const de = /* @__PURE__ */ b(le, [["render", ue], ["__scopeId", "data-v-a67304e8"]]), pe = g({
|
|
30
30
|
name: "wra-autocomplete",
|
|
31
31
|
emits: ["update:modelValue"],
|
|
32
32
|
props: {
|
|
@@ -43,7 +43,7 @@ const oe = /* @__PURE__ */ g(ne, [["render", le], ["__scopeId", "data-v-dc0e7a07
|
|
|
43
43
|
},
|
|
44
44
|
/** Options for autocomplete list */
|
|
45
45
|
options: {
|
|
46
|
-
type:
|
|
46
|
+
type: Array,
|
|
47
47
|
required: !0
|
|
48
48
|
},
|
|
49
49
|
/** Change the default object name for the data */
|
|
@@ -67,69 +67,77 @@ const oe = /* @__PURE__ */ g(ne, [["render", le], ["__scopeId", "data-v-dc0e7a07
|
|
|
67
67
|
default: !1
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
data
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
data() {
|
|
71
|
+
return {
|
|
72
|
+
userInput: {},
|
|
73
|
+
hasFocus: !1,
|
|
74
|
+
listHasFocus: !1,
|
|
75
|
+
optionIndex: null,
|
|
76
|
+
validatedOptions: []
|
|
77
|
+
};
|
|
78
|
+
},
|
|
77
79
|
methods: {
|
|
80
|
+
/** Handle typing in the input field */
|
|
78
81
|
onInputTyping() {
|
|
79
82
|
this.optionIndex = null, this.userInput[this.optionValue] = this.getInputValue, this.$emit("update:modelValue", this.userInput);
|
|
80
83
|
},
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
/** Handle selecting an option from the list */
|
|
85
|
+
onOptionSelect(e) {
|
|
86
|
+
(e == null ? void 0 : e.clickable) !== !1 && (this.userInput = Object.assign({}, e), this.$emit("update:modelValue", this.userInput));
|
|
83
87
|
},
|
|
88
|
+
/** Handle blur event on the input */
|
|
84
89
|
onBlur() {
|
|
85
90
|
this.listHasFocus === !1 && (this.hasFocus = !1);
|
|
86
91
|
},
|
|
87
|
-
|
|
88
|
-
|
|
92
|
+
/** Handle blur event on an option */
|
|
93
|
+
onOptionBlur(e) {
|
|
94
|
+
e === this.optionIndex && (this.hasFocus = !1, this.listHasFocus = !1);
|
|
89
95
|
},
|
|
96
|
+
/** Handle up arrow key navigation */
|
|
90
97
|
onUpKey() {
|
|
91
98
|
if (!(this.optionsHasMatches === !1 || this.showOptions === !1)) {
|
|
92
99
|
if (this.optionIndex === 0)
|
|
93
100
|
this.optionIndex = null, this.listHasFocus = !1, this.$refs.autocompleteInput.focus();
|
|
94
|
-
else if (this.optionIndex > 0) {
|
|
101
|
+
else if (this.optionIndex !== null && this.optionIndex > 0) {
|
|
95
102
|
this.optionIndex--, this.listHasFocus = !0;
|
|
96
|
-
const
|
|
97
|
-
|
|
103
|
+
const e = `option${this.optionIndex}`, t = this.$refs[e][0];
|
|
104
|
+
t && t.focus();
|
|
98
105
|
}
|
|
99
106
|
}
|
|
100
107
|
},
|
|
108
|
+
/** Handle down arrow key navigation */
|
|
101
109
|
onDownKey() {
|
|
102
110
|
if (this.optionsHasMatches === !1 || this.showOptions === !1)
|
|
103
111
|
return;
|
|
104
112
|
this.optionIndex === null ? this.optionIndex = 0 : this.optionIndex < this.filterOptions.length - 1 && this.optionIndex++, this.listHasFocus = !0;
|
|
105
|
-
const
|
|
106
|
-
|
|
113
|
+
const e = `option${this.optionIndex}`, t = this.$refs[e][0];
|
|
114
|
+
t && t.focus();
|
|
107
115
|
}
|
|
108
116
|
},
|
|
109
117
|
computed: {
|
|
110
118
|
showOptions() {
|
|
111
|
-
const
|
|
112
|
-
(
|
|
113
|
-
),
|
|
114
|
-
return
|
|
119
|
+
const e = this.validatedOptions.some(
|
|
120
|
+
(s) => s[this.optionLabel] === this.userInput[this.optionLabel]
|
|
121
|
+
), t = (this.userInput[this.optionLabel] || "").length >= this.minLength;
|
|
122
|
+
return e !== !0 && this.hasFocus === !0 && (this.autoExpand === !0 || t === !0);
|
|
115
123
|
},
|
|
116
124
|
filterOptions() {
|
|
117
|
-
const
|
|
118
|
-
(
|
|
125
|
+
const e = this.validatedOptions.filter(
|
|
126
|
+
(t) => (t[this.optionLabel] || "").toLowerCase().includes(this.getInputValue)
|
|
119
127
|
);
|
|
120
|
-
return
|
|
128
|
+
return e.length > 0 ? e : this.autoExpand === !0 ? this.validatedOptions : (e.push({
|
|
121
129
|
[this.optionLabel]: "No results found",
|
|
122
130
|
[this.optionValue]: "",
|
|
123
131
|
clickable: !1
|
|
124
|
-
}),
|
|
132
|
+
}), e);
|
|
125
133
|
},
|
|
126
134
|
optionsHasMatches() {
|
|
127
135
|
return this.filterOptions.every(
|
|
128
|
-
(
|
|
136
|
+
(e) => Object.hasOwn(e, "clickable") ? e.clickable === !0 : !0
|
|
129
137
|
);
|
|
130
138
|
},
|
|
131
139
|
getInputValue() {
|
|
132
|
-
return this.userInput[this.optionLabel].toLowerCase();
|
|
140
|
+
return (this.userInput[this.optionLabel] || "").toLowerCase();
|
|
133
141
|
}
|
|
134
142
|
},
|
|
135
143
|
created() {
|
|
@@ -141,73 +149,73 @@ const oe = /* @__PURE__ */ g(ne, [["render", le], ["__scopeId", "data-v-dc0e7a07
|
|
|
141
149
|
},
|
|
142
150
|
watch: {
|
|
143
151
|
options: {
|
|
144
|
-
handler(
|
|
145
|
-
this.validatedOptions =
|
|
152
|
+
handler(e) {
|
|
153
|
+
this.validatedOptions = e ?? [];
|
|
146
154
|
},
|
|
147
155
|
immediate: !0
|
|
148
156
|
}
|
|
149
157
|
}
|
|
150
|
-
},
|
|
158
|
+
}), ce = { class: "autocomplete" }, he = ["for"], fe = ["aria-expanded", "aria-activedescendant", "id"], me = {
|
|
151
159
|
role: "listbox",
|
|
152
160
|
id: "autocomplete-list",
|
|
153
161
|
class: "autocomplete-list"
|
|
154
|
-
},
|
|
155
|
-
function
|
|
156
|
-
return
|
|
157
|
-
e.label ? (
|
|
162
|
+
}, ge = ["id", "aria-selected", "onMousedown", "onKeydown", "onBlur"];
|
|
163
|
+
function be(e, t, a, s, o, l) {
|
|
164
|
+
return i(), n("div", ce, [
|
|
165
|
+
e.label ? (i(), n("label", {
|
|
158
166
|
key: 0,
|
|
159
167
|
for: e.id,
|
|
160
168
|
class: "autocomplete-label"
|
|
161
|
-
},
|
|
162
|
-
|
|
169
|
+
}, p(e.label), 9, he)) : h("", !0),
|
|
170
|
+
q(u("input", {
|
|
163
171
|
inputmode: "text",
|
|
164
172
|
ref: "autocompleteInput",
|
|
165
|
-
"onUpdate:modelValue":
|
|
173
|
+
"onUpdate:modelValue": t[0] || (t[0] = (r) => e.userInput[e.optionLabel] = r),
|
|
166
174
|
role: "combobox",
|
|
167
175
|
"aria-autocomplete": "list",
|
|
168
|
-
"aria-expanded":
|
|
176
|
+
"aria-expanded": e.showOptions,
|
|
169
177
|
"aria-controls": "autocomplete-list",
|
|
170
|
-
"aria-activedescendant":
|
|
178
|
+
"aria-activedescendant": e.optionIndex !== null ? `option${e.optionIndex}` : void 0,
|
|
171
179
|
autocomplete: "off",
|
|
172
180
|
id: e.id,
|
|
173
|
-
class:
|
|
174
|
-
onInput:
|
|
175
|
-
onFocus:
|
|
176
|
-
onBlur:
|
|
181
|
+
class: f(["autocomplete-input", { "autocomplete-input--focus": e.hasFocus }]),
|
|
182
|
+
onInput: t[1] || (t[1] = (r) => e.onInputTyping()),
|
|
183
|
+
onFocus: t[2] || (t[2] = (r) => e.hasFocus = !0),
|
|
184
|
+
onBlur: t[3] || (t[3] = (...r) => e.onBlur && e.onBlur(...r)),
|
|
177
185
|
onKeydown: [
|
|
178
|
-
|
|
179
|
-
|
|
186
|
+
t[4] || (t[4] = S(W((...r) => e.onUpKey && e.onUpKey(...r), ["prevent"]), ["up"])),
|
|
187
|
+
t[5] || (t[5] = S(W((...r) => e.onDownKey && e.onDownKey(...r), ["prevent"]), ["down"]))
|
|
180
188
|
]
|
|
181
|
-
}, null, 42,
|
|
182
|
-
[
|
|
189
|
+
}, null, 42, fe), [
|
|
190
|
+
[x, e.userInput[e.optionLabel]]
|
|
183
191
|
]),
|
|
184
|
-
|
|
185
|
-
(
|
|
192
|
+
q(u("ul", me, [
|
|
193
|
+
(i(!0), n($, null, V(e.filterOptions, (r, d) => (i(), n("li", {
|
|
186
194
|
ref_for: !0,
|
|
187
195
|
ref: `option${d}`,
|
|
188
196
|
id: `option${d}`,
|
|
189
197
|
role: "option",
|
|
190
198
|
tabindex: "-1",
|
|
191
|
-
"aria-selected": d ===
|
|
192
|
-
class:
|
|
193
|
-
"autocomplete-item-not-clickable":
|
|
194
|
-
"autocomplete-item--focus": d ===
|
|
199
|
+
"aria-selected": d === e.optionIndex,
|
|
200
|
+
class: f({
|
|
201
|
+
"autocomplete-item-not-clickable": r.clickable === !1,
|
|
202
|
+
"autocomplete-item--focus": d === e.optionIndex
|
|
195
203
|
}),
|
|
196
|
-
onMousedown: (
|
|
204
|
+
onMousedown: (c) => e.onOptionSelect(r),
|
|
197
205
|
onKeydown: [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
206
|
+
t[6] || (t[6] = S(W((...c) => e.onUpKey && e.onUpKey(...c), ["prevent"]), ["up"])),
|
|
207
|
+
t[7] || (t[7] = S(W((...c) => e.onDownKey && e.onDownKey(...c), ["prevent"]), ["down"])),
|
|
208
|
+
S(W((c) => e.onOptionSelect(r), ["prevent"]), ["enter"]),
|
|
209
|
+
S(W((c) => e.onOptionSelect(r), ["prevent"]), ["space"])
|
|
202
210
|
],
|
|
203
|
-
onBlur: (
|
|
204
|
-
},
|
|
211
|
+
onBlur: (c) => e.onOptionBlur(d)
|
|
212
|
+
}, p(r[e.optionLabel]), 43, ge))), 256))
|
|
205
213
|
], 512), [
|
|
206
|
-
[
|
|
214
|
+
[ie, e.showOptions]
|
|
207
215
|
])
|
|
208
216
|
]);
|
|
209
217
|
}
|
|
210
|
-
const
|
|
218
|
+
const ke = /* @__PURE__ */ b(pe, [["render", be], ["__scopeId", "data-v-c6c55768"]]), ye = g({
|
|
211
219
|
name: "wra-banner",
|
|
212
220
|
props: {
|
|
213
221
|
/**
|
|
@@ -242,34 +250,34 @@ const ge = /* @__PURE__ */ g(ue, [["render", pe], ["__scopeId", "data-v-5bb9da83
|
|
|
242
250
|
this.visible = !1;
|
|
243
251
|
}
|
|
244
252
|
}
|
|
245
|
-
},
|
|
253
|
+
}), $e = {
|
|
246
254
|
key: 0,
|
|
247
255
|
class: "wra-banner-actions"
|
|
248
256
|
};
|
|
249
|
-
function
|
|
250
|
-
return
|
|
257
|
+
function ve(e, t, a, s, o, l) {
|
|
258
|
+
return e.visible ? (i(), n("div", {
|
|
251
259
|
key: 0,
|
|
252
|
-
class:
|
|
260
|
+
class: f(["wra-banner", {
|
|
253
261
|
"hidden-print": e.hiddenPrint === !0,
|
|
254
262
|
"new-service": e.newService === !0,
|
|
255
263
|
"closable-padding": e.closable === !0
|
|
256
264
|
}])
|
|
257
265
|
}, [
|
|
258
266
|
u("div", null, [
|
|
259
|
-
|
|
267
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
260
268
|
]),
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
])) :
|
|
264
|
-
e.closable ? (
|
|
269
|
+
e.$slots.actions ? (i(), n("div", $e, [
|
|
270
|
+
m(e.$slots, "actions", {}, void 0, !0)
|
|
271
|
+
])) : h("", !0),
|
|
272
|
+
e.closable ? (i(), n("button", {
|
|
265
273
|
key: 1,
|
|
266
274
|
class: "wra-banner-close",
|
|
267
|
-
onClick:
|
|
275
|
+
onClick: t[0] || (t[0] = (...r) => e.closeBanner && e.closeBanner(...r)),
|
|
268
276
|
"aria-label": "Close banner"
|
|
269
|
-
}, " × ")) :
|
|
270
|
-
], 2)) :
|
|
277
|
+
}, " × ")) : h("", !0)
|
|
278
|
+
], 2)) : h("", !0);
|
|
271
279
|
}
|
|
272
|
-
const
|
|
280
|
+
const we = /* @__PURE__ */ b(ye, [["render", ve], ["__scopeId", "data-v-13fdebc5"]]), Se = g({
|
|
273
281
|
name: "wra-breadcrumbs",
|
|
274
282
|
props: {
|
|
275
283
|
/** Items to display in the breadcrumbs */
|
|
@@ -293,34 +301,34 @@ const ve = /* @__PURE__ */ g(be, [["render", ye], ["__scopeId", "data-v-94b786a8
|
|
|
293
301
|
default: "href"
|
|
294
302
|
}
|
|
295
303
|
}
|
|
296
|
-
},
|
|
304
|
+
}), Ve = { class: "wra-breadcrumbs" }, Ie = { class: "wra-breadcrumbs-item" }, Me = ["href"], Ce = {
|
|
297
305
|
key: 1,
|
|
298
306
|
class: "wra-breadcrumbs-link--disabled"
|
|
299
|
-
},
|
|
307
|
+
}, Pe = {
|
|
300
308
|
key: 0,
|
|
301
309
|
class: "wra-breadcrumbs-divider"
|
|
302
310
|
};
|
|
303
|
-
function
|
|
304
|
-
return
|
|
305
|
-
(
|
|
306
|
-
u("li",
|
|
307
|
-
|
|
308
|
-
|
|
311
|
+
function Be(e, t, a, s, o, l) {
|
|
312
|
+
return i(), n("ul", Ve, [
|
|
313
|
+
(i(!0), n($, null, V(e.items, (r, d) => (i(), n($, null, [
|
|
314
|
+
u("li", Ie, [
|
|
315
|
+
m(e.$slots, "default", {}, () => [
|
|
316
|
+
r[e.itemDisabled] ? (i(), n("span", Ce, p(r[e.itemTitle]), 1)) : (i(), n("a", {
|
|
309
317
|
key: 0,
|
|
310
|
-
href:
|
|
318
|
+
href: r[e.itemHref],
|
|
311
319
|
class: "wra-breadcrumbs-link"
|
|
312
|
-
},
|
|
320
|
+
}, p(r[e.itemTitle]), 9, Me))
|
|
313
321
|
], !0)
|
|
314
322
|
]),
|
|
315
|
-
d !== e.items.length - 1 ? (
|
|
316
|
-
|
|
317
|
-
|
|
323
|
+
d !== e.items.length - 1 ? (i(), n("li", Pe, [
|
|
324
|
+
m(e.$slots, "divider", {}, () => [
|
|
325
|
+
t[0] || (t[0] = u("span", { class: "wra-breadcrumbs-chevron" }, null, -1))
|
|
318
326
|
], !0)
|
|
319
|
-
])) :
|
|
327
|
+
])) : h("", !0)
|
|
320
328
|
], 64))), 256))
|
|
321
329
|
]);
|
|
322
330
|
}
|
|
323
|
-
const
|
|
331
|
+
const Te = /* @__PURE__ */ b(Se, [["render", Be], ["__scopeId", "data-v-2a897129"]]), Oe = g({
|
|
324
332
|
name: "wra-button",
|
|
325
333
|
props: {
|
|
326
334
|
/**
|
|
@@ -374,39 +382,39 @@ const Me = /* @__PURE__ */ g(_e, [["render", $e], ["__scopeId", "data-v-26b6a965
|
|
|
374
382
|
};
|
|
375
383
|
}
|
|
376
384
|
}
|
|
377
|
-
},
|
|
378
|
-
function
|
|
379
|
-
return
|
|
380
|
-
class:
|
|
385
|
+
}), We = ["disabled"];
|
|
386
|
+
function Ne(e, t, a, s, o, l) {
|
|
387
|
+
return i(), n("button", {
|
|
388
|
+
class: f(["wra-button", e.buttonClass]),
|
|
381
389
|
type: "button",
|
|
382
390
|
disabled: e.disabled
|
|
383
391
|
}, [
|
|
384
392
|
u("span", {
|
|
385
|
-
class:
|
|
393
|
+
class: f([{
|
|
386
394
|
"prepend-icon-wrapper": e.prependIcon
|
|
387
395
|
}, "icon"])
|
|
388
396
|
}, [
|
|
389
|
-
|
|
397
|
+
m(e.$slots, "prepend-icon", {}, void 0, !0)
|
|
390
398
|
], 2),
|
|
391
|
-
|
|
399
|
+
m(e.$slots, "default", {}, void 0, !0),
|
|
392
400
|
u("span", {
|
|
393
|
-
class:
|
|
401
|
+
class: f([{
|
|
394
402
|
"append-icon-wrapper": e.appendIcon
|
|
395
403
|
}, "icon"])
|
|
396
404
|
}, [
|
|
397
|
-
|
|
405
|
+
m(e.$slots, "append-icon", {}, void 0, !0)
|
|
398
406
|
], 2)
|
|
399
|
-
], 10,
|
|
407
|
+
], 10, We);
|
|
400
408
|
}
|
|
401
|
-
const
|
|
409
|
+
const Y = /* @__PURE__ */ b(Oe, [["render", Ne], ["__scopeId", "data-v-667ad3bf"]]), qe = g({
|
|
402
410
|
name: "wra-card"
|
|
403
|
-
},
|
|
404
|
-
function
|
|
405
|
-
return
|
|
406
|
-
|
|
411
|
+
}), Ae = { class: "card" };
|
|
412
|
+
function Fe(e, t, a, s, o, l) {
|
|
413
|
+
return i(), n("div", Ae, [
|
|
414
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
407
415
|
]);
|
|
408
416
|
}
|
|
409
|
-
const
|
|
417
|
+
const Ee = /* @__PURE__ */ b(qe, [["render", Fe], ["__scopeId", "data-v-b458be18"]]), Le = g({
|
|
410
418
|
name: "wra-checkbox",
|
|
411
419
|
props: {
|
|
412
420
|
/**
|
|
@@ -438,26 +446,25 @@ const Fe = /* @__PURE__ */ g(Te, [["render", We], ["__scopeId", "data-v-7de2c8b6
|
|
|
438
446
|
},
|
|
439
447
|
data() {
|
|
440
448
|
return {
|
|
441
|
-
isChecked: this.
|
|
442
|
-
ariaIsChecked: null
|
|
449
|
+
isChecked: this.modelValue
|
|
443
450
|
};
|
|
444
451
|
},
|
|
445
452
|
watch: {
|
|
446
453
|
modelValue: {
|
|
447
454
|
handler() {
|
|
448
|
-
this.isChecked = this.modelValue
|
|
455
|
+
this.isChecked = this.modelValue;
|
|
449
456
|
},
|
|
450
457
|
immediate: !0
|
|
451
458
|
}
|
|
452
459
|
},
|
|
453
460
|
methods: {
|
|
454
|
-
checkInput
|
|
461
|
+
checkInput() {
|
|
455
462
|
this.isChecked = !this.isChecked, this.$emit("update:modelValue", this.isChecked);
|
|
456
463
|
}
|
|
457
464
|
}
|
|
458
|
-
},
|
|
459
|
-
function
|
|
460
|
-
return
|
|
465
|
+
}), je = ["aria-label"], De = ["for"], ze = ["id", "checked", "aria-checked"], Re = { class: "checkbox-text" }, _e = ["innerHTML"];
|
|
466
|
+
function Ke(e, t, a, s, o, l) {
|
|
467
|
+
return i(), n("div", {
|
|
461
468
|
role: "checkbox",
|
|
462
469
|
"aria-label": e.label
|
|
463
470
|
}, [
|
|
@@ -469,29 +476,30 @@ function je(t, a, e, r, n, s) {
|
|
|
469
476
|
class: "checkbox-input",
|
|
470
477
|
type: "checkbox",
|
|
471
478
|
id: e.id,
|
|
472
|
-
checked:
|
|
473
|
-
"aria-checked":
|
|
474
|
-
onChange:
|
|
475
|
-
onClick:
|
|
476
|
-
}, null, 40,
|
|
477
|
-
u("span",
|
|
478
|
-
u("p", null,
|
|
479
|
-
e.info ? (
|
|
479
|
+
checked: e.isChecked,
|
|
480
|
+
"aria-checked": e.isChecked,
|
|
481
|
+
onChange: t[0] || (t[0] = (r) => e.checkInput()),
|
|
482
|
+
onClick: t[1] || (t[1] = (r) => e.$emit("click"))
|
|
483
|
+
}, null, 40, ze),
|
|
484
|
+
u("span", Re, [
|
|
485
|
+
u("p", null, p(e.label), 1),
|
|
486
|
+
e.info ? (i(), n("p", {
|
|
480
487
|
key: 0,
|
|
481
488
|
class: "further-information-text",
|
|
482
489
|
innerHTML: e.info
|
|
483
|
-
}, null, 8,
|
|
490
|
+
}, null, 8, _e)) : h("", !0)
|
|
484
491
|
])
|
|
485
|
-
], 8,
|
|
486
|
-
], 8,
|
|
492
|
+
], 8, De)
|
|
493
|
+
], 8, je);
|
|
487
494
|
}
|
|
488
|
-
const
|
|
495
|
+
const ee = /* @__PURE__ */ b(Le, [["render", Ke], ["__scopeId", "data-v-b55724c0"]]), He = g({
|
|
489
496
|
name: "wra-checkbox-group",
|
|
490
497
|
props: {
|
|
491
498
|
/**
|
|
492
499
|
* The v-model binding for the checkbox group. Should be an array of selected values or objects.
|
|
493
500
|
*/
|
|
494
501
|
modelValue: {
|
|
502
|
+
type: Array,
|
|
495
503
|
default: () => []
|
|
496
504
|
},
|
|
497
505
|
/**
|
|
@@ -537,31 +545,31 @@ const X = /* @__PURE__ */ g(Ne, [["render", je], ["__scopeId", "data-v-ad0c7146"
|
|
|
537
545
|
data() {
|
|
538
546
|
return {
|
|
539
547
|
checked: {},
|
|
540
|
-
value:
|
|
548
|
+
value: []
|
|
541
549
|
};
|
|
542
550
|
},
|
|
543
551
|
methods: {
|
|
544
|
-
checkInput(
|
|
545
|
-
this.checked[
|
|
546
|
-
let
|
|
547
|
-
this.returnObject
|
|
548
|
-
if (this.checked[
|
|
549
|
-
for (let
|
|
550
|
-
const
|
|
551
|
-
typeof
|
|
552
|
+
checkInput(e) {
|
|
553
|
+
this.checked[e] = !this.checked[e];
|
|
554
|
+
let t = [];
|
|
555
|
+
this.returnObject === !0 ? Object.keys(this.checked).forEach((a) => {
|
|
556
|
+
if (this.checked[a] === !0)
|
|
557
|
+
for (let o = 0; o < this.validOptions.length; o++) {
|
|
558
|
+
const l = this.validOptions[o];
|
|
559
|
+
typeof l == "object" ? l[this.itemValue] == a && t.push(l) : l == a && t.push(l);
|
|
552
560
|
}
|
|
553
|
-
}) :
|
|
554
|
-
(
|
|
555
|
-
), this.$emit("update:modelValue",
|
|
561
|
+
}) : t = Object.keys(this.checked).filter(
|
|
562
|
+
(a) => this.checked[a]
|
|
563
|
+
), this.$emit("update:modelValue", t);
|
|
556
564
|
},
|
|
557
|
-
checkForObjectLabel(
|
|
558
|
-
return typeof
|
|
565
|
+
checkForObjectLabel(e) {
|
|
566
|
+
return typeof e == "object" ? e[this.itemLabel] : e;
|
|
559
567
|
},
|
|
560
|
-
checkForObjectInfo(
|
|
561
|
-
return typeof
|
|
568
|
+
checkForObjectInfo(e) {
|
|
569
|
+
return typeof e == "object" ? e[this.itemInfo] : null;
|
|
562
570
|
},
|
|
563
|
-
checkForObjectValue(
|
|
564
|
-
return typeof
|
|
571
|
+
checkForObjectValue(e) {
|
|
572
|
+
return typeof e == "object" ? e[this.itemValue] : e;
|
|
565
573
|
}
|
|
566
574
|
},
|
|
567
575
|
computed: {
|
|
@@ -570,121 +578,121 @@ const X = /* @__PURE__ */ g(Ne, [["render", je], ["__scopeId", "data-v-ad0c7146"
|
|
|
570
578
|
}
|
|
571
579
|
},
|
|
572
580
|
mounted() {
|
|
573
|
-
this.value = this.modelValue ??
|
|
574
|
-
for (let
|
|
575
|
-
const
|
|
576
|
-
typeof
|
|
581
|
+
this.value = this.modelValue ?? [];
|
|
582
|
+
for (let e = 0; e < this.value.length; e++) {
|
|
583
|
+
const t = this.value[e];
|
|
584
|
+
typeof t == "object" ? this.checked[t[this.itemValue]] = !0 : this.checked[t] = !0;
|
|
577
585
|
}
|
|
578
586
|
},
|
|
579
587
|
components: {
|
|
580
|
-
WraCheckbox:
|
|
588
|
+
WraCheckbox: ee
|
|
581
589
|
}
|
|
582
|
-
},
|
|
583
|
-
function
|
|
584
|
-
return
|
|
590
|
+
}), Ue = ["aria-label"], Ge = ["for"], Ye = ["id", "checked", "aria-checked", "onChange"], Je = { class: "checkbox-text" }, Ze = ["innerHTML"];
|
|
591
|
+
function Qe(e, t, a, s, o, l) {
|
|
592
|
+
return i(!0), n($, null, V(e.validOptions, (r) => (i(), n("div", {
|
|
585
593
|
role: "checkbox",
|
|
586
594
|
class: "checkbox",
|
|
587
|
-
"aria-label":
|
|
595
|
+
"aria-label": e.checkForObjectLabel(r)
|
|
588
596
|
}, [
|
|
589
597
|
u("label", {
|
|
590
|
-
for:
|
|
598
|
+
for: e.checkForObjectValue(r),
|
|
591
599
|
class: "checkbox-label"
|
|
592
600
|
}, [
|
|
593
601
|
u("input", {
|
|
594
602
|
class: "checkbox-input",
|
|
595
603
|
type: "checkbox",
|
|
596
|
-
id:
|
|
597
|
-
checked:
|
|
598
|
-
"aria-checked":
|
|
599
|
-
onChange: (d) =>
|
|
600
|
-
}, null, 40,
|
|
601
|
-
u("span",
|
|
602
|
-
u("p", null,
|
|
603
|
-
|
|
604
|
+
id: e.checkForObjectValue(r),
|
|
605
|
+
checked: e.checked[e.checkForObjectValue(r)],
|
|
606
|
+
"aria-checked": e.checked[e.checkForObjectValue(r)],
|
|
607
|
+
onChange: (d) => e.checkInput(e.checkForObjectValue(r))
|
|
608
|
+
}, null, 40, Ye),
|
|
609
|
+
u("span", Je, [
|
|
610
|
+
u("p", null, p(e.checkForObjectLabel(r)), 1),
|
|
611
|
+
e.checkForObjectInfo(r) ? (i(), n("p", {
|
|
604
612
|
key: 0,
|
|
605
613
|
class: "further-information-text",
|
|
606
|
-
innerHTML:
|
|
607
|
-
}, null, 8,
|
|
614
|
+
innerHTML: e.checkForObjectInfo(r)
|
|
615
|
+
}, null, 8, Ze)) : h("", !0)
|
|
608
616
|
])
|
|
609
|
-
], 8,
|
|
610
|
-
], 8,
|
|
617
|
+
], 8, Ge)
|
|
618
|
+
], 8, Ue))), 256);
|
|
611
619
|
}
|
|
612
|
-
const
|
|
620
|
+
const Xe = /* @__PURE__ */ b(He, [["render", Qe], ["__scopeId", "data-v-01eb117c"]]), xe = g({
|
|
613
621
|
name: "wra-content-section-title"
|
|
614
|
-
},
|
|
615
|
-
function
|
|
616
|
-
return
|
|
617
|
-
|
|
622
|
+
}), et = { class: "content-section-title" };
|
|
623
|
+
function tt(e, t, a, s, o, l) {
|
|
624
|
+
return i(), n("div", et, [
|
|
625
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
618
626
|
]);
|
|
619
627
|
}
|
|
620
|
-
const
|
|
621
|
-
var
|
|
622
|
-
const
|
|
628
|
+
const at = /* @__PURE__ */ b(xe, [["render", tt], ["__scopeId", "data-v-b917a4a4"]]);
|
|
629
|
+
var st = Object.defineProperty, rt = (e, t, a) => t in e ? st(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, L = (e, t, a) => rt(e, typeof t != "symbol" ? t + "" : t, a);
|
|
630
|
+
const Z = {
|
|
623
631
|
"#": { pattern: /[0-9]/ },
|
|
624
632
|
"@": { pattern: /[a-zA-Z]/ },
|
|
625
633
|
"*": { pattern: /[a-zA-Z0-9]/ }
|
|
626
|
-
},
|
|
627
|
-
var
|
|
628
|
-
return new Intl.NumberFormat(((
|
|
629
|
-
minimumFractionDigits:
|
|
630
|
-
maximumFractionDigits:
|
|
634
|
+
}, Q = (e, t, a) => e.replaceAll(t, "").replace(a, ".").replace("..", ".").replace(/[^.\d]/g, ""), X = (e, t, a) => {
|
|
635
|
+
var s;
|
|
636
|
+
return new Intl.NumberFormat(((s = a.number) == null ? void 0 : s.locale) ?? "en", {
|
|
637
|
+
minimumFractionDigits: e,
|
|
638
|
+
maximumFractionDigits: t,
|
|
631
639
|
roundingMode: "trunc"
|
|
632
640
|
});
|
|
633
|
-
},
|
|
634
|
-
var
|
|
635
|
-
const d = ((
|
|
636
|
-
let
|
|
637
|
-
const
|
|
638
|
-
if (Number.isNaN(parseFloat(
|
|
639
|
-
const
|
|
640
|
-
if (
|
|
641
|
-
const
|
|
642
|
-
|
|
641
|
+
}, it = (e, t = !0, a) => {
|
|
642
|
+
var s, o, l, r;
|
|
643
|
+
const d = ((s = a.number) == null ? void 0 : s.unsigned) !== !0 && e.startsWith("-") ? "-" : "", c = ((o = a.number) == null ? void 0 : o.fraction) ?? 0;
|
|
644
|
+
let k = X(0, c, a);
|
|
645
|
+
const M = k.formatToParts(1000.12), I = ((l = M.find((y) => y.type === "group")) == null ? void 0 : l.value) ?? " ", v = ((r = M.find((y) => y.type === "decimal")) == null ? void 0 : r.value) ?? ".", w = Q(e, I, v);
|
|
646
|
+
if (Number.isNaN(parseFloat(w))) return d;
|
|
647
|
+
const T = w.split(".");
|
|
648
|
+
if (T[1] != null && T[1].length >= 1) {
|
|
649
|
+
const y = T[1].length <= c ? T[1].length : c;
|
|
650
|
+
k = X(y, c, a);
|
|
643
651
|
}
|
|
644
|
-
let
|
|
645
|
-
return
|
|
646
|
-
},
|
|
647
|
-
const
|
|
648
|
-
|
|
649
|
-
const
|
|
650
|
-
return
|
|
651
|
-
},
|
|
652
|
-
if (
|
|
653
|
-
return
|
|
654
|
-
const
|
|
655
|
-
return
|
|
656
|
-
const
|
|
657
|
-
|
|
658
|
-
pattern:
|
|
659
|
-
optional:
|
|
660
|
-
multiple:
|
|
661
|
-
repeated:
|
|
652
|
+
let C = k.format(parseFloat(w));
|
|
653
|
+
return t ? c > 0 && w.endsWith(".") && !w.slice(0, -1).includes(".") && (C += v) : C = Q(C, I, v), d + C;
|
|
654
|
+
}, te = (e) => JSON.parse(e.replaceAll("'", '"')), nt = (e, t = {}) => {
|
|
655
|
+
const a = { ...t };
|
|
656
|
+
e.dataset.maska != null && e.dataset.maska !== "" && (a.mask = ot(e.dataset.maska)), e.dataset.maskaEager != null && (a.eager = K(e.dataset.maskaEager)), e.dataset.maskaReversed != null && (a.reversed = K(e.dataset.maskaReversed)), e.dataset.maskaTokensReplace != null && (a.tokensReplace = K(e.dataset.maskaTokensReplace)), e.dataset.maskaTokens != null && (a.tokens = lt(e.dataset.maskaTokens));
|
|
657
|
+
const s = {};
|
|
658
|
+
return e.dataset.maskaNumberLocale != null && (s.locale = e.dataset.maskaNumberLocale), e.dataset.maskaNumberFraction != null && (s.fraction = parseInt(e.dataset.maskaNumberFraction)), e.dataset.maskaNumberUnsigned != null && (s.unsigned = K(e.dataset.maskaNumberUnsigned)), (e.dataset.maskaNumber != null || Object.values(s).length > 0) && (a.number = s), a;
|
|
659
|
+
}, K = (e) => e !== "" ? !!JSON.parse(e) : !0, ot = (e) => e.startsWith("[") && e.endsWith("]") ? te(e) : e, lt = (e) => {
|
|
660
|
+
if (e.startsWith("{") && e.endsWith("}"))
|
|
661
|
+
return te(e);
|
|
662
|
+
const t = {};
|
|
663
|
+
return e.split("|").forEach((a) => {
|
|
664
|
+
const s = a.split(":");
|
|
665
|
+
t[s[0]] = {
|
|
666
|
+
pattern: ae() ? new RegExp(s[1], "u") : new RegExp(s[1]),
|
|
667
|
+
optional: s[2] === "optional",
|
|
668
|
+
multiple: s[2] === "multiple",
|
|
669
|
+
repeated: s[2] === "repeated"
|
|
662
670
|
};
|
|
663
|
-
}),
|
|
664
|
-
},
|
|
671
|
+
}), t;
|
|
672
|
+
}, ae = () => {
|
|
665
673
|
try {
|
|
666
674
|
return new RegExp("\\p{L}", "u"), !0;
|
|
667
675
|
} catch {
|
|
668
676
|
return !1;
|
|
669
677
|
}
|
|
670
678
|
};
|
|
671
|
-
class
|
|
672
|
-
constructor(
|
|
673
|
-
|
|
674
|
-
const
|
|
675
|
-
if (
|
|
676
|
-
|
|
677
|
-
for (const
|
|
678
|
-
typeof
|
|
679
|
+
class ut {
|
|
680
|
+
constructor(t = {}) {
|
|
681
|
+
L(this, "opts", {}), L(this, "memo", /* @__PURE__ */ new Map());
|
|
682
|
+
const a = { ...t };
|
|
683
|
+
if (a.tokens != null) {
|
|
684
|
+
a.tokens = a.tokensReplace ? { ...a.tokens } : { ...Z, ...a.tokens };
|
|
685
|
+
for (const s of Object.values(a.tokens))
|
|
686
|
+
typeof s.pattern == "string" && (s.pattern = ae() ? new RegExp(s.pattern, "u") : new RegExp(s.pattern));
|
|
679
687
|
} else
|
|
680
|
-
|
|
681
|
-
Array.isArray(
|
|
688
|
+
a.tokens = Z;
|
|
689
|
+
Array.isArray(a.mask) && (a.mask.length > 1 ? a.mask = [...a.mask].sort((s, o) => s.length - o.length) : a.mask = a.mask[0] ?? ""), a.mask === "" && (a.mask = null), this.opts = a;
|
|
682
690
|
}
|
|
683
|
-
masked(
|
|
684
|
-
return this.process(String(
|
|
691
|
+
masked(t) {
|
|
692
|
+
return this.process(String(t), this.findMask(String(t)));
|
|
685
693
|
}
|
|
686
|
-
unmasked(
|
|
687
|
-
return this.process(String(
|
|
694
|
+
unmasked(t) {
|
|
695
|
+
return this.process(String(t), this.findMask(String(t)), !1);
|
|
688
696
|
}
|
|
689
697
|
isEager() {
|
|
690
698
|
return this.opts.eager === !0;
|
|
@@ -692,136 +700,136 @@ class lt {
|
|
|
692
700
|
isReversed() {
|
|
693
701
|
return this.opts.reversed === !0;
|
|
694
702
|
}
|
|
695
|
-
completed(
|
|
696
|
-
const
|
|
697
|
-
if (this.opts.mask == null ||
|
|
698
|
-
const
|
|
699
|
-
return typeof this.opts.mask == "string" ?
|
|
703
|
+
completed(t) {
|
|
704
|
+
const a = this.findMask(String(t));
|
|
705
|
+
if (this.opts.mask == null || a == null) return !1;
|
|
706
|
+
const s = this.process(String(t), a).length;
|
|
707
|
+
return typeof this.opts.mask == "string" ? s >= this.opts.mask.length : s >= a.length;
|
|
700
708
|
}
|
|
701
|
-
findMask(
|
|
702
|
-
const
|
|
703
|
-
if (
|
|
709
|
+
findMask(t) {
|
|
710
|
+
const a = this.opts.mask;
|
|
711
|
+
if (a == null)
|
|
704
712
|
return null;
|
|
705
|
-
if (typeof
|
|
706
|
-
return
|
|
707
|
-
if (typeof
|
|
708
|
-
return
|
|
709
|
-
const
|
|
710
|
-
return
|
|
713
|
+
if (typeof a == "string")
|
|
714
|
+
return a;
|
|
715
|
+
if (typeof a == "function")
|
|
716
|
+
return a(t);
|
|
717
|
+
const s = this.process(t, a.slice(-1).pop() ?? "", !1);
|
|
718
|
+
return a.find((o) => this.process(t, o, !1).length >= s.length) ?? "";
|
|
711
719
|
}
|
|
712
|
-
escapeMask(
|
|
713
|
-
const
|
|
714
|
-
return
|
|
715
|
-
|
|
716
|
-
}), { mask:
|
|
720
|
+
escapeMask(t) {
|
|
721
|
+
const a = [], s = [];
|
|
722
|
+
return t.split("").forEach((o, l) => {
|
|
723
|
+
o === "!" && t[l - 1] !== "!" ? s.push(l - s.length) : a.push(o);
|
|
724
|
+
}), { mask: a.join(""), escaped: s };
|
|
717
725
|
}
|
|
718
|
-
process(
|
|
719
|
-
if (this.opts.number != null) return
|
|
720
|
-
if (
|
|
721
|
-
const
|
|
722
|
-
if (this.memo.has(
|
|
723
|
-
const { mask:
|
|
724
|
-
let
|
|
726
|
+
process(t, a, s = !0) {
|
|
727
|
+
if (this.opts.number != null) return it(t, s, this.opts);
|
|
728
|
+
if (a == null) return t;
|
|
729
|
+
const o = `v=${t},mr=${a},m=${s ? 1 : 0}`;
|
|
730
|
+
if (this.memo.has(o)) return this.memo.get(o);
|
|
731
|
+
const { mask: l, escaped: r } = this.escapeMask(a), d = [], c = this.opts.tokens != null ? this.opts.tokens : {}, k = this.isReversed() ? -1 : 1, M = this.isReversed() ? "unshift" : "push", I = this.isReversed() ? 0 : l.length - 1, v = this.isReversed() ? () => y > -1 && P > -1 : () => y < l.length && P < t.length, w = (A) => !this.isReversed() && A <= I || this.isReversed() && A >= I;
|
|
732
|
+
let T, C = -1, y = this.isReversed() ? l.length - 1 : 0, P = this.isReversed() ? t.length - 1 : 0, H = !1;
|
|
725
733
|
for (; v(); ) {
|
|
726
|
-
const
|
|
727
|
-
if (!
|
|
728
|
-
for (;
|
|
729
|
-
if (
|
|
730
|
-
if (d[
|
|
731
|
-
|
|
734
|
+
const A = l.charAt(y), O = c[A], _ = (O == null ? void 0 : O.transform) != null ? O.transform(t.charAt(P)) : t.charAt(P);
|
|
735
|
+
if (!r.includes(y) && O != null ? (_.match(O.pattern) != null ? (d[M](_), O.repeated ? (C === -1 ? C = y : y === I && y !== C && (y = C - k), I === C && (y -= k)) : O.multiple && (H = !0, y -= k), y += k) : O.multiple ? H && (y += k, P -= k, H = !1) : _ === T ? T = void 0 : O.optional && (y += k, P -= k), P += k) : (s && !this.isEager() && d[M](A), _ === A && !this.isEager() ? P += k : T = A, this.isEager() || (y += k)), this.isEager())
|
|
736
|
+
for (; w(y) && (c[l.charAt(y)] == null || r.includes(y)); ) {
|
|
737
|
+
if (s) {
|
|
738
|
+
if (d[M](l.charAt(y)), t.charAt(P) === l.charAt(y)) {
|
|
739
|
+
y += k, P += k;
|
|
732
740
|
continue;
|
|
733
741
|
}
|
|
734
|
-
} else
|
|
735
|
-
|
|
742
|
+
} else l.charAt(y) === t.charAt(P) && (P += k);
|
|
743
|
+
y += k;
|
|
736
744
|
}
|
|
737
745
|
}
|
|
738
|
-
return this.memo.set(
|
|
746
|
+
return this.memo.set(o, d.join("")), this.memo.get(o);
|
|
739
747
|
}
|
|
740
748
|
}
|
|
741
|
-
class
|
|
742
|
-
constructor(
|
|
743
|
-
|
|
744
|
-
if (
|
|
749
|
+
class dt {
|
|
750
|
+
constructor(t, a = {}) {
|
|
751
|
+
L(this, "items", /* @__PURE__ */ new Map()), L(this, "eventAbortController"), L(this, "onInput", (s) => {
|
|
752
|
+
if (s instanceof CustomEvent && s.type === "input" && !s.isTrusted && !s.bubbles)
|
|
745
753
|
return;
|
|
746
|
-
const
|
|
747
|
-
if (
|
|
748
|
-
const
|
|
749
|
-
this.fixCursor(
|
|
750
|
-
}), this.options =
|
|
754
|
+
const o = s.target, l = this.items.get(o);
|
|
755
|
+
if (l === void 0) return;
|
|
756
|
+
const r = "inputType" in s && s.inputType.startsWith("delete"), d = l.isEager(), c = r && d && l.unmasked(o.value) === "" ? "" : o.value;
|
|
757
|
+
this.fixCursor(o, r, () => this.setValue(o, c));
|
|
758
|
+
}), this.options = a, this.eventAbortController = new AbortController(), this.init(this.getInputs(t));
|
|
751
759
|
}
|
|
752
|
-
update(
|
|
753
|
-
this.options = { ...
|
|
760
|
+
update(t = {}) {
|
|
761
|
+
this.options = { ...t }, this.init(Array.from(this.items.keys()));
|
|
754
762
|
}
|
|
755
|
-
updateValue(
|
|
756
|
-
var
|
|
757
|
-
|
|
763
|
+
updateValue(t) {
|
|
764
|
+
var a;
|
|
765
|
+
t.value !== "" && t.value !== ((a = this.processInput(t)) == null ? void 0 : a.masked) && this.setValue(t, t.value);
|
|
758
766
|
}
|
|
759
767
|
destroy() {
|
|
760
768
|
this.eventAbortController.abort(), this.items.clear();
|
|
761
769
|
}
|
|
762
|
-
init(
|
|
763
|
-
const
|
|
764
|
-
for (const
|
|
765
|
-
if (!this.items.has(
|
|
766
|
-
const { signal:
|
|
767
|
-
|
|
770
|
+
init(t) {
|
|
771
|
+
const a = this.getOptions(this.options);
|
|
772
|
+
for (const s of t) {
|
|
773
|
+
if (!this.items.has(s)) {
|
|
774
|
+
const { signal: l } = this.eventAbortController;
|
|
775
|
+
s.addEventListener("input", this.onInput, { capture: !0, signal: l });
|
|
768
776
|
}
|
|
769
|
-
const
|
|
770
|
-
this.items.set(
|
|
777
|
+
const o = new ut(nt(s, a));
|
|
778
|
+
this.items.set(s, o), queueMicrotask(() => this.updateValue(s)), s.selectionStart === null && o.isEager() && console.warn("Maska: input of `%s` type is not supported", s.type);
|
|
771
779
|
}
|
|
772
780
|
}
|
|
773
|
-
getInputs(
|
|
774
|
-
return typeof
|
|
781
|
+
getInputs(t) {
|
|
782
|
+
return typeof t == "string" ? Array.from(document.querySelectorAll(t)) : "length" in t ? Array.from(t) : [t];
|
|
775
783
|
}
|
|
776
|
-
getOptions(
|
|
777
|
-
const { onMaska:
|
|
778
|
-
return
|
|
784
|
+
getOptions(t) {
|
|
785
|
+
const { onMaska: a, preProcess: s, postProcess: o, ...l } = t;
|
|
786
|
+
return l;
|
|
779
787
|
}
|
|
780
|
-
fixCursor(
|
|
781
|
-
var
|
|
782
|
-
const
|
|
783
|
-
if (
|
|
784
|
-
const
|
|
785
|
-
if (
|
|
786
|
-
let
|
|
787
|
-
|
|
788
|
+
fixCursor(t, a, s) {
|
|
789
|
+
var o, l;
|
|
790
|
+
const r = t.selectionStart, d = t.value;
|
|
791
|
+
if (s(), r === null || r === d.length && !a) return;
|
|
792
|
+
const c = t.value, k = d.slice(0, r), M = c.slice(0, r), I = (o = this.processInput(t, k)) == null ? void 0 : o.unmasked, v = (l = this.processInput(t, M)) == null ? void 0 : l.unmasked;
|
|
793
|
+
if (I === void 0 || v === void 0) return;
|
|
794
|
+
let w = r;
|
|
795
|
+
k !== M && (w += a ? c.length - d.length : I.length - v.length), t.setSelectionRange(w, w);
|
|
788
796
|
}
|
|
789
|
-
setValue(
|
|
790
|
-
const
|
|
791
|
-
|
|
797
|
+
setValue(t, a) {
|
|
798
|
+
const s = this.processInput(t, a);
|
|
799
|
+
s !== void 0 && (t.value = s.masked, this.options.onMaska != null && (Array.isArray(this.options.onMaska) ? this.options.onMaska.forEach((o) => o(s)) : this.options.onMaska(s)), t.dispatchEvent(new CustomEvent("maska", { detail: s })), t.dispatchEvent(new CustomEvent("input", { detail: s.masked })));
|
|
792
800
|
}
|
|
793
|
-
processInput(
|
|
794
|
-
const
|
|
795
|
-
if (
|
|
796
|
-
let
|
|
797
|
-
this.options.preProcess != null && (
|
|
798
|
-
let
|
|
799
|
-
return this.options.postProcess != null && (
|
|
800
|
-
masked:
|
|
801
|
-
unmasked:
|
|
802
|
-
completed:
|
|
801
|
+
processInput(t, a) {
|
|
802
|
+
const s = this.items.get(t);
|
|
803
|
+
if (s === void 0) return;
|
|
804
|
+
let o = a ?? t.value;
|
|
805
|
+
this.options.preProcess != null && (o = this.options.preProcess(o));
|
|
806
|
+
let l = s.masked(o);
|
|
807
|
+
return this.options.postProcess != null && (l = this.options.postProcess(l)), {
|
|
808
|
+
masked: l,
|
|
809
|
+
unmasked: s.unmasked(o),
|
|
810
|
+
completed: s.completed(o)
|
|
803
811
|
};
|
|
804
812
|
}
|
|
805
813
|
}
|
|
806
|
-
const
|
|
807
|
-
if (
|
|
808
|
-
const
|
|
809
|
-
|
|
810
|
-
},
|
|
811
|
-
var
|
|
812
|
-
const
|
|
813
|
-
if (
|
|
814
|
-
let
|
|
815
|
-
if (
|
|
816
|
-
const
|
|
817
|
-
const d =
|
|
818
|
-
|
|
814
|
+
const U = /* @__PURE__ */ new WeakMap(), pt = (e, t) => {
|
|
815
|
+
if (e.arg == null || e.instance == null) return;
|
|
816
|
+
const a = "setup" in e.instance.$.type;
|
|
817
|
+
e.arg in e.instance ? e.instance[e.arg] = t : a && console.warn("Maska: please expose `%s` using defineExpose", e.arg);
|
|
818
|
+
}, R = (e, t) => {
|
|
819
|
+
var a;
|
|
820
|
+
const s = e instanceof HTMLInputElement ? e : e.querySelector("input");
|
|
821
|
+
if (s == null || (s == null ? void 0 : s.type) === "file") return;
|
|
822
|
+
let o = {};
|
|
823
|
+
if (t.value != null && (o = typeof t.value == "string" ? { mask: t.value } : { ...t.value }), t.arg != null) {
|
|
824
|
+
const l = (r) => {
|
|
825
|
+
const d = t.modifiers.unmasked ? r.unmasked : t.modifiers.completed ? r.completed : r.masked;
|
|
826
|
+
pt(t, d);
|
|
819
827
|
};
|
|
820
|
-
|
|
828
|
+
o.onMaska = o.onMaska == null ? l : Array.isArray(o.onMaska) ? [...o.onMaska, l] : [o.onMaska, l];
|
|
821
829
|
}
|
|
822
|
-
|
|
823
|
-
},
|
|
824
|
-
directives: { maska:
|
|
830
|
+
U.has(s) ? (a = U.get(s)) == null || a.update(o) : U.set(s, new dt(s, o));
|
|
831
|
+
}, ct = g({
|
|
832
|
+
directives: { maska: R },
|
|
825
833
|
name: "wra-custom-input",
|
|
826
834
|
props: {
|
|
827
835
|
/**
|
|
@@ -830,6 +838,7 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
830
838
|
* @required
|
|
831
839
|
*/
|
|
832
840
|
modelValue: {
|
|
841
|
+
type: [String, Number],
|
|
833
842
|
required: !0,
|
|
834
843
|
default: ""
|
|
835
844
|
},
|
|
@@ -838,7 +847,8 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
838
847
|
* @type {string}
|
|
839
848
|
*/
|
|
840
849
|
dataMaska: {
|
|
841
|
-
type: String
|
|
850
|
+
type: String,
|
|
851
|
+
required: !1
|
|
842
852
|
},
|
|
843
853
|
/**
|
|
844
854
|
* Whether to apply the mask eagerly.
|
|
@@ -863,14 +873,16 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
863
873
|
* @type {string}
|
|
864
874
|
*/
|
|
865
875
|
dataMaskaTokens: {
|
|
866
|
-
type: String
|
|
876
|
+
type: String,
|
|
877
|
+
required: !1
|
|
867
878
|
},
|
|
868
879
|
/**
|
|
869
880
|
* The label for the input field.
|
|
870
881
|
* @type {string}
|
|
871
882
|
*/
|
|
872
883
|
label: {
|
|
873
|
-
type: String
|
|
884
|
+
type: String,
|
|
885
|
+
required: !1
|
|
874
886
|
},
|
|
875
887
|
/**
|
|
876
888
|
* The ID for the input field.
|
|
@@ -890,20 +902,8 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
890
902
|
* @validator value {string} - The input mode must be one of ["none", "text", "tel", "url", "email", "numeric", "decimal", "search"].
|
|
891
903
|
*/
|
|
892
904
|
inputmode: {
|
|
893
|
-
default: "numeric",
|
|
894
905
|
type: String,
|
|
895
|
-
|
|
896
|
-
return [
|
|
897
|
-
"none",
|
|
898
|
-
"text",
|
|
899
|
-
"tel",
|
|
900
|
-
"url",
|
|
901
|
-
"email",
|
|
902
|
-
"numeric",
|
|
903
|
-
"decimal",
|
|
904
|
-
"search"
|
|
905
|
-
].includes(t);
|
|
906
|
-
}
|
|
906
|
+
default: "numeric"
|
|
907
907
|
},
|
|
908
908
|
/**
|
|
909
909
|
* The type of the input field.
|
|
@@ -913,25 +913,15 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
913
913
|
*/
|
|
914
914
|
type: {
|
|
915
915
|
type: String,
|
|
916
|
-
default: "text"
|
|
917
|
-
validator(t) {
|
|
918
|
-
return [
|
|
919
|
-
"text",
|
|
920
|
-
"none",
|
|
921
|
-
"tel",
|
|
922
|
-
"url",
|
|
923
|
-
"email",
|
|
924
|
-
"numeric",
|
|
925
|
-
"decimal"
|
|
926
|
-
].includes(t);
|
|
927
|
-
}
|
|
916
|
+
default: "text"
|
|
928
917
|
},
|
|
929
918
|
/**
|
|
930
919
|
* The placeholder text for the input field.
|
|
931
920
|
* @type {string}
|
|
932
921
|
*/
|
|
933
922
|
placeholder: {
|
|
934
|
-
type: String
|
|
923
|
+
type: String,
|
|
924
|
+
required: !1
|
|
935
925
|
},
|
|
936
926
|
/**
|
|
937
927
|
* An array of validation rule functions. Each function should return true or an error message string.
|
|
@@ -945,14 +935,16 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
945
935
|
* @type {string}
|
|
946
936
|
*/
|
|
947
937
|
prefix: {
|
|
948
|
-
type: String
|
|
938
|
+
type: String,
|
|
939
|
+
required: !1
|
|
949
940
|
},
|
|
950
941
|
/**
|
|
951
942
|
* The suffix text to display after the input field.
|
|
952
943
|
* @type {string}
|
|
953
944
|
*/
|
|
954
945
|
suffix: {
|
|
955
|
-
type: String
|
|
946
|
+
type: String,
|
|
947
|
+
required: !1
|
|
956
948
|
},
|
|
957
949
|
/**
|
|
958
950
|
* Whether to emit maska details.
|
|
@@ -965,22 +957,23 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
965
957
|
}
|
|
966
958
|
},
|
|
967
959
|
emits: ["update:modelValue", "valid"],
|
|
968
|
-
data
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
960
|
+
data() {
|
|
961
|
+
return {
|
|
962
|
+
errorMessage: "",
|
|
963
|
+
firstValidation: !0
|
|
964
|
+
};
|
|
965
|
+
},
|
|
972
966
|
methods: {
|
|
973
|
-
onMaska(
|
|
974
|
-
const
|
|
975
|
-
this.$emit("update:modelValue",
|
|
967
|
+
onMaska(e) {
|
|
968
|
+
const t = e.detail.unmasked;
|
|
969
|
+
this.$emit("update:modelValue", t), this.validate(t);
|
|
976
970
|
},
|
|
977
|
-
validate(
|
|
971
|
+
validate(e) {
|
|
978
972
|
if (this.errorMessage = "", this.rules != null)
|
|
979
|
-
for (let
|
|
980
|
-
const
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
this.errorMessage = r, this.$emit("valid", { id: this.id, value: !1 });
|
|
973
|
+
for (let t = 0; t < this.rules.length; t++) {
|
|
974
|
+
const a = this.rules[t], s = a(e);
|
|
975
|
+
if (s != !0) {
|
|
976
|
+
this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
|
|
984
977
|
break;
|
|
985
978
|
}
|
|
986
979
|
}
|
|
@@ -998,44 +991,44 @@ const K = /* @__PURE__ */ new WeakMap(), ut = (t, a) => {
|
|
|
998
991
|
mounted() {
|
|
999
992
|
this.$emit("update:modelValue", this.modelValue), this.validate(this.modelValue);
|
|
1000
993
|
}
|
|
1001
|
-
},
|
|
994
|
+
}), ht = ["for"], ft = { class: "input-wrapper" }, mt = {
|
|
1002
995
|
key: 0,
|
|
1003
996
|
class: "prefix"
|
|
1004
|
-
},
|
|
997
|
+
}, gt = ["id", "type", "value", "inputmode", "placeholder", "data-maska-eager", "data-maska-reversed", "data-maska-tokens"], bt = {
|
|
1005
998
|
key: 1,
|
|
1006
999
|
class: "suffix"
|
|
1007
1000
|
};
|
|
1008
|
-
function
|
|
1009
|
-
const
|
|
1010
|
-
return
|
|
1011
|
-
class:
|
|
1001
|
+
function kt(e, t, a, s, o, l) {
|
|
1002
|
+
const r = D("maska");
|
|
1003
|
+
return i(), n("div", {
|
|
1004
|
+
class: f({ error: !!e.errorMessage })
|
|
1012
1005
|
}, [
|
|
1013
|
-
e.label ? (
|
|
1006
|
+
e.label ? (i(), n("label", {
|
|
1014
1007
|
key: 0,
|
|
1015
1008
|
for: e.id
|
|
1016
|
-
},
|
|
1017
|
-
u("div",
|
|
1018
|
-
e.prefix ? (
|
|
1019
|
-
|
|
1009
|
+
}, p(e.label), 9, ht)) : h("", !0),
|
|
1010
|
+
u("div", ft, [
|
|
1011
|
+
e.prefix ? (i(), n("span", mt, p(e.prefix), 1)) : h("", !0),
|
|
1012
|
+
q(u("input", {
|
|
1020
1013
|
id: e.id,
|
|
1021
1014
|
type: e.type,
|
|
1022
1015
|
value: e.modelValue,
|
|
1023
|
-
inputmode: e.inputmode
|
|
1016
|
+
inputmode: e.inputmode,
|
|
1024
1017
|
placeholder: e.placeholder,
|
|
1025
|
-
onMaska:
|
|
1018
|
+
onMaska: t[0] || (t[0] = (...d) => e.onMaska && e.onMaska(...d)),
|
|
1026
1019
|
"data-maska-eager": e.dataMaskaEager,
|
|
1027
1020
|
"data-maska-reversed": e.dataMaskaReversed,
|
|
1028
1021
|
"data-maska-tokens": e.dataMaskaTokens,
|
|
1029
|
-
class:
|
|
1030
|
-
}, null, 42,
|
|
1031
|
-
[
|
|
1022
|
+
class: f(e.prefixPadding)
|
|
1023
|
+
}, null, 42, gt), [
|
|
1024
|
+
[r, e.dataMaska]
|
|
1032
1025
|
]),
|
|
1033
|
-
e.suffix ? (
|
|
1026
|
+
e.suffix ? (i(), n("span", bt, p(e.suffix), 1)) : h("", !0)
|
|
1034
1027
|
]),
|
|
1035
|
-
u("p", null,
|
|
1028
|
+
u("p", null, p(e.errorMessage), 1)
|
|
1036
1029
|
], 2);
|
|
1037
1030
|
}
|
|
1038
|
-
const
|
|
1031
|
+
const yt = /* @__PURE__ */ b(ct, [["render", kt], ["__scopeId", "data-v-ab1cc940"]]), $t = g({
|
|
1039
1032
|
name: "wra-data-table",
|
|
1040
1033
|
props: {
|
|
1041
1034
|
/**
|
|
@@ -1051,7 +1044,8 @@ const bt = /* @__PURE__ */ g(dt, [["render", gt], ["__scopeId", "data-v-5b640ba7
|
|
|
1051
1044
|
* The initial sort order for the table. Should be an array of objects.
|
|
1052
1045
|
*/
|
|
1053
1046
|
sortBy: {
|
|
1054
|
-
type: Array
|
|
1047
|
+
type: Array,
|
|
1048
|
+
required: !1
|
|
1055
1049
|
},
|
|
1056
1050
|
/**
|
|
1057
1051
|
* The number of items to display per page.
|
|
@@ -1064,16 +1058,19 @@ const bt = /* @__PURE__ */ g(dt, [["render", gt], ["__scopeId", "data-v-5b640ba7
|
|
|
1064
1058
|
* If true, shows a loading spinner instead of table rows.
|
|
1065
1059
|
*/
|
|
1066
1060
|
loading: {
|
|
1067
|
-
type: Boolean
|
|
1061
|
+
type: Boolean,
|
|
1062
|
+
required: !1
|
|
1068
1063
|
},
|
|
1069
1064
|
/**
|
|
1070
1065
|
* A global search string to filter table rows.
|
|
1071
1066
|
*/
|
|
1072
1067
|
search: {
|
|
1073
|
-
type: String
|
|
1068
|
+
type: String,
|
|
1069
|
+
required: !1
|
|
1074
1070
|
},
|
|
1075
1071
|
caption: {
|
|
1076
|
-
type: String
|
|
1072
|
+
type: String,
|
|
1073
|
+
required: !1
|
|
1077
1074
|
}
|
|
1078
1075
|
},
|
|
1079
1076
|
data() {
|
|
@@ -1085,11 +1082,11 @@ const bt = /* @__PURE__ */ g(dt, [["render", gt], ["__scopeId", "data-v-5b640ba7
|
|
|
1085
1082
|
};
|
|
1086
1083
|
},
|
|
1087
1084
|
methods: {
|
|
1088
|
-
sortByColumn(
|
|
1085
|
+
sortByColumn(e) {
|
|
1089
1086
|
this.localSortBy = [
|
|
1090
1087
|
{
|
|
1091
|
-
key:
|
|
1092
|
-
order: this.localSortBy && this.localSortBy[0].key ===
|
|
1088
|
+
key: e,
|
|
1089
|
+
order: this.localSortBy && this.localSortBy[0].key === e && this.localSortBy[0].order === "asc" ? "desc" : "asc"
|
|
1093
1090
|
}
|
|
1094
1091
|
];
|
|
1095
1092
|
}
|
|
@@ -1102,180 +1099,180 @@ const bt = /* @__PURE__ */ g(dt, [["render", gt], ["__scopeId", "data-v-5b640ba7
|
|
|
1102
1099
|
return Math.ceil(this.sortedArray.length / this.localItemsPerPage);
|
|
1103
1100
|
},
|
|
1104
1101
|
paginatedArray() {
|
|
1105
|
-
const
|
|
1106
|
-
return this.sortedArray.slice(
|
|
1102
|
+
const e = (this.currentPage - 1) * this.localItemsPerPage, t = e + this.localItemsPerPage;
|
|
1103
|
+
return this.sortedArray.slice(e, t);
|
|
1107
1104
|
},
|
|
1108
1105
|
filteredItems() {
|
|
1109
|
-
|
|
1106
|
+
var t;
|
|
1107
|
+
let e = this.items;
|
|
1110
1108
|
if (this.search) {
|
|
1111
1109
|
this.currentPage = 1;
|
|
1112
|
-
const a = this.search.toLowerCase(),
|
|
1113
|
-
|
|
1114
|
-
(
|
|
1110
|
+
const a = this.search.toLowerCase(), s = ((t = this.headers) == null ? void 0 : t.map((o) => o.key)) ?? [];
|
|
1111
|
+
e = e.filter(
|
|
1112
|
+
(o) => (
|
|
1115
1113
|
// Use .some() to check all relevant columns
|
|
1116
|
-
|
|
1117
|
-
(
|
|
1114
|
+
s.some(
|
|
1115
|
+
(l) => String(o[l]).toLowerCase().includes(a)
|
|
1118
1116
|
)
|
|
1119
1117
|
)
|
|
1120
1118
|
);
|
|
1121
1119
|
}
|
|
1122
1120
|
return Object.keys(this.columnFilters).forEach((a) => {
|
|
1123
|
-
var
|
|
1124
|
-
const
|
|
1125
|
-
|
|
1126
|
-
(
|
|
1121
|
+
var o;
|
|
1122
|
+
const s = (o = this.columnFilters[a]) == null ? void 0 : o.toLowerCase();
|
|
1123
|
+
s && (this.currentPage = 1, e = e.filter(
|
|
1124
|
+
(l) => String(l[a]).toLowerCase().includes(s)
|
|
1127
1125
|
));
|
|
1128
|
-
}),
|
|
1126
|
+
}), e;
|
|
1129
1127
|
},
|
|
1130
1128
|
sortedArray() {
|
|
1131
|
-
|
|
1132
|
-
return this.localSortBy && this.localSortBy.length > 0 ?
|
|
1133
|
-
const
|
|
1134
|
-
|
|
1135
|
-
if (n == null && s == null)
|
|
1129
|
+
const e = JSON.parse(JSON.stringify(this.filteredItems));
|
|
1130
|
+
return this.localSortBy && this.localSortBy.length > 0 ? e.sort((t, a) => {
|
|
1131
|
+
const s = this.localSortBy[0], o = t[s.key], l = a[s.key];
|
|
1132
|
+
if (o == null && l == null)
|
|
1136
1133
|
return 0;
|
|
1137
|
-
if (
|
|
1138
|
-
return
|
|
1139
|
-
if (
|
|
1140
|
-
return
|
|
1141
|
-
const
|
|
1134
|
+
if (o == null)
|
|
1135
|
+
return s.order === "desc" ? 1 : -1;
|
|
1136
|
+
if (l == null)
|
|
1137
|
+
return s.order === "desc" ? -1 : 1;
|
|
1138
|
+
const r = (v) => {
|
|
1142
1139
|
if (typeof v == "string" && /^-?[\d,]+(\.\d+)?$/.test(v)) {
|
|
1143
|
-
const
|
|
1144
|
-
return parseFloat(
|
|
1140
|
+
const w = v.replace(/,/g, "");
|
|
1141
|
+
return parseFloat(w);
|
|
1145
1142
|
}
|
|
1146
1143
|
return v;
|
|
1147
1144
|
}, d = (v) => {
|
|
1148
1145
|
if (typeof v == "string" && /^\d{2}\/\d{2}\/\d{4}$/.test(v)) {
|
|
1149
|
-
const [
|
|
1150
|
-
return new Date(
|
|
1146
|
+
const [w, T, C] = v.split("/").map(Number);
|
|
1147
|
+
return new Date(C, T - 1, w).getTime();
|
|
1151
1148
|
}
|
|
1152
1149
|
return v;
|
|
1153
|
-
},
|
|
1154
|
-
return !isNaN(
|
|
1155
|
-
}) :
|
|
1150
|
+
}, c = r(o), k = r(l), M = d(o), I = d(l);
|
|
1151
|
+
return !isNaN(c) && !isNaN(k) ? s.order === "desc" ? k - c : c - k : !isNaN(M) && !isNaN(I) ? s.order === "desc" ? I - M : M - I : s.order === "desc" ? o < l ? 1 : -1 : o > l ? 1 : -1;
|
|
1152
|
+
}) : e;
|
|
1156
1153
|
}
|
|
1157
1154
|
}
|
|
1158
|
-
},
|
|
1155
|
+
}), vt = { class: "wra-data-table" }, wt = {
|
|
1159
1156
|
key: 0,
|
|
1160
1157
|
class: "wra-data-table-caption"
|
|
1161
|
-
},
|
|
1162
|
-
key:
|
|
1158
|
+
}, St = { key: 1 }, Vt = ["onClick"], It = { key: 0 }, Mt = {
|
|
1159
|
+
key: 1,
|
|
1163
1160
|
class: "wra-chevron wra-chevron-up sort-icons"
|
|
1164
|
-
},
|
|
1165
|
-
function
|
|
1166
|
-
return
|
|
1167
|
-
u("table",
|
|
1168
|
-
e.caption ? (
|
|
1169
|
-
|
|
1170
|
-
|
|
1161
|
+
}, Ct = ["onUpdate:modelValue"], Pt = { key: 1 }, Bt = ["colspan"], Tt = { key: 2 }, Ot = ["onClick"], Wt = { key: 1 }, Nt = { class: "pagination" }, qt = ["disabled"], At = ["disabled"];
|
|
1162
|
+
function Ft(e, t, a, s, o, l) {
|
|
1163
|
+
return i(), n("div", null, [
|
|
1164
|
+
u("table", vt, [
|
|
1165
|
+
e.caption ? (i(), n("caption", wt, [
|
|
1166
|
+
m(e.$slots, "caption", {}, () => [
|
|
1167
|
+
B(p(e.caption), 1)
|
|
1171
1168
|
], !0)
|
|
1172
|
-
])) :
|
|
1169
|
+
])) : h("", !0),
|
|
1173
1170
|
u("thead", null, [
|
|
1174
|
-
|
|
1171
|
+
e.$slots.header ? m(e.$slots, "headers", {
|
|
1175
1172
|
key: 0,
|
|
1176
1173
|
headers: e.headers
|
|
1177
|
-
}, void 0, !0) : (
|
|
1178
|
-
(
|
|
1179
|
-
key:
|
|
1180
|
-
onClick: (d) => (
|
|
1181
|
-
style:
|
|
1182
|
-
class:
|
|
1183
|
-
clickable:
|
|
1184
|
-
"text-left":
|
|
1185
|
-
"text-right":
|
|
1186
|
-
"text-center":
|
|
1174
|
+
}, void 0, !0) : (i(), n("tr", St, [
|
|
1175
|
+
(i(!0), n($, null, V(e.headers, (r) => (i(), n("th", {
|
|
1176
|
+
key: r.key,
|
|
1177
|
+
onClick: (d) => (r.sortable || r.sortable == null) && e.sortByColumn(r.key),
|
|
1178
|
+
style: j({ width: r.width + "px" }),
|
|
1179
|
+
class: f({
|
|
1180
|
+
clickable: r.sortable == null || r.sortable,
|
|
1181
|
+
"text-left": r.align == "left" || r.align == null,
|
|
1182
|
+
"text-right": r.align == "right",
|
|
1183
|
+
"text-center": r.align == "center"
|
|
1187
1184
|
})
|
|
1188
1185
|
}, [
|
|
1189
|
-
|
|
1190
|
-
|
|
1186
|
+
B(p(r.title) + " ", 1),
|
|
1187
|
+
e.localSortBy && e.localSortBy[0].key === r.key ? (i(), n("span", It, [
|
|
1191
1188
|
u("span", {
|
|
1192
|
-
class:
|
|
1193
|
-
"wra-chevron wra-chevron-up":
|
|
1194
|
-
"wra-chevron wra-chevron-down":
|
|
1189
|
+
class: f({
|
|
1190
|
+
"wra-chevron wra-chevron-up": e.localSortBy[0].order === "asc",
|
|
1191
|
+
"wra-chevron wra-chevron-down": e.localSortBy[0].order === "desc"
|
|
1195
1192
|
})
|
|
1196
1193
|
}, null, 2)
|
|
1197
|
-
])) : (
|
|
1198
|
-
|
|
1199
|
-
], 64)),
|
|
1200
|
-
i.searchable ? O((l(), o("input", {
|
|
1194
|
+
])) : r.sortable == !0 || r.sortable == null ? (i(), n("span", Mt)) : h("", !0),
|
|
1195
|
+
r.searchable ? q((i(), n("input", {
|
|
1201
1196
|
key: 2,
|
|
1202
1197
|
type: "text",
|
|
1203
|
-
"onUpdate:modelValue": (d) =>
|
|
1204
|
-
onClick:
|
|
1198
|
+
"onUpdate:modelValue": (d) => e.columnFilters[r.key] = d,
|
|
1199
|
+
onClick: t[0] || (t[0] = W(() => {
|
|
1205
1200
|
}, ["stop"])),
|
|
1206
1201
|
placeholder: "Search...",
|
|
1207
1202
|
class: "column-search-input"
|
|
1208
|
-
}, null, 8,
|
|
1209
|
-
[
|
|
1210
|
-
]) :
|
|
1211
|
-
], 14,
|
|
1203
|
+
}, null, 8, Ct)), [
|
|
1204
|
+
[x, e.columnFilters[r.key]]
|
|
1205
|
+
]) : h("", !0)
|
|
1206
|
+
], 14, Vt))), 128))
|
|
1212
1207
|
]))
|
|
1213
1208
|
]),
|
|
1214
|
-
e.loading == !0 ? (
|
|
1209
|
+
e.loading == !0 ? (i(), n("tbody", Pt, [
|
|
1215
1210
|
u("tr", null, [
|
|
1216
1211
|
u("td", {
|
|
1217
1212
|
class: "text-center",
|
|
1218
|
-
colspan: e.headers.length
|
|
1219
|
-
},
|
|
1213
|
+
colspan: e.headers ? e.headers.length : 1
|
|
1214
|
+
}, [...t[3] || (t[3] = [
|
|
1220
1215
|
u("span", { class: "loader" }, null, -1)
|
|
1221
|
-
]), 8,
|
|
1216
|
+
])], 8, Bt)
|
|
1222
1217
|
])
|
|
1223
|
-
])) :
|
|
1224
|
-
|
|
1225
|
-
|
|
1218
|
+
])) : e.$slots.body ? (i(), n("tbody", Tt, [
|
|
1219
|
+
m(e.$slots, "body", { items: e.paginatedArray }, void 0, !0)
|
|
1220
|
+
])) : (i(!0), n($, { key: 3 }, V(e.paginatedArray, (r) => (i(), n("tbody", {
|
|
1221
|
+
class: f({
|
|
1222
|
+
clickable: e.$attrs["onClick:row"] != null
|
|
1226
1223
|
}),
|
|
1227
|
-
onClick: (d) =>
|
|
1224
|
+
onClick: (d) => e.$emit("click:row", r)
|
|
1228
1225
|
}, [
|
|
1229
|
-
|
|
1226
|
+
e.$slots.item ? m(e.$slots, "item", {
|
|
1230
1227
|
key: 0,
|
|
1231
|
-
item:
|
|
1232
|
-
items:
|
|
1233
|
-
}, void 0, !0) : (
|
|
1228
|
+
item: r,
|
|
1229
|
+
items: e.paginatedArray
|
|
1230
|
+
}, void 0, !0) : (i(), n("tr", {
|
|
1234
1231
|
key: 1,
|
|
1235
|
-
class:
|
|
1232
|
+
class: f({ bold: r.bold })
|
|
1236
1233
|
}, [
|
|
1237
|
-
(
|
|
1238
|
-
class:
|
|
1234
|
+
(i(!0), n($, null, V(e.headers, (d) => (i(), n("td", {
|
|
1235
|
+
class: f({
|
|
1239
1236
|
"text-left": d.align == "left" || d.align == null,
|
|
1240
1237
|
"text-right": d.align == "right",
|
|
1241
1238
|
"text-center": d.align == "center"
|
|
1242
1239
|
})
|
|
1243
1240
|
}, [
|
|
1244
|
-
|
|
1241
|
+
`item.${d.key}` in e.$slots ? m(e.$slots, `item.${d.key}`, {
|
|
1245
1242
|
key: 0,
|
|
1246
|
-
value:
|
|
1247
|
-
item:
|
|
1248
|
-
items:
|
|
1249
|
-
}, void 0, !0) : (
|
|
1243
|
+
value: r[d.key],
|
|
1244
|
+
item: r,
|
|
1245
|
+
items: e.sortedArray
|
|
1246
|
+
}, void 0, !0) : (i(), n("span", Wt, p(r[d.key]), 1))
|
|
1250
1247
|
], 2))), 256))
|
|
1251
1248
|
], 2))
|
|
1252
|
-
], 10,
|
|
1249
|
+
], 10, Ot))), 256))
|
|
1253
1250
|
]),
|
|
1254
|
-
u("div",
|
|
1255
|
-
|
|
1251
|
+
u("div", Nt, [
|
|
1252
|
+
B(" Page " + p(e.currentPage) + " of " + p(e.totalNumberOfPages) + " ", 1),
|
|
1256
1253
|
u("button", {
|
|
1257
|
-
disabled:
|
|
1258
|
-
class:
|
|
1259
|
-
"disable-button":
|
|
1254
|
+
disabled: e.currentPage == 1,
|
|
1255
|
+
class: f({
|
|
1256
|
+
"disable-button": e.currentPage == 1
|
|
1260
1257
|
}),
|
|
1261
|
-
onClick:
|
|
1262
|
-
},
|
|
1258
|
+
onClick: t[1] || (t[1] = (r) => e.currentPage = e.currentPage - 1)
|
|
1259
|
+
}, [...t[4] || (t[4] = [
|
|
1263
1260
|
u("span", { class: "wra-chevron wra-chevron-left" }, null, -1)
|
|
1264
|
-
]), 10,
|
|
1261
|
+
])], 10, qt),
|
|
1265
1262
|
u("button", {
|
|
1266
|
-
disabled:
|
|
1267
|
-
class:
|
|
1268
|
-
"disable-button":
|
|
1263
|
+
disabled: e.currentPage == e.totalNumberOfPages,
|
|
1264
|
+
class: f({
|
|
1265
|
+
"disable-button": e.currentPage == e.totalNumberOfPages
|
|
1269
1266
|
}),
|
|
1270
|
-
onClick:
|
|
1271
|
-
},
|
|
1267
|
+
onClick: t[2] || (t[2] = (r) => e.currentPage = e.currentPage + 1)
|
|
1268
|
+
}, [...t[5] || (t[5] = [
|
|
1272
1269
|
u("span", { class: "wra-chevron wra-chevron-right" }, null, -1)
|
|
1273
|
-
]), 10,
|
|
1270
|
+
])], 10, At)
|
|
1274
1271
|
])
|
|
1275
1272
|
]);
|
|
1276
1273
|
}
|
|
1277
|
-
const
|
|
1278
|
-
directives: { maska:
|
|
1274
|
+
const Et = /* @__PURE__ */ b($t, [["render", Ft], ["__scopeId", "data-v-ce2c389d"]]), Lt = g({
|
|
1275
|
+
directives: { maska: R },
|
|
1279
1276
|
name: "wra-date-input",
|
|
1280
1277
|
props: {
|
|
1281
1278
|
/**
|
|
@@ -1284,6 +1281,7 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1284
1281
|
* @default ""
|
|
1285
1282
|
*/
|
|
1286
1283
|
modelValue: {
|
|
1284
|
+
type: [String, Object],
|
|
1287
1285
|
required: !0,
|
|
1288
1286
|
default: ""
|
|
1289
1287
|
},
|
|
@@ -1292,7 +1290,8 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1292
1290
|
* @type {string}
|
|
1293
1291
|
*/
|
|
1294
1292
|
label: {
|
|
1295
|
-
type: String
|
|
1293
|
+
type: String,
|
|
1294
|
+
required: !1
|
|
1296
1295
|
},
|
|
1297
1296
|
/**
|
|
1298
1297
|
* The ID for the input field.
|
|
@@ -1301,9 +1300,9 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1301
1300
|
* @default "dateInput"
|
|
1302
1301
|
*/
|
|
1303
1302
|
id: {
|
|
1303
|
+
type: String,
|
|
1304
1304
|
required: !0,
|
|
1305
|
-
default: "dateInput"
|
|
1306
|
-
type: String
|
|
1305
|
+
default: "dateInput"
|
|
1307
1306
|
},
|
|
1308
1307
|
/**
|
|
1309
1308
|
* The input mode for the input field.
|
|
@@ -1312,10 +1311,19 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1312
1311
|
* @validator value {string} - The input mode must be "numeric".
|
|
1313
1312
|
*/
|
|
1314
1313
|
inputmode: {
|
|
1315
|
-
default: "numeric",
|
|
1316
1314
|
type: String,
|
|
1317
|
-
|
|
1318
|
-
|
|
1315
|
+
default: "numeric",
|
|
1316
|
+
validator(e) {
|
|
1317
|
+
return [
|
|
1318
|
+
"numeric",
|
|
1319
|
+
"search",
|
|
1320
|
+
"text",
|
|
1321
|
+
"email",
|
|
1322
|
+
"tel",
|
|
1323
|
+
"url",
|
|
1324
|
+
"none",
|
|
1325
|
+
"decimal"
|
|
1326
|
+
].includes(e);
|
|
1319
1327
|
}
|
|
1320
1328
|
},
|
|
1321
1329
|
/**
|
|
@@ -1324,8 +1332,8 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1324
1332
|
* @default false
|
|
1325
1333
|
*/
|
|
1326
1334
|
required: {
|
|
1327
|
-
|
|
1328
|
-
|
|
1335
|
+
type: Boolean,
|
|
1336
|
+
default: !1
|
|
1329
1337
|
},
|
|
1330
1338
|
/**
|
|
1331
1339
|
* The placeholder text for the input field.
|
|
@@ -1334,8 +1342,8 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1334
1342
|
*
|
|
1335
1343
|
*/
|
|
1336
1344
|
placeholder: {
|
|
1337
|
-
|
|
1338
|
-
|
|
1345
|
+
type: String,
|
|
1346
|
+
default: "DD/MM/YYYY"
|
|
1339
1347
|
},
|
|
1340
1348
|
/**
|
|
1341
1349
|
* Whether to use default validation for the input field.
|
|
@@ -1343,101 +1351,114 @@ const Wt = /* @__PURE__ */ g(kt, [["render", Ot], ["__scopeId", "data-v-2cdb0a4c
|
|
|
1343
1351
|
* @default false
|
|
1344
1352
|
*/
|
|
1345
1353
|
defaultValidation: {
|
|
1354
|
+
type: Boolean,
|
|
1346
1355
|
default: !1
|
|
1347
1356
|
}
|
|
1348
1357
|
},
|
|
1349
1358
|
emits: ["update:modelValue", "valid"],
|
|
1350
|
-
data
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1359
|
+
data() {
|
|
1360
|
+
return {
|
|
1361
|
+
maskedValue: "",
|
|
1362
|
+
showError: !1,
|
|
1363
|
+
firstValidation: !0,
|
|
1364
|
+
dateObjectValue: null
|
|
1365
|
+
};
|
|
1366
|
+
},
|
|
1356
1367
|
watch: {
|
|
1357
1368
|
/**
|
|
1358
1369
|
* Watcher for modelValue prop.
|
|
1359
|
-
* @param {string} newValue - The new value of the modelValue prop.
|
|
1370
|
+
* @param {string|Date} newValue - The new value of the modelValue prop.
|
|
1360
1371
|
*/
|
|
1361
|
-
modelValue(
|
|
1362
|
-
|
|
1372
|
+
modelValue(e) {
|
|
1373
|
+
e != this.dateObjectValue && this.setInitialState();
|
|
1363
1374
|
}
|
|
1364
1375
|
},
|
|
1365
1376
|
methods: {
|
|
1377
|
+
/**
|
|
1378
|
+
* Handles input event safely for TypeScript.
|
|
1379
|
+
*/
|
|
1380
|
+
onInputHandler(e) {
|
|
1381
|
+
const t = e.target;
|
|
1382
|
+
this.convertToDate(t ? t.value : "");
|
|
1383
|
+
},
|
|
1366
1384
|
/**
|
|
1367
1385
|
* Swaps the day and month in a date string.
|
|
1368
1386
|
* @param {string} input - The input date string in DD/MM/YYYY format.
|
|
1369
1387
|
* @returns {string} - The date string with day and month swapped.
|
|
1370
1388
|
*/
|
|
1371
|
-
swapMonthDay(
|
|
1372
|
-
|
|
1373
|
-
return
|
|
1389
|
+
swapMonthDay(e) {
|
|
1390
|
+
const t = e.split("/");
|
|
1391
|
+
return t[1] + "/" + t[0] + "/" + t[2];
|
|
1374
1392
|
},
|
|
1375
|
-
convertToDate(
|
|
1376
|
-
if (this.maskedValue =
|
|
1377
|
-
let
|
|
1378
|
-
|
|
1379
|
-
|
|
1393
|
+
convertToDate(e) {
|
|
1394
|
+
if (this.maskedValue = e, e.length == 10) {
|
|
1395
|
+
let t = new Date(this.swapMonthDay(e));
|
|
1396
|
+
t = new Date(
|
|
1397
|
+
t.getTime() - t.getTimezoneOffset() * 60 * 1e3
|
|
1380
1398
|
);
|
|
1381
|
-
|
|
1382
|
-
this.$emit("valid", { id: this.id, value:
|
|
1399
|
+
const a = this.validate(t);
|
|
1400
|
+
this.$emit("valid", { id: this.id, value: a }), a == !0 ? (this.dateObjectValue = t, this.$emit("update:modelValue", t)) : (this.dateObjectValue = null, this.$emit("update:modelValue", null));
|
|
1383
1401
|
} else {
|
|
1384
|
-
|
|
1385
|
-
this.$emit("valid", { id: this.id, value:
|
|
1402
|
+
const t = this.validate(null);
|
|
1403
|
+
this.$emit("valid", { id: this.id, value: t }), this.dateObjectValue = null, this.$emit("update:modelValue", null);
|
|
1386
1404
|
}
|
|
1387
1405
|
},
|
|
1388
|
-
validate(
|
|
1406
|
+
validate(e) {
|
|
1389
1407
|
if (this.defaultValidation === !1)
|
|
1390
1408
|
return !0;
|
|
1391
|
-
let
|
|
1392
|
-
|
|
1409
|
+
let t = !0;
|
|
1410
|
+
if (e === null)
|
|
1411
|
+
return this.required == !0 && (this.showError = !0, t = !1), this.required == !1 && (this.maskedValue.length == 0 ? (this.showError = !1, t = !0) : (this.showError = !0, t = !1)), this.firstValidation == !0 && (this.firstValidation = !1, this.showError = !1), t;
|
|
1412
|
+
e == "Invalid Date" && (t = !1);
|
|
1413
|
+
const a = parseInt(this.maskedValue.split("/")[1]) - 1;
|
|
1414
|
+
return typeof e == "object" && a != e.getMonth() && (t = !1), this.showError = !t, this.firstValidation == !0 && (this.firstValidation = !1, this.showError = !1), t;
|
|
1393
1415
|
},
|
|
1394
1416
|
/**
|
|
1395
1417
|
* Sets the initial state of the component based on the modelValue prop.
|
|
1396
1418
|
*/
|
|
1397
1419
|
setInitialState() {
|
|
1398
|
-
if (typeof this.modelValue
|
|
1420
|
+
if (typeof this.modelValue > "u" || this.modelValue == null || this.modelValue == "") {
|
|
1399
1421
|
this.convertToDate("");
|
|
1400
1422
|
return;
|
|
1401
1423
|
}
|
|
1402
1424
|
if (typeof this.modelValue == "object") {
|
|
1403
|
-
|
|
1425
|
+
const e = this.modelValue.getDate().toString().padStart(2, "0") + "/" + (this.modelValue.getMonth() + 1).toString().padStart(2, "0") + "/" + this.modelValue.getFullYear();
|
|
1426
|
+
this.convertToDate(e);
|
|
1427
|
+
} else if (typeof this.modelValue == "string" && this.modelValue.includes("T")) {
|
|
1428
|
+
const e = new Date(this.modelValue), t = e.getDate().toString().padStart(2, "0") + "/" + (e.getMonth() + 1).toString().padStart(2, "0") + "/" + e.getFullYear();
|
|
1404
1429
|
this.convertToDate(t);
|
|
1405
|
-
} else
|
|
1406
|
-
let t = new Date(this.modelValue), a = t.getDate().toString().padStart(2, "0") + "/" + (t.getMonth() + 1).toString().padStart(2, "0") + "/" + t.getFullYear();
|
|
1407
|
-
this.convertToDate(a);
|
|
1408
|
-
} else
|
|
1409
|
-
this.convertToDate(this.modelValue);
|
|
1430
|
+
} else typeof this.modelValue == "string" && this.convertToDate(this.modelValue);
|
|
1410
1431
|
}
|
|
1411
1432
|
},
|
|
1412
1433
|
mounted() {
|
|
1413
1434
|
this.setInitialState();
|
|
1414
1435
|
}
|
|
1415
|
-
},
|
|
1416
|
-
function
|
|
1417
|
-
const
|
|
1418
|
-
return
|
|
1419
|
-
class:
|
|
1436
|
+
}), jt = ["for"], Dt = ["id", "value", "inputmode", "placeholder", "defaultValidation"], zt = { key: 1 };
|
|
1437
|
+
function Rt(e, t, a, s, o, l) {
|
|
1438
|
+
const r = D("maska");
|
|
1439
|
+
return i(), n("div", {
|
|
1440
|
+
class: f({ error: e.showError != !1 })
|
|
1420
1441
|
}, [
|
|
1421
|
-
e.label ? (
|
|
1442
|
+
e.label ? (i(), n("label", {
|
|
1422
1443
|
key: 0,
|
|
1423
1444
|
for: e.id
|
|
1424
|
-
},
|
|
1425
|
-
|
|
1445
|
+
}, p(e.label), 9, jt)) : h("", !0),
|
|
1446
|
+
q(u("input", {
|
|
1426
1447
|
id: e.id,
|
|
1427
1448
|
type: "text",
|
|
1428
|
-
value:
|
|
1429
|
-
inputmode: e.inputmode
|
|
1449
|
+
value: e.maskedValue,
|
|
1450
|
+
inputmode: e.inputmode ? e.inputmode : "numeric",
|
|
1430
1451
|
placeholder: e.placeholder,
|
|
1431
1452
|
defaultValidation: e.defaultValidation,
|
|
1432
|
-
onInput:
|
|
1453
|
+
onInput: t[0] || (t[0] = (...d) => e.onInputHandler && e.onInputHandler(...d)),
|
|
1433
1454
|
"data-maska-eager": ""
|
|
1434
|
-
}, null, 40,
|
|
1435
|
-
[
|
|
1455
|
+
}, null, 40, Dt), [
|
|
1456
|
+
[r, "##/##/####"]
|
|
1436
1457
|
]),
|
|
1437
|
-
|
|
1458
|
+
e.showError && e.required != null ? (i(), n("p", zt, "Invalid date")) : h("", !0)
|
|
1438
1459
|
], 2);
|
|
1439
1460
|
}
|
|
1440
|
-
const
|
|
1461
|
+
const _t = /* @__PURE__ */ b(Lt, [["render", Rt], ["__scopeId", "data-v-49969f70"]]), Kt = g({
|
|
1441
1462
|
name: "wra-header",
|
|
1442
1463
|
props: {
|
|
1443
1464
|
/**
|
|
@@ -1448,34 +1469,34 @@ const Lt = /* @__PURE__ */ g(Ft, [["render", qt], ["__scopeId", "data-v-015240fd
|
|
|
1448
1469
|
required: !0
|
|
1449
1470
|
}
|
|
1450
1471
|
}
|
|
1451
|
-
},
|
|
1452
|
-
function
|
|
1453
|
-
return
|
|
1454
|
-
e.size == "h1" ? (
|
|
1455
|
-
|
|
1456
|
-
])) :
|
|
1457
|
-
e.size == "h2" ? (
|
|
1458
|
-
|
|
1459
|
-
])) :
|
|
1460
|
-
e.size == "h3" ? (
|
|
1461
|
-
|
|
1462
|
-
])) :
|
|
1463
|
-
e.size == "h4" ? (
|
|
1464
|
-
|
|
1465
|
-
])) :
|
|
1466
|
-
e.size == "h5" ? (
|
|
1467
|
-
|
|
1468
|
-
])) :
|
|
1469
|
-
e.size == "h6" ? (
|
|
1470
|
-
|
|
1471
|
-
])) :
|
|
1472
|
+
}), Ht = { key: 0 }, Ut = { key: 1 }, Gt = { key: 2 }, Yt = { key: 3 }, Jt = { key: 4 }, Zt = { key: 5 };
|
|
1473
|
+
function Qt(e, t, a, s, o, l) {
|
|
1474
|
+
return i(), n("div", null, [
|
|
1475
|
+
e.size == "h1" ? (i(), n("h1", Ht, [
|
|
1476
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1477
|
+
])) : h("", !0),
|
|
1478
|
+
e.size == "h2" ? (i(), n("h2", Ut, [
|
|
1479
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1480
|
+
])) : h("", !0),
|
|
1481
|
+
e.size == "h3" ? (i(), n("h3", Gt, [
|
|
1482
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1483
|
+
])) : h("", !0),
|
|
1484
|
+
e.size == "h4" ? (i(), n("h4", Yt, [
|
|
1485
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1486
|
+
])) : h("", !0),
|
|
1487
|
+
e.size == "h5" ? (i(), n("h5", Jt, [
|
|
1488
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1489
|
+
])) : h("", !0),
|
|
1490
|
+
e.size == "h6" ? (i(), n("h6", Zt, [
|
|
1491
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1492
|
+
])) : h("", !0)
|
|
1472
1493
|
]);
|
|
1473
1494
|
}
|
|
1474
|
-
const
|
|
1495
|
+
const se = /* @__PURE__ */ b(Kt, [["render", Qt], ["__scopeId", "data-v-6d53d792"]]), Xt = g({
|
|
1475
1496
|
name: "wra-dialog",
|
|
1476
1497
|
components: {
|
|
1477
|
-
WraHeader:
|
|
1478
|
-
WraButton:
|
|
1498
|
+
WraHeader: se,
|
|
1499
|
+
WraButton: Y
|
|
1479
1500
|
},
|
|
1480
1501
|
props: {
|
|
1481
1502
|
/**
|
|
@@ -1517,6 +1538,11 @@ const ae = /* @__PURE__ */ g(Dt, [["render", Gt], ["__scopeId", "data-v-6feb6611
|
|
|
1517
1538
|
}
|
|
1518
1539
|
},
|
|
1519
1540
|
emits: ["confirm", "cancel", "close"],
|
|
1541
|
+
data() {
|
|
1542
|
+
return {
|
|
1543
|
+
lastFocused: null
|
|
1544
|
+
};
|
|
1545
|
+
},
|
|
1520
1546
|
methods: {
|
|
1521
1547
|
openDialog() {
|
|
1522
1548
|
this.$refs.dialog.showModal(), this.focusConfirm();
|
|
@@ -1530,27 +1556,24 @@ const ae = /* @__PURE__ */ g(Dt, [["render", Gt], ["__scopeId", "data-v-6feb6611
|
|
|
1530
1556
|
cancel() {
|
|
1531
1557
|
this.$refs.dialog.close(), this.$emit("cancel");
|
|
1532
1558
|
},
|
|
1533
|
-
handleTab(
|
|
1534
|
-
var
|
|
1535
|
-
const a = [
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
if (t.shiftKey) {
|
|
1542
|
-
const s = (e - 1 + a.length) % a.length;
|
|
1543
|
-
a[s].focus();
|
|
1559
|
+
handleTab(e) {
|
|
1560
|
+
var l, r;
|
|
1561
|
+
const t = ((l = this.$refs.confirmBtn) == null ? void 0 : l.$el) || this.$refs.confirmBtn, a = ((r = this.$refs.cancelBtn) == null ? void 0 : r.$el) || this.$refs.cancelBtn, s = [t, a].filter(Boolean);
|
|
1562
|
+
if (!s.length) return;
|
|
1563
|
+
const o = s.indexOf(document.activeElement);
|
|
1564
|
+
if (e.shiftKey) {
|
|
1565
|
+
const d = (o - 1 + s.length) % s.length;
|
|
1566
|
+
s[d].focus();
|
|
1544
1567
|
} else {
|
|
1545
|
-
const
|
|
1546
|
-
|
|
1568
|
+
const d = (o + 1) % s.length;
|
|
1569
|
+
s[d].focus();
|
|
1547
1570
|
}
|
|
1548
1571
|
},
|
|
1549
1572
|
focusConfirm() {
|
|
1550
|
-
|
|
1551
|
-
var
|
|
1552
|
-
const
|
|
1553
|
-
|
|
1573
|
+
ne(() => {
|
|
1574
|
+
var t;
|
|
1575
|
+
const e = ((t = this.$refs.confirmBtn) == null ? void 0 : t.$el) || this.$refs.confirmBtn;
|
|
1576
|
+
e && typeof e.focus == "function" && e.focus();
|
|
1554
1577
|
});
|
|
1555
1578
|
},
|
|
1556
1579
|
restoreFocus() {
|
|
@@ -1560,53 +1583,53 @@ const ae = /* @__PURE__ */ g(Dt, [["render", Gt], ["__scopeId", "data-v-6feb6611
|
|
|
1560
1583
|
mounted() {
|
|
1561
1584
|
this.lastFocused = document.activeElement;
|
|
1562
1585
|
}
|
|
1563
|
-
},
|
|
1586
|
+
}), xt = { class: "dialog-content" }, ea = {
|
|
1564
1587
|
id: "dialog-message",
|
|
1565
1588
|
class: "mt-4"
|
|
1566
|
-
},
|
|
1567
|
-
function
|
|
1568
|
-
const
|
|
1569
|
-
return
|
|
1589
|
+
}, ta = { class: "dialog-buttons" };
|
|
1590
|
+
function aa(e, t, a, s, o, l) {
|
|
1591
|
+
const r = E("wra-header"), d = E("wra-button");
|
|
1592
|
+
return i(), z(oe, { to: "body" }, [
|
|
1570
1593
|
u("dialog", {
|
|
1571
1594
|
ref: "dialog",
|
|
1572
1595
|
class: "dialog-class",
|
|
1573
1596
|
"aria-labelledby": "dialog-title",
|
|
1574
1597
|
"aria-describedby": "dialog-message",
|
|
1575
1598
|
tabindex: "-1",
|
|
1576
|
-
onClose:
|
|
1599
|
+
onClose: t[0] || (t[0] = (...c) => e.closeDialog && e.closeDialog(...c)),
|
|
1577
1600
|
onKeydown: [
|
|
1578
|
-
|
|
1579
|
-
|
|
1601
|
+
t[1] || (t[1] = S(W((...c) => e.handleTab && e.handleTab(...c), ["prevent"]), ["tab"])),
|
|
1602
|
+
t[2] || (t[2] = S((...c) => e.cancel && e.cancel(...c), ["esc"]))
|
|
1580
1603
|
]
|
|
1581
1604
|
}, [
|
|
1582
|
-
u("div",
|
|
1583
|
-
F(
|
|
1605
|
+
u("div", xt, [
|
|
1606
|
+
F(r, {
|
|
1584
1607
|
size: "h3",
|
|
1585
1608
|
id: "dialog-title"
|
|
1586
1609
|
}, {
|
|
1587
|
-
default:
|
|
1588
|
-
|
|
1610
|
+
default: N(() => [
|
|
1611
|
+
B(p(e.title), 1)
|
|
1589
1612
|
]),
|
|
1590
1613
|
_: 1
|
|
1591
1614
|
}),
|
|
1592
|
-
u("p",
|
|
1593
|
-
u("div",
|
|
1615
|
+
u("p", ea, p(e.message), 1),
|
|
1616
|
+
u("div", ta, [
|
|
1594
1617
|
F(d, {
|
|
1595
1618
|
ref: "confirmBtn",
|
|
1596
1619
|
backgroundColor: e.isDelete ? "wra-red" : "wra-green",
|
|
1597
|
-
onClick:
|
|
1620
|
+
onClick: e.confirm
|
|
1598
1621
|
}, {
|
|
1599
|
-
default:
|
|
1600
|
-
|
|
1622
|
+
default: N(() => [
|
|
1623
|
+
B(p(e.confirmText), 1)
|
|
1601
1624
|
]),
|
|
1602
1625
|
_: 1
|
|
1603
1626
|
}, 8, ["backgroundColor", "onClick"]),
|
|
1604
1627
|
F(d, {
|
|
1605
1628
|
ref: "cancelBtn",
|
|
1606
|
-
onClick:
|
|
1629
|
+
onClick: e.cancel
|
|
1607
1630
|
}, {
|
|
1608
|
-
default:
|
|
1609
|
-
|
|
1631
|
+
default: N(() => [
|
|
1632
|
+
B(p(e.cancelText), 1)
|
|
1610
1633
|
]),
|
|
1611
1634
|
_: 1
|
|
1612
1635
|
}, 8, ["onClick"])
|
|
@@ -1615,15 +1638,15 @@ function Xt(t, a, e, r, n, s) {
|
|
|
1615
1638
|
], 544)
|
|
1616
1639
|
]);
|
|
1617
1640
|
}
|
|
1618
|
-
const
|
|
1641
|
+
const sa = /* @__PURE__ */ b(Xt, [["render", aa], ["__scopeId", "data-v-a58221e3"]]), ra = g({
|
|
1619
1642
|
name: "wra-divider",
|
|
1620
1643
|
props: {
|
|
1621
1644
|
/** Thickness of the divider */
|
|
1622
1645
|
thickness: {
|
|
1623
1646
|
type: String,
|
|
1624
1647
|
default: "medium",
|
|
1625
|
-
validator(
|
|
1626
|
-
return
|
|
1648
|
+
validator(e) {
|
|
1649
|
+
return e == "large" || e == "medium" || e == "small";
|
|
1627
1650
|
}
|
|
1628
1651
|
},
|
|
1629
1652
|
/** Aria role for the divider */
|
|
@@ -1635,18 +1658,18 @@ const ea = /* @__PURE__ */ g(Yt, [["render", Xt], ["__scopeId", "data-v-7b5e24d0
|
|
|
1635
1658
|
data() {
|
|
1636
1659
|
return {};
|
|
1637
1660
|
}
|
|
1638
|
-
},
|
|
1639
|
-
function
|
|
1640
|
-
return
|
|
1661
|
+
}), ia = ["role"];
|
|
1662
|
+
function na(e, t, a, s, o, l) {
|
|
1663
|
+
return i(), n("hr", {
|
|
1641
1664
|
role: e.role,
|
|
1642
|
-
class:
|
|
1665
|
+
class: f({
|
|
1643
1666
|
"wra-divider-large": e.thickness === "large",
|
|
1644
1667
|
"wra-divider": e.thickness === "medium",
|
|
1645
1668
|
"wra-divider-small": e.thickness === "small"
|
|
1646
1669
|
})
|
|
1647
|
-
}, null, 10,
|
|
1670
|
+
}, null, 10, ia);
|
|
1648
1671
|
}
|
|
1649
|
-
const
|
|
1672
|
+
const oa = /* @__PURE__ */ b(ra, [["render", na], ["__scopeId", "data-v-40db3bc1"]]), la = g({
|
|
1650
1673
|
name: "wra-expansion-panel",
|
|
1651
1674
|
props: {
|
|
1652
1675
|
title: {
|
|
@@ -1685,46 +1708,46 @@ const ra = /* @__PURE__ */ g(ta, [["render", sa], ["__scopeId", "data-v-adda45c5
|
|
|
1685
1708
|
this.showPanel = !this.showPanel;
|
|
1686
1709
|
}
|
|
1687
1710
|
}
|
|
1688
|
-
},
|
|
1689
|
-
function
|
|
1690
|
-
return
|
|
1711
|
+
}), ua = ["aria-controls", "id"], da = { class: "icon-wrapper" }, pa = ["aria-hidden", "id"], ca = { class: "inner-panel" };
|
|
1712
|
+
function ha(e, t, a, s, o, l) {
|
|
1713
|
+
return i(), n("div", null, [
|
|
1691
1714
|
u("button", {
|
|
1692
1715
|
class: "expansion-button",
|
|
1693
1716
|
"aria-controls": "expansion-content-" + e.ariaTitle,
|
|
1694
1717
|
id: "expansion-control-" + e.ariaTitle,
|
|
1695
|
-
onClick:
|
|
1696
|
-
style:
|
|
1718
|
+
onClick: t[0] || (t[0] = (...r) => e.togglePanel && e.togglePanel(...r)),
|
|
1719
|
+
style: j(e.style)
|
|
1697
1720
|
}, [
|
|
1698
|
-
|
|
1699
|
-
|
|
1721
|
+
m(e.$slots, "title", {}, () => [
|
|
1722
|
+
B(p(e.title), 1)
|
|
1700
1723
|
], !0),
|
|
1701
|
-
u("span",
|
|
1724
|
+
u("span", da, [
|
|
1702
1725
|
u("span", {
|
|
1703
|
-
class:
|
|
1704
|
-
"show-panel-icon":
|
|
1705
|
-
"hide-panel-icon": !
|
|
1726
|
+
class: f(["panel-icon", {
|
|
1727
|
+
"show-panel-icon": e.showPanel,
|
|
1728
|
+
"hide-panel-icon": !e.showPanel
|
|
1706
1729
|
}])
|
|
1707
1730
|
}, null, 2)
|
|
1708
1731
|
])
|
|
1709
|
-
], 12,
|
|
1710
|
-
F(
|
|
1711
|
-
default:
|
|
1712
|
-
|
|
1732
|
+
], 12, ua),
|
|
1733
|
+
F(G, { name: "slide-fade" }, {
|
|
1734
|
+
default: N(() => [
|
|
1735
|
+
e.showPanel ? (i(), n("div", {
|
|
1713
1736
|
key: 0,
|
|
1714
1737
|
class: "panel-content",
|
|
1715
|
-
"aria-hidden": !
|
|
1738
|
+
"aria-hidden": !e.showPanel,
|
|
1716
1739
|
id: "content-" + e.ariaTitle
|
|
1717
1740
|
}, [
|
|
1718
|
-
u("div",
|
|
1719
|
-
|
|
1741
|
+
u("div", ca, [
|
|
1742
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1720
1743
|
])
|
|
1721
|
-
], 8,
|
|
1744
|
+
], 8, pa)) : h("", !0)
|
|
1722
1745
|
]),
|
|
1723
1746
|
_: 3
|
|
1724
1747
|
})
|
|
1725
1748
|
]);
|
|
1726
1749
|
}
|
|
1727
|
-
const
|
|
1750
|
+
const fa = /* @__PURE__ */ b(la, [["render", ha], ["__scopeId", "data-v-aad4db7d"]]), ma = g({
|
|
1728
1751
|
name: "wra-validation-tooltip",
|
|
1729
1752
|
props: {
|
|
1730
1753
|
/**
|
|
@@ -1735,28 +1758,28 @@ const ca = /* @__PURE__ */ g(ia, [["render", da], ["__scopeId", "data-v-4cb2edc7
|
|
|
1735
1758
|
required: !0
|
|
1736
1759
|
}
|
|
1737
1760
|
}
|
|
1738
|
-
};
|
|
1739
|
-
function
|
|
1740
|
-
return
|
|
1741
|
-
class:
|
|
1761
|
+
});
|
|
1762
|
+
function ga(e, t, a, s, o, l) {
|
|
1763
|
+
return i(), n("div", {
|
|
1764
|
+
class: f(["validation-tooltip", e.type])
|
|
1742
1765
|
}, [
|
|
1743
|
-
|
|
1766
|
+
e.$slots["custom-icon"] ? (i(), n("span", {
|
|
1744
1767
|
key: 0,
|
|
1745
|
-
class:
|
|
1768
|
+
class: f([{
|
|
1746
1769
|
"custom-icon-wrapper": ["custom-icon"]
|
|
1747
1770
|
}, "icon"])
|
|
1748
1771
|
}, [
|
|
1749
|
-
|
|
1750
|
-
])) :
|
|
1751
|
-
|
|
1772
|
+
m(e.$slots, "custom-icon", {}, void 0, !0)
|
|
1773
|
+
])) : h("", !0),
|
|
1774
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1752
1775
|
], 2);
|
|
1753
1776
|
}
|
|
1754
|
-
const
|
|
1777
|
+
const re = /* @__PURE__ */ b(ma, [["render", ga], ["__scopeId", "data-v-391271cf"]]), ba = g({
|
|
1755
1778
|
name: "file-upload",
|
|
1756
1779
|
emits: ["change"],
|
|
1757
1780
|
components: {
|
|
1758
|
-
ValidationTooltip:
|
|
1759
|
-
Button:
|
|
1781
|
+
ValidationTooltip: re,
|
|
1782
|
+
Button: Y
|
|
1760
1783
|
},
|
|
1761
1784
|
props: {
|
|
1762
1785
|
/**
|
|
@@ -1782,8 +1805,8 @@ const se = /* @__PURE__ */ g(ha, [["render", fa], ["__scopeId", "data-v-04d7c0aa
|
|
|
1782
1805
|
*/
|
|
1783
1806
|
capture: {
|
|
1784
1807
|
type: String,
|
|
1785
|
-
validator(
|
|
1786
|
-
return ["user", "environment"].includes(
|
|
1808
|
+
validator(e) {
|
|
1809
|
+
return ["user", "environment"].includes(e);
|
|
1787
1810
|
}
|
|
1788
1811
|
},
|
|
1789
1812
|
/**
|
|
@@ -1865,15 +1888,15 @@ const se = /* @__PURE__ */ g(ha, [["render", fa], ["__scopeId", "data-v-04d7c0aa
|
|
|
1865
1888
|
};
|
|
1866
1889
|
},
|
|
1867
1890
|
methods: {
|
|
1868
|
-
handleFileChange(
|
|
1869
|
-
const a =
|
|
1870
|
-
if (a.length > 0) {
|
|
1871
|
-
const
|
|
1891
|
+
handleFileChange(e) {
|
|
1892
|
+
const a = e.target.files;
|
|
1893
|
+
if (a && a.length > 0) {
|
|
1894
|
+
const s = Array.from(a);
|
|
1872
1895
|
if (typeof this.maxSize < "u" && this.maxSize !== null) {
|
|
1873
|
-
this.fileSize =
|
|
1896
|
+
this.fileSize = s.reduce((o, l) => o + l.size, 0), this.fileSizeError = this.fileSize > this.maxSize;
|
|
1874
1897
|
return;
|
|
1875
1898
|
}
|
|
1876
|
-
this.fileName =
|
|
1899
|
+
this.fileName = s.map((o) => o.name).join(", ");
|
|
1877
1900
|
} else
|
|
1878
1901
|
this.fileName = "No file chosen";
|
|
1879
1902
|
this.$emit("change", a);
|
|
@@ -1887,47 +1910,50 @@ const se = /* @__PURE__ */ g(ha, [["render", fa], ["__scopeId", "data-v-04d7c0aa
|
|
|
1887
1910
|
return this.error || this.fileSizeError;
|
|
1888
1911
|
},
|
|
1889
1912
|
humanReadableMaxSize() {
|
|
1890
|
-
return typeof this.maxSize > "u" || this.maxSize === null ? 0 : this.maxSize < 1024 ? `${this.maxSize} bytes` : this.maxSize < 1024 * 1024 ? `${(this.maxSize / 1024).toFixed(2)} kilobytes` : `${(this.maxSize / (1024 * 1024)).toFixed(2)} megabytes`;
|
|
1913
|
+
return typeof this.maxSize > "u" || this.maxSize === null ? "0" : this.maxSize < 1024 ? `${this.maxSize} bytes` : this.maxSize < 1024 * 1024 ? `${(this.maxSize / 1024).toFixed(2)} kilobytes` : `${(this.maxSize / (1024 * 1024)).toFixed(2)} megabytes`;
|
|
1891
1914
|
}
|
|
1892
1915
|
}
|
|
1893
|
-
},
|
|
1916
|
+
}), ka = {
|
|
1894
1917
|
key: 0,
|
|
1895
1918
|
class: "file-upload-error-text"
|
|
1896
|
-
},
|
|
1919
|
+
}, ya = {
|
|
1897
1920
|
key: 1,
|
|
1898
1921
|
class: "file-upload-error-text"
|
|
1899
|
-
},
|
|
1900
|
-
function
|
|
1901
|
-
const
|
|
1902
|
-
return
|
|
1903
|
-
F(
|
|
1904
|
-
default:
|
|
1905
|
-
|
|
1922
|
+
}, $a = ["for"], va = { class: "file-upload-wrapper" }, wa = ["id", "accept", "capture", "multiple"], Sa = { class: "file-name" };
|
|
1923
|
+
function Va(e, t, a, s, o, l) {
|
|
1924
|
+
const r = E("ValidationTooltip"), d = E("Button");
|
|
1925
|
+
return i(), n($, null, [
|
|
1926
|
+
F(G, { name: "error" }, {
|
|
1927
|
+
default: N(() => [
|
|
1928
|
+
e.isError ? (i(), z(r, {
|
|
1906
1929
|
key: 0,
|
|
1907
1930
|
class: "file-upload-error-box",
|
|
1908
1931
|
type: "wra-error"
|
|
1909
1932
|
}, {
|
|
1910
|
-
default:
|
|
1911
|
-
e.error ? (
|
|
1912
|
-
|
|
1933
|
+
default: N(() => [
|
|
1934
|
+
e.error ? (i(), n("p", ka, p(e.errorMessage), 1)) : h("", !0),
|
|
1935
|
+
e.fileSizeError ? (i(), n("p", ya, p(e.fileSizeErrorMessage.replace(
|
|
1936
|
+
"{maxsize}",
|
|
1937
|
+
String(e.humanReadableMaxSize)
|
|
1938
|
+
)), 1)) : h("", !0)
|
|
1913
1939
|
]),
|
|
1914
1940
|
_: 1
|
|
1915
|
-
})) :
|
|
1941
|
+
})) : h("", !0)
|
|
1916
1942
|
]),
|
|
1917
1943
|
_: 1
|
|
1918
1944
|
}),
|
|
1919
1945
|
u("div", {
|
|
1920
1946
|
class: "file-upload-label",
|
|
1921
1947
|
for: e.id
|
|
1922
|
-
},
|
|
1923
|
-
u("div",
|
|
1948
|
+
}, p(e.label), 9, $a),
|
|
1949
|
+
u("div", va, [
|
|
1924
1950
|
F(d, {
|
|
1925
1951
|
size: "small",
|
|
1926
1952
|
backgroundColor: e.backgroundColor,
|
|
1927
|
-
onClick:
|
|
1953
|
+
onClick: e.triggerFileInput
|
|
1928
1954
|
}, {
|
|
1929
|
-
default:
|
|
1930
|
-
|
|
1955
|
+
default: N(() => [
|
|
1956
|
+
B(p(e.buttonText), 1)
|
|
1931
1957
|
]),
|
|
1932
1958
|
_: 1
|
|
1933
1959
|
}, 8, ["backgroundColor", "onClick"]),
|
|
@@ -1938,13 +1964,13 @@ function _a(t, a, e, r, n, s) {
|
|
|
1938
1964
|
accept: e.accept,
|
|
1939
1965
|
capture: e.capture,
|
|
1940
1966
|
multiple: e.multiple,
|
|
1941
|
-
onChange:
|
|
1942
|
-
}, null, 40,
|
|
1943
|
-
u("span",
|
|
1967
|
+
onChange: t[0] || (t[0] = (...c) => e.handleFileChange && e.handleFileChange(...c))
|
|
1968
|
+
}, null, 40, wa),
|
|
1969
|
+
u("span", Sa, p(e.fileName), 1)
|
|
1944
1970
|
])
|
|
1945
1971
|
], 64);
|
|
1946
1972
|
}
|
|
1947
|
-
const
|
|
1973
|
+
const Ia = /* @__PURE__ */ b(ba, [["render", Va], ["__scopeId", "data-v-b5c85208"]]), Ma = g({
|
|
1948
1974
|
name: "wra-footer",
|
|
1949
1975
|
props: {
|
|
1950
1976
|
/**
|
|
@@ -1955,15 +1981,15 @@ const wa = /* @__PURE__ */ g(ma, [["render", _a], ["__scopeId", "data-v-da8c427f
|
|
|
1955
1981
|
default: !1
|
|
1956
1982
|
}
|
|
1957
1983
|
}
|
|
1958
|
-
};
|
|
1959
|
-
function
|
|
1960
|
-
return
|
|
1961
|
-
class:
|
|
1984
|
+
});
|
|
1985
|
+
function Ca(e, t, a, s, o, l) {
|
|
1986
|
+
return i(), n("footer", {
|
|
1987
|
+
class: f(["wra-footer", { "hidden-print": e.hiddenPrint === !0 }])
|
|
1962
1988
|
}, [
|
|
1963
|
-
|
|
1989
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
1964
1990
|
], 2);
|
|
1965
1991
|
}
|
|
1966
|
-
const
|
|
1992
|
+
const Pa = /* @__PURE__ */ b(Ma, [["render", Ca], ["__scopeId", "data-v-ec223b2a"]]), Ba = g({
|
|
1967
1993
|
name: "wra-icon",
|
|
1968
1994
|
props: {
|
|
1969
1995
|
/** Name of icon from material design icons by pictogrammers */
|
|
@@ -1995,9 +2021,9 @@ const Va = /* @__PURE__ */ g(Sa, [["render", xa], ["__scopeId", "data-v-f78a0985
|
|
|
1995
2021
|
type: String
|
|
1996
2022
|
}
|
|
1997
2023
|
}
|
|
1998
|
-
},
|
|
1999
|
-
function
|
|
2000
|
-
return
|
|
2024
|
+
}), Ta = ["width", "height", "viewBox", "stroke", "fill"], Oa = ["d"];
|
|
2025
|
+
function Wa(e, t, a, s, o, l) {
|
|
2026
|
+
return i(), n("svg", {
|
|
2001
2027
|
width: e.width + "px",
|
|
2002
2028
|
height: e.height + "px",
|
|
2003
2029
|
viewBox: e.viewBox,
|
|
@@ -2008,10 +2034,10 @@ function Ca(t, a, e, r, n, s) {
|
|
|
2008
2034
|
d: e.icon,
|
|
2009
2035
|
width: "100%",
|
|
2010
2036
|
height: "100%"
|
|
2011
|
-
}, null, 8,
|
|
2012
|
-
], 8,
|
|
2037
|
+
}, null, 8, Oa)
|
|
2038
|
+
], 8, Ta);
|
|
2013
2039
|
}
|
|
2014
|
-
const
|
|
2040
|
+
const Na = /* @__PURE__ */ b(Ba, [["render", Wa]]), qa = g({
|
|
2015
2041
|
name: "wra-inset",
|
|
2016
2042
|
props: {
|
|
2017
2043
|
/**
|
|
@@ -2023,7 +2049,7 @@ const Pa = /* @__PURE__ */ g(Ia, [["render", Ca]]), Ba = {
|
|
|
2023
2049
|
colour: {
|
|
2024
2050
|
type: String,
|
|
2025
2051
|
default: "wra-revenue",
|
|
2026
|
-
|
|
2052
|
+
validator(e) {
|
|
2027
2053
|
return [
|
|
2028
2054
|
"wra-revenue",
|
|
2029
2055
|
"wra-charcoal",
|
|
@@ -2031,20 +2057,20 @@ const Pa = /* @__PURE__ */ g(Ia, [["render", Ca]]), Ba = {
|
|
|
2031
2057
|
"wra-blue",
|
|
2032
2058
|
"wra-green",
|
|
2033
2059
|
"wra-yellow"
|
|
2034
|
-
].includes(
|
|
2060
|
+
].includes(e);
|
|
2035
2061
|
}
|
|
2036
2062
|
}
|
|
2037
2063
|
}
|
|
2038
|
-
};
|
|
2039
|
-
function
|
|
2040
|
-
return
|
|
2041
|
-
class:
|
|
2064
|
+
});
|
|
2065
|
+
function Aa(e, t, a, s, o, l) {
|
|
2066
|
+
return i(), n("div", {
|
|
2067
|
+
class: f(["wra-inset", e.colour])
|
|
2042
2068
|
}, [
|
|
2043
|
-
|
|
2069
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
2044
2070
|
], 2);
|
|
2045
2071
|
}
|
|
2046
|
-
const
|
|
2047
|
-
directives: { maska:
|
|
2072
|
+
const Fa = /* @__PURE__ */ b(qa, [["render", Aa], ["__scopeId", "data-v-5eaa02a8"]]), Ea = g({
|
|
2073
|
+
directives: { maska: R },
|
|
2048
2074
|
name: "wra-number-input",
|
|
2049
2075
|
props: {
|
|
2050
2076
|
/**
|
|
@@ -2053,6 +2079,7 @@ const Oa = /* @__PURE__ */ g(Ba, [["render", Ta], ["__scopeId", "data-v-f32082c4
|
|
|
2053
2079
|
* @required
|
|
2054
2080
|
*/
|
|
2055
2081
|
modelValue: {
|
|
2082
|
+
type: [String, Number],
|
|
2056
2083
|
required: !0,
|
|
2057
2084
|
default: ""
|
|
2058
2085
|
},
|
|
@@ -2084,8 +2111,8 @@ const Oa = /* @__PURE__ */ g(Ba, [["render", Ta], ["__scopeId", "data-v-f32082c4
|
|
|
2084
2111
|
type: String,
|
|
2085
2112
|
// Default of number causes issues with maska
|
|
2086
2113
|
default: "text",
|
|
2087
|
-
validator(
|
|
2088
|
-
return ["text", "password", "search"].includes(
|
|
2114
|
+
validator(e) {
|
|
2115
|
+
return ["text", "password", "search"].includes(e);
|
|
2089
2116
|
}
|
|
2090
2117
|
},
|
|
2091
2118
|
/**
|
|
@@ -2096,8 +2123,8 @@ const Oa = /* @__PURE__ */ g(Ba, [["render", Ta], ["__scopeId", "data-v-f32082c4
|
|
|
2096
2123
|
inputmode: {
|
|
2097
2124
|
type: String,
|
|
2098
2125
|
default: "numeric",
|
|
2099
|
-
validator(
|
|
2100
|
-
return ["numeric", "decimal", "text"].includes(
|
|
2126
|
+
validator(e) {
|
|
2127
|
+
return ["numeric", "decimal", "text"].includes(e);
|
|
2101
2128
|
}
|
|
2102
2129
|
},
|
|
2103
2130
|
/**
|
|
@@ -2139,20 +2166,21 @@ const Oa = /* @__PURE__ */ g(Ba, [["render", Ta], ["__scopeId", "data-v-f32082c4
|
|
|
2139
2166
|
}
|
|
2140
2167
|
},
|
|
2141
2168
|
emits: ["update:modelValue", "valid"],
|
|
2142
|
-
data
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2169
|
+
data() {
|
|
2170
|
+
return {
|
|
2171
|
+
dataValue: "",
|
|
2172
|
+
errorMessage: "",
|
|
2173
|
+
firstValidation: !0,
|
|
2174
|
+
returnValue: ""
|
|
2175
|
+
};
|
|
2176
|
+
},
|
|
2148
2177
|
methods: {
|
|
2149
|
-
validate(
|
|
2178
|
+
validate(e) {
|
|
2150
2179
|
if (this.errorMessage = "", this.rules != null)
|
|
2151
|
-
for (let
|
|
2152
|
-
const
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
this.errorMessage = r, this.$emit("valid", { id: this.id, value: !1 });
|
|
2180
|
+
for (let t = 0; t < this.rules.length; t++) {
|
|
2181
|
+
const a = this.rules[t], s = a(e);
|
|
2182
|
+
if (s != !0) {
|
|
2183
|
+
this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
|
|
2156
2184
|
break;
|
|
2157
2185
|
}
|
|
2158
2186
|
}
|
|
@@ -2161,9 +2189,9 @@ const Oa = /* @__PURE__ */ g(Ba, [["render", Ta], ["__scopeId", "data-v-f32082c4
|
|
|
2161
2189
|
return;
|
|
2162
2190
|
}
|
|
2163
2191
|
},
|
|
2164
|
-
onMaska(
|
|
2165
|
-
const
|
|
2166
|
-
this.$emit("update:modelValue",
|
|
2192
|
+
onMaska(e) {
|
|
2193
|
+
const t = this.emitMaskaDetails ? e : e.unmasked;
|
|
2194
|
+
this.$emit("update:modelValue", t), this.validate(e.unmasked);
|
|
2167
2195
|
}
|
|
2168
2196
|
},
|
|
2169
2197
|
computed: {
|
|
@@ -2174,25 +2202,25 @@ const Oa = /* @__PURE__ */ g(Ba, [["render", Ta], ["__scopeId", "data-v-f32082c4
|
|
|
2174
2202
|
created() {
|
|
2175
2203
|
this.validate(this.modelValue), this.$emit("update:modelValue", this.modelValue);
|
|
2176
2204
|
}
|
|
2177
|
-
},
|
|
2205
|
+
}), La = ["for"], ja = { class: "input-wrapper" }, Da = {
|
|
2178
2206
|
key: 0,
|
|
2179
2207
|
class: "prefix"
|
|
2180
|
-
},
|
|
2208
|
+
}, za = ["id", "type", "inputmode", "placeholder", "value"], Ra = {
|
|
2181
2209
|
key: 1,
|
|
2182
2210
|
class: "suffix"
|
|
2183
2211
|
};
|
|
2184
|
-
function
|
|
2185
|
-
const
|
|
2186
|
-
return
|
|
2187
|
-
class:
|
|
2212
|
+
function _a(e, t, a, s, o, l) {
|
|
2213
|
+
const r = D("maska");
|
|
2214
|
+
return i(), n("div", {
|
|
2215
|
+
class: f({ error: !!e.errorMessage })
|
|
2188
2216
|
}, [
|
|
2189
|
-
e.label ? (
|
|
2217
|
+
e.label ? (i(), n("label", {
|
|
2190
2218
|
key: 0,
|
|
2191
2219
|
for: e.id
|
|
2192
|
-
},
|
|
2193
|
-
u("div",
|
|
2194
|
-
e.prefix ? (
|
|
2195
|
-
|
|
2220
|
+
}, p(e.label), 9, La)) : h("", !0),
|
|
2221
|
+
u("div", ja, [
|
|
2222
|
+
e.prefix ? (i(), n("span", Da, p(e.prefix), 1)) : h("", !0),
|
|
2223
|
+
q(u("input", {
|
|
2196
2224
|
id: e.id,
|
|
2197
2225
|
type: e.type,
|
|
2198
2226
|
inputmode: e.inputmode || "numeric",
|
|
@@ -2200,21 +2228,23 @@ function La(t, a, e, r, n, s) {
|
|
|
2200
2228
|
value: e.modelValue,
|
|
2201
2229
|
"data-maska-tokens": "9:[0-9]:repeated",
|
|
2202
2230
|
"data-maska-reversed": "",
|
|
2203
|
-
onMaska:
|
|
2204
|
-
class:
|
|
2205
|
-
}, null, 42,
|
|
2206
|
-
[
|
|
2231
|
+
onMaska: t[0] || (t[0] = (d) => e.onMaska(d.detail)),
|
|
2232
|
+
class: f(e.prefixPadding)
|
|
2233
|
+
}, null, 42, za), [
|
|
2234
|
+
[r, "9,99#"]
|
|
2207
2235
|
]),
|
|
2208
|
-
e.suffix ? (
|
|
2236
|
+
e.suffix ? (i(), n("span", Ra, p(e.suffix), 1)) : h("", !0)
|
|
2209
2237
|
]),
|
|
2210
|
-
u("p", null,
|
|
2238
|
+
u("p", null, p(e.errorMessage), 1)
|
|
2211
2239
|
], 2);
|
|
2212
2240
|
}
|
|
2213
|
-
const
|
|
2241
|
+
const Ka = /* @__PURE__ */ b(Ea, [["render", _a], ["__scopeId", "data-v-4bc18423"]]), Ha = g({
|
|
2214
2242
|
name: "wra-pagination",
|
|
2215
|
-
data
|
|
2216
|
-
|
|
2217
|
-
|
|
2243
|
+
data() {
|
|
2244
|
+
return {
|
|
2245
|
+
currentPage: 0
|
|
2246
|
+
};
|
|
2247
|
+
},
|
|
2218
2248
|
props: {
|
|
2219
2249
|
/**
|
|
2220
2250
|
* The current page number (v-model).
|
|
@@ -2267,6 +2297,7 @@ const Da = /* @__PURE__ */ g(Wa, [["render", La], ["__scopeId", "data-v-93248f45
|
|
|
2267
2297
|
default: "Next"
|
|
2268
2298
|
}
|
|
2269
2299
|
},
|
|
2300
|
+
emits: ["update:modelValue"],
|
|
2270
2301
|
methods: {
|
|
2271
2302
|
incPage() {
|
|
2272
2303
|
this.currentPage < this.totalPages && (this.currentPage++, this.$emit("update:modelValue", this.currentPage));
|
|
@@ -2274,10 +2305,14 @@ const Da = /* @__PURE__ */ g(Wa, [["render", La], ["__scopeId", "data-v-93248f45
|
|
|
2274
2305
|
decPage() {
|
|
2275
2306
|
this.currentPage >= this.startIndex + 1 && (this.currentPage--, this.$emit("update:modelValue", this.currentPage));
|
|
2276
2307
|
},
|
|
2277
|
-
changePage(
|
|
2278
|
-
this.currentPage =
|
|
2279
|
-
|
|
2280
|
-
|
|
2308
|
+
changePage(e) {
|
|
2309
|
+
this.currentPage = e, this.$emit("update:modelValue", this.currentPage), this.$nextTick(() => {
|
|
2310
|
+
const t = `page-${e}`, a = this.$refs[t];
|
|
2311
|
+
if (!a || !a[0]) {
|
|
2312
|
+
console.log("No ref found for page", e);
|
|
2313
|
+
return;
|
|
2314
|
+
}
|
|
2315
|
+
a[0].focus();
|
|
2281
2316
|
});
|
|
2282
2317
|
},
|
|
2283
2318
|
onKeyLeft() {
|
|
@@ -2287,12 +2322,11 @@ const Da = /* @__PURE__ */ g(Wa, [["render", La], ["__scopeId", "data-v-93248f45
|
|
|
2287
2322
|
this.currentPage < this.totalPages && this.changePage(this.currentPage + 1);
|
|
2288
2323
|
}
|
|
2289
2324
|
},
|
|
2290
|
-
emits: ["update:modelValue"],
|
|
2291
2325
|
computed: {
|
|
2292
2326
|
pageArray() {
|
|
2293
2327
|
return Array.from(
|
|
2294
2328
|
{ length: this.totalPages },
|
|
2295
|
-
(
|
|
2329
|
+
(e, t) => t + this.startIndex
|
|
2296
2330
|
);
|
|
2297
2331
|
},
|
|
2298
2332
|
viewablePages() {
|
|
@@ -2305,76 +2339,76 @@ const Da = /* @__PURE__ */ g(Wa, [["render", La], ["__scopeId", "data-v-93248f45
|
|
|
2305
2339
|
);
|
|
2306
2340
|
},
|
|
2307
2341
|
skipStart() {
|
|
2308
|
-
|
|
2309
|
-
return this.skip && this.currentPage >=
|
|
2342
|
+
const e = Math.ceil(this.length / 2) + this.startIndex;
|
|
2343
|
+
return this.skip && this.currentPage >= e;
|
|
2310
2344
|
},
|
|
2311
2345
|
skipEnd() {
|
|
2312
|
-
|
|
2313
|
-
return this.skip && this.currentPage <=
|
|
2346
|
+
const e = this.totalPages - Math.floor(this.length / 2) - this.startIndex;
|
|
2347
|
+
return this.skip && this.currentPage <= e;
|
|
2314
2348
|
}
|
|
2315
2349
|
},
|
|
2316
2350
|
watch: {
|
|
2317
|
-
modelValue(
|
|
2318
|
-
this.changePage(
|
|
2351
|
+
modelValue(e) {
|
|
2352
|
+
this.changePage(e);
|
|
2319
2353
|
}
|
|
2320
2354
|
},
|
|
2321
2355
|
created() {
|
|
2322
2356
|
this.currentPage = this.modelValue;
|
|
2323
2357
|
}
|
|
2324
|
-
},
|
|
2325
|
-
function
|
|
2326
|
-
return
|
|
2358
|
+
}), Ua = { class: "pagination" }, Ga = ["onClick"];
|
|
2359
|
+
function Ya(e, t, a, s, o, l) {
|
|
2360
|
+
return i(), n("div", Ua, [
|
|
2327
2361
|
u("button", {
|
|
2328
2362
|
class: "pagination-button",
|
|
2329
|
-
onClick:
|
|
2363
|
+
onClick: t[0] || (t[0] = (r) => e.decPage())
|
|
2330
2364
|
}, [
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
u("span", null,
|
|
2365
|
+
m(e.$slots, "previous", {}, () => [
|
|
2366
|
+
t[6] || (t[6] = u("span", { class: "pagination-icon previous-icon" }, null, -1)),
|
|
2367
|
+
u("span", null, p(e.previousLabel), 1)
|
|
2334
2368
|
], !0)
|
|
2335
2369
|
]),
|
|
2336
|
-
|
|
2337
|
-
|
|
2370
|
+
e.skipStart ? (i(), n($, { key: 0 }, [
|
|
2371
|
+
e.skipStart ? (i(), n("button", {
|
|
2338
2372
|
key: 0,
|
|
2339
|
-
onClick:
|
|
2373
|
+
onClick: t[1] || (t[1] = (r) => e.changePage(e.startIndex)),
|
|
2340
2374
|
class: "pagination-number"
|
|
2341
|
-
},
|
|
2342
|
-
|
|
2343
|
-
|
|
2375
|
+
}, p(e.startIndex), 1)) : h("", !0),
|
|
2376
|
+
m(e.$slots, "divider", {}, () => [
|
|
2377
|
+
t[7] || (t[7] = u("span", { class: "pagination-divider" }, "...", -1))
|
|
2344
2378
|
], !0)
|
|
2345
|
-
], 64)) :
|
|
2346
|
-
(
|
|
2347
|
-
onClick: (d) =>
|
|
2379
|
+
], 64)) : h("", !0),
|
|
2380
|
+
(i(!0), n($, null, V(e.viewablePages, (r) => (i(), n("button", {
|
|
2381
|
+
onClick: (d) => e.changePage(r),
|
|
2348
2382
|
onKeydown: [
|
|
2349
|
-
|
|
2350
|
-
|
|
2383
|
+
t[2] || (t[2] = S((d) => e.onKeyLeft(), ["left"])),
|
|
2384
|
+
t[3] || (t[3] = S((d) => e.onKeyRight(), ["right"]))
|
|
2351
2385
|
],
|
|
2352
2386
|
ref_for: !0,
|
|
2353
|
-
ref:
|
|
2354
|
-
class:
|
|
2355
|
-
},
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2387
|
+
ref: "page-" + r,
|
|
2388
|
+
class: f(["pagination-number", e.currentPage === r && "pagination-number--selected"])
|
|
2389
|
+
}, p(r), 43, Ga))), 256)),
|
|
2390
|
+
e.skipEnd ? (i(), n($, { key: 1 }, [
|
|
2391
|
+
m(e.$slots, "divider", {}, () => [
|
|
2392
|
+
t[8] || (t[8] = u("span", { class: "pagination-divider" }, "...", -1))
|
|
2359
2393
|
], !0),
|
|
2360
2394
|
u("button", {
|
|
2361
|
-
onClick:
|
|
2395
|
+
onClick: t[4] || (t[4] = (r) => e.changePage(e.totalPages)),
|
|
2362
2396
|
class: "pagination-number"
|
|
2363
|
-
},
|
|
2364
|
-
], 64)) :
|
|
2397
|
+
}, p(e.totalPages), 1)
|
|
2398
|
+
], 64)) : h("", !0),
|
|
2365
2399
|
u("button", {
|
|
2366
2400
|
class: "pagination-button",
|
|
2367
|
-
onClick:
|
|
2401
|
+
onClick: t[5] || (t[5] = (r) => e.incPage())
|
|
2368
2402
|
}, [
|
|
2369
|
-
|
|
2370
|
-
u("span", null,
|
|
2371
|
-
|
|
2403
|
+
m(e.$slots, "next", {}, () => [
|
|
2404
|
+
u("span", null, p(e.nextLabel), 1),
|
|
2405
|
+
t[9] || (t[9] = u("span", { class: "pagination-icon next-icon" }, null, -1))
|
|
2372
2406
|
], !0)
|
|
2373
2407
|
])
|
|
2374
2408
|
]);
|
|
2375
2409
|
}
|
|
2376
|
-
const
|
|
2377
|
-
directives: { maska:
|
|
2410
|
+
const Ja = /* @__PURE__ */ b(Ha, [["render", Ya], ["__scopeId", "data-v-4fb0a9cd"]]), Za = g({
|
|
2411
|
+
directives: { maska: R },
|
|
2378
2412
|
name: "wra-price-input",
|
|
2379
2413
|
props: {
|
|
2380
2414
|
/**
|
|
@@ -2385,7 +2419,8 @@ const Ha = /* @__PURE__ */ g(ja, [["render", Ka], ["__scopeId", "data-v-b8adcc77
|
|
|
2385
2419
|
*/
|
|
2386
2420
|
modelValue: {
|
|
2387
2421
|
required: !0,
|
|
2388
|
-
default: ""
|
|
2422
|
+
default: "",
|
|
2423
|
+
type: [String, Number]
|
|
2389
2424
|
},
|
|
2390
2425
|
/**
|
|
2391
2426
|
* The label for the input field.
|
|
@@ -2414,8 +2449,8 @@ const Ha = /* @__PURE__ */ g(ja, [["render", Ka], ["__scopeId", "data-v-b8adcc77
|
|
|
2414
2449
|
inputmode: {
|
|
2415
2450
|
default: "decimal",
|
|
2416
2451
|
type: String,
|
|
2417
|
-
validator(
|
|
2418
|
-
return ["numeric", "decimal", "text"].includes(
|
|
2452
|
+
validator(e) {
|
|
2453
|
+
return ["numeric", "decimal", "text"].includes(e);
|
|
2419
2454
|
}
|
|
2420
2455
|
},
|
|
2421
2456
|
/**
|
|
@@ -2452,39 +2487,40 @@ const Ha = /* @__PURE__ */ g(ja, [["render", Ka], ["__scopeId", "data-v-b8adcc77
|
|
|
2452
2487
|
}
|
|
2453
2488
|
},
|
|
2454
2489
|
emits: ["update:modelValue", "valid"],
|
|
2455
|
-
data
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2490
|
+
data() {
|
|
2491
|
+
return {
|
|
2492
|
+
maskedValue: "",
|
|
2493
|
+
mask: {
|
|
2494
|
+
preProcess: (e) => e.replace(/[£,]/g, ""),
|
|
2495
|
+
postProcess: (e) => {
|
|
2496
|
+
if (!e) return "";
|
|
2497
|
+
const t = 3 - (e.includes(".") ? e.length - e.indexOf(".") : 0), a = Number(e.replace(/,/g, ""));
|
|
2498
|
+
return isNaN(a) ? e : Intl.NumberFormat("en-GB", {
|
|
2499
|
+
style: "currency",
|
|
2500
|
+
currency: "GBP"
|
|
2501
|
+
}).format(a).slice(0, t ? -t : void 0).replace("£", "");
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
errorMessage: "",
|
|
2505
|
+
firstValidation: !0
|
|
2506
|
+
};
|
|
2507
|
+
},
|
|
2471
2508
|
watch: {
|
|
2472
|
-
modelValue(
|
|
2473
|
-
this.maskedValue =
|
|
2509
|
+
modelValue(e) {
|
|
2510
|
+
this.maskedValue = e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
2474
2511
|
}
|
|
2475
2512
|
},
|
|
2476
2513
|
methods: {
|
|
2477
|
-
onMaska(
|
|
2478
|
-
const
|
|
2479
|
-
this.$emit("update:modelValue",
|
|
2514
|
+
onMaska(e) {
|
|
2515
|
+
const t = e.detail.masked.replace(/[^0-9.]/g, "");
|
|
2516
|
+
this.$emit("update:modelValue", t), this.validate(t);
|
|
2480
2517
|
},
|
|
2481
|
-
validate(
|
|
2518
|
+
validate(e) {
|
|
2482
2519
|
if (this.errorMessage = "", this.rules != null)
|
|
2483
|
-
for (let
|
|
2484
|
-
const
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
this.errorMessage = r, this.$emit("valid", { id: this.id, value: !1 });
|
|
2520
|
+
for (let t = 0; t < this.rules.length; t++) {
|
|
2521
|
+
const a = this.rules[t], s = a(e);
|
|
2522
|
+
if (s != !0) {
|
|
2523
|
+
this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
|
|
2488
2524
|
break;
|
|
2489
2525
|
}
|
|
2490
2526
|
}
|
|
@@ -2500,45 +2536,45 @@ const Ha = /* @__PURE__ */ g(ja, [["render", Ka], ["__scopeId", "data-v-b8adcc77
|
|
|
2500
2536
|
}
|
|
2501
2537
|
},
|
|
2502
2538
|
mounted() {
|
|
2503
|
-
this.maskedValue = this.modelValue, this.$emit("update:modelValue", this.maskedValue), this.validate(this.modelValue);
|
|
2539
|
+
this.maskedValue = String(this.modelValue), this.$emit("update:modelValue", this.maskedValue), this.validate(this.modelValue);
|
|
2504
2540
|
}
|
|
2505
|
-
},
|
|
2541
|
+
}), Qa = ["for"], Xa = { class: "input-wrapper" }, xa = {
|
|
2506
2542
|
key: 0,
|
|
2507
2543
|
class: "prefix"
|
|
2508
|
-
},
|
|
2544
|
+
}, es = ["id", "value", "inputmode", "placeholder"], ts = {
|
|
2509
2545
|
key: 1,
|
|
2510
2546
|
class: "suffix"
|
|
2511
2547
|
};
|
|
2512
|
-
function
|
|
2513
|
-
const
|
|
2514
|
-
return
|
|
2515
|
-
class:
|
|
2548
|
+
function as(e, t, a, s, o, l) {
|
|
2549
|
+
const r = D("maska");
|
|
2550
|
+
return i(), n("div", {
|
|
2551
|
+
class: f({ error: e.errorMessage !== "" })
|
|
2516
2552
|
}, [
|
|
2517
|
-
e.label ? (
|
|
2553
|
+
e.label ? (i(), n("label", {
|
|
2518
2554
|
key: 0,
|
|
2519
2555
|
for: e.id
|
|
2520
|
-
},
|
|
2521
|
-
u("div",
|
|
2522
|
-
e.prefix ? (
|
|
2523
|
-
|
|
2556
|
+
}, p(e.label), 9, Qa)) : h("", !0),
|
|
2557
|
+
u("div", Xa, [
|
|
2558
|
+
e.prefix ? (i(), n("span", xa, p(e.prefix), 1)) : h("", !0),
|
|
2559
|
+
q(u("input", {
|
|
2524
2560
|
id: e.id,
|
|
2525
2561
|
type: "text",
|
|
2526
|
-
value:
|
|
2562
|
+
value: e.maskedValue,
|
|
2527
2563
|
inputmode: e.inputmode || "decimal",
|
|
2528
2564
|
placeholder: e.placeholder,
|
|
2529
|
-
onMaska:
|
|
2565
|
+
onMaska: t[0] || (t[0] = (...d) => e.onMaska && e.onMaska(...d)),
|
|
2530
2566
|
"data-maska": "0.99",
|
|
2531
2567
|
"data-maska-tokens": "0:\\d:multiple|9:\\d:optional",
|
|
2532
|
-
class:
|
|
2533
|
-
}, null, 42,
|
|
2534
|
-
[
|
|
2568
|
+
class: f(e.prefixPadding)
|
|
2569
|
+
}, null, 42, es), [
|
|
2570
|
+
[r, e.mask]
|
|
2535
2571
|
]),
|
|
2536
|
-
e.suffix ? (
|
|
2572
|
+
e.suffix ? (i(), n("span", ts, p(e.suffix), 1)) : h("", !0)
|
|
2537
2573
|
]),
|
|
2538
|
-
u("p", null,
|
|
2574
|
+
u("p", null, p(e.errorMessage), 1)
|
|
2539
2575
|
], 2);
|
|
2540
2576
|
}
|
|
2541
|
-
const
|
|
2577
|
+
const ss = /* @__PURE__ */ b(Za, [["render", as], ["__scopeId", "data-v-7d92a809"]]), rs = g({
|
|
2542
2578
|
name: "wra-radio",
|
|
2543
2579
|
props: {
|
|
2544
2580
|
groupName: {
|
|
@@ -2549,18 +2585,23 @@ const es = /* @__PURE__ */ g(Ua, [["render", Xa], ["__scopeId", "data-v-e66a36da
|
|
|
2549
2585
|
type: Object,
|
|
2550
2586
|
required: !0,
|
|
2551
2587
|
default: () => ({ label: "", value: "" }),
|
|
2552
|
-
validator: function(
|
|
2553
|
-
return
|
|
2588
|
+
validator: function(e) {
|
|
2589
|
+
return Object.prototype.hasOwnProperty.call(e, "label") && Object.prototype.hasOwnProperty.call(e, "value") && Object.prototype.hasOwnProperty.call(e, "info");
|
|
2554
2590
|
}
|
|
2555
2591
|
},
|
|
2556
2592
|
isChecked: {
|
|
2557
2593
|
type: Boolean,
|
|
2558
2594
|
required: !0
|
|
2559
2595
|
}
|
|
2596
|
+
},
|
|
2597
|
+
methods: {
|
|
2598
|
+
onChange(e) {
|
|
2599
|
+
this.$emit("update:modelValue", this.option.value);
|
|
2600
|
+
}
|
|
2560
2601
|
}
|
|
2561
|
-
},
|
|
2562
|
-
function
|
|
2563
|
-
return
|
|
2602
|
+
}), is = ["for"], ns = ["name", "value", "id", "checked", "aria-checked"], os = { class: "radio-text" }, ls = ["innerHTML"];
|
|
2603
|
+
function us(e, t, a, s, o, l) {
|
|
2604
|
+
return i(), n("div", null, [
|
|
2564
2605
|
u("label", {
|
|
2565
2606
|
for: e.groupName + "-" + e.option.value,
|
|
2566
2607
|
class: "radio-label"
|
|
@@ -2570,23 +2611,23 @@ function ns(t, a, e, r, n, s) {
|
|
|
2570
2611
|
name: e.groupName,
|
|
2571
2612
|
value: e.option.value,
|
|
2572
2613
|
id: e.groupName + "-" + e.option.value,
|
|
2573
|
-
onChange:
|
|
2614
|
+
onChange: t[0] || (t[0] = (...r) => e.onChange && e.onChange(...r)),
|
|
2574
2615
|
class: "radio-input",
|
|
2575
2616
|
checked: e.isChecked == !0,
|
|
2576
2617
|
"aria-checked": e.isChecked
|
|
2577
|
-
}, null, 40,
|
|
2578
|
-
u("span",
|
|
2579
|
-
u("p", null,
|
|
2580
|
-
e.option.info ? (
|
|
2618
|
+
}, null, 40, ns),
|
|
2619
|
+
u("span", os, [
|
|
2620
|
+
u("p", null, p(e.option.label), 1),
|
|
2621
|
+
e.option.info ? (i(), n("p", {
|
|
2581
2622
|
key: 0,
|
|
2582
2623
|
class: "further-information-text",
|
|
2583
2624
|
innerHTML: e.option.info
|
|
2584
|
-
}, null, 8,
|
|
2625
|
+
}, null, 8, ls)) : h("", !0)
|
|
2585
2626
|
])
|
|
2586
|
-
], 8,
|
|
2627
|
+
], 8, is)
|
|
2587
2628
|
]);
|
|
2588
2629
|
}
|
|
2589
|
-
const
|
|
2630
|
+
const ds = /* @__PURE__ */ b(rs, [["render", us], ["__scopeId", "data-v-4a565a05"]]), ps = g({
|
|
2590
2631
|
name: "wra-radio-group",
|
|
2591
2632
|
props: {
|
|
2592
2633
|
/**
|
|
@@ -2600,7 +2641,7 @@ const ls = /* @__PURE__ */ g(ts, [["render", ns], ["__scopeId", "data-v-d18916d1
|
|
|
2600
2641
|
* The v-model binding for the selected radio value.
|
|
2601
2642
|
*/
|
|
2602
2643
|
modelValue: {
|
|
2603
|
-
type: String
|
|
2644
|
+
type: [String, Number]
|
|
2604
2645
|
},
|
|
2605
2646
|
/**
|
|
2606
2647
|
* The array of options to display as radio buttons.
|
|
@@ -2624,36 +2665,36 @@ const ls = /* @__PURE__ */ g(ts, [["render", ns], ["__scopeId", "data-v-d18916d1
|
|
|
2624
2665
|
}
|
|
2625
2666
|
},
|
|
2626
2667
|
methods: {
|
|
2627
|
-
checkInput
|
|
2628
|
-
return
|
|
2668
|
+
checkInput(e) {
|
|
2669
|
+
return e == this.modelValue;
|
|
2629
2670
|
}
|
|
2630
2671
|
},
|
|
2631
2672
|
components: {
|
|
2632
|
-
WraRadio:
|
|
2673
|
+
WraRadio: ds
|
|
2633
2674
|
},
|
|
2634
2675
|
computed: {
|
|
2635
2676
|
validOptions() {
|
|
2636
2677
|
return this.options ?? [];
|
|
2637
2678
|
}
|
|
2638
2679
|
}
|
|
2639
|
-
},
|
|
2640
|
-
function
|
|
2641
|
-
const
|
|
2642
|
-
return
|
|
2680
|
+
}), cs = ["aria-label", "aria-describedby"];
|
|
2681
|
+
function hs(e, t, a, s, o, l) {
|
|
2682
|
+
const r = E("wra-radio");
|
|
2683
|
+
return i(), n("div", {
|
|
2643
2684
|
role: "radiogroup",
|
|
2644
2685
|
"aria-label": e.label,
|
|
2645
2686
|
"aria-describedby": e.hint
|
|
2646
2687
|
}, [
|
|
2647
|
-
(
|
|
2688
|
+
(i(!0), n($, null, V(e.validOptions, (d) => (i(), z(r, {
|
|
2648
2689
|
groupName: e.groupName,
|
|
2649
2690
|
option: d,
|
|
2650
2691
|
key: d.value,
|
|
2651
2692
|
class: "radio",
|
|
2652
|
-
isChecked:
|
|
2693
|
+
isChecked: e.checkInput(d.value)
|
|
2653
2694
|
}, null, 8, ["groupName", "option", "isChecked"]))), 128))
|
|
2654
|
-
], 8,
|
|
2695
|
+
], 8, cs);
|
|
2655
2696
|
}
|
|
2656
|
-
const
|
|
2697
|
+
const fs = /* @__PURE__ */ b(ps, [["render", hs], ["__scopeId", "data-v-32c5746a"]]), ms = g({
|
|
2657
2698
|
name: "wra-select",
|
|
2658
2699
|
props: {
|
|
2659
2700
|
/**
|
|
@@ -2710,20 +2751,24 @@ const cs = /* @__PURE__ */ g(os, [["render", ds], ["__scopeId", "data-v-b72f445c
|
|
|
2710
2751
|
}
|
|
2711
2752
|
},
|
|
2712
2753
|
methods: {
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2754
|
+
onSelectChange(e) {
|
|
2755
|
+
const t = e.target, a = t ? t.value : "";
|
|
2756
|
+
this.validate(a);
|
|
2757
|
+
},
|
|
2758
|
+
validate(e) {
|
|
2759
|
+
this.$emit("update:modelValue", e);
|
|
2760
|
+
const t = this.validItems.some((a) => this.checkForObjectValue(a) == e);
|
|
2761
|
+
if (this.required == !0 && t == !1) {
|
|
2717
2762
|
this.$emit("valid", { id: this.id || this.name, value: !1 });
|
|
2718
2763
|
return;
|
|
2719
2764
|
}
|
|
2720
2765
|
this.$emit("valid", { id: this.id || this.name, value: !0 });
|
|
2721
2766
|
},
|
|
2722
|
-
checkForObjectValue(
|
|
2723
|
-
return typeof
|
|
2767
|
+
checkForObjectValue(e) {
|
|
2768
|
+
return typeof e == "object" ? e[this.itemValue] : e;
|
|
2724
2769
|
},
|
|
2725
|
-
checkForObjectLabel(
|
|
2726
|
-
return typeof
|
|
2770
|
+
checkForObjectLabel(e) {
|
|
2771
|
+
return typeof e == "object" ? e[this.itemLabel] : e;
|
|
2727
2772
|
}
|
|
2728
2773
|
},
|
|
2729
2774
|
computed: {
|
|
@@ -2735,38 +2780,38 @@ const cs = /* @__PURE__ */ g(os, [["render", ds], ["__scopeId", "data-v-b72f445c
|
|
|
2735
2780
|
this.validate(this.modelValue);
|
|
2736
2781
|
},
|
|
2737
2782
|
emits: ["update:modelValue", "valid"]
|
|
2738
|
-
},
|
|
2739
|
-
function
|
|
2740
|
-
return
|
|
2783
|
+
}), gs = ["for"], bs = { class: "select" }, ks = ["id", "value"], ys = ["value", "selected"], $s = { key: 0 }, vs = { key: 1 };
|
|
2784
|
+
function ws(e, t, a, s, o, l) {
|
|
2785
|
+
return i(), n($, null, [
|
|
2741
2786
|
u("label", {
|
|
2742
2787
|
for: e.id || e.name
|
|
2743
|
-
},
|
|
2744
|
-
u("div",
|
|
2788
|
+
}, p(e.label), 9, gs),
|
|
2789
|
+
u("div", bs, [
|
|
2745
2790
|
u("select", {
|
|
2746
2791
|
id: e.id || e.name,
|
|
2747
2792
|
value: e.modelValue,
|
|
2748
|
-
onChange:
|
|
2793
|
+
onChange: t[0] || (t[0] = (...r) => e.onSelectChange && e.onSelectChange(...r))
|
|
2749
2794
|
}, [
|
|
2750
|
-
|
|
2795
|
+
t[1] || (t[1] = u("option", {
|
|
2751
2796
|
value: "",
|
|
2752
2797
|
selected: "",
|
|
2753
2798
|
disabled: "",
|
|
2754
2799
|
hidden: ""
|
|
2755
2800
|
}, "-", -1)),
|
|
2756
|
-
(
|
|
2757
|
-
value:
|
|
2758
|
-
selected: e.modelValue ==
|
|
2801
|
+
(i(!0), n($, null, V(e.validItems, (r) => (i(), n("option", {
|
|
2802
|
+
value: e.checkForObjectValue(r),
|
|
2803
|
+
selected: e.modelValue == e.checkForObjectValue(r)
|
|
2759
2804
|
}, [
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
])) : (
|
|
2763
|
-
], 8,
|
|
2764
|
-
], 40,
|
|
2765
|
-
|
|
2805
|
+
e.$slots.label ? (i(), n("span", $s, [
|
|
2806
|
+
m(e.$slots, "label", { item: r }, void 0, !0)
|
|
2807
|
+
])) : (i(), n("span", vs, p(e.checkForObjectLabel(r)), 1))
|
|
2808
|
+
], 8, ys))), 256))
|
|
2809
|
+
], 40, ks),
|
|
2810
|
+
t[2] || (t[2] = u("span", { class: "focus" }, null, -1))
|
|
2766
2811
|
])
|
|
2767
2812
|
], 64);
|
|
2768
2813
|
}
|
|
2769
|
-
const
|
|
2814
|
+
const Ss = /* @__PURE__ */ b(ms, [["render", ws], ["__scopeId", "data-v-f1105098"]]), Vs = g({
|
|
2770
2815
|
name: "wra-service-logo",
|
|
2771
2816
|
props: {
|
|
2772
2817
|
/**
|
|
@@ -2803,9 +2848,9 @@ const vs = /* @__PURE__ */ g(hs, [["render", ys], ["__scopeId", "data-v-e700f97c
|
|
|
2803
2848
|
type: [String, Number]
|
|
2804
2849
|
}
|
|
2805
2850
|
}
|
|
2806
|
-
},
|
|
2807
|
-
function
|
|
2808
|
-
return
|
|
2851
|
+
}), Is = ["href", "aria-label"], Ms = ["src", "height", "alt"];
|
|
2852
|
+
function Cs(e, t, a, s, o, l) {
|
|
2853
|
+
return i(), n("a", {
|
|
2809
2854
|
href: e.href,
|
|
2810
2855
|
target: "_blank",
|
|
2811
2856
|
rel: "noopener noreferrer",
|
|
@@ -2817,10 +2862,10 @@ function xs(t, a, e, r, n, s) {
|
|
|
2817
2862
|
height: e.height,
|
|
2818
2863
|
class: "service-logo",
|
|
2819
2864
|
alt: e.alt
|
|
2820
|
-
}, null, 8,
|
|
2821
|
-
], 8,
|
|
2865
|
+
}, null, 8, Ms)
|
|
2866
|
+
], 8, Is);
|
|
2822
2867
|
}
|
|
2823
|
-
const
|
|
2868
|
+
const Ps = /* @__PURE__ */ b(Vs, [["render", Cs], ["__scopeId", "data-v-726556fc"]]), Bs = g({
|
|
2824
2869
|
name: "wra-simple-table",
|
|
2825
2870
|
props: {
|
|
2826
2871
|
/**
|
|
@@ -2841,30 +2886,30 @@ const Vs = /* @__PURE__ */ g(_s, [["render", xs], ["__scopeId", "data-v-c9a7cc51
|
|
|
2841
2886
|
default: !0
|
|
2842
2887
|
}
|
|
2843
2888
|
}
|
|
2844
|
-
};
|
|
2845
|
-
function
|
|
2846
|
-
return
|
|
2847
|
-
class:
|
|
2889
|
+
});
|
|
2890
|
+
function Ts(e, t, a, s, o, l) {
|
|
2891
|
+
return i(), n("div", {
|
|
2892
|
+
class: f(["wra-simple-table-wrapper", {
|
|
2848
2893
|
"wra-simple-table-inherit": e.inheritBackground,
|
|
2849
2894
|
"wra-simple-table-no-padding": e.inheritBackground
|
|
2850
2895
|
}])
|
|
2851
2896
|
}, [
|
|
2852
2897
|
u("table", {
|
|
2853
|
-
class:
|
|
2898
|
+
class: f(["wra-simple-table", { "left-align-headers": e.leftAlignHeaders }])
|
|
2854
2899
|
}, [
|
|
2855
|
-
e.caption ? (
|
|
2900
|
+
e.caption ? (i(), n("caption", {
|
|
2856
2901
|
key: 0,
|
|
2857
|
-
class:
|
|
2902
|
+
class: f(["wra-simple-table-caption", { "caption-no-padding": e.inheritBackground }])
|
|
2858
2903
|
}, [
|
|
2859
|
-
|
|
2860
|
-
|
|
2904
|
+
m(e.$slots, "caption", {}, () => [
|
|
2905
|
+
B(p(e.caption), 1)
|
|
2861
2906
|
])
|
|
2862
|
-
], 2)) :
|
|
2863
|
-
|
|
2907
|
+
], 2)) : h("", !0),
|
|
2908
|
+
m(e.$slots, "default")
|
|
2864
2909
|
], 2)
|
|
2865
2910
|
], 2);
|
|
2866
2911
|
}
|
|
2867
|
-
const
|
|
2912
|
+
const Os = /* @__PURE__ */ b(Bs, [["render", Ts]]), Ws = g({
|
|
2868
2913
|
name: "wra-skip-link",
|
|
2869
2914
|
emits: ["click"],
|
|
2870
2915
|
methods: {
|
|
@@ -2878,10 +2923,10 @@ const Ms = /* @__PURE__ */ g(Is, [["render", $s]]), Cs = {
|
|
|
2878
2923
|
this.$emit("click");
|
|
2879
2924
|
return;
|
|
2880
2925
|
}
|
|
2881
|
-
const
|
|
2882
|
-
if (
|
|
2883
|
-
const
|
|
2884
|
-
|
|
2926
|
+
const e = document.getElementById(this.skipId);
|
|
2927
|
+
if (e) {
|
|
2928
|
+
const t = e.tabIndex;
|
|
2929
|
+
e.tabIndex = -1, e.focus(), e.tabIndex = t;
|
|
2885
2930
|
}
|
|
2886
2931
|
}
|
|
2887
2932
|
},
|
|
@@ -2912,14 +2957,14 @@ const Ms = /* @__PURE__ */ g(Is, [["render", $s]]), Cs = {
|
|
|
2912
2957
|
default: !1
|
|
2913
2958
|
}
|
|
2914
2959
|
}
|
|
2915
|
-
};
|
|
2916
|
-
function
|
|
2917
|
-
return
|
|
2918
|
-
class:
|
|
2919
|
-
onClick:
|
|
2920
|
-
},
|
|
2960
|
+
});
|
|
2961
|
+
function Ns(e, t, a, s, o, l) {
|
|
2962
|
+
return i(), n("button", {
|
|
2963
|
+
class: f(["skip-link", { "skip-link-full-width": e.fullWidth }]),
|
|
2964
|
+
onClick: t[0] || (t[0] = (r) => e.onClick())
|
|
2965
|
+
}, p(e.text), 3);
|
|
2921
2966
|
}
|
|
2922
|
-
const
|
|
2967
|
+
const qs = /* @__PURE__ */ b(Ws, [["render", Ns], ["__scopeId", "data-v-8e4609fc"]]), As = g({
|
|
2923
2968
|
name: "wra-snackbar",
|
|
2924
2969
|
emits: ["update:visible"],
|
|
2925
2970
|
props: {
|
|
@@ -2935,8 +2980,8 @@ const Bs = /* @__PURE__ */ g(Cs, [["render", Ps], ["__scopeId", "data-v-7a92cb77
|
|
|
2935
2980
|
/** Time in ms for the snackbar to disappear after appearing */
|
|
2936
2981
|
timeout: {
|
|
2937
2982
|
type: Number,
|
|
2938
|
-
validator(
|
|
2939
|
-
return
|
|
2983
|
+
validator(e) {
|
|
2984
|
+
return e >= 0;
|
|
2940
2985
|
}
|
|
2941
2986
|
},
|
|
2942
2987
|
/** Theme of snackbar */
|
|
@@ -2950,22 +2995,24 @@ const Bs = /* @__PURE__ */ g(Cs, [["render", Ps], ["__scopeId", "data-v-7a92cb77
|
|
|
2950
2995
|
default: !0
|
|
2951
2996
|
}
|
|
2952
2997
|
},
|
|
2953
|
-
data
|
|
2954
|
-
|
|
2955
|
-
|
|
2998
|
+
data() {
|
|
2999
|
+
return {
|
|
3000
|
+
showSnackbar: !1
|
|
3001
|
+
};
|
|
3002
|
+
},
|
|
2956
3003
|
methods: {
|
|
2957
|
-
snackbarTimer(
|
|
3004
|
+
snackbarTimer(e) {
|
|
2958
3005
|
setTimeout(() => {
|
|
2959
3006
|
this.showSnackbar = !1;
|
|
2960
|
-
},
|
|
3007
|
+
}, e);
|
|
2961
3008
|
},
|
|
2962
3009
|
closeSnackbar() {
|
|
2963
3010
|
this.showSnackbar = !1, this.$emit("update:visible", this.showSnackbar);
|
|
2964
3011
|
}
|
|
2965
3012
|
},
|
|
2966
3013
|
watch: {
|
|
2967
|
-
visible(
|
|
2968
|
-
this.showSnackbar =
|
|
3014
|
+
visible(e) {
|
|
3015
|
+
this.showSnackbar = e, e === !0 && this.timeout && this.snackbarTimer(this.timeout);
|
|
2969
3016
|
}
|
|
2970
3017
|
},
|
|
2971
3018
|
created() {
|
|
@@ -2981,39 +3028,39 @@ const Bs = /* @__PURE__ */ g(Cs, [["render", Ps], ["__scopeId", "data-v-7a92cb77
|
|
|
2981
3028
|
};
|
|
2982
3029
|
}
|
|
2983
3030
|
}
|
|
2984
|
-
},
|
|
2985
|
-
function
|
|
2986
|
-
return
|
|
2987
|
-
default:
|
|
2988
|
-
|
|
3031
|
+
}), Fs = { class: "snackbar-content" };
|
|
3032
|
+
function Es(e, t, a, s, o, l) {
|
|
3033
|
+
return i(), z(G, { name: "snackbar" }, {
|
|
3034
|
+
default: N(() => [
|
|
3035
|
+
e.showSnackbar ? (i(), n("div", {
|
|
2989
3036
|
key: 0,
|
|
2990
3037
|
role: "alert",
|
|
2991
3038
|
"aria-live": "polite",
|
|
2992
|
-
class:
|
|
3039
|
+
class: f(["snackbar snackbar-flex", e.type])
|
|
2993
3040
|
}, [
|
|
2994
|
-
u("div",
|
|
2995
|
-
|
|
2996
|
-
|
|
3041
|
+
u("div", Fs, [
|
|
3042
|
+
m(e.$slots, "default", {}, () => [
|
|
3043
|
+
B(p(e.label), 1)
|
|
2997
3044
|
], !0)
|
|
2998
3045
|
]),
|
|
2999
|
-
e.showClose ? (
|
|
3046
|
+
e.showClose ? (i(), n("div", {
|
|
3000
3047
|
key: 0,
|
|
3001
3048
|
class: "close-icon-wrapper",
|
|
3002
3049
|
tabindex: "0",
|
|
3003
|
-
onClick:
|
|
3004
|
-
onKeyup:
|
|
3005
|
-
},
|
|
3050
|
+
onClick: t[0] || (t[0] = (...r) => e.closeSnackbar && e.closeSnackbar(...r)),
|
|
3051
|
+
onKeyup: t[1] || (t[1] = S((...r) => e.closeSnackbar && e.closeSnackbar(...r), ["enter"]))
|
|
3052
|
+
}, [...t[2] || (t[2] = [
|
|
3006
3053
|
u("span", { class: "sr-only" }, "Close", -1),
|
|
3007
3054
|
u("div", { class: "close-icon-line-one" }, [
|
|
3008
3055
|
u("div", { class: "close-icon-line-two" })
|
|
3009
3056
|
], -1)
|
|
3010
|
-
]), 32)) :
|
|
3011
|
-
], 2)) :
|
|
3057
|
+
])], 32)) : h("", !0)
|
|
3058
|
+
], 2)) : h("", !0)
|
|
3012
3059
|
]),
|
|
3013
3060
|
_: 3
|
|
3014
3061
|
});
|
|
3015
3062
|
}
|
|
3016
|
-
const
|
|
3063
|
+
const Ls = /* @__PURE__ */ b(As, [["render", Es], ["__scopeId", "data-v-d07fa6ea"]]), js = g({
|
|
3017
3064
|
name: "wra-subheader",
|
|
3018
3065
|
props: {
|
|
3019
3066
|
/**
|
|
@@ -3031,16 +3078,16 @@ const Fs = /* @__PURE__ */ g(Ts, [["render", Ws], ["__scopeId", "data-v-778a02a7
|
|
|
3031
3078
|
};
|
|
3032
3079
|
}
|
|
3033
3080
|
}
|
|
3034
|
-
};
|
|
3035
|
-
function
|
|
3036
|
-
return
|
|
3081
|
+
});
|
|
3082
|
+
function Ds(e, t, a, s, o, l) {
|
|
3083
|
+
return i(), n("div", {
|
|
3037
3084
|
class: "subheader",
|
|
3038
|
-
style:
|
|
3085
|
+
style: j(e.style)
|
|
3039
3086
|
}, [
|
|
3040
|
-
|
|
3087
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
3041
3088
|
], 4);
|
|
3042
3089
|
}
|
|
3043
|
-
const
|
|
3090
|
+
const zs = /* @__PURE__ */ b(js, [["render", Ds], ["__scopeId", "data-v-31386f32"]]), Rs = g({
|
|
3044
3091
|
name: "wra-table",
|
|
3045
3092
|
props: {
|
|
3046
3093
|
/**
|
|
@@ -3051,89 +3098,94 @@ const Es = /* @__PURE__ */ g(Ns, [["render", As], ["__scopeId", "data-v-8d2c773f
|
|
|
3051
3098
|
default: !1
|
|
3052
3099
|
},
|
|
3053
3100
|
caption: {
|
|
3054
|
-
type: String
|
|
3101
|
+
type: String,
|
|
3102
|
+
default: void 0
|
|
3055
3103
|
},
|
|
3056
3104
|
/**
|
|
3057
3105
|
* The array of header definitions for the table columns.
|
|
3058
3106
|
*/
|
|
3059
3107
|
headers: {
|
|
3060
|
-
type: Array
|
|
3108
|
+
type: Array,
|
|
3109
|
+
required: !0
|
|
3061
3110
|
},
|
|
3062
3111
|
/**
|
|
3063
3112
|
* The array of data objects to display in the table. Each object represents a row.
|
|
3064
3113
|
*/
|
|
3065
3114
|
items: {
|
|
3066
|
-
type: Array
|
|
3115
|
+
type: Array,
|
|
3116
|
+
required: !0
|
|
3067
3117
|
}
|
|
3068
3118
|
}
|
|
3069
|
-
};
|
|
3070
|
-
function
|
|
3071
|
-
return
|
|
3072
|
-
u("table",
|
|
3119
|
+
});
|
|
3120
|
+
function _s(e, t, a, s, o, l) {
|
|
3121
|
+
return i(), n($, null, [
|
|
3122
|
+
u("table", J({
|
|
3073
3123
|
id: "regular",
|
|
3074
3124
|
class: ["wra-table", {
|
|
3075
3125
|
"wra-table-inherit": e.inheritBackground,
|
|
3076
3126
|
"wra-table-no-padding": e.inheritBackground
|
|
3077
3127
|
}]
|
|
3078
|
-
},
|
|
3079
|
-
e.caption ? (
|
|
3128
|
+
}, e.$attrs), [
|
|
3129
|
+
e.caption ? (i(), n("caption", {
|
|
3080
3130
|
key: 0,
|
|
3081
|
-
class:
|
|
3131
|
+
class: f(["wra-table-caption", { "caption-no-padding": e.inheritBackground }])
|
|
3082
3132
|
}, [
|
|
3083
|
-
|
|
3084
|
-
|
|
3133
|
+
m(e.$slots, "caption", {}, () => [
|
|
3134
|
+
B(p(e.caption), 1)
|
|
3085
3135
|
])
|
|
3086
|
-
], 2)) :
|
|
3136
|
+
], 2)) : h("", !0),
|
|
3087
3137
|
u("thead", null, [
|
|
3088
3138
|
u("tr", null, [
|
|
3089
|
-
(
|
|
3090
|
-
key:
|
|
3091
|
-
style:
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3139
|
+
(i(!0), n($, null, V(e.headers, (r) => (i(), n("th", {
|
|
3140
|
+
key: r.key,
|
|
3141
|
+
style: j(
|
|
3142
|
+
{
|
|
3143
|
+
textAlign: r.align || "left",
|
|
3144
|
+
width: r.width + "px"
|
|
3145
|
+
}
|
|
3146
|
+
)
|
|
3147
|
+
}, p(r.title), 5))), 128))
|
|
3096
3148
|
])
|
|
3097
3149
|
]),
|
|
3098
3150
|
u("tbody", null, [
|
|
3099
|
-
(
|
|
3100
|
-
key:
|
|
3101
|
-
class:
|
|
3151
|
+
(i(!0), n($, null, V(e.items, (r) => (i(), n("tr", {
|
|
3152
|
+
key: r.id,
|
|
3153
|
+
class: f({ bold: r.bold })
|
|
3102
3154
|
}, [
|
|
3103
|
-
(
|
|
3155
|
+
(i(!0), n($, null, V(e.headers, (d) => (i(), n("td", {
|
|
3104
3156
|
key: d.key,
|
|
3105
|
-
style:
|
|
3106
|
-
},
|
|
3157
|
+
style: j({ textAlign: d.align || "left" })
|
|
3158
|
+
}, p(r[d.key]), 5))), 128))
|
|
3107
3159
|
], 2))), 128))
|
|
3108
3160
|
])
|
|
3109
3161
|
], 16),
|
|
3110
|
-
u("table",
|
|
3162
|
+
u("table", J({
|
|
3111
3163
|
id: "pivoted",
|
|
3112
3164
|
class: ["wra-table", {
|
|
3113
3165
|
"wra-table-inherit": e.inheritBackground,
|
|
3114
3166
|
"wra-table-no-padding": e.inheritBackground
|
|
3115
3167
|
}]
|
|
3116
|
-
},
|
|
3117
|
-
e.caption ? (
|
|
3168
|
+
}, e.$attrs), [
|
|
3169
|
+
e.caption ? (i(), n("caption", {
|
|
3118
3170
|
key: 0,
|
|
3119
|
-
class:
|
|
3171
|
+
class: f(["wra-table-caption", { "caption-no-padding": e.inheritBackground }])
|
|
3120
3172
|
}, [
|
|
3121
|
-
|
|
3122
|
-
|
|
3173
|
+
m(e.$slots, "caption", {}, () => [
|
|
3174
|
+
B(p(e.caption), 1)
|
|
3123
3175
|
])
|
|
3124
|
-
], 2)) :
|
|
3125
|
-
(
|
|
3126
|
-
key:
|
|
3176
|
+
], 2)) : h("", !0),
|
|
3177
|
+
(i(!0), n($, null, V(e.items, (r) => (i(), n("tbody", {
|
|
3178
|
+
key: r.id
|
|
3127
3179
|
}, [
|
|
3128
|
-
(
|
|
3129
|
-
u("th", null,
|
|
3130
|
-
u("td", null,
|
|
3180
|
+
(i(!0), n($, null, V(e.headers, (d, c) => (i(), n("tr", { key: c }, [
|
|
3181
|
+
u("th", null, p(d.title), 1),
|
|
3182
|
+
u("td", null, p(r[d.key]), 1)
|
|
3131
3183
|
]))), 128))
|
|
3132
3184
|
]))), 128))
|
|
3133
3185
|
], 16)
|
|
3134
3186
|
], 64);
|
|
3135
3187
|
}
|
|
3136
|
-
const
|
|
3188
|
+
const Ks = /* @__PURE__ */ b(Rs, [["render", _s]]), Hs = g({
|
|
3137
3189
|
name: "wra-tab",
|
|
3138
3190
|
props: {
|
|
3139
3191
|
label: {
|
|
@@ -3156,20 +3208,21 @@ const Ds = /* @__PURE__ */ g(qs, [["render", Ls]]), js = {
|
|
|
3156
3208
|
};
|
|
3157
3209
|
},
|
|
3158
3210
|
watch: {
|
|
3159
|
-
focus(
|
|
3160
|
-
t
|
|
3211
|
+
focus(e) {
|
|
3212
|
+
var t;
|
|
3213
|
+
e === !0 && ((t = this.$refs.tabButton) == null || t.focus());
|
|
3161
3214
|
}
|
|
3162
3215
|
}
|
|
3163
|
-
};
|
|
3164
|
-
function
|
|
3165
|
-
return
|
|
3216
|
+
});
|
|
3217
|
+
function Us(e, t, a, s, o, l) {
|
|
3218
|
+
return i(), n("button", {
|
|
3166
3219
|
ref: "tabButton",
|
|
3167
|
-
class:
|
|
3168
|
-
},
|
|
3220
|
+
class: f(["tab-button", e.active === !0 && "tab-button--active"])
|
|
3221
|
+
}, p(e.label), 3);
|
|
3169
3222
|
}
|
|
3170
|
-
const
|
|
3223
|
+
const Gs = /* @__PURE__ */ b(Hs, [["render", Us], ["__scopeId", "data-v-d68660c7"]]), Ys = g({
|
|
3171
3224
|
name: "wra-tabs",
|
|
3172
|
-
emits: "update:modelValue",
|
|
3225
|
+
emits: ["update:modelValue"],
|
|
3173
3226
|
props: {
|
|
3174
3227
|
/** The currently selected tab, starts from 0 */
|
|
3175
3228
|
modelValue: {
|
|
@@ -3183,7 +3236,7 @@ const Rs = /* @__PURE__ */ g(js, [["render", zs], ["__scopeId", "data-v-90cdb825
|
|
|
3183
3236
|
}
|
|
3184
3237
|
},
|
|
3185
3238
|
components: {
|
|
3186
|
-
Tab:
|
|
3239
|
+
Tab: Gs
|
|
3187
3240
|
},
|
|
3188
3241
|
data() {
|
|
3189
3242
|
return {
|
|
@@ -3192,8 +3245,8 @@ const Rs = /* @__PURE__ */ g(js, [["render", zs], ["__scopeId", "data-v-90cdb825
|
|
|
3192
3245
|
};
|
|
3193
3246
|
},
|
|
3194
3247
|
methods: {
|
|
3195
|
-
onTabClick(
|
|
3196
|
-
this.activeTab =
|
|
3248
|
+
onTabClick(e) {
|
|
3249
|
+
this.activeTab = e, this.focusTab = e, this.$emit("update:modelValue", this.activeTab);
|
|
3197
3250
|
},
|
|
3198
3251
|
onKeyLeft() {
|
|
3199
3252
|
this.focusTab > 0 && this.focusTab--;
|
|
@@ -3205,27 +3258,27 @@ const Rs = /* @__PURE__ */ g(js, [["render", zs], ["__scopeId", "data-v-90cdb825
|
|
|
3205
3258
|
created() {
|
|
3206
3259
|
this.activeTab = this.modelValue;
|
|
3207
3260
|
}
|
|
3208
|
-
},
|
|
3209
|
-
function
|
|
3210
|
-
const
|
|
3211
|
-
return
|
|
3212
|
-
(
|
|
3213
|
-
tabindex:
|
|
3261
|
+
}), Js = { class: "tabs" };
|
|
3262
|
+
function Zs(e, t, a, s, o, l) {
|
|
3263
|
+
const r = E("tab");
|
|
3264
|
+
return i(), n("div", Js, [
|
|
3265
|
+
(i(!0), n($, null, V(e.options, (d, c) => (i(), z(r, {
|
|
3266
|
+
tabindex: c === 0 ? 0 : -1,
|
|
3214
3267
|
label: d,
|
|
3215
|
-
active:
|
|
3216
|
-
focus:
|
|
3217
|
-
onClick: (
|
|
3218
|
-
onFocus: (
|
|
3268
|
+
active: c === e.activeTab,
|
|
3269
|
+
focus: c === e.focusTab,
|
|
3270
|
+
onClick: (k) => e.onTabClick(c),
|
|
3271
|
+
onFocus: (k) => e.focusTab = c,
|
|
3219
3272
|
onKeydown: [
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3273
|
+
S((k) => e.onTabClick(c), ["enter"]),
|
|
3274
|
+
S((k) => e.onTabClick(c), ["space"]),
|
|
3275
|
+
S(e.onKeyLeft, ["left"]),
|
|
3276
|
+
S(e.onKeyRight, ["right"])
|
|
3224
3277
|
]
|
|
3225
3278
|
}, null, 8, ["tabindex", "label", "active", "focus", "onClick", "onFocus", "onKeydown"]))), 256))
|
|
3226
3279
|
]);
|
|
3227
3280
|
}
|
|
3228
|
-
const
|
|
3281
|
+
const Qs = /* @__PURE__ */ b(Ys, [["render", Zs], ["__scopeId", "data-v-eef46a08"]]), Xs = g({
|
|
3229
3282
|
name: "wra-text-area",
|
|
3230
3283
|
props: {
|
|
3231
3284
|
/**
|
|
@@ -3273,13 +3326,12 @@ const Gs = /* @__PURE__ */ g(Ks, [["render", Us], ["__scopeId", "data-v-a505540c
|
|
|
3273
3326
|
};
|
|
3274
3327
|
},
|
|
3275
3328
|
methods: {
|
|
3276
|
-
validate(
|
|
3277
|
-
if (this.$emit("update:modelValue",
|
|
3278
|
-
for (let
|
|
3279
|
-
const
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
this.errorMessage = r, this.$emit("valid", { id: this.id, value: !1 });
|
|
3329
|
+
validate(e) {
|
|
3330
|
+
if (this.$emit("update:modelValue", e), this.errorMessage = "", this.rules != null)
|
|
3331
|
+
for (let t = 0; t < this.rules.length; t++) {
|
|
3332
|
+
const a = this.rules[t], s = a(e);
|
|
3333
|
+
if (s != !0) {
|
|
3334
|
+
this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
|
|
3283
3335
|
break;
|
|
3284
3336
|
}
|
|
3285
3337
|
}
|
|
@@ -3292,27 +3344,30 @@ const Gs = /* @__PURE__ */ g(Ks, [["render", Us], ["__scopeId", "data-v-a505540c
|
|
|
3292
3344
|
mounted() {
|
|
3293
3345
|
this.validate(this.modelValue);
|
|
3294
3346
|
}
|
|
3295
|
-
},
|
|
3296
|
-
function
|
|
3297
|
-
return
|
|
3298
|
-
class:
|
|
3347
|
+
}), xs = ["for"], er = ["id", "value", "maxlength"];
|
|
3348
|
+
function tr(e, t, a, s, o, l) {
|
|
3349
|
+
return i(), n("div", {
|
|
3350
|
+
class: f({ error: e.errorMessage })
|
|
3299
3351
|
}, [
|
|
3300
|
-
e.label ? (
|
|
3352
|
+
e.label ? (i(), n("label", {
|
|
3301
3353
|
key: 0,
|
|
3302
|
-
for: e.id
|
|
3303
|
-
},
|
|
3354
|
+
for: String(e.id)
|
|
3355
|
+
}, p(e.label), 9, xs)) : h("", !0),
|
|
3304
3356
|
u("textarea", {
|
|
3305
3357
|
rows: "5",
|
|
3306
|
-
id: e.id,
|
|
3358
|
+
id: String(e.id),
|
|
3307
3359
|
value: e.modelValue,
|
|
3308
|
-
onInput:
|
|
3360
|
+
onInput: t[0] || (t[0] = (r) => {
|
|
3361
|
+
var d;
|
|
3362
|
+
return e.validate(((d = r.target) == null ? void 0 : d.value) || "");
|
|
3363
|
+
}),
|
|
3309
3364
|
maxlength: e.maxLength
|
|
3310
|
-
}, null, 40,
|
|
3311
|
-
u("p", null,
|
|
3365
|
+
}, null, 40, er),
|
|
3366
|
+
u("p", null, p(e.errorMessage), 1)
|
|
3312
3367
|
], 2);
|
|
3313
3368
|
}
|
|
3314
|
-
const
|
|
3315
|
-
directives: { maska:
|
|
3369
|
+
const ar = /* @__PURE__ */ b(Xs, [["render", tr], ["__scopeId", "data-v-c1205688"]]), sr = g({
|
|
3370
|
+
directives: { maska: R },
|
|
3316
3371
|
name: "wra-text-input",
|
|
3317
3372
|
props: {
|
|
3318
3373
|
/**
|
|
@@ -3322,6 +3377,7 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3322
3377
|
* @default ""
|
|
3323
3378
|
*/
|
|
3324
3379
|
modelValue: {
|
|
3380
|
+
type: [String, Number],
|
|
3325
3381
|
required: !0,
|
|
3326
3382
|
default: ""
|
|
3327
3383
|
},
|
|
@@ -3330,7 +3386,8 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3330
3386
|
* @type {string}
|
|
3331
3387
|
*/
|
|
3332
3388
|
label: {
|
|
3333
|
-
type: String
|
|
3389
|
+
type: String,
|
|
3390
|
+
required: !1
|
|
3334
3391
|
},
|
|
3335
3392
|
/**
|
|
3336
3393
|
* The ID for the input field.
|
|
@@ -3352,7 +3409,7 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3352
3409
|
inputmode: {
|
|
3353
3410
|
type: String,
|
|
3354
3411
|
default: "text",
|
|
3355
|
-
validator(
|
|
3412
|
+
validator(e) {
|
|
3356
3413
|
return [
|
|
3357
3414
|
"none",
|
|
3358
3415
|
"text",
|
|
@@ -3362,7 +3419,7 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3362
3419
|
"numeric",
|
|
3363
3420
|
"decimal",
|
|
3364
3421
|
"search"
|
|
3365
|
-
].includes(
|
|
3422
|
+
].includes(e);
|
|
3366
3423
|
}
|
|
3367
3424
|
},
|
|
3368
3425
|
/**
|
|
@@ -3374,9 +3431,9 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3374
3431
|
type: {
|
|
3375
3432
|
type: String,
|
|
3376
3433
|
default: "text",
|
|
3377
|
-
validator(
|
|
3434
|
+
validator(e) {
|
|
3378
3435
|
return ["text", "tel", "url", "email", "numeric", "decimal"].includes(
|
|
3379
|
-
|
|
3436
|
+
e
|
|
3380
3437
|
);
|
|
3381
3438
|
}
|
|
3382
3439
|
},
|
|
@@ -3392,21 +3449,24 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3392
3449
|
* @type {string}
|
|
3393
3450
|
*/
|
|
3394
3451
|
dataMaska: {
|
|
3395
|
-
type: String
|
|
3452
|
+
type: String,
|
|
3453
|
+
required: !1
|
|
3396
3454
|
},
|
|
3397
3455
|
/**
|
|
3398
3456
|
* Custom tokens for the mask.
|
|
3399
3457
|
* @type {string}
|
|
3400
3458
|
*/
|
|
3401
3459
|
dataMaskaTokens: {
|
|
3402
|
-
type: String
|
|
3460
|
+
type: String,
|
|
3461
|
+
required: !1
|
|
3403
3462
|
},
|
|
3404
3463
|
/**
|
|
3405
3464
|
* The placeholder text for the input field.
|
|
3406
3465
|
* @type {string}
|
|
3407
3466
|
*/
|
|
3408
3467
|
placeholder: {
|
|
3409
|
-
type: String
|
|
3468
|
+
type: String,
|
|
3469
|
+
required: !1
|
|
3410
3470
|
}
|
|
3411
3471
|
},
|
|
3412
3472
|
data() {
|
|
@@ -3420,13 +3480,12 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3420
3480
|
* Validates the input value based on the provided rules.
|
|
3421
3481
|
* @param {string|number} value - The input value to validate.
|
|
3422
3482
|
*/
|
|
3423
|
-
validate(
|
|
3424
|
-
if (this.$emit("update:modelValue",
|
|
3425
|
-
for (let
|
|
3426
|
-
const
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
this.errorMessage = r, this.$emit("valid", { id: this.id, value: !1 });
|
|
3483
|
+
validate(e) {
|
|
3484
|
+
if (this.$emit("update:modelValue", e), this.errorMessage = "", this.rules != null)
|
|
3485
|
+
for (let t = 0; t < this.rules.length; t++) {
|
|
3486
|
+
const a = this.rules[t], s = a(e);
|
|
3487
|
+
if (s != !0) {
|
|
3488
|
+
this.errorMessage = s, this.$emit("valid", { id: this.id, value: !1 });
|
|
3430
3489
|
break;
|
|
3431
3490
|
}
|
|
3432
3491
|
}
|
|
@@ -3440,107 +3499,110 @@ const Xs = /* @__PURE__ */ g(Ys, [["render", Qs], ["__scopeId", "data-v-34ec88e9
|
|
|
3440
3499
|
this.validate(this.modelValue), this.$emit("update:modelValue", this.modelValue);
|
|
3441
3500
|
},
|
|
3442
3501
|
emits: ["update:modelValue", "valid"]
|
|
3443
|
-
},
|
|
3444
|
-
function
|
|
3445
|
-
const
|
|
3446
|
-
return
|
|
3447
|
-
class:
|
|
3502
|
+
}), rr = ["for"], ir = ["id", "type", "dataMaskaTokens", "value", "inputmode", "placeholder"];
|
|
3503
|
+
function nr(e, t, a, s, o, l) {
|
|
3504
|
+
const r = D("maska");
|
|
3505
|
+
return i(), n("div", {
|
|
3506
|
+
class: f({ error: e.errorMessage })
|
|
3448
3507
|
}, [
|
|
3449
|
-
e.label ? (
|
|
3508
|
+
e.label ? (i(), n("label", {
|
|
3450
3509
|
key: 0,
|
|
3451
3510
|
for: e.id
|
|
3452
|
-
},
|
|
3453
|
-
|
|
3511
|
+
}, p(e.label), 9, rr)) : h("", !0),
|
|
3512
|
+
q(u("input", {
|
|
3454
3513
|
id: e.id,
|
|
3455
3514
|
type: e.type,
|
|
3456
3515
|
dataMaskaTokens: e.dataMaskaTokens,
|
|
3457
3516
|
value: e.modelValue,
|
|
3458
|
-
onInput:
|
|
3459
|
-
|
|
3517
|
+
onInput: t[0] || (t[0] = (d) => {
|
|
3518
|
+
var c;
|
|
3519
|
+
return e.validate(((c = d.target) == null ? void 0 : c.value) ?? "");
|
|
3520
|
+
}),
|
|
3521
|
+
inputmode: e.inputmode,
|
|
3460
3522
|
placeholder: e.placeholder
|
|
3461
|
-
}, null, 40,
|
|
3462
|
-
[
|
|
3523
|
+
}, null, 40, ir), [
|
|
3524
|
+
[r, e.dataMaska]
|
|
3463
3525
|
]),
|
|
3464
|
-
u("p", null,
|
|
3526
|
+
u("p", null, p(e.errorMessage), 1)
|
|
3465
3527
|
], 2);
|
|
3466
3528
|
}
|
|
3467
|
-
const
|
|
3468
|
-
WraAppBar:
|
|
3469
|
-
WraAutocomplete:
|
|
3470
|
-
WraBanner:
|
|
3471
|
-
WraBreadcrumbs:
|
|
3472
|
-
WraButton:
|
|
3473
|
-
WraCard:
|
|
3474
|
-
WraCheckbox:
|
|
3475
|
-
WraCheckboxGroup:
|
|
3476
|
-
WraContentSectionTitle:
|
|
3477
|
-
WraCustomInput:
|
|
3478
|
-
WraDataTable:
|
|
3479
|
-
WraDateInput:
|
|
3480
|
-
WraDialog:
|
|
3481
|
-
WraDivider:
|
|
3482
|
-
WraExpansionPanel:
|
|
3483
|
-
WraFileUpload:
|
|
3484
|
-
WraFooter:
|
|
3485
|
-
WraHeader:
|
|
3486
|
-
WraIcon:
|
|
3487
|
-
WraInset:
|
|
3488
|
-
WraNumberInput:
|
|
3489
|
-
WraPagination:
|
|
3490
|
-
WraPriceInput:
|
|
3491
|
-
WraRadioGroup:
|
|
3492
|
-
WraSelect:
|
|
3493
|
-
WraServiceLogo:
|
|
3494
|
-
WraSimpleTable:
|
|
3495
|
-
WraSkipLink:
|
|
3496
|
-
WraSnackbar:
|
|
3497
|
-
WraSubheader:
|
|
3498
|
-
WraTable:
|
|
3499
|
-
WraTabs:
|
|
3500
|
-
WraTextArea:
|
|
3501
|
-
WraTextInput:
|
|
3502
|
-
WraValidationTooltip:
|
|
3503
|
-
},
|
|
3504
|
-
install(
|
|
3505
|
-
for (const [
|
|
3506
|
-
|
|
3529
|
+
const or = /* @__PURE__ */ b(sr, [["render", nr], ["__scopeId", "data-v-2d4536b4"]]), lr = {
|
|
3530
|
+
WraAppBar: de,
|
|
3531
|
+
WraAutocomplete: ke,
|
|
3532
|
+
WraBanner: we,
|
|
3533
|
+
WraBreadcrumbs: Te,
|
|
3534
|
+
WraButton: Y,
|
|
3535
|
+
WraCard: Ee,
|
|
3536
|
+
WraCheckbox: ee,
|
|
3537
|
+
WraCheckboxGroup: Xe,
|
|
3538
|
+
WraContentSectionTitle: at,
|
|
3539
|
+
WraCustomInput: yt,
|
|
3540
|
+
WraDataTable: Et,
|
|
3541
|
+
WraDateInput: _t,
|
|
3542
|
+
WraDialog: sa,
|
|
3543
|
+
WraDivider: oa,
|
|
3544
|
+
WraExpansionPanel: fa,
|
|
3545
|
+
WraFileUpload: Ia,
|
|
3546
|
+
WraFooter: Pa,
|
|
3547
|
+
WraHeader: se,
|
|
3548
|
+
WraIcon: Na,
|
|
3549
|
+
WraInset: Fa,
|
|
3550
|
+
WraNumberInput: Ka,
|
|
3551
|
+
WraPagination: Ja,
|
|
3552
|
+
WraPriceInput: ss,
|
|
3553
|
+
WraRadioGroup: fs,
|
|
3554
|
+
WraSelect: Ss,
|
|
3555
|
+
WraServiceLogo: Ps,
|
|
3556
|
+
WraSimpleTable: Os,
|
|
3557
|
+
WraSkipLink: qs,
|
|
3558
|
+
WraSnackbar: Ls,
|
|
3559
|
+
WraSubheader: zs,
|
|
3560
|
+
WraTable: Ks,
|
|
3561
|
+
WraTabs: Qs,
|
|
3562
|
+
WraTextArea: ar,
|
|
3563
|
+
WraTextInput: or,
|
|
3564
|
+
WraValidationTooltip: re
|
|
3565
|
+
}, dr = {
|
|
3566
|
+
install(e) {
|
|
3567
|
+
for (const [t, a] of Object.entries(lr))
|
|
3568
|
+
e.component(t, a);
|
|
3507
3569
|
}
|
|
3508
3570
|
};
|
|
3509
3571
|
export {
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3572
|
+
de as WraAppBar,
|
|
3573
|
+
ke as WraAutocomplete,
|
|
3574
|
+
we as WraBanner,
|
|
3575
|
+
Te as WraBreadcrumbs,
|
|
3576
|
+
Y as WraButton,
|
|
3577
|
+
Ee as WraCard,
|
|
3578
|
+
ee as WraCheckbox,
|
|
3579
|
+
Xe as WraCheckboxGroup,
|
|
3580
|
+
at as WraContentSectionTitle,
|
|
3581
|
+
yt as WraCustomInput,
|
|
3582
|
+
Et as WraDataTable,
|
|
3583
|
+
_t as WraDateInput,
|
|
3584
|
+
sa as WraDialog,
|
|
3585
|
+
oa as WraDivider,
|
|
3586
|
+
fa as WraExpansionPanel,
|
|
3587
|
+
Ia as WraFileUpload,
|
|
3588
|
+
Pa as WraFooter,
|
|
3589
|
+
se as WraHeader,
|
|
3590
|
+
Na as WraIcon,
|
|
3591
|
+
Fa as WraInset,
|
|
3592
|
+
Ka as WraNumberInput,
|
|
3593
|
+
Ja as WraPagination,
|
|
3594
|
+
ss as WraPriceInput,
|
|
3595
|
+
fs as WraRadioGroup,
|
|
3596
|
+
Ss as WraSelect,
|
|
3597
|
+
Ps as WraServiceLogo,
|
|
3598
|
+
Os as WraSimpleTable,
|
|
3599
|
+
qs as WraSkipLink,
|
|
3600
|
+
Ls as WraSnackbar,
|
|
3601
|
+
zs as WraSubheader,
|
|
3602
|
+
Ks as WraTable,
|
|
3603
|
+
Qs as WraTabs,
|
|
3604
|
+
ar as WraTextArea,
|
|
3605
|
+
or as WraTextInput,
|
|
3606
|
+
re as WraValidationTooltip,
|
|
3607
|
+
dr as default
|
|
3546
3608
|
};
|