Criada a API do site

This commit is contained in:
Caio1w
2025-10-29 19:56:41 -03:00
parent f201c8edbd
commit 4a14f533d2
3074 changed files with 780728 additions and 41 deletions

View File

@@ -0,0 +1 @@
import{d as o,c as t,o as a,a as s,r as c,n as l,b as r,t as i}from"./index-DH8HZ7DP.js";const d={flex:"~ gap-3","items-center":""},f=o({__name:"IconTitle",props:{icon:{},text:{}},setup(e){return(n,m)=>(a(),t("div",d,[e.icon?(a(),t("div",{key:0,class:l(e.icon)},null,2)):s("",!0),c(n.$slots,"default",{},()=>[r("div",null,i(e.text),1)])]))}});export{f as _};

View File

@@ -0,0 +1 @@
import{_ as x}from"./IconTitle.vue_vue_type_script_setup_true_lang-Enp_Ksfn.js";import{d as g,c,o as i,F as y,b as o,u as l,S as B,T as $,n as r,s as h,w as b,r as s,e as k,a as d,U as w,V as C,z as u,t as p,W as V}from"./index-DH8HZ7DP.js";const S=["open"],z={"text-base":""},N={key:0,"text-sm":"",op50:""},T=g({__name:"SectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=B(e,"open",void 0,{passive:!0});function v(t){n.value=t.target.open}return(t,a)=>{const f=x,m=C("lazy-show");return i(),c(y,null,[o("details",{open:l(n),onToggle:v},[o("summary",{class:r(["cursor-pointer select-none p4 hover:bg-active",e.collapse?"":"pointer-events-none"])},[h(f,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:r(l(n)?"op100":"op60")},{default:b(()=>[o("div",null,[o("div",z,[s(t.$slots,"text",{},()=>[u(p(e.text),1)],!0)]),e.description||t.$slots.description?(i(),c("div",N,[s(t.$slots,"description",{},()=>[u(p(e.description),1)],!0)])):d("",!0)]),a[0]||(a[0]=o("div",{class:"flex-auto"},null,-1)),s(t.$slots,"actions",{},void 0,!0),e.collapse?(i(),k(l(w),{key:0,icon:"i-carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):d("",!0)]),_:3},8,["icon","text","class"])],2),$((i(),c("div",{class:r(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[s(t.$slots,"details",{},void 0,!0),o("div",{class:r([e.containerClass,"mt1"])},[s(t.$slots,"default",{},void 0,!0)],2),s(t.$slots,"footer",{},void 0,!0)],2)),[[m,l(n)]])],40,S),a[1]||(a[1]=o("div",{class:"x-divider"},null,-1))],64)}}}),E=V(T,[["__scopeId","data-v-d1d325e5"]]);export{E as _};

View File

@@ -0,0 +1 @@
details[data-v-d1d325e5]{border-style:none}summary[data-v-d1d325e5]{border-style:none;list-style:none}details[open] summary[data-v-d1d325e5]{border-style:none}details summary[data-v-d1d325e5]::-webkit-details-marker{display:none}details[open] .chevron[data-v-d1d325e5]{transform:rotate(180deg);opacity:.75}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{d as p,e as a,o as s,u as n,f as r,C as c,g as e}from"./index-DH8HZ7DP.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)=>(s(),a(n(c),{onOpenInEditor:n(r),onOnInspectComponentStart:o,onOnInspectComponentEnd:t},null,8,["onOpenInEditor"]))}});export{d as default};

File diff suppressed because one or more lines are too long

View File

@@ -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-DH8HZ7DP.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};

View File

@@ -0,0 +1 @@
import{d as r,k as m,i as a,L as l,N as i,O as p,e as _,o as f,u as b,P as d}from"./index-DH8HZ7DP.js";const C=r({__name:"custom-tab-view",setup(v){const o=l(),s=p(),{flattenedTabs:n}=m(),u=a(()=>o.params.name),t=a(()=>n.value.find(e=>u.value===e.name)||null);return i(()=>{if(!t.value){const e=setTimeout(()=>{if(t.value){clearTimeout(e);return}s.replace("/overview")},2e3)}}),(e,T)=>{const c=d;return f(),_(c,{tab:b(t)},null,8,["tab"])}}});export{C as default};

View File

@@ -0,0 +1 @@
const n=Object.freeze(JSON.parse('{"displayName":"Diff","name":"diff","patterns":[{"captures":{"1":{"name":"punctuation.definition.separator.diff"}},"match":"^((\\\\*{15})|(={67})|(-{3}))$\\\\n?","name":"meta.separator.diff"},{"match":"^\\\\d+(,\\\\d+)*([acd])\\\\d+(,\\\\d+)*$\\\\n?","name":"meta.diff.range.normal"},{"captures":{"1":{"name":"punctuation.definition.range.diff"},"2":{"name":"meta.toc-list.line-number.diff"},"3":{"name":"punctuation.definition.range.diff"}},"match":"^(@@)\\\\s*(.+?)\\\\s*(@@)($\\\\n?)?","name":"meta.diff.range.unified"},{"captures":{"3":{"name":"punctuation.definition.range.diff"},"4":{"name":"punctuation.definition.range.diff"},"6":{"name":"punctuation.definition.range.diff"},"7":{"name":"punctuation.definition.range.diff"}},"match":"^(((-{3}) .+ (-{4}))|((\\\\*{3}) .+ (\\\\*{4})))$\\\\n?","name":"meta.diff.range.context"},{"match":"^diff --git a/.*$\\\\n?","name":"meta.diff.header.git"},{"match":"^diff (-|\\\\S+\\\\s+\\\\S+).*$\\\\n?","name":"meta.diff.header.command"},{"captures":{"4":{"name":"punctuation.definition.from-file.diff"},"6":{"name":"punctuation.definition.from-file.diff"},"7":{"name":"punctuation.definition.from-file.diff"}},"match":"^((((-{3}) .+)|((\\\\*{3}) .+))$\\\\n?|(={4}) .+(?= - ))","name":"meta.diff.header.from-file"},{"captures":{"2":{"name":"punctuation.definition.to-file.diff"},"3":{"name":"punctuation.definition.to-file.diff"},"4":{"name":"punctuation.definition.to-file.diff"}},"match":"(^(\\\\+{3}) .+$\\\\n?| (-) .* (={4})$\\\\n?)","name":"meta.diff.header.to-file"},{"captures":{"3":{"name":"punctuation.definition.inserted.diff"},"6":{"name":"punctuation.definition.inserted.diff"}},"match":"^(((>)( .*)?)|((\\\\+).*))$\\\\n?","name":"markup.inserted.diff"},{"captures":{"1":{"name":"punctuation.definition.changed.diff"}},"match":"^(!).*$\\\\n?","name":"markup.changed.diff"},{"captures":{"3":{"name":"punctuation.definition.deleted.diff"},"6":{"name":"punctuation.definition.deleted.diff"}},"match":"^(((<)( .*)?)|((-).*))$\\\\n?","name":"markup.deleted.diff"},{"begin":"^(#)","captures":{"1":{"name":"punctuation.definition.comment.diff"}},"end":"\\\\n","name":"comment.line.number-sign.diff"},{"match":"^index [0-9a-f]{7,40}\\\\.\\\\.[0-9a-f]{7,40}.*$\\\\n?","name":"meta.diff.index.git"},{"captures":{"1":{"name":"punctuation.separator.key-value.diff"},"2":{"name":"meta.toc-list.file-name.diff"}},"match":"^Index(:) (.+)$\\\\n?","name":"meta.diff.index"},{"match":"^Only in .*: .*$\\\\n?","name":"meta.diff.only-in"}],"scopeName":"source.diff"}')),e=[n];export{e as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
const n=Object.freeze(JSON.parse('{"displayName":"JSON","name":"json","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json"}},"name":"meta.structure.array.json","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json"},{"match":"[^]\\\\s]","name":"invalid.illegal.expected-array-separator.json"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.documentation.json"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.json"},{"captures":{"1":{"name":"punctuation.definition.comment.json"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)?","name":"constant.numeric.json"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json"}},"name":"meta.structure.dictionary.json","patterns":[{"include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json"}},"end":"(,)|(?=})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json"}},"name":"meta.structure.dictionary.value.json","patterns":[{"include":"#value"},{"match":"[^,\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},{"match":"[^}\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json"}},"name":"string.json support.type.property-name.json","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json"}},"name":"string.quoted.double.json","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.json"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json"}')),e=[n];export{e as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{d as e,e as a,o,u as n,y as r}from"./index-DH8HZ7DP.js";/* empty css */const i=e({__name:"pinia",setup(s){return(t,p)=>(o(),a(n(r)))}});export{i as default};

View File

@@ -0,0 +1 @@
import{d as n,h as c,i as o,e as u,o as p,u as t,j as i}from"./index-DH8HZ7DP.js";/* empty css */const f=n({__name:"router",setup(d){const{registeredInspector:r}=c(),s=o(()=>r.value?.find(e=>e.packageName==="vue-router")),a=o(()=>s.value?.id);return(e,m)=>(p(),u(t(i),{id:t(a)},null,8,["id"]))}});export{f as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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}

View File

@@ -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-DH8HZ7DP.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};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long