@blogmcp/sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/_virtual/constants.js +4 -0
  3. package/dist/_virtual/index.js +2 -0
  4. package/dist/_virtual/index2.js +4 -0
  5. package/dist/_virtual/index3.js +2 -0
  6. package/dist/_virtual/re.js +4 -0
  7. package/dist/core/article-seo.d.ts +27 -0
  8. package/dist/core/article-seo.js +25 -0
  9. package/dist/core/auth.d.ts +34 -0
  10. package/dist/core/auth.js +89 -0
  11. package/dist/core/blog-config.d.ts +5 -0
  12. package/dist/core/blog-config.js +14 -0
  13. package/dist/core/client-types.d.ts +51 -0
  14. package/dist/core/client.d.ts +159 -0
  15. package/dist/core/client.js +82 -0
  16. package/dist/core/i18n.d.ts +29 -0
  17. package/dist/core/i18n.js +34 -0
  18. package/dist/core/index.d.ts +26 -0
  19. package/dist/core/index.js +67 -0
  20. package/dist/core/markdown.d.ts +69 -0
  21. package/dist/core/markdown.js +47 -0
  22. package/dist/core/navigation.d.ts +70 -0
  23. package/dist/core/navigation.js +71 -0
  24. package/dist/core/queries.d.ts +34 -0
  25. package/dist/core/queries.js +363 -0
  26. package/dist/core/retry.d.ts +9 -0
  27. package/dist/core/retry.js +14 -0
  28. package/dist/core/seo.d.ts +142 -0
  29. package/dist/core/seo.js +166 -0
  30. package/dist/core/theme.d.ts +41 -0
  31. package/dist/core/theme.js +60 -0
  32. package/dist/core/translations/cs.json.js +27 -0
  33. package/dist/core/translations/en.json.js +27 -0
  34. package/dist/core/types.d.ts +184 -0
  35. package/dist/core/types.js +9 -0
  36. package/dist/core/view-model.d.ts +53 -0
  37. package/dist/core/view-model.js +47 -0
  38. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +8 -0
  39. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +60 -0
  40. package/dist/node_modules/dompurify/dist/purify.es.js +662 -0
  41. package/dist/node_modules/semver/classes/comparator.js +56 -0
  42. package/dist/node_modules/semver/classes/range.js +148 -0
  43. package/dist/node_modules/semver/classes/semver.js +169 -0
  44. package/dist/node_modules/semver/functions/clean.js +14 -0
  45. package/dist/node_modules/semver/functions/cmp.js +39 -0
  46. package/dist/node_modules/semver/functions/coerce.js +33 -0
  47. package/dist/node_modules/semver/functions/compare-build.js +14 -0
  48. package/dist/node_modules/semver/functions/compare-loose.js +11 -0
  49. package/dist/node_modules/semver/functions/compare.js +11 -0
  50. package/dist/node_modules/semver/functions/diff.js +24 -0
  51. package/dist/node_modules/semver/functions/eq.js +11 -0
  52. package/dist/node_modules/semver/functions/gt.js +11 -0
  53. package/dist/node_modules/semver/functions/gte.js +11 -0
  54. package/dist/node_modules/semver/functions/inc.js +21 -0
  55. package/dist/node_modules/semver/functions/lt.js +11 -0
  56. package/dist/node_modules/semver/functions/lte.js +11 -0
  57. package/dist/node_modules/semver/functions/major.js +11 -0
  58. package/dist/node_modules/semver/functions/minor.js +11 -0
  59. package/dist/node_modules/semver/functions/neq.js +11 -0
  60. package/dist/node_modules/semver/functions/parse.js +21 -0
  61. package/dist/node_modules/semver/functions/patch.js +11 -0
  62. package/dist/node_modules/semver/functions/prerelease.js +14 -0
  63. package/dist/node_modules/semver/functions/rcompare.js +11 -0
  64. package/dist/node_modules/semver/functions/rsort.js +11 -0
  65. package/dist/node_modules/semver/functions/satisfies.js +18 -0
  66. package/dist/node_modules/semver/functions/sort.js +11 -0
  67. package/dist/node_modules/semver/functions/valid.js +14 -0
  68. package/dist/node_modules/semver/index.js +97 -0
  69. package/dist/node_modules/semver/internal/constants.js +28 -0
  70. package/dist/node_modules/semver/internal/debug.js +8 -0
  71. package/dist/node_modules/semver/internal/identifiers.js +18 -0
  72. package/dist/node_modules/semver/internal/lrucache.js +32 -0
  73. package/dist/node_modules/semver/internal/parse-options.js +10 -0
  74. package/dist/node_modules/semver/internal/re.js +32 -0
  75. package/dist/node_modules/semver/ranges/gtr.js +11 -0
  76. package/dist/node_modules/semver/ranges/intersects.js +11 -0
  77. package/dist/node_modules/semver/ranges/ltr.js +11 -0
  78. package/dist/node_modules/semver/ranges/max-satisfying.js +22 -0
  79. package/dist/node_modules/semver/ranges/min-satisfying.js +22 -0
  80. package/dist/node_modules/semver/ranges/min-version.js +42 -0
  81. package/dist/node_modules/semver/ranges/outside.js +44 -0
  82. package/dist/node_modules/semver/ranges/simplify.js +24 -0
  83. package/dist/node_modules/semver/ranges/subset.js +94 -0
  84. package/dist/node_modules/semver/ranges/to-comparators.js +11 -0
  85. package/dist/node_modules/semver/ranges/valid.js +17 -0
  86. package/dist/nuxt/composables/useAsyncKb.d.ts +32 -0
  87. package/dist/nuxt/composables/useAsyncKb.js +34 -0
  88. package/dist/nuxt/index.d.ts +1 -0
  89. package/dist/nuxt/index.js +6 -0
  90. package/dist/packages/mdx-render-vue/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  91. package/dist/packages/mdx-render-vue/dist/_virtual/constants.js +4 -0
  92. package/dist/packages/mdx-render-vue/dist/_virtual/index.js +5 -0
  93. package/dist/packages/mdx-render-vue/dist/_virtual/index2.js +4 -0
  94. package/dist/packages/mdx-render-vue/dist/composables/useAudioPlayer.js +40 -0
  95. package/dist/packages/mdx-render-vue/dist/composables/useCallout.js +66 -0
  96. package/dist/packages/mdx-render-vue/dist/composables/useCodeBlock.js +62 -0
  97. package/dist/packages/mdx-render-vue/dist/composables/useGallery.js +68 -0
  98. package/dist/packages/mdx-render-vue/dist/composables/useMedia.js +9 -0
  99. package/dist/packages/mdx-render-vue/dist/composables/useYouTube.js +24 -0
  100. package/dist/packages/mdx-render-vue/dist/edit/AlertEdit.vue.js +4 -0
  101. package/dist/packages/mdx-render-vue/dist/edit/AlertEdit.vue2.js +16 -0
  102. package/dist/packages/mdx-render-vue/dist/edit/AudioPlayerEdit.vue.js +102 -0
  103. package/dist/packages/mdx-render-vue/dist/edit/AudioPlayerEdit.vue2.js +4 -0
  104. package/dist/packages/mdx-render-vue/dist/edit/BadgeEdit.vue.js +4 -0
  105. package/dist/packages/mdx-render-vue/dist/edit/BadgeEdit.vue2.js +11 -0
  106. package/dist/packages/mdx-render-vue/dist/edit/ButtonEdit.vue.js +4 -0
  107. package/dist/packages/mdx-render-vue/dist/edit/ButtonEdit.vue2.js +11 -0
  108. package/dist/packages/mdx-render-vue/dist/edit/CalloutEdit.vue.js +78 -0
  109. package/dist/packages/mdx-render-vue/dist/edit/CalloutEdit.vue2.js +4 -0
  110. package/dist/packages/mdx-render-vue/dist/edit/CardEdit.vue.js +4 -0
  111. package/dist/packages/mdx-render-vue/dist/edit/CardEdit.vue2.js +16 -0
  112. package/dist/packages/mdx-render-vue/dist/edit/CodeBlockEdit.vue.js +6 -0
  113. package/dist/packages/mdx-render-vue/dist/edit/CodeBlockEdit.vue2.js +74 -0
  114. package/dist/packages/mdx-render-vue/dist/edit/GalleryEdit.vue.js +56 -0
  115. package/dist/packages/mdx-render-vue/dist/edit/GalleryEdit.vue2.js +4 -0
  116. package/dist/packages/mdx-render-vue/dist/edit/IconEdit.vue.js +4 -0
  117. package/dist/packages/mdx-render-vue/dist/edit/IconEdit.vue2.js +11 -0
  118. package/dist/packages/mdx-render-vue/dist/edit/TooltipEdit.vue.js +4 -0
  119. package/dist/packages/mdx-render-vue/dist/edit/TooltipEdit.vue2.js +20 -0
  120. package/dist/packages/mdx-render-vue/dist/edit/YouTubeEdit.vue.js +34 -0
  121. package/dist/packages/mdx-render-vue/dist/edit/YouTubeEdit.vue2.js +4 -0
  122. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/_virtual/_rolldown/runtime.js +11 -0
  123. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/factory.js +29 -0
  124. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/presence/use-presence-context.js +6 -0
  125. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/presence/use-presence.js +32 -0
  126. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow-tip.js +5 -0
  127. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow-tip.vue_vue_type_script_setup_true_lang.js +18 -0
  128. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow.js +5 -0
  129. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow.vue_vue_type_script_setup_true_lang.js +18 -0
  130. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-content.js +5 -0
  131. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-content.vue_vue_type_script_setup_true_lang.js +20 -0
  132. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-context.js +5 -0
  133. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-context.vue_vue_type_script_setup_true_lang.js +12 -0
  134. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-positioner.js +5 -0
  135. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-positioner.vue_vue_type_script_setup_true_lang.js +19 -0
  136. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root-provider.js +5 -0
  137. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root-provider.vue_vue_type_script_setup_true_lang.js +29 -0
  138. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root.js +5 -0
  139. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root.vue_vue_type_script_setup_true_lang.js +59 -0
  140. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-trigger.js +5 -0
  141. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-trigger.vue_vue_type_script_setup_true_lang.js +21 -0
  142. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip.js +22 -0
  143. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/use-tooltip-context.js +6 -0
  144. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/use-tooltip.js +29 -0
  145. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/providers/environment/use-environment-context.js +12 -0
  146. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/providers/locale/use-locale-context.js +11 -0
  147. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/clean-props.js +8 -0
  148. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/create-context.js +12 -0
  149. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/dynamic.js +25 -0
  150. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/unref-element.js +8 -0
  151. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/use-forward-expose.js +36 -0
  152. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/use-render-strategy.js +5 -0
  153. package/dist/packages/mdx-render-vue/dist/node_modules/@braintree/sanitize-url/dist/constants.js +8 -0
  154. package/dist/packages/mdx-render-vue/dist/node_modules/@braintree/sanitize-url/dist/index.js +60 -0
  155. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +532 -0
  156. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
  157. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  158. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
  159. package/dist/packages/mdx-render-vue/dist/node_modules/@iconify/vue/dist/iconify.js +1192 -0
  160. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/anatomy/dist/create-anatomy.js +26 -0
  161. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/create-machine.js +21 -0
  162. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/merge-props.js +45 -0
  163. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/scope.js +16 -0
  164. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/state.js +136 -0
  165. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/types.js +5 -0
  166. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js +4 -0
  167. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/computed-style.js +8 -0
  168. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/event.js +31 -0
  169. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/node.js +49 -0
  170. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/overflow.js +19 -0
  171. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/platform.js +16 -0
  172. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/query.js +6 -0
  173. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/raf.js +41 -0
  174. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/set.js +14 -0
  175. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/shared.js +7 -0
  176. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/focus-visible/dist/index.js +90 -0
  177. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-anchor.js +34 -0
  178. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-placement.js +187 -0
  179. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-styles.js +47 -0
  180. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/middleware.js +56 -0
  181. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/placement.js +7 -0
  182. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/presence/dist/presence.connect.js +16 -0
  183. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/presence/dist/presence.machine.js +147 -0
  184. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js +6 -0
  185. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +119 -0
  186. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.dom.js +15 -0
  187. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.machine.js +375 -0
  188. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.store.js +9 -0
  189. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/types/dist/prop-types.js +10 -0
  190. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/array.js +6 -0
  191. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/equal.js +27 -0
  192. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/functions.js +10 -0
  193. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/guard.js +15 -0
  194. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/object.js +13 -0
  195. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/store.js +25 -0
  196. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/warning.js +25 -0
  197. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/bindable.js +37 -0
  198. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/machine.js +205 -0
  199. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/normalize-props.js +30 -0
  200. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/refs.js +14 -0
  201. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/track.js +19 -0
  202. package/dist/packages/mdx-render-vue/dist/node_modules/dompurify/dist/purify.es.js +659 -0
  203. package/dist/packages/mdx-render-vue/dist/registry.js +154 -0
  204. package/dist/packages/mdx-render-vue/dist/render/alert/Alert.vue.js +4 -0
  205. package/dist/packages/mdx-render-vue/dist/render/alert/Alert.vue2.js +37 -0
  206. package/dist/packages/mdx-render-vue/dist/render/audioplayer/AudioPlayerDefault.vue.js +102 -0
  207. package/dist/packages/mdx-render-vue/dist/render/audioplayer/AudioPlayerDefault.vue2.js +4 -0
  208. package/dist/packages/mdx-render-vue/dist/render/badge/Badge.vue.js +4 -0
  209. package/dist/packages/mdx-render-vue/dist/render/badge/Badge.vue2.js +25 -0
  210. package/dist/packages/mdx-render-vue/dist/render/button/Button.vue.js +4 -0
  211. package/dist/packages/mdx-render-vue/dist/render/button/Button.vue2.js +37 -0
  212. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutDefault.vue.js +79 -0
  213. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutDefault.vue2.js +4 -0
  214. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutMinimal.vue.js +22 -0
  215. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutMinimal.vue2.js +4 -0
  216. package/dist/packages/mdx-render-vue/dist/render/card/Card.vue.js +4 -0
  217. package/dist/packages/mdx-render-vue/dist/render/card/Card.vue2.js +24 -0
  218. package/dist/packages/mdx-render-vue/dist/render/codeblock/CodeBlockDefault.vue.js +6 -0
  219. package/dist/packages/mdx-render-vue/dist/render/codeblock/CodeBlockDefault.vue2.js +77 -0
  220. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryGrid.vue.js +103 -0
  221. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryGrid.vue2.js +4 -0
  222. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryLightbox.vue.js +6 -0
  223. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryLightbox.vue2.js +142 -0
  224. package/dist/packages/mdx-render-vue/dist/render/icon/Icon.vue.js +4 -0
  225. package/dist/packages/mdx-render-vue/dist/render/icon/Icon.vue2.js +23 -0
  226. package/dist/packages/mdx-render-vue/dist/render/tooltip/Tooltip.vue.js +4 -0
  227. package/dist/packages/mdx-render-vue/dist/render/tooltip/Tooltip.vue2.js +54 -0
  228. package/dist/packages/mdx-render-vue/dist/render/youtube/YouTubeDefault.vue.js +69 -0
  229. package/dist/packages/mdx-render-vue/dist/render/youtube/YouTubeDefault.vue2.js +4 -0
  230. package/dist/packages/mdx-schema/dist/composables/useMdxParsing.js +139 -0
  231. package/dist/packages/mdx-schema/dist/metadata/index.js +415 -0
  232. package/dist/packages/mdx-schema/dist/prepareProps.js +46 -0
  233. package/dist/packages/mdx-schema/dist/styles/index.js +119 -0
  234. package/dist/packages/mdx-schema/dist/types/index.js +26 -0
  235. package/dist/packages/sanitize/dist/html.js +41 -0
  236. package/dist/react/KbMdxContent.d.ts +35 -0
  237. package/dist/react/KbMdxContent.js +102 -0
  238. package/dist/react/context.d.ts +11 -0
  239. package/dist/react/context.js +5 -0
  240. package/dist/react/hooks/useImageRenderer.d.ts +6 -0
  241. package/dist/react/hooks/useImageRenderer.js +9 -0
  242. package/dist/react/hooks/useKbClient.d.ts +3 -0
  243. package/dist/react/hooks/useKbClient.js +7 -0
  244. package/dist/react/hooks/useKbContext.d.ts +3 -0
  245. package/dist/react/hooks/useKbContext.js +11 -0
  246. package/dist/react/hooks/useKbI18n.d.ts +7 -0
  247. package/dist/react/hooks/useKbI18n.js +8 -0
  248. package/dist/react/hooks/useKbLanguage.d.ts +21 -0
  249. package/dist/react/hooks/useKbLanguage.js +63 -0
  250. package/dist/react/hooks/useKbSearch.d.ts +20 -0
  251. package/dist/react/hooks/useKbSearch.js +22 -0
  252. package/dist/react/hooks/useMdxContent.d.ts +18 -0
  253. package/dist/react/hooks/useMdxContent.js +11 -0
  254. package/dist/react/index.d.ts +21 -0
  255. package/dist/react/index.js +20 -0
  256. package/dist/react/provider.d.ts +25 -0
  257. package/dist/react/provider.js +29 -0
  258. package/dist/react/server/index.d.ts +38 -0
  259. package/dist/react/server/index.js +26 -0
  260. package/dist/sdk.css +1 -0
  261. package/dist/vue/components/KbAccessGate.vue.d.ts +36 -0
  262. package/dist/vue/components/KbAccessGate.vue.js +74 -0
  263. package/dist/vue/components/KbAccessGate.vue2.js +4 -0
  264. package/dist/vue/components/KbArticleCard.vue.d.ts +34 -0
  265. package/dist/vue/components/KbArticleCard.vue.js +87 -0
  266. package/dist/vue/components/KbArticleCard.vue2.js +4 -0
  267. package/dist/vue/components/KbMdxContent.vue.d.ts +5 -0
  268. package/dist/vue/components/KbMdxContent.vue.js +7 -0
  269. package/dist/vue/components/KbMdxContent.vue2.js +82 -0
  270. package/dist/vue/composables/useArticles.d.ts +30 -0
  271. package/dist/vue/composables/useArticles.js +36 -0
  272. package/dist/vue/composables/useImageRenderer.d.ts +6 -0
  273. package/dist/vue/composables/useImageRenderer.js +9 -0
  274. package/dist/vue/composables/useKbAuth.d.ts +27 -0
  275. package/dist/vue/composables/useKbAuth.js +83 -0
  276. package/dist/vue/composables/useKbClient.d.ts +6 -0
  277. package/dist/vue/composables/useKbClient.js +13 -0
  278. package/dist/vue/composables/useKbComments.d.ts +37 -0
  279. package/dist/vue/composables/useKbComments.js +160 -0
  280. package/dist/vue/composables/useKbI18n.d.ts +6 -0
  281. package/dist/vue/composables/useKbI18n.js +8 -0
  282. package/dist/vue/composables/useKbLanguage.d.ts +22 -0
  283. package/dist/vue/composables/useKbLanguage.js +63 -0
  284. package/dist/vue/composables/useNavigation.d.ts +18 -0
  285. package/dist/vue/composables/useNavigation.js +20 -0
  286. package/dist/vue/composables/useSearch.d.ts +21 -0
  287. package/dist/vue/composables/useSearch.js +20 -0
  288. package/dist/vue/composables/useTags.d.ts +17 -0
  289. package/dist/vue/composables/useTags.js +36 -0
  290. package/dist/vue/index.d.ts +22 -0
  291. package/dist/vue/index.js +36 -0
  292. package/dist/vue/plugin.d.ts +30 -0
  293. package/dist/vue/plugin.js +17 -0
  294. package/package.json +97 -0
  295. package/src/core/article-seo.ts +101 -0
  296. package/src/core/auth.ts +138 -0
  297. package/src/core/blog-config.ts +30 -0
  298. package/src/core/client-types.ts +58 -0
  299. package/src/core/client.ts +287 -0
  300. package/src/core/i18n.ts +84 -0
  301. package/src/core/index.ts +147 -0
  302. package/src/core/markdown.ts +178 -0
  303. package/src/core/navigation.ts +152 -0
  304. package/src/core/queries.ts +414 -0
  305. package/src/core/retry.ts +19 -0
  306. package/src/core/seo.ts +374 -0
  307. package/src/core/theme.ts +128 -0
  308. package/src/core/translations/cs.json +225 -0
  309. package/src/core/translations/en.json +225 -0
  310. package/src/core/types.ts +231 -0
  311. package/src/core/view-model.ts +98 -0
  312. package/src/nuxt/composables/useAsyncKb.ts +119 -0
  313. package/src/nuxt/index.ts +6 -0
  314. package/src/react/KbMdxContent.tsx +215 -0
  315. package/src/react/context.ts +25 -0
  316. package/src/react/hooks/useImageRenderer.ts +15 -0
  317. package/src/react/hooks/useKbClient.ts +9 -0
  318. package/src/react/hooks/useKbContext.ts +13 -0
  319. package/src/react/hooks/useKbI18n.ts +15 -0
  320. package/src/react/hooks/useKbLanguage.ts +105 -0
  321. package/src/react/hooks/useKbSearch.ts +50 -0
  322. package/src/react/hooks/useMdxContent.tsx +33 -0
  323. package/src/react/index.ts +31 -0
  324. package/src/react/provider.tsx +70 -0
  325. package/src/react/server/index.ts +70 -0
  326. package/src/vue/components/KbAccessGate.vue +86 -0
  327. package/src/vue/components/KbArticleCard.vue +102 -0
  328. package/src/vue/components/KbMdxContent.vue +211 -0
  329. package/src/vue/composables/useArticles.ts +78 -0
  330. package/src/vue/composables/useImageRenderer.ts +12 -0
  331. package/src/vue/composables/useKbAuth.ts +131 -0
  332. package/src/vue/composables/useKbClient.ts +17 -0
  333. package/src/vue/composables/useKbComments.ts +281 -0
  334. package/src/vue/composables/useKbI18n.ts +11 -0
  335. package/src/vue/composables/useKbLanguage.ts +103 -0
  336. package/src/vue/composables/useNavigation.ts +38 -0
  337. package/src/vue/composables/useSearch.ts +52 -0
  338. package/src/vue/composables/useTags.ts +64 -0
  339. package/src/vue/index.ts +27 -0
  340. package/src/vue/plugin.ts +73 -0
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nuxt SSR adapters for blog-sdk composables.
3
+ *
4
+ * These wrap the Vue composables with Nuxt's useAsyncData for
5
+ * server-side rendering and hydration.
6
+ *
7
+ * Usage in Nuxt pages:
8
+ * const { articles, totalCount } = await useAsyncArticleList('home', { status: 'published' })
9
+ */
10
+ import type { Ref } from 'vue';
11
+ import type { ArticleListParams } from '../../vue/composables/useArticles';
12
+ /**
13
+ * SSR-hydrated article list.
14
+ *
15
+ * Wraps useArticleList with Nuxt's useAsyncData.
16
+ */
17
+ export declare function useAsyncArticleList(key: string, params?: ArticleListParams, watchDeps?: unknown[]): Promise<import("../../vue").UseArticleListReturn>;
18
+ /**
19
+ * SSR-hydrated single article.
20
+ *
21
+ * Wraps useArticle with Nuxt's useAsyncData.
22
+ */
23
+ export declare function useAsyncArticle(key: string, filename: Ref<string> | string, languageCode: Ref<string> | string, watchDeps?: unknown[]): Promise<import("../../vue").UseArticleReturn>;
24
+ /**
25
+ * SSR-hydrated navigation menu.
26
+ *
27
+ * Wraps useNavigation with Nuxt's useAsyncData.
28
+ */
29
+ export declare function useAsyncNavigation(key: string, params?: {
30
+ scope?: string;
31
+ locale?: string;
32
+ }, watchDeps?: unknown[]): Promise<import("../../vue").UseNavigationReturn>;
@@ -0,0 +1,34 @@
1
+ import { useArticleList as i, useArticle as l } from "../../vue/composables/useArticles.js";
2
+ import { useNavigation as r } from "../../vue/composables/useNavigation.js";
3
+ async function f(n, c, e) {
4
+ const t = i(c), { data: a } = await useAsyncData(
5
+ n,
6
+ async () => (await t.fetch(c), {
7
+ articles: t.articles.value,
8
+ totalCount: t.totalCount.value
9
+ }),
10
+ e ? { watch: e } : void 0
11
+ );
12
+ return a.value && (t.articles.value = a.value.articles, t.totalCount.value = a.value.totalCount), t;
13
+ }
14
+ async function A(n, c, e, t) {
15
+ const a = l(), s = () => typeof c == "string" ? c : c.value, o = () => typeof e == "string" ? e : e.value, { data: u } = await useAsyncData(
16
+ n,
17
+ async () => (await a.fetch(s(), o()), a.article.value),
18
+ t ? { watch: t } : void 0
19
+ );
20
+ return u.value && (a.article.value = u.value), a;
21
+ }
22
+ async function w(n, c, e) {
23
+ const t = r(), { data: a } = await useAsyncData(
24
+ n,
25
+ async () => (await t.fetch(c), t.tree.value),
26
+ e ? { watch: e } : void 0
27
+ );
28
+ return a.value && (t.tree.value = a.value), t;
29
+ }
30
+ export {
31
+ A as useAsyncArticle,
32
+ f as useAsyncArticleList,
33
+ w as useAsyncNavigation
34
+ };
@@ -0,0 +1 @@
1
+ export { useAsyncArticleList, useAsyncArticle, useAsyncNavigation, } from './composables/useAsyncKb';
@@ -0,0 +1,6 @@
1
+ import { useAsyncArticle as c, useAsyncArticleList as i, useAsyncNavigation as t } from "./composables/useAsyncKb.js";
2
+ export {
3
+ c as useAsyncArticle,
4
+ i as useAsyncArticleList,
5
+ t as useAsyncNavigation
6
+ };
@@ -0,0 +1,9 @@
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
7
+ export {
8
+ s as default
9
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "../node_modules/@braintree/sanitize-url/dist/index.js";
2
+ var i = r();
3
+ export {
4
+ i as d
5
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,40 @@
1
+ import { computed as l, ref as i } from "vue";
2
+ function y(t) {
3
+ const f = l(() => !!t.title), d = l(() => t.title || t.slug || "Audio"), v = l(() => t.showTranscription ?? !1), g = l(() => t.slug ? `/api/media/file/${t.slug}` : ""), r = l(() => t.slug ? `/api/media/transcription/${t.slug}` : ""), n = i(null), s = i(null), e = i(!1), a = i(!1);
4
+ async function o() {
5
+ if (!(!t.slug || n.value !== null)) {
6
+ e.value = !0;
7
+ try {
8
+ const c = await fetch(r.value);
9
+ if (c.ok) {
10
+ const u = await c.json();
11
+ n.value = u.fullText || u.full_text || "", s.value = u.summary || null;
12
+ } else
13
+ n.value = "";
14
+ } catch {
15
+ n.value = "";
16
+ } finally {
17
+ e.value = !1;
18
+ }
19
+ }
20
+ }
21
+ function m() {
22
+ a.value = !a.value, a.value && n.value === null && o();
23
+ }
24
+ return {
25
+ hasTitle: f,
26
+ displayTitle: d,
27
+ showTranscription: v,
28
+ audioUrl: g,
29
+ transcriptionUrl: r,
30
+ transcriptionText: n,
31
+ transcriptionSummary: s,
32
+ transcriptionLoading: e,
33
+ transcriptionExpanded: a,
34
+ loadTranscription: o,
35
+ toggleTranscription: m
36
+ };
37
+ }
38
+ export {
39
+ y as useAudioPlayer
40
+ };
@@ -0,0 +1,66 @@
1
+ import { computed as e } from "vue";
2
+ const i = {
3
+ info: {
4
+ icon: "info-circle",
5
+ colors: {
6
+ bg: "bg-blue-900/20",
7
+ border: "border-blue-500",
8
+ text: "text-blue-200",
9
+ iconColor: "text-blue-400"
10
+ }
11
+ },
12
+ warning: {
13
+ icon: "warning-triangle",
14
+ colors: {
15
+ bg: "bg-yellow-900/20",
16
+ border: "border-yellow-500",
17
+ text: "text-yellow-200",
18
+ iconColor: "text-yellow-400"
19
+ }
20
+ },
21
+ tip: {
22
+ icon: "lightbulb",
23
+ colors: {
24
+ bg: "bg-green-900/20",
25
+ border: "border-green-500",
26
+ text: "text-green-200",
27
+ iconColor: "text-green-400"
28
+ }
29
+ },
30
+ danger: {
31
+ icon: "alert-circle",
32
+ colors: {
33
+ bg: "bg-red-900/20",
34
+ border: "border-red-500",
35
+ text: "text-red-200",
36
+ iconColor: "text-red-400"
37
+ }
38
+ }
39
+ }, a = {
40
+ "info-circle": "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
41
+ "warning-triangle": "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z",
42
+ lightbulb: "M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z",
43
+ "alert-circle": "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
44
+ };
45
+ function s(l) {
46
+ const r = e(() => l.type || "info"), o = e(() => ({
47
+ type: r.value,
48
+ ...i[r.value]
49
+ })), t = e(() => [
50
+ o.value.colors.bg,
51
+ o.value.colors.border,
52
+ o.value.colors.text
53
+ ]), c = e(() => a[o.value.icon]), n = e(() => o.value.colors.iconColor);
54
+ return {
55
+ effectiveType: r,
56
+ config: o,
57
+ containerClasses: t,
58
+ iconPath: c,
59
+ iconClasses: n
60
+ };
61
+ }
62
+ export {
63
+ i as calloutConfigs,
64
+ a as calloutIconPaths,
65
+ s as useCallout
66
+ };
@@ -0,0 +1,62 @@
1
+ import { ref as i, computed as t } from "vue";
2
+ const o = {
3
+ js: "JavaScript",
4
+ javascript: "JavaScript",
5
+ ts: "TypeScript",
6
+ typescript: "TypeScript",
7
+ vue: "Vue",
8
+ html: "HTML",
9
+ css: "CSS",
10
+ json: "JSON",
11
+ python: "Python",
12
+ py: "Python",
13
+ bash: "Bash",
14
+ sh: "Shell",
15
+ sql: "SQL",
16
+ text: "Plain Text",
17
+ rust: "Rust",
18
+ go: "Go",
19
+ java: "Java",
20
+ cpp: "C++",
21
+ c: "C",
22
+ csharp: "C#",
23
+ php: "PHP",
24
+ ruby: "Ruby",
25
+ swift: "Swift",
26
+ kotlin: "Kotlin",
27
+ yaml: "YAML",
28
+ yml: "YAML",
29
+ xml: "XML",
30
+ markdown: "Markdown",
31
+ md: "Markdown",
32
+ graphql: "GraphQL",
33
+ dockerfile: "Dockerfile"
34
+ };
35
+ function p(a) {
36
+ if (!a) return "Plain Text";
37
+ const e = a.toLowerCase();
38
+ return o[e] ? o[e] : e.charAt(0).toUpperCase() + e.slice(1);
39
+ }
40
+ function g(a) {
41
+ const e = i(!1), r = t(() => p(a.language)), n = t(() => `language-${a.language || "text"}`);
42
+ async function c(l) {
43
+ try {
44
+ await navigator.clipboard.writeText(l), e.value = !0, setTimeout(() => {
45
+ e.value = !1;
46
+ }, 2e3);
47
+ } catch (s) {
48
+ console.error("Failed to copy code:", s);
49
+ }
50
+ }
51
+ return {
52
+ copied: e,
53
+ languageLabel: r,
54
+ languageClass: n,
55
+ copyCode: c
56
+ };
57
+ }
58
+ export {
59
+ p as getLanguageLabel,
60
+ o as languageLabels,
61
+ g as useCodeBlock
62
+ };
@@ -0,0 +1,68 @@
1
+ import { computed as n } from "vue";
2
+ import { galleryTileLayout as E } from "../../../mdx-schema/dist/styles/index.js";
3
+ const h = /\.(mp4|webm|mov|avi|mkv|m4v)(\?.*)?$/i, $ = /\/api\/media\/file\/([^/?#]+)/;
4
+ function o(e) {
5
+ return typeof e == "object" && e !== null && "src" in e && typeof e.src == "string";
6
+ }
7
+ function a(e) {
8
+ return h.test(e);
9
+ }
10
+ const V = {
11
+ 1: "grid-cols-1",
12
+ 2: "grid-cols-2",
13
+ 3: "grid-cols-3",
14
+ 4: "grid-cols-4"
15
+ };
16
+ function D(e) {
17
+ const r = n(() => e.columns || 2), g = n(() => {
18
+ const i = r.value;
19
+ return V[i] || "grid-cols-2";
20
+ }), m = n(() => `gap-${e.gap || 4}`), u = n(() => E(e));
21
+ function s(i) {
22
+ const t = e.images[i];
23
+ return o(t) ? t.src : t;
24
+ }
25
+ function l(i) {
26
+ const t = e.images[i];
27
+ return o(t) ? t.alt || `Gallery image ${i + 1}` : `Gallery image ${i + 1}`;
28
+ }
29
+ function f(i) {
30
+ const t = e.images[i];
31
+ return o(t) ? t.description : void 0;
32
+ }
33
+ function d(i) {
34
+ const t = e.images[i];
35
+ if (o(t))
36
+ return t.description || t.alt || void 0;
37
+ }
38
+ function y(i) {
39
+ const t = e.images[i];
40
+ return o(t) ? t.type === "video" ? !0 : t.type === "image" ? !1 : a(t.src) : a(t);
41
+ }
42
+ function I(i) {
43
+ const c = s(i).match($);
44
+ return c ? `/api/media/poster/${c[1]}` : void 0;
45
+ }
46
+ const v = n(() => e.images && e.images.length > 0), C = n(() => e.images?.length || 0);
47
+ return {
48
+ effectiveColumns: r,
49
+ gridColsClass: g,
50
+ gapClass: m,
51
+ tileLayout: u,
52
+ getImageSrc: s,
53
+ getImageAlt: l,
54
+ getImageDescription: f,
55
+ getImageCaption: d,
56
+ isVideo: y,
57
+ getVideoPoster: I,
58
+ hasImages: v,
59
+ imageCount: C
60
+ };
61
+ }
62
+ export {
63
+ E as galleryTileLayout,
64
+ V as gridColsClasses,
65
+ o as isMediaObject,
66
+ a as isVideoUrl,
67
+ D as useGallery
68
+ };
@@ -0,0 +1,9 @@
1
+ import { inject as m } from "vue";
2
+ const o = Symbol("ImgComponent");
3
+ function n() {
4
+ return m(o, "img");
5
+ }
6
+ export {
7
+ o as IMG_COMPONENT_KEY,
8
+ n as useOptimizedImg
9
+ };
@@ -0,0 +1,24 @@
1
+ import { computed as t } from "vue";
2
+ const a = "https://www.youtube.com/embed/", o = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture";
3
+ function m(e) {
4
+ const r = t(() => `${a}${e.id}`), i = t(() => e.title || "YouTube video"), u = t(() => !!e.title), c = t(() => e.id ? `https://img.youtube.com/vi/${e.id}/maxresdefault.jpg` : ""), l = t(() => ({
5
+ src: r.value,
6
+ title: i.value,
7
+ frameborder: "0",
8
+ allow: o,
9
+ allowfullscreen: !0
10
+ }));
11
+ return {
12
+ embedUrl: r,
13
+ iframeTitle: i,
14
+ hasTitle: u,
15
+ thumbnailUrl: c,
16
+ iframeAttrs: l,
17
+ YOUTUBE_IFRAME_ALLOW: o
18
+ };
19
+ }
20
+ export {
21
+ a as YOUTUBE_EMBED_BASE,
22
+ o as YOUTUBE_IFRAME_ALLOW,
23
+ m as useYouTube
24
+ };
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AlertEdit.vue2.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,16 @@
1
+ import { defineComponent as t, createBlock as r, openBlock as o, normalizeProps as a, guardReactiveProps as n, withCtx as s, renderSlot as p } from "vue";
2
+ import i from "../render/alert/Alert.vue2.js";
3
+ const f = /* @__PURE__ */ t({
4
+ __name: "AlertEdit",
5
+ setup(l) {
6
+ return (e, m) => (o(), r(i, a(n(e.$attrs)), {
7
+ default: s(() => [
8
+ p(e.$slots, "default")
9
+ ]),
10
+ _: 3
11
+ }, 16));
12
+ }
13
+ });
14
+ export {
15
+ f as default
16
+ };
@@ -0,0 +1,102 @@
1
+ import { defineComponent as g, createElementBlock as o, openBlock as s, createElementVNode as r, createCommentVNode as n, unref as t, toDisplayString as i, createTextVNode as h, normalizeClass as _, Fragment as f } from "vue";
2
+ import { useAudioPlayer as w } from "../composables/useAudioPlayer.js";
3
+ const T = { class: "audio-player my-4 rounded-lg bg-vscode-bg-secondary p-4 border border-vscode-border" }, C = { class: "flex items-center gap-3 mb-3" }, B = {
4
+ key: 0,
5
+ class: "text-sm text-vscode-text font-medium"
6
+ }, E = {
7
+ key: 1,
8
+ class: "text-sm text-vscode-text-muted italic"
9
+ }, N = ["src"], L = {
10
+ key: 0,
11
+ class: "mt-3"
12
+ }, M = {
13
+ key: 0,
14
+ class: "mt-2 p-3 bg-vscode-bg rounded border border-vscode-border text-xs text-vscode-text-muted leading-relaxed max-h-48 overflow-y-auto"
15
+ }, S = {
16
+ key: 0,
17
+ class: "italic opacity-60"
18
+ }, V = {
19
+ key: 1,
20
+ class: "italic opacity-60"
21
+ }, j = {
22
+ key: 0,
23
+ class: "mb-2 pb-2 border-b border-vscode-border"
24
+ }, z = { class: "text-vscode-text" }, A = { class: "whitespace-pre-wrap" }, H = /* @__PURE__ */ g({
25
+ __name: "AudioPlayerEdit",
26
+ props: {
27
+ slug: {},
28
+ title: {},
29
+ showTranscription: { type: Boolean }
30
+ },
31
+ setup(a) {
32
+ const u = a, {
33
+ audioUrl: m,
34
+ displayTitle: x,
35
+ hasTitle: v,
36
+ showTranscription: b,
37
+ transcriptionText: d,
38
+ transcriptionSummary: l,
39
+ transcriptionLoading: y,
40
+ transcriptionExpanded: c,
41
+ toggleTranscription: p
42
+ } = w(u);
43
+ return (P, e) => (s(), o("div", T, [
44
+ r("div", C, [
45
+ e[1] || (e[1] = r("svg", {
46
+ class: "w-5 h-5 text-vscode-text-muted flex-shrink-0",
47
+ fill: "none",
48
+ stroke: "currentColor",
49
+ viewBox: "0 0 24 24"
50
+ }, [
51
+ r("path", {
52
+ "stroke-linecap": "round",
53
+ "stroke-linejoin": "round",
54
+ "stroke-width": "2",
55
+ d: "M15.536 8.464a5 5 0 010 7.072m2.828-9.9a9 9 0 010 12.728M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z"
56
+ })
57
+ ], -1)),
58
+ t(v) ? (s(), o("span", B, i(t(x)), 1)) : (s(), o("span", E, i(a.slug), 1))
59
+ ]),
60
+ r("audio", {
61
+ src: t(m),
62
+ controls: "",
63
+ preload: "metadata",
64
+ class: "w-full h-8"
65
+ }, null, 8, N),
66
+ t(b) ? (s(), o("div", L, [
67
+ r("button", {
68
+ class: "flex items-center gap-2 text-xs text-vscode-text-muted hover:text-vscode-text transition-colors cursor-pointer bg-transparent border-0 p-0",
69
+ onClick: e[0] || (e[0] = //@ts-ignore
70
+ (...k) => t(p) && t(p)(...k))
71
+ }, [
72
+ (s(), o("svg", {
73
+ class: _(["w-3.5 h-3.5 transition-transform", { "rotate-90": t(c) }]),
74
+ fill: "none",
75
+ stroke: "currentColor",
76
+ viewBox: "0 0 24 24"
77
+ }, [...e[2] || (e[2] = [
78
+ r("path", {
79
+ "stroke-linecap": "round",
80
+ "stroke-linejoin": "round",
81
+ "stroke-width": "2",
82
+ d: "M9 5l7 7-7 7"
83
+ }, null, -1)
84
+ ])], 2)),
85
+ e[3] || (e[3] = h(" Transcription ", -1))
86
+ ]),
87
+ t(c) ? (s(), o("div", M, [
88
+ t(y) ? (s(), o("p", S, "Loading transcription...")) : t(d) ? (s(), o(f, { key: 2 }, [
89
+ t(l) ? (s(), o("div", j, [
90
+ e[4] || (e[4] = r("div", { class: "text-[10px] uppercase tracking-wide opacity-50 mb-0.5" }, "Summary", -1)),
91
+ r("div", z, i(t(l)), 1)
92
+ ])) : n("", !0),
93
+ r("div", A, i(t(d)), 1)
94
+ ], 64)) : (s(), o("p", V, "No transcription available."))
95
+ ])) : n("", !0)
96
+ ])) : n("", !0)
97
+ ]));
98
+ }
99
+ });
100
+ export {
101
+ H as default
102
+ };
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AudioPlayerEdit.vue.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./BadgeEdit.vue2.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,11 @@
1
+ import { defineComponent as r, createBlock as o, openBlock as t, normalizeProps as a, guardReactiveProps as n } from "vue";
2
+ import p from "../render/badge/Badge.vue2.js";
3
+ const i = /* @__PURE__ */ r({
4
+ __name: "BadgeEdit",
5
+ setup(c) {
6
+ return (e, m) => (t(), o(p, a(n(e.$attrs)), null, 16));
7
+ }
8
+ });
9
+ export {
10
+ i as default
11
+ };
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./ButtonEdit.vue2.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,11 @@
1
+ import { defineComponent as o, createBlock as r, openBlock as t, normalizeProps as n, guardReactiveProps as a } from "vue";
2
+ import p from "../render/button/Button.vue2.js";
3
+ const i = /* @__PURE__ */ o({
4
+ __name: "ButtonEdit",
5
+ setup(c) {
6
+ return (e, m) => (t(), r(p, n(a(e.$attrs)), null, 16));
7
+ }
8
+ });
9
+ export {
10
+ i as default
11
+ };
@@ -0,0 +1,78 @@
1
+ import { defineComponent as p, createElementBlock as n, openBlock as r, normalizeClass as s, unref as e, createElementVNode as l, createCommentVNode as k, renderSlot as m } from "vue";
2
+ import { useCallout as v, calloutIconPaths as f } from "../composables/useCallout.js";
3
+ const h = { class: "flex items-start gap-3" }, w = { class: "flex-shrink-0 mt-0.5" }, g = { class: "flex-1 text-sm" }, M = /* @__PURE__ */ p({
4
+ __name: "CalloutEdit",
5
+ props: {
6
+ type: {}
7
+ },
8
+ setup(a) {
9
+ const d = a, { effectiveType: t, containerClasses: u, iconClasses: i } = v(d);
10
+ return f[t.value === "info" ? "info-circle" : t.value === "warning" ? "warning-triangle" : t.value === "tip" ? "lightbulb" : "alert-circle"], (c, o) => (r(), n("div", {
11
+ class: s(["callout my-4 p-4 rounded-lg border-l-4", e(u)])
12
+ }, [
13
+ l("div", h, [
14
+ l("div", w, [
15
+ e(t) === "info" ? (r(), n("svg", {
16
+ key: 0,
17
+ class: s(["w-5 h-5", e(i)]),
18
+ fill: "none",
19
+ stroke: "currentColor",
20
+ viewBox: "0 0 24 24"
21
+ }, [...o[0] || (o[0] = [
22
+ l("path", {
23
+ "stroke-linecap": "round",
24
+ "stroke-linejoin": "round",
25
+ "stroke-width": "2",
26
+ d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
27
+ }, null, -1)
28
+ ])], 2)) : e(t) === "warning" ? (r(), n("svg", {
29
+ key: 1,
30
+ class: s(["w-5 h-5", e(i)]),
31
+ fill: "none",
32
+ stroke: "currentColor",
33
+ viewBox: "0 0 24 24"
34
+ }, [...o[1] || (o[1] = [
35
+ l("path", {
36
+ "stroke-linecap": "round",
37
+ "stroke-linejoin": "round",
38
+ "stroke-width": "2",
39
+ d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
40
+ }, null, -1)
41
+ ])], 2)) : e(t) === "tip" ? (r(), n("svg", {
42
+ key: 2,
43
+ class: s(["w-5 h-5", e(i)]),
44
+ fill: "none",
45
+ stroke: "currentColor",
46
+ viewBox: "0 0 24 24"
47
+ }, [...o[2] || (o[2] = [
48
+ l("path", {
49
+ "stroke-linecap": "round",
50
+ "stroke-linejoin": "round",
51
+ "stroke-width": "2",
52
+ d: "M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
53
+ }, null, -1)
54
+ ])], 2)) : e(t) === "danger" ? (r(), n("svg", {
55
+ key: 3,
56
+ class: s(["w-5 h-5", e(i)]),
57
+ fill: "none",
58
+ stroke: "currentColor",
59
+ viewBox: "0 0 24 24"
60
+ }, [...o[3] || (o[3] = [
61
+ l("path", {
62
+ "stroke-linecap": "round",
63
+ "stroke-linejoin": "round",
64
+ "stroke-width": "2",
65
+ d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
66
+ }, null, -1)
67
+ ])], 2)) : k("", !0)
68
+ ]),
69
+ l("div", g, [
70
+ m(c.$slots, "default")
71
+ ])
72
+ ])
73
+ ], 2));
74
+ }
75
+ });
76
+ export {
77
+ M as default
78
+ };
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./CalloutEdit.vue.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./CardEdit.vue2.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,16 @@
1
+ import { defineComponent as r, createBlock as t, openBlock as o, normalizeProps as a, guardReactiveProps as n, withCtx as s, renderSlot as p } from "vue";
2
+ import i from "../render/card/Card.vue2.js";
3
+ const f = /* @__PURE__ */ r({
4
+ __name: "CardEdit",
5
+ setup(m) {
6
+ return (e, _) => (o(), t(i, a(n(e.$attrs)), {
7
+ default: s(() => [
8
+ p(e.$slots, "default")
9
+ ]),
10
+ _: 3
11
+ }, 16));
12
+ }
13
+ });
14
+ export {
15
+ f as default
16
+ };
@@ -0,0 +1,6 @@
1
+ import o from "./CodeBlockEdit.vue2.js";
2
+ import t from "../_virtual/_plugin-vue_export-helper.js";
3
+ const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c06d5a1b"]]);
4
+ export {
5
+ d as default
6
+ };