UNPKG

tinybase

Version:

A reactive data store and sync engine.

2 lines (1 loc) 15.3 kB
import{jsx as e}from"react/jsx-runtime";import t from"react";const o=e=>typeof e,r="",s=o(r),n=o(o),d="Result",i="Has",u="Ids",c="Table",l=c+"s",I=c+u,a="Row",p=a+"Count",g=a+u,b="Sorted"+a+u,m="Cell",C=m+u,y="Value",w=y+"s",h=y+u,v="Transaction",R="Partial",k="Finish",f="Status",q="Metric",P="Slice",x="RemoteRowId",S="Local",B="Linked",T="Checkpoint",L=globalThis,E=e=>null==e,j=(e,t,o)=>E(e)?o?.():t(e),z=e=>o(e)==s,A=e=>o(e)==n,F=e=>e.length,M=()=>{},O=(e,t)=>e.every(t),V=(e,t)=>F(e)===F(t)&&O(e,((e,o)=>t[o]===e)),D=(e,t)=>e.map(t),H=(e,t,o)=>e.with(t,o),Q=Object,W=e=>Q.getPrototypeOf(e),_=Q.entries,G=e=>!E(e)&&j(W(e),(e=>e==Q.prototype||E(W(e))),(()=>!0)),J=Q.keys,K=(e,t)=>j(e,(e=>e[t])),N=(e,t)=>{const o=_(e);return F(o)===F(J(t))&&O(o,(([e,o])=>G(o)?!!G(t[e])&&N(t[e],o):t[e]===o))},{PureComponent:U,createContext:X,useCallback:Y,useContext:Z,useEffect:$,useLayoutEffect:ee,useMemo:te,useRef:oe,useState:re,useSyncExternalStore:se}=t,ne=(e,...t)=>E(e)?{}:e(...t),de=(e,t)=>[e,e?.getStore(),e?.getLocalTableId(t),e?.getRemoteTableId(t)],ie="tinybase_uirc",ue=L[ie]?L[ie]:L[ie]=X([]),ce=(e,t)=>{const o=Z(ue);return E(e)?o[2*t]:z(e)?K(o[2*t+1],e):e},le=(e,t)=>{const o=ce(e,t);return E(e)||z(e)?o:e},Ie=(e,t,o)=>{const{16:r,17:s}=Z(ue);$((()=>(r?.(o,e,t),()=>s?.(o,e))),[r,e,t,o,s])},ae=e=>J(Z(ue)[2*e+1]??{}),pe=()=>ae(0),ge=e=>ce(e,0),be=()=>({...Z(ue)[1]}),me=e=>le(e,0),Ce=(e,t)=>Ie(e,t,0),ye=()=>ae(1),we=e=>ce(e,1),he=e=>le(e,1),ve=(e,t)=>Ie(e,t,1),Re=()=>ae(2),ke=e=>ce(e,2),fe=e=>le(e,2),qe=(e,t)=>Ie(e,t,2),Pe=()=>ae(3),xe=e=>ce(e,3),Se=e=>le(e,3),Be=(e,t)=>Ie(e,t,3),Te=()=>ae(4),Le=e=>ce(e,4),Ee=e=>le(e,4),je=(e,t)=>Ie(e,t,4),ze=()=>ae(5),Ae=e=>ce(e,5),Fe=e=>le(e,5),Me=(e,t)=>Ie(e,t,5),Oe=()=>ae(6),Ve=e=>ce(e,6),De=e=>le(e,6),He=(e,t)=>Ie(e,t,6),Qe=()=>ae(7),We=e=>ce(e,7),_e=e=>le(e,7),Ge=(e,t)=>Ie(e,t,7),Je=[],Ke=[{},[],[Je,void 0,Je],void 0,!1,0],Ne=[N,V,([e,t,o],[r,s,n])=>t===s&&V(e,r)&&V(o,n)],Ue=(e,t)=>e===t,Xe=(e,t,o=Je)=>{const[,r]=re(),[s,n]=re();return $((()=>{const o=e?t(e):void 0;return n(o),r([]),o?.destroy}),[e,...o]),s},Ye=(e,t,...o)=>{const r=e?.["add"+t+"Listener"]?.(...o);return()=>e?.delListener?.(r)},Ze=(e,t,o,s=Je)=>{const n=oe(Ke[o]),d=Y((()=>{const r=t?.[(4==o?"has":"get")+e]?.(...s)??Ke[o];return(Ne[o]??Ue)(r,n.current)?n.current:n.current=r}),[t,o,e,...s]),u=Y((n=>Ye(t,(4==o?i:r)+e,...s,n)),[t,o,e,...s]);return se(u,d,d)},$e=(e,t,o,r=Je,s=Je,...n)=>ee((()=>Ye(t,e,...s,o,...n)),[t,e,...s,...r,...n]),et=(e,t,o,r=Je,s=M,n=Je,...d)=>{const i=me(e);return Y((e=>j(i,(r=>j(o(e,r),(o=>s(r["set"+t](...tt(d,r,e),o),o)))))),[i,t,...r,...n,...ot(d)])},tt=(e,t,o)=>D(e,(e=>A(e)?e(o,t):e)),ot=e=>{return t=e=>!A(e),e.filter(t);var t},rt=(e,t,o=M,r=Je,...s)=>{const n=me(e);return Y((e=>o(n?.["del"+t](...tt(s,n,e)))),[n,t,...r,...ot(s)])},st=(e,t,o)=>{const r=Fe(e);return Y((()=>r?.[t](o)),[r,t,o])},nt=(e,t=Je)=>te(e,t),dt=(e,t=Je)=>te(e,t),it=e=>Ze(l,me(e),4,[]),ut=e=>Ze(l,me(e),0),ct=e=>Ze(I,me(e),1),lt=(e,t)=>Ze(c,me(t),4,[e]),It=(e,t)=>Ze(c,me(t),0,[e]),at=(e,t)=>Ze(c+C,me(t),1,[e]),pt=(e,t,o)=>Ze(c+m,me(o),4,[e,t]),gt=(e,t)=>Ze(p,me(t),5,[e]),bt=(e,t)=>Ze(g,me(t),1,[e]),mt=(e,t,o,r=0,s,n)=>Ze(b,me(n),1,[e,t,o,r,s]),Ct=(e,t,o)=>Ze(a,me(o),4,[e,t]),yt=(e,t,o)=>Ze(a,me(o),0,[e,t]),wt=(e,t,o)=>Ze(C,me(o),1,[e,t]),ht=(e,t,o,r)=>Ze(m,me(r),4,[e,t,o]),vt=(e,t,o,r)=>Ze(m,me(r),3,[e,t,o]),Rt=e=>Ze(w,me(e),4,[]),kt=e=>Ze(w,me(e),0),ft=e=>Ze(h,me(e),1),qt=(e,t)=>Ze(y,me(t),4,[e]),Pt=(e,t)=>Ze(y,me(t),3,[e]),xt=(e,t,o,r,s)=>et(o,l,e,t,r,s),St=(e,t,o,r,s,n)=>et(r,c,t,o,s,n,e),Bt=(e,t,o,r,s,n,d)=>et(s,a,o,r,n,d,e,t),Tt=(e,t,o=Je,r,s=M,n=Je,d=!0)=>{const i=me(r);return Y((o=>j(i,(r=>j(t(o,r),(t=>s(r.addRow(A(e)?e(o,r):e,t,d),r,t)))))),[i,e,...o,...n,d])},Lt=(e,t,o,r,s,n,d)=>et(s,R+a,o,r,n,d,e,t),Et=(e,t,o,r,s,n,d,i)=>et(n,m,r,s,d,i,e,t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)=>$e(d+p,Ee(r),t,o,[e]),Wo=(e,t,o,r)=>$e(d+g,Ee(r),t,o,[e]),_o=(e,t,o,r,s,n,i,u)=>$e(d+b,Ee(u),n,i,[e,t,o,r,s]),Go=(e,t,o,r,s)=>$e(d+a,Ee(s),o,r,[e,t]),Jo=(e,t,o,r,s)=>$e(d+C,Ee(s),o,r,[e,t]),Ko=(e,t,o,r,s,n)=>$e(d+m,Ee(n),r,s,[e,t,o]),No=(e,t,o)=>Xe(e,t,o),Uo=e=>Ze(T+u,Fe(e),2),Xo=(e,t)=>Ze(T,Fe(t),3,[e]),Yo=(e=M,t=Je,o,r=M,s=Je)=>{const n=Fe(o);return Y((t=>j(n,(o=>{const s=e(t);r(o.addCheckpoint(s),o,s)}))),[n,...t,...s])},Zo=e=>st(e,"goBackward"),$o=e=>st(e,"goForward"),er=(e,t=Je,o,r=M,s=Je)=>{const n=Fe(o);return Y((t=>j(n,(o=>j(e(t),(e=>r(o.goTo(e),e)))))),[n,...t,...s])},tr=e=>{const t=Fe(e),[o,s]=Uo(t);return[(n=o,!(0==F(n))),Zo(t),s,j(s,(e=>t?.getCheckpoint(e)))??r];var n},or=e=>{const t=Fe(e),[,,[o]]=Uo(t);return[!E(o),$o(t),o,j(o,(e=>t?.getCheckpoint(e)))??r]},rr=(e,t,o)=>$e(T+u,Fe(o),e,t),sr=(e,t,o,r)=>$e(T,Fe(r),t,o,[e]),nr=(e,t,o=Je,r,s=Je,n,d=Je)=>{const[,i]=re(),[u,c]=re();return $((()=>{(async()=>{const o=e?await t(e):void 0;c(o),o&&r&&(async()=>{await r(o),i([])})()})()}),[e,...o,...s]),$((()=>()=>{u&&(u.destroy(),n?.(u))}),[u,...d]),u},dr=e=>Ze(f,De(e),5,[]),ir=(e,t,o)=>$e(f,De(o),e,t,[]),ur=(e,t,o=Je,r,s=Je)=>{const[n,d]=re();return $((()=>{(async()=>{const o=e?await t(e):void 0;d(o)})()}),[e,...o]),$((()=>()=>{n&&(n.destroy(),r?.(n))}),[n,...s]),n},cr=e=>Ze(f,_e(e),5,[]),lr=(e,t,o)=>$e(f,_e(o),e,t,[]),Ir=(e,t,o,r,s)=>[o??t[2*e],{...t[2*e+1],...r,...s[e]}],ar=({tableId:t,store:o,rowComponent:r=wr,getRowComponentProps:s,customCellIds:n,separator:d,debugIds:i},u)=>Cr(D(u,(d=>e(r,{...ne(s,d),tableId:t,rowId:d,customCellIds:n,store:o,debugIds:i},d))),d,i,t),pr=({queryId:t,queries:o,resultRowComponent:r=Er,getResultRowComponentProps:s,separator:n,debugIds:d},i)=>Cr(D(i,(n=>e(r,{...ne(s,n),queryId:t,rowId:n,queries:o,debugIds:d},n))),n,d,t),gr=({relationshipId:t,relationships:o,rowComponent:r=wr,getRowComponentProps:s,separator:n,debugIds:d},i,u)=>{const[c,l,I]=de(Se(o),t),a=i(t,u,c);return Cr(D(a,(t=>e(r,{...ne(s,t),tableId:I,rowId:t,store:l,debugIds:d},t))),n,d,u)},br=t=>({checkpoints:o,checkpointComponent:r=Ar,getCheckpointComponentProps:s,separator:n,debugIds:d})=>{const i=Fe(o);return Cr(D(t(Uo(i)),(t=>e(r,{...ne(s,t),checkpoints:i,checkpointId:t,debugIds:d},t))),n)},mr=({store:t,storesById:o,metrics:r,metricsById:s,indexes:n,indexesById:d,relationships:i,relationshipsById:u,queries:c,queriesById:l,checkpoints:I,checkpointsById:a,persister:p,persistersById:g,synchronizer:b,synchronizersById:m,children:C})=>{const y=Z(ue),[w,h]=re((()=>D([,,,,,,,,].fill(0),((e,t)=>({}))))),v=Y(((e,t,o)=>h((r=>K(r[e],t)==o?r:H(r,e,{...r[e],[t]:o})))),[]),R=Y(((e,t)=>h((o=>((e,t)=>t in e)(o[e],t)?H(o,e,((e,t)=>(delete e[t],e))(o[e],t)):o))),[]);return e(ue.Provider,{value:te((()=>[...Ir(0,y,t,o,w),...Ir(1,y,r,s,w),...Ir(2,y,n,d,w),...Ir(3,y,i,u,w),...Ir(4,y,c,l,w),...Ir(5,y,I,a,w),...Ir(6,y,p,g,w),...Ir(7,y,b,m,w),v,R]),[w,t,o,r,s,n,d,i,u,c,l,I,a,p,g,b,m,y,v,R]),children:C})},Cr=(e,t,o,r)=>{const s=E(t)||!Array.isArray(e)?e:D(e,((e,o)=>o>0?[t,e]:e));return o?[r,":{",s,"}"]:s},yr=({tableId:e,rowId:t,cellId:o,store:s,debugIds:n})=>Cr(r+(vt(e,t,o,s)??r),void 0,n,o),wr=({tableId:t,rowId:o,store:r,cellComponent:s=yr,getCellComponentProps:n,customCellIds:d,separator:i,debugIds:u})=>Cr(D(((e,t,o,r)=>{const s=wt(t,o,r);return e??s})(d,t,o,r),(d=>e(s,{...ne(n,d),tableId:t,rowId:o,cellId:d,store:r,debugIds:u},d))),i,u,o),hr=e=>ar(e,bt(e.tableId,e.store)),vr=({cellId:e,descending:t,offset:o,limit:r,...s})=>ar(s,mt(s.tableId,e,t,o,r,s.store)),Rr=({store:t,tableComponent:o=hr,getTableComponentProps:r,separator:s,debugIds:n})=>Cr(D(ct(t),(s=>e(o,{...ne(r,s),tableId:s,store:t,debugIds:n},s))),s),kr=({valueId:e,store:t,debugIds:o})=>Cr(r+(Pt(e,t)??r),void 0,o,e),fr=({store:t,valueComponent:o=kr,getValueComponentProps:r,separator:s,debugIds:n})=>Cr(D(ft(t),(s=>e(o,{...ne(r,s),valueId:s,store:t,debugIds:n},s))),s),qr=({metricId:e,metrics:t,debugIds:o})=>Cr(go(e,t)??r,void 0,o,e),Pr=({indexId:t,sliceId:o,indexes:r,rowComponent:s=wr,getRowComponentProps:n,separator:d,debugIds:i})=>{const[u,c,l]=((e,t)=>[e,e?.getStore(),e?.getTableId(t)])(fe(r),t),I=wo(t,o,u);return Cr(D(I,(t=>e(s,{...ne(n,t),tableId:l,rowId:t,store:c,debugIds:i},t))),d,i,o)},xr=({indexId:t,indexes:o,sliceComponent:r=Pr,getSliceComponentProps:s,separator:n,debugIds:d})=>Cr(D(Co(t,o),(n=>e(r,{...ne(s,n),indexId:t,sliceId:n,indexes:o,debugIds:d},n))),n,d,t),Sr=({relationshipId:t,localRowId:o,relationships:r,rowComponent:s=wr,getRowComponentProps:n,debugIds:d})=>{const[i,u,,c]=de(Se(r),t),l=fo(t,o,i);return Cr(E(c)||E(l)?null:e(s,{...ne(n,l),tableId:c,rowId:l,store:u,debugIds:d},l),void 0,d,o)},Br=e=>gr(e,qo,e.remoteRowId),Tr=e=>gr(e,Po,e.firstRowId),Lr=({queryId:e,rowId:t,cellId:o,queries:s,debugIds:n})=>Cr(r+(Vo(e,t,o,s)??r),void 0,n,o),Er=({queryId:t,rowId:o,queries:r,resultCellComponent:s=Lr,getResultCellComponentProps:n,separator:d,debugIds:i})=>Cr(D(Oo(t,o,r),(d=>e(s,{...ne(n,d),queryId:t,rowId:o,cellId:d,queries:r,debugIds:i},d))),d,i,o),jr=e=>pr(e,Ao(e.queryId,e.queries)),zr=({cellId:e,descending:t,offset:o,limit:r,...s})=>pr(s,Fo(s.queryId,e,t,o,r,s.queries)),Ar=({checkpoints:e,checkpointId:t,debugIds:o})=>Cr(Xo(t,e)??r,void 0,o,t),Fr=br((e=>e[0])),Mr=br((e=>E(e[1])?[]:[e[1]])),Or=br((e=>e[2]));export{Fr as BackwardCheckpointsView,yr as CellView,Ar as CheckpointView,Mr as CurrentCheckpointView,Or as ForwardCheckpointsView,xr as IndexView,Tr as LinkedRowsView,Br as LocalRowsView,qr as MetricView,mr as Provider,Sr as RemoteRowView,Lr as ResultCellView,Er as ResultRowView,zr as ResultSortedTableView,jr as ResultTableView,wr as RowView,Pr as SliceView,vr as SortedTableView,hr as TableView,Rr as TablesView,kr as ValueView,fr as ValuesView,Tt as useAddRowCallback,vt as useCell,wt as useCellIds,eo as useCellIdsListener,oo as useCellListener,Xo as useCheckpoint,Uo as useCheckpointIds,rr as useCheckpointIdsListener,sr as useCheckpointListener,Ae as useCheckpoints,ze as useCheckpointsIds,Fe as useCheckpointsOrCheckpointsById,No as useCreateCheckpoints,mo as useCreateIndexes,dt as useCreateMergeableStore,ao as useCreateMetrics,nr as useCreatePersister,To as useCreateQueries,Ro as useCreateRelationships,nt as useCreateStore,ur as useCreateSynchronizer,Vt as useDelCellCallback,Ot as useDelRowCallback,Mt as useDelTableCallback,Ft as useDelTablesCallback,Ht as useDelValueCallback,Dt as useDelValuesCallback,Io as useDidFinishTransactionListener,Zo as useGoBackwardCallback,$o as useGoForwardCallback,er as useGoToCallback,ht as useHasCell,to as useHasCellListener,Ct as useHasRow,Zt as useHasRowListener,lt as useHasTable,pt as useHasTableCell,Nt as useHasTableCellListener,Gt as useHasTableListener,it as useHasTables,Qt as useHasTablesListener,qt as useHasValue,io as useHasValueListener,Rt as useHasValues,ro as useHasValuesListener,yo as useIndexIds,ke as useIndexes,Re as useIndexesIds,fe as useIndexesOrIndexesById,Po as useLinkedRowIds,Bo as useLinkedRowIdsListener,qo as useLocalRowIds,So as useLocalRowIdsListener,go as useMetric,po as useMetricIds,bo as useMetricListener,we as useMetrics,ye as useMetricsIds,he as useMetricsOrMetricsById,Ve as usePersister,Oe as usePersisterIds,De as usePersisterOrPersisterById,dr as usePersisterStatus,ir as usePersisterStatusListener,Me as useProvideCheckpoints,qe as useProvideIndexes,ve as useProvideMetrics,He as useProvidePersister,je as useProvideQueries,Be as useProvideRelationships,Ce as useProvideStore,Ge as useProvideSynchronizer,Le as useQueries,Te as useQueriesIds,Ee as useQueriesOrQueriesById,Lo as useQueryIds,or as useRedoInformation,ko as useRelationshipIds,xe as useRelationships,Pe as useRelationshipsIds,Se as useRelationshipsOrRelationshipsById,fo as useRemoteRowId,xo as useRemoteRowIdListener,Vo as useResultCell,Oo as useResultCellIds,Jo as useResultCellIdsListener,Ko as useResultCellListener,Mo as useResultRow,zo as useResultRowCount,Qo as useResultRowCountListener,Ao as useResultRowIds,Wo as useResultRowIdsListener,Go as useResultRowListener,Fo as useResultSortedRowIds,_o as useResultSortedRowIdsListener,Eo as useResultTable,jo as useResultTableCellIds,Ho as useResultTableCellIdsListener,Do as useResultTableListener,yt as useRow,gt as useRowCount,Ut as useRowCountListener,bt as useRowIds,Xt as useRowIdsListener,$t as useRowListener,Et as useSetCellCallback,Yo as useSetCheckpointCallback,Lt as useSetPartialRowCallback,zt as useSetPartialValuesCallback,Bt as useSetRowCallback,St as useSetTableCallback,xt as useSetTablesCallback,At as useSetValueCallback,jt as useSetValuesCallback,Co as useSliceIds,ho as useSliceIdsListener,wo as useSliceRowIds,vo as useSliceRowIdsListener,mt as useSortedRowIds,Yt as useSortedRowIdsListener,co as useStartTransactionListener,ge as useStore,pe as useStoreIds,me as useStoreOrStoreById,be as useStores,We as useSynchronizer,Qe as useSynchronizerIds,_e as useSynchronizerOrSynchronizerById,cr as useSynchronizerStatus,lr as useSynchronizerStatusListener,It as useTable,at as useTableCellIds,Kt as useTableCellIdsListener,ct as useTableIds,_t as useTableIdsListener,Jt as useTableListener,ut as useTables,Wt as useTablesListener,tr as useUndoInformation,Pt as useValue,ft as useValueIds,no as useValueIdsListener,uo as useValueListener,kt as useValues,so as useValuesListener,lo as useWillFinishTransactionListener};