Anvil/assets/Projects-qcbmUwid.js

2 lines
2.9 KiB
JavaScript
Raw Normal View History

2024-07-05 17:21:03 +02:00
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-CFSywFfb.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-u0QeOdKt.js";import"./ZoomOut24-BLVY8N49.js";import"./runtime-BvEoAjCK.js";import{M as O}from"./MoreFilters-Bj-il7gm.js";import{P as R}from"./Pagination-BI1UUzCD.js";import{P as C}from"./Projects-BtJwSvi6.js";import{S as U}from"./Search-DOIReNCm.js";import{S as V}from"./Starred-BqzHjgo4.js";import{F as z}from"./FileTable-DtOL_r_d.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};