mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 22:07:10 -04:00
🔧:build SSR dist and deploy
This commit is contained in:
parent
76c26901d7
commit
c59ad6aedb
465 changed files with 214127 additions and 2 deletions
1
dist/client/assets/chunks/chunk-744c6b25.js
vendored
Normal file
1
dist/client/assets/chunks/chunk-744c6b25.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
import{b as V}from"./chunk-a740628f.js";import{d as h,g,r as x,c as y,j as D,D as E,m as t,l as a,q as l,S as s,E as w,z as U,F as R,K as $}from"./chunk-449c23a2.js";import{_ as j}from"./chunk-6deddc2e.js";import{u as B}from"./chunk-767079b6.js";import{t as I,b as N,i as O}from"./chunk-94c6bba0.js";import{w as F}from"./chunk-4d6daddf.js";import{_ as L}from"./chunk-3ef38193.js";import{_ as q}from"./chunk-4515d3e7.js";import"./chunk-9a43cce8.js";import"./chunk-340feaf0.js";import"./chunk-f823181b.js";import"../entries/src_pages_Home.page.16dc467b.js";import"./chunk-cf010ec4.js";import"./chunk-ee54c1e8.js";import"./chunk-6222e43f.js";import"./chunk-2749dac9.js";import"./chunk-567e13ca.js";import"./chunk-1d5b5526.js";import"./chunk-416dc92c.js";import"./chunk-6d336811.js";const z={flex:"","justify-center":""},K={flex:"","justify-center":""},pe=h({__name:"base64-string-converter",setup(P){const r=g("base64-string-converter--encode-url-safe",!1),n=g("base64-string-converter--decode-url-safe",!1),i=x(""),d=y(()=>I(i.value,{makeUrlSafe:r.value})),{copy:S}=B({source:d,text:"Base64 string copied to the clipboard"}),u=x(""),p=y(()=>F(()=>N(u.value.trim(),{makeUrlSafe:n.value}),"")),{copy:T}=B({source:p,text:"String copied to the clipboard"}),k=[{message:"Invalid base64 string",validator:c=>O(c.trim(),{makeUrlSafe:n.value})}],C=[n];return(c,e)=>{const _=L,f=q,m=j,v=$,b=V;return D(),E(R,null,[t(b,{title:"String to base64"},{default:a(()=>[t(f,{label:"Encode URL safe","label-placement":"left"},{default:a(()=>[t(_,{value:l(r),"onUpdate:value":e[0]||(e[0]=o=>s(r)?r.value=o:null)},null,8,["value"])]),_:1}),t(m,{value:l(i),"onUpdate:value":e[1]||(e[1]=o=>s(i)?i.value=o:null),multiline:"",placeholder:"Put your string here...",rows:"5",label:"String to encode","raw-text":"","mb-5":""},null,8,["value"]),t(m,{label:"Base64 of string",value:l(d),multiline:"",readonly:"",placeholder:"The base64 encoding of your string will be here",rows:"5","mb-5":""},null,8,["value"]),w("div",z,[t(v,{onClick:e[2]||(e[2]=o=>l(S)())},{default:a(()=>[U(" Copy base64 ")]),_:1})])]),_:1}),t(b,{title:"Base64 to string"},{default:a(()=>[t(f,{label:"Decode URL safe","label-placement":"left"},{default:a(()=>[t(_,{value:l(n),"onUpdate:value":e[3]||(e[3]=o=>s(n)?n.value=o:null)},null,8,["value"])]),_:1}),t(m,{value:l(u),"onUpdate:value":e[4]||(e[4]=o=>s(u)?u.value=o:null),multiline:"",placeholder:"Your base64 string...",rows:"5","validation-rules":k,"validation-watch":C,label:"Base64 string to decode","mb-5":""},null,8,["value"]),t(m,{value:l(p),"onUpdate:value":e[5]||(e[5]=o=>s(p)?p.value=o:null),label:"Decoded string",placeholder:"The decoded string will be here",multiline:"",rows:"5",readonly:"","mb-5":""},null,8,["value"]),w("div",K,[t(v,{onClick:e[6]||(e[6]=o=>l(T)())},{default:a(()=>[U(" Copy decoded string ")]),_:1})])]),_:1})],64)}}});export{pe as default};
|
Loading…
Add table
Add a link
Reference in a new issue