@nuxt/devtools 1.0.8 → 1.1.1
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 -2
- package/dist/chunks/module-main.mjs +99 -34
- package/dist/chunks/vite-inspect.mjs +1 -1
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/chunks/vue-devtools.mjs +30 -0
- package/dist/client/200.html +35 -35
- package/dist/client/404.html +35 -35
- package/dist/client/_nuxt/2bKi2e5w.js +1 -0
- package/dist/client/_nuxt/8EggbMwu.js +1 -0
- package/dist/client/_nuxt/9xk-6Ftp.js +1 -0
- package/dist/client/_nuxt/A1WiD9SJ.js +1 -0
- package/dist/client/_nuxt/B9hwBRIe.js +1 -0
- package/dist/client/_nuxt/BDWyeyq_.js +30 -0
- package/dist/client/_nuxt/BEjaWloH.js +1 -0
- package/dist/client/_nuxt/BIG-xU8F.js +1 -0
- package/dist/client/_nuxt/BMDCUlkj.js +1 -0
- package/dist/client/_nuxt/BOnTdqFq.js +1 -0
- package/dist/client/_nuxt/BVYSsK7b.js +1 -0
- package/dist/client/_nuxt/BZ4OC5-6.js +1 -0
- package/dist/client/_nuxt/BZ5b_UHE.js +1 -0
- package/dist/client/_nuxt/Ba4DdyWR.js +1 -0
- package/dist/client/_nuxt/Bdtkoq5_.js +1 -0
- package/dist/client/_nuxt/BgkphNq2.js +1 -0
- package/dist/client/_nuxt/{open-graph.ibydGna7.js → BkuzPiAP.js} +2 -2
- package/dist/client/_nuxt/Blr6EMNg.js +16 -0
- package/dist/client/_nuxt/BnqTDRTQ.js +1 -0
- package/dist/client/_nuxt/{components.bafJJWkk.js → Buf8bEqg.js} +1 -1
- package/dist/client/_nuxt/{terminals.WAexfEk0.js → C3QlK_7B.js} +1 -1
- package/dist/client/_nuxt/C54XRc8l.js +2 -0
- package/dist/client/_nuxt/C5gCGmDW.js +200 -0
- package/dist/client/_nuxt/C6khTLBN.js +2 -0
- package/dist/client/_nuxt/{modules.7QVx6VBW.js → C9nlvRuE.js} +2 -2
- package/dist/client/_nuxt/CB59kvvk.js +1 -0
- package/dist/client/_nuxt/CD_YezWg.js +1 -0
- package/dist/client/_nuxt/CMLG2-wm.js +1 -0
- package/dist/client/_nuxt/CXHl10-y.js +1 -0
- package/dist/client/_nuxt/CXNvZAmn.js +1 -0
- package/dist/client/_nuxt/CXiebJPP.js +1 -0
- package/dist/client/_nuxt/CY8m9THH.js +1 -0
- package/dist/client/_nuxt/C_MnmfmV.js +1 -0
- package/dist/client/_nuxt/CbViG2Xw.js +74 -0
- package/dist/client/_nuxt/{css.a-KJtBLB.js → CbYhyuC0.js} +347 -347
- package/dist/client/_nuxt/{vue.c6DnC5ch.js → Cd6DbZRp.js} +1518 -1518
- package/dist/client/_nuxt/ChqQx1p4.js +1 -0
- package/dist/client/_nuxt/CrUxNsPP.js +1 -0
- package/dist/client/_nuxt/{onig.mBJmD8D5.js → CsTmP73Z.js} +1 -1
- package/dist/client/_nuxt/CtILACI6.js +48 -0
- package/dist/client/_nuxt/CtdhE1f3.js +1 -0
- package/dist/client/_nuxt/CupVZNk8.js +25 -0
- package/dist/client/_nuxt/CwIrUz6t.js +9 -0
- package/dist/client/_nuxt/CyGasit_.js +1 -0
- package/dist/client/_nuxt/D4f0f7UU.js +1 -0
- package/dist/client/_nuxt/D89IPr06.js +1 -0
- package/dist/client/_nuxt/DBpZLuBg.js +1 -0
- package/dist/client/_nuxt/{typescript.b1Nw_bQe.js → DC8MraHL.js} +489 -489
- package/dist/client/_nuxt/DDNphti6.js +16 -0
- package/dist/client/_nuxt/DDu9F5dm.js +1 -0
- package/dist/client/_nuxt/DE14FQNr.js +2 -0
- package/dist/client/_nuxt/DEHAvi9d.js +982 -0
- package/dist/client/_nuxt/DN9uS3r9.js +1 -0
- package/dist/client/_nuxt/DRyh6x-M.js +1 -0
- package/dist/client/_nuxt/DW-UQrvA.js +4 -0
- package/dist/client/_nuxt/DZNF9_Ts.js +1 -0
- package/dist/client/_nuxt/D_qxg9CZ.js +1 -0
- package/dist/client/_nuxt/{javascript.Of8SnKfU.js → Dch3xQiY.js} +509 -509
- package/dist/client/_nuxt/DdbkFw3c.js +1 -0
- package/dist/client/_nuxt/DfFJQbG4.js +8 -0
- package/dist/client/_nuxt/DggdVF2v.js +1 -0
- package/dist/client/_nuxt/DnNA5yXt.js +1 -0
- package/dist/client/_nuxt/DnXIYXpO.js +1 -0
- package/dist/client/_nuxt/DwPRkQcZ.js +1 -0
- package/dist/client/_nuxt/Elk39DYk.js +1 -0
- package/dist/client/_nuxt/LysmJLvR.js +1 -0
- package/dist/client/_nuxt/QRQ0ln8W.js +1 -0
- package/dist/client/_nuxt/Z8_3SdCx.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/ca0a12b4-0fff-4e13-ae05-41075030e4de.json +1 -0
- package/dist/client/_nuxt/{error.U9HBYLgA.js → e8Aij11V.js} +1 -1
- package/dist/client/_nuxt/entry.C4Fmc-BV.css +1 -0
- package/dist/client/_nuxt/hRYdrzP_.js +1 -0
- package/dist/client/_nuxt/pinia.uD6MMfzP.css +1 -0
- package/dist/client/_nuxt/tH7Oq52e.js +1 -0
- package/dist/client/_nuxt/ud_P3M-F.js +1 -0
- package/dist/client/_nuxt/vzR1DB7b.js +105 -0
- package/dist/client/_nuxt/z8NVlzAs.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/view/FrameBox.vue +26 -25
- package/dist/runtime/plugins/view/client.mjs +1 -5
- package/dist/runtime/vue-devtools/overlay.d.mts +1 -0
- package/dist/runtime/vue-devtools/overlay.mjs +6 -0
- package/dist/shared/{devtools.fc176ede.mjs → devtools.68e43ed6.mjs} +10 -0
- package/package.json +45 -41
- package/dist/client/_nuxt/CodeDiff.vue.yvGsYwMX.js +0 -3
- package/dist/client/_nuxt/ComposableItem.vue.T22_QMe3.js +0 -1
- package/dist/client/_nuxt/DataSchemaButton.vue.kfghTUAM.js +0 -1
- package/dist/client/_nuxt/DataSchemaDrawer.pFnTVL_R.js +0 -1000
- package/dist/client/_nuxt/DurationDisplay.vue.zHxKl3h_.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.e1n0RyHZ.js +0 -1
- package/dist/client/_nuxt/HelpFab.vue.9P-8iMDH.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.Mrnd5FUf.js +0 -1
- package/dist/client/_nuxt/NBadge.02P0N0hm.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.m1__cenQ.js +0 -1
- package/dist/client/_nuxt/NCodeBlock.vue.D7jhLEjr.js +0 -2
- package/dist/client/_nuxt/NDrawer.vue.biTr62KW.js +0 -1
- package/dist/client/_nuxt/NDropdown.vue.sigVLPdp.js +0 -1
- package/dist/client/_nuxt/NIconTitle.vue.B_Ui7cce.js +0 -1
- package/dist/client/_nuxt/NLink.vue.Bj0qXc3J.js +0 -1
- package/dist/client/_nuxt/NMarkdown.vue.Ej8wmZFm.js +0 -1
- package/dist/client/_nuxt/NNavbar.vue.VnwEajb6.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.vAf-kGVD.js +0 -1
- package/dist/client/_nuxt/NSelect.vue.zI1gfDpy.js +0 -1
- package/dist/client/_nuxt/NSelectTabs.vue.AydEyuDp.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.b9xL28U5.js +0 -1
- package/dist/client/_nuxt/StacktraceList.vue.K3UX7GrW.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.XC13TBO8.js +0 -1
- package/dist/client/_nuxt/__blank.4nEfHodO.js +0 -1
- package/dist/client/_nuxt/analyze-build.PnmanOmc.js +0 -1
- package/dist/client/_nuxt/assets.4NpI16LC.js +0 -16
- package/dist/client/_nuxt/builds/meta/6a0559dc-da71-46a5-8a3c-8d631ecd5320.json +0 -1
- package/dist/client/_nuxt/client.UdRQ7dYn.js +0 -1
- package/dist/client/_nuxt/custom-_name_.i-QCiHcq.js +0 -1
- package/dist/client/_nuxt/default.64CCr6pQ.js +0 -1
- package/dist/client/_nuxt/entry.AC_HBPW1.css +0 -1
- package/dist/client/_nuxt/entry.Li7bMdxw.js +0 -48
- package/dist/client/_nuxt/error-404.uYSk40lm.js +0 -1
- package/dist/client/_nuxt/error-500._o_7fJYd.js +0 -1
- package/dist/client/_nuxt/full.WnKVk-q6.js +0 -1
- package/dist/client/_nuxt/hooks.5KumR8Qp.js +0 -1
- package/dist/client/_nuxt/html.0DSFJ4KV.js +0 -74
- package/dist/client/_nuxt/imports.-jRZwNS0.js +0 -1
- package/dist/client/_nuxt/index.9SQHhWq3.js +0 -16
- package/dist/client/_nuxt/index._ARgFaAV.js +0 -1
- package/dist/client/_nuxt/json-editor-vue.qZEps2wJ.js +0 -105
- package/dist/client/_nuxt/json.t1qiHl76.js +0 -25
- package/dist/client/_nuxt/none.du_ft3bP.js +0 -1
- package/dist/client/_nuxt/overview.Vfo3spsD.js +0 -1
- package/dist/client/_nuxt/pages.OsyANSwf.js +0 -1
- package/dist/client/_nuxt/payload.LvslHyQ-.js +0 -1
- package/dist/client/_nuxt/plugins.-waaP_qB.js +0 -1
- package/dist/client/_nuxt/runtime-configs.6C1y42GJ.js +0 -1
- package/dist/client/_nuxt/server-routes.8nS5VL6V.js +0 -9
- package/dist/client/_nuxt/settings.Aj2LNb0U.js +0 -1
- package/dist/client/_nuxt/shellscript.h1L64xId.js +0 -4
- package/dist/client/_nuxt/state-components.PdQ1tKRe.js +0 -1
- package/dist/client/_nuxt/state-modules.ZsAhN2-A.js +0 -1
- package/dist/client/_nuxt/storage-options.-PhoDnIp.js +0 -1
- package/dist/client/_nuxt/storage.4TsT27Mw.js +0 -1
- package/dist/client/_nuxt/timeline.M76ZIEAr.js +0 -30
- package/dist/client/_nuxt/unocss-runtime.PEXBUXPL.js +0 -2
- package/dist/client/_nuxt/vanilla-picker-NKbIFE8h.vtyeXros.js +0 -8
- package/dist/client/_nuxt/virtual-files.NKByCwiv.js +0 -1
- package/dist/client/_nuxt/vitesse-dark.5VceXvs6.js +0 -1
- package/dist/client/_nuxt/vitesse-light.HOMMxGxw.js +0 -1
- package/dist/client/_nuxt/vue-html.KfgsLQjp.js +0 -1
- package/dist/client/_nuxt/yaml.FtfhlYqU.js +0 -200
- /package/dist/client/_nuxt/{constants.jFgWOlQV.js → BcJws1i5.js} +0 -0
- /package/dist/client/_nuxt/{nuxt-docs.83FO1Cbd.js → D5r6TWiw.js} +0 -0
- /package/dist/client/_nuxt/{diff.-l9-nN5b.js → DvyTQcux.js} +0 -0
- /package/dist/client/_nuxt/{HelpFab.x07F_IqA.css → HelpFab.DHTsX8io.css} +0 -0
- /package/dist/client/_nuxt/{NCodeBlock.XH4dGkTz.css → NCodeBlock.Bcfh0aRP.css} +0 -0
- /package/dist/client/_nuxt/{NSectionBlock.a3MwpCxg.css → NSectionBlock.BrczCkLG.css} +0 -0
- /package/dist/client/_nuxt/{assets.xk970LH3.css → assets.DGT3vQsf.css} +0 -0
- /package/dist/client/_nuxt/{error-404.m36D2jj-.css → error-404.CbfoPaOP.css} +0 -0
- /package/dist/client/_nuxt/{error-500.oAiyMzGs.css → error-500.CgCLIzMa.css} +0 -0
- /package/dist/client/_nuxt/{open-graph.PgUMoob_.css → open-graph.-BQyihv8.css} +0 -0
- /package/dist/client/_nuxt/{terminals.GzwV8rXv.css → terminals.bPBXyte9.css} +0 -0
- /package/dist/client/_nuxt/{timeline.7wyW2pbe.css → timeline.DvDJbalt.css} +0 -0
- /package/dist/client/_nuxt/{virtual-files.lmRDNyeH.css → virtual-files.CWZEM3J4.css} +0 -0
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ export default defineNuxtConfig({
|
|
|
43
43
|
|
|
44
44
|
### Edge Release Channel
|
|
45
45
|
|
|
46
|
-
Similar to [Nuxt's
|
|
46
|
+
Similar to [Nuxt's Nightly Channel](https://nuxt.com/docs/guide/going-further/nightly-release-channel#opting-into-the-edge-channel), DevTools also offers an edge release channel, that automatically releases for every commit to `main` branch.
|
|
47
47
|
|
|
48
48
|
You can opt-in to the edge release channel by running:
|
|
49
49
|
|
|
@@ -116,7 +116,7 @@ On top of the [default Nuxt Telemetry events](https://github.com/nuxt/telemetry#
|
|
|
116
116
|
|
|
117
117
|
[npm-version-src]: https://img.shields.io/npm/v/@nuxt/devtools/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
118
118
|
[npm-version-href]: https://npmjs.com/package/@nuxt/devtools
|
|
119
|
-
[npm-downloads-src]: https://img.shields.io/npm/
|
|
119
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxt/devtools.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
120
120
|
[npm-downloads-href]: https://npmjs.com/package/@nuxt/devtools
|
|
121
121
|
[license-src]: https://img.shields.io/npm/l/@nuxt/devtools.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
122
122
|
[license-href]: https://npmjs.com/package/@nuxt/devtools
|
|
@@ -8,7 +8,7 @@ import sirv from 'sirv';
|
|
|
8
8
|
import { colors } from 'consola/utils';
|
|
9
9
|
import { createBirpcGroup } from 'birpc';
|
|
10
10
|
import { stringify, parse as parse$1 } from 'flatted';
|
|
11
|
-
import { d as defaultAllowedExtensions, a as defaultTabOptions, W as WS_EVENT_NAME } from '../shared/devtools.
|
|
11
|
+
import { d as defaultAllowedExtensions, a as defaultTabOptions, W as WS_EVENT_NAME } from '../shared/devtools.68e43ed6.mjs';
|
|
12
12
|
import { dirname, join as join$1, parse } from 'node:path';
|
|
13
13
|
import { randomStr } from '@antfu/utils';
|
|
14
14
|
import { hash } from 'ohash';
|
|
@@ -30,7 +30,7 @@ import { snakeCase } from 'scule';
|
|
|
30
30
|
import Git from 'simple-git';
|
|
31
31
|
import { runtimeDir, clientDir, packageDir, isGlobalInstall } from '../dirs.mjs';
|
|
32
32
|
|
|
33
|
-
const version = "1.
|
|
33
|
+
const version = "1.1.1";
|
|
34
34
|
|
|
35
35
|
function getHomeDir() {
|
|
36
36
|
return process.env.XDG_CONFIG_HOME || homedir();
|
|
@@ -176,6 +176,7 @@ function setupAssetsRPC({ nuxt, ensureDevAuthToken, refresh, options }) {
|
|
|
176
176
|
let cache = null;
|
|
177
177
|
const extensions = options.assets?.uploadExtensions || defaultAllowedExtensions;
|
|
178
178
|
const publicDir = resolve(nuxt.options.srcDir, nuxt.options.dir.public);
|
|
179
|
+
const layerDirs = [publicDir, ...nuxt.options._layers.map((layer) => resolve(layer.cwd, "public"))];
|
|
179
180
|
const refreshDebounced = debounce(() => {
|
|
180
181
|
cache = null;
|
|
181
182
|
refresh("getStaticAssets");
|
|
@@ -188,36 +189,36 @@ function setupAssetsRPC({ nuxt, ensureDevAuthToken, refresh, options }) {
|
|
|
188
189
|
if (cache)
|
|
189
190
|
return cache;
|
|
190
191
|
const baseURL = nuxt.options.app.baseURL;
|
|
191
|
-
const
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
if (/\.(mp4|webm|ogv|mov|avi|flv|wmv|mpg|mpeg|mkv|3gp|3g2|ts|mts|m2ts|vob|ogm|ogx|rm|rmvb|asf|amv|divx|m4v|svi|viv|f4v|f4p|f4a|f4b)$/i.test(path))
|
|
199
|
-
return "video";
|
|
200
|
-
if (/\.(mp3|wav|ogg|flac|aac|wma|alac|ape|ac3|dts|tta|opus|amr|aiff|au|mid|midi|ra|rm|wv|weba|dss|spx|vox|tak|dsf|dff|dsd|cda)$/i.test(path))
|
|
201
|
-
return "audio";
|
|
202
|
-
if (/\.(woff2?|eot|ttf|otf|ttc|pfa|pfb|pfm|afm)/i.test(path))
|
|
203
|
-
return "font";
|
|
204
|
-
if (/\.(json[5c]?|te?xt|[mc]?[jt]sx?|md[cx]?|markdown)/i.test(path))
|
|
205
|
-
return "text";
|
|
206
|
-
return "other";
|
|
192
|
+
const dirs = [];
|
|
193
|
+
for (const layerDir of layerDirs) {
|
|
194
|
+
const files = await fg(["**/*"], {
|
|
195
|
+
cwd: layerDir,
|
|
196
|
+
onlyFiles: true
|
|
197
|
+
});
|
|
198
|
+
dirs.push({ layerDir, files });
|
|
207
199
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
path
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
200
|
+
const uniquePaths = /* @__PURE__ */ new Set();
|
|
201
|
+
cache = [];
|
|
202
|
+
for (const { layerDir, files } of dirs) {
|
|
203
|
+
for (const path of files) {
|
|
204
|
+
const filePath = resolve(layerDir, path);
|
|
205
|
+
const stat = await fs.lstat(filePath);
|
|
206
|
+
const fullPath = join(baseURL, path);
|
|
207
|
+
if (!uniquePaths.has(fullPath)) {
|
|
208
|
+
cache.push({
|
|
209
|
+
path,
|
|
210
|
+
publicPath: fullPath,
|
|
211
|
+
filePath,
|
|
212
|
+
type: guessType(path),
|
|
213
|
+
size: stat.size,
|
|
214
|
+
mtime: stat.mtimeMs,
|
|
215
|
+
layer: publicDir !== layerDir ? layerDir : void 0
|
|
216
|
+
});
|
|
217
|
+
uniquePaths.add(fullPath);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return cache.sort((a, b) => a.path.localeCompare(b.path));
|
|
221
222
|
}
|
|
222
223
|
return {
|
|
223
224
|
async getStaticAssets() {
|
|
@@ -290,6 +291,19 @@ You can configure it in Nuxt config at \`devtools.assets.uploadExtensions\`.`);
|
|
|
290
291
|
}
|
|
291
292
|
};
|
|
292
293
|
}
|
|
294
|
+
function guessType(path) {
|
|
295
|
+
if (/\.(png|jpe?g|jxl|gif|svg|webp|avif|ico|bmp|tiff?)$/i.test(path))
|
|
296
|
+
return "image";
|
|
297
|
+
if (/\.(mp4|webm|ogv|mov|avi|flv|wmv|mpg|mpeg|mkv|3gp|3g2|ts|mts|m2ts|vob|ogm|ogx|rm|rmvb|asf|amv|divx|m4v|svi|viv|f4v|f4p|f4a|f4b)$/i.test(path))
|
|
298
|
+
return "video";
|
|
299
|
+
if (/\.(mp3|wav|ogg|flac|aac|wma|alac|ape|ac3|dts|tta|opus|amr|aiff|au|mid|midi|ra|rm|wv|weba|dss|spx|vox|tak|dsf|dff|dsd|cda)$/i.test(path))
|
|
300
|
+
return "audio";
|
|
301
|
+
if (/\.(woff2?|eot|ttf|otf|ttc|pfa|pfb|pfm|afm)/i.test(path))
|
|
302
|
+
return "font";
|
|
303
|
+
if (/\.(json[5c]?|te?xt|[mc]?[jt]sx?|md[cx]?|markdown)/i.test(path))
|
|
304
|
+
return "text";
|
|
305
|
+
return "other";
|
|
306
|
+
}
|
|
293
307
|
|
|
294
308
|
async function checkForUpdateOf(name, current, nuxt = useNuxt()) {
|
|
295
309
|
try {
|
|
@@ -738,7 +752,7 @@ function setupGeneralRPC({
|
|
|
738
752
|
const ROUTE_AUTH = `${nuxt.options.app.baseURL || "/"}/__nuxt_devtools__/auth`.replace(/\/+/g, "/");
|
|
739
753
|
const message = [
|
|
740
754
|
`A browser is requesting permissions of ${colors.bold(colors.yellow("writing files and running commands"))} from the DevTools UI.`,
|
|
741
|
-
colors.bold(info),
|
|
755
|
+
colors.bold(info || "Unknown"),
|
|
742
756
|
"",
|
|
743
757
|
"Please open the following URL in the browser:",
|
|
744
758
|
colors.bold(colors.green(`${origin}${ROUTE_AUTH}?token=${token}`)),
|
|
@@ -941,6 +955,51 @@ function setupServerRoutesRPC({ nuxt, refresh }) {
|
|
|
941
955
|
};
|
|
942
956
|
}
|
|
943
957
|
|
|
958
|
+
function setupServerTasksRPC({ nuxt, refresh }) {
|
|
959
|
+
let nitro;
|
|
960
|
+
let cache = null;
|
|
961
|
+
const refreshDebounced = debounce(() => {
|
|
962
|
+
cache = null;
|
|
963
|
+
refresh("getServerTasks");
|
|
964
|
+
}, 500);
|
|
965
|
+
nuxt.hook("nitro:init", (_) => {
|
|
966
|
+
nitro = _;
|
|
967
|
+
cache = null;
|
|
968
|
+
refresh("getServerTasks");
|
|
969
|
+
});
|
|
970
|
+
nuxt.hook("ready", () => {
|
|
971
|
+
nitro?.storage.watch((event, key) => {
|
|
972
|
+
if (key.startsWith("src:tasks:"))
|
|
973
|
+
refreshDebounced();
|
|
974
|
+
});
|
|
975
|
+
});
|
|
976
|
+
function scan() {
|
|
977
|
+
if (cache)
|
|
978
|
+
return cache;
|
|
979
|
+
cache = (() => {
|
|
980
|
+
if (!nitro) {
|
|
981
|
+
return {
|
|
982
|
+
tasks: {},
|
|
983
|
+
scheduledTasks: {}
|
|
984
|
+
};
|
|
985
|
+
}
|
|
986
|
+
return {
|
|
987
|
+
tasks: nitro.options.tasks,
|
|
988
|
+
scheduledTasks: Object.entries(nitro.options.scheduledTasks).reduce((acc, [cron, tasks]) => {
|
|
989
|
+
acc[cron] = Array.isArray(tasks) ? tasks : [tasks];
|
|
990
|
+
return acc;
|
|
991
|
+
}, {})
|
|
992
|
+
};
|
|
993
|
+
})();
|
|
994
|
+
return cache;
|
|
995
|
+
}
|
|
996
|
+
return {
|
|
997
|
+
getServerTasks() {
|
|
998
|
+
return scan();
|
|
999
|
+
}
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
|
|
944
1003
|
function setupAnalyzeBuildRPC({ nuxt, refresh, ensureDevAuthToken }) {
|
|
945
1004
|
let builds = [];
|
|
946
1005
|
let promise;
|
|
@@ -1210,6 +1269,7 @@ function setupRPC(nuxt, options) {
|
|
|
1210
1269
|
...setupWizardRPC(ctx),
|
|
1211
1270
|
...setupTerminalRPC(ctx),
|
|
1212
1271
|
...setupServerRoutesRPC(ctx),
|
|
1272
|
+
...setupServerTasksRPC(ctx),
|
|
1213
1273
|
...setupAnalyzeBuildRPC(ctx),
|
|
1214
1274
|
...setupOptionsRPC(ctx),
|
|
1215
1275
|
...setupTimelineRPC(ctx),
|
|
@@ -1275,8 +1335,10 @@ async function enableModule(options, nuxt) {
|
|
|
1275
1335
|
}
|
|
1276
1336
|
const enabledExplicitly = nuxt.options.devtools === true || nuxt.options.devtools && nuxt.options.devtools.enabled || !!nuxt.options.modules.find((m) => m === "@nuxt/devtools" || m === "@nuxt/devtools-edge");
|
|
1277
1337
|
await nuxt.callHook("devtools:before");
|
|
1278
|
-
if (options.iframeProps)
|
|
1279
|
-
nuxt.options.runtimeConfig.app.
|
|
1338
|
+
if (options.iframeProps) {
|
|
1339
|
+
nuxt.options.runtimeConfig.app.devtools ||= {};
|
|
1340
|
+
nuxt.options.runtimeConfig.app.devtools.iframeProps = options.iframeProps;
|
|
1341
|
+
}
|
|
1280
1342
|
nuxt.options.imports.collectMeta = true;
|
|
1281
1343
|
addPlugin({
|
|
1282
1344
|
src: join(runtimeDir, "plugins/devtools.client"),
|
|
@@ -1303,6 +1365,8 @@ async function enableModule(options, nuxt) {
|
|
|
1303
1365
|
}
|
|
1304
1366
|
});
|
|
1305
1367
|
nuxt.hook("nitro:config", (config) => {
|
|
1368
|
+
if (config.experimental?.tasks)
|
|
1369
|
+
defaultTabOptions.serverTasks.enabled = true;
|
|
1306
1370
|
config.externals = config.externals || {};
|
|
1307
1371
|
config.externals.inline = config.externals.inline || [];
|
|
1308
1372
|
config.externals.inline.push(join(runtimeDir, "nitro"));
|
|
@@ -1395,6 +1459,7 @@ window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
|
|
|
1395
1459
|
});
|
|
1396
1460
|
});
|
|
1397
1461
|
await import('./plugin-metrics.mjs').then(({ setup }) => setup(ctx));
|
|
1462
|
+
await import('./vue-devtools.mjs').then(({ setup }) => setup(ctx));
|
|
1398
1463
|
if (options.viteInspect !== false)
|
|
1399
1464
|
await import('./vite-inspect.mjs').then(({ setup }) => setup(ctx));
|
|
1400
1465
|
if (options.componentInspector !== false)
|
|
@@ -16,7 +16,7 @@ function setup({ nuxt, rpc }) {
|
|
|
16
16
|
category: "advanced",
|
|
17
17
|
view: {
|
|
18
18
|
type: "iframe",
|
|
19
|
-
src: `${nuxt.options.app.baseURL}/
|
|
19
|
+
src: `${nuxt.options.app.baseURL}/${nuxt.options.app.buildAssetsDir}/__inspect/`.replace(/\/\//g, "/")
|
|
20
20
|
}
|
|
21
21
|
}), nuxt);
|
|
22
22
|
async function getComponentsRelationships() {
|
package/dist/chunks/vscode.mjs
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { addVitePlugin } from '@nuxt/kit';
|
|
2
|
+
import { join } from 'pathe';
|
|
3
|
+
import { runtimeDir } from '../dirs.mjs';
|
|
4
|
+
import 'node:path';
|
|
5
|
+
import 'node:url';
|
|
6
|
+
import 'is-installed-globally';
|
|
7
|
+
|
|
8
|
+
function setup({ nuxt }) {
|
|
9
|
+
if (!nuxt.options.dev || nuxt.options.test)
|
|
10
|
+
return;
|
|
11
|
+
addVitePlugin({
|
|
12
|
+
name: "vue:devtools",
|
|
13
|
+
async resolveId(importee) {
|
|
14
|
+
if (importee.startsWith("virtual:vue-devtools-path:")) {
|
|
15
|
+
const resolved = importee.replace("virtual:vue-devtools-path:", join(runtimeDir, "vue-devtools/"));
|
|
16
|
+
return resolved;
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
transform(code, id) {
|
|
20
|
+
const [filename] = id.split("?", 2);
|
|
21
|
+
const appendTo = /\/entry\.m?js$/;
|
|
22
|
+
if (appendTo.test(filename))
|
|
23
|
+
code = `import 'virtual:vue-devtools-path:overlay.mjs';
|
|
24
|
+
${code}`;
|
|
25
|
+
return code;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { setup };
|
package/dist/client/200.html
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
<!DOCTYPE html><html><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.
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
5
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
6
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
8
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
10
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
11
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
12
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
13
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
14
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
15
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
16
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
17
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
18
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
19
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
20
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
22
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
23
|
-
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.
|
|
24
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
25
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
28
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
29
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
30
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
31
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
32
|
-
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.
|
|
33
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
34
|
-
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.
|
|
35
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
36
|
-
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
37
|
-
</script></head><body><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
3
|
+
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.C4Fmc-BV.css">
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CtILACI6.js">
|
|
5
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Blr6EMNg.js">
|
|
6
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DggdVF2v.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/A1WiD9SJ.js">
|
|
8
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CupVZNk8.js">
|
|
9
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C5gCGmDW.js">
|
|
10
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CbYhyuC0.js">
|
|
11
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Dch3xQiY.js">
|
|
12
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DC8MraHL.js">
|
|
13
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Cd6DbZRp.js">
|
|
14
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CbViG2Xw.js">
|
|
15
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DnNA5yXt.js">
|
|
16
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DvyTQcux.js">
|
|
17
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BVYSsK7b.js">
|
|
18
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CsTmP73Z.js">
|
|
19
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CXHl10-y.js">
|
|
20
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DN9uS3r9.js">
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DDu9F5dm.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/D5r6TWiw.js">
|
|
23
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.Bcfh0aRP.css">
|
|
24
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DEHAvi9d.js">
|
|
25
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DBpZLuBg.js">
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/8EggbMwu.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/QRQ0ln8W.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C6khTLBN.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/D_qxg9CZ.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Bdtkoq5_.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C54XRc8l.js">
|
|
32
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.CbfoPaOP.css">
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Ba4DdyWR.js">
|
|
34
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.CgCLIzMa.css">
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BZ5b_UHE.js">
|
|
36
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/CtILACI6.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(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 m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
37
|
+
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
38
38
|
<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></html>
|
package/dist/client/404.html
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
<!DOCTYPE html><html><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.
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
5
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
6
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
8
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
10
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
11
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
12
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
13
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
14
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
15
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
16
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
17
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
18
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
19
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
20
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
22
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
23
|
-
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.
|
|
24
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
25
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
28
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
29
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
30
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
31
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
32
|
-
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.
|
|
33
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
34
|
-
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.
|
|
35
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
36
|
-
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
37
|
-
</script></head><body><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
3
|
+
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.C4Fmc-BV.css">
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CtILACI6.js">
|
|
5
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Blr6EMNg.js">
|
|
6
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DggdVF2v.js">
|
|
7
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/A1WiD9SJ.js">
|
|
8
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CupVZNk8.js">
|
|
9
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C5gCGmDW.js">
|
|
10
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CbYhyuC0.js">
|
|
11
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Dch3xQiY.js">
|
|
12
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DC8MraHL.js">
|
|
13
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Cd6DbZRp.js">
|
|
14
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CbViG2Xw.js">
|
|
15
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DnNA5yXt.js">
|
|
16
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DvyTQcux.js">
|
|
17
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BVYSsK7b.js">
|
|
18
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CsTmP73Z.js">
|
|
19
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CXHl10-y.js">
|
|
20
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DN9uS3r9.js">
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DDu9F5dm.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/D5r6TWiw.js">
|
|
23
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.Bcfh0aRP.css">
|
|
24
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DEHAvi9d.js">
|
|
25
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DBpZLuBg.js">
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/8EggbMwu.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/QRQ0ln8W.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C6khTLBN.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/D_qxg9CZ.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Bdtkoq5_.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C54XRc8l.js">
|
|
32
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.CbfoPaOP.css">
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Ba4DdyWR.js">
|
|
34
|
+
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.CgCLIzMa.css">
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BZ5b_UHE.js">
|
|
36
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/CtILACI6.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(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 m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
37
|
+
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
38
38
|
<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></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o}from"./D_qxg9CZ.js";import{d as t,f as e,o as a,h as r,aw as s,t as d}from"./CtILACI6.js";const i=t({__name:"NMarkdown",props:{markdown:{},tag:{}},setup(m){return(n,l)=>n.markdown&&e(o)?.devtools?.renderMarkdown?(a(),r(s(n.tag||"span"),{key:0,class:"n-markdown",innerHTML:e(o).devtools.renderMarkdown(n.markdown)},null,8,["innerHTML"])):(a(),r(s(n.tag||"span"),{key:1,class:"n-markdown",textContent:d(n.markdown)},null,8,["textContent"]))}});export{i as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as i,a0 as c,o as r,m as u,I as h,c3 as p,f as t,k as l,l as b,ae as m,aa as f}from"./CtILACI6.js";const v=["checked","disabled"],k=["disabled"],w=l("div",{class:"n-switch-slider n-checked:n-switch-slider-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},[l("div",{class:"n-checked:n-switch-thumb-checked n-switch-thumb n-transition"})],-1),V=i({__name:"NSwitch",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(o,{emit:d}){const e=c(o,"modelValue",d,{passive:!0});return(a,s)=>(r(),u("label",{class:"n-switch n-switch-base hover:n-switch-hover n-disabled:n-disabled",checked:t(e)||null,disabled:a.disabled||null},[h(l("input",{"onUpdate:modelValue":s[0]||(s[0]=n=>b(e)?e.value=n:null),type:"checkbox",class:"peer absolute op0",disabled:a.disabled,onKeypress:s[1]||(s[1]=m(n=>e.value=!t(e),["enter"]))},null,40,k),[[p,t(e)]]),w,f(a.$slots,"default")],8,v))}});export{V as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as c,r as m,f as o,m as s,k as d,i as a,j as i,aU as u,F as _,p as n,o as l,aa as k,B as v,_ as g}from"./CtILACI6.js";const h=d("div",{"i-ri:question-mark":""},null,-1),x=[h],w={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},y=c({__name:"HelpFab",setup(B){const e=m(!1),{showHelpButtons:p}=v();return(b,t)=>{const f=g;return o(p)?(l(),s(_,{key:0},[d("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:t[0]||(t[0]=r=>e.value=!o(e))},x),a(u,{name:"fade-in"},{default:i(()=>[o(e)?(l(),s("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:t[1]||(t[1]=r=>e.value=!1)})):n("",!0)]),_:1}),a(u,{name:"slide-in"},{default:i(()=>[o(e)?(l(),s("div",w,[k(b.$slots,"default"),a(f,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{y as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.freeze({colors:{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff",descriptionForeground:"#393a3490","diffEditor.insertedTextBackground":"#1c6b4815","diffEditor.removedTextBackground":"#ab595910","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#00000000","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff",errorForeground:"#ab5959",focusBorder:"#00000000",foreground:"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#ffffff","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},displayName:"Vitesse Light",name:"vitesse-light",semanticHighlighting:!0,semanticTokenColors:{class:"#5a6aa6",interface:"#2e808f",namespace:"#b05a78",property:"#998418",type:"#2e808f"},tokenColors:[{scope:["comment","punctuation.definition.comment","string.comment"],settings:{foreground:"#a0ada0"}},{scope:["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","keyword.operator.type","meta.objectliteral.ts","punctuation"],settings:{foreground:"#999999"}},{scope:["constant","entity.name.constant","variable.language","meta.definition.variable"],settings:{foreground:"#a65e2b"}},{scope:["entity","entity.name"],settings:{foreground:"#59873a"}},{scope:"variable.parameter.function",settings:{foreground:"#393a34"}},{scope:["entity.name.tag","tag.html"],settings:{foreground:"#1e754f"}},{scope:"entity.name.function",settings:{foreground:"#59873a"}},{scope:["keyword","storage.type.class.jsdoc"],settings:{foreground:"#1e754f"}},{scope:["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null"],settings:{foreground:"#ab5959"}},{scope:["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],settings:{foreground:"#393a34"}},{scope:["string","string punctuation.section.embedded source","attribute.value"],settings:{foreground:"#b56959"}},{scope:["punctuation.definition.string","punctuation.support.type.property-name"],settings:{foreground:"#b5695999"}},{scope:"support",settings:{foreground:"#998418"}},{scope:["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],settings:{foreground:"#998418"}},{scope:["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],settings:{foreground:"#b07d48"}},{scope:["variable","identifier"],settings:{foreground:"#b07d48"}},{scope:["support.type.primitive","entity.name.type"],settings:{foreground:"#2e8f82"}},{scope:"namespace",settings:{foreground:"#b05a78"}},{scope:["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],settings:{foreground:"#ab5959"}},{scope:"invalid.broken",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"invalid.deprecated",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"invalid.illegal",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"invalid.unimplemented",settings:{fontStyle:"italic",foreground:"#b31d28"}},{scope:"carriage-return",settings:{background:"#d73a49",content:"^M",fontStyle:"italic underline",foreground:"#fafbfc"}},{scope:"message.error",settings:{foreground:"#b31d28"}},{scope:"string variable",settings:{foreground:"#b56959"}},{scope:["source.regexp","string.regexp"],settings:{foreground:"#ab5e3f"}},{scope:["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],settings:{foreground:"#b56959"}},{scope:"string.regexp constant.character.escape",settings:{foreground:"#bda437"}},{scope:["support.constant"],settings:{foreground:"#a65e2b"}},{scope:["constant.numeric","number"],settings:{foreground:"#2f798a"}},{scope:["keyword.other.unit"],settings:{foreground:"#ab5959"}},{scope:["constant.language.boolean","constant.language"],settings:{foreground:"#1e754f"}},{scope:"meta.module-reference",settings:{foreground:"#1c6b48"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#a65e2b"}},{scope:["markup.heading","markup.heading entity.name"],settings:{fontStyle:"bold",foreground:"#1c6b48"}},{scope:"markup.quote",settings:{foreground:"#2e808f"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#393a34"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#393a34"}},{scope:"markup.raw",settings:{foreground:"#1c6b48"}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{background:"#ffeef0",foreground:"#b31d28"}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{background:"#f0fff4",foreground:"#22863a"}},{scope:["markup.changed","punctuation.definition.changed"],settings:{background:"#ffebda",foreground:"#e36209"}},{scope:["markup.ignored","markup.untracked"],settings:{background:"#005cc5",foreground:"#f6f8fa"}},{scope:"meta.diff.range",settings:{fontStyle:"bold",foreground:"#6f42c1"}},{scope:"meta.diff.header",settings:{foreground:"#005cc5"}},{scope:"meta.separator",settings:{fontStyle:"bold",foreground:"#005cc5"}},{scope:"meta.output",settings:{foreground:"#005cc5"}},{scope:["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],settings:{foreground:"#586069"}},{scope:"brackethighlighter.unmatched",settings:{foreground:"#b31d28"}},{scope:["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],settings:{foreground:"#b56959"}},{scope:["markup.underline.link.markdown","markup.underline.link.image.markdown"],settings:{fontStyle:"underline",foreground:"#393a3490"}},{scope:["type.identifier"],settings:{foreground:"#5a6aa6"}},{scope:["entity.other.attribute-name.html.vue"],settings:{foreground:"#59873a"}},{scope:["invalid.illegal.unrecognized-tag.html"],settings:{fontStyle:"normal"}}],type:"light"});export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as v}from"./ChqQx1p4.js";import{_ as x}from"./DRyh6x-M.js";import{o as r,m as u,k as e,v as m,d as y,av as C,bC as b,a as d,f as i,i as t,j as a,p as k,F as w}from"./CtILACI6.js";import{_ as N}from"./9xk-6Ftp.js";import"./CY8m9THH.js";import"./vzR1DB7b.js";import"./DwPRkQcZ.js";const R={class:"markdown-body"},T=e("h1",null,"Runtime Configs",-1),B=e("p",null,"Nuxt provides a runtime config API to expose configuration within your application and server routes, with the ability to update it at runtime by setting environment variables.",-1),V=e("p",null,[m("In Nuxt DevTools, the editor allows you to edit the runtime config temporarily to see how the changes affect your application. To update them, you might want to update your "),e("code",null,"nuxt.config.js"),m(" file, or check more details in the documentation.")],-1),$=e("p",null,[e("a",{href:"https://nuxt.com/docs/guide/going-further/runtime-config",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),D=[T,B,V,$],F={__name:"runtime-configs",setup(f,{expose:o}){return o({frontmatter:{}}),(p,_)=>(r(),u("div",R,D))}},P={key:0},z=y({__name:"runtime-configs",setup(f){const o=C(),l=b(),p=d(()=>o.value?.nuxt.payload),_=d(()=>{const n={...l.value};return delete n.public,delete n.app,n});return(n,S)=>{const s=v,c=x,g=F,h=N;return r(),u(w,null,[i(o)?(r(),u("div",P,[t(c,{icon:"carbon-settings-services",text:"App Config",padding:!1},{default:a(()=>[t(s,{state:i(o).app.appConfig},null,8,["state"])]),_:1}),t(c,{icon:"carbon-settings",text:"Public Runtime Config",padding:!1},{default:a(()=>[t(s,{state:i(p).config?.public},null,8,["state"])]),_:1}),t(c,{icon:"i-carbon-code-signing-service",text:"Private Runtime Config",open:!1,padding:!1,description:"These values are not exposed to the client. Readonly in the DevTools."},{default:a(()=>[t(s,{state:i(_),readonly:""},null,8,["state"])]),_:1})])):k("",!0),t(h,null,{default:a(()=>[t(g)]),_:1})],64)}}});export{z as default};
|