@nuxt/devtools 0.1.4 → 0.1.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/dist/chunks/module-main.mjs +667 -684
- package/dist/chunks/vscode.mjs +34 -35
- package/dist/cli.mjs +336 -5
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__inspecting/index.html +2 -2
- package/dist/client/_nuxt/Badge.ec9e349b.js +1 -0
- package/dist/client/_nuxt/FilepathItem.vue.29183a21.js +1 -0
- package/dist/client/_nuxt/LaunchPage.vue.f4239533.js +1 -0
- package/dist/client/_nuxt/{welcome.db724adb.css → NButton.db724adb.css} +0 -0
- package/dist/client/_nuxt/NButton.vue.09cc4471.js +113 -0
- package/dist/client/_nuxt/NIcon.vue.701f4547.js +1 -0
- package/dist/client/_nuxt/NTextInput.vue.276e32b3.js +1 -0
- package/dist/client/_nuxt/NuxtLogo.9f2db884.js +1 -0
- package/dist/client/_nuxt/SectionBlock.8ff5d737.js +1 -0
- package/dist/client/_nuxt/Settings.vue.b55fa306.js +1 -0
- package/dist/client/_nuxt/{StateEditor.vue.0d8adb50.js → StateEditor.vue.ab9d7157.js} +1 -1
- package/dist/client/_nuxt/StateEditor.vue.d668b11c.js +1 -0
- package/dist/client/_nuxt/TabIcon.vue.6890c56a.js +1 -0
- package/dist/client/_nuxt/__inspecting.12d34e8c.js +1 -0
- package/dist/client/_nuxt/asyncData.c8345f31.js +1 -0
- package/dist/client/_nuxt/components.08e98322.js +1 -0
- package/dist/client/_nuxt/composables.8c342cc5.js +1 -0
- package/dist/client/_nuxt/context.d25709fd.js +1 -0
- package/dist/client/_nuxt/custom-_name_.89baf527.js +1 -0
- package/dist/client/_nuxt/default.975e4e70.js +1 -0
- package/dist/client/_nuxt/editor.f74d7351.js +1 -0
- package/dist/client/_nuxt/entry.d28dd037.js +5 -0
- package/dist/client/_nuxt/{entry.6e08c3bd.css → entry.e7b3d8fd.css} +1 -1
- package/dist/client/_nuxt/error-404.bdee7391.js +1 -0
- package/dist/client/_nuxt/error-500.c5180cef.js +1 -0
- package/dist/client/_nuxt/error-component.ae83d235.js +3 -0
- package/dist/client/_nuxt/hooks.8f89faa2.js +1 -0
- package/dist/client/_nuxt/imports.f7970750.js +1 -0
- package/dist/client/_nuxt/index.fe0907d3.js +1 -0
- package/dist/client/_nuxt/layouts.d5a3dabe.js +1 -0
- package/dist/client/_nuxt/middleware.5410fce5.js +1 -0
- package/dist/client/_nuxt/modules.6fc7bd71.js +1 -0
- package/dist/client/_nuxt/none.76eeebc3.js +1 -0
- package/dist/client/_nuxt/nuxt-link.3aeeed3f.js +1 -0
- package/dist/client/_nuxt/overview.e7e9880f.js +1 -0
- package/dist/client/_nuxt/pages.40900507.js +1 -0
- package/dist/client/_nuxt/payload.36dbfdde.js +1 -0
- package/dist/client/_nuxt/plugins.8195b406.js +1 -0
- package/dist/client/_nuxt/runtime-configs.7cc77728.js +1 -0
- package/dist/client/_nuxt/server-routes.ffdf17b0.js +1 -0
- package/dist/client/_nuxt/state.a5c5a841.js +1 -0
- package/dist/client/_nuxt/unocss-runtime.1fec3315.js +2 -0
- package/dist/client/_nuxt/{virtual-files.53d6f968.js → virtual-files.a26c8c69.js} +8 -8
- package/dist/client/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/layouts/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +30 -6
- package/dist/shared/{devtools.b5fb0de8.mjs → devtools.28239661.mjs} +1 -1
- package/package.json +29 -28
- package/dist/client/_nuxt/Badge.e080ea4a.js +0 -1
- package/dist/client/_nuxt/ComponentItem.c17d2931.js +0 -1
- package/dist/client/_nuxt/ComponentItem.vue.3441f37f.js +0 -1
- package/dist/client/_nuxt/ComponentsGraph.4d50b4fe.js +0 -1
- package/dist/client/_nuxt/ComponentsGraph.vue.5b3b134e.js +0 -1
- package/dist/client/_nuxt/ComponentsList.ac84bcd1.js +0 -1
- package/dist/client/_nuxt/ComponentsList.vue.c704cf24.js +0 -1
- package/dist/client/_nuxt/ComposableItem.72806cd2.js +0 -1
- package/dist/client/_nuxt/ComposableItem.vue.90cd23bc.js +0 -1
- package/dist/client/_nuxt/ComposableTree.43de28f8.js +0 -1
- package/dist/client/_nuxt/ComposableTree.vue.808503d9.js +0 -1
- package/dist/client/_nuxt/CurrentRoute.e8d5b2cb.js +0 -1
- package/dist/client/_nuxt/Drawer.583a0aa3.js +0 -1
- package/dist/client/_nuxt/Drawer.vue.30b0fc28.js +0 -1
- package/dist/client/_nuxt/DrawerItem.e2effddf.js +0 -1
- package/dist/client/_nuxt/DrawerItem.vue.8cadb3c9.js +0 -1
- package/dist/client/_nuxt/FileIcon.68b82ecb.js +0 -1
- package/dist/client/_nuxt/FileIcon.vue.3bb914bc.js +0 -1
- package/dist/client/_nuxt/FilepathItem.8049add8.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.811409e2.js +0 -1
- package/dist/client/_nuxt/HooksTable.59d897cb.js +0 -1
- package/dist/client/_nuxt/HooksTable.vue.6b9004ef.js +0 -1
- package/dist/client/_nuxt/IconTitle.f576cbf3.js +0 -1
- package/dist/client/_nuxt/IconTitle.vue.dfa8cbcf.js +0 -1
- package/dist/client/_nuxt/IframeView.13e136bd.js +0 -1
- package/dist/client/_nuxt/IframeView.vue.6843a7fa.js +0 -1
- package/dist/client/_nuxt/LaunchPage.e39fe420.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.6be17436.js +0 -1
- package/dist/client/_nuxt/ModuleItem.8c304e21.js +0 -1
- package/dist/client/_nuxt/ModuleItem.vue.2d131549.js +0 -1
- package/dist/client/_nuxt/ModuleTreeNode.78ca9ece.js +0 -1
- package/dist/client/_nuxt/NButton.13233a1a.js +0 -1
- package/dist/client/_nuxt/NButton.vue.e86a98c0.js +0 -1
- package/dist/client/_nuxt/NCard.7a4e503f.js +0 -1
- package/dist/client/_nuxt/NCheckbox.2da82abb.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.f058658a.js +0 -1
- package/dist/client/_nuxt/NDarkToggle.b7397b85.js +0 -1
- package/dist/client/_nuxt/NDarkToggle.vue.104b9df7.js +0 -1
- package/dist/client/_nuxt/NDialog.ff796c22.js +0 -7
- package/dist/client/_nuxt/NDropdown.6e99be47.js +0 -1
- package/dist/client/_nuxt/NIcon.62a6a6a2.js +0 -1
- package/dist/client/_nuxt/NIcon.vue.5c5f9ae0.js +0 -1
- package/dist/client/_nuxt/NLink.f8b21877.js +0 -1
- package/dist/client/_nuxt/NLink.vue.0f719ab9.js +0 -1
- package/dist/client/_nuxt/NRadio.8c217808.js +0 -1
- package/dist/client/_nuxt/NSwitch.ea9c119a.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.a7a200ce.js +0 -1
- package/dist/client/_nuxt/NTextInput.48fb0a25.js +0 -1
- package/dist/client/_nuxt/NTextInput.vue.5d4d2524.js +0 -1
- package/dist/client/_nuxt/NTip.d9c4666f.js +0 -1
- package/dist/client/_nuxt/Notification.287365de.js +0 -1
- package/dist/client/_nuxt/Notification.vue.dd7d98d5.js +0 -1
- package/dist/client/_nuxt/NuxtContentLogo.447522e5.js +0 -1
- package/dist/client/_nuxt/NuxtExampleLayout.06f6d250.js +0 -1
- package/dist/client/_nuxt/NuxtLogo.b27dc990.js +0 -1
- package/dist/client/_nuxt/PluginItem.6a55c130.js +0 -1
- package/dist/client/_nuxt/PluginItem.vue.6e1d1965.js +0 -1
- package/dist/client/_nuxt/RoutePathItem.b209a7cb.js +0 -1
- package/dist/client/_nuxt/RoutePathItem.vue.90d1f11a.js +0 -1
- package/dist/client/_nuxt/RoutesTable.ffa3adf9.js +0 -1
- package/dist/client/_nuxt/RoutesTable.vue.1bbafbda.js +0 -1
- package/dist/client/_nuxt/SectionBlock.2e26af4b.js +0 -1
- package/dist/client/_nuxt/Settings.a15dbb2e.js +0 -1
- package/dist/client/_nuxt/Settings.vue.f2a6e99c.js +0 -1
- package/dist/client/_nuxt/StateEditor.fd549a9f.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.ead0fa52.js +0 -1
- package/dist/client/_nuxt/StateGroup.bcb980bd.js +0 -1
- package/dist/client/_nuxt/StateGroup.vue.c133a773.js +0 -1
- package/dist/client/_nuxt/TabIcon.e55b5a67.js +0 -1
- package/dist/client/_nuxt/TabIcon.vue.adac3b56.js +0 -1
- package/dist/client/_nuxt/UnoIcon.3132b92a.js +0 -1
- package/dist/client/_nuxt/__inspecting.a43a7f80.js +0 -1
- package/dist/client/_nuxt/app.config.12fdda03.js +0 -1
- package/dist/client/_nuxt/asyncData.518fdb22.js +0 -1
- package/dist/client/_nuxt/client-only.f9d053f8.js +0 -4
- package/dist/client/_nuxt/client.210463dc.js +0 -1
- package/dist/client/_nuxt/color-mode-options.00c15dd1.js +0 -1
- package/dist/client/_nuxt/component.vue3.02eb71f6.js +0 -1
- package/dist/client/_nuxt/components.4f55e0db.js +0 -1
- package/dist/client/_nuxt/components.84a4af12.js +0 -1
- package/dist/client/_nuxt/components.client.e93eaead.js +0 -113
- package/dist/client/_nuxt/composables.2b96933d.js +0 -1
- package/dist/client/_nuxt/composables.59ebbb45.js +0 -1
- package/dist/client/_nuxt/context.c20dc632.js +0 -1
- package/dist/client/_nuxt/custom-_name_.2cdb4455.js +0 -1
- package/dist/client/_nuxt/default.585c2af8.js +0 -1
- package/dist/client/_nuxt/defu.5a7c1433.js +0 -1
- package/dist/client/_nuxt/dev-only.32de73cb.js +0 -1
- package/dist/client/_nuxt/editor.45ea8ca4.js +0 -1
- package/dist/client/_nuxt/entry.72ee2736.js +0 -1
- package/dist/client/_nuxt/error-404.bf8933d3.js +0 -1
- package/dist/client/_nuxt/error-500.fe852534.js +0 -1
- package/dist/client/_nuxt/error-component.0aa3c1f1.js +0 -3
- package/dist/client/_nuxt/error.ab352ad9.js +0 -1
- package/dist/client/_nuxt/hooks.da36eba4.js +0 -1
- package/dist/client/_nuxt/imports.05a63875.js +0 -1
- package/dist/client/_nuxt/index.bf1af76f.js +0 -1
- package/dist/client/_nuxt/index.d56af0a0.js +0 -1
- package/dist/client/_nuxt/index.e1377d3f.js +0 -1
- package/dist/client/_nuxt/index.e7819c37.js +0 -1
- package/dist/client/_nuxt/layout.f6e6e706.js +0 -1
- package/dist/client/_nuxt/layouts.ed44bf26.js +0 -1
- package/dist/client/_nuxt/middleware.42780100.js +0 -1
- package/dist/client/_nuxt/modules.58ec9d96.js +0 -1
- package/dist/client/_nuxt/none.a36fcb53.js +0 -1
- package/dist/client/_nuxt/nuxt-error-boundary.70c75848.js +0 -1
- package/dist/client/_nuxt/nuxt-link.ed65b9da.js +0 -1
- package/dist/client/_nuxt/nuxt-loading-indicator.366d3e52.js +0 -1
- package/dist/client/_nuxt/nuxt.21217109.js +0 -1
- package/dist/client/_nuxt/overview.c0a9db52.js +0 -1
- package/dist/client/_nuxt/page.fb94fd70.js +0 -1
- package/dist/client/_nuxt/pages.ca7b2f77.js +0 -1
- package/dist/client/_nuxt/payload.78a6e729.js +0 -1
- package/dist/client/_nuxt/plugins.48c9acc3.js +0 -1
- package/dist/client/_nuxt/router.96f0ba10.js +0 -1
- package/dist/client/_nuxt/rpc.2e6b297d.js +0 -1
- package/dist/client/_nuxt/runtime-configs.1c27e6f2.js +0 -1
- package/dist/client/_nuxt/runtime-core.esm-bundler.ad888d46.js +0 -1
- package/dist/client/_nuxt/runtime-dom.esm-bundler.c94e30c4.js +0 -1
- package/dist/client/_nuxt/server-placeholder.ba9b9f8a.js +0 -1
- package/dist/client/_nuxt/server-routes.de3e707e.js +0 -1
- package/dist/client/_nuxt/state.2c41a47c.js +0 -1
- package/dist/client/_nuxt/state.85e68c45.js +0 -1
- package/dist/client/_nuxt/storage.abd6f5f8.js +0 -1
- package/dist/client/_nuxt/unocss-runtime.1d429fd2.js +0 -2
- package/dist/client/_nuxt/utils.1c789938.js +0 -1
- package/dist/client/_nuxt/utils.8ee5a573.js +0 -5
- package/dist/client/_nuxt/welcome.11fc1574.js +0 -1
- package/dist/shared/devtools.38b2468f.mjs +0 -337
- package/dist/shared/devtools.cce722d0.mjs +0 -68
package/dist/chunks/vscode.mjs
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import require$$1$
|
|
1
|
+
import require$$1$2, { hostname } from 'os';
|
|
2
2
|
import { logger } from '@nuxt/kit';
|
|
3
3
|
import { execa } from 'execa';
|
|
4
4
|
import { createServer } from 'node:net';
|
|
5
5
|
import { networkInterfaces } from 'node:os';
|
|
6
6
|
import fs__default from 'fs';
|
|
7
|
-
import require$$
|
|
8
|
-
import require$$1 from 'util';
|
|
9
|
-
import require$$0
|
|
7
|
+
import require$$1 from 'path';
|
|
8
|
+
import require$$1$1 from 'util';
|
|
9
|
+
import require$$0 from 'url';
|
|
10
10
|
import require$$2$1 from 'https';
|
|
11
11
|
import require$$3 from 'net';
|
|
12
|
-
import require$$1$
|
|
13
|
-
import require$$0$
|
|
12
|
+
import require$$1$3 from 'http';
|
|
13
|
+
import require$$0$2 from 'stream';
|
|
14
14
|
import require$$4 from 'assert';
|
|
15
|
-
import require$$0$
|
|
16
|
-
import require$$0$
|
|
15
|
+
import require$$0$1 from 'tty';
|
|
16
|
+
import require$$0$3 from 'zlib';
|
|
17
17
|
import { L as LOG_PREFIX } from './module-main.mjs';
|
|
18
18
|
import 'buffer';
|
|
19
19
|
import 'tls';
|
|
20
20
|
import 'crypto';
|
|
21
21
|
import 'events';
|
|
22
22
|
import 'querystring';
|
|
23
|
-
import '
|
|
24
|
-
import '../shared/devtools.
|
|
25
|
-
import '../shared/devtools.b5fb0de8.mjs';
|
|
23
|
+
import 'is-installed-globally';
|
|
24
|
+
import '../shared/devtools.28239661.mjs';
|
|
26
25
|
import 'birpc';
|
|
27
26
|
import 'unimport';
|
|
28
27
|
import 'pathe';
|
|
@@ -462,7 +461,7 @@ function sync (path, options) {
|
|
|
462
461
|
}
|
|
463
462
|
|
|
464
463
|
const isexe = isexe_1;
|
|
465
|
-
const { join, delimiter, sep, posix } = require$$
|
|
464
|
+
const { join, delimiter, sep, posix } = require$$1;
|
|
466
465
|
|
|
467
466
|
const isWindows = process.platform === 'win32';
|
|
468
467
|
|
|
@@ -11947,7 +11946,7 @@ var errors = {};
|
|
|
11947
11946
|
|
|
11948
11947
|
(function (exports) {
|
|
11949
11948
|
|
|
11950
|
-
const Url = require$$0
|
|
11949
|
+
const Url = require$$0;
|
|
11951
11950
|
|
|
11952
11951
|
const Errors = errors;
|
|
11953
11952
|
|
|
@@ -12072,7 +12071,7 @@ var errors = {};
|
|
|
12072
12071
|
|
|
12073
12072
|
var email = {};
|
|
12074
12073
|
|
|
12075
|
-
const Util = require$$1;
|
|
12074
|
+
const Util = require$$1$1;
|
|
12076
12075
|
|
|
12077
12076
|
const Domain = domain;
|
|
12078
12077
|
const Errors = errors;
|
|
@@ -17463,7 +17462,7 @@ var hasRequiredSupportsColor;
|
|
|
17463
17462
|
function requireSupportsColor () {
|
|
17464
17463
|
if (hasRequiredSupportsColor) return supportsColor_1;
|
|
17465
17464
|
hasRequiredSupportsColor = 1;
|
|
17466
|
-
const os = require$$1$
|
|
17465
|
+
const os = require$$1$2;
|
|
17467
17466
|
const hasFlag = requireHasFlag();
|
|
17468
17467
|
|
|
17469
17468
|
const env = process.env;
|
|
@@ -17606,8 +17605,8 @@ function requireNode () {
|
|
|
17606
17605
|
if (hasRequiredNode) return nodeExports;
|
|
17607
17606
|
hasRequiredNode = 1;
|
|
17608
17607
|
(function (module, exports) {
|
|
17609
|
-
const tty = require$$0$
|
|
17610
|
-
const util = require$$1;
|
|
17608
|
+
const tty = require$$0$1;
|
|
17609
|
+
const util = require$$1$1;
|
|
17611
17610
|
|
|
17612
17611
|
/**
|
|
17613
17612
|
* This is the Node.js implementation of `debug()`.
|
|
@@ -17905,11 +17904,11 @@ var debug_1 = function () {
|
|
|
17905
17904
|
debug$1.apply(null, arguments);
|
|
17906
17905
|
};
|
|
17907
17906
|
|
|
17908
|
-
var url$1 = require$$0
|
|
17907
|
+
var url$1 = require$$0;
|
|
17909
17908
|
var URL$1 = url$1.URL;
|
|
17910
|
-
var http$1 = require$$1$
|
|
17909
|
+
var http$1 = require$$1$3;
|
|
17911
17910
|
var https$2 = require$$2$1;
|
|
17912
|
-
var Writable = require$$0$
|
|
17911
|
+
var Writable = require$$0$2.Writable;
|
|
17913
17912
|
var assert = require$$4;
|
|
17914
17913
|
var debug = debug_1;
|
|
17915
17914
|
|
|
@@ -18535,12 +18534,12 @@ var utils$6 = utils$c;
|
|
|
18535
18534
|
var settle = settle$1;
|
|
18536
18535
|
var buildFullPath$1 = buildFullPath$2;
|
|
18537
18536
|
var buildURL$1 = buildURL$2;
|
|
18538
|
-
var http = require$$1$
|
|
18537
|
+
var http = require$$1$3;
|
|
18539
18538
|
var https$1 = require$$2$1;
|
|
18540
18539
|
var httpFollow = followRedirectsExports.http;
|
|
18541
18540
|
var httpsFollow = followRedirectsExports.https;
|
|
18542
|
-
var url = require$$0
|
|
18543
|
-
var zlib = require$$0$
|
|
18541
|
+
var url = require$$0;
|
|
18542
|
+
var zlib = require$$0$3;
|
|
18544
18543
|
var VERSION$1 = data.version;
|
|
18545
18544
|
var transitionalDefaults$1 = transitional;
|
|
18546
18545
|
var AxiosError$2 = AxiosError_1;
|
|
@@ -18964,8 +18963,8 @@ var hasRequiredDelayed_stream;
|
|
|
18964
18963
|
function requireDelayed_stream () {
|
|
18965
18964
|
if (hasRequiredDelayed_stream) return delayed_stream;
|
|
18966
18965
|
hasRequiredDelayed_stream = 1;
|
|
18967
|
-
var Stream = require$$0$
|
|
18968
|
-
var util = require$$1;
|
|
18966
|
+
var Stream = require$$0$2.Stream;
|
|
18967
|
+
var util = require$$1$1;
|
|
18969
18968
|
|
|
18970
18969
|
delayed_stream = DelayedStream;
|
|
18971
18970
|
function DelayedStream() {
|
|
@@ -19080,8 +19079,8 @@ var hasRequiredCombined_stream;
|
|
|
19080
19079
|
function requireCombined_stream () {
|
|
19081
19080
|
if (hasRequiredCombined_stream) return combined_stream;
|
|
19082
19081
|
hasRequiredCombined_stream = 1;
|
|
19083
|
-
var util = require$$1;
|
|
19084
|
-
var Stream = require$$0$
|
|
19082
|
+
var util = require$$1$1;
|
|
19083
|
+
var Stream = require$$0$2.Stream;
|
|
19085
19084
|
var DelayedStream = requireDelayed_stream();
|
|
19086
19085
|
|
|
19087
19086
|
combined_stream = CombinedStream;
|
|
@@ -30052,7 +30051,7 @@ function requireMimeTypes () {
|
|
|
30052
30051
|
*/
|
|
30053
30052
|
|
|
30054
30053
|
var db = requireMimeDb();
|
|
30055
|
-
var extname = require$$
|
|
30054
|
+
var extname = require$$1.extname;
|
|
30056
30055
|
|
|
30057
30056
|
/**
|
|
30058
30057
|
* Module variables.
|
|
@@ -30721,13 +30720,13 @@ function requireForm_data () {
|
|
|
30721
30720
|
if (hasRequiredForm_data) return form_data;
|
|
30722
30721
|
hasRequiredForm_data = 1;
|
|
30723
30722
|
var CombinedStream = requireCombined_stream();
|
|
30724
|
-
var util = require$$1;
|
|
30725
|
-
var path = require$$
|
|
30726
|
-
var http = require$$1$
|
|
30723
|
+
var util = require$$1$1;
|
|
30724
|
+
var path = require$$1;
|
|
30725
|
+
var http = require$$1$3;
|
|
30727
30726
|
var https = require$$2$1;
|
|
30728
|
-
var parseUrl = require$$0
|
|
30727
|
+
var parseUrl = require$$0.parse;
|
|
30729
30728
|
var fs = fs__default;
|
|
30730
|
-
var Stream = require$$0$
|
|
30729
|
+
var Stream = require$$0$2.Stream;
|
|
30731
30730
|
var mime = requireMimeTypes();
|
|
30732
30731
|
var asynckit = requireAsynckit();
|
|
30733
30732
|
var populate = requirePopulate();
|
|
@@ -41164,11 +41163,11 @@ race$1.race = race;
|
|
|
41164
41163
|
} (operators));
|
|
41165
41164
|
|
|
41166
41165
|
const fs = fs__default;
|
|
41167
|
-
const { promisify } = require$$1;
|
|
41166
|
+
const { promisify } = require$$1$1;
|
|
41168
41167
|
const Joi = requireLib();
|
|
41169
41168
|
const https = require$$2$1;
|
|
41170
41169
|
const net = require$$3;
|
|
41171
|
-
const util = require$$1;
|
|
41170
|
+
const util = require$$1$1;
|
|
41172
41171
|
const axiosPkg = axiosExports$1.default;
|
|
41173
41172
|
const axiosHttpAdapter = http_1;
|
|
41174
41173
|
const { isBoolean, isEmpty, negate, noop, once, partial, pick, zip } = fp;
|
package/dist/cli.mjs
CHANGED
|
@@ -1,12 +1,343 @@
|
|
|
1
1
|
import fs__default from 'fs';
|
|
2
|
-
import require$$1 from 'os';
|
|
2
|
+
import require$$1$1 from 'os';
|
|
3
3
|
import consola from 'consola';
|
|
4
4
|
import { execa } from 'execa';
|
|
5
5
|
import { readUser, writeUser } from 'rc9';
|
|
6
|
-
import
|
|
6
|
+
import require$$1 from 'path';
|
|
7
7
|
import { resolve } from 'pathe';
|
|
8
|
-
import { n as name } from './shared/devtools.
|
|
9
|
-
|
|
8
|
+
import { n as name } from './shared/devtools.28239661.mjs';
|
|
9
|
+
|
|
10
|
+
var globalDirs = {};
|
|
11
|
+
|
|
12
|
+
const { hasOwnProperty } = Object.prototype;
|
|
13
|
+
|
|
14
|
+
const eol = typeof process !== 'undefined' &&
|
|
15
|
+
process.platform === 'win32' ? '\r\n' : '\n';
|
|
16
|
+
|
|
17
|
+
const encode = (obj, opt) => {
|
|
18
|
+
const children = [];
|
|
19
|
+
let out = '';
|
|
20
|
+
|
|
21
|
+
if (typeof opt === 'string') {
|
|
22
|
+
opt = {
|
|
23
|
+
section: opt,
|
|
24
|
+
whitespace: false,
|
|
25
|
+
};
|
|
26
|
+
} else {
|
|
27
|
+
opt = opt || Object.create(null);
|
|
28
|
+
opt.whitespace = opt.whitespace === true;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const separator = opt.whitespace ? ' = ' : '=';
|
|
32
|
+
|
|
33
|
+
for (const k of Object.keys(obj)) {
|
|
34
|
+
const val = obj[k];
|
|
35
|
+
if (val && Array.isArray(val)) {
|
|
36
|
+
for (const item of val)
|
|
37
|
+
out += safe(k + '[]') + separator + safe(item) + '\n';
|
|
38
|
+
} else if (val && typeof val === 'object')
|
|
39
|
+
children.push(k);
|
|
40
|
+
else
|
|
41
|
+
out += safe(k) + separator + safe(val) + eol;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (opt.section && out.length)
|
|
45
|
+
out = '[' + safe(opt.section) + ']' + eol + out;
|
|
46
|
+
|
|
47
|
+
for (const k of children) {
|
|
48
|
+
const nk = dotSplit(k).join('\\.');
|
|
49
|
+
const section = (opt.section ? opt.section + '.' : '') + nk;
|
|
50
|
+
const { whitespace } = opt;
|
|
51
|
+
const child = encode(obj[k], {
|
|
52
|
+
section,
|
|
53
|
+
whitespace,
|
|
54
|
+
});
|
|
55
|
+
if (out.length && child.length)
|
|
56
|
+
out += eol;
|
|
57
|
+
|
|
58
|
+
out += child;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return out
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const dotSplit = str =>
|
|
65
|
+
str.replace(/\1/g, '\u0002LITERAL\\1LITERAL\u0002')
|
|
66
|
+
.replace(/\\\./g, '\u0001')
|
|
67
|
+
.split(/\./)
|
|
68
|
+
.map(part =>
|
|
69
|
+
part.replace(/\1/g, '\\.')
|
|
70
|
+
.replace(/\2LITERAL\\1LITERAL\2/g, '\u0001'));
|
|
71
|
+
|
|
72
|
+
const decode = str => {
|
|
73
|
+
const out = Object.create(null);
|
|
74
|
+
let p = out;
|
|
75
|
+
let section = null;
|
|
76
|
+
// section |key = value
|
|
77
|
+
const re = /^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;
|
|
78
|
+
const lines = str.split(/[\r\n]+/g);
|
|
79
|
+
|
|
80
|
+
for (const line of lines) {
|
|
81
|
+
if (!line || line.match(/^\s*[;#]/))
|
|
82
|
+
continue
|
|
83
|
+
const match = line.match(re);
|
|
84
|
+
if (!match)
|
|
85
|
+
continue
|
|
86
|
+
if (match[1] !== undefined) {
|
|
87
|
+
section = unsafe(match[1]);
|
|
88
|
+
if (section === '__proto__') {
|
|
89
|
+
// not allowed
|
|
90
|
+
// keep parsing the section, but don't attach it.
|
|
91
|
+
p = Object.create(null);
|
|
92
|
+
continue
|
|
93
|
+
}
|
|
94
|
+
p = out[section] = out[section] || Object.create(null);
|
|
95
|
+
continue
|
|
96
|
+
}
|
|
97
|
+
const keyRaw = unsafe(match[2]);
|
|
98
|
+
const isArray = keyRaw.length > 2 && keyRaw.slice(-2) === '[]';
|
|
99
|
+
const key = isArray ? keyRaw.slice(0, -2) : keyRaw;
|
|
100
|
+
if (key === '__proto__')
|
|
101
|
+
continue
|
|
102
|
+
const valueRaw = match[3] ? unsafe(match[4]) : true;
|
|
103
|
+
const value = valueRaw === 'true' ||
|
|
104
|
+
valueRaw === 'false' ||
|
|
105
|
+
valueRaw === 'null' ? JSON.parse(valueRaw)
|
|
106
|
+
: valueRaw;
|
|
107
|
+
|
|
108
|
+
// Convert keys with '[]' suffix to an array
|
|
109
|
+
if (isArray) {
|
|
110
|
+
if (!hasOwnProperty.call(p, key))
|
|
111
|
+
p[key] = [];
|
|
112
|
+
else if (!Array.isArray(p[key]))
|
|
113
|
+
p[key] = [p[key]];
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// safeguard against resetting a previously defined
|
|
117
|
+
// array by accidentally forgetting the brackets
|
|
118
|
+
if (Array.isArray(p[key]))
|
|
119
|
+
p[key].push(value);
|
|
120
|
+
else
|
|
121
|
+
p[key] = value;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// {a:{y:1},"a.b":{x:2}} --> {a:{y:1,b:{x:2}}}
|
|
125
|
+
// use a filter to return the keys that have to be deleted.
|
|
126
|
+
const remove = [];
|
|
127
|
+
for (const k of Object.keys(out)) {
|
|
128
|
+
if (!hasOwnProperty.call(out, k) ||
|
|
129
|
+
typeof out[k] !== 'object' ||
|
|
130
|
+
Array.isArray(out[k]))
|
|
131
|
+
continue
|
|
132
|
+
|
|
133
|
+
// see if the parent section is also an object.
|
|
134
|
+
// if so, add it to that, and mark this one for deletion
|
|
135
|
+
const parts = dotSplit(k);
|
|
136
|
+
let p = out;
|
|
137
|
+
const l = parts.pop();
|
|
138
|
+
const nl = l.replace(/\\\./g, '.');
|
|
139
|
+
for (const part of parts) {
|
|
140
|
+
if (part === '__proto__')
|
|
141
|
+
continue
|
|
142
|
+
if (!hasOwnProperty.call(p, part) || typeof p[part] !== 'object')
|
|
143
|
+
p[part] = Object.create(null);
|
|
144
|
+
p = p[part];
|
|
145
|
+
}
|
|
146
|
+
if (p === out && nl === l)
|
|
147
|
+
continue
|
|
148
|
+
|
|
149
|
+
p[nl] = out[k];
|
|
150
|
+
remove.push(k);
|
|
151
|
+
}
|
|
152
|
+
for (const del of remove)
|
|
153
|
+
delete out[del];
|
|
154
|
+
|
|
155
|
+
return out
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
const isQuoted = val =>
|
|
159
|
+
(val.charAt(0) === '"' && val.slice(-1) === '"') ||
|
|
160
|
+
(val.charAt(0) === "'" && val.slice(-1) === "'");
|
|
161
|
+
|
|
162
|
+
const safe = val =>
|
|
163
|
+
(typeof val !== 'string' ||
|
|
164
|
+
val.match(/[=\r\n]/) ||
|
|
165
|
+
val.match(/^\[/) ||
|
|
166
|
+
(val.length > 1 &&
|
|
167
|
+
isQuoted(val)) ||
|
|
168
|
+
val !== val.trim())
|
|
169
|
+
? JSON.stringify(val)
|
|
170
|
+
: val.replace(/;/g, '\\;').replace(/#/g, '\\#');
|
|
171
|
+
|
|
172
|
+
const unsafe = (val, doUnesc) => {
|
|
173
|
+
val = (val || '').trim();
|
|
174
|
+
if (isQuoted(val)) {
|
|
175
|
+
// remove the single quotes before calling JSON.parse
|
|
176
|
+
if (val.charAt(0) === "'")
|
|
177
|
+
val = val.substr(1, val.length - 2);
|
|
178
|
+
|
|
179
|
+
try {
|
|
180
|
+
val = JSON.parse(val);
|
|
181
|
+
} catch (_) {}
|
|
182
|
+
} else {
|
|
183
|
+
// walk the val to find the first not-escaped ; character
|
|
184
|
+
let esc = false;
|
|
185
|
+
let unesc = '';
|
|
186
|
+
for (let i = 0, l = val.length; i < l; i++) {
|
|
187
|
+
const c = val.charAt(i);
|
|
188
|
+
if (esc) {
|
|
189
|
+
if ('\\;#'.indexOf(c) !== -1)
|
|
190
|
+
unesc += c;
|
|
191
|
+
else
|
|
192
|
+
unesc += '\\' + c;
|
|
193
|
+
|
|
194
|
+
esc = false;
|
|
195
|
+
} else if (';#'.indexOf(c) !== -1)
|
|
196
|
+
break
|
|
197
|
+
else if (c === '\\')
|
|
198
|
+
esc = true;
|
|
199
|
+
else
|
|
200
|
+
unesc += c;
|
|
201
|
+
}
|
|
202
|
+
if (esc)
|
|
203
|
+
unesc += '\\';
|
|
204
|
+
|
|
205
|
+
return unesc.trim()
|
|
206
|
+
}
|
|
207
|
+
return val
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
var ini = {
|
|
211
|
+
parse: decode,
|
|
212
|
+
decode,
|
|
213
|
+
stringify: encode,
|
|
214
|
+
encode,
|
|
215
|
+
safe,
|
|
216
|
+
unsafe,
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
(function (exports) {
|
|
220
|
+
const path = require$$1;
|
|
221
|
+
const os = require$$1$1;
|
|
222
|
+
const fs = fs__default;
|
|
223
|
+
const ini$1 = ini;
|
|
224
|
+
|
|
225
|
+
const isWindows = process.platform === 'win32';
|
|
226
|
+
|
|
227
|
+
const readRc = filePath => {
|
|
228
|
+
try {
|
|
229
|
+
return ini$1.parse(fs.readFileSync(filePath, 'utf8')).prefix;
|
|
230
|
+
} catch {}
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
const getEnvNpmPrefix = () => {
|
|
234
|
+
// TODO: Remove the `.reduce` call.
|
|
235
|
+
// eslint-disable-next-line unicorn/no-array-reduce
|
|
236
|
+
return Object.keys(process.env).reduce((prefix, name) => {
|
|
237
|
+
return /^npm_config_prefix$/i.test(name) ? process.env[name] : prefix;
|
|
238
|
+
}, undefined);
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
const getGlobalNpmrc = () => {
|
|
242
|
+
if (isWindows && process.env.APPDATA) {
|
|
243
|
+
// Hardcoded contents of `c:\Program Files\nodejs\node_modules\npm\npmrc`
|
|
244
|
+
return path.join(process.env.APPDATA, '/npm/etc/npmrc');
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// Homebrew special case: `$(brew --prefix)/lib/node_modules/npm/npmrc`
|
|
248
|
+
if (process.execPath.includes('/Cellar/node')) {
|
|
249
|
+
const homebrewPrefix = process.execPath.slice(0, process.execPath.indexOf('/Cellar/node'));
|
|
250
|
+
return path.join(homebrewPrefix, '/lib/node_modules/npm/npmrc');
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
if (process.execPath.endsWith('/bin/node')) {
|
|
254
|
+
const installDir = path.dirname(path.dirname(process.execPath));
|
|
255
|
+
return path.join(installDir, '/etc/npmrc');
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
const getDefaultNpmPrefix = () => {
|
|
260
|
+
if (isWindows) {
|
|
261
|
+
const {APPDATA} = process.env;
|
|
262
|
+
// `c:\node\node.exe` → `prefix=c:\node\`
|
|
263
|
+
return APPDATA ? path.join(APPDATA, 'npm') : path.dirname(process.execPath);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// `/usr/local/bin/node` → `prefix=/usr/local`
|
|
267
|
+
return path.dirname(path.dirname(process.execPath));
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
const getNpmPrefix = () => {
|
|
271
|
+
const envPrefix = getEnvNpmPrefix();
|
|
272
|
+
if (envPrefix) {
|
|
273
|
+
return envPrefix;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
const homePrefix = readRc(path.join(os.homedir(), '.npmrc'));
|
|
277
|
+
if (homePrefix) {
|
|
278
|
+
return homePrefix;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
if (process.env.PREFIX) {
|
|
282
|
+
return process.env.PREFIX;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
const globalPrefix = readRc(getGlobalNpmrc());
|
|
286
|
+
if (globalPrefix) {
|
|
287
|
+
return globalPrefix;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
return getDefaultNpmPrefix();
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
const npmPrefix = path.resolve(getNpmPrefix());
|
|
294
|
+
|
|
295
|
+
const getYarnWindowsDirectory = () => {
|
|
296
|
+
if (isWindows && process.env.LOCALAPPDATA) {
|
|
297
|
+
const dir = path.join(process.env.LOCALAPPDATA, 'Yarn');
|
|
298
|
+
if (fs.existsSync(dir)) {
|
|
299
|
+
return dir;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
return false;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
const getYarnPrefix = () => {
|
|
307
|
+
if (process.env.PREFIX) {
|
|
308
|
+
return process.env.PREFIX;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
const windowsPrefix = getYarnWindowsDirectory();
|
|
312
|
+
if (windowsPrefix) {
|
|
313
|
+
return windowsPrefix;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
const configPrefix = path.join(os.homedir(), '.config/yarn');
|
|
317
|
+
if (fs.existsSync(configPrefix)) {
|
|
318
|
+
return configPrefix;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
const homePrefix = path.join(os.homedir(), '.yarn-config');
|
|
322
|
+
if (fs.existsSync(homePrefix)) {
|
|
323
|
+
return homePrefix;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// Yarn supports the npm conventions but the inverse is not true
|
|
327
|
+
return npmPrefix;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
exports.npm = {};
|
|
331
|
+
exports.npm.prefix = npmPrefix;
|
|
332
|
+
exports.npm.packages = path.join(npmPrefix, isWindows ? 'node_modules' : 'lib/node_modules');
|
|
333
|
+
exports.npm.binaries = isWindows ? npmPrefix : path.join(npmPrefix, 'bin');
|
|
334
|
+
|
|
335
|
+
const yarnPrefix = path.resolve(getYarnPrefix());
|
|
336
|
+
exports.yarn = {};
|
|
337
|
+
exports.yarn.prefix = yarnPrefix;
|
|
338
|
+
exports.yarn.packages = path.join(yarnPrefix, getYarnWindowsDirectory() ? 'Data/global/node_modules' : 'global/node_modules');
|
|
339
|
+
exports.yarn.binaries = path.join(exports.yarn.packages, '.bin');
|
|
340
|
+
} (globalDirs));
|
|
10
341
|
|
|
11
342
|
const RC_PATH = ".nuxtrc";
|
|
12
343
|
function enable(path, modulePath) {
|
|
@@ -18,7 +349,7 @@ function enable(path, modulePath) {
|
|
|
18
349
|
modulePath,
|
|
19
350
|
esmPath
|
|
20
351
|
];
|
|
21
|
-
if (require$$1.platform() === "win32") {
|
|
352
|
+
if (require$$1$1.platform() === "win32") {
|
|
22
353
|
removePaths.push(
|
|
23
354
|
modulePath.replace(/\\/g, "/"),
|
|
24
355
|
esmPath.replace(/\\/g, "/"),
|
package/dist/client/200.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html >
|
|
3
3
|
<head><meta charset="utf-8">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.d28dd037.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.e7b3d8fd.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.975e4e70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/SectionBlock.082cb101.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.db724adb.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.989cce56.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.d25709fd.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.9f2db884.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/Settings.vue.b55fa306.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.09cc4471.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.701f4547.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.3aeeed3f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.ab9d7157.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8c342cc5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.6890c56a.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.a5c5a841.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.c8345f31.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.76eeebc3.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.1fec3315.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.ae83d235.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.e7b3d8fd.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.d28dd037.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
package/dist/client/404.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html >
|
|
3
3
|
<head><meta charset="utf-8">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.d28dd037.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.e7b3d8fd.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.975e4e70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/SectionBlock.082cb101.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.db724adb.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.989cce56.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.d25709fd.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.9f2db884.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/Settings.vue.b55fa306.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.09cc4471.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.701f4547.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.3aeeed3f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.ab9d7157.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8c342cc5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.6890c56a.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.a5c5a841.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.c8345f31.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.76eeebc3.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.1fec3315.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.ae83d235.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.e7b3d8fd.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.d28dd037.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html >
|
|
3
3
|
<head><meta charset="utf-8">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.d28dd037.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.e7b3d8fd.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.975e4e70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/SectionBlock.082cb101.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.db724adb.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.989cce56.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.d25709fd.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.9f2db884.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/Settings.vue.b55fa306.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.09cc4471.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.701f4547.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.3aeeed3f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.ab9d7157.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8c342cc5.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.6890c56a.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.a5c5a841.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.c8345f31.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.76eeebc3.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.1fec3315.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.ae83d235.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.e7b3d8fd.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.d28dd037.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as o}from"./_plugin-vue_export-helper.c27b6911.js";import{o as t,e as n,r}from"./entry.d28dd037.js";const s={},c={class:"text-12px whitespace-nowrap px-1.5 py-0.5 mx-0.5 rounded"};function _(e,a){return t(),n("span",c,[r(e.$slots,"default")])}const d=o(s,[["render",_]]);export{d as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as p,k as s}from"./state.a5c5a841.js";import{o as f}from"./editor.f74d7351.js";import{a as l,k as m,o as u,e as h,t as c,u as a}from"./entry.d28dd037.js";const E=l({__name:"FilepathItem",props:{filepath:null},setup(e){const o=e,t=p(),i=m(()=>o.filepath&&t.value?s(o.filepath,t.value.rootDir):o.filepath);return(n,r)=>(u(),h("button",{"font-mono":"","hover:underline":"","ws-nowrap":"","of-hidden":"",onClick:r[0]||(r[0]=d=>("openInEditor"in n?n.openInEditor:a(f))(e.filepath))},c(a(i)),1))}});export{E as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_}from"./TabIcon.vue.6890c56a.js";import{_ as f}from"./NIcon.vue.701f4547.js";import{r as p,_ as k}from"./NButton.vue.09cc4471.js";import{a as h,e as a,h as b,f as s,t as i,u as g,l as c,F as x,B as w,o as n,c as l,w as y,j as B,V as N}from"./entry.d28dd037.js";const C={flex:"~ col gap2","h-full":"","items-center":"","justify-center":""},M={"text-xl":""},V=["innerHTML"],v={flex:"~ gap2 wrap"},H=h({__name:"LaunchPage",props:{icon:null,title:null,description:null,actions:null},emits:["action"],setup(e){return(o,L)=>{const d=_,m=f,u=k;return n(),a("div",C,[b(d,{"text-5xl":"",mb4:"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),s("h1",M,i(e.title),1),e.description?(n(),a("div",{key:0,op50:"","text-center":"","text-base":"","mt--1":"",mb2:"",class:"markdown-body",innerHTML:("renderMarkdown"in o?o.renderMarkdown:g(p))(e.description)},null,8,V)):c("",!0),s("div",v,[(n(!0),a(x,null,w(e.actions,(t,r)=>(n(),l(u,N({key:r,n:"solid primary",disabled:t.pending,to:t.src,target:t.src?"_blank":void 0},t.attrs,{onClick:()=>{t.handle?.(),o.$emit("action",r)}}),{default:y(()=>[t.pending?(n(),l(m,{key:0,icon:"carbon-circle-dash","animate-spin":""})):c("",!0),B(" "+i(t.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])])}}});export{H as _};
|
|
File without changes
|