@nuxt/devtools 0.8.3 → 0.8.5
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 +4 -4
- package/dist/chunks/module-main.mjs +65 -21
- package/dist/chunks/vscode.mjs +2 -3
- package/dist/client/200.html +17 -17
- package/dist/client/404.html +17 -17
- package/dist/client/_nuxt/{Badge.efa8b534.js → Badge.15b76164.js} +1 -1
- package/dist/client/_nuxt/{CodeDiff.vue.52d6bbaa.js → CodeDiff.vue.0e58df1f.js} +2 -2
- package/dist/client/_nuxt/ComposableItem.vue.e263b9a9.js +1 -0
- package/dist/client/_nuxt/{DataSchemaButton.vue.dabda5da.js → DataSchemaButton.vue.41ad6158.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.345f79f6.js → DataSchemaDrawer.6de1f238.js} +6 -5
- package/dist/client/_nuxt/{DrawerRight.vue.e75b5510.js → DrawerRight.vue.5bde5a0b.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.73c682ac.js → DurationDisplay.vue.8da73fd3.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.253590ec.js → FilepathItem.vue.7bd675c6.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.b3c1cf3a.js → HelpFab.vue.f082102a.js} +1 -1
- package/dist/client/_nuxt/LaunchPage.vue.f8df9e2a.js +1 -0
- package/dist/client/_nuxt/NCheckbox.vue.fcd1d971.js +1 -0
- package/dist/client/_nuxt/{NCodeBlock.vue.28dd841e.js → NCodeBlock.vue.84865d5b.js} +2 -2
- package/dist/client/_nuxt/{NDropdown.vue.36b68b91.js → NDropdown.vue.d756d40c.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.635c5682.js → NIconTitle.vue.b6d28480.js} +1 -1
- package/dist/client/_nuxt/NLink.vue.e0a3a39a.js +1 -0
- package/dist/client/_nuxt/{NMarkdown.vue.283d6615.js → NMarkdown.vue.d2063d22.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.0d0061ef.css +1 -0
- package/dist/client/_nuxt/NSectionBlock.42a3cefc.js +1 -0
- package/dist/client/_nuxt/{NSelect.vue.60befa30.js → NSelect.vue.e3495019.js} +1 -1
- package/dist/client/_nuxt/{NSelectTabs.vue.1cae281d.js → NSelectTabs.vue.4a83d611.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.eb1bdf97.js → NSwitch.vue.21018268.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.eef318b6.js → NTip.vue.d193bf96.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.d85c454f.js → Navbar.vue.bacddf14.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.83907c9e.js → StateEditor.vue.5fea57d7.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.3961243f.js → analyze-build.7513704d.js} +1 -1
- package/dist/client/_nuxt/{assets.22c374b3.js → assets.35017b46.js} +3 -3
- package/dist/client/_nuxt/{client.766a1bb7.js → client.d926285a.js} +1 -1
- package/dist/client/_nuxt/components.fc36eeef.js +98 -0
- package/dist/client/_nuxt/custom-_name_.50e8c68f.js +1 -0
- package/dist/client/_nuxt/{default.7b425b73.js → default.c4c43b40.js} +1 -1
- package/dist/client/_nuxt/entry.38bf3bdf.css +1 -0
- package/dist/client/_nuxt/entry.54b63325.js +27 -0
- package/dist/client/_nuxt/{error-404.9d0e04bf.js → error-404.087131b3.js} +1 -1
- package/dist/client/_nuxt/{error-500.10115977.js → error-500.d1c41037.js} +1 -1
- package/dist/client/_nuxt/{full.4288bf38.js → full.478da439.js} +1 -1
- package/dist/client/_nuxt/{hooks.1d6c1af1.js → hooks.d9e8fd29.js} +1 -1
- package/dist/client/_nuxt/{imports.39a7562f.js → imports.79d88ab3.js} +1 -1
- package/dist/client/_nuxt/{index.14b447a4.js → index.5e3c6999.js} +1 -1
- package/dist/client/_nuxt/index.86b1fd88.js +1 -0
- package/dist/client/_nuxt/json-editor-vue.ce96762e.js +129 -0
- package/dist/client/_nuxt/{middleware.66f1417a.js → middleware.87876377.js} +1 -1
- package/dist/client/_nuxt/{modules.3b512e2b.js → modules.caf682af.js} +2 -2
- package/dist/client/_nuxt/{none.d43da723.js → none.cfaeed76.js} +1 -1
- package/dist/client/_nuxt/{open-graph.c7507223.js → open-graph.cd0bdf97.js} +2 -2
- package/dist/client/_nuxt/overview.14a73720.js +1 -0
- package/dist/client/_nuxt/pages.746eb038.js +1 -0
- package/dist/client/_nuxt/payload.913d1fd8.js +1 -0
- package/dist/client/_nuxt/{plugins.30d46375.js → plugins.5342d060.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.a32dc753.js → runtime-configs.bf4f2459.js} +1 -1
- package/dist/client/_nuxt/server-routes.8c094c9d.js +9 -0
- package/dist/client/_nuxt/settings.59f50baa.js +1 -0
- package/dist/client/_nuxt/{state-components.7549d0ff.js → state-components.c2201640.js} +1 -1
- package/dist/client/_nuxt/{state-modules.a4af1949.js → state-modules.8816f603.js} +1 -1
- package/dist/client/_nuxt/{storage-options.0b849b9a.js → storage-options.b1a5fc25.js} +1 -1
- package/dist/client/_nuxt/storage.713a7e46.js +1 -0
- package/dist/client/_nuxt/terminals.a1c82952.js +9 -0
- package/dist/client/_nuxt/timeline.9cfa88d9.js +29 -0
- package/dist/client/_nuxt/unocss-runtime.dedd4a37.js +2 -0
- package/dist/client/_nuxt/virtual-files.7dc060d0.js +1 -0
- package/dist/client/index.html +17 -17
- package/dist/client/modules/analyze-build/index.html +17 -17
- package/dist/client/modules/assets/index.html +17 -17
- package/dist/client/modules/components/index.html +17 -17
- package/dist/client/modules/hooks/index.html +17 -17
- package/dist/client/modules/imports/index.html +17 -17
- package/dist/client/modules/middleware/index.html +17 -17
- package/dist/client/modules/modules/index.html +17 -17
- package/dist/client/modules/open-graph/index.html +17 -17
- package/dist/client/modules/overview/index.html +17 -17
- package/dist/client/modules/pages/index.html +17 -17
- package/dist/client/modules/payload/index.html +17 -17
- package/dist/client/modules/plugins/index.html +17 -17
- package/dist/client/modules/runtime-configs/index.html +17 -17
- package/dist/client/modules/server-routes/index.html +17 -17
- package/dist/client/modules/storage/index.html +17 -17
- package/dist/client/modules/terminals/index.html +17 -17
- package/dist/client/modules/timeline/index.html +17 -17
- package/dist/client/modules/virtual-files/index.html +17 -17
- package/dist/client/settings/index.html +17 -17
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/devtools.client.mjs +7 -0
- package/dist/runtime/plugins/view/client.mjs +1 -0
- package/dist/shared/{devtools.6d7e3a3a.mjs → devtools.18eefaee.mjs} +6 -1
- package/package.json +35 -37
- package/dist/client/__blank/index.html +0 -42
- package/dist/client/_nuxt/ComposableItem.vue.1525d3d2.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.45c2e269.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.e6a37232.js +0 -1
- package/dist/client/_nuxt/NLink.vue.19da93af.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.012f83f1.css +0 -1
- package/dist/client/_nuxt/NSectionBlock.e780f891.js +0 -1
- package/dist/client/_nuxt/__blank.fd22bfe8.js +0 -1
- package/dist/client/_nuxt/components.f4ae9003.js +0 -99
- package/dist/client/_nuxt/custom-_name_.4e0a3203.js +0 -1
- package/dist/client/_nuxt/entry.13b4d578.css +0 -1
- package/dist/client/_nuxt/entry.2f74e286.js +0 -27
- package/dist/client/_nuxt/index.94061115.js +0 -1
- package/dist/client/_nuxt/json-editor-vue.87488a70.js +0 -130
- package/dist/client/_nuxt/overview.dae47b2d.js +0 -1
- package/dist/client/_nuxt/pages.0902f86b.js +0 -1
- package/dist/client/_nuxt/payload.7de203b9.js +0 -1
- package/dist/client/_nuxt/server-routes.7e333622.js +0 -9
- package/dist/client/_nuxt/settings.5586d729.js +0 -1
- package/dist/client/_nuxt/storage.6d27a7d0.js +0 -1
- package/dist/client/_nuxt/terminals.2f1b22dc.js +0 -9
- package/dist/client/_nuxt/timeline.849dbd44.js +0 -57
- package/dist/client/_nuxt/unocss-runtime.e58f9c20.js +0 -2
- package/dist/client/_nuxt/virtual-files.d393fac8.js +0 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<a href="https://devtools.
|
|
1
|
+
<a href="https://devtools.nuxt.com"><img width="1200" alt="Nuxt DevTools" src="https://github-production-user-asset-6210df.s3.amazonaws.com/904724/261577617-a10567bd-ad33-48cc-9bda-9e37dbe1929f.png"></a>
|
|
2
2
|
<br>
|
|
3
3
|
<h1>
|
|
4
4
|
Nuxt DevTools <sup>Preview</sup>
|
|
@@ -18,7 +18,7 @@ Unleash Nuxt Developer Experience.
|
|
|
18
18
|
<p>
|
|
19
19
|
<a href="https://github.com/nuxt/devtools/discussions/29">💡 Ideas & Suggestions</a> |
|
|
20
20
|
<a href="https://github.com/nuxt/devtools/discussions/31">🗺️ Project Roadmap</a> |
|
|
21
|
-
<a href="https://devtools.
|
|
21
|
+
<a href="https://devtools.nuxt.com/">📚 Documentation</a>
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
<br>
|
|
@@ -110,11 +110,11 @@ Read the [**Announcement Blog Post 🎊**](https://nuxt.com/blog/introducing-nux
|
|
|
110
110
|
|
|
111
111
|
## Module Authors
|
|
112
112
|
|
|
113
|
-
Please refer to the [Module Authors Guide](https://devtools.
|
|
113
|
+
Please refer to the [Module Authors Guide](https://devtools.nuxt.com/module/guide).
|
|
114
114
|
|
|
115
115
|
## Contribution Guide
|
|
116
116
|
|
|
117
|
-
Please refer to the [Contribution Guide](https://devtools.
|
|
117
|
+
Please refer to the [Contribution Guide](https://devtools.nuxt.com/development/contributing).
|
|
118
118
|
|
|
119
119
|
## License
|
|
120
120
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import fs, { existsSync } from 'node:fs';
|
|
2
|
+
import os, { homedir } from 'node:os';
|
|
2
3
|
import { resolve, join as join$1, dirname } from 'pathe';
|
|
3
4
|
import { logger, useNuxt, addPlugin, addVitePlugin } from '@nuxt/kit';
|
|
4
5
|
import { searchForWorkspaceRoot } from 'vite';
|
|
5
6
|
import sirv from 'sirv';
|
|
6
|
-
import
|
|
7
|
+
import { colors } from 'consola/utils';
|
|
7
8
|
import { createBirpcGroup } from 'birpc';
|
|
8
9
|
import { stringify, parse } from 'flatted';
|
|
9
|
-
import { R as ROUTE_AUTH, d as defaultTabOptions, W as WS_EVENT_NAME, a as ROUTE_ANALYZE, b as ROUTE_CLIENT, c as ROUTE_AUTH_VERIFY } from '../shared/devtools.
|
|
10
|
-
import { homedir } from 'node:os';
|
|
10
|
+
import { R as ROUTE_AUTH, d as defaultTabOptions, W as WS_EVENT_NAME, a as ROUTE_ANALYZE, b as ROUTE_CLIENT, c as ROUTE_AUTH_VERIFY } from '../shared/devtools.18eefaee.mjs';
|
|
11
11
|
import { join } from 'node:path';
|
|
12
12
|
import fsp from 'node:fs/promises';
|
|
13
13
|
import { randomStr } from '@antfu/utils';
|
|
@@ -24,12 +24,11 @@ import 'pkg-types';
|
|
|
24
24
|
import semver from 'semver';
|
|
25
25
|
import { getPackageInfo } from 'local-pkg';
|
|
26
26
|
import { resolveBuiltinPresets } from 'unimport';
|
|
27
|
-
import boxen from 'boxen';
|
|
28
27
|
import Git from 'simple-git';
|
|
29
28
|
import { hash } from 'ohash';
|
|
30
29
|
import { runtimeDir, clientDir, packageDir, isGlobalInstall } from '../dirs.mjs';
|
|
31
30
|
|
|
32
|
-
const version = "0.8.
|
|
31
|
+
const version = "0.8.5";
|
|
33
32
|
|
|
34
33
|
let token;
|
|
35
34
|
async function getDevAuthToken() {
|
|
@@ -600,23 +599,23 @@ function setupGeneralRPC({ nuxt, options, refresh, openInEditorHooks }) {
|
|
|
600
599
|
async requestForAuth(info) {
|
|
601
600
|
const token = await getDevAuthToken();
|
|
602
601
|
const message = [
|
|
603
|
-
`A browser is requesting permissions of ${
|
|
604
|
-
|
|
602
|
+
`A browser is requesting permissions of ${colors.bold(colors.yellow("writing files and running commands"))} from the DevTools UI.`,
|
|
603
|
+
colors.bold(info),
|
|
605
604
|
"",
|
|
606
605
|
"Please open the following URL in the browser:",
|
|
607
|
-
|
|
606
|
+
colors.bold(colors.green(`${nuxt.options.devServer.https ? "https" : "http"}://${nuxt.options.devServer.host === "::" ? "localhost" : nuxt.options.devServer.host || "localhost"}:${nuxt.options.devServer.port}${ROUTE_AUTH}?token=${token}`)),
|
|
608
607
|
"",
|
|
609
608
|
"Or manually copy and paste the following token:",
|
|
610
|
-
|
|
609
|
+
colors.bold(colors.cyan(token))
|
|
611
610
|
];
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
611
|
+
logger.box({
|
|
612
|
+
message: message.join("\n"),
|
|
613
|
+
title: colors.bold(colors.yellow(" Permission Request ")),
|
|
614
|
+
style: {
|
|
615
|
+
borderColor: "yellow",
|
|
616
|
+
borderStyle: "rounded"
|
|
617
|
+
}
|
|
618
|
+
});
|
|
620
619
|
},
|
|
621
620
|
async verifyAuthToken(token) {
|
|
622
621
|
return token === await getDevAuthToken();
|
|
@@ -657,13 +656,13 @@ const wizard = {
|
|
|
657
656
|
enablePages
|
|
658
657
|
};
|
|
659
658
|
|
|
660
|
-
const LOG_PREFIX =
|
|
659
|
+
const LOG_PREFIX = colors.cyan("Nuxt DevTools:");
|
|
661
660
|
|
|
662
661
|
function setupWizardRPC({ nuxt, ensureDevAuthToken }) {
|
|
663
662
|
return {
|
|
664
663
|
async runWizard(token, name, ...args) {
|
|
665
664
|
await ensureDevAuthToken(token);
|
|
666
|
-
logger.info(LOG_PREFIX, `Running wizard ${
|
|
665
|
+
logger.info(LOG_PREFIX, `Running wizard ${colors.green(name)}...`);
|
|
667
666
|
return wizard[name](nuxt, ...args);
|
|
668
667
|
}
|
|
669
668
|
};
|
|
@@ -979,6 +978,49 @@ function setupTimelineRPC({ nuxt }) {
|
|
|
979
978
|
};
|
|
980
979
|
}
|
|
981
980
|
|
|
981
|
+
const SEND_DELAY = 5e3;
|
|
982
|
+
function throttle(fn, delay) {
|
|
983
|
+
let timer;
|
|
984
|
+
return () => {
|
|
985
|
+
if (!timer) {
|
|
986
|
+
timer = setTimeout(() => {
|
|
987
|
+
timer = void 0;
|
|
988
|
+
fn();
|
|
989
|
+
}, delay);
|
|
990
|
+
}
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
function setupTelemetryRPC({ nuxt, options }) {
|
|
994
|
+
let telemetry;
|
|
995
|
+
if (options.telemetry !== false) {
|
|
996
|
+
nuxt.hook("telemetry:setup", (t) => {
|
|
997
|
+
telemetry = t;
|
|
998
|
+
t.eventFactories.devtools = (_, payload) => {
|
|
999
|
+
return {
|
|
1000
|
+
name: "devtools",
|
|
1001
|
+
version,
|
|
1002
|
+
...payload
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
t.createEvent("devtools", { event: "enabled" });
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
const throttledSend = throttle(() => {
|
|
1009
|
+
telemetry?.sendEvents();
|
|
1010
|
+
}, SEND_DELAY);
|
|
1011
|
+
return {
|
|
1012
|
+
telemetryEvent(payload, immediate = false) {
|
|
1013
|
+
if (!telemetry)
|
|
1014
|
+
return;
|
|
1015
|
+
telemetry.createEvent("devtools", payload);
|
|
1016
|
+
if (immediate)
|
|
1017
|
+
telemetry.sendEvents();
|
|
1018
|
+
else
|
|
1019
|
+
throttledSend();
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
|
|
982
1024
|
function setupRPC(nuxt, options) {
|
|
983
1025
|
const serverFunctions = {};
|
|
984
1026
|
const extendedRpcMap = /* @__PURE__ */ new Map();
|
|
@@ -1041,7 +1083,8 @@ function setupRPC(nuxt, options) {
|
|
|
1041
1083
|
...setupServerRoutesRPC(ctx),
|
|
1042
1084
|
...setupAnalyzeBuildRPC(ctx),
|
|
1043
1085
|
...setupOptionsRPC(ctx),
|
|
1044
|
-
...setupTimelineRPC(ctx)
|
|
1086
|
+
...setupTimelineRPC(ctx),
|
|
1087
|
+
...setupTelemetryRPC(ctx)
|
|
1045
1088
|
});
|
|
1046
1089
|
const wsClients = /* @__PURE__ */ new Set();
|
|
1047
1090
|
const vitePlugin = {
|
|
@@ -1195,7 +1238,8 @@ window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
|
|
|
1195
1238
|
packagePath: packageDir,
|
|
1196
1239
|
isGlobalInstall: isGlobalInstall()
|
|
1197
1240
|
});
|
|
1198
|
-
|
|
1241
|
+
const isMac = os.platform() === "darwin";
|
|
1242
|
+
logger.success(`Nuxt DevTools enabled ${colors.dim(`(v${version})`)}, press \`Shift\` + \`${isMac ? "Option" : "Alt"}\` + \`D\` in app to open ${isGlobalInstall() ? colors.dim("[global]") : ""} ${colors.yellow("(experimental)")}`);
|
|
1199
1243
|
}
|
|
1200
1244
|
|
|
1201
1245
|
const moduleMain = {
|
package/dist/chunks/vscode.mjs
CHANGED
|
@@ -12,10 +12,10 @@ import { L as LOG_PREFIX } from './module-main.mjs';
|
|
|
12
12
|
import 'pathe';
|
|
13
13
|
import 'vite';
|
|
14
14
|
import 'sirv';
|
|
15
|
-
import '
|
|
15
|
+
import 'consola/utils';
|
|
16
16
|
import 'birpc';
|
|
17
17
|
import 'flatted';
|
|
18
|
-
import '../shared/devtools.
|
|
18
|
+
import '../shared/devtools.18eefaee.mjs';
|
|
19
19
|
import '../dirs.mjs';
|
|
20
20
|
import 'node:url';
|
|
21
21
|
import 'is-installed-globally';
|
|
@@ -31,7 +31,6 @@ import 'pkg-types';
|
|
|
31
31
|
import 'semver';
|
|
32
32
|
import 'local-pkg';
|
|
33
33
|
import 'unimport';
|
|
34
|
-
import 'boxen';
|
|
35
34
|
import 'simple-git';
|
|
36
35
|
import 'ohash';
|
|
37
36
|
|
package/dist/client/200.html
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.
|
|
5
|
+
<link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.38bf3bdf.css">
|
|
6
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.54b63325.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.5e3c6999.js">
|
|
8
8
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/onig.0c57a370.js">
|
|
9
9
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-dark.ab479e3d.js">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-light.696edcfd.js">
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vue-html.0806679f.js">
|
|
19
19
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/diff.22e0b108.js">
|
|
20
20
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/shellscript.9d056341.js">
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.
|
|
22
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.
|
|
23
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.c4c43b40.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.478da439.js">
|
|
23
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.cfaeed76.js">
|
|
24
24
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js">
|
|
25
25
|
<link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css">
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.
|
|
28
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.
|
|
29
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.
|
|
30
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.
|
|
31
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.
|
|
32
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.
|
|
33
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.6de1f238.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.e3495019.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.21018268.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.d756d40c.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.84865d5b.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.d926285a.js">
|
|
32
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.5bde5a0b.js">
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.dedd4a37.js">
|
|
34
34
|
<link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.82ac0ec5.css">
|
|
35
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.087131b3.js">
|
|
36
36
|
<link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.ff959f66.css">
|
|
37
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.
|
|
38
|
-
<script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
37
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.d1c41037.js">
|
|
38
|
+
<script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.54b63325.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(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 f(){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
41
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
|
package/dist/client/404.html
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.
|
|
5
|
+
<link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.38bf3bdf.css">
|
|
6
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.54b63325.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.5e3c6999.js">
|
|
8
8
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/onig.0c57a370.js">
|
|
9
9
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-dark.ab479e3d.js">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-light.696edcfd.js">
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vue-html.0806679f.js">
|
|
19
19
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/diff.22e0b108.js">
|
|
20
20
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/shellscript.9d056341.js">
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.
|
|
22
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.
|
|
23
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.c4c43b40.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.478da439.js">
|
|
23
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.cfaeed76.js">
|
|
24
24
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js">
|
|
25
25
|
<link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css">
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.
|
|
28
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.
|
|
29
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.
|
|
30
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.
|
|
31
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.
|
|
32
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.
|
|
33
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.6de1f238.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.e3495019.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.21018268.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.d756d40c.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.84865d5b.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.d926285a.js">
|
|
32
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.5bde5a0b.js">
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.dedd4a37.js">
|
|
34
34
|
<link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.82ac0ec5.css">
|
|
35
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.087131b3.js">
|
|
36
36
|
<link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.ff959f66.css">
|
|
37
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.
|
|
38
|
-
<script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
37
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.d1c41037.js">
|
|
38
|
+
<script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.54b63325.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(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 f(){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
41
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as n,o,m as s,
|
|
1
|
+
import{q as n,o,m as s,a6 as t}from"./entry.54b63325.js";const c={},r={class:"mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function a(e,_){return o(),s("span",r,[t(e.$slots,"default")])}const l=n(c,[["render",a]]);export{l as _};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{_ as R}from"./NCodeBlock.vue.
|
|
1
|
+
import{_ as R}from"./NCodeBlock.vue.84865d5b.js";import{d as _,a as N,r as F,aj as W,bv as A,o as B,h as J,f as V}from"./entry.54b63325.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=N(()=>t(e.from,e.to));function f(i){let
|
|
3
|
+
`)}}const o=N(()=>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=F();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 _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as I}from"./NMarkdown.vue.d2063d22.js";import{d as V,e as D,a7 as U,a as c,am as $,o as s,h as r,j as i,k as o,p as l,i as E,f as e,v as u,m as _,F as v,t as h,n as j,G as F,E as S}from"./entry.54b63325.js";import{_ as z}from"./FilepathItem.vue.7bd675c6.js";import{C as k}from"./constants.4e5eba24.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,[E(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m)))},{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,j(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.dabda5da.js → DataSchemaButton.vue.41ad6158.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as c,u as s,
|
|
1
|
+
import{d as c,u as s,aa as r,I as i,o as p,h as _,_ as u}from"./entry.54b63325.js";const h=c({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(m){const t=s();return(n,e)=>{const o=u,a=r("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",onClick:e[0]||(e[0]=l=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{h as _};
|