@vuepress/theme-default 2.0.0-rc.134 → 2.0.0-rc.136
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/dist/client/composables/index.d.ts +7 -7
- package/dist/client/composables/index.js +1 -1
- package/dist/client/composables/useData.d.ts +1 -1
- package/dist/client/composables/useNavbarConfig.d.ts +1 -1
- package/dist/client/composables/useNavbarRepo.d.ts +1 -1
- package/dist/client/composables/useNavbarSelectLanguage.d.ts +1 -1
- package/dist/client/composables/useRelatedLinks.d.ts +1 -1
- package/dist/client/composables/useSidebarItems.d.ts +1 -1
- package/dist/client/composables/useUpdateDeviceStatus.js +1 -1
- package/dist/client/config.d.ts +3 -2
- package/dist/client/config.js +1 -1
- package/dist/client/config.js.map +1 -1
- package/dist/client/index.d.ts +13 -13
- package/dist/client/index.js +1 -1
- package/dist/client/utils/index.d.ts +4 -4
- package/dist/client/utils/isActiveSidebarItem.d.ts +1 -1
- package/dist/client/utils/resolveAutoLink.d.ts +1 -1
- package/dist/client/utils/resolveRepoType.d.ts +1 -1
- package/dist/index-CKVw8AvB.d.ts +3 -0
- package/dist/index-D1ZnfV_H.d.ts +8 -0
- package/dist/{index-DkAtp85h.d.ts → index-DnNaefpa.d.ts} +6 -6
- package/dist/{isActiveSidebarItem-DdHcB4fJ.d.ts → isActiveSidebarItem-CimWaCAf.d.ts} +2 -2
- package/dist/node/index.d.ts +1 -1
- package/dist/{resolveAutoLink-LfZfSGFX.d.ts → resolveAutoLink-JDq36I7k.d.ts} +2 -2
- package/dist/{resolveRepoType-DEy0Gvc4.d.ts → resolveRepoType-DmT6nK6z.d.ts} +2 -2
- package/dist/{typings-Dsy2lPQS.d.ts → typings-Cbpr0bFc.d.ts} +2 -2
- package/dist/{useData-B20ETmVf.d.ts → useData-DLY6oMFR.d.ts} +3 -3
- package/dist/{useNavbarConfig-CXdLjfSJ.d.ts → useNavbarConfig-jIUipXMq.d.ts} +2 -2
- package/dist/{useNavbarRepo-BQ2wiq-1.d.ts → useNavbarRepo-B9pyDtUq.d.ts} +2 -2
- package/dist/{useNavbarSelectLanguage-Cd32nqUA.d.ts → useNavbarSelectLanguage-zG8uc9ys.d.ts} +2 -2
- package/dist/{useRelatedLinks-B5Hq7BUl.d.ts → useRelatedLinks-Ds7UdilB.d.ts} +2 -2
- package/dist/{useSidebarItems-xWOsGwcx.d.ts → useSidebarItems-C7_FZHit.d.ts} +3 -3
- package/dist/useUpdateDeviceStatus-eEm3JFFI.js +2 -0
- package/dist/{useUpdateDeviceStatus-DMKiVB3W.js.map → useUpdateDeviceStatus-eEm3JFFI.js.map} +1 -1
- package/package.json +21 -21
- package/dist/index-BIWlrErN.d.ts +0 -3
- package/dist/index-DgnmBYGr.d.ts +0 -8
- package/dist/useUpdateDeviceStatus-DMKiVB3W.js +0 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as setupDarkMode, r as useDarkMode, t as DarkModeRef } from "../../useDarkMode-DmWka_eQ.js";
|
|
2
|
-
import { n as useData, t as Data } from "../../useData-
|
|
2
|
+
import { n as useData, t as Data } from "../../useData-DLY6oMFR.js";
|
|
3
3
|
import { t as useEditLink } from "../../useEditLink-DXlW5QzK.js";
|
|
4
4
|
import { t as useNavigate } from "../../useNavigate-zqYnxkd_.js";
|
|
5
|
-
import { t as useNavbarConfig } from "../../useNavbarConfig-
|
|
6
|
-
import { t as useNavbarRepo } from "../../useNavbarRepo-
|
|
7
|
-
import { t as useNavbarSelectLanguage } from "../../useNavbarSelectLanguage-
|
|
8
|
-
import { t as useRelatedLinks } from "../../useRelatedLinks-
|
|
5
|
+
import { t as useNavbarConfig } from "../../useNavbarConfig-jIUipXMq.js";
|
|
6
|
+
import { t as useNavbarRepo } from "../../useNavbarRepo-B9pyDtUq.js";
|
|
7
|
+
import { t as useNavbarSelectLanguage } from "../../useNavbarSelectLanguage-zG8uc9ys.js";
|
|
8
|
+
import { t as useRelatedLinks } from "../../useRelatedLinks-Ds7UdilB.js";
|
|
9
9
|
import { n as useScrollPromise, t as ScrollPromise } from "../../useScrollPromise-TwtWBE3d.js";
|
|
10
|
-
import { a as resolveSidebarItems, c as setupSidebarItems, i as resolveSidebarHeadingItem, l as sidebarItemsSymbol, n as resolveArraySidebarItems, o as resolveSidebarPageHeader, r as resolveMultiSidebarItems, s as resolveSidebarPageHeaders, t as SidebarItemsRef, u as useSidebarItems } from "../../useSidebarItems-
|
|
10
|
+
import { a as resolveSidebarItems, c as setupSidebarItems, i as resolveSidebarHeadingItem, l as sidebarItemsSymbol, n as resolveArraySidebarItems, o as resolveSidebarPageHeader, r as resolveMultiSidebarItems, s as resolveSidebarPageHeaders, t as SidebarItemsRef, u as useSidebarItems } from "../../useSidebarItems-C7_FZHit.js";
|
|
11
11
|
import { n as useUpdateDeviceStatus, t as DeviceType } from "../../useUpdateDeviceStatus-CsrJ_Qqv.js";
|
|
12
|
-
import "../../index-
|
|
12
|
+
import "../../index-D1ZnfV_H.js";
|
|
13
13
|
export { DarkModeRef, Data, DeviceType, ScrollPromise, SidebarItemsRef, resolveArraySidebarItems, resolveMultiSidebarItems, resolveSidebarHeadingItem, resolveSidebarItems, resolveSidebarPageHeader, resolveSidebarPageHeaders, setupDarkMode, setupSidebarItems, sidebarItemsSymbol, useDarkMode, useData, useEditLink, useNavbarConfig, useNavbarRepo, useNavbarSelectLanguage, useNavigate, useRelatedLinks, useScrollPromise, useSidebarItems, useUpdateDeviceStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../useDarkMode-BfKvIN6K.js";import{t as n}from"../../useData-nv4hwlgW.js";import{t as r}from"../../useEditLink-BmoW42FE.js";import{t as i}from"../../useNavigate-mlFey3ew.js";import{t as a}from"../../useNavbarConfig-CxVplYul.js";import{t as o}from"../../useNavbarRepo-BScd94be.js";import{t as s}from"../../useNavbarSelectLanguage-FHyzHFEW.js";import{t as c}from"../../useRelatedLinks-BwsPumn1.js";import{t as l}from"../../useScrollPromise-CB6ZLciv.js";import{a as u,c as d,i as f,l as p,n as m,o as h,r as g,s as _,t as v}from"../../useSidebarItems-D1vD1QQp.js";import{n as y,t as b}from"../../useUpdateDeviceStatus-
|
|
1
|
+
import{n as e,t}from"../../useDarkMode-BfKvIN6K.js";import{t as n}from"../../useData-nv4hwlgW.js";import{t as r}from"../../useEditLink-BmoW42FE.js";import{t as i}from"../../useNavigate-mlFey3ew.js";import{t as a}from"../../useNavbarConfig-CxVplYul.js";import{t as o}from"../../useNavbarRepo-BScd94be.js";import{t as s}from"../../useNavbarSelectLanguage-FHyzHFEW.js";import{t as c}from"../../useRelatedLinks-BwsPumn1.js";import{t as l}from"../../useScrollPromise-CB6ZLciv.js";import{a as u,c as d,i as f,l as p,n as m,o as h,r as g,s as _,t as v}from"../../useSidebarItems-D1vD1QQp.js";import{n as y,t as b}from"../../useUpdateDeviceStatus-eEm3JFFI.js";import"../../composables-CAISgiXf.js";export{b as DeviceType,v as resolveArraySidebarItems,m as resolveMultiSidebarItems,g as resolveSidebarHeadingItem,f as resolveSidebarItems,u as resolveSidebarPageHeader,h as resolveSidebarPageHeaders,t as setupDarkMode,_ as setupSidebarItems,d as sidebarItemsSymbol,e as useDarkMode,n as useData,r as useEditLink,a as useNavbarConfig,o as useNavbarRepo,s as useNavbarSelectLanguage,i as useNavigate,c as useRelatedLinks,l as useScrollPromise,p as useSidebarItems,y as useUpdateDeviceStatus};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useData, t as Data } from "../../useData-
|
|
1
|
+
import { n as useData, t as Data } from "../../useData-DLY6oMFR.js";
|
|
2
2
|
export { Data, useData };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as useNavbarConfig } from "../../useNavbarConfig-
|
|
1
|
+
import { t as useNavbarConfig } from "../../useNavbarConfig-jIUipXMq.js";
|
|
2
2
|
export { useNavbarConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as useNavbarRepo } from "../../useNavbarRepo-
|
|
1
|
+
import { t as useNavbarRepo } from "../../useNavbarRepo-B9pyDtUq.js";
|
|
2
2
|
export { useNavbarRepo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as useNavbarSelectLanguage } from "../../useNavbarSelectLanguage-
|
|
1
|
+
import { t as useNavbarSelectLanguage } from "../../useNavbarSelectLanguage-zG8uc9ys.js";
|
|
2
2
|
export { useNavbarSelectLanguage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as useRelatedLinks } from "../../useRelatedLinks-
|
|
1
|
+
import { t as useRelatedLinks } from "../../useRelatedLinks-Ds7UdilB.js";
|
|
2
2
|
export { useRelatedLinks };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveSidebarItems, c as setupSidebarItems, i as resolveSidebarHeadingItem, l as sidebarItemsSymbol, n as resolveArraySidebarItems, o as resolveSidebarPageHeader, r as resolveMultiSidebarItems, s as resolveSidebarPageHeaders, t as SidebarItemsRef, u as useSidebarItems } from "../../useSidebarItems-
|
|
1
|
+
import { a as resolveSidebarItems, c as setupSidebarItems, i as resolveSidebarHeadingItem, l as sidebarItemsSymbol, n as resolveArraySidebarItems, o as resolveSidebarPageHeader, r as resolveMultiSidebarItems, s as resolveSidebarPageHeaders, t as SidebarItemsRef, u as useSidebarItems } from "../../useSidebarItems-C7_FZHit.js";
|
|
2
2
|
export { SidebarItemsRef, resolveArraySidebarItems, resolveMultiSidebarItems, resolveSidebarHeadingItem, resolveSidebarItems, resolveSidebarPageHeader, resolveSidebarPageHeaders, setupSidebarItems, sidebarItemsSymbol, useSidebarItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../useUpdateDeviceStatus-
|
|
1
|
+
import{n as e,t}from"../../useUpdateDeviceStatus-eEm3JFFI.js";export{t as DeviceType,e as useUpdateDeviceStatus};
|
package/dist/client/config.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ClientConfig } from "vuepress/client";
|
|
1
2
|
import "@vuepress/helper/colors.css";
|
|
2
3
|
import "@vuepress/helper/normalize.css";
|
|
3
4
|
import "./styles/index.scss";
|
|
4
5
|
//#region src/client/config.d.ts
|
|
5
|
-
declare const
|
|
6
|
+
export declare const clientConfig: ClientConfig;
|
|
6
7
|
//#endregion
|
|
7
|
-
export {
|
|
8
|
+
export { clientConfig as default };
|
|
8
9
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/client/config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{hasGlobalComponent as e}from"@vuepress/helper/client";import{defineClientConfig as t}from"vuepress/client";import{setupDarkMode as n}from"@theme/useDarkMode";import{setupHeaders as r}from"@theme/useHeaders";import{useScrollPromise as i}from"@theme/useScrollPromise";import{setupSidebarItems as a}from"@theme/useSidebarItems";import o from"./components/global/Badge.vue";import s from"./layouts/Layout.vue";import c from"./layouts/NotFound.vue";import"@vuepress/helper/colors.css";import"@vuepress/helper/normalize.css";import"./styles/index.scss";
|
|
1
|
+
import{hasGlobalComponent as e}from"@vuepress/helper/client";import{defineClientConfig as t}from"vuepress/client";import{setupDarkMode as n}from"@theme/useDarkMode";import{setupHeaders as r}from"@theme/useHeaders";import{useScrollPromise as i}from"@theme/useScrollPromise";import{setupSidebarItems as a}from"@theme/useSidebarItems";import o from"./components/global/Badge.vue";import s from"./layouts/Layout.vue";import c from"./layouts/NotFound.vue";import"@vuepress/helper/colors.css";import"@vuepress/helper/normalize.css";import"./styles/index.scss";const l=t({enhance({app:t,router:n}){e(`Badge`)||t.component(`Badge`,o);let r=n.options.scrollBehavior;n.options.scrollBehavior=async(...e)=>(await i().wait(),r(...e))},setup(){n(),r(),a()},layouts:{Layout:s,NotFound:c}});export{l as clientConfig,l as default};
|
|
2
2
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","names":[],"sources":["../../src/client/config.ts"],"sourcesContent":["import { hasGlobalComponent } from '@vuepress/helper/client'\nimport { defineClientConfig } from 'vuepress/client'\n\nimport { setupDarkMode } from '@theme/useDarkMode'\nimport { setupHeaders } from '@theme/useHeaders'\nimport { useScrollPromise } from '@theme/useScrollPromise'\nimport { setupSidebarItems } from '@theme/useSidebarItems'\n\nimport { Badge } from './components/global/index.js'\nimport Layout from './layouts/Layout.vue'\nimport NotFound from './layouts/NotFound.vue'\n\nimport '@vuepress/helper/colors.css'\nimport '@vuepress/helper/normalize.css'\nimport './styles/index.scss'\n\nexport
|
|
1
|
+
{"version":3,"file":"config.js","names":[],"sources":["../../src/client/config.ts"],"sourcesContent":["import { hasGlobalComponent } from '@vuepress/helper/client'\nimport type { ClientConfig } from 'vuepress/client'\nimport { defineClientConfig } from 'vuepress/client'\n\nimport { setupDarkMode } from '@theme/useDarkMode'\nimport { setupHeaders } from '@theme/useHeaders'\nimport { useScrollPromise } from '@theme/useScrollPromise'\nimport { setupSidebarItems } from '@theme/useSidebarItems'\n\nimport { Badge } from './components/global/index.js'\nimport Layout from './layouts/Layout.vue'\nimport NotFound from './layouts/NotFound.vue'\n\nimport '@vuepress/helper/colors.css'\nimport '@vuepress/helper/normalize.css'\nimport './styles/index.scss'\n\nexport const clientConfig: ClientConfig = defineClientConfig({\n enhance({ app, router }) {\n if (!hasGlobalComponent('Badge')) app.component('Badge', Badge)\n\n // handle scrollBehavior with transition\n const scrollBehavior = router.options.scrollBehavior!\n\n // scrollBehavior is a bit hard to typed here\n // oxlint-disable-next-line typescript/explicit-function-return-type\n router.options.scrollBehavior = async (...args) => {\n await useScrollPromise().wait()\n return scrollBehavior(...args)\n }\n },\n\n setup() {\n setupDarkMode()\n setupHeaders()\n setupSidebarItems()\n },\n\n layouts: {\n Layout,\n NotFound,\n },\n})\n\nexport default clientConfig\n"],"mappings":"0iBAiBA,MAAa,EAA6B,EAAmB,CAC3D,QAAQ,CAAE,MAAK,UAAU,CAClB,EAAmB,OAAO,GAAG,EAAI,UAAU,QAAS,CAAK,EAG9D,IAAM,EAAiB,EAAO,QAAQ,eAItC,EAAO,QAAQ,eAAiB,MAAO,GAAG,KACxC,MAAM,EAAiB,CAAC,CAAC,KAAK,EACvB,EAAe,GAAG,CAAI,EAEjC,EAEA,OAAQ,CACN,EAAc,EACd,EAAa,EACb,EAAkB,CACpB,EAEA,QAAS,CACP,SACA,UACF,CACF,CAAC"}
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { n as setupDarkMode, r as useDarkMode, t as DarkModeRef } from "../useDarkMode-DmWka_eQ.js";
|
|
2
|
-
import { _ as NavbarOptions, a as DefaultThemeData, c as SidebarArrayOptions, d as SidebarLinkOptions, f as SidebarObjectOptions, g as NavbarLinkOptions, h as NavbarGroupOptions, i as DefaultThemePageFrontmatter, l as SidebarGroupOptions, m as NavGroup, n as DefaultThemeNormalPageFrontmatter, o as DefaultThemeLocaleData, p as SidebarOptions, r as DefaultThemePageData, s as DefaultThemeLocaleOptions, t as DefaultThemeHomePageFrontmatter, u as SidebarItemOptions, v as AutoLinkOptions, y as NavItemOptions } from "../index-
|
|
3
|
-
import { n as useData, t as Data } from "../useData-
|
|
2
|
+
import { _ as NavbarOptions, a as DefaultThemeData, c as SidebarArrayOptions, d as SidebarLinkOptions, f as SidebarObjectOptions, g as NavbarLinkOptions, h as NavbarGroupOptions, i as DefaultThemePageFrontmatter, l as SidebarGroupOptions, m as NavGroup, n as DefaultThemeNormalPageFrontmatter, o as DefaultThemeLocaleData, p as SidebarOptions, r as DefaultThemePageData, s as DefaultThemeLocaleOptions, t as DefaultThemeHomePageFrontmatter, u as SidebarItemOptions, v as AutoLinkOptions, y as NavItemOptions } from "../index-DnNaefpa.js";
|
|
3
|
+
import { n as useData, t as Data } from "../useData-DLY6oMFR.js";
|
|
4
4
|
import { t as useEditLink } from "../useEditLink-DXlW5QzK.js";
|
|
5
5
|
import { t as useNavigate } from "../useNavigate-zqYnxkd_.js";
|
|
6
|
-
import { a as SidebarLinkItem, i as SidebarItem, n as SidebarGroupItem, r as SidebarHeaderItem, t as NavbarItem } from "../typings-
|
|
7
|
-
import { t as useNavbarConfig } from "../useNavbarConfig-
|
|
8
|
-
import { t as useNavbarRepo } from "../useNavbarRepo-
|
|
9
|
-
import { t as useNavbarSelectLanguage } from "../useNavbarSelectLanguage-
|
|
10
|
-
import { t as useRelatedLinks } from "../useRelatedLinks-
|
|
6
|
+
import { a as SidebarLinkItem, i as SidebarItem, n as SidebarGroupItem, r as SidebarHeaderItem, t as NavbarItem } from "../typings-Cbpr0bFc.js";
|
|
7
|
+
import { t as useNavbarConfig } from "../useNavbarConfig-jIUipXMq.js";
|
|
8
|
+
import { t as useNavbarRepo } from "../useNavbarRepo-B9pyDtUq.js";
|
|
9
|
+
import { t as useNavbarSelectLanguage } from "../useNavbarSelectLanguage-zG8uc9ys.js";
|
|
10
|
+
import { t as useRelatedLinks } from "../useRelatedLinks-Ds7UdilB.js";
|
|
11
11
|
import { n as useScrollPromise, t as ScrollPromise } from "../useScrollPromise-TwtWBE3d.js";
|
|
12
|
-
import { a as resolveSidebarItems, c as setupSidebarItems, i as resolveSidebarHeadingItem, l as sidebarItemsSymbol, n as resolveArraySidebarItems, o as resolveSidebarPageHeader, r as resolveMultiSidebarItems, s as resolveSidebarPageHeaders, t as SidebarItemsRef, u as useSidebarItems } from "../useSidebarItems-
|
|
12
|
+
import { a as resolveSidebarItems, c as setupSidebarItems, i as resolveSidebarHeadingItem, l as sidebarItemsSymbol, n as resolveArraySidebarItems, o as resolveSidebarPageHeader, r as resolveMultiSidebarItems, s as resolveSidebarPageHeaders, t as SidebarItemsRef, u as useSidebarItems } from "../useSidebarItems-C7_FZHit.js";
|
|
13
13
|
import { n as useUpdateDeviceStatus, t as DeviceType } from "../useUpdateDeviceStatus-CsrJ_Qqv.js";
|
|
14
|
-
import "../index-
|
|
15
|
-
import { t as isActiveSidebarItem } from "../isActiveSidebarItem-
|
|
16
|
-
import { t as resolveAutoLink } from "../resolveAutoLink-
|
|
14
|
+
import "../index-D1ZnfV_H.js";
|
|
15
|
+
import { t as isActiveSidebarItem } from "../isActiveSidebarItem-CimWaCAf.js";
|
|
16
|
+
import { t as resolveAutoLink } from "../resolveAutoLink-JDq36I7k.js";
|
|
17
17
|
import { n as resolveEditLink, t as EDIT_LINK_PATTERNS } from "../resolveEditLink-VYO59JxD.js";
|
|
18
18
|
import { t as resolvePrefix } from "../resolvePrefix-BXZhEIJn.js";
|
|
19
|
-
import { n as resolveRepoType, t as RepoType } from "../resolveRepoType-
|
|
20
|
-
import "../index-
|
|
19
|
+
import { n as resolveRepoType, t as RepoType } from "../resolveRepoType-DmT6nK6z.js";
|
|
20
|
+
import "../index-CKVw8AvB.js";
|
|
21
21
|
export { type AutoLinkOptions, DarkModeRef, Data, type DefaultThemeData, type DefaultThemeHomePageFrontmatter, type DefaultThemeLocaleData, type DefaultThemeLocaleOptions, type DefaultThemeNormalPageFrontmatter, type DefaultThemePageData, type DefaultThemePageFrontmatter, DeviceType, EDIT_LINK_PATTERNS, type NavGroup, type NavItemOptions, type NavbarGroupOptions, type NavbarItem, type NavbarLinkOptions, type NavbarOptions, RepoType, ScrollPromise, type SidebarArrayOptions, type SidebarGroupItem, type SidebarGroupOptions, type SidebarHeaderItem, type SidebarItem, type SidebarItemOptions, SidebarItemsRef, type SidebarLinkItem, type SidebarLinkOptions, type SidebarObjectOptions, type SidebarOptions, isActiveSidebarItem, resolveArraySidebarItems, resolveAutoLink, resolveEditLink, resolveMultiSidebarItems, resolvePrefix, resolveRepoType, resolveSidebarHeadingItem, resolveSidebarItems, resolveSidebarPageHeader, resolveSidebarPageHeaders, setupDarkMode, setupSidebarItems, sidebarItemsSymbol, useDarkMode, useData, useEditLink, useNavbarConfig, useNavbarRepo, useNavbarSelectLanguage, useNavigate, useRelatedLinks, useScrollPromise, useSidebarItems, useUpdateDeviceStatus };
|
package/dist/client/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../useDarkMode-BfKvIN6K.js";import{t as n}from"../useData-nv4hwlgW.js";import{t as r}from"../useEditLink-BmoW42FE.js";import{t as i}from"../useNavigate-mlFey3ew.js";import{t as a}from"../useNavbarConfig-CxVplYul.js";import{t as o}from"../useNavbarRepo-BScd94be.js";import{t as s}from"../useNavbarSelectLanguage-FHyzHFEW.js";import{t as c}from"../useRelatedLinks-BwsPumn1.js";import{t as l}from"../useScrollPromise-CB6ZLciv.js";import{a as u,c as d,i as f,l as p,n as m,o as h,r as g,s as _,t as v}from"../useSidebarItems-D1vD1QQp.js";import{n as y,t as b}from"../useUpdateDeviceStatus-
|
|
1
|
+
import{n as e,t}from"../useDarkMode-BfKvIN6K.js";import{t as n}from"../useData-nv4hwlgW.js";import{t as r}from"../useEditLink-BmoW42FE.js";import{t as i}from"../useNavigate-mlFey3ew.js";import{t as a}from"../useNavbarConfig-CxVplYul.js";import{t as o}from"../useNavbarRepo-BScd94be.js";import{t as s}from"../useNavbarSelectLanguage-FHyzHFEW.js";import{t as c}from"../useRelatedLinks-BwsPumn1.js";import{t as l}from"../useScrollPromise-CB6ZLciv.js";import{a as u,c as d,i as f,l as p,n as m,o as h,r as g,s as _,t as v}from"../useSidebarItems-D1vD1QQp.js";import{n as y,t as b}from"../useUpdateDeviceStatus-eEm3JFFI.js";import{t as x}from"../isActiveSidebarItem-CdmUcp0l.js";import{t as S}from"../resolveAutoLink-XUJwl3Kb.js";import{n as C,t as w}from"../resolveEditLink-lteF0-Mv.js";import{t as T}from"../resolvePrefix-CQnTmTk4.js";import{t as E}from"../resolveRepoType-BfcHRhpi.js";export{b as DeviceType,w as EDIT_LINK_PATTERNS,x as isActiveSidebarItem,v as resolveArraySidebarItems,S as resolveAutoLink,C as resolveEditLink,m as resolveMultiSidebarItems,T as resolvePrefix,E as resolveRepoType,g as resolveSidebarHeadingItem,f as resolveSidebarItems,u as resolveSidebarPageHeader,h as resolveSidebarPageHeaders,t as setupDarkMode,_ as setupSidebarItems,d as sidebarItemsSymbol,e as useDarkMode,n as useData,r as useEditLink,a as useNavbarConfig,o as useNavbarRepo,s as useNavbarSelectLanguage,i as useNavigate,c as useRelatedLinks,l as useScrollPromise,p as useSidebarItems,y as useUpdateDeviceStatus};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as isActiveSidebarItem } from "../../isActiveSidebarItem-
|
|
2
|
-
import { t as resolveAutoLink } from "../../resolveAutoLink-
|
|
1
|
+
import { t as isActiveSidebarItem } from "../../isActiveSidebarItem-CimWaCAf.js";
|
|
2
|
+
import { t as resolveAutoLink } from "../../resolveAutoLink-JDq36I7k.js";
|
|
3
3
|
import { n as resolveEditLink, t as EDIT_LINK_PATTERNS } from "../../resolveEditLink-VYO59JxD.js";
|
|
4
4
|
import { t as resolvePrefix } from "../../resolvePrefix-BXZhEIJn.js";
|
|
5
|
-
import { n as resolveRepoType, t as RepoType } from "../../resolveRepoType-
|
|
6
|
-
import "../../index-
|
|
5
|
+
import { n as resolveRepoType, t as RepoType } from "../../resolveRepoType-DmT6nK6z.js";
|
|
6
|
+
import "../../index-CKVw8AvB.js";
|
|
7
7
|
export { EDIT_LINK_PATTERNS, RepoType, isActiveSidebarItem, resolveAutoLink, resolveEditLink, resolvePrefix, resolveRepoType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as isActiveSidebarItem } from "../../isActiveSidebarItem-
|
|
1
|
+
import { t as isActiveSidebarItem } from "../../isActiveSidebarItem-CimWaCAf.js";
|
|
2
2
|
export { isActiveSidebarItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as resolveAutoLink } from "../../resolveAutoLink-
|
|
1
|
+
import { t as resolveAutoLink } from "../../resolveAutoLink-JDq36I7k.js";
|
|
2
2
|
export { resolveAutoLink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveRepoType, t as RepoType } from "../../resolveRepoType-
|
|
1
|
+
import { n as resolveRepoType, t as RepoType } from "../../resolveRepoType-DmT6nK6z.js";
|
|
2
2
|
export { RepoType, resolveRepoType };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./useDarkMode-DmWka_eQ.js";
|
|
2
|
+
import "./useData-DLY6oMFR.js";
|
|
3
|
+
import "./useEditLink-DXlW5QzK.js";
|
|
4
|
+
import "./useNavbarConfig-jIUipXMq.js";
|
|
5
|
+
import "./useNavbarRepo-B9pyDtUq.js";
|
|
6
|
+
import "./useNavbarSelectLanguage-zG8uc9ys.js";
|
|
7
|
+
import "./useRelatedLinks-Ds7UdilB.js";
|
|
8
|
+
import "./useSidebarItems-C7_FZHit.js";
|
|
@@ -53,8 +53,8 @@ interface SidebarGroupOptions extends NavItemOptions {
|
|
|
53
53
|
}
|
|
54
54
|
type SidebarItemOptions = SidebarGroupOptions | SidebarLinkOptions | string;
|
|
55
55
|
type SidebarArrayOptions = SidebarItemOptions[];
|
|
56
|
-
type SidebarObjectOptions = Record<string, SidebarArrayOptions |
|
|
57
|
-
type SidebarOptions = SidebarArrayOptions | SidebarObjectOptions |
|
|
56
|
+
type SidebarObjectOptions = Record<string, SidebarArrayOptions | "heading" | false>;
|
|
57
|
+
type SidebarOptions = SidebarArrayOptions | SidebarObjectOptions | "heading";
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/shared/options.d.ts
|
|
60
60
|
type DefaultThemeLocaleOptions = DefaultThemeData;
|
|
@@ -65,7 +65,7 @@ interface DefaultThemeLocaleData extends LocaleData {
|
|
|
65
65
|
*
|
|
66
66
|
* @default 'auto'
|
|
67
67
|
*/
|
|
68
|
-
colorMode?:
|
|
68
|
+
colorMode?: "auto" | "dark" | "light";
|
|
69
69
|
/**
|
|
70
70
|
* Enable color mode switching and display a button in navbar or not
|
|
71
71
|
*
|
|
@@ -305,7 +305,7 @@ interface DefaultThemeHomePageFrontmatter extends DefaultThemePageFrontmatter {
|
|
|
305
305
|
actions?: {
|
|
306
306
|
text: string;
|
|
307
307
|
link: string;
|
|
308
|
-
type?:
|
|
308
|
+
type?: "primary" | "secondary";
|
|
309
309
|
}[];
|
|
310
310
|
features?: {
|
|
311
311
|
title: string;
|
|
@@ -320,11 +320,11 @@ interface DefaultThemeNormalPageFrontmatter extends DefaultThemePageFrontmatter
|
|
|
320
320
|
editLinkPattern?: string;
|
|
321
321
|
lastUpdated?: boolean;
|
|
322
322
|
contributors?: boolean;
|
|
323
|
-
sidebar?: SidebarArrayOptions |
|
|
323
|
+
sidebar?: SidebarArrayOptions | "heading" | false;
|
|
324
324
|
sidebarDepth?: number;
|
|
325
325
|
prev?: AutoLinkOptions | string;
|
|
326
326
|
next?: AutoLinkOptions | string;
|
|
327
327
|
}
|
|
328
328
|
//#endregion
|
|
329
329
|
export { NavbarOptions as _, DefaultThemeData as a, SidebarArrayOptions as c, SidebarLinkOptions as d, SidebarObjectOptions as f, NavbarLinkOptions as g, NavbarGroupOptions as h, DefaultThemePageFrontmatter as i, SidebarGroupOptions as l, NavGroup as m, DefaultThemeNormalPageFrontmatter as n, DefaultThemeLocaleData as o, SidebarOptions as p, DefaultThemePageData as r, DefaultThemeLocaleOptions as s, DefaultThemeHomePageFrontmatter as t, SidebarItemOptions as u, AutoLinkOptions as v, NavItemOptions as y };
|
|
330
|
-
//# sourceMappingURL=index-
|
|
330
|
+
//# sourceMappingURL=index-DnNaefpa.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as SidebarItem } from "./typings-
|
|
1
|
+
import { i as SidebarItem } from "./typings-Cbpr0bFc.js";
|
|
2
2
|
import { RouteLocationNormalizedLoaded } from "vuepress/client";
|
|
3
3
|
//#region src/client/utils/isActiveSidebarItem.d.ts
|
|
4
4
|
declare const isActiveSidebarItem: (item: SidebarItem, route: RouteLocationNormalizedLoaded) => boolean;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { isActiveSidebarItem as t };
|
|
7
|
-
//# sourceMappingURL=isActiveSidebarItem-
|
|
7
|
+
//# sourceMappingURL=isActiveSidebarItem-CimWaCAf.d.ts.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as NavbarOptions, a as DefaultThemeData, c as SidebarArrayOptions, d as SidebarLinkOptions, f as SidebarObjectOptions, g as NavbarLinkOptions, h as NavbarGroupOptions, i as DefaultThemePageFrontmatter, l as SidebarGroupOptions, m as NavGroup, n as DefaultThemeNormalPageFrontmatter, o as DefaultThemeLocaleData, p as SidebarOptions, r as DefaultThemePageData, s as DefaultThemeLocaleOptions, t as DefaultThemeHomePageFrontmatter, u as SidebarItemOptions, v as AutoLinkOptions, y as NavItemOptions } from "../index-
|
|
1
|
+
import { _ as NavbarOptions, a as DefaultThemeData, c as SidebarArrayOptions, d as SidebarLinkOptions, f as SidebarObjectOptions, g as NavbarLinkOptions, h as NavbarGroupOptions, i as DefaultThemePageFrontmatter, l as SidebarGroupOptions, m as NavGroup, n as DefaultThemeNormalPageFrontmatter, o as DefaultThemeLocaleData, p as SidebarOptions, r as DefaultThemePageData, s as DefaultThemeLocaleOptions, t as DefaultThemeHomePageFrontmatter, u as SidebarItemOptions, v as AutoLinkOptions, y as NavItemOptions } from "../index-DnNaefpa.js";
|
|
2
2
|
import { BackToTopPluginOptions } from "@vuepress/plugin-back-to-top";
|
|
3
3
|
import { CopyCodePluginOptions } from "@vuepress/plugin-copy-code";
|
|
4
4
|
import { GitPluginOptions } from "@vuepress/plugin-git";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as AutoLinkOptions } from "./index-
|
|
1
|
+
import { v as AutoLinkOptions } from "./index-DnNaefpa.js";
|
|
2
2
|
//#region src/client/utils/resolveAutoLink.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Resolve AutoLink props from string
|
|
@@ -16,4 +16,4 @@ import { v as AutoLinkOptions } from "./index-DkAtp85h.js";
|
|
|
16
16
|
declare const resolveAutoLink: (config: string, currentPath?: string) => AutoLinkOptions;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { resolveAutoLink as t };
|
|
19
|
-
//# sourceMappingURL=resolveAutoLink-
|
|
19
|
+
//# sourceMappingURL=resolveAutoLink-JDq36I7k.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/client/utils/resolveRepoType.d.ts
|
|
2
|
-
type RepoType =
|
|
2
|
+
type RepoType = "Bitbucket" | "Gitee" | "GitHub" | "GitLab" | null;
|
|
3
3
|
declare const resolveRepoType: (repo: string) => RepoType;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { resolveRepoType as n, RepoType as t };
|
|
6
|
-
//# sourceMappingURL=resolveRepoType-
|
|
6
|
+
//# sourceMappingURL=resolveRepoType-DmT6nK6z.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as SidebarLinkOptions, l as SidebarGroupOptions, m as NavGroup, v as AutoLinkOptions } from "./index-
|
|
1
|
+
import { d as SidebarLinkOptions, l as SidebarGroupOptions, m as NavGroup, v as AutoLinkOptions } from "./index-DnNaefpa.js";
|
|
2
2
|
//#region src/client/typings.d.ts
|
|
3
3
|
type NavbarItem = AutoLinkOptions | NavGroup<NavbarItem>;
|
|
4
4
|
type SidebarLinkItem = SidebarLinkOptions;
|
|
@@ -14,4 +14,4 @@ interface SidebarGroupItem extends SidebarGroupOptions {
|
|
|
14
14
|
type SidebarItem = SidebarGroupItem | SidebarLinkItem;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { SidebarLinkItem as a, SidebarItem as i, SidebarGroupItem as n, SidebarHeaderItem as r, NavbarItem as t };
|
|
17
|
-
//# sourceMappingURL=typings-
|
|
17
|
+
//# sourceMappingURL=typings-Cbpr0bFc.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as DefaultThemeData, n as DefaultThemeNormalPageFrontmatter, r as DefaultThemePageData } from "./index-
|
|
1
|
+
import { a as DefaultThemeData, n as DefaultThemeNormalPageFrontmatter, r as DefaultThemePageData } from "./index-DnNaefpa.js";
|
|
2
2
|
import { ClientData } from "vuepress/client";
|
|
3
3
|
import { ThemeDataRef, ThemeLocaleDataRef } from "@vuepress/plugin-theme-data/client";
|
|
4
4
|
//#region src/client/composables/useData.d.ts
|
|
5
|
-
interface Data<PageFrontmatter extends Record<string, unknown> = DefaultThemeNormalPageFrontmatter, PageData extends Record<string, unknown> = DefaultThemePageData> extends Pick<ClientData<PageFrontmatter, PageData>,
|
|
5
|
+
interface Data<PageFrontmatter extends Record<string, unknown> = DefaultThemeNormalPageFrontmatter, PageData extends Record<string, unknown> = DefaultThemePageData> extends Pick<ClientData<PageFrontmatter, PageData>, "frontmatter" | "head" | "headTitle" | "lang" | "layouts" | "page" | "pageComponent" | "pageLayout" | "redirects" | "routeLocale" | "routePath" | "routes" | "site" | "siteLocale"> {
|
|
6
6
|
theme: ThemeDataRef<DefaultThemeData>;
|
|
7
7
|
themeLocale: ThemeLocaleDataRef<DefaultThemeData>;
|
|
8
8
|
}
|
|
9
9
|
declare const useData$1: <PageFrontmatter extends Record<string, unknown> = DefaultThemeNormalPageFrontmatter, PageData extends Record<string, unknown> = DefaultThemePageData>() => Data<PageFrontmatter, PageData>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { useData$1 as n, Data as t };
|
|
12
|
-
//# sourceMappingURL=useData-
|
|
12
|
+
//# sourceMappingURL=useData-DLY6oMFR.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as NavbarItem } from "./typings-
|
|
1
|
+
import { t as NavbarItem } from "./typings-Cbpr0bFc.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/client/composables/useNavbarConfig.d.ts
|
|
4
4
|
declare const useNavbarConfig: () => ComputedRef<NavbarItem[]>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useNavbarConfig as t };
|
|
7
|
-
//# sourceMappingURL=useNavbarConfig-
|
|
7
|
+
//# sourceMappingURL=useNavbarConfig-jIUipXMq.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NavbarItem } from "./typings-
|
|
1
|
+
import { t as NavbarItem } from "./typings-Cbpr0bFc.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/client/composables/useNavbarRepo.d.ts
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ import { ComputedRef } from "vue";
|
|
|
9
9
|
declare const useNavbarRepo: () => ComputedRef<NavbarItem[]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { useNavbarRepo as t };
|
|
12
|
-
//# sourceMappingURL=useNavbarRepo-
|
|
12
|
+
//# sourceMappingURL=useNavbarRepo-B9pyDtUq.d.ts.map
|
package/dist/{useNavbarSelectLanguage-Cd32nqUA.d.ts → useNavbarSelectLanguage-zG8uc9ys.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NavbarItem } from "./typings-
|
|
1
|
+
import { t as NavbarItem } from "./typings-Cbpr0bFc.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/client/composables/useNavbarSelectLanguage.d.ts
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ import { ComputedRef } from "vue";
|
|
|
9
9
|
declare const useNavbarSelectLanguage: () => ComputedRef<NavbarItem[]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { useNavbarSelectLanguage as t };
|
|
12
|
-
//# sourceMappingURL=useNavbarSelectLanguage-
|
|
12
|
+
//# sourceMappingURL=useNavbarSelectLanguage-zG8uc9ys.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as AutoLinkOptions } from "./index-
|
|
1
|
+
import { v as AutoLinkOptions } from "./index-DnNaefpa.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/client/composables/useRelatedLinks.d.ts
|
|
4
4
|
interface RelatedLinks {
|
|
@@ -8,4 +8,4 @@ interface RelatedLinks {
|
|
|
8
8
|
declare const useRelatedLinks: () => RelatedLinks;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { useRelatedLinks as t };
|
|
11
|
-
//# sourceMappingURL=useRelatedLinks-
|
|
11
|
+
//# sourceMappingURL=useRelatedLinks-Ds7UdilB.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as SidebarArrayOptions, f as SidebarObjectOptions, p as SidebarOptions } from "./index-
|
|
2
|
-
import { i as SidebarItem, r as SidebarHeaderItem } from "./typings-
|
|
1
|
+
import { c as SidebarArrayOptions, f as SidebarObjectOptions, p as SidebarOptions } from "./index-DnNaefpa.js";
|
|
2
|
+
import { i as SidebarItem, r as SidebarHeaderItem } from "./typings-Cbpr0bFc.js";
|
|
3
3
|
import { PageData, PageHeader } from "vuepress/client";
|
|
4
4
|
import { ComputedRef, InjectionKey } from "vue";
|
|
5
5
|
//#region src/client/composables/useSidebarItems.d.ts
|
|
@@ -72,4 +72,4 @@ declare const resolveSidebarItems: (sidebarConfig: SidebarOptions | false, page:
|
|
|
72
72
|
declare const setupSidebarItems: () => void;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { resolveSidebarItems as a, setupSidebarItems as c, resolveSidebarHeadingItem as i, sidebarItemsSymbol as l, resolveArraySidebarItems as n, resolveSidebarPageHeader as o, resolveMultiSidebarItems as r, resolveSidebarPageHeaders as s, SidebarItemsRef as t, useSidebarItems as u };
|
|
75
|
-
//# sourceMappingURL=useSidebarItems-
|
|
75
|
+
//# sourceMappingURL=useSidebarItems-C7_FZHit.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useEventListener as e}from"@vueuse/core";import{onMounted as t}from"vue";import n from"./client/styles/_variables.module.scss";let r=/* @__PURE__ */ function(e){return e.Mobile=`mobile`,e}({});const i={mobile:Number(n.mobile.replace(`px`,``))},a=(n,r)=>{let a=i[n];if(!Number.isInteger(a)){if(__VUEPRESS_DEV__)throw Error(`device width must be a integer`);return}e(`orientationchange`,()=>{r(a)}),e(`resize`,()=>{r(a)}),t(()=>{r(a)})};export{a as n,r as t};
|
|
2
|
+
//# sourceMappingURL=useUpdateDeviceStatus-eEm3JFFI.js.map
|
package/dist/{useUpdateDeviceStatus-DMKiVB3W.js.map → useUpdateDeviceStatus-eEm3JFFI.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateDeviceStatus-
|
|
1
|
+
{"version":3,"file":"useUpdateDeviceStatus-eEm3JFFI.js","names":[],"sources":["../src/client/composables/useUpdateDeviceStatus.ts"],"sourcesContent":["// oxlint-disable promise/prefer-await-to-callbacks\nimport { useEventListener } from '@vueuse/core'\nimport { onMounted } from 'vue'\n\nimport cssVariables from '../styles/_variables.module.scss'\n\nexport enum DeviceType {\n Mobile = 'mobile',\n}\n\nconst DeviceTypeMap = {\n [DeviceType.Mobile]: Number(cssVariables.mobile.replace('px', '')),\n}\n\n/**\n * Add listener to detect screen though device type\n *\n * @param deviceType - Device type to detect / 要检测的设备类型\n * @param callback - Callback function to call when device status changes /\n * 设备状态改变时调用的回调函数\n */\nexport const useUpdateDeviceStatus = (\n deviceType: DeviceType,\n callback: (width: number) => void,\n): void => {\n const width = DeviceTypeMap[deviceType]\n if (!Number.isInteger(width)) {\n if (__VUEPRESS_DEV__) throw new Error('device width must be a integer')\n return\n }\n\n useEventListener('orientationchange', () => {\n callback(width)\n })\n useEventListener('resize', () => {\n callback(width)\n })\n\n onMounted(() => {\n callback(width)\n })\n}\n"],"mappings":"sIAMA,IAAY,EAAL,yBAAA,EAAA,OACL,GAAA,OAAA,UACF,EAAA,CAAA,CAAA,EAEA,MAAM,EAAgB,CAAA,OACC,OAAO,EAAa,OAAO,QAAQ,KAAM,EAAE,CAAC,CACnE,EASa,GACX,EACA,IACS,CACT,IAAM,EAAQ,EAAc,GAC5B,GAAI,CAAC,OAAO,UAAU,CAAK,EAAG,CAC5B,GAAI,iBAAkB,MAAU,MAAM,gCAAgC,EACtE,MACF,CAEA,EAAiB,wBAA2B,CAC1C,EAAS,CAAK,CAChB,CAAC,EACD,EAAiB,aAAgB,CAC/B,EAAS,CAAK,CAChB,CAAC,EAED,MAAgB,CACd,EAAS,CAAK,CAChB,CAAC,CACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/theme-default",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.136",
|
|
4
4
|
"description": "Default theme of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"default",
|
|
@@ -54,27 +54,27 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@vuepress/helper": "2.0.0-rc.
|
|
58
|
-
"@vuepress/plugin-active-header-links": "2.0.0-rc.
|
|
59
|
-
"@vuepress/plugin-back-to-top": "2.0.0-rc.
|
|
60
|
-
"@vuepress/plugin-copy-code": "2.0.0-rc.
|
|
61
|
-
"@vuepress/plugin-git": "2.0.0-rc.
|
|
62
|
-
"@vuepress/plugin-links-check": "2.0.0-rc.
|
|
63
|
-
"@vuepress/plugin-markdown-hint": "2.0.0-rc.
|
|
64
|
-
"@vuepress/plugin-markdown-tab": "2.0.0-rc.
|
|
65
|
-
"@vuepress/plugin-medium-zoom": "2.0.0-rc.
|
|
66
|
-
"@vuepress/plugin-nprogress": "2.0.0-rc.
|
|
67
|
-
"@vuepress/plugin-palette": "2.0.0-rc.
|
|
68
|
-
"@vuepress/plugin-prismjs": "2.0.0-rc.
|
|
69
|
-
"@vuepress/plugin-seo": "2.0.0-rc.
|
|
70
|
-
"@vuepress/plugin-sitemap": "2.0.0-rc.
|
|
71
|
-
"@vuepress/plugin-theme-data": "2.0.0-rc.
|
|
72
|
-
"@vueuse/core": "^
|
|
73
|
-
"vue": "^3.5.
|
|
57
|
+
"@vuepress/helper": "2.0.0-rc.135",
|
|
58
|
+
"@vuepress/plugin-active-header-links": "2.0.0-rc.135",
|
|
59
|
+
"@vuepress/plugin-back-to-top": "2.0.0-rc.135",
|
|
60
|
+
"@vuepress/plugin-copy-code": "2.0.0-rc.135",
|
|
61
|
+
"@vuepress/plugin-git": "2.0.0-rc.135",
|
|
62
|
+
"@vuepress/plugin-links-check": "2.0.0-rc.135",
|
|
63
|
+
"@vuepress/plugin-markdown-hint": "2.0.0-rc.135",
|
|
64
|
+
"@vuepress/plugin-markdown-tab": "2.0.0-rc.135",
|
|
65
|
+
"@vuepress/plugin-medium-zoom": "2.0.0-rc.135",
|
|
66
|
+
"@vuepress/plugin-nprogress": "2.0.0-rc.135",
|
|
67
|
+
"@vuepress/plugin-palette": "2.0.0-rc.135",
|
|
68
|
+
"@vuepress/plugin-prismjs": "2.0.0-rc.136",
|
|
69
|
+
"@vuepress/plugin-seo": "2.0.0-rc.135",
|
|
70
|
+
"@vuepress/plugin-sitemap": "2.0.0-rc.135",
|
|
71
|
+
"@vuepress/plugin-theme-data": "2.0.0-rc.135",
|
|
72
|
+
"@vueuse/core": "^15.0.0",
|
|
73
|
+
"vue": "^3.5.43"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"sass": "^1.
|
|
77
|
-
"sass-embedded": "^1.
|
|
76
|
+
"sass": "^1.105.0",
|
|
77
|
+
"sass-embedded": "^1.105.0",
|
|
78
78
|
"sass-loader": "^17.0.1",
|
|
79
79
|
"vuepress": "2.0.0-rc.31"
|
|
80
80
|
},
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"optional": true
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "3efac2396c0de6ef4f26c4999e7d7d29a7dd8573"
|
|
93
93
|
}
|
package/dist/index-BIWlrErN.d.ts
DELETED
package/dist/index-DgnmBYGr.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./useDarkMode-DmWka_eQ.js";
|
|
2
|
-
import "./useData-B20ETmVf.js";
|
|
3
|
-
import "./useEditLink-DXlW5QzK.js";
|
|
4
|
-
import "./useNavbarConfig-CXdLjfSJ.js";
|
|
5
|
-
import "./useNavbarRepo-BQ2wiq-1.js";
|
|
6
|
-
import "./useNavbarSelectLanguage-Cd32nqUA.js";
|
|
7
|
-
import "./useRelatedLinks-B5Hq7BUl.js";
|
|
8
|
-
import "./useSidebarItems-xWOsGwcx.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{useEventListener as e}from"@vueuse/core";import{onMounted as t}from"vue";import n from"./client/styles/_variables.module.scss";let r=function(e){return e.Mobile=`mobile`,e}({});const i={mobile:Number(n.mobile.replace(`px`,``))},a=(n,r)=>{let a=i[n];if(!Number.isInteger(a)){if(__VUEPRESS_DEV__)throw Error(`device width must be a integer`);return}e(`orientationchange`,()=>{r(a)}),e(`resize`,()=>{r(a)}),t(()=>{r(a)})};export{a as n,r as t};
|
|
2
|
-
//# sourceMappingURL=useUpdateDeviceStatus-DMKiVB3W.js.map
|