@voidzero-dev/vitepress-theme 0.1.44 → 0.1.45
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/index.d.ts +2 -0
- package/dist/index100.js +12 -12
- package/dist/index102.js +7 -7
- package/dist/index104.js +8 -8
- package/dist/index108.js +4 -4
- package/dist/index122.js +5 -5
- package/dist/index131.js +4 -4
- package/dist/index138.js +2 -2
- package/dist/index140.js +1 -1
- package/dist/index150.js +1 -1
- package/dist/index151.js +26 -3
- package/dist/index152.js +30 -5324
- package/dist/index153.js +26 -2
- package/dist/index154.js +23 -81
- package/dist/index155.js +23 -63
- package/dist/index156.js +22 -49
- package/dist/index157.js +195 -74
- package/dist/index158.js +28 -26
- package/dist/index159.js +41 -29
- package/dist/index160.js +5 -26
- package/dist/index161.js +3 -26
- package/dist/index162.js +5 -26
- package/dist/index163.js +34 -22
- package/dist/index164.js +5 -197
- package/dist/index165.js +2 -2
- package/dist/index166.js +2 -2
- package/dist/index167.js +2 -2
- package/dist/index169.js +135 -2
- package/dist/index171.js +2 -2
- package/dist/index172.js +2 -2
- package/dist/index173.js +2 -5
- package/dist/index174.js +2 -129
- package/dist/index175.js +54 -0
- package/dist/index176.js +2 -2
- package/dist/index177.js +2 -2
- package/dist/index178.js +2 -2
- package/dist/index179.js +2 -2
- package/dist/index180.js +65536 -2
- package/dist/index181.js +7 -0
- package/dist/index182.js +2 -135
- package/dist/index183.js +4 -0
- package/dist/index184.js +2 -3
- package/dist/index185.js +2 -2
- package/dist/index186.js +2 -2
- package/dist/index187.js +1 -1
- package/dist/index188.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index190.js +2 -2
- package/dist/index191.js +2 -2
- package/dist/index192.js +2 -2
- package/dist/index193.js +1 -1
- package/dist/index194.js +2 -2
- package/dist/index195.js +5 -34
- package/dist/index196.js +4 -1
- package/dist/index197.js +5 -2
- package/dist/index198.js +75 -2
- package/dist/index200.js +5 -2
- package/dist/index201.js +2 -2
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +2 -2
- package/dist/index205.js +2 -2
- package/dist/index206.js +2 -2
- package/dist/index207.js +2 -2
- package/dist/index208.js +2 -22
- package/dist/index209.js +2 -124
- package/dist/index210.js +2 -2
- package/dist/index211.js +2 -33
- package/dist/index212.js +2 -1202
- package/dist/index213.js +2 -52
- package/dist/index214.js +3 -44
- package/dist/index215.js +2 -53
- package/dist/index216.js +2 -2587
- package/dist/index217.js +1 -1
- package/dist/index218.js +2 -2
- package/dist/index219.js +34 -2
- package/dist/index220.js +2 -2
- package/dist/index221.js +2 -7207
- package/dist/index222.js +2 -1735
- package/dist/index223.js +2 -439
- package/dist/index224.js +2 -14
- package/dist/index225.js +2 -65536
- package/dist/index226.js +2 -5
- package/dist/index227.js +5 -2
- package/dist/index228.js +1 -1
- package/dist/index229.js +2 -4
- package/dist/index23.js +31 -34
- package/dist/index230.js +71 -315
- package/dist/index231.js +82 -2
- package/dist/index232.js +2 -1014
- package/dist/index233.js +2 -2
- package/dist/index234.js +2 -2
- package/dist/index235.js +2 -2
- package/dist/index236.js +2 -2
- package/dist/index237.js +2 -2
- package/dist/index238.js +2 -2
- package/dist/index239.js +83 -2
- package/dist/index240.js +2 -2
- package/dist/index241.js +35 -2
- package/dist/index243.js +16 -5
- package/dist/index245.js +28 -72
- package/dist/index247.js +2 -4
- package/dist/index248.js +13 -33
- package/dist/index25.js +17 -17
- package/dist/index250.js +3 -16
- package/dist/index251.js +317 -0
- package/dist/index252.js +2 -31
- package/dist/index253.js +6 -0
- package/dist/index254.js +7207 -3
- package/dist/index255.js +1735 -15
- package/dist/index256.js +131 -0
- package/dist/index258.js +446 -2
- package/dist/index259.js +2 -2
- package/dist/index260.js +70 -2
- package/dist/index261.js +5 -2
- package/dist/index262.js +2 -2
- package/dist/index263.js +29 -2
- package/dist/index265.js +30 -28
- package/dist/index266.js +25 -41
- package/dist/index267.js +5 -3
- package/dist/index268.js +4 -4
- package/dist/index269.js +5 -71
- package/dist/index270.js +32 -5
- package/dist/index271.js +5 -82
- package/dist/index272.js +5 -38
- package/dist/index273.js +5 -2
- package/dist/index274.js +5 -5
- package/dist/index275.js +5 -83
- package/dist/index276.js +5 -10
- package/dist/index277.js +61 -6
- package/dist/index278.js +3 -5
- package/dist/index279.js +407 -4
- package/dist/index28.js +1 -1
- package/dist/index281.js +61 -32
- package/dist/index282.js +26 -9
- package/dist/index284.js +2 -58
- package/dist/index285.js +2 -39
- package/dist/index286.js +46 -20
- package/dist/index287.js +110 -23
- package/dist/index288.js +62 -10
- package/dist/index29.js +2 -2
- package/dist/index290.js +32 -36
- package/dist/index292.js +15 -88
- package/dist/index294.js +94 -5
- package/dist/index296.js +27 -5
- package/dist/index298.js +50 -5
- package/dist/index30.js +4 -4
- package/dist/index300.js +54 -61
- package/dist/{index311.js → index302.js} +1 -1
- package/dist/{index362.js → index304.js} +1 -1
- package/dist/index305.js +18 -26
- package/dist/{index361.js → index306.js} +1 -1
- package/dist/index307.js +22 -50
- package/dist/index309.js +27 -54
- package/dist/{index358.js → index310.js} +1 -1
- package/dist/{index359.js → index312.js} +2 -2
- package/dist/index314.js +5 -112
- package/dist/index315.js +5 -30
- package/dist/index316.js +5 -26
- package/dist/index317.js +13 -2
- package/dist/index318.js +5 -2
- package/dist/index319.js +3 -3
- package/dist/index320.js +5 -26
- package/dist/index321.js +30 -0
- package/dist/index323.js +83 -5
- package/dist/index325.js +21 -59
- package/dist/index327.js +73 -28
- package/dist/index329.js +50 -5
- package/dist/index331.js +24 -27
- package/dist/index333.js +4 -2
- package/dist/index334.js +5 -407
- package/dist/{index365.js → index335.js} +1 -1
- package/dist/index336.js +5 -62
- package/dist/index337.js +97 -69
- package/dist/index339.js +29 -5
- package/dist/index341.js +25 -13
- package/dist/{index369.js → index343.js} +4 -4
- package/dist/{index380.js → index345.js} +1 -1
- package/dist/index346.js +12 -48
- package/dist/{index385.js → index347.js} +1 -1
- package/dist/index348.js +28 -5
- package/dist/index349.js +5 -83
- package/dist/{index382.js → index350.js} +3 -3
- package/dist/index352.js +2 -28
- package/dist/{index388.js → index353.js} +1 -1
- package/dist/index355.js +3 -20
- package/dist/{index391.js → index356.js} +2 -2
- package/dist/index42.js +4 -4
- package/dist/index44.js +1 -1
- package/dist/index48.js +4 -4
- package/dist/index50.js +2 -2
- package/dist/index52.js +8 -8
- package/dist/index54.js +2 -2
- package/dist/index59.js +1 -1
- package/dist/index6.js +1 -1
- package/dist/index64.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index70.js +4 -4
- package/dist/index8.js +2 -2
- package/dist/index80.js +1 -1
- package/dist/index9.js +1 -1
- package/dist/index94.js +2 -2
- package/dist/index96.js +8 -8
- package/dist/vitepress/components/oss/Footer.vue.d.ts +2 -0
- package/dist/vitepress/components/oss/Header.vue.d.ts +2 -0
- package/dist/vitepress/components/oss/HeadingSection.vue.d.ts +6 -0
- package/dist/vitepress/components/oss/Hero.vue.d.ts +2 -0
- package/dist/vitepress/components/oss/TrustedBy.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/CodeGroup.vue.d.ts +10 -0
- package/dist/vitepress/components/shared/Eyebrow.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/LogoGrid.vue.d.ts +11 -0
- package/dist/vitepress/components/shared/RiveAnimation.vue.d.ts +22 -0
- package/dist/vitepress/components/shared/ShaderBackground.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/Spacer.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/Terminal.vue.d.ts +4 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation1.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation2.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation3.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation4.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation5.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation6.vue.d.ts +5 -0
- package/dist/vitepress/components/vite/Community.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/FeatureGrid.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/FeaturePanel1.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/FeaturePanel2.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/FeaturePanel3.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/FeaturePanel4.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/Frameworks.vue.d.ts +2 -0
- package/dist/vitepress/components/vite/Sponsors.vue.d.ts +9 -0
- package/dist/vitepress/components/viteplus/Header.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/Layout.vue.d.ts +43 -0
- package/dist/vitepress/components/vitepress-default/NotFound.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPAlgoliaSearchBox.vue.d.ts +6 -0
- package/dist/vitepress/components/vitepress-default/VPBackdrop.vue.d.ts +5 -0
- package/dist/vitepress/components/vitepress-default/VPBadge.vue.d.ts +23 -0
- package/dist/vitepress/components/vitepress-default/VPButton.vue.d.ts +29 -0
- package/dist/vitepress/components/vitepress-default/VPCarbonAds.vue.d.ts +8 -0
- package/dist/vitepress/components/vitepress-default/VPContent.vue.d.ts +39 -0
- package/dist/vitepress/components/vitepress-default/VPDoc.vue.d.ts +27 -0
- package/dist/vitepress/components/vitepress-default/VPDocAside.vue.d.ts +22 -0
- package/dist/vitepress/components/vitepress-default/VPDocAsideCarbonAds.vue.d.ts +6 -0
- package/dist/vitepress/components/vitepress-default/VPDocAsideOutline.vue.d.ts +5 -0
- package/dist/vitepress/components/vitepress-default/VPDocAsideSponsors.vue.d.ts +9 -0
- package/dist/vitepress/components/vitepress-default/VPDocFooter.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/VPDocFooterLastUpdated.vue.d.ts +4 -0
- package/dist/vitepress/components/vitepress-default/VPDocOutlineItem.vue.d.ts +7 -0
- package/dist/vitepress/components/vitepress-default/VPFeature.vue.d.ts +12 -0
- package/dist/vitepress/components/vitepress-default/VPFeatures.vue.d.ts +15 -0
- package/dist/vitepress/components/vitepress-default/VPFlyout.vue.d.ts +21 -0
- package/dist/vitepress/components/vitepress-default/VPFooter.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPHero.vue.d.ts +36 -0
- package/dist/vitepress/components/vitepress-default/VPHome.vue.d.ts +25 -0
- package/dist/vitepress/components/vitepress-default/VPHomeContent.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/VPHomeFeatures.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPHomeHero.vue.d.ts +21 -0
- package/dist/vitepress/components/vitepress-default/VPHomeSponsors.vue.d.ts +20 -0
- package/dist/vitepress/components/vitepress-default/VPImage.vue.d.ts +7 -0
- package/dist/vitepress/components/vitepress-default/VPLink.vue.d.ts +24 -0
- package/dist/vitepress/components/vitepress-default/VPLocalNav.vue.d.ts +9 -0
- package/dist/vitepress/components/vitepress-default/VPLocalNavOutlineDropdown.vue.d.ts +10 -0
- package/dist/vitepress/components/vitepress-default/VPLocalSearchBox.vue.d.ts +10 -0
- package/dist/vitepress/components/vitepress-default/VPMenu.vue.d.ts +18 -0
- package/dist/vitepress/components/vitepress-default/VPMenuGroup.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/VPMenuLink.vue.d.ts +16 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarAppearance.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarMenu.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarMenuGroup.vue.d.ts +6 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarMenuLink.vue.d.ts +6 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarSearch.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarSearchButton.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarSocialLinks.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPNavBarTranslations.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPPage.vue.d.ts +18 -0
- package/dist/vitepress/components/vitepress-default/VPSidebar.vue.d.ts +25 -0
- package/dist/vitepress/components/vitepress-default/VPSidebarGroup.vue.d.ts +6 -0
- package/dist/vitepress/components/vitepress-default/VPSidebarItem.vue.d.ts +7 -0
- package/dist/vitepress/components/vitepress-default/VPSkipLink.vue.d.ts +4 -0
- package/dist/vitepress/components/vitepress-default/VPSocialLink.vue.d.ts +11 -0
- package/dist/vitepress/components/vitepress-default/VPSocialLinks.vue.d.ts +9 -0
- package/dist/vitepress/components/vitepress-default/VPSponsors.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/VPSponsorsGrid.vue.d.ts +16 -0
- package/dist/vitepress/components/vitepress-default/VPSwitch.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/VPSwitchAppearance.vue.d.ts +2 -0
- package/dist/vitepress/components/vitepress-default/VPTeamMembers.vue.d.ts +9 -0
- package/dist/vitepress/components/vitepress-default/VPTeamMembersItem.vue.d.ts +9 -0
- package/dist/vitepress/components/vitepress-default/VPTeamPage.vue.d.ts +17 -0
- package/dist/vitepress/components/vitepress-default/VPTeamPageSection.vue.d.ts +19 -0
- package/dist/vitepress/components/vitepress-default/VPTeamPageTitle.vue.d.ts +18 -0
- package/dist/vitepress/components/voidzero/Footer.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/Header.vue.d.ts +23 -0
- package/dist/vitepress/components/voidzero/Megamenu.vue.d.ts +16 -0
- package/dist/vitepress/components/voidzero/about/CareerCTA.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/about/Hero.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/about/Investors.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/about/TeamGrid.vue.d.ts +16 -0
- package/dist/vitepress/components/voidzero/about/TeamSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/blog/FeaturedArticles.vue.d.ts +29 -0
- package/dist/vitepress/components/voidzero/home/CaseStudySlider.vue.d.ts +5 -0
- package/dist/vitepress/components/voidzero/home/CustomersSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/GitHubStats.vue.d.ts +7 -0
- package/dist/vitepress/components/voidzero/home/Hero.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/Investors.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/OpenSourceSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/OpenSourceSectionProjects.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/Resources.vue.d.ts +31 -0
- package/dist/vitepress/components/voidzero/home/Statistics.vue.d.ts +16 -0
- package/dist/vitepress/components/voidzero/home/StatisticsSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/TeamCTA.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/TrustedBy.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/VitePlusSectionFeatures.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/home/VitePlusSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/composables/vitepress-default/aside.d.ts +3 -0
- package/dist/vitepress/composables/vitepress-default/data.d.ts +3 -0
- package/dist/vitepress/composables/vitepress-default/edit-link.d.ts +4 -0
- package/dist/vitepress/composables/vitepress-default/flyout.d.ts +9 -0
- package/dist/vitepress/composables/vitepress-default/langs.d.ts +14 -0
- package/dist/vitepress/composables/vitepress-default/layout.d.ts +12 -0
- package/dist/vitepress/composables/vitepress-default/nav.d.ts +11 -0
- package/dist/vitepress/composables/vitepress-default/outline.d.ts +6 -0
- package/dist/vitepress/composables/vitepress-default/prev-next.d.ts +10 -0
- package/dist/vitepress/composables/vitepress-default/sidebar.d.ts +22 -0
- package/dist/vitepress/composables/vitepress-default/sponsor-grid.d.ts +10 -0
- package/dist/vitepress/index.d.ts +23 -0
- package/dist/vitepress/layouts/VPLayout.vue.d.ts +2 -0
- package/dist/vitepress/support/vitepress-default/app-utils.d.ts +10 -0
- package/dist/vitepress/support/vitepress-default/lru.d.ts +9 -0
- package/dist/vitepress/support/vitepress-default/shared-utils.d.ts +13 -0
- package/dist/vitepress/support/vitepress-default/sidebar.d.ts +24 -0
- package/dist/vitepress/support/vitepress-default/translation.d.ts +4 -0
- package/dist/vitepress/support/vitepress-default/utils.d.ts +3 -0
- package/package.json +1 -1
- package/dist/index168.js +0 -4
- package/dist/index170.js +0 -4
- package/dist/index199.js +0 -4
- package/dist/index242.js +0 -7
- package/dist/index244.js +0 -7
- package/dist/index257.js +0 -4
- package/dist/index264.js +0 -4
- package/dist/index280.js +0 -9
- package/dist/index283.js +0 -16
- package/dist/index289.js +0 -59
- package/dist/index291.js +0 -121
- package/dist/index293.js +0 -10
- package/dist/index295.js +0 -7
- package/dist/index297.js +0 -7
- package/dist/index299.js +0 -7
- package/dist/index301.js +0 -21
- package/dist/index303.js +0 -96
- package/dist/index313.js +0 -49
- package/dist/index322.js +0 -7
- package/dist/index324.js +0 -34
- package/dist/index330.js +0 -4
- package/dist/index338.js +0 -7
- package/dist/index340.js +0 -7
- package/dist/index342.js +0 -26
- package/dist/index344.js +0 -79
- package/dist/index351.js +0 -7
- package/dist/index357.js +0 -30
- package/dist/index363.js +0 -21
- package/dist/index364.js +0 -448
- package/dist/index366.js +0 -7
- package/dist/index367.js +0 -27
- package/dist/index371.js +0 -7
- package/dist/index372.js +0 -31
- package/dist/index374.js +0 -7
- package/dist/index375.js +0 -100
- package/dist/index377.js +0 -7
- package/dist/index378.js +0 -28
- package/dist/index381.js +0 -16
- package/dist/index384.js +0 -4
- package/dist/index386.js +0 -30
- package/dist/index387.js +0 -7
- package/dist/index390.js +0 -7
- /package/dist/{index354.js → index308.js} +0 -0
package/dist/index286.js
CHANGED
|
@@ -1,23 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
1
|
+
import { isActive as f } from "./index159.js";
|
|
2
|
+
import { ensureStartingSlash as o } from "./index158.js";
|
|
3
|
+
function m(r, t) {
|
|
4
|
+
if (Array.isArray(r)) return s(r);
|
|
5
|
+
if (r == null) return [];
|
|
6
|
+
t = o(t);
|
|
7
|
+
const i = Object.keys(r).sort((e, c) => c.split("/").length - e.split("/").length).find((e) => t.startsWith(o(e))), n = i ? r[i] : [];
|
|
8
|
+
return Array.isArray(n) ? s(n) : s(n.items, n.base);
|
|
9
|
+
}
|
|
10
|
+
function k(r) {
|
|
11
|
+
const t = [];
|
|
12
|
+
let i = 0;
|
|
13
|
+
for (const n in r) {
|
|
14
|
+
const e = r[n];
|
|
15
|
+
if (e.items) {
|
|
16
|
+
i = t.push(e);
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
t[i] || t.push({ items: [] }), t[i].items.push(e);
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
+
return t;
|
|
22
|
+
}
|
|
23
|
+
function p(r) {
|
|
24
|
+
const t = [];
|
|
25
|
+
function i(n) {
|
|
26
|
+
for (const e of n)
|
|
27
|
+
e.text && e.link && t.push({
|
|
28
|
+
text: e.text,
|
|
29
|
+
link: e.link,
|
|
30
|
+
docFooterText: e.docFooterText
|
|
31
|
+
}), e.items && i(e.items);
|
|
32
|
+
}
|
|
33
|
+
return i(r), t;
|
|
34
|
+
}
|
|
35
|
+
function u(r, t) {
|
|
36
|
+
return Array.isArray(t) ? t.some((i) => u(r, i)) : f(r, t.link) ? !0 : t.items ? u(r, t.items) : !1;
|
|
37
|
+
}
|
|
38
|
+
function s(r, t) {
|
|
39
|
+
return [...r].map((i) => {
|
|
40
|
+
const n = { ...i }, e = n.base || t;
|
|
41
|
+
return e && n.link && (n.link = e + n.link.replace(/^\//, e.endsWith("/") ? "" : "/")), n.items && (n.items = s(n.items, e)), n;
|
|
42
|
+
});
|
|
43
|
+
}
|
|
21
44
|
export {
|
|
22
|
-
|
|
45
|
+
p as getFlatSideBarLinks,
|
|
46
|
+
m as getSidebar,
|
|
47
|
+
k as getSidebarGroups,
|
|
48
|
+
u as hasActiveLink
|
|
23
49
|
};
|
package/dist/index287.js
CHANGED
|
@@ -1,27 +1,114 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { getScrollOffset as m } from "vitepress";
|
|
2
|
+
import { onMounted as y, onUpdated as g, onUnmounted as b } from "vue";
|
|
3
|
+
import { throttleAndDebounce as A } from "./index158.js";
|
|
4
|
+
import { useAside as w } from "./index308.js";
|
|
5
|
+
const L = /\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/, d = [];
|
|
6
|
+
function E(o) {
|
|
7
|
+
return typeof o.outline == "object" && !Array.isArray(o.outline) && o.outline.label || o.outlineTitle || "On this page";
|
|
8
|
+
}
|
|
9
|
+
function C(o) {
|
|
10
|
+
const t = [
|
|
11
|
+
...document.querySelectorAll(
|
|
12
|
+
".VPDoc h1, .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6"
|
|
13
|
+
)
|
|
14
|
+
].filter((e) => e.id && e.hasChildNodes()).map((e) => {
|
|
15
|
+
const r = Number(e.tagName[1]);
|
|
16
|
+
return {
|
|
17
|
+
element: e,
|
|
18
|
+
title: N(e),
|
|
19
|
+
link: "#" + e.id,
|
|
20
|
+
level: r
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
return k(t, o);
|
|
24
|
+
}
|
|
25
|
+
function N(o) {
|
|
26
|
+
let t = "";
|
|
27
|
+
for (const e of o.childNodes)
|
|
28
|
+
if (e.nodeType === 1) {
|
|
29
|
+
if (L.test(e.className)) continue;
|
|
30
|
+
t += e.textContent;
|
|
31
|
+
} else e.nodeType === 3 && (t += e.textContent);
|
|
32
|
+
return t.trim();
|
|
33
|
+
}
|
|
34
|
+
function k(o, t) {
|
|
35
|
+
if (t === !1)
|
|
36
|
+
return [];
|
|
37
|
+
const e = (typeof t == "object" && !Array.isArray(t) ? t.level : t) || 2, [r, l] = typeof e == "number" ? [e, e] : e === "deep" ? [2, 6] : e;
|
|
38
|
+
return H(o, r, l);
|
|
39
|
+
}
|
|
40
|
+
function S(o, t) {
|
|
41
|
+
const { isAsideEnabled: e } = w(), r = A(f, 100);
|
|
42
|
+
let l = null;
|
|
43
|
+
y(() => {
|
|
44
|
+
requestAnimationFrame(f), window.addEventListener("scroll", r);
|
|
45
|
+
}), g(() => {
|
|
46
|
+
n(location.hash);
|
|
47
|
+
}), b(() => {
|
|
48
|
+
window.removeEventListener("scroll", r);
|
|
49
|
+
});
|
|
50
|
+
function f() {
|
|
51
|
+
if (!e.value)
|
|
52
|
+
return;
|
|
53
|
+
const i = window.scrollY, c = window.innerHeight, p = document.body.offsetHeight, v = Math.abs(i + c - p) < 1, a = d.map(({ element: s, link: u }) => ({
|
|
54
|
+
link: u,
|
|
55
|
+
top: T(s)
|
|
56
|
+
})).filter(({ top: s }) => !Number.isNaN(s)).sort((s, u) => s.top - u.top);
|
|
57
|
+
if (!a.length) {
|
|
58
|
+
n(null);
|
|
59
|
+
return;
|
|
18
60
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
61
|
+
if (i < 1) {
|
|
62
|
+
n(null);
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (v) {
|
|
66
|
+
n(a[a.length - 1].link);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
let h = null;
|
|
70
|
+
for (const { link: s, top: u } of a) {
|
|
71
|
+
if (u > i + m() + 4)
|
|
72
|
+
break;
|
|
73
|
+
h = s;
|
|
74
|
+
}
|
|
75
|
+
n(h);
|
|
23
76
|
}
|
|
24
|
-
|
|
77
|
+
function n(i) {
|
|
78
|
+
l && l.classList.remove("active"), i == null ? l = null : l = o.value.querySelector(
|
|
79
|
+
`a[href="${decodeURIComponent(i)}"]`
|
|
80
|
+
);
|
|
81
|
+
const c = l;
|
|
82
|
+
c ? (c.classList.add("active"), t.value.style.top = c.offsetTop + 39 + "px", t.value.style.opacity = "1") : (t.value.style.top = "33px", t.value.style.opacity = "0");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function T(o) {
|
|
86
|
+
let t = 0;
|
|
87
|
+
for (; o !== document.body; ) {
|
|
88
|
+
if (o === null)
|
|
89
|
+
return NaN;
|
|
90
|
+
t += o.offsetTop, o = o.offsetParent;
|
|
91
|
+
}
|
|
92
|
+
return t;
|
|
93
|
+
}
|
|
94
|
+
function H(o, t, e) {
|
|
95
|
+
d.length = 0;
|
|
96
|
+
const r = [], l = [];
|
|
97
|
+
return o.forEach((f) => {
|
|
98
|
+
const n = { ...f, children: [] };
|
|
99
|
+
let i = l[l.length - 1];
|
|
100
|
+
for (; i && i.level >= n.level; )
|
|
101
|
+
l.pop(), i = l[l.length - 1];
|
|
102
|
+
if (n.element.classList.contains("ignore-header") || i && "shouldIgnore" in i) {
|
|
103
|
+
l.push({ level: n.level, shouldIgnore: !0 });
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
n.level > e || n.level < t || (d.push({ element: n.element, link: n.link }), i ? i.children.push(n) : r.push(n), l.push(n));
|
|
107
|
+
}), r;
|
|
108
|
+
}
|
|
25
109
|
export {
|
|
26
|
-
|
|
110
|
+
C as getHeaders,
|
|
111
|
+
k as resolveHeaders,
|
|
112
|
+
E as resolveTitle,
|
|
113
|
+
S as useActiveAnchor
|
|
27
114
|
};
|
package/dist/index288.js
CHANGED
|
@@ -1,12 +1,64 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { defineComponent as c, ref as r, createElementBlock as o, openBlock as l, createElementVNode as a, createCommentVNode as u, normalizeClass as f, createVNode as v, withCtx as p, renderSlot as x } from "vue";
|
|
2
|
+
import { useFlyout as y } from "./index309.js";
|
|
3
|
+
import b from "./index310.js";
|
|
4
|
+
const k = ["aria-expanded", "aria-label"], V = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "flex items-center gap-1 leading-normal"
|
|
7
|
+
}, C = ["innerHTML"], M = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "vpi-more-horizontal text-xl"
|
|
10
|
+
}, h = { class: "menu" }, F = /* @__PURE__ */ c({
|
|
11
|
+
__name: "VPFlyout",
|
|
12
|
+
props: {
|
|
13
|
+
icon: {},
|
|
14
|
+
button: {},
|
|
15
|
+
label: {},
|
|
16
|
+
items: {}
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
const n = r(!1), s = r();
|
|
20
|
+
y({ el: s, onBlur: m });
|
|
21
|
+
function m() {
|
|
22
|
+
n.value = !1;
|
|
23
|
+
}
|
|
24
|
+
return (d, t) => (l(), o("div", {
|
|
25
|
+
class: "VPFlyout relative flex items-center",
|
|
26
|
+
ref_key: "el",
|
|
27
|
+
ref: s,
|
|
28
|
+
onMouseenter: t[1] || (t[1] = (i) => n.value = !0),
|
|
29
|
+
onMouseleave: t[2] || (t[2] = (i) => n.value = !1)
|
|
30
|
+
}, [
|
|
31
|
+
a("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
class: "flex items-center px-3 py-2 text-base font-sans text-primary dark:text-white hover:opacity-70 transition-opacity",
|
|
34
|
+
"aria-haspopup": "true",
|
|
35
|
+
"aria-expanded": n.value,
|
|
36
|
+
"aria-label": e.label,
|
|
37
|
+
onClick: t[0] || (t[0] = (i) => n.value = !n.value)
|
|
38
|
+
}, [
|
|
39
|
+
e.button || e.icon ? (l(), o("span", V, [
|
|
40
|
+
e.icon ? (l(), o("span", {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: f(e.icon)
|
|
43
|
+
}, null, 2)) : u("", !0),
|
|
44
|
+
e.button ? (l(), o("span", {
|
|
45
|
+
key: 1,
|
|
46
|
+
innerHTML: e.button
|
|
47
|
+
}, null, 8, C)) : u("", !0),
|
|
48
|
+
t[3] || (t[3] = a("span", { class: "vpi-chevron-down text-sm" }, null, -1))
|
|
49
|
+
])) : (l(), o("span", M))
|
|
50
|
+
], 8, k),
|
|
51
|
+
a("div", h, [
|
|
52
|
+
v(b, { items: e.items }, {
|
|
53
|
+
default: p(() => [
|
|
54
|
+
x(d.$slots, "default", {}, void 0, !0)
|
|
55
|
+
]),
|
|
56
|
+
_: 3
|
|
57
|
+
}, 8, ["items"])
|
|
58
|
+
])
|
|
59
|
+
], 544));
|
|
60
|
+
}
|
|
61
|
+
});
|
|
10
62
|
export {
|
|
11
|
-
|
|
63
|
+
F as default
|
|
12
64
|
};
|
package/dist/index29.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, createElementBlock as s, openBlock as l, createStaticVNode as a, createElementVNode as t, createTextVNode as o, toDisplayString as i } from "vue";
|
|
2
|
-
import n from "./
|
|
3
|
-
import p from "./
|
|
2
|
+
import n from "./index171.js";
|
|
3
|
+
import p from "./index172.js";
|
|
4
4
|
import c from "./index117.js";
|
|
5
5
|
import d from "./index119.js";
|
|
6
6
|
import x from "./index120.js";
|
package/dist/index290.js
CHANGED
|
@@ -1,38 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
1
|
+
import { defineComponent as r, computed as a, createElementBlock as s, openBlock as c, createVNode as m, mergeProps as l, withCtx as f, createElementVNode as p } from "vue";
|
|
2
|
+
import { useData as u } from "./index161.js";
|
|
3
|
+
import d from "./index8.js";
|
|
4
|
+
const h = { class: "VPMenuLink" }, x = ["innerHTML"], v = /* @__PURE__ */ r({
|
|
5
|
+
inheritAttrs: !1,
|
|
6
|
+
__name: "VPMenuLink",
|
|
7
|
+
props: {
|
|
8
|
+
item: {}
|
|
9
|
+
},
|
|
10
|
+
setup(e) {
|
|
11
|
+
const t = e, { page: n } = u(), i = a(
|
|
12
|
+
() => typeof t.item.link == "function" ? t.item.link(n.value) : t.item.link
|
|
13
|
+
);
|
|
14
|
+
return (o, k) => (c(), s("div", h, [
|
|
15
|
+
m(d, l(o.$attrs, {
|
|
16
|
+
class: "flex items-center justify-between rounded-md px-3 py-2 text-base font-sans text-primary dark:text-white text-left whitespace-nowrap hover:opacity-70 transition-opacity",
|
|
17
|
+
href: i.value,
|
|
18
|
+
target: e.item.target,
|
|
19
|
+
rel: e.item.rel,
|
|
20
|
+
"no-icon": e.item.noIcon
|
|
21
|
+
}), {
|
|
22
|
+
default: f(() => [
|
|
23
|
+
p("span", {
|
|
24
|
+
innerHTML: e.item.text
|
|
25
|
+
}, null, 8, x)
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
}, 16, ["href", "target", "rel", "no-icon"])
|
|
29
|
+
]));
|
|
30
|
+
}
|
|
31
|
+
});
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
-
s as EVENT_OPTIONS,
|
|
34
|
-
i as MAP_KEY_TO_FOCUS_INTENT,
|
|
35
|
-
A as focusFirst,
|
|
36
|
-
w as getFocusIntent,
|
|
37
|
-
l as wrapArray
|
|
33
|
+
v as default
|
|
38
34
|
};
|
package/dist/index292.js
CHANGED
|
@@ -1,94 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _ = /* @__PURE__ */ h({
|
|
8
|
-
__name: "RovingFocusItem",
|
|
1
|
+
import { defineComponent as t, createBlock as a, openBlock as e, Transition as n, withCtx as c, createElementBlock as r, createCommentVNode as s } from "vue";
|
|
2
|
+
const p = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "VPBackdrop"
|
|
5
|
+
}, i = /* @__PURE__ */ t({
|
|
6
|
+
__name: "VPBackdrop",
|
|
9
7
|
props: {
|
|
10
|
-
|
|
11
|
-
type: String,
|
|
12
|
-
required: !1
|
|
13
|
-
},
|
|
14
|
-
focusable: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
required: !1,
|
|
17
|
-
default: !0
|
|
18
|
-
},
|
|
19
|
-
active: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
required: !1
|
|
22
|
-
},
|
|
23
|
-
allowShiftKey: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
required: !1
|
|
26
|
-
},
|
|
27
|
-
asChild: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
required: !1
|
|
30
|
-
},
|
|
31
|
-
as: {
|
|
32
|
-
type: null,
|
|
33
|
-
required: !1,
|
|
34
|
-
default: "span"
|
|
35
|
-
}
|
|
8
|
+
show: { type: Boolean }
|
|
36
9
|
},
|
|
37
|
-
setup(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});
|
|
44
|
-
function v(e) {
|
|
45
|
-
if (e.key === "Tab" && e.shiftKey) {
|
|
46
|
-
t.onItemShiftTab();
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
if (e.target !== e.currentTarget) return;
|
|
50
|
-
const o = g(e, t.orientation.value, t.dir.value);
|
|
51
|
-
if (o !== void 0) {
|
|
52
|
-
if (e.metaKey || e.ctrlKey || e.altKey || !n.allowShiftKey && e.shiftKey) return;
|
|
53
|
-
e.preventDefault();
|
|
54
|
-
let a = [...p().map((r) => r.ref).filter((r) => r.dataset.disabled !== "")];
|
|
55
|
-
if (o === "last") a.reverse();
|
|
56
|
-
else if (o === "prev" || o === "next") {
|
|
57
|
-
o === "prev" && a.reverse();
|
|
58
|
-
const r = a.indexOf(e.currentTarget);
|
|
59
|
-
a = t.loop.value ? F(a, r + 1) : a.slice(r + 1);
|
|
60
|
-
}
|
|
61
|
-
R(() => K(a));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return (e, o) => (q(), T(i(m), null, {
|
|
65
|
-
default: s(() => [B(i(y), {
|
|
66
|
-
tabindex: c.value ? 0 : -1,
|
|
67
|
-
"data-orientation": i(t).orientation.value,
|
|
68
|
-
"data-active": e.active ? "" : void 0,
|
|
69
|
-
"data-disabled": e.focusable ? void 0 : "",
|
|
70
|
-
as: e.as,
|
|
71
|
-
"as-child": e.asChild,
|
|
72
|
-
onMousedown: o[0] || (o[0] = (a) => {
|
|
73
|
-
e.focusable ? i(t).onItemFocus(l.value) : a.preventDefault();
|
|
74
|
-
}),
|
|
75
|
-
onFocus: o[1] || (o[1] = (a) => i(t).onItemFocus(l.value)),
|
|
76
|
-
onKeydown: v
|
|
77
|
-
}, {
|
|
78
|
-
default: s(() => [x(e.$slots, "default")]),
|
|
79
|
-
_: 3
|
|
80
|
-
}, 8, [
|
|
81
|
-
"tabindex",
|
|
82
|
-
"data-orientation",
|
|
83
|
-
"data-active",
|
|
84
|
-
"data-disabled",
|
|
85
|
-
"as",
|
|
86
|
-
"as-child"
|
|
87
|
-
])]),
|
|
88
|
-
_: 3
|
|
10
|
+
setup(o) {
|
|
11
|
+
return (d, m) => (e(), a(n, { name: "fade" }, {
|
|
12
|
+
default: c(() => [
|
|
13
|
+
o.show ? (e(), r("div", p)) : s("", !0)
|
|
14
|
+
]),
|
|
15
|
+
_: 1
|
|
89
16
|
}));
|
|
90
17
|
}
|
|
91
|
-
})
|
|
18
|
+
});
|
|
92
19
|
export {
|
|
93
|
-
|
|
20
|
+
i as default
|
|
94
21
|
};
|
package/dist/index294.js
CHANGED
|
@@ -1,7 +1,96 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as u, createElementBlock as l, openBlock as a, normalizeClass as n, unref as r, renderSlot as e, createBlock as i, createVNode as h, withCtx as t, resolveDynamicComponent as p } from "vue";
|
|
2
|
+
import v from "./index314.js";
|
|
3
|
+
import { useData as $ } from "./index161.js";
|
|
4
|
+
import { useLayout as b } from "./index70.js";
|
|
5
|
+
import y from "./index315.js";
|
|
6
|
+
import g from "./index316.js";
|
|
7
|
+
import k from "./index317.js";
|
|
8
|
+
const S = /* @__PURE__ */ u({
|
|
9
|
+
__name: "VPContent",
|
|
10
|
+
setup(C) {
|
|
11
|
+
const { page: d, frontmatter: s } = $(), { isHome: f, hasSidebar: m } = b();
|
|
12
|
+
return (o, P) => (a(), l("div", {
|
|
13
|
+
class: n(["VPContent", { "has-sidebar": r(m), "is-home": r(f) }]),
|
|
14
|
+
id: "VPContent"
|
|
15
|
+
}, [
|
|
16
|
+
r(d).isNotFound ? e(o.$slots, "not-found", { key: 0 }, () => [
|
|
17
|
+
h(v)
|
|
18
|
+
], !0) : r(s).layout === "page" ? (a(), i(k, { key: 1 }, {
|
|
19
|
+
"page-top": t(() => [
|
|
20
|
+
e(o.$slots, "page-top", {}, void 0, !0)
|
|
21
|
+
]),
|
|
22
|
+
"page-bottom": t(() => [
|
|
23
|
+
e(o.$slots, "page-bottom", {}, void 0, !0)
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
})) : r(s).layout === "home" ? (a(), i(g, { key: 2 }, {
|
|
27
|
+
"home-hero-before": t(() => [
|
|
28
|
+
e(o.$slots, "home-hero-before", {}, void 0, !0)
|
|
29
|
+
]),
|
|
30
|
+
"home-hero-info-before": t(() => [
|
|
31
|
+
e(o.$slots, "home-hero-info-before", {}, void 0, !0)
|
|
32
|
+
]),
|
|
33
|
+
"home-hero-info": t(() => [
|
|
34
|
+
e(o.$slots, "home-hero-info", {}, void 0, !0)
|
|
35
|
+
]),
|
|
36
|
+
"home-hero-info-after": t(() => [
|
|
37
|
+
e(o.$slots, "home-hero-info-after", {}, void 0, !0)
|
|
38
|
+
]),
|
|
39
|
+
"home-hero-actions-after": t(() => [
|
|
40
|
+
e(o.$slots, "home-hero-actions-after", {}, void 0, !0)
|
|
41
|
+
]),
|
|
42
|
+
"home-hero-image": t(() => [
|
|
43
|
+
e(o.$slots, "home-hero-image", {}, void 0, !0)
|
|
44
|
+
]),
|
|
45
|
+
"home-hero-after": t(() => [
|
|
46
|
+
e(o.$slots, "home-hero-after", {}, void 0, !0)
|
|
47
|
+
]),
|
|
48
|
+
"home-features-before": t(() => [
|
|
49
|
+
e(o.$slots, "home-features-before", {}, void 0, !0)
|
|
50
|
+
]),
|
|
51
|
+
"home-features-after": t(() => [
|
|
52
|
+
e(o.$slots, "home-features-after", {}, void 0, !0)
|
|
53
|
+
]),
|
|
54
|
+
_: 3
|
|
55
|
+
})) : r(s).layout && r(s).layout !== "doc" ? (a(), i(p(r(s).layout), { key: 3 })) : (a(), i(y, { key: 4 }, {
|
|
56
|
+
"doc-top": t(() => [
|
|
57
|
+
e(o.$slots, "doc-top", {}, void 0, !0)
|
|
58
|
+
]),
|
|
59
|
+
"doc-bottom": t(() => [
|
|
60
|
+
e(o.$slots, "doc-bottom", {}, void 0, !0)
|
|
61
|
+
]),
|
|
62
|
+
"doc-footer-before": t(() => [
|
|
63
|
+
e(o.$slots, "doc-footer-before", {}, void 0, !0)
|
|
64
|
+
]),
|
|
65
|
+
"doc-before": t(() => [
|
|
66
|
+
e(o.$slots, "doc-before", {}, void 0, !0)
|
|
67
|
+
]),
|
|
68
|
+
"doc-after": t(() => [
|
|
69
|
+
e(o.$slots, "doc-after", {}, void 0, !0)
|
|
70
|
+
]),
|
|
71
|
+
"aside-top": t(() => [
|
|
72
|
+
e(o.$slots, "aside-top", {}, void 0, !0)
|
|
73
|
+
]),
|
|
74
|
+
"aside-outline-before": t(() => [
|
|
75
|
+
e(o.$slots, "aside-outline-before", {}, void 0, !0)
|
|
76
|
+
]),
|
|
77
|
+
"aside-outline-after": t(() => [
|
|
78
|
+
e(o.$slots, "aside-outline-after", {}, void 0, !0)
|
|
79
|
+
]),
|
|
80
|
+
"aside-ads-before": t(() => [
|
|
81
|
+
e(o.$slots, "aside-ads-before", {}, void 0, !0)
|
|
82
|
+
]),
|
|
83
|
+
"aside-ads-after": t(() => [
|
|
84
|
+
e(o.$slots, "aside-ads-after", {}, void 0, !0)
|
|
85
|
+
]),
|
|
86
|
+
"aside-bottom": t(() => [
|
|
87
|
+
e(o.$slots, "aside-bottom", {}, void 0, !0)
|
|
88
|
+
]),
|
|
89
|
+
_: 3
|
|
90
|
+
}))
|
|
91
|
+
], 2));
|
|
92
|
+
}
|
|
93
|
+
});
|
|
5
94
|
export {
|
|
6
|
-
|
|
95
|
+
S as default
|
|
7
96
|
};
|
package/dist/index296.js
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as c, createElementBlock as t, createCommentVNode as r, unref as e, openBlock as s, normalizeClass as i, createElementVNode as m } from "vue";
|
|
2
|
+
import { useData as f } from "./index161.js";
|
|
3
|
+
import { useLayout as l } from "./index70.js";
|
|
4
|
+
const p = { class: "container" }, _ = ["innerHTML"], u = ["innerHTML"], H = /* @__PURE__ */ c({
|
|
5
|
+
__name: "VPFooter",
|
|
6
|
+
setup(d) {
|
|
7
|
+
const { theme: o, frontmatter: n } = f(), { hasSidebar: a } = l();
|
|
8
|
+
return (h, y) => e(o).footer && e(n).footer !== !1 ? (s(), t("footer", {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: i(["VPFooter", { "has-sidebar": e(a) }])
|
|
11
|
+
}, [
|
|
12
|
+
m("div", p, [
|
|
13
|
+
e(o).footer.message ? (s(), t("p", {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "message",
|
|
16
|
+
innerHTML: e(o).footer.message
|
|
17
|
+
}, null, 8, _)) : r("", !0),
|
|
18
|
+
e(o).footer.copyright ? (s(), t("p", {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "copyright",
|
|
21
|
+
innerHTML: e(o).footer.copyright
|
|
22
|
+
}, null, 8, u)) : r("", !0)
|
|
23
|
+
])
|
|
24
|
+
], 2)) : r("", !0);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
5
27
|
export {
|
|
6
|
-
|
|
28
|
+
H as default
|
|
7
29
|
};
|
package/dist/index298.js
CHANGED
|
@@ -1,7 +1,52 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as h, ref as y, onMounted as g, computed as N, createElementBlock as r, createCommentVNode as l, unref as e, openBlock as u, normalizeClass as V, createElementVNode as s, createVNode as _, toDisplayString as b } from "vue";
|
|
2
|
+
import { useWindowScroll as L } from "@vueuse/core";
|
|
3
|
+
import { useData as k } from "./index161.js";
|
|
4
|
+
import { useLayout as x } from "./index70.js";
|
|
5
|
+
import C from "./index319.js";
|
|
6
|
+
const P = { class: "container" }, S = ["aria-expanded"], H = { class: "menu-text" }, z = /* @__PURE__ */ h({
|
|
7
|
+
__name: "VPLocalNav",
|
|
8
|
+
props: {
|
|
9
|
+
open: { type: Boolean }
|
|
10
|
+
},
|
|
11
|
+
emits: ["open-menu"],
|
|
12
|
+
setup(i) {
|
|
13
|
+
const { theme: m } = k(), { isHome: d, hasSidebar: t, headers: p, hasLocalNav: o } = x(), { y: c } = L(), n = y(0);
|
|
14
|
+
g(() => {
|
|
15
|
+
n.value = parseInt(
|
|
16
|
+
getComputedStyle(document.documentElement).getPropertyValue(
|
|
17
|
+
"--vp-nav-height"
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
});
|
|
21
|
+
const v = N(() => ({
|
|
22
|
+
VPLocalNav: !0,
|
|
23
|
+
"has-sidebar": t.value,
|
|
24
|
+
empty: !o.value,
|
|
25
|
+
fixed: !o.value && !t.value
|
|
26
|
+
}));
|
|
27
|
+
return (f, a) => !e(d) && (e(o) || e(t) || e(c) >= n.value) ? (u(), r("div", {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: V(v.value)
|
|
30
|
+
}, [
|
|
31
|
+
s("div", P, [
|
|
32
|
+
e(t) ? (u(), r("button", {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "menu",
|
|
35
|
+
"aria-expanded": i.open,
|
|
36
|
+
"aria-controls": "VPSidebarNav",
|
|
37
|
+
onClick: a[0] || (a[0] = (B) => f.$emit("open-menu"))
|
|
38
|
+
}, [
|
|
39
|
+
a[1] || (a[1] = s("span", { class: "vpi-align-left menu-icon" }, null, -1)),
|
|
40
|
+
s("span", H, b(e(m).sidebarMenuLabel || "Menu"), 1)
|
|
41
|
+
], 8, S)) : l("", !0),
|
|
42
|
+
_(C, {
|
|
43
|
+
headers: e(p),
|
|
44
|
+
navHeight: n.value
|
|
45
|
+
}, null, 8, ["headers", "navHeight"])
|
|
46
|
+
])
|
|
47
|
+
], 2)) : l("", !0);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
5
50
|
export {
|
|
6
|
-
|
|
51
|
+
z as default
|
|
7
52
|
};
|