From 7132e05e389b8a468d6c0de38cb046f01804eddd Mon Sep 17 00:00:00 2001 From: a-ill Date: Sat, 24 Jun 2023 17:41:50 +0300 Subject: [PATCH] Update --- Server/app/svelte/src/cooperatives-component.svelte | 2 +- Server/public/js/components/cooperatives-component.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/app/svelte/src/cooperatives-component.svelte b/Server/app/svelte/src/cooperatives-component.svelte index c8f2b83..8bb3af7 100644 --- a/Server/app/svelte/src/cooperatives-component.svelte +++ b/Server/app/svelte/src/cooperatives-component.svelte @@ -33,7 +33,7 @@

Name: {coop.name}

-

Location: {coop.location}

+

Location: {coop.location[0]}

Market: {coop.market}

Workers: {coop.workers}

Status: {coop.status}

diff --git a/Server/public/js/components/cooperatives-component.js b/Server/public/js/components/cooperatives-component.js index ffd96e2..450b8ff 100644 --- a/Server/public/js/components/cooperatives-component.js +++ b/Server/public/js/components/cooperatives-component.js @@ -1 +1 @@ -import{S as t,i as e,a as o,b as n,s as i,e as r,c as s,n as a,d as c,f as m,g as l,h as p,j as h,o as d,t as g}from"./index-04d7984b.js";import{coops as f,addMarkersCoops as u}from"../../../../../../../../../js/coops.js";import"../../../../../../../../../js/components/map-component.js";function b(t,e,o){const n=t.slice();return n[1]=e[o],n}function x(t){let e,o,i,c,h,d,f,u,b,x,w,v,C,k,y,j,W,z,E,D,L,M,R,S,T,_,A,B,H,N,O,q,F,G,I,J,K,P,Q,U,V,X,Y,Z,$=t[1].name+"",tt=t[1].location+"",et=t[1].market+"",ot=t[1].workers+"",nt=t[1].status+"",it=t[1].website+"",rt=t[1].contact[1]+"",st=t[1].description+"";return{c(){e=r("div"),o=r("div"),i=r("div"),c=r("p"),h=r("b"),h.textContent="Name: ",d=g($),f=s(),u=r("p"),b=r("b"),b.textContent="Location: ",x=g(tt),w=s(),v=r("p"),C=r("b"),C.textContent="Market: ",k=g(et),y=s(),j=r("p"),W=r("b"),W.textContent="Workers: ",z=g(ot),E=s(),D=r("p"),L=r("b"),L.textContent="Status: ",M=g(nt),R=s(),S=r("p"),T=r("b"),T.textContent="Website: ",_=r("a"),A=g(it),B=s(),H=r("p"),N=r("b"),N.textContent="Contact: ",O=r("a"),q=g(rt),F=s(),G=r("picture"),I=r("source"),J=s(),K=r("source"),P=s(),Q=r("img"),U=s(),V=r("p"),X=r("b"),X.textContent="Description: ",Y=g(st),Z=s(),m(_,"href","https://www."+t[1].website),m(_,"target","_blank"),m(_,"rel","noreferrer"),m(O,"href",t[1].contact[0]),m(O,"target",";_blank;"),m(O,"rel","noreferrer"),m(I,"srcset","/img/coops/"+t[1].logo+".webp"),m(K,"srcset","/img/coops/"+t[1].logo+".png"),m(Q,"class","coop-logo"),m(Q,"alt","logo"),m(e,"class","location-info")},m(t,r){n(t,e,r),l(e,o),l(o,i),l(i,c),l(c,h),l(c,d),l(i,f),l(i,u),l(u,b),l(u,x),l(i,w),l(i,v),l(v,C),l(v,k),l(i,y),l(i,j),l(j,W),l(j,z),l(i,E),l(i,D),l(D,L),l(D,M),l(i,R),l(i,S),l(S,T),l(S,_),l(_,A),l(i,B),l(i,H),l(H,N),l(H,O),l(O,q),l(o,F),l(o,G),l(G,I),l(G,J),l(G,K),l(G,P),l(G,Q),l(e,U),l(e,V),l(V,X),l(V,Y),l(e,Z)},p:a,d(t){t&&p(e)}}}function w(t){let e,o,i,d,g,u,w,v,C,k,y,j,W,z,E=f,D=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);u(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},v,w,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",C);export{C as default}; +import{S as t,i as e,a as o,b as n,s as i,e as r,c as s,n as a,d as c,f as m,g as l,h as p,j as h,o as d,t as g}from"./index-04d7984b.js";import{coops as f,addMarkersCoops as u}from"../../../../../../../../../js/coops.js";import"../../../../../../../../../js/components/map-component.js";function b(t,e,o){const n=t.slice();return n[1]=e[o],n}function x(t){let e,o,i,c,h,d,f,u,b,x,w,v,C,k,y,j,W,z,E,D,L,M,R,S,T,_,A,B,H,N,O,q,F,G,I,J,K,P,Q,U,V,X,Y,Z,$=t[1].name+"",tt=t[1].location[0]+"",et=t[1].market+"",ot=t[1].workers+"",nt=t[1].status+"",it=t[1].website+"",rt=t[1].contact[1]+"",st=t[1].description+"";return{c(){e=r("div"),o=r("div"),i=r("div"),c=r("p"),h=r("b"),h.textContent="Name: ",d=g($),f=s(),u=r("p"),b=r("b"),b.textContent="Location: ",x=g(tt),w=s(),v=r("p"),C=r("b"),C.textContent="Market: ",k=g(et),y=s(),j=r("p"),W=r("b"),W.textContent="Workers: ",z=g(ot),E=s(),D=r("p"),L=r("b"),L.textContent="Status: ",M=g(nt),R=s(),S=r("p"),T=r("b"),T.textContent="Website: ",_=r("a"),A=g(it),B=s(),H=r("p"),N=r("b"),N.textContent="Contact: ",O=r("a"),q=g(rt),F=s(),G=r("picture"),I=r("source"),J=s(),K=r("source"),P=s(),Q=r("img"),U=s(),V=r("p"),X=r("b"),X.textContent="Description: ",Y=g(st),Z=s(),m(_,"href","https://www."+t[1].website),m(_,"target","_blank"),m(_,"rel","noreferrer"),m(O,"href",t[1].contact[0]),m(O,"target",";_blank;"),m(O,"rel","noreferrer"),m(I,"srcset","/img/coops/"+t[1].logo+".webp"),m(K,"srcset","/img/coops/"+t[1].logo+".png"),m(Q,"class","coop-logo"),m(Q,"alt","logo"),m(e,"class","location-info")},m(t,r){n(t,e,r),l(e,o),l(o,i),l(i,c),l(c,h),l(c,d),l(i,f),l(i,u),l(u,b),l(u,x),l(i,w),l(i,v),l(v,C),l(v,k),l(i,y),l(i,j),l(j,W),l(j,z),l(i,E),l(i,D),l(D,L),l(D,M),l(i,R),l(i,S),l(S,T),l(S,_),l(_,A),l(i,B),l(i,H),l(H,N),l(H,O),l(O,q),l(o,F),l(o,G),l(G,I),l(G,J),l(G,K),l(G,P),l(G,Q),l(e,U),l(e,V),l(V,X),l(V,Y),l(e,Z)},p:a,d(t){t&&p(e)}}}function w(t){let e,o,i,d,g,u,w,v,C,k,y,j,W,z,E=f,D=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);u(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},v,w,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",C);export{C as default};