ranui 0.2.1-alpha.1 → 0.2.1-alpha.4

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 (312) hide show
  1. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
  2. package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
  3. package/dist/arc-D25LhgTs.cjs +1 -0
  4. package/dist/arc-DRPGof21.js +82 -0
  5. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
  6. package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
  7. package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
  8. package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
  9. package/dist/array-By5736M5.js +7 -0
  10. package/dist/array-C3cbN3GY.cjs +1 -0
  11. package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
  12. package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
  13. package/dist/builder.d.ts +2 -2
  14. package/dist/builder.js +39 -34
  15. package/dist/{builtin-D9djWkCE.js → builtin-1lUEp_ro.js} +83 -76
  16. package/dist/button-Cj-XSCsd.js +117 -0
  17. package/dist/button.js +1 -1
  18. package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
  19. package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
  20. package/dist/{card-CqJa4Q_v.js → card-BHN9Xp4S.js} +2 -2
  21. package/dist/card.js +1 -1
  22. package/dist/channel-C9WSNwcS.cjs +1 -0
  23. package/dist/channel-k5-UxdcV.js +5 -0
  24. package/dist/{checkbox-CThC9-vy.js → checkbox-O_J_n1_W.js} +10 -10
  25. package/dist/checkbox.js +1 -1
  26. package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
  27. package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
  28. package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
  29. package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
  30. package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
  31. package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
  32. package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
  33. package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
  34. package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
  35. package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
  36. package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
  37. package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
  38. package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
  39. package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
  40. package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
  41. package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
  42. package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
  43. package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
  44. package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
  45. package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
  46. package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
  47. package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
  48. package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
  49. package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
  50. package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
  51. package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
  52. package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
  53. package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
  54. package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
  55. package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
  56. package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
  57. package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
  58. package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
  59. package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
  60. package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
  61. package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
  62. package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
  63. package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
  64. package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
  65. package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
  66. package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
  67. package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
  68. package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
  69. package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
  70. package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
  71. package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
  72. package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
  73. package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
  74. package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
  75. package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
  76. package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
  77. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
  78. package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
  79. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
  80. package/dist/{colorpicker-XNxDRcQ-.js → colorpicker-mebH0XLm.js} +8 -8
  81. package/dist/colorpicker.js +1 -1
  82. package/dist/components/glass/index.d.ts +52 -0
  83. package/dist/components/icon/core-icons.d.ts +13 -0
  84. package/dist/components/icon/index.d.ts +1 -1
  85. package/dist/components/mermaid/index.d.ts +52 -0
  86. package/dist/components/modal/index.d.ts +9 -0
  87. package/dist/content-YOKzMoc7.js +39 -0
  88. package/dist/content.js +5 -0
  89. package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
  90. package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
  91. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
  92. package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
  93. package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
  94. package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
  95. package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
  96. package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
  97. package/dist/dagre-D1-W1tt6.cjs +1 -0
  98. package/dist/dagre-D8GLTwuf.js +1578 -0
  99. package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
  100. package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
  101. package/dist/defaultLocale-0M_kMcEH.js +184 -0
  102. package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
  103. package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
  104. package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
  105. package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
  106. package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
  107. package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
  108. package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
  109. package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
  110. package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
  111. package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
  112. package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
  113. package/dist/dist-C0Fwsvsq.js +70 -0
  114. package/dist/dist-C20XxSsP.cjs +1 -0
  115. package/dist/{dropdown-CCvsambb.js → dropdown-CzGAVWYC.js} +4 -4
  116. package/dist/dropdown.js +1 -1
  117. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
  118. package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
  119. package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
  120. package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
  121. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
  122. package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
  123. package/dist/factory-ZNhcQ4tf.js +482 -0
  124. package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
  125. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
  126. package/dist/{form-Ceq3uJzz.js → form-B8afuJlF.js} +5 -5
  127. package/dist/form.js +1 -1
  128. package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
  129. package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
  130. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
  131. package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
  132. package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
  133. package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
  134. package/dist/glass-BniIptBE.js +115 -0
  135. package/dist/glass.js +5 -0
  136. package/dist/graphlib-CCKThIKP.js +1104 -0
  137. package/dist/graphlib-Du-578Js.cjs +1 -0
  138. package/dist/{icon-C_ENrJ3F.js → icon-GZrfSeon.js} +77 -25
  139. package/dist/icon.js +1 -1
  140. package/dist/icons.js +1 -1
  141. package/dist/iife/button.iife.js +1 -1
  142. package/dist/iife/card.iife.js +1 -1
  143. package/dist/iife/checkbox.iife.js +1 -1
  144. package/dist/iife/colorpicker.iife.js +2 -2
  145. package/dist/iife/content.iife.js +1 -0
  146. package/dist/iife/dropdown.iife.js +1 -1
  147. package/dist/iife/form.iife.js +1 -1
  148. package/dist/iife/glass.iife.js +1 -0
  149. package/dist/iife/icon.iife.js +1 -1
  150. package/dist/iife/image.iife.js +1 -1
  151. package/dist/iife/input.iife.js +1 -1
  152. package/dist/iife/loading.iife.js +1 -1
  153. package/dist/iife/math.iife.js +14 -14
  154. package/dist/iife/mermaid.iife.js +3535 -0
  155. package/dist/iife/message.iife.js +1 -1
  156. package/dist/iife/modal.iife.js +1 -1
  157. package/dist/iife/player.iife.js +8 -8
  158. package/dist/iife/popover.iife.js +1 -1
  159. package/dist/iife/progress.iife.js +1 -1
  160. package/dist/iife/radar.iife.js +1 -1
  161. package/dist/iife/route.iife.js +1 -1
  162. package/dist/iife/router.iife.js +1 -1
  163. package/dist/iife/scratch.iife.js +1 -1
  164. package/dist/iife/section.iife.js +1 -1
  165. package/dist/iife/select.iife.js +2 -2
  166. package/dist/iife/skeleton.iife.js +1 -1
  167. package/dist/iife/tab.iife.js +1 -1
  168. package/dist/iife/tabpane.iife.js +1 -1
  169. package/dist/iife/theme-switch.iife.js +1 -1
  170. package/dist/{image-B7MBI5n_.js → image-CqoQfJoV.js} +4 -4
  171. package/dist/image.js +1 -1
  172. package/dist/index.cjs +38 -37
  173. package/dist/index.d.ts +8 -0
  174. package/dist/index.iife.js +3623 -88
  175. package/dist/index.js +88 -84
  176. package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
  177. package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
  178. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
  179. package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
  180. package/dist/init-1VpIn1S3.js +16 -0
  181. package/dist/init-CbDwVtpO.cjs +1 -0
  182. package/dist/{input-RNqdEHPf.js → input-BlwAXu7I.js} +6 -6
  183. package/dist/input.js +1 -1
  184. package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
  185. package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
  186. package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
  187. package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
  188. package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
  189. package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
  190. package/dist/katex-Cq3Y8cmK.cjs +257 -0
  191. package/dist/katex-Pg2EqTH0.js +23485 -0
  192. package/dist/line-BIPmUVxO.js +33 -0
  193. package/dist/line-CAB5QHC6.cjs +1 -0
  194. package/dist/linear-B2AM4ZBe.js +259 -0
  195. package/dist/linear-CSAfNEpl.cjs +1 -0
  196. package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
  197. package/dist/link.js +1 -1
  198. package/dist/{loading-B9MFI03l.js → loading-M6gWxLbm.js} +4 -4
  199. package/dist/loading.js +1 -1
  200. package/dist/map-BC2bk_rV.cjs +1 -0
  201. package/dist/map-DMSWkcq6.js +208 -0
  202. package/dist/{math-CudIwEXZ.js → math-8E-45Y8e.js} +4 -4
  203. package/dist/math.js +1 -1
  204. package/dist/mermaid-C1oQyPE3.js +261 -0
  205. package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
  206. package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
  207. package/dist/mermaid.core-B2d5lQW2.js +1085 -0
  208. package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
  209. package/dist/mermaid.js +5 -0
  210. package/dist/{message-DW7qWpEm.js → message-CNdmbeLf.js} +6 -6
  211. package/dist/message.js +1 -1
  212. package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
  213. package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
  214. package/dist/{modal-CrvGKL2B.js → modal-gRagDkTb.js} +40 -24
  215. package/dist/modal.js +1 -1
  216. package/dist/ordinal-BMN81JG2.js +64 -0
  217. package/dist/ordinal-BplLHIij.cjs +1 -0
  218. package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
  219. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
  220. package/dist/path-Bja5PoYn.js +82 -0
  221. package/dist/path-DmfWsuKi.cjs +1 -0
  222. package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
  223. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
  224. package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
  225. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
  226. package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
  227. package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
  228. package/dist/{player-BKQaaT7o.js → player-CAQ5Og2P.js} +196 -195
  229. package/dist/player.js +1 -1
  230. package/dist/{popover-CvYIVgUS.js → popover-BZKSLe3D.js} +22 -54
  231. package/dist/popover.js +1 -1
  232. package/dist/{progress-C6jctsFH.js → progress-vk40tuhm.js} +5 -5
  233. package/dist/progress.js +1 -1
  234. package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
  235. package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
  236. package/dist/{radar-BUb4EzmG.js → radar-Bg0cexzU.js} +5 -5
  237. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
  238. package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
  239. package/dist/radar.js +1 -1
  240. package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
  241. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
  242. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
  243. package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
  244. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
  245. package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
  246. package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
  247. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
  248. package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
  249. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
  250. package/dist/ranui.css +1 -1
  251. package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
  252. package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
  253. package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
  254. package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
  255. package/dist/rough.esm-BWe9E0Nz.js +1387 -0
  256. package/dist/rough.esm-BfSi6CZE.cjs +1 -0
  257. package/dist/{route-Djrf9UR_.js → route-CGwS0cd_.js} +10 -10
  258. package/dist/route.js +1 -1
  259. package/dist/{router-BU2KhtxV.js → router-BK6DEkcN.js} +5 -5
  260. package/dist/router.js +1 -1
  261. package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
  262. package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
  263. package/dist/{scratch-CO4I2dIa.js → scratch-ClF1awGi.js} +2 -2
  264. package/dist/scratch.js +1 -1
  265. package/dist/{section-CsUkp8bv.js → section-BL0V7Kjf.js} +2 -2
  266. package/dist/section.js +1 -1
  267. package/dist/{select-Dn26ajJZ.js → select-BIFVbQIj.js} +13 -13
  268. package/dist/select.js +1 -1
  269. package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
  270. package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
  271. package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
  272. package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
  273. package/dist/{skeleton-BuMLhvzQ.js → skeleton-D7JIbROq.js} +5 -5
  274. package/dist/skeleton.js +1 -1
  275. package/dist/src-C9EhKhbk.cjs +1 -0
  276. package/dist/src-DtRLxcYO.js +2104 -0
  277. package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
  278. package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
  279. package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
  280. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
  281. package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
  282. package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
  283. package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
  284. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
  285. package/dist/{tab-40fDkuox.js → tab-DFVtDJb2.js} +5 -5
  286. package/dist/tab.js +1 -1
  287. package/dist/{tabpane-F4Pd7JtC.js → tabpane-C3qZGN-D.js} +5 -5
  288. package/dist/tabpane.js +1 -1
  289. package/dist/test/ssr/stream.test.d.ts +1 -0
  290. package/dist/{theme-switch-B09egc6h.js → theme-switch-BXNH5uPD.js} +45 -45
  291. package/dist/theme-switch.js +1 -1
  292. package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
  293. package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
  294. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
  295. package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
  296. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
  297. package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
  298. package/dist/utils/builder/core.d.ts +135 -3
  299. package/dist/utils/builder/index.d.ts +1 -1
  300. package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
  301. package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
  302. package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
  303. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
  304. package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
  305. package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
  306. package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
  307. package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
  308. package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
  309. package/docs/BUILDER.md +170 -2
  310. package/package.json +7 -1
  311. package/dist/button-BfYw0fes.js +0 -117
  312. package/dist/factory-DCrO37si.js +0 -334
package/dist/index.js CHANGED
@@ -1,86 +1,90 @@
1
- import { n as o } from "./player-BKQaaT7o.js";
2
- import { t as a } from "./button-BfYw0fes.js";
3
- import { a as m, i as s, n as i, o as p, r as n, t as f } from "./theme-kOWZbKCq.js";
4
- import { i as T, n as h, r as P, t as l } from "./icon-C_ENrJ3F.js";
5
- import { t as S } from "./image-B7MBI5n_.js";
6
- import { t as R } from "./input-RNqdEHPf.js";
7
- import { t as u } from "./message-DW7qWpEm.js";
8
- import { t as k } from "./skeleton-BuMLhvzQ.js";
9
- import { t as _ } from "./tabpane-F4Pd7JtC.js";
10
- import { t as E } from "./tab-40fDkuox.js";
11
- import { t as b } from "./radar-BUb4EzmG.js";
12
- import { t as O } from "./modal-CrvGKL2B.js";
13
- import { t as x } from "./select-Dn26ajJZ.js";
14
- import { n as G, t as y } from "./dropdown-CCvsambb.js";
15
- import { t as v } from "./math-CudIwEXZ.js";
16
- import { t as F } from "./progress-C6jctsFH.js";
17
- import { t as V } from "./checkbox-CThC9-vy.js";
18
- import { t as j } from "./colorpicker-XNxDRcQ-.js";
19
- import { n as z, t as H } from "./popover-CvYIVgUS.js";
20
- import { n as K, t as Q } from "./loading-B9MFI03l.js";
21
- import { t as Z } from "./form-Ceq3uJzz.js";
22
- import "./scratch-CO4I2dIa.js";
23
- import { t as or } from "./card-CqJa4Q_v.js";
24
- import { t as ar } from "./section-CsUkp8bv.js";
25
- import { t as mr } from "./router-BU2KhtxV.js";
26
- import { RouterCore as ir, clearSSGPath as pr, createRouter as nr, enableMpaViewTransitions as fr, getSSGPath as cr, setSSGPath as Tr, useRouter as hr } from "./utils/router.js";
27
- import { t as lr } from "./route-Djrf9UR_.js";
28
- import { t as Sr } from "./link-DURZzd7u.js";
29
- import { t as Rr } from "./theme-switch-B09egc6h.js";
30
- import { I18nCore as ur, createI18n as Mr, useI18n as kr } from "./utils/i18n.js";
31
- import { generateStaticPages as _r, renderStaticPage as dr } from "./ssg.js";
32
- import { n as Ar, t as br } from "./builtin-D9djWkCE.js";
1
+ import { t as o } from "./button-Cj-XSCsd.js";
2
+ import { a, i as m, n as e, o as s, r as i, t as p } from "./theme-kOWZbKCq.js";
3
+ import { i as f, n as c, r as T, t as h } from "./icon-GZrfSeon.js";
4
+ import { t as P } from "./image-CqoQfJoV.js";
5
+ import { t as S } from "./input-BlwAXu7I.js";
6
+ import { t as R } from "./message-CNdmbeLf.js";
7
+ import { t as u } from "./skeleton-D7JIbROq.js";
8
+ import { t as d } from "./tabpane-C3qZGN-D.js";
9
+ import { t as N } from "./tab-DFVtDJb2.js";
10
+ import { t as E } from "./radar-Bg0cexzU.js";
11
+ import { t as b } from "./modal-gRagDkTb.js";
12
+ import { t as L } from "./select-BIFVbQIj.js";
13
+ import { n as w, t as x } from "./dropdown-CzGAVWYC.js";
14
+ import { t as y } from "./math-8E-45Y8e.js";
15
+ import { t as v } from "./mermaid-C1oQyPE3.js";
16
+ import { n as F } from "./player-CAQ5Og2P.js";
17
+ import { t as V } from "./progress-vk40tuhm.js";
18
+ import { t as j } from "./checkbox-O_J_n1_W.js";
19
+ import { t as z } from "./colorpicker-mebH0XLm.js";
20
+ import { n as J, t as K } from "./popover-BZKSLe3D.js";
21
+ import { n as X, t as Z } from "./loading-M6gWxLbm.js";
22
+ import { t as rr } from "./form-B8afuJlF.js";
23
+ import "./scratch-ClF1awGi.js";
24
+ import { t as ar } from "./card-BHN9Xp4S.js";
25
+ import { t as er } from "./glass-BniIptBE.js";
26
+ import { t as ir } from "./section-BL0V7Kjf.js";
27
+ import { t as nr } from "./router-BK6DEkcN.js";
28
+ import { RouterCore as cr, clearSSGPath as Tr, createRouter as hr, enableMpaViewTransitions as lr, getSSGPath as Pr, setSSGPath as Ir, useRouter as Sr } from "./utils/router.js";
29
+ import { t as Rr } from "./route-CGwS0cd_.js";
30
+ import { t as ur } from "./link-BCrmHvXP.js";
31
+ import { t as dr } from "./theme-switch-BXNH5uPD.js";
32
+ import { I18nCore as Nr, createI18n as _r, useI18n as Er } from "./utils/i18n.js";
33
+ import { generateStaticPages as br, renderStaticPage as Gr } from "./ssg.js";
34
+ import { n as Or, t as wr } from "./builtin-1lUEp_ro.js";
33
35
  export {
34
- y as ARROW_TYPE,
35
- br as BUILTIN_ICON_NAMES,
36
- a as Button,
37
- or as Card,
38
- u as CustomMessage,
39
- G as Dropdown,
40
- Z as Form,
41
- ur as I18nCore,
42
- Q as ICON_NAME_AMP,
43
- l as Icon,
44
- S as ImageElement,
45
- R as Input,
46
- Sr as Link,
47
- K as Loading,
48
- v as Math,
49
- H as PLACEMENT_TYPE,
50
- z as Popover,
51
- F as Progress,
52
- h as RAN_ICON_NAMES,
53
- b as RadarChart,
54
- V as RanCheckbox,
55
- j as RanColorPicker,
56
- O as RanModal,
57
- o as RanPlayer,
58
- lr as Route,
59
- mr as Router,
60
- ir as RouterCore,
61
- ar as Section,
62
- x as Select,
63
- k as Skeleton,
64
- _ as TabPane,
65
- E as Tabs,
66
- Rr as ThemeSwitch,
67
- pr as clearSSGPath,
68
- f as clearThemeToken,
69
- Mr as createI18n,
70
- nr as createRouter,
71
- fr as enableMpaViewTransitions,
72
- _r as generateStaticPages,
73
- cr as getSSGPath,
74
- i as getTheme,
75
- n as initTheme,
76
- Ar as registerBuiltinIcons,
77
- P as registerIcon,
78
- T as registerIcons,
79
- dr as renderStaticPage,
80
- Tr as setSSGPath,
81
- s as setTheme,
82
- m as setThemeToken,
83
- p as setThemeTokens,
84
- kr as useI18n,
85
- hr as useRouter
36
+ x as ARROW_TYPE,
37
+ wr as BUILTIN_ICON_NAMES,
38
+ o as Button,
39
+ ar as Card,
40
+ R as CustomMessage,
41
+ w as Dropdown,
42
+ rr as Form,
43
+ er as Glass,
44
+ Nr as I18nCore,
45
+ Z as ICON_NAME_AMP,
46
+ h as Icon,
47
+ P as ImageElement,
48
+ S as Input,
49
+ ur as Link,
50
+ X as Loading,
51
+ y as Math,
52
+ v as Mermaid,
53
+ K as PLACEMENT_TYPE,
54
+ J as Popover,
55
+ V as Progress,
56
+ c as RAN_ICON_NAMES,
57
+ E as RadarChart,
58
+ j as RanCheckbox,
59
+ z as RanColorPicker,
60
+ b as RanModal,
61
+ F as RanPlayer,
62
+ Rr as Route,
63
+ nr as Router,
64
+ cr as RouterCore,
65
+ ir as Section,
66
+ L as Select,
67
+ u as Skeleton,
68
+ d as TabPane,
69
+ N as Tabs,
70
+ dr as ThemeSwitch,
71
+ Tr as clearSSGPath,
72
+ p as clearThemeToken,
73
+ _r as createI18n,
74
+ hr as createRouter,
75
+ lr as enableMpaViewTransitions,
76
+ br as generateStaticPages,
77
+ Pr as getSSGPath,
78
+ e as getTheme,
79
+ i as initTheme,
80
+ Or as registerBuiltinIcons,
81
+ T as registerIcon,
82
+ f as registerIcons,
83
+ Gr as renderStaticPage,
84
+ Ir as setSSGPath,
85
+ m as setTheme,
86
+ a as setThemeToken,
87
+ s as setThemeTokens,
88
+ Er as useI18n,
89
+ Sr as useRouter
86
90
  };
@@ -0,0 +1 @@
1
+ require("./chunk-KEIR6QF5-C4fcHpY0.cjs");const e=require("./mermaid-parser.core-DYumW1vq.cjs");exports.createInfoServices=e.createInfoServices;
@@ -0,0 +1,5 @@
1
+ import "./chunk-KEIR6QF5-B2Op7cFH.js";
2
+ import { w as t } from "./mermaid-parser.core-uIDZYuBu.js";
3
+ export {
4
+ t as createInfoServices
5
+ };
@@ -0,0 +1,2 @@
1
+ const s=require("./mermaid-parser.core-DYumW1vq.cjs"),a=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),t=require("./src-C9EhKhbk.cjs"),o=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),_=require("./chunk-VAUOI2AC-DfQf5L2_.cjs");var c={parse:a.__name(async e=>{const r=await s.parse("info",e);t.log.debug(r)},"parse")},u={version:"11.16.0"},d={parser:c,db:{getVersion:a.__name(()=>u.version,"getVersion")},renderer:{draw:a.__name((e,r,i)=>{t.log.debug(`rendering info diagram
2
+ `+e);const n=_.selectSvgElement(r);o.configureSvgSize(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${i}`)},"draw")}};exports.diagram=d;
@@ -0,0 +1,21 @@
1
+ import { n } from "./mermaid-parser.core-uIDZYuBu.js";
2
+ import { n as t } from "./chunk-Y2CYZVJY-0JxdZxki.js";
3
+ import { m as o } from "./src-DtRLxcYO.js";
4
+ import { c as i } from "./chunk-WYO6CB5R-DDHkKowO.js";
5
+ import { t as m } from "./chunk-VAUOI2AC-izt0o4id.js";
6
+ var p = { parse: /* @__PURE__ */ t(async (r) => {
7
+ const e = await n("info", r);
8
+ o.debug(e);
9
+ }, "parse") }, d = { version: "11.16.0" }, x = {
10
+ parser: p,
11
+ db: { getVersion: /* @__PURE__ */ t(() => d.version, "getVersion") },
12
+ renderer: { draw: /* @__PURE__ */ t((r, e, s) => {
13
+ o.debug(`rendering info diagram
14
+ ` + r);
15
+ const a = m(e);
16
+ i(a, 100, 400, !0), a.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${s}`);
17
+ }, "draw") }
18
+ };
19
+ export {
20
+ x as diagram
21
+ };
@@ -0,0 +1,16 @@
1
+ function a(e, t) {
2
+ switch (arguments.length) {
3
+ case 0:
4
+ break;
5
+ case 1:
6
+ this.range(e);
7
+ break;
8
+ default:
9
+ this.range(t).domain(e);
10
+ break;
11
+ }
12
+ return this;
13
+ }
14
+ export {
15
+ a as t
16
+ };
@@ -0,0 +1 @@
1
+ function n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}Object.defineProperty(exports,"initRange",{enumerable:!0,get:function(){return n}});
@@ -1,8 +1,8 @@
1
- import { a as s, i as o, n as u, o as i, r as l, s as r, t as p } from "./utils-DBfrRFoE.js";
1
+ import { a as s, c as r, n as o, o as u, r as l, s as i, t as p } from "./utils-D1iZnChu.js";
2
2
  import { t as h } from "./events-C59wGdni.js";
3
- import { _ as c, c as d, i as a, s as b } from "./factory-DCrO37si.js";
3
+ import { _ as c, c as d, i as a, s as b } from "./factory-ZNhcQ4tf.js";
4
4
  import { a as v, n as g } from "./ssr-DSGwPtEd.js";
5
- import "./icon-C_ENrJ3F.js";
5
+ import "./icon-GZrfSeon.js";
6
6
  var m = `.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{position:var(--ran-input-host-position, relative);display:var(--ran-input-host-display, block);box-sizing:var(--ran-input-host-box-sizing, border-box)}:host([placeholder]) .ran-input-label{transform:var(--ran-input-label-placeholder-transform, translateY( calc(-50% - .43em) ) scale(.8));top:var(--ran-input-label-placeholder-top, 0)}:host .ran-input-label{transform:var(--ran-input-label-transform, translateY(-50%));top:var(--ran-input-label-top, 50%)}.ran-input{box-sizing:var(--ran-input-box-sizing, border-box);position:var(--ran-input-position, relative);display:var(--ran-input-display, flex);width:var(--ran-input-width, 100%);height:var(--ran-input-height, auto);min-width:var(--ran-input-min-width, 0);padding:var(--ran-input-padding, 0px 0px 0px 4px);color:var(--ran-input-color, var(--ran-color-text, #000000d9));font-size:var(--ran-input-font-size, 12px);font-family:var(--ran-input-font-family, var(--ran-skin-font-family, inherit));line-height:var(--ran-input-line-height, 1.5715);background-color:var(--ran-input-background-color, var(--ran-color-bg-elevated, #fff));background-image:var(--ran-input-background-image, none);border:var(--ran-input-border, 1px solid var(--ran-color-border, #eaeaea));border-image-source:var(--ran-input-border-image-source, none);border-image-slice:var(--ran-input-border-image-slice, 8);border-image-width:var(--ran-input-border-image-width, 4px);border-image-outset:0;border-image-repeat:stretch;border-radius:var(--ran-input-border-radius, var(--ran-radius-sm, 6px));transition:var(--ran-input-transition, none);min-height:var(--ran-input-min-height, 32px)}.ran-input .ran-icon{display:var(--ran-input-icon-display, flex);align-items:var(--ran-input-icon-align-items, center);justify-content:var(--ran-input-icon-justify-content, center)}.ran-input:focus-within{border-color:var(--ran-input-active-border-color, var(--ran-color-primary, #006bff));box-shadow:var(--ran-input-active-box-shadow, 0 0 0 2px var(--ran-blue-400, #cae7ff));border-right-width:var(--ran-input-active-border-right-width, 1px);outline:var(--ran-input-active-outline, 0)}.ran-input:hover{border-color:var(--ran-input-hover-border-color, var(--ran-color-primary, #006bff));border-right-width:var(--ran-input-hover-border-right-width, 1px)}.ran-input>.ran-input-content:hover~.ran-input-label{color:var(--ran-input-label-hover-color, var(--ran-color-primary, #006bff))}.ran-input[value]>.ran-input-label{transform:var(--ran-input-label-value-transform, translateY( calc(-50% - .43em) ) scale(.8));color:var(--ran-input-label-value-color, var(--ran-color-text-disabled, #00000040))}.ran-input[status=error] .ran-input-content,.ran-input[status=warning] .ran-input-content{padding-right:var(--ran-input-content-status-padding-right, 28px)}.ran-input[status=error]:after,.ran-input[status=warning]:after{content:"";position:absolute;top:50%;right:10px;width:16px;height:16px;transform:translateY(-50%);pointer-events:none;mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain}.ran-input[status=error]{border-color:var(--ran-input-status-error-border-color, var(--ran-color-danger, #ff4d4f))}.ran-input[status=error]>.ran-input-content~.ran-input-label{color:var(--ran-input-label-status-error-color, var(--ran-color-danger, #ff4d4f))}.ran-input[status=error]:after{background-color:var(--ran-color-danger, #ff4d4f);mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 100 14A7 7 0 008 1zm-.75 3.5h1.5v5h-1.5v-5zM8 11a1 1 0 110 2 1 1 0 010-2z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 100 14A7 7 0 008 1zm-.75 3.5h1.5v5h-1.5v-5zM8 11a1 1 0 110 2 1 1 0 010-2z'/%3E%3C/svg%3E")}.ran-input[status=warning]{border-color:var(--ran-input-status-warning-border-color, var(--ran-color-warning, #faad14))}.ran-input[status=warning]>.ran-input-content~.ran-input-label{color:var(--ran-input-label-status-warning-color, var(--ran-color-warning, #faad14))}.ran-input[status=warning]:after{background-color:var(--ran-color-warning, #faad14);mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5l6.85 11.86a.5.5 0 01-.43.75H1.58a.5.5 0 01-.43-.75L8 1.5zm-.75 4.25v3.5h1.5v-3.5h-1.5zM8 10.75a1 1 0 110 2 1 1 0 010-2z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5l6.85 11.86a.5.5 0 01-.43.75H1.58a.5.5 0 01-.43-.75L8 1.5zm-.75 4.25v3.5h1.5v-3.5h-1.5zM8 10.75a1 1 0 110 2 1 1 0 010-2z'/%3E%3C/svg%3E")}.ran-input[disabled]{color:var(--ran-input-disabled-color, var(--ran-color-text-disabled, #00000040));background-color:var(--ran-input-disabled-background-color, var(--ran-color-bg-muted, #f5f5f5));border-color:var(--ran-input-disabled-border-color, var(--ran-color-border, #eaeaea));box-shadow:var(--ran-input-disabled-box-shadow, none);cursor:var(--ran-input-disabled-cursor, not-allowed);opacity:var(--ran-input-disabled-opacity, 1)}.ran-input[disabled]>.ran-input-content{color:var(--ran-input-content-disabled-color, var(--ran-color-text-disabled, #00000040));background-color:var(--ran-input-content-disabled-background-color, var(--ran-color-bg-muted, #f5f5f5));border-color:var(--ran-input-content-disabled-border-color, var(--ran-color-border, #eaeaea));box-shadow:var(--ran-input-content-disabled-box-shadow, none);cursor:var(--ran-input-content-disabled-cursor, not-allowed);opacity:var(--ran-input-content-disabled-opacity, 1)}.ran-input[disabled]>.ran-input-content~.ran-input-label{color:var(--ran-input-label-disabled-color, var(--ran-color-text-disabled, #00000040));background-color:var(--ran-input-label-disabled-background-color, var(--ran-color-bg-muted, #f5f5f5))}.ran-input[disabled]>.ran-input-label{color:var(--ran-input-label-disabled-color, var(--ran-color-text-disabled, #999));border-color:var(--ran-input-label-disabled-border-color, var(--ran-color-border, #eaeaea));box-shadow:var(--ran-input-label-disabled-box-shadow, none);cursor:var(--ran-input-label-disabled-cursor, not-allowed)}.ran-input-content{writing-mode:var(--ran-input-content-writing-mode, horizontal-tb);text-rendering:var(--ran-input-content-text-rendering, auto);letter-spacing:var(--ran-input-content-letter-spacing, normal);word-spacing:var(--ran-input-content-word-spacing, normal);text-transform:var(--ran-input-content-text-transform, none);text-indent:var(--ran-input-content-text-indent, 0px);text-shadow:var(--ran-input-content-text-shadow, none);text-align:var(--ran-input-content-text-align, start);cursor:var(--ran-input-content-cursor, text);touch-action:var(--ran-input-content-touch-action, manipulation);-webkit-appearance:var(--ran-input-content--webkit-appearance, none);text-overflow:var(--ran-input-content-text-overflow, ellipsis);box-sizing:var(--ran-input-content-box-sizing, border-box);margin:var(--ran-input-content-margin, 0);font-variant:var(--ran-input-content-font-variant, tabular-nums);list-style:var(--ran-input-content-list-style, none);font-feature-settings:var(--ran-input-content-font-feature-settings, "tnum");position:var(--ran-input-content-position, relative);border:var(--ran-input-content-border, none);width:var(--ran-input-content-width, 100%);height:var(--ran-input-content-height, 100%);min-height:var(--ran-input-content-min-height, 30px);min-width:var(--ran-input-content-min-width, 0);color:var(--ran-input-content-color, var(--ran-color-text, #000000d9));font-size:var(--ran-input-content-font-size, 14px);line-height:var(--ran-input-content-line-height, 1.48);background-color:var(--ran-input-content-background-color, var(--ran-color-bg-elevated, #fff));background-image:var(--ran-input-content-background-image, none);transition:var(--ran-input-content-transition, none);outline:var(--ran-input-content-outline, none);border-radius:var(--ran-input-content-border-radius, var(--ran-radius-sm, 6px));padding:var(--ran-input-content-padding, 0 0 0 2px);font-weight:var(--ran-input-content-font-weight, 400)}.ran-input-content:focus,.ran-input-content:hover{border:var(--ran-input-content-hover-border, none);outline:var(--ran-input-content-hover-outline, 0)}.ran-input-content::placeholder{color:var(--ran-input-content-placeholder-color, var(--ran-color-text-disabled, #999))}.ran-input-content:placeholder-shown~.ran-input-label{transform:var(--ran-input-content-placeholder-label-transform, translateY( calc(-50% - .43em) ) scale(.8))}.ran-input-content:focus~.ran-input-label{transform:var(--ran-input-content-focus-label-transform, translateY( calc(-50% - .43em) ) scale(.8));top:var(--ran-input-content-focus-label-top, 0px)}.ran-input-content::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ran-input-label{box-sizing:var(--ran-input-label-box-sizing, border-box);pointer-events:var(--ran-input-label-pointer-events, none);position:var(--ran-input-label-position, absolute);font-size:var(--ran-input-label-font-size, 14px);left:var(--ran-input-label-left, 8px);transition:var(--ran-input-label-transition, transform .3s, top .3s, font-size .3s);transform-origin:var(--ran-input-label-transform-origin, left);padding:var(--ran-input-label-padding, 0 0);color:var(--ran-input-label-color, var(--ran-color-text-disabled, #999));background:var(--ran-input-label-background, var(--ran-color-bg-elevated, #fff));opacity:var(--ran-input-label-opacity, .9)}.ran-input-message{margin-top:var(--ran-input-message-margin-top, 4px);font-size:var(--ran-input-message-font-size, 12px);line-height:var(--ran-input-message-line-height, 1.5);color:var(--ran-input-message-color, var(--ran-color-text-secondary, #8c8c8c))}.ran-input-message:empty{display:none}:host([status="error"]) .ran-input-message{color:var(--ran-input-message-error-color, var(--ran-color-danger, #ff4d4f))}:host([status="warning"]) .ran-input-message{color:var(--ran-input-message-warning-color, var(--ran-color-warning, #faad14))}`, f = 0, x = class extends g {
7
7
  static formAssociated = !0;
8
8
  _internals;
@@ -38,7 +38,7 @@ var m = `.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
38
38
  } catch {
39
39
  this._internals = void 0;
40
40
  }
41
- this._shadowDom = u(this, m);
41
+ this._shadowDom = o(this, m);
42
42
  const t = p(this._shadowDom, ".ran-input", () => a().class("ran-input").part("input").children(b().class("ran-input-content").part("content")).build());
43
43
  this._input = t, this._inputContent = t.querySelector(".ran-input-content"), this._inputContent.id || (this._inputContent.id = `ran-input-${++f}`);
44
44
  }
@@ -124,10 +124,10 @@ var m = `.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
124
124
  return l(this, "sheet");
125
125
  }
126
126
  set sheet(t) {
127
- o(this, "sheet", t);
127
+ s(this, "sheet", t);
128
128
  }
129
129
  handlerExternalCss = () => {
130
- s(this, this._shadowDom, "sheet", null, this.sheet);
130
+ u(this, this._shadowDom, "sheet", null, this.sheet);
131
131
  };
132
132
  customInput = (t) => {
133
133
  t.stopPropagation(), t.preventDefault();
package/dist/input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as a } from "./input-RNqdEHPf.js";
1
+ import { t as a } from "./input-BlwAXu7I.js";
2
2
  export {
3
3
  a as Input,
4
4
  a as default
@@ -0,0 +1,70 @@
1
+ const l=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs");require("./src-C9EhKhbk.cjs");const D=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),ct=require("./chunk-ICXQ74PX-BbT9JaEW.cjs"),ut=require("./chunk-VAUOI2AC-DfQf5L2_.cjs"),dt=require("./rough.esm-BfSi6CZE.cjs");var J=(function(){var t=l.__name(function(e,n,c,i){for(c=c||{},i=e.length;i--;c[e[i]]=n);return c},"o"),u=[1,4],s=[1,14],a=[1,12],r=[1,13],o=[6,7,8],g=[1,20],h=[1,18],p=[1,19],y=[6,7,11],w=[1,6,13,14],m=[1,23],$=[1,24],v=[1,6,7,11,13,14],P={trace:l.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},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,2],[12,1],[12,1],[12,1]],performAction:l.__name(function(n,c,i,d,k,f,E){var b=f.length-1;switch(k){case 6:case 7:return d;case 15:d.addNode(f[b-1].length,f[b].trim());break;case 16:d.addNode(0,f[b].trim());break}},"anonymous"),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:s,7:[1,10],9:9,12:11,13:a,14:r},t(o,[2,3]),{1:[2,2]},t(o,[2,4]),t(o,[2,5]),{1:[2,6],6:s,12:15,13:a,14:r},{6:s,9:16,12:11,13:a,14:r},{6:g,7:h,10:17,11:p},t(y,[2,18],{14:[1,21]}),t(y,[2,16]),t(y,[2,17]),{6:g,7:h,10:22,11:p},{1:[2,7],6:s,12:15,13:a,14:r},t(w,[2,14],{7:m,11:$}),t(v,[2,8]),t(v,[2,9]),t(v,[2,10]),t(y,[2,15]),t(w,[2,13],{7:m,11:$}),t(v,[2,11]),t(v,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:l.__name(function(n,c){if(c.recoverable)this.trace(n);else{var i=new Error(n);throw i.hash=c,i}},"parseError"),parse:l.__name(function(n){var c=this,i=[0],d=[],k=[null],f=[],E=this.table,b="",x=0,B=0,S=0,T=2,M=1,V=f.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(I.yy[R]=this.yy[R]);_.setInput(n,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var q=_.yylloc;f.push(q);var G=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ht(C){i.length=i.length-2*C,k.length=k.length-C,f.length=f.length-C}l.__name(ht,"popStack");function tt(){var C=d.pop()||_.lex()||M;return typeof C!="number"&&(C instanceof Array&&(d=C,C=d.pop()),C=c.symbols_[C]||C),C}l.__name(tt,"lex");for(var L,X,W,N,Z,F={},H,O,et,Y;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((L===null||typeof L>"u")&&(L=tt()),N=E[W]&&E[W][L]),typeof N>"u"||!N.length||!N[0]){var K="";Y=[];for(H in E[W])this.terminals_[H]&&H>T&&Y.push("'"+this.terminals_[H]+"'");_.showPosition?K="Parse error on line "+(x+1)+`:
2
+ `+_.showPosition()+`
3
+ Expecting `+Y.join(", ")+", got '"+(this.terminals_[L]||L)+"'":K="Parse error on line "+(x+1)+": Unexpected "+(L==M?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(K,{text:_.match,token:this.terminals_[L]||L,line:_.yylineno,loc:q,expected:Y})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+L);switch(N[0]){case 1:i.push(L),k.push(_.yytext),f.push(_.yylloc),i.push(N[1]),L=null,X?(L=X,X=null):(B=_.yyleng,b=_.yytext,x=_.yylineno,q=_.yylloc,S>0&&S--);break;case 2:if(O=this.productions_[N[1]][1],F.$=k[k.length-O],F._$={first_line:f[f.length-(O||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(O||1)].first_column,last_column:f[f.length-1].last_column},G&&(F._$.range=[f[f.length-(O||1)].range[0],f[f.length-1].range[1]]),Z=this.performAction.apply(F,[b,B,x,I.yy,N[1],k,f].concat(V)),typeof Z<"u")return Z;O&&(i=i.slice(0,-1*O*2),k=k.slice(0,-1*O),f=f.slice(0,-1*O)),i.push(this.productions_[N[1]][0]),k.push(F.$),f.push(F._$),et=E[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")};P.lexer=(function(){return{EOF:1,parseError:l.__name(function(n,c){if(this.yy.parser)this.yy.parser.parseError(n,c);else throw new Error(n)},"parseError"),setInput:l.__name(function(e,n){return this.yy=n||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l.__name(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:l.__name(function(e){var n=e.length,c=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===i.length?this.yylloc.first_column:0)+i[i.length-c.length].length-c[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:l.__name(function(){return this._more=!0,this},"more"),reject:l.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else 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).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l.__name(function(e){this.unput(this.match.slice(e))},"less"),pastInput:l.__name(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l.__name(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l.__name(function(){var e=this.pastInput(),n=new Array(e.length+1).join("-");return e+this.upcomingInput()+`
5
+ `+n+"^"},"showPosition"),test_match:l.__name(function(e,n){var c,i,d;if(this.options.backtrack_lexer&&(d={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(d.yylloc.range=this.yylloc.range.slice(0))),i=e[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],c=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var k in d)this[k]=d[k];return!1}return!1},"test_match"),next:l.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,n,c,i;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),k=0;k<d.length;k++)if(c=this._input.match(this.rules[d[k]]),c&&(!n||c[0].length>n[0].length)){if(n=c,i=k,this.options.backtrack_lexer){if(e=this.test_match(c,d[k]),e!==!1)return e;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(e=this.test_match(n,d[i]),e!==!1?e:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:l.__name(function(){var n=this.next();return n||this.lex()},"lex"),begin:l.__name(function(n){this.conditionStack.push(n)},"begin"),popState:l.__name(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:l.__name(function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},"topState"),pushState:l.__name(function(n){this.begin(n)},"pushState"),stateStackSize:l.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l.__name(function(n,c,i,d){switch(i){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}}})();function A(){this.yy={}}return l.__name(A,"Parser"),A.prototype=P,P.Parser=A,new A})();J.parser=J;var yt=J,ft=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{l.__name(this,"IshikawaDB")}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,D.clear()}getRoot(){return this.root}addNode(t,u){const s=D.common_default.sanitizeText(u,D.getConfig2());if(!this.root){this.root={text:s,children:[]},this.stack=[{level:0,node:this.root}],D.setDiagramTitle(s);return}this.baseLevel??=t;let a=t-this.baseLevel+1;for(a<=0&&(a=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=a;)this.stack.pop();const r=this.stack[this.stack.length-1].node,o={text:s,children:[]};r.children.push(o),this.stack.push({level:a,node:o})}getAccTitle(){return D.getAccTitle()}setAccTitle(t){D.setAccTitle(t)}getAccDescription(){return D.getAccDescription()}setAccDescription(t){D.setAccDescription(t)}getDiagramTitle(){return D.getDiagramTitle()}setDiagramTitle(t){D.setDiagramTitle(t)}},pt=14,j=250,_t=30,gt=60,mt=5,lt=82*Math.PI/180,it=Math.cos(lt),nt=Math.sin(lt),st=l.__name((t,u,s)=>{const a=t.node().getBBox(),r=a.width+u*2,o=a.height+u*2;D.configureSvgSize(t,o,r,s),t.attr("viewBox",`${a.x-u} ${a.y-u} ${r} ${o}`)},"applyPaddedViewBox"),kt=l.__name((t,u,s,a)=>{const r=a.db.getRoot();if(!r)return;const o=D.getConfig2(),{look:g,handDrawnSeed:h,themeVariables:p}=o,y=ct.parseFontSize(o.fontSize)[0]??pt,w=g==="handDrawn",m=r.children??[],$=o.ishikawa?.diagramPadding??20,v=o.ishikawa?.useMaxWidth??!1,P=ut.selectSvgElement(u),A=P.append("g").attr("class","ishikawa"),e=w?dt.at.svg(P.node()):void 0,n=e?{roughSvg:e,seed:h??0,lineColor:p?.lineColor??"#333",fillColor:p?.mainBkg??"#fff"}:void 0,c=`ishikawa-arrow-${u}`;w||A.append("defs").append("marker").attr("id",c).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let i=0,d=j;const k=w?void 0:z(A,i,d,i,d,"ishikawa-spine");if(wt(A,i,d,r.text,y,n),!m.length){w&&z(A,i,d,i,d,"ishikawa-spine",n),st(P,$,v);return}i-=20;const f=m.filter((_,I)=>I%2===0),E=m.filter((_,I)=>I%2===1),b=at(f),x=at(E),B=b.total+x.total;let S=j,T=j;if(B>0){const _=j*2,I=j*.3;S=Math.max(I,_*(b.total/B)),T=Math.max(I,_*(x.total/B))}const M=y*2;S=Math.max(S,b.max*M),T=Math.max(T,x.max*M),d=Math.max(S,j),k&&k.attr("y1",d).attr("y2",d),A.select(".ishikawa-head-group").attr("transform",`translate(0,${d})`);const V=Math.ceil(m.length/2);for(let _=0;_<V;_++){const I=A.append("g").attr("class","ishikawa-pair");for(const[R,q,G]of[[m[_*2],-1,S],[m[_*2+1],1,T]])R&&vt(I,R,i,d,q,G,y,n);i=I.selectAll("text").nodes().reduce((R,q)=>Math.min(R,q.getBBox().x),1/0)}if(w)z(A,i,d,0,d,"ishikawa-spine",n);else{k.attr("x1",i);const _=`url(#${c})`;A.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",_)}st(P,$,v)},"draw"),at=l.__name(t=>{const u=l.__name(s=>s.children.reduce((a,r)=>a+1+u(r),0),"countDescendants");return t.reduce((s,a)=>{const r=u(a);return s.total+=r,s.max=Math.max(s.max,r),s},{total:0,max:0})},"sideStats"),wt=l.__name((t,u,s,a,r,o)=>{const g=Math.max(6,Math.floor(110/(r*.6))),h=t.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${u},${s})`),p=U(h,ot(a,g),0,0,"ishikawa-head-label","start",r),y=p.node().getBBox(),w=Math.max(60,y.width+6),m=Math.max(40,y.height*2+40),$=`M 0 ${-m/2} L 0 ${m/2} Q ${w*2.4} 0 0 ${-m/2} Z`;if(o){const v=o.roughSvg.path($,{roughness:1.5,seed:o.seed,fill:o.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:o.lineColor,strokeWidth:2});h.insert(()=>v,":first-child").attr("class","ishikawa-head")}else h.insert("path",":first-child").attr("class","ishikawa-head").attr("d",$);p.attr("transform",`translate(${(w-y.width)/2-y.x+3},${-y.y-y.height/2})`)},"drawHead"),bt=l.__name((t,u)=>{const s=[],a=[],r=l.__name((o,g,h)=>{const p=u===-1?[...o].reverse():o;for(const y of p){const w=s.length,m=y.children??[];s.push({depth:h,text:ot(y.text,15),parentIndex:g,childCount:m.length}),h%2===0?(a.push(w),m.length&&r(m,w,h+1)):(m.length&&r(m,w,h+1),a.push(w))}},"walk");return r(t,-1,2),{entries:s,yOrder:a}},"flattenTree"),xt=l.__name((t,u,s,a,r,o,g)=>{const h=t.append("g").attr("class","ishikawa-label-group"),p=U(h,u,s,a+11*r,"ishikawa-label cause","middle",o).node().getBBox();if(g){const y=g.roughSvg.rectangle(p.x-20,p.y-2,p.width+40,p.height+4,{roughness:1.5,seed:g.seed,fill:g.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:g.lineColor,strokeWidth:2});h.insert(()=>y,":first-child").attr("class","ishikawa-label-box")}else h.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",p.x-20).attr("y",p.y-2).attr("width",p.width+40).attr("height",p.height+4)},"drawCauseLabel"),Q=l.__name((t,u,s,a,r,o)=>{const g=Math.sqrt(a*a+r*r);if(g===0)return;const h=a/g,p=r/g,y=6,w=-p*y,m=h*y,$=u,v=s,P=`M ${$} ${v} L ${$-h*y*2+w} ${v-p*y*2+m} L ${$-h*y*2-w} ${v-p*y*2-m} Z`,A=o.roughSvg.path(P,{roughness:1,seed:o.seed,fill:o.lineColor,fillStyle:"solid",stroke:o.lineColor,strokeWidth:1});t.append(()=>A)},"drawArrowMarker"),vt=l.__name((t,u,s,a,r,o,g,h)=>{const p=u.children??[],y=o*(p.length?1:.2),w=-it*y,m=nt*y*r,$=s+w,v=a+m;if(z(t,s,a,$,v,"ishikawa-branch",h),h&&Q(t,s,a,s-$,a-v,h),xt(t,u.text,$,v,r,g,h),!p.length)return;const{entries:P,yOrder:A}=bt(p,r),e=P.length,n=new Array(e);for(const[f,E]of A.entries())n[E]=a+m*((f+1)/(e+1));const c=new Map;c.set(-1,{x0:s,y0:a,x1:$,y1:v,childCount:p.length,childrenDrawn:0});const i=-it,d=nt*r,k=r<0?"ishikawa-label up":"ishikawa-label down";for(const[f,E]of P.entries()){const b=n[f],x=c.get(E.parentIndex),B=t.append("g").attr("class","ishikawa-sub-group");let S=0,T=0,M=0;if(E.depth%2===0){const V=x.y1-x.y0;S=rt(x.x0,x.x1,V?(b-x.y0)/V:.5),T=b,M=S-(E.childCount>0?gt+E.childCount*mt:_t),z(B,S,b,M,b,"ishikawa-sub-branch",h),h&&Q(B,S,b,1,0,h),U(B,E.text,M,b,"ishikawa-label align","end",g)}else{const V=x.childrenDrawn++;S=rt(x.x0,x.x1,(x.childCount-V)/(x.childCount+1)),T=x.y0,M=S+i*((b-T)/d),z(B,S,T,M,b,"ishikawa-sub-branch",h),h&&Q(B,S,T,S-M,T-b,h),U(B,E.text,M,b,k,"end",g)}E.childCount>0&&c.set(f,{x0:S,y0:T,x1:M,y1:b,childCount:E.childCount,childrenDrawn:0})}},"drawBranch"),St=l.__name(t=>t.split(/<br\s*\/?>|\n/),"splitLines"),ot=l.__name((t,u)=>{if(t.length<=u)return t;const s=[];for(const a of t.split(/\s+/)){const r=s.length-1;r>=0&&s[r].length+1+a.length<=u?s[r]+=" "+a:s.push(a)}return s.join(`
7
+ `)},"wrapText"),U=l.__name((t,u,s,a,r,o,g)=>{const h=St(u),p=g*1.05,y=t.append("text").attr("class",r).attr("text-anchor",o).attr("x",s).attr("y",a-(h.length-1)*p/2);for(const[w,m]of h.entries())y.append("tspan").attr("x",s).attr("dy",w===0?0:p).text(m);return y},"drawMultilineText"),rt=l.__name((t,u,s)=>t+(u-t)*s,"lerp"),z=l.__name((t,u,s,a,r,o,g)=>{if(g){const h=g.roughSvg.line(u,s,a,r,{roughness:1.5,seed:g.seed,stroke:g.lineColor,strokeWidth:2});t.append(()=>h).attr("class",o);return}return t.append("line").attr("class",o).attr("x1",u).attr("y1",s).attr("x2",a).attr("y2",r)},"drawLine"),Et={parser:yt,get db(){return new ft},renderer:{draw:kt},styles:l.__name(t=>`
8
+ .ishikawa .ishikawa-spine,
9
+ .ishikawa .ishikawa-branch,
10
+ .ishikawa .ishikawa-sub-branch {
11
+ stroke: ${t.lineColor};
12
+ stroke-width: 2;
13
+ fill: none;
14
+ }
15
+
16
+ .ishikawa .ishikawa-sub-branch {
17
+ stroke-width: 1;
18
+ }
19
+
20
+ .ishikawa .ishikawa-arrow {
21
+ fill: ${t.lineColor};
22
+ }
23
+
24
+ .ishikawa .ishikawa-head {
25
+ fill: ${t.mainBkg};
26
+ stroke: ${t.lineColor};
27
+ stroke-width: 2;
28
+ }
29
+
30
+ .ishikawa .ishikawa-label-box {
31
+ fill: ${t.mainBkg};
32
+ stroke: ${t.lineColor};
33
+ stroke-width: 2;
34
+ }
35
+
36
+ .ishikawa text {
37
+ font-family: ${t.fontFamily};
38
+ font-size: ${t.fontSize};
39
+ fill: ${t.textColor};
40
+ }
41
+
42
+ .ishikawa .ishikawa-head-label {
43
+ font-weight: 600;
44
+ text-anchor: middle;
45
+ dominant-baseline: middle;
46
+ font-size: 14px;
47
+ }
48
+
49
+ .ishikawa .ishikawa-label {
50
+ text-anchor: end;
51
+ }
52
+
53
+ .ishikawa .ishikawa-label.cause {
54
+ text-anchor: middle;
55
+ dominant-baseline: middle;
56
+ }
57
+
58
+ .ishikawa .ishikawa-label.align {
59
+ text-anchor: end;
60
+ dominant-baseline: middle;
61
+ }
62
+
63
+ .ishikawa .ishikawa-label.up {
64
+ dominant-baseline: baseline;
65
+ }
66
+
67
+ .ishikawa .ishikawa-label.down {
68
+ dominant-baseline: hanging;
69
+ }
70
+ `,"getStyles")};exports.diagram=Et;