@kinetis/vector-ui 0.11.2 → 0.11.3
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/CHANGELOG.md +13 -0
- package/dist/static/200.html +1 -1
- package/dist/static/404.html +1 -1
- package/dist/static/_nuxt/{BMH6XD5t.js → 1aNtrH5X.js} +1 -1
- package/dist/static/_nuxt/{DeE2hFUW.js → 2c1vZ90H.js} +1 -1
- package/dist/static/_nuxt/{CRmKHw86.js → 2oUN-NEf.js} +1 -1
- package/dist/static/_nuxt/{DS06smGS.js → 42EY5Fp0.js} +1 -1
- package/dist/static/_nuxt/51OWHj8c.js +2 -0
- package/dist/static/_nuxt/{NhIo1iEQ.js → 5WvxG0mj.js} +1 -1
- package/dist/static/_nuxt/{CHjg6j9X.js → 9MD1hlLT.js} +1 -1
- package/dist/static/_nuxt/{DTV9sLEj.js → 9mpX2szp.js} +1 -1
- package/dist/static/_nuxt/{C9s0nkkI.js → B0GD7QJy.js} +1 -1
- package/dist/static/_nuxt/{D_abDeln.js → B1-Pqo_7.js} +1 -1
- package/dist/static/_nuxt/{CPlriU47.js → B1NXg37X.js} +1 -1
- package/dist/static/_nuxt/{B6kFBEhx.js → B4joN-Do.js} +1 -1
- package/dist/static/_nuxt/{DMEspESN.js → B9psIVnP.js} +1 -1
- package/dist/static/_nuxt/{BiSoCgYL.js → BBBFJ6ov.js} +1 -1
- package/dist/static/_nuxt/{DA90LVQc.js → BFZ46Edz.js} +1 -1
- package/dist/static/_nuxt/{DlvvDtkE.js → BFcl4Vn9.js} +1 -1
- package/dist/static/_nuxt/{DIQMtM1r.js → BH3E4sUK.js} +1 -1
- package/dist/static/_nuxt/BHPSB5VN.js +1 -0
- package/dist/static/_nuxt/{BsuNB234.js → BHcm7bNA.js} +1 -1
- package/dist/static/_nuxt/{DnB5yhNN.js → BIv9Nyve.js} +1 -1
- package/dist/static/_nuxt/BKpxsGPP.js +1 -0
- package/dist/static/_nuxt/{tVajdWsj.js → BKxQp7go.js} +3 -3
- package/dist/static/_nuxt/{DrTddWZC.js → BOc3bd5G.js} +1 -1
- package/dist/static/_nuxt/{BvQdC4Rk.js → BQKTPMnh.js} +1 -1
- package/dist/static/_nuxt/{BExVV8sb.js → BQnpCLjt.js} +1 -1
- package/dist/static/_nuxt/{CNktovgL.js → BSfpIrlx.js} +1 -1
- package/dist/static/_nuxt/{D-oBCPmo.js → BTI9wOw3.js} +1 -1
- package/dist/static/_nuxt/BVRr96yG.js +1 -0
- package/dist/static/_nuxt/{O2KY3yNo.js → BVjSh6vC.js} +1 -1
- package/dist/static/_nuxt/{XNHkNf2i.js → BWrwqNAK.js} +1 -1
- package/dist/static/_nuxt/BZweJiQx.js +1 -0
- package/dist/static/_nuxt/{CLwRxnOz.js → B_DG2saj.js} +1 -1
- package/dist/static/_nuxt/{CrvzmL4h.js → B_RjakRk.js} +1 -1
- package/dist/static/_nuxt/{DmydL5Ff.js → B_fQu_h2.js} +1 -1
- package/dist/static/_nuxt/{BMxCKVli.js → BfsupGyC.js} +1 -1
- package/dist/static/_nuxt/{DhZZH7ze.js → BgRi2kFj.js} +1 -1
- package/dist/static/_nuxt/{pevRwwGL.js → BiIirvgR.js} +2 -2
- package/dist/static/_nuxt/{idqqeYTH.js → BkHt6U4C.js} +1 -1
- package/dist/static/_nuxt/{DwS6ZbkU.js → Bm_wsdTH.js} +1 -1
- package/dist/static/_nuxt/{Bp5tF5r6.js → BnlaqUIK.js} +1 -1
- package/dist/static/_nuxt/BpaVnQT3.js +1 -0
- package/dist/static/_nuxt/{BRJdRL8w.js → Bs6-HCEW.js} +1 -1
- package/dist/static/_nuxt/{C0ki9wQv.js → BtRqSK7K.js} +1 -1
- package/dist/static/_nuxt/{BESQ-0Gs.js → Bt_KgVrY.js} +1 -1
- package/dist/static/_nuxt/BwHwQnM0.js +1 -0
- package/dist/static/_nuxt/{DAFT7J9G.js → BzKz2oL1.js} +1 -1
- package/dist/static/_nuxt/{BFtPCOZD.js → C-MpSlvO.js} +1 -1
- package/dist/static/_nuxt/{C5YhaRPN.js → C32HLL_3.js} +1 -1
- package/dist/static/_nuxt/C3XkRFds.js +1 -0
- package/dist/static/_nuxt/{Bokf_2lV.js → C4rsQhBq.js} +1 -1
- package/dist/static/_nuxt/{B3xq4tG7.js → C5Ez1FXH.js} +1 -1
- package/dist/static/_nuxt/C6FXj6mJ.js +1 -0
- package/dist/static/_nuxt/{C1_SI7KJ.js → CADHRY6v.js} +1 -1
- package/dist/static/_nuxt/{DjH3KClu.js → CCr9dqOM.js} +1 -1
- package/dist/static/_nuxt/CEMM7MyS.js +100 -0
- package/dist/static/_nuxt/{Byau8pUT.js → CHpNSaGi.js} +1 -1
- package/dist/static/_nuxt/CHyInEhw.js +1 -0
- package/dist/static/_nuxt/CIQLz04l.js +1 -0
- package/dist/static/_nuxt/{CTjx55ns.js → CJCvPySI.js} +1 -1
- package/dist/static/_nuxt/{Cqn_GvXb.js → COHV16dX.js} +1 -1
- package/dist/static/_nuxt/{D1QDGpmd.js → CPAF2hi7.js} +2 -2
- package/dist/static/_nuxt/{CmQ01dNA.js → CQQ-wIWC.js} +1 -1
- package/dist/static/_nuxt/CQnAjs6t.js +1 -0
- package/dist/static/_nuxt/{BqCs26gd.js → CRQyQuGt.js} +1 -1
- package/dist/static/_nuxt/{BQJFH4zD.js → CSzw4ySZ.js} +1 -1
- package/dist/static/_nuxt/{cUv4pc51.js → CTHeqfU5.js} +1 -1
- package/dist/static/_nuxt/{DpgU2PHs.js → CXIZ5vIr.js} +1 -1
- package/dist/static/_nuxt/{CxIMB56s.js → CXxZ_oTv.js} +1 -1
- package/dist/static/_nuxt/{R-E-AGli.js → C_2GgX80.js} +1 -1
- package/dist/static/_nuxt/{jFfaJB_N.js → C_Ouo24Z.js} +1 -1
- package/dist/static/_nuxt/{Cy0OG4l8.js → C_zyLiGr.js} +1 -1
- package/dist/static/_nuxt/{PZu-Wsjm.js → Cc0_Jvm0.js} +1 -1
- package/dist/static/_nuxt/{DmDYfbOW.js → CdjG3WTk.js} +1 -1
- package/dist/static/_nuxt/{DNU7W_nS.js → ChHm6L68.js} +1 -1
- package/dist/static/_nuxt/{B9haHkUY.js → Ci1-hOA9.js} +1 -1
- package/dist/static/_nuxt/{DDiJSP0v.js → CmQyigb3.js} +1 -1
- package/dist/static/_nuxt/{XUnzKVDP.js → CsTzOWPJ.js} +1 -1
- package/dist/static/_nuxt/{DwZHvFrZ.js → CtrzPVjw.js} +1 -1
- package/dist/static/_nuxt/{DjFitDi7.js → Cuw0Qa9p.js} +1 -1
- package/dist/static/_nuxt/{CrKjUxoH.js → CxFDmUjN.js} +4 -4
- package/dist/static/_nuxt/{DCXlqH9t.js → Cya8cjkR.js} +2 -2
- package/dist/static/_nuxt/{Cnk6TpKh.js → D-rB2fWZ.js} +1 -1
- package/dist/static/_nuxt/{BQj8iTaT.js → D7DEE4gN.js} +1 -1
- package/dist/static/_nuxt/D8kTmNUH.js +1 -0
- package/dist/static/_nuxt/{CYenBSuZ.js → D9BNw4XE.js} +1 -1
- package/dist/static/_nuxt/{Cn3Lx2PZ.js → DBgKGXIj.js} +1 -1
- package/dist/static/_nuxt/{BzyqpjTr.js → DFQG9ZD0.js} +1 -1
- package/dist/static/_nuxt/{B8kpdvvf.js → DFsV0Sjv.js} +1 -1
- package/dist/static/_nuxt/{DPkCdlhJ.js → DGOB4cMy.js} +1 -1
- package/dist/static/_nuxt/DI2U4Yky.js +1 -0
- package/dist/static/_nuxt/{B8eHDL1x.js → DLzA6Iec.js} +1 -1
- package/dist/static/_nuxt/{DunIFW85.js → DQ1z3A04.js} +1 -1
- package/dist/static/_nuxt/{CqS2QE9K.js → DR4qylKa.js} +1 -1
- package/dist/static/_nuxt/DS8Zc0uz.js +1 -0
- package/dist/static/_nuxt/{CNtSjZb9.js → DVIiT5EL.js} +1 -1
- package/dist/static/_nuxt/{X769DZgg.js → DVRz0uUW.js} +1 -1
- package/dist/static/_nuxt/DZo3dYLJ.js +3 -0
- package/dist/static/_nuxt/DZwwQ4WY.js +1 -0
- package/dist/static/_nuxt/DcteQ4TC.js +1 -0
- package/dist/static/_nuxt/DdqPXmq8.js +1 -0
- package/dist/static/_nuxt/{XP_NhcAc.js → Dg_tXu9P.js} +1 -1
- package/dist/static/_nuxt/{FiVpZbG7.js → DhECW-Pr.js} +1 -1
- package/dist/static/_nuxt/{lU2WvORK.js → DjL4J8kw.js} +2 -2
- package/dist/static/_nuxt/{CLuA010K.js → DkQpAs16.js} +1 -1
- package/dist/static/_nuxt/DmrPXKlp.js +1 -0
- package/dist/static/_nuxt/{BZGd3Us3.js → Dnv1kjao.js} +1 -1
- package/dist/static/_nuxt/{BG8sqKld.js → Dorn4eG1.js} +1 -1
- package/dist/static/_nuxt/{B4CNYLGX.js → DvnG2kZK.js} +1 -1
- package/dist/static/_nuxt/{Cdn0sqgm.js → DzOxWOFX.js} +1 -1
- package/dist/static/_nuxt/{BcKdSO1s.js → E-mWtnN5.js} +1 -1
- package/dist/static/_nuxt/{Dcf0mLpX.js → F676SWHd.js} +1 -1
- package/dist/static/_nuxt/{CS2rsiMP.js → Ge5l3uM8.js} +1 -1
- package/dist/static/_nuxt/{jDoGFcUw.js → JjWUotQr.js} +1 -1
- package/dist/static/_nuxt/{DLiDtIjt.js → K6puNuXp.js} +2 -2
- package/dist/static/_nuxt/{B_BN_HbD.js → Lj7y5-JX.js} +1 -1
- package/dist/static/_nuxt/{C3gWfuE3.js → MAzsrRZz.js} +1 -1
- package/dist/static/_nuxt/{BW9HID9H.js → MEvklnEE.js} +1 -1
- package/dist/static/_nuxt/{CBuI8G-0.js → OMRlJR6k.js} +1 -1
- package/dist/static/_nuxt/ORpfF6Nb.js +1 -0
- package/dist/static/_nuxt/{v3MehyQK.js → R0rf_l_C.js} +1 -1
- package/dist/static/_nuxt/{DaV1Nwi1.js → RChVezE9.js} +1 -1
- package/dist/static/_nuxt/{rPED9XOq.js → UfoGua8K.js} +1 -1
- package/dist/static/_nuxt/{D8BLAufX.js → bmIlMXFn.js} +1 -1
- package/dist/static/_nuxt/builds/latest.json +1 -1
- package/dist/static/_nuxt/builds/meta/ba4cc360-829e-4272-bb1c-7391e700bb32.json +1 -0
- package/dist/static/_nuxt/{3JezEUxl.js → cDe9iywT.js} +1 -1
- package/dist/static/_nuxt/error-404.B1_4-op0.css +1 -0
- package/dist/static/_nuxt/error-500.ueligmdw.css +1 -0
- package/dist/static/_nuxt/{GcJARbV4.js → go_nGSOr.js} +1 -1
- package/dist/static/_nuxt/{CMALc53B.js → iEEDTq6e.js} +1 -1
- package/dist/static/_nuxt/{B30gqjcn.js → mtQhqX_4.js} +1 -1
- package/dist/static/_nuxt/{CElnT3Ea.js → qpVO-NAo.js} +1 -1
- package/dist/static/_nuxt/{CGkUvIUb.js → rSRjHK_a.js} +1 -1
- package/dist/static/_nuxt/{BD3vrpfE.js → rSy2G_Qb.js} +1 -1
- package/dist/static/_nuxt/{DcCk6iJg.js → xkua0wtW.js} +1 -1
- package/dist/static/index.html +1 -1
- package/dist/static/jobs/index.html +1 -1
- package/dist/static/login/index.html +1 -1
- package/dist/static/settings/index.html +1 -1
- package/dist/static/vector-bundle.json +143 -143
- package/package.json +4 -4
- package/dist/static/_nuxt/5zee4flr.js +0 -1
- package/dist/static/_nuxt/BC1JF9Zk.js +0 -1
- package/dist/static/_nuxt/BDjB0t0q.js +0 -1
- package/dist/static/_nuxt/BMa85Lo_.js +0 -1
- package/dist/static/_nuxt/BUXLfoCg.js +0 -1
- package/dist/static/_nuxt/BUnmJXi2.js +0 -1
- package/dist/static/_nuxt/BUxh8xLU.js +0 -1
- package/dist/static/_nuxt/BscDSMUQ.js +0 -1
- package/dist/static/_nuxt/Bz10rfP9.js +0 -1
- package/dist/static/_nuxt/C4SdFsgS.js +0 -1
- package/dist/static/_nuxt/C8910TI5.js +0 -1
- package/dist/static/_nuxt/CRC87riD.js +0 -1
- package/dist/static/_nuxt/CdkTzVlv.js +0 -1
- package/dist/static/_nuxt/Cx1ACnK3.js +0 -2
- package/dist/static/_nuxt/DUh5YbE0.js +0 -1
- package/dist/static/_nuxt/DVRkMeDb.js +0 -3
- package/dist/static/_nuxt/DaaIbCq6.js +0 -1
- package/dist/static/_nuxt/DpMtZe_u.js +0 -1
- package/dist/static/_nuxt/Neo3srpw.js +0 -1
- package/dist/static/_nuxt/builds/meta/39204f67-0d39-471b-8b04-27ba53111b8c.json +0 -1
- package/dist/static/_nuxt/error-404.BWA13HPT.css +0 -1
- package/dist/static/_nuxt/error-500.DWMOKWSC.css +0 -1
- package/dist/static/_nuxt/heMUOJ3z.js +0 -1
- package/dist/static/_nuxt/joVv9dY7.js +0 -1
- package/dist/static/_nuxt/uFRd1kpu.js +0 -100
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as e,c as t,s as n,v as r,x as i,y as a}from"./
|
|
2
|
-
`&&e[1]!==`\r`||!V(e)}function U(e){return!!e&&!H(e)&&V(e)}function W(e){if(!e||H(e))return null;let t=B(e.replace(/[\u0000-\u001F\u007F\s]+/g,``));for(;t?.protocol===`view-source:`;)t=B(t.pathname);return t?S(t.protocol)?t.protocol:null:``}function Ee(e){return W(e)===null?e:null}var De=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function G(e){return De.test(e)}var Oe=Symbol(`layout-meta`),ke=Symbol(`layout`),K=Symbol(`route`),q=i({docsBase:a,reporters:e}),J=(()=>n()?.$router);function Ae(e){let t=e;return t.parent??t.subs?.sub}function je(e){let t=e.scope,n=l();for(;n;){if(n===t)return!0;n=Ae(n)}return!1}var Me=(()=>{if(o()){let e=c();if(!e||je(e))return s(K,n()._route)}return n()._route});function Ne(e){return e}var Pe=()=>{try{if(n()._processingMiddleware)return!0}catch{return!1}return!1}
|
|
1
|
+
import{b as e,c as t,s as n,v as r,x as i,y as a}from"./BBBFJ6ov.js";import{H as o,J as s,L as c,an as l,wn as u}from"./DZo3dYLJ.js";import"./BW3xJdEx.js";String.fromCharCode;var d=/#/g,ee=/&/g,f=/\//g,te=/=/g,p=/\+/g,ne=/%5e/gi,re=/%60/gi,ie=/%7c/gi,ae=/%20/gi,oe=/%2f/gi;function m(e){return encodeURI(``+e).replace(ie,`|`)}function h(e){return m(typeof e==`string`?e:JSON.stringify(e)).replace(p,`%2B`).replace(ae,`+`).replace(d,`%23`).replace(ee,`%26`).replace(re,"`").replace(ne,`^`).replace(f,`%2F`)}function g(e){return h(e).replace(te,`%3D`)}function _(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function se(e){return _(e.replace(oe,`%252F`))}function v(e){return _(e.replace(p,` `))}function ce(e){return _(e.replace(p,` `))}function y(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=v(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=ce(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function le(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${g(e)}=${h(t)}`).join(`&`):`${g(e)}=${h(t)}`:g(e)}function ue(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>le(t,e[t])).filter(Boolean).join(`&`)}var de=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fe=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pe=/^([/\\]\s*){2,}[^/\\]/,b=/^[\s\0]*(blob|data|javascript|vbscript):$/i,me=/\/$|\/\?|\/#/,he=/^\.?\//;function x(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?de.test(e):fe.test(e)||(t.acceptRelative?pe.test(e):!1)}function S(e){return!!e&&b.test(e)}function C(e=``,t){return t?me.test(e):e.endsWith(`/`)}function w(e=``,t){if(!t)return(C(e)?e.slice(0,-1):e)||`/`;if(!C(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function T(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(C(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function ge(e,t){if(D(t)||x(e))return e;let n=w(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return O(n,e)}function _e(e,t){if(D(t))return e;let n=w(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function E(e,t){let n=j(e);return n.search=ue({...y(n.search),...t}),N(n)}function D(e){return!e||e===`/`}function ve(e){return e&&e!==`/`}function O(e,...t){let n=e||``;for(let e of t.filter(e=>ve(e)))if(n){let t=e.replace(he,``);n=T(n)+t}else n=e;return n}function ye(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(e&&e!==`/`){for(let[n,a]of e.split(t).entries())if(a&&a!==`.`){if(a===`..`){if(r.length===1&&x(r[0]))continue;r.pop(),i--}else n===1&&r[r.length-1]?.endsWith(`:/`)?r[r.length-1]+=`/`+a:(r.push(a),i++)}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function k(e,t){return _(w(e))===_(w(t))}var A=Symbol.for(`ufo:protocolRelative`);function j(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!x(e,{acceptRelative:!0}))return t?j(t+e):M(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=M(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[A]:!r}}function M(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function N(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[A]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function P(e,t){try{return t in e}catch{return!1}}var F=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:L(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=I(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function be(e){if(typeof e==`string`)return new F(e);if(xe(e))return e;let t=new F(e.message??e.statusMessage??``,{cause:e.cause||e});if(P(e,`stack`))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=L(e.statusCode,t.statusCode):e.status&&(t.statusCode=L(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;I(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function xe(e){return e?.constructor?.__h3_error__===!0}var Se=/[^\u0009\u0020-\u007E]/g;function I(e=``){return e.replace(Se,``)}function L(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var Ce=`__nuxt_error`,R=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,z=e=>{if(R(e))return e;typeof e!=`string`&&e?.statusText&&(e.message??=e.statusText);let t=be(e??{});return Object.defineProperty(t,Ce,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t},we=`https://a.invalid/probe/`,Te=`https://b.invalid/probe/`;function B(e,t=we){try{return new URL(e,t)}catch{return null}}function V(e){let t=B(e);return!!t&&t.href===B(e,Te)?.href}function H(e){return e[0]!==`/`||e[1]===`/`||e[1]===`\\`?!1:e[1]!==` `&&e[1]!==`
|
|
2
|
+
`&&e[1]!==`\r`||!V(e)}function U(e){return!!e&&!H(e)&&V(e)}function W(e){if(!e||H(e))return null;let t=B(e.replace(/[\u0000-\u001F\u007F\s]+/g,``));for(;t?.protocol===`view-source:`;)t=B(t.pathname);return t?S(t.protocol)?t.protocol:null:``}function Ee(e){return W(e)===null?e:null}var De=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function G(e){return De.test(e)}var Oe=Symbol(`layout-meta`),ke=Symbol(`layout`),K=Symbol(`route`),q=i({docsBase:a,reporters:e}),J=(()=>n()?.$router);function Ae(e){let t=e;return t.parent??t.subs?.sub}function je(e){let t=e.scope,n=l();for(;n;){if(n===t)return!0;n=Ae(n)}return!1}var Me=(()=>{if(o()){let e=c();if(!e||je(e))return s(K,n()._route)}return n()._route});function Ne(e){return e}var Pe=()=>{try{if(n()._processingMiddleware)return!0}catch{return!1}return!1};function Fe(e,r){e||=`/`;let i=typeof e==`string`||`path`in e,a=typeof e==`string`?e:`path`in e?Y(e):J().resolve(e).href;if(r?.open){let e=W(a);if(e!==null)throw q.NUXT_E2002({toPath:a,protocol:e});let n=i&&!U(a)&&!a.startsWith(`#`)?O(t().app.baseURL,a):a,{target:o=`_blank`,windowFeatures:s={}}=r.open,c=[];for(let[e,t]of Object.entries(s))t!==void 0&&c.push(`${e.toLowerCase()}=${t}`);return open(n,o,c.join(`, `)),Promise.resolve()}let o=U(a),s=r?.external||o;if(s){if(!r?.external)throw q.NUXT_E2001({toPath:a});let e=W(a);if(e!==null)throw q.NUXT_E2002({toPath:a,protocol:e})}let c=Pe();if(!s&&c){if(r?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=j(e);return{path:t,...n&&{query:y(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let l=J(),u=n();if(s)return u._cookieWriters?.forEach(e=>e()),window.addEventListener(`pagehide`,e=>{e.persisted||u._scope.stop()},{once:!0}),r?.replace?location.replace(a):location.href=a,c?u.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let d=typeof e==`string`?X(e):e;return r?.replace?l.replace(d):l.push(d)}function Y(e){return E(e.path||``,e.query||{})+(e.hash||``)}function X(e){let t=j(e);return He(se(t.pathname))+t.search+t.hash}var Ie=/%7C/g,Le=/%5B/g,Re=/%5D/g,ze=/%252F/gi,Be=/#/g,Ve=/\?/g;function He(e){return encodeURI(e).replace(Ie,`|`).replace(Le,`[`).replace(Re,`]`).replace(Be,`%23`).replace(Ve,`%3F`).replace(ze,`%2F`)}var Z=()=>u(n().payload,`error`),Q=e=>{let t=z(e);try{let e=Z();n().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},$=(e,t)=>{let n=e.callHook(`app:error`,z(t));return r.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),n},Ue=async(e,t)=>{G(navigator.userAgent)?await $(e,t):await e.runWithContext(()=>Q(t))},We=async(e={})=>{let t=n(),r=Z();t.callHook(`app:error:cleared`,e),e.redirect&&await J().replace(e.redirect),r.value=void 0};export{T as A,k as C,y as D,O as E,w as M,ge as O,x as S,ye as T,G as _,Z as a,z as b,Fe as c,J as d,q as f,U as g,K as h,Q as i,_e as j,E as k,Y as l,ke as m,Ue as n,Ne as o,Oe as p,We as r,X as s,$ as t,Me as u,H as v,S as w,R as x,Ee as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{On as e,b as t,g as n,k as r,mt as i,tr as a}from"./
|
|
1
|
+
import{On as e,b as t,g as n,k as r,mt as i,tr as a}from"./DZo3dYLJ.js";import{s as o}from"./DDEIDAa0.js";import{t as s}from"#entry";import{t as c}from"./BiGgsuAF.js";var l={key:0,class:`text-disabled`},u={key:1,class:`text-no-wrap`},d=Object.assign(r({__name:`Number`,props:{field:{},value:{}},setup(r){let d=r,f=n(()=>{if(typeof d.value!=`number`)return``;let e=c(d.field).decimals;return o(d.value,typeof e==`number`?e:void 0)}),{t:p}=s();return(n,r)=>e(f)===``?(i(),t(`span`,l,a(e(p)(`common.none`)),1)):(i(),t(`span`,u,a(e(f)),1))}}),{__name:`VxCellNumber`});export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,On as t,_ as n,b as r,k as i,mt as a,tr as o}from"./
|
|
1
|
+
import{D as e,On as t,_ as n,b as r,k as i,mt as a,tr as o}from"./DZo3dYLJ.js";import{t as s}from"./Lj7y5-JX.js";import{t as c}from"#entry";var l={key:0,class:`d-inline-flex align-center ga-2`},u={key:1,class:`text-disabled`},d=Object.assign(i({__name:`Color`,props:{value:{}},setup(i){let{t:d}=c();return(c,f)=>typeof i.value==`string`&&i.value?(a(),r(`span`,l,[e(s,{color:i.value,size:`16`},null,8,[`color`]),n(`code`,null,o(i.value),1)])):(a(),r(`span`,u,o(t(d)(`common.none`)),1))}}),{__name:`VxCellColor`});export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,On as t,b as n,g as r,k as i,mt as a,qt as o,tr as s,v as c}from"./
|
|
1
|
+
import{E as e,On as t,b as n,g as r,k as i,mt as a,qt as o,tr as s,v as c}from"./DZo3dYLJ.js";import{t as l}from"./2c1vZ90H.js";import{t as u}from"#entry";var d={key:1,class:`text-disabled`},f=Object.assign(i({__name:`Count`,props:{value:{}},setup(i){let f=i,p=r(()=>f.value&&typeof f.value==`object`&&`count`in f.value?f.value.count:null),{t:m}=u();return(r,i)=>t(p)===null?(a(),n(`span`,d,s(t(m)(`common.none`)),1)):(a(),c(l,{key:0,size:`small`,variant:`tonal`,color:t(p)>0?`primary`:void 0},{default:o(()=>[e(s(t(p)),1)]),_:1},8,[`color`]))}}),{__name:`VxCellCount`});export{f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{D as e,E as t,Kt as n,On as r,g as i,k as a,mt as o,qt as s,tr as c,un as l,v as u,vn as d,y as f}from"./DZo3dYLJ.js";import{w as p}from"./51OWHj8c.js";import{c as m,u as h}from"./BiIirvgR.js";import{n as g,t as _}from"./go_nGSOr.js";import{t as v}from"./CmQyigb3.js";import{t as y}from"./DLzA6Iec.js";import{t as b}from"./ChHm6L68.js";import{t as x}from"./DVRz0uUW.js";import{n as S,t as C}from"./DR4qylKa.js";import{i as w,t as T}from"./CRQyQuGt.js";import{At as E,Ut as D,jt as O,l as k,m as A,o as j,p as M,s as N,t as P,u as F}from"#entry";import{t as I}from"./BE_w8iyq.js";import"./CHyInEhw.js";var L=a({__name:`login`,async setup(a){let L,R,z=y(),B=_(),V=h(),H=v(),{t:U}=P(),W=d(``),G=d(``),K=d(!1),q=d(null),J=i(()=>V.query.reason===`idle`?U(`shell.login.signedOutIdle`,{minutes:z.vector.idleMinutes}):V.query.reason===`impersonation`?U(`shell.login.impersonationEnded`):null),Y={required:e=>e.trim()!==``||U(`common.required`),email:e=>T(e)||U(`shell.login.invalidEmail`)},X=g();D({title:()=>U(`shell.login.pageTitle`,{brand:z.vector.brand.title})}),X.hosted&&X.loginUrl&&window.location.assign(X.loginUrl),B.restore(),B.isAuthenticated&&([L,R]=n(()=>m(z.vector.basePath||`/`,{replace:!0})),await L,R());async function Z(e){let{valid:t}=await e;if(t){K.value=!0,q.value=null;try{await B.login(W.value,G.value);try{await O().load(!0)}catch(e){throw await B.logout(),e}H.success(U(`shell.login.welcome`,{name:B.user?.name??W.value}));let e=typeof V.query.redirect==`string`?V.query.redirect:``,t=I(e)?e:z.vector.basePath||`/`;await m(t,{replace:!0})}catch(e){q.value=E(e)}finally{K.value=!1}}}return(n,i)=>(o(),u(x,{class:`fill-height`,fluid:``},{default:s(()=>[e(C,{justify:`center`,align:`center`},{default:s(()=>[e(S,{cols:`12`,sm:`8`,md:`4`},{default:s(()=>[e(j,{class:`pa-4`},{default:s(()=>[e(k,{class:`text-h5`},{default:s(()=>[t(c(r(z).vector.brand.title),1)]),_:1}),e(F,null,{default:s(()=>[t(c(r(U)(`shell.login.subtitle`)),1)]),_:1}),e(N,null,{default:s(()=>[e(w,{"validate-on":`blur lazy`,onSubmit:p(Z,[`prevent`])},{default:s(()=>[e(b,{modelValue:r(W),"onUpdate:modelValue":i[0]||=e=>l(W)?W.value=e:null,label:r(U)(`shell.login.email`),type:`email`,autocomplete:`username`,rules:[Y.required,Y.email],"prepend-inner-icon":`mdi-email-outline`},null,8,[`modelValue`,`label`,`rules`]),e(b,{modelValue:r(G),"onUpdate:modelValue":i[1]||=e=>l(G)?G.value=e:null,label:r(U)(`shell.login.password`),type:`password`,autocomplete:`current-password`,rules:[Y.required],"prepend-inner-icon":`mdi-lock-outline`},null,8,[`modelValue`,`label`,`rules`]),r(J)&&!r(q)?(o(),u(M,{key:0,type:`info`,variant:`tonal`,class:`mb-4`,text:r(J)},null,8,[`text`])):f(``,!0),r(q)?(o(),u(M,{key:1,type:`error`,variant:`tonal`,class:`mb-4`,text:r(q)},null,8,[`text`])):f(``,!0),e(A,{type:`submit`,color:`primary`,block:``,loading:r(K)},{default:s(()=>[t(c(r(U)(`shell.login.submit`)),1)]),_:1},8,[`loading`])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}});export{L as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"./
|
|
1
|
+
import{n as e,t}from"./go_nGSOr.js";import{n}from"./CmQyigb3.js";import{r}from"./BDLrTt6l.js";import{Nt as i,jt as a,kt as o}from"#entry";function s(){let s=o(),l=t(),u=e(),{load:d}=a(),f=n(`vector.impersonator`,()=>null);async function p(e){if(e.reload){window.location.reload();return}if(!e.accessToken)throw Error(r(`shell.impersonation.noToken`));let t=e.user??e.target??{id:c(e.accessToken)??``,name:l.user?.name??``};{let n={token:l.token,expiresAt:l.expiresAt,user:l.user};l.adopt(e.accessToken,e.expiresIn??3600,{id:t.id,name:t.name}),i().clear();try{await d(!0)}catch(e){throw(e?.status??e?.statusCode)===403?(await s(`/vector/impersonate`,{method:`DELETE`}).catch(()=>void 0),n.token&&n.user&&l.adopt(n.token,Math.max(1,Math.round((n.expiresAt-Date.now())/1e3)),n.user),await d(!0),Error(r(`shell.impersonation.noAccess`,{name:t.name}),{cause:e})):e}}}async function m(e){await p(await s(`/vector/impersonate/${encodeURIComponent(String(e))}`,{method:`POST`}))}async function h(){await p(await s(`/vector/impersonate`,{method:`DELETE`}))}async function g(){let e=await s(`/vector/me`);f.value=e.impersonator===null?null:{id:e.impersonator,name:u.user&&`impersonatorName`in u.user?String(u.user.impersonatorName??``):null}}return{impersonator:f,start:m,stop:h,refresh:g}}function c(e){try{let t=JSON.parse(atob(e.split(`.`)[1]?.replaceAll(`-`,`+`).replaceAll(`_`,`/`)??``));return typeof t.sub==`string`||typeof t.sub==`number`?String(t.sub):null}catch{return null}}export{s as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,E as t,On as n,Zn as r,_ as i,b as a,bt as o,er as s,g as c,k as l,mt as u,o as d,tr as f,y as p}from"./
|
|
1
|
+
import{D as e,E as t,On as n,Zn as r,_ as i,b as a,bt as o,er as s,g as c,k as l,mt as u,o as d,tr as f,y as p}from"./DZo3dYLJ.js";import{t as m}from"./D-rB2fWZ.js";import{t as h}from"#entry";import{t as g}from"./DGCS1_Oy.js";var _={class:`d-flex rounded overflow-hidden mb-3`,style:{height:`12px`}},v=[`title`],y={class:`d-flex align-center ga-2`},b={class:`font-weight-medium`},x={class:`text-medium-emphasis`},S={key:0,class:`text-medium-emphasis text-body-2`},C=Object.assign(l({__name:`Partition`,props:{data:{}},setup(l){let C=l,{t:w}=h(),T=c(()=>C.data.slices??[]),E=c(()=>T.value.reduce((e,t)=>e+t.value,0));return(c,h)=>(u(),a(`div`,null,[i(`div`,_,[(u(!0),a(d,null,o(n(T),e=>(u(),a(`div`,{key:e.label,class:r(`bg-${e.color??`primary`}`),style:s({width:`${n(E)?e.value/n(E)*100:0}%`}),title:e.label},null,14,v))),128))]),(u(!0),a(d,null,o(n(T),r=>(u(),a(`div`,{key:r.label,class:`d-flex justify-space-between text-body-2 py-1`},[i(`span`,y,[e(m,{size:`x-small`,icon:`mdi-circle`,color:r.color??`primary`},null,8,[`color`]),t(f(r.label),1)]),i(`span`,b,[t(f((`formatWidgetValue`in c?c.formatWidgetValue:n(g))(r.value,l.data.format))+` `,1),i(`span`,x,`(`+f(n(w)(`dashboard.percent`,{value:n(E)?Math.round(r.value/n(E)*100):0}))+`)`,1)])]))),128)),n(T).length===0?(u(),a(`div`,S,f(n(w)(`dashboard.partition.empty`)),1)):p(``,!0)]))}}),{__name:`VxWidgetPartition`});export{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,Ft as t,k as n,mt as r,v as i}from"./
|
|
1
|
+
import{$ as e,Ft as t,k as n,mt as r,v as i}from"./DZo3dYLJ.js";import{t as a}from"./ORpfF6Nb.js";var o=Object.assign(n({__name:`Enum`,props:e({field:{},rules:{},errorMessages:{},record:{},resource:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let n=t(e,`modelValue`);return(t,o)=>(r(),i(a,{modelValue:n.value,"onUpdate:modelValue":o[0]||=e=>n.value=e,label:e.field.label,items:e.field.options??[],"item-title":`label`,"item-value":`value`,rules:e.rules,"error-messages":e.errorMessages,clearable:e.field.nullable===!0,hint:e.field.help??void 0,"persistent-hint":!!e.field.help},null,8,[`modelValue`,`label`,`items`,`rules`,`error-messages`,`clearable`,`hint`,`persistent-hint`]))}}),{__name:`VxInputEnum`});export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Kt as e,On as t,b as n,g as r,k as i,mt as a,tr as o,v as s}from"./DZo3dYLJ.js";import{Ut as c,jt as l,t as u}from"#entry";import{t as d}from"./C_Ouo24Z.js";import"./CHyInEhw.js";var f={key:1,class:`text-h4 mb-4`},p=i({__name:`index`,async setup(i){let p,m,{t:h}=u(),{load:g,schema:_}=l();[p,m]=e(()=>g()),await p,m();let v=r(()=>_.value?.dashboards.find(e=>e.name===`main`)??_.value?.dashboards[0]??null);return c({title:()=>h(`shell.home.title`)}),(e,r)=>{let i=d;return a(),n(`div`,null,[t(v)?(a(),s(i,{key:0,name:t(v).name},null,8,[`name`])):(a(),n(`h1`,f,o(t(h)(`shell.home.title`)),1))])}}});export{p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{It as e,M as t,N as n,Pt as r,S as i,St as a,c as o,i as s,p as c,r as l,s as u,t as d,u as f,x as p}from"./
|
|
1
|
+
import{It as e,M as t,N as n,Pt as r,S as i,St as a,c as o,i as s,p as c,r as l,s as u,t as d,u as f,x as p}from"./CPAF2hi7.js";import{D as m,En as h,Ht as g,Zn as _,_ as v,er as y,g as b,o as x,pn as S,wn as C,xn as w}from"./DZo3dYLJ.js";import{t as T}from"./51OWHj8c.js";import{n as ee,t as E}from"./BQnpCLjt.js";import{c as te,n as ne,o as re,s as D,t as O}from"./CTHeqfU5.js";import{n as ie}from"./rSy2G_Qb.js";import{a as k,i as A,n as ae,o as oe,t as j}from"./MAzsrRZz.js";var M=i({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4},variant:{type:String,default:void 0,validator:e=>[`split`].includes(e)}},`chunks`);function N(e,r,i,a,o){let s=C(()=>e.variant===`split`),c=C(()=>s.value?2:Number(e.chunkCount)||0),l=C(()=>!s.value&&(!!c.value||!!e.chunkWidth)),u=b(()=>{let t=h(r);return t?c.value?(t-Number(e.chunkGap)*(c.value-1))/c.value:Number(e.chunkWidth):0}),d=C(()=>Number(e.chunkGap)),f=b(()=>{if(!l.value)return{};let e=n(d.value),t=n(u.value);return{maskRepeat:`repeat-x`,maskImage:`linear-gradient(90deg, #000, #000 ${t}, transparent ${t}, transparent)`,maskSize:`calc(${t} + ${e}) 100%`}}),p=b(()=>{if(!s.value)return;let e=n(d.value/2),t=h(o)?`right`:`left`,r=h(i);if(r>=100)return;let c=h(a),l=r>0,u=c>r&&c<100;if(!l&&!u)return;let f=n(r,`%`),p=n(c,`%`),m=u?p:f;return{bar:l?{width:`calc(${f} - ${e})`}:void 0,buffer:u?{[t]:l?`calc(${f} + ${e})`:0,width:l?`calc(${p} - ${f} - ${n(d.value)})`:`calc(${p} - ${e})`}:void 0,background:{[t]:`calc(${m} + ${e})`,width:`calc(100% - ${m} - ${e})`}}});function m(e){if(s.value)return e;let n=h(r);if(!n)return e;let i=100*d.value/n,a=100*(u.value+d.value)/n,o=Math.floor((e+i)/a+1e-9);return t(o*a-i/2,0,100)}return{hasChunks:C(()=>l.value||s.value),isSplit:s,chunkCount:c,chunksMaskStyles:f,splitStyles:p,snapValueToChunk:m}}function se(e,{containerWidth:t,value:n,isActive:r,duration:i}){let o=C(()=>e.shape===`wavy`),s=b(()=>{let n=h(t);if(!o.value||!n)return;let r=parseFloat(e.height),i=e.indeterminate?20:40,a=r/2+3,s=r/2,c=Math.max(n-s,s+1),l=c-s;return{width:n,stroke:r,wavelength:i,center:a,start:s,end:c,offset:i/l*100,gap:(parseFloat(e.chunkGap)+r)/l*100,track:`M ${s} ${a} H ${c}`,wave:e.indeterminate?k(s-i,c,a,3,i):``}}),c=w(),l=w(),u=C(()=>o.value&&!e.indeterminate&&h(r)&&!!c.value),d=h(n),f=0,p=+!!A(d),m=0,_=0,v=0,y=-1;function x(){if(!s.value||!c.value||!l.value)return;let{start:e,end:t,center:n,wavelength:r}=s.value,i=e+(t-e)*d/100,a=p*p*(3-2*p);l.value.setAttribute(`d`,k(e,i,n,3*a,r,m)),c.value.style.setProperty(`--v-progress-linear-value`,String(d))}function T(e){let t=v?Math.min(e-v,100)/1e3:0;v=e;let r=h(n),i=4e3/_;if(!Number.isFinite(i))d=r,f=0;else{let e=d-r,n=Math.exp(-i*t),a=f+i*e;d=r+(e+a*t)*n,f=(f-i*a*t)*n,Math.abs(d-r)<.01&&Math.abs(f)<.01&&(d=r,f=0)}let o=+!!A(d);p=o>p?Math.min(p+t*2,1):Math.max(p-t*2,0);let c=a(),l=s.value?.wavelength??40;c||(m=(m-t*l)%l),x();let g=d===r&&p===o;y=u.value&&(!g||!c&&p)?requestAnimationFrame(T):-1}return g([u,()=>h(n)],()=>{u.value&&(_=i(),!(y>=0)&&(v=0,y=requestAnimationFrame(T)))},{immediate:!0,flush:`post`}),g([c,s],x,{flush:`post`}),S(()=>cancelAnimationFrame(y)),{geometry:s,svgEl:c,waveEl:l}}var P=i({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,shape:{type:String,default:`flat`,validator:e=>[`flat`,`wavy`].includes(e)},stopIndicator:{type:Boolean,default:void 0},stream:Boolean,striped:Boolean,roundedBar:Boolean,transition:{type:[Boolean,Object],default:void 0},...M(),...p(),...O({location:`top`}),...j(),...E(),...s(),...u()},`VProgressLinear`),F=c()({name:`VProgressLinear`,props:P(),emits:{"update:modelValue":e=>!0},setup(i,{slots:a}){let s=w(),c=D(i,`modelValue`),{isRtl:u,rtlClasses:p}=re(),{themeClasses:h}=o(i),{locationStyles:g}=ne(i),{textColorClasses:S,textColorStyles:E}=l(()=>i.color),{backgroundColorClasses:O,backgroundColorStyles:k}=d(()=>i.bgColor||i.color),{backgroundColorClasses:A,backgroundColorStyles:j}=d(()=>i.bufferColor||i.bgColor||i.color),{backgroundColorClasses:M,backgroundColorStyles:P}=d(()=>i.color),{textColorClasses:F,textColorStyles:ce}=l(()=>i.bgColor),{roundedClasses:le,roundedStyles:ue}=ee(i),{isIntersecting:I}=oe(s),{state:L,duration:R}=ae(i),z=b(()=>parseFloat(i.max)),B=b(()=>n(i.height)),V=b(()=>t(parseFloat(i.bufferValue)/z.value*100,0,100)),H=b(()=>L.value===`initial`?0:t(parseFloat(c.value)/z.value*100,0,100)),U=b(()=>u.value!==i.reverse),de=b(()=>i.transition===!1?void 0:n(e(i.transition)?i.transition.duration:void 0,`ms`)),W=C(()=>r(i.bgOpacity)?void 0:parseFloat(i.bgOpacity)),G=C(()=>i.shape===`wavy`),K=C(()=>!i.indeterminate&&(G.value?i.stopIndicator!==!1:i.variant===`split`&&i.stopIndicator===!0)),fe=b(()=>i.indeterminate?`fade-transition`:`slide-x-transition`),q=w(0),{hasChunks:J,splitStyles:Y,chunksMaskStyles:pe,snapValueToChunk:X}=N(i,q,H,V,U);te(()=>J.value||G.value,()=>{ie(s,e=>{q.value=e[0].contentRect.width})});let me=b(()=>J.value?X(V.value):V.value),he=b(()=>J.value?X(H.value):H.value),{geometry:Z,svgEl:ge,waveEl:_e}=se(i,{containerWidth:q,value:H,isActive:()=>i.active&&I.value,duration:()=>{if(L.value===`pending`)return R.value;let e=getComputedStyle(s.value).getPropertyValue(`--v-progress-linear-transition-duration`).trim();return parseFloat(e)*(e.endsWith(`ms`)?1:1e3)}});function Q(e){if(!s.value)return;let{left:t,right:n,width:r}=s.value.getBoundingClientRect(),i=U.value?r-e.clientX+(n-r):e.clientX-t;c.value=Math.round(i/r*z.value)}function $(){return v(`div`,{class:_([`v-progress-linear__background`,O.value]),style:y([k.value,{opacity:W.value,width:i.stream?0:void 0},i.indeterminate?{}:Y.value?.background])},null)}function ve(){if(!Z.value)return null;let{width:e,stroke:t,wavelength:r,center:a,end:o,gap:s,track:c,wave:l,offset:u}=Z.value;function d(){return v(`path`,{class:_([`v-progress-linear__track`,F.value]),style:y([ce.value,{opacity:W.value}]),d:c,pathLength:`100`},null)}function f(e){return v(`path`,{class:_([`v-progress-linear__wave`,e]),d:l,pathLength:100+u},null)}return v(`svg`,{ref:ge,class:_([`v-progress-linear__wavy`,{"v-progress-linear__wavy--indeterminate":i.indeterminate},S.value]),style:y([E.value,{"--v-progress-linear-stroke":n(t),"--v-progress-linear-wavelength":n(r),"--v-progress-linear-wave-offset":u,"--v-progress-linear-wave-gap":s}]),viewBox:`0 0 ${e} ${a*2}`},[i.indeterminate?v(x,null,[d(),d(),d(),f(`long`),f(`short`)]):v(x,null,[d(),K.value&&v(`circle`,{class:`v-progress-linear__stop`,cx:o,cy:a},null),v(`path`,{ref:_e,class:`v-progress-linear__wave`},null)])])}return f(()=>m(i.tag,{ref:s,class:_([`v-progress-linear`,{"v-progress-linear--absolute":i.absolute,"v-progress-linear--active":i.active&&I.value,"v-progress-linear--reverse":U.value,"v-progress-linear--rounded":i.rounded,"v-progress-linear--rounded-bar":i.roundedBar,"v-progress-linear--striped":i.striped,"v-progress-linear--clickable":i.clickable,"v-progress-linear--no-transition":i.transition===!1,"v-progress-linear--revealing":[`initial`,`pending`].includes(L.value),"v-progress-linear--variant-split":i.variant===`split`,"v-progress-linear--shape-wavy":G.value},le.value,h.value,p.value,i.class]),style:y([{bottom:i.location===`bottom`?0:void 0,top:i.location===`top`?0:void 0,height:i.active?G.value?n(parseFloat(i.height)+6):B.value:0,"--v-progress-linear-height":B.value,"--v-progress-linear-transition-duration":de.value,"--v-progress-reveal-duration":`${R.value}ms`,"--v-progress-chunk-gap":n(i.chunkGap),...i.absolute?g.value:{}},G.value?void 0:pe.value,ue.value,i.style]),role:`progressbar`,"aria-hidden":i.active?`false`:`true`,"aria-valuemin":`0`,"aria-valuemax":i.max,"aria-valuenow":i.indeterminate?void 0:Math.min(parseFloat(c.value),z.value),onClick:i.clickable&&Q},{default:()=>[G.value?ve():v(x,null,[i.stream&&v(`div`,{key:`stream`,class:_([`v-progress-linear__stream`,S.value]),style:{...E.value,[U.value?`left`:`right`]:`calc(${B.value} * -1)`,borderTop:`calc(${B.value} / 2) dotted`,opacity:i.bufferOpacity==null?void 0:parseFloat(i.bufferOpacity),top:`calc(50% - ${B.value} / 4)`,width:n(100-V.value,`%`),"--v-progress-linear-stream-to":`calc(${B.value} * ${U.value?1:-1})`}},null),(i.variant!==`split`||!i.indeterminate)&&$(),v(`div`,{class:_([`v-progress-linear__buffer`,A.value]),style:y([j.value,{opacity:i.bufferOpacity==null?void 0:parseFloat(i.bufferOpacity),width:n(me.value,`%`)},Y.value?.buffer])},null),K.value&&v(`div`,{class:_([`v-progress-linear__stop`,M.value]),style:y(P.value)},null),m(T,{name:fe.value},{default:()=>[i.indeterminate?v(`div`,{class:`v-progress-linear__indeterminate`},[i.variant===`split`&&v(x,null,[$(),$(),$()]),[`long`,`short`].map(e=>v(`div`,{key:e,class:_([`v-progress-linear__indeterminate`,e,M.value]),style:y(P.value)},null))]):v(`div`,{class:_([`v-progress-linear__determinate`,M.value]),style:y([P.value,{width:n(he.value,`%`)},Y.value?.bar])},null)]})]),a.default&&v(`div`,{class:`v-progress-linear__content`},[a.default({value:H.value,buffer:V.value})])]})),{}}});export{F as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{On as e,b as t,g as n,k as r,mt as i,tr as a}from"./
|
|
1
|
+
import{On as e,b as t,g as n,k as r,mt as i,tr as a}from"./DZo3dYLJ.js";import{i as o}from"./DDEIDAa0.js";import{t as s}from"#entry";var c={key:0,class:`text-disabled`},l={key:1,class:`text-no-wrap`},u=Object.assign(r({__name:`Date`,props:{value:{}},setup(r){let u=r,d=n(()=>typeof u.value==`string`?o(u.value):``),{t:f}=s();return(n,r)=>e(d)===``?(i(),t(`span`,c,a(e(f)(`common.none`)),1)):(i(),t(`span`,l,a(e(d)),1))}}),{__name:`VxCellDate`});export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,D as t,E as n,Ft as r,Ht as i,On as a,_ as o,b as s,bt as c,g as l,k as u,mt as d,o as f,qt as p,tr as m,vn as h,y as g}from"./
|
|
1
|
+
import{$ as e,D as t,E as n,Ft as r,Ht as i,On as a,_ as o,b as s,bt as c,g as l,k as u,mt as d,o as f,qt as p,tr as m,vn as h,y as g}from"./DZo3dYLJ.js";import{t as _}from"./ChHm6L68.js";import{m as v,t as y}from"#entry";import{t as b}from"./BDNMzG2s.js";import{t as x}from"./BiGgsuAF.js";var S=[`aria-label`],C={class:`text-body-2 text-medium-emphasis mb-1`},w=[`aria-label`],T={key:0,class:`text-caption text-medium-emphasis`},E=Object.assign(b(u({__name:`KeyValue`,props:e({field:{},rules:{},errorMessages:{},record:{},resource:{},disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let u=e,b=r(e,`modelValue`),{t:E}=y(),D=h([]),O=l(()=>Number(x(u.field).maxEntries??50)),k=l(()=>String(x(u.field).keyLabel??E(`fields.keyValue.key`))),A=l(()=>String(x(u.field).valueLabel??E(`fields.keyValue.value`))),j=``;i(b,e=>{JSON.stringify(e??{})!==j&&(D.value=e&&typeof e==`object`?Object.entries(e).map(([e,t])=>({key:e,value:String(t??``)})):[])},{immediate:!0});function M(){let e=Object.fromEntries(D.value.filter(e=>e.key.trim()!==``).map(e=>[e.key.trim(),e.value]));j=JSON.stringify(e),b.value=e}function N(){D.value=[...D.value,{key:``,value:``}]}function P(e){D.value=D.value.filter((t,n)=>n!==e),M()}let F=l(()=>{let e=new Set,t=new Set;for(let n of D.value){let r=n.key.trim();r&&e.has(r)&&t.add(r),e.add(r)}return[...t]}),I=l(()=>[...F.value.length?[E(`fields.keyValue.repeated`,{keys:F.value.join(`, `)})]:[],...u.errorMessages]);return(r,i)=>(d(),s(`fieldset`,{class:`vx-fieldset`,"aria-label":e.field.label},[o(`div`,C,m(e.field.label),1),(d(!0),s(f,null,c(a(D),(n,r)=>(d(),s(`fieldset`,{key:r,class:`vx-fieldset d-flex ga-2 align-start mb-1`,"aria-label":a(E)(`fields.keyValue.entry`,{n:r+1})},[t(_,{modelValue:n.key,"onUpdate:modelValue":[e=>n.key=e,M],label:a(k),density:`compact`,"hide-details":``,disabled:e.disabled},null,8,[`modelValue`,`onUpdate:modelValue`,`label`,`disabled`]),t(_,{modelValue:n.value,"onUpdate:modelValue":[e=>n.value=e,M],label:a(A),density:`compact`,"hide-details":``,disabled:e.disabled},null,8,[`modelValue`,`onUpdate:modelValue`,`label`,`disabled`]),t(v,{icon:`mdi-close`,variant:`text`,size:`small`,class:`mt-1`,disabled:e.disabled,"aria-label":a(E)(`fields.keyValue.remove`,{n:r+1}),onClick:e=>P(r)},null,8,[`disabled`,`aria-label`,`onClick`])],8,w))),128)),t(v,{variant:`text`,size:`small`,"prepend-icon":`mdi-plus`,disabled:e.disabled||a(D).length>=a(O),onClick:N},{default:p(()=>[n(m(a(E)(`fields.keyValue.add`)),1)]),_:1},8,[`disabled`]),(d(!0),s(f,null,c(a(I),e=>(d(),s(`div`,{key:e,class:`text-error text-caption`,role:`alert`},m(e),1))),128)),e.field.help?(d(),s(`div`,T,m(e.field.help),1)):g(``,!0)],8,S))}}),[[`__scopeId`,`data-v-68446da2`]]),{__name:`VxInputKeyValue`});export{E as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{D as e,E as t,Ht as n,Kt as r,On as i,_ as a,b as o,bt as s,ft as c,g as l,k as u,mt as d,o as f,qt as p,tr as m,v as h,y as g}from"./DZo3dYLJ.js";import{C as _,w as v}from"./51OWHj8c.js";import{c as y}from"./BiIirvgR.js";import{t as b}from"./DLzA6Iec.js";import{a as x}from"./DDEIDAa0.js";import{t as S}from"./2c1vZ90H.js";import{At as C,It as ee,Ut as te,i as w,m as T,o as E,p as D,t as O}from"#entry";import{c as k}from"./BFZ46Edz.js";import"./CHyInEhw.js";import{t as A}from"./BSfpIrlx.js";var j={class:`text-h4 mb-4`},M={scope:`col`},N={scope:`col`},P={scope:`col`},F={scope:`col`,class:`text-end`},I={scope:`col`},L=[`onClick`,`onKeydown`],R={class:`text-capitalize`},ne={class:`text-medium-emphasis`},z={class:`text-end`},B={class:`text-end`},V={key:0},H={colspan:`6`,class:`text-medium-emphasis`},U=u({__name:`index`,async setup(u){let U,W,G=b(),K=A(),{t:q}=O(),{data:J,error:Y,refresh:X}=([U,W]=r(()=>ee(`vector.jobs`,()=>K.list())),U=await U,W(),U),Z=l(()=>(J.value??[]).some(e=>e.status===`queued`||e.status===`running`)),{pause:Q,resume:re}=k(()=>X(),3e3,{immediate:!1});n(Z,e=>e?re():Q(),{immediate:!0}),c(Q),te({title:()=>q(`jobs.title`)});function $(e){y(`${G.vector.basePath}/jobs/${e.id}`)}let ie={queued:`grey`,running:`info`,done:`success`,failed:`error`,stalled:`warning`};return(n,r)=>(d(),o(`div`,null,[a(`h1`,j,m(i(q)(`jobs.heading`)),1),i(Y)?(d(),h(D,{key:0,type:`error`,variant:`tonal`,class:`mb-4`,text:(`vectorErrorMessage`in n?n.vectorErrorMessage:i(C))(i(Y))},null,8,[`text`])):g(``,!0),e(E,null,{default:p(()=>[e(w,{hover:``},{default:p(()=>[a(`thead`,null,[a(`tr`,null,[a(`th`,M,m(i(q)(`jobs.columns.job`)),1),a(`th`,N,m(i(q)(`jobs.columns.resource`)),1),a(`th`,P,m(i(q)(`jobs.columns.status`)),1),a(`th`,F,m(i(q)(`jobs.columns.progress`)),1),a(`th`,I,m(i(q)(`jobs.columns.started`)),1),r[0]||=a(`th`,{scope:`col`},null,-1)])]),a(`tbody`,null,[(d(!0),o(f,null,s(i(J)??[],s=>(d(),o(`tr`,{key:s.id,style:{cursor:`pointer`},tabindex:`0`,role:`link`,onClick:e=>$(s),onKeydown:[_(v(e=>$(s),[`self`,`prevent`]),[`enter`]),_(v(e=>$(s),[`self`,`prevent`]),[`space`])]},[a(`td`,null,[a(`span`,R,m(i(q)(`jobs.kind.${s.kind}`)),1),r[1]||=t(),a(`span`,ne,m(s.name),1)]),a(`td`,null,m(s.resource),1),a(`td`,null,[e(S,{size:`small`,color:ie[s.status],variant:`tonal`},{default:p(()=>[t(m(i(q)(`jobs.status.${s.status}`)),1)]),_:2},1032,[`color`])]),a(`td`,z,[t(m(s.processed),1),s.total===null?g(``,!0):(d(),o(f,{key:0},[t(` / `+m(s.total),1)],64))]),a(`td`,null,m((`formatDateTime`in n?n.formatDateTime:i(x))(s.createdAt)),1),a(`td`,B,[s.hasFile&&s.status===`done`?(d(),h(T,{key:0,size:`small`,variant:`text`,icon:`mdi-download-outline`,"aria-label":i(q)(`common.download`),onClick:v(e=>i(K).download(s),[`stop`])},null,8,[`aria-label`,`onClick`])):g(``,!0)])],40,L))),128)),!i(Y)&&(i(J)??[]).length===0?(d(),o(`tr`,V,[a(`td`,H,m(i(q)(`jobs.empty`)),1)])):g(``,!0)])]),_:1})]),_:1})]))}});export{U as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,On as t,_ as n,b as r,bt as i,g as a,k as o,mt as s,o as c,qt as l,tr as u,v as d,y as f}from"./
|
|
1
|
+
import{E as e,On as t,_ as n,b as r,bt as i,g as a,k as o,mt as s,o as c,qt as l,tr as u,v as d,y as f}from"./DZo3dYLJ.js";import{t as p}from"./2c1vZ90H.js";import{i as m,t as h}from"#entry";var g={key:0,class:`text-disabled`},_={scope:`row`,class:`text-medium-emphasis font-weight-regular`},v={key:2,class:`d-inline-flex flex-wrap align-center ga-1`},y={key:0,class:`text-caption text-medium-emphasis`},b=Object.assign(o({__name:`KeyValue`,props:{value:{},context:{}},setup(o){let b=o,x=a(()=>b.value&&typeof b.value==`object`&&!Array.isArray(b.value)?Object.entries(b.value).map(([e,t])=>[e,String(t??``)]):[]),{t:S}=h();return(a,h)=>t(x).length?o.context===`show`?(s(),d(m,{key:1,density:`compact`},{default:l(()=>[n(`tbody`,null,[(s(!0),r(c,null,i(t(x),([e,t])=>(s(),r(`tr`,{key:e},[n(`th`,_,u(e),1),n(`td`,null,u(t),1)]))),128))])]),_:1})):(s(),r(`span`,v,[(s(!0),r(c,null,i(t(x).slice(0,3),([t,n])=>(s(),d(p,{key:t,size:`x-small`,label:``},{default:l(()=>[e(u(t)+`: `+u(n),1)]),_:2},1024))),128)),t(x).length>3?(s(),r(`span`,y,u(t(S)(`fields.keyValue.more`,{count:t(x).length-3})),1)):f(``,!0)])):(s(),r(`span`,g,u(t(S)(`common.none`)),1))}}),{__name:`VxCellKeyValue`});export{b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,E as t,_ as n,b as r,mt as i,qt as a,tr as o}from"./
|
|
1
|
+
import{D as e,E as t,_ as n,b as r,mt as i,qt as a,tr as o}from"./DZo3dYLJ.js";import{Lt as s,Ut as c}from"#entry";import{t as l}from"./BDNMzG2s.js";var u={class:`antialiased bg-white dark:bg-neutral-950 dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-neutral-950 tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=[`textContent`],_=l({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`},backToPrevious:{type:String,default:`Go back`}},setup(l){let _=l;return c({title:`${_.status} - ${_.statusText} | ${_.appName}`,script:[{innerHTML:`(()=>{if(!(window.history.state&&window.history.state.back||document.referrer.startsWith(window.location.origin+"/")))return;const t=document.querySelector("[data-back-home]"),e=document.querySelector("[data-back-previous]");t&&e&&(e.onclick=()=>window.history.back(),t.hidden=!0,e.hidden=!1)})();`,tagPosition:`bodyClose`}],style:[{innerHTML:`*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb);--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:after,:before{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body,button{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{-webkit-text-decoration:inherit;text-decoration:inherit}a,button{color:inherit}button{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;padding:0;text-transform:none;cursor:pointer}[type=button],button{-webkit-appearance:button;background-color:#0000;background-image:none}h1,h2,p{margin:0}[hidden]:where(:not([hidden=until-found])){display:none}`}]}),(c,_)=>{let v=s;return i(),r(`div`,u,[n(`div`,d,[n(`h1`,{class:`font-medium leading-none mb-4 sm:text-[72px] tabular-nums text-[56px]`,textContent:o(l.status)},null,8,f),n(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:o(l.statusText)},null,8,p),n(`p`,{class:`mb-4 px-2 text-md text-neutral-500`,textContent:o(l.description)},null,8,m),n(`div`,h,[e(v,{to:`/`,"data-back-home":``,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:a(()=>[t(o(l.backHome),1)]),_:1}),_[0]||=t(),n(`button`,{type:`button`,"data-back-previous":``,hidden:``,class:`appearance-none bg-transparent border-0 cursor-pointer font-medium font-sans hover:text-[#00DC82] p-0 text-inherit text-sm underline underline-offset-3`,textContent:o(l.backToPrevious)},null,8,g)])])])}}},[[`__scopeId`,`data-v-a2a43ab2`]]);export{_ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,o as t}from"./BiIirvgR.js";import{n,t as r}from"./go_nGSOr.js";import{t as i}from"./DLzA6Iec.js";var a=t(t=>{if(n().hosted)return;let a=r(),o=i();if(a.restore(),!a.isAuthenticated)return e({path:`${o.vector.basePath||``}/login`,query:{redirect:t.fullPath}})});export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ht as e,On as t,b as n,g as r,k as i,mt as a,tr as o,tt as s,vn as c}from"./
|
|
1
|
+
import{Ht as e,On as t,b as n,g as r,k as i,mt as a,tr as o,tt as s,vn as c}from"./DZo3dYLJ.js";import{Pt as l,t as u}from"#entry";import{n as d}from"./Dorn4eG1.js";import{t as f}from"./C_ix0rE_.js";import{a as p,o as m,s as h}from"./CxFDmUjN.js";var g={key:0,class:`text-disabled`},_=[`innerHTML`],v={key:2,class:`text-truncate d-inline-block`,style:{"max-width":`24rem`}},y=Object.assign(i({__name:`RichText`,props:{field:{},value:{},record:{},resource:{},context:{}},setup(i){let y=i,{t:b}=u(),x=d(()=>y.resource.slug),{richText:S}=l(),C=p({features:y.field.richtext?.features??[],custom:S}),w=r(()=>typeof y.value==`string`?y.value:``),T=r(()=>y.context===`show`&&w.value!==``?m(w.value,C):``),E=r(()=>y.context===`index`&&w.value!==``?h(w.value,C):``),D=c(null);return e([T,D],async()=>{await s();let e=y.field.richtext?.imageField,t=y.record.id;if(D.value&&e&&t!=null)for(let n of D.value.querySelectorAll(`img[data-vector-key]`)){let r=n.dataset.vectorKey;x.fileBlob(t,e,r).then(f).then(e=>{n.src=e}).catch(()=>void 0)}},{immediate:!0}),(e,r)=>t(w)===``?(a(),n(`span`,g,o(t(b)(`common.none`)),1)):i.context===`show`?(a(),n(`div`,{key:1,ref_key:`root`,ref:D,class:`vx-richtext-view text-body-1`,innerHTML:t(T)},null,8,_)):(a(),n(`span`,v,o(t(E)),1))}}),{__name:`VxCellRichText`});export{y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,K as t,Lt as n,N as r,O as i,S as a,St as o,c as s,p as c,r as l,s as u,t as d,u as f,x as p}from"./
|
|
1
|
+
import{C as e,K as t,Lt as n,N as r,O as i,S as a,St as o,c as s,p as c,r as l,s as u,t as d,u as f,x as p}from"./CPAF2hi7.js";import{D as m,Ht as h,Pt as g,Yt as _,Zn as v,_ as y,er as b,et as x,g as S,o as ee,vn as C,wn as w,xn as T}from"./DZo3dYLJ.js";import{S as E}from"./51OWHj8c.js";import{n as te,t as D}from"./BQnpCLjt.js";import{o as ne}from"./CTHeqfU5.js";import{n as re,t as ie}from"./BVjSh6vC.js";import{i as ae}from"./BKlyjday.js";import{a as O}from"./D-rB2fWZ.js";import{a as k,n as oe}from"./bmIlMXFn.js";import{r as se}from"./E-mWtnN5.js";import{n as A,t as j}from"./CQQ-wIWC.js";import{n as M,r as N,t as P}from"./B_fQu_h2.js";import{a as F,c as I,o as ce,s as le}from"./9MD1hlLT.js";var L=a({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...p(),...A({transition:{component:k}})},`VCounter`),R=c()({name:`VCounter`,functional:!0,props:L(),setup(e,{slots:t}){let n=T(e.max);h(()=>e.max,e=>e!=null&&(n.value=e));let r=w(()=>e.active?e.max:n.value),i=w(()=>r.value?`${e.value} / ${r.value}`:String(e.value));return f(()=>m(j,{transition:e.transition,appear:!0},{default:()=>[_(y(`div`,{class:v([`v-counter`,{"text-error":r.value&&!e.disabled&&parseFloat(e.value)>parseFloat(r.value)},e.class]),style:b(e.style)},[t.default?t.default({counter:i.value,max:r.value,value:e.value}):i.value]),[[E,e.active]])]})),{}}}),z=a({floating:Boolean,...p()},`VFieldLabel`),B=c()({name:`VFieldLabel`,props:z(),setup(e,{slots:t}){return f(()=>m(I,{class:v([`v-field-label`,{"v-field-label--floating":e.floating},e.class]),style:b(e.style)},t)),{}}}),V=[`underlined`,`outlined`,`filled`,`solo`,`solo-inverted`,`solo-filled`,`plain`],H=a({appendInnerIcon:O,bgColor:String,clearable:Boolean,clearIcon:{type:O,default:`$clear`},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:O,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:`filled`,validator:e=>V.includes(e)},"onClick:clear":i(),"onClick:appendInner":i(),"onClick:prependInner":i(),...p(),...M(),...D(),...u()},`VField`),U=c()({name:`VField`,inheritAttrs:!1,props:{id:String,details:Boolean,labelId:String,...F(),...H()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(i,{attrs:a,emit:c,slots:u}){let{themeClasses:p}=s(i),{loaderClasses:T}=N(i),{focusClasses:D,isFocused:O,focus:k,blur:A}=ce(i),{InputIcon:j}=le(i),{roundedClasses:M,roundedStyles:F}=te(i),{rtlClasses:I}=ne(),L=w(()=>i.dirty||i.active),R=w(()=>!!(i.label||u.label)),z=w(()=>!i.singleLine&&R.value),V=g(),H=S(()=>i.id||`input-${V}`),U=w(()=>i.details?`${H.value}-messages`:void 0),W=C(),G=C(),K=C(),q=S(()=>[`plain`,`underlined`].includes(i.variant)),J=S(()=>i.error||i.disabled?void 0:L.value&&O.value?i.color:i.baseColor),Y=S(()=>{if(i.iconColor===!0||!i.iconColor&&i.glow&&O.value)return J.value;if(!(!i.iconColor||i.glow&&!O.value))return i.iconColor}),{backgroundColorClasses:ue,backgroundColorStyles:de}=d(()=>i.bgColor),{textColorClasses:X,textColorStyles:Z}=l(J);h(L,t=>{if(z.value&&!o()){let n=W.value.$el,i=G.value.$el;requestAnimationFrame(()=>{let a=re(n),o=new e(i),s=o.x-a.x,c=o.y-a.y-(a.height/2-o.height/2),l=o.width/.75,u=Math.abs(l-a.width)>1?{maxWidth:r(l)}:void 0,d=getComputedStyle(n),f=getComputedStyle(i),p=parseFloat(d.transitionDuration)*1e3||150,m=parseFloat(f.getPropertyValue(`--v-field-label-scale`)),h=f.getPropertyValue(`color`);n.style.visibility=`visible`,i.style.visibility=`hidden`,ie(n,{transform:`translate(${s}px, ${c}px) scale(${m})`,color:h,...u},{duration:p,easing:ae,direction:t?`normal`:`reverse`}).finished.then(()=>{n.style.removeProperty(`visibility`),i.style.removeProperty(`visibility`)})})}},{flush:`post`});let Q=S(()=>({isActive:L,isFocused:O,controlRef:K,iconColor:Y,blur:A,focus:k})),$=w(()=>{let e=!L.value;return{"aria-hidden":e,for:e?void 0:H.value}}),fe=w(()=>{let e=z.value&&L.value;return{"aria-hidden":e,for:e?void 0:H.value}});function pe(e){e.target!==t()&&e.preventDefault()}return f(()=>{let e=i.variant===`outlined`,t=!!(u[`prepend-inner`]||i.prependInnerIcon),r=!!(i.clearable||u.clear)&&!i.disabled,o=!!(u[`append-inner`]||i.appendInnerIcon||r),s=()=>u.label?u.label({...Q.value,label:i.label,props:{for:H.value}}):i.label;return y(`div`,x({class:[`v-field`,{"v-field--active":L.value,"v-field--appended":o,"v-field--center-affix":i.centerAffix??!q.value,"v-field--disabled":i.disabled,"v-field--dirty":i.dirty,"v-field--error":i.error,"v-field--glow":i.glow,"v-field--flat":i.flat,"v-field--has-background":!!i.bgColor,"v-field--persistent-clear":i.persistentClear,"v-field--prepended":t,"v-field--reverse":i.reverse,"v-field--single-line":i.singleLine,"v-field--no-label":!s(),[`v-field--variant-${i.variant}`]:!0},p.value,ue.value,D.value,T.value,M.value,I.value,i.class],style:[de.value,F.value,i.style],onClick:pe},a),[y(`div`,{class:`v-field__overlay`},null),m(P,{name:`v-field`,active:!!i.loading,color:i.error?`error`:n(i.loading)?i.loading:i.color},{default:u.loader}),t&&y(`div`,{key:`prepend`,class:`v-field__prepend-inner`},[u[`prepend-inner`]?u[`prepend-inner`](Q.value):i.prependInnerIcon&&m(j,{key:`prepend-icon`,name:`prependInner`,color:Y.value},null)]),y(`div`,{class:`v-field__field`,"data-no-activator":``},[[`filled`,`solo`,`solo-inverted`,`solo-filled`].includes(i.variant)&&z.value&&m(B,x({key:`floating-label`,ref:G,class:[X.value],floating:!0},$.value,{style:Z.value}),{default:()=>[s()]}),R.value&&m(B,x({key:`label`,ref:W,id:i.labelId},fe.value),{default:()=>[s()]}),u.default?.({...Q.value,props:{id:H.value,class:`v-field__input`,"aria-describedby":U.value},focus:k,blur:A})??y(`div`,{id:H.value,class:`v-field__input`,"aria-describedby":U.value},null)]),r&&m(oe,{key:`clear`},{default:()=>[_(y(`div`,{class:`v-field__clearable`,onMousedown:e=>{e.preventDefault(),e.stopPropagation()}},[m(se,{defaults:{VIcon:{icon:i.clearIcon}}},{default:()=>[u.clear?u.clear({...Q.value,props:{onFocus:k,onBlur:A,onClick:i[`onClick:clear`],tabindex:-1}}):m(j,{name:`clear`,onFocus:k,onBlur:A,tabindex:-1},null)]})]),[[E,i.dirty]])]}),o&&y(`div`,{key:`append`,class:`v-field__append-inner`},[u[`append-inner`]?u[`append-inner`](Q.value):i.appendInnerIcon&&m(j,{key:`append-icon`,name:`appendInner`,color:Y.value},null)]),y(`div`,{class:v([`v-field__outline`,X.value]),style:b(Z.value)},[e&&y(ee,null,[y(`div`,{class:`v-field__outline__start`},null),z.value&&y(`div`,{class:`v-field__outline__notch`},[m(B,x({ref:G,floating:!0},$.value),{default:()=>[s()]})]),y(`div`,{class:`v-field__outline__end`},null)]),q.value&&z.value&&m(B,x({ref:G,floating:!0},$.value),{default:()=>[s()]})])])}),{controlRef:K,fieldIconColor:Y}}}),W=a({autocomplete:String},`autocomplete`);function G(e){let t=g(),n=T(0),r=w(()=>e.autocomplete===`suppress`),i=w(()=>{if(e.name)return r.value?`${e.name}-${t}-${n.value}`:e.name});return{isSuppressing:r,fieldAutocomplete:w(()=>r.value?`off`:e.autocomplete),fieldName:i,update:()=>n.value=new Date().getTime()}}function K(e){function t(t,n){if(!e.autofocus||!t)return;let r=n[0].target,i=r.matches(`input,textarea`)?r:r.querySelector(`input,textarea`);setTimeout(()=>i?.focus(),50)}return{onIntersect:t}}export{H as a,U as i,W as n,R as o,G as r,K as t};
|