@nuxt/devtools 1.0.2 → 1.0.4
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/README.md +2 -1
- package/dist/chunks/module-main.mjs +145 -103
- package/dist/chunks/vscode.mjs +5 -5
- package/dist/client/200.html +35 -35
- package/dist/client/404.html +35 -35
- package/dist/client/_nuxt/{CodeDiff.vue.495a2700.js → CodeDiff.vue.d8722166.js} +2 -2
- package/dist/client/_nuxt/{ComposableItem.vue.09c56ec4.js → ComposableItem.vue.a0062ecc.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaButton.vue.058ff215.js → DataSchemaButton.vue.baec9a00.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.d62bbda3.js → DataSchemaDrawer.b2c7e5f0.js} +3 -3
- package/dist/client/_nuxt/{DurationDisplay.vue.e7d2f90b.js → DurationDisplay.vue.75bf04c2.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.feb8a13c.js → FilepathItem.vue.7a091e26.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.70bfd8f0.js → HelpFab.vue.07720a44.js} +1 -1
- package/dist/client/_nuxt/LaunchPage.vue.51fc4c47.js +1 -0
- package/dist/client/_nuxt/NBadge.ce033599.js +1 -0
- package/dist/client/_nuxt/NCheckbox.vue.0f5a8440.js +1 -0
- package/dist/client/_nuxt/{NCodeBlock.vue.c114d969.js → NCodeBlock.vue.4697f7e4.js} +2 -2
- package/dist/client/_nuxt/{NDrawer.vue.4bcebe5d.js → NDrawer.vue.4b4bd813.js} +1 -1
- package/dist/client/_nuxt/NDropdown.vue.ddbb4404.js +1 -0
- package/dist/client/_nuxt/{NIconTitle.vue.dcd70230.js → NIconTitle.vue.8be5866f.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.353afc82.js → NLink.vue.99516332.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.4e215b1f.js → NMarkdown.vue.d386a844.js} +1 -1
- package/dist/client/_nuxt/{NNavbar.vue.29f03776.js → NNavbar.vue.a82b9c01.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.1609c1ec.js +1 -0
- package/dist/client/_nuxt/NSelect.vue.7cf27fe7.js +1 -0
- package/dist/client/_nuxt/NSelectTabs.vue.8f4924f6.js +1 -0
- package/dist/client/_nuxt/NSwitch.vue.6fd7c26d.js +1 -0
- package/dist/client/_nuxt/StacktraceList.vue.a2e4171d.js +1 -0
- package/dist/client/_nuxt/StateEditor.vue.777f604e.js +1 -0
- package/dist/client/_nuxt/{__blank.961dc152.js → __blank.2e21a1a7.js} +1 -1
- package/dist/client/_nuxt/analyze-build.371a5734.js +1 -0
- package/dist/client/_nuxt/assets.439f186c.js +16 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/f35e8543-749e-4b65-87f9-0ac9fa3dd3ab.json +1 -0
- package/dist/client/_nuxt/{client.4841a079.js → client.bd4053bc.js} +1 -1
- package/dist/client/_nuxt/{components.3821affe.js → components.ccf2fad3.js} +5 -5
- package/dist/client/_nuxt/{custom-_name_.45e0e481.js → custom-_name_.b0891a20.js} +1 -1
- package/dist/client/_nuxt/{default.551695d6.js → default.97700872.js} +1 -1
- package/dist/client/_nuxt/{entry.aa8c94e8.css → entry.2732f55b.css} +1 -1
- package/dist/client/_nuxt/entry.35c58391.js +27 -0
- package/dist/client/_nuxt/{error-404.c4b39504.js → error-404.576aef72.js} +1 -1
- package/dist/client/_nuxt/{error-500.4029de92.js → error-500.61e43a5a.js} +1 -1
- package/dist/client/_nuxt/error.82c66fee.js +9 -0
- package/dist/client/_nuxt/full.72d92407.js +1 -0
- package/dist/client/_nuxt/{hooks.ad652487.js → hooks.889b91ae.js} +1 -1
- package/dist/client/_nuxt/{imports.779c7207.js → imports.8a1177ed.js} +1 -1
- package/dist/client/_nuxt/{index.07112662.js → index.0214b01d.js} +1 -1
- package/dist/client/_nuxt/{index.8874e47c.js → index.11f08f78.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.b1851782.js → json-editor-vue.24ac60a9.js} +1 -1
- package/dist/client/_nuxt/modules.0ea1264b.js +2 -0
- package/dist/client/_nuxt/{none.48f4e2a5.js → none.9d86a5c5.js} +1 -1
- package/dist/client/_nuxt/{open-graph.545307be.js → open-graph.ce924f19.js} +2 -2
- package/dist/client/_nuxt/overview.811117a6.js +1 -0
- package/dist/client/_nuxt/{pages.065c5174.js → pages.f870c402.js} +1 -1
- package/dist/client/_nuxt/{payload.f3ad6ba9.js → payload.ae9699f5.js} +1 -1
- package/dist/client/_nuxt/{plugins.97361fa6.js → plugins.a8eafa2c.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.04157e18.js → runtime-configs.344cb73a.js} +1 -1
- package/dist/client/_nuxt/server-routes.d5948352.js +9 -0
- package/dist/client/_nuxt/settings.a887e1c0.js +1 -0
- package/dist/client/_nuxt/{state-components.9496e3b2.js → state-components.295d8108.js} +1 -1
- package/dist/client/_nuxt/state-modules.a1a00874.js +1 -0
- package/dist/client/_nuxt/storage-options.835c9b2d.js +1 -0
- package/dist/client/_nuxt/storage.d4c1d127.js +1 -0
- package/dist/client/_nuxt/{terminals.ad730beb.js → terminals.3c6722c6.js} +1 -1
- package/dist/client/_nuxt/timeline.cebcddc5.js +29 -0
- package/dist/client/_nuxt/unocss-runtime.eab56c8d.js +2 -0
- package/dist/client/_nuxt/virtual-files.33dacdaf.js +1 -0
- package/dist/client/index.html +35 -35
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/devtools.client.mjs +2 -2
- package/dist/runtime/plugins/view/FrameBox.vue +1 -1
- package/dist/runtime/plugins/view/Main.vue +2 -0
- package/dist/runtime/plugins/view/client.mjs +3 -2
- package/dist/shared/devtools.371fa152.mjs +111 -0
- package/package.json +25 -25
- package/dist/client/__blank/index.html +0 -42
- package/dist/client/_nuxt/LaunchPage.vue.68d99ad2.js +0 -1
- package/dist/client/_nuxt/NBadge.b912de36.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.a65a9466.js +0 -1
- package/dist/client/_nuxt/NDropdown.vue.32f13066.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.56f7fa97.js +0 -1
- package/dist/client/_nuxt/NSelect.vue.d4b5d548.js +0 -1
- package/dist/client/_nuxt/NSelectTabs.vue.f4ae464e.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.95382b67.js +0 -1
- package/dist/client/_nuxt/NTip.vue.fbfe6de9.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.9d7dcb3f.js +0 -1
- package/dist/client/_nuxt/analyze-build.29ca822b.js +0 -1
- package/dist/client/_nuxt/assets.5182b2b7.js +0 -16
- package/dist/client/_nuxt/builds/meta/9c2bc90a-5134-40c2-becb-286bd0304a77.json +0 -1
- package/dist/client/_nuxt/entry.5d59ff5c.js +0 -27
- package/dist/client/_nuxt/full.b09bb7d2.js +0 -1
- package/dist/client/_nuxt/modules.53d23733.js +0 -2
- package/dist/client/_nuxt/overview.60692331.js +0 -1
- package/dist/client/_nuxt/server-routes.631067b9.js +0 -9
- package/dist/client/_nuxt/settings.72bdb2b5.js +0 -1
- package/dist/client/_nuxt/state-modules.3599ee72.js +0 -1
- package/dist/client/_nuxt/storage-options.5fca38da.js +0 -1
- package/dist/client/_nuxt/storage.be53a14a.js +0 -1
- package/dist/client/_nuxt/timeline.b8cc1d67.js +0 -29
- package/dist/client/_nuxt/unocss-runtime.55c74b5c.js +0 -2
- package/dist/client/_nuxt/virtual-files.7fd05201.js +0 -1
- package/dist/client/modules/analyze-build/index.html +0 -42
- package/dist/client/modules/assets/index.html +0 -42
- package/dist/client/modules/components/index.html +0 -42
- package/dist/client/modules/hooks/index.html +0 -42
- package/dist/client/modules/imports/index.html +0 -42
- package/dist/client/modules/modules/index.html +0 -42
- package/dist/client/modules/open-graph/index.html +0 -42
- package/dist/client/modules/overview/index.html +0 -42
- package/dist/client/modules/pages/index.html +0 -42
- package/dist/client/modules/payload/index.html +0 -42
- package/dist/client/modules/plugins/index.html +0 -42
- package/dist/client/modules/runtime-configs/index.html +0 -42
- package/dist/client/modules/server-routes/index.html +0 -42
- package/dist/client/modules/storage/index.html +0 -42
- package/dist/client/modules/terminals/index.html +0 -42
- package/dist/client/modules/timeline/index.html +0 -42
- package/dist/client/modules/virtual-files/index.html +0 -42
- package/dist/client/settings/index.html +0 -42
- package/dist/shared/devtools.ca660ec5.mjs +0 -114
package/dist/client/404.html
CHANGED
|
@@ -2,41 +2,41 @@
|
|
|
2
2
|
<html >
|
|
3
3
|
<head><meta charset="utf-8">
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
-
<link rel="stylesheet" href="/
|
|
6
|
-
<link rel="modulepreload" as="script" crossorigin href="/
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
8
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
10
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
11
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
12
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
13
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
14
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
15
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
16
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
17
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
18
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
19
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
20
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
22
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
23
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
24
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
25
|
-
<link rel="prefetch" as="style" href="/
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
28
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
29
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
30
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
31
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
32
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
33
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
34
|
-
<link rel="prefetch" as="style" href="/
|
|
35
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
36
|
-
<link rel="prefetch" as="style" href="/
|
|
37
|
-
<link rel="prefetch" as="script" crossorigin href="/
|
|
38
|
-
<script type="module" src="/
|
|
5
|
+
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.2732f55b.css">
|
|
6
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.35c58391.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/index.11f08f78.js">
|
|
8
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/onig.0c57a370.js">
|
|
9
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-dark.ff0e7dcb.js">
|
|
10
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-light.c6996724.js">
|
|
11
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/json.709f1c4d.js">
|
|
12
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/yaml.b29e536f.js">
|
|
13
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/css.f61fd02b.js">
|
|
14
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/javascript.b7d6d348.js">
|
|
15
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/typescript.24e7badf.js">
|
|
16
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue.7ad3b25a.js">
|
|
17
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/html.14085b69.js">
|
|
18
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-html.88dda4a8.js">
|
|
19
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/diff.22e0b108.js">
|
|
20
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/shellscript.e25d1410.js">
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default.97700872.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full.72d92407.js">
|
|
23
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none.9d86a5c5.js">
|
|
24
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-docs.100caa70.js">
|
|
25
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.6994516c.css">
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DataSchemaDrawer.b2c7e5f0.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSelect.vue.7cf27fe7.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSwitch.vue.6fd7c26d.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDropdown.vue.ddbb4404.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.vue.4697f7e4.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client.bd4053bc.js">
|
|
32
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDrawer.vue.4b4bd813.js">
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime.eab56c8d.js">
|
|
34
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.82ac0ec5.css">
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.576aef72.js">
|
|
36
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.ff959f66.css">
|
|
37
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.61e43a5a.js">
|
|
38
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.35c58391.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window&&window.localStorage&&window.localStorage.getItem&&window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?d():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:d,addColorScheme:i,removeColorScheme:f};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function f(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function d(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
|
|
39
39
|
</script></head>
|
|
40
40
|
<body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
|
|
41
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/
|
|
41
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
|
|
42
42
|
</html>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{_ as R}from"./NCodeBlock.vue.
|
|
1
|
+
import{_ as R}from"./NCodeBlock.vue.4697f7e4.js";import{d as _,a as F,r as N,an as W,bF as A,o as B,h as J,f as V}from"./entry.35c58391.js";function m(){}m.prototype={diff:function(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=o.callback;typeof o=="function"&&(f=o,o={}),this.options=o;var r=this;function l(c){return f?(setTimeout(function(){f(void 0,c)},0),!0):c}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,s=e.length,u=1,d=i+s;o.maxEditLength&&(d=Math.min(d,o.maxEditLength));var a=[{newPos:-1,components:[]}],p=this.extractCommon(a[0],t,e,0);if(a[0].newPos+1>=i&&p+1>=s)return l([{value:this.join(t),count:t.length}]);function v(){for(var c=-1*u;c<=u;c+=2){var h=void 0,w=a[c-1],C=a[c+1],g=(C?C.newPos:0)-c;w&&(a[c-1]=void 0);var q=w&&w.newPos+1<i,$=C&&0<=g&&g<s;if(!q&&!$){a[c]=void 0;continue}if(!q||$&&w.newPos<C.newPos?(h=Z(C),r.pushComponent(h.components,void 0,!0)):(h=w,h.newPos++,r.pushComponent(h.components,!0,void 0)),g=r.extractCommon(h,t,e,c),h.newPos+1>=i&&g+1>=s)return l(M(r,h.components,t,e,r.useLongestToken));a[c]=h}u++}if(f)(function c(){setTimeout(function(){if(u>d)return f();v()||c()},0)})();else for(;u<=d;){var y=v();if(y)return y}},pushComponent:function(e,t,o){var f=e[e.length-1];f&&f.added===t&&f.removed===o?e[e.length-1]={count:f.count+1,added:t,removed:o}:e.push({count:1,added:t,removed:o})},extractCommon:function(e,t,o,f){for(var r=t.length,l=o.length,i=e.newPos,s=i-f,u=0;i+1<r&&s+1<l&&this.equals(t[i+1],o[s+1]);)i++,s++,u++;return u&&e.components.push({count:u}),e.newPos=i,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],o=0;o<e.length;o++)e[o]&&t.push(e[o]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};function M(n,e,t,o,f){for(var r=0,l=e.length,i=0,s=0;r<l;r++){var u=e[r];if(u.removed){if(u.value=n.join(o.slice(s,s+u.count)),s+=u.count,r&&e[r-1].added){var a=e[r-1];e[r-1]=e[r],e[r]=a}}else{if(!u.added&&f){var d=t.slice(i,i+u.count);d=d.map(function(v,y){var c=o[s+y];return c.length>v.length?c:v}),u.value=n.join(d)}else u.value=n.join(t.slice(i,i+u.count));i+=u.count,u.added||(s+=u.count)}}var p=e[l-1];return l>1&&typeof p.value=="string"&&(p.added||p.removed)&&n.equals("",p.value)&&(e[l-2].value+=p.value,e.pop()),e}function Z(n){return{newPos:n.newPos,components:n.components.slice(0)}}var I=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,T=/\S/,O=new m;O.equals=function(n,e){return this.options.ignoreCase&&(n=n.toLowerCase(),e=e.toLowerCase()),n===e||this.options.ignoreWhitespace&&!T.test(n)&&!T.test(e)};O.tokenize=function(n){for(var e=n.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<e.length-1;t++)!e[t+1]&&e[t+2]&&I.test(e[t])&&I.test(e[t+2])&&(e[t]+=e[t+2],e.splice(t+1,2),t--);return e};var D=new m;D.tokenize=function(n){var e=[],t=n.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var o=0;o<t.length;o++){var f=t[o];o%2&&!this.options.newlineIsToken?e[e.length-1]+=f:(this.options.ignoreWhitespace&&(f=f.trim()),e.push(f))}return e};function k(n,e,t){return D.diff(n,e,t)}var G=new m;G.tokenize=function(n){return n.split(/(\S.+?[.!?])(?=\s+|$)/)};var H=new m;H.tokenize=function(n){return n.split(/([{}:;,]|\s+)/)};function z(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(e){return typeof e}:z=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(n)}var Q=Object.prototype.toString,L=new m;L.useLongestToken=!0;L.tokenize=D.tokenize;L.castInput=function(n){var e=this.options,t=e.undefinedReplacement,o=e.stringifyReplacer,f=o===void 0?function(r,l){return typeof l>"u"?t:l}:o;return typeof n=="string"?n:JSON.stringify(E(n,null,null,f),f," ")};L.equals=function(n,e){return m.prototype.equals.call(L,n.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};function E(n,e,t,o,f){e=e||[],t=t||[],o&&(n=o(f,n));var r;for(r=0;r<e.length;r+=1)if(e[r]===n)return t[r];var l;if(Q.call(n)==="[object Array]"){for(e.push(n),l=new Array(n.length),t.push(l),r=0;r<n.length;r+=1)l[r]=E(n[r],e,t,o,f);return e.pop(),t.pop(),l}if(n&&n.toJSON&&(n=n.toJSON()),z(n)==="object"&&n!==null){e.push(n),l={},t.push(l);var i=[],s;for(s in n)n.hasOwnProperty(s)&&i.push(s);for(i.sort(),r=0;r<i.length;r+=1)s=i[r],l[s]=E(n[s],e,t,o,s);e.pop(),t.pop()}else l=n;return l}var x=new m;x.tokenize=function(n){return n.slice()};x.join=x.removeEmpty=function(n){return n};const Y=_({__name:"CodeDiff",props:{from:{},to:{},lang:{}},setup(n){const e=n;function t(i,s){const u=k(i.trim(),s.trim()),d=[],a=[],p=[];for(const v of u){const y=v.value.trimEnd().split(`
|
|
2
2
|
`);for(const c of y)v.added?(d.push(p.length),p.push(c)):(v.removed&&a.push(p.length),p.push(c))}return{added:d,removed:a,result:p.join(`
|
|
3
|
-
`)}}const o=
|
|
3
|
+
`)}}const o=F(()=>t(e.from,e.to));function f(i){let s=0;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,u=>(s++,o.value.added.includes(s-1)?'class="line line-added"':o.value.removed.includes(s-1)?'class="line line-removed"':u))}const r=N();W(l);function l(){const i=A(r);i&&i.querySelector(".line-added,.line-removed")?.scrollIntoView()}return(i,s)=>{const u=R;return B(),J(u,{ref_key:"elRef",ref:r,code:V(o).result,lang:i.lang,"transform-rendered":f,onLoaded:l},null,8,["code","lang"])}}});export{Y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as I}from"./NMarkdown.vue.
|
|
1
|
+
import{_ as I}from"./NMarkdown.vue.d386a844.js";import{d as V,e as D,ac as U,a as c,ap as $,o as s,h as r,j as i,k as o,p as l,i as j,f as e,v as u,m as _,F as v,t as h,n as E,G as F,_ as S}from"./entry.35c58391.js";import{_ as z}from"./FilepathItem.vue.7a091e26.js";import{C as k}from"./constants.2cc6e981.js";const G={"hover:text-primary":""},L={key:0,"text-primary":""},M={"max-w-100":""},O={px4:"",py3:"","text-sm":""},T={flex:"~ gap2",n:"primary xs"},W={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},q={"text-sm":""},A=o("span",{op50:""},"It has been referenced ",-1),H={"text-primary":""},J=o("span",{op50:""}," times by:",-1),K={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},P={key:1,"text-sm":"",op50:""},Z=V({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(x){const t=x,b=D(),g=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),C=c(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),y=c(()=>{if(t.item.meta?.docsUrl)return t.item.meta.docsUrl;if(["nuxt","#app","nuxt3"].includes(t.item.from))return k.nuxt[t.item.name];if(t.item.from==="vue")return k.vue[t.item.name]});return(a,p)=>{const w=I,f=S,N=z,B=$("VDropdown");return s(),r(B,{disabled:!t.metadata},{popper:i(()=>[o("div",M,[o("div",O,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):l("",!0),o("div",T,[j(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m),"imports-name"))},{default:i(()=>[u(" Copy ")]),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>a.filepath&&e(g)(a.filepath))},{default:i(()=>[u(" Source ")]),_:1})):l("",!0),e(y)?(s(),r(f,{key:1,icon:"carbon-catalog",to:e(y),target:"_blank"},{default:i(()=>[u(" Docs ")]),_:1},8,["to"])):l("",!0)])]),o("div",W,[e(n)?(s(),_(v,{key:0},[o("div",q,[A,o("strong",H,h(e(n)),1),J]),o("div",K,[(s(!0),_(v,null,E(e(C),d=>(s(),r(N,{key:d,filepath:d},null,8,["filepath"]))),128))])],64)):(s(),_("div",P," Not in use via auto import. "))])])]),default:i(()=>[o("button",G,[o("code",{rounded:"","font-mono":"",class:F([a.metadata&&!e(n)?"op30 hover:op100":"",a.classes])},[u(h(e(m))+" ",1),e(n)&&a.counter?(s(),_("sup",L,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Z as _};
|
package/dist/client/_nuxt/{DataSchemaButton.vue.058ff215.js → DataSchemaButton.vue.baec9a00.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,u as s,
|
|
1
|
+
import{d as r,u as s,a2 as c,I as i,o as p,h as _,_ as u}from"./entry.35c58391.js";const f=r({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(l){const t=s();return(n,e)=>{const o=u,a=c("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",border:!1,onClick:e[0]||(e[0]=m=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{f as _};
|