@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.
Files changed (374) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index100.js +12 -12
  3. package/dist/index102.js +7 -7
  4. package/dist/index104.js +8 -8
  5. package/dist/index108.js +4 -4
  6. package/dist/index122.js +5 -5
  7. package/dist/index131.js +4 -4
  8. package/dist/index138.js +2 -2
  9. package/dist/index140.js +1 -1
  10. package/dist/index150.js +1 -1
  11. package/dist/index151.js +26 -3
  12. package/dist/index152.js +30 -5324
  13. package/dist/index153.js +26 -2
  14. package/dist/index154.js +23 -81
  15. package/dist/index155.js +23 -63
  16. package/dist/index156.js +22 -49
  17. package/dist/index157.js +195 -74
  18. package/dist/index158.js +28 -26
  19. package/dist/index159.js +41 -29
  20. package/dist/index160.js +5 -26
  21. package/dist/index161.js +3 -26
  22. package/dist/index162.js +5 -26
  23. package/dist/index163.js +34 -22
  24. package/dist/index164.js +5 -197
  25. package/dist/index165.js +2 -2
  26. package/dist/index166.js +2 -2
  27. package/dist/index167.js +2 -2
  28. package/dist/index169.js +135 -2
  29. package/dist/index171.js +2 -2
  30. package/dist/index172.js +2 -2
  31. package/dist/index173.js +2 -5
  32. package/dist/index174.js +2 -129
  33. package/dist/index175.js +54 -0
  34. package/dist/index176.js +2 -2
  35. package/dist/index177.js +2 -2
  36. package/dist/index178.js +2 -2
  37. package/dist/index179.js +2 -2
  38. package/dist/index180.js +65536 -2
  39. package/dist/index181.js +7 -0
  40. package/dist/index182.js +2 -135
  41. package/dist/index183.js +4 -0
  42. package/dist/index184.js +2 -3
  43. package/dist/index185.js +2 -2
  44. package/dist/index186.js +2 -2
  45. package/dist/index187.js +1 -1
  46. package/dist/index188.js +2 -2
  47. package/dist/index189.js +2 -2
  48. package/dist/index190.js +2 -2
  49. package/dist/index191.js +2 -2
  50. package/dist/index192.js +2 -2
  51. package/dist/index193.js +1 -1
  52. package/dist/index194.js +2 -2
  53. package/dist/index195.js +5 -34
  54. package/dist/index196.js +4 -1
  55. package/dist/index197.js +5 -2
  56. package/dist/index198.js +75 -2
  57. package/dist/index200.js +5 -2
  58. package/dist/index201.js +2 -2
  59. package/dist/index202.js +2 -2
  60. package/dist/index203.js +2 -2
  61. package/dist/index204.js +2 -2
  62. package/dist/index205.js +2 -2
  63. package/dist/index206.js +2 -2
  64. package/dist/index207.js +2 -2
  65. package/dist/index208.js +2 -22
  66. package/dist/index209.js +2 -124
  67. package/dist/index210.js +2 -2
  68. package/dist/index211.js +2 -33
  69. package/dist/index212.js +2 -1202
  70. package/dist/index213.js +2 -52
  71. package/dist/index214.js +3 -44
  72. package/dist/index215.js +2 -53
  73. package/dist/index216.js +2 -2587
  74. package/dist/index217.js +1 -1
  75. package/dist/index218.js +2 -2
  76. package/dist/index219.js +34 -2
  77. package/dist/index220.js +2 -2
  78. package/dist/index221.js +2 -7207
  79. package/dist/index222.js +2 -1735
  80. package/dist/index223.js +2 -439
  81. package/dist/index224.js +2 -14
  82. package/dist/index225.js +2 -65536
  83. package/dist/index226.js +2 -5
  84. package/dist/index227.js +5 -2
  85. package/dist/index228.js +1 -1
  86. package/dist/index229.js +2 -4
  87. package/dist/index23.js +31 -34
  88. package/dist/index230.js +71 -315
  89. package/dist/index231.js +82 -2
  90. package/dist/index232.js +2 -1014
  91. package/dist/index233.js +2 -2
  92. package/dist/index234.js +2 -2
  93. package/dist/index235.js +2 -2
  94. package/dist/index236.js +2 -2
  95. package/dist/index237.js +2 -2
  96. package/dist/index238.js +2 -2
  97. package/dist/index239.js +83 -2
  98. package/dist/index240.js +2 -2
  99. package/dist/index241.js +35 -2
  100. package/dist/index243.js +16 -5
  101. package/dist/index245.js +28 -72
  102. package/dist/index247.js +2 -4
  103. package/dist/index248.js +13 -33
  104. package/dist/index25.js +17 -17
  105. package/dist/index250.js +3 -16
  106. package/dist/index251.js +317 -0
  107. package/dist/index252.js +2 -31
  108. package/dist/index253.js +6 -0
  109. package/dist/index254.js +7207 -3
  110. package/dist/index255.js +1735 -15
  111. package/dist/index256.js +131 -0
  112. package/dist/index258.js +446 -2
  113. package/dist/index259.js +2 -2
  114. package/dist/index260.js +70 -2
  115. package/dist/index261.js +5 -2
  116. package/dist/index262.js +2 -2
  117. package/dist/index263.js +29 -2
  118. package/dist/index265.js +30 -28
  119. package/dist/index266.js +25 -41
  120. package/dist/index267.js +5 -3
  121. package/dist/index268.js +4 -4
  122. package/dist/index269.js +5 -71
  123. package/dist/index270.js +32 -5
  124. package/dist/index271.js +5 -82
  125. package/dist/index272.js +5 -38
  126. package/dist/index273.js +5 -2
  127. package/dist/index274.js +5 -5
  128. package/dist/index275.js +5 -83
  129. package/dist/index276.js +5 -10
  130. package/dist/index277.js +61 -6
  131. package/dist/index278.js +3 -5
  132. package/dist/index279.js +407 -4
  133. package/dist/index28.js +1 -1
  134. package/dist/index281.js +61 -32
  135. package/dist/index282.js +26 -9
  136. package/dist/index284.js +2 -58
  137. package/dist/index285.js +2 -39
  138. package/dist/index286.js +46 -20
  139. package/dist/index287.js +110 -23
  140. package/dist/index288.js +62 -10
  141. package/dist/index29.js +2 -2
  142. package/dist/index290.js +32 -36
  143. package/dist/index292.js +15 -88
  144. package/dist/index294.js +94 -5
  145. package/dist/index296.js +27 -5
  146. package/dist/index298.js +50 -5
  147. package/dist/index30.js +4 -4
  148. package/dist/index300.js +54 -61
  149. package/dist/{index311.js → index302.js} +1 -1
  150. package/dist/{index362.js → index304.js} +1 -1
  151. package/dist/index305.js +18 -26
  152. package/dist/{index361.js → index306.js} +1 -1
  153. package/dist/index307.js +22 -50
  154. package/dist/index309.js +27 -54
  155. package/dist/{index358.js → index310.js} +1 -1
  156. package/dist/{index359.js → index312.js} +2 -2
  157. package/dist/index314.js +5 -112
  158. package/dist/index315.js +5 -30
  159. package/dist/index316.js +5 -26
  160. package/dist/index317.js +13 -2
  161. package/dist/index318.js +5 -2
  162. package/dist/index319.js +3 -3
  163. package/dist/index320.js +5 -26
  164. package/dist/index321.js +30 -0
  165. package/dist/index323.js +83 -5
  166. package/dist/index325.js +21 -59
  167. package/dist/index327.js +73 -28
  168. package/dist/index329.js +50 -5
  169. package/dist/index331.js +24 -27
  170. package/dist/index333.js +4 -2
  171. package/dist/index334.js +5 -407
  172. package/dist/{index365.js → index335.js} +1 -1
  173. package/dist/index336.js +5 -62
  174. package/dist/index337.js +97 -69
  175. package/dist/index339.js +29 -5
  176. package/dist/index341.js +25 -13
  177. package/dist/{index369.js → index343.js} +4 -4
  178. package/dist/{index380.js → index345.js} +1 -1
  179. package/dist/index346.js +12 -48
  180. package/dist/{index385.js → index347.js} +1 -1
  181. package/dist/index348.js +28 -5
  182. package/dist/index349.js +5 -83
  183. package/dist/{index382.js → index350.js} +3 -3
  184. package/dist/index352.js +2 -28
  185. package/dist/{index388.js → index353.js} +1 -1
  186. package/dist/index355.js +3 -20
  187. package/dist/{index391.js → index356.js} +2 -2
  188. package/dist/index42.js +4 -4
  189. package/dist/index44.js +1 -1
  190. package/dist/index48.js +4 -4
  191. package/dist/index50.js +2 -2
  192. package/dist/index52.js +8 -8
  193. package/dist/index54.js +2 -2
  194. package/dist/index59.js +1 -1
  195. package/dist/index6.js +1 -1
  196. package/dist/index64.js +1 -1
  197. package/dist/index7.js +2 -2
  198. package/dist/index70.js +4 -4
  199. package/dist/index8.js +2 -2
  200. package/dist/index80.js +1 -1
  201. package/dist/index9.js +1 -1
  202. package/dist/index94.js +2 -2
  203. package/dist/index96.js +8 -8
  204. package/dist/vitepress/components/oss/Footer.vue.d.ts +2 -0
  205. package/dist/vitepress/components/oss/Header.vue.d.ts +2 -0
  206. package/dist/vitepress/components/oss/HeadingSection.vue.d.ts +6 -0
  207. package/dist/vitepress/components/oss/Hero.vue.d.ts +2 -0
  208. package/dist/vitepress/components/oss/TrustedBy.vue.d.ts +2 -0
  209. package/dist/vitepress/components/shared/CodeGroup.vue.d.ts +10 -0
  210. package/dist/vitepress/components/shared/Eyebrow.vue.d.ts +5 -0
  211. package/dist/vitepress/components/shared/LogoGrid.vue.d.ts +11 -0
  212. package/dist/vitepress/components/shared/RiveAnimation.vue.d.ts +22 -0
  213. package/dist/vitepress/components/shared/ShaderBackground.vue.d.ts +2 -0
  214. package/dist/vitepress/components/shared/Spacer.vue.d.ts +2 -0
  215. package/dist/vitepress/components/shared/Terminal.vue.d.ts +4 -0
  216. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation1.vue.d.ts +5 -0
  217. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation2.vue.d.ts +5 -0
  218. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation3.vue.d.ts +5 -0
  219. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation4.vue.d.ts +5 -0
  220. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation5.vue.d.ts +5 -0
  221. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation6.vue.d.ts +5 -0
  222. package/dist/vitepress/components/vite/Community.vue.d.ts +2 -0
  223. package/dist/vitepress/components/vite/FeatureGrid.vue.d.ts +2 -0
  224. package/dist/vitepress/components/vite/FeaturePanel1.vue.d.ts +2 -0
  225. package/dist/vitepress/components/vite/FeaturePanel2.vue.d.ts +2 -0
  226. package/dist/vitepress/components/vite/FeaturePanel3.vue.d.ts +2 -0
  227. package/dist/vitepress/components/vite/FeaturePanel4.vue.d.ts +2 -0
  228. package/dist/vitepress/components/vite/Frameworks.vue.d.ts +2 -0
  229. package/dist/vitepress/components/vite/Sponsors.vue.d.ts +9 -0
  230. package/dist/vitepress/components/viteplus/Header.vue.d.ts +17 -0
  231. package/dist/vitepress/components/vitepress-default/Layout.vue.d.ts +43 -0
  232. package/dist/vitepress/components/vitepress-default/NotFound.vue.d.ts +2 -0
  233. package/dist/vitepress/components/vitepress-default/VPAlgoliaSearchBox.vue.d.ts +6 -0
  234. package/dist/vitepress/components/vitepress-default/VPBackdrop.vue.d.ts +5 -0
  235. package/dist/vitepress/components/vitepress-default/VPBadge.vue.d.ts +23 -0
  236. package/dist/vitepress/components/vitepress-default/VPButton.vue.d.ts +29 -0
  237. package/dist/vitepress/components/vitepress-default/VPCarbonAds.vue.d.ts +8 -0
  238. package/dist/vitepress/components/vitepress-default/VPContent.vue.d.ts +39 -0
  239. package/dist/vitepress/components/vitepress-default/VPDoc.vue.d.ts +27 -0
  240. package/dist/vitepress/components/vitepress-default/VPDocAside.vue.d.ts +22 -0
  241. package/dist/vitepress/components/vitepress-default/VPDocAsideCarbonAds.vue.d.ts +6 -0
  242. package/dist/vitepress/components/vitepress-default/VPDocAsideOutline.vue.d.ts +5 -0
  243. package/dist/vitepress/components/vitepress-default/VPDocAsideSponsors.vue.d.ts +9 -0
  244. package/dist/vitepress/components/vitepress-default/VPDocFooter.vue.d.ts +17 -0
  245. package/dist/vitepress/components/vitepress-default/VPDocFooterLastUpdated.vue.d.ts +4 -0
  246. package/dist/vitepress/components/vitepress-default/VPDocOutlineItem.vue.d.ts +7 -0
  247. package/dist/vitepress/components/vitepress-default/VPFeature.vue.d.ts +12 -0
  248. package/dist/vitepress/components/vitepress-default/VPFeatures.vue.d.ts +15 -0
  249. package/dist/vitepress/components/vitepress-default/VPFlyout.vue.d.ts +21 -0
  250. package/dist/vitepress/components/vitepress-default/VPFooter.vue.d.ts +2 -0
  251. package/dist/vitepress/components/vitepress-default/VPHero.vue.d.ts +36 -0
  252. package/dist/vitepress/components/vitepress-default/VPHome.vue.d.ts +25 -0
  253. package/dist/vitepress/components/vitepress-default/VPHomeContent.vue.d.ts +17 -0
  254. package/dist/vitepress/components/vitepress-default/VPHomeFeatures.vue.d.ts +2 -0
  255. package/dist/vitepress/components/vitepress-default/VPHomeHero.vue.d.ts +21 -0
  256. package/dist/vitepress/components/vitepress-default/VPHomeSponsors.vue.d.ts +20 -0
  257. package/dist/vitepress/components/vitepress-default/VPImage.vue.d.ts +7 -0
  258. package/dist/vitepress/components/vitepress-default/VPLink.vue.d.ts +24 -0
  259. package/dist/vitepress/components/vitepress-default/VPLocalNav.vue.d.ts +9 -0
  260. package/dist/vitepress/components/vitepress-default/VPLocalNavOutlineDropdown.vue.d.ts +10 -0
  261. package/dist/vitepress/components/vitepress-default/VPLocalSearchBox.vue.d.ts +10 -0
  262. package/dist/vitepress/components/vitepress-default/VPMenu.vue.d.ts +18 -0
  263. package/dist/vitepress/components/vitepress-default/VPMenuGroup.vue.d.ts +17 -0
  264. package/dist/vitepress/components/vitepress-default/VPMenuLink.vue.d.ts +16 -0
  265. package/dist/vitepress/components/vitepress-default/VPNavBarAppearance.vue.d.ts +2 -0
  266. package/dist/vitepress/components/vitepress-default/VPNavBarMenu.vue.d.ts +2 -0
  267. package/dist/vitepress/components/vitepress-default/VPNavBarMenuGroup.vue.d.ts +6 -0
  268. package/dist/vitepress/components/vitepress-default/VPNavBarMenuLink.vue.d.ts +6 -0
  269. package/dist/vitepress/components/vitepress-default/VPNavBarSearch.vue.d.ts +2 -0
  270. package/dist/vitepress/components/vitepress-default/VPNavBarSearchButton.vue.d.ts +2 -0
  271. package/dist/vitepress/components/vitepress-default/VPNavBarSocialLinks.vue.d.ts +2 -0
  272. package/dist/vitepress/components/vitepress-default/VPNavBarTranslations.vue.d.ts +2 -0
  273. package/dist/vitepress/components/vitepress-default/VPPage.vue.d.ts +18 -0
  274. package/dist/vitepress/components/vitepress-default/VPSidebar.vue.d.ts +25 -0
  275. package/dist/vitepress/components/vitepress-default/VPSidebarGroup.vue.d.ts +6 -0
  276. package/dist/vitepress/components/vitepress-default/VPSidebarItem.vue.d.ts +7 -0
  277. package/dist/vitepress/components/vitepress-default/VPSkipLink.vue.d.ts +4 -0
  278. package/dist/vitepress/components/vitepress-default/VPSocialLink.vue.d.ts +11 -0
  279. package/dist/vitepress/components/vitepress-default/VPSocialLinks.vue.d.ts +9 -0
  280. package/dist/vitepress/components/vitepress-default/VPSponsors.vue.d.ts +17 -0
  281. package/dist/vitepress/components/vitepress-default/VPSponsorsGrid.vue.d.ts +16 -0
  282. package/dist/vitepress/components/vitepress-default/VPSwitch.vue.d.ts +17 -0
  283. package/dist/vitepress/components/vitepress-default/VPSwitchAppearance.vue.d.ts +2 -0
  284. package/dist/vitepress/components/vitepress-default/VPTeamMembers.vue.d.ts +9 -0
  285. package/dist/vitepress/components/vitepress-default/VPTeamMembersItem.vue.d.ts +9 -0
  286. package/dist/vitepress/components/vitepress-default/VPTeamPage.vue.d.ts +17 -0
  287. package/dist/vitepress/components/vitepress-default/VPTeamPageSection.vue.d.ts +19 -0
  288. package/dist/vitepress/components/vitepress-default/VPTeamPageTitle.vue.d.ts +18 -0
  289. package/dist/vitepress/components/voidzero/Footer.vue.d.ts +2 -0
  290. package/dist/vitepress/components/voidzero/Header.vue.d.ts +23 -0
  291. package/dist/vitepress/components/voidzero/Megamenu.vue.d.ts +16 -0
  292. package/dist/vitepress/components/voidzero/about/CareerCTA.vue.d.ts +2 -0
  293. package/dist/vitepress/components/voidzero/about/Hero.vue.d.ts +2 -0
  294. package/dist/vitepress/components/voidzero/about/Investors.vue.d.ts +2 -0
  295. package/dist/vitepress/components/voidzero/about/TeamGrid.vue.d.ts +16 -0
  296. package/dist/vitepress/components/voidzero/about/TeamSectionHeading.vue.d.ts +2 -0
  297. package/dist/vitepress/components/voidzero/blog/FeaturedArticles.vue.d.ts +29 -0
  298. package/dist/vitepress/components/voidzero/home/CaseStudySlider.vue.d.ts +5 -0
  299. package/dist/vitepress/components/voidzero/home/CustomersSectionHeading.vue.d.ts +2 -0
  300. package/dist/vitepress/components/voidzero/home/GitHubStats.vue.d.ts +7 -0
  301. package/dist/vitepress/components/voidzero/home/Hero.vue.d.ts +2 -0
  302. package/dist/vitepress/components/voidzero/home/Investors.vue.d.ts +2 -0
  303. package/dist/vitepress/components/voidzero/home/OpenSourceSectionHeading.vue.d.ts +2 -0
  304. package/dist/vitepress/components/voidzero/home/OpenSourceSectionProjects.vue.d.ts +2 -0
  305. package/dist/vitepress/components/voidzero/home/Resources.vue.d.ts +31 -0
  306. package/dist/vitepress/components/voidzero/home/Statistics.vue.d.ts +16 -0
  307. package/dist/vitepress/components/voidzero/home/StatisticsSectionHeading.vue.d.ts +2 -0
  308. package/dist/vitepress/components/voidzero/home/TeamCTA.vue.d.ts +2 -0
  309. package/dist/vitepress/components/voidzero/home/TrustedBy.vue.d.ts +2 -0
  310. package/dist/vitepress/components/voidzero/home/VitePlusSectionFeatures.vue.d.ts +2 -0
  311. package/dist/vitepress/components/voidzero/home/VitePlusSectionHeading.vue.d.ts +2 -0
  312. package/dist/vitepress/composables/vitepress-default/aside.d.ts +3 -0
  313. package/dist/vitepress/composables/vitepress-default/data.d.ts +3 -0
  314. package/dist/vitepress/composables/vitepress-default/edit-link.d.ts +4 -0
  315. package/dist/vitepress/composables/vitepress-default/flyout.d.ts +9 -0
  316. package/dist/vitepress/composables/vitepress-default/langs.d.ts +14 -0
  317. package/dist/vitepress/composables/vitepress-default/layout.d.ts +12 -0
  318. package/dist/vitepress/composables/vitepress-default/nav.d.ts +11 -0
  319. package/dist/vitepress/composables/vitepress-default/outline.d.ts +6 -0
  320. package/dist/vitepress/composables/vitepress-default/prev-next.d.ts +10 -0
  321. package/dist/vitepress/composables/vitepress-default/sidebar.d.ts +22 -0
  322. package/dist/vitepress/composables/vitepress-default/sponsor-grid.d.ts +10 -0
  323. package/dist/vitepress/index.d.ts +23 -0
  324. package/dist/vitepress/layouts/VPLayout.vue.d.ts +2 -0
  325. package/dist/vitepress/support/vitepress-default/app-utils.d.ts +10 -0
  326. package/dist/vitepress/support/vitepress-default/lru.d.ts +9 -0
  327. package/dist/vitepress/support/vitepress-default/shared-utils.d.ts +13 -0
  328. package/dist/vitepress/support/vitepress-default/sidebar.d.ts +24 -0
  329. package/dist/vitepress/support/vitepress-default/translation.d.ts +4 -0
  330. package/dist/vitepress/support/vitepress-default/utils.d.ts +3 -0
  331. package/package.json +1 -1
  332. package/dist/index168.js +0 -4
  333. package/dist/index170.js +0 -4
  334. package/dist/index199.js +0 -4
  335. package/dist/index242.js +0 -7
  336. package/dist/index244.js +0 -7
  337. package/dist/index257.js +0 -4
  338. package/dist/index264.js +0 -4
  339. package/dist/index280.js +0 -9
  340. package/dist/index283.js +0 -16
  341. package/dist/index289.js +0 -59
  342. package/dist/index291.js +0 -121
  343. package/dist/index293.js +0 -10
  344. package/dist/index295.js +0 -7
  345. package/dist/index297.js +0 -7
  346. package/dist/index299.js +0 -7
  347. package/dist/index301.js +0 -21
  348. package/dist/index303.js +0 -96
  349. package/dist/index313.js +0 -49
  350. package/dist/index322.js +0 -7
  351. package/dist/index324.js +0 -34
  352. package/dist/index330.js +0 -4
  353. package/dist/index338.js +0 -7
  354. package/dist/index340.js +0 -7
  355. package/dist/index342.js +0 -26
  356. package/dist/index344.js +0 -79
  357. package/dist/index351.js +0 -7
  358. package/dist/index357.js +0 -30
  359. package/dist/index363.js +0 -21
  360. package/dist/index364.js +0 -448
  361. package/dist/index366.js +0 -7
  362. package/dist/index367.js +0 -27
  363. package/dist/index371.js +0 -7
  364. package/dist/index372.js +0 -31
  365. package/dist/index374.js +0 -7
  366. package/dist/index375.js +0 -100
  367. package/dist/index377.js +0 -7
  368. package/dist/index378.js +0 -28
  369. package/dist/index381.js +0 -16
  370. package/dist/index384.js +0 -4
  371. package/dist/index386.js +0 -30
  372. package/dist/index387.js +0 -7
  373. package/dist/index390.js +0 -7
  374. /package/dist/{index354.js → index308.js} +0 -0
package/dist/index23.js CHANGED
@@ -1,22 +1,19 @@
1
1
  import { defineComponent as w, ref as d, onMounted as V, onUnmounted as C, createElementBlock as $, openBlock as _, createVNode as e, createElementVNode as k, normalizeClass as x, createBlock as A, createCommentVNode as E, unref as a, withCtx as n, createTextVNode as r } from "vue";
2
- import { TabsRoot_default as N } from "./index154.js";
3
- import { TabsContent_default as i } from "./index155.js";
4
- import { TabsList_default as I } from "./index156.js";
5
- import { TabsTrigger_default as u } from "./index157.js";
6
- import z from "./index158.js";
7
- import B from "./index159.js";
8
- import O from "./index160.js";
9
- import R from "./index161.js";
10
- import U from "./index162.js";
11
- import j from "./index163.js";
12
- import D from "./index164.js";
13
- const L = 1500, Z = /* @__PURE__ */ w({
2
+ import { TabsRoot as N, TabsList as I, TabsTrigger as i, TabsContent as u } from "reka-ui";
3
+ import z from "./index151.js";
4
+ import B from "./index152.js";
5
+ import O from "./index153.js";
6
+ import R from "./index154.js";
7
+ import U from "./index155.js";
8
+ import j from "./index156.js";
9
+ import D from "./index157.js";
10
+ const L = 1500, Q = /* @__PURE__ */ w({
14
11
  __name: "Terminal",
15
12
  setup(M) {
16
13
  const f = d("tab1"), v = d(!0);
17
14
  let o = null;
18
- const b = d(null), m = d(!1);
19
- let s = null;
15
+ const b = d(null), s = d(!1);
16
+ let m = null;
20
17
  const c = ["tab1", "tab2", "tab3", "tab4", "tab5", "tab6"], T = () => {
21
18
  const t = (c.indexOf(f.value) + 1) % c.length;
22
19
  f.value = c[t];
@@ -28,10 +25,10 @@ const L = 1500, Z = /* @__PURE__ */ w({
28
25
  v.value = !1, o && (clearTimeout(o), o = null);
29
26
  };
30
27
  return V(() => {
31
- b.value && (s = new IntersectionObserver(
28
+ b.value && (m = new IntersectionObserver(
32
29
  (p) => {
33
30
  p.forEach((t) => {
34
- t.isIntersecting && !m.value && (m.value = !0, s?.disconnect());
31
+ t.isIntersecting && !s.value && (s.value = !0, m?.disconnect());
35
32
  });
36
33
  },
37
34
  {
@@ -39,9 +36,9 @@ const L = 1500, Z = /* @__PURE__ */ w({
39
36
  // Trigger when 20% of the element is visible
40
37
  rootMargin: "0px"
41
38
  }
42
- ), s.observe(b.value));
39
+ ), m.observe(b.value));
43
40
  }), C(() => {
44
- o && clearTimeout(o), s && s.disconnect();
41
+ o && clearTimeout(o), m && m.disconnect();
45
42
  }), (p, t) => (_(), $("section", {
46
43
  ref_key: "sectionRef",
47
44
  ref: b,
@@ -52,11 +49,11 @@ const L = 1500, Z = /* @__PURE__ */ w({
52
49
  class: x([
53
50
  "self-stretch px-4 sm:px-8 py-5 sm:py-7 relative bg-primary rounded-tl-lg rounded-tr-lg inline-flex flex-col justify-start items-start gap-2 overflow-hidden w-[62rem] outline-1 outline-offset-[3px] outline-white/30",
54
51
  "transition-transform duration-1000",
55
- m.value ? "translate-y-0" : "translate-y-24"
52
+ s.value ? "translate-y-0" : "translate-y-24"
56
53
  ]),
57
54
  style: { "transition-timing-function": "cubic-bezier(0.16, 1, 0.3, 1)" }
58
55
  }, [
59
- m.value ? (_(), A(a(N), {
56
+ s.value ? (_(), A(a(N), {
60
57
  key: 0,
61
58
  modelValue: f.value,
62
59
  "onUpdate:modelValue": [
@@ -70,42 +67,42 @@ const L = 1500, Z = /* @__PURE__ */ w({
70
67
  class: x([
71
68
  "absolute bottom-6 left-1/2 -translate-x-1/2 flex items-center p-1 rounded-md border border-white/10",
72
69
  "transition-transform duration-700 delay-300",
73
- m.value ? "translate-y-0" : "translate-y-12"
70
+ s.value ? "translate-y-0" : "translate-y-12"
74
71
  ]),
75
72
  style: { "transition-timing-function": "cubic-bezier(0.16, 1, 0.3, 1)" }
76
73
  }, {
77
74
  default: n(() => [
78
- e(a(u), { value: "tab1" }, {
75
+ e(a(i), { value: "tab1" }, {
79
76
  default: n(() => [...t[1] || (t[1] = [
80
77
  r(" new ", -1)
81
78
  ])]),
82
79
  _: 1
83
80
  }),
84
- e(a(u), { value: "tab2" }, {
81
+ e(a(i), { value: "tab2" }, {
85
82
  default: n(() => [...t[2] || (t[2] = [
86
83
  r(" dev ", -1)
87
84
  ])]),
88
85
  _: 1
89
86
  }),
90
- e(a(u), { value: "tab3" }, {
87
+ e(a(i), { value: "tab3" }, {
91
88
  default: n(() => [...t[3] || (t[3] = [
92
89
  r(" lint ", -1)
93
90
  ])]),
94
91
  _: 1
95
92
  }),
96
- e(a(u), { value: "tab4" }, {
93
+ e(a(i), { value: "tab4" }, {
97
94
  default: n(() => [...t[4] || (t[4] = [
98
95
  r(" fmt ", -1)
99
96
  ])]),
100
97
  _: 1
101
98
  }),
102
- e(a(u), { value: "tab5" }, {
99
+ e(a(i), { value: "tab5" }, {
103
100
  default: n(() => [...t[5] || (t[5] = [
104
101
  r(" test ", -1)
105
102
  ])]),
106
103
  _: 1
107
104
  }),
108
- e(a(u), { value: "tab6" }, {
105
+ e(a(i), { value: "tab6" }, {
109
106
  default: n(() => [...t[6] || (t[6] = [
110
107
  r(" build ", -1)
111
108
  ])]),
@@ -114,37 +111,37 @@ const L = 1500, Z = /* @__PURE__ */ w({
114
111
  ]),
115
112
  _: 1
116
113
  }, 8, ["class"]),
117
- e(a(i), { value: "tab1" }, {
114
+ e(a(u), { value: "tab1" }, {
118
115
  default: n(() => [
119
116
  e(z, { "on-animation-complete": l })
120
117
  ]),
121
118
  _: 1
122
119
  }),
123
- e(a(i), { value: "tab2" }, {
120
+ e(a(u), { value: "tab2" }, {
124
121
  default: n(() => [
125
122
  e(B, { "on-animation-complete": l })
126
123
  ]),
127
124
  _: 1
128
125
  }),
129
- e(a(i), { value: "tab3" }, {
126
+ e(a(u), { value: "tab3" }, {
130
127
  default: n(() => [
131
128
  e(O, { "on-animation-complete": l })
132
129
  ]),
133
130
  _: 1
134
131
  }),
135
- e(a(i), { value: "tab4" }, {
132
+ e(a(u), { value: "tab4" }, {
136
133
  default: n(() => [
137
134
  e(R, { "on-animation-complete": l })
138
135
  ]),
139
136
  _: 1
140
137
  }),
141
- e(a(i), { value: "tab5" }, {
138
+ e(a(u), { value: "tab5" }, {
142
139
  default: n(() => [
143
140
  e(U, { "on-animation-complete": l })
144
141
  ]),
145
142
  _: 1
146
143
  }),
147
- e(a(i), { value: "tab6" }, {
144
+ e(a(u), { value: "tab6" }, {
148
145
  default: n(() => [
149
146
  e(j, { "on-animation-complete": l })
150
147
  ]),
@@ -158,5 +155,5 @@ const L = 1500, Z = /* @__PURE__ */ w({
158
155
  }
159
156
  });
160
157
  export {
161
- Z as default
158
+ Q as default
162
159
  };
package/dist/index230.js CHANGED
@@ -1,317 +1,73 @@
1
- import { __module as q } from "./index231.js";
2
- var fe = q.exports, te;
3
- function he() {
4
- return te ? q.exports : (te = 1, (function(ne, ve) {
5
- (function(z, Q) {
6
- ne.exports = Q();
7
- })(typeof self < "u" ? self : fe, (() => (() => {
8
- var z = { 3146: (s, c, p) => {
9
- for (var S = p(3491), m = typeof window > "u" ? p.g : window, g = ["moz", "webkit"], h = "AnimationFrame", d = m["request" + h], _ = m["cancel" + h] || m["cancelRequest" + h], O = 0; !d && O < g.length; O++) d = m[g[O] + "Request" + h], _ = m[g[O] + "Cancel" + h] || m[g[O] + "CancelRequest" + h];
10
- if (!d || !_) {
11
- var D = 0, x = 0, b = [], R = 1e3 / 60;
12
- d = function(y) {
13
- if (b.length === 0) {
14
- var T = S(), L = Math.max(0, R - (T - D));
15
- D = L + T, setTimeout((function() {
16
- var M = b.slice(0);
17
- b.length = 0;
18
- for (var C = 0; C < M.length; C++) if (!M[C].cancelled) try {
19
- M[C].callback(D);
20
- } catch (N) {
21
- setTimeout((function() {
22
- throw N;
23
- }), 0);
24
- }
25
- }), Math.round(L));
26
- }
27
- return b.push({ handle: ++x, callback: y, cancelled: !1 }), x;
28
- }, _ = function(y) {
29
- for (var T = 0; T < b.length; T++) b[T].handle === y && (b[T].cancelled = !0);
30
- };
31
- }
32
- s.exports = function(y) {
33
- return d.call(m, y);
34
- }, s.exports.cancel = function() {
35
- _.apply(m, arguments);
36
- }, s.exports.polyfill = function(y) {
37
- y || (y = m), y.requestAnimationFrame = d, y.cancelAnimationFrame = _;
38
- };
39
- }, 3491: function(s) {
40
- (function() {
41
- var c, p, S, m, g, h;
42
- typeof performance < "u" && performance !== null && performance.now ? s.exports = function() {
43
- return performance.now();
44
- } : typeof process < "u" && process !== null && process.hrtime ? (s.exports = function() {
45
- return (c() - g) / 1e6;
46
- }, p = process.hrtime, m = (c = function() {
47
- var d;
48
- return 1e9 * (d = p())[0] + d[1];
49
- })(), h = 1e9 * process.uptime(), g = m - h) : Date.now ? (s.exports = function() {
50
- return Date.now() - S;
51
- }, S = Date.now()) : (s.exports = function() {
52
- return (/* @__PURE__ */ new Date()).getTime() - S;
53
- }, S = (/* @__PURE__ */ new Date()).getTime());
54
- }).call(this);
55
- } }, Q = {};
56
- function w(s) {
57
- var c = Q[s];
58
- if (c !== void 0) return c.exports;
59
- var p = Q[s] = { exports: {} };
60
- return z[s].call(p.exports, p, p.exports, w), p.exports;
61
- }
62
- w.n = (s) => {
63
- var c = s && s.__esModule ? () => s.default : () => s;
64
- return w.d(c, { a: c }), c;
65
- }, w.d = (s, c) => {
66
- for (var p in c) w.o(c, p) && !w.o(s, p) && Object.defineProperty(s, p, { enumerable: !0, get: c[p] });
67
- }, w.g = (function() {
68
- if (typeof globalThis == "object") return globalThis;
69
- try {
70
- return this || new Function("return this")();
71
- } catch {
72
- if (typeof window == "object") return window;
73
- }
74
- })(), w.o = (s, c) => Object.prototype.hasOwnProperty.call(s, c);
75
- var J = {};
76
- return (() => {
77
- w.d(J, { default: () => oe });
78
- var s = w(3146), c = w.n(s);
79
- const p = function(o) {
80
- return new RegExp(/<[a-z][\s\S]*>/i).test(o);
81
- }, S = function(o, t) {
82
- return Math.floor(Math.random() * (t - o + 1)) + o;
83
- };
84
- var m = "TYPE_CHARACTER", g = "REMOVE_CHARACTER", h = "REMOVE_ALL", d = "REMOVE_LAST_VISIBLE_NODE", _ = "PAUSE_FOR", O = "CALL_FUNCTION", D = "ADD_HTML_TAG_ELEMENT", x = "CHANGE_DELETE_SPEED", b = "CHANGE_DELAY", R = "CHANGE_CURSOR", y = "PASTE_STRING", T = "HTML_TAG";
85
- function L(o) {
86
- return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
87
- return typeof t;
88
- } : function(t) {
89
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
90
- }, L(o);
91
- }
92
- function M(o, t) {
93
- var a = Object.keys(o);
94
- if (Object.getOwnPropertySymbols) {
95
- var r = Object.getOwnPropertySymbols(o);
96
- t && (r = r.filter((function(A) {
97
- return Object.getOwnPropertyDescriptor(o, A).enumerable;
98
- }))), a.push.apply(a, r);
99
- }
100
- return a;
101
- }
102
- function C(o) {
103
- for (var t = 1; t < arguments.length; t++) {
104
- var a = arguments[t] != null ? arguments[t] : {};
105
- t % 2 ? M(Object(a), !0).forEach((function(r) {
106
- u(o, r, a[r]);
107
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(a)) : M(Object(a)).forEach((function(r) {
108
- Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(a, r));
109
- }));
110
- }
111
- return o;
112
- }
113
- function N(o) {
114
- return (function(t) {
115
- if (Array.isArray(t)) return U(t);
116
- })(o) || (function(t) {
117
- if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
118
- })(o) || (function(t, a) {
119
- if (t) {
120
- if (typeof t == "string") return U(t, a);
121
- var r = {}.toString.call(t).slice(8, -1);
122
- return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? U(t, a) : void 0;
123
- }
124
- })(o) || (function() {
125
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
126
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
127
- })();
128
- }
129
- function U(o, t) {
130
- (t == null || t > o.length) && (t = o.length);
131
- for (var a = 0, r = Array(t); a < t; a++) r[a] = o[a];
132
- return r;
133
- }
134
- function re(o, t) {
135
- for (var a = 0; a < t.length; a++) {
136
- var r = t[a];
137
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(o, $(r.key), r);
138
- }
139
- }
140
- function u(o, t, a) {
141
- return (t = $(t)) in o ? Object.defineProperty(o, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : o[t] = a, o;
142
- }
143
- function $(o) {
144
- var t = (function(a) {
145
- if (L(a) != "object" || !a) return a;
146
- var r = a[Symbol.toPrimitive];
147
- if (r !== void 0) {
148
- var A = r.call(a, "string");
149
- if (L(A) != "object") return A;
150
- throw new TypeError("@@toPrimitive must return a primitive value.");
151
- }
152
- return String(a);
153
- })(o);
154
- return L(t) == "symbol" ? t : t + "";
155
- }
156
- const oe = (function() {
157
- function o(r, A) {
158
- var e = this;
159
- if ((function(n, i) {
160
- if (!(n instanceof i)) throw new TypeError("Cannot call a class as a function");
161
- })(this, o), u(this, "state", { cursorAnimation: null, lastFrameTime: null, pauseUntil: null, eventQueue: [], eventLoop: null, eventLoopPaused: !1, reverseCalledEvents: [], calledEvents: [], visibleNodes: [], initialOptions: null, elements: { container: null, wrapper: document.createElement("span"), cursor: document.createElement("span") } }), u(this, "options", { strings: null, cursor: "|", delay: "natural", pauseFor: 1500, deleteSpeed: "natural", loop: !1, autoStart: !1, devMode: !1, skipAddStyles: !1, wrapperClassName: "Typewriter__wrapper", cursorClassName: "Typewriter__cursor", stringSplitter: null, onCreateTextNode: null, onRemoveNode: null }), u(this, "setupWrapperElement", (function() {
162
- e.state.elements.container && (e.state.elements.wrapper.className = e.options.wrapperClassName, e.state.elements.cursor.className = e.options.cursorClassName, e.state.elements.cursor.innerHTML = e.options.cursor, e.state.elements.container.innerHTML = "", e.state.elements.container.appendChild(e.state.elements.wrapper), e.state.elements.container.appendChild(e.state.elements.cursor));
163
- })), u(this, "start", (function() {
164
- return e.state.eventLoopPaused = !1, e.runEventLoop(), e;
165
- })), u(this, "pause", (function() {
166
- return e.state.eventLoopPaused = !0, e;
167
- })), u(this, "stop", (function() {
168
- return e.state.eventLoop && ((0, s.cancel)(e.state.eventLoop), e.state.eventLoop = null), e;
169
- })), u(this, "pauseFor", (function(n) {
170
- return e.addEventToQueue(_, { ms: n }), e;
171
- })), u(this, "typeOutAllStrings", (function() {
172
- return typeof e.options.strings == "string" ? (e.typeString(e.options.strings).pauseFor(e.options.pauseFor), e) : (e.options.strings.forEach((function(n) {
173
- e.typeString(n).pauseFor(e.options.pauseFor).deleteAll(e.options.deleteSpeed);
174
- })), e);
175
- })), u(this, "typeString", (function(n) {
176
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
177
- if (p(n)) return e.typeOutHTMLString(n, i);
178
- if (n) {
179
- var f = (e.options || {}).stringSplitter, v = typeof f == "function" ? f(n) : n.split("");
180
- e.typeCharacters(v, i);
181
- }
182
- return e;
183
- })), u(this, "pasteString", (function(n) {
184
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
185
- return p(n) ? e.typeOutHTMLString(n, i, !0) : (n && e.addEventToQueue(y, { character: n, node: i }), e);
186
- })), u(this, "typeOutHTMLString", (function(n) {
187
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, f = arguments.length > 2 ? arguments[2] : void 0, v = (function(k) {
188
- var j = document.createElement("div");
189
- return j.innerHTML = k, j.childNodes;
190
- })(n);
191
- if (v.length > 0) for (var l = 0; l < v.length; l++) {
192
- var E = v[l], P = E.innerHTML;
193
- E && E.nodeType !== 3 ? (E.innerHTML = "", e.addEventToQueue(D, { node: E, parentNode: i }), f ? e.pasteString(P, E) : e.typeString(P, E)) : E.textContent && (f ? e.pasteString(E.textContent, i) : e.typeString(E.textContent, i));
194
- }
195
- return e;
196
- })), u(this, "deleteAll", (function() {
197
- var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "natural";
198
- return e.addEventToQueue(h, { speed: n }), e;
199
- })), u(this, "changeDeleteSpeed", (function(n) {
200
- if (!n) throw new Error("Must provide new delete speed");
201
- return e.addEventToQueue(x, { speed: n }), e;
202
- })), u(this, "changeDelay", (function(n) {
203
- if (!n) throw new Error("Must provide new delay");
204
- return e.addEventToQueue(b, { delay: n }), e;
205
- })), u(this, "changeCursor", (function(n) {
206
- if (!n) throw new Error("Must provide new cursor");
207
- return e.addEventToQueue(R, { cursor: n }), e;
208
- })), u(this, "deleteChars", (function(n) {
209
- if (!n) throw new Error("Must provide amount of characters to delete");
210
- for (var i = 0; i < n; i++) e.addEventToQueue(g);
211
- return e;
212
- })), u(this, "callFunction", (function(n, i) {
213
- if (!n || typeof n != "function") throw new Error("Callback must be a function");
214
- return e.addEventToQueue(O, { cb: n, thisArg: i }), e;
215
- })), u(this, "typeCharacters", (function(n) {
216
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
217
- if (!n || !Array.isArray(n)) throw new Error("Characters must be an array");
218
- return n.forEach((function(f) {
219
- e.addEventToQueue(m, { character: f, node: i });
220
- })), e;
221
- })), u(this, "removeCharacters", (function(n) {
222
- if (!n || !Array.isArray(n)) throw new Error("Characters must be an array");
223
- return n.forEach((function() {
224
- e.addEventToQueue(g);
225
- })), e;
226
- })), u(this, "addEventToQueue", (function(n, i) {
227
- var f = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
228
- return e.addEventToStateProperty(n, i, f, "eventQueue");
229
- })), u(this, "addReverseCalledEvent", (function(n, i) {
230
- var f = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
231
- return e.options.loop ? e.addEventToStateProperty(n, i, f, "reverseCalledEvents") : e;
232
- })), u(this, "addEventToStateProperty", (function(n, i) {
233
- var f = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], v = arguments.length > 3 ? arguments[3] : void 0, l = { eventName: n, eventArgs: i || {} };
234
- return e.state[v] = f ? [l].concat(N(e.state[v])) : [].concat(N(e.state[v]), [l]), e;
235
- })), u(this, "runEventLoop", (function() {
236
- e.state.lastFrameTime || (e.state.lastFrameTime = Date.now());
237
- var n = Date.now(), i = n - e.state.lastFrameTime;
238
- if (!e.state.eventQueue.length) {
239
- if (!e.options.loop) return;
240
- e.state.eventQueue = N(e.state.calledEvents), e.state.calledEvents = [], e.options = C({}, e.state.initialOptions);
241
- }
242
- if (e.state.eventLoop = c()(e.runEventLoop), !e.state.eventLoopPaused) {
243
- if (e.state.pauseUntil) {
244
- if (n < e.state.pauseUntil) return;
245
- e.state.pauseUntil = null;
246
- }
247
- var f, v = N(e.state.eventQueue), l = v.shift();
248
- if (!(i <= (f = l.eventName === d || l.eventName === g ? e.options.deleteSpeed === "natural" ? S(40, 80) : e.options.deleteSpeed : e.options.delay === "natural" ? S(120, 160) : e.options.delay))) {
249
- var E = l.eventName, P = l.eventArgs;
250
- switch (e.logInDevMode({ currentEvent: l, state: e.state, delay: f }), E) {
251
- case y:
252
- case m:
253
- var k = P.character, j = P.node, X = document.createTextNode(k), F = X;
254
- e.options.onCreateTextNode && typeof e.options.onCreateTextNode == "function" && (F = e.options.onCreateTextNode(k, X)), F && (j ? j.appendChild(F) : e.state.elements.wrapper.appendChild(F)), e.state.visibleNodes = [].concat(N(e.state.visibleNodes), [{ type: "TEXT_NODE", character: k, node: F }]);
255
- break;
256
- case g:
257
- v.unshift({ eventName: d, eventArgs: { removingCharacterNode: !0 } });
258
- break;
259
- case _:
260
- var ae = l.eventArgs.ms;
261
- e.state.pauseUntil = Date.now() + parseInt(ae);
262
- break;
263
- case O:
264
- var K = l.eventArgs, se = K.cb, ie = K.thisArg;
265
- se.call(ie, { elements: e.state.elements });
266
- break;
267
- case D:
268
- var Z = l.eventArgs, Y = Z.node, V = Z.parentNode;
269
- V ? V.appendChild(Y) : e.state.elements.wrapper.appendChild(Y), e.state.visibleNodes = [].concat(N(e.state.visibleNodes), [{ type: T, node: Y, parentNode: V || e.state.elements.wrapper }]);
270
- break;
271
- case h:
272
- var ue = e.state.visibleNodes, W = P.speed, H = [];
273
- W && H.push({ eventName: x, eventArgs: { speed: W, temp: !0 } });
274
- for (var ee = 0, le = ue.length; ee < le; ee++) H.push({ eventName: d, eventArgs: { removingCharacterNode: !1 } });
275
- W && H.push({ eventName: x, eventArgs: { speed: e.options.deleteSpeed, temp: !0 } }), v.unshift.apply(v, H);
276
- break;
277
- case d:
278
- var ce = l.eventArgs.removingCharacterNode;
279
- if (e.state.visibleNodes.length) {
280
- var G = e.state.visibleNodes.pop(), pe = G.type, I = G.node, de = G.character;
281
- e.options.onRemoveNode && typeof e.options.onRemoveNode == "function" && e.options.onRemoveNode({ node: I, character: de }), I && I.parentNode.removeChild(I), pe === T && ce && v.unshift({ eventName: d, eventArgs: {} });
282
- }
283
- break;
284
- case x:
285
- e.options.deleteSpeed = l.eventArgs.speed;
286
- break;
287
- case b:
288
- e.options.delay = l.eventArgs.delay;
289
- break;
290
- case R:
291
- e.options.cursor = l.eventArgs.cursor, e.state.elements.cursor.innerHTML = l.eventArgs.cursor;
292
- }
293
- e.options.loop && (l.eventName === d || l.eventArgs && l.eventArgs.temp || (e.state.calledEvents = [].concat(N(e.state.calledEvents), [l]))), e.state.eventQueue = v, e.state.lastFrameTime = n;
294
- }
295
- }
296
- })), r) if (typeof r == "string") {
297
- var B = document.querySelector(r);
298
- if (!B) throw new Error("Could not find container element");
299
- this.state.elements.container = B;
300
- } else this.state.elements.container = r;
301
- A && (this.options = C(C({}, this.options), A)), this.state.initialOptions = C({}, this.options), this.init();
302
- }
303
- var t, a;
304
- return t = o, (a = [{ key: "init", value: function() {
305
- var r, A;
306
- this.setupWrapperElement(), this.addEventToQueue(R, { cursor: this.options.cursor }, !0), this.addEventToQueue(h, null, !0), !window || window.___TYPEWRITER_JS_STYLES_ADDED___ || this.options.skipAddStyles || (r = ".Typewriter__cursor{-webkit-animation:Typewriter-cursor 1s infinite;animation:Typewriter-cursor 1s infinite;margin-left:1px}@-webkit-keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}", (A = document.createElement("style")).appendChild(document.createTextNode(r)), document.head.appendChild(A), window.___TYPEWRITER_JS_STYLES_ADDED___ = !0), this.options.autoStart === !0 && this.options.strings && this.typeOutAllStrings().start();
307
- } }, { key: "logInDevMode", value: function(r) {
308
- this.options.devMode && console.log(r);
309
- } }]) && re(t.prototype, a), Object.defineProperty(t, "prototype", { writable: !1 }), o;
310
- })();
311
- })(), J.default;
312
- })()));
313
- })(q), q.exports);
314
- }
1
+ import { defineComponent as h, createBlock as c, openBlock as e, withCtx as d, createElementVNode as i, createElementBlock as n, createCommentVNode as l, createVNode as r, createTextVNode as s, toDisplayString as g } from "vue";
2
+ import o from "./index14.js";
3
+ import m from "./index8.js";
4
+ const u = { class: "box" }, k = {
5
+ key: 0,
6
+ class: "icon"
7
+ }, f = ["innerHTML"], x = ["innerHTML"], T = ["innerHTML"], w = {
8
+ key: 4,
9
+ class: "link-text"
10
+ }, y = { class: "link-text-value" }, M = /* @__PURE__ */ h({
11
+ __name: "VPFeature",
12
+ props: {
13
+ icon: {},
14
+ title: {},
15
+ details: {},
16
+ link: {},
17
+ linkText: {},
18
+ rel: {},
19
+ target: {}
20
+ },
21
+ setup(t) {
22
+ return (V, a) => (e(), c(m, {
23
+ class: "VPFeature",
24
+ href: t.link,
25
+ rel: t.rel,
26
+ target: t.target,
27
+ "no-icon": !0,
28
+ tag: t.link ? "a" : "div"
29
+ }, {
30
+ default: d(() => [
31
+ i("article", u, [
32
+ typeof t.icon == "object" && t.icon.wrap ? (e(), n("div", k, [
33
+ r(o, {
34
+ image: t.icon,
35
+ alt: t.icon.alt,
36
+ height: t.icon.height || 48,
37
+ width: t.icon.width || 48
38
+ }, null, 8, ["image", "alt", "height", "width"])
39
+ ])) : typeof t.icon == "object" ? (e(), c(o, {
40
+ key: 1,
41
+ image: t.icon,
42
+ alt: t.icon.alt,
43
+ height: t.icon.height || 48,
44
+ width: t.icon.width || 48
45
+ }, null, 8, ["image", "alt", "height", "width"])) : t.icon ? (e(), n("div", {
46
+ key: 2,
47
+ class: "icon",
48
+ innerHTML: t.icon
49
+ }, null, 8, f)) : l("", !0),
50
+ i("h2", {
51
+ class: "title",
52
+ innerHTML: t.title
53
+ }, null, 8, x),
54
+ t.details ? (e(), n("p", {
55
+ key: 3,
56
+ class: "details",
57
+ innerHTML: t.details
58
+ }, null, 8, T)) : l("", !0),
59
+ t.linkText ? (e(), n("div", w, [
60
+ i("p", y, [
61
+ s(g(t.linkText) + " ", 1),
62
+ a[0] || (a[0] = i("span", { class: "vpi-arrow-right link-text-icon" }, null, -1))
63
+ ])
64
+ ])) : l("", !0)
65
+ ])
66
+ ]),
67
+ _: 1
68
+ }, 8, ["href", "rel", "target", "tag"]));
69
+ }
70
+ });
315
71
  export {
316
- he as __require
72
+ M as default
317
73
  };
package/dist/index231.js CHANGED
@@ -1,4 +1,84 @@
1
- var e = { exports: {} };
1
+ import { defineComponent as d, inject as u, createElementBlock as n, openBlock as t, normalizeClass as h, unref as c, createElementVNode as a, createCommentVNode as o, renderSlot as r, Fragment as g, renderList as f, createVNode as k, createBlock as v } from "vue";
2
+ import { layoutInfoInjectionKey as y } from "./index70.js";
3
+ import H from "./index10.js";
4
+ import L from "./index14.js";
5
+ const V = { class: "container" }, M = { class: "main" }, T = { class: "heading" }, x = ["innerHTML"], $ = ["innerHTML"], B = ["innerHTML"], I = {
6
+ key: 0,
7
+ class: "actions"
8
+ }, P = {
9
+ key: 0,
10
+ class: "image"
11
+ }, C = { class: "image-container" }, z = /* @__PURE__ */ d({
12
+ __name: "VPHero",
13
+ props: {
14
+ name: {},
15
+ text: {},
16
+ tagline: {},
17
+ image: {},
18
+ actions: {}
19
+ },
20
+ setup(e) {
21
+ const { heroImageSlotExists: l } = u(y);
22
+ return (s, m) => (t(), n("div", {
23
+ class: h(["VPHero", { "has-image": e.image || c(l) }])
24
+ }, [
25
+ a("div", V, [
26
+ a("div", M, [
27
+ r(s.$slots, "home-hero-info-before", {}, void 0, !0),
28
+ r(s.$slots, "home-hero-info", {}, () => [
29
+ a("h1", T, [
30
+ e.name ? (t(), n("span", {
31
+ key: 0,
32
+ innerHTML: e.name,
33
+ class: "name clip"
34
+ }, null, 8, x)) : o("", !0),
35
+ e.text ? (t(), n("span", {
36
+ key: 1,
37
+ innerHTML: e.text,
38
+ class: "text"
39
+ }, null, 8, $)) : o("", !0)
40
+ ]),
41
+ e.tagline ? (t(), n("p", {
42
+ key: 0,
43
+ innerHTML: e.tagline,
44
+ class: "tagline"
45
+ }, null, 8, B)) : o("", !0)
46
+ ], !0),
47
+ r(s.$slots, "home-hero-info-after", {}, void 0, !0),
48
+ e.actions ? (t(), n("div", I, [
49
+ (t(!0), n(g, null, f(e.actions, (i) => (t(), n("div", {
50
+ key: i.link,
51
+ class: "action"
52
+ }, [
53
+ k(H, {
54
+ tag: "a",
55
+ size: "medium",
56
+ theme: i.theme,
57
+ text: i.text,
58
+ href: i.link,
59
+ target: i.target,
60
+ rel: i.rel
61
+ }, null, 8, ["theme", "text", "href", "target", "rel"])
62
+ ]))), 128))
63
+ ])) : o("", !0),
64
+ r(s.$slots, "home-hero-actions-after", {}, void 0, !0)
65
+ ]),
66
+ e.image || c(l) ? (t(), n("div", P, [
67
+ a("div", C, [
68
+ m[0] || (m[0] = a("div", { class: "image-bg" }, null, -1)),
69
+ r(s.$slots, "home-hero-image", {}, () => [
70
+ e.image ? (t(), v(L, {
71
+ key: 0,
72
+ class: "image-src",
73
+ image: e.image
74
+ }, null, 8, ["image"])) : o("", !0)
75
+ ], !0)
76
+ ])
77
+ ])) : o("", !0)
78
+ ])
79
+ ], 2));
80
+ }
81
+ });
2
82
  export {
3
- e as __module
83
+ z as default
4
84
  };