@marimo-team/islands 0.23.7-dev2 → 0.23.7-dev20
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-Cf4tuQ8s.js} +17 -17
- 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-BZocwq8O.js → code-visibility-VP08CFE1.js} +612 -601
- 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-q0T1ijn_.js} +2352 -2282
- 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 +1177 -1140
- 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-DJ1NyBGw.js → mermaid-DO-Daq7u.js} +72 -69
- 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-DTKS9bKk.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-CP9dWJEm.js → reveal-component-ErqOa0Wd.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 +2 -2
- 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/controls/Controls.tsx +3 -1
- 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/pages/run-page.tsx +4 -1
- 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/core/__test__/sanitize.test.ts +8 -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/plugins/layout/__test__/MermaidPlugin.test.ts +50 -0
- package/src/plugins/layout/mermaid/MermaidPlugin.tsx +11 -1
- package/src/plugins/layout/mermaid/mermaid.tsx +7 -3
- 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/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, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, 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, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, 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, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-
|
|
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, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, 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, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, 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, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-q0T1ijn_.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
|
(() => {
|
|
@@ -7591,33 +7591,33 @@ try {
|
|
|
7591
7591
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
7592
7592
|
function y(e2) {
|
|
7593
7593
|
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),
|
|
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), EN = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
7595
7595
|
h2
|
|
7596
|
-
]),
|
|
7597
|
-
|
|
7598
|
-
]),
|
|
7599
|
-
supportedColorSchemes:
|
|
7600
|
-
defaultLightColorScheme:
|
|
7601
|
-
defaultDarkColorScheme:
|
|
7596
|
+
]), 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(","), [
|
|
7597
|
+
MN
|
|
7598
|
+
]), 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({
|
|
7599
|
+
supportedColorSchemes: NN,
|
|
7600
|
+
defaultLightColorScheme: PN,
|
|
7601
|
+
defaultDarkColorScheme: FN,
|
|
7602
7602
|
modeStorageKey: y2,
|
|
7603
7603
|
colorSchemeStorageKey: S2,
|
|
7604
|
-
defaultMode:
|
|
7604
|
+
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
7605
|
storageManager: E,
|
|
7606
7606
|
storageWindow: O,
|
|
7607
7607
|
noSsr: K
|
|
7608
|
-
}),
|
|
7609
|
-
|
|
7610
|
-
let
|
|
7608
|
+
}), UN = IN, WN = VN;
|
|
7609
|
+
EN && (UN = Q.mode, WN = Q.colorScheme);
|
|
7610
|
+
let GN = import_react.useMemo(() => {
|
|
7611
7611
|
var _a3;
|
|
7612
|
-
let e3 =
|
|
7613
|
-
...
|
|
7614
|
-
components:
|
|
7615
|
-
colorSchemes:
|
|
7616
|
-
cssVarPrefix:
|
|
7612
|
+
let e3 = WN || ON.defaultColorScheme, t2 = ((_a3 = ON.generateThemeVars) == null ? void 0 : _a3.call(ON)) || ON.vars, n2 = {
|
|
7613
|
+
...ON,
|
|
7614
|
+
components: AN,
|
|
7615
|
+
colorSchemes: kN,
|
|
7616
|
+
cssVarPrefix: jN,
|
|
7617
7617
|
vars: t2
|
|
7618
7618
|
};
|
|
7619
7619
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
7620
|
-
let t3 =
|
|
7620
|
+
let t3 = kN[e3];
|
|
7621
7621
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
7622
7622
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
7623
7623
|
...n2[e4],
|
|
@@ -7627,31 +7627,31 @@ try {
|
|
|
7627
7627
|
}
|
|
7628
7628
|
return c ? c(n2) : n2;
|
|
7629
7629
|
}, [
|
|
7630
|
-
DN,
|
|
7631
|
-
UN,
|
|
7632
|
-
kN,
|
|
7633
7630
|
ON,
|
|
7634
|
-
|
|
7635
|
-
|
|
7631
|
+
WN,
|
|
7632
|
+
AN,
|
|
7633
|
+
kN,
|
|
7634
|
+
jN
|
|
7635
|
+
]), KN = ON.colorSchemeSelector;
|
|
7636
7636
|
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(...
|
|
7637
|
+
if (WN && M && KN && KN !== "media") {
|
|
7638
|
+
let e3 = KN, t2 = KN;
|
|
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(...NN.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", WN));
|
|
7640
7640
|
else {
|
|
7641
|
-
let e4 = t2.replace("%s",
|
|
7641
|
+
let e4 = t2.replace("%s", WN).match(/\[([^\]]+)\]/);
|
|
7642
7642
|
if (e4) {
|
|
7643
7643
|
let [t3, n2] = e4[1].split("=");
|
|
7644
|
-
n2 ||
|
|
7645
|
-
M.removeAttribute(t3.replace(
|
|
7644
|
+
n2 || NN.forEach((e5) => {
|
|
7645
|
+
M.removeAttribute(t3.replace(WN, e5));
|
|
7646
7646
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
7647
|
-
} else M.setAttribute(t2,
|
|
7647
|
+
} else M.setAttribute(t2, WN);
|
|
7648
7648
|
}
|
|
7649
7649
|
}
|
|
7650
7650
|
}, [
|
|
7651
|
-
|
|
7652
|
-
|
|
7651
|
+
WN,
|
|
7652
|
+
KN,
|
|
7653
7653
|
M,
|
|
7654
|
-
|
|
7654
|
+
NN
|
|
7655
7655
|
]), import_react.useEffect(() => {
|
|
7656
7656
|
let e3;
|
|
7657
7657
|
if (w2 && q.current && A) {
|
|
@@ -7664,48 +7664,48 @@ try {
|
|
|
7664
7664
|
clearTimeout(e3);
|
|
7665
7665
|
};
|
|
7666
7666
|
}, [
|
|
7667
|
-
|
|
7667
|
+
WN,
|
|
7668
7668
|
w2,
|
|
7669
7669
|
A
|
|
7670
7670
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
7671
7671
|
q.current = false;
|
|
7672
7672
|
}), []);
|
|
7673
|
-
let
|
|
7674
|
-
allColorSchemes:
|
|
7675
|
-
colorScheme:
|
|
7676
|
-
darkColorScheme:
|
|
7677
|
-
lightColorScheme:
|
|
7678
|
-
mode:
|
|
7679
|
-
setColorScheme:
|
|
7680
|
-
setMode:
|
|
7681
|
-
systemMode:
|
|
7673
|
+
let qN = import_react.useMemo(() => ({
|
|
7674
|
+
allColorSchemes: NN,
|
|
7675
|
+
colorScheme: WN,
|
|
7676
|
+
darkColorScheme: BN,
|
|
7677
|
+
lightColorScheme: zN,
|
|
7678
|
+
mode: UN,
|
|
7679
|
+
setColorScheme: HN,
|
|
7680
|
+
setMode: LN,
|
|
7681
|
+
systemMode: RN
|
|
7682
7682
|
}), [
|
|
7683
|
-
|
|
7684
|
-
|
|
7683
|
+
NN,
|
|
7684
|
+
WN,
|
|
7685
|
+
BN,
|
|
7685
7686
|
zN,
|
|
7686
|
-
|
|
7687
|
+
UN,
|
|
7687
7688
|
HN,
|
|
7688
|
-
VN,
|
|
7689
|
-
IN,
|
|
7690
7689
|
LN,
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7690
|
+
RN,
|
|
7691
|
+
GN.colorSchemeSelector
|
|
7692
|
+
]), JN = true;
|
|
7693
|
+
(z || ON.cssVariables === false || EN && (J == null ? void 0 : J.cssVarPrefix) === jN) && (JN = false);
|
|
7694
|
+
let YN = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
7695
7695
|
children: [
|
|
7696
7696
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
7697
|
-
themeId:
|
|
7698
|
-
theme:
|
|
7697
|
+
themeId: DN ? t : void 0,
|
|
7698
|
+
theme: GN,
|
|
7699
7699
|
children: d2
|
|
7700
7700
|
}),
|
|
7701
|
-
|
|
7702
|
-
styles: ((_d =
|
|
7701
|
+
JN && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
7702
|
+
styles: ((_d = GN.generateStyleSheets) == null ? void 0 : _d.call(GN)) || []
|
|
7703
7703
|
})
|
|
7704
7704
|
]
|
|
7705
7705
|
});
|
|
7706
|
-
return
|
|
7707
|
-
value:
|
|
7708
|
-
children:
|
|
7706
|
+
return EN ? YN : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
7707
|
+
value: qN,
|
|
7708
|
+
children: YN
|
|
7709
7709
|
});
|
|
7710
7710
|
}
|
|
7711
7711
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -9205,10 +9205,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
9205
9205
|
let n = useDefaultProps({
|
|
9206
9206
|
props: e,
|
|
9207
9207
|
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
|
-
}, []),
|
|
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: 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) => {
|
|
9209
|
+
}, []), WN = useForkRef_default(HN, M, A.ref, UN), [GN, KN] = import_react.useState(false), qN = useFormControl(), JN = formControlState({
|
|
9210
9210
|
props: n,
|
|
9211
|
-
muiFormControl:
|
|
9211
|
+
muiFormControl: qN,
|
|
9212
9212
|
states: [
|
|
9213
9213
|
"color",
|
|
9214
9214
|
"disabled",
|
|
@@ -9219,145 +9219,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
9219
9219
|
"filled"
|
|
9220
9220
|
]
|
|
9221
9221
|
});
|
|
9222
|
-
|
|
9223
|
-
!
|
|
9222
|
+
JN.focused = qN ? qN.focused : GN, import_react.useEffect(() => {
|
|
9223
|
+
!qN && _ && GN && (KN(false), J && J());
|
|
9224
9224
|
}, [
|
|
9225
|
-
|
|
9225
|
+
qN,
|
|
9226
9226
|
_,
|
|
9227
|
-
|
|
9227
|
+
GN,
|
|
9228
9228
|
J
|
|
9229
9229
|
]);
|
|
9230
|
-
let
|
|
9231
|
-
isFilled(e2) ?
|
|
9230
|
+
let YN = qN && qN.onFilled, XN = qN && qN.onEmpty, ZN = import_react.useCallback((e2) => {
|
|
9231
|
+
isFilled(e2) ? YN && YN() : XN && XN();
|
|
9232
9232
|
}, [
|
|
9233
|
-
|
|
9234
|
-
|
|
9233
|
+
YN,
|
|
9234
|
+
XN
|
|
9235
9235
|
]);
|
|
9236
9236
|
useEnhancedEffect_default$1(() => {
|
|
9237
|
-
|
|
9238
|
-
value:
|
|
9237
|
+
VN && ZN({
|
|
9238
|
+
value: BN
|
|
9239
9239
|
});
|
|
9240
9240
|
}, [
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9241
|
+
BN,
|
|
9242
|
+
ZN,
|
|
9243
|
+
VN
|
|
9244
9244
|
]);
|
|
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 ||
|
|
9245
|
+
let QN = (e2) => {
|
|
9246
|
+
$ && $(e2), A.onFocus && A.onFocus(e2), qN && qN.onFocus ? qN.onFocus(e2) : KN(true);
|
|
9247
|
+
}, $N = (e2) => {
|
|
9248
|
+
J && J(e2), A.onBlur && A.onBlur(e2), qN && qN.onBlur ? qN.onBlur(e2) : KN(false);
|
|
9249
|
+
}, eP = (e2, ...t2) => {
|
|
9250
|
+
if (!VN) {
|
|
9251
|
+
let t3 = e2.target || HN.current;
|
|
9252
9252
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
9253
|
-
|
|
9253
|
+
ZN({
|
|
9254
9254
|
value: t3.value
|
|
9255
9255
|
});
|
|
9256
9256
|
}
|
|
9257
9257
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
9258
9258
|
};
|
|
9259
9259
|
import_react.useEffect(() => {
|
|
9260
|
-
|
|
9260
|
+
ZN(HN.current);
|
|
9261
9261
|
}, []);
|
|
9262
|
-
let
|
|
9263
|
-
|
|
9264
|
-
},
|
|
9265
|
-
K &&
|
|
9262
|
+
let tP = (e2) => {
|
|
9263
|
+
HN.current && e2.currentTarget === e2.target && HN.current.focus(), EN && EN(e2);
|
|
9264
|
+
}, nP = O, rP = A;
|
|
9265
|
+
K && nP === "input" && (rP = MN ? {
|
|
9266
9266
|
type: void 0,
|
|
9267
|
-
minRows:
|
|
9268
|
-
maxRows:
|
|
9269
|
-
...
|
|
9267
|
+
minRows: MN,
|
|
9268
|
+
maxRows: MN,
|
|
9269
|
+
...rP
|
|
9270
9270
|
} : {
|
|
9271
9271
|
type: void 0,
|
|
9272
9272
|
maxRows: z,
|
|
9273
9273
|
minRows: U,
|
|
9274
|
-
...
|
|
9275
|
-
},
|
|
9276
|
-
let
|
|
9277
|
-
|
|
9274
|
+
...rP
|
|
9275
|
+
}, nP = TextareaAutosize_default);
|
|
9276
|
+
let iP = (e2) => {
|
|
9277
|
+
ZN(e2.animationName === "mui-auto-fill-cancel" ? HN.current : {
|
|
9278
9278
|
value: "x"
|
|
9279
9279
|
});
|
|
9280
9280
|
};
|
|
9281
9281
|
import_react.useEffect(() => {
|
|
9282
|
-
|
|
9282
|
+
qN && qN.setAdornedStart(!!IN);
|
|
9283
9283
|
}, [
|
|
9284
|
-
|
|
9285
|
-
|
|
9284
|
+
qN,
|
|
9285
|
+
IN
|
|
9286
9286
|
]);
|
|
9287
|
-
let
|
|
9287
|
+
let aP = {
|
|
9288
9288
|
...n,
|
|
9289
|
-
color:
|
|
9290
|
-
disabled:
|
|
9289
|
+
color: JN.color || "primary",
|
|
9290
|
+
disabled: JN.disabled,
|
|
9291
9291
|
endAdornment: y,
|
|
9292
|
-
error:
|
|
9293
|
-
focused:
|
|
9294
|
-
formControl:
|
|
9292
|
+
error: JN.error,
|
|
9293
|
+
focused: JN.focused,
|
|
9294
|
+
formControl: qN,
|
|
9295
9295
|
fullWidth: w,
|
|
9296
|
-
hiddenLabel:
|
|
9296
|
+
hiddenLabel: JN.hiddenLabel,
|
|
9297
9297
|
multiline: K,
|
|
9298
|
-
size:
|
|
9299
|
-
startAdornment:
|
|
9300
|
-
type:
|
|
9301
|
-
},
|
|
9302
|
-
return
|
|
9303
|
-
...
|
|
9304
|
-
...
|
|
9298
|
+
size: JN.size,
|
|
9299
|
+
startAdornment: IN,
|
|
9300
|
+
type: LN
|
|
9301
|
+
}, oP = useUtilityClasses(aP), sP = FN.root || d.Root || InputBaseRoot, cP = PN.root || f.root || {}, lP = FN.input || d.Input || InputBaseInput;
|
|
9302
|
+
return rP = {
|
|
9303
|
+
...rP,
|
|
9304
|
+
...PN.input ?? f.input
|
|
9305
9305
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
9306
9306
|
children: [
|
|
9307
9307
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
9308
|
-
(0, import_jsx_runtime.jsxs)(
|
|
9309
|
-
...
|
|
9308
|
+
(0, import_jsx_runtime.jsxs)(sP, {
|
|
9309
|
+
...cP,
|
|
9310
9310
|
ref: t,
|
|
9311
|
-
onClick:
|
|
9312
|
-
...
|
|
9313
|
-
...!isHostComponent_default(
|
|
9311
|
+
onClick: tP,
|
|
9312
|
+
...zN,
|
|
9313
|
+
...!isHostComponent_default(sP) && {
|
|
9314
9314
|
ownerState: {
|
|
9315
|
-
...
|
|
9316
|
-
...
|
|
9315
|
+
...aP,
|
|
9316
|
+
...cP.ownerState
|
|
9317
9317
|
}
|
|
9318
9318
|
},
|
|
9319
|
-
className: clsx_default(
|
|
9319
|
+
className: clsx_default(oP.root, cP.className, s, AN && "MuiInputBase-readOnly"),
|
|
9320
9320
|
children: [
|
|
9321
|
-
|
|
9321
|
+
IN,
|
|
9322
9322
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
9323
9323
|
value: null,
|
|
9324
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
9325
|
-
"aria-invalid":
|
|
9324
|
+
children: (0, import_jsx_runtime.jsx)(lP, {
|
|
9325
|
+
"aria-invalid": JN.error,
|
|
9326
9326
|
"aria-describedby": i,
|
|
9327
9327
|
autoComplete: a,
|
|
9328
9328
|
autoFocus: o,
|
|
9329
9329
|
defaultValue: h,
|
|
9330
|
-
disabled:
|
|
9330
|
+
disabled: JN.disabled,
|
|
9331
9331
|
id: E,
|
|
9332
|
-
onAnimationStart:
|
|
9332
|
+
onAnimationStart: iP,
|
|
9333
9333
|
name: q,
|
|
9334
|
-
placeholder:
|
|
9335
|
-
readOnly:
|
|
9336
|
-
required:
|
|
9337
|
-
rows:
|
|
9338
|
-
value:
|
|
9339
|
-
onKeyDown:
|
|
9340
|
-
onKeyUp:
|
|
9341
|
-
type:
|
|
9342
|
-
...
|
|
9343
|
-
...!isHostComponent_default(
|
|
9344
|
-
as:
|
|
9334
|
+
placeholder: kN,
|
|
9335
|
+
readOnly: AN,
|
|
9336
|
+
required: JN.required,
|
|
9337
|
+
rows: MN,
|
|
9338
|
+
value: BN,
|
|
9339
|
+
onKeyDown: DN,
|
|
9340
|
+
onKeyUp: ON,
|
|
9341
|
+
type: LN,
|
|
9342
|
+
...rP,
|
|
9343
|
+
...!isHostComponent_default(lP) && {
|
|
9344
|
+
as: nP,
|
|
9345
9345
|
ownerState: {
|
|
9346
|
-
...
|
|
9347
|
-
...
|
|
9346
|
+
...aP,
|
|
9347
|
+
...rP.ownerState
|
|
9348
9348
|
}
|
|
9349
9349
|
},
|
|
9350
|
-
ref:
|
|
9351
|
-
className: clsx_default(
|
|
9352
|
-
onBlur:
|
|
9353
|
-
onChange:
|
|
9354
|
-
onFocus:
|
|
9350
|
+
ref: WN,
|
|
9351
|
+
className: clsx_default(oP.input, rP.className, AN && "MuiInputBase-readOnly"),
|
|
9352
|
+
onBlur: $N,
|
|
9353
|
+
onChange: eP,
|
|
9354
|
+
onFocus: QN
|
|
9355
9355
|
})
|
|
9356
9356
|
}),
|
|
9357
9357
|
y,
|
|
9358
|
-
|
|
9359
|
-
...
|
|
9360
|
-
startAdornment:
|
|
9358
|
+
jN ? jN({
|
|
9359
|
+
...JN,
|
|
9360
|
+
startAdornment: IN
|
|
9361
9361
|
}) : null
|
|
9362
9362
|
]
|
|
9363
9363
|
})
|
|
@@ -10433,30 +10433,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10433
10433
|
M,
|
|
10434
10434
|
i,
|
|
10435
10435
|
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
|
-
|
|
10436
|
+
]), 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)), [
|
|
10437
|
+
FN,
|
|
10438
10438
|
a,
|
|
10439
10439
|
i,
|
|
10440
|
-
|
|
10440
|
+
PN,
|
|
10441
10441
|
v,
|
|
10442
10442
|
t
|
|
10443
|
-
]),
|
|
10444
|
-
|
|
10443
|
+
]), 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, [
|
|
10444
|
+
RN,
|
|
10445
10445
|
a,
|
|
10446
|
-
|
|
10446
|
+
MN,
|
|
10447
10447
|
i,
|
|
10448
|
-
|
|
10448
|
+
LN,
|
|
10449
10449
|
v,
|
|
10450
10450
|
t
|
|
10451
|
-
]),
|
|
10452
|
-
|
|
10451
|
+
]), 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, [
|
|
10452
|
+
UN,
|
|
10453
10453
|
n,
|
|
10454
10454
|
t
|
|
10455
|
-
]),
|
|
10455
|
+
]), GN = (0, import_react.useRef)();
|
|
10456
10456
|
(0, import_react.useEffect)(() => {
|
|
10457
|
-
|
|
10457
|
+
GN.current && WN && "animate" in GN.current && GN.current.animate([
|
|
10458
10458
|
{
|
|
10459
|
-
backgroundColor:
|
|
10459
|
+
backgroundColor: ON
|
|
10460
10460
|
},
|
|
10461
10461
|
{
|
|
10462
10462
|
backgroundColor: ""
|
|
@@ -10466,40 +10466,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10466
10466
|
easing: "ease-in"
|
|
10467
10467
|
});
|
|
10468
10468
|
}, [
|
|
10469
|
-
|
|
10470
|
-
|
|
10469
|
+
ON,
|
|
10470
|
+
WN,
|
|
10471
10471
|
n,
|
|
10472
10472
|
t
|
|
10473
10473
|
]);
|
|
10474
|
-
let
|
|
10474
|
+
let KN = (0, import_react.useCallback)((e2) => {
|
|
10475
10475
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
10476
10476
|
}, [
|
|
10477
10477
|
h,
|
|
10478
10478
|
t
|
|
10479
|
-
]),
|
|
10479
|
+
]), qN = (0, import_react.useCallback)(() => {
|
|
10480
10480
|
Q(false), E("");
|
|
10481
10481
|
}, [
|
|
10482
10482
|
Q,
|
|
10483
10483
|
E
|
|
10484
|
-
]),
|
|
10484
|
+
]), JN = (0, import_react.useCallback)((e2) => {
|
|
10485
10485
|
if (Q(false), _) try {
|
|
10486
|
-
|
|
10486
|
+
EN(i, t, _(e2));
|
|
10487
10487
|
} catch {
|
|
10488
10488
|
}
|
|
10489
10489
|
}, [
|
|
10490
10490
|
Q,
|
|
10491
10491
|
_,
|
|
10492
|
-
|
|
10492
|
+
EN,
|
|
10493
10493
|
i,
|
|
10494
10494
|
t
|
|
10495
|
-
]),
|
|
10495
|
+
]), YN = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10496
10496
|
children: [
|
|
10497
10497
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
10498
10498
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
10499
10499
|
sx: {
|
|
10500
10500
|
fontSize: ".8rem"
|
|
10501
10501
|
},
|
|
10502
|
-
onClick:
|
|
10502
|
+
onClick: qN
|
|
10503
10503
|
})
|
|
10504
10504
|
}),
|
|
10505
10505
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -10507,22 +10507,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10507
10507
|
sx: {
|
|
10508
10508
|
fontSize: ".8rem"
|
|
10509
10509
|
},
|
|
10510
|
-
onClick: () =>
|
|
10510
|
+
onClick: () => JN(w)
|
|
10511
10511
|
})
|
|
10512
10512
|
})
|
|
10513
10513
|
]
|
|
10514
10514
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10515
10515
|
children: [
|
|
10516
|
-
|
|
10516
|
+
BN && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10517
10517
|
onClick: (e2) => {
|
|
10518
10518
|
e2.preventDefault();
|
|
10519
10519
|
try {
|
|
10520
|
-
|
|
10520
|
+
VN(i, t, copyString);
|
|
10521
10521
|
} catch (e3) {
|
|
10522
10522
|
console.error(e3);
|
|
10523
10523
|
}
|
|
10524
10524
|
},
|
|
10525
|
-
children:
|
|
10525
|
+
children: HN ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
10526
10526
|
sx: {
|
|
10527
10527
|
fontSize: ".8rem"
|
|
10528
10528
|
}
|
|
@@ -10533,16 +10533,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10533
10533
|
})
|
|
10534
10534
|
}),
|
|
10535
10535
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10536
|
-
onClick:
|
|
10536
|
+
onClick: KN,
|
|
10537
10537
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
10538
10538
|
sx: {
|
|
10539
10539
|
fontSize: ".8rem"
|
|
10540
10540
|
}
|
|
10541
10541
|
})
|
|
10542
10542
|
}),
|
|
10543
|
-
|
|
10543
|
+
IN && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10544
10544
|
onClick: (e2) => {
|
|
10545
|
-
e2.preventDefault(),
|
|
10545
|
+
e2.preventDefault(), FN == null ? void 0 : FN(i);
|
|
10546
10546
|
},
|
|
10547
10547
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
10548
10548
|
sx: {
|
|
@@ -10550,9 +10550,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10550
10550
|
}
|
|
10551
10551
|
})
|
|
10552
10552
|
}),
|
|
10553
|
-
|
|
10553
|
+
zN && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
10554
10554
|
onClick: (e2) => {
|
|
10555
|
-
e2.preventDefault(),
|
|
10555
|
+
e2.preventDefault(), RN == null ? void 0 : RN(i, t);
|
|
10556
10556
|
},
|
|
10557
10557
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
10558
10558
|
sx: {
|
|
@@ -10565,24 +10565,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10565
10565
|
f,
|
|
10566
10566
|
h,
|
|
10567
10567
|
_,
|
|
10568
|
+
HN,
|
|
10568
10569
|
VN,
|
|
10569
|
-
BN,
|
|
10570
10570
|
S,
|
|
10571
10571
|
J,
|
|
10572
|
+
BN,
|
|
10573
|
+
IN,
|
|
10572
10574
|
zN,
|
|
10573
|
-
FN,
|
|
10574
|
-
RN,
|
|
10575
10575
|
w,
|
|
10576
10576
|
i,
|
|
10577
10577
|
t,
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
GN,
|
|
10578
|
+
FN,
|
|
10579
|
+
RN,
|
|
10581
10580
|
KN,
|
|
10582
|
-
qN
|
|
10583
|
-
|
|
10581
|
+
qN,
|
|
10582
|
+
JN
|
|
10583
|
+
]), XN = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
10584
10584
|
t
|
|
10585
|
-
]),
|
|
10585
|
+
]), ZN = !XN && !!(c && d), QN = useJsonViewerStore((e2) => e2.keyRenderer), $N = (0, import_react.useMemo)(() => ({
|
|
10586
10586
|
path: i,
|
|
10587
10587
|
inspect: K,
|
|
10588
10588
|
setInspect: q,
|
|
@@ -10619,13 +10619,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10619
10619
|
opacity: 0.8
|
|
10620
10620
|
},
|
|
10621
10621
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
10622
|
-
e2.isDefaultPrevented() ||
|
|
10622
|
+
e2.isDefaultPrevented() || XN || q((e3) => !e3);
|
|
10623
10623
|
}, [
|
|
10624
|
-
|
|
10624
|
+
XN,
|
|
10625
10625
|
q
|
|
10626
10626
|
]),
|
|
10627
10627
|
children: [
|
|
10628
|
-
|
|
10628
|
+
ZN ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
10629
10629
|
className: "data-key-toggle-expanded",
|
|
10630
10630
|
sx: {
|
|
10631
10631
|
fontSize: ".8rem",
|
|
@@ -10643,27 +10643,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10643
10643
|
}
|
|
10644
10644
|
}) : null,
|
|
10645
10645
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
10646
|
-
ref:
|
|
10646
|
+
ref: GN,
|
|
10647
10647
|
className: "data-key-key",
|
|
10648
10648
|
component: "span",
|
|
10649
|
-
children:
|
|
10649
|
+
children: MN && O === 0 ? jN === false ? null : AN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10650
10650
|
children: [
|
|
10651
10651
|
'"',
|
|
10652
|
-
|
|
10652
|
+
jN,
|
|
10653
10653
|
'"'
|
|
10654
10654
|
]
|
|
10655
10655
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
10656
|
-
children:
|
|
10657
|
-
}) :
|
|
10658
|
-
|
|
10659
|
-
}) : a === void 0 && (
|
|
10656
|
+
children: jN
|
|
10657
|
+
}) : QN.when($N) ? (0, import_jsx_runtime.jsx)(QN, {
|
|
10658
|
+
...$N
|
|
10659
|
+
}) : a === void 0 && (NN ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
10660
10660
|
component: "span",
|
|
10661
10661
|
style: {
|
|
10662
|
-
color:
|
|
10663
|
-
userSelect:
|
|
10662
|
+
color: DN,
|
|
10663
|
+
userSelect: NN ? "none" : "auto"
|
|
10664
10664
|
},
|
|
10665
10665
|
children: A
|
|
10666
|
-
}) :
|
|
10666
|
+
}) : AN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10667
10667
|
children: [
|
|
10668
10668
|
'"',
|
|
10669
10669
|
A,
|
|
@@ -10673,7 +10673,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10673
10673
|
children: A
|
|
10674
10674
|
}))
|
|
10675
10675
|
}),
|
|
10676
|
-
|
|
10676
|
+
MN ? jN !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
10677
10677
|
className: "data-key-colon",
|
|
10678
10678
|
sx: {
|
|
10679
10679
|
mr: 0.5
|
|
@@ -10686,38 +10686,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
10686
10686
|
".data-key-key:empty + &": {
|
|
10687
10687
|
display: "none"
|
|
10688
10688
|
},
|
|
10689
|
-
userSelect:
|
|
10689
|
+
userSelect: NN ? "none" : "auto"
|
|
10690
10690
|
},
|
|
10691
10691
|
children: ":"
|
|
10692
10692
|
}),
|
|
10693
10693
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
10694
|
-
|
|
10694
|
+
...$N
|
|
10695
10695
|
}),
|
|
10696
|
-
I &&
|
|
10696
|
+
I && ZN && K && YN
|
|
10697
10697
|
]
|
|
10698
10698
|
}),
|
|
10699
10699
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
10700
10700
|
path: i,
|
|
10701
10701
|
value: w,
|
|
10702
10702
|
setValue: E,
|
|
10703
|
-
abortEditing:
|
|
10704
|
-
commitEditing:
|
|
10703
|
+
abortEditing: qN,
|
|
10704
|
+
commitEditing: JN
|
|
10705
10705
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
10706
|
-
|
|
10706
|
+
...$N
|
|
10707
10707
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
10708
10708
|
component: "span",
|
|
10709
10709
|
className: "data-value-fallback",
|
|
10710
10710
|
children: `fallback: ${t}`
|
|
10711
10711
|
}),
|
|
10712
10712
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
10713
|
-
|
|
10713
|
+
...$N
|
|
10714
10714
|
}),
|
|
10715
|
-
!o &&
|
|
10715
|
+
!o && kN && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
10716
10716
|
children: ","
|
|
10717
10717
|
}),
|
|
10718
|
-
I &&
|
|
10719
|
-
I && !
|
|
10720
|
-
!I && J &&
|
|
10718
|
+
I && ZN && !K && YN,
|
|
10719
|
+
I && !ZN && YN,
|
|
10720
|
+
!I && J && YN
|
|
10721
10721
|
]
|
|
10722
10722
|
});
|
|
10723
10723
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -11558,18 +11558,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11558
11558
|
}
|
|
11559
11559
|
let _, v, y, S, w, E;
|
|
11560
11560
|
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 ?
|
|
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), EN = n.filter(_temp16), $ = n.filter(_temp17), DN;
|
|
11562
|
+
t[15] === s ? DN = t[16] : (DN = () => {
|
|
11563
11563
|
s.openApplication("scratchpad");
|
|
11564
|
-
}, t[15] = s, t[16] =
|
|
11565
|
-
let
|
|
11564
|
+
}, t[15] = s, t[16] = DN);
|
|
11565
|
+
let ON = DN, kN = () => {
|
|
11566
11566
|
let t2 = [];
|
|
11567
|
-
if (Q.length > 0 ||
|
|
11567
|
+
if (Q.length > 0 || EN.length > 0) {
|
|
11568
11568
|
let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
|
|
11569
11569
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
11570
11570
|
children: [
|
|
11571
11571
|
Q.map(_temp20),
|
|
11572
|
-
|
|
11572
|
+
EN.map(_temp21),
|
|
11573
11573
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
11574
11574
|
size: "xs",
|
|
11575
11575
|
variant: "outline",
|
|
@@ -11601,7 +11601,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11601
11601
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
11602
11602
|
errors: [
|
|
11603
11603
|
...Q,
|
|
11604
|
-
...
|
|
11604
|
+
...EN
|
|
11605
11605
|
],
|
|
11606
11606
|
cellId: i
|
|
11607
11607
|
})
|
|
@@ -11762,7 +11762,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11762
11762
|
size: "xs",
|
|
11763
11763
|
variant: "link",
|
|
11764
11764
|
className: "my-2 font-normal mx-0 px-0",
|
|
11765
|
-
onClick:
|
|
11765
|
+
onClick: ON,
|
|
11766
11766
|
children: [
|
|
11767
11767
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
11768
11768
|
className: "h-3"
|
|
@@ -11887,13 +11887,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
11887
11887
|
})
|
|
11888
11888
|
]
|
|
11889
11889
|
}, "sql-errors")), t2;
|
|
11890
|
-
},
|
|
11891
|
-
t[17] !==
|
|
11892
|
-
className:
|
|
11890
|
+
}, AN = `font-code font-medium tracking-wide ${h}`, jN;
|
|
11891
|
+
t[17] !== AN || t[18] !== c ? (jN = (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
11892
|
+
className: AN,
|
|
11893
11893
|
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 =
|
|
11894
|
+
}), t[17] = AN, t[18] = c, t[19] = jN) : jN = t[19];
|
|
11895
|
+
let MN = jN;
|
|
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 = 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
11897
|
} else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
|
|
11898
11898
|
let O;
|
|
11899
11899
|
t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -12344,7 +12344,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12344
12344
|
]
|
|
12345
12345
|
};
|
|
12346
12346
|
}
|
|
12347
|
-
LazyVegaEmbed = import_react.lazy(() => import("./react-vega-
|
|
12347
|
+
LazyVegaEmbed = import_react.lazy(() => import("./react-vega-Cavbrg4l.js").then((e) => ({
|
|
12348
12348
|
default: e.VegaEmbed
|
|
12349
12349
|
})));
|
|
12350
12350
|
var import_compiler_runtime$37 = require_compiler_runtime();
|
|
@@ -12880,7 +12880,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12880
12880
|
}, [
|
|
12881
12881
|
h
|
|
12882
12882
|
]), k(() => {
|
|
12883
|
-
U(6,
|
|
12883
|
+
U(6, DN);
|
|
12884
12884
|
}, []);
|
|
12885
12885
|
let K = import_react.useMemo(() => ({
|
|
12886
12886
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -12889,7 +12889,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12889
12889
|
var _a2;
|
|
12890
12890
|
var a2, o2, s2;
|
|
12891
12891
|
if (!Object.is(n.current[e2], t2)) {
|
|
12892
|
-
if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1,
|
|
12892
|
+
if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, EN);
|
|
12893
12893
|
else if (e2 === "value") {
|
|
12894
12894
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
12895
12895
|
let e3 = document.getElementById(I);
|
|
@@ -12897,8 +12897,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12897
12897
|
}
|
|
12898
12898
|
if (U(7, () => {
|
|
12899
12899
|
var _a3;
|
|
12900
|
-
n.current.selectedItemId = (_a3 =
|
|
12901
|
-
}), i2 || U(5,
|
|
12900
|
+
n.current.selectedItemId = (_a3 = ON()) == null ? void 0 : _a3.id, K.emit();
|
|
12901
|
+
}), i2 || U(5, DN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
12902
12902
|
let e3 = t2 ?? "";
|
|
12903
12903
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
12904
12904
|
return;
|
|
@@ -12923,12 +12923,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12923
12923
|
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
12924
|
e2
|
|
12925
12925
|
]))), U(3, () => {
|
|
12926
|
-
$(), Q(), n.current.value ||
|
|
12926
|
+
$(), Q(), n.current.value || EN(), K.emit();
|
|
12927
12927
|
}), () => {
|
|
12928
12928
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
12929
|
-
let t3 =
|
|
12929
|
+
let t3 = ON();
|
|
12930
12930
|
U(4, () => {
|
|
12931
|
-
$(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 &&
|
|
12931
|
+
$(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && EN(), K.emit();
|
|
12932
12932
|
});
|
|
12933
12933
|
}),
|
|
12934
12934
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -12961,7 +12961,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12961
12961
|
]);
|
|
12962
12962
|
});
|
|
12963
12963
|
let i2 = z.current;
|
|
12964
|
-
|
|
12964
|
+
kN().sort((t3, n2) => {
|
|
12965
12965
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
12966
12966
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
12967
12967
|
}).forEach((e3) => {
|
|
@@ -12973,9 +12973,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12973
12973
|
t3 == null ? void 0 : t3.parentElement.appendChild(t3);
|
|
12974
12974
|
});
|
|
12975
12975
|
}
|
|
12976
|
-
function
|
|
12976
|
+
function EN() {
|
|
12977
12977
|
var _a2;
|
|
12978
|
-
let e2 = (_a2 =
|
|
12978
|
+
let e2 = (_a2 = kN().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
12979
12979
|
K.setState("value", e2 || void 0);
|
|
12980
12980
|
}
|
|
12981
12981
|
function $() {
|
|
@@ -12996,43 +12996,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
12996
12996
|
}
|
|
12997
12997
|
n.current.filtered.count = e2;
|
|
12998
12998
|
}
|
|
12999
|
-
function
|
|
12999
|
+
function DN() {
|
|
13000
13000
|
var _a2, _b;
|
|
13001
13001
|
var e2;
|
|
13002
|
-
let t2 =
|
|
13002
|
+
let t2 = ON();
|
|
13003
13003
|
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
13004
|
block: "nearest"
|
|
13005
13005
|
})), t2.scrollIntoView({
|
|
13006
13006
|
block: "nearest"
|
|
13007
13007
|
}));
|
|
13008
13008
|
}
|
|
13009
|
-
function
|
|
13009
|
+
function ON() {
|
|
13010
13010
|
var _a2;
|
|
13011
13011
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
13012
13012
|
}
|
|
13013
|
-
function
|
|
13013
|
+
function kN() {
|
|
13014
13014
|
var _a2;
|
|
13015
13015
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
13016
13016
|
}
|
|
13017
|
-
function
|
|
13018
|
-
let t2 =
|
|
13017
|
+
function AN(e2) {
|
|
13018
|
+
let t2 = kN()[e2];
|
|
13019
13019
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
13020
13020
|
}
|
|
13021
|
-
function
|
|
13021
|
+
function jN(e2) {
|
|
13022
13022
|
var t2;
|
|
13023
|
-
let n2 =
|
|
13023
|
+
let n2 = ON(), i2 = kN(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
13024
13024
|
(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
13025
|
}
|
|
13026
|
-
function
|
|
13026
|
+
function MN(e2) {
|
|
13027
13027
|
var _a2;
|
|
13028
|
-
let t2 = (_a2 =
|
|
13028
|
+
let t2 = (_a2 = ON()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
13029
13029
|
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)) :
|
|
13030
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : jN(e2);
|
|
13031
13031
|
}
|
|
13032
|
-
let
|
|
13033
|
-
e2.preventDefault(), e2.metaKey ?
|
|
13034
|
-
},
|
|
13035
|
-
e2.preventDefault(), e2.metaKey ?
|
|
13032
|
+
let NN = () => AN(kN().length - 1), PN = (e2) => {
|
|
13033
|
+
e2.preventDefault(), e2.metaKey ? NN() : e2.altKey ? MN(1) : jN(1);
|
|
13034
|
+
}, FN = (e2) => {
|
|
13035
|
+
e2.preventDefault(), e2.metaKey ? AN(0) : e2.altKey ? MN(-1) : jN(-1);
|
|
13036
13036
|
};
|
|
13037
13037
|
return import_react.createElement(Primitive.div, {
|
|
13038
13038
|
ref: t,
|
|
@@ -13046,27 +13046,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
13046
13046
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
13047
13047
|
case "n":
|
|
13048
13048
|
case "j":
|
|
13049
|
-
E && e2.ctrlKey &&
|
|
13049
|
+
E && e2.ctrlKey && PN(e2);
|
|
13050
13050
|
break;
|
|
13051
13051
|
case "ArrowDown":
|
|
13052
|
-
|
|
13052
|
+
PN(e2);
|
|
13053
13053
|
break;
|
|
13054
13054
|
case "p":
|
|
13055
13055
|
case "k":
|
|
13056
|
-
E && e2.ctrlKey &&
|
|
13056
|
+
E && e2.ctrlKey && FN(e2);
|
|
13057
13057
|
break;
|
|
13058
13058
|
case "ArrowUp":
|
|
13059
|
-
|
|
13059
|
+
FN(e2);
|
|
13060
13060
|
break;
|
|
13061
13061
|
case "Home":
|
|
13062
|
-
e2.preventDefault(),
|
|
13062
|
+
e2.preventDefault(), AN(0);
|
|
13063
13063
|
break;
|
|
13064
13064
|
case "End":
|
|
13065
|
-
e2.preventDefault(),
|
|
13065
|
+
e2.preventDefault(), NN();
|
|
13066
13066
|
break;
|
|
13067
13067
|
case "Enter": {
|
|
13068
13068
|
e2.preventDefault();
|
|
13069
|
-
let t3 =
|
|
13069
|
+
let t3 = ON();
|
|
13070
13070
|
if (t3) {
|
|
13071
13071
|
let e3 = new Event(Z);
|
|
13072
13072
|
t3.dispatchEvent(e3);
|
|
@@ -19056,7 +19056,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19056
19056
|
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
19057
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
19058
19058
|
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,
|
|
19059
|
+
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
19060
|
callbacks: {
|
|
19061
19061
|
onCollapse: f,
|
|
19062
19062
|
onExpand: h,
|
|
@@ -19069,7 +19069,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19069
19069
|
maxSize: c,
|
|
19070
19070
|
minSize: d
|
|
19071
19071
|
},
|
|
19072
|
-
id:
|
|
19072
|
+
id: EN,
|
|
19073
19073
|
idIsFromProps: s !== void 0,
|
|
19074
19074
|
order: v
|
|
19075
19075
|
});
|
|
@@ -19079,7 +19079,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19079
19079
|
let { callbacks: e2, constraints: t2 } = $.current, o2 = {
|
|
19080
19080
|
...t2
|
|
19081
19081
|
};
|
|
19082
|
-
$.current.id =
|
|
19082
|
+
$.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
19083
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
19084
19084
|
let e2 = $.current;
|
|
19085
19085
|
return q(e2), () => {
|
|
@@ -19087,7 +19087,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19087
19087
|
};
|
|
19088
19088
|
}, [
|
|
19089
19089
|
v,
|
|
19090
|
-
|
|
19090
|
+
EN,
|
|
19091
19091
|
q,
|
|
19092
19092
|
Q
|
|
19093
19093
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
@@ -19098,7 +19098,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19098
19098
|
A($.current, e2);
|
|
19099
19099
|
},
|
|
19100
19100
|
getId() {
|
|
19101
|
-
return
|
|
19101
|
+
return EN;
|
|
19102
19102
|
},
|
|
19103
19103
|
getSize() {
|
|
19104
19104
|
return M($.current);
|
|
@@ -19117,24 +19117,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19117
19117
|
A,
|
|
19118
19118
|
M,
|
|
19119
19119
|
U,
|
|
19120
|
-
|
|
19120
|
+
EN,
|
|
19121
19121
|
J
|
|
19122
19122
|
]);
|
|
19123
|
-
let
|
|
19123
|
+
let DN = I($.current, a);
|
|
19124
19124
|
return (0, import_react.createElement)(S, {
|
|
19125
19125
|
...w,
|
|
19126
19126
|
children: e,
|
|
19127
19127
|
className: t,
|
|
19128
|
-
id:
|
|
19128
|
+
id: EN,
|
|
19129
19129
|
style: {
|
|
19130
|
-
...
|
|
19130
|
+
...DN,
|
|
19131
19131
|
...y
|
|
19132
19132
|
},
|
|
19133
19133
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
19134
19134
|
[DATA_ATTRIBUTES.panel]: "",
|
|
19135
19135
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
19136
|
-
[DATA_ATTRIBUTES.panelId]:
|
|
19137
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
19136
|
+
[DATA_ATTRIBUTES.panelId]: EN,
|
|
19137
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + DN.flexGrow).toFixed(1)
|
|
19138
19138
|
});
|
|
19139
19139
|
}
|
|
19140
19140
|
var Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -19907,7 +19907,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19907
19907
|
}, []), Q = (0, import_react.useCallback)((e2) => {
|
|
19908
19908
|
let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
|
|
19909
19909
|
return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
|
|
19910
|
-
}, []),
|
|
19910
|
+
}, []), EN = (0, import_react.useCallback)((e2, t2) => {
|
|
19911
19911
|
let { panelDataArray: n2 } = K.current;
|
|
19912
19912
|
return computePanelFlexBoxStyle({
|
|
19913
19913
|
defaultSize: t2,
|
|
@@ -19922,10 +19922,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19922
19922
|
]), $ = (0, import_react.useCallback)((e2) => {
|
|
19923
19923
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
19924
19924
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
19925
|
-
}, []),
|
|
19925
|
+
}, []), DN = (0, import_react.useCallback)((e2) => {
|
|
19926
19926
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
19927
19927
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
19928
|
-
}, []),
|
|
19928
|
+
}, []), ON = (0, import_react.useCallback)((e2) => {
|
|
19929
19929
|
let { panelDataArray: t2 } = K.current;
|
|
19930
19930
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
19931
19931
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -19957,7 +19957,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19957
19957
|
e2.layout = [];
|
|
19958
19958
|
};
|
|
19959
19959
|
}, []);
|
|
19960
|
-
let
|
|
19960
|
+
let kN = (0, import_react.useCallback)((e2) => {
|
|
19961
19961
|
let t2 = false, n2 = y.current;
|
|
19962
19962
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
19963
19963
|
n3.preventDefault();
|
|
@@ -19975,7 +19975,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19975
19975
|
}), I2 = !compareLayouts(f2, A2);
|
|
19976
19976
|
(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
19977
|
};
|
|
19978
|
-
}, []),
|
|
19978
|
+
}, []), AN = (0, import_react.useCallback)((e2, t2) => {
|
|
19979
19979
|
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
19980
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
19981
19981
|
let d2 = adjustLayoutByDelta({
|
|
@@ -19987,12 +19987,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19987
19987
|
trigger: "imperative-api"
|
|
19988
19988
|
});
|
|
19989
19989
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
19990
|
-
}, []),
|
|
19990
|
+
}, []), jN = (0, import_react.useCallback)((e2, t2) => {
|
|
19991
19991
|
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) ||
|
|
19992
|
+
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
19993
|
}, [
|
|
19994
|
-
|
|
19995
|
-
]),
|
|
19994
|
+
AN
|
|
19995
|
+
]), MN = (0, import_react.useCallback)((e2, t2) => {
|
|
19996
19996
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
19997
19997
|
if (!y.current) return;
|
|
19998
19998
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -20004,30 +20004,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20004
20004
|
initialCursorPosition: o2,
|
|
20005
20005
|
initialLayout: i2
|
|
20006
20006
|
});
|
|
20007
|
-
}, []),
|
|
20007
|
+
}, []), NN = (0, import_react.useCallback)(() => {
|
|
20008
20008
|
w(null);
|
|
20009
|
-
}, []),
|
|
20009
|
+
}, []), PN = (0, import_react.useCallback)((e2) => {
|
|
20010
20010
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
20011
20011
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
20012
20012
|
}, [
|
|
20013
20013
|
A
|
|
20014
|
-
]),
|
|
20014
|
+
]), FN = (0, import_react.useMemo)(() => ({
|
|
20015
20015
|
collapsePanel: q,
|
|
20016
20016
|
direction: i,
|
|
20017
20017
|
dragState: S,
|
|
20018
20018
|
expandPanel: J,
|
|
20019
20019
|
getPanelSize: Q,
|
|
20020
|
-
getPanelStyle:
|
|
20020
|
+
getPanelStyle: EN,
|
|
20021
20021
|
groupId: v,
|
|
20022
20022
|
isPanelCollapsed: $,
|
|
20023
|
-
isPanelExpanded:
|
|
20024
|
-
reevaluatePanelConstraints:
|
|
20025
|
-
registerPanel:
|
|
20026
|
-
registerResizeHandle:
|
|
20027
|
-
resizePanel:
|
|
20028
|
-
startDragging:
|
|
20029
|
-
stopDragging:
|
|
20030
|
-
unregisterPanel:
|
|
20023
|
+
isPanelExpanded: DN,
|
|
20024
|
+
reevaluatePanelConstraints: jN,
|
|
20025
|
+
registerPanel: ON,
|
|
20026
|
+
registerResizeHandle: kN,
|
|
20027
|
+
resizePanel: AN,
|
|
20028
|
+
startDragging: MN,
|
|
20029
|
+
stopDragging: NN,
|
|
20030
|
+
unregisterPanel: PN,
|
|
20031
20031
|
panelGroupElement: y.current
|
|
20032
20032
|
}), [
|
|
20033
20033
|
q,
|
|
@@ -20035,18 +20035,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20035
20035
|
i,
|
|
20036
20036
|
J,
|
|
20037
20037
|
Q,
|
|
20038
|
-
|
|
20038
|
+
EN,
|
|
20039
20039
|
v,
|
|
20040
20040
|
$,
|
|
20041
|
-
EN,
|
|
20042
|
-
AN,
|
|
20043
20041
|
DN,
|
|
20042
|
+
jN,
|
|
20044
20043
|
ON,
|
|
20045
20044
|
kN,
|
|
20046
|
-
|
|
20045
|
+
AN,
|
|
20047
20046
|
MN,
|
|
20048
|
-
NN
|
|
20049
|
-
|
|
20047
|
+
NN,
|
|
20048
|
+
PN
|
|
20049
|
+
]), IN = {
|
|
20050
20050
|
display: "flex",
|
|
20051
20051
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
20052
20052
|
height: "100%",
|
|
@@ -20054,7 +20054,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20054
20054
|
width: "100%"
|
|
20055
20055
|
};
|
|
20056
20056
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
20057
|
-
value:
|
|
20057
|
+
value: FN
|
|
20058
20058
|
}, (0, import_react.createElement)(h, {
|
|
20059
20059
|
..._,
|
|
20060
20060
|
children: t,
|
|
@@ -20062,7 +20062,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20062
20062
|
id: o,
|
|
20063
20063
|
ref: y,
|
|
20064
20064
|
style: {
|
|
20065
|
-
...
|
|
20065
|
+
...IN,
|
|
20066
20066
|
...f
|
|
20067
20067
|
},
|
|
20068
20068
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -20139,31 +20139,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20139
20139
|
});
|
|
20140
20140
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
20141
20141
|
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"), [
|
|
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"), [EN, $] = (0, import_react.useState)(false), [DN, ON] = (0, import_react.useState)(null), kN = (0, import_react.useRef)({
|
|
20143
20143
|
state: J
|
|
20144
20144
|
});
|
|
20145
20145
|
useIsomorphicLayoutEffect$1(() => {
|
|
20146
|
-
|
|
20146
|
+
kN.current.state = J;
|
|
20147
20147
|
}), (0, import_react.useEffect)(() => {
|
|
20148
|
-
if (n)
|
|
20148
|
+
if (n) ON(null);
|
|
20149
20149
|
else {
|
|
20150
20150
|
let e2 = I(q);
|
|
20151
|
-
|
|
20151
|
+
ON(() => e2);
|
|
20152
20152
|
}
|
|
20153
20153
|
}, [
|
|
20154
20154
|
n,
|
|
20155
20155
|
q,
|
|
20156
20156
|
I
|
|
20157
20157
|
]);
|
|
20158
|
-
let
|
|
20158
|
+
let AN = (i == null ? void 0 : i.coarse) ?? 15, jN = (i == null ? void 0 : i.fine) ?? 5;
|
|
20159
20159
|
(0, import_react.useEffect)(() => {
|
|
20160
|
-
if (n ||
|
|
20160
|
+
if (n || DN == null) return;
|
|
20161
20161
|
let e2 = w.current;
|
|
20162
20162
|
assert(e2, "Element ref not attached");
|
|
20163
20163
|
let t2 = false;
|
|
20164
20164
|
return registerResizeHandle(q, e2, A, {
|
|
20165
|
-
coarse:
|
|
20166
|
-
fine:
|
|
20165
|
+
coarse: AN,
|
|
20166
|
+
fine: jN
|
|
20167
20167
|
}, (e3, n2, i2) => {
|
|
20168
20168
|
if (!n2) {
|
|
20169
20169
|
Q("inactive");
|
|
@@ -20177,8 +20177,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20177
20177
|
break;
|
|
20178
20178
|
}
|
|
20179
20179
|
case "move": {
|
|
20180
|
-
let { state: e4 } =
|
|
20181
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
20180
|
+
let { state: e4 } = kN.current;
|
|
20181
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), DN(i2);
|
|
20182
20182
|
break;
|
|
20183
20183
|
}
|
|
20184
20184
|
case "up": {
|
|
@@ -20190,22 +20190,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20190
20190
|
}
|
|
20191
20191
|
});
|
|
20192
20192
|
}, [
|
|
20193
|
-
|
|
20193
|
+
AN,
|
|
20194
20194
|
A,
|
|
20195
20195
|
n,
|
|
20196
|
-
|
|
20196
|
+
jN,
|
|
20197
20197
|
I,
|
|
20198
20198
|
q,
|
|
20199
|
-
|
|
20199
|
+
DN,
|
|
20200
20200
|
z,
|
|
20201
20201
|
U
|
|
20202
20202
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
20203
20203
|
disabled: n,
|
|
20204
20204
|
handleId: q,
|
|
20205
|
-
resizeHandler:
|
|
20205
|
+
resizeHandler: DN,
|
|
20206
20206
|
panelGroupElement: K
|
|
20207
20207
|
});
|
|
20208
|
-
let
|
|
20208
|
+
let MN = {
|
|
20209
20209
|
touchAction: "none",
|
|
20210
20210
|
userSelect: "none"
|
|
20211
20211
|
};
|
|
@@ -20223,14 +20223,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20223
20223
|
ref: w,
|
|
20224
20224
|
role: "separator",
|
|
20225
20225
|
style: {
|
|
20226
|
-
...
|
|
20226
|
+
...MN,
|
|
20227
20227
|
..._
|
|
20228
20228
|
},
|
|
20229
20229
|
tabIndex: v,
|
|
20230
20230
|
[DATA_ATTRIBUTES.groupDirection]: A,
|
|
20231
20231
|
[DATA_ATTRIBUTES.groupId]: M,
|
|
20232
20232
|
[DATA_ATTRIBUTES.resizeHandle]: "",
|
|
20233
|
-
[DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" :
|
|
20233
|
+
[DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : EN ? "keyboard" : void 0,
|
|
20234
20234
|
[DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
|
|
20235
20235
|
[DATA_ATTRIBUTES.resizeHandleId]: q,
|
|
20236
20236
|
[DATA_ATTRIBUTES.resizeHandleState]: J
|
|
@@ -20397,147 +20397,147 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20397
20397
|
Combobox = (e) => {
|
|
20398
20398
|
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
20399
|
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] !==
|
|
20400
|
+
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;
|
|
20401
|
+
t[23] !== v || t[24] !== w || t[25] !== ON ? (kN = {
|
|
20402
20402
|
prop: w,
|
|
20403
|
-
defaultProp:
|
|
20403
|
+
defaultProp: ON,
|
|
20404
20404
|
onChange: v
|
|
20405
|
-
}, t[23] = v, t[24] = w, t[25] =
|
|
20406
|
-
let [
|
|
20407
|
-
t[27] === S ?
|
|
20405
|
+
}, t[23] = v, t[24] = w, t[25] = ON, t[26] = kN) : kN = t[26];
|
|
20406
|
+
let [AN, jN] = useControllableState(kN), MN = AN === void 0 ? false : AN, NN;
|
|
20407
|
+
t[27] === S ? NN = t[28] : (NN = (e2) => {
|
|
20408
20408
|
S == null ? void 0 : S(e2);
|
|
20409
|
-
}, t[27] = S, t[28] =
|
|
20410
|
-
let
|
|
20411
|
-
t[29] !== c || t[30] !==
|
|
20409
|
+
}, t[27] = S, t[28] = NN);
|
|
20410
|
+
let PN;
|
|
20411
|
+
t[29] !== c || t[30] !== NN || t[31] !== q ? (PN = {
|
|
20412
20412
|
prop: q,
|
|
20413
20413
|
defaultProp: c,
|
|
20414
|
-
onChange:
|
|
20415
|
-
}, t[29] = c, t[30] =
|
|
20416
|
-
let [
|
|
20417
|
-
t[33] ===
|
|
20418
|
-
let
|
|
20419
|
-
t[35] !== _ || t[36] !== J || t[37] !==
|
|
20414
|
+
onChange: NN
|
|
20415
|
+
}, t[29] = c, t[30] = NN, t[31] = q, t[32] = PN) : PN = t[32];
|
|
20416
|
+
let [IN, LN] = useControllableState(PN), RN;
|
|
20417
|
+
t[33] === IN ? RN = t[34] : (RN = (e2) => Array.isArray(IN) ? IN.includes(e2) : IN === e2, t[33] = IN, t[34] = RN);
|
|
20418
|
+
let zN = RN, BN;
|
|
20419
|
+
t[35] !== _ || t[36] !== J || t[37] !== jN || t[38] !== LN || t[39] !== IN ? (BN = (e2) => {
|
|
20420
20420
|
let t2 = e2;
|
|
20421
|
-
if (J) if (Array.isArray(
|
|
20422
|
-
let n2 =
|
|
20421
|
+
if (J) if (Array.isArray(IN)) if (IN.includes(t2)) {
|
|
20422
|
+
let n2 = IN.filter((t3) => t3 !== e2);
|
|
20423
20423
|
t2 = n2.length > 0 ? n2 : [];
|
|
20424
20424
|
} else t2 = [
|
|
20425
|
-
...
|
|
20425
|
+
...IN,
|
|
20426
20426
|
t2
|
|
20427
20427
|
];
|
|
20428
20428
|
else t2 = [
|
|
20429
20429
|
t2
|
|
20430
20430
|
];
|
|
20431
|
-
else
|
|
20432
|
-
|
|
20433
|
-
}, t[35] = _, t[36] = J, t[37] =
|
|
20434
|
-
let
|
|
20435
|
-
t[41] !==
|
|
20436
|
-
let
|
|
20437
|
-
t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
20438
|
-
let WN;
|
|
20439
|
-
t[48] === o ? WN = t[49] : (WN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = WN);
|
|
20431
|
+
else IN === e2 && (t2 = null);
|
|
20432
|
+
LN(t2), (_ ?? J) || jN(false);
|
|
20433
|
+
}, t[35] = _, t[36] = J, t[37] = jN, t[38] = LN, t[39] = IN, t[40] = BN) : BN = t[40];
|
|
20434
|
+
let VN = BN, HN;
|
|
20435
|
+
t[41] !== DN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== IN ? (HN = () => J && DN && E ? E : IN == null ? E ?? "--" : Array.isArray(IN) ? IN.length === 0 ? E ?? "--" : IN.length === 1 && d !== void 0 ? d(IN[0]) : `${IN.length} selected` : d === void 0 ? E ?? "--" : d(IN), t[41] = DN, t[42] = d, t[43] = J, t[44] = E, t[45] = IN, t[46] = HN) : HN = t[46];
|
|
20436
|
+
let UN = HN, WN;
|
|
20437
|
+
t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WN = cn("relative"), t[47] = WN) : WN = t[47];
|
|
20440
20438
|
let GN;
|
|
20441
|
-
t[
|
|
20439
|
+
t[48] === o ? GN = t[49] : (GN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = GN);
|
|
20442
20440
|
let KN;
|
|
20443
|
-
t[
|
|
20441
|
+
t[50] === UN ? KN = t[51] : (KN = UN(), t[50] = UN, t[51] = KN);
|
|
20442
|
+
let qN;
|
|
20443
|
+
t[52] === KN ? qN = t[53] : (qN = (0, import_jsx_runtime.jsx)("span", {
|
|
20444
20444
|
className: "truncate flex-1 min-w-0",
|
|
20445
|
-
children:
|
|
20446
|
-
}), t[52] =
|
|
20447
|
-
let JN;
|
|
20448
|
-
t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (JN = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
20449
|
-
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
20450
|
-
}), t[54] = JN) : JN = t[54];
|
|
20445
|
+
children: KN
|
|
20446
|
+
}), t[52] = KN, t[53] = qN);
|
|
20451
20447
|
let YN;
|
|
20452
|
-
t[
|
|
20448
|
+
t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (YN = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
20449
|
+
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
20450
|
+
}), t[54] = YN) : YN = t[54];
|
|
20451
|
+
let XN;
|
|
20452
|
+
t[55] !== h || t[56] !== MN || t[57] !== GN || t[58] !== qN ? (XN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
20453
20453
|
asChild: true,
|
|
20454
20454
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
20455
20455
|
id: h,
|
|
20456
|
-
className:
|
|
20457
|
-
"aria-expanded":
|
|
20456
|
+
className: GN,
|
|
20457
|
+
"aria-expanded": MN,
|
|
20458
20458
|
children: [
|
|
20459
|
-
|
|
20460
|
-
|
|
20459
|
+
qN,
|
|
20460
|
+
YN
|
|
20461
20461
|
]
|
|
20462
20462
|
})
|
|
20463
|
-
}), t[55] = h, t[56] =
|
|
20464
|
-
let
|
|
20465
|
-
t[60] !==
|
|
20466
|
-
placeholder:
|
|
20463
|
+
}), t[55] = h, t[56] = MN, t[57] = GN, t[58] = qN, t[59] = XN) : XN = t[59];
|
|
20464
|
+
let QN;
|
|
20465
|
+
t[60] !== EN || t[61] !== y || t[62] !== A ? (QN = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
20466
|
+
placeholder: EN,
|
|
20467
20467
|
rootClassName: "px-1 h-8",
|
|
20468
20468
|
autoFocus: true,
|
|
20469
20469
|
value: A,
|
|
20470
20470
|
onValueChange: y
|
|
20471
|
-
}), t[60] =
|
|
20472
|
-
let QN;
|
|
20473
|
-
t[64] === $ ? QN = t[65] : (QN = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
20474
|
-
children: $
|
|
20475
|
-
}), t[64] = $, t[65] = QN);
|
|
20471
|
+
}), t[60] = EN, t[61] = y, t[62] = A, t[63] = QN) : QN = t[63];
|
|
20476
20472
|
let $N;
|
|
20477
|
-
t[
|
|
20478
|
-
|
|
20479
|
-
|
|
20480
|
-
}, t[66] = BN, t[67] = RN, t[68] = $N) : $N = t[68];
|
|
20473
|
+
t[64] === $ ? $N = t[65] : ($N = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
20474
|
+
children: $
|
|
20475
|
+
}), t[64] = $, t[65] = $N);
|
|
20481
20476
|
let eP;
|
|
20482
|
-
t[
|
|
20483
|
-
|
|
20484
|
-
|
|
20485
|
-
}
|
|
20477
|
+
t[66] !== VN || t[67] !== zN ? (eP = {
|
|
20478
|
+
isSelected: zN,
|
|
20479
|
+
onSelect: VN
|
|
20480
|
+
}, t[66] = VN, t[67] = zN, t[68] = eP) : eP = t[68];
|
|
20486
20481
|
let tP;
|
|
20487
|
-
t[
|
|
20482
|
+
t[69] !== n || t[70] !== eP ? (tP = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
20483
|
+
value: eP,
|
|
20484
|
+
children: n
|
|
20485
|
+
}), t[69] = n, t[70] = eP, t[71] = tP) : tP = t[71];
|
|
20486
|
+
let nP;
|
|
20487
|
+
t[72] !== $N || t[73] !== tP ? (nP = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
20488
20488
|
className: "max-h-60 py-.5",
|
|
20489
20489
|
children: [
|
|
20490
|
-
|
|
20491
|
-
|
|
20490
|
+
$N,
|
|
20491
|
+
tP
|
|
20492
20492
|
]
|
|
20493
|
-
}), t[72] =
|
|
20494
|
-
let
|
|
20495
|
-
t[75] !== f || t[76] !== Q || t[77] !==
|
|
20493
|
+
}), t[72] = $N, t[73] = tP, t[74] = nP) : nP = t[74];
|
|
20494
|
+
let rP;
|
|
20495
|
+
t[75] !== f || t[76] !== Q || t[77] !== QN || t[78] !== nP ? (rP = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
20496
20496
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
20497
20497
|
align: "start",
|
|
20498
20498
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
20499
20499
|
filter: f,
|
|
20500
20500
|
shouldFilter: Q,
|
|
20501
20501
|
children: [
|
|
20502
|
-
|
|
20503
|
-
|
|
20502
|
+
QN,
|
|
20503
|
+
nP
|
|
20504
20504
|
]
|
|
20505
20505
|
})
|
|
20506
|
-
}), t[75] = f, t[76] = Q, t[77] =
|
|
20507
|
-
let
|
|
20508
|
-
t[80] !==
|
|
20509
|
-
open:
|
|
20510
|
-
onOpenChange:
|
|
20506
|
+
}), t[75] = f, t[76] = Q, t[77] = QN, t[78] = nP, t[79] = rP) : rP = t[79];
|
|
20507
|
+
let iP;
|
|
20508
|
+
t[80] !== MN || t[81] !== jN || t[82] !== XN || t[83] !== rP ? (iP = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
20509
|
+
open: MN,
|
|
20510
|
+
onOpenChange: jN,
|
|
20511
20511
|
children: [
|
|
20512
|
-
|
|
20513
|
-
|
|
20512
|
+
XN,
|
|
20513
|
+
rP
|
|
20514
20514
|
]
|
|
20515
|
-
}), t[80] =
|
|
20516
|
-
let
|
|
20517
|
-
t[85] !==
|
|
20515
|
+
}), t[80] = MN, t[81] = jN, t[82] = XN, t[83] = rP, t[84] = iP) : iP = t[84];
|
|
20516
|
+
let aP;
|
|
20517
|
+
t[85] !== DN || t[86] !== i || t[87] !== d || t[88] !== VN || t[89] !== J || t[90] !== IN ? (aP = J && DN && (0, import_jsx_runtime.jsx)("div", {
|
|
20518
20518
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
20519
|
-
children: Array.isArray(
|
|
20519
|
+
children: Array.isArray(IN) && IN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
20520
20520
|
variant: "secondary",
|
|
20521
20521
|
children: [
|
|
20522
20522
|
(d == null ? void 0 : d(e2)) ?? String(e2),
|
|
20523
20523
|
(0, import_jsx_runtime.jsx)(CircleX, {
|
|
20524
20524
|
onClick: () => {
|
|
20525
|
-
|
|
20525
|
+
VN(e2);
|
|
20526
20526
|
},
|
|
20527
20527
|
className: "w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer"
|
|
20528
20528
|
})
|
|
20529
20529
|
]
|
|
20530
20530
|
}, String(e2)))
|
|
20531
|
-
}), t[85] =
|
|
20532
|
-
let
|
|
20533
|
-
return t[92] !== O || t[93] !==
|
|
20534
|
-
className:
|
|
20531
|
+
}), t[85] = DN, t[86] = i, t[87] = d, t[88] = VN, t[89] = J, t[90] = IN, t[91] = aP) : aP = t[91];
|
|
20532
|
+
let oP;
|
|
20533
|
+
return t[92] !== O || t[93] !== iP || t[94] !== aP ? (oP = (0, import_jsx_runtime.jsxs)("div", {
|
|
20534
|
+
className: WN,
|
|
20535
20535
|
...O,
|
|
20536
20536
|
children: [
|
|
20537
|
-
|
|
20538
|
-
|
|
20537
|
+
iP,
|
|
20538
|
+
aP
|
|
20539
20539
|
]
|
|
20540
|
-
}), t[92] = O, t[93] =
|
|
20540
|
+
}), t[92] = O, t[93] = iP, t[94] = aP, t[95] = oP) : oP = t[95], oP;
|
|
20541
20541
|
};
|
|
20542
20542
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
20543
20543
|
let n = (0, import_compiler_runtime$21.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
@@ -23251,7 +23251,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23251
23251
|
function _temp2$2(e, t) {
|
|
23252
23252
|
return e + t;
|
|
23253
23253
|
}
|
|
23254
|
-
let TableBottomBar;
|
|
23254
|
+
let TableBottomBar, downloadSizeLimitAtom;
|
|
23255
23255
|
TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: s, getRowIds: c, showPageSizeSelector: d, tableLoading: h, part: _, className: v }) => {
|
|
23256
23256
|
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), w = (e2) => {
|
|
23257
23257
|
if (!i) return;
|
|
@@ -23372,6 +23372,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23372
23372
|
]
|
|
23373
23373
|
});
|
|
23374
23374
|
};
|
|
23375
|
+
downloadSizeLimitAtom = atom(null);
|
|
23375
23376
|
Filenames = {
|
|
23376
23377
|
toMarkdown: (e) => Filenames.replace(e, "md"),
|
|
23377
23378
|
toHTML: (e) => Filenames.replace(e, "html"),
|
|
@@ -23624,25 +23625,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23624
23625
|
return ((_a2 = copyOptions.find((t) => t.format === e)) == null ? void 0 : _a2.label) ?? e;
|
|
23625
23626
|
};
|
|
23626
23627
|
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") ? (
|
|
23628
|
+
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;
|
|
23629
|
+
t[0] === d ? h = t[1] : (h = cn("print:hidden text-xs gap-1", d), t[0] = d, t[1] = h);
|
|
23630
|
+
let _;
|
|
23631
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (0, import_jsx_runtime.jsx)(Download, {
|
|
23631
23632
|
className: "w-3.5 h-3.5"
|
|
23632
|
-
}), t[2] =
|
|
23633
|
-
let
|
|
23634
|
-
t[3]
|
|
23633
|
+
}), t[2] = _) : _ = t[2];
|
|
23634
|
+
let v;
|
|
23635
|
+
t[3] !== c || t[4] !== h ? (v = (0, import_jsx_runtime.jsxs)(Button, {
|
|
23635
23636
|
"data-testid": "export-button",
|
|
23636
23637
|
size: "xs",
|
|
23637
23638
|
variant: "text",
|
|
23638
|
-
|
|
23639
|
+
disabled: c,
|
|
23640
|
+
className: h,
|
|
23639
23641
|
children: [
|
|
23640
|
-
|
|
23642
|
+
_,
|
|
23641
23643
|
"Export"
|
|
23642
23644
|
]
|
|
23643
|
-
}), t[3] = c, t[4] = h);
|
|
23644
|
-
let
|
|
23645
|
-
t[
|
|
23645
|
+
}), t[3] = c, t[4] = h, t[5] = v) : v = t[5];
|
|
23646
|
+
let y = v, E;
|
|
23647
|
+
t[6] === e ? E = t[7] : (E = async (t2, n2) => {
|
|
23646
23648
|
let i2;
|
|
23647
23649
|
try {
|
|
23648
23650
|
i2 = await e.downloadAs({
|
|
@@ -23667,13 +23669,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23667
23669
|
url: i2.url,
|
|
23668
23670
|
filename: i2.filename
|
|
23669
23671
|
};
|
|
23670
|
-
}, t[
|
|
23671
|
-
let
|
|
23672
|
-
if (t[
|
|
23672
|
+
}, t[6] = e, t[7] = E);
|
|
23673
|
+
let O = E, A, M, I, z, U, K, q, J, Q, EN, $, DN, ON;
|
|
23674
|
+
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
23675
|
let e2 = async (t2) => {
|
|
23674
23676
|
let n2 = labelForDownloadFormat(t2);
|
|
23675
23677
|
await withLoadingToast(`Preparing ${n2} export...`, async () => {
|
|
23676
|
-
let n3 = await
|
|
23678
|
+
let n3 = await O(t2, () => {
|
|
23677
23679
|
e2(t2);
|
|
23678
23680
|
});
|
|
23679
23681
|
if (!n3) return false;
|
|
@@ -23691,26 +23693,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23691
23693
|
});
|
|
23692
23694
|
}, a = async (e3) => {
|
|
23693
23695
|
await withLoadingToast(`Preparing ${labelForCopyFormat(e3)} for clipboard...`, async () => {
|
|
23694
|
-
let t2 = await
|
|
23696
|
+
let t2 = await O(e3 === "csv" ? "csv" : "json", () => {
|
|
23695
23697
|
a(e3);
|
|
23696
23698
|
});
|
|
23697
23699
|
if (!t2) return;
|
|
23698
23700
|
let i2;
|
|
23699
|
-
|
|
23701
|
+
bb78: switch (e3) {
|
|
23700
23702
|
case "tsv":
|
|
23701
23703
|
i2 = jsonToTSV(await fetchJson(t2.url), n);
|
|
23702
|
-
break
|
|
23704
|
+
break bb78;
|
|
23703
23705
|
case "json": {
|
|
23704
23706
|
let e4 = await fetchJson(t2.url);
|
|
23705
23707
|
i2 = JSON.stringify(e4, null, 2);
|
|
23706
|
-
break
|
|
23708
|
+
break bb78;
|
|
23707
23709
|
}
|
|
23708
23710
|
case "csv":
|
|
23709
23711
|
i2 = await fetchText(t2.url);
|
|
23710
|
-
break
|
|
23712
|
+
break bb78;
|
|
23711
23713
|
case "markdown":
|
|
23712
23714
|
i2 = jsonToMarkdown(await fetchJson(t2.url));
|
|
23713
|
-
break
|
|
23715
|
+
break bb78;
|
|
23714
23716
|
default:
|
|
23715
23717
|
logNever(e3);
|
|
23716
23718
|
return;
|
|
@@ -23720,19 +23722,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23720
23722
|
});
|
|
23721
23723
|
});
|
|
23722
23724
|
};
|
|
23723
|
-
|
|
23724
|
-
let
|
|
23725
|
-
t[
|
|
23725
|
+
M = DropdownMenu, U = false, K = i, q = o;
|
|
23726
|
+
let d2 = c ? s == null ? void 0 : s.unavailableMessage : "Export", f = i ? false : void 0, h2 = c ? 0 : -1, _2;
|
|
23727
|
+
t[27] !== y || t[28] !== h2 ? (_2 = (0, import_jsx_runtime.jsx)("span", {
|
|
23728
|
+
tabIndex: h2,
|
|
23729
|
+
className: "inline-flex",
|
|
23730
|
+
children: y
|
|
23731
|
+
}), t[27] = y, t[28] = h2, t[29] = _2) : _2 = t[29];
|
|
23732
|
+
let v2;
|
|
23733
|
+
t[30] !== c || t[31] !== _2 ? (v2 = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
23726
23734
|
asChild: true,
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
|
|
23730
|
-
|
|
23731
|
-
|
|
23732
|
-
|
|
23735
|
+
disabled: c,
|
|
23736
|
+
children: _2
|
|
23737
|
+
}), 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, {
|
|
23738
|
+
content: d2,
|
|
23739
|
+
open: f,
|
|
23740
|
+
children: v2
|
|
23741
|
+
}), 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
23742
|
className: "text-xs text-muted-foreground",
|
|
23734
23743
|
children: "Download"
|
|
23735
|
-
}), t[
|
|
23744
|
+
}), t[37] = $) : $ = t[37], DN = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
23736
23745
|
onSelect: () => {
|
|
23737
23746
|
e2(t2.format);
|
|
23738
23747
|
},
|
|
@@ -23753,10 +23762,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23753
23762
|
]
|
|
23754
23763
|
})
|
|
23755
23764
|
]
|
|
23756
|
-
}, t2.label)), t[
|
|
23765
|
+
}, 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
23766
|
className: "text-xs text-muted-foreground",
|
|
23758
23767
|
children: "Copy to clipboard"
|
|
23759
|
-
}), t[
|
|
23768
|
+
}), t[38] = I, t[39] = ON) : (I = t[38], ON = t[39]), z = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
23760
23769
|
onSelect: async () => {
|
|
23761
23770
|
try {
|
|
23762
23771
|
await a(e3.format);
|
|
@@ -23785,30 +23794,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23785
23794
|
]
|
|
23786
23795
|
})
|
|
23787
23796
|
]
|
|
23788
|
-
}, e3.label)), t[
|
|
23789
|
-
} else
|
|
23790
|
-
let
|
|
23791
|
-
t[
|
|
23792
|
-
side:
|
|
23793
|
-
className:
|
|
23797
|
+
}, 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;
|
|
23798
|
+
} 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];
|
|
23799
|
+
let kN;
|
|
23800
|
+
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, {
|
|
23801
|
+
side: Q,
|
|
23802
|
+
className: EN,
|
|
23794
23803
|
children: [
|
|
23795
|
-
Q,
|
|
23796
|
-
TN,
|
|
23797
23804
|
$,
|
|
23798
|
-
|
|
23799
|
-
|
|
23805
|
+
DN,
|
|
23806
|
+
ON,
|
|
23807
|
+
I,
|
|
23808
|
+
z
|
|
23800
23809
|
]
|
|
23801
|
-
}), t[
|
|
23802
|
-
let
|
|
23803
|
-
return t[
|
|
23804
|
-
modal:
|
|
23805
|
-
open:
|
|
23806
|
-
onOpenChange:
|
|
23810
|
+
}), 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];
|
|
23811
|
+
let AN;
|
|
23812
|
+
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, {
|
|
23813
|
+
modal: U,
|
|
23814
|
+
open: K,
|
|
23815
|
+
onOpenChange: q,
|
|
23807
23816
|
children: [
|
|
23808
|
-
|
|
23809
|
-
|
|
23817
|
+
J,
|
|
23818
|
+
kN
|
|
23810
23819
|
]
|
|
23811
|
-
}), t[
|
|
23820
|
+
}), 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
23821
|
};
|
|
23813
23822
|
function fetchJson(e) {
|
|
23814
23823
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -23822,13 +23831,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23822
23831
|
var NOOP_ON_SEARCH = () => {
|
|
23823
23832
|
};
|
|
23824
23833
|
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 [
|
|
23834
|
+
TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: h, isAnyPanelOpen: _, downloadAs: v, sizeBytes: y }) => {
|
|
23835
|
+
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
23836
|
return (0, import_react.useEffect)(() => {
|
|
23828
|
-
E
|
|
23837
|
+
O(E);
|
|
23829
23838
|
}, [
|
|
23830
|
-
|
|
23831
|
-
|
|
23839
|
+
E,
|
|
23840
|
+
O
|
|
23832
23841
|
]), e && n || o || d || v ? (0, import_jsx_runtime.jsxs)("div", {
|
|
23833
23842
|
className: "flex items-center h-10 px-2 border-b gap-2",
|
|
23834
23843
|
children: [
|
|
@@ -23839,25 +23848,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23839
23848
|
className: "w-4 h-4 text-muted-foreground shrink-0"
|
|
23840
23849
|
}),
|
|
23841
23850
|
(0, import_jsx_runtime.jsx)("input", {
|
|
23842
|
-
ref:
|
|
23851
|
+
ref: A,
|
|
23843
23852
|
type: "text",
|
|
23844
23853
|
className: "h-6 border-none bg-transparent focus:outline-hidden text-sm w-full min-w-0",
|
|
23845
|
-
value:
|
|
23854
|
+
value: S,
|
|
23846
23855
|
onKeyDown: (e2) => {
|
|
23847
23856
|
var _a2;
|
|
23848
|
-
e2.key === "Escape" && (
|
|
23857
|
+
e2.key === "Escape" && (w(""), (_a2 = A.current) == null ? void 0 : _a2.blur());
|
|
23849
23858
|
},
|
|
23850
|
-
onChange: (e2) =>
|
|
23859
|
+
onChange: (e2) => w(e2.target.value),
|
|
23851
23860
|
placeholder: "Search..."
|
|
23852
23861
|
}),
|
|
23853
23862
|
i && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
23854
23863
|
size: "small"
|
|
23855
23864
|
}),
|
|
23856
|
-
|
|
23865
|
+
S && (0, import_jsx_runtime.jsx)(Button, {
|
|
23857
23866
|
variant: "text",
|
|
23858
23867
|
size: "xs",
|
|
23859
23868
|
className: "h-5 w-5 p-0 shrink-0",
|
|
23860
|
-
onClick: () =>
|
|
23869
|
+
onClick: () => w(""),
|
|
23861
23870
|
children: (0, import_jsx_runtime.jsx)(X, {
|
|
23862
23871
|
className: "w-3 h-3 text-muted-foreground"
|
|
23863
23872
|
})
|
|
@@ -23892,29 +23901,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23892
23901
|
]
|
|
23893
23902
|
}),
|
|
23894
23903
|
v && (0, import_jsx_runtime.jsx)(ExportMenu, {
|
|
23895
|
-
downloadAs: v
|
|
23904
|
+
downloadAs: v,
|
|
23905
|
+
sizeBytes: y
|
|
23896
23906
|
})
|
|
23897
23907
|
]
|
|
23898
23908
|
})
|
|
23899
23909
|
]
|
|
23900
23910
|
}) : null;
|
|
23901
23911
|
};
|
|
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 [
|
|
23912
|
+
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 }) => {
|
|
23913
|
+
let [GN, KN] = import_react.useState(false), { locale: qN } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: JN, setColumnPinning: YN } = useColumnPinning(NN, PN);
|
|
23904
23914
|
import_react.useEffect(() => {
|
|
23905
23915
|
let e2;
|
|
23906
|
-
return
|
|
23907
|
-
|
|
23908
|
-
}, 300) :
|
|
23916
|
+
return MN ? e2 = setTimeout(() => {
|
|
23917
|
+
KN(true);
|
|
23918
|
+
}, 300) : KN(false), () => {
|
|
23909
23919
|
e2 && clearTimeout(e2);
|
|
23910
23920
|
};
|
|
23911
23921
|
}, [
|
|
23912
|
-
|
|
23922
|
+
MN
|
|
23913
23923
|
]);
|
|
23914
|
-
function
|
|
23915
|
-
return
|
|
23924
|
+
function XN(e2, t2) {
|
|
23925
|
+
return M ? t2 + (U ? M.pageIndex * M.pageSize : 0) : t2;
|
|
23916
23926
|
}
|
|
23917
|
-
let
|
|
23927
|
+
let ZN = useReactTable({
|
|
23918
23928
|
_features: [
|
|
23919
23929
|
ColumnPinning,
|
|
23920
23930
|
ColumnWrappingFeature,
|
|
@@ -23933,66 +23943,66 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23933
23943
|
},
|
|
23934
23944
|
getCoreRowModel: getCoreRowModel(),
|
|
23935
23945
|
rowCount: f === "too_many" ? void 0 : f,
|
|
23936
|
-
...
|
|
23937
|
-
onPaginationChange:
|
|
23946
|
+
...I ? {
|
|
23947
|
+
onPaginationChange: I,
|
|
23938
23948
|
getRowId: (e2, t2) => {
|
|
23939
23949
|
let n2 = getStableRowId(e2);
|
|
23940
23950
|
if (n2) return n2;
|
|
23941
|
-
let i2 =
|
|
23951
|
+
let i2 = XN(e2, t2);
|
|
23942
23952
|
return String(i2);
|
|
23943
23953
|
}
|
|
23944
23954
|
} : {},
|
|
23945
|
-
locale:
|
|
23946
|
-
manualPagination:
|
|
23955
|
+
locale: qN,
|
|
23956
|
+
manualPagination: U,
|
|
23947
23957
|
getPaginationRowModel: getPaginationRowModel(),
|
|
23948
|
-
...
|
|
23949
|
-
onSortingChange:
|
|
23958
|
+
...y ? {
|
|
23959
|
+
onSortingChange: y
|
|
23950
23960
|
} : {},
|
|
23951
|
-
manualSorting:
|
|
23961
|
+
manualSorting: _,
|
|
23952
23962
|
enableMultiSort: true,
|
|
23953
23963
|
getSortedRowModel: getSortedRowModel(),
|
|
23954
23964
|
manualFiltering: true,
|
|
23955
|
-
enableColumnFilters:
|
|
23965
|
+
enableColumnFilters: ON,
|
|
23956
23966
|
getFilteredRowModel: getFilteredRowModel(),
|
|
23957
|
-
onColumnFiltersChange:
|
|
23958
|
-
onRowSelectionChange:
|
|
23959
|
-
onCellSelectionChange:
|
|
23967
|
+
onColumnFiltersChange: AN,
|
|
23968
|
+
onRowSelectionChange: q,
|
|
23969
|
+
onCellSelectionChange: J,
|
|
23960
23970
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
23961
23971
|
enableMultiCellSelection: c === "multi-cell",
|
|
23962
|
-
onColumnPinningChange:
|
|
23972
|
+
onColumnPinningChange: YN,
|
|
23963
23973
|
enableFocusRow: true,
|
|
23964
|
-
onFocusRowChange:
|
|
23974
|
+
onFocusRowChange: WN,
|
|
23965
23975
|
state: {
|
|
23966
|
-
...
|
|
23967
|
-
sorting:
|
|
23976
|
+
...v ? {
|
|
23977
|
+
sorting: v
|
|
23968
23978
|
} : {},
|
|
23969
|
-
columnFilters:
|
|
23970
|
-
...
|
|
23971
|
-
pagination:
|
|
23972
|
-
} :
|
|
23979
|
+
columnFilters: kN,
|
|
23980
|
+
...M ? {
|
|
23981
|
+
pagination: M
|
|
23982
|
+
} : K && !M ? {} : {
|
|
23973
23983
|
pagination: {
|
|
23974
23984
|
pageIndex: 0,
|
|
23975
23985
|
pageSize: o.length
|
|
23976
23986
|
}
|
|
23977
23987
|
},
|
|
23978
|
-
rowSelection:
|
|
23979
|
-
cellSelection:
|
|
23980
|
-
cellStyling:
|
|
23981
|
-
columnPinning:
|
|
23982
|
-
cellHoverTemplate:
|
|
23983
|
-
cellHoverTexts:
|
|
23984
|
-
}
|
|
23985
|
-
}),
|
|
23988
|
+
rowSelection: S ?? {},
|
|
23989
|
+
cellSelection: w ?? [],
|
|
23990
|
+
cellStyling: E,
|
|
23991
|
+
columnPinning: JN,
|
|
23992
|
+
cellHoverTemplate: O,
|
|
23993
|
+
cellHoverTexts: A ?? {}
|
|
23994
|
+
}
|
|
23995
|
+
}), QN = (VN == null ? void 0 : VN(PANEL_TYPES.ROW_VIEWER)) ?? false, $N = !K && o.length > 100, eP = useScrollContainerHeight({
|
|
23986
23996
|
maxHeight: n,
|
|
23987
|
-
virtualize:
|
|
23997
|
+
virtualize: $N
|
|
23988
23998
|
});
|
|
23989
23999
|
return (0, import_jsx_runtime.jsxs)("div", {
|
|
23990
24000
|
className: cn(e, "flex flex-col space-y-1"),
|
|
23991
24001
|
children: [
|
|
23992
24002
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
23993
|
-
filters:
|
|
23994
|
-
table:
|
|
23995
|
-
calculateTopKRows:
|
|
24003
|
+
filters: kN,
|
|
24004
|
+
table: ZN,
|
|
24005
|
+
calculateTopKRows: jN
|
|
23996
24006
|
}),
|
|
23997
24007
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
23998
24008
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -24000,33 +24010,34 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24000
24010
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
24001
24011
|
children: [
|
|
24002
24012
|
(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:
|
|
24013
|
+
enableSearch: EN,
|
|
24014
|
+
searchQuery: $,
|
|
24015
|
+
onSearchQueryChange: DN,
|
|
24016
|
+
reloading: MN,
|
|
24017
|
+
showChartBuilder: IN,
|
|
24018
|
+
isChartBuilderOpen: LN,
|
|
24019
|
+
toggleDisplayHeader: FN,
|
|
24020
|
+
showTableExplorer: zN,
|
|
24021
|
+
togglePanel: BN,
|
|
24022
|
+
isAnyPanelOpen: HN,
|
|
24023
|
+
downloadAs: z,
|
|
24024
|
+
sizeBytes: h
|
|
24014
24025
|
}),
|
|
24015
24026
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
24016
24027
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
24017
|
-
ref:
|
|
24028
|
+
ref: eP,
|
|
24018
24029
|
children: [
|
|
24019
|
-
|
|
24030
|
+
GN && (0, import_jsx_runtime.jsx)("thead", {
|
|
24020
24031
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
24021
24032
|
}),
|
|
24022
|
-
renderTableHeader(
|
|
24033
|
+
renderTableHeader(ZN, $N || !!n),
|
|
24023
24034
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
24024
|
-
table:
|
|
24035
|
+
table: ZN,
|
|
24025
24036
|
columns: i,
|
|
24026
|
-
rowViewerPanelOpen:
|
|
24027
|
-
getRowIndex:
|
|
24028
|
-
viewedRowIdx:
|
|
24029
|
-
virtualize:
|
|
24037
|
+
rowViewerPanelOpen: QN,
|
|
24038
|
+
getRowIndex: XN,
|
|
24039
|
+
viewedRowIdx: UN,
|
|
24040
|
+
virtualize: $N
|
|
24030
24041
|
})
|
|
24031
24042
|
]
|
|
24032
24043
|
}),
|
|
@@ -24034,13 +24045,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24034
24045
|
part: "table-footer",
|
|
24035
24046
|
className: "pt-1.5 pb-0.5 border-t border-border",
|
|
24036
24047
|
totalColumns: d,
|
|
24037
|
-
pagination:
|
|
24048
|
+
pagination: K,
|
|
24038
24049
|
selection: c,
|
|
24039
|
-
onRowSelectionChange:
|
|
24040
|
-
table:
|
|
24041
|
-
getRowIds:
|
|
24042
|
-
showPageSizeSelector:
|
|
24043
|
-
tableLoading:
|
|
24050
|
+
onRowSelectionChange: q,
|
|
24051
|
+
table: ZN,
|
|
24052
|
+
getRowIds: Q,
|
|
24053
|
+
showPageSizeSelector: RN,
|
|
24054
|
+
tableLoading: MN
|
|
24044
24055
|
})
|
|
24045
24056
|
]
|
|
24046
24057
|
})
|
|
@@ -24130,67 +24141,67 @@ ${_}`,
|
|
|
24130
24141
|
});
|
|
24131
24142
|
}, [q, J] = _.split(":", 2), Q = d ? KEY : "", $;
|
|
24132
24143
|
t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => h(_temp$3), t[10] = $) : $ = t[10];
|
|
24133
|
-
let
|
|
24134
|
-
t[11] ===
|
|
24135
|
-
let
|
|
24136
|
-
t[13] ===
|
|
24137
|
-
className:
|
|
24138
|
-
}), t[13] =
|
|
24139
|
-
let
|
|
24140
|
-
t[15] ===
|
|
24144
|
+
let DN = d ? "rotate-180" : "rotate-0", ON;
|
|
24145
|
+
t[11] === DN ? ON = t[12] : (ON = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", DN), t[11] = DN, t[12] = ON);
|
|
24146
|
+
let kN;
|
|
24147
|
+
t[13] === ON ? kN = t[14] : (kN = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
24148
|
+
className: ON
|
|
24149
|
+
}), t[13] = ON, t[14] = kN);
|
|
24150
|
+
let AN = q || "Error", jN;
|
|
24151
|
+
t[15] === AN ? jN = t[16] : (jN = (0, import_jsx_runtime.jsxs)("span", {
|
|
24141
24152
|
className: "text-destructive",
|
|
24142
24153
|
children: [
|
|
24143
|
-
|
|
24154
|
+
AN,
|
|
24144
24155
|
":"
|
|
24145
24156
|
]
|
|
24146
|
-
}), t[15] =
|
|
24147
|
-
let
|
|
24148
|
-
t[17] !== J || t[18] !==
|
|
24157
|
+
}), t[15] = AN, t[16] = jN);
|
|
24158
|
+
let MN;
|
|
24159
|
+
t[17] !== J || t[18] !== jN ? (MN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24149
24160
|
className: "text-sm inline font-mono",
|
|
24150
24161
|
children: [
|
|
24151
|
-
|
|
24162
|
+
jN,
|
|
24152
24163
|
" ",
|
|
24153
24164
|
J
|
|
24154
24165
|
]
|
|
24155
|
-
}), t[17] = J, t[18] =
|
|
24156
|
-
let
|
|
24157
|
-
t[20] !==
|
|
24166
|
+
}), t[17] = J, t[18] = jN, t[19] = MN) : MN = t[19];
|
|
24167
|
+
let PN;
|
|
24168
|
+
t[20] !== MN || t[21] !== kN ? (PN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24158
24169
|
className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
|
|
24159
24170
|
onClick: $,
|
|
24160
24171
|
children: [
|
|
24161
|
-
|
|
24162
|
-
|
|
24172
|
+
kN,
|
|
24173
|
+
MN
|
|
24163
24174
|
]
|
|
24164
|
-
}), t[20] =
|
|
24165
|
-
let
|
|
24166
|
-
t[23] === c ?
|
|
24175
|
+
}), t[20] = MN, t[21] = kN, t[22] = PN) : PN = t[22];
|
|
24176
|
+
let FN;
|
|
24177
|
+
t[23] === c ? FN = t[24] : (FN = (0, import_jsx_runtime.jsx)(AccordionContent, {
|
|
24167
24178
|
className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
|
|
24168
24179
|
children: c
|
|
24169
|
-
}), t[23] = c, t[24] =
|
|
24170
|
-
let
|
|
24171
|
-
t[25] !==
|
|
24180
|
+
}), t[23] = c, t[24] = FN);
|
|
24181
|
+
let LN;
|
|
24182
|
+
t[25] !== PN || t[26] !== FN ? (LN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
|
|
24172
24183
|
value: KEY,
|
|
24173
24184
|
className: "border-none",
|
|
24174
24185
|
children: [
|
|
24175
|
-
|
|
24176
|
-
|
|
24186
|
+
PN,
|
|
24187
|
+
FN
|
|
24177
24188
|
]
|
|
24178
|
-
}), t[25] =
|
|
24179
|
-
let
|
|
24180
|
-
t[28] !==
|
|
24189
|
+
}), t[25] = PN, t[26] = FN, t[27] = LN) : LN = t[27];
|
|
24190
|
+
let RN;
|
|
24191
|
+
t[28] !== LN || t[29] !== Q ? (RN = (0, import_jsx_runtime.jsx)(Accordion, {
|
|
24181
24192
|
type: "single",
|
|
24182
24193
|
collapsible: true,
|
|
24183
24194
|
value: Q,
|
|
24184
|
-
children:
|
|
24185
|
-
}), t[28] =
|
|
24186
|
-
let
|
|
24187
|
-
t[31] !== K || t[32] !== I ? (
|
|
24195
|
+
children: LN
|
|
24196
|
+
}), t[28] = LN, t[29] = Q, t[30] = RN) : RN = t[30];
|
|
24197
|
+
let zN;
|
|
24198
|
+
t[31] !== K || t[32] !== I ? (zN = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
24188
24199
|
tooltip: "Fix with AI",
|
|
24189
24200
|
openPrompt: () => K(false),
|
|
24190
24201
|
applyAutofix: () => K(true)
|
|
24191
|
-
}), t[31] = K, t[32] = I, t[33] =
|
|
24192
|
-
let
|
|
24193
|
-
t[34] !== A || t[35] !== E ? (
|
|
24202
|
+
}), t[31] = K, t[32] = I, t[33] = zN) : zN = t[33];
|
|
24203
|
+
let VN;
|
|
24204
|
+
t[34] !== A || t[35] !== E ? (VN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
24194
24205
|
content: "Attach pdb to the exception point.",
|
|
24195
24206
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
24196
24207
|
size: "xs",
|
|
@@ -24207,9 +24218,9 @@ ${_}`,
|
|
|
24207
24218
|
"Launch debugger"
|
|
24208
24219
|
]
|
|
24209
24220
|
})
|
|
24210
|
-
}), t[34] = A, t[35] = E, t[36] =
|
|
24211
|
-
let
|
|
24212
|
-
t[37] !== _ || t[38] !== i ? (
|
|
24221
|
+
}), t[34] = A, t[35] = E, t[36] = VN) : VN = t[36];
|
|
24222
|
+
let HN;
|
|
24223
|
+
t[37] !== _ || t[38] !== i ? (HN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
24213
24224
|
children: [
|
|
24214
24225
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
24215
24226
|
asChild: true,
|
|
@@ -24277,24 +24288,24 @@ ${_}`,
|
|
|
24277
24288
|
]
|
|
24278
24289
|
})
|
|
24279
24290
|
]
|
|
24280
|
-
}), t[37] = _, t[38] = i, t[39] =
|
|
24281
|
-
let
|
|
24282
|
-
t[40] !==
|
|
24291
|
+
}), t[37] = _, t[38] = i, t[39] = HN) : HN = t[39];
|
|
24292
|
+
let UN;
|
|
24293
|
+
t[40] !== zN || t[41] !== VN || t[42] !== HN ? (UN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24283
24294
|
className: "flex gap-2",
|
|
24284
24295
|
children: [
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24296
|
+
zN,
|
|
24297
|
+
VN,
|
|
24298
|
+
HN
|
|
24288
24299
|
]
|
|
24289
|
-
}), t[40] =
|
|
24290
|
-
let
|
|
24291
|
-
return t[44] !==
|
|
24300
|
+
}), t[40] = zN, t[41] = VN, t[42] = HN, t[43] = UN) : UN = t[43];
|
|
24301
|
+
let WN;
|
|
24302
|
+
return t[44] !== RN || t[45] !== UN ? (WN = (0, import_jsx_runtime.jsxs)("div", {
|
|
24292
24303
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
24293
24304
|
children: [
|
|
24294
|
-
|
|
24295
|
-
|
|
24305
|
+
RN,
|
|
24306
|
+
UN
|
|
24296
24307
|
]
|
|
24297
|
-
}), t[44] =
|
|
24308
|
+
}), t[44] = RN, t[45] = UN, t[46] = WN) : WN = t[46], WN;
|
|
24298
24309
|
};
|
|
24299
24310
|
function lastLine(e) {
|
|
24300
24311
|
var _a2, _b;
|
|
@@ -25680,7 +25691,7 @@ ${_}`,
|
|
|
25680
25691
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
25681
25692
|
}
|
|
25682
25693
|
}
|
|
25683
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-
|
|
25694
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev20");
|
|
25684
25695
|
showCodeInRunModeAtom = atom(true);
|
|
25685
25696
|
atom(null);
|
|
25686
25697
|
var import_compiler_runtime = require_compiler_runtime();
|