@marimo-team/islands 0.23.7-dev4 → 0.23.7-dev42
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-PmilQqXR.js → ConnectedDataExplorerComponent-2lBNiUv6.js} +14 -14
- package/dist/{ErrorBoundary-Da4UeYxT.js → ErrorBoundary-D3wrPNma.js} +1 -1
- package/dist/{any-language-editor-BVR0l12r.js → any-language-editor-VWs_7v27.js} +15 -15
- package/dist/apl-Bdc61P1y.js +4 -0
- package/dist/{arc-CHF8PiiF.js → arc-DfkSnvZm.js} +2 -2
- package/dist/{architecture-7HQA4BMR-D0JB_3hE.js → architecture-7HQA4BMR-CS9jOrqM.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-BXQEUDtK.js → architectureDiagram-VXUJARFQ-CXVJxFhH.js} +16 -16
- package/dist/asciiarmor-DVRHDGzT.js +4 -0
- package/dist/asn1-BmuKfkfu.js +4 -0
- package/dist/assets/__vite-browser-external-CAdMKBac.js +1 -0
- package/dist/assets/worker-CpBbwbQo.js +73 -0
- package/dist/{blockDiagram-VD42YOAC-DhJe-Y9i.js → blockDiagram-VD42YOAC-DGDaxR8I.js} +11 -11
- package/dist/brainfuck-DPrRpyTV.js +4 -0
- package/dist/{button-CA5pI2YF.js → button-Dj4BTre0.js} +5 -0
- package/dist/{c4Diagram-YG6GDRKO-9dSfzOFR.js → c4Diagram-YG6GDRKO-C2hc6ne8.js} +5 -5
- package/dist/{capabilities-6laDasij.js → capabilities-C9rrYCzf.js} +1 -1
- package/dist/{channel-MqYIiKgS.js → channel-BBoIVUrJ.js} +1 -1
- package/dist/{chat-ui-B-gbqk_F.js → chat-ui-CufH8sfF.js} +626 -234
- package/dist/{check-CFM2mVDr.js → check-BcUIXnUT.js} +1 -1
- package/dist/{chunk-4BX2VUAB-BwfrWBqN.js → chunk-4BX2VUAB-CzXltWHN.js} +1 -1
- package/dist/{chunk-55IACEB6-D8THf2mi.js → chunk-55IACEB6-B-1mjMMC.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-CO1e63h_.js → chunk-5FQGJX7Z-BOg95xG5.js} +2 -2
- package/dist/{chunk-ABZYJK2D-BrBb_0yY.js → chunk-ABZYJK2D-D0cLy8Bb.js} +2 -2
- package/dist/{chunk-ATLVNIR6-D-0XqNah.js → chunk-ATLVNIR6-BXsEjlHF.js} +2 -2
- package/dist/{chunk-B4BG7PRW-8iRKvugR.js → chunk-B4BG7PRW-Q1usn6T3.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B6xhgaBd.js → chunk-CVBHYZKI-B_c5YBcW.js} +1 -1
- package/dist/{chunk-DI55MBZ5-C0_2D4m4.js → chunk-DI55MBZ5-D1qLYNrb.js} +6 -6
- package/dist/{chunk-EXTU4WIE-Jiw9ca1u.js → chunk-EXTU4WIE-BKNXdLmD.js} +2 -2
- package/dist/{chunk-FMBD7UC4-CHdus51S.js → chunk-FMBD7UC4-Ie8M9q0W.js} +1 -1
- package/dist/{chunk-HN2XXSSU-2Vfbq-kU.js → chunk-HN2XXSSU-E3n-Ys7Z.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-6wbaigKe.js → chunk-JA3XYJ7Z-D6c6cOBG.js} +3 -3
- package/dist/{chunk-JZLCHNYA-_rfptlUP.js → chunk-JZLCHNYA-BvsPHJmL.js} +6 -6
- package/dist/{chunk-MI3HLSF2-Do0-KRc0.js → chunk-MI3HLSF2-CUYEasXO.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DIZG9dVD.js → chunk-N4CR4FBY-8ycT-O9a.js} +7 -7
- package/dist/{chunk-QN33PNHL-Cc64y40m.js → chunk-QN33PNHL-Bb-eUBW3.js} +2 -2
- package/dist/{chunk-QXUST7PY-BDG0-0Or.js → chunk-QXUST7PY-DV8yRwBd.js} +10 -10
- package/dist/{chunk-QZHKN3VN-B_Mdb8GC.js → chunk-QZHKN3VN-DRjXVwuJ.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-DphMP0FA.js → chunk-S3R3BYOJ-mQeCz5CE.js} +4 -4
- package/dist/{chunk-TZMSLE5B-C9LUoYkc.js → chunk-TZMSLE5B-BqW10dHe.js} +3 -3
- package/dist/classDiagram-2ON5EDUG--Yh__LHb.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-BC7X7Xtc.js +30 -0
- package/dist/{clike-sBZrGeF8.js → clike-DTxNUn7l.js} +1 -1
- package/dist/clojure-DEttQW5T.js +4 -0
- package/dist/cmake-jNlx_DaM.js +4 -0
- package/dist/cobol-BvvIm5MJ.js +4 -0
- package/dist/{code-block-37QAKDTI-0JNwiPGv.js → code-block-37QAKDTI-BsGy1AOJ.js} +1 -1
- package/dist/{code-visibility-zYxaYsuj.js → code-visibility-CTdccsPx.js} +573 -585
- package/dist/coffeescript-DTpBMyFU.js +4 -0
- package/dist/commonlisp-BmmUG8jb.js +4 -0
- package/dist/{copy-TGGAUEWp.js → copy-DLf4aN7I.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-DXHZkJKX.js → cose-bilkent-S5V4N54A-kjoZoid4.js} +2 -2
- package/dist/crystal-BxyqmEWC.js +4 -0
- package/dist/css-BGoCtuG3.js +4 -0
- package/dist/cypher-BmCbdl3u.js +4 -0
- package/dist/d-CFrlbjZt.js +4 -0
- package/dist/{dagre-6UL2VRFP-tH87fkPA.js → dagre-6UL2VRFP-DRBWoQUw.js} +10 -10
- package/dist/{data-grid-overlay-editor-CWUN78-s.js → data-grid-overlay-editor-efe5ZagF.js} +2 -2
- package/dist/{diagram-PSM6KHXK-2VjPSCDn.js → diagram-PSM6KHXK-H66ATWP2.js} +18 -18
- package/dist/{diagram-QEK2KX5R-CiLmNyta.js → diagram-QEK2KX5R-DItl5Wns.js} +14 -14
- package/dist/{diagram-S2PKOQOG-Zha_1CLx.js → diagram-S2PKOQOG-CtuW_ZuL.js} +14 -14
- package/dist/diff-D6XwL6P8.js +4 -0
- package/dist/{dist-Brkazupz.js → dist--sWVZwjW.js} +1 -1
- package/dist/{dist-FN0ZA_8F.js → dist-21ButRCu.js} +1 -1
- package/dist/{dist-BetEKbPG.js → dist-B8RaFTRF.js} +1 -1
- package/dist/dist-BoHGySTM.js +5 -0
- package/dist/dist-ByAz19Qc.js +5 -0
- package/dist/dist-C93EysN4.js +5 -0
- package/dist/{dist-BHnX0ia_.js → dist-CY-lVor6.js} +1 -1
- package/dist/{dist-YP-G7W0f.js → dist-CYDuv4bR.js} +1 -1
- package/dist/{dist-CMjD5MQb.js → dist-Cfo5EE2t.js} +1 -1
- package/dist/dist-CjivSDvN.js +5 -0
- package/dist/dist-Cqwx-MH7.js +5 -0
- package/dist/{dist-ESg7xyoD.js → dist-D3ZI9nhS.js} +2 -2
- package/dist/{dist-DkC6YEo0.js → dist-DMZNjfX4.js} +1 -1
- package/dist/{dist-ChC1BhqM.js → dist-DbpcoFAV.js} +1 -1
- package/dist/dist-FUNenbiQ.js +5 -0
- package/dist/{dist-BEOU2g1b.js → dist-zhSud5X3.js} +1 -1
- package/dist/{dockerfile-COvlVLcE.js → dockerfile-twL37N91.js} +1 -1
- package/dist/dtd-Bw0lRN0-.js +4 -0
- package/dist/dylan-B55eBHTt.js +4 -0
- package/dist/ecl-C8G4p0wn.js +4 -0
- package/dist/eiffel-BmH46VJl.js +4 -0
- package/dist/elm-DhzeFqkl.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-biHZS05w.js → erDiagram-Q2GNP2WA--19X2kU5.js} +14 -14
- package/dist/erlang-CY-wdlsU.js +4 -0
- package/dist/{error-banner-DnBPzEWg.js → error-banner-CVkfBUT3.js} +2 -2
- package/dist/{esm-Dd1z1auZ.js → esm-CWp0KQeK.js} +1 -1
- package/dist/{esm-CYEyrE3Y.js → esm-DjNnlmpf.js} +96 -96
- package/dist/{extends-CzJgxo2J.js → extends-vAi97cpa.js} +4 -4
- package/dist/{factor-C2GT7jfQ.js → factor-CajWS6mS.js} +1 -1
- package/dist/factor-DWkgl0xw.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-CWWlUpBR.js → flowDiagram-NV44I4VS-DQmWlo7f.js} +16 -16
- package/dist/{formats-CgaK7Gmx.js → formats-CpgZM9BM.js} +3 -3
- package/dist/forth-Cij_ie2t.js +4 -0
- package/dist/fortran-Br3X9cfm.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-D7B2c4Z9.js → ganttDiagram-JELNMOA3-BOGXJ8Lk.js} +7 -7
- package/dist/gas-DYsGcMN2.js +4 -0
- package/dist/gherkin-eVgXQ0fQ.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-BdepdFa_.js → gitGraph-G5XIXVHT-DGlbae5m.js} +1 -1
- package/dist/{gitGraphDiagram-V2S2FVAM-CtLvNR1S.js → gitGraphDiagram-V2S2FVAM-DjzxfF0P.js} +14 -14
- package/dist/{glide-data-editor-CvlvtPWJ.js → glide-data-editor-BK9s_dqy.js} +13 -13
- package/dist/groovy-_NFHIXG7.js +4 -0
- package/dist/haskell-D6xNG_bH.js +4 -0
- package/dist/haxe-sU_rzAwn.js +5 -0
- package/dist/{html-to-image-hMMPiNe_.js → html-to-image-DxWM1HVj.js} +2395 -2301
- package/dist/idl-Ds_VbrUx.js +4 -0
- package/dist/{info-VBDWY6EO--JNA2rNu.js → info-VBDWY6EO-D2lvLLw5.js} +1 -1
- package/dist/{infoDiagram-HS3SLOUP-BbZyOxsP.js → infoDiagram-HS3SLOUP-ChNufFsP.js} +12 -12
- package/dist/{input-BAOe64zx.js → input-Cc1Vvw9A.js} +6 -6
- package/dist/javascript-CztfIl0i.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-BU2mjjzl.js → journeyDiagram-XKPGCS4Q-BO_O4Ij1.js} +6 -6
- package/dist/julia-DDv40QMV.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-BlmczUuw.js → kanban-definition-3W4ZIXB7-CPpiiiWk.js} +11 -11
- package/dist/{katex-qPqrBHZ8.js → katex-9-9QRhxz.js} +1 -1
- package/dist/{label-BCWi-Oqu.js → label-BLqV33b1.js} +2 -2
- package/dist/{line-BWRi3U3S.js → line-C5s_12ee.js} +3 -3
- package/dist/{linear-DnHwODZa.js → linear-2NnK4cxi.js} +2 -2
- package/dist/livescript-BEOngLLc.js +4 -0
- package/dist/{loader-BvW0-YWZ.js → loader-Dr8Qem8p.js} +1 -1
- package/dist/lua-9-7BhQ4Y.js +4 -0
- package/dist/main.js +1175 -1142
- package/dist/mathematica-DDa0Pfxm.js +4 -0
- package/dist/mbox-iO03mmoE.js +4 -0
- package/dist/{mermaid-4DMBBIKO-CG1ECj5W.js → mermaid-4DMBBIKO-B7VQMwJx.js} +1 -1
- package/dist/{mermaid-CEbzCxCc.js → mermaid-DO-Daq7u.js} +46 -46
- package/dist/{mermaid-parser.core-CleJseNW.js → mermaid-parser.core-DreccfmS.js} +7 -7
- package/dist/{mhchem-BwoRNwg_.js → mhchem-yiCCuiEF.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-CcSYqYP9.js → mindmap-definition-VGOIOE7T-CC1_Vl0f.js} +13 -13
- package/dist/mirc-C9z5LT4X.js +4 -0
- package/dist/mllike-jGJbdm_C.js +6 -0
- package/dist/modelica-DzF7oIEL.js +4 -0
- package/dist/mscgen-DB-u125o.js +6 -0
- package/dist/mumps-CRTFHhzh.js +4 -0
- package/dist/nsis-C4NPTuox.js +4 -0
- package/dist/{nsis-B5K1qoyo.js → nsis-ClF3r5Tr.js} +1 -1
- package/dist/ntriples-BCOoGph1.js +4 -0
- package/dist/{number-overlay-editor-_GnlYFHC.js → number-overlay-editor-CpKi64Fy.js} +1 -1
- package/dist/octave-DTwNlazz.js +4 -0
- package/dist/{ordinal-2jIulmcR.js → ordinal-B43ZeR68.js} +1 -1
- package/dist/oz-DD38AzSz.js +4 -0
- package/dist/{packet-DYOGHKS2-CBxXGWNr.js → packet-DYOGHKS2-CmWtF3uO.js} +1 -1
- package/dist/pascal-BohSp9jV.js +4 -0
- package/dist/perl-f5OutoPM.js +4 -0
- package/dist/{pie-VRWISCQL-Bmdnqjip.js → pie-VRWISCQL-B6u8vus8.js} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-DNyLF5H2.js → pieDiagram-ADFJNKIX-Di34MOFQ.js} +19 -19
- package/dist/pig-Dv7wSmHb.js +4 -0
- package/dist/powershell-rYgjKB39.js +4 -0
- package/dist/{process-output-Bza_GK7Q.js → process-output-DBYxXdrN.js} +30 -25
- package/dist/properties-BFUNLRDN.js +4 -0
- package/dist/protobuf-B9QJQPPv.js +4 -0
- package/dist/{pug-tjbzJCFk.js → pug-B_rby2yb.js} +1 -1
- package/dist/pug-DzvWpaMC.js +4 -0
- package/dist/puppet-B_K-n_xK.js +4 -0
- package/dist/python-CAiFcaA2.js +4 -0
- package/dist/q-cLeFIBLK.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-rXwjifrj.js → quadrantDiagram-AYHSOK5B-B9kVk1ny.js} +3 -3
- package/dist/r-04Y-Wco3.js +4 -0
- package/dist/{radar-ZZBFDIW7-BmCWDffL.js → radar-ZZBFDIW7-XAmXSa8s.js} +1 -1
- package/dist/{react-vega-B-rkEqtS.js → react-vega-Cavbrg4l.js} +1 -1
- package/dist/{react-vega-k9ODWPlI.js → react-vega-Dh6-UKKe.js} +13 -13
- package/dist/{requirementDiagram-UZGBJVZJ-DBdrMVbs.js → requirementDiagram-UZGBJVZJ-BxGfGYEx.js} +13 -13
- package/dist/{reveal-component-h0_DDpxE.js → reveal-component-BpKkH57S.js} +10 -10
- package/dist/rpm-FUdrIia9.js +5 -0
- package/dist/ruby-DMjFXuEW.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-CxmzalGv.js → sankeyDiagram-TZEHDZUN-D09PBJ-n.js} +4 -4
- package/dist/sas-DzHZxjXK.js +4 -0
- package/dist/scheme-DxHd_Rb9.js +4 -0
- package/dist/semaphore-CNDGTzkX.js +46 -0
- package/dist/{sequenceDiagram-WL72ISMW-CVCDsJ9h.js → sequenceDiagram-WL72ISMW-t_Dpemj0.js} +7 -7
- package/dist/shell-C8Kwypgf.js +4 -0
- package/dist/sieve-DdyqOKXZ.js +4 -0
- package/dist/smalltalk-pB7X1D9y.js +4 -0
- package/dist/sparql-NhBO6oOa.js +4 -0
- package/dist/{spec-DSIuqd3f.js → spec-hVaaZsY5.js} +4 -4
- package/dist/{src-BY0BGg6V.js → src-Bf2iLOlr.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-D_2djEhW.js → stateDiagram-FKZM4ZOC-B18gTP_j.js} +16 -16
- package/dist/stateDiagram-v2-4FDKWEC3-B6e_t14A.js +29 -0
- package/dist/{step-DGAGWg3y.js → step-CWipAYTY.js} +1 -1
- package/dist/{strings-B_FOH6eV.js → strings-BiIhGaI8.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/stylus-SfWSnzPv.js +4 -0
- package/dist/swift-jRPdq2zR.js +4 -0
- package/dist/{swiper-component-KkEVUDd3.js → swiper-component-DlD2GU2g.js} +2 -2
- package/dist/tcl-_hpTHGX3.js +4 -0
- package/dist/textile-C9h8slqH.js +4 -0
- package/dist/{time-CMdrp3hw.js → time-C1SGcFMH.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-E4NzxCs3.js → timeline-definition-IT6M3QCI-DJnh1ks5.js} +3 -3
- package/dist/{toDate-CHtl9vts.js → toDate-CJWlVNGD.js} +3 -3
- package/dist/toml-DWvtinD4.js +4 -0
- package/dist/{tooltip-B0mtKTXm.js → tooltip-DRaMBu06.js} +3 -3
- package/dist/{treemap-GDKQZRPO-CoKHPxa7.js → treemap-GDKQZRPO-Du95DV6u.js} +1 -1
- package/dist/troff-Dwo_A0y7.js +4 -0
- package/dist/ttcn-V--CPFKq.js +4 -0
- package/dist/ttcn-cfg-CPSMchTG.js +4 -0
- package/dist/turtle-B4rPGBWu.js +4 -0
- package/dist/{types-DBtDeUKD.js → types-Dzuoc3LN.js} +1 -1
- package/dist/{useAsyncData-B6hCGywC.js → useAsyncData-C56Khv_R.js} +1 -1
- package/dist/{useDateFormatter-B3mCQMP3.js → useDateFormatter-B_9k85Ex.js} +2 -2
- package/dist/{useDeepCompareMemoize-CmwDuYUH.js → useDeepCompareMemoize-Dt98v2ua.js} +1 -1
- package/dist/{useIframeCapabilities-DbdLoEDm.js → useIframeCapabilities-BkYHTrss.js} +1 -1
- package/dist/{useLifecycle-CjMjllqy.js → useLifecycle-BF6-z62y.js} +3 -3
- package/dist/{useTheme-CByZUW0p.js → useTheme-DykuNHR2.js} +2 -2
- package/dist/vb-DaMBBd4j.js +4 -0
- package/dist/vbscript-BMJQqcE2.js +4 -0
- package/dist/{vega-component-CC8TqWWV.js → vega-component-BtvQ-Kc4.js} +26 -24
- package/dist/velocity-CGq2QRq2.js +4 -0
- package/dist/verilog-CUNo8F5u.js +4 -0
- package/dist/vhdl-CCzA0msW.js +4 -0
- package/dist/webidl-CqIMDIBL.js +4 -0
- package/dist/xquery-XC5Kbr-1.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-CuxTvjw5.js → xychartDiagram-PRI3JC2R-Dk2d_bX0.js} +10 -10
- package/dist/yacas-CGOv7Dzy.js +4 -0
- package/dist/z80-CXhVmi-f.js +4 -0
- package/dist/{zod-BxdsqRPd.js → zod-BWkcDORu.js} +1 -1
- package/package.json +3 -3
- package/src/components/chat/chat-components.tsx +47 -0
- package/src/components/chat/chat-display.tsx +41 -7
- package/src/components/chat/chat-panel.tsx +37 -10
- package/src/components/chat/chat-utils.ts +42 -20
- package/src/components/chat/reasoning-accordion.tsx +14 -3
- package/src/components/chat/tool-call/shared.ts +13 -0
- package/src/components/chat/tool-call/tool-approval-card.tsx +62 -0
- package/src/components/chat/tool-call/tool-args.tsx +26 -0
- package/src/components/chat/tool-call/tool-call-view.tsx +99 -0
- package/src/components/chat/tool-call/tool-error-card.tsx +81 -0
- package/src/components/chat/tool-call/tool-history-row.tsx +153 -0
- package/src/components/chat/tool-call/tool-result.tsx +101 -0
- package/src/components/data-table/TableTopBar.tsx +5 -1
- package/src/components/data-table/data-table.tsx +5 -0
- package/src/components/data-table/download-policy/atoms.ts +10 -0
- package/src/components/data-table/export-actions.tsx +31 -4
- package/src/components/editor/actions/useNotebookActions.tsx +3 -1
- package/src/components/editor/app-container.tsx +7 -1
- package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +10 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +1 -0
- package/src/components/editor/chrome/wrapper/footer.tsx +4 -1
- package/src/components/editor/chrome/wrapper/panels.tsx +4 -1
- package/src/components/editor/chrome/wrapper/sidebar.tsx +4 -1
- package/src/components/editor/controls/Controls.tsx +11 -3
- package/src/components/editor/file-tree/requesting-tree.tsx +27 -25
- package/src/components/editor/file-tree/upload.tsx +23 -24
- package/src/components/editor/header/__tests__/status.test.tsx +108 -0
- package/src/components/editor/header/status.tsx +44 -10
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +106 -0
- package/src/components/editor/navigation/__tests__/navigation.test.ts +70 -0
- package/src/components/editor/navigation/clipboard.ts +99 -25
- package/src/components/editor/navigation/navigation.ts +15 -1
- package/src/components/editor/notebook-cell.tsx +3 -0
- package/src/components/home/components.tsx +6 -0
- package/src/components/pages/run-page.tsx +4 -1
- package/src/core/ai/tools/__tests__/registry.test.ts +10 -12
- package/src/core/ai/tools/registry.ts +9 -5
- package/src/core/cells/__tests__/cells.test.ts +187 -0
- package/src/core/cells/__tests__/pending-cut-service.test.tsx +123 -0
- package/src/core/cells/cells.ts +102 -17
- package/src/core/cells/document-changes.ts +6 -1
- package/src/core/cells/pending-cut-service.ts +55 -0
- package/src/core/cells/utils.ts +11 -0
- package/src/core/codemirror/cells/extensions.ts +10 -0
- package/src/core/codemirror/markdown/__tests__/commands.test.ts +3 -3
- package/src/core/codemirror/markdown/commands.ts +1 -2
- package/src/core/edit-app.tsx +2 -1
- package/src/core/hotkeys/hotkeys.ts +5 -0
- package/src/core/islands/worker/worker.tsx +3 -2
- package/src/core/network/requests-network.ts +21 -3
- package/src/core/network/types.ts +12 -1
- package/src/core/run-app.tsx +2 -1
- package/src/core/wasm/__tests__/utils.test.ts +34 -0
- package/src/core/wasm/bridge.ts +14 -1
- package/src/core/wasm/utils.ts +14 -0
- package/src/core/wasm/worker/bootstrap.ts +3 -2
- package/src/core/wasm/worker/worker.ts +3 -2
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +155 -0
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +137 -0
- package/src/core/websocket/transports/basic.ts +2 -0
- package/src/core/websocket/transports/transport.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +130 -55
- package/src/core/websocket/useWebSocket.tsx +5 -2
- package/src/css/app/Cell.css +10 -0
- package/src/plugins/impl/DataTablePlugin.tsx +12 -0
- package/src/plugins/impl/TabsPlugin.tsx +35 -7
- package/src/plugins/impl/__tests__/TabsPlugin.test.tsx +154 -0
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +6 -0
- package/src/plugins/impl/vega/resolve-data.ts +8 -1
- package/src/utils/__tests__/id-tree.test.ts +71 -0
- package/src/utils/__tests__/semaphore.test.ts +218 -0
- package/src/utils/fileToBase64.ts +8 -7
- package/src/utils/id-tree.tsx +89 -0
- package/src/utils/semaphore.ts +88 -0
- package/dist/apl-BKoVld9y.js +0 -4
- package/dist/asciiarmor-DQrKIjoo.js +0 -4
- package/dist/asn1-BZvnj0dq.js +0 -4
- package/dist/assets/__vite-browser-external-rrUYDKRl.js +0 -1
- package/dist/assets/worker-Bfy15ViQ.js +0 -73
- package/dist/brainfuck-D558nlUv.js +0 -4
- package/dist/classDiagram-2ON5EDUG-CBHMR6ZU.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BsUtUGM_.js +0 -30
- package/dist/clojure-Cq8mTSrE.js +0 -4
- package/dist/cmake-D8HCovWK.js +0 -4
- package/dist/cobol-UolN-9iU.js +0 -4
- package/dist/coffeescript-VdNuWrt5.js +0 -4
- package/dist/commonlisp-ALX7fpDc.js +0 -4
- package/dist/crystal-PbyO9Q_s.js +0 -4
- package/dist/css-DFklJkr_.js +0 -4
- package/dist/cypher-BifNeYlv.js +0 -4
- package/dist/d-BA-JP4PJ.js +0 -4
- package/dist/diff-CtkDpav4.js +0 -4
- package/dist/dist-BuBwsFva.js +0 -5
- package/dist/dist-BzmEQ9u7.js +0 -5
- package/dist/dist-Cih01ssx.js +0 -5
- package/dist/dist-CqfONiY9.js +0 -5
- package/dist/dist-D0iD0Fi9.js +0 -5
- package/dist/dist-DtNLXm8d.js +0 -5
- package/dist/dtd-DW3_UFEG.js +0 -4
- package/dist/dylan-pDhodO2N.js +0 -4
- package/dist/ecl-BJT8-YD7.js +0 -4
- package/dist/eiffel-Dmns-9vS.js +0 -4
- package/dist/elm-Da4sO4Bz.js +0 -4
- package/dist/erlang-C-zBsDi7.js +0 -4
- package/dist/factor-4xPWlWB5.js +0 -4
- package/dist/forth-l-c75zSd.js +0 -4
- package/dist/fortran-DIujSODW.js +0 -4
- package/dist/gas-CXnG5g_b.js +0 -4
- package/dist/gherkin-VPeqd4-X.js +0 -4
- package/dist/groovy-CphhZQgg.js +0 -4
- package/dist/haskell-CCvlS5Iq.js +0 -4
- package/dist/haxe-C_bi66fP.js +0 -5
- package/dist/idl-1DcP4Dm8.js +0 -4
- package/dist/javascript-DUIGhBvO.js +0 -4
- package/dist/julia-Cs2G4PQi.js +0 -4
- package/dist/livescript-DMtVFaAN.js +0 -4
- package/dist/lua-BAoLtdJg.js +0 -4
- package/dist/mathematica-C_NoFtbo.js +0 -4
- package/dist/mbox-DcFJFYrH.js +0 -4
- package/dist/mirc-71dccf_u.js +0 -4
- package/dist/mllike-CWcOFVDq.js +0 -6
- package/dist/modelica-Ape2VXxx.js +0 -4
- package/dist/mscgen-Cc6TwbSN.js +0 -6
- package/dist/mumps-h-ZbdkJ9.js +0 -4
- package/dist/nsis-C0p3m7JW.js +0 -4
- package/dist/ntriples-c9lEeT5w.js +0 -4
- package/dist/octave-DzEgB_74.js +0 -4
- package/dist/oz-CAxvHkyQ.js +0 -4
- package/dist/pascal-BJzu1sgP.js +0 -4
- package/dist/perl--IrOzZ2Z.js +0 -4
- package/dist/pig-CiBKKNhC.js +0 -4
- package/dist/powershell-KY0j6Qop.js +0 -4
- package/dist/properties-BW8q3ziV.js +0 -4
- package/dist/protobuf-BGaeuTGV.js +0 -4
- package/dist/pug-DjOKK-4J.js +0 -4
- package/dist/puppet-DWm2o6zX.js +0 -4
- package/dist/python-Bp2gezZy.js +0 -4
- package/dist/q-DljPshos.js +0 -4
- package/dist/r-BajPMnEu.js +0 -4
- package/dist/rpm-BKx-ZZ62.js +0 -5
- package/dist/ruby-DJq_HNKc.js +0 -4
- package/dist/sas-WANvpcOU.js +0 -4
- package/dist/scheme-CliBbhGF.js +0 -4
- package/dist/shell-BwhrNUvM.js +0 -4
- package/dist/sieve-BIVePvMp.js +0 -4
- package/dist/smalltalk-D6G48JmY.js +0 -4
- package/dist/sparql-jjc3BmEP.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-Cv9Av10H.js +0 -29
- package/dist/stylus-WPBPQ4PE.js +0 -4
- package/dist/swift-O1Qy6iCm.js +0 -4
- package/dist/tcl-BAFdhvsi.js +0 -4
- package/dist/textile-DFuzhNLG.js +0 -4
- package/dist/toml-DRSTeely.js +0 -4
- package/dist/troff-B_ZjwBW0.js +0 -4
- package/dist/ttcn-CAyiB3ic.js +0 -4
- package/dist/ttcn-cfg-BS5_BGBJ.js +0 -4
- package/dist/turtle-CUBEDy3E.js +0 -4
- package/dist/vb-DY9S6-U2.js +0 -4
- package/dist/vbscript-gaHC39Jq.js +0 -4
- package/dist/velocity-TfCOtJZ_.js +0 -4
- package/dist/verilog-c2JOX8mv.js +0 -4
- package/dist/vhdl-dHBirRiO.js +0 -4
- package/dist/webidl-Bauj-i07.js +0 -4
- package/dist/xquery-CtaEAOt8.js +0 -4
- package/dist/yacas-BZ85agQP.js +0 -4
- package/dist/z80-hCgR-L4U.js +0 -4
- package/src/components/chat/tool-call-accordion.tsx +0 -247
- /package/dist/{ImageComparisonComponent-DaocPIse.js → ImageComparisonComponent-CNHIsPDj.js} +0 -0
- /package/dist/{Plot-PIeIvFnD.js → Plot-4wn-lMVn.js} +0 -0
- /package/dist/{apl-Dt8GMXYg.js → apl-BCgCq9iM.js} +0 -0
- /package/dist/{array-B-MVxRIF.js → array-tvvEqPy7.js} +0 -0
- /package/dist/{asciiarmor-CitDQ85h.js → asciiarmor-BtqU-KJQ.js} +0 -0
- /package/dist/{asn1-abrf9SMK.js → asn1-Dmb-dTMx.js} +0 -0
- /package/dist/{asterisk-BUZwqih-.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-BL-Boof0.js → brainfuck-C1HoZKlE.js} +0 -0
- /package/dist/{chunk-4F5CHEZ2-C6tO9vjs.js → chunk-4F5CHEZ2-BZq7Kom7.js} +0 -0
- /package/dist/{chunk-B2363JML-Ds8wZXyP.js → chunk-B2363JML-D9-XOau1.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-CP69aZS_.js → chunk-DR5Q36YT-BflwErH1.js} +0 -0
- /package/dist/{chunk-FRFDVMJY-BgQv1HBE.js → chunk-FRFDVMJY-BSBUAX7r.js} +0 -0
- /package/dist/{chunk-PL6DKKU2-DHfTUHy8.js → chunk-PL6DKKU2-B0MTXvyc.js} +0 -0
- /package/dist/{chunk-SJTYNZTY-Diciw4sx.js → chunk-SJTYNZTY-CEG4F0pB.js} +0 -0
- /package/dist/{chunk-TQ3KTPDO-CQfP9npd.js → chunk-TQ3KTPDO-DiCtqVSi.js} +0 -0
- /package/dist/{chunk-UMXZTB3W-MSKeGL7W.js → chunk-UMXZTB3W-97iS1iEl.js} +0 -0
- /package/dist/{click-outside-container-BZgN7xS_.js → click-outside-container-BDd67_1U.js} +0 -0
- /package/dist/{clike-RWg7anhx.js → clike-CdT0yHjt.js} +0 -0
- /package/dist/{clojure-DaojKHow.js → clojure-CdyrCpUv.js} +0 -0
- /package/dist/{cmake-DN-_v0XE.js → cmake-BFlPxym7.js} +0 -0
- /package/dist/{cobol-C3VpMyux.js → cobol-CcJXewp8.js} +0 -0
- /package/dist/{coffeescript-DIkz3Tbt.js → coffeescript-DnKuIKRo.js} +0 -0
- /package/dist/{colors-Cn2p_FA3.js → colors-CQAOa8cK.js} +0 -0
- /package/dist/{common-keywords-hbLeU7VU.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CB1boOiP.js → commonlisp-B-kok83Z.js} +0 -0
- /package/dist/{crystal-DI2oCml6.js → crystal-FYRYjI1I.js} +0 -0
- /package/dist/{css-BdEVwQDV.js → css-B45lc2V3.js} +0 -0
- /package/dist/{cypher-BNHToqxU.js → cypher-DZMLyVY_.js} +0 -0
- /package/dist/{cytoscape.esm-WbbDoCfu.js → cytoscape.esm-ayF70frT.js} +0 -0
- /package/dist/{d-D7we7I1b.js → d-x-VVT4o9.js} +0 -0
- /package/dist/{diff-Cia6fzjN.js → diff-Dxe2mpXk.js} +0 -0
- /package/dist/{dist-BK-3fF4P.js → dist-B4LJpMEg.js} +0 -0
- /package/dist/{dist-CxdUraQr.js → dist-B507mf_I.js} +0 -0
- /package/dist/{dist-C89sHDXk.js → dist-BGdYVvOu.js} +0 -0
- /package/dist/{dist-DquyVv5H.js → dist-BNyrZfqT.js} +0 -0
- /package/dist/{dist-Zn0KNbo9.js → dist-Bc5pmZIw.js} +0 -0
- /package/dist/{dist-C-J0pt5p.js → dist-BvCfQQQE.js} +0 -0
- /package/dist/{dist-D9r7Cmw7.js → dist-C2ej4eOH.js} +0 -0
- /package/dist/{dist-HVuryI1a.js → dist-C34oIrQ9.js} +0 -0
- /package/dist/{dist-CGLzXdrt.js → dist-CDFZi-QD.js} +0 -0
- /package/dist/{dist-C9fmTOin.js → dist-CYEylvZA.js} +0 -0
- /package/dist/{dist-DadjmS-4.js → dist-DJ6zJQZ4.js} +0 -0
- /package/dist/{dist-CtCY55Jf.js → dist-Dh3wkoyH.js} +0 -0
- /package/dist/{dist-C474qFoq.js → dist-Dhk6FMb0.js} +0 -0
- /package/dist/{dist-DZjQ_MBo.js → dist-KnujRhFL.js} +0 -0
- /package/dist/{dist-CinA9Enb.js → dist-WdPUFc56.js} +0 -0
- /package/dist/{dist-DBLeRrPp.js → dist-t_qL7eB8.js} +0 -0
- /package/dist/{dist-CyFFzJTb.js → dist-usPCDYx8.js} +0 -0
- /package/dist/{dtd-H4Hubdwp.js → dtd-C9VM_Wfu.js} +0 -0
- /package/dist/{duckdb-keywords-CZ_ZTscu.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-fVO6rnq3.js → dylan-DTSnEIFO.js} +0 -0
- /package/dist/{ebnf-WEXPLEWb.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-B94VPjNR.js → ecl-N04ptnRK.js} +0 -0
- /package/dist/{eiffel-C_R6TusS.js → eiffel-Dd8rpqr_.js} +0 -0
- /package/dist/{elm-DzCHbO2g.js → elm-GT2E866W.js} +0 -0
- /package/dist/{erlang-BGNkx6JU.js → erlang-Cf0Bp5pY.js} +0 -0
- /package/dist/{esm-Bb_hbWan.js → esm-BaaaPNGl.js} +0 -0
- /package/dist/{fcl-B_Gv5Jfx.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-Bybw0cJ7.js → forth-wd_XzGTg.js} +0 -0
- /package/dist/{fortran-C6PoCLkI.js → fortran-DcwUTZFe.js} +0 -0
- /package/dist/{gas-BBlhenj4.js → gas-DeALIER3.js} +0 -0
- /package/dist/{gherkin-NXtNG85X.js → gherkin-CKTqaJNX.js} +0 -0
- /package/dist/{groovy-BoFYK9xM.js → groovy-Bwdp_d8D.js} +0 -0
- /package/dist/{haskell-BtBdvQ1n.js → haskell-DCdCcPLK.js} +0 -0
- /package/dist/{haxe-D--o6dr0.js → haxe-DAyktQWJ.js} +0 -0
- /package/dist/{http-Dc2fv19V.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-AqTq5l7e.js → idl-CBuZiRYu.js} +0 -0
- /package/dist/{init-D-g0ONX1.js → init-uv0kkh4g.js} +0 -0
- /package/dist/{javascript-DvwNVye9.js → javascript-DzigE11c.js} +0 -0
- /package/dist/{julia-DoKiagZC.js → julia-PwfB-0Cm.js} +0 -0
- /package/dist/{katex-B7pMJpE0.js → katex-C_XRmjAP.js} +0 -0
- /package/dist/{livescript-DxBZMiWB.js → livescript-BJLz1EbT.js} +0 -0
- /package/dist/{lua-DmS_0NTu.js → lua-ZC-XC2jf.js} +0 -0
- /package/dist/{math-BYK36kWZ.js → math-DFcdCCU8.js} +0 -0
- /package/dist/{mathematica-ChlDFeIC.js → mathematica-DCYMx6qB.js} +0 -0
- /package/dist/{mbox-CguZuODr.js → mbox-OxMK_9XI.js} +0 -0
- /package/dist/{mirc-CFtY8dqz.js → mirc-nJVyhA0H.js} +0 -0
- /package/dist/{mllike-C0EJrEOk.js → mllike-DRO89bsU.js} +0 -0
- /package/dist/{modelica-C1kO1nfS.js → modelica-Don3E6ZD.js} +0 -0
- /package/dist/{mscgen-DEYdr7AY.js → mscgen-DJfqD3bN.js} +0 -0
- /package/dist/{mumps-B3NVJs2V.js → mumps-SjGTvDYL.js} +0 -0
- /package/dist/{nginx-ComVAAGN.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{node-sql-parser-DNGGJ-Rw.js → node-sql-parser-B8nBD36q.js} +0 -0
- /package/dist/{ntriples-DHol9X9H.js → ntriples-CNBKRl3I.js} +0 -0
- /package/dist/{octave-CYGz0bfo.js → octave-DdeVHNlx.js} +0 -0
- /package/dist/{oz-kPxb2ni5.js → oz-CcKSoNvN.js} +0 -0
- /package/dist/{pascal-bZ0yrJKy.js → pascal-6leftwNj.js} +0 -0
- /package/dist/{path-Du6n3sOU.js → path-BGaWgPKg.js} +0 -0
- /package/dist/{perl-z4hvqyqz.js → perl-BhJIwWzN.js} +0 -0
- /package/dist/{pig-DZO8QDF9.js → pig-r-xDHqRf.js} +0 -0
- /package/dist/{powershell-BSuaDQEC.js → powershell-D-BELeNi.js} +0 -0
- /package/dist/{properties-BXhGLlIx.js → properties-CnuDhbll.js} +0 -0
- /package/dist/{protobuf-DM6iybWV.js → protobuf-CO8RBhvX.js} +0 -0
- /package/dist/{puppet-Bn05sQT8.js → puppet-NmXHjLy8.js} +0 -0
- /package/dist/{python-Cvnhm0g7.js → python-DAQXi720.js} +0 -0
- /package/dist/{q-B9V8hzex.js → q-DlikXfV0.js} +0 -0
- /package/dist/{r-Cf0gFqmq.js → r-CuohilwT.js} +0 -0
- /package/dist/{rpm-D-LMkTV1.js → rpm-0Pjwp0Pb.js} +0 -0
- /package/dist/{ruby-DeuPikpK.js → ruby-Dq8NJTDG.js} +0 -0
- /package/dist/{sas-C9tjgAo9.js → sas-CuwonyVP.js} +0 -0
- /package/dist/{scheme-D1_bUF0G.js → scheme-CYU-RRIf.js} +0 -0
- /package/dist/{shell-CJBmnks3.js → shell-COPmX2qE.js} +0 -0
- /package/dist/{sieve-1fSV75CF.js → sieve-B_3zyLne.js} +0 -0
- /package/dist/{simple-mode-B90Wdavj.js → simple-mode-DSBniks8.js} +0 -0
- /package/dist/{smalltalk-sZNPD0HO.js → smalltalk-DRft7iPv.js} +0 -0
- /package/dist/{solr-DTkyqJ-Z.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-oHc1nm77.js → sparql-CN6qj55H.js} +0 -0
- /package/dist/{spreadsheet-CER0raqY.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-ByOoEONQ.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stylus-KzkX6zRB.js → stylus-Bn_ZjOQ3.js} +0 -0
- /package/dist/{swift-DqVxZvKo.js → swift-BLUJhMbz.js} +0 -0
- /package/dist/{tcl-BtWSwXfA.js → tcl-C86fxecl.js} +0 -0
- /package/dist/{textile-CWDbn9Ql.js → textile-DmHh2rsK.js} +0 -0
- /package/dist/{tiddlywiki-Cr9xyOY1.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-D5JONyfZ.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{timer-D7JVdX9U.js → timer-YZl28NYN.js} +0 -0
- /package/dist/{toml-BfehlgmL.js → toml-GWANRNAD.js} +0 -0
- /package/dist/{treemap-qFGzn7xk.js → treemap-D-ka1hvx.js} +0 -0
- /package/dist/{troff-BZBk6AAu.js → troff-BHTsomIy.js} +0 -0
- /package/dist/{ttcn-DVwvXg0_.js → ttcn-DQuhn5Mn.js} +0 -0
- /package/dist/{ttcn-cfg-gjbVLf1L.js → ttcn-cfg-HjFYtdB-.js} +0 -0
- /package/dist/{turtle-CgxKXorV.js → turtle-nCay33Nv.js} +0 -0
- /package/dist/{vb-B9kSwTdM.js → vb-BG-XlqqJ.js} +0 -0
- /package/dist/{vbscript-DrUKSCdb.js → vbscript-B6vyW0-D.js} +0 -0
- /package/dist/{velocity-AlMYTnMy.js → velocity-CWegueqO.js} +0 -0
- /package/dist/{verilog-DLUaM05j.js → verilog-CzSQm4cG.js} +0 -0
- /package/dist/{vhdl-DUJOtSmO.js → vhdl-DqnNVL7r.js} +0 -0
- /package/dist/{webidl-CQp4aHk_.js → webidl-DXEUpDWH.js} +0 -0
- /package/dist/{xquery-IxkjlwOD.js → xquery-Ba_NB5bD.js} +0 -0
- /package/dist/{yacas-Bnctn5w8.js → yacas-HKQU6hyk.js} +0 -0
- /package/dist/{z80-DrFwhx53.js → z80-CXkHXLdj.js} +0 -0
|
@@ -2,39 +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 Logger, c as Objects, g as cn, h as Events, m as useComposedRefs, p as composeRefs, r as cva, t as Button, v as Functions } from "./button-
|
|
5
|
+
import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs, p as composeRefs, r as cva, t as Button, v as Functions } from "./button-Dj4BTre0.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 { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus,
|
|
10
|
-
import { o as useSize, u as createLucideIcon } from "./dist-
|
|
11
|
-
import { i as createReducerAndAtoms, r as Badge } from "./useLifecycle-
|
|
12
|
-
import { a as ListFilter, i as Table$1, o as ChartPie, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
13
|
-
import { t as Check } from "./check-
|
|
14
|
-
import { C as $a916eb452884faea$export$b7a616150fdb9f44, F as X, L as ChevronDown, M as usePrevious$1, N as useDirection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, _ as menuItemVariants, b as menuSubTriggerVariants, c as SelectSeparator, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, n as capitalize, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuLabelVariants, x as assertNever, y as menuSeparatorVariants } from "./strings-
|
|
15
|
-
import { $t as Portal, G as marked, Gt as Anchor2, Jt as Content2$1, Kt as Arrow2, Qt as Label, Xt as Item2$2, Yt as Group, Zt as ItemIndicator, _ as DropdownMenuSub, a as NumberField, an as SubContent, b as DropdownMenuTrigger, c as prettyNumber, cn as Item, d as DropdownMenuContent, dn as Search, en as RadioGroup$2, fn as Circle, g as DropdownMenuSeparator, h as DropdownMenuPortal, in as Sub, l as prettyScientificNumber, ln as Root$2, m as DropdownMenuLabel, nn as Root3, o as maxFractionalDigits, on as SubTrigger, p as DropdownMenuItem, pn as ChevronRight, qt as CheckboxItem, r as Input, rn as Separator$1, s as prettyEngineeringNumber, sn as createMenuScope, tn as RadioItem, u as DropdownMenu, un as createRovingFocusGroupScope, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } 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-
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DLf4aN7I.js";
|
|
9
|
+
import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zn as CircleX, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-DxWM1HVj.js";
|
|
10
|
+
import { o as useSize, u as createLucideIcon } from "./dist-D3ZI9nhS.js";
|
|
11
|
+
import { i as createReducerAndAtoms, r as Badge } from "./useLifecycle-BF6-z62y.js";
|
|
12
|
+
import { a as ListFilter, i as Table$1, o as ChartPie, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B_9k85Ex.js";
|
|
13
|
+
import { t as Check } from "./check-BcUIXnUT.js";
|
|
14
|
+
import { C as $a916eb452884faea$export$b7a616150fdb9f44, F as X, L as ChevronDown, M as usePrevious$1, N as useDirection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, _ as menuItemVariants, b as menuSubTriggerVariants, c as SelectSeparator, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, n as capitalize, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuLabelVariants, x as assertNever, y as menuSeparatorVariants } from "./strings-BiIhGaI8.js";
|
|
15
|
+
import { $t as Portal, G as marked, Gt as Anchor2, Jt as Content2$1, Kt as Arrow2, Qt as Label, Xt as Item2$2, Yt as Group, Zt as ItemIndicator, _ as DropdownMenuSub, a as NumberField, an as SubContent, b as DropdownMenuTrigger, c as prettyNumber, cn as Item, d as DropdownMenuContent, dn as Search, en as RadioGroup$2, fn as Circle, g as DropdownMenuSeparator, h as DropdownMenuPortal, in as Sub, l as prettyScientificNumber, ln as Root$2, m as DropdownMenuLabel, nn as Root3, o as maxFractionalDigits, on as SubTrigger, p as DropdownMenuItem, pn as ChevronRight, qt as CheckboxItem, r as Input, rn as Separator$1, s as prettyEngineeringNumber, sn as createMenuScope, tn as RadioItem, u as DropdownMenu, un as createRovingFocusGroupScope, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-Cc1Vvw9A.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-CJWlVNGD.js";
|
|
17
17
|
import { n as clsx_default } from "./clsx-CyyyQ8Ue.js";
|
|
18
18
|
import { t as require_react_dom } from "./react-dom-BWRJ_g_k.js";
|
|
19
19
|
import { t as require_jsx_runtime } from "./jsx-runtime-COBk7ree.js";
|
|
20
|
-
import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive$1, dt as Presence, ft as useControllableState, gt as createContextScope, lt as useCallbackRef, mt as composeEventHandlers, ut as useId$2 } from "./zod-
|
|
21
|
-
import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, t as Banner } from "./error-banner-
|
|
22
|
-
import { t as Tooltip } from "./tooltip-
|
|
23
|
-
import { f as CopyClipboardIcon, t as _extends } from "./extends-
|
|
20
|
+
import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive$1, dt as Presence, ft as useControllableState, gt as createContextScope, lt as useCallbackRef, mt as composeEventHandlers, ut as useId$2 } from "./zod-BWkcDORu.js";
|
|
21
|
+
import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, t as Banner } from "./error-banner-CVkfBUT3.js";
|
|
22
|
+
import { t as Tooltip } from "./tooltip-DRaMBu06.js";
|
|
23
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-vAi97cpa.js";
|
|
24
24
|
import { r as KnownQueryParams } from "./constants-D0gkYoE2.js";
|
|
25
|
-
import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, d as useJotaiEffect, g as useAtomValue, h as useAtom, m as Provider, n as useTheme, r as aiEnabledAtom, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-
|
|
25
|
+
import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, d as useJotaiEffect, g as useAtomValue, h as useAtom, m as Provider, n as useTheme, r as aiEnabledAtom, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-DykuNHR2.js";
|
|
26
26
|
import { Z as EditorView } from "./dist-CCADb07R.js";
|
|
27
27
|
import { t as invariant } from "./invariant-UcGKQEhF.js";
|
|
28
28
|
import { c as uniqueBy, t as Arrays } from "./arrays-CldYf7p7.js";
|
|
29
29
|
import { n as once, t as memoizeLastValue } from "./once-rJImu7SE.js";
|
|
30
30
|
import { a as parser } from "./dist-nuW5EDYT.js";
|
|
31
|
-
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-
|
|
31
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-CpgZM9BM.js";
|
|
32
32
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DtW2o230.js";
|
|
33
|
-
import { t as ErrorBoundary } from "./ErrorBoundary-
|
|
33
|
+
import { t as ErrorBoundary } from "./ErrorBoundary-D3wrPNma.js";
|
|
34
34
|
import { n as formats } from "./vega-loader.browser-3_z8GoFC.js";
|
|
35
|
-
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-
|
|
36
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
37
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
35
|
+
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Dr8Qem8p.js";
|
|
36
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-BkYHTrss.js";
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-C56Khv_R.js";
|
|
38
38
|
let filtersToFilterGroup, contextAwarePanelOwner, Funnel, TableCell, ChevronLeft, prettifyRowCount, useOverflowDetection, ContextAwarePanelItem, EmotionCacheProvider, ComboboxItem, HtmlOutput, Toggle, Code, generateColumns, TableHeader, Fill, ChevronsUpDown, ColumnChartContext, inferFieldTypes, Provider$1, ChevronsRight, isCellAwareAtom, Expand, SlotNames, Ellipsis, PANEL_TYPES, TextWrap, slotsController, Download, usePrevious, Table, ChevronsLeft, prettifyRowColumnCount, LazyVegaEmbed, Combobox, Kbd, TableRow, TableHead, ArrowDownWideNarrow, NAMELESS_COLUMN_PREFIX, DelayMount, ColumnChartSpecModel, useIntersectionObserver, downloadBlob, TabsList, DEFAULT_SLIDE_TYPE, TOO_MANY_ROWS, Progress, ChartInfoState, Slide, Command, JsonOutput, CommandItem, getPageIndexForRow, OutputArea, CommandList, ADD_PRINTING_CLASS, TabsContent, InstallPackageButton, Tabs, DEFAULT_DECK_TRANSITION, SELECT_COLUMN_ID, contextAwarePanelType, EyeOff, contextAwarePanelOpen, GripHorizontal, RadioGroup, CommandEmpty, DataTable, Maps, marimoVersionAtom, loadTableData, SLIDE_TYPE_OPTIONS_BY_VALUE, toFieldTypes, OutputRenderer, CommandSeparator, renderCellValue, showCodeInRunModeAtom, INDEX_COLUMN_NAME, SlideSidebar, getMimeValues, useNotebookCodeAvailable, loadTableAndRawData, RadioGroupItem, CommandInput, downloadByURL, TabsTrigger, useInternalStateWithSync, RenderTextWithLinks, Filenames, ChartLoadingState, downloadHTMLAsImage, ChartErrorState, TableBody, ChevronsDownUp;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
@@ -45,7 +45,7 @@ let __tla = Promise.all([
|
|
|
45
45
|
})()
|
|
46
46
|
]).then(async () => {
|
|
47
47
|
var _a;
|
|
48
|
-
let ArrowUpNarrowWide, BrickWall, BugPlay, ChartSpline, Cookie,
|
|
48
|
+
let ArrowUpNarrowWide, BrickWall, BugPlay, ChartSpline, Cookie, FunnelPlus, FunnelX, Keyboard, LayoutTemplate, ListFilterPlus, MessageCircle, Package, PanelRightClose, PanelRightOpen, PanelRight, PinOff, Rows2, Sparkles, SquareArrowOutUpRight, SquareStack, Terminal, TextAlignJustify, TextAlignStart, require_use_sync_external_store_shim_production, require_shim, import_react, import_jsx_runtime, CONTEXT_MENU_NAME, createContextMenuContext, createContextMenuScope, useMenuScope, ContextMenuProvider, useContextMenuContext, ContextMenu$1;
|
|
49
49
|
ArrowDownWideNarrow = createLucideIcon("arrow-down-wide-narrow", [
|
|
50
50
|
[
|
|
51
51
|
"path",
|
|
@@ -506,29 +506,6 @@ let __tla = Promise.all([
|
|
|
506
506
|
}
|
|
507
507
|
]
|
|
508
508
|
]);
|
|
509
|
-
ExternalLink = createLucideIcon("external-link", [
|
|
510
|
-
[
|
|
511
|
-
"path",
|
|
512
|
-
{
|
|
513
|
-
d: "M15 3h6v6",
|
|
514
|
-
key: "1q9fwt"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
[
|
|
518
|
-
"path",
|
|
519
|
-
{
|
|
520
|
-
d: "M10 14 21 3",
|
|
521
|
-
key: "gplh6r"
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
|
-
[
|
|
525
|
-
"path",
|
|
526
|
-
{
|
|
527
|
-
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
|
|
528
|
-
key: "a6xqqp"
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
]);
|
|
532
509
|
EyeOff = createLucideIcon("eye-off", [
|
|
533
510
|
[
|
|
534
511
|
"path",
|
|
@@ -7591,33 +7568,33 @@ try {
|
|
|
7591
7568
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
7592
7569
|
function y(e2) {
|
|
7593
7570
|
var _a2, _b, _c, _d;
|
|
7594
|
-
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f),
|
|
7571
|
+
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), EN = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
7595
7572
|
h2
|
|
7596
|
-
]),
|
|
7597
|
-
|
|
7598
|
-
]),
|
|
7599
|
-
supportedColorSchemes:
|
|
7600
|
-
defaultLightColorScheme:
|
|
7601
|
-
defaultDarkColorScheme:
|
|
7573
|
+
]), DN = $[t], ON = DN || $, { colorSchemes: kN = _, components: AN = v, cssVarPrefix: jN } = ON, MN = Object.keys(kN).filter((e3) => !!kN[e3]).join(","), NN = import_react.useMemo(() => MN.split(","), [
|
|
7574
|
+
MN
|
|
7575
|
+
]), PN = typeof s == "string" ? s : s.light, FN = typeof s == "string" ? s : s.dark, { mode: IN, setMode: LN, systemMode: RN, lightColorScheme: zN, darkColorScheme: BN, colorScheme: VN, setColorScheme: HN } = useCurrentColorScheme({
|
|
7576
|
+
supportedColorSchemes: NN,
|
|
7577
|
+
defaultLightColorScheme: PN,
|
|
7578
|
+
defaultDarkColorScheme: FN,
|
|
7602
7579
|
modeStorageKey: y2,
|
|
7603
7580
|
colorSchemeStorageKey: S2,
|
|
7604
|
-
defaultMode:
|
|
7581
|
+
defaultMode: kN[PN] && kN[FN] ? U : ((_b = (_a2 = kN[ON.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = ON.palette) == null ? void 0 : _c.mode),
|
|
7605
7582
|
storageManager: E,
|
|
7606
7583
|
storageWindow: O,
|
|
7607
7584
|
noSsr: K
|
|
7608
|
-
}),
|
|
7609
|
-
|
|
7610
|
-
let
|
|
7585
|
+
}), UN = IN, WN = VN;
|
|
7586
|
+
EN && (UN = Q.mode, WN = Q.colorScheme);
|
|
7587
|
+
let GN = import_react.useMemo(() => {
|
|
7611
7588
|
var _a3;
|
|
7612
|
-
let e3 =
|
|
7613
|
-
...
|
|
7614
|
-
components:
|
|
7615
|
-
colorSchemes:
|
|
7616
|
-
cssVarPrefix:
|
|
7589
|
+
let e3 = WN || ON.defaultColorScheme, t2 = ((_a3 = ON.generateThemeVars) == null ? void 0 : _a3.call(ON)) || ON.vars, n2 = {
|
|
7590
|
+
...ON,
|
|
7591
|
+
components: AN,
|
|
7592
|
+
colorSchemes: kN,
|
|
7593
|
+
cssVarPrefix: jN,
|
|
7617
7594
|
vars: t2
|
|
7618
7595
|
};
|
|
7619
7596
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
7620
|
-
let t3 =
|
|
7597
|
+
let t3 = kN[e3];
|
|
7621
7598
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
7622
7599
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
7623
7600
|
...n2[e4],
|
|
@@ -7627,31 +7604,31 @@ try {
|
|
|
7627
7604
|
}
|
|
7628
7605
|
return c ? c(n2) : n2;
|
|
7629
7606
|
}, [
|
|
7630
|
-
DN,
|
|
7631
|
-
UN,
|
|
7632
|
-
kN,
|
|
7633
7607
|
ON,
|
|
7634
|
-
|
|
7635
|
-
|
|
7608
|
+
WN,
|
|
7609
|
+
AN,
|
|
7610
|
+
kN,
|
|
7611
|
+
jN
|
|
7612
|
+
]), KN = ON.colorSchemeSelector;
|
|
7636
7613
|
useEnhancedEffect_default(() => {
|
|
7637
|
-
if (
|
|
7638
|
-
let e3 =
|
|
7639
|
-
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...
|
|
7614
|
+
if (WN && M && KN && KN !== "media") {
|
|
7615
|
+
let e3 = KN, t2 = KN;
|
|
7616
|
+
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...NN.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", WN));
|
|
7640
7617
|
else {
|
|
7641
|
-
let e4 = t2.replace("%s",
|
|
7618
|
+
let e4 = t2.replace("%s", WN).match(/\[([^\]]+)\]/);
|
|
7642
7619
|
if (e4) {
|
|
7643
7620
|
let [t3, n2] = e4[1].split("=");
|
|
7644
|
-
n2 ||
|
|
7645
|
-
M.removeAttribute(t3.replace(
|
|
7621
|
+
n2 || NN.forEach((e5) => {
|
|
7622
|
+
M.removeAttribute(t3.replace(WN, e5));
|
|
7646
7623
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
7647
|
-
} else M.setAttribute(t2,
|
|
7624
|
+
} else M.setAttribute(t2, WN);
|
|
7648
7625
|
}
|
|
7649
7626
|
}
|
|
7650
7627
|
}, [
|
|
7651
|
-
|
|
7652
|
-
|
|
7628
|
+
WN,
|
|
7629
|
+
KN,
|
|
7653
7630
|
M,
|
|
7654
|
-
|
|
7631
|
+
NN
|
|
7655
7632
|
]), import_react.useEffect(() => {
|
|
7656
7633
|
let e3;
|
|
7657
7634
|
if (w2 && q.current && A) {
|
|
@@ -7664,48 +7641,48 @@ try {
|
|
|
7664
7641
|
clearTimeout(e3);
|
|
7665
7642
|
};
|
|
7666
7643
|
}, [
|
|
7667
|
-
|
|
7644
|
+
WN,
|
|
7668
7645
|
w2,
|
|
7669
7646
|
A
|
|
7670
7647
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
7671
7648
|
q.current = false;
|
|
7672
7649
|
}), []);
|
|
7673
|
-
let
|
|
7674
|
-
allColorSchemes:
|
|
7675
|
-
colorScheme:
|
|
7676
|
-
darkColorScheme:
|
|
7677
|
-
lightColorScheme:
|
|
7678
|
-
mode:
|
|
7679
|
-
setColorScheme:
|
|
7680
|
-
setMode:
|
|
7681
|
-
systemMode:
|
|
7650
|
+
let qN = import_react.useMemo(() => ({
|
|
7651
|
+
allColorSchemes: NN,
|
|
7652
|
+
colorScheme: WN,
|
|
7653
|
+
darkColorScheme: BN,
|
|
7654
|
+
lightColorScheme: zN,
|
|
7655
|
+
mode: UN,
|
|
7656
|
+
setColorScheme: HN,
|
|
7657
|
+
setMode: LN,
|
|
7658
|
+
systemMode: RN
|
|
7682
7659
|
}), [
|
|
7683
|
-
|
|
7684
|
-
|
|
7660
|
+
NN,
|
|
7661
|
+
WN,
|
|
7662
|
+
BN,
|
|
7685
7663
|
zN,
|
|
7686
|
-
|
|
7664
|
+
UN,
|
|
7687
7665
|
HN,
|
|
7688
|
-
VN,
|
|
7689
|
-
IN,
|
|
7690
7666
|
LN,
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7667
|
+
RN,
|
|
7668
|
+
GN.colorSchemeSelector
|
|
7669
|
+
]), JN = true;
|
|
7670
|
+
(z || ON.cssVariables === false || EN && (J == null ? void 0 : J.cssVarPrefix) === jN) && (JN = false);
|
|
7671
|
+
let YN = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
7695
7672
|
children: [
|
|
7696
7673
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
7697
|
-
themeId:
|
|
7698
|
-
theme:
|
|
7674
|
+
themeId: DN ? t : void 0,
|
|
7675
|
+
theme: GN,
|
|
7699
7676
|
children: d2
|
|
7700
7677
|
}),
|
|
7701
|
-
|
|
7702
|
-
styles: ((_d =
|
|
7678
|
+
JN && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
7679
|
+
styles: ((_d = GN.generateStyleSheets) == null ? void 0 : _d.call(GN)) || []
|
|
7703
7680
|
})
|
|
7704
7681
|
]
|
|
7705
7682
|
});
|
|
7706
|
-
return
|
|
7707
|
-
value:
|
|
7708
|
-
children:
|
|
7683
|
+
return EN ? YN : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
7684
|
+
value: qN,
|
|
7685
|
+
children: YN
|
|
7709
7686
|
});
|
|
7710
7687
|
}
|
|
7711
7688
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -9205,10 +9182,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
9205
9182
|
let n = useDefaultProps({
|
|
9206
9183
|
props: e,
|
|
9207
9184
|
name: "MuiInputBase"
|
|
9208
|
-
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick:
|
|
9209
|
-
}, []),
|
|
9185
|
+
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: EN, onFocus: $, onKeyDown: DN, onKeyUp: ON, placeholder: kN, readOnly: AN, renderSuffix: jN, rows: MN, size: NN, slotProps: PN = {}, slots: FN = {}, startAdornment: IN, type: LN = "text", value: RN, ...zN } = n, BN = A.value == null ? RN : A.value, { current: VN } = import_react.useRef(BN != null), HN = import_react.useRef(), UN = import_react.useCallback((e2) => {
|
|
9186
|
+
}, []), WN = useForkRef_default(HN, M, A.ref, UN), [GN, KN] = import_react.useState(false), qN = useFormControl(), JN = formControlState({
|
|
9210
9187
|
props: n,
|
|
9211
|
-
muiFormControl:
|
|
9188
|
+
muiFormControl: qN,
|
|
9212
9189
|
states: [
|
|
9213
9190
|
"color",
|
|
9214
9191
|
"disabled",
|
|
@@ -9219,145 +9196,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
9219
9196
|
"filled"
|
|
9220
9197
|
]
|
|
9221
9198
|
});
|
|
9222
|
-
|
|
9223
|
-
!
|
|
9199
|
+
JN.focused = qN ? qN.focused : GN, import_react.useEffect(() => {
|
|
9200
|
+
!qN && _ && GN && (KN(false), J && J());
|
|
9224
9201
|
}, [
|
|
9225
|
-
|
|
9202
|
+
qN,
|
|
9226
9203
|
_,
|
|
9227
|
-
|
|
9204
|
+
GN,
|
|
9228
9205
|
J
|
|
9229
9206
|
]);
|
|
9230
|
-
let
|
|
9231
|
-
isFilled(e2) ?
|
|
9207
|
+
let YN = qN && qN.onFilled, XN = qN && qN.onEmpty, ZN = import_react.useCallback((e2) => {
|
|
9208
|
+
isFilled(e2) ? YN && YN() : XN && XN();
|
|
9232
9209
|
}, [
|
|
9233
|
-
|
|
9234
|
-
|
|
9210
|
+
YN,
|
|
9211
|
+
XN
|
|
9235
9212
|
]);
|
|
9236
9213
|
useEnhancedEffect_default$1(() => {
|
|
9237
|
-
|
|
9238
|
-
value:
|
|
9214
|
+
VN && ZN({
|
|
9215
|
+
value: BN
|
|
9239
9216
|
});
|
|
9240
9217
|
}, [
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9218
|
+
BN,
|
|
9219
|
+
ZN,
|
|
9220
|
+
VN
|
|
9244
9221
|
]);
|
|
9245
|
-
let
|
|
9246
|
-
$ && $(e2), A.onFocus && A.onFocus(e2),
|
|
9247
|
-
},
|
|
9248
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
9249
|
-
},
|
|
9250
|
-
if (!
|
|
9251
|
-
let t3 = e2.target ||
|
|
9222
|
+
let QN = (e2) => {
|
|
9223
|
+
$ && $(e2), A.onFocus && A.onFocus(e2), qN && qN.onFocus ? qN.onFocus(e2) : KN(true);
|
|
9224
|
+
}, $N = (e2) => {
|
|
9225
|
+
J && J(e2), A.onBlur && A.onBlur(e2), qN && qN.onBlur ? qN.onBlur(e2) : KN(false);
|
|
9226
|
+
}, eP = (e2, ...t2) => {
|
|
9227
|
+
if (!VN) {
|
|
9228
|
+
let t3 = e2.target || HN.current;
|
|
9252
9229
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
9253
|
-
|
|
9230
|
+
ZN({
|
|
9254
9231
|
value: t3.value
|
|
9255
9232
|
});
|
|
9256
9233
|
}
|
|
9257
9234
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
9258
9235
|
};
|
|
9259
9236
|
import_react.useEffect(() => {
|
|
9260
|
-
|
|
9237
|
+
ZN(HN.current);
|
|
9261
9238
|
}, []);
|
|
9262
|
-
let
|
|
9263
|
-
|
|
9264
|
-
},
|
|
9265
|
-
K &&
|
|
9239
|
+
let tP = (e2) => {
|
|
9240
|
+
HN.current && e2.currentTarget === e2.target && HN.current.focus(), EN && EN(e2);
|
|
9241
|
+
}, nP = O, rP = A;
|
|
9242
|
+
K && nP === "input" && (rP = MN ? {
|
|
9266
9243
|
type: void 0,
|
|
9267
|
-
minRows:
|
|
9268
|
-
maxRows:
|
|
9269
|
-
...
|
|
9244
|
+
minRows: MN,
|
|
9245
|
+
maxRows: MN,
|
|
9246
|
+
...rP
|
|
9270
9247
|
} : {
|
|
9271
9248
|
type: void 0,
|
|
9272
9249
|
maxRows: z,
|
|
9273
9250
|
minRows: U,
|
|
9274
|
-
...
|
|
9275
|
-
},
|
|
9276
|
-
let
|
|
9277
|
-
|
|
9251
|
+
...rP
|
|
9252
|
+
}, nP = TextareaAutosize_default);
|
|
9253
|
+
let iP = (e2) => {
|
|
9254
|
+
ZN(e2.animationName === "mui-auto-fill-cancel" ? HN.current : {
|
|
9278
9255
|
value: "x"
|
|
9279
9256
|
});
|
|
9280
9257
|
};
|
|
9281
9258
|
import_react.useEffect(() => {
|
|
9282
|
-
|
|
9259
|
+
qN && qN.setAdornedStart(!!IN);
|
|
9283
9260
|
}, [
|
|
9284
|
-
|
|
9285
|
-
|
|
9261
|
+
qN,
|
|
9262
|
+
IN
|
|
9286
9263
|
]);
|
|
9287
|
-
let
|
|
9264
|
+
let aP = {
|
|
9288
9265
|
...n,
|
|
9289
|
-
color:
|
|
9290
|
-
disabled:
|
|
9266
|
+
color: JN.color || "primary",
|
|
9267
|
+
disabled: JN.disabled,
|
|
9291
9268
|
endAdornment: y,
|
|
9292
|
-
error:
|
|
9293
|
-
focused:
|
|
9294
|
-
formControl:
|
|
9269
|
+
error: JN.error,
|
|
9270
|
+
focused: JN.focused,
|
|
9271
|
+
formControl: qN,
|
|
9295
9272
|
fullWidth: w,
|
|
9296
|
-
hiddenLabel:
|
|
9273
|
+
hiddenLabel: JN.hiddenLabel,
|
|
9297
9274
|
multiline: K,
|
|
9298
|
-
size:
|
|
9299
|
-
startAdornment:
|
|
9300
|
-
type:
|
|
9301
|
-
},
|
|
9302
|
-
return
|
|
9303
|
-
...
|
|
9304
|
-
...
|
|
9275
|
+
size: JN.size,
|
|
9276
|
+
startAdornment: IN,
|
|
9277
|
+
type: LN
|
|
9278
|
+
}, oP = useUtilityClasses(aP), sP = FN.root || d.Root || InputBaseRoot, cP = PN.root || f.root || {}, lP = FN.input || d.Input || InputBaseInput;
|
|
9279
|
+
return rP = {
|
|
9280
|
+
...rP,
|
|
9281
|
+
...PN.input ?? f.input
|
|
9305
9282
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
9306
9283
|
children: [
|
|
9307
9284
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
9308
|
-
(0, import_jsx_runtime.jsxs)(
|
|
9309
|
-
...
|
|
9285
|
+
(0, import_jsx_runtime.jsxs)(sP, {
|
|
9286
|
+
...cP,
|
|
9310
9287
|
ref: t,
|
|
9311
|
-
onClick:
|
|
9312
|
-
...
|
|
9313
|
-
...!isHostComponent_default(
|
|
9288
|
+
onClick: tP,
|
|
9289
|
+
...zN,
|
|
9290
|
+
...!isHostComponent_default(sP) && {
|
|
9314
9291
|
ownerState: {
|
|
9315
|
-
...
|
|
9316
|
-
...
|
|
9292
|
+
...aP,
|
|
9293
|
+
...cP.ownerState
|
|
9317
9294
|
}
|
|
9318
9295
|
},
|
|
9319
|
-
className: clsx_default(
|
|
9296
|
+
className: clsx_default(oP.root, cP.className, s, AN && "MuiInputBase-readOnly"),
|
|
9320
9297
|
children: [
|
|
9321
|
-
|
|
9298
|
+
IN,
|
|
9322
9299
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
9323
9300
|
value: null,
|
|
9324
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
9325
|
-
"aria-invalid":
|
|
9301
|
+
children: (0, import_jsx_runtime.jsx)(lP, {
|
|
9302
|
+
"aria-invalid": JN.error,
|
|
9326
9303
|
"aria-describedby": i,
|
|
9327
9304
|
autoComplete: a,
|
|
9328
9305
|
autoFocus: o,
|
|
9329
9306
|
defaultValue: h,
|
|
9330
|
-
disabled:
|
|
9307
|
+
disabled: JN.disabled,
|
|
9331
9308
|
id: E,
|
|
9332
|
-
onAnimationStart:
|
|
9309
|
+
onAnimationStart: iP,
|
|
9333
9310
|
name: q,
|
|
9334
|
-
placeholder:
|
|
9335
|
-
readOnly:
|
|
9336
|
-
required:
|
|
9337
|
-
rows:
|
|
9338
|
-
value:
|
|
9339
|
-
onKeyDown:
|
|
9340
|
-
onKeyUp:
|
|
9341
|
-
type:
|
|
9342
|
-
...
|
|
9343
|
-
...!isHostComponent_default(
|
|
9344
|
-
as:
|
|
9311
|
+
placeholder: kN,
|
|
9312
|
+
readOnly: AN,
|
|
9313
|
+
required: JN.required,
|
|
9314
|
+
rows: MN,
|
|
9315
|
+
value: BN,
|
|
9316
|
+
onKeyDown: DN,
|
|
9317
|
+
onKeyUp: ON,
|
|
9318
|
+
type: LN,
|
|
9319
|
+
...rP,
|
|
9320
|
+
...!isHostComponent_default(lP) && {
|
|
9321
|
+
as: nP,
|
|
9345
9322
|
ownerState: {
|
|
9346
|
-
...
|
|
9347
|
-
...
|
|
9323
|
+
...aP,
|
|
9324
|
+
...rP.ownerState
|
|
9348
9325
|
}
|
|
9349
9326
|
},
|
|
9350
|
-
ref:
|
|
9351
|
-
className: clsx_default(
|
|
9352
|
-
onBlur:
|
|
9353
|
-
onChange:
|
|
9354
|
-
onFocus:
|
|
9327
|
+
ref: WN,
|
|
9328
|
+
className: clsx_default(oP.input, rP.className, AN && "MuiInputBase-readOnly"),
|
|
9329
|
+
onBlur: $N,
|
|
9330
|
+
onChange: eP,
|
|
9331
|
+
onFocus: QN
|
|
9355
9332
|
})
|
|
9356
9333
|
}),
|
|
9357
9334
|
y,
|
|
9358
|
-
|
|
9359
|
-
...
|
|
9360
|
-
startAdornment:
|
|
9335
|
+
jN ? jN({
|
|
9336
|
+
...JN,
|
|
9337
|
+
startAdornment: IN
|
|
9361
9338
|
}) : null
|
|
9362
9339
|
]
|
|
9363
9340
|
})
|
|
@@ -10433,30 +10410,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10433
10410
|
M,
|
|
10434
10411
|
i,
|
|
10435
10412
|
a
|
|
10436
|
-
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false),
|
|
10437
|
-
|
|
10413
|
+
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), EN = useJsonViewerStore((e2) => e2.onChange), $ = useTextColor(), DN = useJsonViewerStore((e2) => e2.colorspace.base0C), ON = useJsonViewerStore((e2) => e2.colorspace.base0A), kN = useJsonViewerStore((e2) => e2.displayComma), AN = useJsonViewerStore((e2) => e2.quotesOnKeys), jN = useJsonViewerStore((e2) => e2.rootName), MN = U === t, NN = Number.isInteger(Number(A)), PN = useJsonViewerStore((e2) => e2.enableAdd), FN = useJsonViewerStore((e2) => e2.onAdd), IN = (0, import_react.useMemo)(() => !FN || a !== void 0 || PN === false || v === false ? false : typeof PN == "function" ? !!PN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
10414
|
+
FN,
|
|
10438
10415
|
a,
|
|
10439
10416
|
i,
|
|
10440
|
-
|
|
10417
|
+
PN,
|
|
10441
10418
|
v,
|
|
10442
10419
|
t
|
|
10443
|
-
]),
|
|
10444
|
-
|
|
10420
|
+
]), LN = useJsonViewerStore((e2) => e2.enableDelete), RN = useJsonViewerStore((e2) => e2.onDelete), zN = (0, import_react.useMemo)(() => !RN || a !== void 0 || MN || LN === false || v === false ? false : typeof LN == "function" ? !!LN(i, t) : LN, [
|
|
10421
|
+
RN,
|
|
10445
10422
|
a,
|
|
10446
|
-
|
|
10423
|
+
MN,
|
|
10447
10424
|
i,
|
|
10448
|
-
|
|
10425
|
+
LN,
|
|
10449
10426
|
v,
|
|
10450
10427
|
t
|
|
10451
|
-
]),
|
|
10452
|
-
|
|
10428
|
+
]), BN = useJsonViewerStore((e2) => e2.enableClipboard), { copy: VN, copied: HN } = useClipboard(), UN = useJsonViewerStore((e2) => e2.highlightUpdates), WN = (0, import_react.useMemo)(() => !UN || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
|
|
10429
|
+
UN,
|
|
10453
10430
|
n,
|
|
10454
10431
|
t
|
|
10455
|
-
]),
|
|
10432
|
+
]), GN = (0, import_react.useRef)();
|
|
10456
10433
|
(0, import_react.useEffect)(() => {
|
|
10457
|
-
|
|
10434
|
+
GN.current && WN && "animate" in GN.current && GN.current.animate([
|
|
10458
10435
|
{
|
|
10459
|
-
backgroundColor:
|
|
10436
|
+
backgroundColor: ON
|
|
10460
10437
|
},
|
|
10461
10438
|
{
|
|
10462
10439
|
backgroundColor: ""
|
|
@@ -10466,40 +10443,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10466
10443
|
easing: "ease-in"
|
|
10467
10444
|
});
|
|
10468
10445
|
}, [
|
|
10469
|
-
|
|
10470
|
-
|
|
10446
|
+
ON,
|
|
10447
|
+
WN,
|
|
10471
10448
|
n,
|
|
10472
10449
|
t
|
|
10473
10450
|
]);
|
|
10474
|
-
let
|
|
10451
|
+
let KN = (0, import_react.useCallback)((e2) => {
|
|
10475
10452
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
10476
10453
|
}, [
|
|
10477
10454
|
h,
|
|
10478
10455
|
t
|
|
10479
|
-
]),
|
|
10456
|
+
]), qN = (0, import_react.useCallback)(() => {
|
|
10480
10457
|
Q(false), E("");
|
|
10481
10458
|
}, [
|
|
10482
10459
|
Q,
|
|
10483
10460
|
E
|
|
10484
|
-
]),
|
|
10461
|
+
]), JN = (0, import_react.useCallback)((e2) => {
|
|
10485
10462
|
if (Q(false), _) try {
|
|
10486
|
-
|
|
10463
|
+
EN(i, t, _(e2));
|
|
10487
10464
|
} catch {
|
|
10488
10465
|
}
|
|
10489
10466
|
}, [
|
|
10490
10467
|
Q,
|
|
10491
10468
|
_,
|
|
10492
|
-
|
|
10469
|
+
EN,
|
|
10493
10470
|
i,
|
|
10494
10471
|
t
|
|
10495
|
-
]),
|
|
10472
|
+
]), YN = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10496
10473
|
children: [
|
|
10497
10474
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
10498
10475
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
10499
10476
|
sx: {
|
|
10500
10477
|
fontSize: ".8rem"
|
|
10501
10478
|
},
|
|
10502
|
-
onClick:
|
|
10479
|
+
onClick: qN
|
|
10503
10480
|
})
|
|
10504
10481
|
}),
|
|
10505
10482
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -10507,22 +10484,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10507
10484
|
sx: {
|
|
10508
10485
|
fontSize: ".8rem"
|
|
10509
10486
|
},
|
|
10510
|
-
onClick: () =>
|
|
10487
|
+
onClick: () => JN(w)
|
|
10511
10488
|
})
|
|
10512
10489
|
})
|
|
10513
10490
|
]
|
|
10514
10491
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10515
10492
|
children: [
|
|
10516
|
-
|
|
10493
|
+
BN && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10517
10494
|
onClick: (e2) => {
|
|
10518
10495
|
e2.preventDefault();
|
|
10519
10496
|
try {
|
|
10520
|
-
|
|
10497
|
+
VN(i, t, copyString);
|
|
10521
10498
|
} catch (e3) {
|
|
10522
10499
|
console.error(e3);
|
|
10523
10500
|
}
|
|
10524
10501
|
},
|
|
10525
|
-
children:
|
|
10502
|
+
children: HN ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
10526
10503
|
sx: {
|
|
10527
10504
|
fontSize: ".8rem"
|
|
10528
10505
|
}
|
|
@@ -10533,16 +10510,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10533
10510
|
})
|
|
10534
10511
|
}),
|
|
10535
10512
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10536
|
-
onClick:
|
|
10513
|
+
onClick: KN,
|
|
10537
10514
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
10538
10515
|
sx: {
|
|
10539
10516
|
fontSize: ".8rem"
|
|
10540
10517
|
}
|
|
10541
10518
|
})
|
|
10542
10519
|
}),
|
|
10543
|
-
|
|
10520
|
+
IN && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10544
10521
|
onClick: (e2) => {
|
|
10545
|
-
e2.preventDefault(),
|
|
10522
|
+
e2.preventDefault(), FN == null ? void 0 : FN(i);
|
|
10546
10523
|
},
|
|
10547
10524
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
10548
10525
|
sx: {
|
|
@@ -10550,9 +10527,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10550
10527
|
}
|
|
10551
10528
|
})
|
|
10552
10529
|
}),
|
|
10553
|
-
|
|
10530
|
+
zN && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10554
10531
|
onClick: (e2) => {
|
|
10555
|
-
e2.preventDefault(),
|
|
10532
|
+
e2.preventDefault(), RN == null ? void 0 : RN(i, t);
|
|
10556
10533
|
},
|
|
10557
10534
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
10558
10535
|
sx: {
|
|
@@ -10565,24 +10542,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10565
10542
|
f,
|
|
10566
10543
|
h,
|
|
10567
10544
|
_,
|
|
10545
|
+
HN,
|
|
10568
10546
|
VN,
|
|
10569
|
-
BN,
|
|
10570
10547
|
S,
|
|
10571
10548
|
J,
|
|
10549
|
+
BN,
|
|
10550
|
+
IN,
|
|
10572
10551
|
zN,
|
|
10573
|
-
FN,
|
|
10574
|
-
RN,
|
|
10575
10552
|
w,
|
|
10576
10553
|
i,
|
|
10577
10554
|
t,
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
GN,
|
|
10555
|
+
FN,
|
|
10556
|
+
RN,
|
|
10581
10557
|
KN,
|
|
10582
|
-
qN
|
|
10583
|
-
|
|
10558
|
+
qN,
|
|
10559
|
+
JN
|
|
10560
|
+
]), XN = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
10584
10561
|
t
|
|
10585
|
-
]),
|
|
10562
|
+
]), ZN = !XN && !!(c && d), QN = useJsonViewerStore((e2) => e2.keyRenderer), $N = (0, import_react.useMemo)(() => ({
|
|
10586
10563
|
path: i,
|
|
10587
10564
|
inspect: K,
|
|
10588
10565
|
setInspect: q,
|
|
@@ -10619,13 +10596,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10619
10596
|
opacity: 0.8
|
|
10620
10597
|
},
|
|
10621
10598
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
10622
|
-
e2.isDefaultPrevented() ||
|
|
10599
|
+
e2.isDefaultPrevented() || XN || q((e3) => !e3);
|
|
10623
10600
|
}, [
|
|
10624
|
-
|
|
10601
|
+
XN,
|
|
10625
10602
|
q
|
|
10626
10603
|
]),
|
|
10627
10604
|
children: [
|
|
10628
|
-
|
|
10605
|
+
ZN ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
10629
10606
|
className: "data-key-toggle-expanded",
|
|
10630
10607
|
sx: {
|
|
10631
10608
|
fontSize: ".8rem",
|
|
@@ -10643,27 +10620,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10643
10620
|
}
|
|
10644
10621
|
}) : null,
|
|
10645
10622
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
10646
|
-
ref:
|
|
10623
|
+
ref: GN,
|
|
10647
10624
|
className: "data-key-key",
|
|
10648
10625
|
component: "span",
|
|
10649
|
-
children:
|
|
10626
|
+
children: MN && O === 0 ? jN === false ? null : AN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10650
10627
|
children: [
|
|
10651
10628
|
'"',
|
|
10652
|
-
|
|
10629
|
+
jN,
|
|
10653
10630
|
'"'
|
|
10654
10631
|
]
|
|
10655
10632
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
10656
|
-
children:
|
|
10657
|
-
}) :
|
|
10658
|
-
|
|
10659
|
-
}) : a === void 0 && (
|
|
10633
|
+
children: jN
|
|
10634
|
+
}) : QN.when($N) ? (0, import_jsx_runtime.jsx)(QN, {
|
|
10635
|
+
...$N
|
|
10636
|
+
}) : a === void 0 && (NN ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
10660
10637
|
component: "span",
|
|
10661
10638
|
style: {
|
|
10662
|
-
color:
|
|
10663
|
-
userSelect:
|
|
10639
|
+
color: DN,
|
|
10640
|
+
userSelect: NN ? "none" : "auto"
|
|
10664
10641
|
},
|
|
10665
10642
|
children: A
|
|
10666
|
-
}) :
|
|
10643
|
+
}) : AN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10667
10644
|
children: [
|
|
10668
10645
|
'"',
|
|
10669
10646
|
A,
|
|
@@ -10673,7 +10650,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10673
10650
|
children: A
|
|
10674
10651
|
}))
|
|
10675
10652
|
}),
|
|
10676
|
-
|
|
10653
|
+
MN ? jN !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
10677
10654
|
className: "data-key-colon",
|
|
10678
10655
|
sx: {
|
|
10679
10656
|
mr: 0.5
|
|
@@ -10686,38 +10663,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10686
10663
|
".data-key-key:empty + &": {
|
|
10687
10664
|
display: "none"
|
|
10688
10665
|
},
|
|
10689
|
-
userSelect:
|
|
10666
|
+
userSelect: NN ? "none" : "auto"
|
|
10690
10667
|
},
|
|
10691
10668
|
children: ":"
|
|
10692
10669
|
}),
|
|
10693
10670
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
10694
|
-
|
|
10671
|
+
...$N
|
|
10695
10672
|
}),
|
|
10696
|
-
I &&
|
|
10673
|
+
I && ZN && K && YN
|
|
10697
10674
|
]
|
|
10698
10675
|
}),
|
|
10699
10676
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
10700
10677
|
path: i,
|
|
10701
10678
|
value: w,
|
|
10702
10679
|
setValue: E,
|
|
10703
|
-
abortEditing:
|
|
10704
|
-
commitEditing:
|
|
10680
|
+
abortEditing: qN,
|
|
10681
|
+
commitEditing: JN
|
|
10705
10682
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
10706
|
-
|
|
10683
|
+
...$N
|
|
10707
10684
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
10708
10685
|
component: "span",
|
|
10709
10686
|
className: "data-value-fallback",
|
|
10710
10687
|
children: `fallback: ${t}`
|
|
10711
10688
|
}),
|
|
10712
10689
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
10713
|
-
|
|
10690
|
+
...$N
|
|
10714
10691
|
}),
|
|
10715
|
-
!o &&
|
|
10692
|
+
!o && kN && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
10716
10693
|
children: ","
|
|
10717
10694
|
}),
|
|
10718
|
-
I &&
|
|
10719
|
-
I && !
|
|
10720
|
-
!I && J &&
|
|
10695
|
+
I && ZN && !K && YN,
|
|
10696
|
+
I && !ZN && YN,
|
|
10697
|
+
!I && J && YN
|
|
10721
10698
|
]
|
|
10722
10699
|
});
|
|
10723
10700
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -11558,18 +11535,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11558
11535
|
}
|
|
11559
11536
|
let _, v, y, S, w, E;
|
|
11560
11537
|
if (t[2] !== d || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== h || t[8] !== c) {
|
|
11561
|
-
let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15),
|
|
11562
|
-
t[15] === s ?
|
|
11538
|
+
let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), EN = n.filter(_temp16), $ = n.filter(_temp17), DN;
|
|
11539
|
+
t[15] === s ? DN = t[16] : (DN = () => {
|
|
11563
11540
|
s.openApplication("scratchpad");
|
|
11564
|
-
}, t[15] = s, t[16] =
|
|
11565
|
-
let
|
|
11541
|
+
}, t[15] = s, t[16] = DN);
|
|
11542
|
+
let ON = DN, kN = () => {
|
|
11566
11543
|
let t2 = [];
|
|
11567
|
-
if (Q.length > 0 ||
|
|
11544
|
+
if (Q.length > 0 || EN.length > 0) {
|
|
11568
11545
|
let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
|
|
11569
11546
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
11570
11547
|
children: [
|
|
11571
11548
|
Q.map(_temp20),
|
|
11572
|
-
|
|
11549
|
+
EN.map(_temp21),
|
|
11573
11550
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
11574
11551
|
size: "xs",
|
|
11575
11552
|
variant: "outline",
|
|
@@ -11601,7 +11578,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11601
11578
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
11602
11579
|
errors: [
|
|
11603
11580
|
...Q,
|
|
11604
|
-
...
|
|
11581
|
+
...EN
|
|
11605
11582
|
],
|
|
11606
11583
|
cellId: i
|
|
11607
11584
|
})
|
|
@@ -11762,7 +11739,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11762
11739
|
size: "xs",
|
|
11763
11740
|
variant: "link",
|
|
11764
11741
|
className: "my-2 font-normal mx-0 px-0",
|
|
11765
|
-
onClick:
|
|
11742
|
+
onClick: ON,
|
|
11766
11743
|
children: [
|
|
11767
11744
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
11768
11745
|
className: "h-3"
|
|
@@ -11887,13 +11864,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11887
11864
|
})
|
|
11888
11865
|
]
|
|
11889
11866
|
}, "sql-errors")), t2;
|
|
11890
|
-
},
|
|
11891
|
-
t[17] !==
|
|
11892
|
-
className:
|
|
11867
|
+
}, AN = `font-code font-medium tracking-wide ${h}`, jN;
|
|
11868
|
+
t[17] !== AN || t[18] !== c ? (jN = (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
11869
|
+
className: AN,
|
|
11893
11870
|
children: c
|
|
11894
|
-
}), t[17] =
|
|
11895
|
-
let
|
|
11896
|
-
_ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E =
|
|
11871
|
+
}), t[17] = AN, t[18] = c, t[19] = jN) : jN = t[19];
|
|
11872
|
+
let MN = jN;
|
|
11873
|
+
_ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = MN, v = "flex flex-col gap-8", y = kN(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
|
|
11897
11874
|
} else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
|
|
11898
11875
|
let O;
|
|
11899
11876
|
t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -12344,7 +12321,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12344
12321
|
]
|
|
12345
12322
|
};
|
|
12346
12323
|
}
|
|
12347
|
-
LazyVegaEmbed = import_react.lazy(() => import("./react-vega-
|
|
12324
|
+
LazyVegaEmbed = import_react.lazy(() => import("./react-vega-Cavbrg4l.js").then((e) => ({
|
|
12348
12325
|
default: e.VegaEmbed
|
|
12349
12326
|
})));
|
|
12350
12327
|
var import_compiler_runtime$37 = require_compiler_runtime();
|
|
@@ -12880,7 +12857,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12880
12857
|
}, [
|
|
12881
12858
|
h
|
|
12882
12859
|
]), k(() => {
|
|
12883
|
-
U(6,
|
|
12860
|
+
U(6, DN);
|
|
12884
12861
|
}, []);
|
|
12885
12862
|
let K = import_react.useMemo(() => ({
|
|
12886
12863
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -12889,7 +12866,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12889
12866
|
var _a2;
|
|
12890
12867
|
var a2, o2, s2;
|
|
12891
12868
|
if (!Object.is(n.current[e2], t2)) {
|
|
12892
|
-
if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1,
|
|
12869
|
+
if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, EN);
|
|
12893
12870
|
else if (e2 === "value") {
|
|
12894
12871
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
12895
12872
|
let e3 = document.getElementById(I);
|
|
@@ -12897,8 +12874,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12897
12874
|
}
|
|
12898
12875
|
if (U(7, () => {
|
|
12899
12876
|
var _a3;
|
|
12900
|
-
n.current.selectedItemId = (_a3 =
|
|
12901
|
-
}), i2 || U(5,
|
|
12877
|
+
n.current.selectedItemId = (_a3 = ON()) == null ? void 0 : _a3.id, K.emit();
|
|
12878
|
+
}), i2 || U(5, DN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
12902
12879
|
let e3 = t2 ?? "";
|
|
12903
12880
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
12904
12881
|
return;
|
|
@@ -12923,12 +12900,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12923
12900
|
item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
|
|
12924
12901
|
e2
|
|
12925
12902
|
]))), U(3, () => {
|
|
12926
|
-
$(), Q(), n.current.value ||
|
|
12903
|
+
$(), Q(), n.current.value || EN(), K.emit();
|
|
12927
12904
|
}), () => {
|
|
12928
12905
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
12929
|
-
let t3 =
|
|
12906
|
+
let t3 = ON();
|
|
12930
12907
|
U(4, () => {
|
|
12931
|
-
$(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 &&
|
|
12908
|
+
$(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && EN(), K.emit();
|
|
12932
12909
|
});
|
|
12933
12910
|
}),
|
|
12934
12911
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -12961,7 +12938,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12961
12938
|
]);
|
|
12962
12939
|
});
|
|
12963
12940
|
let i2 = z.current;
|
|
12964
|
-
|
|
12941
|
+
kN().sort((t3, n2) => {
|
|
12965
12942
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
12966
12943
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
12967
12944
|
}).forEach((e3) => {
|
|
@@ -12973,9 +12950,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12973
12950
|
t3 == null ? void 0 : t3.parentElement.appendChild(t3);
|
|
12974
12951
|
});
|
|
12975
12952
|
}
|
|
12976
|
-
function
|
|
12953
|
+
function EN() {
|
|
12977
12954
|
var _a2;
|
|
12978
|
-
let e2 = (_a2 =
|
|
12955
|
+
let e2 = (_a2 = kN().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
12979
12956
|
K.setState("value", e2 || void 0);
|
|
12980
12957
|
}
|
|
12981
12958
|
function $() {
|
|
@@ -12996,43 +12973,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12996
12973
|
}
|
|
12997
12974
|
n.current.filtered.count = e2;
|
|
12998
12975
|
}
|
|
12999
|
-
function
|
|
12976
|
+
function DN() {
|
|
13000
12977
|
var _a2, _b;
|
|
13001
12978
|
var e2;
|
|
13002
|
-
let t2 =
|
|
12979
|
+
let t2 = ON();
|
|
13003
12980
|
t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
|
|
13004
12981
|
block: "nearest"
|
|
13005
12982
|
})), t2.scrollIntoView({
|
|
13006
12983
|
block: "nearest"
|
|
13007
12984
|
}));
|
|
13008
12985
|
}
|
|
13009
|
-
function
|
|
12986
|
+
function ON() {
|
|
13010
12987
|
var _a2;
|
|
13011
12988
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
13012
12989
|
}
|
|
13013
|
-
function
|
|
12990
|
+
function kN() {
|
|
13014
12991
|
var _a2;
|
|
13015
12992
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
13016
12993
|
}
|
|
13017
|
-
function
|
|
13018
|
-
let t2 =
|
|
12994
|
+
function AN(e2) {
|
|
12995
|
+
let t2 = kN()[e2];
|
|
13019
12996
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
13020
12997
|
}
|
|
13021
|
-
function
|
|
12998
|
+
function jN(e2) {
|
|
13022
12999
|
var t2;
|
|
13023
|
-
let n2 =
|
|
13000
|
+
let n2 = ON(), i2 = kN(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
13024
13001
|
(t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
|
|
13025
13002
|
}
|
|
13026
|
-
function
|
|
13003
|
+
function MN(e2) {
|
|
13027
13004
|
var _a2;
|
|
13028
|
-
let t2 = (_a2 =
|
|
13005
|
+
let t2 = (_a2 = ON()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
13029
13006
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
13030
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
13007
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : jN(e2);
|
|
13031
13008
|
}
|
|
13032
|
-
let
|
|
13033
|
-
e2.preventDefault(), e2.metaKey ?
|
|
13034
|
-
},
|
|
13035
|
-
e2.preventDefault(), e2.metaKey ?
|
|
13009
|
+
let NN = () => AN(kN().length - 1), PN = (e2) => {
|
|
13010
|
+
e2.preventDefault(), e2.metaKey ? NN() : e2.altKey ? MN(1) : jN(1);
|
|
13011
|
+
}, FN = (e2) => {
|
|
13012
|
+
e2.preventDefault(), e2.metaKey ? AN(0) : e2.altKey ? MN(-1) : jN(-1);
|
|
13036
13013
|
};
|
|
13037
13014
|
return import_react.createElement(Primitive.div, {
|
|
13038
13015
|
ref: t,
|
|
@@ -13046,27 +13023,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
13046
13023
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
13047
13024
|
case "n":
|
|
13048
13025
|
case "j":
|
|
13049
|
-
E && e2.ctrlKey &&
|
|
13026
|
+
E && e2.ctrlKey && PN(e2);
|
|
13050
13027
|
break;
|
|
13051
13028
|
case "ArrowDown":
|
|
13052
|
-
|
|
13029
|
+
PN(e2);
|
|
13053
13030
|
break;
|
|
13054
13031
|
case "p":
|
|
13055
13032
|
case "k":
|
|
13056
|
-
E && e2.ctrlKey &&
|
|
13033
|
+
E && e2.ctrlKey && FN(e2);
|
|
13057
13034
|
break;
|
|
13058
13035
|
case "ArrowUp":
|
|
13059
|
-
|
|
13036
|
+
FN(e2);
|
|
13060
13037
|
break;
|
|
13061
13038
|
case "Home":
|
|
13062
|
-
e2.preventDefault(),
|
|
13039
|
+
e2.preventDefault(), AN(0);
|
|
13063
13040
|
break;
|
|
13064
13041
|
case "End":
|
|
13065
|
-
e2.preventDefault(),
|
|
13042
|
+
e2.preventDefault(), NN();
|
|
13066
13043
|
break;
|
|
13067
13044
|
case "Enter": {
|
|
13068
13045
|
e2.preventDefault();
|
|
13069
|
-
let t3 =
|
|
13046
|
+
let t3 = ON();
|
|
13070
13047
|
if (t3) {
|
|
13071
13048
|
let e3 = new Event(Z);
|
|
13072
13049
|
t3.dispatchEvent(e3);
|
|
@@ -19056,7 +19033,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19056
19033
|
function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
|
|
19057
19034
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
19058
19035
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
19059
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E,
|
|
19036
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, EN = useUniqueId(s), $ = (0, import_react.useRef)({
|
|
19060
19037
|
callbacks: {
|
|
19061
19038
|
onCollapse: f,
|
|
19062
19039
|
onExpand: h,
|
|
@@ -19069,7 +19046,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19069
19046
|
maxSize: c,
|
|
19070
19047
|
minSize: d
|
|
19071
19048
|
},
|
|
19072
|
-
id:
|
|
19049
|
+
id: EN,
|
|
19073
19050
|
idIsFromProps: s !== void 0,
|
|
19074
19051
|
order: v
|
|
19075
19052
|
});
|
|
@@ -19079,7 +19056,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19079
19056
|
let { callbacks: e2, constraints: t2 } = $.current, o2 = {
|
|
19080
19057
|
...t2
|
|
19081
19058
|
};
|
|
19082
|
-
$.current.id =
|
|
19059
|
+
$.current.id = EN, $.current.idIsFromProps = s !== void 0, $.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K($.current, o2);
|
|
19083
19060
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
19084
19061
|
let e2 = $.current;
|
|
19085
19062
|
return q(e2), () => {
|
|
@@ -19087,7 +19064,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19087
19064
|
};
|
|
19088
19065
|
}, [
|
|
19089
19066
|
v,
|
|
19090
|
-
|
|
19067
|
+
EN,
|
|
19091
19068
|
q,
|
|
19092
19069
|
Q
|
|
19093
19070
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
@@ -19098,7 +19075,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19098
19075
|
A($.current, e2);
|
|
19099
19076
|
},
|
|
19100
19077
|
getId() {
|
|
19101
|
-
return
|
|
19078
|
+
return EN;
|
|
19102
19079
|
},
|
|
19103
19080
|
getSize() {
|
|
19104
19081
|
return M($.current);
|
|
@@ -19117,24 +19094,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19117
19094
|
A,
|
|
19118
19095
|
M,
|
|
19119
19096
|
U,
|
|
19120
|
-
|
|
19097
|
+
EN,
|
|
19121
19098
|
J
|
|
19122
19099
|
]);
|
|
19123
|
-
let
|
|
19100
|
+
let DN = I($.current, a);
|
|
19124
19101
|
return (0, import_react.createElement)(S, {
|
|
19125
19102
|
...w,
|
|
19126
19103
|
children: e,
|
|
19127
19104
|
className: t,
|
|
19128
|
-
id:
|
|
19105
|
+
id: EN,
|
|
19129
19106
|
style: {
|
|
19130
|
-
...
|
|
19107
|
+
...DN,
|
|
19131
19108
|
...y
|
|
19132
19109
|
},
|
|
19133
19110
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
19134
19111
|
[DATA_ATTRIBUTES.panel]: "",
|
|
19135
19112
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
19136
|
-
[DATA_ATTRIBUTES.panelId]:
|
|
19137
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
19113
|
+
[DATA_ATTRIBUTES.panelId]: EN,
|
|
19114
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + DN.flexGrow).toFixed(1)
|
|
19138
19115
|
});
|
|
19139
19116
|
}
|
|
19140
19117
|
var Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -19907,7 +19884,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19907
19884
|
}, []), Q = (0, import_react.useCallback)((e2) => {
|
|
19908
19885
|
let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
|
|
19909
19886
|
return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
|
|
19910
|
-
}, []),
|
|
19887
|
+
}, []), EN = (0, import_react.useCallback)((e2, t2) => {
|
|
19911
19888
|
let { panelDataArray: n2 } = K.current;
|
|
19912
19889
|
return computePanelFlexBoxStyle({
|
|
19913
19890
|
defaultSize: t2,
|
|
@@ -19922,10 +19899,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19922
19899
|
]), $ = (0, import_react.useCallback)((e2) => {
|
|
19923
19900
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
19924
19901
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
19925
|
-
}, []),
|
|
19902
|
+
}, []), DN = (0, import_react.useCallback)((e2) => {
|
|
19926
19903
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
19927
19904
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
19928
|
-
}, []),
|
|
19905
|
+
}, []), ON = (0, import_react.useCallback)((e2) => {
|
|
19929
19906
|
let { panelDataArray: t2 } = K.current;
|
|
19930
19907
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
19931
19908
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -19957,7 +19934,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19957
19934
|
e2.layout = [];
|
|
19958
19935
|
};
|
|
19959
19936
|
}, []);
|
|
19960
|
-
let
|
|
19937
|
+
let kN = (0, import_react.useCallback)((e2) => {
|
|
19961
19938
|
let t2 = false, n2 = y.current;
|
|
19962
19939
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
19963
19940
|
n3.preventDefault();
|
|
@@ -19975,7 +19952,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19975
19952
|
}), I2 = !compareLayouts(f2, A2);
|
|
19976
19953
|
(isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
|
|
19977
19954
|
};
|
|
19978
|
-
}, []),
|
|
19955
|
+
}, []), AN = (0, import_react.useCallback)((e2, t2) => {
|
|
19979
19956
|
let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
|
|
19980
19957
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
19981
19958
|
let d2 = adjustLayoutByDelta({
|
|
@@ -19987,12 +19964,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19987
19964
|
trigger: "imperative-api"
|
|
19988
19965
|
});
|
|
19989
19966
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
19990
|
-
}, []),
|
|
19967
|
+
}, []), jN = (0, import_react.useCallback)((e2, t2) => {
|
|
19991
19968
|
let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
|
|
19992
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
19969
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || AN(e2, s2) : h2 < f2 ? AN(e2, f2) : h2 > d2 && AN(e2, d2));
|
|
19993
19970
|
}, [
|
|
19994
|
-
|
|
19995
|
-
]),
|
|
19971
|
+
AN
|
|
19972
|
+
]), MN = (0, import_react.useCallback)((e2, t2) => {
|
|
19996
19973
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
19997
19974
|
if (!y.current) return;
|
|
19998
19975
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -20004,30 +19981,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20004
19981
|
initialCursorPosition: o2,
|
|
20005
19982
|
initialLayout: i2
|
|
20006
19983
|
});
|
|
20007
|
-
}, []),
|
|
19984
|
+
}, []), NN = (0, import_react.useCallback)(() => {
|
|
20008
19985
|
w(null);
|
|
20009
|
-
}, []),
|
|
19986
|
+
}, []), PN = (0, import_react.useCallback)((e2) => {
|
|
20010
19987
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
20011
19988
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
20012
19989
|
}, [
|
|
20013
19990
|
A
|
|
20014
|
-
]),
|
|
19991
|
+
]), FN = (0, import_react.useMemo)(() => ({
|
|
20015
19992
|
collapsePanel: q,
|
|
20016
19993
|
direction: i,
|
|
20017
19994
|
dragState: S,
|
|
20018
19995
|
expandPanel: J,
|
|
20019
19996
|
getPanelSize: Q,
|
|
20020
|
-
getPanelStyle:
|
|
19997
|
+
getPanelStyle: EN,
|
|
20021
19998
|
groupId: v,
|
|
20022
19999
|
isPanelCollapsed: $,
|
|
20023
|
-
isPanelExpanded:
|
|
20024
|
-
reevaluatePanelConstraints:
|
|
20025
|
-
registerPanel:
|
|
20026
|
-
registerResizeHandle:
|
|
20027
|
-
resizePanel:
|
|
20028
|
-
startDragging:
|
|
20029
|
-
stopDragging:
|
|
20030
|
-
unregisterPanel:
|
|
20000
|
+
isPanelExpanded: DN,
|
|
20001
|
+
reevaluatePanelConstraints: jN,
|
|
20002
|
+
registerPanel: ON,
|
|
20003
|
+
registerResizeHandle: kN,
|
|
20004
|
+
resizePanel: AN,
|
|
20005
|
+
startDragging: MN,
|
|
20006
|
+
stopDragging: NN,
|
|
20007
|
+
unregisterPanel: PN,
|
|
20031
20008
|
panelGroupElement: y.current
|
|
20032
20009
|
}), [
|
|
20033
20010
|
q,
|
|
@@ -20035,18 +20012,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20035
20012
|
i,
|
|
20036
20013
|
J,
|
|
20037
20014
|
Q,
|
|
20038
|
-
|
|
20015
|
+
EN,
|
|
20039
20016
|
v,
|
|
20040
20017
|
$,
|
|
20041
|
-
EN,
|
|
20042
|
-
AN,
|
|
20043
20018
|
DN,
|
|
20019
|
+
jN,
|
|
20044
20020
|
ON,
|
|
20045
20021
|
kN,
|
|
20046
|
-
|
|
20022
|
+
AN,
|
|
20047
20023
|
MN,
|
|
20048
|
-
NN
|
|
20049
|
-
|
|
20024
|
+
NN,
|
|
20025
|
+
PN
|
|
20026
|
+
]), IN = {
|
|
20050
20027
|
display: "flex",
|
|
20051
20028
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
20052
20029
|
height: "100%",
|
|
@@ -20054,7 +20031,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20054
20031
|
width: "100%"
|
|
20055
20032
|
};
|
|
20056
20033
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
20057
|
-
value:
|
|
20034
|
+
value: FN
|
|
20058
20035
|
}, (0, import_react.createElement)(h, {
|
|
20059
20036
|
..._,
|
|
20060
20037
|
children: t,
|
|
@@ -20062,7 +20039,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20062
20039
|
id: o,
|
|
20063
20040
|
ref: y,
|
|
20064
20041
|
style: {
|
|
20065
|
-
...
|
|
20042
|
+
...IN,
|
|
20066
20043
|
...f
|
|
20067
20044
|
},
|
|
20068
20045
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -20139,31 +20116,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20139
20116
|
});
|
|
20140
20117
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
20141
20118
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
20142
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [
|
|
20119
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [EN, $] = (0, import_react.useState)(false), [DN, ON] = (0, import_react.useState)(null), kN = (0, import_react.useRef)({
|
|
20143
20120
|
state: J
|
|
20144
20121
|
});
|
|
20145
20122
|
useIsomorphicLayoutEffect$1(() => {
|
|
20146
|
-
|
|
20123
|
+
kN.current.state = J;
|
|
20147
20124
|
}), (0, import_react.useEffect)(() => {
|
|
20148
|
-
if (n)
|
|
20125
|
+
if (n) ON(null);
|
|
20149
20126
|
else {
|
|
20150
20127
|
let e2 = I(q);
|
|
20151
|
-
|
|
20128
|
+
ON(() => e2);
|
|
20152
20129
|
}
|
|
20153
20130
|
}, [
|
|
20154
20131
|
n,
|
|
20155
20132
|
q,
|
|
20156
20133
|
I
|
|
20157
20134
|
]);
|
|
20158
|
-
let
|
|
20135
|
+
let AN = (i == null ? void 0 : i.coarse) ?? 15, jN = (i == null ? void 0 : i.fine) ?? 5;
|
|
20159
20136
|
(0, import_react.useEffect)(() => {
|
|
20160
|
-
if (n ||
|
|
20137
|
+
if (n || DN == null) return;
|
|
20161
20138
|
let e2 = w.current;
|
|
20162
20139
|
assert(e2, "Element ref not attached");
|
|
20163
20140
|
let t2 = false;
|
|
20164
20141
|
return registerResizeHandle(q, e2, A, {
|
|
20165
|
-
coarse:
|
|
20166
|
-
fine:
|
|
20142
|
+
coarse: AN,
|
|
20143
|
+
fine: jN
|
|
20167
20144
|
}, (e3, n2, i2) => {
|
|
20168
20145
|
if (!n2) {
|
|
20169
20146
|
Q("inactive");
|
|
@@ -20177,8 +20154,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20177
20154
|
break;
|
|
20178
20155
|
}
|
|
20179
20156
|
case "move": {
|
|
20180
|
-
let { state: e4 } =
|
|
20181
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
20157
|
+
let { state: e4 } = kN.current;
|
|
20158
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), DN(i2);
|
|
20182
20159
|
break;
|
|
20183
20160
|
}
|
|
20184
20161
|
case "up": {
|
|
@@ -20190,22 +20167,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20190
20167
|
}
|
|
20191
20168
|
});
|
|
20192
20169
|
}, [
|
|
20193
|
-
|
|
20170
|
+
AN,
|
|
20194
20171
|
A,
|
|
20195
20172
|
n,
|
|
20196
|
-
|
|
20173
|
+
jN,
|
|
20197
20174
|
I,
|
|
20198
20175
|
q,
|
|
20199
|
-
|
|
20176
|
+
DN,
|
|
20200
20177
|
z,
|
|
20201
20178
|
U
|
|
20202
20179
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
20203
20180
|
disabled: n,
|
|
20204
20181
|
handleId: q,
|
|
20205
|
-
resizeHandler:
|
|
20182
|
+
resizeHandler: DN,
|
|
20206
20183
|
panelGroupElement: K
|
|
20207
20184
|
});
|
|
20208
|
-
let
|
|
20185
|
+
let MN = {
|
|
20209
20186
|
touchAction: "none",
|
|
20210
20187
|
userSelect: "none"
|
|
20211
20188
|
};
|
|
@@ -20223,14 +20200,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20223
20200
|
ref: w,
|
|
20224
20201
|
role: "separator",
|
|
20225
20202
|
style: {
|
|
20226
|
-
...
|
|
20203
|
+
...MN,
|
|
20227
20204
|
..._
|
|
20228
20205
|
},
|
|
20229
20206
|
tabIndex: v,
|
|
20230
20207
|
[DATA_ATTRIBUTES.groupDirection]: A,
|
|
20231
20208
|
[DATA_ATTRIBUTES.groupId]: M,
|
|
20232
20209
|
[DATA_ATTRIBUTES.resizeHandle]: "",
|
|
20233
|
-
[DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" :
|
|
20210
|
+
[DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : EN ? "keyboard" : void 0,
|
|
20234
20211
|
[DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
|
|
20235
20212
|
[DATA_ATTRIBUTES.resizeHandleId]: q,
|
|
20236
20213
|
[DATA_ATTRIBUTES.resizeHandleState]: J
|
|
@@ -20397,26 +20374,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20397
20374
|
Combobox = (e) => {
|
|
20398
20375
|
let t = (0, import_compiler_runtime$21.c)(96), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q;
|
|
20399
20376
|
t[0] === e ? (n = t[1], i = t[2], o = 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]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: q, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, 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);
|
|
20400
|
-
let J = M === void 0 ? false : M, Q = I === void 0 ? true : I,
|
|
20401
|
-
t[23] !== v || t[24] !== w || t[25] !==
|
|
20377
|
+
let J = M === void 0 ? false : M, Q = I === void 0 ? true : I, EN = z === void 0 ? "Search..." : z, $ = U === void 0 ? "Nothing found." : U, DN = K === void 0 ? false : K, ON = s ?? false, kN;
|
|
20378
|
+
t[23] !== v || t[24] !== w || t[25] !== ON ? (kN = {
|
|
20402
20379
|
prop: w,
|
|
20403
|
-
defaultProp:
|
|
20380
|
+
defaultProp: ON,
|
|
20404
20381
|
onChange: v
|
|
20405
|
-
}, t[23] = v, t[24] = w, t[25] =
|
|
20406
|
-
let [
|
|
20407
|
-
t[27] === S ?
|
|
20382
|
+
}, t[23] = v, t[24] = w, t[25] = ON, t[26] = kN) : kN = t[26];
|
|
20383
|
+
let [AN, jN] = useControllableState(kN), MN = AN === void 0 ? false : AN, NN;
|
|
20384
|
+
t[27] === S ? NN = t[28] : (NN = (e2) => {
|
|
20408
20385
|
S == null ? void 0 : S(e2);
|
|
20409
|
-
}, t[27] = S, t[28] =
|
|
20410
|
-
let
|
|
20411
|
-
t[29] !== c || t[30] !==
|
|
20386
|
+
}, t[27] = S, t[28] = NN);
|
|
20387
|
+
let PN;
|
|
20388
|
+
t[29] !== c || t[30] !== NN || t[31] !== q ? (PN = {
|
|
20412
20389
|
prop: q,
|
|
20413
20390
|
defaultProp: c,
|
|
20414
|
-
onChange:
|
|
20415
|
-
}, t[29] = c, t[30] =
|
|
20416
|
-
let [FN, IN] = useControllableState(
|
|
20391
|
+
onChange: NN
|
|
20392
|
+
}, t[29] = c, t[30] = NN, t[31] = q, t[32] = PN) : PN = t[32];
|
|
20393
|
+
let [FN, IN] = useControllableState(PN), LN;
|
|
20417
20394
|
t[33] === FN ? LN = t[34] : (LN = (e2) => Array.isArray(FN) ? FN.includes(e2) : FN === e2, t[33] = FN, t[34] = LN);
|
|
20418
20395
|
let RN = LN, zN;
|
|
20419
|
-
t[35] !== _ || t[36] !== J || t[37] !==
|
|
20396
|
+
t[35] !== _ || t[36] !== J || t[37] !== jN || t[38] !== IN || t[39] !== FN ? (zN = (e2) => {
|
|
20420
20397
|
let t2 = e2;
|
|
20421
20398
|
if (J) if (Array.isArray(FN)) if (FN.includes(t2)) {
|
|
20422
20399
|
let n2 = FN.filter((t3) => t3 !== e2);
|
|
@@ -20429,10 +20406,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20429
20406
|
t2
|
|
20430
20407
|
];
|
|
20431
20408
|
else FN === e2 && (t2 = null);
|
|
20432
|
-
IN(t2), (_ ?? J) ||
|
|
20433
|
-
}, t[35] = _, t[36] = J, t[37] =
|
|
20409
|
+
IN(t2), (_ ?? J) || jN(false);
|
|
20410
|
+
}, t[35] = _, t[36] = J, t[37] = jN, t[38] = IN, t[39] = FN, t[40] = zN) : zN = t[40];
|
|
20434
20411
|
let BN = zN, VN;
|
|
20435
|
-
t[41] !==
|
|
20412
|
+
t[41] !== DN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== FN ? (VN = () => J && DN && E ? E : FN == null ? E ?? "--" : Array.isArray(FN) ? FN.length === 0 ? E ?? "--" : FN.length === 1 && d !== void 0 ? d(FN[0]) : `${FN.length} selected` : d === void 0 ? E ?? "--" : d(FN), t[41] = DN, t[42] = d, t[43] = J, t[44] = E, t[45] = FN, t[46] = VN) : VN = t[46];
|
|
20436
20413
|
let HN = VN, UN;
|
|
20437
20414
|
t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UN = cn("relative"), t[47] = UN) : UN = t[47];
|
|
20438
20415
|
let WN;
|
|
@@ -20444,31 +20421,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20444
20421
|
className: "truncate flex-1 min-w-0",
|
|
20445
20422
|
children: GN
|
|
20446
20423
|
}), t[52] = GN, t[53] = KN);
|
|
20447
|
-
let
|
|
20448
|
-
t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
20424
|
+
let qN;
|
|
20425
|
+
t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qN = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
20449
20426
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
20450
|
-
}), t[54] =
|
|
20427
|
+
}), t[54] = qN) : qN = t[54];
|
|
20451
20428
|
let YN;
|
|
20452
|
-
t[55] !== h || t[56] !==
|
|
20429
|
+
t[55] !== h || t[56] !== MN || t[57] !== WN || t[58] !== KN ? (YN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
20453
20430
|
asChild: true,
|
|
20454
20431
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
20455
20432
|
id: h,
|
|
20456
20433
|
className: WN,
|
|
20457
|
-
"aria-expanded":
|
|
20434
|
+
"aria-expanded": MN,
|
|
20458
20435
|
children: [
|
|
20459
20436
|
KN,
|
|
20460
|
-
|
|
20437
|
+
qN
|
|
20461
20438
|
]
|
|
20462
20439
|
})
|
|
20463
|
-
}), t[55] = h, t[56] =
|
|
20464
|
-
let
|
|
20465
|
-
t[60] !==
|
|
20466
|
-
placeholder:
|
|
20440
|
+
}), t[55] = h, t[56] = MN, t[57] = WN, t[58] = KN, t[59] = YN) : YN = t[59];
|
|
20441
|
+
let XN;
|
|
20442
|
+
t[60] !== EN || t[61] !== y || t[62] !== A ? (XN = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
20443
|
+
placeholder: EN,
|
|
20467
20444
|
rootClassName: "px-1 h-8",
|
|
20468
20445
|
autoFocus: true,
|
|
20469
20446
|
value: A,
|
|
20470
20447
|
onValueChange: y
|
|
20471
|
-
}), t[60] =
|
|
20448
|
+
}), t[60] = EN, t[61] = y, t[62] = A, t[63] = XN) : XN = t[63];
|
|
20472
20449
|
let QN;
|
|
20473
20450
|
t[64] === $ ? QN = t[65] : (QN = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
20474
20451
|
children: $
|
|
@@ -20492,29 +20469,29 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20492
20469
|
]
|
|
20493
20470
|
}), t[72] = QN, t[73] = eP, t[74] = tP) : tP = t[74];
|
|
20494
20471
|
let nP;
|
|
20495
|
-
t[75] !== f || t[76] !== Q || t[77] !==
|
|
20472
|
+
t[75] !== f || t[76] !== Q || t[77] !== XN || t[78] !== tP ? (nP = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
20496
20473
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
20497
20474
|
align: "start",
|
|
20498
20475
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
20499
20476
|
filter: f,
|
|
20500
20477
|
shouldFilter: Q,
|
|
20501
20478
|
children: [
|
|
20502
|
-
|
|
20479
|
+
XN,
|
|
20503
20480
|
tP
|
|
20504
20481
|
]
|
|
20505
20482
|
})
|
|
20506
|
-
}), t[75] = f, t[76] = Q, t[77] =
|
|
20483
|
+
}), t[75] = f, t[76] = Q, t[77] = XN, t[78] = tP, t[79] = nP) : nP = t[79];
|
|
20507
20484
|
let rP;
|
|
20508
|
-
t[80] !==
|
|
20509
|
-
open:
|
|
20510
|
-
onOpenChange:
|
|
20485
|
+
t[80] !== MN || t[81] !== jN || t[82] !== YN || t[83] !== nP ? (rP = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
20486
|
+
open: MN,
|
|
20487
|
+
onOpenChange: jN,
|
|
20511
20488
|
children: [
|
|
20512
20489
|
YN,
|
|
20513
20490
|
nP
|
|
20514
20491
|
]
|
|
20515
|
-
}), t[80] =
|
|
20492
|
+
}), t[80] = MN, t[81] = jN, t[82] = YN, t[83] = nP, t[84] = rP) : rP = t[84];
|
|
20516
20493
|
let iP;
|
|
20517
|
-
t[85] !==
|
|
20494
|
+
t[85] !== DN || t[86] !== i || t[87] !== d || t[88] !== BN || t[89] !== J || t[90] !== FN ? (iP = J && DN && (0, import_jsx_runtime.jsx)("div", {
|
|
20518
20495
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
20519
20496
|
children: Array.isArray(FN) && FN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
20520
20497
|
variant: "secondary",
|
|
@@ -20528,7 +20505,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20528
20505
|
})
|
|
20529
20506
|
]
|
|
20530
20507
|
}, String(e2)))
|
|
20531
|
-
}), t[85] =
|
|
20508
|
+
}), t[85] = DN, t[86] = i, t[87] = d, t[88] = BN, t[89] = J, t[90] = FN, t[91] = iP) : iP = t[91];
|
|
20532
20509
|
let aP;
|
|
20533
20510
|
return t[92] !== O || t[93] !== rP || t[94] !== iP ? (aP = (0, import_jsx_runtime.jsxs)("div", {
|
|
20534
20511
|
className: UN,
|
|
@@ -20613,7 +20590,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20613
20590
|
return t2 === "number" || t2 === "text" || t2 === "boolean" || t2 === "select";
|
|
20614
20591
|
}), I = (t2) => {
|
|
20615
20592
|
t2.id === e.columnId && t2.type === c && t2.operator === d && A(h);
|
|
20616
|
-
},
|
|
20593
|
+
}, U = (e2) => {
|
|
20617
20594
|
var _a2, _b;
|
|
20618
20595
|
if (!e2) return;
|
|
20619
20596
|
let n2 = ((_b = (_a2 = t.getColumn(e2)) == null ? void 0 : _a2.columnDef.meta) == null ? void 0 : _b.filterType) ?? "text", i2 = w;
|
|
@@ -20664,7 +20641,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20664
20641
|
(0, import_jsx_runtime.jsx)(Combobox, {
|
|
20665
20642
|
id: a,
|
|
20666
20643
|
value: _,
|
|
20667
|
-
onValueChange:
|
|
20644
|
+
onValueChange: U,
|
|
20668
20645
|
multiple: false,
|
|
20669
20646
|
placeholder: "Select column\u2026",
|
|
20670
20647
|
displayValue: (e2) => e2,
|
|
@@ -23251,7 +23228,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23251
23228
|
function _temp2$2(e, t) {
|
|
23252
23229
|
return e + t;
|
|
23253
23230
|
}
|
|
23254
|
-
let TableBottomBar;
|
|
23231
|
+
let TableBottomBar, downloadSizeLimitAtom;
|
|
23255
23232
|
TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: s, getRowIds: c, showPageSizeSelector: d, tableLoading: h, part: _, className: v }) => {
|
|
23256
23233
|
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), w = (e2) => {
|
|
23257
23234
|
if (!i) return;
|
|
@@ -23372,6 +23349,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23372
23349
|
]
|
|
23373
23350
|
});
|
|
23374
23351
|
};
|
|
23352
|
+
downloadSizeLimitAtom = atom(null);
|
|
23375
23353
|
Filenames = {
|
|
23376
23354
|
toMarkdown: (e) => Filenames.replace(e, "md"),
|
|
23377
23355
|
toHTML: (e) => Filenames.replace(e, "html"),
|
|
@@ -23624,25 +23602,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23624
23602
|
return ((_a2 = copyOptions.find((t) => t.format === e)) == null ? void 0 : _a2.label) ?? e;
|
|
23625
23603
|
};
|
|
23626
23604
|
const ExportMenu = (e) => {
|
|
23627
|
-
let t = (0, import_compiler_runtime$8.c)(
|
|
23628
|
-
t[0] ===
|
|
23629
|
-
let
|
|
23630
|
-
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
23605
|
+
let t = (0, import_compiler_runtime$8.c)(56), { locale: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [i, o] = import_react.useState(false), s = useAtomValue(downloadSizeLimitAtom), c = !!(s && e.sizeBytes != null && e.sizeBytes > s.limitBytes), d = i ? "text-primary" : "text-muted-foreground", h;
|
|
23606
|
+
t[0] === d ? h = t[1] : (h = cn("print:hidden text-xs gap-1", d), t[0] = d, t[1] = h);
|
|
23607
|
+
let _;
|
|
23608
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (0, import_jsx_runtime.jsx)(Download, {
|
|
23631
23609
|
className: "w-3.5 h-3.5"
|
|
23632
|
-
}), t[2] =
|
|
23633
|
-
let
|
|
23634
|
-
t[3]
|
|
23610
|
+
}), t[2] = _) : _ = t[2];
|
|
23611
|
+
let v;
|
|
23612
|
+
t[3] !== c || t[4] !== h ? (v = (0, import_jsx_runtime.jsxs)(Button, {
|
|
23635
23613
|
"data-testid": "export-button",
|
|
23636
23614
|
size: "xs",
|
|
23637
23615
|
variant: "text",
|
|
23638
|
-
|
|
23616
|
+
disabled: c,
|
|
23617
|
+
className: h,
|
|
23639
23618
|
children: [
|
|
23640
|
-
|
|
23619
|
+
_,
|
|
23641
23620
|
"Export"
|
|
23642
23621
|
]
|
|
23643
|
-
}), t[3] = c, t[4] = h);
|
|
23644
|
-
let
|
|
23645
|
-
t[
|
|
23622
|
+
}), t[3] = c, t[4] = h, t[5] = v) : v = t[5];
|
|
23623
|
+
let y = v, E;
|
|
23624
|
+
t[6] === e ? E = t[7] : (E = async (t2, n2) => {
|
|
23646
23625
|
let i2;
|
|
23647
23626
|
try {
|
|
23648
23627
|
i2 = await e.downloadAs({
|
|
@@ -23667,13 +23646,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23667
23646
|
url: i2.url,
|
|
23668
23647
|
filename: i2.filename
|
|
23669
23648
|
};
|
|
23670
|
-
}, t[
|
|
23671
|
-
let
|
|
23672
|
-
if (t[
|
|
23649
|
+
}, t[6] = e, t[7] = E);
|
|
23650
|
+
let O = E, A, M, I, z, U, K, q, J, Q, EN, $, DN, ON;
|
|
23651
|
+
if (t[8] !== y || t[9] !== c || t[10] !== n || t[11] !== i || t[12] !== (s == null ? void 0 : s.unavailableMessage) || t[13] !== O) {
|
|
23673
23652
|
let e2 = async (t2) => {
|
|
23674
23653
|
let n2 = labelForDownloadFormat(t2);
|
|
23675
23654
|
await withLoadingToast(`Preparing ${n2} export...`, async () => {
|
|
23676
|
-
let n3 = await
|
|
23655
|
+
let n3 = await O(t2, () => {
|
|
23677
23656
|
e2(t2);
|
|
23678
23657
|
});
|
|
23679
23658
|
if (!n3) return false;
|
|
@@ -23691,26 +23670,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23691
23670
|
});
|
|
23692
23671
|
}, a = async (e3) => {
|
|
23693
23672
|
await withLoadingToast(`Preparing ${labelForCopyFormat(e3)} for clipboard...`, async () => {
|
|
23694
|
-
let t2 = await
|
|
23673
|
+
let t2 = await O(e3 === "csv" ? "csv" : "json", () => {
|
|
23695
23674
|
a(e3);
|
|
23696
23675
|
});
|
|
23697
23676
|
if (!t2) return;
|
|
23698
23677
|
let i2;
|
|
23699
|
-
|
|
23678
|
+
bb78: switch (e3) {
|
|
23700
23679
|
case "tsv":
|
|
23701
23680
|
i2 = jsonToTSV(await fetchJson(t2.url), n);
|
|
23702
|
-
break
|
|
23681
|
+
break bb78;
|
|
23703
23682
|
case "json": {
|
|
23704
23683
|
let e4 = await fetchJson(t2.url);
|
|
23705
23684
|
i2 = JSON.stringify(e4, null, 2);
|
|
23706
|
-
break
|
|
23685
|
+
break bb78;
|
|
23707
23686
|
}
|
|
23708
23687
|
case "csv":
|
|
23709
23688
|
i2 = await fetchText(t2.url);
|
|
23710
|
-
break
|
|
23689
|
+
break bb78;
|
|
23711
23690
|
case "markdown":
|
|
23712
23691
|
i2 = jsonToMarkdown(await fetchJson(t2.url));
|
|
23713
|
-
break
|
|
23692
|
+
break bb78;
|
|
23714
23693
|
default:
|
|
23715
23694
|
logNever(e3);
|
|
23716
23695
|
return;
|
|
@@ -23720,19 +23699,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23720
23699
|
});
|
|
23721
23700
|
});
|
|
23722
23701
|
};
|
|
23723
|
-
|
|
23724
|
-
let
|
|
23725
|
-
t[
|
|
23702
|
+
M = DropdownMenu, U = false, K = i, q = o;
|
|
23703
|
+
let d2 = c ? s == null ? void 0 : s.unavailableMessage : "Export", f = i ? false : void 0, h2 = c ? 0 : -1, _2;
|
|
23704
|
+
t[27] !== y || t[28] !== h2 ? (_2 = (0, import_jsx_runtime.jsx)("span", {
|
|
23705
|
+
tabIndex: h2,
|
|
23706
|
+
className: "inline-flex",
|
|
23707
|
+
children: y
|
|
23708
|
+
}), t[27] = y, t[28] = h2, t[29] = _2) : _2 = t[29];
|
|
23709
|
+
let v2;
|
|
23710
|
+
t[30] !== c || t[31] !== _2 ? (v2 = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
23726
23711
|
asChild: true,
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
|
|
23730
|
-
|
|
23731
|
-
|
|
23732
|
-
|
|
23712
|
+
disabled: c,
|
|
23713
|
+
children: _2
|
|
23714
|
+
}), t[30] = c, t[31] = _2, t[32] = v2) : v2 = t[32], t[33] !== d2 || t[34] !== f || t[35] !== v2 ? (J = (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
23715
|
+
content: d2,
|
|
23716
|
+
open: f,
|
|
23717
|
+
children: v2
|
|
23718
|
+
}), t[33] = d2, t[34] = f, t[35] = v2, t[36] = J) : J = t[36], A = DropdownMenuContent, Q = "bottom", EN = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
23733
23719
|
className: "text-xs text-muted-foreground",
|
|
23734
23720
|
children: "Download"
|
|
23735
|
-
}), t[
|
|
23721
|
+
}), t[37] = $) : $ = t[37], DN = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
23736
23722
|
onSelect: () => {
|
|
23737
23723
|
e2(t2.format);
|
|
23738
23724
|
},
|
|
@@ -23753,10 +23739,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23753
23739
|
]
|
|
23754
23740
|
})
|
|
23755
23741
|
]
|
|
23756
|
-
}, t2.label)), t[
|
|
23742
|
+
}, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ON = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), I = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
23757
23743
|
className: "text-xs text-muted-foreground",
|
|
23758
23744
|
children: "Copy to clipboard"
|
|
23759
|
-
}), t[
|
|
23745
|
+
}), t[38] = I, t[39] = ON) : (I = t[38], ON = t[39]), z = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
23760
23746
|
onSelect: async () => {
|
|
23761
23747
|
try {
|
|
23762
23748
|
await a(e3.format);
|
|
@@ -23785,30 +23771,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23785
23771
|
]
|
|
23786
23772
|
})
|
|
23787
23773
|
]
|
|
23788
|
-
}, e3.label)), t[
|
|
23789
|
-
} else
|
|
23790
|
-
let
|
|
23791
|
-
t[
|
|
23792
|
-
side:
|
|
23793
|
-
className:
|
|
23774
|
+
}, e3.label)), t[8] = y, t[9] = c, t[10] = n, t[11] = i, t[12] = s == null ? void 0 : s.unavailableMessage, t[13] = O, t[14] = A, t[15] = M, t[16] = I, t[17] = z, t[18] = U, t[19] = K, t[20] = q, t[21] = J, t[22] = Q, t[23] = EN, t[24] = $, t[25] = DN, t[26] = ON;
|
|
23775
|
+
} else A = t[14], M = t[15], I = t[16], z = t[17], U = t[18], K = t[19], q = t[20], J = t[21], Q = t[22], EN = t[23], $ = t[24], DN = t[25], ON = t[26];
|
|
23776
|
+
let kN;
|
|
23777
|
+
t[40] !== A || t[41] !== I || t[42] !== z || t[43] !== Q || t[44] !== EN || t[45] !== $ || t[46] !== DN || t[47] !== ON ? (kN = (0, import_jsx_runtime.jsxs)(A, {
|
|
23778
|
+
side: Q,
|
|
23779
|
+
className: EN,
|
|
23794
23780
|
children: [
|
|
23795
|
-
Q,
|
|
23796
|
-
TN,
|
|
23797
23781
|
$,
|
|
23798
|
-
|
|
23799
|
-
|
|
23782
|
+
DN,
|
|
23783
|
+
ON,
|
|
23784
|
+
I,
|
|
23785
|
+
z
|
|
23800
23786
|
]
|
|
23801
|
-
}), t[
|
|
23802
|
-
let
|
|
23803
|
-
return t[
|
|
23804
|
-
modal:
|
|
23805
|
-
open:
|
|
23806
|
-
onOpenChange:
|
|
23787
|
+
}), t[40] = A, t[41] = I, t[42] = z, t[43] = Q, t[44] = EN, t[45] = $, t[46] = DN, t[47] = ON, t[48] = kN) : kN = t[48];
|
|
23788
|
+
let AN;
|
|
23789
|
+
return t[49] !== M || t[50] !== U || t[51] !== K || t[52] !== q || t[53] !== J || t[54] !== kN ? (AN = (0, import_jsx_runtime.jsxs)(M, {
|
|
23790
|
+
modal: U,
|
|
23791
|
+
open: K,
|
|
23792
|
+
onOpenChange: q,
|
|
23807
23793
|
children: [
|
|
23808
|
-
|
|
23809
|
-
|
|
23794
|
+
J,
|
|
23795
|
+
kN
|
|
23810
23796
|
]
|
|
23811
|
-
}), t[
|
|
23797
|
+
}), t[49] = M, t[50] = U, t[51] = K, t[52] = q, t[53] = J, t[54] = kN, t[55] = AN) : AN = t[55], AN;
|
|
23812
23798
|
};
|
|
23813
23799
|
function fetchJson(e) {
|
|
23814
23800
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -23822,13 +23808,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23822
23808
|
var NOOP_ON_SEARCH = () => {
|
|
23823
23809
|
};
|
|
23824
23810
|
let TableTopBar;
|
|
23825
|
-
TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: h, isAnyPanelOpen: _, downloadAs: v }) => {
|
|
23826
|
-
let [
|
|
23811
|
+
TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: h, isAnyPanelOpen: _, downloadAs: v, sizeBytes: y }) => {
|
|
23812
|
+
let [S, w] = (0, import_react.useState)(t || ""), E = useDebounce(S, 500), O = useEvent_default(n ?? NOOP_ON_SEARCH), A = import_react.useRef(null);
|
|
23827
23813
|
return (0, import_react.useEffect)(() => {
|
|
23828
|
-
E
|
|
23814
|
+
O(E);
|
|
23829
23815
|
}, [
|
|
23830
|
-
|
|
23831
|
-
|
|
23816
|
+
E,
|
|
23817
|
+
O
|
|
23832
23818
|
]), e && n || o || d || v ? (0, import_jsx_runtime.jsxs)("div", {
|
|
23833
23819
|
className: "flex items-center h-10 px-2 border-b gap-2",
|
|
23834
23820
|
children: [
|
|
@@ -23839,25 +23825,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23839
23825
|
className: "w-4 h-4 text-muted-foreground shrink-0"
|
|
23840
23826
|
}),
|
|
23841
23827
|
(0, import_jsx_runtime.jsx)("input", {
|
|
23842
|
-
ref:
|
|
23828
|
+
ref: A,
|
|
23843
23829
|
type: "text",
|
|
23844
23830
|
className: "h-6 border-none bg-transparent focus:outline-hidden text-sm w-full min-w-0",
|
|
23845
|
-
value:
|
|
23831
|
+
value: S,
|
|
23846
23832
|
onKeyDown: (e2) => {
|
|
23847
23833
|
var _a2;
|
|
23848
|
-
e2.key === "Escape" && (
|
|
23834
|
+
e2.key === "Escape" && (w(""), (_a2 = A.current) == null ? void 0 : _a2.blur());
|
|
23849
23835
|
},
|
|
23850
|
-
onChange: (e2) =>
|
|
23836
|
+
onChange: (e2) => w(e2.target.value),
|
|
23851
23837
|
placeholder: "Search..."
|
|
23852
23838
|
}),
|
|
23853
23839
|
i && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
23854
23840
|
size: "small"
|
|
23855
23841
|
}),
|
|
23856
|
-
|
|
23842
|
+
S && (0, import_jsx_runtime.jsx)(Button, {
|
|
23857
23843
|
variant: "text",
|
|
23858
23844
|
size: "xs",
|
|
23859
23845
|
className: "h-5 w-5 p-0 shrink-0",
|
|
23860
|
-
onClick: () =>
|
|
23846
|
+
onClick: () => w(""),
|
|
23861
23847
|
children: (0, import_jsx_runtime.jsx)(X, {
|
|
23862
23848
|
className: "w-3 h-3 text-muted-foreground"
|
|
23863
23849
|
})
|
|
@@ -23892,29 +23878,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23892
23878
|
]
|
|
23893
23879
|
}),
|
|
23894
23880
|
v && (0, import_jsx_runtime.jsx)(ExportMenu, {
|
|
23895
|
-
downloadAs: v
|
|
23881
|
+
downloadAs: v,
|
|
23882
|
+
sizeBytes: y
|
|
23896
23883
|
})
|
|
23897
23884
|
]
|
|
23898
23885
|
})
|
|
23899
23886
|
]
|
|
23900
23887
|
}) : null;
|
|
23901
23888
|
};
|
|
23902
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f,
|
|
23903
|
-
let [
|
|
23889
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: h, manualSorting: _ = false, sorting: v, setSorting: y, rowSelection: S, cellSelection: w, cellStyling: E, hoverTemplate: O, cellHoverTexts: A, paginationState: M, setPaginationState: I, downloadAs: z, manualPagination: U = false, pagination: K = false, onRowSelectionChange: q, onCellSelectionChange: J, getRowIds: Q, enableSearch: EN = false, searchQuery: $, onSearchQueryChange: DN, showFilters: ON = false, filters: kN, onFiltersChange: AN, calculateTopKRows: jN, reloading: MN, freezeColumnsLeft: NN, freezeColumnsRight: PN, toggleDisplayHeader: FN, showChartBuilder: IN, isChartBuilderOpen: LN, showPageSizeSelector: RN, showTableExplorer: zN, togglePanel: BN, isPanelOpen: VN, isAnyPanelOpen: HN, viewedRowIdx: UN, onViewedRowChange: WN }) => {
|
|
23890
|
+
let [GN, KN] = import_react.useState(false), { locale: qN } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: JN, setColumnPinning: YN } = useColumnPinning(NN, PN);
|
|
23904
23891
|
import_react.useEffect(() => {
|
|
23905
23892
|
let e2;
|
|
23906
|
-
return
|
|
23907
|
-
|
|
23908
|
-
}, 300) :
|
|
23893
|
+
return MN ? e2 = setTimeout(() => {
|
|
23894
|
+
KN(true);
|
|
23895
|
+
}, 300) : KN(false), () => {
|
|
23909
23896
|
e2 && clearTimeout(e2);
|
|
23910
23897
|
};
|
|
23911
23898
|
}, [
|
|
23912
|
-
|
|
23899
|
+
MN
|
|
23913
23900
|
]);
|
|
23914
|
-
function
|
|
23915
|
-
return
|
|
23901
|
+
function XN(e2, t2) {
|
|
23902
|
+
return M ? t2 + (U ? M.pageIndex * M.pageSize : 0) : t2;
|
|
23916
23903
|
}
|
|
23917
|
-
let
|
|
23904
|
+
let ZN = useReactTable({
|
|
23918
23905
|
_features: [
|
|
23919
23906
|
ColumnPinning,
|
|
23920
23907
|
ColumnWrappingFeature,
|
|
@@ -23933,66 +23920,66 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23933
23920
|
},
|
|
23934
23921
|
getCoreRowModel: getCoreRowModel(),
|
|
23935
23922
|
rowCount: f === "too_many" ? void 0 : f,
|
|
23936
|
-
...
|
|
23937
|
-
onPaginationChange:
|
|
23923
|
+
...I ? {
|
|
23924
|
+
onPaginationChange: I,
|
|
23938
23925
|
getRowId: (e2, t2) => {
|
|
23939
23926
|
let n2 = getStableRowId(e2);
|
|
23940
23927
|
if (n2) return n2;
|
|
23941
|
-
let i2 =
|
|
23928
|
+
let i2 = XN(e2, t2);
|
|
23942
23929
|
return String(i2);
|
|
23943
23930
|
}
|
|
23944
23931
|
} : {},
|
|
23945
|
-
locale:
|
|
23946
|
-
manualPagination:
|
|
23932
|
+
locale: qN,
|
|
23933
|
+
manualPagination: U,
|
|
23947
23934
|
getPaginationRowModel: getPaginationRowModel(),
|
|
23948
|
-
...
|
|
23949
|
-
onSortingChange:
|
|
23935
|
+
...y ? {
|
|
23936
|
+
onSortingChange: y
|
|
23950
23937
|
} : {},
|
|
23951
|
-
manualSorting:
|
|
23938
|
+
manualSorting: _,
|
|
23952
23939
|
enableMultiSort: true,
|
|
23953
23940
|
getSortedRowModel: getSortedRowModel(),
|
|
23954
23941
|
manualFiltering: true,
|
|
23955
|
-
enableColumnFilters:
|
|
23942
|
+
enableColumnFilters: ON,
|
|
23956
23943
|
getFilteredRowModel: getFilteredRowModel(),
|
|
23957
|
-
onColumnFiltersChange:
|
|
23958
|
-
onRowSelectionChange:
|
|
23959
|
-
onCellSelectionChange:
|
|
23944
|
+
onColumnFiltersChange: AN,
|
|
23945
|
+
onRowSelectionChange: q,
|
|
23946
|
+
onCellSelectionChange: J,
|
|
23960
23947
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
23961
23948
|
enableMultiCellSelection: c === "multi-cell",
|
|
23962
|
-
onColumnPinningChange:
|
|
23949
|
+
onColumnPinningChange: YN,
|
|
23963
23950
|
enableFocusRow: true,
|
|
23964
|
-
onFocusRowChange:
|
|
23951
|
+
onFocusRowChange: WN,
|
|
23965
23952
|
state: {
|
|
23966
|
-
...
|
|
23967
|
-
sorting:
|
|
23953
|
+
...v ? {
|
|
23954
|
+
sorting: v
|
|
23968
23955
|
} : {},
|
|
23969
|
-
columnFilters:
|
|
23970
|
-
...
|
|
23971
|
-
pagination:
|
|
23972
|
-
} :
|
|
23956
|
+
columnFilters: kN,
|
|
23957
|
+
...M ? {
|
|
23958
|
+
pagination: M
|
|
23959
|
+
} : K && !M ? {} : {
|
|
23973
23960
|
pagination: {
|
|
23974
23961
|
pageIndex: 0,
|
|
23975
23962
|
pageSize: o.length
|
|
23976
23963
|
}
|
|
23977
23964
|
},
|
|
23978
|
-
rowSelection:
|
|
23979
|
-
cellSelection:
|
|
23980
|
-
cellStyling:
|
|
23981
|
-
columnPinning:
|
|
23982
|
-
cellHoverTemplate:
|
|
23983
|
-
cellHoverTexts:
|
|
23984
|
-
}
|
|
23985
|
-
}),
|
|
23965
|
+
rowSelection: S ?? {},
|
|
23966
|
+
cellSelection: w ?? [],
|
|
23967
|
+
cellStyling: E,
|
|
23968
|
+
columnPinning: JN,
|
|
23969
|
+
cellHoverTemplate: O,
|
|
23970
|
+
cellHoverTexts: A ?? {}
|
|
23971
|
+
}
|
|
23972
|
+
}), QN = (VN == null ? void 0 : VN(PANEL_TYPES.ROW_VIEWER)) ?? false, $N = !K && o.length > 100, eP = useScrollContainerHeight({
|
|
23986
23973
|
maxHeight: n,
|
|
23987
|
-
virtualize:
|
|
23974
|
+
virtualize: $N
|
|
23988
23975
|
});
|
|
23989
23976
|
return (0, import_jsx_runtime.jsxs)("div", {
|
|
23990
23977
|
className: cn(e, "flex flex-col space-y-1"),
|
|
23991
23978
|
children: [
|
|
23992
23979
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
23993
|
-
filters:
|
|
23994
|
-
table:
|
|
23995
|
-
calculateTopKRows:
|
|
23980
|
+
filters: kN,
|
|
23981
|
+
table: ZN,
|
|
23982
|
+
calculateTopKRows: jN
|
|
23996
23983
|
}),
|
|
23997
23984
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
23998
23985
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -24000,33 +23987,34 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24000
23987
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
24001
23988
|
children: [
|
|
24002
23989
|
(0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
24003
|
-
enableSearch:
|
|
24004
|
-
searchQuery:
|
|
24005
|
-
onSearchQueryChange:
|
|
24006
|
-
reloading:
|
|
24007
|
-
showChartBuilder:
|
|
24008
|
-
isChartBuilderOpen:
|
|
24009
|
-
toggleDisplayHeader:
|
|
24010
|
-
showTableExplorer:
|
|
24011
|
-
togglePanel:
|
|
24012
|
-
isAnyPanelOpen:
|
|
24013
|
-
downloadAs:
|
|
23990
|
+
enableSearch: EN,
|
|
23991
|
+
searchQuery: $,
|
|
23992
|
+
onSearchQueryChange: DN,
|
|
23993
|
+
reloading: MN,
|
|
23994
|
+
showChartBuilder: IN,
|
|
23995
|
+
isChartBuilderOpen: LN,
|
|
23996
|
+
toggleDisplayHeader: FN,
|
|
23997
|
+
showTableExplorer: zN,
|
|
23998
|
+
togglePanel: BN,
|
|
23999
|
+
isAnyPanelOpen: HN,
|
|
24000
|
+
downloadAs: z,
|
|
24001
|
+
sizeBytes: h
|
|
24014
24002
|
}),
|
|
24015
24003
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
24016
24004
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
24017
|
-
ref:
|
|
24005
|
+
ref: eP,
|
|
24018
24006
|
children: [
|
|
24019
|
-
|
|
24007
|
+
GN && (0, import_jsx_runtime.jsx)("thead", {
|
|
24020
24008
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
24021
24009
|
}),
|
|
24022
|
-
renderTableHeader(
|
|
24010
|
+
renderTableHeader(ZN, $N || !!n),
|
|
24023
24011
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
24024
|
-
table:
|
|
24012
|
+
table: ZN,
|
|
24025
24013
|
columns: i,
|
|
24026
|
-
rowViewerPanelOpen:
|
|
24027
|
-
getRowIndex:
|
|
24028
|
-
viewedRowIdx:
|
|
24029
|
-
virtualize:
|
|
24014
|
+
rowViewerPanelOpen: QN,
|
|
24015
|
+
getRowIndex: XN,
|
|
24016
|
+
viewedRowIdx: UN,
|
|
24017
|
+
virtualize: $N
|
|
24030
24018
|
})
|
|
24031
24019
|
]
|
|
24032
24020
|
}),
|
|
@@ -24034,13 +24022,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24034
24022
|
part: "table-footer",
|
|
24035
24023
|
className: "pt-1.5 pb-0.5 border-t border-border",
|
|
24036
24024
|
totalColumns: d,
|
|
24037
|
-
pagination:
|
|
24025
|
+
pagination: K,
|
|
24038
24026
|
selection: c,
|
|
24039
|
-
onRowSelectionChange:
|
|
24040
|
-
table:
|
|
24041
|
-
getRowIds:
|
|
24042
|
-
showPageSizeSelector:
|
|
24043
|
-
tableLoading:
|
|
24027
|
+
onRowSelectionChange: q,
|
|
24028
|
+
table: ZN,
|
|
24029
|
+
getRowIds: Q,
|
|
24030
|
+
showPageSizeSelector: RN,
|
|
24031
|
+
tableLoading: MN
|
|
24044
24032
|
})
|
|
24045
24033
|
]
|
|
24046
24034
|
})
|
|
@@ -24121,76 +24109,76 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24121
24109
|
t[4] !== o || t[5] !== E ? (O = E && E.kind === "cell" && !isWasm() && !isStaticNotebook() && o !== "__scratch__", t[4] = o, t[5] = E, t[6] = O) : O = t[6];
|
|
24122
24110
|
let A = O, M;
|
|
24123
24111
|
t[7] !== v || t[8] !== n ? (M = n && v && !isStaticNotebook(), t[7] = v, t[8] = n, t[9] = M) : M = t[9];
|
|
24124
|
-
let
|
|
24112
|
+
let z = M, U = !isStaticNotebook(), K = (e2) => {
|
|
24125
24113
|
n == null ? void 0 : n({
|
|
24126
24114
|
prompt: `My code gives the following error:
|
|
24127
24115
|
|
|
24128
24116
|
${_}`,
|
|
24129
24117
|
triggerImmediately: e2
|
|
24130
24118
|
});
|
|
24131
|
-
}, [q,
|
|
24132
|
-
t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
24133
|
-
let
|
|
24134
|
-
t[11] ===
|
|
24135
|
-
let
|
|
24136
|
-
t[13] ===
|
|
24137
|
-
className:
|
|
24138
|
-
}), t[13] =
|
|
24139
|
-
let
|
|
24140
|
-
t[15] ===
|
|
24119
|
+
}, [q, Q] = _.split(":", 2), $ = d ? KEY : "", DN;
|
|
24120
|
+
t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (DN = () => h(_temp$3), t[10] = DN) : DN = t[10];
|
|
24121
|
+
let ON = d ? "rotate-180" : "rotate-0", kN;
|
|
24122
|
+
t[11] === ON ? kN = t[12] : (kN = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", ON), t[11] = ON, t[12] = kN);
|
|
24123
|
+
let AN;
|
|
24124
|
+
t[13] === kN ? AN = t[14] : (AN = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
24125
|
+
className: kN
|
|
24126
|
+
}), t[13] = kN, t[14] = AN);
|
|
24127
|
+
let jN = q || "Error", MN;
|
|
24128
|
+
t[15] === jN ? MN = t[16] : (MN = (0, import_jsx_runtime.jsxs)("span", {
|
|
24141
24129
|
className: "text-destructive",
|
|
24142
24130
|
children: [
|
|
24143
|
-
|
|
24131
|
+
jN,
|
|
24144
24132
|
":"
|
|
24145
24133
|
]
|
|
24146
|
-
}), t[15] =
|
|
24147
|
-
let
|
|
24148
|
-
t[17] !==
|
|
24134
|
+
}), t[15] = jN, t[16] = MN);
|
|
24135
|
+
let PN;
|
|
24136
|
+
t[17] !== Q || t[18] !== MN ? (PN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24149
24137
|
className: "text-sm inline font-mono",
|
|
24150
24138
|
children: [
|
|
24151
|
-
|
|
24139
|
+
MN,
|
|
24152
24140
|
" ",
|
|
24153
|
-
|
|
24141
|
+
Q
|
|
24154
24142
|
]
|
|
24155
|
-
}), t[17] =
|
|
24156
|
-
let
|
|
24157
|
-
t[20] !==
|
|
24143
|
+
}), t[17] = Q, t[18] = MN, t[19] = PN) : PN = t[19];
|
|
24144
|
+
let IN;
|
|
24145
|
+
t[20] !== PN || t[21] !== AN ? (IN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24158
24146
|
className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
|
|
24159
|
-
onClick:
|
|
24147
|
+
onClick: DN,
|
|
24160
24148
|
children: [
|
|
24161
|
-
|
|
24162
|
-
|
|
24149
|
+
AN,
|
|
24150
|
+
PN
|
|
24163
24151
|
]
|
|
24164
|
-
}), t[20] =
|
|
24165
|
-
let
|
|
24166
|
-
t[23] === c ?
|
|
24152
|
+
}), t[20] = PN, t[21] = AN, t[22] = IN) : IN = t[22];
|
|
24153
|
+
let LN;
|
|
24154
|
+
t[23] === c ? LN = t[24] : (LN = (0, import_jsx_runtime.jsx)(AccordionContent, {
|
|
24167
24155
|
className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
|
|
24168
24156
|
children: c
|
|
24169
|
-
}), t[23] = c, t[24] =
|
|
24170
|
-
let
|
|
24171
|
-
t[25] !==
|
|
24157
|
+
}), t[23] = c, t[24] = LN);
|
|
24158
|
+
let RN;
|
|
24159
|
+
t[25] !== IN || t[26] !== LN ? (RN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
|
|
24172
24160
|
value: KEY,
|
|
24173
24161
|
className: "border-none",
|
|
24174
24162
|
children: [
|
|
24175
|
-
|
|
24176
|
-
|
|
24163
|
+
IN,
|
|
24164
|
+
LN
|
|
24177
24165
|
]
|
|
24178
|
-
}), t[25] =
|
|
24179
|
-
let
|
|
24180
|
-
t[28] !==
|
|
24166
|
+
}), t[25] = IN, t[26] = LN, t[27] = RN) : RN = t[27];
|
|
24167
|
+
let zN;
|
|
24168
|
+
t[28] !== RN || t[29] !== $ ? (zN = (0, import_jsx_runtime.jsx)(Accordion, {
|
|
24181
24169
|
type: "single",
|
|
24182
24170
|
collapsible: true,
|
|
24183
|
-
value:
|
|
24184
|
-
children:
|
|
24185
|
-
}), t[28] =
|
|
24186
|
-
let
|
|
24187
|
-
t[31] !== K || t[32] !==
|
|
24171
|
+
value: $,
|
|
24172
|
+
children: RN
|
|
24173
|
+
}), t[28] = RN, t[29] = $, t[30] = zN) : zN = t[30];
|
|
24174
|
+
let VN;
|
|
24175
|
+
t[31] !== K || t[32] !== z ? (VN = z && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
24188
24176
|
tooltip: "Fix with AI",
|
|
24189
24177
|
openPrompt: () => K(false),
|
|
24190
24178
|
applyAutofix: () => K(true)
|
|
24191
|
-
}), t[31] = K, t[32] =
|
|
24192
|
-
let
|
|
24193
|
-
t[34] !== A || t[35] !== E ? (
|
|
24179
|
+
}), t[31] = K, t[32] = z, t[33] = VN) : VN = t[33];
|
|
24180
|
+
let HN;
|
|
24181
|
+
t[34] !== A || t[35] !== E ? (HN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
24194
24182
|
content: "Attach pdb to the exception point.",
|
|
24195
24183
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
24196
24184
|
size: "xs",
|
|
@@ -24207,9 +24195,9 @@ ${_}`,
|
|
|
24207
24195
|
"Launch debugger"
|
|
24208
24196
|
]
|
|
24209
24197
|
})
|
|
24210
|
-
}), t[34] = A, t[35] = E, t[36] =
|
|
24211
|
-
let
|
|
24212
|
-
t[37] !== _ || t[38] !== i ? (
|
|
24198
|
+
}), t[34] = A, t[35] = E, t[36] = HN) : HN = t[36];
|
|
24199
|
+
let UN;
|
|
24200
|
+
t[37] !== _ || t[38] !== i ? (UN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
24213
24201
|
children: [
|
|
24214
24202
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
24215
24203
|
asChild: true,
|
|
@@ -24277,24 +24265,24 @@ ${_}`,
|
|
|
24277
24265
|
]
|
|
24278
24266
|
})
|
|
24279
24267
|
]
|
|
24280
|
-
}), t[37] = _, t[38] = i, t[39] =
|
|
24281
|
-
let
|
|
24282
|
-
t[40] !==
|
|
24268
|
+
}), t[37] = _, t[38] = i, t[39] = UN) : UN = t[39];
|
|
24269
|
+
let WN;
|
|
24270
|
+
t[40] !== VN || t[41] !== HN || t[42] !== UN ? (WN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24283
24271
|
className: "flex gap-2",
|
|
24284
24272
|
children: [
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24273
|
+
VN,
|
|
24274
|
+
HN,
|
|
24275
|
+
UN
|
|
24288
24276
|
]
|
|
24289
|
-
}), t[40] =
|
|
24290
|
-
let
|
|
24291
|
-
return t[44] !==
|
|
24277
|
+
}), t[40] = VN, t[41] = HN, t[42] = UN, t[43] = WN) : WN = t[43];
|
|
24278
|
+
let GN;
|
|
24279
|
+
return t[44] !== zN || t[45] !== WN ? (GN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24292
24280
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
24293
24281
|
children: [
|
|
24294
|
-
|
|
24295
|
-
|
|
24282
|
+
zN,
|
|
24283
|
+
WN
|
|
24296
24284
|
]
|
|
24297
|
-
}), t[44] =
|
|
24285
|
+
}), t[44] = zN, t[45] = WN, t[46] = GN) : GN = t[46], GN;
|
|
24298
24286
|
};
|
|
24299
24287
|
function lastLine(e) {
|
|
24300
24288
|
var _a2, _b;
|
|
@@ -25680,7 +25668,7 @@ ${_}`,
|
|
|
25680
25668
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
25681
25669
|
}
|
|
25682
25670
|
}
|
|
25683
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-
|
|
25671
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev42");
|
|
25684
25672
|
showCodeInRunModeAtom = atom(true);
|
|
25685
25673
|
atom(null);
|
|
25686
25674
|
var import_compiler_runtime = require_compiler_runtime();
|