ranui 0.2.0-alpha.7 → 0.2.1-alpha.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 (331) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
  4. package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
  5. package/dist/arc-D25LhgTs.cjs +1 -0
  6. package/dist/arc-DRPGof21.js +82 -0
  7. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
  8. package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
  9. package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
  10. package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
  11. package/dist/array-By5736M5.js +7 -0
  12. package/dist/array-C3cbN3GY.cjs +1 -0
  13. package/dist/arrow-down-Bi5kqUrX.js +12 -0
  14. package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
  15. package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
  16. package/dist/builder.d.ts +4 -4
  17. package/dist/builder.js +39 -30
  18. package/dist/builtin-BkM0LLof.js +416 -0
  19. package/dist/button-D0zcnKnG.js +117 -0
  20. package/dist/button.js +1 -1
  21. package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
  22. package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
  23. package/dist/{card-BVvXX6KM.js → card-CygMndQS.js} +2 -2
  24. package/dist/card.js +1 -1
  25. package/dist/channel-C9WSNwcS.cjs +1 -0
  26. package/dist/channel-k5-UxdcV.js +5 -0
  27. package/dist/{checkbox-BtoX9X2Z.js → checkbox-D5om9aJO.js} +10 -10
  28. package/dist/checkbox.js +1 -1
  29. package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
  30. package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
  31. package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
  32. package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
  33. package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
  34. package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
  35. package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
  36. package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
  37. package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
  38. package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
  39. package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
  40. package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
  41. package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
  42. package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
  43. package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
  44. package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
  45. package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
  46. package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
  47. package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
  48. package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
  49. package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
  50. package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
  51. package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
  52. package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
  53. package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
  54. package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
  55. package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
  56. package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
  57. package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
  58. package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
  59. package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
  60. package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
  61. package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
  62. package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
  63. package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
  64. package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
  65. package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
  66. package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
  67. package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
  68. package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
  69. package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
  70. package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
  71. package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
  72. package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
  73. package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
  74. package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
  75. package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
  76. package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
  77. package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
  78. package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
  79. package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
  80. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
  81. package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
  82. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
  83. package/dist/{colorpicker-Dukms7ET.js → colorpicker-qWnaTlYX.js} +9 -10
  84. package/dist/colorpicker.js +1 -1
  85. package/dist/components/colorpicker/index.d.ts +3 -3
  86. package/dist/components/glass/index.d.ts +52 -0
  87. package/dist/components/icon/builtin.d.ts +9 -0
  88. package/dist/components/icon/core-icons.d.ts +13 -0
  89. package/dist/components/icon/index.d.ts +8 -0
  90. package/dist/components/mermaid/index.d.ts +52 -0
  91. package/dist/components/modal/index.d.ts +9 -0
  92. package/dist/components/route/index.d.ts +10 -4
  93. package/dist/components/router/index.d.ts +3 -0
  94. package/dist/content-Rry-U6ir.js +39 -0
  95. package/dist/content.js +5 -0
  96. package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
  97. package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
  98. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
  99. package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
  100. package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
  101. package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
  102. package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
  103. package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
  104. package/dist/dagre-D1-W1tt6.cjs +1 -0
  105. package/dist/dagre-D8GLTwuf.js +1578 -0
  106. package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
  107. package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
  108. package/dist/defaultLocale-0M_kMcEH.js +184 -0
  109. package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
  110. package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
  111. package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
  112. package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
  113. package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
  114. package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
  115. package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
  116. package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
  117. package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
  118. package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
  119. package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
  120. package/dist/dist-C0Fwsvsq.js +70 -0
  121. package/dist/dist-C20XxSsP.cjs +1 -0
  122. package/dist/{dropdown-BYS1Trdu.js → dropdown-DzdAR1nI.js} +4 -4
  123. package/dist/dropdown.js +1 -1
  124. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
  125. package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
  126. package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
  127. package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
  128. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
  129. package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
  130. package/dist/factory-BkvRcCOx.js +482 -0
  131. package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
  132. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
  133. package/dist/{form-BsB5JhS4.js → form-CUJpeQ7Q.js} +5 -5
  134. package/dist/form.js +1 -1
  135. package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
  136. package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
  137. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
  138. package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
  139. package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
  140. package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
  141. package/dist/glass-Bj1Zf8Hy.js +115 -0
  142. package/dist/glass.js +5 -0
  143. package/dist/graphlib-CCKThIKP.js +1104 -0
  144. package/dist/graphlib-Du-578Js.cjs +1 -0
  145. package/dist/{icon-pfolda2m.js → icon-CtlZJISZ.js} +110 -21
  146. package/dist/icon.js +4 -3
  147. package/dist/icons.js +5 -0
  148. package/dist/iife/button.iife.js +1 -1
  149. package/dist/iife/card.iife.js +1 -1
  150. package/dist/iife/checkbox.iife.js +1 -1
  151. package/dist/iife/colorpicker.iife.js +2 -2
  152. package/dist/iife/content.iife.js +1 -0
  153. package/dist/iife/dropdown.iife.js +1 -1
  154. package/dist/iife/form.iife.js +1 -1
  155. package/dist/iife/glass.iife.js +1 -0
  156. package/dist/iife/icon.iife.js +1 -1
  157. package/dist/iife/image.iife.js +1 -1
  158. package/dist/iife/input.iife.js +1 -1
  159. package/dist/iife/loading.iife.js +1 -1
  160. package/dist/iife/math.iife.js +14 -14
  161. package/dist/iife/mermaid.iife.js +3535 -0
  162. package/dist/iife/message.iife.js +1 -1
  163. package/dist/iife/modal.iife.js +1 -1
  164. package/dist/iife/player.iife.js +8 -8
  165. package/dist/iife/popover.iife.js +1 -1
  166. package/dist/iife/progress.iife.js +1 -1
  167. package/dist/iife/radar.iife.js +1 -1
  168. package/dist/iife/route.iife.js +1 -1
  169. package/dist/iife/router.iife.js +1 -1
  170. package/dist/iife/scratch.iife.js +1 -1
  171. package/dist/iife/section.iife.js +1 -1
  172. package/dist/iife/select.iife.js +2 -2
  173. package/dist/iife/skeleton.iife.js +1 -1
  174. package/dist/iife/tab.iife.js +1 -1
  175. package/dist/iife/tabpane.iife.js +1 -1
  176. package/dist/{image-BXpKQ9sU.js → image-ILZNlaGc.js} +4 -4
  177. package/dist/image.js +1 -1
  178. package/dist/index.cjs +257 -23
  179. package/dist/index.d.ts +11 -1
  180. package/dist/index.iife.js +3842 -74
  181. package/dist/index.js +86 -78
  182. package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
  183. package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
  184. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
  185. package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
  186. package/dist/init-1VpIn1S3.js +16 -0
  187. package/dist/init-CbDwVtpO.cjs +1 -0
  188. package/dist/{input-BMMM60e6.js → input-CDH6zY9I.js} +6 -6
  189. package/dist/input.js +1 -1
  190. package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
  191. package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
  192. package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
  193. package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
  194. package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
  195. package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
  196. package/dist/katex-Cq3Y8cmK.cjs +257 -0
  197. package/dist/katex-Pg2EqTH0.js +23485 -0
  198. package/dist/line-BIPmUVxO.js +33 -0
  199. package/dist/line-CAB5QHC6.cjs +1 -0
  200. package/dist/linear-B2AM4ZBe.js +259 -0
  201. package/dist/linear-CSAfNEpl.cjs +1 -0
  202. package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
  203. package/dist/link.js +1 -1
  204. package/dist/{loading-BScjyeVm.js → loading-DJWGih1g.js} +4 -4
  205. package/dist/loading.js +1 -1
  206. package/dist/map-BC2bk_rV.cjs +1 -0
  207. package/dist/map-DMSWkcq6.js +208 -0
  208. package/dist/{math-IjzOAwnA.js → math-DRmkEDSQ.js} +4 -4
  209. package/dist/math.js +1 -1
  210. package/dist/mermaid-CMhm7npE.js +261 -0
  211. package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
  212. package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
  213. package/dist/mermaid.core-B2d5lQW2.js +1085 -0
  214. package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
  215. package/dist/mermaid.js +5 -0
  216. package/dist/{message-CLpuP8HY.js → message-BpYJBvYn.js} +36 -51
  217. package/dist/message.js +1 -1
  218. package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
  219. package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
  220. package/dist/{modal-DOTpABRe.js → modal-BeQlDYDP.js} +40 -24
  221. package/dist/modal.js +1 -1
  222. package/dist/ordinal-BMN81JG2.js +64 -0
  223. package/dist/ordinal-BplLHIij.cjs +1 -0
  224. package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
  225. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
  226. package/dist/path-Bja5PoYn.js +82 -0
  227. package/dist/path-DmfWsuKi.cjs +1 -0
  228. package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
  229. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
  230. package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
  231. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
  232. package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
  233. package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
  234. package/dist/{player-5olrw-qB.js → player-CQ4e3Yeo.js} +196 -195
  235. package/dist/player.js +1 -1
  236. package/dist/{popover-DRUQjdPs.js → popover-eZMnL1F3.js} +22 -54
  237. package/dist/popover.js +1 -1
  238. package/dist/{progress-BIEXYYd2.js → progress-DyHgW4Ep.js} +5 -5
  239. package/dist/progress.js +1 -1
  240. package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
  241. package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
  242. package/dist/{radar-DAF95_Mj.js → radar-D21Rccap.js} +5 -5
  243. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
  244. package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
  245. package/dist/radar.js +1 -1
  246. package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
  247. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
  248. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
  249. package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
  250. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
  251. package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
  252. package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
  253. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
  254. package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
  255. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
  256. package/dist/ranui.css +1 -1
  257. package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
  258. package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
  259. package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
  260. package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
  261. package/dist/rough.esm-BWe9E0Nz.js +1387 -0
  262. package/dist/rough.esm-BfSi6CZE.cjs +1 -0
  263. package/dist/route-pR5P4ann.js +116 -0
  264. package/dist/route.js +1 -1
  265. package/dist/{router-B9rCrWXm.js → router-CewzSH7O.js} +23 -18
  266. package/dist/router.js +1 -1
  267. package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
  268. package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
  269. package/dist/{scratch-QlPyy1f4.js → scratch-BFVsgl-7.js} +2 -2
  270. package/dist/scratch.js +1 -1
  271. package/dist/{section-D0qMm9KM.js → section-DSPCsIxv.js} +2 -2
  272. package/dist/section.js +1 -1
  273. package/dist/{select-aAaWoveE.js → select-B58nMfB1.js} +16 -23
  274. package/dist/select.js +1 -1
  275. package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
  276. package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
  277. package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
  278. package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
  279. package/dist/{skeleton-CFqQmKyt.js → skeleton-DoHYMsTn.js} +5 -5
  280. package/dist/skeleton.js +1 -1
  281. package/dist/src-C9EhKhbk.cjs +1 -0
  282. package/dist/src-DtRLxcYO.js +2104 -0
  283. package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
  284. package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
  285. package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
  286. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
  287. package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
  288. package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
  289. package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
  290. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
  291. package/dist/{tab-CiF2YPck.js → tab-BRPdZ9Ws.js} +5 -5
  292. package/dist/tab.js +1 -1
  293. package/dist/{tabpane-B-m3xwqu.js → tabpane-Owf72hw_.js} +5 -5
  294. package/dist/tabpane.js +1 -1
  295. package/dist/test/unit/icon.builtin.test.d.ts +1 -0
  296. package/dist/test/unit/utils.colorpicker.reconnect.test.d.ts +1 -0
  297. package/dist/test/unit/utils.route.lazy.test.d.ts +1 -0
  298. package/dist/test/unit/utils.router.match.test.d.ts +1 -0
  299. package/dist/test/unit/utils.signal.owner.test.d.ts +1 -0
  300. package/dist/{theme-switch-B09egc6h.js → theme-switch-CZDIIonc.js} +4 -4
  301. package/dist/theme-switch.js +1 -1
  302. package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
  303. package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
  304. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
  305. package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
  306. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
  307. package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
  308. package/dist/utils/builder/core.d.ts +153 -16
  309. package/dist/utils/builder/factory.d.ts +1 -1
  310. package/dist/utils/builder/index.d.ts +3 -3
  311. package/dist/utils/builder/signal.d.ts +93 -64
  312. package/dist/utils/router/index.d.ts +13 -3
  313. package/dist/utils/router.js +95 -54
  314. package/dist/utils/theme.d.ts +1 -1
  315. package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
  316. package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
  317. package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
  318. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
  319. package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
  320. package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
  321. package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
  322. package/dist/warning-circle-fill-Cz0qu7AH.js +23 -0
  323. package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
  324. package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
  325. package/docs/BUILDER.md +383 -0
  326. package/docs/COMPONENTS.md +21 -3
  327. package/package.json +31 -3
  328. package/dist/button-Be_uHDZG.js +0 -117
  329. package/dist/factory-BdsO0dEW.js +0 -165
  330. package/dist/route-MQZpn2BP.js +0 -88
  331. package/dist/signal-CSSZxlK5.js +0 -57
package/dist/player.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as e, t as r } from "./player-5olrw-qB.js";
1
+ import { n as e, t as r } from "./player-CQ4e3Yeo.js";
2
2
  export {
3
3
  r as RanPlayer,
4
4
  e as default
@@ -1,42 +1,10 @@
1
- import { a as I, i as d, l as n, n as f, r as l, t as b, u } from "./utils-DBfrRFoE.js";
2
- import { t as T } from "./events-C59wGdni.js";
3
- import { _ as k, i as g, p as C } from "./factory-BdsO0dEW.js";
4
- import { a as y, n as D } from "./ssr-DSGwPtEd.js";
5
- import "./dropdown-BYS1Trdu.js";
6
- var P = ".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{visibility:hidden;position:absolute}", x = class extends D {
7
- observer;
8
- _shadowDom;
9
- _slot;
10
- constructor() {
11
- super(), this._shadowDom = f(this, P);
12
- const t = b(this._shadowDom, ".slot", () => C().class("slot").build());
13
- this._slot = t, this.observer = new MutationObserver(this.callback);
14
- }
15
- callback = (t) => {
16
- for (const e of t) e.type === "childList" ? this.onChange(e) : e.type === "attributes" && this.onChange(e);
17
- };
18
- onChange = (t) => {
19
- this.dispatchEvent(new CustomEvent("change", { detail: {
20
- type: t.type,
21
- value: {
22
- content: this.children,
23
- mutation: t
24
- }
25
- } }));
26
- };
27
- connectedCallback() {
28
- this.observer.observe(this, {
29
- attributes: !0,
30
- childList: !0,
31
- subtree: !0
32
- });
33
- }
34
- disconnectedCallback() {
35
- this.observer.disconnect();
36
- }
37
- };
38
- y("r-content", x);
39
- var _ = ".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{display:var(--ran-popover-host-display, block)}.ran-popover{box-sizing:var(--ran-popover-box-sizing, border-box);position:var(--ran-popover-position, relative);display:var(--ran-popover-display, block);margin:var(--ran-popover-margin, 0);padding:var(--ran-popover-padding, 0)}.ran-popover-block{display:var(--ran-popover-block-display, block)}", s = 8, v = 300, p = 16, w = {
1
+ import { a as d, d as u, n as f, o as C, r as l, t as b, u as n } from "./utils-D1iZnChu.js";
2
+ import { t as y } from "./events-C59wGdni.js";
3
+ import { _ as D, i as g, p as I } from "./factory-BkvRcCOx.js";
4
+ import { a as T, n as k } from "./ssr-DSGwPtEd.js";
5
+ import "./dropdown-DzdAR1nI.js";
6
+ import "./content-Rry-U6ir.js";
7
+ var P = ".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{display:var(--ran-popover-host-display, block)}.ran-popover{box-sizing:var(--ran-popover-box-sizing, border-box);position:var(--ran-popover-position, relative);display:var(--ran-popover-display, block);margin:var(--ran-popover-margin, 0);padding:var(--ran-popover-padding, 0)}.ran-popover-block{display:var(--ran-popover-block-display, block)}", s = 8, c = 300, p = 16, w = {
40
8
  bottom: {
41
9
  add: "ran-dropdown-down-in",
42
10
  remove: "ran-dropdown-down-out"
@@ -53,10 +21,10 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
53
21
  add: "ran-dropdown-right-in",
54
22
  remove: "ran-dropdown-right-out"
55
23
  }
56
- }, N = /* @__PURE__ */ (function(t) {
24
+ }, S = /* @__PURE__ */ (function(t) {
57
25
  return t.TOP = "top", t.BOTTOM = "bottom", t.LEFT = "left", t.RIGHT = "right", t;
58
- })({}), A = class extends D {
59
- _events = new T();
26
+ })({}), x = class extends k {
27
+ _events = new y();
60
28
  _slot;
61
29
  popoverBlock;
62
30
  popoverContent;
@@ -77,8 +45,8 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
77
45
  this.setDropdownDisplayNone();
78
46
  };
79
47
  constructor() {
80
- super(), this._shadowDom = f(this, _);
81
- const t = b(this._shadowDom, ".ran-popover-block", () => g().class("ran-popover-block").role("tooltip").children(C().class("slot")).build());
48
+ super(), this._shadowDom = f(this, P);
49
+ const t = b(this._shadowDom, ".ran-popover-block", () => g().class("ran-popover-block").role("tooltip").children(I().class("slot")).build());
82
50
  this.popoverBlock = t, this._slot = t.querySelector(".slot");
83
51
  }
84
52
  get placement() {
@@ -106,7 +74,7 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
106
74
  d(this, "sheet", t);
107
75
  }
108
76
  handlerExternalCss = () => {
109
- I(this, this._shadowDom, "sheet", null, this.sheet);
77
+ C(this, this._shadowDom, "sheet", null, this.sheet);
110
78
  };
111
79
  initAria = () => {
112
80
  this.hasAttribute("tabindex") || (this.tabIndex = 0), this.setAttribute("aria-haspopup", "dialog"), this.setAttribute("aria-expanded", "false");
@@ -120,7 +88,7 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
120
88
  createContent = (t) => {
121
89
  if (t) {
122
90
  if (!this.popoverContent) {
123
- this.popoverContent = k("r-dropdown").class("ran-popover-dropdown").style("display", "none").style("position", "absolute").build(), this.popoverContent?.addEventListener("click", this.stopPropagation);
91
+ this.popoverContent = D("r-dropdown").class("ran-popover-dropdown").style("display", "none").style("position", "absolute").build(), this.popoverContent?.addEventListener("click", this.stopPropagation);
124
92
  const e = g().children(this.popoverContent).build();
125
93
  this.trigger.includes("hover") && !u() && (this.popoverContent?.addEventListener("mouseleave", this.blur), this.popoverContent?.addEventListener("mouseenter", this.removeDropDownTimeId)), document.body.appendChild(e);
126
94
  }
@@ -139,7 +107,7 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
139
107
  blur = n(() => {
140
108
  this.removeTimeId && this.removeDropDownTimeId(), this.removeTimeId = setTimeout(() => {
141
109
  this.removeDropDownTimeId(), this.setDropdownDisplayNone();
142
- }, v);
110
+ }, c);
143
111
  }, p);
144
112
  removeDropDownTimeId = n(() => {
145
113
  this.trigger.includes("hover") && !u() && (clearTimeout(this.removeTimeId), this.removeTimeId = void 0);
@@ -147,19 +115,19 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
147
115
  setDropdownDisplayBlock = n(() => {
148
116
  this.dropDownInTimeId || (clearTimeout(this.dropDownInTimeId), this.dropDownInTimeId = void 0, clearTimeout(this.dropDownOutTimeId), this.dropDownOutTimeId = void 0, this.popoverContent && this.popoverContent.style.display !== "block" && (this.updateAriaExpanded(!0), this.popoverContent.setAttribute("transit", w[this.placement].add), this.popoverContent?.style.setProperty("display", "block"), this.placementPosition(), this.dropDownInTimeId = setTimeout(() => {
149
117
  this.popoverContent && this.popoverContent.removeAttribute("transit"), clearTimeout(this.dropDownInTimeId), this.dropDownInTimeId = void 0;
150
- }, v)));
118
+ }, c)));
151
119
  }, p);
152
120
  setDropdownDisplayNone = n(() => {
153
121
  this.dropDownOutTimeId || (clearTimeout(this.dropDownInTimeId), this.dropDownInTimeId = void 0, clearTimeout(this.dropDownOutTimeId), this.dropDownOutTimeId = void 0, this.popoverContent && this.popoverContent.style.display !== "none" && (this.updateAriaExpanded(!1), this.popoverContent.setAttribute("transit", w[this.placement].remove), this.dropDownOutTimeId = setTimeout(() => {
154
122
  this.popoverContent?.style.setProperty("display", "none"), this.popoverContent && this.popoverContent.removeAttribute("transit"), clearTimeout(this.dropDownOutTimeId), this.dropDownOutTimeId = void 0;
155
- }, v)));
123
+ }, c)));
156
124
  }, p);
157
125
  placementPosition = () => {
158
126
  if (!this.popoverContent) return;
159
- const { top: t, left: e, bottom: r, width: c, height: m } = this.getBoundingClientRect();
127
+ const { top: t, left: e, bottom: r, width: v, height: m } = this.getBoundingClientRect();
160
128
  let o = r + window.scrollY + s, i = e + window.scrollX;
161
129
  const a = document.getElementById(this.getPopupContainerId), h = this.popoverContent.getBoundingClientRect();
162
- this.placement === "top" && (o = t + window.scrollY - Math.max(h.height, m) - s, this.getPopupContainerId && a && (i = e - a.getBoundingClientRect().left, o = t - a.getBoundingClientRect().top - this.popoverContent.clientHeight - s, i = e - a.getBoundingClientRect().left)), this.placement === "left" && (i = e - Math.max(h.width, c) - s, o = t + window.scrollY), this.placement === "right" && (i = e + c + s, o = t + window.scrollY), this.popoverContent.style.setProperty("inset", `${o}px auto auto ${i}px`), this.popoverContent.style.setProperty("--ran-x", `${i}px`), this.popoverContent.style.setProperty("--ran-y", `${o}px`), this.popoverContent.style.setProperty("--ran-dropdown-arrow-anchor-width", `${c}px`), this.popoverContent.style.setProperty("--ran-dropdown-arrow-anchor-height", `${m}px`), this.popoverContent.style.setProperty("--ran-dropdown-min-width", `${h.width}px`), this.popoverContent.style.setProperty("--ran-dropdown-min-height", `${h.height}px`);
130
+ this.placement === "top" && (o = t + window.scrollY - Math.max(h.height, m) - s, this.getPopupContainerId && a && (i = e - a.getBoundingClientRect().left, o = t - a.getBoundingClientRect().top - this.popoverContent.clientHeight - s, i = e - a.getBoundingClientRect().left)), this.placement === "left" && (i = e - Math.max(h.width, v) - s, o = t + window.scrollY), this.placement === "right" && (i = e + v + s, o = t + window.scrollY), this.popoverContent.style.setProperty("inset", `${o}px auto auto ${i}px`), this.popoverContent.style.setProperty("--ran-x", `${i}px`), this.popoverContent.style.setProperty("--ran-y", `${o}px`), this.popoverContent.style.setProperty("--ran-dropdown-arrow-anchor-width", `${v}px`), this.popoverContent.style.setProperty("--ran-dropdown-arrow-anchor-height", `${m}px`), this.popoverContent.style.setProperty("--ran-dropdown-min-width", `${h.width}px`), this.popoverContent.style.setProperty("--ran-dropdown-min-height", `${h.height}px`);
163
131
  };
164
132
  hoverPopover = (t) => {
165
133
  this.clickPopover(t);
@@ -199,8 +167,8 @@ var _ = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
199
167
  e !== r && (t === "trigger" && this.popoverTrigger(), t === "placement" && this.changePlacement(), t === "sheet" && this.handlerExternalCss());
200
168
  }
201
169
  };
202
- y("r-popover", A);
170
+ T("r-popover", x);
203
171
  export {
204
- A as n,
205
- N as t
172
+ x as n,
173
+ S as t
206
174
  };
package/dist/popover.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as a, t as r } from "./popover-DRUQjdPs.js";
1
+ import { n as a, t as r } from "./popover-eZMnL1F3.js";
2
2
  export {
3
3
  r as PLACEMENT_TYPE,
4
4
  a as Popover,
@@ -1,6 +1,6 @@
1
- import { a as n, i as p, n as h, p as i, r as g, t as u } from "./utils-DBfrRFoE.js";
1
+ import { a as n, m as i, n as p, o as h, r as g, t as u } from "./utils-D1iZnChu.js";
2
2
  import { t as l } from "./events-C59wGdni.js";
3
- import { i as o } from "./factory-BdsO0dEW.js";
3
+ import { i as o } from "./factory-BkvRcCOx.js";
4
4
  import { a as c, n as d } from "./ssr-DSGwPtEd.js";
5
5
  var v = ".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{display:block;height:var(--ran-progress-height, 20px)}:host:active,:host:focus{outline:0;-webkit-tap-highlight-color:transparent}:host(:focus-visible){outline:var(--ran-progress-focus-outline, 2px solid var(--ran-color-primary, #006bff));outline-offset:var(--ran-progress-focus-outline-offset, 2px);border-radius:var(--ran-radius-full, 9999px)}.ran-progress{position:var(--ran-progress-position, relative);cursor:var(--ran-progress-cursor, pointer);width:var(--ran-progress-width, 100%);height:100%}.ran-progress:active,.ran-progress:focus{outline:0;-webkit-tap-highlight-color:transparent}.ran-progress-wrap{width:var(--ran-progress-wrap-width, 100%);height:var(--ran-progress-wrap-height, 8px);border-radius:var(--ran-progress-wrap-border-radius, 20px);background:var(--ran-progress-wrap-background, var(--ran-gray-200, #ebebeb));position:var(--ran-progress-wrap-position, relative);overflow:var(--ran-progress-wrap-overflow, hidden)}.ran-progress-wrap-value{position:var(--ran-progress-wrap-value-position, absolute);top:var(--ran-progress-wrap-value-top, 0);left:var(--ran-progress-wrap-value-left, 0);height:var(--ran-progress-wrap-value-height, 100%);width:var(--ran-progress-wrap-value-width, 100%);transform:scaleX(var(--progress-percent, 0));transform-origin:var(--ran-progress-wrap-value-transform-origin, 0 0);will-change:var(--ran-progress-wrap-value-will-change, transform);background:var(--ran-progress-wrap-value-background, linear-gradient(90deg, #0bc8bb 2.42%, #00d297 98.79%));border-radius:var(--ran-progress-wrap-value-border-radius, 20px)}.ran-progress-dot{position:var(--ran-progress-dot-position, absolute);top:var(--ran-progress-dot-top, -5px);left:calc(var(--progress-percent, 0) * 100%);transform:translate(-50%);border-radius:var(--ran-progress-dot-border-radius, 50%);width:var(--ran-progress-dot-width, 18px);height:var(--ran-progress-dot-height, 18px);background:var(--ran-progress-dot-background, linear-gradient(90deg, #0bc8bb 2.42%, #00d297 98.79%));cursor:var(--ran-progress-dot-cursor, pointer)}", b = [
6
6
  "percent",
@@ -20,7 +20,7 @@ var v = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
20
20
  return b;
21
21
  }
22
22
  constructor() {
23
- super(), this._shadowDom = h(this, v);
23
+ super(), this._shadowDom = p(this, v);
24
24
  const r = u(this._shadowDom, ".ran-progress", () => o().class("ran-progress").role("progressbar").children(o().class("ran-progress-wrap").part("track").children(o().class("ran-progress-wrap-value").part("fill")), o().class("ran-progress-dot").part("dot")).build());
25
25
  this._progress = r, this._progressWrap = r.querySelector(".ran-progress-wrap"), this._progressWrapValue = r.querySelector(".ran-progress-wrap-value"), this._progressDot = r.querySelector(".ran-progress-dot");
26
26
  }
@@ -56,10 +56,10 @@ var v = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
56
56
  return g(this, "sheet");
57
57
  }
58
58
  set sheet(r) {
59
- p(this, "sheet", r);
59
+ n(this, "sheet", r);
60
60
  }
61
61
  handlerExternalCss = () => {
62
- n(this, this._shadowDom, "sheet", null, this.sheet);
62
+ h(this, this._shadowDom, "sheet", null, this.sheet);
63
63
  };
64
64
  progressClick = (r) => {
65
65
  if (this.type !== "drag") return;
package/dist/progress.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as o } from "./progress-BIEXYYd2.js";
1
+ import { t as o } from "./progress-DyHgW4Ep.js";
2
2
  export {
3
3
  o as Progress,
4
4
  o as default
@@ -0,0 +1,7 @@
1
+ const r=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),K=require("./src-C9EhKhbk.cjs"),p=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),te=require("./linear-CSAfNEpl.cjs");var Pt=(function(){var t=r.__name(function(s,h,b,u){for(b=b||{},u=s.length;u--;b[s[u]]=h);return b},"o"),o=[1,3],m=[1,4],x=[1,5],l=[1,6],d=[1,7],A=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],I=[2,36],T=[1,37],q=[1,36],_=[1,38],y=[1,35],g=[1,43],S=[1,41],k=[1,45],dt=[1,14],ut=[1,23],ft=[1,18],ot=[1,19],ct=[1,20],e=[1,21],vt=[1,22],Lt=[1,24],Et=[1,25],Dt=[1,26],Vt=[1,27],zt=[1,28],It=[1,29],Q=[1,32],O=[1,33],P=[1,34],C=[1,39],v=[1,40],L=[1,42],E=[1,44],X=[1,63],Y=[1,62],D=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],wt=[1,66],Bt=[1,67],Rt=[1,68],Nt=[1,69],Wt=[1,70],Ut=[1,71],Qt=[1,72],Ot=[1,73],Ht=[1,74],Xt=[1,75],Yt=[1,76],Mt=[1,77],R=[4,5,6,7,8,9,10,11,12,13,14,15,18],Z=[1,91],J=[1,92],$=[1,93],tt=[1,100],et=[1,94],it=[1,97],at=[1,95],nt=[1,96],st=[1,98],rt=[1,99],Tt=[1,103],jt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],qt={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:r.__name(function(h,b,u,f,F,i,ht){var a=i.length-1;switch(F){case 23:this.$=i[a];break;case 24:this.$=i[a-1]+""+i[a];break;case 26:this.$=i[a-1]+i[a];break;case 27:this.$=[i[a].trim()];break;case 28:i[a-2].push(i[a].trim()),this.$=i[a-2];break;case 29:this.$=i[a-4],f.addClass(i[a-2],i[a]);break;case 37:this.$=[];break;case 42:this.$=i[a].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=i[a].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=i[a].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(i[a].substr(8)),this.$=i[a].substr(8);break;case 47:f.addPoint(i[a-3],"",i[a-1],i[a],[]);break;case 48:f.addPoint(i[a-4],i[a-3],i[a-1],i[a],[]);break;case 49:f.addPoint(i[a-4],"",i[a-2],i[a-1],i[a]);break;case 50:f.addPoint(i[a-5],i[a-4],i[a-2],i[a-1],i[a]);break;case 51:f.setXAxisLeftText(i[a-2]),f.setXAxisRightText(i[a]);break;case 52:i[a-1].text+=" ⟶ ",f.setXAxisLeftText(i[a-1]);break;case 53:f.setXAxisLeftText(i[a]);break;case 54:f.setYAxisBottomText(i[a-2]),f.setYAxisTopText(i[a]);break;case 55:i[a-1].text+=" ⟶ ",f.setYAxisBottomText(i[a-1]);break;case 56:f.setYAxisBottomText(i[a]);break;case 57:f.setQuadrant1Text(i[a]);break;case 58:f.setQuadrant2Text(i[a]);break;case 59:f.setQuadrant3Text(i[a]);break;case 60:f.setQuadrant4Text(i[a]);break;case 64:this.$={text:i[a],type:"text"};break;case 65:this.$={text:i[a-1].text+""+i[a],type:i[a-1].type};break;case 66:this.$={text:i[a],type:"text"};break;case 67:this.$={text:i[a],type:"markdown"};break;case 68:this.$=i[a];break;case 69:this.$=i[a-1]+""+i[a];break}},"anonymous"),table:[{18:o,26:1,27:2,28:m,55:x,56:l,57:d},{1:[3]},{18:o,26:8,27:2,28:m,55:x,56:l,57:d},{18:o,26:9,27:2,28:m,55:x,56:l,57:d},t(A,[2,33],{29:10}),t(c,[2,61]),t(c,[2,62]),t(c,[2,63]),{1:[2,30]},{1:[2,31]},t(n,I,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:T,5:q,10:_,12:y,13:g,14:S,15:k,18:dt,25:ut,35:ft,37:ot,39:ct,41:e,42:vt,48:Lt,50:Et,51:Dt,52:Vt,53:zt,54:It,60:Q,61:O,63:P,64:C,65:v,66:L,67:E}),t(A,[2,34]),{27:46,55:x,56:l,57:d},t(n,[2,37]),t(n,I,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:T,5:q,10:_,12:y,13:g,14:S,15:k,18:dt,25:ut,35:ft,37:ot,39:ct,41:e,42:vt,48:Lt,50:Et,51:Dt,52:Vt,53:zt,54:It,60:Q,61:O,63:P,64:C,65:v,66:L,67:E}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(n,[2,45]),t(n,[2,46]),{18:[1,51]},{4:T,5:q,10:_,12:y,13:g,14:S,15:k,43:52,58:31,60:Q,61:O,63:P,64:C,65:v,66:L,67:E},{4:T,5:q,10:_,12:y,13:g,14:S,15:k,43:53,58:31,60:Q,61:O,63:P,64:C,65:v,66:L,67:E},{4:T,5:q,10:_,12:y,13:g,14:S,15:k,43:54,58:31,60:Q,61:O,63:P,64:C,65:v,66:L,67:E},{4:T,5:q,10:_,12:y,13:g,14:S,15:k,43:55,58:31,60:Q,61:O,63:P,64:C,65:v,66:L,67:E},{4:T,5:q,10:_,12:y,13:g,14:S,15:k,43:56,58:31,60:Q,61:O,63:P,64:C,65:v,66:L,67:E},{4:T,5:q,10:_,12:y,13:g,14:S,15:k,43:57,58:31,60:Q,61:O,63:P,64:C,65:v,66:L,67:E},{4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,44:[1,58],47:[1,59],58:61,59:60,63:P,64:C,65:v,66:L,67:E},t(D,[2,64]),t(D,[2,66]),t(D,[2,67]),t(D,[2,70]),t(D,[2,71]),t(D,[2,72]),t(D,[2,73]),t(D,[2,74]),t(D,[2,75]),t(D,[2,76]),t(D,[2,77]),t(D,[2,78]),t(D,[2,79]),t(D,[2,80]),t(D,[2,81]),t(A,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:65,4:wt,5:Bt,6:Rt,7:Nt,8:Wt,9:Ut,10:Qt,11:Ot,12:Ht,13:Xt,14:Yt,15:Mt,21:64},t(n,[2,53],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,49:[1,78],63:P,64:C,65:v,66:L,67:E}),t(n,[2,56],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,49:[1,79],63:P,64:C,65:v,66:L,67:E}),t(n,[2,57],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,63:P,64:C,65:v,66:L,67:E}),t(n,[2,58],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,63:P,64:C,65:v,66:L,67:E}),t(n,[2,59],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,63:P,64:C,65:v,66:L,67:E}),t(n,[2,60],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,63:P,64:C,65:v,66:L,67:E}),{45:[1,80]},{44:[1,81]},t(D,[2,65]),t(D,[2,82]),t(D,[2,83]),t(D,[2,84]),{3:83,4:wt,5:Bt,6:Rt,7:Nt,8:Wt,9:Ut,10:Qt,11:Ot,12:Ht,13:Xt,14:Yt,15:Mt,18:[1,82]},t(R,[2,23]),t(R,[2,1]),t(R,[2,2]),t(R,[2,3]),t(R,[2,4]),t(R,[2,5]),t(R,[2,6]),t(R,[2,7]),t(R,[2,8]),t(R,[2,9]),t(R,[2,10]),t(R,[2,11]),t(R,[2,12]),t(n,[2,52],{58:31,43:84,4:T,5:q,10:_,12:y,13:g,14:S,15:k,60:Q,61:O,63:P,64:C,65:v,66:L,67:E}),t(n,[2,55],{58:31,43:85,4:T,5:q,10:_,12:y,13:g,14:S,15:k,60:Q,61:O,63:P,64:C,65:v,66:L,67:E}),{46:[1,86]},{45:[1,87]},{4:Z,5:J,6:$,8:tt,11:et,13:it,16:90,17:at,18:nt,19:st,20:rt,22:89,23:88},t(R,[2,24]),t(n,[2,51],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,63:P,64:C,65:v,66:L,67:E}),t(n,[2,54],{59:60,58:61,4:T,5:q,8:X,10:_,12:y,13:g,14:S,15:k,18:Y,63:P,64:C,65:v,66:L,67:E}),t(n,[2,47],{22:89,16:90,23:101,4:Z,5:J,6:$,8:tt,11:et,13:it,17:at,18:nt,19:st,20:rt}),{46:[1,102]},t(n,[2,29],{10:Tt}),t(jt,[2,27],{16:104,4:Z,5:J,6:$,8:tt,11:et,13:it,17:at,18:nt,19:st,20:rt}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(n,[2,49],{10:Tt}),t(n,[2,48],{22:89,16:90,23:105,4:Z,5:J,6:$,8:tt,11:et,13:it,17:at,18:nt,19:st,20:rt}),{4:Z,5:J,6:$,8:tt,11:et,13:it,16:90,17:at,18:nt,19:st,20:rt,22:106},t(N,[2,26]),t(n,[2,50],{10:Tt}),t(jt,[2,28],{16:104,4:Z,5:J,6:$,8:tt,11:et,13:it,17:at,18:nt,19:st,20:rt})],defaultActions:{8:[2,30],9:[2,31]},parseError:r.__name(function(h,b){if(b.recoverable)this.trace(h);else{var u=new Error(h);throw u.hash=b,u}},"parseError"),parse:r.__name(function(h){var b=this,u=[0],f=[],F=[null],i=[],ht=this.table,a="",gt=0,Gt=0,Kt=0,pe=2,Zt=1,_e=i.slice.call(arguments,1),V=Object.create(this.lexer),j={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&(j.yy[bt]=this.yy[bt]);V.setInput(h,j.yy),j.yy.lexer=V,j.yy.parser=this,typeof V.yylloc>"u"&&(V.yylloc={});var At=V.yylloc;i.push(At);var ye=V.options&&V.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(U){u.length=u.length-2*U,F.length=F.length-U,i.length=i.length-U}r.__name(me,"popStack");function Jt(){var U=f.pop()||V.lex()||Zt;return typeof U!="number"&&(U instanceof Array&&(f=U,U=f.pop()),U=b.symbols_[U]||U),U}r.__name(Jt,"lex");for(var w,St,G,W,kt,lt={},pt,M,$t,_t;;){if(G=u[u.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((w===null||typeof w>"u")&&(w=Jt()),W=ht[G]&&ht[G][w]),typeof W>"u"||!W.length||!W[0]){var Ft="";_t=[];for(pt in ht[G])this.terminals_[pt]&&pt>pe&&_t.push("'"+this.terminals_[pt]+"'");V.showPosition?Ft="Parse error on line "+(gt+1)+`:
2
+ `+V.showPosition()+`
3
+ Expecting `+_t.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Ft="Parse error on line "+(gt+1)+": Unexpected "+(w==Zt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Ft,{text:V.match,token:this.terminals_[w]||w,line:V.yylineno,loc:At,expected:_t})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+w);switch(W[0]){case 1:u.push(w),F.push(V.yytext),i.push(V.yylloc),u.push(W[1]),w=null,St?(w=St,St=null):(Gt=V.yyleng,a=V.yytext,gt=V.yylineno,At=V.yylloc,Kt>0&&Kt--);break;case 2:if(M=this.productions_[W[1]][1],lt.$=F[F.length-M],lt._$={first_line:i[i.length-(M||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(M||1)].first_column,last_column:i[i.length-1].last_column},ye&&(lt._$.range=[i[i.length-(M||1)].range[0],i[i.length-1].range[1]]),kt=this.performAction.apply(lt,[a,Gt,gt,j.yy,W[1],F,i].concat(_e)),typeof kt<"u")return kt;M&&(u=u.slice(0,-1*M*2),F=F.slice(0,-1*M),i=i.slice(0,-1*M)),u.push(this.productions_[W[1]][0]),F.push(lt.$),i.push(lt._$),$t=ht[u[u.length-2]][u[u.length-1]],u.push($t);break;case 3:return!0}}return!0},"parse")};qt.lexer=(function(){return{EOF:1,parseError:r.__name(function(h,b){if(this.yy.parser)this.yy.parser.parseError(h,b);else throw new Error(h)},"parseError"),setInput:r.__name(function(s,h){return this.yy=h||this.yy||{},this._input=s,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:r.__name(function(){var s=this._input[0];return this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s,s.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),s},"input"),unput:r.__name(function(s){var h=s.length,b=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var u=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),b.length-1&&(this.yylineno-=b.length-1);var f=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:b?(b.length===u.length?this.yylloc.first_column:0)+u[u.length-b.length].length-b[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__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:r.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:r.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var s=this.pastInput(),h=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
+ `+h+"^"},"showPosition"),test_match:r.__name(function(s,h){var b,u,f;if(this.options.backtrack_lexer&&(f={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&&(f.yylloc.range=this.yylloc.range.slice(0))),u=s[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],b=this.performAction.call(this,this.yy,this,h,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;if(this._backtrack){for(var F in f)this[F]=f[F];return!1}return!1},"test_match"),next:r.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,h,b,u;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),F=0;F<f.length;F++)if(b=this._input.match(this.rules[f[F]]),b&&(!h||b[0].length>h[0].length)){if(h=b,u=F,this.options.backtrack_lexer){if(s=this.test_match(b,f[F]),s!==!1)return s;if(this._backtrack){h=!1;continue}else return!1}else if(!this.options.flex)break}return h?(s=this.test_match(h,f[u]),s!==!1?s:!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:r.__name(function(){var h=this.next();return h||this.lex()},"lex"),begin:r.__name(function(h){this.conditionStack.push(h)},"begin"),popState:r.__name(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:r.__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:r.__name(function(h){return h=this.conditionStack.length-1-Math.abs(h||0),h>=0?this.conditionStack[h]:"INITIAL"},"topState"),pushState:r.__name(function(h){this.begin(h)},"pushState"),stateStackSize:r.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:r.__name(function(h,b,u,f){switch(u){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),37;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),39;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;case 29:return this.begin("point_start"),44;case 30:return this.begin("point_x"),45;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}}})();function xt(){this.yy={}}return r.__name(xt,"Parser"),xt.prototype=qt,qt.Parser=xt,new xt})();Pt.parser=Pt;var Te=Pt,B=p.getThemeVariables3(),qe=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{r.__name(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:p.defaultConfig_default.quadrantChart?.chartWidth||500,chartWidth:p.defaultConfig_default.quadrantChart?.chartHeight||500,titlePadding:p.defaultConfig_default.quadrantChart?.titlePadding||10,titleFontSize:p.defaultConfig_default.quadrantChart?.titleFontSize||20,quadrantPadding:p.defaultConfig_default.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:p.defaultConfig_default.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:p.defaultConfig_default.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:p.defaultConfig_default.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:p.defaultConfig_default.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:p.defaultConfig_default.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:p.defaultConfig_default.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:p.defaultConfig_default.quadrantChart?.pointTextPadding||5,pointLabelFontSize:p.defaultConfig_default.quadrantChart?.pointLabelFontSize||12,pointRadius:p.defaultConfig_default.quadrantChart?.pointRadius||5,xAxisPosition:p.defaultConfig_default.quadrantChart?.xAxisPosition||"top",yAxisPosition:p.defaultConfig_default.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:p.defaultConfig_default.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:p.defaultConfig_default.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:B.quadrant1Fill,quadrant2Fill:B.quadrant2Fill,quadrant3Fill:B.quadrant3Fill,quadrant4Fill:B.quadrant4Fill,quadrant1TextFill:B.quadrant1TextFill,quadrant2TextFill:B.quadrant2TextFill,quadrant3TextFill:B.quadrant3TextFill,quadrant4TextFill:B.quadrant4TextFill,quadrantPointFill:B.quadrantPointFill,quadrantPointTextFill:B.quadrantPointTextFill,quadrantXAxisTextFill:B.quadrantXAxisTextFill,quadrantYAxisTextFill:B.quadrantYAxisTextFill,quadrantTitleFill:B.quadrantTitleFill,quadrantInternalBorderStrokeFill:B.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:B.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,K.log.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}addClass(t,o){this.classes.set(t,o)}setConfig(t){K.log.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){K.log.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,o,m,x){const l=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,d={top:t==="top"&&o?l:0,bottom:t==="bottom"&&o?l:0},A=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,c={left:this.config.yAxisPosition==="left"&&m?A:0,right:this.config.yAxisPosition==="right"&&m?A:0},n=this.config.titleFontSize+this.config.titlePadding*2,I={top:x?n:0},T=this.config.quadrantPadding+c.left,q=this.config.quadrantPadding+d.top+I.top,_=this.config.chartWidth-this.config.quadrantPadding*2-c.left-c.right,y=this.config.chartHeight-this.config.quadrantPadding*2-d.top-d.bottom-I.top;return{xAxisSpace:d,yAxisSpace:c,titleSpace:I,quadrantSpace:{quadrantLeft:T,quadrantTop:q,quadrantWidth:_,quadrantHalfWidth:_/2,quadrantHeight:y,quadrantHalfHeight:y/2}}}getAxisLabels(t,o,m,x){const{quadrantSpace:l,titleSpace:d}=x,{quadrantHalfHeight:A,quadrantHeight:c,quadrantLeft:n,quadrantHalfWidth:I,quadrantTop:T,quadrantWidth:q}=l,_=!!this.data.xAxisRightText,y=!!this.data.yAxisTopText,g=[];return this.data.xAxisLeftText&&o&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:n+(_?I/2:0),y:t==="top"?this.config.xAxisLabelPadding+d.top:this.config.xAxisLabelPadding+T+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:_?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&o&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:n+I+(_?I/2:0),y:t==="top"?this.config.xAxisLabelPadding+d.top:this.config.xAxisLabelPadding+T+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:_?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&m&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+n+q+this.config.quadrantPadding,y:T+c-(y?A/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:y?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&m&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+n+q+this.config.quadrantPadding,y:T+A-(y?A/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:y?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){const{quadrantSpace:o}=t,{quadrantHalfHeight:m,quadrantLeft:x,quadrantHalfWidth:l,quadrantTop:d}=o,A=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:x+l,y:d,width:l,height:m,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x,y:d,width:l,height:m,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x,y:d+m,width:l,height:m,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:x+l,y:d+m,width:l,height:m,fill:this.themeConfig.quadrant4Fill}];for(const c of A)c.text.x=c.x+c.width/2,this.data.points.length===0?(c.text.y=c.y+c.height/2,c.text.horizontalPos="middle"):(c.text.y=c.y+this.config.quadrantTextTopPadding,c.text.horizontalPos="top");return A}getQuadrantPoints(t){const{quadrantSpace:o}=t,{quadrantHeight:m,quadrantLeft:x,quadrantTop:l,quadrantWidth:d}=o,A=te.linear().domain([0,1]).range([x,d+x]),c=te.linear().domain([0,1]).range([m+l,l]);return this.data.points.map(n=>{const I=this.classes.get(n.className);return I&&(n={...I,...n}),{x:A(n.x),y:c(n.y),fill:n.color??this.themeConfig.quadrantPointFill,radius:n.radius??this.config.pointRadius,text:{text:n.text,fill:this.themeConfig.quadrantPointTextFill,x:A(n.x),y:c(n.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:n.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:n.strokeWidth??"0px"}})}getBorders(t){const o=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:m}=t,{quadrantHalfHeight:x,quadrantHeight:l,quadrantLeft:d,quadrantHalfWidth:A,quadrantTop:c,quadrantWidth:n}=m;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:d-o,y1:c,x2:d+n+o,y2:c},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:d+n,y1:c+o,x2:d+n,y2:c+l-o},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:d-o,y1:c+l,x2:d+n+o,y2:c+l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:d,y1:c+o,x2:d,y2:c+l-o},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:d+A,y1:c+o,x2:d+A,y2:c+l-o},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:d+o,y1:c+x,x2:d+n-o,y2:c+x}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),o=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),m=this.config.showTitle&&!!this.data.titleText,x=this.data.points.length>0?"bottom":this.config.xAxisPosition,l=this.calculateSpace(x,t,o,m);return{points:this.getQuadrantPoints(l),quadrants:this.getQuadrants(l),axisLabels:this.getAxisLabels(x,t,o,l),borderLines:this.getBorders(l),title:this.getTitle(m)}}},yt=class extends Error{static{r.__name(this,"InvalidStyleError")}constructor(t,o,m){super(`value for ${t} ${o} is invalid, please use a valid ${m}`),this.name="InvalidStyleError"}};function Ct(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}r.__name(Ct,"validateHexCode");function ee(t){return!/^\d+$/.test(t)}r.__name(ee,"validateNumber");function ie(t){return!/^\d+px$/.test(t)}r.__name(ie,"validateSizeInPixels");function H(t){return p.sanitizeText(t.trim(),p.getConfig2())}r.__name(H,"textSanitizer");var z=new qe;function ae(t){z.setData({quadrant1Text:H(t.text)})}r.__name(ae,"setQuadrant1Text");function ne(t){z.setData({quadrant2Text:H(t.text)})}r.__name(ne,"setQuadrant2Text");function se(t){z.setData({quadrant3Text:H(t.text)})}r.__name(se,"setQuadrant3Text");function re(t){z.setData({quadrant4Text:H(t.text)})}r.__name(re,"setQuadrant4Text");function le(t){z.setData({xAxisLeftText:H(t.text)})}r.__name(le,"setXAxisLeftText");function oe(t){z.setData({xAxisRightText:H(t.text)})}r.__name(oe,"setXAxisRightText");function ce(t){z.setData({yAxisTopText:H(t.text)})}r.__name(ce,"setYAxisTopText");function he(t){z.setData({yAxisBottomText:H(t.text)})}r.__name(he,"setYAxisBottomText");function mt(t){const o={};for(const m of t){const[x,l]=m.trim().split(/\s*:\s*/);if(x==="radius"){if(ee(l))throw new yt(x,l,"number");o.radius=parseInt(l)}else if(x==="color"){if(Ct(l))throw new yt(x,l,"hex code");o.color=l}else if(x==="stroke-color"){if(Ct(l))throw new yt(x,l,"hex code");o.strokeColor=l}else if(x==="stroke-width"){if(ie(l))throw new yt(x,l,"number of pixels (eg. 10px)");o.strokeWidth=l}else throw new Error(`style named ${x} is not supported.`)}return o}r.__name(mt,"parseStyles");function de(t,o,m,x,l){const d=mt(l);z.addPoints([{x:m,y:x,text:H(t.text),className:o,...d}])}r.__name(de,"addPoint");function ue(t,o){z.addClass(t,mt(o))}r.__name(ue,"addClass");function fe(t){z.setConfig({chartWidth:t})}r.__name(fe,"setWidth");function xe(t){z.setConfig({chartHeight:t})}r.__name(xe,"setHeight");function ge(){const{themeVariables:t,quadrantChart:o}=p.getConfig2();return o&&z.setConfig(o),z.setThemeConfig({quadrant1Fill:t.quadrant1Fill,quadrant2Fill:t.quadrant2Fill,quadrant3Fill:t.quadrant3Fill,quadrant4Fill:t.quadrant4Fill,quadrant1TextFill:t.quadrant1TextFill,quadrant2TextFill:t.quadrant2TextFill,quadrant3TextFill:t.quadrant3TextFill,quadrant4TextFill:t.quadrant4TextFill,quadrantPointFill:t.quadrantPointFill,quadrantPointTextFill:t.quadrantPointTextFill,quadrantXAxisTextFill:t.quadrantXAxisTextFill,quadrantYAxisTextFill:t.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:t.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:t.quadrantInternalBorderStrokeFill,quadrantTitleFill:t.quadrantTitleFill}),z.setData({titleText:p.getDiagramTitle()}),z.build()}r.__name(ge,"getQuadrantData");var be={setWidth:fe,setHeight:xe,setQuadrant1Text:ae,setQuadrant2Text:ne,setQuadrant3Text:se,setQuadrant4Text:re,setXAxisLeftText:le,setXAxisRightText:oe,setYAxisTopText:ce,setYAxisBottomText:he,parseStyles:mt,addPoint:de,addClass:ue,getQuadrantData:ge,clear:r.__name(function(){z.clear(),p.clear()},"clear"),setAccTitle:p.setAccTitle,getAccTitle:p.getAccTitle,setDiagramTitle:p.setDiagramTitle,getDiagramTitle:p.getDiagramTitle,getAccDescription:p.getAccDescription,setAccDescription:p.setAccDescription},Ae={parser:Te,db:be,renderer:{draw:r.__name((t,o,m,x)=>{function l(e){return e==="top"?"hanging":"middle"}r.__name(l,"getDominantBaseLine");function d(e){return e==="left"?"start":"middle"}r.__name(d,"getTextAnchor");function A(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}r.__name(A,"getTransformation");const c=p.getConfig2();K.log.debug(`Rendering quadrant chart
7
+ `+t);const n=c.securityLevel;let I;n==="sandbox"&&(I=K.select_default("#i"+o));const T=(n==="sandbox"?K.select_default(I.nodes()[0].contentDocument.body):K.select_default("body")).select(`[id="${o}"]`),q=T.append("g").attr("class","main"),_=c.quadrantChart?.chartWidth??500,y=c.quadrantChart?.chartHeight??500;p.configureSvgSize(T,y,_,c.quadrantChart?.useMaxWidth??!0),T.attr("viewBox","0 0 "+_+" "+y),x.db.setHeight(y),x.db.setWidth(_);const g=x.db.getQuadrantData(),S=q.append("g").attr("class","quadrants"),k=q.append("g").attr("class","border"),dt=q.append("g").attr("class","data-points"),ut=q.append("g").attr("class","labels"),ft=q.append("g").attr("class","title");g.title&&ft.append("text").attr("x",0).attr("y",0).attr("fill",g.title.fill).attr("font-size",g.title.fontSize).attr("dominant-baseline",l(g.title.horizontalPos)).attr("text-anchor",d(g.title.verticalPos)).attr("transform",A(g.title)).text(g.title.text),g.borderLines&&k.selectAll("line").data(g.borderLines).enter().append("line").attr("x1",e=>e.x1).attr("y1",e=>e.y1).attr("x2",e=>e.x2).attr("y2",e=>e.y2).style("stroke",e=>e.strokeFill).style("stroke-width",e=>e.strokeWidth);const ot=S.selectAll("g.quadrant").data(g.quadrants).enter().append("g").attr("class","quadrant");ot.append("rect").attr("x",e=>e.x).attr("y",e=>e.y).attr("width",e=>e.width).attr("height",e=>e.height).attr("fill",e=>e.fill),ot.append("text").attr("x",0).attr("y",0).attr("fill",e=>e.text.fill).attr("font-size",e=>e.text.fontSize).attr("dominant-baseline",e=>l(e.text.horizontalPos)).attr("text-anchor",e=>d(e.text.verticalPos)).attr("transform",e=>A(e.text)).text(e=>e.text.text),ut.selectAll("g.label").data(g.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(e=>e.text).attr("fill",e=>e.fill).attr("font-size",e=>e.fontSize).attr("dominant-baseline",e=>l(e.horizontalPos)).attr("text-anchor",e=>d(e.verticalPos)).attr("transform",e=>A(e));const ct=dt.selectAll("g.data-point").data(g.points).enter().append("g").attr("class","data-point");ct.append("circle").attr("cx",e=>e.x).attr("cy",e=>e.y).attr("r",e=>e.radius).attr("fill",e=>e.fill).attr("stroke",e=>e.strokeColor).attr("stroke-width",e=>e.strokeWidth),ct.append("text").attr("x",0).attr("y",0).text(e=>e.text.text).attr("fill",e=>e.text.fill).attr("font-size",e=>e.text.fontSize).attr("dominant-baseline",e=>l(e.text.horizontalPos)).attr("text-anchor",e=>d(e.text.verticalPos)).attr("transform",e=>A(e.text))},"draw")},styles:r.__name(()=>"","styles")};exports.diagram=Ae;