@nuxt/devtools-nightly 2.0.0-28980754.13f6fd0 → 2.0.0-28994885.580efe5
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/chunks/module-main.mjs +3 -2
- package/dist/client/200.html +23 -23
- package/dist/client/404.html +23 -23
- package/dist/client/_nuxt/__blank-ld6vcstp.js +1 -0
- package/dist/client/_nuxt/{analyze-build-iq7xh3z1.js → analyze-build-c482o0rp.js} +1 -1
- package/dist/client/_nuxt/{assets-gh0s06d1.js → assets-kmeafc2j.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/4f0658ff-2cdf-4454-af6e-f4f40ca96b60.json +1 -0
- package/dist/client/_nuxt/{client-kpmlv67d.js → client-edufhzwa.js} +1 -1
- package/dist/client/_nuxt/{code-diff.vue-n76oqanv.js → code-diff.vue-h6cjlv1f.js} +1 -1
- package/dist/client/_nuxt/{code-snippets.vue-mo56dnf7.js → code-snippets.vue-di9ieqh0.js} +1 -1
- package/dist/client/_nuxt/{components-lsb65kqi.js → components-frsbrp7k.js} +1 -1
- package/dist/client/_nuxt/{composable-item.vue-ou7mghhp.js → composable-item.vue-d66337l4.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_-jtqok9n0.js → custom-_name_-fpshrz2g.js} +1 -1
- package/dist/client/_nuxt/{data-schema-button.vue-c1grymka.js → data-schema-button.vue-jmgj7c3a.js} +1 -1
- package/dist/client/_nuxt/data-schema-drawer-gbzrakd6.js +2 -0
- package/dist/client/_nuxt/{default-g4qh1jek.js → default-kbs37enr.js} +1 -1
- package/dist/client/_nuxt/{duration-display.vue-dzttyi5n.js → duration-display.vue-gu7el5x3.js} +1 -1
- package/dist/client/_nuxt/{entry.css-mj1nvcy6.css → entry.css-jfo9gib8.css} +1 -1
- package/dist/client/_nuxt/{error-404-kkixf30c.js → error-404-fo0lbt1f.js} +1 -1
- package/dist/client/_nuxt/error-404.css-fsdpg4tp.css +1 -0
- package/dist/client/_nuxt/{error-500-m1ccut5u.js → error-500-nlnc41qh.js} +1 -1
- package/dist/client/_nuxt/error-500.css-bernuda7.css +1 -0
- package/dist/client/_nuxt/{error-ow5xdwzf.js → error-bxwvu917.js} +1 -1
- package/dist/client/_nuxt/{filepath-item.vue-emq61mdv.js → filepath-item.vue-h7hwp4l1.js} +1 -1
- package/dist/client/_nuxt/full-gm4u193g.js +1 -0
- package/dist/client/_nuxt/{help-fab.vue-pnejmv3y.js → help-fab.vue-gvs5kejv.js} +1 -1
- package/dist/client/_nuxt/{hooks-mgy9fbq4.js → hooks-ik3qbfnk.js} +1 -1
- package/dist/client/_nuxt/{imports-hjuvh4if.js → imports-gwm3xylq.js} +1 -1
- package/dist/client/_nuxt/{index-g2a9x4et.js → index-hpimydat.js} +1 -1
- package/dist/client/_nuxt/jabljmuq.js +17 -0
- package/dist/client/_nuxt/launch-page.vue-ez6bdm7j.js +1 -0
- package/dist/client/_nuxt/modules-cajzot60.js +1 -0
- package/dist/client/_nuxt/nbadge-bvlpsewp.js +1 -0
- package/dist/client/_nuxt/{ncheckbox.vue-n4yvgmy3.js → ncheckbox.vue-44i1ix52.js} +1 -1
- package/dist/client/_nuxt/{ncode-block.vue-dt6krs6h.js → ncode-block.vue-msaaoy71.js} +1 -1
- package/dist/client/_nuxt/{ndrawer.vue-dekxbytt.js → ndrawer.vue-bi6g6gul.js} +1 -1
- package/dist/client/_nuxt/ndropdown.vue-o2vqs9x3.js +1 -0
- package/dist/client/_nuxt/{nicon-title.vue-hzhi6u0u.js → nicon-title.vue-j1ceohu1.js} +1 -1
- package/dist/client/_nuxt/{nlink.vue-mgfv3kxu.js → nlink.vue-k4wgb5m8.js} +1 -1
- package/dist/client/_nuxt/{nmarkdown.vue-jpbjhala.js → nmarkdown.vue-oxfi26vk.js} +1 -1
- package/dist/client/_nuxt/{nnavbar.vue-ifbz2rxx.js → nnavbar.vue-iv3g20a3.js} +1 -1
- package/dist/client/_nuxt/none-gntuc5kb.js +1 -0
- package/dist/client/_nuxt/{nsection-block-c3li7360.js → nsection-block-luax5213.js} +1 -1
- package/dist/client/_nuxt/{nselect-tabs.vue-7ode1s40.js → nselect-tabs.vue-pax1cmst.js} +1 -1
- package/dist/client/_nuxt/{nselect.vue-g1dfz7uv.js → nselect.vue-he6g3fko.js} +1 -1
- package/dist/client/_nuxt/{nswitch.vue-iu20lc9i.js → nswitch.vue-l8xqfho0.js} +1 -1
- package/dist/client/_nuxt/{open-graph-fqsf6nxz.js → open-graph-bru2q3c1.js} +1 -1
- package/dist/client/_nuxt/{overview-fu25jfez.js → overview-nxxn6tag.js} +1 -1
- package/dist/client/_nuxt/{pages-krmwwon2.js → pages-i79of4d7.js} +1 -1
- package/dist/client/_nuxt/{payload-brwibidn.js → payload-moo45xls.js} +1 -1
- package/dist/client/_nuxt/pinia-mrj8m11z.js +1 -0
- package/dist/client/_nuxt/{plugins-ct1odttb.js → plugins-nq9zf5kp.js} +1 -1
- package/dist/client/_nuxt/render-tree-lxrl1kvf.js +1 -0
- package/dist/client/_nuxt/{runtime-configs-n2sp6jan.js → runtime-configs-cfingtm2.js} +1 -1
- package/dist/client/_nuxt/{server-discovery-jimy0pfh.js → server-discovery-kx2qse03.js} +1 -1
- package/dist/client/_nuxt/{server-route-inputs.vue-ldyagniy.js → server-route-inputs.vue-eyahusc0.js} +1 -1
- package/dist/client/_nuxt/{server-routes-hly5t016.js → server-routes-o8oofokq.js} +2 -2
- package/dist/client/_nuxt/{server-tasks-morkovw5.js → server-tasks-k7we68mk.js} +1 -1
- package/dist/client/_nuxt/{settings-ic9nbnp8.js → settings-gafl5f8z.js} +1 -1
- package/dist/client/_nuxt/{stacktrace-list.vue-nqi994si.js → stacktrace-list.vue-fjl1guhl.js} +1 -1
- package/dist/client/_nuxt/{state-components-ka9yswzm.js → state-components-jpspp754.js} +1 -1
- package/dist/client/_nuxt/state-editor.vue-cwjox8pt.js +1 -0
- package/dist/client/_nuxt/{state-modules-fi6koj0q.js → state-modules-eqkt5sg4.js} +1 -1
- package/dist/client/_nuxt/{storage-kce0wh6l.js → storage-hxqtxgqa.js} +1 -1
- package/dist/client/_nuxt/{terminals-bz0knva4.js → terminals-hjduppvd.js} +1 -1
- package/dist/client/_nuxt/{timeline-eie3snk2.js → timeline-fmkkkawq.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime-cb61k1ql.js → unocss-runtime-gc1hqonm.js} +1 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-npezbdce.js +3818 -0
- package/dist/client/_nuxt/vendor/{quicktype-core-lnbp3n5r.js → quicktype-core-i8ym98gu.js} +1 -1
- package/dist/client/_nuxt/vendor/{shiki-bpva4tco.js → shiki-ian6uf3s.js} +26 -26
- package/dist/client/_nuxt/vendor/{unocss-mstcul8h.js → unocss-hjqyvvq7.js} +2 -2
- package/dist/client/_nuxt/{virtual-files-ffma32j9.js → virtual-files-esnnq80f.js} +1 -1
- package/dist/client/_nuxt/vue-devtools-mvdyjrbj.js +2 -0
- package/dist/client/_nuxt/{vue-virtual-scroller.esm-ryb7s73q.js → vue-virtual-scroller.esm-guzt9iin.js} +1 -1
- package/dist/client/index.html +23 -23
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/Main.vue +1 -1
- package/dist/runtime/plugins/view/client.js +8 -5
- package/dist/shared/{devtools-nightly.2a48a9e5.d.mts → devtools-nightly.2e078e30.d.mts} +4 -0
- package/dist/shared/{devtools-nightly.2a48a9e5.d.ts → devtools-nightly.2e078e30.d.ts} +4 -0
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +27 -27
- package/dist/client/_nuxt/__blank-lg13rweu.js +0 -1
- package/dist/client/_nuxt/builds/meta/49cca9aa-555f-4765-adf5-305615694a06.json +0 -1
- package/dist/client/_nuxt/data-schema-drawer-d4rpskxd.js +0 -2
- package/dist/client/_nuxt/e6dj4v2s.js +0 -17
- package/dist/client/_nuxt/error-404.css-fwe7gpvk.css +0 -1
- package/dist/client/_nuxt/error-500.css-djemplc9.css +0 -1
- package/dist/client/_nuxt/full-nu44fgoz.js +0 -1
- package/dist/client/_nuxt/index-ioxrnncp.js +0 -2
- package/dist/client/_nuxt/launch-page.vue-kdqfy3so.js +0 -1
- package/dist/client/_nuxt/modules-k3t829jl.js +0 -1
- package/dist/client/_nuxt/nbadge-drglxech.js +0 -1
- package/dist/client/_nuxt/ndropdown.vue-ftpt7kxg.js +0 -1
- package/dist/client/_nuxt/none-vukmnfqm.js +0 -1
- package/dist/client/_nuxt/pinia-jwh05bbu.js +0 -1
- package/dist/client/_nuxt/render-tree-btmc22jz.js +0 -1
- package/dist/client/_nuxt/state-editor.vue-nbrmuzl0.js +0 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-kcahofzr.js +0 -3818
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{R as re,S as ne,n as Q,U as $,P as L,Q as oe,av as le,s as ae,V as ue,ag as ce,
|
|
1
|
+
import{R as re,S as ne,n as Q,U as $,P as L,Q as oe,av as le,s as ae,V as ue,ag as ce,aa as de,W as M,Y as A,Z as W,a2 as K,F as fe,ae as he,ad as q,a4 as me,aw as pe,$ as ye,a0 as Y,a3 as ve}from"./vendor/json-editor-vue-npezbdce.js";function be(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let R;function H(){H.init||(H.init=!0,R=be()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){H(),Q(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",R&&this.$el.appendChild(e),e.data="about:blank",R||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!R&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ge=oe();re("data-v-b329ee4c");const Se={class:"resize-observer",tabindex:"-1"};ne();const ze=ge((e,t,i,s,r,a)=>($(),L("div",Se)));E.render=ze;E.__scopeId="data-v-b329ee4c";E.__file="src/components/ResizeObserver.vue";function C(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(t){return typeof t}:C=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(e)}function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function Ie(e,t,i){return _e(e.prototype,t),e}function X(e){return $e(e)||Te(e)||Oe(e)||Ve()}function $e(e){if(Array.isArray(e))return N(e)}function Te(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Oe(e,t){if(e){if(typeof e=="string")return N(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return N(e,t)}}function N(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function Ve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function ke(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,r,a,u=function(n){for(var d=arguments.length,p=new Array(d>1?d-1:0),S=1;S<d;S++)p[S-1]=arguments[S];if(a=p,!(s&&n===r)){var _=i.leading;typeof _=="function"&&(_=_(n,r)),(!s||n!==r)&&_&&e.apply(void 0,[n].concat(X(a))),r=n,clearTimeout(s),s=setTimeout(function(){e.apply(void 0,[n].concat(X(a))),s=0},t)}};return u._clear=function(){clearTimeout(s),s=null},u}function Z(e,t){if(e===t)return!0;if(C(e)==="object"){for(var i in e)if(!Z(e[i],t[i]))return!1;return!0}return!1}var Me=function(){function e(t,i,s){we(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(i,s)}return Ie(e,[{key:"createObserver",value:function(i,s){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=xe(i),this.callback=function(c,n){r.options.callback(c,n),c&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var a=this.options.throttleOptions||{},u=a.leading;this.callback=ke(this.callback,this.options.throttle,{leading:function(n){return u==="both"||u==="visible"&&n||u==="hidden"&&!n}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(c){var n=c[0];if(c.length>1){var d=c.find(function(S){return S.isIntersecting});d&&(n=d)}if(r.callback){var p=n.isIntersecting&&n.intersectionRatio>=r.threshold;if(p===r.oldResult)return;r.oldResult=p,r.callback(p,n)}},this.options.intersection),Q(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function J(e,t,i){var s=t.value;if(s)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new Me(e,s,i);e._vue_visibilityState=r}}function Ae(e,t,i){var s=t.value,r=t.oldValue;if(!Z(s,r)){var a=e._vue_visibilityState;if(!s){ee(e);return}a?a.createObserver(s,i):J(e,{value:s},i)}}function ee(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Re={beforeMount:J,updated:Ae,unmounted:ee},Ce={itemsLimit:1e3},Ee=/(auto|scroll)/;function te(e,t){return e.parentNode===null?t:te(e.parentNode,t.concat([e]))}var P=function(t,i){return getComputedStyle(t,null).getPropertyValue(i)},Pe=function(t){return P(t,"overflow")+P(t,"overflow-y")+P(t,"overflow-x")},Le=function(t){return Ee.test(Pe(t))};function G(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=te(e.parentNode,[]),i=0;i<t.length;i+=1)if(Le(t[i]))return t[i];return document.scrollingElement||document.documentElement}}function j(e){"@babel/helpers - typeof";return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(e)}var He={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Ne(){return this.items.length&&j(this.items[0])!=="object"}var B=!1;if(typeof window<"u"){B=!1;try{var je=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("test",null,je)}catch{}}let Be=0;var ie={name:"RecycleScroller",components:{ResizeObserver:E},directives:{ObserveVisibility:Re},props:{...He,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,i=this.sizeField,s=this.minItemSize;let r=1e4,a=0,u;for(let c=0,n=t.length;c<n;c++)u=t[c][i]||s,u<r&&(r=u),a+=u,e[c]={accumulator:a,size:u};return this.$_computedMinItemSize=r,e}return[]},simpleArray:Ne,itemIndexByKey(){const{keyField:e,items:t}=this,i={};for(let s=0,r=t.length;s<r;s++)i[t[s][e]]=s;return i}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,i,s,r){const a=le({id:Be++,index:t,used:!0,key:s,type:r}),u=ae({item:i,position:0,nr:a});return e.push(u),u},unuseView(e,t=!1){const i=this.$_unusedViews,s=e.nr.type;let r=i.get(s);r||(r=[],i.set(s,r)),r.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:i}=this.updateVisibleItems(!1,!0);i||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const i=this.itemSize,s=this.gridItems||1,r=this.itemSecondarySize||i,a=this.$_computedMinItemSize,u=this.typeField,c=this.simpleArray?null:this.keyField,n=this.items,d=n.length,p=this.sizes,S=this.$_views,_=this.$_unusedViews,V=this.pool,se=this.itemIndexByKey;let y,f,T,g,z;if(!d)y=f=g=z=T=0;else if(this.$_prerender)y=g=0,f=z=Math.min(this.prerender,n.length),T=null;else{const o=this.getScroll();if(t){let m=o.start-this.$_lastUpdateScrollPosition;if(m<0&&(m=-m),i===null&&m<a||m<i)return{continuous:!0}}this.$_lastUpdateScrollPosition=o.start;const v=this.buffer;o.start-=v,o.end+=v;let h=0;if(this.$refs.before&&(h=this.$refs.before.scrollHeight,o.start-=h),this.$refs.after){const m=this.$refs.after.scrollHeight;o.end+=m}if(i===null){let m,O=0,F=d-1,b=~~(d/2),U;do U=b,m=p[b].accumulator,m<o.start?O=b:b<d-1&&p[b+1].accumulator>o.start&&(F=b),b=~~((O+F)/2);while(b!==U);for(b<0&&(b=0),y=b,T=p[d-1].accumulator,f=b;f<d&&p[f].accumulator<o.end;f++);for(f===-1?f=n.length-1:(f++,f>d&&(f=d)),g=y;g<d&&h+p[g].accumulator<o.start;g++);for(z=g;z<d&&h+p[z].accumulator<o.end;z++);}else{y=~~(o.start/i*s);const m=y%s;y-=m,f=Math.ceil(o.end/i*s),g=Math.max(0,Math.floor((o.start-h)/i*s)),z=Math.floor((o.end-h)/i*s),y<0&&(y=0),f>d&&(f=d),g<0&&(g=0),z>d&&(z=d),T=Math.ceil(d/s)*i}}f-y>Ce.itemsLimit&&this.itemsLimitError(),this.totalSize=T;let l;const x=y<=this.$_endIndex&&f>=this.$_startIndex;if(x)for(let o=0,v=V.length;o<v;o++)l=V[o],l.nr.used&&(e&&(l.nr.index=se[l.item[c]]),(l.nr.index==null||l.nr.index<y||l.nr.index>=f)&&this.unuseView(l));const D=x?null:new Map;let I,w,k;for(let o=y;o<f;o++){I=n[o];const v=c?I[c]:I;if(v==null)throw new Error(`Key is ${v} on item (keyField is '${c}')`);if(l=S.get(v),!i&&!p[o].size){l&&this.unuseView(l);continue}w=I[u];let h=_.get(w),m=!1;if(!l)x?h&&h.length?l=h.pop():l=this.addView(V,o,I,v,w):(k=D.get(w)||0,(!h||k>=h.length)&&(l=this.addView(V,o,I,v,w),this.unuseView(l,!0),h=_.get(w)),l=h[k],D.set(w,k+1)),S.delete(l.nr.key),l.nr.used=!0,l.nr.index=o,l.nr.key=v,l.nr.type=w,S.set(v,l),m=!0;else if(!l.nr.used&&(l.nr.used=!0,m=!0,h)){const O=h.indexOf(l);O!==-1&&h.splice(O,1)}l.item=I,m&&(o===n.length-1&&this.$emit("scroll-end"),o===0&&this.$emit("scroll-start")),i===null?(l.position=p[o-1].accumulator,l.offset=0):(l.position=Math.floor(o/s)*i,l.offset=o%s*r)}return this.$_startIndex=y,this.$_endIndex=f,this.emitUpdate&&this.$emit("update",y,f,g,z),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:x}},getListenerTarget(){let e=G(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,i=t==="vertical";let s;if(this.pageMode){const r=e.getBoundingClientRect(),a=i?r.height:r.width;let u=-(i?r.top:r.left),c=i?window.innerHeight:window.innerWidth;u<0&&(c+=u,u=0),u+c>a&&(c=a-u),s={start:u,end:u+c}}else i?s={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:s={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return s},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,B?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const i=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/i)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let i,s,r;if(this.pageMode){const a=G(this.$el),u=a.tagName==="HTML"?0:a[t.scroll],c=a.getBoundingClientRect(),d=this.$el.getBoundingClientRect()[t.start]-c[t.start];i=a,s=t.scroll,r=e+u+d}else i=this.$el,s=t.scroll,r=e;i[s]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const De={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Fe={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ue(e,t,i,s,r,a){const u=ue("ResizeObserver"),c=ce("observe-visibility");return de(($(),M("div",{class:Y(["vue-recycle-scroller",{ready:r.ready,"page-mode":i.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...n)=>a.handleScroll&&a.handleScroll(...n))},[e.$slots.before?($(),M("div",De,[A(e.$slots,"before")],512)):W("v-if",!0),($(),L(q(i.listTag),{ref:"wrapper",style:ye({[e.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:Y(["vue-recycle-scroller__item-wrapper",i.listClass])},{default:K(()=>[($(!0),M(fe,null,he(r.pool,n=>($(),L(q(i.itemTag),me({key:n.nr.id,style:r.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${n.position}px) translate${e.direction==="vertical"?"X":"Y"}(${n.offset}px)`,width:i.gridItems?`${e.direction==="vertical"&&i.itemSecondarySize||i.itemSize}px`:void 0,height:i.gridItems?`${e.direction==="horizontal"&&i.itemSecondarySize||i.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[i.itemClass,{hover:!i.skipHover&&r.hoverKey===n.nr.key}]]},pe(i.skipHover?{}:{mouseenter:()=>{r.hoverKey=n.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:K(()=>[A(e.$slots,"default",{item:n.item,index:n.nr.index,active:n.nr.used})]),_:2},1040,["style","class"]))),128)),A(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?($(),M("div",Fe,[A(e.$slots,"after")],512)):W("v-if",!0),ve(u,{onNotify:a.handleResize},null,8,["onNotify"])],34)),[[c,a.handleVisibilityChange]])}ie.render=Ue;ie.__file="src/components/RecycleScroller.vue";export{ie as s};
|
package/dist/client/index.html
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
<!DOCTYPE html><html data-capo=""><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
|
-
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-
|
|
3
|
+
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-jfo9gib8.css" crossorigin>
|
|
4
4
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css" crossorigin>
|
|
5
5
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-mhvipxpl.css" crossorigin>
|
|
6
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
7
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-
|
|
8
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-
|
|
9
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-
|
|
6
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/jabljmuq.js">
|
|
7
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-npezbdce.js">
|
|
8
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-hjqyvvq7.js">
|
|
9
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-ian6uf3s.js">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-fvu08dbs.js">
|
|
11
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-
|
|
12
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-
|
|
13
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-
|
|
11
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-kbs37enr.js">
|
|
12
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-gm4u193g.js">
|
|
13
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-gntuc5kb.js">
|
|
14
14
|
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.css-lvdc77tw.css">
|
|
15
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-
|
|
16
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect.vue-
|
|
17
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nswitch.vue-
|
|
18
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown.vue-
|
|
19
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.vue-
|
|
20
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer.vue-
|
|
22
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/quicktype-core-
|
|
23
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-
|
|
24
|
-
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-
|
|
25
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-
|
|
26
|
-
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-
|
|
28
|
-
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
29
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"
|
|
15
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-gbzrakd6.js">
|
|
16
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect.vue-he6g3fko.js">
|
|
17
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nswitch.vue-l8xqfho0.js">
|
|
18
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown.vue-o2vqs9x3.js">
|
|
19
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.vue-msaaoy71.js">
|
|
20
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-edufhzwa.js">
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer.vue-bi6g6gul.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/quicktype-core-i8ym98gu.js">
|
|
23
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-gc1hqonm.js">
|
|
24
|
+
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-fsdpg4tp.css">
|
|
25
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-fo0lbt1f.js">
|
|
26
|
+
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-bernuda7.css">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-nlnc41qh.js">
|
|
28
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/jabljmuq.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1739693150865,false]</script>
|
|
29
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"4f0658ff-2cdf-4454-af6e-f4f40ca96b60",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import './shared/devtools-nightly.
|
|
2
|
+
import './shared/devtools-nightly.2e078e30.mjs';
|
|
3
3
|
import { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
4
4
|
export { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
5
5
|
import 'vite-plugin-vue-inspector';
|
package/dist/module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import './shared/devtools-nightly.
|
|
2
|
+
import './shared/devtools-nightly.2e078e30.js';
|
|
3
3
|
import { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
4
4
|
export { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
5
5
|
import 'vite-plugin-vue-inspector';
|
package/dist/module.json
CHANGED
|
@@ -379,7 +379,7 @@ onMounted(() => {
|
|
|
379
379
|
{{ time[2] }}
|
|
380
380
|
</span>
|
|
381
381
|
</div>
|
|
382
|
-
<template v-if="client.inspector">
|
|
382
|
+
<template v-if="client.inspector?.instance">
|
|
383
383
|
<div
|
|
384
384
|
style="border-left: 1px solid #8883;width:1px;height:10px;"
|
|
385
385
|
class="nuxt-devtools-panel-content"
|
|
@@ -138,19 +138,22 @@ export async function setupDevToolsClient({
|
|
|
138
138
|
}, timeout);
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
+
function getInspector() {
|
|
142
|
+
return window.__NUXT_INSPECTOR__ || window.__VUE_INSPECTOR__;
|
|
143
|
+
}
|
|
141
144
|
function enableComponentInspector() {
|
|
142
|
-
|
|
145
|
+
getInspector()?.enable();
|
|
143
146
|
isInspecting.value = true;
|
|
144
147
|
}
|
|
145
148
|
function disableComponentInspector() {
|
|
146
|
-
if (!
|
|
149
|
+
if (!getInspector()?.enabled)
|
|
147
150
|
return;
|
|
148
|
-
|
|
151
|
+
getInspector()?.disable();
|
|
149
152
|
client?.hooks.callHook("host:inspector:close");
|
|
150
153
|
isInspecting.value = false;
|
|
151
154
|
}
|
|
152
155
|
function getInspectorInstance() {
|
|
153
|
-
const componentInspector =
|
|
156
|
+
const componentInspector = getInspector();
|
|
154
157
|
if (componentInspector) {
|
|
155
158
|
componentInspector.openInEditor = async (url) => {
|
|
156
159
|
disableComponentInspector();
|
|
@@ -170,7 +173,7 @@ export async function setupDevToolsClient({
|
|
|
170
173
|
toggle: () => {
|
|
171
174
|
if (!state.value.open)
|
|
172
175
|
client.devtools.open();
|
|
173
|
-
if (
|
|
176
|
+
if (getInspector()?.enabled)
|
|
174
177
|
disableComponentInspector();
|
|
175
178
|
else
|
|
176
179
|
enableComponentInspector();
|
package/dist/types.d.mts
CHANGED
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-
|
|
4
|
+
"version": "2.0.0-28994885.580efe5",
|
|
5
5
|
"description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devtools.nuxt.com",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"vite": ">=6.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@2.0.0-
|
|
36
|
-
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@2.0.0-
|
|
35
|
+
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@2.0.0-28994885.580efe5",
|
|
36
|
+
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@2.0.0-28994885.580efe5",
|
|
37
37
|
"@nuxt/kit": "^3.15.4",
|
|
38
|
-
"@vue/devtools-core": "^7.7.
|
|
39
|
-
"@vue/devtools-kit": "^7.7.
|
|
38
|
+
"@vue/devtools-core": "^7.7.2",
|
|
39
|
+
"@vue/devtools-kit": "^7.7.2",
|
|
40
40
|
"birpc": "^2.2.0",
|
|
41
41
|
"consola": "^3.4.0",
|
|
42
42
|
"destr": "^2.0.3",
|
|
43
43
|
"error-stack-parser-es": "^1.0.5",
|
|
44
44
|
"execa": "^9.5.2",
|
|
45
|
-
"fast-npm-meta": "^0.3.
|
|
45
|
+
"fast-npm-meta": "^0.3.1",
|
|
46
46
|
"get-port-please": "^3.1.2",
|
|
47
47
|
"hookable": "^5.5.3",
|
|
48
48
|
"image-meta": "^0.2.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"magicast": "^0.3.5",
|
|
53
53
|
"nypm": "^0.5.2",
|
|
54
54
|
"ohash": "^1.1.4",
|
|
55
|
-
"pathe": "^2.0.
|
|
55
|
+
"pathe": "^2.0.3",
|
|
56
56
|
"perfect-debounce": "^1.0.0",
|
|
57
57
|
"pkg-types": "^1.3.1",
|
|
58
58
|
"semver": "^7.7.1",
|
|
@@ -60,34 +60,34 @@
|
|
|
60
60
|
"sirv": "^3.0.0",
|
|
61
61
|
"structured-clone-es": "^1.0.0",
|
|
62
62
|
"tinyglobby": "^0.2.10",
|
|
63
|
-
"vite-plugin-inspect": "^10.1
|
|
63
|
+
"vite-plugin-inspect": "^10.2.1",
|
|
64
64
|
"vite-plugin-vue-inspector": "^5.3.1",
|
|
65
65
|
"which": "^5.0.0",
|
|
66
66
|
"ws": "^8.18.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@antfu/utils": "^
|
|
69
|
+
"@antfu/utils": "^9.0.0",
|
|
70
70
|
"@discoveryjs/cli": "^2.13.1",
|
|
71
71
|
"@discoveryjs/discovery": "1.0.0-beta.92",
|
|
72
72
|
"@iconify-json/bxl": "^1.2.2",
|
|
73
|
-
"@iconify-json/carbon": "^1.2.
|
|
73
|
+
"@iconify-json/carbon": "^1.2.7",
|
|
74
74
|
"@iconify-json/logos": "^1.2.4",
|
|
75
75
|
"@iconify-json/ri": "^1.2.5",
|
|
76
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
77
|
-
"@iconify-json/tabler": "^1.2.
|
|
76
|
+
"@iconify-json/simple-icons": "^1.2.24",
|
|
77
|
+
"@iconify-json/tabler": "^1.2.16",
|
|
78
78
|
"@nuxt/content": "^2.13.4",
|
|
79
|
-
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@2.0.0-
|
|
79
|
+
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@2.0.0-28994885.580efe5",
|
|
80
80
|
"@nuxt/test-utils": "^3.15.4",
|
|
81
81
|
"@parcel/watcher": "^2.5.1",
|
|
82
|
-
"@shikijs/langs-precompiled": "^2.
|
|
82
|
+
"@shikijs/langs-precompiled": "^2.4.1",
|
|
83
83
|
"@types/markdown-it-link-attributes": "^3.0.5",
|
|
84
|
-
"@unocss/nuxt": "^65.
|
|
85
|
-
"@unocss/preset-icons": "^65.
|
|
86
|
-
"@unocss/preset-uno": "^65.
|
|
87
|
-
"@unocss/runtime": "^65.
|
|
84
|
+
"@unocss/nuxt": "^65.5.0",
|
|
85
|
+
"@unocss/preset-icons": "^65.5.0",
|
|
86
|
+
"@unocss/preset-uno": "^65.5.0",
|
|
87
|
+
"@unocss/runtime": "^65.5.0",
|
|
88
88
|
"@vitest/ui": "^3.0.5",
|
|
89
|
-
"@vue/devtools-applet": "^7.7.
|
|
90
|
-
"@vueuse/nuxt": "^12.
|
|
89
|
+
"@vue/devtools-applet": "^7.7.2",
|
|
90
|
+
"@vueuse/nuxt": "^12.7.0",
|
|
91
91
|
"@xterm/addon-fit": "^0.10.0",
|
|
92
92
|
"@xterm/xterm": "^5.5.0",
|
|
93
93
|
"cronstrue": "^2.54.0",
|
|
@@ -98,22 +98,22 @@
|
|
|
98
98
|
"markdown-it": "^14.1.0",
|
|
99
99
|
"markdown-it-link-attributes": "^4.0.1",
|
|
100
100
|
"my-ua-parser": "^2.0.4",
|
|
101
|
-
"nanoid": "^5.0
|
|
101
|
+
"nanoid": "^5.1.0",
|
|
102
102
|
"nitropack": "^2.10.4",
|
|
103
103
|
"nuxt": "^3.15.4",
|
|
104
104
|
"ofetch": "^1.4.1",
|
|
105
105
|
"quicktype-core": "22.0.0",
|
|
106
106
|
"scule": "^1.3.0",
|
|
107
|
-
"shiki": "^2.
|
|
108
|
-
"shiki-codegen": "^2.
|
|
107
|
+
"shiki": "^2.4.1",
|
|
108
|
+
"shiki-codegen": "^2.4.1",
|
|
109
109
|
"theme-vitesse": "^0.8.3",
|
|
110
|
-
"unimport": "^4.
|
|
111
|
-
"unocss": "^65.
|
|
110
|
+
"unimport": "^4.1.1",
|
|
111
|
+
"unocss": "^65.5.0",
|
|
112
112
|
"unplugin-vue-markdown": "^28.3.0",
|
|
113
|
-
"vanilla-jsoneditor": "^2.
|
|
113
|
+
"vanilla-jsoneditor": "^2.4.0",
|
|
114
114
|
"vis-data": "^7.1.9",
|
|
115
115
|
"vis-network": "^9.1.9",
|
|
116
|
-
"vue-tsc": "^2.2.
|
|
116
|
+
"vue-tsc": "^2.2.2",
|
|
117
117
|
"vue-virtual-scroller": "^2.0.0-beta.8"
|
|
118
118
|
},
|
|
119
119
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,W as n,U as t}from"./vendor/json-editor-vue-kcahofzr.js";const c={"h-screen":"","w-screen":"","bg-black":""},r=e({__name:"__blank",setup(o){return(s,_)=>(t(),n("div",c))}});export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"49cca9aa-555f-4765-adf5-305615694a06","timestamp":1738845255295,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as W}from"./nselect.vue-g1dfz7uv.js";import{u as A,c as E,a as F,_ as q}from"./e6dj4v2s.js";import{_ as z}from"./nswitch.vue-iu20lc9i.js";import{_ as J}from"./ndropdown.vue-ftpt7kxg.js";import{_ as O}from"./ncode-block.vue-dt6krs6h.js";import{_ as P}from"./ndrawer.vue-dekxbytt.js";import{A as h,d as k}from"./vendor/quicktype-core-lnbp3n5r.js";import{p as X,f as x,q as N,j as C,U as n,P as c,a3 as m,a2 as u,X as i,W as d,F as D,ae as j,u as f,a8 as b,Z as _,ad as Z}from"./vendor/json-editor-vue-kcahofzr.js";import"./vendor/unocss-mstcul8h.js";import"./vendor/shiki-bpva4tco.js";import"./client-kpmlv67d.js";const G={border:"b base",flex:"~ items-center gap-2",sticky:"","left-0":"","right-0":"","top-0":"","z-1":"",p3:"","bg-base":""},H={key:0,flex:"~ items-center justify-center",absolute:"","bottom--1":"","right--2":"","h-4":"","w-4":"","rounded-full":"","bg-lime:30":"","text-8px":""},K={flex:"~ col","w-100":"","of-auto":"",py2:""},M={"text-xs":"",capitalize:"",op75:""},ie=X({__name:"DataSchemaDrawer",setup(Q){const s=A(),V=x(0),l=x("TypeScript"),v=N(()=>h.all.find(e=>e.displayName===l.value)),o=x(v.value?.optionDefinitions.filter(e=>typeof e.defaultValue=="boolean")),y=E(async()=>{if(V.value,!s.value)return"";const e=k.jsonInputForTargetLanguage(l.value);await e.addSource({name:s.value.name??"Data",samples:[s.value.input]});const t=new k.InputData;return t.addInput(e),(await k.quicktype({inputData:t,lang:l.value,rendererOptions:o.value?.reduce((r,p)=>(r[p.name]=p.defaultValue,r),{})})).lines.join(`
|
|
2
|
-
`)}),$=N(()=>{const e=l.value.toLocaleLowerCase();return e.startsWith("javascript")?"javascript":e.startsWith("json")?"json":e.startsWith("typescript")?"typescript":e});C(o,()=>{V.value++},{deep:!0}),C(l,()=>{o.value=v.value?.optionDefinitions.filter(e=>typeof e.defaultValue=="boolean")});const S=F();function B(){S(y.value||"")}return(e,t)=>{const w=W,r=q,p=z,L=J,I=O,T=P;return v.value?(n(),c(Z,{key:0,to:"body"},[m(T,{"model-value":!!f(s)?.input,"auto-close":"","max-w-screen":"","w-2xl":"","n-code-block":"",onClose:t[2]||(t[2]=a=>s.value=null)},{default:u(()=>[i("div",G,[t[3]||(t[3]=i("p",{"mr-2":""}," Schema ",-1)),m(w,{modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=a=>l.value=a),n:"xs primary"},{default:u(()=>[(n(!0),d(D,null,j(f(h.all),a=>(n(),d("option",{key:a.displayName},b(a.displayName),1))),128))]),_:1},8,["modelValue"]),o.value?.length?(n(),c(L,{key:0,n:"sm lime"},{trigger:u(({click:a})=>[m(r,{icon:"carbon-settings","h-full":"",onClick:g=>a()},null,8,["onClick"]),o.value?(n(),d("span",H,b(o.value.length),1)):_("",!0)]),default:u(()=>[i("div",K,[(n(!0),d(D,null,j(o.value,(a,g)=>(n(),c(p,{key:a.name,modelValue:o.value[g].defaultValue,"onUpdate:modelValue":U=>o.value[g].defaultValue=U,flex:"~ gap-2",rounded:"",px2:"",py2:""},{default:u(()=>[i("span",M,b(a.description),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),128))])]),_:1})):_("",!0),t[4]||(t[4]=i("div",{"flex-auto":""},null,-1)),m(r,{icon:"carbon-copy","mr-6":"","h-full":"",onClick:t[1]||(t[1]=a=>B())})]),f(y)?(n(),c(I,{key:0,lang:$.value,code:f(y)},null,8,["lang","code"])):_("",!0)]),_:1},8,["model-value"])])):_("",!0)}}});export{ie as default};
|