1 line
2.9 KiB
JavaScript
1 line
2.9 KiB
JavaScript
import{S as I,i as M,s as D,c as d,a as $,m as g,t as u,b as h,d as j}from"./index-7XOhh2kt.js";import{e as x,a as _,c as T,b as E,d as v,h as F,j as q,k as N,l as b}from"./lifecycle-Dpe71s4v.js";import"./ZoomOut24-Cmc7Jjj8.js";import"./runtime-BQCs4yl7.js";import{M as O}from"./MoreFilters-BeP_rytl.js";import{P as R}from"./Pagination-DmsdqO-l.js";import{P as C}from"./Projects-D8TsFHRs.js";import{S as U}from"./Search-OwIeJdAn.js";import{S as V}from"./Starred-Bzhj-PlW.js";import{F as z}from"./FileTable-Dd5ViGV1.js";function A(s){let t,r,o,c,n,y,m,P,l,S,p,k,f,w;return o=new U({props:{i18n:s[1].search}}),n=new C({props:{i18n:s[1].projects}}),m=new V({props:{i18n:s[1].starred}}),l=new O({props:{i18n:s[1].moreFilters}}),p=new z({props:{i18n:s[1].fileTable,projects:s[0].projects}}),f=new R({props:{i18n:s[1].pagination}}),{c(){t=x("section"),r=x("div"),d(o.$$.fragment),c=_(),d(n.$$.fragment),y=_(),d(m.$$.fragment),P=_(),d(l.$$.fragment),S=_(),d(p.$$.fragment),k=_(),d(f.$$.fragment),this.h()},l(e){t=T(e,"SECTION",{class:!0});var i=E(t);r=T(i,"DIV",{class:!0});var a=E(r);$(o.$$.fragment,a),c=v(a),$(n.$$.fragment,a),y=v(a),$(m.$$.fragment,a),P=v(a),$(l.$$.fragment,a),a.forEach(F),S=v(i),$(p.$$.fragment,i),k=v(i),$(f.$$.fragment,i),i.forEach(F),this.h()},h(){q(r,"class","flex mx-auto w-full items-center justify-center"),q(t,"class","w-full flex flex-col gap-8 bg-white")},m(e,i){N(e,t,i),b(t,r),g(o,r,null),b(r,c),g(n,r,null),b(r,y),g(m,r,null),b(r,P),g(l,r,null),b(t,S),g(p,t,null),b(t,k),g(f,t,null),w=!0},p(e,[i]){const a={};i&1&&(a.projects=e[0].projects),p.$set(a)},i(e){w||(u(o.$$.fragment,e),u(n.$$.fragment,e),u(m.$$.fragment,e),u(l.$$.fragment,e),u(p.$$.fragment,e),u(f.$$.fragment,e),w=!0)},o(e){h(o.$$.fragment,e),h(n.$$.fragment,e),h(m.$$.fragment,e),h(l.$$.fragment,e),h(p.$$.fragment,e),h(f.$$.fragment,e),w=!1},d(e){e&&F(t),j(o),j(n),j(m),j(l),j(p),j(f)}}}function B(s,t,r){const o={fileTable:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},moreFilters:{submit:"page.projects.form.fields.more_filters.submit"},pagination:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"},projects:{submit:"page.projects.form.fields.projects.submit"},search:{placeholder:"page.projects.form.fields.search.placeholder",submit:"page.projects.form.fields.search.submit"},starred:{submit:"page.projects.form.fields.starred.submit"}};let{data:c={projects:[]}}=t;return s.$$set=n=>{"data"in n&&r(0,c=n.data)},[c,o]}class ee extends I{constructor(t){super(),M(this,t,B,A,D,{data:0})}}C.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Required context for populating the template.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{ee as P};
|