@qratilabs/qrati-connect 2.23.0 → 2.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/element/{BLGEwBKM2.js → BG57iQJK2.js} +28 -28
- package/element/web.es.js +2 -2
- package/package.json +1 -1
- package/umd/{BLGEwBKM2.js → BG57iQJK2.js} +28 -28
- package/umd/web.es.js +2 -2
package/element/web.es.js
CHANGED
|
@@ -107,10 +107,10 @@ return s("div",{className:"space-y-4",children:[t===b[0]&&/* @__PURE__ */s(E,{va
|
|
|
107
107
|
/* @__PURE__ */s("div",{className:"mt-4 grid grid-cols-1 gap-4 sm:grid-cols-3",children:Array.from({length:6}).map((t,r)=>/* @__PURE__ */s("div",{className:"space-y-4",children:[/* @__PURE__ */s(j,{className:"h-72 overflow-hidden rounded sm:h-80"}),/* @__PURE__ */s(j,{className:"h-6 w-64 rounded"})]},r))})]})]}:{children:[g?.navigationSettings?.enableNavbar&&/* @__PURE__ */s(B,{}),
|
|
108
108
|
/* @__PURE__ */s("div",{className:"min-h-screen w-full",children:[
|
|
109
109
|
/* @__PURE__ */s("div",{className:"flex items-end justify-between",children:[/* @__PURE__ */s("div",{className:"mt-4 flex justify-end",children:y&&/* @__PURE__ */s(V,{className:"flex-1 lg:flex-none",selected:x,buttons:yt,onChange:t=>(t=>{k(t);try{m&&sessionStorage.setItem(`qrati-view-mode-${m}`,t)}catch(r){}})(t)})}),/* @__PURE__ */s("div",{className:"flex flex-col items-end gap-4",children:[/* @__PURE__ */s(dt,{organization:g}),w&&/* @__PURE__ */s(gt,{onSearch:u.handleSearch,onClear:u.clearSearch,hasActiveSearch:u.isSearchActive})]})]}),u.isSearchActive&&/* @__PURE__ */s(wt,{folders:d||[],submittedQuery:u.submittedQuery,submittedSearchType:u.submittedSearchType,isLoading:u.isLoading,errorMessage:u.errorMessage,hasMore:u.hasMore,isSearchActive:u.isSearchActive,page:u.page,onLoadMore:()=>u.setPage(t=>t+1),eventResults:u.eventResults,contentResults:u.contentResults,contentMeta:u.contentMeta,activeFolderKeys:u.activeFolderKeys,eventGroupsByFolder:u.eventGroupsByFolder,contentGroups:u.contentGroups,contentGroupsByFolder:u.contentGroupsByFolder,flattenedContentMedia:u.flattenedContentMedia,galleryElementRef:u.galleryElementRef,galleryId:u.galleryId,openMediaInLightbox:u.openMediaInLightbox}),!u.isSearchActive&&/* @__PURE__ */s(t,{children:["grid"===x&&a&&/* @__PURE__ */s("div",{className:"mt-4",children:/* @__PURE__ */s(nt,{homeLink:p.PUBLIC_EVENTS,data:E})}),"grid"===x&&q.length>0&&/* @__PURE__ */s("div",{className:"mt-4 grid grid-cols-2 gap-3 md:grid-cols-3 lg:grid-cols-4 lg:gap-6",children:q.map(t=>/* @__PURE__ */s(C,{to:p.FOLDER_EVENTS(String(t?._id)),children:/* @__PURE__ */s(st,{folder:t},String(t._id))},String(t?._id)))}),"map"!==x&&(I?.length??0)<=0&&/* @__PURE__ */s("div",{className:"min-h-[80vh]",children:/* @__PURE__ */s(D,{title:((d??[]).length??0)>0?"Empty Folder":"No Events",description:((d??[]).length??0)>0?"Browse other folders for events":"Check back later for our awesome events!",className:"mt-24 md:mt-36",iconSvg:/* @__PURE__ */s(tt,{})})}),"map"===x&&y?/* @__PURE__ */s(n,{fallback:/* @__PURE__ */s(j,{className:"mt-4 h-[70vh] w-full rounded-lg"}),children:/* @__PURE__ */s(ut,{events:_??[],isLoading:T})}):(I?.length??0)>0&&/* @__PURE__ */s("div",{className:"mt-4 grid grid-cols-1 gap-4 gap-y-6 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:(I??[]).map(t=>/* @__PURE__ */s(C,{to:p.GALLERY(String(t.slug)),children:/* @__PURE__ */s(at,{event:t})},t._id))})]})]}),
|
|
110
|
-
/* @__PURE__ */s(P,{})]})},kt=a(()=>import("./BNj7xAbL.js")),_t=a(()=>import("./DcLlwdC6.js")),Tt=a(()=>import("./gieTP6MG2.js")),zt=a(()=>import("./BbWh89xA2.js")),Nt=a(()=>import("./li7rgMA52.js")),qt=a(()=>import("./DD6up6cl2.js")),Ct=a(()=>import("./BbOqM_N12.js")),Mt=a(()=>import("./DoAMw2hA2.js")),jt=a(()=>import("./
|
|
110
|
+
/* @__PURE__ */s(P,{})]})},kt=a(()=>import("./BNj7xAbL.js")),_t=a(()=>import("./DcLlwdC6.js")),Tt=a(()=>import("./gieTP6MG2.js")),zt=a(()=>import("./BbWh89xA2.js")),Nt=a(()=>import("./li7rgMA52.js")),qt=a(()=>import("./DD6up6cl2.js")),Ct=a(()=>import("./BbOqM_N12.js")),Mt=a(()=>import("./DoAMw2hA2.js")),jt=a(()=>import("./BG57iQJK2.js")),Et=a(()=>import("./CslFRHxJ2.js")),St=()=>/* @__PURE__ */s("div",{className:"flex flex-col gap-4 p-4",children:[
|
|
111
111
|
/* @__PURE__ */s(j,{className:"h-8 w-3/4 rounded"}),
|
|
112
112
|
/* @__PURE__ */s(j,{className:"h-64 w-full rounded-lg"}),
|
|
113
|
-
/* @__PURE__ */s("div",{className:"flex gap-3",children:[/* @__PURE__ */s(j,{className:"h-10 w-24 rounded"}),/* @__PURE__ */s(j,{className:"h-10 w-24 rounded"})]})]}),It=({router:t="memory"})=>{const a="hash"===t.toLowerCase()?"hash":"memory";return r(()=>{const t=()=>{import("./gieTP6MG2.js"),import("./BbWh89xA2.js"),import("./
|
|
113
|
+
/* @__PURE__ */s("div",{className:"flex gap-3",children:[/* @__PURE__ */s(j,{className:"h-10 w-24 rounded"}),/* @__PURE__ */s(j,{className:"h-10 w-24 rounded"})]})]}),It=({router:t="memory"})=>{const a="hash"===t.toLowerCase()?"hash":"memory";return r(()=>{const t=()=>{import("./gieTP6MG2.js"),import("./BbWh89xA2.js"),import("./BG57iQJK2.js"),import("./DD6up6cl2.js")};if("undefined"!=typeof requestIdleCallback){const r=requestIdleCallback(t,{timeout:5e3});return()=>cancelIdleCallback(r)}const r=setTimeout(t,2e3);return()=>clearTimeout(r)},[]),/* @__PURE__ */s(z,{mode:a,children:[/* @__PURE__ */s(W,{}),/* @__PURE__ */s(n,{fallback:/* @__PURE__ */s(St,{}),children:/* @__PURE__ */s(q,{children:[
|
|
114
114
|
/* @__PURE__ */s(_,{path:"/my-uploads",element:Et}),
|
|
115
115
|
/* @__PURE__ */s(_,{path:"/:folderId?",element:xt}),
|
|
116
116
|
/* @__PURE__ */s(_,{path:"/event/:eventSlug",element:_t,children:[
|