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