valaxy 0.19.8 → 0.19.10
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/client/components/ValaxyApp.vue +3 -0
- package/client/components/ValaxyFootnoteTooltip.vue +19 -0
- package/client/composables/collections.ts +28 -0
- package/client/composables/common.ts +21 -4
- package/client/composables/dark.ts +0 -2
- package/client/composables/global.ts +16 -0
- package/client/composables/index.ts +1 -0
- package/client/define/collection.ts +27 -0
- package/client/define/index.ts +1 -0
- package/client/index.ts +3 -0
- package/client/modules/floating-vue.ts +10 -0
- package/client/modules/valaxy.ts +8 -7
- package/client/setup/main.ts +2 -0
- package/client/styles/css/css-vars.css +1 -1
- package/client/utils/time.ts +5 -6
- package/dist/chunk-D4PSNC26.mjs +157 -0
- package/dist/chunk-QWUYDMZE.cjs +156 -0
- package/dist/{config-_Vh4V6Lh.d.cts → config-DBw8bnRV.d.cts} +5 -0
- package/dist/{config-_Vh4V6Lh.d.ts → config-DBw8bnRV.d.ts} +5 -0
- package/dist/node/cli/index.cjs +1 -1
- package/dist/node/cli/index.mjs +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +1 -1
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +1 -1
- package/package.json +30 -28
- package/types/config.ts +6 -0
- package/dist/chunk-T3PZ57XX.mjs +0 -157
- package/dist/chunk-YNR6K7DA.cjs +0 -156
- /package/dist/{chunk-635QRI6N.cjs → chunk-DXFOPAC2.cjs} +0 -0
- /package/dist/{chunk-FDUDFMUS.mjs → chunk-GLTG622Q.mjs} +0 -0
|
@@ -601,6 +601,11 @@ interface SiteConfig {
|
|
|
601
601
|
enable: boolean;
|
|
602
602
|
options: ILazyLoadOptions;
|
|
603
603
|
};
|
|
604
|
+
/**
|
|
605
|
+
* Floating Vue configuration for floating footnote tooltips.
|
|
606
|
+
* @see https://floating-vue.starpad.dev/guide/config
|
|
607
|
+
*/
|
|
608
|
+
floatingVue: any;
|
|
604
609
|
/**
|
|
605
610
|
* displayed posts length in every page
|
|
606
611
|
* @default 7
|
|
@@ -601,6 +601,11 @@ interface SiteConfig {
|
|
|
601
601
|
enable: boolean;
|
|
602
602
|
options: ILazyLoadOptions;
|
|
603
603
|
};
|
|
604
|
+
/**
|
|
605
|
+
* Floating Vue configuration for floating footnote tooltips.
|
|
606
|
+
* @see https://floating-vue.starpad.dev/guide/config
|
|
607
|
+
*/
|
|
608
|
+
floatingVue: any;
|
|
604
609
|
/**
|
|
605
610
|
* displayed posts length in every page
|
|
606
611
|
* @default 7
|
package/dist/node/cli/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQWUYDMZEcjs = require('../../chunk-QWUYDMZE.cjs');require('../../chunk-DXFOPAC2.cjs');exports.cli = _chunkQWUYDMZEcjs.T; exports.run = _chunkQWUYDMZEcjs.U;
|
package/dist/node/cli/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{T as a,U as b}from"../../chunk-
|
|
2
|
+
import{T as a,U as b}from"../../chunk-D4PSNC26.mjs";import"../../chunk-GLTG622Q.mjs";export{a as cli,b as run};
|
package/dist/node/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQWUYDMZEcjs = require('../chunk-QWUYDMZE.cjs');require('../chunk-DXFOPAC2.cjs');exports.ALL_ROUTE = _chunkQWUYDMZEcjs.e; exports.EXCERPT_SEPARATOR = _chunkQWUYDMZEcjs.b; exports.EXTERNAL_URL_RE = _chunkQWUYDMZEcjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkQWUYDMZEcjs.d; exports.ViteValaxyPlugins = _chunkQWUYDMZEcjs.N; exports.build = _chunkQWUYDMZEcjs.O; exports.cli = _chunkQWUYDMZEcjs.T; exports.createServer = _chunkQWUYDMZEcjs.S; exports.createValaxyLoader = _chunkQWUYDMZEcjs.M; exports.customElements = _chunkQWUYDMZEcjs.f; exports.defaultSiteConfig = _chunkQWUYDMZEcjs.p; exports.defaultValaxyConfig = _chunkQWUYDMZEcjs.t; exports.defineAddon = _chunkQWUYDMZEcjs.A; exports.defineConfig = _chunkQWUYDMZEcjs.v; exports.defineSiteConfig = _chunkQWUYDMZEcjs.q; exports.defineTheme = _chunkQWUYDMZEcjs.F; exports.defineUnoSetup = _chunkQWUYDMZEcjs.G; exports.defineValaxyAddon = _chunkQWUYDMZEcjs.z; exports.defineValaxyConfig = _chunkQWUYDMZEcjs.u; exports.defineValaxyTheme = _chunkQWUYDMZEcjs.E; exports.ensurePrefix = _chunkQWUYDMZEcjs.j; exports.generateClientRedirects = _chunkQWUYDMZEcjs.R; exports.getGitTimestamp = _chunkQWUYDMZEcjs.a; exports.getIndexHtml = _chunkQWUYDMZEcjs.L; exports.isExternal = _chunkQWUYDMZEcjs.h; exports.isPath = _chunkQWUYDMZEcjs.l; exports.loadConfig = _chunkQWUYDMZEcjs.n; exports.loadConfigFromFile = _chunkQWUYDMZEcjs.o; exports.mergeValaxyConfig = _chunkQWUYDMZEcjs.x; exports.mergeViteConfigs = _chunkQWUYDMZEcjs.K; exports.postProcessForSSG = _chunkQWUYDMZEcjs.Q; exports.processValaxyOptions = _chunkQWUYDMZEcjs.H; exports.resolveAddonsConfig = _chunkQWUYDMZEcjs.B; exports.resolveImportPath = _chunkQWUYDMZEcjs.g; exports.resolveOptions = _chunkQWUYDMZEcjs.I; exports.resolveSiteConfig = _chunkQWUYDMZEcjs.s; exports.resolveSiteConfigFromRoot = _chunkQWUYDMZEcjs.r; exports.resolveThemeConfigFromRoot = _chunkQWUYDMZEcjs.C; exports.resolveThemeValaxyConfig = _chunkQWUYDMZEcjs.J; exports.resolveUserThemeConfig = _chunkQWUYDMZEcjs.D; exports.resolveValaxyConfig = _chunkQWUYDMZEcjs.y; exports.resolveValaxyConfigFromRoot = _chunkQWUYDMZEcjs.w; exports.run = _chunkQWUYDMZEcjs.U; exports.slash = _chunkQWUYDMZEcjs.i; exports.ssgBuild = _chunkQWUYDMZEcjs.P; exports.toAtFS = _chunkQWUYDMZEcjs.k; exports.transformObject = _chunkQWUYDMZEcjs.m;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -23,7 +23,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
|
23
23
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
24
24
|
import { Awaitable } from '@antfu/utils';
|
|
25
25
|
import * as defu from 'defu';
|
|
26
|
-
import { P as PartialDeep$1 } from '../config-
|
|
26
|
+
import { P as PartialDeep$1 } from '../config-DBw8bnRV.cjs';
|
|
27
27
|
import 'yargs';
|
|
28
28
|
import 'medium-zoom';
|
|
29
29
|
import '@vueuse/integrations/useFuse';
|
package/dist/node/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
|
23
23
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
24
24
|
import { Awaitable } from '@antfu/utils';
|
|
25
25
|
import * as defu from 'defu';
|
|
26
|
-
import { P as PartialDeep$1 } from '../config-
|
|
26
|
+
import { P as PartialDeep$1 } from '../config-DBw8bnRV.js';
|
|
27
27
|
import 'yargs';
|
|
28
28
|
import 'medium-zoom';
|
|
29
29
|
import '@vueuse/integrations/useFuse';
|
package/dist/node/index.mjs
CHANGED
|
@@ -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,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-
|
|
2
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,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-D4PSNC26.mjs";import"../chunk-GLTG622Q.mjs";export{e as ALL_ROUTE,b as EXCERPT_SEPARATOR,c as EXTERNAL_URL_RE,d as PATHNAME_PROTOCOL_RE,N as ViteValaxyPlugins,O as build,T as cli,S as createServer,M as createValaxyLoader,f as customElements,p as defaultSiteConfig,t as defaultValaxyConfig,A as defineAddon,v as defineConfig,q as defineSiteConfig,F as defineTheme,G as defineUnoSetup,z as defineValaxyAddon,u as defineValaxyConfig,E as defineValaxyTheme,j as ensurePrefix,R as generateClientRedirects,a as getGitTimestamp,L as getIndexHtml,h as isExternal,l as isPath,n as loadConfig,o as loadConfigFromFile,x as mergeValaxyConfig,K as mergeViteConfigs,Q as postProcessForSSG,H as processValaxyOptions,B as resolveAddonsConfig,g as resolveImportPath,I as resolveOptions,s as resolveSiteConfig,r as resolveSiteConfigFromRoot,C as resolveThemeConfigFromRoot,J as resolveThemeValaxyConfig,D as resolveUserThemeConfig,y as resolveValaxyConfig,w as resolveValaxyConfigFromRoot,U as run,i as slash,P as ssgBuild,k as toAtFS,m as transformObject};
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var _chunkDXFOPAC2cjs = require('../chunk-DXFOPAC2.cjs');_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-
|
|
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-
|
|
1
|
+
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-DBw8bnRV.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-DBw8bnRV.cjs';
|
|
3
3
|
import { Header } from '@valaxyjs/utils';
|
|
4
4
|
import 'medium-zoom';
|
|
5
5
|
import '@vueuse/integrations/useFuse';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-
|
|
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-
|
|
1
|
+
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-DBw8bnRV.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-DBw8bnRV.js';
|
|
3
3
|
import { Header } from '@valaxyjs/utils';
|
|
4
4
|
import 'medium-zoom';
|
|
5
5
|
import '@vueuse/integrations/useFuse';
|
package/dist/types/index.mjs
CHANGED
|
@@ -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-
|
|
2
|
+
import{d as e}from"../chunk-GLTG622Q.mjs";e();e();e();e();e();e();e();e();e();e();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.10",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -58,27 +58,29 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@antfu/utils": "^0.7.10",
|
|
60
60
|
"@ctrl/tinycolor": "^4.1.0",
|
|
61
|
-
"@iconify-json/ri": "^1.
|
|
61
|
+
"@iconify-json/ri": "^1.2.0",
|
|
62
62
|
"@intlify/unplugin-vue-i18n": "^4.0.0",
|
|
63
63
|
"@types/katex": "^0.16.7",
|
|
64
|
-
"@
|
|
65
|
-
"@unhead/
|
|
66
|
-
"@unhead/
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@vueuse/
|
|
64
|
+
"@types/luxon": "^3.4.2",
|
|
65
|
+
"@unhead/addons": "^1.11.2",
|
|
66
|
+
"@unhead/schema-org": "^1.11.2",
|
|
67
|
+
"@unhead/vue": "^1.11.2",
|
|
68
|
+
"@vitejs/plugin-vue": "^5.1.3",
|
|
69
|
+
"@vue/devtools-api": "^7.4.5",
|
|
70
|
+
"@vueuse/core": "^11.0.3",
|
|
71
|
+
"@vueuse/integrations": "^11.0.3",
|
|
71
72
|
"consola": "^3.2.3",
|
|
72
73
|
"critters": "^0.0.24",
|
|
73
74
|
"cross-spawn": "^7.0.3",
|
|
74
|
-
"css-i18n": "^0.0.
|
|
75
|
+
"css-i18n": "^0.0.5",
|
|
75
76
|
"date-fns": "^3.6.0",
|
|
76
77
|
"date-fns-tz": "^3.1.3",
|
|
77
|
-
"debug": "^4.3.
|
|
78
|
+
"debug": "^4.3.7",
|
|
78
79
|
"defu": "^6.1.4",
|
|
79
80
|
"ejs": "^3.1.10",
|
|
80
81
|
"escape-html": "^1.0.3",
|
|
81
82
|
"feed": "^4.2.2",
|
|
83
|
+
"floating-vue": "^5.2.2",
|
|
82
84
|
"fs-extra": "^11.2.0",
|
|
83
85
|
"fuse.js": "^7.0.0",
|
|
84
86
|
"gray-matter": "^4.0.3",
|
|
@@ -89,45 +91,45 @@
|
|
|
89
91
|
"js-base64": "^3.7.7",
|
|
90
92
|
"js-yaml": "^4.1.0",
|
|
91
93
|
"katex": "^0.16.11",
|
|
92
|
-
"lru-cache": "^11.0.
|
|
94
|
+
"lru-cache": "^11.0.1",
|
|
93
95
|
"luxon": "^3.5.0",
|
|
94
96
|
"markdown-it": "^14.1.0",
|
|
95
|
-
"markdown-it-anchor": "^9.0
|
|
97
|
+
"markdown-it-anchor": "^9.2.0",
|
|
96
98
|
"markdown-it-attrs": "^4.2.0",
|
|
97
99
|
"markdown-it-container": "^4.0.0",
|
|
98
100
|
"markdown-it-emoji": "^3.0.0",
|
|
99
101
|
"markdown-it-footnote": "^4.0.0",
|
|
100
102
|
"markdown-it-image-figures": "^2.1.1",
|
|
101
|
-
"markdown-it-table-of-contents": "^0.
|
|
103
|
+
"markdown-it-table-of-contents": "^0.8.0",
|
|
102
104
|
"markdown-it-task-lists": "^2.1.1",
|
|
103
105
|
"medium-zoom": "^1.1.0",
|
|
104
|
-
"mermaid": "^
|
|
106
|
+
"mermaid": "^11.2.0",
|
|
105
107
|
"nprogress": "^0.2.0",
|
|
106
108
|
"open": "10.1.0",
|
|
107
|
-
"ora": "^8.0
|
|
109
|
+
"ora": "^8.1.0",
|
|
108
110
|
"pascalcase": "^2.0.0",
|
|
109
111
|
"pathe": "^1.1.2",
|
|
110
112
|
"pinia": "^2.2.2",
|
|
111
113
|
"qrcode": "^1.5.4",
|
|
112
|
-
"sass": "^1.
|
|
113
|
-
"shiki": "^1.
|
|
114
|
+
"sass": "^1.78.0",
|
|
115
|
+
"shiki": "^1.17.6",
|
|
114
116
|
"star-markdown-css": "^0.5.1",
|
|
115
|
-
"unocss": "^0.62.
|
|
117
|
+
"unocss": "^0.62.3",
|
|
116
118
|
"unplugin-vue-components": "^0.27.4",
|
|
117
119
|
"unplugin-vue-markdown": "^0.26.2",
|
|
118
|
-
"unplugin-vue-router": "^0.10.
|
|
120
|
+
"unplugin-vue-router": "^0.10.8",
|
|
119
121
|
"vanilla-lazyload": "^19.1.3",
|
|
120
|
-
"vite": "^5.4.
|
|
121
|
-
"vite-plugin-vue-devtools": "^7.
|
|
122
|
+
"vite": "^5.4.5",
|
|
123
|
+
"vite-plugin-vue-devtools": "^7.4.5",
|
|
122
124
|
"vite-plugin-vue-layouts": "0.11.0",
|
|
123
125
|
"vite-ssg": "0.23.7",
|
|
124
126
|
"vite-ssg-sitemap": "0.6.1",
|
|
125
|
-
"vue": "^3.
|
|
126
|
-
"vue-i18n": "^
|
|
127
|
-
"vue-router": "^4.4.
|
|
127
|
+
"vue": "^3.5.5",
|
|
128
|
+
"vue-i18n": "^10.0.1",
|
|
129
|
+
"vue-router": "^4.4.5",
|
|
128
130
|
"yargs": "^17.7.2",
|
|
129
|
-
"@valaxyjs/
|
|
130
|
-
"@valaxyjs/
|
|
131
|
+
"@valaxyjs/devtools": "0.19.10",
|
|
132
|
+
"@valaxyjs/utils": "0.19.10"
|
|
131
133
|
},
|
|
132
134
|
"devDependencies": {
|
|
133
135
|
"@mdit-vue/plugin-component": "^2.1.3",
|
|
@@ -140,7 +142,7 @@
|
|
|
140
142
|
"@types/cross-spawn": "^6.0.6",
|
|
141
143
|
"@types/ejs": "^3.1.5",
|
|
142
144
|
"@types/html-to-text": "^9.0.4",
|
|
143
|
-
"@types/
|
|
145
|
+
"@types/js-yaml": "^4.0.9",
|
|
144
146
|
"@types/markdown-it": "^14.1.2",
|
|
145
147
|
"@types/markdown-it-footnote": "^3.0.4",
|
|
146
148
|
"@types/nprogress": "^0.2.3",
|
package/types/config.ts
CHANGED
|
@@ -288,6 +288,12 @@ export interface SiteConfig {
|
|
|
288
288
|
options: ILazyLoadOptions
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
+
/**
|
|
292
|
+
* Floating Vue configuration for floating footnote tooltips.
|
|
293
|
+
* @see https://floating-vue.starpad.dev/guide/config
|
|
294
|
+
*/
|
|
295
|
+
floatingVue: any // FloatingVueConfig is an alias of any, consult the documentation for actual type
|
|
296
|
+
|
|
291
297
|
/**
|
|
292
298
|
* displayed posts length in every page
|
|
293
299
|
* @default 7
|