@zaly/tui 0.1.0 → 0.1.1

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 (245) hide show
  1. package/dist/{actions-DEIKF2ts.mjs → actions-AY6avfEV.mjs} +2 -3
  2. package/dist/{actions-DEIKF2ts.mjs.map → actions-AY6avfEV.mjs.map} +1 -1
  3. package/dist/{actions--ODlgCQ5.d.mts → actions-B0yyZ-Ww.d.mts} +4 -6
  4. package/dist/actions-B0yyZ-Ww.d.mts.map +1 -0
  5. package/dist/{ansi-CMv71xVr.mjs → ansi-CxgRPLA2.mjs} +3 -4
  6. package/dist/{ansi-CMv71xVr.mjs.map → ansi-CxgRPLA2.mjs.map} +1 -1
  7. package/dist/ansi.d.mts +1 -3
  8. package/dist/ansi.d.mts.map +1 -1
  9. package/dist/ansi.mjs +1 -1
  10. package/dist/{autocomplete-CD30kSe_.d.mts → autocomplete-wgceuhLr.d.mts} +5 -7
  11. package/dist/autocomplete-wgceuhLr.d.mts.map +1 -0
  12. package/dist/{box-C_N_7ChP.mjs → box-DToDoXlU.mjs} +8 -10
  13. package/dist/{box-C_N_7ChP.mjs.map → box-DToDoXlU.mjs.map} +1 -1
  14. package/dist/{builder-Chwtk0nQ.mjs → builder-BdYlK1Ew.mjs} +5 -6
  15. package/dist/{builder-Chwtk0nQ.mjs.map → builder-BdYlK1Ew.mjs.map} +1 -1
  16. package/dist/{callbacks-DLecWn7G.mjs → callbacks-DW8XKYKy.mjs} +8 -12
  17. package/dist/{callbacks-DLecWn7G.mjs.map → callbacks-DW8XKYKy.mjs.map} +1 -1
  18. package/dist/{client-D7qz4TZt.mjs → client-BWm6dNZF.mjs} +4 -5
  19. package/dist/{client-D7qz4TZt.mjs.map → client-BWm6dNZF.mjs.map} +1 -1
  20. package/dist/client-C69qWhMG.mjs +1 -0
  21. package/dist/{clipboard-CNPBTX7j.mjs → clipboard-UEoX9sup.mjs} +2 -3
  22. package/dist/{clipboard-CNPBTX7j.mjs.map → clipboard-UEoX9sup.mjs.map} +1 -1
  23. package/dist/clipboard.d.mts +0 -2
  24. package/dist/clipboard.d.mts.map +1 -1
  25. package/dist/clipboard.mjs +1 -1
  26. package/dist/{color-DBMQLv4Y.mjs → color-Cr1VoL49.mjs} +2 -3
  27. package/dist/{color-DBMQLv4Y.mjs.map → color-Cr1VoL49.mjs.map} +1 -1
  28. package/dist/ctx-CYEzzH-7.mjs +1 -0
  29. package/dist/{ctx-BaQ2hP5u.mjs → ctx-DBeFcZt6.mjs} +4 -5
  30. package/dist/{ctx-BaQ2hP5u.mjs.map → ctx-DBeFcZt6.mjs.map} +1 -1
  31. package/dist/{divider-BlNNN2OS.mjs → divider-qEj5prKE.mjs} +3 -4
  32. package/dist/{divider-BlNNN2OS.mjs.map → divider-qEj5prKE.mjs.map} +1 -1
  33. package/dist/{files-BvThQpOf.mjs → files-C3ZnFpvq.mjs} +3 -4
  34. package/dist/{files-BvThQpOf.mjs.map → files-C3ZnFpvq.mjs.map} +1 -1
  35. package/dist/{files-B_5HDBPp.d.mts → files-CdiDnwA_.d.mts} +3 -5
  36. package/dist/files-CdiDnwA_.d.mts.map +1 -0
  37. package/dist/{flex-Bguo-fUe.mjs → flex-CYp4etqn.mjs} +3 -4
  38. package/dist/{flex-Bguo-fUe.mjs.map → flex-CYp4etqn.mjs.map} +1 -1
  39. package/dist/{github-Cy2hfWJ7.mjs → github-CLveT9mq.mjs} +2 -3
  40. package/dist/{github-Cy2hfWJ7.mjs.map → github-CLveT9mq.mjs.map} +1 -1
  41. package/dist/{github-CyRwUQ3y.d.mts → github-DC0XemKa.d.mts} +3 -5
  42. package/dist/github-DC0XemKa.d.mts.map +1 -0
  43. package/dist/{image-BLls2F4t.d.mts → image-DdRDv7q6.d.mts} +2 -4
  44. package/dist/image-DdRDv7q6.d.mts.map +1 -0
  45. package/dist/{image-Cqtj3yRA.mjs → image-M--Bw4bs.mjs} +6 -7
  46. package/dist/{image-Cqtj3yRA.mjs.map → image-M--Bw4bs.mjs.map} +1 -1
  47. package/dist/image.d.mts +1 -3
  48. package/dist/image.d.mts.map +1 -1
  49. package/dist/image.mjs +1 -1
  50. package/dist/index.d.mts +3 -15
  51. package/dist/index.d.mts.map +1 -1
  52. package/dist/index.mjs +11 -14
  53. package/dist/index.mjs.map +1 -1
  54. package/dist/{input-ET2YEMcl.mjs → input-BkE4EpBw.mjs} +6 -7
  55. package/dist/{input-ET2YEMcl.mjs.map → input-BkE4EpBw.mjs.map} +1 -1
  56. package/dist/{input-NuD8TH8N.d.mts → input-C3kfYoEJ.d.mts} +3 -5
  57. package/dist/input-C3kfYoEJ.d.mts.map +1 -0
  58. package/dist/{inspect-Cxzs-W0g.mjs → inspect-Cli1beu8.mjs} +3 -4
  59. package/dist/{inspect-Cxzs-W0g.mjs.map → inspect-Cli1beu8.mjs.map} +1 -1
  60. package/dist/{inspect-B1uXxdKC.d.mts → inspect-hSl3U2BD.d.mts} +2 -6
  61. package/dist/inspect-hSl3U2BD.d.mts.map +1 -0
  62. package/dist/kitty-0sJ8axU_.mjs +1 -0
  63. package/dist/{kitty-JbCJC0iQ.mjs → kitty-BH_eK6lz.mjs} +2 -3
  64. package/dist/{kitty-JbCJC0iQ.mjs.map → kitty-BH_eK6lz.mjs.map} +1 -1
  65. package/dist/{log-B4djzy2m.mjs → log-96b1_J6G.mjs} +6 -7
  66. package/dist/{log-B4djzy2m.mjs.map → log-96b1_J6G.mjs.map} +1 -1
  67. package/dist/{logger-CvJCITzP.mjs → logger-DwfXp8LF.mjs} +5 -6
  68. package/dist/{logger-CvJCITzP.mjs.map → logger-DwfXp8LF.mjs.map} +1 -1
  69. package/dist/{markdown-D3ZtRn6C.mjs → markdown-CgRZBhIX.mjs} +11 -12
  70. package/dist/{markdown-D3ZtRn6C.mjs.map → markdown-CgRZBhIX.mjs.map} +1 -1
  71. package/dist/markdown.d.mts +2 -4
  72. package/dist/markdown.d.mts.map +1 -1
  73. package/dist/markdown.mjs +1 -1
  74. package/dist/math-Dk8hxbmz.mjs +1 -0
  75. package/dist/{math-Dd7a1irv.mjs → math-VPuwFCid.mjs} +1 -2
  76. package/dist/{math-Dd7a1irv.mjs.map → math-VPuwFCid.mjs.map} +1 -1
  77. package/dist/md.bun.d.mts +1 -3
  78. package/dist/md.bun.d.mts.map +1 -1
  79. package/dist/md.bun.mjs +2 -3
  80. package/dist/md.node.d.mts +1 -3
  81. package/dist/md.node.d.mts.map +1 -1
  82. package/dist/md.node.mjs +2 -3
  83. package/dist/{node-BZ7f6HzU.mjs → node-CXNobGaP.mjs} +3 -4
  84. package/dist/{node-BZ7f6HzU.mjs.map → node-CXNobGaP.mjs.map} +1 -1
  85. package/dist/{oklch-Bsh5swbC.mjs → oklch-Boh4YHEc.mjs} +3 -4
  86. package/dist/{oklch-Bsh5swbC.mjs.map → oklch-Boh4YHEc.mjs.map} +1 -1
  87. package/dist/{overlay-LvOjG7kn.mjs → overlay-CevDWgSF.mjs} +3 -4
  88. package/dist/{overlay-LvOjG7kn.mjs.map → overlay-CevDWgSF.mjs.map} +1 -1
  89. package/dist/{picker-f6xjgACX.mjs → picker-D9WrE3zF.mjs} +11 -16
  90. package/dist/{picker-f6xjgACX.mjs.map → picker-D9WrE3zF.mjs.map} +1 -1
  91. package/dist/{picker-B-OxKKnD.d.mts → picker-DsB6--GN.d.mts} +6 -8
  92. package/dist/picker-DsB6--GN.d.mts.map +1 -0
  93. package/dist/{queries-BUkBxkuM.mjs → queries-BIniKnLL.mjs} +3 -5
  94. package/dist/{queries-BUkBxkuM.mjs.map → queries-BIniKnLL.mjs.map} +1 -1
  95. package/dist/{queries-C75-wG1B.d.mts → queries-Dmd3IjSd.d.mts} +3 -51
  96. package/dist/queries-Dmd3IjSd.d.mts.map +1 -0
  97. package/dist/{reactive-f7NpAi69.mjs → reactive-DkP75TPk.mjs} +2 -3
  98. package/dist/{reactive-f7NpAi69.mjs.map → reactive-DkP75TPk.mjs.map} +1 -1
  99. package/dist/{registry-DUWpSPoo.mjs → registry-CQU0VwpM.mjs} +9 -14
  100. package/dist/{registry-DUWpSPoo.mjs.map → registry-CQU0VwpM.mjs.map} +1 -1
  101. package/dist/{render-B7LfNM5K.mjs → render-Bp2N2i6J.mjs} +4 -5
  102. package/dist/{render-B7LfNM5K.mjs.map → render-Bp2N2i6J.mjs.map} +1 -1
  103. package/dist/{renderer-BLsd-wrG.mjs → renderer-B9sAMA10.mjs} +25 -38
  104. package/dist/{renderer-BLsd-wrG.mjs.map → renderer-B9sAMA10.mjs.map} +1 -1
  105. package/dist/{renderer-aAtkFgll.mjs → renderer-BYl2pbdx.mjs} +3 -4
  106. package/dist/{renderer-aAtkFgll.mjs.map → renderer-BYl2pbdx.mjs.map} +1 -1
  107. package/dist/renderer-Ctz0hv5o.mjs +1 -0
  108. package/dist/{search-FvGnswRl.d.mts → search-DsHzamic.d.mts} +1 -9
  109. package/dist/search-DsHzamic.d.mts.map +1 -0
  110. package/dist/{select-BKE5LzdN.d.mts → select-BZCFXdjp.d.mts} +3 -5
  111. package/dist/select-BZCFXdjp.d.mts.map +1 -0
  112. package/dist/{select-m7NE6Rwa.mjs → select-CUmAFKJh.mjs} +5 -6
  113. package/dist/{select-m7NE6Rwa.mjs.map → select-CUmAFKJh.mjs.map} +1 -1
  114. package/dist/services/logger.d.mts +1 -1
  115. package/dist/services/logger.mjs +1 -1
  116. package/dist/services/notifier.d.mts +1 -3
  117. package/dist/services/notifier.d.mts.map +1 -1
  118. package/dist/services/notifier.mjs +3 -4
  119. package/dist/services/picker.d.mts +5 -7
  120. package/dist/services/picker.d.mts.map +1 -1
  121. package/dist/services/picker.mjs +8 -9
  122. package/dist/services/prompt.d.mts +4 -6
  123. package/dist/services/prompt.d.mts.map +1 -1
  124. package/dist/services/prompt.mjs +7 -8
  125. package/dist/shiki/server.mjs +6 -8
  126. package/dist/shiki/server.mjs.map +1 -1
  127. package/dist/{shiki-CJauRusM.mjs → shiki-BAf9PdIc.mjs} +4 -5
  128. package/dist/{shiki-CJauRusM.mjs.map → shiki-BAf9PdIc.mjs.map} +1 -1
  129. package/dist/{shiki-B4U0s8jT.mjs → shiki-DUUAIE6f.mjs} +4 -7
  130. package/dist/{shiki-B4U0s8jT.mjs.map → shiki-DUUAIE6f.mjs.map} +1 -1
  131. package/dist/{show-DR2x1YFc.mjs → show-D5XNXgZf.mjs} +4 -5
  132. package/dist/{show-DR2x1YFc.mjs.map → show-D5XNXgZf.mjs.map} +1 -1
  133. package/dist/{size-D8JogYLy.mjs → size-BHRJuRk9.mjs} +2 -3
  134. package/dist/{size-D8JogYLy.mjs.map → size-BHRJuRk9.mjs.map} +1 -1
  135. package/dist/{style-DslRHzI4.mjs → style-Cw_EuszU.mjs} +5 -6
  136. package/dist/{style-DslRHzI4.mjs.map → style-Cw_EuszU.mjs.map} +1 -1
  137. package/dist/style.d.mts +2 -4
  138. package/dist/style.d.mts.map +1 -1
  139. package/dist/style.mjs +3 -3
  140. package/dist/{text-BoJdKXLU.mjs → text-4arC3odI.mjs} +3 -4
  141. package/dist/{text-BoJdKXLU.mjs.map → text-4arC3odI.mjs.map} +1 -1
  142. package/dist/{text-DPrhma4x.mjs → text-BArwVVkg.mjs} +5 -6
  143. package/dist/{text-DPrhma4x.mjs.map → text-BArwVVkg.mjs.map} +1 -1
  144. package/dist/{text-CmxbA8lk.d.mts → text-DdkJXgoC.d.mts} +3 -5
  145. package/dist/text-DdkJXgoC.d.mts.map +1 -0
  146. package/dist/text.d.mts +1 -1
  147. package/dist/text.mjs +1 -1
  148. package/dist/{theme-C8LkcoaK.mjs → theme-B8hb1lPU.mjs} +3 -4
  149. package/dist/{theme-C8LkcoaK.mjs.map → theme-B8hb1lPU.mjs.map} +1 -1
  150. package/dist/{theme-DVX8dvGG.mjs → theme-BeSaXGNY.mjs} +3 -5
  151. package/dist/{theme-DVX8dvGG.mjs.map → theme-BeSaXGNY.mjs.map} +1 -1
  152. package/dist/themes.d.mts +1 -7
  153. package/dist/themes.d.mts.map +1 -1
  154. package/dist/themes.mjs +1 -1
  155. package/dist/{tree-CTvSpF9b.d.mts → tree-Berzv8Rz.d.mts} +3 -5
  156. package/dist/tree-Berzv8Rz.d.mts.map +1 -0
  157. package/dist/{tree-Bo1afYhe.mjs → tree-D6NvMQx8.mjs} +5 -6
  158. package/dist/{tree-Bo1afYhe.mjs.map → tree-D6NvMQx8.mjs.map} +1 -1
  159. package/dist/{types-C9ceMsbJ.d.mts → types-ByMHEdCF.d.mts} +1 -7
  160. package/dist/types-ByMHEdCF.d.mts.map +1 -0
  161. package/dist/{types-D3jk1rtk.d.mts → types-CUVUJPz6.d.mts} +1 -3
  162. package/dist/types-CUVUJPz6.d.mts.map +1 -0
  163. package/dist/{utils-3M4D_AXZ.mjs → utils-DHXAegVW.mjs} +1 -2
  164. package/dist/{utils-3M4D_AXZ.mjs.map → utils-DHXAegVW.mjs.map} +1 -1
  165. package/dist/{widget-BkMwhY2p.mjs → widget-sFveyrZE.mjs} +3 -4
  166. package/dist/{widget-BkMwhY2p.mjs.map → widget-sFveyrZE.mjs.map} +1 -1
  167. package/dist/{widget-DlF32PRp.d.mts → widget-sPJaKVU2.d.mts} +2 -4
  168. package/dist/widget-sPJaKVU2.d.mts.map +1 -0
  169. package/dist/widgets/autocomplete.d.mts +1 -1
  170. package/dist/widgets/autocomplete.mjs +5 -6
  171. package/dist/widgets/box.d.mts +1 -1
  172. package/dist/widgets/box.mjs +1 -1
  173. package/dist/widgets/code.d.mts +3 -5
  174. package/dist/widgets/code.d.mts.map +1 -1
  175. package/dist/widgets/code.mjs +10 -11
  176. package/dist/widgets/completions/actions.d.mts +1 -1
  177. package/dist/widgets/completions/actions.mjs +1 -1
  178. package/dist/widgets/completions/files.d.mts +1 -1
  179. package/dist/widgets/completions/files.mjs +1 -1
  180. package/dist/widgets/completions/github.d.mts +1 -1
  181. package/dist/widgets/completions/github.mjs +1 -1
  182. package/dist/widgets/completions/index.d.mts +3 -3
  183. package/dist/widgets/completions/index.mjs +3 -3
  184. package/dist/widgets/diff.d.mts +2 -4
  185. package/dist/widgets/diff.d.mts.map +1 -1
  186. package/dist/widgets/diff.mjs +7 -8
  187. package/dist/widgets/divider.d.mts +2 -4
  188. package/dist/widgets/divider.d.mts.map +1 -1
  189. package/dist/widgets/divider.mjs +1 -1
  190. package/dist/widgets/image.d.mts +1 -1
  191. package/dist/widgets/image.mjs +5 -6
  192. package/dist/widgets/input.d.mts +1 -1
  193. package/dist/widgets/input.mjs +1 -1
  194. package/dist/widgets/log.d.mts +1 -1
  195. package/dist/widgets/log.mjs +1 -1
  196. package/dist/widgets/markdown.d.mts +5 -7
  197. package/dist/widgets/markdown.d.mts.map +1 -1
  198. package/dist/widgets/markdown.mjs +1 -1
  199. package/dist/widgets/overlay.d.mts +1 -1
  200. package/dist/widgets/overlay.mjs +1 -1
  201. package/dist/widgets/picker.d.mts +1 -1
  202. package/dist/widgets/picker.mjs +1 -1
  203. package/dist/widgets/progress.d.mts +2 -4
  204. package/dist/widgets/progress.d.mts.map +1 -1
  205. package/dist/widgets/progress.mjs +4 -5
  206. package/dist/widgets/select.d.mts +1 -1
  207. package/dist/widgets/select.mjs +1 -1
  208. package/dist/widgets/show.d.mts +1 -3
  209. package/dist/widgets/show.d.mts.map +1 -1
  210. package/dist/widgets/show.mjs +1 -1
  211. package/dist/widgets/spinner.d.mts +2 -4
  212. package/dist/widgets/spinner.d.mts.map +1 -1
  213. package/dist/widgets/spinner.mjs +3 -4
  214. package/dist/widgets/text.d.mts +1 -1
  215. package/dist/widgets/text.mjs +1 -1
  216. package/dist/widgets/tree.d.mts +1 -1
  217. package/dist/widgets/tree.mjs +1 -1
  218. package/dist/widgets/widget.d.mts +1 -1
  219. package/dist/widgets/widget.mjs +1 -1
  220. package/dist/{worker-T6SdPzUH.mjs → worker-CtEowucz.mjs} +2 -3
  221. package/dist/{worker-T6SdPzUH.mjs.map → worker-CtEowucz.mjs.map} +1 -1
  222. package/dist/worker-Mqi380Et.mjs +1 -0
  223. package/package.json +3 -3
  224. package/dist/actions--ODlgCQ5.d.mts.map +0 -1
  225. package/dist/autocomplete-CD30kSe_.d.mts.map +0 -1
  226. package/dist/client-CNGt-dOt.mjs +0 -1
  227. package/dist/ctx-CndlTp1T.mjs +0 -1
  228. package/dist/files-B_5HDBPp.d.mts.map +0 -1
  229. package/dist/github-CyRwUQ3y.d.mts.map +0 -1
  230. package/dist/image-BLls2F4t.d.mts.map +0 -1
  231. package/dist/input-NuD8TH8N.d.mts.map +0 -1
  232. package/dist/inspect-B1uXxdKC.d.mts.map +0 -1
  233. package/dist/kitty-DKQYsQfH.mjs +0 -1
  234. package/dist/math-CU0wmC9N.mjs +0 -1
  235. package/dist/picker-B-OxKKnD.d.mts.map +0 -1
  236. package/dist/queries-C75-wG1B.d.mts.map +0 -1
  237. package/dist/renderer-YHbR7JZ4.mjs +0 -1
  238. package/dist/search-FvGnswRl.d.mts.map +0 -1
  239. package/dist/select-BKE5LzdN.d.mts.map +0 -1
  240. package/dist/text-CmxbA8lk.d.mts.map +0 -1
  241. package/dist/tree-CTvSpF9b.d.mts.map +0 -1
  242. package/dist/types-C9ceMsbJ.d.mts.map +0 -1
  243. package/dist/types-D3jk1rtk.d.mts.map +0 -1
  244. package/dist/widget-DlF32PRp.d.mts.map +0 -1
  245. package/dist/worker-C01jK2Ip.mjs +0 -1
@@ -1,6 +1,5 @@
1
1
  import { Simplify } from "@zaly/shared";
2
2
  import { BundledLanguage, BundledTheme } from "shiki/types";
3
- //#region src/shiki/types.d.ts
4
3
  type ShikiTheme = BundledTheme;
5
4
  type ShikiLanguage = BundledLanguage;
6
5
  type ShikiSelection = "auto" | ShikiTheme;
@@ -40,8 +39,6 @@ type ShikiOpts = {
40
39
  theme?: ShikiThemeInput;
41
40
  signal?: AbortSignal;
42
41
  };
43
- //#endregion
44
- //#region src/themes/types.d.ts
45
42
  type ThemeStyle<Ansi extends boolean = true> = Simplify<Omit<AnsiStyle, "fg" | "bg"> & {
46
43
  fg?: Color<Ansi>;
47
44
  bg?: Color<Ansi>;
@@ -162,8 +159,6 @@ type Theme<Ansi extends boolean = true, T = ThemeValue<Ansi>> = {
162
159
  diffDelNum: T;
163
160
  diffContextNum: T;
164
161
  };
165
- //#endregion
166
- //#region src/style/types.d.ts
167
162
  type RGB = [r: number, g: number, b: number];
168
163
  /** Alpha percentage for `/<alpha>` suffix on Color values. Any integer
169
164
  * 0..100 is accepted at runtime; the template literal uses `${number}`
@@ -212,6 +207,5 @@ type Style<Ansi extends boolean = true> = Simplify<Omit<AnsiStyle, "fg" | "bg">
212
207
  style?: AnyStyle<Ansi>;
213
208
  }>;
214
209
  type AnyStyle<Ansi extends boolean = false> = Style<Ansi> | Color<Ansi>;
215
- //#endregion
216
210
  export { ShikiThemeInput as C, ShikiTheme as S, ShikiWorkerRequest as T, ShikiLanguage as _, BrightAnsiColorName as a, ShikiResult as b, HexColor as c, ThemeKey as d, Theme as f, ShikiJob as g, GeneratedShikiTheme as h, AnyStyle as i, RGB as l, ThemeValue as m, AnsiColorName as n, Color as o, ThemeStyle as p, AnsiStyle as r, ColorLightness as s, AnsiColor as t, Style as u, ShikiOpts as v, ShikiWorkerMessage as w, ShikiSelection as x, ShikiRequest as y };
217
- //# sourceMappingURL=types-C9ceMsbJ.d.mts.map
211
+ //# sourceMappingURL=types-ByMHEdCF.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-ByMHEdCF.d.mts","names":[],"sources":["../src/shiki/types.ts","../src/themes/types.ts","../src/style/types.ts"],"mappings":";;KAGY,aAAa;KACb,gBAAgB;KAChB,0BAA0B;KAC1B;EACV;EACA;EACA,QAAQ;;KAEE,kBAAkB,aAAa;KAE/B;EACV;EACA;EACA;EACA,QAAQ;EACR,SAAS;;KAGC,qBAAqB,KAAK;EACpC;EACA,MAAM;EACN;;KAGU,WAAW,qBACrB,kBAAkB,QAAQ,cAAc;EACtC;;KAGQ;EACV;EACA;EACA;EACA;;KAGU;EAAuB;KAAmB;EAAgB;;KAE1D;EACV,QAAQ;EACR,SAAS;;KCvCC,WAAW,+BAA+B,SACpD,KAAK;EACH,KAAK,MAAM;EACX,KAAK,MAAM;;KAGH,WAAW,+BAA+B,WAAW,QAAQ,MAAM;;;;;;;;;;;;;;;;;KAkBnE,MAAM,6BAA6B,IAAI,WAAW;EAC5D;;EAEA;EACA;;;EAGA,QAAQ;EAIR,IAAI,MAAM,MAAM;EAChB,IAAI,MAAM,MAAM;;EAEhB,SAAS,MAAM;;EAEf,QAAQ,MAAM;;;;EAOd,OAAO;;;EAGP,OAAO;;;EAGP,SAAS;;EAET,OAAO;;EAEP,OAAO;;EAKP,IAAI;;EAEJ,SAAS;;;;EAIT,WAAW;;EAKX,SAAS;;EAET,WAAW;;EAEX,QAAQ;;EAER,QAAQ;;EAER,QAAQ;;;EAGR,aAAa;;EAKb,MAAM;;EAEN,WAAW;EAIX,SAAS,MAAM;EACf,MAAM,MAAM;EACZ,MAAM,MAAM;EACZ,OAAO,MAAM;EAGb,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,iBAAiB;EACjB,aAAa;EACb,gBAAgB;EAChB,cAAc;EACd,eAAe;EACf,cAAc;EAId,QAAQ;EACR,QAAQ;EACR,aAAa;EACb,kBAAkB;EAClB,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,WAAW;EACX,MAAM;EACN,UAAU;EACV,QAAQ;EACR,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,QAAQ;EACR,SAAS;EACT,iBAAiB;EACjB,SAAS;EACT,eAAe;EAIf,YAAY;EACZ,YAAY;;EAEZ,cAAc;EAGd,SAAS;EACT,SAAS;EACT,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,gBAAgB;;KCtJN,OAAO,WAAW,WAAW;;;;KAK7B;;KAGA;;KAaA,+BAA+B,WAAW;KAE1C,YAAY,gBAAgB,sBAAsB;;;;KAKlD;KACA,WAAW,cACf;;;;;;;;;;;;;KAgBI,MAAM,6BAA6B,YAC3C,YACC,oBAAoB,0BACpB,oBAAoB,+BACrB,YACC,yCACE,WAAW,YAAY,sBACvB,WAAW,YAAY;UAEb;EACf,KAAK;EACL,KAAK;EACL;EACA;EACA;EACA;EACA;EACA;;;;;;KAOU,MAAM,+BAA+B,SAC/C,KAAK;EACH,KAAK,MAAM;EACX,KAAK,MAAM;EACX,QAAQ,SAAS;;KAIT,SAAS,gCAAgC,MAAM,QAAQ,MAAM"}
@@ -1,4 +1,3 @@
1
- //#region src/markdown/types.d.ts
2
1
  interface MdHeadingMeta {
3
2
  /** Heading level (1–6). */
4
3
  level: number;
@@ -135,6 +134,5 @@ interface MdOptions {
135
134
  */
136
135
  render?: RenderMarkdown;
137
136
  }
138
- //#endregion
139
137
  export { MdOptions as n, RenderMarkdown as r, MdCallbacks as t };
140
- //# sourceMappingURL=types-D3jk1rtk.d.mts.map
138
+ //# sourceMappingURL=types-CUVUJPz6.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-CUVUJPz6.d.mts","names":[],"sources":["../src/markdown/types.ts"],"mappings":"A,UAEiB;;EAEf;;EAEA;;UAGe;;EAEf;;EAEA;;EAEA;;UAGe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;;EAEf;;UAGe;;EAEf;;EAEA;;UAGe;;EAEf;;EAEA;;KAGU,YAAY;KACZ,OAAO,MAAM,kBAAkB,MAAM;UAEhC;;EAEf;;EAEA;;;;;;;;UASe;EACf,UAAU,OAAO;EACjB,YAAY;EACZ,aAAa;EACb,QAAQ,kBAAkB,OAAO;EACjC,OAAO,OAAO;EACd,WAAW,OAAO;EAClB,KAAK;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,KAAK;EACL,MAAM,kBAAkB,OAAO;EAC/B,MAAM,kBAAkB,OAAO;EAC/B,OAAO;EACP,SAAS;EACT,WAAW;EACX,OAAO,OAAO;EACd,QAAQ,OAAO;EACf,WAAW;EACX,gBAAgB;EAChB,QAAQ;;;;;;;KAQE,kBAAkB,eAAe,WAAW,aAAa,OAAO;;;;;UAM3D;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;IAAwB;IAAe;IAAe;;;EAEtD;IAAuB;IAAe;;;;;;;;;EAQtC,SAAS"}
@@ -34,7 +34,6 @@ function parseCodeInfoString(info) {
34
34
  if (title !== void 0) meta.title = title;
35
35
  return meta;
36
36
  }
37
- //#endregion
38
37
  export { parseCodeInfoString as n, encodeFenceInfoStrings as t };
39
38
 
40
- //# sourceMappingURL=utils-3M4D_AXZ.mjs.map
39
+ //# sourceMappingURL=utils-DHXAegVW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils-3M4D_AXZ.mjs","names":[],"sources":["../src/markdown/utils.ts"],"sourcesContent":["// Lightweight string-level utilities for the markdown pipeline. Lives in\n// its own file so Bun callers can use them without pulling in `marked`\n// (which is the heavy dep in `src/md.ts`).\n\nimport type { MdCodeBlockMeta } from \"./types.ts\"\n\n/** Sentinel stitched into fence info-strings in place of spaces. */\nexport const FENCE_MARKER = \"\\u0000\"\n\n/**\n * Replace spaces inside every fenced-block info-string with `FENCE_MARKER`\n * so renderers that truncate after the first token (Bun) still surface the\n * full info-string as the first token. Inverse of the decode step done by\n * `parseCodeInfoString`.\n *\n * Closing fences (just ``` with optional trailing whitespace) are left\n * untouched — rewriting their spaces into markers would prevent the\n * parser from recognizing the closer, swallowing the rest of the document\n * as code.\n */\nexport function encodeFenceInfoStrings(md: string): string {\n return md.replaceAll(/^( {0,3}`{3,})([^\\n]*)$/gm, (match, fence: string, info: string) =>\n info.trim() === \"\" ? match : fence + info.replaceAll(\" \", FENCE_MARKER)\n )\n}\n\n/**\n * Parse a fenced code-block info-string like `jsx title=\"src/Hello.js\"`.\n * First token → language; `title=\"...\"` / `title='...'` → title. Unknown\n * attrs after the language are ignored.\n *\n * Input may carry `FENCE_MARKER` in place of spaces (from\n * `encodeFenceInfoStrings`); those are decoded before parsing.\n */\nexport function parseCodeInfoString(info: string | undefined): MdCodeBlockMeta | undefined {\n if (!info) return undefined\n const decoded = info.includes(FENCE_MARKER) ? info.replaceAll(FENCE_MARKER, \" \") : info\n const firstSpace = decoded.search(/\\s/)\n if (firstSpace === -1) return { language: decoded }\n const language = decoded.slice(0, firstSpace)\n const rest = decoded.slice(firstSpace + 1)\n const titleMatch = /title=(?:\"([^\"]*)\"|'([^']*)')/.exec(rest) as\n | [string, string | undefined, string | undefined]\n | null\n const title = titleMatch === null ? undefined : (titleMatch[1] ?? titleMatch[2])\n const meta: MdCodeBlockMeta = {}\n if (language !== \"\") meta.language = language\n if (title !== undefined) meta.title = title\n return meta\n}\n"],"mappings":";;;;;;;;;;;AAoBA,SAAgB,uBAAuB,IAAoB;CACzD,OAAO,GAAG,WAAW,8BAA8B,OAAO,OAAe,SACvE,KAAK,KAAK,MAAM,KAAK,QAAQ,QAAQ,KAAK,WAAW,KAAA,IAAiB,CACxE;AACF;;;;;;;;;AAUA,SAAgB,oBAAoB,MAAuD;CACzF,IAAI,CAAC,MAAM,OAAO,KAAA;CAClB,MAAM,UAAU,KAAK,SAAA,IAAqB,IAAI,KAAK,WAAA,MAAyB,GAAG,IAAI;CACnF,MAAM,aAAa,QAAQ,OAAO,IAAI;CACtC,IAAI,eAAe,IAAI,OAAO,EAAE,UAAU,QAAQ;CAClD,MAAM,WAAW,QAAQ,MAAM,GAAG,UAAU;CAC5C,MAAM,OAAO,QAAQ,MAAM,aAAa,CAAC;CACzC,MAAM,aAAa,gCAAgC,KAAK,IAAI;CAG5D,MAAM,QAAQ,eAAe,OAAO,KAAA,IAAa,WAAW,MAAM,WAAW;CAC7E,MAAM,OAAwB,CAAC;CAC/B,IAAI,aAAa,IAAI,KAAK,WAAW;CACrC,IAAI,UAAU,KAAA,GAAW,KAAK,QAAQ;CACtC,OAAO;AACT"}
1
+ {"version":3,"file":"utils-DHXAegVW.mjs","names":[],"sources":["../src/markdown/utils.ts"],"sourcesContent":["// Lightweight string-level utilities for the markdown pipeline. Lives in\n// its own file so Bun callers can use them without pulling in `marked`\n// (which is the heavy dep in `src/md.ts`).\n\nimport type { MdCodeBlockMeta } from \"./types.ts\"\n\n/** Sentinel stitched into fence info-strings in place of spaces. */\nexport const FENCE_MARKER = \"\\u0000\"\n\n/**\n * Replace spaces inside every fenced-block info-string with `FENCE_MARKER`\n * so renderers that truncate after the first token (Bun) still surface the\n * full info-string as the first token. Inverse of the decode step done by\n * `parseCodeInfoString`.\n *\n * Closing fences (just ``` with optional trailing whitespace) are left\n * untouched — rewriting their spaces into markers would prevent the\n * parser from recognizing the closer, swallowing the rest of the document\n * as code.\n */\nexport function encodeFenceInfoStrings(md: string): string {\n return md.replaceAll(/^( {0,3}`{3,})([^\\n]*)$/gm, (match, fence: string, info: string) =>\n info.trim() === \"\" ? match : fence + info.replaceAll(\" \", FENCE_MARKER)\n )\n}\n\n/**\n * Parse a fenced code-block info-string like `jsx title=\"src/Hello.js\"`.\n * First token → language; `title=\"...\"` / `title='...'` → title. Unknown\n * attrs after the language are ignored.\n *\n * Input may carry `FENCE_MARKER` in place of spaces (from\n * `encodeFenceInfoStrings`); those are decoded before parsing.\n */\nexport function parseCodeInfoString(info: string | undefined): MdCodeBlockMeta | undefined {\n if (!info) return undefined\n const decoded = info.includes(FENCE_MARKER) ? info.replaceAll(FENCE_MARKER, \" \") : info\n const firstSpace = decoded.search(/\\s/)\n if (firstSpace === -1) return { language: decoded }\n const language = decoded.slice(0, firstSpace)\n const rest = decoded.slice(firstSpace + 1)\n const titleMatch = /title=(?:\"([^\"]*)\"|'([^']*)')/.exec(rest) as\n | [string, string | undefined, string | undefined]\n | null\n const title = titleMatch === null ? undefined : (titleMatch[1] ?? titleMatch[2])\n const meta: MdCodeBlockMeta = {}\n if (language !== \"\") meta.language = language\n if (title !== undefined) meta.title = title\n return meta\n}\n"],"mappings":";;;;;;;;;;;AAoBA,SAAgB,uBAAuB,IAAoB;CACzD,OAAO,GAAG,WAAW,8BAA8B,OAAO,OAAe,SACvE,KAAK,KAAK,MAAM,KAAK,QAAQ,QAAQ,KAAK,WAAW,KAAA,IAAiB,CACxE;AACF;;;;;;;;;AAUA,SAAgB,oBAAoB,MAAuD;CACzF,IAAI,CAAC,MAAM,OAAO,KAAA;CAClB,MAAM,UAAU,KAAK,SAAA,IAAqB,IAAI,KAAK,WAAA,MAAyB,GAAG,IAAI;CACnF,MAAM,aAAa,QAAQ,OAAO,IAAI;CACtC,IAAI,eAAe,IAAI,OAAO,EAAE,UAAU,QAAQ;CAClD,MAAM,WAAW,QAAQ,MAAM,GAAG,UAAU;CAC5C,MAAM,OAAO,QAAQ,MAAM,aAAa,CAAC;CACzC,MAAM,aAAa,gCAAgC,KAAK,IAAI;CAG5D,MAAM,QAAQ,eAAe,OAAO,KAAA,IAAa,WAAW,MAAM,WAAW;CAC7E,MAAM,OAAwB,CAAC;CAC/B,IAAI,aAAa,IAAI,KAAK,WAAW;CACrC,IAAI,UAAU,KAAA,GAAW,KAAK,QAAQ;CACtC,OAAO;AACT"}
@@ -1,5 +1,5 @@
1
- import { o as createNode } from "./reactive-f7NpAi69.mjs";
2
- //#region src/widgets/widget.ts
1
+ import { o as createNode } from "./reactive-DkP75TPk.mjs";
2
+ // src/widgets/widget.ts
3
3
  /**
4
4
  * Type helper for declaring widgets — runtime identity, just `return fn`.
5
5
  *
@@ -34,7 +34,6 @@ import { o as createNode } from "./reactive-f7NpAi69.mjs";
34
34
  function widget(fn) {
35
35
  return ((...args) => createNode(() => fn(...args)));
36
36
  }
37
- //#endregion
38
37
  export { widget as t };
39
38
 
40
- //# sourceMappingURL=widget-BkMwhY2p.mjs.map
39
+ //# sourceMappingURL=widget-sFveyrZE.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"widget-BkMwhY2p.mjs","names":[],"sources":["../src/widgets/widget.ts"],"sourcesContent":["import type { Node } from \"../core/node.ts\"\n\nimport { createNode } from \"../core/reactive.ts\"\n\nexport type Props = Record<string, unknown>\n\n/**\n * A widget factory: takes some args, returns a `Node`.\n *\n * The default `A = never[]` makes the *bare* `Widget` the universal\n * \"any widget\" type — the `(...args: never[]) => Node` idiom. Every\n * concrete factory (zero-arg, `state + ...children`, single-props) is\n * assignable to it, so it works both as the `widget()` constraint and\n * as a stored value type (`details?: Widget`, invoked zero-arg). Supply\n * `A` explicitly for a precise signature: `Widget<[State<LogState>]>`.\n */\nexport type Widget<A extends unknown[] = never[], N extends Node = Node> = (...args: A) => N\n\n/**\n * Type helper for declaring widgets — runtime identity, just `return fn`.\n *\n * Three things it earns:\n * 1. Inference at the declaration site: TS infers `S` from the function\n * parameter and enforces it on every call site.\n * 2. A consistent grep target: every component reads as\n * `export const foo = widget((props) => …)`.\n * 3. A future seam for instrumentation, lifecycle wrappers, devtools.\n *\n * The factory body runs **once** at construction. Reactive content lives\n * in leaf thunks (`text(({ style }) => …)`), not by re-running the body\n * — this is the Solid model, not React's. `ctx` is therefore unavailable\n * inside the factory; reach for it inside leaf thunks where it belongs.\n *\n * ```ts\n * const status = widget((props: { level: \"ok\" | \"warn\"; msg: string }) =>\n * text(({ style }) => `${style.bold[props.level](\"●\")} ${style.dim(props.msg)}`),\n * )\n *\n * status({ level: \"ok\", msg: \"all systems nominal\" })\n * ```\n */\n/**\n * Call-site args derived from `S`:\n * - If `S` declares `children`, `children` is injected from rest args;\n * state at the call site has `children` omitted, then `...children`.\n * - Otherwise, no rest is allowed.\n * - Either way, the state arg is optional when every field of the\n * resolved state is optional (so bare `widget()` works).\n */\n\nexport function widget<T extends Widget>(fn: T): T {\n return ((...args: Parameters<T>) => createNode(() => fn(...args))) as T\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,SAAgB,OAAyB,IAAU;CACjD,SAAS,GAAG,SAAwB,iBAAiB,GAAG,GAAG,IAAI,CAAC;AAClE"}
1
+ {"version":3,"file":"widget-sFveyrZE.mjs","names":[],"sources":["../src/widgets/widget.ts"],"sourcesContent":["import type { Node } from \"../core/node.ts\"\n\nimport { createNode } from \"../core/reactive.ts\"\n\nexport type Props = Record<string, unknown>\n\n/**\n * A widget factory: takes some args, returns a `Node`.\n *\n * The default `A = never[]` makes the *bare* `Widget` the universal\n * \"any widget\" type — the `(...args: never[]) => Node` idiom. Every\n * concrete factory (zero-arg, `state + ...children`, single-props) is\n * assignable to it, so it works both as the `widget()` constraint and\n * as a stored value type (`details?: Widget`, invoked zero-arg). Supply\n * `A` explicitly for a precise signature: `Widget<[State<LogState>]>`.\n */\nexport type Widget<A extends unknown[] = never[], N extends Node = Node> = (...args: A) => N\n\n/**\n * Type helper for declaring widgets — runtime identity, just `return fn`.\n *\n * Three things it earns:\n * 1. Inference at the declaration site: TS infers `S` from the function\n * parameter and enforces it on every call site.\n * 2. A consistent grep target: every component reads as\n * `export const foo = widget((props) => …)`.\n * 3. A future seam for instrumentation, lifecycle wrappers, devtools.\n *\n * The factory body runs **once** at construction. Reactive content lives\n * in leaf thunks (`text(({ style }) => …)`), not by re-running the body\n * — this is the Solid model, not React's. `ctx` is therefore unavailable\n * inside the factory; reach for it inside leaf thunks where it belongs.\n *\n * ```ts\n * const status = widget((props: { level: \"ok\" | \"warn\"; msg: string }) =>\n * text(({ style }) => `${style.bold[props.level](\"●\")} ${style.dim(props.msg)}`),\n * )\n *\n * status({ level: \"ok\", msg: \"all systems nominal\" })\n * ```\n */\n/**\n * Call-site args derived from `S`:\n * - If `S` declares `children`, `children` is injected from rest args;\n * state at the call site has `children` omitted, then `...children`.\n * - Otherwise, no rest is allowed.\n * - Either way, the state arg is optional when every field of the\n * resolved state is optional (so bare `widget()` works).\n */\n\nexport function widget<T extends Widget>(fn: T): T {\n return ((...args: Parameters<T>) => createNode(() => fn(...args))) as T\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,SAAgB,OAAyB,IAAU;CACjD,SAAS,GAAG,SAAwB,iBAAiB,GAAG,GAAG,IAAI,CAAC;AAClE"}
@@ -1,5 +1,4 @@
1
- import { h as Node } from "./queries-C75-wG1B.mjs";
2
- //#region src/widgets/widget.d.ts
1
+ import { h as Node } from "./queries-Dmd3IjSd.mjs";
3
2
  type Props = Record<string, unknown>;
4
3
  /**
5
4
  * A widget factory: takes some args, returns a `Node`.
@@ -44,6 +43,5 @@ type Widget<A extends unknown[] = never[], N extends Node = Node> = (...args: A)
44
43
  * resolved state is optional (so bare `widget()` works).
45
44
  */
46
45
  declare function widget<T extends Widget>(fn: T): T;
47
- //#endregion
48
46
  export { Widget as n, widget as r, Props as t };
49
- //# sourceMappingURL=widget-DlF32PRp.d.mts.map
47
+ //# sourceMappingURL=widget-sPJaKVU2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-sPJaKVU2.d.mts","names":[],"sources":["../src/widgets/widget.ts"],"mappings":";KAIY,QAAQ;;;;;;;;;;;KAYR,OAAO,+BAA+B,UAAU,OAAO,YAAY,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC3E,OAAO,UAAU,QAAQ,IAAI,IAAI"}
@@ -1,2 +1,2 @@
1
- import { a as AutocompleteState, i as AutocompleteOptions, n as Autocomplete, o as CompletionSource, r as AutocompleteEvents, s as autocomplete, t as AcceptFn } from "../autocomplete-CD30kSe_.mjs";
1
+ import { a as AutocompleteState, i as AutocompleteOptions, n as Autocomplete, o as CompletionSource, r as AutocompleteEvents, s as autocomplete, t as AcceptFn } from "../autocomplete-wgceuhLr.mjs";
2
2
  export { AcceptFn, Autocomplete, AutocompleteEvents, AutocompleteOptions, AutocompleteState, CompletionSource, autocomplete };
@@ -1,8 +1,8 @@
1
- import { S as unwrap, f as effect, h as memo, y as signal } from "../reactive-f7NpAi69.mjs";
2
- import { t as Node } from "../node-BZ7f6HzU.mjs";
3
- import { t as picker } from "../picker-f6xjgACX.mjs";
4
- import { t as Input } from "../input-ET2YEMcl.mjs";
5
- //#region src/widgets/autocomplete.ts
1
+ import { S as unwrap, f as effect, h as memo, y as signal } from "../reactive-DkP75TPk.mjs";
2
+ import { t as Node } from "../node-CXNobGaP.mjs";
3
+ import { t as picker } from "../picker-D9WrE3zF.mjs";
4
+ import { t as Input } from "../input-BkE4EpBw.mjs";
5
+ // src/widgets/autocomplete.ts
6
6
  /**
7
7
  * Autocomplete popup bound to an `Input`. Watches the input's value and
8
8
  * cursor; when one of the configured sources' trigger regexes matches
@@ -159,7 +159,6 @@ function defaultAccept(item) {
159
159
  function autocomplete(opts) {
160
160
  return new Autocomplete(opts);
161
161
  }
162
- //#endregion
163
162
  export { Autocomplete, autocomplete };
164
163
 
165
164
  //# sourceMappingURL=autocomplete.mjs.map
@@ -1,2 +1,2 @@
1
- import { B as Box, H as Padding, U as box, V as BoxStyle } from "../queries-C75-wG1B.mjs";
1
+ import { B as Box, H as Padding, U as box, V as BoxStyle } from "../queries-Dmd3IjSd.mjs";
2
2
  export { Box, BoxStyle, Padding, box };
@@ -1 +1 @@
1
- export { t as Box, n as box } from "../box-C_N_7ChP.mjs";
1
+ export { t as Box, n as box } from "../box-DToDoXlU.mjs";
@@ -1,7 +1,6 @@
1
- import { i as AnyStyle } from "../types-C9ceMsbJ.mjs";
2
- import { B as Box, Q as State, it as Reactive } from "../queries-C75-wG1B.mjs";
3
- import { t as WrapMode } from "../text-CmxbA8lk.mjs";
4
- //#region src/widgets/code.d.ts
1
+ import { i as AnyStyle } from "../types-ByMHEdCF.mjs";
2
+ import { B as Box, Q as State, it as Reactive } from "../queries-Dmd3IjSd.mjs";
3
+ import { t as WrapMode } from "../text-DdkJXgoC.mjs";
5
4
  export interface CodeState {
6
5
  /** Source to render. Plain string or reactive accessor — pass a
7
6
  * signal for streaming bash output / tool results. */
@@ -45,5 +44,4 @@ export interface CodeState {
45
44
  * resolved highlight rather than the initial plain source.
46
45
  */
47
46
  export declare const code: (props: State<CodeState>) => Box<{}>;
48
- //#endregion
49
47
  //# sourceMappingURL=code.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"code.d.mts","names":["_$__box_ts0.Box"],"sources":["../../src/widgets/code.ts"],"mappings":";;;;iBAgBiB;;;EAGf,MAAM;;;EAGN,OAAO;;;;EAIP;;;EAGA,QAAQ;;EAER;EACA,QAAQ;EACR;EACA,eAAe;EACf,SAAS;EACT,QAAQ;EACR,QAAQ,cAAc;EACtB,OAAO;;;;;;;;;;;;;;;;;;;;qBAqBI,OAAI,OAAkB,MAAM,eAANA"}
1
+ {"version":3,"file":"code.d.mts","names":["_$__box_ts0.Box"],"sources":["../../src/widgets/code.ts"],"mappings":";;;iBAgBiB;;;EAGf,MAAM;;;EAGN,OAAO;;;;EAIP;;;EAGA,QAAQ;;EAER;EACA,QAAQ;EACR;EACA,eAAe;EACf,SAAS;EACT,QAAQ;EACR,QAAQ,cAAc;EACtB,OAAO;;;;;;;;;;;;;;;;;;;;qBAqBI,OAAI,OAAkB,MAAM,eAANA"}
@@ -1,14 +1,14 @@
1
- import { S as unwrap, h as memo, r as createAsync, w as useContext } from "../reactive-f7NpAi69.mjs";
2
- import { n as box } from "../box-C_N_7ChP.mjs";
3
- import { a as formatLines } from "../text-BoJdKXLU.mjs";
4
- import { n as text } from "../text-DPrhma4x.mjs";
5
- import { t as RenderContext } from "../render-B7LfNM5K.mjs";
6
- import { t as codeToAnsi } from "../shiki-CJauRusM.mjs";
7
- import { t as shikiTheme } from "../theme-C8LkcoaK.mjs";
8
- import { t as widget } from "../widget-BkMwhY2p.mjs";
9
- import { t as show } from "../show-DR2x1YFc.mjs";
1
+ import { S as unwrap, h as memo, r as createAsync, w as useContext } from "../reactive-DkP75TPk.mjs";
2
+ import { n as box } from "../box-DToDoXlU.mjs";
3
+ import { a as formatLines } from "../text-4arC3odI.mjs";
4
+ import { n as text } from "../text-BArwVVkg.mjs";
5
+ import { t as RenderContext } from "../render-Bp2N2i6J.mjs";
6
+ import { t as codeToAnsi } from "../shiki-BAf9PdIc.mjs";
7
+ import { t as shikiTheme } from "../theme-B8hb1lPU.mjs";
8
+ import { t as widget } from "../widget-sFveyrZE.mjs";
9
+ import { t as show } from "../show-D5XNXgZf.mjs";
10
10
  import { extname } from "pathe";
11
- //#region src/widgets/code.ts
11
+ // src/widgets/code.ts
12
12
  /**
13
13
  * Standalone code block: shiki-highlighted body inside a `code`-styled
14
14
  * shrink-to-content backdrop, optionally titled.
@@ -54,7 +54,6 @@ const code = widget((props) => {
54
54
  width: "fit"
55
55
  }, show({ when: title }, () => text((ctx) => ctx.style.codeTitle(title() ?? ""), { wrap: "none" })), text(formatted, { wrap: props.wrap ?? "none" }));
56
56
  });
57
- //#endregion
58
57
  export { code };
59
58
 
60
59
  //# sourceMappingURL=code.mjs.map
@@ -1,2 +1,2 @@
1
- import { n as ActionsSourceOptions, r as actionsSource, t as ActionCompletionItem } from "../../actions--ODlgCQ5.mjs";
1
+ import { n as ActionsSourceOptions, r as actionsSource, t as ActionCompletionItem } from "../../actions-B0yyZ-Ww.mjs";
2
2
  export { ActionCompletionItem, ActionsSourceOptions, actionsSource };
@@ -1 +1 @@
1
- export { t as actionsSource } from "../../actions-DEIKF2ts.mjs";
1
+ export { t as actionsSource } from "../../actions-AY6avfEV.mjs";
@@ -1,2 +1,2 @@
1
- import { n as filesSource, t as FilesSourceOptions } from "../../files-B_5HDBPp.mjs";
1
+ import { n as filesSource, t as FilesSourceOptions } from "../../files-CdiDnwA_.mjs";
2
2
  export { FilesSourceOptions, filesSource };
@@ -1 +1 @@
1
- export { t as filesSource } from "../../files-BvThQpOf.mjs";
1
+ export { t as filesSource } from "../../files-C3ZnFpvq.mjs";
@@ -1,2 +1,2 @@
1
- import { a as githubSource, i as GithubState, n as GithubItem, r as GithubSourceOptions, t as GithubFetcher } from "../../github-CyRwUQ3y.mjs";
1
+ import { a as githubSource, i as GithubState, n as GithubItem, r as GithubSourceOptions, t as GithubFetcher } from "../../github-DC0XemKa.mjs";
2
2
  export { GithubFetcher, GithubItem, GithubSourceOptions, GithubState, githubSource };
@@ -1 +1 @@
1
- export { t as githubSource } from "../../github-Cy2hfWJ7.mjs";
1
+ export { t as githubSource } from "../../github-CLveT9mq.mjs";
@@ -1,4 +1,4 @@
1
- import { n as ActionsSourceOptions, r as actionsSource, t as ActionCompletionItem } from "../../actions--ODlgCQ5.mjs";
2
- import { n as filesSource, t as FilesSourceOptions } from "../../files-B_5HDBPp.mjs";
3
- import { a as githubSource, i as GithubState, n as GithubItem, r as GithubSourceOptions, t as GithubFetcher } from "../../github-CyRwUQ3y.mjs";
1
+ import { n as ActionsSourceOptions, r as actionsSource, t as ActionCompletionItem } from "../../actions-B0yyZ-Ww.mjs";
2
+ import { n as filesSource, t as FilesSourceOptions } from "../../files-CdiDnwA_.mjs";
3
+ import { a as githubSource, i as GithubState, n as GithubItem, r as GithubSourceOptions, t as GithubFetcher } from "../../github-DC0XemKa.mjs";
4
4
  export { ActionCompletionItem, ActionsSourceOptions, FilesSourceOptions, GithubFetcher, GithubItem, GithubSourceOptions, GithubState, actionsSource, filesSource, githubSource };
@@ -1,4 +1,4 @@
1
- import { t as actionsSource } from "../../actions-DEIKF2ts.mjs";
2
- import { t as filesSource } from "../../files-BvThQpOf.mjs";
3
- import { t as githubSource } from "../../github-Cy2hfWJ7.mjs";
1
+ import { t as actionsSource } from "../../actions-AY6avfEV.mjs";
2
+ import { t as filesSource } from "../../files-C3ZnFpvq.mjs";
3
+ import { t as githubSource } from "../../github-CLveT9mq.mjs";
4
4
  export { actionsSource, filesSource, githubSource };
@@ -1,6 +1,5 @@
1
- import { I as RenderCtx, Q as State, X as Layout, h as Node, it as Reactive } from "../queries-C75-wG1B.mjs";
2
- import { t as WrapMode } from "../text-CmxbA8lk.mjs";
3
- //#region src/widgets/diff.d.ts
1
+ import { I as RenderCtx, Q as State, X as Layout, h as Node, it as Reactive } from "../queries-Dmd3IjSd.mjs";
2
+ import { t as WrapMode } from "../text-DdkJXgoC.mjs";
4
3
  export interface DiffState {
5
4
  /** Pre-state file content. Plain string or reactive accessor —
6
5
  * pass a signal to live-update the diff as either side changes. */
@@ -52,5 +51,4 @@ export declare class Diff extends Node<DiffState> {
52
51
  * ```
53
52
  */
54
53
  export declare function diff(state: State<DiffState>): Diff;
55
- //#endregion
56
54
  //# sourceMappingURL=diff.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"diff.d.mts","names":[],"sources":["../../src/widgets/diff.ts"],"mappings":";;;iBAgBiB;;;EAGf,UAAU;;;EAGV,UAAU;;;;EAIV,OAAO;;;EAGP;;EAEA;EACA,OAAO;;;;;;;;;;;;;qBA2BI,aAAa,KAAK;;EAI7B,YAAY,OAAO;MA+Bf;IAAW;IAAkB;;YAOjB,QAAQ,KAAK,YAAY;EAqBhC,UAAU;;;;;;;;;;;;;wBA+BL,KAAK,OAAO,MAAM,aAAa"}
1
+ {"version":3,"file":"diff.d.mts","names":[],"sources":["../../src/widgets/diff.ts"],"mappings":";;iBAgBiB;;;EAGf,UAAU;;;EAGV,UAAU;;;;EAIV,OAAO;;;EAGP;;EAEA;EACA,OAAO;;;;;;;;;;;;;qBA2BI,aAAa,KAAK;;EAI7B,YAAY,OAAO;MA+Bf;IAAW;IAAkB;;YAOjB,QAAQ,KAAK,YAAY;EAqBhC,UAAU;;;;;;;;;;;;;wBA+BL,KAAK,OAAO,MAAM,aAAa"}
@@ -1,12 +1,12 @@
1
- import { S as unwrap, h as memo, r as createAsync, w as useContext } from "../reactive-f7NpAi69.mjs";
2
- import { t as Node } from "../node-BZ7f6HzU.mjs";
3
- import { t as calcLayout } from "../text-BoJdKXLU.mjs";
4
- import { t as RenderContext } from "../render-B7LfNM5K.mjs";
5
- import { t as codeToAnsi } from "../shiki-CJauRusM.mjs";
6
- import { t as shikiTheme } from "../theme-C8LkcoaK.mjs";
1
+ import { S as unwrap, h as memo, r as createAsync, w as useContext } from "../reactive-DkP75TPk.mjs";
2
+ import { t as Node } from "../node-CXNobGaP.mjs";
3
+ import { t as calcLayout } from "../text-4arC3odI.mjs";
4
+ import { t as RenderContext } from "../render-Bp2N2i6J.mjs";
5
+ import { t as codeToAnsi } from "../shiki-BAf9PdIc.mjs";
6
+ import { t as shikiTheme } from "../theme-B8hb1lPU.mjs";
7
7
  import { splitAnsi, stringWidth, wrapAnsi } from "@zaly/shared/ansi";
8
8
  import { basename, extname } from "pathe";
9
- //#region src/widgets/diff.ts
9
+ // src/widgets/diff.ts
10
10
  const NO_NEWLINE = String.raw``;
11
11
  /**
12
12
  * Show a unified diff between two file contents with syntax-highlighted
@@ -216,7 +216,6 @@ function langFromPath(path) {
216
216
  if (ext) return ext;
217
217
  return basename(path).toLowerCase() || void 0;
218
218
  }
219
- //#endregion
220
219
  export { Diff, diff };
221
220
 
222
221
  //# sourceMappingURL=diff.mjs.map
@@ -1,10 +1,8 @@
1
- import { u as Style } from "../types-C9ceMsbJ.mjs";
2
- import { W as Text } from "../queries-C75-wG1B.mjs";
3
- //#region src/widgets/divider.d.ts
1
+ import { u as Style } from "../types-ByMHEdCF.mjs";
2
+ import { W as Text } from "../queries-Dmd3IjSd.mjs";
4
3
  export type DividerState = Style<false> & {
5
4
  char?: string;
6
5
  length?: number;
7
6
  };
8
7
  export declare function divider(state?: DividerState): Text;
9
- //#endregion
10
8
  //# sourceMappingURL=divider.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"divider.d.mts","names":[],"sources":["../../src/widgets/divider.ts"],"mappings":";;;YAKY,eAAe;EACzB;EACA;;wBAGc,QAAQ,QAAO,eAAsC"}
1
+ {"version":3,"file":"divider.d.mts","names":[],"sources":["../../src/widgets/divider.ts"],"mappings":";;YAKY,eAAe;EACzB;EACA;;wBAGc,QAAQ,QAAO,eAAsC"}
@@ -1 +1 @@
1
- export { t as divider } from "../divider-BlNNN2OS.mjs";
1
+ export { t as divider } from "../divider-qEj5prKE.mjs";
@@ -1,2 +1,2 @@
1
- import { n as ImageState, r as image, t as Image } from "../image-BLls2F4t.mjs";
1
+ import { n as ImageState, r as image, t as Image } from "../image-DdRDv7q6.mjs";
2
2
  export { Image, ImageState, image };
@@ -1,10 +1,10 @@
1
- import { S as unwrap, w as useContext } from "../reactive-f7NpAi69.mjs";
2
- import { t as Node } from "../node-BZ7f6HzU.mjs";
3
- import { t as RenderContext } from "../render-B7LfNM5K.mjs";
4
- import { s as loadKittyGraphics } from "../kitty-JbCJC0iQ.mjs";
1
+ import { S as unwrap, w as useContext } from "../reactive-DkP75TPk.mjs";
2
+ import { t as Node } from "../node-CXNobGaP.mjs";
3
+ import { t as RenderContext } from "../render-Bp2N2i6J.mjs";
4
+ import { s as loadKittyGraphics } from "../kitty-BH_eK6lz.mjs";
5
5
  import { fileDetect } from "@zaly/shared/detect";
6
6
  import { imageInfo } from "@zaly/shared/image";
7
- //#region src/widgets/image.ts
7
+ // src/widgets/image.ts
8
8
  var Image = class extends Node {
9
9
  #delete;
10
10
  #enabled;
@@ -71,7 +71,6 @@ function dims(state, meta, available) {
71
71
  rows: rows ?? 1
72
72
  };
73
73
  }
74
- //#endregion
75
74
  export { Image, image };
76
75
 
77
76
  //# sourceMappingURL=image.mjs.map
@@ -1,2 +1,2 @@
1
- import { a as InputValue, i as InputState, n as InputAttachment, o as input, r as InputEvents, t as Input } from "../input-NuD8TH8N.mjs";
1
+ import { a as InputValue, i as InputState, n as InputAttachment, o as input, r as InputEvents, t as Input } from "../input-C3kfYoEJ.mjs";
2
2
  export { Input, InputAttachment, InputEvents, InputState, InputValue, input };
@@ -1 +1 @@
1
- export { t as Input, n as input } from "../input-ET2YEMcl.mjs";
1
+ export { t as Input, n as input } from "../input-BkE4EpBw.mjs";
@@ -1,2 +1,2 @@
1
- import { M as LogState, N as LogStyle, P as log } from "../queries-C75-wG1B.mjs";
1
+ import { M as LogState, N as LogStyle, P as log } from "../queries-Dmd3IjSd.mjs";
2
2
  export { LogState, LogStyle, log };
@@ -1 +1 @@
1
- export { t as log } from "../log-B4djzy2m.mjs";
1
+ export { t as log } from "../log-96b1_J6G.mjs";
@@ -1,9 +1,8 @@
1
- import { i as AnyStyle } from "../types-C9ceMsbJ.mjs";
2
- import { G as TextContent, I as RenderCtx, Q as State, X as Layout, h as Node } from "../queries-C75-wG1B.mjs";
3
- import { t as WrapMode } from "../text-CmxbA8lk.mjs";
4
- import { n as MdOptions } from "../types-D3jk1rtk.mjs";
5
- import { t as Image } from "../image-BLls2F4t.mjs";
6
- //#region src/widgets/markdown.d.ts
1
+ import { i as AnyStyle } from "../types-ByMHEdCF.mjs";
2
+ import { G as TextContent, I as RenderCtx, Q as State, X as Layout, h as Node } from "../queries-Dmd3IjSd.mjs";
3
+ import { t as WrapMode } from "../text-DdkJXgoC.mjs";
4
+ import { n as MdOptions } from "../types-CUVUJPz6.mjs";
5
+ import { t as Image } from "../image-DdRDv7q6.mjs";
7
6
  export interface MarkdownState {
8
7
  /** Markdown source. Accepts a plain string or a reactive accessor —
9
8
  * pass `signal()` / `memo()` for streaming content that re-parses on
@@ -40,5 +39,4 @@ export declare class Markdown extends Node<MarkdownState> {
40
39
  */
41
40
  export declare function markdown(content: TextContent, style?: Omit<State<MarkdownState>, "content">): Markdown;
42
41
  export declare function markdown(state: State<MarkdownState>): Markdown;
43
- //#endregion
44
42
  //# sourceMappingURL=markdown.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.d.mts","names":["_$___core_state_ts0.Layout"],"sources":["../../src/widgets/markdown.ts"],"mappings":";;;;;;iBAqBiB;;;;EAIf,SAAS;;EAET,UAAU;;;;;;;EAOV;EACA,OAAO;EACP,QAAQ;;qBAcG,iBAAiB,KAAK;;WAKxB,QAAM,YAAA;EASf,YAAY,OAAO,MAAM;YAwDT,QAAQ,KAAK,YAAY;EA0C1B,OAAO,KAAK,YAAS,QAATA;;;;;;;;;;;;wBAeb,SACd,SAAS,aACT,QAAQ,KAAK,MAAM,6BAClB;wBACa,SAAS,OAAO,MAAM,iBAAiB"}
1
+ {"version":3,"file":"markdown.d.mts","names":["_$___core_state_ts0.Layout"],"sources":["../../src/widgets/markdown.ts"],"mappings":";;;;;iBAqBiB;;;;EAIf,SAAS;;EAET,UAAU;;;;;;;EAOV;EACA,OAAO;EACP,QAAQ;;qBAcG,iBAAiB,KAAK;;WAKxB,QAAM,YAAA;EASf,YAAY,OAAO,MAAM;YAwDT,QAAQ,KAAK,YAAY;EA0C1B,OAAO,KAAK,YAAS,QAATA;;;;;;;;;;;;wBAeb,SACd,SAAS,aACT,QAAQ,KAAK,MAAM,6BAClB;wBACa,SAAS,OAAO,MAAM,iBAAiB"}
@@ -1 +1 @@
1
- export { t as Markdown, n as markdown } from "../markdown-D3ZtRn6C.mjs";
1
+ export { t as Markdown, n as markdown } from "../markdown-CgRZBhIX.mjs";
@@ -1,2 +1,2 @@
1
- import { L as Overlay, R as OverlayState, z as overlay } from "../queries-C75-wG1B.mjs";
1
+ import { L as Overlay, R as OverlayState, z as overlay } from "../queries-Dmd3IjSd.mjs";
2
2
  export { Overlay, OverlayState, overlay };
@@ -1 +1 @@
1
- export { t as overlay } from "../overlay-LvOjG7kn.mjs";
1
+ export { t as overlay } from "../overlay-CevDWgSF.mjs";
@@ -1,2 +1,2 @@
1
- import { a as picker, i as PickerTreeProps, n as PickerItem, r as PickerSelectProps, t as PickerActions } from "../picker-B-OxKKnD.mjs";
1
+ import { a as picker, i as PickerTreeProps, n as PickerItem, r as PickerSelectProps, t as PickerActions } from "../picker-DsB6--GN.mjs";
2
2
  export { PickerActions, PickerItem, PickerSelectProps, PickerTreeProps, picker };
@@ -1 +1 @@
1
- export { t as picker } from "../picker-f6xjgACX.mjs";
1
+ export { t as picker } from "../picker-D9WrE3zF.mjs";
@@ -1,6 +1,5 @@
1
- import { o as Color } from "../types-C9ceMsbJ.mjs";
2
- import { Ft as Size, I as RenderCtx, Q as State, h as Node, it as Reactive } from "../queries-C75-wG1B.mjs";
3
- //#region src/widgets/progress.d.ts
1
+ import { o as Color } from "../types-ByMHEdCF.mjs";
2
+ import { Ft as Size, I as RenderCtx, Q as State, h as Node, it as Reactive } from "../queries-Dmd3IjSd.mjs";
4
3
  export interface ProgressState {
5
4
  /** Current value. Clamped to `[0, total]`. Accepts a signal accessor
6
5
  * so callers can drive the bar from reactive state without manual
@@ -43,5 +42,4 @@ export declare class Progress extends Node<ProgressState> {
43
42
  * ```
44
43
  */
45
44
  export declare function progress(state: State<ProgressState>): Progress;
46
- //#endregion
47
45
  //# sourceMappingURL=progress.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.mts","names":[],"sources":["../../src/widgets/progress.ts"],"mappings":";;;iBAWiB;;;;EAIf,OAAO;;EAEP,QAAQ;;;;;EAKR,QAAQ;;;;;;EAMR,mBAAmB,KAAK,WAAW;;EAEnC,QAAQ;;EAER,aAAa;;EAEb;;EAEA;;qBAGW,iBAAiB,KAAK;YACvB,QAAQ,KAAK;;;;;;;;;;;;;wBAwCT,SAAS,OAAO,MAAM,iBAAiB"}
1
+ {"version":3,"file":"progress.d.mts","names":[],"sources":["../../src/widgets/progress.ts"],"mappings":";;iBAWiB;;;;EAIf,OAAO;;EAEP,QAAQ;;;;;EAKR,QAAQ;;;;;;EAMR,mBAAmB,KAAK,WAAW;;EAEnC,QAAQ;;EAER,aAAa;;EAEb;;EAEA;;qBAGW,iBAAiB,KAAK;YACvB,QAAQ,KAAK;;;;;;;;;;;;;wBAwCT,SAAS,OAAO,MAAM,iBAAiB"}
@@ -1,8 +1,8 @@
1
- import { S as unwrap } from "../reactive-f7NpAi69.mjs";
2
- import { t as Node } from "../node-BZ7f6HzU.mjs";
3
- import { n as resolveSize } from "../size-D8JogYLy.mjs";
1
+ import { S as unwrap } from "../reactive-DkP75TPk.mjs";
2
+ import { t as Node } from "../node-CXNobGaP.mjs";
3
+ import { n as resolveSize } from "../size-BHRJuRk9.mjs";
4
4
  import { stringWidth } from "@zaly/shared/ansi";
5
- //#region src/widgets/progress.ts
5
+ // src/widgets/progress.ts
6
6
  var Progress = class extends Node {
7
7
  _render(ctx) {
8
8
  const total = unwrap(this.state.total ?? 1);
@@ -42,7 +42,6 @@ function resolveLabel(label, ctx, fraction) {
42
42
  if (label === "auto") return `${Math.round(fraction * 100)}%`;
43
43
  return label;
44
44
  }
45
- //#endregion
46
45
  export { Progress, progress };
47
46
 
48
47
  //# sourceMappingURL=progress.mjs.map
@@ -1,2 +1,2 @@
1
- import { a as SelectEvents, i as Select, n as OptionRender, o as SelectState, r as OptionRenderCtx, s as select, t as Option } from "../select-BKE5LzdN.mjs";
1
+ import { a as SelectEvents, i as Select, n as OptionRender, o as SelectState, r as OptionRenderCtx, s as select, t as Option } from "../select-BZCFXdjp.mjs";
2
2
  export { Option, OptionRender, OptionRenderCtx, Select, SelectEvents, SelectState, select };
@@ -1 +1 @@
1
- export { t as Select, n as select } from "../select-m7NE6Rwa.mjs";
1
+ export { t as Select, n as select } from "../select-CUmAFKJh.mjs";
@@ -1,5 +1,4 @@
1
- import { I as RenderCtx, h as Node, it as Reactive } from "../queries-C75-wG1B.mjs";
2
- //#region src/widgets/show.d.ts
1
+ import { I as RenderCtx, h as Node, it as Reactive } from "../queries-Dmd3IjSd.mjs";
3
2
  export type ShowGate = {
4
3
  when: Reactive<unknown>;
5
4
  };
@@ -50,6 +49,5 @@ declare class Show extends Node {
50
49
  * ```
51
50
  */
52
51
  export declare function show(...spec: ShowSpec): Show;
53
- //#endregion
54
52
  export type { Show };
55
53
  //# sourceMappingURL=show.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show.d.mts","names":[],"sources":["../../src/widgets/show.ts"],"mappings":";;YAMY;EAAa,MAAM;;YACnB;EAAe,MAAM;EAAmB,KAAK;;YAC7C,qBAAqB,OAAO;YAC5B,YAAY,WAAW,qBAAqB,WAAW,eAAe;;;;;;;;;cAkB5E,aAAa;;EAIjB,YAAY,MAAM;EAqBT,2BAA2B;;;;YAepB,QAAQ,KAAK,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;wBA8B3B,QAAQ,MAAM,WAAW"}
1
+ {"version":3,"file":"show.d.mts","names":[],"sources":["../../src/widgets/show.ts"],"mappings":";YAMY;EAAa,MAAM;;YACnB;EAAe,MAAM;EAAmB,KAAK;;YAC7C,qBAAqB,OAAO;YAC5B,YAAY,WAAW,qBAAqB,WAAW,eAAe;;;;;;;;;cAkB5E,aAAa;;EAIjB,YAAY,MAAM;EAqBT,2BAA2B;;;;YAepB,QAAQ,KAAK,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;wBA8B3B,QAAQ,MAAM,WAAW"}
@@ -1 +1 @@
1
- export { t as show } from "../show-DR2x1YFc.mjs";
1
+ export { t as show } from "../show-D5XNXgZf.mjs";
@@ -1,6 +1,5 @@
1
- import { i as AnyStyle } from "../types-C9ceMsbJ.mjs";
2
- import { I as RenderCtx, Q as State, h as Node, it as Reactive } from "../queries-C75-wG1B.mjs";
3
- //#region src/widgets/spinner.d.ts
1
+ import { i as AnyStyle } from "../types-ByMHEdCF.mjs";
2
+ import { I as RenderCtx, Q as State, h as Node, it as Reactive } from "../queries-Dmd3IjSd.mjs";
4
3
  /**
5
4
  * Frame sets from the common terminal-spinner vocabulary. Pick one to taste.
6
5
  * @internal
@@ -60,5 +59,4 @@ export declare class Spinner extends Node<SpinnerState> {
60
59
  * gives you the braille `dots` set at 80ms in the theme's `primary` color.
61
60
  */
62
61
  export declare function spinner(state?: State<SpinnerState>): Spinner;
63
- //#endregion
64
62
  //# sourceMappingURL=spinner.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.d.mts","names":[],"sources":["../../src/widgets/spinner.ts"],"mappings":";;;;;;;qBAaa;WACX;WACA;WACA;WACA;WACA;;YAGU,4BAA4B;iBAEvB;;EAEf,SAAS;;EAET,QAAQ,SAAS;;;;;EAKjB,UAAU;EACV;;;;;;;;;;;;;;;;;;;;;qBA4DW,gBAAgB,KAAK;;EAChC,YAAY,OAAO;;SAYZ,KAAK;;EAKZ;;EAMA;YAcU,QAAQ,KAAK;;;;;;wBAoBT,QAAQ,QAAO,MAAM,gBAAqB"}
1
+ {"version":3,"file":"spinner.d.mts","names":[],"sources":["../../src/widgets/spinner.ts"],"mappings":";;;;;;qBAaa;WACX;WACA;WACA;WACA;WACA;;YAGU,4BAA4B;iBAEvB;;EAEf,SAAS;;EAET,QAAQ,SAAS;;;;;EAKjB,UAAU;EACV;;;;;;;;;;;;;;;;;;;;;qBA4DW,gBAAgB,KAAK;;EAChC,YAAY,OAAO;;SAYZ,KAAK;;EAKZ;;EAMA;YAcU,QAAQ,KAAK;;;;;;wBAoBT,QAAQ,QAAO,MAAM,gBAAqB"}
@@ -1,7 +1,7 @@
1
- import { S as unwrap, f as effect, x as untrack } from "../reactive-f7NpAi69.mjs";
2
- import { t as Node } from "../node-BZ7f6HzU.mjs";
1
+ import { S as unwrap, f as effect, x as untrack } from "../reactive-DkP75TPk.mjs";
2
+ import { t as Node } from "../node-CXNobGaP.mjs";
3
3
  import { stringWidth } from "@zaly/shared/ansi";
4
- //#region src/widgets/spinner.ts
4
+ // src/widgets/spinner.ts
5
5
  /**
6
6
  * Frame sets from the common terminal-spinner vocabulary. Pick one to taste.
7
7
  * @internal
@@ -141,7 +141,6 @@ var Spinner = class Spinner extends Node {
141
141
  function spinner(state = {}) {
142
142
  return new Spinner(state);
143
143
  }
144
- //#endregion
145
144
  export { Spinner, spinner, spinnerFrames };
146
145
 
147
146
  //# sourceMappingURL=spinner.mjs.map
@@ -1,2 +1,2 @@
1
- import { G as TextContent, J as textContent, K as TextStyle, W as Text, q as text } from "../queries-C75-wG1B.mjs";
1
+ import { G as TextContent, J as textContent, K as TextStyle, W as Text, q as text } from "../queries-Dmd3IjSd.mjs";
2
2
  export { Text, TextContent, TextStyle, text, textContent };
@@ -1 +1 @@
1
- export { t as Text, n as text, r as textContent } from "../text-DPrhma4x.mjs";
1
+ export { t as Text, n as text, r as textContent } from "../text-BArwVVkg.mjs";
@@ -1,2 +1,2 @@
1
- import { i as tree, n as TreeNode, r as TreeProps, t as TreeItem } from "../tree-CTvSpF9b.mjs";
1
+ import { i as tree, n as TreeNode, r as TreeProps, t as TreeItem } from "../tree-Berzv8Rz.mjs";
2
2
  export { TreeItem, TreeNode, TreeProps, tree };
@@ -1 +1 @@
1
- export { t as tree } from "../tree-Bo1afYhe.mjs";
1
+ export { t as tree } from "../tree-D6NvMQx8.mjs";
@@ -1,2 +1,2 @@
1
- import { n as Widget, r as widget, t as Props } from "../widget-DlF32PRp.mjs";
1
+ import { n as Widget, r as widget, t as Props } from "../widget-sPJaKVU2.mjs";
2
2
  export { Props, Widget, widget };