valaxy 0.19.13 → 0.20.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/components/ValaxyFootnoteTooltip.vue +0 -2
- package/client/components/ValaxyOverlay.vue +1 -1
- package/client/composables/helper/index.ts +2 -0
- package/client/composables/helper/useScreenSize.ts +22 -0
- package/client/composables/outline/anchor.ts +64 -63
- package/client/composables/post/index.ts +1 -0
- package/client/composables/post/usePagination.ts +65 -0
- package/client/composables/sidebar.ts +3 -40
- package/client/modules/floating-vue.ts +9 -1
- package/client/stores/app.ts +0 -7
- package/client/styles/common/code.scss +2 -2
- package/client/styles/components/code-group.scss +3 -4
- package/client/styles/palette.scss +9 -9
- package/client/utils/helper.ts +7 -0
- package/dist/{chunk-X25DVJU7.mjs → chunk-2R5XZKFW.mjs} +23 -23
- package/dist/{chunk-J5LLA2M3.cjs → chunk-FCD4Y5P4.cjs} +25 -25
- package/dist/{config-BNXiUUii.d.cts → config-DRImYfNf.d.cts} +4 -0
- package/dist/{config-BNXiUUii.d.ts → config-DRImYfNf.d.ts} +4 -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 +8 -9
- package/types/config.ts +4 -0
- /package/client/composables/{helper.ts → helper/useInvisibleElement.ts} +0 -0
- /package/dist/{chunk-LD7IYUN2.mjs → chunk-TNTV5UAJ.mjs} +0 -0
- /package/dist/{chunk-2PA6UTKF.cjs → chunk-VWINQN6R.cjs} +0 -0
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 _chunkFCD4Y5P4cjs = require('../../chunk-FCD4Y5P4.cjs');require('../../chunk-VWINQN6R.cjs');exports.cli = _chunkFCD4Y5P4cjs.U; exports.run = _chunkFCD4Y5P4cjs.V;
|
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{U as a,V as b}from"../../chunk-
|
|
2
|
+
import{U as a,V as b}from"../../chunk-2R5XZKFW.mjs";import"../../chunk-TNTV5UAJ.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 _chunkFCD4Y5P4cjs = require('../chunk-FCD4Y5P4.cjs');require('../chunk-VWINQN6R.cjs');exports.ALL_ROUTE = _chunkFCD4Y5P4cjs.e; exports.EXCERPT_SEPARATOR = _chunkFCD4Y5P4cjs.b; exports.EXTERNAL_URL_RE = _chunkFCD4Y5P4cjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkFCD4Y5P4cjs.d; exports.ViteValaxyPlugins = _chunkFCD4Y5P4cjs.O; exports.build = _chunkFCD4Y5P4cjs.P; exports.cli = _chunkFCD4Y5P4cjs.U; exports.createServer = _chunkFCD4Y5P4cjs.T; exports.createValaxyLoader = _chunkFCD4Y5P4cjs.N; exports.customElements = _chunkFCD4Y5P4cjs.f; exports.defaultSiteConfig = _chunkFCD4Y5P4cjs.q; exports.defaultValaxyConfig = _chunkFCD4Y5P4cjs.u; exports.defaultViteConfig = _chunkFCD4Y5P4cjs.g; exports.defineAddon = _chunkFCD4Y5P4cjs.B; exports.defineConfig = _chunkFCD4Y5P4cjs.w; exports.defineSiteConfig = _chunkFCD4Y5P4cjs.r; exports.defineTheme = _chunkFCD4Y5P4cjs.G; exports.defineUnoSetup = _chunkFCD4Y5P4cjs.H; exports.defineValaxyAddon = _chunkFCD4Y5P4cjs.A; exports.defineValaxyConfig = _chunkFCD4Y5P4cjs.v; exports.defineValaxyTheme = _chunkFCD4Y5P4cjs.F; exports.ensurePrefix = _chunkFCD4Y5P4cjs.k; exports.generateClientRedirects = _chunkFCD4Y5P4cjs.S; exports.getGitTimestamp = _chunkFCD4Y5P4cjs.a; exports.getIndexHtml = _chunkFCD4Y5P4cjs.M; exports.isExternal = _chunkFCD4Y5P4cjs.i; exports.isPath = _chunkFCD4Y5P4cjs.m; exports.loadConfig = _chunkFCD4Y5P4cjs.o; exports.loadConfigFromFile = _chunkFCD4Y5P4cjs.p; exports.mergeValaxyConfig = _chunkFCD4Y5P4cjs.y; exports.mergeViteConfigs = _chunkFCD4Y5P4cjs.L; exports.postProcessForSSG = _chunkFCD4Y5P4cjs.R; exports.processValaxyOptions = _chunkFCD4Y5P4cjs.I; exports.resolveAddonsConfig = _chunkFCD4Y5P4cjs.C; exports.resolveImportPath = _chunkFCD4Y5P4cjs.h; exports.resolveOptions = _chunkFCD4Y5P4cjs.J; exports.resolveSiteConfig = _chunkFCD4Y5P4cjs.t; exports.resolveSiteConfigFromRoot = _chunkFCD4Y5P4cjs.s; exports.resolveThemeConfigFromRoot = _chunkFCD4Y5P4cjs.D; exports.resolveThemeValaxyConfig = _chunkFCD4Y5P4cjs.K; exports.resolveUserThemeConfig = _chunkFCD4Y5P4cjs.E; exports.resolveValaxyConfig = _chunkFCD4Y5P4cjs.z; exports.resolveValaxyConfigFromRoot = _chunkFCD4Y5P4cjs.x; exports.run = _chunkFCD4Y5P4cjs.V; exports.slash = _chunkFCD4Y5P4cjs.j; exports.ssgBuild = _chunkFCD4Y5P4cjs.Q; exports.toAtFS = _chunkFCD4Y5P4cjs.l; exports.transformObject = _chunkFCD4Y5P4cjs.n;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -24,7 +24,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
|
24
24
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
25
25
|
import { Awaitable } from '@antfu/utils';
|
|
26
26
|
import * as defu from 'defu';
|
|
27
|
-
import { P as PartialDeep$1 } from '../config-
|
|
27
|
+
import { P as PartialDeep$1 } from '../config-DRImYfNf.cjs';
|
|
28
28
|
import 'yargs';
|
|
29
29
|
import 'medium-zoom';
|
|
30
30
|
import '@vueuse/integrations/useFuse';
|
package/dist/node/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
|
24
24
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
25
25
|
import { Awaitable } from '@antfu/utils';
|
|
26
26
|
import * as defu from 'defu';
|
|
27
|
-
import { P as PartialDeep$1 } from '../config-
|
|
27
|
+
import { P as PartialDeep$1 } from '../config-DRImYfNf.js';
|
|
28
28
|
import 'yargs';
|
|
29
29
|
import 'medium-zoom';
|
|
30
30
|
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,V,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,V,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-2R5XZKFW.mjs";import"../chunk-TNTV5UAJ.mjs";export{e as ALL_ROUTE,b as EXCERPT_SEPARATOR,c as EXTERNAL_URL_RE,d as PATHNAME_PROTOCOL_RE,O as ViteValaxyPlugins,P as build,U as cli,T as createServer,N as createValaxyLoader,f as customElements,q as defaultSiteConfig,u as defaultValaxyConfig,g as defaultViteConfig,B as defineAddon,w as defineConfig,r as defineSiteConfig,G as defineTheme,H as defineUnoSetup,A as defineValaxyAddon,v as defineValaxyConfig,F as defineValaxyTheme,k as ensurePrefix,S as generateClientRedirects,a as getGitTimestamp,M as getIndexHtml,i as isExternal,m as isPath,o as loadConfig,p as loadConfigFromFile,y as mergeValaxyConfig,L as mergeViteConfigs,R as postProcessForSSG,I as processValaxyOptions,C as resolveAddonsConfig,h as resolveImportPath,J as resolveOptions,t as resolveSiteConfig,s as resolveSiteConfigFromRoot,D as resolveThemeConfigFromRoot,K as resolveThemeValaxyConfig,E as resolveUserThemeConfig,z as resolveValaxyConfig,x as resolveValaxyConfigFromRoot,V as run,j as slash,Q as ssgBuild,l as toAtFS,n as transformObject};
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var _chunkVWINQN6Rcjs = require('../chunk-VWINQN6R.cjs');_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.e.call(void 0, );_chunkVWINQN6Rcjs.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-DRImYfNf.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-DRImYfNf.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-DRImYfNf.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-DRImYfNf.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-TNTV5UAJ.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.
|
|
4
|
+
"version": "0.20.0-beta.1",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"@antfu/install-pkg": "^0.4.1",
|
|
60
60
|
"@antfu/utils": "^0.7.10",
|
|
61
61
|
"@clack/prompts": "^0.7.0",
|
|
62
|
-
"@ctrl/tinycolor": "^4.1.0",
|
|
63
62
|
"@iconify-json/ri": "^1.2.0",
|
|
64
63
|
"@intlify/unplugin-vue-i18n": "4",
|
|
65
64
|
"@types/katex": "^0.16.7",
|
|
@@ -89,7 +88,7 @@
|
|
|
89
88
|
"hookable": "^5.5.3",
|
|
90
89
|
"html-to-text": "^9.0.5",
|
|
91
90
|
"is-installed-globally": "^1.0.0",
|
|
92
|
-
"jiti": "^2.
|
|
91
|
+
"jiti": "^2.3.1",
|
|
93
92
|
"js-base64": "^3.7.7",
|
|
94
93
|
"js-yaml": "^4.1.0",
|
|
95
94
|
"katex": "^0.16.11",
|
|
@@ -105,18 +104,18 @@
|
|
|
105
104
|
"markdown-it-table-of-contents": "^0.8.0",
|
|
106
105
|
"markdown-it-task-lists": "^2.1.1",
|
|
107
106
|
"medium-zoom": "^1.1.0",
|
|
108
|
-
"mermaid": "^11.
|
|
107
|
+
"mermaid": "^11.3.0",
|
|
109
108
|
"nprogress": "^0.2.0",
|
|
110
109
|
"open": "10.1.0",
|
|
111
110
|
"ora": "^8.1.0",
|
|
112
111
|
"pascalcase": "^2.0.0",
|
|
113
112
|
"pathe": "^1.1.2",
|
|
114
|
-
"pinia": "^2.2.
|
|
113
|
+
"pinia": "^2.2.4",
|
|
115
114
|
"qrcode": "^1.5.4",
|
|
116
115
|
"sass": "^1.79.4",
|
|
117
116
|
"shiki": "^1.21.0",
|
|
118
117
|
"star-markdown-css": "^0.5.2",
|
|
119
|
-
"unocss": "^0.63.
|
|
118
|
+
"unocss": "^0.63.3",
|
|
120
119
|
"unplugin-vue-components": "^0.27.4",
|
|
121
120
|
"unplugin-vue-markdown": "^0.26.2",
|
|
122
121
|
"unplugin-vue-router": "^0.10.8",
|
|
@@ -126,12 +125,12 @@
|
|
|
126
125
|
"vite-plugin-vue-layouts": "0.11.0",
|
|
127
126
|
"vite-ssg": "0.23.7",
|
|
128
127
|
"vite-ssg-sitemap": "0.6.1",
|
|
129
|
-
"vue": "^3.5.
|
|
128
|
+
"vue": "^3.5.11",
|
|
130
129
|
"vue-i18n": "^10.0.3",
|
|
131
130
|
"vue-router": "^4.4.5",
|
|
132
131
|
"yargs": "^17.7.2",
|
|
133
|
-
"@valaxyjs/
|
|
134
|
-
"@valaxyjs/
|
|
132
|
+
"@valaxyjs/devtools": "0.20.0-beta.1",
|
|
133
|
+
"@valaxyjs/utils": "0.20.0-beta.1"
|
|
135
134
|
},
|
|
136
135
|
"devDependencies": {
|
|
137
136
|
"@mdit-vue/plugin-component": "^2.1.3",
|
package/types/config.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|