PageSourceSearch

https://cdn2.eventory.cc/dists/7c91d618f4384a6d59314d46095e75edde44fdd7/assets/useTableQueryParams-D1IERtAn.js

js eventory.cc collected 2026-10-01 10:21:59 UTC 1,531 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`7c91d618f4384a6d59314d46095e75edde44fdd7`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c2f7eabe-92aa-4911-99a8-db4f5856885e`,e._sentryDebugIdIdentifier=`sentry-dbid-c2f7eabe-92aa-4911-99a8-db4f5856885e`)}catch{}})();import{o as e}from"./chunk-BWzKsba1.js";import{t}from"./react-I293t1EX.js";import{np as n,zd as r}from"./appFlowSaga-DCAKsW8Q.js";import{t as i}from"./usePerforming-D068L2pb.js";import{c as a,d as o,s,u as c}from"./useParams-BGJiaQan.js";var l=e(t()),u=e=>e?{sort_by:`${e.dataField}:${e.order}`}:{},d=({action:e,actionReset:t,disableQueryParams:d,matchParams:f={},initialPerPage:p=n[0],initialSort:m})=>{let[h,g]=d?(0,l.useState)(1):s(1),[_,v]=d?(0,l.useState)(p):a(p),[y,b]=d?(0,l.useState)(m||null):o(m||null),[x,S]=d?(0,l.useState)(``):c(``),[C,w]=(0,l.useState)({...f,items_per_page:_,page:h,search_query:x,...u(y||m)}),T=i()(t=>e(C).finally(t).catch(r));return(0,l.useEffect)(()=>{if(t)return t},[]),(0,l.useEffect)(()=>{let e=setTimeout(()=>{w(e=>({...e,...f,page:h,items_per_page:_,search_query:x,...u(y||m)}))});return()=>{clearTimeout(e)}},[JSON.stringify(f),h,_,JSON.stringify(y),x]),(0,l.useEffect)(()=>{T()},[C]),{queryParams:C,initialSort:m,page:h,perPage:_,performAction:T,search:x,setPage:g,setPerPage:e=>{v(e),g(1)},setSort:b,setSearch:(0,l.useCallback)(e=>{g(1),S(e)},[S,g]),sort:y}};export{d as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.