@modern-js/devtools-client 2.64.2 → 2.65.0
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.
- package/dist/modern.config.json +1 -1
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +44 -44
- package/dist/static/html/client/index.html +3 -3
- package/dist/static/html/mount/index.html +3 -3
- package/dist/static/js/{130.dc37b40b.js → 130.b7ccd432.js} +1 -1
- package/dist/static/js/{339.ee5d1703.js → 738.0f0e676a.js} +2 -2
- package/dist/static/js/{589.d06218c2.js → 939.026e5f35.js} +2 -2
- package/dist/static/js/async/client_config/(toolkit).(type)/{page.ce005c4f.js → page.ba4a1d2f.js} +1 -1
- package/dist/static/js/async/client_context/builder/{page.b63ddd39.js → page.bd8357b5.js} +1 -1
- package/dist/static/js/async/client_context/framework/{page.58d5c111.js → page.2ec943a2.js} +1 -1
- package/dist/static/js/async/client_doctor/{page.27ad8227.js → page.e5af3656.js} +1 -1
- package/dist/static/js/async/client_headers/editor/page.2a1555c7.js +1 -0
- package/dist/static/js/async/client_overview/{page.6cde6fab.js → page.755cd6a3.js} +1 -1
- package/dist/static/js/async/client_pages/page.8a8a8ae3.js +1 -0
- package/dist/static/js/async/client_storage/preset/(id)/{page.f08e9cf0.js → page.8fa8c735.js} +1 -1
- package/dist/static/js/async/client_storage/preset/{layout.3faedcaf.js → layout.114e0853.js} +1 -1
- package/dist/static/js/async/client_storage/preset/{page.3d96bbef.js → page.b0373a07.js} +1 -1
- package/dist/static/js/{builder-runtime.2dab7c2c.js → builder-runtime.21ed0887.js} +1 -1
- package/dist/static/js/{client.a257b51e.js → client.dd32d1e8.js} +1 -1
- package/dist/static/js/components.8241dc69.js +1 -0
- package/dist/static/js/{mount.0867b9e4.js → mount.33784f30.js} +1 -1
- package/package.json +10 -10
- package/dist/static/js/async/client_headers/editor/page.b1d52e22.js +0 -1
- package/dist/static/js/async/client_pages/page.f9aad42e.js +0 -1
- package/dist/static/js/components.e5146a69.js +0 -1
- /package/dist/static/css/{339.b0638a73.css → 738.b0638a73.css} +0 -0
- /package/dist/static/css/{589.dab1d45c.css → 939.dab1d45c.css} +0 -0
- /package/dist/static/js/{339.ee5d1703.js.LICENSE.txt → 738.0f0e676a.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{589.d06218c2.js.LICENSE.txt → 939.026e5f35.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{76330:function(e,t,n){function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}n.d(t,{S1:()=>a,jU:()=>l,on:()=>r});var l="undefined"!=typeof window},52315:function(e,t,n){n.r(t),n.d(t,{default:()=>ee});var r=n(86834),a=n(5872);let l=(0,a.createContext)({url:""});var i=n(52493),o=n.n(i),s=n(49133),d=n(63145),c=n(11039),u=n(65021),x=n(75110),h=n(25698),p=n(56988),m=n(61938),f=n(58424),j="Collapsible",[v,y]=(0,c.b)(j),[g,C]=v(j),b=a.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:l,defaultOpen:i,disabled:o,onOpenChange:s,...d}=e,[c=!1,x]=(0,u.T)({prop:l,defaultProp:i,onChange:s});return(0,r.jsx)(g,{scope:n,disabled:o,contentId:(0,f.M)(),open:c,onOpenToggle:a.useCallback(()=>x(e=>!e),[x]),children:(0,r.jsx)(p.WV.div,{"data-state":S(c),"data-disabled":o?"":void 0,...d,ref:t})})});b.displayName=j;var N="CollapsibleTrigger",k=a.forwardRef((e,t)=>{let{__scopeCollapsible:n,...a}=e,l=C(N,n);return(0,r.jsx)(p.WV.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":S(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...a,ref:t,onClick:(0,d.M)(e.onClick,l.onOpenToggle)})});k.displayName=N;var w="CollapsibleContent",R=a.forwardRef((e,t)=>{let{forceMount:n,...a}=e,l=C(w,e.__scopeCollapsible);return(0,r.jsx)(m.z,{present:n||l.open,children:({present:e})=>(0,r.jsx)(E,{...a,ref:t,present:e})})});R.displayName=w;var E=a.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:l,children:i,...o}=e,s=C(w,n),[d,c]=a.useState(l),u=a.useRef(null),m=(0,h.e)(t,u),f=a.useRef(0),j=f.current,v=a.useRef(0),y=v.current,g=s.open||d,b=a.useRef(g),N=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,x.b)(()=>{let e=u.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();f.current=t.height,v.current=t.width,b.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),c(l)}},[s.open,l]),(0,r.jsx)(p.WV.div,{"data-state":S(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!g,...o,ref:m,style:{"--radix-collapsible-content-height":j?`${j}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:g&&i})});function S(e){return e?"open":"closed"}var Z=n(66671),D=n(97242);let L=e=>{let{badge:t,route:n,title:i,children:o,open:d,onOpenChange:c}=e,{matched:u}=(0,a.useContext)(l),[x,h]=(0,a.useState)(!1),p=u===n,m=p||(null!=d?d:x);return(0,r.jsx)(s.xu,{p:"3",className:D.Z.container,children:(0,r.jsxs)(b,{open:m,onOpenChange:null!=c?c:h,children:[(0,r.jsxs)(k,{className:D.Z.trigger,children:[t,(0,r.jsx)(s.xv,{className:D.Z.urlText,style:{opacity:u&&!p?.5:1},children:i}),(0,r.jsx)(s.xu,{flexGrow:"1"}),(0,r.jsx)(s.xu,{className:D.Z.mark,"data-open":m,children:(0,r.jsx)(Z.jnn,{})})]}),(0,r.jsx)(R,{className:D.Z.content,children:o})]})})};var P=n(95197),T=n(41839),O=n(20610);let z=()=>(0,r.jsx)(s.xv,{children:"Unimplemented."});var I=n(38933),U=n(55058);let W=(0,a.createContext)([]);var _=n(76330);let A=function(e,t){void 0===t&&(t=!0);var n=(0,a.useState)(!1),r=n[0],l=n[1];return(0,a.useEffect)(function(){var n=function(){return l(!0)},r=function(){return l(!1)};t&&e&&e.current&&((0,_.on)(e.current,"mouseover",n),(0,_.on)(e.current,"mouseout",r));var a=e.current;return function(){t&&a&&((0,_.S1)(a,"mouseover",n),(0,_.S1)(a,"mouseout",r))}},[t,e]),r};var K=n(4393);let V=e=>{var t,n;let{route:l}=e,i=o().castArray(l),d=o().last(i),c="_component"in d&&o().isString(d._component)?d._component:null,u=(0,U.As)("/",...i.map(e=>e.path).filter(o().isString))||"/",x=null!==(n=d.index)&&void 0!==n&&n,h="/"===u,p=(0,a.useContext)(W),m=!1===p||p.length>0,f=!!p&&!!o().find(p,{route:{id:d.id}}),j=(0,a.useRef)(null),v=A(j);return(0,r.jsxs)(s.xu,{ref:j,children:[(0,r.jsxs)(s.kC,{gap:"2",align:"center",mb:d.children&&"1",children:[(0,r.jsxs)(s.xu,{className:K.Z.endpointContainer,"data-matched":!m||f,children:[x&&h||(0,r.jsx)(s.EK,{className:K.Z.endpointTag,"data-compose":x&&"head",children:u}),x&&(0,r.jsx)(s.EK,{className:K.Z.endpointTag,color:"purple","data-compose":!h&&"tail",children:"/(index)"})]}),c&&(0,r.jsx)(s.rU,{className:K.Z.shyLink,style:{visibility:v?"visible":"hidden"},children:c})]}),(0,r.jsx)(s.kC,{direction:"column",gap:"1",children:null===(t=d.children)||void 0===t?void 0:t.map(e=>(0,r.jsx)(V,{route:i.concat(e)},e.id))})]})},F=e=>{let{remixRoutes:t,route:n}=e,{matched:i,url:o}=(0,a.useContext)(l),d=(0,a.useMemo)(()=>{if(i!==n)return!i&&[];{var e;if(!t)return[];let r=(0,U.v$)(o.replace(n.urlPath,"/")),a=null!==(e=(0,I.fp)(t,r))&&void 0!==e?e:[];return!!a.length&&a}},[t,i,o]);return(null==t?void 0:t.length)?(0,r.jsx)(W.Provider,{value:d,children:(0,r.jsx)(s.kC,{gap:"2",direction:"column",children:t.map(e=>(0,r.jsx)(V,{route:e},e.id))})}):null};(0,T.sj)({});let J=e=>{let{route:t}=e,{entryName:n}=t;if(!n)throw TypeError("");let l=(0,P.k)(),{entrypoints:i}=(0,O.R)(l.framework).context,s=o().find(i,{entryName:n});if(!s)throw TypeError("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));let d=(0,O.R)(l.fileSystemRoutes)[s.entryName];if(!s)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));return(0,r.jsx)(a.Suspense,{children:(0,r.jsx)(()=>M(d)?(0,r.jsx)(z,{}):(0,r.jsx)(F,{remixRoutes:d,route:t}),{})})},M=e=>(null==e?void 0:e[0])&&!("type"in e[0]);var $=n(19607);let G=e=>{let{route:t}=e,n=(0,P.k)(),{entrypoints:a}=(0,O.R)(n.framework).context,l=t.entryName&&o().find(a,{entryName:t.entryName});if(!l)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));return(0,r.jsxs)(s.xu,{className:$.Z.stats,children:[(0,r.jsxs)(s.kC,{gap:"1",children:[(0,r.jsx)(s.cK,{children:"Directory: "}),(0,r.jsx)(s.xv,{children:l.absoluteEntryDir})]}),(0,r.jsxs)(s.kC,{gap:"1",children:[(0,r.jsx)(s.cK,{children:"Entry:"}),(0,r.jsx)(s.xv,{children:l.entry})]})]})},q=e=>{let{route:t}=e;return(0,r.jsx)(L,{badge:B,route:t,title:t.urlPath,children:(0,r.jsxs)(s.kC,{direction:"column",gap:"2",children:[(0,r.jsx)(s.xr,{scrollbars:"horizontal",children:(0,r.jsx)(G,{route:t})}),(0,r.jsx)(s.xr,{scrollbars:"horizontal",children:(0,r.jsx)(a.Suspense,{children:(0,r.jsx)(J,{route:t})})})]})})},B=(0,r.jsx)(s.Ct,{color:"cyan",children:"Entry"}),Y=e=>{let{route:t}=e;return(0,r.jsx)(L,{badge:H,route:t,title:t.urlPath,children:(0,r.jsx)(s.Zb,{children:"Unknown route type."})})},H=(0,r.jsx)(s.Ct,{color:"gray",children:"Unknown"}),Q=e=>{let{route:t}=e;return o().isString(t.entryName)?(0,r.jsx)(q,{route:t}):(0,r.jsx)(Y,{route:t})};var X=n(13190);let ee=()=>{let e=(0,P.k)(),{serverRoutes:t}=(0,O.R)(e.framework).context,[n,i]=(0,a.useState)({url:""}),o=e=>{let{pathname:n}=(0,U.Lk)(e);i({url:e,matched:t.find(e=>n===e.urlPath||n.startsWith((0,U.jE)(e.urlPath)))})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.kC,{className:"list-xLGYni",direction:"column",gap:"2",align:"stretch",justify:"between",mx:"auto",children:(0,r.jsx)(l.Provider,{value:n,children:t.map(e=>(0,r.jsx)(Q,{route:e},e.entryPath))})}),(0,r.jsx)(s.xu,{className:"input-ZLygVL",children:(0,r.jsx)(s.xu,{mx:"auto",style:{maxWidth:"40rem"},children:(0,r.jsx)(s.nv.f,{placeholder:"/foo?bar#baz",onChange:e=>o(e.target.value),type:"url",autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",children:(0,r.jsx)(s.nv.g,{children:(0,r.jsx)(X.IIh,{})})})})})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{48076:function(n,t,e){e.d(t,{Z:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},34506:function(n,t,e){e.d(t,{Z:()=>o});let o={card:"card-If0911"}},54712:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-WHe0d3"}},59009:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},68138:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},33109:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},11610:function(n,t,e){e.d(t,{Z:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},64208:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-COzu4H"}},21054:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-SkRv4t"}},5132:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-e3dQes"}},98065:function(n,t,e){e.d(t,{Z:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},97242:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-e74VUa",trigger:"trigger-THjT7j",content:"content-Qso8ca",slideDown:"slideDown-Z9IIi_",slideUp:"slideUp-H_SR0p","url-text":"url-text-OqB5_M",urlText:"url-text-OqB5_M",mark:"mark-cUxPxy"}},4393:function(n,t,e){e.d(t,{Z:()=>o});let o={"endpoint-tag":"endpoint-tag-y0SEjj",endpointTag:"endpoint-tag-y0SEjj","shy-link":"shy-link-Xazm8H",shyLink:"shy-link-Xazm8H","endpoint-container":"endpoint-container-XVJeZy",endpointContainer:"endpoint-container-XVJeZy"}},19607:function(n,t,e){e.d(t,{Z:()=>o});let o={stats:"stats-cb58Fz"}},47389:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|