vite-plugin-vue-devtools 8.0.7 → 8.1.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/client/assets/{IconTitle.vue_vue_type_script_setup_true_lang-DWMTtST_.js → IconTitle.vue_vue_type_script_setup_true_lang-DJUwPLzM.js} +1 -1
- package/client/assets/{SectionBlock-FW2e-EfO.js → SectionBlock-g2jz8uHh.js} +1 -1
- package/client/assets/{assets-BdWpWia9.js → assets-W1sJ1gXE.js} +2 -2
- package/client/assets/components-CnHnWKfe.js +1 -0
- package/client/assets/custom-inspector-tab-view-EZYOpRoH.js +1 -0
- package/client/assets/{custom-tab-view-Djz5OIIA.js → custom-tab-view-CyM11f9-.js} +1 -1
- package/client/assets/{graph-CCabbOi3.js → graph-CNTi98vr.js} +1 -1
- package/client/assets/{index-E3YKiktg.js → index-D8B9oRep.js} +74 -74
- package/client/assets/{overview-Bb5V6n6L.js → overview-Dh_9B-aT.js} +1 -1
- package/client/assets/{pages-D0Xl3qvp.js → pages-TYJYrRRg.js} +1 -1
- package/client/assets/pinia-B2KncPEp.js +1 -0
- package/client/assets/{router-CZ5CeOIc.js → router-BjSNl7sf.js} +1 -1
- package/client/assets/{settings-BruolvbP.js → settings-C16ll9_V.js} +1 -1
- package/client/assets/timeline-BZZEyhA7.css +1 -0
- package/client/assets/timeline-CvN993pC.js +1 -0
- package/client/index.html +1 -1
- package/dist/vite.cjs +437 -545
- package/dist/vite.js +438 -549
- package/package.json +5 -5
- package/src/overlay/devtools-overlay.css +1 -1
- package/src/overlay/devtools-overlay.mjs +3 -3
- package/client/assets/components-BJTYv_f2.js +0 -1
- package/client/assets/custom-inspector-tab-view-jNKZjEFE.js +0 -1
- package/client/assets/pinia-BoMbl4iP.js +0 -1
- package/client/assets/timeline-Bzqsvc_i.js +0 -1
- package/client/assets/timeline-DQ8UE2TV.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as p,e as a,o as r,u as n,f as s,C as c,g as e}from"./index-E3YKiktg.js";/* empty css */const d=p({__name:"components",setup(m){function o(){e.value.emit("toggle-panel",!1)}function t(){e.value.emit("toggle-panel",!0)}return(l,u)=>(r(),a(n(c),{onOpenInEditor:n(s),onOnInspectComponentStart:o,onOnInspectComponentEnd:t},null,8,["onOpenInEditor"]))}});export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as m,q as d,Q as p,i as f,L as x,c as v,e as _,a as g,u as e,o as i,b as o,z as b,t as k,R as T,O as y}from"./index-E3YKiktg.js";/* empty css */const B={key:0,flex:"~ col","h-full":"","items-center":"","justify-center":""},I={flex:"~ col gap2",mxa:"","items-center":""},R={"text-xl":""},w={"text-rose":""},V=m({__name:"custom-inspector-tab-view",setup(C){const a=x(),u=y(),n=d(!1),c=p(),r=f(()=>c.value.find(s=>s.name===a.params.name)?.pluginId);function l(){n.value=!0;const s=setTimeout(()=>{clearTimeout(s),u.replace("/overview")},2e3)}return(s,t)=>e(n)?(i(),v("div",B,[o("div",I,[t[1]||(t[1]=o("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1)),o("p",R,[o("code",w,k(e(a).params.name),1),t[0]||(t[0]=b(" not found ",-1))]),t[2]||(t[2]=o("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1))])])):!e(n)&&e(r)?(i(),_(e(T),{key:1,id:e(a).params.name,"plugin-id":e(r),onLoadError:l},null,8,["id","plugin-id"])):g("",!0)}});export{V as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e,e as a,o,u as n,y as r}from"./index-E3YKiktg.js";/* empty css */const i=e({__name:"pinia",setup(t){return(s,p)=>(o(),a(n(r)))}});export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as A,ag as V,i as c,Y as B,ah as D,ai as U,aj as j,c as o,o as l,b as i,a as I,u as e,T as L,ak as R,s,al as $,F,v as P,g as w,n as W,z as q,t as z,J,W as K,q as h,am as O,a7 as Y,w as E,e as G,an as H,B as M,ae as C,ao as Q,af as X}from"./index-E3YKiktg.js";const Z={"h-full":"",flex:"","flex-col":"",p2:""},ee={class:"relative mb-1 w-full flex items-center justify-end pb-1",border:"b dashed base"},te={key:0,class:"absolute left-0 text-xs text-gray-300 dark:text-gray-500"},ae={class:"flex items-center gap-2 px-1"},le={key:0,class:"recording recording-btn bg-[#ef4444]"},oe={key:1,class:"recording-btn bg-black op70 dark:bg-white hover:op100"},ne={class:"flex items-center gap1"},se={class:"p2"},ie=["onClick"],re=["onClick"],ce=A({__name:"TimelineLayers",props:V({data:{}},{modelValue:{},modelModifiers:{}}),emits:V(["select","clear"],["update:modelValue"]),setup(S,{emit:y}){const m=y,f=B(),d=c(()=>f.timelineLayersState.value.recordingState),r=c(()=>f.timelineLayersState.value),b=c(()=>d.value?"Stop recording":"Start recording"),{colorMode:x}=D();c(()=>x.value==="dark");const g=U(S,"modelValue");function u(a){g.value=a,m("select",a),w.value.updateTimelineLayersState({selected:a})}j(()=>r.value.selected,a=>{g.value=a},{immediate:!0});function _(a){return{mouse:r.value.mouseEventEnabled,keyboard:r.value.keyboardEventEnabled,"component-event":r.value.componentEventEnabled,performance:r.value.performanceEventEnabled}[a]}function p(){w.value.updateTimelineLayersState({recordingState:!d.value})}function T(a){const v={mouse:"mouseEventEnabled",keyboard:"keyboardEventEnabled","component-event":"componentEventEnabled",performance:"performanceEventEnabled"}[a];w.value.updateTimelineLayersState({[v]:!_(a)})}return(a,v)=>(l(),o("div",Z,[i("div",ee,[e(d)?I("",!0):(l(),o("span",te,"Not recording")),i("div",ae,[L((l(),o("div",{class:"flex items-center gap1",onClick:p},[e(d)?(l(),o("span",le)):(l(),o("span",oe))])),[[e(R),{content:e(b)},void 0,{"bottom-end":!0}]]),L((l(),o("div",{class:"flex items-center gap1",onClick:v[0]||(v[0]=t=>m("clear"))},[s(e($),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[e(R),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),L((l(),o("div",ne,[s(e($),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[e(R),{content:"<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>",html:!0},void 0,{"bottom-end":!0}]])])]),i("ul",se,[(l(!0),o(F,null,P(S.data,t=>(l(),o("li",{key:t.id,class:W(["group relative selectable-item",{active:t.id===g.value,op60:!_(t.id)}]),onClick:n=>u(t.id)},[q(z(t.label)+" ",1),i("span",{class:"absolute right-2 rounded-1 bg-primary-500 px1 text-3 text-white op0 [.active_&]:bg-primary-400 [.active_&]:dark:bg-gray-600 group-hover:op80 hover:op100!",onClick:J(n=>T(t.id),["stop"])},z(_(t.id)?"Disable":"Enable"),9,re)],10,ie))),128))])]))}}),de=K(ce,[["__scopeId","data-v-ba7472d9"]]),ue={class:"h-full w-full"},pe={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},ve={class:"h-full flex flex-col"},me={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},fe={class:"h-full flex flex-col p2"},ge=A({__name:"timeline",setup(S){const y=h(),m=h(),f=h(!1),{width:d}=O(m),r=c(()=>f.value?d.value<700:!1),b=B(),x=c(()=>b.appRecords.value.map(t=>({label:t.name+(t.version?` (${t.version})`:""),value:t.id}))),g=c(()=>x.value.map(t=>({label:t.label,id:t.value}))),u=h(b.activeAppRecordId.value);Y(()=>{u.value=b.activeAppRecordId.value});function _(t){w.value.toggleApp(t).then(()=>{a()})}const p=h(""),T=[{label:"Mouse",id:"mouse"},{label:"Keyboard",id:"keyboard"},{label:"Component events",id:"component-event"},{label:"Performance",id:"performance"}];function a(){y.value?.clear()}function v(){a()}return(t,n)=>{const N=de;return l(),o("div",ue,[s(e(X),{ref_key:"splitpanesRef",ref:m,class:"flex-1 overflow-auto",horizontal:e(r),onReady:n[2]||(n[2]=k=>f.value=!0)},{default:E(()=>[e(x).length>1?(l(),G(e(C),{key:0,border:"base h-full",size:"20"},{default:E(()=>[i("div",pe,[s(e(H),{modelValue:e(u),"onUpdate:modelValue":n[0]||(n[0]=k=>M(u)?u.value=k:null),data:e(g),class:"w-full",onSelect:_},null,8,["modelValue","data"])])]),_:1})):I("",!0),s(e(C),{border:"base","h-full":""},{default:E(()=>[i("div",ve,[i("div",me,[s(N,{modelValue:e(p),"onUpdate:modelValue":n[1]||(n[1]=k=>M(p)?p.value=k:null),data:T,class:"w-full",onSelect:v,onClear:a},null,8,["modelValue"])])])]),_:1}),s(e(C),{relative:"","h-full":"",size:"65"},{default:E(()=>[i("div",fe,[s(e(Q),{ref_key:"timelineRef",ref:y,"layer-ids":[e(p)],"header-visible":!1,"doc-link":"","plugin-id":"","switcher-visible":!1},null,8,["layer-ids"])])]),_:1})]),_:1},8,["horizontal"])])}}});export{ge as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes pulse-ba7472d9{50%{opacity:.5}}.recording-btn[data-v-ba7472d9]{width:.875rem;height:.875rem;display:inline-flex;cursor:pointer;border-radius:50%}.recording[data-v-ba7472d9]{animation:pulse-ba7472d9 2s cubic-bezier(.4,0,.6,1) infinite;transition-duration:1s;box-shadow:#ef4444 0 0 8px}
|