cruds update
This commit is contained in:
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
import{S as x}from"./SectionTitle-CrHOP_mf.js";import{I as h}from"./IconoLlama-BavanhPF.js";import{g as y,_ as b,u as q,c as p,r as C,d as e,f as m,F as _,b as s,l as g,w as F,m as V,t as w,e as n,i as B,z as T,s as A}from"./index-BmU8V2V2.js";const L=async()=>{try{const{data:o}=await y.get("/preguntas-frecuentes-all");return o}catch(o){throw console.log(o),new Error("Error getting preguntas frecuentes")}},M=["onClick"],N={class:"flex items-center"},j={class:"font-medium"},E={key:0,xmlns:"http://www.w3.org/2000/svg",class:"flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},I={key:1,xmlns:"http://www.w3.org/2000/svg",class:"flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},S={key:0,class:"p-4"},z=["innerHTML"],H={__name:"AskFrequentlyView",setup(o){const{data:l}=q({queryKey:["preguntasFrecuentes"],queryFn:()=>L(),staleTime:6e4}),f=p(()=>{var t;return((t=l==null?void 0:l.value)==null?void 0:t.categorias)||[]}),u=p(()=>A.contrast),r=C({}),k=t=>{r.value[t]=!r.value[t]};return(t,a)=>(s(!0),e(_,null,m(f.value,c=>(s(),e("div",{class:"faq-container mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl select-none",key:c.id},[g(x,null,{default:F(()=>[V(w(c.categoria_nombre),1)]),_:2},1024),(s(!0),e(_,null,m(c.preguntas,({pregunta:d,respuesta:v,id:i})=>(s(),e("div",{key:d.id,class:"faq-item mb-2"},[n("div",{onClick:O=>k(i),class:B([{"bg-black":u.value,"bg-white":!u.value},"cursor-pointer shadow-[0_5px_5px_rgba(0,0,0,0.1)] rounded-lg p-4 flex items-center justify-between"])},[n("div",N,[g(h),n("span",j,w(d),1)]),r.value[i]?(s(),e("svg",E,a[0]||(a[0]=[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"},null,-1)]))):(s(),e("svg",I,a[1]||(a[1]=[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])))],10,M),r.value[i]?(s(),e("div",S,[n("p",{class:"mb-4 faq-response",innerHTML:v},null,8,z)])):T("",!0)]))),128))]))),128))}},$=b(H,[["__scopeId","data-v-5af61f57"]]);export{$ as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
.faq-response[data-v-5af61f57]{white-space:pre-line}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{S as h}from"./SectionTitle-CrHOP_mf.js";import{g as b,_ as g,r as f,u as x,c as u,d as r,e,l as _,w as v,F as y,f as C,b as t,m as j,i as B,t as n,z as w,s as V}from"./index-BmU8V2V2.js";const A=async()=>{try{const{data:a}=await b.get("/loadoficinasatencionall");return a}catch(a){throw console.log(a),new Error("Error getting oficinas atencion")}},L={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},M={class:"w-full"},N=["onClick"],O={class:"font-semibold"},z={key:0,class:""},F={key:1,class:""},T={key:0,class:"p-4 mt-2 rounded-b shadow-lg"},E={class:""},I={key:0,class:"flex items-center mb-2 break-words word-break"},S={class:"break-words word-break"},q={key:1,class:"flex items-center mb-2 break-words word-break"},D={class:"break-words word-break"},G={class:"flex items-center mb-2 break-words word-break"},K={class:"break-words word-break"},Q={class:"flex items-center mb-2 break-words word-break"},H={class:"break-words word-break"},P={class:"flex items-center mb-2 break-words word-break"},U={class:"break-words word-break"},X={class:"flex items-center mb-2 break-words word-break"},$={class:"break-words word-break"},J={__name:"AttentionOfficesView",setup(a){const i=f(null),m=l=>{i.value=i.value===l?null:l},{data:d}=x({queryKey:["oficinasAtencion"],queryFn:()=>A(),staleTime:1e3*60}),p=u(()=>{var l;return((l=d==null?void 0:d.value)==null?void 0:l.registros)||[]}),k=u(()=>V.contrast);return(l,s)=>(t(),r("div",L,[s[8]||(s[8]=e("div",{class:"w-full flex justify-center items-center mb-6"},[e("iframe",{class:"w-full h-[700px] rounded",src:"https://www.google.com/maps/d/u/0/embed?mid=1kxsADxuCL8sQL8ItVDXPjlG1k2gueNKF&ll=7.546385018476524%2C-72.46072375000001&z=10",width:"640",height:"900",allowfullscreen:"",loading:"lazy"})],-1)),e("div",M,[_(h,null,{default:v(()=>s[0]||(s[0]=[j("Oficinas de atención Gases del Oriente")])),_:1}),s[7]||(s[7]=e("p",{class:"mb-4"},"Hacer click o tocar en el nombre de cada oficina para ver la información",-1)),(t(!0),r(y,null,C(p.value,(o,c)=>(t(),r("div",{key:o.id,class:"mb-2"},[e("div",{onClick:R=>m(c),class:B([{"bg-black":k.value,"bg-white":!k.value},"cursor-pointer flex justify-between items-center p-4 rounded shadow-lg"])},[e("h3",O,n(o.ciudad),1),i.value===c?(t(),r("span",z,"-")):(t(),r("span",F,"+"))],10,N),i.value===c?(t(),r("div",T,[e("ul",E,[o.direccion1?(t(),r("li",I,[s[1]||(s[1]=e("svg",{class:"w-4 h-4 flex-shrink-0 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),e("span",S,n(o.direccion1),1)])):w("",!0),o.direccion2!="NULL"?(t(),r("li",q,[s[2]||(s[2]=e("svg",{class:"w-4 h-4 flex-shrink-0 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),e("span",D,n(o.direccion2),1)])):w("",!0),e("li",G,[s[3]||(s[3]=e("svg",{class:"w-4 h-4 flex-shrink-0 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),e("span",K,n(o.horario),1)]),e("li",Q,[s[4]||(s[4]=e("svg",{class:"w-4 h-4 flex-shrink-0 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),e("span",H,"Tel "+n(o.telefono),1)]),e("li",P,[s[5]||(s[5]=e("svg",{class:"w-4 h-4 flex-shrink-0 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),e("span",U,"Línea de emergencias "+n(o.linea_emergencia),1)]),e("li",X,[s[6]||(s[6]=e("svg",{class:"w-4 h-4 flex-shrink-0 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)),e("span",$,n(o.email),1)])])])):w("",!0)]))),128))])]))}},Z=g(J,[["__scopeId","data-v-3ab4c4e7"]]);export{Z as default};
|
||||
@@ -1 +0,0 @@
|
||||
body[data-v-3ab4c4e7]{background-color:#002b5c}.word-break[data-v-3ab4c4e7]{word-break:break-word}
|
||||
-1
@@ -1 +0,0 @@
|
||||
.embedded-site[data-v-1d3df865]{width:100%;height:100vh}
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{_ as r,b as s,d as a,e as c,M as d}from"./index-BmU8V2V2.js";const o={},n={class:"embedded-site max-w-4xl mx-auto rounded-3xl shadow-lg"};function _(t,e){return s(),a("div",n,e[0]||(e[0]=[c("iframe",{src:"https://fnbgasesdeloriente.com/credit-simulator",frameborder:"0",class:"w-full h-screen"},null,-1)]))}const l=r(o,[["render",_],["__scopeId","data-v-1d3df865"]]),f={__name:"CheckCreditView",setup(t){return(e,m)=>(s(),d(l,{class:"mt-10 mb-10"}))}};export{f as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{P as l}from"./PdfDownload-B_7ePhU0.js";import{g as u,u as d,c as g,d as p,f as i,F as f,b as e,M as _,h as s}from"./index-BmU8V2V2.js";import"./SectionTitle-CrHOP_mf.js";import"./SecondaryButton-CAqGmnmb.js";const w=async()=>{try{const{data:r}=await u.get("/loadcodigoetica");return r}catch(r){throw console.log(r),new Error("Error getting codigo etica")}},A={__name:"CodEthicsView",setup(r){const t="https://www.gasesdeloriente.com.co",{data:a}=d({queryKey:["codigoEtica"],queryFn:()=>w(),staleTime:6e4}),n=g(()=>{var c;return((c=a==null?void 0:a.value)==null?void 0:c.records)||[]});return(c,h)=>(e(!0),p(f,null,i(n.value,o=>(e(),_(l,{title:o==null?void 0:o.title,description:o==null?void 0:o.description,imageSrc:`${s(t)}/${o==null?void 0:o.imagen}`,imageAlt:o==null?void 0:o.title,buttonText:o==null?void 0:o.text_button,fileUrl:`${s(t)}/${o==null?void 0:o.archivo}`},null,8,["title","description","imageSrc","imageAlt","buttonText","fileUrl"]))),256))}};export{A as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as x}from"./SectionTitle-CrHOP_mf.js";import{S as b}from"./SecondaryButton-CAqGmnmb.js";import{g as f,u as S,c as v,d as A,l as r,w as d,e as t,i as c,t as E,h as u,b as T,m,s as h}from"./index-BmU8V2V2.js";const C=async()=>{try{const{data:a}=await f.get("/loadpoliticas");return console.log(a),a}catch(a){throw console.log(a),new Error("Error getting publicaciones")}},L={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},P={class:"flex flex-col lg:flex-row items-center lg:items-start lg:space-x-8 mb-8"},y={class:"lg:w-3/5 mb-6 lg:mb-0"},I={class:""},k={class:"mt-4"},O={class:"w-full lg:w-1/3"},N={class:"mt-4"},V={class:"w-full lg:w-1/2"},D={class:"lg:w-2/5"},M=["src"],B=["innerHTML"],G=["innerHTML"],q={__name:"CompanyPoliticView",setup(a){const i="https://www.gasesdeloriente.com.co",{data:n}=S({queryKey:["politicas"],queryFn:()=>C(),staleTime:6e4}),o=v(()=>(n==null?void 0:n.value)||[]),l=v(()=>h.contrast),p=g=>{window.open(g,"_blank")};return(g,s)=>{var _;return T(),A("div",L,[r(x,null,{default:d(()=>s[2]||(s[2]=[m("Políticas")])),_:1}),t("div",P,[t("div",y,[t("div",{class:c([{"bg-black":l.value,"bg-white":!l.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[t("p",I,E(o.value.description),1),t("div",k,[s[4]||(s[4]=t("h3",{class:"font-bold mb-2"},"POLÍTICAS GASES DEL ORIENTE S.A. E.S.P.",-1)),t("div",O,[r(b,{onClick:s[0]||(s[0]=w=>{var e;return p(u(i)+"/"+((e=o.value)==null?void 0:e.archivo_gases))}),class:"mb-2"},{default:d(()=>s[3]||(s[3]=[m("Política de ventas ")])),_:1})])]),t("div",N,[s[6]||(s[6]=t("h3",{class:"font-bold mb-2"},"POLÍTICAS DEL PLAN ESTRATÉGICO DE SEGURIDAD VIAL - PESV -",-1)),t("div",V,[r(b,{onClick:s[1]||(s[1]=w=>{var e;return p(u(i)+"/"+((e=o.value)==null?void 0:e.archivo_plan))})},{default:d(()=>s[5]||(s[5]=[m("Política de seguridad vial ")])),_:1})])])],2)]),t("div",D,[t("img",{src:`${u(i)}/${(_=o.value)==null?void 0:_.imagen}/`,alt:"Gas Natural",class:"rounded-lg shadow-md mx-auto lg:mx-0"},null,8,M)])]),t("div",{class:c([{"bg-black":l.value,"bg-white":!l.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] mt-8"])},[s[7]||(s[7]=t("h3",{class:"font-bold mb-4"},"POLÍTICA SOCIAL",-1)),t("p",{innerHTML:o.value.politica_social,class:"mb-4"},null,8,B)],2),t("div",{class:c([{"bg-black":l.value,"bg-white":!l.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] mt-8"])},[s[8]||(s[8]=t("h3",{class:"font-bold mb-4"},"POLÍTICA ECONÓMICA",-1)),t("p",{innerHTML:o.value.politica_economica,class:"mb-4"},null,8,G)],2)])}}};export{q as default};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{P as i}from"./PdfDownload-B_7ePhU0.js";import{u as n,M as c,h as e,b as s,k as p}from"./index-BmU8V2V2.js";import"./SectionTitle-CrHOP_mf.js";import"./SecondaryButton-CAqGmnmb.js";const b={__name:"ContractView",setup(l){const a="https://www.gasesdeloriente.com.co",{data:o}=n({queryKey:["parametrizacionweb"],queryFn:()=>p(),retry:!1});return(m,d)=>{var t,r;return s(),c(i,{title:"Contrato condiciones",description:(t=e(o))==null?void 0:t.contrato_condiciones_descripcion,imageSrc:"/assets/img39.webp",imageAlt:"CONTRATO CONDICIONES",buttonText:"Contrato condiciones 072024",fileUrl:`${e(a)}/${(r=e(o))==null?void 0:r.contrato_condiciones}`},null,8,["description","fileUrl"])}}};export{b as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as p}from"./SectionTitle-CrHOP_mf.js";import{g as w,c as h,u as x,d as b,l as u,w as _,e,i as n,h as t,b as f,m as g,s as v}from"./index-BmU8V2V2.js";const L=async()=>{try{const{data:a}=await w.get("/loadlineaetica");return a}catch(a){throw console.log(a),new Error("Error getting linea etica")}},T={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},y={class:"flex flex-col lg:flex-row items-stretch mt-4"},E={class:"w-full lg:w-1/2 lg:pr-4 mb-4 lg:mb-0 flex flex-col space-y-8"},H=["innerHTML"],M={class:"font-semibold mb-2"},k=["innerHTML"],V={class:"w-full lg:w-1/2 lg:pl-4 flex items-center"},q=["src"],B=["innerHTML"],C={__name:"EthicLineView",setup(a){const m="https://www.gasesdeloriente.com.co",s=h(()=>v.contrast),{data:l}=x({queryKey:["lineaEtica"],queryFn:()=>L(),staleTime:1e3*60});return(N,o)=>{var i,c,r,d;return f(),b("div",T,[u(p,null,{default:_(()=>o[0]||(o[0]=[g("Linea Ética")])),_:1}),e("div",y,[e("div",E,[e("div",{class:n([{"bg-black":s.value,"bg-white":!s.value},"p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)] h-full flex flex-col"])},[e("p",{class:"mb-4 whitespace-pre-line",innerHTML:(i=t(l))==null?void 0:i.description},null,8,H)],2),e("div",{class:n([{"bg-black":s.value,"bg-white":!s.value},"p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",M,[e("p",{class:"whitespace-pre-line",innerHTML:(c=t(l))==null?void 0:c.contacto},null,8,k)])],2)]),e("div",V,[e("img",{src:`${t(m)}/${(r=t(l))==null?void 0:r.imagen}`,alt:"Valores corporativos",class:"shadow-md w-full h-full object-cover"},null,8,q)])]),u(p,{class:"pt-12"},{default:_(()=>o[1]||(o[1]=[g("Situaciones que pueden ser reportadas:")])),_:1}),e("div",{class:n([{"bg-black":s.value,"bg-white":!s.value},"mt-8 mb-8 p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",{class:"whitespace-pre-line",innerHTML:(d=t(l))==null?void 0:d.situaciones},null,8,B)],2)])}}};export{C as default};
|
||||
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{S as g}from"./SectionTitle-CrHOP_mf.js";import{g as m,u as x,c as h,d as b,l as w,w as v,e,i,h as a,b as f,m as y,s as T}from"./index-BmU8V2V2.js";const k="/assets/img33-B9b8dcQm.webp",F=async()=>{try{const{data:o}=await m.get("/loadfcr");return o}catch(o){throw console.log(o),new Error("Error getting fcr")}},H={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},L={class:"mt-8 flex flex-col lg:flex-row lg:space-x-8"},M={class:"lg:w-1/2 space-y-4"},C=["innerHTML"],R=["innerHTML"],B=["innerHTML"],V={class:"mt-8 space-y-4"},$=["innerHTML"],z={class:"mt-8 flex flex-col gap-6 mb-8"},A=["href"],E=["href"],q={__name:"FcrView",setup(o){const n="https://www.gasesdeloriente.com.co",{data:t}=x({queryKey:["fcr"],queryFn:()=>F(),staleTime:6e4}),s=h(()=>T.contrast);return(N,r)=>{var c,l,d,p,_,u;return f(),b("div",H,[w(g,null,{default:v(()=>r[0]||(r[0]=[y("FCR - Firmas Constructoras y / o Reparadoras")])),_:1}),r[2]||(r[2]=e("p",{class:"mt-4 text-lg leading-7 text-gray-600"}," Para el registro de Firmas Constructoras y Reparadoras, deben seguir el siguiente procedimiento: ",-1)),e("div",L,[e("div",M,[e("div",{class:i([{"bg-black":s.value,"bg-white":!s.value},"rounded-2xl p-6 shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",{class:"whitespace-pre-line",innerHTML:(c=a(t))==null?void 0:c.paso_1},null,8,C)],2),e("div",{class:i([{"bg-black":s.value,"bg-white":!s.value},"rounded-2xl p-6 shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",{class:"whitespace-pre-line",innerHTML:(l=a(t))==null?void 0:l.paso_2},null,8,R)],2),e("div",{class:i([{"bg-black":s.value,"bg-white":!s.value},"rounded-2xl p-6 shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",{class:"whitespace-pre-line",innerHTML:(d=a(t))==null?void 0:d.paso_3},null,8,B)],2)]),r[1]||(r[1]=e("div",{class:"lg:w-1/2 flex justify-center items-center"},[e("img",{src:k,alt:"Trabajador con casco y herramientas",class:"rounded-2xl shadow-md"})],-1))]),e("div",V,[e("div",{class:i([{"bg-black":s.value,"bg-white":!s.value},"rounded-2xl p-6 shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",{class:"whitespace-pre-line",innerHTML:(p=a(t))==null?void 0:p.paso_4},null,8,$)],2)]),e("div",z,[e("a",{href:`${a(n)}/${(_=a(t))==null?void 0:_.archivo_inscripcion}`,class:"text-[#1941c5] hover:underline font-semibold",target:"_blank"},"Descargar Solicitud de inscripción y/o actualización en registro FCR",8,A),e("a",{href:`${a(n)}/${(u=a(t))==null?void 0:u.archivo_instructivo}`,class:"text-[#1941c5] hover:underline font-semibold",target:"_blank"},"Instructivo; Inscripción y/o Actualización en el Registro de Firmas Constructoras y Reparadoras",8,E)])])}}};export{q as default};
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
@@ -1 +0,0 @@
|
||||
button[data-v-50e28b44]:focus{outline:none}.transition-transform[data-v-50e28b44]{transition:transform .5s}
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
.form-control-doble[data-v-20076456]{border-radius:.25rem;border-width:1px;padding:.75rem .5rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.form-control[data-v-20076456]{width:100%;border-radius:.25rem;border-width:1px;padding:.75rem .5rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.input[type=checkbox][data-v-20076456]{display:none}.custom-checkbox[data-v-20076456]{display:inline-block;width:30px;height:30px;border:1px solid #bcbcbc;border-radius:50%;position:relative;cursor:pointer;background-color:#fff}.custom-checkbox[data-v-20076456]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;background-color:#284c91;border-radius:50%;opacity:0}.input[type=checkbox]:checked+.custom-checkbox[data-v-20076456]:after{opacity:1}
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
@@ -1 +0,0 @@
|
||||
button[data-v-5d7f05e4]:focus{outline:none}.transition-transform[data-v-5d7f05e4]{transition:transform .5s}
|
||||
Vendored
-4
File diff suppressed because one or more lines are too long
Binary file not shown.
Vendored
-1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{_ as c,b as n,d as l,e as d,g as u,u as _,M as p,h as s}from"./index-BmU8V2V2.js";const v={name:"VideoPreview",props:{videoUrl:{type:String,required:!0}}},w={class:"max-w-6xl mx-auto p-8"},f=["src"];function m(e,r,t,i,a,o){return n(),l("div",w,[d("video",{src:t.videoUrl,controls:"",class:"w-full border-none"},null,8,f)])}const g=c(v,[["render",m]]),h=async()=>{try{const{data:e}=await u.get("/loadvideoinstitucional");return e}catch(e){throw console.log(e),new Error("Error getting video institucional")}},x={__name:"InstitutionalVideoView",setup(e){const r="https://www.gasesdeloriente.com.co",{data:t}=_({queryKey:["videoInstitucional"],queryFn:()=>h(),retry:!1});return(i,a)=>{var o;return n(),p(g,{videoUrl:`${s(r)}/${(o=s(t))==null?void 0:o.video_institucional}`},null,8,["videoUrl"])}}};export{x as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
button[data-v-b0bbcf36]:focus{outline:none}
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{g as h,r as _,u as y,c as m,o as b,d as l,l as p,w as C,F as w,f as v,$,b as r,m as B,e as n,t as N,i as S,M as T,h as f,z as V,s as q}from"./index-BmU8V2V2.js";import{S as A}from"./SectionTitle-CrHOP_mf.js";import{P as I}from"./PdfDownload-B_7ePhU0.js";import{I as M}from"./IconoLlama-BavanhPF.js";import"./SecondaryButton-CAqGmnmb.js";const j=async()=>{try{const{data:i}=await h.get("/comunicados-all");return i}catch(i){throw console.log(i),new Error("Error getting comunicados")}},F={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},L=["onClick"],U={class:"flex items-center"},z={key:0,xmlns:"http://www.w3.org/2000/svg",class:"flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},E={key:1,xmlns:"http://www.w3.org/2000/svg",class:"flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},P={key:0,class:"space-y-4"},H={__name:"LatestNewsView",setup(i){const c="https://www.gasesdeloriente.com.co",d=$(),a=_(null),{data:u}=y({queryKey:["comunicados"],queryFn:()=>j(),staleTime:1e3*60}),k=m(()=>{var s;return((s=u==null?void 0:u.value)==null?void 0:s.categorias)||[]}),g=m(()=>q.contrast),x=s=>{a.value=a.value===s?null:s};return b(()=>{const s=d.query.categoria,o=d.query.comunicado;s&&(a.value=Number(s),setTimeout(()=>{const t=document.querySelector(`#comunicado-${o}`);t==null||t.scrollIntoView({behavior:"smooth",block:"start"})},300))}),(s,o)=>(r(),l("div",F,[p(A,null,{default:C(()=>o[0]||(o[0]=[B("Comunicados informativos")])),_:1}),(r(!0),l(w,null,v(k.value,t=>(r(),l("div",{key:t.categoria_id,class:"select-none"},[n("div",{class:S([{"bg-black":g.value,"bg-white":!g.value},"text-lg font-bold mb-4 cursor-pointer shadow-lg p-4 rounded-lg flex items-center justify-between"]),onClick:e=>x(t.categoria_id)},[n("div",U,[p(M),n("span",null,N(t.categoria_nombre),1)]),a.value===t.categoria_id?(r(),l("svg",z,o[1]||(o[1]=[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"},null,-1)]))):(r(),l("svg",E,o[2]||(o[2]=[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])))],10,L),a.value===t.categoria_id?(r(),l("div",P,[(r(!0),l(w,null,v(t.comunicados,e=>(r(),T(I,{key:e.id,title:e==null?void 0:e.title,id:"comunicado-"+(e==null?void 0:e.id),description:e.description,imageSrc:`${f(c)}/${e.imagen}`,imageAlt:e.title,buttonText:e.text_button,fileUrl:`${f(c)}/${e.archivo}`},null,8,["title","id","description","imageSrc","imageAlt","buttonText","fileUrl"]))),128))])):V("",!0)]))),128))]))}};export{H as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as m}from"./SectionTitle-CrHOP_mf.js";import{O as c,d as t,l as i,w as l,e as a,F as d,f as p,b as s,m as u,t as g}from"./index-BmU8V2V2.js";const _={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},x={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4 mt-8"},w=["src","alt"],b={class:"mt-2 text-center font-semibold"},v={__name:"LocationBuyView",setup(f){const n=c({paymentPoints:[{name:"Colchones Dormi",image:"colchonesDormi.webp"},{name:"Credinorte",image:"credinorte.webp"},{name:"Comultrasan",image:"multicomultrasan.webp"},{name:"Dubo",image:"dubo.webp"},{name:"Asycon",image:"asycon.webp"}]});return(h,o)=>(s(),t("div",_,[i(m,null,{default:l(()=>o[0]||(o[0]=[u("¿Dónde puedes comprar?")])),_:1}),a("div",x,[(s(!0),t(d,null,p(n.paymentPoints,(e,r)=>(s(),t("div",{key:r,class:"shadow-lg rounded-lg p-4 flex flex-col items-center"},[a("img",{src:e.image,alt:e.name,class:"w-32 h-32 object-contain"},null,8,w),a("p",b,g(e.name),1)]))),128))])]))}};export{v as default};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{g as P,p as A,c as I,B as z,C as f,d as b,e,l,w as i,v as E,x,y as v,h as r,E as y,G as _,t as F,z as M,i as T,F as U,L as q,b as k,m as d,s as G}from"./index-BmU8V2V2.js";import{S as h}from"./SectionTitle-CrHOP_mf.js";import{P as N}from"./PrimaryButton-Bm01EosZ.js";import{S as j}from"./SecondaryButton-CAqGmnmb.js";import{u as R}from"./vee-validate-uNXg2txt.js";const D="/assets/img20-MIOigyB8.webp",L=async(p,n)=>{try{const{data:o}=await P.post("/do/login",{nombre_usuario:p,password:n});return o}catch(o){throw console.log(o),new Error("Error logging in")}},$={class:"max-w-5xl mx-auto p-8"},Q={class:"relative w-full max-w-5xl shadow-lg rounded-[35px] overflow-hidden"},H={class:"relative w-full h-0 pb-[120%] md:pb-[60%] lg:pb-[50%]"},J={class:"absolute inset-0 z-10 flex flex-col justify-center p-8 lg:max-w-md lg:ml-8"},K={class:"mb-4"},W={class:"mb-8"},X={class:"flex justify-center"},Y={key:0,class:"mt-4 text-red-500 text-center"},Z={class:"max-w-5xl mx-auto p-8 mb-8"},ss={class:"grid grid-cols-1 md:grid-cols-2 gap-8"},ns={__name:"LoginView",setup(p){const n=A(),o=I(()=>G.contrast),S=z({username:f().required(),password:f()}),{values:es,defineField:c,errors:g,handleSubmit:B,resetForm:rs}=R({validationSchema:S}),[u,V]=c("username"),[m,C]=c("password"),w=B(async a=>{try{const s=await L(a.username,a.password);switch(s.status){case"success":window.location.href="/app/dashboard";break;case"missing":window.location.href="/update-credentials";break;case"error":s.message=="no_password"?window.location.href="/update-credentials":n.error(s.message,{timeout:8e3});break;default:break}}catch(s){switch(s.status){case"success":window.location.href="/app/dashboard";break;case"missing":window.location.href="/update-credentials";break;case"error":s.message=="no_password"?window.location.href="/update-credentials":n.error(s.message,{timeout:8e3});break}}});return(a,s)=>{const O=q("router-link");return k(),b(U,null,[e("div",$,[l(h,null,{default:i(()=>s[3]||(s[3]=[d("Oficina Virtual Gases del Oriente")])),_:1}),s[10]||(s[10]=e("p",{class:"mb-12"}," Bienvenid@ a la Oficina Virtual de Gases del Oriente SA ESP. Si ya está registrado(a), puede iniciar sesión con el Usuario y Contraseña asignados durante el registro. Si aún no tiene Usuario y Contraseña, es necesario registrarse según las acciones que desee realizar. ",-1)),e("div",Q,[e("div",H,[s[9]||(s[9]=e("img",{src:D,alt:"Background Image",class:"absolute inset-0 w-full h-full object-cover rounded-[35px]"},null,-1)),e("div",J,[s[8]||(s[8]=e("h1",{class:"text-2xl lg:text-4xl font-bold mb-6 text-[#404e7b] text-center"}," Iniciar sesión ",-1)),e("form",{onSubmit:s[2]||(s[2]=E((...t)=>r(w)&&r(w)(...t),["prevent"])),method:"POST"},[e("div",K,[s[4]||(s[4]=e("label",{for:"usuario",class:"block text-md font-medium"},"Usuario",-1)),x(e("input",y({"onUpdate:modelValue":s[0]||(s[0]=t=>_(u)?u.value=t:null)},r(V),{type:"text",id:"usuario",required:"",name:"nombre_usuario",class:["mt-1 block w-full px-3 border py-3 lg:py-4 rounded-xl shadow-[0_5px_25px_rgba(0,0,0,0.1)]",{"border-red-500":r(g).username}],placeholder:"Ingrese su usuario"}),null,16),[[v,r(u)]])]),e("div",W,[s[5]||(s[5]=e("label",{for:"password",class:"block text-md font-medium"},[e("p",null,"Contraseña")],-1)),x(e("input",y({"onUpdate:modelValue":s[1]||(s[1]=t=>_(m)?m.value=t:null)},r(C),{type:"password",id:"password",name:"password",class:["mt-1 block w-full px-3 border py-3 lg:py-4 rounded-xl shadow-[0_5px_25px_rgba(0,0,0,0.1)]",{"border-red-500":r(g).password}],placeholder:"Ingrese su contraseña"}),null,16),[[v,r(m)]])]),s[7]||(s[7]=e("a",{href:"/request-password-reset",class:"text-black"},"¿Olvidaste tu contraseña?",-1)),e("div",X,[l(N,null,{default:i(()=>s[6]||(s[6]=[d("Iniciar sesión")])),_:1})]),a.errorMessage?(k(),b("p",Y,F(a.errorMessage),1)):M("",!0)],32)])])])]),e("div",Z,[l(h,null,{default:i(()=>s[11]||(s[11]=[d(" ¿Aún no estás registrado?")])),_:1}),e("div",ss,[e("div",{class:T([{"bg-black":o.value,"bg-white":!o.value},"flex-grow p-10 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[s[13]||(s[13]=e("p",{class:"mb-4"}," Podrá ver o imprimir facturas, consultar o registrar PQRs, consultar estado de créditos, realizar pagos. ",-1)),l(O,{to:"/register-gas"},{default:i(()=>[l(j,null,{default:i(()=>s[12]||(s[12]=[d(" Registrarse como usuario del Gas ")])),_:1})]),_:1})],2)])])],64)}}};export{ns as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as p}from"./SectionTitle-CrHOP_mf.js";import{P as i}from"./PdfDownload-B_7ePhU0.js";import{g,u as x,c as f,d as c,e as w,l as _,w as y,F as l,f as h,b as e,m as A,M as T,h as u}from"./index-BmU8V2V2.js";import"./SecondaryButton-CAqGmnmb.js";const b=async()=>{try{const{data:a}=await g.get("/loadintegridadanticorrupcion");return a}catch(a){throw console.log(a),new Error("Error getting codigo etica")}},v={class:"mx-auto pt-8 px-4 sm:px-6 lg:px-8 max-w-6xl"},k={__name:"ManualPteeView",setup(a){const n="https://www.gasesdeloriente.com.co",{data:o}=x({queryKey:["integridadAnticorrupcion"],queryFn:()=>b(),staleTime:6e4}),d=f(()=>{var t;return((t=o==null?void 0:o.value)==null?void 0:t.records)||[]});return(t,s)=>(e(),c(l,null,[w("div",v,[_(p,null,{default:y(()=>s[0]||(s[0]=[A("Integridad y anticorrupción")])),_:1})]),(e(!0),c(l,null,h(d.value,r=>(e(),T(i,{title:r==null?void 0:r.title,description:r==null?void 0:r.description,imageSrc:`${u(n)}/${r==null?void 0:r.imagen}`,imageAlt:r==null?void 0:r.title,buttonText:r==null?void 0:r.text_button,fileUrl:`${u(n)}/${r==null?void 0:r.archivo}`},null,8,["title","description","imageSrc","imageAlt","buttonText","fileUrl"]))),256))],64))}};export{k as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
.grid-cols-2>div[data-v-661d645b]{display:flex;flex-direction:column}.grid-cols-2>div[data-v-661d645b]>*{display:flex;flex-direction:column;flex-grow:1}.grid-cols-2>div img[data-v-661d645b]{margin-top:auto}
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as l}from"./SectionTitle-CrHOP_mf.js";import{g as V,_ as y,u as k,c as M,d as $,e as s,l as c,w as r,i as v,t as d,h as o,b as A,m as _,s as B}from"./index-BmU8V2V2.js";const C=async()=>{try{const{data:i}=await V.get("/loadmisionvision");return i}catch(i){throw console.log(i),new Error("Error getting parametrizacion")}},E={class:"service-info-container mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-10"},I={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},N={class:"flex flex-col"},S={class:"p-6 flex-grow"},T={class:"text-center mb-2"},j=["src"],q={class:"flex flex-col"},z={class:"p-6 flex-grow"},D={class:"text-center mb-2"},F=["src"],K={class:"mt-8"},Q={__name:"MisionVisionView",setup(i){const a="https://www.gasesdeloriente.com.co",{data:h}=k({queryKey:["misionVision"],queryFn:()=>C(),staleTime:6e4}),n=M(()=>B.contrast),t=h,b=u=>{window.open(u,"_blank")};return(u,e)=>{var p,m,x,g,f;return A(),$("div",E,[s("div",I,[s("div",N,[c(l,null,{default:r(()=>e[1]||(e[1]=[_("Misión")])),_:1}),s("div",{class:v([{"bg-black":n.value,"bg-white":!n.value},"rounded-[35px] overflow-hidden flex flex-col h-full shadow-[0_15px_30px_rgba(0,0,0,0.2)]"])},[s("div",S,[s("p",T,d((p=o(t))==null?void 0:p.description_mision),1)]),s("img",{src:`${o(a)}/${(m=o(t))==null?void 0:m.imagen_mision}`,alt:"Imagen Misión",class:"w-full h-48 object-cover"},null,8,j)],2)]),s("div",q,[c(l,null,{default:r(()=>e[2]||(e[2]=[_("Visión")])),_:1}),s("div",{class:v([{"bg-black":n.value,"bg-white":!n.value},"rounded-[35px] overflow-hidden flex flex-col h-full shadow-[0_15px_30px_rgba(0,0,0,0.2)]"])},[s("div",z,[s("p",D,d((x=o(t))==null?void 0:x.description_vision),1)]),s("img",{src:`${o(a)}/${(g=o(t))==null?void 0:g.imagen_vision}`,alt:"Imagen Visión",class:"w-full h-48 object-cover"},null,8,F)],2)])]),s("div",K,[c(l,null,{default:r(()=>e[3]||(e[3]=[_("Alcance")])),_:1}),s("button",{onClick:e[0]||(e[0]=U=>{var w;return b(o(a)+"/"+((w=o(t))==null?void 0:w.archivo))}),class:"bg-[#284d92] text-white rounded-full px-8 py-4"},d((f=o(t))==null?void 0:f.text_button),1)])])}}},J=y(Q,[["__scopeId","data-v-661d645b"]]);export{J as default};
|
||||
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{g as v,u as _,c as m,r as h,d as t,l as g,w as y,F as p,f as w,b as s,m as B,e as l,t as C,i as A,M as N,h as x,z as S,s as T}from"./index-BmU8V2V2.js";import{S as V}from"./SectionTitle-CrHOP_mf.js";import{P as $}from"./PdfDownload-B_7ePhU0.js";import{I as j}from"./IconoLlama-BavanhPF.js";import"./SecondaryButton-CAqGmnmb.js";const E=async()=>{try{const{data:n}=await v.get("/boletines-all");return n}catch(n){throw console.log(n),new Error("Error getting boletines")}},F={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},M=["onClick"],U={class:"flex items-center"},q={key:0,xmlns:"http://www.w3.org/2000/svg",class:"flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},z={key:1,xmlns:"http://www.w3.org/2000/svg",class:"flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},I={key:0,class:"space-y-4"},G={__name:"NewslettersView",setup(n){const u="https://www.gasesdeloriente.com.co",{data:i}=_({queryKey:["boletines"],queryFn:()=>E(),staleTime:6e4}),f=m(()=>{var r;return((r=i==null?void 0:i.value)==null?void 0:r.categorias)||[]}),d=m(()=>T.contrast),c=h(null),k=r=>{c.value=c.value===r?null:r};return(r,a)=>(s(),t("div",F,[g(V,null,{default:y(()=>a[0]||(a[0]=[B("Boletines")])),_:1}),(s(!0),t(p,null,w(f.value,o=>(s(),t("div",{key:o.categoria_id,class:"select-none"},[l("div",{class:A([{"bg-black":d.value,"bg-white":!d.value},"text-lg font-bold mb-4 cursor-pointer shadow-lg p-4 rounded-lg flex items-center justify-between"]),onClick:e=>k(o.categoria_id)},[l("div",U,[g(j),l("span",null,C(o.categoria_nombre),1)]),c.value===o.categoria_id?(s(),t("svg",q,a[1]||(a[1]=[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"},null,-1)]))):(s(),t("svg",z,a[2]||(a[2]=[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])))],10,M),c.value===o.categoria_id?(s(),t("div",I,[(s(!0),t(p,null,w(o.boletines,e=>(s(),N($,{key:e==null?void 0:e.id,title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageSrc:`${x(u)}/${e==null?void 0:e.imagen}`,imageAlt:e==null?void 0:e.title,buttonText:e==null?void 0:e.text_button,fileUrl:`${x(u)}/${e==null?void 0:e.archivo}`},null,8,["title","description","imageSrc","imageAlt","buttonText","fileUrl"]))),128))])):S("",!0)]))),128))]))}};export{G as default};
|
||||
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{S as f}from"./SectionTitle-CrHOP_mf.js";import{S as w}from"./SecondaryButton-CAqGmnmb.js";import{g as v,u as b,c as y,d as k,e as s,l as n,w as r,i as $,h as t,b as S,m as i,t as c,s as T}from"./index-BmU8V2V2.js";const B=async()=>{try{const{data:a}=await v.get("/loadorganismos");return a}catch(a){throw console.log(a),new Error("Error getting organismos")}},O={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},V={class:"flex flex-col lg:flex-row items-center lg:items-start lg:space-x-8 mb-8"},C={class:"lg:w-3/5"},E=["innerHTML"],N={class:"flex flex-col lg:flex-row items-start lg:space-x-4 space-y-4 lg:space-y-0 mt-4"},P={class:"w-full"},q={class:"w-full"},A=["href"],H={class:"lg:w-2/5 mt-6 lg:mt-0"},L=["src"],F={__name:"OrganismsOiaView",setup(a){const d="https://www.gasesdeloriente.com.co",h=_=>{window.open(_,"_blank")},{data:o}=b({queryKey:["revisionPeriodica"],queryFn:()=>B(),staleTime:6e4}),m=y(()=>T.contrast);return(_,l)=>{var g,p,u;return S(),k("div",O,[s("div",V,[s("div",C,[n(f,null,{default:r(()=>{var e;return[i(c((e=t(o))==null?void 0:e.titulo),1)]}),_:1}),s("div",{class:$([{"bg-black":m.value,"bg-white":!m.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] mt-4"])},[s("p",{class:"whitespace-pre-line",innerHTML:(g=t(o))==null?void 0:g.descripcion},null,8,E)],2),l[1]||(l[1]=s("p",{class:"mt-6"},"Para ver la lista de Organismos de inspección acreditados haga click en:",-1)),s("div",N,[s("div",P,[n(w,{onClick:l[0]||(l[0]=e=>{var x;return h(`${t(d)}/${(x=t(o))==null?void 0:x.archivo_organismos}`)})},{default:r(()=>{var e;return[i(c((e=t(o))==null?void 0:e.texto_boton_archivo),1)]}),_:1})]),s("div",q,[s("a",{href:`${(p=t(o))==null?void 0:p.enlace}`,target:"_blank"},[n(w,null,{default:r(()=>{var e;return[i(c((e=t(o))==null?void 0:e.texto_boton_enlace),1)]}),_:1})],8,A)])])]),s("div",H,[s("img",{src:`${t(d)}/${(u=t(o))==null?void 0:u.imagen}`,alt:"Inspectora",class:"rounded-lg shadow-md mx-auto lg:mx-0"},null,8,L)])])])}}};export{F as default};
|
||||
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
.lg\:w-2\/3[data-v-73abbb49]{display:flex;flex-direction:column}.mt-auto[data-v-73abbb49]{margin-top:auto}
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{S as c}from"./SectionTitle-CrHOP_mf.js";import{S as d}from"./SecondaryButton-CAqGmnmb.js";import{_ as u,c as m,b as p,d as g,e as t,l as o,w as l,m as x,t as r,i as f,s as w}from"./index-BmU8V2V2.js";const _={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},h={class:"mb-6"},v={class:"lg:w-2/3 flex flex-col"},b=["innerHTML"],S={class:"mt-auto pt-4"},y={class:"mt-6 lg:mt-0 lg:w-1/3 flex justify-center"},k=["src","alt"],T={__name:"PdfDownload",props:{title:{type:String,required:!0},description:{type:String,required:!0},imageSrc:{type:String,required:!0},imageAlt:{type:String,default:"Image"},buttonText:{type:String,required:!0},fileUrl:{type:String,required:!0}},setup(e){const n=e,s=m(()=>w.contrast),i=()=>{window.open(n.fileUrl,"_blank")};return(q,a)=>(p(),g("div",_,[t("div",h,[o(c,null,{default:l(()=>[x(r(e.title),1)]),_:1})]),t("div",{class:f([{"bg-black":s.value,"bg-white":!s.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] lg:flex lg:items-stretch lg:space-x-8"])},[t("div",v,[t("p",{innerHTML:e.description,class:"whitespace-pre-line"},null,8,b),t("div",S,[o(d,{onClick:i,class:"flex items-center justify-center space-x-2"},{default:l(()=>[a[0]||(a[0]=t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"h-6 w-6 flex-shrink-0"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12 3 3m0 0 3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})],-1)),t("span",null,r(e.buttonText),1)]),_:1})])]),t("div",y,[t("img",{src:e.imageSrc,alt:e.imageAlt,class:"object-contain aspect-auto"},null,8,k)])],2)]))}},H=u(T,[["__scopeId","data-v-73abbb49"]]);export{H as P};
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as f}from"./img12--vpC50aS.js";import{S as n}from"./SectionTitle-CrHOP_mf.js";import{u as b,c as p,d as l,l as i,w as c,e as s,F as _,f as v,i as m,j as w,b as d,m as u,h as y,t as h,s as V}from"./index-BmU8V2V2.js";import{g as k}from"./get-puntos-recaudo.action-CN43BqeK.js";const N={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},P={class:"payment-locations-container mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},S={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4 mt-8"},$=["src","alt"],j={class:"mt-2 text-center"},B={class:"payment-info-container mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl"},L={__name:"PointsView",setup(C){const g="https://www.gasesdeloriente.com.co",{data:o}=b({queryKey:["puntosRecaudo"],queryFn:()=>k(),staleTime:6e4}),x=p(()=>{var r;return((r=o==null?void 0:o.value)==null?void 0:r.records)||[]}),a=p(()=>V.contrast);return(r,e)=>(d(),l("div",N,[i(n,null,{default:c(()=>e[0]||(e[0]=[u("Puntos de recaudo")])),_:1}),s("div",P,[i(n,null,{default:c(()=>e[1]||(e[1]=[u("¿Dónde puedo pagar la factura del gas natural?")])),_:1}),s("div",S,[(d(!0),l(_,null,v(x.value,t=>(d(),l("div",{class:m([{"bg-black":a.value,"bg-white":!a.value},"shadow-lg rounded-lg p-4 flex flex-col items-center"]),key:t.id},[s("img",{src:`${y(g)}/${t.ruta}`,alt:t.nombre,class:"w-24 h-24 object-contain"},null,8,$),s("p",j,h(t.nombre),1)],2))),128))])]),s("div",B,[i(n,null,{default:c(()=>e[2]||(e[2]=[u("La importancia del pago oportuno de su factura")])),_:1}),s("div",{class:m([{"bg-black":a.value,"bg-white":!a.value},"p-8 rounded-xl shadow-[0_15px_30px_rgba(0,0,0,0.2)]"])},e[3]||(e[3]=[w('<p class="mb-6"> Con el <strong class="font-bold">NO</strong> pago de una o más facturas dentro de las fechas indicadas se suspenderá el servicio y se cobrará el valor de la reconexión el mes siguiente. Para el año <strong class="font-bold">2024</strong>, el valor por reconexión está cifrado en <strong class="font-bold">$ 44.322</strong> y la reinstalación si fuera el caso en <strong class="font-bold">$ 290.310</strong>. </p><div class="bg-[#274e93] text-white p-4 rounded-xl flex items-center"><img src="'+f+'" alt="info" class="w-12 h-12 mr-4 object-contain"><span> En caso de no recibir o extraviar su factura genere un duplicado en nuestra <strong class="font-bold">Oficina Virtual</strong>, el no recibir la factura no exime del pago oportuno. </span></div>',2)]),2)])]))}};export{L as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{P as i}from"./PdfDownload-B_7ePhU0.js";import{g as c,r as l,u,c as m,d as g,f as d,F as p,b as a,M as _}from"./index-BmU8V2V2.js";import"./SectionTitle-CrHOP_mf.js";import"./SecondaryButton-CAqGmnmb.js";const f=async(o=1)=>{try{const{data:t}=await c.get(`/loadpoliticashseq?page=${o}`);return{politicas:t.records.map(e=>({id:e.ID,title:e.title,description:e.description,imagen:e.imagen,descripcion_img:e.descripcion_img,text_button:e.text_button,archivo:e.archivo})),totalPages:t.totalPages}}catch(t){throw console.log(t),new Error("Error getting publicaciones")}},P={__name:"PoliticHseqView",setup(o){const t=l(1),{data:e}=u({queryKey:["politicas",{page:t}],queryFn:()=>f(t.value),staleTime:1e3*60}),n=m(()=>{var s;return((s=e==null?void 0:e.value)==null?void 0:s.politicas)||[]});return(s,b)=>(a(!0),g(p,null,d(n.value,r=>(a(),_(i,{key:r.id,title:r.title,description:r.description,imageSrc:r.imagen,imageAlt:r.descripcion_img,buttonText:r.text_button,fileUrl:r.archivo},null,8,["title","description","imageSrc","imageAlt","buttonText","fileUrl"]))),128))}};export{P as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as b}from"./SectionTitle-CrHOP_mf.js";import{I as y}from"./IconoLlama-BavanhPF.js";import{g,u as k,c as i,d as l,l as c,w as S,F as f,f as p,b as t,m as x,e as n,t as _,i as d,h as N,z as V,s as B}from"./index-BmU8V2V2.js";const C=async()=>{try{const{data:o}=await g.get("/prevencionseguridad-all");return o}catch(o){throw console.log(o),new Error("Error getting prevencion seguridad")}},E={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},F={class:"text-xl font-bold mb-4"},P={class:"space-y-2"},T={key:0,class:"w-full lg:w-1/2 flex items-center"},q=["src"],L={__name:"PrevenSafetyView",setup(o){const w="https://www.gasesdeloriente.com.co",{data:u}=k({queryKey:["prevencionSeguridad"],queryFn:()=>C(),staleTime:6e4}),v=i(()=>{var m;return((m=u==null?void 0:u.value)==null?void 0:m.categorias)||[]}),r=i(()=>B.contrast);return(m,a)=>(t(),l("div",E,[c(b,null,{default:S(()=>a[0]||(a[0]=[x("Prevención y Seguridad")])),_:1}),(t(!0),l(f,null,p(v.value,(s,h)=>(t(),l("div",{class:"mb-8",key:s==null?void 0:s.categoria_id},[n("h2",F,_(s==null?void 0:s.categoria_nombre),1),n("div",{class:d(["flex flex-col gap-6 lg:flex-row items-stretch mt-4 mb-8",{"lg:flex-row-reverse":h%2!==0}])},[n("div",{class:d(["w-full lg:w-1/2 mb-4 lg:mb-0",{"lg:w-full":!(s!=null&&s.imagen)}])},[n("div",{class:d([{"bg-black":r.value,"bg-white":!r.value},"p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)] h-full flex flex-col"])},[n("ul",P,[(t(!0),l(f,null,p(s==null?void 0:s.records,e=>(t(),l("li",{class:"flex items-start",key:e==null?void 0:e.id},[c(y),x(" "+_(e==null?void 0:e.nombre),1)]))),128))])],2)],2),s!=null&&s.imagen?(t(),l("div",T,[n("img",{src:`${N(w)}/${s==null?void 0:s.imagen}`,alt:"Recomendaciones de Uso del Gas Natural",class:"shadow-md w-full h-full object-cover rounded-lg"},null,8,q)])):V("",!0)],2)]))),128))]))}};export{L as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{_ as e,b as o,d as s,P as r}from"./index-BmU8V2V2.js";const n={},a={type:"submit",class:"primary-button py-2 px-5 bg-[#284c91] text-white font-medium rounded shadow-sm disabled:opacity-50 disabled:cursor-not-allowed"};function c(t,d){return o(),s("button",a,[r(t.$slots,"default")])}const l=e(n,[["render",c]]);export{l as P};
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{P as i}from"./PdfDownload-B_7ePhU0.js";import{u as c,M as n,h as e,b as s,k as p}from"./index-BmU8V2V2.js";import"./SectionTitle-CrHOP_mf.js";import"./SecondaryButton-CAqGmnmb.js";const P={__name:"ProtectionDataView",setup(l){const r="https://www.gasesdeloriente.com.co",{data:t}=c({queryKey:["parametrizacionweb"],queryFn:()=>p(),retry:!1});return(m,d)=>{var a,o;return s(),n(i,{title:"Protección de datos",description:(a=e(t))==null?void 0:a.proteccion_datos_descripcion,imageSrc:"/assets/img39.webp",imageAlt:"PROTECCION DE DATOS",buttonText:"PI-CIN-001 Politica de tratamiento de la información personal v5",fileUrl:`${e(r)}/${(o=e(t))==null?void 0:o.proteccion_datos}`},null,8,["description","fileUrl"])}}};export{P as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{P as n}from"./PdfDownload-B_7ePhU0.js";import{g as c,r as l,u as m,c as g,d,f as u,F as p,b as a,M as _}from"./index-BmU8V2V2.js";import"./SectionTitle-CrHOP_mf.js";import"./SecondaryButton-CAqGmnmb.js";const f=async(o=1)=>{try{const{data:t}=await c.get(`/loadpublicaciones?page=${o}`);return{publicaciones:t.records.map(e=>({id:e.ID,title:e.title,description:e.description,imagen:e.imagen,descripcion_img:e.descripcion_img,archivo:e.archivo,text_button:e.text_button})),totalPages:t.totalPages}}catch(t){throw console.log(t),new Error("Error getting publicaciones")}},w={__name:"PublicationsView",setup(o){const t=l(1),{data:e}=m({queryKey:["publicaciones",{page:t}],queryFn:()=>f(t.value),staleTime:1e3*60}),i=g(()=>{var s;return((s=e==null?void 0:e.value)==null?void 0:s.publicaciones)||[]});return(s,x)=>(a(!0),d(p,null,u(i.value,r=>(a(),_(n,{key:r.id,title:r.title,description:r.description,imageSrc:r.imagen,imageAlt:r.descripcion_img,buttonText:r.text_button,fileUrl:r.archivo},null,8,["title","description","imageSrc","imageAlt","buttonText","fileUrl"]))),128))}};export{w as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
button[data-v-12b5f290]:focus{outline:none}.faq-response[data-v-12b5f290]{white-space:pre-line}
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{I as w}from"./IconoLlama-BavanhPF.js";import{g as v,_ as f,r as d,u as x,c as m,N as h,d as o,e as t,F as k,f as y,b as n,i as b,l as q,t as C,z as B,s as V}from"./index-BmU8V2V2.js";const L=async()=>{try{const{data:l}=await v.get("/preguntas-frecuentes-fnb-all");return{questions:l.registros.map(({ID:r,pregunta:p,respuesta:i})=>({id:r,pregunta:p,respuesta:i}))}}catch(l){throw console.log(l),new Error("Error getting questions")}},M={class:"faq-container mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl select-none"},N={class:"mb-6"},Q=["onClick"],j={class:"flex items-center"},z={class:"font-medium"},E={key:0,xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},F={key:1,xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},H={key:0,class:"p-4"},I=["innerHTML"],T={__name:"QuestionsView",setup(l){const u=d(1),{data:r}=x({queryKey:["questions",{page:u}],queryFn:()=>L(u.value),staleTime:1e3*60}),p=m(()=>{var e;return((e=r==null?void 0:r.value)==null?void 0:e.questions)||[]}),i=m(()=>V.contrast),c=d([]);h(p,e=>{c.value=e.map(s=>({...s,open:!1}))});const g=e=>{c.value[e].open=!c.value[e].open};return(e,s)=>(n(),o("div",M,[s[2]||(s[2]=t("p",{class:"text-left text-gray-500 mb-4 text-md"},"Haz clic en cada pregunta para ver más información",-1)),t("div",N,[(n(!0),o(k,null,y(c.value,(a,_)=>(n(),o("div",{key:a.id,class:"faq-item mb-2"},[t("div",{onClick:A=>g(_),class:b([{"bg-black":i.value,"bg-white":!i.value},"cursor-pointer shadow-[0_5px_5px_rgba(0,0,0,0.1)] rounded-lg p-4 flex items-center justify-between"])},[t("div",j,[q(w),t("span",z,C(a.pregunta),1)]),a.open?(n(),o("svg",E,s[0]||(s[0]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"},null,-1)]))):(n(),o("svg",F,s[1]||(s[1]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])))],10,Q),a.open?(n(),o("div",H,[t("p",{innerHTML:a.respuesta,class:"faq-response"},null,8,I)])):B("",!0)]))),128))])]))}},S=f(T,[["__scopeId","data-v-12b5f290"]]);export{S as default};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{S as b}from"./SectionTitle-CrHOP_mf.js";import{g as v,r as w,u as _,c as x,d as o,l as h,w as f,e,F as k,f as S,z as y,t as l,b as a,m as A,h as P}from"./index-BmU8V2V2.js";const T=async(p=1)=>{try{const{data:d}=await v.get(`/loadtarifas?page=${p}`);return{tarifas:d.registros.map(r=>({id:r.ID,description:r.description,ruta:r.ruta})),totalPages:d.totalPages}}catch(d){throw console.log(d),new Error("Error getting tarifas")}},V={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},C={class:"w-full overflow-x-auto"},N={class:"min-w-full inline-block align-middle"},$={class:"min-w-full divide-y divide-gray-200"},j={class:"divide-y divide-gray-200"},q={class:"px-6 py-4 whitespace-nowrap text-sm border border-gray-300"},E={class:"px-6 py-4 whitespace-nowrap text-sm border border-gray-300"},B={class:"px-6 py-4 whitespace-nowrap text-sm border border-gray-300"},F={class:"flex items-center justify-center"},G=["href"],z={key:1,class:"bg-gray-500 cursor-pointer text-white px-4 py-2 rounded"},I={key:0},O={class:"flex justify-between items-center p-2 border border-t-0 border-gray-300"},K={class:"text-sm text-gray-600"},L={class:"text-sm text-gray-600"},M={key:0,class:"flex justify-start items-center p-2 border gap-2 border-t-0 border-gray-300"},U={__name:"RatesView",setup(p){const d="https://www.gasesdeloriente.com.co",r=w(1),{data:n}=_({queryKey:["tarifas",{page:r}],queryFn:()=>T(r.value),staleTime:1e3*60}),c=x(()=>{var i;return((i=n==null?void 0:n.value)==null?void 0:i.tarifas)||[]}),u=x(()=>{var i;return((i=n==null?void 0:n.value)==null?void 0:i.totalPages)||1});return(i,t)=>{var g,m;return a(),o("div",V,[h(b,null,{default:f(()=>t[2]||(t[2]=[A("Tarifas del servicio de Gas")])),_:1}),t[6]||(t[6]=e("p",{class:"mt-4 text-lg leading-7 text-gray-600 mb-4"}," Conózca las tarifas de gas que maneja Gases del Oriente SA ESP en cada uno de los municipios donde hace presencia. ",-1)),e("div",C,[e("div",N,[t[5]||(t[5]=e("div",{class:"bg-[#9cd043] px-6 py-3 font-semibold min-w-full"}," Tarifas Gases del Oriente ",-1)),e("table",$,[t[4]||(t[4]=e("thead",{class:"border-b border-gray-300"},[e("tr",null,[e("th",{class:"px-6 py-3 text-left text-sm font-medium tracking-wider border border-gray-300"}," Item "),e("th",{class:"px-6 py-3 text-left text-sm font-medium tracking-wider border border-gray-300"}," Descripción "),e("th",{class:"px-6 py-3 text-left text-sm font-medium tracking-wider border border-gray-300"}," Archivo ")])],-1)),e("tbody",j,[(a(!0),o(k,null,S(c.value,s=>(a(),o("tr",{key:s.id},[e("td",q,l(s==null?void 0:s.id),1),e("td",E,l(s==null?void 0:s.description),1),e("td",B,[e("div",F,[s!=null&&s.ruta?(a(),o("a",{key:0,target:"_blank",href:`${P(d)}/${s.ruta}`,class:"bg-[#8eb02f] cursor-pointer text-white px-4 py-2 rounded"}," Ver tarifa ",8,G)):(a(),o("span",z,"N/A"))])])]))),128)),((g=c.value)==null?void 0:g.length)===0?(a(),o("tr",I,t[3]||(t[3]=[e("td",{colspan:"3",class:"px-6 py-4 text-center text-sm text-gray-500 border border-gray-300"}," Sin registros que mostrar ",-1)]))):y("",!0)])]),e("div",null,[e("div",O,[e("div",null,[e("p",K," Página "+l(r.value||1)+" de "+l(u.value||1),1)]),e("div",null,[e("p",L," Mostrando "+l(((m=c.value)==null?void 0:m.length)||0)+" registros ",1)])]),u.value>1?(a(),o("div",M,[e("button",{onClick:t[0]||(t[0]=s=>r.value>1&&(r.value-=1)),class:"bg-[#8eb02f] cursor-pointer text-white px-3 py-1 rounded"}," Anterior "),e("button",{onClick:t[1]||(t[1]=s=>r.value<u.value&&(r.value+=1)),class:"bg-[#8eb02f] cursor-pointer text-white px-3 py-1 rounded"}," Siguiente ")])):y("",!0)])])])])}}};export{U as default};
|
||||
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
.custom-checkbox[data-v-ed7881e3]{display:inline-block;width:30px;height:30px;border:1px solid #bcbcbc;border-radius:50%;position:relative;cursor:pointer;background-color:#fff}.custom-checkbox[data-v-ed7881e3]:checked{background-color:#284c91;border:none}.custom-checkbox[data-v-ed7881e3]:focus{box-shadow:0 5px 25px #0000001a}
|
||||
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
.custom-checkbox[data-v-da2c3e30]{display:inline-block;width:30px;height:30px;border:1px solid #bcbcbc;border-radius:50%;position:relative;cursor:pointer;background-color:#fff}.custom-checkbox[data-v-da2c3e30]:checked{background-color:#284c91;border:none}.custom-checkbox[data-v-da2c3e30]:focus{box-shadow:0 5px 25px #0000001a}
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{p as h,c as L,B as k,C as S,r as y,d as l,l as m,w as p,e as t,j as _,v as C,x as R,y as V,h as o,E as j,G as B,i as P,b as d,m as x,s as T}from"./index-BmU8V2V2.js";import{S as q}from"./SectionTitle-CrHOP_mf.js";import{P as E}from"./PrimaryButton-Bm01EosZ.js";import{u as G}from"./vee-validate-uNXg2txt.js";import{r as M}from"./request-password-reset.action-Btp5YP5O.js";const N={class:"max-w-5xl mx-auto p-8"},F={class:"relative w-full h-auto p-6 md:p-8 lg:p-12"},A={key:0,class:"flex flex-col items-center"},$={key:1,class:"flex flex-col items-center"},z={class:"flex justify-center"},Q={__name:"RequestPasswordView",setup(D){const s=h(),n=L(()=>T.contrast),f=k({codigo:S().required()}),{values:I,defineField:v,errors:g,handleSubmit:w,resetForm:O}=G({validationSchema:f}),[r,b]=v("codigo"),a=y(!1),c=w(async u=>{try{const e=await M(u.codigo);a.value=e.success,a.value?s.success("Solicitud enviada con exito"):s.error("Error al enviar la solicitud, por favor intentalo de nuevo.")}catch{s.error("Error al enviar la solicitud, por favor intentalo de nuevo.")}});return(u,e)=>(d(),l("div",N,[m(q,null,{default:p(()=>e[2]||(e[2]=[x("Recuperar contraseña")])),_:1}),t("div",{class:P([{"bg-black":n.value,"bg-white":!n.value},"relative w-full max-w-4xl shadow-lg rounded-2xl mb-8 overflow-hidden"]),s:""},[t("div",F,[a.value?(d(),l("div",A,e[3]||(e[3]=[_('<h1 class="text-2xl lg:text-4xl font-bold mb-6 text-[#404e7b] text-center"> Solicitud enviada con exito </h1><div class="w-full max-w-md space-y-6"><div class="flex justify-center items-center"><svg class="w-40" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><rect width="48" height="48" fill="white" fill-opacity="0.01"></rect><path d="M24 4L29.2533 7.83204L35.7557 7.81966L37.7533 14.0077L43.0211 17.8197L41 24L43.0211 30.1803L37.7533 33.9923L35.7557 40.1803L29.2533 40.168L24 44L18.7467 40.168L12.2443 40.1803L10.2467 33.9923L4.97887 30.1803L7 24L4.97887 17.8197L10.2467 14.0077L12.2443 7.81966L18.7467 7.83204L24 4Z" fill="#0760d5" stroke="#259af4" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 24L22 29L32 19" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></g></svg></div><div><p class="text-[#404e7b] text-lg text-center"> Se ha enviado un correo de restablecimiento de contraseña a el <strong>correo electrónico </strong> asociado a tu codigo de usuario. </p></div></div>',2)]))):(d(),l("div",$,[e[6]||(e[6]=t("h1",{class:"text-2xl lg:text-4xl font-bold mb-6 text-[#404e7b] text-center"}," Recuperar Contraseña ",-1)),t("form",{onSubmit:e[1]||(e[1]=C((...i)=>o(c)&&o(c)(...i),["prevent"])),method:"POST",class:"w-full max-w-md space-y-6"},[t("div",null,[e[4]||(e[4]=t("label",{for:"codigo_usuario",class:"block text-md font-medium"}," Código de usuario ",-1)),R(t("input",j({"onUpdate:modelValue":e[0]||(e[0]=i=>B(r)?r.value=i:null)},o(b),{type:"text",id:"codigo_usuario",name:"email",required:"",placeholder:"Ingrese el código de su usuario",class:["mt-1 block w-full px-3 border py-3 lg:py-4 rounded-xl shadow-[0_5px_25px_rgba(0,0,0,0.1)]",{"border-red-500":o(g).codigo}]}),null,16),[[V,o(r)]])]),t("div",z,[m(E,null,{default:p(()=>e[5]||(e[5]=[x(" Recuperar contraseña ")])),_:1})])],32)]))])],2)]))}};export{Q as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as g}from"./SectionTitle-CrHOP_mf.js";import{S as f}from"./SecondaryButton-CAqGmnmb.js";import{g as $,u as R,c as S,d as q,e,l as i,w as a,i as x,h as s,t as c,b as B,m as r,s as F}from"./index-BmU8V2V2.js";const N="/assets/img32-0_N85aQQ.jpeg",V=async()=>{try{const{data:p}=await $.get("/loadcreg080");return p}catch(p){throw console.log(p),new Error("Error getting resolucion creg 080")}},A={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},Q={class:"mb-6"},D={class:"flex flex-col lg:flex-row lg:items-start lg:space-x-8"},G=["innerHTML"],z={class:"mt-8 flex justify-center"},K={class:"w-full lg:w-1/3"},O={class:"mt-10"},P=["innerHTML"],U={class:"mt-6 flex justify-center"},I={class:"w-full lg:w-1/3"},J={class:"mt-10"},W={class:"flex flex-col lg:flex-row lg:space-x-8"},X={class:"lg:w-1/2"},Y=["innerHTML"],Z={class:"mt-6 flex justify-center"},ee={class:"w-full lg:w-80"},se={class:"p-6 lg:w-1/2 mt-6 lg:mt-0"},te=["innerHTML"],oe={class:"mt-6 flex justify-center"},le={class:"w-full lg:w-80"},ne={class:"mt-10"},ie=["innerHTML"],ae={class:"mt-6"},ce={class:"mt-6"},re={class:"mt-2"},de=["href"],_e=["href"],ue=["href"],pe=["href"],me={__name:"Resolution080View",setup(p){const d="https://www.gasesdeloriente.com.co",{data:o}=R({queryKey:["resolucion"],queryFn:()=>V(),staleTime:6e4}),_=S(()=>F.contrast),u=m=>{window.open(m,"_blank")};return(m,t)=>{var h,v,b,w,y,k,T,L,C,H,M,j,E;return B(),q("div",A,[e("div",Q,[i(g,null,{default:a(()=>t[6]||(t[6]=[r("Resolución CREG 080 de 2019")])),_:1})]),e("div",D,[e("div",{class:x([{"bg-black":_.value,"bg-white":!_.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] lg:w-2/3"])},[e("p",{class:"whitespace-pre-line",innerHTML:(h=s(o))==null?void 0:h.description},null,8,G)],2),t[7]||(t[7]=e("div",{class:"mt-6 lg:mt-0 lg:w-1/3 flex justify-center"},[e("img",{src:N,alt:"Logo CREG"})],-1))]),e("div",z,[e("div",K,[i(f,{onClick:t[0]||(t[0]=n=>{var l;return u(s(d)+"/"+((l=s(o))==null?void 0:l.archivo_1))})},{default:a(()=>{var n;return[r(c((n=s(o))==null?void 0:n.texto_boton),1)]}),_:1})])]),e("div",O,[i(g,null,{default:a(()=>t[8]||(t[8]=[r("Alcance")])),_:1}),e("div",{class:x([{"bg-black":_.value,"bg-white":!_.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] mt-4"])},[e("p",{class:"whitespace-pre-line",innerHTML:(v=s(o))==null?void 0:v.alcances},null,8,P)],2),e("div",U,[e("div",I,[i(f,{onClick:t[1]||(t[1]=n=>{var l;return u(s(d)+"/"+((l=s(o))==null?void 0:l.archivo_alcances))})},{default:a(()=>{var n;return[r(c((n=s(o))==null?void 0:n.texto_boton_alca),1)]}),_:1})])])]),e("div",J,[i(g,null,{default:a(()=>t[9]||(t[9]=[r("Derechos y deberes del usuario (regulado y no regulado)")])),_:1}),e("div",W,[e("div",X,[e("div",{class:x([{"bg-black":_.value,"bg-white":!_.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("p",{class:"whitespace-pre-line",innerHTML:(b=s(o))==null?void 0:b.derecho},null,8,Y)],2),e("div",Z,[e("div",ee,[i(f,{onClick:t[2]||(t[2]=n=>{var l;return u(s(d)+"/"+((l=s(o))==null?void 0:l.archivo_derechos))})},{default:a(()=>{var n;return[r(c((n=s(o))==null?void 0:n.texto_boton_der),1)]}),_:1})])])]),e("div",se,[e("p",{class:"text-justify whitespace-pre-line",innerHTML:(w=s(o))==null?void 0:w.info_condiciones},null,8,te),e("div",oe,[e("div",le,[i(f,{onClick:t[3]||(t[3]=n=>{var l;return u(s(d)+"/"+((l=s(o))==null?void 0:l.archivo_peticiones))})},{default:a(()=>t[10]||(t[10]=[r("Peticiones, quejas y reclamos")])),_:1})])])])])]),e("div",ne,[e("p",{class:"text-justify whitespace-pre-line",innerHTML:(y=s(o))==null?void 0:y.info_notificaciones},null,8,ie),e("div",ae,[e("p",{onClick:t[4]||(t[4]=n=>{var l;return u(s(d)+"/"+((l=s(o))==null?void 0:l.derecho_peticion))}),class:"cursor-pointer font-bold text-[#023fb9]"}," Formato derecho de petición. "),e("p",{onClick:t[5]||(t[5]=n=>{var l;return u(s(d)+"/"+((l=s(o))==null?void 0:l.recurso_reposicion))}),class:"cursor-pointer font-bold text-[#023fb9]"}," Formato recurso de reposición en subsidio el de apelación. ")]),e("div",ce,[t[11]||(t[11]=e("p",null," En los siguientes links puede acceder a las normas y contratos que contienen los mecanismos para la defensa de los usuarios: ",-1)),e("ul",re,[e("li",null,[e("a",{href:(k=s(o))==null?void 0:k.enlace_1,target:"_blank",class:"text-[#023fb9] font-bold"},c((T=s(o))==null?void 0:T.texto_enlace_1),9,de)]),e("li",null,[e("a",{href:(L=s(o))==null?void 0:L.enlace_2,target:"_blank",class:"text-[#023fb9] font-bold"},c((C=s(o))==null?void 0:C.texto_enlace_2),9,_e)]),e("li",null,[e("a",{href:(H=s(o))==null?void 0:H.enlace_3,target:"_blank",class:"text-[#023fb9] font-bold"},c((M=s(o))==null?void 0:M.texto_enlace_3),9,ue)]),e("li",null,[e("a",{href:(j=s(o))==null?void 0:j.enlace_4,target:"_blank",class:"text-[#023fb9] font-bold"},c((E=s(o))==null?void 0:E.texto_enlace_4),9,pe)])])])])])}}};export{me as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
input[type=checkbox][data-v-7c5bde56]{display:none}.custom-checkbox[data-v-7c5bde56]{display:inline-block;width:30px;height:30px;border:1px solid #bcbcbc;border-radius:50%;position:relative;cursor:pointer;background-color:#fff}.custom-checkbox[data-v-7c5bde56]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.5rem;height:.5rem;background-color:#284c91;border-radius:50%;opacity:0}input[type=checkbox]:checked+.custom-checkbox[data-v-7c5bde56]:after{opacity:1}
|
||||
-1
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{S as w}from"./SectionTitle-CrHOP_mf.js";import{g,_ as x,u as c,c as f,d as a,l as h,w as b,e,i as v,F as y,f as H,h as r,b as o,m as R,t as n,s as V,k}from"./index-BmU8V2V2.js";const q=async()=>{try{const{data:s}=await g.get("/loadresenahistoricaall");return s.records}catch(s){throw console.log(s),new Error("Error getting resenas historicas")}},z={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},F={class:"flex flex-col lg:flex-row lg:items-start lg:space-x-8 mb-8"},A={class:"lg:w-7/12 w-full mb-8 lg:mb-0"},B={class:"flex items-center relative"},D={class:"font-bold text-2xl w-1/4 text-center pr-4"},E={class:"w-3/4 pl-4"},N={class:"lg:w-5/12 w-full flex justify-center"},S=["src"],T={__name:"ReviewHistoricalView",setup(s){const d="https://www.gasesdeloriente.com.co",{data:u}=c({queryKey:["resenaHistorica"],queryFn:()=>q(),staleTime:6e4}),{data:m}=c({queryKey:["parametrizacionweb"],queryFn:()=>k(),retry:!1}),l=f(()=>V.contrast);return(C,t)=>{var i;return o(),a("div",z,[h(w,null,{default:b(()=>t[0]||(t[0]=[R("Reseña histórica")])),_:1}),e("div",F,[e("div",A,[e("div",{class:v([{"bg-black":l.value,"bg-white":!l.value},"p-6 rounded-2xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] flex flex-col space-y-7 relative"])},[t[1]||(t[1]=e("div",{class:"absolute inset-y-0 my-auto h-[90%] w-[0.5px] bg-blue-600 left-[25%]"},null,-1)),(o(!0),a(y,null,H(r(u),({year:_,description:p})=>(o(),a("div",B,[e("div",D,n(_),1),e("div",E,n(p),1)]))),256))],2)]),e("div",N,[e("img",{src:`${r(d)}/${(i=r(m))==null?void 0:i.imagen_resena}`,alt:"Registro de firmas constructoras",class:"rounded-lg shadow-md"},null,8,S)])])])}}},j=x(T,[["__scopeId","data-v-e0def3ef"]]);export{j as default};
|
||||
@@ -1 +0,0 @@
|
||||
.border-r-2[data-v-e0def3ef]{height:100%}
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{_ as t,b as e,d as n,P as s}from"./index-BmU8V2V2.js";const a={name:"SecondaryButton"},c={class:"secondary-button w-full py-2 px-5 bg-[#beda75] text-[#284c91] font-medium rounded shadow-sm hover:bg-[#aecc5b] my-auto"};function r(o,d,u,p,_,l){return e(),n("button",c,[s(o.$slots,"default")])}const f=t(a,[["render",r]]);export{f as S};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as o,b as n,d as l,e as t,P as a}from"./index-BmU8V2V2.js";const c={name:"SectionTitle"},r={class:"section-title flex items-center mb-6"},i={class:"text-3xl font-bold"};function d(s,e,_,p,f,m){return n(),l("div",r,[e[0]||(e[0]=t("span",{class:"w-1 h-10 bg-blue-800 mr-4"},null,-1)),t("h2",i,[a(s.$slots,"default")])])}const b=o(c,[["render",d]]);export{b as S};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{S as T}from"./SectionTitle-CrHOP_mf.js";import{I as L}from"./IconoLlama-BavanhPF.js";import{g as V,u as B,c as S,d as a,l as n,w as $,e,i as d,t as o,h as j,F as H,f as M,b as r,m as N,s as E}from"./index-BmU8V2V2.js";const F=async()=>{try{const{data:c}=await V.get("/servicios-all");return c}catch(c){throw console.log(c),new Error("Error getting servicios")}},q={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},A={class:"flex flex-col lg:flex-row items-stretch mt-4"},C={class:"w-full lg:w-1/2 lg:pr-4 mb-4 lg:mb-0"},I={class:"mb-1 text-justify"},z={class:"w-full lg:w-1/2 lg:pl-4 flex items-center"},K=["src","alt"],Q={class:"text-xl font-bold mb-4"},U={class:"space-y-2"},D=["innerHTML"],G={class:"mx-auto max-w-5xl"},J={class:"flex flex-col lg:flex-row items-stretch mt-4"},O={class:"order-2 lg:order-1 w-full lg:w-1/2 lg:pr-2 flex items-center"},P=["src","alt"],R={class:"order-1 lg:order-2 w-full lg:w-1/2 lg:pl-2 mb-4 lg:mb-0 flex flex-col justify-center"},W={class:"p-2 rounded-lg flex-grow"},X={class:"text-justify"},Y={class:"text-xl font-bold mb-4"},Z={class:"space-y-2"},ee=["innerHTML"],ae={__name:"ServicesView",setup(c){const g="https://www.gasesdeloriente.com.co",{data:u}=B({queryKey:["servicios"],queryFn:()=>F(),staleTime:6e4}),l=S(()=>E.contrast),s=S(()=>{var _;return((_=u==null?void 0:u.value)==null?void 0:_.categorias)||[]});return(_,i)=>{var m,x,f,p,v,b,h,w,y,k;return r(),a("div",q,[n(T,null,{default:$(()=>i[0]||(i[0]=[N("Nuestros servicios")])),_:1}),e("div",A,[e("div",C,[e("div",{class:d([{"bg-black":l.value,"bg-white":!l.value},"p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)] h-full flex flex-col"])},[i[1]||(i[1]=e("h2",{class:"text-xl font-bold mb-4"},"Servicios técnicos al usuario",-1)),e("p",I,o((m=s.value[0])==null?void 0:m.categoria_descripcion),1)],2)]),e("div",z,[e("img",{src:`${j(g)}/${(x=s.value[0])==null?void 0:x.categoria_imagen}`,alt:`${(f=s.value[0])==null?void 0:f.categoria_nombre}`,class:"shadow-md w-full h-full object-cover"},null,8,K)])]),e("div",{class:d([{"bg-black":l.value,"bg-white":!l.value},"mt-8 mb-8 p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("h2",Q,o((p=s.value[0])==null?void 0:p.categoria_nombre),1),e("ul",U,[(r(!0),a(H,null,M((v=s.value[0])==null?void 0:v.servicios,t=>(r(),a("li",{class:"flex items-start",key:t.id},[n(L),e("span",{innerHTML:t.nombre},null,8,D)]))),128))])],2),e("div",G,[e("div",J,[e("div",O,[e("img",{src:`${j(g)}/${(b=s.value[1])==null?void 0:b.categoria_imagen}`,alt:`${(h=s.value[1])==null?void 0:h.categoria_nombre}`,class:"shadow-md w-full h-full object-cover"},null,8,P)]),e("div",R,[n(T,null,{default:$(()=>{var t;return[N(o((t=s.value[1])==null?void 0:t.categoria_nombre),1)]}),_:1}),e("div",{class:d([{"bg-black":l.value,"bg-white":!l.value},"p-6 mt-4 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)] h-full flex flex-col"])},[e("div",W,[e("p",X,o((w=s.value[1])==null?void 0:w.categoria_descripcion),1)])],2)])])]),e("div",{class:d([{"bg-black":l.value,"bg-white":!l.value},"mt-8 mb-8 p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[e("h2",Y,o((y=s.value[1])==null?void 0:y.categoria_nombre),1),e("ul",Z,[(r(!0),a(H,null,M((k=s.value[1])==null?void 0:k.servicios,t=>(r(),a("li",{class:"flex items-start",key:t.id},[n(L),e("span",{innerHTML:t.nombre},null,8,ee)]))),128))])],2)])}}};export{ae as default};
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{S as v}from"./SectionTitle-CrHOP_mf.js";import{S as x}from"./SecondaryButton-CAqGmnmb.js";import{g as F,u as h,c as b,d as w,l,w as n,e,t as c,i as f,b as y,m as i,s as k}from"./index-BmU8V2V2.js";const S=async()=>{try{const{data:s}=await F.get("/loadprovedorcontratista");return s}catch(s){throw console.log(s),new Error("Error getting proveedor contratista")}},B={class:"p-1 max-w-5xl mx-auto mb-8"},C={class:"mt-8 mb-8 flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4"},V=["href"],E=["href"],q={__name:"SupplierView",setup(s){const{data:u}=h({queryKey:["proveedorContratista"],queryFn:()=>S(),staleTime:6e4}),o=b(()=>k.contrast),t=b(()=>{var d;return((d=u==null?void 0:u.value)==null?void 0:d.registro)||[]});return(d,r)=>{var _,p,m,g;return y(),w("div",B,[l(v,{class:"mb-4 mt-8"},{default:n(()=>r[0]||(r[0]=[i("¿Qué es un Proveedor?")])),_:1}),e("div",{class:f([{"bg-black":o.value,"bg-white":!o.value},"bg-[#FFFFFF] rounded-xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] p-6 mt-6"])},[e("p",null,c((_=t.value)==null?void 0:_.proveedor),1)],2),l(v,{class:"mb-4 mt-8"},{default:n(()=>r[1]||(r[1]=[i("¿Qué es un Contratista?")])),_:1}),e("div",{class:f([{"bg-black":o.value,"bg-white":!o.value},"bg-[#FFFFFF] rounded-xl shadow-[0_5px_25px_rgba(0,0,0,0.1)] p-6 mt-6"])},[e("p",null,c((p=t.value)==null?void 0:p.contratista),1)],2),e("div",C,[e("a",{href:(m=t.value)==null?void 0:m.enlace_invitaciones,target:"_blank"},[l(x,null,{default:n(()=>{var a;return[i(c((a=t.value)==null?void 0:a.texto_invitaciones),1)]}),_:1})],8,V),e("a",{href:(g=t.value)==null?void 0:g.enlace_registro,target:"_blank"},[l(x,null,{default:n(()=>{var a;return[i(c((a=t.value)==null?void 0:a.texto_enlace_registro),1)]}),_:1})],8,E)])])}}};export{q as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{p as b,c as L,B as k,C as S,r as y,d as l,l as m,w as p,e as t,j as _,v as C,x as V,y as j,h as o,E as B,G as A,i as P,b as d,m as x,s as R}from"./index-BmU8V2V2.js";import{S as T}from"./SectionTitle-CrHOP_mf.js";import{P as z}from"./PrimaryButton-Bm01EosZ.js";import{u as E}from"./vee-validate-uNXg2txt.js";import{r as G}from"./request-password-reset.action-Btp5YP5O.js";const M={class:"max-w-5xl mx-auto p-8"},N={class:"relative w-full h-auto p-6 md:p-8 lg:p-12"},q={key:0,class:"flex flex-col items-center"},F={key:1,class:"flex flex-col items-center"},U={class:"flex justify-center"},Q={__name:"UpdateCredentialsView",setup($){const s=b(),n=L(()=>R.contrast),f=k({codigo:S().required()}),{values:D,defineField:v,errors:g,handleSubmit:w,resetForm:I}=E({validationSchema:f}),[r,h]=v("codigo"),i=y(!1),c=w(async u=>{try{const e=await G(u.codigo);i.value=e.success,i.value?s.success("Solicitud enviada con exito"):s.error("Error al enviar la solicitud, por favor intentalo de nuevo.")}catch{s.error("Error al enviar la solicitud, por favor intentalo de nuevo.")}});return(u,e)=>(d(),l("div",M,[m(T,null,{default:p(()=>e[2]||(e[2]=[x("Actualización de credenciales")])),_:1}),t("div",{class:P([{"bg-black":n.value,"bg-white":!n.value},"relative w-full max-w-4xl shadow-lg rounded-2xl mb-8 overflow-hidden"])},[t("div",N,[i.value?(d(),l("div",q,e[3]||(e[3]=[_('<h1 class="text-2xl lg:text-4xl font-bold mb-6 text-[#404e7b] text-center"> Solicitud enviada con exito </h1><div class="w-full max-w-md space-y-6"><div class="flex justify-center items-center"><svg class="w-40" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><rect width="48" height="48" fill="white" fill-opacity="0.01"></rect><path d="M24 4L29.2533 7.83204L35.7557 7.81966L37.7533 14.0077L43.0211 17.8197L41 24L43.0211 30.1803L37.7533 33.9923L35.7557 40.1803L29.2533 40.168L24 44L18.7467 40.168L12.2443 40.1803L10.2467 33.9923L4.97887 30.1803L7 24L4.97887 17.8197L10.2467 14.0077L12.2443 7.81966L18.7467 7.83204L24 4Z" fill="#0760d5" stroke="#259af4" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 24L22 29L32 19" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></g></svg></div><div><p class="text-[#404e7b] text-lg text-center"> Se ha enviado un correo con tu nueva contraseña a el <strong>correo electrónico </strong> asociado a tu codigo de usuario. </p></div></div>',2)]))):(d(),l("div",F,[e[6]||(e[6]=t("h1",{class:"text-2xl lg:text-4xl font-bold mb-6 text-[#404e7b] text-center"}," Actualización de credenciales ",-1)),t("form",{onSubmit:e[1]||(e[1]=C((...a)=>o(c)&&o(c)(...a),["prevent"])),method:"POST",class:"w-full max-w-md space-y-6"},[t("div",null,[e[4]||(e[4]=t("label",{for:"codigo_usuario",class:"block text-md font-medium"}," Código de usuario ",-1)),V(t("input",B({"onUpdate:modelValue":e[0]||(e[0]=a=>A(r)?r.value=a:null)},o(h),{type:"text",id:"codigo_usuario",name:"email",required:"",placeholder:"Ingrese el código de su usuario",class:["mt-1 block w-full px-3 border py-3 lg:py-4 rounded-xl shadow-[0_5px_25px_rgba(0,0,0,0.1)]",{"border-red-500":o(g).codigo}]}),null,16),[[j,o(r)]])]),t("div",U,[m(z,null,{default:p(()=>e[5]||(e[5]=[x(" Actualizar credenciales ")])),_:1})])],32)]))])],2)]))}};export{Q as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
.input[type=checkbox][data-v-e61f631b]{display:none}.custom-checkbox[data-v-e61f631b]{display:inline-block;width:30px;height:30px;border:1px solid #bcbcbc;border-radius:50%;position:relative;cursor:pointer;background-color:#fff}.custom-checkbox[data-v-e61f631b]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;background-color:#284c91;border-radius:50%;opacity:0}.input[type=checkbox]:checked+.custom-checkbox[data-v-e61f631b]:after{opacity:1}
|
||||
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{_ as l,K as u,d as r,e as a,F as c,f as i,b as s,t as d}from"./index-BmU8V2V2.js";const p={data(){return{users:[]}},created(){u.get("/api/users").then(e=>{this.users=e.data}).catch(e=>{console.error("There was an error fetching the users!",e)})}};function f(e,t,m,_,o,h){return s(),r("div",null,[t[0]||(t[0]=a("h2",null,"Users",-1)),a("ul",null,[(s(!0),r(c,null,i(o.users,n=>(s(),r("li",{key:n.id},d(n.name),1))),128))])])}const x=l(p,[["render",f]]);export{x as default};
|
||||
@@ -1 +0,0 @@
|
||||
import{S as f}from"./SectionTitle-CrHOP_mf.js";import{S as h}from"./SecondaryButton-CAqGmnmb.js";import{g as v,r as y,u as x,c as S,d as c,f as k,F as N,b as n,l as d,w as u,m,t as p,e as o,h as w}from"./index-BmU8V2V2.js";const b=async(l=1)=>{try{const{data:s}=await v.get(`/loadnotificacionesusuarios?page=${l}`);return{notificaciones:s.records.map(e=>({id:e.ID,title:e.title,description:e.description,imagen:e.imagen,archivo:e.archivo})),totalPages:s.totalPages}}catch(s){throw console.log(s),new Error("Error getting notificaciones")}},A={class:"flex flex-wrap items-start justify-between"},T={class:"w-full md:w-1/2 pr-4"},U={class:"mb-4 leading-7"},B={class:"w-full md:w-1/2"},C=["src","alt"],L={__name:"UserNotificationView",setup(l){const s="https://www.gasesdeloriente.com.co",e=y(1),{data:r}=x({queryKey:["notificaciones-usuarios",{page:e}],queryFn:()=>b(e.value),staleTime:1e3*60}),g=S(()=>{var a;return((a=r==null?void 0:r.value)==null?void 0:a.notificaciones)||[]}),_=a=>{window.open(a,"_blank")};return(a,i)=>(n(!0),c(N,null,k(g.value,t=>(n(),c("div",{class:"max-w-7xl mx-auto p-8",key:t.id},[d(f,null,{default:u(()=>[m(p(t.title),1)]),_:2},1024),o("div",A,[o("div",T,[o("p",U,p(t.description),1),d(h,{onClick:F=>_(w(s)+"/"+t.archivo),class:"mt-4 w-auto px-6 py-3 mb-4"},{default:u(()=>i[0]||(i[0]=[m(" CONSULTAR LISTA AQUÍ")])),_:2},1032,["onClick"])]),o("div",B,[o("img",{src:`${w(s)}/${t.imagen}`,alt:"imagen de "+t.title,class:"w-full h-auto"},null,8,C)])])]))),128))}};export{L as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{P as c}from"./PdfDownload-B_7ePhU0.js";import{g as l,u,c as m,d as p,f as g,F as d,b as a,M as f,h as i}from"./index-BmU8V2V2.js";import"./SectionTitle-CrHOP_mf.js";import"./SecondaryButton-CAqGmnmb.js";const _=async()=>{try{const{data:t}=await l.get("/loaddeberesusuario");return t}catch(t){throw console.log(t),new Error("Error getting deberes usuario")}},k={__name:"UserRightsView",setup(t){const s="https://www.gasesdeloriente.com.co",{data:r}=u({queryKey:["deberesUsuario"],queryFn:()=>_(),staleTime:6e4}),n=m(()=>{var o;return((o=r==null?void 0:r.value)==null?void 0:o.records)||[]});return(o,w)=>(a(!0),p(d,null,g(n.value,e=>(a(),f(c,{key:e.id,title:e.title,description:e.description,imageSrc:`${i(s)}/${e.imagen}`,imageAlt:e.title,buttonText:e.text_button,fileUrl:`${i(s)}/${e.archivo}`},null,8,["title","description","imageSrc","imageAlt","buttonText","fileUrl"]))),128))}};export{k as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
.border-r-2[data-v-1a267bdc]{height:100%}
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{S as p}from"./SectionTitle-CrHOP_mf.js";import{g as d,_ as u,u as _,c as n,d as r,F as m,f as g,b as o,l as x,w,m as h,t as y,e as i,i as b,s as V}from"./index-BmU8V2V2.js";const f=async()=>{try{const{data:t}=await d.get("/loadvalorescorporativos");return t}catch(t){throw console.log(t),new Error("Error getting valor corporativo")}},C={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-5xl mb-8"},T=["innerHTML"],k={__name:"ValCorporateView",setup(t){const{data:s}=_({queryKey:["valorCorporativo"],queryFn:()=>f(),staleTime:6e4}),l=n(()=>{var a;return((a=s==null?void 0:s.value)==null?void 0:a.records)||[]}),c=n(()=>V.contrast);return(a,v)=>(o(),r("div",C,[(o(!0),r(m,null,g(l.value,e=>(o(),r("div",{key:e.id},[x(p,null,{default:w(()=>[h(y(e==null?void 0:e.title),1)]),_:2},1024),i("div",{class:b([{"bg-black":c.value,"bg-white":!c.value},"mt-4 mb-8 p-6 rounded-lg shadow-[0_5px_25px_rgba(0,0,0,0.1)]"])},[i("p",{class:"whitespace-pre-line",innerHTML:e==null?void 0:e.description},null,8,T)],2)]))),128))]))}},F=u(k,[["__scopeId","data-v-1a267bdc"]]);export{F as default};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{p as m,r as d,d as r,e as t,l as x,w as p,v as f,m as v,t as g,h as w,x as h,y as b,$ as y,b as a,q as k}from"./index-BmU8V2V2.js";import{v as V}from"./create-actualizacion-datos-usuario.action-CxcN_O1G.js";import{S as T}from"./SecondaryButton-CAqGmnmb.js";const B={class:"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-4xl"},M={key:0,class:"text-center"},O={class:"w-fit my-12 mx-auto"},P={href:"/"},S={class:"text-lg text-center mb-6"},N={__name:"VerificacionOtp",setup(_){const o=m();k();const l=y().params.movil,s=d(""),i=d(!1),u=()=>{if(s.value.length===6){const n={numero:l,codigo:s.value};V(n).then(e=>{e.error?o.error(e.message||"Hubo un problema al procesar la solicitud"):(i.value=!0,o.success(e.message||"Código OTP verificado correctamente"))}).catch(e=>{o.error("Error al enviar la solicitud"),console.error(e)})}else o.error("Por favor, ingrese un código OTP válido de 6 dígitos")};return(n,e)=>(a(),r("div",B,[i.value?(a(),r("div",M,[e[2]||(e[2]=t("div",{class:"text-green-500 my-4"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-14 mx-auto"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])],-1)),e[3]||(e[3]=t("p",{class:"text-2xl font-semibold text-green-500"},"¡Validado exitosamente!",-1)),t("div",O,[t("a",P,[x(T,null,{default:p(()=>e[1]||(e[1]=[t("span",{class:"flex space-x-2"},[t("p",{class:"px-1"}," Volver al inicio "),t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])],-1)])),_:1})])])])):(a(),r("form",{key:1,onSubmit:f(u,["prevent"]),class:"bg-[#f6f6f6] rounded-xl shadow-lg px-8 py-6"},[e[5]||(e[5]=t("h1",{class:"text-3xl sm:text-4xl font-bold text-center mb-4"},"Verificación OTP",-1)),t("p",S,[e[4]||(e[4]=v(" Hemos enviado un código de verificación a ")),t("strong",null,g(w(l)),1)]),h(t("input",{"onUpdate:modelValue":e[0]||(e[0]=c=>s.value=c),type:"text",placeholder:"Ingrese el código OTP",class:"p-3 border rounded-lg shadow-md w-full text-center",maxlength:"6"},null,512),[[b,s.value]]),e[6]||(e[6]=t("div",{class:"mt-6 flex justify-center"},[t("button",{type:"submit",class:"px-6 py-3 w-full md:w-auto bg-[#284d92] text-white rounded-lg shadow-md"}," Verificar ")],-1))],32))]))}};export{N as default};
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user