@marimo-team/islands 0.23.7-dev5 → 0.23.7-dev50
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-D8ZxPNTR.js} +626 -234
- package/dist/{check-CFM2mVDr.js → check-BcUIXnUT.js} +1 -1
- package/dist/{chunk-4BX2VUAB-BwfrWBqN.js → chunk-4BX2VUAB-CzXltWHN.js} +1 -1
- package/dist/{chunk-55IACEB6-D8THf2mi.js → chunk-55IACEB6-B-1mjMMC.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-CO1e63h_.js → chunk-5FQGJX7Z-BOg95xG5.js} +2 -2
- package/dist/{chunk-ABZYJK2D-BrBb_0yY.js → chunk-ABZYJK2D-D0cLy8Bb.js} +2 -2
- package/dist/{chunk-ATLVNIR6-D-0XqNah.js → chunk-ATLVNIR6-BXsEjlHF.js} +2 -2
- package/dist/{chunk-B4BG7PRW-8iRKvugR.js → chunk-B4BG7PRW-Q1usn6T3.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B6xhgaBd.js → chunk-CVBHYZKI-B_c5YBcW.js} +1 -1
- package/dist/{chunk-DI55MBZ5-C0_2D4m4.js → chunk-DI55MBZ5-D1qLYNrb.js} +6 -6
- package/dist/{chunk-EXTU4WIE-Jiw9ca1u.js → chunk-EXTU4WIE-BKNXdLmD.js} +2 -2
- package/dist/{chunk-FMBD7UC4-CHdus51S.js → chunk-FMBD7UC4-Ie8M9q0W.js} +1 -1
- package/dist/{chunk-HN2XXSSU-2Vfbq-kU.js → chunk-HN2XXSSU-E3n-Ys7Z.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-6wbaigKe.js → chunk-JA3XYJ7Z-D6c6cOBG.js} +3 -3
- package/dist/{chunk-JZLCHNYA-_rfptlUP.js → chunk-JZLCHNYA-BvsPHJmL.js} +6 -6
- package/dist/{chunk-MI3HLSF2-Do0-KRc0.js → chunk-MI3HLSF2-CUYEasXO.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DIZG9dVD.js → chunk-N4CR4FBY-8ycT-O9a.js} +7 -7
- package/dist/{chunk-QN33PNHL-Cc64y40m.js → chunk-QN33PNHL-Bb-eUBW3.js} +2 -2
- package/dist/{chunk-QXUST7PY-BDG0-0Or.js → chunk-QXUST7PY-DV8yRwBd.js} +10 -10
- package/dist/{chunk-QZHKN3VN-B_Mdb8GC.js → chunk-QZHKN3VN-DRjXVwuJ.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-DphMP0FA.js → chunk-S3R3BYOJ-mQeCz5CE.js} +4 -4
- package/dist/{chunk-TZMSLE5B-C9LUoYkc.js → chunk-TZMSLE5B-BqW10dHe.js} +3 -3
- package/dist/classDiagram-2ON5EDUG--Yh__LHb.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-BC7X7Xtc.js +30 -0
- package/dist/{clike-sBZrGeF8.js → clike-DTxNUn7l.js} +1 -1
- package/dist/clojure-DEttQW5T.js +4 -0
- package/dist/cmake-jNlx_DaM.js +4 -0
- package/dist/cobol-BvvIm5MJ.js +4 -0
- package/dist/{code-block-37QAKDTI-0JNwiPGv.js → code-block-37QAKDTI-BsGy1AOJ.js} +1 -1
- package/dist/{code-visibility-D8E8Ctez.js → code-visibility-DjsEQuRb.js} +1403 -1080
- 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-DucgdjRo.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-DaPPaVDP.js} +2395 -2301
- package/dist/idl-Ds_VbrUx.js +4 -0
- package/dist/{info-VBDWY6EO--JNA2rNu.js → info-VBDWY6EO-D2lvLLw5.js} +1 -1
- package/dist/{infoDiagram-HS3SLOUP-BbZyOxsP.js → infoDiagram-HS3SLOUP-ChNufFsP.js} +12 -12
- package/dist/{input-BAOe64zx.js → input-D4kjoQUB.js} +8 -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 +1299 -1260
- package/dist/mathematica-DDa0Pfxm.js +4 -0
- package/dist/mbox-iO03mmoE.js +4 -0
- package/dist/{mermaid-4DMBBIKO-CG1ECj5W.js → mermaid-4DMBBIKO-B7VQMwJx.js} +1 -1
- package/dist/{mermaid-CEbzCxCc.js → mermaid-DO-Daq7u.js} +46 -46
- package/dist/{mermaid-parser.core-CleJseNW.js → mermaid-parser.core-DreccfmS.js} +7 -7
- package/dist/{mhchem-BwoRNwg_.js → mhchem-yiCCuiEF.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-CcSYqYP9.js → mindmap-definition-VGOIOE7T-CC1_Vl0f.js} +13 -13
- package/dist/mirc-C9z5LT4X.js +4 -0
- package/dist/mllike-jGJbdm_C.js +6 -0
- package/dist/modelica-DzF7oIEL.js +4 -0
- package/dist/mscgen-DB-u125o.js +6 -0
- package/dist/mumps-CRTFHhzh.js +4 -0
- package/dist/nsis-C4NPTuox.js +4 -0
- package/dist/{nsis-B5K1qoyo.js → nsis-ClF3r5Tr.js} +1 -1
- package/dist/ntriples-BCOoGph1.js +4 -0
- package/dist/{number-overlay-editor-_GnlYFHC.js → number-overlay-editor-CpKi64Fy.js} +1 -1
- package/dist/octave-DTwNlazz.js +4 -0
- package/dist/{ordinal-2jIulmcR.js → ordinal-B43ZeR68.js} +1 -1
- package/dist/oz-DD38AzSz.js +4 -0
- package/dist/{packet-DYOGHKS2-CBxXGWNr.js → packet-DYOGHKS2-CmWtF3uO.js} +1 -1
- package/dist/pascal-BohSp9jV.js +4 -0
- package/dist/perl-f5OutoPM.js +4 -0
- package/dist/{pie-VRWISCQL-Bmdnqjip.js → pie-VRWISCQL-B6u8vus8.js} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-DNyLF5H2.js → pieDiagram-ADFJNKIX-Di34MOFQ.js} +19 -19
- package/dist/pig-Dv7wSmHb.js +4 -0
- package/dist/powershell-rYgjKB39.js +4 -0
- package/dist/{process-output-Bza_GK7Q.js → process-output-n0RJTxcC.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-Ycn2n8kH.js → reveal-component-pQBz0vEK.js} +10 -10
- package/dist/rpm-FUdrIia9.js +5 -0
- package/dist/ruby-DMjFXuEW.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-CxmzalGv.js → sankeyDiagram-TZEHDZUN-D09PBJ-n.js} +4 -4
- package/dist/sas-DzHZxjXK.js +4 -0
- package/dist/scheme-DxHd_Rb9.js +4 -0
- package/dist/semaphore-CNDGTzkX.js +46 -0
- package/dist/{sequenceDiagram-WL72ISMW-CVCDsJ9h.js → sequenceDiagram-WL72ISMW-t_Dpemj0.js} +7 -7
- package/dist/shell-C8Kwypgf.js +4 -0
- package/dist/sieve-DdyqOKXZ.js +4 -0
- package/dist/smalltalk-pB7X1D9y.js +4 -0
- package/dist/sparql-NhBO6oOa.js +4 -0
- package/dist/{spec-DSIuqd3f.js → spec-hVaaZsY5.js} +4 -4
- package/dist/{src-BY0BGg6V.js → src-Bf2iLOlr.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-D_2djEhW.js → stateDiagram-FKZM4ZOC-B18gTP_j.js} +16 -16
- package/dist/stateDiagram-v2-4FDKWEC3-B6e_t14A.js +29 -0
- package/dist/{step-DGAGWg3y.js → step-CWipAYTY.js} +1 -1
- package/dist/{strings-B_FOH6eV.js → strings-BiIhGaI8.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/stylus-SfWSnzPv.js +4 -0
- package/dist/swift-jRPdq2zR.js +4 -0
- package/dist/{swiper-component-KkEVUDd3.js → swiper-component-DlD2GU2g.js} +2 -2
- package/dist/tcl-_hpTHGX3.js +4 -0
- package/dist/textile-C9h8slqH.js +4 -0
- package/dist/{time-CMdrp3hw.js → time-C1SGcFMH.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-E4NzxCs3.js → timeline-definition-IT6M3QCI-DJnh1ks5.js} +3 -3
- package/dist/{toDate-CHtl9vts.js → toDate-CJWlVNGD.js} +3 -3
- package/dist/toml-DWvtinD4.js +4 -0
- package/dist/{tooltip-B0mtKTXm.js → tooltip-DRaMBu06.js} +3 -3
- package/dist/{treemap-GDKQZRPO-CoKHPxa7.js → treemap-GDKQZRPO-Du95DV6u.js} +1 -1
- package/dist/troff-Dwo_A0y7.js +4 -0
- package/dist/ttcn-V--CPFKq.js +4 -0
- package/dist/ttcn-cfg-CPSMchTG.js +4 -0
- package/dist/turtle-B4rPGBWu.js +4 -0
- package/dist/{types-DBtDeUKD.js → types-Dzuoc3LN.js} +1 -1
- package/dist/{useAsyncData-B6hCGywC.js → useAsyncData-C56Khv_R.js} +1 -1
- package/dist/{useDateFormatter-B3mCQMP3.js → useDateFormatter-B_9k85Ex.js} +2 -2
- package/dist/{useDeepCompareMemoize-CmwDuYUH.js → useDeepCompareMemoize-Dt98v2ua.js} +1 -1
- package/dist/{useIframeCapabilities-DbdLoEDm.js → useIframeCapabilities-BkYHTrss.js} +1 -1
- package/dist/{useLifecycle-CjMjllqy.js → useLifecycle-BF6-z62y.js} +3 -3
- package/dist/{useTheme-CByZUW0p.js → useTheme-DykuNHR2.js} +2 -2
- package/dist/vb-DaMBBd4j.js +4 -0
- package/dist/vbscript-BMJQqcE2.js +4 -0
- package/dist/{vega-component-CC8TqWWV.js → vega-component-BtvQ-Kc4.js} +26 -24
- package/dist/velocity-CGq2QRq2.js +4 -0
- package/dist/verilog-CUNo8F5u.js +4 -0
- package/dist/vhdl-CCzA0msW.js +4 -0
- package/dist/webidl-CqIMDIBL.js +4 -0
- package/dist/xquery-XC5Kbr-1.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-CuxTvjw5.js → xychartDiagram-PRI3JC2R-Dk2d_bX0.js} +10 -10
- package/dist/yacas-CGOv7Dzy.js +4 -0
- package/dist/z80-CXhVmi-f.js +4 -0
- package/dist/{zod-BxdsqRPd.js → zod-BWkcDORu.js} +1 -1
- package/package.json +3 -3
- package/src/components/chat/chat-components.tsx +47 -0
- package/src/components/chat/chat-display.tsx +41 -7
- package/src/components/chat/chat-panel.tsx +37 -10
- package/src/components/chat/chat-utils.ts +42 -20
- package/src/components/chat/reasoning-accordion.tsx +14 -3
- package/src/components/chat/tool-call/shared.ts +13 -0
- package/src/components/chat/tool-call/tool-approval-card.tsx +62 -0
- package/src/components/chat/tool-call/tool-args.tsx +26 -0
- package/src/components/chat/tool-call/tool-call-view.tsx +99 -0
- package/src/components/chat/tool-call/tool-error-card.tsx +81 -0
- package/src/components/chat/tool-call/tool-history-row.tsx +153 -0
- package/src/components/chat/tool-call/tool-result.tsx +101 -0
- package/src/components/data-table/TableTopBar.tsx +5 -1
- package/src/components/data-table/__tests__/column-header.test.ts +3 -1
- package/src/components/data-table/__tests__/column-header.test.tsx +203 -0
- package/src/components/data-table/__tests__/filter-by-values-picker.test.tsx +112 -0
- package/src/components/data-table/__tests__/filter-pill-editor.test.tsx +175 -0
- package/src/components/data-table/__tests__/filters.test.ts +112 -36
- package/src/components/data-table/charts/components/form-fields.tsx +1 -0
- package/src/components/data-table/column-header.tsx +210 -157
- 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/data-table/filter-by-values-picker.tsx +70 -9
- package/src/components/data-table/filter-pill-editor.tsx +289 -144
- package/src/components/data-table/filter-pills.tsx +49 -8
- package/src/components/data-table/filters.ts +131 -36
- package/src/components/data-table/header-items.tsx +8 -1
- package/src/components/data-table/operator-labels.ts +25 -0
- package/src/components/data-table/regex-input.tsx +61 -0
- package/src/components/editor/actions/pair-with-agent-modal.tsx +140 -49
- package/src/components/editor/actions/useNotebookActions.tsx +3 -1
- package/src/components/editor/app-container.tsx +7 -1
- package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +10 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +1 -0
- package/src/components/editor/chrome/wrapper/footer.tsx +4 -1
- package/src/components/editor/chrome/wrapper/panels.tsx +4 -1
- package/src/components/editor/chrome/wrapper/sidebar.tsx +4 -1
- package/src/components/editor/controls/Controls.tsx +11 -3
- package/src/components/editor/file-tree/requesting-tree.tsx +27 -25
- package/src/components/editor/file-tree/upload.tsx +23 -24
- package/src/components/editor/header/__tests__/status.test.tsx +108 -0
- package/src/components/editor/header/status.tsx +44 -10
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +106 -0
- package/src/components/editor/navigation/__tests__/navigation.test.ts +70 -0
- package/src/components/editor/navigation/clipboard.ts +99 -25
- package/src/components/editor/navigation/navigation.ts +15 -1
- package/src/components/editor/notebook-cell.tsx +3 -0
- package/src/components/home/components.tsx +6 -0
- package/src/components/pages/run-page.tsx +4 -1
- package/src/components/ui/combobox.tsx +24 -5
- package/src/components/ui/number-field.tsx +2 -0
- package/src/core/ai/tools/__tests__/registry.test.ts +10 -12
- package/src/core/ai/tools/registry.ts +9 -5
- package/src/core/cells/__tests__/cells.test.ts +187 -0
- package/src/core/cells/__tests__/pending-cut-service.test.tsx +123 -0
- package/src/core/cells/cells.ts +102 -17
- package/src/core/cells/document-changes.ts +6 -1
- package/src/core/cells/pending-cut-service.ts +55 -0
- package/src/core/cells/utils.ts +11 -0
- package/src/core/codemirror/cells/extensions.ts +10 -0
- package/src/core/codemirror/markdown/__tests__/commands.test.ts +3 -3
- package/src/core/codemirror/markdown/commands.ts +1 -2
- package/src/core/edit-app.tsx +2 -1
- package/src/core/hotkeys/hotkeys.ts +5 -0
- package/src/core/islands/worker/worker.tsx +3 -2
- package/src/core/network/requests-network.ts +21 -3
- package/src/core/network/types.ts +12 -1
- package/src/core/run-app.tsx +2 -1
- package/src/core/wasm/__tests__/utils.test.ts +34 -0
- package/src/core/wasm/bridge.ts +14 -1
- package/src/core/wasm/utils.ts +14 -0
- package/src/core/wasm/worker/bootstrap.ts +3 -2
- package/src/core/wasm/worker/worker.ts +3 -2
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +155 -0
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +137 -0
- package/src/core/websocket/transports/basic.ts +2 -0
- package/src/core/websocket/transports/transport.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +130 -55
- package/src/core/websocket/useWebSocket.tsx +5 -2
- package/src/css/app/Cell.css +10 -0
- package/src/plugins/core/__test__/sanitize.test.ts +30 -0
- package/src/plugins/impl/DataTablePlugin.tsx +12 -0
- package/src/plugins/impl/DropdownPlugin.tsx +12 -1
- package/src/plugins/impl/MultiselectPlugin.tsx +4 -0
- package/src/plugins/impl/SearchableSelect.tsx +11 -1
- package/src/plugins/impl/TabsPlugin.tsx +35 -7
- package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +56 -0
- package/src/plugins/impl/__tests__/TabsPlugin.test.tsx +154 -0
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +6 -0
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +48 -36
- package/src/plugins/impl/data-frames/schema.ts +4 -1
- package/src/plugins/impl/vega/resolve-data.ts +8 -1
- package/src/utils/__tests__/id-tree.test.ts +71 -0
- package/src/utils/__tests__/semaphore.test.ts +218 -0
- package/src/utils/fileToBase64.ts +8 -7
- package/src/utils/id-tree.tsx +89 -0
- package/src/utils/semaphore.ts +88 -0
- package/dist/apl-BKoVld9y.js +0 -4
- package/dist/asciiarmor-DQrKIjoo.js +0 -4
- package/dist/asn1-BZvnj0dq.js +0 -4
- package/dist/assets/__vite-browser-external-rrUYDKRl.js +0 -1
- package/dist/assets/worker-Bfy15ViQ.js +0 -73
- package/dist/brainfuck-D558nlUv.js +0 -4
- package/dist/classDiagram-2ON5EDUG-CBHMR6ZU.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BsUtUGM_.js +0 -30
- package/dist/clojure-Cq8mTSrE.js +0 -4
- package/dist/cmake-D8HCovWK.js +0 -4
- package/dist/cobol-UolN-9iU.js +0 -4
- package/dist/coffeescript-VdNuWrt5.js +0 -4
- package/dist/commonlisp-ALX7fpDc.js +0 -4
- package/dist/crystal-PbyO9Q_s.js +0 -4
- package/dist/css-DFklJkr_.js +0 -4
- package/dist/cypher-BifNeYlv.js +0 -4
- package/dist/d-BA-JP4PJ.js +0 -4
- package/dist/diff-CtkDpav4.js +0 -4
- package/dist/dist-BuBwsFva.js +0 -5
- package/dist/dist-BzmEQ9u7.js +0 -5
- package/dist/dist-Cih01ssx.js +0 -5
- package/dist/dist-CqfONiY9.js +0 -5
- package/dist/dist-D0iD0Fi9.js +0 -5
- package/dist/dist-DtNLXm8d.js +0 -5
- package/dist/dtd-DW3_UFEG.js +0 -4
- package/dist/dylan-pDhodO2N.js +0 -4
- package/dist/ecl-BJT8-YD7.js +0 -4
- package/dist/eiffel-Dmns-9vS.js +0 -4
- package/dist/elm-Da4sO4Bz.js +0 -4
- package/dist/erlang-C-zBsDi7.js +0 -4
- package/dist/factor-4xPWlWB5.js +0 -4
- package/dist/forth-l-c75zSd.js +0 -4
- package/dist/fortran-DIujSODW.js +0 -4
- package/dist/gas-CXnG5g_b.js +0 -4
- package/dist/gherkin-VPeqd4-X.js +0 -4
- package/dist/groovy-CphhZQgg.js +0 -4
- package/dist/haskell-CCvlS5Iq.js +0 -4
- package/dist/haxe-C_bi66fP.js +0 -5
- package/dist/idl-1DcP4Dm8.js +0 -4
- package/dist/javascript-DUIGhBvO.js +0 -4
- package/dist/julia-Cs2G4PQi.js +0 -4
- package/dist/livescript-DMtVFaAN.js +0 -4
- package/dist/lua-BAoLtdJg.js +0 -4
- package/dist/mathematica-C_NoFtbo.js +0 -4
- package/dist/mbox-DcFJFYrH.js +0 -4
- package/dist/mirc-71dccf_u.js +0 -4
- package/dist/mllike-CWcOFVDq.js +0 -6
- package/dist/modelica-Ape2VXxx.js +0 -4
- package/dist/mscgen-Cc6TwbSN.js +0 -6
- package/dist/mumps-h-ZbdkJ9.js +0 -4
- package/dist/nsis-C0p3m7JW.js +0 -4
- package/dist/ntriples-c9lEeT5w.js +0 -4
- package/dist/octave-DzEgB_74.js +0 -4
- package/dist/oz-CAxvHkyQ.js +0 -4
- package/dist/pascal-BJzu1sgP.js +0 -4
- package/dist/perl--IrOzZ2Z.js +0 -4
- package/dist/pig-CiBKKNhC.js +0 -4
- package/dist/powershell-KY0j6Qop.js +0 -4
- package/dist/properties-BW8q3ziV.js +0 -4
- package/dist/protobuf-BGaeuTGV.js +0 -4
- package/dist/pug-DjOKK-4J.js +0 -4
- package/dist/puppet-DWm2o6zX.js +0 -4
- package/dist/python-Bp2gezZy.js +0 -4
- package/dist/q-DljPshos.js +0 -4
- package/dist/r-BajPMnEu.js +0 -4
- package/dist/rpm-BKx-ZZ62.js +0 -5
- package/dist/ruby-DJq_HNKc.js +0 -4
- package/dist/sas-WANvpcOU.js +0 -4
- package/dist/scheme-CliBbhGF.js +0 -4
- package/dist/shell-BwhrNUvM.js +0 -4
- package/dist/sieve-BIVePvMp.js +0 -4
- package/dist/smalltalk-D6G48JmY.js +0 -4
- package/dist/sparql-jjc3BmEP.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-Cv9Av10H.js +0 -29
- package/dist/stylus-WPBPQ4PE.js +0 -4
- package/dist/swift-O1Qy6iCm.js +0 -4
- package/dist/tcl-BAFdhvsi.js +0 -4
- package/dist/textile-DFuzhNLG.js +0 -4
- package/dist/toml-DRSTeely.js +0 -4
- package/dist/troff-B_ZjwBW0.js +0 -4
- package/dist/ttcn-CAyiB3ic.js +0 -4
- package/dist/ttcn-cfg-BS5_BGBJ.js +0 -4
- package/dist/turtle-CUBEDy3E.js +0 -4
- package/dist/vb-DY9S6-U2.js +0 -4
- package/dist/vbscript-gaHC39Jq.js +0 -4
- package/dist/velocity-TfCOtJZ_.js +0 -4
- package/dist/verilog-c2JOX8mv.js +0 -4
- package/dist/vhdl-dHBirRiO.js +0 -4
- package/dist/webidl-Bauj-i07.js +0 -4
- package/dist/xquery-CtaEAOt8.js +0 -4
- package/dist/yacas-BZ85agQP.js +0 -4
- package/dist/z80-hCgR-L4U.js +0 -4
- package/src/components/chat/tool-call-accordion.tsx +0 -247
- /package/dist/{ImageComparisonComponent-DaocPIse.js → ImageComparisonComponent-CNHIsPDj.js} +0 -0
- /package/dist/{Plot-PIeIvFnD.js → Plot-4wn-lMVn.js} +0 -0
- /package/dist/{apl-Dt8GMXYg.js → apl-BCgCq9iM.js} +0 -0
- /package/dist/{array-B-MVxRIF.js → array-tvvEqPy7.js} +0 -0
- /package/dist/{asciiarmor-CitDQ85h.js → asciiarmor-BtqU-KJQ.js} +0 -0
- /package/dist/{asn1-abrf9SMK.js → asn1-Dmb-dTMx.js} +0 -0
- /package/dist/{asterisk-BUZwqih-.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-BL-Boof0.js → brainfuck-C1HoZKlE.js} +0 -0
- /package/dist/{chunk-4F5CHEZ2-C6tO9vjs.js → chunk-4F5CHEZ2-BZq7Kom7.js} +0 -0
- /package/dist/{chunk-B2363JML-Ds8wZXyP.js → chunk-B2363JML-D9-XOau1.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-CP69aZS_.js → chunk-DR5Q36YT-BflwErH1.js} +0 -0
- /package/dist/{chunk-FRFDVMJY-BgQv1HBE.js → chunk-FRFDVMJY-BSBUAX7r.js} +0 -0
- /package/dist/{chunk-PL6DKKU2-DHfTUHy8.js → chunk-PL6DKKU2-B0MTXvyc.js} +0 -0
- /package/dist/{chunk-SJTYNZTY-Diciw4sx.js → chunk-SJTYNZTY-CEG4F0pB.js} +0 -0
- /package/dist/{chunk-TQ3KTPDO-CQfP9npd.js → chunk-TQ3KTPDO-DiCtqVSi.js} +0 -0
- /package/dist/{chunk-UMXZTB3W-MSKeGL7W.js → chunk-UMXZTB3W-97iS1iEl.js} +0 -0
- /package/dist/{click-outside-container-BZgN7xS_.js → click-outside-container-BDd67_1U.js} +0 -0
- /package/dist/{clike-RWg7anhx.js → clike-CdT0yHjt.js} +0 -0
- /package/dist/{clojure-DaojKHow.js → clojure-CdyrCpUv.js} +0 -0
- /package/dist/{cmake-DN-_v0XE.js → cmake-BFlPxym7.js} +0 -0
- /package/dist/{cobol-C3VpMyux.js → cobol-CcJXewp8.js} +0 -0
- /package/dist/{coffeescript-DIkz3Tbt.js → coffeescript-DnKuIKRo.js} +0 -0
- /package/dist/{colors-Cn2p_FA3.js → colors-CQAOa8cK.js} +0 -0
- /package/dist/{common-keywords-hbLeU7VU.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CB1boOiP.js → commonlisp-B-kok83Z.js} +0 -0
- /package/dist/{crystal-DI2oCml6.js → crystal-FYRYjI1I.js} +0 -0
- /package/dist/{css-BdEVwQDV.js → css-B45lc2V3.js} +0 -0
- /package/dist/{cypher-BNHToqxU.js → cypher-DZMLyVY_.js} +0 -0
- /package/dist/{cytoscape.esm-WbbDoCfu.js → cytoscape.esm-ayF70frT.js} +0 -0
- /package/dist/{d-D7we7I1b.js → d-x-VVT4o9.js} +0 -0
- /package/dist/{diff-Cia6fzjN.js → diff-Dxe2mpXk.js} +0 -0
- /package/dist/{dist-BK-3fF4P.js → dist-B4LJpMEg.js} +0 -0
- /package/dist/{dist-CxdUraQr.js → dist-B507mf_I.js} +0 -0
- /package/dist/{dist-C89sHDXk.js → dist-BGdYVvOu.js} +0 -0
- /package/dist/{dist-DquyVv5H.js → dist-BNyrZfqT.js} +0 -0
- /package/dist/{dist-Zn0KNbo9.js → dist-Bc5pmZIw.js} +0 -0
- /package/dist/{dist-C-J0pt5p.js → dist-BvCfQQQE.js} +0 -0
- /package/dist/{dist-D9r7Cmw7.js → dist-C2ej4eOH.js} +0 -0
- /package/dist/{dist-HVuryI1a.js → dist-C34oIrQ9.js} +0 -0
- /package/dist/{dist-CGLzXdrt.js → dist-CDFZi-QD.js} +0 -0
- /package/dist/{dist-C9fmTOin.js → dist-CYEylvZA.js} +0 -0
- /package/dist/{dist-DadjmS-4.js → dist-DJ6zJQZ4.js} +0 -0
- /package/dist/{dist-CtCY55Jf.js → dist-Dh3wkoyH.js} +0 -0
- /package/dist/{dist-C474qFoq.js → dist-Dhk6FMb0.js} +0 -0
- /package/dist/{dist-DZjQ_MBo.js → dist-KnujRhFL.js} +0 -0
- /package/dist/{dist-CinA9Enb.js → dist-WdPUFc56.js} +0 -0
- /package/dist/{dist-DBLeRrPp.js → dist-t_qL7eB8.js} +0 -0
- /package/dist/{dist-CyFFzJTb.js → dist-usPCDYx8.js} +0 -0
- /package/dist/{dtd-H4Hubdwp.js → dtd-C9VM_Wfu.js} +0 -0
- /package/dist/{duckdb-keywords-CZ_ZTscu.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-fVO6rnq3.js → dylan-DTSnEIFO.js} +0 -0
- /package/dist/{ebnf-WEXPLEWb.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-B94VPjNR.js → ecl-N04ptnRK.js} +0 -0
- /package/dist/{eiffel-C_R6TusS.js → eiffel-Dd8rpqr_.js} +0 -0
- /package/dist/{elm-DzCHbO2g.js → elm-GT2E866W.js} +0 -0
- /package/dist/{erlang-BGNkx6JU.js → erlang-Cf0Bp5pY.js} +0 -0
- /package/dist/{esm-Bb_hbWan.js → esm-BaaaPNGl.js} +0 -0
- /package/dist/{fcl-B_Gv5Jfx.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-Bybw0cJ7.js → forth-wd_XzGTg.js} +0 -0
- /package/dist/{fortran-C6PoCLkI.js → fortran-DcwUTZFe.js} +0 -0
- /package/dist/{gas-BBlhenj4.js → gas-DeALIER3.js} +0 -0
- /package/dist/{gherkin-NXtNG85X.js → gherkin-CKTqaJNX.js} +0 -0
- /package/dist/{groovy-BoFYK9xM.js → groovy-Bwdp_d8D.js} +0 -0
- /package/dist/{haskell-BtBdvQ1n.js → haskell-DCdCcPLK.js} +0 -0
- /package/dist/{haxe-D--o6dr0.js → haxe-DAyktQWJ.js} +0 -0
- /package/dist/{http-Dc2fv19V.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-AqTq5l7e.js → idl-CBuZiRYu.js} +0 -0
- /package/dist/{init-D-g0ONX1.js → init-uv0kkh4g.js} +0 -0
- /package/dist/{javascript-DvwNVye9.js → javascript-DzigE11c.js} +0 -0
- /package/dist/{julia-DoKiagZC.js → julia-PwfB-0Cm.js} +0 -0
- /package/dist/{katex-B7pMJpE0.js → katex-C_XRmjAP.js} +0 -0
- /package/dist/{livescript-DxBZMiWB.js → livescript-BJLz1EbT.js} +0 -0
- /package/dist/{lua-DmS_0NTu.js → lua-ZC-XC2jf.js} +0 -0
- /package/dist/{math-BYK36kWZ.js → math-DFcdCCU8.js} +0 -0
- /package/dist/{mathematica-ChlDFeIC.js → mathematica-DCYMx6qB.js} +0 -0
- /package/dist/{mbox-CguZuODr.js → mbox-OxMK_9XI.js} +0 -0
- /package/dist/{mirc-CFtY8dqz.js → mirc-nJVyhA0H.js} +0 -0
- /package/dist/{mllike-C0EJrEOk.js → mllike-DRO89bsU.js} +0 -0
- /package/dist/{modelica-C1kO1nfS.js → modelica-Don3E6ZD.js} +0 -0
- /package/dist/{mscgen-DEYdr7AY.js → mscgen-DJfqD3bN.js} +0 -0
- /package/dist/{mumps-B3NVJs2V.js → mumps-SjGTvDYL.js} +0 -0
- /package/dist/{nginx-ComVAAGN.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{node-sql-parser-DNGGJ-Rw.js → node-sql-parser-B8nBD36q.js} +0 -0
- /package/dist/{ntriples-DHol9X9H.js → ntriples-CNBKRl3I.js} +0 -0
- /package/dist/{octave-CYGz0bfo.js → octave-DdeVHNlx.js} +0 -0
- /package/dist/{oz-kPxb2ni5.js → oz-CcKSoNvN.js} +0 -0
- /package/dist/{pascal-bZ0yrJKy.js → pascal-6leftwNj.js} +0 -0
- /package/dist/{path-Du6n3sOU.js → path-BGaWgPKg.js} +0 -0
- /package/dist/{perl-z4hvqyqz.js → perl-BhJIwWzN.js} +0 -0
- /package/dist/{pig-DZO8QDF9.js → pig-r-xDHqRf.js} +0 -0
- /package/dist/{powershell-BSuaDQEC.js → powershell-D-BELeNi.js} +0 -0
- /package/dist/{properties-BXhGLlIx.js → properties-CnuDhbll.js} +0 -0
- /package/dist/{protobuf-DM6iybWV.js → protobuf-CO8RBhvX.js} +0 -0
- /package/dist/{puppet-Bn05sQT8.js → puppet-NmXHjLy8.js} +0 -0
- /package/dist/{python-Cvnhm0g7.js → python-DAQXi720.js} +0 -0
- /package/dist/{q-B9V8hzex.js → q-DlikXfV0.js} +0 -0
- /package/dist/{r-Cf0gFqmq.js → r-CuohilwT.js} +0 -0
- /package/dist/{rpm-D-LMkTV1.js → rpm-0Pjwp0Pb.js} +0 -0
- /package/dist/{ruby-DeuPikpK.js → ruby-Dq8NJTDG.js} +0 -0
- /package/dist/{sas-C9tjgAo9.js → sas-CuwonyVP.js} +0 -0
- /package/dist/{scheme-D1_bUF0G.js → scheme-CYU-RRIf.js} +0 -0
- /package/dist/{shell-CJBmnks3.js → shell-COPmX2qE.js} +0 -0
- /package/dist/{sieve-1fSV75CF.js → sieve-B_3zyLne.js} +0 -0
- /package/dist/{simple-mode-B90Wdavj.js → simple-mode-DSBniks8.js} +0 -0
- /package/dist/{smalltalk-sZNPD0HO.js → smalltalk-DRft7iPv.js} +0 -0
- /package/dist/{solr-DTkyqJ-Z.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-oHc1nm77.js → sparql-CN6qj55H.js} +0 -0
- /package/dist/{spreadsheet-CER0raqY.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-ByOoEONQ.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stylus-KzkX6zRB.js → stylus-Bn_ZjOQ3.js} +0 -0
- /package/dist/{swift-DqVxZvKo.js → swift-BLUJhMbz.js} +0 -0
- /package/dist/{tcl-BtWSwXfA.js → tcl-C86fxecl.js} +0 -0
- /package/dist/{textile-CWDbn9Ql.js → textile-DmHh2rsK.js} +0 -0
- /package/dist/{tiddlywiki-Cr9xyOY1.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-D5JONyfZ.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{timer-D7JVdX9U.js → timer-YZl28NYN.js} +0 -0
- /package/dist/{toml-BfehlgmL.js → toml-GWANRNAD.js} +0 -0
- /package/dist/{treemap-qFGzn7xk.js → treemap-D-ka1hvx.js} +0 -0
- /package/dist/{troff-BZBk6AAu.js → troff-BHTsomIy.js} +0 -0
- /package/dist/{ttcn-DVwvXg0_.js → ttcn-DQuhn5Mn.js} +0 -0
- /package/dist/{ttcn-cfg-gjbVLf1L.js → ttcn-cfg-HjFYtdB-.js} +0 -0
- /package/dist/{turtle-CgxKXorV.js → turtle-nCay33Nv.js} +0 -0
- /package/dist/{vb-B9kSwTdM.js → vb-BG-XlqqJ.js} +0 -0
- /package/dist/{vbscript-DrUKSCdb.js → vbscript-B6vyW0-D.js} +0 -0
- /package/dist/{velocity-AlMYTnMy.js → velocity-CWegueqO.js} +0 -0
- /package/dist/{verilog-DLUaM05j.js → verilog-CzSQm4cG.js} +0 -0
- /package/dist/{vhdl-DUJOtSmO.js → vhdl-DqnNVL7r.js} +0 -0
- /package/dist/{webidl-CQp4aHk_.js → webidl-DXEUpDWH.js} +0 -0
- /package/dist/{xquery-IxkjlwOD.js → xquery-Ba_NB5bD.js} +0 -0
- /package/dist/{yacas-Bnctn5w8.js → yacas-HKQU6hyk.js} +0 -0
- /package/dist/{z80-DrFwhx53.js → z80-CXkHXLdj.js} +0 -0
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
|
|
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 CircleAlert, 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, J as getCellNames, Jt as useRequestClient, K as createActions, Kt as getRequestClient, L as dataViewToBase64, Ln as Database, Mn as Layers, Nn as Info, Nt as repl, On as PaintRoller, Pn as FileText, Q as reducer, Rn as Columns2, Rt as PluralWords, S as Accordion, Sn as Item$1, St as Checkbox, T as AccordionTrigger, U as hasTrustedExportContext, V as renderHTML, Vn as Braces, 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, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-DaPPaVDP.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-DjsEQuRb.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-D4kjoQUB.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-n0RJTxcC.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-D8ZxPNTR.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-DucgdjRo.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));
|
|
@@ -18651,7 +18651,8 @@ ${c}
|
|
|
18651
18651
|
label: string().nullable(),
|
|
18652
18652
|
options: array(string()),
|
|
18653
18653
|
fullWidth: boolean().default(false),
|
|
18654
|
-
maxSelections: number().optional()
|
|
18654
|
+
maxSelections: number().optional(),
|
|
18655
|
+
disabled: boolean().default(false)
|
|
18655
18656
|
}));
|
|
18656
18657
|
}
|
|
18657
18658
|
render(e) {
|
|
@@ -18663,21 +18664,21 @@ ${c}
|
|
|
18663
18664
|
}
|
|
18664
18665
|
}, SELECT_ALL_KEY = "__select_all__", DESELECT_ALL_KEY = "__deselect_all__";
|
|
18665
18666
|
const Multiselect = (e) => {
|
|
18666
|
-
let r = (0, import_compiler_runtime$81.c)(
|
|
18667
|
+
let r = (0, import_compiler_runtime$81.c)(46), { options: c, label: l, value: u, setValue: d, fullWidth: f, maxSelections: m, disabled: h } = e, g = (0, import_react.useId)(), [_, v] = (0, import_react.useState)(""), y;
|
|
18667
18668
|
bb0: {
|
|
18668
|
-
if (!
|
|
18669
|
-
|
|
18669
|
+
if (!_) {
|
|
18670
|
+
y = c;
|
|
18670
18671
|
break bb0;
|
|
18671
18672
|
}
|
|
18672
18673
|
let e2;
|
|
18673
|
-
if (r[0] !== c || r[1] !==
|
|
18674
|
+
if (r[0] !== c || r[1] !== _) {
|
|
18674
18675
|
let l2;
|
|
18675
|
-
r[3] ===
|
|
18676
|
+
r[3] === _ ? l2 = r[4] : (l2 = (e3) => multiselectFilterFn(e3, _) === 1, r[3] = _, r[4] = l2), e2 = c.filter(l2), r[0] = c, r[1] = _, r[2] = e2;
|
|
18676
18677
|
} else e2 = r[2];
|
|
18677
|
-
|
|
18678
|
+
y = e2;
|
|
18678
18679
|
}
|
|
18679
|
-
let
|
|
18680
|
-
r[5] !== m || r[6] !== d ? (
|
|
18680
|
+
let b = y, S;
|
|
18681
|
+
r[5] !== m || r[6] !== d ? (S = (e2) => {
|
|
18681
18682
|
if (!e2 || e2.length === 0) {
|
|
18682
18683
|
d([]);
|
|
18683
18684
|
return;
|
|
@@ -18689,101 +18690,102 @@ ${c}
|
|
|
18689
18690
|
return;
|
|
18690
18691
|
}
|
|
18691
18692
|
m != null && e2.length > m && (e2 = e2.slice(-m)), d(e2);
|
|
18692
|
-
}, r[5] = m, r[6] = d, r[7] =
|
|
18693
|
-
let
|
|
18694
|
-
r[8] !== c || r[9] !== d ? (
|
|
18693
|
+
}, r[5] = m, r[6] = d, r[7] = S) : S = r[7];
|
|
18694
|
+
let w = S, T;
|
|
18695
|
+
r[8] !== c || r[9] !== d ? (T = () => {
|
|
18695
18696
|
d(c);
|
|
18696
|
-
}, r[8] = c, r[9] = d, r[10] =
|
|
18697
|
-
let
|
|
18698
|
-
r[11] === d ?
|
|
18697
|
+
}, r[8] = c, r[9] = d, r[10] = T) : T = r[10];
|
|
18698
|
+
let E = T, O;
|
|
18699
|
+
r[11] === d ? O = r[12] : (O = () => {
|
|
18699
18700
|
d([]);
|
|
18700
|
-
}, r[11] = d, r[12] =
|
|
18701
|
-
let
|
|
18702
|
-
if (r[13] !==
|
|
18703
|
-
|
|
18701
|
+
}, r[11] = d, r[12] = O);
|
|
18702
|
+
let j = O, M;
|
|
18703
|
+
if (r[13] !== j || r[14] !== E || r[15] !== m || r[16] !== c.length || r[17] !== u) {
|
|
18704
|
+
M = [];
|
|
18704
18705
|
let e2 = c.length > 0 && u.length < c.length, l2 = c.length > 0 && u.length > 0;
|
|
18705
18706
|
if (c.length > 2 && m == null) {
|
|
18706
18707
|
let c2 = !e2, l3;
|
|
18707
|
-
r[19] !==
|
|
18708
|
+
r[19] !== E || r[20] !== c2 ? (l3 = (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
18708
18709
|
value: SELECT_ALL_KEY,
|
|
18709
|
-
onSelect:
|
|
18710
|
+
onSelect: E,
|
|
18710
18711
|
disabled: c2,
|
|
18711
18712
|
children: "Select all"
|
|
18712
|
-
}, SELECT_ALL_KEY), r[19] =
|
|
18713
|
+
}, SELECT_ALL_KEY), r[19] = E, r[20] = c2, r[21] = l3) : l3 = r[21], M.push(l3);
|
|
18713
18714
|
}
|
|
18714
18715
|
if (c.length > 2) {
|
|
18715
18716
|
let e3 = !l2, c2 = m === 1 ? "Deselect" : "Deselect all", u2;
|
|
18716
|
-
r[22] !==
|
|
18717
|
+
r[22] !== j || r[23] !== e3 || r[24] !== c2 ? (u2 = (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
18717
18718
|
value: DESELECT_ALL_KEY,
|
|
18718
|
-
onSelect:
|
|
18719
|
+
onSelect: j,
|
|
18719
18720
|
disabled: e3,
|
|
18720
18721
|
children: c2
|
|
18721
|
-
}, DESELECT_ALL_KEY), r[22] =
|
|
18722
|
+
}, DESELECT_ALL_KEY), r[22] = j, r[23] = e3, r[24] = c2, r[25] = u2) : u2 = r[25];
|
|
18722
18723
|
let d2;
|
|
18723
|
-
r[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d2 = (0, import_jsx_runtime.jsx)(CommandSeparator, {}, "_separator"), r[26] = d2) : d2 = r[26],
|
|
18724
|
+
r[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d2 = (0, import_jsx_runtime.jsx)(CommandSeparator, {}, "_separator"), r[26] = d2) : d2 = r[26], M.push(u2, d2);
|
|
18724
18725
|
}
|
|
18725
|
-
r[13] =
|
|
18726
|
-
} else
|
|
18727
|
-
let
|
|
18728
|
-
r[27] !==
|
|
18729
|
-
if (
|
|
18726
|
+
r[13] = j, r[14] = E, r[15] = m, r[16] = c.length, r[17] = u, r[18] = M;
|
|
18727
|
+
} else M = r[18];
|
|
18728
|
+
let I;
|
|
18729
|
+
r[27] !== M || r[28] !== b ? (I = () => {
|
|
18730
|
+
if (b.length > 200) return (0, import_jsx_runtime.jsx)(Yr, {
|
|
18730
18731
|
style: {
|
|
18731
18732
|
height: "200px"
|
|
18732
18733
|
},
|
|
18733
|
-
totalCount:
|
|
18734
|
+
totalCount: b.length,
|
|
18734
18735
|
overscan: 50,
|
|
18735
18736
|
itemContent: (e3) => {
|
|
18736
18737
|
let r2 = (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
18737
|
-
value:
|
|
18738
|
-
children:
|
|
18739
|
-
},
|
|
18738
|
+
value: b[e3],
|
|
18739
|
+
children: b[e3]
|
|
18740
|
+
}, b[e3]);
|
|
18740
18741
|
return e3 === 0 ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18741
18742
|
children: [
|
|
18742
|
-
|
|
18743
|
+
M,
|
|
18743
18744
|
r2
|
|
18744
18745
|
]
|
|
18745
18746
|
}) : r2;
|
|
18746
18747
|
}
|
|
18747
18748
|
});
|
|
18748
|
-
let e2 =
|
|
18749
|
+
let e2 = b.map(_temp2$19);
|
|
18749
18750
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18750
18751
|
children: [
|
|
18751
|
-
|
|
18752
|
+
M,
|
|
18752
18753
|
e2
|
|
18753
18754
|
]
|
|
18754
18755
|
});
|
|
18755
|
-
}, r[27] =
|
|
18756
|
-
let
|
|
18757
|
-
r[30] === f ?
|
|
18756
|
+
}, r[27] = M, r[28] = b, r[29] = I) : I = r[29];
|
|
18757
|
+
let L = I, R;
|
|
18758
|
+
r[30] === f ? R = r[31] : (R = cn({
|
|
18758
18759
|
"w-full": f
|
|
18759
|
-
}), r[30] = f, r[31] =
|
|
18760
|
-
let R;
|
|
18761
|
-
r[32] === I ? R = r[33] : (R = I(), r[32] = I, r[33] = R);
|
|
18760
|
+
}), r[30] = f, r[31] = R);
|
|
18762
18761
|
let z;
|
|
18763
|
-
r[
|
|
18762
|
+
r[32] === L ? z = r[33] : (z = L(), r[32] = L, r[33] = z);
|
|
18763
|
+
let B;
|
|
18764
|
+
r[34] !== h || r[35] !== w || r[36] !== _ || r[37] !== R || r[38] !== z || r[39] !== u ? (B = (0, import_jsx_runtime.jsx)(Combobox, {
|
|
18764
18765
|
displayValue: _temp3$14,
|
|
18765
18766
|
placeholder: "Select...",
|
|
18766
18767
|
multiple: true,
|
|
18767
|
-
className:
|
|
18768
|
+
className: R,
|
|
18768
18769
|
value: u,
|
|
18769
|
-
onValueChange:
|
|
18770
|
+
onValueChange: w,
|
|
18770
18771
|
shouldFilter: false,
|
|
18771
|
-
search:
|
|
18772
|
-
onSearchChange:
|
|
18773
|
-
|
|
18774
|
-
|
|
18775
|
-
|
|
18776
|
-
|
|
18772
|
+
search: _,
|
|
18773
|
+
onSearchChange: v,
|
|
18774
|
+
disabled: h,
|
|
18775
|
+
children: z
|
|
18776
|
+
}), r[34] = h, r[35] = w, r[36] = _, r[37] = R, r[38] = z, r[39] = u, r[40] = B) : B = r[40];
|
|
18777
|
+
let H;
|
|
18778
|
+
return r[41] !== f || r[42] !== g || r[43] !== l || r[44] !== B ? (H = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
18777
18779
|
label: l,
|
|
18778
|
-
id:
|
|
18780
|
+
id: g,
|
|
18779
18781
|
fullWidth: f,
|
|
18780
|
-
children:
|
|
18781
|
-
}), r[
|
|
18782
|
+
children: B
|
|
18783
|
+
}), r[41] = f, r[42] = g, r[43] = l, r[44] = B, r[45] = H) : H = r[45], H;
|
|
18782
18784
|
};
|
|
18783
18785
|
function _temp$26(e) {
|
|
18784
18786
|
return e !== SELECT_ALL_KEY && e !== DESELECT_ALL_KEY;
|
|
18785
18787
|
}
|
|
18786
|
-
function _temp2$
|
|
18788
|
+
function _temp2$19(e) {
|
|
18787
18789
|
return (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
18788
18790
|
value: e,
|
|
18789
18791
|
children: e
|
|
@@ -19151,7 +19153,7 @@ ${c}
|
|
|
19151
19153
|
}),
|
|
19152
19154
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
19153
19155
|
children: (0, import_jsx_runtime.jsx)(SelectGroup, {
|
|
19154
|
-
children: u.filter(_temp2$
|
|
19156
|
+
children: u.filter(_temp2$18).map(_temp3$13)
|
|
19155
19157
|
})
|
|
19156
19158
|
})
|
|
19157
19159
|
]
|
|
@@ -19570,6 +19572,7 @@ ${c}
|
|
|
19570
19572
|
children: (0, import_jsx_runtime.jsx)(FormControl, {
|
|
19571
19573
|
children: (0, import_jsx_runtime.jsx)(Multiselect, {
|
|
19572
19574
|
options: (d == null ? void 0 : d.map(_temp0)) ?? [],
|
|
19575
|
+
disabled: false,
|
|
19573
19576
|
value: c2,
|
|
19574
19577
|
setValue: (e3) => {
|
|
19575
19578
|
let c3 = (typeof e3 == "function" ? e3([]) : e3).map((e4) => f(e4, d));
|
|
@@ -19645,7 +19648,7 @@ ${c}
|
|
|
19645
19648
|
})
|
|
19646
19649
|
}, e.name);
|
|
19647
19650
|
}
|
|
19648
|
-
function _temp2$
|
|
19651
|
+
function _temp2$18(e) {
|
|
19649
19652
|
return e.value !== "";
|
|
19650
19653
|
}
|
|
19651
19654
|
function _temp3$13(e) {
|
|
@@ -20199,7 +20202,7 @@ ${c}
|
|
|
20199
20202
|
fieldName: "color.scheme",
|
|
20200
20203
|
label: "Color scheme",
|
|
20201
20204
|
defaultValue: DEFAULT_COLOR_SCHEME,
|
|
20202
|
-
options: COLOR_SCHEMES.map(_temp2$
|
|
20205
|
+
options: COLOR_SCHEMES.map(_temp2$17)
|
|
20203
20206
|
}), y = (0, import_jsx_runtime.jsx)(ColorArrayField, {
|
|
20204
20207
|
fieldName: "color.range",
|
|
20205
20208
|
label: "Color range"
|
|
@@ -20304,7 +20307,7 @@ ${c}
|
|
|
20304
20307
|
value: e
|
|
20305
20308
|
};
|
|
20306
20309
|
}
|
|
20307
|
-
function _temp2$
|
|
20310
|
+
function _temp2$17(e) {
|
|
20308
20311
|
return {
|
|
20309
20312
|
display: capitalize(e),
|
|
20310
20313
|
value: e
|
|
@@ -20884,7 +20887,7 @@ ${c}
|
|
|
20884
20887
|
let p = f;
|
|
20885
20888
|
if (u) {
|
|
20886
20889
|
let e2;
|
|
20887
|
-
r[1] === u ? e2 = r[2] : (e2 = u.map(_temp2$
|
|
20890
|
+
r[1] === u ? e2 = r[2] : (e2 = u.map(_temp2$16), r[1] = u, r[2] = e2), p = e2;
|
|
20888
20891
|
}
|
|
20889
20892
|
let m;
|
|
20890
20893
|
r[3] !== c || r[4] !== l ? (m = () => {
|
|
@@ -20980,7 +20983,7 @@ ${c}
|
|
|
20980
20983
|
children: j
|
|
20981
20984
|
}), r[25] = j, r[26] = _, r[27] = M) : M = r[27], M;
|
|
20982
20985
|
};
|
|
20983
|
-
function _temp2$
|
|
20986
|
+
function _temp2$16(e) {
|
|
20984
20987
|
return {
|
|
20985
20988
|
name: e[0],
|
|
20986
20989
|
type: e[1][0]
|
|
@@ -21211,7 +21214,7 @@ ${c}
|
|
|
21211
21214
|
M2,
|
|
21212
21215
|
(0, import_jsx_runtime.jsx)(CopyClipboardIcon, {
|
|
21213
21216
|
tooltip: "Copy column names",
|
|
21214
|
-
value: (e2 == null ? void 0 : e2.map(_temp2$
|
|
21217
|
+
value: (e2 == null ? void 0 : e2.map(_temp2$15).join(",\n")) || "",
|
|
21215
21218
|
className: "h-3 w-3 ml-1 mt-0.5"
|
|
21216
21219
|
})
|
|
21217
21220
|
]
|
|
@@ -21392,7 +21395,7 @@ ${c}
|
|
|
21392
21395
|
let [r] = e;
|
|
21393
21396
|
return !(r === "__select__" || r === "_marimo_row_id" || r.startsWith("__m_column__"));
|
|
21394
21397
|
}
|
|
21395
|
-
function _temp2$
|
|
21398
|
+
function _temp2$15(e) {
|
|
21396
21399
|
let [r] = e;
|
|
21397
21400
|
return r;
|
|
21398
21401
|
}
|
|
@@ -21689,51 +21692,51 @@ ${c}
|
|
|
21689
21692
|
}), r[24] = q) : q = r[24];
|
|
21690
21693
|
let Z;
|
|
21691
21694
|
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] !==
|
|
21695
|
+
let S0 = R === PANEL_TYPES.COLUMN_EXPLORER ? activeClassName : inactiveClassName, C0;
|
|
21696
|
+
r[27] === S0 ? C0 = r[28] : (C0 = cn(tabTriggerClassName, S0), r[27] = S0, r[28] = C0);
|
|
21697
|
+
let w0;
|
|
21698
|
+
r[29] !== C0 || r[30] !== Z ? (w0 = (0, import_jsx_runtime.jsx)(Button, {
|
|
21696
21699
|
variant: "text",
|
|
21697
21700
|
size: "xs",
|
|
21698
21701
|
onClick: Z,
|
|
21699
|
-
className:
|
|
21702
|
+
className: C0,
|
|
21700
21703
|
children: "Columns"
|
|
21701
|
-
}), r[29] =
|
|
21702
|
-
let
|
|
21703
|
-
r[32] !==
|
|
21704
|
+
}), r[29] = C0, r[30] = Z, r[31] = w0) : w0 = r[31];
|
|
21705
|
+
let T0;
|
|
21706
|
+
r[32] !== w0 || r[33] !== G ? (T0 = (0, import_jsx_runtime.jsx)(Fill, {
|
|
21704
21707
|
name: SlotNames.CONTEXT_AWARE_PANEL_HEADER,
|
|
21705
21708
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
21706
21709
|
className: "flex items-center gap-1",
|
|
21707
21710
|
children: [
|
|
21708
21711
|
G,
|
|
21709
21712
|
q,
|
|
21710
|
-
|
|
21713
|
+
w0
|
|
21711
21714
|
]
|
|
21712
21715
|
})
|
|
21713
|
-
}), r[32] =
|
|
21714
|
-
let
|
|
21715
|
-
r[35] === M ?
|
|
21716
|
+
}), r[32] = w0, r[33] = G, r[34] = T0) : T0 = r[34];
|
|
21717
|
+
let E0;
|
|
21718
|
+
r[35] === M ? E0 = r[36] : (E0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
21716
21719
|
value: PANEL_TYPES.ROW_VIEWER,
|
|
21717
21720
|
className: "flex-1 overflow-auto",
|
|
21718
21721
|
children: M
|
|
21719
|
-
}), r[35] = M, r[36] =
|
|
21720
|
-
let
|
|
21721
|
-
r[37] === L ?
|
|
21722
|
+
}), r[35] = M, r[36] = E0);
|
|
21723
|
+
let D0;
|
|
21724
|
+
r[37] === L ? D0 = r[38] : (D0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
21722
21725
|
value: PANEL_TYPES.COLUMN_EXPLORER,
|
|
21723
21726
|
className: "flex-1 overflow-auto",
|
|
21724
21727
|
children: L
|
|
21725
|
-
}), r[37] = L, r[38] =
|
|
21726
|
-
let
|
|
21727
|
-
return r[39] !== R || r[40] !==
|
|
21728
|
+
}), r[37] = L, r[38] = D0);
|
|
21729
|
+
let O0;
|
|
21730
|
+
return r[39] !== R || r[40] !== T0 || r[41] !== E0 || r[42] !== D0 || r[43] !== z ? (O0 = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
21728
21731
|
value: R,
|
|
21729
21732
|
onValueChange: z,
|
|
21730
21733
|
className: "flex flex-col min-w-[350px]",
|
|
21731
21734
|
children: [
|
|
21732
|
-
|
|
21733
|
-
|
|
21734
|
-
|
|
21735
|
+
T0,
|
|
21736
|
+
E0,
|
|
21737
|
+
D0
|
|
21735
21738
|
]
|
|
21736
|
-
}), r[39] = R, r[40] =
|
|
21739
|
+
}), r[39] = R, r[40] = T0, r[41] = E0, r[42] = D0, r[43] = z, r[44] = O0) : O0 = r[44], O0;
|
|
21737
21740
|
};
|
|
21738
21741
|
var import_compiler_runtime$64 = require_compiler_runtime();
|
|
21739
21742
|
function useEffectSkipFirstRender(e, r) {
|
|
@@ -22000,7 +22003,7 @@ ${c}
|
|
|
22000
22003
|
label: " "
|
|
22001
22004
|
})),
|
|
22002
22005
|
type: literal("condition").default("condition"),
|
|
22003
|
-
value: any().describe(FieldOptions.of({
|
|
22006
|
+
value: any().optional().describe(FieldOptions.of({
|
|
22004
22007
|
label: "Value"
|
|
22005
22008
|
})),
|
|
22006
22009
|
negate: boolean().default(false)
|
|
@@ -22239,6 +22242,7 @@ ${c}
|
|
|
22239
22242
|
headerTooltip: record(string(), string()).optional(),
|
|
22240
22243
|
fieldTypes: columnToFieldTypesSchema.nullish(),
|
|
22241
22244
|
totalColumns: number(),
|
|
22245
|
+
sizeBytes: number().nullish(),
|
|
22242
22246
|
maxColumns: union([
|
|
22243
22247
|
number(),
|
|
22244
22248
|
literal("all")
|
|
@@ -22287,7 +22291,8 @@ ${c}
|
|
|
22287
22291
|
raw_data: union([
|
|
22288
22292
|
string(),
|
|
22289
22293
|
array(looseObject({}))
|
|
22290
|
-
]).nullish()
|
|
22294
|
+
]).nullish(),
|
|
22295
|
+
size_bytes: number().nullish()
|
|
22291
22296
|
})),
|
|
22292
22297
|
get_row_ids: rpc.input(object({}).passthrough()).output(object({
|
|
22293
22298
|
row_ids: array(number()),
|
|
@@ -22381,7 +22386,7 @@ ${c}
|
|
|
22381
22386
|
return l;
|
|
22382
22387
|
};
|
|
22383
22388
|
const LoadingDataTableComponent = (0, import_react.memo)((e) => {
|
|
22384
|
-
let r = (0, import_compiler_runtime$63.c)(
|
|
22389
|
+
let r = (0, import_compiler_runtime$63.c)(107), c;
|
|
22385
22390
|
r[0] === e.host ? c = r[1] : (c = findCellId(e.host), r[0] = e.host, r[1] = c);
|
|
22386
22391
|
let l = c, u = e.search, f = e.setValue, p;
|
|
22387
22392
|
r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = [], r[2] = p) : p = r[2];
|
|
@@ -22416,35 +22421,36 @@ ${c}
|
|
|
22416
22421
|
e.pageSize
|
|
22417
22422
|
], r[18] = e.pageSize, r[19] = L, r[20] = R), (0, import_react.useEffect)(L, R);
|
|
22418
22423
|
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.
|
|
22424
|
+
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
22425
|
if (e.totalRows === 0) return {
|
|
22421
22426
|
rows: Arrays.EMPTY,
|
|
22422
22427
|
totalRows: 0,
|
|
22423
22428
|
cellStyles: {}
|
|
22424
22429
|
};
|
|
22425
|
-
let r2 = e.data, c2 = e.rawData, l2 = e.totalRows, d = e.
|
|
22430
|
+
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
22431
|
sort: m.length > 0 ? m.map(_temp$21) : void 0,
|
|
22427
22432
|
query: y,
|
|
22428
22433
|
page_number: _.pageIndex,
|
|
22429
22434
|
page_size: _.pageSize,
|
|
22430
22435
|
filters: filtersToFilterGroup(w)
|
|
22431
22436
|
});
|
|
22432
|
-
if (
|
|
22437
|
+
if (g2) v2.catch(_temp2$14);
|
|
22433
22438
|
else {
|
|
22434
|
-
let e2 = await
|
|
22435
|
-
r2 = e2.data, c2 = e2.raw_data, l2 = e2.total_rows, d = e2.cell_styles || {},
|
|
22439
|
+
let e2 = await v2;
|
|
22440
|
+
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
22441
|
}
|
|
22437
|
-
let [
|
|
22438
|
-
return r2 =
|
|
22442
|
+
let [b2, S2] = await loadTableAndRawData(r2, c2);
|
|
22443
|
+
return r2 = b2, {
|
|
22439
22444
|
rows: r2,
|
|
22440
|
-
rawRows:
|
|
22445
|
+
rawRows: S2,
|
|
22441
22446
|
totalRows: l2,
|
|
22442
|
-
|
|
22443
|
-
|
|
22447
|
+
sizeBytes: d,
|
|
22448
|
+
cellStyles: f2,
|
|
22449
|
+
cellHoverTexts: p2
|
|
22444
22450
|
};
|
|
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.
|
|
22451
|
+
}, 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
22452
|
let B = useDeepCompareMemoize(e.fieldTypes), H;
|
|
22447
|
-
r[
|
|
22453
|
+
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
22454
|
m,
|
|
22449
22455
|
u,
|
|
22450
22456
|
w,
|
|
@@ -22452,14 +22458,15 @@ ${c}
|
|
|
22452
22458
|
B,
|
|
22453
22459
|
e.data,
|
|
22454
22460
|
e.totalRows,
|
|
22461
|
+
e.sizeBytes,
|
|
22455
22462
|
e.lazy,
|
|
22456
22463
|
e.cellHoverTexts,
|
|
22457
22464
|
e.cellStyles,
|
|
22458
22465
|
_.pageSize,
|
|
22459
22466
|
_.pageIndex
|
|
22460
|
-
], r[
|
|
22461
|
-
let { data: W, error: G, isPending: q, isFetching: Z } = useAsyncData(z, H),
|
|
22462
|
-
r[
|
|
22467
|
+
], 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];
|
|
22468
|
+
let { data: W, error: G, isPending: q, isFetching: Z } = useAsyncData(z, H), S0;
|
|
22469
|
+
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (S0 = async (e2) => ({
|
|
22463
22470
|
rows: await loadTableData((await u({
|
|
22464
22471
|
page_number: e2,
|
|
22465
22472
|
page_size: 1,
|
|
@@ -22468,51 +22475,51 @@ ${c}
|
|
|
22468
22475
|
filters: filtersToFilterGroup(w),
|
|
22469
22476
|
max_columns: null
|
|
22470
22477
|
})).data)
|
|
22471
|
-
}), r[
|
|
22472
|
-
let
|
|
22473
|
-
r[
|
|
22478
|
+
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] = S0) : S0 = r[54];
|
|
22479
|
+
let C0 = S0, w0;
|
|
22480
|
+
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w0 = () => {
|
|
22474
22481
|
v(_temp4$6);
|
|
22475
|
-
}, r[
|
|
22476
|
-
let
|
|
22477
|
-
r[
|
|
22478
|
-
|
|
22479
|
-
], r[
|
|
22480
|
-
let
|
|
22481
|
-
r[
|
|
22482
|
+
}, r[55] = w0) : w0 = r[55];
|
|
22483
|
+
let T0 = W == null ? void 0 : W.totalRows, E0;
|
|
22484
|
+
r[56] === T0 ? E0 = r[57] : (E0 = [
|
|
22485
|
+
T0
|
|
22486
|
+
], r[56] = T0, r[57] = E0), (0, import_react.useEffect)(w0, E0);
|
|
22487
|
+
let D0;
|
|
22488
|
+
r[58] === e ? D0 = r[59] : (D0 = async () => e.totalRows === 0 || !e.showColumnSummaries ? {
|
|
22482
22489
|
data: null,
|
|
22483
22490
|
stats: {},
|
|
22484
22491
|
bin_values: {},
|
|
22485
22492
|
value_counts: {},
|
|
22486
22493
|
show_charts: false
|
|
22487
|
-
} : e.get_column_summaries({}), r[
|
|
22488
|
-
let
|
|
22489
|
-
r[
|
|
22494
|
+
} : e.get_column_summaries({}), r[58] = e, r[59] = D0);
|
|
22495
|
+
let O0;
|
|
22496
|
+
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
22497
|
e.get_column_summaries,
|
|
22491
22498
|
e.showColumnSummaries,
|
|
22492
22499
|
w,
|
|
22493
22500
|
y,
|
|
22494
22501
|
e.totalRows,
|
|
22495
22502
|
e.data
|
|
22496
|
-
], r[
|
|
22497
|
-
let { data:
|
|
22498
|
-
if (r[
|
|
22499
|
-
|
|
22500
|
-
},
|
|
22501
|
-
|
|
22502
|
-
], r[
|
|
22503
|
+
], 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];
|
|
22504
|
+
let { data: k0, error: A0 } = useAsyncData(D0, O0), j0, M0;
|
|
22505
|
+
if (r[67] === A0 ? (j0 = r[68], M0 = r[69]) : (j0 = () => {
|
|
22506
|
+
A0 && Logger.error(A0);
|
|
22507
|
+
}, M0 = [
|
|
22508
|
+
A0
|
|
22509
|
+
], r[67] = A0, r[68] = j0, r[69] = M0), (0, import_react.useEffect)(j0, M0), q) {
|
|
22503
22510
|
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? Math.min(e.totalRows, e.pageSize) : e.pageSize, l2;
|
|
22504
|
-
return r[
|
|
22511
|
+
return r[70] === c2 ? l2 = r[71] : (l2 = (0, import_jsx_runtime.jsx)(DelayMount, {
|
|
22505
22512
|
milliseconds: 200,
|
|
22506
22513
|
children: (0, import_jsx_runtime.jsx)(LoadingTable, {
|
|
22507
22514
|
pageSize: c2
|
|
22508
22515
|
})
|
|
22509
|
-
}), r[
|
|
22516
|
+
}), r[70] = c2, r[71] = l2), l2;
|
|
22510
22517
|
}
|
|
22511
|
-
let
|
|
22518
|
+
let N0 = null;
|
|
22512
22519
|
if (G) {
|
|
22513
22520
|
Logger.error(G);
|
|
22514
22521
|
let e2;
|
|
22515
|
-
r[
|
|
22522
|
+
r[72] === G ? e2 = r[73] : (e2 = !isStaticNotebook() && (0, import_jsx_runtime.jsxs)(Alert, {
|
|
22516
22523
|
variant: "destructive",
|
|
22517
22524
|
className: "mb-2",
|
|
22518
22525
|
children: [
|
|
@@ -22524,74 +22531,75 @@ ${c}
|
|
|
22524
22531
|
children: G.message || "An unknown error occurred"
|
|
22525
22532
|
})
|
|
22526
22533
|
]
|
|
22527
|
-
}), r[
|
|
22534
|
+
}), r[72] = G, r[73] = e2), N0 = e2;
|
|
22528
22535
|
}
|
|
22529
|
-
let
|
|
22530
|
-
r[
|
|
22536
|
+
let P0;
|
|
22537
|
+
r[74] === O ? P0 = r[75] : (P0 = () => {
|
|
22531
22538
|
j(!O);
|
|
22532
|
-
}, r[
|
|
22533
|
-
let
|
|
22534
|
-
r[
|
|
22539
|
+
}, r[74] = O, r[75] = P0);
|
|
22540
|
+
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;
|
|
22541
|
+
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
22542
|
...e,
|
|
22536
|
-
data:
|
|
22537
|
-
rawData:
|
|
22538
|
-
columnSummaries:
|
|
22543
|
+
data: I0,
|
|
22544
|
+
rawData: L0,
|
|
22545
|
+
columnSummaries: k0,
|
|
22539
22546
|
sorting: m,
|
|
22540
22547
|
setSorting: h,
|
|
22541
22548
|
searchQuery: y,
|
|
22542
22549
|
setSearchQuery: b,
|
|
22543
22550
|
filters: w,
|
|
22544
22551
|
setFilters: T,
|
|
22545
|
-
reloading:
|
|
22546
|
-
totalRows:
|
|
22552
|
+
reloading: R0,
|
|
22553
|
+
totalRows: z0,
|
|
22554
|
+
sizeBytes: B0,
|
|
22547
22555
|
paginationState: _,
|
|
22548
22556
|
setPaginationState: v,
|
|
22549
|
-
cellStyles:
|
|
22550
|
-
cellHoverTexts:
|
|
22551
|
-
toggleDisplayHeader:
|
|
22557
|
+
cellStyles: V0,
|
|
22558
|
+
cellHoverTexts: H0,
|
|
22559
|
+
toggleDisplayHeader: F0,
|
|
22552
22560
|
isChartBuilderOpen: O,
|
|
22553
|
-
getRow:
|
|
22561
|
+
getRow: C0,
|
|
22554
22562
|
cellId: l,
|
|
22555
22563
|
maxHeight: e.maxHeight
|
|
22556
|
-
}), r[
|
|
22557
|
-
let
|
|
22558
|
-
r[
|
|
22564
|
+
}), 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];
|
|
22565
|
+
let W0 = U0, G0;
|
|
22566
|
+
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
22567
|
displayHeader: O,
|
|
22560
22568
|
onCloseChartBuilder: () => j(false),
|
|
22561
22569
|
data: (W == null ? void 0 : W.rows) || [],
|
|
22562
22570
|
columns: e.totalColumns,
|
|
22563
22571
|
totalRows: e.totalRows,
|
|
22564
|
-
dataTable:
|
|
22572
|
+
dataTable: W0,
|
|
22565
22573
|
getDataUrl: e.get_data_url,
|
|
22566
22574
|
fieldTypes: e.fieldTypes,
|
|
22567
22575
|
cellId: l
|
|
22568
|
-
}) :
|
|
22569
|
-
let
|
|
22570
|
-
return r[
|
|
22576
|
+
}) : 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];
|
|
22577
|
+
let K0;
|
|
22578
|
+
return r[104] !== N0 || r[105] !== G0 ? (K0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
22571
22579
|
children: [
|
|
22572
|
-
|
|
22573
|
-
|
|
22580
|
+
N0,
|
|
22581
|
+
G0
|
|
22574
22582
|
]
|
|
22575
|
-
}), r[
|
|
22583
|
+
}), r[104] = N0, r[105] = G0, r[106] = K0) : K0 = r[106], K0;
|
|
22576
22584
|
});
|
|
22577
22585
|
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:
|
|
22586
|
+
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 }) => {
|
|
22587
|
+
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)(() => {
|
|
22588
|
+
if (!I || !T || !I.stats) return ColumnChartSpecModel.EMPTY;
|
|
22589
|
+
let e3 = toFieldTypes(T);
|
|
22590
|
+
return new ColumnChartSpecModel(I.data || [], e3, I.stats, I.bin_values, I.value_counts, {
|
|
22591
|
+
includeCharts: I.show_charts
|
|
22584
22592
|
});
|
|
22585
22593
|
}, [
|
|
22586
|
-
|
|
22587
|
-
|
|
22588
|
-
]),
|
|
22589
|
-
|
|
22590
|
-
|
|
22591
|
-
]),
|
|
22594
|
+
T,
|
|
22595
|
+
I
|
|
22596
|
+
]), Y0 = useDeepCompareMemoize(T ?? inferFieldTypes(r)), X0 = (0, import_react.useMemo)(() => d === "all" ? Y0 : Y0.slice(0, d), [
|
|
22597
|
+
d,
|
|
22598
|
+
Y0
|
|
22599
|
+
]), Z0 = (0, import_react.useMemo)(() => {
|
|
22592
22600
|
let e3 = {};
|
|
22593
22601
|
if (r && r.length > 0) {
|
|
22594
|
-
for (let [c3, l3] of
|
|
22602
|
+
for (let [c3, l3] of X0) if (l3[0] === "number") {
|
|
22595
22603
|
let l4 = 0;
|
|
22596
22604
|
for (let e4 of r) {
|
|
22597
22605
|
let r3 = e4[c3];
|
|
@@ -22606,100 +22614,100 @@ ${c}
|
|
|
22606
22614
|
return e3;
|
|
22607
22615
|
}, [
|
|
22608
22616
|
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:
|
|
22617
|
+
X0
|
|
22618
|
+
]), Q0 = useDeepCompareMemoize(w), $0 = useDeepCompareMemoize(T0), e2 = useDeepCompareMemoize(E0), t2 = useDeepCompareMemoize(J0), n2 = useDeepCompareMemoize(Z0), r2 = X0.length;
|
|
22619
|
+
T || (S = false);
|
|
22620
|
+
let i2 = (0, import_react.useMemo)(() => generateColumns({
|
|
22621
|
+
rowHeaders: Q0,
|
|
22622
|
+
selection: p,
|
|
22623
|
+
chartSpecModel: t2,
|
|
22624
|
+
fieldTypes: X0,
|
|
22625
|
+
textJustifyColumns: $0,
|
|
22626
|
+
wrappedColumns: e2,
|
|
22627
|
+
headerTooltip: D0,
|
|
22628
|
+
showDataTypes: S,
|
|
22629
|
+
calculateTopKRows: F0,
|
|
22630
|
+
fractionDigitsByColumn: n2
|
|
22623
22631
|
}), [
|
|
22624
|
-
|
|
22625
|
-
|
|
22626
|
-
|
|
22632
|
+
p,
|
|
22633
|
+
S,
|
|
22634
|
+
t2,
|
|
22635
|
+
Q0,
|
|
22636
|
+
X0,
|
|
22627
22637
|
$0,
|
|
22628
|
-
Z0,
|
|
22629
22638
|
e2,
|
|
22630
|
-
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
|
|
22634
|
-
]), o2 = (0, import_react.useMemo)(() => Object.fromEntries((p || []).map((e3) => [
|
|
22639
|
+
D0,
|
|
22640
|
+
F0,
|
|
22641
|
+
n2
|
|
22642
|
+
]), a2 = (0, import_react.useMemo)(() => Object.fromEntries((m || []).map((e3) => [
|
|
22635
22643
|
e3,
|
|
22636
22644
|
true
|
|
22637
22645
|
])), [
|
|
22638
|
-
|
|
22639
|
-
]),
|
|
22640
|
-
if (
|
|
22646
|
+
m
|
|
22647
|
+
]), o2 = useEvent_default((e3) => {
|
|
22648
|
+
if (p === "single") {
|
|
22641
22649
|
let r3 = Functions.asUpdater(e3)({});
|
|
22642
|
-
|
|
22650
|
+
R(Object.keys(r3).slice(0, 1));
|
|
22643
22651
|
}
|
|
22644
|
-
if (
|
|
22645
|
-
let r3 = Functions.asUpdater(e3)(
|
|
22646
|
-
|
|
22652
|
+
if (p === "multi") {
|
|
22653
|
+
let r3 = Functions.asUpdater(e3)(a2);
|
|
22654
|
+
R(Object.keys(r3));
|
|
22647
22655
|
}
|
|
22648
|
-
}),
|
|
22649
|
-
if (
|
|
22650
|
-
let r3 = getPageIndexForRow(e3,
|
|
22651
|
-
r3 !== null &&
|
|
22656
|
+
}), s2 = useEvent_default((e3) => {
|
|
22657
|
+
if (H0(e3), e3 < 0 || typeof l == "number" && e3 >= l || l === "too_many") return;
|
|
22658
|
+
let r3 = getPageIndexForRow(e3, O.pageIndex, O.pageSize);
|
|
22659
|
+
r3 !== null && j((e4) => ({
|
|
22652
22660
|
...e4,
|
|
22653
22661
|
pageIndex: r3
|
|
22654
22662
|
}));
|
|
22655
|
-
}),
|
|
22656
|
-
|
|
22657
|
-
}),
|
|
22663
|
+
}), c2 = m.filter((e3) => e3 instanceof Object && e3.columnName !== void 0), l2 = useEvent_default((e3) => {
|
|
22664
|
+
p === "single-cell" && R(Functions.asUpdater(e3)(c2).slice(0, 1)), p === "multi-cell" && R(Functions.asUpdater(e3)(c2));
|
|
22665
|
+
}), u2 = p === "multi" || p === "single", d2 = v && !!I0, f2 = isInVscodeExtension(), p2 = isIslands();
|
|
22658
22666
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
22659
22667
|
children: [
|
|
22660
|
-
l === "too_many" &&
|
|
22668
|
+
l === "too_many" && O.pageSize === r.length && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
22661
22669
|
className: "mb-1 rounded",
|
|
22662
22670
|
children: [
|
|
22663
22671
|
"Previewing the first ",
|
|
22664
|
-
|
|
22672
|
+
O.pageSize,
|
|
22665
22673
|
" rows."
|
|
22666
22674
|
]
|
|
22667
22675
|
}),
|
|
22668
|
-
|
|
22676
|
+
r2 < O0 && r2 > 0 && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
22669
22677
|
className: "mb-1 rounded",
|
|
22670
22678
|
children: [
|
|
22671
22679
|
"Result clipped. Showing ",
|
|
22672
|
-
|
|
22680
|
+
r2,
|
|
22673
22681
|
" of ",
|
|
22674
|
-
|
|
22682
|
+
O0,
|
|
22675
22683
|
" columns."
|
|
22676
22684
|
]
|
|
22677
22685
|
}),
|
|
22678
|
-
(
|
|
22686
|
+
(I == null ? void 0 : I.is_disabled) && (0, import_jsx_runtime.jsx)(Banner, {
|
|
22679
22687
|
className: "mb-1 rounded",
|
|
22680
22688
|
children: "Column summaries are unavailable. Filter your data to fewer than 1,000,000 rows."
|
|
22681
22689
|
}),
|
|
22682
|
-
|
|
22690
|
+
W0 && (y || d2) && (0, import_jsx_runtime.jsx)(ContextAwarePanelItem, {
|
|
22683
22691
|
children: (0, import_jsx_runtime.jsx)(TableExplorerPanel, {
|
|
22684
|
-
rowIdx:
|
|
22685
|
-
setRowIdx:
|
|
22692
|
+
rowIdx: V0,
|
|
22693
|
+
setRowIdx: s2,
|
|
22686
22694
|
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:
|
|
22695
|
+
fieldTypes: Y0,
|
|
22696
|
+
getRow: L0,
|
|
22697
|
+
isSelectable: u2,
|
|
22698
|
+
isRowSelected: !!a2[V0],
|
|
22699
|
+
handleRowSelectionChange: o2,
|
|
22700
|
+
previewColumn: I0,
|
|
22701
|
+
totalColumns: O0,
|
|
22702
|
+
tableId: B0,
|
|
22703
|
+
showRowExplorer: y && !f2,
|
|
22704
|
+
showColumnExplorer: d2 && !f2,
|
|
22705
|
+
activeTab: K0,
|
|
22706
|
+
onTabChange: q0
|
|
22699
22707
|
})
|
|
22700
22708
|
}),
|
|
22701
22709
|
(0, import_jsx_runtime.jsx)(ColumnChartContext, {
|
|
22702
|
-
value:
|
|
22710
|
+
value: J0,
|
|
22703
22711
|
children: (0, import_jsx_runtime.jsx)(Labeled, {
|
|
22704
22712
|
label: e,
|
|
22705
22713
|
align: "top",
|
|
@@ -22707,48 +22715,49 @@ ${c}
|
|
|
22707
22715
|
children: (0, import_jsx_runtime.jsx)(DataTable, {
|
|
22708
22716
|
data: r,
|
|
22709
22717
|
rawData: c,
|
|
22710
|
-
columns:
|
|
22711
|
-
className:
|
|
22712
|
-
maxHeight:
|
|
22713
|
-
sorting:
|
|
22718
|
+
columns: i2,
|
|
22719
|
+
className: L,
|
|
22720
|
+
maxHeight: z0,
|
|
22721
|
+
sorting: z,
|
|
22714
22722
|
totalRows: l,
|
|
22715
|
-
|
|
22723
|
+
sizeBytes: u,
|
|
22724
|
+
totalColumns: O0,
|
|
22716
22725
|
manualSorting: true,
|
|
22717
|
-
setSorting:
|
|
22718
|
-
pagination:
|
|
22726
|
+
setSorting: B,
|
|
22727
|
+
pagination: f,
|
|
22719
22728
|
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) =>
|
|
22729
|
+
selection: p,
|
|
22730
|
+
paginationState: O,
|
|
22731
|
+
setPaginationState: j,
|
|
22732
|
+
rowSelection: a2,
|
|
22733
|
+
cellSelection: c2,
|
|
22734
|
+
cellStyling: A0,
|
|
22735
|
+
hoverTemplate: j0,
|
|
22736
|
+
cellHoverTexts: M0,
|
|
22737
|
+
downloadAs: g ? M : void 0,
|
|
22738
|
+
enableSearch: H,
|
|
22739
|
+
searchQuery: W,
|
|
22740
|
+
onSearchQueryChange: G,
|
|
22741
|
+
showFilters: h,
|
|
22742
|
+
filters: q,
|
|
22743
|
+
onFiltersChange: Z,
|
|
22744
|
+
calculateTopKRows: F0,
|
|
22745
|
+
reloading: S0,
|
|
22746
|
+
onRowSelectionChange: o2,
|
|
22747
|
+
freezeColumnsLeft: C0,
|
|
22748
|
+
freezeColumnsRight: w0,
|
|
22749
|
+
onCellSelectionChange: l2,
|
|
22750
|
+
getRowIds: k0,
|
|
22751
|
+
toggleDisplayHeader: N0,
|
|
22752
|
+
showChartBuilder: b && !p2,
|
|
22753
|
+
isChartBuilderOpen: P0,
|
|
22754
|
+
showPageSizeSelector: _,
|
|
22755
|
+
showTableExplorer: (y || d2) && !f2 && !p2,
|
|
22756
|
+
togglePanel: G0,
|
|
22757
|
+
isPanelOpen: U0,
|
|
22758
|
+
isAnyPanelOpen: W0,
|
|
22759
|
+
viewedRowIdx: V0,
|
|
22760
|
+
onViewedRowChange: (e3) => H0(e3)
|
|
22752
22761
|
})
|
|
22753
22762
|
})
|
|
22754
22763
|
})
|
|
@@ -22773,7 +22782,7 @@ ${c}
|
|
|
22773
22782
|
descending: e.desc
|
|
22774
22783
|
};
|
|
22775
22784
|
}
|
|
22776
|
-
function _temp2$
|
|
22785
|
+
function _temp2$14(e) {
|
|
22777
22786
|
Logger.error(e);
|
|
22778
22787
|
}
|
|
22779
22788
|
function _temp3$11(e) {
|
|
@@ -22912,7 +22921,7 @@ ${c}
|
|
|
22912
22921
|
r[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = (0, import_jsx_runtime.jsxs)(CalendarGrid, {
|
|
22913
22922
|
children: [
|
|
22914
22923
|
(0, import_jsx_runtime.jsx)(CalendarGridHeader, {
|
|
22915
|
-
children: _temp2$
|
|
22924
|
+
children: _temp2$13
|
|
22916
22925
|
}),
|
|
22917
22926
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
22918
22927
|
children: _temp3$10
|
|
@@ -22973,7 +22982,7 @@ ${c}
|
|
|
22973
22982
|
function _temp$19(e) {
|
|
22974
22983
|
return cn("w-fit", e);
|
|
22975
22984
|
}
|
|
22976
|
-
function _temp2$
|
|
22985
|
+
function _temp2$13(e) {
|
|
22977
22986
|
return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
|
|
22978
22987
|
children: e
|
|
22979
22988
|
});
|
|
@@ -23072,13 +23081,13 @@ ${c}
|
|
|
23072
23081
|
return r[9] !== l || r[10] !== f ? (m = (0, import_jsx_runtime.jsx)($40825cdb76e74f70$export$7edc06cf1783b30f, {
|
|
23073
23082
|
className: f,
|
|
23074
23083
|
...l,
|
|
23075
|
-
children: _temp2$
|
|
23084
|
+
children: _temp2$12
|
|
23076
23085
|
}), r[9] = l, r[10] = f, r[11] = m) : m = r[11], m;
|
|
23077
23086
|
};
|
|
23078
23087
|
function _temp$18(e) {
|
|
23079
23088
|
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
23089
|
}
|
|
23081
|
-
function _temp2$
|
|
23090
|
+
function _temp2$12(e) {
|
|
23082
23091
|
return (0, import_jsx_runtime.jsx)(DateSegment, {
|
|
23083
23092
|
segment: e
|
|
23084
23093
|
});
|
|
@@ -23104,7 +23113,7 @@ ${c}
|
|
|
23104
23113
|
let r = (0, import_compiler_runtime$58.c)(26), c, l, u, d, f;
|
|
23105
23114
|
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
23115
|
let [m, h] = (0, import_react.useState)(false), g;
|
|
23107
|
-
r[6] === c ? g = r[7] : (g = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp2$
|
|
23116
|
+
r[6] === c ? g = r[7] : (g = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp2$11), r[6] = c, r[7] = g);
|
|
23108
23117
|
let _;
|
|
23109
23118
|
r[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (e2) => {
|
|
23110
23119
|
h(e2);
|
|
@@ -23277,7 +23286,7 @@ ${c}
|
|
|
23277
23286
|
function _temp$17(e) {
|
|
23278
23287
|
return cn("w-auto p-3", e);
|
|
23279
23288
|
}
|
|
23280
|
-
function _temp2$
|
|
23289
|
+
function _temp2$11(e) {
|
|
23281
23290
|
return cn("group flex flex-col gap-2", e);
|
|
23282
23291
|
}
|
|
23283
23292
|
function _temp3$9(e) {
|
|
@@ -23510,37 +23519,37 @@ ${c}
|
|
|
23510
23519
|
], r[0] = c, r[1] = l, r[2] = d, r[3] = f) : (d = r[2], f = r[3]), (0, import_react.useEffect)(d, f), u;
|
|
23511
23520
|
}, import_compiler_runtime$53 = require_compiler_runtime(), NONE_KEY = "__none__";
|
|
23512
23521
|
const SearchableSelect = (e) => {
|
|
23513
|
-
let r = (0, import_compiler_runtime$53.c)(
|
|
23522
|
+
let r = (0, import_compiler_runtime$53.c)(26), { options: c, value: l, setValue: u, label: d, allowSelectNone: f, fullWidth: m, disabled: h } = e, g = (0, import_react.useId)(), [_, v] = (0, import_react.useState)(""), y;
|
|
23514
23523
|
bb0: {
|
|
23515
|
-
if (!
|
|
23516
|
-
|
|
23524
|
+
if (!_) {
|
|
23525
|
+
y = c;
|
|
23517
23526
|
break bb0;
|
|
23518
23527
|
}
|
|
23519
23528
|
let e2;
|
|
23520
|
-
if (r[0] !== c || r[1] !==
|
|
23529
|
+
if (r[0] !== c || r[1] !== _) {
|
|
23521
23530
|
let l2;
|
|
23522
|
-
r[3] ===
|
|
23531
|
+
r[3] === _ ? l2 = r[4] : (l2 = (e3) => multiselectFilterFn(e3, _) === 1, r[3] = _, r[4] = l2), e2 = c.filter(l2), r[0] = c, r[1] = _, r[2] = e2;
|
|
23523
23532
|
} else e2 = r[2];
|
|
23524
|
-
|
|
23533
|
+
y = e2;
|
|
23525
23534
|
}
|
|
23526
|
-
let
|
|
23527
|
-
r[5] === u ?
|
|
23535
|
+
let b = y, S;
|
|
23536
|
+
r[5] === u ? S = r[6] : (S = (e2) => {
|
|
23528
23537
|
e2 != null && u(e2 === NONE_KEY ? null : e2);
|
|
23529
|
-
}, r[5] = u, r[6] =
|
|
23530
|
-
let
|
|
23531
|
-
r[7] !== f || r[8] !==
|
|
23538
|
+
}, r[5] = u, r[6] = S);
|
|
23539
|
+
let w = S, T;
|
|
23540
|
+
r[7] !== f || r[8] !== b ? (T = () => {
|
|
23532
23541
|
let e2 = f ? (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
23533
23542
|
value: NONE_KEY,
|
|
23534
23543
|
children: "--"
|
|
23535
23544
|
}, NONE_KEY) : null;
|
|
23536
|
-
return
|
|
23545
|
+
return b.length > 200 ? (0, import_jsx_runtime.jsx)(Yr, {
|
|
23537
23546
|
style: {
|
|
23538
23547
|
height: "200px"
|
|
23539
23548
|
},
|
|
23540
|
-
totalCount:
|
|
23549
|
+
totalCount: b.length,
|
|
23541
23550
|
overscan: 50,
|
|
23542
23551
|
itemContent: (r2) => {
|
|
23543
|
-
let c2 =
|
|
23552
|
+
let c2 = b[r2], l2 = (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
23544
23553
|
value: c2,
|
|
23545
23554
|
children: c2
|
|
23546
23555
|
}, c2);
|
|
@@ -23554,37 +23563,38 @@ ${c}
|
|
|
23554
23563
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
23555
23564
|
children: [
|
|
23556
23565
|
e2,
|
|
23557
|
-
|
|
23566
|
+
b.map(_temp$16)
|
|
23558
23567
|
]
|
|
23559
23568
|
});
|
|
23560
|
-
}, r[7] = f, r[8] =
|
|
23561
|
-
let
|
|
23562
|
-
r[10] === m ?
|
|
23569
|
+
}, r[7] = f, r[8] = b, r[9] = T) : T = r[9];
|
|
23570
|
+
let E = T, O;
|
|
23571
|
+
r[10] === m ? O = r[11] : (O = cn({
|
|
23563
23572
|
"w-full": m
|
|
23564
|
-
}), r[10] = m, r[11] =
|
|
23565
|
-
let
|
|
23566
|
-
r[12] ===
|
|
23567
|
-
let
|
|
23568
|
-
r[14] !==
|
|
23569
|
-
displayValue: _temp2$
|
|
23573
|
+
}), r[10] = m, r[11] = O);
|
|
23574
|
+
let j = l ?? NONE_KEY, M;
|
|
23575
|
+
r[12] === E ? M = r[13] : (M = E(), r[12] = E, r[13] = M);
|
|
23576
|
+
let I;
|
|
23577
|
+
r[14] !== h || r[15] !== w || r[16] !== _ || r[17] !== O || r[18] !== j || r[19] !== M ? (I = (0, import_jsx_runtime.jsx)(Combobox, {
|
|
23578
|
+
displayValue: _temp2$10,
|
|
23570
23579
|
placeholder: "Select...",
|
|
23571
23580
|
multiple: false,
|
|
23572
|
-
className:
|
|
23573
|
-
value:
|
|
23574
|
-
onValueChange:
|
|
23581
|
+
className: O,
|
|
23582
|
+
value: j,
|
|
23583
|
+
onValueChange: w,
|
|
23575
23584
|
shouldFilter: false,
|
|
23576
|
-
search:
|
|
23577
|
-
onSearchChange:
|
|
23585
|
+
search: _,
|
|
23586
|
+
onSearchChange: v,
|
|
23587
|
+
disabled: h,
|
|
23578
23588
|
"data-testid": "marimo-plugin-searchable-dropdown",
|
|
23579
|
-
children:
|
|
23580
|
-
}), r[14] =
|
|
23581
|
-
let
|
|
23582
|
-
return r[
|
|
23589
|
+
children: M
|
|
23590
|
+
}), r[14] = h, r[15] = w, r[16] = _, r[17] = O, r[18] = j, r[19] = M, r[20] = I) : I = r[20];
|
|
23591
|
+
let L;
|
|
23592
|
+
return r[21] !== m || r[22] !== g || r[23] !== d || r[24] !== I ? (L = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
23583
23593
|
label: d,
|
|
23584
|
-
id:
|
|
23594
|
+
id: g,
|
|
23585
23595
|
fullWidth: m,
|
|
23586
|
-
children:
|
|
23587
|
-
}), r[
|
|
23596
|
+
children: I
|
|
23597
|
+
}), r[21] = m, r[22] = g, r[23] = d, r[24] = I, r[25] = L) : L = r[25], L;
|
|
23588
23598
|
};
|
|
23589
23599
|
function _temp$16(e) {
|
|
23590
23600
|
return (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
@@ -23592,7 +23602,7 @@ ${c}
|
|
|
23592
23602
|
children: e
|
|
23593
23603
|
}, e);
|
|
23594
23604
|
}
|
|
23595
|
-
function _temp2$
|
|
23605
|
+
function _temp2$10(e) {
|
|
23596
23606
|
return e === NONE_KEY ? "--" : e;
|
|
23597
23607
|
}
|
|
23598
23608
|
var import_compiler_runtime$52 = require_compiler_runtime(), DropdownPlugin = class {
|
|
@@ -23604,7 +23614,8 @@ ${c}
|
|
|
23604
23614
|
options: array(string()),
|
|
23605
23615
|
allowSelectNone: boolean(),
|
|
23606
23616
|
fullWidth: boolean().default(false),
|
|
23607
|
-
searchable: boolean().default(false)
|
|
23617
|
+
searchable: boolean().default(false),
|
|
23618
|
+
disabled: boolean().default(false)
|
|
23608
23619
|
}));
|
|
23609
23620
|
}
|
|
23610
23621
|
render(e) {
|
|
@@ -23625,52 +23636,53 @@ ${c}
|
|
|
23625
23636
|
});
|
|
23626
23637
|
}
|
|
23627
23638
|
}, EMPTY_VALUE = "--", Dropdown = (e) => {
|
|
23628
|
-
let r = (0, import_compiler_runtime$52.c)(
|
|
23629
|
-
r[0] === d ?
|
|
23639
|
+
let r = (0, import_compiler_runtime$52.c)(25), { label: c, options: l, value: u, setValue: d, allowSelectNone: f, fullWidth: m, disabled: h } = e, g = (0, import_react.useId)(), _ = f ? EMPTY_VALUE : l[0], v = u.length === 0 ? _ : u[0], y;
|
|
23640
|
+
r[0] === d ? y = r[1] : (y = (e2) => {
|
|
23630
23641
|
let r2 = e2.target.value;
|
|
23631
23642
|
d(r2 === EMPTY_VALUE ? [] : [
|
|
23632
23643
|
r2
|
|
23633
23644
|
]);
|
|
23634
|
-
}, r[0] = d, r[1] =
|
|
23635
|
-
let y;
|
|
23636
|
-
r[2] === m ? y = r[3] : (y = cn({
|
|
23637
|
-
"w-full": m
|
|
23638
|
-
}), r[2] = m, r[3] = y);
|
|
23645
|
+
}, r[0] = d, r[1] = y);
|
|
23639
23646
|
let b;
|
|
23640
|
-
r[
|
|
23647
|
+
r[2] === m ? b = r[3] : (b = cn({
|
|
23648
|
+
"w-full": m
|
|
23649
|
+
}), r[2] = m, r[3] = b);
|
|
23650
|
+
let S;
|
|
23651
|
+
r[4] !== f || r[5] !== u.length ? (S = f ? (0, import_jsx_runtime.jsx)("option", {
|
|
23641
23652
|
value: EMPTY_VALUE,
|
|
23642
23653
|
selected: u.length === 0,
|
|
23643
23654
|
children: "--"
|
|
23644
|
-
}) : null, r[4] = f, r[5] = u.length, r[6] =
|
|
23645
|
-
let
|
|
23655
|
+
}) : null, r[4] = f, r[5] = u.length, r[6] = S) : S = r[6];
|
|
23656
|
+
let w;
|
|
23646
23657
|
if (r[7] !== l || r[8] !== u) {
|
|
23647
23658
|
let e2;
|
|
23648
23659
|
r[10] === u ? e2 = r[11] : (e2 = (e3) => (0, import_jsx_runtime.jsx)("option", {
|
|
23649
23660
|
value: e3,
|
|
23650
23661
|
selected: u.includes(e3),
|
|
23651
23662
|
children: e3
|
|
23652
|
-
}, e3), r[10] = u, r[11] = e2),
|
|
23653
|
-
} else
|
|
23654
|
-
let
|
|
23655
|
-
r[12] !== h || r[13] !==
|
|
23663
|
+
}, e3), r[10] = u, r[11] = e2), w = l.map(e2), r[7] = l, r[8] = u, r[9] = w;
|
|
23664
|
+
} else w = r[9];
|
|
23665
|
+
let T;
|
|
23666
|
+
r[12] !== h || r[13] !== g || r[14] !== v || r[15] !== y || r[16] !== b || r[17] !== S || r[18] !== w ? (T = (0, import_jsx_runtime.jsxs)(NativeSelect, {
|
|
23656
23667
|
"data-testid": "marimo-plugin-dropdown",
|
|
23657
|
-
onChange:
|
|
23658
|
-
className:
|
|
23659
|
-
value:
|
|
23660
|
-
id:
|
|
23668
|
+
onChange: y,
|
|
23669
|
+
className: b,
|
|
23670
|
+
value: v,
|
|
23671
|
+
id: g,
|
|
23672
|
+
disabled: h,
|
|
23661
23673
|
children: [
|
|
23662
|
-
|
|
23663
|
-
|
|
23674
|
+
S,
|
|
23675
|
+
w
|
|
23664
23676
|
]
|
|
23665
|
-
}), r[12] = h, r[13] =
|
|
23666
|
-
let
|
|
23667
|
-
return r[
|
|
23677
|
+
}), r[12] = h, r[13] = g, r[14] = v, r[15] = y, r[16] = b, r[17] = S, r[18] = w, r[19] = T) : T = r[19];
|
|
23678
|
+
let E;
|
|
23679
|
+
return r[20] !== m || r[21] !== g || r[22] !== c || r[23] !== T ? (E = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
23668
23680
|
label: c,
|
|
23669
|
-
id:
|
|
23681
|
+
id: g,
|
|
23670
23682
|
fullWidth: m,
|
|
23671
|
-
children:
|
|
23672
|
-
}), r[
|
|
23673
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
23683
|
+
children: T
|
|
23684
|
+
}), r[20] = m, r[21] = g, r[22] = c, r[23] = T, r[24] = E) : E = r[24], E;
|
|
23685
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-2lBNiUv6.js"));
|
|
23674
23686
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
23675
23687
|
label: string().nullish(),
|
|
23676
23688
|
data: string()
|
|
@@ -23833,7 +23845,7 @@ ${c}
|
|
|
23833
23845
|
keepPopoverOpenOnSelect: true,
|
|
23834
23846
|
chips: true,
|
|
23835
23847
|
chipsClassName: "flex-row flex-wrap min-w-[210px]",
|
|
23836
|
-
children: l.map(_temp2$
|
|
23848
|
+
children: l.map(_temp2$9)
|
|
23837
23849
|
}), 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
23850
|
let S = b, w;
|
|
23839
23851
|
r[10] === d ? w = r[11] : (w = cn("flex gap-1", d), r[10] = d, r[11] = w);
|
|
@@ -23894,7 +23906,7 @@ ${c}
|
|
|
23894
23906
|
function _temp$15(e) {
|
|
23895
23907
|
return e;
|
|
23896
23908
|
}
|
|
23897
|
-
function _temp2$
|
|
23909
|
+
function _temp2$9(e) {
|
|
23898
23910
|
return (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
23899
23911
|
value: e,
|
|
23900
23912
|
children: e
|
|
@@ -24492,7 +24504,7 @@ ${c}
|
|
|
24492
24504
|
}) : (0, import_jsx_runtime.jsx)(Combobox, {
|
|
24493
24505
|
className: "min-w-[180px]",
|
|
24494
24506
|
placeholder: y,
|
|
24495
|
-
displayValue: _temp2$
|
|
24507
|
+
displayValue: _temp2$8,
|
|
24496
24508
|
multiple: true,
|
|
24497
24509
|
chips: true,
|
|
24498
24510
|
keepPopoverOpenOnSelect: true,
|
|
@@ -24518,7 +24530,7 @@ ${c}
|
|
|
24518
24530
|
function _temp$14(e) {
|
|
24519
24531
|
return e.preventDefault();
|
|
24520
24532
|
}
|
|
24521
|
-
function _temp2$
|
|
24533
|
+
function _temp2$8(e) {
|
|
24522
24534
|
return Strings.startCase(e);
|
|
24523
24535
|
}
|
|
24524
24536
|
function _temp3$8(e) {
|
|
@@ -24839,7 +24851,7 @@ ${c}
|
|
|
24839
24851
|
var _a3;
|
|
24840
24852
|
let r = (0, import_compiler_runtime$47.c)(25), { path: c, form: l, schema: u } = e, d;
|
|
24841
24853
|
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$
|
|
24854
|
+
let { description: m } = d, h = import_react.use(ColumnInfoContext), g = (_a3 = Objects.entries(u.shape).find(_temp2$7)) == null ? void 0 : _a3[1], _;
|
|
24843
24855
|
r[2] === c ? _ = r[3] : (_ = {
|
|
24844
24856
|
name: c
|
|
24845
24857
|
}, r[2] = c, r[3] = _);
|
|
@@ -24974,7 +24986,7 @@ ${c}
|
|
|
24974
24986
|
})
|
|
24975
24987
|
}, r);
|
|
24976
24988
|
}
|
|
24977
|
-
function _temp2$
|
|
24989
|
+
function _temp2$7(e) {
|
|
24978
24990
|
let [r] = e;
|
|
24979
24991
|
return r === "column_id";
|
|
24980
24992
|
}
|
|
@@ -25314,7 +25326,8 @@ ${c}
|
|
|
25314
25326
|
field_types: columnToFieldTypesSchema,
|
|
25315
25327
|
column_types_per_step: array(columnToFieldTypesSchema),
|
|
25316
25328
|
python_code: string().nullish(),
|
|
25317
|
-
sql_code: string().nullish()
|
|
25329
|
+
sql_code: string().nullish(),
|
|
25330
|
+
size_bytes: number().nullish()
|
|
25318
25331
|
})),
|
|
25319
25332
|
get_column_values: rpc.input(object({
|
|
25320
25333
|
column: string()
|
|
@@ -25336,7 +25349,8 @@ ${c}
|
|
|
25336
25349
|
string(),
|
|
25337
25350
|
array(object({}).passthrough())
|
|
25338
25351
|
]),
|
|
25339
|
-
total_rows: number()
|
|
25352
|
+
total_rows: number(),
|
|
25353
|
+
size_bytes: number().nullish()
|
|
25340
25354
|
})),
|
|
25341
25355
|
download_as: DownloadAsSchema
|
|
25342
25356
|
}).renderer((e) => (0, import_jsx_runtime.jsx)(TableProviders, {
|
|
@@ -25352,7 +25366,7 @@ ${c}
|
|
|
25352
25366
|
transforms: []
|
|
25353
25367
|
};
|
|
25354
25368
|
const DataFrameComponent = (0, import_react.memo)((e) => {
|
|
25355
|
-
let r = (0, import_compiler_runtime$45.c)(
|
|
25369
|
+
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
25370
|
r[0] === m ? y = r[1] : (y = () => m({}), r[0] = m, r[1] = y);
|
|
25357
25371
|
let b = f == null ? void 0 : f.transforms, S;
|
|
25358
25372
|
r[2] === b ? S = r[3] : (S = [
|
|
@@ -25360,29 +25374,29 @@ ${c}
|
|
|
25360
25374
|
], r[2] = b, r[3] = S);
|
|
25361
25375
|
let { data: w, error: T, isPending: O } = useAsyncData(y, S), j;
|
|
25362
25376
|
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 ?
|
|
25377
|
+
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;
|
|
25378
|
+
r[6] === d ? C0 = r[7] : (C0 = (e2) => {
|
|
25365
25379
|
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 =
|
|
25380
|
+
d && e2 !== "transform" && ((_a3 = S0.current) == null ? void 0 : _a3.submit());
|
|
25381
|
+
}, r[6] = d, r[7] = C0);
|
|
25382
|
+
let w0 = C0, T0 = (0, import_react.useRef)(q), E0;
|
|
25383
|
+
r[8] === q ? E0 = r[9] : (E0 = () => {
|
|
25384
|
+
T0.current = q;
|
|
25385
|
+
}, r[8] = q, r[9] = E0), (0, import_react.useEffect)(E0);
|
|
25386
|
+
let D0;
|
|
25387
|
+
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (D0 = () => {
|
|
25388
|
+
let e2 = T0.current;
|
|
25375
25389
|
(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] !==
|
|
25390
|
+
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] = D0) : D0 = r[12];
|
|
25391
|
+
let O0 = f == null ? void 0 : f.transforms.length, k0;
|
|
25392
|
+
r[13] !== w || r[14] !== p || r[15] !== O0 ? (k0 = [
|
|
25379
25393
|
w,
|
|
25380
|
-
|
|
25381
|
-
|
|
25394
|
+
O0,
|
|
25395
|
+
T0,
|
|
25382
25396
|
p
|
|
25383
|
-
], r[13] = w, r[14] = p, r[15] =
|
|
25384
|
-
let
|
|
25385
|
-
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25397
|
+
], r[13] = w, r[14] = p, r[15] = O0, r[16] = k0) : k0 = r[16], (0, import_react.useEffect)(D0, k0);
|
|
25398
|
+
let A0;
|
|
25399
|
+
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A0 = (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
25386
25400
|
value: "transform",
|
|
25387
25401
|
className: "text-xs py-1",
|
|
25388
25402
|
children: [
|
|
@@ -25391,9 +25405,9 @@ ${c}
|
|
|
25391
25405
|
}),
|
|
25392
25406
|
"Transform"
|
|
25393
25407
|
]
|
|
25394
|
-
}), r[17] =
|
|
25395
|
-
let
|
|
25396
|
-
r[18] === B ?
|
|
25408
|
+
}), r[17] = A0) : A0 = r[17];
|
|
25409
|
+
let j0;
|
|
25410
|
+
r[18] === B ? j0 = r[19] : (j0 = B && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
25397
25411
|
value: "python-code",
|
|
25398
25412
|
className: "text-xs py-1",
|
|
25399
25413
|
children: [
|
|
@@ -25402,9 +25416,9 @@ ${c}
|
|
|
25402
25416
|
}),
|
|
25403
25417
|
"Python Code"
|
|
25404
25418
|
]
|
|
25405
|
-
}), r[18] = B, r[19] =
|
|
25406
|
-
let
|
|
25407
|
-
r[20] === H ?
|
|
25419
|
+
}), r[18] = B, r[19] = j0);
|
|
25420
|
+
let M0;
|
|
25421
|
+
r[20] === H ? M0 = r[21] : (M0 = H && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
25408
25422
|
value: "sql-code",
|
|
25409
25423
|
className: "text-xs py-1",
|
|
25410
25424
|
children: [
|
|
@@ -25413,54 +25427,54 @@ ${c}
|
|
|
25413
25427
|
}),
|
|
25414
25428
|
"SQL Code"
|
|
25415
25429
|
]
|
|
25416
|
-
}), r[20] = H, r[21] =
|
|
25417
|
-
let
|
|
25418
|
-
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25430
|
+
}), r[20] = H, r[21] = M0);
|
|
25431
|
+
let N0;
|
|
25432
|
+
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N0 = (0, import_jsx_runtime.jsx)("div", {
|
|
25419
25433
|
className: "grow"
|
|
25420
|
-
}), r[22] =
|
|
25421
|
-
let
|
|
25422
|
-
r[23] !==
|
|
25434
|
+
}), r[22] = N0) : N0 = r[22];
|
|
25435
|
+
let P0;
|
|
25436
|
+
r[23] !== j0 || r[24] !== M0 ? (P0 = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
25423
25437
|
className: "h-8",
|
|
25424
25438
|
children: [
|
|
25439
|
+
A0,
|
|
25425
25440
|
j0,
|
|
25426
25441
|
M0,
|
|
25427
|
-
N0
|
|
25428
|
-
P0
|
|
25442
|
+
N0
|
|
25429
25443
|
]
|
|
25430
|
-
}), r[23] =
|
|
25431
|
-
let
|
|
25432
|
-
r[26] === O ?
|
|
25444
|
+
}), r[23] = j0, r[24] = M0, r[25] = P0) : P0 = r[25];
|
|
25445
|
+
let F0;
|
|
25446
|
+
r[26] === O ? F0 = r[27] : (F0 = O && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
25433
25447
|
size: "small"
|
|
25434
|
-
}), r[26] = O, r[27] =
|
|
25435
|
-
let
|
|
25436
|
-
r[28] !==
|
|
25448
|
+
}), r[26] = O, r[27] = F0);
|
|
25449
|
+
let I0;
|
|
25450
|
+
r[28] !== P0 || r[29] !== F0 ? (I0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25437
25451
|
className: "flex items-center gap-2",
|
|
25438
25452
|
children: [
|
|
25439
|
-
|
|
25440
|
-
|
|
25453
|
+
P0,
|
|
25454
|
+
F0
|
|
25441
25455
|
]
|
|
25442
|
-
}), r[28] =
|
|
25456
|
+
}), r[28] = P0, r[29] = F0, r[30] = I0) : I0 = r[30];
|
|
25457
|
+
let L0;
|
|
25458
|
+
r[31] !== p || r[32] !== f ? (L0 = (e2) => {
|
|
25459
|
+
dequal(e2, f) || (p(e2), Z(e2));
|
|
25460
|
+
}, r[31] = p, r[32] = f, r[33] = L0) : L0 = r[33];
|
|
25443
25461
|
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, {
|
|
25462
|
+
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !== L0 ? (z0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25449
25463
|
value: "transform",
|
|
25450
25464
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25451
25465
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
25452
|
-
ref:
|
|
25453
|
-
initialValue:
|
|
25466
|
+
ref: S0,
|
|
25467
|
+
initialValue: q,
|
|
25454
25468
|
columns: c,
|
|
25455
|
-
onChange:
|
|
25456
|
-
onInvalidChange:
|
|
25469
|
+
onChange: L0,
|
|
25470
|
+
onInvalidChange: Z,
|
|
25457
25471
|
getColumnValues: h,
|
|
25458
25472
|
columnTypesPerStep: z,
|
|
25459
25473
|
lazy: d
|
|
25460
25474
|
})
|
|
25461
|
-
}), r[34] = z, r[35] = c, r[36] = h, r[37] =
|
|
25462
|
-
let
|
|
25463
|
-
r[41] === B ?
|
|
25475
|
+
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] = L0, r[40] = z0) : z0 = r[40];
|
|
25476
|
+
let B0;
|
|
25477
|
+
r[41] === B ? B0 = r[42] : (B0 = B && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25464
25478
|
value: "python-code",
|
|
25465
25479
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25466
25480
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -25469,9 +25483,9 @@ ${c}
|
|
|
25469
25483
|
code: B,
|
|
25470
25484
|
language: "python"
|
|
25471
25485
|
})
|
|
25472
|
-
}), r[41] = B, r[42] =
|
|
25473
|
-
let
|
|
25474
|
-
r[43] === H ?
|
|
25486
|
+
}), r[41] = B, r[42] = B0);
|
|
25487
|
+
let V0;
|
|
25488
|
+
r[43] === H ? V0 = r[44] : (V0 = H && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25475
25489
|
value: "sql-code",
|
|
25476
25490
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25477
25491
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -25480,29 +25494,30 @@ ${c}
|
|
|
25480
25494
|
code: H,
|
|
25481
25495
|
language: "sql"
|
|
25482
25496
|
})
|
|
25483
|
-
}), r[43] = H, r[44] =
|
|
25484
|
-
let
|
|
25485
|
-
r[45] !==
|
|
25497
|
+
}), r[43] = H, r[44] = V0);
|
|
25498
|
+
let H0;
|
|
25499
|
+
r[45] !== w0 || r[46] !== I0 || r[47] !== z0 || r[48] !== B0 || r[49] !== V0 ? (H0 = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
25486
25500
|
defaultValue: "transform",
|
|
25487
|
-
onValueChange:
|
|
25501
|
+
onValueChange: w0,
|
|
25488
25502
|
children: [
|
|
25489
|
-
|
|
25503
|
+
I0,
|
|
25504
|
+
z0,
|
|
25490
25505
|
B0,
|
|
25491
|
-
V0
|
|
25492
|
-
H0
|
|
25506
|
+
V0
|
|
25493
25507
|
]
|
|
25494
|
-
}), r[45] =
|
|
25495
|
-
let
|
|
25496
|
-
r[51] === T ?
|
|
25508
|
+
}), r[45] = w0, r[46] = I0, r[47] = z0, r[48] = B0, r[49] = V0, r[50] = H0) : H0 = r[50];
|
|
25509
|
+
let U0;
|
|
25510
|
+
r[51] === T ? U0 = r[52] : (U0 = T && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
25497
25511
|
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] !==
|
|
25512
|
+
}), r[51] = T, r[52] = U0);
|
|
25513
|
+
let W0 = M || "", G0 = I ?? 0, K0 = W ?? null, q0 = G ?? 0, J0 = L || Arrays.EMPTY, Y0 = I && I > 5 || false, X0;
|
|
25514
|
+
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
25515
|
label: null,
|
|
25502
25516
|
className: "rounded-b border-x border-b",
|
|
25503
|
-
data:
|
|
25517
|
+
data: W0,
|
|
25504
25518
|
hasStableRowId: false,
|
|
25505
|
-
totalRows:
|
|
25519
|
+
totalRows: G0,
|
|
25520
|
+
sizeBytes: K0,
|
|
25506
25521
|
totalColumns: q0,
|
|
25507
25522
|
maxColumns: "all",
|
|
25508
25523
|
pageSize: l,
|
|
@@ -25526,15 +25541,15 @@ ${c}
|
|
|
25526
25541
|
selection: null,
|
|
25527
25542
|
lazy: false,
|
|
25528
25543
|
host: v
|
|
25529
|
-
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] =
|
|
25544
|
+
}), 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
25545
|
let Z0;
|
|
25531
|
-
return r[
|
|
25546
|
+
return r[66] !== H0 || r[67] !== U0 || r[68] !== X0 ? (Z0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25532
25547
|
children: [
|
|
25548
|
+
H0,
|
|
25533
25549
|
U0,
|
|
25534
|
-
W0,
|
|
25535
25550
|
X0
|
|
25536
25551
|
]
|
|
25537
|
-
}), r[
|
|
25552
|
+
}), r[66] = H0, r[67] = U0, r[68] = X0, r[69] = Z0) : Z0 = r[69], Z0;
|
|
25538
25553
|
});
|
|
25539
25554
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
25540
25555
|
function getColumnSummaries() {
|
|
@@ -25722,28 +25737,28 @@ ${c}
|
|
|
25722
25737
|
}, W = [
|
|
25723
25738
|
B
|
|
25724
25739
|
], r[8] = B, r[9] = H, r[10] = W), (0, import_react.useEffect)(H, W);
|
|
25725
|
-
let G, q, Z,
|
|
25740
|
+
let G, q, Z, S0, C0, T0, E0, O0, k0;
|
|
25726
25741
|
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
|
-
|
|
25742
|
+
k0 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
25728
25743
|
bb0: {
|
|
25729
|
-
|
|
25744
|
+
C0 = (R == null ? void 0 : R.files) ?? [];
|
|
25730
25745
|
let e2;
|
|
25731
25746
|
r[31] === c ? e2 = r[32] : (e2 = new Set(c.map(_temp$12)), r[31] = c, r[32] = e2);
|
|
25732
25747
|
let m2 = e2, g2 = d === "directory" || d === "all", _2 = d === "file" || d === "all", w;
|
|
25733
25748
|
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 =
|
|
25749
|
+
let T2 = C0.filter(w);
|
|
25735
25750
|
if (G = T2.length > 0 && T2.every((e3) => m2.has(e3.path)), !R && z) {
|
|
25736
25751
|
let e3;
|
|
25737
25752
|
r[36] === z.message ? e3 = r[37] : (e3 = (0, import_jsx_runtime.jsx)(Banner, {
|
|
25738
25753
|
kind: "danger",
|
|
25739
25754
|
children: z.message
|
|
25740
|
-
}), r[36] = z.message, r[37] = e3),
|
|
25755
|
+
}), r[36] = z.message, r[37] = e3), k0 = e3;
|
|
25741
25756
|
break bb0;
|
|
25742
25757
|
}
|
|
25743
25758
|
let E2;
|
|
25744
25759
|
r[38] === u ? E2 = r[39] : (E2 = PathBuilder.guessDeliminator(u), r[38] = u, r[39] = E2), q = E2.deliminator;
|
|
25745
25760
|
let O2;
|
|
25746
|
-
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$
|
|
25761
|
+
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$6), r[40] = c, r[41] = O2), E0 = O2;
|
|
25747
25762
|
let j2;
|
|
25748
25763
|
r[42] !== q || r[43] !== u || r[44] !== b || r[45] !== v || r[46] !== h || r[47] !== y ? (j2 = function(e3) {
|
|
25749
25764
|
if (b) return;
|
|
@@ -25764,7 +25779,7 @@ ${c}
|
|
|
25764
25779
|
return;
|
|
25765
25780
|
}
|
|
25766
25781
|
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],
|
|
25782
|
+
}, 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
25783
|
let M2;
|
|
25769
25784
|
r[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M2 = function(e3) {
|
|
25770
25785
|
let { path: r2, name: c2, isDirectory: l2 } = e3;
|
|
@@ -25792,9 +25807,9 @@ ${c}
|
|
|
25792
25807
|
let H2 = B2, W2;
|
|
25793
25808
|
r[55] !== v || r[56] !== l || r[57] !== c ? (W2 = function() {
|
|
25794
25809
|
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,
|
|
25810
|
+
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], Z = W2, T0 = function() {
|
|
25796
25811
|
let e3 = [];
|
|
25797
|
-
for (let r2 of
|
|
25812
|
+
for (let r2 of C0) {
|
|
25798
25813
|
if (!g2 && r2.is_directory || m2.has(r2.path)) continue;
|
|
25799
25814
|
let c2 = I2({
|
|
25800
25815
|
path: r2.path,
|
|
@@ -25807,35 +25822,35 @@ ${c}
|
|
|
25807
25822
|
...c,
|
|
25808
25823
|
...e3
|
|
25809
25824
|
]);
|
|
25810
|
-
},
|
|
25811
|
-
let
|
|
25812
|
-
r[59] ===
|
|
25813
|
-
let
|
|
25814
|
-
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25825
|
+
}, S0 = [];
|
|
25826
|
+
let A02;
|
|
25827
|
+
r[59] === O0 ? A02 = r[60] : (A02 = () => O0(PARENT_DIRECTORY), r[59] = O0, r[60] = A02);
|
|
25828
|
+
let j02, M02;
|
|
25829
|
+
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j02 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
25815
25830
|
className: "w-[50px] pl-4",
|
|
25816
25831
|
children: (0, import_jsx_runtime.jsx)(CornerLeftUp, {
|
|
25817
25832
|
size: 16
|
|
25818
25833
|
})
|
|
25819
|
-
}),
|
|
25834
|
+
}), M02 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
25820
25835
|
children: PARENT_DIRECTORY
|
|
25821
|
-
}), r[61] =
|
|
25822
|
-
let
|
|
25823
|
-
r[63] ===
|
|
25836
|
+
}), r[61] = j02, r[62] = M02) : (j02 = r[61], M02 = r[62]);
|
|
25837
|
+
let N02;
|
|
25838
|
+
r[63] === A02 ? N02 = r[64] : (N02 = (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
25824
25839
|
className: "hover:bg-accent select-none",
|
|
25825
|
-
onClick:
|
|
25840
|
+
onClick: A02,
|
|
25826
25841
|
children: [
|
|
25827
|
-
|
|
25828
|
-
|
|
25842
|
+
j02,
|
|
25843
|
+
M02
|
|
25829
25844
|
]
|
|
25830
|
-
}, "Parent directory"), r[63] =
|
|
25831
|
-
for (let e3 of
|
|
25845
|
+
}, "Parent directory"), r[63] = A02, r[64] = N02), S0.push(N02);
|
|
25846
|
+
for (let e3 of C0) {
|
|
25832
25847
|
let r2 = e3.path;
|
|
25833
25848
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
25834
25849
|
let c2 = e3.is_directory ? (e4) => {
|
|
25835
25850
|
let { path: r3 } = e4;
|
|
25836
|
-
return
|
|
25851
|
+
return O0(r3);
|
|
25837
25852
|
} : H2, l2 = FILE_ICON[e3.is_directory ? "directory" : guessFileIconType(e3.name)], u2 = m2.has(r2);
|
|
25838
|
-
|
|
25853
|
+
S0.push((0, import_jsx_runtime.jsxs)(TableRow, {
|
|
25839
25854
|
className: cn("hover:bg-accent group select-none", {
|
|
25840
25855
|
"bg-primary/25 hover:bg-primary/35": u2
|
|
25841
25856
|
}),
|
|
@@ -25865,21 +25880,21 @@ ${c}
|
|
|
25865
25880
|
}, e3.id));
|
|
25866
25881
|
}
|
|
25867
25882
|
}
|
|
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] !==
|
|
25883
|
+
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;
|
|
25884
|
+
} 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];
|
|
25885
|
+
if (k0 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return k0;
|
|
25886
|
+
let A0, j0, M0, N0, P0, F0, I0;
|
|
25887
|
+
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
25888
|
let { parentDirectories: e2 } = getProtocolAndParentDirectories({
|
|
25874
25889
|
path: v,
|
|
25875
25890
|
delimiter: q,
|
|
25876
25891
|
initialPath: u,
|
|
25877
25892
|
restrictNavigation: h
|
|
25878
25893
|
}), g2 = d === "all" ? PluralWords.of("file", "folder") : d === "directory" ? PluralWords.of("folder") : PluralWords.of("file");
|
|
25879
|
-
r[92] === z ?
|
|
25894
|
+
r[92] === z ? I0 = r[93] : (I0 = z && (0, import_jsx_runtime.jsx)(Banner, {
|
|
25880
25895
|
kind: "danger",
|
|
25881
25896
|
children: z.message
|
|
25882
|
-
}), r[92] = z, r[93] =
|
|
25897
|
+
}), r[92] = z, r[93] = I0), A0 = (() => {
|
|
25883
25898
|
let e3 = (0, import_jsx_runtime.jsx)(Label, {
|
|
25884
25899
|
children: renderHTML({
|
|
25885
25900
|
html: m ?? `Select ${g2.join(" and ", 2)}...`
|
|
@@ -25896,7 +25911,7 @@ ${c}
|
|
|
25896
25911
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
25897
25912
|
size: "xs",
|
|
25898
25913
|
variant: "link",
|
|
25899
|
-
onClick: G ? Z :
|
|
25914
|
+
onClick: G ? Z : T0,
|
|
25900
25915
|
children: G ? "Deselect all" : "Select all"
|
|
25901
25916
|
})
|
|
25902
25917
|
})
|
|
@@ -25904,18 +25919,18 @@ ${c}
|
|
|
25904
25919
|
}) : e3;
|
|
25905
25920
|
})();
|
|
25906
25921
|
let _2;
|
|
25907
|
-
r[94] ===
|
|
25922
|
+
r[94] === O0 ? _2 = r[95] : (_2 = (e3) => O0(e3.target.value), r[94] = O0, r[95] = _2);
|
|
25908
25923
|
let y2 = e2.map(_temp3$5);
|
|
25909
|
-
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (
|
|
25924
|
+
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (j0 = (0, import_jsx_runtime.jsx)(NativeSelect, {
|
|
25910
25925
|
className: "mt-2 w-full",
|
|
25911
25926
|
placeholder: v,
|
|
25912
25927
|
value: v,
|
|
25913
25928
|
onChange: _2,
|
|
25914
25929
|
children: y2
|
|
25915
|
-
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] =
|
|
25930
|
+
}), 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
25931
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
25917
|
-
children: R.is_truncated ? `Showing ${
|
|
25918
|
-
}), r[100] = R, r[101] =
|
|
25932
|
+
children: R.is_truncated ? `Showing ${C0.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
25933
|
+
}), r[100] = R, r[101] = C0, r[102] = M0) : M0 = r[102];
|
|
25919
25934
|
let b2;
|
|
25920
25935
|
r[103] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b2 = {
|
|
25921
25936
|
height: "14rem"
|
|
@@ -25934,12 +25949,12 @@ ${c}
|
|
|
25934
25949
|
]
|
|
25935
25950
|
}), r[104] = T, r[105] = S2);
|
|
25936
25951
|
let E2;
|
|
25937
|
-
r[106] ===
|
|
25952
|
+
r[106] === S0 ? E2 = r[107] : (E2 = (0, import_jsx_runtime.jsx)(Table, {
|
|
25938
25953
|
className: "cursor-pointer table-fixed",
|
|
25939
25954
|
children: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
25940
|
-
children:
|
|
25955
|
+
children: S0
|
|
25941
25956
|
})
|
|
25942
|
-
}), r[106] =
|
|
25957
|
+
}), r[106] = S0, r[107] = E2), r[108] !== B || r[109] !== S2 || r[110] !== E2 ? (N0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25943
25958
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
25944
25959
|
style: b2,
|
|
25945
25960
|
"aria-busy": B,
|
|
@@ -25948,7 +25963,7 @@ ${c}
|
|
|
25948
25963
|
S2,
|
|
25949
25964
|
E2
|
|
25950
25965
|
]
|
|
25951
|
-
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] =
|
|
25966
|
+
}), 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
25967
|
children: [
|
|
25953
25968
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
25954
25969
|
className: "flex items-center gap-2",
|
|
@@ -25978,33 +25993,33 @@ ${c}
|
|
|
25978
25993
|
marginBlock: 0
|
|
25979
25994
|
},
|
|
25980
25995
|
className: "m-0 text-xs text-muted-foreground",
|
|
25981
|
-
children:
|
|
25996
|
+
children: E0
|
|
25982
25997
|
})
|
|
25983
25998
|
})
|
|
25984
25999
|
]
|
|
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] !==
|
|
26000
|
+
}), 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;
|
|
26001
|
+
} else A0 = r[85], j0 = r[86], M0 = r[87], N0 = r[88], P0 = r[89], F0 = r[90], I0 = r[91];
|
|
26002
|
+
let L0;
|
|
26003
|
+
r[112] !== P0 || r[113] !== F0 ? (L0 = (0, import_jsx_runtime.jsx)("div", {
|
|
26004
|
+
className: P0,
|
|
26005
|
+
children: F0
|
|
26006
|
+
}), r[112] = P0, r[113] = F0, r[114] = L0) : L0 = r[114];
|
|
26007
|
+
let R0;
|
|
26008
|
+
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
26009
|
children: [
|
|
25995
|
-
|
|
26010
|
+
I0,
|
|
26011
|
+
A0,
|
|
26012
|
+
j0,
|
|
25996
26013
|
M0,
|
|
25997
26014
|
N0,
|
|
25998
|
-
|
|
25999
|
-
F0,
|
|
26000
|
-
z0
|
|
26015
|
+
L0
|
|
26001
26016
|
]
|
|
26002
|
-
}), r[115] =
|
|
26017
|
+
}), 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
26018
|
};
|
|
26004
26019
|
function _temp$12(e) {
|
|
26005
26020
|
return e.path;
|
|
26006
26021
|
}
|
|
26007
|
-
function _temp2$
|
|
26022
|
+
function _temp2$6(e) {
|
|
26008
26023
|
return (0, import_jsx_runtime.jsx)("li", {
|
|
26009
26024
|
children: e.path
|
|
26010
26025
|
}, e.id);
|
|
@@ -31389,55 +31404,55 @@ ${c}
|
|
|
31389
31404
|
return typeof S == "function" ? S : noop$2;
|
|
31390
31405
|
}, [
|
|
31391
31406
|
S
|
|
31392
|
-
]), q = (0, import_react.useRef)(null), Z = (0, import_react.useRef)(null),
|
|
31393
|
-
!
|
|
31394
|
-
Z.current && (Z.current.files.length || (
|
|
31407
|
+
]), 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() {
|
|
31408
|
+
!D0.current && E0 && setTimeout(function() {
|
|
31409
|
+
Z.current && (Z.current.files.length || (w0({
|
|
31395
31410
|
type: "closeDialog"
|
|
31396
31411
|
}), G()));
|
|
31397
31412
|
}, 300);
|
|
31398
31413
|
};
|
|
31399
31414
|
(0, import_react.useEffect)(function() {
|
|
31400
|
-
return window.addEventListener("focus",
|
|
31401
|
-
window.removeEventListener("focus",
|
|
31415
|
+
return window.addEventListener("focus", O0, false), function() {
|
|
31416
|
+
window.removeEventListener("focus", O0, false);
|
|
31402
31417
|
};
|
|
31403
31418
|
}, [
|
|
31404
31419
|
Z,
|
|
31405
|
-
|
|
31420
|
+
E0,
|
|
31406
31421
|
G,
|
|
31407
|
-
|
|
31422
|
+
D0
|
|
31408
31423
|
]);
|
|
31409
|
-
var
|
|
31410
|
-
q.current && q.current.contains(e2.target) || (e2.preventDefault(),
|
|
31424
|
+
var k0 = (0, import_react.useRef)([]), A0 = (0, import_react.useRef)([]), j0 = function(e2) {
|
|
31425
|
+
q.current && q.current.contains(e2.target) || (e2.preventDefault(), k0.current = []);
|
|
31411
31426
|
};
|
|
31412
31427
|
(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",
|
|
31428
|
+
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop", j0, false)), function() {
|
|
31429
|
+
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop", j0));
|
|
31415
31430
|
};
|
|
31416
31431
|
}, [
|
|
31417
31432
|
q,
|
|
31418
31433
|
O
|
|
31419
31434
|
]), (0, import_react.useEffect)(function() {
|
|
31420
31435
|
var e2 = function(e3) {
|
|
31421
|
-
|
|
31436
|
+
A0.current = [].concat(_toConsumableArray(A0.current), [
|
|
31422
31437
|
e3.target
|
|
31423
|
-
]), isEvtWithFiles(e3) &&
|
|
31438
|
+
]), isEvtWithFiles(e3) && w0({
|
|
31424
31439
|
isDragGlobal: true,
|
|
31425
31440
|
type: "setDragGlobal"
|
|
31426
31441
|
});
|
|
31427
31442
|
}, r2 = function(e3) {
|
|
31428
|
-
|
|
31443
|
+
A0.current = A0.current.filter(function(r3) {
|
|
31429
31444
|
return r3 !== e3.target && r3 !== null;
|
|
31430
|
-
}), !(
|
|
31445
|
+
}), !(A0.current.length > 0) && w0({
|
|
31431
31446
|
isDragGlobal: false,
|
|
31432
31447
|
type: "setDragGlobal"
|
|
31433
31448
|
});
|
|
31434
31449
|
}, c2 = function() {
|
|
31435
|
-
|
|
31450
|
+
A0.current = [], w0({
|
|
31436
31451
|
isDragGlobal: false,
|
|
31437
31452
|
type: "setDragGlobal"
|
|
31438
31453
|
});
|
|
31439
31454
|
}, l2 = function() {
|
|
31440
|
-
|
|
31455
|
+
A0.current = [], w0({
|
|
31441
31456
|
isDragGlobal: false,
|
|
31442
31457
|
type: "setDragGlobal"
|
|
31443
31458
|
});
|
|
@@ -31455,12 +31470,12 @@ ${c}
|
|
|
31455
31470
|
E,
|
|
31456
31471
|
l
|
|
31457
31472
|
]);
|
|
31458
|
-
var
|
|
31473
|
+
var M0 = (0, import_react.useCallback)(function(e2) {
|
|
31459
31474
|
R ? R(e2) : console.error(e2);
|
|
31460
31475
|
}, [
|
|
31461
31476
|
R
|
|
31462
|
-
]),
|
|
31463
|
-
e2.preventDefault(), e2.persist(),
|
|
31477
|
+
]), N0 = (0, import_react.useCallback)(function(e2) {
|
|
31478
|
+
e2.preventDefault(), e2.persist(), K0(e2), k0.current = [].concat(_toConsumableArray(k0.current), [
|
|
31464
31479
|
e2.target
|
|
31465
31480
|
]), isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
31466
31481
|
if (!(isPropagationStopped(e2) && !L)) {
|
|
@@ -31473,7 +31488,7 @@ ${c}
|
|
|
31473
31488
|
maxFiles: m,
|
|
31474
31489
|
validator: z
|
|
31475
31490
|
});
|
|
31476
|
-
|
|
31491
|
+
w0({
|
|
31477
31492
|
isDragAccept: l2,
|
|
31478
31493
|
isDragReject: c2 > 0 && !l2,
|
|
31479
31494
|
isDragActive: true,
|
|
@@ -31481,12 +31496,12 @@ ${c}
|
|
|
31481
31496
|
}), h && h(e2);
|
|
31482
31497
|
}
|
|
31483
31498
|
}).catch(function(e3) {
|
|
31484
|
-
return
|
|
31499
|
+
return M0(e3);
|
|
31485
31500
|
});
|
|
31486
31501
|
}, [
|
|
31487
31502
|
u,
|
|
31488
31503
|
h,
|
|
31489
|
-
|
|
31504
|
+
M0,
|
|
31490
31505
|
L,
|
|
31491
31506
|
B,
|
|
31492
31507
|
f,
|
|
@@ -31494,8 +31509,8 @@ ${c}
|
|
|
31494
31509
|
p,
|
|
31495
31510
|
m,
|
|
31496
31511
|
z
|
|
31497
|
-
]),
|
|
31498
|
-
e2.preventDefault(), e2.persist(),
|
|
31512
|
+
]), P0 = (0, import_react.useCallback)(function(e2) {
|
|
31513
|
+
e2.preventDefault(), e2.persist(), K0(e2);
|
|
31499
31514
|
var r2 = isEvtWithFiles(e2);
|
|
31500
31515
|
if (r2 && e2.dataTransfer) try {
|
|
31501
31516
|
e2.dataTransfer.dropEffect = "copy";
|
|
@@ -31505,12 +31520,12 @@ ${c}
|
|
|
31505
31520
|
}, [
|
|
31506
31521
|
_,
|
|
31507
31522
|
L
|
|
31508
|
-
]),
|
|
31509
|
-
e2.preventDefault(), e2.persist(),
|
|
31510
|
-
var r2 =
|
|
31523
|
+
]), F0 = (0, import_react.useCallback)(function(e2) {
|
|
31524
|
+
e2.preventDefault(), e2.persist(), K0(e2);
|
|
31525
|
+
var r2 = k0.current.filter(function(e3) {
|
|
31511
31526
|
return q.current && q.current.contains(e3);
|
|
31512
31527
|
}), c2 = r2.indexOf(e2.target);
|
|
31513
|
-
c2 !== -1 && r2.splice(c2, 1),
|
|
31528
|
+
c2 !== -1 && r2.splice(c2, 1), k0.current = r2, !(r2.length > 0) && (w0({
|
|
31514
31529
|
type: "setDraggedFiles",
|
|
31515
31530
|
isDragActive: false,
|
|
31516
31531
|
isDragAccept: false,
|
|
@@ -31520,7 +31535,7 @@ ${c}
|
|
|
31520
31535
|
q,
|
|
31521
31536
|
g,
|
|
31522
31537
|
L
|
|
31523
|
-
]),
|
|
31538
|
+
]), I0 = (0, import_react.useCallback)(function(e2, r2) {
|
|
31524
31539
|
var c2 = [], l2 = [];
|
|
31525
31540
|
e2.forEach(function(e3) {
|
|
31526
31541
|
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 +31559,14 @@ ${c}
|
|
|
31544
31559
|
TOO_MANY_FILES_REJECTION
|
|
31545
31560
|
]
|
|
31546
31561
|
});
|
|
31547
|
-
}), c2.splice(0)),
|
|
31562
|
+
}), c2.splice(0)), w0({
|
|
31548
31563
|
acceptedFiles: c2,
|
|
31549
31564
|
fileRejections: l2,
|
|
31550
31565
|
isDragReject: l2.length > 0,
|
|
31551
31566
|
type: "setFiles"
|
|
31552
31567
|
}), v && v(c2, l2, r2), l2.length > 0 && b && b(l2, r2), c2.length > 0 && y && y(c2, r2);
|
|
31553
31568
|
}, [
|
|
31554
|
-
|
|
31569
|
+
w0,
|
|
31555
31570
|
p,
|
|
31556
31571
|
B,
|
|
31557
31572
|
f,
|
|
@@ -31561,22 +31576,22 @@ ${c}
|
|
|
31561
31576
|
y,
|
|
31562
31577
|
b,
|
|
31563
31578
|
z
|
|
31564
|
-
]),
|
|
31565
|
-
e2.preventDefault(), e2.persist(),
|
|
31566
|
-
isPropagationStopped(e2) && !L ||
|
|
31579
|
+
]), L0 = (0, import_react.useCallback)(function(e2) {
|
|
31580
|
+
e2.preventDefault(), e2.persist(), K0(e2), k0.current = [], isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
31581
|
+
isPropagationStopped(e2) && !L || I0(r2, e2);
|
|
31567
31582
|
}).catch(function(e3) {
|
|
31568
|
-
return
|
|
31569
|
-
}),
|
|
31583
|
+
return M0(e3);
|
|
31584
|
+
}), w0({
|
|
31570
31585
|
type: "reset"
|
|
31571
31586
|
});
|
|
31572
31587
|
}, [
|
|
31573
31588
|
u,
|
|
31574
|
-
|
|
31575
|
-
|
|
31589
|
+
I0,
|
|
31590
|
+
M0,
|
|
31576
31591
|
L
|
|
31577
|
-
]),
|
|
31578
|
-
if (
|
|
31579
|
-
|
|
31592
|
+
]), R0 = (0, import_react.useCallback)(function() {
|
|
31593
|
+
if (D0.current) {
|
|
31594
|
+
w0({
|
|
31580
31595
|
type: "openDialog"
|
|
31581
31596
|
}), W();
|
|
31582
31597
|
var e2 = {
|
|
@@ -31586,66 +31601,66 @@ ${c}
|
|
|
31586
31601
|
window.showOpenFilePicker(e2).then(function(e3) {
|
|
31587
31602
|
return u(e3);
|
|
31588
31603
|
}).then(function(e3) {
|
|
31589
|
-
|
|
31604
|
+
I0(e3, null), w0({
|
|
31590
31605
|
type: "closeDialog"
|
|
31591
31606
|
});
|
|
31592
31607
|
}).catch(function(e3) {
|
|
31593
|
-
isAbort(e3) ? (G(e3),
|
|
31608
|
+
isAbort(e3) ? (G(e3), w0({
|
|
31594
31609
|
type: "closeDialog"
|
|
31595
|
-
})) : isSecurityError(e3) ? (
|
|
31610
|
+
})) : 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
31611
|
});
|
|
31597
31612
|
return;
|
|
31598
31613
|
}
|
|
31599
|
-
Z.current && (
|
|
31614
|
+
Z.current && (w0({
|
|
31600
31615
|
type: "openDialog"
|
|
31601
31616
|
}), W(), Z.current.value = null, Z.current.click());
|
|
31602
31617
|
}, [
|
|
31603
|
-
|
|
31618
|
+
w0,
|
|
31604
31619
|
W,
|
|
31605
31620
|
G,
|
|
31606
31621
|
T,
|
|
31607
|
-
|
|
31608
|
-
|
|
31622
|
+
I0,
|
|
31623
|
+
M0,
|
|
31609
31624
|
H,
|
|
31610
31625
|
p
|
|
31611
|
-
]),
|
|
31612
|
-
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(),
|
|
31626
|
+
]), z0 = (0, import_react.useCallback)(function(e2) {
|
|
31627
|
+
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(), R0());
|
|
31613
31628
|
}, [
|
|
31614
31629
|
q,
|
|
31615
|
-
|
|
31616
|
-
]),
|
|
31617
|
-
|
|
31630
|
+
R0
|
|
31631
|
+
]), B0 = (0, import_react.useCallback)(function() {
|
|
31632
|
+
w0({
|
|
31618
31633
|
type: "focus"
|
|
31619
31634
|
});
|
|
31620
|
-
}, []),
|
|
31621
|
-
|
|
31635
|
+
}, []), V0 = (0, import_react.useCallback)(function() {
|
|
31636
|
+
w0({
|
|
31622
31637
|
type: "blur"
|
|
31623
31638
|
});
|
|
31624
|
-
}, []),
|
|
31625
|
-
j || (isIeOrEdge() ? setTimeout(
|
|
31639
|
+
}, []), H0 = (0, import_react.useCallback)(function() {
|
|
31640
|
+
j || (isIeOrEdge() ? setTimeout(R0, 0) : R0());
|
|
31626
31641
|
}, [
|
|
31627
31642
|
j,
|
|
31628
|
-
|
|
31629
|
-
]),
|
|
31643
|
+
R0
|
|
31644
|
+
]), U0 = function(e2) {
|
|
31630
31645
|
return l ? null : e2;
|
|
31646
|
+
}, W0 = function(e2) {
|
|
31647
|
+
return M ? null : U0(e2);
|
|
31648
|
+
}, G0 = function(e2) {
|
|
31649
|
+
return I ? null : U0(e2);
|
|
31631
31650
|
}, K0 = function(e2) {
|
|
31632
|
-
return M ? null : G0(e2);
|
|
31633
|
-
}, q0 = function(e2) {
|
|
31634
|
-
return I ? null : G0(e2);
|
|
31635
|
-
}, J0 = function(e2) {
|
|
31636
31651
|
L && e2.stopPropagation();
|
|
31637
|
-
},
|
|
31652
|
+
}, q0 = (0, import_react.useMemo)(function() {
|
|
31638
31653
|
return function() {
|
|
31639
31654
|
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
31655
|
return _objectSpread$7(_objectSpread$7(_defineProperty$10({
|
|
31641
|
-
onKeyDown:
|
|
31642
|
-
onFocus:
|
|
31643
|
-
onBlur:
|
|
31644
|
-
onClick:
|
|
31645
|
-
onDragEnter:
|
|
31646
|
-
onDragOver:
|
|
31647
|
-
onDragLeave:
|
|
31648
|
-
onDrop:
|
|
31656
|
+
onKeyDown: W0(composeEventHandlers(d2, z0)),
|
|
31657
|
+
onFocus: W0(composeEventHandlers(f2, B0)),
|
|
31658
|
+
onBlur: W0(composeEventHandlers(p2, V0)),
|
|
31659
|
+
onClick: U0(composeEventHandlers(m2, H0)),
|
|
31660
|
+
onDragEnter: G0(composeEventHandlers(h2, N0)),
|
|
31661
|
+
onDragOver: G0(composeEventHandlers(g2, P0)),
|
|
31662
|
+
onDragLeave: G0(composeEventHandlers(_2, F0)),
|
|
31663
|
+
onDrop: G0(composeEventHandlers(v2, L0)),
|
|
31649
31664
|
role: typeof u2 == "string" && u2 !== "" ? u2 : "presentation"
|
|
31650
31665
|
}, c2, q), !l && !M ? {
|
|
31651
31666
|
tabIndex: 0
|
|
@@ -31653,20 +31668,20 @@ ${c}
|
|
|
31653
31668
|
};
|
|
31654
31669
|
}, [
|
|
31655
31670
|
q,
|
|
31671
|
+
z0,
|
|
31672
|
+
B0,
|
|
31656
31673
|
V0,
|
|
31657
31674
|
H0,
|
|
31658
|
-
|
|
31659
|
-
|
|
31675
|
+
N0,
|
|
31676
|
+
P0,
|
|
31660
31677
|
F0,
|
|
31661
|
-
I0,
|
|
31662
31678
|
L0,
|
|
31663
|
-
z0,
|
|
31664
31679
|
M,
|
|
31665
31680
|
I,
|
|
31666
31681
|
l
|
|
31667
|
-
]),
|
|
31682
|
+
]), J0 = (0, import_react.useCallback)(function(e2) {
|
|
31668
31683
|
e2.stopPropagation();
|
|
31669
|
-
}, []),
|
|
31684
|
+
}, []), Y0 = (0, import_react.useMemo)(function() {
|
|
31670
31685
|
return function() {
|
|
31671
31686
|
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
31687
|
return _objectSpread$7(_objectSpread$7({}, _defineProperty$10({
|
|
@@ -31685,8 +31700,8 @@ ${c}
|
|
|
31685
31700
|
width: "1px",
|
|
31686
31701
|
whiteSpace: "nowrap"
|
|
31687
31702
|
},
|
|
31688
|
-
onChange:
|
|
31689
|
-
onClick:
|
|
31703
|
+
onChange: U0(composeEventHandlers(l2, L0)),
|
|
31704
|
+
onClick: U0(composeEventHandlers(u2, J0)),
|
|
31690
31705
|
tabIndex: -1
|
|
31691
31706
|
}, c2, Z)), d2);
|
|
31692
31707
|
};
|
|
@@ -31694,16 +31709,16 @@ ${c}
|
|
|
31694
31709
|
Z,
|
|
31695
31710
|
c,
|
|
31696
31711
|
p,
|
|
31697
|
-
|
|
31712
|
+
L0,
|
|
31698
31713
|
l
|
|
31699
31714
|
]);
|
|
31700
|
-
return _objectSpread$7(_objectSpread$7({},
|
|
31701
|
-
isFocused:
|
|
31702
|
-
getRootProps:
|
|
31703
|
-
getInputProps:
|
|
31715
|
+
return _objectSpread$7(_objectSpread$7({}, C0), {}, {
|
|
31716
|
+
isFocused: T0 && !l,
|
|
31717
|
+
getRootProps: q0,
|
|
31718
|
+
getInputProps: Y0,
|
|
31704
31719
|
rootRef: q,
|
|
31705
31720
|
inputRef: Z,
|
|
31706
|
-
open:
|
|
31721
|
+
open: U0(R0)
|
|
31707
31722
|
});
|
|
31708
31723
|
}
|
|
31709
31724
|
function reducer$2(e, r) {
|
|
@@ -31935,47 +31950,47 @@ ${c}
|
|
|
31935
31950
|
html: I
|
|
31936
31951
|
})
|
|
31937
31952
|
}), 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] ===
|
|
31953
|
+
let q = w && "text-primary", Z = T && "text-destructive", S0;
|
|
31954
|
+
r[48] !== q || r[49] !== Z ? (S0 = cn(q, Z), r[48] = q, r[49] = Z, r[50] = S0) : S0 = r[50];
|
|
31955
|
+
let C0;
|
|
31956
|
+
r[51] === S0 ? C0 = r[52] : (C0 = (0, import_jsx_runtime.jsx)(Upload, {
|
|
31942
31957
|
strokeWidth: 1.4,
|
|
31943
|
-
className:
|
|
31944
|
-
}), r[51] =
|
|
31945
|
-
let
|
|
31946
|
-
r[53] !==
|
|
31947
|
-
let
|
|
31948
|
-
r[56] ===
|
|
31958
|
+
className: S0
|
|
31959
|
+
}), r[51] = S0, r[52] = C0);
|
|
31960
|
+
let w0 = w && "text-primary", T0 = T && "text-destructive", E0;
|
|
31961
|
+
r[53] !== w0 || r[54] !== T0 ? (E0 = cn(w0, T0), r[53] = w0, r[54] = T0, r[55] = E0) : E0 = r[55];
|
|
31962
|
+
let D0;
|
|
31963
|
+
r[56] === E0 ? D0 = r[57] : (D0 = (0, import_jsx_runtime.jsx)(SquareDashedMousePointer, {
|
|
31949
31964
|
strokeWidth: 1.4,
|
|
31950
|
-
className:
|
|
31951
|
-
}), r[56] =
|
|
31952
|
-
let
|
|
31953
|
-
r[58] !==
|
|
31965
|
+
className: E0
|
|
31966
|
+
}), r[56] = E0, r[57] = D0);
|
|
31967
|
+
let O0;
|
|
31968
|
+
r[58] !== C0 || r[59] !== D0 ? (O0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31954
31969
|
className: "flex flex-row items-center justify-center grow gap-3",
|
|
31955
31970
|
children: [
|
|
31956
|
-
|
|
31957
|
-
|
|
31971
|
+
C0,
|
|
31972
|
+
D0
|
|
31958
31973
|
]
|
|
31959
|
-
}), r[58] =
|
|
31960
|
-
let
|
|
31961
|
-
r[61] !== G || r[62] !==
|
|
31974
|
+
}), r[58] = C0, r[59] = D0, r[60] = O0) : O0 = r[60];
|
|
31975
|
+
let k0;
|
|
31976
|
+
r[61] !== G || r[62] !== O0 ? (k0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31962
31977
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
31963
31978
|
children: [
|
|
31964
31979
|
G,
|
|
31965
|
-
|
|
31980
|
+
O0
|
|
31966
31981
|
]
|
|
31967
|
-
}), r[61] = G, r[62] =
|
|
31968
|
-
let
|
|
31969
|
-
r[64] !== W || r[65] !==
|
|
31982
|
+
}), r[61] = G, r[62] = O0, r[63] = k0) : k0 = r[63];
|
|
31983
|
+
let A0;
|
|
31984
|
+
r[64] !== W || r[65] !== k0 || r[66] !== z || r[67] !== B ? (A0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31970
31985
|
className: z,
|
|
31971
31986
|
...B,
|
|
31972
31987
|
children: [
|
|
31973
31988
|
W,
|
|
31974
|
-
|
|
31989
|
+
k0
|
|
31975
31990
|
]
|
|
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 ? (
|
|
31991
|
+
}), r[64] = W, r[65] = k0, r[66] = z, r[67] = B, r[68] = A0) : A0 = r[68];
|
|
31992
|
+
let j0;
|
|
31993
|
+
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
31994
|
className: "flex flex-row gap-1",
|
|
31980
31995
|
children: [
|
|
31981
31996
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -32011,17 +32026,17 @@ ${c}
|
|
|
32011
32026
|
})
|
|
32012
32027
|
})
|
|
32013
32028
|
]
|
|
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] !==
|
|
32029
|
+
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] = j0) : j0 = r[74];
|
|
32030
|
+
let M0;
|
|
32031
|
+
return r[75] !== A0 || r[76] !== j0 ? (M0 = (0, import_jsx_runtime.jsx)("section", {
|
|
32017
32032
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
32018
32033
|
className: "flex flex-col items-start justify-start grow gap-3",
|
|
32019
32034
|
children: [
|
|
32020
|
-
|
|
32021
|
-
|
|
32035
|
+
A0,
|
|
32036
|
+
j0
|
|
32022
32037
|
]
|
|
32023
32038
|
})
|
|
32024
|
-
}), r[75] =
|
|
32039
|
+
}), r[75] = A0, r[76] = j0, r[77] = M0) : M0 = r[77], M0;
|
|
32025
32040
|
};
|
|
32026
32041
|
function _temp$11(e) {
|
|
32027
32042
|
Logger.error(e), toast({
|
|
@@ -32030,7 +32045,7 @@ ${c}
|
|
|
32030
32045
|
variant: "danger"
|
|
32031
32046
|
});
|
|
32032
32047
|
}
|
|
32033
|
-
function _temp2$
|
|
32048
|
+
function _temp2$5(e) {
|
|
32034
32049
|
return e.message;
|
|
32035
32050
|
}
|
|
32036
32051
|
function _temp3$4(e) {
|
|
@@ -32038,7 +32053,7 @@ ${c}
|
|
|
32038
32053
|
children: [
|
|
32039
32054
|
e.file.name,
|
|
32040
32055
|
" (",
|
|
32041
|
-
e.errors.map(_temp2$
|
|
32056
|
+
e.errors.map(_temp2$5).join(", "),
|
|
32042
32057
|
")"
|
|
32043
32058
|
]
|
|
32044
32059
|
}, e.file.name);
|
|
@@ -32124,68 +32139,68 @@ ${c}
|
|
|
32124
32139
|
html: f
|
|
32125
32140
|
})
|
|
32126
32141
|
}), r[13] = f, r[14] = Z);
|
|
32127
|
-
let
|
|
32128
|
-
r[15] === L ?
|
|
32142
|
+
let S0;
|
|
32143
|
+
r[15] === L ? S0 = r[16] : (S0 = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
32129
32144
|
kind: "danger",
|
|
32130
32145
|
className: "rounded",
|
|
32131
32146
|
children: L ?? "Invalid input"
|
|
32132
|
-
}), r[15] = L, r[16] =
|
|
32133
|
-
let
|
|
32134
|
-
r[17] === c ?
|
|
32147
|
+
}), r[15] = L, r[16] = S0);
|
|
32148
|
+
let C0;
|
|
32149
|
+
r[17] === c ? C0 = r[18] : (C0 = (0, import_jsx_runtime.jsx)("div", {
|
|
32135
32150
|
children: c
|
|
32136
|
-
}), r[17] = c, r[18] =
|
|
32137
|
-
let
|
|
32138
|
-
r[19] !== S || r[20] !== T || r[21] !== b ? (
|
|
32151
|
+
}), r[17] = c, r[18] = C0);
|
|
32152
|
+
let w0;
|
|
32153
|
+
r[19] !== S || r[20] !== T || r[21] !== b ? (w0 = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
32139
32154
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
32140
32155
|
variant: "text",
|
|
32141
32156
|
onClick: (e2) => {
|
|
32142
32157
|
e2.preventDefault(), B();
|
|
32143
32158
|
},
|
|
32144
32159
|
children: S
|
|
32145
|
-
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] =
|
|
32146
|
-
let
|
|
32147
|
-
r[23] === h ?
|
|
32160
|
+
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] = w0) : w0 = r[22];
|
|
32161
|
+
let T0 = v || h, E0;
|
|
32162
|
+
r[23] === h ? E0 = r[24] : (E0 = h && (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
32148
32163
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
32149
|
-
}), r[23] = h, r[24] =
|
|
32150
|
-
let
|
|
32151
|
-
r[25] !== g || r[26] !==
|
|
32164
|
+
}), r[23] = h, r[24] = E0);
|
|
32165
|
+
let D0;
|
|
32166
|
+
r[25] !== g || r[26] !== T0 || r[27] !== E0 || r[28] !== I ? (D0 = (0, import_jsx_runtime.jsxs)(Button, {
|
|
32152
32167
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
32153
32168
|
variant: I,
|
|
32154
|
-
disabled:
|
|
32169
|
+
disabled: T0,
|
|
32155
32170
|
type: "submit",
|
|
32156
32171
|
children: [
|
|
32157
|
-
|
|
32172
|
+
E0,
|
|
32158
32173
|
g
|
|
32159
32174
|
]
|
|
32160
|
-
}), r[25] = g, r[26] =
|
|
32161
|
-
let
|
|
32162
|
-
r[30] !== _ || r[31] !==
|
|
32163
|
-
let
|
|
32164
|
-
r[33] !==
|
|
32175
|
+
}), r[25] = g, r[26] = T0, r[27] = E0, r[28] = I, r[29] = D0) : D0 = r[29];
|
|
32176
|
+
let O0;
|
|
32177
|
+
r[30] !== _ || r[31] !== D0 ? (O0 = withTooltip(D0, _), r[30] = _, r[31] = D0, r[32] = O0) : O0 = r[32];
|
|
32178
|
+
let k0;
|
|
32179
|
+
r[33] !== O0 || r[34] !== w0 ? (k0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
32165
32180
|
className: "flex justify-end gap-2 font-code",
|
|
32166
32181
|
children: [
|
|
32167
|
-
|
|
32168
|
-
|
|
32182
|
+
w0,
|
|
32183
|
+
O0
|
|
32169
32184
|
]
|
|
32170
|
-
}), r[33] =
|
|
32171
|
-
let
|
|
32172
|
-
r[36] !==
|
|
32185
|
+
}), r[33] = O0, r[34] = w0, r[35] = k0) : k0 = r[35];
|
|
32186
|
+
let A0;
|
|
32187
|
+
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
32188
|
className: G,
|
|
32174
32189
|
onKeyDown: q,
|
|
32175
32190
|
children: [
|
|
32176
32191
|
Z,
|
|
32177
|
-
|
|
32178
|
-
|
|
32179
|
-
|
|
32192
|
+
S0,
|
|
32193
|
+
C0,
|
|
32194
|
+
k0
|
|
32180
32195
|
]
|
|
32181
|
-
}), r[36] =
|
|
32182
|
-
let
|
|
32183
|
-
return r[43] !==
|
|
32196
|
+
}), r[36] = k0, r[37] = G, r[38] = q, r[39] = Z, r[40] = S0, r[41] = C0, r[42] = A0) : A0 = r[42];
|
|
32197
|
+
let j0;
|
|
32198
|
+
return r[43] !== A0 || r[44] !== H ? (j0 = (0, import_jsx_runtime.jsx)("form", {
|
|
32184
32199
|
className: "contents",
|
|
32185
32200
|
ref: j,
|
|
32186
32201
|
onSubmit: H,
|
|
32187
|
-
children:
|
|
32188
|
-
}), r[43] =
|
|
32202
|
+
children: A0
|
|
32203
|
+
}), r[43] = A0, r[44] = H, r[45] = j0) : j0 = r[45], j0;
|
|
32189
32204
|
};
|
|
32190
32205
|
var Form = (e) => {
|
|
32191
32206
|
let r = (0, import_compiler_runtime$42.c)(24), c, l, u, d, f, p;
|
|
@@ -32515,7 +32530,7 @@ ${c}
|
|
|
32515
32530
|
let E = useEvent_default(T), O;
|
|
32516
32531
|
r[8] === v ? O = r[9] : (O = () => {
|
|
32517
32532
|
var _a3, _b3;
|
|
32518
|
-
(_a3 = p.current) == null ? void 0 : _a3.stream.getTracks().forEach(_temp2$
|
|
32533
|
+
(_a3 = p.current) == null ? void 0 : _a3.stream.getTracks().forEach(_temp2$4), (_b3 = p.current) == null ? void 0 : _b3.stop(), v.stop();
|
|
32519
32534
|
}, r[8] = v, r[9] = O), useOnUnmount(O);
|
|
32520
32535
|
let j;
|
|
32521
32536
|
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 +32544,7 @@ ${c}
|
|
|
32529
32544
|
mediaRecorder: p
|
|
32530
32545
|
}, 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
32546
|
}
|
|
32532
|
-
function _temp2$
|
|
32547
|
+
function _temp2$4(e) {
|
|
32533
32548
|
return e.stop();
|
|
32534
32549
|
}
|
|
32535
32550
|
function _temp$9(e) {
|
|
@@ -33865,7 +33880,7 @@ ${c}
|
|
|
33865
33880
|
setValue: e.setValue
|
|
33866
33881
|
});
|
|
33867
33882
|
}
|
|
33868
|
-
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-
|
|
33883
|
+
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-4wn-lMVn.js").then((e) => ({
|
|
33869
33884
|
default: e.Plot
|
|
33870
33885
|
})));
|
|
33871
33886
|
const PlotlyComponent = (0, import_react.memo)((e) => {
|
|
@@ -33929,7 +33944,7 @@ ${c}
|
|
|
33929
33944
|
}, r[23] = u, r[24] = R);
|
|
33930
33945
|
let z;
|
|
33931
33946
|
r[25] === u ? z = r[26] : (z = () => {
|
|
33932
|
-
u(_temp2$
|
|
33947
|
+
u(_temp2$3);
|
|
33933
33948
|
}, r[25] = u, r[26] = z);
|
|
33934
33949
|
let B = useEvent_default(z), H;
|
|
33935
33950
|
r[27] === u ? H = r[28] : (H = (e2) => {
|
|
@@ -33958,8 +33973,8 @@ ${c}
|
|
|
33958
33973
|
indices: c2
|
|
33959
33974
|
}));
|
|
33960
33975
|
}, r[31] = u, r[32] = Z);
|
|
33961
|
-
let
|
|
33962
|
-
r[33] === u ?
|
|
33976
|
+
let S0 = useEvent_default(Z), C0;
|
|
33977
|
+
r[33] === u ? C0 = r[34] : (C0 = (e2) => {
|
|
33963
33978
|
e2 && u((r2) => ({
|
|
33964
33979
|
...r2,
|
|
33965
33980
|
selections: "selections" in e2 ? e2.selections : [],
|
|
@@ -33968,9 +33983,9 @@ ${c}
|
|
|
33968
33983
|
range: e2.range,
|
|
33969
33984
|
lasso: "lassoPoints" in e2 ? e2.lassoPoints : void 0
|
|
33970
33985
|
}));
|
|
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] !==
|
|
33986
|
+
}, r[33] = u, r[34] = C0);
|
|
33987
|
+
let w0 = useEvent_default(C0), T0 = m.frames ?? void 0, E0 = useEvent_default(_temp3$3), D0;
|
|
33988
|
+
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
33989
|
...m,
|
|
33975
33990
|
layout: h,
|
|
33976
33991
|
onRelayout: R,
|
|
@@ -33978,19 +33993,19 @@ ${c}
|
|
|
33978
33993
|
onTreemapClick: W,
|
|
33979
33994
|
onSunburstClick: q,
|
|
33980
33995
|
config: L,
|
|
33981
|
-
onClick:
|
|
33982
|
-
onSelected:
|
|
33996
|
+
onClick: S0,
|
|
33997
|
+
onSelected: w0,
|
|
33983
33998
|
className: "w-full",
|
|
33984
33999
|
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] =
|
|
34000
|
+
frames: T0,
|
|
34001
|
+
onError: E0
|
|
34002
|
+
}), 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
34003
|
});
|
|
33989
34004
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
33990
34005
|
function _temp$8(e) {
|
|
33991
34006
|
return e.includes("xaxis") || e.includes("yaxis");
|
|
33992
34007
|
}
|
|
33993
|
-
function _temp2$
|
|
34008
|
+
function _temp2$3(e) {
|
|
33994
34009
|
return {
|
|
33995
34010
|
...e,
|
|
33996
34011
|
selections: Arrays.EMPTY,
|
|
@@ -34129,8 +34144,8 @@ ${c}
|
|
|
34129
34144
|
onPointerUp: H
|
|
34130
34145
|
})
|
|
34131
34146
|
}), 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 ? (
|
|
34147
|
+
let S0;
|
|
34148
|
+
c[23] !== m.setFalse || c[24] !== m.setTrue ? (S0 = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
34134
34149
|
asChild: true,
|
|
34135
34150
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
34136
34151
|
"data-testid": "thumb",
|
|
@@ -34140,30 +34155,30 @@ ${c}
|
|
|
34140
34155
|
onMouseEnter: m.setTrue,
|
|
34141
34156
|
onMouseLeave: m.setFalse
|
|
34142
34157
|
})
|
|
34143
|
-
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] =
|
|
34144
|
-
let
|
|
34145
|
-
c[26] !== h || c[27] !== u.value || c[28] !== d ? (
|
|
34158
|
+
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] = S0) : S0 = c[25];
|
|
34159
|
+
let C0;
|
|
34160
|
+
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
34161
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
34147
34162
|
locale: h
|
|
34148
34163
|
})
|
|
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] !==
|
|
34164
|
+
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] = C0) : C0 = c[29];
|
|
34165
|
+
let w0;
|
|
34166
|
+
c[30] === C0 ? w0 = c[31] : (w0 = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
34167
|
+
children: C0
|
|
34168
|
+
}), c[30] = C0, c[31] = w0);
|
|
34169
|
+
let T0;
|
|
34170
|
+
c[32] !== f || c[33] !== S0 || c[34] !== w0 ? (T0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34156
34171
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
34157
34172
|
delayDuration: 0,
|
|
34158
34173
|
open: f,
|
|
34159
34174
|
children: [
|
|
34160
|
-
|
|
34161
|
-
|
|
34175
|
+
S0,
|
|
34176
|
+
w0
|
|
34162
34177
|
]
|
|
34163
34178
|
})
|
|
34164
|
-
}), c[32] = f, c[33] =
|
|
34165
|
-
let
|
|
34166
|
-
c[36] !== m.setFalse || c[37] !== m.setTrue ? (
|
|
34179
|
+
}), c[32] = f, c[33] = S0, c[34] = w0, c[35] = T0) : T0 = c[35];
|
|
34180
|
+
let E0;
|
|
34181
|
+
c[36] !== m.setFalse || c[37] !== m.setTrue ? (E0 = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
34167
34182
|
asChild: true,
|
|
34168
34183
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
34169
34184
|
"data-testid": "thumb",
|
|
@@ -34173,39 +34188,39 @@ ${c}
|
|
|
34173
34188
|
onMouseEnter: m.setTrue,
|
|
34174
34189
|
onMouseLeave: m.setFalse
|
|
34175
34190
|
})
|
|
34176
|
-
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] =
|
|
34177
|
-
let
|
|
34178
|
-
c[39] !== h || c[40] !== u.value || c[41] !== d ? (
|
|
34191
|
+
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] = E0) : E0 = c[38];
|
|
34192
|
+
let D0;
|
|
34193
|
+
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
34194
|
children: prettyScientificNumber(d(u.value[1]), {
|
|
34180
34195
|
locale: h
|
|
34181
34196
|
})
|
|
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] !==
|
|
34197
|
+
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] = D0) : D0 = c[42];
|
|
34198
|
+
let O0;
|
|
34199
|
+
c[43] === D0 ? O0 = c[44] : (O0 = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
34200
|
+
children: D0
|
|
34201
|
+
}), c[43] = D0, c[44] = O0);
|
|
34202
|
+
let k0;
|
|
34203
|
+
c[45] !== f || c[46] !== E0 || c[47] !== O0 ? (k0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34189
34204
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
34190
34205
|
delayDuration: 0,
|
|
34191
34206
|
open: f,
|
|
34192
34207
|
children: [
|
|
34193
|
-
|
|
34194
|
-
|
|
34208
|
+
E0,
|
|
34209
|
+
O0
|
|
34195
34210
|
]
|
|
34196
34211
|
})
|
|
34197
|
-
}), c[45] = f, c[46] =
|
|
34198
|
-
let
|
|
34199
|
-
return c[49] !== M || c[50] !== u || c[51] !== Z || c[52] !==
|
|
34212
|
+
}), c[45] = f, c[46] = E0, c[47] = O0, c[48] = k0) : k0 = c[48];
|
|
34213
|
+
let A0;
|
|
34214
|
+
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
34215
|
ref: M,
|
|
34201
34216
|
className: W,
|
|
34202
34217
|
...u,
|
|
34203
34218
|
children: [
|
|
34204
34219
|
Z,
|
|
34205
|
-
|
|
34206
|
-
|
|
34220
|
+
T0,
|
|
34221
|
+
k0
|
|
34207
34222
|
]
|
|
34208
|
-
}), c[49] = M, c[50] = u, c[51] = Z, c[52] =
|
|
34223
|
+
}), 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
34224
|
});
|
|
34210
34225
|
RangeSlider.displayName = Root$1.displayName;
|
|
34211
34226
|
var import_compiler_runtime$30 = require_compiler_runtime(), RangeSliderPlugin = class {
|
|
@@ -34256,14 +34271,14 @@ ${c}
|
|
|
34256
34271
|
}, q = (e2) => {
|
|
34257
34272
|
h && l(e2);
|
|
34258
34273
|
}, r[10] = h, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
34259
|
-
let Z,
|
|
34274
|
+
let Z, S0;
|
|
34260
34275
|
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (Z = () => {
|
|
34261
34276
|
h && !dequal(T, u) && l(T);
|
|
34262
|
-
},
|
|
34277
|
+
}, S0 = () => {
|
|
34263
34278
|
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] !==
|
|
34279
|
+
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = Z, r[19] = S0) : (Z = r[18], S0 = r[19]);
|
|
34280
|
+
let C0;
|
|
34281
|
+
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
34282
|
id: S,
|
|
34268
34283
|
className: W,
|
|
34269
34284
|
value: T,
|
|
@@ -34275,35 +34290,35 @@ ${c}
|
|
|
34275
34290
|
onValueChange: G,
|
|
34276
34291
|
onValueCommit: q,
|
|
34277
34292
|
onPointerUp: Z,
|
|
34278
|
-
onMouseUp:
|
|
34293
|
+
onMouseUp: S0,
|
|
34279
34294
|
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 ? (
|
|
34295
|
+
}), 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];
|
|
34296
|
+
let w0;
|
|
34297
|
+
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (w0 = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
34283
34298
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
34284
34299
|
children: `${prettyScientificNumber(b(T[0]), {
|
|
34285
34300
|
locale: w
|
|
34286
34301
|
})}, ${prettyScientificNumber(b(T[1]), {
|
|
34287
34302
|
locale: w
|
|
34288
34303
|
})}`
|
|
34289
|
-
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] =
|
|
34290
|
-
let
|
|
34291
|
-
r[39] !==
|
|
34304
|
+
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] = w0) : w0 = r[38];
|
|
34305
|
+
let T0;
|
|
34306
|
+
r[39] !== C0 || r[40] !== w0 || r[41] !== B ? (T0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
34292
34307
|
className: B,
|
|
34293
34308
|
children: [
|
|
34294
|
-
|
|
34295
|
-
|
|
34309
|
+
C0,
|
|
34310
|
+
w0
|
|
34296
34311
|
]
|
|
34297
|
-
}), r[39] =
|
|
34298
|
-
let
|
|
34299
|
-
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !==
|
|
34312
|
+
}), r[39] = C0, r[40] = w0, r[41] = B, r[42] = T0) : T0 = r[42];
|
|
34313
|
+
let E0;
|
|
34314
|
+
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
34315
|
label: c,
|
|
34301
34316
|
id: S,
|
|
34302
34317
|
align: M,
|
|
34303
34318
|
className: L,
|
|
34304
34319
|
fullWidth: v,
|
|
34305
|
-
children:
|
|
34306
|
-
}), r[43] = v, r[44] = S, r[45] = c, r[46] =
|
|
34320
|
+
children: T0
|
|
34321
|
+
}), 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
34322
|
}, import_timestring = __toESM(__commonJSMin(((e, r) => {
|
|
34308
34323
|
r.exports = u;
|
|
34309
34324
|
var c = {
|
|
@@ -34539,8 +34554,8 @@ ${c}
|
|
|
34539
34554
|
let [r2] = e2;
|
|
34540
34555
|
h && l(r2);
|
|
34541
34556
|
}, 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 ? (
|
|
34557
|
+
let S0;
|
|
34558
|
+
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
34559
|
id: w,
|
|
34545
34560
|
className: W,
|
|
34546
34561
|
value: G,
|
|
@@ -34552,16 +34567,16 @@ ${c}
|
|
|
34552
34567
|
onValueCommit: Z,
|
|
34553
34568
|
valueMap: y,
|
|
34554
34569
|
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 ? (
|
|
34570
|
+
}), 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];
|
|
34571
|
+
let C0;
|
|
34572
|
+
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (C0 = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
34558
34573
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
34559
34574
|
children: prettyScientificNumber(y(E), {
|
|
34560
34575
|
locale: T
|
|
34561
34576
|
})
|
|
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 ? (
|
|
34577
|
+
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] = C0) : C0 = r[31];
|
|
34578
|
+
let w0;
|
|
34579
|
+
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
34580
|
value: y(E),
|
|
34566
34581
|
onChange: (e2) => {
|
|
34567
34582
|
(e2 == null || Number.isNaN(e2)) && (e2 = Number(d)), O(e2), l(e2);
|
|
@@ -34572,25 +34587,25 @@ ${c}
|
|
|
34572
34587
|
className: "w-24",
|
|
34573
34588
|
"aria-label": `${c || "Slider"} value input`,
|
|
34574
34589
|
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] !==
|
|
34590
|
+
}), 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];
|
|
34591
|
+
let T0;
|
|
34592
|
+
r[42] !== S0 || r[43] !== C0 || r[44] !== w0 || r[45] !== B ? (T0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
34578
34593
|
className: B,
|
|
34579
34594
|
children: [
|
|
34580
|
-
|
|
34581
|
-
|
|
34582
|
-
|
|
34595
|
+
S0,
|
|
34596
|
+
C0,
|
|
34597
|
+
w0
|
|
34583
34598
|
]
|
|
34584
|
-
}), r[42] =
|
|
34585
|
-
let
|
|
34586
|
-
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !==
|
|
34599
|
+
}), r[42] = S0, r[43] = C0, r[44] = w0, r[45] = B, r[46] = T0) : T0 = r[46];
|
|
34600
|
+
let E0;
|
|
34601
|
+
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
34602
|
label: c,
|
|
34588
34603
|
id: w,
|
|
34589
34604
|
align: I,
|
|
34590
34605
|
fullWidth: v,
|
|
34591
34606
|
className: R,
|
|
34592
|
-
children:
|
|
34593
|
-
}), r[47] = v, r[48] = w, r[49] = c, r[50] =
|
|
34607
|
+
children: T0
|
|
34608
|
+
}), 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
34609
|
}, 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
34610
|
variants: {
|
|
34596
34611
|
size: {
|
|
@@ -34674,7 +34689,11 @@ ${c}
|
|
|
34674
34689
|
__publicField(this, "tagName", "marimo-tabs");
|
|
34675
34690
|
__publicField(this, "validator", object({
|
|
34676
34691
|
tabs: array(string()),
|
|
34677
|
-
label: string().nullable()
|
|
34692
|
+
label: string().nullable(),
|
|
34693
|
+
orientation: _enum([
|
|
34694
|
+
"horizontal",
|
|
34695
|
+
"vertical"
|
|
34696
|
+
]).default("horizontal")
|
|
34678
34697
|
}));
|
|
34679
34698
|
}
|
|
34680
34699
|
render(e) {
|
|
@@ -34686,49 +34705,69 @@ ${c}
|
|
|
34686
34705
|
});
|
|
34687
34706
|
}
|
|
34688
34707
|
}, 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
|
-
|
|
34708
|
+
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"), _;
|
|
34709
|
+
r[0] === f ? _ = r[1] : (_ = (e2) => {
|
|
34710
|
+
g(e2), f(e2);
|
|
34711
|
+
}, r[0] = f, r[1] = _);
|
|
34712
|
+
let v = _;
|
|
34713
|
+
d !== h && d && g(d);
|
|
34714
|
+
let y = u === "vertical", b;
|
|
34715
|
+
r[2] === m ? b = r[3] : (b = m == null ? [] : Array.isArray(m) ? m : [
|
|
34716
|
+
m
|
|
34717
|
+
], r[2] = m, r[3] = b);
|
|
34718
|
+
let S = b, w = y && "flex flex-row gap-3", T;
|
|
34719
|
+
r[4] === w ? T = r[5] : (T = cn(w), r[4] = w, r[5] = T);
|
|
34720
|
+
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;
|
|
34721
|
+
r[6] === E ? O = r[7] : (O = cn("scrollbar-thin", E), r[6] = E, r[7] = O);
|
|
34722
|
+
let j;
|
|
34723
|
+
if (r[8] !== y || r[9] !== c) {
|
|
34724
|
+
let e2;
|
|
34725
|
+
r[11] === y ? e2 = r[12] : (e2 = (e3, r2) => (0, import_jsx_runtime.jsx)(TabsTrigger, {
|
|
34726
|
+
value: r2.toString(),
|
|
34727
|
+
className: cn(y && "w-full justify-start"),
|
|
34728
|
+
children: renderHTML({
|
|
34729
|
+
html: e3
|
|
34730
|
+
})
|
|
34731
|
+
}, r2), r[11] = y, r[12] = e2), j = c.map(e2), r[8] = y, r[9] = c, r[10] = j;
|
|
34732
|
+
} else j = r[10];
|
|
34733
|
+
let M;
|
|
34734
|
+
r[13] !== O || r[14] !== j ? (M = (0, import_jsx_runtime.jsx)(TabsList, {
|
|
34735
|
+
className: O,
|
|
34736
|
+
children: j
|
|
34737
|
+
}), r[13] = O, r[14] = j, r[15] = M) : M = r[15];
|
|
34738
|
+
let I = y && "flex-1 min-w-0", L;
|
|
34739
|
+
r[16] === I ? L = r[17] : (L = cn(I), r[16] = I, r[17] = L);
|
|
34740
|
+
let R;
|
|
34741
|
+
r[18] === S ? R = r[19] : (R = S.map(_temp$7), r[18] = S, r[19] = R);
|
|
34742
|
+
let z;
|
|
34743
|
+
r[20] !== L || r[21] !== R ? (z = (0, import_jsx_runtime.jsx)("div", {
|
|
34744
|
+
className: L,
|
|
34745
|
+
children: R
|
|
34746
|
+
}), r[20] = L, r[21] = R, r[22] = z) : z = r[22];
|
|
34747
|
+
let B;
|
|
34748
|
+
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, {
|
|
34749
|
+
value: h,
|
|
34750
|
+
onValueChange: v,
|
|
34751
|
+
orientation: u,
|
|
34752
|
+
className: T,
|
|
34707
34753
|
children: [
|
|
34708
|
-
|
|
34709
|
-
|
|
34754
|
+
M,
|
|
34755
|
+
z
|
|
34710
34756
|
]
|
|
34711
|
-
}), r[
|
|
34712
|
-
let
|
|
34713
|
-
return r[
|
|
34757
|
+
}), r[23] = v, r[24] = h, r[25] = u, r[26] = z, r[27] = T, r[28] = M, r[29] = B) : B = r[29];
|
|
34758
|
+
let H;
|
|
34759
|
+
return r[30] !== l || r[31] !== B ? (H = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
34714
34760
|
label: l,
|
|
34715
34761
|
align: "top",
|
|
34716
|
-
|
|
34717
|
-
|
|
34762
|
+
fullWidth: true,
|
|
34763
|
+
children: B
|
|
34764
|
+
}), r[30] = l, r[31] = B, r[32] = H) : H = r[32], H;
|
|
34718
34765
|
};
|
|
34719
34766
|
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
34767
|
return (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
34729
34768
|
value: r.toString(),
|
|
34730
34769
|
children: e
|
|
34731
|
-
});
|
|
34770
|
+
}, r);
|
|
34732
34771
|
}
|
|
34733
34772
|
var import_compiler_runtime$25 = require_compiler_runtime(), TextAreaPlugin = class {
|
|
34734
34773
|
constructor() {
|
|
@@ -34997,7 +35036,7 @@ ${c}
|
|
|
34997
35036
|
return true;
|
|
34998
35037
|
}
|
|
34999
35038
|
}
|
|
35000
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
35039
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-BtvQ-Kc4.js")), VegaPlugin = class {
|
|
35001
35040
|
constructor() {
|
|
35002
35041
|
__publicField(this, "tagName", "marimo-vega");
|
|
35003
35042
|
__publicField(this, "validator", object({
|
|
@@ -35137,7 +35176,7 @@ ${c}
|
|
|
35137
35176
|
children: e.children
|
|
35138
35177
|
});
|
|
35139
35178
|
}
|
|
35140
|
-
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-
|
|
35179
|
+
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-DlD2GU2g.js"));
|
|
35141
35180
|
const DownloadPlugin = createPlugin("marimo-download").withData(object({
|
|
35142
35181
|
data: string(),
|
|
35143
35182
|
disabled: boolean().default(false),
|
|
@@ -35189,7 +35228,7 @@ ${c}
|
|
|
35189
35228
|
m
|
|
35190
35229
|
]
|
|
35191
35230
|
});
|
|
35192
|
-
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-
|
|
35231
|
+
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-CNHIsPDj.js")), ImageComparisonPlugin = class {
|
|
35193
35232
|
constructor() {
|
|
35194
35233
|
__publicField(this, "tagName", "marimo-image-comparison");
|
|
35195
35234
|
__publicField(this, "validator", object({
|
|
@@ -35323,7 +35362,7 @@ ${c}
|
|
|
35323
35362
|
themeVariables: e.data.theme_variables
|
|
35324
35363
|
});
|
|
35325
35364
|
}
|
|
35326
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
35365
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-DO-Daq7u.js").then(async (m) => {
|
|
35327
35366
|
await m.__tla;
|
|
35328
35367
|
return m;
|
|
35329
35368
|
})), import_compiler_runtime$20 = require_compiler_runtime();
|
|
@@ -37353,8 +37392,8 @@ ${c}
|
|
|
37353
37392
|
tex: e.host.textContent || e.host.innerHTML
|
|
37354
37393
|
});
|
|
37355
37394
|
}
|
|
37356
|
-
}, importKatex = once(async () => (await import("./katex-
|
|
37357
|
-
await import("./mhchem-
|
|
37395
|
+
}, importKatex = once(async () => (await import("./katex-9-9QRhxz.js")).default), importMhChem = once(async () => {
|
|
37396
|
+
await import("./mhchem-yiCCuiEF.js");
|
|
37358
37397
|
}), macros = {
|
|
37359
37398
|
"\\mbox": "\\text{#1}"
|
|
37360
37399
|
};
|
|
@@ -37586,40 +37625,40 @@ ${c}
|
|
|
37586
37625
|
areRegExpsEqual: H,
|
|
37587
37626
|
areSetsEqual: G,
|
|
37588
37627
|
createIsNestedEqual: r2
|
|
37589
|
-
}),
|
|
37590
|
-
function
|
|
37591
|
-
return
|
|
37628
|
+
}), S0 = T(q);
|
|
37629
|
+
function C0(e3, r3) {
|
|
37630
|
+
return S0(e3, r3, void 0);
|
|
37592
37631
|
}
|
|
37593
|
-
var
|
|
37632
|
+
var w0 = T(l(q, {
|
|
37594
37633
|
createIsNestedEqual: function() {
|
|
37595
37634
|
return f;
|
|
37596
37635
|
}
|
|
37597
37636
|
}));
|
|
37598
|
-
function
|
|
37599
|
-
return
|
|
37637
|
+
function T0(e3, r3) {
|
|
37638
|
+
return w0(e3, r3, void 0);
|
|
37600
37639
|
}
|
|
37601
|
-
var
|
|
37602
|
-
function
|
|
37603
|
-
return
|
|
37640
|
+
var E0 = T(Z);
|
|
37641
|
+
function D0(e3, r3) {
|
|
37642
|
+
return E0(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
37604
37643
|
}
|
|
37605
|
-
var
|
|
37644
|
+
var O0 = T(l(Z, {
|
|
37606
37645
|
createIsNestedEqual: function() {
|
|
37607
37646
|
return f;
|
|
37608
37647
|
}
|
|
37609
37648
|
}));
|
|
37610
|
-
function
|
|
37611
|
-
return
|
|
37649
|
+
function k0(e3, r3) {
|
|
37650
|
+
return O0(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
37612
37651
|
}
|
|
37613
|
-
function
|
|
37652
|
+
function A0(e3) {
|
|
37614
37653
|
return T(l(q, e3(q)));
|
|
37615
37654
|
}
|
|
37616
|
-
function
|
|
37655
|
+
function j0(e3) {
|
|
37617
37656
|
var r3 = T(l(Z, e3(Z)));
|
|
37618
37657
|
return (function(e4, c2, l2) {
|
|
37619
37658
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
37620
37659
|
});
|
|
37621
37660
|
}
|
|
37622
|
-
e2.circularDeepEqual =
|
|
37661
|
+
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", {
|
|
37623
37662
|
value: true
|
|
37624
37663
|
});
|
|
37625
37664
|
}));
|
|
@@ -37645,7 +37684,7 @@ ${c}
|
|
|
37645
37684
|
})), require_utils$1 = __commonJSMin(((e) => {
|
|
37646
37685
|
Object.defineProperty(e, "__esModule", {
|
|
37647
37686
|
value: true
|
|
37648
|
-
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType =
|
|
37687
|
+
}), 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;
|
|
37649
37688
|
var r = require_fast_equals(), c = l(require_react());
|
|
37650
37689
|
function l(e2) {
|
|
37651
37690
|
return e2 && e2.__esModule ? e2 : {
|
|
@@ -37750,7 +37789,7 @@ ${c}
|
|
|
37750
37789
|
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);
|
|
37751
37790
|
}
|
|
37752
37791
|
function T(e2, r2, c2, l2) {
|
|
37753
|
-
let u2 = B(e2), d2 = h(u2), f2 =
|
|
37792
|
+
let u2 = B(e2), d2 = h(u2), f2 = M0(e2, r2), p2 = Array(e2.length);
|
|
37754
37793
|
for (let m2 = 0, h2 = f2.length; m2 < h2; m2++) {
|
|
37755
37794
|
let h3 = y(f2[m2]);
|
|
37756
37795
|
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;
|
|
@@ -37808,7 +37847,7 @@ ${c}
|
|
|
37808
37847
|
`${r2.i}${String(c2)}${String(l2)}${r2.x}${r2.y}`;
|
|
37809
37848
|
let h2 = r2.x, _2 = r2.y;
|
|
37810
37849
|
typeof c2 == "number" && (r2.x = c2), typeof l2 == "number" && (r2.y = l2), r2.moved = true;
|
|
37811
|
-
let v2 =
|
|
37850
|
+
let v2 = M0(e2, f2);
|
|
37812
37851
|
(f2 === "vertical" && typeof l2 == "number" ? _2 >= l2 : f2 === "horizontal" && typeof c2 == "number" && h2 >= c2) && (v2 = v2.reverse());
|
|
37813
37852
|
let y2 = z(v2, r2), b2 = y2.length > 0;
|
|
37814
37853
|
if (b2 && m2) return g(e2);
|
|
@@ -37842,61 +37881,61 @@ ${c}
|
|
|
37842
37881
|
function G(e2) {
|
|
37843
37882
|
return e2 * 100 + "%";
|
|
37844
37883
|
}
|
|
37845
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, Z = (e2, r2, c2) => e2 < 0 ? r2 : c2,
|
|
37884
|
+
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) => {
|
|
37846
37885
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
37847
37886
|
return {
|
|
37848
37887
|
left: l2,
|
|
37849
37888
|
width: d2,
|
|
37850
37889
|
height: Z(f2, e2.height, u2),
|
|
37851
|
-
top:
|
|
37890
|
+
top: C0(f2)
|
|
37852
37891
|
};
|
|
37853
|
-
},
|
|
37892
|
+
}, T0 = (e2, r2, c2) => {
|
|
37854
37893
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
37855
37894
|
return {
|
|
37856
37895
|
top: l2,
|
|
37857
37896
|
height: d2,
|
|
37858
37897
|
width: q(e2.left, e2.width, f2, c2),
|
|
37859
|
-
left:
|
|
37898
|
+
left: S0(u2)
|
|
37860
37899
|
};
|
|
37861
|
-
},
|
|
37900
|
+
}, E0 = (e2, r2, c2) => {
|
|
37862
37901
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
37863
37902
|
return {
|
|
37864
37903
|
height: u2,
|
|
37865
37904
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
37866
|
-
top:
|
|
37867
|
-
left:
|
|
37905
|
+
top: C0(l2),
|
|
37906
|
+
left: S0(f2)
|
|
37868
37907
|
};
|
|
37869
|
-
},
|
|
37908
|
+
}, D0 = (e2, r2, c2) => {
|
|
37870
37909
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
37871
37910
|
return {
|
|
37872
37911
|
width: f2,
|
|
37873
37912
|
left: u2,
|
|
37874
37913
|
height: Z(l2, e2.height, d2),
|
|
37875
|
-
top:
|
|
37914
|
+
top: C0(l2)
|
|
37876
37915
|
};
|
|
37877
|
-
},
|
|
37878
|
-
n:
|
|
37916
|
+
}, O0 = {
|
|
37917
|
+
n: w0,
|
|
37879
37918
|
ne: function() {
|
|
37880
|
-
return
|
|
37919
|
+
return w0(arguments.length <= 0 ? void 0 : arguments[0], T0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37881
37920
|
},
|
|
37882
|
-
e:
|
|
37921
|
+
e: T0,
|
|
37883
37922
|
se: function() {
|
|
37884
|
-
return
|
|
37923
|
+
return D0(arguments.length <= 0 ? void 0 : arguments[0], T0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37885
37924
|
},
|
|
37886
|
-
s:
|
|
37925
|
+
s: D0,
|
|
37887
37926
|
sw: function() {
|
|
37888
|
-
return
|
|
37927
|
+
return D0(arguments.length <= 0 ? void 0 : arguments[0], E0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37889
37928
|
},
|
|
37890
|
-
w:
|
|
37929
|
+
w: E0,
|
|
37891
37930
|
nw: function() {
|
|
37892
|
-
return
|
|
37931
|
+
return w0(arguments.length <= 0 ? void 0 : arguments[0], E0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37893
37932
|
}
|
|
37894
37933
|
};
|
|
37895
|
-
function
|
|
37896
|
-
let u2 =
|
|
37934
|
+
function k0(e2, r2, c2, l2) {
|
|
37935
|
+
let u2 = O0[e2];
|
|
37897
37936
|
return u2 ? u2(r2, d(d({}, r2), c2), l2) : c2;
|
|
37898
37937
|
}
|
|
37899
|
-
function
|
|
37938
|
+
function A0(e2) {
|
|
37900
37939
|
let { top: r2, left: c2, width: l2, height: u2 } = e2, d2 = `translate(${c2}px,${r2}px)`;
|
|
37901
37940
|
return {
|
|
37902
37941
|
transform: d2,
|
|
@@ -37909,7 +37948,7 @@ ${c}
|
|
|
37909
37948
|
position: "absolute"
|
|
37910
37949
|
};
|
|
37911
37950
|
}
|
|
37912
|
-
function
|
|
37951
|
+
function j0(e2) {
|
|
37913
37952
|
let { top: r2, left: c2, width: l2, height: u2 } = e2;
|
|
37914
37953
|
return {
|
|
37915
37954
|
top: `${r2}px`,
|
|
@@ -37919,20 +37958,20 @@ ${c}
|
|
|
37919
37958
|
position: "absolute"
|
|
37920
37959
|
};
|
|
37921
37960
|
}
|
|
37922
|
-
function
|
|
37923
|
-
return r2 === "horizontal" ?
|
|
37961
|
+
function M0(e2, r2) {
|
|
37962
|
+
return r2 === "horizontal" ? P0(e2) : r2 === "vertical" ? N0(e2) : e2;
|
|
37924
37963
|
}
|
|
37925
|
-
function
|
|
37964
|
+
function N0(e2) {
|
|
37926
37965
|
return e2.slice(0).sort(function(e3, r2) {
|
|
37927
37966
|
return e3.y > r2.y || e3.y === r2.y && e3.x > r2.x ? 1 : e3.y === r2.y && e3.x === r2.x ? 0 : -1;
|
|
37928
37967
|
});
|
|
37929
37968
|
}
|
|
37930
|
-
function
|
|
37969
|
+
function P0(e2) {
|
|
37931
37970
|
return e2.slice(0).sort(function(e3, r2) {
|
|
37932
37971
|
return e3.x > r2.x || e3.x === r2.x && e3.y > r2.y ? 1 : -1;
|
|
37933
37972
|
});
|
|
37934
37973
|
}
|
|
37935
|
-
function
|
|
37974
|
+
function F0(e2, r2, l2, u2, f2) {
|
|
37936
37975
|
e2 || (e2 = []);
|
|
37937
37976
|
let p2 = [];
|
|
37938
37977
|
c.default.Children.forEach(r2, (r3) => {
|
|
@@ -37953,7 +37992,7 @@ ${c}
|
|
|
37953
37992
|
});
|
|
37954
37993
|
return f2 ? m2 : T(m2, u2, l2);
|
|
37955
37994
|
}
|
|
37956
|
-
function
|
|
37995
|
+
function I0(e2) {
|
|
37957
37996
|
let r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Layout", c2 = [
|
|
37958
37997
|
"x",
|
|
37959
37998
|
"y",
|
|
@@ -37970,7 +38009,7 @@ ${c}
|
|
|
37970
38009
|
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})`);
|
|
37971
38010
|
}
|
|
37972
38011
|
}
|
|
37973
|
-
function
|
|
38012
|
+
function L0(e2) {
|
|
37974
38013
|
let { verticalCompact: r2, compactType: c2 } = e2 || {};
|
|
37975
38014
|
return r2 === false ? null : c2;
|
|
37976
38015
|
}
|
|
@@ -40775,7 +40814,7 @@ ${c}
|
|
|
40775
40814
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
40776
40815
|
let E = useIsDragging(), O, j;
|
|
40777
40816
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
40778
|
-
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
|
|
40817
|
+
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;
|
|
40779
40818
|
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) {
|
|
40780
40819
|
let e2 = Maps.keyBy(c.cells, _temp2$2), m2;
|
|
40781
40820
|
r[47] !== c || r[48] !== l ? (m2 = (e3) => (r2) => {
|
|
@@ -40794,23 +40833,23 @@ ${c}
|
|
|
40794
40833
|
});
|
|
40795
40834
|
}, r[50] = c, r[51] = l, r[52] = v2) : v2 = r[52];
|
|
40796
40835
|
let y2 = v2;
|
|
40797
|
-
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,
|
|
40836
|
+
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 = {
|
|
40798
40837
|
lg: c.cells
|
|
40799
|
-
}, r[58] = c.cells, r[59] =
|
|
40838
|
+
}, r[58] = c.cells, r[59] = F0), I0 = L, L0 = S, R = false;
|
|
40800
40839
|
let b2 = M && "bg-(--slate-2) border-r", w2 = f && "disable-animation", T2 = !c.maxWidth && "min-w-[800px]";
|
|
40801
40840
|
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 ? [
|
|
40802
40841
|
20,
|
|
40803
40842
|
20
|
|
40804
|
-
] : 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 ? (
|
|
40843
|
+
] : 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) => {
|
|
40805
40844
|
f || l({
|
|
40806
40845
|
...c,
|
|
40807
40846
|
cells: e3
|
|
40808
40847
|
});
|
|
40809
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
40848
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = S0) : S0 = r[69], r[70] === g ? C0 = r[71] : (C0 = g ? {
|
|
40810
40849
|
i: g.i,
|
|
40811
40850
|
w: g.w || 2,
|
|
40812
40851
|
h: g.h || 2
|
|
40813
|
-
} : void 0, r[70] = g, r[71] =
|
|
40852
|
+
} : void 0, r[70] = g, r[71] = C0), r[72] !== O || r[73] !== c || r[74] !== l ? (w0 = (e3, r2, u2) => {
|
|
40814
40853
|
O.onDragStop(), r2 && l({
|
|
40815
40854
|
...c,
|
|
40816
40855
|
cells: [
|
|
@@ -40818,15 +40857,15 @@ ${c}
|
|
|
40818
40857
|
r2
|
|
40819
40858
|
]
|
|
40820
40859
|
});
|
|
40821
|
-
}, r[72] = O, r[73] = c, r[74] = l, r[75] =
|
|
40860
|
+
}, 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) => {
|
|
40822
40861
|
O.onDragStart(u2);
|
|
40823
|
-
},
|
|
40862
|
+
}, E0 = (e3, r2, c2, l2, u2) => {
|
|
40824
40863
|
O.onDragMove(u2);
|
|
40825
|
-
},
|
|
40864
|
+
}, D0 = () => {
|
|
40826
40865
|
O.onDragStop();
|
|
40827
|
-
}, r[76] = O, r[77] =
|
|
40866
|
+
}, 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";
|
|
40828
40867
|
let E2;
|
|
40829
|
-
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2),
|
|
40868
|
+
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2), N0 = u.filter(E2).map((r2) => {
|
|
40830
40869
|
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, {
|
|
40831
40870
|
code: r2.code,
|
|
40832
40871
|
mode: d,
|
|
@@ -40855,14 +40894,14 @@ ${c}
|
|
|
40855
40894
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
40856
40895
|
children: m3
|
|
40857
40896
|
}, r2.id);
|
|
40858
|
-
}), 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] =
|
|
40859
|
-
} 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],
|
|
40860
|
-
let
|
|
40861
|
-
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] !==
|
|
40862
|
-
breakpoint:
|
|
40863
|
-
layouts:
|
|
40864
|
-
style:
|
|
40865
|
-
cols:
|
|
40897
|
+
}), 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;
|
|
40898
|
+
} 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];
|
|
40899
|
+
let R0;
|
|
40900
|
+
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, {
|
|
40901
|
+
breakpoint: P0,
|
|
40902
|
+
layouts: F0,
|
|
40903
|
+
style: I0,
|
|
40904
|
+
cols: L0,
|
|
40866
40905
|
allowOverlap: R,
|
|
40867
40906
|
className: z,
|
|
40868
40907
|
containerPadding: B,
|
|
@@ -40871,22 +40910,22 @@ ${c}
|
|
|
40871
40910
|
compactType: G,
|
|
40872
40911
|
preventCollision: q,
|
|
40873
40912
|
rowHeight: Z,
|
|
40874
|
-
onLayoutChange:
|
|
40875
|
-
droppingItem:
|
|
40876
|
-
onDrop:
|
|
40877
|
-
onDragStart:
|
|
40878
|
-
onDrag:
|
|
40879
|
-
onDragStop:
|
|
40880
|
-
onResizeStop:
|
|
40881
|
-
isDraggable:
|
|
40882
|
-
isDroppable:
|
|
40883
|
-
isResizable:
|
|
40884
|
-
draggableHandle:
|
|
40885
|
-
children:
|
|
40886
|
-
}), 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] =
|
|
40887
|
-
let
|
|
40888
|
-
if (r[108] !== u || r[109] !==
|
|
40889
|
-
|
|
40913
|
+
onLayoutChange: S0,
|
|
40914
|
+
droppingItem: C0,
|
|
40915
|
+
onDrop: w0,
|
|
40916
|
+
onDragStart: T0,
|
|
40917
|
+
onDrag: E0,
|
|
40918
|
+
onDragStop: D0,
|
|
40919
|
+
onResizeStop: O0,
|
|
40920
|
+
isDraggable: k0,
|
|
40921
|
+
isDroppable: A0,
|
|
40922
|
+
isResizable: j0,
|
|
40923
|
+
draggableHandle: M0,
|
|
40924
|
+
children: N0
|
|
40925
|
+
}), 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];
|
|
40926
|
+
let z0 = R0, B0, V0, H0, U0, W0, G0, K0;
|
|
40927
|
+
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) {
|
|
40928
|
+
K0 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
40890
40929
|
bb0: {
|
|
40891
40930
|
let e2;
|
|
40892
40931
|
r[125] === h ? e2 = r[126] : (e2 = (e3) => !h.has(e3.id), r[125] = h, r[126] = e2);
|
|
@@ -40894,14 +40933,14 @@ ${c}
|
|
|
40894
40933
|
if (f) {
|
|
40895
40934
|
if (c.bordered) {
|
|
40896
40935
|
let e4;
|
|
40897
|
-
r[127] !==
|
|
40936
|
+
r[127] !== z0 || r[128] !== L ? (e4 = (0, import_jsx_runtime.jsx)("div", {
|
|
40898
40937
|
className: "flex flex-1 flex-col items-center",
|
|
40899
40938
|
children: (0, import_jsx_runtime.jsx)("div", {
|
|
40900
40939
|
style: L,
|
|
40901
40940
|
className: "bg-background flex-1 border-t border-x rounded-t shadow-sm w-full overflow-hidden",
|
|
40902
|
-
children:
|
|
40941
|
+
children: z0
|
|
40903
40942
|
})
|
|
40904
|
-
}), r[127] =
|
|
40943
|
+
}), r[127] = z0, r[128] = L, r[129] = e4) : e4 = r[129], z0 = e4;
|
|
40905
40944
|
}
|
|
40906
40945
|
let e3 = m2.filter(_temp4$2), l2;
|
|
40907
40946
|
r[130] === d ? l2 = r[131] : (l2 = (e4) => (0, import_jsx_runtime.jsx)(GridCell, {
|
|
@@ -40912,9 +40951,9 @@ ${c}
|
|
|
40912
40951
|
status: e4.status,
|
|
40913
40952
|
isScrollable: false,
|
|
40914
40953
|
hidden: false
|
|
40915
|
-
}, e4.id), r[130] = d, r[131] = l2),
|
|
40954
|
+
}, e4.id), r[130] = d, r[131] = l2), K0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
40916
40955
|
children: [
|
|
40917
|
-
|
|
40956
|
+
z0,
|
|
40918
40957
|
(0, import_jsx_runtime.jsx)("div", {
|
|
40919
40958
|
className: "hidden",
|
|
40920
40959
|
children: e3.map(l2)
|
|
@@ -40925,31 +40964,31 @@ ${c}
|
|
|
40925
40964
|
}
|
|
40926
40965
|
if (c.bordered) {
|
|
40927
40966
|
let e3;
|
|
40928
|
-
r[132] ===
|
|
40967
|
+
r[132] === z0 ? e3 = r[133] : (e3 = (0, import_jsx_runtime.jsx)("div", {
|
|
40929
40968
|
className: "h-full overflow-auto",
|
|
40930
|
-
children:
|
|
40931
|
-
}), r[132] =
|
|
40969
|
+
children: z0
|
|
40970
|
+
}), r[132] = z0, r[133] = e3);
|
|
40932
40971
|
let c2;
|
|
40933
40972
|
r[134] !== L || r[135] !== e3 ? (c2 = (0, import_jsx_runtime.jsx)("div", {
|
|
40934
40973
|
style: L,
|
|
40935
40974
|
className: "bg-background border-t border-x rounded-t shadow-sm w-full mx-auto mt-4 h-[calc(100%-1rem)] overflow-hidden",
|
|
40936
40975
|
children: e3
|
|
40937
|
-
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136],
|
|
40976
|
+
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136], z0 = c2;
|
|
40938
40977
|
}
|
|
40939
|
-
r[137] !== v || r[138] !== c || r[139] !== l ? (
|
|
40978
|
+
r[137] !== v || r[138] !== c || r[139] !== l ? (G0 = (0, import_jsx_runtime.jsx)(GridControls, {
|
|
40940
40979
|
layout: c,
|
|
40941
40980
|
setLayout: l,
|
|
40942
40981
|
isLocked: v,
|
|
40943
40982
|
setIsLocked: y
|
|
40944
|
-
}), r[137] = v, r[138] = c, r[139] = l, r[140] =
|
|
40983
|
+
}), r[137] = v, r[138] = c, r[139] = l, r[140] = G0) : G0 = r[140];
|
|
40945
40984
|
let g2;
|
|
40946
|
-
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
40985
|
+
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", {
|
|
40947
40986
|
className: g2,
|
|
40948
|
-
children:
|
|
40949
|
-
}), r[143] =
|
|
40987
|
+
children: z0
|
|
40988
|
+
}), 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", {
|
|
40950
40989
|
className: "text font-bold text-(--slate-20) shrink-0",
|
|
40951
40990
|
children: "Outputs"
|
|
40952
|
-
}), r[145] =
|
|
40991
|
+
}), r[145] = V0) : V0 = r[145];
|
|
40953
40992
|
let b2;
|
|
40954
40993
|
r[146] !== c.columns || r[147] !== c.rowHeight || r[148] !== d ? (b2 = (e3) => (0, import_jsx_runtime.jsx)("div", {
|
|
40955
40994
|
draggable: true,
|
|
@@ -40974,34 +41013,34 @@ ${c}
|
|
|
40974
41013
|
status: e3.status,
|
|
40975
41014
|
hidden: false
|
|
40976
41015
|
})
|
|
40977
|
-
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149],
|
|
41016
|
+
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149], H0 = m2.map(b2);
|
|
40978
41017
|
}
|
|
40979
|
-
r[108] = u, r[109] =
|
|
40980
|
-
} else
|
|
40981
|
-
if (
|
|
40982
|
-
let
|
|
40983
|
-
r[150] !==
|
|
40984
|
-
className:
|
|
41018
|
+
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;
|
|
41019
|
+
} 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];
|
|
41020
|
+
if (K0 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return K0;
|
|
41021
|
+
let q0;
|
|
41022
|
+
r[150] !== B0 || r[151] !== V0 || r[152] !== H0 ? (q0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41023
|
+
className: B0,
|
|
40985
41024
|
children: [
|
|
40986
|
-
|
|
40987
|
-
|
|
41025
|
+
V0,
|
|
41026
|
+
H0
|
|
40988
41027
|
]
|
|
40989
|
-
}), r[150] =
|
|
40990
|
-
let
|
|
40991
|
-
r[154] !==
|
|
40992
|
-
className:
|
|
41028
|
+
}), r[150] = B0, r[151] = V0, r[152] = H0, r[153] = q0) : q0 = r[153];
|
|
41029
|
+
let J0;
|
|
41030
|
+
r[154] !== U0 || r[155] !== W0 || r[156] !== q0 ? (J0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41031
|
+
className: U0,
|
|
40993
41032
|
children: [
|
|
40994
|
-
|
|
40995
|
-
|
|
41033
|
+
W0,
|
|
41034
|
+
q0
|
|
40996
41035
|
]
|
|
40997
|
-
}), r[154] =
|
|
40998
|
-
let
|
|
40999
|
-
return r[158] !==
|
|
41036
|
+
}), r[154] = U0, r[155] = W0, r[156] = q0, r[157] = J0) : J0 = r[157];
|
|
41037
|
+
let Y0;
|
|
41038
|
+
return r[158] !== G0 || r[159] !== J0 ? (Y0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
41000
41039
|
children: [
|
|
41001
|
-
|
|
41002
|
-
|
|
41040
|
+
G0,
|
|
41041
|
+
J0
|
|
41003
41042
|
]
|
|
41004
|
-
}), r[158] =
|
|
41043
|
+
}), r[158] = G0, r[159] = J0, r[160] = Y0) : Y0 = r[160], Y0;
|
|
41005
41044
|
};
|
|
41006
41045
|
var GridCell = (0, import_react.memo)((e) => {
|
|
41007
41046
|
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;
|
|
@@ -41306,21 +41345,21 @@ ${c}
|
|
|
41306
41345
|
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
41307
41346
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
41308
41347
|
}), r[35] = Z) : Z = r[35];
|
|
41309
|
-
let
|
|
41310
|
-
r[36] === l ?
|
|
41348
|
+
let S0;
|
|
41349
|
+
r[36] === l ? S0 = r[37] : (S0 = (0, import_jsx_runtime.jsx)(X, {
|
|
41311
41350
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
41312
41351
|
onClick: () => l()
|
|
41313
|
-
}), r[36] = l, r[37] =
|
|
41314
|
-
let
|
|
41315
|
-
return r[38] !== I || r[39] !== q || r[40] !==
|
|
41352
|
+
}), r[36] = l, r[37] = S0);
|
|
41353
|
+
let C0;
|
|
41354
|
+
return r[38] !== I || r[39] !== q || r[40] !== S0 || r[41] !== w ? (C0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41316
41355
|
className: w,
|
|
41317
41356
|
children: [
|
|
41318
41357
|
I,
|
|
41319
41358
|
q,
|
|
41320
41359
|
Z,
|
|
41321
|
-
|
|
41360
|
+
S0
|
|
41322
41361
|
]
|
|
41323
|
-
}), r[38] = I, r[39] = q, r[40] =
|
|
41362
|
+
}), r[38] = I, r[39] = q, r[40] = S0, r[41] = w, r[42] = C0) : C0 = r[42], C0;
|
|
41324
41363
|
};
|
|
41325
41364
|
function isSidebarCell(e) {
|
|
41326
41365
|
var _a3;
|
|
@@ -43264,29 +43303,29 @@ ${c}
|
|
|
43264
43303
|
M
|
|
43265
43304
|
]), 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(), [
|
|
43266
43305
|
j
|
|
43267
|
-
]),
|
|
43306
|
+
]), S0 = useMeasuringConfiguration(p), { droppableRects: C0, measureDroppableContainers: w0, measuringScheduled: T0 } = useDroppableMeasuring(Z, {
|
|
43268
43307
|
dragging: w,
|
|
43269
43308
|
dependencies: [
|
|
43270
43309
|
O.x,
|
|
43271
43310
|
O.y
|
|
43272
43311
|
],
|
|
43273
|
-
config:
|
|
43274
|
-
}),
|
|
43312
|
+
config: S0.droppable
|
|
43313
|
+
}), E0 = useCachedNode(E, T), D0 = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
43275
43314
|
H
|
|
43276
|
-
]),
|
|
43315
|
+
]), O0 = a2(), k0 = useInitialRect(E0, S0.draggable.measure);
|
|
43277
43316
|
useLayoutShiftScrollCompensation({
|
|
43278
43317
|
activeNode: T == null ? null : E.get(T),
|
|
43279
|
-
config:
|
|
43280
|
-
initialRect:
|
|
43281
|
-
measure:
|
|
43318
|
+
config: O0.layoutShiftCompensation,
|
|
43319
|
+
initialRect: k0,
|
|
43320
|
+
measure: S0.draggable.measure
|
|
43282
43321
|
});
|
|
43283
|
-
let
|
|
43322
|
+
let A0 = useRect(E0, S0.draggable.measure, k0), j0 = useRect(E0 ? E0.parentElement : null), M0 = (0, import_react.useRef)({
|
|
43284
43323
|
activatorEvent: null,
|
|
43285
43324
|
active: null,
|
|
43286
|
-
activeNode:
|
|
43325
|
+
activeNode: E0,
|
|
43287
43326
|
collisionRect: null,
|
|
43288
43327
|
collisions: null,
|
|
43289
|
-
droppableRects:
|
|
43328
|
+
droppableRects: C0,
|
|
43290
43329
|
draggableNodes: E,
|
|
43291
43330
|
draggingNode: null,
|
|
43292
43331
|
draggingNodeRect: null,
|
|
@@ -43294,45 +43333,45 @@ ${c}
|
|
|
43294
43333
|
over: null,
|
|
43295
43334
|
scrollableAncestors: [],
|
|
43296
43335
|
scrollAdjustedTranslate: null
|
|
43297
|
-
}),
|
|
43298
|
-
measure:
|
|
43299
|
-
}),
|
|
43336
|
+
}), N0 = j.getNodeFor((_a3 = M0.current.over) == null ? void 0 : _a3.id), P0 = useDragOverlayMeasuring({
|
|
43337
|
+
measure: S0.dragOverlay.measure
|
|
43338
|
+
}), 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, {
|
|
43300
43339
|
transform: {
|
|
43301
|
-
x: O.x -
|
|
43302
|
-
y: O.y -
|
|
43340
|
+
x: O.x - R0.x,
|
|
43341
|
+
y: O.y - R0.y,
|
|
43303
43342
|
scaleX: 1,
|
|
43304
43343
|
scaleY: 1
|
|
43305
43344
|
},
|
|
43306
43345
|
activatorEvent: H,
|
|
43307
43346
|
active: L,
|
|
43308
|
-
activeNodeRect:
|
|
43309
|
-
containerNodeRect:
|
|
43310
|
-
draggingNodeRect:
|
|
43311
|
-
over:
|
|
43312
|
-
overlayNodeRect:
|
|
43313
|
-
scrollableAncestors:
|
|
43314
|
-
scrollableAncestorRects:
|
|
43315
|
-
windowRect:
|
|
43316
|
-
}),
|
|
43317
|
-
|
|
43318
|
-
]),
|
|
43347
|
+
activeNodeRect: A0,
|
|
43348
|
+
containerNodeRect: j0,
|
|
43349
|
+
draggingNodeRect: I0,
|
|
43350
|
+
over: M0.current.over,
|
|
43351
|
+
overlayNodeRect: P0.rect,
|
|
43352
|
+
scrollableAncestors: B0,
|
|
43353
|
+
scrollableAncestorRects: V0,
|
|
43354
|
+
windowRect: z0
|
|
43355
|
+
}), U0 = D0 ? add(D0, O) : null, W0 = useScrollOffsets(B0), G0 = useScrollOffsetsDelta(W0), K0 = useScrollOffsetsDelta(W0, [
|
|
43356
|
+
A0
|
|
43357
|
+
]), q0 = add(H0, G0), J0 = I0 ? getAdjustedRect(I0, H0) : null, Y0 = L && J0 ? f({
|
|
43319
43358
|
active: L,
|
|
43320
|
-
collisionRect:
|
|
43321
|
-
droppableRects:
|
|
43359
|
+
collisionRect: J0,
|
|
43360
|
+
droppableRects: C0,
|
|
43322
43361
|
droppableContainers: Z,
|
|
43323
|
-
pointerCoordinates:
|
|
43324
|
-
}) : null,
|
|
43362
|
+
pointerCoordinates: U0
|
|
43363
|
+
}) : 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) => {
|
|
43325
43364
|
let { sensor: c2, options: l2 } = r3;
|
|
43326
43365
|
if (R.current == null) return;
|
|
43327
43366
|
let u2 = E.get(R.current);
|
|
43328
43367
|
if (!u2) return;
|
|
43329
43368
|
let d2 = e3.nativeEvent;
|
|
43330
|
-
|
|
43369
|
+
e2.current = new c2({
|
|
43331
43370
|
active: R.current,
|
|
43332
43371
|
activeNode: u2,
|
|
43333
43372
|
event: d2,
|
|
43334
43373
|
options: l2,
|
|
43335
|
-
context:
|
|
43374
|
+
context: M0,
|
|
43336
43375
|
onAbort(e4) {
|
|
43337
43376
|
if (!E.get(e4)) return;
|
|
43338
43377
|
let { onDragAbort: r4 } = G.current, c3 = {
|
|
@@ -43377,7 +43416,7 @@ ${c}
|
|
|
43377
43416
|
}), v({
|
|
43378
43417
|
type: "onDragStart",
|
|
43379
43418
|
event: u3
|
|
43380
|
-
}), B(
|
|
43419
|
+
}), B(e2.current), W(d2);
|
|
43381
43420
|
});
|
|
43382
43421
|
},
|
|
43383
43422
|
onMove(e4) {
|
|
@@ -43391,7 +43430,7 @@ ${c}
|
|
|
43391
43430
|
});
|
|
43392
43431
|
function f2(e4) {
|
|
43393
43432
|
return async function() {
|
|
43394
|
-
let { active: r4, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } =
|
|
43433
|
+
let { active: r4, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } = M0.current, f3 = null;
|
|
43395
43434
|
if (r4 && u3) {
|
|
43396
43435
|
let { cancelDrop: p2 } = G.current;
|
|
43397
43436
|
f3 = {
|
|
@@ -43405,7 +43444,7 @@ ${c}
|
|
|
43405
43444
|
R.current = null, (0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
43406
43445
|
_({
|
|
43407
43446
|
type: e4
|
|
43408
|
-
}), S(Status.Uninitialized),
|
|
43447
|
+
}), S(Status.Uninitialized), Q0(null), B(null), W(null), e2.current = null;
|
|
43409
43448
|
let r5 = e4 === Action.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
43410
43449
|
if (f3) {
|
|
43411
43450
|
let e5 = G.current[r5];
|
|
@@ -43419,7 +43458,7 @@ ${c}
|
|
|
43419
43458
|
}
|
|
43420
43459
|
}, [
|
|
43421
43460
|
E
|
|
43422
|
-
]),
|
|
43461
|
+
]), n2 = useCombineActivators(d, (0, import_react.useCallback)((e3, r3) => (c2, l2) => {
|
|
43423
43462
|
let u2 = c2.nativeEvent, d2 = E.get(l2);
|
|
43424
43463
|
if (R.current !== null || !d2 || u2.dndKit || u2.defaultPrevented) return;
|
|
43425
43464
|
let f2 = {
|
|
@@ -43427,26 +43466,26 @@ ${c}
|
|
|
43427
43466
|
};
|
|
43428
43467
|
e3(c2, r3.options, f2) === true && (u2.dndKit = {
|
|
43429
43468
|
capturedBy: r3.sensor
|
|
43430
|
-
}, R.current = l2,
|
|
43469
|
+
}, R.current = l2, t2(c2, r3));
|
|
43431
43470
|
}, [
|
|
43432
43471
|
E,
|
|
43433
|
-
|
|
43472
|
+
t2
|
|
43434
43473
|
]));
|
|
43435
43474
|
useSensorSetup(d), useIsomorphicLayoutEffect(() => {
|
|
43436
|
-
|
|
43475
|
+
A0 && b === Status.Initializing && S(Status.Initialized);
|
|
43437
43476
|
}, [
|
|
43438
|
-
|
|
43477
|
+
A0,
|
|
43439
43478
|
b
|
|
43440
43479
|
]), (0, import_react.useEffect)(() => {
|
|
43441
|
-
let { onDragMove: e3 } = G.current, { active: r3, activatorEvent: c2, collisions: l2, over: u2 } =
|
|
43480
|
+
let { onDragMove: e3 } = G.current, { active: r3, activatorEvent: c2, collisions: l2, over: u2 } = M0.current;
|
|
43442
43481
|
if (!r3 || !c2) return;
|
|
43443
43482
|
let d2 = {
|
|
43444
43483
|
active: r3,
|
|
43445
43484
|
activatorEvent: c2,
|
|
43446
43485
|
collisions: l2,
|
|
43447
43486
|
delta: {
|
|
43448
|
-
x:
|
|
43449
|
-
y:
|
|
43487
|
+
x: q0.x,
|
|
43488
|
+
y: q0.y
|
|
43450
43489
|
},
|
|
43451
43490
|
over: u2
|
|
43452
43491
|
};
|
|
@@ -43457,12 +43496,12 @@ ${c}
|
|
|
43457
43496
|
});
|
|
43458
43497
|
});
|
|
43459
43498
|
}, [
|
|
43460
|
-
|
|
43461
|
-
|
|
43499
|
+
q0.x,
|
|
43500
|
+
q0.y
|
|
43462
43501
|
]), (0, import_react.useEffect)(() => {
|
|
43463
|
-
let { active: e3, activatorEvent: r3, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } =
|
|
43502
|
+
let { active: e3, activatorEvent: r3, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } = M0.current;
|
|
43464
43503
|
if (!e3 || R.current == null || !r3 || !u2) return;
|
|
43465
|
-
let { onDragOver: d2 } = G.current, f2 = l2.get(
|
|
43504
|
+
let { onDragOver: d2 } = G.current, f2 = l2.get(X0), p2 = f2 && f2.rect.current ? {
|
|
43466
43505
|
id: f2.id,
|
|
43467
43506
|
rect: f2.rect.current,
|
|
43468
43507
|
data: f2.data,
|
|
@@ -43478,127 +43517,127 @@ ${c}
|
|
|
43478
43517
|
over: p2
|
|
43479
43518
|
};
|
|
43480
43519
|
(0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
43481
|
-
|
|
43520
|
+
Q0(p2), d2 == null ? void 0 : d2(m2), v({
|
|
43482
43521
|
type: "onDragOver",
|
|
43483
43522
|
event: m2
|
|
43484
43523
|
});
|
|
43485
43524
|
});
|
|
43486
43525
|
}, [
|
|
43487
|
-
|
|
43526
|
+
X0
|
|
43488
43527
|
]), useIsomorphicLayoutEffect(() => {
|
|
43489
|
-
|
|
43528
|
+
M0.current = {
|
|
43490
43529
|
activatorEvent: H,
|
|
43491
43530
|
active: L,
|
|
43492
|
-
activeNode:
|
|
43493
|
-
collisionRect:
|
|
43494
|
-
collisions:
|
|
43495
|
-
droppableRects:
|
|
43531
|
+
activeNode: E0,
|
|
43532
|
+
collisionRect: J0,
|
|
43533
|
+
collisions: Y0,
|
|
43534
|
+
droppableRects: C0,
|
|
43496
43535
|
draggableNodes: E,
|
|
43497
|
-
draggingNode:
|
|
43498
|
-
draggingNodeRect:
|
|
43536
|
+
draggingNode: F0,
|
|
43537
|
+
draggingNodeRect: I0,
|
|
43499
43538
|
droppableContainers: j,
|
|
43500
|
-
over:
|
|
43501
|
-
scrollableAncestors:
|
|
43502
|
-
scrollAdjustedTranslate:
|
|
43539
|
+
over: Z0,
|
|
43540
|
+
scrollableAncestors: B0,
|
|
43541
|
+
scrollAdjustedTranslate: q0
|
|
43503
43542
|
}, I.current = {
|
|
43504
|
-
initial:
|
|
43505
|
-
translated:
|
|
43543
|
+
initial: I0,
|
|
43544
|
+
translated: J0
|
|
43506
43545
|
};
|
|
43507
43546
|
}, [
|
|
43508
43547
|
L,
|
|
43509
|
-
|
|
43510
|
-
|
|
43511
|
-
|
|
43548
|
+
E0,
|
|
43549
|
+
Y0,
|
|
43550
|
+
J0,
|
|
43512
43551
|
E,
|
|
43513
|
-
|
|
43514
|
-
|
|
43515
|
-
|
|
43552
|
+
F0,
|
|
43553
|
+
I0,
|
|
43554
|
+
C0,
|
|
43516
43555
|
j,
|
|
43517
|
-
|
|
43518
|
-
|
|
43519
|
-
|
|
43556
|
+
Z0,
|
|
43557
|
+
B0,
|
|
43558
|
+
q0
|
|
43520
43559
|
]), useAutoScroller({
|
|
43521
|
-
...
|
|
43560
|
+
...O0,
|
|
43522
43561
|
delta: O,
|
|
43523
|
-
draggingRect:
|
|
43524
|
-
pointerCoordinates:
|
|
43525
|
-
scrollableAncestors:
|
|
43526
|
-
scrollableAncestorRects:
|
|
43562
|
+
draggingRect: J0,
|
|
43563
|
+
pointerCoordinates: U0,
|
|
43564
|
+
scrollableAncestors: B0,
|
|
43565
|
+
scrollableAncestorRects: V0
|
|
43527
43566
|
});
|
|
43528
|
-
let
|
|
43567
|
+
let r2 = (0, import_react.useMemo)(() => ({
|
|
43529
43568
|
active: L,
|
|
43530
|
-
activeNode:
|
|
43531
|
-
activeNodeRect:
|
|
43569
|
+
activeNode: E0,
|
|
43570
|
+
activeNodeRect: A0,
|
|
43532
43571
|
activatorEvent: H,
|
|
43533
|
-
collisions:
|
|
43534
|
-
containerNodeRect:
|
|
43535
|
-
dragOverlay:
|
|
43572
|
+
collisions: Y0,
|
|
43573
|
+
containerNodeRect: j0,
|
|
43574
|
+
dragOverlay: P0,
|
|
43536
43575
|
draggableNodes: E,
|
|
43537
43576
|
droppableContainers: j,
|
|
43538
|
-
droppableRects:
|
|
43539
|
-
over:
|
|
43540
|
-
measureDroppableContainers:
|
|
43541
|
-
scrollableAncestors:
|
|
43542
|
-
scrollableAncestorRects:
|
|
43543
|
-
measuringConfiguration:
|
|
43544
|
-
measuringScheduled:
|
|
43545
|
-
windowRect:
|
|
43577
|
+
droppableRects: C0,
|
|
43578
|
+
over: Z0,
|
|
43579
|
+
measureDroppableContainers: w0,
|
|
43580
|
+
scrollableAncestors: B0,
|
|
43581
|
+
scrollableAncestorRects: V0,
|
|
43582
|
+
measuringConfiguration: S0,
|
|
43583
|
+
measuringScheduled: T0,
|
|
43584
|
+
windowRect: z0
|
|
43546
43585
|
}), [
|
|
43547
43586
|
L,
|
|
43548
|
-
|
|
43549
|
-
|
|
43587
|
+
E0,
|
|
43588
|
+
A0,
|
|
43550
43589
|
H,
|
|
43551
|
-
|
|
43552
|
-
|
|
43553
|
-
|
|
43590
|
+
Y0,
|
|
43591
|
+
j0,
|
|
43592
|
+
P0,
|
|
43554
43593
|
E,
|
|
43555
43594
|
j,
|
|
43556
|
-
|
|
43557
|
-
|
|
43558
|
-
E0,
|
|
43559
|
-
H0,
|
|
43560
|
-
U0,
|
|
43595
|
+
C0,
|
|
43596
|
+
Z0,
|
|
43561
43597
|
w0,
|
|
43562
|
-
|
|
43563
|
-
V0
|
|
43564
|
-
|
|
43598
|
+
B0,
|
|
43599
|
+
V0,
|
|
43600
|
+
S0,
|
|
43601
|
+
T0,
|
|
43602
|
+
z0
|
|
43603
|
+
]), i2 = (0, import_react.useMemo)(() => ({
|
|
43565
43604
|
activatorEvent: H,
|
|
43566
|
-
activators:
|
|
43605
|
+
activators: n2,
|
|
43567
43606
|
active: L,
|
|
43568
|
-
activeNodeRect:
|
|
43607
|
+
activeNodeRect: A0,
|
|
43569
43608
|
ariaDescribedById: {
|
|
43570
43609
|
draggable: q
|
|
43571
43610
|
},
|
|
43572
43611
|
dispatch: _,
|
|
43573
43612
|
draggableNodes: E,
|
|
43574
|
-
over:
|
|
43575
|
-
measureDroppableContainers:
|
|
43613
|
+
over: Z0,
|
|
43614
|
+
measureDroppableContainers: w0
|
|
43576
43615
|
}), [
|
|
43577
43616
|
H,
|
|
43578
|
-
|
|
43617
|
+
n2,
|
|
43579
43618
|
L,
|
|
43580
|
-
|
|
43619
|
+
A0,
|
|
43581
43620
|
_,
|
|
43582
43621
|
q,
|
|
43583
43622
|
E,
|
|
43584
|
-
|
|
43585
|
-
|
|
43623
|
+
Z0,
|
|
43624
|
+
w0
|
|
43586
43625
|
]);
|
|
43587
43626
|
return import_react.createElement(DndMonitorContext.Provider, {
|
|
43588
43627
|
value: y
|
|
43589
43628
|
}, import_react.createElement(InternalContext.Provider, {
|
|
43590
|
-
value:
|
|
43629
|
+
value: i2
|
|
43591
43630
|
}, import_react.createElement(PublicContext.Provider, {
|
|
43592
|
-
value:
|
|
43631
|
+
value: r2
|
|
43593
43632
|
}, import_react.createElement(ActiveDraggableContext.Provider, {
|
|
43594
|
-
value:
|
|
43633
|
+
value: $0
|
|
43595
43634
|
}, u)), import_react.createElement(RestoreFocus, {
|
|
43596
43635
|
disabled: (c == null ? void 0 : c.restoreFocus) === false
|
|
43597
43636
|
})), import_react.createElement(Accessibility, {
|
|
43598
43637
|
...c,
|
|
43599
43638
|
hiddenTextDescribedById: q
|
|
43600
43639
|
}));
|
|
43601
|
-
function
|
|
43640
|
+
function a2() {
|
|
43602
43641
|
let e3 = (z == null ? void 0 : z.autoScrollEnabled) === false, r3 = typeof l == "object" ? l.enabled === false : l === false, c2 = w && !e3 && !r3;
|
|
43603
43642
|
return typeof l == "object" ? {
|
|
43604
43643
|
...l,
|
|
@@ -44126,7 +44165,7 @@ ${c}
|
|
|
44126
44165
|
updateMeasurementsFor: I,
|
|
44127
44166
|
...m
|
|
44128
44167
|
}
|
|
44129
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: Z, listeners:
|
|
44168
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: Z, listeners: S0, isDragging: C0, over: w0, setActivatorNodeRef: T0, transform: E0 } = useDraggable({
|
|
44130
44169
|
id: f,
|
|
44131
44170
|
data: M,
|
|
44132
44171
|
attributes: {
|
|
@@ -44134,60 +44173,60 @@ ${c}
|
|
|
44134
44173
|
...c
|
|
44135
44174
|
},
|
|
44136
44175
|
disabled: O.draggable
|
|
44137
|
-
}),
|
|
44176
|
+
}), D0 = useCombinedRefs(B, Z), O0 = !!H, k0 = O0 && !b && isValidIndex(v) && isValidIndex(w), A0 = !T && C0, j0 = k0 ? (A0 && k0 ? E0 : null) ?? (p ?? E)({
|
|
44138
44177
|
rects: S,
|
|
44139
44178
|
activeNodeRect: G,
|
|
44140
44179
|
activeIndex: v,
|
|
44141
44180
|
overIndex: w,
|
|
44142
44181
|
index: j
|
|
44143
|
-
}) : null,
|
|
44182
|
+
}) : null, M0 = isValidIndex(v) && isValidIndex(w) ? d({
|
|
44144
44183
|
id: f,
|
|
44145
44184
|
items: g,
|
|
44146
44185
|
activeIndex: v,
|
|
44147
44186
|
overIndex: w
|
|
44148
|
-
}) : j,
|
|
44149
|
-
activeId:
|
|
44187
|
+
}) : j, N0 = H == null ? void 0 : H.id, P0 = (0, import_react.useRef)({
|
|
44188
|
+
activeId: N0,
|
|
44150
44189
|
items: g,
|
|
44151
|
-
newIndex:
|
|
44190
|
+
newIndex: M0,
|
|
44152
44191
|
containerId: _
|
|
44153
|
-
}),
|
|
44192
|
+
}), F0 = g !== P0.current.items, I0 = r({
|
|
44154
44193
|
active: H,
|
|
44155
44194
|
containerId: _,
|
|
44156
|
-
isDragging:
|
|
44157
|
-
isSorting:
|
|
44195
|
+
isDragging: C0,
|
|
44196
|
+
isSorting: O0,
|
|
44158
44197
|
id: f,
|
|
44159
44198
|
index: j,
|
|
44160
44199
|
items: g,
|
|
44161
|
-
newIndex:
|
|
44162
|
-
previousItems:
|
|
44163
|
-
previousContainerId:
|
|
44200
|
+
newIndex: P0.current.newIndex,
|
|
44201
|
+
previousItems: P0.current.items,
|
|
44202
|
+
previousContainerId: P0.current.containerId,
|
|
44164
44203
|
transition: h,
|
|
44165
|
-
wasDragging:
|
|
44166
|
-
}),
|
|
44167
|
-
disabled: !
|
|
44204
|
+
wasDragging: P0.current.activeId != null
|
|
44205
|
+
}), L0 = useDerivedTransform({
|
|
44206
|
+
disabled: !I0,
|
|
44168
44207
|
index: j,
|
|
44169
44208
|
node: R,
|
|
44170
44209
|
rect: L
|
|
44171
44210
|
});
|
|
44172
44211
|
return (0, import_react.useEffect)(() => {
|
|
44173
|
-
|
|
44212
|
+
O0 && P0.current.newIndex !== M0 && (P0.current.newIndex = M0), _ !== P0.current.containerId && (P0.current.containerId = _), g !== P0.current.items && (P0.current.items = g);
|
|
44174
44213
|
}, [
|
|
44175
|
-
|
|
44176
|
-
|
|
44214
|
+
O0,
|
|
44215
|
+
M0,
|
|
44177
44216
|
_,
|
|
44178
44217
|
g
|
|
44179
44218
|
]), (0, import_react.useEffect)(() => {
|
|
44180
|
-
if (
|
|
44181
|
-
if (
|
|
44182
|
-
|
|
44219
|
+
if (N0 === P0.current.activeId) return;
|
|
44220
|
+
if (N0 != null && P0.current.activeId == null) {
|
|
44221
|
+
P0.current.activeId = N0;
|
|
44183
44222
|
return;
|
|
44184
44223
|
}
|
|
44185
44224
|
let e2 = setTimeout(() => {
|
|
44186
|
-
|
|
44225
|
+
P0.current.activeId = N0;
|
|
44187
44226
|
}, 50);
|
|
44188
44227
|
return () => clearTimeout(e2);
|
|
44189
44228
|
}, [
|
|
44190
|
-
|
|
44229
|
+
N0
|
|
44191
44230
|
]), {
|
|
44192
44231
|
active: H,
|
|
44193
44232
|
activeIndex: v,
|
|
@@ -44195,25 +44234,25 @@ ${c}
|
|
|
44195
44234
|
data: M,
|
|
44196
44235
|
rect: L,
|
|
44197
44236
|
index: j,
|
|
44198
|
-
newIndex:
|
|
44237
|
+
newIndex: M0,
|
|
44199
44238
|
items: g,
|
|
44200
44239
|
isOver: z,
|
|
44201
|
-
isSorting:
|
|
44202
|
-
isDragging:
|
|
44203
|
-
listeners:
|
|
44240
|
+
isSorting: O0,
|
|
44241
|
+
isDragging: C0,
|
|
44242
|
+
listeners: S0,
|
|
44204
44243
|
node: R,
|
|
44205
44244
|
overIndex: w,
|
|
44206
|
-
over:
|
|
44207
|
-
setNodeRef:
|
|
44208
|
-
setActivatorNodeRef:
|
|
44245
|
+
over: w0,
|
|
44246
|
+
setNodeRef: D0,
|
|
44247
|
+
setActivatorNodeRef: T0,
|
|
44209
44248
|
setDroppableNodeRef: B,
|
|
44210
44249
|
setDraggableNodeRef: Z,
|
|
44211
|
-
transform:
|
|
44212
|
-
transition:
|
|
44250
|
+
transform: L0 ?? j0,
|
|
44251
|
+
transition: R0()
|
|
44213
44252
|
};
|
|
44214
|
-
function
|
|
44215
|
-
if (
|
|
44216
|
-
if (!(
|
|
44253
|
+
function R0() {
|
|
44254
|
+
if (L0 || F0 && P0.current.newIndex === j) return disabledTransition;
|
|
44255
|
+
if (!(A0 && !isKeyboardEvent(W) || !h) && (O0 || I0)) return CSS$1.Transition.toString({
|
|
44217
44256
|
...h,
|
|
44218
44257
|
property: transitionProperty
|
|
44219
44258
|
});
|
|
@@ -44491,8 +44530,8 @@ ${c}
|
|
|
44491
44530
|
}, r[18] = O, r[19] = h, r[20] = R, r[21] = E, r[22] = z) : z = r[22];
|
|
44492
44531
|
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;
|
|
44493
44532
|
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];
|
|
44494
|
-
let
|
|
44495
|
-
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (
|
|
44533
|
+
let S0;
|
|
44534
|
+
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (S0 = H && (0, import_jsx_runtime.jsx)("div", {
|
|
44496
44535
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
44497
44536
|
style: {
|
|
44498
44537
|
transform: `scale(${j})`,
|
|
@@ -44505,14 +44544,14 @@ ${c}
|
|
|
44505
44544
|
status: c.status,
|
|
44506
44545
|
output: c.output
|
|
44507
44546
|
})
|
|
44508
|
-
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] =
|
|
44509
|
-
let
|
|
44510
|
-
r[34] === L ?
|
|
44547
|
+
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] = S0) : S0 = r[33];
|
|
44548
|
+
let C0;
|
|
44549
|
+
r[34] === L ? C0 = r[35] : (C0 = L && (0, import_jsx_runtime.jsx)("div", {
|
|
44511
44550
|
className: "absolute inset-0 bg-muted/60 pointer-events-none",
|
|
44512
44551
|
"aria-hidden": true
|
|
44513
|
-
}), r[34] = L, r[35] =
|
|
44514
|
-
let
|
|
44515
|
-
r[36] !== L || r[37] !== I ? (
|
|
44552
|
+
}), r[34] = L, r[35] = C0);
|
|
44553
|
+
let w0;
|
|
44554
|
+
r[36] !== L || r[37] !== I ? (w0 = I && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
44516
44555
|
content: (0, import_jsx_runtime.jsx)("span", {
|
|
44517
44556
|
className: "text-xs opacity-80",
|
|
44518
44557
|
children: I.description
|
|
@@ -44524,19 +44563,19 @@ ${c}
|
|
|
44524
44563
|
className: "h-3.5 w-3.5"
|
|
44525
44564
|
})
|
|
44526
44565
|
})
|
|
44527
|
-
}), r[36] = L, r[37] = I, r[38] =
|
|
44528
|
-
let
|
|
44529
|
-
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== Z || r[43] !==
|
|
44566
|
+
}), r[36] = L, r[37] = I, r[38] = w0) : w0 = r[38];
|
|
44567
|
+
let T0;
|
|
44568
|
+
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", {
|
|
44530
44569
|
ref: f,
|
|
44531
44570
|
className: Z,
|
|
44532
44571
|
style: B,
|
|
44533
44572
|
...d,
|
|
44534
44573
|
children: [
|
|
44535
|
-
|
|
44536
|
-
|
|
44537
|
-
|
|
44574
|
+
S0,
|
|
44575
|
+
C0,
|
|
44576
|
+
w0
|
|
44538
44577
|
]
|
|
44539
|
-
}), r[39] = B, r[40] = d, r[41] = f, r[42] = Z, r[43] =
|
|
44578
|
+
}), 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;
|
|
44540
44579
|
};
|
|
44541
44580
|
function projectDropTarget(e) {
|
|
44542
44581
|
let { active: r, over: c } = e;
|
|
@@ -44567,7 +44606,7 @@ ${c}
|
|
|
44567
44606
|
if (l && l !== "slide") return l;
|
|
44568
44607
|
if (c == null ? void 0 : c.has(e)) return "skip";
|
|
44569
44608
|
}
|
|
44570
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
44609
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-pQBz0vEK.js"));
|
|
44571
44610
|
const SlidesLayoutPlugin = {
|
|
44572
44611
|
type: "slides",
|
|
44573
44612
|
name: "Slides",
|
|
@@ -44936,7 +44975,7 @@ ${c}
|
|
|
44936
44975
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
44937
44976
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
44938
44977
|
}, r[2] = z) : z = r[2], (0, import_react.useLayoutEffect)(z), !I && isInternalCellName(b)) return null;
|
|
44939
|
-
let B, H, W, G, q, Z,
|
|
44978
|
+
let B, H, W, G, q, Z, S0, C0, w0, T0;
|
|
44940
44979
|
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) {
|
|
44941
44980
|
let e2 = M.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), b2;
|
|
44942
44981
|
r[29] === M ? b2 = r[30] : (b2 = () => M.filter(_temp3$1).map(_temp4$1).join("\n"), r[29] = M, r[30] = b2);
|
|
@@ -44982,11 +45021,11 @@ ${c}
|
|
|
44982
45021
|
})
|
|
44983
45022
|
})
|
|
44984
45023
|
]
|
|
44985
|
-
}), 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,
|
|
44986
|
-
let
|
|
44987
|
-
r[39] !== j || r[40] !==
|
|
45024
|
+
}), 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;
|
|
45025
|
+
let E02 = y && "marimo-output-stale", D02 = I ? "p-5" : "p-3";
|
|
45026
|
+
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 ? {
|
|
44988
45027
|
maxHeight: "none"
|
|
44989
|
-
} : void 0, r[43] = d, r[44] =
|
|
45028
|
+
} : void 0, r[43] = d, r[44] = w0), T0 = e2.map((e3, r2) => {
|
|
44990
45029
|
if (e3.channel === "pdb") return null;
|
|
44991
45030
|
if (e3.channel === "stdin") {
|
|
44992
45031
|
invariant(typeof e3.data == "string", "Expected data to be a string");
|
|
@@ -45014,36 +45053,36 @@ ${c}
|
|
|
45014
45053
|
wrapText: l
|
|
45015
45054
|
})
|
|
45016
45055
|
}, r2);
|
|
45017
|
-
}), 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] =
|
|
45018
|
-
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23], Z = r[24],
|
|
45019
|
-
let
|
|
45020
|
-
r[45] !== S || r[46] !== b ? (
|
|
45056
|
+
}), 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;
|
|
45057
|
+
} 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];
|
|
45058
|
+
let E0;
|
|
45059
|
+
r[45] !== S || r[46] !== b ? (E0 = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
45021
45060
|
value: b,
|
|
45022
45061
|
cellId: S,
|
|
45023
45062
|
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"
|
|
45024
|
-
}), r[45] = S, r[46] = b, r[47] =
|
|
45025
|
-
let
|
|
45026
|
-
r[48] !==
|
|
45063
|
+
}), r[45] = S, r[46] = b, r[47] = E0) : E0 = r[47];
|
|
45064
|
+
let D0;
|
|
45065
|
+
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", {
|
|
45027
45066
|
title: W,
|
|
45028
45067
|
"data-testid": G,
|
|
45029
45068
|
ref: q,
|
|
45030
45069
|
...Z,
|
|
45031
|
-
tabIndex:
|
|
45032
|
-
className:
|
|
45033
|
-
style:
|
|
45070
|
+
tabIndex: S0,
|
|
45071
|
+
className: C0,
|
|
45072
|
+
style: w0,
|
|
45034
45073
|
children: [
|
|
45035
|
-
|
|
45036
|
-
|
|
45074
|
+
T0,
|
|
45075
|
+
E0
|
|
45037
45076
|
]
|
|
45038
|
-
}), r[48] =
|
|
45039
|
-
let
|
|
45040
|
-
return r[58] !== B || r[59] !== H || r[60] !==
|
|
45077
|
+
}), 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];
|
|
45078
|
+
let O0;
|
|
45079
|
+
return r[58] !== B || r[59] !== H || r[60] !== D0 ? (O0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
45041
45080
|
className: B,
|
|
45042
45081
|
children: [
|
|
45043
45082
|
H,
|
|
45044
|
-
|
|
45083
|
+
D0
|
|
45045
45084
|
]
|
|
45046
|
-
}), r[58] = B, r[59] = H, r[60] =
|
|
45085
|
+
}), r[58] = B, r[59] = H, r[60] = D0, r[61] = O0) : O0 = r[61], O0;
|
|
45047
45086
|
}, StdInput = (e) => {
|
|
45048
45087
|
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;
|
|
45049
45088
|
r[0] === d ? y = r[1] : (y = renderText(d), r[0] = d, r[1] = y);
|
|
@@ -45497,23 +45536,23 @@ ${c}
|
|
|
45497
45536
|
if ((h || _ || m || W) && !G) return null;
|
|
45498
45537
|
let q;
|
|
45499
45538
|
r[42] !== d || r[43] !== T ? (q = cellDomProps(d, T), r[42] = d, r[43] = T, r[44] = q) : q = r[44];
|
|
45500
|
-
let Z = w === "edit",
|
|
45501
|
-
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== Z ? (
|
|
45539
|
+
let Z = w === "edit", S0;
|
|
45540
|
+
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== Z ? (S0 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
45502
45541
|
allowExpand: Z,
|
|
45503
45542
|
output: c,
|
|
45504
45543
|
className: CSSClasses.outputArea,
|
|
45505
45544
|
cellId: d,
|
|
45506
45545
|
stale: I,
|
|
45507
45546
|
loading: R
|
|
45508
|
-
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = Z, r[50] =
|
|
45509
|
-
let
|
|
45510
|
-
return r[51] !== H || r[52] !== q || r[53] !==
|
|
45547
|
+
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = Z, r[50] = S0) : S0 = r[50];
|
|
45548
|
+
let C0;
|
|
45549
|
+
return r[51] !== H || r[52] !== q || r[53] !== S0 ? (C0 = (0, import_jsx_runtime.jsx)("div", {
|
|
45511
45550
|
tabIndex: -1,
|
|
45512
45551
|
ref: j,
|
|
45513
45552
|
className: H,
|
|
45514
45553
|
...q,
|
|
45515
|
-
children:
|
|
45516
|
-
}), r[51] = H, r[52] = q, r[53] =
|
|
45554
|
+
children: S0
|
|
45555
|
+
}), r[51] = H, r[52] = q, r[53] = S0, r[54] = C0) : C0 = r[54], C0;
|
|
45517
45556
|
});
|
|
45518
45557
|
VerticalCell.displayName = "VerticalCell";
|
|
45519
45558
|
const VerticalLayoutPlugin = {
|
|
@@ -46433,7 +46472,7 @@ ${r}
|
|
|
46433
46472
|
});
|
|
46434
46473
|
}
|
|
46435
46474
|
const getMarimoVersion = () => store.get(marimoVersionAtom);
|
|
46436
|
-
var worker_default = "/assets/worker-
|
|
46475
|
+
var worker_default = "/assets/worker-CpBbwbQo.js", DefaultWorkerFactory = class {
|
|
46437
46476
|
constructor(e = {}) {
|
|
46438
46477
|
this.url = e.workerUrl || this.getDefaultWorkerUrl(), this.name = e.workerName || getMarimoVersion();
|
|
46439
46478
|
}
|