@marimo-team/islands 0.23.15-dev50 → 0.23.15-dev55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-Cmq_9LVS.js → ConnectedDataExplorerComponent-DMcymmpc.js} +85 -84
- package/dist/{ErrorBoundary-CnMJ8jR9.js → ErrorBoundary-DXlxsrTF.js} +3 -3
- package/dist/{any-language-editor-DN1R-1KZ.js → any-language-editor-BfTj3PPF.js} +20 -20
- package/dist/apl-e1B5LPEL.js +4 -0
- package/dist/{arc-DfkSnvZm.js → arc-CTIpFoOn.js} +2 -2
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-CT2SuxNw.js → architectureDiagram-VXUJARFQ-B3jN8fkV.js} +19 -19
- package/dist/asciiarmor-B-gwgesP.js +4 -0
- package/dist/asn1-DF2ckRB4.js +4 -0
- package/dist/{blockDiagram-VD42YOAC-Dy7hlFla.js → blockDiagram-VD42YOAC-Dq_8lAbz.js} +12 -12
- package/dist/brainfuck-4G-7_gq_.js +4 -0
- package/dist/{button-BacYv-bE.js → button-BcSml68y.js} +12 -65
- package/dist/{c4Diagram-YG6GDRKO-BXlAmZ8Z.js → c4Diagram-YG6GDRKO-BPzX9a9A.js} +6 -6
- package/dist/{capabilities-D_4LYhSU.js → capabilities-BYLFYTYv.js} +2 -2
- package/dist/{channel-D_PHgcig.js → channel-D_qwSlm9.js} +1 -1
- package/dist/{chat-ui-Dy0arY8E.js → chat-ui-CYGIiYqI.js} +144 -143
- package/dist/{check-C9OoNtR4.js → check-Cs-KV5XY.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CzXltWHN.js → chunk-4BX2VUAB-iU5lQTDI.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-D9nGEHV8.js → chunk-4F5CHEZ2-VlodlEGo.js} +1 -1
- package/dist/{chunk-55IACEB6-B-1mjMMC.js → chunk-55IACEB6-7h71GwyW.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BbqSm5gU.js → chunk-5FQGJX7Z-B9WoXK1R.js} +3 -3
- package/dist/{chunk-ABZYJK2D-Dz0-H2B5.js → chunk-ABZYJK2D-CDSMdLBr.js} +3 -3
- package/dist/{chunk-ATLVNIR6-o0Z5MZLd.js → chunk-ATLVNIR6-BAW0e_d_.js} +2 -2
- package/dist/{chunk-B2363JML-KEJpLGGP.js → chunk-B2363JML-zL3VngtH.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BL98U9B4.js → chunk-B4BG7PRW-CfEI05WL.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B_c5YBcW.js → chunk-CVBHYZKI-CwazXVlJ.js} +1 -1
- package/dist/{chunk-DI55MBZ5-Dwkn0LWm.js → chunk-DI55MBZ5-CZS7hhjV.js} +6 -6
- package/dist/{chunk-EXTU4WIE-9sNjmQrB.js → chunk-EXTU4WIE-DHwKB8ls.js} +2 -2
- package/dist/{chunk-FMBD7UC4-Ie8M9q0W.js → chunk-FMBD7UC4-quJmebXa.js} +1 -1
- package/dist/{chunk-FRFDVMJY-DzQqMWrl.js → chunk-FRFDVMJY-BHBqN-vD.js} +1 -1
- package/dist/{chunk-HN2XXSSU-E3n-Ys7Z.js → chunk-HN2XXSSU-Bv0QkeMr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-C32Y7Epf.js → chunk-JA3XYJ7Z-Cy80gDpz.js} +3 -3
- package/dist/{chunk-JZLCHNYA-C6ftyVMN.js → chunk-JZLCHNYA-yfXq27Zq.js} +6 -6
- package/dist/{chunk-MI3HLSF2-CUYEasXO.js → chunk-MI3HLSF2-HGWI-8Pg.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DUhGZhZs.js → chunk-N4CR4FBY-C9D3Wsot.js} +7 -7
- package/dist/{chunk-PL6DKKU2-D7km-08O.js → chunk-PL6DKKU2-CAHKc95s.js} +1 -1
- package/dist/{chunk-QN33PNHL-0K6SDYn3.js → chunk-QN33PNHL-Bh2YDyg7.js} +2 -2
- package/dist/{chunk-QXUST7PY-DMhsRpYK.js → chunk-QXUST7PY-kDpsCDoY.js} +10 -10
- package/dist/{chunk-QZHKN3VN-DRjXVwuJ.js → chunk-QZHKN3VN-Dym5BS7y.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-oAe3dEbO.js → chunk-S3R3BYOJ-DkY8Kz3y.js} +4 -4
- package/dist/{chunk-SJTYNZTY-BkJrPRFC.js → chunk-SJTYNZTY-DnXoKWpW.js} +1 -1
- package/dist/{chunk-TCCFYFTB-D58KeXnC.js → chunk-TCCFYFTB-DPWJa9zL.js} +1 -1
- package/dist/{chunk-TQ3KTPDO-D_yA_wAb.js → chunk-TQ3KTPDO-CsDx6v37.js} +1 -1
- package/dist/{chunk-TZMSLE5B-yBKS_DQU.js → chunk-TZMSLE5B-CMZoW3vd.js} +3 -3
- package/dist/{chunk-UMXZTB3W-D7uwvNjd.js → chunk-UMXZTB3W-D1uHz8MN.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-b2d3ZqfR.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-RvnJbJ5M.js +30 -0
- package/dist/{clike-DTxNUn7l.js → clike-7lgyEYRk.js} +1 -1
- package/dist/clojure-CUybM11R.js +4 -0
- package/dist/cmake-BPjGcuDL.js +4 -0
- package/dist/cobol-BETk_nb6.js +4 -0
- package/dist/{code-block-37QAKDTI-O6IH6wAi.js → code-block-37QAKDTI-MSxEjskJ.js} +1 -1
- package/dist/{code-visibility-B5xe1Xp2.js → code-visibility-6VwDeiPl.js} +647 -646
- package/dist/coffeescript-CManZxXL.js +4 -0
- package/dist/commonlisp-DWkn7GW8.js +4 -0
- package/dist/{copy-COam1EG7.js → copy-Cs3yt6Vt.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-kjoZoid4.js → cose-bilkent-S5V4N54A-BYj0aL7z.js} +2 -2
- package/dist/crystal-CCbg5EUH.js +4 -0
- package/dist/css-By8eo-XS.js +4 -0
- package/dist/cypher-DwfHg3nP.js +4 -0
- package/dist/d-Brs1wNbw.js +4 -0
- package/dist/{dagre-6UL2VRFP-J0JKgwOt.js → dagre-6UL2VRFP--ruFWg_S.js} +11 -11
- package/dist/{data-grid-overlay-editor-C6lxUJp-.js → data-grid-overlay-editor-BWRG2b_o.js} +2 -2
- package/dist/{diagram-PSM6KHXK-DYgJuNk9.js → diagram-PSM6KHXK-CGakapLj.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CKdBR2sb.js → diagram-QEK2KX5R-CtqD8u_P.js} +17 -17
- package/dist/{diagram-S2PKOQOG-Dpi7mo5W.js → diagram-S2PKOQOG-BS1wa35J.js} +17 -17
- package/dist/diff-DJIRmJ1g.js +4 -0
- package/dist/{dist-Dv_Y15yk.js → dist-3MT9i_N5.js} +2 -2
- package/dist/{dist-CoXAujgg.js → dist-4-bJUNMb.js} +3 -3
- package/dist/{dist-DPrYzMY0.js → dist-9yiSURLw.js} +2 -2
- package/dist/dist-9zfbSqew.js +8 -0
- package/dist/{dist-GZXUmt0b.js → dist-B1k1NmGB.js} +1 -1
- package/dist/{dist-abid3KgM.js → dist-B69xyr_D.js} +1 -1
- package/dist/{dist--2Bqjvs0.js → dist-B96tMAst.js} +2 -2
- package/dist/{dist-t9Kf7xqC.js → dist-BFgLBSJb.js} +1 -1
- package/dist/{dist-DyyjKEYf.js → dist-BGLXXYL4.js} +1 -1
- package/dist/{dist-Bf7SHuNp.js → dist-BGj6VvC-.js} +4 -4
- package/dist/{dist-Bk75fBZA.js → dist-BGtkYshf.js} +1 -1
- package/dist/{dist-CpxNdDkw.js → dist-BIdzGb3O.js} +1 -1
- package/dist/dist-BZ_VEpg8.js +8 -0
- package/dist/{dist-7QfXoMdB.js → dist-BdYVjH1C.js} +1 -1
- package/dist/{dist-D8CDTVgf.js → dist-BiIoKp92.js} +2 -2
- package/dist/dist-Bow9AUXt.js +5 -0
- package/dist/{dist-BSAt6RhH.js → dist-BvCrjp81.js} +2 -2
- package/dist/{dist-DgGbNavJ.js → dist-C-RLuUaE.js} +1 -1
- package/dist/dist-C8odMDp5.js +8 -0
- package/dist/{dist-BY018Paw.js → dist-CLBjD8zw.js} +1 -1
- package/dist/dist-CLgjZx38.js +5 -0
- package/dist/{dist-C_Y3oV3C.js → dist-CNXNPADS.js} +1 -1
- package/dist/{dist-Du8WkPuU.js → dist-CV79CsQ0.js} +2 -2
- package/dist/dist-CnMOJtGP.js +5 -0
- package/dist/dist-D-5m1nDT.js +5 -0
- package/dist/dist-D8AXqiCV.js +5 -0
- package/dist/{dist-LTU8Hdvn.js → dist-DBN2w27P.js} +2 -2
- package/dist/{dist-DL6N_q-A.js → dist-DMuf8sZd.js} +1 -1
- package/dist/{dist-M9Vag9Y0.js → dist-DPH6RMhL.js} +1 -1
- package/dist/{dist-CcWX6tmx.js → dist-DgZczohI.js} +1 -1
- package/dist/dist-DszXOVSb.js +5 -0
- package/dist/dist-GW0m0q65.js +8 -0
- package/dist/{dist-Bf9f8MuT.js → dist-SXNmlE8A.js} +1 -1
- package/dist/{dist-CxJDU6Bh.js → dist-e29IFSI0.js} +3 -3
- package/dist/{dist-BaoDKvdy.js → dist-kcg3gjx6.js} +1 -1
- package/dist/{dist-BR_gyG9L.js → dist-tJic1rC-.js} +1 -1
- package/dist/{dockerfile-twL37N91.js → dockerfile-B82Pkz_V.js} +1 -1
- package/dist/dtd-Dyiazv4N.js +4 -0
- package/dist/dylan-D8Fcw7NA.js +4 -0
- package/dist/ecl-CjKp8Vii.js +4 -0
- package/dist/eiffel-K9ViOX5r.js +4 -0
- package/dist/elm-B5NVtRco.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-BU-m41EQ.js → erDiagram-Q2GNP2WA-DmtIJBsT.js} +15 -15
- package/dist/erlang-BnLzgk7R.js +4 -0
- package/dist/{error-banner-DFPfz_Qf.js → error-banner-DR7o3CbX.js} +68 -68
- package/dist/{esm-M837UxV5.js → esm-BxhNWHqh.js} +2 -2
- package/dist/{esm-ga2Bf3O2.js → esm-D6_uCZ4z.js} +104 -104
- package/dist/{extends-9MVIxxRo.js → extends-B88Yrunj.js} +4 -4
- package/dist/{factor-CajWS6mS.js → factor-Bq2mGIHt.js} +1 -1
- package/dist/factor-C7f9Jz5R.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-CRoXKjGq.js → flowDiagram-NV44I4VS-DZsgBUcQ.js} +17 -17
- package/dist/{formats-CdvkxTS6.js → formats-DSfNdJLH.js} +3 -3
- package/dist/forth-rGM8jLao.js +4 -0
- package/dist/fortran-B3acSe0i.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-7mq5f9cO.js → ganttDiagram-JELNMOA3-CgFhg_6K.js} +10 -10
- package/dist/gas-Bb1Vmv_N.js +4 -0
- package/dist/gherkin-C9Lyidgd.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-DiniR35k.js → gitGraph-G5XIXVHT-BjTx0kww.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-Dfuokq6w.js → gitGraphDiagram-V2S2FVAM-DPInyn1F.js} +17 -17
- package/dist/{glide-data-editor-D5w23DvC.js → glide-data-editor--CaN-f27.js} +13 -13
- package/dist/groovy-DQk6XcGH.js +4 -0
- package/dist/haskell-mV0Vw9gv.js +4 -0
- package/dist/haxe-DqxN89zH.js +5 -0
- package/dist/{html-to-image-f-kPEnn0.js → html-to-image-BoXPmWps.js} +397 -396
- package/dist/idl-ya8W561J.js +4 -0
- package/dist/{info-VBDWY6EO-DVZvGhkQ.js → info-VBDWY6EO-CA67FznA.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-ETAzKIiE.js +30 -0
- package/dist/{input-CF5Sgjba.js → input-DStQIuqD.js} +50 -50
- package/dist/javascript-CgqgptVu.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-8XYSU1GI.js → journeyDiagram-XKPGCS4Q-Bc94zDj1.js} +7 -7
- package/dist/julia-CFQ-HusI.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7--9pT9z1R.js → kanban-definition-3W4ZIXB7-DSk8Ebci.js} +12 -12
- package/dist/{katex-9-9QRhxz.js → katex-C4t-BmrK.js} +1 -1
- package/dist/{label-WfTSU8L4.js → label-DIk0QoFe.js} +2 -2
- package/dist/{line-C5s_12ee.js → line-C43FIPBd.js} +3 -3
- package/dist/{linear-B5-AFRiR.js → linear-H_vsH9ao.js} +4 -4
- package/dist/livescript-D__3TmDo.js +4 -0
- package/dist/{loader-Boph2xIS.js → loader-BUGT0KbC.js} +11 -22
- package/dist/lua-Bytcgj_W.js +4 -0
- package/dist/main.js +1245 -1244
- package/dist/mathematica-DJhvVKvl.js +4 -0
- package/dist/mbox-IGHPCjfR.js +4 -0
- package/dist/{mermaid-4DMBBIKO-Eg3D4FVz.js → mermaid-4DMBBIKO-FXbOziy9.js} +1 -1
- package/dist/{mermaid-BaZJ2mds.js → mermaid-CYkbfJHW.js} +47 -47
- package/dist/{mermaid-parser.core-C3XRsazI.js → mermaid-parser.core-DoivvxPd.js} +8 -8
- package/dist/{mhchem-yiCCuiEF.js → mhchem-EGhUZR1V.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-B-4mnfFG.js → mindmap-definition-VGOIOE7T-BYoCqVAJ.js} +14 -14
- package/dist/mirc-tcwvVugm.js +4 -0
- package/dist/mllike-Dx91i62r.js +6 -0
- package/dist/modelica-_SRt-yU5.js +4 -0
- package/dist/mscgen-GZrGS9gt.js +6 -0
- package/dist/mumps-Cv3ygyod.js +4 -0
- package/dist/nsis-BU7GeGbI.js +4 -0
- package/dist/{nsis-ClF3r5Tr.js → nsis-i9_sgigf.js} +1 -1
- package/dist/ntriples-CL-FCYXb.js +4 -0
- package/dist/{number-overlay-editor-BLJXvX9c.js → number-overlay-editor-Ck_mc_gT.js} +1 -1
- package/dist/objects-De59twF-.js +56 -0
- package/dist/octave-Dc6_3DIu.js +4 -0
- package/dist/{ordinal-ArJavP1Q.js → ordinal-Bkv2-veX.js} +1 -1
- package/dist/oz-DpUAJCXf.js +4 -0
- package/dist/{packet-DYOGHKS2-34raHOiB.js → packet-DYOGHKS2-Bkgofxf3.js} +3 -3
- package/dist/pascal-B17mncXs.js +4 -0
- package/dist/perl-BTpK97q9.js +4 -0
- package/dist/{pie-VRWISCQL-BaLlzZa3.js → pie-VRWISCQL-B1AMhN_7.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-Cr3cNpZY.js → pieDiagram-ADFJNKIX-BaAU79Vb.js} +22 -22
- package/dist/pig-CFb638Ap.js +4 -0
- package/dist/powershell-Cxo-_2A5.js +4 -0
- package/dist/{precisionRound-Tqb4mg-H.js → precisionRound-CnHPY_5v.js} +1 -1
- package/dist/{process-output-O9FeFAVM.js → process-output-CbRRhwQo.js} +4 -4
- package/dist/properties-BPgT1xTB.js +4 -0
- package/dist/protobuf-BgHBaIIK.js +4 -0
- package/dist/pug-25-oS0SG.js +4 -0
- package/dist/{pug-B_rby2yb.js → pug-BhE2JRSg.js} +1 -1
- package/dist/puppet-DarIr20S.js +4 -0
- package/dist/python-BqmOsBsi.js +4 -0
- package/dist/q-D3QJCTup.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BuNL8Q93.js → quadrantDiagram-AYHSOK5B-BmTWJxzo.js} +5 -5
- package/dist/r-Cz_yBX4z.js +4 -0
- package/dist/{radar-ZZBFDIW7-Ci7bfoZa.js → radar-ZZBFDIW7-C2b7A32s.js} +3 -3
- package/dist/{react-vega-B0sAlDTL.js → react-vega-DfJOSnj6.js} +372 -372
- package/dist/{requirementDiagram-UZGBJVZJ-BG2lLUN1.js → requirementDiagram-UZGBJVZJ-Jrs04ua1.js} +14 -14
- package/dist/{reveal-component-BkZp_qsV.js → reveal-component-BF9bUh1w.js} +622 -628
- package/dist/rpm-DGOtYwAI.js +5 -0
- package/dist/ruby-DBZu4rPc.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-DMal8sps.js → sankeyDiagram-TZEHDZUN-YJnhmG4N.js} +5 -5
- package/dist/sas-Dd1D9qTq.js +4 -0
- package/dist/scheme-BmDjvTHX.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-DT6Tk-Eo.js → sequenceDiagram-WL72ISMW-D30L51Bn.js} +8 -8
- package/dist/shell-BL8zFSaj.js +4 -0
- package/dist/sieve-BAx2WqUP.js +4 -0
- package/dist/smalltalk-CYRzF7VV.js +4 -0
- package/dist/sparql-YWaDRO4A.js +4 -0
- package/dist/{spec-DxIove3q.js → spec-CnaxwDqy.js} +4 -4
- package/dist/{src-Bf2iLOlr.js → src-DV3ha_nA.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-CB_lodq3.js → stateDiagram-FKZM4ZOC-C0nZuUP8.js} +17 -17
- package/dist/stateDiagram-v2-4FDKWEC3-BmovmS-G.js +29 -0
- package/dist/{step-CWipAYTY.js → step-BqHnkgWE.js} +1 -1
- package/dist/stex-B5O-env2.js +4 -0
- package/dist/{strings-Dq_j3Rxw.js → strings-BYAhZnQi.js} +354 -354
- package/dist/stylus-lYsyLFc1.js +4 -0
- package/dist/swift-ClQz9z1n.js +4 -0
- package/dist/{swiper-component-5HoSsPi1.js → swiper-component-DE94711u.js} +4 -4
- package/dist/tcl-B3jhsfqY.js +4 -0
- package/dist/textile-Cb1Dw7Aq.js +4 -0
- package/dist/{time-CsmIF9YZ.js → time-Bb4A7I6a.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-NfSKRvH0.js → timeline-definition-IT6M3QCI-DEoIEWAl.js} +4 -4
- package/dist/{toDate-CEOdz9nC.js → toDate-B3IRfHhw.js} +3 -3
- package/dist/toml-nHZhetdO.js +4 -0
- package/dist/{tooltip-Czds6Qr8.js → tooltip-B-qh7UPB.js} +3 -3
- package/dist/{treemap-GDKQZRPO-Cl6OQh8D.js → treemap-GDKQZRPO-SDux0AV8.js} +3 -3
- package/dist/troff-DuJAGWKH.js +4 -0
- package/dist/ttcn-BxrcwP21.js +4 -0
- package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
- package/dist/turtle-zCq949as.js +4 -0
- package/dist/{types-C2Ir191_.js → types-DQl7jVYK.js} +1 -1
- package/dist/use-vega-container-remeasure-DGNrIQSk.js +27 -0
- package/dist/{useAsyncData-Cs0mpJTy.js → useAsyncData-CvO8WUy3.js} +1 -1
- package/dist/{useDateFormatter-CMnRuVmN.js → useDateFormatter-BSoGim-G.js} +2 -2
- package/dist/{useDeepCompareMemoize-DoOZicGb.js → useDeepCompareMemoize-J3MKRdA4.js} +1 -1
- package/dist/{useIframeCapabilities-DWIYvDh7.js → useIframeCapabilities-POcFXHbw.js} +1 -1
- package/dist/{useLifecycle-DR_F1d7F.js → useLifecycle-DqPxHgAN.js} +3 -3
- package/dist/{useTheme-BA-8MM7N.js → useTheme-XMq9mNf_.js} +2 -2
- package/dist/vb-De5hElus.js +4 -0
- package/dist/vbscript-Cypcpv4F.js +4 -0
- package/dist/{vega-component-BN0fz-QA.js → vega-component-uL9ZaXcH.js} +224 -222
- package/dist/vega-embed-container-DgZMMVL3.js +22 -0
- package/dist/{vega-loader.browser-CZ-J8Py3.js → vega-loader.browser-IU8eTDwM.js} +98 -86
- package/dist/velocity-Di7l-yhe.js +4 -0
- package/dist/verilog-Bzi-S3g2.js +4 -0
- package/dist/vhdl-B0ZZITaW.js +4 -0
- package/dist/webidl-0sviiRcN.js +4 -0
- package/dist/xquery-B4qMVWaB.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BvwftqMA.js → xychartDiagram-PRI3JC2R-iwKXEnYZ.js} +13 -13
- package/dist/yacas-Jt25Fuv8.js +4 -0
- package/dist/z80-CrcbYzmp.js +4 -0
- package/dist/{zod-CijjQh4u.js → zod-D0yOqoGe.js} +26 -26
- package/package.json +3 -1
- package/src/components/charts/lazy.tsx +3 -1
- package/src/components/charts/vega-embed-container.tsx +18 -0
- package/src/components/editor/RecoveryButton.tsx +2 -2
- package/src/components/slides/reveal-component.tsx +0 -13
- package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +102 -0
- package/src/plugins/impl/vega/use-vega-container-remeasure.ts +39 -0
- package/src/plugins/impl/vega/vega-component.tsx +5 -4
- package/dist/apl-Bdc61P1y.js +0 -4
- package/dist/architecture-7HQA4BMR-Kyc44TmC.js +0 -6
- package/dist/asciiarmor-DVRHDGzT.js +0 -4
- package/dist/asn1-BmuKfkfu.js +0 -4
- package/dist/brainfuck-DPrRpyTV.js +0 -4
- package/dist/classDiagram-2ON5EDUG-QjoAcuFE.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-bUCv4gu2.js +0 -30
- package/dist/clojure-DEttQW5T.js +0 -4
- package/dist/cmake-jNlx_DaM.js +0 -4
- package/dist/cobol-BvvIm5MJ.js +0 -4
- package/dist/coffeescript-DTpBMyFU.js +0 -4
- package/dist/commonlisp-BmmUG8jb.js +0 -4
- package/dist/crystal-BxyqmEWC.js +0 -4
- package/dist/css-BGoCtuG3.js +0 -4
- package/dist/cypher-BmCbdl3u.js +0 -4
- package/dist/d-CFrlbjZt.js +0 -4
- package/dist/diff-D6XwL6P8.js +0 -4
- package/dist/dist-BEXXyZig.js +0 -5
- package/dist/dist-BYj57OV4.js +0 -5
- package/dist/dist-BlSvQzNr.js +0 -5
- package/dist/dist-CCBlxAgS.js +0 -8
- package/dist/dist-CIDTVIUf.js +0 -5
- package/dist/dist-CqQyhAM8.js +0 -8
- package/dist/dist-CwRu2Xzh.js +0 -5
- package/dist/dist-D8DNB0nO.js +0 -8
- package/dist/dist-DOFbNV_b.js +0 -8
- package/dist/dist-cdmMjgsn.js +0 -5
- package/dist/dtd-Bw0lRN0-.js +0 -4
- package/dist/dylan-B55eBHTt.js +0 -4
- package/dist/ecl-C8G4p0wn.js +0 -4
- package/dist/eiffel-BmH46VJl.js +0 -4
- package/dist/elm-DhzeFqkl.js +0 -4
- package/dist/erlang-CY-wdlsU.js +0 -4
- package/dist/factor-DWkgl0xw.js +0 -4
- package/dist/forth-Cij_ie2t.js +0 -4
- package/dist/fortran-Br3X9cfm.js +0 -4
- package/dist/gas-DYsGcMN2.js +0 -4
- package/dist/gherkin-eVgXQ0fQ.js +0 -4
- package/dist/groovy-_NFHIXG7.js +0 -4
- package/dist/haskell-D6xNG_bH.js +0 -4
- package/dist/haxe-sU_rzAwn.js +0 -5
- package/dist/idl-Ds_VbrUx.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-CEnzWruK.js +0 -30
- package/dist/javascript-CztfIl0i.js +0 -4
- package/dist/julia-DDv40QMV.js +0 -4
- package/dist/livescript-BEOngLLc.js +0 -4
- package/dist/lua-9-7BhQ4Y.js +0 -4
- package/dist/mathematica-DDa0Pfxm.js +0 -4
- package/dist/mbox-iO03mmoE.js +0 -4
- package/dist/mirc-C9z5LT4X.js +0 -4
- package/dist/mllike-jGJbdm_C.js +0 -6
- package/dist/modelica-DzF7oIEL.js +0 -4
- package/dist/mscgen-DB-u125o.js +0 -6
- package/dist/mumps-CRTFHhzh.js +0 -4
- package/dist/nsis-C4NPTuox.js +0 -4
- package/dist/ntriples-BCOoGph1.js +0 -4
- package/dist/octave-DTwNlazz.js +0 -4
- package/dist/oz-DD38AzSz.js +0 -4
- package/dist/pascal-BohSp9jV.js +0 -4
- package/dist/perl-f5OutoPM.js +0 -4
- package/dist/pig-Dv7wSmHb.js +0 -4
- package/dist/powershell-rYgjKB39.js +0 -4
- package/dist/properties-BFUNLRDN.js +0 -4
- package/dist/protobuf-B9QJQPPv.js +0 -4
- package/dist/pug-DzvWpaMC.js +0 -4
- package/dist/puppet-B_K-n_xK.js +0 -4
- package/dist/python-CAiFcaA2.js +0 -4
- package/dist/q-cLeFIBLK.js +0 -4
- package/dist/r-04Y-Wco3.js +0 -4
- package/dist/react-vega-B6ncY2Tp.js +0 -9
- package/dist/rpm-FUdrIia9.js +0 -5
- package/dist/ruby-DMjFXuEW.js +0 -4
- package/dist/sas-DzHZxjXK.js +0 -4
- package/dist/scheme-DxHd_Rb9.js +0 -4
- package/dist/shell-C8Kwypgf.js +0 -4
- package/dist/sieve-DdyqOKXZ.js +0 -4
- package/dist/smalltalk-pB7X1D9y.js +0 -4
- package/dist/sparql-NhBO6oOa.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-E0RGjKsm.js +0 -29
- package/dist/stex-KfRnSHzF.js +0 -4
- package/dist/stylus-SfWSnzPv.js +0 -4
- package/dist/swift-jRPdq2zR.js +0 -4
- package/dist/tcl-_hpTHGX3.js +0 -4
- package/dist/textile-C9h8slqH.js +0 -4
- package/dist/toml-DWvtinD4.js +0 -4
- package/dist/troff-Dwo_A0y7.js +0 -4
- package/dist/ttcn-V--CPFKq.js +0 -4
- package/dist/ttcn-cfg-CPSMchTG.js +0 -4
- package/dist/turtle-B4rPGBWu.js +0 -4
- package/dist/vb-DaMBBd4j.js +0 -4
- package/dist/vbscript-BMJQqcE2.js +0 -4
- package/dist/velocity-CGq2QRq2.js +0 -4
- package/dist/verilog-CUNo8F5u.js +0 -4
- package/dist/vhdl-CCzA0msW.js +0 -4
- package/dist/webidl-CqIMDIBL.js +0 -4
- package/dist/xquery-XC5Kbr-1.js +0 -4
- package/dist/yacas-CGOv7Dzy.js +0 -4
- package/dist/z80-CXhVmi-f.js +0 -4
- /package/dist/{ImageComparisonComponent-1i5IBhon.js → ImageComparisonComponent-C3y7L3eJ.js} +0 -0
- /package/dist/{Plot-CAYS29h9.js → Plot-YQOuVIei.js} +0 -0
- /package/dist/{apl-BCgCq9iM.js → apl-99A7dLQe.js} +0 -0
- /package/dist/{array-tvvEqPy7.js → array-O78LT16Y.js} +0 -0
- /package/dist/{asciiarmor-BtqU-KJQ.js → asciiarmor-DLEhpFDx.js} +0 -0
- /package/dist/{asn1-Dmb-dTMx.js → asn1-CMrcTsT4.js} +0 -0
- /package/dist/{asterisk-DaVJJDnV.js → asterisk-CqykImq7.js} +0 -0
- /package/dist/{brainfuck-C1HoZKlE.js → brainfuck-ChPt5yBe.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-BflwErH1.js → chunk-DR5Q36YT-5Yp2GWwR.js} +0 -0
- /package/dist/{click-outside-container-BLPjMamz.js → click-outside-container-BSIeYt4y.js} +0 -0
- /package/dist/{clike-CdT0yHjt.js → clike-CE0fXfM_.js} +0 -0
- /package/dist/{clojure-CdyrCpUv.js → clojure-QkBEMU-g.js} +0 -0
- /package/dist/{cmake-BFlPxym7.js → cmake-CU1jX7Mo.js} +0 -0
- /package/dist/{cobol-CcJXewp8.js → cobol-DMOKzzky.js} +0 -0
- /package/dist/{coffeescript-DnKuIKRo.js → coffeescript-DjnjLyfk.js} +0 -0
- /package/dist/{colors-CQAOa8cK.js → colors-DmiH1bIH.js} +0 -0
- /package/dist/{common-keywords-FBrXPTcz.js → common-keywords-D3nPJNQP.js} +0 -0
- /package/dist/{commonlisp-B-kok83Z.js → commonlisp-CYd9iOSe.js} +0 -0
- /package/dist/{crystal-FYRYjI1I.js → crystal-Dy55yoYG.js} +0 -0
- /package/dist/{css-B45lc2V3.js → css-CNU8w3HJ.js} +0 -0
- /package/dist/{cypher-DZMLyVY_.js → cypher-q47DGzK7.js} +0 -0
- /package/dist/{cytoscape.esm-ayF70frT.js → cytoscape.esm-Dr8XzXWK.js} +0 -0
- /package/dist/{d-x-VVT4o9.js → d-jEkaLvxX.js} +0 -0
- /package/dist/{defaultLocale-u-3osm0P.js → defaultLocale-BpsHxBd7.js} +0 -0
- /package/dist/{defaultLocale-BoHTsDG6.js → defaultLocale-DoeErsX2.js} +0 -0
- /package/dist/{diff-Dxe2mpXk.js → diff-vb2-unFN.js} +0 -0
- /package/dist/{dist-D-W5ny5a.js → dist-95kpvRSY.js} +0 -0
- /package/dist/{dist-BzEzfugY.js → dist-B56Dml3A.js} +0 -0
- /package/dist/{dist-hT4QzYX-.js → dist-D3T8fCFo.js} +0 -0
- /package/dist/{dist-DZORgqKY.js → dist-DPdzbDlL.js} +0 -0
- /package/dist/{dist-A2846XWO.js → dist-Db1W16d-.js} +0 -0
- /package/dist/{dist-DZo4nSS0.js → dist-DijFs2Lk.js} +0 -0
- /package/dist/{dist-BGdYVvOu.js → dist-DsoKosxi.js} +0 -0
- /package/dist/{dist-Dax--nl9.js → dist-DvOfvWFi.js} +0 -0
- /package/dist/{dist-CIYBwstr.js → dist-Dx3eDsHX.js} +0 -0
- /package/dist/{dist-DMjWuVs8.js → dist-c6wTyIhD.js} +0 -0
- /package/dist/{dtd-C9VM_Wfu.js → dtd-C9kR-bXa.js} +0 -0
- /package/dist/{duckdb-keywords-CvJhR_Yd.js → duckdb-keywords-B6HYCMOT.js} +0 -0
- /package/dist/{dylan-DTSnEIFO.js → dylan-BLckrK-V.js} +0 -0
- /package/dist/{ebnf-2D4Ctp3y.js → ebnf-Cnp3L9jg.js} +0 -0
- /package/dist/{ecl-N04ptnRK.js → ecl-CEsf6XVg.js} +0 -0
- /package/dist/{eiffel-Dd8rpqr_.js → eiffel-2KGZNzx6.js} +0 -0
- /package/dist/{elm-GT2E866W.js → elm-D2s3K5wF.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DzSb5hsH.js → emotion-is-prop-valid.esm-DdVSF4FD.js} +0 -0
- /package/dist/{erlang-Cf0Bp5pY.js → erlang-0PMFOndk.js} +0 -0
- /package/dist/{esm-BaaaPNGl.js → esm-CuQHjs36.js} +0 -0
- /package/dist/{fcl-Ccj8Z5Xd.js → fcl-D9nccAWI.js} +0 -0
- /package/dist/{forth-wd_XzGTg.js → forth-DG89iUsu.js} +0 -0
- /package/dist/{fortran-DcwUTZFe.js → fortran-ytKsAVvu.js} +0 -0
- /package/dist/{gas-DeALIER3.js → gas-Cg2Fm0N2.js} +0 -0
- /package/dist/{gherkin-CKTqaJNX.js → gherkin-B87FEnZ-.js} +0 -0
- /package/dist/{groovy-Bwdp_d8D.js → groovy-Dcs08AWD.js} +0 -0
- /package/dist/{haskell-DCdCcPLK.js → haskell-cwkOuhx6.js} +0 -0
- /package/dist/{haxe-DAyktQWJ.js → haxe-DWEo4q10.js} +0 -0
- /package/dist/{http-_DVAYWoR.js → http-B8jdG64J.js} +0 -0
- /package/dist/{idl-CBuZiRYu.js → idl-WWQwDcRV.js} +0 -0
- /package/dist/{init-uv0kkh4g.js → init-DNBbYZd_.js} +0 -0
- /package/dist/{javascript-DzigE11c.js → javascript-BeR74dxD.js} +0 -0
- /package/dist/{julia-PwfB-0Cm.js → julia-UlvCUYGL.js} +0 -0
- /package/dist/{katex-C_XRmjAP.js → katex-Bld7b-fk.js} +0 -0
- /package/dist/{livescript-BJLz1EbT.js → livescript-GPmFcmYV.js} +0 -0
- /package/dist/{lua-ZC-XC2jf.js → lua-DYoT_0zM.js} +0 -0
- /package/dist/{main-Tj_-QTyF.js → main-B1Jo_8pC.js} +0 -0
- /package/dist/{math-DFcdCCU8.js → math-CBNc2Ib0.js} +0 -0
- /package/dist/{mathematica-DCYMx6qB.js → mathematica-DSFIQlbG.js} +0 -0
- /package/dist/{mbox-OxMK_9XI.js → mbox-ej8lFMdL.js} +0 -0
- /package/dist/{micromark-factory-space-DF2w36zS.js → micromark-factory-space-CwHmg6iz.js} +0 -0
- /package/dist/{mirc-nJVyhA0H.js → mirc-CAdIdvHQ.js} +0 -0
- /package/dist/{mllike-DRO89bsU.js → mllike-CjTB1lHF.js} +0 -0
- /package/dist/{modelica-Don3E6ZD.js → modelica-BB68FYMa.js} +0 -0
- /package/dist/{mscgen-DJfqD3bN.js → mscgen-BkbzgGGI.js} +0 -0
- /package/dist/{mumps-SjGTvDYL.js → mumps-Cu-28E9F.js} +0 -0
- /package/dist/{nginx-DasThI7R.js → nginx-C1ofKPst.js} +0 -0
- /package/dist/{node-sql-parser-B8nBD36q.js → node-sql-parser-DLl_zNw0.js} +0 -0
- /package/dist/{ntriples-CNBKRl3I.js → ntriples-D9cQiZxZ.js} +0 -0
- /package/dist/{octave-DdeVHNlx.js → octave-BvtAnPX0.js} +0 -0
- /package/dist/{once-DPuqGUeo.js → once-B60G2fuJ.js} +0 -0
- /package/dist/{oz-CcKSoNvN.js → oz-COaVHk2E.js} +0 -0
- /package/dist/{pascal-6leftwNj.js → pascal-BFpqVD2x.js} +0 -0
- /package/dist/{path-BGaWgPKg.js → path-DwWbhZFI.js} +0 -0
- /package/dist/{perl-BhJIwWzN.js → perl-DaiORxHP.js} +0 -0
- /package/dist/{pig-r-xDHqRf.js → pig-DFzRhmsF.js} +0 -0
- /package/dist/{powershell-D-BELeNi.js → powershell-BG2LQNKN.js} +0 -0
- /package/dist/{properties-CnuDhbll.js → properties-CqJJR5QY.js} +0 -0
- /package/dist/{protobuf-CO8RBhvX.js → protobuf-WwDYV1yY.js} +0 -0
- /package/dist/{puppet-NmXHjLy8.js → puppet-QNY3w_uN.js} +0 -0
- /package/dist/{purify.es-H92eMd9-.js → purify.es-C-fIGuQm.js} +0 -0
- /package/dist/{python-DAQXi720.js → python-4QrQ3Ugi.js} +0 -0
- /package/dist/{q-DlikXfV0.js → q-DhwXuxE2.js} +0 -0
- /package/dist/{r-CuohilwT.js → r-Df-nkR25.js} +0 -0
- /package/dist/{range-C-rmrM1O.js → range-BOiA8qqU.js} +0 -0
- /package/dist/{rpm-0Pjwp0Pb.js → rpm-Cokue07s.js} +0 -0
- /package/dist/{ruby-Dq8NJTDG.js → ruby-DrYcL3qF.js} +0 -0
- /package/dist/{sas-CuwonyVP.js → sas-CoiPirA5.js} +0 -0
- /package/dist/{scheme-CYU-RRIf.js → scheme-CwFLjzHv.js} +0 -0
- /package/dist/{semaphore-CNDGTzkX.js → semaphore-C8rmHdhj.js} +0 -0
- /package/dist/{shell-COPmX2qE.js → shell-BFV-R24I.js} +0 -0
- /package/dist/{sieve-B_3zyLne.js → sieve-CxwXF5T9.js} +0 -0
- /package/dist/{simple-mode-DSBniks8.js → simple-mode-DTaJtKPt.js} +0 -0
- /package/dist/{smalltalk-DRft7iPv.js → smalltalk-QivVOCtX.js} +0 -0
- /package/dist/{solr-RZ9uTl59.js → solr-BLvysN-c.js} +0 -0
- /package/dist/{sparql-CN6qj55H.js → sparql-nKsFk8j7.js} +0 -0
- /package/dist/{spreadsheet-BNNUNXA2.js → spreadsheet-BWc8C2FT.js} +0 -0
- /package/dist/{sql-B4x8IkwU.js → sql-CWfUjlV1.js} +0 -0
- /package/dist/{stex-BIsgBmK4.js → stex-DtMAhV4-.js} +0 -0
- /package/dist/{stylus-Bn_ZjOQ3.js → stylus-BLKQAycn.js} +0 -0
- /package/dist/{swift-BLUJhMbz.js → swift-CJoKqiKj.js} +0 -0
- /package/dist/{tcl-C86fxecl.js → tcl-YTeYFNUc.js} +0 -0
- /package/dist/{textile-DmHh2rsK.js → textile-C6rKQqMQ.js} +0 -0
- /package/dist/{tiddlywiki-DI0mF2WJ.js → tiddlywiki-ZXwTHGNT.js} +0 -0
- /package/dist/{tiki-2HU6XLLn.js → tiki-C628O_u4.js} +0 -0
- /package/dist/{timer-YZl28NYN.js → timer-BpI_FKSA.js} +0 -0
- /package/dist/{toml-GWANRNAD.js → toml-DxlPGbRy.js} +0 -0
- /package/dist/{treemap-D-ka1hvx.js → treemap-DY3NBr79.js} +0 -0
- /package/dist/{troff-BHTsomIy.js → troff-DFCfH7Ku.js} +0 -0
- /package/dist/{ttcn-DQuhn5Mn.js → ttcn-DAW-ERVP.js} +0 -0
- /package/dist/{ttcn-cfg-HjFYtdB-.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
- /package/dist/{turtle-nCay33Nv.js → turtle-BneV2f8L.js} +0 -0
- /package/dist/{vb-BG-XlqqJ.js → vb-D973Vxxh.js} +0 -0
- /package/dist/{vbscript-B6vyW0-D.js → vbscript-Dckaq3YO.js} +0 -0
- /package/dist/{velocity-CWegueqO.js → velocity-DKty-GUC.js} +0 -0
- /package/dist/{verilog-CzSQm4cG.js → verilog-aNaK_biA.js} +0 -0
- /package/dist/{vhdl-DqnNVL7r.js → vhdl-CQuehnQy.js} +0 -0
- /package/dist/{webidl-DXEUpDWH.js → webidl-Bhg8vaMr.js} +0 -0
- /package/dist/{xquery-Ba_NB5bD.js → xquery-D2q16GaM.js} +0 -0
- /package/dist/{yacas-HKQU6hyk.js → yacas-DHGOHnNa.js} +0 -0
- /package/dist/{z80-CXkHXLdj.js → z80-BPhTmO22.js} +0 -0
|
@@ -2,38 +2,39 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
|
-
import { _ as
|
|
5
|
+
import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n as buttonVariants, p as useComposedRefs, r as cva, t as Button } from "./button-BcSml68y.js";
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
9
|
-
import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-
|
|
10
|
-
import { o as useSize, u as createLucideIcon } from "./dist
|
|
11
|
-
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-
|
|
12
|
-
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
13
|
-
import { t as Check } from "./check-
|
|
14
|
-
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-
|
|
15
|
-
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-
|
|
16
|
-
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-
|
|
17
|
-
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-Cs3yt6Vt.js";
|
|
9
|
+
import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-BoXPmWps.js";
|
|
10
|
+
import { o as useSize, u as createLucideIcon } from "./dist-B96tMAst.js";
|
|
11
|
+
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-DqPxHgAN.js";
|
|
12
|
+
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BSoGim-G.js";
|
|
13
|
+
import { t as Check } from "./check-Cs-KV5XY.js";
|
|
14
|
+
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-BYAhZnQi.js";
|
|
15
|
+
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-DStQIuqD.js";
|
|
16
|
+
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-B3IRfHhw.js";
|
|
17
|
+
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DXlxsrTF.js";
|
|
18
18
|
import { n as clsx_default } from "./clsx-CIWA5tNO.js";
|
|
19
19
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
20
20
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
21
|
-
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-
|
|
22
|
-
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-
|
|
23
|
-
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-
|
|
24
|
-
import { f as CopyClipboardIcon, t as _extends } from "./extends-
|
|
25
|
-
import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-
|
|
21
|
+
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-D0yOqoGe.js";
|
|
22
|
+
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-DR7o3CbX.js";
|
|
23
|
+
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-B-qh7UPB.js";
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-B88Yrunj.js";
|
|
25
|
+
import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-XMq9mNf_.js";
|
|
26
26
|
import { $ as EditorView } from "./dist-U4F-tbMs.js";
|
|
27
27
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
28
28
|
import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { a as
|
|
32
|
-
import { n as
|
|
33
|
-
import { n as
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import { t as
|
|
29
|
+
import { t as Objects } from "./objects-De59twF-.js";
|
|
30
|
+
import { n as once, t as memoizeLastValue } from "./once-B60G2fuJ.js";
|
|
31
|
+
import { a as parser } from "./dist-CNXNPADS.js";
|
|
32
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-DSfNdJLH.js";
|
|
33
|
+
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DdVSF4FD.js";
|
|
34
|
+
import { V as getContainerWidth, n as formats } from "./vega-loader.browser-IU8eTDwM.js";
|
|
35
|
+
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-BUGT0KbC.js";
|
|
36
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-POcFXHbw.js";
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-CvO8WUy3.js";
|
|
37
38
|
let ContextAwarePanelItem, EmotionCacheProvider, prettifyRowColumnCount, loadTableData, useSelectList, dateToLocalISOTime, Filenames, ColumnChartContext, EmptyState, usePrevious, ColumnPreviewContainer, useIntersectionObserver, ContextMenuContent, getMimeValues, ComboboxItem, ChartErrorState, DatePicker, TabsContent, ContextMenuItem, isNullishFilter, CommandInput, LazyVegaEmbed, Command, ChartInfoState, ContextMenuSeparator, Maps, getColumnCountForDisplay, SELECT_COLUMN_ID, getUserColumnVisibilityCounts, TOO_MANY_ROWS, ErrorState, getPageIndexForRow, ContextMenu, toFieldTypes, smartMatch, HtmlOutput, ContextMenuTrigger, dateToLocalISODate, Progress, renderCellValue, ColumnName, DelayMount, DateRangePicker, TabsList, CompactChipRow, Tabs, Combobox, TabsTrigger, CommandList, RenderTextWithLinks, CommandItem, useOverflowDetection, CommandSeparator, Kbd, InstallPackageButton, ArrowDownWideNarrow, TableHeader, DEFAULT_DECK_VERTICAL_ALIGN, GripHorizontal, SlotNames, downloadByURL, generateColumns, SlideSidebar, Expand, Panel, RadioGroup, Code, Fill, hasFunctionProperty, PANEL_TYPES, RadioGroupItem, ChevronsUpDown, Provider$1, DataTable, ChevronLeft, TableHead, OutputRenderer, ChevronsDownUp, TableCell, DEFAULT_DECK_TRANSITION, TextWrap, isCellAwareAtom, prettifyRowCount, INDEX_COLUMN_NAME, LoadingState, loadTableAndRawData, Slide, Ellipsis, PanelGroup, OutputArea, ChevronsLeft, TableBody, marimoVersionAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOwner, DEFAULT_SLIDE_TYPE, Funnel, slotsController, JsonOutput, ChevronsRight, Table, CommandEmpty, ChartLoadingState, showCodeInRunModeAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelType, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, Toggle, useNotebookCodeAvailable, isRecord, contextAwarePanelOpen, Switch, Download, PanelResizeHandle, ADD_PRINTING_CLASS, TableRow, downloadSizeLimitAtom, ColumnChartSpecModel, downloadHTMLAsImage, inferFieldTypes, downloadBlob, NAMELESS_COLUMN_PREFIX, useInternalStateWithSync, dateToLocalISODateTime;
|
|
38
39
|
let __tla = Promise.all([
|
|
39
40
|
(() => {
|
|
@@ -1155,8 +1156,8 @@ let __tla = Promise.all([
|
|
|
1155
1156
|
function h(e2, t2) {
|
|
1156
1157
|
return t2();
|
|
1157
1158
|
}
|
|
1158
|
-
var
|
|
1159
|
-
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ?
|
|
1159
|
+
var v = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? h : d;
|
|
1160
|
+
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? v : t.useSyncExternalStore;
|
|
1160
1161
|
}));
|
|
1161
1162
|
require_shim = __commonJSMin(((e, t) => {
|
|
1162
1163
|
t.exports = require_use_sync_external_store_shim_production();
|
|
@@ -1465,20 +1466,20 @@ let __tla = Promise.all([
|
|
|
1465
1466
|
Defaulting to \`null\`.`;
|
|
1466
1467
|
}
|
|
1467
1468
|
var Root$2 = Progress$1, Indicator$1 = ProgressIndicator, RADIO_NAME = "Radio", [createRadioContext, createRadioScope] = createContextScope(RADIO_NAME), [RadioProvider, useRadioContext] = createRadioContext(RADIO_NAME), Radio = import_react.forwardRef((e, t) => {
|
|
1468
|
-
let { __scopeRadio: n, name: i, checked: a = false, required: o, disabled:
|
|
1469
|
+
let { __scopeRadio: n, name: i, checked: a = false, required: o, disabled: s, value: c = "on", onCheck: f, form: h, ..._ } = e, [v, y] = import_react.useState(null), S = useComposedRefs(t, (e2) => y(e2)), w = import_react.useRef(false), E = v ? h || !!v.closest("form") : true;
|
|
1469
1470
|
return (0, import_jsx_runtime.jsxs)(RadioProvider, {
|
|
1470
1471
|
scope: n,
|
|
1471
1472
|
checked: a,
|
|
1472
|
-
disabled:
|
|
1473
|
+
disabled: s,
|
|
1473
1474
|
children: [
|
|
1474
1475
|
(0, import_jsx_runtime.jsx)(Primitive$1.button, {
|
|
1475
1476
|
type: "button",
|
|
1476
1477
|
role: "radio",
|
|
1477
1478
|
"aria-checked": a,
|
|
1478
1479
|
"data-state": getState$1(a),
|
|
1479
|
-
"data-disabled":
|
|
1480
|
-
disabled:
|
|
1481
|
-
value:
|
|
1480
|
+
"data-disabled": s ? "" : void 0,
|
|
1481
|
+
disabled: s,
|
|
1482
|
+
value: c,
|
|
1482
1483
|
..._,
|
|
1483
1484
|
ref: S,
|
|
1484
1485
|
onClick: composeEventHandlers(e.onClick, (e2) => {
|
|
@@ -1489,10 +1490,10 @@ Defaulting to \`null\`.`;
|
|
|
1489
1490
|
control: v,
|
|
1490
1491
|
bubbles: !w.current,
|
|
1491
1492
|
name: i,
|
|
1492
|
-
value:
|
|
1493
|
+
value: c,
|
|
1493
1494
|
checked: a,
|
|
1494
1495
|
required: o,
|
|
1495
|
-
disabled:
|
|
1496
|
+
disabled: s,
|
|
1496
1497
|
form: h,
|
|
1497
1498
|
style: {
|
|
1498
1499
|
transform: "translateX(-100%)"
|
|
@@ -1516,9 +1517,9 @@ Defaulting to \`null\`.`;
|
|
|
1516
1517
|
});
|
|
1517
1518
|
RadioIndicator.displayName = INDICATOR_NAME;
|
|
1518
1519
|
var BUBBLE_INPUT_NAME$1 = "RadioBubbleInput", RadioBubbleInput = import_react.forwardRef(({ __scopeRadio: e, control: t, checked: n, bubbles: i = true, ...a }, o) => {
|
|
1519
|
-
let
|
|
1520
|
+
let s = import_react.useRef(null), c = useComposedRefs(s, o), f = usePrevious$1(n), h = useSize(t);
|
|
1520
1521
|
return import_react.useEffect(() => {
|
|
1521
|
-
let e2 =
|
|
1522
|
+
let e2 = s.current;
|
|
1522
1523
|
if (!e2) return;
|
|
1523
1524
|
let t2 = window.HTMLInputElement.prototype, a2 = Object.getOwnPropertyDescriptor(t2, "checked").set;
|
|
1524
1525
|
if (f !== n && a2) {
|
|
@@ -1537,7 +1538,7 @@ Defaulting to \`null\`.`;
|
|
|
1537
1538
|
defaultChecked: n,
|
|
1538
1539
|
...a,
|
|
1539
1540
|
tabIndex: -1,
|
|
1540
|
-
ref:
|
|
1541
|
+
ref: c,
|
|
1541
1542
|
style: {
|
|
1542
1543
|
...a.style,
|
|
1543
1544
|
...h,
|
|
@@ -1594,7 +1595,7 @@ Defaulting to \`null\`.`;
|
|
|
1594
1595
|
});
|
|
1595
1596
|
RadioGroup$1.displayName = RADIO_GROUP_NAME;
|
|
1596
1597
|
var ITEM_NAME = "RadioGroupItem", RadioGroupItem$1 = import_react.forwardRef((e, t) => {
|
|
1597
|
-
let { __scopeRadioGroup: n, disabled: i, ...a } = e, o = useRadioGroupContext(ITEM_NAME, n),
|
|
1598
|
+
let { __scopeRadioGroup: n, disabled: i, ...a } = e, o = useRadioGroupContext(ITEM_NAME, n), s = o.disabled || i, c = useRovingFocusGroupScope$1(n), f = useRadioScope(n), h = import_react.useRef(null), _ = useComposedRefs(t, h), v = o.value === a.value, y = import_react.useRef(false);
|
|
1598
1599
|
return import_react.useEffect(() => {
|
|
1599
1600
|
let e2 = (e3) => {
|
|
1600
1601
|
ARROW_KEYS.includes(e3.key) && (y.current = true);
|
|
@@ -1604,11 +1605,11 @@ Defaulting to \`null\`.`;
|
|
|
1604
1605
|
};
|
|
1605
1606
|
}, []), (0, import_jsx_runtime.jsx)(Item, {
|
|
1606
1607
|
asChild: true,
|
|
1607
|
-
...
|
|
1608
|
-
focusable: !
|
|
1608
|
+
...c,
|
|
1609
|
+
focusable: !s,
|
|
1609
1610
|
active: v,
|
|
1610
1611
|
children: (0, import_jsx_runtime.jsx)(Radio, {
|
|
1611
|
-
disabled:
|
|
1612
|
+
disabled: s,
|
|
1612
1613
|
required: o.required,
|
|
1613
1614
|
checked: v,
|
|
1614
1615
|
...f,
|
|
@@ -1637,7 +1638,7 @@ Defaulting to \`null\`.`;
|
|
|
1637
1638
|
});
|
|
1638
1639
|
RadioGroupIndicator.displayName = INDICATOR_NAME2;
|
|
1639
1640
|
var Root2$1 = RadioGroup$1, Item2 = RadioGroupItem$1, Indicator = RadioGroupIndicator, SWITCH_NAME = "Switch", [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME), [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME), Switch$1 = import_react.forwardRef((e, t) => {
|
|
1640
|
-
let { __scopeSwitch: n, name: i, checked: a, defaultChecked: o, required:
|
|
1641
|
+
let { __scopeSwitch: n, name: i, checked: a, defaultChecked: o, required: s, disabled: c, value: f = "on", onCheckedChange: h, form: _, ...v } = e, [y, S] = import_react.useState(null), w = useComposedRefs(t, (e2) => S(e2)), E = import_react.useRef(false), O = y ? _ || !!y.closest("form") : true, [A, M] = useControllableState({
|
|
1641
1642
|
prop: a,
|
|
1642
1643
|
defaultProp: o ?? false,
|
|
1643
1644
|
onChange: h,
|
|
@@ -1646,16 +1647,16 @@ Defaulting to \`null\`.`;
|
|
|
1646
1647
|
return (0, import_jsx_runtime.jsxs)(SwitchProvider, {
|
|
1647
1648
|
scope: n,
|
|
1648
1649
|
checked: A,
|
|
1649
|
-
disabled:
|
|
1650
|
+
disabled: c,
|
|
1650
1651
|
children: [
|
|
1651
1652
|
(0, import_jsx_runtime.jsx)(Primitive$1.button, {
|
|
1652
1653
|
type: "button",
|
|
1653
1654
|
role: "switch",
|
|
1654
1655
|
"aria-checked": A,
|
|
1655
|
-
"aria-required":
|
|
1656
|
+
"aria-required": s,
|
|
1656
1657
|
"data-state": getState(A),
|
|
1657
|
-
"data-disabled":
|
|
1658
|
-
disabled:
|
|
1658
|
+
"data-disabled": c ? "" : void 0,
|
|
1659
|
+
disabled: c,
|
|
1659
1660
|
value: f,
|
|
1660
1661
|
...v,
|
|
1661
1662
|
ref: w,
|
|
@@ -1669,8 +1670,8 @@ Defaulting to \`null\`.`;
|
|
|
1669
1670
|
name: i,
|
|
1670
1671
|
value: f,
|
|
1671
1672
|
checked: A,
|
|
1672
|
-
required:
|
|
1673
|
-
disabled:
|
|
1673
|
+
required: s,
|
|
1674
|
+
disabled: c,
|
|
1674
1675
|
form: _,
|
|
1675
1676
|
style: {
|
|
1676
1677
|
transform: "translateX(-100%)"
|
|
@@ -1691,9 +1692,9 @@ Defaulting to \`null\`.`;
|
|
|
1691
1692
|
});
|
|
1692
1693
|
SwitchThumb.displayName = THUMB_NAME;
|
|
1693
1694
|
var BUBBLE_INPUT_NAME = "SwitchBubbleInput", SwitchBubbleInput = import_react.forwardRef(({ __scopeSwitch: e, control: t, checked: n, bubbles: i = true, ...a }, o) => {
|
|
1694
|
-
let
|
|
1695
|
+
let s = import_react.useRef(null), c = useComposedRefs(s, o), f = usePrevious$1(n), h = useSize(t);
|
|
1695
1696
|
return import_react.useEffect(() => {
|
|
1696
|
-
let e2 =
|
|
1697
|
+
let e2 = s.current;
|
|
1697
1698
|
if (!e2) return;
|
|
1698
1699
|
let t2 = window.HTMLInputElement.prototype, a2 = Object.getOwnPropertyDescriptor(t2, "checked").set;
|
|
1699
1700
|
if (f !== n && a2) {
|
|
@@ -1712,7 +1713,7 @@ Defaulting to \`null\`.`;
|
|
|
1712
1713
|
defaultChecked: n,
|
|
1713
1714
|
...a,
|
|
1714
1715
|
tabIndex: -1,
|
|
1715
|
-
ref:
|
|
1716
|
+
ref: c,
|
|
1716
1717
|
style: {
|
|
1717
1718
|
...a.style,
|
|
1718
1719
|
...h,
|
|
@@ -19163,13 +19164,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19163
19164
|
});
|
|
19164
19165
|
}, import_compiler_runtime$67 = require_compiler_runtime();
|
|
19165
19166
|
HtmlOutput = (0, import_react.memo)((e) => {
|
|
19166
|
-
let t = (0, import_compiler_runtime$67.c)(10), { html: n, inline: i, className:
|
|
19167
|
+
let t = (0, import_compiler_runtime$67.c)(10), { html: n, inline: i, className: a, alwaysSanitizeHtml: s } = e, c = i === void 0 ? false : i;
|
|
19167
19168
|
if (!n) return null;
|
|
19168
19169
|
let d = !c, f;
|
|
19169
|
-
t[0] !==
|
|
19170
|
+
t[0] !== a || t[1] !== c || t[2] !== d ? (f = cn(a, {
|
|
19170
19171
|
"inline-flex": c,
|
|
19171
19172
|
block: d
|
|
19172
|
-
}), t[0] =
|
|
19173
|
+
}), t[0] = a, t[1] = c, t[2] = d, t[3] = f) : f = t[3];
|
|
19173
19174
|
let h;
|
|
19174
19175
|
t[4] !== s || t[5] !== n ? (h = renderHTML({
|
|
19175
19176
|
html: n,
|
|
@@ -19519,7 +19520,7 @@ Please fix this error.`;
|
|
|
19519
19520
|
${n}` : "Please fix this error.";
|
|
19520
19521
|
}
|
|
19521
19522
|
const AutoFixButton = (e) => {
|
|
19522
|
-
let t = (0, import_compiler_runtime$59.c)(25), { errors: n, cellId: i, className:
|
|
19523
|
+
let t = (0, import_compiler_runtime$59.c)(25), { errors: n, cellId: i, className: a } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
|
|
19523
19524
|
if (t[0] !== d || t[1] !== n) {
|
|
19524
19525
|
let e2;
|
|
19525
19526
|
t[3] === d ? e2 = t[4] : (e2 = (e3) => getAutoFixes(e3, {
|
|
@@ -19556,7 +19557,7 @@ ${n}` : "Please fix this error.";
|
|
|
19556
19557
|
});
|
|
19557
19558
|
}, t[11] = i, t[12] = y, t[13] = O) : O = t[13];
|
|
19558
19559
|
let A = O, M;
|
|
19559
|
-
t[14] ===
|
|
19560
|
+
t[14] === a ? M = t[15] : (M = cn("my-2", a), t[14] = a, t[15] = M);
|
|
19560
19561
|
let I;
|
|
19561
19562
|
t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== E || t[20] !== A ? (I = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
19562
19563
|
tooltip: S.description,
|
|
@@ -19715,17 +19716,17 @@ ${n}` : "Please fix this error.";
|
|
|
19715
19716
|
}
|
|
19716
19717
|
var import_compiler_runtime$57 = require_compiler_runtime();
|
|
19717
19718
|
const CellLink = (e) => {
|
|
19718
|
-
let t = (0, import_compiler_runtime$57.c)(12), { className: n, cellId: i, variant:
|
|
19719
|
+
let t = (0, import_compiler_runtime$57.c)(12), { className: n, cellId: i, variant: a, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$12, y;
|
|
19719
19720
|
t[0] === n ? y = t[1] : (y = cn("inline-block cursor-pointer text-link hover:underline", n), t[0] = n, t[1] = y);
|
|
19720
19721
|
let S;
|
|
19721
|
-
t[2] !== i || t[3] !== s || t[4] !== _ || t[5] !== d || t[6] !==
|
|
19722
|
+
t[2] !== i || t[3] !== s || t[4] !== _ || t[5] !== d || t[6] !== a ? (S = (e2) => {
|
|
19722
19723
|
if (i === "__scratch__") return false;
|
|
19723
19724
|
_({
|
|
19724
19725
|
cellId: i
|
|
19725
19726
|
}), e2.stopPropagation(), e2.preventDefault(), requestAnimationFrame(() => {
|
|
19726
|
-
scrollAndHighlightCell(i,
|
|
19727
|
+
scrollAndHighlightCell(i, a, d) && (s == null ? void 0 : s());
|
|
19727
19728
|
});
|
|
19728
|
-
}, t[2] = i, t[3] = s, t[4] = _, t[5] = d, t[6] =
|
|
19729
|
+
}, t[2] = i, t[3] = s, t[4] = _, t[5] = d, t[6] = a, t[7] = S) : S = t[7];
|
|
19729
19730
|
let w = v(displayCellName(f, h)), E;
|
|
19730
19731
|
return t[8] !== y || t[9] !== S || t[10] !== w ? (E = (0, import_jsx_runtime.jsx)("div", {
|
|
19731
19732
|
className: y,
|
|
@@ -19755,9 +19756,9 @@ ${n}` : "Please fix this error.";
|
|
|
19755
19756
|
formatCellName: s
|
|
19756
19757
|
}), t[6] = n, t[7] = o, t[8] = s, t[9] = c) : c = t[9], c;
|
|
19757
19758
|
};
|
|
19758
|
-
function scrollAndHighlightCell(e, t,
|
|
19759
|
-
let
|
|
19760
|
-
return o === null ? (Logger.error(`Cell ${
|
|
19759
|
+
function scrollAndHighlightCell(e, t, n) {
|
|
19760
|
+
let i = HTMLCellId.create(e), o = document.getElementById(i), s = o == null ? void 0 : o.classList.contains("has-error");
|
|
19761
|
+
return o === null ? (Logger.error(`Cell ${i} not found on page.`), false) : (n || o.scrollIntoView({
|
|
19761
19762
|
behavior: "smooth",
|
|
19762
19763
|
block: "center"
|
|
19763
19764
|
}), (t === "destructive" || s && t === void 0) && (o.classList.add("error-outline"), setTimeout(() => {
|
|
@@ -19845,19 +19846,19 @@ ${n}` : "Please fix this error.";
|
|
|
19845
19846
|
});
|
|
19846
19847
|
};
|
|
19847
19848
|
function useInstallPackages() {
|
|
19848
|
-
let [e, t] = (0, import_react.useState)(false), { addPackage:
|
|
19849
|
+
let [e, t] = (0, import_react.useState)(false), { addPackage: n } = useRequestClient();
|
|
19849
19850
|
return {
|
|
19850
19851
|
loading: e,
|
|
19851
|
-
handleInstallPackages: async (e2,
|
|
19852
|
+
handleInstallPackages: async (e2, i) => {
|
|
19852
19853
|
t(true);
|
|
19853
19854
|
try {
|
|
19854
|
-
for (let [t2,
|
|
19855
|
-
let
|
|
19856
|
-
package:
|
|
19855
|
+
for (let [t2, i2] of e2.entries()) {
|
|
19856
|
+
let a = await n({
|
|
19857
|
+
package: i2
|
|
19857
19858
|
});
|
|
19858
|
-
|
|
19859
|
+
a.success ? showAddPackageToast(i2) : showAddPackageToast(i2, a.error), t2 < e2.length - 1 && await new Promise((e3) => setTimeout(e3, 1e3));
|
|
19859
19860
|
}
|
|
19860
|
-
|
|
19861
|
+
i == null ? void 0 : i();
|
|
19861
19862
|
} catch (e3) {
|
|
19862
19863
|
Logger.error(e3);
|
|
19863
19864
|
} finally {
|
|
@@ -20105,7 +20106,7 @@ ${n}` : "Please fix this error.";
|
|
|
20105
20106
|
}), t[7] = e.className, t[8] = o, t[9] = s) : s = t[9], s;
|
|
20106
20107
|
};
|
|
20107
20108
|
const MarimoErrorOutput = (e) => {
|
|
20108
|
-
let t = (0, import_compiler_runtime$54.c)(38), { errors: n, cellId: i, className:
|
|
20109
|
+
let t = (0, import_compiler_runtime$54.c)(38), { errors: n, cellId: i, className: a } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
|
|
20109
20110
|
if (n.some(_temp$10)) d = "Interrupted";
|
|
20110
20111
|
else if (n.some(_temp2$8)) d = "An internal error occurred";
|
|
20111
20112
|
else if (n.some(_temp3$5)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
|
|
@@ -20119,7 +20120,7 @@ ${n}` : "Please fix this error.";
|
|
|
20119
20120
|
i2 && "exception_type" in i2 && (d = i2.exception_type);
|
|
20120
20121
|
}
|
|
20121
20122
|
let y, S, w, E, O, A;
|
|
20122
|
-
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !==
|
|
20123
|
+
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
|
|
20123
20124
|
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), rJ = n.filter(_temp16), iJ = n.filter(_temp17), aJ = n.filter(_temp18), oJ;
|
|
20124
20125
|
t[17] === s ? oJ = t[18] : (oJ = () => {
|
|
20125
20126
|
s.openApplication("scratchpad");
|
|
@@ -20561,7 +20562,7 @@ ${n}` : "Please fix this error.";
|
|
|
20561
20562
|
]
|
|
20562
20563
|
}), t[24] = lJ, t[25] = uJ, t[26] = dJ) : dJ = t[26];
|
|
20563
20564
|
let fJ = dJ;
|
|
20564
|
-
y = Alert, E = f, t[27] ===
|
|
20565
|
+
y = Alert, E = f, t[27] === a ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = O), A = fJ, S = "flex flex-col gap-4", w = cJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
|
|
20565
20566
|
} else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
|
|
20566
20567
|
let M;
|
|
20567
20568
|
t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -20801,14 +20802,14 @@ ${n}` : "Please fix this error.";
|
|
|
20801
20802
|
}
|
|
20802
20803
|
var import_compiler_runtime$53 = require_compiler_runtime();
|
|
20803
20804
|
const TextOutput = (e) => {
|
|
20804
|
-
let t = (0, import_compiler_runtime$53.c)(13), { text: n, channel: i, wrapText:
|
|
20805
|
-
t[0] ===
|
|
20806
|
-
className:
|
|
20805
|
+
let t = (0, import_compiler_runtime$53.c)(13), { text: n, channel: i, wrapText: a } = e, s = i === "stdout" || i === "stderr", c;
|
|
20806
|
+
t[0] === a ? c = t[1] : (c = (e2) => (0, import_jsx_runtime.jsx)("span", {
|
|
20807
|
+
className: a ? "whitespace-pre-wrap wrap-break-word" : "whitespace-pre",
|
|
20807
20808
|
children: (0, import_jsx_runtime.jsx)(RenderTextWithLinks, {
|
|
20808
20809
|
text: e2
|
|
20809
20810
|
})
|
|
20810
|
-
}), t[0] =
|
|
20811
|
-
let d = c, f = !s && (
|
|
20811
|
+
}), t[0] = a, t[1] = c);
|
|
20812
|
+
let d = c, f = !s && (a ? "whitespace-pre-wrap wrap-break-word" : "whitespace-pre"), h = i === "output" && "font-prose", _;
|
|
20812
20813
|
t[2] !== i || t[3] !== f || t[4] !== h ? (_ = cn(f, h, i), t[2] = i, t[3] = f, t[4] = h, t[5] = _) : _ = t[5];
|
|
20813
20814
|
let v;
|
|
20814
20815
|
t[6] !== d || t[7] !== s || t[8] !== n ? (v = s ? d(n) : n, t[6] = d, t[7] = s, t[8] = n, t[9] = v) : v = t[9];
|
|
@@ -20922,8 +20923,8 @@ ${n}` : "Please fix this error.";
|
|
|
20922
20923
|
]
|
|
20923
20924
|
};
|
|
20924
20925
|
}
|
|
20925
|
-
LazyVegaEmbed = import_react.lazy(() => import("./
|
|
20926
|
-
default: e.
|
|
20926
|
+
LazyVegaEmbed = import_react.lazy(() => import("./vega-embed-container-DgZMMVL3.js").then((e) => ({
|
|
20927
|
+
default: e.VegaEmbedContainer
|
|
20927
20928
|
})));
|
|
20928
20929
|
var import_compiler_runtime$50 = require_compiler_runtime();
|
|
20929
20930
|
ChartLoadingState = () => {
|
|
@@ -20951,8 +20952,8 @@ ${n}` : "Please fix this error.";
|
|
|
20951
20952
|
}), t[0] = n, t[1] = i), i;
|
|
20952
20953
|
};
|
|
20953
20954
|
ChartInfoState = (e) => {
|
|
20954
|
-
let t = (0, import_compiler_runtime$50.c)(8), { children: n, className: i } = e,
|
|
20955
|
-
t[0] === i ?
|
|
20955
|
+
let t = (0, import_compiler_runtime$50.c)(8), { children: n, className: i } = e, a;
|
|
20956
|
+
t[0] === i ? a = t[1] : (a = cn("flex flex-col items-center justify-center gap-4", i), t[0] = i, t[1] = a);
|
|
20956
20957
|
let s;
|
|
20957
20958
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(ChartPie, {
|
|
20958
20959
|
className: "w-10 h-10 text-muted-foreground"
|
|
@@ -20963,54 +20964,54 @@ ${n}` : "Please fix this error.";
|
|
|
20963
20964
|
children: n
|
|
20964
20965
|
}), t[3] = n, t[4] = c);
|
|
20965
20966
|
let d;
|
|
20966
|
-
return t[5] !==
|
|
20967
|
-
className:
|
|
20967
|
+
return t[5] !== a || t[6] !== c ? (d = (0, import_jsx_runtime.jsxs)("div", {
|
|
20968
|
+
className: a,
|
|
20968
20969
|
children: [
|
|
20969
20970
|
s,
|
|
20970
20971
|
c
|
|
20971
20972
|
]
|
|
20972
|
-
}), t[5] =
|
|
20973
|
+
}), t[5] = a, t[6] = c, t[7] = d) : d = t[7], d;
|
|
20973
20974
|
};
|
|
20974
20975
|
let import_compiler_runtime$49;
|
|
20975
20976
|
import_compiler_runtime$49 = require_compiler_runtime();
|
|
20976
20977
|
Tabs = Root2;
|
|
20977
20978
|
TabsList = import_react.forwardRef((e, t) => {
|
|
20978
|
-
let n = (0, import_compiler_runtime$49.c)(9), i,
|
|
20979
|
-
n[0] === e ? (i = n[1],
|
|
20979
|
+
let n = (0, import_compiler_runtime$49.c)(9), i, a;
|
|
20980
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
20980
20981
|
let s;
|
|
20981
20982
|
n[3] === i ? s = n[4] : (s = cn("inline-flex max-h-14 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", i), n[3] = i, n[4] = s);
|
|
20982
20983
|
let c;
|
|
20983
|
-
return n[5] !==
|
|
20984
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(List, {
|
|
20984
20985
|
ref: t,
|
|
20985
20986
|
className: s,
|
|
20986
|
-
...
|
|
20987
|
-
}), n[5] =
|
|
20987
|
+
...a
|
|
20988
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
20988
20989
|
});
|
|
20989
20990
|
TabsList.displayName = List.displayName;
|
|
20990
20991
|
TabsTrigger = import_react.forwardRef((e, t) => {
|
|
20991
|
-
let n = (0, import_compiler_runtime$49.c)(9), i,
|
|
20992
|
-
n[0] === e ? (i = n[1],
|
|
20992
|
+
let n = (0, import_compiler_runtime$49.c)(9), i, a;
|
|
20993
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
20993
20994
|
let s;
|
|
20994
20995
|
n[3] === i ? s = n[4] : (s = cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm", i), n[3] = i, n[4] = s);
|
|
20995
20996
|
let c;
|
|
20996
|
-
return n[5] !==
|
|
20997
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(Trigger, {
|
|
20997
20998
|
ref: t,
|
|
20998
20999
|
className: s,
|
|
20999
|
-
...
|
|
21000
|
-
}), n[5] =
|
|
21000
|
+
...a
|
|
21001
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
21001
21002
|
});
|
|
21002
21003
|
TabsTrigger.displayName = Trigger.displayName;
|
|
21003
21004
|
TabsContent = import_react.forwardRef((e, t) => {
|
|
21004
|
-
let n = (0, import_compiler_runtime$49.c)(9), i,
|
|
21005
|
-
n[0] === e ? (i = n[1],
|
|
21005
|
+
let n = (0, import_compiler_runtime$49.c)(9), i, a;
|
|
21006
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
21006
21007
|
let s;
|
|
21007
21008
|
n[3] === i ? s = n[4] : (s = cn("mt-2 ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2", i), n[3] = i, n[4] = s);
|
|
21008
21009
|
let c;
|
|
21009
|
-
return n[5] !==
|
|
21010
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(Content, {
|
|
21010
21011
|
ref: t,
|
|
21011
21012
|
className: s,
|
|
21012
|
-
...
|
|
21013
|
-
}), n[5] =
|
|
21013
|
+
...a
|
|
21014
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
21014
21015
|
});
|
|
21015
21016
|
TabsContent.displayName = Content.displayName;
|
|
21016
21017
|
var import_compiler_runtime$48 = require_compiler_runtime();
|
|
@@ -21152,15 +21153,15 @@ ${n}` : "Please fix this error.";
|
|
|
21152
21153
|
return new e(+new Date(t), this.timeZone);
|
|
21153
21154
|
}
|
|
21154
21155
|
};
|
|
21155
|
-
function prettyDate(e, t,
|
|
21156
|
+
function prettyDate(e, t, n) {
|
|
21156
21157
|
if (e == null) return "";
|
|
21157
21158
|
try {
|
|
21158
|
-
return t === "date" ? new Date(e).toLocaleDateString(
|
|
21159
|
+
return t === "date" ? new Date(e).toLocaleDateString(n, {
|
|
21159
21160
|
year: "numeric",
|
|
21160
21161
|
month: "short",
|
|
21161
21162
|
day: "numeric",
|
|
21162
21163
|
timeZone: "UTC"
|
|
21163
|
-
}) : new Date(e).toLocaleDateString(
|
|
21164
|
+
}) : new Date(e).toLocaleDateString(n, {
|
|
21164
21165
|
year: "numeric",
|
|
21165
21166
|
month: "short",
|
|
21166
21167
|
day: "numeric"
|
|
@@ -21169,14 +21170,14 @@ ${n}` : "Please fix this error.";
|
|
|
21169
21170
|
return Logger.warn("Failed to parse date", t2), e.toString();
|
|
21170
21171
|
}
|
|
21171
21172
|
}
|
|
21172
|
-
function exactDateTime(e, t,
|
|
21173
|
-
let
|
|
21173
|
+
function exactDateTime(e, t, n) {
|
|
21174
|
+
let i = e.getUTCMilliseconds() !== 0;
|
|
21174
21175
|
try {
|
|
21175
21176
|
if (t) {
|
|
21176
|
-
let
|
|
21177
|
-
return
|
|
21177
|
+
let a = new TZDate(e, t), o = getShortTimeZone(t, n);
|
|
21178
|
+
return i ? `${format(a, "yyyy-MM-dd HH:mm:ss.SSS")} ${o}` : `${format(a, "yyyy-MM-dd HH:mm:ss")} ${o}`;
|
|
21178
21179
|
}
|
|
21179
|
-
return
|
|
21180
|
+
return i ? format(e, "yyyy-MM-dd HH:mm:ss.SSS") : format(e, "yyyy-MM-dd HH:mm:ss");
|
|
21180
21181
|
} catch (t2) {
|
|
21181
21182
|
return Logger.warn("Failed to parse date", t2), e.toISOString();
|
|
21182
21183
|
}
|
|
@@ -21218,14 +21219,14 @@ ${n}` : "Please fix this error.";
|
|
|
21218
21219
|
}
|
|
21219
21220
|
Maps = {
|
|
21220
21221
|
keyBy(e, t) {
|
|
21221
|
-
let
|
|
21222
|
-
for (let
|
|
21223
|
-
let e2 = t(
|
|
21224
|
-
|
|
21222
|
+
let n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set();
|
|
21223
|
+
for (let a of e) {
|
|
21224
|
+
let e2 = t(a);
|
|
21225
|
+
n.has(e2) && i.add(e2), n.set(e2, a);
|
|
21225
21226
|
}
|
|
21226
|
-
return
|
|
21227
|
-
...
|
|
21228
|
-
].join(", ")}`),
|
|
21227
|
+
return i.size > 0 && Logger.trace(`Duplicate keys: ${[
|
|
21228
|
+
...i
|
|
21229
|
+
].join(", ")}`), n;
|
|
21229
21230
|
},
|
|
21230
21231
|
collect(e, t, n) {
|
|
21231
21232
|
return Maps.mapValues(Maps.keyBy(e, t), n);
|
|
@@ -21420,15 +21421,15 @@ ${n}` : "Please fix this error.";
|
|
|
21420
21421
|
mimetype: n.mimetype,
|
|
21421
21422
|
timestamp: 0
|
|
21422
21423
|
}, t[0] = n.data, t[1] = n.mimetype, t[2] = i) : i = t[2];
|
|
21423
|
-
let
|
|
21424
|
+
let a = i, s;
|
|
21424
21425
|
t[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = cn("flex items-center space-x-2"), t[3] = s) : s = t[3];
|
|
21425
21426
|
let c;
|
|
21426
|
-
return t[4] ===
|
|
21427
|
+
return t[4] === a ? c = t[5] : (c = (0, import_jsx_runtime.jsx)("div", {
|
|
21427
21428
|
className: s,
|
|
21428
21429
|
children: (0, import_jsx_runtime.jsx)(OutputRenderer, {
|
|
21429
|
-
message:
|
|
21430
|
+
message: a
|
|
21430
21431
|
})
|
|
21431
|
-
}), t[4] =
|
|
21432
|
+
}), t[4] = a, t[5] = c), c;
|
|
21432
21433
|
};
|
|
21433
21434
|
function isMimeValue(e) {
|
|
21434
21435
|
return typeof e == "object" && !!e && "mimetype" in e && "data" in e;
|
|
@@ -23730,16 +23731,16 @@ ${n}` : "Please fix this error.";
|
|
|
23730
23731
|
var import_compiler_runtime$46 = require_compiler_runtime();
|
|
23731
23732
|
function FormatOptions(e) {
|
|
23732
23733
|
var _a2, _b, _c;
|
|
23733
|
-
let t = (0, import_compiler_runtime$46.c)(36), { column: n, locale: i } = e,
|
|
23734
|
-
if (t[0] !== n || t[1] !==
|
|
23734
|
+
let t = (0, import_compiler_runtime$46.c)(36), { column: n, locale: i } = e, a = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dataType, s, c, d, f, h, _, v, y;
|
|
23735
|
+
if (t[0] !== n || t[1] !== a || t[2] !== i) {
|
|
23735
23736
|
y = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
23736
23737
|
bb0: {
|
|
23737
|
-
let e2 =
|
|
23738
|
+
let e2 = a ? formatOptions[a] : [];
|
|
23738
23739
|
if (e2.length === 0 || !((_b = n.getCanFormat) == null ? void 0 : _b.call(n))) {
|
|
23739
23740
|
y = null;
|
|
23740
23741
|
break bb0;
|
|
23741
23742
|
}
|
|
23742
|
-
let S2 = DATA_TYPE_ICON[
|
|
23743
|
+
let S2 = DATA_TYPE_ICON[a || "unknown"], w2;
|
|
23743
23744
|
t[11] === n ? w2 = t[12] : (w2 = (_c = n.getColumnFormatting) == null ? void 0 : _c.call(n), t[11] = n, t[12] = w2);
|
|
23744
23745
|
let E2 = w2;
|
|
23745
23746
|
d = DropdownMenuSub, t[13] === S2 ? v = t[14] : (v = (0, import_jsx_runtime.jsxs)(DropdownMenuSubTrigger, {
|
|
@@ -23780,7 +23781,7 @@ ${n}` : "Please fix this error.";
|
|
|
23780
23781
|
]
|
|
23781
23782
|
}, e3), t[20] = n, t[21] = E2, t[22] = i, t[23] = O) : O = t[23], _ = e2.map(O);
|
|
23782
23783
|
}
|
|
23783
|
-
t[0] = n, t[1] =
|
|
23784
|
+
t[0] = n, t[1] = a, t[2] = i, t[3] = s, t[4] = c, t[5] = d, t[6] = f, t[7] = h, t[8] = _, t[9] = v, t[10] = y;
|
|
23784
23785
|
} else s = t[3], c = t[4], d = t[5], f = t[6], h = t[7], _ = t[8], v = t[9], y = t[10];
|
|
23785
23786
|
if (y !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return y;
|
|
23786
23787
|
let S;
|
|
@@ -24058,12 +24059,12 @@ ${n}` : "Please fix this error.";
|
|
|
24058
24059
|
"Clear filter"
|
|
24059
24060
|
]
|
|
24060
24061
|
}), t[3] = i, t[4] = o), o;
|
|
24061
|
-
}, DataTableColumnHeader = ({ column: e, header: t, subheader: n, justify: i, className:
|
|
24062
|
+
}, DataTableColumnHeader = ({ column: e, header: t, subheader: n, justify: i, className: a, table: s }) => {
|
|
24062
24063
|
var _a2;
|
|
24063
24064
|
let { locale: c } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), d = useFilterEditor();
|
|
24064
24065
|
if (!t) return null;
|
|
24065
24066
|
if (!e.getCanSort() && !e.getCanFilter()) return (0, import_jsx_runtime.jsxs)("div", {
|
|
24066
|
-
className: cn(i === "center" && "text-center", i === "right" && "text-right",
|
|
24067
|
+
className: cn(i === "center" && "text-center", i === "right" && "text-right", a),
|
|
24067
24068
|
children: [
|
|
24068
24069
|
t,
|
|
24069
24070
|
n
|
|
@@ -24071,7 +24072,7 @@ ${n}` : "Please fix this error.";
|
|
|
24071
24072
|
});
|
|
24072
24073
|
let f = e.getFilterValue() !== void 0, h = (_a2 = e.columnDef.meta) == null ? void 0 : _a2.filterType, _ = d !== null && e.getCanFilter() && h !== void 0 && EDITABLE_FILTER_TYPES.has(h), v = _ && h !== void 0 && isMembershipFilterType(h);
|
|
24073
24074
|
return (0, import_jsx_runtime.jsxs)("div", {
|
|
24074
|
-
className: cn("group flex flex-col my-1 w-full select-none",
|
|
24075
|
+
className: cn("group flex flex-col my-1 w-full select-none", a),
|
|
24075
24076
|
children: [
|
|
24076
24077
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
24077
24078
|
className: cn("flex items-center gap-1", i === "right" && "flex-row-reverse", i === "center" && "mx-auto"),
|
|
@@ -24805,10 +24806,10 @@ ${n}` : "Please fix this error.";
|
|
|
24805
24806
|
timeUnit: "yearmonthdate"
|
|
24806
24807
|
};
|
|
24807
24808
|
if (typeof t == "string" && t.length === 19) {
|
|
24808
|
-
let
|
|
24809
|
+
let n = t, i = e[e.length - 1].bin_end;
|
|
24809
24810
|
try {
|
|
24810
|
-
let e2 = new Date(
|
|
24811
|
-
if (new Date(
|
|
24811
|
+
let e2 = new Date(n);
|
|
24812
|
+
if (new Date(i).getTime() - e2.getTime() < 1e3 * 60 * 60 * 24) return {
|
|
24812
24813
|
type: "temporal",
|
|
24813
24814
|
timeUnit: "hoursminutesseconds",
|
|
24814
24815
|
format: READABLE_TIME_FORMAT
|
|
@@ -25941,7 +25942,7 @@ ${n}` : "Please fix this error.";
|
|
|
25941
25942
|
});
|
|
25942
25943
|
}), Objects.entries(t);
|
|
25943
25944
|
};
|
|
25944
|
-
generateColumns = function({ rowHeaders: e, selection: t, fieldTypes: n, chartSpecModel: i, textJustifyColumns:
|
|
25945
|
+
generateColumns = function({ rowHeaders: e, selection: t, fieldTypes: n, chartSpecModel: i, textJustifyColumns: a, wrappedColumns: s, headerTooltip: c, showDataTypes: d, calculateTopKRows: f, fractionDigitsByColumn: h, columnWidths: _ }) {
|
|
25945
25946
|
let v = new Set(e.map(([e2]) => e2)), y = Maps.keyBy(n, (e2) => e2[0]), S = (t2) => {
|
|
25946
25947
|
var _a2, _b;
|
|
25947
25948
|
let n2 = (_a2 = y.get(t2)) == null ? void 0 : _a2[1], i2 = v.has(t2);
|
|
@@ -25962,7 +25963,7 @@ ${n}` : "Please fix this error.";
|
|
|
25962
25963
|
minFractionDigits: h == null ? void 0 : h[t2]
|
|
25963
25964
|
};
|
|
25964
25965
|
}, w = (e2) => {
|
|
25965
|
-
if (
|
|
25966
|
+
if (a == null ? void 0 : a[e2]) return a[e2];
|
|
25966
25967
|
let t2 = S(e2).dataType;
|
|
25967
25968
|
if (isNumericType(t2)) return "right";
|
|
25968
25969
|
}, E = [
|
|
@@ -25976,7 +25977,7 @@ ${n}` : "Please fix this error.";
|
|
|
25976
25977
|
enableHiding: !v.has(e2) && e2 !== "",
|
|
25977
25978
|
header: ({ column: t2, table: n3 }) => {
|
|
25978
25979
|
var _a2;
|
|
25979
|
-
let s2 = i == null ? void 0 : i.getColumnStats(e2), h2 = (_a2 = t2.columnDef.meta) == null ? void 0 : _a2.dtype, _2 = c == null ? void 0 : c[e2], y2 =
|
|
25980
|
+
let s2 = i == null ? void 0 : i.getColumnStats(e2), h2 = (_a2 = t2.columnDef.meta) == null ? void 0 : _a2.dtype, _2 = c == null ? void 0 : c[e2], y2 = a == null ? void 0 : a[e2], S2 = d && h2 ? (0, import_jsx_runtime.jsxs)("div", {
|
|
25980
25981
|
className: cn("flex flex-row gap-1", y2 === "center" && "justify-center", y2 === "right" && "justify-end"),
|
|
25981
25982
|
children: [
|
|
25982
25983
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -26017,16 +26018,16 @@ ${n}` : "Please fix this error.";
|
|
|
26017
26018
|
]
|
|
26018
26019
|
});
|
|
26019
26020
|
},
|
|
26020
|
-
cell: ({ column: n3, renderValue: i2, getValue:
|
|
26021
|
+
cell: ({ column: n3, renderValue: i2, getValue: a2, cell: o }) => {
|
|
26021
26022
|
var _a2, _b;
|
|
26022
26023
|
function c2() {
|
|
26023
26024
|
var _a3;
|
|
26024
|
-
t !== "single-cell" && t !== "multi-cell" || ((_a3 =
|
|
26025
|
+
t !== "single-cell" && t !== "multi-cell" || ((_a3 = o.toggleSelected) == null ? void 0 : _a3.call(o));
|
|
26025
26026
|
}
|
|
26026
|
-
let d2 = w(e2), f2 = s == null ? void 0 : s.includes(e2), h2 = ((_a2 =
|
|
26027
|
+
let d2 = w(e2), f2 = s == null ? void 0 : s.includes(e2), h2 = ((_a2 = o == null ? void 0 : o.getIsSelected) == null ? void 0 : _a2.call(o)) || false, _2 = (t === "single-cell" || t === "multi-cell") && !h2, y2 = (_b = n3.columnDef.meta) == null ? void 0 : _b.dataType, S2 = renderCellValue({
|
|
26027
26028
|
column: n3,
|
|
26028
26029
|
renderValue: i2,
|
|
26029
|
-
getValue:
|
|
26030
|
+
getValue: a2,
|
|
26030
26031
|
selectCell: c2,
|
|
26031
26032
|
cellStyles: getCellStyleClass({
|
|
26032
26033
|
justify: d2,
|
|
@@ -26076,7 +26077,7 @@ ${n}` : "Please fix this error.";
|
|
|
26076
26077
|
enableHiding: false
|
|
26077
26078
|
}), A;
|
|
26078
26079
|
};
|
|
26079
|
-
var PopoutColumn = ({ cellStyles: e, selectCell: t, rawStringValue: n, edges: i, contentClassName:
|
|
26080
|
+
var PopoutColumn = ({ cellStyles: e, selectCell: t, rawStringValue: n, edges: i, contentClassName: a, buttonText: s, wrapped: c, children: d }) => {
|
|
26080
26081
|
let f = i !== void 0 && (i.leading.length > 0 || i.trailing.length > 0) ? n.slice(i.leading.length, n.length - i.trailing.length) : n;
|
|
26081
26082
|
return (0, import_jsx_runtime.jsx)(EmotionCacheProvider, {
|
|
26082
26083
|
container: null,
|
|
@@ -26103,7 +26104,7 @@ ${n}` : "Please fix this error.";
|
|
|
26103
26104
|
})
|
|
26104
26105
|
}),
|
|
26105
26106
|
(0, import_jsx_runtime.jsxs)(PopoverContent, {
|
|
26106
|
-
className:
|
|
26107
|
+
className: a,
|
|
26107
26108
|
align: "start",
|
|
26108
26109
|
alignOffset: 10,
|
|
26109
26110
|
children: [
|
|
@@ -26154,8 +26155,8 @@ ${n}` : "Please fix this error.";
|
|
|
26154
26155
|
return;
|
|
26155
26156
|
}
|
|
26156
26157
|
}
|
|
26157
|
-
function getCellStyleClass({ justify: e = "left", wrapped: t, canSelectCell: n, isSelected: i, isNumeric:
|
|
26158
|
-
return cn(n && "cursor-pointer", i && "relative before:absolute before:inset-0 before:bg-(--blue-3) before:rounded before:-z-10 before:mx-[-4px] before:my-[-2px]", "w-full", "text-left", "truncate",
|
|
26158
|
+
function getCellStyleClass({ justify: e = "left", wrapped: t, canSelectCell: n, isSelected: i, isNumeric: a = false }) {
|
|
26159
|
+
return cn(n && "cursor-pointer", i && "relative before:absolute before:inset-0 before:bg-(--blue-3) before:rounded before:-z-10 before:mx-[-4px] before:my-[-2px]", "w-full", "text-left", "truncate", a && "tabular-nums", e === "center" && "text-center", e === "right" && "text-right", t && "whitespace-pre-wrap min-w-[200px] wrap-break-word");
|
|
26159
26160
|
}
|
|
26160
26161
|
function renderAny(e) {
|
|
26161
26162
|
if (e == null) return "";
|
|
@@ -26173,11 +26174,11 @@ ${n}` : "Please fix this error.";
|
|
|
26173
26174
|
children: i ? format(e, i) : exactDateTime(e, s, a)
|
|
26174
26175
|
});
|
|
26175
26176
|
}
|
|
26176
|
-
renderCellValue = function({ column: e, renderValue: t, getValue:
|
|
26177
|
+
renderCellValue = function({ column: e, renderValue: t, getValue: n, selectCell: i, cellStyles: s }) {
|
|
26177
26178
|
var _a2, _b, _c, _d, _e2;
|
|
26178
|
-
let c =
|
|
26179
|
+
let c = n(), d = (_a2 = e.getColumnFormatting) == null ? void 0 : _a2.call(e), f = (_b = e.columnDef.meta) == null ? void 0 : _b.dataType, h = (_c = e.columnDef.meta) == null ? void 0 : _c.dtype, _ = ((_d = e.getColumnWrapping) == null ? void 0 : _d.call(e)) === "wrap", v = detectSentinel(c, f);
|
|
26179
26180
|
if (v && v.type !== "empty-string") return (0, import_jsx_runtime.jsx)("div", {
|
|
26180
|
-
onClick:
|
|
26181
|
+
onClick: i,
|
|
26181
26182
|
className: s,
|
|
26182
26183
|
children: (0, import_jsx_runtime.jsx)(SentinelCell, {
|
|
26183
26184
|
sentinel: v
|
|
@@ -26185,18 +26186,18 @@ ${n}` : "Please fix this error.";
|
|
|
26185
26186
|
});
|
|
26186
26187
|
if (f === "datetime" && typeof c == "string") try {
|
|
26187
26188
|
if (!isValid(c)) return (0, import_jsx_runtime.jsx)("div", {
|
|
26188
|
-
onClick:
|
|
26189
|
+
onClick: i,
|
|
26189
26190
|
className: s,
|
|
26190
26191
|
children: c
|
|
26191
26192
|
});
|
|
26192
26193
|
let e2 = new Date(c), t2 = getDateFormat(c);
|
|
26193
26194
|
return (0, import_jsx_runtime.jsx)(WithLocale, {
|
|
26194
|
-
children: (
|
|
26195
|
+
children: (n2) => renderDate({
|
|
26195
26196
|
value: e2,
|
|
26196
26197
|
dataType: f,
|
|
26197
26198
|
dtype: h,
|
|
26198
26199
|
format: t2,
|
|
26199
|
-
locale:
|
|
26200
|
+
locale: n2
|
|
26200
26201
|
})
|
|
26201
26202
|
});
|
|
26202
26203
|
} catch (e2) {
|
|
@@ -26210,18 +26211,18 @@ ${n}` : "Please fix this error.";
|
|
|
26210
26211
|
locale: e2
|
|
26211
26212
|
})
|
|
26212
26213
|
}) : (0, import_jsx_runtime.jsx)("div", {
|
|
26213
|
-
onClick:
|
|
26214
|
+
onClick: i,
|
|
26214
26215
|
className: s,
|
|
26215
26216
|
children: c.toString()
|
|
26216
26217
|
});
|
|
26217
26218
|
if (typeof c == "string") {
|
|
26218
|
-
let
|
|
26219
|
-
return v2.every((e2) => e2.type !== "text") ||
|
|
26220
|
-
onClick:
|
|
26219
|
+
let n2 = d ? String(e.applyColumnFormatting(c)) : String(t()), { leading: a, middle: f2, trailing: h2 } = splitLeadingTrailingWhitespace(n2), v2 = parseContent(a.length > 0 || h2.length > 0 ? f2 : n2);
|
|
26220
|
+
return v2.every((e2) => e2.type !== "text") || n2.length < MAX_STRING_LENGTH || _ ? (0, import_jsx_runtime.jsxs)("div", {
|
|
26221
|
+
onClick: i,
|
|
26221
26222
|
className: cn(s, _ && "whitespace-pre-wrap min-w-[200px]"),
|
|
26222
26223
|
children: [
|
|
26223
26224
|
(0, import_jsx_runtime.jsx)(WhitespaceMarkers, {
|
|
26224
|
-
value:
|
|
26225
|
+
value: a
|
|
26225
26226
|
}),
|
|
26226
26227
|
(0, import_jsx_runtime.jsx)(UrlDetector, {
|
|
26227
26228
|
parts: v2
|
|
@@ -26232,28 +26233,28 @@ ${n}` : "Please fix this error.";
|
|
|
26232
26233
|
]
|
|
26233
26234
|
}) : (0, import_jsx_runtime.jsx)(PopoutColumn, {
|
|
26234
26235
|
cellStyles: s,
|
|
26235
|
-
selectCell:
|
|
26236
|
-
rawStringValue:
|
|
26236
|
+
selectCell: i,
|
|
26237
|
+
rawStringValue: n2,
|
|
26237
26238
|
edges: {
|
|
26238
|
-
leading:
|
|
26239
|
+
leading: a,
|
|
26239
26240
|
trailing: h2
|
|
26240
26241
|
},
|
|
26241
26242
|
contentClassName: "max-h-64 overflow-auto whitespace-pre-wrap wrap-break-word text-sm w-96",
|
|
26242
26243
|
buttonText: "X",
|
|
26243
26244
|
wrapped: _,
|
|
26244
26245
|
children: (0, import_jsx_runtime.jsx)(MarkdownUrlDetector, {
|
|
26245
|
-
content:
|
|
26246
|
-
parts: parseContent(
|
|
26246
|
+
content: n2,
|
|
26247
|
+
parts: parseContent(n2)
|
|
26247
26248
|
})
|
|
26248
26249
|
});
|
|
26249
26250
|
}
|
|
26250
26251
|
if (d) return (0, import_jsx_runtime.jsx)("div", {
|
|
26251
|
-
onClick:
|
|
26252
|
+
onClick: i,
|
|
26252
26253
|
className: s,
|
|
26253
26254
|
children: e.applyColumnFormatting(c)
|
|
26254
26255
|
});
|
|
26255
26256
|
if (typeof c == "number") return (0, import_jsx_runtime.jsx)("div", {
|
|
26256
|
-
onClick:
|
|
26257
|
+
onClick: i,
|
|
26257
26258
|
className: s,
|
|
26258
26259
|
children: (0, import_jsx_runtime.jsx)(LocaleNumber, {
|
|
26259
26260
|
value: c,
|
|
@@ -26261,28 +26262,28 @@ ${n}` : "Please fix this error.";
|
|
|
26261
26262
|
})
|
|
26262
26263
|
});
|
|
26263
26264
|
if (typeof c == "boolean") return (0, import_jsx_runtime.jsx)("div", {
|
|
26264
|
-
onClick:
|
|
26265
|
+
onClick: i,
|
|
26265
26266
|
className: s,
|
|
26266
26267
|
children: c ? "True" : "False"
|
|
26267
26268
|
});
|
|
26268
26269
|
if (isPrimitiveOrNullish(c)) {
|
|
26269
26270
|
let e2 = t();
|
|
26270
26271
|
return (0, import_jsx_runtime.jsx)("div", {
|
|
26271
|
-
onClick:
|
|
26272
|
+
onClick: i,
|
|
26272
26273
|
className: s,
|
|
26273
26274
|
children: e2 == null ? "" : String(e2)
|
|
26274
26275
|
});
|
|
26275
26276
|
}
|
|
26276
26277
|
let y = getMimeValues(c);
|
|
26277
26278
|
return y ? (0, import_jsx_runtime.jsx)("div", {
|
|
26278
|
-
onClick:
|
|
26279
|
+
onClick: i,
|
|
26279
26280
|
className: s,
|
|
26280
26281
|
children: y.map((e2, t2) => (0, import_jsx_runtime.jsx)(MimeCell, {
|
|
26281
26282
|
value: e2
|
|
26282
26283
|
}, t2))
|
|
26283
26284
|
}) : Array.isArray(c) || typeof c == "object" ? (0, import_jsx_runtime.jsx)(PopoutColumn, {
|
|
26284
26285
|
cellStyles: s,
|
|
26285
|
-
selectCell:
|
|
26286
|
+
selectCell: i,
|
|
26286
26287
|
rawStringValue: renderAny(c),
|
|
26287
26288
|
wrapped: _,
|
|
26288
26289
|
children: (0, import_jsx_runtime.jsx)(JsonOutput, {
|
|
@@ -26291,7 +26292,7 @@ ${n}` : "Please fix this error.";
|
|
|
26291
26292
|
className: "max-h-64"
|
|
26292
26293
|
})
|
|
26293
26294
|
}) : (0, import_jsx_runtime.jsx)("div", {
|
|
26294
|
-
onClick:
|
|
26295
|
+
onClick: i,
|
|
26295
26296
|
className: s,
|
|
26296
26297
|
children: renderAny(c)
|
|
26297
26298
|
});
|
|
@@ -26306,110 +26307,110 @@ ${n}` : "Please fix this error.";
|
|
|
26306
26307
|
let import_compiler_runtime$39;
|
|
26307
26308
|
import_compiler_runtime$39 = require_compiler_runtime();
|
|
26308
26309
|
Table = import_react.forwardRef((e, t) => {
|
|
26309
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26310
|
-
n[0] === e ? (i = n[1],
|
|
26310
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26311
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26311
26312
|
let s;
|
|
26312
26313
|
n[3] === i ? s = n[4] : (s = cn("w-full caption-bottom text-sm", i), n[3] = i, n[4] = s);
|
|
26313
26314
|
let c;
|
|
26314
|
-
return n[5] !==
|
|
26315
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("div", {
|
|
26315
26316
|
className: "w-full overflow-auto scrollbar-thin flex-1 print:overflow-hidden",
|
|
26316
26317
|
children: (0, import_jsx_runtime.jsx)("table", {
|
|
26317
26318
|
ref: t,
|
|
26318
26319
|
className: s,
|
|
26319
|
-
...
|
|
26320
|
+
...a
|
|
26320
26321
|
})
|
|
26321
|
-
}), n[5] =
|
|
26322
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26322
26323
|
});
|
|
26323
26324
|
Table.displayName = "Table";
|
|
26324
26325
|
TableHeader = import_react.forwardRef((e, t) => {
|
|
26325
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26326
|
-
n[0] === e ? (i = n[1],
|
|
26326
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26327
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26327
26328
|
let s;
|
|
26328
26329
|
n[3] === i ? s = n[4] : (s = cn("[&_tr]:border-b bg-background", i), n[3] = i, n[4] = s);
|
|
26329
26330
|
let c;
|
|
26330
|
-
return n[5] !==
|
|
26331
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("thead", {
|
|
26331
26332
|
ref: t,
|
|
26332
26333
|
className: s,
|
|
26333
|
-
...
|
|
26334
|
-
}), n[5] =
|
|
26334
|
+
...a
|
|
26335
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26335
26336
|
});
|
|
26336
26337
|
TableHeader.displayName = "TableHeader";
|
|
26337
26338
|
TableBody = import_react.forwardRef((e, t) => {
|
|
26338
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26339
|
-
n[0] === e ? (i = n[1],
|
|
26339
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26340
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26340
26341
|
let s;
|
|
26341
26342
|
n[3] === i ? s = n[4] : (s = cn("[&_tr:last-child]:border-0", i), n[3] = i, n[4] = s);
|
|
26342
26343
|
let c;
|
|
26343
|
-
return n[5] !==
|
|
26344
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("tbody", {
|
|
26344
26345
|
ref: t,
|
|
26345
26346
|
className: s,
|
|
26346
|
-
...
|
|
26347
|
-
}), n[5] =
|
|
26347
|
+
...a
|
|
26348
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26348
26349
|
});
|
|
26349
26350
|
TableBody.displayName = "TableBody";
|
|
26350
26351
|
var TableFooter = import_react.forwardRef((e, t) => {
|
|
26351
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26352
|
-
n[0] === e ? (i = n[1],
|
|
26352
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26353
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26353
26354
|
let s;
|
|
26354
26355
|
n[3] === i ? s = n[4] : (s = cn("bg-primary font-medium text-primary-foreground", i), n[3] = i, n[4] = s);
|
|
26355
26356
|
let c;
|
|
26356
|
-
return n[5] !==
|
|
26357
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("tfoot", {
|
|
26357
26358
|
ref: t,
|
|
26358
26359
|
className: s,
|
|
26359
|
-
...
|
|
26360
|
-
}), n[5] =
|
|
26360
|
+
...a
|
|
26361
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26361
26362
|
});
|
|
26362
26363
|
TableFooter.displayName = "TableFooter";
|
|
26363
26364
|
TableRow = import_react.forwardRef((e, t) => {
|
|
26364
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26365
|
-
n[0] === e ? (i = n[1],
|
|
26365
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26366
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26366
26367
|
let s;
|
|
26367
26368
|
n[3] === i ? s = n[4] : (s = cn("border-b transition-colors bg-background hover:bg-(--slate-2) data-[state=selected]:bg-(--slate-3)", i), n[3] = i, n[4] = s);
|
|
26368
26369
|
let c;
|
|
26369
|
-
return n[5] !==
|
|
26370
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("tr", {
|
|
26370
26371
|
ref: t,
|
|
26371
26372
|
className: s,
|
|
26372
|
-
...
|
|
26373
|
-
}), n[5] =
|
|
26373
|
+
...a
|
|
26374
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26374
26375
|
});
|
|
26375
26376
|
TableRow.displayName = "TableRow";
|
|
26376
26377
|
TableHead = import_react.forwardRef((e, t) => {
|
|
26377
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26378
|
-
n[0] === e ? (i = n[1],
|
|
26378
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26379
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26379
26380
|
let s;
|
|
26380
26381
|
n[3] === i ? s = n[4] : (s = cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground has-[[role=checkbox]]:pr-0", i), n[3] = i, n[4] = s);
|
|
26381
26382
|
let c;
|
|
26382
|
-
return n[5] !==
|
|
26383
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("th", {
|
|
26383
26384
|
ref: t,
|
|
26384
26385
|
className: s,
|
|
26385
|
-
...
|
|
26386
|
-
}), n[5] =
|
|
26386
|
+
...a
|
|
26387
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26387
26388
|
});
|
|
26388
26389
|
TableHead.displayName = "TableHead";
|
|
26389
26390
|
TableCell = import_react.forwardRef((e, t) => {
|
|
26390
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26391
|
-
n[0] === e ? (i = n[1],
|
|
26391
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26392
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26392
26393
|
let s;
|
|
26393
26394
|
n[3] === i ? s = n[4] : (s = cn("p-1.5 align-middle has-[[role=checkbox]]:pr-0", i), n[3] = i, n[4] = s);
|
|
26394
26395
|
let c;
|
|
26395
|
-
return n[5] !==
|
|
26396
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("td", {
|
|
26396
26397
|
ref: t,
|
|
26397
26398
|
className: s,
|
|
26398
|
-
...
|
|
26399
|
-
}), n[5] =
|
|
26399
|
+
...a
|
|
26400
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26400
26401
|
});
|
|
26401
26402
|
TableCell.displayName = "TableCell";
|
|
26402
26403
|
var TableCaption = import_react.forwardRef((e, t) => {
|
|
26403
|
-
let n = (0, import_compiler_runtime$39.c)(9), i,
|
|
26404
|
-
n[0] === e ? (i = n[1],
|
|
26404
|
+
let n = (0, import_compiler_runtime$39.c)(9), i, a;
|
|
26405
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
26405
26406
|
let s;
|
|
26406
26407
|
n[3] === i ? s = n[4] : (s = cn("mt-4 text-sm text-muted-foreground", i), n[3] = i, n[4] = s);
|
|
26407
26408
|
let c;
|
|
26408
|
-
return n[5] !==
|
|
26409
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("caption", {
|
|
26409
26410
|
ref: t,
|
|
26410
26411
|
className: s,
|
|
26411
|
-
...
|
|
26412
|
-
}), n[5] =
|
|
26412
|
+
...a
|
|
26413
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
26413
26414
|
});
|
|
26414
26415
|
TableCaption.displayName = "TableCaption";
|
|
26415
26416
|
function mitt_default(e) {
|
|
@@ -27815,8 +27816,8 @@ ${n}` : "Please fix this error.";
|
|
|
27815
27816
|
}
|
|
27816
27817
|
});
|
|
27817
27818
|
Toggle = import_react.forwardRef((e, t) => {
|
|
27818
|
-
let n = (0, import_compiler_runtime$38.c)(13), i,
|
|
27819
|
-
n[0] === e ? (i = n[1],
|
|
27819
|
+
let n = (0, import_compiler_runtime$38.c)(13), i, a, s, c;
|
|
27820
|
+
n[0] === e ? (i = n[1], a = n[2], s = n[3], c = n[4]) : ({ className: i, variant: c, size: s, ...a } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = s, n[4] = c);
|
|
27820
27821
|
let d;
|
|
27821
27822
|
n[5] !== i || n[6] !== s || n[7] !== c ? (d = cn(toggleVariants({
|
|
27822
27823
|
variant: c,
|
|
@@ -27824,11 +27825,11 @@ ${n}` : "Please fix this error.";
|
|
|
27824
27825
|
className: i
|
|
27825
27826
|
})), n[5] = i, n[6] = s, n[7] = c, n[8] = d) : d = n[8];
|
|
27826
27827
|
let f;
|
|
27827
|
-
return n[9] !==
|
|
27828
|
+
return n[9] !== a || n[10] !== t || n[11] !== d ? (f = (0, import_jsx_runtime.jsx)(Root, {
|
|
27828
27829
|
ref: t,
|
|
27829
27830
|
className: d,
|
|
27830
|
-
...
|
|
27831
|
-
}), n[9] =
|
|
27831
|
+
...a
|
|
27832
|
+
}), n[9] = a, n[10] = t, n[11] = d, n[12] = f) : f = n[12], f;
|
|
27832
27833
|
});
|
|
27833
27834
|
Toggle.displayName = Root.displayName;
|
|
27834
27835
|
slotsController = new SlotzController();
|
|
@@ -27989,10 +27990,10 @@ ${n}` : "Please fix this error.";
|
|
|
27989
27990
|
}
|
|
27990
27991
|
function createSlotClone(e) {
|
|
27991
27992
|
let t = import_react.forwardRef((e2, t2) => {
|
|
27992
|
-
let { children: n, ...
|
|
27993
|
+
let { children: n, ...a } = e2;
|
|
27993
27994
|
if (isLazyComponent(n) && typeof use == "function" && (n = use(n._payload)), import_react.isValidElement(n)) {
|
|
27994
|
-
let e3 = getElementRef(n),
|
|
27995
|
-
return n.type !== import_react.Fragment && (
|
|
27995
|
+
let e3 = getElementRef(n), o = mergeProps(a, n.props);
|
|
27996
|
+
return n.type !== import_react.Fragment && (o.ref = t2 ? composeRefs(t2, e3) : e3), import_react.cloneElement(n, o);
|
|
27996
27997
|
}
|
|
27997
27998
|
return import_react.Children.count(n) > 1 ? import_react.Children.only(null) : null;
|
|
27998
27999
|
});
|
|
@@ -28285,19 +28286,19 @@ ${n}` : "Please fix this error.";
|
|
|
28285
28286
|
}, e2))));
|
|
28286
28287
|
}), he$1 = import_react.forwardRef((e, t) => {
|
|
28287
28288
|
var _a2;
|
|
28288
|
-
let n = useId$2(),
|
|
28289
|
+
let n = useId$2(), a = import_react.useRef(null), o = import_react.useContext(fe), s = K$1(), c = pe(e), d = ((_a2 = c.current) == null ? void 0 : _a2.forceMount) ?? (o == null ? void 0 : o.forceMount);
|
|
28289
28290
|
k(() => {
|
|
28290
|
-
if (!
|
|
28291
|
+
if (!d) return s.item(n, o == null ? void 0 : o.id);
|
|
28291
28292
|
}, [
|
|
28292
|
-
|
|
28293
|
+
d
|
|
28293
28294
|
]);
|
|
28294
|
-
let f = ve(n,
|
|
28295
|
+
let f = ve(n, a, [
|
|
28295
28296
|
e.value,
|
|
28296
28297
|
e.children,
|
|
28297
|
-
|
|
28298
|
-
], e.keywords), h = ee(), _ = P$1((e2) => e2.value && e2.value === f.current), v = P$1((e2) =>
|
|
28298
|
+
a
|
|
28299
|
+
], e.keywords), h = ee(), _ = P$1((e2) => e2.value && e2.value === f.current), v = P$1((e2) => d || s.filter() === false ? true : e2.search ? e2.filtered.items.get(n) > 0 : true);
|
|
28299
28300
|
import_react.useEffect(() => {
|
|
28300
|
-
let t2 =
|
|
28301
|
+
let t2 = a.current;
|
|
28301
28302
|
if (!(!t2 || e.disabled)) return t2.addEventListener(Z, y), () => t2.removeEventListener(Z, y);
|
|
28302
28303
|
}, [
|
|
28303
28304
|
v,
|
|
@@ -28306,7 +28307,7 @@ ${n}` : "Please fix this error.";
|
|
|
28306
28307
|
]);
|
|
28307
28308
|
function y() {
|
|
28308
28309
|
var e2, t2;
|
|
28309
|
-
S(), (t2 = (e2 =
|
|
28310
|
+
S(), (t2 = (e2 = c.current).onSelect) == null || t2.call(e2, f.current);
|
|
28310
28311
|
}
|
|
28311
28312
|
function S() {
|
|
28312
28313
|
h.setState("value", f.current, true);
|
|
@@ -28314,7 +28315,7 @@ ${n}` : "Please fix this error.";
|
|
|
28314
28315
|
if (!v) return null;
|
|
28315
28316
|
let { disabled: w, value: E, onSelect: O, forceMount: A, keywords: M, ...I } = e;
|
|
28316
28317
|
return import_react.createElement(Primitive.div, {
|
|
28317
|
-
ref: composeRefs(
|
|
28318
|
+
ref: composeRefs(a, t),
|
|
28318
28319
|
...I,
|
|
28319
28320
|
id: n,
|
|
28320
28321
|
"cmdk-item": "",
|
|
@@ -28323,25 +28324,25 @@ ${n}` : "Please fix this error.";
|
|
|
28323
28324
|
"aria-selected": !!_,
|
|
28324
28325
|
"data-disabled": !!w,
|
|
28325
28326
|
"data-selected": !!_,
|
|
28326
|
-
onPointerMove: w ||
|
|
28327
|
+
onPointerMove: w || s.getDisablePointerSelection() ? void 0 : S,
|
|
28327
28328
|
onClick: w ? void 0 : y
|
|
28328
28329
|
}, e.children);
|
|
28329
28330
|
}), Ee = import_react.forwardRef((e, t) => {
|
|
28330
|
-
let { heading: n, children:
|
|
28331
|
-
k(() => _.group(
|
|
28331
|
+
let { heading: n, children: a, forceMount: o, ...s } = e, c = useId$2(), d = import_react.useRef(null), f = import_react.useRef(null), h = useId$2(), _ = K$1(), v = P$1((e2) => o || _.filter() === false ? true : e2.search ? e2.filtered.groups.has(c) : true);
|
|
28332
|
+
k(() => _.group(c), []), ve(c, d, [
|
|
28332
28333
|
e.value,
|
|
28333
28334
|
e.heading,
|
|
28334
28335
|
f
|
|
28335
28336
|
]);
|
|
28336
28337
|
let y = import_react.useMemo(() => ({
|
|
28337
|
-
id:
|
|
28338
|
-
forceMount:
|
|
28338
|
+
id: c,
|
|
28339
|
+
forceMount: o
|
|
28339
28340
|
}), [
|
|
28340
|
-
|
|
28341
|
+
o
|
|
28341
28342
|
]);
|
|
28342
28343
|
return import_react.createElement(Primitive.div, {
|
|
28343
|
-
ref: composeRefs(
|
|
28344
|
-
...
|
|
28344
|
+
ref: composeRefs(d, t),
|
|
28345
|
+
...s,
|
|
28345
28346
|
"cmdk-group": "",
|
|
28346
28347
|
role: "presentation",
|
|
28347
28348
|
hidden: v ? void 0 : true
|
|
@@ -28358,10 +28359,10 @@ ${n}` : "Please fix this error.";
|
|
|
28358
28359
|
value: y
|
|
28359
28360
|
}, e2))));
|
|
28360
28361
|
}), ye = import_react.forwardRef((e, t) => {
|
|
28361
|
-
let { alwaysRender: n, ...
|
|
28362
|
-
return !n && !
|
|
28363
|
-
ref: composeRefs(
|
|
28364
|
-
...
|
|
28362
|
+
let { alwaysRender: n, ...a } = e, o = import_react.useRef(null), s = P$1((e2) => !e2.search);
|
|
28363
|
+
return !n && !s ? null : import_react.createElement(Primitive.div, {
|
|
28364
|
+
ref: composeRefs(o, t),
|
|
28365
|
+
...a,
|
|
28365
28366
|
"cmdk-separator": "",
|
|
28366
28367
|
role: "separator"
|
|
28367
28368
|
});
|
|
@@ -28392,30 +28393,30 @@ ${n}` : "Please fix this error.";
|
|
|
28392
28393
|
}
|
|
28393
28394
|
});
|
|
28394
28395
|
}), Ce = import_react.forwardRef((e, t) => {
|
|
28395
|
-
let { children: n, label:
|
|
28396
|
+
let { children: n, label: a = "Suggestions", ...o } = e, s = import_react.useRef(null), c = import_react.useRef(null), d = P$1((e2) => e2.selectedItemId), f = K$1();
|
|
28396
28397
|
return import_react.useEffect(() => {
|
|
28397
|
-
if (
|
|
28398
|
-
let e2 =
|
|
28398
|
+
if (c.current && s.current) {
|
|
28399
|
+
let e2 = c.current, t2 = s.current, n2, i = new ResizeObserver(() => {
|
|
28399
28400
|
n2 = requestAnimationFrame(() => {
|
|
28400
28401
|
let n3 = e2.offsetHeight;
|
|
28401
28402
|
t2.style.setProperty("--cmdk-list-height", n3.toFixed(1) + "px");
|
|
28402
28403
|
});
|
|
28403
28404
|
});
|
|
28404
|
-
return
|
|
28405
|
-
cancelAnimationFrame(n2),
|
|
28405
|
+
return i.observe(e2), () => {
|
|
28406
|
+
cancelAnimationFrame(n2), i.unobserve(e2);
|
|
28406
28407
|
};
|
|
28407
28408
|
}
|
|
28408
28409
|
}, []), import_react.createElement(Primitive.div, {
|
|
28409
|
-
ref: composeRefs(
|
|
28410
|
-
...
|
|
28410
|
+
ref: composeRefs(s, t),
|
|
28411
|
+
...o,
|
|
28411
28412
|
"cmdk-list": "",
|
|
28412
28413
|
role: "listbox",
|
|
28413
28414
|
tabIndex: -1,
|
|
28414
|
-
"aria-activedescendant":
|
|
28415
|
-
"aria-label":
|
|
28415
|
+
"aria-activedescendant": d,
|
|
28416
|
+
"aria-label": a,
|
|
28416
28417
|
id: f.listId
|
|
28417
28418
|
}, B(e, (e2) => import_react.createElement("div", {
|
|
28418
|
-
ref: composeRefs(
|
|
28419
|
+
ref: composeRefs(c, f.listInnerRef),
|
|
28419
28420
|
"cmdk-list-sizer": ""
|
|
28420
28421
|
}, e2)));
|
|
28421
28422
|
}), xe = import_react.forwardRef((e, t) => {
|
|
@@ -28556,28 +28557,28 @@ ${n}` : "Please fix this error.";
|
|
|
28556
28557
|
let import_compiler_runtime$36;
|
|
28557
28558
|
import_compiler_runtime$36 = require_compiler_runtime();
|
|
28558
28559
|
Command = import_react.forwardRef((e, t) => {
|
|
28559
|
-
let n = (0, import_compiler_runtime$36.c)(9), i,
|
|
28560
|
-
n[0] === e ? (i = n[1],
|
|
28560
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, a;
|
|
28561
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
28561
28562
|
let s;
|
|
28562
28563
|
n[3] === i ? s = n[4] : (s = cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", i), n[3] = i, n[4] = s);
|
|
28563
28564
|
let c;
|
|
28564
|
-
return n[5] !==
|
|
28565
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(_e, {
|
|
28565
28566
|
ref: t,
|
|
28566
28567
|
filter: smartMatchFilter,
|
|
28567
28568
|
className: s,
|
|
28568
|
-
...
|
|
28569
|
-
}), n[5] =
|
|
28569
|
+
...a
|
|
28570
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
28570
28571
|
});
|
|
28571
28572
|
Command.displayName = _e.displayName;
|
|
28572
28573
|
CommandInput = import_react.forwardRef((e, t) => {
|
|
28573
|
-
let n = (0, import_compiler_runtime$36.c)(19), i,
|
|
28574
|
-
n[0] === e ? (i = n[1],
|
|
28574
|
+
let n = (0, import_compiler_runtime$36.c)(19), i, a, s, c;
|
|
28575
|
+
n[0] === e ? (i = n[1], a = n[2], s = n[3], c = n[4]) : ({ className: i, icon: a, rootClassName: c, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = s, n[4] = c);
|
|
28575
28576
|
let d;
|
|
28576
28577
|
n[5] === c ? d = n[6] : (d = cn("flex items-center border-b px-3", c), n[5] = c, n[6] = d);
|
|
28577
28578
|
let f;
|
|
28578
|
-
n[7] ===
|
|
28579
|
+
n[7] === a ? f = n[8] : (f = a === null ? null : (0, import_jsx_runtime.jsx)(Search, {
|
|
28579
28580
|
className: "mr-2 h-4 w-4 shrink-0 opacity-50"
|
|
28580
|
-
}), n[7] =
|
|
28581
|
+
}), n[7] = a, n[8] = f);
|
|
28581
28582
|
let h;
|
|
28582
28583
|
n[9] === i ? h = n[10] : (h = cn("placeholder:text-foreground-muted flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", i), n[9] = i, n[10] = h);
|
|
28583
28584
|
let _;
|
|
@@ -28598,16 +28599,16 @@ ${n}` : "Please fix this error.";
|
|
|
28598
28599
|
});
|
|
28599
28600
|
CommandInput.displayName = _e.Input.displayName;
|
|
28600
28601
|
CommandList = import_react.forwardRef((e, t) => {
|
|
28601
|
-
let n = (0, import_compiler_runtime$36.c)(9), i,
|
|
28602
|
-
n[0] === e ? (i = n[1],
|
|
28602
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, a;
|
|
28603
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
28603
28604
|
let s;
|
|
28604
28605
|
n[3] === i ? s = n[4] : (s = cn("max-h-[300px] overflow-y-auto overflow-x-hidden", i), n[3] = i, n[4] = s);
|
|
28605
28606
|
let c;
|
|
28606
|
-
return n[5] !==
|
|
28607
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(_e.List, {
|
|
28607
28608
|
ref: t,
|
|
28608
28609
|
className: s,
|
|
28609
|
-
...
|
|
28610
|
-
}), n[5] =
|
|
28610
|
+
...a
|
|
28611
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
28611
28612
|
});
|
|
28612
28613
|
CommandList.displayName = _e.List.displayName;
|
|
28613
28614
|
CommandEmpty = import_react.forwardRef((e, t) => {
|
|
@@ -28620,16 +28621,16 @@ ${n}` : "Please fix this error.";
|
|
|
28620
28621
|
});
|
|
28621
28622
|
CommandEmpty.displayName = _e.Empty.displayName;
|
|
28622
28623
|
var CommandGroup = import_react.forwardRef((e, t) => {
|
|
28623
|
-
let n = (0, import_compiler_runtime$36.c)(9), i,
|
|
28624
|
-
n[0] === e ? (i = n[1],
|
|
28624
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, a;
|
|
28625
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
28625
28626
|
let s;
|
|
28626
28627
|
n[3] === i ? s = n[4] : (s = cn("overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground", i), n[3] = i, n[4] = s);
|
|
28627
28628
|
let c;
|
|
28628
|
-
return n[5] !==
|
|
28629
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(_e.Group, {
|
|
28629
28630
|
ref: t,
|
|
28630
28631
|
className: s,
|
|
28631
|
-
...
|
|
28632
|
-
}), n[5] =
|
|
28632
|
+
...a
|
|
28633
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
28633
28634
|
});
|
|
28634
28635
|
CommandGroup.displayName = _e.Group.displayName;
|
|
28635
28636
|
CommandSeparator = import_react.forwardRef((e, t) => {
|
|
@@ -28648,21 +28649,21 @@ ${n}` : "Please fix this error.";
|
|
|
28648
28649
|
});
|
|
28649
28650
|
CommandSeparator.displayName = _e.Separator.displayName;
|
|
28650
28651
|
CommandItem = import_react.forwardRef((e, t) => {
|
|
28651
|
-
let n = (0, import_compiler_runtime$36.c)(17), i,
|
|
28652
|
+
let n = (0, import_compiler_runtime$36.c)(17), i, a, s, c, d;
|
|
28652
28653
|
if (n[0] !== t || n[1] !== e) {
|
|
28653
28654
|
let { className: f2, variant: h, inset: _, ...v } = e;
|
|
28654
|
-
i = _e.Item,
|
|
28655
|
+
i = _e.Item, a = t, n[7] !== f2 || n[8] !== _ || n[9] !== h ? (s = cn(menuItemVariants({
|
|
28655
28656
|
variant: h,
|
|
28656
28657
|
inset: _
|
|
28657
|
-
}).replace(MENU_ITEM_DISABLED, "data-[disabled=false]:pointer-events-all data-[disabled=false]:opacity-100 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50"), f2), n[7] = f2, n[8] = _, n[9] = h, n[10] = s) : s = n[10], c = v, d = Strings.htmlEscape(v.value), n[0] = t, n[1] = e, n[2] = i, n[3] =
|
|
28658
|
-
} else i = n[2],
|
|
28658
|
+
}).replace(MENU_ITEM_DISABLED, "data-[disabled=false]:pointer-events-all data-[disabled=false]:opacity-100 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50"), f2), n[7] = f2, n[8] = _, n[9] = h, n[10] = s) : s = n[10], c = v, d = Strings.htmlEscape(v.value), n[0] = t, n[1] = e, n[2] = i, n[3] = a, n[4] = s, n[5] = c, n[6] = d;
|
|
28659
|
+
} else i = n[2], a = n[3], s = n[4], c = n[5], d = n[6];
|
|
28659
28660
|
let f;
|
|
28660
|
-
return n[11] !== i || n[12] !==
|
|
28661
|
-
ref:
|
|
28661
|
+
return n[11] !== i || n[12] !== a || n[13] !== s || n[14] !== c || n[15] !== d ? (f = (0, import_jsx_runtime.jsx)(i, {
|
|
28662
|
+
ref: a,
|
|
28662
28663
|
className: s,
|
|
28663
28664
|
...c,
|
|
28664
28665
|
value: d
|
|
28665
|
-
}), n[11] = i, n[12] =
|
|
28666
|
+
}), n[11] = i, n[12] = a, n[13] = s, n[14] = c, n[15] = d, n[16] = f) : f = n[16], f;
|
|
28666
28667
|
});
|
|
28667
28668
|
CommandItem.displayName = _e.Item.displayName;
|
|
28668
28669
|
var import_compiler_runtime$35 = require_compiler_runtime();
|
|
@@ -28672,8 +28673,8 @@ ${n}` : "Please fix this error.";
|
|
|
28672
28673
|
onSelect: Functions.NOOP
|
|
28673
28674
|
});
|
|
28674
28675
|
Combobox = (e) => {
|
|
28675
|
-
let t = (0, import_compiler_runtime$35.c)(106), n, i,
|
|
28676
|
-
t[0] === e ? (n = t[1], i = t[2],
|
|
28676
|
+
let t = (0, import_compiler_runtime$35.c)(106), n, i, a, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
|
|
28677
|
+
t[0] === e ? (n = t[1], i = t[2], a = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: a, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = Q);
|
|
28677
28678
|
let $ = I === void 0 ? false : I, rJ = z === void 0 ? true : z, iJ = U === void 0 ? "Search..." : U, aJ = K === void 0 ? "Nothing found." : K, oJ = q === void 0 ? false : q, sJ = J === void 0 ? false : J, cJ = s ?? false, lJ;
|
|
28678
28679
|
t[25] !== v || t[26] !== w || t[27] !== cJ ? (lJ = {
|
|
28679
28680
|
prop: w,
|
|
@@ -28715,25 +28716,25 @@ ${n}` : "Please fix this error.";
|
|
|
28715
28716
|
isSelected: vJ,
|
|
28716
28717
|
onSelect: bJ
|
|
28717
28718
|
}, t[49] = bJ, t[50] = vJ, t[51] = CJ) : CJ = t[51];
|
|
28718
|
-
let
|
|
28719
|
+
let TJ = CJ, EJ;
|
|
28719
28720
|
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (EJ = cn("relative"), t[52] = EJ) : EJ = t[52];
|
|
28720
28721
|
let DJ;
|
|
28721
28722
|
t[53] !== sJ || t[54] !== dJ ? (DJ = (e2) => {
|
|
28722
28723
|
sJ && e2 || dJ(e2);
|
|
28723
28724
|
}, t[53] = sJ, t[54] = dJ, t[55] = DJ) : DJ = t[55];
|
|
28724
28725
|
let OJ = sJ && "cursor-not-allowed opacity-50", kJ;
|
|
28725
|
-
t[56] !==
|
|
28726
|
-
let
|
|
28727
|
-
t[59] !== O || t[60] !== SJ || t[61] !== hJ ? (
|
|
28726
|
+
t[56] !== a || t[57] !== OJ ? (kJ = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", OJ, a), t[56] = a, t[57] = OJ, t[58] = kJ) : kJ = t[58];
|
|
28727
|
+
let jJ;
|
|
28728
|
+
t[59] !== O || t[60] !== SJ || t[61] !== hJ ? (jJ = O ? O(hJ ?? null) : SJ(), t[59] = O, t[60] = SJ, t[61] = hJ, t[62] = jJ) : jJ = t[62];
|
|
28728
28729
|
let MJ;
|
|
28729
|
-
t[63] ===
|
|
28730
|
+
t[63] === jJ ? MJ = t[64] : (MJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28730
28731
|
className: "truncate flex-1 min-w-0",
|
|
28731
|
-
children:
|
|
28732
|
-
}), t[63] =
|
|
28733
|
-
let
|
|
28734
|
-
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28732
|
+
children: jJ
|
|
28733
|
+
}), t[63] = jJ, t[64] = MJ);
|
|
28734
|
+
let PJ;
|
|
28735
|
+
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (PJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28735
28736
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28736
|
-
}), t[65] =
|
|
28737
|
+
}), t[65] = PJ) : PJ = t[65];
|
|
28737
28738
|
let FJ;
|
|
28738
28739
|
t[66] !== sJ || t[67] !== h || t[68] !== fJ || t[69] !== kJ || t[70] !== MJ ? (FJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28739
28740
|
asChild: true,
|
|
@@ -28745,7 +28746,7 @@ ${n}` : "Please fix this error.";
|
|
|
28745
28746
|
"aria-disabled": sJ,
|
|
28746
28747
|
children: [
|
|
28747
28748
|
MJ,
|
|
28748
|
-
|
|
28749
|
+
PJ
|
|
28749
28750
|
]
|
|
28750
28751
|
})
|
|
28751
28752
|
}), t[66] = sJ, t[67] = h, t[68] = fJ, t[69] = kJ, t[70] = MJ, t[71] = FJ) : FJ = t[71];
|
|
@@ -28762,10 +28763,10 @@ ${n}` : "Please fix this error.";
|
|
|
28762
28763
|
children: aJ
|
|
28763
28764
|
}), t[76] = aJ, t[77] = LJ);
|
|
28764
28765
|
let RJ;
|
|
28765
|
-
t[78] !== n || t[79] !==
|
|
28766
|
-
value:
|
|
28766
|
+
t[78] !== n || t[79] !== TJ ? (RJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28767
|
+
value: TJ,
|
|
28767
28768
|
children: n
|
|
28768
|
-
}), t[78] = n, t[79] =
|
|
28769
|
+
}), t[78] = n, t[79] = TJ, t[80] = RJ) : RJ = t[80];
|
|
28769
28770
|
let zJ;
|
|
28770
28771
|
t[81] !== LJ || t[82] !== RJ ? (zJ = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28771
28772
|
className: "max-h-60 py-.5",
|
|
@@ -28823,10 +28824,10 @@ ${n}` : "Please fix this error.";
|
|
|
28823
28824
|
}), t[102] = A, t[103] = VJ, t[104] = HJ, t[105] = UJ) : UJ = t[105], UJ;
|
|
28824
28825
|
};
|
|
28825
28826
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28826
|
-
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className:
|
|
28827
|
+
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: a, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
28827
28828
|
n[0] !== h || n[1] !== s ? (_ = h.isSelected(s), n[0] = h, n[1] = s, n[2] = _) : _ = n[2];
|
|
28828
28829
|
let v = _, y;
|
|
28829
|
-
n[3] ===
|
|
28830
|
+
n[3] === a ? y = n[4] : (y = cn("pl-6 m-1 py-1", a), n[3] = a, n[4] = y);
|
|
28830
28831
|
let S;
|
|
28831
28832
|
n[5] !== h || n[6] !== c || n[7] !== s ? (S = () => {
|
|
28832
28833
|
h.onSelect(s), c == null ? void 0 : c(s);
|
|
@@ -28858,23 +28859,23 @@ ${n}` : "Please fix this error.";
|
|
|
28858
28859
|
]), Label = (e) => {
|
|
28859
28860
|
let t = (0, import_compiler_runtime$34.c)(8), n, i;
|
|
28860
28861
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28861
|
-
let
|
|
28862
|
-
t[3] === n ?
|
|
28862
|
+
let a;
|
|
28863
|
+
t[3] === n ? a = t[4] : (a = cn(labelVariants(), n), t[3] = n, t[4] = a);
|
|
28863
28864
|
let s;
|
|
28864
|
-
return t[5] !== i || t[6] !==
|
|
28865
|
-
className:
|
|
28865
|
+
return t[5] !== i || t[6] !== a ? (s = (0, import_jsx_runtime.jsx)($01b77f81d0f07f68$export$b04be29aa201d4f5, {
|
|
28866
|
+
className: a,
|
|
28866
28867
|
...i
|
|
28867
|
-
}), t[5] = i, t[6] =
|
|
28868
|
+
}), t[5] = i, t[6] = a, t[7] = s) : s = t[7], s;
|
|
28868
28869
|
}, FieldError = (e) => {
|
|
28869
28870
|
let t = (0, import_compiler_runtime$34.c)(8), n, i;
|
|
28870
28871
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28871
|
-
let
|
|
28872
|
-
t[3] === n ?
|
|
28872
|
+
let a;
|
|
28873
|
+
t[3] === n ? a = t[4] : (a = cn("text-sm font-medium text-destructive", n), t[3] = n, t[4] = a);
|
|
28873
28874
|
let s;
|
|
28874
|
-
return t[5] !== i || t[6] !==
|
|
28875
|
-
className:
|
|
28875
|
+
return t[5] !== i || t[6] !== a ? (s = (0, import_jsx_runtime.jsx)($ee014567cb39d3f0$export$f551688fc98f2e09, {
|
|
28876
|
+
className: a,
|
|
28876
28877
|
...i
|
|
28877
|
-
}), t[5] = i, t[6] =
|
|
28878
|
+
}), t[5] = i, t[6] = a, t[7] = s) : s = t[7], s;
|
|
28878
28879
|
}, fieldGroupVariants = cva("", {
|
|
28879
28880
|
variants: {
|
|
28880
28881
|
variant: {
|
|
@@ -28891,12 +28892,12 @@ ${n}` : "Please fix this error.";
|
|
|
28891
28892
|
variant: "default"
|
|
28892
28893
|
}
|
|
28893
28894
|
}), FieldGroup = (e) => {
|
|
28894
|
-
let t = (0, import_compiler_runtime$34.c)(12), n, i,
|
|
28895
|
-
t[0] === e ? (n = t[1], i = t[2],
|
|
28895
|
+
let t = (0, import_compiler_runtime$34.c)(12), n, i, a;
|
|
28896
|
+
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, variant: a, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
28896
28897
|
let s;
|
|
28897
|
-
t[4] ===
|
|
28898
|
-
variant:
|
|
28899
|
-
}), e2), t[4] =
|
|
28898
|
+
t[4] === a ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
|
|
28899
|
+
variant: a
|
|
28900
|
+
}), e2), t[4] = a, t[5] = s);
|
|
28900
28901
|
let c;
|
|
28901
28902
|
t[6] !== n || t[7] !== s ? (c = $64fa3d84918910a7$export$c245e6201fed2f75(n, s), t[6] = n, t[7] = s, t[8] = c) : c = t[8];
|
|
28902
28903
|
let d;
|
|
@@ -28915,12 +28916,12 @@ ${n}` : "Please fix this error.";
|
|
|
28915
28916
|
...i
|
|
28916
28917
|
}), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
|
|
28917
28918
|
}, DateInput = (e) => {
|
|
28918
|
-
let t = (0, import_compiler_runtime$33.c)(12), n, i,
|
|
28919
|
-
t[0] === e ? (n = t[1], i = t[2],
|
|
28919
|
+
let t = (0, import_compiler_runtime$33.c)(12), n, i, a;
|
|
28920
|
+
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, variant: a, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
28920
28921
|
let s;
|
|
28921
|
-
t[4] ===
|
|
28922
|
-
variant:
|
|
28923
|
-
}), "text-sm", e2), t[4] =
|
|
28922
|
+
t[4] === a ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
|
|
28923
|
+
variant: a
|
|
28924
|
+
}), "text-sm", e2), t[4] = a, t[5] = s);
|
|
28924
28925
|
let c;
|
|
28925
28926
|
t[6] !== n || t[7] !== s ? (c = $64fa3d84918910a7$export$c245e6201fed2f75(n, s), t[6] = n, t[7] = s, t[8] = c) : c = t[8];
|
|
28926
28927
|
let d;
|
|
@@ -28992,8 +28993,8 @@ ${n}` : "Please fix this error.";
|
|
|
28992
28993
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = cn(buttonVariants({
|
|
28993
28994
|
variant: "outline"
|
|
28994
28995
|
}), "size-7 bg-transparent p-0 opacity-50", "data-hovered:opacity-100"), t[0] = i) : i = t[0];
|
|
28995
|
-
let
|
|
28996
|
-
t[1] === n ?
|
|
28996
|
+
let a;
|
|
28997
|
+
t[1] === n ? a = t[2] : (a = (0, import_jsx_runtime.jsx)($d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
|
|
28997
28998
|
slot: "previous",
|
|
28998
28999
|
className: i,
|
|
28999
29000
|
children: n === "rtl" ? (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
@@ -29003,7 +29004,7 @@ ${n}` : "Please fix this error.";
|
|
|
29003
29004
|
"aria-hidden": true,
|
|
29004
29005
|
className: "size-4"
|
|
29005
29006
|
})
|
|
29006
|
-
}), t[1] = n, t[2] =
|
|
29007
|
+
}), t[1] = n, t[2] = a);
|
|
29007
29008
|
let s;
|
|
29008
29009
|
t[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)($5cb03073d3f54797$export$a8a3e93435678ff9, {
|
|
29009
29010
|
className: "grow text-center text-sm font-medium"
|
|
@@ -29025,25 +29026,25 @@ ${n}` : "Please fix this error.";
|
|
|
29025
29026
|
})
|
|
29026
29027
|
}), t[5] = n, t[6] = f);
|
|
29027
29028
|
let h;
|
|
29028
|
-
return t[7] !== e || t[8] !==
|
|
29029
|
+
return t[7] !== e || t[8] !== a || t[9] !== f ? (h = (0, import_jsx_runtime.jsxs)("header", {
|
|
29029
29030
|
className: "flex w-full items-center gap-1 px-1 pb-4",
|
|
29030
29031
|
...e,
|
|
29031
29032
|
children: [
|
|
29032
|
-
|
|
29033
|
+
a,
|
|
29033
29034
|
s,
|
|
29034
29035
|
f
|
|
29035
29036
|
]
|
|
29036
|
-
}), t[7] = e, t[8] =
|
|
29037
|
+
}), t[7] = e, t[8] = a, t[9] = f, t[10] = h) : h = t[10], h;
|
|
29037
29038
|
}, CalendarGrid = (e) => {
|
|
29038
29039
|
let t = (0, import_compiler_runtime$31.c)(8), n, i;
|
|
29039
29040
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
29040
|
-
let
|
|
29041
|
-
t[3] === n ?
|
|
29041
|
+
let a;
|
|
29042
|
+
t[3] === n ? a = t[4] : (a = cn(" border-separate border-spacing-x-0 border-spacing-y-1 ", n), t[3] = n, t[4] = a);
|
|
29042
29043
|
let s;
|
|
29043
|
-
return t[5] !== i || t[6] !==
|
|
29044
|
-
className:
|
|
29044
|
+
return t[5] !== i || t[6] !== a ? (s = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$5bd780d491cfc46c, {
|
|
29045
|
+
className: a,
|
|
29045
29046
|
...i
|
|
29046
|
-
}), t[5] = i, t[6] =
|
|
29047
|
+
}), t[5] = i, t[6] = a, t[7] = s) : s = t[7], s;
|
|
29047
29048
|
}, CalendarGridHeader = (e) => {
|
|
29048
29049
|
let t = (0, import_compiler_runtime$31.c)(4), n;
|
|
29049
29050
|
t[0] === e ? n = t[1] : ({ ...n } = e, t[0] = e, t[1] = n);
|
|
@@ -29054,30 +29055,30 @@ ${n}` : "Please fix this error.";
|
|
|
29054
29055
|
}, CalendarHeaderCell = (e) => {
|
|
29055
29056
|
let t = (0, import_compiler_runtime$31.c)(8), n, i;
|
|
29056
29057
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
29057
|
-
let
|
|
29058
|
-
t[3] === n ?
|
|
29058
|
+
let a;
|
|
29059
|
+
t[3] === n ? a = t[4] : (a = cn("w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground", n), t[3] = n, t[4] = a);
|
|
29059
29060
|
let s;
|
|
29060
|
-
return t[5] !== i || t[6] !==
|
|
29061
|
-
className:
|
|
29061
|
+
return t[5] !== i || t[6] !== a ? (s = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$ad2135cac3a11b3d, {
|
|
29062
|
+
className: a,
|
|
29062
29063
|
...i
|
|
29063
|
-
}), t[5] = i, t[6] =
|
|
29064
|
+
}), t[5] = i, t[6] = a, t[7] = s) : s = t[7], s;
|
|
29064
29065
|
}, CalendarGridBody = (e) => {
|
|
29065
29066
|
let t = (0, import_compiler_runtime$31.c)(8), n, i;
|
|
29066
29067
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
29067
|
-
let
|
|
29068
|
-
t[3] === n ?
|
|
29068
|
+
let a;
|
|
29069
|
+
t[3] === n ? a = t[4] : (a = cn("[&>tr>td]:p-0", n), t[3] = n, t[4] = a);
|
|
29069
29070
|
let s;
|
|
29070
|
-
return t[5] !== i || t[6] !==
|
|
29071
|
-
className:
|
|
29071
|
+
return t[5] !== i || t[6] !== a ? (s = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$e11f8ba65d857bff, {
|
|
29072
|
+
className: a,
|
|
29072
29073
|
...i
|
|
29073
|
-
}), t[5] = i, t[6] =
|
|
29074
|
+
}), t[5] = i, t[6] = a, t[7] = s) : s = t[7], s;
|
|
29074
29075
|
}, CalendarCell = (e) => {
|
|
29075
29076
|
let t = (0, import_compiler_runtime$31.c)(11), n, i;
|
|
29076
29077
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
29077
|
-
let
|
|
29078
|
-
t[3] ===
|
|
29078
|
+
let a = !!import_react.use($dfd62f934fc76fed$export$5e0fc348c00f87a0), s;
|
|
29079
|
+
t[3] === a ? s = t[4] : (s = (e2, t2) => cn(buttonVariants({
|
|
29079
29080
|
variant: "ghost"
|
|
29080
|
-
}), "relative flex size-9 items-center justify-center p-0 text-sm font-normal", t2.isDisabled && "text-muted-foreground opacity-50", t2.isSelected && "bg-primary text-primary-foreground data-focused:bg-primary data-focused:text-primary-foreground", t2.isHovered && t2.isSelected && (t2.isSelectionStart || t2.isSelectionEnd || !
|
|
29081
|
+
}), "relative flex size-9 items-center justify-center p-0 text-sm font-normal", t2.isDisabled && "text-muted-foreground opacity-50", t2.isSelected && "bg-primary text-primary-foreground data-focused:bg-primary data-focused:text-primary-foreground", t2.isHovered && t2.isSelected && (t2.isSelectionStart || t2.isSelectionEnd || !a) && "data-hovered:bg-primary data-hovered:text-primary-foreground", t2.isSelected && a && !t2.isSelectionStart && !t2.isSelectionEnd && "rounded-none bg-accent text-accent-foreground", t2.isOutsideMonth && "text-muted-foreground opacity-50 data-selected:bg-accent/50 data-selected:text-muted-foreground data-selected:opacity-30", t2.date.compare($14e0f24ef4ac5c92$export$d0bdf45af03a6ea3($14e0f24ef4ac5c92$export$aa8b41735afcabd2())) === 0 && !t2.isSelected && "bg-accent text-accent-foreground", t2.isUnavailable && "cursor-default text-destructive ", t2.isInvalid && "bg-destructive text-destructive-foreground data-focused:bg-destructive data-hovered:bg-destructive data-focused:text-destructive-foreground data-hovered:text-destructive-foreground", e2), t[3] = a, t[4] = s);
|
|
29081
29082
|
let d;
|
|
29082
29083
|
t[5] !== n || t[6] !== s ? (d = $64fa3d84918910a7$export$c245e6201fed2f75(n, s), t[5] = n, t[6] = s, t[7] = d) : d = t[7];
|
|
29083
29084
|
let f;
|
|
@@ -29183,17 +29184,17 @@ ${n}` : "Please fix this error.";
|
|
|
29183
29184
|
let import_compiler_runtime$30, DatePickerContent;
|
|
29184
29185
|
import_compiler_runtime$30 = require_compiler_runtime();
|
|
29185
29186
|
DatePickerContent = (e) => {
|
|
29186
|
-
let t = (0, import_compiler_runtime$30.c)(14), n, i,
|
|
29187
|
-
t[0] === e ? (n = t[1], i = t[2],
|
|
29187
|
+
let t = (0, import_compiler_runtime$30.c)(14), n, i, a;
|
|
29188
|
+
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, popoverClassName: i, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
29188
29189
|
let s;
|
|
29189
29190
|
t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$6), t[4] = i, t[5] = s);
|
|
29190
29191
|
let c;
|
|
29191
29192
|
t[6] === n ? c = t[7] : (c = cn("flex w-full flex-col space-y-4 outline-hidden sm:flex-row sm:space-x-4 sm:space-y-0", n), t[6] = n, t[7] = c);
|
|
29192
29193
|
let d;
|
|
29193
|
-
t[8] !==
|
|
29194
|
+
t[8] !== a || t[9] !== c ? (d = (0, import_jsx_runtime.jsx)($de32f1b87079253c$export$3ddf2d174ce01153, {
|
|
29194
29195
|
className: c,
|
|
29195
|
-
...
|
|
29196
|
-
}), t[8] =
|
|
29196
|
+
...a
|
|
29197
|
+
}), t[8] = a, t[9] = c, t[10] = d) : d = t[10];
|
|
29197
29198
|
let f;
|
|
29198
29199
|
return t[11] !== s || t[12] !== d ? (f = (0, import_jsx_runtime.jsx)(Popover$1, {
|
|
29199
29200
|
className: s,
|
|
@@ -29201,8 +29202,8 @@ ${n}` : "Please fix this error.";
|
|
|
29201
29202
|
}), t[11] = s, t[12] = d, t[13] = f) : f = t[13], f;
|
|
29202
29203
|
};
|
|
29203
29204
|
DatePicker = (e) => {
|
|
29204
|
-
let t = (0, import_compiler_runtime$30.c)(26), n, i,
|
|
29205
|
-
t[0] === e ? (n = t[1], i = t[2],
|
|
29205
|
+
let t = (0, import_compiler_runtime$30.c)(26), n, i, a, s, d;
|
|
29206
|
+
t[0] === e ? (n = t[1], i = t[2], a = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: a, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = s, t[5] = d);
|
|
29206
29207
|
let [f, h] = (0, import_react.useState)(false), _;
|
|
29207
29208
|
t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp2$5), t[6] = n, t[7] = _);
|
|
29208
29209
|
let v;
|
|
@@ -29245,9 +29246,9 @@ ${n}` : "Please fix this error.";
|
|
|
29245
29246
|
children: i
|
|
29246
29247
|
}), t[13] = i, t[14] = E);
|
|
29247
29248
|
let O;
|
|
29248
|
-
t[15] ===
|
|
29249
|
-
children:
|
|
29250
|
-
}), t[15] =
|
|
29249
|
+
t[15] === a ? O = t[16] : (O = (0, import_jsx_runtime.jsx)(FieldError, {
|
|
29250
|
+
children: a
|
|
29251
|
+
}), t[15] = a, t[16] = O);
|
|
29251
29252
|
let A;
|
|
29252
29253
|
t[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = (0, import_jsx_runtime.jsx)(CalendarHeading, {}), t[17] = A) : A = t[17];
|
|
29253
29254
|
let M;
|
|
@@ -29284,8 +29285,8 @@ ${n}` : "Please fix this error.";
|
|
|
29284
29285
|
}), t[19] = f, t[20] = d, t[21] = _, t[22] = y, t[23] = E, t[24] = O, t[25] = I) : I = t[25], I;
|
|
29285
29286
|
};
|
|
29286
29287
|
DateRangePicker = (e) => {
|
|
29287
|
-
let t = (0, import_compiler_runtime$30.c)(28), n, i,
|
|
29288
|
-
t[0] === e ? (n = t[1], i = t[2],
|
|
29288
|
+
let t = (0, import_compiler_runtime$30.c)(28), n, i, a, s, d;
|
|
29289
|
+
t[0] === e ? (n = t[1], i = t[2], a = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: a, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = s, t[5] = d);
|
|
29289
29290
|
let [f, h] = (0, import_react.useState)(false), _;
|
|
29290
29291
|
t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp5$1), t[6] = n, t[7] = _);
|
|
29291
29292
|
let v;
|
|
@@ -29337,9 +29338,9 @@ ${n}` : "Please fix this error.";
|
|
|
29337
29338
|
children: i
|
|
29338
29339
|
}), t[15] = i, t[16] = A);
|
|
29339
29340
|
let M;
|
|
29340
|
-
t[17] ===
|
|
29341
|
-
children:
|
|
29342
|
-
}), t[17] =
|
|
29341
|
+
t[17] === a ? M = t[18] : (M = (0, import_jsx_runtime.jsx)(FieldError, {
|
|
29342
|
+
children: a
|
|
29343
|
+
}), t[17] = a, t[18] = M);
|
|
29343
29344
|
let I;
|
|
29344
29345
|
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = (0, import_jsx_runtime.jsx)(CalendarHeading, {}), t[19] = I) : I = t[19];
|
|
29345
29346
|
let z;
|
|
@@ -29571,12 +29572,12 @@ ${n}` : "Please fix this error.";
|
|
|
29571
29572
|
onChange: E,
|
|
29572
29573
|
className: s
|
|
29573
29574
|
}, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] = M) : M = t[36];
|
|
29574
|
-
let
|
|
29575
|
-
return t[37] !== S || t[38] !== M ? (
|
|
29575
|
+
let z;
|
|
29576
|
+
return t[37] !== S || t[38] !== M ? (z = (0, import_jsx_runtime.jsx)("div", {
|
|
29576
29577
|
onPasteCapture: S,
|
|
29577
29578
|
className: "contents",
|
|
29578
29579
|
children: M
|
|
29579
|
-
}), t[37] = S, t[38] = M, t[39] =
|
|
29580
|
+
}), t[37] = S, t[38] = M, t[39] = z) : z = t[39], z;
|
|
29580
29581
|
};
|
|
29581
29582
|
function _temp$5(e) {
|
|
29582
29583
|
return e + 1;
|
|
@@ -29977,7 +29978,7 @@ ${n}` : "Please fix this error.";
|
|
|
29977
29978
|
})
|
|
29978
29979
|
]
|
|
29979
29980
|
});
|
|
29980
|
-
}, FilterByValuesList = ({ column: e, calculateTopKRows: t, chosenValues:
|
|
29981
|
+
}, FilterByValuesList = ({ column: e, calculateTopKRows: t, chosenValues: n, onChange: i, creatable: o = false }) => {
|
|
29981
29982
|
let { data: s, isPending: c, error: d } = useAsyncData(async () => t ? (await t({
|
|
29982
29983
|
column: e.id,
|
|
29983
29984
|
k: TOP_K_ROWS
|
|
@@ -30002,9 +30003,9 @@ ${n}` : "Please fix this error.";
|
|
|
30002
30003
|
s
|
|
30003
30004
|
]),
|
|
30004
30005
|
value: [
|
|
30005
|
-
...
|
|
30006
|
+
...n
|
|
30006
30007
|
],
|
|
30007
|
-
onChange: (e2) =>
|
|
30008
|
+
onChange: (e2) => i(e2),
|
|
30008
30009
|
multiple: true,
|
|
30009
30010
|
filterFn: (e2, t2) => smartMatch(t2, e2) || e2.toLowerCase().includes(t2.toLowerCase()) ? 1 : 0
|
|
30010
30011
|
}), h = f.searchQuery, _ = f.setSearchQuery, v = (0, import_react.useMemo)(() => f.visibleOptions.map((e2) => [
|
|
@@ -30014,11 +30015,11 @@ ${n}` : "Please fix this error.";
|
|
|
30014
30015
|
f.visibleOptions
|
|
30015
30016
|
]), y = (0, import_react.useMemo)(() => {
|
|
30016
30017
|
let e2 = new Set(v.map(([e3]) => e3)), t2 = [];
|
|
30017
|
-
for (let
|
|
30018
|
-
if (e2.has(
|
|
30019
|
-
let
|
|
30020
|
-
(h.length === 0 || smartMatch(h,
|
|
30021
|
-
|
|
30018
|
+
for (let i2 of n) {
|
|
30019
|
+
if (e2.has(i2)) continue;
|
|
30020
|
+
let n2 = String(i2);
|
|
30021
|
+
(h.length === 0 || smartMatch(h, n2) || n2.toLowerCase().includes(h.toLowerCase())) && t2.push([
|
|
30022
|
+
i2,
|
|
30022
30023
|
void 0
|
|
30023
30024
|
]);
|
|
30024
30025
|
}
|
|
@@ -30028,18 +30029,18 @@ ${n}` : "Please fix this error.";
|
|
|
30028
30029
|
];
|
|
30029
30030
|
}, [
|
|
30030
30031
|
v,
|
|
30031
|
-
|
|
30032
|
+
n,
|
|
30032
30033
|
h
|
|
30033
30034
|
]), S = (e2) => {
|
|
30034
|
-
|
|
30035
|
-
...Sets.toggle(
|
|
30035
|
+
i([
|
|
30036
|
+
...Sets.toggle(n, e2)
|
|
30036
30037
|
]);
|
|
30037
30038
|
}, w = h.trim(), E = o && w !== "" && !y.some(([e2]) => String(e2) === w), O = () => {
|
|
30038
|
-
E && (
|
|
30039
|
-
...
|
|
30039
|
+
E && (i([
|
|
30040
|
+
...n,
|
|
30040
30041
|
w
|
|
30041
30042
|
]), _(""));
|
|
30042
|
-
}, A = y.length > 0 && y.every(([e2]) =>
|
|
30043
|
+
}, A = y.length > 0 && y.every(([e2]) => n.has(e2)), M = A ? true : n.size > 0 ? "indeterminate" : false;
|
|
30043
30044
|
return c ? (0, import_jsx_runtime.jsx)(Spinner, {
|
|
30044
30045
|
size: "medium",
|
|
30045
30046
|
className: "mx-auto mt-12 mb-10"
|
|
@@ -30069,10 +30070,10 @@ ${n}` : "Please fix this error.";
|
|
|
30069
30070
|
className: "border-b rounded-none px-3",
|
|
30070
30071
|
onSelect: () => {
|
|
30071
30072
|
if (!s) return;
|
|
30072
|
-
let e2 = new Set(
|
|
30073
|
+
let e2 = new Set(n);
|
|
30073
30074
|
if (A) for (let [t2] of y) e2.delete(t2);
|
|
30074
30075
|
else for (let [t2] of y) e2.add(t2);
|
|
30075
|
-
|
|
30076
|
+
i([
|
|
30076
30077
|
...e2
|
|
30077
30078
|
]);
|
|
30078
30079
|
},
|
|
@@ -30092,9 +30093,9 @@ ${n}` : "Please fix this error.";
|
|
|
30092
30093
|
})
|
|
30093
30094
|
]
|
|
30094
30095
|
}),
|
|
30095
|
-
y.map(([t2,
|
|
30096
|
+
y.map(([t2, i2]) => {
|
|
30096
30097
|
var _a2;
|
|
30097
|
-
let
|
|
30098
|
+
let a = n.has(t2), o2 = stringifyUnknownValue({
|
|
30098
30099
|
value: t2
|
|
30099
30100
|
}), s2 = detectSentinel(t2, (_a2 = e.columnDef.meta) == null ? void 0 : _a2.dataType);
|
|
30100
30101
|
return (0, import_jsx_runtime.jsxs)(CommandItem, {
|
|
@@ -30103,7 +30104,7 @@ ${n}` : "Please fix this error.";
|
|
|
30103
30104
|
onSelect: () => S(t2),
|
|
30104
30105
|
children: [
|
|
30105
30106
|
(0, import_jsx_runtime.jsx)(Checkbox, {
|
|
30106
|
-
checked:
|
|
30107
|
+
checked: a,
|
|
30107
30108
|
"aria-label": "Select row",
|
|
30108
30109
|
className: "mr-3 h-3.5 w-3.5"
|
|
30109
30110
|
}),
|
|
@@ -30115,7 +30116,7 @@ ${n}` : "Please fix this error.";
|
|
|
30115
30116
|
}),
|
|
30116
30117
|
(0, import_jsx_runtime.jsx)("span", {
|
|
30117
30118
|
className: "ml-3",
|
|
30118
|
-
children:
|
|
30119
|
+
children: i2 === void 0 ? "\u2014" : i2
|
|
30119
30120
|
})
|
|
30120
30121
|
]
|
|
30121
30122
|
}, o2);
|
|
@@ -30148,18 +30149,18 @@ ${n}` : "Please fix this error.";
|
|
|
30148
30149
|
};
|
|
30149
30150
|
var import_compiler_runtime$26 = require_compiler_runtime();
|
|
30150
30151
|
const RegexInput = import_react.forwardRef((e, t) => {
|
|
30151
|
-
let n = (0, import_compiler_runtime$26.c)(18), { id: i, value:
|
|
30152
|
+
let n = (0, import_compiler_runtime$26.c)(18), { id: i, value: a, onChange: s, onKeyDown: c, placeholder: d, className: f, autoFocus: h, "aria-label": _ } = e, v = d === void 0 ? "pattern" : d, y;
|
|
30152
30153
|
n[0] === f ? y = n[1] : (y = cn("flex items-stretch h-6 mb-1 rounded-sm border border-input bg-background shadow-xs-solid focus-within:shadow-md-solid focus-within:ring-1 focus-within:ring-ring focus-within:border-primary", f), n[0] = f, n[1] = y);
|
|
30153
30154
|
let S;
|
|
30154
30155
|
n[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (0, import_jsx_runtime.jsx)(Slash, {}), n[2] = S) : S = n[2];
|
|
30155
30156
|
let w;
|
|
30156
30157
|
n[3] === s ? w = n[4] : (w = (e2) => s(e2.target.value), n[3] = s, n[4] = w);
|
|
30157
30158
|
let E;
|
|
30158
|
-
n[5] !== _ || n[6] !== h || n[7] !== i || n[8] !== c || n[9] !== v || n[10] !== t || n[11] !== w || n[12] !==
|
|
30159
|
+
n[5] !== _ || n[6] !== h || n[7] !== i || n[8] !== c || n[9] !== v || n[10] !== t || n[11] !== w || n[12] !== a ? (E = (0, import_jsx_runtime.jsx)(Input, {
|
|
30159
30160
|
ref: t,
|
|
30160
30161
|
id: i,
|
|
30161
30162
|
type: "text",
|
|
30162
|
-
value:
|
|
30163
|
+
value: a,
|
|
30163
30164
|
onChange: w,
|
|
30164
30165
|
onKeyDown: c,
|
|
30165
30166
|
placeholder: v,
|
|
@@ -30167,7 +30168,7 @@ ${n}` : "Please fix this error.";
|
|
|
30167
30168
|
"aria-label": _,
|
|
30168
30169
|
rootClassName: "flex-1 min-w-0",
|
|
30169
30170
|
className: "border-0 mb-0 h-full shadow-none! hover:shadow-none! focus-visible:shadow-none! focus-visible:ring-0 focus-visible:border-0 rounded-none bg-transparent"
|
|
30170
|
-
}), n[5] = _, n[6] = h, n[7] = i, n[8] = c, n[9] = v, n[10] = t, n[11] = w, n[12] =
|
|
30171
|
+
}), n[5] = _, n[6] = h, n[7] = i, n[8] = c, n[9] = v, n[10] = t, n[11] = w, n[12] = a, n[13] = E) : E = n[13];
|
|
30171
30172
|
let O;
|
|
30172
30173
|
n[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = (0, import_jsx_runtime.jsx)(Slash, {}), n[14] = O) : O = n[14];
|
|
30173
30174
|
let A;
|
|
@@ -30240,7 +30241,7 @@ ${n}` : "Please fix this error.";
|
|
|
30240
30241
|
type: S,
|
|
30241
30242
|
operator: E,
|
|
30242
30243
|
draft: mergeNumberTextDraft(A, I)
|
|
30243
|
-
}), $ = Q === void 0, rJ = $ ? getMissingValueMessage(S, E) : "Apply filter",
|
|
30244
|
+
}), $ = Q === void 0, rJ = $ ? getMissingValueMessage(S, E) : "Apply filter", aJ = () => {
|
|
30244
30245
|
if (!Q) return;
|
|
30245
30246
|
let e2 = Q;
|
|
30246
30247
|
t.setColumnFilters((t2) => {
|
|
@@ -30272,7 +30273,7 @@ ${n}` : "Please fix this error.";
|
|
|
30272
30273
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
30273
30274
|
className: "flex flex-row gap-4 items-end p-3",
|
|
30274
30275
|
onSubmit: (e2) => {
|
|
30275
|
-
e2.preventDefault(),
|
|
30276
|
+
e2.preventDefault(), aJ();
|
|
30276
30277
|
},
|
|
30277
30278
|
onKeyDownCapture: (e2) => {
|
|
30278
30279
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -30788,7 +30789,7 @@ ${n}` : "Please fix this error.";
|
|
|
30788
30789
|
t
|
|
30789
30790
|
]), n;
|
|
30790
30791
|
};
|
|
30791
|
-
const FilterPills = ({ filters: e, table: t, calculateTopKRows: n, addFilterSnapshot: i, onAddFilterSnapshotChange:
|
|
30792
|
+
const FilterPills = ({ filters: e, table: t, calculateTopKRows: n, addFilterSnapshot: i, onAddFilterSnapshotChange: a }) => {
|
|
30792
30793
|
let { locale: s } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), c = (0, import_react.useRef)(null), [d, f] = (0, import_react.useState)(false), _ = e ?? [], v = useHasOverflow(c, _.map((e2) => `${e2.id}:${JSON.stringify(e2.value)}`).join("|"));
|
|
30793
30794
|
if (_.length === 0 && i === null) return null;
|
|
30794
30795
|
let y = (e2, i2) => (0, import_jsx_runtime.jsx)(FilterPill, {
|
|
@@ -30808,7 +30809,7 @@ ${n}` : "Please fix this error.";
|
|
|
30808
30809
|
table: t,
|
|
30809
30810
|
calculateTopKRows: n,
|
|
30810
30811
|
snapshot: i,
|
|
30811
|
-
onSnapshotChange:
|
|
30812
|
+
onSnapshotChange: a
|
|
30812
30813
|
}),
|
|
30813
30814
|
(0, import_jsx_runtime.jsx)("div", {
|
|
30814
30815
|
ref: c,
|
|
@@ -30869,11 +30870,11 @@ ${n}` : "Please fix this error.";
|
|
|
30869
30870
|
]
|
|
30870
30871
|
});
|
|
30871
30872
|
};
|
|
30872
|
-
var FilterPill = ({ columnId: e, value: t, index: n, locale: i, table:
|
|
30873
|
+
var FilterPill = ({ columnId: e, value: t, index: n, locale: i, table: a, calculateTopKRows: s, onRemove: c }) => {
|
|
30873
30874
|
var _a2, _b;
|
|
30874
30875
|
let [d, f] = (0, import_react.useState)(false), _ = formatValue(t, {
|
|
30875
30876
|
locale: i,
|
|
30876
|
-
timezone: extractTimezone((_b = (_a2 =
|
|
30877
|
+
timezone: extractTimezone((_b = (_a2 = a.getColumn(e)) == null ? void 0 : _a2.columnDef.meta) == null ? void 0 : _b.dtype)
|
|
30877
30878
|
});
|
|
30878
30879
|
if (!_) return null;
|
|
30879
30880
|
let v = _.kind === "scalar" && _.value === void 0, y = (e2) => {
|
|
@@ -30965,7 +30966,7 @@ ${n}` : "Please fix this error.";
|
|
|
30965
30966
|
value: t
|
|
30966
30967
|
},
|
|
30967
30968
|
editIndex: n,
|
|
30968
|
-
table:
|
|
30969
|
+
table: a,
|
|
30969
30970
|
calculateTopKRows: s,
|
|
30970
30971
|
onClose: () => f(false)
|
|
30971
30972
|
})
|
|
@@ -32215,41 +32216,41 @@ ${n}` : "Please fix this error.";
|
|
|
32215
32216
|
});
|
|
32216
32217
|
ContextMenuSubTrigger.displayName = SubTrigger2.displayName;
|
|
32217
32218
|
var contentCommon = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", ContextMenuSubContent = import_react.forwardRef((e, t) => {
|
|
32218
|
-
let n = (0, import_compiler_runtime$22.c)(9), i,
|
|
32219
|
-
n[0] === e ? (i = n[1],
|
|
32219
|
+
let n = (0, import_compiler_runtime$22.c)(9), i, a;
|
|
32220
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
32220
32221
|
let s;
|
|
32221
32222
|
n[3] === i ? s = n[4] : (s = cn(menuContentCommon({
|
|
32222
32223
|
subcontent: true
|
|
32223
32224
|
}), contentCommon, i), n[3] = i, n[4] = s);
|
|
32224
32225
|
let c;
|
|
32225
|
-
return n[5] !==
|
|
32226
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(InternalContextMenuSubContent, {
|
|
32226
32227
|
ref: t,
|
|
32227
32228
|
className: s,
|
|
32228
|
-
...
|
|
32229
|
-
}), n[5] =
|
|
32229
|
+
...a
|
|
32230
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
32230
32231
|
});
|
|
32231
32232
|
ContextMenuSubContent.displayName = SubContent2.displayName;
|
|
32232
32233
|
ContextMenuContent = import_react.forwardRef((e, t) => {
|
|
32233
|
-
let n = (0, import_compiler_runtime$22.c)(15), i,
|
|
32234
|
-
n[0] === e ? (i = n[1],
|
|
32234
|
+
let n = (0, import_compiler_runtime$22.c)(15), i, a, s;
|
|
32235
|
+
n[0] === e ? (i = n[1], a = n[2], s = n[3]) : ({ className: i, scrollable: s, ...a } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = s);
|
|
32235
32236
|
let c = s === void 0 ? true : s, d;
|
|
32236
32237
|
n[4] !== i || n[5] !== c ? (d = cn(menuContentCommon(), contentCommon, c && "overflow-auto", i), n[4] = i, n[5] = c, n[6] = d) : d = n[6];
|
|
32237
32238
|
let f = c ? `calc(var(--radix-context-menu-content-available-height) - ${MAX_HEIGHT_OFFSET}px)` : void 0, h;
|
|
32238
|
-
n[7] !==
|
|
32239
|
-
...
|
|
32239
|
+
n[7] !== a.style || n[8] !== f ? (h = {
|
|
32240
|
+
...a.style,
|
|
32240
32241
|
maxHeight: f
|
|
32241
|
-
}, n[7] =
|
|
32242
|
+
}, n[7] = a.style, n[8] = f, n[9] = h) : h = n[9];
|
|
32242
32243
|
let _;
|
|
32243
|
-
return n[10] !==
|
|
32244
|
+
return n[10] !== a || n[11] !== t || n[12] !== d || n[13] !== h ? (_ = (0, import_jsx_runtime.jsx)(ContextMenuPortal, {
|
|
32244
32245
|
children: (0, import_jsx_runtime.jsx)(StyleNamespace, {
|
|
32245
32246
|
children: (0, import_jsx_runtime.jsx)(InternalContextMenuContent, {
|
|
32246
32247
|
ref: t,
|
|
32247
32248
|
className: d,
|
|
32248
32249
|
style: h,
|
|
32249
|
-
...
|
|
32250
|
+
...a
|
|
32250
32251
|
})
|
|
32251
32252
|
})
|
|
32252
|
-
}), n[10] =
|
|
32253
|
+
}), n[10] = a, n[11] = t, n[12] = d, n[13] = h, n[14] = _) : _ = n[14], _;
|
|
32253
32254
|
});
|
|
32254
32255
|
ContextMenuContent.displayName = Content2.displayName;
|
|
32255
32256
|
ContextMenuItem = import_react.forwardRef((e, t) => {
|
|
@@ -32347,46 +32348,46 @@ ${n}` : "Please fix this error.";
|
|
|
32347
32348
|
});
|
|
32348
32349
|
ContextMenuLabel.displayName = Label2.displayName;
|
|
32349
32350
|
ContextMenuSeparator = import_react.forwardRef((e, t) => {
|
|
32350
|
-
let n = (0, import_compiler_runtime$22.c)(9), i,
|
|
32351
|
-
n[0] === e ? (i = n[1],
|
|
32351
|
+
let n = (0, import_compiler_runtime$22.c)(9), i, a;
|
|
32352
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
32352
32353
|
let s;
|
|
32353
32354
|
n[3] === i ? s = n[4] : (s = cn(menuSeparatorVariants({
|
|
32354
32355
|
className: i
|
|
32355
32356
|
})), n[3] = i, n[4] = s);
|
|
32356
32357
|
let c;
|
|
32357
|
-
return n[5] !==
|
|
32358
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(Separator2, {
|
|
32358
32359
|
ref: t,
|
|
32359
32360
|
className: s,
|
|
32360
|
-
...
|
|
32361
|
-
}), n[5] =
|
|
32361
|
+
...a
|
|
32362
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
32362
32363
|
});
|
|
32363
32364
|
ContextMenuSeparator.displayName = Separator2.displayName;
|
|
32364
32365
|
var import_compiler_runtime$21 = require_compiler_runtime();
|
|
32365
32366
|
const DataTableContextMenu = (e) => {
|
|
32366
|
-
let t = (0, import_compiler_runtime$21.c)(12), { contextMenuRef:
|
|
32367
|
-
t[0] !==
|
|
32367
|
+
let t = (0, import_compiler_runtime$21.c)(12), { contextMenuRef: n, tableBody: i, tableRef: o, copyAllCells: s } = e, c;
|
|
32368
|
+
t[0] !== n || t[1] !== o ? (c = (e2) => {
|
|
32368
32369
|
var _a2;
|
|
32369
|
-
let t2 =
|
|
32370
|
+
let t2 = n.current;
|
|
32370
32371
|
if (!t2) return;
|
|
32371
|
-
let
|
|
32372
|
-
if (!
|
|
32372
|
+
let i2 = (_a2 = o.current) == null ? void 0 : _a2.querySelector(`[${DATA_CELL_ID}="${t2.id}"]`);
|
|
32373
|
+
if (!i2) {
|
|
32373
32374
|
Logger.error("Context menu cell not found in table");
|
|
32374
32375
|
return;
|
|
32375
32376
|
}
|
|
32376
|
-
e2 ?
|
|
32377
|
-
}, t[0] =
|
|
32377
|
+
e2 ? i2.classList.add("bg-(--green-4)") : i2.classList.remove("bg-(--green-4)");
|
|
32378
|
+
}, t[0] = n, t[1] = o, t[2] = c) : c = t[2];
|
|
32378
32379
|
let d = useEvent_default(c), f;
|
|
32379
|
-
t[3] ===
|
|
32380
|
+
t[3] === i ? f = t[4] : (f = (0, import_jsx_runtime.jsx)(ContextMenuTrigger, {
|
|
32380
32381
|
asChild: true,
|
|
32381
|
-
children:
|
|
32382
|
-
}), t[3] =
|
|
32382
|
+
children: i
|
|
32383
|
+
}), t[3] = i, t[4] = f);
|
|
32383
32384
|
let h;
|
|
32384
|
-
t[5] !==
|
|
32385
|
+
t[5] !== n || t[6] !== s ? (h = (0, import_jsx_runtime.jsx)(ContextMenuPortal, {
|
|
32385
32386
|
children: (0, import_jsx_runtime.jsx)(CellContextMenu, {
|
|
32386
|
-
cellRef:
|
|
32387
|
+
cellRef: n,
|
|
32387
32388
|
copySelectedCells: s
|
|
32388
32389
|
})
|
|
32389
|
-
}), t[5] =
|
|
32390
|
+
}), t[5] = n, t[6] = s, t[7] = h) : h = t[7];
|
|
32390
32391
|
let _;
|
|
32391
32392
|
return t[8] !== d || t[9] !== f || t[10] !== h ? (_ = (0, import_jsx_runtime.jsxs)(ContextMenu, {
|
|
32392
32393
|
onOpenChange: d,
|
|
@@ -32397,20 +32398,20 @@ ${n}` : "Please fix this error.";
|
|
|
32397
32398
|
}), t[8] = d, t[9] = f, t[10] = h, t[11] = _) : _ = t[11], _;
|
|
32398
32399
|
}, CellContextMenu = ({ cellRef: e, copySelectedCells: t }) => {
|
|
32399
32400
|
var _a2;
|
|
32400
|
-
let
|
|
32401
|
-
if (!
|
|
32401
|
+
let n = useAtomValue(selectedCellsAtom).size > 1, i = e.current;
|
|
32402
|
+
if (!i) {
|
|
32402
32403
|
Logger.error("No cell found in context menu");
|
|
32403
32404
|
return;
|
|
32404
32405
|
}
|
|
32405
|
-
let o =
|
|
32406
|
+
let o = i.getContext().table, s = i.getValue(), c = getRawValue(o, i.row.index, i.column.id) ?? s, d = () => {
|
|
32406
32407
|
try {
|
|
32407
32408
|
let { text: e2, html: t2 } = getClipboardContent(c, s);
|
|
32408
32409
|
copyToClipboard(e2, t2);
|
|
32409
32410
|
} catch (e2) {
|
|
32410
32411
|
Logger.error("Failed to copy context menu cell", e2);
|
|
32411
32412
|
}
|
|
32412
|
-
}, f =
|
|
32413
|
-
let
|
|
32413
|
+
}, f = i.column, h = (_a2 = f.columnDef.meta) == null ? void 0 : _a2.filterType, _ = f.getCanFilter() && h && isMembershipFilterType(h) ? h : void 0, v = (e2, t2) => {
|
|
32414
|
+
let n2 = e2 === "number" ? Filter.number({
|
|
32414
32415
|
operator: t2,
|
|
32415
32416
|
values: [
|
|
32416
32417
|
c
|
|
@@ -32421,7 +32422,7 @@ ${n}` : "Please fix this error.";
|
|
|
32421
32422
|
c
|
|
32422
32423
|
]
|
|
32423
32424
|
});
|
|
32424
|
-
f.setFilterValue(
|
|
32425
|
+
f.setFilterValue(n2);
|
|
32425
32426
|
};
|
|
32426
32427
|
return (0, import_jsx_runtime.jsxs)(ContextMenuContent, {
|
|
32427
32428
|
children: [
|
|
@@ -32434,7 +32435,7 @@ ${n}` : "Please fix this error.";
|
|
|
32434
32435
|
"Copy cell"
|
|
32435
32436
|
]
|
|
32436
32437
|
}),
|
|
32437
|
-
|
|
32438
|
+
n && (0, import_jsx_runtime.jsxs)(ContextMenuItem, {
|
|
32438
32439
|
onClick: t,
|
|
32439
32440
|
children: [
|
|
32440
32441
|
(0, import_jsx_runtime.jsx)(SquareStack, {
|
|
@@ -32629,9 +32630,9 @@ ${n}` : "Please fix this error.";
|
|
|
32629
32630
|
}
|
|
32630
32631
|
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
32631
32632
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
32632
|
-
let t = (0, import_compiler_runtime$18.c)(9), { cellId: n, className: i } = e,
|
|
32633
|
-
t[0] === n ?
|
|
32634
|
-
let { isSelected: s, isCopied: c } = useAtomValue(
|
|
32633
|
+
let t = (0, import_compiler_runtime$18.c)(9), { cellId: n, className: i } = e, a;
|
|
32634
|
+
t[0] === n ? a = t[1] : (a = createCellStateAtom(n), t[0] = n, t[1] = a);
|
|
32635
|
+
let { isSelected: s, isCopied: c } = useAtomValue(a);
|
|
32635
32636
|
if (!s && !c) return null;
|
|
32636
32637
|
let d = s && "bg-(--green-3)", f = c && "bg-(--green-4) transition-colors duration-150", h;
|
|
32637
32638
|
t[2] !== i || t[3] !== d || t[4] !== f ? (h = cn("absolute inset-0 pointer-events-none", d, f, i), t[2] = i, t[3] = d, t[4] = f, t[5] = h) : h = t[5];
|
|
@@ -32655,7 +32656,7 @@ ${n}` : "Please fix this error.";
|
|
|
32655
32656
|
}
|
|
32656
32657
|
});
|
|
32657
32658
|
}, t[0] = i, t[1] = n, t[2] = a) : a = t[2];
|
|
32658
|
-
let
|
|
32659
|
+
let o = useEvent_default(a), c;
|
|
32659
32660
|
t[3] !== i || t[4] !== n ? (c = (e2, t2) => {
|
|
32660
32661
|
i.updateSelection({
|
|
32661
32662
|
newCell: e2,
|
|
@@ -32672,10 +32673,10 @@ ${n}` : "Please fix this error.";
|
|
|
32672
32673
|
});
|
|
32673
32674
|
}, t[6] = i, t[7] = n, t[8] = f) : f = t[8];
|
|
32674
32675
|
let h = useEvent_default(f), _;
|
|
32675
|
-
t[9] !== i || t[10] !==
|
|
32676
|
+
t[9] !== i || t[10] !== o || t[11] !== h || t[12] !== n ? (_ = (e2) => {
|
|
32676
32677
|
bb7: switch (e2.key) {
|
|
32677
32678
|
case "c":
|
|
32678
|
-
Events.isMetaOrCtrl(e2) &&
|
|
32679
|
+
Events.isMetaOrCtrl(e2) && o();
|
|
32679
32680
|
break bb7;
|
|
32680
32681
|
case "ArrowDown":
|
|
32681
32682
|
e2.preventDefault(), h(e2, "down");
|
|
@@ -32698,7 +32699,7 @@ ${n}` : "Please fix this error.";
|
|
|
32698
32699
|
case "a":
|
|
32699
32700
|
(e2.metaKey || e2.ctrlKey) && (e2.preventDefault(), i.selectAllCells(n));
|
|
32700
32701
|
}
|
|
32701
|
-
}, t[9] = i, t[10] =
|
|
32702
|
+
}, t[9] = i, t[10] = o, t[11] = h, t[12] = n, t[13] = _) : _ = t[13];
|
|
32702
32703
|
let v = useEvent_default(_), y;
|
|
32703
32704
|
t[14] !== i || t[15] !== n ? (y = (e2, t2) => {
|
|
32704
32705
|
e2.buttons !== 2 && (isInteractiveTarget(e2) || i.handleCellMouseDown({
|
|
@@ -32720,15 +32721,15 @@ ${n}` : "Please fix this error.";
|
|
|
32720
32721
|
});
|
|
32721
32722
|
}, t[19] = i, t[20] = n, t[21] = O) : O = t[21];
|
|
32722
32723
|
let A = useEvent_default(O), M;
|
|
32723
|
-
return t[22] !== i.clearSelection || t[23] !== S || t[24] !== A || t[25] !== E || t[26] !== v || t[27] !==
|
|
32724
|
+
return t[22] !== i.clearSelection || t[23] !== S || t[24] !== A || t[25] !== E || t[26] !== v || t[27] !== o || t[28] !== d ? (M = {
|
|
32724
32725
|
handleCellMouseDown: S,
|
|
32725
32726
|
handleCellMouseUp: E,
|
|
32726
32727
|
handleCellMouseOver: A,
|
|
32727
|
-
handleCopy:
|
|
32728
|
+
handleCopy: o,
|
|
32728
32729
|
handleCellsKeyDown: v,
|
|
32729
32730
|
updateSelection: d,
|
|
32730
32731
|
clearSelection: i.clearSelection
|
|
32731
|
-
}, t[22] = i.clearSelection, t[23] = S, t[24] = A, t[25] = E, t[26] = v, t[27] =
|
|
32732
|
+
}, t[22] = i.clearSelection, t[23] = S, t[24] = A, t[25] = E, t[26] = v, t[27] = o, t[28] = d, t[29] = M) : M = t[29], M;
|
|
32732
32733
|
};
|
|
32733
32734
|
var INTERACTIVE_SELECTOR = 'input, button, select, textarea, a, label, [role="checkbox"], [role="button"], [contenteditable="true"], marimo-ui-element', CONTENT_WRAPPER_MARIMO_TAGS = /* @__PURE__ */ new Set([
|
|
32734
32735
|
"marimo-lazy",
|
|
@@ -32753,22 +32754,22 @@ ${n}` : "Please fix this error.";
|
|
|
32753
32754
|
}
|
|
32754
32755
|
var import_compiler_runtime$16 = require_compiler_runtime(), focusedCellAtom = atom((e) => e(cellSelectionStateAtom).focusedCell);
|
|
32755
32756
|
function useScrollIntoViewOnFocus(e) {
|
|
32756
|
-
let t = (0, import_compiler_runtime$16.c)(2),
|
|
32757
|
-
t[0] === e ?
|
|
32757
|
+
let t = (0, import_compiler_runtime$16.c)(2), n;
|
|
32758
|
+
t[0] === e ? n = t[1] : (n = (t2) => {
|
|
32758
32759
|
(t2 == null ? void 0 : t2.cellId) && setTimeout(() => {
|
|
32759
32760
|
var _a2;
|
|
32760
|
-
let
|
|
32761
|
-
if (!
|
|
32761
|
+
let n2 = (_a2 = e.current) == null ? void 0 : _a2.querySelector(`[data-cell-id="${t2.cellId}"]`);
|
|
32762
|
+
if (!n2) {
|
|
32762
32763
|
Logger.warn("[ScrollIntoView] Could not find cell with ID:", t2.cellId);
|
|
32763
32764
|
return;
|
|
32764
32765
|
}
|
|
32765
|
-
|
|
32766
|
+
n2.scrollIntoView({
|
|
32766
32767
|
behavior: "smooth",
|
|
32767
32768
|
block: "nearest",
|
|
32768
32769
|
inline: "nearest"
|
|
32769
32770
|
});
|
|
32770
32771
|
}, 0);
|
|
32771
|
-
}, t[0] = e, t[1] =
|
|
32772
|
+
}, t[0] = e, t[1] = n), useJotaiEffect(focusedCellAtom, n);
|
|
32772
32773
|
}
|
|
32773
32774
|
function renderTableHeader(e, t) {
|
|
32774
32775
|
var _a2;
|
|
@@ -32804,7 +32805,7 @@ ${n}` : "Please fix this error.";
|
|
|
32804
32805
|
})
|
|
32805
32806
|
});
|
|
32806
32807
|
}
|
|
32807
|
-
const DataTableBody = ({ table: e, columns: t, rowViewerPanelOpen: n, getRowIndex: i, viewedRowIdx:
|
|
32808
|
+
const DataTableBody = ({ table: e, columns: t, rowViewerPanelOpen: n, getRowIndex: i, viewedRowIdx: a, virtualize: s = false }) => {
|
|
32808
32809
|
let c = e.getRowModel().rows, [d, f] = (0, import_react.useState)(null), h = (0, import_react.useRef)(null);
|
|
32809
32810
|
(0, import_react.useLayoutEffect)(() => {
|
|
32810
32811
|
var _a2, _b;
|
|
@@ -32825,13 +32826,13 @@ ${n}` : "Please fix this error.";
|
|
|
32825
32826
|
table: e
|
|
32826
32827
|
}), I = (e2) => e2.map((e3) => {
|
|
32827
32828
|
var _a2, _b, _c, _d;
|
|
32828
|
-
let { className: t2, style: n2 } = getPinningStyles(e3.column), i2 = (_a2 = e3.column.columnDef.meta) == null ? void 0 : _a2.width,
|
|
32829
|
+
let { className: t2, style: n2 } = getPinningStyles(e3.column), i2 = (_a2 = e3.column.columnDef.meta) == null ? void 0 : _a2.width, a2 = Object.assign({}, ((_b = e3.getUserStyling) == null ? void 0 : _b.call(e3)) || {}, n2);
|
|
32829
32830
|
return (0, import_react.createElement)(TableCell, {
|
|
32830
32831
|
tabIndex: 0,
|
|
32831
32832
|
...getCellDomProps(e3.id),
|
|
32832
32833
|
key: e3.id,
|
|
32833
32834
|
className: cn("whitespace-pre truncate outline-hidden border-r border-r-border/75", !i2 && "max-w-[300px]", e3.column.getColumnWrapping && ((_d = (_c = e3.column).getColumnWrapping) == null ? void 0 : _d.call(_c)) === "wrap" && "whitespace-pre-wrap min-w-[200px]", "px-1.5 py-[0.18rem]", t2),
|
|
32834
|
-
style:
|
|
32835
|
+
style: a2,
|
|
32835
32836
|
onMouseDown: (t3) => {
|
|
32836
32837
|
v(t3, e3), M.hideTooltip();
|
|
32837
32838
|
},
|
|
@@ -32856,7 +32857,7 @@ ${n}` : "Please fix this error.";
|
|
|
32856
32857
|
(_a2 = e2.focusRow) == null ? void 0 : _a2.call(e2, t2);
|
|
32857
32858
|
}
|
|
32858
32859
|
}, U = (e2) => {
|
|
32859
|
-
let s2 = n ? (i == null ? void 0 : i(e2.original, e2.index)) ?? e2.index : void 0, c2 = n &&
|
|
32860
|
+
let s2 = n ? (i == null ? void 0 : i(e2.original, e2.index)) ?? e2.index : void 0, c2 = n && a === s2;
|
|
32860
32861
|
return (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
32861
32862
|
"data-state": e2.getIsSelected() && "selected",
|
|
32862
32863
|
className: cn("border-t h-6", n && "cursor-pointer", c2 && "bg-(--blue-3) hover:bg-(--blue-3) data-[state=selected]:bg-(--blue-4)"),
|
|
@@ -32931,7 +32932,7 @@ ${n}` : "Please fix this error.";
|
|
|
32931
32932
|
};
|
|
32932
32933
|
function getPinningStyles(e) {
|
|
32933
32934
|
var _a2;
|
|
32934
|
-
let t = e.getIsPinned(), n = t === "left" && e.getIsLastColumn("left"), i = t === "right" && e.getIsFirstColumn("right"),
|
|
32935
|
+
let t = e.getIsPinned(), n = t === "left" && e.getIsLastColumn("left"), i = t === "right" && e.getIsFirstColumn("right"), a = (_a2 = e.columnDef.meta) == null ? void 0 : _a2.width;
|
|
32935
32936
|
return {
|
|
32936
32937
|
className: cn(t && "bg-inherit", "shadow-r z-10"),
|
|
32937
32938
|
style: {
|
|
@@ -32942,9 +32943,9 @@ ${n}` : "Please fix this error.";
|
|
|
32942
32943
|
position: t ? "sticky" : "relative",
|
|
32943
32944
|
zIndex: t ? 1 : 0,
|
|
32944
32945
|
width: e.getSize(),
|
|
32945
|
-
...
|
|
32946
|
-
minWidth:
|
|
32947
|
-
maxWidth:
|
|
32946
|
+
...a ? {
|
|
32947
|
+
minWidth: a,
|
|
32948
|
+
maxWidth: a
|
|
32948
32949
|
} : {}
|
|
32949
32950
|
}
|
|
32950
32951
|
};
|
|
@@ -32983,7 +32984,7 @@ ${n}` : "Please fix this error.";
|
|
|
32983
32984
|
};
|
|
32984
32985
|
};
|
|
32985
32986
|
const DataTablePagination = ({ table: e, tableLoading: t, showPageSizeSelector: n }) => {
|
|
32986
|
-
let { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),
|
|
32987
|
+
let { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a = Math.min(e.getState().pagination.pageIndex + 1, e.getPageCount()), c = e.getPageCount(), d = e.getState().pagination.pageSize, f = (e2) => {
|
|
32987
32988
|
t || e2();
|
|
32988
32989
|
}, _ = [
|
|
32989
32990
|
.../* @__PURE__ */ new Set([
|
|
@@ -33080,7 +33081,7 @@ ${n}` : "Please fix this error.";
|
|
|
33080
33081
|
children: "Page"
|
|
33081
33082
|
}),
|
|
33082
33083
|
(0, import_jsx_runtime.jsx)(PageSelector, {
|
|
33083
|
-
currentPage:
|
|
33084
|
+
currentPage: a,
|
|
33084
33085
|
totalPages: c,
|
|
33085
33086
|
onPageChange: (t2) => f(() => e.setPageIndex(t2))
|
|
33086
33087
|
}),
|
|
@@ -33172,16 +33173,16 @@ ${n}` : "Please fix this error.";
|
|
|
33172
33173
|
};
|
|
33173
33174
|
}
|
|
33174
33175
|
const PageSelector = ({ currentPage: e, totalPages: t, onPageChange: n }) => {
|
|
33175
|
-
let [i,
|
|
33176
|
+
let [i, a] = import_react.useState(false), [s, c] = import_react.useState(""), d = import_react.useMemo(() => createPageMapping(s, t), [
|
|
33176
33177
|
s,
|
|
33177
33178
|
t
|
|
33178
33179
|
]), f = (e2) => {
|
|
33179
|
-
n(e2 - 1), c(""),
|
|
33180
|
+
n(e2 - 1), c(""), a(false);
|
|
33180
33181
|
}, h = Math.min(d.count * PAGE_ITEM_HEIGHT, 240);
|
|
33181
33182
|
return (0, import_jsx_runtime.jsxs)(Popover, {
|
|
33182
33183
|
open: t > 1 ? i : false,
|
|
33183
33184
|
onOpenChange: (e2) => {
|
|
33184
|
-
|
|
33185
|
+
a(e2), e2 || c("");
|
|
33185
33186
|
},
|
|
33186
33187
|
children: [
|
|
33187
33188
|
(0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
@@ -33249,9 +33250,9 @@ ${n}` : "Please fix this error.";
|
|
|
33249
33250
|
});
|
|
33250
33251
|
};
|
|
33251
33252
|
var VirtualizedPageList = ({ mapping: e, currentPage: t, listHeight: n, onSelect: i }) => {
|
|
33252
|
-
let
|
|
33253
|
+
let a = import_react.useRef(null), c = e.indexOfPage(t), d = useVirtualizer({
|
|
33253
33254
|
count: e.count,
|
|
33254
|
-
getScrollElement: () =>
|
|
33255
|
+
getScrollElement: () => a.current,
|
|
33255
33256
|
estimateSize: () => PAGE_ITEM_HEIGHT,
|
|
33256
33257
|
overscan: 10,
|
|
33257
33258
|
initialOffset: c > 0 ? Math.max(0, c * PAGE_ITEM_HEIGHT - n / 2) : 0
|
|
@@ -33262,7 +33263,7 @@ ${n}` : "Please fix this error.";
|
|
|
33262
33263
|
e.count,
|
|
33263
33264
|
d
|
|
33264
33265
|
]), (0, import_jsx_runtime.jsx)("div", {
|
|
33265
|
-
ref:
|
|
33266
|
+
ref: a,
|
|
33266
33267
|
style: {
|
|
33267
33268
|
height: n,
|
|
33268
33269
|
overflow: "auto"
|
|
@@ -33274,12 +33275,12 @@ ${n}` : "Please fix this error.";
|
|
|
33274
33275
|
position: "relative"
|
|
33275
33276
|
},
|
|
33276
33277
|
children: d.getVirtualItems().map((n2) => {
|
|
33277
|
-
let
|
|
33278
|
+
let a2 = e.pageAtIndex(n2.index);
|
|
33278
33279
|
return (0, import_jsx_runtime.jsx)(CommandItem, {
|
|
33279
|
-
value: String(
|
|
33280
|
+
value: String(a2),
|
|
33280
33281
|
"data-testid": "page-option",
|
|
33281
|
-
"aria-selected":
|
|
33282
|
-
className: cn("text-xs cursor-pointer",
|
|
33282
|
+
"aria-selected": a2 === t,
|
|
33283
|
+
className: cn("text-xs cursor-pointer", a2 === t && "font-semibold bg-accent"),
|
|
33283
33284
|
style: {
|
|
33284
33285
|
position: "absolute",
|
|
33285
33286
|
top: 0,
|
|
@@ -33288,10 +33289,10 @@ ${n}` : "Please fix this error.";
|
|
|
33288
33289
|
height: n2.size,
|
|
33289
33290
|
transform: `translateY(${n2.start}px)`
|
|
33290
33291
|
},
|
|
33291
|
-
onSelect: () => i(
|
|
33292
|
+
onSelect: () => i(a2),
|
|
33292
33293
|
onMouseDown: Events.preventFocus,
|
|
33293
|
-
children:
|
|
33294
|
-
},
|
|
33294
|
+
children: a2
|
|
33295
|
+
}, a2);
|
|
33295
33296
|
})
|
|
33296
33297
|
})
|
|
33297
33298
|
});
|
|
@@ -33311,7 +33312,7 @@ ${n}` : "Please fix this error.";
|
|
|
33311
33312
|
};
|
|
33312
33313
|
var import_compiler_runtime$15 = require_compiler_runtime(), MAX_FRACTION_DIGITS = 3;
|
|
33313
33314
|
const CellSelectionStats = (e) => {
|
|
33314
|
-
let t = (0, import_compiler_runtime$15.c)(21), { table: n, className: i } = e, { locale:
|
|
33315
|
+
let t = (0, import_compiler_runtime$15.c)(21), { table: n, className: i } = e, { locale: a } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), s = useAtomValue(selectedCellsAtom), c = countDataCellsInSelection(s);
|
|
33315
33316
|
if (c < 2) {
|
|
33316
33317
|
let e2;
|
|
33317
33318
|
t[0] === i ? e2 = t[1] : (e2 = cn("text-xs text-muted-foreground/80 italic", i), t[0] = i, t[1] = e2);
|
|
@@ -33329,18 +33330,18 @@ ${n}` : "Please fix this error.";
|
|
|
33329
33330
|
let f = d, h;
|
|
33330
33331
|
t[7] === i ? h = t[8] : (h = cn("flex items-center justify-end gap-3 text-sm text-muted-foreground shrink-0", i), t[7] = i, t[8] = h);
|
|
33331
33332
|
let _;
|
|
33332
|
-
t[9] !== c || t[10] !==
|
|
33333
|
+
t[9] !== c || t[10] !== a ? (_ = (0, import_jsx_runtime.jsx)(CountStat, {
|
|
33333
33334
|
count: c,
|
|
33334
|
-
locale:
|
|
33335
|
-
}), t[9] = c, t[10] =
|
|
33335
|
+
locale: a
|
|
33336
|
+
}), t[9] = c, t[10] = a, t[11] = _) : _ = t[11];
|
|
33336
33337
|
let v, y;
|
|
33337
|
-
t[12] !==
|
|
33338
|
+
t[12] !== a || t[13] !== f ? (v = (0, import_jsx_runtime.jsx)(SumStat, {
|
|
33338
33339
|
numericValues: f,
|
|
33339
|
-
locale:
|
|
33340
|
+
locale: a
|
|
33340
33341
|
}), y = (0, import_jsx_runtime.jsx)(AverageStat, {
|
|
33341
33342
|
numericValues: f,
|
|
33342
|
-
locale:
|
|
33343
|
-
}), t[12] =
|
|
33343
|
+
locale: a
|
|
33344
|
+
}), t[12] = a, t[13] = f, t[14] = v, t[15] = y) : (v = t[14], y = t[15]);
|
|
33344
33345
|
let S;
|
|
33345
33346
|
return t[16] !== h || t[17] !== _ || t[18] !== v || t[19] !== y ? (S = (0, import_jsx_runtime.jsxs)("div", {
|
|
33346
33347
|
className: h,
|
|
@@ -33403,8 +33404,8 @@ ${n}` : "Please fix this error.";
|
|
|
33403
33404
|
function _temp2$2(e, t) {
|
|
33404
33405
|
return e + t;
|
|
33405
33406
|
}
|
|
33406
|
-
const TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table:
|
|
33407
|
-
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),
|
|
33407
|
+
const TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: a, getRowIds: c, showPageSizeSelector: d, tableLoading: f, part: _, className: v }) => {
|
|
33408
|
+
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), w = isStaticNotebook(), E = (e2) => {
|
|
33408
33409
|
if (!i) return;
|
|
33409
33410
|
if (!e2) {
|
|
33410
33411
|
i({});
|
|
@@ -33412,7 +33413,7 @@ ${n}` : "Please fix this error.";
|
|
|
33412
33413
|
}
|
|
33413
33414
|
let t2 = () => {
|
|
33414
33415
|
let e3 = Array.from({
|
|
33415
|
-
length:
|
|
33416
|
+
length: a.getRowCount()
|
|
33416
33417
|
}, (e4, t3) => [
|
|
33417
33418
|
t3,
|
|
33418
33419
|
true
|
|
@@ -33448,12 +33449,12 @@ ${n}` : "Please fix this error.";
|
|
|
33448
33449
|
(0, import_jsx_runtime.jsx)("div", {
|
|
33449
33450
|
className: "flex items-center gap-1",
|
|
33450
33451
|
children: (() => {
|
|
33451
|
-
let { rowSelection: e2, cellSelection: i2 } =
|
|
33452
|
-
if (_2 && (
|
|
33452
|
+
let { rowSelection: e2, cellSelection: i2 } = a.getState(), o = Object.keys(e2).length, c2 = a.getIsAllPageRowsSelected(), d2 = a.getRowCount(), f2 = o === d2, _2 = n === "single-cell" || n === "multi-cell";
|
|
33453
|
+
if (_2 && (o = i2.length, c2 = false, f2 = false), c2 && !f2) return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
33453
33454
|
children: [
|
|
33454
33455
|
(0, import_jsx_runtime.jsxs)("span", {
|
|
33455
33456
|
children: [
|
|
33456
|
-
prettyNumber(
|
|
33457
|
+
prettyNumber(o, y),
|
|
33457
33458
|
" selected"
|
|
33458
33459
|
]
|
|
33459
33460
|
}),
|
|
@@ -33471,11 +33472,11 @@ ${n}` : "Please fix this error.";
|
|
|
33471
33472
|
})
|
|
33472
33473
|
]
|
|
33473
33474
|
});
|
|
33474
|
-
if (
|
|
33475
|
+
if (o) return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
33475
33476
|
children: [
|
|
33476
33477
|
(0, import_jsx_runtime.jsxs)("span", {
|
|
33477
33478
|
children: [
|
|
33478
|
-
prettyNumber(
|
|
33479
|
+
prettyNumber(o, y),
|
|
33479
33480
|
" selected"
|
|
33480
33481
|
]
|
|
33481
33482
|
}),
|
|
@@ -33486,23 +33487,23 @@ ${n}` : "Please fix this error.";
|
|
|
33486
33487
|
className: "h-4 print:hidden",
|
|
33487
33488
|
onMouseDown: Events.preventFocus,
|
|
33488
33489
|
onClick: () => {
|
|
33489
|
-
_2 ?
|
|
33490
|
+
_2 ? a.resetCellSelection && a.resetCellSelection() : E(false);
|
|
33490
33491
|
},
|
|
33491
33492
|
children: "Clear selection"
|
|
33492
33493
|
})
|
|
33493
33494
|
]
|
|
33494
33495
|
});
|
|
33495
|
-
let { totalColumns: v2, hiddenColumns:
|
|
33496
|
-
numRows:
|
|
33496
|
+
let { totalColumns: v2, hiddenColumns: S } = getColumnCountForDisplay(a, t), { rowsAndColumns: w2, hiddenSuffix: O } = prettifyRowColumnCount({
|
|
33497
|
+
numRows: a.getRowCount(),
|
|
33497
33498
|
totalColumns: v2,
|
|
33498
|
-
hiddenColumns:
|
|
33499
|
+
hiddenColumns: S,
|
|
33499
33500
|
locale: y
|
|
33500
33501
|
});
|
|
33501
33502
|
return (0, import_jsx_runtime.jsxs)("span", {
|
|
33502
33503
|
className: "flex items-center gap-1",
|
|
33503
33504
|
children: [
|
|
33504
33505
|
(0, import_jsx_runtime.jsx)("span", {
|
|
33505
|
-
children:
|
|
33506
|
+
children: w2
|
|
33506
33507
|
}),
|
|
33507
33508
|
O && (0, import_jsx_runtime.jsx)("span", {
|
|
33508
33509
|
className: "text-xs",
|
|
@@ -33513,15 +33514,15 @@ ${n}` : "Please fix this error.";
|
|
|
33513
33514
|
})()
|
|
33514
33515
|
}),
|
|
33515
33516
|
(0, import_jsx_runtime.jsx)(CellSelectionStats, {
|
|
33516
|
-
table:
|
|
33517
|
+
table: a,
|
|
33517
33518
|
className: "lg:hidden"
|
|
33518
33519
|
})
|
|
33519
33520
|
]
|
|
33520
33521
|
}),
|
|
33521
33522
|
(0, import_jsx_runtime.jsx)("div", {
|
|
33522
33523
|
className: "ml-auto lg:ml-0 lg:justify-self-center flex items-center shrink-0",
|
|
33523
|
-
children: e && !
|
|
33524
|
-
table:
|
|
33524
|
+
children: e && !w && (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
33525
|
+
table: a,
|
|
33525
33526
|
tableLoading: f,
|
|
33526
33527
|
showPageSizeSelector: d
|
|
33527
33528
|
})
|
|
@@ -33529,7 +33530,7 @@ ${n}` : "Please fix this error.";
|
|
|
33529
33530
|
(0, import_jsx_runtime.jsx)("div", {
|
|
33530
33531
|
className: "hidden lg:flex justify-end",
|
|
33531
33532
|
children: (0, import_jsx_runtime.jsx)(CellSelectionStats, {
|
|
33532
|
-
table:
|
|
33533
|
+
table: a,
|
|
33533
33534
|
className: "px-2"
|
|
33534
33535
|
})
|
|
33535
33536
|
})
|
|
@@ -33538,18 +33539,18 @@ ${n}` : "Please fix this error.";
|
|
|
33538
33539
|
};
|
|
33539
33540
|
var import_compiler_runtime$14 = require_compiler_runtime();
|
|
33540
33541
|
EmptyState = (e) => {
|
|
33541
|
-
let t = (0, import_compiler_runtime$14.c)(6), { content: n, className: i, style:
|
|
33542
|
+
let t = (0, import_compiler_runtime$14.c)(6), { content: n, className: i, style: a } = e, s;
|
|
33542
33543
|
t[0] === i ? s = t[1] : (s = cn("text-sm text-muted-foreground py-1", i), t[0] = i, t[1] = s);
|
|
33543
33544
|
let c;
|
|
33544
|
-
return t[2] !== n || t[3] !==
|
|
33545
|
+
return t[2] !== n || t[3] !== a || t[4] !== s ? (c = (0, import_jsx_runtime.jsx)("div", {
|
|
33545
33546
|
className: s,
|
|
33546
|
-
style:
|
|
33547
|
+
style: a,
|
|
33547
33548
|
children: n
|
|
33548
|
-
}), t[2] = n, t[3] =
|
|
33549
|
+
}), t[2] = n, t[3] = a, t[4] = s, t[5] = c) : c = t[5], c;
|
|
33549
33550
|
};
|
|
33550
33551
|
ErrorState = (e) => {
|
|
33551
|
-
let t = (0, import_compiler_runtime$14.c)(9), { error: n, style: i, className:
|
|
33552
|
-
t[0] ===
|
|
33552
|
+
let t = (0, import_compiler_runtime$14.c)(9), { error: n, style: i, className: a, showIcon: s } = e, c = s === void 0 ? true : s, d;
|
|
33553
|
+
t[0] === a ? d = t[1] : (d = cn("text-sm bg-red-50 dark:bg-red-900 text-red-600 dark:text-red-50 flex items-center gap-2 p-2 h-8", a), t[0] = a, t[1] = d);
|
|
33553
33554
|
let f;
|
|
33554
33555
|
t[2] === c ? f = t[3] : (f = c && (0, import_jsx_runtime.jsx)(X, {
|
|
33555
33556
|
className: "h-4 w-4 mt-0.5"
|
|
@@ -33565,30 +33566,30 @@ ${n}` : "Please fix this error.";
|
|
|
33565
33566
|
}), t[4] = n.message, t[5] = i, t[6] = d, t[7] = f, t[8] = h) : h = t[8], h;
|
|
33566
33567
|
};
|
|
33567
33568
|
LoadingState = (e) => {
|
|
33568
|
-
let t = (0, import_compiler_runtime$14.c)(7), { message: n, className: i, style:
|
|
33569
|
+
let t = (0, import_compiler_runtime$14.c)(7), { message: n, className: i, style: a } = e, s;
|
|
33569
33570
|
t[0] === i ? s = t[1] : (s = cn("text-sm bg-blue-50 dark:bg-(--accent) text-blue-500 dark:text-blue-50 flex items-center gap-2 p-2 h-8", i), t[0] = i, t[1] = s);
|
|
33570
33571
|
let c;
|
|
33571
33572
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
33572
33573
|
className: "h-4 w-4 animate-spin"
|
|
33573
33574
|
}), t[2] = c) : c = t[2];
|
|
33574
33575
|
let d;
|
|
33575
|
-
return t[3] !== n || t[4] !==
|
|
33576
|
+
return t[3] !== n || t[4] !== a || t[5] !== s ? (d = (0, import_jsx_runtime.jsxs)("div", {
|
|
33576
33577
|
className: s,
|
|
33577
|
-
style:
|
|
33578
|
+
style: a,
|
|
33578
33579
|
children: [
|
|
33579
33580
|
c,
|
|
33580
33581
|
n
|
|
33581
33582
|
]
|
|
33582
|
-
}), t[3] = n, t[4] =
|
|
33583
|
+
}), t[3] = n, t[4] = a, t[5] = s, t[6] = d) : d = t[6], d;
|
|
33583
33584
|
};
|
|
33584
33585
|
ColumnPreviewContainer = (e) => {
|
|
33585
|
-
let t = (0, import_compiler_runtime$14.c)(5), { children: n, className: i } = e,
|
|
33586
|
-
t[0] === i ?
|
|
33586
|
+
let t = (0, import_compiler_runtime$14.c)(5), { children: n, className: i } = e, a;
|
|
33587
|
+
t[0] === i ? a = t[1] : (a = cn("flex flex-col gap-2 relative", i), t[0] = i, t[1] = a);
|
|
33587
33588
|
let s;
|
|
33588
|
-
return t[2] !== n || t[3] !==
|
|
33589
|
-
className:
|
|
33589
|
+
return t[2] !== n || t[3] !== a ? (s = (0, import_jsx_runtime.jsx)("div", {
|
|
33590
|
+
className: a,
|
|
33590
33591
|
children: n
|
|
33591
|
-
}), t[2] = n, t[3] =
|
|
33592
|
+
}), t[2] = n, t[3] = a, t[4] = s) : s = t[4], s;
|
|
33592
33593
|
};
|
|
33593
33594
|
ColumnName = (e) => {
|
|
33594
33595
|
let t = (0, import_compiler_runtime$14.c)(6), { columnName: n, dataType: i } = e, a = DATA_TYPE_ICON[i], o = `w-4 h-4 p-0.5 rounded-sm stroke-card-foreground ${getDataTypeColor(i)}`, s;
|
|
@@ -33619,7 +33620,7 @@ ${n}` : "Please fix this error.";
|
|
|
33619
33620
|
dataType: (_a2 = e2.columnDef.meta) == null ? void 0 : _a2.dataType
|
|
33620
33621
|
}
|
|
33621
33622
|
};
|
|
33622
|
-
}), i = t.filter((e2) => !e2.getIsVisible()).map((e2) => e2.id),
|
|
33623
|
+
}), i = t.filter((e2) => !e2.getIsVisible()).map((e2) => e2.id), a = t.filter((e2) => e2.getCanHide()).map((e2) => e2.id), c = a.filter((e2) => !i.includes(e2)).length, d = (n2) => {
|
|
33623
33624
|
let i2 = new Set(Array.isArray(n2) ? n2 : []);
|
|
33624
33625
|
e.setColumnVisibility((e2) => ({
|
|
33625
33626
|
...e2,
|
|
@@ -33689,7 +33690,7 @@ ${n}` : "Please fix this error.";
|
|
|
33689
33690
|
(0, import_jsx_runtime.jsxs)(CommandItem, {
|
|
33690
33691
|
value: "__hide_all__",
|
|
33691
33692
|
disabled: c === 0,
|
|
33692
|
-
onSelect: () => d(
|
|
33693
|
+
onSelect: () => d(a),
|
|
33693
33694
|
className: "cursor-pointer",
|
|
33694
33695
|
children: [
|
|
33695
33696
|
(0, import_jsx_runtime.jsx)(EyeOff, {
|
|
@@ -33722,10 +33723,10 @@ ${n}` : "Please fix this error.";
|
|
|
33722
33723
|
]
|
|
33723
33724
|
}),
|
|
33724
33725
|
f.visibleOptions.map((e2, t2) => {
|
|
33725
|
-
let n2 = f.isChecked(e2.value), { dataType: i2 } = e2.data,
|
|
33726
|
+
let n2 = f.isChecked(e2.value), { dataType: i2 } = e2.data, a2 = t2 === f.pinnedCount && f.pinnedCount > 0 && f.pinnedCount < f.visibleOptions.length;
|
|
33726
33727
|
return (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
33727
33728
|
children: [
|
|
33728
|
-
|
|
33729
|
+
a2 && (0, import_jsx_runtime.jsx)(CommandSeparator, {}),
|
|
33729
33730
|
(0, import_jsx_runtime.jsxs)(CommandItem, {
|
|
33730
33731
|
value: e2.value,
|
|
33731
33732
|
disabled: e2.disabled,
|
|
@@ -33804,16 +33805,16 @@ ${n}` : "Please fix this error.";
|
|
|
33804
33805
|
};
|
|
33805
33806
|
import_compiler_runtime$13 = require_compiler_runtime();
|
|
33806
33807
|
Progress = import_react.forwardRef((e, t) => {
|
|
33807
|
-
let n = (0, import_compiler_runtime$13.c)(20), i,
|
|
33808
|
-
n[0] === e ? (i = n[1],
|
|
33808
|
+
let n = (0, import_compiler_runtime$13.c)(20), i, a, s, c;
|
|
33809
|
+
n[0] === e ? (i = n[1], a = n[2], s = n[3], c = n[4]) : ({ className: i, value: c, indeterminate: a, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = s, n[4] = c);
|
|
33809
33810
|
let d;
|
|
33810
33811
|
n[5] === i ? d = n[6] : (d = cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", i), n[5] = i, n[6] = d);
|
|
33811
|
-
let f =
|
|
33812
|
+
let f = a ? "w-1/3 animate-progress-indeterminate" : "w-full transition-transform duration-300 ease-out", h;
|
|
33812
33813
|
n[7] === f ? h = n[8] : (h = cn("h-full flex-1 bg-primary", f), n[7] = f, n[8] = h);
|
|
33813
33814
|
let _;
|
|
33814
|
-
n[9] !==
|
|
33815
|
+
n[9] !== a || n[10] !== c ? (_ = a ? void 0 : {
|
|
33815
33816
|
transform: `translateX(-${100 - (c || 0)}%)`
|
|
33816
|
-
}, n[9] =
|
|
33817
|
+
}, n[9] = a, n[10] = c, n[11] = _) : _ = n[11];
|
|
33817
33818
|
let v;
|
|
33818
33819
|
n[12] !== h || n[13] !== _ ? (v = (0, import_jsx_runtime.jsx)(Indicator$1, {
|
|
33819
33820
|
className: h,
|
|
@@ -33878,10 +33879,10 @@ ${n}` : "Please fix this error.";
|
|
|
33878
33879
|
document.body.classList.remove("printing");
|
|
33879
33880
|
});
|
|
33880
33881
|
downloadHTMLAsImage = async function(e) {
|
|
33881
|
-
let { element: t, filename:
|
|
33882
|
-
|
|
33882
|
+
let { element: t, filename: n, prepare: i } = e, o = document.getElementById("App"), s = (o == null ? void 0 : o.scrollTop) ?? 0, c;
|
|
33883
|
+
i && (c = i(t));
|
|
33883
33884
|
try {
|
|
33884
|
-
downloadByURL(await toPng(t), Filenames.toPNG(
|
|
33885
|
+
downloadByURL(await toPng(t), Filenames.toPNG(n));
|
|
33885
33886
|
} catch (e2) {
|
|
33886
33887
|
Logger.error("Error downloading as PNG", e2), toast({
|
|
33887
33888
|
title: "Failed to download as PNG",
|
|
@@ -33904,14 +33905,14 @@ ${n}` : "Please fix this error.";
|
|
|
33904
33905
|
};
|
|
33905
33906
|
var import_compiler_runtime$11 = require_compiler_runtime();
|
|
33906
33907
|
InstallPackageButton = (e) => {
|
|
33907
|
-
let t = (0, import_compiler_runtime$11.c)(13), { packages: n, showMaxPackages: i, className:
|
|
33908
|
+
let t = (0, import_compiler_runtime$11.c)(13), { packages: n, showMaxPackages: i, className: a, onInstall: s } = e, { handleInstallPackages: c } = useInstallPackages(), d = useInstallAllowed();
|
|
33908
33909
|
if (!n || n.length === 0 || !d) return null;
|
|
33909
33910
|
let f;
|
|
33910
33911
|
t[0] !== c || t[1] !== s || t[2] !== n ? (f = () => {
|
|
33911
33912
|
c(n, s);
|
|
33912
33913
|
}, t[0] = c, t[1] = s, t[2] = n, t[3] = f) : f = t[3];
|
|
33913
33914
|
let _;
|
|
33914
|
-
t[4] ===
|
|
33915
|
+
t[4] === a ? _ = t[5] : (_ = cn("ml-2", a), t[4] = a, t[5] = _);
|
|
33915
33916
|
let v;
|
|
33916
33917
|
t[6] !== n || t[7] !== i ? (v = i ? n.slice(0, i).join(", ") : n.join(", "), t[6] = n, t[7] = i, t[8] = v) : v = t[8];
|
|
33917
33918
|
let y;
|
|
@@ -33929,7 +33930,7 @@ ${n}` : "Please fix this error.";
|
|
|
33929
33930
|
};
|
|
33930
33931
|
var import_compiler_runtime$10 = require_compiler_runtime();
|
|
33931
33932
|
const MissingPackagePrompt = (e) => {
|
|
33932
|
-
let t = (0, import_compiler_runtime$10.c)(16), { packages: n, featureName: i, description:
|
|
33933
|
+
let t = (0, import_compiler_runtime$10.c)(16), { packages: n, featureName: i, description: a, onInstall: s, className: c } = e;
|
|
33933
33934
|
if (!useInstallAllowed()) {
|
|
33934
33935
|
let e2;
|
|
33935
33936
|
t[0] === c ? e2 = t[1] : (e2 = cn("text-xs", c), t[0] = c, t[1] = e2);
|
|
@@ -33944,7 +33945,7 @@ ${n}` : "Please fix this error.";
|
|
|
33944
33945
|
}
|
|
33945
33946
|
let d;
|
|
33946
33947
|
t[5] === c ? d = t[6] : (d = cn("text-xs flex flex-col items-end gap-2", c), t[5] = c, t[6] = d);
|
|
33947
|
-
let f =
|
|
33948
|
+
let f = a || `${i} requires ${n.join(", ")}`, h;
|
|
33948
33949
|
t[7] === f ? h = t[8] : (h = (0, import_jsx_runtime.jsx)("span", {
|
|
33949
33950
|
className: "self-start",
|
|
33950
33951
|
children: f
|
|
@@ -34018,7 +34019,7 @@ ${n}` : "Please fix this error.";
|
|
|
34018
34019
|
return ((_a2 = copyOptions.find((t) => t.format === e)) == null ? void 0 : _a2.label) ?? e;
|
|
34019
34020
|
};
|
|
34020
34021
|
const ExportMenu = (e) => {
|
|
34021
|
-
let t = (0, import_compiler_runtime$9.c)(55), [n, i] = import_react.useState(false),
|
|
34022
|
+
let t = (0, import_compiler_runtime$9.c)(55), [n, i] = import_react.useState(false), a = useAtomValue(downloadSizeLimitAtom), s = !!(a && e.sizeBytes != null && e.sizeBytes > a.limitBytes), c = !!(a && (e.sizeBytesIsLoading || s)), d = c ? e.sizeBytesIsLoading ? "Checking download size\u2026" : a == null ? void 0 : a.unavailableMessage : "Export", f = n ? "text-primary" : "text-muted-foreground", _;
|
|
34022
34023
|
t[0] === f ? _ = t[1] : (_ = cn("print:hidden text-xs gap-1", f), t[0] = f, t[1] = _);
|
|
34023
34024
|
let v;
|
|
34024
34025
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (0, import_jsx_runtime.jsx)(Download, {
|
|
@@ -34036,7 +34037,7 @@ ${n}` : "Please fix this error.";
|
|
|
34036
34037
|
"Export"
|
|
34037
34038
|
]
|
|
34038
34039
|
}), t[3] = c, t[4] = _, t[5] = y) : y = t[5];
|
|
34039
|
-
let
|
|
34040
|
+
let E = y, O;
|
|
34040
34041
|
t[6] === e ? O = t[7] : (O = async (t2, n2) => {
|
|
34041
34042
|
let i2;
|
|
34042
34043
|
try {
|
|
@@ -34064,7 +34065,7 @@ ${n}` : "Please fix this error.";
|
|
|
34064
34065
|
};
|
|
34065
34066
|
}, t[6] = e, t[7] = O);
|
|
34066
34067
|
let A = O, M, I, z, U, K, q, J, Q, $, rJ, iJ, aJ, oJ;
|
|
34067
|
-
if (t[8] !==
|
|
34068
|
+
if (t[8] !== E || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
34068
34069
|
let e2 = async (t2) => {
|
|
34069
34070
|
let n2 = labelForDownloadFormat(t2);
|
|
34070
34071
|
await withLoadingToast(`Preparing ${n2} export...`, async () => {
|
|
@@ -34072,22 +34073,22 @@ ${n}` : "Please fix this error.";
|
|
|
34072
34073
|
e2(t2);
|
|
34073
34074
|
});
|
|
34074
34075
|
if (!n3) return false;
|
|
34075
|
-
let i2 = (n3.filename ?? "").trim(),
|
|
34076
|
-
if (!
|
|
34077
|
-
let e3 =
|
|
34076
|
+
let i2 = (n3.filename ?? "").trim(), a3 = `${Filenames.withoutExtension(i2) || "download"}.${t2}`, o2 = n3.url;
|
|
34077
|
+
if (!o2.startsWith("data:")) {
|
|
34078
|
+
let e3 = o2.includes("?") ? "&" : "?", t3 = new URLSearchParams({
|
|
34078
34079
|
download: "1",
|
|
34079
|
-
filename:
|
|
34080
|
+
filename: a3
|
|
34080
34081
|
});
|
|
34081
|
-
|
|
34082
|
+
o2 = `${o2}${e3}${t3.toString()}`;
|
|
34082
34083
|
}
|
|
34083
|
-
return downloadByURL(
|
|
34084
|
+
return downloadByURL(o2, a3), true;
|
|
34084
34085
|
}) && toast({
|
|
34085
34086
|
title: `${n2} download started`
|
|
34086
34087
|
});
|
|
34087
|
-
},
|
|
34088
|
+
}, a2 = async (e3) => {
|
|
34088
34089
|
await withLoadingToast(`Preparing ${labelForCopyFormat(e3)} for clipboard...`, async () => {
|
|
34089
34090
|
let t2 = COPY_SOURCE_FORMAT[e3], n2 = await A(t2, () => {
|
|
34090
|
-
|
|
34091
|
+
a2(e3);
|
|
34091
34092
|
});
|
|
34092
34093
|
if (!n2) return;
|
|
34093
34094
|
let i2;
|
|
@@ -34114,22 +34115,22 @@ ${n}` : "Please fix this error.";
|
|
|
34114
34115
|
});
|
|
34115
34116
|
};
|
|
34116
34117
|
I = DropdownMenu, K = false, q = n, J = i;
|
|
34117
|
-
let
|
|
34118
|
-
t[26] !==
|
|
34118
|
+
let o = n ? false : void 0, s2 = c ? 0 : -1, f2;
|
|
34119
|
+
t[26] !== E || t[27] !== s2 ? (f2 = (0, import_jsx_runtime.jsx)("span", {
|
|
34119
34120
|
tabIndex: s2,
|
|
34120
34121
|
className: "inline-flex",
|
|
34121
|
-
children:
|
|
34122
|
-
}), t[26] =
|
|
34122
|
+
children: E
|
|
34123
|
+
}), t[26] = E, t[27] = s2, t[28] = f2) : f2 = t[28];
|
|
34123
34124
|
let h;
|
|
34124
34125
|
t[29] !== c || t[30] !== f2 ? (h = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
34125
34126
|
asChild: true,
|
|
34126
34127
|
disabled: c,
|
|
34127
34128
|
children: f2
|
|
34128
|
-
}), t[29] = c, t[30] = f2, t[31] = h) : h = t[31], t[32] !==
|
|
34129
|
+
}), t[29] = c, t[30] = f2, t[31] = h) : h = t[31], t[32] !== o || t[33] !== h || t[34] !== d ? (Q = (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34129
34130
|
content: d,
|
|
34130
|
-
open:
|
|
34131
|
+
open: o,
|
|
34131
34132
|
children: h
|
|
34132
|
-
}), t[32] =
|
|
34133
|
+
}), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", rJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (iJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34133
34134
|
className: "text-xs text-muted-foreground",
|
|
34134
34135
|
children: "Download"
|
|
34135
34136
|
}), t[36] = iJ) : iJ = t[36], aJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
@@ -34159,7 +34160,7 @@ ${n}` : "Please fix this error.";
|
|
|
34159
34160
|
}), t[37] = z, t[38] = oJ) : (z = t[37], oJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34160
34161
|
onSelect: async () => {
|
|
34161
34162
|
try {
|
|
34162
|
-
await
|
|
34163
|
+
await a2(e3.format);
|
|
34163
34164
|
} catch (e4) {
|
|
34164
34165
|
toast({
|
|
34165
34166
|
title: "Failed to copy to clipboard",
|
|
@@ -34185,7 +34186,7 @@ ${n}` : "Please fix this error.";
|
|
|
34185
34186
|
]
|
|
34186
34187
|
})
|
|
34187
34188
|
]
|
|
34188
|
-
}, e3.label)), t[8] =
|
|
34189
|
+
}, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = rJ, t[23] = iJ, t[24] = aJ, t[25] = oJ;
|
|
34189
34190
|
} else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], rJ = t[22], iJ = t[23], aJ = t[24], oJ = t[25];
|
|
34190
34191
|
let sJ;
|
|
34191
34192
|
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== rJ || t[44] !== iJ || t[45] !== aJ || t[46] !== oJ ? (sJ = (0, import_jsx_runtime.jsxs)(M, {
|
|
@@ -34222,7 +34223,7 @@ ${n}` : "Please fix this error.";
|
|
|
34222
34223
|
var NOOP_ON_SEARCH = () => {
|
|
34223
34224
|
};
|
|
34224
34225
|
let TableTopBar;
|
|
34225
|
-
TableTopBar = ({ table: e, showSearch: t, searchQuery: n, onSearchQueryChange: i, reloading:
|
|
34226
|
+
TableTopBar = ({ table: e, showSearch: t, searchQuery: n, onSearchQueryChange: i, reloading: a, showChartBuilder: s, isChartBuilderOpen: c, toggleDisplayHeader: d, showTableExplorer: f, togglePanel: _, isAnyPanelOpen: v, downloadAs: y, sizeBytes: S, sizeBytesIsLoading: w }) => {
|
|
34226
34227
|
let [E, O] = (0, import_react.useState)(n || ""), A = useDebounce(E, 500), M = useEvent_default(i ?? NOOP_ON_SEARCH), I = import_react.useRef(null);
|
|
34227
34228
|
return (0, import_react.useEffect)(() => {
|
|
34228
34229
|
M(A);
|
|
@@ -34250,7 +34251,7 @@ ${n}` : "Please fix this error.";
|
|
|
34250
34251
|
onChange: (e2) => O(e2.target.value),
|
|
34251
34252
|
placeholder: "Search..."
|
|
34252
34253
|
}),
|
|
34253
|
-
|
|
34254
|
+
a && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
34254
34255
|
size: "small"
|
|
34255
34256
|
}),
|
|
34256
34257
|
E && (0, import_jsx_runtime.jsx)(Button, {
|
|
@@ -34304,7 +34305,7 @@ ${n}` : "Please fix this error.";
|
|
|
34304
34305
|
]
|
|
34305
34306
|
});
|
|
34306
34307
|
};
|
|
34307
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data:
|
|
34308
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: rJ, showSearch: iJ = false, searchQuery: aJ, onSearchQueryChange: oJ, showFilters: sJ = false, filters: cJ, onFiltersChange: lJ, calculateTopKRows: uJ, reloading: dJ, freezeColumnsLeft: fJ, freezeColumnsRight: pJ, hiddenColumns: mJ, toggleDisplayHeader: hJ, showChartBuilder: gJ, isChartBuilderOpen: _J, showPageSizeSelector: vJ, showTableExplorer: yJ, togglePanel: bJ, isPanelOpen: xJ, isAnyPanelOpen: SJ, viewedRowIdx: CJ, onViewedRowChange: wJ, renderTableExplorerPanel: TJ }) => {
|
|
34308
34309
|
let EJ = isStaticNotebook(), DJ = !EJ, [OJ, kJ] = import_react.useState(false), { locale: AJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: jJ, setColumnPinning: MJ } = useColumnPinning(fJ, pJ), { columnVisibility: NJ, setColumnVisibility: PJ } = useColumnVisibility(mJ);
|
|
34309
34310
|
import_react.useEffect(() => {
|
|
34310
34311
|
let e2;
|
|
@@ -34331,7 +34332,7 @@ ${n}` : "Please fix this error.";
|
|
|
34331
34332
|
CopyColumnFeature,
|
|
34332
34333
|
FocusRowFeature
|
|
34333
34334
|
],
|
|
34334
|
-
data:
|
|
34335
|
+
data: a,
|
|
34335
34336
|
columns: i,
|
|
34336
34337
|
meta: {
|
|
34337
34338
|
rawData: s
|
|
@@ -34379,7 +34380,7 @@ ${n}` : "Please fix this error.";
|
|
|
34379
34380
|
} : J && !z ? {} : {
|
|
34380
34381
|
pagination: {
|
|
34381
34382
|
pageIndex: 0,
|
|
34382
|
-
pageSize:
|
|
34383
|
+
pageSize: a.length
|
|
34383
34384
|
}
|
|
34384
34385
|
},
|
|
34385
34386
|
rowSelection: E ?? {},
|
|
@@ -34390,7 +34391,7 @@ ${n}` : "Please fix this error.";
|
|
|
34390
34391
|
cellHoverTemplate: M,
|
|
34391
34392
|
cellHoverTexts: I ?? {}
|
|
34392
34393
|
}
|
|
34393
|
-
}), LJ = (xJ == null ? void 0 : xJ(PANEL_TYPES.ROW_VIEWER)) ?? false, RJ = !J &&
|
|
34394
|
+
}), LJ = (xJ == null ? void 0 : xJ(PANEL_TYPES.ROW_VIEWER)) ?? false, RJ = !J && a.length > 100, zJ = useScrollContainerHeight({
|
|
34394
34395
|
maxHeight: n,
|
|
34395
34396
|
virtualize: RJ
|
|
34396
34397
|
}), [BJ, VJ] = import_react.useState(null), HJ = import_react.useMemo(() => ({
|
|
@@ -34493,26 +34494,26 @@ ${n}` : "Please fix this error.";
|
|
|
34493
34494
|
const CsvViewer = ({ contents: e }) => {
|
|
34494
34495
|
let t = (0, import_react.useMemo)(() => parseCsvData(e), [
|
|
34495
34496
|
e
|
|
34496
|
-
]), [n,
|
|
34497
|
+
]), [n, i] = (0, import_react.useState)({
|
|
34497
34498
|
pageIndex: 0,
|
|
34498
34499
|
pageSize: PAGE_SIZE
|
|
34499
|
-
}),
|
|
34500
|
+
}), a = (0, import_react.useMemo)(() => inferFieldTypes(t), [
|
|
34500
34501
|
t
|
|
34501
|
-
]),
|
|
34502
|
+
]), o = (0, import_react.useMemo)(() => generateColumns({
|
|
34502
34503
|
rowHeaders: Arrays.EMPTY,
|
|
34503
34504
|
selection: null,
|
|
34504
|
-
fieldTypes:
|
|
34505
|
+
fieldTypes: a
|
|
34505
34506
|
}), [
|
|
34506
|
-
|
|
34507
|
+
a
|
|
34507
34508
|
]);
|
|
34508
34509
|
return (0, import_jsx_runtime.jsx)(DataTable, {
|
|
34509
34510
|
data: t,
|
|
34510
34511
|
totalRows: t.length,
|
|
34511
|
-
columns:
|
|
34512
|
-
totalColumns:
|
|
34512
|
+
columns: o,
|
|
34513
|
+
totalColumns: o.length,
|
|
34513
34514
|
manualPagination: false,
|
|
34514
34515
|
paginationState: n,
|
|
34515
|
-
setPaginationState:
|
|
34516
|
+
setPaginationState: i,
|
|
34516
34517
|
wrapperClassName: "h-full justify-between pb-1 px-1",
|
|
34517
34518
|
pagination: true,
|
|
34518
34519
|
className: "rounded-none border-b flex flex-col overflow-hidden",
|
|
@@ -34520,9 +34521,9 @@ ${n}` : "Please fix this error.";
|
|
|
34520
34521
|
});
|
|
34521
34522
|
};
|
|
34522
34523
|
function insertDebuggerAtLine(e, t) {
|
|
34523
|
-
let { state:
|
|
34524
|
-
if (t <= 0 || t >
|
|
34525
|
-
let o =
|
|
34524
|
+
let { state: n } = e, i = n.doc;
|
|
34525
|
+
if (t <= 0 || t > i.lines) return Logger.warn(`Invalid line number: ${t}. Document has ${i.lines} lines.`), false;
|
|
34526
|
+
let o = i.line(t);
|
|
34526
34527
|
if (o.text.includes("breakpoint()")) return true;
|
|
34527
34528
|
let s = o.text.match(/^(\s*)/), c = `${s ? s[1] : ""}breakpoint()
|
|
34528
34529
|
`, d = o.from;
|
|
@@ -34560,9 +34561,9 @@ ${n}` : "Please fix this error.";
|
|
|
34560
34561
|
t[2] === i ? c = t[3] : (c = lastLine(i), t[2] = i, t[3] = c);
|
|
34561
34562
|
let d = c, f = useAtomValue(aiFeaturesEnabledAtom), _ = useOpenAiAssistant(), v;
|
|
34562
34563
|
t[4] === i ? v = t[5] : (v = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[4] = i, t[5] = v);
|
|
34563
|
-
let
|
|
34564
|
-
t[6] !== a || t[7] !==
|
|
34565
|
-
let O =
|
|
34564
|
+
let S = v, E;
|
|
34565
|
+
t[6] !== a || t[7] !== S ? (E = S && S.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = S, t[8] = E) : E = t[8];
|
|
34566
|
+
let O = E, A;
|
|
34566
34567
|
t[9] !== f || t[10] !== n ? (A = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = A) : A = t[11];
|
|
34567
34568
|
let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true), K;
|
|
34568
34569
|
t[12] !== d || t[13] !== n ? (K = (e2) => {
|
|
@@ -34581,7 +34582,7 @@ ${d}`,
|
|
|
34581
34582
|
}, t[15] = a, t[16] = d, t[17] = _, t[18] = J) : J = t[18];
|
|
34582
34583
|
let Q = J, $;
|
|
34583
34584
|
t[19] === z ? $ = t[20] : ($ = () => U(!z), t[19] = z, t[20] = $);
|
|
34584
|
-
let
|
|
34585
|
+
let iJ = z ? "Collapse traceback" : "Expand traceback", aJ;
|
|
34585
34586
|
t[21] === z ? aJ = t[22] : (aJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
34586
34587
|
className: "h-3 w-3"
|
|
34587
34588
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
@@ -34592,18 +34593,18 @@ ${d}`,
|
|
|
34592
34593
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
34593
34594
|
children: "Traceback"
|
|
34594
34595
|
}), t[23] = oJ) : oJ = t[23];
|
|
34595
|
-
let
|
|
34596
|
-
t[24] !== z || t[25] !== aJ || t[26] !== $ || t[27] !==
|
|
34596
|
+
let cJ;
|
|
34597
|
+
t[24] !== z || t[25] !== aJ || t[26] !== $ || t[27] !== iJ ? (cJ = (0, import_jsx_runtime.jsxs)("button", {
|
|
34597
34598
|
type: "button",
|
|
34598
34599
|
onClick: $,
|
|
34599
34600
|
"aria-expanded": z,
|
|
34600
|
-
"aria-label":
|
|
34601
|
+
"aria-label": iJ,
|
|
34601
34602
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
34602
34603
|
children: [
|
|
34603
34604
|
aJ,
|
|
34604
34605
|
oJ
|
|
34605
34606
|
]
|
|
34606
|
-
}), t[24] = z, t[25] = aJ, t[26] = $, t[27] =
|
|
34607
|
+
}), t[24] = z, t[25] = aJ, t[26] = $, t[27] = iJ, t[28] = cJ) : cJ = t[28];
|
|
34607
34608
|
let lJ;
|
|
34608
34609
|
t[29] !== s || t[30] !== z ? (lJ = z && (0, import_jsx_runtime.jsx)("div", {
|
|
34609
34610
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
@@ -34617,14 +34618,14 @@ ${d}`,
|
|
|
34617
34618
|
openChat: Q
|
|
34618
34619
|
}), t[32] = q, t[33] = Q, t[34] = M, t[35] = uJ) : uJ = t[35];
|
|
34619
34620
|
let dJ;
|
|
34620
|
-
t[36] !== O || t[37] !==
|
|
34621
|
+
t[36] !== O || t[37] !== S ? (dJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34621
34622
|
content: "Attach pdb to the exception point.",
|
|
34622
34623
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
34623
34624
|
size: "xs",
|
|
34624
34625
|
variant: "outline",
|
|
34625
34626
|
onClick: () => {
|
|
34626
34627
|
getRequestClient().sendPdb({
|
|
34627
|
-
cellId:
|
|
34628
|
+
cellId: S.cellId
|
|
34628
34629
|
});
|
|
34629
34630
|
},
|
|
34630
34631
|
children: [
|
|
@@ -34634,7 +34635,7 @@ ${d}`,
|
|
|
34634
34635
|
"Launch debugger"
|
|
34635
34636
|
]
|
|
34636
34637
|
})
|
|
34637
|
-
}), t[36] = O, t[37] =
|
|
34638
|
+
}), t[36] = O, t[37] = S, t[38] = dJ) : dJ = t[38];
|
|
34638
34639
|
let fJ;
|
|
34639
34640
|
t[39] !== d || t[40] !== i ? (fJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
34640
34641
|
children: [
|
|
@@ -34715,14 +34716,14 @@ ${d}`,
|
|
|
34715
34716
|
]
|
|
34716
34717
|
}), t[42] = uJ, t[43] = dJ, t[44] = fJ, t[45] = pJ) : pJ = t[45];
|
|
34717
34718
|
let mJ;
|
|
34718
|
-
return t[46] !==
|
|
34719
|
+
return t[46] !== cJ || t[47] !== lJ || t[48] !== pJ ? (mJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34719
34720
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
34720
34721
|
children: [
|
|
34721
|
-
|
|
34722
|
+
cJ,
|
|
34722
34723
|
lJ,
|
|
34723
34724
|
pJ
|
|
34724
34725
|
]
|
|
34725
|
-
}), t[46] =
|
|
34726
|
+
}), t[46] = cJ, t[47] = lJ, t[48] = pJ, t[49] = mJ) : mJ = t[49], mJ;
|
|
34726
34727
|
};
|
|
34727
34728
|
function lastLine(e) {
|
|
34728
34729
|
var _a2, _b;
|
|
@@ -35042,82 +35043,82 @@ ${d}`,
|
|
|
35042
35043
|
OutputRenderer.displayName = "OutputRenderer";
|
|
35043
35044
|
var MimeBundleOutputRenderer = (0, import_react.memo)((e) => {
|
|
35044
35045
|
var _a2;
|
|
35045
|
-
let t = (0, import_compiler_runtime$6.c)(31), { data: n, channel:
|
|
35046
|
-
if (t[0] !==
|
|
35047
|
-
|
|
35046
|
+
let t = (0, import_compiler_runtime$6.c)(31), { data: n, channel: i, cellId: a } = e, s = Array.isArray(n) ? n[0] : n, { mode: c } = useAtomValue(viewStateAtom), d = c === "present" || c === "read", f = s[METADATA_KEY], h, _, v, y, S, w, E, O;
|
|
35047
|
+
if (t[0] !== d || t[1] !== a || t[2] !== i || t[3] !== f || t[4] !== s) {
|
|
35048
|
+
O = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
35048
35049
|
bb0: {
|
|
35049
|
-
let { entries: e2 } = processMimeBundle(Objects.entries(
|
|
35050
|
+
let { entries: e2 } = processMimeBundle(Objects.entries(s).filter(_temp$2).map(_temp2$1)), n2 = (_a2 = e2[0]) == null ? void 0 : _a2[0];
|
|
35050
35051
|
if (!n2) {
|
|
35051
|
-
|
|
35052
|
+
O = null;
|
|
35052
35053
|
break bb0;
|
|
35053
35054
|
}
|
|
35054
35055
|
if (e2.length === 1) {
|
|
35055
|
-
|
|
35056
|
-
cellId:
|
|
35056
|
+
O = (0, import_jsx_runtime.jsx)(OutputRenderer, {
|
|
35057
|
+
cellId: a,
|
|
35057
35058
|
message: {
|
|
35058
|
-
channel:
|
|
35059
|
+
channel: i,
|
|
35059
35060
|
data: e2[0][1],
|
|
35060
35061
|
mimetype: n2
|
|
35061
35062
|
},
|
|
35062
|
-
metadata:
|
|
35063
|
+
metadata: f == null ? void 0 : f[n2]
|
|
35063
35064
|
});
|
|
35064
35065
|
break bb0;
|
|
35065
35066
|
}
|
|
35066
|
-
|
|
35067
|
-
let
|
|
35068
|
-
t[13] ===
|
|
35069
|
-
className:
|
|
35067
|
+
h = Tabs, w = n2, E = "vertical", y = "flex";
|
|
35068
|
+
let c2 = d && "mt-4", A2;
|
|
35069
|
+
t[13] === c2 ? A2 = t[14] : (A2 = cn("self-start max-h-none flex flex-col gap-2 mr-3 shrink-0", c2), t[13] = c2, t[14] = A2), S = (0, import_jsx_runtime.jsx)(TabsList, {
|
|
35070
|
+
className: A2,
|
|
35070
35071
|
children: e2.map(_temp3$1)
|
|
35071
|
-
}),
|
|
35072
|
-
let
|
|
35073
|
-
t[15] !==
|
|
35072
|
+
}), _ = "flex-1 w-full";
|
|
35073
|
+
let M2;
|
|
35074
|
+
t[15] !== a || t[16] !== i || t[17] !== f ? (M2 = (e3) => {
|
|
35074
35075
|
let [t2, n3] = e3;
|
|
35075
35076
|
return (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
35076
35077
|
value: t2,
|
|
35077
35078
|
children: (0, import_jsx_runtime.jsx)(ErrorBoundary, {
|
|
35078
35079
|
children: (0, import_jsx_runtime.jsx)(OutputRenderer, {
|
|
35079
|
-
cellId:
|
|
35080
|
+
cellId: a,
|
|
35080
35081
|
message: {
|
|
35081
|
-
channel:
|
|
35082
|
+
channel: i,
|
|
35082
35083
|
data: n3,
|
|
35083
35084
|
mimetype: t2
|
|
35084
35085
|
},
|
|
35085
|
-
metadata:
|
|
35086
|
+
metadata: f == null ? void 0 : f[t2]
|
|
35086
35087
|
})
|
|
35087
35088
|
})
|
|
35088
35089
|
}, t2);
|
|
35089
|
-
}, t[15] =
|
|
35090
|
+
}, t[15] = a, t[16] = i, t[17] = f, t[18] = M2) : M2 = t[18], v = e2.map(M2);
|
|
35090
35091
|
}
|
|
35091
|
-
t[0] =
|
|
35092
|
-
} else
|
|
35093
|
-
if (
|
|
35092
|
+
t[0] = d, t[1] = a, t[2] = i, t[3] = f, t[4] = s, t[5] = h, t[6] = _, t[7] = v, t[8] = y, t[9] = S, t[10] = w, t[11] = E, t[12] = O;
|
|
35093
|
+
} else h = t[5], _ = t[6], v = t[7], y = t[8], S = t[9], w = t[10], E = t[11], O = t[12];
|
|
35094
|
+
if (O !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return O;
|
|
35095
|
+
let A;
|
|
35096
|
+
t[19] !== _ || t[20] !== v ? (A = (0, import_jsx_runtime.jsx)("div", {
|
|
35097
|
+
className: _,
|
|
35098
|
+
children: v
|
|
35099
|
+
}), t[19] = _, t[20] = v, t[21] = A) : A = t[21];
|
|
35094
35100
|
let M;
|
|
35095
|
-
t[
|
|
35096
|
-
className:
|
|
35097
|
-
children: y
|
|
35098
|
-
}), t[19] = v, t[20] = y, t[21] = M) : M = t[21];
|
|
35099
|
-
let I;
|
|
35100
|
-
t[22] !== S || t[23] !== w || t[24] !== M ? (I = (0, import_jsx_runtime.jsxs)("div", {
|
|
35101
|
-
className: S,
|
|
35101
|
+
t[22] !== y || t[23] !== S || t[24] !== A ? (M = (0, import_jsx_runtime.jsxs)("div", {
|
|
35102
|
+
className: y,
|
|
35102
35103
|
children: [
|
|
35103
|
-
|
|
35104
|
-
|
|
35104
|
+
S,
|
|
35105
|
+
A
|
|
35105
35106
|
]
|
|
35106
|
-
}), t[22] =
|
|
35107
|
-
let
|
|
35108
|
-
return t[26] !==
|
|
35109
|
-
defaultValue:
|
|
35110
|
-
orientation:
|
|
35111
|
-
children:
|
|
35112
|
-
}), t[26] =
|
|
35107
|
+
}), t[22] = y, t[23] = S, t[24] = A, t[25] = M) : M = t[25];
|
|
35108
|
+
let I;
|
|
35109
|
+
return t[26] !== h || t[27] !== w || t[28] !== E || t[29] !== M ? (I = (0, import_jsx_runtime.jsx)(h, {
|
|
35110
|
+
defaultValue: w,
|
|
35111
|
+
orientation: E,
|
|
35112
|
+
children: M
|
|
35113
|
+
}), t[26] = h, t[27] = w, t[28] = E, t[29] = M, t[30] = I) : I = t[30], I;
|
|
35113
35114
|
});
|
|
35114
35115
|
MimeBundleOutputRenderer.displayName = "MimeBundleOutputRenderer";
|
|
35115
35116
|
OutputArea = import_react.memo((e) => {
|
|
35116
|
-
let t = (0, import_compiler_runtime$6.c)(17), { output: n, cellId: i, stale:
|
|
35117
|
+
let t = (0, import_compiler_runtime$6.c)(17), { output: n, cellId: i, stale: a, loading: s, allowExpand: c, forceExpand: d, className: f } = e;
|
|
35117
35118
|
if (n == null || n.channel === "output" && n.data === "") return null;
|
|
35118
|
-
let h =
|
|
35119
|
+
let h = a ? "This output is stale" : void 0, _ = c ? ExpandableOutput : Div, v;
|
|
35119
35120
|
t[0] === i ? v = t[1] : (v = CellOutputId.create(i), t[0] = i, t[1] = v);
|
|
35120
|
-
let y =
|
|
35121
|
+
let y = a && "marimo-output-stale", S = s && "marimo-output-loading", w;
|
|
35121
35122
|
t[2] !== f || t[3] !== y || t[4] !== S ? (w = cn(y, S, f), t[2] = f, t[3] = y, t[4] = S, t[5] = w) : w = t[5];
|
|
35122
35123
|
let E;
|
|
35123
35124
|
t[6] !== i || t[7] !== n ? (E = (0, import_jsx_runtime.jsx)(OutputRenderer, {
|
|
@@ -35146,7 +35147,7 @@ ${d}`,
|
|
|
35146
35147
|
});
|
|
35147
35148
|
Div.displayName = "Div";
|
|
35148
35149
|
var ExpandableOutput = import_react.memo((e) => {
|
|
35149
|
-
let t = (0, import_compiler_runtime$6.c)(24), { cellId: n, children: i, forceExpand:
|
|
35150
|
+
let t = (0, import_compiler_runtime$6.c)(24), { cellId: n, children: i, forceExpand: a, ...c } = e, d = (0, import_react.useRef)(null), [f, _] = useExpandedOutput(n), v = useOverflowDetection(d), { hasFullscreen: y } = useIframeCapabilities(), S;
|
|
35150
35151
|
t[0] === y ? S = t[1] : (S = y && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
35151
35152
|
content: "Fullscreen",
|
|
35152
35153
|
side: "left",
|
|
@@ -35167,7 +35168,7 @@ ${d}`,
|
|
|
35167
35168
|
})
|
|
35168
35169
|
}), t[0] = y, t[1] = S);
|
|
35169
35170
|
let w;
|
|
35170
|
-
t[2] !==
|
|
35171
|
+
t[2] !== a || t[3] !== f || t[4] !== v || t[5] !== _ ? (w = (v || f) && !a && (0, import_jsx_runtime.jsx)(Button, {
|
|
35171
35172
|
"data-testid": "expand-output-button",
|
|
35172
35173
|
className: cn("hover:border-border border border-transparent hover:bg-muted", !f && "hover-action"),
|
|
35173
35174
|
onClick: () => _(!f),
|
|
@@ -35186,7 +35187,7 @@ ${d}`,
|
|
|
35186
35187
|
className: "h-4 w-4 opacity-60"
|
|
35187
35188
|
})
|
|
35188
35189
|
})
|
|
35189
|
-
}), t[2] =
|
|
35190
|
+
}), t[2] = a, t[3] = f, t[4] = v, t[5] = _, t[6] = w) : w = t[6];
|
|
35190
35191
|
let E;
|
|
35191
35192
|
t[7] !== S || t[8] !== w ? (E = (0, import_jsx_runtime.jsx)("div", {
|
|
35192
35193
|
className: "relative print:hidden",
|
|
@@ -35199,9 +35200,9 @@ ${d}`,
|
|
|
35199
35200
|
})
|
|
35200
35201
|
}), t[7] = S, t[8] = w, t[9] = E) : E = t[9];
|
|
35201
35202
|
let O = cn("relative fullscreen:bg-background fullscreen:flex fullscreen:items-center fullscreen:justify-center", "fullscreen:items-center-safe", c.className), A;
|
|
35202
|
-
t[10] !==
|
|
35203
|
+
t[10] !== a || t[11] !== f ? (A = f || a ? {
|
|
35203
35204
|
maxHeight: "none"
|
|
35204
|
-
} : void 0, t[10] =
|
|
35205
|
+
} : void 0, t[10] = a, t[11] = f, t[12] = A) : A = t[12];
|
|
35205
35206
|
let M;
|
|
35206
35207
|
t[13] !== i || t[14] !== c || t[15] !== O || t[16] !== A ? (M = (0, import_jsx_runtime.jsx)("div", {
|
|
35207
35208
|
...c,
|
|
@@ -35258,7 +35259,7 @@ ${d}`,
|
|
|
35258
35259
|
}, t);
|
|
35259
35260
|
}
|
|
35260
35261
|
var import_compiler_runtime$5 = require_compiler_runtime(), CopyButton = (e) => {
|
|
35261
|
-
let t = (0, import_compiler_runtime$5.c)(8), { value: n } = e, i = typeof n == "string" && (n.startsWith("text/html:") || n.startsWith("image/") || n.startsWith("video/")), [
|
|
35262
|
+
let t = (0, import_compiler_runtime$5.c)(8), { value: n } = e, i = typeof n == "string" && (n.startsWith("text/html:") || n.startsWith("image/") || n.startsWith("video/")), [a, s] = (0, import_react.useState)(false), c;
|
|
35262
35263
|
t[0] === n ? c = t[1] : (c = async (e2) => {
|
|
35263
35264
|
e2.stopPropagation(), await copyToClipboard(n), s(true), setTimeout(() => s(false), 1e3);
|
|
35264
35265
|
}, t[0] = n, t[1] = c);
|
|
@@ -35267,11 +35268,11 @@ ${d}`,
|
|
|
35267
35268
|
let f;
|
|
35268
35269
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = cn("inline-flex ml-2 copy-button rounded w-6 h-3 justify-center items-center relative"), t[2] = f) : f = t[2];
|
|
35269
35270
|
let h;
|
|
35270
|
-
t[3] ===
|
|
35271
|
+
t[3] === a ? h = t[4] : (h = a ? (0, import_jsx_runtime.jsx)(Check, {
|
|
35271
35272
|
className: "w-5 h-5 absolute -top-0.5 p-1 hover:bg-muted rounded"
|
|
35272
35273
|
}) : (0, import_jsx_runtime.jsx)(Copy, {
|
|
35273
35274
|
className: "w-5 h-5 absolute -top-0.5 p-1 hover:bg-muted rounded"
|
|
35274
|
-
}), t[3] =
|
|
35275
|
+
}), t[3] = a, t[4] = h);
|
|
35275
35276
|
let _;
|
|
35276
35277
|
return t[5] !== d || t[6] !== h ? (_ = (0, import_jsx_runtime.jsx)("button", {
|
|
35277
35278
|
onClick: d,
|
|
@@ -35298,7 +35299,7 @@ ${d}`,
|
|
|
35298
35299
|
}), t[2] = e, t[3] = n, t[4] = i) : i = t[4], i;
|
|
35299
35300
|
};
|
|
35300
35301
|
JsonOutput = (0, import_react.memo)((e) => {
|
|
35301
|
-
let t = (0, import_compiler_runtime$5.c)(24), { data: n, format: i, name:
|
|
35302
|
+
let t = (0, import_compiler_runtime$5.c)(24), { data: n, format: i, name: a, valueTypes: s, className: c } = e, d = i === void 0 ? "auto" : i, f = a === void 0 ? false : a, h = s === void 0 ? "python" : s, { theme: _ } = useTheme();
|
|
35302
35303
|
d === "auto" && (d = inferBestFormat(n));
|
|
35303
35304
|
let v;
|
|
35304
35305
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
|
|
@@ -35314,10 +35315,10 @@ ${d}`,
|
|
|
35314
35315
|
t[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i2 = {
|
|
35315
35316
|
backgroundColor: "transparent"
|
|
35316
35317
|
}, t[3] = i2) : i2 = t[3];
|
|
35317
|
-
let
|
|
35318
|
+
let a2 = y[h], s2 = h === "python" ? keyRenderer : void 0, d2;
|
|
35318
35319
|
t[4] === n ? d2 = t[5] : (d2 = determineMaxDisplayLength(n), t[4] = n, t[5] = d2);
|
|
35319
35320
|
let v2;
|
|
35320
|
-
return t[6] !== n || t[7] !== f || t[8] !== e2 || t[9] !==
|
|
35321
|
+
return t[6] !== n || t[7] !== f || t[8] !== e2 || t[9] !== a2 || t[10] !== s2 || t[11] !== d2 || t[12] !== _ ? (v2 = (0, import_jsx_runtime.jsx)(JsonViewer, {
|
|
35321
35322
|
className: e2,
|
|
35322
35323
|
rootName: f,
|
|
35323
35324
|
theme: _,
|
|
@@ -35325,12 +35326,12 @@ ${d}`,
|
|
|
35325
35326
|
value: n,
|
|
35326
35327
|
style: i2,
|
|
35327
35328
|
collapseStringsAfterLength: COLLAPSED_TEXT_LENGTH,
|
|
35328
|
-
valueTypes:
|
|
35329
|
+
valueTypes: a2,
|
|
35329
35330
|
keyRenderer: s2,
|
|
35330
35331
|
groupArraysAfterLength: 2 ** 53 - 1,
|
|
35331
35332
|
enableClipboard: false,
|
|
35332
35333
|
maxDisplayLength: d2
|
|
35333
|
-
}), t[6] = n, t[7] = f, t[8] = e2, t[9] =
|
|
35334
|
+
}), t[6] = n, t[7] = f, t[8] = e2, t[9] = a2, t[10] = s2, t[11] = d2, t[12] = _, t[13] = v2) : v2 = t[13], v2;
|
|
35334
35335
|
}
|
|
35335
35336
|
case "raw": {
|
|
35336
35337
|
let e2;
|
|
@@ -35675,23 +35676,23 @@ ${d}`,
|
|
|
35675
35676
|
let import_compiler_runtime$4;
|
|
35676
35677
|
import_compiler_runtime$4 = require_compiler_runtime();
|
|
35677
35678
|
RadioGroup = import_react.forwardRef((e, t) => {
|
|
35678
|
-
let n = (0, import_compiler_runtime$4.c)(9), i,
|
|
35679
|
-
n[0] === e ? (i = n[1],
|
|
35679
|
+
let n = (0, import_compiler_runtime$4.c)(9), i, a;
|
|
35680
|
+
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
35680
35681
|
let s;
|
|
35681
35682
|
n[3] === i ? s = n[4] : (s = cn("grid gap-2", i), n[3] = i, n[4] = s);
|
|
35682
35683
|
let c;
|
|
35683
|
-
return n[5] !==
|
|
35684
|
+
return n[5] !== a || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(Root2$1, {
|
|
35684
35685
|
className: s,
|
|
35685
|
-
...
|
|
35686
|
+
...a,
|
|
35686
35687
|
ref: t
|
|
35687
|
-
}), n[5] =
|
|
35688
|
+
}), n[5] = a, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
35688
35689
|
});
|
|
35689
35690
|
RadioGroup.displayName = Root2$1.displayName;
|
|
35690
35691
|
RadioGroupItem = import_react.forwardRef((e, t) => {
|
|
35691
|
-
let n = (0, import_compiler_runtime$4.c)(13), i,
|
|
35692
|
-
n[0] === e ? (i = n[1],
|
|
35692
|
+
let n = (0, import_compiler_runtime$4.c)(13), i, a, s;
|
|
35693
|
+
n[0] === e ? (i = n[1], a = n[2], s = n[3]) : ({ className: a, children: i, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = s);
|
|
35693
35694
|
let c;
|
|
35694
|
-
n[4] ===
|
|
35695
|
+
n[4] === a ? c = n[5] : (c = cn("h-[16px] w-[16px] transition-shadow data-[state=unchecked]:shadow-xs-solid rounded-full border border-input text-primary ring-offset-background focus:outline-hidden focus:shadow-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:shadow-none", a), n[4] = a, n[5] = c);
|
|
35695
35696
|
let d;
|
|
35696
35697
|
n[6] === i ? d = n[7] : (d = i ?? (0, import_jsx_runtime.jsx)(Indicator, {
|
|
35697
35698
|
className: "flex items-center justify-center",
|
|
@@ -35735,8 +35736,8 @@ ${d}`,
|
|
|
35735
35736
|
}
|
|
35736
35737
|
});
|
|
35737
35738
|
Switch = import_react.forwardRef((e, t) => {
|
|
35738
|
-
let n = (0, import_compiler_runtime$3.c)(16), i,
|
|
35739
|
-
n[0] === e ? (i = n[1],
|
|
35739
|
+
let n = (0, import_compiler_runtime$3.c)(16), i, a, s;
|
|
35740
|
+
n[0] === e ? (i = n[1], a = n[2], s = n[3]) : ({ className: i, size: s, ...a } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = s);
|
|
35740
35741
|
let c;
|
|
35741
35742
|
n[4] !== i || n[5] !== s ? (c = cn(switchVariants({
|
|
35742
35743
|
size: s
|
|
@@ -35750,12 +35751,12 @@ ${d}`,
|
|
|
35750
35751
|
className: d
|
|
35751
35752
|
}), n[9] = d, n[10] = f);
|
|
35752
35753
|
let h;
|
|
35753
|
-
return n[11] !==
|
|
35754
|
+
return n[11] !== a || n[12] !== t || n[13] !== c || n[14] !== f ? (h = (0, import_jsx_runtime.jsx)(Root$1, {
|
|
35754
35755
|
className: c,
|
|
35755
|
-
...
|
|
35756
|
+
...a,
|
|
35756
35757
|
ref: t,
|
|
35757
35758
|
children: f
|
|
35758
|
-
}), n[11] =
|
|
35759
|
+
}), n[11] = a, n[12] = t, n[13] = c, n[14] = f, n[15] = h) : h = n[15], h;
|
|
35759
35760
|
});
|
|
35760
35761
|
Switch.displayName = Root$1.displayName;
|
|
35761
35762
|
var import_compiler_runtime$2 = require_compiler_runtime();
|
|
@@ -35951,30 +35952,30 @@ ${d}`,
|
|
|
35951
35952
|
]
|
|
35952
35953
|
}), e[1] = n) : n = e[1], n;
|
|
35953
35954
|
}, SlideConfigForm = (e) => {
|
|
35954
|
-
let t = (0, import_compiler_runtime$1.c)(29), { layout: n, setLayout: i, cellId:
|
|
35955
|
-
t[0] !==
|
|
35955
|
+
let t = (0, import_compiler_runtime$1.c)(29), { layout: n, setLayout: i, cellId: a } = e, s;
|
|
35956
|
+
t[0] !== a || t[1] !== n.cells ? (s = n.cells.get(a), t[0] = a, t[1] = n.cells, t[2] = s) : s = t[2];
|
|
35956
35957
|
let c = s, d = (c == null ? void 0 : c.type) ?? "slide", f = (c == null ? void 0 : c.showCode) ?? false, h;
|
|
35957
|
-
t[3] !==
|
|
35958
|
+
t[3] !== a || t[4] !== c || t[5] !== n || t[6] !== i ? (h = (e2) => {
|
|
35958
35959
|
let t2 = new Map(n.cells);
|
|
35959
|
-
t2.set(
|
|
35960
|
+
t2.set(a, {
|
|
35960
35961
|
...c,
|
|
35961
35962
|
type: e2
|
|
35962
35963
|
}), i({
|
|
35963
35964
|
...n,
|
|
35964
35965
|
cells: t2
|
|
35965
35966
|
});
|
|
35966
|
-
}, t[3] =
|
|
35967
|
+
}, t[3] = a, t[4] = c, t[5] = n, t[6] = i, t[7] = h) : h = t[7];
|
|
35967
35968
|
let _ = h, v;
|
|
35968
|
-
t[8] !==
|
|
35969
|
+
t[8] !== a || t[9] !== c || t[10] !== n || t[11] !== i ? (v = (e2) => {
|
|
35969
35970
|
let t2 = new Map(n.cells);
|
|
35970
|
-
t2.set(
|
|
35971
|
+
t2.set(a, {
|
|
35971
35972
|
...c,
|
|
35972
35973
|
showCode: e2
|
|
35973
35974
|
}), i({
|
|
35974
35975
|
...n,
|
|
35975
35976
|
cells: t2
|
|
35976
35977
|
});
|
|
35977
|
-
}, t[8] =
|
|
35978
|
+
}, t[8] = a, t[9] = c, t[10] = n, t[11] = i, t[12] = v) : v = t[12];
|
|
35978
35979
|
let y = v, S;
|
|
35979
35980
|
t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (0, import_jsx_runtime.jsx)("span", {
|
|
35980
35981
|
className: "font-semibold text-sm",
|
|
@@ -35984,7 +35985,7 @@ ${d}`,
|
|
|
35984
35985
|
t[14] === _ ? w = t[15] : (w = (e2) => _(e2), t[14] = _, t[15] = w);
|
|
35985
35986
|
let E;
|
|
35986
35987
|
t[16] === d ? E = t[17] : (E = SLIDE_TYPE_OPTIONS.map((e2) => {
|
|
35987
|
-
let { value: t2, label: n2, description: i2, Icon:
|
|
35988
|
+
let { value: t2, label: n2, description: i2, Icon: a2 } = e2, s2 = d === t2;
|
|
35988
35989
|
return (0, import_jsx_runtime.jsx)(RadioGroupItem, {
|
|
35989
35990
|
value: t2,
|
|
35990
35991
|
className: cn("group h-auto w-full text-left rounded-md p-2.5 transition-colors shadow-none! border", "focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", s2 ? "border-primary bg-primary/5" : "border-border bg-background hover:bg-accent/50 hover:border-foreground/30"),
|
|
@@ -35993,7 +35994,7 @@ ${d}`,
|
|
|
35993
35994
|
children: [
|
|
35994
35995
|
(0, import_jsx_runtime.jsx)("span", {
|
|
35995
35996
|
className: cn("mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded", s2 ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground group-hover:text-foreground"),
|
|
35996
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
35997
|
+
children: (0, import_jsx_runtime.jsx)(a2, {
|
|
35997
35998
|
className: "h-3.5 w-3.5"
|
|
35998
35999
|
})
|
|
35999
36000
|
}),
|
|
@@ -36168,7 +36169,7 @@ ${d}`,
|
|
|
36168
36169
|
}), t[36] = I, t[37] = $, t[38] = rJ) : rJ = t[38], rJ;
|
|
36169
36170
|
};
|
|
36170
36171
|
SlideSidebar = (e) => {
|
|
36171
|
-
let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout:
|
|
36172
|
+
let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: a, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
|
|
36172
36173
|
t[0] === f ? _ = t[1] : (_ = {
|
|
36173
36174
|
width: f
|
|
36174
36175
|
}, t[0] = f, t[1] = _);
|
|
@@ -36211,12 +36212,12 @@ ${d}`,
|
|
|
36211
36212
|
]
|
|
36212
36213
|
}), t[17] = M, t[18] = y, t[19] = S, t[20] = I) : I = t[20];
|
|
36213
36214
|
let z;
|
|
36214
|
-
t[21] !== s || t[22] !== c || t[23] !== i || t[24] !==
|
|
36215
|
+
t[21] !== s || t[22] !== c || t[23] !== i || t[24] !== a ? (z = c && (0, import_jsx_runtime.jsx)("div", {
|
|
36215
36216
|
id: "slide-config-panel",
|
|
36216
36217
|
className: "flex-1 overflow-y-auto overflow-x-hidden",
|
|
36217
36218
|
children: s ? (0, import_jsx_runtime.jsx)(SlidesForm, {
|
|
36218
36219
|
layout: i,
|
|
36219
|
-
setLayout:
|
|
36220
|
+
setLayout: a,
|
|
36220
36221
|
cellId: s.id
|
|
36221
36222
|
}) : (0, import_jsx_runtime.jsxs)("div", {
|
|
36222
36223
|
className: "flex flex-col gap-1.5 p-3 text-xs text-muted-foreground",
|
|
@@ -36230,7 +36231,7 @@ ${d}`,
|
|
|
36230
36231
|
})
|
|
36231
36232
|
]
|
|
36232
36233
|
})
|
|
36233
|
-
}), t[21] = s, t[22] = c, t[23] = i, t[24] =
|
|
36234
|
+
}), t[21] = s, t[22] = c, t[23] = i, t[24] = a, t[25] = z) : z = t[25];
|
|
36234
36235
|
let U;
|
|
36235
36236
|
return t[26] !== I || t[27] !== z || t[28] !== _ ? (U = (0, import_jsx_runtime.jsxs)("aside", {
|
|
36236
36237
|
className: "h-full flex flex-col border-l border-border/60 bg-muted/20 transition-[width] duration-200 ease-out overflow-hidden",
|
|
@@ -36290,7 +36291,7 @@ ${d}`,
|
|
|
36290
36291
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36291
36292
|
}
|
|
36292
36293
|
}
|
|
36293
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.15-
|
|
36294
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.15-dev55");
|
|
36294
36295
|
showCodeInRunModeAtom = atom(true);
|
|
36295
36296
|
atom(null);
|
|
36296
36297
|
var import_compiler_runtime = require_compiler_runtime();
|