@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
package/dist/main.js
CHANGED
|
@@ -18,34 +18,34 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
21
|
-
import { _ as Logger, c as Objects, g as cn, h as Events, i as NOT_SET, l as useEventListener, m as useComposedRefs, n as buttonVariants, o as isPlatformMac, p as composeRefs, r as cva, t as Button, u as Slot, v as Functions, y as throwNotImplemented } from "./button-
|
|
21
|
+
import { _ as Logger, c as Objects, g as cn, h as Events, i as NOT_SET, l as useEventListener, m as useComposedRefs, n as buttonVariants, o as isPlatformMac, p as composeRefs, r as cva, t as Button, u as Slot, v as Functions, y as throwNotImplemented } from "./button-Dj4BTre0.js";
|
|
22
22
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
23
23
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
24
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
25
|
-
import { $ as useCellActions, At as DeferredRequestRegistry, B as safeExtractSetUIElementMessageBuffers, Bn as Braces, Bt as getDataTypeColor, C as AccordionContent, Cn as Root2$1, Ct as customPythonLanguageSupport, Dn as Table2, Dt as Paths, E as BorderAllIcon, En as Trash2, Et as PathBuilder, F as base64ToDataView, Fn as Eye, Ft as jotaiJsonStorage, Gt as convertStatsName, H as getMarimoExportContext, In as Database, J as getCellNames, Jt as useRequestClient, K as createActions, Kt as getRequestClient, L as dataViewToBase64, Ln as Columns2, Mn as Layers, Nn as Info, Nt as repl, On as PaintRoller, Pn as FileText, Q as reducer, Rt as PluralWords, S as Accordion, Sn as Item$1, St as Checkbox, T as AccordionTrigger, U as hasTrustedExportContext, V as renderHTML, Vt as require_client, W as hasRunAnyCellAtom, X as notebookOutline, Y as notebookAtom, Yt as isUninstantiated, Z as numColumnsAtom, _n as atomWithStorage, a as useLastFocusedCellId, an as parseInitialValue, bt as isInternalCellName, ct as kioskModeAtom, dn as OBJECT_ID_ATTR, dt as outputIsLoading, en as NotebookScopedLocalStorage, et as useCellIds, f as isOutputEmpty, fn as RANDOM_ID_ATTR, ft as outputIsStale, gn as atomWithReducer, i as useCellFocusActions, in as parseDataset, jn as LoaderCircle, jt as generateUUID, k as ChevronDownIcon, ln as UIElementId, mt as headingToIdentifier, nt as createCell, o as maybeAddAltairImport, ot as getInitialAppMode, p as useExpandedConsoleOutput, pn as jsonParseWithSpecialChar, pt as isErrorMime, qt as requestClientAtom, r as LazyAnyLanguageCodeMirror, rn as parseAttrValue, s as Spinner, sn as HTMLCellId, st as initialModeAtom, un as findCellId, vn as selectAtom, w as AccordionItem, wn as Trigger2, wt as MarkdownLanguageAdapter, xn as Content2, xt as normalizeName, yt as getValidName, zn as CircleAlert, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-
|
|
26
|
-
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-
|
|
27
|
-
import { o as useSize, s as Root$2, u as createLucideIcon } from "./dist-
|
|
28
|
-
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-
|
|
29
|
-
import { $ as filtersToFilterGroup, A as contextAwarePanelOwner, At as Funnel, B as TableCell, Bt as ChevronLeft, C as prettifyRowCount, Ct as useOverflowDetection, D as ContextAwarePanelItem, Dt as EmotionCacheProvider, E as ComboboxItem, Et as HtmlOutput, F as Toggle, Ft as Code, G as generateColumns, H as TableHeader, I as Fill, It as ChevronsUpDown, J as ColumnChartContext, K as inferFieldTypes, L as Provider$1, Lt as ChevronsRight, M as isCellAwareAtom, N as SlotNames, Nt as Ellipsis, O as PANEL_TYPES, Ot as TextWrap, P as slotsController, Pt as Download, Q as usePrevious$1, R as Table, Rt as ChevronsLeft, S as prettifyRowColumnCount, St as LazyVegaEmbed, T as Combobox, Tt as Kbd, U as TableRow, V as TableHead, Vt as ArrowDownWideNarrow, W as NAMELESS_COLUMN_PREFIX, X as DelayMount, Y as ColumnChartSpecModel, Z as useIntersectionObserver, _ as downloadBlob, _t as TabsList, at as TOO_MANY_ROWS, b as Progress, bt as ChartInfoState, c as Slide, ct as Command, d as JsonOutput, dt as CommandItem, et as getPageIndexForRow, f as OutputArea, ft as CommandList, g as ADD_PRINTING_CLASS, gt as TabsContent, h as InstallPackageButton, ht as Tabs, it as SELECT_COLUMN_ID, j as contextAwarePanelType, jt as EyeOff, k as contextAwarePanelOpen, kt as GripHorizontal, l as RadioGroup, lt as CommandEmpty, m as DataTable, mt as Maps, n as marimoVersionAtom, nt as loadTableData, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as toFieldTypes, p as OutputRenderer, pt as CommandSeparator, q as renderCellValue, r as showCodeInRunModeAtom, rt as INDEX_COLUMN_NAME, st as getMimeValues, t as useNotebookCodeAvailable, tt as loadTableAndRawData, u as RadioGroupItem, ut as CommandInput, v as downloadByURL, vt as TabsTrigger, w as useInternalStateWithSync, wt as RenderTextWithLinks, x as Filenames, xt as ChartLoadingState, y as downloadHTMLAsImage, yt as ChartErrorState, z as TableBody, zt as ChevronsDownUp, __tla as __tla_2 } from "./code-visibility-
|
|
30
|
-
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-
|
|
31
|
-
import { n as $fb18d541ea1ad717$export$ad991b66133851cf, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
32
|
-
import { t as Check } from "./check-
|
|
33
|
-
import { A as Trigger$1, C as $a916eb452884faea$export$b7a616150fdb9f44, D as $b5e257d569688ac6$export$535bd6ca7f90a273, E as $18f2051aff69b9bf$export$a54013f0d02a8f82, F as X, L as ChevronDown, M as usePrevious$2, N as useDirection, P as createCollection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, a as SelectGroup, c as SelectSeparator, d as NativeSelect, f as selectStyles, i as SelectContent, j as clamp$2, k as Icon, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, x as assertNever } from "./strings-
|
|
34
|
-
import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, K as useDebounceControlledState, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dt as $9ab94262bd0047c7$export$420e68273165f4ec, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, ht as _class_private_field_init, i as OnBlurredInput, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nt as $319e236875307eab$export$a9b970dcc4ae71a9, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, r as Input, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, ut as $6179b936705e76d3$export$ae780daf29e6d456, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-
|
|
35
|
-
import { _ as isWasm, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as Deferred, m as require_cuid2, u as getStaticVirtualFiles, v as CircleQuestionMark } from "./toDate-
|
|
36
|
-
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, d as File, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
37
|
-
import { i as Pencil, n as Trash, r as Plus, t as BulkEdit } from "./types-
|
|
24
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DLf4aN7I.js";
|
|
25
|
+
import { $ as useCellActions, At as DeferredRequestRegistry, B as safeExtractSetUIElementMessageBuffers, Bn as Braces, Bt as getDataTypeColor, C as AccordionContent, Cn as Root2$1, Ct as customPythonLanguageSupport, Dn as Table2, Dt as Paths, E as BorderAllIcon, En as Trash2, Et as PathBuilder, F as base64ToDataView, Fn as Eye, Ft as jotaiJsonStorage, Gt as convertStatsName, H as getMarimoExportContext, In as Database, J as getCellNames, Jt as useRequestClient, K as createActions, Kt as getRequestClient, L as dataViewToBase64, Ln as Columns2, Mn as Layers, Nn as Info, Nt as repl, On as PaintRoller, Pn as FileText, Q as reducer, Rt as PluralWords, S as Accordion, Sn as Item$1, St as Checkbox, T as AccordionTrigger, U as hasTrustedExportContext, V as renderHTML, Vt as require_client, W as hasRunAnyCellAtom, X as notebookOutline, Y as notebookAtom, Yt as isUninstantiated, Z as numColumnsAtom, _n as atomWithStorage, a as useLastFocusedCellId, an as parseInitialValue, bt as isInternalCellName, ct as kioskModeAtom, dn as OBJECT_ID_ATTR, dt as outputIsLoading, en as NotebookScopedLocalStorage, et as useCellIds, f as isOutputEmpty, fn as RANDOM_ID_ATTR, ft as outputIsStale, gn as atomWithReducer, i as useCellFocusActions, in as parseDataset, jn as LoaderCircle, jt as generateUUID, k as ChevronDownIcon, ln as UIElementId, mt as headingToIdentifier, nt as createCell, o as maybeAddAltairImport, ot as getInitialAppMode, p as useExpandedConsoleOutput, pn as jsonParseWithSpecialChar, pt as isErrorMime, qt as requestClientAtom, r as LazyAnyLanguageCodeMirror, rn as parseAttrValue, s as Spinner, sn as HTMLCellId, st as initialModeAtom, un as findCellId, vn as selectAtom, w as AccordionItem, wn as Trigger2, wt as MarkdownLanguageAdapter, xn as Content2, xt as normalizeName, yt as getValidName, zn as CircleAlert, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-q0T1ijn_.js";
|
|
26
|
+
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BOg95xG5.js";
|
|
27
|
+
import { o as useSize, s as Root$2, u as createLucideIcon } from "./dist-D3ZI9nhS.js";
|
|
28
|
+
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-hVaaZsY5.js";
|
|
29
|
+
import { $ as filtersToFilterGroup, A as contextAwarePanelOwner, At as Funnel, B as TableCell, Bt as ChevronLeft, C as prettifyRowCount, Ct as useOverflowDetection, D as ContextAwarePanelItem, Dt as EmotionCacheProvider, E as ComboboxItem, Et as HtmlOutput, F as Toggle, Ft as Code, G as generateColumns, H as TableHeader, I as Fill, It as ChevronsUpDown, J as ColumnChartContext, K as inferFieldTypes, L as Provider$1, Lt as ChevronsRight, M as isCellAwareAtom, N as SlotNames, Nt as Ellipsis, O as PANEL_TYPES, Ot as TextWrap, P as slotsController, Pt as Download, Q as usePrevious$1, R as Table, Rt as ChevronsLeft, S as prettifyRowColumnCount, St as LazyVegaEmbed, T as Combobox, Tt as Kbd, U as TableRow, V as TableHead, Vt as ArrowDownWideNarrow, W as NAMELESS_COLUMN_PREFIX, X as DelayMount, Y as ColumnChartSpecModel, Z as useIntersectionObserver, _ as downloadBlob, _t as TabsList, at as TOO_MANY_ROWS, b as Progress, bt as ChartInfoState, c as Slide, ct as Command, d as JsonOutput, dt as CommandItem, et as getPageIndexForRow, f as OutputArea, ft as CommandList, g as ADD_PRINTING_CLASS, gt as TabsContent, h as InstallPackageButton, ht as Tabs, it as SELECT_COLUMN_ID, j as contextAwarePanelType, jt as EyeOff, k as contextAwarePanelOpen, kt as GripHorizontal, l as RadioGroup, lt as CommandEmpty, m as DataTable, mt as Maps, n as marimoVersionAtom, nt as loadTableData, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as toFieldTypes, p as OutputRenderer, pt as CommandSeparator, q as renderCellValue, r as showCodeInRunModeAtom, rt as INDEX_COLUMN_NAME, st as getMimeValues, t as useNotebookCodeAvailable, tt as loadTableAndRawData, u as RadioGroupItem, ut as CommandInput, v as downloadByURL, vt as TabsTrigger, w as useInternalStateWithSync, wt as RenderTextWithLinks, x as Filenames, xt as ChartLoadingState, y as downloadHTMLAsImage, yt as ChartErrorState, z as TableBody, zt as ChevronsDownUp, __tla as __tla_2 } from "./code-visibility-VP08CFE1.js";
|
|
30
|
+
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-BF6-z62y.js";
|
|
31
|
+
import { n as $fb18d541ea1ad717$export$ad991b66133851cf, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B_9k85Ex.js";
|
|
32
|
+
import { t as Check } from "./check-BcUIXnUT.js";
|
|
33
|
+
import { A as Trigger$1, C as $a916eb452884faea$export$b7a616150fdb9f44, D as $b5e257d569688ac6$export$535bd6ca7f90a273, E as $18f2051aff69b9bf$export$a54013f0d02a8f82, F as X, L as ChevronDown, M as usePrevious$2, N as useDirection, P as createCollection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, a as SelectGroup, c as SelectSeparator, d as NativeSelect, f as selectStyles, i as SelectContent, j as clamp$2, k as Icon, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, x as assertNever } from "./strings-BiIhGaI8.js";
|
|
34
|
+
import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, K as useDebounceControlledState, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dt as $9ab94262bd0047c7$export$420e68273165f4ec, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, ht as _class_private_field_init, i as OnBlurredInput, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nt as $319e236875307eab$export$a9b970dcc4ae71a9, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, r as Input, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, ut as $6179b936705e76d3$export$ae780daf29e6d456, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-Cc1Vvw9A.js";
|
|
35
|
+
import { _ as isWasm, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as Deferred, m as require_cuid2, u as getStaticVirtualFiles, v as CircleQuestionMark } from "./toDate-CJWlVNGD.js";
|
|
36
|
+
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, d as File, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-DTKS9bKk.js";
|
|
37
|
+
import { i as Pencil, n as Trash, r as Plus, t as BulkEdit } from "./types-Dzuoc3LN.js";
|
|
38
38
|
import { t as require_react_dom } from "./react-dom-BWRJ_g_k.js";
|
|
39
39
|
import { t as require_jsx_runtime } from "./jsx-runtime-COBk7ree.js";
|
|
40
|
-
import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$1, I as record, J as prettifyError, K as parseAsync, N as number, O as lazy$2, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, _ as ZodString, _t as Primitive, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as $ZodError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$11, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-
|
|
41
|
-
import { i as prettyError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-
|
|
42
|
-
import { t as Label } from "./label-
|
|
43
|
-
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-
|
|
44
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
40
|
+
import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$1, I as record, J as prettifyError, K as parseAsync, N as number, O as lazy$2, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, _ as ZodString, _t as Primitive, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as $ZodError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$11, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-BWkcDORu.js";
|
|
41
|
+
import { i as prettyError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-CVkfBUT3.js";
|
|
42
|
+
import { t as Label } from "./label-BLqV33b1.js";
|
|
43
|
+
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-DRaMBu06.js";
|
|
44
|
+
import { f as CopyClipboardIcon } from "./extends-vAi97cpa.js";
|
|
45
45
|
import { a as get_default } from "./hasIn-COs6vImh.js";
|
|
46
46
|
import { n as _baseSet_default, t as pick_default } from "./pick-CRAXxDYn.js";
|
|
47
47
|
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-D0gkYoE2.js";
|
|
48
|
-
import { C as dequal, c as AppConfigSchema, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, s as useResolvedMarimoConfig, u as store, w as useEvent_default, y as atom } from "./useTheme-
|
|
48
|
+
import { C as dequal, c as AppConfigSchema, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, s as useResolvedMarimoConfig, u as store, w as useEvent_default, y as atom } from "./useTheme-DykuNHR2.js";
|
|
49
49
|
import { Z as EditorView } from "./dist-CCADb07R.js";
|
|
50
50
|
import { t as invariant } from "./invariant-UcGKQEhF.js";
|
|
51
51
|
import { l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-CldYf7p7.js";
|
|
@@ -57,26 +57,26 @@ import "./dist-UcOPnRMa.js";
|
|
|
57
57
|
import "./dist-BTyJtnNg.js";
|
|
58
58
|
import "./dist-DGAfI2rB.js";
|
|
59
59
|
import { r as python } from "./dist-nuW5EDYT.js";
|
|
60
|
-
import { n as minimalSetup, t as esm_default } from "./esm-
|
|
60
|
+
import { n as minimalSetup, t as esm_default } from "./esm-CWp0KQeK.js";
|
|
61
61
|
import "./purify.es-DT70lfR0.js";
|
|
62
|
-
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-
|
|
63
|
-
import { n as require_prop_types, t as ErrorBoundary } from "./ErrorBoundary-
|
|
62
|
+
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-CpgZM9BM.js";
|
|
63
|
+
import { n as require_prop_types, t as ErrorBoundary } from "./ErrorBoundary-D3wrPNma.js";
|
|
64
64
|
import "./vega-loader.browser-3_z8GoFC.js";
|
|
65
|
-
import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, s as tooltipHandler } from "./loader-
|
|
66
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
65
|
+
import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, s as tooltipHandler } from "./loader-Dr8Qem8p.js";
|
|
66
|
+
import { t as useAsyncData } from "./useAsyncData-C56Khv_R.js";
|
|
67
67
|
import "./defaultLocale-BpsHxBd7.js";
|
|
68
68
|
import "./defaultLocale-DoeErsX2.js";
|
|
69
|
-
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-
|
|
70
|
-
import "./dist-
|
|
71
|
-
import "./dist-
|
|
72
|
-
import "./dist-
|
|
73
|
-
import "./dist-
|
|
74
|
-
import "./dist-
|
|
75
|
-
import "./dist-
|
|
76
|
-
import "./dist-
|
|
77
|
-
import "./dist-
|
|
78
|
-
import "./dist-
|
|
79
|
-
import { t as langs } from "./esm-
|
|
69
|
+
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-Dt98v2ua.js";
|
|
70
|
+
import "./dist-C34oIrQ9.js";
|
|
71
|
+
import "./dist-B507mf_I.js";
|
|
72
|
+
import "./dist-BvCfQQQE.js";
|
|
73
|
+
import "./dist-B4LJpMEg.js";
|
|
74
|
+
import "./dist-DJ6zJQZ4.js";
|
|
75
|
+
import "./dist-WdPUFc56.js";
|
|
76
|
+
import "./dist-t_qL7eB8.js";
|
|
77
|
+
import "./dist-CDFZi-QD.js";
|
|
78
|
+
import "./dist-Bc5pmZIw.js";
|
|
79
|
+
import { t as langs } from "./esm-DjNnlmpf.js";
|
|
80
80
|
let initialize;
|
|
81
81
|
let __tla = Promise.all([
|
|
82
82
|
(() => {
|
|
@@ -3734,21 +3734,21 @@ let __tla = Promise.all([
|
|
|
3734
3734
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, r, c = {}) {
|
|
3735
3735
|
let { block: l = "nearest", inline: u = "nearest" } = c;
|
|
3736
3736
|
if (e === r) return;
|
|
3737
|
-
let d = e.scrollTop, f = e.scrollLeft, p = r.getBoundingClientRect(), m = e.getBoundingClientRect(), h = window.getComputedStyle(r), g = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : m.top, y = e === _ ? e.clientHeight : m.bottom, b = e === _ ? 0 : m.left, S = e === _ ? e.clientWidth : m.right, w = parseInt(h.scrollMarginTop, 10) || 0, T = parseInt(h.scrollMarginBottom, 10) || 0, E = parseInt(h.scrollMarginLeft, 10) || 0, O = parseInt(h.scrollMarginRight, 10) || 0, j = parseInt(g.scrollPaddingTop, 10) || 0, M = parseInt(g.scrollPaddingBottom, 10) || 0, I = parseInt(g.scrollPaddingLeft, 10) || 0, L = parseInt(g.scrollPaddingRight, 10) || 0, R = parseInt(g.borderTopWidth, 10) || 0, z = parseInt(g.borderBottomWidth, 10) || 0, B = parseInt(g.borderLeftWidth, 10) || 0, H = parseInt(g.borderRightWidth, 10) || 0, W = p.top - w, G = p.bottom + T, q = p.left - E, Z = p.right + O,
|
|
3738
|
-
g.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
3739
|
-
let
|
|
3740
|
-
if (
|
|
3741
|
-
else if (
|
|
3742
|
-
else if (
|
|
3743
|
-
else if (
|
|
3744
|
-
let e2 = W -
|
|
3737
|
+
let d = e.scrollTop, f = e.scrollLeft, p = r.getBoundingClientRect(), m = e.getBoundingClientRect(), h = window.getComputedStyle(r), g = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : m.top, y = e === _ ? e.clientHeight : m.bottom, b = e === _ ? 0 : m.left, S = e === _ ? e.clientWidth : m.right, w = parseInt(h.scrollMarginTop, 10) || 0, T = parseInt(h.scrollMarginBottom, 10) || 0, E = parseInt(h.scrollMarginLeft, 10) || 0, O = parseInt(h.scrollMarginRight, 10) || 0, j = parseInt(g.scrollPaddingTop, 10) || 0, M = parseInt(g.scrollPaddingBottom, 10) || 0, I = parseInt(g.scrollPaddingLeft, 10) || 0, L = parseInt(g.scrollPaddingRight, 10) || 0, R = parseInt(g.borderTopWidth, 10) || 0, z = parseInt(g.borderBottomWidth, 10) || 0, B = parseInt(g.borderLeftWidth, 10) || 0, H = parseInt(g.borderRightWidth, 10) || 0, W = p.top - w, G = p.bottom + T, q = p.left - E, Z = p.right + O, S0 = e === _ ? 0 : B + H, C0 = e === _ ? 0 : R + z, w0 = e.offsetWidth - e.clientWidth - S0, T0 = e.offsetHeight - e.clientHeight - C0, E0 = v + R + j, D0 = y - z - M - T0, O0 = b + B + I, k0 = S - H - L;
|
|
3738
|
+
g.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? O0 += w0 : k0 -= w0;
|
|
3739
|
+
let A0 = W < E0 || G > D0, j0 = q < O0 || Z > k0;
|
|
3740
|
+
if (A0 && l === "start") d += W - E0;
|
|
3741
|
+
else if (A0 && l === "center") d += (W + G) / 2 - (E0 + D0) / 2;
|
|
3742
|
+
else if (A0 && l === "end") d += G - D0;
|
|
3743
|
+
else if (A0 && l === "nearest") {
|
|
3744
|
+
let e2 = W - E0, r2 = G - D0;
|
|
3745
3745
|
d += Math.abs(e2) <= Math.abs(r2) ? e2 : r2;
|
|
3746
3746
|
}
|
|
3747
|
-
if (
|
|
3748
|
-
else if (
|
|
3749
|
-
else if (
|
|
3750
|
-
else if (
|
|
3751
|
-
let e2 = q -
|
|
3747
|
+
if (j0 && u === "start") f += q - O0;
|
|
3748
|
+
else if (j0 && u === "center") f += (q + Z) / 2 - (O0 + k0) / 2;
|
|
3749
|
+
else if (j0 && u === "end") f += Z - k0;
|
|
3750
|
+
else if (j0 && u === "nearest") {
|
|
3751
|
+
let e2 = q - O0, r2 = Z - k0;
|
|
3752
3752
|
f += Math.abs(e2) <= Math.abs(r2) ? e2 : r2;
|
|
3753
3753
|
}
|
|
3754
3754
|
e.scrollTo({
|
|
@@ -6906,11 +6906,11 @@ let __tla = Promise.all([
|
|
|
6906
6906
|
R[j] += W;
|
|
6907
6907
|
let G = $edcf132a9284368a$var$getMaxHeight(R, p, h, v, u, d, c.height, H, m, w, T);
|
|
6908
6908
|
y && y < G && (G = y), c.height = Math.min(c.height, G), R = $edcf132a9284368a$var$computePosition(r, p, c, E, z, _, h, v, b, S, m), W = $edcf132a9284368a$var$getDelta(j, R[j], c[M], p, m, d, h), R[j] += W;
|
|
6909
|
-
let q = {}, Z = r[j] - R[j] - u[$edcf132a9284368a$var$AXIS[j]],
|
|
6910
|
-
q[j] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(
|
|
6911
|
-
let
|
|
6912
|
-
x: I === "top" || I === "bottom" ? Z :
|
|
6913
|
-
y: I === "left" || I === "right" ? Z :
|
|
6909
|
+
let q = {}, Z = r[j] - R[j] - u[$edcf132a9284368a$var$AXIS[j]], S0 = Z + 0.5 * r[M], C0 = b / 2 + S, w0 = $edcf132a9284368a$var$AXIS[j] === "left" ? (u.left ?? 0) + (u.right ?? 0) : (u.top ?? 0) + (u.bottom ?? 0), T0 = c[M] - w0 - b / 2 - S;
|
|
6910
|
+
q[j] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(S0, r[j] + b / 2 - (R[j] + u[$edcf132a9284368a$var$AXIS[j]]), r[j] + r[M] - b / 2 - (R[j] + u[$edcf132a9284368a$var$AXIS[j]])), C0, T0), { placement: I, crossPlacement: L } = E, b ? Z = q[j] : L === "right" ? Z += r[M] : L === "center" && (Z += r[M] / 2);
|
|
6911
|
+
let E0 = I === "left" || I === "top" ? c[O] : 0, D0 = {
|
|
6912
|
+
x: I === "top" || I === "bottom" ? Z : E0,
|
|
6913
|
+
y: I === "left" || I === "right" ? Z : E0
|
|
6914
6914
|
};
|
|
6915
6915
|
return {
|
|
6916
6916
|
position: R,
|
|
@@ -6918,7 +6918,7 @@ let __tla = Promise.all([
|
|
|
6918
6918
|
arrowOffsetLeft: q.left,
|
|
6919
6919
|
arrowOffsetTop: q.top,
|
|
6920
6920
|
placement: I,
|
|
6921
|
-
triggerAnchorPoint:
|
|
6921
|
+
triggerAnchorPoint: D0
|
|
6922
6922
|
};
|
|
6923
6923
|
}
|
|
6924
6924
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -8778,7 +8778,7 @@ let __tla = Promise.all([
|
|
|
8778
8778
|
e !== (0, import_react.useMemo)(() => r.segments.find((e2) => e2.isEditable), [
|
|
8779
8779
|
r.segments
|
|
8780
8780
|
]) && !r.isInvalid && (h = void 0);
|
|
8781
|
-
let G = $bdb11010cef70236$export$f680877a34711e37(), q = !r.isDisabled && !r.isReadOnly && e.isEditable, Z = e.type === "literal" ? "" : f.of(e.type),
|
|
8781
|
+
let G = $bdb11010cef70236$export$f680877a34711e37(), q = !r.isDisabled && !r.isReadOnly && e.isEditable, Z = e.type === "literal" ? "" : f.of(e.type), S0 = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
8782
8782
|
"aria-label": `${Z}${p ? `, ${p}` : ""}${m ? ", " : ""}`,
|
|
8783
8783
|
"aria-labelledby": m
|
|
8784
8784
|
});
|
|
@@ -8787,16 +8787,16 @@ let __tla = Promise.all([
|
|
|
8787
8787
|
"aria-hidden": true
|
|
8788
8788
|
}
|
|
8789
8789
|
};
|
|
8790
|
-
let
|
|
8790
|
+
let C0 = {
|
|
8791
8791
|
caretColor: "transparent"
|
|
8792
8792
|
};
|
|
8793
8793
|
if (d === "rtl") {
|
|
8794
|
-
|
|
8794
|
+
C0.unicodeBidi = "embed";
|
|
8795
8795
|
let r2 = v[e.type];
|
|
8796
|
-
(r2 === "numeric" || r2 === "2-digit") && (
|
|
8796
|
+
(r2 === "numeric" || r2 === "2-digit") && (C0.direction = "ltr");
|
|
8797
8797
|
}
|
|
8798
8798
|
return {
|
|
8799
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(S,
|
|
8799
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(S, S0, {
|
|
8800
8800
|
id: G,
|
|
8801
8801
|
...W,
|
|
8802
8802
|
"aria-invalid": r.isInvalid ? "true" : void 0,
|
|
@@ -8812,7 +8812,7 @@ let __tla = Promise.all([
|
|
|
8812
8812
|
tabIndex: r.isDisabled ? void 0 : 0,
|
|
8813
8813
|
onKeyDown: E,
|
|
8814
8814
|
onFocus: B,
|
|
8815
|
-
style:
|
|
8815
|
+
style: C0,
|
|
8816
8816
|
onPointerDown(e2) {
|
|
8817
8817
|
e2.stopPropagation();
|
|
8818
8818
|
},
|
|
@@ -9537,7 +9537,7 @@ let __tla = Promise.all([
|
|
|
9537
9537
|
});
|
|
9538
9538
|
}
|
|
9539
9539
|
}, NavMenuComponent = (e) => {
|
|
9540
|
-
let r = (0, import_compiler_runtime$94.c)(13), { items: c, orientation: l } = e, u = _temp$32, d = _temp2$
|
|
9540
|
+
let r = (0, import_compiler_runtime$94.c)(13), { items: c, orientation: l } = e, u = _temp$32, d = _temp2$21, f = _temp3$16, p;
|
|
9541
9541
|
r[0] === l ? p = r[1] : (p = (e2) => "items" in e2 ? l === "horizontal" ? (0, import_jsx_runtime.jsx)(NavigationMenu, {
|
|
9542
9542
|
orientation: "horizontal",
|
|
9543
9543
|
children: (0, import_jsx_runtime.jsx)(NavigationMenuList, {
|
|
@@ -9662,7 +9662,7 @@ let __tla = Promise.all([
|
|
|
9662
9662
|
children: e
|
|
9663
9663
|
}) : e;
|
|
9664
9664
|
}
|
|
9665
|
-
function _temp2$
|
|
9665
|
+
function _temp2$21(e) {
|
|
9666
9666
|
return e.startsWith("http") ? "_blank" : "_self";
|
|
9667
9667
|
}
|
|
9668
9668
|
function _temp3$16(e) {
|
|
@@ -10090,7 +10090,7 @@ let __tla = Promise.all([
|
|
|
10090
10090
|
v,
|
|
10091
10091
|
p,
|
|
10092
10092
|
m
|
|
10093
|
-
]), Z = e.isInvalid || e.validationState === "invalid" || q,
|
|
10093
|
+
]), Z = e.isInvalid || e.validationState === "invalid" || q, S0 = Z ? "invalid" : null;
|
|
10094
10094
|
return {
|
|
10095
10095
|
...j,
|
|
10096
10096
|
value: g,
|
|
@@ -10098,7 +10098,7 @@ let __tla = Promise.all([
|
|
|
10098
10098
|
anchorDate: v,
|
|
10099
10099
|
setAnchorDate: R,
|
|
10100
10100
|
highlightedRange: z,
|
|
10101
|
-
validationState:
|
|
10101
|
+
validationState: S0,
|
|
10102
10102
|
isValueInvalid: Z,
|
|
10103
10103
|
selectFocusedDate() {
|
|
10104
10104
|
B(j.focusedDate);
|
|
@@ -11320,9 +11320,9 @@ let __tla = Promise.all([
|
|
|
11320
11320
|
e.maxGranularity,
|
|
11321
11321
|
_,
|
|
11322
11322
|
S
|
|
11323
|
-
]), [G, q] = (0, import_react.useState)(O), [Z,
|
|
11324
|
-
(O !== G || S !==
|
|
11325
|
-
let
|
|
11323
|
+
]), [G, q] = (0, import_react.useState)(O), [Z, S0] = (0, import_react.useState)(b), [C0, w0] = (0, import_react.useState)(S);
|
|
11324
|
+
(O !== G || S !== C0 || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(b, Z)) && (j = new $f863c03ccd9aead0$export$ae165b50d181e1ef(b, S, O), q(O), S0(b), w0(S), M(j));
|
|
11325
|
+
let T0 = (r2) => {
|
|
11326
11326
|
if (!(e.isDisabled || e.isReadOnly)) if (r2 == null || r2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && r2.isCleared(W)) M(new $f863c03ccd9aead0$export$ae165b50d181e1ef(b, S, O)), T(null);
|
|
11327
11327
|
else if (!(r2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) r2 = $11d87f3f76e88657$export$b4a036af3fc0b032(r2, (g == null ? void 0 : g.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), M(new $f863c03ccd9aead0$export$ae165b50d181e1ef(b, S, O)), T(r2);
|
|
11328
11328
|
else {
|
|
@@ -11338,70 +11338,70 @@ let __tla = Promise.all([
|
|
|
11338
11338
|
}
|
|
11339
11339
|
M(r2);
|
|
11340
11340
|
}
|
|
11341
|
-
},
|
|
11341
|
+
}, E0 = (0, import_react.useMemo)(() => j.toValue(O ?? H).toDate(y), [
|
|
11342
11342
|
j,
|
|
11343
11343
|
y,
|
|
11344
11344
|
O,
|
|
11345
11345
|
H
|
|
11346
|
-
]),
|
|
11347
|
-
|
|
11346
|
+
]), D0 = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(E0, j, z, B, b, r, _), [
|
|
11347
|
+
E0,
|
|
11348
11348
|
z,
|
|
11349
11349
|
B,
|
|
11350
11350
|
j,
|
|
11351
11351
|
b,
|
|
11352
11352
|
r,
|
|
11353
11353
|
_
|
|
11354
|
-
]),
|
|
11355
|
-
|
|
11356
|
-
},
|
|
11354
|
+
]), O0 = (e2, r2) => {
|
|
11355
|
+
T0(j.cycle(e2, r2, H, W));
|
|
11356
|
+
}, k0 = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(w, p, m, h, L), [
|
|
11357
11357
|
w,
|
|
11358
11358
|
p,
|
|
11359
11359
|
m,
|
|
11360
11360
|
h,
|
|
11361
11361
|
L
|
|
11362
|
-
]),
|
|
11362
|
+
]), A0 = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11363
11363
|
...e,
|
|
11364
11364
|
value: w,
|
|
11365
|
-
builtinValidation:
|
|
11366
|
-
}),
|
|
11365
|
+
builtinValidation: k0
|
|
11366
|
+
}), j0 = A0.displayValidation.isInvalid, M0 = e.validationState || (j0 ? "invalid" : null);
|
|
11367
11367
|
return {
|
|
11368
|
-
...
|
|
11368
|
+
...A0,
|
|
11369
11369
|
value: O,
|
|
11370
11370
|
defaultValue: e.defaultValue ?? E,
|
|
11371
|
-
dateValue:
|
|
11371
|
+
dateValue: E0,
|
|
11372
11372
|
calendar: b,
|
|
11373
|
-
setValue:
|
|
11374
|
-
segments:
|
|
11373
|
+
setValue: T0,
|
|
11374
|
+
segments: D0,
|
|
11375
11375
|
dateFormatter: z,
|
|
11376
|
-
validationState:
|
|
11377
|
-
isInvalid:
|
|
11376
|
+
validationState: M0,
|
|
11377
|
+
isInvalid: j0,
|
|
11378
11378
|
granularity: _,
|
|
11379
11379
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11380
11380
|
isDisabled: u,
|
|
11381
11381
|
isReadOnly: d,
|
|
11382
11382
|
isRequired: f,
|
|
11383
11383
|
increment(e2) {
|
|
11384
|
-
|
|
11384
|
+
O0(e2, 1);
|
|
11385
11385
|
},
|
|
11386
11386
|
decrement(e2) {
|
|
11387
|
-
|
|
11387
|
+
O0(e2, -1);
|
|
11388
11388
|
},
|
|
11389
11389
|
incrementPage(e2) {
|
|
11390
|
-
|
|
11390
|
+
O0(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11391
11391
|
},
|
|
11392
11392
|
decrementPage(e2) {
|
|
11393
|
-
|
|
11393
|
+
O0(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11394
11394
|
},
|
|
11395
11395
|
incrementToMax(e2) {
|
|
11396
11396
|
let r2 = e2 === "hour" && S === "h12" ? 11 : j.getSegmentLimits(e2).maxValue;
|
|
11397
|
-
|
|
11397
|
+
T0(j.set(e2, r2, H));
|
|
11398
11398
|
},
|
|
11399
11399
|
decrementToMin(e2) {
|
|
11400
11400
|
let r2 = e2 === "hour" && S === "h12" ? 12 : j.getSegmentLimits(e2).minValue;
|
|
11401
|
-
|
|
11401
|
+
T0(j.set(e2, r2, H));
|
|
11402
11402
|
},
|
|
11403
11403
|
setSegment(e2, r2) {
|
|
11404
|
-
|
|
11404
|
+
T0(j.set(e2, r2, H));
|
|
11405
11405
|
},
|
|
11406
11406
|
confirmPlaceholder() {
|
|
11407
11407
|
if (!(e.isDisabled || e.isReadOnly) && j.isComplete(W)) {
|
|
@@ -11411,10 +11411,10 @@ let __tla = Promise.all([
|
|
|
11411
11411
|
},
|
|
11412
11412
|
clearSegment(e2) {
|
|
11413
11413
|
let r2 = j;
|
|
11414
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (r2 = j.clear(e2)),
|
|
11414
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (r2 = j.clear(e2)), T0(r2);
|
|
11415
11415
|
},
|
|
11416
11416
|
formatValue(e2) {
|
|
11417
|
-
return O ? new $fb18d541ea1ad717$export$ad991b66133851cf(r, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, L)).format(
|
|
11417
|
+
return O ? new $fb18d541ea1ad717$export$ad991b66133851cf(r, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, L)).format(E0) : "";
|
|
11418
11418
|
},
|
|
11419
11419
|
getDateFormatter(e2, r2) {
|
|
11420
11420
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -13569,7 +13569,7 @@ let __tla = Promise.all([
|
|
|
13569
13569
|
};
|
|
13570
13570
|
}
|
|
13571
13571
|
};
|
|
13572
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
13572
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-Cf4tuQ8s.js").then((e) => ({
|
|
13573
13573
|
default: e.Chatbot
|
|
13574
13574
|
}))), messageSchema = array(object({
|
|
13575
13575
|
id: string(),
|
|
@@ -13643,7 +13643,7 @@ let __tla = Promise.all([
|
|
|
13643
13643
|
r[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (0, import_jsx_runtime.jsx)(TableHeader, {
|
|
13644
13644
|
children: Array.from({
|
|
13645
13645
|
length: 1
|
|
13646
|
-
}).map(_temp2$
|
|
13646
|
+
}).map(_temp2$20)
|
|
13647
13647
|
}), r[4] = g) : g = r[4];
|
|
13648
13648
|
let _;
|
|
13649
13649
|
r[5] === d ? _ = r[6] : (_ = (0, import_jsx_runtime.jsxs)(Table, {
|
|
@@ -13682,7 +13682,7 @@ let __tla = Promise.all([
|
|
|
13682
13682
|
})
|
|
13683
13683
|
}, r);
|
|
13684
13684
|
}
|
|
13685
|
-
function _temp2$
|
|
13685
|
+
function _temp2$20(e, r) {
|
|
13686
13686
|
return (0, import_jsx_runtime.jsx)(TableRow, {
|
|
13687
13687
|
children: Array.from({
|
|
13688
13688
|
length: 8
|
|
@@ -13713,7 +13713,7 @@ let __tla = Promise.all([
|
|
|
13713
13713
|
"time",
|
|
13714
13714
|
"unknown"
|
|
13715
13715
|
];
|
|
13716
|
-
var import_compiler_runtime$85 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-
|
|
13716
|
+
var import_compiler_runtime$85 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BK9s_dqy.js").then(async (m) => {
|
|
13717
13717
|
await m.__tla;
|
|
13718
13718
|
return m;
|
|
13719
13719
|
}));
|
|
@@ -14752,10 +14752,10 @@ let __tla = Promise.all([
|
|
|
14752
14752
|
}, H = () => {
|
|
14753
14753
|
for (let e2 of p.unMount) {
|
|
14754
14754
|
let r2 = get(l, e2);
|
|
14755
|
-
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) &&
|
|
14755
|
+
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) && M0(e2);
|
|
14756
14756
|
}
|
|
14757
14757
|
p.unMount = /* @__PURE__ */ new Set();
|
|
14758
|
-
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(
|
|
14758
|
+
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(D0(), u)), G = (e2, r2, c2) => generateWatchOutput(e2, p, {
|
|
14759
14759
|
...f.mount ? d : isUndefined(r2) ? u : isString(e2) ? {
|
|
14760
14760
|
[e2]: r2
|
|
14761
14761
|
} : r2
|
|
@@ -14772,13 +14772,13 @@ let __tla = Promise.all([
|
|
|
14772
14772
|
}
|
|
14773
14773
|
})));
|
|
14774
14774
|
}
|
|
14775
|
-
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate &&
|
|
14776
|
-
},
|
|
14775
|
+
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate && E0(e2);
|
|
14776
|
+
}, S0 = (e2, r2, c2) => {
|
|
14777
14777
|
for (let u2 in r2) {
|
|
14778
14778
|
let d2 = r2[u2], f2 = `${e2}.${u2}`, m2 = get(l, f2);
|
|
14779
|
-
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ?
|
|
14779
|
+
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ? S0(f2, d2, c2) : Z(f2, d2, c2);
|
|
14780
14780
|
}
|
|
14781
|
-
},
|
|
14781
|
+
}, C0 = (e2, r2, m2 = {}) => {
|
|
14782
14782
|
let h2 = get(l, e2), v2 = p.array.has(e2), y2 = cloneObject(r2);
|
|
14783
14783
|
set(d, e2, y2), v2 ? (_.array.next({
|
|
14784
14784
|
name: e2,
|
|
@@ -14789,7 +14789,7 @@ let __tla = Promise.all([
|
|
|
14789
14789
|
name: e2,
|
|
14790
14790
|
dirtyFields: getDirtyFields(u, d),
|
|
14791
14791
|
isDirty: W(e2, y2)
|
|
14792
|
-
})) : h2 && !h2._f && !isNullOrUndefined(y2) ?
|
|
14792
|
+
})) : h2 && !h2._f && !isNullOrUndefined(y2) ? S0(e2, y2, m2) : Z(e2, y2, m2), isWatched(e2, p) && _.state.next({
|
|
14793
14793
|
...c
|
|
14794
14794
|
}), _.values.next({
|
|
14795
14795
|
name: f.mount ? e2 : void 0,
|
|
@@ -14797,7 +14797,7 @@ let __tla = Promise.all([
|
|
|
14797
14797
|
...d
|
|
14798
14798
|
}
|
|
14799
14799
|
});
|
|
14800
|
-
},
|
|
14800
|
+
}, w0 = async (e2) => {
|
|
14801
14801
|
f.mount = true;
|
|
14802
14802
|
let u2 = e2.target, h2 = u2.name, S2 = true, E2 = get(l, h2), O2 = () => u2.type ? getFieldValue(E2._f) : getEventValue(e2), j2 = (e3) => {
|
|
14803
14803
|
S2 = Number.isNaN(e3) || isDateObject(e3) && isNaN(e3.getTime()) || deepEqual(e3, get(d, h2, e3));
|
|
@@ -14831,11 +14831,11 @@ let __tla = Promise.all([
|
|
|
14831
14831
|
], true), u3 = (await validateField(E2, p.disabled, d, b, r.shouldUseNativeValidation))[h2], T([
|
|
14832
14832
|
h2
|
|
14833
14833
|
]), j2(M2), S2 && (u3 ? f2 = false : g.isValid && (f2 = await B(l, true)));
|
|
14834
|
-
S2 && (E2._f.deps &&
|
|
14834
|
+
S2 && (E2._f.deps && E0(E2._f.deps), L(h2, f2, u3, G2));
|
|
14835
14835
|
}
|
|
14836
|
-
},
|
|
14836
|
+
}, T0 = (e2, r2) => {
|
|
14837
14837
|
if (get(c.errors, r2) && e2.focus) return e2.focus(), 1;
|
|
14838
|
-
},
|
|
14838
|
+
}, E0 = async (e2, u2 = {}) => {
|
|
14839
14839
|
let d2, f2, m2 = convertToArrayPayload(e2);
|
|
14840
14840
|
if (r.resolver) {
|
|
14841
14841
|
let r2 = await z(isUndefined(e2) ? e2 : m2);
|
|
@@ -14854,23 +14854,23 @@ let __tla = Promise.all([
|
|
|
14854
14854
|
isValid: d2
|
|
14855
14855
|
} : {},
|
|
14856
14856
|
errors: c.errors
|
|
14857
|
-
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l,
|
|
14858
|
-
},
|
|
14857
|
+
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l, T0, e2 ? m2 : p.mount), f2;
|
|
14858
|
+
}, D0 = (e2) => {
|
|
14859
14859
|
let r2 = {
|
|
14860
14860
|
...f.mount ? d : u
|
|
14861
14861
|
};
|
|
14862
14862
|
return isUndefined(e2) ? r2 : isString(e2) ? get(r2, e2) : e2.map((e3) => get(r2, e3));
|
|
14863
|
-
},
|
|
14863
|
+
}, O0 = (e2, r2) => ({
|
|
14864
14864
|
invalid: !!get((r2 || c).errors, e2),
|
|
14865
14865
|
isDirty: !!get((r2 || c).dirtyFields, e2),
|
|
14866
14866
|
error: get((r2 || c).errors, e2),
|
|
14867
14867
|
isValidating: !!get(c.validatingFields, e2),
|
|
14868
14868
|
isTouched: !!get((r2 || c).touchedFields, e2)
|
|
14869
|
-
}),
|
|
14869
|
+
}), k0 = (e2) => {
|
|
14870
14870
|
e2 && convertToArrayPayload(e2).forEach((e3) => unset(c.errors, e3)), _.state.next({
|
|
14871
14871
|
errors: e2 ? c.errors : {}
|
|
14872
14872
|
});
|
|
14873
|
-
},
|
|
14873
|
+
}, A0 = (e2, r2, u2) => {
|
|
14874
14874
|
let d2 = (get(l, e2, {
|
|
14875
14875
|
_f: {}
|
|
14876
14876
|
})._f || {}).ref, { ref: f2, message: p2, type: m2, ...h2 } = get(c.errors, e2) || {};
|
|
@@ -14883,9 +14883,9 @@ let __tla = Promise.all([
|
|
|
14883
14883
|
errors: c.errors,
|
|
14884
14884
|
isValid: false
|
|
14885
14885
|
}), u2 && u2.shouldFocus && d2 && d2.focus && d2.focus();
|
|
14886
|
-
},
|
|
14886
|
+
}, j0 = (e2, r2) => isFunction$1(e2) ? _.values.subscribe({
|
|
14887
14887
|
next: (c2) => e2(G(void 0, r2), c2)
|
|
14888
|
-
}) : G(e2, r2, true),
|
|
14888
|
+
}) : G(e2, r2, true), M0 = (e2, f2 = {}) => {
|
|
14889
14889
|
for (let m2 of e2 ? convertToArrayPayload(e2) : p.mount) p.mount.delete(m2), p.array.delete(m2), f2.keepValue || (unset(l, m2), unset(d, m2)), !f2.keepError && unset(c.errors, m2), !f2.keepDirty && unset(c.dirtyFields, m2), !f2.keepTouched && unset(c.touchedFields, m2), !f2.keepIsValidating && unset(c.validatingFields, m2), !r.shouldUnregister && !f2.keepDefaultValue && unset(u, m2);
|
|
14890
14890
|
_.values.next({
|
|
14891
14891
|
values: {
|
|
@@ -14897,9 +14897,9 @@ let __tla = Promise.all([
|
|
|
14897
14897
|
isDirty: W()
|
|
14898
14898
|
} : {}
|
|
14899
14899
|
}), !f2.keepIsValid && w();
|
|
14900
|
-
},
|
|
14900
|
+
}, N0 = ({ disabled: e2, name: r2, field: c2, fields: l2 }) => {
|
|
14901
14901
|
(isBoolean(e2) && f.mount || e2 || p.disabled.has(r2)) && (e2 ? p.disabled.add(r2) : p.disabled.delete(r2), I(r2, getFieldValue(c2 ? c2._f : get(l2, r2)._f), false, false, true));
|
|
14902
|
-
},
|
|
14902
|
+
}, P0 = (e2, c2 = {}) => {
|
|
14903
14903
|
let d2 = get(l, e2), m2 = isBoolean(c2.disabled) || isBoolean(r.disabled);
|
|
14904
14904
|
return set(l, e2, {
|
|
14905
14905
|
...d2 || {},
|
|
@@ -14913,7 +14913,7 @@ let __tla = Promise.all([
|
|
|
14913
14913
|
mount: true,
|
|
14914
14914
|
...c2
|
|
14915
14915
|
}
|
|
14916
|
-
}), p.mount.add(e2), d2 ?
|
|
14916
|
+
}), p.mount.add(e2), d2 ? N0({
|
|
14917
14917
|
field: d2,
|
|
14918
14918
|
disabled: isBoolean(c2.disabled) ? c2.disabled : r.disabled,
|
|
14919
14919
|
name: e2
|
|
@@ -14930,11 +14930,11 @@ let __tla = Promise.all([
|
|
|
14930
14930
|
pattern: getRuleValue(c2.pattern)
|
|
14931
14931
|
} : {},
|
|
14932
14932
|
name: e2,
|
|
14933
|
-
onChange:
|
|
14934
|
-
onBlur:
|
|
14933
|
+
onChange: w0,
|
|
14934
|
+
onBlur: w0,
|
|
14935
14935
|
ref: (m3) => {
|
|
14936
14936
|
if (m3) {
|
|
14937
|
-
|
|
14937
|
+
P0(e2, c2), d2 = get(l, e2);
|
|
14938
14938
|
let r2 = isUndefined(m3.value) && m3.querySelectorAll && m3.querySelectorAll("input,select,textarea")[0] || m3, f2 = isRadioOrCheckbox(r2), p2 = d2._f.refs || [];
|
|
14939
14939
|
if (f2 ? p2.find((e3) => e3 === r2) : r2 === d2._f.ref) return;
|
|
14940
14940
|
set(l, e2, {
|
|
@@ -14960,7 +14960,7 @@ let __tla = Promise.all([
|
|
|
14960
14960
|
} else d2 = get(l, e2, {}), d2._f && (d2._f.mount = false), (r.shouldUnregister || c2.shouldUnregister) && !(isNameInFieldArray(p.array, e2) && f.action) && p.unMount.add(e2);
|
|
14961
14961
|
}
|
|
14962
14962
|
};
|
|
14963
|
-
},
|
|
14963
|
+
}, F0 = () => r.shouldFocusError && iterateFieldsByAction(l, T0, p.mount), I0 = (e2) => {
|
|
14964
14964
|
isBoolean(e2) && (_.state.next({
|
|
14965
14965
|
disabled: e2
|
|
14966
14966
|
}), iterateFieldsByAction(l, (r2, c2) => {
|
|
@@ -14969,7 +14969,7 @@ let __tla = Promise.all([
|
|
|
14969
14969
|
r3.disabled = u2._f.disabled || e2;
|
|
14970
14970
|
}));
|
|
14971
14971
|
}, 0, false));
|
|
14972
|
-
},
|
|
14972
|
+
}, L0 = (e2, u2) => async (f2) => {
|
|
14973
14973
|
let m2;
|
|
14974
14974
|
f2 && (f2.preventDefault && f2.preventDefault(), f2.persist && f2.persist());
|
|
14975
14975
|
let h2 = cloneObject(d);
|
|
@@ -14991,7 +14991,7 @@ let __tla = Promise.all([
|
|
|
14991
14991
|
}
|
|
14992
14992
|
} else u2 && await u2({
|
|
14993
14993
|
...c.errors
|
|
14994
|
-
}, f2),
|
|
14994
|
+
}, f2), F0(), setTimeout(F0);
|
|
14995
14995
|
if (_.state.next({
|
|
14996
14996
|
isSubmitted: true,
|
|
14997
14997
|
isSubmitting: false,
|
|
@@ -14999,11 +14999,11 @@ let __tla = Promise.all([
|
|
|
14999
14999
|
submitCount: c.submitCount + 1,
|
|
15000
15000
|
errors: c.errors
|
|
15001
15001
|
}), m2) throw m2;
|
|
15002
|
-
},
|
|
15003
|
-
get(l, e2) && (isUndefined(r2.defaultValue) ?
|
|
15002
|
+
}, R0 = (e2, r2 = {}) => {
|
|
15003
|
+
get(l, e2) && (isUndefined(r2.defaultValue) ? C0(e2, cloneObject(get(u, e2))) : (C0(e2, r2.defaultValue), set(u, e2, cloneObject(r2.defaultValue))), r2.keepTouched || unset(c.touchedFields, e2), r2.keepDirty || (unset(c.dirtyFields, e2), c.isDirty = r2.defaultValue ? W(e2, cloneObject(get(u, e2))) : W()), r2.keepError || (unset(c.errors, e2), g.isValid && w()), _.state.next({
|
|
15004
15004
|
...c
|
|
15005
15005
|
}));
|
|
15006
|
-
},
|
|
15006
|
+
}, z0 = (e2, m2 = {}) => {
|
|
15007
15007
|
let h2 = e2 ? cloneObject(e2) : u, v2 = cloneObject(h2), y2 = isEmptyObject(e2), b2 = y2 ? u : v2;
|
|
15008
15008
|
if (m2.keepDefaultValues || (u = h2), !m2.keepValues) {
|
|
15009
15009
|
if (m2.keepDirtyValues) {
|
|
@@ -15011,7 +15011,7 @@ let __tla = Promise.all([
|
|
|
15011
15011
|
...p.mount,
|
|
15012
15012
|
...Object.keys(getDirtyFields(u, d))
|
|
15013
15013
|
]);
|
|
15014
|
-
for (let r2 of Array.from(e3)) get(c.dirtyFields, r2) ? set(b2, r2, get(d, r2)) :
|
|
15014
|
+
for (let r2 of Array.from(e3)) get(c.dirtyFields, r2) ? set(b2, r2, get(d, r2)) : C0(r2, get(b2, r2));
|
|
15015
15015
|
} else {
|
|
15016
15016
|
if (isWeb && isUndefined(e2)) for (let e3 of p.mount) {
|
|
15017
15017
|
let r2 = get(l, e3);
|
|
@@ -15056,25 +15056,25 @@ let __tla = Promise.all([
|
|
|
15056
15056
|
isSubmitSuccessful: m2.keepIsSubmitSuccessful ? c.isSubmitSuccessful : false,
|
|
15057
15057
|
isSubmitting: false
|
|
15058
15058
|
});
|
|
15059
|
-
},
|
|
15059
|
+
}, B0 = (e2, r2) => z0(isFunction$1(e2) ? e2(d) : e2, r2);
|
|
15060
15060
|
return {
|
|
15061
15061
|
control: {
|
|
15062
|
-
register:
|
|
15063
|
-
unregister:
|
|
15064
|
-
getFieldState:
|
|
15065
|
-
handleSubmit:
|
|
15066
|
-
setError:
|
|
15062
|
+
register: P0,
|
|
15063
|
+
unregister: M0,
|
|
15064
|
+
getFieldState: O0,
|
|
15065
|
+
handleSubmit: L0,
|
|
15066
|
+
setError: A0,
|
|
15067
15067
|
_executeSchema: R,
|
|
15068
15068
|
_getWatch: G,
|
|
15069
15069
|
_getDirty: W,
|
|
15070
15070
|
_updateValid: w,
|
|
15071
15071
|
_removeUnmounted: H,
|
|
15072
15072
|
_updateFieldArray: E,
|
|
15073
|
-
_updateDisabledField:
|
|
15073
|
+
_updateDisabledField: N0,
|
|
15074
15074
|
_getFieldArray: q,
|
|
15075
|
-
_reset:
|
|
15075
|
+
_reset: z0,
|
|
15076
15076
|
_resetDefaultValues: () => isFunction$1(r.defaultValues) && r.defaultValues().then((e2) => {
|
|
15077
|
-
|
|
15077
|
+
B0(e2, r.resetOptions), _.state.next({
|
|
15078
15078
|
isLoading: false
|
|
15079
15079
|
});
|
|
15080
15080
|
}),
|
|
@@ -15084,7 +15084,7 @@ let __tla = Promise.all([
|
|
|
15084
15084
|
...e2
|
|
15085
15085
|
};
|
|
15086
15086
|
},
|
|
15087
|
-
_disableForm:
|
|
15087
|
+
_disableForm: I0,
|
|
15088
15088
|
_subjects: _,
|
|
15089
15089
|
_proxyFormState: g,
|
|
15090
15090
|
_setErrors: j,
|
|
@@ -15125,17 +15125,17 @@ let __tla = Promise.all([
|
|
|
15125
15125
|
};
|
|
15126
15126
|
}
|
|
15127
15127
|
},
|
|
15128
|
-
trigger:
|
|
15129
|
-
register:
|
|
15130
|
-
handleSubmit:
|
|
15131
|
-
watch:
|
|
15132
|
-
setValue:
|
|
15133
|
-
getValues:
|
|
15134
|
-
reset:
|
|
15135
|
-
resetField:
|
|
15136
|
-
clearErrors:
|
|
15137
|
-
unregister:
|
|
15138
|
-
setError:
|
|
15128
|
+
trigger: E0,
|
|
15129
|
+
register: P0,
|
|
15130
|
+
handleSubmit: L0,
|
|
15131
|
+
watch: j0,
|
|
15132
|
+
setValue: C0,
|
|
15133
|
+
getValues: D0,
|
|
15134
|
+
reset: B0,
|
|
15135
|
+
resetField: R0,
|
|
15136
|
+
clearErrors: k0,
|
|
15137
|
+
unregister: M0,
|
|
15138
|
+
setError: A0,
|
|
15139
15139
|
setFocus: (e2, r2 = {}) => {
|
|
15140
15140
|
let c2 = get(l, e2), u2 = c2 && c2._f;
|
|
15141
15141
|
if (u2) {
|
|
@@ -15143,7 +15143,7 @@ let __tla = Promise.all([
|
|
|
15143
15143
|
e3.focus && (e3.focus(), r2.shouldSelect && isFunction$1(e3.select) && e3.select());
|
|
15144
15144
|
}
|
|
15145
15145
|
},
|
|
15146
|
-
getFieldState:
|
|
15146
|
+
getFieldState: O0
|
|
15147
15147
|
};
|
|
15148
15148
|
}
|
|
15149
15149
|
function useForm(e = {}) {
|
|
@@ -18308,21 +18308,21 @@ ${c}
|
|
|
18308
18308
|
}), H = U(), W = U(), G = C(0), q = C(null), Z = C({
|
|
18309
18309
|
column: 0,
|
|
18310
18310
|
row: 0
|
|
18311
|
-
}),
|
|
18312
|
-
Y(x(b, $(
|
|
18313
|
-
D(
|
|
18314
|
-
}), Y(x(ut(b,
|
|
18315
|
-
D(
|
|
18311
|
+
}), S0 = U(), C0 = U(), w0 = C(false), T0 = C(0), E0 = C(true), D0 = C(false), O0 = C(false);
|
|
18312
|
+
Y(x(b, $(T0), P(([e2, r2]) => !!r2)), () => {
|
|
18313
|
+
D(E0, false);
|
|
18314
|
+
}), Y(x(ut(b, E0, B, z, T0, D0), P(([e2, r2, c2, l2, , u2]) => e2 && !r2 && c2.height !== 0 && l2.height !== 0 && !u2)), ([, , , , e2]) => {
|
|
18315
|
+
D(D0, true), Ue(1, () => {
|
|
18316
18316
|
D(H, e2);
|
|
18317
18317
|
}), Et(x(h), () => {
|
|
18318
18318
|
D(r, [
|
|
18319
18319
|
0,
|
|
18320
18320
|
0
|
|
18321
|
-
]), D(
|
|
18321
|
+
]), D(E0, true);
|
|
18322
18322
|
});
|
|
18323
|
-
}), F(x(
|
|
18324
|
-
e2 && (D(z, e2.viewport), D(B, e2.item), D(Z, e2.gap), e2.scrollTop > 0 && (D(
|
|
18325
|
-
D(
|
|
18323
|
+
}), F(x(C0, P((e2) => e2 != null && e2.scrollTop > 0), Ft(0)), L), Y(x(b, $(C0), P(([, e2]) => e2 != null)), ([, e2]) => {
|
|
18324
|
+
e2 && (D(z, e2.viewport), D(B, e2.item), D(Z, e2.gap), e2.scrollTop > 0 && (D(w0, true), Et(x(h, Kt(1)), (e3) => {
|
|
18325
|
+
D(w0, false);
|
|
18326
18326
|
}), D(m, {
|
|
18327
18327
|
top: e2.scrollTop
|
|
18328
18328
|
})));
|
|
@@ -18331,7 +18331,7 @@ ${c}
|
|
|
18331
18331
|
item: r2,
|
|
18332
18332
|
scrollTop: l2,
|
|
18333
18333
|
viewport: e2
|
|
18334
|
-
}))),
|
|
18334
|
+
}))), S0), F(x(ut(V(I), l, V(Z, Or), V(B, xe), V(z, xe), V(q), V(L), V(w0), V(E0), V(T0)), P(([, , , , , , , e2]) => !e2), k(([e2, [r2, c2], l2, u2, d2, f2, p2, , m2, h2]) => {
|
|
18335
18335
|
let { column: g2, row: _2 } = l2, { height: v2, width: y2 } = u2, { width: b2 } = d2;
|
|
18336
18336
|
if (p2 === 0 && (e2 === 0 || b2 === 0)) return bn;
|
|
18337
18337
|
if (y2 === 0) {
|
|
@@ -18357,16 +18357,16 @@ ${c}
|
|
|
18357
18357
|
u2
|
|
18358
18358
|
];
|
|
18359
18359
|
}), J(ce)), r);
|
|
18360
|
-
let
|
|
18361
|
-
F(x(h, $(
|
|
18362
|
-
let
|
|
18360
|
+
let k0 = C(false);
|
|
18361
|
+
F(x(h, $(k0), k(([e2, r2]) => r2 || e2 !== 0)), k0);
|
|
18362
|
+
let A0 = bt(x(ut(R, I), P(([{ items: e2 }]) => e2.length > 0), $(k0), P(([[e2, r2], c2]) => {
|
|
18363
18363
|
let l2 = e2.items[e2.items.length - 1].index === r2 - 1;
|
|
18364
18364
|
return (c2 || e2.bottom > 0 && e2.itemHeight > 0 && e2.offsetBottom === 0 && e2.items.length === r2) && l2;
|
|
18365
|
-
}), k(([[, e2]]) => e2 - 1), J())),
|
|
18365
|
+
}), k(([[, e2]]) => e2 - 1), J())), j0 = bt(x(V(R), P(({ items: e2 }) => e2.length > 0 && e2[0].index === 0), Ft(0), J())), M0 = bt(x(V(R), $(w0), P(([{ items: e2 }, r2]) => e2.length > 0 && !r2), k(([{ items: e2 }]) => ({
|
|
18366
18366
|
endIndex: e2[e2.length - 1].index,
|
|
18367
18367
|
startIndex: e2[0].index
|
|
18368
18368
|
})), J(An), Gt(0)));
|
|
18369
|
-
F(
|
|
18369
|
+
F(M0, y.scrollSeekRangeChanged), F(x(H, $(z, B, I, Z), k(([e2, r2, c2, l2, u2]) => {
|
|
18370
18370
|
let d2 = $n(e2), { align: f2, behavior: p2, offset: m2 } = d2, h2 = d2.index;
|
|
18371
18371
|
h2 === "LAST" && (h2 = l2 - 1), h2 = re(0, h2, Oe(l2 - 1, h2));
|
|
18372
18372
|
let g2 = Me(r2, u2, c2, h2);
|
|
@@ -18375,7 +18375,7 @@ ${c}
|
|
|
18375
18375
|
top: g2
|
|
18376
18376
|
};
|
|
18377
18377
|
})), m);
|
|
18378
|
-
let
|
|
18378
|
+
let N0 = ht(x(R, k((e2) => e2.offsetBottom + e2.bottom)), 0);
|
|
18379
18379
|
return F(x(j, k((e2) => ({
|
|
18380
18380
|
height: e2.visibleHeight,
|
|
18381
18381
|
width: e2.visibleWidth
|
|
@@ -18390,7 +18390,7 @@ ${c}
|
|
|
18390
18390
|
initialItemCount: L,
|
|
18391
18391
|
itemDimensions: B,
|
|
18392
18392
|
overscan: c,
|
|
18393
|
-
restoreStateFrom:
|
|
18393
|
+
restoreStateFrom: C0,
|
|
18394
18394
|
scrollBy: f,
|
|
18395
18395
|
scrollContainerState: p,
|
|
18396
18396
|
scrollHeight: W,
|
|
@@ -18406,16 +18406,16 @@ ${c}
|
|
|
18406
18406
|
windowViewportRect: j,
|
|
18407
18407
|
...y,
|
|
18408
18408
|
gridState: R,
|
|
18409
|
-
horizontalDirection:
|
|
18410
|
-
initialTopMostItemIndex:
|
|
18411
|
-
totalListHeight:
|
|
18409
|
+
horizontalDirection: O0,
|
|
18410
|
+
initialTopMostItemIndex: T0,
|
|
18411
|
+
totalListHeight: N0,
|
|
18412
18412
|
...v,
|
|
18413
|
-
endReached:
|
|
18413
|
+
endReached: A0,
|
|
18414
18414
|
propsReady: S,
|
|
18415
|
-
rangeChanged:
|
|
18416
|
-
startReached:
|
|
18417
|
-
stateChanged:
|
|
18418
|
-
stateRestoreInProgress:
|
|
18415
|
+
rangeChanged: M0,
|
|
18416
|
+
startReached: j0,
|
|
18417
|
+
stateChanged: S0,
|
|
18418
|
+
stateRestoreInProgress: w0,
|
|
18419
18419
|
...M
|
|
18420
18420
|
};
|
|
18421
18421
|
}, tt(je, It, he, Zn, _t, qe, Wt));
|
|
@@ -18745,7 +18745,7 @@ ${c}
|
|
|
18745
18745
|
}) : r2;
|
|
18746
18746
|
}
|
|
18747
18747
|
});
|
|
18748
|
-
let e2 = y.map(_temp2$
|
|
18748
|
+
let e2 = y.map(_temp2$19);
|
|
18749
18749
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18750
18750
|
children: [
|
|
18751
18751
|
j,
|
|
@@ -18783,7 +18783,7 @@ ${c}
|
|
|
18783
18783
|
function _temp$26(e) {
|
|
18784
18784
|
return e !== SELECT_ALL_KEY && e !== DESELECT_ALL_KEY;
|
|
18785
18785
|
}
|
|
18786
|
-
function _temp2$
|
|
18786
|
+
function _temp2$19(e) {
|
|
18787
18787
|
return (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
18788
18788
|
value: e,
|
|
18789
18789
|
children: e
|
|
@@ -19151,7 +19151,7 @@ ${c}
|
|
|
19151
19151
|
}),
|
|
19152
19152
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
19153
19153
|
children: (0, import_jsx_runtime.jsx)(SelectGroup, {
|
|
19154
|
-
children: u.filter(_temp2$
|
|
19154
|
+
children: u.filter(_temp2$18).map(_temp3$13)
|
|
19155
19155
|
})
|
|
19156
19156
|
})
|
|
19157
19157
|
]
|
|
@@ -19645,7 +19645,7 @@ ${c}
|
|
|
19645
19645
|
})
|
|
19646
19646
|
}, e.name);
|
|
19647
19647
|
}
|
|
19648
|
-
function _temp2$
|
|
19648
|
+
function _temp2$18(e) {
|
|
19649
19649
|
return e.value !== "";
|
|
19650
19650
|
}
|
|
19651
19651
|
function _temp3$13(e) {
|
|
@@ -20199,7 +20199,7 @@ ${c}
|
|
|
20199
20199
|
fieldName: "color.scheme",
|
|
20200
20200
|
label: "Color scheme",
|
|
20201
20201
|
defaultValue: DEFAULT_COLOR_SCHEME,
|
|
20202
|
-
options: COLOR_SCHEMES.map(_temp2$
|
|
20202
|
+
options: COLOR_SCHEMES.map(_temp2$17)
|
|
20203
20203
|
}), y = (0, import_jsx_runtime.jsx)(ColorArrayField, {
|
|
20204
20204
|
fieldName: "color.range",
|
|
20205
20205
|
label: "Color range"
|
|
@@ -20304,7 +20304,7 @@ ${c}
|
|
|
20304
20304
|
value: e
|
|
20305
20305
|
};
|
|
20306
20306
|
}
|
|
20307
|
-
function _temp2$
|
|
20307
|
+
function _temp2$17(e) {
|
|
20308
20308
|
return {
|
|
20309
20309
|
display: capitalize(e),
|
|
20310
20310
|
value: e
|
|
@@ -20884,7 +20884,7 @@ ${c}
|
|
|
20884
20884
|
let p = f;
|
|
20885
20885
|
if (u) {
|
|
20886
20886
|
let e2;
|
|
20887
|
-
r[1] === u ? e2 = r[2] : (e2 = u.map(_temp2$
|
|
20887
|
+
r[1] === u ? e2 = r[2] : (e2 = u.map(_temp2$16), r[1] = u, r[2] = e2), p = e2;
|
|
20888
20888
|
}
|
|
20889
20889
|
let m;
|
|
20890
20890
|
r[3] !== c || r[4] !== l ? (m = () => {
|
|
@@ -20980,7 +20980,7 @@ ${c}
|
|
|
20980
20980
|
children: j
|
|
20981
20981
|
}), r[25] = j, r[26] = _, r[27] = M) : M = r[27], M;
|
|
20982
20982
|
};
|
|
20983
|
-
function _temp2$
|
|
20983
|
+
function _temp2$16(e) {
|
|
20984
20984
|
return {
|
|
20985
20985
|
name: e[0],
|
|
20986
20986
|
type: e[1][0]
|
|
@@ -21211,7 +21211,7 @@ ${c}
|
|
|
21211
21211
|
M2,
|
|
21212
21212
|
(0, import_jsx_runtime.jsx)(CopyClipboardIcon, {
|
|
21213
21213
|
tooltip: "Copy column names",
|
|
21214
|
-
value: (e2 == null ? void 0 : e2.map(_temp2$
|
|
21214
|
+
value: (e2 == null ? void 0 : e2.map(_temp2$15).join(",\n")) || "",
|
|
21215
21215
|
className: "h-3 w-3 ml-1 mt-0.5"
|
|
21216
21216
|
})
|
|
21217
21217
|
]
|
|
@@ -21392,7 +21392,7 @@ ${c}
|
|
|
21392
21392
|
let [r] = e;
|
|
21393
21393
|
return !(r === "__select__" || r === "_marimo_row_id" || r.startsWith("__m_column__"));
|
|
21394
21394
|
}
|
|
21395
|
-
function _temp2$
|
|
21395
|
+
function _temp2$15(e) {
|
|
21396
21396
|
let [r] = e;
|
|
21397
21397
|
return r;
|
|
21398
21398
|
}
|
|
@@ -21689,51 +21689,51 @@ ${c}
|
|
|
21689
21689
|
}), r[24] = q) : q = r[24];
|
|
21690
21690
|
let Z;
|
|
21691
21691
|
r[25] === E ? Z = r[26] : (Z = () => E(PANEL_TYPES.COLUMN_EXPLORER), r[25] = E, r[26] = Z);
|
|
21692
|
-
let
|
|
21693
|
-
r[27] ===
|
|
21694
|
-
let
|
|
21695
|
-
r[29] !==
|
|
21692
|
+
let S0 = R === PANEL_TYPES.COLUMN_EXPLORER ? activeClassName : inactiveClassName, C0;
|
|
21693
|
+
r[27] === S0 ? C0 = r[28] : (C0 = cn(tabTriggerClassName, S0), r[27] = S0, r[28] = C0);
|
|
21694
|
+
let w0;
|
|
21695
|
+
r[29] !== C0 || r[30] !== Z ? (w0 = (0, import_jsx_runtime.jsx)(Button, {
|
|
21696
21696
|
variant: "text",
|
|
21697
21697
|
size: "xs",
|
|
21698
21698
|
onClick: Z,
|
|
21699
|
-
className:
|
|
21699
|
+
className: C0,
|
|
21700
21700
|
children: "Columns"
|
|
21701
|
-
}), r[29] =
|
|
21702
|
-
let
|
|
21703
|
-
r[32] !==
|
|
21701
|
+
}), r[29] = C0, r[30] = Z, r[31] = w0) : w0 = r[31];
|
|
21702
|
+
let T0;
|
|
21703
|
+
r[32] !== w0 || r[33] !== G ? (T0 = (0, import_jsx_runtime.jsx)(Fill, {
|
|
21704
21704
|
name: SlotNames.CONTEXT_AWARE_PANEL_HEADER,
|
|
21705
21705
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
21706
21706
|
className: "flex items-center gap-1",
|
|
21707
21707
|
children: [
|
|
21708
21708
|
G,
|
|
21709
21709
|
q,
|
|
21710
|
-
|
|
21710
|
+
w0
|
|
21711
21711
|
]
|
|
21712
21712
|
})
|
|
21713
|
-
}), r[32] =
|
|
21714
|
-
let
|
|
21715
|
-
r[35] === M ?
|
|
21713
|
+
}), r[32] = w0, r[33] = G, r[34] = T0) : T0 = r[34];
|
|
21714
|
+
let E0;
|
|
21715
|
+
r[35] === M ? E0 = r[36] : (E0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
21716
21716
|
value: PANEL_TYPES.ROW_VIEWER,
|
|
21717
21717
|
className: "flex-1 overflow-auto",
|
|
21718
21718
|
children: M
|
|
21719
|
-
}), r[35] = M, r[36] =
|
|
21720
|
-
let
|
|
21721
|
-
r[37] === L ?
|
|
21719
|
+
}), r[35] = M, r[36] = E0);
|
|
21720
|
+
let D0;
|
|
21721
|
+
r[37] === L ? D0 = r[38] : (D0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
21722
21722
|
value: PANEL_TYPES.COLUMN_EXPLORER,
|
|
21723
21723
|
className: "flex-1 overflow-auto",
|
|
21724
21724
|
children: L
|
|
21725
|
-
}), r[37] = L, r[38] =
|
|
21726
|
-
let
|
|
21727
|
-
return r[39] !== R || r[40] !==
|
|
21725
|
+
}), r[37] = L, r[38] = D0);
|
|
21726
|
+
let O0;
|
|
21727
|
+
return r[39] !== R || r[40] !== T0 || r[41] !== E0 || r[42] !== D0 || r[43] !== z ? (O0 = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
21728
21728
|
value: R,
|
|
21729
21729
|
onValueChange: z,
|
|
21730
21730
|
className: "flex flex-col min-w-[350px]",
|
|
21731
21731
|
children: [
|
|
21732
|
-
|
|
21733
|
-
|
|
21734
|
-
|
|
21732
|
+
T0,
|
|
21733
|
+
E0,
|
|
21734
|
+
D0
|
|
21735
21735
|
]
|
|
21736
|
-
}), r[39] = R, r[40] =
|
|
21736
|
+
}), r[39] = R, r[40] = T0, r[41] = E0, r[42] = D0, r[43] = z, r[44] = O0) : O0 = r[44], O0;
|
|
21737
21737
|
};
|
|
21738
21738
|
var import_compiler_runtime$64 = require_compiler_runtime();
|
|
21739
21739
|
function useEffectSkipFirstRender(e, r) {
|
|
@@ -22239,6 +22239,7 @@ ${c}
|
|
|
22239
22239
|
headerTooltip: record(string(), string()).optional(),
|
|
22240
22240
|
fieldTypes: columnToFieldTypesSchema.nullish(),
|
|
22241
22241
|
totalColumns: number(),
|
|
22242
|
+
sizeBytes: number().nullish(),
|
|
22242
22243
|
maxColumns: union([
|
|
22243
22244
|
number(),
|
|
22244
22245
|
literal("all")
|
|
@@ -22287,7 +22288,8 @@ ${c}
|
|
|
22287
22288
|
raw_data: union([
|
|
22288
22289
|
string(),
|
|
22289
22290
|
array(looseObject({}))
|
|
22290
|
-
]).nullish()
|
|
22291
|
+
]).nullish(),
|
|
22292
|
+
size_bytes: number().nullish()
|
|
22291
22293
|
})),
|
|
22292
22294
|
get_row_ids: rpc.input(object({}).passthrough()).output(object({
|
|
22293
22295
|
row_ids: array(number()),
|
|
@@ -22381,7 +22383,7 @@ ${c}
|
|
|
22381
22383
|
return l;
|
|
22382
22384
|
};
|
|
22383
22385
|
const LoadingDataTableComponent = (0, import_react.memo)((e) => {
|
|
22384
|
-
let r = (0, import_compiler_runtime$63.c)(
|
|
22386
|
+
let r = (0, import_compiler_runtime$63.c)(107), c;
|
|
22385
22387
|
r[0] === e.host ? c = r[1] : (c = findCellId(e.host), r[0] = e.host, r[1] = c);
|
|
22386
22388
|
let l = c, u = e.search, f = e.setValue, p;
|
|
22387
22389
|
r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = [], r[2] = p) : p = r[2];
|
|
@@ -22416,35 +22418,36 @@ ${c}
|
|
|
22416
22418
|
e.pageSize
|
|
22417
22419
|
], r[18] = e.pageSize, r[19] = L, r[20] = R), (0, import_react.useEffect)(L, R);
|
|
22418
22420
|
let z;
|
|
22419
|
-
r[21] !== w || r[22] !== _.pageIndex || r[23] !== _.pageSize || r[24] !== e.cellHoverTexts || r[25] !== e.cellStyles || r[26] !== e.data || r[27] !== e.lazy || r[28] !== e.pageSize || r[29] !== e.rawData || r[30] !== e.
|
|
22421
|
+
r[21] !== w || r[22] !== _.pageIndex || r[23] !== _.pageSize || r[24] !== e.cellHoverTexts || r[25] !== e.cellStyles || r[26] !== e.data || r[27] !== e.lazy || r[28] !== e.pageSize || r[29] !== e.rawData || r[30] !== e.sizeBytes || r[31] !== e.totalRows || r[32] !== u || r[33] !== y || r[34] !== m ? (z = async () => {
|
|
22420
22422
|
if (e.totalRows === 0) return {
|
|
22421
22423
|
rows: Arrays.EMPTY,
|
|
22422
22424
|
totalRows: 0,
|
|
22423
22425
|
cellStyles: {}
|
|
22424
22426
|
};
|
|
22425
|
-
let r2 = e.data, c2 = e.rawData, l2 = e.totalRows, d = e.
|
|
22427
|
+
let r2 = e.data, c2 = e.rawData, l2 = e.totalRows, d = e.sizeBytes ?? null, f2 = e.cellStyles, p2 = e.cellHoverTexts, h2 = _.pageSize !== e.pageSize, g2 = y === "" && _.pageIndex === 0 && w.length === 0 && m.length === 0 && !e.lazy && !h2, v2 = u({
|
|
22426
22428
|
sort: m.length > 0 ? m.map(_temp$21) : void 0,
|
|
22427
22429
|
query: y,
|
|
22428
22430
|
page_number: _.pageIndex,
|
|
22429
22431
|
page_size: _.pageSize,
|
|
22430
22432
|
filters: filtersToFilterGroup(w)
|
|
22431
22433
|
});
|
|
22432
|
-
if (
|
|
22434
|
+
if (g2) v2.catch(_temp2$14);
|
|
22433
22435
|
else {
|
|
22434
|
-
let e2 = await
|
|
22435
|
-
r2 = e2.data, c2 = e2.raw_data, l2 = e2.total_rows, d = e2.cell_styles || {},
|
|
22436
|
+
let e2 = await v2;
|
|
22437
|
+
r2 = e2.data, c2 = e2.raw_data, l2 = e2.total_rows, d = e2.size_bytes ?? null, f2 = e2.cell_styles || {}, p2 = e2.cell_hover_texts || {};
|
|
22436
22438
|
}
|
|
22437
|
-
let [
|
|
22438
|
-
return r2 =
|
|
22439
|
+
let [b2, S2] = await loadTableAndRawData(r2, c2);
|
|
22440
|
+
return r2 = b2, {
|
|
22439
22441
|
rows: r2,
|
|
22440
|
-
rawRows:
|
|
22442
|
+
rawRows: S2,
|
|
22441
22443
|
totalRows: l2,
|
|
22442
|
-
|
|
22443
|
-
|
|
22444
|
+
sizeBytes: d,
|
|
22445
|
+
cellStyles: f2,
|
|
22446
|
+
cellHoverTexts: p2
|
|
22444
22447
|
};
|
|
22445
|
-
}, r[21] = w, r[22] = _.pageIndex, r[23] = _.pageSize, r[24] = e.cellHoverTexts, r[25] = e.cellStyles, r[26] = e.data, r[27] = e.lazy, r[28] = e.pageSize, r[29] = e.rawData, r[30] = e.
|
|
22448
|
+
}, r[21] = w, r[22] = _.pageIndex, r[23] = _.pageSize, r[24] = e.cellHoverTexts, r[25] = e.cellStyles, r[26] = e.data, r[27] = e.lazy, r[28] = e.pageSize, r[29] = e.rawData, r[30] = e.sizeBytes, r[31] = e.totalRows, r[32] = u, r[33] = y, r[34] = m, r[35] = z) : z = r[35];
|
|
22446
22449
|
let B = useDeepCompareMemoize(e.fieldTypes), H;
|
|
22447
|
-
r[
|
|
22450
|
+
r[36] !== w || r[37] !== _.pageIndex || r[38] !== _.pageSize || r[39] !== e.cellHoverTexts || r[40] !== e.cellStyles || r[41] !== e.data || r[42] !== e.lazy || r[43] !== e.sizeBytes || r[44] !== e.totalRows || r[45] !== u || r[46] !== y || r[47] !== m || r[48] !== B ? (H = [
|
|
22448
22451
|
m,
|
|
22449
22452
|
u,
|
|
22450
22453
|
w,
|
|
@@ -22452,14 +22455,15 @@ ${c}
|
|
|
22452
22455
|
B,
|
|
22453
22456
|
e.data,
|
|
22454
22457
|
e.totalRows,
|
|
22458
|
+
e.sizeBytes,
|
|
22455
22459
|
e.lazy,
|
|
22456
22460
|
e.cellHoverTexts,
|
|
22457
22461
|
e.cellStyles,
|
|
22458
22462
|
_.pageSize,
|
|
22459
22463
|
_.pageIndex
|
|
22460
|
-
], r[
|
|
22461
|
-
let { data: W, error: G, isPending: q, isFetching: Z } = useAsyncData(z, H),
|
|
22462
|
-
r[
|
|
22464
|
+
], r[36] = w, r[37] = _.pageIndex, r[38] = _.pageSize, r[39] = e.cellHoverTexts, r[40] = e.cellStyles, r[41] = e.data, r[42] = e.lazy, r[43] = e.sizeBytes, r[44] = e.totalRows, r[45] = u, r[46] = y, r[47] = m, r[48] = B, r[49] = H) : H = r[49];
|
|
22465
|
+
let { data: W, error: G, isPending: q, isFetching: Z } = useAsyncData(z, H), S0;
|
|
22466
|
+
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (S0 = async (e2) => ({
|
|
22463
22467
|
rows: await loadTableData((await u({
|
|
22464
22468
|
page_number: e2,
|
|
22465
22469
|
page_size: 1,
|
|
@@ -22468,51 +22472,51 @@ ${c}
|
|
|
22468
22472
|
filters: filtersToFilterGroup(w),
|
|
22469
22473
|
max_columns: null
|
|
22470
22474
|
})).data)
|
|
22471
|
-
}), r[
|
|
22472
|
-
let
|
|
22473
|
-
r[
|
|
22475
|
+
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] = S0) : S0 = r[54];
|
|
22476
|
+
let C0 = S0, w0;
|
|
22477
|
+
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w0 = () => {
|
|
22474
22478
|
v(_temp4$6);
|
|
22475
|
-
}, r[
|
|
22476
|
-
let
|
|
22477
|
-
r[
|
|
22478
|
-
|
|
22479
|
-
], r[
|
|
22480
|
-
let
|
|
22481
|
-
r[
|
|
22479
|
+
}, r[55] = w0) : w0 = r[55];
|
|
22480
|
+
let T0 = W == null ? void 0 : W.totalRows, E0;
|
|
22481
|
+
r[56] === T0 ? E0 = r[57] : (E0 = [
|
|
22482
|
+
T0
|
|
22483
|
+
], r[56] = T0, r[57] = E0), (0, import_react.useEffect)(w0, E0);
|
|
22484
|
+
let D0;
|
|
22485
|
+
r[58] === e ? D0 = r[59] : (D0 = async () => e.totalRows === 0 || !e.showColumnSummaries ? {
|
|
22482
22486
|
data: null,
|
|
22483
22487
|
stats: {},
|
|
22484
22488
|
bin_values: {},
|
|
22485
22489
|
value_counts: {},
|
|
22486
22490
|
show_charts: false
|
|
22487
|
-
} : e.get_column_summaries({}), r[
|
|
22488
|
-
let
|
|
22489
|
-
r[
|
|
22491
|
+
} : e.get_column_summaries({}), r[58] = e, r[59] = D0);
|
|
22492
|
+
let O0;
|
|
22493
|
+
r[60] !== w || r[61] !== e.data || r[62] !== e.get_column_summaries || r[63] !== e.showColumnSummaries || r[64] !== e.totalRows || r[65] !== y ? (O0 = [
|
|
22490
22494
|
e.get_column_summaries,
|
|
22491
22495
|
e.showColumnSummaries,
|
|
22492
22496
|
w,
|
|
22493
22497
|
y,
|
|
22494
22498
|
e.totalRows,
|
|
22495
22499
|
e.data
|
|
22496
|
-
], r[
|
|
22497
|
-
let { data:
|
|
22498
|
-
if (r[
|
|
22499
|
-
|
|
22500
|
-
},
|
|
22501
|
-
|
|
22502
|
-
], r[
|
|
22500
|
+
], r[60] = w, r[61] = e.data, r[62] = e.get_column_summaries, r[63] = e.showColumnSummaries, r[64] = e.totalRows, r[65] = y, r[66] = O0) : O0 = r[66];
|
|
22501
|
+
let { data: k0, error: A0 } = useAsyncData(D0, O0), j0, M0;
|
|
22502
|
+
if (r[67] === A0 ? (j0 = r[68], M0 = r[69]) : (j0 = () => {
|
|
22503
|
+
A0 && Logger.error(A0);
|
|
22504
|
+
}, M0 = [
|
|
22505
|
+
A0
|
|
22506
|
+
], r[67] = A0, r[68] = j0, r[69] = M0), (0, import_react.useEffect)(j0, M0), q) {
|
|
22503
22507
|
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? Math.min(e.totalRows, e.pageSize) : e.pageSize, l2;
|
|
22504
|
-
return r[
|
|
22508
|
+
return r[70] === c2 ? l2 = r[71] : (l2 = (0, import_jsx_runtime.jsx)(DelayMount, {
|
|
22505
22509
|
milliseconds: 200,
|
|
22506
22510
|
children: (0, import_jsx_runtime.jsx)(LoadingTable, {
|
|
22507
22511
|
pageSize: c2
|
|
22508
22512
|
})
|
|
22509
|
-
}), r[
|
|
22513
|
+
}), r[70] = c2, r[71] = l2), l2;
|
|
22510
22514
|
}
|
|
22511
|
-
let
|
|
22515
|
+
let N0 = null;
|
|
22512
22516
|
if (G) {
|
|
22513
22517
|
Logger.error(G);
|
|
22514
22518
|
let e2;
|
|
22515
|
-
r[
|
|
22519
|
+
r[72] === G ? e2 = r[73] : (e2 = !isStaticNotebook() && (0, import_jsx_runtime.jsxs)(Alert, {
|
|
22516
22520
|
variant: "destructive",
|
|
22517
22521
|
className: "mb-2",
|
|
22518
22522
|
children: [
|
|
@@ -22524,74 +22528,75 @@ ${c}
|
|
|
22524
22528
|
children: G.message || "An unknown error occurred"
|
|
22525
22529
|
})
|
|
22526
22530
|
]
|
|
22527
|
-
}), r[
|
|
22531
|
+
}), r[72] = G, r[73] = e2), N0 = e2;
|
|
22528
22532
|
}
|
|
22529
|
-
let
|
|
22530
|
-
r[
|
|
22533
|
+
let P0;
|
|
22534
|
+
r[74] === O ? P0 = r[75] : (P0 = () => {
|
|
22531
22535
|
j(!O);
|
|
22532
|
-
}, r[
|
|
22533
|
-
let
|
|
22534
|
-
r[
|
|
22536
|
+
}, r[74] = O, r[75] = P0);
|
|
22537
|
+
let F0 = P0, I0 = (W == null ? void 0 : W.rows) ?? Arrays.EMPTY, L0 = W == null ? void 0 : W.rawRows, R0 = Z && !q, z0 = (W == null ? void 0 : W.totalRows) ?? e.totalRows, B0 = (W == null ? void 0 : W.sizeBytes) ?? e.sizeBytes ?? null, V0 = (W == null ? void 0 : W.cellStyles) ?? e.cellStyles, H0 = (W == null ? void 0 : W.cellHoverTexts) ?? e.cellHoverTexts, U0;
|
|
22538
|
+
r[76] !== l || r[77] !== k0 || r[78] !== O || r[79] !== w || r[80] !== C0 || r[81] !== _ || r[82] !== e || r[83] !== y || r[84] !== m || r[85] !== I0 || r[86] !== L0 || r[87] !== R0 || r[88] !== z0 || r[89] !== B0 || r[90] !== V0 || r[91] !== H0 || r[92] !== F0 ? (U0 = (0, import_jsx_runtime.jsx)(DataTableComponent, {
|
|
22535
22539
|
...e,
|
|
22536
|
-
data:
|
|
22537
|
-
rawData:
|
|
22538
|
-
columnSummaries:
|
|
22540
|
+
data: I0,
|
|
22541
|
+
rawData: L0,
|
|
22542
|
+
columnSummaries: k0,
|
|
22539
22543
|
sorting: m,
|
|
22540
22544
|
setSorting: h,
|
|
22541
22545
|
searchQuery: y,
|
|
22542
22546
|
setSearchQuery: b,
|
|
22543
22547
|
filters: w,
|
|
22544
22548
|
setFilters: T,
|
|
22545
|
-
reloading:
|
|
22546
|
-
totalRows:
|
|
22549
|
+
reloading: R0,
|
|
22550
|
+
totalRows: z0,
|
|
22551
|
+
sizeBytes: B0,
|
|
22547
22552
|
paginationState: _,
|
|
22548
22553
|
setPaginationState: v,
|
|
22549
|
-
cellStyles:
|
|
22550
|
-
cellHoverTexts:
|
|
22551
|
-
toggleDisplayHeader:
|
|
22554
|
+
cellStyles: V0,
|
|
22555
|
+
cellHoverTexts: H0,
|
|
22556
|
+
toggleDisplayHeader: F0,
|
|
22552
22557
|
isChartBuilderOpen: O,
|
|
22553
|
-
getRow:
|
|
22558
|
+
getRow: C0,
|
|
22554
22559
|
cellId: l,
|
|
22555
22560
|
maxHeight: e.maxHeight
|
|
22556
|
-
}), r[
|
|
22557
|
-
let
|
|
22558
|
-
r[
|
|
22561
|
+
}), r[76] = l, r[77] = k0, r[78] = O, r[79] = w, r[80] = C0, r[81] = _, r[82] = e, r[83] = y, r[84] = m, r[85] = I0, r[86] = L0, r[87] = R0, r[88] = z0, r[89] = B0, r[90] = V0, r[91] = H0, r[92] = F0, r[93] = U0) : U0 = r[93];
|
|
22562
|
+
let W0 = U0, G0;
|
|
22563
|
+
r[94] !== l || r[95] !== W0 || r[96] !== (W == null ? void 0 : W.rows) || r[97] !== O || r[98] !== e.fieldTypes || r[99] !== e.get_data_url || r[100] !== e.showChartBuilder || r[101] !== e.totalColumns || r[102] !== e.totalRows ? (G0 = e.showChartBuilder ? (0, import_jsx_runtime.jsx)(TablePanel, {
|
|
22559
22564
|
displayHeader: O,
|
|
22560
22565
|
onCloseChartBuilder: () => j(false),
|
|
22561
22566
|
data: (W == null ? void 0 : W.rows) || [],
|
|
22562
22567
|
columns: e.totalColumns,
|
|
22563
22568
|
totalRows: e.totalRows,
|
|
22564
|
-
dataTable:
|
|
22569
|
+
dataTable: W0,
|
|
22565
22570
|
getDataUrl: e.get_data_url,
|
|
22566
22571
|
fieldTypes: e.fieldTypes,
|
|
22567
22572
|
cellId: l
|
|
22568
|
-
}) :
|
|
22569
|
-
let
|
|
22570
|
-
return r[
|
|
22573
|
+
}) : W0, r[94] = l, r[95] = W0, r[96] = W == null ? void 0 : W.rows, r[97] = O, r[98] = e.fieldTypes, r[99] = e.get_data_url, r[100] = e.showChartBuilder, r[101] = e.totalColumns, r[102] = e.totalRows, r[103] = G0) : G0 = r[103];
|
|
22574
|
+
let K0;
|
|
22575
|
+
return r[104] !== N0 || r[105] !== G0 ? (K0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
22571
22576
|
children: [
|
|
22572
|
-
|
|
22573
|
-
|
|
22577
|
+
N0,
|
|
22578
|
+
G0
|
|
22574
22579
|
]
|
|
22575
|
-
}), r[
|
|
22580
|
+
}), r[104] = N0, r[105] = G0, r[106] = K0) : K0 = r[106], K0;
|
|
22576
22581
|
});
|
|
22577
22582
|
LoadingDataTableComponent.displayName = "LoadingDataTableComponent";
|
|
22578
|
-
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l,
|
|
22579
|
-
let
|
|
22580
|
-
if (!
|
|
22581
|
-
let e3 = toFieldTypes(
|
|
22582
|
-
return new ColumnChartSpecModel(
|
|
22583
|
-
includeCharts:
|
|
22583
|
+
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, maxColumns: d, pagination: f, selection: p, value: m, showFilters: h, showDownload: g, showPageSizeSelector: _, showColumnExplorer: v, showRowExplorer: y, showChartBuilder: b, showDataTypes: S, rowHeaders: w, fieldTypes: T, paginationState: O, setPaginationState: j, download_as: M, columnSummaries: I, className: L, setValue: R, sorting: z, setSorting: B, enableSearch: H, searchQuery: W, setSearchQuery: G, filters: q, setFilters: Z, reloading: S0, freezeColumnsLeft: C0, freezeColumnsRight: w0, textJustifyColumns: T0, wrappedColumns: E0, headerTooltip: D0, totalColumns: O0, get_row_ids: k0, cellStyles: A0, hoverTemplate: j0, cellHoverTexts: M0, toggleDisplayHeader: N0, isChartBuilderOpen: P0, calculate_top_k_rows: F0, preview_column: I0, getRow: L0, cellId: R0, maxHeight: z0 }) => {
|
|
22584
|
+
let B0 = (0, import_react.useId)(), [V0, H0] = (0, import_react.useState)(0), { isPanelOpen: U0, isAnyPanelOpen: W0, togglePanel: G0, panelType: K0, setPanelType: q0 } = usePanelOwnership(B0, R0), J0 = (0, import_react.useMemo)(() => {
|
|
22585
|
+
if (!I || !T || !I.stats) return ColumnChartSpecModel.EMPTY;
|
|
22586
|
+
let e3 = toFieldTypes(T);
|
|
22587
|
+
return new ColumnChartSpecModel(I.data || [], e3, I.stats, I.bin_values, I.value_counts, {
|
|
22588
|
+
includeCharts: I.show_charts
|
|
22584
22589
|
});
|
|
22585
22590
|
}, [
|
|
22586
|
-
|
|
22587
|
-
|
|
22588
|
-
]),
|
|
22589
|
-
|
|
22590
|
-
|
|
22591
|
-
]),
|
|
22591
|
+
T,
|
|
22592
|
+
I
|
|
22593
|
+
]), Y0 = useDeepCompareMemoize(T ?? inferFieldTypes(r)), X0 = (0, import_react.useMemo)(() => d === "all" ? Y0 : Y0.slice(0, d), [
|
|
22594
|
+
d,
|
|
22595
|
+
Y0
|
|
22596
|
+
]), Z0 = (0, import_react.useMemo)(() => {
|
|
22592
22597
|
let e3 = {};
|
|
22593
22598
|
if (r && r.length > 0) {
|
|
22594
|
-
for (let [c3, l3] of
|
|
22599
|
+
for (let [c3, l3] of X0) if (l3[0] === "number") {
|
|
22595
22600
|
let l4 = 0;
|
|
22596
22601
|
for (let e4 of r) {
|
|
22597
22602
|
let r3 = e4[c3];
|
|
@@ -22606,100 +22611,100 @@ ${c}
|
|
|
22606
22611
|
return e3;
|
|
22607
22612
|
}, [
|
|
22608
22613
|
r,
|
|
22609
|
-
|
|
22610
|
-
]),
|
|
22611
|
-
|
|
22612
|
-
let
|
|
22613
|
-
rowHeaders:
|
|
22614
|
-
selection:
|
|
22615
|
-
chartSpecModel:
|
|
22616
|
-
fieldTypes:
|
|
22617
|
-
textJustifyColumns:
|
|
22618
|
-
wrappedColumns:
|
|
22619
|
-
headerTooltip:
|
|
22620
|
-
showDataTypes:
|
|
22621
|
-
calculateTopKRows:
|
|
22622
|
-
fractionDigitsByColumn:
|
|
22614
|
+
X0
|
|
22615
|
+
]), Q0 = useDeepCompareMemoize(w), $0 = useDeepCompareMemoize(T0), e2 = useDeepCompareMemoize(E0), t2 = useDeepCompareMemoize(J0), n2 = useDeepCompareMemoize(Z0), r2 = X0.length;
|
|
22616
|
+
T || (S = false);
|
|
22617
|
+
let i2 = (0, import_react.useMemo)(() => generateColumns({
|
|
22618
|
+
rowHeaders: Q0,
|
|
22619
|
+
selection: p,
|
|
22620
|
+
chartSpecModel: t2,
|
|
22621
|
+
fieldTypes: X0,
|
|
22622
|
+
textJustifyColumns: $0,
|
|
22623
|
+
wrappedColumns: e2,
|
|
22624
|
+
headerTooltip: D0,
|
|
22625
|
+
showDataTypes: S,
|
|
22626
|
+
calculateTopKRows: F0,
|
|
22627
|
+
fractionDigitsByColumn: n2
|
|
22623
22628
|
}), [
|
|
22624
|
-
|
|
22625
|
-
|
|
22626
|
-
|
|
22629
|
+
p,
|
|
22630
|
+
S,
|
|
22631
|
+
t2,
|
|
22632
|
+
Q0,
|
|
22633
|
+
X0,
|
|
22627
22634
|
$0,
|
|
22628
|
-
Z0,
|
|
22629
22635
|
e2,
|
|
22630
|
-
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
|
|
22634
|
-
]), o2 = (0, import_react.useMemo)(() => Object.fromEntries((p || []).map((e3) => [
|
|
22636
|
+
D0,
|
|
22637
|
+
F0,
|
|
22638
|
+
n2
|
|
22639
|
+
]), a2 = (0, import_react.useMemo)(() => Object.fromEntries((m || []).map((e3) => [
|
|
22635
22640
|
e3,
|
|
22636
22641
|
true
|
|
22637
22642
|
])), [
|
|
22638
|
-
|
|
22639
|
-
]),
|
|
22640
|
-
if (
|
|
22643
|
+
m
|
|
22644
|
+
]), o2 = useEvent_default((e3) => {
|
|
22645
|
+
if (p === "single") {
|
|
22641
22646
|
let r3 = Functions.asUpdater(e3)({});
|
|
22642
|
-
|
|
22647
|
+
R(Object.keys(r3).slice(0, 1));
|
|
22643
22648
|
}
|
|
22644
|
-
if (
|
|
22645
|
-
let r3 = Functions.asUpdater(e3)(
|
|
22646
|
-
|
|
22649
|
+
if (p === "multi") {
|
|
22650
|
+
let r3 = Functions.asUpdater(e3)(a2);
|
|
22651
|
+
R(Object.keys(r3));
|
|
22647
22652
|
}
|
|
22648
|
-
}),
|
|
22649
|
-
if (
|
|
22650
|
-
let r3 = getPageIndexForRow(e3,
|
|
22651
|
-
r3 !== null &&
|
|
22653
|
+
}), s2 = useEvent_default((e3) => {
|
|
22654
|
+
if (H0(e3), e3 < 0 || typeof l == "number" && e3 >= l || l === "too_many") return;
|
|
22655
|
+
let r3 = getPageIndexForRow(e3, O.pageIndex, O.pageSize);
|
|
22656
|
+
r3 !== null && j((e4) => ({
|
|
22652
22657
|
...e4,
|
|
22653
22658
|
pageIndex: r3
|
|
22654
22659
|
}));
|
|
22655
|
-
}),
|
|
22656
|
-
|
|
22657
|
-
}),
|
|
22660
|
+
}), c2 = m.filter((e3) => e3 instanceof Object && e3.columnName !== void 0), l2 = useEvent_default((e3) => {
|
|
22661
|
+
p === "single-cell" && R(Functions.asUpdater(e3)(c2).slice(0, 1)), p === "multi-cell" && R(Functions.asUpdater(e3)(c2));
|
|
22662
|
+
}), u2 = p === "multi" || p === "single", d2 = v && !!I0, f2 = isInVscodeExtension(), p2 = isIslands();
|
|
22658
22663
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
22659
22664
|
children: [
|
|
22660
|
-
l === "too_many" &&
|
|
22665
|
+
l === "too_many" && O.pageSize === r.length && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
22661
22666
|
className: "mb-1 rounded",
|
|
22662
22667
|
children: [
|
|
22663
22668
|
"Previewing the first ",
|
|
22664
|
-
|
|
22669
|
+
O.pageSize,
|
|
22665
22670
|
" rows."
|
|
22666
22671
|
]
|
|
22667
22672
|
}),
|
|
22668
|
-
|
|
22673
|
+
r2 < O0 && r2 > 0 && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
22669
22674
|
className: "mb-1 rounded",
|
|
22670
22675
|
children: [
|
|
22671
22676
|
"Result clipped. Showing ",
|
|
22672
|
-
|
|
22677
|
+
r2,
|
|
22673
22678
|
" of ",
|
|
22674
|
-
|
|
22679
|
+
O0,
|
|
22675
22680
|
" columns."
|
|
22676
22681
|
]
|
|
22677
22682
|
}),
|
|
22678
|
-
(
|
|
22683
|
+
(I == null ? void 0 : I.is_disabled) && (0, import_jsx_runtime.jsx)(Banner, {
|
|
22679
22684
|
className: "mb-1 rounded",
|
|
22680
22685
|
children: "Column summaries are unavailable. Filter your data to fewer than 1,000,000 rows."
|
|
22681
22686
|
}),
|
|
22682
|
-
|
|
22687
|
+
W0 && (y || d2) && (0, import_jsx_runtime.jsx)(ContextAwarePanelItem, {
|
|
22683
22688
|
children: (0, import_jsx_runtime.jsx)(TableExplorerPanel, {
|
|
22684
|
-
rowIdx:
|
|
22685
|
-
setRowIdx:
|
|
22689
|
+
rowIdx: V0,
|
|
22690
|
+
setRowIdx: s2,
|
|
22686
22691
|
totalRows: l,
|
|
22687
|
-
fieldTypes:
|
|
22688
|
-
getRow:
|
|
22689
|
-
isSelectable:
|
|
22690
|
-
isRowSelected: !!
|
|
22691
|
-
handleRowSelectionChange:
|
|
22692
|
-
previewColumn:
|
|
22693
|
-
totalColumns:
|
|
22694
|
-
tableId:
|
|
22695
|
-
showRowExplorer:
|
|
22696
|
-
showColumnExplorer:
|
|
22697
|
-
activeTab:
|
|
22698
|
-
onTabChange:
|
|
22692
|
+
fieldTypes: Y0,
|
|
22693
|
+
getRow: L0,
|
|
22694
|
+
isSelectable: u2,
|
|
22695
|
+
isRowSelected: !!a2[V0],
|
|
22696
|
+
handleRowSelectionChange: o2,
|
|
22697
|
+
previewColumn: I0,
|
|
22698
|
+
totalColumns: O0,
|
|
22699
|
+
tableId: B0,
|
|
22700
|
+
showRowExplorer: y && !f2,
|
|
22701
|
+
showColumnExplorer: d2 && !f2,
|
|
22702
|
+
activeTab: K0,
|
|
22703
|
+
onTabChange: q0
|
|
22699
22704
|
})
|
|
22700
22705
|
}),
|
|
22701
22706
|
(0, import_jsx_runtime.jsx)(ColumnChartContext, {
|
|
22702
|
-
value:
|
|
22707
|
+
value: J0,
|
|
22703
22708
|
children: (0, import_jsx_runtime.jsx)(Labeled, {
|
|
22704
22709
|
label: e,
|
|
22705
22710
|
align: "top",
|
|
@@ -22707,48 +22712,49 @@ ${c}
|
|
|
22707
22712
|
children: (0, import_jsx_runtime.jsx)(DataTable, {
|
|
22708
22713
|
data: r,
|
|
22709
22714
|
rawData: c,
|
|
22710
|
-
columns:
|
|
22711
|
-
className:
|
|
22712
|
-
maxHeight:
|
|
22713
|
-
sorting:
|
|
22715
|
+
columns: i2,
|
|
22716
|
+
className: L,
|
|
22717
|
+
maxHeight: z0,
|
|
22718
|
+
sorting: z,
|
|
22714
22719
|
totalRows: l,
|
|
22715
|
-
|
|
22720
|
+
sizeBytes: u,
|
|
22721
|
+
totalColumns: O0,
|
|
22716
22722
|
manualSorting: true,
|
|
22717
|
-
setSorting:
|
|
22718
|
-
pagination:
|
|
22723
|
+
setSorting: B,
|
|
22724
|
+
pagination: f,
|
|
22719
22725
|
manualPagination: true,
|
|
22720
|
-
selection:
|
|
22721
|
-
paginationState:
|
|
22722
|
-
setPaginationState:
|
|
22723
|
-
rowSelection:
|
|
22724
|
-
cellSelection:
|
|
22725
|
-
cellStyling:
|
|
22726
|
-
hoverTemplate:
|
|
22727
|
-
cellHoverTexts:
|
|
22728
|
-
downloadAs:
|
|
22729
|
-
enableSearch:
|
|
22730
|
-
searchQuery:
|
|
22731
|
-
onSearchQueryChange:
|
|
22732
|
-
showFilters:
|
|
22733
|
-
filters:
|
|
22734
|
-
onFiltersChange:
|
|
22735
|
-
calculateTopKRows:
|
|
22736
|
-
reloading:
|
|
22737
|
-
onRowSelectionChange:
|
|
22738
|
-
freezeColumnsLeft:
|
|
22739
|
-
freezeColumnsRight:
|
|
22740
|
-
onCellSelectionChange:
|
|
22741
|
-
getRowIds:
|
|
22742
|
-
toggleDisplayHeader:
|
|
22743
|
-
showChartBuilder:
|
|
22744
|
-
isChartBuilderOpen:
|
|
22745
|
-
showPageSizeSelector:
|
|
22746
|
-
showTableExplorer: (
|
|
22747
|
-
togglePanel:
|
|
22748
|
-
isPanelOpen:
|
|
22749
|
-
isAnyPanelOpen:
|
|
22750
|
-
viewedRowIdx:
|
|
22751
|
-
onViewedRowChange: (e3) =>
|
|
22726
|
+
selection: p,
|
|
22727
|
+
paginationState: O,
|
|
22728
|
+
setPaginationState: j,
|
|
22729
|
+
rowSelection: a2,
|
|
22730
|
+
cellSelection: c2,
|
|
22731
|
+
cellStyling: A0,
|
|
22732
|
+
hoverTemplate: j0,
|
|
22733
|
+
cellHoverTexts: M0,
|
|
22734
|
+
downloadAs: g ? M : void 0,
|
|
22735
|
+
enableSearch: H,
|
|
22736
|
+
searchQuery: W,
|
|
22737
|
+
onSearchQueryChange: G,
|
|
22738
|
+
showFilters: h,
|
|
22739
|
+
filters: q,
|
|
22740
|
+
onFiltersChange: Z,
|
|
22741
|
+
calculateTopKRows: F0,
|
|
22742
|
+
reloading: S0,
|
|
22743
|
+
onRowSelectionChange: o2,
|
|
22744
|
+
freezeColumnsLeft: C0,
|
|
22745
|
+
freezeColumnsRight: w0,
|
|
22746
|
+
onCellSelectionChange: l2,
|
|
22747
|
+
getRowIds: k0,
|
|
22748
|
+
toggleDisplayHeader: N0,
|
|
22749
|
+
showChartBuilder: b && !p2,
|
|
22750
|
+
isChartBuilderOpen: P0,
|
|
22751
|
+
showPageSizeSelector: _,
|
|
22752
|
+
showTableExplorer: (y || d2) && !f2 && !p2,
|
|
22753
|
+
togglePanel: G0,
|
|
22754
|
+
isPanelOpen: U0,
|
|
22755
|
+
isAnyPanelOpen: W0,
|
|
22756
|
+
viewedRowIdx: V0,
|
|
22757
|
+
onViewedRowChange: (e3) => H0(e3)
|
|
22752
22758
|
})
|
|
22753
22759
|
})
|
|
22754
22760
|
})
|
|
@@ -22773,7 +22779,7 @@ ${c}
|
|
|
22773
22779
|
descending: e.desc
|
|
22774
22780
|
};
|
|
22775
22781
|
}
|
|
22776
|
-
function _temp2$
|
|
22782
|
+
function _temp2$14(e) {
|
|
22777
22783
|
Logger.error(e);
|
|
22778
22784
|
}
|
|
22779
22785
|
function _temp3$11(e) {
|
|
@@ -22912,7 +22918,7 @@ ${c}
|
|
|
22912
22918
|
r[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = (0, import_jsx_runtime.jsxs)(CalendarGrid, {
|
|
22913
22919
|
children: [
|
|
22914
22920
|
(0, import_jsx_runtime.jsx)(CalendarGridHeader, {
|
|
22915
|
-
children: _temp2$
|
|
22921
|
+
children: _temp2$13
|
|
22916
22922
|
}),
|
|
22917
22923
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
22918
22924
|
children: _temp3$10
|
|
@@ -22973,7 +22979,7 @@ ${c}
|
|
|
22973
22979
|
function _temp$19(e) {
|
|
22974
22980
|
return cn("w-fit", e);
|
|
22975
22981
|
}
|
|
22976
|
-
function _temp2$
|
|
22982
|
+
function _temp2$13(e) {
|
|
22977
22983
|
return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
|
|
22978
22984
|
children: e
|
|
22979
22985
|
});
|
|
@@ -23072,13 +23078,13 @@ ${c}
|
|
|
23072
23078
|
return r[9] !== l || r[10] !== f ? (m = (0, import_jsx_runtime.jsx)($40825cdb76e74f70$export$7edc06cf1783b30f, {
|
|
23073
23079
|
className: f,
|
|
23074
23080
|
...l,
|
|
23075
|
-
children: _temp2$
|
|
23081
|
+
children: _temp2$12
|
|
23076
23082
|
}), r[9] = l, r[10] = f, r[11] = m) : m = r[11], m;
|
|
23077
23083
|
};
|
|
23078
23084
|
function _temp$18(e) {
|
|
23079
23085
|
return cn("type-literal:px-0 inline rounded p-0.5 caret-transparent outline-solid outline-0", "data-placeholder:text-muted-foreground", "data-disabled:cursor-not-allowed data-disabled:opacity-50", "data-focused:bg-accent data-focused:text-accent-foreground focus:bg-accent focus:text-accent-foreground", "data-invalid:data-focused:bg-destructive data-invalid:data-focused:data-placeholder:text-destructive-foreground data-invalid:data-focused:text-destructive-foreground data-invalid:data-placeholder:text-destructive data-invalid:text-destructive", e);
|
|
23080
23086
|
}
|
|
23081
|
-
function _temp2$
|
|
23087
|
+
function _temp2$12(e) {
|
|
23082
23088
|
return (0, import_jsx_runtime.jsx)(DateSegment, {
|
|
23083
23089
|
segment: e
|
|
23084
23090
|
});
|
|
@@ -23104,7 +23110,7 @@ ${c}
|
|
|
23104
23110
|
let r = (0, import_compiler_runtime$58.c)(26), c, l, u, d, f;
|
|
23105
23111
|
r[0] === e ? (c = r[1], l = r[2], u = r[3], d = r[4], f = r[5]) : ({ label: d, description: l, errorMessage: u, className: c, ...f } = e, r[0] = e, r[1] = c, r[2] = l, r[3] = u, r[4] = d, r[5] = f);
|
|
23106
23112
|
let [m, h] = (0, import_react.useState)(false), g;
|
|
23107
|
-
r[6] === c ? g = r[7] : (g = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp2$
|
|
23113
|
+
r[6] === c ? g = r[7] : (g = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp2$11), r[6] = c, r[7] = g);
|
|
23108
23114
|
let _;
|
|
23109
23115
|
r[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (e2) => {
|
|
23110
23116
|
h(e2);
|
|
@@ -23277,7 +23283,7 @@ ${c}
|
|
|
23277
23283
|
function _temp$17(e) {
|
|
23278
23284
|
return cn("w-auto p-3", e);
|
|
23279
23285
|
}
|
|
23280
|
-
function _temp2$
|
|
23286
|
+
function _temp2$11(e) {
|
|
23281
23287
|
return cn("group flex flex-col gap-2", e);
|
|
23282
23288
|
}
|
|
23283
23289
|
function _temp3$9(e) {
|
|
@@ -23566,7 +23572,7 @@ ${c}
|
|
|
23566
23572
|
r[12] === T ? j = r[13] : (j = T(), r[12] = T, r[13] = j);
|
|
23567
23573
|
let M;
|
|
23568
23574
|
r[14] !== S || r[15] !== g || r[16] !== E || r[17] !== O || r[18] !== j ? (M = (0, import_jsx_runtime.jsx)(Combobox, {
|
|
23569
|
-
displayValue: _temp2$
|
|
23575
|
+
displayValue: _temp2$10,
|
|
23570
23576
|
placeholder: "Select...",
|
|
23571
23577
|
multiple: false,
|
|
23572
23578
|
className: E,
|
|
@@ -23592,7 +23598,7 @@ ${c}
|
|
|
23592
23598
|
children: e
|
|
23593
23599
|
}, e);
|
|
23594
23600
|
}
|
|
23595
|
-
function _temp2$
|
|
23601
|
+
function _temp2$10(e) {
|
|
23596
23602
|
return e === NONE_KEY ? "--" : e;
|
|
23597
23603
|
}
|
|
23598
23604
|
var import_compiler_runtime$52 = require_compiler_runtime(), DropdownPlugin = class {
|
|
@@ -23670,7 +23676,7 @@ ${c}
|
|
|
23670
23676
|
fullWidth: m,
|
|
23671
23677
|
children: w
|
|
23672
23678
|
}), r[19] = m, r[20] = h, r[21] = c, r[22] = w, r[23] = T) : T = r[23], T;
|
|
23673
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
23679
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-2lBNiUv6.js"));
|
|
23674
23680
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
23675
23681
|
label: string().nullish(),
|
|
23676
23682
|
data: string()
|
|
@@ -23833,7 +23839,7 @@ ${c}
|
|
|
23833
23839
|
keepPopoverOpenOnSelect: true,
|
|
23834
23840
|
chips: true,
|
|
23835
23841
|
chipsClassName: "flex-row flex-wrap min-w-[210px]",
|
|
23836
|
-
children: l.map(_temp2$
|
|
23842
|
+
children: l.map(_temp2$9)
|
|
23837
23843
|
}), r[2] = h, r[3] = u, r[4] = l, r[5] = f, r[6] = g, r[7] = m, r[8] = y, r[9] = b) : b = r[9];
|
|
23838
23844
|
let S = b, w;
|
|
23839
23845
|
r[10] === d ? w = r[11] : (w = cn("flex gap-1", d), r[10] = d, r[11] = w);
|
|
@@ -23894,7 +23900,7 @@ ${c}
|
|
|
23894
23900
|
function _temp$15(e) {
|
|
23895
23901
|
return e;
|
|
23896
23902
|
}
|
|
23897
|
-
function _temp2$
|
|
23903
|
+
function _temp2$9(e) {
|
|
23898
23904
|
return (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
23899
23905
|
value: e,
|
|
23900
23906
|
children: e
|
|
@@ -24492,7 +24498,7 @@ ${c}
|
|
|
24492
24498
|
}) : (0, import_jsx_runtime.jsx)(Combobox, {
|
|
24493
24499
|
className: "min-w-[180px]",
|
|
24494
24500
|
placeholder: y,
|
|
24495
|
-
displayValue: _temp2$
|
|
24501
|
+
displayValue: _temp2$8,
|
|
24496
24502
|
multiple: true,
|
|
24497
24503
|
chips: true,
|
|
24498
24504
|
keepPopoverOpenOnSelect: true,
|
|
@@ -24518,7 +24524,7 @@ ${c}
|
|
|
24518
24524
|
function _temp$14(e) {
|
|
24519
24525
|
return e.preventDefault();
|
|
24520
24526
|
}
|
|
24521
|
-
function _temp2$
|
|
24527
|
+
function _temp2$8(e) {
|
|
24522
24528
|
return Strings.startCase(e);
|
|
24523
24529
|
}
|
|
24524
24530
|
function _temp3$8(e) {
|
|
@@ -24839,7 +24845,7 @@ ${c}
|
|
|
24839
24845
|
var _a3;
|
|
24840
24846
|
let r = (0, import_compiler_runtime$47.c)(25), { path: c, form: l, schema: u } = e, d;
|
|
24841
24847
|
r[0] === u.description ? d = r[1] : (d = FieldOptions.parse(u.description), r[0] = u.description, r[1] = d);
|
|
24842
|
-
let { description: m } = d, h = import_react.use(ColumnInfoContext), g = (_a3 = Objects.entries(u.shape).find(_temp2$
|
|
24848
|
+
let { description: m } = d, h = import_react.use(ColumnInfoContext), g = (_a3 = Objects.entries(u.shape).find(_temp2$7)) == null ? void 0 : _a3[1], _;
|
|
24843
24849
|
r[2] === c ? _ = r[3] : (_ = {
|
|
24844
24850
|
name: c
|
|
24845
24851
|
}, r[2] = c, r[3] = _);
|
|
@@ -24974,7 +24980,7 @@ ${c}
|
|
|
24974
24980
|
})
|
|
24975
24981
|
}, r);
|
|
24976
24982
|
}
|
|
24977
|
-
function _temp2$
|
|
24983
|
+
function _temp2$7(e) {
|
|
24978
24984
|
let [r] = e;
|
|
24979
24985
|
return r === "column_id";
|
|
24980
24986
|
}
|
|
@@ -25314,7 +25320,8 @@ ${c}
|
|
|
25314
25320
|
field_types: columnToFieldTypesSchema,
|
|
25315
25321
|
column_types_per_step: array(columnToFieldTypesSchema),
|
|
25316
25322
|
python_code: string().nullish(),
|
|
25317
|
-
sql_code: string().nullish()
|
|
25323
|
+
sql_code: string().nullish(),
|
|
25324
|
+
size_bytes: number().nullish()
|
|
25318
25325
|
})),
|
|
25319
25326
|
get_column_values: rpc.input(object({
|
|
25320
25327
|
column: string()
|
|
@@ -25336,7 +25343,8 @@ ${c}
|
|
|
25336
25343
|
string(),
|
|
25337
25344
|
array(object({}).passthrough())
|
|
25338
25345
|
]),
|
|
25339
|
-
total_rows: number()
|
|
25346
|
+
total_rows: number(),
|
|
25347
|
+
size_bytes: number().nullish()
|
|
25340
25348
|
})),
|
|
25341
25349
|
download_as: DownloadAsSchema
|
|
25342
25350
|
}).renderer((e) => (0, import_jsx_runtime.jsx)(TableProviders, {
|
|
@@ -25352,7 +25360,7 @@ ${c}
|
|
|
25352
25360
|
transforms: []
|
|
25353
25361
|
};
|
|
25354
25362
|
const DataFrameComponent = (0, import_react.memo)((e) => {
|
|
25355
|
-
let r = (0, import_compiler_runtime$45.c)(
|
|
25363
|
+
let r = (0, import_compiler_runtime$45.c)(70), { columns: c, pageSize: l, showDownload: u, lazy: d, value: f, setValue: p, get_dataframe: m, get_column_values: h, search: g, download_as: _, host: v } = e, y;
|
|
25356
25364
|
r[0] === m ? y = r[1] : (y = () => m({}), r[0] = m, r[1] = y);
|
|
25357
25365
|
let b = f == null ? void 0 : f.transforms, S;
|
|
25358
25366
|
r[2] === b ? S = r[3] : (S = [
|
|
@@ -25360,29 +25368,29 @@ ${c}
|
|
|
25360
25368
|
], r[2] = b, r[3] = S);
|
|
25361
25369
|
let { data: w, error: T, isPending: O } = useAsyncData(y, S), j;
|
|
25362
25370
|
r[4] === w ? j = r[5] : (j = w || {}, r[4] = w, r[5] = j);
|
|
25363
|
-
let { url: M, total_rows: I, row_headers: L, field_types: R, column_types_per_step: z, python_code: B, sql_code: H } = j,
|
|
25364
|
-
r[6] === d ?
|
|
25371
|
+
let { url: M, total_rows: I, row_headers: L, field_types: R, column_types_per_step: z, python_code: B, sql_code: H, size_bytes: W } = j, G = R == null ? void 0 : R.length, [q, Z] = (0, import_react.useState)(f || EMPTY), S0 = (0, import_react.useRef)(null), C0;
|
|
25372
|
+
r[6] === d ? C0 = r[7] : (C0 = (e2) => {
|
|
25365
25373
|
var _a3;
|
|
25366
|
-
d && e2 !== "transform" && ((_a3 =
|
|
25367
|
-
}, r[6] = d, r[7] =
|
|
25368
|
-
let
|
|
25369
|
-
r[8] ===
|
|
25370
|
-
|
|
25371
|
-
}, r[8] =
|
|
25372
|
-
let
|
|
25373
|
-
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (
|
|
25374
|
-
let e2 =
|
|
25374
|
+
d && e2 !== "transform" && ((_a3 = S0.current) == null ? void 0 : _a3.submit());
|
|
25375
|
+
}, r[6] = d, r[7] = C0);
|
|
25376
|
+
let w0 = C0, T0 = (0, import_react.useRef)(q), E0;
|
|
25377
|
+
r[8] === q ? E0 = r[9] : (E0 = () => {
|
|
25378
|
+
T0.current = q;
|
|
25379
|
+
}, r[8] = q, r[9] = E0), (0, import_react.useEffect)(E0);
|
|
25380
|
+
let D0;
|
|
25381
|
+
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (D0 = () => {
|
|
25382
|
+
let e2 = T0.current;
|
|
25375
25383
|
(f == null ? void 0 : f.transforms.length) !== e2.transforms.length && p(e2);
|
|
25376
|
-
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] =
|
|
25377
|
-
let
|
|
25378
|
-
r[13] !== w || r[14] !== p || r[15] !==
|
|
25384
|
+
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] = D0) : D0 = r[12];
|
|
25385
|
+
let O0 = f == null ? void 0 : f.transforms.length, k0;
|
|
25386
|
+
r[13] !== w || r[14] !== p || r[15] !== O0 ? (k0 = [
|
|
25379
25387
|
w,
|
|
25380
|
-
|
|
25381
|
-
|
|
25388
|
+
O0,
|
|
25389
|
+
T0,
|
|
25382
25390
|
p
|
|
25383
|
-
], r[13] = w, r[14] = p, r[15] =
|
|
25384
|
-
let
|
|
25385
|
-
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25391
|
+
], r[13] = w, r[14] = p, r[15] = O0, r[16] = k0) : k0 = r[16], (0, import_react.useEffect)(D0, k0);
|
|
25392
|
+
let A0;
|
|
25393
|
+
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A0 = (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
25386
25394
|
value: "transform",
|
|
25387
25395
|
className: "text-xs py-1",
|
|
25388
25396
|
children: [
|
|
@@ -25391,9 +25399,9 @@ ${c}
|
|
|
25391
25399
|
}),
|
|
25392
25400
|
"Transform"
|
|
25393
25401
|
]
|
|
25394
|
-
}), r[17] =
|
|
25395
|
-
let
|
|
25396
|
-
r[18] === B ?
|
|
25402
|
+
}), r[17] = A0) : A0 = r[17];
|
|
25403
|
+
let j0;
|
|
25404
|
+
r[18] === B ? j0 = r[19] : (j0 = B && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
25397
25405
|
value: "python-code",
|
|
25398
25406
|
className: "text-xs py-1",
|
|
25399
25407
|
children: [
|
|
@@ -25402,9 +25410,9 @@ ${c}
|
|
|
25402
25410
|
}),
|
|
25403
25411
|
"Python Code"
|
|
25404
25412
|
]
|
|
25405
|
-
}), r[18] = B, r[19] =
|
|
25406
|
-
let
|
|
25407
|
-
r[20] === H ?
|
|
25413
|
+
}), r[18] = B, r[19] = j0);
|
|
25414
|
+
let M0;
|
|
25415
|
+
r[20] === H ? M0 = r[21] : (M0 = H && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
25408
25416
|
value: "sql-code",
|
|
25409
25417
|
className: "text-xs py-1",
|
|
25410
25418
|
children: [
|
|
@@ -25413,54 +25421,54 @@ ${c}
|
|
|
25413
25421
|
}),
|
|
25414
25422
|
"SQL Code"
|
|
25415
25423
|
]
|
|
25416
|
-
}), r[20] = H, r[21] =
|
|
25424
|
+
}), r[20] = H, r[21] = M0);
|
|
25417
25425
|
let P0;
|
|
25418
25426
|
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P0 = (0, import_jsx_runtime.jsx)("div", {
|
|
25419
25427
|
className: "grow"
|
|
25420
25428
|
}), r[22] = P0) : P0 = r[22];
|
|
25421
|
-
let
|
|
25422
|
-
r[23] !==
|
|
25429
|
+
let F0;
|
|
25430
|
+
r[23] !== j0 || r[24] !== M0 ? (F0 = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
25423
25431
|
className: "h-8",
|
|
25424
25432
|
children: [
|
|
25433
|
+
A0,
|
|
25425
25434
|
j0,
|
|
25426
25435
|
M0,
|
|
25427
|
-
N0,
|
|
25428
25436
|
P0
|
|
25429
25437
|
]
|
|
25430
|
-
}), r[23] =
|
|
25431
|
-
let
|
|
25432
|
-
r[26] === O ?
|
|
25438
|
+
}), r[23] = j0, r[24] = M0, r[25] = F0) : F0 = r[25];
|
|
25439
|
+
let I0;
|
|
25440
|
+
r[26] === O ? I0 = r[27] : (I0 = O && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
25433
25441
|
size: "small"
|
|
25434
|
-
}), r[26] = O, r[27] =
|
|
25435
|
-
let
|
|
25436
|
-
r[28] !==
|
|
25442
|
+
}), r[26] = O, r[27] = I0);
|
|
25443
|
+
let L0;
|
|
25444
|
+
r[28] !== F0 || r[29] !== I0 ? (L0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25437
25445
|
className: "flex items-center gap-2",
|
|
25438
25446
|
children: [
|
|
25439
|
-
|
|
25440
|
-
|
|
25447
|
+
F0,
|
|
25448
|
+
I0
|
|
25441
25449
|
]
|
|
25442
|
-
}), r[28] =
|
|
25450
|
+
}), r[28] = F0, r[29] = I0, r[30] = L0) : L0 = r[30];
|
|
25451
|
+
let R0;
|
|
25452
|
+
r[31] !== p || r[32] !== f ? (R0 = (e2) => {
|
|
25453
|
+
dequal(e2, f) || (p(e2), Z(e2));
|
|
25454
|
+
}, r[31] = p, r[32] = f, r[33] = R0) : R0 = r[33];
|
|
25443
25455
|
let z0;
|
|
25444
|
-
r[
|
|
25445
|
-
dequal(e2, f) || (p(e2), q(e2));
|
|
25446
|
-
}, r[31] = p, r[32] = f, r[33] = z0) : z0 = r[33];
|
|
25447
|
-
let B0;
|
|
25448
|
-
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== G || r[38] !== d || r[39] !== z0 ? (B0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25456
|
+
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !== R0 ? (z0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25449
25457
|
value: "transform",
|
|
25450
25458
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25451
25459
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
25452
|
-
ref:
|
|
25453
|
-
initialValue:
|
|
25460
|
+
ref: S0,
|
|
25461
|
+
initialValue: q,
|
|
25454
25462
|
columns: c,
|
|
25455
|
-
onChange:
|
|
25456
|
-
onInvalidChange:
|
|
25463
|
+
onChange: R0,
|
|
25464
|
+
onInvalidChange: Z,
|
|
25457
25465
|
getColumnValues: h,
|
|
25458
25466
|
columnTypesPerStep: z,
|
|
25459
25467
|
lazy: d
|
|
25460
25468
|
})
|
|
25461
|
-
}), r[34] = z, r[35] = c, r[36] = h, r[37] =
|
|
25462
|
-
let
|
|
25463
|
-
r[41] === B ?
|
|
25469
|
+
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] = R0, r[40] = z0) : z0 = r[40];
|
|
25470
|
+
let B0;
|
|
25471
|
+
r[41] === B ? B0 = r[42] : (B0 = B && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25464
25472
|
value: "python-code",
|
|
25465
25473
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25466
25474
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -25469,9 +25477,9 @@ ${c}
|
|
|
25469
25477
|
code: B,
|
|
25470
25478
|
language: "python"
|
|
25471
25479
|
})
|
|
25472
|
-
}), r[41] = B, r[42] =
|
|
25473
|
-
let
|
|
25474
|
-
r[43] === H ?
|
|
25480
|
+
}), r[41] = B, r[42] = B0);
|
|
25481
|
+
let V0;
|
|
25482
|
+
r[43] === H ? V0 = r[44] : (V0 = H && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25475
25483
|
value: "sql-code",
|
|
25476
25484
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25477
25485
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -25480,29 +25488,30 @@ ${c}
|
|
|
25480
25488
|
code: H,
|
|
25481
25489
|
language: "sql"
|
|
25482
25490
|
})
|
|
25483
|
-
}), r[43] = H, r[44] =
|
|
25484
|
-
let
|
|
25485
|
-
r[45] !==
|
|
25491
|
+
}), r[43] = H, r[44] = V0);
|
|
25492
|
+
let H0;
|
|
25493
|
+
r[45] !== w0 || r[46] !== L0 || r[47] !== z0 || r[48] !== B0 || r[49] !== V0 ? (H0 = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
25486
25494
|
defaultValue: "transform",
|
|
25487
|
-
onValueChange:
|
|
25495
|
+
onValueChange: w0,
|
|
25488
25496
|
children: [
|
|
25489
|
-
|
|
25497
|
+
L0,
|
|
25498
|
+
z0,
|
|
25490
25499
|
B0,
|
|
25491
|
-
V0
|
|
25492
|
-
H0
|
|
25500
|
+
V0
|
|
25493
25501
|
]
|
|
25494
|
-
}), r[45] =
|
|
25495
|
-
let
|
|
25496
|
-
r[51] === T ?
|
|
25502
|
+
}), r[45] = w0, r[46] = L0, r[47] = z0, r[48] = B0, r[49] = V0, r[50] = H0) : H0 = r[50];
|
|
25503
|
+
let U0;
|
|
25504
|
+
r[51] === T ? U0 = r[52] : (U0 = T && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
25497
25505
|
error: T
|
|
25498
|
-
}), r[51] = T, r[52] =
|
|
25499
|
-
let
|
|
25500
|
-
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !==
|
|
25506
|
+
}), r[51] = T, r[52] = U0);
|
|
25507
|
+
let W0 = M || "", G0 = I ?? 0, K0 = W ?? null, q0 = G ?? 0, J0 = L || Arrays.EMPTY, Y0 = I && I > 5 || false, X0;
|
|
25508
|
+
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !== W0 || r[60] !== G0 || r[61] !== K0 || r[62] !== q0 || r[63] !== J0 || r[64] !== Y0 ? (X0 = (0, import_jsx_runtime.jsx)(LoadingDataTableComponent, {
|
|
25501
25509
|
label: null,
|
|
25502
25510
|
className: "rounded-b border-x border-b",
|
|
25503
|
-
data:
|
|
25511
|
+
data: W0,
|
|
25504
25512
|
hasStableRowId: false,
|
|
25505
|
-
totalRows:
|
|
25513
|
+
totalRows: G0,
|
|
25514
|
+
sizeBytes: K0,
|
|
25506
25515
|
totalColumns: q0,
|
|
25507
25516
|
maxColumns: "all",
|
|
25508
25517
|
pageSize: l,
|
|
@@ -25526,15 +25535,15 @@ ${c}
|
|
|
25526
25535
|
selection: null,
|
|
25527
25536
|
lazy: false,
|
|
25528
25537
|
host: v
|
|
25529
|
-
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] =
|
|
25538
|
+
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] = W0, r[60] = G0, r[61] = K0, r[62] = q0, r[63] = J0, r[64] = Y0, r[65] = X0) : X0 = r[65];
|
|
25530
25539
|
let Z0;
|
|
25531
|
-
return r[
|
|
25540
|
+
return r[66] !== H0 || r[67] !== U0 || r[68] !== X0 ? (Z0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25532
25541
|
children: [
|
|
25542
|
+
H0,
|
|
25533
25543
|
U0,
|
|
25534
|
-
W0,
|
|
25535
25544
|
X0
|
|
25536
25545
|
]
|
|
25537
|
-
}), r[
|
|
25546
|
+
}), r[66] = H0, r[67] = U0, r[68] = X0, r[69] = Z0) : Z0 = r[69], Z0;
|
|
25538
25547
|
});
|
|
25539
25548
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
25540
25549
|
function getColumnSummaries() {
|
|
@@ -25722,28 +25731,28 @@ ${c}
|
|
|
25722
25731
|
}, W = [
|
|
25723
25732
|
B
|
|
25724
25733
|
], r[8] = B, r[9] = H, r[10] = W), (0, import_react.useEffect)(H, W);
|
|
25725
|
-
let G, q, Z,
|
|
25734
|
+
let G, q, Z, S0, C0, T0, E0, O0, k0;
|
|
25726
25735
|
if (r[11] !== R || r[12] !== z || r[13] !== u || r[14] !== b || r[15] !== f || r[16] !== v || r[17] !== h || r[18] !== d || r[19] !== y || r[20] !== l || r[21] !== c) {
|
|
25727
|
-
|
|
25736
|
+
k0 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
25728
25737
|
bb0: {
|
|
25729
|
-
|
|
25738
|
+
C0 = (R == null ? void 0 : R.files) ?? [];
|
|
25730
25739
|
let e2;
|
|
25731
25740
|
r[31] === c ? e2 = r[32] : (e2 = new Set(c.map(_temp$12)), r[31] = c, r[32] = e2);
|
|
25732
25741
|
let m2 = e2, g2 = d === "directory" || d === "all", _2 = d === "file" || d === "all", w;
|
|
25733
25742
|
r[33] !== g2 || r[34] !== _2 ? (w = (e3) => g2 && e3.is_directory || _2 && !e3.is_directory, r[33] = g2, r[34] = _2, r[35] = w) : w = r[35];
|
|
25734
|
-
let T2 =
|
|
25743
|
+
let T2 = C0.filter(w);
|
|
25735
25744
|
if (G = T2.length > 0 && T2.every((e3) => m2.has(e3.path)), !R && z) {
|
|
25736
25745
|
let e3;
|
|
25737
25746
|
r[36] === z.message ? e3 = r[37] : (e3 = (0, import_jsx_runtime.jsx)(Banner, {
|
|
25738
25747
|
kind: "danger",
|
|
25739
25748
|
children: z.message
|
|
25740
|
-
}), r[36] = z.message, r[37] = e3),
|
|
25749
|
+
}), r[36] = z.message, r[37] = e3), k0 = e3;
|
|
25741
25750
|
break bb0;
|
|
25742
25751
|
}
|
|
25743
25752
|
let E2;
|
|
25744
25753
|
r[38] === u ? E2 = r[39] : (E2 = PathBuilder.guessDeliminator(u), r[38] = u, r[39] = E2), q = E2.deliminator;
|
|
25745
25754
|
let O2;
|
|
25746
|
-
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$
|
|
25755
|
+
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$6), r[40] = c, r[41] = O2), E0 = O2;
|
|
25747
25756
|
let j2;
|
|
25748
25757
|
r[42] !== q || r[43] !== u || r[44] !== b || r[45] !== v || r[46] !== h || r[47] !== y ? (j2 = function(e3) {
|
|
25749
25758
|
if (b) return;
|
|
@@ -25764,7 +25773,7 @@ ${c}
|
|
|
25764
25773
|
return;
|
|
25765
25774
|
}
|
|
25766
25775
|
y(e3), S(false);
|
|
25767
|
-
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48],
|
|
25776
|
+
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48], O0 = j2;
|
|
25768
25777
|
let M2;
|
|
25769
25778
|
r[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M2 = function(e3) {
|
|
25770
25779
|
let { path: r2, name: c2, isDirectory: l2 } = e3;
|
|
@@ -25792,9 +25801,9 @@ ${c}
|
|
|
25792
25801
|
let H2 = B2, W2;
|
|
25793
25802
|
r[55] !== v || r[56] !== l || r[57] !== c ? (W2 = function() {
|
|
25794
25803
|
l(c.filter((e3) => Paths.dirname(e3.path) !== v));
|
|
25795
|
-
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], Z = W2,
|
|
25804
|
+
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], Z = W2, T0 = function() {
|
|
25796
25805
|
let e3 = [];
|
|
25797
|
-
for (let r2 of
|
|
25806
|
+
for (let r2 of C0) {
|
|
25798
25807
|
if (!g2 && r2.is_directory || m2.has(r2.path)) continue;
|
|
25799
25808
|
let c2 = I2({
|
|
25800
25809
|
path: r2.path,
|
|
@@ -25807,35 +25816,35 @@ ${c}
|
|
|
25807
25816
|
...c,
|
|
25808
25817
|
...e3
|
|
25809
25818
|
]);
|
|
25810
|
-
},
|
|
25811
|
-
let
|
|
25812
|
-
r[59] ===
|
|
25813
|
-
let
|
|
25814
|
-
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25819
|
+
}, S0 = [];
|
|
25820
|
+
let A02;
|
|
25821
|
+
r[59] === O0 ? A02 = r[60] : (A02 = () => O0(PARENT_DIRECTORY), r[59] = O0, r[60] = A02);
|
|
25822
|
+
let j02, M02;
|
|
25823
|
+
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j02 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
25815
25824
|
className: "w-[50px] pl-4",
|
|
25816
25825
|
children: (0, import_jsx_runtime.jsx)(CornerLeftUp, {
|
|
25817
25826
|
size: 16
|
|
25818
25827
|
})
|
|
25819
|
-
}),
|
|
25828
|
+
}), M02 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
25820
25829
|
children: PARENT_DIRECTORY
|
|
25821
|
-
}), r[61] =
|
|
25822
|
-
let
|
|
25823
|
-
r[63] ===
|
|
25830
|
+
}), r[61] = j02, r[62] = M02) : (j02 = r[61], M02 = r[62]);
|
|
25831
|
+
let N02;
|
|
25832
|
+
r[63] === A02 ? N02 = r[64] : (N02 = (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
25824
25833
|
className: "hover:bg-accent select-none",
|
|
25825
|
-
onClick:
|
|
25834
|
+
onClick: A02,
|
|
25826
25835
|
children: [
|
|
25827
|
-
|
|
25828
|
-
|
|
25836
|
+
j02,
|
|
25837
|
+
M02
|
|
25829
25838
|
]
|
|
25830
|
-
}, "Parent directory"), r[63] =
|
|
25831
|
-
for (let e3 of
|
|
25839
|
+
}, "Parent directory"), r[63] = A02, r[64] = N02), S0.push(N02);
|
|
25840
|
+
for (let e3 of C0) {
|
|
25832
25841
|
let r2 = e3.path;
|
|
25833
25842
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
25834
25843
|
let c2 = e3.is_directory ? (e4) => {
|
|
25835
25844
|
let { path: r3 } = e4;
|
|
25836
|
-
return
|
|
25845
|
+
return O0(r3);
|
|
25837
25846
|
} : H2, l2 = FILE_ICON[e3.is_directory ? "directory" : guessFileIconType(e3.name)], u2 = m2.has(r2);
|
|
25838
|
-
|
|
25847
|
+
S0.push((0, import_jsx_runtime.jsxs)(TableRow, {
|
|
25839
25848
|
className: cn("hover:bg-accent group select-none", {
|
|
25840
25849
|
"bg-primary/25 hover:bg-primary/35": u2
|
|
25841
25850
|
}),
|
|
@@ -25865,21 +25874,21 @@ ${c}
|
|
|
25865
25874
|
}, e3.id));
|
|
25866
25875
|
}
|
|
25867
25876
|
}
|
|
25868
|
-
r[11] = R, r[12] = z, r[13] = u, r[14] = b, r[15] = f, r[16] = v, r[17] = h, r[18] = d, r[19] = y, r[20] = l, r[21] = c, r[22] = G, r[23] = q, r[24] = Z, r[25] =
|
|
25869
|
-
} else G = r[22], q = r[23], Z = r[24],
|
|
25870
|
-
if (
|
|
25871
|
-
let M0, N0, P0, F0, I0
|
|
25872
|
-
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !== Z || r[69] !== z || r[70] !==
|
|
25877
|
+
r[11] = R, r[12] = z, r[13] = u, r[14] = b, r[15] = f, r[16] = v, r[17] = h, r[18] = d, r[19] = y, r[20] = l, r[21] = c, r[22] = G, r[23] = q, r[24] = Z, r[25] = S0, r[26] = C0, r[27] = T0, r[28] = E0, r[29] = O0, r[30] = k0;
|
|
25878
|
+
} else G = r[22], q = r[23], Z = r[24], S0 = r[25], C0 = r[26], T0 = r[27], E0 = r[28], O0 = r[29], k0 = r[30];
|
|
25879
|
+
if (k0 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return k0;
|
|
25880
|
+
let A0, j0, M0, N0, P0, F0, I0;
|
|
25881
|
+
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !== Z || r[69] !== z || r[70] !== S0 || r[71] !== C0 || r[72] !== u || r[73] !== B || r[74] !== m || r[75] !== f || r[76] !== v || r[77] !== h || r[78] !== T0 || r[79] !== E0 || r[80] !== d || r[81] !== O0 || r[82] !== l || r[83] !== T || r[84] !== c.length) {
|
|
25873
25882
|
let { parentDirectories: e2 } = getProtocolAndParentDirectories({
|
|
25874
25883
|
path: v,
|
|
25875
25884
|
delimiter: q,
|
|
25876
25885
|
initialPath: u,
|
|
25877
25886
|
restrictNavigation: h
|
|
25878
25887
|
}), g2 = d === "all" ? PluralWords.of("file", "folder") : d === "directory" ? PluralWords.of("folder") : PluralWords.of("file");
|
|
25879
|
-
r[92] === z ?
|
|
25888
|
+
r[92] === z ? I0 = r[93] : (I0 = z && (0, import_jsx_runtime.jsx)(Banner, {
|
|
25880
25889
|
kind: "danger",
|
|
25881
25890
|
children: z.message
|
|
25882
|
-
}), r[92] = z, r[93] =
|
|
25891
|
+
}), r[92] = z, r[93] = I0), A0 = (() => {
|
|
25883
25892
|
let e3 = (0, import_jsx_runtime.jsx)(Label, {
|
|
25884
25893
|
children: renderHTML({
|
|
25885
25894
|
html: m ?? `Select ${g2.join(" and ", 2)}...`
|
|
@@ -25896,7 +25905,7 @@ ${c}
|
|
|
25896
25905
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
25897
25906
|
size: "xs",
|
|
25898
25907
|
variant: "link",
|
|
25899
|
-
onClick: G ? Z :
|
|
25908
|
+
onClick: G ? Z : T0,
|
|
25900
25909
|
children: G ? "Deselect all" : "Select all"
|
|
25901
25910
|
})
|
|
25902
25911
|
})
|
|
@@ -25904,18 +25913,18 @@ ${c}
|
|
|
25904
25913
|
}) : e3;
|
|
25905
25914
|
})();
|
|
25906
25915
|
let _2;
|
|
25907
|
-
r[94] ===
|
|
25916
|
+
r[94] === O0 ? _2 = r[95] : (_2 = (e3) => O0(e3.target.value), r[94] = O0, r[95] = _2);
|
|
25908
25917
|
let y2 = e2.map(_temp3$5);
|
|
25909
|
-
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (
|
|
25918
|
+
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (j0 = (0, import_jsx_runtime.jsx)(NativeSelect, {
|
|
25910
25919
|
className: "mt-2 w-full",
|
|
25911
25920
|
placeholder: v,
|
|
25912
25921
|
value: v,
|
|
25913
25922
|
onChange: _2,
|
|
25914
25923
|
children: y2
|
|
25915
|
-
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] =
|
|
25924
|
+
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] = j0) : j0 = r[99], r[100] !== R || r[101] !== C0 ? (M0 = R && typeof R.total_count == "number" && (0, import_jsx_runtime.jsx)("div", {
|
|
25916
25925
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
25917
|
-
children: R.is_truncated ? `Showing ${
|
|
25918
|
-
}), r[100] = R, r[101] =
|
|
25926
|
+
children: R.is_truncated ? `Showing ${C0.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
25927
|
+
}), r[100] = R, r[101] = C0, r[102] = M0) : M0 = r[102];
|
|
25919
25928
|
let b2;
|
|
25920
25929
|
r[103] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b2 = {
|
|
25921
25930
|
height: "14rem"
|
|
@@ -25934,12 +25943,12 @@ ${c}
|
|
|
25934
25943
|
]
|
|
25935
25944
|
}), r[104] = T, r[105] = S2);
|
|
25936
25945
|
let E2;
|
|
25937
|
-
r[106] ===
|
|
25946
|
+
r[106] === S0 ? E2 = r[107] : (E2 = (0, import_jsx_runtime.jsx)(Table, {
|
|
25938
25947
|
className: "cursor-pointer table-fixed",
|
|
25939
25948
|
children: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
25940
|
-
children:
|
|
25949
|
+
children: S0
|
|
25941
25950
|
})
|
|
25942
|
-
}), r[106] =
|
|
25951
|
+
}), r[106] = S0, r[107] = E2), r[108] !== B || r[109] !== S2 || r[110] !== E2 ? (N0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25943
25952
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
25944
25953
|
style: b2,
|
|
25945
25954
|
"aria-busy": B,
|
|
@@ -25948,7 +25957,7 @@ ${c}
|
|
|
25948
25957
|
S2,
|
|
25949
25958
|
E2
|
|
25950
25959
|
]
|
|
25951
|
-
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] =
|
|
25960
|
+
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] = N0) : N0 = r[111], P0 = "mt-4", F0 = c.length > 0 && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
25952
25961
|
children: [
|
|
25953
25962
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
25954
25963
|
className: "flex items-center gap-2",
|
|
@@ -25978,33 +25987,33 @@ ${c}
|
|
|
25978
25987
|
marginBlock: 0
|
|
25979
25988
|
},
|
|
25980
25989
|
className: "m-0 text-xs text-muted-foreground",
|
|
25981
|
-
children:
|
|
25990
|
+
children: E0
|
|
25982
25991
|
})
|
|
25983
25992
|
})
|
|
25984
25993
|
]
|
|
25985
|
-
}), r[65] = G, r[66] = R, r[67] = q, r[68] = Z, r[69] = z, r[70] =
|
|
25986
|
-
} else
|
|
25987
|
-
let
|
|
25988
|
-
r[112] !==
|
|
25989
|
-
className:
|
|
25990
|
-
children:
|
|
25991
|
-
}), r[112] =
|
|
25992
|
-
let
|
|
25993
|
-
return r[115] !==
|
|
25994
|
+
}), r[65] = G, r[66] = R, r[67] = q, r[68] = Z, r[69] = z, r[70] = S0, r[71] = C0, r[72] = u, r[73] = B, r[74] = m, r[75] = f, r[76] = v, r[77] = h, r[78] = T0, r[79] = E0, r[80] = d, r[81] = O0, r[82] = l, r[83] = T, r[84] = c.length, r[85] = A0, r[86] = j0, r[87] = M0, r[88] = N0, r[89] = P0, r[90] = F0, r[91] = I0;
|
|
25995
|
+
} else A0 = r[85], j0 = r[86], M0 = r[87], N0 = r[88], P0 = r[89], F0 = r[90], I0 = r[91];
|
|
25996
|
+
let L0;
|
|
25997
|
+
r[112] !== P0 || r[113] !== F0 ? (L0 = (0, import_jsx_runtime.jsx)("div", {
|
|
25998
|
+
className: P0,
|
|
25999
|
+
children: F0
|
|
26000
|
+
}), r[112] = P0, r[113] = F0, r[114] = L0) : L0 = r[114];
|
|
26001
|
+
let R0;
|
|
26002
|
+
return r[115] !== A0 || r[116] !== j0 || r[117] !== M0 || r[118] !== N0 || r[119] !== L0 || r[120] !== I0 ? (R0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25994
26003
|
children: [
|
|
25995
|
-
|
|
26004
|
+
I0,
|
|
26005
|
+
A0,
|
|
26006
|
+
j0,
|
|
25996
26007
|
M0,
|
|
25997
26008
|
N0,
|
|
25998
|
-
|
|
25999
|
-
F0,
|
|
26000
|
-
z0
|
|
26009
|
+
L0
|
|
26001
26010
|
]
|
|
26002
|
-
}), r[115] =
|
|
26011
|
+
}), r[115] = A0, r[116] = j0, r[117] = M0, r[118] = N0, r[119] = L0, r[120] = I0, r[121] = R0) : R0 = r[121], R0;
|
|
26003
26012
|
};
|
|
26004
26013
|
function _temp$12(e) {
|
|
26005
26014
|
return e.path;
|
|
26006
26015
|
}
|
|
26007
|
-
function _temp2$
|
|
26016
|
+
function _temp2$6(e) {
|
|
26008
26017
|
return (0, import_jsx_runtime.jsx)("li", {
|
|
26009
26018
|
children: e.path
|
|
26010
26019
|
}, e.id);
|
|
@@ -31389,55 +31398,55 @@ ${c}
|
|
|
31389
31398
|
return typeof S == "function" ? S : noop$2;
|
|
31390
31399
|
}, [
|
|
31391
31400
|
S
|
|
31392
|
-
]), q = (0, import_react.useRef)(null), Z = (0, import_react.useRef)(null),
|
|
31393
|
-
!
|
|
31394
|
-
Z.current && (Z.current.files.length || (
|
|
31401
|
+
]), q = (0, import_react.useRef)(null), Z = (0, import_react.useRef)(null), S0 = _slicedToArray((0, import_react.useReducer)(reducer$2, initialState), 2), C0 = S0[0], w0 = S0[1], T0 = C0.isFocused, E0 = C0.isFileDialogActive, D0 = (0, import_react.useRef)(typeof window < "u" && window.isSecureContext && T && canUseFileSystemAccessAPI()), O0 = function() {
|
|
31402
|
+
!D0.current && E0 && setTimeout(function() {
|
|
31403
|
+
Z.current && (Z.current.files.length || (w0({
|
|
31395
31404
|
type: "closeDialog"
|
|
31396
31405
|
}), G()));
|
|
31397
31406
|
}, 300);
|
|
31398
31407
|
};
|
|
31399
31408
|
(0, import_react.useEffect)(function() {
|
|
31400
|
-
return window.addEventListener("focus",
|
|
31401
|
-
window.removeEventListener("focus",
|
|
31409
|
+
return window.addEventListener("focus", O0, false), function() {
|
|
31410
|
+
window.removeEventListener("focus", O0, false);
|
|
31402
31411
|
};
|
|
31403
31412
|
}, [
|
|
31404
31413
|
Z,
|
|
31405
|
-
|
|
31414
|
+
E0,
|
|
31406
31415
|
G,
|
|
31407
|
-
|
|
31416
|
+
D0
|
|
31408
31417
|
]);
|
|
31409
|
-
var
|
|
31410
|
-
q.current && q.current.contains(e2.target) || (e2.preventDefault(),
|
|
31418
|
+
var k0 = (0, import_react.useRef)([]), A0 = (0, import_react.useRef)([]), j0 = function(e2) {
|
|
31419
|
+
q.current && q.current.contains(e2.target) || (e2.preventDefault(), k0.current = []);
|
|
31411
31420
|
};
|
|
31412
31421
|
(0, import_react.useEffect)(function() {
|
|
31413
|
-
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop",
|
|
31414
|
-
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop",
|
|
31422
|
+
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop", j0, false)), function() {
|
|
31423
|
+
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop", j0));
|
|
31415
31424
|
};
|
|
31416
31425
|
}, [
|
|
31417
31426
|
q,
|
|
31418
31427
|
O
|
|
31419
31428
|
]), (0, import_react.useEffect)(function() {
|
|
31420
31429
|
var e2 = function(e3) {
|
|
31421
|
-
|
|
31430
|
+
A0.current = [].concat(_toConsumableArray(A0.current), [
|
|
31422
31431
|
e3.target
|
|
31423
|
-
]), isEvtWithFiles(e3) &&
|
|
31432
|
+
]), isEvtWithFiles(e3) && w0({
|
|
31424
31433
|
isDragGlobal: true,
|
|
31425
31434
|
type: "setDragGlobal"
|
|
31426
31435
|
});
|
|
31427
31436
|
}, r2 = function(e3) {
|
|
31428
|
-
|
|
31437
|
+
A0.current = A0.current.filter(function(r3) {
|
|
31429
31438
|
return r3 !== e3.target && r3 !== null;
|
|
31430
|
-
}), !(
|
|
31439
|
+
}), !(A0.current.length > 0) && w0({
|
|
31431
31440
|
isDragGlobal: false,
|
|
31432
31441
|
type: "setDragGlobal"
|
|
31433
31442
|
});
|
|
31434
31443
|
}, c2 = function() {
|
|
31435
|
-
|
|
31444
|
+
A0.current = [], w0({
|
|
31436
31445
|
isDragGlobal: false,
|
|
31437
31446
|
type: "setDragGlobal"
|
|
31438
31447
|
});
|
|
31439
31448
|
}, l2 = function() {
|
|
31440
|
-
|
|
31449
|
+
A0.current = [], w0({
|
|
31441
31450
|
isDragGlobal: false,
|
|
31442
31451
|
type: "setDragGlobal"
|
|
31443
31452
|
});
|
|
@@ -31455,12 +31464,12 @@ ${c}
|
|
|
31455
31464
|
E,
|
|
31456
31465
|
l
|
|
31457
31466
|
]);
|
|
31458
|
-
var
|
|
31467
|
+
var M0 = (0, import_react.useCallback)(function(e2) {
|
|
31459
31468
|
R ? R(e2) : console.error(e2);
|
|
31460
31469
|
}, [
|
|
31461
31470
|
R
|
|
31462
|
-
]),
|
|
31463
|
-
e2.preventDefault(), e2.persist(),
|
|
31471
|
+
]), N0 = (0, import_react.useCallback)(function(e2) {
|
|
31472
|
+
e2.preventDefault(), e2.persist(), K0(e2), k0.current = [].concat(_toConsumableArray(k0.current), [
|
|
31464
31473
|
e2.target
|
|
31465
31474
|
]), isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
31466
31475
|
if (!(isPropagationStopped(e2) && !L)) {
|
|
@@ -31473,7 +31482,7 @@ ${c}
|
|
|
31473
31482
|
maxFiles: m,
|
|
31474
31483
|
validator: z
|
|
31475
31484
|
});
|
|
31476
|
-
|
|
31485
|
+
w0({
|
|
31477
31486
|
isDragAccept: l2,
|
|
31478
31487
|
isDragReject: c2 > 0 && !l2,
|
|
31479
31488
|
isDragActive: true,
|
|
@@ -31481,12 +31490,12 @@ ${c}
|
|
|
31481
31490
|
}), h && h(e2);
|
|
31482
31491
|
}
|
|
31483
31492
|
}).catch(function(e3) {
|
|
31484
|
-
return
|
|
31493
|
+
return M0(e3);
|
|
31485
31494
|
});
|
|
31486
31495
|
}, [
|
|
31487
31496
|
u,
|
|
31488
31497
|
h,
|
|
31489
|
-
|
|
31498
|
+
M0,
|
|
31490
31499
|
L,
|
|
31491
31500
|
B,
|
|
31492
31501
|
f,
|
|
@@ -31494,8 +31503,8 @@ ${c}
|
|
|
31494
31503
|
p,
|
|
31495
31504
|
m,
|
|
31496
31505
|
z
|
|
31497
|
-
]),
|
|
31498
|
-
e2.preventDefault(), e2.persist(),
|
|
31506
|
+
]), P0 = (0, import_react.useCallback)(function(e2) {
|
|
31507
|
+
e2.preventDefault(), e2.persist(), K0(e2);
|
|
31499
31508
|
var r2 = isEvtWithFiles(e2);
|
|
31500
31509
|
if (r2 && e2.dataTransfer) try {
|
|
31501
31510
|
e2.dataTransfer.dropEffect = "copy";
|
|
@@ -31505,12 +31514,12 @@ ${c}
|
|
|
31505
31514
|
}, [
|
|
31506
31515
|
_,
|
|
31507
31516
|
L
|
|
31508
|
-
]),
|
|
31509
|
-
e2.preventDefault(), e2.persist(),
|
|
31510
|
-
var r2 =
|
|
31517
|
+
]), F0 = (0, import_react.useCallback)(function(e2) {
|
|
31518
|
+
e2.preventDefault(), e2.persist(), K0(e2);
|
|
31519
|
+
var r2 = k0.current.filter(function(e3) {
|
|
31511
31520
|
return q.current && q.current.contains(e3);
|
|
31512
31521
|
}), c2 = r2.indexOf(e2.target);
|
|
31513
|
-
c2 !== -1 && r2.splice(c2, 1),
|
|
31522
|
+
c2 !== -1 && r2.splice(c2, 1), k0.current = r2, !(r2.length > 0) && (w0({
|
|
31514
31523
|
type: "setDraggedFiles",
|
|
31515
31524
|
isDragActive: false,
|
|
31516
31525
|
isDragAccept: false,
|
|
@@ -31520,7 +31529,7 @@ ${c}
|
|
|
31520
31529
|
q,
|
|
31521
31530
|
g,
|
|
31522
31531
|
L
|
|
31523
|
-
]),
|
|
31532
|
+
]), I0 = (0, import_react.useCallback)(function(e2, r2) {
|
|
31524
31533
|
var c2 = [], l2 = [];
|
|
31525
31534
|
e2.forEach(function(e3) {
|
|
31526
31535
|
var r3 = _slicedToArray(fileAccepted(e3, B), 2), u2 = r3[0], p2 = r3[1], m2 = _slicedToArray(fileMatchSize(e3, f, d), 2), h2 = m2[0], g2 = m2[1], _2 = z ? z(e3) : null;
|
|
@@ -31544,14 +31553,14 @@ ${c}
|
|
|
31544
31553
|
TOO_MANY_FILES_REJECTION
|
|
31545
31554
|
]
|
|
31546
31555
|
});
|
|
31547
|
-
}), c2.splice(0)),
|
|
31556
|
+
}), c2.splice(0)), w0({
|
|
31548
31557
|
acceptedFiles: c2,
|
|
31549
31558
|
fileRejections: l2,
|
|
31550
31559
|
isDragReject: l2.length > 0,
|
|
31551
31560
|
type: "setFiles"
|
|
31552
31561
|
}), v && v(c2, l2, r2), l2.length > 0 && b && b(l2, r2), c2.length > 0 && y && y(c2, r2);
|
|
31553
31562
|
}, [
|
|
31554
|
-
|
|
31563
|
+
w0,
|
|
31555
31564
|
p,
|
|
31556
31565
|
B,
|
|
31557
31566
|
f,
|
|
@@ -31561,22 +31570,22 @@ ${c}
|
|
|
31561
31570
|
y,
|
|
31562
31571
|
b,
|
|
31563
31572
|
z
|
|
31564
|
-
]),
|
|
31565
|
-
e2.preventDefault(), e2.persist(),
|
|
31566
|
-
isPropagationStopped(e2) && !L ||
|
|
31573
|
+
]), L0 = (0, import_react.useCallback)(function(e2) {
|
|
31574
|
+
e2.preventDefault(), e2.persist(), K0(e2), k0.current = [], isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
31575
|
+
isPropagationStopped(e2) && !L || I0(r2, e2);
|
|
31567
31576
|
}).catch(function(e3) {
|
|
31568
|
-
return
|
|
31569
|
-
}),
|
|
31577
|
+
return M0(e3);
|
|
31578
|
+
}), w0({
|
|
31570
31579
|
type: "reset"
|
|
31571
31580
|
});
|
|
31572
31581
|
}, [
|
|
31573
31582
|
u,
|
|
31574
|
-
|
|
31575
|
-
|
|
31583
|
+
I0,
|
|
31584
|
+
M0,
|
|
31576
31585
|
L
|
|
31577
|
-
]),
|
|
31578
|
-
if (
|
|
31579
|
-
|
|
31586
|
+
]), R0 = (0, import_react.useCallback)(function() {
|
|
31587
|
+
if (D0.current) {
|
|
31588
|
+
w0({
|
|
31580
31589
|
type: "openDialog"
|
|
31581
31590
|
}), W();
|
|
31582
31591
|
var e2 = {
|
|
@@ -31586,66 +31595,66 @@ ${c}
|
|
|
31586
31595
|
window.showOpenFilePicker(e2).then(function(e3) {
|
|
31587
31596
|
return u(e3);
|
|
31588
31597
|
}).then(function(e3) {
|
|
31589
|
-
|
|
31598
|
+
I0(e3, null), w0({
|
|
31590
31599
|
type: "closeDialog"
|
|
31591
31600
|
});
|
|
31592
31601
|
}).catch(function(e3) {
|
|
31593
|
-
isAbort(e3) ? (G(e3),
|
|
31602
|
+
isAbort(e3) ? (G(e3), w0({
|
|
31594
31603
|
type: "closeDialog"
|
|
31595
|
-
})) : isSecurityError(e3) ? (
|
|
31604
|
+
})) : isSecurityError(e3) ? (D0.current = false, Z.current ? (Z.current.value = null, Z.current.click()) : M0(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : M0(e3);
|
|
31596
31605
|
});
|
|
31597
31606
|
return;
|
|
31598
31607
|
}
|
|
31599
|
-
Z.current && (
|
|
31608
|
+
Z.current && (w0({
|
|
31600
31609
|
type: "openDialog"
|
|
31601
31610
|
}), W(), Z.current.value = null, Z.current.click());
|
|
31602
31611
|
}, [
|
|
31603
|
-
|
|
31612
|
+
w0,
|
|
31604
31613
|
W,
|
|
31605
31614
|
G,
|
|
31606
31615
|
T,
|
|
31607
|
-
|
|
31608
|
-
|
|
31616
|
+
I0,
|
|
31617
|
+
M0,
|
|
31609
31618
|
H,
|
|
31610
31619
|
p
|
|
31611
|
-
]),
|
|
31612
|
-
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(),
|
|
31620
|
+
]), z0 = (0, import_react.useCallback)(function(e2) {
|
|
31621
|
+
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(), R0());
|
|
31613
31622
|
}, [
|
|
31614
31623
|
q,
|
|
31615
|
-
|
|
31616
|
-
]),
|
|
31617
|
-
|
|
31624
|
+
R0
|
|
31625
|
+
]), B0 = (0, import_react.useCallback)(function() {
|
|
31626
|
+
w0({
|
|
31618
31627
|
type: "focus"
|
|
31619
31628
|
});
|
|
31620
|
-
}, []),
|
|
31621
|
-
|
|
31629
|
+
}, []), V0 = (0, import_react.useCallback)(function() {
|
|
31630
|
+
w0({
|
|
31622
31631
|
type: "blur"
|
|
31623
31632
|
});
|
|
31624
|
-
}, []),
|
|
31625
|
-
j || (isIeOrEdge() ? setTimeout(
|
|
31633
|
+
}, []), H0 = (0, import_react.useCallback)(function() {
|
|
31634
|
+
j || (isIeOrEdge() ? setTimeout(R0, 0) : R0());
|
|
31626
31635
|
}, [
|
|
31627
31636
|
j,
|
|
31628
|
-
|
|
31629
|
-
]),
|
|
31637
|
+
R0
|
|
31638
|
+
]), U0 = function(e2) {
|
|
31630
31639
|
return l ? null : e2;
|
|
31640
|
+
}, W0 = function(e2) {
|
|
31641
|
+
return M ? null : U0(e2);
|
|
31642
|
+
}, G0 = function(e2) {
|
|
31643
|
+
return I ? null : U0(e2);
|
|
31631
31644
|
}, K0 = function(e2) {
|
|
31632
|
-
return M ? null : G0(e2);
|
|
31633
|
-
}, q0 = function(e2) {
|
|
31634
|
-
return I ? null : G0(e2);
|
|
31635
|
-
}, J0 = function(e2) {
|
|
31636
31645
|
L && e2.stopPropagation();
|
|
31637
|
-
},
|
|
31646
|
+
}, q0 = (0, import_react.useMemo)(function() {
|
|
31638
31647
|
return function() {
|
|
31639
31648
|
var e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r2 = e2.refKey, c2 = r2 === void 0 ? "ref" : r2, u2 = e2.role, d2 = e2.onKeyDown, f2 = e2.onFocus, p2 = e2.onBlur, m2 = e2.onClick, h2 = e2.onDragEnter, g2 = e2.onDragOver, _2 = e2.onDragLeave, v2 = e2.onDrop, y2 = _objectWithoutProperties$2(e2, _excluded3);
|
|
31640
31649
|
return _objectSpread$7(_objectSpread$7(_defineProperty$10({
|
|
31641
|
-
onKeyDown:
|
|
31642
|
-
onFocus:
|
|
31643
|
-
onBlur:
|
|
31644
|
-
onClick:
|
|
31645
|
-
onDragEnter:
|
|
31646
|
-
onDragOver:
|
|
31647
|
-
onDragLeave:
|
|
31648
|
-
onDrop:
|
|
31650
|
+
onKeyDown: W0(composeEventHandlers(d2, z0)),
|
|
31651
|
+
onFocus: W0(composeEventHandlers(f2, B0)),
|
|
31652
|
+
onBlur: W0(composeEventHandlers(p2, V0)),
|
|
31653
|
+
onClick: U0(composeEventHandlers(m2, H0)),
|
|
31654
|
+
onDragEnter: G0(composeEventHandlers(h2, N0)),
|
|
31655
|
+
onDragOver: G0(composeEventHandlers(g2, P0)),
|
|
31656
|
+
onDragLeave: G0(composeEventHandlers(_2, F0)),
|
|
31657
|
+
onDrop: G0(composeEventHandlers(v2, L0)),
|
|
31649
31658
|
role: typeof u2 == "string" && u2 !== "" ? u2 : "presentation"
|
|
31650
31659
|
}, c2, q), !l && !M ? {
|
|
31651
31660
|
tabIndex: 0
|
|
@@ -31653,20 +31662,20 @@ ${c}
|
|
|
31653
31662
|
};
|
|
31654
31663
|
}, [
|
|
31655
31664
|
q,
|
|
31665
|
+
z0,
|
|
31666
|
+
B0,
|
|
31656
31667
|
V0,
|
|
31657
31668
|
H0,
|
|
31658
|
-
|
|
31659
|
-
|
|
31669
|
+
N0,
|
|
31670
|
+
P0,
|
|
31660
31671
|
F0,
|
|
31661
|
-
I0,
|
|
31662
31672
|
L0,
|
|
31663
|
-
z0,
|
|
31664
31673
|
M,
|
|
31665
31674
|
I,
|
|
31666
31675
|
l
|
|
31667
|
-
]),
|
|
31676
|
+
]), J0 = (0, import_react.useCallback)(function(e2) {
|
|
31668
31677
|
e2.stopPropagation();
|
|
31669
|
-
}, []),
|
|
31678
|
+
}, []), Y0 = (0, import_react.useMemo)(function() {
|
|
31670
31679
|
return function() {
|
|
31671
31680
|
var e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r2 = e2.refKey, c2 = r2 === void 0 ? "ref" : r2, l2 = e2.onChange, u2 = e2.onClick, d2 = _objectWithoutProperties$2(e2, _excluded4);
|
|
31672
31681
|
return _objectSpread$7(_objectSpread$7({}, _defineProperty$10({
|
|
@@ -31685,8 +31694,8 @@ ${c}
|
|
|
31685
31694
|
width: "1px",
|
|
31686
31695
|
whiteSpace: "nowrap"
|
|
31687
31696
|
},
|
|
31688
|
-
onChange:
|
|
31689
|
-
onClick:
|
|
31697
|
+
onChange: U0(composeEventHandlers(l2, L0)),
|
|
31698
|
+
onClick: U0(composeEventHandlers(u2, J0)),
|
|
31690
31699
|
tabIndex: -1
|
|
31691
31700
|
}, c2, Z)), d2);
|
|
31692
31701
|
};
|
|
@@ -31694,16 +31703,16 @@ ${c}
|
|
|
31694
31703
|
Z,
|
|
31695
31704
|
c,
|
|
31696
31705
|
p,
|
|
31697
|
-
|
|
31706
|
+
L0,
|
|
31698
31707
|
l
|
|
31699
31708
|
]);
|
|
31700
|
-
return _objectSpread$7(_objectSpread$7({},
|
|
31701
|
-
isFocused:
|
|
31702
|
-
getRootProps:
|
|
31703
|
-
getInputProps:
|
|
31709
|
+
return _objectSpread$7(_objectSpread$7({}, C0), {}, {
|
|
31710
|
+
isFocused: T0 && !l,
|
|
31711
|
+
getRootProps: q0,
|
|
31712
|
+
getInputProps: Y0,
|
|
31704
31713
|
rootRef: q,
|
|
31705
31714
|
inputRef: Z,
|
|
31706
|
-
open:
|
|
31715
|
+
open: U0(R0)
|
|
31707
31716
|
});
|
|
31708
31717
|
}
|
|
31709
31718
|
function reducer$2(e, r) {
|
|
@@ -31935,47 +31944,47 @@ ${c}
|
|
|
31935
31944
|
html: I
|
|
31936
31945
|
})
|
|
31937
31946
|
}), r[45] = I, r[46] = M, r[47] = G) : G = r[47];
|
|
31938
|
-
let q = w && "text-primary", Z = T && "text-destructive",
|
|
31939
|
-
r[48] !== q || r[49] !== Z ? (
|
|
31940
|
-
let
|
|
31941
|
-
r[51] ===
|
|
31947
|
+
let q = w && "text-primary", Z = T && "text-destructive", S0;
|
|
31948
|
+
r[48] !== q || r[49] !== Z ? (S0 = cn(q, Z), r[48] = q, r[49] = Z, r[50] = S0) : S0 = r[50];
|
|
31949
|
+
let C0;
|
|
31950
|
+
r[51] === S0 ? C0 = r[52] : (C0 = (0, import_jsx_runtime.jsx)(Upload, {
|
|
31942
31951
|
strokeWidth: 1.4,
|
|
31943
|
-
className:
|
|
31944
|
-
}), r[51] =
|
|
31945
|
-
let
|
|
31946
|
-
r[53] !==
|
|
31947
|
-
let
|
|
31948
|
-
r[56] ===
|
|
31952
|
+
className: S0
|
|
31953
|
+
}), r[51] = S0, r[52] = C0);
|
|
31954
|
+
let w0 = w && "text-primary", T0 = T && "text-destructive", E0;
|
|
31955
|
+
r[53] !== w0 || r[54] !== T0 ? (E0 = cn(w0, T0), r[53] = w0, r[54] = T0, r[55] = E0) : E0 = r[55];
|
|
31956
|
+
let D0;
|
|
31957
|
+
r[56] === E0 ? D0 = r[57] : (D0 = (0, import_jsx_runtime.jsx)(SquareDashedMousePointer, {
|
|
31949
31958
|
strokeWidth: 1.4,
|
|
31950
|
-
className:
|
|
31951
|
-
}), r[56] =
|
|
31952
|
-
let
|
|
31953
|
-
r[58] !==
|
|
31959
|
+
className: E0
|
|
31960
|
+
}), r[56] = E0, r[57] = D0);
|
|
31961
|
+
let O0;
|
|
31962
|
+
r[58] !== C0 || r[59] !== D0 ? (O0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31954
31963
|
className: "flex flex-row items-center justify-center grow gap-3",
|
|
31955
31964
|
children: [
|
|
31956
|
-
|
|
31957
|
-
|
|
31965
|
+
C0,
|
|
31966
|
+
D0
|
|
31958
31967
|
]
|
|
31959
|
-
}), r[58] =
|
|
31960
|
-
let
|
|
31961
|
-
r[61] !== G || r[62] !==
|
|
31968
|
+
}), r[58] = C0, r[59] = D0, r[60] = O0) : O0 = r[60];
|
|
31969
|
+
let k0;
|
|
31970
|
+
r[61] !== G || r[62] !== O0 ? (k0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31962
31971
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
31963
31972
|
children: [
|
|
31964
31973
|
G,
|
|
31965
|
-
|
|
31974
|
+
O0
|
|
31966
31975
|
]
|
|
31967
|
-
}), r[61] = G, r[62] =
|
|
31968
|
-
let
|
|
31969
|
-
r[64] !== W || r[65] !==
|
|
31976
|
+
}), r[61] = G, r[62] = O0, r[63] = k0) : k0 = r[63];
|
|
31977
|
+
let A0;
|
|
31978
|
+
r[64] !== W || r[65] !== k0 || r[66] !== z || r[67] !== B ? (A0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31970
31979
|
className: z,
|
|
31971
31980
|
...B,
|
|
31972
31981
|
children: [
|
|
31973
31982
|
W,
|
|
31974
|
-
|
|
31983
|
+
k0
|
|
31975
31984
|
]
|
|
31976
|
-
}), r[64] = W, r[65] =
|
|
31977
|
-
let
|
|
31978
|
-
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (
|
|
31985
|
+
}), r[64] = W, r[65] = k0, r[66] = z, r[67] = B, r[68] = A0) : A0 = r[68];
|
|
31986
|
+
let j0;
|
|
31987
|
+
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (j0 = M ? (0, import_jsx_runtime.jsxs)("div", {
|
|
31979
31988
|
className: "flex flex-row gap-1",
|
|
31980
31989
|
children: [
|
|
31981
31990
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -32011,17 +32020,17 @@ ${c}
|
|
|
32011
32020
|
})
|
|
32012
32021
|
})
|
|
32013
32022
|
]
|
|
32014
|
-
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] =
|
|
32015
|
-
let
|
|
32016
|
-
return r[75] !==
|
|
32023
|
+
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] = j0) : j0 = r[74];
|
|
32024
|
+
let M0;
|
|
32025
|
+
return r[75] !== A0 || r[76] !== j0 ? (M0 = (0, import_jsx_runtime.jsx)("section", {
|
|
32017
32026
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
32018
32027
|
className: "flex flex-col items-start justify-start grow gap-3",
|
|
32019
32028
|
children: [
|
|
32020
|
-
|
|
32021
|
-
|
|
32029
|
+
A0,
|
|
32030
|
+
j0
|
|
32022
32031
|
]
|
|
32023
32032
|
})
|
|
32024
|
-
}), r[75] =
|
|
32033
|
+
}), r[75] = A0, r[76] = j0, r[77] = M0) : M0 = r[77], M0;
|
|
32025
32034
|
};
|
|
32026
32035
|
function _temp$11(e) {
|
|
32027
32036
|
Logger.error(e), toast({
|
|
@@ -32030,7 +32039,7 @@ ${c}
|
|
|
32030
32039
|
variant: "danger"
|
|
32031
32040
|
});
|
|
32032
32041
|
}
|
|
32033
|
-
function _temp2$
|
|
32042
|
+
function _temp2$5(e) {
|
|
32034
32043
|
return e.message;
|
|
32035
32044
|
}
|
|
32036
32045
|
function _temp3$4(e) {
|
|
@@ -32038,7 +32047,7 @@ ${c}
|
|
|
32038
32047
|
children: [
|
|
32039
32048
|
e.file.name,
|
|
32040
32049
|
" (",
|
|
32041
|
-
e.errors.map(_temp2$
|
|
32050
|
+
e.errors.map(_temp2$5).join(", "),
|
|
32042
32051
|
")"
|
|
32043
32052
|
]
|
|
32044
32053
|
}, e.file.name);
|
|
@@ -32124,68 +32133,68 @@ ${c}
|
|
|
32124
32133
|
html: f
|
|
32125
32134
|
})
|
|
32126
32135
|
}), r[13] = f, r[14] = Z);
|
|
32127
|
-
let
|
|
32128
|
-
r[15] === L ?
|
|
32136
|
+
let S0;
|
|
32137
|
+
r[15] === L ? S0 = r[16] : (S0 = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
32129
32138
|
kind: "danger",
|
|
32130
32139
|
className: "rounded",
|
|
32131
32140
|
children: L ?? "Invalid input"
|
|
32132
|
-
}), r[15] = L, r[16] =
|
|
32133
|
-
let
|
|
32134
|
-
r[17] === c ?
|
|
32141
|
+
}), r[15] = L, r[16] = S0);
|
|
32142
|
+
let C0;
|
|
32143
|
+
r[17] === c ? C0 = r[18] : (C0 = (0, import_jsx_runtime.jsx)("div", {
|
|
32135
32144
|
children: c
|
|
32136
|
-
}), r[17] = c, r[18] =
|
|
32137
|
-
let
|
|
32138
|
-
r[19] !== S || r[20] !== T || r[21] !== b ? (
|
|
32145
|
+
}), r[17] = c, r[18] = C0);
|
|
32146
|
+
let w0;
|
|
32147
|
+
r[19] !== S || r[20] !== T || r[21] !== b ? (w0 = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
32139
32148
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
32140
32149
|
variant: "text",
|
|
32141
32150
|
onClick: (e2) => {
|
|
32142
32151
|
e2.preventDefault(), B();
|
|
32143
32152
|
},
|
|
32144
32153
|
children: S
|
|
32145
|
-
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] =
|
|
32146
|
-
let
|
|
32147
|
-
r[23] === h ?
|
|
32154
|
+
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] = w0) : w0 = r[22];
|
|
32155
|
+
let T0 = v || h, E0;
|
|
32156
|
+
r[23] === h ? E0 = r[24] : (E0 = h && (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
32148
32157
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
32149
|
-
}), r[23] = h, r[24] =
|
|
32150
|
-
let
|
|
32151
|
-
r[25] !== g || r[26] !==
|
|
32158
|
+
}), r[23] = h, r[24] = E0);
|
|
32159
|
+
let D0;
|
|
32160
|
+
r[25] !== g || r[26] !== T0 || r[27] !== E0 || r[28] !== I ? (D0 = (0, import_jsx_runtime.jsxs)(Button, {
|
|
32152
32161
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
32153
32162
|
variant: I,
|
|
32154
|
-
disabled:
|
|
32163
|
+
disabled: T0,
|
|
32155
32164
|
type: "submit",
|
|
32156
32165
|
children: [
|
|
32157
|
-
|
|
32166
|
+
E0,
|
|
32158
32167
|
g
|
|
32159
32168
|
]
|
|
32160
|
-
}), r[25] = g, r[26] =
|
|
32161
|
-
let
|
|
32162
|
-
r[30] !== _ || r[31] !==
|
|
32163
|
-
let
|
|
32164
|
-
r[33] !==
|
|
32169
|
+
}), r[25] = g, r[26] = T0, r[27] = E0, r[28] = I, r[29] = D0) : D0 = r[29];
|
|
32170
|
+
let O0;
|
|
32171
|
+
r[30] !== _ || r[31] !== D0 ? (O0 = withTooltip(D0, _), r[30] = _, r[31] = D0, r[32] = O0) : O0 = r[32];
|
|
32172
|
+
let k0;
|
|
32173
|
+
r[33] !== O0 || r[34] !== w0 ? (k0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
32165
32174
|
className: "flex justify-end gap-2 font-code",
|
|
32166
32175
|
children: [
|
|
32167
|
-
|
|
32168
|
-
|
|
32176
|
+
w0,
|
|
32177
|
+
O0
|
|
32169
32178
|
]
|
|
32170
|
-
}), r[33] =
|
|
32171
|
-
let
|
|
32172
|
-
r[36] !==
|
|
32179
|
+
}), r[33] = O0, r[34] = w0, r[35] = k0) : k0 = r[35];
|
|
32180
|
+
let A0;
|
|
32181
|
+
r[36] !== k0 || r[37] !== G || r[38] !== q || r[39] !== Z || r[40] !== S0 || r[41] !== C0 ? (A0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
32173
32182
|
className: G,
|
|
32174
32183
|
onKeyDown: q,
|
|
32175
32184
|
children: [
|
|
32176
32185
|
Z,
|
|
32177
|
-
|
|
32178
|
-
|
|
32179
|
-
|
|
32186
|
+
S0,
|
|
32187
|
+
C0,
|
|
32188
|
+
k0
|
|
32180
32189
|
]
|
|
32181
|
-
}), r[36] =
|
|
32182
|
-
let
|
|
32183
|
-
return r[43] !==
|
|
32190
|
+
}), r[36] = k0, r[37] = G, r[38] = q, r[39] = Z, r[40] = S0, r[41] = C0, r[42] = A0) : A0 = r[42];
|
|
32191
|
+
let j0;
|
|
32192
|
+
return r[43] !== A0 || r[44] !== H ? (j0 = (0, import_jsx_runtime.jsx)("form", {
|
|
32184
32193
|
className: "contents",
|
|
32185
32194
|
ref: j,
|
|
32186
32195
|
onSubmit: H,
|
|
32187
|
-
children:
|
|
32188
|
-
}), r[43] =
|
|
32196
|
+
children: A0
|
|
32197
|
+
}), r[43] = A0, r[44] = H, r[45] = j0) : j0 = r[45], j0;
|
|
32189
32198
|
};
|
|
32190
32199
|
var Form = (e) => {
|
|
32191
32200
|
let r = (0, import_compiler_runtime$42.c)(24), c, l, u, d, f, p;
|
|
@@ -32515,7 +32524,7 @@ ${c}
|
|
|
32515
32524
|
let E = useEvent_default(T), O;
|
|
32516
32525
|
r[8] === v ? O = r[9] : (O = () => {
|
|
32517
32526
|
var _a3, _b3;
|
|
32518
|
-
(_a3 = p.current) == null ? void 0 : _a3.stream.getTracks().forEach(_temp2$
|
|
32527
|
+
(_a3 = p.current) == null ? void 0 : _a3.stream.getTracks().forEach(_temp2$4), (_b3 = p.current) == null ? void 0 : _b3.stop(), v.stop();
|
|
32519
32528
|
}, r[8] = v, r[9] = O), useOnUnmount(O);
|
|
32520
32529
|
let j;
|
|
32521
32530
|
return r[10] !== m || r[11] !== E || r[12] !== g || r[13] !== u || r[14] !== b || r[15] !== w || r[16] !== v.time ? (j = {
|
|
@@ -32529,7 +32538,7 @@ ${c}
|
|
|
32529
32538
|
mediaRecorder: p
|
|
32530
32539
|
}, r[10] = m, r[11] = E, r[12] = g, r[13] = u, r[14] = b, r[15] = w, r[16] = v.time, r[17] = j) : j = r[17], j;
|
|
32531
32540
|
}
|
|
32532
|
-
function _temp2$
|
|
32541
|
+
function _temp2$4(e) {
|
|
32533
32542
|
return e.stop();
|
|
32534
32543
|
}
|
|
32535
32544
|
function _temp$9(e) {
|
|
@@ -33865,7 +33874,7 @@ ${c}
|
|
|
33865
33874
|
setValue: e.setValue
|
|
33866
33875
|
});
|
|
33867
33876
|
}
|
|
33868
|
-
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-
|
|
33877
|
+
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-4wn-lMVn.js").then((e) => ({
|
|
33869
33878
|
default: e.Plot
|
|
33870
33879
|
})));
|
|
33871
33880
|
const PlotlyComponent = (0, import_react.memo)((e) => {
|
|
@@ -33929,7 +33938,7 @@ ${c}
|
|
|
33929
33938
|
}, r[23] = u, r[24] = R);
|
|
33930
33939
|
let z;
|
|
33931
33940
|
r[25] === u ? z = r[26] : (z = () => {
|
|
33932
|
-
u(_temp2$
|
|
33941
|
+
u(_temp2$3);
|
|
33933
33942
|
}, r[25] = u, r[26] = z);
|
|
33934
33943
|
let B = useEvent_default(z), H;
|
|
33935
33944
|
r[27] === u ? H = r[28] : (H = (e2) => {
|
|
@@ -33958,8 +33967,8 @@ ${c}
|
|
|
33958
33967
|
indices: c2
|
|
33959
33968
|
}));
|
|
33960
33969
|
}, r[31] = u, r[32] = Z);
|
|
33961
|
-
let
|
|
33962
|
-
r[33] === u ?
|
|
33970
|
+
let S0 = useEvent_default(Z), C0;
|
|
33971
|
+
r[33] === u ? C0 = r[34] : (C0 = (e2) => {
|
|
33963
33972
|
e2 && u((r2) => ({
|
|
33964
33973
|
...r2,
|
|
33965
33974
|
selections: "selections" in e2 ? e2.selections : [],
|
|
@@ -33968,9 +33977,9 @@ ${c}
|
|
|
33968
33977
|
range: e2.range,
|
|
33969
33978
|
lasso: "lassoPoints" in e2 ? e2.lassoPoints : void 0
|
|
33970
33979
|
}));
|
|
33971
|
-
}, r[33] = u, r[34] =
|
|
33972
|
-
let
|
|
33973
|
-
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !==
|
|
33980
|
+
}, r[33] = u, r[34] = C0);
|
|
33981
|
+
let w0 = useEvent_default(C0), T0 = m.frames ?? void 0, E0 = useEvent_default(_temp3$3), D0;
|
|
33982
|
+
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !== S0 || r[42] !== w0 || r[43] !== T0 || r[44] !== E0 || r[45] !== R ? (D0 = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
33974
33983
|
...m,
|
|
33975
33984
|
layout: h,
|
|
33976
33985
|
onRelayout: R,
|
|
@@ -33978,19 +33987,19 @@ ${c}
|
|
|
33978
33987
|
onTreemapClick: W,
|
|
33979
33988
|
onSunburstClick: q,
|
|
33980
33989
|
config: L,
|
|
33981
|
-
onClick:
|
|
33982
|
-
onSelected:
|
|
33990
|
+
onClick: S0,
|
|
33991
|
+
onSelected: w0,
|
|
33983
33992
|
className: "w-full",
|
|
33984
33993
|
useResizeHandler: true,
|
|
33985
|
-
frames:
|
|
33986
|
-
onError:
|
|
33987
|
-
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] =
|
|
33994
|
+
frames: T0,
|
|
33995
|
+
onError: E0
|
|
33996
|
+
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] = S0, r[42] = w0, r[43] = T0, r[44] = E0, r[45] = R, r[46] = D0) : D0 = r[46], D0;
|
|
33988
33997
|
});
|
|
33989
33998
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
33990
33999
|
function _temp$8(e) {
|
|
33991
34000
|
return e.includes("xaxis") || e.includes("yaxis");
|
|
33992
34001
|
}
|
|
33993
|
-
function _temp2$
|
|
34002
|
+
function _temp2$3(e) {
|
|
33994
34003
|
return {
|
|
33995
34004
|
...e,
|
|
33996
34005
|
selections: Arrays.EMPTY,
|
|
@@ -34129,8 +34138,8 @@ ${c}
|
|
|
34129
34138
|
onPointerUp: H
|
|
34130
34139
|
})
|
|
34131
34140
|
}), c[19] = L, c[20] = z, c[21] = H, c[22] = Z) : Z = c[22];
|
|
34132
|
-
let
|
|
34133
|
-
c[23] !== m.setFalse || c[24] !== m.setTrue ? (
|
|
34141
|
+
let S0;
|
|
34142
|
+
c[23] !== m.setFalse || c[24] !== m.setTrue ? (S0 = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
34134
34143
|
asChild: true,
|
|
34135
34144
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
34136
34145
|
"data-testid": "thumb",
|
|
@@ -34140,30 +34149,30 @@ ${c}
|
|
|
34140
34149
|
onMouseEnter: m.setTrue,
|
|
34141
34150
|
onMouseLeave: m.setFalse
|
|
34142
34151
|
})
|
|
34143
|
-
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] =
|
|
34144
|
-
let
|
|
34145
|
-
c[26] !== h || c[27] !== u.value || c[28] !== d ? (
|
|
34152
|
+
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] = S0) : S0 = c[25];
|
|
34153
|
+
let C0;
|
|
34154
|
+
c[26] !== h || c[27] !== u.value || c[28] !== d ? (C0 = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
34146
34155
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
34147
34156
|
locale: h
|
|
34148
34157
|
})
|
|
34149
|
-
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] =
|
|
34150
|
-
let
|
|
34151
|
-
c[30] ===
|
|
34152
|
-
children:
|
|
34153
|
-
}), c[30] =
|
|
34154
|
-
let
|
|
34155
|
-
c[32] !== f || c[33] !==
|
|
34158
|
+
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] = C0) : C0 = c[29];
|
|
34159
|
+
let w0;
|
|
34160
|
+
c[30] === C0 ? w0 = c[31] : (w0 = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
34161
|
+
children: C0
|
|
34162
|
+
}), c[30] = C0, c[31] = w0);
|
|
34163
|
+
let T0;
|
|
34164
|
+
c[32] !== f || c[33] !== S0 || c[34] !== w0 ? (T0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34156
34165
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
34157
34166
|
delayDuration: 0,
|
|
34158
34167
|
open: f,
|
|
34159
34168
|
children: [
|
|
34160
|
-
|
|
34161
|
-
|
|
34169
|
+
S0,
|
|
34170
|
+
w0
|
|
34162
34171
|
]
|
|
34163
34172
|
})
|
|
34164
|
-
}), c[32] = f, c[33] =
|
|
34165
|
-
let
|
|
34166
|
-
c[36] !== m.setFalse || c[37] !== m.setTrue ? (
|
|
34173
|
+
}), c[32] = f, c[33] = S0, c[34] = w0, c[35] = T0) : T0 = c[35];
|
|
34174
|
+
let E0;
|
|
34175
|
+
c[36] !== m.setFalse || c[37] !== m.setTrue ? (E0 = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
34167
34176
|
asChild: true,
|
|
34168
34177
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
34169
34178
|
"data-testid": "thumb",
|
|
@@ -34173,39 +34182,39 @@ ${c}
|
|
|
34173
34182
|
onMouseEnter: m.setTrue,
|
|
34174
34183
|
onMouseLeave: m.setFalse
|
|
34175
34184
|
})
|
|
34176
|
-
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] =
|
|
34177
|
-
let
|
|
34178
|
-
c[39] !== h || c[40] !== u.value || c[41] !== d ? (
|
|
34185
|
+
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] = E0) : E0 = c[38];
|
|
34186
|
+
let D0;
|
|
34187
|
+
c[39] !== h || c[40] !== u.value || c[41] !== d ? (D0 = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
34179
34188
|
children: prettyScientificNumber(d(u.value[1]), {
|
|
34180
34189
|
locale: h
|
|
34181
34190
|
})
|
|
34182
|
-
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] =
|
|
34183
|
-
let
|
|
34184
|
-
c[43] ===
|
|
34185
|
-
children:
|
|
34186
|
-
}), c[43] =
|
|
34187
|
-
let
|
|
34188
|
-
c[45] !== f || c[46] !==
|
|
34191
|
+
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] = D0) : D0 = c[42];
|
|
34192
|
+
let O0;
|
|
34193
|
+
c[43] === D0 ? O0 = c[44] : (O0 = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
34194
|
+
children: D0
|
|
34195
|
+
}), c[43] = D0, c[44] = O0);
|
|
34196
|
+
let k0;
|
|
34197
|
+
c[45] !== f || c[46] !== E0 || c[47] !== O0 ? (k0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34189
34198
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
34190
34199
|
delayDuration: 0,
|
|
34191
34200
|
open: f,
|
|
34192
34201
|
children: [
|
|
34193
|
-
|
|
34194
|
-
|
|
34202
|
+
E0,
|
|
34203
|
+
O0
|
|
34195
34204
|
]
|
|
34196
34205
|
})
|
|
34197
|
-
}), c[45] = f, c[46] =
|
|
34198
|
-
let
|
|
34199
|
-
return c[49] !== M || c[50] !== u || c[51] !== Z || c[52] !==
|
|
34206
|
+
}), c[45] = f, c[46] = E0, c[47] = O0, c[48] = k0) : k0 = c[48];
|
|
34207
|
+
let A0;
|
|
34208
|
+
return c[49] !== M || c[50] !== u || c[51] !== Z || c[52] !== T0 || c[53] !== k0 || c[54] !== W ? (A0 = (0, import_jsx_runtime.jsxs)(Root$1, {
|
|
34200
34209
|
ref: M,
|
|
34201
34210
|
className: W,
|
|
34202
34211
|
...u,
|
|
34203
34212
|
children: [
|
|
34204
34213
|
Z,
|
|
34205
|
-
|
|
34206
|
-
|
|
34214
|
+
T0,
|
|
34215
|
+
k0
|
|
34207
34216
|
]
|
|
34208
|
-
}), c[49] = M, c[50] = u, c[51] = Z, c[52] =
|
|
34217
|
+
}), c[49] = M, c[50] = u, c[51] = Z, c[52] = T0, c[53] = k0, c[54] = W, c[55] = A0) : A0 = c[55], A0;
|
|
34209
34218
|
});
|
|
34210
34219
|
RangeSlider.displayName = Root$1.displayName;
|
|
34211
34220
|
var import_compiler_runtime$30 = require_compiler_runtime(), RangeSliderPlugin = class {
|
|
@@ -34256,14 +34265,14 @@ ${c}
|
|
|
34256
34265
|
}, q = (e2) => {
|
|
34257
34266
|
h && l(e2);
|
|
34258
34267
|
}, r[10] = h, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
34259
|
-
let Z,
|
|
34268
|
+
let Z, S0;
|
|
34260
34269
|
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (Z = () => {
|
|
34261
34270
|
h && !dequal(T, u) && l(T);
|
|
34262
|
-
},
|
|
34271
|
+
}, S0 = () => {
|
|
34263
34272
|
h && !dequal(T, u) && l(T);
|
|
34264
|
-
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = Z, r[19] =
|
|
34265
|
-
let
|
|
34266
|
-
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== Z || r[31] !==
|
|
34273
|
+
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = Z, r[19] = S0) : (Z = r[18], S0 = r[19]);
|
|
34274
|
+
let C0;
|
|
34275
|
+
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== Z || r[31] !== S0 || r[32] !== b ? (C0 = (0, import_jsx_runtime.jsx)(RangeSlider, {
|
|
34267
34276
|
id: S,
|
|
34268
34277
|
className: W,
|
|
34269
34278
|
value: T,
|
|
@@ -34275,35 +34284,35 @@ ${c}
|
|
|
34275
34284
|
onValueChange: G,
|
|
34276
34285
|
onValueCommit: q,
|
|
34277
34286
|
onPointerUp: Z,
|
|
34278
|
-
onMouseUp:
|
|
34287
|
+
onMouseUp: S0,
|
|
34279
34288
|
valueMap: b
|
|
34280
|
-
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] =
|
|
34281
|
-
let
|
|
34282
|
-
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (
|
|
34289
|
+
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] = S0, r[32] = b, r[33] = C0) : C0 = r[33];
|
|
34290
|
+
let w0;
|
|
34291
|
+
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (w0 = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
34283
34292
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
34284
34293
|
children: `${prettyScientificNumber(b(T[0]), {
|
|
34285
34294
|
locale: w
|
|
34286
34295
|
})}, ${prettyScientificNumber(b(T[1]), {
|
|
34287
34296
|
locale: w
|
|
34288
34297
|
})}`
|
|
34289
|
-
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] =
|
|
34290
|
-
let
|
|
34291
|
-
r[39] !==
|
|
34298
|
+
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] = w0) : w0 = r[38];
|
|
34299
|
+
let T0;
|
|
34300
|
+
r[39] !== C0 || r[40] !== w0 || r[41] !== B ? (T0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
34292
34301
|
className: B,
|
|
34293
34302
|
children: [
|
|
34294
|
-
|
|
34295
|
-
|
|
34303
|
+
C0,
|
|
34304
|
+
w0
|
|
34296
34305
|
]
|
|
34297
|
-
}), r[39] =
|
|
34298
|
-
let
|
|
34299
|
-
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !==
|
|
34306
|
+
}), r[39] = C0, r[40] = w0, r[41] = B, r[42] = T0) : T0 = r[42];
|
|
34307
|
+
let E0;
|
|
34308
|
+
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !== T0 || r[47] !== M || r[48] !== L ? (E0 = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
34300
34309
|
label: c,
|
|
34301
34310
|
id: S,
|
|
34302
34311
|
align: M,
|
|
34303
34312
|
className: L,
|
|
34304
34313
|
fullWidth: v,
|
|
34305
|
-
children:
|
|
34306
|
-
}), r[43] = v, r[44] = S, r[45] = c, r[46] =
|
|
34314
|
+
children: T0
|
|
34315
|
+
}), r[43] = v, r[44] = S, r[45] = c, r[46] = T0, r[47] = M, r[48] = L, r[49] = E0) : E0 = r[49], E0;
|
|
34307
34316
|
}, import_timestring = __toESM(__commonJSMin(((e, r) => {
|
|
34308
34317
|
r.exports = u;
|
|
34309
34318
|
var c = {
|
|
@@ -34539,8 +34548,8 @@ ${c}
|
|
|
34539
34548
|
let [r2] = e2;
|
|
34540
34549
|
h && l(r2);
|
|
34541
34550
|
}, r[11] = h, r[12] = l, r[13] = q, r[14] = Z) : (q = r[13], Z = r[14]);
|
|
34542
|
-
let
|
|
34543
|
-
r[15] !== S || r[16] !== w || r[17] !== g || r[18] !== d || r[19] !== m || r[20] !== f || r[21] !== G || r[22] !== q || r[23] !== Z || r[24] !== W || r[25] !== y ? (
|
|
34551
|
+
let S0;
|
|
34552
|
+
r[15] !== S || r[16] !== w || r[17] !== g || r[18] !== d || r[19] !== m || r[20] !== f || r[21] !== G || r[22] !== q || r[23] !== Z || r[24] !== W || r[25] !== y ? (S0 = (0, import_jsx_runtime.jsx)(Slider, {
|
|
34544
34553
|
id: w,
|
|
34545
34554
|
className: W,
|
|
34546
34555
|
value: G,
|
|
@@ -34552,16 +34561,16 @@ ${c}
|
|
|
34552
34561
|
onValueCommit: Z,
|
|
34553
34562
|
valueMap: y,
|
|
34554
34563
|
disabled: S
|
|
34555
|
-
}), r[15] = S, r[16] = w, r[17] = g, r[18] = d, r[19] = m, r[20] = f, r[21] = G, r[22] = q, r[23] = Z, r[24] = W, r[25] = y, r[26] =
|
|
34556
|
-
let
|
|
34557
|
-
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (
|
|
34564
|
+
}), r[15] = S, r[16] = w, r[17] = g, r[18] = d, r[19] = m, r[20] = f, r[21] = G, r[22] = q, r[23] = Z, r[24] = W, r[25] = y, r[26] = S0) : S0 = r[26];
|
|
34565
|
+
let C0;
|
|
34566
|
+
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (C0 = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
34558
34567
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
34559
34568
|
children: prettyScientificNumber(y(E), {
|
|
34560
34569
|
locale: T
|
|
34561
34570
|
})
|
|
34562
|
-
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] =
|
|
34563
|
-
let
|
|
34564
|
-
r[32] !== S || r[33] !== b || r[34] !== E || r[35] !== c || r[36] !== l || r[37] !== d || r[38] !== m || r[39] !== f || r[40] !== y ? (
|
|
34571
|
+
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] = C0) : C0 = r[31];
|
|
34572
|
+
let w0;
|
|
34573
|
+
r[32] !== S || r[33] !== b || r[34] !== E || r[35] !== c || r[36] !== l || r[37] !== d || r[38] !== m || r[39] !== f || r[40] !== y ? (w0 = b && (0, import_jsx_runtime.jsx)(NumberField, {
|
|
34565
34574
|
value: y(E),
|
|
34566
34575
|
onChange: (e2) => {
|
|
34567
34576
|
(e2 == null || Number.isNaN(e2)) && (e2 = Number(d)), O(e2), l(e2);
|
|
@@ -34572,25 +34581,25 @@ ${c}
|
|
|
34572
34581
|
className: "w-24",
|
|
34573
34582
|
"aria-label": `${c || "Slider"} value input`,
|
|
34574
34583
|
isDisabled: S
|
|
34575
|
-
}), r[32] = S, r[33] = b, r[34] = E, r[35] = c, r[36] = l, r[37] = d, r[38] = m, r[39] = f, r[40] = y, r[41] =
|
|
34576
|
-
let
|
|
34577
|
-
r[42] !==
|
|
34584
|
+
}), r[32] = S, r[33] = b, r[34] = E, r[35] = c, r[36] = l, r[37] = d, r[38] = m, r[39] = f, r[40] = y, r[41] = w0) : w0 = r[41];
|
|
34585
|
+
let T0;
|
|
34586
|
+
r[42] !== S0 || r[43] !== C0 || r[44] !== w0 || r[45] !== B ? (T0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
34578
34587
|
className: B,
|
|
34579
34588
|
children: [
|
|
34580
|
-
|
|
34581
|
-
|
|
34582
|
-
|
|
34589
|
+
S0,
|
|
34590
|
+
C0,
|
|
34591
|
+
w0
|
|
34583
34592
|
]
|
|
34584
|
-
}), r[42] =
|
|
34585
|
-
let
|
|
34586
|
-
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !==
|
|
34593
|
+
}), r[42] = S0, r[43] = C0, r[44] = w0, r[45] = B, r[46] = T0) : T0 = r[46];
|
|
34594
|
+
let E0;
|
|
34595
|
+
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !== T0 || r[51] !== I || r[52] !== R ? (E0 = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
34587
34596
|
label: c,
|
|
34588
34597
|
id: w,
|
|
34589
34598
|
align: I,
|
|
34590
34599
|
fullWidth: v,
|
|
34591
34600
|
className: R,
|
|
34592
|
-
children:
|
|
34593
|
-
}), r[47] = v, r[48] = w, r[49] = c, r[50] =
|
|
34601
|
+
children: T0
|
|
34602
|
+
}), r[47] = v, r[48] = w, r[49] = c, r[50] = T0, r[51] = I, r[52] = R, r[53] = E0) : E0 = r[53], E0;
|
|
34594
34603
|
}, import_compiler_runtime$28 = require_compiler_runtime(), switchVariants = cva("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", {
|
|
34595
34604
|
variants: {
|
|
34596
34605
|
size: {
|
|
@@ -34674,7 +34683,11 @@ ${c}
|
|
|
34674
34683
|
__publicField(this, "tagName", "marimo-tabs");
|
|
34675
34684
|
__publicField(this, "validator", object({
|
|
34676
34685
|
tabs: array(string()),
|
|
34677
|
-
label: string().nullable()
|
|
34686
|
+
label: string().nullable(),
|
|
34687
|
+
orientation: _enum([
|
|
34688
|
+
"horizontal",
|
|
34689
|
+
"vertical"
|
|
34690
|
+
]).default("horizontal")
|
|
34678
34691
|
}));
|
|
34679
34692
|
}
|
|
34680
34693
|
render(e) {
|
|
@@ -34686,49 +34699,69 @@ ${c}
|
|
|
34686
34699
|
});
|
|
34687
34700
|
}
|
|
34688
34701
|
}, TabComponent = (e) => {
|
|
34689
|
-
let r = (0, import_compiler_runtime$26.c)(
|
|
34690
|
-
r[0] ===
|
|
34691
|
-
|
|
34692
|
-
}, r[0] =
|
|
34693
|
-
let
|
|
34694
|
-
|
|
34695
|
-
let
|
|
34696
|
-
r[2] ===
|
|
34697
|
-
|
|
34698
|
-
r[
|
|
34699
|
-
|
|
34700
|
-
|
|
34701
|
-
let y;
|
|
34702
|
-
r[6] ===
|
|
34703
|
-
let
|
|
34704
|
-
r[8] !==
|
|
34705
|
-
|
|
34706
|
-
|
|
34702
|
+
let r = (0, import_compiler_runtime$26.c)(33), { tabs: c, label: l, orientation: u, value: d, setValue: f, children: m } = e, [h, g] = import_react.useState(d || "0"), _;
|
|
34703
|
+
r[0] === f ? _ = r[1] : (_ = (e2) => {
|
|
34704
|
+
g(e2), f(e2);
|
|
34705
|
+
}, r[0] = f, r[1] = _);
|
|
34706
|
+
let v = _;
|
|
34707
|
+
d !== h && d && g(d);
|
|
34708
|
+
let y = u === "vertical", b;
|
|
34709
|
+
r[2] === m ? b = r[3] : (b = m == null ? [] : Array.isArray(m) ? m : [
|
|
34710
|
+
m
|
|
34711
|
+
], r[2] = m, r[3] = b);
|
|
34712
|
+
let S = b, w = y && "flex flex-row gap-3", T;
|
|
34713
|
+
r[4] === w ? T = r[5] : (T = cn(w), r[4] = w, r[5] = T);
|
|
34714
|
+
let E = y ? "flex flex-col items-stretch justify-start h-auto max-h-none shrink-0 min-w-[10rem] overflow-y-auto" : "max-w-full overflow-x-auto justify-start", O;
|
|
34715
|
+
r[6] === E ? O = r[7] : (O = cn("scrollbar-thin", E), r[6] = E, r[7] = O);
|
|
34716
|
+
let j;
|
|
34717
|
+
if (r[8] !== y || r[9] !== c) {
|
|
34718
|
+
let e2;
|
|
34719
|
+
r[11] === y ? e2 = r[12] : (e2 = (e3, r2) => (0, import_jsx_runtime.jsx)(TabsTrigger, {
|
|
34720
|
+
value: r2.toString(),
|
|
34721
|
+
className: cn(y && "w-full justify-start"),
|
|
34722
|
+
children: renderHTML({
|
|
34723
|
+
html: e3
|
|
34724
|
+
})
|
|
34725
|
+
}, r2), r[11] = y, r[12] = e2), j = c.map(e2), r[8] = y, r[9] = c, r[10] = j;
|
|
34726
|
+
} else j = r[10];
|
|
34727
|
+
let M;
|
|
34728
|
+
r[13] !== O || r[14] !== j ? (M = (0, import_jsx_runtime.jsx)(TabsList, {
|
|
34729
|
+
className: O,
|
|
34730
|
+
children: j
|
|
34731
|
+
}), r[13] = O, r[14] = j, r[15] = M) : M = r[15];
|
|
34732
|
+
let I = y && "flex-1 min-w-0", L;
|
|
34733
|
+
r[16] === I ? L = r[17] : (L = cn(I), r[16] = I, r[17] = L);
|
|
34734
|
+
let R;
|
|
34735
|
+
r[18] === S ? R = r[19] : (R = S.map(_temp$7), r[18] = S, r[19] = R);
|
|
34736
|
+
let z;
|
|
34737
|
+
r[20] !== L || r[21] !== R ? (z = (0, import_jsx_runtime.jsx)("div", {
|
|
34738
|
+
className: L,
|
|
34739
|
+
children: R
|
|
34740
|
+
}), r[20] = L, r[21] = R, r[22] = z) : z = r[22];
|
|
34741
|
+
let B;
|
|
34742
|
+
r[23] !== v || r[24] !== h || r[25] !== u || r[26] !== z || r[27] !== T || r[28] !== M ? (B = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
34743
|
+
value: h,
|
|
34744
|
+
onValueChange: v,
|
|
34745
|
+
orientation: u,
|
|
34746
|
+
className: T,
|
|
34707
34747
|
children: [
|
|
34708
|
-
|
|
34709
|
-
|
|
34748
|
+
M,
|
|
34749
|
+
z
|
|
34710
34750
|
]
|
|
34711
|
-
}), r[
|
|
34712
|
-
let
|
|
34713
|
-
return r[
|
|
34751
|
+
}), r[23] = v, r[24] = h, r[25] = u, r[26] = z, r[27] = T, r[28] = M, r[29] = B) : B = r[29];
|
|
34752
|
+
let H;
|
|
34753
|
+
return r[30] !== l || r[31] !== B ? (H = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
34714
34754
|
label: l,
|
|
34715
34755
|
align: "top",
|
|
34716
|
-
|
|
34717
|
-
|
|
34756
|
+
fullWidth: true,
|
|
34757
|
+
children: B
|
|
34758
|
+
}), r[30] = l, r[31] = B, r[32] = H) : H = r[32], H;
|
|
34718
34759
|
};
|
|
34719
34760
|
function _temp$7(e, r) {
|
|
34720
|
-
return (0, import_jsx_runtime.jsx)(TabsTrigger, {
|
|
34721
|
-
value: r.toString(),
|
|
34722
|
-
children: renderHTML({
|
|
34723
|
-
html: e
|
|
34724
|
-
})
|
|
34725
|
-
}, r);
|
|
34726
|
-
}
|
|
34727
|
-
function _temp2$3(e, r) {
|
|
34728
34761
|
return (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
34729
34762
|
value: r.toString(),
|
|
34730
34763
|
children: e
|
|
34731
|
-
});
|
|
34764
|
+
}, r);
|
|
34732
34765
|
}
|
|
34733
34766
|
var import_compiler_runtime$25 = require_compiler_runtime(), TextAreaPlugin = class {
|
|
34734
34767
|
constructor() {
|
|
@@ -34997,7 +35030,7 @@ ${c}
|
|
|
34997
35030
|
return true;
|
|
34998
35031
|
}
|
|
34999
35032
|
}
|
|
35000
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
35033
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-BtvQ-Kc4.js")), VegaPlugin = class {
|
|
35001
35034
|
constructor() {
|
|
35002
35035
|
__publicField(this, "tagName", "marimo-vega");
|
|
35003
35036
|
__publicField(this, "validator", object({
|
|
@@ -35137,7 +35170,7 @@ ${c}
|
|
|
35137
35170
|
children: e.children
|
|
35138
35171
|
});
|
|
35139
35172
|
}
|
|
35140
|
-
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-
|
|
35173
|
+
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-DlD2GU2g.js"));
|
|
35141
35174
|
const DownloadPlugin = createPlugin("marimo-download").withData(object({
|
|
35142
35175
|
data: string(),
|
|
35143
35176
|
disabled: boolean().default(false),
|
|
@@ -35189,7 +35222,7 @@ ${c}
|
|
|
35189
35222
|
m
|
|
35190
35223
|
]
|
|
35191
35224
|
});
|
|
35192
|
-
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-
|
|
35225
|
+
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-CNHIsPDj.js")), ImageComparisonPlugin = class {
|
|
35193
35226
|
constructor() {
|
|
35194
35227
|
__publicField(this, "tagName", "marimo-image-comparison");
|
|
35195
35228
|
__publicField(this, "validator", object({
|
|
@@ -35311,15 +35344,19 @@ ${c}
|
|
|
35311
35344
|
constructor() {
|
|
35312
35345
|
__publicField(this, "tagName", "marimo-mermaid");
|
|
35313
35346
|
__publicField(this, "validator", object({
|
|
35314
|
-
diagram: string()
|
|
35347
|
+
diagram: string(),
|
|
35348
|
+
theme: string().optional(),
|
|
35349
|
+
theme_variables: record(string(), string()).optional()
|
|
35315
35350
|
}));
|
|
35316
35351
|
}
|
|
35317
35352
|
render(e) {
|
|
35318
35353
|
return (0, import_jsx_runtime.jsx)(LazyMermaid, {
|
|
35319
|
-
diagram: e.data.diagram
|
|
35354
|
+
diagram: e.data.diagram,
|
|
35355
|
+
theme: e.data.theme,
|
|
35356
|
+
themeVariables: e.data.theme_variables
|
|
35320
35357
|
});
|
|
35321
35358
|
}
|
|
35322
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
35359
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-DO-Daq7u.js").then(async (m) => {
|
|
35323
35360
|
await m.__tla;
|
|
35324
35361
|
return m;
|
|
35325
35362
|
})), import_compiler_runtime$20 = require_compiler_runtime();
|
|
@@ -37349,8 +37386,8 @@ ${c}
|
|
|
37349
37386
|
tex: e.host.textContent || e.host.innerHTML
|
|
37350
37387
|
});
|
|
37351
37388
|
}
|
|
37352
|
-
}, importKatex = once(async () => (await import("./katex-
|
|
37353
|
-
await import("./mhchem-
|
|
37389
|
+
}, importKatex = once(async () => (await import("./katex-9-9QRhxz.js")).default), importMhChem = once(async () => {
|
|
37390
|
+
await import("./mhchem-yiCCuiEF.js");
|
|
37354
37391
|
}), macros = {
|
|
37355
37392
|
"\\mbox": "\\text{#1}"
|
|
37356
37393
|
};
|
|
@@ -37582,40 +37619,40 @@ ${c}
|
|
|
37582
37619
|
areRegExpsEqual: H,
|
|
37583
37620
|
areSetsEqual: G,
|
|
37584
37621
|
createIsNestedEqual: r2
|
|
37585
|
-
}),
|
|
37586
|
-
function
|
|
37587
|
-
return
|
|
37622
|
+
}), S0 = T(q);
|
|
37623
|
+
function C0(e3, r3) {
|
|
37624
|
+
return S0(e3, r3, void 0);
|
|
37588
37625
|
}
|
|
37589
|
-
var
|
|
37626
|
+
var w0 = T(l(q, {
|
|
37590
37627
|
createIsNestedEqual: function() {
|
|
37591
37628
|
return f;
|
|
37592
37629
|
}
|
|
37593
37630
|
}));
|
|
37594
|
-
function
|
|
37595
|
-
return
|
|
37631
|
+
function T0(e3, r3) {
|
|
37632
|
+
return w0(e3, r3, void 0);
|
|
37596
37633
|
}
|
|
37597
|
-
var
|
|
37598
|
-
function
|
|
37599
|
-
return
|
|
37634
|
+
var E0 = T(Z);
|
|
37635
|
+
function D0(e3, r3) {
|
|
37636
|
+
return E0(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
37600
37637
|
}
|
|
37601
|
-
var
|
|
37638
|
+
var O0 = T(l(Z, {
|
|
37602
37639
|
createIsNestedEqual: function() {
|
|
37603
37640
|
return f;
|
|
37604
37641
|
}
|
|
37605
37642
|
}));
|
|
37606
|
-
function
|
|
37607
|
-
return
|
|
37643
|
+
function k0(e3, r3) {
|
|
37644
|
+
return O0(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
37608
37645
|
}
|
|
37609
|
-
function
|
|
37646
|
+
function A0(e3) {
|
|
37610
37647
|
return T(l(q, e3(q)));
|
|
37611
37648
|
}
|
|
37612
|
-
function
|
|
37649
|
+
function j0(e3) {
|
|
37613
37650
|
var r3 = T(l(Z, e3(Z)));
|
|
37614
37651
|
return (function(e4, c2, l2) {
|
|
37615
37652
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
37616
37653
|
});
|
|
37617
37654
|
}
|
|
37618
|
-
e2.circularDeepEqual =
|
|
37655
|
+
e2.circularDeepEqual = D0, e2.circularShallowEqual = k0, e2.createCustomCircularEqual = j0, e2.createCustomEqual = A0, e2.deepEqual = C0, e2.sameValueZeroEqual = f, e2.shallowEqual = T0, Object.defineProperty(e2, "__esModule", {
|
|
37619
37656
|
value: true
|
|
37620
37657
|
});
|
|
37621
37658
|
}));
|
|
@@ -37641,7 +37678,7 @@ ${c}
|
|
|
37641
37678
|
})), require_utils$1 = __commonJSMin(((e) => {
|
|
37642
37679
|
Object.defineProperty(e, "__esModule", {
|
|
37643
37680
|
value: true
|
|
37644
|
-
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType =
|
|
37681
|
+
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType = L0, e.correctBounds = I, e.fastPositionEqual = S, e.fastRGLPropsEqual = void 0, e.getAllCollisions = z, e.getFirstCollision = R, e.getLayoutItem = L, e.getStatics = B, e.modifyLayout = _, e.moveElement = H, e.moveElementAwayFromCollision = W, e.noop = void 0, e.perc = G, e.resizeItemInDirection = k0, e.setTopLeft = j0, e.setTransform = A0, e.sortLayoutItems = M0, e.sortLayoutItemsByColRow = P0, e.sortLayoutItemsByRowCol = N0, e.synchronizeLayoutWithChildren = F0, e.validateLayout = I0, e.withLayoutItem = v;
|
|
37645
37682
|
var r = require_fast_equals(), c = l(require_react());
|
|
37646
37683
|
function l(e2) {
|
|
37647
37684
|
return e2 && e2.__esModule ? e2 : {
|
|
@@ -37746,7 +37783,7 @@ ${c}
|
|
|
37746
37783
|
return !(e2.i === r2.i || e2.x + e2.w <= r2.x || e2.x >= r2.x + r2.w || e2.y + e2.h <= r2.y || e2.y >= r2.y + r2.h);
|
|
37747
37784
|
}
|
|
37748
37785
|
function T(e2, r2, c2, l2) {
|
|
37749
|
-
let u2 = B(e2), d2 = h(u2), f2 =
|
|
37786
|
+
let u2 = B(e2), d2 = h(u2), f2 = M0(e2, r2), p2 = Array(e2.length);
|
|
37750
37787
|
for (let m2 = 0, h2 = f2.length; m2 < h2; m2++) {
|
|
37751
37788
|
let h3 = y(f2[m2]);
|
|
37752
37789
|
h3.static || (h3 = M(u2, h3, r2, c2, f2, l2, d2), d2 = Math.max(d2, h3.y + h3.h), u2.push(h3)), p2[e2.indexOf(f2[m2])] = h3, h3.moved = false;
|
|
@@ -37804,7 +37841,7 @@ ${c}
|
|
|
37804
37841
|
`${r2.i}${String(c2)}${String(l2)}${r2.x}${r2.y}`;
|
|
37805
37842
|
let h2 = r2.x, _2 = r2.y;
|
|
37806
37843
|
typeof c2 == "number" && (r2.x = c2), typeof l2 == "number" && (r2.y = l2), r2.moved = true;
|
|
37807
|
-
let v2 =
|
|
37844
|
+
let v2 = M0(e2, f2);
|
|
37808
37845
|
(f2 === "vertical" && typeof l2 == "number" ? _2 >= l2 : f2 === "horizontal" && typeof c2 == "number" && h2 >= c2) && (v2 = v2.reverse());
|
|
37809
37846
|
let y2 = z(v2, r2), b2 = y2.length > 0;
|
|
37810
37847
|
if (b2 && m2) return g(e2);
|
|
@@ -37838,61 +37875,61 @@ ${c}
|
|
|
37838
37875
|
function G(e2) {
|
|
37839
37876
|
return e2 * 100 + "%";
|
|
37840
37877
|
}
|
|
37841
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, Z = (e2, r2, c2) => e2 < 0 ? r2 : c2,
|
|
37878
|
+
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, Z = (e2, r2, c2) => e2 < 0 ? r2 : c2, S0 = (e2) => Math.max(0, e2), C0 = (e2) => Math.max(0, e2), w0 = (e2, r2, c2) => {
|
|
37842
37879
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
37843
37880
|
return {
|
|
37844
37881
|
left: l2,
|
|
37845
37882
|
width: d2,
|
|
37846
37883
|
height: Z(f2, e2.height, u2),
|
|
37847
|
-
top:
|
|
37884
|
+
top: C0(f2)
|
|
37848
37885
|
};
|
|
37849
|
-
},
|
|
37886
|
+
}, T0 = (e2, r2, c2) => {
|
|
37850
37887
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
37851
37888
|
return {
|
|
37852
37889
|
top: l2,
|
|
37853
37890
|
height: d2,
|
|
37854
37891
|
width: q(e2.left, e2.width, f2, c2),
|
|
37855
|
-
left:
|
|
37892
|
+
left: S0(u2)
|
|
37856
37893
|
};
|
|
37857
|
-
},
|
|
37894
|
+
}, E0 = (e2, r2, c2) => {
|
|
37858
37895
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
37859
37896
|
return {
|
|
37860
37897
|
height: u2,
|
|
37861
37898
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
37862
|
-
top:
|
|
37863
|
-
left:
|
|
37899
|
+
top: C0(l2),
|
|
37900
|
+
left: S0(f2)
|
|
37864
37901
|
};
|
|
37865
|
-
},
|
|
37902
|
+
}, D0 = (e2, r2, c2) => {
|
|
37866
37903
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
37867
37904
|
return {
|
|
37868
37905
|
width: f2,
|
|
37869
37906
|
left: u2,
|
|
37870
37907
|
height: Z(l2, e2.height, d2),
|
|
37871
|
-
top:
|
|
37908
|
+
top: C0(l2)
|
|
37872
37909
|
};
|
|
37873
|
-
},
|
|
37874
|
-
n:
|
|
37910
|
+
}, O0 = {
|
|
37911
|
+
n: w0,
|
|
37875
37912
|
ne: function() {
|
|
37876
|
-
return
|
|
37913
|
+
return w0(arguments.length <= 0 ? void 0 : arguments[0], T0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37877
37914
|
},
|
|
37878
|
-
e:
|
|
37915
|
+
e: T0,
|
|
37879
37916
|
se: function() {
|
|
37880
|
-
return
|
|
37917
|
+
return D0(arguments.length <= 0 ? void 0 : arguments[0], T0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37881
37918
|
},
|
|
37882
|
-
s:
|
|
37919
|
+
s: D0,
|
|
37883
37920
|
sw: function() {
|
|
37884
|
-
return
|
|
37921
|
+
return D0(arguments.length <= 0 ? void 0 : arguments[0], E0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37885
37922
|
},
|
|
37886
|
-
w:
|
|
37923
|
+
w: E0,
|
|
37887
37924
|
nw: function() {
|
|
37888
|
-
return
|
|
37925
|
+
return w0(arguments.length <= 0 ? void 0 : arguments[0], E0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37889
37926
|
}
|
|
37890
37927
|
};
|
|
37891
|
-
function
|
|
37892
|
-
let u2 =
|
|
37928
|
+
function k0(e2, r2, c2, l2) {
|
|
37929
|
+
let u2 = O0[e2];
|
|
37893
37930
|
return u2 ? u2(r2, d(d({}, r2), c2), l2) : c2;
|
|
37894
37931
|
}
|
|
37895
|
-
function
|
|
37932
|
+
function A0(e2) {
|
|
37896
37933
|
let { top: r2, left: c2, width: l2, height: u2 } = e2, d2 = `translate(${c2}px,${r2}px)`;
|
|
37897
37934
|
return {
|
|
37898
37935
|
transform: d2,
|
|
@@ -37905,7 +37942,7 @@ ${c}
|
|
|
37905
37942
|
position: "absolute"
|
|
37906
37943
|
};
|
|
37907
37944
|
}
|
|
37908
|
-
function
|
|
37945
|
+
function j0(e2) {
|
|
37909
37946
|
let { top: r2, left: c2, width: l2, height: u2 } = e2;
|
|
37910
37947
|
return {
|
|
37911
37948
|
top: `${r2}px`,
|
|
@@ -37915,20 +37952,20 @@ ${c}
|
|
|
37915
37952
|
position: "absolute"
|
|
37916
37953
|
};
|
|
37917
37954
|
}
|
|
37918
|
-
function
|
|
37919
|
-
return r2 === "horizontal" ?
|
|
37955
|
+
function M0(e2, r2) {
|
|
37956
|
+
return r2 === "horizontal" ? P0(e2) : r2 === "vertical" ? N0(e2) : e2;
|
|
37920
37957
|
}
|
|
37921
|
-
function
|
|
37958
|
+
function N0(e2) {
|
|
37922
37959
|
return e2.slice(0).sort(function(e3, r2) {
|
|
37923
37960
|
return e3.y > r2.y || e3.y === r2.y && e3.x > r2.x ? 1 : e3.y === r2.y && e3.x === r2.x ? 0 : -1;
|
|
37924
37961
|
});
|
|
37925
37962
|
}
|
|
37926
|
-
function
|
|
37963
|
+
function P0(e2) {
|
|
37927
37964
|
return e2.slice(0).sort(function(e3, r2) {
|
|
37928
37965
|
return e3.x > r2.x || e3.x === r2.x && e3.y > r2.y ? 1 : -1;
|
|
37929
37966
|
});
|
|
37930
37967
|
}
|
|
37931
|
-
function
|
|
37968
|
+
function F0(e2, r2, l2, u2, f2) {
|
|
37932
37969
|
e2 || (e2 = []);
|
|
37933
37970
|
let p2 = [];
|
|
37934
37971
|
c.default.Children.forEach(r2, (r3) => {
|
|
@@ -37949,7 +37986,7 @@ ${c}
|
|
|
37949
37986
|
});
|
|
37950
37987
|
return f2 ? m2 : T(m2, u2, l2);
|
|
37951
37988
|
}
|
|
37952
|
-
function
|
|
37989
|
+
function I0(e2) {
|
|
37953
37990
|
let r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Layout", c2 = [
|
|
37954
37991
|
"x",
|
|
37955
37992
|
"y",
|
|
@@ -37966,7 +38003,7 @@ ${c}
|
|
|
37966
38003
|
if (u3.i !== void 0 && typeof u3.i != "string") throw Error(`ReactGridLayout: ${r2}[${l2}].i must be a string! Received: ${u3.i} (${typeof u3.i})`);
|
|
37967
38004
|
}
|
|
37968
38005
|
}
|
|
37969
|
-
function
|
|
38006
|
+
function L0(e2) {
|
|
37970
38007
|
let { verticalCompact: r2, compactType: c2 } = e2 || {};
|
|
37971
38008
|
return r2 === false ? null : c2;
|
|
37972
38009
|
}
|
|
@@ -40771,7 +40808,7 @@ ${c}
|
|
|
40771
40808
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
40772
40809
|
let E = useIsDragging(), O, j;
|
|
40773
40810
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
40774
|
-
let M = !f && !v, I, L, R, z, B, H, W, G, q, Z, w0, T0, E0, D0, O0, k0, A0, j0, M0, N0, P0, F0, I0, L0
|
|
40811
|
+
let M = !f && !v, I, L, R, z, B, H, W, G, q, Z, S0, C0, w0, T0, E0, D0, O0, k0, A0, j0, M0, N0, P0, F0, I0, L0;
|
|
40775
40812
|
if (r[10] !== u || r[11] !== S || r[12] !== O || r[13] !== g || r[14] !== M || r[15] !== h || r[16] !== j || r[17] !== f || r[18] !== c || r[19] !== d || r[20] !== l) {
|
|
40776
40813
|
let e2 = Maps.keyBy(c.cells, _temp2$2), m2;
|
|
40777
40814
|
r[47] !== c || r[48] !== l ? (m2 = (e3) => (r2) => {
|
|
@@ -40790,23 +40827,23 @@ ${c}
|
|
|
40790
40827
|
});
|
|
40791
40828
|
}, r[50] = c, r[51] = l, r[52] = v2) : v2 = r[52];
|
|
40792
40829
|
let y2 = v2;
|
|
40793
|
-
r[53] !== M || r[54] !== c.columns || r[55] !== c.maxWidth || r[56] !== c.rowHeight ? (L = {}, c.maxWidth && (L.maxWidth = `${c.maxWidth}px`), M && (L.backgroundImage = "repeating-linear-gradient(var(--gray-4) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--gray-4) 0 1px, transparent 1px 100%)", L.backgroundSize = `calc((100% / ${c.columns})) ${c.rowHeight}px`), r[53] = M, r[54] = c.columns, r[55] = c.maxWidth, r[56] = c.rowHeight, r[57] = L) : L = r[57], I = ReactGridLayout,
|
|
40830
|
+
r[53] !== M || r[54] !== c.columns || r[55] !== c.maxWidth || r[56] !== c.rowHeight ? (L = {}, c.maxWidth && (L.maxWidth = `${c.maxWidth}px`), M && (L.backgroundImage = "repeating-linear-gradient(var(--gray-4) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--gray-4) 0 1px, transparent 1px 100%)", L.backgroundSize = `calc((100% / ${c.columns})) ${c.rowHeight}px`), r[53] = M, r[54] = c.columns, r[55] = c.maxWidth, r[56] = c.rowHeight, r[57] = L) : L = r[57], I = ReactGridLayout, P0 = "lg", r[58] === c.cells ? F0 = r[59] : (F0 = {
|
|
40794
40831
|
lg: c.cells
|
|
40795
|
-
}, r[58] = c.cells, r[59] =
|
|
40832
|
+
}, r[58] = c.cells, r[59] = F0), I0 = L, L0 = S, R = false;
|
|
40796
40833
|
let b2 = M && "bg-(--slate-2) border-r", w2 = f && "disable-animation", T2 = !c.maxWidth && "min-w-[800px]";
|
|
40797
40834
|
r[60] !== b2 || r[61] !== w2 || r[62] !== T2 ? (z = cn("w-full mx-auto bg-background flex-1 min-h-full", b2, w2, T2), r[60] = b2, r[61] = w2, r[62] = T2, r[63] = z) : z = r[63], r[64] === f ? B = r[65] : (B = f ? [
|
|
40798
40835
|
20,
|
|
40799
40836
|
20
|
|
40800
|
-
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, Z = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (
|
|
40837
|
+
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, Z = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (S0 = (e3) => {
|
|
40801
40838
|
f || l({
|
|
40802
40839
|
...c,
|
|
40803
40840
|
cells: e3
|
|
40804
40841
|
});
|
|
40805
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
40842
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = S0) : S0 = r[69], r[70] === g ? C0 = r[71] : (C0 = g ? {
|
|
40806
40843
|
i: g.i,
|
|
40807
40844
|
w: g.w || 2,
|
|
40808
40845
|
h: g.h || 2
|
|
40809
|
-
} : void 0, r[70] = g, r[71] =
|
|
40846
|
+
} : void 0, r[70] = g, r[71] = C0), r[72] !== O || r[73] !== c || r[74] !== l ? (w0 = (e3, r2, u2) => {
|
|
40810
40847
|
O.onDragStop(), r2 && l({
|
|
40811
40848
|
...c,
|
|
40812
40849
|
cells: [
|
|
@@ -40814,15 +40851,15 @@ ${c}
|
|
|
40814
40851
|
r2
|
|
40815
40852
|
]
|
|
40816
40853
|
});
|
|
40817
|
-
}, r[72] = O, r[73] = c, r[74] = l, r[75] =
|
|
40854
|
+
}, r[72] = O, r[73] = c, r[74] = l, r[75] = w0) : w0 = r[75], r[76] === O ? (T0 = r[77], E0 = r[78], D0 = r[79]) : (T0 = (e3, r2, c2, l2, u2) => {
|
|
40818
40855
|
O.onDragStart(u2);
|
|
40819
|
-
},
|
|
40856
|
+
}, E0 = (e3, r2, c2, l2, u2) => {
|
|
40820
40857
|
O.onDragMove(u2);
|
|
40821
|
-
},
|
|
40858
|
+
}, D0 = () => {
|
|
40822
40859
|
O.onDragStop();
|
|
40823
|
-
}, r[76] = O, r[77] =
|
|
40860
|
+
}, r[76] = O, r[77] = T0, r[78] = E0, r[79] = D0), O0 = _temp3$2, k0 = M, A0 = M, j0 = M, M0 = M ? `.${DRAG_HANDLE}` : "noop";
|
|
40824
40861
|
let E2;
|
|
40825
|
-
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2),
|
|
40862
|
+
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2), N0 = u.filter(E2).map((r2) => {
|
|
40826
40863
|
let u2 = e2.get(r2.id), f2 = c.scrollableCells.has(r2.id) ?? false, p = c.cellSide.get(r2.id), m3 = (0, import_jsx_runtime.jsx)(GridCell, {
|
|
40827
40864
|
code: r2.code,
|
|
40828
40865
|
mode: d,
|
|
@@ -40851,14 +40888,14 @@ ${c}
|
|
|
40851
40888
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
40852
40889
|
children: m3
|
|
40853
40890
|
}, r2.id);
|
|
40854
|
-
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] =
|
|
40855
|
-
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], Z = r[30],
|
|
40856
|
-
let
|
|
40857
|
-
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== Z || r[91] !==
|
|
40858
|
-
breakpoint:
|
|
40859
|
-
layouts:
|
|
40860
|
-
style:
|
|
40861
|
-
cols:
|
|
40891
|
+
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] = S0, r[32] = C0, r[33] = w0, r[34] = T0, r[35] = E0, r[36] = D0, r[37] = O0, r[38] = k0, r[39] = A0, r[40] = j0, r[41] = M0, r[42] = N0, r[43] = P0, r[44] = F0, r[45] = I0, r[46] = L0;
|
|
40892
|
+
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], Z = r[30], S0 = r[31], C0 = r[32], w0 = r[33], T0 = r[34], E0 = r[35], D0 = r[36], O0 = r[37], k0 = r[38], A0 = r[39], j0 = r[40], M0 = r[41], N0 = r[42], P0 = r[43], F0 = r[44], I0 = r[45], L0 = r[46];
|
|
40893
|
+
let R0;
|
|
40894
|
+
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== Z || r[91] !== S0 || r[92] !== C0 || r[93] !== w0 || r[94] !== T0 || r[95] !== E0 || r[96] !== D0 || r[97] !== O0 || r[98] !== k0 || r[99] !== A0 || r[100] !== j0 || r[101] !== M0 || r[102] !== N0 || r[103] !== P0 || r[104] !== F0 || r[105] !== I0 || r[106] !== L0 ? (R0 = (0, import_jsx_runtime.jsx)(I, {
|
|
40895
|
+
breakpoint: P0,
|
|
40896
|
+
layouts: F0,
|
|
40897
|
+
style: I0,
|
|
40898
|
+
cols: L0,
|
|
40862
40899
|
allowOverlap: R,
|
|
40863
40900
|
className: z,
|
|
40864
40901
|
containerPadding: B,
|
|
@@ -40867,22 +40904,22 @@ ${c}
|
|
|
40867
40904
|
compactType: G,
|
|
40868
40905
|
preventCollision: q,
|
|
40869
40906
|
rowHeight: Z,
|
|
40870
|
-
onLayoutChange:
|
|
40871
|
-
droppingItem:
|
|
40872
|
-
onDrop:
|
|
40873
|
-
onDragStart:
|
|
40874
|
-
onDrag:
|
|
40875
|
-
onDragStop:
|
|
40876
|
-
onResizeStop:
|
|
40877
|
-
isDraggable:
|
|
40878
|
-
isDroppable:
|
|
40879
|
-
isResizable:
|
|
40880
|
-
draggableHandle:
|
|
40881
|
-
children:
|
|
40882
|
-
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = Z, r[91] =
|
|
40883
|
-
let
|
|
40884
|
-
if (r[108] !== u || r[109] !==
|
|
40885
|
-
|
|
40907
|
+
onLayoutChange: S0,
|
|
40908
|
+
droppingItem: C0,
|
|
40909
|
+
onDrop: w0,
|
|
40910
|
+
onDragStart: T0,
|
|
40911
|
+
onDrag: E0,
|
|
40912
|
+
onDragStop: D0,
|
|
40913
|
+
onResizeStop: O0,
|
|
40914
|
+
isDraggable: k0,
|
|
40915
|
+
isDroppable: A0,
|
|
40916
|
+
isResizable: j0,
|
|
40917
|
+
draggableHandle: M0,
|
|
40918
|
+
children: N0
|
|
40919
|
+
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = Z, r[91] = S0, r[92] = C0, r[93] = w0, r[94] = T0, r[95] = E0, r[96] = D0, r[97] = O0, r[98] = k0, r[99] = A0, r[100] = j0, r[101] = M0, r[102] = N0, r[103] = P0, r[104] = F0, r[105] = I0, r[106] = L0, r[107] = R0) : R0 = r[107];
|
|
40920
|
+
let z0 = R0, B0, V0, H0, U0, W0, G0, K0;
|
|
40921
|
+
if (r[108] !== u || r[109] !== z0 || r[110] !== h || r[111] !== v || r[112] !== f || r[113] !== c || r[114] !== d || r[115] !== l || r[116] !== L) {
|
|
40922
|
+
K0 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
40886
40923
|
bb0: {
|
|
40887
40924
|
let e2;
|
|
40888
40925
|
r[125] === h ? e2 = r[126] : (e2 = (e3) => !h.has(e3.id), r[125] = h, r[126] = e2);
|
|
@@ -40890,14 +40927,14 @@ ${c}
|
|
|
40890
40927
|
if (f) {
|
|
40891
40928
|
if (c.bordered) {
|
|
40892
40929
|
let e4;
|
|
40893
|
-
r[127] !==
|
|
40930
|
+
r[127] !== z0 || r[128] !== L ? (e4 = (0, import_jsx_runtime.jsx)("div", {
|
|
40894
40931
|
className: "flex flex-1 flex-col items-center",
|
|
40895
40932
|
children: (0, import_jsx_runtime.jsx)("div", {
|
|
40896
40933
|
style: L,
|
|
40897
40934
|
className: "bg-background flex-1 border-t border-x rounded-t shadow-sm w-full overflow-hidden",
|
|
40898
|
-
children:
|
|
40935
|
+
children: z0
|
|
40899
40936
|
})
|
|
40900
|
-
}), r[127] =
|
|
40937
|
+
}), r[127] = z0, r[128] = L, r[129] = e4) : e4 = r[129], z0 = e4;
|
|
40901
40938
|
}
|
|
40902
40939
|
let e3 = m2.filter(_temp4$2), l2;
|
|
40903
40940
|
r[130] === d ? l2 = r[131] : (l2 = (e4) => (0, import_jsx_runtime.jsx)(GridCell, {
|
|
@@ -40908,9 +40945,9 @@ ${c}
|
|
|
40908
40945
|
status: e4.status,
|
|
40909
40946
|
isScrollable: false,
|
|
40910
40947
|
hidden: false
|
|
40911
|
-
}, e4.id), r[130] = d, r[131] = l2),
|
|
40948
|
+
}, e4.id), r[130] = d, r[131] = l2), K0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
40912
40949
|
children: [
|
|
40913
|
-
|
|
40950
|
+
z0,
|
|
40914
40951
|
(0, import_jsx_runtime.jsx)("div", {
|
|
40915
40952
|
className: "hidden",
|
|
40916
40953
|
children: e3.map(l2)
|
|
@@ -40921,31 +40958,31 @@ ${c}
|
|
|
40921
40958
|
}
|
|
40922
40959
|
if (c.bordered) {
|
|
40923
40960
|
let e3;
|
|
40924
|
-
r[132] ===
|
|
40961
|
+
r[132] === z0 ? e3 = r[133] : (e3 = (0, import_jsx_runtime.jsx)("div", {
|
|
40925
40962
|
className: "h-full overflow-auto",
|
|
40926
|
-
children:
|
|
40927
|
-
}), r[132] =
|
|
40963
|
+
children: z0
|
|
40964
|
+
}), r[132] = z0, r[133] = e3);
|
|
40928
40965
|
let c2;
|
|
40929
40966
|
r[134] !== L || r[135] !== e3 ? (c2 = (0, import_jsx_runtime.jsx)("div", {
|
|
40930
40967
|
style: L,
|
|
40931
40968
|
className: "bg-background border-t border-x rounded-t shadow-sm w-full mx-auto mt-4 h-[calc(100%-1rem)] overflow-hidden",
|
|
40932
40969
|
children: e3
|
|
40933
|
-
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136],
|
|
40970
|
+
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136], z0 = c2;
|
|
40934
40971
|
}
|
|
40935
|
-
r[137] !== v || r[138] !== c || r[139] !== l ? (
|
|
40972
|
+
r[137] !== v || r[138] !== c || r[139] !== l ? (G0 = (0, import_jsx_runtime.jsx)(GridControls, {
|
|
40936
40973
|
layout: c,
|
|
40937
40974
|
setLayout: l,
|
|
40938
40975
|
isLocked: v,
|
|
40939
40976
|
setIsLocked: y
|
|
40940
|
-
}), r[137] = v, r[138] = c, r[139] = l, r[140] =
|
|
40977
|
+
}), r[137] = v, r[138] = c, r[139] = l, r[140] = G0) : G0 = r[140];
|
|
40941
40978
|
let g2;
|
|
40942
|
-
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
40979
|
+
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U0 = cn("relative flex z-10 flex-1 overflow-hidden"), g2 = cn("grow overflow-auto transparent-when-disconnected"), r[141] = U0, r[142] = g2) : (U0 = r[141], g2 = r[142]), r[143] === z0 ? W0 = r[144] : (W0 = (0, import_jsx_runtime.jsx)("div", {
|
|
40943
40980
|
className: g2,
|
|
40944
|
-
children:
|
|
40945
|
-
}), r[143] =
|
|
40981
|
+
children: z0
|
|
40982
|
+
}), r[143] = z0, r[144] = W0), B0 = "flex-none flex flex-col w-[300px] p-2 pb-20 gap-2 overflow-auto bg-(--slate-2) border-t border-x rounded-t shadow-sm transparent-when-disconnected mx-2 mt-4", r[145] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V0 = (0, import_jsx_runtime.jsx)("div", {
|
|
40946
40983
|
className: "text font-bold text-(--slate-20) shrink-0",
|
|
40947
40984
|
children: "Outputs"
|
|
40948
|
-
}), r[145] =
|
|
40985
|
+
}), r[145] = V0) : V0 = r[145];
|
|
40949
40986
|
let b2;
|
|
40950
40987
|
r[146] !== c.columns || r[147] !== c.rowHeight || r[148] !== d ? (b2 = (e3) => (0, import_jsx_runtime.jsx)("div", {
|
|
40951
40988
|
draggable: true,
|
|
@@ -40970,34 +41007,34 @@ ${c}
|
|
|
40970
41007
|
status: e3.status,
|
|
40971
41008
|
hidden: false
|
|
40972
41009
|
})
|
|
40973
|
-
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149],
|
|
41010
|
+
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149], H0 = m2.map(b2);
|
|
40974
41011
|
}
|
|
40975
|
-
r[108] = u, r[109] =
|
|
40976
|
-
} else
|
|
40977
|
-
if (
|
|
40978
|
-
let
|
|
40979
|
-
r[150] !==
|
|
40980
|
-
className:
|
|
41012
|
+
r[108] = u, r[109] = z0, r[110] = h, r[111] = v, r[112] = f, r[113] = c, r[114] = d, r[115] = l, r[116] = L, r[117] = B0, r[118] = V0, r[119] = H0, r[120] = U0, r[121] = W0, r[122] = G0, r[123] = K0, r[124] = z0;
|
|
41013
|
+
} else B0 = r[117], V0 = r[118], H0 = r[119], U0 = r[120], W0 = r[121], G0 = r[122], K0 = r[123], z0 = r[124];
|
|
41014
|
+
if (K0 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return K0;
|
|
41015
|
+
let q0;
|
|
41016
|
+
r[150] !== B0 || r[151] !== V0 || r[152] !== H0 ? (q0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41017
|
+
className: B0,
|
|
40981
41018
|
children: [
|
|
40982
|
-
|
|
40983
|
-
|
|
41019
|
+
V0,
|
|
41020
|
+
H0
|
|
40984
41021
|
]
|
|
40985
|
-
}), r[150] =
|
|
40986
|
-
let
|
|
40987
|
-
r[154] !==
|
|
40988
|
-
className:
|
|
41022
|
+
}), r[150] = B0, r[151] = V0, r[152] = H0, r[153] = q0) : q0 = r[153];
|
|
41023
|
+
let J0;
|
|
41024
|
+
r[154] !== U0 || r[155] !== W0 || r[156] !== q0 ? (J0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41025
|
+
className: U0,
|
|
40989
41026
|
children: [
|
|
40990
|
-
|
|
40991
|
-
|
|
41027
|
+
W0,
|
|
41028
|
+
q0
|
|
40992
41029
|
]
|
|
40993
|
-
}), r[154] =
|
|
40994
|
-
let
|
|
40995
|
-
return r[158] !==
|
|
41030
|
+
}), r[154] = U0, r[155] = W0, r[156] = q0, r[157] = J0) : J0 = r[157];
|
|
41031
|
+
let Y0;
|
|
41032
|
+
return r[158] !== G0 || r[159] !== J0 ? (Y0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
40996
41033
|
children: [
|
|
40997
|
-
|
|
40998
|
-
|
|
41034
|
+
G0,
|
|
41035
|
+
J0
|
|
40999
41036
|
]
|
|
41000
|
-
}), r[158] =
|
|
41037
|
+
}), r[158] = G0, r[159] = J0, r[160] = Y0) : Y0 = r[160], Y0;
|
|
41001
41038
|
};
|
|
41002
41039
|
var GridCell = (0, import_react.memo)((e) => {
|
|
41003
41040
|
let r = (0, import_compiler_runtime$11.c)(20), { output: c, cellId: l, status: u, mode: d, code: f, hidden: m, isScrollable: h, side: g, className: _ } = e, v;
|
|
@@ -41302,21 +41339,21 @@ ${c}
|
|
|
41302
41339
|
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
41303
41340
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
41304
41341
|
}), r[35] = Z) : Z = r[35];
|
|
41305
|
-
let
|
|
41306
|
-
r[36] === l ?
|
|
41342
|
+
let S0;
|
|
41343
|
+
r[36] === l ? S0 = r[37] : (S0 = (0, import_jsx_runtime.jsx)(X, {
|
|
41307
41344
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
41308
41345
|
onClick: () => l()
|
|
41309
|
-
}), r[36] = l, r[37] =
|
|
41310
|
-
let
|
|
41311
|
-
return r[38] !== I || r[39] !== q || r[40] !==
|
|
41346
|
+
}), r[36] = l, r[37] = S0);
|
|
41347
|
+
let C0;
|
|
41348
|
+
return r[38] !== I || r[39] !== q || r[40] !== S0 || r[41] !== w ? (C0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41312
41349
|
className: w,
|
|
41313
41350
|
children: [
|
|
41314
41351
|
I,
|
|
41315
41352
|
q,
|
|
41316
41353
|
Z,
|
|
41317
|
-
|
|
41354
|
+
S0
|
|
41318
41355
|
]
|
|
41319
|
-
}), r[38] = I, r[39] = q, r[40] =
|
|
41356
|
+
}), r[38] = I, r[39] = q, r[40] = S0, r[41] = w, r[42] = C0) : C0 = r[42], C0;
|
|
41320
41357
|
};
|
|
41321
41358
|
function isSidebarCell(e) {
|
|
41322
41359
|
var _a3;
|
|
@@ -43260,29 +43297,29 @@ ${c}
|
|
|
43260
43297
|
M
|
|
43261
43298
|
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r), Z = (0, import_react.useMemo)(() => j.getEnabled(), [
|
|
43262
43299
|
j
|
|
43263
|
-
]),
|
|
43300
|
+
]), S0 = useMeasuringConfiguration(p), { droppableRects: C0, measureDroppableContainers: w0, measuringScheduled: T0 } = useDroppableMeasuring(Z, {
|
|
43264
43301
|
dragging: w,
|
|
43265
43302
|
dependencies: [
|
|
43266
43303
|
O.x,
|
|
43267
43304
|
O.y
|
|
43268
43305
|
],
|
|
43269
|
-
config:
|
|
43270
|
-
}),
|
|
43306
|
+
config: S0.droppable
|
|
43307
|
+
}), E0 = useCachedNode(E, T), D0 = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
43271
43308
|
H
|
|
43272
|
-
]),
|
|
43309
|
+
]), O0 = a2(), k0 = useInitialRect(E0, S0.draggable.measure);
|
|
43273
43310
|
useLayoutShiftScrollCompensation({
|
|
43274
43311
|
activeNode: T == null ? null : E.get(T),
|
|
43275
|
-
config:
|
|
43276
|
-
initialRect:
|
|
43277
|
-
measure:
|
|
43312
|
+
config: O0.layoutShiftCompensation,
|
|
43313
|
+
initialRect: k0,
|
|
43314
|
+
measure: S0.draggable.measure
|
|
43278
43315
|
});
|
|
43279
|
-
let
|
|
43316
|
+
let A0 = useRect(E0, S0.draggable.measure, k0), j0 = useRect(E0 ? E0.parentElement : null), M0 = (0, import_react.useRef)({
|
|
43280
43317
|
activatorEvent: null,
|
|
43281
43318
|
active: null,
|
|
43282
|
-
activeNode:
|
|
43319
|
+
activeNode: E0,
|
|
43283
43320
|
collisionRect: null,
|
|
43284
43321
|
collisions: null,
|
|
43285
|
-
droppableRects:
|
|
43322
|
+
droppableRects: C0,
|
|
43286
43323
|
draggableNodes: E,
|
|
43287
43324
|
draggingNode: null,
|
|
43288
43325
|
draggingNodeRect: null,
|
|
@@ -43290,45 +43327,45 @@ ${c}
|
|
|
43290
43327
|
over: null,
|
|
43291
43328
|
scrollableAncestors: [],
|
|
43292
43329
|
scrollAdjustedTranslate: null
|
|
43293
|
-
}),
|
|
43294
|
-
measure:
|
|
43295
|
-
}),
|
|
43330
|
+
}), N0 = j.getNodeFor((_a3 = M0.current.over) == null ? void 0 : _a3.id), P0 = useDragOverlayMeasuring({
|
|
43331
|
+
measure: S0.dragOverlay.measure
|
|
43332
|
+
}), F0 = P0.nodeRef.current ?? E0, I0 = w ? P0.rect ?? A0 : null, L0 = !!(P0.nodeRef.current && P0.rect), R0 = useRectDelta(L0 ? null : A0), z0 = useWindowRect(F0 ? getWindow(F0) : null), B0 = useScrollableAncestors(w ? N0 ?? E0 : null), V0 = useRects(B0), H0 = applyModifiers(m, {
|
|
43296
43333
|
transform: {
|
|
43297
|
-
x: O.x -
|
|
43298
|
-
y: O.y -
|
|
43334
|
+
x: O.x - R0.x,
|
|
43335
|
+
y: O.y - R0.y,
|
|
43299
43336
|
scaleX: 1,
|
|
43300
43337
|
scaleY: 1
|
|
43301
43338
|
},
|
|
43302
43339
|
activatorEvent: H,
|
|
43303
43340
|
active: L,
|
|
43304
|
-
activeNodeRect:
|
|
43305
|
-
containerNodeRect:
|
|
43306
|
-
draggingNodeRect:
|
|
43307
|
-
over:
|
|
43308
|
-
overlayNodeRect:
|
|
43309
|
-
scrollableAncestors:
|
|
43310
|
-
scrollableAncestorRects:
|
|
43311
|
-
windowRect:
|
|
43312
|
-
}),
|
|
43313
|
-
|
|
43314
|
-
]),
|
|
43341
|
+
activeNodeRect: A0,
|
|
43342
|
+
containerNodeRect: j0,
|
|
43343
|
+
draggingNodeRect: I0,
|
|
43344
|
+
over: M0.current.over,
|
|
43345
|
+
overlayNodeRect: P0.rect,
|
|
43346
|
+
scrollableAncestors: B0,
|
|
43347
|
+
scrollableAncestorRects: V0,
|
|
43348
|
+
windowRect: z0
|
|
43349
|
+
}), U0 = D0 ? add(D0, O) : null, W0 = useScrollOffsets(B0), G0 = useScrollOffsetsDelta(W0), K0 = useScrollOffsetsDelta(W0, [
|
|
43350
|
+
A0
|
|
43351
|
+
]), q0 = add(H0, G0), J0 = I0 ? getAdjustedRect(I0, H0) : null, Y0 = L && J0 ? f({
|
|
43315
43352
|
active: L,
|
|
43316
|
-
collisionRect:
|
|
43317
|
-
droppableRects:
|
|
43353
|
+
collisionRect: J0,
|
|
43354
|
+
droppableRects: C0,
|
|
43318
43355
|
droppableContainers: Z,
|
|
43319
|
-
pointerCoordinates:
|
|
43320
|
-
}) : null,
|
|
43356
|
+
pointerCoordinates: U0
|
|
43357
|
+
}) : null, X0 = getFirstCollision(Y0, "id"), [Z0, Q0] = (0, import_react.useState)(null), $0 = adjustScale(L0 ? H0 : add(H0, K0), (Z0 == null ? void 0 : Z0.rect) ?? null, A0), e2 = (0, import_react.useRef)(null), t2 = (0, import_react.useCallback)((e3, r3) => {
|
|
43321
43358
|
let { sensor: c2, options: l2 } = r3;
|
|
43322
43359
|
if (R.current == null) return;
|
|
43323
43360
|
let u2 = E.get(R.current);
|
|
43324
43361
|
if (!u2) return;
|
|
43325
43362
|
let d2 = e3.nativeEvent;
|
|
43326
|
-
|
|
43363
|
+
e2.current = new c2({
|
|
43327
43364
|
active: R.current,
|
|
43328
43365
|
activeNode: u2,
|
|
43329
43366
|
event: d2,
|
|
43330
43367
|
options: l2,
|
|
43331
|
-
context:
|
|
43368
|
+
context: M0,
|
|
43332
43369
|
onAbort(e4) {
|
|
43333
43370
|
if (!E.get(e4)) return;
|
|
43334
43371
|
let { onDragAbort: r4 } = G.current, c3 = {
|
|
@@ -43373,7 +43410,7 @@ ${c}
|
|
|
43373
43410
|
}), v({
|
|
43374
43411
|
type: "onDragStart",
|
|
43375
43412
|
event: u3
|
|
43376
|
-
}), B(
|
|
43413
|
+
}), B(e2.current), W(d2);
|
|
43377
43414
|
});
|
|
43378
43415
|
},
|
|
43379
43416
|
onMove(e4) {
|
|
@@ -43387,7 +43424,7 @@ ${c}
|
|
|
43387
43424
|
});
|
|
43388
43425
|
function f2(e4) {
|
|
43389
43426
|
return async function() {
|
|
43390
|
-
let { active: r4, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } =
|
|
43427
|
+
let { active: r4, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } = M0.current, f3 = null;
|
|
43391
43428
|
if (r4 && u3) {
|
|
43392
43429
|
let { cancelDrop: p2 } = G.current;
|
|
43393
43430
|
f3 = {
|
|
@@ -43401,7 +43438,7 @@ ${c}
|
|
|
43401
43438
|
R.current = null, (0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
43402
43439
|
_({
|
|
43403
43440
|
type: e4
|
|
43404
|
-
}), S(Status.Uninitialized),
|
|
43441
|
+
}), S(Status.Uninitialized), Q0(null), B(null), W(null), e2.current = null;
|
|
43405
43442
|
let r5 = e4 === Action.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
43406
43443
|
if (f3) {
|
|
43407
43444
|
let e5 = G.current[r5];
|
|
@@ -43415,7 +43452,7 @@ ${c}
|
|
|
43415
43452
|
}
|
|
43416
43453
|
}, [
|
|
43417
43454
|
E
|
|
43418
|
-
]),
|
|
43455
|
+
]), n2 = useCombineActivators(d, (0, import_react.useCallback)((e3, r3) => (c2, l2) => {
|
|
43419
43456
|
let u2 = c2.nativeEvent, d2 = E.get(l2);
|
|
43420
43457
|
if (R.current !== null || !d2 || u2.dndKit || u2.defaultPrevented) return;
|
|
43421
43458
|
let f2 = {
|
|
@@ -43423,26 +43460,26 @@ ${c}
|
|
|
43423
43460
|
};
|
|
43424
43461
|
e3(c2, r3.options, f2) === true && (u2.dndKit = {
|
|
43425
43462
|
capturedBy: r3.sensor
|
|
43426
|
-
}, R.current = l2,
|
|
43463
|
+
}, R.current = l2, t2(c2, r3));
|
|
43427
43464
|
}, [
|
|
43428
43465
|
E,
|
|
43429
|
-
|
|
43466
|
+
t2
|
|
43430
43467
|
]));
|
|
43431
43468
|
useSensorSetup(d), useIsomorphicLayoutEffect(() => {
|
|
43432
|
-
|
|
43469
|
+
A0 && b === Status.Initializing && S(Status.Initialized);
|
|
43433
43470
|
}, [
|
|
43434
|
-
|
|
43471
|
+
A0,
|
|
43435
43472
|
b
|
|
43436
43473
|
]), (0, import_react.useEffect)(() => {
|
|
43437
|
-
let { onDragMove: e3 } = G.current, { active: r3, activatorEvent: c2, collisions: l2, over: u2 } =
|
|
43474
|
+
let { onDragMove: e3 } = G.current, { active: r3, activatorEvent: c2, collisions: l2, over: u2 } = M0.current;
|
|
43438
43475
|
if (!r3 || !c2) return;
|
|
43439
43476
|
let d2 = {
|
|
43440
43477
|
active: r3,
|
|
43441
43478
|
activatorEvent: c2,
|
|
43442
43479
|
collisions: l2,
|
|
43443
43480
|
delta: {
|
|
43444
|
-
x:
|
|
43445
|
-
y:
|
|
43481
|
+
x: q0.x,
|
|
43482
|
+
y: q0.y
|
|
43446
43483
|
},
|
|
43447
43484
|
over: u2
|
|
43448
43485
|
};
|
|
@@ -43453,12 +43490,12 @@ ${c}
|
|
|
43453
43490
|
});
|
|
43454
43491
|
});
|
|
43455
43492
|
}, [
|
|
43456
|
-
|
|
43457
|
-
|
|
43493
|
+
q0.x,
|
|
43494
|
+
q0.y
|
|
43458
43495
|
]), (0, import_react.useEffect)(() => {
|
|
43459
|
-
let { active: e3, activatorEvent: r3, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } =
|
|
43496
|
+
let { active: e3, activatorEvent: r3, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } = M0.current;
|
|
43460
43497
|
if (!e3 || R.current == null || !r3 || !u2) return;
|
|
43461
|
-
let { onDragOver: d2 } = G.current, f2 = l2.get(
|
|
43498
|
+
let { onDragOver: d2 } = G.current, f2 = l2.get(X0), p2 = f2 && f2.rect.current ? {
|
|
43462
43499
|
id: f2.id,
|
|
43463
43500
|
rect: f2.rect.current,
|
|
43464
43501
|
data: f2.data,
|
|
@@ -43474,127 +43511,127 @@ ${c}
|
|
|
43474
43511
|
over: p2
|
|
43475
43512
|
};
|
|
43476
43513
|
(0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
43477
|
-
|
|
43514
|
+
Q0(p2), d2 == null ? void 0 : d2(m2), v({
|
|
43478
43515
|
type: "onDragOver",
|
|
43479
43516
|
event: m2
|
|
43480
43517
|
});
|
|
43481
43518
|
});
|
|
43482
43519
|
}, [
|
|
43483
|
-
|
|
43520
|
+
X0
|
|
43484
43521
|
]), useIsomorphicLayoutEffect(() => {
|
|
43485
|
-
|
|
43522
|
+
M0.current = {
|
|
43486
43523
|
activatorEvent: H,
|
|
43487
43524
|
active: L,
|
|
43488
|
-
activeNode:
|
|
43489
|
-
collisionRect:
|
|
43490
|
-
collisions:
|
|
43491
|
-
droppableRects:
|
|
43525
|
+
activeNode: E0,
|
|
43526
|
+
collisionRect: J0,
|
|
43527
|
+
collisions: Y0,
|
|
43528
|
+
droppableRects: C0,
|
|
43492
43529
|
draggableNodes: E,
|
|
43493
|
-
draggingNode:
|
|
43494
|
-
draggingNodeRect:
|
|
43530
|
+
draggingNode: F0,
|
|
43531
|
+
draggingNodeRect: I0,
|
|
43495
43532
|
droppableContainers: j,
|
|
43496
|
-
over:
|
|
43497
|
-
scrollableAncestors:
|
|
43498
|
-
scrollAdjustedTranslate:
|
|
43533
|
+
over: Z0,
|
|
43534
|
+
scrollableAncestors: B0,
|
|
43535
|
+
scrollAdjustedTranslate: q0
|
|
43499
43536
|
}, I.current = {
|
|
43500
|
-
initial:
|
|
43501
|
-
translated:
|
|
43537
|
+
initial: I0,
|
|
43538
|
+
translated: J0
|
|
43502
43539
|
};
|
|
43503
43540
|
}, [
|
|
43504
43541
|
L,
|
|
43505
|
-
|
|
43506
|
-
|
|
43507
|
-
|
|
43542
|
+
E0,
|
|
43543
|
+
Y0,
|
|
43544
|
+
J0,
|
|
43508
43545
|
E,
|
|
43509
|
-
|
|
43510
|
-
|
|
43511
|
-
|
|
43546
|
+
F0,
|
|
43547
|
+
I0,
|
|
43548
|
+
C0,
|
|
43512
43549
|
j,
|
|
43513
|
-
|
|
43514
|
-
|
|
43515
|
-
|
|
43550
|
+
Z0,
|
|
43551
|
+
B0,
|
|
43552
|
+
q0
|
|
43516
43553
|
]), useAutoScroller({
|
|
43517
|
-
...
|
|
43554
|
+
...O0,
|
|
43518
43555
|
delta: O,
|
|
43519
|
-
draggingRect:
|
|
43520
|
-
pointerCoordinates:
|
|
43521
|
-
scrollableAncestors:
|
|
43522
|
-
scrollableAncestorRects:
|
|
43556
|
+
draggingRect: J0,
|
|
43557
|
+
pointerCoordinates: U0,
|
|
43558
|
+
scrollableAncestors: B0,
|
|
43559
|
+
scrollableAncestorRects: V0
|
|
43523
43560
|
});
|
|
43524
|
-
let
|
|
43561
|
+
let r2 = (0, import_react.useMemo)(() => ({
|
|
43525
43562
|
active: L,
|
|
43526
|
-
activeNode:
|
|
43527
|
-
activeNodeRect:
|
|
43563
|
+
activeNode: E0,
|
|
43564
|
+
activeNodeRect: A0,
|
|
43528
43565
|
activatorEvent: H,
|
|
43529
|
-
collisions:
|
|
43530
|
-
containerNodeRect:
|
|
43531
|
-
dragOverlay:
|
|
43566
|
+
collisions: Y0,
|
|
43567
|
+
containerNodeRect: j0,
|
|
43568
|
+
dragOverlay: P0,
|
|
43532
43569
|
draggableNodes: E,
|
|
43533
43570
|
droppableContainers: j,
|
|
43534
|
-
droppableRects:
|
|
43535
|
-
over:
|
|
43536
|
-
measureDroppableContainers:
|
|
43537
|
-
scrollableAncestors:
|
|
43538
|
-
scrollableAncestorRects:
|
|
43539
|
-
measuringConfiguration:
|
|
43540
|
-
measuringScheduled:
|
|
43541
|
-
windowRect:
|
|
43571
|
+
droppableRects: C0,
|
|
43572
|
+
over: Z0,
|
|
43573
|
+
measureDroppableContainers: w0,
|
|
43574
|
+
scrollableAncestors: B0,
|
|
43575
|
+
scrollableAncestorRects: V0,
|
|
43576
|
+
measuringConfiguration: S0,
|
|
43577
|
+
measuringScheduled: T0,
|
|
43578
|
+
windowRect: z0
|
|
43542
43579
|
}), [
|
|
43543
43580
|
L,
|
|
43544
|
-
|
|
43545
|
-
|
|
43581
|
+
E0,
|
|
43582
|
+
A0,
|
|
43546
43583
|
H,
|
|
43547
|
-
|
|
43548
|
-
|
|
43549
|
-
|
|
43584
|
+
Y0,
|
|
43585
|
+
j0,
|
|
43586
|
+
P0,
|
|
43550
43587
|
E,
|
|
43551
43588
|
j,
|
|
43552
|
-
|
|
43553
|
-
|
|
43554
|
-
E0,
|
|
43555
|
-
H0,
|
|
43556
|
-
U0,
|
|
43589
|
+
C0,
|
|
43590
|
+
Z0,
|
|
43557
43591
|
w0,
|
|
43558
|
-
|
|
43559
|
-
V0
|
|
43560
|
-
|
|
43592
|
+
B0,
|
|
43593
|
+
V0,
|
|
43594
|
+
S0,
|
|
43595
|
+
T0,
|
|
43596
|
+
z0
|
|
43597
|
+
]), i2 = (0, import_react.useMemo)(() => ({
|
|
43561
43598
|
activatorEvent: H,
|
|
43562
|
-
activators:
|
|
43599
|
+
activators: n2,
|
|
43563
43600
|
active: L,
|
|
43564
|
-
activeNodeRect:
|
|
43601
|
+
activeNodeRect: A0,
|
|
43565
43602
|
ariaDescribedById: {
|
|
43566
43603
|
draggable: q
|
|
43567
43604
|
},
|
|
43568
43605
|
dispatch: _,
|
|
43569
43606
|
draggableNodes: E,
|
|
43570
|
-
over:
|
|
43571
|
-
measureDroppableContainers:
|
|
43607
|
+
over: Z0,
|
|
43608
|
+
measureDroppableContainers: w0
|
|
43572
43609
|
}), [
|
|
43573
43610
|
H,
|
|
43574
|
-
|
|
43611
|
+
n2,
|
|
43575
43612
|
L,
|
|
43576
|
-
|
|
43613
|
+
A0,
|
|
43577
43614
|
_,
|
|
43578
43615
|
q,
|
|
43579
43616
|
E,
|
|
43580
|
-
|
|
43581
|
-
|
|
43617
|
+
Z0,
|
|
43618
|
+
w0
|
|
43582
43619
|
]);
|
|
43583
43620
|
return import_react.createElement(DndMonitorContext.Provider, {
|
|
43584
43621
|
value: y
|
|
43585
43622
|
}, import_react.createElement(InternalContext.Provider, {
|
|
43586
|
-
value:
|
|
43623
|
+
value: i2
|
|
43587
43624
|
}, import_react.createElement(PublicContext.Provider, {
|
|
43588
|
-
value:
|
|
43625
|
+
value: r2
|
|
43589
43626
|
}, import_react.createElement(ActiveDraggableContext.Provider, {
|
|
43590
|
-
value:
|
|
43627
|
+
value: $0
|
|
43591
43628
|
}, u)), import_react.createElement(RestoreFocus, {
|
|
43592
43629
|
disabled: (c == null ? void 0 : c.restoreFocus) === false
|
|
43593
43630
|
})), import_react.createElement(Accessibility, {
|
|
43594
43631
|
...c,
|
|
43595
43632
|
hiddenTextDescribedById: q
|
|
43596
43633
|
}));
|
|
43597
|
-
function
|
|
43634
|
+
function a2() {
|
|
43598
43635
|
let e3 = (z == null ? void 0 : z.autoScrollEnabled) === false, r3 = typeof l == "object" ? l.enabled === false : l === false, c2 = w && !e3 && !r3;
|
|
43599
43636
|
return typeof l == "object" ? {
|
|
43600
43637
|
...l,
|
|
@@ -44122,7 +44159,7 @@ ${c}
|
|
|
44122
44159
|
updateMeasurementsFor: I,
|
|
44123
44160
|
...m
|
|
44124
44161
|
}
|
|
44125
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: Z, listeners:
|
|
44162
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: Z, listeners: S0, isDragging: C0, over: w0, setActivatorNodeRef: T0, transform: E0 } = useDraggable({
|
|
44126
44163
|
id: f,
|
|
44127
44164
|
data: M,
|
|
44128
44165
|
attributes: {
|
|
@@ -44130,60 +44167,60 @@ ${c}
|
|
|
44130
44167
|
...c
|
|
44131
44168
|
},
|
|
44132
44169
|
disabled: O.draggable
|
|
44133
|
-
}),
|
|
44170
|
+
}), D0 = useCombinedRefs(B, Z), O0 = !!H, k0 = O0 && !b && isValidIndex(v) && isValidIndex(w), A0 = !T && C0, j0 = k0 ? (A0 && k0 ? E0 : null) ?? (p ?? E)({
|
|
44134
44171
|
rects: S,
|
|
44135
44172
|
activeNodeRect: G,
|
|
44136
44173
|
activeIndex: v,
|
|
44137
44174
|
overIndex: w,
|
|
44138
44175
|
index: j
|
|
44139
|
-
}) : null,
|
|
44176
|
+
}) : null, M0 = isValidIndex(v) && isValidIndex(w) ? d({
|
|
44140
44177
|
id: f,
|
|
44141
44178
|
items: g,
|
|
44142
44179
|
activeIndex: v,
|
|
44143
44180
|
overIndex: w
|
|
44144
|
-
}) : j,
|
|
44145
|
-
activeId:
|
|
44181
|
+
}) : j, N0 = H == null ? void 0 : H.id, P0 = (0, import_react.useRef)({
|
|
44182
|
+
activeId: N0,
|
|
44146
44183
|
items: g,
|
|
44147
|
-
newIndex:
|
|
44184
|
+
newIndex: M0,
|
|
44148
44185
|
containerId: _
|
|
44149
|
-
}),
|
|
44186
|
+
}), F0 = g !== P0.current.items, I0 = r({
|
|
44150
44187
|
active: H,
|
|
44151
44188
|
containerId: _,
|
|
44152
|
-
isDragging:
|
|
44153
|
-
isSorting:
|
|
44189
|
+
isDragging: C0,
|
|
44190
|
+
isSorting: O0,
|
|
44154
44191
|
id: f,
|
|
44155
44192
|
index: j,
|
|
44156
44193
|
items: g,
|
|
44157
|
-
newIndex:
|
|
44158
|
-
previousItems:
|
|
44159
|
-
previousContainerId:
|
|
44194
|
+
newIndex: P0.current.newIndex,
|
|
44195
|
+
previousItems: P0.current.items,
|
|
44196
|
+
previousContainerId: P0.current.containerId,
|
|
44160
44197
|
transition: h,
|
|
44161
|
-
wasDragging:
|
|
44162
|
-
}),
|
|
44163
|
-
disabled: !
|
|
44198
|
+
wasDragging: P0.current.activeId != null
|
|
44199
|
+
}), L0 = useDerivedTransform({
|
|
44200
|
+
disabled: !I0,
|
|
44164
44201
|
index: j,
|
|
44165
44202
|
node: R,
|
|
44166
44203
|
rect: L
|
|
44167
44204
|
});
|
|
44168
44205
|
return (0, import_react.useEffect)(() => {
|
|
44169
|
-
|
|
44206
|
+
O0 && P0.current.newIndex !== M0 && (P0.current.newIndex = M0), _ !== P0.current.containerId && (P0.current.containerId = _), g !== P0.current.items && (P0.current.items = g);
|
|
44170
44207
|
}, [
|
|
44171
|
-
|
|
44172
|
-
|
|
44208
|
+
O0,
|
|
44209
|
+
M0,
|
|
44173
44210
|
_,
|
|
44174
44211
|
g
|
|
44175
44212
|
]), (0, import_react.useEffect)(() => {
|
|
44176
|
-
if (
|
|
44177
|
-
if (
|
|
44178
|
-
|
|
44213
|
+
if (N0 === P0.current.activeId) return;
|
|
44214
|
+
if (N0 != null && P0.current.activeId == null) {
|
|
44215
|
+
P0.current.activeId = N0;
|
|
44179
44216
|
return;
|
|
44180
44217
|
}
|
|
44181
44218
|
let e2 = setTimeout(() => {
|
|
44182
|
-
|
|
44219
|
+
P0.current.activeId = N0;
|
|
44183
44220
|
}, 50);
|
|
44184
44221
|
return () => clearTimeout(e2);
|
|
44185
44222
|
}, [
|
|
44186
|
-
|
|
44223
|
+
N0
|
|
44187
44224
|
]), {
|
|
44188
44225
|
active: H,
|
|
44189
44226
|
activeIndex: v,
|
|
@@ -44191,25 +44228,25 @@ ${c}
|
|
|
44191
44228
|
data: M,
|
|
44192
44229
|
rect: L,
|
|
44193
44230
|
index: j,
|
|
44194
|
-
newIndex:
|
|
44231
|
+
newIndex: M0,
|
|
44195
44232
|
items: g,
|
|
44196
44233
|
isOver: z,
|
|
44197
|
-
isSorting:
|
|
44198
|
-
isDragging:
|
|
44199
|
-
listeners:
|
|
44234
|
+
isSorting: O0,
|
|
44235
|
+
isDragging: C0,
|
|
44236
|
+
listeners: S0,
|
|
44200
44237
|
node: R,
|
|
44201
44238
|
overIndex: w,
|
|
44202
|
-
over:
|
|
44203
|
-
setNodeRef:
|
|
44204
|
-
setActivatorNodeRef:
|
|
44239
|
+
over: w0,
|
|
44240
|
+
setNodeRef: D0,
|
|
44241
|
+
setActivatorNodeRef: T0,
|
|
44205
44242
|
setDroppableNodeRef: B,
|
|
44206
44243
|
setDraggableNodeRef: Z,
|
|
44207
|
-
transform:
|
|
44208
|
-
transition:
|
|
44244
|
+
transform: L0 ?? j0,
|
|
44245
|
+
transition: R0()
|
|
44209
44246
|
};
|
|
44210
|
-
function
|
|
44211
|
-
if (
|
|
44212
|
-
if (!(
|
|
44247
|
+
function R0() {
|
|
44248
|
+
if (L0 || F0 && P0.current.newIndex === j) return disabledTransition;
|
|
44249
|
+
if (!(A0 && !isKeyboardEvent(W) || !h) && (O0 || I0)) return CSS$1.Transition.toString({
|
|
44213
44250
|
...h,
|
|
44214
44251
|
property: transitionProperty
|
|
44215
44252
|
});
|
|
@@ -44487,8 +44524,8 @@ ${c}
|
|
|
44487
44524
|
}, r[18] = O, r[19] = h, r[20] = R, r[21] = E, r[22] = z) : z = r[22];
|
|
44488
44525
|
let B = z, H = T || w, W = b || S || w ? "border-blue-500" : "border-border", G = S && !w && "opacity-35", q = w && "opacity-95 shadow-lg", Z;
|
|
44489
44526
|
r[23] !== l || r[24] !== q || r[25] !== W || r[26] !== G ? (Z = cn("border-2 shrink-0 rounded-md relative select-none bg-background cursor-pointer active:cursor-grabbing overflow-hidden", W, G, q, l), r[23] = l, r[24] = q, r[25] = W, r[26] = G, r[27] = Z) : Z = r[27];
|
|
44490
|
-
let
|
|
44491
|
-
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (
|
|
44527
|
+
let S0;
|
|
44528
|
+
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (S0 = H && (0, import_jsx_runtime.jsx)("div", {
|
|
44492
44529
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
44493
44530
|
style: {
|
|
44494
44531
|
transform: `scale(${j})`,
|
|
@@ -44501,14 +44538,14 @@ ${c}
|
|
|
44501
44538
|
status: c.status,
|
|
44502
44539
|
output: c.output
|
|
44503
44540
|
})
|
|
44504
|
-
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] =
|
|
44505
|
-
let
|
|
44506
|
-
r[34] === L ?
|
|
44541
|
+
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] = S0) : S0 = r[33];
|
|
44542
|
+
let C0;
|
|
44543
|
+
r[34] === L ? C0 = r[35] : (C0 = L && (0, import_jsx_runtime.jsx)("div", {
|
|
44507
44544
|
className: "absolute inset-0 bg-muted/60 pointer-events-none",
|
|
44508
44545
|
"aria-hidden": true
|
|
44509
|
-
}), r[34] = L, r[35] =
|
|
44510
|
-
let
|
|
44511
|
-
r[36] !== L || r[37] !== I ? (
|
|
44546
|
+
}), r[34] = L, r[35] = C0);
|
|
44547
|
+
let w0;
|
|
44548
|
+
r[36] !== L || r[37] !== I ? (w0 = I && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
44512
44549
|
content: (0, import_jsx_runtime.jsx)("span", {
|
|
44513
44550
|
className: "text-xs opacity-80",
|
|
44514
44551
|
children: I.description
|
|
@@ -44520,19 +44557,19 @@ ${c}
|
|
|
44520
44557
|
className: "h-3.5 w-3.5"
|
|
44521
44558
|
})
|
|
44522
44559
|
})
|
|
44523
|
-
}), r[36] = L, r[37] = I, r[38] =
|
|
44524
|
-
let
|
|
44525
|
-
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== Z || r[43] !==
|
|
44560
|
+
}), r[36] = L, r[37] = I, r[38] = w0) : w0 = r[38];
|
|
44561
|
+
let T0;
|
|
44562
|
+
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== Z || r[43] !== S0 || r[44] !== C0 || r[45] !== w0 ? (T0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
44526
44563
|
ref: f,
|
|
44527
44564
|
className: Z,
|
|
44528
44565
|
style: B,
|
|
44529
44566
|
...d,
|
|
44530
44567
|
children: [
|
|
44531
|
-
|
|
44532
|
-
|
|
44533
|
-
|
|
44568
|
+
S0,
|
|
44569
|
+
C0,
|
|
44570
|
+
w0
|
|
44534
44571
|
]
|
|
44535
|
-
}), r[39] = B, r[40] = d, r[41] = f, r[42] = Z, r[43] =
|
|
44572
|
+
}), r[39] = B, r[40] = d, r[41] = f, r[42] = Z, r[43] = S0, r[44] = C0, r[45] = w0, r[46] = T0) : T0 = r[46], T0;
|
|
44536
44573
|
};
|
|
44537
44574
|
function projectDropTarget(e) {
|
|
44538
44575
|
let { active: r, over: c } = e;
|
|
@@ -44563,7 +44600,7 @@ ${c}
|
|
|
44563
44600
|
if (l && l !== "slide") return l;
|
|
44564
44601
|
if (c == null ? void 0 : c.has(e)) return "skip";
|
|
44565
44602
|
}
|
|
44566
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
44603
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-ErqOa0Wd.js"));
|
|
44567
44604
|
const SlidesLayoutPlugin = {
|
|
44568
44605
|
type: "slides",
|
|
44569
44606
|
name: "Slides",
|
|
@@ -44932,7 +44969,7 @@ ${c}
|
|
|
44932
44969
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
44933
44970
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
44934
44971
|
}, r[2] = z) : z = r[2], (0, import_react.useLayoutEffect)(z), !I && isInternalCellName(b)) return null;
|
|
44935
|
-
let B, H, W, G, q, Z,
|
|
44972
|
+
let B, H, W, G, q, Z, S0, C0, w0, T0;
|
|
44936
44973
|
if (r[3] !== S || r[4] !== j || r[5] !== M || r[6] !== I || r[7] !== _ || r[8] !== d || r[9] !== R || r[10] !== E || r[11] !== O || r[12] !== T || r[13] !== L || r[14] !== f || r[15] !== u || r[16] !== y || r[17] !== m || r[18] !== l) {
|
|
44937
44974
|
let e2 = M.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), b2;
|
|
44938
44975
|
r[29] === M ? b2 = r[30] : (b2 = () => M.filter(_temp3$1).map(_temp4$1).join("\n"), r[29] = M, r[30] = b2);
|
|
@@ -44978,11 +45015,11 @@ ${c}
|
|
|
44978
45015
|
})
|
|
44979
45016
|
})
|
|
44980
45017
|
]
|
|
44981
|
-
}), r[31] = z2, r[32] = I, r[33] = d, r[34] = R, r[35] = f, r[36] = u, r[37] = l, r[38] = H) : H = r[38], W = y ? "This console output is stale" : void 0, G = "console-output-area", q = c, Z = L,
|
|
44982
|
-
let
|
|
44983
|
-
r[39] !== j || r[40] !==
|
|
45018
|
+
}), r[31] = z2, r[32] = I, r[33] = d, r[34] = R, r[35] = f, r[36] = u, r[37] = l, r[38] = H) : H = r[38], W = y ? "This console output is stale" : void 0, G = "console-output-area", q = c, Z = L, S0 = 0;
|
|
45019
|
+
let E02 = y && "marimo-output-stale", D02 = I ? "p-5" : "p-3";
|
|
45020
|
+
r[39] !== j || r[40] !== E02 || r[41] !== D02 ? (C0 = cn("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden", E02, D02, j), r[39] = j, r[40] = E02, r[41] = D02, r[42] = C0) : C0 = r[42], r[43] === d ? w0 = r[44] : (w0 = d ? {
|
|
44984
45021
|
maxHeight: "none"
|
|
44985
|
-
} : void 0, r[43] = d, r[44] =
|
|
45022
|
+
} : void 0, r[43] = d, r[44] = w0), T0 = e2.map((e3, r2) => {
|
|
44986
45023
|
if (e3.channel === "pdb") return null;
|
|
44987
45024
|
if (e3.channel === "stdin") {
|
|
44988
45025
|
invariant(typeof e3.data == "string", "Expected data to be a string");
|
|
@@ -45010,36 +45047,36 @@ ${c}
|
|
|
45010
45047
|
wrapText: l
|
|
45011
45048
|
})
|
|
45012
45049
|
}, r2);
|
|
45013
|
-
}), r[3] = S, r[4] = j, r[5] = M, r[6] = I, r[7] = _, r[8] = d, r[9] = R, r[10] = E, r[11] = O, r[12] = T, r[13] = L, r[14] = f, r[15] = u, r[16] = y, r[17] = m, r[18] = l, r[19] = B, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = Z, r[25] =
|
|
45014
|
-
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23], Z = r[24],
|
|
45015
|
-
let
|
|
45016
|
-
r[45] !== S || r[46] !== b ? (
|
|
45050
|
+
}), r[3] = S, r[4] = j, r[5] = M, r[6] = I, r[7] = _, r[8] = d, r[9] = R, r[10] = E, r[11] = O, r[12] = T, r[13] = L, r[14] = f, r[15] = u, r[16] = y, r[17] = m, r[18] = l, r[19] = B, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = Z, r[25] = S0, r[26] = C0, r[27] = w0, r[28] = T0;
|
|
45051
|
+
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23], Z = r[24], S0 = r[25], C0 = r[26], w0 = r[27], T0 = r[28];
|
|
45052
|
+
let E0;
|
|
45053
|
+
r[45] !== S || r[46] !== b ? (E0 = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
45017
45054
|
value: b,
|
|
45018
45055
|
cellId: S,
|
|
45019
45056
|
className: "bg-(--slate-4) border-(--slate-4) hover:bg-(--slate-5) dark:border-(--sky-5) dark:bg-(--sky-6) dark:text-(--sky-12) text-(--slate-12) rounded-l rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono max-w-[75%] whitespace-nowrap overflow-hidden"
|
|
45020
|
-
}), r[45] = S, r[46] = b, r[47] =
|
|
45021
|
-
let
|
|
45022
|
-
r[48] !==
|
|
45057
|
+
}), r[45] = S, r[46] = b, r[47] = E0) : E0 = r[47];
|
|
45058
|
+
let D0;
|
|
45059
|
+
r[48] !== E0 || r[49] !== W || r[50] !== G || r[51] !== q || r[52] !== Z || r[53] !== S0 || r[54] !== C0 || r[55] !== w0 || r[56] !== T0 ? (D0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
45023
45060
|
title: W,
|
|
45024
45061
|
"data-testid": G,
|
|
45025
45062
|
ref: q,
|
|
45026
45063
|
...Z,
|
|
45027
|
-
tabIndex:
|
|
45028
|
-
className:
|
|
45029
|
-
style:
|
|
45064
|
+
tabIndex: S0,
|
|
45065
|
+
className: C0,
|
|
45066
|
+
style: w0,
|
|
45030
45067
|
children: [
|
|
45031
|
-
|
|
45032
|
-
|
|
45068
|
+
T0,
|
|
45069
|
+
E0
|
|
45033
45070
|
]
|
|
45034
|
-
}), r[48] =
|
|
45035
|
-
let
|
|
45036
|
-
return r[58] !== B || r[59] !== H || r[60] !==
|
|
45071
|
+
}), r[48] = E0, r[49] = W, r[50] = G, r[51] = q, r[52] = Z, r[53] = S0, r[54] = C0, r[55] = w0, r[56] = T0, r[57] = D0) : D0 = r[57];
|
|
45072
|
+
let O0;
|
|
45073
|
+
return r[58] !== B || r[59] !== H || r[60] !== D0 ? (O0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
45037
45074
|
className: B,
|
|
45038
45075
|
children: [
|
|
45039
45076
|
H,
|
|
45040
|
-
|
|
45077
|
+
D0
|
|
45041
45078
|
]
|
|
45042
|
-
}), r[58] = B, r[59] = H, r[60] =
|
|
45079
|
+
}), r[58] = B, r[59] = H, r[60] = D0, r[61] = O0) : O0 = r[61], O0;
|
|
45043
45080
|
}, StdInput = (e) => {
|
|
45044
45081
|
let r = (0, import_compiler_runtime$6.c)(25), { value: c, setValue: l, inputHistory: u, output: d, isPassword: f, isPdb: p, onSubmit: m, onClear: h } = e, { navigateUp: g, navigateDown: _, addToHistory: v } = u, y;
|
|
45045
45082
|
r[0] === d ? y = r[1] : (y = renderText(d), r[0] = d, r[1] = y);
|
|
@@ -45493,23 +45530,23 @@ ${c}
|
|
|
45493
45530
|
if ((h || _ || m || W) && !G) return null;
|
|
45494
45531
|
let q;
|
|
45495
45532
|
r[42] !== d || r[43] !== T ? (q = cellDomProps(d, T), r[42] = d, r[43] = T, r[44] = q) : q = r[44];
|
|
45496
|
-
let Z = w === "edit",
|
|
45497
|
-
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== Z ? (
|
|
45533
|
+
let Z = w === "edit", S0;
|
|
45534
|
+
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== Z ? (S0 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
45498
45535
|
allowExpand: Z,
|
|
45499
45536
|
output: c,
|
|
45500
45537
|
className: CSSClasses.outputArea,
|
|
45501
45538
|
cellId: d,
|
|
45502
45539
|
stale: I,
|
|
45503
45540
|
loading: R
|
|
45504
|
-
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = Z, r[50] =
|
|
45505
|
-
let
|
|
45506
|
-
return r[51] !== H || r[52] !== q || r[53] !==
|
|
45541
|
+
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = Z, r[50] = S0) : S0 = r[50];
|
|
45542
|
+
let C0;
|
|
45543
|
+
return r[51] !== H || r[52] !== q || r[53] !== S0 ? (C0 = (0, import_jsx_runtime.jsx)("div", {
|
|
45507
45544
|
tabIndex: -1,
|
|
45508
45545
|
ref: j,
|
|
45509
45546
|
className: H,
|
|
45510
45547
|
...q,
|
|
45511
|
-
children:
|
|
45512
|
-
}), r[51] = H, r[52] = q, r[53] =
|
|
45548
|
+
children: S0
|
|
45549
|
+
}), r[51] = H, r[52] = q, r[53] = S0, r[54] = C0) : C0 = r[54], C0;
|
|
45513
45550
|
});
|
|
45514
45551
|
VerticalCell.displayName = "VerticalCell";
|
|
45515
45552
|
const VerticalLayoutPlugin = {
|
|
@@ -46429,7 +46466,7 @@ ${r}
|
|
|
46429
46466
|
});
|
|
46430
46467
|
}
|
|
46431
46468
|
const getMarimoVersion = () => store.get(marimoVersionAtom);
|
|
46432
|
-
var worker_default = "/assets/worker-
|
|
46469
|
+
var worker_default = "/assets/worker-CpBbwbQo.js", DefaultWorkerFactory = class {
|
|
46433
46470
|
constructor(e = {}) {
|
|
46434
46471
|
this.url = e.workerUrl || this.getDefaultWorkerUrl(), this.name = e.workerName || getMarimoVersion();
|
|
46435
46472
|
}
|