ode-explorer 1.3.2 → 1.3.3-develop-b2school.202402081140

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.
@@ -1 +1,7 @@
1
- import{d as V,e as ne,b as oe,f as re,g as z,h as ce,i as ae,j as ie,k as le,u as $,a as ue,l as de,m as fe,_ as y}from"./index.js";import{f as he,j as n,B as Y,w as pe,x as Re,y as Se,L as me}from"./edifice-react.js";import{r as p,u as G}from"./react.js";import{odeServices as P,ACTION as u}from"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function Ee({roles:a,rights:e,action:r}){const[i,s]=p.useState(!1),{user:S}=he(),m=V();p.useEffect(()=>{E()},[a,e]);const d=async function(c){const t=c instanceof Array?c:[c];if(a instanceof Array){const R=await P.rights().sessionHasAtLeastOneResourceRight(a,t);s(R)}else{const R=await P.rights().sessionHasResourceRight(a,t);s(R)}},f=async function(c){if(a instanceof Array){const t=await P.rights().sessionHasAtLeastOneResourceRightForEachList(a,c);s(t)}else{const t=await P.rights().sessionHasResourceRightForEachList(a,c);s(t)}},E=async function(){var c,t,R;if(a===void 0){s(!0);return}if(m&&((t=(c=e[0])==null?void 0:c.trashedBy)!=null&&t.includes(S==null?void 0:S.userId))&&r==="restore"&&!((R=e[0])!=null&&R.trashed)){s(!0);return}if(e instanceof Array)if(e.length>0)if(typeof e[0]=="string")await d(e);else{const v=e.map(O=>O.rights);await f(v)}else s(!1);else typeof e=="string"?await d(e):await d(e.rights)};return{visible:i,refreshState:E}}function q(){const[a,e]=p.useState(!1),[r,i]=p.useState("void"),[s,S]=p.useState(),m=ne(o=>o.config),d=oe(),f=re(),E=z(),c=ce(),t=ae(),R=V(),v=ie(),O=le(),{openResource:g,printSelectedResource:M,openFolder:w,clearSelectedItems:F,clearSelectedIds:T}=$(),{data:j}=ue();p.useEffect(()=>{if(f.length===0&&t.length===0){e(!1);return}if(O){e(!1);return}e(!0)},[f,t]);async function L(o){var I;switch((I=document.getElementById("root"))==null||I.setAttribute("aria-hidden","true"),S(o),o.id){case u.OPEN:return f.length>0?g(E[0]):w({folder:c[0],folderId:c[0].id});case u.MOVE:return i("move");case u.PRINT:return M();case u.DELETE:return i("delete");case u.RESTORE:return await C();case u.PUBLISH:return i("publish");case u.UPD_PROPS:case"edit":return se();case u.SHARE:return i("share");default:throw Error(`Unknown action: ${o.id}`)}}function D(o){const I=f.length+t.length,A=f.length===1||t.length===1,k=I===1,x=t.length===0;switch(o.id){case u.OPEN:return k;case u.MANAGE:return A;case u.PUBLISH:return A&&x;case u.UPD_PROPS:return A&&x;case u.SHARE:return x&&A;case u.PRINT:return A&&x;case"edit":return k;default:return!0}}const B=()=>!0;async function C(){try{if(R)await v.mutate();else throw new Error("Cannot restore untrashed resources");_()}catch(o){console.error(o)}}function _(){var o;i("void"),s!=null&&s.id&&((o=document.getElementById(s==null?void 0:s.id))==null||o.focus())}const l=o=>()=>{r===o&&(_(),F(),T())},b=l("move"),N=l("move"),H=l("delete"),U=l("delete"),h=l("publish"),J=l("publish"),K=l("edit_folder"),Q=l("edit_folder"),X=l("edit_resource"),Z=l("edit_resource"),W=l("share"),ee=l("share");function se(){f&&f.length>0?i("edit_resource"):i("edit_folder")}function te(o){return o.id==="edit"&&t.length>0?"explorer.rename":`explorer.actions.${o.id}`}return{onRestore:C,actions:R?m==null?void 0:m.trashActions:j,selectedElement:[...E,...c],currentFolderId:d==null?void 0:d.id,overrideLabel:te,handleClick:L,isActivable:R?B:D,isActionBarOpen:a,isMoveModalOpen:r==="move",onMoveCancel:b,onMoveSuccess:N,isDeleteModalOpen:r==="delete",onDeleteCancel:U,onDeleteSuccess:H,isPublishModalOpen:r==="publish",onPublishCancel:J,onPublishSuccess:h,isEditFolderOpen:r==="edit_folder",onEditFolderCancel:Q,onEditFolderSuccess:K,isEditResourceOpen:r==="edit_resource",onEditResourceCancel:Z,onEditResourceSuccess:X,isShareResourceOpen:r==="share",onShareResourceCancel:ee,onShareResourceSuccess:W,onClearActionBar:_}}function _e({resourceRights:a,roleExpected:e,action:r,children:i,renderWhenForbidden:s}){const{t:S}=G(),{overrideLabel:m}=q(),{visible:d}=Ee({roles:e,rights:a,action:r==null?void 0:r.id}),{setResourceActionDisable:f}=$(),E=V();return d?n.jsx(n.Fragment,{children:i}):s?s():E&&!d?n.jsx(Y,{type:"button",color:"primary",variant:"filled",onClick:()=>{f(!0)},children:S(m(r))}):n.jsx(n.Fragment,{})}const Oe=p.lazy(async()=>await y(()=>import("./ShareModal.js"),["ShareModal.js","edifice-react.js","react.js","edifice-icons.js"])),ye=p.lazy(async()=>await y(()=>import("./PublishModal.js"),["PublishModal.js","edifice-react.js","react.js","edifice-icons.js"])),ve=p.lazy(async()=>await y(()=>import("./ResourceModal.js"),["ResourceModal.js","edifice-react.js","react.js","edifice-icons.js"])),Ae=p.lazy(async()=>await y(()=>import("./DeleteModal.js"),["DeleteModal.js","edifice-react.js","react.js","edifice-icons.js","index.js"])),Ce=p.lazy(async()=>await y(()=>import("./MoveModal.js"),["MoveModal.js","edifice-react.js","react.js","edifice-icons.js","index.js"])),be=p.lazy(async()=>await y(()=>import("./FolderModal.js"),["FolderModal.js","edifice-react.js","react.js","edifice-icons.js","index.js"]));function we(){const{t:a}=G(),{actions:e,selectedElement:r,isMoveModalOpen:i,isDeleteModalOpen:s,isPublishModalOpen:S,isActionBarOpen:m,isEditFolderOpen:d,overrideLabel:f,onEditFolderCancel:E,onEditFolderSuccess:c,isEditResourceOpen:t,onEditResourceCancel:R,onEditResourceSuccess:v,isShareResourceOpen:O,onShareResourceCancel:g,onShareResourceSuccess:M,onMoveCancel:w,onMoveSuccess:F,onDeleteCancel:T,onDeleteSuccess:j,onPublishCancel:L,onPublishSuccess:D,isActivable:B,handleClick:C}=q(),_=z(),l=de(),b=fe(),N=pe(m,{from:{opacity:0,transform:"translateY(100%)"},enter:{opacity:1,transform:"translateY(0)"},leave:{opacity:0,transform:"translateY(100%)"}});return n.jsxs(n.Fragment,{children:[N((H,U)=>U&&n.jsx(Re.div,{className:"position-fixed bottom-0 start-0 end-0 z-3",style:H,children:n.jsx(Se,{children:e==null?void 0:e.filter(h=>h.available&&h.target==="actionbar").map(h=>B(h)&&n.jsx(_e,{resourceRights:r,roleExpected:h.right,action:h,children:n.jsx(Y,{id:h.id,type:"button",color:"primary",variant:"filled",onClick:()=>{C(h)},children:a(f(h))},h.id)},h.id))})})),n.jsxs(p.Suspense,{fallback:n.jsx(me,{}),children:[i&&n.jsx(Ce,{isOpen:i,onCancel:w,onSuccess:F}),s&&n.jsx(Ae,{isOpen:s,onCancel:T,onSuccess:j}),S&&n.jsx(ye,{isOpen:S,resource:_[0],onCancel:L,onSuccess:D}),d&&n.jsx(be,{edit:!0,isOpen:d,onCancel:E,onSuccess:c}),t&&n.jsx(ve,{mode:"update",actions:e,isOpen:t,selectedResource:_[0],updateResource:b,onCancel:R,onSuccess:v}),O&&n.jsx(Oe,{isOpen:O,resource:_[0],updateResource:b,shareResource:l,onCancel:g,onSuccess:M})]})]})}export{we as default};
1
+ import{e as Y,f as re,b as ce,h as ae,i as G,j as ie,k as le,l as ue,m as de,d as he,u as J,a as fe,n as pe,o as Re,p as Se,q as Ee,_ as A}from"./index.js";import{h as me,j as s,B as K,a as Oe,z as _e,C as ve,E as Ie,L as be,n as ye,t as Ae,H as Ce,J as xe}from"./edifice-react.js";import{r as S,u as Q}from"./react.js";import{odeServices as F,ACTION as d}from"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function ge({roles:c,rights:n,action:r}){const[h,t]=S.useState(!1),{user:m}=me(),f=Y();S.useEffect(()=>{E()},[c,n]);const R=async function(l){const a=l instanceof Array?l:[l];if(c instanceof Array){const p=await F.rights().sessionHasAtLeastOneResourceRight(c,a);t(p)}else{const p=await F.rights().sessionHasResourceRight(c,a);t(p)}},i=async function(l){if(c instanceof Array){const a=await F.rights().sessionHasAtLeastOneResourceRightForEachList(c,l);t(a)}else{const a=await F.rights().sessionHasResourceRightForEachList(c,l);t(a)}},E=async function(){var l,a,p;if(c===void 0){t(!0);return}if(f&&((a=(l=n[0])==null?void 0:l.trashedBy)!=null&&a.includes(m==null?void 0:m.userId))&&r==="restore"&&!((p=n[0])!=null&&p.trashed)){t(!0);return}if(n instanceof Array)if(n.length>0)if(typeof n[0]=="string")await R(n);else{const O=n.map(_=>_.rights);await i(O)}else t(!1);else typeof n=="string"?await R(n):await R(n.rights)};return{visible:h,refreshState:E}}function X(){const[c,n]=S.useState(!1),[r,h]=S.useState("void"),[t,m]=S.useState(),f=re(e=>e.config),R=ce(),i=ae(),E=G(),l=ie(),a=le(),p=Y(),O=ue(),_=de(),v=he(),{openResource:j,printSelectedResource:w,openFolder:T,clearSelectedItems:L,clearSelectedIds:B}=J(),{data:D}=fe();S.useEffect(()=>{if(i.length===0&&a.length===0){n(!1);return}if(_){n(!1);return}n(!0)},[i,a]);async function H(e){var P;switch((P=document.getElementById("root"))==null||P.setAttribute("aria-hidden","true"),m(e),e.id){case d.OPEN:return i.length>0?j(E[0]):T({folder:l[0],folderId:l[0].id});case d.MOVE:return h("move");case d.PRINT:return w();case d.DELETE:return h("delete");case d.RESTORE:return await C();case d.PUBLISH:return h("publish");case d.UPD_PROPS:case"edit":return te();case"export":return oe();case d.SHARE:return h("share");default:throw Error(`Unknown action: ${e.id}`)}}function N(e){const P=i.length+a.length,y=i.length===1||a.length===1,q=P===1,M=a.length===0;switch(e.id){case d.OPEN:return q;case d.MANAGE:return y;case d.PUBLISH:return y&&M;case d.UPD_PROPS:return y&&M;case d.SHARE:return M&&y;case d.PRINT:return y&&M;case"edit":return q;default:return!0}}const k=()=>!0;async function C(){try{if(p)await O.mutate();else throw new Error("Cannot restore untrashed resources");x()}catch(e){console.error(e)}}function x(){var e;h("void"),t!=null&&t.id&&((e=document.getElementById(t==null?void 0:t.id))==null||e.focus())}const o=e=>()=>{r===e&&(x(),L(),B())},U=o("move"),g=o("move"),z=o("delete"),I=o("delete"),b=o("publish"),u=o("publish"),V=o("edit_folder"),$=o("edit_folder"),Z=o("edit_resource"),W=o("edit_resource"),ee=o("share"),se=o("share");function te(){if(i&&i.length>0){const e=E[0].assetId;(f==null?void 0:f.app)=="scrapbook"?pe({searchParams:v,assetId:e}):h("edit_resource")}else h("edit_folder")}function oe(){if(i&&i.length>0){const e=E[0].assetId;Re({searchParams:v,assetId:e})}}function ne(e){return e.id==="edit"&&a.length>0?"explorer.rename":`explorer.actions.${e.id}`}return{onRestore:C,actions:p?f==null?void 0:f.trashActions:D,selectedElement:[...E,...l],currentFolderId:R==null?void 0:R.id,overrideLabel:ne,handleClick:H,isActivable:p?k:N,isActionBarOpen:c,isMoveModalOpen:r==="move",onMoveCancel:U,onMoveSuccess:g,isDeleteModalOpen:r==="delete",onDeleteCancel:I,onDeleteSuccess:z,isPublishModalOpen:r==="publish",onPublishCancel:u,onPublishSuccess:b,isEditFolderOpen:r==="edit_folder",onEditFolderCancel:$,onEditFolderSuccess:V,isEditResourceOpen:r==="edit_resource",onEditResourceCancel:W,onEditResourceSuccess:Z,isShareResourceOpen:r==="share",onShareResourceCancel:se,onShareResourceSuccess:ee,onClearActionBar:x}}function Pe({resourceRights:c,roleExpected:n,action:r,children:h,renderWhenForbidden:t}){const{t:m}=Q(),{overrideLabel:f}=X(),{visible:R}=ge({roles:n,rights:c,action:r==null?void 0:r.id}),{setResourceActionDisable:i}=J(),E=Y();return R?s.jsx(s.Fragment,{children:h}):t?t():E&&!R?s.jsx(K,{type:"button",color:"primary",variant:"filled",onClick:()=>{i(!0)},children:m(f(r))}):s.jsx(s.Fragment,{})}const Me=S.lazy(async()=>await A(()=>import("./PublishModal.js"),__vite__mapDeps([0,1,2,3]))),Fe=S.lazy(async()=>await A(()=>import("./ResourceModal.js"),__vite__mapDeps([4,1,2,3]))),je=S.lazy(async()=>await A(()=>import("./DeleteModal.js"),__vite__mapDeps([5,1,2,3,6]))),we=S.lazy(async()=>await A(()=>import("./MoveModal.js"),__vite__mapDeps([7,1,2,3,6]))),Te=S.lazy(async()=>await A(()=>import("./FolderModal.js"),__vite__mapDeps([8,1,2,3,6])));function ke(){const{appCode:c}=Oe(),{t:n}=Q(),{actions:r,selectedElement:h,isMoveModalOpen:t,isDeleteModalOpen:m,isPublishModalOpen:f,isActionBarOpen:R,isEditFolderOpen:i,overrideLabel:E,onEditFolderCancel:l,onEditFolderSuccess:a,isEditResourceOpen:p,onEditResourceCancel:O,onEditResourceSuccess:_,isShareResourceOpen:v,onShareResourceCancel:j,onShareResourceSuccess:w,onMoveCancel:T,onMoveSuccess:L,onDeleteCancel:B,onDeleteSuccess:D,onPublishCancel:H,onPublishSuccess:N,isActivable:k,handleClick:C}=X(),o=G()[0],U=Se(c),g=Ee(c),z=_e(R,{from:{opacity:0,transform:"translateY(100%)"},enter:{opacity:1,transform:"translateY(0)"},leave:{opacity:0,transform:"translateY(100%)"}});return s.jsxs(s.Fragment,{children:[z((I,b)=>b&&s.jsx(ve.div,{className:"position-fixed bottom-0 start-0 end-0 z-3",style:I,children:s.jsx(Ie,{children:r==null?void 0:r.filter(u=>u.available&&u.target==="actionbar").map(u=>k(u)&&s.jsx(Pe,{resourceRights:h,roleExpected:u.right,action:u,children:s.jsx(K,{id:u.id,type:"button",color:"primary",variant:"filled",onClick:()=>{C(u)},children:n(E(u))},u.id)},u.id))})})),s.jsxs(S.Suspense,{fallback:s.jsx(be,{}),children:[t&&s.jsx(we,{isOpen:t,onCancel:T,onSuccess:L}),m&&s.jsx(je,{isOpen:m,onCancel:B,onSuccess:D}),f&&o&&s.jsx(Me,{isOpen:f,resourceId:o.assetId,onCancel:H,onSuccess:N}),i&&s.jsx(Te,{edit:!0,isOpen:i,onCancel:l,onSuccess:a}),p&&o&&s.jsx(Fe,{mode:"update",isOpen:p,resourceId:o.assetId,updateResource:g,onCancel:O,onSuccess:_,children:(I,b,u,V,$)=>c==="blog"&&ye("createPublic",r)&&s.jsx(Ae,{appCode:c,isUpdating:b,resource:I,watch:u,setValue:V,register:$})}),v&&o&&s.jsx(Ce,{isOpen:v,resourceId:o.assetId,shareResource:U,onCancel:j,onSuccess:w,children:c==="blog"?s.jsx(xe,{resource:o,updateResource:g}):null})]})]})}export{ke as default};
2
+ function __vite__mapDeps(indexes) {
3
+ if (!__vite__mapDeps.viteFileDeps) {
4
+ __vite__mapDeps.viteFileDeps = ["PublishModal.js","edifice-react.js","react.js","edifice-icons.js","ResourceModal.js","DeleteModal.js","index.js","MoveModal.js","FolderModal.js"]
5
+ }
6
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7
+ }
package/dist/AppAction.js CHANGED
@@ -1 +1,7 @@
1
- import{u as x,a as f,b as C,c as j,_}from"./index.js";import{i as g,a as S,j as e,B as R,L as A}from"./edifice-react.js";import{u as O,r as a}from"./react.js";import{u as h}from"./edifice-icons.js";import"/assets/js/edifice-ts-client/index.js";const v=a.lazy(async()=>await _(()=>import("./ResourceModal.js"),["ResourceModal.js","edifice-react.js","react.js","edifice-icons.js"]));function L(){const[r,t]=g(),{appCode:o}=S(),{t:n}=O(o),{clearSelectedItems:c,clearSelectedIds:l}=x(),{data:s}=f(),i=s==null?void 0:s.find(m=>m.id==="create"),u=C(),d=j(),p=()=>{c(),l(),t()};return i?e.jsxs(e.Fragment,{children:[e.jsx(R,{type:"button",color:"primary",variant:"filled",leftIcon:e.jsx(h,{}),className:"ms-auto",onClick:p,children:n("explorer.create.title")}),e.jsx(a.Suspense,{fallback:e.jsx(A,{}),children:r&&e.jsx(v,{mode:"create",actions:s,currentFolder:u,createResource:d,isOpen:r,onSuccess:t,onCancel:t})})]}):null}export{L as default};
1
+ import{u as b,a as S,b as _,c as h,d as A,_ as P,g as R}from"./index.js";import{l as v,a as I,j as e,B as O,L as y,n as E,t as T}from"./edifice-react.js";import{u as $,r as n}from"./react.js";import{t as k}from"./edifice-icons.js";import"/assets/js/edifice-ts-client/index.js";const B=n.lazy(async()=>await P(()=>import("./ResourceModal.js"),__vite__mapDeps([0,1,2,3])));function M(){const[o,t]=v(),{appCode:s}=I(),{t:l}=$(s),{clearSelectedItems:i,clearSelectedIds:u}=b(),{data:a}=S(),d=a==null?void 0:a.find(r=>r.id==="create"),c=_(),p=h(),m=A(),f=()=>{if(s=="scrapbook"){R({searchParams:m,folderId:c.id});return}i(),u(),t()};return d?e.jsxs(e.Fragment,{children:[e.jsx(O,{type:"button",color:"primary",variant:"filled",leftIcon:e.jsx(k,{}),className:"ms-auto",onClick:f,children:l("explorer.create.title")}),e.jsx(n.Suspense,{fallback:e.jsx(y,{}),children:o&&e.jsx(B,{mode:"create",currentFolder:c,createResource:p,isOpen:o,onSuccess:t,onCancel:t,children:(r,x,g,C,j)=>s==="blog"&&E("createPublic",a)&&e.jsx(T,{appCode:s,isUpdating:x,resource:r,watch:g,setValue:C,register:j})})})]}):null}export{M as default};
2
+ function __vite__mapDeps(indexes) {
3
+ if (!__vite__mapDeps.viteFileDeps) {
4
+ __vite__mapDeps.viteFileDeps = ["ResourceModal.js","edifice-react.js","react.js","edifice-icons.js"]
5
+ }
6
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7
+ }
@@ -1 +1 @@
1
- import{j as t,M as a,B as n}from"./edifice-react.js";import{u as d,a as c}from"./react.js";import{q as p,r as x,d as h}from"./index.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function m({onSuccess:r}){const s=p(),o=x(),e=h();async function l(){try{e?await s.mutate():await o.mutate(),r==null||r()}catch(i){console.error(i)}}return{isTrashFolder:e,onDelete:l}}function D({isOpen:r,onSuccess:s=()=>({}),onCancel:o=()=>({})}){const{t:e}=d(),{isTrashFolder:l,onDelete:i}=m({onSuccess:s});return c.createPortal(t.jsxs(a,{isOpen:r,onModalClose:o,id:"deleteModal",children:[t.jsx(a.Header,{onModalClose:o,children:e(l?"explorer.delete.title":"explorer.trash.title")}),t.jsx(a.Body,{children:t.jsx("p",{className:"body",children:e(l?"explorer.delete.subtitle":"explorer.trash.subtitle")})}),t.jsxs(a.Footer,{children:[t.jsx(n,{color:"tertiary",onClick:o,type:"button",variant:"ghost",children:e("explorer.cancel")}),t.jsx(n,{color:"danger",onClick:i,type:"button",variant:"filled",children:e(l?"explorer.delete":"explorer.trash")})]})]}),document.getElementById("portal"))}export{D as default};
1
+ import{j as t,M as a,B as n}from"./edifice-react.js";import{u as d,a as c}from"./react.js";import{t as p,v as x,e as h}from"./index.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function m({onSuccess:r}){const s=p(),o=x(),e=h();async function l(){try{e?await s.mutate():await o.mutate(),r==null||r()}catch(i){console.error(i)}}return{isTrashFolder:e,onDelete:l}}function D({isOpen:r,onSuccess:s=()=>({}),onCancel:o=()=>({})}){const{t:e}=d(),{isTrashFolder:l,onDelete:i}=m({onSuccess:s});return c.createPortal(t.jsxs(a,{isOpen:r,onModalClose:o,id:"deleteModal",children:[t.jsx(a.Header,{onModalClose:o,children:e(l?"explorer.delete.title":"explorer.trash.title")}),t.jsx(a.Body,{children:t.jsx("p",{className:"body",children:e(l?"explorer.delete.subtitle":"explorer.trash.subtitle")})}),t.jsxs(a.Footer,{children:[t.jsx(n,{color:"tertiary",onClick:o,type:"button",variant:"ghost",children:e("explorer.cancel")}),t.jsx(n,{color:"danger",onClick:i,type:"button",variant:"filled",children:e(l?"explorer.delete":"explorer.trash")})]})]}),document.getElementById("portal"))}export{D as default};
@@ -1 +1 @@
1
- import{a as i,r as a,j as c,E as m,v as u}from"./edifice-react.js";import{a as x}from"./index.js";import{u as d}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function E(){const{appCode:r}=i(),{theme:t}=a(),[l]=u(),{t:s}=d(),{data:n}=x(),e=n==null?void 0:n.find(p=>p.id==="create"),o=()=>e!=null&&e.available&&(t!=null&&t.is1d)?s("explorer.emptyScreen.txt1d.create",{ns:r}):e!=null&&e.available&&!(t!=null&&t.is1d)?s("explorer.emptyScreen.txt2d.create",{ns:r}):!(e!=null&&e.available)&&(t!=null&&t.is1d)?s("explorer.emptyScreen.txt1d.consultation",{ns:r}):s("explorer.emptyScreen.txt2d.consultation",{ns:r});return c.jsx(m,{imageSrc:`${l}/emptyscreen/illu-${r}.svg`,imageAlt:s("explorer.emptyScreen.app.alt",{ns:r}),title:`${e!=null&&e.available?s("explorer.emptyScreen.title.create",{ns:r}):s("explorer.emptyScreen.title.consultation")}`,text:o()})}export{E as default};
1
+ import{a,v as u,j as c,N as d,y as x}from"./edifice-react.js";import{a as m}from"./index.js";import{u as y}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function E(){const{appCode:r}=a(),{theme:e}=u(),[n]=x(),{t:s}=y(),{data:l}=m(),t=l==null?void 0:l.find(o=>o.id==="create"),i=()=>t!=null&&t.available&&(e!=null&&e.is1d)?s("explorer.emptyScreen.txt1d.create",{ns:r}):t!=null&&t.available&&!(e!=null&&e.is1d)?s("explorer.emptyScreen.txt2d.create",{ns:r}):!(t!=null&&t.available)&&(e!=null&&e.is1d)?s("explorer.emptyScreen.txt1d.consultation",{ns:r}):s("explorer.emptyScreen.txt2d.consultation",{ns:r}),p=()=>t!=null&&t.available&&(e!=null&&e.is1d)?s("explorer.emptyScreen.title1d.create",{ns:r}):t!=null&&t.available&&!(e!=null&&e.is1d)?s("explorer.emptyScreen.title2d.create",{ns:r}):!(t!=null&&t.available)&&(e!=null&&e.is1d)?s("explorer.emptyScreen.title1d.consultation",{ns:r}):s("explorer.emptyScreen.title2d.consultation",{ns:r});return c.jsx(d,{imageSrc:`${n}/emptyscreen/illu-${r}.svg`,imageAlt:s("explorer.emptyScreen.app.alt",{ns:r}),title:p(),text:i()})}export{E as default};
@@ -1 +1 @@
1
- import{j as t,E as o,v as s}from"./edifice-react.js";import{u as m}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function c(){const[r]=s(),{t:e}=m();return t.jsx(o,{imageSrc:`${r}/emptyscreen/illu-error.svg`,imageAlt:e("explorer.emptyScreen.error.alt"),text:"explorer.emptyScreen.error.text"})}export{c as default};
1
+ import{j as t,N as o,y as s}from"./edifice-react.js";import{u as m}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function c(){const[r]=s(),{t:e}=m();return t.jsx(o,{imageSrc:`${r}/emptyscreen/illu-error.svg`,imageAlt:e("explorer.emptyScreen.error.alt"),text:"explorer.emptyScreen.error.text"})}export{c as default};
@@ -1 +1 @@
1
- import{a as r,j as o,E as s,v as a}from"./edifice-react.js";import{u as m}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function u(){const[n]=a(),{appCode:e}=r(),{t}=m();return o.jsx(s,{imageSrc:`${n}/emptyscreen/illu-no-content-in-folder.svg`,imageAlt:t("explorer.emptyScreen.folder.empty.alt",{ns:e}),text:t("explorer.emptyScreen.label",{ns:e})})}export{u as default};
1
+ import{a as r,j as o,N as s,y as a}from"./edifice-react.js";import{u as m}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function u(){const[n]=a(),{appCode:e}=r(),{t}=m();return o.jsx(s,{imageSrc:`${n}/emptyscreen/illu-no-content-in-folder.svg`,imageAlt:t("explorer.emptyScreen.folder.empty.alt",{ns:e}),text:t("explorer.emptyScreen.label",{ns:e})})}export{u as default};
@@ -1 +1 @@
1
- import{a as s,j as a,E as n,v as o}from"./edifice-react.js";import{u as m}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function u(){const{appCode:e}=s(),[r]=o(),{t}=m();return a.jsx(n,{imageSrc:`${r}/emptyscreen/illu-search.svg`,imageAlt:t("explorer.emptyScreen.search.alt",{ns:e}),text:t("explorer.emptyScreen.search.text",{ns:e})})}export{u as default};
1
+ import{a as s,j as a,N as n,y as o}from"./edifice-react.js";import{u as m}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function u(){const{appCode:e}=s(),[r]=o(),{t}=m();return a.jsx(n,{imageSrc:`${r}/emptyscreen/illu-search.svg`,imageAlt:t("explorer.emptyScreen.search.alt",{ns:e}),text:t("explorer.emptyScreen.search.text",{ns:e})})}export{u as default};
@@ -1 +1 @@
1
- import{a as s,j as a,E as p,v as m}from"./edifice-react.js";import{u as n}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function u(){const{appCode:t}=s(),[r]=m(),{t:e}=n();return a.jsx(p,{imageSrc:`${r}/emptyscreen/illu-trash.svg`,imageAlt:e("explorer.emptyScreen.trash.alt"),title:e("explorer.emptyScreen.trash.title"),text:e("explorer.emptyScreen.trash.empty",{ns:t})})}export{u as default};
1
+ import{a as s,j as a,N as p,y as m}from"./edifice-react.js";import{u as n}from"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function u(){const{appCode:t}=s(),[r]=m(),{t:e}=n();return a.jsx(p,{imageSrc:`${r}/emptyscreen/illu-trash.svg`,imageAlt:e("explorer.emptyScreen.trash.alt"),title:e("explorer.emptyScreen.trash.title"),text:e("explorer.emptyScreen.trash.empty",{ns:t})})}export{u as default};
@@ -1 +1 @@
1
- import{j as r,M as i,F as D,W as B,h as q,B as y}from"./edifice-react.js";import{e as L,r as C,u as R,a as w}from"./react.js";import{FOLDER as T}from"/assets/js/edifice-ts-client/index.js";import{h as U,b as V,o as _,p as k}from"./index.js";import"./edifice-icons.js";function z({edit:o,onSuccess:e,onClose:m}){var F;const l=U(),t=V(),c=_(),u=k(),f=o?(F=l[0])==null?void 0:F.name:void 0,{reset:a,register:p,handleSubmit:n,setFocus:x,formState:{errors:h,isSubmitting:s,isDirty:I,isValid:g}}=L({mode:"onChange",values:{name:f||""}}),E=C.useId(),M=async function({name:b}){var j;try{if(o){const d=(j=l[0])==null?void 0:j.parentId,$=l[0].id;await u.mutate({folderId:$,parentId:d,name:b}),a(),e==null||e()}else{const d=(t==null?void 0:t.id)||T.DEFAULT;await c.mutate({name:b,parentId:d}),a(),e==null||e()}}catch(d){console.error(d)}};function v(){a(),m()}return{formId:`createModal_${E}`,errors:h,isSubmitting:s,isDirty:I,isValid:g,register:p,setFocus:x,handleSubmit:n,onCancel:v,onSubmit:M}}function N({isOpen:o,edit:e,onSuccess:m,onCancel:l}){const{t}=R(),{isDirty:c,isValid:u,isSubmitting:f,formId:a,onSubmit:p,onCancel:n,handleSubmit:x,register:h,setFocus:s}=z({edit:e,onSuccess:m,onClose:l});return C.useEffect(()=>{o&&s("name")},[o,s]),o?w.createPortal(r.jsxs(i,{isOpen:o,onModalClose:n,id:"modal_"+a,children:[r.jsx(i.Header,{onModalClose:n,children:t(e?"explorer.rename.folder":"explorer.create.folder")}),r.jsx(i.Body,{children:r.jsx("form",{id:a,onSubmit:x(p),children:r.jsxs(D,{id:"nameFolder",isRequired:!0,children:[r.jsx(B,{children:t("explorer.create.folder.name")}),r.jsx(q,{type:"text",...h("name",{required:!0,pattern:{value:/[^ ]/,message:"invalid title"}}),placeholder:t("explorer.create.folder.name"),size:"md","aria-required":!0})]})})}),r.jsxs(i.Footer,{children:[r.jsx(y,{color:"tertiary",onClick:n,type:"button",variant:"ghost",children:t("explorer.cancel")}),r.jsx(y,{form:a,type:"submit",color:"primary",variant:"filled",disabled:!c||!u||f,children:t(e?"explorer.rename":"explorer.create")})]})]}),document.getElementById("portal")):null}export{N as default};
1
+ import{j as r,M as i,F as D,$ as B,k as q,B as y}from"./edifice-react.js";import{e as L,r as C,u as R,a as k}from"./react.js";import{FOLDER as w}from"/assets/js/edifice-ts-client/index.js";import{j as T,b as U,r as V,s as _}from"./index.js";import"./edifice-icons.js";function z({edit:o,onSuccess:e,onClose:m}){var F;const l=T(),t=U(),c=V(),u=_(),f=o?(F=l[0])==null?void 0:F.name:void 0,{reset:a,register:p,handleSubmit:n,setFocus:x,formState:{errors:h,isSubmitting:s,isDirty:I,isValid:g}}=L({mode:"onChange",values:{name:f||""}}),E=C.useId(),M=async function({name:j}){var b;try{if(o){const d=(b=l[0])==null?void 0:b.parentId,v=l[0].id;await u.mutate({folderId:v,parentId:d,name:j}),a(),e==null||e()}else{const d=(t==null?void 0:t.id)||w.DEFAULT;await c.mutate({name:j,parentId:d}),a(),e==null||e()}}catch(d){console.error(d)}};function $(){a(),m()}return{formId:`createModal_${E}`,errors:h,isSubmitting:s,isDirty:I,isValid:g,register:p,setFocus:x,handleSubmit:n,onCancel:$,onSubmit:M}}function Q({isOpen:o,edit:e,onSuccess:m,onCancel:l}){const{t}=R(),{isDirty:c,isValid:u,isSubmitting:f,formId:a,onSubmit:p,onCancel:n,handleSubmit:x,register:h,setFocus:s}=z({edit:e,onSuccess:m,onClose:l});return C.useEffect(()=>{o&&s("name")},[o,s]),o?k.createPortal(r.jsxs(i,{isOpen:o,onModalClose:n,id:"modal_"+a,children:[r.jsx(i.Header,{onModalClose:n,children:t(e?"explorer.rename.folder":"explorer.create.folder")}),r.jsx(i.Body,{children:r.jsx("form",{id:a,onSubmit:x(p),children:r.jsxs(D,{id:"nameFolder",isRequired:!0,children:[r.jsx(B,{children:t("explorer.create.folder.name")}),r.jsx(q,{type:"text",...h("name",{required:!0,pattern:{value:/[^ ]/,message:"invalid title"}}),placeholder:t("explorer.create.folder.name"),size:"md","aria-required":!0})]})})}),r.jsxs(i.Footer,{children:[r.jsx(y,{color:"tertiary",onClick:n,type:"button",variant:"ghost",children:t("explorer.cancel")}),r.jsx(y,{form:a,type:"submit",color:"primary",variant:"filled",disabled:!c||!u||f,children:t(e?"explorer.rename":"explorer.create")})]})]}),document.getElementById("portal")):null}export{Q as default};
@@ -1 +1 @@
1
- import{j as i,C as p,a as S,H as f,u as y,x as m}from"./edifice-react.js";import{w as C}from"./edifice-icons.js";import{h as T,i as I,u as N}from"./index.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";const g=({app:e,name:c,isSelected:r=!1,isSelectable:l=!0,onClick:t,onSelect:n})=>i.jsx(p,{app:e,isSelectable:l,isSelected:r,onClick:t,onSelect:n,children:d=>i.jsxs(p.Body,{children:[i.jsx(C,{width:"48",height:"48",className:`color-app-${d}`}),i.jsx(p.Title,{children:c})]})});g.displayName="FolderCard";const k=({data:e})=>{var u,a;const{currentApp:c}=S(),r=T(),l=I(),{setSelectedFolders:t,setFolderIds:n,openFolder:d}=N();function x(s){l.includes(s.id)?(n(l.filter(o=>o!==s.id)),t(r.filter(o=>o.id!==s.id))):(n([...l,s.id]),t([...r,s]))}const h=f({from:{opacity:0},to:{opacity:1}}),F=y();return(u=e==null?void 0:e.pages[0])!=null&&u.folders.length?i.jsx(m.ul,{className:"grid ps-0 list-unstyled mb-24",children:(a=e==null?void 0:e.pages[0])==null?void 0:a.folders.map(s=>{const{id:o,name:j}=s;return i.jsx(m.li,{className:"g-col-4 z-1",style:{position:"relative",...h},children:i.jsx(g,{name:j,app:c,isSelected:l.includes(s.id),onClick:()=>{F(),d({folder:s,folderId:s.id})},onSelect:()=>x(s)})},o)})}):null};export{k as default};
1
+ import{j as l,P as p,a as S,R as f,u as y,C as m}from"./edifice-react.js";import{v as C}from"./edifice-icons.js";import{j as T,k as I,u as N}from"./index.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";const g=({app:e,name:c,isSelected:r=!1,isSelectable:o=!0,onClick:t,onSelect:n})=>l.jsx(p,{app:e,isSelectable:o,isSelected:r,onClick:t,onSelect:n,children:d=>l.jsxs(p.Body,{children:[l.jsx(C,{width:"48",height:"48",className:`color-app-${d}`}),l.jsx(p.Title,{children:c})]})});g.displayName="FolderCard";const b=({data:e})=>{var u,a;const{currentApp:c}=S(),r=T(),o=I(),{setSelectedFolders:t,setFolderIds:n,openFolder:d}=N();function j(s){o.includes(s.id)?(n(o.filter(i=>i!==s.id)),t(r.filter(i=>i.id!==s.id))):(n([...o,s.id]),t([...r,s]))}const x=f({from:{opacity:0},to:{opacity:1}}),F=y();return(u=e==null?void 0:e.pages[0])!=null&&u.folders.length?l.jsx(m.ul,{className:"grid ps-0 list-unstyled mb-24",children:(a=e==null?void 0:e.pages[0])==null?void 0:a.folders.map(s=>{const{id:i,name:h}=s;return l.jsx(m.li,{className:"g-col-4 z-1",style:{position:"relative",...x},children:l.jsx(g,{name:h,app:c,isSelected:o.includes(s.id),onClick:()=>{F(),d({folder:s,folderId:s.id})},onSelect:()=>j(s)})},i)})}):null};export{b as default};
package/dist/Library.js CHANGED
@@ -1 +1 @@
1
- import{r as i,s as o,j as r,t as l,B as n,v as m}from"./edifice-react.js";import{v as c}from"./edifice-icons.js";import{u as p}from"./react.js";import"/assets/js/edifice-ts-client/index.js";const b=()=>{const{t:a}=p(),{theme:s}=i(),{libraryUrl:e}=o(),[t]=m();return r.jsxs("div",{className:"p-16",children:[r.jsx(l,{width:"270",height:"140",loading:"lazy",className:"rounded",src:`${t}/${s==null?void 0:s.bootstrapVersion}/image-library.svg`,alt:a("explorer.libray.img.alt")}),r.jsx("p",{className:"m-8",children:a("explorer.libray.title")}),r.jsx("a",{href:e,target:"_blank",rel:"noreferrer",children:r.jsx(n,{rightIcon:r.jsx(c,{}),className:"py-0 px-8",variant:"ghost",color:"primary",children:a("explorer.libray.btn")})})]})};export{b as default};
1
+ import{v as i,w as l,j as r,x as o,y as n}from"./edifice-react.js";import{u as m}from"./edifice-icons.js";import{u as p}from"./react.js";import"/assets/js/edifice-ts-client/index.js";const g=()=>{const{t:s}=p(),{theme:a}=i(),{libraryUrl:e}=l(),[t]=n();return r.jsxs("div",{className:"p-16",children:[r.jsx(o,{width:"270",height:"140",loading:"lazy",className:"rounded",src:`${t}/${a==null?void 0:a.bootstrapVersion}/image-library.svg`,alt:s("explorer.libray.img.alt")}),r.jsx("p",{className:"m-8",children:s("explorer.libray.title")}),r.jsxs("a",{href:e,target:"_blank",rel:"noreferrer",className:"d-inline-flex gap-4 btn btn-ghost-primary py-0 p-0 pe-8",children:[r.jsx("span",{children:s("explorer.libray.btn")}),r.jsx(m,{})]})]})};export{g as default};
package/dist/MoveModal.js CHANGED
@@ -1 +1 @@
1
- import{d as I,j as o,M as n,T as v,B as h}from"./edifice-react.js";import{r as T,u as M,a as y}from"./react.js";import{s as j,h as b,g as F,u as S,t as w}from"./index.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function E({onSuccess:a}){const[s,r]=T.useState(),l=j(),d=b(),i=F(),{foldTreeItem:c,unfoldTreeItem:m}=S(),u=I();async function f(){try{if(!s)throw new Error("explorer.move.selection.empty");await l.mutate(s),await(a==null?void 0:a())}catch(e){console.error(e)}}const x=e=>{var p;for(const t of d)if(e===t.id||e===t.parentId)return!1;for(const t of i)if(e===((t==null?void 0:t.folderIds)&&t.folderIds[0])||((p=t==null?void 0:t.folderIds)==null?void 0:p.length)===0&&e==="default")return!1;return!0};return{disableSubmit:!s,handleTreeItemSelect:e=>{x(e)?r(e):r(void 0)},handleTreeItemFold:c,handleTreeItemUnfold:async e=>await m(e,u),onMove:()=>{f()}}}function $({isOpen:a,onSuccess:s,onCancel:r}){const{t:l}=M(),{handleTreeItemFold:d,handleTreeItemSelect:i,handleTreeItemUnfold:c,onMove:m,disableSubmit:u}=E({onSuccess:s}),f=w();return y.createPortal(o.jsxs(n,{isOpen:a,onModalClose:r,id:"moveModal",children:[o.jsx(n.Header,{onModalClose:r,children:l("explorer.move.title")}),o.jsx(n.Subtitle,{children:l("explorer.move.subtitle")}),o.jsx(n.Body,{children:o.jsx(v,{data:f,onTreeItemSelect:i,onTreeItemFold:d,onTreeItemUnfold:c})}),o.jsxs(n.Footer,{children:[o.jsx(h,{color:"tertiary",onClick:r,type:"button",variant:"ghost",children:l("explorer.cancel")}),o.jsx(h,{color:"primary",onClick:m,type:"button",variant:"filled",disabled:u,children:l("explorer.move")})]})]}),document.getElementById("portal"))}export{$ as default};
1
+ import{d as I,j as o,M as n,T as v,B as x}from"./edifice-react.js";import{r as T,u as M,a as y}from"./react.js";import{w as j,j as b,i as F,u as w,x as S}from"./index.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function E({onSuccess:a}){const[s,r]=T.useState(),l=j(),d=b(),i=F(),{foldTreeItem:c,unfoldTreeItem:m}=w(),u=I();async function f(){try{if(!s)throw new Error("explorer.move.selection.empty");await l.mutate(s),await(a==null?void 0:a())}catch(e){console.error(e)}}const h=e=>{var p;for(const t of d)if(e===t.id||e===t.parentId)return!1;for(const t of i)if(e===((t==null?void 0:t.folderIds)&&t.folderIds[0])||((p=t==null?void 0:t.folderIds)==null?void 0:p.length)===0&&e==="default")return!1;return!0};return{disableSubmit:!s,handleTreeItemSelect:e=>{h(e)?r(e):r(void 0)},handleTreeItemFold:c,handleTreeItemUnfold:async e=>await m(e,u),onMove:()=>{f()}}}function $({isOpen:a,onSuccess:s,onCancel:r}){const{t:l}=M(),{handleTreeItemFold:d,handleTreeItemSelect:i,handleTreeItemUnfold:c,onMove:m,disableSubmit:u}=E({onSuccess:s}),f=S();return y.createPortal(o.jsxs(n,{isOpen:a,onModalClose:r,id:"moveModal",children:[o.jsx(n.Header,{onModalClose:r,children:l("explorer.move.title")}),o.jsx(n.Subtitle,{children:l("explorer.move.subtitle")}),o.jsx(n.Body,{children:o.jsx(v,{data:f,onTreeItemSelect:i,onTreeItemFold:d,onTreeItemUnfold:c})}),o.jsxs(n.Footer,{children:[o.jsx(x,{color:"tertiary",onClick:r,type:"button",variant:"ghost",children:l("explorer.cancel")}),o.jsx(x,{color:"primary",onClick:m,type:"button",variant:"filled",disabled:u,children:l("explorer.move")})]})]}),document.getElementById("portal"))}export{$ as default};
@@ -1 +1 @@
1
- import{z as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
1
+ import{K as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
@@ -1 +1 @@
1
- import{Z as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
1
+ import{a1 as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
@@ -1 +1 @@
1
- import{X as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
1
+ import{a0 as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
@@ -1 +1 @@
1
- import{j as s,C as l,t as z,J as B,K as M,N as O,P as N,R as y,U as E,a as L,H as U,V as G,x as I,B as H}from"./edifice-react.js";import{u as $,r as J,b}from"./react.js";import{x as K,y as V}from"./edifice-icons.js";import{n as q,f as D,g as Q,u as W,d as X}from"./index.js";import"/assets/js/edifice-ts-client/index.js";const T=({app:i,resource:t,time:p,isSelected:g=!1,isSelectable:j=!0,onClick:c,onSelect:e})=>{const d=`/userbook/avatar/${t==null?void 0:t.creatorId}`;function o(n){const{rights:u,creatorId:v}=n||{};return u.filter(R=>!R.includes(v)).length>=1}const x=o(t),f=t==null?void 0:t.public,{t:h}=$();return s.jsx(l,{app:i,isSelected:g,isSelectable:j,onClick:c,onSelect:e,children:n=>s.jsxs(s.Fragment,{children:[s.jsxs(l.Body,{children:[s.jsx("div",{className:"card-image medium",children:t!=null&&t.thumbnail?s.jsx(z,{alt:"",src:t==null?void 0:t.thumbnail,objectFit:"cover",className:"h-full w-100"}):s.jsx(B,{app:i,iconFit:"ratio",size:"80",variant:"rounded"})}),s.jsxs("div",{className:"text-truncate",children:[s.jsx(l.Title,{children:t==null?void 0:t.name}),s.jsx(l.Text,{children:s.jsx("em",{children:p})})]})]}),s.jsxs(l.Footer,{children:[s.jsxs("div",{className:"d-inline-flex align-items-center gap-8 text-truncate",children:[d?s.jsx(M,{alt:(t==null?void 0:t.creatorName)||"",size:"xs",src:d,variant:"circle",width:"24",height:"24"}):s.jsx(O,{}),s.jsx(l.Text,{children:t==null?void 0:t.creatorName})]}),s.jsxs("div",{className:"d-inline-flex align-items-center gap-8",children:[x&&s.jsx(N,{message:h("tooltip.shared",{ns:n}),placement:"top",children:s.jsx(K,{width:16,height:16})}),f&&s.jsx(N,{message:h("tooltip.public",{ns:n}),placement:"top",children:s.jsx(V,{width:16,height:16})})]})]})]})})};T.displayName="ResourceCard";y.extend(E);const as=({data:i,fetchNextPage:t})=>{const{currentApp:p,currentLanguage:g}=L(),{t:j}=$(),c=q(),e=D(),d=Q(),{setSelectedResources:o,setResourceIds:x,openResource:f,setResourceIsTrash:h}=W(),n=X(),u=U({from:{opacity:0},to:{opacity:1}}),S=c.pagination.startIdx+c.pagination.pageSize<(c.pagination.maxIdx||0),R=J.useCallback(()=>{t()},[]),C=a=>{n?(h(!0),x([a.id]),o([a])):f(a)};async function F(a){if(e.includes(a.id)){x(e.filter(m=>m!==a.id)),o(d.filter(m=>m.id!==a.id));return}x([...e,a.id]),o([...d,a])}const P=G("grid ps-0 list-unstyled");return s.jsxs(b.Fragment,{children:[s.jsx(I.ul,{className:P,children:i==null?void 0:i.pages.map((a,m)=>s.jsx(b.Fragment,{children:a.resources.map(r=>{const{id:k,updatedAt:w}=r,A=y(w).locale(g).fromNow();return s.jsx(I.li,{className:"g-col-4 z-1",style:{position:"relative",...u},children:s.jsx(T,{app:p,resource:r,time:A,isSelectable:!0,isSelected:e.includes(r.id),onClick:()=>C(r),onSelect:()=>F(r)})},k)})},m))}),S&&s.jsx("div",{className:"d-grid gap-2 col-4 mx-auto my-24",children:s.jsx(H,{type:"button",color:"secondary",variant:"filled",onClick:R,children:j("explorer.see.more")})})]})};export{as as default};
1
+ import{j as s,P as l,x as z,U as B,V as M,W as O,X as I,Y as y,Z as E,a as L,R as U,_ as G,C as N,B as V}from"./edifice-react.js";import{u as $,r as W,b}from"./react.js";import{w as X,x as Y}from"./edifice-icons.js";import{d as Z,h as _,i as q,u as D,e as H}from"./index.js";import"/assets/js/edifice-ts-client/index.js";const T=({app:i,resource:t,time:p,isSelected:g=!1,isSelectable:j=!0,onClick:c,onSelect:e})=>{const d=`/userbook/avatar/${t==null?void 0:t.creatorId}`;function o(n){const{rights:u,creatorId:v}=n||{};return u.filter(R=>!R.includes(v)).length>=1}const x=o(t),f=t==null?void 0:t.public,{t:h}=$();return s.jsx(l,{app:i,isSelected:g,isSelectable:j,onClick:c,onSelect:e,children:n=>s.jsxs(s.Fragment,{children:[s.jsxs(l.Body,{children:[s.jsx("div",{className:"card-image medium",children:t!=null&&t.thumbnail?s.jsx(z,{alt:"",src:t==null?void 0:t.thumbnail,objectFit:"cover",className:"h-full w-100"}):s.jsx(B,{app:i,iconFit:"ratio",size:"80",variant:"rounded"})}),s.jsxs("div",{className:"text-truncate",children:[s.jsx(l.Title,{children:t==null?void 0:t.name}),s.jsx(l.Text,{children:s.jsx("em",{children:p})})]})]}),s.jsxs(l.Footer,{children:[s.jsxs("div",{className:"d-inline-flex align-items-center gap-8 text-truncate",children:[d?s.jsx(M,{alt:(t==null?void 0:t.creatorName)||"",size:"xs",src:d,variant:"circle",width:"24",height:"24"}):s.jsx(O,{}),s.jsx(l.Text,{children:t==null?void 0:t.creatorName})]}),s.jsxs("div",{className:"d-inline-flex align-items-center gap-8",children:[x&&s.jsx(I,{message:h("tooltip.shared",{ns:n}),placement:"top",children:s.jsx(X,{width:16,height:16})}),f&&s.jsx(I,{message:h("tooltip.public",{ns:n}),placement:"top",children:s.jsx(Y,{width:16,height:16})})]})]})]})})};T.displayName="ResourceCard";y.extend(E);const as=({data:i,fetchNextPage:t})=>{const{currentApp:p,currentLanguage:g}=L(),{t:j}=$(),c=Z(),e=_(),d=q(),{setSelectedResources:o,setResourceIds:x,openResource:f,setResourceIsTrash:h}=D(),n=H(),u=U({from:{opacity:0},to:{opacity:1}}),S=c.pagination.startIdx+c.pagination.pageSize<(c.pagination.maxIdx||0),R=W.useCallback(()=>{t()},[]),C=a=>{n?(h(!0),x([a.id]),o([a])):f(a)};async function F(a){if(e.includes(a.id)){x(e.filter(m=>m!==a.id)),o(d.filter(m=>m.id!==a.id));return}x([...e,a.id]),o([...d,a])}const w=G("grid ps-0 list-unstyled");return s.jsxs(b.Fragment,{children:[s.jsx(N.ul,{className:w,children:i==null?void 0:i.pages.map((a,m)=>s.jsx(b.Fragment,{children:a.resources.map(r=>{const{id:P,updatedAt:k}=r,A=y(k).locale(g).fromNow();return s.jsx(N.li,{className:"g-col-4 z-1",style:{position:"relative",...u},children:s.jsx(T,{app:p,resource:r,time:A,isSelectable:!0,isSelected:e.includes(r.id),onClick:()=>C(r),onSelect:()=>F(r)})},P)})},m))}),S&&s.jsx("div",{className:"d-grid gap-2 col-4 mx-auto my-24",children:s.jsx(V,{type:"button",color:"secondary",variant:"filled",onClick:R,children:j("explorer.see.more")})})]})};export{as as default};
@@ -1 +1 @@
1
- import{j as l}from"./edifice-react.js";const d=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 6a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M11 16a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),L=d,r=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.707 4.293a1 1 0 0 1 0 1.414L6.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0",clipRule:"evenodd"})]}),V=r,n=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L17.586 12l-6.293-6.293a1 1 0 0 1 0-1.414",clipRule:"evenodd"})]}),z=n,h=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",d:"M7 4a1 1 0 0 0-1 1v14.06l5.42-3.87a1 1 0 0 1 1.16 0L18 19.06V5a1 1 0 0 0-1-1zM4.88 2.88A3 3 0 0 1 7 2h10a3 3 0 0 1 3 3v16a1 1 0 0 1-1.58.81L12 17.23 5.58 21.8A1 1 0 0 1 4 21V5a3 3 0 0 1 .88-2.12"})]}),F=h,s=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 5c0 .828-.711 1.5-1.588 1.5H4.588C3.711 6.5 3 5.828 3 5s.711-1.5 1.588-1.5h14.824C20.289 3.5 21 4.172 21 5M21 12c0 .828-.711 1.5-1.588 1.5H4.588C3.711 13.5 3 12.828 3 12s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5M21 19c0 .828-.711 1.5-1.588 1.5H4.588C3.711 20.5 3 19.828 3 19s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5",clipRule:"evenodd"})]}),_=s,o=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.222 4.222a1.1 1.1 0 0 1 1.556 0l14 14a1.1 1.1 0 1 1-1.556 1.556l-14-14a1.1 1.1 0 0 1 0-1.556",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.778 4.222a1.1 1.1 0 0 1 0 1.556l-14 14a1.1 1.1 0 1 1-1.556-1.556l14-14a1.1 1.1 0 0 1 1.556 0",clipRule:"evenodd"})]}),k=o,v=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.676 3c.284-.672.853-1 1.263-1h11.423c.566 0 1.438.628 1.438 1.923v13.154c0 1.056-.58 1.668-1.1 1.858V6.923C19.7 4.99 18.3 3 16.061 3zm-2.272.007C4.765 1.41 6.056 0 7.939 0h11.423C21.599 0 23 1.99 23 3.923v13.154c0 1.865-1.303 3.782-3.403 3.916C19.235 22.59 17.944 24 16.06 24H4.638C2.401 24 1 22.01 1 20.077V6.923c0-1.865 1.303-3.782 3.404-3.916M3.2 6.923C3.2 5.628 4.072 5 4.638 5h11.423c.567 0 1.439.628 1.439 1.923v13.154c0 1.295-.872 1.923-1.439 1.923H4.638c-.566 0-1.438-.628-1.438-1.923z",clipRule:"evenodd"})]}),E=v,t=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.461 3.689a.96.96 0 0 1 .675-.28h3.819a.955.955 0 0 1 .954.955v.954H9.182v-.954c0-.254.1-.496.28-.675m7.357.675v.954h3.818a.955.955 0 0 1 0 1.91h-.954v12.408a2.864 2.864 0 0 1-2.864 2.864H7.273a2.864 2.864 0 0 1-2.864-2.864V7.227h-.954a.955.955 0 1 1 0-1.909h3.818v-.954A2.864 2.864 0 0 1 10.136 1.5h3.819a2.864 2.864 0 0 1 2.863 2.864m-10.5 2.863v12.41a.954.954 0 0 0 .955.954h9.545a.955.955 0 0 0 .955-.955V7.227zm3.818 2.864c.528 0 .955.427.955.955v5.727a.955.955 0 1 1-1.91 0v-5.727c0-.528.428-.955.955-.955m4.773 6.682v-5.727a.955.955 0 0 0-1.909 0v5.727a.955.955 0 1 0 1.91 0",clipRule:"evenodd"})]}),D=t,c=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.879 3.879A3 3 0 0 1 4 3h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 2.879c-.297 0-.583.118-.793.328l-9.304 9.304-.529 2.115 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 2.879m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.464.263l-4 1a1 1 0 0 1-1.213-1.212l1-4a1 1 0 0 1 .263-.465z",clipRule:"evenodd"})]}),O=c,g=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8.293 15.707a1 1 0 0 1 0-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414 0",clipRule:"evenodd"})]}),P=g,u=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.91 9.14v1.27H8.25a4.7 4.7 0 0 0-3.86 1.98L1.5 16.53V6.4a2.3 2.3 0 0 1 .77-1.69A2.68 2.68 0 0 1 4.11 4h3.73a2.68 2.68 0 0 1 1.84.71c.25.22.45.48.58.77s.2.6.2.92v.34h7.84c.7.01 1.35.27 1.84.71.49.45.76 1.06.77 1.7ZM8.25 11.92h14.47c.63 0 1 .68.64 1.18l-3.52 5.04a3.13 3.13 0 0 1-2.57 1.32H2.79c-.62 0-.99-.68-.64-1.18l3.53-5.04a3.13 3.13 0 0 1 2.57-1.32",clipRule:"evenodd"})]}),U=u,w=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.093 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .764 1.646L15 12.826V21a1 1 0 0 1-1.447.894l-4-2A1 1 0 0 1 9 19v-6.174l-7.764-9.18a1 1 0 0 1-.143-1.067M4.155 4l6.609 7.814a1 1 0 0 1 .236.646v5.922l2 1V12.46a1 1 0 0 1 .236-.646L19.845 4z",clipRule:"evenodd"})]}),G=w,x=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.057 5.5A.057.057 0 0 0 3 5.557v13.03h18V7.875h-8.697a1 1 0 0 1-1-1c0-.759-.615-1.374-1.374-1.374zM1 5.557C1 4.42 1.92 3.5 3.057 3.5h6.872c1.515 0 2.797.999 3.223 2.374H21a2 2 0 0 1 2 2v10.714a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2z",clipRule:"evenodd"})]}),q=x,f=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.726 3.29A9.01 9.01 0 0 0 3.055 11H7.05a16.3 16.3 0 0 1 2.676-7.71m4.548 0A16.3 16.3 0 0 1 16.95 11h3.995a9.01 9.01 0 0 0-6.67-7.71m.668 7.71A14.3 14.3 0 0 0 12 3.55 14.3 14.3 0 0 0 9.058 11zm-5.884 2h5.884A14.3 14.3 0 0 1 12 20.45 14.3 14.3 0 0 1 9.058 13M7.05 13H3.055a9.01 9.01 0 0 0 6.67 7.71A16.3 16.3 0 0 1 7.05 13m7.224 7.71A16.3 16.3 0 0 0 16.95 13h3.995a9.01 9.01 0 0 1-6.67 7.71M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11",clipRule:"evenodd"})]}),Z=f,p=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.01 17a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v5a1 1 0 0 1-1 1M13.01 7.5a1 1 0 0 1-1 1H12a1 1 0 1 1 0-2h.01a1 1 0 0 1 1 1",clipRule:"evenodd"})]}),J=p,j=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.672 5.558a7.96 7.96 0 0 0-9.841.397 7.95 7.95 0 0 0-1.908 9.66 7.964 7.964 0 0 0 8.949 4.12A7.95 7.95 0 0 0 19.962 12a1.021 1.021 0 1 1 2.045 0A9.994 9.994 0 0 1 7.83 21.083a10.01 10.01 0 0 1-5.634-11.027 9.99 9.99 0 0 1 9.402-8.048c2.244-.09 4.453.577 6.272 1.895a1.022 1.022 0 1 1-1.198 1.655",clipRule:"evenodd"})]}),K=j,R=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("circle",{cx:12,cy:4,r:2.5,fill:"currentColor"}),l.jsx("circle",{cx:12,cy:12,r:2.5,fill:"currentColor"}),l.jsx("circle",{cx:12,cy:20,r:2.5,fill:"currentColor"})]}),N=R,S=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7v7a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7z",clipRule:"evenodd"})]}),Q=S,C=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.012 7.871a1.5 1.5 0 0 1 2.117.141L12 14.722l5.871-6.71a1.5 1.5 0 1 1 2.258 1.976l-7 8a1.5 1.5 0 0 1-2.258 0l-7-8a1.5 1.5 0 0 1 .141-2.117",clipRule:"evenodd"})]}),T=C,b=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.129 4.012a1.5 1.5 0 0 1-.141 2.117L9.278 12l6.71 5.871a1.5 1.5 0 0 1-1.976 2.258l-8-7a1.5 1.5 0 0 1 0-2.258l8-7a1.5 1.5 0 0 1 2.117.141",clipRule:"evenodd"})]}),W=b,M=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.871 19.988a1.5 1.5 0 0 1 .141-2.117L14.722 12l-6.71-5.871A1.5 1.5 0 0 1 9.988 3.87l8 7a1.5 1.5 0 0 1 0 2.258l-8 7a1.5 1.5 0 0 1-2.117-.141",clipRule:"evenodd"})]}),X=M,m=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.988 17.129a1.5 1.5 0 0 1-2.117-.141L12 10.278l-5.871 6.71a1.5 1.5 0 0 1-2.258-1.976l7-8a1.5 1.5 0 0 1 2.258 0l7 8a1.5 1.5 0 0 1-.141 2.117",clipRule:"evenodd"})]}),Y=m,y=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7h1a1 1 0 0 0 1-1V8.414L15.586 4H8v3h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V4zm2-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a1 1 0 0 0-.293-.707l-5-5A1 1 0 0 0 16 2zm1 12v6h8v-6z",clipRule:"evenodd"})]}),I=y,B=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0m7-9a9 9 0 1 0 5.7 15.96 1 1 0 0 0 .24.4l4.35 4.35a1 1 0 0 0 1.42-1.42l-4.35-4.35a1 1 0 0 0-.4-.24A9 9 0 0 0 11 1",clipRule:"evenodd"})]}),l1=B,A=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.59 8.192a1 1 0 0 1 .218 1.397l-4.375 6a1 1 0 0 1-1.584.042L8.224 12.4a1 1 0 0 1 1.552-1.261l1.806 2.223 3.61-4.951a1 1 0 0 1 1.397-.219",clipRule:"evenodd"})]}),e1=A,$=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#users_svg__a)",clipRule:"evenodd",children:l.jsx("path",{d:"M19.055 12.803a1 1 0 0 1 1.272-.618c1.128.39 2.061 1.247 2.7 2.351.64 1.106.972 2.435.973 3.782V21a1 1 0 1 1-2 0v-2.681c0-1.03-.258-2.009-.704-2.782-.448-.773-1.034-1.258-1.623-1.462a1 1 0 0 1-.618-1.272M15.187 1.384a1 1 0 0 1 1.036-.962 5.129 5.129 0 0 1 2.11 9.71 1 1 0 1 1-.896-1.788 3.129 3.129 0 0 0-1.288-5.924 1 1 0 0 1-.962-1.036M1.505 15.694C2.481 14.622 3.825 14 5.25 14h8.5c1.424 0 2.769.622 3.744 1.694.974 1.068 1.506 2.498 1.506 3.973V22a1 1 0 1 1-2 0v-2.333c0-1.001-.363-1.945-.984-2.627-.618-.679-1.436-1.04-2.266-1.04h-8.5c-.83 0-1.648.361-2.266 1.04-.621.682-.984 1.626-.984 2.627V22a1 1 0 1 1-2 0v-2.333c0-1.475.533-2.905 1.505-3.974M9.5 3a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M4 6.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"users_svg__a",children:l.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),i1=$;export{F as S,T as a,J as b,I as c,k as d,O as e,D as f,E as g,e1 as h,L as i,P as j,W as k,K as l,l1 as m,N as n,Y as o,X as p,q,_ as r,V as s,G as t,Q as u,z as v,U as w,i1 as x,Z as y};
1
+ import{j as l}from"./edifice-react.js";const d=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 6a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M11 16a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),H=d,r=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.707 4.293a1 1 0 0 1 0 1.414L6.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0",clipRule:"evenodd"})]}),L=r,n=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L17.586 12l-6.293-6.293a1 1 0 0 1 0-1.414",clipRule:"evenodd"})]}),V=n,h=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",d:"M7 4a1 1 0 0 0-1 1v14.06l5.42-3.87a1 1 0 0 1 1.16 0L18 19.06V5a1 1 0 0 0-1-1zM4.88 2.88A3 3 0 0 1 7 2h10a3 3 0 0 1 3 3v16a1 1 0 0 1-1.58.81L12 17.23 5.58 21.8A1 1 0 0 1 4 21V5a3 3 0 0 1 .88-2.12"})]}),z=h,s=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 5c0 .828-.711 1.5-1.588 1.5H4.588C3.711 6.5 3 5.828 3 5s.711-1.5 1.588-1.5h14.824C20.289 3.5 21 4.172 21 5M21 12c0 .828-.711 1.5-1.588 1.5H4.588C3.711 13.5 3 12.828 3 12s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5M21 19c0 .828-.711 1.5-1.588 1.5H4.588C3.711 20.5 3 19.828 3 19s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5",clipRule:"evenodd"})]}),F=s,o=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.222 4.222a1.1 1.1 0 0 1 1.556 0l14 14a1.1 1.1 0 1 1-1.556 1.556l-14-14a1.1 1.1 0 0 1 0-1.556",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.778 4.222a1.1 1.1 0 0 1 0 1.556l-14 14a1.1 1.1 0 1 1-1.556-1.556l14-14a1.1 1.1 0 0 1 1.556 0",clipRule:"evenodd"})]}),_=o,v=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.676 3c.284-.672.853-1 1.263-1h11.423c.566 0 1.438.628 1.438 1.923v13.154c0 1.056-.58 1.668-1.1 1.858V6.923C19.7 4.99 18.3 3 16.061 3zm-2.272.007C4.765 1.41 6.056 0 7.939 0h11.423C21.599 0 23 1.99 23 3.923v13.154c0 1.865-1.303 3.782-3.403 3.916C19.235 22.59 17.944 24 16.06 24H4.638C2.401 24 1 22.01 1 20.077V6.923c0-1.865 1.303-3.782 3.404-3.916M3.2 6.923C3.2 5.628 4.072 5 4.638 5h11.423c.567 0 1.439.628 1.439 1.923v13.154c0 1.295-.872 1.923-1.439 1.923H4.638c-.566 0-1.438-.628-1.438-1.923z",clipRule:"evenodd"})]}),k=v,c=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.461 3.689a.96.96 0 0 1 .675-.28h3.819a.955.955 0 0 1 .954.955v.954H9.182v-.954c0-.254.1-.496.28-.675m7.357.675v.954h3.818a.955.955 0 0 1 0 1.91h-.954v12.408a2.864 2.864 0 0 1-2.864 2.864H7.273a2.864 2.864 0 0 1-2.864-2.864V7.227h-.954a.955.955 0 1 1 0-1.909h3.818v-.954A2.864 2.864 0 0 1 10.136 1.5h3.819a2.864 2.864 0 0 1 2.863 2.864m-10.5 2.863v12.41a.954.954 0 0 0 .955.954h9.545a.955.955 0 0 0 .955-.955V7.227zm3.818 2.864c.528 0 .955.427.955.955v5.727a.955.955 0 1 1-1.91 0v-5.727c0-.528.428-.955.955-.955m4.773 6.682v-5.727a.955.955 0 0 0-1.909 0v5.727a.955.955 0 1 0 1.91 0",clipRule:"evenodd"})]}),E=c,t=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.879 3.879A3 3 0 0 1 4 3h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 2.879c-.297 0-.583.118-.793.328l-9.304 9.304-.529 2.115 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 2.879m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.464.263l-4 1a1 1 0 0 1-1.213-1.212l1-4a1 1 0 0 1 .263-.465z",clipRule:"evenodd"})]}),D=t,g=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8.293 15.707a1 1 0 0 1 0-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414 0",clipRule:"evenodd"})]}),O=g,u=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.91 9.14v1.27H8.25a4.7 4.7 0 0 0-3.86 1.98L1.5 16.53V6.4a2.3 2.3 0 0 1 .77-1.69A2.68 2.68 0 0 1 4.11 4h3.73a2.68 2.68 0 0 1 1.84.71c.25.22.45.48.58.77s.2.6.2.92v.34h7.84c.7.01 1.35.27 1.84.71.49.45.76 1.06.77 1.7ZM8.25 11.92h14.47c.63 0 1 .68.64 1.18l-3.52 5.04a3.13 3.13 0 0 1-2.57 1.32H2.79c-.62 0-.99-.68-.64-1.18l3.53-5.04a3.13 3.13 0 0 1 2.57-1.32",clipRule:"evenodd"})]}),P=u,w=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.093 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .764 1.646L15 12.826V21a1 1 0 0 1-1.447.894l-4-2A1 1 0 0 1 9 19v-6.174l-7.764-9.18a1 1 0 0 1-.143-1.067M4.155 4l6.609 7.814a1 1 0 0 1 .236.646v5.922l2 1V12.46a1 1 0 0 1 .236-.646L19.845 4z",clipRule:"evenodd"})]}),U=w,x=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.057 5.5A.057.057 0 0 0 3 5.557v13.03h18V7.875h-8.697a1 1 0 0 1-1-1c0-.759-.615-1.374-1.374-1.374zM1 5.557C1 4.42 1.92 3.5 3.057 3.5h6.872c1.515 0 2.797.999 3.223 2.374H21a2 2 0 0 1 2 2v10.714a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2z",clipRule:"evenodd"})]}),G=x,f=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.726 3.29A9.01 9.01 0 0 0 3.055 11H7.05a16.3 16.3 0 0 1 2.676-7.71m4.548 0A16.3 16.3 0 0 1 16.95 11h3.995a9.01 9.01 0 0 0-6.67-7.71m.668 7.71A14.3 14.3 0 0 0 12 3.55 14.3 14.3 0 0 0 9.058 11zm-5.884 2h5.884A14.3 14.3 0 0 1 12 20.45 14.3 14.3 0 0 1 9.058 13M7.05 13H3.055a9.01 9.01 0 0 0 6.67 7.71A16.3 16.3 0 0 1 7.05 13m7.224 7.71A16.3 16.3 0 0 0 16.95 13h3.995a9.01 9.01 0 0 1-6.67 7.71M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11",clipRule:"evenodd"})]}),q=f,p=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.01 17a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v5a1 1 0 0 1-1 1M13.01 7.5a1 1 0 0 1-1 1H12a1 1 0 1 1 0-2h.01a1 1 0 0 1 1 1",clipRule:"evenodd"})]}),Z=p,j=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.672 5.558a7.96 7.96 0 0 0-9.841.397 7.95 7.95 0 0 0-1.908 9.66 7.964 7.964 0 0 0 8.949 4.12A7.95 7.95 0 0 0 19.962 12a1.021 1.021 0 1 1 2.045 0A9.994 9.994 0 0 1 7.83 21.083a10.01 10.01 0 0 1-5.634-11.027 9.99 9.99 0 0 1 9.402-8.048c2.244-.09 4.453.577 6.272 1.895a1.022 1.022 0 1 1-1.198 1.655",clipRule:"evenodd"})]}),J=j,R=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("circle",{cx:12,cy:4,r:2.5,fill:"currentColor"}),l.jsx("circle",{cx:12,cy:12,r:2.5,fill:"currentColor"}),l.jsx("circle",{cx:12,cy:20,r:2.5,fill:"currentColor"})]}),K=R,S=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7v7a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7z",clipRule:"evenodd"})]}),N=S,C=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.012 7.871a1.5 1.5 0 0 1 2.117.141L12 14.722l5.871-6.71a1.5 1.5 0 1 1 2.258 1.976l-7 8a1.5 1.5 0 0 1-2.258 0l-7-8a1.5 1.5 0 0 1 .141-2.117",clipRule:"evenodd"})]}),Q=C,b=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.871 19.988a1.5 1.5 0 0 1 .141-2.117L14.722 12l-6.71-5.871A1.5 1.5 0 0 1 9.988 3.87l8 7a1.5 1.5 0 0 1 0 2.258l-8 7a1.5 1.5 0 0 1-2.117-.141",clipRule:"evenodd"})]}),T=b,M=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.988 17.129a1.5 1.5 0 0 1-2.117-.141L12 10.278l-5.871 6.71a1.5 1.5 0 0 1-2.258-1.976l7-8a1.5 1.5 0 0 1 2.258 0l7 8a1.5 1.5 0 0 1-.141 2.117",clipRule:"evenodd"})]}),W=M,m=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7h1a1 1 0 0 0 1-1V8.414L15.586 4H8v3h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V4zm2-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a1 1 0 0 0-.293-.707l-5-5A1 1 0 0 0 16 2zm1 12v6h8v-6z",clipRule:"evenodd"})]}),X=m,y=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0m7-9a9 9 0 1 0 5.7 15.96 1 1 0 0 0 .24.4l4.35 4.35a1 1 0 0 0 1.42-1.42l-4.35-4.35a1 1 0 0 0-.4-.24A9 9 0 0 0 11 1",clipRule:"evenodd"})]}),Y=y,B=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.59 8.192a1 1 0 0 1 .218 1.397l-4.375 6a1 1 0 0 1-1.584.042L8.224 12.4a1 1 0 0 1 1.552-1.261l1.806 2.223 3.61-4.951a1 1 0 0 1 1.397-.219",clipRule:"evenodd"})]}),I=B,A=({title:e,titleId:i,...a})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":i,...a,children:[e?l.jsx("title",{id:i,children:e}):null,l.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#users_svg__a)",clipRule:"evenodd",children:l.jsx("path",{d:"M19.055 12.803a1 1 0 0 1 1.272-.618c1.128.39 2.061 1.247 2.7 2.351.64 1.106.972 2.435.973 3.782V21a1 1 0 1 1-2 0v-2.681c0-1.03-.258-2.009-.704-2.782-.448-.773-1.034-1.258-1.623-1.462a1 1 0 0 1-.618-1.272M15.187 1.384a1 1 0 0 1 1.036-.962 5.129 5.129 0 0 1 2.11 9.71 1 1 0 1 1-.896-1.788 3.129 3.129 0 0 0-1.288-5.924 1 1 0 0 1-.962-1.036M1.505 15.694C2.481 14.622 3.825 14 5.25 14h8.5c1.424 0 2.769.622 3.744 1.694.974 1.068 1.506 2.498 1.506 3.973V22a1 1 0 1 1-2 0v-2.333c0-1.001-.363-1.945-.984-2.627-.618-.679-1.436-1.04-2.266-1.04h-8.5c-.83 0-1.648.361-2.266 1.04-.621.682-.984 1.626-.984 2.627V22a1 1 0 1 1-2 0v-2.333c0-1.475.533-2.905 1.505-3.974M9.5 3a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M4 6.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"users_svg__a",children:l.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),l1=A;export{z as S,Q as a,Z as b,k as c,X as d,_ as e,D as f,E as g,I as h,H as i,O as j,T as k,J as l,Y as m,K as n,W as o,G as p,F as q,L as r,U as s,N as t,V as u,P as v,l1 as w,q as x};