valaxy 0.20.5 → 0.20.7

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.
Files changed (67) hide show
  1. package/client/components/ValaxyApp.vue +10 -11
  2. package/client/components/ValaxyDecrypt.vue +9 -7
  3. package/client/components/ValaxyGalleryDecrypt.vue +1 -0
  4. package/client/components/ValaxyLogo.vue +5 -1
  5. package/client/components/ValaxyMd.vue +3 -3
  6. package/client/components/builtin/ValaxyMermaid.vue +40 -41
  7. package/client/composables/app/useValaxyHead.ts +13 -6
  8. package/client/composables/categories.ts +1 -1
  9. package/client/composables/codeGroups.ts +1 -1
  10. package/client/composables/collections.ts +1 -1
  11. package/client/composables/common.ts +3 -3
  12. package/client/composables/features/collapse-code.ts +1 -1
  13. package/client/composables/features/copy-code.ts +1 -0
  14. package/client/composables/features/index.ts +1 -1
  15. package/client/composables/helper/useInvisibleElement.ts +1 -1
  16. package/client/composables/index.ts +10 -10
  17. package/client/composables/locale.ts +4 -3
  18. package/client/composables/outline/anchor.ts +9 -8
  19. package/client/composables/outline/headers.ts +3 -3
  20. package/client/composables/outline/index.ts +1 -1
  21. package/client/composables/post/index.ts +3 -3
  22. package/client/composables/search/useFuseSearch.ts +4 -4
  23. package/client/composables/tags.ts +1 -1
  24. package/client/composables/widgets/aplayer.ts +1 -1
  25. package/client/config.ts +8 -8
  26. package/client/index.ts +5 -5
  27. package/client/main.ts +15 -15
  28. package/client/modules/devtools.ts +1 -1
  29. package/client/modules/floating-vue.ts +3 -3
  30. package/client/modules/mermaid.ts +3 -3
  31. package/client/modules/nprogress.ts +1 -1
  32. package/client/modules/pinia.ts +1 -1
  33. package/client/modules/schemaOrg.ts +1 -1
  34. package/client/modules/valaxy.ts +6 -6
  35. package/client/setup/main.ts +7 -7
  36. package/client/setup/mermaid.ts +1 -1
  37. package/client/setups.ts +2 -2
  38. package/client/stores/app.ts +1 -1
  39. package/client/stores/site.ts +2 -2
  40. package/client/styles/common/markdown.scss +4 -4
  41. package/client/styles/index.scss +0 -1
  42. package/client/types/index.ts +1 -1
  43. package/client/utils/index.ts +3 -3
  44. package/client/utils/time.ts +3 -4
  45. package/dist/chunk-JOSLTXIR.cjs +161 -0
  46. package/dist/chunk-LB5BBIUM.mjs +162 -0
  47. package/dist/node/cli/index.cjs +1 -1
  48. package/dist/node/cli/index.mjs +1 -1
  49. package/dist/node/index.cjs +1 -1
  50. package/dist/node/index.d.cts +86 -86
  51. package/dist/node/index.d.ts +86 -86
  52. package/dist/node/index.mjs +1 -1
  53. package/dist/types/index.cjs +1 -1
  54. package/dist/types/index.d.cts +3 -3
  55. package/dist/types/index.d.ts +3 -3
  56. package/dist/types/index.mjs +1 -1
  57. package/package.json +23 -23
  58. package/shims.d.ts +2 -2
  59. package/types/config.ts +1 -1
  60. package/types/index.ts +3 -3
  61. package/client/styles/common/scrollbar.scss +0 -30
  62. package/dist/chunk-5CL433IL.mjs +0 -162
  63. package/dist/chunk-VDCJKFCV.cjs +0 -161
  64. package/dist/{chunk-6GE64PZD.cjs → chunk-BJ22GQI6.cjs} +0 -0
  65. package/dist/{chunk-WE2LNW3F.mjs → chunk-XKANGEKW.mjs} +0 -0
  66. package/dist/{config-DfXD9Gt_.d.cts → config-Dxu7i2Zs.d.cts} +1 -1
  67. package/dist/{config-DfXD9Gt_.d.ts → config-Dxu7i2Zs.d.ts} +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVDCJKFCVcjs = require('../../chunk-VDCJKFCV.cjs');require('../../chunk-6GE64PZD.cjs');exports.cli = _chunkVDCJKFCVcjs.V; exports.run = _chunkVDCJKFCVcjs.W;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJOSLTXIRcjs = require('../../chunk-JOSLTXIR.cjs');require('../../chunk-BJ22GQI6.cjs');exports.cli = _chunkJOSLTXIRcjs.V; exports.run = _chunkJOSLTXIRcjs.W;
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{V as a,W as b}from"../../chunk-5CL433IL.mjs";import"../../chunk-WE2LNW3F.mjs";export{a as cli,b as run};
2
+ import{V as a,W as b}from"../../chunk-LB5BBIUM.mjs";import"../../chunk-XKANGEKW.mjs";export{a as cli,b as run};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVDCJKFCVcjs = require('../chunk-VDCJKFCV.cjs');require('../chunk-6GE64PZD.cjs');exports.ALL_ROUTE = _chunkVDCJKFCVcjs.g; exports.EXCERPT_SEPARATOR = _chunkVDCJKFCVcjs.d; exports.EXTERNAL_URL_RE = _chunkVDCJKFCVcjs.e; exports.PATHNAME_PROTOCOL_RE = _chunkVDCJKFCVcjs.f; exports.ViteValaxyPlugins = _chunkVDCJKFCVcjs.P; exports.build = _chunkVDCJKFCVcjs.Q; exports.cli = _chunkVDCJKFCVcjs.V; exports.createServer = _chunkVDCJKFCVcjs.U; exports.createValaxyLoader = _chunkVDCJKFCVcjs.O; exports.customElements = _chunkVDCJKFCVcjs.h; exports.defaultSiteConfig = _chunkVDCJKFCVcjs.r; exports.defaultValaxyConfig = _chunkVDCJKFCVcjs.v; exports.defaultViteConfig = _chunkVDCJKFCVcjs.i; exports.defineAddon = _chunkVDCJKFCVcjs.C; exports.defineConfig = _chunkVDCJKFCVcjs.x; exports.defineSiteConfig = _chunkVDCJKFCVcjs.s; exports.defineTheme = _chunkVDCJKFCVcjs.H; exports.defineUnoSetup = _chunkVDCJKFCVcjs.I; exports.defineValaxyAddon = _chunkVDCJKFCVcjs.B; exports.defineValaxyConfig = _chunkVDCJKFCVcjs.w; exports.defineValaxyTheme = _chunkVDCJKFCVcjs.G; exports.ensurePrefix = _chunkVDCJKFCVcjs.l; exports.generateClientRedirects = _chunkVDCJKFCVcjs.T; exports.getGitTimestamp = _chunkVDCJKFCVcjs.a; exports.getIndexHtml = _chunkVDCJKFCVcjs.N; exports.isExternal = _chunkVDCJKFCVcjs.j; exports.isInstalledGlobally = _chunkVDCJKFCVcjs.b; exports.isPath = _chunkVDCJKFCVcjs.n; exports.loadConfig = _chunkVDCJKFCVcjs.p; exports.loadConfigFromFile = _chunkVDCJKFCVcjs.q; exports.mergeValaxyConfig = _chunkVDCJKFCVcjs.z; exports.mergeViteConfigs = _chunkVDCJKFCVcjs.M; exports.postProcessForSSG = _chunkVDCJKFCVcjs.S; exports.processValaxyOptions = _chunkVDCJKFCVcjs.J; exports.resolveAddonsConfig = _chunkVDCJKFCVcjs.D; exports.resolveImportPath = _chunkVDCJKFCVcjs.c; exports.resolveOptions = _chunkVDCJKFCVcjs.K; exports.resolveSiteConfig = _chunkVDCJKFCVcjs.u; exports.resolveSiteConfigFromRoot = _chunkVDCJKFCVcjs.t; exports.resolveThemeConfigFromRoot = _chunkVDCJKFCVcjs.E; exports.resolveThemeValaxyConfig = _chunkVDCJKFCVcjs.L; exports.resolveUserThemeConfig = _chunkVDCJKFCVcjs.F; exports.resolveValaxyConfig = _chunkVDCJKFCVcjs.A; exports.resolveValaxyConfigFromRoot = _chunkVDCJKFCVcjs.y; exports.run = _chunkVDCJKFCVcjs.W; exports.slash = _chunkVDCJKFCVcjs.k; exports.ssgBuild = _chunkVDCJKFCVcjs.R; exports.toAtFS = _chunkVDCJKFCVcjs.m; exports.transformObject = _chunkVDCJKFCVcjs.o;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJOSLTXIRcjs = require('../chunk-JOSLTXIR.cjs');require('../chunk-BJ22GQI6.cjs');exports.ALL_ROUTE = _chunkJOSLTXIRcjs.d; exports.EXCERPT_SEPARATOR = _chunkJOSLTXIRcjs.a; exports.EXTERNAL_URL_RE = _chunkJOSLTXIRcjs.b; exports.PATHNAME_PROTOCOL_RE = _chunkJOSLTXIRcjs.c; exports.ViteValaxyPlugins = _chunkJOSLTXIRcjs.P; exports.build = _chunkJOSLTXIRcjs.Q; exports.cli = _chunkJOSLTXIRcjs.V; exports.createServer = _chunkJOSLTXIRcjs.U; exports.createValaxyLoader = _chunkJOSLTXIRcjs.O; exports.customElements = _chunkJOSLTXIRcjs.e; exports.defaultSiteConfig = _chunkJOSLTXIRcjs.t; exports.defaultValaxyConfig = _chunkJOSLTXIRcjs.x; exports.defaultViteConfig = _chunkJOSLTXIRcjs.f; exports.defineAddon = _chunkJOSLTXIRcjs.E; exports.defineConfig = _chunkJOSLTXIRcjs.z; exports.defineSiteConfig = _chunkJOSLTXIRcjs.u; exports.defineTheme = _chunkJOSLTXIRcjs.J; exports.defineUnoSetup = _chunkJOSLTXIRcjs.K; exports.defineValaxyAddon = _chunkJOSLTXIRcjs.D; exports.defineValaxyConfig = _chunkJOSLTXIRcjs.y; exports.defineValaxyTheme = _chunkJOSLTXIRcjs.I; exports.ensurePrefix = _chunkJOSLTXIRcjs.j; exports.generateClientRedirects = _chunkJOSLTXIRcjs.T; exports.getGitTimestamp = _chunkJOSLTXIRcjs.g; exports.getIndexHtml = _chunkJOSLTXIRcjs.q; exports.isExternal = _chunkJOSLTXIRcjs.h; exports.isInstalledGlobally = _chunkJOSLTXIRcjs.n; exports.isPath = _chunkJOSLTXIRcjs.l; exports.loadConfig = _chunkJOSLTXIRcjs.r; exports.loadConfigFromFile = _chunkJOSLTXIRcjs.s; exports.mergeValaxyConfig = _chunkJOSLTXIRcjs.B; exports.mergeViteConfigs = _chunkJOSLTXIRcjs.p; exports.postProcessForSSG = _chunkJOSLTXIRcjs.S; exports.processValaxyOptions = _chunkJOSLTXIRcjs.L; exports.resolveAddonsConfig = _chunkJOSLTXIRcjs.F; exports.resolveImportPath = _chunkJOSLTXIRcjs.o; exports.resolveOptions = _chunkJOSLTXIRcjs.M; exports.resolveSiteConfig = _chunkJOSLTXIRcjs.w; exports.resolveSiteConfigFromRoot = _chunkJOSLTXIRcjs.v; exports.resolveThemeConfigFromRoot = _chunkJOSLTXIRcjs.G; exports.resolveThemeValaxyConfig = _chunkJOSLTXIRcjs.N; exports.resolveUserThemeConfig = _chunkJOSLTXIRcjs.H; exports.resolveValaxyConfig = _chunkJOSLTXIRcjs.C; exports.resolveValaxyConfigFromRoot = _chunkJOSLTXIRcjs.A; exports.run = _chunkJOSLTXIRcjs.W; exports.slash = _chunkJOSLTXIRcjs.i; exports.ssgBuild = _chunkJOSLTXIRcjs.R; exports.toAtFS = _chunkJOSLTXIRcjs.k; exports.transformObject = _chunkJOSLTXIRcjs.m;
@@ -1,33 +1,33 @@
1
1
  import { ViteSSGOptions } from 'vite-ssg';
2
- export { cli, run } from './cli/index.cjs';
3
2
  import * as vite from 'vite';
4
- import { UserConfig, InlineConfig, Plugin, PluginOption } from 'vite';
3
+ import { UserConfig, InlineConfig, PluginOption, Plugin } from 'vite';
4
+ import { MarkdownEnv } from 'unplugin-vue-markdown/types';
5
5
  import * as valaxy_types from 'valaxy/types';
6
6
  import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
7
- import { MarkdownEnv } from 'unplugin-vue-markdown/types';
8
7
  import Vue from '@vitejs/plugin-vue';
8
+ import { Hookable } from 'hookable';
9
+ import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
10
+ import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
11
+ import { VitePluginConfig } from 'unocss/vite';
9
12
  import Components from 'unplugin-vue-components/vite';
10
- import Layouts from 'vite-plugin-vue-layouts';
11
13
  import Markdown from 'unplugin-vue-markdown/vite';
12
- import Router from 'unplugin-vue-router/vite';
13
- import { VitePluginConfig } from 'unocss/vite';
14
14
  import { EditableTreeNode } from 'unplugin-vue-router';
15
- import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
16
- import { Hookable } from 'hookable';
17
- import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
18
- import MarkdownIt from 'markdown-it';
19
- import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
20
- import anchorPlugin from 'markdown-it-anchor';
21
- import { KatexOptions } from 'katex';
15
+ import Router from 'unplugin-vue-router/vite';
16
+ import Layouts from 'vite-plugin-vue-layouts';
22
17
  import { HeadersPluginOptions } from '@mdit-vue/plugin-headers';
23
18
  import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
24
19
  import { TocPluginOptions } from '@mdit-vue/plugin-toc';
20
+ import { KatexOptions } from 'katex';
21
+ import MarkdownIt from 'markdown-it';
22
+ import anchorPlugin from 'markdown-it-anchor';
23
+ import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
24
+ export { cli, run } from './cli/index.cjs';
25
25
  import { Awaitable } from '@antfu/utils';
26
26
  import * as defu from 'defu';
27
- import { P as PartialDeep$1 } from '../config-DfXD9Gt_.cjs';
27
+ import { P as PartialDeep$1 } from '../config-Dxu7i2Zs.cjs';
28
28
  import 'yargs';
29
- import 'medium-zoom';
30
29
  import '@vueuse/integrations/useFuse';
30
+ import 'medium-zoom';
31
31
  import 'vanilla-lazyload';
32
32
  import 'vue-router';
33
33
  import '@vueuse/core';
@@ -471,6 +471,17 @@ declare function resolveOptions(options?: ValaxyEntryOptions, mode?: ResolvedVal
471
471
  */
472
472
  declare function resolveThemeValaxyConfig(options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
473
473
 
474
+ declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
475
+ declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
476
+ /**
477
+ * post process for ssg fix extra string like `/html>` `ml>` `l>`
478
+ * handle tasks after ssg build
479
+ * todo find why
480
+ * @param options
481
+ */
482
+ declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
483
+ declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
484
+
474
485
  /**
475
486
  * merge vite.config.ts (user & theme)
476
487
  * @internal
@@ -482,26 +493,13 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
482
493
  */
483
494
  declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
484
495
 
485
- declare const EXCERPT_SEPARATOR = "<!-- more -->";
486
- declare const EXTERNAL_URL_RE: RegExp;
487
- declare const PATHNAME_PROTOCOL_RE: RegExp;
488
- declare const ALL_ROUTE = "/:all(.*)*";
489
- declare const customElements: Set<string>;
490
- /**
491
- * @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
492
- */
493
- declare const defaultViteConfig: UserConfig;
494
-
495
- declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
496
- declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
497
- /**
498
- * post process for ssg fix extra string like `/html>` `ml>` `l>`
499
- * handle tasks after ssg build
500
- * todo find why
501
- * @param options
502
- */
503
- declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
504
- declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
496
+ declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
497
+ setup?: ValaxyAddonResolver['setup'];
498
+ }): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
499
+ setup?: ValaxyAddonResolver["setup"];
500
+ };
501
+ declare const defineAddon: typeof defineValaxyAddon;
502
+ declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
505
503
 
506
504
  interface LoadConfigFromFileOptions {
507
505
  cwd?: string;
@@ -518,45 +516,6 @@ declare function loadConfig<T extends UserInputConfig = UserInputConfig>(options
518
516
  }): Promise<ResolvedConfig<T>>;
519
517
  declare function loadConfigFromFile<T extends UserInputConfig>(file: string, options?: LoadConfigFromFileOptions): Promise<ResolvedConfig<T>>;
520
518
 
521
- declare const defaultValaxyConfig: ValaxyNodeConfig;
522
- /**
523
- * Type helper for valaxy.config.ts
524
- */
525
- declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
526
- declare const defineConfig: typeof defineValaxyConfig;
527
- declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
528
- /**
529
- * merge valaxy.config
530
- * (source, default)
531
- */
532
- declare const mergeValaxyConfig: <Source extends {
533
- [x: string]: any;
534
- [x: number]: any;
535
- [x: symbol]: any;
536
- }, Defaults extends Array<{
537
- [x: string]: any;
538
- [x: number]: any;
539
- [x: symbol]: any;
540
- } | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
541
- /**
542
- * resolve user valaxy config
543
- * options only have userRoot
544
- * @param options
545
- */
546
- declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
547
- config: ValaxyNodeConfig;
548
- configFile: string;
549
- theme: string;
550
- }>;
551
-
552
- declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
553
- setup?: ValaxyAddonResolver['setup'];
554
- }): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
555
- setup?: ValaxyAddonResolver["setup"];
556
- };
557
- declare const defineAddon: typeof defineValaxyAddon;
558
- declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
559
-
560
519
  declare const defaultSiteConfig: SiteConfig;
561
520
  /**
562
521
  * Type helper for site.config.ts
@@ -595,9 +554,52 @@ type ValaxyTheme<ThemeConfig = DefaultTheme.Config> = ValaxyPickConfig & {
595
554
  declare function defineValaxyTheme<ThemeConfig = DefaultTheme.Config>(theme: ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>)): ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>);
596
555
  declare const defineTheme: typeof defineValaxyTheme;
597
556
 
557
+ declare const defaultValaxyConfig: ValaxyNodeConfig;
558
+ /**
559
+ * Type helper for valaxy.config.ts
560
+ */
561
+ declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
562
+ declare const defineConfig: typeof defineValaxyConfig;
563
+ declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
564
+ /**
565
+ * merge valaxy.config
566
+ * (source, default)
567
+ */
568
+ declare const mergeValaxyConfig: <Source extends {
569
+ [x: string]: any;
570
+ [x: number]: any;
571
+ [x: symbol]: any;
572
+ }, Defaults extends Array<{
573
+ [x: string]: any;
574
+ [x: number]: any;
575
+ [x: symbol]: any;
576
+ } | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
577
+ /**
578
+ * resolve user valaxy config
579
+ * options only have userRoot
580
+ * @param options
581
+ */
582
+ declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
583
+ config: ValaxyNodeConfig;
584
+ configFile: string;
585
+ theme: string;
586
+ }>;
587
+
598
588
  type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
599
589
  declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
600
590
 
591
+ declare const EXCERPT_SEPARATOR = "<!-- more -->";
592
+ declare const EXTERNAL_URL_RE: RegExp;
593
+ declare const PATHNAME_PROTOCOL_RE: RegExp;
594
+ declare const ALL_ROUTE = "/:all(.*)*";
595
+ declare const customElements: Set<string>;
596
+ /**
597
+ * @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
598
+ */
599
+ declare const defaultViteConfig: UserConfig;
600
+
601
+ declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
602
+
601
603
  /**
602
604
  * @packageDocumentation valaxy plugin
603
605
  */
@@ -611,22 +613,10 @@ declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
611
613
  */
612
614
  declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
613
615
 
614
- declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
615
-
616
616
  declare function createServer(valaxyApp: ValaxyNode, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
617
617
 
618
618
  declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
619
619
 
620
- declare const isInstalledGlobally: {
621
- value?: boolean;
622
- };
623
- /**
624
- * Before is CJS: use 'resolve'
625
- * ESM: use 'mlly'
626
- */
627
- declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
628
- declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
629
-
630
620
  /**
631
621
  * is url external (http/https:)
632
622
  * @param str
@@ -646,4 +636,14 @@ declare function isPath(name: string): boolean;
646
636
  */
647
637
  declare function transformObject(obj: any): string;
648
638
 
639
+ declare const isInstalledGlobally: {
640
+ value?: boolean;
641
+ };
642
+ /**
643
+ * Before is CJS: use 'resolve'
644
+ * ESM: use 'mlly'
645
+ */
646
+ declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
647
+ declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
648
+
649
649
  export { ALL_ROUTE, EXCERPT_SEPARATOR, EXTERNAL_URL_RE, type HookResult, type LoadConfigFromFileOptions, PATHNAME_PROTOCOL_RE, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, ViteValaxyPlugins, build, createServer, createValaxyLoader, customElements, defaultSiteConfig, defaultValaxyConfig, defaultViteConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isInstalledGlobally, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
@@ -1,33 +1,33 @@
1
1
  import { ViteSSGOptions } from 'vite-ssg';
2
- export { cli, run } from './cli/index.js';
3
2
  import * as vite from 'vite';
4
- import { UserConfig, InlineConfig, Plugin, PluginOption } from 'vite';
3
+ import { UserConfig, InlineConfig, PluginOption, Plugin } from 'vite';
4
+ import { MarkdownEnv } from 'unplugin-vue-markdown/types';
5
5
  import * as valaxy_types from 'valaxy/types';
6
6
  import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
7
- import { MarkdownEnv } from 'unplugin-vue-markdown/types';
8
7
  import Vue from '@vitejs/plugin-vue';
8
+ import { Hookable } from 'hookable';
9
+ import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
10
+ import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
11
+ import { VitePluginConfig } from 'unocss/vite';
9
12
  import Components from 'unplugin-vue-components/vite';
10
- import Layouts from 'vite-plugin-vue-layouts';
11
13
  import Markdown from 'unplugin-vue-markdown/vite';
12
- import Router from 'unplugin-vue-router/vite';
13
- import { VitePluginConfig } from 'unocss/vite';
14
14
  import { EditableTreeNode } from 'unplugin-vue-router';
15
- import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
16
- import { Hookable } from 'hookable';
17
- import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
18
- import MarkdownIt from 'markdown-it';
19
- import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
20
- import anchorPlugin from 'markdown-it-anchor';
21
- import { KatexOptions } from 'katex';
15
+ import Router from 'unplugin-vue-router/vite';
16
+ import Layouts from 'vite-plugin-vue-layouts';
22
17
  import { HeadersPluginOptions } from '@mdit-vue/plugin-headers';
23
18
  import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
24
19
  import { TocPluginOptions } from '@mdit-vue/plugin-toc';
20
+ import { KatexOptions } from 'katex';
21
+ import MarkdownIt from 'markdown-it';
22
+ import anchorPlugin from 'markdown-it-anchor';
23
+ import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
24
+ export { cli, run } from './cli/index.js';
25
25
  import { Awaitable } from '@antfu/utils';
26
26
  import * as defu from 'defu';
27
- import { P as PartialDeep$1 } from '../config-DfXD9Gt_.js';
27
+ import { P as PartialDeep$1 } from '../config-Dxu7i2Zs.js';
28
28
  import 'yargs';
29
- import 'medium-zoom';
30
29
  import '@vueuse/integrations/useFuse';
30
+ import 'medium-zoom';
31
31
  import 'vanilla-lazyload';
32
32
  import 'vue-router';
33
33
  import '@vueuse/core';
@@ -471,6 +471,17 @@ declare function resolveOptions(options?: ValaxyEntryOptions, mode?: ResolvedVal
471
471
  */
472
472
  declare function resolveThemeValaxyConfig(options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
473
473
 
474
+ declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
475
+ declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
476
+ /**
477
+ * post process for ssg fix extra string like `/html>` `ml>` `l>`
478
+ * handle tasks after ssg build
479
+ * todo find why
480
+ * @param options
481
+ */
482
+ declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
483
+ declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
484
+
474
485
  /**
475
486
  * merge vite.config.ts (user & theme)
476
487
  * @internal
@@ -482,26 +493,13 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
482
493
  */
483
494
  declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
484
495
 
485
- declare const EXCERPT_SEPARATOR = "<!-- more -->";
486
- declare const EXTERNAL_URL_RE: RegExp;
487
- declare const PATHNAME_PROTOCOL_RE: RegExp;
488
- declare const ALL_ROUTE = "/:all(.*)*";
489
- declare const customElements: Set<string>;
490
- /**
491
- * @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
492
- */
493
- declare const defaultViteConfig: UserConfig;
494
-
495
- declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
496
- declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
497
- /**
498
- * post process for ssg fix extra string like `/html>` `ml>` `l>`
499
- * handle tasks after ssg build
500
- * todo find why
501
- * @param options
502
- */
503
- declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
504
- declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
496
+ declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
497
+ setup?: ValaxyAddonResolver['setup'];
498
+ }): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
499
+ setup?: ValaxyAddonResolver["setup"];
500
+ };
501
+ declare const defineAddon: typeof defineValaxyAddon;
502
+ declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
505
503
 
506
504
  interface LoadConfigFromFileOptions {
507
505
  cwd?: string;
@@ -518,45 +516,6 @@ declare function loadConfig<T extends UserInputConfig = UserInputConfig>(options
518
516
  }): Promise<ResolvedConfig<T>>;
519
517
  declare function loadConfigFromFile<T extends UserInputConfig>(file: string, options?: LoadConfigFromFileOptions): Promise<ResolvedConfig<T>>;
520
518
 
521
- declare const defaultValaxyConfig: ValaxyNodeConfig;
522
- /**
523
- * Type helper for valaxy.config.ts
524
- */
525
- declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
526
- declare const defineConfig: typeof defineValaxyConfig;
527
- declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
528
- /**
529
- * merge valaxy.config
530
- * (source, default)
531
- */
532
- declare const mergeValaxyConfig: <Source extends {
533
- [x: string]: any;
534
- [x: number]: any;
535
- [x: symbol]: any;
536
- }, Defaults extends Array<{
537
- [x: string]: any;
538
- [x: number]: any;
539
- [x: symbol]: any;
540
- } | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
541
- /**
542
- * resolve user valaxy config
543
- * options only have userRoot
544
- * @param options
545
- */
546
- declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
547
- config: ValaxyNodeConfig;
548
- configFile: string;
549
- theme: string;
550
- }>;
551
-
552
- declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
553
- setup?: ValaxyAddonResolver['setup'];
554
- }): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
555
- setup?: ValaxyAddonResolver["setup"];
556
- };
557
- declare const defineAddon: typeof defineValaxyAddon;
558
- declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
559
-
560
519
  declare const defaultSiteConfig: SiteConfig;
561
520
  /**
562
521
  * Type helper for site.config.ts
@@ -595,9 +554,52 @@ type ValaxyTheme<ThemeConfig = DefaultTheme.Config> = ValaxyPickConfig & {
595
554
  declare function defineValaxyTheme<ThemeConfig = DefaultTheme.Config>(theme: ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>)): ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>);
596
555
  declare const defineTheme: typeof defineValaxyTheme;
597
556
 
557
+ declare const defaultValaxyConfig: ValaxyNodeConfig;
558
+ /**
559
+ * Type helper for valaxy.config.ts
560
+ */
561
+ declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
562
+ declare const defineConfig: typeof defineValaxyConfig;
563
+ declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
564
+ /**
565
+ * merge valaxy.config
566
+ * (source, default)
567
+ */
568
+ declare const mergeValaxyConfig: <Source extends {
569
+ [x: string]: any;
570
+ [x: number]: any;
571
+ [x: symbol]: any;
572
+ }, Defaults extends Array<{
573
+ [x: string]: any;
574
+ [x: number]: any;
575
+ [x: symbol]: any;
576
+ } | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
577
+ /**
578
+ * resolve user valaxy config
579
+ * options only have userRoot
580
+ * @param options
581
+ */
582
+ declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
583
+ config: ValaxyNodeConfig;
584
+ configFile: string;
585
+ theme: string;
586
+ }>;
587
+
598
588
  type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
599
589
  declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
600
590
 
591
+ declare const EXCERPT_SEPARATOR = "<!-- more -->";
592
+ declare const EXTERNAL_URL_RE: RegExp;
593
+ declare const PATHNAME_PROTOCOL_RE: RegExp;
594
+ declare const ALL_ROUTE = "/:all(.*)*";
595
+ declare const customElements: Set<string>;
596
+ /**
597
+ * @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
598
+ */
599
+ declare const defaultViteConfig: UserConfig;
600
+
601
+ declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
602
+
601
603
  /**
602
604
  * @packageDocumentation valaxy plugin
603
605
  */
@@ -611,22 +613,10 @@ declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
611
613
  */
612
614
  declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
613
615
 
614
- declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
615
-
616
616
  declare function createServer(valaxyApp: ValaxyNode, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
617
617
 
618
618
  declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
619
619
 
620
- declare const isInstalledGlobally: {
621
- value?: boolean;
622
- };
623
- /**
624
- * Before is CJS: use 'resolve'
625
- * ESM: use 'mlly'
626
- */
627
- declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
628
- declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
629
-
630
620
  /**
631
621
  * is url external (http/https:)
632
622
  * @param str
@@ -646,4 +636,14 @@ declare function isPath(name: string): boolean;
646
636
  */
647
637
  declare function transformObject(obj: any): string;
648
638
 
639
+ declare const isInstalledGlobally: {
640
+ value?: boolean;
641
+ };
642
+ /**
643
+ * Before is CJS: use 'resolve'
644
+ * ESM: use 'mlly'
645
+ */
646
+ declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
647
+ declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
648
+
649
649
  export { ALL_ROUTE, EXCERPT_SEPARATOR, EXTERNAL_URL_RE, type HookResult, type LoadConfigFromFileOptions, PATHNAME_PROTOCOL_RE, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, ViteValaxyPlugins, build, createServer, createValaxyLoader, customElements, defaultSiteConfig, defaultValaxyConfig, defaultViteConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isInstalledGlobally, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-5CL433IL.mjs";import"../chunk-WE2LNW3F.mjs";export{g as ALL_ROUTE,d as EXCERPT_SEPARATOR,e as EXTERNAL_URL_RE,f as PATHNAME_PROTOCOL_RE,P as ViteValaxyPlugins,Q as build,V as cli,U as createServer,O as createValaxyLoader,h as customElements,r as defaultSiteConfig,v as defaultValaxyConfig,i as defaultViteConfig,C as defineAddon,x as defineConfig,s as defineSiteConfig,H as defineTheme,I as defineUnoSetup,B as defineValaxyAddon,w as defineValaxyConfig,G as defineValaxyTheme,l as ensurePrefix,T as generateClientRedirects,a as getGitTimestamp,N as getIndexHtml,j as isExternal,b as isInstalledGlobally,n as isPath,p as loadConfig,q as loadConfigFromFile,z as mergeValaxyConfig,M as mergeViteConfigs,S as postProcessForSSG,J as processValaxyOptions,D as resolveAddonsConfig,c as resolveImportPath,K as resolveOptions,u as resolveSiteConfig,t as resolveSiteConfigFromRoot,E as resolveThemeConfigFromRoot,L as resolveThemeValaxyConfig,F as resolveUserThemeConfig,A as resolveValaxyConfig,y as resolveValaxyConfigFromRoot,W as run,k as slash,R as ssgBuild,m as toAtFS,o as transformObject};
2
+ import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-LB5BBIUM.mjs";import"../chunk-XKANGEKW.mjs";export{d as ALL_ROUTE,a as EXCERPT_SEPARATOR,b as EXTERNAL_URL_RE,c as PATHNAME_PROTOCOL_RE,P as ViteValaxyPlugins,Q as build,V as cli,U as createServer,O as createValaxyLoader,e as customElements,t as defaultSiteConfig,x as defaultValaxyConfig,f as defaultViteConfig,E as defineAddon,z as defineConfig,u as defineSiteConfig,J as defineTheme,K as defineUnoSetup,D as defineValaxyAddon,y as defineValaxyConfig,I as defineValaxyTheme,j as ensurePrefix,T as generateClientRedirects,g as getGitTimestamp,q as getIndexHtml,h as isExternal,n as isInstalledGlobally,l as isPath,r as loadConfig,s as loadConfigFromFile,B as mergeValaxyConfig,p as mergeViteConfigs,S as postProcessForSSG,L as processValaxyOptions,F as resolveAddonsConfig,o as resolveImportPath,M as resolveOptions,w as resolveSiteConfig,v as resolveSiteConfigFromRoot,G as resolveThemeConfigFromRoot,N as resolveThemeValaxyConfig,H as resolveUserThemeConfig,C as resolveValaxyConfig,A as resolveValaxyConfigFromRoot,W as run,i as slash,R as ssgBuild,k as toAtFS,m as transformObject};
@@ -1 +1 @@
1
- "use strict";var _chunk6GE64PZDcjs = require('../chunk-6GE64PZD.cjs');_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );_chunk6GE64PZDcjs.e.call(void 0, );
1
+ "use strict";var _chunkBJ22GQI6cjs = require('../chunk-BJ22GQI6.cjs');_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );
@@ -1,8 +1,8 @@
1
- import { a as PageFrontMatter, b as PostFrontMatter } from '../config-DfXD9Gt_.cjs';
2
- export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-DfXD9Gt_.cjs';
1
+ import { a as PageFrontMatter, b as PostFrontMatter } from '../config-Dxu7i2Zs.cjs';
2
+ export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-Dxu7i2Zs.cjs';
3
3
  import { Header } from '@valaxyjs/utils';
4
- import 'medium-zoom';
5
4
  import '@vueuse/integrations/useFuse';
5
+ import 'medium-zoom';
6
6
  import 'vanilla-lazyload';
7
7
  import 'vue-router';
8
8
  import '@vueuse/core';
@@ -1,8 +1,8 @@
1
- import { a as PageFrontMatter, b as PostFrontMatter } from '../config-DfXD9Gt_.js';
2
- export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-DfXD9Gt_.js';
1
+ import { a as PageFrontMatter, b as PostFrontMatter } from '../config-Dxu7i2Zs.js';
2
+ export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-Dxu7i2Zs.js';
3
3
  import { Header } from '@valaxyjs/utils';
4
- import 'medium-zoom';
5
4
  import '@vueuse/integrations/useFuse';
5
+ import 'medium-zoom';
6
6
  import 'vanilla-lazyload';
7
7
  import 'vue-router';
8
8
  import '@vueuse/core';
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{d as e}from"../chunk-WE2LNW3F.mjs";e();e();e();e();e();e();e();e();e();e();
2
+ import{d as e}from"../chunk-XKANGEKW.mjs";e();e();e();e();e();e();e();e();e();e();