@band-app/server 0.10.0 → 0.12.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/README.md +4 -2
- package/dist/client/assets/{DockviewTerminalContainer-C5yFKEoK.js → DockviewTerminalContainer-B6ls12RP.js} +2 -2
- package/dist/client/assets/{TerminalPanel-DAwQhW0y.js → TerminalPanel-CTjPLr1l.js} +1 -1
- package/dist/client/assets/{_basePickBy-Cxy2uLa-.js → _basePickBy-D4ggI4i0.js} +1 -1
- package/dist/client/assets/{_baseUniq-jya1YXzy.js → _baseUniq-E0-L58sh.js} +1 -1
- package/dist/client/assets/{arc-Dxa_mBOn.js → arc-Cd0JgGvM.js} +1 -1
- package/dist/client/assets/{architectureDiagram-VXUJARFQ-DHLla5pN.js → architectureDiagram-VXUJARFQ-BngJQDkI.js} +1 -1
- package/dist/client/assets/{blockDiagram-VD42YOAC-CxqGHWD6.js → blockDiagram-VD42YOAC-dcYRXfph.js} +1 -1
- package/dist/client/assets/{c4Diagram-YG6GDRKO-CJ14R1KC.js → c4Diagram-YG6GDRKO-B_8XfvfL.js} +1 -1
- package/dist/client/assets/channel-BN9rr7kd.js +1 -0
- package/dist/client/assets/{chunk-4BX2VUAB-B7W58V1V.js → chunk-4BX2VUAB-CFd2iELe.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-BexaNtN4.js → chunk-55IACEB6-ZI-o1tfy.js} +1 -1
- package/dist/client/assets/{chunk-B4BG7PRW-DkzDTPIe.js → chunk-B4BG7PRW-GcKh0u0t.js} +1 -1
- package/dist/client/assets/{chunk-DI55MBZ5-C_PHG7rI.js → chunk-DI55MBZ5-asFoohq8.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-9ESlUsET.js → chunk-FMBD7UC4-GmvgLSQe.js} +1 -1
- package/dist/client/assets/{chunk-QN33PNHL-DWo9MH1S.js → chunk-QN33PNHL-CbSPviK8.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-Bbgg8OcM.js → chunk-QZHKN3VN-C5_8IhWQ.js} +1 -1
- package/dist/client/assets/{chunk-TZMSLE5B-CjGBNyAK.js → chunk-TZMSLE5B-CvwKA6rf.js} +1 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-f-3sWSXi.js +1 -0
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-f-3sWSXi.js +1 -0
- package/dist/client/assets/clone-DyjKoDMl.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-Bdu80dtY.js → cose-bilkent-S5V4N54A-CFOKjm00.js} +1 -1
- package/dist/client/assets/{dagre-6UL2VRFP-CNpvZCIA.js → dagre-6UL2VRFP-XkiKAfAP.js} +1 -1
- package/dist/client/assets/{diagram-PSM6KHXK-DBqxkCV6.js → diagram-PSM6KHXK-D7OJGDF1.js} +1 -1
- package/dist/client/assets/{diagram-QEK2KX5R-BJ70tnCT.js → diagram-QEK2KX5R-CNDqB5ur.js} +1 -1
- package/dist/client/assets/{diagram-S2PKOQOG-BJT9a_iD.js → diagram-S2PKOQOG-DHWhfYWy.js} +1 -1
- package/dist/client/assets/{erDiagram-Q2GNP2WA-DlDgnxvr.js → erDiagram-Q2GNP2WA-DlhzEgw7.js} +1 -1
- package/dist/client/assets/{flowDiagram-NV44I4VS-CtnfmEyX.js → flowDiagram-NV44I4VS-BabYr6zd.js} +1 -1
- package/dist/client/assets/{ganttDiagram-JELNMOA3-CDltME-1.js → ganttDiagram-JELNMOA3-CUHxh1TA.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-BSiSLqD_.js → gitGraphDiagram-V2S2FVAM-DSDd-EJ_.js} +1 -1
- package/dist/client/assets/{graph-BXFhffUt.js → graph-DXNVnA6H.js} +1 -1
- package/dist/client/assets/{highlighted-body-B3W2YXNL-baZl_B7-.js → highlighted-body-B3W2YXNL-B79dTSwx.js} +1 -1
- package/dist/client/assets/{index-D-swyWIZ.js → index-4srNURyv.js} +1 -1
- package/dist/client/assets/{index-DCOV9hmX.js → index-5jOljAlc.js} +1 -1
- package/dist/client/assets/{index-DlZs_C_Z.js → index-BNkxX-BD.js} +1 -1
- package/dist/client/assets/{index-CXk5lAWQ.js → index-BQU-JREs.js} +1 -1
- package/dist/client/assets/{index-DlkLRARc.js → index-BVLYlk0y.js} +1 -1
- package/dist/client/assets/{index-B6iGb_w2.js → index-BqDdB0tU.js} +1 -1
- package/dist/client/assets/{index-CbKmWyq9.js → index-Bvony7H7.js} +1 -1
- package/dist/client/assets/{index-DDgejW9Y.js → index-CPo0kKmX.js} +1 -1
- package/dist/client/assets/{index-DIzuf_Dt.js → index-CTR_yHqa.js} +1 -1
- package/dist/client/assets/{index-DbdSOCzr.js → index-CjixM2mV.js} +1 -1
- package/dist/client/assets/{index-n-QQQGkk.js → index-Cu2rqq8f.js} +1 -1
- package/dist/client/assets/{index-C2qsZyf5.js → index-D-7FXjIA.js} +1 -1
- package/dist/client/assets/{index-BIHulysR.js → index-DRS8jN52.js} +1 -1
- package/dist/client/assets/{index-muvgthqG.js → index-DktZbpGM.js} +1 -1
- package/dist/client/assets/{index-l7pbZp6D.js → index-DutxFSic.js} +1 -1
- package/dist/client/assets/{index-BjDbhfGt.js → index-EdY6fqdn.js} +1 -1
- package/dist/client/assets/{index-Y5qBvPAz.js → index-_J9aGl-d.js} +1 -1
- package/dist/client/assets/{index-DNv51ILn.js → index-okqFBuO9.js} +1 -1
- package/dist/client/assets/{infoDiagram-HS3SLOUP-C-8cQbzs.js → infoDiagram-HS3SLOUP-tDVIKvh1.js} +1 -1
- package/dist/client/assets/{journeyDiagram-XKPGCS4Q-Dp9Od5Lo.js → journeyDiagram-XKPGCS4Q-cFY68TOP.js} +1 -1
- package/dist/client/assets/{kanban-definition-3W4ZIXB7-CTeqP1Wl.js → kanban-definition-3W4ZIXB7-CTQ8WBzj.js} +1 -1
- package/dist/client/assets/{layout-wpsrF_0j.js → layout-BDsby01A.js} +1 -1
- package/dist/client/assets/{linear--cKtF_4-.js → linear-B321DwjU.js} +1 -1
- package/dist/client/assets/main-7lUOPiu0.css +1 -0
- package/dist/client/assets/{main-MjQQLQea.js → main-gKX_m5Ko.js} +260 -260
- package/dist/client/assets/{mindmap-definition-VGOIOE7T-CpbJEgPa.js → mindmap-definition-VGOIOE7T-CMbXBgve.js} +1 -1
- package/dist/client/assets/{pieDiagram-ADFJNKIX-Bqm8Hi0T.js → pieDiagram-ADFJNKIX-pTHsfneI.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-AYHSOK5B-KBK2cMVk.js → quadrantDiagram-AYHSOK5B-DNGhzaPi.js} +1 -1
- package/dist/client/assets/{requirementDiagram-UZGBJVZJ-vQQFD9zc.js → requirementDiagram-UZGBJVZJ-E5dChVU-.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-TZEHDZUN-cTtL91Re.js → sankeyDiagram-TZEHDZUN-B858cwBV.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-WL72ISMW-BuGTsJB7.js → sequenceDiagram-WL72ISMW-Clbop1Lh.js} +1 -1
- package/dist/client/assets/{square-terminal-6YppA-hI.js → square-terminal-zBRLwN9m.js} +1 -1
- package/dist/client/assets/{stateDiagram-FKZM4ZOC-Cxlf071k.js → stateDiagram-FKZM4ZOC-BRIoi38Z.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BXdrXPzW.js +1 -0
- package/dist/client/assets/{timeline-definition-IT6M3QCI-CL3qYiMu.js → timeline-definition-IT6M3QCI-C26dPldo.js} +1 -1
- package/dist/client/assets/{treemap-GDKQZRPO-DRAWRdVd.js → treemap-GDKQZRPO-l9jcKCpW.js} +1 -1
- package/dist/client/assets/{useSessionListContext-wCLhqmn8.js → useSessionListContext-MLsp0tQx.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId-BZdlER3j.js → workspace._workspaceId-CKxw1xn1.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.changes-d_RXYsmI.js → workspace._workspaceId.changes-sSj8FhGC.js} +1 -1
- package/dist/client/assets/workspace._workspaceId.code-CTG7u893.js +1 -0
- package/dist/client/assets/{workspace._workspaceId.code._-DWbDHeSI.js → workspace._workspaceId.code._-BVzwjj6w.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.code.index-DnBvnsEY.js → workspace._workspaceId.code.index-V90FWX2z.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.index-BVKcI4Hz.js → workspace._workspaceId.index-Cczg6N56.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.terminal-B6e3iDCL.js → workspace._workspaceId.terminal-CFJVgZLo.js} +2 -2
- package/dist/client/assets/{xychartDiagram-PRI3JC2R-Dk1ZOoyd.js → xychartDiagram-PRI3JC2R-Cwsp2BWQ.js} +1 -1
- package/dist/migrations/20260513141710_browser_history/migration.sql +12 -0
- package/dist/migrations/20260513141710_browser_history/snapshot.json +846 -0
- package/dist/server/assets/{DockviewTerminalContainer-BClknz0C.js → DockviewTerminalContainer-B5lZSZ8Y.js} +3 -3
- package/dist/server/assets/{TerminalPanel-Dpk4kp0C.js → TerminalPanel-_8vdN94i.js} +1 -1
- package/dist/server/assets/{_basePickBy-CQWrFHod.js → _basePickBy-CD1u5dYZ.js} +2 -2
- package/dist/server/assets/{_baseUniq-ChPDjMP0.js → _baseUniq-BdmRs4hY.js} +1 -1
- package/dist/server/assets/{_tanstack-start-manifest_v-D4996aDN.js → _tanstack-start-manifest_v-D4xipytj.js} +1 -1
- package/dist/server/assets/{arc-D-SYKFhU.js → arc-CbjxAGh2.js} +1 -1
- package/dist/server/assets/{architecture-7HQA4BMR-Dko2LbDd.js → architecture-7HQA4BMR-PvoHywyl.js} +6 -6
- package/dist/server/assets/{architectureDiagram-VXUJARFQ-DUGfoAf_.js → architectureDiagram-VXUJARFQ-CYVR-HeO.js} +6 -6
- package/dist/server/assets/{blockDiagram-VD42YOAC-pT0fTRP_.js → blockDiagram-VD42YOAC-oFwYjSKc.js} +6 -6
- package/dist/server/assets/{c4Diagram-YG6GDRKO-DPx-FvB1.js → c4Diagram-YG6GDRKO-BRcTuK4Y.js} +2 -2
- package/dist/server/assets/{channel-BtdYXKY6.js → channel-DkpUIvTk.js} +1 -1
- package/dist/server/assets/{chunk-4BX2VUAB-DwT0XB8f.js → chunk-4BX2VUAB-Db1P5ZKT.js} +1 -1
- package/dist/server/assets/{chunk-55IACEB6-42pp-S9e.js → chunk-55IACEB6-CgF3c_s9.js} +1 -1
- package/dist/server/assets/{chunk-B4BG7PRW-B9HlFFeK.js → chunk-B4BG7PRW-C4lPp_gR.js} +4 -4
- package/dist/server/assets/{chunk-DI55MBZ5-UJ9TEI0f.js → chunk-DI55MBZ5-DBc5FE0O.js} +3 -3
- package/dist/server/assets/{chunk-FMBD7UC4-D0p4jYwA.js → chunk-FMBD7UC4-BmyVhHTD.js} +1 -1
- package/dist/server/assets/{chunk-QN33PNHL-uyJLpuzt.js → chunk-QN33PNHL-MEMc-HV1.js} +1 -1
- package/dist/server/assets/{chunk-QZHKN3VN-dIcVPiYR.js → chunk-QZHKN3VN-D0s55-ob.js} +1 -1
- package/dist/server/assets/{chunk-TZMSLE5B-3l__otri.js → chunk-TZMSLE5B-CHLAtcyP.js} +1 -1
- package/dist/server/assets/{classDiagram-v2-WZHVMYZB-CxlZAW4M.js → classDiagram-2ON5EDUG-D_KqC8CP.js} +5 -5
- package/dist/server/assets/{classDiagram-2ON5EDUG-CxlZAW4M.js → classDiagram-v2-WZHVMYZB-D_KqC8CP.js} +5 -5
- package/dist/server/assets/{clone-BtN5mmzP.js → clone-pAcegSV_.js} +1 -1
- package/dist/server/assets/{cose-bilkent-S5V4N54A-CpHc0Viy.js → cose-bilkent-S5V4N54A-I5bimXZO.js} +1 -1
- package/dist/server/assets/{dagre-6UL2VRFP-BmlvwxMz.js → dagre-6UL2VRFP-BFEXHp44.js} +6 -6
- package/dist/server/assets/{diagram-PSM6KHXK-B0TgGZY7.js → diagram-PSM6KHXK-B4UG8ra3.js} +7 -7
- package/dist/server/assets/{diagram-QEK2KX5R-D3Y8zwos.js → diagram-QEK2KX5R-B65vkBbU.js} +6 -6
- package/dist/server/assets/{diagram-S2PKOQOG-BHuUrG2N.js → diagram-S2PKOQOG-DUV65VxH.js} +6 -6
- package/dist/server/assets/{erDiagram-Q2GNP2WA-DM8WJlsi.js → erDiagram-Q2GNP2WA-eEKIOvT3.js} +4 -4
- package/dist/server/assets/{flowDiagram-NV44I4VS-BfyIqNem.js → flowDiagram-NV44I4VS-B0GxfKRu.js} +5 -5
- package/dist/server/assets/{ganttDiagram-JELNMOA3-BZQeLvAR.js → ganttDiagram-JELNMOA3-etJ_j_I0.js} +2 -2
- package/dist/server/assets/{gitGraph-G5XIXVHT-CCcYJ7dh.js → gitGraph-G5XIXVHT-DE59sCs-.js} +6 -6
- package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-bCVMHPpA.js → gitGraphDiagram-V2S2FVAM-BZuXPjR3.js} +7 -7
- package/dist/server/assets/{graph-CIjfCamy.js → graph-HlbQNgKh.js} +2 -2
- package/dist/server/assets/{highlighted-body-B3W2YXNL-DgdfkSxA.js → highlighted-body-B3W2YXNL-CGZmJ48I.js} +1 -1
- package/dist/server/assets/{index-0_BGm0mn.js → index-0Vp2EuiF.js} +3 -3
- package/dist/server/assets/{index-BT09Zz2i.js → index-B2NbB5n_.js} +2 -2
- package/dist/server/assets/{index-PcwomXXg.js → index-BYATJkV0.js} +1 -1
- package/dist/server/assets/{index-B2qKtyPL.js → index-B_gLaw5q.js} +5 -5
- package/dist/server/assets/{index-CBXzgKOs.js → index-BggD7xEz.js} +2 -2
- package/dist/server/assets/{index-CPgf4fox.js → index-BquoD96E.js} +2 -2
- package/dist/server/assets/{index-BgilcgRG.js → index-CReShbyg.js} +2 -2
- package/dist/server/assets/{index-xHAcoUao.js → index-CcRwhNJ0.js} +3 -3
- package/dist/server/assets/{index-BcYdtAMM.js → index-CozxyE6F.js} +2 -2
- package/dist/server/assets/{index-ChjA2VmA.js → index-Cq-S8ocb.js} +1 -1
- package/dist/server/assets/{index-DO78fmX2.js → index-CqJMMgyN.js} +2 -2
- package/dist/server/assets/{index-CO5kqxG3.js → index-DVIqYu1B.js} +5 -5
- package/dist/server/assets/{index-BRIhAKe8.js → index-DfuZ1SKx.js} +2 -2
- package/dist/server/assets/{index-BoanxRSH.js → index-DoEmUqp6.js} +2 -2
- package/dist/server/assets/{index-sBBVHJec.js → index-DsW29Azb.js} +4 -4
- package/dist/server/assets/{index-CW27f0k8.js → index-KO85K6gg.js} +2 -2
- package/dist/server/assets/{index-CQZMfw92.js → index-kEUC1eer.js} +2 -2
- package/dist/server/assets/{index-CUrmFB9U.js → index-oAvn7Kbw.js} +2 -2
- package/dist/server/assets/{info-VBDWY6EO-DeW_eJX1.js → info-VBDWY6EO-DFb5bmEE.js} +6 -6
- package/dist/server/assets/{infoDiagram-HS3SLOUP-RRsQoFFk.js → infoDiagram-HS3SLOUP-DUDXdFYe.js} +5 -5
- package/dist/server/assets/{journeyDiagram-XKPGCS4Q-BthUaNJH.js → journeyDiagram-XKPGCS4Q-BnEH3kK2.js} +4 -4
- package/dist/server/assets/{kanban-definition-3W4ZIXB7-g-dju6UR.js → kanban-definition-3W4ZIXB7-BPnM08KT.js} +2 -2
- package/dist/server/assets/{layout-un8ibgzD.js → layout-CnirhobE.js} +4 -4
- package/dist/server/assets/{linear-CLKN7W2t.js → linear-CLJDiqhJ.js} +1 -1
- package/dist/server/assets/{mermaid-3ZIDBTTL-gGOjGhZZ.js → mermaid-3ZIDBTTL-Dyndt6u2.js} +1 -1
- package/dist/server/assets/{mermaid-parser.core-Dt-fPNwe.js → mermaid-parser.core-DxDjr9RA.js} +11 -11
- package/dist/server/assets/{mindmap-definition-VGOIOE7T-CyOPm1d2.js → mindmap-definition-VGOIOE7T-CPnGCXl9.js} +3 -3
- package/dist/server/assets/{packet-DYOGHKS2-4sSK9trD.js → packet-DYOGHKS2-Bt7VjiqG.js} +6 -6
- package/dist/server/assets/{pie-VRWISCQL-C2jGDe4p.js → pie-VRWISCQL-CpD4BgbA.js} +6 -6
- package/dist/server/assets/{pieDiagram-ADFJNKIX-DWZOj9Y0.js → pieDiagram-ADFJNKIX-BSx8zl8i.js} +7 -7
- package/dist/server/assets/{quadrantDiagram-AYHSOK5B-D4ONUX7b.js → quadrantDiagram-AYHSOK5B-B08pRdHD.js} +2 -2
- package/dist/server/assets/{radar-ZZBFDIW7-BJ1GmVhh.js → radar-ZZBFDIW7-BeHVWQbv.js} +6 -6
- package/dist/server/assets/{requirementDiagram-UZGBJVZJ-UgBPsTYb.js → requirementDiagram-UZGBJVZJ-BtjVtNFU.js} +3 -3
- package/dist/server/assets/{router-BLOX4jR4.js → router-VlIt4cC5.js} +1221 -288
- package/dist/server/assets/{sankeyDiagram-TZEHDZUN-DR346iyM.js → sankeyDiagram-TZEHDZUN-CG6DECc6.js} +1 -1
- package/dist/server/assets/{sequenceDiagram-WL72ISMW-ampkthMk.js → sequenceDiagram-WL72ISMW-DEfVJQli.js} +3 -3
- package/dist/server/assets/{square-terminal-CuUDJxG7.js → square-terminal-DTO02O7S.js} +1 -1
- package/dist/server/assets/{stateDiagram-FKZM4ZOC-BGJgIHAr.js → stateDiagram-FKZM4ZOC-DblYyAIC.js} +8 -8
- package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-DV0c4QE4.js → stateDiagram-v2-4FDKWEC3-YhMCeOsH.js} +4 -4
- package/dist/server/assets/{timeline-definition-IT6M3QCI-V6Yu7fCS.js → timeline-definition-IT6M3QCI-CDEJSclA.js} +2 -2
- package/dist/server/assets/{treemap-GDKQZRPO-Dwk_JN75.js → treemap-GDKQZRPO-Tg2S6NSt.js} +6 -6
- package/dist/server/assets/{workspace._workspaceId-BIUZ7lNJ.js → workspace._workspaceId-CVnwrhnX.js} +2 -2
- package/dist/server/assets/{workspace._workspaceId.changes-Cz2Q9MYv.js → workspace._workspaceId.changes-CsJMr9Ve.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.code._-mhiuiARp.js → workspace._workspaceId.code._-CjSLVs7D.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.code.index-DJE-_14B.js → workspace._workspaceId.code.index-BhUZuUX-.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.index-BaBfW1nO.js → workspace._workspaceId.index-CmBIxfCl.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.terminal-CKX5RImf.js → workspace._workspaceId.terminal-BehWU5SY.js} +2 -2
- package/dist/server/assets/{xychartDiagram-PRI3JC2R-DZLYbs7Q.js → xychartDiagram-PRI3JC2R-DAT7FXvH.js} +2 -2
- package/dist/server/server.js +2 -2
- package/dist/start-server.mjs +689 -277
- package/package.json +5 -5
- package/dist/client/assets/channel-gL3XfYSv.js +0 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-Dset5Kja.js +0 -1
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-Dset5Kja.js +0 -1
- package/dist/client/assets/clone-CGaELEce.js +0 -1
- package/dist/client/assets/main-F2T48yRI.css +0 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-C1zjRAy3.js +0 -1
- package/dist/client/assets/workspace._workspaceId.code-BIEwg7CK.js +0 -1
|
@@ -1093,44 +1093,44 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
1093
1093
|
Component.displayName = toPascalCase(iconName);
|
|
1094
1094
|
return Component;
|
|
1095
1095
|
};
|
|
1096
|
-
const __iconNode$
|
|
1096
|
+
const __iconNode$1w = [
|
|
1097
1097
|
["path", { d: "M12 17V3", key: "1cwfxf" }],
|
|
1098
1098
|
["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
|
|
1099
1099
|
["path", { d: "M19 21H5", key: "150jfl" }]
|
|
1100
1100
|
];
|
|
1101
|
-
const ArrowDownToLine = createLucideIcon("arrow-down-to-line", __iconNode$
|
|
1102
|
-
const __iconNode$
|
|
1101
|
+
const ArrowDownToLine = createLucideIcon("arrow-down-to-line", __iconNode$1w);
|
|
1102
|
+
const __iconNode$1v = [
|
|
1103
1103
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
1104
1104
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
1105
1105
|
];
|
|
1106
|
-
const ArrowDown = createLucideIcon("arrow-down", __iconNode$
|
|
1107
|
-
const __iconNode$
|
|
1106
|
+
const ArrowDown = createLucideIcon("arrow-down", __iconNode$1v);
|
|
1107
|
+
const __iconNode$1u = [
|
|
1108
1108
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
1109
1109
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
1110
1110
|
];
|
|
1111
|
-
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$
|
|
1112
|
-
const __iconNode$
|
|
1111
|
+
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1u);
|
|
1112
|
+
const __iconNode$1t = [
|
|
1113
1113
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
1114
1114
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
1115
1115
|
];
|
|
1116
|
-
const ArrowRight = createLucideIcon("arrow-right", __iconNode$
|
|
1117
|
-
const __iconNode$
|
|
1116
|
+
const ArrowRight = createLucideIcon("arrow-right", __iconNode$1t);
|
|
1117
|
+
const __iconNode$1s = [
|
|
1118
1118
|
["path", { d: "m18 9-6-6-6 6", key: "kcunyi" }],
|
|
1119
1119
|
["path", { d: "M12 3v14", key: "7cf3v8" }],
|
|
1120
1120
|
["path", { d: "M5 21h14", key: "11awu3" }]
|
|
1121
1121
|
];
|
|
1122
|
-
const ArrowUpFromLine = createLucideIcon("arrow-up-from-line", __iconNode$
|
|
1123
|
-
const __iconNode$
|
|
1122
|
+
const ArrowUpFromLine = createLucideIcon("arrow-up-from-line", __iconNode$1s);
|
|
1123
|
+
const __iconNode$1r = [
|
|
1124
1124
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
1125
1125
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
1126
1126
|
];
|
|
1127
|
-
const ArrowUp = createLucideIcon("arrow-up", __iconNode$
|
|
1128
|
-
const __iconNode$
|
|
1127
|
+
const ArrowUp = createLucideIcon("arrow-up", __iconNode$1r);
|
|
1128
|
+
const __iconNode$1q = [
|
|
1129
1129
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1130
1130
|
["path", { d: "M4.929 4.929 19.07 19.071", key: "196cmz" }]
|
|
1131
1131
|
];
|
|
1132
|
-
const Ban = createLucideIcon("ban", __iconNode$
|
|
1133
|
-
const __iconNode$
|
|
1132
|
+
const Ban = createLucideIcon("ban", __iconNode$1q);
|
|
1133
|
+
const __iconNode$1p = [
|
|
1134
1134
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
1135
1135
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
1136
1136
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
@@ -1138,8 +1138,8 @@ const __iconNode$1n = [
|
|
|
1138
1138
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
1139
1139
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
1140
1140
|
];
|
|
1141
|
-
const Bot = createLucideIcon("bot", __iconNode$
|
|
1142
|
-
const __iconNode$
|
|
1141
|
+
const Bot = createLucideIcon("bot", __iconNode$1p);
|
|
1142
|
+
const __iconNode$1o = [
|
|
1143
1143
|
[
|
|
1144
1144
|
"path",
|
|
1145
1145
|
{ d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1", key: "ezmyqa" }
|
|
@@ -1152,62 +1152,62 @@ const __iconNode$1m = [
|
|
|
1152
1152
|
}
|
|
1153
1153
|
]
|
|
1154
1154
|
];
|
|
1155
|
-
const Braces = createLucideIcon("braces", __iconNode$
|
|
1156
|
-
const __iconNode$
|
|
1155
|
+
const Braces = createLucideIcon("braces", __iconNode$1o);
|
|
1156
|
+
const __iconNode$1n = [
|
|
1157
1157
|
["path", { d: "m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16", key: "d5nyq2" }],
|
|
1158
1158
|
["path", { d: "M22 9v7", key: "pvm9v3" }],
|
|
1159
1159
|
["path", { d: "M3.304 13h6.392", key: "1q3zxz" }],
|
|
1160
1160
|
["circle", { cx: "18.5", cy: "12.5", r: "3.5", key: "z97x68" }]
|
|
1161
1161
|
];
|
|
1162
|
-
const CaseSensitive = createLucideIcon("case-sensitive", __iconNode$
|
|
1163
|
-
const __iconNode$
|
|
1164
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
1165
|
-
const __iconNode$
|
|
1166
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
1167
|
-
const __iconNode$
|
|
1168
|
-
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$
|
|
1169
|
-
const __iconNode$
|
|
1170
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
1171
|
-
const __iconNode$
|
|
1172
|
-
const ChevronUp = createLucideIcon("chevron-up", __iconNode$
|
|
1173
|
-
const __iconNode$
|
|
1162
|
+
const CaseSensitive = createLucideIcon("case-sensitive", __iconNode$1n);
|
|
1163
|
+
const __iconNode$1m = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
1164
|
+
const Check = createLucideIcon("check", __iconNode$1m);
|
|
1165
|
+
const __iconNode$1l = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
1166
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$1l);
|
|
1167
|
+
const __iconNode$1k = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
1168
|
+
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1k);
|
|
1169
|
+
const __iconNode$1j = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
1170
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$1j);
|
|
1171
|
+
const __iconNode$1i = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
1172
|
+
const ChevronUp = createLucideIcon("chevron-up", __iconNode$1i);
|
|
1173
|
+
const __iconNode$1h = [
|
|
1174
1174
|
["path", { d: "m7 20 5-5 5 5", key: "13a0gw" }],
|
|
1175
1175
|
["path", { d: "m7 4 5 5 5-5", key: "1kwcof" }]
|
|
1176
1176
|
];
|
|
1177
|
-
const ChevronsDownUp = createLucideIcon("chevrons-down-up", __iconNode$
|
|
1178
|
-
const __iconNode$
|
|
1177
|
+
const ChevronsDownUp = createLucideIcon("chevrons-down-up", __iconNode$1h);
|
|
1178
|
+
const __iconNode$1g = [
|
|
1179
1179
|
["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
|
|
1180
1180
|
["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
|
|
1181
1181
|
];
|
|
1182
|
-
const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$
|
|
1183
|
-
const __iconNode$
|
|
1182
|
+
const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$1g);
|
|
1183
|
+
const __iconNode$1f = [
|
|
1184
1184
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1185
1185
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
1186
1186
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
1187
1187
|
];
|
|
1188
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
1189
|
-
const __iconNode$
|
|
1188
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$1f);
|
|
1189
|
+
const __iconNode$1e = [
|
|
1190
1190
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1191
1191
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
1192
1192
|
];
|
|
1193
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
1194
|
-
const __iconNode$
|
|
1193
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$1e);
|
|
1194
|
+
const __iconNode$1d = [
|
|
1195
1195
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1196
1196
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
1197
1197
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
1198
1198
|
];
|
|
1199
|
-
const CircleX = createLucideIcon("circle-x", __iconNode$
|
|
1200
|
-
const __iconNode$
|
|
1201
|
-
const Circle = createLucideIcon("circle", __iconNode$
|
|
1202
|
-
const __iconNode$
|
|
1199
|
+
const CircleX = createLucideIcon("circle-x", __iconNode$1d);
|
|
1200
|
+
const __iconNode$1c = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
1201
|
+
const Circle = createLucideIcon("circle", __iconNode$1c);
|
|
1202
|
+
const __iconNode$1b = [
|
|
1203
1203
|
["path", { d: "M11 14h10", key: "1w8e9d" }],
|
|
1204
1204
|
["path", { d: "M16 4h2a2 2 0 0 1 2 2v1.344", key: "1e62lh" }],
|
|
1205
1205
|
["path", { d: "m17 18 4-4-4-4", key: "z2g111" }],
|
|
1206
1206
|
["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113", key: "bjbb7m" }],
|
|
1207
1207
|
["rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", key: "ublpy" }]
|
|
1208
1208
|
];
|
|
1209
|
-
const ClipboardPaste = createLucideIcon("clipboard-paste", __iconNode$
|
|
1210
|
-
const __iconNode$
|
|
1209
|
+
const ClipboardPaste = createLucideIcon("clipboard-paste", __iconNode$1b);
|
|
1210
|
+
const __iconNode$1a = [
|
|
1211
1211
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
1212
1212
|
[
|
|
1213
1213
|
"path",
|
|
@@ -1217,59 +1217,59 @@ const __iconNode$18 = [
|
|
|
1217
1217
|
}
|
|
1218
1218
|
]
|
|
1219
1219
|
];
|
|
1220
|
-
const Clipboard = createLucideIcon("clipboard", __iconNode$
|
|
1221
|
-
const __iconNode$
|
|
1220
|
+
const Clipboard = createLucideIcon("clipboard", __iconNode$1a);
|
|
1221
|
+
const __iconNode$19 = [
|
|
1222
1222
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1223
1223
|
["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
|
|
1224
1224
|
];
|
|
1225
|
-
const Clock = createLucideIcon("clock", __iconNode$
|
|
1226
|
-
const __iconNode$
|
|
1225
|
+
const Clock = createLucideIcon("clock", __iconNode$19);
|
|
1226
|
+
const __iconNode$18 = [
|
|
1227
1227
|
["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
|
|
1228
1228
|
["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
|
|
1229
1229
|
["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
|
|
1230
1230
|
];
|
|
1231
|
-
const CodeXml = createLucideIcon("code-xml", __iconNode$
|
|
1232
|
-
const __iconNode$
|
|
1231
|
+
const CodeXml = createLucideIcon("code-xml", __iconNode$18);
|
|
1232
|
+
const __iconNode$17 = [
|
|
1233
1233
|
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
1234
1234
|
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
1235
1235
|
];
|
|
1236
|
-
const Code = createLucideIcon("code", __iconNode$
|
|
1237
|
-
const __iconNode$
|
|
1236
|
+
const Code = createLucideIcon("code", __iconNode$17);
|
|
1237
|
+
const __iconNode$16 = [
|
|
1238
1238
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1239
1239
|
["path", { d: "M12 3v18", key: "108xh3" }]
|
|
1240
1240
|
];
|
|
1241
|
-
const Columns2 = createLucideIcon("columns-2", __iconNode$
|
|
1242
|
-
const __iconNode$
|
|
1241
|
+
const Columns2 = createLucideIcon("columns-2", __iconNode$16);
|
|
1242
|
+
const __iconNode$15 = [
|
|
1243
1243
|
[
|
|
1244
1244
|
"path",
|
|
1245
1245
|
{ d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3", key: "11bfej" }
|
|
1246
1246
|
]
|
|
1247
1247
|
];
|
|
1248
|
-
const Command$1 = createLucideIcon("command", __iconNode$
|
|
1249
|
-
const __iconNode$
|
|
1248
|
+
const Command$1 = createLucideIcon("command", __iconNode$15);
|
|
1249
|
+
const __iconNode$14 = [
|
|
1250
1250
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
1251
1251
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
1252
1252
|
];
|
|
1253
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
1254
|
-
const __iconNode$
|
|
1253
|
+
const Copy = createLucideIcon("copy", __iconNode$14);
|
|
1254
|
+
const __iconNode$13 = [
|
|
1255
1255
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
1256
1256
|
["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
|
|
1257
1257
|
["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
|
|
1258
1258
|
];
|
|
1259
|
-
const Database = createLucideIcon("database", __iconNode$
|
|
1260
|
-
const __iconNode$
|
|
1259
|
+
const Database = createLucideIcon("database", __iconNode$13);
|
|
1260
|
+
const __iconNode$12 = [
|
|
1261
1261
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
1262
1262
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
1263
1263
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
1264
1264
|
];
|
|
1265
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
1266
|
-
const __iconNode
|
|
1265
|
+
const Download = createLucideIcon("download", __iconNode$12);
|
|
1266
|
+
const __iconNode$11 = [
|
|
1267
1267
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
1268
1268
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
1269
1269
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
1270
1270
|
];
|
|
1271
|
-
const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode
|
|
1272
|
-
const __iconNode$
|
|
1271
|
+
const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$11);
|
|
1272
|
+
const __iconNode$10 = [
|
|
1273
1273
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
1274
1274
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
1275
1275
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -1279,14 +1279,14 @@ const __iconNode$_ = [
|
|
|
1279
1279
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
1280
1280
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
1281
1281
|
];
|
|
1282
|
-
const Expand = createLucideIcon("expand", __iconNode$
|
|
1283
|
-
const __iconNode
|
|
1282
|
+
const Expand = createLucideIcon("expand", __iconNode$10);
|
|
1283
|
+
const __iconNode$$ = [
|
|
1284
1284
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
1285
1285
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
1286
1286
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
1287
1287
|
];
|
|
1288
|
-
const ExternalLink$1 = createLucideIcon("external-link", __iconNode
|
|
1289
|
-
const __iconNode$
|
|
1288
|
+
const ExternalLink$1 = createLucideIcon("external-link", __iconNode$$);
|
|
1289
|
+
const __iconNode$_ = [
|
|
1290
1290
|
[
|
|
1291
1291
|
"path",
|
|
1292
1292
|
{
|
|
@@ -1296,8 +1296,8 @@ const __iconNode$Y = [
|
|
|
1296
1296
|
],
|
|
1297
1297
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
1298
1298
|
];
|
|
1299
|
-
const Eye = createLucideIcon("eye", __iconNode$
|
|
1300
|
-
const __iconNode$
|
|
1299
|
+
const Eye = createLucideIcon("eye", __iconNode$_);
|
|
1300
|
+
const __iconNode$Z = [
|
|
1301
1301
|
[
|
|
1302
1302
|
"path",
|
|
1303
1303
|
{
|
|
@@ -1315,8 +1315,8 @@ const __iconNode$X = [
|
|
|
1315
1315
|
{ d: "M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1", key: "mpwhp6" }
|
|
1316
1316
|
]
|
|
1317
1317
|
];
|
|
1318
|
-
const FileBraces = createLucideIcon("file-braces", __iconNode$
|
|
1319
|
-
const __iconNode$
|
|
1318
|
+
const FileBraces = createLucideIcon("file-braces", __iconNode$Z);
|
|
1319
|
+
const __iconNode$Y = [
|
|
1320
1320
|
[
|
|
1321
1321
|
"path",
|
|
1322
1322
|
{
|
|
@@ -1328,8 +1328,8 @@ const __iconNode$W = [
|
|
|
1328
1328
|
["path", { d: "m5 16-3 3 3 3", key: "331omg" }],
|
|
1329
1329
|
["path", { d: "m9 22 3-3-3-3", key: "lsp7cz" }]
|
|
1330
1330
|
];
|
|
1331
|
-
const FileCodeCorner = createLucideIcon("file-code-corner", __iconNode$
|
|
1332
|
-
const __iconNode$
|
|
1331
|
+
const FileCodeCorner = createLucideIcon("file-code-corner", __iconNode$Y);
|
|
1332
|
+
const __iconNode$X = [
|
|
1333
1333
|
[
|
|
1334
1334
|
"path",
|
|
1335
1335
|
{
|
|
@@ -1340,8 +1340,8 @@ const __iconNode$V = [
|
|
|
1340
1340
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
1341
1341
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
1342
1342
|
];
|
|
1343
|
-
const FileExclamationPoint = createLucideIcon("file-exclamation-point", __iconNode$
|
|
1344
|
-
const __iconNode$
|
|
1343
|
+
const FileExclamationPoint = createLucideIcon("file-exclamation-point", __iconNode$X);
|
|
1344
|
+
const __iconNode$W = [
|
|
1345
1345
|
[
|
|
1346
1346
|
"path",
|
|
1347
1347
|
{
|
|
@@ -1353,8 +1353,8 @@ const __iconNode$U = [
|
|
|
1353
1353
|
["path", { d: "M9 15h6", key: "cctwl0" }],
|
|
1354
1354
|
["path", { d: "M12 18v-6", key: "17g6i2" }]
|
|
1355
1355
|
];
|
|
1356
|
-
const FilePlus = createLucideIcon("file-plus", __iconNode$
|
|
1357
|
-
const __iconNode$
|
|
1356
|
+
const FilePlus = createLucideIcon("file-plus", __iconNode$W);
|
|
1357
|
+
const __iconNode$V = [
|
|
1358
1358
|
[
|
|
1359
1359
|
"path",
|
|
1360
1360
|
{
|
|
@@ -1367,8 +1367,8 @@ const __iconNode$T = [
|
|
|
1367
1367
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
1368
1368
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
1369
1369
|
];
|
|
1370
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
1371
|
-
const __iconNode$
|
|
1370
|
+
const FileText = createLucideIcon("file-text", __iconNode$V);
|
|
1371
|
+
const __iconNode$U = [
|
|
1372
1372
|
[
|
|
1373
1373
|
"path",
|
|
1374
1374
|
{
|
|
@@ -1378,8 +1378,8 @@ const __iconNode$S = [
|
|
|
1378
1378
|
],
|
|
1379
1379
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
|
|
1380
1380
|
];
|
|
1381
|
-
const File = createLucideIcon("file", __iconNode$
|
|
1382
|
-
const __iconNode$
|
|
1381
|
+
const File = createLucideIcon("file", __iconNode$U);
|
|
1382
|
+
const __iconNode$T = [
|
|
1383
1383
|
[
|
|
1384
1384
|
"path",
|
|
1385
1385
|
{
|
|
@@ -1388,8 +1388,8 @@ const __iconNode$R = [
|
|
|
1388
1388
|
}
|
|
1389
1389
|
]
|
|
1390
1390
|
];
|
|
1391
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
1392
|
-
const __iconNode$
|
|
1391
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$T);
|
|
1392
|
+
const __iconNode$S = [
|
|
1393
1393
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
1394
1394
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
1395
1395
|
[
|
|
@@ -1400,8 +1400,8 @@ const __iconNode$Q = [
|
|
|
1400
1400
|
}
|
|
1401
1401
|
]
|
|
1402
1402
|
];
|
|
1403
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
1404
|
-
const __iconNode$
|
|
1403
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$S);
|
|
1404
|
+
const __iconNode$R = [
|
|
1405
1405
|
[
|
|
1406
1406
|
"path",
|
|
1407
1407
|
{
|
|
@@ -1410,8 +1410,8 @@ const __iconNode$P = [
|
|
|
1410
1410
|
}
|
|
1411
1411
|
]
|
|
1412
1412
|
];
|
|
1413
|
-
const Folder = createLucideIcon("folder", __iconNode$
|
|
1414
|
-
const __iconNode$
|
|
1413
|
+
const Folder = createLucideIcon("folder", __iconNode$R);
|
|
1414
|
+
const __iconNode$Q = [
|
|
1415
1415
|
[
|
|
1416
1416
|
"path",
|
|
1417
1417
|
{
|
|
@@ -1424,39 +1424,39 @@ const __iconNode$O = [
|
|
|
1424
1424
|
{ d: "M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1", key: "yxbcw3" }
|
|
1425
1425
|
]
|
|
1426
1426
|
];
|
|
1427
|
-
const Folders = createLucideIcon("folders", __iconNode$
|
|
1428
|
-
const __iconNode$
|
|
1427
|
+
const Folders = createLucideIcon("folders", __iconNode$Q);
|
|
1428
|
+
const __iconNode$P = [
|
|
1429
1429
|
["path", { d: "M15 6a9 9 0 0 0-9 9V3", key: "1cii5b" }],
|
|
1430
1430
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
1431
1431
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }]
|
|
1432
1432
|
];
|
|
1433
|
-
const GitBranch = createLucideIcon("git-branch", __iconNode$
|
|
1434
|
-
const __iconNode$
|
|
1433
|
+
const GitBranch = createLucideIcon("git-branch", __iconNode$P);
|
|
1434
|
+
const __iconNode$O = [
|
|
1435
1435
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
|
|
1436
1436
|
["line", { x1: "3", x2: "9", y1: "12", y2: "12", key: "1dyftd" }],
|
|
1437
1437
|
["line", { x1: "15", x2: "21", y1: "12", y2: "12", key: "oup4p8" }]
|
|
1438
1438
|
];
|
|
1439
|
-
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$
|
|
1440
|
-
const __iconNode$
|
|
1439
|
+
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$O);
|
|
1440
|
+
const __iconNode$N = [
|
|
1441
1441
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
1442
1442
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
1443
1443
|
["path", { d: "M13 6h3a2 2 0 0 1 2 2v7", key: "1yeb86" }],
|
|
1444
1444
|
["path", { d: "M11 18H8a2 2 0 0 1-2-2V9", key: "19pyzm" }]
|
|
1445
1445
|
];
|
|
1446
|
-
const GitCompare = createLucideIcon("git-compare", __iconNode$
|
|
1447
|
-
const __iconNode$
|
|
1446
|
+
const GitCompare = createLucideIcon("git-compare", __iconNode$N);
|
|
1447
|
+
const __iconNode$M = [
|
|
1448
1448
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
1449
1449
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
1450
1450
|
["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
|
|
1451
1451
|
];
|
|
1452
|
-
const GitMerge = createLucideIcon("git-merge", __iconNode$
|
|
1453
|
-
const __iconNode$
|
|
1452
|
+
const GitMerge = createLucideIcon("git-merge", __iconNode$M);
|
|
1453
|
+
const __iconNode$L = [
|
|
1454
1454
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1455
1455
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
1456
1456
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
1457
1457
|
];
|
|
1458
|
-
const Globe = createLucideIcon("globe", __iconNode$
|
|
1459
|
-
const __iconNode$
|
|
1458
|
+
const Globe = createLucideIcon("globe", __iconNode$L);
|
|
1459
|
+
const __iconNode$K = [
|
|
1460
1460
|
["circle", { cx: "12", cy: "9", r: "1", key: "124mty" }],
|
|
1461
1461
|
["circle", { cx: "19", cy: "9", r: "1", key: "1ruzo2" }],
|
|
1462
1462
|
["circle", { cx: "5", cy: "9", r: "1", key: "1a8b28" }],
|
|
@@ -1464,8 +1464,14 @@ const __iconNode$I = [
|
|
|
1464
1464
|
["circle", { cx: "19", cy: "15", r: "1", key: "1a92ep" }],
|
|
1465
1465
|
["circle", { cx: "5", cy: "15", r: "1", key: "5r1jwy" }]
|
|
1466
1466
|
];
|
|
1467
|
-
const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$
|
|
1468
|
-
const __iconNode$
|
|
1467
|
+
const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$K);
|
|
1468
|
+
const __iconNode$J = [
|
|
1469
|
+
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
1470
|
+
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
1471
|
+
["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
|
|
1472
|
+
];
|
|
1473
|
+
const History = createLucideIcon("history", __iconNode$J);
|
|
1474
|
+
const __iconNode$I = [
|
|
1469
1475
|
["line", { x1: "2", x2: "22", y1: "2", y2: "22", key: "a6p6uj" }],
|
|
1470
1476
|
["path", { d: "M10.41 10.41a2 2 0 1 1-2.83-2.83", key: "1bzlo9" }],
|
|
1471
1477
|
["line", { x1: "13.5", x2: "6", y1: "13.5", y2: "21", key: "1q0aeu" }],
|
|
@@ -1479,31 +1485,31 @@ const __iconNode$H = [
|
|
|
1479
1485
|
],
|
|
1480
1486
|
["path", { d: "M21 15V5a2 2 0 0 0-2-2H9", key: "43el77" }]
|
|
1481
1487
|
];
|
|
1482
|
-
const ImageOff = createLucideIcon("image-off", __iconNode$
|
|
1483
|
-
const __iconNode$
|
|
1488
|
+
const ImageOff = createLucideIcon("image-off", __iconNode$I);
|
|
1489
|
+
const __iconNode$H = [
|
|
1484
1490
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
1485
1491
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
1486
1492
|
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
1487
1493
|
];
|
|
1488
|
-
const Image$1 = createLucideIcon("image", __iconNode$
|
|
1489
|
-
const __iconNode$
|
|
1494
|
+
const Image$1 = createLucideIcon("image", __iconNode$H);
|
|
1495
|
+
const __iconNode$G = [
|
|
1490
1496
|
["path", { d: "M16 5H3", key: "m91uny" }],
|
|
1491
1497
|
["path", { d: "M11 12H3", key: "51ecnj" }],
|
|
1492
1498
|
["path", { d: "M16 19H3", key: "zzsher" }],
|
|
1493
1499
|
["path", { d: "M21 12h-6", key: "bt1uis" }]
|
|
1494
1500
|
];
|
|
1495
|
-
const ListMinus = createLucideIcon("list-minus", __iconNode$
|
|
1496
|
-
const __iconNode$
|
|
1501
|
+
const ListMinus = createLucideIcon("list-minus", __iconNode$G);
|
|
1502
|
+
const __iconNode$F = [
|
|
1497
1503
|
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
1498
1504
|
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
1499
1505
|
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
1500
1506
|
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
1501
1507
|
["rect", { x: "3", y: "4", width: "6", height: "6", rx: "1", key: "cif1o7" }]
|
|
1502
1508
|
];
|
|
1503
|
-
const ListTodo = createLucideIcon("list-todo", __iconNode$
|
|
1504
|
-
const __iconNode$
|
|
1505
|
-
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$
|
|
1506
|
-
const __iconNode$
|
|
1509
|
+
const ListTodo = createLucideIcon("list-todo", __iconNode$F);
|
|
1510
|
+
const __iconNode$E = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
1511
|
+
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$E);
|
|
1512
|
+
const __iconNode$D = [
|
|
1507
1513
|
["path", { d: "M12 2v4", key: "3427ic" }],
|
|
1508
1514
|
["path", { d: "m16.2 7.8 2.9-2.9", key: "r700ao" }],
|
|
1509
1515
|
["path", { d: "M18 12h4", key: "wj9ykh" }],
|
|
@@ -1513,26 +1519,26 @@ const __iconNode$C = [
|
|
|
1513
1519
|
["path", { d: "M2 12h4", key: "j09sii" }],
|
|
1514
1520
|
["path", { d: "m4.9 4.9 2.9 2.9", key: "giyufr" }]
|
|
1515
1521
|
];
|
|
1516
|
-
const Loader = createLucideIcon("loader", __iconNode$
|
|
1517
|
-
const __iconNode$
|
|
1522
|
+
const Loader = createLucideIcon("loader", __iconNode$D);
|
|
1523
|
+
const __iconNode$C = [
|
|
1518
1524
|
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
|
1519
1525
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
|
1520
1526
|
];
|
|
1521
|
-
const Lock = createLucideIcon("lock", __iconNode$
|
|
1522
|
-
const __iconNode$
|
|
1527
|
+
const Lock = createLucideIcon("lock", __iconNode$C);
|
|
1528
|
+
const __iconNode$B = [
|
|
1523
1529
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
1524
1530
|
["path", { d: "m21 3-7 7", key: "1l2asr" }],
|
|
1525
1531
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
1526
1532
|
["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
|
|
1527
1533
|
];
|
|
1528
|
-
const Maximize2 = createLucideIcon("maximize-2", __iconNode$
|
|
1529
|
-
const __iconNode$
|
|
1534
|
+
const Maximize2 = createLucideIcon("maximize-2", __iconNode$B);
|
|
1535
|
+
const __iconNode$A = [
|
|
1530
1536
|
["path", { d: "M4 5h16", key: "1tepv9" }],
|
|
1531
1537
|
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
1532
1538
|
["path", { d: "M4 19h16", key: "1djgab" }]
|
|
1533
1539
|
];
|
|
1534
|
-
const Menu$1 = createLucideIcon("menu", __iconNode$
|
|
1535
|
-
const __iconNode$
|
|
1540
|
+
const Menu$1 = createLucideIcon("menu", __iconNode$A);
|
|
1541
|
+
const __iconNode$z = [
|
|
1536
1542
|
[
|
|
1537
1543
|
"path",
|
|
1538
1544
|
{
|
|
@@ -1541,21 +1547,21 @@ const __iconNode$y = [
|
|
|
1541
1547
|
}
|
|
1542
1548
|
]
|
|
1543
1549
|
];
|
|
1544
|
-
const MessageSquare = createLucideIcon("message-square", __iconNode$
|
|
1545
|
-
const __iconNode$
|
|
1550
|
+
const MessageSquare = createLucideIcon("message-square", __iconNode$z);
|
|
1551
|
+
const __iconNode$y = [
|
|
1546
1552
|
["path", { d: "m14 10 7-7", key: "oa77jy" }],
|
|
1547
1553
|
["path", { d: "M20 10h-6V4", key: "mjg0md" }],
|
|
1548
1554
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
1549
1555
|
["path", { d: "M4 14h6v6", key: "rmj7iw" }]
|
|
1550
1556
|
];
|
|
1551
|
-
const Minimize2 = createLucideIcon("minimize-2", __iconNode$
|
|
1552
|
-
const __iconNode$
|
|
1557
|
+
const Minimize2 = createLucideIcon("minimize-2", __iconNode$y);
|
|
1558
|
+
const __iconNode$x = [
|
|
1553
1559
|
["path", { d: "M9 18V5l12-2v13", key: "1jmyc2" }],
|
|
1554
1560
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
1555
1561
|
["circle", { cx: "18", cy: "16", r: "3", key: "1hluhg" }]
|
|
1556
1562
|
];
|
|
1557
|
-
const Music = createLucideIcon("music", __iconNode$
|
|
1558
|
-
const __iconNode$
|
|
1563
|
+
const Music = createLucideIcon("music", __iconNode$x);
|
|
1564
|
+
const __iconNode$w = [
|
|
1559
1565
|
[
|
|
1560
1566
|
"path",
|
|
1561
1567
|
{
|
|
@@ -1567,18 +1573,18 @@ const __iconNode$v = [
|
|
|
1567
1573
|
["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
|
|
1568
1574
|
["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
|
|
1569
1575
|
];
|
|
1570
|
-
const Package = createLucideIcon("package", __iconNode$
|
|
1571
|
-
const __iconNode$
|
|
1576
|
+
const Package = createLucideIcon("package", __iconNode$w);
|
|
1577
|
+
const __iconNode$v = [
|
|
1572
1578
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1573
1579
|
["path", { d: "M9 3v18", key: "fh3hqa" }]
|
|
1574
1580
|
];
|
|
1575
|
-
const PanelLeft = createLucideIcon("panel-left", __iconNode$
|
|
1576
|
-
const __iconNode$
|
|
1581
|
+
const PanelLeft = createLucideIcon("panel-left", __iconNode$v);
|
|
1582
|
+
const __iconNode$u = [
|
|
1577
1583
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1578
1584
|
["path", { d: "M3 9h18", key: "1pudct" }]
|
|
1579
1585
|
];
|
|
1580
|
-
const PanelTop = createLucideIcon("panel-top", __iconNode$
|
|
1581
|
-
const __iconNode$
|
|
1586
|
+
const PanelTop = createLucideIcon("panel-top", __iconNode$u);
|
|
1587
|
+
const __iconNode$t = [
|
|
1582
1588
|
[
|
|
1583
1589
|
"path",
|
|
1584
1590
|
{
|
|
@@ -1587,8 +1593,8 @@ const __iconNode$s = [
|
|
|
1587
1593
|
}
|
|
1588
1594
|
]
|
|
1589
1595
|
];
|
|
1590
|
-
const Paperclip = createLucideIcon("paperclip", __iconNode$
|
|
1591
|
-
const __iconNode$
|
|
1596
|
+
const Paperclip = createLucideIcon("paperclip", __iconNode$t);
|
|
1597
|
+
const __iconNode$s = [
|
|
1592
1598
|
[
|
|
1593
1599
|
"path",
|
|
1594
1600
|
{
|
|
@@ -1598,8 +1604,8 @@ const __iconNode$r = [
|
|
|
1598
1604
|
],
|
|
1599
1605
|
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
1600
1606
|
];
|
|
1601
|
-
const Pencil = createLucideIcon("pencil", __iconNode$
|
|
1602
|
-
const __iconNode$
|
|
1607
|
+
const Pencil = createLucideIcon("pencil", __iconNode$s);
|
|
1608
|
+
const __iconNode$r = [
|
|
1603
1609
|
["path", { d: "M12 17v5", key: "bb1du9" }],
|
|
1604
1610
|
["path", { d: "M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89", key: "znwnzq" }],
|
|
1605
1611
|
["path", { d: "m2 2 20 20", key: "1ooewy" }],
|
|
@@ -1611,8 +1617,8 @@ const __iconNode$q = [
|
|
|
1611
1617
|
}
|
|
1612
1618
|
]
|
|
1613
1619
|
];
|
|
1614
|
-
const PinOff = createLucideIcon("pin-off", __iconNode$
|
|
1615
|
-
const __iconNode$
|
|
1620
|
+
const PinOff = createLucideIcon("pin-off", __iconNode$r);
|
|
1621
|
+
const __iconNode$q = [
|
|
1616
1622
|
["path", { d: "M12 17v5", key: "bb1du9" }],
|
|
1617
1623
|
[
|
|
1618
1624
|
"path",
|
|
@@ -1622,8 +1628,8 @@ const __iconNode$p = [
|
|
|
1622
1628
|
}
|
|
1623
1629
|
]
|
|
1624
1630
|
];
|
|
1625
|
-
const Pin = createLucideIcon("pin", __iconNode$
|
|
1626
|
-
const __iconNode$
|
|
1631
|
+
const Pin = createLucideIcon("pin", __iconNode$q);
|
|
1632
|
+
const __iconNode$p = [
|
|
1627
1633
|
[
|
|
1628
1634
|
"path",
|
|
1629
1635
|
{
|
|
@@ -1632,20 +1638,20 @@ const __iconNode$o = [
|
|
|
1632
1638
|
}
|
|
1633
1639
|
]
|
|
1634
1640
|
];
|
|
1635
|
-
const Play = createLucideIcon("play", __iconNode$
|
|
1636
|
-
const __iconNode$
|
|
1641
|
+
const Play = createLucideIcon("play", __iconNode$p);
|
|
1642
|
+
const __iconNode$o = [
|
|
1637
1643
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
1638
1644
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
1639
1645
|
];
|
|
1640
|
-
const Plus = createLucideIcon("plus", __iconNode$
|
|
1641
|
-
const __iconNode$
|
|
1646
|
+
const Plus = createLucideIcon("plus", __iconNode$o);
|
|
1647
|
+
const __iconNode$n = [
|
|
1642
1648
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
1643
1649
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
1644
1650
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
1645
1651
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
1646
1652
|
];
|
|
1647
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
1648
|
-
const __iconNode$
|
|
1653
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$n);
|
|
1654
|
+
const __iconNode$m = [
|
|
1649
1655
|
["path", { d: "M17 3v10", key: "15fgeh" }],
|
|
1650
1656
|
["path", { d: "m12.67 5.5 8.66 5", key: "1gpheq" }],
|
|
1651
1657
|
["path", { d: "m12.67 10.5 8.66-5", key: "1dkfa6" }],
|
|
@@ -1654,23 +1660,23 @@ const __iconNode$l = [
|
|
|
1654
1660
|
{ d: "M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z", key: "swwfx4" }
|
|
1655
1661
|
]
|
|
1656
1662
|
];
|
|
1657
|
-
const Regex = createLucideIcon("regex", __iconNode$
|
|
1658
|
-
const __iconNode$
|
|
1663
|
+
const Regex = createLucideIcon("regex", __iconNode$m);
|
|
1664
|
+
const __iconNode$l = [
|
|
1659
1665
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
1660
1666
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }]
|
|
1661
1667
|
];
|
|
1662
|
-
const RotateCcw = createLucideIcon("rotate-ccw", __iconNode$
|
|
1663
|
-
const __iconNode$
|
|
1668
|
+
const RotateCcw = createLucideIcon("rotate-ccw", __iconNode$l);
|
|
1669
|
+
const __iconNode$k = [
|
|
1664
1670
|
["path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8", key: "1p45f6" }],
|
|
1665
1671
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }]
|
|
1666
1672
|
];
|
|
1667
|
-
const RotateCw = createLucideIcon("rotate-cw", __iconNode$
|
|
1668
|
-
const __iconNode$
|
|
1673
|
+
const RotateCw = createLucideIcon("rotate-cw", __iconNode$k);
|
|
1674
|
+
const __iconNode$j = [
|
|
1669
1675
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1670
1676
|
["path", { d: "M3 12h18", key: "1i2n21" }]
|
|
1671
1677
|
];
|
|
1672
|
-
const Rows2 = createLucideIcon("rows-2", __iconNode$
|
|
1673
|
-
const __iconNode$
|
|
1678
|
+
const Rows2 = createLucideIcon("rows-2", __iconNode$j);
|
|
1679
|
+
const __iconNode$i = [
|
|
1674
1680
|
[
|
|
1675
1681
|
"path",
|
|
1676
1682
|
{
|
|
@@ -1681,16 +1687,16 @@ const __iconNode$h = [
|
|
|
1681
1687
|
["path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7", key: "1ydtos" }],
|
|
1682
1688
|
["path", { d: "M7 3v4a1 1 0 0 0 1 1h7", key: "t51u73" }]
|
|
1683
1689
|
];
|
|
1684
|
-
const Save = createLucideIcon("save", __iconNode$
|
|
1685
|
-
const __iconNode$
|
|
1690
|
+
const Save = createLucideIcon("save", __iconNode$i);
|
|
1691
|
+
const __iconNode$h = [
|
|
1686
1692
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
1687
1693
|
["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
|
|
1688
1694
|
["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
|
|
1689
1695
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
1690
1696
|
["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
|
|
1691
1697
|
];
|
|
1692
|
-
const Scissors = createLucideIcon("scissors", __iconNode$
|
|
1693
|
-
const __iconNode$
|
|
1698
|
+
const Scissors = createLucideIcon("scissors", __iconNode$h);
|
|
1699
|
+
const __iconNode$g = [
|
|
1694
1700
|
["path", { d: "M15 12h-5", key: "r7krc0" }],
|
|
1695
1701
|
["path", { d: "M15 8h-5", key: "1khuty" }],
|
|
1696
1702
|
["path", { d: "M19 17V5a2 2 0 0 0-2-2H4", key: "zz82l3" }],
|
|
@@ -1702,13 +1708,13 @@ const __iconNode$f = [
|
|
|
1702
1708
|
}
|
|
1703
1709
|
]
|
|
1704
1710
|
];
|
|
1705
|
-
const ScrollText = createLucideIcon("scroll-text", __iconNode$
|
|
1706
|
-
const __iconNode$
|
|
1711
|
+
const ScrollText = createLucideIcon("scroll-text", __iconNode$g);
|
|
1712
|
+
const __iconNode$f = [
|
|
1707
1713
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
1708
1714
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
1709
1715
|
];
|
|
1710
|
-
const Search = createLucideIcon("search", __iconNode$
|
|
1711
|
-
const __iconNode$
|
|
1716
|
+
const Search = createLucideIcon("search", __iconNode$f);
|
|
1717
|
+
const __iconNode$e = [
|
|
1712
1718
|
[
|
|
1713
1719
|
"path",
|
|
1714
1720
|
{
|
|
@@ -1718,8 +1724,8 @@ const __iconNode$d = [
|
|
|
1718
1724
|
],
|
|
1719
1725
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
1720
1726
|
];
|
|
1721
|
-
const Settings$1 = createLucideIcon("settings", __iconNode$
|
|
1722
|
-
const __iconNode$
|
|
1727
|
+
const Settings$1 = createLucideIcon("settings", __iconNode$e);
|
|
1728
|
+
const __iconNode$d = [
|
|
1723
1729
|
[
|
|
1724
1730
|
"path",
|
|
1725
1731
|
{
|
|
@@ -1731,18 +1737,18 @@ const __iconNode$c = [
|
|
|
1731
1737
|
["path", { d: "M22 4h-4", key: "gwowj6" }],
|
|
1732
1738
|
["circle", { cx: "4", cy: "20", r: "2", key: "6kqj1y" }]
|
|
1733
1739
|
];
|
|
1734
|
-
const Sparkles = createLucideIcon("sparkles", __iconNode$
|
|
1735
|
-
const __iconNode$
|
|
1740
|
+
const Sparkles = createLucideIcon("sparkles", __iconNode$d);
|
|
1741
|
+
const __iconNode$c = [
|
|
1736
1742
|
["path", { d: "M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6", key: "y09zxi" }],
|
|
1737
1743
|
["path", { d: "m21 3-9 9", key: "mpx6sq" }],
|
|
1738
1744
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }]
|
|
1739
1745
|
];
|
|
1740
|
-
const SquareArrowOutUpRight = createLucideIcon("square-arrow-out-up-right", __iconNode$
|
|
1741
|
-
const __iconNode$
|
|
1746
|
+
const SquareArrowOutUpRight = createLucideIcon("square-arrow-out-up-right", __iconNode$c);
|
|
1747
|
+
const __iconNode$b = [
|
|
1742
1748
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
|
|
1743
1749
|
];
|
|
1744
|
-
const Square = createLucideIcon("square", __iconNode$
|
|
1745
|
-
const __iconNode$
|
|
1750
|
+
const Square = createLucideIcon("square", __iconNode$b);
|
|
1751
|
+
const __iconNode$a = [
|
|
1746
1752
|
[
|
|
1747
1753
|
"path",
|
|
1748
1754
|
{
|
|
@@ -1752,35 +1758,35 @@ const __iconNode$9 = [
|
|
|
1752
1758
|
],
|
|
1753
1759
|
["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
|
|
1754
1760
|
];
|
|
1755
|
-
const Tag$1 = createLucideIcon("tag", __iconNode$
|
|
1756
|
-
const __iconNode$
|
|
1761
|
+
const Tag$1 = createLucideIcon("tag", __iconNode$a);
|
|
1762
|
+
const __iconNode$9 = [
|
|
1757
1763
|
["path", { d: "M12 19h8", key: "baeox8" }],
|
|
1758
1764
|
["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
|
|
1759
1765
|
];
|
|
1760
|
-
const Terminal = createLucideIcon("terminal", __iconNode$
|
|
1761
|
-
const __iconNode$
|
|
1766
|
+
const Terminal = createLucideIcon("terminal", __iconNode$9);
|
|
1767
|
+
const __iconNode$8 = [
|
|
1762
1768
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
1763
1769
|
["path", { d: "M10 12H3", key: "1ulcyk" }],
|
|
1764
1770
|
["path", { d: "M10 19H3", key: "108z41" }],
|
|
1765
1771
|
["circle", { cx: "17", cy: "15", r: "3", key: "1upz2a" }],
|
|
1766
1772
|
["path", { d: "m21 19-1.9-1.9", key: "dwi7p8" }]
|
|
1767
1773
|
];
|
|
1768
|
-
const TextSearch = createLucideIcon("text-search", __iconNode$
|
|
1769
|
-
const __iconNode$
|
|
1774
|
+
const TextSearch = createLucideIcon("text-search", __iconNode$8);
|
|
1775
|
+
const __iconNode$7 = [
|
|
1770
1776
|
["line", { x1: "10", x2: "14", y1: "2", y2: "2", key: "14vaq8" }],
|
|
1771
1777
|
["line", { x1: "12", x2: "15", y1: "14", y2: "11", key: "17fdiu" }],
|
|
1772
1778
|
["circle", { cx: "12", cy: "14", r: "8", key: "1e1u0o" }]
|
|
1773
1779
|
];
|
|
1774
|
-
const Timer$1 = createLucideIcon("timer", __iconNode$
|
|
1775
|
-
const __iconNode$
|
|
1780
|
+
const Timer$1 = createLucideIcon("timer", __iconNode$7);
|
|
1781
|
+
const __iconNode$6 = [
|
|
1776
1782
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
1777
1783
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
1778
1784
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
1779
1785
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
1780
1786
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
1781
1787
|
];
|
|
1782
|
-
const Trash2 = createLucideIcon("trash-2", __iconNode$
|
|
1783
|
-
const __iconNode$
|
|
1788
|
+
const Trash2 = createLucideIcon("trash-2", __iconNode$6);
|
|
1789
|
+
const __iconNode$5 = [
|
|
1784
1790
|
[
|
|
1785
1791
|
"path",
|
|
1786
1792
|
{
|
|
@@ -1791,13 +1797,13 @@ const __iconNode$4 = [
|
|
|
1791
1797
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
1792
1798
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
1793
1799
|
];
|
|
1794
|
-
const TriangleAlert = createLucideIcon("triangle-alert", __iconNode$
|
|
1795
|
-
const __iconNode$
|
|
1800
|
+
const TriangleAlert = createLucideIcon("triangle-alert", __iconNode$5);
|
|
1801
|
+
const __iconNode$4 = [
|
|
1796
1802
|
["path", { d: "M9 14 4 9l5-5", key: "102s5s" }],
|
|
1797
1803
|
["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11", key: "f3b9sd" }]
|
|
1798
1804
|
];
|
|
1799
|
-
const Undo2 = createLucideIcon("undo-2", __iconNode$
|
|
1800
|
-
const __iconNode$
|
|
1805
|
+
const Undo2 = createLucideIcon("undo-2", __iconNode$4);
|
|
1806
|
+
const __iconNode$3 = [
|
|
1801
1807
|
[
|
|
1802
1808
|
"path",
|
|
1803
1809
|
{
|
|
@@ -1807,15 +1813,25 @@ const __iconNode$2 = [
|
|
|
1807
1813
|
],
|
|
1808
1814
|
["rect", { x: "2", y: "6", width: "14", height: "12", rx: "2", key: "158x01" }]
|
|
1809
1815
|
];
|
|
1810
|
-
const Video = createLucideIcon("video", __iconNode$
|
|
1811
|
-
const __iconNode$
|
|
1816
|
+
const Video = createLucideIcon("video", __iconNode$3);
|
|
1817
|
+
const __iconNode$2 = [
|
|
1812
1818
|
["circle", { cx: "7", cy: "12", r: "3", key: "12clwm" }],
|
|
1813
1819
|
["path", { d: "M10 9v6", key: "17i7lo" }],
|
|
1814
1820
|
["circle", { cx: "17", cy: "12", r: "3", key: "gl7c2s" }],
|
|
1815
1821
|
["path", { d: "M14 7v8", key: "dl84cr" }],
|
|
1816
1822
|
["path", { d: "M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1", key: "lt2kga" }]
|
|
1817
1823
|
];
|
|
1818
|
-
const WholeWord = createLucideIcon("whole-word", __iconNode$
|
|
1824
|
+
const WholeWord = createLucideIcon("whole-word", __iconNode$2);
|
|
1825
|
+
const __iconNode$1 = [
|
|
1826
|
+
[
|
|
1827
|
+
"path",
|
|
1828
|
+
{
|
|
1829
|
+
d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
|
|
1830
|
+
key: "1ngwbx"
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
];
|
|
1834
|
+
const Wrench = createLucideIcon("wrench", __iconNode$1);
|
|
1819
1835
|
const __iconNode = [
|
|
1820
1836
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
1821
1837
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
@@ -40546,53 +40562,53 @@ async function loadLanguage(lang) {
|
|
|
40546
40562
|
try {
|
|
40547
40563
|
switch (lang) {
|
|
40548
40564
|
case "javascript":
|
|
40549
|
-
return import("./index-
|
|
40565
|
+
return import("./index-KO85K6gg.js").then((m2) => m2.javascript());
|
|
40550
40566
|
case "jsx":
|
|
40551
|
-
return import("./index-
|
|
40567
|
+
return import("./index-KO85K6gg.js").then((m2) => m2.javascript({ jsx: true }));
|
|
40552
40568
|
case "typescript":
|
|
40553
|
-
return import("./index-
|
|
40569
|
+
return import("./index-KO85K6gg.js").then(
|
|
40554
40570
|
(m2) => m2.javascript({ typescript: true })
|
|
40555
40571
|
);
|
|
40556
40572
|
case "tsx":
|
|
40557
|
-
return import("./index-
|
|
40573
|
+
return import("./index-KO85K6gg.js").then(
|
|
40558
40574
|
(m2) => m2.javascript({ jsx: true, typescript: true })
|
|
40559
40575
|
);
|
|
40560
40576
|
case "python":
|
|
40561
|
-
return import("./index-
|
|
40577
|
+
return import("./index-BquoD96E.js").then((m2) => m2.python());
|
|
40562
40578
|
case "html":
|
|
40563
|
-
return import("./index-
|
|
40579
|
+
return import("./index-DsW29Azb.js").then((m2) => m2.html());
|
|
40564
40580
|
case "css":
|
|
40565
|
-
return import("./index-
|
|
40581
|
+
return import("./index-kEUC1eer.js").then((m2) => m2.css());
|
|
40566
40582
|
case "scss":
|
|
40567
40583
|
case "sass":
|
|
40568
|
-
return import("./index-
|
|
40584
|
+
return import("./index-CcRwhNJ0.js").then((m2) => m2.sass());
|
|
40569
40585
|
case "less":
|
|
40570
|
-
return import("./index-
|
|
40586
|
+
return import("./index-0Vp2EuiF.js").then((m2) => m2.less());
|
|
40571
40587
|
case "json":
|
|
40572
40588
|
case "jsonc":
|
|
40573
|
-
return import("./index-
|
|
40589
|
+
return import("./index-DoEmUqp6.js").then((m2) => m2.json());
|
|
40574
40590
|
case "markdown":
|
|
40575
40591
|
case "mdx":
|
|
40576
|
-
return import("./index-
|
|
40592
|
+
return import("./index-B_gLaw5q.js").then((m2) => m2.markdown());
|
|
40577
40593
|
case "xml":
|
|
40578
|
-
return import("./index-
|
|
40594
|
+
return import("./index-CReShbyg.js").then((m2) => m2.xml());
|
|
40579
40595
|
case "yaml":
|
|
40580
|
-
return import("./index-
|
|
40596
|
+
return import("./index-CqJMMgyN.js").then((m2) => m2.yaml());
|
|
40581
40597
|
case "sql":
|
|
40582
|
-
return import("./index-
|
|
40598
|
+
return import("./index-DfuZ1SKx.js").then((m2) => m2.sql());
|
|
40583
40599
|
case "rust":
|
|
40584
|
-
return import("./index-
|
|
40600
|
+
return import("./index-oAvn7Kbw.js").then((m2) => m2.rust());
|
|
40585
40601
|
case "go":
|
|
40586
|
-
return import("./index-
|
|
40602
|
+
return import("./index-B2NbB5n_.js").then((m2) => m2.go());
|
|
40587
40603
|
case "java":
|
|
40588
|
-
return import("./index-
|
|
40604
|
+
return import("./index-CozxyE6F.js").then((m2) => m2.java());
|
|
40589
40605
|
case "kotlin":
|
|
40590
|
-
return import("./index-
|
|
40606
|
+
return import("./index-CozxyE6F.js").then((m2) => m2.java());
|
|
40591
40607
|
case "c":
|
|
40592
40608
|
case "cpp":
|
|
40593
|
-
return import("./index-
|
|
40609
|
+
return import("./index-BggD7xEz.js").then((m2) => m2.cpp());
|
|
40594
40610
|
case "php":
|
|
40595
|
-
return import("./index-
|
|
40611
|
+
return import("./index-DVIqYu1B.js").then((m2) => m2.php());
|
|
40596
40612
|
// Legacy modes via StreamLanguage
|
|
40597
40613
|
case "bash":
|
|
40598
40614
|
case "fish":
|
|
@@ -50674,6 +50690,7 @@ function RevertFileDialog({ open: open2, onOpenChange, onConfirm, filename, file
|
|
|
50674
50690
|
] })
|
|
50675
50691
|
] }) });
|
|
50676
50692
|
}
|
|
50693
|
+
const DEFAULT_VISIBLE_OPTIONS = ["caseSensitive", "wholeWord", "regex"];
|
|
50677
50694
|
function ToggleButton({
|
|
50678
50695
|
active,
|
|
50679
50696
|
onClick,
|
|
@@ -50701,8 +50718,12 @@ const SearchBar = reactExports.forwardRef(function SearchBar2({
|
|
|
50701
50718
|
onNext,
|
|
50702
50719
|
onPrevious,
|
|
50703
50720
|
onClose,
|
|
50721
|
+
visibleOptions = DEFAULT_VISIBLE_OPTIONS,
|
|
50704
50722
|
className
|
|
50705
50723
|
}, ref) {
|
|
50724
|
+
const showCase = visibleOptions.includes("caseSensitive");
|
|
50725
|
+
const showWholeWord = visibleOptions.includes("wholeWord");
|
|
50726
|
+
const showRegex = visibleOptions.includes("regex");
|
|
50706
50727
|
const inputRef = reactExports.useRef(null);
|
|
50707
50728
|
reactExports.useImperativeHandle(ref, () => ({
|
|
50708
50729
|
focus: () => inputRef.current?.focus(),
|
|
@@ -50744,9 +50765,9 @@ const SearchBar = reactExports.forwardRef(function SearchBar2({
|
|
|
50744
50765
|
}
|
|
50745
50766
|
}
|
|
50746
50767
|
),
|
|
50747
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ToggleButton, { active: options.caseSensitive, onClick: toggleCase, title: "Match Case", children: /* @__PURE__ */ jsxRuntimeExports.jsx(CaseSensitive, { className: "size-4" }) }),
|
|
50748
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ToggleButton, { active: options.wholeWord, onClick: toggleWholeWord, title: "Match Whole Word", children: /* @__PURE__ */ jsxRuntimeExports.jsx(WholeWord, { className: "size-4" }) }),
|
|
50749
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ToggleButton, { active: options.regex, onClick: toggleRegex, title: "Use Regular Expression", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Regex, { className: "size-4" }) }),
|
|
50768
|
+
showCase && /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleButton, { active: options.caseSensitive, onClick: toggleCase, title: "Match Case", children: /* @__PURE__ */ jsxRuntimeExports.jsx(CaseSensitive, { className: "size-4" }) }),
|
|
50769
|
+
showWholeWord && /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleButton, { active: options.wholeWord, onClick: toggleWholeWord, title: "Match Whole Word", children: /* @__PURE__ */ jsxRuntimeExports.jsx(WholeWord, { className: "size-4" }) }),
|
|
50770
|
+
showRegex && /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleButton, { active: options.regex, onClick: toggleRegex, title: "Use Regular Expression", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Regex, { className: "size-4" }) }),
|
|
50750
50771
|
matchInfo && query && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "shrink-0 text-xs text-muted-foreground tabular-nums", children: matchInfo.total > 0 ? `${matchInfo.current} of ${matchInfo.total}` : "No results" }),
|
|
50751
50772
|
onPrevious && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
50752
50773
|
"button",
|
|
@@ -52776,6 +52797,15 @@ const FileBrowser = reactExports.forwardRef(function FileBrowser2({
|
|
|
52776
52797
|
reactExports.useEffect(() => {
|
|
52777
52798
|
fetchDir("");
|
|
52778
52799
|
}, [fetchDir]);
|
|
52800
|
+
reactExports.useEffect(() => {
|
|
52801
|
+
if (!adapter2.subscribeFileChanges) return;
|
|
52802
|
+
const unsubscribe = adapter2.subscribeFileChanges(workspaceId, (changedPath) => {
|
|
52803
|
+
const cache = getCachedContents(workspaceId);
|
|
52804
|
+
if (!cache.has(changedPath)) return;
|
|
52805
|
+
void fetchDir(changedPath, { force: true });
|
|
52806
|
+
});
|
|
52807
|
+
return unsubscribe;
|
|
52808
|
+
}, [adapter2, workspaceId, fetchDir]);
|
|
52779
52809
|
const prevSelectedRef = reactExports.useRef(void 0);
|
|
52780
52810
|
reactExports.useEffect(() => {
|
|
52781
52811
|
if (!selectedFile || selectedFile === prevSelectedRef.current) {
|
|
@@ -60717,6 +60747,47 @@ class WebDashboardAdapter {
|
|
|
60717
60747
|
}
|
|
60718
60748
|
});
|
|
60719
60749
|
}
|
|
60750
|
+
subscribeFileChanges(workspaceId, handler) {
|
|
60751
|
+
let active = true;
|
|
60752
|
+
let currentSub = null;
|
|
60753
|
+
let reconnectTimer = null;
|
|
60754
|
+
let attempt = 0;
|
|
60755
|
+
const MAX_BACKOFF_MS = 3e4;
|
|
60756
|
+
const handleDisconnect = () => {
|
|
60757
|
+
currentSub = null;
|
|
60758
|
+
if (active && !reconnectTimer) {
|
|
60759
|
+
const delay = Math.min(2 ** attempt * 500, MAX_BACKOFF_MS);
|
|
60760
|
+
attempt += 1;
|
|
60761
|
+
reconnectTimer = setTimeout(() => {
|
|
60762
|
+
reconnectTimer = null;
|
|
60763
|
+
if (active) connect();
|
|
60764
|
+
}, delay);
|
|
60765
|
+
}
|
|
60766
|
+
};
|
|
60767
|
+
const connect = () => {
|
|
60768
|
+
currentSub = this.trpc.workspace.fileChanges.subscribe(
|
|
60769
|
+
{ workspaceId },
|
|
60770
|
+
{
|
|
60771
|
+
onData: (data) => {
|
|
60772
|
+
attempt = 0;
|
|
60773
|
+
handler(data.path);
|
|
60774
|
+
},
|
|
60775
|
+
onStopped: handleDisconnect,
|
|
60776
|
+
onError: handleDisconnect
|
|
60777
|
+
}
|
|
60778
|
+
);
|
|
60779
|
+
};
|
|
60780
|
+
connect();
|
|
60781
|
+
return () => {
|
|
60782
|
+
active = false;
|
|
60783
|
+
if (reconnectTimer) {
|
|
60784
|
+
clearTimeout(reconnectTimer);
|
|
60785
|
+
reconnectTimer = null;
|
|
60786
|
+
}
|
|
60787
|
+
currentSub?.unsubscribe();
|
|
60788
|
+
currentSub = null;
|
|
60789
|
+
};
|
|
60790
|
+
}
|
|
60720
60791
|
async checkHooks() {
|
|
60721
60792
|
return await this.trpc.hooks.check.query();
|
|
60722
60793
|
}
|
|
@@ -60946,11 +61017,14 @@ class NativeShellCapabilities {
|
|
|
60946
61017
|
}
|
|
60947
61018
|
}
|
|
60948
61019
|
const isDesktop = typeof window !== "undefined" && "__BAND_DESKTOP__" in window;
|
|
60949
|
-
function
|
|
61020
|
+
function getElectronBridge() {
|
|
60950
61021
|
if (!isDesktop) return null;
|
|
60951
61022
|
const bridge = window.__BAND_DESKTOP__;
|
|
60952
61023
|
return bridge ?? null;
|
|
60953
61024
|
}
|
|
61025
|
+
function electronBridge() {
|
|
61026
|
+
return getElectronBridge();
|
|
61027
|
+
}
|
|
60954
61028
|
async function invoke(cmd2, args) {
|
|
60955
61029
|
const bridge = electronBridge();
|
|
60956
61030
|
if (bridge) {
|
|
@@ -61397,10 +61471,10 @@ function parseWorkspaceFromPath(pathname) {
|
|
|
61397
61471
|
return match ? decodeURIComponent(match[1]) : null;
|
|
61398
61472
|
}
|
|
61399
61473
|
const state$1 = /* @__PURE__ */ new Map();
|
|
61400
|
-
const listeners = /* @__PURE__ */ new Map();
|
|
61474
|
+
const listeners$1 = /* @__PURE__ */ new Map();
|
|
61401
61475
|
const DEFAULT = { wsActive: true };
|
|
61402
61476
|
function notify(workspaceId) {
|
|
61403
|
-
const set2 = listeners.get(workspaceId);
|
|
61477
|
+
const set2 = listeners$1.get(workspaceId);
|
|
61404
61478
|
if (set2) {
|
|
61405
61479
|
for (const cb of set2) cb();
|
|
61406
61480
|
}
|
|
@@ -61414,20 +61488,20 @@ function setWsActive(workspaceId, wsActive) {
|
|
|
61414
61488
|
function getWsActive(workspaceId) {
|
|
61415
61489
|
return state$1.get(workspaceId)?.wsActive ?? DEFAULT.wsActive;
|
|
61416
61490
|
}
|
|
61417
|
-
function subscribe$
|
|
61418
|
-
let set2 = listeners.get(workspaceId);
|
|
61491
|
+
function subscribe$2(workspaceId, cb) {
|
|
61492
|
+
let set2 = listeners$1.get(workspaceId);
|
|
61419
61493
|
if (!set2) {
|
|
61420
61494
|
set2 = /* @__PURE__ */ new Set();
|
|
61421
|
-
listeners.set(workspaceId, set2);
|
|
61495
|
+
listeners$1.set(workspaceId, set2);
|
|
61422
61496
|
}
|
|
61423
61497
|
set2.add(cb);
|
|
61424
61498
|
return () => {
|
|
61425
61499
|
set2.delete(cb);
|
|
61426
|
-
if (set2.size === 0) listeners.delete(workspaceId);
|
|
61500
|
+
if (set2.size === 0) listeners$1.delete(workspaceId);
|
|
61427
61501
|
};
|
|
61428
61502
|
}
|
|
61429
61503
|
function useWsActive(workspaceId) {
|
|
61430
|
-
const sub2 = reactExports.useCallback((cb) => subscribe$
|
|
61504
|
+
const sub2 = reactExports.useCallback((cb) => subscribe$2(workspaceId, cb), [workspaceId]);
|
|
61431
61505
|
const snap = reactExports.useCallback(() => getWsActive(workspaceId), [workspaceId]);
|
|
61432
61506
|
return reactExports.useSyncExternalStore(sub2, snap);
|
|
61433
61507
|
}
|
|
@@ -116014,7 +116088,7 @@ const invert = (color2, weight = 100) => {
|
|
|
116014
116088
|
const {
|
|
116015
116089
|
entries,
|
|
116016
116090
|
setPrototypeOf,
|
|
116017
|
-
isFrozen,
|
|
116091
|
+
isFrozen: isFrozen$1,
|
|
116018
116092
|
getPrototypeOf,
|
|
116019
116093
|
getOwnPropertyDescriptor
|
|
116020
116094
|
} = Object;
|
|
@@ -116097,7 +116171,7 @@ function addToSet(set2, array2) {
|
|
|
116097
116171
|
if (typeof element2 === "string") {
|
|
116098
116172
|
const lcElement = transformCaseFunc(element2);
|
|
116099
116173
|
if (lcElement !== element2) {
|
|
116100
|
-
if (!isFrozen(array2)) {
|
|
116174
|
+
if (!isFrozen$1(array2)) {
|
|
116101
116175
|
array2[l4] = lcElement;
|
|
116102
116176
|
}
|
|
116103
116177
|
element2 = lcElement;
|
|
@@ -136184,12 +136258,12 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
|
|
|
136184
136258
|
registerLayoutLoaders([
|
|
136185
136259
|
{
|
|
136186
136260
|
name: "dagre",
|
|
136187
|
-
loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-
|
|
136261
|
+
loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-BFEXHp44.js"), "loader")
|
|
136188
136262
|
},
|
|
136189
136263
|
...[
|
|
136190
136264
|
{
|
|
136191
136265
|
name: "cose-bilkent",
|
|
136192
|
-
loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-
|
|
136266
|
+
loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-I5bimXZO.js"), "loader")
|
|
136193
136267
|
}
|
|
136194
136268
|
]
|
|
136195
136269
|
]);
|
|
@@ -136628,7 +136702,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
|
|
|
136628
136702
|
return /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(txt);
|
|
136629
136703
|
}, "detector");
|
|
136630
136704
|
var loader = /* @__PURE__ */ __name(async () => {
|
|
136631
|
-
const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-
|
|
136705
|
+
const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-BRcTuK4Y.js");
|
|
136632
136706
|
return { id, diagram: diagram2 };
|
|
136633
136707
|
}, "loader");
|
|
136634
136708
|
var plugin = {
|
|
@@ -136645,7 +136719,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136645
136719
|
return /^\s*graph/.test(txt);
|
|
136646
136720
|
}, "detector");
|
|
136647
136721
|
var loader2 = /* @__PURE__ */ __name(async () => {
|
|
136648
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
136722
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-B0GxfKRu.js");
|
|
136649
136723
|
return { id: id2, diagram: diagram2 };
|
|
136650
136724
|
}, "loader");
|
|
136651
136725
|
var plugin2 = {
|
|
@@ -136668,7 +136742,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136668
136742
|
return /^\s*flowchart/.test(txt);
|
|
136669
136743
|
}, "detector");
|
|
136670
136744
|
var loader3 = /* @__PURE__ */ __name(async () => {
|
|
136671
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
136745
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-B0GxfKRu.js");
|
|
136672
136746
|
return { id: id3, diagram: diagram2 };
|
|
136673
136747
|
}, "loader");
|
|
136674
136748
|
var plugin3 = {
|
|
@@ -136682,7 +136756,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
|
|
|
136682
136756
|
return /^\s*erDiagram/.test(txt);
|
|
136683
136757
|
}, "detector");
|
|
136684
136758
|
var loader4 = /* @__PURE__ */ __name(async () => {
|
|
136685
|
-
const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-
|
|
136759
|
+
const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-eEKIOvT3.js");
|
|
136686
136760
|
return { id: id4, diagram: diagram2 };
|
|
136687
136761
|
}, "loader");
|
|
136688
136762
|
var plugin4 = {
|
|
@@ -136696,7 +136770,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
|
|
|
136696
136770
|
return /^\s*gitGraph/.test(txt);
|
|
136697
136771
|
}, "detector");
|
|
136698
136772
|
var loader5 = /* @__PURE__ */ __name(async () => {
|
|
136699
|
-
const { diagram: diagram2 } = await import("./gitGraphDiagram-V2S2FVAM-
|
|
136773
|
+
const { diagram: diagram2 } = await import("./gitGraphDiagram-V2S2FVAM-BZuXPjR3.js");
|
|
136700
136774
|
return { id: id5, diagram: diagram2 };
|
|
136701
136775
|
}, "loader");
|
|
136702
136776
|
var plugin5 = {
|
|
@@ -136710,7 +136784,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
136710
136784
|
return /^\s*gantt/.test(txt);
|
|
136711
136785
|
}, "detector");
|
|
136712
136786
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
136713
|
-
const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-
|
|
136787
|
+
const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-etJ_j_I0.js");
|
|
136714
136788
|
return { id: id6, diagram: diagram2 };
|
|
136715
136789
|
}, "loader");
|
|
136716
136790
|
var plugin6 = {
|
|
@@ -136724,7 +136798,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
136724
136798
|
return /^\s*info/.test(txt);
|
|
136725
136799
|
}, "detector");
|
|
136726
136800
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
136727
|
-
const { diagram: diagram2 } = await import("./infoDiagram-HS3SLOUP-
|
|
136801
|
+
const { diagram: diagram2 } = await import("./infoDiagram-HS3SLOUP-DUDXdFYe.js");
|
|
136728
136802
|
return { id: id7, diagram: diagram2 };
|
|
136729
136803
|
}, "loader");
|
|
136730
136804
|
var info = {
|
|
@@ -136737,7 +136811,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
|
|
|
136737
136811
|
return /^\s*pie/.test(txt);
|
|
136738
136812
|
}, "detector");
|
|
136739
136813
|
var loader8 = /* @__PURE__ */ __name(async () => {
|
|
136740
|
-
const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-
|
|
136814
|
+
const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-BSx8zl8i.js");
|
|
136741
136815
|
return { id: id8, diagram: diagram2 };
|
|
136742
136816
|
}, "loader");
|
|
136743
136817
|
var pie = {
|
|
@@ -136750,7 +136824,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
|
|
|
136750
136824
|
return /^\s*quadrantChart/.test(txt);
|
|
136751
136825
|
}, "detector");
|
|
136752
136826
|
var loader9 = /* @__PURE__ */ __name(async () => {
|
|
136753
|
-
const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-
|
|
136827
|
+
const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-B08pRdHD.js");
|
|
136754
136828
|
return { id: id9, diagram: diagram2 };
|
|
136755
136829
|
}, "loader");
|
|
136756
136830
|
var plugin7 = {
|
|
@@ -136764,7 +136838,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
|
|
|
136764
136838
|
return /^\s*xychart(-beta)?/.test(txt);
|
|
136765
136839
|
}, "detector");
|
|
136766
136840
|
var loader10 = /* @__PURE__ */ __name(async () => {
|
|
136767
|
-
const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-
|
|
136841
|
+
const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-DAT7FXvH.js");
|
|
136768
136842
|
return { id: id10, diagram: diagram2 };
|
|
136769
136843
|
}, "loader");
|
|
136770
136844
|
var plugin8 = {
|
|
@@ -136778,7 +136852,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
|
|
|
136778
136852
|
return /^\s*requirement(Diagram)?/.test(txt);
|
|
136779
136853
|
}, "detector");
|
|
136780
136854
|
var loader11 = /* @__PURE__ */ __name(async () => {
|
|
136781
|
-
const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-
|
|
136855
|
+
const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-BtjVtNFU.js");
|
|
136782
136856
|
return { id: id11, diagram: diagram2 };
|
|
136783
136857
|
}, "loader");
|
|
136784
136858
|
var plugin9 = {
|
|
@@ -136792,7 +136866,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
|
|
|
136792
136866
|
return /^\s*sequenceDiagram/.test(txt);
|
|
136793
136867
|
}, "detector");
|
|
136794
136868
|
var loader12 = /* @__PURE__ */ __name(async () => {
|
|
136795
|
-
const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-
|
|
136869
|
+
const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-DEfVJQli.js");
|
|
136796
136870
|
return { id: id12, diagram: diagram2 };
|
|
136797
136871
|
}, "loader");
|
|
136798
136872
|
var plugin10 = {
|
|
@@ -136809,7 +136883,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136809
136883
|
return /^\s*classDiagram/.test(txt);
|
|
136810
136884
|
}, "detector");
|
|
136811
136885
|
var loader13 = /* @__PURE__ */ __name(async () => {
|
|
136812
|
-
const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-
|
|
136886
|
+
const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-D_KqC8CP.js");
|
|
136813
136887
|
return { id: id13, diagram: diagram2 };
|
|
136814
136888
|
}, "loader");
|
|
136815
136889
|
var plugin11 = {
|
|
@@ -136826,7 +136900,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136826
136900
|
return /^\s*classDiagram-v2/.test(txt);
|
|
136827
136901
|
}, "detector");
|
|
136828
136902
|
var loader14 = /* @__PURE__ */ __name(async () => {
|
|
136829
|
-
const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-
|
|
136903
|
+
const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-D_KqC8CP.js");
|
|
136830
136904
|
return { id: id14, diagram: diagram2 };
|
|
136831
136905
|
}, "loader");
|
|
136832
136906
|
var plugin12 = {
|
|
@@ -136843,7 +136917,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136843
136917
|
return /^\s*stateDiagram/.test(txt);
|
|
136844
136918
|
}, "detector");
|
|
136845
136919
|
var loader15 = /* @__PURE__ */ __name(async () => {
|
|
136846
|
-
const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-
|
|
136920
|
+
const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-DblYyAIC.js");
|
|
136847
136921
|
return { id: id15, diagram: diagram2 };
|
|
136848
136922
|
}, "loader");
|
|
136849
136923
|
var plugin13 = {
|
|
@@ -136863,7 +136937,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136863
136937
|
return false;
|
|
136864
136938
|
}, "detector");
|
|
136865
136939
|
var loader16 = /* @__PURE__ */ __name(async () => {
|
|
136866
|
-
const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-
|
|
136940
|
+
const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-YhMCeOsH.js");
|
|
136867
136941
|
return { id: id16, diagram: diagram2 };
|
|
136868
136942
|
}, "loader");
|
|
136869
136943
|
var plugin14 = {
|
|
@@ -136877,7 +136951,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
|
|
|
136877
136951
|
return /^\s*journey/.test(txt);
|
|
136878
136952
|
}, "detector");
|
|
136879
136953
|
var loader17 = /* @__PURE__ */ __name(async () => {
|
|
136880
|
-
const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-
|
|
136954
|
+
const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-BnEH3kK2.js");
|
|
136881
136955
|
return { id: id17, diagram: diagram2 };
|
|
136882
136956
|
}, "loader");
|
|
136883
136957
|
var plugin15 = {
|
|
@@ -136944,7 +137018,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
|
|
|
136944
137018
|
return false;
|
|
136945
137019
|
}, "detector");
|
|
136946
137020
|
var loader18 = /* @__PURE__ */ __name(async () => {
|
|
136947
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
137021
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-B0GxfKRu.js");
|
|
136948
137022
|
return { id: id18, diagram: diagram2 };
|
|
136949
137023
|
}, "loader");
|
|
136950
137024
|
var plugin16 = {
|
|
@@ -136958,7 +137032,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
|
|
|
136958
137032
|
return /^\s*timeline/.test(txt);
|
|
136959
137033
|
}, "detector");
|
|
136960
137034
|
var loader19 = /* @__PURE__ */ __name(async () => {
|
|
136961
|
-
const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-
|
|
137035
|
+
const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-CDEJSclA.js");
|
|
136962
137036
|
return { id: id19, diagram: diagram2 };
|
|
136963
137037
|
}, "loader");
|
|
136964
137038
|
var plugin17 = {
|
|
@@ -136972,7 +137046,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
|
|
|
136972
137046
|
return /^\s*mindmap/.test(txt);
|
|
136973
137047
|
}, "detector");
|
|
136974
137048
|
var loader20 = /* @__PURE__ */ __name(async () => {
|
|
136975
|
-
const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-
|
|
137049
|
+
const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-CPnGCXl9.js");
|
|
136976
137050
|
return { id: id20, diagram: diagram2 };
|
|
136977
137051
|
}, "loader");
|
|
136978
137052
|
var plugin18 = {
|
|
@@ -136986,7 +137060,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
|
|
|
136986
137060
|
return /^\s*kanban/.test(txt);
|
|
136987
137061
|
}, "detector");
|
|
136988
137062
|
var loader21 = /* @__PURE__ */ __name(async () => {
|
|
136989
|
-
const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-
|
|
137063
|
+
const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-BPnM08KT.js");
|
|
136990
137064
|
return { id: id21, diagram: diagram2 };
|
|
136991
137065
|
}, "loader");
|
|
136992
137066
|
var plugin19 = {
|
|
@@ -137000,7 +137074,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
|
|
|
137000
137074
|
return /^\s*sankey(-beta)?/.test(txt);
|
|
137001
137075
|
}, "detector");
|
|
137002
137076
|
var loader22 = /* @__PURE__ */ __name(async () => {
|
|
137003
|
-
const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-
|
|
137077
|
+
const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-CG6DECc6.js");
|
|
137004
137078
|
return { id: id22, diagram: diagram2 };
|
|
137005
137079
|
}, "loader");
|
|
137006
137080
|
var plugin20 = {
|
|
@@ -137014,7 +137088,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
|
|
|
137014
137088
|
return /^\s*packet(-beta)?/.test(txt);
|
|
137015
137089
|
}, "detector");
|
|
137016
137090
|
var loader23 = /* @__PURE__ */ __name(async () => {
|
|
137017
|
-
const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-
|
|
137091
|
+
const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-DUV65VxH.js");
|
|
137018
137092
|
return { id: id23, diagram: diagram2 };
|
|
137019
137093
|
}, "loader");
|
|
137020
137094
|
var packet = {
|
|
@@ -137027,7 +137101,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
|
|
|
137027
137101
|
return /^\s*radar-beta/.test(txt);
|
|
137028
137102
|
}, "detector");
|
|
137029
137103
|
var loader24 = /* @__PURE__ */ __name(async () => {
|
|
137030
|
-
const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-
|
|
137104
|
+
const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-B65vkBbU.js");
|
|
137031
137105
|
return { id: id24, diagram: diagram2 };
|
|
137032
137106
|
}, "loader");
|
|
137033
137107
|
var radar = {
|
|
@@ -137040,7 +137114,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
|
|
|
137040
137114
|
return /^\s*block(-beta)?/.test(txt);
|
|
137041
137115
|
}, "detector");
|
|
137042
137116
|
var loader25 = /* @__PURE__ */ __name(async () => {
|
|
137043
|
-
const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-
|
|
137117
|
+
const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-oFwYjSKc.js");
|
|
137044
137118
|
return { id: id25, diagram: diagram2 };
|
|
137045
137119
|
}, "loader");
|
|
137046
137120
|
var plugin21 = {
|
|
@@ -137054,7 +137128,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
|
|
|
137054
137128
|
return /^\s*architecture/.test(txt);
|
|
137055
137129
|
}, "detector");
|
|
137056
137130
|
var loader26 = /* @__PURE__ */ __name(async () => {
|
|
137057
|
-
const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-
|
|
137131
|
+
const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-CYVR-HeO.js");
|
|
137058
137132
|
return { id: id26, diagram: diagram2 };
|
|
137059
137133
|
}, "loader");
|
|
137060
137134
|
var architecture = {
|
|
@@ -137068,7 +137142,7 @@ var detector27 = /* @__PURE__ */ __name((txt) => {
|
|
|
137068
137142
|
return /^\s*treemap/.test(txt);
|
|
137069
137143
|
}, "detector");
|
|
137070
137144
|
var loader27 = /* @__PURE__ */ __name(async () => {
|
|
137071
|
-
const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-
|
|
137145
|
+
const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-B4UG8ra3.js");
|
|
137072
137146
|
return { id: id27, diagram: diagram2 };
|
|
137073
137147
|
}, "loader");
|
|
137074
137148
|
var treemap = {
|
|
@@ -154781,7 +154855,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
|
|
|
154781
154855
|
var et2 = ({ className: e2, language: t2, style: o3, isIncomplete: n2, ...s2 }) => jsxRuntimeExports.jsx("div", { className: f("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2", e2), "data-incomplete": n2 || void 0, "data-language": t2, "data-streamdown": "code-block", style: { contentVisibility: "auto", containIntrinsicSize: "auto 200px", ...o3 }, ...s2 });
|
|
154782
154856
|
var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
|
|
154783
154857
|
var ot2 = ({ language: e2 }) => jsxRuntimeExports.jsx("div", { className: "flex h-8 items-center text-muted-foreground text-xs", "data-language": e2, "data-streamdown": "code-block-header", children: jsxRuntimeExports.jsx("span", { className: "ml-1 font-mono lowercase", children: e2 }) });
|
|
154784
|
-
var cn = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-
|
|
154858
|
+
var cn = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-CGZmJ48I.js").then((e2) => ({ default: e2.HighlightedCodeBlockBody }))), rt = ({ code: e2, language: t2, className: o3, children: n2, isIncomplete: s2 = false, ...r2 }) => {
|
|
154785
154859
|
let i2 = reactExports.useMemo(() => e2.replace(cn, ""), [e2]), c2 = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i2.split(`
|
|
154786
154860
|
`).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i2]);
|
|
154787
154861
|
return jsxRuntimeExports.jsx(Se.Provider, { value: { code: e2 }, children: jsxRuntimeExports.jsxs(et2, { isIncomplete: s2, language: t2, children: [jsxRuntimeExports.jsx(ot2, { language: t2 }), n2 ? jsxRuntimeExports.jsx("div", { className: "pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end", children: jsxRuntimeExports.jsx("div", { className: "pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur", "data-streamdown": "code-block-actions", children: n2 }) }) : null, jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(Qe, { className: o3, language: t2, result: c2, ...r2 }), children: jsxRuntimeExports.jsx(dn, { className: o3, code: i2, language: t2, raw: c2, ...r2 }) })] }) });
|
|
@@ -155103,7 +155177,7 @@ var Dt = ({ children: e2, className: t2, onDownload: o3, onError: n2 }) => {
|
|
|
155103
155177
|
}, []), jsxRuntimeExports.jsxs("div", { className: "relative", ref: i2, children: [jsxRuntimeExports.jsx("button", { className: f("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50", t2), disabled: c2, onClick: () => r2(!s2), title: "Download table", type: "button", children: e2 != null ? e2 : jsxRuntimeExports.jsx(Z, { size: 14 }) }), s2 ? jsxRuntimeExports.jsxs("div", { className: "absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg", children: [jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("csv"), title: "Download table as CSV", type: "button", children: "CSV" }), jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("markdown"), title: "Download table as Markdown", type: "button", children: "Markdown" })] }) : null] });
|
|
155104
155178
|
};
|
|
155105
155179
|
var Vt = ({ children: e2, className: t2, showControls: o3, ...n2 }) => jsxRuntimeExports.jsxs("div", { className: "my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2", "data-streamdown": "table-wrapper", children: [o3 ? jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-end gap-1", children: [jsxRuntimeExports.jsx(Ht, {}), jsxRuntimeExports.jsx(Dt, {})] }) : null, jsxRuntimeExports.jsx("div", { className: "border-collapse overflow-x-auto overscroll-y-auto rounded-md border border-border bg-background", children: jsxRuntimeExports.jsx("table", { className: f("w-full divide-y divide-border", t2), "data-streamdown": "table", ...n2, children: e2 }) })] });
|
|
155106
|
-
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-
|
|
155180
|
+
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-Dyndt6u2.js").then((e2) => ({ default: e2.Mermaid }))), Kn = /language-([^\s]+)/;
|
|
155107
155181
|
function ke(e2, t2) {
|
|
155108
155182
|
if (!(e2 != null && e2.position || t2 != null && t2.position)) return true;
|
|
155109
155183
|
if (!(e2 != null && e2.position && (t2 != null && t2.position))) return false;
|
|
@@ -155783,19 +155857,19 @@ function useFileTabs(workspaceId) {
|
|
|
155783
155857
|
};
|
|
155784
155858
|
}
|
|
155785
155859
|
const DESKTOP_QUERY = "(min-width: 1024px)";
|
|
155786
|
-
function subscribe(cb) {
|
|
155860
|
+
function subscribe$1(cb) {
|
|
155787
155861
|
const mql = window.matchMedia(DESKTOP_QUERY);
|
|
155788
155862
|
mql.addEventListener("change", cb);
|
|
155789
155863
|
return () => mql.removeEventListener("change", cb);
|
|
155790
155864
|
}
|
|
155791
|
-
function getSnapshot() {
|
|
155865
|
+
function getSnapshot$1() {
|
|
155792
155866
|
return window.matchMedia(DESKTOP_QUERY).matches;
|
|
155793
155867
|
}
|
|
155794
155868
|
function getServerSnapshot() {
|
|
155795
155869
|
return false;
|
|
155796
155870
|
}
|
|
155797
155871
|
function useIsDesktop() {
|
|
155798
|
-
return reactExports.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
155872
|
+
return reactExports.useSyncExternalStore(subscribe$1, getSnapshot$1, getServerSnapshot);
|
|
155799
155873
|
}
|
|
155800
155874
|
function storageKey(workspaceId) {
|
|
155801
155875
|
return `band-tab-state:${workspaceId}`;
|
|
@@ -157164,6 +157238,709 @@ function CodeBrowserView({
|
|
|
157164
157238
|
) })
|
|
157165
157239
|
);
|
|
157166
157240
|
}
|
|
157241
|
+
function injectInitialUrls(layout, urls) {
|
|
157242
|
+
if (!urls || urls.size === 0) return layout;
|
|
157243
|
+
if (typeof layout !== "object" || layout === null) return layout;
|
|
157244
|
+
const panels = layout.panels;
|
|
157245
|
+
if (typeof panels !== "object" || panels === null) return layout;
|
|
157246
|
+
let changed = false;
|
|
157247
|
+
const nextPanels = {};
|
|
157248
|
+
for (const [id28, panel] of Object.entries(panels)) {
|
|
157249
|
+
const url = urls.get(id28);
|
|
157250
|
+
if (url && typeof panel === "object" && panel !== null && typeof panel.params === "object" && panel.params !== null) {
|
|
157251
|
+
const params = panel.params;
|
|
157252
|
+
if (!params.initialUrl) {
|
|
157253
|
+
nextPanels[id28] = { ...panel, params: { ...params, initialUrl: url } };
|
|
157254
|
+
changed = true;
|
|
157255
|
+
continue;
|
|
157256
|
+
}
|
|
157257
|
+
}
|
|
157258
|
+
nextPanels[id28] = panel;
|
|
157259
|
+
}
|
|
157260
|
+
if (!changed) return layout;
|
|
157261
|
+
return { ...layout, panels: nextPanels };
|
|
157262
|
+
}
|
|
157263
|
+
let domOverlayCount = 0;
|
|
157264
|
+
let manualHoldCount = 0;
|
|
157265
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
157266
|
+
let lastEmitted = false;
|
|
157267
|
+
function isFrozen() {
|
|
157268
|
+
return domOverlayCount + manualHoldCount > 0;
|
|
157269
|
+
}
|
|
157270
|
+
function emitIfChanged() {
|
|
157271
|
+
const next2 = isFrozen();
|
|
157272
|
+
if (next2 === lastEmitted) return;
|
|
157273
|
+
lastEmitted = next2;
|
|
157274
|
+
for (const l4 of listeners) l4();
|
|
157275
|
+
}
|
|
157276
|
+
function subscribe(l4) {
|
|
157277
|
+
listeners.add(l4);
|
|
157278
|
+
return () => {
|
|
157279
|
+
listeners.delete(l4);
|
|
157280
|
+
};
|
|
157281
|
+
}
|
|
157282
|
+
function getSnapshot() {
|
|
157283
|
+
return lastEmitted;
|
|
157284
|
+
}
|
|
157285
|
+
function useBrowserPaneFrozen() {
|
|
157286
|
+
return reactExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
157287
|
+
}
|
|
157288
|
+
function acquireFreezeHold() {
|
|
157289
|
+
manualHoldCount += 1;
|
|
157290
|
+
emitIfChanged();
|
|
157291
|
+
let released = false;
|
|
157292
|
+
return () => {
|
|
157293
|
+
if (released) return;
|
|
157294
|
+
released = true;
|
|
157295
|
+
manualHoldCount = Math.max(0, manualHoldCount - 1);
|
|
157296
|
+
emitIfChanged();
|
|
157297
|
+
};
|
|
157298
|
+
}
|
|
157299
|
+
function useFreezeWhile(open2) {
|
|
157300
|
+
reactExports.useEffect(() => {
|
|
157301
|
+
if (!open2) return;
|
|
157302
|
+
return acquireFreezeHold();
|
|
157303
|
+
}, [open2]);
|
|
157304
|
+
}
|
|
157305
|
+
const DEFAULT_OPTIONS = {
|
|
157306
|
+
caseSensitive: false,
|
|
157307
|
+
wholeWord: false,
|
|
157308
|
+
regex: false
|
|
157309
|
+
};
|
|
157310
|
+
function useBrowserFindInPage({
|
|
157311
|
+
key: key2,
|
|
157312
|
+
keyName: keyName2
|
|
157313
|
+
}) {
|
|
157314
|
+
const [isOpen, setIsOpen] = reactExports.useState(false);
|
|
157315
|
+
const [query, setQuery] = reactExports.useState("");
|
|
157316
|
+
const [options, setOptions] = reactExports.useState(DEFAULT_OPTIONS);
|
|
157317
|
+
const [matchInfo, setMatchInfo] = reactExports.useState(null);
|
|
157318
|
+
const searchBarRef = reactExports.useRef(null);
|
|
157319
|
+
const keyRef = reactExports.useRef(key2);
|
|
157320
|
+
keyRef.current = key2;
|
|
157321
|
+
const activeRequestIdRef = reactExports.useRef(null);
|
|
157322
|
+
const payloadKey = reactExports.useCallback(
|
|
157323
|
+
(payload) => keyName2 === "browserId" ? payload.browser_id : payload.workspace_id,
|
|
157324
|
+
[keyName2]
|
|
157325
|
+
);
|
|
157326
|
+
const buildArgs = reactExports.useCallback(
|
|
157327
|
+
(extra = {}) => ({ [keyName2]: keyRef.current, ...extra }),
|
|
157328
|
+
[keyName2]
|
|
157329
|
+
);
|
|
157330
|
+
const focusInput = reactExports.useCallback(() => {
|
|
157331
|
+
requestAnimationFrame(() => {
|
|
157332
|
+
searchBarRef.current?.focus();
|
|
157333
|
+
searchBarRef.current?.select();
|
|
157334
|
+
});
|
|
157335
|
+
}, []);
|
|
157336
|
+
const issueFind = reactExports.useCallback(
|
|
157337
|
+
async (text2, opts = {}) => {
|
|
157338
|
+
if (!isDesktop) return;
|
|
157339
|
+
if (!text2) {
|
|
157340
|
+
setMatchInfo(null);
|
|
157341
|
+
activeRequestIdRef.current = null;
|
|
157342
|
+
try {
|
|
157343
|
+
await invoke("browser_stop_find_in_page", buildArgs({ action: "clearSelection" }));
|
|
157344
|
+
} catch {
|
|
157345
|
+
}
|
|
157346
|
+
return;
|
|
157347
|
+
}
|
|
157348
|
+
if (!(opts.findNext ?? false)) {
|
|
157349
|
+
setMatchInfo(null);
|
|
157350
|
+
activeRequestIdRef.current = null;
|
|
157351
|
+
}
|
|
157352
|
+
try {
|
|
157353
|
+
const reqId = await invoke(
|
|
157354
|
+
"browser_find_in_page",
|
|
157355
|
+
buildArgs({
|
|
157356
|
+
text: text2,
|
|
157357
|
+
options: {
|
|
157358
|
+
matchCase: options.caseSensitive,
|
|
157359
|
+
// First search for a query → omit findNext so Chromium
|
|
157360
|
+
// rescans. Stepping → set findNext: true and toggle forward.
|
|
157361
|
+
findNext: opts.findNext ?? false,
|
|
157362
|
+
forward: opts.forward ?? true
|
|
157363
|
+
}
|
|
157364
|
+
})
|
|
157365
|
+
);
|
|
157366
|
+
if (typeof reqId === "number") activeRequestIdRef.current = reqId;
|
|
157367
|
+
} catch (e2) {
|
|
157368
|
+
console.error("browser_find_in_page failed:", e2);
|
|
157369
|
+
}
|
|
157370
|
+
},
|
|
157371
|
+
[buildArgs, options.caseSensitive]
|
|
157372
|
+
);
|
|
157373
|
+
const close2 = reactExports.useCallback(() => {
|
|
157374
|
+
setIsOpen(false);
|
|
157375
|
+
setQuery("");
|
|
157376
|
+
setMatchInfo(null);
|
|
157377
|
+
activeRequestIdRef.current = null;
|
|
157378
|
+
if (!isDesktop) return;
|
|
157379
|
+
invoke("browser_stop_find_in_page", buildArgs({ action: "clearSelection" })).catch(
|
|
157380
|
+
() => {
|
|
157381
|
+
}
|
|
157382
|
+
);
|
|
157383
|
+
}, [buildArgs]);
|
|
157384
|
+
const open2 = reactExports.useCallback(() => {
|
|
157385
|
+
setIsOpen(true);
|
|
157386
|
+
focusInput();
|
|
157387
|
+
}, [focusInput]);
|
|
157388
|
+
reactExports.useEffect(() => {
|
|
157389
|
+
if (!isOpen) return;
|
|
157390
|
+
void issueFind(query);
|
|
157391
|
+
}, [query, isOpen, issueFind]);
|
|
157392
|
+
reactExports.useEffect(() => {
|
|
157393
|
+
if (!isDesktop) return;
|
|
157394
|
+
let unlisten;
|
|
157395
|
+
void (async () => {
|
|
157396
|
+
unlisten = await listen("browser-found-in-page", (event) => {
|
|
157397
|
+
if (payloadKey(event.payload) !== keyRef.current) return;
|
|
157398
|
+
if (activeRequestIdRef.current !== null && event.payload.request_id !== activeRequestIdRef.current) {
|
|
157399
|
+
return;
|
|
157400
|
+
}
|
|
157401
|
+
setMatchInfo({
|
|
157402
|
+
total: event.payload.matches,
|
|
157403
|
+
// Chromium reports `0` while a query is being typed and the
|
|
157404
|
+
// scan is mid-flight; promote to 0 of N so the UI shows
|
|
157405
|
+
// "No results" until a match is selected.
|
|
157406
|
+
current: event.payload.active_match_ordinal
|
|
157407
|
+
});
|
|
157408
|
+
});
|
|
157409
|
+
})();
|
|
157410
|
+
return () => unlisten?.();
|
|
157411
|
+
}, [payloadKey]);
|
|
157412
|
+
reactExports.useEffect(() => {
|
|
157413
|
+
if (!isDesktop) return;
|
|
157414
|
+
let unlisten;
|
|
157415
|
+
void (async () => {
|
|
157416
|
+
unlisten = await listen("browser-find-shortcut", (event) => {
|
|
157417
|
+
if (payloadKey(event.payload) !== keyRef.current) return;
|
|
157418
|
+
setIsOpen(true);
|
|
157419
|
+
focusInput();
|
|
157420
|
+
});
|
|
157421
|
+
})();
|
|
157422
|
+
return () => unlisten?.();
|
|
157423
|
+
}, [focusInput, payloadKey]);
|
|
157424
|
+
reactExports.useEffect(() => {
|
|
157425
|
+
if (!isDesktop) return;
|
|
157426
|
+
let unlisten;
|
|
157427
|
+
void (async () => {
|
|
157428
|
+
unlisten = await listen("browser-url-changed", (event) => {
|
|
157429
|
+
if (payloadKey(event.payload) !== keyRef.current) return;
|
|
157430
|
+
if (event.payload.loading) {
|
|
157431
|
+
close2();
|
|
157432
|
+
}
|
|
157433
|
+
});
|
|
157434
|
+
})();
|
|
157435
|
+
return () => unlisten?.();
|
|
157436
|
+
}, [close2, payloadKey]);
|
|
157437
|
+
const findNext = reactExports.useCallback(() => {
|
|
157438
|
+
if (!query) return;
|
|
157439
|
+
void issueFind(query, { findNext: true, forward: true });
|
|
157440
|
+
}, [query, issueFind]);
|
|
157441
|
+
const findPrevious = reactExports.useCallback(() => {
|
|
157442
|
+
if (!query) return;
|
|
157443
|
+
void issueFind(query, { findNext: true, forward: false });
|
|
157444
|
+
}, [query, issueFind]);
|
|
157445
|
+
return {
|
|
157446
|
+
isOpen,
|
|
157447
|
+
open: open2,
|
|
157448
|
+
close: close2,
|
|
157449
|
+
query,
|
|
157450
|
+
setQuery,
|
|
157451
|
+
options,
|
|
157452
|
+
setOptions,
|
|
157453
|
+
matchInfo,
|
|
157454
|
+
findNext,
|
|
157455
|
+
findPrevious,
|
|
157456
|
+
searchBarRef
|
|
157457
|
+
};
|
|
157458
|
+
}
|
|
157459
|
+
const AUTOCOMPLETE_DEBOUNCE_MS = 50;
|
|
157460
|
+
const AUTOCOMPLETE_BLUR_CLOSE_MS = 100;
|
|
157461
|
+
function useBrowserPaneControls(args) {
|
|
157462
|
+
const { key: key2, keyName: keyName2, workspaceId, currentUrlRef, setInputUrl, inputUrl, onNavigate } = args;
|
|
157463
|
+
const find2 = useBrowserFindInPage({ key: key2, keyName: keyName2 });
|
|
157464
|
+
const addressInputFocusedRef = reactExports.useRef(false);
|
|
157465
|
+
const [autocompleteItems, setAutocompleteItems] = reactExports.useState([]);
|
|
157466
|
+
const [autocompleteIsOpen, setAutocompleteIsOpen] = reactExports.useState(false);
|
|
157467
|
+
const [autocompleteSelectedIndex, setAutocompleteSelectedIndex] = reactExports.useState(0);
|
|
157468
|
+
useFreezeWhile(autocompleteIsOpen);
|
|
157469
|
+
const closeAutocomplete = reactExports.useCallback(() => {
|
|
157470
|
+
setAutocompleteIsOpen(false);
|
|
157471
|
+
setAutocompleteItems([]);
|
|
157472
|
+
setAutocompleteSelectedIndex(0);
|
|
157473
|
+
}, []);
|
|
157474
|
+
reactExports.useEffect(() => {
|
|
157475
|
+
if (!addressInputFocusedRef.current) return;
|
|
157476
|
+
const trimmed = inputUrl.trim();
|
|
157477
|
+
if (trimmed === "") {
|
|
157478
|
+
closeAutocomplete();
|
|
157479
|
+
return;
|
|
157480
|
+
}
|
|
157481
|
+
if (trimmed === currentUrlRef.current.trim()) {
|
|
157482
|
+
closeAutocomplete();
|
|
157483
|
+
return;
|
|
157484
|
+
}
|
|
157485
|
+
let cancelled = false;
|
|
157486
|
+
const handle2 = setTimeout(() => {
|
|
157487
|
+
trpc.history.search.query({ workspaceId, query: trimmed, limit: 8 }).then((result) => {
|
|
157488
|
+
if (cancelled) return;
|
|
157489
|
+
if (result.entries.length === 0) {
|
|
157490
|
+
closeAutocomplete();
|
|
157491
|
+
return;
|
|
157492
|
+
}
|
|
157493
|
+
setAutocompleteItems(result.entries);
|
|
157494
|
+
setAutocompleteIsOpen(true);
|
|
157495
|
+
setAutocompleteSelectedIndex(0);
|
|
157496
|
+
}).catch(() => {
|
|
157497
|
+
if (!cancelled) closeAutocomplete();
|
|
157498
|
+
});
|
|
157499
|
+
}, AUTOCOMPLETE_DEBOUNCE_MS);
|
|
157500
|
+
return () => {
|
|
157501
|
+
cancelled = true;
|
|
157502
|
+
clearTimeout(handle2);
|
|
157503
|
+
};
|
|
157504
|
+
}, [inputUrl, workspaceId, closeAutocomplete, currentUrlRef]);
|
|
157505
|
+
const handleAddressFocus = reactExports.useCallback((e2) => {
|
|
157506
|
+
addressInputFocusedRef.current = true;
|
|
157507
|
+
e2.target.select();
|
|
157508
|
+
}, []);
|
|
157509
|
+
const handleAddressBlur = reactExports.useCallback(() => {
|
|
157510
|
+
addressInputFocusedRef.current = false;
|
|
157511
|
+
setInputUrl(currentUrlRef.current);
|
|
157512
|
+
setTimeout(() => {
|
|
157513
|
+
if (!addressInputFocusedRef.current) closeAutocomplete();
|
|
157514
|
+
}, AUTOCOMPLETE_BLUR_CLOSE_MS);
|
|
157515
|
+
}, [currentUrlRef, setInputUrl, closeAutocomplete]);
|
|
157516
|
+
const handleAddressKeyDown = reactExports.useCallback(
|
|
157517
|
+
(e2) => {
|
|
157518
|
+
if (autocompleteIsOpen) {
|
|
157519
|
+
if (e2.key === "ArrowDown") {
|
|
157520
|
+
e2.preventDefault();
|
|
157521
|
+
setAutocompleteSelectedIndex((i2) => Math.min(i2 + 1, autocompleteItems.length - 1));
|
|
157522
|
+
return;
|
|
157523
|
+
}
|
|
157524
|
+
if (e2.key === "ArrowUp") {
|
|
157525
|
+
e2.preventDefault();
|
|
157526
|
+
setAutocompleteSelectedIndex((i2) => Math.max(i2 - 1, 0));
|
|
157527
|
+
return;
|
|
157528
|
+
}
|
|
157529
|
+
if (e2.key === "Enter") {
|
|
157530
|
+
const selected = autocompleteItems[autocompleteSelectedIndex];
|
|
157531
|
+
if (selected) {
|
|
157532
|
+
e2.preventDefault();
|
|
157533
|
+
closeAutocomplete();
|
|
157534
|
+
onNavigate(selected.url);
|
|
157535
|
+
return;
|
|
157536
|
+
}
|
|
157537
|
+
}
|
|
157538
|
+
if (e2.key === "Escape") {
|
|
157539
|
+
e2.preventDefault();
|
|
157540
|
+
closeAutocomplete();
|
|
157541
|
+
return;
|
|
157542
|
+
}
|
|
157543
|
+
}
|
|
157544
|
+
if (e2.key === "Enter") {
|
|
157545
|
+
e2.preventDefault();
|
|
157546
|
+
closeAutocomplete();
|
|
157547
|
+
onNavigate(inputUrl);
|
|
157548
|
+
return;
|
|
157549
|
+
}
|
|
157550
|
+
if (e2.key === "Escape") {
|
|
157551
|
+
e2.preventDefault();
|
|
157552
|
+
setInputUrl(currentUrlRef.current);
|
|
157553
|
+
const input = e2.currentTarget;
|
|
157554
|
+
requestAnimationFrame(() => {
|
|
157555
|
+
if (input.isConnected) input.select();
|
|
157556
|
+
});
|
|
157557
|
+
}
|
|
157558
|
+
},
|
|
157559
|
+
[
|
|
157560
|
+
inputUrl,
|
|
157561
|
+
onNavigate,
|
|
157562
|
+
setInputUrl,
|
|
157563
|
+
currentUrlRef,
|
|
157564
|
+
autocompleteIsOpen,
|
|
157565
|
+
autocompleteItems,
|
|
157566
|
+
autocompleteSelectedIndex,
|
|
157567
|
+
closeAutocomplete
|
|
157568
|
+
]
|
|
157569
|
+
);
|
|
157570
|
+
const handlePaneKeyDown = reactExports.useCallback(
|
|
157571
|
+
(e2) => {
|
|
157572
|
+
if (e2.key.toLowerCase() !== "f") return;
|
|
157573
|
+
if (e2.shiftKey || e2.altKey) return;
|
|
157574
|
+
const isMac = /mac/i.test(navigator.userAgent);
|
|
157575
|
+
const wantsFind = isMac ? e2.metaKey && !e2.ctrlKey : e2.ctrlKey && !e2.metaKey;
|
|
157576
|
+
if (!wantsFind) return;
|
|
157577
|
+
e2.preventDefault();
|
|
157578
|
+
e2.stopPropagation();
|
|
157579
|
+
find2.open();
|
|
157580
|
+
},
|
|
157581
|
+
[find2]
|
|
157582
|
+
);
|
|
157583
|
+
const handleToggleDevTools = reactExports.useCallback(async () => {
|
|
157584
|
+
if (!isDesktop) return;
|
|
157585
|
+
try {
|
|
157586
|
+
await invoke("browser_toggle_dev_tools", { [keyName2]: key2 });
|
|
157587
|
+
} catch (e2) {
|
|
157588
|
+
console.error("browser_toggle_dev_tools failed:", e2);
|
|
157589
|
+
}
|
|
157590
|
+
}, [key2, keyName2]);
|
|
157591
|
+
return {
|
|
157592
|
+
find: find2,
|
|
157593
|
+
addressInputFocusedRef,
|
|
157594
|
+
handleAddressFocus,
|
|
157595
|
+
handleAddressBlur,
|
|
157596
|
+
handleAddressKeyDown,
|
|
157597
|
+
handlePaneKeyDown,
|
|
157598
|
+
handleToggleDevTools,
|
|
157599
|
+
autocomplete: {
|
|
157600
|
+
isOpen: autocompleteIsOpen,
|
|
157601
|
+
items: autocompleteItems,
|
|
157602
|
+
selectedIndex: autocompleteSelectedIndex,
|
|
157603
|
+
close: closeAutocomplete,
|
|
157604
|
+
setSelectedIndex: setAutocompleteSelectedIndex
|
|
157605
|
+
},
|
|
157606
|
+
paneDataAttrs: {
|
|
157607
|
+
"data-band-browser-pane": "",
|
|
157608
|
+
"data-band-browser-pane-key": key2,
|
|
157609
|
+
"data-band-browser-pane-keyname": keyName2
|
|
157610
|
+
}
|
|
157611
|
+
};
|
|
157612
|
+
}
|
|
157613
|
+
function waitForPaint() {
|
|
157614
|
+
return new Promise((resolve2) => {
|
|
157615
|
+
requestAnimationFrame(() => requestAnimationFrame(() => resolve2()));
|
|
157616
|
+
});
|
|
157617
|
+
}
|
|
157618
|
+
function useBrowserPaneFreeze(args) {
|
|
157619
|
+
const { created, visible, ipcKeyRef } = args;
|
|
157620
|
+
const frozen = useBrowserPaneFrozen();
|
|
157621
|
+
const [snapshot, setSnapshot] = reactExports.useState(null);
|
|
157622
|
+
const freezeAppliedRef = reactExports.useRef(false);
|
|
157623
|
+
reactExports.useEffect(() => {
|
|
157624
|
+
if (!isDesktop || !created) return;
|
|
157625
|
+
let cancelled = false;
|
|
157626
|
+
if (frozen) {
|
|
157627
|
+
if (!visible) return;
|
|
157628
|
+
const ipcKey = ipcKeyRef.current;
|
|
157629
|
+
(async () => {
|
|
157630
|
+
try {
|
|
157631
|
+
const dataUrl = await invoke("browser_capture_page", ipcKey);
|
|
157632
|
+
if (!cancelled && dataUrl) {
|
|
157633
|
+
reactDomExports.flushSync(() => setSnapshot(dataUrl));
|
|
157634
|
+
await waitForPaint();
|
|
157635
|
+
}
|
|
157636
|
+
} catch {
|
|
157637
|
+
}
|
|
157638
|
+
if (cancelled) return;
|
|
157639
|
+
freezeAppliedRef.current = true;
|
|
157640
|
+
invoke("browser_pause_media", ipcKey).catch(() => {
|
|
157641
|
+
});
|
|
157642
|
+
invoke("browser_hide", ipcKey).catch(() => {
|
|
157643
|
+
});
|
|
157644
|
+
})();
|
|
157645
|
+
} else {
|
|
157646
|
+
if (freezeAppliedRef.current) {
|
|
157647
|
+
freezeAppliedRef.current = false;
|
|
157648
|
+
const ipcKey = ipcKeyRef.current;
|
|
157649
|
+
invoke("browser_show", ipcKey).catch(() => {
|
|
157650
|
+
});
|
|
157651
|
+
invoke("browser_resume_media", ipcKey).catch(() => {
|
|
157652
|
+
});
|
|
157653
|
+
(async () => {
|
|
157654
|
+
await waitForPaint();
|
|
157655
|
+
if (!cancelled) setSnapshot(null);
|
|
157656
|
+
})();
|
|
157657
|
+
} else {
|
|
157658
|
+
setSnapshot(null);
|
|
157659
|
+
}
|
|
157660
|
+
}
|
|
157661
|
+
return () => {
|
|
157662
|
+
cancelled = true;
|
|
157663
|
+
};
|
|
157664
|
+
}, [frozen, created, visible, ipcKeyRef]);
|
|
157665
|
+
return { snapshot };
|
|
157666
|
+
}
|
|
157667
|
+
function AddressBarAutocomplete({ state: state2, onSelect }) {
|
|
157668
|
+
if (!state2.isOpen || state2.items.length === 0) return null;
|
|
157669
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157670
|
+
"div",
|
|
157671
|
+
{
|
|
157672
|
+
className: "absolute top-full left-0 right-0 z-20 mx-2 mt-1 overflow-hidden rounded-md border border-border bg-popover shadow-md",
|
|
157673
|
+
onMouseDown: (e2) => {
|
|
157674
|
+
e2.preventDefault();
|
|
157675
|
+
},
|
|
157676
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "max-h-80 overflow-y-auto py-1", children: state2.items.map((item, index2) => {
|
|
157677
|
+
const selected = index2 === state2.selectedIndex;
|
|
157678
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157679
|
+
"button",
|
|
157680
|
+
{
|
|
157681
|
+
type: "button",
|
|
157682
|
+
onMouseDown: (e2) => {
|
|
157683
|
+
e2.preventDefault();
|
|
157684
|
+
onSelect(item.url);
|
|
157685
|
+
state2.close();
|
|
157686
|
+
},
|
|
157687
|
+
onMouseEnter: () => state2.setSelectedIndex(index2),
|
|
157688
|
+
className: `flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm transition-colors ${selected ? "bg-accent text-foreground" : "text-foreground hover:bg-accent/60"}`,
|
|
157689
|
+
children: [
|
|
157690
|
+
item.faviconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157691
|
+
"img",
|
|
157692
|
+
{
|
|
157693
|
+
src: item.faviconUrl,
|
|
157694
|
+
alt: "",
|
|
157695
|
+
className: "size-4 shrink-0 rounded-sm",
|
|
157696
|
+
onError: (e2) => {
|
|
157697
|
+
e2.currentTarget.style.display = "none";
|
|
157698
|
+
}
|
|
157699
|
+
}
|
|
157700
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsx(Globe, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
157701
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
157702
|
+
item.title ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate font-medium leading-tight", children: item.title }) : null,
|
|
157703
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157704
|
+
"span",
|
|
157705
|
+
{
|
|
157706
|
+
className: `truncate text-xs leading-tight ${item.title ? "text-muted-foreground" : "text-foreground"}`,
|
|
157707
|
+
children: item.url
|
|
157708
|
+
}
|
|
157709
|
+
)
|
|
157710
|
+
] })
|
|
157711
|
+
]
|
|
157712
|
+
}
|
|
157713
|
+
) }, item.id);
|
|
157714
|
+
}) })
|
|
157715
|
+
}
|
|
157716
|
+
);
|
|
157717
|
+
}
|
|
157718
|
+
function BrowserFindBar({ find: find2 }) {
|
|
157719
|
+
if (!find2.isOpen) return null;
|
|
157720
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157721
|
+
SearchBar,
|
|
157722
|
+
{
|
|
157723
|
+
ref: find2.searchBarRef,
|
|
157724
|
+
query: find2.query,
|
|
157725
|
+
onQueryChange: find2.setQuery,
|
|
157726
|
+
options: find2.options,
|
|
157727
|
+
onOptionsChange: find2.setOptions,
|
|
157728
|
+
placeholder: "Find in page",
|
|
157729
|
+
matchInfo: find2.matchInfo ?? void 0,
|
|
157730
|
+
onNext: find2.findNext,
|
|
157731
|
+
onPrevious: find2.findPrevious,
|
|
157732
|
+
onClose: find2.close,
|
|
157733
|
+
visibleOptions: ["caseSensitive"]
|
|
157734
|
+
}
|
|
157735
|
+
);
|
|
157736
|
+
}
|
|
157737
|
+
const SEARCH_DEBOUNCE_MS = 150;
|
|
157738
|
+
const LIST_LIMIT = 200;
|
|
157739
|
+
function groupByDay(entries2) {
|
|
157740
|
+
const groups = /* @__PURE__ */ new Map();
|
|
157741
|
+
const order2 = [];
|
|
157742
|
+
for (const entry of entries2) {
|
|
157743
|
+
const dayKey = dayKeyFor(entry.lastVisitedAt);
|
|
157744
|
+
let group = groups.get(dayKey);
|
|
157745
|
+
if (!group) {
|
|
157746
|
+
group = { label: labelFor(dayKey), entries: [] };
|
|
157747
|
+
groups.set(dayKey, group);
|
|
157748
|
+
order2.push(dayKey);
|
|
157749
|
+
}
|
|
157750
|
+
group.entries.push(entry);
|
|
157751
|
+
}
|
|
157752
|
+
return order2.map((k2) => groups.get(k2));
|
|
157753
|
+
}
|
|
157754
|
+
function dayKeyFor(ts) {
|
|
157755
|
+
const d2 = new Date(ts);
|
|
157756
|
+
const y3 = d2.getFullYear();
|
|
157757
|
+
const m2 = String(d2.getMonth() + 1).padStart(2, "0");
|
|
157758
|
+
const day = String(d2.getDate()).padStart(2, "0");
|
|
157759
|
+
return `${y3}-${m2}-${day}`;
|
|
157760
|
+
}
|
|
157761
|
+
function labelFor(dayKey) {
|
|
157762
|
+
const now2 = /* @__PURE__ */ new Date();
|
|
157763
|
+
const today = dayKeyFor(now2.getTime());
|
|
157764
|
+
const yesterdayDate = new Date(now2.getFullYear(), now2.getMonth(), now2.getDate() - 1);
|
|
157765
|
+
const yesterday = dayKeyFor(yesterdayDate.getTime());
|
|
157766
|
+
if (dayKey === today) return "Today";
|
|
157767
|
+
if (dayKey === yesterday) return "Yesterday";
|
|
157768
|
+
const [y3, m2, d2] = dayKey.split("-").map(Number);
|
|
157769
|
+
const date2 = new Date(y3, m2 - 1, d2);
|
|
157770
|
+
const daysSince = Math.floor((Date.now() - date2.getTime()) / (24 * 60 * 60 * 1e3));
|
|
157771
|
+
if (daysSince <= 7) {
|
|
157772
|
+
return date2.toLocaleDateString(void 0, { weekday: "long", month: "short", day: "numeric" });
|
|
157773
|
+
}
|
|
157774
|
+
return date2.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" });
|
|
157775
|
+
}
|
|
157776
|
+
function timeFor(ts) {
|
|
157777
|
+
return new Date(ts).toLocaleTimeString(void 0, { hour: "numeric", minute: "2-digit" });
|
|
157778
|
+
}
|
|
157779
|
+
function HistoryPopover({ workspaceId, onNavigate }) {
|
|
157780
|
+
const searchId = reactExports.useId();
|
|
157781
|
+
const [open2, setOpen] = reactExports.useState(false);
|
|
157782
|
+
const [query, setQuery] = reactExports.useState("");
|
|
157783
|
+
const [entries2, setEntries] = reactExports.useState([]);
|
|
157784
|
+
const [loading, setLoading] = reactExports.useState(false);
|
|
157785
|
+
const [reloadKey, setReloadKey] = reactExports.useState(0);
|
|
157786
|
+
const refresh = reactExports.useCallback(() => {
|
|
157787
|
+
setReloadKey((k2) => k2 + 1);
|
|
157788
|
+
}, []);
|
|
157789
|
+
reactExports.useEffect(() => {
|
|
157790
|
+
if (!open2) return;
|
|
157791
|
+
let cancelled = false;
|
|
157792
|
+
setLoading(true);
|
|
157793
|
+
const trimmed = query.trim();
|
|
157794
|
+
const fire = () => {
|
|
157795
|
+
const promise = trimmed ? trpc.history.search.query({ workspaceId, query: trimmed, limit: 50 }) : trpc.history.list.query({ workspaceId, limit: LIST_LIMIT });
|
|
157796
|
+
promise.then((result) => {
|
|
157797
|
+
if (cancelled) return;
|
|
157798
|
+
setEntries(result.entries);
|
|
157799
|
+
}).catch(() => {
|
|
157800
|
+
if (!cancelled) setEntries([]);
|
|
157801
|
+
}).finally(() => {
|
|
157802
|
+
if (!cancelled) setLoading(false);
|
|
157803
|
+
});
|
|
157804
|
+
};
|
|
157805
|
+
const delay = trimmed ? SEARCH_DEBOUNCE_MS : 0;
|
|
157806
|
+
const handle2 = setTimeout(fire, delay);
|
|
157807
|
+
return () => {
|
|
157808
|
+
cancelled = true;
|
|
157809
|
+
clearTimeout(handle2);
|
|
157810
|
+
};
|
|
157811
|
+
}, [open2, query, workspaceId, reloadKey]);
|
|
157812
|
+
const groups = reactExports.useMemo(() => groupByDay(entries2), [entries2]);
|
|
157813
|
+
const handleNavigate = reactExports.useCallback(
|
|
157814
|
+
(url) => {
|
|
157815
|
+
onNavigate(url);
|
|
157816
|
+
setOpen(false);
|
|
157817
|
+
},
|
|
157818
|
+
[onNavigate]
|
|
157819
|
+
);
|
|
157820
|
+
const handleDelete2 = reactExports.useCallback(
|
|
157821
|
+
async (id28) => {
|
|
157822
|
+
await trpc.history.delete.mutate({ id: id28, workspaceId }).catch(() => {
|
|
157823
|
+
});
|
|
157824
|
+
refresh();
|
|
157825
|
+
},
|
|
157826
|
+
[refresh, workspaceId]
|
|
157827
|
+
);
|
|
157828
|
+
const handleClear = reactExports.useCallback(
|
|
157829
|
+
async (range2) => {
|
|
157830
|
+
await trpc.history.clear.mutate({ workspaceId, range: range2 }).catch(() => {
|
|
157831
|
+
});
|
|
157832
|
+
refresh();
|
|
157833
|
+
},
|
|
157834
|
+
[refresh, workspaceId]
|
|
157835
|
+
);
|
|
157836
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Popover, { open: open2, onOpenChange: setOpen, children: [
|
|
157837
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157838
|
+
"button",
|
|
157839
|
+
{
|
|
157840
|
+
type: "button",
|
|
157841
|
+
className: "flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
157842
|
+
title: "History",
|
|
157843
|
+
"aria-label": "Browser history",
|
|
157844
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(History, { className: "size-4" })
|
|
157845
|
+
}
|
|
157846
|
+
) }),
|
|
157847
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157848
|
+
PopoverContent,
|
|
157849
|
+
{
|
|
157850
|
+
align: "end",
|
|
157851
|
+
sideOffset: 6,
|
|
157852
|
+
className: "w-[440px] p-0",
|
|
157853
|
+
onOpenAutoFocus: (e2) => {
|
|
157854
|
+
e2.preventDefault();
|
|
157855
|
+
const input = document.getElementById(searchId);
|
|
157856
|
+
if (input) input.focus();
|
|
157857
|
+
},
|
|
157858
|
+
children: [
|
|
157859
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 border-b border-border px-3 py-2", children: [
|
|
157860
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Search, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
157861
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157862
|
+
"input",
|
|
157863
|
+
{
|
|
157864
|
+
id: searchId,
|
|
157865
|
+
type: "text",
|
|
157866
|
+
value: query,
|
|
157867
|
+
onChange: (e2) => setQuery(e2.target.value),
|
|
157868
|
+
placeholder: "Search history",
|
|
157869
|
+
className: "min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"
|
|
157870
|
+
}
|
|
157871
|
+
)
|
|
157872
|
+
] }),
|
|
157873
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "max-h-[420px] overflow-y-auto", children: loading && entries2.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "Loading…" }) : groups.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: query ? "No matching history" : "No history yet" }) : groups.map((group) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
157874
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-popover px-3 py-1 text-xs font-medium text-muted-foreground", children: group.label }),
|
|
157875
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: group.entries.map((entry) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157876
|
+
"li",
|
|
157877
|
+
{
|
|
157878
|
+
className: "group flex items-center gap-2 px-3 py-1.5 hover:bg-accent/60",
|
|
157879
|
+
children: [
|
|
157880
|
+
entry.faviconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157881
|
+
"img",
|
|
157882
|
+
{
|
|
157883
|
+
src: entry.faviconUrl,
|
|
157884
|
+
alt: "",
|
|
157885
|
+
className: "size-4 shrink-0 rounded-sm",
|
|
157886
|
+
onError: (e2) => {
|
|
157887
|
+
e2.currentTarget.style.display = "none";
|
|
157888
|
+
}
|
|
157889
|
+
}
|
|
157890
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsx(Globe, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
157891
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157892
|
+
"button",
|
|
157893
|
+
{
|
|
157894
|
+
type: "button",
|
|
157895
|
+
onClick: () => handleNavigate(entry.url),
|
|
157896
|
+
className: "flex min-w-0 flex-1 flex-col text-left",
|
|
157897
|
+
children: [
|
|
157898
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate text-sm font-medium leading-tight text-foreground", children: entry.title || entry.url }),
|
|
157899
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate text-xs leading-tight text-muted-foreground", children: entry.url })
|
|
157900
|
+
]
|
|
157901
|
+
}
|
|
157902
|
+
),
|
|
157903
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "shrink-0 text-xs text-muted-foreground tabular-nums", children: timeFor(entry.lastVisitedAt) }),
|
|
157904
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157905
|
+
"button",
|
|
157906
|
+
{
|
|
157907
|
+
type: "button",
|
|
157908
|
+
onClick: () => handleDelete2(entry.id),
|
|
157909
|
+
className: "rounded p-1 text-muted-foreground opacity-0 transition-opacity hover:bg-destructive/10 hover:text-destructive group-hover:opacity-100",
|
|
157910
|
+
title: "Delete entry",
|
|
157911
|
+
"aria-label": "Delete entry",
|
|
157912
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Trash2, { className: "size-3.5" })
|
|
157913
|
+
}
|
|
157914
|
+
)
|
|
157915
|
+
]
|
|
157916
|
+
},
|
|
157917
|
+
entry.id
|
|
157918
|
+
)) })
|
|
157919
|
+
] }, group.label)) }),
|
|
157920
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-end border-t border-border px-3 py-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
|
|
157921
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157922
|
+
"button",
|
|
157923
|
+
{
|
|
157924
|
+
type: "button",
|
|
157925
|
+
className: "flex items-center gap-1 rounded px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
157926
|
+
children: [
|
|
157927
|
+
"Clear ",
|
|
157928
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-3" })
|
|
157929
|
+
]
|
|
157930
|
+
}
|
|
157931
|
+
) }),
|
|
157932
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenuContent, { align: "end", children: [
|
|
157933
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("hour"), children: "Last hour" }),
|
|
157934
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("day"), children: "Last 24 hours" }),
|
|
157935
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("week"), children: "Last week" }),
|
|
157936
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("all"), children: "All time" })
|
|
157937
|
+
] })
|
|
157938
|
+
] }) })
|
|
157939
|
+
]
|
|
157940
|
+
}
|
|
157941
|
+
)
|
|
157942
|
+
] });
|
|
157943
|
+
}
|
|
157167
157944
|
const DEFAULT_URL = "";
|
|
157168
157945
|
const BLANK_URL = "about:blank";
|
|
157169
157946
|
const faviconMap = /* @__PURE__ */ new Map();
|
|
@@ -157187,7 +157964,7 @@ function BrowserPaneComponent({
|
|
|
157187
157964
|
params,
|
|
157188
157965
|
api
|
|
157189
157966
|
}) {
|
|
157190
|
-
const { browserId, initialUrl } = params;
|
|
157967
|
+
const { browserId, initialUrl, workspaceId: workspaceIdParam } = params;
|
|
157191
157968
|
const [currentUrl, setCurrentUrl] = reactExports.useState(() => initialUrl ?? DEFAULT_URL);
|
|
157192
157969
|
const [inputUrl, setInputUrl] = reactExports.useState(() => initialUrl ?? DEFAULT_URL);
|
|
157193
157970
|
const [loading, setLoading] = reactExports.useState(false);
|
|
@@ -157200,6 +157977,16 @@ function BrowserPaneComponent({
|
|
|
157200
157977
|
browserIdRef.current = browserId;
|
|
157201
157978
|
const currentUrlRef = reactExports.useRef(currentUrl);
|
|
157202
157979
|
currentUrlRef.current = currentUrl;
|
|
157980
|
+
const [workspaceId, setWorkspaceId] = reactExports.useState(workspaceIdParam ?? "");
|
|
157981
|
+
const workspaceIdRef = reactExports.useRef(workspaceId);
|
|
157982
|
+
workspaceIdRef.current = workspaceId;
|
|
157983
|
+
const ipcKeyRef = reactExports.useRef({ browserId });
|
|
157984
|
+
ipcKeyRef.current = { browserId };
|
|
157985
|
+
const { snapshot } = useBrowserPaneFreeze({
|
|
157986
|
+
created,
|
|
157987
|
+
visible: api.isVisible && params.wsActive !== false,
|
|
157988
|
+
ipcKeyRef
|
|
157989
|
+
});
|
|
157203
157990
|
const getBounds = reactExports.useCallback(() => {
|
|
157204
157991
|
const el = placeholderRef.current;
|
|
157205
157992
|
if (!el) return null;
|
|
@@ -157215,6 +158002,10 @@ function BrowserPaneComponent({
|
|
|
157215
158002
|
let cancelled = false;
|
|
157216
158003
|
trpc.browsers.get.query({ browserId }).then((result) => {
|
|
157217
158004
|
if (cancelled) return;
|
|
158005
|
+
const ws = result.browser?.workspaceId;
|
|
158006
|
+
if (ws && !workspaceIdRef.current) {
|
|
158007
|
+
setWorkspaceId(ws);
|
|
158008
|
+
}
|
|
157218
158009
|
const url = result.browser?.url;
|
|
157219
158010
|
if (!url || url === "" || url === BLANK_URL) return;
|
|
157220
158011
|
setCurrentUrl(url);
|
|
@@ -157287,17 +158078,29 @@ function BrowserPaneComponent({
|
|
|
157287
158078
|
setLoading(event.payload.loading);
|
|
157288
158079
|
if (url === BLANK_URL) return;
|
|
157289
158080
|
setCurrentUrl(url);
|
|
157290
|
-
|
|
158081
|
+
if (!addressInputFocusedRef.current) {
|
|
158082
|
+
setInputUrl(url);
|
|
158083
|
+
}
|
|
157291
158084
|
if (urlPersistTimer.current) clearTimeout(urlPersistTimer.current);
|
|
157292
158085
|
urlPersistTimer.current = setTimeout(() => {
|
|
157293
158086
|
trpc.browsers.navigate.mutate({ browserId: browserIdRef.current, url }).catch(() => {
|
|
157294
158087
|
});
|
|
157295
158088
|
}, 500);
|
|
158089
|
+
let faviconForHistory;
|
|
157296
158090
|
try {
|
|
157297
158091
|
const origin = new URL(url).origin;
|
|
157298
|
-
|
|
158092
|
+
faviconForHistory = `${origin}/favicon.ico`;
|
|
158093
|
+
setFaviconUrl(browserIdRef.current, faviconForHistory);
|
|
157299
158094
|
} catch {
|
|
157300
158095
|
}
|
|
158096
|
+
if (!event.payload.loading && workspaceIdRef.current) {
|
|
158097
|
+
trpc.history.record.mutate({
|
|
158098
|
+
workspaceId: workspaceIdRef.current,
|
|
158099
|
+
url,
|
|
158100
|
+
faviconUrl: faviconForHistory
|
|
158101
|
+
}).catch(() => {
|
|
158102
|
+
});
|
|
158103
|
+
}
|
|
157301
158104
|
});
|
|
157302
158105
|
unlistenTitle = await listen(
|
|
157303
158106
|
"browser-title-changed",
|
|
@@ -157305,6 +158108,15 @@ function BrowserPaneComponent({
|
|
|
157305
158108
|
if (event.payload.browser_id !== browserIdRef.current) return;
|
|
157306
158109
|
if (event.payload.title) {
|
|
157307
158110
|
api.setTitle(event.payload.title);
|
|
158111
|
+
const url = currentUrlRef.current;
|
|
158112
|
+
if (url && url !== BLANK_URL && workspaceIdRef.current) {
|
|
158113
|
+
trpc.history.updateMeta.mutate({
|
|
158114
|
+
workspaceId: workspaceIdRef.current,
|
|
158115
|
+
url,
|
|
158116
|
+
title: event.payload.title
|
|
158117
|
+
}).catch(() => {
|
|
158118
|
+
});
|
|
158119
|
+
}
|
|
157308
158120
|
}
|
|
157309
158121
|
}
|
|
157310
158122
|
);
|
|
@@ -157312,7 +158124,15 @@ function BrowserPaneComponent({
|
|
|
157312
158124
|
return () => {
|
|
157313
158125
|
unlistenUrl?.();
|
|
157314
158126
|
unlistenTitle?.();
|
|
157315
|
-
if (urlPersistTimer.current)
|
|
158127
|
+
if (urlPersistTimer.current) {
|
|
158128
|
+
clearTimeout(urlPersistTimer.current);
|
|
158129
|
+
urlPersistTimer.current = null;
|
|
158130
|
+
const finalUrl = currentUrlRef.current;
|
|
158131
|
+
if (finalUrl && finalUrl !== BLANK_URL) {
|
|
158132
|
+
trpc.browsers.navigate.mutate({ browserId: browserIdRef.current, url: finalUrl }).catch(() => {
|
|
158133
|
+
});
|
|
158134
|
+
}
|
|
158135
|
+
}
|
|
157316
158136
|
};
|
|
157317
158137
|
}, [api]);
|
|
157318
158138
|
reactExports.useEffect(() => {
|
|
@@ -157432,20 +158252,30 @@ function BrowserPaneComponent({
|
|
|
157432
158252
|
setLoading(false);
|
|
157433
158253
|
}
|
|
157434
158254
|
}, [invoke$1, browserId]);
|
|
157435
|
-
const
|
|
157436
|
-
|
|
157437
|
-
|
|
157438
|
-
|
|
157439
|
-
|
|
157440
|
-
|
|
157441
|
-
|
|
157442
|
-
|
|
157443
|
-
|
|
158255
|
+
const {
|
|
158256
|
+
find: find2,
|
|
158257
|
+
addressInputFocusedRef,
|
|
158258
|
+
handleAddressFocus,
|
|
158259
|
+
handleAddressBlur,
|
|
158260
|
+
handleAddressKeyDown,
|
|
158261
|
+
handlePaneKeyDown,
|
|
158262
|
+
handleToggleDevTools,
|
|
158263
|
+
autocomplete,
|
|
158264
|
+
paneDataAttrs
|
|
158265
|
+
} = useBrowserPaneControls({
|
|
158266
|
+
key: browserId,
|
|
158267
|
+
keyName: "browserId",
|
|
158268
|
+
workspaceId,
|
|
158269
|
+
currentUrlRef,
|
|
158270
|
+
setInputUrl,
|
|
158271
|
+
inputUrl,
|
|
158272
|
+
onNavigate: handleNavigate
|
|
158273
|
+
});
|
|
157444
158274
|
if (!browserId) return null;
|
|
157445
158275
|
if (!isDesktop) {
|
|
157446
158276
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex h-full items-center justify-center text-muted-foreground", children: "Browser panel is only available in the desktop app" });
|
|
157447
158277
|
}
|
|
157448
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full w-full flex-col", children: [
|
|
158278
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full w-full flex-col", onKeyDown: handlePaneKeyDown, ...paneDataAttrs, children: [
|
|
157449
158279
|
/* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `@keyframes browser-bar-slide {
|
|
157450
158280
|
0% { transform: translateX(-100%); }
|
|
157451
158281
|
50% { transform: translateX(200%); }
|
|
@@ -157497,10 +158327,23 @@ function BrowserPaneComponent({
|
|
|
157497
158327
|
type: "text",
|
|
157498
158328
|
value: inputUrl,
|
|
157499
158329
|
onChange: (e2) => setInputUrl(e2.target.value),
|
|
157500
|
-
onKeyDown:
|
|
157501
|
-
onFocus:
|
|
158330
|
+
onKeyDown: handleAddressKeyDown,
|
|
158331
|
+
onFocus: handleAddressFocus,
|
|
158332
|
+
onBlur: handleAddressBlur,
|
|
157502
158333
|
className: "min-w-0 flex-1 rounded border border-transparent bg-muted/50 px-3 py-1.5 text-sm text-foreground outline-none transition-colors focus:border-border",
|
|
157503
|
-
placeholder: "Enter URL or search..."
|
|
158334
|
+
placeholder: "Enter URL or search...",
|
|
158335
|
+
"data-band-address-input": ""
|
|
158336
|
+
}
|
|
158337
|
+
),
|
|
158338
|
+
workspaceId ? /* @__PURE__ */ jsxRuntimeExports.jsx(HistoryPopover, { workspaceId, onNavigate: handleNavigate }) : null,
|
|
158339
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
158340
|
+
"button",
|
|
158341
|
+
{
|
|
158342
|
+
type: "button",
|
|
158343
|
+
onClick: handleToggleDevTools,
|
|
158344
|
+
className: "flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
158345
|
+
title: "Toggle DevTools",
|
|
158346
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Wrench, { className: "size-4" })
|
|
157504
158347
|
}
|
|
157505
158348
|
),
|
|
157506
158349
|
loading && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute inset-x-0 bottom-0 h-0.5 overflow-hidden bg-blue-500/10", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -157511,9 +158354,23 @@ function BrowserPaneComponent({
|
|
|
157511
158354
|
animation: "browser-bar-slide 1.4s ease-in-out infinite"
|
|
157512
158355
|
}
|
|
157513
158356
|
}
|
|
157514
|
-
) })
|
|
158357
|
+
) }),
|
|
158358
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(AddressBarAutocomplete, { state: autocomplete, onSelect: handleNavigate })
|
|
157515
158359
|
] }),
|
|
157516
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
158360
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(BrowserFindBar, { find: find2 }),
|
|
158361
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: placeholderRef, className: "relative min-h-0 flex-1", children: snapshot ? (
|
|
158362
|
+
// `object-contain object-top` — see the identical block in
|
|
158363
|
+
// `BrowserPanelComponent` for the DevTools-aware rationale.
|
|
158364
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
158365
|
+
"img",
|
|
158366
|
+
{
|
|
158367
|
+
src: snapshot,
|
|
158368
|
+
alt: "",
|
|
158369
|
+
className: "pointer-events-none absolute inset-0 size-full object-contain object-top",
|
|
158370
|
+
draggable: false
|
|
158371
|
+
}
|
|
158372
|
+
)
|
|
158373
|
+
) : null })
|
|
157517
158374
|
] });
|
|
157518
158375
|
}
|
|
157519
158376
|
const freshBrowserIds = /* @__PURE__ */ new Set();
|
|
@@ -157548,9 +158405,11 @@ function panelIdsFromLayout(layout) {
|
|
|
157548
158405
|
}
|
|
157549
158406
|
function persistToServer$1(workspaceId, layout, opts) {
|
|
157550
158407
|
if (opts?.queryClient) {
|
|
158408
|
+
const prev2 = opts.queryClient.getQueryData(browserLayoutKey(workspaceId));
|
|
157551
158409
|
opts.queryClient.setQueryData(browserLayoutKey(workspaceId), {
|
|
157552
158410
|
layout,
|
|
157553
|
-
browserIds: panelIdsFromLayout(layout)
|
|
158411
|
+
browserIds: panelIdsFromLayout(layout),
|
|
158412
|
+
urls: prev2?.urls ?? /* @__PURE__ */ new Map()
|
|
157554
158413
|
});
|
|
157555
158414
|
}
|
|
157556
158415
|
const existing = saveTimers$1.get(workspaceId);
|
|
@@ -157718,9 +158577,14 @@ function DockviewBrowserContainer({
|
|
|
157718
158577
|
trpc.browserLayout.get.query({ workspaceId }).catch(() => ({ tree: null })),
|
|
157719
158578
|
trpc.browsers.list.query({ workspaceId }).catch(() => ({ browsers: [] }))
|
|
157720
158579
|
]);
|
|
158580
|
+
const urls = /* @__PURE__ */ new Map();
|
|
158581
|
+
for (const b2 of browsers) {
|
|
158582
|
+
if (b2.url && b2.url !== "about:blank") urls.set(b2.id, b2.url);
|
|
158583
|
+
}
|
|
157721
158584
|
return {
|
|
157722
158585
|
layout: tree,
|
|
157723
|
-
browserIds: new Set(browsers.map((b2) => b2.id))
|
|
158586
|
+
browserIds: new Set(browsers.map((b2) => b2.id)),
|
|
158587
|
+
urls
|
|
157724
158588
|
};
|
|
157725
158589
|
},
|
|
157726
158590
|
staleTime: Number.POSITIVE_INFINITY
|
|
@@ -157822,7 +158686,7 @@ function DockviewBrowserContainer({
|
|
|
157822
158686
|
requestAnimationFrame(() => {
|
|
157823
158687
|
const panel = api.activePanel;
|
|
157824
158688
|
if (!panel) return;
|
|
157825
|
-
panel.view.content.element.querySelector("input
|
|
158689
|
+
panel.view.content.element.querySelector("[data-band-address-input]")?.focus();
|
|
157826
158690
|
});
|
|
157827
158691
|
return;
|
|
157828
158692
|
}
|
|
@@ -157835,7 +158699,7 @@ function DockviewBrowserContainer({
|
|
|
157835
158699
|
requestAnimationFrame(() => {
|
|
157836
158700
|
const panel = apiRef.current?.activePanel;
|
|
157837
158701
|
if (!panel) return;
|
|
157838
|
-
panel.view.content.element.querySelector("input
|
|
158702
|
+
panel.view.content.element.querySelector("[data-band-address-input]")?.focus();
|
|
157839
158703
|
});
|
|
157840
158704
|
});
|
|
157841
158705
|
} else if (key2 === "w" && !e2.shiftKey) {
|
|
@@ -157872,11 +158736,33 @@ function DockviewBrowserContainer({
|
|
|
157872
158736
|
window.addEventListener("keydown", handler, true);
|
|
157873
158737
|
return () => window.removeEventListener("keydown", handler, true);
|
|
157874
158738
|
}, [visible, closeTab, handleSplit, handleAddTab]);
|
|
158739
|
+
reactExports.useEffect(() => {
|
|
158740
|
+
if (!isDesktop) return;
|
|
158741
|
+
let unlisten;
|
|
158742
|
+
void (async () => {
|
|
158743
|
+
unlisten = await listen(
|
|
158744
|
+
"browser-new-tab-shortcut",
|
|
158745
|
+
(event) => {
|
|
158746
|
+
const api = apiRef.current;
|
|
158747
|
+
if (!api) return;
|
|
158748
|
+
const sourceId = event.payload.browser_id;
|
|
158749
|
+
if (!sourceId || !api.getPanel(sourceId)) return;
|
|
158750
|
+
void handleAddTab().then(() => {
|
|
158751
|
+
requestAnimationFrame(() => {
|
|
158752
|
+
const panel = apiRef.current?.activePanel;
|
|
158753
|
+
panel?.view.content.element.querySelector("[data-band-address-input]")?.focus();
|
|
158754
|
+
});
|
|
158755
|
+
});
|
|
158756
|
+
}
|
|
158757
|
+
);
|
|
158758
|
+
})();
|
|
158759
|
+
return () => unlisten?.();
|
|
158760
|
+
}, [handleAddTab]);
|
|
157875
158761
|
reactExports.useEffect(() => {
|
|
157876
158762
|
const handler = () => {
|
|
157877
158763
|
const root2 = containerRef.current;
|
|
157878
158764
|
if (!root2 || root2.offsetParent === null) return;
|
|
157879
|
-
const inputs = root2.querySelectorAll(
|
|
158765
|
+
const inputs = root2.querySelectorAll("[data-band-address-input]");
|
|
157880
158766
|
for (const input of inputs) {
|
|
157881
158767
|
if (input.offsetParent !== null) {
|
|
157882
158768
|
input.focus({ preventScroll: true });
|
|
@@ -157918,15 +158804,19 @@ function DockviewBrowserContainer({
|
|
|
157918
158804
|
initialLayoutRef.current = initialData?.layout ?? null;
|
|
157919
158805
|
const initialBrowserIdsRef = reactExports.useRef(null);
|
|
157920
158806
|
initialBrowserIdsRef.current = initialData?.browserIds ?? null;
|
|
158807
|
+
const initialUrlsRef = reactExports.useRef(null);
|
|
158808
|
+
initialUrlsRef.current = initialData?.urls ?? null;
|
|
157921
158809
|
const onReady = reactExports.useCallback(
|
|
157922
158810
|
(event) => {
|
|
157923
158811
|
apiRef.current = event.api;
|
|
157924
158812
|
const savedLayout = initialLayoutRef.current;
|
|
157925
158813
|
const knownBrowserIds = initialBrowserIdsRef.current;
|
|
158814
|
+
const knownUrls = initialUrlsRef.current;
|
|
157926
158815
|
if (savedLayout && isDockviewLayout$1(savedLayout)) {
|
|
157927
158816
|
isRestoringRef.current = true;
|
|
158817
|
+
const layoutToRestore = injectInitialUrls(savedLayout, knownUrls);
|
|
157928
158818
|
try {
|
|
157929
|
-
event.api.fromJSON(
|
|
158819
|
+
event.api.fromJSON(layoutToRestore);
|
|
157930
158820
|
} catch (err) {
|
|
157931
158821
|
console.error("[DockviewBrowserContainer] fromJSON failed, creating default:", err);
|
|
157932
158822
|
createDefaultPanel$1(event.api, workspaceId);
|
|
@@ -173768,7 +174658,7 @@ const PANEL_SHORTCUTS = {
|
|
|
173768
174658
|
browser: "⇧⌘B"
|
|
173769
174659
|
};
|
|
173770
174660
|
const DockviewTerminalContainer = reactExports.lazy(
|
|
173771
|
-
() => import("./DockviewTerminalContainer-
|
|
174661
|
+
() => import("./DockviewTerminalContainer-B5lZSZ8Y.js").then((m2) => ({
|
|
173772
174662
|
default: m2.DockviewTerminalContainer
|
|
173773
174663
|
}))
|
|
173774
174664
|
);
|
|
@@ -175084,10 +175974,52 @@ function ThemeSync() {
|
|
|
175084
175974
|
}, []);
|
|
175085
175975
|
return null;
|
|
175086
175976
|
}
|
|
175977
|
+
function ReloadSync() {
|
|
175978
|
+
reactExports.useEffect(() => {
|
|
175979
|
+
const globalKey = "__bandReload";
|
|
175980
|
+
const win = window;
|
|
175981
|
+
const handler = () => {
|
|
175982
|
+
const active = document.activeElement;
|
|
175983
|
+
const paneEl = active?.closest("[data-band-browser-pane]");
|
|
175984
|
+
if (paneEl) {
|
|
175985
|
+
const key2 = paneEl.dataset.bandBrowserPaneKey;
|
|
175986
|
+
const keyName2 = paneEl.dataset.bandBrowserPaneKeyname;
|
|
175987
|
+
if (key2 && (keyName2 === "browserId" || keyName2 === "workspaceId")) {
|
|
175988
|
+
const bridge = getElectronBridge();
|
|
175989
|
+
if (bridge) {
|
|
175990
|
+
void bridge.invoke("browser_reload", { [keyName2]: key2 });
|
|
175991
|
+
return;
|
|
175992
|
+
}
|
|
175993
|
+
}
|
|
175994
|
+
}
|
|
175995
|
+
window.location.reload();
|
|
175996
|
+
};
|
|
175997
|
+
win[globalKey] = handler;
|
|
175998
|
+
return () => {
|
|
175999
|
+
if (win[globalKey] === handler) {
|
|
176000
|
+
delete win[globalKey];
|
|
176001
|
+
}
|
|
176002
|
+
};
|
|
176003
|
+
}, []);
|
|
176004
|
+
return null;
|
|
176005
|
+
}
|
|
175087
176006
|
function ZoomSync() {
|
|
175088
176007
|
reactExports.useEffect(() => {
|
|
175089
176008
|
applyZoomLevel(loadZoomLevel());
|
|
175090
176009
|
window.__bandZoom = (action) => {
|
|
176010
|
+
const active = document.activeElement;
|
|
176011
|
+
const paneEl = active?.closest("[data-band-browser-pane]");
|
|
176012
|
+
if (paneEl) {
|
|
176013
|
+
const key2 = paneEl.dataset.bandBrowserPaneKey;
|
|
176014
|
+
const keyName2 = paneEl.dataset.bandBrowserPaneKeyname;
|
|
176015
|
+
if (key2 && (keyName2 === "browserId" || keyName2 === "workspaceId")) {
|
|
176016
|
+
const bridge = getElectronBridge();
|
|
176017
|
+
if (bridge) {
|
|
176018
|
+
void bridge.invoke("browser_zoom", { [keyName2]: key2, action });
|
|
176019
|
+
return;
|
|
176020
|
+
}
|
|
176021
|
+
}
|
|
176022
|
+
}
|
|
175091
176023
|
if (action === "in") zoomIn();
|
|
175092
176024
|
else if (action === "out") zoomOut();
|
|
175093
176025
|
else zoomReset();
|
|
@@ -175220,17 +176152,18 @@ function RootLayout() {
|
|
|
175220
176152
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(DashboardProvider, { adapter, capabilities, children: [
|
|
175221
176153
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ThemeSync, {}),
|
|
175222
176154
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ZoomSync, {}),
|
|
176155
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ReloadSync, {}),
|
|
175223
176156
|
/* @__PURE__ */ jsxRuntimeExports.jsx(TooltipProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(AppShell, {}) })
|
|
175224
176157
|
] }),
|
|
175225
176158
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Scripts, {})
|
|
175226
176159
|
] })
|
|
175227
176160
|
] });
|
|
175228
176161
|
}
|
|
175229
|
-
const $$splitComponentImporter$7 = () => import("./index-
|
|
176162
|
+
const $$splitComponentImporter$7 = () => import("./index-BYATJkV0.js");
|
|
175230
176163
|
const Route$7 = createFileRoute("/")({
|
|
175231
176164
|
component: lazyRouteComponent($$splitComponentImporter$7, "component")
|
|
175232
176165
|
});
|
|
175233
|
-
const $$splitComponentImporter$6 = () => import("./workspace._workspaceId-
|
|
176166
|
+
const $$splitComponentImporter$6 = () => import("./workspace._workspaceId-CVnwrhnX.js");
|
|
175234
176167
|
const Route$6 = createFileRoute("/workspace/$workspaceId")({
|
|
175235
176168
|
component: lazyRouteComponent($$splitComponentImporter$6, "component")
|
|
175236
176169
|
});
|
|
@@ -175249,11 +176182,11 @@ const FindInFileContext = reactExports.createContext({
|
|
|
175249
176182
|
function useFindInFileContext() {
|
|
175250
176183
|
return reactExports.useContext(FindInFileContext);
|
|
175251
176184
|
}
|
|
175252
|
-
const $$splitComponentImporter$5 = () => import("./workspace._workspaceId.index-
|
|
176185
|
+
const $$splitComponentImporter$5 = () => import("./workspace._workspaceId.index-CmBIxfCl.js");
|
|
175253
176186
|
const Route$5 = createFileRoute("/workspace/$workspaceId/")({
|
|
175254
176187
|
component: lazyRouteComponent($$splitComponentImporter$5, "component")
|
|
175255
176188
|
});
|
|
175256
|
-
const $$splitComponentImporter$4 = () => import("./workspace._workspaceId.terminal-
|
|
176189
|
+
const $$splitComponentImporter$4 = () => import("./workspace._workspaceId.terminal-BehWU5SY.js");
|
|
175257
176190
|
const Route$4 = createFileRoute("/workspace/$workspaceId/terminal")({
|
|
175258
176191
|
component: lazyRouteComponent($$splitComponentImporter$4, "component")
|
|
175259
176192
|
});
|
|
@@ -175261,15 +176194,15 @@ const $$splitComponentImporter$3 = () => import("./workspace._workspaceId.code-C
|
|
|
175261
176194
|
const Route$3 = createFileRoute("/workspace/$workspaceId/code")({
|
|
175262
176195
|
component: lazyRouteComponent($$splitComponentImporter$3, "component")
|
|
175263
176196
|
});
|
|
175264
|
-
const $$splitComponentImporter$2 = () => import("./workspace._workspaceId.changes-
|
|
176197
|
+
const $$splitComponentImporter$2 = () => import("./workspace._workspaceId.changes-CsJMr9Ve.js");
|
|
175265
176198
|
const Route$2 = createFileRoute("/workspace/$workspaceId/changes")({
|
|
175266
176199
|
component: lazyRouteComponent($$splitComponentImporter$2, "component")
|
|
175267
176200
|
});
|
|
175268
|
-
const $$splitComponentImporter$1 = () => import("./workspace._workspaceId.code.index-
|
|
176201
|
+
const $$splitComponentImporter$1 = () => import("./workspace._workspaceId.code.index-BhUZuUX-.js");
|
|
175269
176202
|
const Route$1 = createFileRoute("/workspace/$workspaceId/code/")({
|
|
175270
176203
|
component: lazyRouteComponent($$splitComponentImporter$1, "component")
|
|
175271
176204
|
});
|
|
175272
|
-
const $$splitComponentImporter = () => import("./workspace._workspaceId.code._-
|
|
176205
|
+
const $$splitComponentImporter = () => import("./workspace._workspaceId.code._-CjSLVs7D.js");
|
|
175273
176206
|
const Route2 = createFileRoute("/workspace/$workspaceId/code/$")({
|
|
175274
176207
|
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
175275
176208
|
});
|