ode-explorer 1.3.2-develop-pedago.202401291510 → 1.3.3-develop.202402061659

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{e as U,f as re,b as ce,h as ae,i as z,j as ie,k as le,l as ue,m as de,d as fe,u as $,a as he,n as pe,o as Re,p as Ee,q as Se,_ as y}from"./index.js";import{f as me,j as o,B as Y,w as _e,x as Oe,y as ye,L as ve}from"./edifice-react.js";import{r as p,u as q}from"./react.js";import{odeServices as P,ACTION as d}from"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function Ae({roles:l,rights:e,action:r}){const[u,t]=p.useState(!1),{user:m}=me(),R=U();p.useEffect(()=>{S()},[l,e]);const f=async function(a){const n=a instanceof Array?a:[a];if(l instanceof Array){const E=await P.rights().sessionHasAtLeastOneResourceRight(l,n);t(E)}else{const E=await P.rights().sessionHasResourceRight(l,n);t(E)}},c=async function(a){if(l instanceof Array){const n=await P.rights().sessionHasAtLeastOneResourceRightForEachList(l,a);t(n)}else{const n=await P.rights().sessionHasResourceRightForEachList(l,a);t(n)}},S=async function(){var a,n,E;if(l===void 0){t(!0);return}if(R&&((n=(a=e[0])==null?void 0:a.trashedBy)!=null&&n.includes(m==null?void 0:m.userId))&&r==="restore"&&!((E=e[0])!=null&&E.trashed)){t(!0);return}if(e instanceof Array)if(e.length>0)if(typeof e[0]=="string")await f(e);else{const v=e.map(_=>_.rights);await c(v)}else t(!1);else typeof e=="string"?await f(e):await f(e.rights)};return{visible:u,refreshState:S}}function G(){const[l,e]=p.useState(!1),[r,u]=p.useState("void"),[t,m]=p.useState(),R=re(s=>s.config),f=ce(),c=ae(),S=z(),a=ie(),n=le(),E=U(),v=ue(),_=de(),I=fe(),{openResource:g,printSelectedResource:M,openFolder:w,clearSelectedItems:F,clearSelectedIds:T}=$(),{data:j}=he();p.useEffect(()=>{if(c.length===0&&n.length===0){e(!1);return}if(_){e(!1);return}e(!0)},[c,n]);async function L(s){var b;switch((b=document.getElementById("root"))==null||b.setAttribute("aria-hidden","true"),m(s),s.id){case d.OPEN:return c.length>0?g(S[0]):w({folder:a[0],folderId:a[0].id});case d.MOVE:return u("move");case d.PRINT:return M();case d.DELETE:return u("delete");case d.RESTORE:return await O();case d.PUBLISH:return u("publish");case d.UPD_PROPS:case"edit":return te();case"export":return ne();case d.SHARE:return u("share");default:throw Error(`Unknown action: ${s.id}`)}}function D(s){const b=c.length+n.length,C=c.length===1||n.length===1,V=b===1,x=n.length===0;switch(s.id){case d.OPEN:return V;case d.MANAGE:return C;case d.PUBLISH:return C&&x;case d.UPD_PROPS:return C&&x;case d.SHARE:return x&&C;case d.PRINT:return C&&x;case"edit":return V;default:return!0}}const B=()=>!0;async function O(){try{if(E)await v.mutate();else throw new Error("Cannot restore untrashed resources");A()}catch(s){console.error(s)}}function A(){var s;u("void"),t!=null&&t.id&&((s=document.getElementById(t==null?void 0:t.id))==null||s.focus())}const i=s=>()=>{r===s&&(A(),F(),T())},N=i("move"),k=i("move"),H=i("delete"),h=i("delete"),J=i("publish"),K=i("publish"),Q=i("edit_folder"),X=i("edit_folder"),Z=i("edit_resource"),W=i("edit_resource"),ee=i("share"),se=i("share");function te(){if(c&&c.length>0){const s=S[0].assetId;(R==null?void 0:R.app)=="scrapbook"?pe({searchParams:I,assetId:s}):u("edit_resource")}else u("edit_folder")}function ne(){if(c&&c.length>0){const s=S[0].assetId;Re({searchParams:I,assetId:s})}}function oe(s){return s.id==="edit"&&n.length>0?"explorer.rename":`explorer.actions.${s.id}`}return{onRestore:O,actions:E?R==null?void 0:R.trashActions:j,selectedElement:[...S,...a],currentFolderId:f==null?void 0:f.id,overrideLabel:oe,handleClick:L,isActivable:E?B:D,isActionBarOpen:l,isMoveModalOpen:r==="move",onMoveCancel:N,onMoveSuccess:k,isDeleteModalOpen:r==="delete",onDeleteCancel:h,onDeleteSuccess:H,isPublishModalOpen:r==="publish",onPublishCancel:K,onPublishSuccess:J,isEditFolderOpen:r==="edit_folder",onEditFolderCancel:X,onEditFolderSuccess:Q,isEditResourceOpen:r==="edit_resource",onEditResourceCancel:W,onEditResourceSuccess:Z,isShareResourceOpen:r==="share",onShareResourceCancel:se,onShareResourceSuccess:ee,onClearActionBar:A}}function Ce({resourceRights:l,roleExpected:e,action:r,children:u,renderWhenForbidden:t}){const{t:m}=q(),{overrideLabel:R}=G(),{visible:f}=Ae({roles:e,rights:l,action:r==null?void 0:r.id}),{setResourceActionDisable:c}=$(),S=U();return f?o.jsx(o.Fragment,{children:u}):t?t():S&&!f?o.jsx(Y,{type:"button",color:"primary",variant:"filled",onClick:()=>{c(!0)},children:m(R(r))}):o.jsx(o.Fragment,{})}const Ie=p.lazy(async()=>await y(()=>import("./ShareModal.js"),["ShareModal.js","edifice-react.js","react.js","edifice-icons.js"])),be=p.lazy(async()=>await y(()=>import("./PublishModal.js"),["PublishModal.js","edifice-react.js","react.js","edifice-icons.js"])),xe=p.lazy(async()=>await y(()=>import("./ResourceModal.js"),["ResourceModal.js","edifice-react.js","react.js","edifice-icons.js"])),Pe=p.lazy(async()=>await y(()=>import("./DeleteModal.js"),["DeleteModal.js","edifice-react.js","react.js","edifice-icons.js","index.js"])),ge=p.lazy(async()=>await y(()=>import("./MoveModal.js"),["MoveModal.js","edifice-react.js","react.js","edifice-icons.js","index.js"])),Me=p.lazy(async()=>await y(()=>import("./FolderModal.js"),["FolderModal.js","edifice-react.js","react.js","edifice-icons.js","index.js"]));function De(){const{t:l}=q(),{actions:e,selectedElement:r,isMoveModalOpen:u,isDeleteModalOpen:t,isPublishModalOpen:m,isActionBarOpen:R,isEditFolderOpen:f,overrideLabel:c,onEditFolderCancel:S,onEditFolderSuccess:a,isEditResourceOpen:n,onEditResourceCancel:E,onEditResourceSuccess:v,isShareResourceOpen:_,onShareResourceCancel:I,onShareResourceSuccess:g,onMoveCancel:M,onMoveSuccess:w,onDeleteCancel:F,onDeleteSuccess:T,onPublishCancel:j,onPublishSuccess:L,isActivable:D,handleClick:B}=G(),O=z(),A=Ee(),i=Se(),N=_e(R,{from:{opacity:0,transform:"translateY(100%)"},enter:{opacity:1,transform:"translateY(0)"},leave:{opacity:0,transform:"translateY(100%)"}});return o.jsxs(o.Fragment,{children:[N((k,H)=>H&&o.jsx(Oe.div,{className:"position-fixed bottom-0 start-0 end-0 z-3",style:k,children:o.jsx(ye,{children:e==null?void 0:e.filter(h=>h.available&&h.target==="actionbar").map(h=>D(h)&&o.jsx(Ce,{resourceRights:r,roleExpected:h.right,action:h,children:o.jsx(Y,{id:h.id,type:"button",color:"primary",variant:"filled",onClick:()=>{B(h)},children:l(c(h))},h.id)},h.id))})})),o.jsxs(p.Suspense,{fallback:o.jsx(ve,{}),children:[u&&o.jsx(ge,{isOpen:u,onCancel:M,onSuccess:w}),t&&o.jsx(Pe,{isOpen:t,onCancel:F,onSuccess:T}),m&&o.jsx(be,{isOpen:m,resource:O[0],onCancel:j,onSuccess:L}),f&&o.jsx(Me,{edit:!0,isOpen:f,onCancel:S,onSuccess:a}),n&&o.jsx(xe,{mode:"update",actions:e,isOpen:n,selectedResource:O[0],updateResource:i,onCancel:E,onSuccess:v}),_&&o.jsx(Ie,{isOpen:_,resource:O[0],updateResource:i,shareResource:A,onCancel:I,onSuccess:g})]})]})}export{De as default};
1
+ import{d as Y,e as ne,b as oe,f as re,g as J,h as ce,i as ae,j as ie,k as le,u as q,a as ue,l as de,m as he,_ as I}from"./index.js";import{h as fe,j as e,B as K,a as pe,z as Re,C as Se,E as me,L as Ee,n as Oe,t as _e,H as ve,J as ye}from"./edifice-react.js";import{r as R,u as Q}from"./react.js";import{odeServices as j,ACTION as u}from"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";function Ae({roles:o,rights:t,action:n}){const[d,s]=R.useState(!1),{user:S}=fe(),m=Y();R.useEffect(()=>{E()},[o,t]);const p=async function(a){const r=a instanceof Array?a:[a];if(o instanceof Array){const h=await j.rights().sessionHasAtLeastOneResourceRight(o,r);s(h)}else{const h=await j.rights().sessionHasResourceRight(o,r);s(h)}},l=async function(a){if(o instanceof Array){const r=await j.rights().sessionHasAtLeastOneResourceRightForEachList(o,a);s(r)}else{const r=await j.rights().sessionHasResourceRightForEachList(o,a);s(r)}},E=async function(){var a,r,h;if(o===void 0){s(!0);return}if(m&&((r=(a=t[0])==null?void 0:a.trashedBy)!=null&&r.includes(S==null?void 0:S.userId))&&n==="restore"&&!((h=t[0])!=null&&h.trashed)){s(!0);return}if(t instanceof Array)if(t.length>0)if(typeof t[0]=="string")await p(t);else{const _=t.map(v=>v.rights);await l(_)}else s(!1);else typeof t=="string"?await p(t):await p(t.rights)};return{visible:d,refreshState:E}}function X(){const[o,t]=R.useState(!1),[n,d]=R.useState("void"),[s,S]=R.useState(),m=ne(c=>c.config),p=oe(),l=re(),E=J(),a=ce(),r=ae(),h=Y(),_=ie(),v=le(),{openResource:g,printSelectedResource:w,openFolder:T,clearSelectedItems:L,clearSelectedIds:B}=q(),{data:D}=ue();R.useEffect(()=>{if(l.length===0&&r.length===0){t(!1);return}if(v){t(!1);return}t(!0)},[l,r]);async function H(c){var M;switch((M=document.getElementById("root"))==null||M.setAttribute("aria-hidden","true"),S(c),c.id){case u.OPEN:return l.length>0?g(E[0]):T({folder:a[0],folderId:a[0].id});case u.MOVE:return d("move");case u.PRINT:return w();case u.DELETE:return d("delete");case u.RESTORE:return await x();case u.PUBLISH:return d("publish");case u.UPD_PROPS:case"edit":return se();case u.SHARE:return d("share");default:throw Error(`Unknown action: ${c.id}`)}}function N(c){const M=l.length+r.length,C=l.length===1||r.length===1,G=M===1,F=r.length===0;switch(c.id){case u.OPEN:return G;case u.MANAGE:return C;case u.PUBLISH:return C&&F;case u.UPD_PROPS:return C&&F;case u.SHARE:return F&&C;case u.PRINT:return C&&F;case"edit":return G;default:return!0}}const U=()=>!0;async function x(){try{if(h)await _.mutate();else throw new Error("Cannot restore untrashed resources");y()}catch(c){console.error(c)}}function y(){var c;d("void"),s!=null&&s.id&&((c=document.getElementById(s==null?void 0:s.id))==null||c.focus())}const f=c=>()=>{n===c&&(y(),L(),B())},O=f("move"),k=f("move"),P=f("delete"),z=f("delete"),A=f("publish"),b=f("publish"),i=f("edit_folder"),V=f("edit_folder"),$=f("edit_resource"),Z=f("edit_resource"),W=f("share"),ee=f("share");function se(){l&&l.length>0?d("edit_resource"):d("edit_folder")}function te(c){return c.id==="edit"&&r.length>0?"explorer.rename":`explorer.actions.${c.id}`}return{onRestore:x,actions:h?m==null?void 0:m.trashActions:D,selectedElement:[...E,...a],currentFolderId:p==null?void 0:p.id,overrideLabel:te,handleClick:H,isActivable:h?U:N,isActionBarOpen:o,isMoveModalOpen:n==="move",onMoveCancel:O,onMoveSuccess:k,isDeleteModalOpen:n==="delete",onDeleteCancel:z,onDeleteSuccess:P,isPublishModalOpen:n==="publish",onPublishCancel:b,onPublishSuccess:A,isEditFolderOpen:n==="edit_folder",onEditFolderCancel:V,onEditFolderSuccess:i,isEditResourceOpen:n==="edit_resource",onEditResourceCancel:Z,onEditResourceSuccess:$,isShareResourceOpen:n==="share",onShareResourceCancel:ee,onShareResourceSuccess:W,onClearActionBar:y}}function be({resourceRights:o,roleExpected:t,action:n,children:d,renderWhenForbidden:s}){const{t:S}=Q(),{overrideLabel:m}=X(),{visible:p}=Ae({roles:t,rights:o,action:n==null?void 0:n.id}),{setResourceActionDisable:l}=q(),E=Y();return p?e.jsx(e.Fragment,{children:d}):s?s():E&&!p?e.jsx(K,{type:"button",color:"primary",variant:"filled",onClick:()=>{l(!0)},children:S(m(n))}):e.jsx(e.Fragment,{})}const Ce=R.lazy(async()=>await I(()=>import("./PublishModal.js"),__vite__mapDeps([0,1,2,3]))),Ie=R.lazy(async()=>await I(()=>import("./ResourceModal.js"),__vite__mapDeps([4,1,2,3]))),ge=R.lazy(async()=>await I(()=>import("./DeleteModal.js"),__vite__mapDeps([5,1,2,3,6]))),xe=R.lazy(async()=>await I(()=>import("./MoveModal.js"),__vite__mapDeps([7,1,2,3,6]))),Pe=R.lazy(async()=>await I(()=>import("./FolderModal.js"),__vite__mapDeps([8,1,2,3,6])));function Le(){const{appCode:o}=pe(),{t}=Q(),{actions:n,selectedElement:d,isMoveModalOpen:s,isDeleteModalOpen:S,isPublishModalOpen:m,isActionBarOpen:p,isEditFolderOpen:l,overrideLabel:E,onEditFolderCancel:a,onEditFolderSuccess:r,isEditResourceOpen:h,onEditResourceCancel:_,onEditResourceSuccess:v,isShareResourceOpen:g,onShareResourceCancel:w,onShareResourceSuccess:T,onMoveCancel:L,onMoveSuccess:B,onDeleteCancel:D,onDeleteSuccess:H,onPublishCancel:N,onPublishSuccess:U,isActivable:x,handleClick:y}=X(),O=J()[0],k=de(o),P=he(o),z=Re(p,{from:{opacity:0,transform:"translateY(100%)"},enter:{opacity:1,transform:"translateY(0)"},leave:{opacity:0,transform:"translateY(100%)"}});return e.jsxs(e.Fragment,{children:[z((A,b)=>b&&e.jsx(Se.div,{className:"position-fixed bottom-0 start-0 end-0 z-3",style:A,children:e.jsx(me,{children:n==null?void 0:n.filter(i=>i.available&&i.target==="actionbar").map(i=>x(i)&&e.jsx(be,{resourceRights:d,roleExpected:i.right,action:i,children:e.jsx(K,{id:i.id,type:"button",color:"primary",variant:"filled",onClick:()=>{y(i)},children:t(E(i))},i.id)},i.id))})})),e.jsxs(R.Suspense,{fallback:e.jsx(Ee,{}),children:[s&&e.jsx(xe,{isOpen:s,onCancel:L,onSuccess:B}),S&&e.jsx(ge,{isOpen:S,onCancel:D,onSuccess:H}),m&&O&&e.jsx(Ce,{isOpen:m,resourceId:O.assetId,onCancel:N,onSuccess:U}),l&&e.jsx(Pe,{edit:!0,isOpen:l,onCancel:a,onSuccess:r}),h&&O&&e.jsx(Ie,{mode:"update",isOpen:h,resourceId:O.assetId,updateResource:P,onCancel:_,onSuccess:v,children:(A,b,i,V,$)=>o==="blog"&&Oe("createPublic",n)&&e.jsx(_e,{appCode:o,isUpdating:b,resource:A,watch:i,setValue:V,register:$})}),g&&O&&e.jsx(ve,{isOpen:g,resourceId:O.assetId,shareResource:k,onCancel:w,onSuccess:T,children:o==="blog"?e.jsx(ye,{resource:O,updateResource:P}):null})]})]})}export{Le 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 C,b as g,c as j,d as S,_,g as h}from"./index.js";import{i as R,a as A,j as e,B as I,L as O}from"./edifice-react.js";import{u as P,r as c}from"./react.js";import{u as b}from"./edifice-icons.js";import"/assets/js/edifice-ts-client/index.js";const v=c.lazy(async()=>await _(()=>import("./ResourceModal.js"),["ResourceModal.js","edifice-react.js","react.js","edifice-icons.js"]));function L(){const[a,t]=R(),{appCode:r}=A(),{t:n}=P(r),{clearSelectedItems:l,clearSelectedIds:i}=x(),{data:s}=C(),u=s==null?void 0:s.find(f=>f.id==="create"),o=g(),d=j(),p=S(),m=()=>{if(r=="scrapbook"){h({searchParams:p,folderId:o.id});return}l(),i(),t()};return u?e.jsxs(e.Fragment,{children:[e.jsx(I,{type:"button",color:"primary",variant:"filled",leftIcon:e.jsx(b,{}),className:"ms-auto",onClick:m,children:n("explorer.create.title")}),e.jsx(c.Suspense,{fallback:e.jsx(O,{}),children:a&&e.jsx(v,{mode:"create",actions:s,currentFolder:o,createResource:d,isOpen:a,onSuccess:t,onCancel:t})})]}):null}export{L as default};
1
+ import{u as j,a as _,b,c as A,_ as S}from"./index.js";import{l as R,a as h,j as e,B as v,L as O,n as P,t as y}from"./edifice-react.js";import{u as E,r as c}from"./react.js";import{t as I}from"./edifice-icons.js";import"/assets/js/edifice-ts-client/index.js";const $=c.lazy(async()=>await S(()=>import("./ResourceModal.js"),__vite__mapDeps([0,1,2,3])));function w(){const[r,t]=R(),{appCode:a}=h(),{t:n}=E(a),{clearSelectedItems:l,clearSelectedIds:i}=j(),{data:s}=_(),u=s==null?void 0:s.find(o=>o.id==="create"),d=b(),p=A(),m=()=>{l(),i(),t()};return u?e.jsxs(e.Fragment,{children:[e.jsx(v,{type:"button",color:"primary",variant:"filled",leftIcon:e.jsx(I,{}),className:"ms-auto",onClick:m,children:n("explorer.create.title")}),e.jsx(c.Suspense,{fallback:e.jsx(O,{}),children:r&&e.jsx($,{mode:"create",currentFolder:d,createResource:p,isOpen:r,onSuccess:t,onCancel:t,children:(o,x,f,C,g)=>a==="blog"&&P("createPublic",s)&&e.jsx(y,{appCode:a,isUpdating:x,resource:o,watch:f,setValue:C,register:g})})})]}):null}export{w 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{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
+ 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 +1 @@
1
- import{a,r as u,j as c,E as d,v 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 A(){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{A as default};
1
+ import{a as i,v as a,j as c,N as m,y 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 g(){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{g 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{j as U,b as V,r as _,s 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:j}){var b;try{if(o){const d=(b=l[0])==null?void 0:b.parentId,$=l[0].id;await u.mutate({folderId:$,parentId:d,name:j}),a(),e==null||e()}else{const d=(t==null?void 0:t.id)||T.DEFAULT;await c.mutate({name:j,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{h as T,b as U,o as V,p 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:b}){var j;try{if(o){const d=(j=l[0])==null?void 0:j.parentId,v=l[0].id;await u.mutate({folderId:v,parentId:d,name:b}),a(),e==null||e()}else{const d=(t==null?void 0:t.id)||w.DEFAULT;await c.mutate({name:b,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 l,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{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 x(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 j=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",...j},children:l.jsx(g,{name:h,app:c,isSelected:o.includes(s.id),onClick:()=>{F(),d({folder:s,folderId:s.id})},onSelect:()=>x(s)})},i)})}):null};export{b as default};
1
+ import{j as i,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{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 h(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 x=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",...x},children:i.jsx(g,{name:j,app:c,isSelected:l.includes(s.id),onClick:()=>{F(),d({folder:s,folderId:s.id})},onSelect:()=>h(s)})},o)})}):null};export{k 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(m,{}),r.jsx("span",{children:s("explorer.libray.btn")})]})]})};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 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
+ 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 +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{d as q,h as D,i as Q,u as W,e 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{n as Z,f as _,g as q,u as D,d 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};