valaxy 0.15.9 → 0.15.11-alpha.0

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 (148) hide show
  1. package/bin/valaxy.cjs +1 -1
  2. package/bin/valaxy.mjs +1 -1
  3. package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +1 -0
  4. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +227 -0
  5. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +752 -0
  6. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +31 -0
  7. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +42 -0
  8. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +172 -0
  9. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +1105 -0
  10. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +286 -0
  11. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +627 -0
  12. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +2460 -0
  13. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +1071 -0
  14. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +490 -0
  15. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +1851 -0
  16. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +1444 -0
  17. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +321 -0
  18. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +2625 -0
  19. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +244 -0
  20. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +370 -0
  21. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +3684 -0
  22. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +969 -0
  23. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +517 -0
  24. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +4159 -0
  25. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +676 -0
  26. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +768 -0
  27. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +527 -0
  28. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +424 -0
  29. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +563 -0
  30. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +3294 -0
  31. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +202 -0
  32. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +549 -0
  33. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +4161 -0
  34. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +1170 -0
  35. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +1564 -0
  36. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +6119 -0
  37. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +180 -0
  38. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +5895 -0
  39. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +278 -0
  40. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +752 -0
  41. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +1605 -0
  42. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +4 -0
  43. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +477 -0
  44. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +286 -0
  45. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +3742 -0
  46. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +548 -0
  47. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +574 -0
  48. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +172 -0
  49. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +669 -0
  50. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +619 -0
  51. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +830 -0
  52. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +350 -0
  53. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +1131 -0
  54. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +4963 -0
  55. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +675 -0
  56. package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +33 -0
  57. package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +6239 -0
  58. package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
  59. package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +1 -0
  60. package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +227 -0
  61. package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +752 -0
  62. package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +31 -0
  63. package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +42 -0
  64. package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +172 -0
  65. package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +1105 -0
  66. package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +286 -0
  67. package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +627 -0
  68. package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +2460 -0
  69. package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +1071 -0
  70. package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +490 -0
  71. package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +1851 -0
  72. package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +1444 -0
  73. package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +321 -0
  74. package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +2625 -0
  75. package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +244 -0
  76. package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +370 -0
  77. package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +3684 -0
  78. package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +969 -0
  79. package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +517 -0
  80. package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +4159 -0
  81. package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +676 -0
  82. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +768 -0
  83. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +527 -0
  84. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +424 -0
  85. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +563 -0
  86. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +3294 -0
  87. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +202 -0
  88. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +549 -0
  89. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +4161 -0
  90. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +1170 -0
  91. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +1564 -0
  92. package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +6119 -0
  93. package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +180 -0
  94. package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +5895 -0
  95. package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +278 -0
  96. package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +752 -0
  97. package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +1605 -0
  98. package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +4 -0
  99. package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +477 -0
  100. package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +286 -0
  101. package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +3742 -0
  102. package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +548 -0
  103. package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +574 -0
  104. package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +172 -0
  105. package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +669 -0
  106. package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +619 -0
  107. package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +830 -0
  108. package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +350 -0
  109. package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +1131 -0
  110. package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +4963 -0
  111. package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +675 -0
  112. package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +33 -0
  113. package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +6239 -0
  114. package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
  115. package/client/App.vue +1 -1
  116. package/client/components/AppLink.vue +2 -2
  117. package/client/components/ValaxyMd.vue +1 -1
  118. package/client/components/ValaxyOverlay.vue +2 -2
  119. package/client/components/ValaxyPagination.vue +6 -6
  120. package/client/components/debug/ValaxyDevtools.vue +6 -0
  121. package/client/composables/dark.ts +39 -0
  122. package/client/layouts/404.vue +1 -1
  123. package/client/layouts/layout.vue +2 -2
  124. package/client/locales/zh-CN.yml +1 -1
  125. package/client/pages/[...all].vue +2 -0
  126. package/client/styles/common/transition.scss +1 -0
  127. package/client/styles/common/view-transition.css +21 -0
  128. package/dist/chunk-3EJGKTUH.mjs +130 -0
  129. package/dist/chunk-RDNVTVQ5.cjs +129 -0
  130. package/dist/{config-29a16f62.d.ts → config-e5704a2c.d.ts} +223 -1
  131. package/dist/node/cli/index.cjs +1 -0
  132. package/dist/node/cli/index.mjs +2 -0
  133. package/dist/node/index.cjs +1 -1
  134. package/dist/node/index.d.cts +14 -2
  135. package/dist/node/index.d.ts +14 -2
  136. package/dist/node/index.mjs +1 -1
  137. package/dist/types/index.d.cts +3 -220
  138. package/dist/types/index.d.ts +3 -220
  139. package/dist/types/index.mjs +1 -1
  140. package/package.json +19 -18
  141. package/types/config.ts +6 -0
  142. package/LICENSE +0 -21
  143. package/dist/chunk-57ETS265.mjs +0 -130
  144. package/dist/chunk-RAU3RNGI.cjs +0 -129
  145. package/dist/node/cli.cjs +0 -1
  146. package/dist/node/cli.mjs +0 -2
  147. /package/dist/node/{cli.d.cts → cli/index.d.cts} +0 -0
  148. /package/dist/node/{cli.d.ts → cli/index.d.ts} +0 -0
@@ -0,0 +1,1170 @@
1
+ import { defineComponent, mergeProps, useSSRContext, provide, withCtx, createTextVNode, createVNode, renderSlot } from "vue";
2
+ import { ssrRenderAttrs, ssrRenderSlot, ssrRenderAttr, ssrInterpolate, ssrRenderComponent, ssrRenderStyle } from "vue/server-renderer";
3
+ import { useScriptTag } from "@vueuse/core";
4
+ import { _ as _export_sfc, a as _sfc_main$2, b as __unplugin_components_2 } from "../main.mjs";
5
+ import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
6
+ import { useRoute } from "vue-router";
7
+ import "vite-ssg";
8
+ import "pinia";
9
+ import "dayjs";
10
+ import "dayjs/plugin/utc.js";
11
+ import "dayjs/plugin/timezone.js";
12
+ import "dayjs/locale/zh-cn.js";
13
+ import "body-scroll-lock";
14
+ import "@intlify/shared";
15
+ import "@intlify/core-base";
16
+ import "@vue/devtools-api";
17
+ import "@unhead/schema-org";
18
+ import "@unhead/vue";
19
+ import "dayjs/plugin/relativeTime.js";
20
+ import "defu";
21
+ import "nprogress";
22
+ import "medium-zoom";
23
+ import "vanilla-lazyload";
24
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25
+ __name: "CodePen",
26
+ __ssrInlineRender: true,
27
+ props: {
28
+ id: {},
29
+ user: {},
30
+ name: { default: "" },
31
+ tab: { default: "html,result" }
32
+ },
33
+ setup(__props) {
34
+ useScriptTag("https://static.codepen.io/assets/embed/ei.js");
35
+ return (_ctx, _push, _parent, _attrs) => {
36
+ _push(`<p${ssrRenderAttrs(mergeProps({
37
+ class: "codepen flex justify-center items-center box-border border-2px border-solid my-4 p-4",
38
+ "data-default-tab": _ctx.tab,
39
+ "data-slug-hash": _ctx.id,
40
+ "data-user": _ctx.user
41
+ }, _attrs))}>`);
42
+ ssrRenderSlot(_ctx.$slots, "default", {}, () => {
43
+ _push(`<span> See the Pen `);
44
+ if (_ctx.name) {
45
+ _push(`<a${ssrRenderAttr("href", `https://codepen.io/${_ctx.user}/pen/${_ctx.id}`)}>${ssrInterpolate(_ctx.name)}</a>`);
46
+ } else {
47
+ _push(`<!---->`);
48
+ }
49
+ _push(` by ${ssrInterpolate(_ctx.user)} (<a${ssrRenderAttr("href", `https://codepen.io/${_ctx.user}`)}>@${ssrInterpolate(_ctx.user)}</a>) on <a href="https://codepen.io">CodePen</a>. </span>`);
50
+ }, _push, _parent);
51
+ _push(`</p>`);
52
+ };
53
+ }
54
+ });
55
+ const _sfc_setup$1 = _sfc_main$1.setup;
56
+ _sfc_main$1.setup = (props, ctx) => {
57
+ const ssrContext = useSSRContext();
58
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../valaxy-addon-components/components/CodePen.vue");
59
+ return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
60
+ };
61
+ const __pageData = JSON.parse('{"title":"Components","description":"","frontmatter":{"title":"Components","title_zh-CN":"组件","categories":["guide"],"end":false},"headers":[{"level":2,"title":"基础组件","slug":"基础组件","link":"#基础组件","children":[]},{"level":2,"title":"Basic Components","slug":"basic-components","link":"#basic-components","children":[{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]}]},{"level":2,"title":"辅助组件","slug":"辅助组件","link":"#辅助组件","children":[]},{"level":2,"title":"Helper Components","slug":"helper-components","link":"#helper-components","children":[]},{"level":2,"title":"自定义","slug":"自定义","link":"#自定义","children":[]}],"relativePath":"pages/guide/built-ins/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\built-ins\\\\index.md","lastUpdated":1696528959000}');
62
+ const data = JSON.parse('{"title":"Components","description":"","frontmatter":{"title":"Components","title_zh-CN":"组件","categories":["guide"],"end":false},"headers":[{"level":2,"title":"基础组件","slug":"基础组件","link":"#基础组件","children":[]},{"level":2,"title":"Basic Components","slug":"basic-components","link":"#basic-components","children":[{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]}]},{"level":2,"title":"辅助组件","slug":"辅助组件","link":"#辅助组件","children":[]},{"level":2,"title":"Helper Components","slug":"helper-components","link":"#helper-components","children":[]},{"level":2,"title":"自定义","slug":"自定义","link":"#自定义","children":[]}],"relativePath":"pages/guide/built-ins/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\built-ins\\\\index.md","lastUpdated":1696528959000}');
63
+ const _sfc_main = {
64
+ name: "pages/guide/built-ins/index.md",
65
+ data() {
66
+ return { data, frontmatter: data.frontmatter, $frontmatter: data.frontmatter };
67
+ },
68
+ setup() {
69
+ const route = useRoute();
70
+ route.meta.frontmatter = Object.assign(route.meta.frontmatter, data.frontmatter);
71
+ provide("pageData", data);
72
+ }
73
+ };
74
+ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
75
+ const _component_ValaxyMain = __unplugin_components_0;
76
+ const _component_AppLink = _sfc_main$2;
77
+ const _component_ValaxyLogo = __unplugin_components_2;
78
+ const _component_CodePen = _sfc_main$1;
79
+ _push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
80
+ frontmatter: $data.frontmatter,
81
+ data: $data.data
82
+ }, _attrs), {
83
+ "main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
84
+ if (_push2) {
85
+ _push2(`<div lang="zh-CN"${_scopeId}><p${_scopeId}>Valaxy 内置了几个简单的组件。</p><p${_scopeId}>你可以在写文章或者创作主题时直接使用。</p></div><div lang="en"${_scopeId}><p${_scopeId}>Valaxy has several simple components built in.</p><p${_scopeId}>You can use them directly when writing articles or themes.</p></div><div class="tip custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-thumbs-up"${_scopeId}></i><span lang="en"${_scopeId}><div flex items="center" pb-1${_scopeId}><div inline-flex i-logos:vue${_scopeId}></div> <span ml-1 inline-flex${_scopeId}>基于 Vue 组件</span></div></span><span lang="zh-CN"${_scopeId}><div flex items="center" pb-1${_scopeId}><div inline-flex i-logos:vue${_scopeId}></div> <span ml-1 inline-flex${_scopeId}>基于 Vue 组件</span></div></span></p></div><h2 lang="zh-CN" id="基础组件" tabindex="-1"${_scopeId}>基础组件 `);
86
+ _push2(ssrRenderComponent(_component_AppLink, {
87
+ class: "header-anchor",
88
+ href: "#基础组件",
89
+ "aria-label": 'Permalink to "基础组件 {lang="zh-CN"}"'
90
+ }, {
91
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
92
+ if (_push3) {
93
+ _push3(`​`);
94
+ } else {
95
+ return [
96
+ createTextVNode("​")
97
+ ];
98
+ }
99
+ }),
100
+ _: 1
101
+ /* STABLE */
102
+ }, _parent2, _scopeId));
103
+ _push2(`</h2><h2 lang="en" id="basic-components" tabindex="-1"${_scopeId}>Basic Components `);
104
+ _push2(ssrRenderComponent(_component_AppLink, {
105
+ class: "header-anchor",
106
+ href: "#basic-components",
107
+ "aria-label": 'Permalink to "Basic Components {lang="en"}"'
108
+ }, {
109
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
110
+ if (_push3) {
111
+ _push3(`​`);
112
+ } else {
113
+ return [
114
+ createTextVNode("​")
115
+ ];
116
+ }
117
+ }),
118
+ _: 1
119
+ /* STABLE */
120
+ }, _parent2, _scopeId));
121
+ _push2(`</h2><div class="info custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-information"${_scopeId}></i><span lang="en"${_scopeId}>INFO</span><span lang="zh-CN"${_scopeId}>信息</span></p><p${_scopeId}>面向主题开发者(普通用户通常不需要直接使用)</p></div><div lang="zh-CN"${_scopeId}><h3 id="布局与渲染" tabindex="-1"${_scopeId}>布局与渲染 `);
122
+ _push2(ssrRenderComponent(_component_AppLink, {
123
+ class: "header-anchor",
124
+ href: "#布局与渲染",
125
+ "aria-label": 'Permalink to "布局与渲染"'
126
+ }, {
127
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
128
+ if (_push3) {
129
+ _push3(`​`);
130
+ } else {
131
+ return [
132
+ createTextVNode("​")
133
+ ];
134
+ }
135
+ }),
136
+ _: 1
137
+ /* STABLE */
138
+ }, _parent2, _scopeId));
139
+ _push2(`</h3><ul${_scopeId}><li${_scopeId}>`);
140
+ _push2(ssrRenderComponent(_component_AppLink, {
141
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMain.vue",
142
+ target: "_blank",
143
+ rel: "noreferrer"
144
+ }, {
145
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
146
+ if (_push3) {
147
+ _push3(`<code${_scopeId2}>ValaxyMain.vue</code>`);
148
+ } else {
149
+ return [
150
+ createVNode("code", null, "ValaxyMain.vue")
151
+ ];
152
+ }
153
+ }),
154
+ _: 1
155
+ /* STABLE */
156
+ }, _parent2, _scopeId));
157
+ _push2(`: 页面基础布局</li><li${_scopeId}>`);
158
+ _push2(ssrRenderComponent(_component_AppLink, {
159
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMd.vue",
160
+ target: "_blank",
161
+ rel: "noreferrer"
162
+ }, {
163
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
164
+ if (_push3) {
165
+ _push3(`<code${_scopeId2}>ValaxyMd.vue</code>`);
166
+ } else {
167
+ return [
168
+ createVNode("code", null, "ValaxyMd.vue")
169
+ ];
170
+ }
171
+ }),
172
+ _: 1
173
+ /* STABLE */
174
+ }, _parent2, _scopeId));
175
+ _push2(`: Markdown 渲染内容</li></ul></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>For theme developers, common users usually don&#39;t need to use them directly.</p></blockquote><h3 id="layout-and-rendering" tabindex="-1"${_scopeId}>Layout and Rendering `);
176
+ _push2(ssrRenderComponent(_component_AppLink, {
177
+ class: "header-anchor",
178
+ href: "#layout-and-rendering",
179
+ "aria-label": 'Permalink to "Layout and Rendering"'
180
+ }, {
181
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
182
+ if (_push3) {
183
+ _push3(`​`);
184
+ } else {
185
+ return [
186
+ createTextVNode("​")
187
+ ];
188
+ }
189
+ }),
190
+ _: 1
191
+ /* STABLE */
192
+ }, _parent2, _scopeId));
193
+ _push2(`</h3><ul${_scopeId}><li${_scopeId}>`);
194
+ _push2(ssrRenderComponent(_component_AppLink, {
195
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMain.vue",
196
+ target: "_blank",
197
+ rel: "noreferrer"
198
+ }, {
199
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
200
+ if (_push3) {
201
+ _push3(`<code${_scopeId2}>ValaxyMain.vue</code>`);
202
+ } else {
203
+ return [
204
+ createVNode("code", null, "ValaxyMain.vue")
205
+ ];
206
+ }
207
+ }),
208
+ _: 1
209
+ /* STABLE */
210
+ }, _parent2, _scopeId));
211
+ _push2(`: Basic page layout</li><li${_scopeId}>`);
212
+ _push2(ssrRenderComponent(_component_AppLink, {
213
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMd.vue",
214
+ target: "_blank",
215
+ rel: "noreferrer"
216
+ }, {
217
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
218
+ if (_push3) {
219
+ _push3(`<code${_scopeId2}>ValaxyMd.vue</code>`);
220
+ } else {
221
+ return [
222
+ createVNode("code", null, "ValaxyMd.vue")
223
+ ];
224
+ }
225
+ }),
226
+ _: 1
227
+ /* STABLE */
228
+ }, _parent2, _scopeId));
229
+ _push2(`: Rendered Markdown content</li></ul></div><h3 id="其他" tabindex="-1"${_scopeId}>其他 `);
230
+ _push2(ssrRenderComponent(_component_AppLink, {
231
+ class: "header-anchor",
232
+ href: "#其他",
233
+ "aria-label": 'Permalink to "其他"'
234
+ }, {
235
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
236
+ if (_push3) {
237
+ _push3(`​`);
238
+ } else {
239
+ return [
240
+ createTextVNode("​")
241
+ ];
242
+ }
243
+ }),
244
+ _: 1
245
+ /* STABLE */
246
+ }, _parent2, _scopeId));
247
+ _push2(`</h3><ul${_scopeId}><li${_scopeId}>`);
248
+ _push2(ssrRenderComponent(_component_AppLink, {
249
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyCopyright.vue",
250
+ target: "_blank",
251
+ rel: "noreferrer"
252
+ }, {
253
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
254
+ if (_push3) {
255
+ _push3(`<code${_scopeId2}>AppLink.vue</code>`);
256
+ } else {
257
+ return [
258
+ createVNode("code", null, "AppLink.vue")
259
+ ];
260
+ }
261
+ }),
262
+ _: 1
263
+ /* STABLE */
264
+ }, _parent2, _scopeId));
265
+ _push2(`: 根据链接 自动判断是否为站内链接,站内链接使用 <code${_scopeId}>&lt;router-link/&gt;</code>,站外链接使用 <code${_scopeId}>&lt;a target=&quot;_blank&quot;&gt;&lt;/a&gt;</code>。</li><li${_scopeId}>`);
266
+ _push2(ssrRenderComponent(_component_AppLink, {
267
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyCopyright.vue",
268
+ target: "_blank",
269
+ rel: "noreferrer"
270
+ }, {
271
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
272
+ if (_push3) {
273
+ _push3(`<code${_scopeId2}>ValaxyCopyright.vue</code>`);
274
+ } else {
275
+ return [
276
+ createVNode("code", null, "ValaxyCopyright.vue")
277
+ ];
278
+ }
279
+ }),
280
+ _: 1
281
+ /* STABLE */
282
+ }, _parent2, _scopeId));
283
+ _push2(`: 文章中的 版权信息</li><li${_scopeId}>`);
284
+ _push2(ssrRenderComponent(_component_AppLink, {
285
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyDecrypt.vue",
286
+ target: "_blank",
287
+ rel: "noreferrer"
288
+ }, {
289
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
290
+ if (_push3) {
291
+ _push3(`<code${_scopeId2}>ValaxyDecrypt.vue</code>`);
292
+ } else {
293
+ return [
294
+ createVNode("code", null, "ValaxyDecrypt.vue")
295
+ ];
296
+ }
297
+ }),
298
+ _: 1
299
+ /* STABLE */
300
+ }, _parent2, _scopeId));
301
+ _push2(`: 文本解密组件</li><li${_scopeId}>`);
302
+ _push2(ssrRenderComponent(_component_AppLink, {
303
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyGalleryDecrypt.vue",
304
+ target: "_blank",
305
+ rel: "noreferrer"
306
+ }, {
307
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
308
+ if (_push3) {
309
+ _push3(`<code${_scopeId2}>ValaxyGalleryDecrypt.vue</code>`);
310
+ } else {
311
+ return [
312
+ createVNode("code", null, "ValaxyGalleryDecrypt.vue")
313
+ ];
314
+ }
315
+ }),
316
+ _: 1
317
+ /* STABLE */
318
+ }, _parent2, _scopeId));
319
+ _push2(`: 图片解密组件</li><li${_scopeId}>`);
320
+ _push2(ssrRenderComponent(_component_AppLink, {
321
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyLogo.vue",
322
+ target: "_blank",
323
+ rel: "noreferrer"
324
+ }, {
325
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
326
+ if (_push3) {
327
+ _push3(`<code${_scopeId2}>ValaxyLogo.vue</code>`);
328
+ } else {
329
+ return [
330
+ createVNode("code", null, "ValaxyLogo.vue")
331
+ ];
332
+ }
333
+ }),
334
+ _: 1
335
+ /* STABLE */
336
+ }, _parent2, _scopeId));
337
+ _push2(`: 带渐变色彩的 Valaxy Logo</li><li${_scopeId}>`);
338
+ _push2(ssrRenderComponent(_component_AppLink, {
339
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxySvgLogo.vue",
340
+ target: "_blank",
341
+ rel: "noreferrer"
342
+ }, {
343
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
344
+ if (_push3) {
345
+ _push3(`<code${_scopeId2}>ValaxySvgLogo.vue</code>`);
346
+ } else {
347
+ return [
348
+ createVNode("code", null, "ValaxySvgLogo.vue")
349
+ ];
350
+ }
351
+ }),
352
+ _: 1
353
+ /* STABLE */
354
+ }, _parent2, _scopeId));
355
+ _push2(`: Valaxy SVG Logo</li><li${_scopeId}>`);
356
+ _push2(ssrRenderComponent(_component_AppLink, {
357
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyPagination.vue",
358
+ target: "_blank",
359
+ rel: "noreferrer"
360
+ }, {
361
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
362
+ if (_push3) {
363
+ _push3(`<code${_scopeId2}>ValaxyPagination.vue</code>`);
364
+ } else {
365
+ return [
366
+ createVNode("code", null, "ValaxyPagination.vue")
367
+ ];
368
+ }
369
+ }),
370
+ _: 1
371
+ /* STABLE */
372
+ }, _parent2, _scopeId));
373
+ _push2(`: 分页组件</li><li${_scopeId}>`);
374
+ _push2(ssrRenderComponent(_component_AppLink, {
375
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyOverlay.vue",
376
+ target: "_blank",
377
+ rel: "noreferrer"
378
+ }, {
379
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
380
+ if (_push3) {
381
+ _push3(`<code${_scopeId2}>ValaxyOverlay.vue</code>`);
382
+ } else {
383
+ return [
384
+ createVNode("code", null, "ValaxyOverlay.vue")
385
+ ];
386
+ }
387
+ }),
388
+ _: 1
389
+ /* STABLE */
390
+ }, _parent2, _scopeId));
391
+ _push2(`: 灰色遮罩组件</li><li${_scopeId}>`);
392
+ _push2(ssrRenderComponent(_component_AppLink, {
393
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyHamburger.vue",
394
+ target: "_blank",
395
+ rel: "noreferrer"
396
+ }, {
397
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
398
+ if (_push3) {
399
+ _push3(`<code${_scopeId2}>ValaxyHamburger.vue</code>`);
400
+ } else {
401
+ return [
402
+ createVNode("code", null, "ValaxyHamburger.vue")
403
+ ];
404
+ }
405
+ }),
406
+ _: 1
407
+ /* STABLE */
408
+ }, _parent2, _scopeId));
409
+ _push2(`: 汉堡按钮</li></ul><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;ValaxyLogo /&gt;</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;ValaxyLogo /&gt;</span></span></code></pre></div>`);
410
+ _push2(ssrRenderComponent(_component_ValaxyLogo, null, null, _parent2, _scopeId));
411
+ _push2(`<h2 lang="zh-CN" id="辅助组件" tabindex="-1"${_scopeId}>辅助组件 `);
412
+ _push2(ssrRenderComponent(_component_AppLink, {
413
+ class: "header-anchor",
414
+ href: "#辅助组件",
415
+ "aria-label": 'Permalink to "辅助组件 {lang="zh-CN"}"'
416
+ }, {
417
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
418
+ if (_push3) {
419
+ _push3(`​`);
420
+ } else {
421
+ return [
422
+ createTextVNode("​")
423
+ ];
424
+ }
425
+ }),
426
+ _: 1
427
+ /* STABLE */
428
+ }, _parent2, _scopeId));
429
+ _push2(`</h2><h2 lang="en" id="helper-components" tabindex="-1"${_scopeId}>Helper Components `);
430
+ _push2(ssrRenderComponent(_component_AppLink, {
431
+ class: "header-anchor",
432
+ href: "#helper-components",
433
+ "aria-label": 'Permalink to "Helper Components {lang="en"}"'
434
+ }, {
435
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
436
+ if (_push3) {
437
+ _push3(`​`);
438
+ } else {
439
+ return [
440
+ createTextVNode("​")
441
+ ];
442
+ }
443
+ }),
444
+ _: 1
445
+ /* STABLE */
446
+ }, _parent2, _scopeId));
447
+ _push2(`</h2><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>面向用户,可直接使用</p></blockquote></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>For users, can be used directly.</p></blockquote></div><p${_scopeId}>内置组件暂无,目前通过 `);
448
+ _push2(ssrRenderComponent(_component_AppLink, {
449
+ href: "https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components",
450
+ target: "_blank",
451
+ rel: "noreferrer"
452
+ }, {
453
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
454
+ if (_push3) {
455
+ _push3(`valaxy-addon-components`);
456
+ } else {
457
+ return [
458
+ createTextVNode("valaxy-addon-components")
459
+ ];
460
+ }
461
+ }),
462
+ _: 1
463
+ /* STABLE */
464
+ }, _parent2, _scopeId));
465
+ _push2(` 扩展公共组件。</p><div class="language-bash"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>bash</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>pnpm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>add</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>valaxy-addon-components</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>pnpm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>add</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>valaxy-addon-components</span></span></code></pre></div><p${_scopeId}>如:</p><ul${_scopeId}><li${_scopeId}><code${_scopeId}>CodePen</code>: CodePen 代码片段</li><li${_scopeId}><code${_scopeId}>VCLiveTime</code>: 站点建立时间</li></ul><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>My Blog Content</span></span>
466
+ <span class="line"${_scopeId}></span>
467
+ <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;CodePen class=&quot;h-300px&quot; name=&quot;Margin Collapse&quot; id=&quot;WqXGpo&quot; user=&quot;YunYouJun&quot; tab=&quot;html,result&quot; /&gt;</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>My Blog Content</span></span>
468
+ <span class="line"${_scopeId}></span>
469
+ <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;CodePen class=&quot;h-300px&quot; name=&quot;Margin Collapse&quot; id=&quot;WqXGpo&quot; user=&quot;YunYouJun&quot; tab=&quot;html,result&quot; /&gt;</span></span></code></pre></div><p${_scopeId}>My Blog Content</p>`);
470
+ _push2(ssrRenderComponent(_component_CodePen, {
471
+ class: "h-300px",
472
+ name: "Margin Collapse",
473
+ id: "WqXGpo",
474
+ user: "YunYouJun",
475
+ tab: "html,result"
476
+ }, null, _parent2, _scopeId));
477
+ _push2(`<h2 id="自定义" tabindex="-1"${_scopeId}>自定义 `);
478
+ _push2(ssrRenderComponent(_component_AppLink, {
479
+ class: "header-anchor",
480
+ href: "#自定义",
481
+ "aria-label": 'Permalink to "自定义"'
482
+ }, {
483
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
484
+ if (_push3) {
485
+ _push3(`​`);
486
+ } else {
487
+ return [
488
+ createTextVNode("​")
489
+ ];
490
+ }
491
+ }),
492
+ _: 1
493
+ /* STABLE */
494
+ }, _parent2, _scopeId));
495
+ _push2(`</h2><p${_scopeId}>更多用法请参见 `);
496
+ _push2(ssrRenderComponent(_component_AppLink, { href: "/guide/custom/components" }, {
497
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
498
+ if (_push3) {
499
+ _push3(`自定义组件`);
500
+ } else {
501
+ return [
502
+ createTextVNode("自定义组件")
503
+ ];
504
+ }
505
+ }),
506
+ _: 1
507
+ /* STABLE */
508
+ }, _parent2, _scopeId));
509
+ _push2(`。</p>`);
510
+ } else {
511
+ return [
512
+ createVNode("div", { lang: "zh-CN" }, [
513
+ createVNode("p", null, "Valaxy 内置了几个简单的组件。"),
514
+ createVNode("p", null, "你可以在写文章或者创作主题时直接使用。")
515
+ ]),
516
+ createVNode("div", { lang: "en" }, [
517
+ createVNode("p", null, "Valaxy has several simple components built in."),
518
+ createVNode("p", null, "You can use them directly when writing articles or themes.")
519
+ ]),
520
+ createVNode("div", { class: "tip custom-block" }, [
521
+ createVNode("p", { class: "custom-block-title" }, [
522
+ createVNode("i", { class: "icon i-carbon-thumbs-up" }),
523
+ createVNode("span", { lang: "en" }, [
524
+ createVNode("div", {
525
+ flex: "",
526
+ items: "center",
527
+ "pb-1": ""
528
+ }, [
529
+ createVNode("div", {
530
+ "inline-flex": "",
531
+ "i-logos:vue": ""
532
+ }),
533
+ createTextVNode(),
534
+ createVNode("span", {
535
+ "ml-1": "",
536
+ "inline-flex": ""
537
+ }, "基于 Vue 组件")
538
+ ])
539
+ ]),
540
+ createVNode("span", { lang: "zh-CN" }, [
541
+ createVNode("div", {
542
+ flex: "",
543
+ items: "center",
544
+ "pb-1": ""
545
+ }, [
546
+ createVNode("div", {
547
+ "inline-flex": "",
548
+ "i-logos:vue": ""
549
+ }),
550
+ createTextVNode(),
551
+ createVNode("span", {
552
+ "ml-1": "",
553
+ "inline-flex": ""
554
+ }, "基于 Vue 组件")
555
+ ])
556
+ ])
557
+ ])
558
+ ]),
559
+ createVNode("h2", {
560
+ lang: "zh-CN",
561
+ id: "基础组件",
562
+ tabindex: "-1"
563
+ }, [
564
+ createTextVNode("基础组件 "),
565
+ createVNode(_component_AppLink, {
566
+ class: "header-anchor",
567
+ href: "#基础组件",
568
+ "aria-label": 'Permalink to "基础组件 {lang="zh-CN"}"'
569
+ }, {
570
+ default: withCtx(() => [
571
+ createTextVNode("​")
572
+ ]),
573
+ _: 1
574
+ /* STABLE */
575
+ })
576
+ ]),
577
+ createVNode("h2", {
578
+ lang: "en",
579
+ id: "basic-components",
580
+ tabindex: "-1"
581
+ }, [
582
+ createTextVNode("Basic Components "),
583
+ createVNode(_component_AppLink, {
584
+ class: "header-anchor",
585
+ href: "#basic-components",
586
+ "aria-label": 'Permalink to "Basic Components {lang="en"}"'
587
+ }, {
588
+ default: withCtx(() => [
589
+ createTextVNode("​")
590
+ ]),
591
+ _: 1
592
+ /* STABLE */
593
+ })
594
+ ]),
595
+ createVNode("div", { class: "info custom-block" }, [
596
+ createVNode("p", { class: "custom-block-title" }, [
597
+ createVNode("i", { class: "icon i-carbon-information" }),
598
+ createVNode("span", { lang: "en" }, "INFO"),
599
+ createVNode("span", { lang: "zh-CN" }, "信息")
600
+ ]),
601
+ createVNode("p", null, "面向主题开发者(普通用户通常不需要直接使用)")
602
+ ]),
603
+ createVNode("div", { lang: "zh-CN" }, [
604
+ createVNode("h3", {
605
+ id: "布局与渲染",
606
+ tabindex: "-1"
607
+ }, [
608
+ createTextVNode("布局与渲染 "),
609
+ createVNode(_component_AppLink, {
610
+ class: "header-anchor",
611
+ href: "#布局与渲染",
612
+ "aria-label": 'Permalink to "布局与渲染"'
613
+ }, {
614
+ default: withCtx(() => [
615
+ createTextVNode("​")
616
+ ]),
617
+ _: 1
618
+ /* STABLE */
619
+ })
620
+ ]),
621
+ createVNode("ul", null, [
622
+ createVNode("li", null, [
623
+ createVNode(_component_AppLink, {
624
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMain.vue",
625
+ target: "_blank",
626
+ rel: "noreferrer"
627
+ }, {
628
+ default: withCtx(() => [
629
+ createVNode("code", null, "ValaxyMain.vue")
630
+ ]),
631
+ _: 1
632
+ /* STABLE */
633
+ }),
634
+ createTextVNode(": 页面基础布局")
635
+ ]),
636
+ createVNode("li", null, [
637
+ createVNode(_component_AppLink, {
638
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMd.vue",
639
+ target: "_blank",
640
+ rel: "noreferrer"
641
+ }, {
642
+ default: withCtx(() => [
643
+ createVNode("code", null, "ValaxyMd.vue")
644
+ ]),
645
+ _: 1
646
+ /* STABLE */
647
+ }),
648
+ createTextVNode(": Markdown 渲染内容")
649
+ ])
650
+ ])
651
+ ]),
652
+ createVNode("div", { lang: "en" }, [
653
+ createVNode("blockquote", null, [
654
+ createVNode("p", null, "For theme developers, common users usually don't need to use them directly.")
655
+ ]),
656
+ createVNode("h3", {
657
+ id: "layout-and-rendering",
658
+ tabindex: "-1"
659
+ }, [
660
+ createTextVNode("Layout and Rendering "),
661
+ createVNode(_component_AppLink, {
662
+ class: "header-anchor",
663
+ href: "#layout-and-rendering",
664
+ "aria-label": 'Permalink to "Layout and Rendering"'
665
+ }, {
666
+ default: withCtx(() => [
667
+ createTextVNode("​")
668
+ ]),
669
+ _: 1
670
+ /* STABLE */
671
+ })
672
+ ]),
673
+ createVNode("ul", null, [
674
+ createVNode("li", null, [
675
+ createVNode(_component_AppLink, {
676
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMain.vue",
677
+ target: "_blank",
678
+ rel: "noreferrer"
679
+ }, {
680
+ default: withCtx(() => [
681
+ createVNode("code", null, "ValaxyMain.vue")
682
+ ]),
683
+ _: 1
684
+ /* STABLE */
685
+ }),
686
+ createTextVNode(": Basic page layout")
687
+ ]),
688
+ createVNode("li", null, [
689
+ createVNode(_component_AppLink, {
690
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyMd.vue",
691
+ target: "_blank",
692
+ rel: "noreferrer"
693
+ }, {
694
+ default: withCtx(() => [
695
+ createVNode("code", null, "ValaxyMd.vue")
696
+ ]),
697
+ _: 1
698
+ /* STABLE */
699
+ }),
700
+ createTextVNode(": Rendered Markdown content")
701
+ ])
702
+ ])
703
+ ]),
704
+ createVNode("h3", {
705
+ id: "其他",
706
+ tabindex: "-1"
707
+ }, [
708
+ createTextVNode("其他 "),
709
+ createVNode(_component_AppLink, {
710
+ class: "header-anchor",
711
+ href: "#其他",
712
+ "aria-label": 'Permalink to "其他"'
713
+ }, {
714
+ default: withCtx(() => [
715
+ createTextVNode("​")
716
+ ]),
717
+ _: 1
718
+ /* STABLE */
719
+ })
720
+ ]),
721
+ createVNode("ul", null, [
722
+ createVNode("li", null, [
723
+ createVNode(_component_AppLink, {
724
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyCopyright.vue",
725
+ target: "_blank",
726
+ rel: "noreferrer"
727
+ }, {
728
+ default: withCtx(() => [
729
+ createVNode("code", null, "AppLink.vue")
730
+ ]),
731
+ _: 1
732
+ /* STABLE */
733
+ }),
734
+ createTextVNode(": 根据链接 自动判断是否为站内链接,站内链接使用 "),
735
+ createVNode("code", null, "<router-link/>"),
736
+ createTextVNode(",站外链接使用 "),
737
+ createVNode("code", null, '<a target="_blank"></a>'),
738
+ createTextVNode("。")
739
+ ]),
740
+ createVNode("li", null, [
741
+ createVNode(_component_AppLink, {
742
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyCopyright.vue",
743
+ target: "_blank",
744
+ rel: "noreferrer"
745
+ }, {
746
+ default: withCtx(() => [
747
+ createVNode("code", null, "ValaxyCopyright.vue")
748
+ ]),
749
+ _: 1
750
+ /* STABLE */
751
+ }),
752
+ createTextVNode(": 文章中的 版权信息")
753
+ ]),
754
+ createVNode("li", null, [
755
+ createVNode(_component_AppLink, {
756
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyDecrypt.vue",
757
+ target: "_blank",
758
+ rel: "noreferrer"
759
+ }, {
760
+ default: withCtx(() => [
761
+ createVNode("code", null, "ValaxyDecrypt.vue")
762
+ ]),
763
+ _: 1
764
+ /* STABLE */
765
+ }),
766
+ createTextVNode(": 文本解密组件")
767
+ ]),
768
+ createVNode("li", null, [
769
+ createVNode(_component_AppLink, {
770
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyGalleryDecrypt.vue",
771
+ target: "_blank",
772
+ rel: "noreferrer"
773
+ }, {
774
+ default: withCtx(() => [
775
+ createVNode("code", null, "ValaxyGalleryDecrypt.vue")
776
+ ]),
777
+ _: 1
778
+ /* STABLE */
779
+ }),
780
+ createTextVNode(": 图片解密组件")
781
+ ]),
782
+ createVNode("li", null, [
783
+ createVNode(_component_AppLink, {
784
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyLogo.vue",
785
+ target: "_blank",
786
+ rel: "noreferrer"
787
+ }, {
788
+ default: withCtx(() => [
789
+ createVNode("code", null, "ValaxyLogo.vue")
790
+ ]),
791
+ _: 1
792
+ /* STABLE */
793
+ }),
794
+ createTextVNode(": 带渐变色彩的 Valaxy Logo")
795
+ ]),
796
+ createVNode("li", null, [
797
+ createVNode(_component_AppLink, {
798
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxySvgLogo.vue",
799
+ target: "_blank",
800
+ rel: "noreferrer"
801
+ }, {
802
+ default: withCtx(() => [
803
+ createVNode("code", null, "ValaxySvgLogo.vue")
804
+ ]),
805
+ _: 1
806
+ /* STABLE */
807
+ }),
808
+ createTextVNode(": Valaxy SVG Logo")
809
+ ]),
810
+ createVNode("li", null, [
811
+ createVNode(_component_AppLink, {
812
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyPagination.vue",
813
+ target: "_blank",
814
+ rel: "noreferrer"
815
+ }, {
816
+ default: withCtx(() => [
817
+ createVNode("code", null, "ValaxyPagination.vue")
818
+ ]),
819
+ _: 1
820
+ /* STABLE */
821
+ }),
822
+ createTextVNode(": 分页组件")
823
+ ]),
824
+ createVNode("li", null, [
825
+ createVNode(_component_AppLink, {
826
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyOverlay.vue",
827
+ target: "_blank",
828
+ rel: "noreferrer"
829
+ }, {
830
+ default: withCtx(() => [
831
+ createVNode("code", null, "ValaxyOverlay.vue")
832
+ ]),
833
+ _: 1
834
+ /* STABLE */
835
+ }),
836
+ createTextVNode(": 灰色遮罩组件")
837
+ ]),
838
+ createVNode("li", null, [
839
+ createVNode(_component_AppLink, {
840
+ href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/client/components/ValaxyHamburger.vue",
841
+ target: "_blank",
842
+ rel: "noreferrer"
843
+ }, {
844
+ default: withCtx(() => [
845
+ createVNode("code", null, "ValaxyHamburger.vue")
846
+ ]),
847
+ _: 1
848
+ /* STABLE */
849
+ }),
850
+ createTextVNode(": 汉堡按钮")
851
+ ])
852
+ ]),
853
+ createVNode("div", { class: "language-md" }, [
854
+ createVNode("button", {
855
+ title: "Copy Code",
856
+ class: "copy"
857
+ }),
858
+ createVNode("span", { class: "lang" }, "md"),
859
+ createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
860
+ createVNode("code", null, [
861
+ createVNode("span", { class: "line" }, [
862
+ createVNode("span", { style: { "color": "#E1E4E8" } }, "<ValaxyLogo />")
863
+ ])
864
+ ])
865
+ ]),
866
+ createVNode("pre", { class: "shiki github-light vp-code-light" }, [
867
+ createVNode("code", null, [
868
+ createVNode("span", { class: "line" }, [
869
+ createVNode("span", { style: { "color": "#24292E" } }, "<ValaxyLogo />")
870
+ ])
871
+ ])
872
+ ])
873
+ ]),
874
+ createVNode(_component_ValaxyLogo),
875
+ createVNode("h2", {
876
+ lang: "zh-CN",
877
+ id: "辅助组件",
878
+ tabindex: "-1"
879
+ }, [
880
+ createTextVNode("辅助组件 "),
881
+ createVNode(_component_AppLink, {
882
+ class: "header-anchor",
883
+ href: "#辅助组件",
884
+ "aria-label": 'Permalink to "辅助组件 {lang="zh-CN"}"'
885
+ }, {
886
+ default: withCtx(() => [
887
+ createTextVNode("​")
888
+ ]),
889
+ _: 1
890
+ /* STABLE */
891
+ })
892
+ ]),
893
+ createVNode("h2", {
894
+ lang: "en",
895
+ id: "helper-components",
896
+ tabindex: "-1"
897
+ }, [
898
+ createTextVNode("Helper Components "),
899
+ createVNode(_component_AppLink, {
900
+ class: "header-anchor",
901
+ href: "#helper-components",
902
+ "aria-label": 'Permalink to "Helper Components {lang="en"}"'
903
+ }, {
904
+ default: withCtx(() => [
905
+ createTextVNode("​")
906
+ ]),
907
+ _: 1
908
+ /* STABLE */
909
+ })
910
+ ]),
911
+ createVNode("div", { lang: "zh-CN" }, [
912
+ createVNode("blockquote", null, [
913
+ createVNode("p", null, "面向用户,可直接使用")
914
+ ])
915
+ ]),
916
+ createVNode("div", { lang: "en" }, [
917
+ createVNode("blockquote", null, [
918
+ createVNode("p", null, "For users, can be used directly.")
919
+ ])
920
+ ]),
921
+ createVNode("p", null, [
922
+ createTextVNode("内置组件暂无,目前通过 "),
923
+ createVNode(_component_AppLink, {
924
+ href: "https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components",
925
+ target: "_blank",
926
+ rel: "noreferrer"
927
+ }, {
928
+ default: withCtx(() => [
929
+ createTextVNode("valaxy-addon-components")
930
+ ]),
931
+ _: 1
932
+ /* STABLE */
933
+ }),
934
+ createTextVNode(" 扩展公共组件。")
935
+ ]),
936
+ createVNode("div", { class: "language-bash" }, [
937
+ createVNode("button", {
938
+ title: "Copy Code",
939
+ class: "copy"
940
+ }),
941
+ createVNode("span", { class: "lang" }, "bash"),
942
+ createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
943
+ createVNode("code", null, [
944
+ createVNode("span", { class: "line" }, [
945
+ createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
946
+ createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
947
+ createVNode("span", { style: { "color": "#9ECBFF" } }, "add"),
948
+ createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
949
+ createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy-addon-components")
950
+ ])
951
+ ])
952
+ ]),
953
+ createVNode("pre", { class: "shiki github-light vp-code-light" }, [
954
+ createVNode("code", null, [
955
+ createVNode("span", { class: "line" }, [
956
+ createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
957
+ createVNode("span", { style: { "color": "#24292E" } }, " "),
958
+ createVNode("span", { style: { "color": "#032F62" } }, "add"),
959
+ createVNode("span", { style: { "color": "#24292E" } }, " "),
960
+ createVNode("span", { style: { "color": "#032F62" } }, "valaxy-addon-components")
961
+ ])
962
+ ])
963
+ ])
964
+ ]),
965
+ createVNode("p", null, "如:"),
966
+ createVNode("ul", null, [
967
+ createVNode("li", null, [
968
+ createVNode("code", null, "CodePen"),
969
+ createTextVNode(": CodePen 代码片段")
970
+ ]),
971
+ createVNode("li", null, [
972
+ createVNode("code", null, "VCLiveTime"),
973
+ createTextVNode(": 站点建立时间")
974
+ ])
975
+ ]),
976
+ createVNode("div", { class: "language-md" }, [
977
+ createVNode("button", {
978
+ title: "Copy Code",
979
+ class: "copy"
980
+ }),
981
+ createVNode("span", { class: "lang" }, "md"),
982
+ createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
983
+ createVNode("code", null, [
984
+ createVNode("span", { class: "line" }, [
985
+ createVNode("span", { style: { "color": "#E1E4E8" } }, "My Blog Content")
986
+ ]),
987
+ createTextVNode("\n"),
988
+ createVNode("span", { class: "line" }),
989
+ createTextVNode("\n"),
990
+ createVNode("span", { class: "line" }, [
991
+ createVNode("span", { style: { "color": "#E1E4E8" } }, '<CodePen class="h-300px" name="Margin Collapse" id="WqXGpo" user="YunYouJun" tab="html,result" />')
992
+ ])
993
+ ])
994
+ ]),
995
+ createVNode("pre", { class: "shiki github-light vp-code-light" }, [
996
+ createVNode("code", null, [
997
+ createVNode("span", { class: "line" }, [
998
+ createVNode("span", { style: { "color": "#24292E" } }, "My Blog Content")
999
+ ]),
1000
+ createTextVNode("\n"),
1001
+ createVNode("span", { class: "line" }),
1002
+ createTextVNode("\n"),
1003
+ createVNode("span", { class: "line" }, [
1004
+ createVNode("span", { style: { "color": "#24292E" } }, '<CodePen class="h-300px" name="Margin Collapse" id="WqXGpo" user="YunYouJun" tab="html,result" />')
1005
+ ])
1006
+ ])
1007
+ ])
1008
+ ]),
1009
+ createVNode("p", null, "My Blog Content"),
1010
+ createVNode(_component_CodePen, {
1011
+ class: "h-300px",
1012
+ name: "Margin Collapse",
1013
+ id: "WqXGpo",
1014
+ user: "YunYouJun",
1015
+ tab: "html,result"
1016
+ }),
1017
+ createVNode("h2", {
1018
+ id: "自定义",
1019
+ tabindex: "-1"
1020
+ }, [
1021
+ createTextVNode("自定义 "),
1022
+ createVNode(_component_AppLink, {
1023
+ class: "header-anchor",
1024
+ href: "#自定义",
1025
+ "aria-label": 'Permalink to "自定义"'
1026
+ }, {
1027
+ default: withCtx(() => [
1028
+ createTextVNode("​")
1029
+ ]),
1030
+ _: 1
1031
+ /* STABLE */
1032
+ })
1033
+ ]),
1034
+ createVNode("p", null, [
1035
+ createTextVNode("更多用法请参见 "),
1036
+ createVNode(_component_AppLink, { href: "/guide/custom/components" }, {
1037
+ default: withCtx(() => [
1038
+ createTextVNode("自定义组件")
1039
+ ]),
1040
+ _: 1
1041
+ /* STABLE */
1042
+ }),
1043
+ createTextVNode("。")
1044
+ ])
1045
+ ];
1046
+ }
1047
+ }),
1048
+ "main-header": withCtx((_, _push2, _parent2, _scopeId) => {
1049
+ if (_push2) {
1050
+ ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
1051
+ } else {
1052
+ return [
1053
+ renderSlot(_ctx.$slots, "main-header")
1054
+ ];
1055
+ }
1056
+ }),
1057
+ "main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
1058
+ if (_push2) {
1059
+ ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
1060
+ } else {
1061
+ return [
1062
+ renderSlot(_ctx.$slots, "main-header-after")
1063
+ ];
1064
+ }
1065
+ }),
1066
+ "main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
1067
+ if (_push2) {
1068
+ ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
1069
+ } else {
1070
+ return [
1071
+ renderSlot(_ctx.$slots, "main-nav")
1072
+ ];
1073
+ }
1074
+ }),
1075
+ "main-content": withCtx((_, _push2, _parent2, _scopeId) => {
1076
+ if (_push2) {
1077
+ ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
1078
+ } else {
1079
+ return [
1080
+ renderSlot(_ctx.$slots, "main-content")
1081
+ ];
1082
+ }
1083
+ }),
1084
+ "main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
1085
+ if (_push2) {
1086
+ ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
1087
+ } else {
1088
+ return [
1089
+ renderSlot(_ctx.$slots, "main-content-after")
1090
+ ];
1091
+ }
1092
+ }),
1093
+ "main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
1094
+ if (_push2) {
1095
+ ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
1096
+ } else {
1097
+ return [
1098
+ renderSlot(_ctx.$slots, "main-nav-before")
1099
+ ];
1100
+ }
1101
+ }),
1102
+ "main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
1103
+ if (_push2) {
1104
+ ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
1105
+ } else {
1106
+ return [
1107
+ renderSlot(_ctx.$slots, "main-nav-after")
1108
+ ];
1109
+ }
1110
+ }),
1111
+ comment: withCtx((_, _push2, _parent2, _scopeId) => {
1112
+ if (_push2) {
1113
+ ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
1114
+ } else {
1115
+ return [
1116
+ renderSlot(_ctx.$slots, "comment")
1117
+ ];
1118
+ }
1119
+ }),
1120
+ footer: withCtx((_, _push2, _parent2, _scopeId) => {
1121
+ if (_push2) {
1122
+ ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
1123
+ } else {
1124
+ return [
1125
+ renderSlot(_ctx.$slots, "footer")
1126
+ ];
1127
+ }
1128
+ }),
1129
+ aside: withCtx((_, _push2, _parent2, _scopeId) => {
1130
+ if (_push2) {
1131
+ ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
1132
+ } else {
1133
+ return [
1134
+ renderSlot(_ctx.$slots, "aside")
1135
+ ];
1136
+ }
1137
+ }),
1138
+ "aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
1139
+ if (_push2) {
1140
+ ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
1141
+ } else {
1142
+ return [
1143
+ renderSlot(_ctx.$slots, "aside-custom")
1144
+ ];
1145
+ }
1146
+ }),
1147
+ default: withCtx((_, _push2, _parent2, _scopeId) => {
1148
+ if (_push2) {
1149
+ ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
1150
+ } else {
1151
+ return [
1152
+ renderSlot(_ctx.$slots, "default")
1153
+ ];
1154
+ }
1155
+ }),
1156
+ _: 3
1157
+ /* FORWARDED */
1158
+ }, _parent));
1159
+ }
1160
+ const _sfc_setup = _sfc_main.setup;
1161
+ _sfc_main.setup = (props, ctx) => {
1162
+ const ssrContext = useSSRContext();
1163
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/guide/built-ins/index.md");
1164
+ return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
1165
+ };
1166
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
1167
+ export {
1168
+ __pageData,
1169
+ index as default
1170
+ };