2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
|
import{S as I,c as M,a as D,d,e as $,m as g,b as u,t as h,f as j}from"./index-C1iGU3rq.js";import{a as x,b as _,f as T,h as E,k as v,d as F,l as q,i as N,m as b}from"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./runtime-CtT-6RLV.js";import{M as O}from"./MoreFilters-5LvYrxeP.js";import{P as R}from"./Pagination-Xwph4hqa.js";import{P as C}from"./Projects-ChuO9l2W.js";import{S as U}from"./Search-DPAbmTFI.js";import{S as V}from"./Starred-BDYtpIli.js";import{F as z}from"./FileTable-D4o9kZaQ.js";function A(s){let t,r,o,c,n,y,p,P,l,S,m,k,f,w;return o=new U({props:{i18n:s[1].search}}),n=new C({props:{i18n:s[1].projects}}),p=new V({props:{i18n:s[1].starred}}),l=new O({props:{i18n:s[1].moreFilters}}),m=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(p.$$.fragment),P=_(),d(l.$$.fragment),S=_(),d(m.$$.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),$(p.$$.fragment,a),P=v(a),$(l.$$.fragment,a),a.forEach(F),S=v(i),$(m.$$.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(p,r,null),b(r,P),g(l,r,null),b(t,S),g(m,t,null),b(t,k),g(f,t,null),w=!0},p(e,[i]){const a={};i&1&&(a.projects=e[0].projects),m.$set(a)},i(e){w||(u(o.$$.fragment,e),u(n.$$.fragment,e),u(p.$$.fragment,e),u(l.$$.fragment,e),u(m.$$.fragment,e),u(f.$$.fragment,e),w=!0)},o(e){h(o.$$.fragment,e),h(n.$$.fragment,e),h(p.$$.fragment,e),h(l.$$.fragment,e),h(m.$$.fragment,e),h(f.$$.fragment,e),w=!1},d(e){e&&F(t),j(o),j(n),j(p),j(l),j(m),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};
|