first commit

This commit is contained in:
2026-05-12 12:41:49 +07:00
commit 604fef891f
8368 changed files with 1285228 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
Object.defineProperty(exports, '__esModule', { value: true });
const require_unplugin = require('../unplugin-DL8B31Qb.cjs');
//#region src/unplugin/esbuild.ts
var esbuild_default = require_unplugin.unplugin_default.esbuild;
//#endregion
exports.default = esbuild_default;
+11
View File
@@ -0,0 +1,11 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-C8M2qFcl.cjs";
import * as esbuild0 from "esbuild";
//#region src/unplugin/esbuild.d.ts
declare const _default: (options?: Options | undefined) => esbuild0.Plugin;
export = _default;
+12
View File
@@ -0,0 +1,12 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-rGD93PHF.mjs";
import * as esbuild0 from "esbuild";
//#region src/unplugin/esbuild.d.ts
declare const _default: (options?: Options | undefined) => esbuild0.Plugin;
//#endregion
export { _default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import "../options-DrVGtYpN.mjs";
import { n as unplugin_default } from "../unplugin-DuCbyUDD.mjs";
//#region src/unplugin/esbuild.ts
var esbuild_default = unplugin_default.esbuild;
//#endregion
export { esbuild_default as default };
+19
View File
@@ -0,0 +1,19 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
Object.defineProperty(exports, '__esModule', { value: true });
const require_unplugin = require('../unplugin-DL8B31Qb.cjs');
const require_options = require('../options-CDXgA1NW.cjs');
exports.AutoExportLoaders = require_unplugin.AutoExportLoaders;
exports.DEFAULT_OPTIONS = require_options.DEFAULT_OPTIONS;
exports.EditableTreeNode = require_unplugin.EditableTreeNode;
exports.VueRouterAutoImports = require_unplugin.VueRouterAutoImports;
exports.createRoutesContext = require_unplugin.createRoutesContext;
exports.createTreeNodeValue = require_unplugin.createTreeNodeValue;
exports.default = require_unplugin.unplugin_default;
exports.getFileBasedRouteName = require_options.getFileBasedRouteName;
exports.getPascalCaseRouteName = require_options.getPascalCaseRouteName;
exports.resolveOptions = require_options.resolveOptions;
+69
View File
@@ -0,0 +1,69 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { C as createTreeNodeValue, S as TreeNodeValueStatic, _ as getPascalCaseRouteName, a as ResolvedOptions, b as TreeNodeValueGroup, c as RoutesFolderOptionResolved, g as getFileBasedRouteName, h as EditableTreeNode, i as ParamParsersOptions, l as ServerContext, o as RoutesFolder, p as resolveOptions, r as Options, s as RoutesFolderOption, t as DEFAULT_OPTIONS, v as TreeNode, x as TreeNodeValueParam, y as TreeNodeValue } from "../options-C8M2qFcl.cjs";
import * as unplugin0 from "unplugin";
import { StringFilter } from "unplugin";
import { Plugin } from "vite";
//#region src/unplugin/core/context.d.ts
declare function createRoutesContext(options: ResolvedOptions): {
scanPages: (startWatchers?: boolean) => Promise<void>;
writeConfigFiles: () => void;
setServerContext: (_server: ServerContext) => void;
stopWatcher: () => void;
generateRoutes: () => string;
generateResolver: () => string;
definePageTransform(code: string, id: string): unplugin0.Thenable<unplugin0.TransformResult>;
};
//#endregion
//#region src/experimental/data-loaders/auto-exports.d.ts
/**
* {@link AutoExportLoaders} options.
*/
interface AutoExportLoadersOptions {
/**
* Filter page components to apply the auto-export. Passed to `transform.filter.id`.
*/
transformFilter: StringFilter;
/**
* Globs to match the paths of the loaders.
*/
loadersPathsGlobs: string | string[];
/**
* Root of the project. All paths are resolved relatively to this one.
* @default `process.cwd()`
*/
root?: string;
}
/**
* Vite Plugin to automatically export loaders from page components.
*
* @param options Options
* @experimental - This API is experimental and can be changed in the future. It's used internally by `experimental.autoExportsDataLoaders`
*/
declare function AutoExportLoaders({
transformFilter,
loadersPathsGlobs,
root
}: AutoExportLoadersOptions): Plugin;
//#endregion
//#region src/unplugin/index.d.ts
declare const _default: unplugin0.UnpluginInstance<Options | undefined, boolean>;
/**
* Adds useful auto imports to the AutoImport config:
* @example
* ```js
* import { VueRouterAutoImports } from 'vue-router/unplugin'
*
* AutoImport({
* imports: [VueRouterAutoImports],
* }),
* ```
*/
declare const VueRouterAutoImports: Record<string, Array<string | [importName: string, alias: string]>>;
//#endregion
export { AutoExportLoaders, type AutoExportLoadersOptions, DEFAULT_OPTIONS, EditableTreeNode, type Options, type ParamParsersOptions, type ResolvedOptions, type RoutesFolder, type RoutesFolderOption, type RoutesFolderOptionResolved, type TreeNode, type TreeNodeValue, type TreeNodeValueGroup, type TreeNodeValueParam, type TreeNodeValueStatic, VueRouterAutoImports, createRoutesContext, createTreeNodeValue, _default as default, getFileBasedRouteName, getPascalCaseRouteName, resolveOptions };
+69
View File
@@ -0,0 +1,69 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { C as createTreeNodeValue, S as TreeNodeValueStatic, _ as getPascalCaseRouteName, a as ResolvedOptions, b as TreeNodeValueGroup, c as RoutesFolderOptionResolved, g as getFileBasedRouteName, h as EditableTreeNode, i as ParamParsersOptions, l as ServerContext, o as RoutesFolder, p as resolveOptions, r as Options, s as RoutesFolderOption, t as DEFAULT_OPTIONS, v as TreeNode, x as TreeNodeValueParam, y as TreeNodeValue } from "../options-rGD93PHF.mjs";
import * as unplugin0 from "unplugin";
import { StringFilter } from "unplugin";
import { Plugin } from "vite";
//#region src/unplugin/core/context.d.ts
declare function createRoutesContext(options: ResolvedOptions): {
scanPages: (startWatchers?: boolean) => Promise<void>;
writeConfigFiles: () => void;
setServerContext: (_server: ServerContext) => void;
stopWatcher: () => void;
generateRoutes: () => string;
generateResolver: () => string;
definePageTransform(code: string, id: string): unplugin0.Thenable<unplugin0.TransformResult>;
};
//#endregion
//#region src/experimental/data-loaders/auto-exports.d.ts
/**
* {@link AutoExportLoaders} options.
*/
interface AutoExportLoadersOptions {
/**
* Filter page components to apply the auto-export. Passed to `transform.filter.id`.
*/
transformFilter: StringFilter;
/**
* Globs to match the paths of the loaders.
*/
loadersPathsGlobs: string | string[];
/**
* Root of the project. All paths are resolved relatively to this one.
* @default `process.cwd()`
*/
root?: string;
}
/**
* Vite Plugin to automatically export loaders from page components.
*
* @param options Options
* @experimental - This API is experimental and can be changed in the future. It's used internally by `experimental.autoExportsDataLoaders`
*/
declare function AutoExportLoaders({
transformFilter,
loadersPathsGlobs,
root
}: AutoExportLoadersOptions): Plugin;
//#endregion
//#region src/unplugin/index.d.ts
declare const _default: unplugin0.UnpluginInstance<Options | undefined, boolean>;
/**
* Adds useful auto imports to the AutoImport config:
* @example
* ```js
* import { VueRouterAutoImports } from 'vue-router/unplugin'
*
* AutoImport({
* imports: [VueRouterAutoImports],
* }),
* ```
*/
declare const VueRouterAutoImports: Record<string, Array<string | [importName: string, alias: string]>>;
//#endregion
export { AutoExportLoaders, type AutoExportLoadersOptions, DEFAULT_OPTIONS, EditableTreeNode, type Options, type ParamParsersOptions, type ResolvedOptions, type RoutesFolder, type RoutesFolderOption, type RoutesFolderOptionResolved, type TreeNode, type TreeNodeValue, type TreeNodeValueGroup, type TreeNodeValueParam, type TreeNodeValueStatic, VueRouterAutoImports, createRoutesContext, createTreeNodeValue, _default as default, getFileBasedRouteName, getPascalCaseRouteName, resolveOptions };
+9
View File
@@ -0,0 +1,9 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { d as getPascalCaseRouteName, i as resolveOptions, t as DEFAULT_OPTIONS, u as getFileBasedRouteName } from "../options-DrVGtYpN.mjs";
import { a as EditableTreeNode, i as createRoutesContext, n as unplugin_default, o as createTreeNodeValue, r as AutoExportLoaders, t as VueRouterAutoImports } from "../unplugin-DuCbyUDD.mjs";
export { AutoExportLoaders, DEFAULT_OPTIONS, EditableTreeNode, VueRouterAutoImports, createRoutesContext, createTreeNodeValue, unplugin_default as default, getFileBasedRouteName, getPascalCaseRouteName, resolveOptions };
+12
View File
@@ -0,0 +1,12 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
const require_options = require('../options-CDXgA1NW.cjs');
exports.DEFAULT_OPTIONS = require_options.DEFAULT_OPTIONS;
exports.DEFAULT_PARAM_PARSERS_OPTIONS = require_options.DEFAULT_PARAM_PARSERS_OPTIONS;
exports.mergeAllExtensions = require_options.mergeAllExtensions;
exports.resolveOptions = require_options.resolveOptions;
exports.resolveOverridableOption = require_options.resolveOverridableOption;
+7
View File
@@ -0,0 +1,7 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { a as ResolvedOptions, c as RoutesFolderOptionResolved, d as _RoutesFolder, f as mergeAllExtensions, i as ParamParsersOptions, l as ServerContext, m as resolveOverridableOption, n as DEFAULT_PARAM_PARSERS_OPTIONS, o as RoutesFolder, p as resolveOptions, r as Options, s as RoutesFolderOption, t as DEFAULT_OPTIONS, u as _OverridableOption } from "../options-C8M2qFcl.cjs";
export { DEFAULT_OPTIONS, DEFAULT_PARAM_PARSERS_OPTIONS, Options, ParamParsersOptions, ResolvedOptions, RoutesFolder, RoutesFolderOption, RoutesFolderOptionResolved, ServerContext, _OverridableOption, _RoutesFolder, mergeAllExtensions, resolveOptions, resolveOverridableOption };
+7
View File
@@ -0,0 +1,7 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { a as ResolvedOptions, c as RoutesFolderOptionResolved, d as _RoutesFolder, f as mergeAllExtensions, i as ParamParsersOptions, l as ServerContext, m as resolveOverridableOption, n as DEFAULT_PARAM_PARSERS_OPTIONS, o as RoutesFolder, p as resolveOptions, r as Options, s as RoutesFolderOption, t as DEFAULT_OPTIONS, u as _OverridableOption } from "../options-rGD93PHF.mjs";
export { DEFAULT_OPTIONS, DEFAULT_PARAM_PARSERS_OPTIONS, Options, ParamParsersOptions, ResolvedOptions, RoutesFolder, RoutesFolderOption, RoutesFolderOptionResolved, ServerContext, _OverridableOption, _RoutesFolder, mergeAllExtensions, resolveOptions, resolveOverridableOption };
+8
View File
@@ -0,0 +1,8 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { a as resolveOverridableOption, i as resolveOptions, n as DEFAULT_PARAM_PARSERS_OPTIONS, r as mergeAllExtensions, t as DEFAULT_OPTIONS } from "../options-DrVGtYpN.mjs";
export { DEFAULT_OPTIONS, DEFAULT_PARAM_PARSERS_OPTIONS, mergeAllExtensions, resolveOptions, resolveOverridableOption };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
Object.defineProperty(exports, '__esModule', { value: true });
const require_unplugin = require('../unplugin-DL8B31Qb.cjs');
//#region src/unplugin/rolldown.ts
var rolldown_default = require_unplugin.unplugin_default.rolldown;
//#endregion
exports.default = rolldown_default;
+11
View File
@@ -0,0 +1,11 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-C8M2qFcl.cjs";
import * as rolldown0 from "rolldown";
//#region src/unplugin/rolldown.d.ts
declare const _default: (options?: Options | undefined) => rolldown0.Plugin<any> | rolldown0.Plugin<any>[];
export = _default;
+12
View File
@@ -0,0 +1,12 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-rGD93PHF.mjs";
import * as rolldown0 from "rolldown";
//#region src/unplugin/rolldown.d.ts
declare const _default: (options?: Options | undefined) => rolldown0.Plugin<any> | rolldown0.Plugin<any>[];
//#endregion
export { _default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import "../options-DrVGtYpN.mjs";
import { n as unplugin_default } from "../unplugin-DuCbyUDD.mjs";
//#region src/unplugin/rolldown.ts
var rolldown_default = unplugin_default.rolldown;
//#endregion
export { rolldown_default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
Object.defineProperty(exports, '__esModule', { value: true });
const require_unplugin = require('../unplugin-DL8B31Qb.cjs');
//#region src/unplugin/rollup.ts
var rollup_default = require_unplugin.unplugin_default.rollup;
//#endregion
exports.default = rollup_default;
+11
View File
@@ -0,0 +1,11 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-C8M2qFcl.cjs";
import * as rollup0 from "rollup";
//#region src/unplugin/rollup.d.ts
declare const _default: (options?: Options | undefined) => rollup0.Plugin<any> | rollup0.Plugin<any>[];
export = _default;
+12
View File
@@ -0,0 +1,12 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-rGD93PHF.mjs";
import * as rollup0 from "rollup";
//#region src/unplugin/rollup.d.ts
declare const _default: (options?: Options | undefined) => rollup0.Plugin<any> | rollup0.Plugin<any>[];
//#endregion
export { _default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import "../options-DrVGtYpN.mjs";
import { n as unplugin_default } from "../unplugin-DuCbyUDD.mjs";
//#region src/unplugin/rollup.ts
var rollup_default = unplugin_default.rollup;
//#endregion
export { rollup_default as default };
+5
View File
@@ -0,0 +1,5 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
+7
View File
@@ -0,0 +1,7 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { S as TreeNodeValueStatic, b as TreeNodeValueGroup, h as EditableTreeNode, r as Options, v as TreeNode, x as TreeNodeValueParam, y as TreeNodeValue } from "../options-C8M2qFcl.cjs";
export { type EditableTreeNode, type Options, type TreeNode, type TreeNodeValue, type TreeNodeValueGroup, type TreeNodeValueParam, type TreeNodeValueStatic };
+7
View File
@@ -0,0 +1,7 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { S as TreeNodeValueStatic, b as TreeNodeValueGroup, h as EditableTreeNode, r as Options, v as TreeNode, x as TreeNodeValueParam, y as TreeNodeValue } from "../options-rGD93PHF.mjs";
export { type EditableTreeNode, type Options, type TreeNode, type TreeNodeValue, type TreeNodeValueGroup, type TreeNodeValueParam, type TreeNodeValueStatic };
+6
View File
@@ -0,0 +1,6 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
export { };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
Object.defineProperty(exports, '__esModule', { value: true });
const require_unplugin = require('../unplugin-DL8B31Qb.cjs');
//#region src/unplugin/vite.ts
var vite_default = require_unplugin.unplugin_default.vite;
//#endregion
exports.default = vite_default;
+11
View File
@@ -0,0 +1,11 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-C8M2qFcl.cjs";
import * as vite0 from "vite";
//#region src/unplugin/vite.d.ts
declare const _default: (options?: Options | undefined) => vite0.Plugin<any> | vite0.Plugin<any>[];
export = _default;
+12
View File
@@ -0,0 +1,12 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-rGD93PHF.mjs";
import * as vite0 from "vite";
//#region src/unplugin/vite.d.ts
declare const _default: (options?: Options | undefined) => vite0.Plugin<any> | vite0.Plugin<any>[];
//#endregion
export { _default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import "../options-DrVGtYpN.mjs";
import { n as unplugin_default } from "../unplugin-DuCbyUDD.mjs";
//#region src/unplugin/vite.ts
var vite_default = unplugin_default.vite;
//#endregion
export { vite_default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
Object.defineProperty(exports, '__esModule', { value: true });
const require_unplugin = require('../unplugin-DL8B31Qb.cjs');
//#region src/unplugin/webpack.ts
var webpack_default = require_unplugin.unplugin_default.webpack;
//#endregion
exports.default = webpack_default;
+10
View File
@@ -0,0 +1,10 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-C8M2qFcl.cjs";
//#region src/unplugin/webpack.d.ts
declare const _default: (options?: Options | undefined) => WebpackPluginInstance;
export = _default;
+11
View File
@@ -0,0 +1,11 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import { r as Options } from "../options-rGD93PHF.mjs";
//#region src/unplugin/webpack.d.ts
declare const _default: (options?: Options | undefined) => WebpackPluginInstance;
//#endregion
export { _default as default };
+13
View File
@@ -0,0 +1,13 @@
/*!
* vue-router v5.0.6
* (c) 2026 Eduardo San Martin Morote
* @license MIT
*/
import "../options-DrVGtYpN.mjs";
import { n as unplugin_default } from "../unplugin-DuCbyUDD.mjs";
//#region src/unplugin/webpack.ts
var webpack_default = unplugin_default.webpack;
//#endregion
export { webpack_default as default };