@marimo-team/islands 0.23.17-dev9 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-f9vLjQiF.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
- package/dist/{ErrorBoundary-DhLqwSWA.js → ErrorBoundary-BniTEhHn.js} +7 -7
- package/dist/{ImageComparisonComponent-C3y7L3eJ.js → ImageComparisonComponent-B7b8DcJI.js} +42 -31
- package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
- package/dist/_initCloneObject-DNUst5Cg.js +91 -0
- package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
- package/dist/{any-language-editor-DifE-fl7.js → any-language-editor-LHl8ZmVN.js} +26 -26
- package/dist/apl-Cwo7GIH7.js +4 -0
- package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
- package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
- package/dist/{architectureDiagram-VXUJARFQ-DXwkyAaM.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
- package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
- package/dist/asciiarmor-jrfEZ3j_.js +4 -0
- package/dist/asn1-BNEiJ4nQ.js +4 -0
- package/dist/assets/__vite-browser-external-DUz7vvG0.js +1 -0
- package/dist/assets/{worker-CDEKsBgX.js → worker-Cl1KJG2_.js} +2 -2
- package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
- package/dist/brainfuck-BCunvTbd.js +4 -0
- package/dist/{button-BSm8IXRU.js → button-Dr2uAwhT.js} +9 -7
- package/dist/{c4Diagram-YG6GDRKO-B6dZC_oU.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
- package/dist/{capabilities-C6OQ5YBO.js → capabilities-BilXeZ7p.js} +2 -2
- package/dist/{channel-BN070S0F.js → channel-CuV_jmG4.js} +1 -1
- package/dist/chat-ui-o-tATfmW.js +8619 -0
- package/dist/{check-DP7U0H0G.js → check-58HHfHKy.js} +1 -1
- package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
- package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
- package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
- package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
- package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
- package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
- package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
- package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
- package/dist/{chunk-DI55MBZ5-D4Y8yV8B.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
- package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
- package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
- package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
- package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
- package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
- package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
- package/dist/chunk-Bfp04NdC.js +25 -0
- package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
- package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
- package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
- package/dist/{chunk-B4BG7PRW-B_z2FEHm.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
- package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
- package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
- package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
- package/dist/{flowDiagram-NV44I4VS-BRhSg-ro.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
- package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
- package/dist/{chunk-QN33PNHL-DPBNNzpR.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
- package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
- package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
- package/dist/{chunk-S3R3BYOJ-BdgLc8AM.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
- package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
- package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
- package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
- package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
- package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
- package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
- package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
- package/dist/{chunk-ATLVNIR6-qFiszptQ.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
- package/dist/{chunk-JA3XYJ7Z-CY4CRbV5.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
- package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
- package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
- package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
- package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
- package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
- package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
- package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
- package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
- package/dist/clojure-2X0Rfij9.js +4 -0
- package/dist/cmake-DEwzCy9U.js +4 -0
- package/dist/cobol-Ck4eCoAB.js +4 -0
- package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
- package/dist/coffeescript-bB1IDwhg.js +4 -0
- package/dist/{common-C3f0slQQ.js → common-DV4qU2ew.js} +797 -804
- package/dist/commonlisp-BDYrVBNC.js +4 -0
- package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
- package/dist/{copy-DNq8q3zw.js → copy-C7ZKMKox.js} +5 -5
- package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
- package/dist/crystal-BSoiVUiH.js +4 -0
- package/dist/css-w1h9i21f.js +4 -0
- package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
- package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
- package/dist/cypher-B4xzuKGP.js +4 -0
- package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
- package/dist/d-D50Bz34p.js +4 -0
- package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
- package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
- package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
- package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
- package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-CMezyvMc.js} +26 -26
- package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
- package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
- package/dist/{diagram-S2PKOQOG-CGh4OMEV.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
- package/dist/{diagram-PSM6KHXK-D4ftnaua.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
- package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
- package/dist/diff-BMdzfXq-.js +4 -0
- package/dist/{dist-BTdrwBWP.js → dist-72nb8Uag.js} +3 -3
- package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
- package/dist/{dist-BOMbzyb3.js → dist-Awj73yUw.js} +3 -3
- package/dist/{dist-w_gWE5Wf.js → dist-B0Ctcrt9.js} +1 -1
- package/dist/{dist-BO5HRiTf.js → dist-B1Donbpk.js} +2 -2
- package/dist/dist-BC6wzWNb.js +5 -0
- package/dist/{dist-De-GlSAs.js → dist-BJ2IUa0l.js} +15 -9
- package/dist/dist-BMd_RcOy.js +5 -0
- package/dist/dist-BZEWjN6r.js +5 -0
- package/dist/{dist-BP39XM8u.js → dist-B_K4AAkc.js} +1 -1
- package/dist/dist-BeuGjR3n.js +6 -0
- package/dist/dist-BfDQCUe6.js +5 -0
- package/dist/dist-BhNblTOV.js +8 -0
- package/dist/{dist-BPF0gTRZ.js → dist-C0ifRfXi.js} +1 -1
- package/dist/{dist-pqIwD8VD.js → dist-C3mEki35.js} +2 -2
- package/dist/{dist-LpLXa9Lb.js → dist-CNfV2vDI.js} +2 -2
- package/dist/{dist-DviUBLUp.js → dist-COcQ5Vyc.js} +4 -4
- package/dist/dist-CRCm4Fuo.js +5 -0
- package/dist/{dist-4lVIWUT3.js → dist-CSZpLb9d.js} +1 -1
- package/dist/{dist-BIEt-mlF.js → dist-CWswQBvu.js} +1 -1
- package/dist/{dist-D3bdsa1d.js → dist-CXYro_Nw.js} +4 -4
- package/dist/{dist-CRmSjkLP.js → dist-Ckfsc8C3.js} +2 -2
- package/dist/{dist-CSlJrrAw.js → dist-Cyq6Pxtv.js} +1 -1
- package/dist/{dist-JGehap7K.js → dist-D-BWPyoX.js} +5 -5
- package/dist/{dist-BCX980mU.js → dist-D-YB6j-O.js} +2 -2
- package/dist/{dist-DgjbnqTg.js → dist-D1vYHETp.js} +2 -2
- package/dist/{dist-BpeiYpG2.js → dist-D9-ePb6D.js} +2 -2
- package/dist/dist-DBPEbGkd.js +8 -0
- package/dist/{dist-C2_4pjuS.js → dist-DC409ROm.js} +1 -1
- package/dist/{dist-BdqCKQ1O.js → dist-DJRUd9aM.js} +2 -2
- package/dist/{dist-DaXJPX8F.js → dist-DLvxZEAK.js} +2 -2
- package/dist/dist-DSsl8IAI.js +5 -0
- package/dist/{dist-3NCqaWjt.js → dist-D_ulymry.js} +2 -2
- package/dist/{dist-DZwp8lro.js → dist-DgY27bJ4.js} +3 -3
- package/dist/{dist-BwhXBwMd.js → dist-DiwVZiK7.js} +1 -1
- package/dist/{dist-DwqBJ014.js → dist-DnYHhW6c.js} +2 -2
- package/dist/dist-Dx0kkrek.js +5 -0
- package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
- package/dist/dist-NKA1TU8a.js +6 -0
- package/dist/dist-ZFcsIdHj.js +8 -0
- package/dist/{dist-C18MUWTj.js → dist-iZ8-rtUy.js} +2 -2
- package/dist/{dist-DIlxLFXG.js → dist-j30bBjjN.js} +15 -15
- package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
- package/dist/{dist-CFSb_Frm.js → dist-sxRUVPmt.js} +1 -1
- package/dist/dist-uA2RbGmY.js +5 -0
- package/dist/{dist-B2jmQKKx.js → dist-xVU82Nq7.js} +2 -2
- package/dist/dist-zSCo-xCB.js +8 -0
- package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
- package/dist/dtd-B9dCT0pu.js +4 -0
- package/dist/dylan-DLghDyuR.js +4 -0
- package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
- package/dist/ecl-w0qdPHDB.js +4 -0
- package/dist/eiffel-C5AWRCNP.js +4 -0
- package/dist/elm-CT8FZrOm.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-BcKAHFqF.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
- package/dist/erlang-DPD-9M5g.js +4 -0
- package/dist/{error-banner-B_GQfxxD.js → error-banner-BwCLtmkH.js} +6 -6
- package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
- package/dist/{esm-DKOv6P2M.js → esm-Dusmf6uu.js} +105 -105
- package/dist/{esm-DzZVaNH4.js → esm-QLUgkqzZ.js} +6 -6
- package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
- package/dist/{extends-w2_S44bV.js → extends-iFBneQO_.js} +9 -9
- package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
- package/dist/factor-rFfeJu3r.js +4 -0
- package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
- package/dist/{formats-Dwq1THhr.js → formats-HSfYlcA8.js} +7 -7
- package/dist/forth-C-3AyQx4.js +4 -0
- package/dist/fortran-BSN9TeT7.js +4 -0
- package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
- package/dist/gas-DwmuvQpB.js +4 -0
- package/dist/gherkin-gmCjL-Sn.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
- package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
- package/dist/{glide-data-editor-B9K6-MJe.js → glide-data-editor-BI2i_IEE.js} +18 -18
- package/dist/graphlib-DMVIRZap.js +614 -0
- package/dist/groovy-DCjvesOy.js +4 -0
- package/dist/hasIn-synBnXn4.js +119 -0
- package/dist/haskell-C1p0D9L8.js +4 -0
- package/dist/haxe-q-fgv0zr.js +5 -0
- package/dist/{html-to-image-CZ1kLKkq.js → html-to-image-BOiFHx3u.js} +7535 -3056
- package/dist/idl-Bmg4bsnK.js +4 -0
- package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
- package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
- package/dist/{input-C5K4VBvB.js → input-BRE2a7Ay.js} +13 -13
- package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
- package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
- package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
- package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
- package/dist/javascript-BY5QZ-eN.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-DEal0aT1.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
- package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
- package/dist/julia-DbR1YalK.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-Dl90wENN.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
- package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
- package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
- package/dist/{label-DjoYwqmj.js → label-CMh2d8pJ.js} +6 -6
- package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
- package/dist/{linear-H_vsH9ao.js → linear-6pDlrp1I.js} +4 -4
- package/dist/livescript-BDUooIeL.js +4 -0
- package/dist/{loader-DX-IDS7n.js → loader-DTnbNSVZ.js} +11 -11
- package/dist/lua-CswAWSkH.js +4 -0
- package/dist/main.js +747 -752
- package/dist/map-BQ_Xp80D.js +137 -0
- package/dist/mathematica-Bw7v11B5.js +4 -0
- package/dist/mbox-j35IMz1j.js +4 -0
- package/dist/merge-CDbSrd9f.js +69 -0
- package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
- package/dist/mermaid-DpAz2sTy.js +1265 -0
- package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
- package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
- package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-CCDupjWW.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
- package/dist/mirc-Ba_RHVXO.js +4 -0
- package/dist/mllike-DbTP2dPp.js +6 -0
- package/dist/modelica-lpT3V1X6.js +4 -0
- package/dist/mscgen-BN4ZSJMx.js +6 -0
- package/dist/mumps-uI5g1A0g.js +4 -0
- package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
- package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
- package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
- package/dist/nsis-Df56GiRg.js +4 -0
- package/dist/ntriples-B3LWuG7W.js +4 -0
- package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
- package/dist/octave-CovfQgOx.js +4 -0
- package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
- package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
- package/dist/oz-DQQAvVFb.js +4 -0
- package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
- package/dist/pascal-xz94P9sf.js +4 -0
- package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
- package/dist/perl-aEWKE-1n.js +4 -0
- package/dist/pick-CaEWivSF.js +47 -0
- package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
- package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
- package/dist/pig-DB6DOZl7.js +4 -0
- package/dist/powershell-DM5saUx1.js +4 -0
- package/dist/{precisionRound-CnHPY_5v.js → precisionRound-BOoJTbDj.js} +1 -1
- package/dist/{process-output-bVfbcx5_.js → process-output-HrsM52f8.js} +7 -7
- package/dist/properties-BGjYQuGo.js +4 -0
- package/dist/protobuf-BPpEyPud.js +4 -0
- package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
- package/dist/pug-uJzB88ft.js +4 -0
- package/dist/puppet-oIm2d_Lg.js +4 -0
- package/dist/{purify.es-EnR5yhgI.js → purify.es-DR5PNXwx.js} +160 -155
- package/dist/python-WE57eUzD.js +4 -0
- package/dist/q-CR8xPodo.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BqDB9tUC.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
- package/dist/r-CJdmQZNj.js +4 -0
- package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
- package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
- package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
- package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
- package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
- package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
- package/dist/{react-vega-BazDALhI.js → react-vega-zyfTF9SY.js} +8036 -4796
- package/dist/{requirementDiagram-UZGBJVZJ-KbVt8SPH.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
- package/dist/{reveal-component-CbOaZYQI.js → reveal-component-CYZAzXrV.js} +27 -28
- package/dist/rough.esm-lGyFQ0B-.js +1363 -0
- package/dist/rpm-Cm5K4RH9.js +5 -0
- package/dist/ruby-ArsuTozQ.js +4 -0
- package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
- package/dist/sas-DShligrE.js +4 -0
- package/dist/scheme-kDLirQL7.js +4 -0
- package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
- package/dist/shell-CVQuWP_N.js +4 -0
- package/dist/sieve-BW-ePwnq.js +4 -0
- package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
- package/dist/smalltalk-DI4aAXxY.js +4 -0
- package/dist/sparql-B2sp0oiz.js +4 -0
- package/dist/{spec-CQKL_D3i.js → spec-BL1GSUUF.js} +4 -4
- package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
- package/dist/{stateDiagram-FKZM4ZOC-ByOvQf2n.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
- package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
- package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
- package/dist/stex-D2rme5UG.js +4 -0
- package/dist/{strings-DIy9NAmg.js → strings-DMLVGXRo.js} +305 -305
- package/dist/style.css +1 -1
- package/dist/stylus-xxO-85eO.js +4 -0
- package/dist/swift-Ctg533nZ.js +4 -0
- package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
- package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
- package/dist/{swiper-component-CEdAYjb7.js → swiper-component-Cx0cRWLk.js} +6 -6
- package/dist/tcl-phm9c5Nd.js +4 -0
- package/dist/textile-CphjAg90.js +4 -0
- package/dist/{time-Bb4A7I6a.js → time-DAJu9fnj.js} +4 -4
- package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
- package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
- package/dist/{toDate-CqhBWjvO.js → toDate-BGM7kFtQ.js} +6 -6
- package/dist/toml-BUuMK772.js +4 -0
- package/dist/{tooltip-f-qR0iUx.js → tooltip-BtUxZT5h.js} +7 -7
- package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
- package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
- package/dist/troff-lCtc05A3.js +4 -0
- package/dist/ttcn-CcykzBcW.js +4 -0
- package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
- package/dist/turtle-CpfVZs8G.js +4 -0
- package/dist/{types-DicH9Oi0.js → types-DT8UHI5w.js} +1 -1
- package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
- package/dist/{useAsyncData-CYOQb1EW.js → useAsyncData-CDcbh-Qv.js} +5 -5
- package/dist/{useDateFormatter-Bt2qr_XS.js → useDateFormatter-B_vTzxpm.js} +4 -4
- package/dist/{useDeepCompareMemoize-CSHQeQEI.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
- package/dist/{useIframeCapabilities-kA09ykNq.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
- package/dist/{useLifecycle-CMJGqBaY.js → useLifecycle-Bw4wRj_O.js} +7 -7
- package/dist/{useTheme-DYfby65G.js → useTheme-BzEXeAR5.js} +8 -7
- package/dist/vb-VOIzXwm9.js +4 -0
- package/dist/vbscript-D0WfcnVk.js +4 -0
- package/dist/{vega-component-C7nO5zcf.js → vega-component-CJug-VdR.js} +24 -24
- package/dist/{vega-embed-container-DAQAMjiO.js → vega-embed-container-BRjjqRGz.js} +9 -9
- package/dist/{vega-loader.browser-DmpxCJqx.js → vega-loader.browser-CGb-2Kwi.js} +106 -113
- package/dist/velocity-CCrc5n-0.js +4 -0
- package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
- package/dist/verilog-BLFhaDBH.js +4 -0
- package/dist/vhdl-DjuqPE9b.js +4 -0
- package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
- package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
- package/dist/webidl-Cc7RrfeK.js +4 -0
- package/dist/xquery-BiCRLnNG.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BSkNxYNw.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
- package/dist/yacas-CWcjav-O.js +4 -0
- package/dist/z80-DpYS2lE7.js +4 -0
- package/dist/{zod-BUcyXSdR.js → zod-BFY2SnzC.js} +42 -43
- package/package.json +7 -7
- package/src/__mocks__/requests.ts +5 -0
- package/src/components/ai/ai-model-dropdown.tsx +2 -2
- package/src/components/app-config/user-config-form.tsx +26 -0
- package/src/components/chat/__tests__/capabilities-popover.test.tsx +38 -0
- package/src/components/chat/__tests__/chat-abort.test.ts +51 -0
- package/src/components/chat/__tests__/use-chat-controller-id.test.tsx +39 -0
- package/src/components/chat/capabilities-popover.tsx +68 -0
- package/src/components/chat/chat-abort.ts +44 -0
- package/src/components/chat/chat-display.tsx +17 -0
- package/src/components/chat/chat-panel.tsx +107 -50
- package/src/components/chat/chat-utils.ts +1 -1
- package/src/components/chat/use-chat-controller-id.ts +24 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +35 -0
- package/src/components/data-table/charts/schemas.ts +5 -2
- package/src/components/datasets/__tests__/icons.test.ts +21 -0
- package/src/components/datasets/icons.tsx +10 -0
- package/src/components/datasources/__tests__/components.test.tsx +29 -0
- package/src/components/datasources/components.tsx +8 -3
- package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
- package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
- package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
- package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
- package/src/components/editor/actions/export-dialog/state.ts +23 -5
- package/src/components/editor/actions/export-dialog/use-export-dialog.ts +3 -13
- package/src/components/editor/actions/useConfigActions.tsx +24 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
- package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
- package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
- package/src/components/editor/chrome/wrapper/useOpenAiAssistant.ts +2 -2
- package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
- package/src/core/__tests__/mode.test.ts +85 -0
- package/src/core/ai/__tests__/config.test.tsx +96 -0
- package/src/core/ai/config.ts +16 -22
- package/src/core/ai/constants.ts +7 -0
- package/src/core/ai/staged-cells.ts +3 -0
- package/src/core/ai/state.ts +10 -0
- package/src/core/codemirror/__tests__/setup.test.ts +1 -1
- package/src/core/codemirror/cm.ts +2 -2
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +85 -6
- package/src/core/codemirror/code-lens/extension.ts +144 -47
- package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
- package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
- package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
- package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
- package/src/core/codemirror/theme/dark.ts +6 -5
- package/src/core/codemirror/theme/light.ts +6 -4
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/config/feature-flag.tsx +0 -2
- package/src/core/dom/outline.ts +25 -2
- package/src/core/hotkeys/hotkeys.ts +2 -0
- package/src/core/mode.ts +11 -9
- package/src/core/network/__tests__/api.test.ts +132 -17
- package/src/core/network/__tests__/export-filename.test.ts +43 -0
- package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
- package/src/core/network/api.ts +47 -12
- package/src/core/network/export-filename.ts +37 -0
- package/src/core/network/markdown-export.ts +19 -0
- package/src/core/network/requests-network.ts +29 -5
- package/src/core/network/types.ts +4 -0
- package/src/css/app/codemirror.css +11 -7
- package/src/css/globals.css +8 -0
- package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
- package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
- package/src/plugins/impl/chat/chat-ui.tsx +51 -3
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
- package/src/plugins/impl/data-frames/schema.ts +4 -1
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
- package/src/stories/theme.stories.tsx +71 -1
- package/dist/_baseUniq-B_2Hw7zG.js +0 -380
- package/dist/apl-e1B5LPEL.js +0 -4
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
- package/dist/asciiarmor-B-gwgesP.js +0 -4
- package/dist/asn1-DF2ckRB4.js +0 -4
- package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
- package/dist/blockDiagram-VD42YOAC-CIOjvxeD.js +0 -3131
- package/dist/brainfuck-4G-7_gq_.js +0 -4
- package/dist/chat-ui-DsZJj75A.js +0 -8369
- package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
- package/dist/chunk-ABZYJK2D-BxBDji1u.js +0 -2438
- package/dist/chunk-BNovOVIE.js +0 -28
- package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
- package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
- package/dist/chunk-EXTU4WIE-BQPBhApE.js +0 -10
- package/dist/chunk-JZLCHNYA-DWIR9m5O.js +0 -4901
- package/dist/chunk-N4CR4FBY-Bw2HcMNc.js +0 -65
- package/dist/chunk-QXUST7PY-DtC2t9Mk.js +0 -498
- package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
- package/dist/chunk-TZMSLE5B-BzSHcq-K.js +0 -63
- package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +0 -30
- package/dist/clojure-CUybM11R.js +0 -4
- package/dist/clone-Q4Fqwn6q.js +0 -9
- package/dist/cmake-BPjGcuDL.js +0 -4
- package/dist/cobol-BETk_nb6.js +0 -4
- package/dist/coffeescript-CManZxXL.js +0 -4
- package/dist/commonlisp-DWkn7GW8.js +0 -4
- package/dist/crystal-CCbg5EUH.js +0 -4
- package/dist/css-By8eo-XS.js +0 -4
- package/dist/cypher-DwfHg3nP.js +0 -4
- package/dist/d-Brs1wNbw.js +0 -4
- package/dist/dagre-6UL2VRFP-DpYjBqQs.js +0 -296
- package/dist/diagram-QEK2KX5R-DVlUOgs1.js +0 -228
- package/dist/diff-DJIRmJ1g.js +0 -4
- package/dist/dist-5o9uz19x.js +0 -5
- package/dist/dist-BpDH0DEP.js +0 -5
- package/dist/dist-BpXhbQXO.js +0 -8
- package/dist/dist-ByadAk_L.js +0 -5
- package/dist/dist-CK0g7JvP.js +0 -8
- package/dist/dist-CfzCtiq2.js +0 -5
- package/dist/dist-D8JtVFrW.js +0 -8
- package/dist/dist-DK2Oocpu.js +0 -6
- package/dist/dist-DnSu977r.js +0 -5
- package/dist/dist-UmxJm6sW.js +0 -8
- package/dist/dist-aYSBQSyM.js +0 -5
- package/dist/dist-kkZ1Ztlh.js +0 -6
- package/dist/dist-ngPczwNi.js +0 -5
- package/dist/dist-wQRyxyTV.js +0 -5
- package/dist/dtd-Dyiazv4N.js +0 -4
- package/dist/dylan-D8Fcw7NA.js +0 -4
- package/dist/ecl-CjKp8Vii.js +0 -4
- package/dist/eiffel-K9ViOX5r.js +0 -4
- package/dist/elm-B5NVtRco.js +0 -4
- package/dist/erlang-BnLzgk7R.js +0 -4
- package/dist/factor-C7f9Jz5R.js +0 -4
- package/dist/flatten-Bbw7g6-K.js +0 -8
- package/dist/forth-rGM8jLao.js +0 -4
- package/dist/fortran-B3acSe0i.js +0 -4
- package/dist/ganttDiagram-JELNMOA3-CXXCN7LN.js +0 -2170
- package/dist/gas-Bb1Vmv_N.js +0 -4
- package/dist/gherkin-C9Lyidgd.js +0 -4
- package/dist/gitGraphDiagram-V2S2FVAM-BOlkMSqK.js +0 -652
- package/dist/graphlib-Ns7y5crs.js +0 -359
- package/dist/groovy-DQk6XcGH.js +0 -4
- package/dist/hasIn-Deg7jl_j.js +0 -108
- package/dist/haskell-mV0Vw9gv.js +0 -4
- package/dist/haxe-DqxN89zH.js +0 -5
- package/dist/idl-ya8W561J.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +0 -30
- package/dist/javascript-CgqgptVu.js +0 -4
- package/dist/julia-CFQ-HusI.js +0 -4
- package/dist/livescript-D__3TmDo.js +0 -4
- package/dist/lua-Bytcgj_W.js +0 -4
- package/dist/main-B1Jo_8pC.js +0 -4321
- package/dist/mathematica-DJhvVKvl.js +0 -4
- package/dist/mbox-IGHPCjfR.js +0 -4
- package/dist/memoize-BOtf2yFf.js +0 -17
- package/dist/merge-Be1CqGnU.js +0 -222
- package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
- package/dist/mermaid-hv6IckVw.js +0 -1100
- package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
- package/dist/min-Dtgc8txR.js +0 -38
- package/dist/mirc-tcwvVugm.js +0 -4
- package/dist/mllike-Dx91i62r.js +0 -6
- package/dist/modelica-_SRt-yU5.js +0 -4
- package/dist/mscgen-GZrGS9gt.js +0 -6
- package/dist/mumps-Cv3ygyod.js +0 -4
- package/dist/nsis-BU7GeGbI.js +0 -4
- package/dist/ntriples-CL-FCYXb.js +0 -4
- package/dist/octave-Dc6_3DIu.js +0 -4
- package/dist/oz-DpUAJCXf.js +0 -4
- package/dist/pascal-B17mncXs.js +0 -4
- package/dist/perl-BTpK97q9.js +0 -4
- package/dist/pick-D1Qo8s2C.js +0 -43
- package/dist/pieDiagram-ADFJNKIX-JvXG_6hk.js +0 -170
- package/dist/pig-CFb638Ap.js +0 -4
- package/dist/powershell-Cxo-_2A5.js +0 -4
- package/dist/properties-BPgT1xTB.js +0 -4
- package/dist/protobuf-BgHBaIIK.js +0 -4
- package/dist/pug-25-oS0SG.js +0 -4
- package/dist/puppet-DarIr20S.js +0 -4
- package/dist/python-BqmOsBsi.js +0 -4
- package/dist/q-D3QJCTup.js +0 -4
- package/dist/r-Cz_yBX4z.js +0 -4
- package/dist/rpm-DGOtYwAI.js +0 -5
- package/dist/ruby-DBZu4rPc.js +0 -4
- package/dist/sankeyDiagram-TZEHDZUN-DgkF38jx.js +0 -892
- package/dist/sas-Dd1D9qTq.js +0 -4
- package/dist/scheme-BmDjvTHX.js +0 -4
- package/dist/sequenceDiagram-WL72ISMW-BDmx9n95.js +0 -3652
- package/dist/shell-BL8zFSaj.js +0 -4
- package/dist/sieve-BAx2WqUP.js +0 -4
- package/dist/smalltalk-CYRzF7VV.js +0 -4
- package/dist/sparql-YWaDRO4A.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +0 -29
- package/dist/stex-B5O-env2.js +0 -4
- package/dist/stylus-lYsyLFc1.js +0 -4
- package/dist/swift-ClQz9z1n.js +0 -4
- package/dist/tcl-B3jhsfqY.js +0 -4
- package/dist/textile-Cb1Dw7Aq.js +0 -4
- package/dist/timeline-definition-IT6M3QCI-CkD_trIn.js +0 -856
- package/dist/toml-nHZhetdO.js +0 -4
- package/dist/troff-DuJAGWKH.js +0 -4
- package/dist/ttcn-BxrcwP21.js +0 -4
- package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
- package/dist/turtle-zCq949as.js +0 -4
- package/dist/vb-De5hElus.js +0 -4
- package/dist/vbscript-Cypcpv4F.js +0 -4
- package/dist/velocity-Di7l-yhe.js +0 -4
- package/dist/verilog-Bzi-S3g2.js +0 -4
- package/dist/vhdl-B0ZZITaW.js +0 -4
- package/dist/webidl-0sviiRcN.js +0 -4
- package/dist/xquery-B4qMVWaB.js +0 -4
- package/dist/yacas-Jt25Fuv8.js +0 -4
- package/dist/z80-CrcbYzmp.js +0 -4
- /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
- /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
- /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
- /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
- /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
- /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
- /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
- /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
- /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
- /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
- /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
- /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
- /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
- /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
- /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
- /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
- /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
- /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
- /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
- /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
- /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
- /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
- /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
- /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
- /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
- /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
- /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
- /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
- /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
- /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
- /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
- /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
- /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
- /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
- /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
- /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
- /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
- /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
- /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
- /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
- /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
- /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
- /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
- /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
- /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
- /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
- /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
- /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
- /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
- /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
- /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
- /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
- /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
- /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
- /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
- /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
- /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
- /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
- /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
- /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
- /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
- /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
- /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
- /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
- /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
- /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
- /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
- /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
- /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
- /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
- /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
- /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
- /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
- /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
- /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
- /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
- /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
- /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
- /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
- /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
- /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
- /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
- /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
- /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
- /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
- /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
- /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
- /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
- /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
- /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
- /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
- /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import "./purify.es-DR5PNXwx.js";
|
|
3
|
+
import { m as parseFontSize } from "./chunk-NSK5VX7P-BmmoJBbx.js";
|
|
4
|
+
import "./src-BwVZVGyf.js";
|
|
5
|
+
import { n as __name } from "./chunk-Y2CYZVJY-DX3DSigL.js";
|
|
6
|
+
import { H as setAccDescription, K as setDiagramTitle, U as setAccTitle, a as clear, c as configureSvgSize, s as common_default, v as getAccDescription, w as getDiagramTitle, x as getConfig2, y as getAccTitle } from "./chunk-I66GZJ75-9xAsFrdW.js";
|
|
7
|
+
import { t as selectSvgElement } from "./chunk-3NCLNEKW-BPlp8K7N.js";
|
|
8
|
+
import "./dist-HaLHv0k5.js";
|
|
9
|
+
import { t as at } from "./rough.esm-lGyFQ0B-.js";
|
|
10
|
+
var parser = (function() {
|
|
11
|
+
var e = /* @__PURE__ */ __name(function(e2, n, r2, i2) {
|
|
12
|
+
for (r2 || (r2 = {}), i2 = e2.length; i2--; r2[e2[i2]] = n) ;
|
|
13
|
+
return r2;
|
|
14
|
+
}, "o"), r = [1, 4], i = [1, 14], a = [1, 12], o = [1, 13], s = [
|
|
15
|
+
6,
|
|
16
|
+
7,
|
|
17
|
+
8
|
|
18
|
+
], c = [1, 20], l = [1, 18], u = [1, 19], d = [
|
|
19
|
+
6,
|
|
20
|
+
7,
|
|
21
|
+
11
|
|
22
|
+
], f = [
|
|
23
|
+
1,
|
|
24
|
+
6,
|
|
25
|
+
13,
|
|
26
|
+
14
|
|
27
|
+
], p = [1, 23], m = [1, 24], h = [
|
|
28
|
+
1,
|
|
29
|
+
6,
|
|
30
|
+
7,
|
|
31
|
+
11,
|
|
32
|
+
13,
|
|
33
|
+
14
|
|
34
|
+
], g = {
|
|
35
|
+
trace: /* @__PURE__ */ __name(function() {
|
|
36
|
+
}, "trace"),
|
|
37
|
+
yy: {},
|
|
38
|
+
symbols_: {
|
|
39
|
+
error: 2,
|
|
40
|
+
start: 3,
|
|
41
|
+
ishikawa: 4,
|
|
42
|
+
spaceLines: 5,
|
|
43
|
+
SPACELINE: 6,
|
|
44
|
+
NL: 7,
|
|
45
|
+
ISHIKAWA: 8,
|
|
46
|
+
document: 9,
|
|
47
|
+
stop: 10,
|
|
48
|
+
EOF: 11,
|
|
49
|
+
statement: 12,
|
|
50
|
+
SPACELIST: 13,
|
|
51
|
+
TEXT: 14,
|
|
52
|
+
$accept: 0,
|
|
53
|
+
$end: 1
|
|
54
|
+
},
|
|
55
|
+
terminals_: {
|
|
56
|
+
2: "error",
|
|
57
|
+
6: "SPACELINE",
|
|
58
|
+
7: "NL",
|
|
59
|
+
8: "ISHIKAWA",
|
|
60
|
+
11: "EOF",
|
|
61
|
+
13: "SPACELIST",
|
|
62
|
+
14: "TEXT"
|
|
63
|
+
},
|
|
64
|
+
productions_: [
|
|
65
|
+
0,
|
|
66
|
+
[3, 1],
|
|
67
|
+
[3, 2],
|
|
68
|
+
[5, 1],
|
|
69
|
+
[5, 2],
|
|
70
|
+
[5, 2],
|
|
71
|
+
[4, 2],
|
|
72
|
+
[4, 3],
|
|
73
|
+
[10, 1],
|
|
74
|
+
[10, 1],
|
|
75
|
+
[10, 1],
|
|
76
|
+
[10, 2],
|
|
77
|
+
[10, 2],
|
|
78
|
+
[9, 3],
|
|
79
|
+
[9, 2],
|
|
80
|
+
[12, 2],
|
|
81
|
+
[12, 1],
|
|
82
|
+
[12, 1],
|
|
83
|
+
[12, 1]
|
|
84
|
+
],
|
|
85
|
+
performAction: /* @__PURE__ */ __name(function(e2, n, r2, i2, a2, o2, s2) {
|
|
86
|
+
var c2 = o2.length - 1;
|
|
87
|
+
switch (a2) {
|
|
88
|
+
case 6:
|
|
89
|
+
case 7:
|
|
90
|
+
return i2;
|
|
91
|
+
case 15:
|
|
92
|
+
i2.addNode(o2[c2 - 1].length, o2[c2].trim());
|
|
93
|
+
break;
|
|
94
|
+
case 16:
|
|
95
|
+
i2.addNode(0, o2[c2].trim());
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
}, "anonymous"),
|
|
99
|
+
table: [
|
|
100
|
+
{
|
|
101
|
+
3: 1,
|
|
102
|
+
4: 2,
|
|
103
|
+
5: 3,
|
|
104
|
+
6: [1, 5],
|
|
105
|
+
8: r
|
|
106
|
+
},
|
|
107
|
+
{ 1: [3] },
|
|
108
|
+
{ 1: [2, 1] },
|
|
109
|
+
{
|
|
110
|
+
4: 6,
|
|
111
|
+
6: [1, 7],
|
|
112
|
+
7: [1, 8],
|
|
113
|
+
8: r
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
6: i,
|
|
117
|
+
7: [1, 10],
|
|
118
|
+
9: 9,
|
|
119
|
+
12: 11,
|
|
120
|
+
13: a,
|
|
121
|
+
14: o
|
|
122
|
+
},
|
|
123
|
+
e(s, [2, 3]),
|
|
124
|
+
{ 1: [2, 2] },
|
|
125
|
+
e(s, [2, 4]),
|
|
126
|
+
e(s, [2, 5]),
|
|
127
|
+
{
|
|
128
|
+
1: [2, 6],
|
|
129
|
+
6: i,
|
|
130
|
+
12: 15,
|
|
131
|
+
13: a,
|
|
132
|
+
14: o
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
6: i,
|
|
136
|
+
9: 16,
|
|
137
|
+
12: 11,
|
|
138
|
+
13: a,
|
|
139
|
+
14: o
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
6: c,
|
|
143
|
+
7: l,
|
|
144
|
+
10: 17,
|
|
145
|
+
11: u
|
|
146
|
+
},
|
|
147
|
+
e(d, [2, 18], { 14: [1, 21] }),
|
|
148
|
+
e(d, [2, 16]),
|
|
149
|
+
e(d, [2, 17]),
|
|
150
|
+
{
|
|
151
|
+
6: c,
|
|
152
|
+
7: l,
|
|
153
|
+
10: 22,
|
|
154
|
+
11: u
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
1: [2, 7],
|
|
158
|
+
6: i,
|
|
159
|
+
12: 15,
|
|
160
|
+
13: a,
|
|
161
|
+
14: o
|
|
162
|
+
},
|
|
163
|
+
e(f, [2, 14], {
|
|
164
|
+
7: p,
|
|
165
|
+
11: m
|
|
166
|
+
}),
|
|
167
|
+
e(h, [2, 8]),
|
|
168
|
+
e(h, [2, 9]),
|
|
169
|
+
e(h, [2, 10]),
|
|
170
|
+
e(d, [2, 15]),
|
|
171
|
+
e(f, [2, 13], {
|
|
172
|
+
7: p,
|
|
173
|
+
11: m
|
|
174
|
+
}),
|
|
175
|
+
e(h, [2, 11]),
|
|
176
|
+
e(h, [2, 12])
|
|
177
|
+
],
|
|
178
|
+
defaultActions: {
|
|
179
|
+
2: [2, 1],
|
|
180
|
+
6: [2, 2]
|
|
181
|
+
},
|
|
182
|
+
parseError: /* @__PURE__ */ __name(function(e2, n) {
|
|
183
|
+
if (n.recoverable) this.trace(e2);
|
|
184
|
+
else {
|
|
185
|
+
var r2 = Error(e2);
|
|
186
|
+
throw r2.hash = n, r2;
|
|
187
|
+
}
|
|
188
|
+
}, "parseError"),
|
|
189
|
+
parse: /* @__PURE__ */ __name(function(e2) {
|
|
190
|
+
var r2 = this, i2 = [0], a2 = [], o2 = [null], s2 = [], c2 = this.table, l2 = "", u2 = 0, d2 = 0, f2 = 0, p2 = 2, m2 = 1, h2 = s2.slice.call(arguments, 1), g2 = Object.create(this.lexer), _2 = { yy: {} };
|
|
191
|
+
for (var v in this.yy) Object.prototype.hasOwnProperty.call(this.yy, v) && (_2.yy[v] = this.yy[v]);
|
|
192
|
+
g2.setInput(e2, _2.yy), _2.yy.lexer = g2, _2.yy.parser = this, g2.yylloc === void 0 && (g2.yylloc = {});
|
|
193
|
+
var y = g2.yylloc;
|
|
194
|
+
s2.push(y);
|
|
195
|
+
var b = g2.options && g2.options.ranges;
|
|
196
|
+
typeof _2.yy.parseError == "function" ? this.parseError = _2.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
197
|
+
function x(e3) {
|
|
198
|
+
i2.length -= 2 * e3, o2.length -= e3, s2.length -= e3;
|
|
199
|
+
}
|
|
200
|
+
__name(x, "popStack");
|
|
201
|
+
function S() {
|
|
202
|
+
var e3 = a2.pop() || g2.lex() || m2;
|
|
203
|
+
return typeof e3 != "number" && (e3 instanceof Array && (a2 = e3, e3 = a2.pop()), e3 = r2.symbols_[e3] || e3), e3;
|
|
204
|
+
}
|
|
205
|
+
__name(S, "lex");
|
|
206
|
+
for (var C, w, T, E, D, O = {}, k, A, j, M; ; ) {
|
|
207
|
+
if (T = i2[i2.length - 1], this.defaultActions[T] ? E = this.defaultActions[T] : (C ?? (C = S()), E = c2[T] && c2[T][C]), E === void 0 || !E.length || !E[0]) {
|
|
208
|
+
var N = "";
|
|
209
|
+
for (k in M = [], c2[T]) this.terminals_[k] && k > p2 && M.push("'" + this.terminals_[k] + "'");
|
|
210
|
+
N = g2.showPosition ? "Parse error on line " + (u2 + 1) + ":\n" + g2.showPosition() + "\nExpecting " + M.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : "Parse error on line " + (u2 + 1) + ": Unexpected " + (C == m2 ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(N, {
|
|
211
|
+
text: g2.match,
|
|
212
|
+
token: this.terminals_[C] || C,
|
|
213
|
+
line: g2.yylineno,
|
|
214
|
+
loc: y,
|
|
215
|
+
expected: M
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
if (E[0] instanceof Array && E.length > 1) throw Error("Parse Error: multiple actions possible at state: " + T + ", token: " + C);
|
|
219
|
+
switch (E[0]) {
|
|
220
|
+
case 1:
|
|
221
|
+
i2.push(C), o2.push(g2.yytext), s2.push(g2.yylloc), i2.push(E[1]), C = null, w ? (C = w, w = null) : (d2 = g2.yyleng, l2 = g2.yytext, u2 = g2.yylineno, y = g2.yylloc, f2 > 0 && f2--);
|
|
222
|
+
break;
|
|
223
|
+
case 2:
|
|
224
|
+
if (A = this.productions_[E[1]][1], O.$ = o2[o2.length - A], O._$ = {
|
|
225
|
+
first_line: s2[s2.length - (A || 1)].first_line,
|
|
226
|
+
last_line: s2[s2.length - 1].last_line,
|
|
227
|
+
first_column: s2[s2.length - (A || 1)].first_column,
|
|
228
|
+
last_column: s2[s2.length - 1].last_column
|
|
229
|
+
}, b && (O._$.range = [s2[s2.length - (A || 1)].range[0], s2[s2.length - 1].range[1]]), D = this.performAction.apply(O, [
|
|
230
|
+
l2,
|
|
231
|
+
d2,
|
|
232
|
+
u2,
|
|
233
|
+
_2.yy,
|
|
234
|
+
E[1],
|
|
235
|
+
o2,
|
|
236
|
+
s2
|
|
237
|
+
].concat(h2)), D !== void 0) return D;
|
|
238
|
+
A && (i2 = i2.slice(0, -1 * A * 2), o2 = o2.slice(0, -1 * A), s2 = s2.slice(0, -1 * A)), i2.push(this.productions_[E[1]][0]), o2.push(O.$), s2.push(O._$), j = c2[i2[i2.length - 2]][i2[i2.length - 1]], i2.push(j);
|
|
239
|
+
break;
|
|
240
|
+
case 3:
|
|
241
|
+
return true;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return true;
|
|
245
|
+
}, "parse")
|
|
246
|
+
};
|
|
247
|
+
g.lexer = /* @__PURE__ */ (function() {
|
|
248
|
+
return {
|
|
249
|
+
EOF: 1,
|
|
250
|
+
parseError: /* @__PURE__ */ __name(function(e2, n) {
|
|
251
|
+
if (this.yy.parser) this.yy.parser.parseError(e2, n);
|
|
252
|
+
else throw Error(e2);
|
|
253
|
+
}, "parseError"),
|
|
254
|
+
setInput: /* @__PURE__ */ __name(function(e2, n) {
|
|
255
|
+
return this.yy = n || this.yy || {}, this._input = e2, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
256
|
+
first_line: 1,
|
|
257
|
+
first_column: 0,
|
|
258
|
+
last_line: 1,
|
|
259
|
+
last_column: 0
|
|
260
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
261
|
+
}, "setInput"),
|
|
262
|
+
input: /* @__PURE__ */ __name(function() {
|
|
263
|
+
var e2 = this._input[0];
|
|
264
|
+
return this.yytext += e2, this.yyleng++, this.offset++, this.match += e2, this.matched += e2, e2.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), e2;
|
|
265
|
+
}, "input"),
|
|
266
|
+
unput: /* @__PURE__ */ __name(function(e2) {
|
|
267
|
+
var n = e2.length, r2 = e2.split(/(?:\r\n?|\n)/g);
|
|
268
|
+
this._input = e2 + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
|
|
269
|
+
var i2 = this.match.split(/(?:\r\n?|\n)/g);
|
|
270
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), r2.length - 1 && (this.yylineno -= r2.length - 1);
|
|
271
|
+
var a2 = this.yylloc.range;
|
|
272
|
+
return this.yylloc = {
|
|
273
|
+
first_line: this.yylloc.first_line,
|
|
274
|
+
last_line: this.yylineno + 1,
|
|
275
|
+
first_column: this.yylloc.first_column,
|
|
276
|
+
last_column: r2 ? (r2.length === i2.length ? this.yylloc.first_column : 0) + i2[i2.length - r2.length].length - r2[0].length : this.yylloc.first_column - n
|
|
277
|
+
}, this.options.ranges && (this.yylloc.range = [a2[0], a2[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
|
|
278
|
+
}, "unput"),
|
|
279
|
+
more: /* @__PURE__ */ __name(function() {
|
|
280
|
+
return this._more = true, this;
|
|
281
|
+
}, "more"),
|
|
282
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
283
|
+
if (this.options.backtrack_lexer) this._backtrack = true;
|
|
284
|
+
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).\n" + this.showPosition(), {
|
|
285
|
+
text: "",
|
|
286
|
+
token: null,
|
|
287
|
+
line: this.yylineno
|
|
288
|
+
});
|
|
289
|
+
return this;
|
|
290
|
+
}, "reject"),
|
|
291
|
+
less: /* @__PURE__ */ __name(function(e2) {
|
|
292
|
+
this.unput(this.match.slice(e2));
|
|
293
|
+
}, "less"),
|
|
294
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
295
|
+
var e2 = this.matched.substr(0, this.matched.length - this.match.length);
|
|
296
|
+
return (e2.length > 20 ? "..." : "") + e2.substr(-20).replace(/\n/g, "");
|
|
297
|
+
}, "pastInput"),
|
|
298
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
299
|
+
var e2 = this.match;
|
|
300
|
+
return e2.length < 20 && (e2 += this._input.substr(0, 20 - e2.length)), (e2.substr(0, 20) + (e2.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
301
|
+
}, "upcomingInput"),
|
|
302
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
303
|
+
var e2 = this.pastInput(), n = Array(e2.length + 1).join("-");
|
|
304
|
+
return e2 + this.upcomingInput() + "\n" + n + "^";
|
|
305
|
+
}, "showPosition"),
|
|
306
|
+
test_match: /* @__PURE__ */ __name(function(e2, n) {
|
|
307
|
+
var r2, i2, a2;
|
|
308
|
+
if (this.options.backtrack_lexer && (a2 = {
|
|
309
|
+
yylineno: this.yylineno,
|
|
310
|
+
yylloc: {
|
|
311
|
+
first_line: this.yylloc.first_line,
|
|
312
|
+
last_line: this.last_line,
|
|
313
|
+
first_column: this.yylloc.first_column,
|
|
314
|
+
last_column: this.yylloc.last_column
|
|
315
|
+
},
|
|
316
|
+
yytext: this.yytext,
|
|
317
|
+
match: this.match,
|
|
318
|
+
matches: this.matches,
|
|
319
|
+
matched: this.matched,
|
|
320
|
+
yyleng: this.yyleng,
|
|
321
|
+
offset: this.offset,
|
|
322
|
+
_more: this._more,
|
|
323
|
+
_input: this._input,
|
|
324
|
+
yy: this.yy,
|
|
325
|
+
conditionStack: this.conditionStack.slice(0),
|
|
326
|
+
done: this.done
|
|
327
|
+
}, this.options.ranges && (a2.yylloc.range = this.yylloc.range.slice(0))), i2 = e2[0].match(/(?:\r\n?|\n).*/g), i2 && (this.yylineno += i2.length), this.yylloc = {
|
|
328
|
+
first_line: this.yylloc.last_line,
|
|
329
|
+
last_line: this.yylineno + 1,
|
|
330
|
+
first_column: this.yylloc.last_column,
|
|
331
|
+
last_column: i2 ? i2[i2.length - 1].length - i2[i2.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e2[0].length
|
|
332
|
+
}, this.yytext += e2[0], this.match += e2[0], this.matches = e2, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = false, this._backtrack = false, this._input = this._input.slice(e2[0].length), this.matched += e2[0], r2 = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), r2) return r2;
|
|
333
|
+
if (this._backtrack) {
|
|
334
|
+
for (var o2 in a2) this[o2] = a2[o2];
|
|
335
|
+
return false;
|
|
336
|
+
}
|
|
337
|
+
return false;
|
|
338
|
+
}, "test_match"),
|
|
339
|
+
next: /* @__PURE__ */ __name(function() {
|
|
340
|
+
if (this.done) return this.EOF;
|
|
341
|
+
this._input || (this.done = true);
|
|
342
|
+
var e2, n, r2, i2;
|
|
343
|
+
this._more || (this.yytext = "", this.match = "");
|
|
344
|
+
for (var a2 = this._currentRules(), o2 = 0; o2 < a2.length; o2++) if (r2 = this._input.match(this.rules[a2[o2]]), r2 && (!n || r2[0].length > n[0].length)) {
|
|
345
|
+
if (n = r2, i2 = o2, this.options.backtrack_lexer) {
|
|
346
|
+
if (e2 = this.test_match(r2, a2[o2]), e2 !== false) return e2;
|
|
347
|
+
if (this._backtrack) {
|
|
348
|
+
n = false;
|
|
349
|
+
continue;
|
|
350
|
+
} else return false;
|
|
351
|
+
} else if (!this.options.flex) break;
|
|
352
|
+
}
|
|
353
|
+
return n ? (e2 = this.test_match(n, a2[i2]), e2 === false ? false : e2) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
354
|
+
text: "",
|
|
355
|
+
token: null,
|
|
356
|
+
line: this.yylineno
|
|
357
|
+
});
|
|
358
|
+
}, "next"),
|
|
359
|
+
lex: /* @__PURE__ */ __name(function() {
|
|
360
|
+
return this.next() || this.lex();
|
|
361
|
+
}, "lex"),
|
|
362
|
+
begin: /* @__PURE__ */ __name(function(e2) {
|
|
363
|
+
this.conditionStack.push(e2);
|
|
364
|
+
}, "begin"),
|
|
365
|
+
popState: /* @__PURE__ */ __name(function() {
|
|
366
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
367
|
+
}, "popState"),
|
|
368
|
+
_currentRules: /* @__PURE__ */ __name(function() {
|
|
369
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
370
|
+
}, "_currentRules"),
|
|
371
|
+
topState: /* @__PURE__ */ __name(function(e2) {
|
|
372
|
+
return e2 = this.conditionStack.length - 1 - Math.abs(e2 || 0), e2 >= 0 ? this.conditionStack[e2] : "INITIAL";
|
|
373
|
+
}, "topState"),
|
|
374
|
+
pushState: /* @__PURE__ */ __name(function(e2) {
|
|
375
|
+
this.begin(e2);
|
|
376
|
+
}, "pushState"),
|
|
377
|
+
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
378
|
+
return this.conditionStack.length;
|
|
379
|
+
}, "stateStackSize"),
|
|
380
|
+
options: { "case-insensitive": true },
|
|
381
|
+
performAction: /* @__PURE__ */ __name(function(e2, n, r2, i2) {
|
|
382
|
+
switch (r2) {
|
|
383
|
+
case 0:
|
|
384
|
+
return 6;
|
|
385
|
+
case 1:
|
|
386
|
+
return 8;
|
|
387
|
+
case 2:
|
|
388
|
+
return 8;
|
|
389
|
+
case 3:
|
|
390
|
+
return 6;
|
|
391
|
+
case 4:
|
|
392
|
+
return 7;
|
|
393
|
+
case 5:
|
|
394
|
+
return 13;
|
|
395
|
+
case 6:
|
|
396
|
+
return 14;
|
|
397
|
+
case 7:
|
|
398
|
+
return 11;
|
|
399
|
+
}
|
|
400
|
+
}, "anonymous"),
|
|
401
|
+
rules: [
|
|
402
|
+
/^(?:\s*%%.*)/i,
|
|
403
|
+
/^(?:ishikawa-beta\b)/i,
|
|
404
|
+
/^(?:ishikawa\b)/i,
|
|
405
|
+
/^(?:[\s]+[\n])/i,
|
|
406
|
+
/^(?:[\n]+)/i,
|
|
407
|
+
/^(?:[\s]+)/i,
|
|
408
|
+
/^(?:[^\n]+)/i,
|
|
409
|
+
/^(?:$)/i
|
|
410
|
+
],
|
|
411
|
+
conditions: { INITIAL: {
|
|
412
|
+
rules: [
|
|
413
|
+
0,
|
|
414
|
+
1,
|
|
415
|
+
2,
|
|
416
|
+
3,
|
|
417
|
+
4,
|
|
418
|
+
5,
|
|
419
|
+
6,
|
|
420
|
+
7
|
|
421
|
+
],
|
|
422
|
+
inclusive: true
|
|
423
|
+
} }
|
|
424
|
+
};
|
|
425
|
+
})();
|
|
426
|
+
function _() {
|
|
427
|
+
this.yy = {};
|
|
428
|
+
}
|
|
429
|
+
return __name(_, "Parser"), _.prototype = g, g.Parser = _, new _();
|
|
430
|
+
})();
|
|
431
|
+
parser.parser = parser;
|
|
432
|
+
var ishikawa_default = parser, IshikawaDB = (_a = class {
|
|
433
|
+
constructor() {
|
|
434
|
+
this.stack = [], this.clear = this.clear.bind(this), this.addNode = this.addNode.bind(this), this.getRoot = this.getRoot.bind(this);
|
|
435
|
+
}
|
|
436
|
+
clear() {
|
|
437
|
+
this.root = void 0, this.stack = [], this.baseLevel = void 0, clear();
|
|
438
|
+
}
|
|
439
|
+
getRoot() {
|
|
440
|
+
return this.root;
|
|
441
|
+
}
|
|
442
|
+
addNode(e, n) {
|
|
443
|
+
let r = common_default.sanitizeText(n, getConfig2());
|
|
444
|
+
if (!this.root) {
|
|
445
|
+
this.root = {
|
|
446
|
+
text: r,
|
|
447
|
+
children: []
|
|
448
|
+
}, this.stack = [{
|
|
449
|
+
level: 0,
|
|
450
|
+
node: this.root
|
|
451
|
+
}], setDiagramTitle(r);
|
|
452
|
+
return;
|
|
453
|
+
}
|
|
454
|
+
this.baseLevel ?? (this.baseLevel = e);
|
|
455
|
+
let a = e - this.baseLevel + 1;
|
|
456
|
+
for (a <= 0 && (a = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= a; ) this.stack.pop();
|
|
457
|
+
let o = this.stack[this.stack.length - 1].node, s = {
|
|
458
|
+
text: r,
|
|
459
|
+
children: []
|
|
460
|
+
};
|
|
461
|
+
o.children.push(s), this.stack.push({
|
|
462
|
+
level: a,
|
|
463
|
+
node: s
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
getAccTitle() {
|
|
467
|
+
return getAccTitle();
|
|
468
|
+
}
|
|
469
|
+
setAccTitle(e) {
|
|
470
|
+
setAccTitle(e);
|
|
471
|
+
}
|
|
472
|
+
getAccDescription() {
|
|
473
|
+
return getAccDescription();
|
|
474
|
+
}
|
|
475
|
+
setAccDescription(e) {
|
|
476
|
+
setAccDescription(e);
|
|
477
|
+
}
|
|
478
|
+
getDiagramTitle() {
|
|
479
|
+
return getDiagramTitle();
|
|
480
|
+
}
|
|
481
|
+
setDiagramTitle(e) {
|
|
482
|
+
setDiagramTitle(e);
|
|
483
|
+
}
|
|
484
|
+
}, __name(_a, "IshikawaDB"), _a), FONT_SIZE_DEFAULT = 14, SPINE_BASE_LENGTH = 250, BONE_STUB = 30, BONE_BASE = 60, BONE_PER_CHILD = 5, ANGLE = 82 * Math.PI / 180, COS_A = Math.cos(ANGLE), SIN_A = Math.sin(ANGLE), applyPaddedViewBox = /* @__PURE__ */ __name((e, n, r) => {
|
|
485
|
+
let i = e.node().getBBox(), a = i.width + n * 2, o = i.height + n * 2;
|
|
486
|
+
configureSvgSize(e, o, a, r), e.attr("viewBox", `${i.x - n} ${i.y - n} ${a} ${o}`);
|
|
487
|
+
}, "applyPaddedViewBox"), draw = /* @__PURE__ */ __name((n, r, i, a) => {
|
|
488
|
+
var _a2, _b;
|
|
489
|
+
let o = a.db.getRoot();
|
|
490
|
+
if (!o) return;
|
|
491
|
+
let s = getConfig2(), { look: c, handDrawnSeed: l, themeVariables: u } = s, f = parseFontSize(s.fontSize)[0] ?? FONT_SIZE_DEFAULT, h = c === "handDrawn", g = o.children ?? [], _ = ((_a2 = s.ishikawa) == null ? void 0 : _a2.diagramPadding) ?? 20, b = ((_b = s.ishikawa) == null ? void 0 : _b.useMaxWidth) ?? false, x = selectSvgElement(r), S = x.append("g").attr("class", "ishikawa"), C = h ? at.svg(x.node()) : void 0, w = C ? {
|
|
492
|
+
roughSvg: C,
|
|
493
|
+
seed: l ?? 0,
|
|
494
|
+
lineColor: (u == null ? void 0 : u.lineColor) ?? "#333",
|
|
495
|
+
fillColor: (u == null ? void 0 : u.mainBkg) ?? "#fff"
|
|
496
|
+
} : void 0, T = `ishikawa-arrow-${r}`;
|
|
497
|
+
h || S.append("defs").append("marker").attr("id", T).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");
|
|
498
|
+
let D = 0, A = SPINE_BASE_LENGTH, j = h ? void 0 : drawLine(S, D, A, D, A, "ishikawa-spine");
|
|
499
|
+
if (drawHead(S, D, A, o.text, f, w), !g.length) {
|
|
500
|
+
h && drawLine(S, D, A, D, A, "ishikawa-spine", w), applyPaddedViewBox(x, _, b);
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
D -= 20;
|
|
504
|
+
let M = g.filter((e, n2) => n2 % 2 == 0), P = g.filter((e, n2) => n2 % 2 == 1), F = sideStats(M), I = sideStats(P), L = F.total + I.total, R = SPINE_BASE_LENGTH, z = SPINE_BASE_LENGTH;
|
|
505
|
+
if (L > 0) {
|
|
506
|
+
let e = SPINE_BASE_LENGTH * 2, n2 = SPINE_BASE_LENGTH * 0.3;
|
|
507
|
+
R = Math.max(n2, e * (F.total / L)), z = Math.max(n2, e * (I.total / L));
|
|
508
|
+
}
|
|
509
|
+
let B = f * 2;
|
|
510
|
+
R = Math.max(R, F.max * B), z = Math.max(z, I.max * B), A = Math.max(R, SPINE_BASE_LENGTH), j && j.attr("y1", A).attr("y2", A), S.select(".ishikawa-head-group").attr("transform", `translate(0,${A})`);
|
|
511
|
+
let V = Math.ceil(g.length / 2);
|
|
512
|
+
for (let e = 0; e < V; e++) {
|
|
513
|
+
let n2 = S.append("g").attr("class", "ishikawa-pair");
|
|
514
|
+
for (let [r2, i2, a2] of [[
|
|
515
|
+
g[e * 2],
|
|
516
|
+
-1,
|
|
517
|
+
R
|
|
518
|
+
], [
|
|
519
|
+
g[e * 2 + 1],
|
|
520
|
+
1,
|
|
521
|
+
z
|
|
522
|
+
]]) r2 && drawBranch(n2, r2, D, A, i2, a2, f, w);
|
|
523
|
+
D = n2.selectAll("text").nodes().reduce((e2, n3) => Math.min(e2, n3.getBBox().x), Infinity);
|
|
524
|
+
}
|
|
525
|
+
if (h) drawLine(S, D, A, 0, A, "ishikawa-spine", w);
|
|
526
|
+
else {
|
|
527
|
+
j.attr("x1", D);
|
|
528
|
+
let e = `url(#${T})`;
|
|
529
|
+
S.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start", e);
|
|
530
|
+
}
|
|
531
|
+
applyPaddedViewBox(x, _, b);
|
|
532
|
+
}, "draw"), sideStats = /* @__PURE__ */ __name((e) => {
|
|
533
|
+
let r = /* @__PURE__ */ __name((e2) => e2.children.reduce((e3, n) => e3 + 1 + r(n), 0), "countDescendants");
|
|
534
|
+
return e.reduce((e2, n) => {
|
|
535
|
+
let i = r(n);
|
|
536
|
+
return e2.total += i, e2.max = Math.max(e2.max, i), e2;
|
|
537
|
+
}, {
|
|
538
|
+
total: 0,
|
|
539
|
+
max: 0
|
|
540
|
+
});
|
|
541
|
+
}, "sideStats"), drawHead = /* @__PURE__ */ __name((e, n, r, i, a, o) => {
|
|
542
|
+
let s = Math.max(6, Math.floor(110 / (a * 0.6))), c = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${n},${r})`), l = drawMultilineText(c, wrapText(i, s), 0, 0, "ishikawa-head-label", "start", a), u = l.node().getBBox(), d = Math.max(60, u.width + 6), f = Math.max(40, u.height * 2 + 40), p = `M 0 ${-f / 2} L 0 ${f / 2} Q ${d * 2.4} 0 0 ${-f / 2} Z`;
|
|
543
|
+
if (o) {
|
|
544
|
+
let e2 = o.roughSvg.path(p, {
|
|
545
|
+
roughness: 1.5,
|
|
546
|
+
seed: o.seed,
|
|
547
|
+
fill: o.fillColor,
|
|
548
|
+
fillStyle: "hachure",
|
|
549
|
+
fillWeight: 2.5,
|
|
550
|
+
hachureGap: 5,
|
|
551
|
+
stroke: o.lineColor,
|
|
552
|
+
strokeWidth: 2
|
|
553
|
+
});
|
|
554
|
+
c.insert(() => e2, ":first-child").attr("class", "ishikawa-head");
|
|
555
|
+
} else c.insert("path", ":first-child").attr("class", "ishikawa-head").attr("d", p);
|
|
556
|
+
l.attr("transform", `translate(${(d - u.width) / 2 - u.x + 3},${-u.y - u.height / 2})`);
|
|
557
|
+
}, "drawHead"), flattenTree = /* @__PURE__ */ __name((e, r) => {
|
|
558
|
+
let i = [], a = [], o = /* @__PURE__ */ __name((e2, n, s) => {
|
|
559
|
+
let c = r === -1 ? [...e2].reverse() : e2;
|
|
560
|
+
for (let e3 of c) {
|
|
561
|
+
let r2 = i.length, c2 = e3.children ?? [];
|
|
562
|
+
i.push({
|
|
563
|
+
depth: s,
|
|
564
|
+
text: wrapText(e3.text, 15),
|
|
565
|
+
parentIndex: n,
|
|
566
|
+
childCount: c2.length
|
|
567
|
+
}), s % 2 == 0 ? (a.push(r2), c2.length && o(c2, r2, s + 1)) : (c2.length && o(c2, r2, s + 1), a.push(r2));
|
|
568
|
+
}
|
|
569
|
+
}, "walk");
|
|
570
|
+
return o(e, -1, 2), {
|
|
571
|
+
entries: i,
|
|
572
|
+
yOrder: a
|
|
573
|
+
};
|
|
574
|
+
}, "flattenTree"), drawCauseLabel = /* @__PURE__ */ __name((e, n, r, i, a, o, s) => {
|
|
575
|
+
let c = e.append("g").attr("class", "ishikawa-label-group"), l = drawMultilineText(c, n, r, i + 11 * a, "ishikawa-label cause", "middle", o).node().getBBox();
|
|
576
|
+
if (s) {
|
|
577
|
+
let e2 = s.roughSvg.rectangle(l.x - 20, l.y - 2, l.width + 40, l.height + 4, {
|
|
578
|
+
roughness: 1.5,
|
|
579
|
+
seed: s.seed,
|
|
580
|
+
fill: s.fillColor,
|
|
581
|
+
fillStyle: "hachure",
|
|
582
|
+
fillWeight: 2.5,
|
|
583
|
+
hachureGap: 5,
|
|
584
|
+
stroke: s.lineColor,
|
|
585
|
+
strokeWidth: 2
|
|
586
|
+
});
|
|
587
|
+
c.insert(() => e2, ":first-child").attr("class", "ishikawa-label-box");
|
|
588
|
+
} else c.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", l.x - 20).attr("y", l.y - 2).attr("width", l.width + 40).attr("height", l.height + 4);
|
|
589
|
+
}, "drawCauseLabel"), drawArrowMarker = /* @__PURE__ */ __name((e, n, r, i, a, o) => {
|
|
590
|
+
let s = Math.sqrt(i * i + a * a);
|
|
591
|
+
if (s === 0) return;
|
|
592
|
+
let c = i / s, l = a / s, u = -l * 6, d = c * 6, f = n, p = r, m = `M ${f} ${p} L ${f - c * 6 * 2 + u} ${p - l * 6 * 2 + d} L ${f - c * 6 * 2 - u} ${p - l * 6 * 2 - d} Z`, h = o.roughSvg.path(m, {
|
|
593
|
+
roughness: 1,
|
|
594
|
+
seed: o.seed,
|
|
595
|
+
fill: o.lineColor,
|
|
596
|
+
fillStyle: "solid",
|
|
597
|
+
stroke: o.lineColor,
|
|
598
|
+
strokeWidth: 1
|
|
599
|
+
});
|
|
600
|
+
e.append(() => h);
|
|
601
|
+
}, "drawArrowMarker"), drawBranch = /* @__PURE__ */ __name((e, n, r, i, a, o, s, c) => {
|
|
602
|
+
let l = n.children ?? [], u = o * (l.length ? 1 : 0.2), d = -COS_A * u, f = SIN_A * u * a, p = r + d, m = i + f;
|
|
603
|
+
if (drawLine(e, r, i, p, m, "ishikawa-branch", c), c && drawArrowMarker(e, r, i, r - p, i - m, c), drawCauseLabel(e, n.text, p, m, a, s, c), !l.length) return;
|
|
604
|
+
let { entries: h, yOrder: g } = flattenTree(l, a), _ = h.length, v = Array(_);
|
|
605
|
+
for (let [e2, n2] of g.entries()) v[n2] = i + f * ((e2 + 1) / (_ + 1));
|
|
606
|
+
let y = /* @__PURE__ */ new Map();
|
|
607
|
+
y.set(-1, {
|
|
608
|
+
x0: r,
|
|
609
|
+
y0: i,
|
|
610
|
+
x1: p,
|
|
611
|
+
y1: m,
|
|
612
|
+
childCount: l.length,
|
|
613
|
+
childrenDrawn: 0
|
|
614
|
+
});
|
|
615
|
+
let C = -COS_A, E = SIN_A * a, D = a < 0 ? "ishikawa-label up" : "ishikawa-label down";
|
|
616
|
+
for (let [n2, r2] of h.entries()) {
|
|
617
|
+
let i2 = v[n2], a2 = y.get(r2.parentIndex), o2 = e.append("g").attr("class", "ishikawa-sub-group"), l2 = 0, u2 = 0, d2 = 0;
|
|
618
|
+
if (r2.depth % 2 == 0) {
|
|
619
|
+
let e2 = a2.y1 - a2.y0;
|
|
620
|
+
l2 = lerp(a2.x0, a2.x1, e2 ? (i2 - a2.y0) / e2 : 0.5), u2 = i2, d2 = l2 - (r2.childCount > 0 ? BONE_BASE + r2.childCount * BONE_PER_CHILD : BONE_STUB), drawLine(o2, l2, i2, d2, i2, "ishikawa-sub-branch", c), c && drawArrowMarker(o2, l2, i2, 1, 0, c), drawMultilineText(o2, r2.text, d2, i2, "ishikawa-label align", "end", s);
|
|
621
|
+
} else {
|
|
622
|
+
let e2 = a2.childrenDrawn++;
|
|
623
|
+
l2 = lerp(a2.x0, a2.x1, (a2.childCount - e2) / (a2.childCount + 1)), u2 = a2.y0, d2 = l2 + C * ((i2 - u2) / E), drawLine(o2, l2, u2, d2, i2, "ishikawa-sub-branch", c), c && drawArrowMarker(o2, l2, u2, l2 - d2, u2 - i2, c), drawMultilineText(o2, r2.text, d2, i2, D, "end", s);
|
|
624
|
+
}
|
|
625
|
+
r2.childCount > 0 && y.set(n2, {
|
|
626
|
+
x0: l2,
|
|
627
|
+
y0: u2,
|
|
628
|
+
x1: d2,
|
|
629
|
+
y1: i2,
|
|
630
|
+
childCount: r2.childCount,
|
|
631
|
+
childrenDrawn: 0
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
}, "drawBranch"), splitLines = /* @__PURE__ */ __name((e) => e.split(/<br\s*\/?>|\n/), "splitLines"), wrapText = /* @__PURE__ */ __name((e, n) => {
|
|
635
|
+
if (e.length <= n) return e;
|
|
636
|
+
let r = [];
|
|
637
|
+
for (let i of e.split(/\s+/)) {
|
|
638
|
+
let e2 = r.length - 1;
|
|
639
|
+
e2 >= 0 && r[e2].length + 1 + i.length <= n ? r[e2] += " " + i : r.push(i);
|
|
640
|
+
}
|
|
641
|
+
return r.join("\n");
|
|
642
|
+
}, "wrapText"), drawMultilineText = /* @__PURE__ */ __name((e, n, r, i, a, o, s) => {
|
|
643
|
+
let c = splitLines(n), l = s * 1.05, u = e.append("text").attr("class", a).attr("text-anchor", o).attr("x", r).attr("y", i - (c.length - 1) * l / 2);
|
|
644
|
+
for (let [e2, n2] of c.entries()) u.append("tspan").attr("x", r).attr("dy", e2 === 0 ? 0 : l).text(n2);
|
|
645
|
+
return u;
|
|
646
|
+
}, "drawMultilineText"), lerp = /* @__PURE__ */ __name((e, n, r) => e + (n - e) * r, "lerp"), drawLine = /* @__PURE__ */ __name((e, n, r, i, a, o, s) => {
|
|
647
|
+
if (s) {
|
|
648
|
+
let c = s.roughSvg.line(n, r, i, a, {
|
|
649
|
+
roughness: 1.5,
|
|
650
|
+
seed: s.seed,
|
|
651
|
+
stroke: s.lineColor,
|
|
652
|
+
strokeWidth: 2
|
|
653
|
+
});
|
|
654
|
+
e.append(() => c).attr("class", o);
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
return e.append("line").attr("class", o).attr("x1", n).attr("y1", r).attr("x2", i).attr("y2", a);
|
|
658
|
+
}, "drawLine"), diagram = {
|
|
659
|
+
parser: ishikawa_default,
|
|
660
|
+
get db() {
|
|
661
|
+
return new IshikawaDB();
|
|
662
|
+
},
|
|
663
|
+
renderer: { draw },
|
|
664
|
+
styles: /* @__PURE__ */ __name((e) => `
|
|
665
|
+
.ishikawa .ishikawa-spine,
|
|
666
|
+
.ishikawa .ishikawa-branch,
|
|
667
|
+
.ishikawa .ishikawa-sub-branch {
|
|
668
|
+
stroke: ${e.lineColor};
|
|
669
|
+
stroke-width: 2;
|
|
670
|
+
fill: none;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.ishikawa .ishikawa-sub-branch {
|
|
674
|
+
stroke-width: 1;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.ishikawa .ishikawa-arrow {
|
|
678
|
+
fill: ${e.lineColor};
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.ishikawa .ishikawa-head {
|
|
682
|
+
fill: ${e.mainBkg};
|
|
683
|
+
stroke: ${e.lineColor};
|
|
684
|
+
stroke-width: 2;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.ishikawa .ishikawa-label-box {
|
|
688
|
+
fill: ${e.mainBkg};
|
|
689
|
+
stroke: ${e.lineColor};
|
|
690
|
+
stroke-width: 2;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.ishikawa text {
|
|
694
|
+
font-family: ${e.fontFamily};
|
|
695
|
+
font-size: ${e.fontSize};
|
|
696
|
+
fill: ${e.textColor};
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.ishikawa .ishikawa-head-label {
|
|
700
|
+
font-weight: 600;
|
|
701
|
+
text-anchor: middle;
|
|
702
|
+
dominant-baseline: middle;
|
|
703
|
+
font-size: 14px;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.ishikawa .ishikawa-label {
|
|
707
|
+
text-anchor: end;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.ishikawa .ishikawa-label.cause {
|
|
711
|
+
text-anchor: middle;
|
|
712
|
+
dominant-baseline: middle;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.ishikawa .ishikawa-label.align {
|
|
716
|
+
text-anchor: end;
|
|
717
|
+
dominant-baseline: middle;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.ishikawa .ishikawa-label.up {
|
|
721
|
+
dominant-baseline: baseline;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.ishikawa .ishikawa-label.down {
|
|
725
|
+
dominant-baseline: hanging;
|
|
726
|
+
}
|
|
727
|
+
`, "getStyles")
|
|
728
|
+
};
|
|
729
|
+
export {
|
|
730
|
+
diagram
|
|
731
|
+
};
|