sparkdesign 0.4.2 → 0.4.3

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 (468) hide show
  1. package/README.md +112 -204
  2. package/{cli/dist → dist}/commands/add.js +11 -2
  3. package/package.json +19 -126
  4. package/{cli/registry → registry}/chat/markdown.tsx +1 -1
  5. package/{cli/registry → registry}/chat/tool-invocation-card.tsx +5 -5
  6. package/registry/meta.json +750 -0
  7. package/cli/registry/meta.json +0 -1
  8. package/dist/_basePickBy-DnQN8w3y.js +0 -151
  9. package/dist/_basePickBy-a-kPMlkg.cjs +0 -1
  10. package/dist/_baseUniq-B-N2NQ50.js +0 -614
  11. package/dist/_baseUniq-Cc_zbSif.cjs +0 -1
  12. package/dist/arc-BQBhijZ6.js +0 -83
  13. package/dist/arc-mWQt0Yph.cjs +0 -1
  14. package/dist/architectureDiagram-VXUJARFQ-BMZEucno.cjs +0 -36
  15. package/dist/architectureDiagram-VXUJARFQ-DTdjD3Bp.js +0 -4661
  16. package/dist/blockDiagram-VD42YOAC-CzHn0yob.js +0 -2256
  17. package/dist/blockDiagram-VD42YOAC-DDxdHAlz.cjs +0 -122
  18. package/dist/c4Diagram-YG6GDRKO-4Gz0I4gj.cjs +0 -10
  19. package/dist/c4Diagram-YG6GDRKO-BIy--yVN.js +0 -1580
  20. package/dist/channel-BQn0o8bs.js +0 -5
  21. package/dist/channel-DaN7XniJ.cjs +0 -1
  22. package/dist/chunk-4BX2VUAB-BlQFTQqz.cjs +0 -1
  23. package/dist/chunk-4BX2VUAB-Czitj3Kc.js +0 -8
  24. package/dist/chunk-55IACEB6-DXacNZbO.js +0 -8
  25. package/dist/chunk-55IACEB6-DnDxpye9.cjs +0 -1
  26. package/dist/chunk-B4BG7PRW-CBdN0q_V.js +0 -1375
  27. package/dist/chunk-B4BG7PRW-DbGvUkGO.cjs +0 -165
  28. package/dist/chunk-DI55MBZ5-D1YJMs6x.cjs +0 -220
  29. package/dist/chunk-DI55MBZ5-NCQTvayw.js +0 -1370
  30. package/dist/chunk-FMBD7UC4-CsGMbrtr.js +0 -19
  31. package/dist/chunk-FMBD7UC4-Di7cUUh5.cjs +0 -15
  32. package/dist/chunk-QN33PNHL-0j5LC8Lm.cjs +0 -1
  33. package/dist/chunk-QN33PNHL-3GERZBRm.js +0 -19
  34. package/dist/chunk-QZHKN3VN-AVEY9ImQ.js +0 -15
  35. package/dist/chunk-QZHKN3VN-s8Z0a8mc.cjs +0 -1
  36. package/dist/chunk-TZMSLE5B-CAf87HPt.cjs +0 -1
  37. package/dist/chunk-TZMSLE5B-sbiflal0.js +0 -64
  38. package/dist/classDiagram-2ON5EDUG-Ct9JLIN2.cjs +0 -1
  39. package/dist/classDiagram-2ON5EDUG-Dzfrft3a.js +0 -16
  40. package/dist/classDiagram-v2-WZHVMYZB-Ct9JLIN2.cjs +0 -1
  41. package/dist/classDiagram-v2-WZHVMYZB-Dzfrft3a.js +0 -16
  42. package/dist/clone-Cde_NQ8V.js +0 -8
  43. package/dist/clone-DCNjWuM2.cjs +0 -1
  44. package/dist/cose-bilkent-S5V4N54A-0uLijMro.cjs +0 -1
  45. package/dist/cose-bilkent-S5V4N54A-Bb08N431.js +0 -2608
  46. package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
  47. package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
  48. package/dist/dagre-6UL2VRFP-CY_Wz5Zd.js +0 -444
  49. package/dist/dagre-6UL2VRFP-Dxe7_qZc.cjs +0 -4
  50. package/dist/defaultLocale-BgPVtth8.js +0 -171
  51. package/dist/defaultLocale-C4wbwF1n.cjs +0 -1
  52. package/dist/diagram-PSM6KHXK-D2bdb7MT.js +0 -531
  53. package/dist/diagram-PSM6KHXK-YF69SUjY.cjs +0 -24
  54. package/dist/diagram-QEK2KX5R-BpUSoh0-.js +0 -217
  55. package/dist/diagram-QEK2KX5R-DZPGteon.cjs +0 -43
  56. package/dist/diagram-S2PKOQOG-ht-zdvFG.cjs +0 -24
  57. package/dist/diagram-S2PKOQOG-zFeLJ50Z.js +0 -142
  58. package/dist/erDiagram-Q2GNP2WA-B38iJ6ts.js +0 -841
  59. package/dist/erDiagram-Q2GNP2WA-RgS80DDU.cjs +0 -60
  60. package/dist/flowDiagram-NV44I4VS-BHilOs2p.cjs +0 -162
  61. package/dist/flowDiagram-NV44I4VS-BrBJcoce.js +0 -1620
  62. package/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
  63. package/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
  64. package/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  65. package/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  66. package/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  67. package/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  68. package/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  69. package/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  70. package/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  71. package/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  72. package/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  73. package/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  74. package/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  75. package/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  76. package/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  77. package/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
  78. package/dist/fonts/KaTeX_Main-Bold.woff +0 -0
  79. package/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  80. package/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  81. package/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  82. package/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  83. package/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
  84. package/dist/fonts/KaTeX_Main-Italic.woff +0 -0
  85. package/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  86. package/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
  87. package/dist/fonts/KaTeX_Main-Regular.woff +0 -0
  88. package/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  89. package/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  90. package/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  91. package/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  92. package/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
  93. package/dist/fonts/KaTeX_Math-Italic.woff +0 -0
  94. package/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  95. package/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  96. package/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  97. package/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  98. package/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  99. package/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  100. package/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  101. package/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  102. package/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  103. package/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  104. package/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
  105. package/dist/fonts/KaTeX_Script-Regular.woff +0 -0
  106. package/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  107. package/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
  108. package/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
  109. package/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  110. package/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
  111. package/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
  112. package/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  113. package/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
  114. package/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
  115. package/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  116. package/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
  117. package/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
  118. package/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  119. package/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  120. package/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  121. package/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  122. package/dist/ganttDiagram-JELNMOA3-pZiJeFio.cjs +0 -267
  123. package/dist/ganttDiagram-JELNMOA3-tw6FhkWJ.js +0 -2670
  124. package/dist/gitGraphDiagram-V2S2FVAM-BWn5uIK5.js +0 -699
  125. package/dist/gitGraphDiagram-V2S2FVAM-DKKeG-9R.cjs +0 -65
  126. package/dist/graph-DIbblrZP.cjs +0 -1
  127. package/dist/graph-DPcK91G3.js +0 -247
  128. package/dist/infoDiagram-HS3SLOUP-B8gwwhct.cjs +0 -2
  129. package/dist/infoDiagram-HS3SLOUP-D47PNcP_.js +0 -24
  130. package/dist/init-CHZsXQcr.cjs +0 -1
  131. package/dist/init-DjUOC4st.js +0 -16
  132. package/dist/journeyDiagram-XKPGCS4Q-BG3cfhyU.js +0 -834
  133. package/dist/journeyDiagram-XKPGCS4Q-D8DVLJof.cjs +0 -139
  134. package/dist/kanban-definition-3W4ZIXB7-4OCnEouP.cjs +0 -89
  135. package/dist/kanban-definition-3W4ZIXB7-CWi_ssF9.js +0 -719
  136. package/dist/katex.css +0 -1
  137. package/dist/layout-Byuh8f-J.cjs +0 -1
  138. package/dist/layout-CdLdvj1j.js +0 -1335
  139. package/dist/linear-C2Q_PI9B.js +0 -259
  140. package/dist/linear-C69aPBW1.cjs +0 -1
  141. package/dist/mermaid.core-DBwAx_jp.cjs +0 -249
  142. package/dist/mermaid.core-gFR0XUlD.js +0 -15300
  143. package/dist/mindmap-definition-VGOIOE7T-8P7obVV4.cjs +0 -68
  144. package/dist/mindmap-definition-VGOIOE7T-DnOa7WJ9.js +0 -784
  145. package/dist/ordinal-B6-f3MAq.js +0 -61
  146. package/dist/ordinal-CagbB1m8.cjs +0 -1
  147. package/dist/pieDiagram-ADFJNKIX-5NAlvhMo.js +0 -161
  148. package/dist/pieDiagram-ADFJNKIX-CQBG4yR9.cjs +0 -30
  149. package/dist/qoder-design.css +0 -2
  150. package/dist/quadrantDiagram-AYHSOK5B-Oe4y7RZ0.cjs +0 -7
  151. package/dist/quadrantDiagram-AYHSOK5B-rh2DPEP1.js +0 -1022
  152. package/dist/registry/basic/alert-dialog.d.ts +0 -40
  153. package/dist/registry/basic/avatar.d.ts +0 -30
  154. package/dist/registry/basic/button.d.ts +0 -16
  155. package/dist/registry/basic/collapse.d.ts +0 -22
  156. package/dist/registry/basic/collapsible-card.d.ts +0 -34
  157. package/dist/registry/basic/collapsible.d.ts +0 -15
  158. package/dist/registry/basic/dropdown-menu.d.ts +0 -52
  159. package/dist/registry/basic/icon-button.d.ts +0 -12
  160. package/dist/registry/basic/icons-inline.d.ts +0 -51
  161. package/dist/registry/basic/kbd.d.ts +0 -23
  162. package/dist/registry/basic/option-list.d.ts +0 -16
  163. package/dist/registry/basic/pagination.d.ts +0 -33
  164. package/dist/registry/basic/progress.d.ts +0 -18
  165. package/dist/registry/basic/radio-group.d.ts +0 -25
  166. package/dist/registry/basic/resizable.d.ts +0 -318
  167. package/dist/registry/basic/scrollbar.d.ts +0 -12
  168. package/dist/registry/basic/select.d.ts +0 -35
  169. package/dist/registry/basic/shimmering-text.d.ts +0 -27
  170. package/dist/registry/basic/sidebar-menu.d.ts +0 -23
  171. package/dist/registry/basic/skeleton.d.ts +0 -10
  172. package/dist/registry/basic/slider.d.ts +0 -16
  173. package/dist/registry/basic/sonner.d.ts +0 -23
  174. package/dist/registry/basic/spinner.d.ts +0 -5
  175. package/dist/registry/basic/switch.d.ts +0 -20
  176. package/dist/registry/basic/table.d.ts +0 -18
  177. package/dist/registry/basic/tabs.d.ts +0 -29
  178. package/dist/registry/basic/tag.d.ts +0 -23
  179. package/dist/registry/basic/theme-from-document.d.ts +0 -10
  180. package/dist/registry/basic/toggle.d.ts +0 -29
  181. package/dist/registry/basic/tooltip.d.ts +0 -34
  182. package/dist/registry/basic/typography.d.ts +0 -76
  183. package/dist/registry/chat/ask-user-part.d.ts +0 -24
  184. package/dist/registry/chat/browser-action-part.d.ts +0 -28
  185. package/dist/registry/chat/chat-input/chat-input-folder-selector.d.ts +0 -22
  186. package/dist/registry/chat/chat-input/chat-input-model-switcher.d.ts +0 -12
  187. package/dist/registry/chat/chat-input/chat-input-textarea.d.ts +0 -9
  188. package/dist/registry/chat/chat-input/compound.d.ts +0 -97
  189. package/dist/registry/chat/chat-input/context.d.ts +0 -64
  190. package/dist/registry/chat/chat-input/folder-permission-dialog.d.ts +0 -11
  191. package/dist/registry/chat/chat-input/index.d.ts +0 -34
  192. package/dist/registry/chat/chat-input/types.d.ts +0 -79
  193. package/dist/registry/chat/chat-input/useAutoResizeTextarea.d.ts +0 -7
  194. package/dist/registry/chat/code-block-part.d.ts +0 -23
  195. package/dist/registry/chat/file-attachment.d.ts +0 -19
  196. package/dist/registry/chat/file-card.d.ts +0 -10
  197. package/dist/registry/chat/file-review-part.d.ts +0 -30
  198. package/dist/registry/chat/folder-button.d.ts +0 -20
  199. package/dist/registry/chat/generated-images-grid.d.ts +0 -15
  200. package/dist/registry/chat/generation-status-bar.d.ts +0 -19
  201. package/dist/registry/chat/hint-banner.d.ts +0 -28
  202. package/dist/registry/chat/image-attachment.d.ts +0 -19
  203. package/dist/registry/chat/image-generating.d.ts +0 -15
  204. package/dist/registry/chat/markdown.d.ts +0 -8
  205. package/dist/registry/chat/mermaid-part.d.ts +0 -17
  206. package/dist/registry/chat/permission-card.d.ts +0 -24
  207. package/dist/registry/chat/plan-part.d.ts +0 -30
  208. package/dist/registry/chat/queue-indicator.d.ts +0 -27
  209. package/dist/registry/chat/reasoning-step/compound.d.ts +0 -17
  210. package/dist/registry/chat/reasoning-step/context.d.ts +0 -10
  211. package/dist/registry/chat/reasoning-step/index.d.ts +0 -14
  212. package/dist/registry/chat/reasoning-step/types.d.ts +0 -95
  213. package/dist/registry/chat/related-prompts.d.ts +0 -23
  214. package/dist/registry/chat/response/compound.d.ts +0 -25
  215. package/dist/registry/chat/response/context.d.ts +0 -9
  216. package/dist/registry/chat/response/index.d.ts +0 -15
  217. package/dist/registry/chat/response/types.d.ts +0 -99
  218. package/dist/registry/chat/send-button.d.ts +0 -17
  219. package/dist/registry/chat/streaming-markdown-block.d.ts +0 -8
  220. package/dist/registry/chat/task-part.d.ts +0 -28
  221. package/dist/registry/chat/terminal-code-block-part.d.ts +0 -18
  222. package/dist/registry/chat/thinking-indicator.d.ts +0 -14
  223. package/dist/registry/chat/tool-invocation-card.d.ts +0 -20
  224. package/dist/registry/chat/user-message.d.ts +0 -6
  225. package/dist/registry/chat/user-question/UserQuestionCard.d.ts +0 -30
  226. package/dist/registry/chat/user-question/UserQuestionFooter.d.ts +0 -18
  227. package/dist/registry/chat/user-question/UserQuestionHeader.d.ts +0 -20
  228. package/dist/registry/chat/user-question/compound.d.ts +0 -37
  229. package/dist/registry/chat/user-question/context.d.ts +0 -55
  230. package/dist/registry/chat/user-question/index.d.ts +0 -15
  231. package/dist/registry/chat/user-question/types.d.ts +0 -52
  232. package/dist/registry/chat/user-question/useUserQuestionKeyboard.d.ts +0 -17
  233. package/dist/registry/chat/user-question/useUserQuestionState.d.ts +0 -26
  234. package/dist/registry/chat/user-question-answer.d.ts +0 -13
  235. package/dist/registry/lib/file-icon-maps.d.ts +0 -20
  236. package/dist/registry/lib/use-mermaid-render.d.ts +0 -5
  237. package/dist/registry/lib/utils.d.ts +0 -11
  238. package/dist/requirementDiagram-UZGBJVZJ-DcWaCuXr.js +0 -850
  239. package/dist/requirementDiagram-UZGBJVZJ-gfdlrFiq.cjs +0 -64
  240. package/dist/sankeyDiagram-TZEHDZUN-CQIKFwD0.js +0 -810
  241. package/dist/sankeyDiagram-TZEHDZUN-DvPtzQvC.cjs +0 -10
  242. package/dist/scale/computed.css +0 -103
  243. package/dist/scale/config.css +0 -110
  244. package/dist/scale/index.css +0 -30
  245. package/dist/scale/presets/compact.css +0 -30
  246. package/dist/scale/presets/dense.css +0 -64
  247. package/dist/scale/presets/sharp.css +0 -40
  248. package/dist/scale/presets/soft.css +0 -16
  249. package/dist/scale.css +0 -13
  250. package/dist/sequenceDiagram-WL72ISMW-BNrsMagL.cjs +0 -145
  251. package/dist/sequenceDiagram-WL72ISMW-iCX3ckKx.js +0 -2511
  252. package/dist/spark-design.cjs.js +0 -265
  253. package/dist/spark-design.es.js +0 -13425
  254. package/dist/src/components/basic/AlertDialog/index.d.ts +0 -20
  255. package/dist/src/components/basic/Avatar/index.d.ts +0 -7
  256. package/dist/src/components/basic/Button/index.d.ts +0 -7
  257. package/dist/src/components/basic/Collapse/index.d.ts +0 -15
  258. package/dist/src/components/basic/Collapsible/index.d.ts +0 -7
  259. package/dist/src/components/basic/CollapsibleCard/index.d.ts +0 -7
  260. package/dist/src/components/basic/CollapsibleSection/index.d.ts +0 -43
  261. package/dist/src/components/basic/DropdownMenu/index.d.ts +0 -19
  262. package/dist/src/components/basic/EllipsisText/index.d.ts +0 -53
  263. package/dist/src/components/basic/IconButton/index.d.ts +0 -7
  264. package/dist/src/components/basic/Kbd/index.d.ts +0 -7
  265. package/dist/src/components/basic/OptionList/index.d.ts +0 -7
  266. package/dist/src/components/basic/Pagination/index.d.ts +0 -7
  267. package/dist/src/components/basic/Progress/index.d.ts +0 -7
  268. package/dist/src/components/basic/RadioGroup/index.d.ts +0 -7
  269. package/dist/src/components/basic/Resizable/index.d.ts +0 -7
  270. package/dist/src/components/basic/Scrollbar/index.d.ts +0 -7
  271. package/dist/src/components/basic/Select/index.d.ts +0 -17
  272. package/dist/src/components/basic/ShimmeringText/index.d.ts +0 -7
  273. package/dist/src/components/basic/SidebarMenu/index.d.ts +0 -4
  274. package/dist/src/components/basic/Skeleton/index.d.ts +0 -7
  275. package/dist/src/components/basic/Slider/index.d.ts +0 -7
  276. package/dist/src/components/basic/Spinner/index.d.ts +0 -7
  277. package/dist/src/components/basic/Switch/index.d.ts +0 -38
  278. package/dist/src/components/basic/Table/index.d.ts +0 -7
  279. package/dist/src/components/basic/Tabs/index.d.ts +0 -7
  280. package/dist/src/components/basic/Tag/index.d.ts +0 -10
  281. package/dist/src/components/basic/Toast/index.d.ts +0 -12
  282. package/dist/src/components/basic/Toggle/index.d.ts +0 -7
  283. package/dist/src/components/basic/Tooltip/index.d.ts +0 -21
  284. package/dist/src/components/basic/Typography/index.d.ts +0 -7
  285. package/dist/src/components/chat/AskUserPart/index.d.ts +0 -6
  286. package/dist/src/components/chat/BrowserActionPart/index.d.ts +0 -7
  287. package/dist/src/components/chat/ChatInput/index.d.ts +0 -29
  288. package/dist/src/components/chat/CodeBlockPart/index.d.ts +0 -7
  289. package/dist/src/components/chat/FileAttachment/index.d.ts +0 -3
  290. package/dist/src/components/chat/FileCard/index.d.ts +0 -3
  291. package/dist/src/components/chat/FileReviewPart/index.d.ts +0 -7
  292. package/dist/src/components/chat/FolderButton/index.d.ts +0 -5
  293. package/dist/src/components/chat/GeneratedImagesGrid/index.d.ts +0 -7
  294. package/dist/src/components/chat/GenerationStatusBar/index.d.ts +0 -7
  295. package/dist/src/components/chat/HintBanner/index.d.ts +0 -6
  296. package/dist/src/components/chat/ImageAttachment/index.d.ts +0 -3
  297. package/dist/src/components/chat/ImageGenerating/index.d.ts +0 -6
  298. package/dist/src/components/chat/Markdown/demo-content.d.ts +0 -1
  299. package/dist/src/components/chat/Markdown/index.d.ts +0 -7
  300. package/dist/src/components/chat/MermaidPart/index.d.ts +0 -6
  301. package/dist/src/components/chat/PermissionCard/index.d.ts +0 -4
  302. package/dist/src/components/chat/PlanPart/index.d.ts +0 -6
  303. package/dist/src/components/chat/QueueIndicator/index.d.ts +0 -4
  304. package/dist/src/components/chat/ReasoningStep/index.d.ts +0 -13
  305. package/dist/src/components/chat/RelatedPrompts/index.d.ts +0 -6
  306. package/dist/src/components/chat/Response/StreamingMarkdownBlock.d.ts +0 -6
  307. package/dist/src/components/chat/Response/index.d.ts +0 -16
  308. package/dist/src/components/chat/SendButton/index.d.ts +0 -5
  309. package/dist/src/components/chat/TaskPart/index.d.ts +0 -7
  310. package/dist/src/components/chat/TerminalCodeBlockPart/index.d.ts +0 -6
  311. package/dist/src/components/chat/ThinkingIndicator/index.d.ts +0 -6
  312. package/dist/src/components/chat/ToolInvocationCard/index.d.ts +0 -4
  313. package/dist/src/components/chat/UserMessage/index.d.ts +0 -7
  314. package/dist/src/components/chat/UserQuestion/index.d.ts +0 -19
  315. package/dist/src/components/chat/UserQuestionAnswer/index.d.ts +0 -3
  316. package/dist/src/components/index.d.ts +0 -138
  317. package/dist/src/icons/context.d.ts +0 -26
  318. package/dist/src/icons/types.d.ts +0 -18
  319. package/dist/src/lib/ThemeStyleContext.d.ts +0 -21
  320. package/dist/src/lib/file-icon.d.ts +0 -16
  321. package/dist/src/lib/i18n.d.ts +0 -12
  322. package/dist/src/lib/index.d.ts +0 -10
  323. package/dist/src/lib/motion.d.ts +0 -22
  324. package/dist/src/lib/utils.d.ts +0 -11
  325. package/dist/stateDiagram-FKZM4ZOC-DBvJ_eeL.cjs +0 -1
  326. package/dist/stateDiagram-FKZM4ZOC-ZVsJlaHJ.js +0 -263
  327. package/dist/stateDiagram-v2-4FDKWEC3-CB_nTHcE.js +0 -16
  328. package/dist/stateDiagram-v2-4FDKWEC3-Xkx17v6T.cjs +0 -1
  329. package/dist/theme-base.css +0 -270
  330. package/dist/theme.css +0 -17
  331. package/dist/themes/dark-parchment.css +0 -133
  332. package/dist/themes/dark-qoder.css +0 -133
  333. package/dist/themes/light-parchment.css +0 -124
  334. package/dist/themes/light-qoder.css +0 -132
  335. package/dist/timeline-definition-IT6M3QCI-BmGkYQiz.cjs +0 -61
  336. package/dist/timeline-definition-IT6M3QCI-Ck8zTt6w.js +0 -795
  337. package/dist/tokens/CLAUDE.md +0 -305
  338. package/dist/tokens/index.css +0 -35
  339. package/dist/tokens/scale/computed.css +0 -103
  340. package/dist/tokens/scale/config.css +0 -110
  341. package/dist/tokens/scale/index.css +0 -30
  342. package/dist/tokens/scale/presets/compact.css +0 -30
  343. package/dist/tokens/scale/presets/dense.css +0 -64
  344. package/dist/tokens/scale/presets/sharp.css +0 -40
  345. package/dist/tokens/scale/presets/soft.css +0 -16
  346. package/dist/tokens/scale.css +0 -13
  347. package/dist/tokens/scrollbar-utility.css +0 -35
  348. package/dist/tokens/theme-base.css +0 -270
  349. package/dist/tokens/theme.css +0 -17
  350. package/dist/tokens/themes/dark-parchment.css +0 -133
  351. package/dist/tokens/themes/dark-qoder.css +0 -133
  352. package/dist/tokens/themes/light-parchment.css +0 -124
  353. package/dist/tokens/themes/light-qoder.css +0 -132
  354. package/dist/treemap-GDKQZRPO-B9sfERx8.js +0 -17922
  355. package/dist/treemap-GDKQZRPO-BVfJRs0Z.cjs +0 -160
  356. package/dist/xychartDiagram-PRI3JC2R-By_S8NzN.js +0 -1340
  357. package/dist/xychartDiagram-PRI3JC2R-CNfDrGxM.cjs +0 -7
  358. /package/{cli/dist → dist}/commands/diff.js +0 -0
  359. /package/{cli/dist → dist}/commands/init.js +0 -0
  360. /package/{cli/dist → dist}/commands/list.js +0 -0
  361. /package/{cli/dist → dist}/index.js +0 -0
  362. /package/{cli/dist → dist}/utils/config.js +0 -0
  363. /package/{cli/dist → dist}/utils/registry.js +0 -0
  364. /package/{cli/dist → dist}/utils/tokens.js +0 -0
  365. /package/{cli/dist → dist}/utils/transform.js +0 -0
  366. /package/{cli/registry → registry}/__tests__/basic/button.test.tsx +0 -0
  367. /package/{cli/registry → registry}/__tests__/chat/markdown.test.tsx +0 -0
  368. /package/{cli/registry → registry}/__tests__/chat/thinking-indicator.test.tsx +0 -0
  369. /package/{cli/registry → registry}/__tests__/chat/tool-invocation-card.test.tsx +0 -0
  370. /package/{cli/registry → registry}/basic/alert-dialog.tsx +0 -0
  371. /package/{cli/registry → registry}/basic/avatar.tsx +0 -0
  372. /package/{cli/registry → registry}/basic/button.tsx +0 -0
  373. /package/{cli/registry → registry}/basic/collapse.tsx +0 -0
  374. /package/{cli/registry → registry}/basic/collapsible-card.tsx +0 -0
  375. /package/{cli/registry → registry}/basic/collapsible.tsx +0 -0
  376. /package/{cli/registry → registry}/basic/dropdown-menu.tsx +0 -0
  377. /package/{cli/registry → registry}/basic/icon-button.tsx +0 -0
  378. /package/{cli/registry → registry}/basic/icons-inline.tsx +0 -0
  379. /package/{cli/registry → registry}/basic/kbd.tsx +0 -0
  380. /package/{cli/registry → registry}/basic/option-list.tsx +0 -0
  381. /package/{cli/registry → registry}/basic/pagination.tsx +0 -0
  382. /package/{cli/registry → registry}/basic/progress.tsx +0 -0
  383. /package/{cli/registry → registry}/basic/radio-group.tsx +0 -0
  384. /package/{cli/registry → registry}/basic/resizable.tsx +0 -0
  385. /package/{cli/registry → registry}/basic/scrollbar.tsx +0 -0
  386. /package/{cli/registry → registry}/basic/select.tsx +0 -0
  387. /package/{cli/registry → registry}/basic/shimmering-text.tsx +0 -0
  388. /package/{cli/registry → registry}/basic/sidebar-menu.tsx +0 -0
  389. /package/{cli/registry → registry}/basic/skeleton.tsx +0 -0
  390. /package/{cli/registry → registry}/basic/slider.tsx +0 -0
  391. /package/{cli/registry → registry}/basic/sonner.tsx +0 -0
  392. /package/{cli/registry → registry}/basic/spinner.tsx +0 -0
  393. /package/{cli/registry → registry}/basic/switch.tsx +0 -0
  394. /package/{cli/registry → registry}/basic/table.tsx +0 -0
  395. /package/{cli/registry → registry}/basic/tabs.tsx +0 -0
  396. /package/{cli/registry → registry}/basic/tag.tsx +0 -0
  397. /package/{cli/registry → registry}/basic/theme-from-document.ts +0 -0
  398. /package/{cli/registry → registry}/basic/toggle.tsx +0 -0
  399. /package/{cli/registry → registry}/basic/tooltip.tsx +0 -0
  400. /package/{cli/registry → registry}/basic/typography.tsx +0 -0
  401. /package/{cli/registry → registry}/chat/ask-user-part.tsx +0 -0
  402. /package/{cli/registry → registry}/chat/browser-action-part.tsx +0 -0
  403. /package/{cli/registry → registry}/chat/chat-input/chat-input-folder-selector.tsx +0 -0
  404. /package/{cli/registry → registry}/chat/chat-input/chat-input-model-switcher.tsx +0 -0
  405. /package/{cli/registry → registry}/chat/chat-input/chat-input-textarea.tsx +0 -0
  406. /package/{cli/registry → registry}/chat/chat-input/compound.tsx +0 -0
  407. /package/{cli/registry → registry}/chat/chat-input/context.tsx +0 -0
  408. /package/{cli/registry → registry}/chat/chat-input/folder-permission-dialog.tsx +0 -0
  409. /package/{cli/registry → registry}/chat/chat-input/index.tsx +0 -0
  410. /package/{cli/registry → registry}/chat/chat-input/types.ts +0 -0
  411. /package/{cli/registry → registry}/chat/chat-input/useAutoResizeTextarea.ts +0 -0
  412. /package/{cli/registry → registry}/chat/code-block-part.tsx +0 -0
  413. /package/{cli/registry → registry}/chat/file-attachment.tsx +0 -0
  414. /package/{cli/registry → registry}/chat/file-card.tsx +0 -0
  415. /package/{cli/registry → registry}/chat/file-review-part.tsx +0 -0
  416. /package/{cli/registry → registry}/chat/folder-button.tsx +0 -0
  417. /package/{cli/registry → registry}/chat/generated-images-grid.tsx +0 -0
  418. /package/{cli/registry → registry}/chat/generation-status-bar.tsx +0 -0
  419. /package/{cli/registry → registry}/chat/hint-banner.tsx +0 -0
  420. /package/{cli/registry → registry}/chat/image-attachment.tsx +0 -0
  421. /package/{cli/registry → registry}/chat/image-generating.tsx +0 -0
  422. /package/{cli/registry → registry}/chat/mermaid-part.tsx +0 -0
  423. /package/{cli/registry → registry}/chat/permission-card.tsx +0 -0
  424. /package/{cli/registry → registry}/chat/plan-part.tsx +0 -0
  425. /package/{cli/registry → registry}/chat/queue-indicator.tsx +0 -0
  426. /package/{cli/registry → registry}/chat/reasoning-step/compound.tsx +0 -0
  427. /package/{cli/registry → registry}/chat/reasoning-step/context.tsx +0 -0
  428. /package/{cli/registry → registry}/chat/reasoning-step/index.tsx +0 -0
  429. /package/{cli/registry → registry}/chat/reasoning-step/types.ts +0 -0
  430. /package/{cli/registry → registry}/chat/related-prompts.tsx +0 -0
  431. /package/{cli/registry → registry}/chat/response/compound.tsx +0 -0
  432. /package/{cli/registry → registry}/chat/response/context.tsx +0 -0
  433. /package/{cli/registry → registry}/chat/response/index.tsx +0 -0
  434. /package/{cli/registry → registry}/chat/response/types.ts +0 -0
  435. /package/{cli/registry → registry}/chat/send-button.tsx +0 -0
  436. /package/{cli/registry → registry}/chat/streaming-markdown-block.tsx +0 -0
  437. /package/{cli/registry → registry}/chat/task-part.tsx +0 -0
  438. /package/{cli/registry → registry}/chat/terminal-code-block-part.tsx +0 -0
  439. /package/{cli/registry → registry}/chat/thinking-indicator.tsx +0 -0
  440. /package/{cli/registry → registry}/chat/user-message.tsx +0 -0
  441. /package/{cli/registry → registry}/chat/user-question/UserQuestionCard.tsx +0 -0
  442. /package/{cli/registry → registry}/chat/user-question/UserQuestionFooter.tsx +0 -0
  443. /package/{cli/registry → registry}/chat/user-question/UserQuestionHeader.tsx +0 -0
  444. /package/{cli/registry → registry}/chat/user-question/compound.tsx +0 -0
  445. /package/{cli/registry → registry}/chat/user-question/context.tsx +0 -0
  446. /package/{cli/registry → registry}/chat/user-question/index.tsx +0 -0
  447. /package/{cli/registry → registry}/chat/user-question/types.ts +0 -0
  448. /package/{cli/registry → registry}/chat/user-question/useUserQuestionKeyboard.ts +0 -0
  449. /package/{cli/registry → registry}/chat/user-question/useUserQuestionState.ts +0 -0
  450. /package/{cli/registry → registry}/chat/user-question-answer.tsx +0 -0
  451. /package/{cli/registry → registry}/lib/file-icon-maps.ts +0 -0
  452. /package/{cli/registry → registry}/lib/use-mermaid-render.ts +0 -0
  453. /package/{cli/registry → registry}/lib/utils.ts +0 -0
  454. /package/{cli/registry → registry}/tokens/index.css +0 -0
  455. /package/{cli/registry → registry}/tokens/scale/computed.css +0 -0
  456. /package/{cli/registry → registry}/tokens/scale/config.css +0 -0
  457. /package/{cli/registry → registry}/tokens/scale/index.css +0 -0
  458. /package/{cli/registry → registry}/tokens/scale/presets/compact.css +0 -0
  459. /package/{cli/registry → registry}/tokens/scale/presets/dense.css +0 -0
  460. /package/{cli/registry → registry}/tokens/scale/presets/sharp.css +0 -0
  461. /package/{cli/registry → registry}/tokens/scale/presets/soft.css +0 -0
  462. /package/{cli/registry → registry}/tokens/scale.css +0 -0
  463. /package/{cli/registry → registry}/tokens/scrollbar-utility.css +0 -0
  464. /package/{cli/registry → registry}/tokens/theme.css +0 -0
  465. /package/{cli/registry → registry}/tokens/themes/dark-parchment.css +0 -0
  466. /package/{cli/registry → registry}/tokens/themes/dark-qoder.css +0 -0
  467. /package/{cli/registry → registry}/tokens/themes/light-parchment.css +0 -0
  468. /package/{cli/registry → registry}/tokens/themes/light-qoder.css +0 -0
@@ -1,719 +0,0 @@
1
- import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as Ee, E as Y, i as F, t as _e, J as ke, W as Se, X as ce, Y as le } from "./mermaid.core-gFR0XUlD.js";
2
- import { g as Ne } from "./chunk-FMBD7UC4-CsGMbrtr.js";
3
- var $ = (function() {
4
- var e = /* @__PURE__ */ o(function(O, i, n, r) {
5
- for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
6
- return n;
7
- }, "o"), u = [1, 4], p = [1, 13], s = [1, 12], d = [1, 15], _ = [1, 16], b = [1, 20], l = [1, 19], D = [6, 7, 8], I = [1, 26], g = [1, 24], w = [1, 25], E = [6, 7, 11], G = [1, 31], N = [6, 7, 11, 24], V = [1, 6, 13, 16, 17, 20, 23], m = [1, 35], A = [1, 36], L = [1, 6, 7, 11, 13, 16, 17, 20, 23], H = [1, 38], T = {
8
- trace: /* @__PURE__ */ o(function() {
9
- }, "trace"),
10
- yy: {},
11
- symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, KANBAN: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, shapeData: 15, ICON: 16, CLASS: 17, nodeWithId: 18, nodeWithoutId: 19, NODE_DSTART: 20, NODE_DESCR: 21, NODE_DEND: 22, NODE_ID: 23, SHAPE_DATA: 24, $accept: 0, $end: 1 },
12
- terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "KANBAN", 11: "EOF", 13: "SPACELIST", 16: "ICON", 17: "CLASS", 20: "NODE_DSTART", 21: "NODE_DESCR", 22: "NODE_DEND", 23: "NODE_ID", 24: "SHAPE_DATA" },
13
- productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 3], [12, 2], [12, 2], [12, 2], [12, 1], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [19, 3], [18, 1], [18, 4], [15, 2], [15, 1]],
14
- performAction: /* @__PURE__ */ o(function(i, n, r, a, h, t, M) {
15
- var c = t.length - 1;
16
- switch (h) {
17
- case 6:
18
- case 7:
19
- return a;
20
- case 8:
21
- a.getLogger().trace("Stop NL ");
22
- break;
23
- case 9:
24
- a.getLogger().trace("Stop EOF ");
25
- break;
26
- case 11:
27
- a.getLogger().trace("Stop NL2 ");
28
- break;
29
- case 12:
30
- a.getLogger().trace("Stop EOF2 ");
31
- break;
32
- case 15:
33
- a.getLogger().info("Node: ", t[c - 1].id), a.addNode(t[c - 2].length, t[c - 1].id, t[c - 1].descr, t[c - 1].type, t[c]);
34
- break;
35
- case 16:
36
- a.getLogger().info("Node: ", t[c].id), a.addNode(t[c - 1].length, t[c].id, t[c].descr, t[c].type);
37
- break;
38
- case 17:
39
- a.getLogger().trace("Icon: ", t[c]), a.decorateNode({ icon: t[c] });
40
- break;
41
- case 18:
42
- case 23:
43
- a.decorateNode({ class: t[c] });
44
- break;
45
- case 19:
46
- a.getLogger().trace("SPACELIST");
47
- break;
48
- case 20:
49
- a.getLogger().trace("Node: ", t[c - 1].id), a.addNode(0, t[c - 1].id, t[c - 1].descr, t[c - 1].type, t[c]);
50
- break;
51
- case 21:
52
- a.getLogger().trace("Node: ", t[c].id), a.addNode(0, t[c].id, t[c].descr, t[c].type);
53
- break;
54
- case 22:
55
- a.decorateNode({ icon: t[c] });
56
- break;
57
- case 27:
58
- a.getLogger().trace("node found ..", t[c - 2]), this.$ = { id: t[c - 1], descr: t[c - 1], type: a.getType(t[c - 2], t[c]) };
59
- break;
60
- case 28:
61
- this.$ = { id: t[c], descr: t[c], type: 0 };
62
- break;
63
- case 29:
64
- a.getLogger().trace("node found ..", t[c - 3]), this.$ = { id: t[c - 3], descr: t[c - 1], type: a.getType(t[c - 2], t[c]) };
65
- break;
66
- case 30:
67
- this.$ = t[c - 1] + t[c];
68
- break;
69
- case 31:
70
- this.$ = t[c];
71
- break;
72
- }
73
- }, "anonymous"),
74
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: u }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: u }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: b, 23: l }, e(D, [2, 3]), { 1: [2, 2] }, e(D, [2, 4]), e(D, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: b, 23: l }, { 6: p, 9: 22, 12: 11, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: b, 23: l }, { 6: I, 7: g, 10: 23, 11: w }, e(E, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: b, 23: l }), e(E, [2, 19]), e(E, [2, 21], { 15: 30, 24: G }), e(E, [2, 22]), e(E, [2, 23]), e(N, [2, 25]), e(N, [2, 26]), e(N, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: I, 7: g, 10: 34, 11: w }, { 1: [2, 7], 6: p, 12: 21, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: b, 23: l }, e(V, [2, 14], { 7: m, 11: A }), e(L, [2, 8]), e(L, [2, 9]), e(L, [2, 10]), e(E, [2, 16], { 15: 37, 24: G }), e(E, [2, 17]), e(E, [2, 18]), e(E, [2, 20], { 24: H }), e(N, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, e(V, [2, 13], { 7: m, 11: A }), e(L, [2, 11]), e(L, [2, 12]), e(E, [2, 15], { 24: H }), e(N, [2, 30]), { 22: [1, 41] }, e(N, [2, 27]), e(N, [2, 29])],
75
- defaultActions: { 2: [2, 1], 6: [2, 2] },
76
- parseError: /* @__PURE__ */ o(function(i, n) {
77
- if (n.recoverable)
78
- this.trace(i);
79
- else {
80
- var r = new Error(i);
81
- throw r.hash = n, r;
82
- }
83
- }, "parseError"),
84
- parse: /* @__PURE__ */ o(function(i) {
85
- var n = this, r = [0], a = [], h = [null], t = [], M = this.table, c = "", W = 0, se = 0, ue = 2, re = 1, ge = t.slice.call(arguments, 1), y = Object.create(this.lexer), R = { yy: {} };
86
- for (var J in this.yy)
87
- Object.prototype.hasOwnProperty.call(this.yy, J) && (R.yy[J] = this.yy[J]);
88
- y.setInput(i, R.yy), R.yy.lexer = y, R.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
89
- var q = y.yylloc;
90
- t.push(q);
91
- var de = y.options && y.options.ranges;
92
- typeof R.yy.parseError == "function" ? this.parseError = R.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
93
- function pe(S) {
94
- r.length = r.length - 2 * S, h.length = h.length - S, t.length = t.length - S;
95
- }
96
- o(pe, "popStack");
97
- function ae() {
98
- var S;
99
- return S = a.pop() || y.lex() || re, typeof S != "number" && (S instanceof Array && (a = S, S = a.pop()), S = n.symbols_[S] || S), S;
100
- }
101
- o(ae, "lex");
102
- for (var k, P, x, Q, j = {}, z, C, oe, X; ; ) {
103
- if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((k === null || typeof k > "u") && (k = ae()), x = M[P] && M[P][k]), typeof x > "u" || !x.length || !x[0]) {
104
- var Z = "";
105
- X = [];
106
- for (z in M[P])
107
- this.terminals_[z] && z > ue && X.push("'" + this.terminals_[z] + "'");
108
- y.showPosition ? Z = "Parse error on line " + (W + 1) + `:
109
- ` + y.showPosition() + `
110
- Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "Parse error on line " + (W + 1) + ": Unexpected " + (k == re ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Z, {
111
- text: y.match,
112
- token: this.terminals_[k] || k,
113
- line: y.yylineno,
114
- loc: q,
115
- expected: X
116
- });
117
- }
118
- if (x[0] instanceof Array && x.length > 1)
119
- throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + k);
120
- switch (x[0]) {
121
- case 1:
122
- r.push(k), h.push(y.yytext), t.push(y.yylloc), r.push(x[1]), k = null, se = y.yyleng, c = y.yytext, W = y.yylineno, q = y.yylloc;
123
- break;
124
- case 2:
125
- if (C = this.productions_[x[1]][1], j.$ = h[h.length - C], j._$ = {
126
- first_line: t[t.length - (C || 1)].first_line,
127
- last_line: t[t.length - 1].last_line,
128
- first_column: t[t.length - (C || 1)].first_column,
129
- last_column: t[t.length - 1].last_column
130
- }, de && (j._$.range = [
131
- t[t.length - (C || 1)].range[0],
132
- t[t.length - 1].range[1]
133
- ]), Q = this.performAction.apply(j, [
134
- c,
135
- se,
136
- W,
137
- R.yy,
138
- x[1],
139
- h,
140
- t
141
- ].concat(ge)), typeof Q < "u")
142
- return Q;
143
- C && (r = r.slice(0, -1 * C * 2), h = h.slice(0, -1 * C), t = t.slice(0, -1 * C)), r.push(this.productions_[x[1]][0]), h.push(j.$), t.push(j._$), oe = M[r[r.length - 2]][r[r.length - 1]], r.push(oe);
144
- break;
145
- case 3:
146
- return !0;
147
- }
148
- }
149
- return !0;
150
- }, "parse")
151
- }, K = /* @__PURE__ */ (function() {
152
- var O = {
153
- EOF: 1,
154
- parseError: /* @__PURE__ */ o(function(n, r) {
155
- if (this.yy.parser)
156
- this.yy.parser.parseError(n, r);
157
- else
158
- throw new Error(n);
159
- }, "parseError"),
160
- // resets the lexer, sets new input
161
- setInput: /* @__PURE__ */ o(function(i, n) {
162
- return this.yy = n || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
163
- first_line: 1,
164
- first_column: 0,
165
- last_line: 1,
166
- last_column: 0
167
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
168
- }, "setInput"),
169
- // consumes and returns one char from the input
170
- input: /* @__PURE__ */ o(function() {
171
- var i = this._input[0];
172
- this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
173
- var n = i.match(/(?:\r\n?|\n).*/g);
174
- return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
175
- }, "input"),
176
- // unshifts one char (or a string) into the input
177
- unput: /* @__PURE__ */ o(function(i) {
178
- var n = i.length, r = i.split(/(?:\r\n?|\n)/g);
179
- this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
180
- var a = this.match.split(/(?:\r\n?|\n)/g);
181
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), r.length - 1 && (this.yylineno -= r.length - 1);
182
- var h = this.yylloc.range;
183
- return this.yylloc = {
184
- first_line: this.yylloc.first_line,
185
- last_line: this.yylineno + 1,
186
- first_column: this.yylloc.first_column,
187
- last_column: r ? (r.length === a.length ? this.yylloc.first_column : 0) + a[a.length - r.length].length - r[0].length : this.yylloc.first_column - n
188
- }, this.options.ranges && (this.yylloc.range = [h[0], h[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
189
- }, "unput"),
190
- // When called from action, caches matched text and appends it on next action
191
- more: /* @__PURE__ */ o(function() {
192
- return this._more = !0, this;
193
- }, "more"),
194
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
195
- reject: /* @__PURE__ */ o(function() {
196
- if (this.options.backtrack_lexer)
197
- this._backtrack = !0;
198
- else
199
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
200
- ` + this.showPosition(), {
201
- text: "",
202
- token: null,
203
- line: this.yylineno
204
- });
205
- return this;
206
- }, "reject"),
207
- // retain first n characters of the match
208
- less: /* @__PURE__ */ o(function(i) {
209
- this.unput(this.match.slice(i));
210
- }, "less"),
211
- // displays already matched input, i.e. for error messages
212
- pastInput: /* @__PURE__ */ o(function() {
213
- var i = this.matched.substr(0, this.matched.length - this.match.length);
214
- return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
215
- }, "pastInput"),
216
- // displays upcoming input, i.e. for error messages
217
- upcomingInput: /* @__PURE__ */ o(function() {
218
- var i = this.match;
219
- return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
220
- }, "upcomingInput"),
221
- // displays the character position where the lexing error occurred, i.e. for error messages
222
- showPosition: /* @__PURE__ */ o(function() {
223
- var i = this.pastInput(), n = new Array(i.length + 1).join("-");
224
- return i + this.upcomingInput() + `
225
- ` + n + "^";
226
- }, "showPosition"),
227
- // test the lexed token: return FALSE when not a match, otherwise return token
228
- test_match: /* @__PURE__ */ o(function(i, n) {
229
- var r, a, h;
230
- if (this.options.backtrack_lexer && (h = {
231
- yylineno: this.yylineno,
232
- yylloc: {
233
- first_line: this.yylloc.first_line,
234
- last_line: this.last_line,
235
- first_column: this.yylloc.first_column,
236
- last_column: this.yylloc.last_column
237
- },
238
- yytext: this.yytext,
239
- match: this.match,
240
- matches: this.matches,
241
- matched: this.matched,
242
- yyleng: this.yyleng,
243
- offset: this.offset,
244
- _more: this._more,
245
- _input: this._input,
246
- yy: this.yy,
247
- conditionStack: this.conditionStack.slice(0),
248
- done: this.done
249
- }, this.options.ranges && (h.yylloc.range = this.yylloc.range.slice(0))), a = i[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
250
- first_line: this.yylloc.last_line,
251
- last_line: this.yylineno + 1,
252
- first_column: this.yylloc.last_column,
253
- last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
254
- }, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], r = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
255
- return r;
256
- if (this._backtrack) {
257
- for (var t in h)
258
- this[t] = h[t];
259
- return !1;
260
- }
261
- return !1;
262
- }, "test_match"),
263
- // return next match in input
264
- next: /* @__PURE__ */ o(function() {
265
- if (this.done)
266
- return this.EOF;
267
- this._input || (this.done = !0);
268
- var i, n, r, a;
269
- this._more || (this.yytext = "", this.match = "");
270
- for (var h = this._currentRules(), t = 0; t < h.length; t++)
271
- if (r = this._input.match(this.rules[h[t]]), r && (!n || r[0].length > n[0].length)) {
272
- if (n = r, a = t, this.options.backtrack_lexer) {
273
- if (i = this.test_match(r, h[t]), i !== !1)
274
- return i;
275
- if (this._backtrack) {
276
- n = !1;
277
- continue;
278
- } else
279
- return !1;
280
- } else if (!this.options.flex)
281
- break;
282
- }
283
- return n ? (i = this.test_match(n, h[a]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
284
- ` + this.showPosition(), {
285
- text: "",
286
- token: null,
287
- line: this.yylineno
288
- });
289
- }, "next"),
290
- // return next match that has a token
291
- lex: /* @__PURE__ */ o(function() {
292
- var n = this.next();
293
- return n || this.lex();
294
- }, "lex"),
295
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
296
- begin: /* @__PURE__ */ o(function(n) {
297
- this.conditionStack.push(n);
298
- }, "begin"),
299
- // pop the previously active lexer condition state off the condition stack
300
- popState: /* @__PURE__ */ o(function() {
301
- var n = this.conditionStack.length - 1;
302
- return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
303
- }, "popState"),
304
- // produce the lexer rule set which is active for the currently active lexer condition state
305
- _currentRules: /* @__PURE__ */ o(function() {
306
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
307
- }, "_currentRules"),
308
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
309
- topState: /* @__PURE__ */ o(function(n) {
310
- return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
311
- }, "topState"),
312
- // alias for begin(condition)
313
- pushState: /* @__PURE__ */ o(function(n) {
314
- this.begin(n);
315
- }, "pushState"),
316
- // return the number of states currently on the stack
317
- stateStackSize: /* @__PURE__ */ o(function() {
318
- return this.conditionStack.length;
319
- }, "stateStackSize"),
320
- options: { "case-insensitive": !0 },
321
- performAction: /* @__PURE__ */ o(function(n, r, a, h) {
322
- switch (a) {
323
- case 0:
324
- return this.pushState("shapeData"), r.yytext = "", 24;
325
- case 1:
326
- return this.pushState("shapeDataStr"), 24;
327
- case 2:
328
- return this.popState(), 24;
329
- case 3:
330
- const t = /\n\s*/g;
331
- return r.yytext = r.yytext.replace(t, "<br/>"), 24;
332
- case 4:
333
- return 24;
334
- case 5:
335
- this.popState();
336
- break;
337
- case 6:
338
- return n.getLogger().trace("Found comment", r.yytext), 6;
339
- case 7:
340
- return 8;
341
- case 8:
342
- this.begin("CLASS");
343
- break;
344
- case 9:
345
- return this.popState(), 17;
346
- case 10:
347
- this.popState();
348
- break;
349
- case 11:
350
- n.getLogger().trace("Begin icon"), this.begin("ICON");
351
- break;
352
- case 12:
353
- return n.getLogger().trace("SPACELINE"), 6;
354
- case 13:
355
- return 7;
356
- case 14:
357
- return 16;
358
- case 15:
359
- n.getLogger().trace("end icon"), this.popState();
360
- break;
361
- case 16:
362
- return n.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
363
- case 17:
364
- return n.getLogger().trace("Cloud"), this.begin("NODE"), 20;
365
- case 18:
366
- return n.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
367
- case 19:
368
- return n.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
369
- case 20:
370
- return this.begin("NODE"), 20;
371
- case 21:
372
- return this.begin("NODE"), 20;
373
- case 22:
374
- return this.begin("NODE"), 20;
375
- case 23:
376
- return this.begin("NODE"), 20;
377
- case 24:
378
- return 13;
379
- case 25:
380
- return 23;
381
- case 26:
382
- return 11;
383
- case 27:
384
- this.begin("NSTR2");
385
- break;
386
- case 28:
387
- return "NODE_DESCR";
388
- case 29:
389
- this.popState();
390
- break;
391
- case 30:
392
- n.getLogger().trace("Starting NSTR"), this.begin("NSTR");
393
- break;
394
- case 31:
395
- return n.getLogger().trace("description:", r.yytext), "NODE_DESCR";
396
- case 32:
397
- this.popState();
398
- break;
399
- case 33:
400
- return this.popState(), n.getLogger().trace("node end ))"), "NODE_DEND";
401
- case 34:
402
- return this.popState(), n.getLogger().trace("node end )"), "NODE_DEND";
403
- case 35:
404
- return this.popState(), n.getLogger().trace("node end ...", r.yytext), "NODE_DEND";
405
- case 36:
406
- return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
407
- case 37:
408
- return this.popState(), n.getLogger().trace("node end (-"), "NODE_DEND";
409
- case 38:
410
- return this.popState(), n.getLogger().trace("node end (-"), "NODE_DEND";
411
- case 39:
412
- return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
413
- case 40:
414
- return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
415
- case 41:
416
- return n.getLogger().trace("Long description:", r.yytext), 21;
417
- case 42:
418
- return n.getLogger().trace("Long description:", r.yytext), 21;
419
- }
420
- }, "anonymous"),
421
- rules: [/^(?:@\{)/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^\"]+)/i, /^(?:[^}^"]+)/i, /^(?:\})/i, /^(?:\s*%%.*)/i, /^(?:kanban\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}@]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
422
- conditions: { shapeDataEndBracket: { rules: [], inclusive: !1 }, shapeDataStr: { rules: [2, 3], inclusive: !1 }, shapeData: { rules: [1, 4, 5], inclusive: !1 }, CLASS: { rules: [9, 10], inclusive: !1 }, ICON: { rules: [14, 15], inclusive: !1 }, NSTR2: { rules: [28, 29], inclusive: !1 }, NSTR: { rules: [31, 32], inclusive: !1 }, NODE: { rules: [27, 30, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], inclusive: !1 }, INITIAL: { rules: [0, 6, 7, 8, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], inclusive: !0 } }
423
- };
424
- return O;
425
- })();
426
- T.lexer = K;
427
- function B() {
428
- this.yy = {};
429
- }
430
- return o(B, "Parser"), B.prototype = T, T.Parser = B, new B();
431
- })();
432
- $.parser = $;
433
- var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
434
- v = [], ne = [], ee = 0, ie = {};
435
- }, "clear"), De = /* @__PURE__ */ o((e) => {
436
- if (v.length === 0)
437
- return null;
438
- const u = v[0].level;
439
- let p = null;
440
- for (let s = v.length - 1; s >= 0; s--)
441
- if (v[s].level === u && !p && (p = v[s]), v[s].level < u)
442
- throw new Error('Items without section detected, found section ("' + v[s].label + '")');
443
- return e === p?.level ? null : p;
444
- }, "getSection"), he = /* @__PURE__ */ o(function() {
445
- return ne;
446
- }, "getSections"), Le = /* @__PURE__ */ o(function() {
447
- const e = [], u = [], p = he(), s = U();
448
- for (const d of p) {
449
- const _ = {
450
- id: d.id,
451
- label: F(d.label ?? "", s),
452
- isGroup: !0,
453
- ticket: d.ticket,
454
- shape: "kanbanSection",
455
- level: d.level,
456
- look: s.look
457
- };
458
- u.push(_);
459
- const b = v.filter((l) => l.parentId === d.id);
460
- for (const l of b) {
461
- const D = {
462
- id: l.id,
463
- parentId: d.id,
464
- label: F(l.label ?? "", s),
465
- isGroup: !1,
466
- ticket: l?.ticket,
467
- priority: l?.priority,
468
- assigned: l?.assigned,
469
- icon: l?.icon,
470
- shape: "kanbanItem",
471
- level: l.level,
472
- rx: 5,
473
- ry: 5,
474
- cssStyles: ["text-align: left"]
475
- };
476
- u.push(D);
477
- }
478
- }
479
- return { nodes: u, edges: e, other: {}, config: U() };
480
- }, "getData"), Oe = /* @__PURE__ */ o((e, u, p, s, d) => {
481
- const _ = U();
482
- let b = _.mindmap?.padding ?? Y.mindmap.padding;
483
- switch (s) {
484
- case f.ROUNDED_RECT:
485
- case f.RECT:
486
- case f.HEXAGON:
487
- b *= 2;
488
- }
489
- const l = {
490
- id: F(u, _) || "kbn" + ee++,
491
- level: e,
492
- label: F(p, _),
493
- width: _.mindmap?.maxNodeWidth ?? Y.mindmap.maxNodeWidth,
494
- padding: b,
495
- isGroup: !1
496
- };
497
- if (d !== void 0) {
498
- let I;
499
- d.includes(`
500
- `) ? I = d + `
501
- ` : I = `{
502
- ` + d + `
503
- }`;
504
- const g = _e(I, { schema: ke });
505
- if (g.shape && (g.shape !== g.shape.toLowerCase() || g.shape.includes("_")))
506
- throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);
507
- g?.shape && g.shape === "kanbanItem" && (l.shape = g?.shape), g?.label && (l.label = g?.label), g?.icon && (l.icon = g?.icon.toString()), g?.assigned && (l.assigned = g?.assigned.toString()), g?.ticket && (l.ticket = g?.ticket.toString()), g?.priority && (l.priority = g?.priority);
508
- }
509
- const D = De(e);
510
- D ? l.parentId = D.id || "kbn" + ee++ : ne.push(l), v.push(l);
511
- }, "addNode"), f = {
512
- DEFAULT: 0,
513
- NO_BORDER: 0,
514
- ROUNDED_RECT: 1,
515
- RECT: 2,
516
- CIRCLE: 3,
517
- CLOUD: 4,
518
- BANG: 5,
519
- HEXAGON: 6
520
- }, Ie = /* @__PURE__ */ o((e, u) => {
521
- switch (te.debug("In get type", e, u), e) {
522
- case "[":
523
- return f.RECT;
524
- case "(":
525
- return u === ")" ? f.ROUNDED_RECT : f.CLOUD;
526
- case "((":
527
- return f.CIRCLE;
528
- case ")":
529
- return f.CLOUD;
530
- case "))":
531
- return f.BANG;
532
- case "{{":
533
- return f.HEXAGON;
534
- default:
535
- return f.DEFAULT;
536
- }
537
- }, "getType"), Ce = /* @__PURE__ */ o((e, u) => {
538
- ie[e] = u;
539
- }, "setElementForId"), we = /* @__PURE__ */ o((e) => {
540
- if (!e)
541
- return;
542
- const u = U(), p = v[v.length - 1];
543
- e.icon && (p.icon = F(e.icon, u)), e.class && (p.cssClasses = F(e.class, u));
544
- }, "decorateNode"), Ae = /* @__PURE__ */ o((e) => {
545
- switch (e) {
546
- case f.DEFAULT:
547
- return "no-border";
548
- case f.RECT:
549
- return "rect";
550
- case f.ROUNDED_RECT:
551
- return "rounded-rect";
552
- case f.CIRCLE:
553
- return "circle";
554
- case f.CLOUD:
555
- return "cloud";
556
- case f.BANG:
557
- return "bang";
558
- case f.HEXAGON:
559
- return "hexgon";
560
- // cspell: disable-line
561
- default:
562
- return "no-border";
563
- }
564
- }, "type2Str"), Te = /* @__PURE__ */ o(() => te, "getLogger"), Re = /* @__PURE__ */ o((e) => ie[e], "getElementById"), Pe = {
565
- clear: ve,
566
- addNode: Oe,
567
- getSections: he,
568
- getData: Le,
569
- nodeType: f,
570
- getType: Ie,
571
- setElementForId: Ce,
572
- decorateNode: we,
573
- type2Str: Ae,
574
- getLogger: Te,
575
- getElementById: Re
576
- }, Ve = Pe, Be = /* @__PURE__ */ o(async (e, u, p, s) => {
577
- te.debug(`Rendering kanban diagram
578
- ` + e);
579
- const _ = s.db.getData(), b = U();
580
- b.htmlLabels = !1;
581
- const l = fe(u), D = l.append("g");
582
- D.attr("class", "sections");
583
- const I = l.append("g");
584
- I.attr("class", "items");
585
- const g = _.nodes.filter(
586
- // TODO: TypeScript 5.5 will infer this predicate automatically
587
- (m) => m.isGroup
588
- );
589
- let w = 0;
590
- const E = 10, G = [];
591
- let N = 25;
592
- for (const m of g) {
593
- const A = b?.kanban?.sectionWidth || 200;
594
- w = w + 1, m.x = A * w + (w - 1) * E / 2, m.width = A, m.y = 0, m.height = A * 3, m.rx = 5, m.ry = 5, m.cssClasses = m.cssClasses + " section-" + w;
595
- const L = await ye(D, m);
596
- N = Math.max(N, L?.labelBBox?.height), G.push(L);
597
- }
598
- let V = 0;
599
- for (const m of g) {
600
- const A = G[V];
601
- V = V + 1;
602
- const L = b?.kanban?.sectionWidth || 200, H = -L * 3 / 2 + N;
603
- let T = H;
604
- const K = _.nodes.filter((i) => i.parentId === m.id);
605
- for (const i of K) {
606
- if (i.isGroup)
607
- throw new Error("Groups within groups are not allowed in Kanban diagrams");
608
- i.x = m.x, i.width = L - 1.5 * E;
609
- const r = (await be(I, i, { config: b })).node().getBBox();
610
- i.y = T + r.height / 2, await me(i), T = i.y + r.height / 2 + E / 2;
611
- }
612
- const B = A.cluster.select("rect"), O = Math.max(T - H + 3 * E, 50) + (N - 25);
613
- B.attr("height", O);
614
- }
615
- Ee(
616
- void 0,
617
- l,
618
- b.mindmap?.padding ?? Y.kanban.padding,
619
- b.mindmap?.useMaxWidth ?? Y.kanban.useMaxWidth
620
- );
621
- }, "draw"), je = {
622
- draw: Be
623
- }, Fe = /* @__PURE__ */ o((e) => {
624
- let u = "";
625
- for (let s = 0; s < e.THEME_COLOR_LIMIT; s++)
626
- e["lineColor" + s] = e["lineColor" + s] || e["cScaleInv" + s], Se(e["lineColor" + s]) ? e["lineColor" + s] = ce(e["lineColor" + s], 20) : e["lineColor" + s] = le(e["lineColor" + s], 20);
627
- const p = /* @__PURE__ */ o((s, d) => e.darkMode ? le(s, d) : ce(s, d), "adjuster");
628
- for (let s = 0; s < e.THEME_COLOR_LIMIT; s++) {
629
- const d = "" + (17 - 3 * s);
630
- u += `
631
- .section-${s - 1} rect, .section-${s - 1} path, .section-${s - 1} circle, .section-${s - 1} polygon, .section-${s - 1} path {
632
- fill: ${p(e["cScale" + s], 10)};
633
- stroke: ${p(e["cScale" + s], 10)};
634
-
635
- }
636
- .section-${s - 1} text {
637
- fill: ${e["cScaleLabel" + s]};
638
- }
639
- .node-icon-${s - 1} {
640
- font-size: 40px;
641
- color: ${e["cScaleLabel" + s]};
642
- }
643
- .section-edge-${s - 1}{
644
- stroke: ${e["cScale" + s]};
645
- }
646
- .edge-depth-${s - 1}{
647
- stroke-width: ${d};
648
- }
649
- .section-${s - 1} line {
650
- stroke: ${e["cScaleInv" + s]} ;
651
- stroke-width: 3;
652
- }
653
-
654
- .disabled, .disabled circle, .disabled text {
655
- fill: lightgray;
656
- }
657
- .disabled text {
658
- fill: #efefef;
659
- }
660
-
661
- .node rect,
662
- .node circle,
663
- .node ellipse,
664
- .node polygon,
665
- .node path {
666
- fill: ${e.background};
667
- stroke: ${e.nodeBorder};
668
- stroke-width: 1px;
669
- }
670
-
671
- .kanban-ticket-link {
672
- fill: ${e.background};
673
- stroke: ${e.nodeBorder};
674
- text-decoration: underline;
675
- }
676
- `;
677
- }
678
- return u;
679
- }, "genSections"), Ge = /* @__PURE__ */ o((e) => `
680
- .edge {
681
- stroke-width: 3;
682
- }
683
- ${Fe(e)}
684
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
685
- fill: ${e.git0};
686
- }
687
- .section-root text {
688
- fill: ${e.gitBranchLabel0};
689
- }
690
- .icon-container {
691
- height:100%;
692
- display: flex;
693
- justify-content: center;
694
- align-items: center;
695
- }
696
- .edge {
697
- fill: none;
698
- }
699
- .cluster-label, .label {
700
- color: ${e.textColor};
701
- fill: ${e.textColor};
702
- }
703
- .kanban-label {
704
- dy: 1em;
705
- alignment-baseline: middle;
706
- text-anchor: middle;
707
- dominant-baseline: middle;
708
- text-align: center;
709
- }
710
- ${Ne()}
711
- `, "getStyles"), He = Ge, We = {
712
- db: Ve,
713
- renderer: je,
714
- parser: xe,
715
- styles: He
716
- };
717
- export {
718
- We as diagram
719
- };