@johnnycubides/catalejo-vue3-desktop-v2 0.1.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.
Files changed (46) hide show
  1. package/README.md +24 -0
  2. package/dist/assets/@lezer-6dgAjmMZ.js +1 -0
  3. package/dist/assets/@vue-SIJfIzG2.js +17 -0
  4. package/dist/assets/Inter-italic.var-DhD-tpjY.woff2 +0 -0
  5. package/dist/assets/Inter-roman.var-C-r5W2Hj.woff2 +0 -0
  6. package/dist/assets/blockly-C3KDyeBl.js +1603 -0
  7. package/dist/assets/codemirror-CPly2f-x.js +23 -0
  8. package/dist/assets/crelt-C8TCjufn.js +1 -0
  9. package/dist/assets/index-CCtfKVc_.js +18 -0
  10. package/dist/assets/index-DPWq3wfr.css +1 -0
  11. package/dist/assets/primeicons-B7yeMe2z.css +1 -0
  12. package/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
  13. package/dist/assets/primeicons-DMOk5skT.eot +0 -0
  14. package/dist/assets/primeicons-Dr5RGzOO.svg +345 -0
  15. package/dist/assets/primeicons-MpK4pl85.ttf +0 -0
  16. package/dist/assets/primeicons-WjwUDZjB.woff +0 -0
  17. package/dist/assets/primevue-BBIBCcHR.js +97 -0
  18. package/dist/assets/primevue-VvdNDlPa.css +1 -0
  19. package/dist/assets/style-mod-Bc2inJdb.js +3 -0
  20. package/dist/assets/vue-demi-l0sNRNKZ.js +1 -0
  21. package/dist/assets/vue-l0sNRNKZ.js +1 -0
  22. package/dist/assets/w3c-keyname-Vcq4gwWv.js +1 -0
  23. package/dist/favicon.ico +0 -0
  24. package/dist/index.html +24 -0
  25. package/dist/media/1x1.gif +0 -0
  26. package/dist/media/click.mp3 +0 -0
  27. package/dist/media/click.ogg +0 -0
  28. package/dist/media/click.wav +0 -0
  29. package/dist/media/delete.mp3 +0 -0
  30. package/dist/media/delete.ogg +0 -0
  31. package/dist/media/delete.wav +0 -0
  32. package/dist/media/disconnect.mp3 +0 -0
  33. package/dist/media/disconnect.ogg +0 -0
  34. package/dist/media/disconnect.wav +0 -0
  35. package/dist/media/dropdown-arrow.svg +1 -0
  36. package/dist/media/handclosed.cur +0 -0
  37. package/dist/media/handdelete.cur +0 -0
  38. package/dist/media/handopen.cur +0 -0
  39. package/dist/media/pilcrow.png +0 -0
  40. package/dist/media/quote0.png +0 -0
  41. package/dist/media/quote1.png +0 -0
  42. package/dist/media/sprites.png +0 -0
  43. package/dist/media/sprites.svg +74 -0
  44. package/dist/plugins/plugins.d.ts +1 -0
  45. package/dist/plugins/plugins.js +7 -0
  46. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ function s(){var r=arguments[0];typeof r=="string"&&(r=document.createElement(r));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var o=t[n];typeof o=="string"?r.setAttribute(n,o):o!=null&&(r[n]=o)}e++}for(;e<arguments.length;e++)f(r,arguments[e]);return r}function f(r,e){if(typeof e=="string")r.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)r.appendChild(e);else if(Array.isArray(e))for(var t=0;t<e.length;t++)f(r,e[t]);else throw new RangeError("Unsupported child node: "+e)}export{s as c};
@@ -0,0 +1,18 @@
1
+ /* empty css */import{s as be,a as Me,b as Ke,u as _e,c as xe,d as ie,e as Y,f as R,g as Z,h as We,i as ke,j as Ae,k as Ue,P as Xe,T as He,D as qe}from"./primevue-BBIBCcHR.js";import{d as F,r as s,w as O,f as D,g as re,P as v,o as $,q as w,t as g,x as S,C as p,B as A,F as ce,E as ue,e as ze,n as Qe,i as Ge,z as Q,K as G,I as Je,Q as Ye,R as Ze,S as et}from"./@vue-SIJfIzG2.js";import{p as ye,S as tt,l as ot,s as nt}from"./codemirror-CPly2f-x.js";import{b as L,E as lt,a as at,B as st,l as it,p as rt}from"./blockly-C3KDyeBl.js";import"./@lezer-6dgAjmMZ.js";import"./crelt-C8TCjufn.js";import"./style-mod-Bc2inJdb.js";import"./w3c-keyname-Vcq4gwWv.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const r of a.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerPolicy&&(a.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?a.credentials="include":l.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(l){if(l.ep)return;l.ep=!0;const a=t(l);fetch(l.href,a)}})();function ct(e){return e=="py"?ye():e=="lua"?tt.define(ot):ye()}const de="py lua json ck",De="py lua ck",Oe="json";var c=(e=>(e[e.OK=0]="OK",e[e.FAILED=1]="FAILED",e[e.CHANGE=2]="CHANGE",e[e.WITHOUTCHANGE=3]="WITHOUTCHANGE",e[e.REQUEST=4]="REQUEST",e[e.REQUEST_SELECT_FILE_IN_TABVIEW=5]="REQUEST_SELECT_FILE_IN_TABVIEW",e[e.EXISTS=6]="EXISTS",e[e.NOEXIST=7]="NOEXIST",e[e.FOUND=8]="FOUND",e[e.NOTFOUND=9]="NOTFOUND",e[e.ADDED=10]="ADDED",e[e.SAVED=11]="SAVED",e[e.UNSAVED=12]="UNSAVED",e[e.SET_WS=13]="SET_WS",e[e.ENABLED=14]="ENABLED",e[e.DESABLED=15]="DESABLED",e))(c||{}),se=(e=>(e[e.TOAST=0]="TOAST",e[e.TEXT_PRINT=1]="TEXT_PRINT",e))(se||{}),C=(e=>(e[e.WELCOME=0]="WELCOME",e[e.CODEMIRROR=1]="CODEMIRROR",e[e.BLOCKLY=2]="BLOCKLY",e[e.FREE=3]="FREE",e))(C||{}),T=(e=>(e[e.EN=0]="EN",e[e.ES=1]="ES",e))(T||{});const ut=F({__name:"TextEditor",props:["projects","index","update","activate","workspace"],emits:["content-cursor-index"],setup(e,{emit:o}){const t=e,n=o,l=s(""),a=s(),r=s();return O(()=>[t.index,t.update],async()=>{t.projects.length>0&&t.workspace==C.CODEMIRROR&&(r.value.setCursor(0),a.value=ct(t.projects[t.index].extension),l.value=t.projects[t.index].content)}),O(l,u=>{n("content-cursor-index",u,r.value.getCursor(),t.index)}),(u,b)=>(D(),re(v(nt),{ref_key:"cm",ref:r,modelValue:l.value,"onUpdate:modelValue":b[0]||(b[0]=d=>l.value=d),basic:"","tab-size":2,dark:!1,gutter:!0,tab:!0,lang:a.value},null,8,["modelValue","lang"]))}}),Pe=String(navigator.userAgent);function dt(e){if(Pe.indexOf("Linux")!==-1){const o=e.split("/").pop(),t=e.includes(".")?e.split(".").pop():"";return{path:e,filename:o||"",extension:t||""}}else{const o=e.split("\\").pop(),t=e.includes(".")?e.split(".").pop():"";return{path:e,filename:o||"",extension:t||""}}}function pt(e){return de.includes(e)?"pi pi-file-edit":""}function vt(e){let o=[];for(let t=0;t<e.length;t++){const n=dt(e[t]);o.push({key:String(t),label:n.filename,leaf:!0,icon:n.extension!=""?pt(n.extension):"",data:n.path,extension:n.extension})}return o}function ft(e){if(Pe.indexOf("Linux")!==-1){const o=e.split("/").pop();return(e.includes(".")?e.split(".").pop():"")!=""?{status:c.FAILED}:{status:c.OK,data:{path:e,dirname:o||"noname"}}}else{const o=e.split("\\").pop();return(e.includes(".")?e.split(".").pop():"")!=""?{status:c.FAILED}:{status:c.OK,data:{path:e,dirname:o||"noname"}}}}function mt(e){let o=[];for(let t=0;t<e.length;t++){const n=ft(e[t]);n.status==c.OK&&o.push({key:String(t),label:n.data.dirname,leaf:!0,icon:"pi pi-folder",data:n.data.path})}return o}const Ee={dirTitle:{en:"Directories:",es:"Directorios:"},fileTitle:{en:"Files:",es:"Archivos:"}},J={menu:{en:"",es:""},save:{en:"Save",es:"Guardar"},close:{en:"Close",es:"cerrar"},config:{en:"Config",es:"Configurar"}},P={save:{en:"Save",es:"Guardar"},close:{en:"Close",es:"cerrar"},file:{en:"File",es:"Archivo"},opendir:{en:"Open dir",es:"Abrir directorio"},selectDirPath:{header:{en:"Put dir path.",es:"Poner ruta de directorio"}},newProject:{en:"New project",es:"Nuevo proyecto"},dialogNewProject:{header:{en:"New project",es:"Nuevo proyecto"},labelInput:{en:"Insert a file name for project, the extension file will created atomatically.",es:"Agregar un nombre de archivo para el proyecto, la extensión será creada automáticamente."},labelSelectPlatform:{en:"Select a platform compatible with editor: ",es:"Seleccionar una plataforma compatible con el editor: "},labelDirPath:{en:"The project file will created in the path: ",es:"El proyecto será creado en el path: "}},dialogButton:{ok:{en:"Ok",es:"Ok"},close:{en:"Close",es:"Cerrar"}}},W={savefile:{ok:{en:"File save",es:"Archivo guardado"},error:{en:"Don't save file",es:"No se guardó el archivo"}},titleConfigProjectDialog:{en:"Config project",es:"Configuar proyecto"},dialogButton:{ok:{en:"Ok",es:"Ok"},close:{en:"Close",es:"Cerrar"}},toastProccess:{en:"In process",es:"En proceso"}},gt={scrollableTabsDefault:{en:"Projects loaded in workspace",es:"Proyectos cargados en el área de trabajo"}};function E(e,o){return o==T.EN?e.en:o==T.ES?e.es:"noname"}const bt={class:"card flex justify-content-center"},yt={for:"mask",class:"font-bold block mb-2"},Et={for:"mask",class:"font-bold block mb-2"},ht=F({__name:"TreeView",props:["dirPaths","dirPathsLength","filePaths","lang"],emits:["dir-path-selected","file-selected"],setup(e,{emit:o}){const t=e,n=o,l=s(),a=s(),r=s(""),u=s("");$(()=>{r.value=E(Ee.dirTitle,t.lang),u.value=E(Ee.fileTitle,t.lang)});const b=i=>{console.log(i.data),n("dir-path-selected",i.data)},d=i=>{console.log(i.data),n("file-selected",i.data)};return O(()=>t.dirPathsLength,()=>{a.value=mt(t.dirPaths)}),O(()=>t.filePaths,async i=>{l.value=vt(i)}),(i,x)=>(D(),w("div",bt,[g("label",yt,S(r.value),1),p(v(be),{value:a.value,selectionMode:"single",onNodeSelect:b,class:"w-full md:w-30rem"},null,8,["value"]),g("label",Et,S(u.value),1),p(v(be),{value:l.value,selectionMode:"single",onNodeSelect:d,class:"w-full md:w-30rem"},null,8,["value"])]))}}),X=(e,o)=>{const t=e.__vccOpts||e;for(const[n,l]of o)t[n]=l;return t},_t=X(ht,[["__scopeId","data-v-7d510def"]]);function xt(e){let o=[];for(let t=0;t<e.length;t++)o.push({title:e[t].filename,indexOfProject:t});return o}const kt={id:"divTabview",class:"card"},Dt=F({__name:"TabViewEditor",props:["index","update","projects","contentchanges","lang"],emits:["index-of-project-to-load"],setup(e,{emit:o}){const t=o,n=e,l=s([]),a=s(0),r=b=>n.projects.length>0?xt(n.projects):[{title:E(gt.scrollableTabsDefault,b),indexOfProject:-1}];O(()=>[n.index,n.update],([b])=>{l.value=r(n.lang),n.projects.length>0?a.value=b:a.value=0}),O(()=>n.lang,b=>{l.value=r(b)}),$(()=>{l.value=r(n.lang)});const u=b=>{t("index-of-project-to-load",b.index)};return(b,d)=>(D(),w("div",kt,[p(v(Me),{scrollable:!0,onTabClick:u,activeIndex:a.value,"onUpdate:activeIndex":d[0]||(d[0]=i=>a.value=i)},{default:A(()=>[(D(!0),w(ce,null,ue(l.value,i=>(D(),re(v(Ke),{key:i.title,header:i.title},null,8,["header"]))),128))]),_:1},8,["activeIndex"])]))}}),Ot=X(Dt,[["__scopeId","data-v-8ef45e55"]]),pe="http://"+location.hostname,ve="8080",fe="cors";async function Pt(e){const t=pe+":"+ve+"/"+"fs/dirconfig",n={method:"PUT",mode:fe,headers:{"Content-Type":"application/json"},body:JSON.stringify({workdir:e})};try{const a=await(await fetch(t,n)).json();return a.status==c.OK?a:{status:c.FAILED}}catch(l){return console.error(l),{status:c.FAILED}}}async function Ct(e){const t=pe+":"+ve+"/"+"fs/readFile",n={method:"PUT",mode:fe,headers:{"Content-Type":"application/json"},body:JSON.stringify({file:e})};try{const a=await(await fetch(t,n)).json();if(a.status==c.OK)return a}catch(l){return console.error(l),{status:-1}}}async function wt(e,o){const n=pe+":"+ve+"/"+"fs/writeFile",l={method:"PUT",mode:fe,headers:{"Content-Type":"application/json"},body:JSON.stringify({file:e,content:o})};try{const r=await(await fetch(n,l)).json();return r.status==c.OK?r:{status:c.FAILED}}catch(a){return console.error(a),{status:c.FAILED}}}const jt={class:"card"},It=["for"],Lt=F({__name:"MenubarCommon",props:{lang:{type:Number,require:!0,default:T.EN},workDirPath:{type:String,require:!0,default:""}},emits:["dirconfig-update","save-project-request","dir-path-selected"],setup(e,{emit:o}){_e(),s("Soltar aquí el directorio de trabajo");const t=e,n=s(!1),l=s(""),a=s(""),r=s(!1),u=s(""),b=s(""),d=s(""),i=s(""),x=s(""),I=s(""),j=s(""),B=s("Production"),te=s([{name:"Accounting",key:"A"},{name:"Marketing",key:"M"},{name:"Production",key:"P"},{name:"Research",key:"R"}]),V=o,N=s([]),U=f=>{N.value=[{label:E(P.file,f),icon:"pi pi-file",items:[{label:E(P.newProject,f),icon:"pi pi-file-plus",command:()=>{d.value="",K(t.lang),r.value=!0}},{label:E(P.opendir,f),icon:"pi pi-folder-open",command:()=>{a.value="",n.value=!0}},{label:E(P.save,f),icon:"pi pi-save",command:()=>{V("save-project-request")}}]}]},M=()=>{n.value=!1,V("dir-path-selected",a.value)};O(d,f=>{f.split(".").pop()&&f.split(".").pop()});const H=f=>{l.value=E(P.selectDirPath.header,f)},K=f=>{u.value=E(P.dialogNewProject.header,f),b.value=E(P.dialogNewProject.labelInput,f)+" (."+de.replace(/ /g,", .")+"):",i.value=E(P.dialogNewProject.labelDirPath,f)+'"'+t.workDirPath+'".',x.value=E(P.dialogNewProject.labelSelectPlatform,f)},oe=f=>{I.value=E(P.dialogButton.ok,f),j.value=E(P.dialogButton.close,f)},q=f=>{H(f),K(f),oe(f)};return O(()=>t.lang,f=>{q(f),U(f)}),$(()=>{q(t.lang),U(t.lang)}),(f,_)=>(D(),w("div",jt,[p(v(xe),{model:N.value},null,8,["model"]),p(v(ie)),p(v(Z),{visible:n.value,"onUpdate:visible":_[2]||(_[2]=h=>n.value=h),modal:"",header:l.value,style:{width:"25rem"}},{default:A(()=>[g("div",null,[p(v(Y),{type:"text",modelValue:a.value,"onUpdate:modelValue":_[0]||(_[0]=h=>a.value=h)},null,8,["modelValue"])]),g("div",null,[p(v(R),{type:"button",label:j.value,severity:"secondary",onClick:_[1]||(_[1]=h=>n.value=!1)},null,8,["label"]),p(v(R),{type:"button",label:I.value,onClick:M},null,8,["label"])])]),_:1},8,["visible","header"]),p(v(Z),{visible:r.value,"onUpdate:visible":_[6]||(_[6]=h=>r.value=h),modal:"",header:u.value,style:{width:"25rem"}},{default:A(()=>[g("div",null,[g("p",null,S(b.value),1),p(v(Y),{type:"text",modelValue:d.value,"onUpdate:modelValue":_[3]||(_[3]=h=>d.value=h)},null,8,["modelValue"]),g("p",null,S(i.value),1),g("p",null,S(x.value),1)]),(D(!0),w(ce,null,ue(te.value,h=>(D(),w("div",{key:h.key,class:"flex align-items-center"},[p(v(We),{modelValue:B.value,"onUpdate:modelValue":_[4]||(_[4]=z=>B.value=z),inputId:h.key,name:"dynamic",value:h.name},null,8,["modelValue","inputId","value"]),g("label",{for:h.key,class:"ml-2"},S(h.name),9,It)]))),128)),g("div",null,[p(v(R),{type:"button",label:j.value,severity:"secondary",onClick:_[5]||(_[5]=h=>r.value=!1)},null,8,["label"]),p(v(R),{type:"button",label:I.value,onClick:M},null,8,["label"])])]),_:1},8,["visible","header"])]))}}),Nt=X(Lt,[["__scopeId","data-v-4a78b33e"]]);function Ce(e,o){for(let t=0;t<e.length;t++)if(e[t]==o)return{status:c.FOUND,data:t};return{status:c.NOTFOUND}}const Tt=`
2
+
3
+ <xml id="toolbox" style="display: none">
4
+ <category name="Lógica" colour="%{BKY_LOGIC_HUE}">
5
+ <block type="controls_if"></block>
6
+ </category>
7
+ <category name="Secuencias" colour="%{BKY_LOOPS_HUE}">
8
+ <block type="controls_repeat_ext">
9
+ <value name="TIMES">
10
+ <shadow type="math_number">
11
+ <field name="NUM">10</field>
12
+ </shadow>
13
+ </value>
14
+ </block>
15
+ </category>
16
+ </xml>`,Ft={media:"media/",renderer:"geras",toolboxPosition:"start",horizontalLayout:!1,zoom:{controls:!0,wheel:!0,startScale:1,maxScale:3,minScale:.3,scaleSpeed:1.2,pinch:!0},trashcan:!0,grid:{spacing:25,length:1,colour:"#ccc",snap:!0},toolbox:Tt};function Bt(e){return L.inject(e.value,Ft)}function Vt(e,o){const t=L.utils.xml.textToDom(e);try{return L.Xml.clearWorkspaceAndLoadFromXml(t,o),{status:c.OK}}catch{return{status:c.FAILED}}}function Rt(e){e==T.ES?L.setLocale(lt):L.setLocale(at)}function St(e){return e.lang=="lua"?it.luaGenerator:e.lang=="python"?rt.pythonGenerator:void 0}let he=[];function $t(e,o){Ce(he,e.platform).status==c.NOTFOUND&&(e.initBlockly(st,St(e),o),he.push(e.platform))}const Mt={class:"div_blockly"},Kt=F({__name:"BlocklyEditor",props:["projects","index","update","workspace","plugin"],emits:["xmltext-index","blockly-mounted"],setup(e,{emit:o}){const t=e,n=o,l=s(),a=s();let r;const u=[L.Events.SELECTED],b=d=>{for(const i in u)if(d.type===u[i]){const x=L.Xml.workspaceToDom(r),I=L.Xml.domToPrettyText(x);n("xmltext-index",I,t.index)}};return $(async()=>{r=Bt(l),Rt(0),r.addChangeListener(b),n("blockly-mounted")}),O(()=>[t.index,t.update],async([d])=>{if(t.projects.length>0&&t.workspace==C.BLOCKLY){await Qe();const i=t.projects[d].config.platform;i!=null&&i!=""&&($t(t.plugin,r),r.updateToolbox(t.plugin.toolbox)),Vt(t.projects[d].blocklycode,r),L.svgResize(r),r.scrollCenter()}}),(d,i)=>(D(),w("div",Mt,[g("div",{class:"blocklyDivClass",id:"blocklyDiv",ref_key:"blocklyDivRef",ref:l},null,512),g("xml",{style:{display:"none"},ref_key:"blocklyToolbox",ref:a},[ze(d.$slots,"default",{},void 0,!0)],512)]))}}),Wt=X(Kt,[["__scopeId","data-v-c029079e"]]),At={class:"card"},Ut=F({__name:"ToolBar",props:["lang","plugin"],emits:["menu-toggle","save-project-request","close-project","config-project","plugin-command"],setup(e,{emit:o}){const t=e,n=o,l=s([]),a=s(T.EN),r=[{label:E(J.menu,t.lang),icon:"pi pi-arrow-right-arrow-left",command:()=>{n("menu-toggle")}},{label:E(J.save,t.lang),icon:"pi pi-save",command:()=>{n("save-project-request")}},{label:E(J.close,t.lang),icon:"pi pi-times",command:()=>{n("close-project")}},{label:E(J.config,t.lang),icon:"pi pi-cog",command:()=>{n("config-project")}}];function u(d){for(let i=0;i<d.length;i++)if(Array.isArray(d[i].items))u(d[i].items);else{const x=d[i].command;d[i].command=function(){n("plugin-command",x)}}return d}const b=d=>{if(d!=null){let i=d.getItemsToolBarOfPlugin(t.lang);i!=null&&i.length>0?(i=u(i),l.value=[...r,...i]):l.value=r}else l.value=r};return O(()=>t.plugin,d=>{b(d)}),O(()=>t.lang,()=>{a.value=t.lang}),$(()=>{l.value=r}),(d,i)=>(D(),w("div",At,[p(v(xe),{model:l.value},null,8,["model"]),p(v(ie))]))}}),Xt=F({__name:"Textprint",setup(e){const o=Ge("dialogRef");let t;const n=s("");return $(()=>{t=o.value.data,n.value=t.textprint}),(l,a)=>(D(),re(v(ke),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=r=>n.value=r),autoResize:"",rows:"25",cols:"80"},null,8,["modelValue"]))}}),Ht=String(navigator.userAgent);function qt(e,o){for(let t=0;t<e.length;t++)if(e[t].path===o)return{status:c.EXISTS,data:t};return{status:c.NOEXIST}}async function zt(e,o){const t=so(o);if(t.extension=="")return{status:c.WITHOUTCHANGE};if(!de.includes(t.extension))return{status:c.WITHOUTCHANGE};const n=qt(e,t.path);if(n.status==c.EXISTS)return{status:c.REQUEST_SELECT_FILE_IN_TABVIEW,data:n.data};{const l=await Ct(t.path);if(l.status==0){const a=t.extension=="json"?JSON.parse(l.data):{},r=we(l.data,t.extension),u={path:t.path,filename:t.filename,extension:t.extension,content:l.data,blocklycode:a.blocklycode||void 0,codemirrorCursor:0,config:r,status:c.ADDED};return e.push(u),{status:c.REQUEST_SELECT_FILE_IN_TABVIEW,data:e.length-1}}else return{status:c.WITHOUTCHANGE}}}function Qt(e,o){return e!==void 0&&e.length>o?(e.splice(o,1),{status:c.OK}):{status:c.FAILED}}function Gt(e,o,t,n){return e[n].content=o,e[n].codemirrorCursor=t,e[n].status=c.UNSAVED,{status:c.OK}}function Jt(e,o,t){return e[t].blocklycode=o,e[t].status=c.UNSAVED,{status:c.OK}}function Yt(e){return Oe.includes(e.extension)?{status:c.SET_WS,data:C.BLOCKLY}:De.includes(e.extension)?{status:c.SET_WS,data:C.CODEMIRROR}:{status:c.SET_WS,data:C.WELCOME}}function Zt(e,o){const t=e[o];if(t.extension=="json"&&t.blocklycode!==void 0){const n={config:t.config||"",blocklycode:t.blocklycode};e[o].content=JSON.stringify(n)}return{status:c.OK}}function eo(e,o,t){const n=e[o];let l;if(Oe.includes(n.extension)&&t!=null)l=t;else if(De.includes(n.extension))l=we(n.content,n.extension);else return{status:c.FAILED};return e[o].config=l,{status:c.OK}}function we(e,o){return o=="lua"?oo(e):o=="py"?to(e):o=="json"?no(e):{}}function to(e){const o={},t=e.split(`
17
+ `);for(const n of t){const l=n.match(/# (\w+): (.+)/);if(l){const[,a,r]=l;o[a]=String(r)}}return o}function oo(e){const o={},t=e.split(`
18
+ `);for(const n of t){const l=n.match(/-- (\w+): (.+)/);if(l){const[,a,r]=l;o[a]=String(r)}}return o}function no(e){const o=JSON.parse(e).config;return o===void 0?{}:o}function lo(e){let o=[];return e.config!=null&&(Object.keys(e.config).forEach(t=>{o.push({label:[t],value:e.config[t]})}),o.push({label:"",value:""})),o}function ao(e){let o={};for(let t=0;t<e.length;t++){const n=e[t].label;if(n!=""&&n!=null){const l=e[t].value;o[n]=l}}return o}function so(e){if(Ht.indexOf("Linux")!==-1){const o=e.split("/").pop(),t=e.includes(".")?e.split(".").pop():"";return{path:e,filename:o||"",extension:t||""}}else{const o=e.split("\\").pop(),t=e.includes(".")?e.split(".").pop():"";return{path:e,filename:o||"",extension:t||""}}}async function io(e){return await Pt(e)}async function ro(e,o){return Zt(e,o),eo(e,o),await wt(e[o].path,e[o].content)}function co(e,o){if(o.length>0)for(let t=0;t<o.length;t++)e[o[t].platform]=o[t]}let uo=[];const me=e=>(Ye("data-v-67a4e3ae"),e=e(),Ze(),e),po={style:{height:"100%"}},vo={class:"main_div"},fo=me(()=>g("p",null,"Catalejo",-1)),mo={id:"tree_and_commands",class:"tree_and_commands"},go={id:"treeview",class:"treeview"},bo={id:"editor",class:"editor"},yo={id:"toolbar",class:"toolbar"},Eo={id:"tabView",class:"tabview"},ho={id:"blocklyEditor",class:"blocklyeditorclass"},_o={id:"textEditor",class:"texteditorclass"},xo=me(()=>g("span",null,": ",-1)),ko=me(()=>g("div",{id:"log"},null,-1)),Do=F({__name:"App",setup(e){const o=s([]),t=s([]),n=s(""),l=s(0),a=s([]),r=s(),u=s(),b=s(!1),d=s(!1),i=s(T.EN),x=s(C.BLOCKLY),I=s([]),j=s();i.value=T.ES;const B=_e(),te=Ae(),V=s(!0),N=s(!1),U=s(""),M=s([{label:"",value:""}]),H=s(""),K=s(""),oe=m=>{o.value=m},q=async m=>{const y=await zt(a.value,m||"");y.status==c.REQUEST_SELECT_FILE_IN_TABVIEW&&(u.value=y.data)},f=m=>{u.value=m},_=(m,y,k)=>{d.value=!d.value,Gt(a.value,m,y,k)},h=(m,y)=>{d.value=!d.value,Jt(a.value,m,y)},z=async()=>{(await ro(a.value,u.value||0)).status==c.OK?B.add({severity:"success",summary:E(W.savefile.ok,i.value),detail:"",life:3e3}):B.add({severity:"error",summary:E(W.savefile.error,i.value),detail:"",life:3e3})},je=()=>{a.value.length>0&&(Qt(a.value,u.value||0),a.value.length>0&&u.value!=null?u.value<a.value.length?b.value=!b.value:u.value=u.value-1:(x.value=C.WELCOME,u.value=-1))},Ie=()=>{U.value=E(W.titleConfigProjectDialog,i.value),H.value=E(W.dialogButton.ok,i.value),K.value=E(W.dialogButton.close,i.value),u.value!=null&&(M.value=lo(a.value[u.value])),N.value=!0},Le=()=>{x.value=C.WELCOME},ne=async m=>{const y=await io(m);y.status==c.OK&&(Ce(t.value,m).status==c.NOTFOUND&&t.value.push(m),o.value=y.data,n.value=m,l.value=t.value.length)},le=s(!1),Ne=s(""),Te=s(),Fe=async m=>{if(B.add({severity:"info",summary:E(W.toastProccess,i.value),detail:"",life:1500}),j.value!=null){const y=await j.value.commandEmit(r.value,m);switch(y.typeResult){case se.TOAST:B.add(y.data);break;case se.TEXT_PRINT:te.open(Xt,{data:{textprint:y.data.content}});break}}},ge=m=>{},Be=()=>{V.value=!V.value},Ve=()=>{N.value=!1,u.value!=null&&(a.value[u.value].config=ao(M.value))},Re=()=>{if(a.value.length>0&&u.value!==void 0){const m=Yt(a.value[u.value]);m.status==c.SET_WS&&(x.value=m.data)}},Se=()=>{if(a.value.length>0&&u.value!==void 0){const m=a.value[u.value].config.platform;m!=null&&m!=""?j.value=I.value[m]:j.value=void 0}},$e=()=>{u.value!=null&&(r.value=a.value[u.value])};return O(u,()=>{Re(),Se(),$e()}),$(async()=>{ne("/home/johnny/projects/catalejo-lua/work"),co(I.value,uo)}),(m,y)=>(D(),w("main",po,[g("div",vo,[Q(g("div",{id:"menu_collapse",class:"menu_collapse",onMouseover:y[0]||(y[0]=k=>ge()),onMouseout:y[1]||(y[1]=k=>ge())},[fo,Q(g("div",mo,[g("div",null,[p(Nt,{lang:i.value,workDirPath:n.value,onDirconfigUpdate:oe,onSaveProjectRequest:z,onDirPathSelected:ne},null,8,["lang","workDirPath"])]),g("div",go,[p(_t,{filePaths:o.value,dirPaths:t.value,dirPathsLength:l.value,lang:i.value,onFileSelected:q,onDirPathSelected:ne},null,8,["filePaths","dirPaths","dirPathsLength","lang"])])],512),[[G,V.value]])],544),[[G,V.value]]),g("div",bo,[g("div",yo,[p(Ut,{lang:i.value,plugin:j.value,onMenuToggle:Be,onSaveProjectRequest:z,onCloseProject:je,onConfigProject:Ie,onPluginCommand:Fe},null,8,["lang","plugin"])]),g("div",Eo,[p(Ot,{index:u.value,projects:a.value,contentchanges:d.value,lang:i.value,update:b.value,onIndexOfProjectToLoad:f},null,8,["index","projects","contentchanges","lang","update"])]),Q(g("div",ho,[p(Wt,{projects:a.value,index:u.value,workspace:x.value,plugin:j.value,update:b.value,onXmltextIndex:h,onBlocklyMounted:Le},null,8,["projects","index","workspace","plugin","update"])],512),[[G,x.value==v(C).BLOCKLY]]),Q(g("div",_o,[p(ut,{projects:a.value,index:u.value,workspace:x.value,update:b.value,onContentCursorIndex:_},null,8,["projects","index","workspace","update"])],512),[[G,x.value==v(C).CODEMIRROR]])]),p(v(Z),{visible:N.value,"onUpdate:visible":y[3]||(y[3]=k=>N.value=k),modal:"",header:U.value,style:{width:"32rem"}},{default:A(()=>[g("div",null,[(D(!0),w(ce,null,ue(M.value,k=>(D(),w("div",null,[p(v(Y),{type:"text",size:"small",modelValue:k.label,"onUpdate:modelValue":ae=>k.label=ae},null,8,["modelValue","onUpdate:modelValue"]),xo,p(v(Y),{type:"text",size:"small",modelValue:k.value,"onUpdate:modelValue":ae=>k.value=ae},null,8,["modelValue","onUpdate:modelValue"])]))),256)),p(v(R),{type:"button",label:K.value,severity:"secondary",onClick:y[2]||(y[2]=k=>N.value=!1)},null,8,["label"]),p(v(R),{type:"button",label:H.value,onClick:Ve},null,8,["label"])])]),_:1},8,["visible","header"]),p(v(ie)),p(v(Z),{visible:le.value,"onUpdate:visible":y[5]||(y[5]=k=>le.value=k),modal:"",header:Ne.value},{default:A(()=>[p(v(ke),{autoResize:"",rows:"30",cols:"80"},{default:A(()=>[Je(S(Te.value),1)]),_:1}),g("div",null,[p(v(R),{type:"button",label:K.value,severity:"secondary",onClick:y[4]||(y[4]=k=>le.value=!1)},null,8,["label"])])]),_:1},8,["visible","header"]),p(v(Ue))]),ko]))}}),Oo=X(Do,[["__scopeId","data-v-67a4e3ae"]]),ee=et(Oo);ee.use(Xe);ee.use(He);ee.use(qe);ee.mount("#app");
@@ -0,0 +1 @@
1
+ .main_div{display:flex;padding:0;margin:0;height:100%}.menu_collapse{width:200px;flex:0 0 auto;margin:0;padding:0}.tree_and_commands{width:100%;margin:0;padding:0}.editor{flex:1 0 0 auto;display:flex;flex-direction:column;align-items:stretch;overflow:auto;width:100%}.tabview{max-height:content;overflow-y:auto;width:100%;height:55px}.toolbar{height:55px}.blocklyeditorclass{flex:1;height:100%;max-width:100%;overflow-x:auto;overflow-y:auto}.texteditorclass{flex:1;max-width:100%;overflow-x:auto;overflow-y:auto}[data-v-7d510def] .p-tree{padding:0}.card[data-v-8ef45e55]{background:var(--surface-card);padding:0;border-radius:10px;margin-bottom:0}[data-v-8ef45e55] .p-tabview .p-tabview-panels{padding:0;background:gray}[data-v-8ef45e55] .p-tabview .p-tabview-nav{padding:3px}.card[data-v-4a78b33e]{background:var(--surface-card);padding:0rem;border-radius:10px;margin-bottom:0rem}.blocklyWorkspace:hover .blocklyTreeLabel[data-v-c029079e]{display:none}.blocklyToolboxContents[data-v-c029079e]{flex-wrap:inherit}.blocklyToolboxDiv[data-v-c029079e]{background-color:#63a1d2}.blocklyToolboxDiv[data-v-c029079e]:hover{width:auto}.div_blockly[data-v-c029079e]{width:100%;height:100%}.blocklyDivClass[data-v-c029079e]{height:100%;width:100%;text-align:left;position:relative}.blocklyTreeLabel[data-v-c029079e]{display:block-inline;color:#fff}.blocklySvg[data-v-c029079e]{width:100%;height:100%}.blocklyAreaClass[data-v-c029079e]{height:100%}.main_div[data-v-67a4e3ae]{display:flex;padding:0;margin:0;height:100%}.menu_collapse[data-v-67a4e3ae]{width:200px;flex:0 0 auto;margin:0;padding:0}.tree_and_commands[data-v-67a4e3ae]{width:100%;margin:0;padding:0}.editor[data-v-67a4e3ae]{flex:1 0 0 auto;display:flex;flex-direction:column;align-items:stretch;overflow:auto;width:100%}.tabview[data-v-67a4e3ae]{max-height:content;overflow-y:auto;width:100%;height:55px}.toolbar[data-v-67a4e3ae]{height:55px}.blocklyeditorclass[data-v-67a4e3ae]{flex:1;height:100%;max-width:100%;overflow-x:auto;overflow-y:auto}.texteditorclass[data-v-67a4e3ae]{flex:1;max-width:100%;overflow-x:auto;overflow-y:auto}
@@ -0,0 +1 @@
1
+ @font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}