Anvil/assets/Projects-f6a4884c.js
André Jaenisch 8c2df13ab6
Updates
2024-03-15 11:40:39 +01:00

1 line
2.9 KiB
JavaScript

import{a as I}from"./utils-6ebe0a8e.js";import{a as x,l as _,b as T,f as E,m as v,d as F,j as q,i as M,k as d}from"./lifecycle-cafe499b.js";import{S as D,i as N,c as $,b as g,m as u,a as h,t as j,d as b}from"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./runtime-a5210d67.js";import{M as O}from"./MoreFilters-9a485b3d.js";import{P as R}from"./Pagination-77c8cc8c.js";import{P as C}from"./Projects-081efb34.js";import{S as U}from"./Search-92254bf8.js";import{S as V}from"./Starred-16694df1.js";import{F as z}from"./FileTable-1d60bdd0.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"),$(o.$$.fragment),c=_(),$(n.$$.fragment),y=_(),$(p.$$.fragment),P=_(),$(l.$$.fragment),S=_(),$(m.$$.fragment),k=_(),$(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);g(o.$$.fragment,a),c=v(a),g(n.$$.fragment,a),y=v(a),g(p.$$.fragment,a),P=v(a),g(l.$$.fragment,a),a.forEach(F),S=v(i),g(m.$$.fragment,i),k=v(i),g(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){M(e,t,i),d(t,r),u(o,r,null),d(r,c),u(n,r,null),d(r,y),u(p,r,null),d(r,P),u(l,r,null),d(t,S),u(m,t,null),d(t,k),u(f,t,null),w=!0},p(e,[i]){const a={};i&1&&(a.projects=e[0].projects),m.$set(a)},i(e){w||(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=!0)},o(e){j(o.$$.fragment,e),j(n.$$.fragment,e),j(p.$$.fragment,e),j(l.$$.fragment,e),j(m.$$.fragment,e),j(f.$$.fragment,e),w=!1},d(e){e&&F(t),b(o),b(n),b(p),b(l),b(m),b(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 te extends D{constructor(t){super(),N(this,t,B,A,I,{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{te as P};