From df9a0a27bb854e705ba1ec3eb3e900563837228a Mon Sep 17 00:00:00 2001 From: a-ill Date: Thu, 13 Jul 2023 14:34:45 +0300 Subject: [PATCH] Update --- Server/app/svelte/src/parties-component.svelte | 2 +- Server/public/js/components/parties-component.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/app/svelte/src/parties-component.svelte b/Server/app/svelte/src/parties-component.svelte index 43262a4..4e38d42 100644 --- a/Server/app/svelte/src/parties-component.svelte +++ b/Server/app/svelte/src/parties-component.svelte @@ -38,7 +38,7 @@

{$content.subheading1}

mapCallbackParties(createMap,$content)}> {#each Object.entries(partiesByCountry) as [name,parties]} -

{name}

+

{$content[name]}

{#each parties as party}
diff --git a/Server/public/js/components/parties-component.js b/Server/public/js/components/parties-component.js index 20109f6..0163de6 100644 --- a/Server/public/js/components/parties-component.js +++ b/Server/public/js/components/parties-component.js @@ -1 +1 @@ -import{S as t,i as e,a as n,b as o,s as i,e as r,n as a,d as m,c as l,o as s,f as c,t as g,g as p,h as d,j as h,k as f,l as u,m as b,p as x}from"./index-4348483d.js";import{w as y}from"./index-71440b21.js";import{addMarkersParties as w,partiesByCountry as j}from"../../../../../../../../../js/parties.js";import{loadLocaleContent as v}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,e,n){const o=t.slice();return o[6]=e[n][0],o[7]=e[n][1],o}function z(t,e,n){const o=t.slice();return o[10]=e[n],o}function D(t){let e,n,i,r,a,l,s,y,w,v,z,D,E,O,R,T,A,C=t[1].heading+"",H=t[1].p1+"",L=t[1].subheading1+"",M=Object.entries(j),S=[];for(let e=0;en(0,o=t)));let a=y({});function m(t,e){let n=t([22,0],2);w(n,e)}l(t,a,(t=>n(1,i=t))),v(a,"countries",r),v(a,"parties-component",r),s((()=>{}));return[o,i,r,a,m,t=>m(t,i)]}class A extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},T,R,i,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("parties-component",A);export{A as default}; +import{S as t,i as e,a as n,b as o,s as i,e as r,n as a,d as m,c as l,o as s,f as c,t as g,g as p,h as d,j as h,k as f,l as u,m as b,p as x}from"./index-4348483d.js";import{w as y}from"./index-71440b21.js";import{addMarkersParties as w,partiesByCountry as j}from"../../../../../../../../../js/parties.js";import{loadLocaleContent as v}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,e,n){const o=t.slice();return o[6]=e[n][0],o[7]=e[n][1],o}function z(t,e,n){const o=t.slice();return o[10]=e[n],o}function D(t){let e,n,i,r,a,l,s,y,w,v,z,D,E,O,R,T,A,C=t[1].heading+"",H=t[1].p1+"",L=t[1].subheading1+"",M=Object.entries(j),S=[];for(let e=0;en(0,o=t)));let a=y({});function m(t,e){let n=t([22,0],2);w(n,e)}l(t,a,(t=>n(1,i=t))),v(a,"countries",r),v(a,"parties-component",r),s((()=>{}));return[o,i,r,a,m,t=>m(t,i)]}class A extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},T,R,i,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("parties-component",A);export{A as default};