valaxy 0.15.10 → 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.
- package/bin/valaxy.cjs +1 -1
- package/bin/valaxy.mjs +1 -1
- package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +1 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +227 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +752 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +31 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +42 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +172 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +1105 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +286 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +627 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +2460 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +1071 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +490 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +1851 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +1444 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +321 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +2625 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +244 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +370 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +3684 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +969 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +517 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +4159 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +676 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +768 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +527 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +424 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +563 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +3294 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +202 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +549 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +4161 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +1170 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +1564 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +6119 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +180 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +5895 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +278 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +752 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +1605 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +4 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +477 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +286 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +3742 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +548 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +574 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +172 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +669 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +619 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +830 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +350 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +1131 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +4963 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +675 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +33 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +6239 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +1 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +227 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +752 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +31 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +42 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +172 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +1105 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +286 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +627 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +2460 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +1071 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +490 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +1851 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +1444 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +321 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +2625 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +244 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +370 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +3684 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +969 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +517 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +4159 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +676 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +768 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +527 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +424 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +563 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +3294 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +202 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +549 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +4161 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +1170 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +1564 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +6119 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +180 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +5895 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +278 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +752 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +1605 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +4 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +477 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +286 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +3742 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +548 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +574 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +172 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +669 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +619 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +830 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +350 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +1131 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +4963 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +675 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +33 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +6239 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
- package/client/App.vue +1 -1
- package/client/components/AppLink.vue +2 -2
- package/client/components/ValaxyMd.vue +1 -1
- package/client/components/ValaxyOverlay.vue +2 -2
- package/client/components/ValaxyPagination.vue +6 -6
- package/client/components/debug/ValaxyDevtools.vue +6 -0
- package/client/composables/dark.ts +39 -0
- package/client/layouts/404.vue +1 -1
- package/client/layouts/layout.vue +2 -2
- package/client/locales/zh-CN.yml +1 -1
- package/client/pages/[...all].vue +2 -0
- package/client/styles/common/transition.scss +1 -0
- package/client/styles/common/view-transition.css +21 -0
- package/dist/chunk-3EJGKTUH.mjs +130 -0
- package/dist/chunk-RDNVTVQ5.cjs +129 -0
- package/dist/{config-29a16f62.d.ts → config-e5704a2c.d.ts} +223 -1
- package/dist/node/cli/index.cjs +1 -0
- package/dist/node/cli/index.mjs +2 -0
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +14 -2
- package/dist/node/index.d.ts +14 -2
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.d.cts +3 -220
- package/dist/types/index.d.ts +3 -220
- package/dist/types/index.mjs +1 -1
- package/package.json +19 -18
- package/types/config.ts +6 -0
- package/LICENSE +0 -21
- package/dist/chunk-2EVEFEO4.mjs +0 -130
- package/dist/chunk-BYK2L2MY.cjs +0 -129
- package/dist/node/cli.cjs +0 -1
- package/dist/node/cli.mjs +0 -2
- /package/dist/node/{cli.d.cts → cli/index.d.cts} +0 -0
- /package/dist/node/{cli.d.ts → cli/index.d.ts} +0 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { defineComponent, mergeProps, useSSRContext, ref, computed, unref, provide, withCtx, createVNode, renderSlot } from "vue";
|
|
2
|
+
import { ssrRenderAttrs, ssrRenderAttr, ssrInterpolate, ssrRenderClass, ssrRenderList, ssrRenderComponent, ssrRenderSlot } from "vue/server-renderer";
|
|
3
|
+
import { u as useI18n, _ as _export_sfc } from "../main.mjs";
|
|
4
|
+
import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
|
|
5
|
+
import { useRoute } from "vue-router";
|
|
6
|
+
import "vite-ssg";
|
|
7
|
+
import "pinia";
|
|
8
|
+
import "@vueuse/core";
|
|
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$2 = /* @__PURE__ */ defineComponent({
|
|
25
|
+
__name: "AddonGalleryCard",
|
|
26
|
+
__ssrInlineRender: true,
|
|
27
|
+
props: {
|
|
28
|
+
addon: {}
|
|
29
|
+
},
|
|
30
|
+
setup(__props) {
|
|
31
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
32
|
+
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
33
|
+
class: "transition bg-$va-c-bg-alt",
|
|
34
|
+
border: "",
|
|
35
|
+
"rounded-xl": "",
|
|
36
|
+
"p-4": "",
|
|
37
|
+
dark: "border-dark-200",
|
|
38
|
+
hover: "bg-$va-c-bg shadow-md"
|
|
39
|
+
}, _attrs))}><a class="text-purple-600! dark:text-purple-300! decoration-none!" mr-2${ssrRenderAttr("href", _ctx.addon.repo)} target="_blank"><h3 flex="~" justify-center items-center class="my-2!" font="light"><div class="text-black dark:text-white" text-xl mr-1 i-ri-github-line></div><span>${ssrInterpolate(_ctx.addon.name)}</span></h3></a><p class="my-1! text-xl!"><a mr-2 class="text-red-600!"${ssrRenderAttr("href", `https://npmjs.com/package/${_ctx.addon.name}`)} target="_blank" alt="NPM Package"><div i-ri-npmjs-line></div></a><!-- <a mr-2 class="text-black dark:text-white" :href="addon.repo" target="_blank" alt="GitHub Repo">
|
|
40
|
+
<div i-ri-github-line />
|
|
41
|
+
</a> --></p><p class="text-truncate my-1!">${ssrInterpolate(_ctx.addon.desc)}</p><ul class="m-0! p-0! flex flex-wrap" items-center op="70"><span inline-flex mr-1><div class="${ssrRenderClass(_ctx.addon.icon)}"></div></span><!--[-->`);
|
|
42
|
+
ssrRenderList(_ctx.addon.tags, (tag, j) => {
|
|
43
|
+
_push(`<span class="break-all mr-1"> #${ssrInterpolate(tag)}</span>`);
|
|
44
|
+
});
|
|
45
|
+
_push(`<!--]--></ul></div>`);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const _sfc_setup$2 = _sfc_main$2.setup;
|
|
50
|
+
_sfc_main$2.setup = (props, ctx) => {
|
|
51
|
+
const ssrContext = useSSRContext();
|
|
52
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/components/AddonGalleryCard.vue");
|
|
53
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
54
|
+
};
|
|
55
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
56
|
+
__name: "AddonGallery",
|
|
57
|
+
__ssrInlineRender: true,
|
|
58
|
+
props: {
|
|
59
|
+
addons: {}
|
|
60
|
+
},
|
|
61
|
+
setup(__props) {
|
|
62
|
+
const props = __props;
|
|
63
|
+
const { t } = useI18n();
|
|
64
|
+
const keyword = ref("");
|
|
65
|
+
const filteredAddons = computed(() => {
|
|
66
|
+
return props.addons.filter((item) => {
|
|
67
|
+
var _a;
|
|
68
|
+
return item.name.includes(keyword.value) || ((_a = item.tags) == null ? void 0 : _a.some((t2) => t2.includes(keyword.value)));
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
72
|
+
const _component_AddonGalleryCard = _sfc_main$2;
|
|
73
|
+
_push(`<!--[--><div class="relative my-4 flex-center" flex="~" rounded><div class="i-ri-search-line absolute text-slate-400 left-0 pl-12"></div><input${ssrRenderAttr("value", keyword.value)}${ssrRenderAttr("placeholder", unref(t)("gallery.tip"))} pl-10 pr-4 class="focus:border-purple-500 b-2 w-full h-12" dark="border-dark-200" bg="bg-white dark:bg-dark-500" rounded-lg transition type="text" name="search"></div><ul class="m-0! p-0! sm:grid-cols-1 lg:grid-cols-2 grid" gap="4"><!--[-->`);
|
|
74
|
+
ssrRenderList(filteredAddons.value, (addon, i) => {
|
|
75
|
+
_push(`<li class="w-full list-none m-0!">`);
|
|
76
|
+
_push(ssrRenderComponent(_component_AddonGalleryCard, { addon }, null, _parent));
|
|
77
|
+
_push(`</li>`);
|
|
78
|
+
});
|
|
79
|
+
_push(`<!--]--></ul><!--]-->`);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
84
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
85
|
+
const ssrContext = useSSRContext();
|
|
86
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/components/AddonGallery.vue");
|
|
87
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
88
|
+
};
|
|
89
|
+
const __pageData = JSON.parse('{"title":"Valaxy Addons Gallery","description":"","frontmatter":{"title":"Valaxy Addons Gallery","title_zh-CN":"Valaxy 插件橱窗","categories":["addon"],"end":false,"addons":[{"name":"valaxy-addon-algolia","icon":"i-ri-search-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-algolia","desc":"Algolia Search.","tags":["search"]},{"name":"valaxy-addon-components","icon":"i-ri-apps-2-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components","desc":"Common Components for Valaxy.","tags":["component"]},{"name":"valaxy-addon-lightgallery","icon":"i-ri-image-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-lightgallery","desc":"LightGallery for Valaxy.","tags":["image"]},{"name":"valaxy-addon-waline","icon":"i-ri-chat-3-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-waline","desc":"Waline comment.","tags":["comment"]},{"name":"valaxy-addon-twikoo","icon":"i-ri-chat-3-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-twikoo","desc":"Twikoo comment.","tags":["comment"]}]},"headers":[],"relativePath":"pages/addons/gallery.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\addons\\\\gallery.md","lastUpdated":1696368478000}');
|
|
90
|
+
const data = JSON.parse('{"title":"Valaxy Addons Gallery","description":"","frontmatter":{"title":"Valaxy Addons Gallery","title_zh-CN":"Valaxy 插件橱窗","categories":["addon"],"end":false,"addons":[{"name":"valaxy-addon-algolia","icon":"i-ri-search-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-algolia","desc":"Algolia Search.","tags":["search"]},{"name":"valaxy-addon-components","icon":"i-ri-apps-2-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components","desc":"Common Components for Valaxy.","tags":["component"]},{"name":"valaxy-addon-lightgallery","icon":"i-ri-image-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-lightgallery","desc":"LightGallery for Valaxy.","tags":["image"]},{"name":"valaxy-addon-waline","icon":"i-ri-chat-3-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-waline","desc":"Waline comment.","tags":["comment"]},{"name":"valaxy-addon-twikoo","icon":"i-ri-chat-3-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-twikoo","desc":"Twikoo comment.","tags":["comment"]}]},"headers":[],"relativePath":"pages/addons/gallery.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\addons\\\\gallery.md","lastUpdated":1696368478000}');
|
|
91
|
+
const _sfc_main = {
|
|
92
|
+
name: "pages/addons/gallery.md",
|
|
93
|
+
data() {
|
|
94
|
+
return { data, frontmatter: data.frontmatter, $frontmatter: data.frontmatter };
|
|
95
|
+
},
|
|
96
|
+
setup() {
|
|
97
|
+
const route = useRoute();
|
|
98
|
+
route.meta.frontmatter = Object.assign(route.meta.frontmatter, data.frontmatter);
|
|
99
|
+
provide("pageData", data);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
103
|
+
const _component_ValaxyMain = __unplugin_components_0;
|
|
104
|
+
const _component_AddonGallery = _sfc_main$1;
|
|
105
|
+
_push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
|
|
106
|
+
frontmatter: $data.frontmatter,
|
|
107
|
+
data: $data.data
|
|
108
|
+
}, _attrs), {
|
|
109
|
+
"main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
110
|
+
if (_push2) {
|
|
111
|
+
_push2(ssrRenderComponent(_component_AddonGallery, {
|
|
112
|
+
addons: $data.$frontmatter.addons
|
|
113
|
+
}, null, _parent2, _scopeId));
|
|
114
|
+
} else {
|
|
115
|
+
return [
|
|
116
|
+
createVNode(_component_AddonGallery, {
|
|
117
|
+
addons: $data.$frontmatter.addons
|
|
118
|
+
}, null, 8, ["addons"])
|
|
119
|
+
];
|
|
120
|
+
}
|
|
121
|
+
}),
|
|
122
|
+
"main-header": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
123
|
+
if (_push2) {
|
|
124
|
+
ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
|
|
125
|
+
} else {
|
|
126
|
+
return [
|
|
127
|
+
renderSlot(_ctx.$slots, "main-header")
|
|
128
|
+
];
|
|
129
|
+
}
|
|
130
|
+
}),
|
|
131
|
+
"main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
132
|
+
if (_push2) {
|
|
133
|
+
ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
|
|
134
|
+
} else {
|
|
135
|
+
return [
|
|
136
|
+
renderSlot(_ctx.$slots, "main-header-after")
|
|
137
|
+
];
|
|
138
|
+
}
|
|
139
|
+
}),
|
|
140
|
+
"main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
141
|
+
if (_push2) {
|
|
142
|
+
ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
|
|
143
|
+
} else {
|
|
144
|
+
return [
|
|
145
|
+
renderSlot(_ctx.$slots, "main-nav")
|
|
146
|
+
];
|
|
147
|
+
}
|
|
148
|
+
}),
|
|
149
|
+
"main-content": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
150
|
+
if (_push2) {
|
|
151
|
+
ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
|
|
152
|
+
} else {
|
|
153
|
+
return [
|
|
154
|
+
renderSlot(_ctx.$slots, "main-content")
|
|
155
|
+
];
|
|
156
|
+
}
|
|
157
|
+
}),
|
|
158
|
+
"main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
159
|
+
if (_push2) {
|
|
160
|
+
ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
|
|
161
|
+
} else {
|
|
162
|
+
return [
|
|
163
|
+
renderSlot(_ctx.$slots, "main-content-after")
|
|
164
|
+
];
|
|
165
|
+
}
|
|
166
|
+
}),
|
|
167
|
+
"main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
168
|
+
if (_push2) {
|
|
169
|
+
ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
|
|
170
|
+
} else {
|
|
171
|
+
return [
|
|
172
|
+
renderSlot(_ctx.$slots, "main-nav-before")
|
|
173
|
+
];
|
|
174
|
+
}
|
|
175
|
+
}),
|
|
176
|
+
"main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
177
|
+
if (_push2) {
|
|
178
|
+
ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
|
|
179
|
+
} else {
|
|
180
|
+
return [
|
|
181
|
+
renderSlot(_ctx.$slots, "main-nav-after")
|
|
182
|
+
];
|
|
183
|
+
}
|
|
184
|
+
}),
|
|
185
|
+
comment: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
186
|
+
if (_push2) {
|
|
187
|
+
ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
|
|
188
|
+
} else {
|
|
189
|
+
return [
|
|
190
|
+
renderSlot(_ctx.$slots, "comment")
|
|
191
|
+
];
|
|
192
|
+
}
|
|
193
|
+
}),
|
|
194
|
+
footer: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
195
|
+
if (_push2) {
|
|
196
|
+
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
197
|
+
} else {
|
|
198
|
+
return [
|
|
199
|
+
renderSlot(_ctx.$slots, "footer")
|
|
200
|
+
];
|
|
201
|
+
}
|
|
202
|
+
}),
|
|
203
|
+
aside: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
204
|
+
if (_push2) {
|
|
205
|
+
ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
|
|
206
|
+
} else {
|
|
207
|
+
return [
|
|
208
|
+
renderSlot(_ctx.$slots, "aside")
|
|
209
|
+
];
|
|
210
|
+
}
|
|
211
|
+
}),
|
|
212
|
+
"aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
213
|
+
if (_push2) {
|
|
214
|
+
ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
|
|
215
|
+
} else {
|
|
216
|
+
return [
|
|
217
|
+
renderSlot(_ctx.$slots, "aside-custom")
|
|
218
|
+
];
|
|
219
|
+
}
|
|
220
|
+
}),
|
|
221
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
222
|
+
if (_push2) {
|
|
223
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
|
224
|
+
} else {
|
|
225
|
+
return [
|
|
226
|
+
renderSlot(_ctx.$slots, "default")
|
|
227
|
+
];
|
|
228
|
+
}
|
|
229
|
+
}),
|
|
230
|
+
_: 3
|
|
231
|
+
/* FORWARDED */
|
|
232
|
+
}, _parent));
|
|
233
|
+
}
|
|
234
|
+
const _sfc_setup = _sfc_main.setup;
|
|
235
|
+
_sfc_main.setup = (props, ctx) => {
|
|
236
|
+
const ssrContext = useSSRContext();
|
|
237
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/addons/gallery.md");
|
|
238
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
239
|
+
};
|
|
240
|
+
const gallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
241
|
+
export {
|
|
242
|
+
__pageData,
|
|
243
|
+
gallery as default
|
|
244
|
+
};
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, unref, useSSRContext, provide, mergeProps, withCtx, createTextVNode, createVNode, renderSlot } from "vue";
|
|
2
|
+
import { ssrRenderAttr, ssrRenderList, ssrRenderClass, ssrInterpolate, ssrRenderComponent, ssrRenderSlot } from "vue/server-renderer";
|
|
3
|
+
import { u as useI18n, _ as _export_sfc, a as _sfc_main$2 } from "../main.mjs";
|
|
4
|
+
import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
|
|
5
|
+
import { useRoute } from "vue-router";
|
|
6
|
+
import "vite-ssg";
|
|
7
|
+
import "pinia";
|
|
8
|
+
import "@vueuse/core";
|
|
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: "ThemeGallery",
|
|
26
|
+
__ssrInlineRender: true,
|
|
27
|
+
props: {
|
|
28
|
+
themes: {}
|
|
29
|
+
},
|
|
30
|
+
setup(__props) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const { t } = useI18n();
|
|
33
|
+
const keyword = ref("");
|
|
34
|
+
const filteredThemes = computed(() => {
|
|
35
|
+
return props.themes.filter((item) => {
|
|
36
|
+
var _a;
|
|
37
|
+
return item.name.includes(keyword.value) || ((_a = item.tags) == null ? void 0 : _a.some((t2) => t2.includes(keyword.value)));
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
41
|
+
_push(`<!--[--><div class="relative my-4 flex-center" flex="~" rounded data-v-e7277bc5><div class="i-ri-search-line absolute text-slate-400 left-0 pl-12" data-v-e7277bc5></div><input${ssrRenderAttr("value", keyword.value)}${ssrRenderAttr("placeholder", unref(t)("gallery.tip"))} pl-10 pr-4 class="focus:border-purple-500 b-2 w-full h-12" dark="border-dark-200" bg="bg-white dark:bg-dark-500" rounded-lg transition type="text" name="search" data-v-e7277bc5></div><ul class="m-0! p-0! sm:grid-cols-1 lg:grid-cols-2 grid" gap="4" data-v-e7277bc5><!--[-->`);
|
|
42
|
+
ssrRenderList(filteredThemes.value, (theme, i) => {
|
|
43
|
+
_push(`<li class="w-full list-none m-0!" data-v-e7277bc5><div class="transition bg-$va-c-bg-alt" border rounded-xl dark="border-dark-200" overflow-hidden hover="bg-$va-c-bg shadow-md" data-v-e7277bc5><div class="img-wrapper" cursor-pointer data-v-e7277bc5><img w="full" h="58" class="object-cover"${ssrRenderAttr("src", theme.siteImage)}${ssrRenderAttr("alt", theme.name)} data-v-e7277bc5><a target="_blank"${ssrRenderAttr("href", theme.siteExampleUrl || theme.repo)}${ssrRenderAttr("alt", theme.name)} class="mask" data-v-e7277bc5><div class="i-ri-eye-line text-40px text-white" data-v-e7277bc5></div></a></div><div px-4 pb-4 data-v-e7277bc5><a${ssrRenderAttr("href", theme.repo)} target="_blank" class="decoration-none!" data-v-e7277bc5><h3 class="mt-4!" flex justify-center items-center data-v-e7277bc5><div text-xl mr-2 class="${ssrRenderClass(theme.icon)}" data-v-e7277bc5></div><span data-v-e7277bc5>${ssrInterpolate(theme.name)}</span></h3></a><p class="my-1! text-xl!" data-v-e7277bc5><a mr-2 class="text-red-600!"${ssrRenderAttr("href", `https://npmjs.com/package/${theme.name}`)} target="_blank" alt="NPM Package" data-v-e7277bc5><div i-ri-npmjs-line data-v-e7277bc5></div></a><a mr-2 class="text-blue-600!"${ssrRenderAttr("href", theme.siteExampleUrl)} target="_blank" alt="NPM Package" data-v-e7277bc5><div i-ri-slideshow-2-line data-v-e7277bc5></div></a></p><p class="my-1!" data-v-e7277bc5>${ssrInterpolate(theme.desc)}</p><ul class="m-0! p-0! flex flex-wrap" data-v-e7277bc5><!--[-->`);
|
|
44
|
+
ssrRenderList(theme.tags, (tag, j) => {
|
|
45
|
+
_push(`<span class="break-all text-gray mr-6px" data-v-e7277bc5> #${ssrInterpolate(tag)}</span>`);
|
|
46
|
+
});
|
|
47
|
+
_push(`<!--]--></ul></div></div></li>`);
|
|
48
|
+
});
|
|
49
|
+
_push(`<!--]--></ul><!--]-->`);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
const ThemeGallery_vue_vue_type_style_index_0_scoped_e7277bc5_lang = "";
|
|
54
|
+
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
55
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
56
|
+
const ssrContext = useSSRContext();
|
|
57
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/components/ThemeGallery.vue");
|
|
58
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
59
|
+
};
|
|
60
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e7277bc5"]]);
|
|
61
|
+
const __pageData = JSON.parse('{"title":"Valaxy Themes Gallery","description":"","frontmatter":{"title":"Valaxy Themes Gallery","title_zh-CN":"Valaxy 主题橱窗","categories":["theme"],"end":false,"themes":[{"name":"valaxy-theme-yun","icon":"i-ri-cloud-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-yun","desc":"Default Theme for Valaxy","siteImage":"https://s2.loli.net/2023/05/05/QoK4ZimqN3fgRdD.png","siteExampleUrl":"https://www.yunyoujun.cn","tags":["yun","light"]},{"name":"valaxy-theme-press","icon":"i-ri-book-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-press","desc":"Docs Theme for Valaxy","siteImage":"https://s2.loli.net/2023/05/05/1DyEudpohIl47cP.png","siteExampleUrl":"https://valaxy.site/","tags":["docs","press"]},{"name":"valaxy-theme-starter","icon":"i-ri-book-line","repo":"https://github.com/valaxyjs/valaxy-theme-starter","desc":"Starter Theme for Valaxy","siteImage":"https://s2.loli.net/2023/10/06/viHCdNlQn2KZzEq.png","siteExampleUrl":"https://starter.valaxy.site/","tags":["starter","template"]},{"name":"valaxy-theme-gitlink","icon":"i-ri-book-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-press","desc":"GitLink Theme for Valaxy","siteImage":"https://s2.loli.net/2023/10/06/xJf8nHBQNFybpag.png","siteExampleUrl":"https://gitlink.valaxy.site/","tags":["home","gitlink"]}]},"headers":[],"relativePath":"pages/themes/gallery.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\themes\\\\gallery.md","lastUpdated":1696528959000}');
|
|
62
|
+
const data = JSON.parse('{"title":"Valaxy Themes Gallery","description":"","frontmatter":{"title":"Valaxy Themes Gallery","title_zh-CN":"Valaxy 主题橱窗","categories":["theme"],"end":false,"themes":[{"name":"valaxy-theme-yun","icon":"i-ri-cloud-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-yun","desc":"Default Theme for Valaxy","siteImage":"https://s2.loli.net/2023/05/05/QoK4ZimqN3fgRdD.png","siteExampleUrl":"https://www.yunyoujun.cn","tags":["yun","light"]},{"name":"valaxy-theme-press","icon":"i-ri-book-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-press","desc":"Docs Theme for Valaxy","siteImage":"https://s2.loli.net/2023/05/05/1DyEudpohIl47cP.png","siteExampleUrl":"https://valaxy.site/","tags":["docs","press"]},{"name":"valaxy-theme-starter","icon":"i-ri-book-line","repo":"https://github.com/valaxyjs/valaxy-theme-starter","desc":"Starter Theme for Valaxy","siteImage":"https://s2.loli.net/2023/10/06/viHCdNlQn2KZzEq.png","siteExampleUrl":"https://starter.valaxy.site/","tags":["starter","template"]},{"name":"valaxy-theme-gitlink","icon":"i-ri-book-line","repo":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-press","desc":"GitLink Theme for Valaxy","siteImage":"https://s2.loli.net/2023/10/06/xJf8nHBQNFybpag.png","siteExampleUrl":"https://gitlink.valaxy.site/","tags":["home","gitlink"]}]},"headers":[],"relativePath":"pages/themes/gallery.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\themes\\\\gallery.md","lastUpdated":1696528959000}');
|
|
63
|
+
const _sfc_main = {
|
|
64
|
+
name: "pages/themes/gallery.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_ThemeGallery = __unplugin_components_2;
|
|
78
|
+
_push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
|
|
79
|
+
frontmatter: $data.frontmatter,
|
|
80
|
+
data: $data.data
|
|
81
|
+
}, _attrs), {
|
|
82
|
+
"main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
83
|
+
if (_push2) {
|
|
84
|
+
_push2(`<div lang="zh-CN"${_scopeId}><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}>TIP</span><span lang="zh-CN"${_scopeId}>提示</span></p><p${_scopeId}>很高兴你看到这里,这里是 Valaxy 主题橱窗,我将会为提交主题(符合基础使用质量)的前五位作者赠送`);
|
|
85
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
86
|
+
href: "https://twitter.com/YunYouJun/status/1633116052174299137",
|
|
87
|
+
target: "_blank",
|
|
88
|
+
rel: "noreferrer"
|
|
89
|
+
}, {
|
|
90
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
91
|
+
if (_push3) {
|
|
92
|
+
_push3(`「小云立牌」`);
|
|
93
|
+
} else {
|
|
94
|
+
return [
|
|
95
|
+
createTextVNode("「小云立牌」")
|
|
96
|
+
];
|
|
97
|
+
}
|
|
98
|
+
}),
|
|
99
|
+
_: 1
|
|
100
|
+
/* STABLE */
|
|
101
|
+
}, _parent2, _scopeId));
|
|
102
|
+
_push2(` 😛。</p><p${_scopeId}>欢迎 `);
|
|
103
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
104
|
+
href: "https://github.com/YunYouJun/valaxy/blob/main/docs/pages/themes/gallery.md",
|
|
105
|
+
target: "_blank",
|
|
106
|
+
rel: "noreferrer"
|
|
107
|
+
}, {
|
|
108
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
109
|
+
if (_push3) {
|
|
110
|
+
_push3(`提交主题`);
|
|
111
|
+
} else {
|
|
112
|
+
return [
|
|
113
|
+
createTextVNode("提交主题")
|
|
114
|
+
];
|
|
115
|
+
}
|
|
116
|
+
}),
|
|
117
|
+
_: 1
|
|
118
|
+
/* STABLE */
|
|
119
|
+
}, _parent2, _scopeId));
|
|
120
|
+
_push2(`。</p></div></div><div lang="en"${_scopeId}><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}>TIP</span><span lang="zh-CN"${_scopeId}>提示</span></p><p${_scopeId}>Nice to see you here. This is the Valaxy Themes Gallery, and I will give away `);
|
|
121
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
122
|
+
href: "https://twitter.com/YunYouJun/status/1633116052174299137",
|
|
123
|
+
target: "_blank",
|
|
124
|
+
rel: "noreferrer"
|
|
125
|
+
}, {
|
|
126
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
127
|
+
if (_push3) {
|
|
128
|
+
_push3(`「小云立牌」`);
|
|
129
|
+
} else {
|
|
130
|
+
return [
|
|
131
|
+
createTextVNode("「小云立牌」")
|
|
132
|
+
];
|
|
133
|
+
}
|
|
134
|
+
}),
|
|
135
|
+
_: 1
|
|
136
|
+
/* STABLE */
|
|
137
|
+
}, _parent2, _scopeId));
|
|
138
|
+
_push2(` to the top five authors who submitted the theme (meeting the basic usage quality) 😛.</p><p${_scopeId}>Feel free to `);
|
|
139
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
140
|
+
href: "https://github.com/YunYouJun/valaxy/blob/main/docs/pages/themes/gallery.md",
|
|
141
|
+
target: "_blank",
|
|
142
|
+
rel: "noreferrer"
|
|
143
|
+
}, {
|
|
144
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
145
|
+
if (_push3) {
|
|
146
|
+
_push3(`submit your theme`);
|
|
147
|
+
} else {
|
|
148
|
+
return [
|
|
149
|
+
createTextVNode("submit your theme")
|
|
150
|
+
];
|
|
151
|
+
}
|
|
152
|
+
}),
|
|
153
|
+
_: 1
|
|
154
|
+
/* STABLE */
|
|
155
|
+
}, _parent2, _scopeId));
|
|
156
|
+
_push2(`.</p></div></div>`);
|
|
157
|
+
_push2(ssrRenderComponent(_component_ThemeGallery, {
|
|
158
|
+
themes: $data.$frontmatter.themes
|
|
159
|
+
}, null, _parent2, _scopeId));
|
|
160
|
+
_push2(`<br${_scopeId}>`);
|
|
161
|
+
} else {
|
|
162
|
+
return [
|
|
163
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
164
|
+
createVNode("div", { class: "tip custom-block" }, [
|
|
165
|
+
createVNode("p", { class: "custom-block-title" }, [
|
|
166
|
+
createVNode("i", { class: "icon i-carbon-thumbs-up" }),
|
|
167
|
+
createVNode("span", { lang: "en" }, "TIP"),
|
|
168
|
+
createVNode("span", { lang: "zh-CN" }, "提示")
|
|
169
|
+
]),
|
|
170
|
+
createVNode("p", null, [
|
|
171
|
+
createTextVNode("很高兴你看到这里,这里是 Valaxy 主题橱窗,我将会为提交主题(符合基础使用质量)的前五位作者赠送"),
|
|
172
|
+
createVNode(_component_AppLink, {
|
|
173
|
+
href: "https://twitter.com/YunYouJun/status/1633116052174299137",
|
|
174
|
+
target: "_blank",
|
|
175
|
+
rel: "noreferrer"
|
|
176
|
+
}, {
|
|
177
|
+
default: withCtx(() => [
|
|
178
|
+
createTextVNode("「小云立牌」")
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
/* STABLE */
|
|
182
|
+
}),
|
|
183
|
+
createTextVNode(" 😛。")
|
|
184
|
+
]),
|
|
185
|
+
createVNode("p", null, [
|
|
186
|
+
createTextVNode("欢迎 "),
|
|
187
|
+
createVNode(_component_AppLink, {
|
|
188
|
+
href: "https://github.com/YunYouJun/valaxy/blob/main/docs/pages/themes/gallery.md",
|
|
189
|
+
target: "_blank",
|
|
190
|
+
rel: "noreferrer"
|
|
191
|
+
}, {
|
|
192
|
+
default: withCtx(() => [
|
|
193
|
+
createTextVNode("提交主题")
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
/* STABLE */
|
|
197
|
+
}),
|
|
198
|
+
createTextVNode("。")
|
|
199
|
+
])
|
|
200
|
+
])
|
|
201
|
+
]),
|
|
202
|
+
createVNode("div", { lang: "en" }, [
|
|
203
|
+
createVNode("div", { class: "tip custom-block" }, [
|
|
204
|
+
createVNode("p", { class: "custom-block-title" }, [
|
|
205
|
+
createVNode("i", { class: "icon i-carbon-thumbs-up" }),
|
|
206
|
+
createVNode("span", { lang: "en" }, "TIP"),
|
|
207
|
+
createVNode("span", { lang: "zh-CN" }, "提示")
|
|
208
|
+
]),
|
|
209
|
+
createVNode("p", null, [
|
|
210
|
+
createTextVNode("Nice to see you here. This is the Valaxy Themes Gallery, and I will give away "),
|
|
211
|
+
createVNode(_component_AppLink, {
|
|
212
|
+
href: "https://twitter.com/YunYouJun/status/1633116052174299137",
|
|
213
|
+
target: "_blank",
|
|
214
|
+
rel: "noreferrer"
|
|
215
|
+
}, {
|
|
216
|
+
default: withCtx(() => [
|
|
217
|
+
createTextVNode("「小云立牌」")
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
/* STABLE */
|
|
221
|
+
}),
|
|
222
|
+
createTextVNode(" to the top five authors who submitted the theme (meeting the basic usage quality) 😛.")
|
|
223
|
+
]),
|
|
224
|
+
createVNode("p", null, [
|
|
225
|
+
createTextVNode("Feel free to "),
|
|
226
|
+
createVNode(_component_AppLink, {
|
|
227
|
+
href: "https://github.com/YunYouJun/valaxy/blob/main/docs/pages/themes/gallery.md",
|
|
228
|
+
target: "_blank",
|
|
229
|
+
rel: "noreferrer"
|
|
230
|
+
}, {
|
|
231
|
+
default: withCtx(() => [
|
|
232
|
+
createTextVNode("submit your theme")
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
/* STABLE */
|
|
236
|
+
}),
|
|
237
|
+
createTextVNode(".")
|
|
238
|
+
])
|
|
239
|
+
])
|
|
240
|
+
]),
|
|
241
|
+
createVNode(_component_ThemeGallery, {
|
|
242
|
+
themes: $data.$frontmatter.themes
|
|
243
|
+
}, null, 8, ["themes"]),
|
|
244
|
+
createVNode("br")
|
|
245
|
+
];
|
|
246
|
+
}
|
|
247
|
+
}),
|
|
248
|
+
"main-header": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
249
|
+
if (_push2) {
|
|
250
|
+
ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
|
|
251
|
+
} else {
|
|
252
|
+
return [
|
|
253
|
+
renderSlot(_ctx.$slots, "main-header")
|
|
254
|
+
];
|
|
255
|
+
}
|
|
256
|
+
}),
|
|
257
|
+
"main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
258
|
+
if (_push2) {
|
|
259
|
+
ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
|
|
260
|
+
} else {
|
|
261
|
+
return [
|
|
262
|
+
renderSlot(_ctx.$slots, "main-header-after")
|
|
263
|
+
];
|
|
264
|
+
}
|
|
265
|
+
}),
|
|
266
|
+
"main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
267
|
+
if (_push2) {
|
|
268
|
+
ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
|
|
269
|
+
} else {
|
|
270
|
+
return [
|
|
271
|
+
renderSlot(_ctx.$slots, "main-nav")
|
|
272
|
+
];
|
|
273
|
+
}
|
|
274
|
+
}),
|
|
275
|
+
"main-content": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
276
|
+
if (_push2) {
|
|
277
|
+
ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
|
|
278
|
+
} else {
|
|
279
|
+
return [
|
|
280
|
+
renderSlot(_ctx.$slots, "main-content")
|
|
281
|
+
];
|
|
282
|
+
}
|
|
283
|
+
}),
|
|
284
|
+
"main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
285
|
+
if (_push2) {
|
|
286
|
+
ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
|
|
287
|
+
} else {
|
|
288
|
+
return [
|
|
289
|
+
renderSlot(_ctx.$slots, "main-content-after")
|
|
290
|
+
];
|
|
291
|
+
}
|
|
292
|
+
}),
|
|
293
|
+
"main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
294
|
+
if (_push2) {
|
|
295
|
+
ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
|
|
296
|
+
} else {
|
|
297
|
+
return [
|
|
298
|
+
renderSlot(_ctx.$slots, "main-nav-before")
|
|
299
|
+
];
|
|
300
|
+
}
|
|
301
|
+
}),
|
|
302
|
+
"main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
303
|
+
if (_push2) {
|
|
304
|
+
ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
|
|
305
|
+
} else {
|
|
306
|
+
return [
|
|
307
|
+
renderSlot(_ctx.$slots, "main-nav-after")
|
|
308
|
+
];
|
|
309
|
+
}
|
|
310
|
+
}),
|
|
311
|
+
comment: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
312
|
+
if (_push2) {
|
|
313
|
+
ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
|
|
314
|
+
} else {
|
|
315
|
+
return [
|
|
316
|
+
renderSlot(_ctx.$slots, "comment")
|
|
317
|
+
];
|
|
318
|
+
}
|
|
319
|
+
}),
|
|
320
|
+
footer: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
321
|
+
if (_push2) {
|
|
322
|
+
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
323
|
+
} else {
|
|
324
|
+
return [
|
|
325
|
+
renderSlot(_ctx.$slots, "footer")
|
|
326
|
+
];
|
|
327
|
+
}
|
|
328
|
+
}),
|
|
329
|
+
aside: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
330
|
+
if (_push2) {
|
|
331
|
+
ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
|
|
332
|
+
} else {
|
|
333
|
+
return [
|
|
334
|
+
renderSlot(_ctx.$slots, "aside")
|
|
335
|
+
];
|
|
336
|
+
}
|
|
337
|
+
}),
|
|
338
|
+
"aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
339
|
+
if (_push2) {
|
|
340
|
+
ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
|
|
341
|
+
} else {
|
|
342
|
+
return [
|
|
343
|
+
renderSlot(_ctx.$slots, "aside-custom")
|
|
344
|
+
];
|
|
345
|
+
}
|
|
346
|
+
}),
|
|
347
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
348
|
+
if (_push2) {
|
|
349
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
|
350
|
+
} else {
|
|
351
|
+
return [
|
|
352
|
+
renderSlot(_ctx.$slots, "default")
|
|
353
|
+
];
|
|
354
|
+
}
|
|
355
|
+
}),
|
|
356
|
+
_: 3
|
|
357
|
+
/* FORWARDED */
|
|
358
|
+
}, _parent));
|
|
359
|
+
}
|
|
360
|
+
const _sfc_setup = _sfc_main.setup;
|
|
361
|
+
_sfc_main.setup = (props, ctx) => {
|
|
362
|
+
const ssrContext = useSSRContext();
|
|
363
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/themes/gallery.md");
|
|
364
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
365
|
+
};
|
|
366
|
+
const gallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
367
|
+
export {
|
|
368
|
+
__pageData,
|
|
369
|
+
gallery as default
|
|
370
|
+
};
|