@datalayer/agent-runtimes 1.5.34 → 1.5.35
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-embed/chunks/{DeckComponent-ymp4My5d.js → DeckComponent-C7AztSPA.js} +2 -2
- package/dist-embed/chunks/{DocumentView-i99p_Qzt.js → DocumentView-DwpK2feQ.js} +1 -1
- package/dist-embed/chunks/{EphemeralDocument--pV47gPl.js → EphemeralDocument-rusBlgBp.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawComponent-DgSMy796.js → ExcalidrawComponent-Qv9LHutW.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawModal-DFJW9pQh.js → ExcalidrawModal-D6Mb9nmf.js} +1 -1
- package/dist-embed/chunks/{JupyterLexicalExtension-CqDatsgf.js → JupyterLexicalExtension-r47Jyrrd.js} +4 -4
- package/dist-embed/chunks/{YouTubePlugin-CpgyVTwG.js → YouTubePlugin-4pUBJORX.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-faK2fyHC.js → abnfDiagram-VCTEODGH-BJ41CQF_.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-wvUaPpVC.js → abnfDiagram-VCTEODGH-DNYzHAbh.js} +1 -1
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-DwUjDWHp.js → ar-SA-G6X2FPQ2-CD4X_3wm.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DBMLRsbO.js → architectureDiagram-5GKGNRK7-CwaejFS3.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-CwbfxDHw.js → architectureDiagram-5GKGNRK7-DbT9wERH.js} +1 -1
- package/dist-embed/chunks/{az-AZ-76LH7QW2-DROX4pJc.js → az-AZ-76LH7QW2-oMbKQcB-.js} +1 -1
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-DPLzP9Bm.js → bg-BG-XCXSNQG7-lSIB5dDU.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-868be97b-BXBoGds2.js → blockDiagram-868be97b-DMkn45RE.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BNkBA3Vb.js → blockDiagram-I7D4REHJ-BECNvGDg.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DUIcpkIN.js → blockDiagram-I7D4REHJ-CjQ3b06j.js} +1 -1
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-CCOU2J2j.js → bn-BD-2XOGV67Q-B5PkHAFO.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-3f4bdde3-4OdTwU_t.js → c4Diagram-3f4bdde3-Sln1RzFs.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-f7UaZWVg.js → c4Diagram-7LVT6UL2-CEN50eWF.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-BGpBMrvl.js → c4Diagram-7LVT6UL2-rLFGZdcX.js} +1 -1
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-3RgFapBd.js → ca-ES-6MX7JW3Y-BPeavtUl.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BBPiCQqO.js → chunk-2Q5K7J3B-C7fGCGxg.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-P4f8Cifn.js → chunk-2Q5K7J3B-D1MNphVN.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-BVaSZr_4.js → chunk-5VM5RSS4-BVhbsYB3.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-CcNPo9qP.js → chunk-5VM5RSS4-Cj9Sj09E.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-DTgjd0wN.js → chunk-F27PBJKO-C6KAgeWn.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-C-90E7AT.js → chunk-F27PBJKO-DaHHRZRQ.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-DuzpuE1w.js → chunk-IMKFNOWR-3wrc6d0Q.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR--OZX7QCt.js → chunk-IMKFNOWR-SYQLVKR9.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-CAdvd3EQ.js → chunk-JWPE2WC7-BzDPwxUc.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-OHowekj4.js → chunk-JWPE2WC7-hZ7wOnGa.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-BgLsR3l7.js → chunk-POPQ4Y6H-CjbywxMq.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-Dw1h_9lT.js → chunk-POPQ4Y6H-Z65qWIug.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-VsO48dck.js → chunk-SVP7TREG-Din3OYWe.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-kM9Erqyf.js → chunk-SVP7TREG-DleurvXy.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-pVdCft0o.js → chunk-TICWLB2K-Dx7w-18R.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-CU2oQRJ9.js → chunk-TICWLB2K-Z5NptHoD.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-CL1cUI4w.js → chunk-XXDRQBXY-Ux5kMcSI.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-BSfKSQ7y.js → chunk-XXDRQBXY-zWC-vTog.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-Dq0Eb9fh.js → classDiagram-ZZMXUADV-D0QORYGn.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-Ctw7VU-m.js → classDiagram-ZZMXUADV-DgHD5Kh0.js} +1 -1
- package/dist-embed/chunks/{classDiagram-f62afe4f-C8j4XsQw.js → classDiagram-f62afe4f-PiDp1Y3a.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-604399ef-BVT78aGU.js → classDiagram-v2-604399ef-CW_LxcL4.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-Dq0Eb9fh.js → classDiagram-v2-VYDZK3BY-D0QORYGn.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-Ctw7VU-m.js → classDiagram-v2-VYDZK3BY-DgHD5Kh0.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DEGpy0W8.js → cose-bilkent-JH36ORCC-CMAkTmJK.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DrOmRWVI.js → cose-bilkent-JH36ORCC-iSI63fNY.js} +1 -1
- package/dist-embed/chunks/{createText-aed3d8b3-BukHQ1P8.js → createText-aed3d8b3-CsBZmLki.js} +1 -1
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-BJS7ofhJ.js → cs-CZ-2BRQDIVT-DrBOFpi4.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-qZ6StjuY.js → cynefinDiagram-5FMLGOSQ-6nIBYQUF.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-CnZ3wqXe.js → cynefinDiagram-5FMLGOSQ-BxwZiO0z.js} +1 -1
- package/dist-embed/chunks/cytoscape.esm-CkK8FqzY.js +321 -0
- package/dist-embed/chunks/{da-DK-5WZEPLOC-BHDT0zzh.js → da-DK-5WZEPLOC-G5bUTE3Z.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-Bb0_WA3x.js → dagre-GXQ25YYZ-DK_t5Dv9.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-Dbp_O7kO.js → dagre-GXQ25YYZ-lwpaVnIj.js} +1 -1
- package/dist-embed/chunks/{de-DE-XR44H4JA-CWVJKc9t.js → de-DE-XR44H4JA-Drpt3qDZ.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-CwINt91M.js → diagram-S7CK7UJ4-BKmPSO0V.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-DHPFd83P.js → diagram-S7CK7UJ4-pQiwoXZk.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-BqXFRP10.js → diagram-UQ7AKVKN-C6qjJbQl.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-CXRpfLBt.js → diagram-UQ7AKVKN-D5o3H3UE.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-Bg68Bv82.js → diagram-VSXAHHWV-CEK3upG9.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-DO0toZBQ.js → diagram-VSXAHHWV-DdWx8Pla.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-Diuc1eIf.js → diagram-VX7I27RA-CuAHZ13e.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-BEO0D7jE.js → diagram-VX7I27RA-HCEcXRxz.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-BLJQK61P.js → diagram-Z3DM3KII-DIa0Aipv.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-DtauJWd2.js → diagram-Z3DM3KII-H2dBkE-I.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-SU3uN2_2.js → ebnfDiagram-PWID7BFC-Br2FcgwA.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-6H6OSebp.js → ebnfDiagram-PWID7BFC-sUHCm_VG.js} +1 -1
- package/dist-embed/chunks/{edges-b2856ca0-DbD0XDJS.js → edges-b2856ca0-CZzjF187.js} +1 -1
- package/dist-embed/chunks/{el-GR-BZB4AONW-2z8DB9lI.js → el-GR-BZB4AONW-D4taPxaF.js} +1 -1
- package/dist-embed/chunks/{erDiagram-5d81789a-C-Tzt4MD.js → erDiagram-5d81789a-DUg4RLVT.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-DEAWMrMT.js → erDiagram-RLTQ6QDP-DCsulRKv.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-C_c-qnRZ.js → erDiagram-RLTQ6QDP-cQP1GN0_.js} +1 -1
- package/dist-embed/chunks/{es-ES-U4NZUMDT-DzXGWPd4.js → es-ES-U4NZUMDT-BvIGVphk.js} +1 -1
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-CslHE4iE.js → eu-ES-A7QVB2H4-B8nvrNDk.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-CBWUHs2r.js → fa-IR-HGAKTJCU-hwisHoU4.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-MAr8kZMI.js → fi-FI-Z5N7JZ37-DKrDvTXs.js} +1 -1
- package/dist-embed/chunks/{flowDb-185abca5-Di4aD0Mg.js → flowDb-185abca5-CEMVC-K6.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-1629c991-fImernS2.js → flowDiagram-1629c991-AKV5j4oK.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-Hr-elwWq.js → flowDiagram-HODETNUW-BIHDtose.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-DzoskzA4.js → flowDiagram-HODETNUW-BfzQD7wt.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-v2-1d953310-P1qDfDo-.js → flowDiagram-v2-1d953310-76wyGX0j.js} +1 -1
- package/dist-embed/chunks/{flowchart-elk-definition-6df44142-CXebTCvX.js → flowchart-elk-definition-6df44142-Cr_kl0fu.js} +1 -1
- package/dist-embed/chunks/{fr-FR-RHASNOE6-BUz3aHQJ.js → fr-FR-RHASNOE6-DPtlBK_j.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-3b0b3873-Bupos8HO.js → ganttDiagram-3b0b3873-DVqXF_B7.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-e3WDalFj.js → ganttDiagram-EL5Y4UJY-BM0LLRNH.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-3bErrKpg.js → ganttDiagram-EL5Y4UJY-DCVqUGh7.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-Ck49f0H9.js → gitGraphDiagram-WWUBYQGX-DjJtEXHN.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-BiEolUQH.js → gitGraphDiagram-WWUBYQGX-YSQk7-wR.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-DM8FMetI.js → gitGraphDiagram-f01e8bc2-BH1XJn2D.js} +1 -1
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-DvzQmDYv.js → gl-ES-HMX3MZ6V-B1ngwQkd.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-DKR3cKyQ.js → he-IL-6SHJWFNN-BaoAQZ3f.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-C4tyBNwa.js → hi-IN-IWLTKZ5I-DzPeRmLM.js} +1 -1
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-C8BnBgH5.js → hu-HU-A5ZG7DT2-BgLcm8oA.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-Bn1hY5OS.js → id-ID-SAP4L64H-egIA8l8_.js} +1 -1
- package/dist-embed/chunks/{index-9bae90f3-l9tb84fw.js → index-9bae90f3-BseCAzrq.js} +1 -1
- package/dist-embed/chunks/{index-DdBQBN76.js → index-BKOQQ5Ku.js} +1 -1
- package/dist-embed/chunks/{index-_nsBY26B.js → index-cYM4KfdD.js} +1 -1
- package/dist-embed/chunks/{index-TDpnbl90.js → index-f-GkP02b.js} +3 -3
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-BjyM865y.js → infoDiagram-27XIBGKW-BynJ6kmj.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-8DlnjSdf.js → infoDiagram-27XIBGKW-qGpBVlZj.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-a29d40f1-DXYFLipl.js → infoDiagram-a29d40f1-Owe2jwDJ.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-Bb5g5HNe.js → ishikawaDiagram-5VMMS53U-DNmI4uap.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-ri4cvaWs.js → ishikawaDiagram-5VMMS53U-mpS3ncPp.js} +1 -1
- package/dist-embed/chunks/{it-IT-JPQ66NNP-DEiaanA7.js → it-IT-JPQ66NNP-DDwc6pzw.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-Bb0GBZrQ.js → ja-JP-DBVTYXUO-TrA2khDT.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-96VNFopN.js → journeyDiagram-3NMN7TZE-DqBMQuJL.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-BpYgEBLO.js → journeyDiagram-3NMN7TZE-DsfwhZ-B.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-95396277-CQ_kN2gp.js → journeyDiagram-95396277-B8XX3m66.js} +1 -1
- package/dist-embed/chunks/{kaa-6HZHGXH3-DxqTv9uN.js → kaa-6HZHGXH3-GwFnOAIz.js} +1 -1
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-D0V0yQgV.js → kab-KAB-ZGHBKWFO-xYS1Kjfb.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BPsXEKm4.js → kanban-definition-UXKFOSKX-CqtUdtwN.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-B5nUu45Q.js → kanban-definition-UXKFOSKX-DZ3oSdBN.js} +1 -1
- package/dist-embed/chunks/{kk-KZ-P5N5QNE5-CYyEyHXW.js → kk-KZ-P5N5QNE5-BwDJRk5I.js} +1 -1
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-CCTEGikY.js → km-KH-HSX4SM5Z-Di9J-9zc.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-C-QDut19.js → ko-KR-MTYHY66A-BxF1Locw.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-CIqn8p2Y.js → ku-TR-6OUDTVRD-mGflwIcv.js} +1 -1
- package/dist-embed/chunks/{layout-Dq0J6INj.js → layout-BnRN5gq_.js} +1 -1
- package/dist-embed/chunks/{layout-Bdtul_rg.js → layout-DC8Z4Z6o.js} +1 -1
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-BDLUWFPH.js → lt-LT-XHIRWOB4-DWluphZ2.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-BItabIJP.js → lv-LV-5QDEKY6T-D9EEzVQ9.js} +1 -1
- package/dist-embed/chunks/{mermaid.core-B9dEBs01.js → mermaid.core-ByLffeZ_.js} +3 -3
- package/dist-embed/chunks/{mermaid.core-pflA3DMC.js → mermaid.core-DuyFjpK0.js} +2 -2
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-DwLQYAqQ.js → mindmap-definition-YA3MSWOX-C2mblKem.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-CEuIjXO2.js → mindmap-definition-YA3MSWOX-D7nlPwYz.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-e4c1d938-CDWIPlcb.js → mindmap-definition-e4c1d938-awL4Gg2X.js} +1 -1
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-DXXb8N2w.js → mr-IN-CRQNXWMA-DoMvP_Jp.js} +1 -1
- package/dist-embed/chunks/{my-MM-5M5IBNSE-TidIfjqS.js → my-MM-5M5IBNSE-CPPbx93K.js} +1 -1
- package/dist-embed/chunks/{nb-NO-T6EIAALU-DEINynK7.js → nb-NO-T6EIAALU-m2hgNNww.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-D04rJzNe.js → nl-NL-IS3SIHDZ-B809T0Iy.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-oWFzCtpf.js → nn-NO-6E72VCQL-DcMxKEVg.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-BmFfP6hk.js → oc-FR-POXYY2M6-BZTBaY64.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-RkXrgKXw.js → pa-IN-N4M65BXN-Cs4i3fnS.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-CqRRvKft.js → pegDiagram-XKGWAZYB-C0HQw4rE.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-Cwo6HzRh.js → pegDiagram-XKGWAZYB-C4-dNtcP.js} +1 -1
- package/dist-embed/chunks/{percentages-BXMCSKIN-BL_DuU3S.js → percentages-BXMCSKIN-D82iCuEy.js} +5 -5
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-CkHpKSua.js → pieDiagram-E7YTZNPT-CWACe1aa.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-BvBHesgq.js → pieDiagram-E7YTZNPT-x7B2jJsE.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-c941bede-Bsn1Bxk5.js → pieDiagram-c941bede-BJhm1wRV.js} +1 -1
- package/dist-embed/chunks/{pl-PL-T2D74RX3-DqxkHzTj.js → pl-PL-T2D74RX3-B3jg7qOY.js} +1 -1
- package/dist-embed/chunks/{pt-BR-5N22H2LF-DFA-wWC5.js → pt-BR-5N22H2LF-aCJuloaY.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-Z5jw_7aw.js → pt-PT-UZXXM6DQ-8ZZdQp1P.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-nOA8Q9nG.js → quadrantDiagram-AXDQQJYC-B2ESxruT.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-AaQ_WgXa.js → quadrantDiagram-AXDQQJYC-BbhdvJg_.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-BhaNj-gz.js → quadrantDiagram-cf8b8fe0-DFqECCQX.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-BlWFu3pn.js → railroadDiagram-O6MQD6OU-BTh6yg3I.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-D-SNyKIn.js → railroadDiagram-O6MQD6OU-DoXeTqA2.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-53bda41b-C2WctYyl.js → requirementDiagram-53bda41b-233jV4qD.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-BpWNFdrw.js → requirementDiagram-BXWQKSXE-D5XQ2Scv.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-1A97ivzl.js → requirementDiagram-BXWQKSXE-vJkUGd2z.js} +1 -1
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-DjC09bHq.js → ro-RO-JPDTUUEW-BmyO5zyl.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CqwD7Yik.js → ru-RU-B4JR7IUQ-BneR_2Bm.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-DnT5kYW5.js → sankeyDiagram-P5KCCOFB-CgYfp9h2.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-ktT6v9aY.js → sankeyDiagram-P5KCCOFB-QAiE8XmR.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-c3ef121a-3FD4GIJS.js → sankeyDiagram-c3ef121a-DhSOAdSF.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-82a5b84f-CZQmoHAd.js → sequenceDiagram-82a5b84f-B0t7Tj-b.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DYY-dZgX.js → sequenceDiagram-WJ2MYXX4-BGKoZhUS.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-0HHgJN0L.js → sequenceDiagram-WJ2MYXX4-DXK8x-A3.js} +1 -1
- package/dist-embed/chunks/{si-LK-N5RQ5JYF-OVf4k6G3.js → si-LK-N5RQ5JYF-CDB0IyVm.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-CIF2j9e_.js → sizeCapture-INFHLROL-3hkP3c7K.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-DJOph387.js → sizeCapture-INFHLROL-DXauv4Y7.js} +1 -1
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-BG__kjLT.js → sk-SK-C5VTKIMK-ypZmPMe_.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-CIgxidVH.js → sl-SI-NN7IZMDC-D9OrZXr7.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-43e79a5f-CMlUXY1x.js → stateDiagram-43e79a5f-3R5UYfNv.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-DVd0MOrg.js → stateDiagram-D77RDMKH-BoSlS4yd.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-CkICPC-C.js → stateDiagram-D77RDMKH-DsdKjDDe.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-BcO6vvJA.js → stateDiagram-v2-2041ed4f-CyKuuET1.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BFlXwfgz.js → stateDiagram-v2-MP3YSRHH-C2VJiq4Z.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-CJD5_Eji.js → stateDiagram-v2-MP3YSRHH-TtXiA-HS.js} +1 -1
- package/dist-embed/chunks/{styles-455b33cd-BfyZJvzN.js → styles-455b33cd-cllC-9In.js} +1 -1
- package/dist-embed/chunks/{styles-f932cba9-k2wfF-9Q.js → styles-f932cba9-2fKnoRJu.js} +1 -1
- package/dist-embed/chunks/{styles-fcc2142b-z3csTkbW.js → styles-fcc2142b-CXaxs3wc.js} +1 -1
- package/dist-embed/chunks/{subset-shared.chunk-BR0LJHtQ.js → subset-shared.chunk-cQajIUFT.js} +1 -1
- package/dist-embed/chunks/{subset-worker.chunk-52aAcjvz.js → subset-worker.chunk-DEC9qaDu.js} +1 -1
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-CYHz3xCa.js → sv-SE-XGPEYMSR-CXBRqMMZ.js} +1 -1
- package/dist-embed/chunks/{svgDrawCommon-148a3cd9-NqUFgQ9x.js → svgDrawCommon-148a3cd9-C_mmNgT0.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-Cj4fdAYa.js → swimlanes-42K2YHIH-DBmDt5_R.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-B6pxWv6a.js → swimlanes-42K2YHIH-DPaziYXM.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-B9ThT6OH.js → swimlanesDiagram-VR7AAH4N-9_IwhHVD.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-B2gk37ys.js → swimlanesDiagram-VR7AAH4N-BdhVhC9l.js} +1 -1
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-BphRr9QY.js → ta-IN-2NMHFXQM-BuB9HEjH.js} +1 -1
- package/dist-embed/chunks/{th-TH-HPSO5L25-Ba2-2Bo0.js → th-TH-HPSO5L25-Ci7wR5dZ.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-DVcslyxd.js → timeline-definition-24CTP7MA-C4jDoC-u.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-D5dMAy5U.js → timeline-definition-24CTP7MA-DnvUO3eu.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-7545f45a-IhzNtIcW.js → timeline-definition-7545f45a-CG-isB_y.js} +1 -1
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-CRKE7Roy.js → tr-TR-DEFEU3FU-CEJUT8zN.js} +1 -1
- package/dist-embed/chunks/{uk-UA-QMV73CPH-DlNE5CAT.js → uk-UA-QMV73CPH-Ceh5JIiD.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-KKysbuVs.js → vennDiagram-4TSXK5OY-Bgmm4KpJ.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BMg6wc5A.js → vennDiagram-4TSXK5OY-WtB0-hBJ.js} +1 -1
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-Cp44PRXY.js → vi-VN-M7AON7JQ-8-R9Ohxp.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-C5wMQ_qe.js → wardleyDiagram-VM6X3IG4-CbfSwLlj.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CTed9ps7.js → wardleyDiagram-VM6X3IG4-Do_iO_Kw.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-3f383b91-CsxcWMT8.js → xychartDiagram-3f383b91-DisZWvLI.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DthHDnAV.js → xychartDiagram-S5SC5T6Z-BImS3ikl.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-Kpqryflz.js → xychartDiagram-S5SC5T6Z-DaRNje_l.js} +1 -1
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-JHqqwp0j.js → zh-CN-LNUGB5OW-D4q5wqKm.js} +1 -1
- package/dist-embed/chunks/{zh-HK-E62DVLB3-YEs97mA8.js → zh-HK-E62DVLB3-_UiIVKpk.js} +1 -1
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-CgmeTbuy.js → zh-TW-RAJ6MFWO-DyXZ-PXI.js} +1 -1
- package/dist-embed/datalayer-app-main.js +4 -4
- package/lib/specs/appspecSchema.js +2 -0
- package/package.json +1 -1
- package/dist-embed/chunks/cytoscape.esm-0l7yjBbd.js +0 -321
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{w as b,x as E,E as v,r as I,j as i,B as c,T as N,bk as j,bl as T,bm as U}from"../datalayer-app-main.js";import{EphemeralDocument as O}from"./EphemeralDocument
|
|
1
|
+
import{w as b,x as E,E as v,r as I,j as i,B as c,T as N,bk as j,bl as T,bm as U}from"../datalayer-app-main.js";import{EphemeralDocument as O}from"./EphemeralDocument-rusBlgBp.js";import{O as _,b as P,u as w}from"./openingNotebook-CjjarT8V.js";import{P as d}from"./PrismCss-CcU1ChRk.js";import"./lexicalHooks-Pqoe8h_O.js";import"./LexicalToolRegistry-8wJyLumb.js";import"./useProgressTask-UPro-gwc.js";import"./JupyterLexicalExtension-r47Jyrrd.js";import"./NotebookSkeleton-CI7ovjNW.js";import"./Avatar-9MpXENSs.js";import"./url-DuKx0yk0.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./VideoIcon-BjP_LDa4.js";import"./LinkIcon-DUI0jw25.js";import"./Toolbar-CGQDY041.js";import"./KebabHorizontalIcon-CXDXtkuL.js";import"./ArrowUpIcon-BUCpIXDR.js";import"./SortDescIcon-CS4EzHeS.js";import"./PaintbrushIcon-CLU8RilX.js";import"./Output-no9rnFJ7.js";import"./index-CFP9psRB.js";import"./hoverbox-CStlKQWE.js";import"./index-DSN70XMH.js";import"./index-S4sn4R3i.js";import"./color-CG7_7V2-.js";import"./isEqual-g-jK7vY0.js";import"./defaultLocale-5voVPcsN.js";import"./index-DbMBnR4l.js";import"./index-BJhxZF_K.js";import"./RestartIcon-Ca6_HoK0.js";const D="Quarterly revenue by region",M="Six rows of revenue, two quarters, three regions. The cell below loads them and shows the frame; run it, change it, or ask an agent to take it further — the code and its output live in this document, beside the words about them.",l="opening-document-input",S="opening-document-output",g=e=>({detail:0,format:0,mode:"normal",style:"",text:e,type:"text",version:1}),u=(e,o,t={})=>({children:o,direction:"ltr",format:"",indent:0,type:e,version:1,...t}),h={type:"linebreak",version:1},s=(e,o)=>({detail:0,format:0,mode:"normal",style:"",text:e,type:"jupyter-input-highlight",version:1,highlightType:o}),f=e=>e.flatMap(o=>{if(typeof o=="string")return o.split(`
|
|
2
2
|
`).flatMap((n,m)=>[...m>0?[h]:[],...n.length>0?[s(n)]:[]]);const{content:t,type:r}=o;return typeof t=="string"?[s(t,r)]:Array.isArray(t)?t.length===1&&typeof t[0]=="string"?[s(t[0],r)]:f(t):[]}),k=e=>{const o=d.languages.python;return o?f(d.tokenize(e,o)):e.split(`
|
|
3
3
|
`).flatMap((t,r)=>[...r>0?[h]:[],...t.length>0?[s(t)]:[]])};function A(){const e=_.join("");return{root:{children:[u("heading",[g(D)],{tag:"h1"}),u("paragraph",[g(M)],{textFormat:0,textStyle:""}),u("jupyter-input",k(e),{language:"python",jupyterInputNodeUuid:l}),{type:"jupyter-output",version:1,format:"",source:e,outputs:[{output_type:"execute_result",execution_count:1,data:{"text/plain":P},metadata:{}}],jupyterInputNodeUuid:l,jupyterOutputNodeUuid:S}],direction:"ltr",format:"",indent:0,type:"root",version:1}}}function lt({workspace:e}){const o=b(),t=E(o.snapshot),r=e.surfaceId,n=w(T,j,{workspace:e,editorId:r}),a=v(U)[0]?.value,y=I.useMemo(()=>JSON.stringify((a?.document??A)()),[a]),x=a?.autoFocus??!0;if(t.state!=="running")return i.jsx(c,{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:"fg.muted",fontSize:1,px:4,textAlign:"center",children:i.jsx(N,{children:"The document needs a running sandbox for its code blocks. Open the Sandbox view to see what it is doing."})});const p=o.getServiceManager()??void 0;return i.jsx(c,{height:"100%",minHeight:0,children:i.jsx(O,{inheritTheme:!0,documentId:r,content:y,autoFocus:x,serviceManager:p,showToolbar:n.present,toolbarExtraItems:n.items,kernelId:p?t.kernelId:void 0,runtimeOverride:!p&&t.jupyterUrl?{baseUrl:t.jupyterUrl,token:t.jupyterToken}:void 0})})}export{lt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,ap as ke,aq as Se,ar as je,as as we,at as ve,j as e,B as M,au as Ce,av as Ee,aw as be,ax as Re,ay as V,l as q,az as Me,aA as Te,aB as Pe,K as T,aC as De,aD as K,aE as $,aF as Ne,aG as Ue}from"../datalayer-app-main.js";import{useLexicalTools as Be}from"./lexicalHooks-Pqoe8h_O.js";import{u as He}from"./useProgressTask-UPro-gwc.js";import{L as Ae,j as Ie,T as Le,k as We,l as Fe,m as _e,D as G,n as ze,o as Je,p as Ve,q as qe,J as Ke,s as $e,F as Ge,t as Ye,u as Qe,v as Xe,w as Ze}from"./JupyterLexicalExtension-
|
|
1
|
+
import{r,ap as ke,aq as Se,ar as je,as as we,at as ve,j as e,B as M,au as Ce,av as Ee,aw as be,ax as Re,ay as V,l as q,az as Me,aA as Te,aB as Pe,K as T,aC as De,aD as K,aE as $,aF as Ne,aG as Ue}from"../datalayer-app-main.js";import{useLexicalTools as Be}from"./lexicalHooks-Pqoe8h_O.js";import{u as He}from"./useProgressTask-UPro-gwc.js";import{L as Ae,j as Ie,T as Le,k as We,l as Fe,m as _e,D as G,n as ze,o as Je,p as Ve,q as qe,J as Ke,s as $e,F as Ge,t as Ye,u as Qe,v as Xe,w as Ze}from"./JupyterLexicalExtension-r47Jyrrd.js";import"./LexicalToolRegistry-8wJyLumb.js";import"./NotebookSkeleton-CI7ovjNW.js";import"./Avatar-9MpXENSs.js";import"./url-DuKx0yk0.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./VideoIcon-BjP_LDa4.js";import"./LinkIcon-DUI0jw25.js";import"./Toolbar-CGQDY041.js";import"./KebabHorizontalIcon-CXDXtkuL.js";import"./ArrowUpIcon-BUCpIXDR.js";import"./SortDescIcon-CS4EzHeS.js";import"./PaintbrushIcon-CLU8RilX.js";import"./PrismCss-CcU1ChRk.js";import"./Output-no9rnFJ7.js";import"./index-CFP9psRB.js";import"./hoverbox-CStlKQWE.js";import"./index-DSN70XMH.js";import"./index-S4sn4R3i.js";import"./color-CG7_7V2-.js";import"./isEqual-g-jK7vY0.js";import"./defaultLocale-5voVPcsN.js";import"./index-DbMBnR4l.js";import"./index-BJhxZF_K.js";import"./RestartIcon-Ca6_HoK0.js";function Oe({content:o}){const[s]=T(),l=r.useRef(!0);return r.useEffect(()=>{if(l.current){if(l.current=!1,!o){s.update(()=>{const t=K();t.getChildrenSize()===0&&t.append($())},{tag:"history-merge"});return}try{const t=JSON.parse(o);if(t&&typeof t=="object"&&t.root){const d=s.parseEditorState(o);s.setEditorState(d,{tag:"history-merge"})}else throw new Error("Invalid Lexical editor state format")}catch{s.update(()=>{const t=K();t.clear(),t.append($())},{tag:"history-merge"})}}},[o,s]),null}function et({disabled:o}){const[s]=T();return r.useEffect(()=>{De(s,Ne).output.disabled.value=o},[s,o]),null}function tt({setIsLinkEditMode:o,extraItems:s}){const[l]=T(),[t,d]=r.useState(l);return e.jsx(Ze,{editor:l,activeEditor:t,setActiveEditor:d,setIsLinkEditMode:o,extraItems:s})}function Y({inherit:o,colorMode:s,themeConfig:l,children:t}){return o?e.jsx(e.Fragment,{children:t}):e.jsx(Te,{colorMode:s,theme:l.primerTheme,themeStyles:l.themeStyles,children:t})}function Ut({documentId:o,runtimeName:s,runtimeOverride:l,serviceManager:t,kernelId:d,themeVariant:Q,colorMode:X,content:P,onContentChange:w,onToolsReady:D,onKernelChange:v,collaboration:n,toolbarExtraItems:Z,showToolbar:O=!0,inheritTheme:N=!1,autoFocus:U=!0}){const h=!!(n?.websocketUrl&&n?.roomId),ee=n?.identity?.displayName||n?.identity?.handle||n?.identity?.userId,te=n?.identity?.color,ne=r.useMemo(()=>({user:{id:n?.identity?.userId,username:n?.identity?.userId||n?.identity?.handle||n?.identity?.displayName,name:n?.identity?.handle||n?.identity?.displayName,display_name:n?.identity?.displayName||n?.identity?.handle,initials:n?.identity?.initials,color:n?.identity?.color,avatar_url:n?.identity?.avatarUrl,handle:n?.identity?.handle}}),[n?.identity]),B=r.useRef(P),H=r.useRef(o);H.current!==o&&(H.current=o,B.current=P);const A=B.current,I=r.useRef(A??""),L=Be(o);r.useEffect(()=>{D?.(L)},[L,D]);const{runtimes:W,refetchRuntimes:C}=ke(),m=r.useMemo(()=>{const i=String(l?.baseUrl||"").trim();if(i)return{url:i,wsUrl:String(l?.wsUrl||"").trim()||void 0,token:String(l?.token||"").trim(),runtime_name:String(l?.runtimeName||"").trim()||"agent-node-proxy"};const a=String(s||"").trim();if(a)return W.find(j=>String(j?.runtime_name||"")===a)},[l,s,W]),F=!!(!l?.baseUrl&&String(s||"").trim()&&!m);r.useEffect(()=>{if(!F)return;C();const i=window.setInterval(()=>{C()},1e3);return()=>{window.clearInterval(i)}},[F,C]);const[re,g]=r.useState(null),[p,f]=r.useState(void 0);r.useEffect(()=>{let i=!1,a=null,j=null;return(async()=>{if(t){try{await t.ready;const u=d?t.kernels.connectTo({model:{id:d,name:"python"}}):await t.kernels.startNew();i||(g(t),f(new V({kernelName:u.model.name,kernelSpecName:u.model.name,kernelModel:u.model,kernelManager:t.kernels,kernelspecsManager:t.kernelspecs,sessionManager:t.sessions})))}catch(u){console.error("[agent-runtimes] The document could not reach the kernel of the sandbox it was given.",u),i||(g(null),f(void 0))}return}const b=String(m?.url||"").trim();if(!b){i||(g(null),f(void 0));return}try{const u=String(m?.token||"").trim(),pe=String(m?.wsUrl||"").trim()||b.replace(/^http/,"ws"),xe=q.ServerConnection.makeSettings({baseUrl:b,wsUrl:pe,token:u,appendToken:!0});a=new q.ServiceManager({serverSettings:xe}),j=Me(String(m?.runtime_name||""),a),await a.ready;const R=await a.kernels.startNew();if(!i){const ye=new V({kernelName:R.model.name,kernelSpecName:R.model.name,kernelModel:R.model,kernelManager:a.kernels,kernelspecsManager:a.kernelspecs,sessionManager:a.sessions});g(a),f(ye)}}catch{i||(g(null),f(void 0))}})(),()=>{i=!0,j?.(),a&&Ue(a)}},[t,d,m?.runtime_name,m?.url,m?.token]),r.useEffect(()=>(v?.(p?.connection??null),()=>{v?.(null)}),[p,v]);const E=re,_=!!((String(s||"").trim()||String(l?.baseUrl||"").trim()||t)&&!E);He(`ephemeral-document-start-${o}`,_);const oe=r.useMemo(()=>Se({name:"@datalayer/agent-runtimes/EphemeralDocument",namespace:`ephemeral-document-${o}`,theme:Xe,dependencies:[Qe,...U?[Pe]:[]],onError(i){console.error("[EphemeralDocument]",i)}}),[o,U]),ie=r.useCallback(i=>{if(!w)return;const a=JSON.stringify(i.toJSON());a!==I.current&&(I.current=a,w(a))},[w]),[x,se]=r.useState(null),[,z]=r.useState(!1),y=h?n?.roomId:void 0,[ae,le]=r.useState(),ce=y===void 0||ae===y,me=r.useCallback(i=>le(i?y:void 0),[y]),de=i=>{i!==null&&se(i)},{colorMode:ue,theme:he}=je(),k=X??ue,ge=Q??he,fe=we(),S=ve(ge),J=k==="auto"?fe:k,c=(J==="dark"?S.themeStyles.dark:S.themeStyles.light).backgroundColor??"";return e.jsx(M,{flex:1,minHeight:0,height:"100%",position:"relative",overflow:"hidden",bg:"canvas.default",children:E?e.jsx(Y,{inherit:N,colorMode:k,themeConfig:S,children:e.jsx(Ce,{colormode:J,backgroundColor:c,children:e.jsx(M,{sx:{position:"absolute",inset:0,display:"flex",flexDirection:"column",minHeight:0,overflow:"hidden",overscrollBehaviorY:"contain",padding:2,backgroundColor:c,"--bgColor-default":c,"& .editor-shell":{backgroundColor:c,borderRadius:2,display:"flex",flexDirection:"column",minHeight:0,flex:1,maxWidth:"none",width:"100%",margin:0},"& .editor-container":{backgroundColor:c,display:"flex",flexDirection:"column",minHeight:0,flex:1,width:"100%",maxWidth:"none",margin:0},"& .editor-inner":{backgroundColor:c,display:"flex",flexDirection:"column",minHeight:0,flex:1,width:"100%",maxWidth:"none"},"& .editor-scroller":{minHeight:0,flex:1,overflow:"auto",width:"100%",maxWidth:"none"},"& .editor":{minHeight:"100%",width:"100%",maxWidth:"none",margin:0},"& .editor-input":{backgroundColor:c,width:"100%",maxWidth:"none",margin:0},"& .ContentEditable__root":{width:"100%",maxWidth:"none",margin:0},'& [role="toolbar"][aria-label="Editor toolbar"]':{backgroundColor:c}},children:e.jsx(Ae,{lexicalId:o,serviceManager:E,children:e.jsx(Ee,{extension:oe,contentEditable:null,children:e.jsx(Ie,{children:e.jsx(Le,{children:e.jsxs("div",{className:"editor-shell",children:[O?e.jsx(tt,{setIsLinkEditMode:z,extraItems:Z}):null,e.jsx("div",{className:"editor-container",children:e.jsxs("div",{className:"editor-inner",children:[h&&n?e.jsx(We,{id:n.roomId,providerFactory:Fe,websocketUrl:n.websocketUrl,shouldBootstrap:!0,showCollaborators:!0,username:ee,cursorColor:te,awarenessData:ne,onInitialization:me}):null,e.jsx(_e,{}),ce?e.jsx("div",{className:"editor-scroller",children:e.jsx("div",{className:"editor",ref:de,children:e.jsx(be,{className:"editor-input","aria-label":"Ephemeral document editor"})})}):e.jsx(G,{maxWidth:"100%"}),!h&&e.jsx(Re,{onChange:ie}),e.jsx(et,{disabled:h}),!h&&e.jsx(Oe,{content:A}),e.jsx(ze,{}),e.jsx(Je,{}),e.jsx(Ve,{}),e.jsx(qe,{kernel:p}),e.jsx(Ke,{kernel:p}),x&&e.jsxs(e.Fragment,{children:[e.jsx($e,{anchorElem:x}),e.jsx(Ge,{anchorElem:x,setIsLinkEditMode:z}),e.jsx(Ye,{anchorElem:x})]})]})})]})})})})})})})}):_?e.jsx(Y,{inherit:N,colorMode:k,themeConfig:S,children:e.jsx(M,{position:"absolute",inset:0,display:"flex",flexDirection:"column",padding:2,backgroundColor:c,children:e.jsx(G,{label:"Starting the document",maxWidth:"100%"})})}):null})}export{Ut as EphemeralDocument,Ut as default};
|
package/dist-embed/chunks/{ExcalidrawComponent-DgSMy796.js → ExcalidrawComponent-Qv9LHutW.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,j as p,K as N,bS as T,bT as z,bU as L,bV as F,bW as R,I as O,bX as U}from"../datalayer-app-main.js";import{x as _,y as W,z as $,A as M}from"./JupyterLexicalExtension-
|
|
1
|
+
import{r as o,j as p,K as N,bS as T,bT as z,bU as L,bV as F,bW as R,I as O,bX as U}from"../datalayer-app-main.js";import{x as _,y as W,z as $,A as M}from"./JupyterLexicalExtension-r47Jyrrd.js";import H from"./ExcalidrawModal-D6Mb9nmf.js";import{r as X}from"./percentages-BXMCSKIN-D82iCuEy.js";import{u as V}from"./ThemeContext-D9ztCaU3.js";import"./NotebookSkeleton-CI7ovjNW.js";import"./Avatar-9MpXENSs.js";import"./url-DuKx0yk0.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./VideoIcon-BjP_LDa4.js";import"./LinkIcon-DUI0jw25.js";import"./Toolbar-CGQDY041.js";import"./KebabHorizontalIcon-CXDXtkuL.js";import"./ArrowUpIcon-BUCpIXDR.js";import"./SortDescIcon-CS4EzHeS.js";import"./PaintbrushIcon-CLU8RilX.js";import"./PrismCss-CcU1ChRk.js";import"./Output-no9rnFJ7.js";import"./index-CFP9psRB.js";import"./hoverbox-CStlKQWE.js";import"./index-DSN70XMH.js";import"./index-S4sn4R3i.js";import"./color-CG7_7V2-.js";import"./isEqual-g-jK7vY0.js";import"./defaultLocale-5voVPcsN.js";import"./index-DbMBnR4l.js";import"./index-BJhxZF_K.js";import"./RestartIcon-Ca6_HoK0.js";import"./LexicalToolRegistry-8wJyLumb.js";import"./extends-CF3RwP-h.js";import"./index-BvgsWH_d.js";import"./index-DoBkwclg.js";const J=e=>{const n=e?.firstElementChild?.firstElementChild,b=e.getAttribute("viewBox");if(b!=null){const a=b.split(" ");e.setAttribute("width",a[2]),e.setAttribute("height",a[3])}n&&n.tagName==="style"&&n.remove()};function P({elements:e,files:n,imageContainerRef:b,appState:a,rootClassName:s=null,width:c="inherit",height:C="inherit"}){const[g,x]=o.useState(null),{theme:E}=V(g),[B,u]=o.useState(null),[v,S]=o.useState(0);o.useEffect(()=>{const r=new MutationObserver(w=>{for(const h of w)if(h.type==="attributes"&&(h.attributeName==="style"||h.attributeName==="class")){S(l=>l+1);break}});return r.observe(document.documentElement,{attributes:!0,attributeFilter:["style","class"]}),r.observe(document.body,{attributes:!0,attributeFilter:["style","class"]}),()=>r.disconnect()},[]),o.useEffect(()=>{(async()=>{await new Promise(D=>setTimeout(D,150));const w=["#ffffff","#000000","transparent",""],h=a?.viewBackgroundColor||"transparent",l=w.includes(h.toLowerCase()),A={...a,viewBackgroundColor:l?"transparent":a?.viewBackgroundColor,exportBackground:!l,exportWithDarkMode:E==="dark"},m=await X({appState:A,elements:e,files:n});J(m),m.setAttribute("width","100%"),m.setAttribute("height","100%"),m.setAttribute("display","block"),u(m)})()},[e,n,a,E,v]);const f={};c!=="inherit"&&(f.width=`${c}px`),C!=="inherit"&&(f.height=`${C}px`);const k=a?.viewBackgroundColor||"transparent";if(["#ffffff","#000000","transparent",""].includes(k.toLowerCase())){const r=E==="dark"?"#1e1e1e":"#ffffff";f.backgroundColor=`var(--bgColor-default, var(--jp-layout-color0, var(--vscode-editor-background, ${r})))`}return p.jsx("div",{ref:r=>{x(r),r&&b&&(b.current=r)},className:s??"",style:f,dangerouslySetInnerHTML:{__html:B?.outerHTML??""}})}function Bt({nodeKey:e,data:n,width:b,height:a}){const[s]=N(),c=_(),[C,g]=o.useState(n==="[]"&&s.isEditable()),x=o.useRef(null),E=o.useRef(null),B=o.useRef(null),[u,v,S]=W(e),[f,k]=o.useState(!1);o.useEffect(()=>{if(!c){u&&S();return}return T(s.registerCommand(z,t=>{const d=E.current,i=t.target;return f?!0:d!==null&&L(i)&&d.contains(i)?(t.shiftKey||S(),v(!u),t.detail>1&&g(!0),!0):!1},F))},[S,s,u,f,v,c]);const j=o.useCallback(()=>(g(!1),s.update(()=>{const t=R(e);t&&t.remove()})),[s,e]),I=(t,d,i)=>s.update(()=>{const y=R(e);M(y)&&(t&&t.length>0||Object.keys(i).length>0?y.setData(JSON.stringify({appState:d,elements:t,files:i})):y.remove())}),r=()=>{k(!0)},w=(t,d)=>{setTimeout(()=>{k(!1)},200),s.update(()=>{const i=R(e);M(i)&&(i.setWidth(t),i.setHeight(d))})},h=o.useCallback(()=>{g(!0)},[]),{elements:l=[],files:A={},appState:m={}}=o.useMemo(()=>JSON.parse(n),[n]),D=o.useCallback(()=>{g(!1),l.length===0&&s.update(()=>{const t=R(e);t&&t.remove()})},[s,e,l.length]);return p.jsxs(p.Fragment,{children:[c&&C&&p.jsx(H,{initialElements:l,initialFiles:A,initialAppState:m,isShown:C,onDelete:j,onClose:D,onSave:(t,d,i)=>{I(t,d,i),g(!1)},closeOnClickOutside:!1}),l.length>0&&p.jsxs("button",{ref:E,className:`excalidraw-button ${u?"selected":""}`,children:[p.jsx(P,{imageContainerRef:x,className:"image",elements:l,files:A,appState:m,width:b,height:a}),u&&c&&p.jsx(O,{icon:U,"aria-label":"Edit the drawing",size:"small",variant:"default",sx:{position:"absolute",top:8,right:8,zIndex:10},onMouseDown:t=>t.preventDefault(),onClick:h}),(u||f)&&c&&p.jsx($,{buttonRef:B,showCaption:!0,setShowCaption:()=>null,imageRef:x,editor:s,onResizeStart:r,onResizeEnd:w})]})]})}export{Bt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,j as o,D as u,bi as h,c as f}from"../datalayer-app-main.js";import{I as T}from"./percentages-BXMCSKIN-
|
|
1
|
+
import{r as t,j as o,D as u,bi as h,c as f}from"../datalayer-app-main.js";import{I as T}from"./percentages-BXMCSKIN-D82iCuEy.js";import{u as z}from"./ThemeContext-D9ztCaU3.js";import"./JupyterLexicalExtension-r47Jyrrd.js";import"./NotebookSkeleton-CI7ovjNW.js";import"./Avatar-9MpXENSs.js";import"./url-DuKx0yk0.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./VideoIcon-BjP_LDa4.js";import"./LinkIcon-DUI0jw25.js";import"./Toolbar-CGQDY041.js";import"./KebabHorizontalIcon-CXDXtkuL.js";import"./ArrowUpIcon-BUCpIXDR.js";import"./SortDescIcon-CS4EzHeS.js";import"./PaintbrushIcon-CLU8RilX.js";import"./PrismCss-CcU1ChRk.js";import"./Output-no9rnFJ7.js";import"./index-CFP9psRB.js";import"./hoverbox-CStlKQWE.js";import"./index-DSN70XMH.js";import"./index-S4sn4R3i.js";import"./color-CG7_7V2-.js";import"./isEqual-g-jK7vY0.js";import"./defaultLocale-5voVPcsN.js";import"./index-DbMBnR4l.js";import"./index-BJhxZF_K.js";import"./RestartIcon-Ca6_HoK0.js";import"./LexicalToolRegistry-8wJyLumb.js";import"./extends-CF3RwP-h.js";import"./index-BvgsWH_d.js";import"./index-DoBkwclg.js";function pe({closeOnClickOutside:I=!1,onSave:x,initialElements:l,initialAppState:g,initialFiles:d,isShown:n=!1,onDelete:v,onClose:c}){const[w,C]=t.useState(null),{theme:b}=z(w),m=t.useRef(null),E=t.useCallback(e=>{m.current=e,C(e)},[]),[r,k]=t.useState(null),[j,i]=t.useState(!1),[p,M]=t.useState(l),[D,S]=t.useState(d);t.useEffect(()=>{m.current?.focus()},[]),t.useEffect(()=>{if(!r||!n)return;const e=()=>r.refresh(),a=requestAnimationFrame(e),s=setTimeout(e,300);return window.addEventListener("resize",e),()=>{cancelAnimationFrame(a),clearTimeout(s),window.removeEventListener("resize",e)}},[r,n]);const A=()=>{if(p?.some(e=>!e.isDeleted)){const e=r?.getAppState(),a={exportBackground:e?.exportBackground,exportScale:e?.exportScale,exportWithDarkMode:e?.theme==="dark",isBindingEnabled:e?.isBindingEnabled,isLoading:e?.isLoading,name:e?.name,theme:e?.theme,viewBackgroundColor:e?.viewBackgroundColor,viewModeEnabled:e?.viewModeEnabled,zenModeEnabled:e?.zenModeEnabled,zoom:e?.zoom};x(p,a,D)}else v()},B=()=>{i(!0)};if(n===!1)return null;const y=(e,a,s)=>{M(e),S(s)};return o.jsxs(o.Fragment,{children:[o.jsxs(u,{title:"Excalidraw",onClose:()=>c(),width:"xlarge",height:"auto",sx:{width:"80vw !important",maxWidth:"80vw !important",height:"80vh !important",maxHeight:"80vh !important"},children:[o.jsx(h,{ref:E,tabIndex:-1,sx:{height:"calc(80vh - 140px)",position:"relative",overflow:"hidden"},children:o.jsx(T,{onChange:y,excalidrawAPI:e=>k(e),initialData:{appState:g||{isLoading:!1},elements:l,files:d},theme:b})}),o.jsxs(h,{sx:{display:"flex",gap:2,justifyContent:"flex-end",p:2,borderTop:"1px solid",borderColor:"var(--borderColor-default)"},children:[o.jsx(f,{variant:"invisible",onClick:B,children:"Discard"}),o.jsx(f,{variant:"primary",onClick:A,children:"Save"})]})]}),j&&o.jsx(u,{title:"Discard",onClose:()=>i(!1),width:"small",height:"auto",footerButtons:[{buttonType:"danger",content:"Discard",onClick:()=>{i(!1),c()}},{buttonType:"default",content:"Cancel",onClick:()=>i(!1)}],children:"Are you sure you want to discard the changes?"})]})}export{pe as default};
|