@marimo-team/islands 0.23.9-dev3 → 0.23.9-dev5
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-2lBNiUv6.js → ConnectedDataExplorerComponent-OzrfMM5L.js} +20 -20
- package/dist/ErrorBoundary-rULOrC_p.js +175 -0
- package/dist/{ImageComparisonComponent-CNHIsPDj.js → ImageComparisonComponent-CHrI72em.js} +1 -1
- package/dist/{Plot-4wn-lMVn.js → Plot-CAYS29h9.js} +1 -1
- package/dist/{_baseUniq-CxZRxRRo.js → _baseUniq-B_2Hw7zG.js} +3 -3
- package/dist/{any-language-editor-VWs_7v27.js → any-language-editor-DfdpyDv_.js} +23 -23
- package/dist/architecture-7HQA4BMR-Kyc44TmC.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-CXVJxFhH.js → architectureDiagram-VXUJARFQ-CT2SuxNw.js} +15 -15
- package/dist/{arrays-CldYf7p7.js → arrays-sEtDRoG4.js} +1 -1
- package/dist/{blockDiagram-VD42YOAC-DGDaxR8I.js → blockDiagram-VD42YOAC-Dy7hlFla.js} +7 -7
- package/dist/{button-Dj4BTre0.js → button-C5K9fIPF.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-C2hc6ne8.js → c4Diagram-YG6GDRKO-BXlAmZ8Z.js} +4 -4
- package/dist/{capabilities-C9rrYCzf.js → capabilities-BceAxrAW.js} +2 -2
- package/dist/{channel-BBoIVUrJ.js → channel-D_PHgcig.js} +1 -1
- package/dist/{chat-ui-D3XBept8.js → chat-ui-BDI3FMI8.js} +29 -29
- package/dist/{check-BcUIXnUT.js → check-DTbrK0zt.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-BZq7Kom7.js → chunk-4F5CHEZ2-D9nGEHV8.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BOg95xG5.js → chunk-5FQGJX7Z-BNjes6Yx.js} +5 -5
- package/dist/{chunk-ABZYJK2D-D0cLy8Bb.js → chunk-ABZYJK2D-Dz0-H2B5.js} +1 -1
- package/dist/{chunk-ATLVNIR6-BXsEjlHF.js → chunk-ATLVNIR6-o0Z5MZLd.js} +1 -1
- package/dist/{chunk-B2363JML-D9-XOau1.js → chunk-B2363JML-KEJpLGGP.js} +1 -1
- package/dist/{chunk-B4BG7PRW-Q1usn6T3.js → chunk-B4BG7PRW-BL98U9B4.js} +4 -4
- package/dist/{chunk-DI55MBZ5-D1qLYNrb.js → chunk-DI55MBZ5-Dwkn0LWm.js} +4 -4
- package/dist/{chunk-EXTU4WIE-BKNXdLmD.js → chunk-EXTU4WIE-9sNjmQrB.js} +1 -1
- package/dist/{chunk-FRFDVMJY-BSBUAX7r.js → chunk-FRFDVMJY-DzQqMWrl.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-D6c6cOBG.js → chunk-JA3XYJ7Z-C32Y7Epf.js} +2 -2
- package/dist/{chunk-JZLCHNYA-BvsPHJmL.js → chunk-JZLCHNYA-C6ftyVMN.js} +4 -4
- package/dist/{chunk-N4CR4FBY-8ycT-O9a.js → chunk-N4CR4FBY-DUhGZhZs.js} +5 -5
- package/dist/{chunk-PL6DKKU2-B0MTXvyc.js → chunk-PL6DKKU2-D7km-08O.js} +1 -1
- package/dist/{chunk-QN33PNHL-Bb-eUBW3.js → chunk-QN33PNHL-0K6SDYn3.js} +1 -1
- package/dist/{chunk-QXUST7PY-DV8yRwBd.js → chunk-QXUST7PY-DMhsRpYK.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-mQeCz5CE.js → chunk-S3R3BYOJ-oAe3dEbO.js} +3 -3
- package/dist/{chunk-SJTYNZTY-CEG4F0pB.js → chunk-SJTYNZTY-BkJrPRFC.js} +1 -1
- package/dist/{chunk-TCCFYFTB-d3HOqL2I.js → chunk-TCCFYFTB-D58KeXnC.js} +6 -6
- package/dist/{chunk-TQ3KTPDO-DiCtqVSi.js → chunk-TQ3KTPDO-D_yA_wAb.js} +1 -1
- package/dist/{chunk-TZMSLE5B-BqW10dHe.js → chunk-TZMSLE5B-yBKS_DQU.js} +1 -1
- package/dist/{chunk-UMXZTB3W-97iS1iEl.js → chunk-UMXZTB3W-D7uwvNjd.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG--Yh__LHb.js → classDiagram-2ON5EDUG-QjoAcuFE.js} +10 -10
- package/dist/{classDiagram-v2-WZHVMYZB-BC7X7Xtc.js → classDiagram-v2-WZHVMYZB-bUCv4gu2.js} +10 -10
- package/dist/{clone-BuIIsfA8.js → clone-Q4Fqwn6q.js} +1 -1
- package/dist/{code-block-37QAKDTI-BsGy1AOJ.js → code-block-37QAKDTI-m92Yc8pv.js} +2 -2
- package/dist/{code-visibility-BKxrBMod.js → code-visibility-DY2PjKMU.js} +7200 -7488
- package/dist/{constants-D0gkYoE2.js → constants-T20xxyNf.js} +2 -2
- package/dist/{copy-DLf4aN7I.js → copy-BuQpJEzp.js} +2 -2
- package/dist/{dagre-6UL2VRFP-DRBWoQUw.js → dagre-6UL2VRFP-J0JKgwOt.js} +11 -11
- package/dist/{dagre-VYEPqXIV.js → dagre-By_QsQgc.js} +11 -11
- package/dist/{data-grid-overlay-editor-efe5ZagF.js → data-grid-overlay-editor-mfEJ5475.js} +2 -2
- package/dist/{diagram-PSM6KHXK-H66ATWP2.js → diagram-PSM6KHXK-DYgJuNk9.js} +18 -18
- package/dist/{diagram-QEK2KX5R-DItl5Wns.js → diagram-QEK2KX5R-CKdBR2sb.js} +14 -14
- package/dist/{diagram-S2PKOQOG-CtuW_ZuL.js → diagram-S2PKOQOG-Dpi7mo5W.js} +14 -14
- package/dist/dist-0Fif7jnk.js +5 -0
- package/dist/{dist-Dh3wkoyH.js → dist-4j4c7bjm.js} +2 -2
- package/dist/{dist-CDFZi-QD.js → dist-B3P2fFpz.js} +1 -1
- package/dist/{dist-BNyrZfqT.js → dist-B3pZ0Ab6.js} +2 -2
- package/dist/dist-B5h_9sHB.js +6 -0
- package/dist/dist-B9M6R5ye.js +5 -0
- package/dist/dist-BCt3tnck.js +8 -0
- package/dist/{dist-BrBucRXs.js → dist-BTfv03uy.js} +2 -2
- package/dist/dist-BUIJwMwn.js +8 -0
- package/dist/{dist-CYEylvZA.js → dist-BbbIBDiQ.js} +1 -1
- package/dist/{dist-KnujRhFL.js → dist-BcuoonNH.js} +4 -4
- package/dist/{dist-DJ6zJQZ4.js → dist-Bde4a2kU.js} +2 -2
- package/dist/{dist-t_qL7eB8.js → dist-Bfwsv11D.js} +2 -2
- package/dist/{dist-CNtV21T_.js → dist-BhM8gdSO.js} +4 -4
- package/dist/{dist-nuW5EDYT.js → dist-BotSqB48.js} +2 -2
- package/dist/dist-BpquMd3k.js +5 -0
- package/dist/dist-BzJsqYfz.js +5 -0
- package/dist/{dist-D029TiHd.js → dist-Bz_sYWbr.js} +2 -2
- package/dist/{dist-D3ZI9nhS.js → dist-C1BYNeCR.js} +4 -4
- package/dist/{dist-Bc5pmZIw.js → dist-C5VC_yzu.js} +1 -1
- package/dist/dist-CA5ELXAf.js +6 -0
- package/dist/dist-CLBRs6Uv.js +5 -0
- package/dist/{dist-Dhk6FMb0.js → dist-CLJWPTX2.js} +3 -3
- package/dist/{dist-C34oIrQ9.js → dist-CLUtPrdy.js} +1 -1
- package/dist/dist-CStVCMbq.js +5 -0
- package/dist/{dist-B8RaFTRF.js → dist-CUCNs1ja.js} +2 -2
- package/dist/dist-CZRIEY3Y.js +8 -0
- package/dist/{dist-UcOPnRMa.js → dist-CcXxepx6.js} +3 -3
- package/dist/dist-CuUHbFD0.js +5 -0
- package/dist/{dist-B8BjrFUE.js → dist-Cy1WxgBD.js} +5 -5
- package/dist/{dist-WdPUFc56.js → dist-D4CewLk6.js} +1 -1
- package/dist/{dist-DMZNjfX4.js → dist-DRfcqpxJ.js} +2 -2
- package/dist/dist-DV7Iabxb.js +8 -0
- package/dist/{dist-usPCDYx8.js → dist-D_bzzWBm.js} +1 -1
- package/dist/{dist-BvCfQQQE.js → dist-DgnE8F-r.js} +1 -1
- package/dist/{dist-JEhxD_cn.js → dist-DhHh0jLg.js} +1 -1
- package/dist/{dist-DGAfI2rB.js → dist-DqAWR3CS.js} +2 -2
- package/dist/{dist--sWVZwjW.js → dist-Du8WkPuU.js} +1 -1
- package/dist/dist-DuEeHMvL.js +5 -0
- package/dist/{dist-BTyJtnNg.js → dist-DxvORzUR.js} +1 -1
- package/dist/{dist-B507mf_I.js → dist-RqXTaiir.js} +2 -2
- package/dist/{dist-Yrfc6L0I.js → dist-fQ0ViXGs.js} +3 -3
- package/dist/{dist-B4LJpMEg.js → dist-h2c8sZvT.js} +1 -1
- package/dist/{dist-C2ej4eOH.js → dist-luvabDEB.js} +2 -2
- package/dist/{dist-B52GXZbd.js → dist-p2qyWijU.js} +2 -2
- package/dist/{erDiagram-Q2GNP2WA--19X2kU5.js → erDiagram-Q2GNP2WA-BU-m41EQ.js} +10 -10
- package/dist/{error-banner-CVkfBUT3.js → error-banner-5bz0L9hS.js} +3 -3
- package/dist/{esm-CWp0KQeK.js → esm-BfhQmZjp.js} +4 -4
- package/dist/{esm-DjNnlmpf.js → esm-Duie8iU-.js} +23 -23
- package/dist/{extends-vAi97cpa.js → extends-BgdxCfYu.js} +6 -6
- package/dist/{flatten-CzBvFdvC.js → flatten-Bbw7g6-K.js} +1 -1
- package/dist/{flowDiagram-NV44I4VS-DQmWlo7f.js → flowDiagram-NV44I4VS-CRoXKjGq.js} +10 -10
- package/dist/{formats-Dsy9kkZu.js → formats-DQ5qjo_Q.js} +4 -4
- package/dist/{ganttDiagram-JELNMOA3-BOGXJ8Lk.js → ganttDiagram-JELNMOA3-7mq5f9cO.js} +7 -7
- package/dist/{gitGraph-G5XIXVHT-DGlbae5m.js → gitGraph-G5XIXVHT-DiniR35k.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-DjzxfF0P.js → gitGraphDiagram-V2S2FVAM-Dfuokq6w.js} +13 -13
- package/dist/{glide-data-editor-DucgdjRo.js → glide-data-editor-DqRY9naW.js} +557 -557
- package/dist/{graphlib-CVPKjKCS.js → graphlib-Ns7y5crs.js} +5 -5
- package/dist/{hasIn-COs6vImh.js → hasIn-Deg7jl_j.js} +3 -3
- package/dist/{html-to-image-CpggM7u1.js → html-to-image-CiSinpSR.js} +109 -109
- package/dist/{info-VBDWY6EO-D2lvLLw5.js → info-VBDWY6EO-DVZvGhkQ.js} +3 -3
- package/dist/{infoDiagram-HS3SLOUP-ChNufFsP.js → infoDiagram-HS3SLOUP-CEnzWruK.js} +13 -13
- package/dist/{input-D4kjoQUB.js → input-CZD2z6X2.js} +70 -67
- package/dist/{isEmpty-Dd8mx_WL.js → isEmpty-CJJMn-QP.js} +1 -1
- package/dist/{isSymbol-BvIfMnn6.js → isSymbol-CoUCgMCM.js} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-BO_O4Ij1.js → journeyDiagram-XKPGCS4Q-8XYSU1GI.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-CPpiiiWk.js → kanban-definition-3W4ZIXB7--9pT9z1R.js} +7 -7
- package/dist/{label-BLqV33b1.js → label-LWtdw5i8.js} +3 -3
- package/dist/{linear-2NnK4cxi.js → linear-B5-AFRiR.js} +2 -2
- package/dist/{loader-Dr8Qem8p.js → loader-BWLPpjKK.js} +2 -2
- package/dist/main.js +1145 -989
- package/dist/{memoize-C9ltv0Cw.js → memoize-BOtf2yFf.js} +1 -1
- package/dist/{merge-CHn7Yx0N.js → merge-Be1CqGnU.js} +1 -1
- package/dist/mermaid-4DMBBIKO-DIdL224_.js +6 -0
- package/dist/{mermaid-DO-Daq7u.js → mermaid-IU93XzmY.js} +44 -44
- package/dist/{mermaid-parser.core-DreccfmS.js → mermaid-parser.core-C3XRsazI.js} +8 -8
- package/dist/{min-BNz2lZfk.js → min-Dtgc8txR.js} +4 -4
- package/dist/{mindmap-definition-VGOIOE7T-CC1_Vl0f.js → mindmap-definition-VGOIOE7T-B-4mnfFG.js} +9 -9
- package/dist/{now-Sgq5m3D-.js → now-Ch98bJO_.js} +2 -2
- package/dist/{number-overlay-editor-CpKi64Fy.js → number-overlay-editor-D-a0qCT8.js} +1 -1
- package/dist/{once-rJImu7SE.js → once-DPuqGUeo.js} +1 -1
- package/dist/{packet-DYOGHKS2-CmWtF3uO.js → packet-DYOGHKS2-34raHOiB.js} +3 -3
- package/dist/{pick-CRAXxDYn.js → pick-D1Qo8s2C.js} +4 -4
- package/dist/{pie-VRWISCQL-B6u8vus8.js → pie-VRWISCQL-BaLlzZa3.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-Di34MOFQ.js → pieDiagram-ADFJNKIX-Cr3cNpZY.js} +15 -15
- package/dist/{precisionRound-CnHPY_5v.js → precisionRound-Tqb4mg-H.js} +1 -1
- package/dist/{process-output-X8TR20AK.js → process-output-5qJjMRKh.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-B9kVk1ny.js → quadrantDiagram-AYHSOK5B-BuNL8Q93.js} +4 -4
- package/dist/{radar-ZZBFDIW7-XAmXSa8s.js → radar-ZZBFDIW7-Ci7bfoZa.js} +3 -3
- package/dist/{react-vega-Dh6-UKKe.js → react-vega-B0sAlDTL.js} +9 -9
- package/dist/react-vega-B6ncY2Tp.js +9 -0
- package/dist/{requirementDiagram-UZGBJVZJ-BxGfGYEx.js → requirementDiagram-UZGBJVZJ-BG2lLUN1.js} +9 -9
- package/dist/{reveal-component-BMyi2UMr.js → reveal-component-Bq1iwOTq.js} +28 -28
- package/dist/{sankeyDiagram-TZEHDZUN-D09PBJ-n.js → sankeyDiagram-TZEHDZUN-DMal8sps.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-t_Dpemj0.js → sequenceDiagram-WL72ISMW-DT6Tk-Eo.js} +4 -4
- package/dist/{spec-hVaaZsY5.js → spec-a6DaqW__.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-B18gTP_j.js → stateDiagram-FKZM4ZOC-CB_lodq3.js} +12 -12
- package/dist/{stateDiagram-v2-4FDKWEC3-B6e_t14A.js → stateDiagram-v2-4FDKWEC3-E0RGjKsm.js} +10 -10
- package/dist/stex-KfRnSHzF.js +4 -0
- package/dist/{strings-BiIhGaI8.js → strings-Bu3vlb6W.js} +7 -7
- package/dist/style.css +1 -1
- package/dist/{swiper-component-DlD2GU2g.js → swiper-component-B2t5sN1q.js} +3 -3
- package/dist/{time-C1SGcFMH.js → time-CsmIF9YZ.js} +3 -3
- package/dist/{timeline-definition-IT6M3QCI-DJnh1ks5.js → timeline-definition-IT6M3QCI-NfSKRvH0.js} +2 -2
- package/dist/{toDate-CIpC_34u.js → toDate-ZVVIBmdk.js} +5 -5
- package/dist/{tooltip-DRaMBu06.js → tooltip-C5FYOpQc.js} +4 -4
- package/dist/{treemap-GDKQZRPO-Du95DV6u.js → treemap-GDKQZRPO-Cl6OQh8D.js} +3 -3
- package/dist/{types-Dzuoc3LN.js → types-CVvp1fKr.js} +2 -9
- package/dist/{useAsyncData-C56Khv_R.js → useAsyncData-C008zUPi.js} +2 -2
- package/dist/{useDateFormatter-B_9k85Ex.js → useDateFormatter-BA4FCquG.js} +2 -2
- package/dist/{useDeepCompareMemoize-Dt98v2ua.js → useDeepCompareMemoize-BrA3_n61.js} +1 -1
- package/dist/{useIframeCapabilities-BkYHTrss.js → useIframeCapabilities-C4JTXTIh.js} +1 -1
- package/dist/{useLifecycle-BF6-z62y.js → useLifecycle-BNaoJ5a4.js} +4 -4
- package/dist/{useTheme-DykuNHR2.js → useTheme-7O0YWlE5.js} +3 -3
- package/dist/{vega-component-cSdqoAxe.js → vega-component-DJNmOdUj.js} +18 -18
- package/dist/{vega-loader.browser-3_z8GoFC.js → vega-loader.browser-CZ-J8Py3.js} +3 -3
- package/dist/{xychartDiagram-PRI3JC2R-Dk2d_bX0.js → xychartDiagram-PRI3JC2R-BvwftqMA.js} +9 -9
- package/dist/{zod-BWkcDORu.js → zod-CoBiJ5v4.js} +3 -3
- package/package.json +1 -1
- package/src/components/data-table/TableBottomBar.tsx +30 -6
- package/src/components/data-table/__tests__/TableBottomBar.test.tsx +73 -0
- package/src/components/data-table/__tests__/column-header.test.tsx +110 -277
- package/src/components/data-table/__tests__/data-table.test.tsx +52 -1
- package/src/components/data-table/__tests__/date-filter-inputs.test.tsx +33 -0
- package/src/components/data-table/__tests__/filter-pill-editor.test.tsx +75 -38
- package/src/components/data-table/__tests__/filter-pills.test.tsx +287 -0
- package/src/components/data-table/__tests__/filter-test-utils.ts +47 -0
- package/src/components/data-table/__tests__/filters.test.ts +5 -5
- package/src/components/data-table/__tests__/header-items.test.tsx +47 -1
- package/src/components/data-table/__tests__/useColumnVisibility.test.ts +42 -0
- package/src/components/data-table/add-filter-button.tsx +85 -0
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +7 -1
- package/src/components/data-table/column-header.tsx +94 -691
- package/src/components/data-table/columns.tsx +3 -4
- package/src/components/data-table/context-menu.tsx +26 -12
- package/src/components/data-table/data-table.tsx +118 -56
- package/src/components/data-table/date-filter-inputs.tsx +13 -10
- package/src/components/data-table/filter-by-values-picker.tsx +13 -19
- package/src/components/data-table/filter-editor-context.tsx +34 -0
- package/src/components/data-table/filter-pill-editor.tsx +152 -175
- package/src/components/data-table/filter-pills.tsx +190 -153
- package/src/components/data-table/filters/builders.ts +102 -0
- package/src/components/data-table/filters/defaults.ts +31 -0
- package/src/components/data-table/filters/format.ts +131 -0
- package/src/components/data-table/filters/guards.ts +51 -0
- package/src/components/data-table/filters/index.ts +7 -0
- package/src/components/data-table/filters/operators.ts +76 -0
- package/src/components/data-table/filters/serialize.ts +186 -0
- package/src/components/data-table/filters/types.ts +33 -0
- package/src/components/data-table/header-items.tsx +25 -85
- package/src/components/data-table/hooks/use-column-visibility.ts +42 -0
- package/src/components/data-table/pagination.tsx +16 -3
- package/src/components/data-table/value-chips.tsx +52 -0
- package/src/components/ui/number-field.tsx +13 -1
- package/src/plugins/impl/DataTablePlugin.tsx +4 -0
- package/src/utils/dates.ts +39 -0
- package/dist/ErrorBoundary-D3wrPNma.js +0 -167
- package/dist/architecture-7HQA4BMR-CS9jOrqM.js +0 -6
- package/dist/dist-21ButRCu.js +0 -8
- package/dist/dist-B--tLnAP.js +0 -5
- package/dist/dist-BoHGySTM.js +0 -5
- package/dist/dist-ByAz19Qc.js +0 -5
- package/dist/dist-C1Ap5CYU.js +0 -5
- package/dist/dist-C93EysN4.js +0 -5
- package/dist/dist-CY-lVor6.js +0 -8
- package/dist/dist-CYDuv4bR.js +0 -8
- package/dist/dist-Cfo5EE2t.js +0 -6
- package/dist/dist-CjivSDvN.js +0 -5
- package/dist/dist-Cqwx-MH7.js +0 -5
- package/dist/dist-DbpcoFAV.js +0 -6
- package/dist/dist-FUNenbiQ.js +0 -5
- package/dist/dist-zhSud5X3.js +0 -8
- package/dist/mermaid-4DMBBIKO-B7VQMwJx.js +0 -6
- package/dist/react-vega-Cavbrg4l.js +0 -9
- package/dist/stex-ChDHQs3R.js +0 -4
- package/src/components/data-table/__tests__/column-header.test.ts +0 -65
- package/src/components/data-table/filters.ts +0 -386
- /package/dist/{_baseFor-BGiY-cm1.js → _baseFor-4jw-lnCC.js} +0 -0
- /package/dist/{clsx-CyyyQ8Ue.js → clsx-CIWA5tNO.js} +0 -0
- /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-BoHTsDG6.js} +0 -0
- /package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-u-3osm0P.js} +0 -0
- /package/dist/{dist-CCADb07R.js → dist-DNdhYsgW.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DtW2o230.js → emotion-is-prop-valid.esm-DzSb5hsH.js} +0 -0
- /package/dist/{invariant-UcGKQEhF.js → invariant-wRzNXIsJ.js} +0 -0
- /package/dist/{jsx-runtime-COBk7ree.js → jsx-runtime-DebpN0FN.js} +0 -0
- /package/dist/{main-CThhXnXU.js → main-Tj_-QTyF.js} +0 -0
- /package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-DF2w36zS.js} +0 -0
- /package/dist/{ordinal-B43ZeR68.js → ordinal-ArJavP1Q.js} +0 -0
- /package/dist/{purify.es-DT70lfR0.js → purify.es-H92eMd9-.js} +0 -0
- /package/dist/{range-BOiA8qqU.js → range-C-rmrM1O.js} +0 -0
- /package/dist/{react-dom-BWRJ_g_k.js → react-dom-BTJzcVJ9.js} +0 -0
- /package/dist/{stex-DrxP7bb3.js → stex-BIsgBmK4.js} +0 -0
package/dist/main.js
CHANGED
|
@@ -18,64 +18,64 @@ 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-C5K9fIPF.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 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
|
|
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
|
|
30
|
-
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-
|
|
31
|
-
import { t as Check } from "./check-
|
|
32
|
-
import { A as Trigger$1, C as $a916eb452884faea$export$b7a616150fdb9f44, 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, 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, x as assertNever } from "./strings-
|
|
33
|
-
import { I as $64fa3d84918910a7$export$29f1550f4b0d4415, K as useDebounceControlledState, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, a as NumberField, b as DropdownMenuTrigger, c as prettyNumber, d as DropdownMenuContent, f as DropdownMenuGroup, fn as Circle, g as DropdownMenuSeparator, i as OnBlurredInput, it as $701a24aa0da5b062$export$ea18c227d4417cc3, l as prettyScientificNumber, m as DropdownMenuLabel, n as DebouncedNumberInput, p as DropdownMenuItem, pn as ChevronRight, q as useDebouncedCallback, r as Input, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, t as DebouncedInput, u as DropdownMenu, ut as $6179b936705e76d3$export$ae780daf29e6d456, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./input-
|
|
34
|
-
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-
|
|
35
|
-
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-
|
|
36
|
-
import {
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import {
|
|
40
|
-
import { i as
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import "./
|
|
53
|
-
import
|
|
54
|
-
import "./dist-
|
|
55
|
-
import "./dist-
|
|
56
|
-
import "./dist-
|
|
57
|
-
import "./dist-
|
|
58
|
-
import
|
|
59
|
-
import {
|
|
60
|
-
import "./
|
|
61
|
-
import
|
|
62
|
-
import { n as
|
|
63
|
-
import "./vega-loader.browser-
|
|
64
|
-
import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, s as tooltipHandler } from "./loader-
|
|
65
|
-
import
|
|
66
|
-
import "./defaultLocale-
|
|
67
|
-
import "./
|
|
68
|
-
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-
|
|
69
|
-
import "./dist-
|
|
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 { t as langs } from "./esm-
|
|
24
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BuQpJEzp.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 useCellFocusActions, 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 LazyAnyLanguageCodeMirror, in as parseDataset, jn as LoaderCircle, jt as generateUUID, k as ChevronDownIcon, ln as UIElementId, mt as headingToIdentifier, n as Spinner, nt as createCell, o as useLastFocusedCellId, ot as getInitialAppMode, p as useExpandedConsoleOutput, pn as jsonParseWithSpecialChar, pt as isErrorMime, qt as requestClientAtom, rn as parseAttrValue, s as maybeAddAltairImport, 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-CiSinpSR.js";
|
|
26
|
+
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BNjes6Yx.js";
|
|
27
|
+
import { o as useSize, s as Root$2, u as createLucideIcon } from "./dist-C1BYNeCR.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-a6DaqW__.js";
|
|
29
|
+
import { $ as TableHeader, A as CommandEmpty, At as LazyVegaEmbed, B as isCellAwareAtom, Bt as Funnel, C as prettifyRowCount, Ct as Tabs, D as Combobox, Dt as ChartErrorState, E as DateRangePicker, Et as TabsTrigger, F as ContextAwarePanelItem, Ft as EmotionCacheProvider, Gt as Code, H as slotsController, I as PANEL_TYPES, It as $fae977aafc393c5c$export$588937bcd60ade55, J as Provider$1, Jt as ChevronsLeft, Kt as ChevronsUpDown, L as contextAwarePanelOpen, Lt as $fae977aafc393c5c$export$6b862160d295c8e, M as CommandItem, Mt as RenderTextWithLinks, N as CommandList, Nt as Kbd, O as ComboboxItem, Ot as ChartInfoState, P as CommandSeparator, Pt as HtmlOutput, Q as TableHead, R as contextAwarePanelOwner, Rt as TextWrap, S as prettifyRowColumnCount, St as dateToLocalISOTime, T as DatePicker, Tt as TabsList, U as Toggle, Ut as Ellipsis, V as SlotNames, Vt as EyeOff, Wt as Download, X as TableBody, Xt as ChevronLeft, Y as Table, Yt as ChevronsDownUp, Z as TableCell, Zt as ArrowDownWideNarrow, _ as downloadBlob, _t as getMimeValues, at as ColumnChartContext, b as Progress, bt as dateToLocalISODate, c as Slide, ct as useIntersectionObserver, d as JsonOutput, dt as loadTableAndRawData, et as TableRow, f as OutputArea, ft as loadTableData, g as ADD_PRINTING_CLASS, gt as toFieldTypes, h as InstallPackageButton, ht as TOO_MANY_ROWS, it as renderCellValue, j as CommandInput, jt as useOverflowDetection, k as Command, kt as ChartLoadingState, l as RadioGroup, lt as usePrevious$1, m as DataTable, mt as SELECT_COLUMN_ID, n as marimoVersionAtom, nt as generateColumns, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as ColumnChartSpecModel, p as OutputRenderer, pt as INDEX_COLUMN_NAME, q as Fill, qt as ChevronsRight, r as showCodeInRunModeAtom, rt as inferFieldTypes, st as DelayMount, t as useNotebookCodeAvailable, tt as NAMELESS_COLUMN_PREFIX, u as RadioGroupItem, ut as getPageIndexForRow, v as downloadByURL, vt as isNullishFilter, w as useInternalStateWithSync, wt as TabsContent, x as Filenames, xt as dateToLocalISODateTime, y as downloadHTMLAsImage, yt as Maps, z as contextAwarePanelType, zt as GripHorizontal, __tla as __tla_2 } from "./code-visibility-DY2PjKMU.js";
|
|
30
|
+
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-BNaoJ5a4.js";
|
|
31
|
+
import { t as Check } from "./check-DTbrK0zt.js";
|
|
32
|
+
import { A as Trigger$1, C as $a916eb452884faea$export$b7a616150fdb9f44, 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, 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, x as assertNever } from "./strings-Bu3vlb6W.js";
|
|
33
|
+
import { I as $64fa3d84918910a7$export$29f1550f4b0d4415, K as useDebounceControlledState, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, a as NumberField, b as DropdownMenuTrigger, c as prettyNumber, d as DropdownMenuContent, f as DropdownMenuGroup, fn as Circle, g as DropdownMenuSeparator, i as OnBlurredInput, it as $701a24aa0da5b062$export$ea18c227d4417cc3, l as prettyScientificNumber, m as DropdownMenuLabel, n as DebouncedNumberInput, p as DropdownMenuItem, pn as ChevronRight, q as useDebouncedCallback, r as Input, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, t as DebouncedInput, u as DropdownMenu, ut as $6179b936705e76d3$export$ae780daf29e6d456, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./input-CZD2z6X2.js";
|
|
34
|
+
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-ZVVIBmdk.js";
|
|
35
|
+
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-5qJjMRKh.js";
|
|
36
|
+
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-CVvp1fKr.js";
|
|
37
|
+
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-rULOrC_p.js";
|
|
38
|
+
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
39
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.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-CoBiJ5v4.js";
|
|
41
|
+
import { i as prettyError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-5bz0L9hS.js";
|
|
42
|
+
import { t as Label } from "./label-LWtdw5i8.js";
|
|
43
|
+
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-C5FYOpQc.js";
|
|
44
|
+
import { f as CopyClipboardIcon } from "./extends-BgdxCfYu.js";
|
|
45
|
+
import { a as get_default } from "./hasIn-Deg7jl_j.js";
|
|
46
|
+
import { n as _baseSet_default, t as pick_default } from "./pick-D1Qo8s2C.js";
|
|
47
|
+
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-T20xxyNf.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-7O0YWlE5.js";
|
|
49
|
+
import { Z as EditorView } from "./dist-DNdhYsgW.js";
|
|
50
|
+
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
51
|
+
import { l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
52
|
+
import { n as once } from "./once-DPuqGUeo.js";
|
|
53
|
+
import "./main-Tj_-QTyF.js";
|
|
54
|
+
import { f as sql } from "./dist-BTfv03uy.js";
|
|
55
|
+
import "./dist-fQ0ViXGs.js";
|
|
56
|
+
import "./dist-CcXxepx6.js";
|
|
57
|
+
import "./dist-DxvORzUR.js";
|
|
58
|
+
import "./dist-DqAWR3CS.js";
|
|
59
|
+
import { r as python } from "./dist-BotSqB48.js";
|
|
60
|
+
import { n as minimalSetup, t as esm_default } from "./esm-BfhQmZjp.js";
|
|
61
|
+
import "./purify.es-H92eMd9-.js";
|
|
62
|
+
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-DQ5qjo_Q.js";
|
|
63
|
+
import "./vega-loader.browser-CZ-J8Py3.js";
|
|
64
|
+
import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, s as tooltipHandler } from "./loader-BWLPpjKK.js";
|
|
65
|
+
import "./defaultLocale-u-3osm0P.js";
|
|
66
|
+
import "./defaultLocale-BoHTsDG6.js";
|
|
67
|
+
import { t as useAsyncData } from "./useAsyncData-C008zUPi.js";
|
|
68
|
+
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-BrA3_n61.js";
|
|
69
|
+
import "./dist-CLUtPrdy.js";
|
|
70
|
+
import "./dist-RqXTaiir.js";
|
|
71
|
+
import "./dist-DgnE8F-r.js";
|
|
72
|
+
import "./dist-h2c8sZvT.js";
|
|
73
|
+
import "./dist-Bde4a2kU.js";
|
|
74
|
+
import "./dist-D4CewLk6.js";
|
|
75
|
+
import "./dist-Bfwsv11D.js";
|
|
76
|
+
import "./dist-B3P2fFpz.js";
|
|
77
|
+
import "./dist-C5VC_yzu.js";
|
|
78
|
+
import { t as langs } from "./esm-Duie8iU-.js";
|
|
79
79
|
let initialize;
|
|
80
80
|
let __tla = Promise.all([
|
|
81
81
|
(() => {
|
|
@@ -4434,6 +4434,160 @@ let __tla = Promise.all([
|
|
|
4434
4434
|
}
|
|
4435
4435
|
window.customElements.define(e, r);
|
|
4436
4436
|
}
|
|
4437
|
+
function filterToFilterCondition(e, r) {
|
|
4438
|
+
if (!r) return [];
|
|
4439
|
+
let c = e;
|
|
4440
|
+
if (isNullishFilter(r)) return [
|
|
4441
|
+
{
|
|
4442
|
+
column_id: c,
|
|
4443
|
+
operator: r.operator,
|
|
4444
|
+
type: "condition",
|
|
4445
|
+
negate: false
|
|
4446
|
+
}
|
|
4447
|
+
];
|
|
4448
|
+
switch (r.type) {
|
|
4449
|
+
case "number":
|
|
4450
|
+
switch (r.operator) {
|
|
4451
|
+
case "between":
|
|
4452
|
+
return [
|
|
4453
|
+
{
|
|
4454
|
+
column_id: c,
|
|
4455
|
+
operator: "between",
|
|
4456
|
+
value: {
|
|
4457
|
+
min: r.min,
|
|
4458
|
+
max: r.max
|
|
4459
|
+
},
|
|
4460
|
+
type: "condition",
|
|
4461
|
+
negate: false
|
|
4462
|
+
}
|
|
4463
|
+
];
|
|
4464
|
+
case "==":
|
|
4465
|
+
case "!=":
|
|
4466
|
+
case ">":
|
|
4467
|
+
case ">=":
|
|
4468
|
+
case "<":
|
|
4469
|
+
case "<=":
|
|
4470
|
+
return [
|
|
4471
|
+
{
|
|
4472
|
+
column_id: c,
|
|
4473
|
+
operator: r.operator,
|
|
4474
|
+
value: r.value,
|
|
4475
|
+
type: "condition",
|
|
4476
|
+
negate: false
|
|
4477
|
+
}
|
|
4478
|
+
];
|
|
4479
|
+
case "in":
|
|
4480
|
+
case "not_in":
|
|
4481
|
+
return [
|
|
4482
|
+
{
|
|
4483
|
+
column_id: c,
|
|
4484
|
+
operator: r.operator,
|
|
4485
|
+
value: r.values,
|
|
4486
|
+
type: "condition",
|
|
4487
|
+
negate: false
|
|
4488
|
+
}
|
|
4489
|
+
];
|
|
4490
|
+
default:
|
|
4491
|
+
assertNever(r);
|
|
4492
|
+
}
|
|
4493
|
+
case "text":
|
|
4494
|
+
switch (r.operator) {
|
|
4495
|
+
case "contains":
|
|
4496
|
+
case "equals":
|
|
4497
|
+
case "does_not_equal":
|
|
4498
|
+
case "regex":
|
|
4499
|
+
case "starts_with":
|
|
4500
|
+
case "ends_with":
|
|
4501
|
+
return [
|
|
4502
|
+
{
|
|
4503
|
+
column_id: c,
|
|
4504
|
+
operator: r.operator,
|
|
4505
|
+
value: r.text,
|
|
4506
|
+
type: "condition",
|
|
4507
|
+
negate: false
|
|
4508
|
+
}
|
|
4509
|
+
];
|
|
4510
|
+
case "in":
|
|
4511
|
+
case "not_in":
|
|
4512
|
+
return [
|
|
4513
|
+
{
|
|
4514
|
+
column_id: c,
|
|
4515
|
+
operator: r.operator,
|
|
4516
|
+
value: r.values,
|
|
4517
|
+
type: "condition",
|
|
4518
|
+
negate: false
|
|
4519
|
+
}
|
|
4520
|
+
];
|
|
4521
|
+
case "is_empty":
|
|
4522
|
+
return [
|
|
4523
|
+
{
|
|
4524
|
+
column_id: c,
|
|
4525
|
+
operator: "is_empty",
|
|
4526
|
+
type: "condition",
|
|
4527
|
+
negate: false
|
|
4528
|
+
}
|
|
4529
|
+
];
|
|
4530
|
+
default:
|
|
4531
|
+
assertNever(r);
|
|
4532
|
+
}
|
|
4533
|
+
case "date":
|
|
4534
|
+
case "datetime":
|
|
4535
|
+
case "time": {
|
|
4536
|
+
let e2 = r.type === "date" ? dateToLocalISODate : r.type === "time" ? dateToLocalISOTime : dateToLocalISODateTime;
|
|
4537
|
+
switch (r.operator) {
|
|
4538
|
+
case "between":
|
|
4539
|
+
return [
|
|
4540
|
+
{
|
|
4541
|
+
column_id: c,
|
|
4542
|
+
operator: "between",
|
|
4543
|
+
value: {
|
|
4544
|
+
min: e2(r.min),
|
|
4545
|
+
max: e2(r.max)
|
|
4546
|
+
},
|
|
4547
|
+
type: "condition",
|
|
4548
|
+
negate: false
|
|
4549
|
+
}
|
|
4550
|
+
];
|
|
4551
|
+
case "==":
|
|
4552
|
+
case "!=":
|
|
4553
|
+
case ">":
|
|
4554
|
+
case ">=":
|
|
4555
|
+
case "<":
|
|
4556
|
+
case "<=":
|
|
4557
|
+
return [
|
|
4558
|
+
{
|
|
4559
|
+
column_id: c,
|
|
4560
|
+
operator: r.operator,
|
|
4561
|
+
value: e2(r.value),
|
|
4562
|
+
type: "condition",
|
|
4563
|
+
negate: false
|
|
4564
|
+
}
|
|
4565
|
+
];
|
|
4566
|
+
default:
|
|
4567
|
+
assertNever(r);
|
|
4568
|
+
}
|
|
4569
|
+
}
|
|
4570
|
+
case "boolean":
|
|
4571
|
+
return [
|
|
4572
|
+
{
|
|
4573
|
+
column_id: c,
|
|
4574
|
+
operator: r.operator,
|
|
4575
|
+
type: "condition",
|
|
4576
|
+
negate: false
|
|
4577
|
+
}
|
|
4578
|
+
];
|
|
4579
|
+
default:
|
|
4580
|
+
assertNever(r);
|
|
4581
|
+
}
|
|
4582
|
+
}
|
|
4583
|
+
function filtersToFilterGroup(e) {
|
|
4584
|
+
return {
|
|
4585
|
+
type: "group",
|
|
4586
|
+
operator: "and",
|
|
4587
|
+
children: e.flatMap((e2) => filterToFilterCondition(e2.id, e2.value)),
|
|
4588
|
+
negate: false
|
|
4589
|
+
};
|
|
4590
|
+
}
|
|
4437
4591
|
var import_compiler_runtime$87 = require_compiler_runtime(), Accordion$1 = Root2$1, AccordionContent$1 = Content2, AccordionItem$1 = Item$1, AccordionTrigger$1 = Trigger2;
|
|
4438
4592
|
const BadPluginData = (e) => {
|
|
4439
4593
|
let r = (0, import_compiler_runtime$87.c)(16), { error: c, badData: l, shadowRoot: u } = e;
|
|
@@ -5448,7 +5602,7 @@ let __tla = Promise.all([
|
|
|
5448
5602
|
};
|
|
5449
5603
|
}
|
|
5450
5604
|
};
|
|
5451
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
5605
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-BDI3FMI8.js").then((e) => ({
|
|
5452
5606
|
default: e.Chatbot
|
|
5453
5607
|
}))), messageSchema = array(object({
|
|
5454
5608
|
id: string(),
|
|
@@ -5592,7 +5746,7 @@ let __tla = Promise.all([
|
|
|
5592
5746
|
"time",
|
|
5593
5747
|
"unknown"
|
|
5594
5748
|
];
|
|
5595
|
-
var import_compiler_runtime$80 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-
|
|
5749
|
+
var import_compiler_runtime$80 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-DqRY9naW.js").then(async (m) => {
|
|
5596
5750
|
await m.__tla;
|
|
5597
5751
|
return m;
|
|
5598
5752
|
}));
|
|
@@ -6558,7 +6712,7 @@ let __tla = Promise.all([
|
|
|
6558
6712
|
let m2 = get(l, e2);
|
|
6559
6713
|
if (m2) {
|
|
6560
6714
|
let l2 = get(d, e2, isUndefined(c2) ? get(u, e2) : c2);
|
|
6561
|
-
isUndefined(l2) || p2 && p2.defaultChecked || r2 ? set(d, e2, r2 ? l2 : getFieldValue(m2._f)) :
|
|
6715
|
+
isUndefined(l2) || p2 && p2.defaultChecked || r2 ? set(d, e2, r2 ? l2 : getFieldValue(m2._f)) : UU(e2, l2), f.mount && w();
|
|
6562
6716
|
}
|
|
6563
6717
|
}, I = (e2, d2, f2, p2, m2) => {
|
|
6564
6718
|
let h2 = false, v2 = false, y2 = {
|
|
@@ -6631,14 +6785,14 @@ let __tla = Promise.all([
|
|
|
6631
6785
|
}, H = () => {
|
|
6632
6786
|
for (let e2 of p.unMount) {
|
|
6633
6787
|
let r2 = get(l, e2);
|
|
6634
|
-
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) &&
|
|
6788
|
+
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) && $U(e2);
|
|
6635
6789
|
}
|
|
6636
6790
|
p.unMount = /* @__PURE__ */ new Set();
|
|
6637
|
-
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(
|
|
6791
|
+
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(JU(), u)), G = (e2, r2, c2) => generateWatchOutput(e2, p, {
|
|
6638
6792
|
...f.mount ? d : isUndefined(r2) ? u : isString(e2) ? {
|
|
6639
6793
|
[e2]: r2
|
|
6640
6794
|
} : r2
|
|
6641
|
-
}, c2, r2), q = (e2) => compact$1(get(f.mount ? d : u, e2, r.shouldUnregister ? get(u, e2, []) : [])),
|
|
6795
|
+
}, c2, r2), q = (e2) => compact$1(get(f.mount ? d : u, e2, r.shouldUnregister ? get(u, e2, []) : [])), UU = (e2, r2, c2 = {}) => {
|
|
6642
6796
|
let u2 = get(l, e2), f2 = r2;
|
|
6643
6797
|
if (u2) {
|
|
6644
6798
|
let c3 = u2._f;
|
|
@@ -6651,11 +6805,11 @@ let __tla = Promise.all([
|
|
|
6651
6805
|
}
|
|
6652
6806
|
})));
|
|
6653
6807
|
}
|
|
6654
|
-
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate &&
|
|
6655
|
-
},
|
|
6808
|
+
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate && qU(e2);
|
|
6809
|
+
}, WU = (e2, r2, c2) => {
|
|
6656
6810
|
for (let u2 in r2) {
|
|
6657
6811
|
let d2 = r2[u2], f2 = `${e2}.${u2}`, m2 = get(l, f2);
|
|
6658
|
-
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ?
|
|
6812
|
+
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ? WU(f2, d2, c2) : UU(f2, d2, c2);
|
|
6659
6813
|
}
|
|
6660
6814
|
}, Z = (e2, r2, m2 = {}) => {
|
|
6661
6815
|
let h2 = get(l, e2), v2 = p.array.has(e2), y2 = cloneObject(r2);
|
|
@@ -6668,7 +6822,7 @@ let __tla = Promise.all([
|
|
|
6668
6822
|
name: e2,
|
|
6669
6823
|
dirtyFields: getDirtyFields(u, d),
|
|
6670
6824
|
isDirty: W(e2, y2)
|
|
6671
|
-
})) : h2 && !h2._f && !isNullOrUndefined(y2) ?
|
|
6825
|
+
})) : h2 && !h2._f && !isNullOrUndefined(y2) ? WU(e2, y2, m2) : UU(e2, y2, m2), isWatched(e2, p) && _.state.next({
|
|
6672
6826
|
...c
|
|
6673
6827
|
}), _.values.next({
|
|
6674
6828
|
name: f.mount ? e2 : void 0,
|
|
@@ -6676,7 +6830,7 @@ let __tla = Promise.all([
|
|
|
6676
6830
|
...d
|
|
6677
6831
|
}
|
|
6678
6832
|
});
|
|
6679
|
-
},
|
|
6833
|
+
}, GU = async (e2) => {
|
|
6680
6834
|
f.mount = true;
|
|
6681
6835
|
let u2 = e2.target, h2 = u2.name, S2 = true, E2 = get(l, h2), O2 = () => u2.type ? getFieldValue(E2._f) : getEventValue(e2), j2 = (e3) => {
|
|
6682
6836
|
S2 = Number.isNaN(e3) || isDateObject(e3) && isNaN(e3.getTime()) || deepEqual(e3, get(d, h2, e3));
|
|
@@ -6710,11 +6864,11 @@ let __tla = Promise.all([
|
|
|
6710
6864
|
], true), u3 = (await validateField(E2, p.disabled, d, b, r.shouldUseNativeValidation))[h2], T([
|
|
6711
6865
|
h2
|
|
6712
6866
|
]), j2(M2), S2 && (u3 ? f2 = false : g.isValid && (f2 = await B(l, true)));
|
|
6713
|
-
S2 && (E2._f.deps &&
|
|
6867
|
+
S2 && (E2._f.deps && qU(E2._f.deps), L(h2, f2, u3, G2));
|
|
6714
6868
|
}
|
|
6715
|
-
},
|
|
6869
|
+
}, KU = (e2, r2) => {
|
|
6716
6870
|
if (get(c.errors, r2) && e2.focus) return e2.focus(), 1;
|
|
6717
|
-
},
|
|
6871
|
+
}, qU = async (e2, u2 = {}) => {
|
|
6718
6872
|
let d2, f2, m2 = convertToArrayPayload(e2);
|
|
6719
6873
|
if (r.resolver) {
|
|
6720
6874
|
let r2 = await z(isUndefined(e2) ? e2 : m2);
|
|
@@ -6733,23 +6887,23 @@ let __tla = Promise.all([
|
|
|
6733
6887
|
isValid: d2
|
|
6734
6888
|
} : {},
|
|
6735
6889
|
errors: c.errors
|
|
6736
|
-
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l,
|
|
6737
|
-
},
|
|
6890
|
+
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l, KU, e2 ? m2 : p.mount), f2;
|
|
6891
|
+
}, JU = (e2) => {
|
|
6738
6892
|
let r2 = {
|
|
6739
6893
|
...f.mount ? d : u
|
|
6740
6894
|
};
|
|
6741
6895
|
return isUndefined(e2) ? r2 : isString(e2) ? get(r2, e2) : e2.map((e3) => get(r2, e3));
|
|
6742
|
-
},
|
|
6896
|
+
}, YU = (e2, r2) => ({
|
|
6743
6897
|
invalid: !!get((r2 || c).errors, e2),
|
|
6744
6898
|
isDirty: !!get((r2 || c).dirtyFields, e2),
|
|
6745
6899
|
error: get((r2 || c).errors, e2),
|
|
6746
6900
|
isValidating: !!get(c.validatingFields, e2),
|
|
6747
6901
|
isTouched: !!get((r2 || c).touchedFields, e2)
|
|
6748
|
-
}),
|
|
6902
|
+
}), XU = (e2) => {
|
|
6749
6903
|
e2 && convertToArrayPayload(e2).forEach((e3) => unset(c.errors, e3)), _.state.next({
|
|
6750
6904
|
errors: e2 ? c.errors : {}
|
|
6751
6905
|
});
|
|
6752
|
-
},
|
|
6906
|
+
}, ZU = (e2, r2, u2) => {
|
|
6753
6907
|
let d2 = (get(l, e2, {
|
|
6754
6908
|
_f: {}
|
|
6755
6909
|
})._f || {}).ref, { ref: f2, message: p2, type: m2, ...h2 } = get(c.errors, e2) || {};
|
|
@@ -6762,9 +6916,9 @@ let __tla = Promise.all([
|
|
|
6762
6916
|
errors: c.errors,
|
|
6763
6917
|
isValid: false
|
|
6764
6918
|
}), u2 && u2.shouldFocus && d2 && d2.focus && d2.focus();
|
|
6765
|
-
},
|
|
6919
|
+
}, QU = (e2, r2) => isFunction$1(e2) ? _.values.subscribe({
|
|
6766
6920
|
next: (c2) => e2(G(void 0, r2), c2)
|
|
6767
|
-
}) : G(e2, r2, true),
|
|
6921
|
+
}) : G(e2, r2, true), $U = (e2, f2 = {}) => {
|
|
6768
6922
|
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);
|
|
6769
6923
|
_.values.next({
|
|
6770
6924
|
values: {
|
|
@@ -6776,9 +6930,9 @@ let __tla = Promise.all([
|
|
|
6776
6930
|
isDirty: W()
|
|
6777
6931
|
} : {}
|
|
6778
6932
|
}), !f2.keepIsValid && w();
|
|
6779
|
-
},
|
|
6933
|
+
}, eW = ({ disabled: e2, name: r2, field: c2, fields: l2 }) => {
|
|
6780
6934
|
(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));
|
|
6781
|
-
},
|
|
6935
|
+
}, tW = (e2, c2 = {}) => {
|
|
6782
6936
|
let d2 = get(l, e2), m2 = isBoolean(c2.disabled) || isBoolean(r.disabled);
|
|
6783
6937
|
return set(l, e2, {
|
|
6784
6938
|
...d2 || {},
|
|
@@ -6792,7 +6946,7 @@ let __tla = Promise.all([
|
|
|
6792
6946
|
mount: true,
|
|
6793
6947
|
...c2
|
|
6794
6948
|
}
|
|
6795
|
-
}), p.mount.add(e2), d2 ?
|
|
6949
|
+
}), p.mount.add(e2), d2 ? eW({
|
|
6796
6950
|
field: d2,
|
|
6797
6951
|
disabled: isBoolean(c2.disabled) ? c2.disabled : r.disabled,
|
|
6798
6952
|
name: e2
|
|
@@ -6809,11 +6963,11 @@ let __tla = Promise.all([
|
|
|
6809
6963
|
pattern: getRuleValue(c2.pattern)
|
|
6810
6964
|
} : {},
|
|
6811
6965
|
name: e2,
|
|
6812
|
-
onChange:
|
|
6813
|
-
onBlur:
|
|
6966
|
+
onChange: GU,
|
|
6967
|
+
onBlur: GU,
|
|
6814
6968
|
ref: (m3) => {
|
|
6815
6969
|
if (m3) {
|
|
6816
|
-
|
|
6970
|
+
tW(e2, c2), d2 = get(l, e2);
|
|
6817
6971
|
let r2 = isUndefined(m3.value) && m3.querySelectorAll && m3.querySelectorAll("input,select,textarea")[0] || m3, f2 = isRadioOrCheckbox(r2), p2 = d2._f.refs || [];
|
|
6818
6972
|
if (f2 ? p2.find((e3) => e3 === r2) : r2 === d2._f.ref) return;
|
|
6819
6973
|
set(l, e2, {
|
|
@@ -6839,7 +6993,7 @@ let __tla = Promise.all([
|
|
|
6839
6993
|
} 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);
|
|
6840
6994
|
}
|
|
6841
6995
|
};
|
|
6842
|
-
},
|
|
6996
|
+
}, nW = () => r.shouldFocusError && iterateFieldsByAction(l, KU, p.mount), rW = (e2) => {
|
|
6843
6997
|
isBoolean(e2) && (_.state.next({
|
|
6844
6998
|
disabled: e2
|
|
6845
6999
|
}), iterateFieldsByAction(l, (r2, c2) => {
|
|
@@ -6848,7 +7002,7 @@ let __tla = Promise.all([
|
|
|
6848
7002
|
r3.disabled = u2._f.disabled || e2;
|
|
6849
7003
|
}));
|
|
6850
7004
|
}, 0, false));
|
|
6851
|
-
},
|
|
7005
|
+
}, iW = (e2, u2) => async (f2) => {
|
|
6852
7006
|
let m2;
|
|
6853
7007
|
f2 && (f2.preventDefault && f2.preventDefault(), f2.persist && f2.persist());
|
|
6854
7008
|
let h2 = cloneObject(d);
|
|
@@ -6870,7 +7024,7 @@ let __tla = Promise.all([
|
|
|
6870
7024
|
}
|
|
6871
7025
|
} else u2 && await u2({
|
|
6872
7026
|
...c.errors
|
|
6873
|
-
}, f2),
|
|
7027
|
+
}, f2), nW(), setTimeout(nW);
|
|
6874
7028
|
if (_.state.next({
|
|
6875
7029
|
isSubmitted: true,
|
|
6876
7030
|
isSubmitting: false,
|
|
@@ -6878,11 +7032,11 @@ let __tla = Promise.all([
|
|
|
6878
7032
|
submitCount: c.submitCount + 1,
|
|
6879
7033
|
errors: c.errors
|
|
6880
7034
|
}), m2) throw m2;
|
|
6881
|
-
},
|
|
7035
|
+
}, aW = (e2, r2 = {}) => {
|
|
6882
7036
|
get(l, e2) && (isUndefined(r2.defaultValue) ? Z(e2, cloneObject(get(u, e2))) : (Z(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({
|
|
6883
7037
|
...c
|
|
6884
7038
|
}));
|
|
6885
|
-
},
|
|
7039
|
+
}, oW = (e2, m2 = {}) => {
|
|
6886
7040
|
let h2 = e2 ? cloneObject(e2) : u, v2 = cloneObject(h2), y2 = isEmptyObject(e2), b2 = y2 ? u : v2;
|
|
6887
7041
|
if (m2.keepDefaultValues || (u = h2), !m2.keepValues) {
|
|
6888
7042
|
if (m2.keepDirtyValues) {
|
|
@@ -6935,25 +7089,25 @@ let __tla = Promise.all([
|
|
|
6935
7089
|
isSubmitSuccessful: m2.keepIsSubmitSuccessful ? c.isSubmitSuccessful : false,
|
|
6936
7090
|
isSubmitting: false
|
|
6937
7091
|
});
|
|
6938
|
-
},
|
|
7092
|
+
}, sW = (e2, r2) => oW(isFunction$1(e2) ? e2(d) : e2, r2);
|
|
6939
7093
|
return {
|
|
6940
7094
|
control: {
|
|
6941
|
-
register:
|
|
6942
|
-
unregister:
|
|
6943
|
-
getFieldState:
|
|
6944
|
-
handleSubmit:
|
|
6945
|
-
setError:
|
|
7095
|
+
register: tW,
|
|
7096
|
+
unregister: $U,
|
|
7097
|
+
getFieldState: YU,
|
|
7098
|
+
handleSubmit: iW,
|
|
7099
|
+
setError: ZU,
|
|
6946
7100
|
_executeSchema: R,
|
|
6947
7101
|
_getWatch: G,
|
|
6948
7102
|
_getDirty: W,
|
|
6949
7103
|
_updateValid: w,
|
|
6950
7104
|
_removeUnmounted: H,
|
|
6951
7105
|
_updateFieldArray: E,
|
|
6952
|
-
_updateDisabledField:
|
|
7106
|
+
_updateDisabledField: eW,
|
|
6953
7107
|
_getFieldArray: q,
|
|
6954
|
-
_reset:
|
|
7108
|
+
_reset: oW,
|
|
6955
7109
|
_resetDefaultValues: () => isFunction$1(r.defaultValues) && r.defaultValues().then((e2) => {
|
|
6956
|
-
|
|
7110
|
+
sW(e2, r.resetOptions), _.state.next({
|
|
6957
7111
|
isLoading: false
|
|
6958
7112
|
});
|
|
6959
7113
|
}),
|
|
@@ -6963,7 +7117,7 @@ let __tla = Promise.all([
|
|
|
6963
7117
|
...e2
|
|
6964
7118
|
};
|
|
6965
7119
|
},
|
|
6966
|
-
_disableForm:
|
|
7120
|
+
_disableForm: rW,
|
|
6967
7121
|
_subjects: _,
|
|
6968
7122
|
_proxyFormState: g,
|
|
6969
7123
|
_setErrors: j,
|
|
@@ -7004,17 +7158,17 @@ let __tla = Promise.all([
|
|
|
7004
7158
|
};
|
|
7005
7159
|
}
|
|
7006
7160
|
},
|
|
7007
|
-
trigger:
|
|
7008
|
-
register:
|
|
7009
|
-
handleSubmit:
|
|
7010
|
-
watch:
|
|
7161
|
+
trigger: qU,
|
|
7162
|
+
register: tW,
|
|
7163
|
+
handleSubmit: iW,
|
|
7164
|
+
watch: QU,
|
|
7011
7165
|
setValue: Z,
|
|
7012
|
-
getValues:
|
|
7013
|
-
reset:
|
|
7014
|
-
resetField:
|
|
7015
|
-
clearErrors:
|
|
7016
|
-
unregister:
|
|
7017
|
-
setError:
|
|
7166
|
+
getValues: JU,
|
|
7167
|
+
reset: sW,
|
|
7168
|
+
resetField: aW,
|
|
7169
|
+
clearErrors: XU,
|
|
7170
|
+
unregister: $U,
|
|
7171
|
+
setError: ZU,
|
|
7018
7172
|
setFocus: (e2, r2 = {}) => {
|
|
7019
7173
|
let c2 = get(l, e2), u2 = c2 && c2._f;
|
|
7020
7174
|
if (u2) {
|
|
@@ -7022,7 +7176,7 @@ let __tla = Promise.all([
|
|
|
7022
7176
|
e3.focus && (e3.focus(), r2.shouldSelect && isFunction$1(e3.select) && e3.select());
|
|
7023
7177
|
}
|
|
7024
7178
|
},
|
|
7025
|
-
getFieldState:
|
|
7179
|
+
getFieldState: YU
|
|
7026
7180
|
};
|
|
7027
7181
|
}
|
|
7028
7182
|
function useForm(e = {}) {
|
|
@@ -10184,33 +10338,33 @@ ${c}
|
|
|
10184
10338
|
}), B = C({
|
|
10185
10339
|
height: 0,
|
|
10186
10340
|
width: 0
|
|
10187
|
-
}), H = U(), W = U(), G = C(0), q = C(null),
|
|
10341
|
+
}), H = U(), W = U(), G = C(0), q = C(null), UU = C({
|
|
10188
10342
|
column: 0,
|
|
10189
10343
|
row: 0
|
|
10190
|
-
}),
|
|
10191
|
-
Y(x(b, $(
|
|
10192
|
-
D(
|
|
10193
|
-
}), Y(x(ut(b,
|
|
10194
|
-
D(
|
|
10344
|
+
}), WU = U(), Z = U(), GU = C(false), KU = C(0), qU = C(true), JU = C(false), YU = C(false);
|
|
10345
|
+
Y(x(b, $(KU), P(([e2, r2]) => !!r2)), () => {
|
|
10346
|
+
D(qU, false);
|
|
10347
|
+
}), Y(x(ut(b, qU, B, z, KU, JU), P(([e2, r2, c2, l2, , u2]) => e2 && !r2 && c2.height !== 0 && l2.height !== 0 && !u2)), ([, , , , e2]) => {
|
|
10348
|
+
D(JU, true), Ue(1, () => {
|
|
10195
10349
|
D(H, e2);
|
|
10196
10350
|
}), Et(x(h), () => {
|
|
10197
10351
|
D(r, [
|
|
10198
10352
|
0,
|
|
10199
10353
|
0
|
|
10200
|
-
]), D(
|
|
10354
|
+
]), D(qU, true);
|
|
10201
10355
|
});
|
|
10202
10356
|
}), F(x(Z, P((e2) => e2 != null && e2.scrollTop > 0), Ft(0)), L), Y(x(b, $(Z), P(([, e2]) => e2 != null)), ([, e2]) => {
|
|
10203
|
-
e2 && (D(z, e2.viewport), D(B, e2.item), D(
|
|
10204
|
-
D(
|
|
10357
|
+
e2 && (D(z, e2.viewport), D(B, e2.item), D(UU, e2.gap), e2.scrollTop > 0 && (D(GU, true), Et(x(h, Kt(1)), (e3) => {
|
|
10358
|
+
D(GU, false);
|
|
10205
10359
|
}), D(m, {
|
|
10206
10360
|
top: e2.scrollTop
|
|
10207
10361
|
})));
|
|
10208
|
-
}), F(x(z, k(({ height: e2 }) => e2)), _), F(x(ut(V(z, xe), V(B, xe), V(
|
|
10362
|
+
}), F(x(z, k(({ height: e2 }) => e2)), _), F(x(ut(V(z, xe), V(B, xe), V(UU, (e2, r2) => e2 && e2.column === r2.column && e2.row === r2.row), V(h)), k(([e2, r2, c2, l2]) => ({
|
|
10209
10363
|
gap: c2,
|
|
10210
10364
|
item: r2,
|
|
10211
10365
|
scrollTop: l2,
|
|
10212
10366
|
viewport: e2
|
|
10213
|
-
}))),
|
|
10367
|
+
}))), WU), F(x(ut(V(I), l, V(UU, Or), V(B, xe), V(z, xe), V(q), V(L), V(GU), V(qU), V(KU)), P(([, , , , , , , e2]) => !e2), k(([e2, [r2, c2], l2, u2, d2, f2, p2, , m2, h2]) => {
|
|
10214
10368
|
let { column: g2, row: _2 } = l2, { height: v2, width: y2 } = u2, { width: b2 } = d2;
|
|
10215
10369
|
if (p2 === 0 && (e2 === 0 || b2 === 0)) return bn;
|
|
10216
10370
|
if (y2 === 0) {
|
|
@@ -10229,23 +10383,23 @@ ${c}
|
|
|
10229
10383
|
offsetTop: j2,
|
|
10230
10384
|
top: j2
|
|
10231
10385
|
};
|
|
10232
|
-
})), R), F(x(q, P((e2) => e2 !== null), k((e2) => e2.length)), I), F(x(ut(z, B, R,
|
|
10386
|
+
})), R), F(x(q, P((e2) => e2 !== null), k((e2) => e2.length)), I), F(x(ut(z, B, R, UU), P(([e2, r2, { items: c2 }]) => c2.length > 0 && r2.height !== 0 && e2.height !== 0), k(([e2, r2, { items: c2 }, l2]) => {
|
|
10233
10387
|
let { bottom: u2, top: d2 } = Bn(e2, l2, r2, c2);
|
|
10234
10388
|
return [
|
|
10235
10389
|
d2,
|
|
10236
10390
|
u2
|
|
10237
10391
|
];
|
|
10238
10392
|
}), J(ce)), r);
|
|
10239
|
-
let
|
|
10240
|
-
F(x(h, $(
|
|
10241
|
-
let
|
|
10393
|
+
let XU = C(false);
|
|
10394
|
+
F(x(h, $(XU), k(([e2, r2]) => r2 || e2 !== 0)), XU);
|
|
10395
|
+
let ZU = bt(x(ut(R, I), P(([{ items: e2 }]) => e2.length > 0), $(XU), P(([[e2, r2], c2]) => {
|
|
10242
10396
|
let l2 = e2.items[e2.items.length - 1].index === r2 - 1;
|
|
10243
10397
|
return (c2 || e2.bottom > 0 && e2.itemHeight > 0 && e2.offsetBottom === 0 && e2.items.length === r2) && l2;
|
|
10244
|
-
}), k(([[, e2]]) => e2 - 1), J())),
|
|
10398
|
+
}), k(([[, e2]]) => e2 - 1), J())), QU = bt(x(V(R), P(({ items: e2 }) => e2.length > 0 && e2[0].index === 0), Ft(0), J())), $U = bt(x(V(R), $(GU), P(([{ items: e2 }, r2]) => e2.length > 0 && !r2), k(([{ items: e2 }]) => ({
|
|
10245
10399
|
endIndex: e2[e2.length - 1].index,
|
|
10246
10400
|
startIndex: e2[0].index
|
|
10247
10401
|
})), J(An), Gt(0)));
|
|
10248
|
-
F(
|
|
10402
|
+
F($U, y.scrollSeekRangeChanged), F(x(H, $(z, B, I, UU), k(([e2, r2, c2, l2, u2]) => {
|
|
10249
10403
|
let d2 = $n(e2), { align: f2, behavior: p2, offset: m2 } = d2, h2 = d2.index;
|
|
10250
10404
|
h2 === "LAST" && (h2 = l2 - 1), h2 = re(0, h2, Oe(l2 - 1, h2));
|
|
10251
10405
|
let g2 = Me(r2, u2, c2, h2);
|
|
@@ -10254,7 +10408,7 @@ ${c}
|
|
|
10254
10408
|
top: g2
|
|
10255
10409
|
};
|
|
10256
10410
|
})), m);
|
|
10257
|
-
let
|
|
10411
|
+
let eW = ht(x(R, k((e2) => e2.offsetBottom + e2.bottom)), 0);
|
|
10258
10412
|
return F(x(j, k((e2) => ({
|
|
10259
10413
|
height: e2.visibleHeight,
|
|
10260
10414
|
width: e2.visibleWidth
|
|
@@ -10263,7 +10417,7 @@ ${c}
|
|
|
10263
10417
|
data: q,
|
|
10264
10418
|
deviation: G,
|
|
10265
10419
|
footerHeight: u,
|
|
10266
|
-
gap:
|
|
10420
|
+
gap: UU,
|
|
10267
10421
|
headerHeight: d,
|
|
10268
10422
|
increaseViewportBy: e,
|
|
10269
10423
|
initialItemCount: L,
|
|
@@ -10285,16 +10439,16 @@ ${c}
|
|
|
10285
10439
|
windowViewportRect: j,
|
|
10286
10440
|
...y,
|
|
10287
10441
|
gridState: R,
|
|
10288
|
-
horizontalDirection:
|
|
10289
|
-
initialTopMostItemIndex:
|
|
10290
|
-
totalListHeight:
|
|
10442
|
+
horizontalDirection: YU,
|
|
10443
|
+
initialTopMostItemIndex: KU,
|
|
10444
|
+
totalListHeight: eW,
|
|
10291
10445
|
...v,
|
|
10292
|
-
endReached:
|
|
10446
|
+
endReached: ZU,
|
|
10293
10447
|
propsReady: S,
|
|
10294
|
-
rangeChanged:
|
|
10295
|
-
startReached:
|
|
10296
|
-
stateChanged:
|
|
10297
|
-
stateRestoreInProgress:
|
|
10448
|
+
rangeChanged: $U,
|
|
10449
|
+
startReached: QU,
|
|
10450
|
+
stateChanged: WU,
|
|
10451
|
+
stateRestoreInProgress: GU,
|
|
10298
10452
|
...M
|
|
10299
10453
|
};
|
|
10300
10454
|
}, tt(je, It, he, Zn, _t, qe, Wt));
|
|
@@ -13080,17 +13234,17 @@ ${c}
|
|
|
13080
13234
|
let e2 = l == null ? void 0 : l.filter(_temp$18), j2 = e2 == null ? void 0 : e2.filter((e3) => {
|
|
13081
13235
|
let [r2] = e3;
|
|
13082
13236
|
return r2.toLowerCase().includes(p.toLowerCase());
|
|
13083
|
-
});
|
|
13084
|
-
E = "mb-3";
|
|
13085
|
-
let M2;
|
|
13237
|
+
}), M2;
|
|
13086
13238
|
r[17] !== h || r[18] !== d || r[19] !== u ? (M2 = prettifyRowColumnCount({
|
|
13087
13239
|
numRows: u,
|
|
13088
13240
|
totalColumns: d,
|
|
13089
13241
|
locale: h
|
|
13090
|
-
}), r[17] = h, r[18] = d, r[19] = u, r[20] = M2) : M2 = r[20]
|
|
13242
|
+
}), r[17] = h, r[18] = d, r[19] = u, r[20] = M2) : M2 = r[20];
|
|
13243
|
+
let I2 = M2.rowsAndColumns;
|
|
13244
|
+
E = "mb-3", O = (0, import_jsx_runtime.jsxs)("span", {
|
|
13091
13245
|
className: "text-xs font-semibold ml-2 flex",
|
|
13092
13246
|
children: [
|
|
13093
|
-
|
|
13247
|
+
I2,
|
|
13094
13248
|
(0, import_jsx_runtime.jsx)(CopyClipboardIcon, {
|
|
13095
13249
|
tooltip: "Copy column names",
|
|
13096
13250
|
value: (e2 == null ? void 0 : e2.map(_temp2$12).join(",\n")) || "",
|
|
@@ -13098,11 +13252,11 @@ ${c}
|
|
|
13098
13252
|
})
|
|
13099
13253
|
]
|
|
13100
13254
|
}), _ = Command, S = "h-5/6 bg-background", w = false;
|
|
13101
|
-
let
|
|
13102
|
-
r[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
13255
|
+
let L;
|
|
13256
|
+
r[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = (e3) => m(e3), r[21] = L) : L = r[21], r[22] === p ? T = r[23] : (T = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
13103
13257
|
placeholder: "Search columns...",
|
|
13104
13258
|
value: p,
|
|
13105
|
-
onValueChange:
|
|
13259
|
+
onValueChange: L
|
|
13106
13260
|
}), r[22] = p, r[23] = T), g = CommandList, v = "max-h-full", r[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
13107
13261
|
children: "No results."
|
|
13108
13262
|
}), r[24] = y) : y = r[24], b = j2 == null ? void 0 : j2.map((e3, r2) => {
|
|
@@ -13569,53 +13723,53 @@ ${c}
|
|
|
13569
13723
|
className: "text-muted-foreground text-xs",
|
|
13570
13724
|
children: "|"
|
|
13571
13725
|
}), r[24] = q) : q = r[24];
|
|
13572
|
-
let
|
|
13573
|
-
r[25] === E ?
|
|
13574
|
-
let
|
|
13575
|
-
r[27] ===
|
|
13576
|
-
let
|
|
13577
|
-
r[29] !== Z || r[30] !==
|
|
13726
|
+
let UU;
|
|
13727
|
+
r[25] === E ? UU = r[26] : (UU = () => E(PANEL_TYPES.COLUMN_EXPLORER), r[25] = E, r[26] = UU);
|
|
13728
|
+
let WU = R === PANEL_TYPES.COLUMN_EXPLORER ? activeClassName : inactiveClassName, Z;
|
|
13729
|
+
r[27] === WU ? Z = r[28] : (Z = cn(tabTriggerClassName, WU), r[27] = WU, r[28] = Z);
|
|
13730
|
+
let GU;
|
|
13731
|
+
r[29] !== Z || r[30] !== UU ? (GU = (0, import_jsx_runtime.jsx)(Button, {
|
|
13578
13732
|
variant: "text",
|
|
13579
13733
|
size: "xs",
|
|
13580
|
-
onClick:
|
|
13734
|
+
onClick: UU,
|
|
13581
13735
|
className: Z,
|
|
13582
13736
|
children: "Columns"
|
|
13583
|
-
}), r[29] = Z, r[30] =
|
|
13584
|
-
let
|
|
13585
|
-
r[32] !==
|
|
13737
|
+
}), r[29] = Z, r[30] = UU, r[31] = GU) : GU = r[31];
|
|
13738
|
+
let KU;
|
|
13739
|
+
r[32] !== GU || r[33] !== G ? (KU = (0, import_jsx_runtime.jsx)(Fill, {
|
|
13586
13740
|
name: SlotNames.CONTEXT_AWARE_PANEL_HEADER,
|
|
13587
13741
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
13588
13742
|
className: "flex items-center gap-1",
|
|
13589
13743
|
children: [
|
|
13590
13744
|
G,
|
|
13591
13745
|
q,
|
|
13592
|
-
|
|
13746
|
+
GU
|
|
13593
13747
|
]
|
|
13594
13748
|
})
|
|
13595
|
-
}), r[32] =
|
|
13596
|
-
let
|
|
13597
|
-
r[35] === M ?
|
|
13749
|
+
}), r[32] = GU, r[33] = G, r[34] = KU) : KU = r[34];
|
|
13750
|
+
let qU;
|
|
13751
|
+
r[35] === M ? qU = r[36] : (qU = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
13598
13752
|
value: PANEL_TYPES.ROW_VIEWER,
|
|
13599
13753
|
className: "flex-1 overflow-auto",
|
|
13600
13754
|
children: M
|
|
13601
|
-
}), r[35] = M, r[36] =
|
|
13602
|
-
let
|
|
13603
|
-
r[37] === L ?
|
|
13755
|
+
}), r[35] = M, r[36] = qU);
|
|
13756
|
+
let JU;
|
|
13757
|
+
r[37] === L ? JU = r[38] : (JU = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
13604
13758
|
value: PANEL_TYPES.COLUMN_EXPLORER,
|
|
13605
13759
|
className: "flex-1 overflow-auto",
|
|
13606
13760
|
children: L
|
|
13607
|
-
}), r[37] = L, r[38] =
|
|
13608
|
-
let
|
|
13609
|
-
return r[39] !== R || r[40] !==
|
|
13761
|
+
}), r[37] = L, r[38] = JU);
|
|
13762
|
+
let YU;
|
|
13763
|
+
return r[39] !== R || r[40] !== KU || r[41] !== qU || r[42] !== JU || r[43] !== z ? (YU = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
13610
13764
|
value: R,
|
|
13611
13765
|
onValueChange: z,
|
|
13612
13766
|
className: "flex flex-col min-w-[350px]",
|
|
13613
13767
|
children: [
|
|
13614
|
-
|
|
13615
|
-
|
|
13616
|
-
|
|
13768
|
+
KU,
|
|
13769
|
+
qU,
|
|
13770
|
+
JU
|
|
13617
13771
|
]
|
|
13618
|
-
}), r[39] = R, r[40] =
|
|
13772
|
+
}), r[39] = R, r[40] = KU, r[41] = qU, r[42] = JU, r[43] = z, r[44] = YU) : YU = r[44], YU;
|
|
13619
13773
|
};
|
|
13620
13774
|
var import_compiler_runtime$59 = require_compiler_runtime();
|
|
13621
13775
|
function useEffectSkipFirstRender(e, r) {
|
|
@@ -14112,6 +14266,7 @@ ${c}
|
|
|
14112
14266
|
rowHeaders: columnToFieldTypesSchema,
|
|
14113
14267
|
freezeColumnsLeft: array(string()).optional(),
|
|
14114
14268
|
freezeColumnsRight: array(string()).optional(),
|
|
14269
|
+
hiddenColumns: array(string()).optional(),
|
|
14115
14270
|
textJustifyColumns: record(string(), _enum([
|
|
14116
14271
|
"left",
|
|
14117
14272
|
"center",
|
|
@@ -14344,8 +14499,8 @@ ${c}
|
|
|
14344
14499
|
_.pageSize,
|
|
14345
14500
|
_.pageIndex
|
|
14346
14501
|
], 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];
|
|
14347
|
-
let { data: W, error: G, isPending: q, isFetching:
|
|
14348
|
-
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (
|
|
14502
|
+
let { data: W, error: G, isPending: q, isFetching: UU } = useAsyncData(z, H), WU;
|
|
14503
|
+
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (WU = async (e2) => ({
|
|
14349
14504
|
rows: await loadTableData((await u({
|
|
14350
14505
|
page_number: e2,
|
|
14351
14506
|
page_size: 1,
|
|
@@ -14354,38 +14509,38 @@ ${c}
|
|
|
14354
14509
|
filters: filtersToFilterGroup(w),
|
|
14355
14510
|
max_columns: null
|
|
14356
14511
|
})).data)
|
|
14357
|
-
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] =
|
|
14358
|
-
let Z =
|
|
14359
|
-
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
14512
|
+
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] = WU) : WU = r[54];
|
|
14513
|
+
let Z = WU, GU;
|
|
14514
|
+
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (GU = () => {
|
|
14360
14515
|
v(_temp4$4);
|
|
14361
|
-
}, r[55] =
|
|
14362
|
-
let
|
|
14363
|
-
r[56] ===
|
|
14364
|
-
|
|
14365
|
-
], r[56] =
|
|
14366
|
-
let
|
|
14367
|
-
r[58] === e ?
|
|
14516
|
+
}, r[55] = GU) : GU = r[55];
|
|
14517
|
+
let KU = W == null ? void 0 : W.totalRows, qU;
|
|
14518
|
+
r[56] === KU ? qU = r[57] : (qU = [
|
|
14519
|
+
KU
|
|
14520
|
+
], r[56] = KU, r[57] = qU), (0, import_react.useEffect)(GU, qU);
|
|
14521
|
+
let JU;
|
|
14522
|
+
r[58] === e ? JU = r[59] : (JU = async () => e.totalRows === 0 || !e.showColumnSummaries ? {
|
|
14368
14523
|
data: null,
|
|
14369
14524
|
stats: {},
|
|
14370
14525
|
bin_values: {},
|
|
14371
14526
|
value_counts: {},
|
|
14372
14527
|
show_charts: false
|
|
14373
|
-
} : e.get_column_summaries({}), r[58] = e, r[59] =
|
|
14374
|
-
let
|
|
14375
|
-
r[60] !== w || r[61] !== e.data || r[62] !== e.get_column_summaries || r[63] !== e.showColumnSummaries || r[64] !== e.totalRows || r[65] !== y ? (
|
|
14528
|
+
} : e.get_column_summaries({}), r[58] = e, r[59] = JU);
|
|
14529
|
+
let YU;
|
|
14530
|
+
r[60] !== w || r[61] !== e.data || r[62] !== e.get_column_summaries || r[63] !== e.showColumnSummaries || r[64] !== e.totalRows || r[65] !== y ? (YU = [
|
|
14376
14531
|
e.get_column_summaries,
|
|
14377
14532
|
e.showColumnSummaries,
|
|
14378
14533
|
w,
|
|
14379
14534
|
y,
|
|
14380
14535
|
e.totalRows,
|
|
14381
14536
|
e.data
|
|
14382
|
-
], 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] =
|
|
14383
|
-
let { data:
|
|
14384
|
-
if (r[67] ===
|
|
14385
|
-
|
|
14386
|
-
},
|
|
14387
|
-
|
|
14388
|
-
], r[67] =
|
|
14537
|
+
], 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] = YU) : YU = r[66];
|
|
14538
|
+
let { data: XU, error: ZU } = useAsyncData(JU, YU), QU, $U;
|
|
14539
|
+
if (r[67] === ZU ? (QU = r[68], $U = r[69]) : (QU = () => {
|
|
14540
|
+
ZU && Logger.error(ZU);
|
|
14541
|
+
}, $U = [
|
|
14542
|
+
ZU
|
|
14543
|
+
], r[67] = ZU, r[68] = QU, r[69] = $U), (0, import_react.useEffect)(QU, $U), q) {
|
|
14389
14544
|
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? Math.min(e.totalRows, e.pageSize) : e.pageSize, l2;
|
|
14390
14545
|
return r[70] === c2 ? l2 = r[71] : (l2 = (0, import_jsx_runtime.jsx)(DelayMount, {
|
|
14391
14546
|
milliseconds: 200,
|
|
@@ -14394,7 +14549,7 @@ ${c}
|
|
|
14394
14549
|
})
|
|
14395
14550
|
}), r[70] = c2, r[71] = l2), l2;
|
|
14396
14551
|
}
|
|
14397
|
-
let
|
|
14552
|
+
let eW = null;
|
|
14398
14553
|
if (G) {
|
|
14399
14554
|
Logger.error(G);
|
|
14400
14555
|
let e2;
|
|
@@ -14410,60 +14565,60 @@ ${c}
|
|
|
14410
14565
|
children: G.message || "An unknown error occurred"
|
|
14411
14566
|
})
|
|
14412
14567
|
]
|
|
14413
|
-
}), r[72] = G, r[73] = e2),
|
|
14568
|
+
}), r[72] = G, r[73] = e2), eW = e2;
|
|
14414
14569
|
}
|
|
14415
|
-
let
|
|
14416
|
-
r[74] === O ?
|
|
14570
|
+
let tW;
|
|
14571
|
+
r[74] === O ? tW = r[75] : (tW = () => {
|
|
14417
14572
|
j(!O);
|
|
14418
|
-
}, r[74] = O, r[75] =
|
|
14419
|
-
let
|
|
14420
|
-
r[76] !== l || r[77] !==
|
|
14573
|
+
}, r[74] = O, r[75] = tW);
|
|
14574
|
+
let nW = tW, rW = (W == null ? void 0 : W.rows) ?? Arrays.EMPTY, iW = W == null ? void 0 : W.rawRows, aW = UU && !q, oW = (W == null ? void 0 : W.totalRows) ?? e.totalRows, sW = (W == null ? void 0 : W.sizeBytes) ?? e.sizeBytes ?? null, cW = (W == null ? void 0 : W.cellStyles) ?? e.cellStyles, lW = (W == null ? void 0 : W.cellHoverTexts) ?? e.cellHoverTexts, uW;
|
|
14575
|
+
r[76] !== l || r[77] !== XU || r[78] !== O || r[79] !== w || r[80] !== Z || r[81] !== _ || r[82] !== e || r[83] !== y || r[84] !== m || r[85] !== rW || r[86] !== iW || r[87] !== aW || r[88] !== oW || r[89] !== sW || r[90] !== cW || r[91] !== lW || r[92] !== nW ? (uW = (0, import_jsx_runtime.jsx)(DataTableComponent, {
|
|
14421
14576
|
...e,
|
|
14422
|
-
data:
|
|
14423
|
-
rawData:
|
|
14424
|
-
columnSummaries:
|
|
14577
|
+
data: rW,
|
|
14578
|
+
rawData: iW,
|
|
14579
|
+
columnSummaries: XU,
|
|
14425
14580
|
sorting: m,
|
|
14426
14581
|
setSorting: h,
|
|
14427
14582
|
searchQuery: y,
|
|
14428
14583
|
setSearchQuery: b,
|
|
14429
14584
|
filters: w,
|
|
14430
14585
|
setFilters: T,
|
|
14431
|
-
reloading:
|
|
14432
|
-
totalRows:
|
|
14433
|
-
sizeBytes:
|
|
14586
|
+
reloading: aW,
|
|
14587
|
+
totalRows: oW,
|
|
14588
|
+
sizeBytes: sW,
|
|
14434
14589
|
paginationState: _,
|
|
14435
14590
|
setPaginationState: v,
|
|
14436
|
-
cellStyles:
|
|
14437
|
-
cellHoverTexts:
|
|
14438
|
-
toggleDisplayHeader:
|
|
14591
|
+
cellStyles: cW,
|
|
14592
|
+
cellHoverTexts: lW,
|
|
14593
|
+
toggleDisplayHeader: nW,
|
|
14439
14594
|
isChartBuilderOpen: O,
|
|
14440
14595
|
getRow: Z,
|
|
14441
14596
|
cellId: l,
|
|
14442
14597
|
maxHeight: e.maxHeight
|
|
14443
|
-
}), r[76] = l, r[77] =
|
|
14444
|
-
let
|
|
14445
|
-
r[94] !== l || r[95] !==
|
|
14598
|
+
}), r[76] = l, r[77] = XU, r[78] = O, r[79] = w, r[80] = Z, r[81] = _, r[82] = e, r[83] = y, r[84] = m, r[85] = rW, r[86] = iW, r[87] = aW, r[88] = oW, r[89] = sW, r[90] = cW, r[91] = lW, r[92] = nW, r[93] = uW) : uW = r[93];
|
|
14599
|
+
let dW = uW, fW;
|
|
14600
|
+
r[94] !== l || r[95] !== dW || 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 ? (fW = e.showChartBuilder ? (0, import_jsx_runtime.jsx)(TablePanel, {
|
|
14446
14601
|
displayHeader: O,
|
|
14447
14602
|
onCloseChartBuilder: () => j(false),
|
|
14448
14603
|
data: (W == null ? void 0 : W.rows) || [],
|
|
14449
14604
|
columns: e.totalColumns,
|
|
14450
14605
|
totalRows: e.totalRows,
|
|
14451
|
-
dataTable:
|
|
14606
|
+
dataTable: dW,
|
|
14452
14607
|
getDataUrl: e.get_data_url,
|
|
14453
14608
|
fieldTypes: e.fieldTypes,
|
|
14454
14609
|
cellId: l
|
|
14455
|
-
}) :
|
|
14456
|
-
let
|
|
14457
|
-
return r[104] !==
|
|
14610
|
+
}) : dW, r[94] = l, r[95] = dW, 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] = fW) : fW = r[103];
|
|
14611
|
+
let pW;
|
|
14612
|
+
return r[104] !== eW || r[105] !== fW ? (pW = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
14458
14613
|
children: [
|
|
14459
|
-
|
|
14460
|
-
|
|
14614
|
+
eW,
|
|
14615
|
+
fW
|
|
14461
14616
|
]
|
|
14462
|
-
}), r[104] =
|
|
14617
|
+
}), r[104] = eW, r[105] = fW, r[106] = pW) : pW = r[106], pW;
|
|
14463
14618
|
});
|
|
14464
14619
|
LoadingDataTableComponent.displayName = "LoadingDataTableComponent";
|
|
14465
|
-
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:
|
|
14466
|
-
let
|
|
14620
|
+
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: UU, reloading: WU, freezeColumnsLeft: Z, freezeColumnsRight: GU, hiddenColumns: KU, textJustifyColumns: qU, wrappedColumns: JU, headerTooltip: YU, totalColumns: XU, get_row_ids: ZU, cellStyles: QU, hoverTemplate: $U, cellHoverTexts: eW, toggleDisplayHeader: tW, isChartBuilderOpen: nW, calculate_top_k_rows: rW, preview_column: iW, getRow: aW, cellId: oW, maxHeight: sW }) => {
|
|
14621
|
+
let cW = (0, import_react.useId)(), [lW, uW] = (0, import_react.useState)(0), { isPanelOpen: dW, isAnyPanelOpen: fW, togglePanel: pW, panelType: mW, setPanelType: hW } = usePanelOwnership(cW, oW), gW = (0, import_react.useMemo)(() => {
|
|
14467
14622
|
if (!I || !T || !I.stats) return ColumnChartSpecModel.EMPTY;
|
|
14468
14623
|
let e2 = toFieldTypes(T);
|
|
14469
14624
|
return new ColumnChartSpecModel(I.data || [], e2, I.stats, I.bin_values, I.value_counts, {
|
|
@@ -14472,13 +14627,13 @@ ${c}
|
|
|
14472
14627
|
}, [
|
|
14473
14628
|
T,
|
|
14474
14629
|
I
|
|
14475
|
-
]),
|
|
14630
|
+
]), _W = useDeepCompareMemoize(T ?? inferFieldTypes(r)), vW = (0, import_react.useMemo)(() => d === "all" ? _W : _W.slice(0, d), [
|
|
14476
14631
|
d,
|
|
14477
|
-
|
|
14478
|
-
]),
|
|
14632
|
+
_W
|
|
14633
|
+
]), yW = (0, import_react.useMemo)(() => {
|
|
14479
14634
|
let e2 = {};
|
|
14480
14635
|
if (r && r.length > 0) {
|
|
14481
|
-
for (let [c2, l2] of
|
|
14636
|
+
for (let [c2, l2] of vW) if (l2[0] === "number") {
|
|
14482
14637
|
let l3 = 0;
|
|
14483
14638
|
for (let e3 of r) {
|
|
14484
14639
|
let r2 = e3[c2];
|
|
@@ -14493,55 +14648,55 @@ ${c}
|
|
|
14493
14648
|
return e2;
|
|
14494
14649
|
}, [
|
|
14495
14650
|
r,
|
|
14496
|
-
|
|
14497
|
-
]),
|
|
14651
|
+
vW
|
|
14652
|
+
]), bW = useDeepCompareMemoize(w), xW = useDeepCompareMemoize(qU), SW = useDeepCompareMemoize(JU), CW = useDeepCompareMemoize(gW), wW = useDeepCompareMemoize(yW), TW = vW.length;
|
|
14498
14653
|
T || (S = false);
|
|
14499
|
-
let
|
|
14500
|
-
rowHeaders:
|
|
14654
|
+
let EW = (0, import_react.useMemo)(() => generateColumns({
|
|
14655
|
+
rowHeaders: bW,
|
|
14501
14656
|
selection: p,
|
|
14502
|
-
chartSpecModel:
|
|
14503
|
-
fieldTypes:
|
|
14504
|
-
textJustifyColumns:
|
|
14505
|
-
wrappedColumns:
|
|
14506
|
-
headerTooltip:
|
|
14657
|
+
chartSpecModel: CW,
|
|
14658
|
+
fieldTypes: vW,
|
|
14659
|
+
textJustifyColumns: xW,
|
|
14660
|
+
wrappedColumns: SW,
|
|
14661
|
+
headerTooltip: YU,
|
|
14507
14662
|
showDataTypes: S,
|
|
14508
|
-
calculateTopKRows:
|
|
14509
|
-
fractionDigitsByColumn:
|
|
14663
|
+
calculateTopKRows: rW,
|
|
14664
|
+
fractionDigitsByColumn: wW
|
|
14510
14665
|
}), [
|
|
14511
14666
|
p,
|
|
14512
14667
|
S,
|
|
14668
|
+
CW,
|
|
14669
|
+
bW,
|
|
14513
14670
|
vW,
|
|
14514
|
-
|
|
14515
|
-
|
|
14516
|
-
|
|
14517
|
-
|
|
14518
|
-
|
|
14519
|
-
|
|
14520
|
-
yW
|
|
14521
|
-
]), SW = (0, import_react.useMemo)(() => Object.fromEntries((m || []).map((e2) => [
|
|
14671
|
+
xW,
|
|
14672
|
+
SW,
|
|
14673
|
+
YU,
|
|
14674
|
+
rW,
|
|
14675
|
+
wW
|
|
14676
|
+
]), DW = (0, import_react.useMemo)(() => Object.fromEntries((m || []).map((e2) => [
|
|
14522
14677
|
e2,
|
|
14523
14678
|
true
|
|
14524
14679
|
])), [
|
|
14525
14680
|
m
|
|
14526
|
-
]),
|
|
14681
|
+
]), OW = useEvent_default((e2) => {
|
|
14527
14682
|
if (p === "single") {
|
|
14528
14683
|
let r2 = Functions.asUpdater(e2)({});
|
|
14529
14684
|
R(Object.keys(r2).slice(0, 1));
|
|
14530
14685
|
}
|
|
14531
14686
|
if (p === "multi") {
|
|
14532
|
-
let r2 = Functions.asUpdater(e2)(
|
|
14687
|
+
let r2 = Functions.asUpdater(e2)(DW);
|
|
14533
14688
|
R(Object.keys(r2));
|
|
14534
14689
|
}
|
|
14535
|
-
}),
|
|
14536
|
-
if (
|
|
14690
|
+
}), kW = useEvent_default((e2) => {
|
|
14691
|
+
if (uW(e2), e2 < 0 || typeof l == "number" && e2 >= l || l === "too_many") return;
|
|
14537
14692
|
let r2 = getPageIndexForRow(e2, O.pageIndex, O.pageSize);
|
|
14538
14693
|
r2 !== null && j((e3) => ({
|
|
14539
14694
|
...e3,
|
|
14540
14695
|
pageIndex: r2
|
|
14541
14696
|
}));
|
|
14542
|
-
}),
|
|
14543
|
-
p === "single-cell" && R(Functions.asUpdater(e2)(
|
|
14544
|
-
}),
|
|
14697
|
+
}), AW = m.filter((e2) => e2 instanceof Object && e2.columnName !== void 0), jW = useEvent_default((e2) => {
|
|
14698
|
+
p === "single-cell" && R(Functions.asUpdater(e2)(AW).slice(0, 1)), p === "multi-cell" && R(Functions.asUpdater(e2)(AW));
|
|
14699
|
+
}), MW = p === "multi" || p === "single", NW = v && !!iW, PW = isInVscodeExtension(), FW = isIslands();
|
|
14545
14700
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
14546
14701
|
children: [
|
|
14547
14702
|
l === "too_many" && O.pageSize === r.length && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
@@ -14552,13 +14707,13 @@ ${c}
|
|
|
14552
14707
|
" rows."
|
|
14553
14708
|
]
|
|
14554
14709
|
}),
|
|
14555
|
-
|
|
14710
|
+
TW < XU && TW > 0 && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
14556
14711
|
className: "mb-1 rounded",
|
|
14557
14712
|
children: [
|
|
14558
14713
|
"Result clipped. Showing ",
|
|
14559
|
-
|
|
14714
|
+
TW,
|
|
14560
14715
|
" of ",
|
|
14561
|
-
|
|
14716
|
+
XU,
|
|
14562
14717
|
" columns."
|
|
14563
14718
|
]
|
|
14564
14719
|
}),
|
|
@@ -14566,27 +14721,27 @@ ${c}
|
|
|
14566
14721
|
className: "mb-1 rounded",
|
|
14567
14722
|
children: "Column summaries are unavailable. Filter your data to fewer than 1,000,000 rows."
|
|
14568
14723
|
}),
|
|
14569
|
-
|
|
14724
|
+
fW && (y || NW) && (0, import_jsx_runtime.jsx)(ContextAwarePanelItem, {
|
|
14570
14725
|
children: (0, import_jsx_runtime.jsx)(TableExplorerPanel, {
|
|
14571
|
-
rowIdx:
|
|
14572
|
-
setRowIdx:
|
|
14726
|
+
rowIdx: lW,
|
|
14727
|
+
setRowIdx: kW,
|
|
14573
14728
|
totalRows: l,
|
|
14574
|
-
fieldTypes:
|
|
14575
|
-
getRow:
|
|
14576
|
-
isSelectable:
|
|
14577
|
-
isRowSelected: !!
|
|
14578
|
-
handleRowSelectionChange:
|
|
14579
|
-
previewColumn:
|
|
14580
|
-
totalColumns:
|
|
14581
|
-
tableId:
|
|
14582
|
-
showRowExplorer: y && !
|
|
14583
|
-
showColumnExplorer:
|
|
14584
|
-
activeTab:
|
|
14585
|
-
onTabChange:
|
|
14729
|
+
fieldTypes: _W,
|
|
14730
|
+
getRow: aW,
|
|
14731
|
+
isSelectable: MW,
|
|
14732
|
+
isRowSelected: !!DW[lW],
|
|
14733
|
+
handleRowSelectionChange: OW,
|
|
14734
|
+
previewColumn: iW,
|
|
14735
|
+
totalColumns: XU,
|
|
14736
|
+
tableId: cW,
|
|
14737
|
+
showRowExplorer: y && !PW,
|
|
14738
|
+
showColumnExplorer: NW && !PW,
|
|
14739
|
+
activeTab: mW,
|
|
14740
|
+
onTabChange: hW
|
|
14586
14741
|
})
|
|
14587
14742
|
}),
|
|
14588
14743
|
(0, import_jsx_runtime.jsx)(ColumnChartContext, {
|
|
14589
|
-
value:
|
|
14744
|
+
value: gW,
|
|
14590
14745
|
children: (0, import_jsx_runtime.jsx)(Labeled, {
|
|
14591
14746
|
label: e,
|
|
14592
14747
|
align: "top",
|
|
@@ -14594,13 +14749,13 @@ ${c}
|
|
|
14594
14749
|
children: (0, import_jsx_runtime.jsx)(DataTable, {
|
|
14595
14750
|
data: r,
|
|
14596
14751
|
rawData: c,
|
|
14597
|
-
columns:
|
|
14752
|
+
columns: EW,
|
|
14598
14753
|
className: L,
|
|
14599
|
-
maxHeight:
|
|
14754
|
+
maxHeight: sW,
|
|
14600
14755
|
sorting: z,
|
|
14601
14756
|
totalRows: l,
|
|
14602
14757
|
sizeBytes: u,
|
|
14603
|
-
totalColumns:
|
|
14758
|
+
totalColumns: XU,
|
|
14604
14759
|
manualSorting: true,
|
|
14605
14760
|
setSorting: B,
|
|
14606
14761
|
pagination: f,
|
|
@@ -14608,35 +14763,36 @@ ${c}
|
|
|
14608
14763
|
selection: p,
|
|
14609
14764
|
paginationState: O,
|
|
14610
14765
|
setPaginationState: j,
|
|
14611
|
-
rowSelection:
|
|
14612
|
-
cellSelection:
|
|
14613
|
-
cellStyling:
|
|
14614
|
-
hoverTemplate:
|
|
14615
|
-
cellHoverTexts:
|
|
14766
|
+
rowSelection: DW,
|
|
14767
|
+
cellSelection: AW,
|
|
14768
|
+
cellStyling: QU,
|
|
14769
|
+
hoverTemplate: $U,
|
|
14770
|
+
cellHoverTexts: eW,
|
|
14616
14771
|
downloadAs: g ? M : void 0,
|
|
14617
14772
|
enableSearch: H,
|
|
14618
14773
|
searchQuery: W,
|
|
14619
14774
|
onSearchQueryChange: G,
|
|
14620
14775
|
showFilters: h,
|
|
14621
14776
|
filters: q,
|
|
14622
|
-
onFiltersChange:
|
|
14623
|
-
calculateTopKRows:
|
|
14624
|
-
reloading:
|
|
14625
|
-
onRowSelectionChange:
|
|
14777
|
+
onFiltersChange: UU,
|
|
14778
|
+
calculateTopKRows: rW,
|
|
14779
|
+
reloading: WU,
|
|
14780
|
+
onRowSelectionChange: OW,
|
|
14626
14781
|
freezeColumnsLeft: Z,
|
|
14627
|
-
freezeColumnsRight:
|
|
14628
|
-
|
|
14629
|
-
|
|
14630
|
-
|
|
14631
|
-
|
|
14632
|
-
|
|
14782
|
+
freezeColumnsRight: GU,
|
|
14783
|
+
hiddenColumns: KU,
|
|
14784
|
+
onCellSelectionChange: jW,
|
|
14785
|
+
getRowIds: ZU,
|
|
14786
|
+
toggleDisplayHeader: tW,
|
|
14787
|
+
showChartBuilder: b && !FW,
|
|
14788
|
+
isChartBuilderOpen: nW,
|
|
14633
14789
|
showPageSizeSelector: _,
|
|
14634
|
-
showTableExplorer: (y ||
|
|
14635
|
-
togglePanel:
|
|
14636
|
-
isPanelOpen:
|
|
14637
|
-
isAnyPanelOpen:
|
|
14638
|
-
viewedRowIdx:
|
|
14639
|
-
onViewedRowChange: (e2) =>
|
|
14790
|
+
showTableExplorer: (y || NW) && !PW && !FW,
|
|
14791
|
+
togglePanel: pW,
|
|
14792
|
+
isPanelOpen: dW,
|
|
14793
|
+
isAnyPanelOpen: fW,
|
|
14794
|
+
viewedRowIdx: lW,
|
|
14795
|
+
onViewedRowChange: (e2) => uW(e2)
|
|
14640
14796
|
})
|
|
14641
14797
|
})
|
|
14642
14798
|
})
|
|
@@ -15046,7 +15202,7 @@ ${c}
|
|
|
15046
15202
|
fullWidth: m,
|
|
15047
15203
|
children: T
|
|
15048
15204
|
}), r[20] = m, r[21] = g, r[22] = c, r[23] = T, r[24] = E) : E = r[24], E;
|
|
15049
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
15205
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-OzrfMM5L.js"));
|
|
15050
15206
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
15051
15207
|
label: string().nullish(),
|
|
15052
15208
|
data: string()
|
|
@@ -16738,29 +16894,29 @@ ${c}
|
|
|
16738
16894
|
], r[2] = b, r[3] = S);
|
|
16739
16895
|
let { data: w, error: T, isPending: O } = useAsyncData(y, S), j;
|
|
16740
16896
|
r[4] === w ? j = r[5] : (j = w || {}, r[4] = w, r[5] = j);
|
|
16741
|
-
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,
|
|
16897
|
+
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, UU] = (0, import_react.useState)(f || EMPTY), WU = (0, import_react.useRef)(null), Z;
|
|
16742
16898
|
r[6] === d ? Z = r[7] : (Z = (e2) => {
|
|
16743
16899
|
var _a3;
|
|
16744
|
-
d && e2 !== "transform" && ((_a3 =
|
|
16900
|
+
d && e2 !== "transform" && ((_a3 = WU.current) == null ? void 0 : _a3.submit());
|
|
16745
16901
|
}, r[6] = d, r[7] = Z);
|
|
16746
|
-
let
|
|
16747
|
-
r[8] === q ?
|
|
16748
|
-
|
|
16749
|
-
}, r[8] = q, r[9] =
|
|
16750
|
-
let
|
|
16751
|
-
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (
|
|
16752
|
-
let e2 =
|
|
16902
|
+
let GU = Z, KU = (0, import_react.useRef)(q), qU;
|
|
16903
|
+
r[8] === q ? qU = r[9] : (qU = () => {
|
|
16904
|
+
KU.current = q;
|
|
16905
|
+
}, r[8] = q, r[9] = qU), (0, import_react.useEffect)(qU);
|
|
16906
|
+
let JU;
|
|
16907
|
+
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (JU = () => {
|
|
16908
|
+
let e2 = KU.current;
|
|
16753
16909
|
(f == null ? void 0 : f.transforms.length) !== e2.transforms.length && p(e2);
|
|
16754
|
-
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] =
|
|
16755
|
-
let
|
|
16756
|
-
r[13] !== w || r[14] !== p || r[15] !==
|
|
16910
|
+
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] = JU) : JU = r[12];
|
|
16911
|
+
let YU = f == null ? void 0 : f.transforms.length, XU;
|
|
16912
|
+
r[13] !== w || r[14] !== p || r[15] !== YU ? (XU = [
|
|
16757
16913
|
w,
|
|
16758
|
-
|
|
16759
|
-
|
|
16914
|
+
YU,
|
|
16915
|
+
KU,
|
|
16760
16916
|
p
|
|
16761
|
-
], r[13] = w, r[14] = p, r[15] =
|
|
16762
|
-
let
|
|
16763
|
-
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
16917
|
+
], r[13] = w, r[14] = p, r[15] = YU, r[16] = XU) : XU = r[16], (0, import_react.useEffect)(JU, XU);
|
|
16918
|
+
let ZU;
|
|
16919
|
+
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ZU = (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
16764
16920
|
value: "transform",
|
|
16765
16921
|
className: "text-xs py-1",
|
|
16766
16922
|
children: [
|
|
@@ -16769,9 +16925,9 @@ ${c}
|
|
|
16769
16925
|
}),
|
|
16770
16926
|
"Transform"
|
|
16771
16927
|
]
|
|
16772
|
-
}), r[17] =
|
|
16773
|
-
let
|
|
16774
|
-
r[18] === B ?
|
|
16928
|
+
}), r[17] = ZU) : ZU = r[17];
|
|
16929
|
+
let QU;
|
|
16930
|
+
r[18] === B ? QU = r[19] : (QU = B && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
16775
16931
|
value: "python-code",
|
|
16776
16932
|
className: "text-xs py-1",
|
|
16777
16933
|
children: [
|
|
@@ -16780,9 +16936,9 @@ ${c}
|
|
|
16780
16936
|
}),
|
|
16781
16937
|
"Python Code"
|
|
16782
16938
|
]
|
|
16783
|
-
}), r[18] = B, r[19] =
|
|
16784
|
-
let
|
|
16785
|
-
r[20] === H ?
|
|
16939
|
+
}), r[18] = B, r[19] = QU);
|
|
16940
|
+
let $U;
|
|
16941
|
+
r[20] === H ? $U = r[21] : ($U = H && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
16786
16942
|
value: "sql-code",
|
|
16787
16943
|
className: "text-xs py-1",
|
|
16788
16944
|
children: [
|
|
@@ -16791,54 +16947,54 @@ ${c}
|
|
|
16791
16947
|
}),
|
|
16792
16948
|
"SQL Code"
|
|
16793
16949
|
]
|
|
16794
|
-
}), r[20] = H, r[21] =
|
|
16795
|
-
let
|
|
16796
|
-
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
16950
|
+
}), r[20] = H, r[21] = $U);
|
|
16951
|
+
let eW;
|
|
16952
|
+
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (eW = (0, import_jsx_runtime.jsx)("div", {
|
|
16797
16953
|
className: "grow"
|
|
16798
|
-
}), r[22] =
|
|
16799
|
-
let
|
|
16800
|
-
r[23] !==
|
|
16954
|
+
}), r[22] = eW) : eW = r[22];
|
|
16955
|
+
let tW;
|
|
16956
|
+
r[23] !== QU || r[24] !== $U ? (tW = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
16801
16957
|
className: "h-8",
|
|
16802
16958
|
children: [
|
|
16803
|
-
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16959
|
+
ZU,
|
|
16960
|
+
QU,
|
|
16961
|
+
$U,
|
|
16962
|
+
eW
|
|
16807
16963
|
]
|
|
16808
|
-
}), r[23] =
|
|
16809
|
-
let
|
|
16810
|
-
r[26] === O ?
|
|
16964
|
+
}), r[23] = QU, r[24] = $U, r[25] = tW) : tW = r[25];
|
|
16965
|
+
let nW;
|
|
16966
|
+
r[26] === O ? nW = r[27] : (nW = O && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
16811
16967
|
size: "small"
|
|
16812
|
-
}), r[26] = O, r[27] =
|
|
16813
|
-
let
|
|
16814
|
-
r[28] !==
|
|
16968
|
+
}), r[26] = O, r[27] = nW);
|
|
16969
|
+
let rW;
|
|
16970
|
+
r[28] !== tW || r[29] !== nW ? (rW = (0, import_jsx_runtime.jsxs)("div", {
|
|
16815
16971
|
className: "flex items-center gap-2",
|
|
16816
16972
|
children: [
|
|
16817
|
-
|
|
16818
|
-
|
|
16973
|
+
tW,
|
|
16974
|
+
nW
|
|
16819
16975
|
]
|
|
16820
|
-
}), r[28] =
|
|
16821
|
-
let
|
|
16822
|
-
r[31] !== p || r[32] !== f ? (
|
|
16823
|
-
dequal(e2, f) || (p(e2),
|
|
16824
|
-
}, r[31] = p, r[32] = f, r[33] =
|
|
16825
|
-
let
|
|
16826
|
-
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !==
|
|
16976
|
+
}), r[28] = tW, r[29] = nW, r[30] = rW) : rW = r[30];
|
|
16977
|
+
let iW;
|
|
16978
|
+
r[31] !== p || r[32] !== f ? (iW = (e2) => {
|
|
16979
|
+
dequal(e2, f) || (p(e2), UU(e2));
|
|
16980
|
+
}, r[31] = p, r[32] = f, r[33] = iW) : iW = r[33];
|
|
16981
|
+
let oW;
|
|
16982
|
+
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !== iW ? (oW = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16827
16983
|
value: "transform",
|
|
16828
16984
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16829
16985
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
16830
|
-
ref:
|
|
16986
|
+
ref: WU,
|
|
16831
16987
|
initialValue: q,
|
|
16832
16988
|
columns: c,
|
|
16833
|
-
onChange:
|
|
16834
|
-
onInvalidChange:
|
|
16989
|
+
onChange: iW,
|
|
16990
|
+
onInvalidChange: UU,
|
|
16835
16991
|
getColumnValues: h,
|
|
16836
16992
|
columnTypesPerStep: z,
|
|
16837
16993
|
lazy: d
|
|
16838
16994
|
})
|
|
16839
|
-
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] =
|
|
16840
|
-
let
|
|
16841
|
-
r[41] === B ?
|
|
16995
|
+
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] = iW, r[40] = oW) : oW = r[40];
|
|
16996
|
+
let sW;
|
|
16997
|
+
r[41] === B ? sW = r[42] : (sW = B && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16842
16998
|
value: "python-code",
|
|
16843
16999
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16844
17000
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -16847,9 +17003,9 @@ ${c}
|
|
|
16847
17003
|
code: B,
|
|
16848
17004
|
language: "python"
|
|
16849
17005
|
})
|
|
16850
|
-
}), r[41] = B, r[42] =
|
|
16851
|
-
let
|
|
16852
|
-
r[43] === H ?
|
|
17006
|
+
}), r[41] = B, r[42] = sW);
|
|
17007
|
+
let cW;
|
|
17008
|
+
r[43] === H ? cW = r[44] : (cW = H && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16853
17009
|
value: "sql-code",
|
|
16854
17010
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16855
17011
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -16858,36 +17014,36 @@ ${c}
|
|
|
16858
17014
|
code: H,
|
|
16859
17015
|
language: "sql"
|
|
16860
17016
|
})
|
|
16861
|
-
}), r[43] = H, r[44] =
|
|
16862
|
-
let
|
|
16863
|
-
r[45] !==
|
|
17017
|
+
}), r[43] = H, r[44] = cW);
|
|
17018
|
+
let lW;
|
|
17019
|
+
r[45] !== GU || r[46] !== rW || r[47] !== oW || r[48] !== sW || r[49] !== cW ? (lW = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
16864
17020
|
defaultValue: "transform",
|
|
16865
|
-
onValueChange:
|
|
17021
|
+
onValueChange: GU,
|
|
16866
17022
|
children: [
|
|
16867
|
-
$U,
|
|
16868
|
-
nW,
|
|
16869
17023
|
rW,
|
|
16870
|
-
|
|
17024
|
+
oW,
|
|
17025
|
+
sW,
|
|
17026
|
+
cW
|
|
16871
17027
|
]
|
|
16872
|
-
}), r[45] =
|
|
16873
|
-
let
|
|
16874
|
-
r[51] === T ?
|
|
17028
|
+
}), r[45] = GU, r[46] = rW, r[47] = oW, r[48] = sW, r[49] = cW, r[50] = lW) : lW = r[50];
|
|
17029
|
+
let uW;
|
|
17030
|
+
r[51] === T ? uW = r[52] : (uW = T && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
16875
17031
|
error: T
|
|
16876
|
-
}), r[51] = T, r[52] =
|
|
16877
|
-
let
|
|
16878
|
-
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !==
|
|
17032
|
+
}), r[51] = T, r[52] = uW);
|
|
17033
|
+
let dW = M || "", fW = I ?? 0, pW = W ?? null, mW = G ?? 0, hW = L || Arrays.EMPTY, gW = I && I > 5 || false, _W;
|
|
17034
|
+
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !== dW || r[60] !== fW || r[61] !== pW || r[62] !== mW || r[63] !== hW || r[64] !== gW ? (_W = (0, import_jsx_runtime.jsx)(LoadingDataTableComponent, {
|
|
16879
17035
|
label: null,
|
|
16880
17036
|
className: "rounded-b border-x border-b",
|
|
16881
|
-
data:
|
|
17037
|
+
data: dW,
|
|
16882
17038
|
hasStableRowId: false,
|
|
16883
|
-
totalRows:
|
|
16884
|
-
sizeBytes:
|
|
16885
|
-
totalColumns:
|
|
17039
|
+
totalRows: fW,
|
|
17040
|
+
sizeBytes: pW,
|
|
17041
|
+
totalColumns: mW,
|
|
16886
17042
|
maxColumns: "all",
|
|
16887
17043
|
pageSize: l,
|
|
16888
17044
|
pagination: true,
|
|
16889
17045
|
fieldTypes: R,
|
|
16890
|
-
rowHeaders:
|
|
17046
|
+
rowHeaders: hW,
|
|
16891
17047
|
showDownload: u,
|
|
16892
17048
|
download_as: _,
|
|
16893
17049
|
enableSearch: false,
|
|
@@ -16896,7 +17052,7 @@ ${c}
|
|
|
16896
17052
|
showColumnSummaries: false,
|
|
16897
17053
|
showDataTypes: true,
|
|
16898
17054
|
get_column_summaries: getColumnSummaries,
|
|
16899
|
-
showPageSizeSelector:
|
|
17055
|
+
showPageSizeSelector: gW,
|
|
16900
17056
|
showColumnExplorer: false,
|
|
16901
17057
|
showRowExplorer: true,
|
|
16902
17058
|
showChartBuilder: false,
|
|
@@ -16905,15 +17061,15 @@ ${c}
|
|
|
16905
17061
|
selection: null,
|
|
16906
17062
|
lazy: false,
|
|
16907
17063
|
host: v
|
|
16908
|
-
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] =
|
|
16909
|
-
let
|
|
16910
|
-
return r[66] !==
|
|
17064
|
+
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] = dW, r[60] = fW, r[61] = pW, r[62] = mW, r[63] = hW, r[64] = gW, r[65] = _W) : _W = r[65];
|
|
17065
|
+
let vW;
|
|
17066
|
+
return r[66] !== lW || r[67] !== uW || r[68] !== _W ? (vW = (0, import_jsx_runtime.jsxs)("div", {
|
|
16911
17067
|
children: [
|
|
16912
|
-
|
|
16913
|
-
|
|
16914
|
-
|
|
17068
|
+
lW,
|
|
17069
|
+
uW,
|
|
17070
|
+
_W
|
|
16915
17071
|
]
|
|
16916
|
-
}), r[66] =
|
|
17072
|
+
}), r[66] = lW, r[67] = uW, r[68] = _W, r[69] = vW) : vW = r[69], vW;
|
|
16917
17073
|
});
|
|
16918
17074
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
16919
17075
|
function getColumnSummaries() {
|
|
@@ -17101,9 +17257,9 @@ ${c}
|
|
|
17101
17257
|
}, W = [
|
|
17102
17258
|
B
|
|
17103
17259
|
], r[8] = B, r[9] = H, r[10] = W), (0, import_react.useEffect)(H, W);
|
|
17104
|
-
let G, q,
|
|
17260
|
+
let G, q, UU, WU, Z, KU, qU, YU, XU;
|
|
17105
17261
|
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) {
|
|
17106
|
-
|
|
17262
|
+
XU = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
17107
17263
|
bb0: {
|
|
17108
17264
|
Z = (R == null ? void 0 : R.files) ?? [];
|
|
17109
17265
|
let e2;
|
|
@@ -17116,13 +17272,13 @@ ${c}
|
|
|
17116
17272
|
r[36] === z.message ? e3 = r[37] : (e3 = (0, import_jsx_runtime.jsx)(Banner, {
|
|
17117
17273
|
kind: "danger",
|
|
17118
17274
|
children: z.message
|
|
17119
|
-
}), r[36] = z.message, r[37] = e3),
|
|
17275
|
+
}), r[36] = z.message, r[37] = e3), XU = e3;
|
|
17120
17276
|
break bb0;
|
|
17121
17277
|
}
|
|
17122
17278
|
let E2;
|
|
17123
17279
|
r[38] === u ? E2 = r[39] : (E2 = PathBuilder.guessDeliminator(u), r[38] = u, r[39] = E2), q = E2.deliminator;
|
|
17124
17280
|
let O2;
|
|
17125
|
-
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$6), r[40] = c, r[41] = O2),
|
|
17281
|
+
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$6), r[40] = c, r[41] = O2), qU = O2;
|
|
17126
17282
|
let j2;
|
|
17127
17283
|
r[42] !== q || r[43] !== u || r[44] !== b || r[45] !== v || r[46] !== h || r[47] !== y ? (j2 = function(e3) {
|
|
17128
17284
|
if (b) return;
|
|
@@ -17143,7 +17299,7 @@ ${c}
|
|
|
17143
17299
|
return;
|
|
17144
17300
|
}
|
|
17145
17301
|
y(e3), S(false);
|
|
17146
|
-
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48],
|
|
17302
|
+
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48], YU = j2;
|
|
17147
17303
|
let M2;
|
|
17148
17304
|
r[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M2 = function(e3) {
|
|
17149
17305
|
let { path: r2, name: c2, isDirectory: l2 } = e3;
|
|
@@ -17171,7 +17327,7 @@ ${c}
|
|
|
17171
17327
|
let H2 = B2, W2;
|
|
17172
17328
|
r[55] !== v || r[56] !== l || r[57] !== c ? (W2 = function() {
|
|
17173
17329
|
l(c.filter((e3) => Paths.dirname(e3.path) !== v));
|
|
17174
|
-
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58],
|
|
17330
|
+
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], UU = W2, KU = function() {
|
|
17175
17331
|
let e3 = [];
|
|
17176
17332
|
for (let r2 of Z) {
|
|
17177
17333
|
if (!g2 && r2.is_directory || m2.has(r2.path)) continue;
|
|
@@ -17186,35 +17342,35 @@ ${c}
|
|
|
17186
17342
|
...c,
|
|
17187
17343
|
...e3
|
|
17188
17344
|
]);
|
|
17189
|
-
},
|
|
17190
|
-
let
|
|
17191
|
-
r[59] ===
|
|
17192
|
-
let
|
|
17193
|
-
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
17345
|
+
}, WU = [];
|
|
17346
|
+
let ZU2;
|
|
17347
|
+
r[59] === YU ? ZU2 = r[60] : (ZU2 = () => YU(PARENT_DIRECTORY), r[59] = YU, r[60] = ZU2);
|
|
17348
|
+
let QU2, $U2;
|
|
17349
|
+
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (QU2 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
17194
17350
|
className: "w-[50px] pl-4",
|
|
17195
17351
|
children: (0, import_jsx_runtime.jsx)(CornerLeftUp, {
|
|
17196
17352
|
size: 16
|
|
17197
17353
|
})
|
|
17198
|
-
}),
|
|
17354
|
+
}), $U2 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
17199
17355
|
children: PARENT_DIRECTORY
|
|
17200
|
-
}), r[61] =
|
|
17201
|
-
let
|
|
17202
|
-
r[63] ===
|
|
17356
|
+
}), r[61] = QU2, r[62] = $U2) : (QU2 = r[61], $U2 = r[62]);
|
|
17357
|
+
let eW2;
|
|
17358
|
+
r[63] === ZU2 ? eW2 = r[64] : (eW2 = (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
17203
17359
|
className: "hover:bg-accent select-none",
|
|
17204
|
-
onClick:
|
|
17360
|
+
onClick: ZU2,
|
|
17205
17361
|
children: [
|
|
17206
|
-
|
|
17207
|
-
|
|
17362
|
+
QU2,
|
|
17363
|
+
$U2
|
|
17208
17364
|
]
|
|
17209
|
-
}, "Parent directory"), r[63] =
|
|
17365
|
+
}, "Parent directory"), r[63] = ZU2, r[64] = eW2), WU.push(eW2);
|
|
17210
17366
|
for (let e3 of Z) {
|
|
17211
17367
|
let r2 = e3.path;
|
|
17212
17368
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
17213
17369
|
let c2 = e3.is_directory ? (e4) => {
|
|
17214
17370
|
let { path: r3 } = e4;
|
|
17215
|
-
return
|
|
17371
|
+
return YU(r3);
|
|
17216
17372
|
} : H2, l2 = FILE_ICON[e3.is_directory ? "directory" : guessFileIconType(e3.name)], u2 = m2.has(r2);
|
|
17217
|
-
|
|
17373
|
+
WU.push((0, import_jsx_runtime.jsxs)(TableRow, {
|
|
17218
17374
|
className: cn("hover:bg-accent group select-none", {
|
|
17219
17375
|
"bg-primary/25 hover:bg-primary/35": u2
|
|
17220
17376
|
}),
|
|
@@ -17244,21 +17400,21 @@ ${c}
|
|
|
17244
17400
|
}, e3.id));
|
|
17245
17401
|
}
|
|
17246
17402
|
}
|
|
17247
|
-
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] =
|
|
17248
|
-
} else G = r[22], q = r[23],
|
|
17249
|
-
if (
|
|
17250
|
-
let
|
|
17251
|
-
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !==
|
|
17403
|
+
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] = UU, r[25] = WU, r[26] = Z, r[27] = KU, r[28] = qU, r[29] = YU, r[30] = XU;
|
|
17404
|
+
} else G = r[22], q = r[23], UU = r[24], WU = r[25], Z = r[26], KU = r[27], qU = r[28], YU = r[29], XU = r[30];
|
|
17405
|
+
if (XU !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return XU;
|
|
17406
|
+
let ZU, QU, $U, eW, tW, nW, rW;
|
|
17407
|
+
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !== UU || r[69] !== z || r[70] !== WU || r[71] !== Z || r[72] !== u || r[73] !== B || r[74] !== m || r[75] !== f || r[76] !== v || r[77] !== h || r[78] !== KU || r[79] !== qU || r[80] !== d || r[81] !== YU || r[82] !== l || r[83] !== T || r[84] !== c.length) {
|
|
17252
17408
|
let { parentDirectories: e2 } = getProtocolAndParentDirectories({
|
|
17253
17409
|
path: v,
|
|
17254
17410
|
delimiter: q,
|
|
17255
17411
|
initialPath: u,
|
|
17256
17412
|
restrictNavigation: h
|
|
17257
17413
|
}), g2 = d === "all" ? PluralWords.of("file", "folder") : d === "directory" ? PluralWords.of("folder") : PluralWords.of("file");
|
|
17258
|
-
r[92] === z ?
|
|
17414
|
+
r[92] === z ? rW = r[93] : (rW = z && (0, import_jsx_runtime.jsx)(Banner, {
|
|
17259
17415
|
kind: "danger",
|
|
17260
17416
|
children: z.message
|
|
17261
|
-
}), r[92] = z, r[93] =
|
|
17417
|
+
}), r[92] = z, r[93] = rW), ZU = (() => {
|
|
17262
17418
|
let e3 = (0, import_jsx_runtime.jsx)(Label, {
|
|
17263
17419
|
children: renderHTML({
|
|
17264
17420
|
html: m ?? `Select ${g2.join(" and ", 2)}...`
|
|
@@ -17275,7 +17431,7 @@ ${c}
|
|
|
17275
17431
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
17276
17432
|
size: "xs",
|
|
17277
17433
|
variant: "link",
|
|
17278
|
-
onClick: G ?
|
|
17434
|
+
onClick: G ? UU : KU,
|
|
17279
17435
|
children: G ? "Deselect all" : "Select all"
|
|
17280
17436
|
})
|
|
17281
17437
|
})
|
|
@@ -17283,18 +17439,18 @@ ${c}
|
|
|
17283
17439
|
}) : e3;
|
|
17284
17440
|
})();
|
|
17285
17441
|
let _2;
|
|
17286
|
-
r[94] ===
|
|
17442
|
+
r[94] === YU ? _2 = r[95] : (_2 = (e3) => YU(e3.target.value), r[94] = YU, r[95] = _2);
|
|
17287
17443
|
let y2 = e2.map(_temp3$5);
|
|
17288
|
-
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (
|
|
17444
|
+
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (QU = (0, import_jsx_runtime.jsx)(NativeSelect, {
|
|
17289
17445
|
className: "mt-2 w-full",
|
|
17290
17446
|
placeholder: v,
|
|
17291
17447
|
value: v,
|
|
17292
17448
|
onChange: _2,
|
|
17293
17449
|
children: y2
|
|
17294
|
-
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] =
|
|
17450
|
+
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] = QU) : QU = r[99], r[100] !== R || r[101] !== Z ? ($U = R && typeof R.total_count == "number" && (0, import_jsx_runtime.jsx)("div", {
|
|
17295
17451
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
17296
17452
|
children: R.is_truncated ? `Showing ${Z.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
17297
|
-
}), r[100] = R, r[101] = Z, r[102] =
|
|
17453
|
+
}), r[100] = R, r[101] = Z, r[102] = $U) : $U = r[102];
|
|
17298
17454
|
let b2;
|
|
17299
17455
|
r[103] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b2 = {
|
|
17300
17456
|
height: "14rem"
|
|
@@ -17313,12 +17469,12 @@ ${c}
|
|
|
17313
17469
|
]
|
|
17314
17470
|
}), r[104] = T, r[105] = S2);
|
|
17315
17471
|
let E2;
|
|
17316
|
-
r[106] ===
|
|
17472
|
+
r[106] === WU ? E2 = r[107] : (E2 = (0, import_jsx_runtime.jsx)(Table, {
|
|
17317
17473
|
className: "cursor-pointer table-fixed",
|
|
17318
17474
|
children: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
17319
|
-
children:
|
|
17475
|
+
children: WU
|
|
17320
17476
|
})
|
|
17321
|
-
}), r[106] =
|
|
17477
|
+
}), r[106] = WU, r[107] = E2), r[108] !== B || r[109] !== S2 || r[110] !== E2 ? (eW = (0, import_jsx_runtime.jsxs)("div", {
|
|
17322
17478
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
17323
17479
|
style: b2,
|
|
17324
17480
|
"aria-busy": B,
|
|
@@ -17327,7 +17483,7 @@ ${c}
|
|
|
17327
17483
|
S2,
|
|
17328
17484
|
E2
|
|
17329
17485
|
]
|
|
17330
|
-
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] =
|
|
17486
|
+
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] = eW) : eW = r[111], tW = "mt-4", nW = c.length > 0 && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
17331
17487
|
children: [
|
|
17332
17488
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
17333
17489
|
className: "flex items-center gap-2",
|
|
@@ -17357,28 +17513,28 @@ ${c}
|
|
|
17357
17513
|
marginBlock: 0
|
|
17358
17514
|
},
|
|
17359
17515
|
className: "m-0 text-xs text-muted-foreground",
|
|
17360
|
-
children:
|
|
17516
|
+
children: qU
|
|
17361
17517
|
})
|
|
17362
17518
|
})
|
|
17363
17519
|
]
|
|
17364
|
-
}), r[65] = G, r[66] = R, r[67] = q, r[68] =
|
|
17365
|
-
} else
|
|
17366
|
-
let
|
|
17367
|
-
r[112] !==
|
|
17368
|
-
className:
|
|
17369
|
-
children:
|
|
17370
|
-
}), r[112] =
|
|
17371
|
-
let
|
|
17372
|
-
return r[115] !==
|
|
17520
|
+
}), r[65] = G, r[66] = R, r[67] = q, r[68] = UU, r[69] = z, r[70] = WU, r[71] = Z, r[72] = u, r[73] = B, r[74] = m, r[75] = f, r[76] = v, r[77] = h, r[78] = KU, r[79] = qU, r[80] = d, r[81] = YU, r[82] = l, r[83] = T, r[84] = c.length, r[85] = ZU, r[86] = QU, r[87] = $U, r[88] = eW, r[89] = tW, r[90] = nW, r[91] = rW;
|
|
17521
|
+
} else ZU = r[85], QU = r[86], $U = r[87], eW = r[88], tW = r[89], nW = r[90], rW = r[91];
|
|
17522
|
+
let iW;
|
|
17523
|
+
r[112] !== tW || r[113] !== nW ? (iW = (0, import_jsx_runtime.jsx)("div", {
|
|
17524
|
+
className: tW,
|
|
17525
|
+
children: nW
|
|
17526
|
+
}), r[112] = tW, r[113] = nW, r[114] = iW) : iW = r[114];
|
|
17527
|
+
let aW;
|
|
17528
|
+
return r[115] !== ZU || r[116] !== QU || r[117] !== $U || r[118] !== eW || r[119] !== iW || r[120] !== rW ? (aW = (0, import_jsx_runtime.jsxs)("div", {
|
|
17373
17529
|
children: [
|
|
17530
|
+
rW,
|
|
17531
|
+
ZU,
|
|
17532
|
+
QU,
|
|
17374
17533
|
$U,
|
|
17375
|
-
|
|
17376
|
-
|
|
17377
|
-
YU,
|
|
17378
|
-
XU,
|
|
17379
|
-
eW
|
|
17534
|
+
eW,
|
|
17535
|
+
iW
|
|
17380
17536
|
]
|
|
17381
|
-
}), r[115] =
|
|
17537
|
+
}), r[115] = ZU, r[116] = QU, r[117] = $U, r[118] = eW, r[119] = iW, r[120] = rW, r[121] = aW) : aW = r[121], aW;
|
|
17382
17538
|
};
|
|
17383
17539
|
function _temp$12(e) {
|
|
17384
17540
|
return e.path;
|
|
@@ -22768,55 +22924,55 @@ ${c}
|
|
|
22768
22924
|
return typeof S == "function" ? S : noop$2;
|
|
22769
22925
|
}, [
|
|
22770
22926
|
S
|
|
22771
|
-
]), q = (0, import_react.useRef)(null),
|
|
22772
|
-
!
|
|
22773
|
-
|
|
22927
|
+
]), q = (0, import_react.useRef)(null), UU = (0, import_react.useRef)(null), WU = _slicedToArray((0, import_react.useReducer)(reducer$2, initialState), 2), Z = WU[0], GU = WU[1], KU = Z.isFocused, qU = Z.isFileDialogActive, JU = (0, import_react.useRef)(typeof window < "u" && window.isSecureContext && T && canUseFileSystemAccessAPI()), YU = function() {
|
|
22928
|
+
!JU.current && qU && setTimeout(function() {
|
|
22929
|
+
UU.current && (UU.current.files.length || (GU({
|
|
22774
22930
|
type: "closeDialog"
|
|
22775
22931
|
}), G()));
|
|
22776
22932
|
}, 300);
|
|
22777
22933
|
};
|
|
22778
22934
|
(0, import_react.useEffect)(function() {
|
|
22779
|
-
return window.addEventListener("focus",
|
|
22780
|
-
window.removeEventListener("focus",
|
|
22935
|
+
return window.addEventListener("focus", YU, false), function() {
|
|
22936
|
+
window.removeEventListener("focus", YU, false);
|
|
22781
22937
|
};
|
|
22782
22938
|
}, [
|
|
22783
|
-
zU,
|
|
22784
22939
|
UU,
|
|
22940
|
+
qU,
|
|
22785
22941
|
G,
|
|
22786
|
-
|
|
22942
|
+
JU
|
|
22787
22943
|
]);
|
|
22788
|
-
var
|
|
22789
|
-
q.current && q.current.contains(e2.target) || (e2.preventDefault(),
|
|
22944
|
+
var XU = (0, import_react.useRef)([]), ZU = (0, import_react.useRef)([]), QU = function(e2) {
|
|
22945
|
+
q.current && q.current.contains(e2.target) || (e2.preventDefault(), XU.current = []);
|
|
22790
22946
|
};
|
|
22791
22947
|
(0, import_react.useEffect)(function() {
|
|
22792
|
-
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop",
|
|
22793
|
-
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop",
|
|
22948
|
+
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop", QU, false)), function() {
|
|
22949
|
+
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop", QU));
|
|
22794
22950
|
};
|
|
22795
22951
|
}, [
|
|
22796
22952
|
q,
|
|
22797
22953
|
O
|
|
22798
22954
|
]), (0, import_react.useEffect)(function() {
|
|
22799
22955
|
var e2 = function(e3) {
|
|
22800
|
-
|
|
22956
|
+
ZU.current = [].concat(_toConsumableArray(ZU.current), [
|
|
22801
22957
|
e3.target
|
|
22802
|
-
]), isEvtWithFiles(e3) &&
|
|
22958
|
+
]), isEvtWithFiles(e3) && GU({
|
|
22803
22959
|
isDragGlobal: true,
|
|
22804
22960
|
type: "setDragGlobal"
|
|
22805
22961
|
});
|
|
22806
22962
|
}, r2 = function(e3) {
|
|
22807
|
-
|
|
22963
|
+
ZU.current = ZU.current.filter(function(r3) {
|
|
22808
22964
|
return r3 !== e3.target && r3 !== null;
|
|
22809
|
-
}), !(
|
|
22965
|
+
}), !(ZU.current.length > 0) && GU({
|
|
22810
22966
|
isDragGlobal: false,
|
|
22811
22967
|
type: "setDragGlobal"
|
|
22812
22968
|
});
|
|
22813
22969
|
}, c2 = function() {
|
|
22814
|
-
|
|
22970
|
+
ZU.current = [], GU({
|
|
22815
22971
|
isDragGlobal: false,
|
|
22816
22972
|
type: "setDragGlobal"
|
|
22817
22973
|
});
|
|
22818
22974
|
}, l2 = function() {
|
|
22819
|
-
|
|
22975
|
+
ZU.current = [], GU({
|
|
22820
22976
|
isDragGlobal: false,
|
|
22821
22977
|
type: "setDragGlobal"
|
|
22822
22978
|
});
|
|
@@ -22834,12 +22990,12 @@ ${c}
|
|
|
22834
22990
|
E,
|
|
22835
22991
|
l
|
|
22836
22992
|
]);
|
|
22837
|
-
var
|
|
22993
|
+
var $U = (0, import_react.useCallback)(function(e2) {
|
|
22838
22994
|
R ? R(e2) : console.error(e2);
|
|
22839
22995
|
}, [
|
|
22840
22996
|
R
|
|
22841
|
-
]),
|
|
22842
|
-
e2.preventDefault(), e2.persist(),
|
|
22997
|
+
]), eW = (0, import_react.useCallback)(function(e2) {
|
|
22998
|
+
e2.preventDefault(), e2.persist(), pW(e2), XU.current = [].concat(_toConsumableArray(XU.current), [
|
|
22843
22999
|
e2.target
|
|
22844
23000
|
]), isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
22845
23001
|
if (!(isPropagationStopped(e2) && !L)) {
|
|
@@ -22852,7 +23008,7 @@ ${c}
|
|
|
22852
23008
|
maxFiles: m,
|
|
22853
23009
|
validator: z
|
|
22854
23010
|
});
|
|
22855
|
-
|
|
23011
|
+
GU({
|
|
22856
23012
|
isDragAccept: l2,
|
|
22857
23013
|
isDragReject: c2 > 0 && !l2,
|
|
22858
23014
|
isDragActive: true,
|
|
@@ -22860,12 +23016,12 @@ ${c}
|
|
|
22860
23016
|
}), h && h(e2);
|
|
22861
23017
|
}
|
|
22862
23018
|
}).catch(function(e3) {
|
|
22863
|
-
return
|
|
23019
|
+
return $U(e3);
|
|
22864
23020
|
});
|
|
22865
23021
|
}, [
|
|
22866
23022
|
u,
|
|
22867
23023
|
h,
|
|
22868
|
-
|
|
23024
|
+
$U,
|
|
22869
23025
|
L,
|
|
22870
23026
|
B,
|
|
22871
23027
|
f,
|
|
@@ -22873,8 +23029,8 @@ ${c}
|
|
|
22873
23029
|
p,
|
|
22874
23030
|
m,
|
|
22875
23031
|
z
|
|
22876
|
-
]),
|
|
22877
|
-
e2.preventDefault(), e2.persist(),
|
|
23032
|
+
]), tW = (0, import_react.useCallback)(function(e2) {
|
|
23033
|
+
e2.preventDefault(), e2.persist(), pW(e2);
|
|
22878
23034
|
var r2 = isEvtWithFiles(e2);
|
|
22879
23035
|
if (r2 && e2.dataTransfer) try {
|
|
22880
23036
|
e2.dataTransfer.dropEffect = "copy";
|
|
@@ -22884,12 +23040,12 @@ ${c}
|
|
|
22884
23040
|
}, [
|
|
22885
23041
|
_,
|
|
22886
23042
|
L
|
|
22887
|
-
]),
|
|
22888
|
-
e2.preventDefault(), e2.persist(),
|
|
22889
|
-
var r2 =
|
|
23043
|
+
]), nW = (0, import_react.useCallback)(function(e2) {
|
|
23044
|
+
e2.preventDefault(), e2.persist(), pW(e2);
|
|
23045
|
+
var r2 = XU.current.filter(function(e3) {
|
|
22890
23046
|
return q.current && q.current.contains(e3);
|
|
22891
23047
|
}), c2 = r2.indexOf(e2.target);
|
|
22892
|
-
c2 !== -1 && r2.splice(c2, 1),
|
|
23048
|
+
c2 !== -1 && r2.splice(c2, 1), XU.current = r2, !(r2.length > 0) && (GU({
|
|
22893
23049
|
type: "setDraggedFiles",
|
|
22894
23050
|
isDragActive: false,
|
|
22895
23051
|
isDragAccept: false,
|
|
@@ -22899,7 +23055,7 @@ ${c}
|
|
|
22899
23055
|
q,
|
|
22900
23056
|
g,
|
|
22901
23057
|
L
|
|
22902
|
-
]),
|
|
23058
|
+
]), rW = (0, import_react.useCallback)(function(e2, r2) {
|
|
22903
23059
|
var c2 = [], l2 = [];
|
|
22904
23060
|
e2.forEach(function(e3) {
|
|
22905
23061
|
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;
|
|
@@ -22923,14 +23079,14 @@ ${c}
|
|
|
22923
23079
|
TOO_MANY_FILES_REJECTION
|
|
22924
23080
|
]
|
|
22925
23081
|
});
|
|
22926
|
-
}), c2.splice(0)),
|
|
23082
|
+
}), c2.splice(0)), GU({
|
|
22927
23083
|
acceptedFiles: c2,
|
|
22928
23084
|
fileRejections: l2,
|
|
22929
23085
|
isDragReject: l2.length > 0,
|
|
22930
23086
|
type: "setFiles"
|
|
22931
23087
|
}), v && v(c2, l2, r2), l2.length > 0 && b && b(l2, r2), c2.length > 0 && y && y(c2, r2);
|
|
22932
23088
|
}, [
|
|
22933
|
-
|
|
23089
|
+
GU,
|
|
22934
23090
|
p,
|
|
22935
23091
|
B,
|
|
22936
23092
|
f,
|
|
@@ -22940,22 +23096,22 @@ ${c}
|
|
|
22940
23096
|
y,
|
|
22941
23097
|
b,
|
|
22942
23098
|
z
|
|
22943
|
-
]),
|
|
22944
|
-
e2.preventDefault(), e2.persist(),
|
|
22945
|
-
isPropagationStopped(e2) && !L ||
|
|
23099
|
+
]), iW = (0, import_react.useCallback)(function(e2) {
|
|
23100
|
+
e2.preventDefault(), e2.persist(), pW(e2), XU.current = [], isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
23101
|
+
isPropagationStopped(e2) && !L || rW(r2, e2);
|
|
22946
23102
|
}).catch(function(e3) {
|
|
22947
|
-
return
|
|
22948
|
-
}),
|
|
23103
|
+
return $U(e3);
|
|
23104
|
+
}), GU({
|
|
22949
23105
|
type: "reset"
|
|
22950
23106
|
});
|
|
22951
23107
|
}, [
|
|
22952
23108
|
u,
|
|
23109
|
+
rW,
|
|
22953
23110
|
$U,
|
|
22954
|
-
YU,
|
|
22955
23111
|
L
|
|
22956
|
-
]),
|
|
22957
|
-
if (
|
|
22958
|
-
|
|
23112
|
+
]), aW = (0, import_react.useCallback)(function() {
|
|
23113
|
+
if (JU.current) {
|
|
23114
|
+
GU({
|
|
22959
23115
|
type: "openDialog"
|
|
22960
23116
|
}), W();
|
|
22961
23117
|
var e2 = {
|
|
@@ -22965,66 +23121,66 @@ ${c}
|
|
|
22965
23121
|
window.showOpenFilePicker(e2).then(function(e3) {
|
|
22966
23122
|
return u(e3);
|
|
22967
23123
|
}).then(function(e3) {
|
|
22968
|
-
|
|
23124
|
+
rW(e3, null), GU({
|
|
22969
23125
|
type: "closeDialog"
|
|
22970
23126
|
});
|
|
22971
23127
|
}).catch(function(e3) {
|
|
22972
|
-
isAbort(e3) ? (G(e3),
|
|
23128
|
+
isAbort(e3) ? (G(e3), GU({
|
|
22973
23129
|
type: "closeDialog"
|
|
22974
|
-
})) : isSecurityError(e3) ? (
|
|
23130
|
+
})) : isSecurityError(e3) ? (JU.current = false, UU.current ? (UU.current.value = null, UU.current.click()) : $U(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."))) : $U(e3);
|
|
22975
23131
|
});
|
|
22976
23132
|
return;
|
|
22977
23133
|
}
|
|
22978
|
-
|
|
23134
|
+
UU.current && (GU({
|
|
22979
23135
|
type: "openDialog"
|
|
22980
|
-
}), W(),
|
|
23136
|
+
}), W(), UU.current.value = null, UU.current.click());
|
|
22981
23137
|
}, [
|
|
22982
|
-
|
|
23138
|
+
GU,
|
|
22983
23139
|
W,
|
|
22984
23140
|
G,
|
|
22985
23141
|
T,
|
|
23142
|
+
rW,
|
|
22986
23143
|
$U,
|
|
22987
|
-
YU,
|
|
22988
23144
|
H,
|
|
22989
23145
|
p
|
|
22990
|
-
]),
|
|
22991
|
-
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(),
|
|
23146
|
+
]), oW = (0, import_react.useCallback)(function(e2) {
|
|
23147
|
+
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(), aW());
|
|
22992
23148
|
}, [
|
|
22993
23149
|
q,
|
|
22994
|
-
|
|
22995
|
-
]),
|
|
22996
|
-
|
|
23150
|
+
aW
|
|
23151
|
+
]), sW = (0, import_react.useCallback)(function() {
|
|
23152
|
+
GU({
|
|
22997
23153
|
type: "focus"
|
|
22998
23154
|
});
|
|
22999
|
-
}, []),
|
|
23000
|
-
|
|
23155
|
+
}, []), cW = (0, import_react.useCallback)(function() {
|
|
23156
|
+
GU({
|
|
23001
23157
|
type: "blur"
|
|
23002
23158
|
});
|
|
23003
|
-
}, []),
|
|
23004
|
-
j || (isIeOrEdge() ? setTimeout(
|
|
23159
|
+
}, []), lW = (0, import_react.useCallback)(function() {
|
|
23160
|
+
j || (isIeOrEdge() ? setTimeout(aW, 0) : aW());
|
|
23005
23161
|
}, [
|
|
23006
23162
|
j,
|
|
23007
|
-
|
|
23008
|
-
]),
|
|
23163
|
+
aW
|
|
23164
|
+
]), uW = function(e2) {
|
|
23009
23165
|
return l ? null : e2;
|
|
23010
|
-
},
|
|
23011
|
-
return M ? null :
|
|
23012
|
-
},
|
|
23013
|
-
return I ? null :
|
|
23014
|
-
},
|
|
23166
|
+
}, dW = function(e2) {
|
|
23167
|
+
return M ? null : uW(e2);
|
|
23168
|
+
}, fW = function(e2) {
|
|
23169
|
+
return I ? null : uW(e2);
|
|
23170
|
+
}, pW = function(e2) {
|
|
23015
23171
|
L && e2.stopPropagation();
|
|
23016
|
-
},
|
|
23172
|
+
}, mW = (0, import_react.useMemo)(function() {
|
|
23017
23173
|
return function() {
|
|
23018
23174
|
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);
|
|
23019
23175
|
return _objectSpread$7(_objectSpread$7(_defineProperty$10({
|
|
23020
|
-
onKeyDown:
|
|
23021
|
-
onFocus:
|
|
23022
|
-
onBlur:
|
|
23023
|
-
onClick:
|
|
23024
|
-
onDragEnter:
|
|
23025
|
-
onDragOver:
|
|
23026
|
-
onDragLeave:
|
|
23027
|
-
onDrop:
|
|
23176
|
+
onKeyDown: dW(composeEventHandlers(d2, oW)),
|
|
23177
|
+
onFocus: dW(composeEventHandlers(f2, sW)),
|
|
23178
|
+
onBlur: dW(composeEventHandlers(p2, cW)),
|
|
23179
|
+
onClick: uW(composeEventHandlers(m2, lW)),
|
|
23180
|
+
onDragEnter: fW(composeEventHandlers(h2, eW)),
|
|
23181
|
+
onDragOver: fW(composeEventHandlers(g2, tW)),
|
|
23182
|
+
onDragLeave: fW(composeEventHandlers(_2, nW)),
|
|
23183
|
+
onDrop: fW(composeEventHandlers(v2, iW)),
|
|
23028
23184
|
role: typeof u2 == "string" && u2 !== "" ? u2 : "presentation"
|
|
23029
23185
|
}, c2, q), !l && !M ? {
|
|
23030
23186
|
tabIndex: 0
|
|
@@ -23032,20 +23188,20 @@ ${c}
|
|
|
23032
23188
|
};
|
|
23033
23189
|
}, [
|
|
23034
23190
|
q,
|
|
23191
|
+
oW,
|
|
23192
|
+
sW,
|
|
23193
|
+
cW,
|
|
23194
|
+
lW,
|
|
23195
|
+
eW,
|
|
23196
|
+
tW,
|
|
23035
23197
|
nW,
|
|
23036
|
-
rW,
|
|
23037
23198
|
iW,
|
|
23038
|
-
aW,
|
|
23039
|
-
XU,
|
|
23040
|
-
ZU,
|
|
23041
|
-
QU,
|
|
23042
|
-
eW,
|
|
23043
23199
|
M,
|
|
23044
23200
|
I,
|
|
23045
23201
|
l
|
|
23046
|
-
]),
|
|
23202
|
+
]), hW = (0, import_react.useCallback)(function(e2) {
|
|
23047
23203
|
e2.stopPropagation();
|
|
23048
|
-
}, []),
|
|
23204
|
+
}, []), gW = (0, import_react.useMemo)(function() {
|
|
23049
23205
|
return function() {
|
|
23050
23206
|
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);
|
|
23051
23207
|
return _objectSpread$7(_objectSpread$7({}, _defineProperty$10({
|
|
@@ -23064,25 +23220,25 @@ ${c}
|
|
|
23064
23220
|
width: "1px",
|
|
23065
23221
|
whiteSpace: "nowrap"
|
|
23066
23222
|
},
|
|
23067
|
-
onChange:
|
|
23068
|
-
onClick:
|
|
23223
|
+
onChange: uW(composeEventHandlers(l2, iW)),
|
|
23224
|
+
onClick: uW(composeEventHandlers(u2, hW)),
|
|
23069
23225
|
tabIndex: -1
|
|
23070
|
-
}, c2,
|
|
23226
|
+
}, c2, UU)), d2);
|
|
23071
23227
|
};
|
|
23072
23228
|
}, [
|
|
23073
|
-
|
|
23229
|
+
UU,
|
|
23074
23230
|
c,
|
|
23075
23231
|
p,
|
|
23076
|
-
|
|
23232
|
+
iW,
|
|
23077
23233
|
l
|
|
23078
23234
|
]);
|
|
23079
23235
|
return _objectSpread$7(_objectSpread$7({}, Z), {}, {
|
|
23080
|
-
isFocused:
|
|
23081
|
-
getRootProps:
|
|
23082
|
-
getInputProps:
|
|
23236
|
+
isFocused: KU && !l,
|
|
23237
|
+
getRootProps: mW,
|
|
23238
|
+
getInputProps: gW,
|
|
23083
23239
|
rootRef: q,
|
|
23084
|
-
inputRef:
|
|
23085
|
-
open:
|
|
23240
|
+
inputRef: UU,
|
|
23241
|
+
open: uW(aW)
|
|
23086
23242
|
});
|
|
23087
23243
|
}
|
|
23088
23244
|
function reducer$2(e, r) {
|
|
@@ -23314,47 +23470,47 @@ ${c}
|
|
|
23314
23470
|
html: I
|
|
23315
23471
|
})
|
|
23316
23472
|
}), r[45] = I, r[46] = M, r[47] = G) : G = r[47];
|
|
23317
|
-
let q = w && "text-primary",
|
|
23318
|
-
r[48] !== q || r[49] !==
|
|
23473
|
+
let q = w && "text-primary", UU = T && "text-destructive", WU;
|
|
23474
|
+
r[48] !== q || r[49] !== UU ? (WU = cn(q, UU), r[48] = q, r[49] = UU, r[50] = WU) : WU = r[50];
|
|
23319
23475
|
let Z;
|
|
23320
|
-
r[51] ===
|
|
23476
|
+
r[51] === WU ? Z = r[52] : (Z = (0, import_jsx_runtime.jsx)(Upload, {
|
|
23321
23477
|
strokeWidth: 1.4,
|
|
23322
|
-
className:
|
|
23323
|
-
}), r[51] =
|
|
23324
|
-
let
|
|
23325
|
-
r[53] !==
|
|
23326
|
-
let
|
|
23327
|
-
r[56] ===
|
|
23478
|
+
className: WU
|
|
23479
|
+
}), r[51] = WU, r[52] = Z);
|
|
23480
|
+
let GU = w && "text-primary", KU = T && "text-destructive", qU;
|
|
23481
|
+
r[53] !== GU || r[54] !== KU ? (qU = cn(GU, KU), r[53] = GU, r[54] = KU, r[55] = qU) : qU = r[55];
|
|
23482
|
+
let JU;
|
|
23483
|
+
r[56] === qU ? JU = r[57] : (JU = (0, import_jsx_runtime.jsx)(SquareDashedMousePointer, {
|
|
23328
23484
|
strokeWidth: 1.4,
|
|
23329
|
-
className:
|
|
23330
|
-
}), r[56] =
|
|
23331
|
-
let
|
|
23332
|
-
r[58] !== Z || r[59] !==
|
|
23485
|
+
className: qU
|
|
23486
|
+
}), r[56] = qU, r[57] = JU);
|
|
23487
|
+
let YU;
|
|
23488
|
+
r[58] !== Z || r[59] !== JU ? (YU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23333
23489
|
className: "flex flex-row items-center justify-center grow gap-3",
|
|
23334
23490
|
children: [
|
|
23335
23491
|
Z,
|
|
23336
|
-
|
|
23492
|
+
JU
|
|
23337
23493
|
]
|
|
23338
|
-
}), r[58] = Z, r[59] =
|
|
23339
|
-
let
|
|
23340
|
-
r[61] !== G || r[62] !==
|
|
23494
|
+
}), r[58] = Z, r[59] = JU, r[60] = YU) : YU = r[60];
|
|
23495
|
+
let XU;
|
|
23496
|
+
r[61] !== G || r[62] !== YU ? (XU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23341
23497
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
23342
23498
|
children: [
|
|
23343
23499
|
G,
|
|
23344
|
-
|
|
23500
|
+
YU
|
|
23345
23501
|
]
|
|
23346
|
-
}), r[61] = G, r[62] =
|
|
23347
|
-
let
|
|
23348
|
-
r[64] !== W || r[65] !==
|
|
23502
|
+
}), r[61] = G, r[62] = YU, r[63] = XU) : XU = r[63];
|
|
23503
|
+
let ZU;
|
|
23504
|
+
r[64] !== W || r[65] !== XU || r[66] !== z || r[67] !== B ? (ZU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23349
23505
|
className: z,
|
|
23350
23506
|
...B,
|
|
23351
23507
|
children: [
|
|
23352
23508
|
W,
|
|
23353
|
-
|
|
23509
|
+
XU
|
|
23354
23510
|
]
|
|
23355
|
-
}), r[64] = W, r[65] =
|
|
23356
|
-
let
|
|
23357
|
-
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (
|
|
23511
|
+
}), r[64] = W, r[65] = XU, r[66] = z, r[67] = B, r[68] = ZU) : ZU = r[68];
|
|
23512
|
+
let QU;
|
|
23513
|
+
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (QU = M ? (0, import_jsx_runtime.jsxs)("div", {
|
|
23358
23514
|
className: "flex flex-row gap-1",
|
|
23359
23515
|
children: [
|
|
23360
23516
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -23390,17 +23546,17 @@ ${c}
|
|
|
23390
23546
|
})
|
|
23391
23547
|
})
|
|
23392
23548
|
]
|
|
23393
|
-
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] =
|
|
23394
|
-
let
|
|
23395
|
-
return r[75] !==
|
|
23549
|
+
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] = QU) : QU = r[74];
|
|
23550
|
+
let $U;
|
|
23551
|
+
return r[75] !== ZU || r[76] !== QU ? ($U = (0, import_jsx_runtime.jsx)("section", {
|
|
23396
23552
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
23397
23553
|
className: "flex flex-col items-start justify-start grow gap-3",
|
|
23398
23554
|
children: [
|
|
23399
|
-
|
|
23400
|
-
|
|
23555
|
+
ZU,
|
|
23556
|
+
QU
|
|
23401
23557
|
]
|
|
23402
23558
|
})
|
|
23403
|
-
}), r[75] =
|
|
23559
|
+
}), r[75] = ZU, r[76] = QU, r[77] = $U) : $U = r[77], $U;
|
|
23404
23560
|
};
|
|
23405
23561
|
function _temp$11(e) {
|
|
23406
23562
|
Logger.error(e), toast({
|
|
@@ -23496,75 +23652,75 @@ ${c}
|
|
|
23496
23652
|
r[10] !== u || r[11] !== d ? (q = (e2) => {
|
|
23497
23653
|
e2.key === "Enter" && (e2.ctrlKey || e2.metaKey) && (e2.preventDefault(), e2.stopPropagation(), d(u));
|
|
23498
23654
|
}, r[10] = u, r[11] = d, r[12] = q) : q = r[12];
|
|
23499
|
-
let
|
|
23500
|
-
r[13] === f ?
|
|
23655
|
+
let UU;
|
|
23656
|
+
r[13] === f ? UU = r[14] : (UU = f === null ? null : (0, import_jsx_runtime.jsx)("div", {
|
|
23501
23657
|
className: "text-center",
|
|
23502
23658
|
children: renderHTML({
|
|
23503
23659
|
html: f
|
|
23504
23660
|
})
|
|
23505
|
-
}), r[13] = f, r[14] =
|
|
23506
|
-
let
|
|
23507
|
-
r[15] === L ?
|
|
23661
|
+
}), r[13] = f, r[14] = UU);
|
|
23662
|
+
let WU;
|
|
23663
|
+
r[15] === L ? WU = r[16] : (WU = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
23508
23664
|
kind: "danger",
|
|
23509
23665
|
className: "rounded",
|
|
23510
23666
|
children: L ?? "Invalid input"
|
|
23511
|
-
}), r[15] = L, r[16] =
|
|
23667
|
+
}), r[15] = L, r[16] = WU);
|
|
23512
23668
|
let Z;
|
|
23513
23669
|
r[17] === c ? Z = r[18] : (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
23514
23670
|
children: c
|
|
23515
23671
|
}), r[17] = c, r[18] = Z);
|
|
23516
|
-
let
|
|
23517
|
-
r[19] !== S || r[20] !== T || r[21] !== b ? (
|
|
23672
|
+
let GU;
|
|
23673
|
+
r[19] !== S || r[20] !== T || r[21] !== b ? (GU = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
23518
23674
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
23519
23675
|
variant: "text",
|
|
23520
23676
|
onClick: (e2) => {
|
|
23521
23677
|
e2.preventDefault(), B();
|
|
23522
23678
|
},
|
|
23523
23679
|
children: S
|
|
23524
|
-
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] =
|
|
23525
|
-
let
|
|
23526
|
-
r[23] === h ?
|
|
23680
|
+
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] = GU) : GU = r[22];
|
|
23681
|
+
let KU = v || h, qU;
|
|
23682
|
+
r[23] === h ? qU = r[24] : (qU = h && (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
23527
23683
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
23528
|
-
}), r[23] = h, r[24] =
|
|
23529
|
-
let
|
|
23530
|
-
r[25] !== g || r[26] !==
|
|
23684
|
+
}), r[23] = h, r[24] = qU);
|
|
23685
|
+
let JU;
|
|
23686
|
+
r[25] !== g || r[26] !== KU || r[27] !== qU || r[28] !== I ? (JU = (0, import_jsx_runtime.jsxs)(Button, {
|
|
23531
23687
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
23532
23688
|
variant: I,
|
|
23533
|
-
disabled:
|
|
23689
|
+
disabled: KU,
|
|
23534
23690
|
type: "submit",
|
|
23535
23691
|
children: [
|
|
23536
|
-
|
|
23692
|
+
qU,
|
|
23537
23693
|
g
|
|
23538
23694
|
]
|
|
23539
|
-
}), r[25] = g, r[26] =
|
|
23540
|
-
let
|
|
23541
|
-
r[30] !== _ || r[31] !==
|
|
23542
|
-
let
|
|
23543
|
-
r[33] !==
|
|
23695
|
+
}), r[25] = g, r[26] = KU, r[27] = qU, r[28] = I, r[29] = JU) : JU = r[29];
|
|
23696
|
+
let YU;
|
|
23697
|
+
r[30] !== _ || r[31] !== JU ? (YU = withTooltip(JU, _), r[30] = _, r[31] = JU, r[32] = YU) : YU = r[32];
|
|
23698
|
+
let XU;
|
|
23699
|
+
r[33] !== YU || r[34] !== GU ? (XU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23544
23700
|
className: "flex justify-end gap-2 font-code",
|
|
23545
23701
|
children: [
|
|
23546
|
-
|
|
23547
|
-
|
|
23702
|
+
GU,
|
|
23703
|
+
YU
|
|
23548
23704
|
]
|
|
23549
|
-
}), r[33] =
|
|
23550
|
-
let
|
|
23551
|
-
r[36] !==
|
|
23705
|
+
}), r[33] = YU, r[34] = GU, r[35] = XU) : XU = r[35];
|
|
23706
|
+
let ZU;
|
|
23707
|
+
r[36] !== XU || r[37] !== G || r[38] !== q || r[39] !== UU || r[40] !== WU || r[41] !== Z ? (ZU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23552
23708
|
className: G,
|
|
23553
23709
|
onKeyDown: q,
|
|
23554
23710
|
children: [
|
|
23555
|
-
|
|
23556
|
-
|
|
23711
|
+
UU,
|
|
23712
|
+
WU,
|
|
23557
23713
|
Z,
|
|
23558
|
-
|
|
23714
|
+
XU
|
|
23559
23715
|
]
|
|
23560
|
-
}), r[36] =
|
|
23561
|
-
let
|
|
23562
|
-
return r[43] !==
|
|
23716
|
+
}), r[36] = XU, r[37] = G, r[38] = q, r[39] = UU, r[40] = WU, r[41] = Z, r[42] = ZU) : ZU = r[42];
|
|
23717
|
+
let QU;
|
|
23718
|
+
return r[43] !== ZU || r[44] !== H ? (QU = (0, import_jsx_runtime.jsx)("form", {
|
|
23563
23719
|
className: "contents",
|
|
23564
23720
|
ref: j,
|
|
23565
23721
|
onSubmit: H,
|
|
23566
|
-
children:
|
|
23567
|
-
}), r[43] =
|
|
23722
|
+
children: ZU
|
|
23723
|
+
}), r[43] = ZU, r[44] = H, r[45] = QU) : QU = r[45], QU;
|
|
23568
23724
|
};
|
|
23569
23725
|
var Form = (e) => {
|
|
23570
23726
|
let r = (0, import_compiler_runtime$42.c)(24), c, l, u, d, f, p;
|
|
@@ -25244,7 +25400,7 @@ ${c}
|
|
|
25244
25400
|
setValue: e.setValue
|
|
25245
25401
|
});
|
|
25246
25402
|
}
|
|
25247
|
-
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-
|
|
25403
|
+
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-CAYS29h9.js").then((e) => ({
|
|
25248
25404
|
default: e.Plot
|
|
25249
25405
|
})));
|
|
25250
25406
|
const PlotlyComponent = (0, import_react.memo)((e) => {
|
|
@@ -25324,8 +25480,8 @@ ${c}
|
|
|
25324
25480
|
points: extractSunburstPoints(e2.points)
|
|
25325
25481
|
}));
|
|
25326
25482
|
}, r[29] = u, r[30] = G);
|
|
25327
|
-
let q = useEvent_default(G),
|
|
25328
|
-
r[31] === u ?
|
|
25483
|
+
let q = useEvent_default(G), UU;
|
|
25484
|
+
r[31] === u ? UU = r[32] : (UU = (e2) => {
|
|
25329
25485
|
if (!e2 || !shouldHandleClickSelection(e2.points)) return;
|
|
25330
25486
|
let r2 = extractPoints(e2.points), c2 = extractIndices(e2.points);
|
|
25331
25487
|
u((e3) => ({
|
|
@@ -25336,8 +25492,8 @@ ${c}
|
|
|
25336
25492
|
points: r2,
|
|
25337
25493
|
indices: c2
|
|
25338
25494
|
}));
|
|
25339
|
-
}, r[31] = u, r[32] =
|
|
25340
|
-
let
|
|
25495
|
+
}, r[31] = u, r[32] = UU);
|
|
25496
|
+
let WU = useEvent_default(UU), Z;
|
|
25341
25497
|
r[33] === u ? Z = r[34] : (Z = (e2) => {
|
|
25342
25498
|
e2 && u((r2) => ({
|
|
25343
25499
|
...r2,
|
|
@@ -25348,8 +25504,8 @@ ${c}
|
|
|
25348
25504
|
lasso: "lassoPoints" in e2 ? e2.lassoPoints : void 0
|
|
25349
25505
|
}));
|
|
25350
25506
|
}, r[33] = u, r[34] = Z);
|
|
25351
|
-
let
|
|
25352
|
-
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !==
|
|
25507
|
+
let GU = useEvent_default(Z), KU = m.frames ?? void 0, qU = useEvent_default(_temp3$3), JU;
|
|
25508
|
+
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !== WU || r[42] !== GU || r[43] !== KU || r[44] !== qU || r[45] !== R ? (JU = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
25353
25509
|
...m,
|
|
25354
25510
|
layout: h,
|
|
25355
25511
|
onRelayout: R,
|
|
@@ -25357,13 +25513,13 @@ ${c}
|
|
|
25357
25513
|
onTreemapClick: W,
|
|
25358
25514
|
onSunburstClick: q,
|
|
25359
25515
|
config: L,
|
|
25360
|
-
onClick:
|
|
25361
|
-
onSelected:
|
|
25516
|
+
onClick: WU,
|
|
25517
|
+
onSelected: GU,
|
|
25362
25518
|
className: "w-full",
|
|
25363
25519
|
useResizeHandler: true,
|
|
25364
|
-
frames:
|
|
25365
|
-
onError:
|
|
25366
|
-
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] =
|
|
25520
|
+
frames: KU,
|
|
25521
|
+
onError: qU
|
|
25522
|
+
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] = WU, r[42] = GU, r[43] = KU, r[44] = qU, r[45] = R, r[46] = JU) : JU = r[46], JU;
|
|
25367
25523
|
});
|
|
25368
25524
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
25369
25525
|
function _temp$8(e) {
|
|
@@ -25495,8 +25651,8 @@ ${c}
|
|
|
25495
25651
|
c[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = cn("relative grow overflow-hidden rounded-full bg-slate-200 dark:bg-accent/60", "data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full", "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2"), c[17] = G) : G = c[17];
|
|
25496
25652
|
let q;
|
|
25497
25653
|
c[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = cn("absolute bg-blue-500 dark:bg-primary", "data-[orientation=horizontal]:h-full", "data-[orientation=vertical]:w-full", "data-disabled:opacity-50", "hover:cursor-grab active:cursor-grabbing"), c[18] = q) : q = c[18];
|
|
25498
|
-
let
|
|
25499
|
-
c[19] !== L || c[20] !== z || c[21] !== H ? (
|
|
25654
|
+
let UU;
|
|
25655
|
+
c[19] !== L || c[20] !== z || c[21] !== H ? (UU = (0, import_jsx_runtime.jsx)(Track, {
|
|
25500
25656
|
ref: E,
|
|
25501
25657
|
"data-testid": "track",
|
|
25502
25658
|
className: G,
|
|
@@ -25507,9 +25663,9 @@ ${c}
|
|
|
25507
25663
|
onPointerMove: z,
|
|
25508
25664
|
onPointerUp: H
|
|
25509
25665
|
})
|
|
25510
|
-
}), c[19] = L, c[20] = z, c[21] = H, c[22] =
|
|
25511
|
-
let
|
|
25512
|
-
c[23] !== m.setFalse || c[24] !== m.setTrue ? (
|
|
25666
|
+
}), c[19] = L, c[20] = z, c[21] = H, c[22] = UU) : UU = c[22];
|
|
25667
|
+
let WU;
|
|
25668
|
+
c[23] !== m.setFalse || c[24] !== m.setTrue ? (WU = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
25513
25669
|
asChild: true,
|
|
25514
25670
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
25515
25671
|
"data-testid": "thumb",
|
|
@@ -25519,30 +25675,30 @@ ${c}
|
|
|
25519
25675
|
onMouseEnter: m.setTrue,
|
|
25520
25676
|
onMouseLeave: m.setFalse
|
|
25521
25677
|
})
|
|
25522
|
-
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] =
|
|
25678
|
+
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] = WU) : WU = c[25];
|
|
25523
25679
|
let Z;
|
|
25524
25680
|
c[26] !== h || c[27] !== u.value || c[28] !== d ? (Z = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
25525
25681
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
25526
25682
|
locale: h
|
|
25527
25683
|
})
|
|
25528
25684
|
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] = Z) : Z = c[29];
|
|
25529
|
-
let
|
|
25530
|
-
c[30] === Z ?
|
|
25685
|
+
let GU;
|
|
25686
|
+
c[30] === Z ? GU = c[31] : (GU = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
25531
25687
|
children: Z
|
|
25532
|
-
}), c[30] = Z, c[31] =
|
|
25533
|
-
let
|
|
25534
|
-
c[32] !== f || c[33] !==
|
|
25688
|
+
}), c[30] = Z, c[31] = GU);
|
|
25689
|
+
let KU;
|
|
25690
|
+
c[32] !== f || c[33] !== WU || c[34] !== GU ? (KU = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
25535
25691
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
25536
25692
|
delayDuration: 0,
|
|
25537
25693
|
open: f,
|
|
25538
25694
|
children: [
|
|
25539
|
-
|
|
25540
|
-
|
|
25695
|
+
WU,
|
|
25696
|
+
GU
|
|
25541
25697
|
]
|
|
25542
25698
|
})
|
|
25543
|
-
}), c[32] = f, c[33] =
|
|
25544
|
-
let
|
|
25545
|
-
c[36] !== m.setFalse || c[37] !== m.setTrue ? (
|
|
25699
|
+
}), c[32] = f, c[33] = WU, c[34] = GU, c[35] = KU) : KU = c[35];
|
|
25700
|
+
let qU;
|
|
25701
|
+
c[36] !== m.setFalse || c[37] !== m.setTrue ? (qU = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
25546
25702
|
asChild: true,
|
|
25547
25703
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
25548
25704
|
"data-testid": "thumb",
|
|
@@ -25552,39 +25708,39 @@ ${c}
|
|
|
25552
25708
|
onMouseEnter: m.setTrue,
|
|
25553
25709
|
onMouseLeave: m.setFalse
|
|
25554
25710
|
})
|
|
25555
|
-
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] =
|
|
25556
|
-
let
|
|
25557
|
-
c[39] !== h || c[40] !== u.value || c[41] !== d ? (
|
|
25711
|
+
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] = qU) : qU = c[38];
|
|
25712
|
+
let JU;
|
|
25713
|
+
c[39] !== h || c[40] !== u.value || c[41] !== d ? (JU = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
25558
25714
|
children: prettyScientificNumber(d(u.value[1]), {
|
|
25559
25715
|
locale: h
|
|
25560
25716
|
})
|
|
25561
|
-
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] =
|
|
25562
|
-
let
|
|
25563
|
-
c[43] ===
|
|
25564
|
-
children:
|
|
25565
|
-
}), c[43] =
|
|
25566
|
-
let
|
|
25567
|
-
c[45] !== f || c[46] !==
|
|
25717
|
+
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] = JU) : JU = c[42];
|
|
25718
|
+
let YU;
|
|
25719
|
+
c[43] === JU ? YU = c[44] : (YU = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
25720
|
+
children: JU
|
|
25721
|
+
}), c[43] = JU, c[44] = YU);
|
|
25722
|
+
let XU;
|
|
25723
|
+
c[45] !== f || c[46] !== qU || c[47] !== YU ? (XU = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
25568
25724
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
25569
25725
|
delayDuration: 0,
|
|
25570
25726
|
open: f,
|
|
25571
25727
|
children: [
|
|
25572
|
-
|
|
25573
|
-
|
|
25728
|
+
qU,
|
|
25729
|
+
YU
|
|
25574
25730
|
]
|
|
25575
25731
|
})
|
|
25576
|
-
}), c[45] = f, c[46] =
|
|
25577
|
-
let
|
|
25578
|
-
return c[49] !== M || c[50] !== u || c[51] !==
|
|
25732
|
+
}), c[45] = f, c[46] = qU, c[47] = YU, c[48] = XU) : XU = c[48];
|
|
25733
|
+
let ZU;
|
|
25734
|
+
return c[49] !== M || c[50] !== u || c[51] !== UU || c[52] !== KU || c[53] !== XU || c[54] !== W ? (ZU = (0, import_jsx_runtime.jsxs)(Root$1, {
|
|
25579
25735
|
ref: M,
|
|
25580
25736
|
className: W,
|
|
25581
25737
|
...u,
|
|
25582
25738
|
children: [
|
|
25583
|
-
|
|
25584
|
-
|
|
25585
|
-
|
|
25739
|
+
UU,
|
|
25740
|
+
KU,
|
|
25741
|
+
XU
|
|
25586
25742
|
]
|
|
25587
|
-
}), c[49] = M, c[50] = u, c[51] =
|
|
25743
|
+
}), c[49] = M, c[50] = u, c[51] = UU, c[52] = KU, c[53] = XU, c[54] = W, c[55] = ZU) : ZU = c[55], ZU;
|
|
25588
25744
|
});
|
|
25589
25745
|
RangeSlider.displayName = Root$1.displayName;
|
|
25590
25746
|
var import_compiler_runtime$30 = require_compiler_runtime(), RangeSliderPlugin = class {
|
|
@@ -25635,14 +25791,14 @@ ${c}
|
|
|
25635
25791
|
}, q = (e2) => {
|
|
25636
25792
|
h && l(e2);
|
|
25637
25793
|
}, r[10] = h, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
25638
|
-
let
|
|
25639
|
-
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (
|
|
25794
|
+
let UU, WU;
|
|
25795
|
+
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (UU = () => {
|
|
25640
25796
|
h && !dequal(T, u) && l(T);
|
|
25641
|
-
},
|
|
25797
|
+
}, WU = () => {
|
|
25642
25798
|
h && !dequal(T, u) && l(T);
|
|
25643
|
-
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] =
|
|
25799
|
+
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = UU, r[19] = WU) : (UU = r[18], WU = r[19]);
|
|
25644
25800
|
let Z;
|
|
25645
|
-
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] !==
|
|
25801
|
+
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] !== UU || r[31] !== WU || r[32] !== b ? (Z = (0, import_jsx_runtime.jsx)(RangeSlider, {
|
|
25646
25802
|
id: S,
|
|
25647
25803
|
className: W,
|
|
25648
25804
|
value: T,
|
|
@@ -25653,36 +25809,36 @@ ${c}
|
|
|
25653
25809
|
disabled: y,
|
|
25654
25810
|
onValueChange: G,
|
|
25655
25811
|
onValueCommit: q,
|
|
25656
|
-
onPointerUp:
|
|
25657
|
-
onMouseUp:
|
|
25812
|
+
onPointerUp: UU,
|
|
25813
|
+
onMouseUp: WU,
|
|
25658
25814
|
valueMap: b
|
|
25659
|
-
}), 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] =
|
|
25660
|
-
let
|
|
25661
|
-
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (
|
|
25815
|
+
}), 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] = UU, r[31] = WU, r[32] = b, r[33] = Z) : Z = r[33];
|
|
25816
|
+
let GU;
|
|
25817
|
+
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (GU = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
25662
25818
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
25663
25819
|
children: `${prettyScientificNumber(b(T[0]), {
|
|
25664
25820
|
locale: w
|
|
25665
25821
|
})}, ${prettyScientificNumber(b(T[1]), {
|
|
25666
25822
|
locale: w
|
|
25667
25823
|
})}`
|
|
25668
|
-
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] =
|
|
25669
|
-
let
|
|
25670
|
-
r[39] !== Z || r[40] !==
|
|
25824
|
+
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] = GU) : GU = r[38];
|
|
25825
|
+
let KU;
|
|
25826
|
+
r[39] !== Z || r[40] !== GU || r[41] !== B ? (KU = (0, import_jsx_runtime.jsxs)("div", {
|
|
25671
25827
|
className: B,
|
|
25672
25828
|
children: [
|
|
25673
25829
|
Z,
|
|
25674
|
-
|
|
25830
|
+
GU
|
|
25675
25831
|
]
|
|
25676
|
-
}), r[39] = Z, r[40] =
|
|
25677
|
-
let
|
|
25678
|
-
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !==
|
|
25832
|
+
}), r[39] = Z, r[40] = GU, r[41] = B, r[42] = KU) : KU = r[42];
|
|
25833
|
+
let qU;
|
|
25834
|
+
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !== KU || r[47] !== M || r[48] !== L ? (qU = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
25679
25835
|
label: c,
|
|
25680
25836
|
id: S,
|
|
25681
25837
|
align: M,
|
|
25682
25838
|
className: L,
|
|
25683
25839
|
fullWidth: v,
|
|
25684
|
-
children:
|
|
25685
|
-
}), r[43] = v, r[44] = S, r[45] = c, r[46] =
|
|
25840
|
+
children: KU
|
|
25841
|
+
}), r[43] = v, r[44] = S, r[45] = c, r[46] = KU, r[47] = M, r[48] = L, r[49] = qU) : qU = r[49], qU;
|
|
25686
25842
|
}, import_timestring = __toESM(__commonJSMin(((e, r) => {
|
|
25687
25843
|
r.exports = u;
|
|
25688
25844
|
var c = {
|
|
@@ -25910,16 +26066,16 @@ ${c}
|
|
|
25910
26066
|
r[9] === E ? G = r[10] : (G = [
|
|
25911
26067
|
E
|
|
25912
26068
|
], r[9] = E, r[10] = G);
|
|
25913
|
-
let q,
|
|
26069
|
+
let q, UU;
|
|
25914
26070
|
r[11] !== h || r[12] !== l ? (q = (e2) => {
|
|
25915
26071
|
let [r2] = e2;
|
|
25916
26072
|
O(r2), h || l(r2);
|
|
25917
|
-
},
|
|
26073
|
+
}, UU = (e2) => {
|
|
25918
26074
|
let [r2] = e2;
|
|
25919
26075
|
h && l(r2);
|
|
25920
|
-
}, r[11] = h, r[12] = l, r[13] = q, r[14] =
|
|
25921
|
-
let
|
|
25922
|
-
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] !==
|
|
26076
|
+
}, r[11] = h, r[12] = l, r[13] = q, r[14] = UU) : (q = r[13], UU = r[14]);
|
|
26077
|
+
let WU;
|
|
26078
|
+
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] !== UU || r[24] !== W || r[25] !== y ? (WU = (0, import_jsx_runtime.jsx)(Slider, {
|
|
25923
26079
|
id: w,
|
|
25924
26080
|
className: W,
|
|
25925
26081
|
value: G,
|
|
@@ -25928,10 +26084,10 @@ ${c}
|
|
|
25928
26084
|
step: m,
|
|
25929
26085
|
orientation: g,
|
|
25930
26086
|
onValueChange: q,
|
|
25931
|
-
onValueCommit:
|
|
26087
|
+
onValueCommit: UU,
|
|
25932
26088
|
valueMap: y,
|
|
25933
26089
|
disabled: S
|
|
25934
|
-
}), 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] =
|
|
26090
|
+
}), 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] = UU, r[24] = W, r[25] = y, r[26] = WU) : WU = r[26];
|
|
25935
26091
|
let Z;
|
|
25936
26092
|
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (Z = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
25937
26093
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
@@ -25939,8 +26095,8 @@ ${c}
|
|
|
25939
26095
|
locale: T
|
|
25940
26096
|
})
|
|
25941
26097
|
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] = Z) : Z = r[31];
|
|
25942
|
-
let
|
|
25943
|
-
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 ? (
|
|
26098
|
+
let GU;
|
|
26099
|
+
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 ? (GU = b && (0, import_jsx_runtime.jsx)(NumberField, {
|
|
25944
26100
|
value: y(E),
|
|
25945
26101
|
onChange: (e2) => {
|
|
25946
26102
|
(e2 == null || Number.isNaN(e2)) && (e2 = Number(d)), O(e2), l(e2);
|
|
@@ -25951,25 +26107,25 @@ ${c}
|
|
|
25951
26107
|
className: "w-24",
|
|
25952
26108
|
"aria-label": `${c || "Slider"} value input`,
|
|
25953
26109
|
isDisabled: S
|
|
25954
|
-
}), 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] =
|
|
25955
|
-
let
|
|
25956
|
-
r[42] !==
|
|
26110
|
+
}), 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] = GU) : GU = r[41];
|
|
26111
|
+
let KU;
|
|
26112
|
+
r[42] !== WU || r[43] !== Z || r[44] !== GU || r[45] !== B ? (KU = (0, import_jsx_runtime.jsxs)("div", {
|
|
25957
26113
|
className: B,
|
|
25958
26114
|
children: [
|
|
25959
|
-
|
|
26115
|
+
WU,
|
|
25960
26116
|
Z,
|
|
25961
|
-
|
|
26117
|
+
GU
|
|
25962
26118
|
]
|
|
25963
|
-
}), r[42] =
|
|
25964
|
-
let
|
|
25965
|
-
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !==
|
|
26119
|
+
}), r[42] = WU, r[43] = Z, r[44] = GU, r[45] = B, r[46] = KU) : KU = r[46];
|
|
26120
|
+
let qU;
|
|
26121
|
+
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !== KU || r[51] !== I || r[52] !== R ? (qU = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
25966
26122
|
label: c,
|
|
25967
26123
|
id: w,
|
|
25968
26124
|
align: I,
|
|
25969
26125
|
fullWidth: v,
|
|
25970
26126
|
className: R,
|
|
25971
|
-
children:
|
|
25972
|
-
}), r[47] = v, r[48] = w, r[49] = c, r[50] =
|
|
26127
|
+
children: KU
|
|
26128
|
+
}), r[47] = v, r[48] = w, r[49] = c, r[50] = KU, r[51] = I, r[52] = R, r[53] = qU) : qU = r[53], qU;
|
|
25973
26129
|
}, 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", {
|
|
25974
26130
|
variants: {
|
|
25975
26131
|
size: {
|
|
@@ -26400,7 +26556,7 @@ ${c}
|
|
|
26400
26556
|
return true;
|
|
26401
26557
|
}
|
|
26402
26558
|
}
|
|
26403
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
26559
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-DJNmOdUj.js")), VegaPlugin = class {
|
|
26404
26560
|
constructor() {
|
|
26405
26561
|
__publicField(this, "tagName", "marimo-vega");
|
|
26406
26562
|
__publicField(this, "validator", object({
|
|
@@ -26540,7 +26696,7 @@ ${c}
|
|
|
26540
26696
|
children: e.children
|
|
26541
26697
|
});
|
|
26542
26698
|
}
|
|
26543
|
-
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-
|
|
26699
|
+
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-B2t5sN1q.js"));
|
|
26544
26700
|
const DownloadPlugin = createPlugin("marimo-download").withData(object({
|
|
26545
26701
|
data: string(),
|
|
26546
26702
|
disabled: boolean().default(false),
|
|
@@ -26596,7 +26752,7 @@ ${c}
|
|
|
26596
26752
|
m
|
|
26597
26753
|
]
|
|
26598
26754
|
});
|
|
26599
|
-
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-
|
|
26755
|
+
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-CHrI72em.js")), ImageComparisonPlugin = class {
|
|
26600
26756
|
constructor() {
|
|
26601
26757
|
__publicField(this, "tagName", "marimo-image-comparison");
|
|
26602
26758
|
__publicField(this, "validator", object({
|
|
@@ -26730,7 +26886,7 @@ ${c}
|
|
|
26730
26886
|
themeVariables: e.data.theme_variables
|
|
26731
26887
|
});
|
|
26732
26888
|
}
|
|
26733
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
26889
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-IU93XzmY.js").then(async (m) => {
|
|
26734
26890
|
await m.__tla;
|
|
26735
26891
|
return m;
|
|
26736
26892
|
})), import_compiler_runtime$20 = require_compiler_runtime();
|
|
@@ -28985,7 +29141,7 @@ ${c}
|
|
|
28985
29141
|
areRegExpsEqual: H,
|
|
28986
29142
|
areSetsEqual: W,
|
|
28987
29143
|
createIsNestedEqual: r2
|
|
28988
|
-
}),
|
|
29144
|
+
}), UU = Object.freeze({
|
|
28989
29145
|
areArraysEqual: O,
|
|
28990
29146
|
areDatesEqual: j,
|
|
28991
29147
|
areMapsEqual: I,
|
|
@@ -28993,40 +29149,40 @@ ${c}
|
|
|
28993
29149
|
areRegExpsEqual: H,
|
|
28994
29150
|
areSetsEqual: G,
|
|
28995
29151
|
createIsNestedEqual: r2
|
|
28996
|
-
}),
|
|
29152
|
+
}), WU = T(q);
|
|
28997
29153
|
function Z(e3, r3) {
|
|
28998
|
-
return
|
|
29154
|
+
return WU(e3, r3, void 0);
|
|
28999
29155
|
}
|
|
29000
|
-
var
|
|
29156
|
+
var GU = T(l(q, {
|
|
29001
29157
|
createIsNestedEqual: function() {
|
|
29002
29158
|
return f;
|
|
29003
29159
|
}
|
|
29004
29160
|
}));
|
|
29005
|
-
function
|
|
29006
|
-
return
|
|
29161
|
+
function KU(e3, r3) {
|
|
29162
|
+
return GU(e3, r3, void 0);
|
|
29007
29163
|
}
|
|
29008
|
-
var
|
|
29009
|
-
function
|
|
29010
|
-
return
|
|
29164
|
+
var qU = T(UU);
|
|
29165
|
+
function JU(e3, r3) {
|
|
29166
|
+
return qU(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
29011
29167
|
}
|
|
29012
|
-
var
|
|
29168
|
+
var YU = T(l(UU, {
|
|
29013
29169
|
createIsNestedEqual: function() {
|
|
29014
29170
|
return f;
|
|
29015
29171
|
}
|
|
29016
29172
|
}));
|
|
29017
|
-
function
|
|
29018
|
-
return
|
|
29173
|
+
function XU(e3, r3) {
|
|
29174
|
+
return YU(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
29019
29175
|
}
|
|
29020
|
-
function
|
|
29176
|
+
function ZU(e3) {
|
|
29021
29177
|
return T(l(q, e3(q)));
|
|
29022
29178
|
}
|
|
29023
|
-
function
|
|
29024
|
-
var r3 = T(l(
|
|
29179
|
+
function QU(e3) {
|
|
29180
|
+
var r3 = T(l(UU, e3(UU)));
|
|
29025
29181
|
return (function(e4, c2, l2) {
|
|
29026
29182
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
29027
29183
|
});
|
|
29028
29184
|
}
|
|
29029
|
-
e2.circularDeepEqual =
|
|
29185
|
+
e2.circularDeepEqual = JU, e2.circularShallowEqual = XU, e2.createCustomCircularEqual = QU, e2.createCustomEqual = ZU, e2.deepEqual = Z, e2.sameValueZeroEqual = f, e2.shallowEqual = KU, Object.defineProperty(e2, "__esModule", {
|
|
29030
29186
|
value: true
|
|
29031
29187
|
});
|
|
29032
29188
|
}));
|
|
@@ -29052,7 +29208,7 @@ ${c}
|
|
|
29052
29208
|
})), require_utils$1 = __commonJSMin(((e) => {
|
|
29053
29209
|
Object.defineProperty(e, "__esModule", {
|
|
29054
29210
|
value: true
|
|
29055
|
-
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType =
|
|
29211
|
+
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType = iW, 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 = XU, e.setTopLeft = QU, e.setTransform = ZU, e.sortLayoutItems = $U, e.sortLayoutItemsByColRow = tW, e.sortLayoutItemsByRowCol = eW, e.synchronizeLayoutWithChildren = nW, e.validateLayout = rW, e.withLayoutItem = v;
|
|
29056
29212
|
var r = require_fast_equals(), c = l(require_react());
|
|
29057
29213
|
function l(e2) {
|
|
29058
29214
|
return e2 && e2.__esModule ? e2 : {
|
|
@@ -29157,7 +29313,7 @@ ${c}
|
|
|
29157
29313
|
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);
|
|
29158
29314
|
}
|
|
29159
29315
|
function T(e2, r2, c2, l2) {
|
|
29160
|
-
let u2 = B(e2), d2 = h(u2), f2 =
|
|
29316
|
+
let u2 = B(e2), d2 = h(u2), f2 = $U(e2, r2), p2 = Array(e2.length);
|
|
29161
29317
|
for (let m2 = 0, h2 = f2.length; m2 < h2; m2++) {
|
|
29162
29318
|
let h3 = y(f2[m2]);
|
|
29163
29319
|
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;
|
|
@@ -29215,7 +29371,7 @@ ${c}
|
|
|
29215
29371
|
`${r2.i}${String(c2)}${String(l2)}${r2.x}${r2.y}`;
|
|
29216
29372
|
let h2 = r2.x, _2 = r2.y;
|
|
29217
29373
|
typeof c2 == "number" && (r2.x = c2), typeof l2 == "number" && (r2.y = l2), r2.moved = true;
|
|
29218
|
-
let v2 =
|
|
29374
|
+
let v2 = $U(e2, f2);
|
|
29219
29375
|
(f2 === "vertical" && typeof l2 == "number" ? _2 >= l2 : f2 === "horizontal" && typeof c2 == "number" && h2 >= c2) && (v2 = v2.reverse());
|
|
29220
29376
|
let y2 = z(v2, r2), b2 = y2.length > 0;
|
|
29221
29377
|
if (b2 && m2) return g(e2);
|
|
@@ -29249,61 +29405,61 @@ ${c}
|
|
|
29249
29405
|
function G(e2) {
|
|
29250
29406
|
return e2 * 100 + "%";
|
|
29251
29407
|
}
|
|
29252
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2,
|
|
29408
|
+
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, UU = (e2, r2, c2) => e2 < 0 ? r2 : c2, WU = (e2) => Math.max(0, e2), Z = (e2) => Math.max(0, e2), GU = (e2, r2, c2) => {
|
|
29253
29409
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
29254
29410
|
return {
|
|
29255
29411
|
left: l2,
|
|
29256
29412
|
width: d2,
|
|
29257
|
-
height:
|
|
29413
|
+
height: UU(f2, e2.height, u2),
|
|
29258
29414
|
top: Z(f2)
|
|
29259
29415
|
};
|
|
29260
|
-
},
|
|
29416
|
+
}, KU = (e2, r2, c2) => {
|
|
29261
29417
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
29262
29418
|
return {
|
|
29263
29419
|
top: l2,
|
|
29264
29420
|
height: d2,
|
|
29265
29421
|
width: q(e2.left, e2.width, f2, c2),
|
|
29266
|
-
left:
|
|
29422
|
+
left: WU(u2)
|
|
29267
29423
|
};
|
|
29268
|
-
},
|
|
29424
|
+
}, qU = (e2, r2, c2) => {
|
|
29269
29425
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
29270
29426
|
return {
|
|
29271
29427
|
height: u2,
|
|
29272
29428
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
29273
29429
|
top: Z(l2),
|
|
29274
|
-
left:
|
|
29430
|
+
left: WU(f2)
|
|
29275
29431
|
};
|
|
29276
|
-
},
|
|
29432
|
+
}, JU = (e2, r2, c2) => {
|
|
29277
29433
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
29278
29434
|
return {
|
|
29279
29435
|
width: f2,
|
|
29280
29436
|
left: u2,
|
|
29281
|
-
height:
|
|
29437
|
+
height: UU(l2, e2.height, d2),
|
|
29282
29438
|
top: Z(l2)
|
|
29283
29439
|
};
|
|
29284
|
-
},
|
|
29285
|
-
n:
|
|
29440
|
+
}, YU = {
|
|
29441
|
+
n: GU,
|
|
29286
29442
|
ne: function() {
|
|
29287
|
-
return
|
|
29443
|
+
return GU(arguments.length <= 0 ? void 0 : arguments[0], KU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29288
29444
|
},
|
|
29289
|
-
e:
|
|
29445
|
+
e: KU,
|
|
29290
29446
|
se: function() {
|
|
29291
|
-
return
|
|
29447
|
+
return JU(arguments.length <= 0 ? void 0 : arguments[0], KU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29292
29448
|
},
|
|
29293
|
-
s:
|
|
29449
|
+
s: JU,
|
|
29294
29450
|
sw: function() {
|
|
29295
|
-
return
|
|
29451
|
+
return JU(arguments.length <= 0 ? void 0 : arguments[0], qU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29296
29452
|
},
|
|
29297
|
-
w:
|
|
29453
|
+
w: qU,
|
|
29298
29454
|
nw: function() {
|
|
29299
|
-
return
|
|
29455
|
+
return GU(arguments.length <= 0 ? void 0 : arguments[0], qU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29300
29456
|
}
|
|
29301
29457
|
};
|
|
29302
|
-
function
|
|
29303
|
-
let u2 =
|
|
29458
|
+
function XU(e2, r2, c2, l2) {
|
|
29459
|
+
let u2 = YU[e2];
|
|
29304
29460
|
return u2 ? u2(r2, d(d({}, r2), c2), l2) : c2;
|
|
29305
29461
|
}
|
|
29306
|
-
function
|
|
29462
|
+
function ZU(e2) {
|
|
29307
29463
|
let { top: r2, left: c2, width: l2, height: u2 } = e2, d2 = `translate(${c2}px,${r2}px)`;
|
|
29308
29464
|
return {
|
|
29309
29465
|
transform: d2,
|
|
@@ -29316,7 +29472,7 @@ ${c}
|
|
|
29316
29472
|
position: "absolute"
|
|
29317
29473
|
};
|
|
29318
29474
|
}
|
|
29319
|
-
function
|
|
29475
|
+
function QU(e2) {
|
|
29320
29476
|
let { top: r2, left: c2, width: l2, height: u2 } = e2;
|
|
29321
29477
|
return {
|
|
29322
29478
|
top: `${r2}px`,
|
|
@@ -29326,20 +29482,20 @@ ${c}
|
|
|
29326
29482
|
position: "absolute"
|
|
29327
29483
|
};
|
|
29328
29484
|
}
|
|
29329
|
-
function
|
|
29330
|
-
return r2 === "horizontal" ?
|
|
29485
|
+
function $U(e2, r2) {
|
|
29486
|
+
return r2 === "horizontal" ? tW(e2) : r2 === "vertical" ? eW(e2) : e2;
|
|
29331
29487
|
}
|
|
29332
|
-
function
|
|
29488
|
+
function eW(e2) {
|
|
29333
29489
|
return e2.slice(0).sort(function(e3, r2) {
|
|
29334
29490
|
return e3.y > r2.y || e3.y === r2.y && e3.x > r2.x ? 1 : e3.y === r2.y && e3.x === r2.x ? 0 : -1;
|
|
29335
29491
|
});
|
|
29336
29492
|
}
|
|
29337
|
-
function
|
|
29493
|
+
function tW(e2) {
|
|
29338
29494
|
return e2.slice(0).sort(function(e3, r2) {
|
|
29339
29495
|
return e3.x > r2.x || e3.x === r2.x && e3.y > r2.y ? 1 : -1;
|
|
29340
29496
|
});
|
|
29341
29497
|
}
|
|
29342
|
-
function
|
|
29498
|
+
function nW(e2, r2, l2, u2, f2) {
|
|
29343
29499
|
e2 || (e2 = []);
|
|
29344
29500
|
let p2 = [];
|
|
29345
29501
|
c.default.Children.forEach(r2, (r3) => {
|
|
@@ -29360,7 +29516,7 @@ ${c}
|
|
|
29360
29516
|
});
|
|
29361
29517
|
return f2 ? m2 : T(m2, u2, l2);
|
|
29362
29518
|
}
|
|
29363
|
-
function
|
|
29519
|
+
function rW(e2) {
|
|
29364
29520
|
let r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Layout", c2 = [
|
|
29365
29521
|
"x",
|
|
29366
29522
|
"y",
|
|
@@ -29377,7 +29533,7 @@ ${c}
|
|
|
29377
29533
|
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})`);
|
|
29378
29534
|
}
|
|
29379
29535
|
}
|
|
29380
|
-
function
|
|
29536
|
+
function iW(e2) {
|
|
29381
29537
|
let { verticalCompact: r2, compactType: c2 } = e2 || {};
|
|
29382
29538
|
return r2 === false ? null : c2;
|
|
29383
29539
|
}
|
|
@@ -32182,7 +32338,7 @@ ${c}
|
|
|
32182
32338
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
32183
32339
|
let E = useIsDragging(), O, j;
|
|
32184
32340
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
32185
|
-
let M = !f && !v, I, L, R, z, B, H, W, G, q,
|
|
32341
|
+
let M = !f && !v, I, L, R, z, B, H, W, G, q, UU, WU, Z, GU, KU, qU, JU, YU, XU, ZU, QU, $U, eW, tW, nW, rW, iW;
|
|
32186
32342
|
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) {
|
|
32187
32343
|
let e2 = Maps.keyBy(c.cells, _temp2$2), m2;
|
|
32188
32344
|
r[47] !== c || r[48] !== l ? (m2 = (e3) => (r2) => {
|
|
@@ -32201,23 +32357,23 @@ ${c}
|
|
|
32201
32357
|
});
|
|
32202
32358
|
}, r[50] = c, r[51] = l, r[52] = v2) : v2 = r[52];
|
|
32203
32359
|
let y2 = v2;
|
|
32204
|
-
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,
|
|
32360
|
+
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, tW = "lg", r[58] === c.cells ? nW = r[59] : (nW = {
|
|
32205
32361
|
lg: c.cells
|
|
32206
|
-
}, r[58] = c.cells, r[59] =
|
|
32362
|
+
}, r[58] = c.cells, r[59] = nW), rW = L, iW = S, R = false;
|
|
32207
32363
|
let b2 = M && "bg-(--slate-2) border-r", w2 = f && "disable-animation", T2 = !c.maxWidth && "min-w-[800px]";
|
|
32208
32364
|
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 ? [
|
|
32209
32365
|
20,
|
|
32210
32366
|
20
|
|
32211
|
-
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true,
|
|
32367
|
+
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, UU = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (WU = (e3) => {
|
|
32212
32368
|
f || l({
|
|
32213
32369
|
...c,
|
|
32214
32370
|
cells: e3
|
|
32215
32371
|
});
|
|
32216
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
32372
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = WU) : WU = r[69], r[70] === g ? Z = r[71] : (Z = g ? {
|
|
32217
32373
|
i: g.i,
|
|
32218
32374
|
w: g.w || 2,
|
|
32219
32375
|
h: g.h || 2
|
|
32220
|
-
} : void 0, r[70] = g, r[71] = Z), r[72] !== O || r[73] !== c || r[74] !== l ? (
|
|
32376
|
+
} : void 0, r[70] = g, r[71] = Z), r[72] !== O || r[73] !== c || r[74] !== l ? (GU = (e3, r2, u2) => {
|
|
32221
32377
|
O.onDragStop(), r2 && l({
|
|
32222
32378
|
...c,
|
|
32223
32379
|
cells: [
|
|
@@ -32225,15 +32381,15 @@ ${c}
|
|
|
32225
32381
|
r2
|
|
32226
32382
|
]
|
|
32227
32383
|
});
|
|
32228
|
-
}, r[72] = O, r[73] = c, r[74] = l, r[75] =
|
|
32384
|
+
}, r[72] = O, r[73] = c, r[74] = l, r[75] = GU) : GU = r[75], r[76] === O ? (KU = r[77], qU = r[78], JU = r[79]) : (KU = (e3, r2, c2, l2, u2) => {
|
|
32229
32385
|
O.onDragStart(u2);
|
|
32230
|
-
},
|
|
32386
|
+
}, qU = (e3, r2, c2, l2, u2) => {
|
|
32231
32387
|
O.onDragMove(u2);
|
|
32232
|
-
},
|
|
32388
|
+
}, JU = () => {
|
|
32233
32389
|
O.onDragStop();
|
|
32234
|
-
}, r[76] = O, r[77] =
|
|
32390
|
+
}, r[76] = O, r[77] = KU, r[78] = qU, r[79] = JU), YU = _temp3$2, XU = M, ZU = M, QU = M, $U = M ? `.${DRAG_HANDLE}` : "noop";
|
|
32235
32391
|
let E2;
|
|
32236
|
-
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2),
|
|
32392
|
+
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2), eW = u.filter(E2).map((r2) => {
|
|
32237
32393
|
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, {
|
|
32238
32394
|
code: r2.code,
|
|
32239
32395
|
mode: d,
|
|
@@ -32262,14 +32418,14 @@ ${c}
|
|
|
32262
32418
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
32263
32419
|
children: m3
|
|
32264
32420
|
}, r2.id);
|
|
32265
|
-
}), 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] =
|
|
32266
|
-
} 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],
|
|
32267
|
-
let
|
|
32268
|
-
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] !==
|
|
32269
|
-
breakpoint:
|
|
32270
|
-
layouts:
|
|
32271
|
-
style:
|
|
32272
|
-
cols:
|
|
32421
|
+
}), 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] = UU, r[31] = WU, r[32] = Z, r[33] = GU, r[34] = KU, r[35] = qU, r[36] = JU, r[37] = YU, r[38] = XU, r[39] = ZU, r[40] = QU, r[41] = $U, r[42] = eW, r[43] = tW, r[44] = nW, r[45] = rW, r[46] = iW;
|
|
32422
|
+
} 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], UU = r[30], WU = r[31], Z = r[32], GU = r[33], KU = r[34], qU = r[35], JU = r[36], YU = r[37], XU = r[38], ZU = r[39], QU = r[40], $U = r[41], eW = r[42], tW = r[43], nW = r[44], rW = r[45], iW = r[46];
|
|
32423
|
+
let aW;
|
|
32424
|
+
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] !== UU || r[91] !== WU || r[92] !== Z || r[93] !== GU || r[94] !== KU || r[95] !== qU || r[96] !== JU || r[97] !== YU || r[98] !== XU || r[99] !== ZU || r[100] !== QU || r[101] !== $U || r[102] !== eW || r[103] !== tW || r[104] !== nW || r[105] !== rW || r[106] !== iW ? (aW = (0, import_jsx_runtime.jsx)(I, {
|
|
32425
|
+
breakpoint: tW,
|
|
32426
|
+
layouts: nW,
|
|
32427
|
+
style: rW,
|
|
32428
|
+
cols: iW,
|
|
32273
32429
|
allowOverlap: R,
|
|
32274
32430
|
className: z,
|
|
32275
32431
|
containerPadding: B,
|
|
@@ -32277,23 +32433,23 @@ ${c}
|
|
|
32277
32433
|
isBounded: W,
|
|
32278
32434
|
compactType: G,
|
|
32279
32435
|
preventCollision: q,
|
|
32280
|
-
rowHeight:
|
|
32281
|
-
onLayoutChange:
|
|
32436
|
+
rowHeight: UU,
|
|
32437
|
+
onLayoutChange: WU,
|
|
32282
32438
|
droppingItem: Z,
|
|
32283
|
-
onDrop:
|
|
32284
|
-
onDragStart:
|
|
32285
|
-
onDrag:
|
|
32286
|
-
onDragStop:
|
|
32287
|
-
onResizeStop:
|
|
32288
|
-
isDraggable:
|
|
32289
|
-
isDroppable:
|
|
32290
|
-
isResizable:
|
|
32291
|
-
draggableHandle:
|
|
32292
|
-
children:
|
|
32293
|
-
}), 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] =
|
|
32294
|
-
let
|
|
32295
|
-
if (r[108] !== u || r[109] !==
|
|
32296
|
-
|
|
32439
|
+
onDrop: GU,
|
|
32440
|
+
onDragStart: KU,
|
|
32441
|
+
onDrag: qU,
|
|
32442
|
+
onDragStop: JU,
|
|
32443
|
+
onResizeStop: YU,
|
|
32444
|
+
isDraggable: XU,
|
|
32445
|
+
isDroppable: ZU,
|
|
32446
|
+
isResizable: QU,
|
|
32447
|
+
draggableHandle: $U,
|
|
32448
|
+
children: eW
|
|
32449
|
+
}), 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] = UU, r[91] = WU, r[92] = Z, r[93] = GU, r[94] = KU, r[95] = qU, r[96] = JU, r[97] = YU, r[98] = XU, r[99] = ZU, r[100] = QU, r[101] = $U, r[102] = eW, r[103] = tW, r[104] = nW, r[105] = rW, r[106] = iW, r[107] = aW) : aW = r[107];
|
|
32450
|
+
let oW = aW, sW, cW, lW, uW, dW, fW, pW;
|
|
32451
|
+
if (r[108] !== u || r[109] !== oW || r[110] !== h || r[111] !== v || r[112] !== f || r[113] !== c || r[114] !== d || r[115] !== l || r[116] !== L) {
|
|
32452
|
+
pW = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
32297
32453
|
bb0: {
|
|
32298
32454
|
let e2;
|
|
32299
32455
|
r[125] === h ? e2 = r[126] : (e2 = (e3) => !h.has(e3.id), r[125] = h, r[126] = e2);
|
|
@@ -32301,14 +32457,14 @@ ${c}
|
|
|
32301
32457
|
if (f) {
|
|
32302
32458
|
if (c.bordered) {
|
|
32303
32459
|
let e4;
|
|
32304
|
-
r[127] !==
|
|
32460
|
+
r[127] !== oW || r[128] !== L ? (e4 = (0, import_jsx_runtime.jsx)("div", {
|
|
32305
32461
|
className: "flex flex-1 flex-col items-center",
|
|
32306
32462
|
children: (0, import_jsx_runtime.jsx)("div", {
|
|
32307
32463
|
style: L,
|
|
32308
32464
|
className: "bg-background flex-1 border-t border-x rounded-t shadow-sm w-full overflow-hidden",
|
|
32309
|
-
children:
|
|
32465
|
+
children: oW
|
|
32310
32466
|
})
|
|
32311
|
-
}), r[127] =
|
|
32467
|
+
}), r[127] = oW, r[128] = L, r[129] = e4) : e4 = r[129], oW = e4;
|
|
32312
32468
|
}
|
|
32313
32469
|
let e3 = m2.filter(_temp4$2), l2;
|
|
32314
32470
|
r[130] === d ? l2 = r[131] : (l2 = (e4) => (0, import_jsx_runtime.jsx)(GridCell, {
|
|
@@ -32319,9 +32475,9 @@ ${c}
|
|
|
32319
32475
|
status: e4.status,
|
|
32320
32476
|
isScrollable: false,
|
|
32321
32477
|
hidden: false
|
|
32322
|
-
}, e4.id), r[130] = d, r[131] = l2),
|
|
32478
|
+
}, e4.id), r[130] = d, r[131] = l2), pW = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32323
32479
|
children: [
|
|
32324
|
-
|
|
32480
|
+
oW,
|
|
32325
32481
|
(0, import_jsx_runtime.jsx)("div", {
|
|
32326
32482
|
className: "hidden",
|
|
32327
32483
|
children: e3.map(l2)
|
|
@@ -32332,31 +32488,31 @@ ${c}
|
|
|
32332
32488
|
}
|
|
32333
32489
|
if (c.bordered) {
|
|
32334
32490
|
let e3;
|
|
32335
|
-
r[132] ===
|
|
32491
|
+
r[132] === oW ? e3 = r[133] : (e3 = (0, import_jsx_runtime.jsx)("div", {
|
|
32336
32492
|
className: "h-full overflow-auto",
|
|
32337
|
-
children:
|
|
32338
|
-
}), r[132] =
|
|
32493
|
+
children: oW
|
|
32494
|
+
}), r[132] = oW, r[133] = e3);
|
|
32339
32495
|
let c2;
|
|
32340
32496
|
r[134] !== L || r[135] !== e3 ? (c2 = (0, import_jsx_runtime.jsx)("div", {
|
|
32341
32497
|
style: L,
|
|
32342
32498
|
className: "bg-background border-t border-x rounded-t shadow-sm w-full mx-auto mt-4 h-[calc(100%-1rem)] overflow-hidden",
|
|
32343
32499
|
children: e3
|
|
32344
|
-
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136],
|
|
32500
|
+
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136], oW = c2;
|
|
32345
32501
|
}
|
|
32346
|
-
r[137] !== v || r[138] !== c || r[139] !== l ? (
|
|
32502
|
+
r[137] !== v || r[138] !== c || r[139] !== l ? (fW = (0, import_jsx_runtime.jsx)(GridControls, {
|
|
32347
32503
|
layout: c,
|
|
32348
32504
|
setLayout: l,
|
|
32349
32505
|
isLocked: v,
|
|
32350
32506
|
setIsLocked: y
|
|
32351
|
-
}), r[137] = v, r[138] = c, r[139] = l, r[140] =
|
|
32507
|
+
}), r[137] = v, r[138] = c, r[139] = l, r[140] = fW) : fW = r[140];
|
|
32352
32508
|
let g2;
|
|
32353
|
-
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32509
|
+
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uW = cn("relative flex z-10 flex-1 overflow-hidden"), g2 = cn("grow overflow-auto transparent-when-disconnected"), r[141] = uW, r[142] = g2) : (uW = r[141], g2 = r[142]), r[143] === oW ? dW = r[144] : (dW = (0, import_jsx_runtime.jsx)("div", {
|
|
32354
32510
|
className: g2,
|
|
32355
|
-
children:
|
|
32356
|
-
}), r[143] =
|
|
32511
|
+
children: oW
|
|
32512
|
+
}), r[143] = oW, r[144] = dW), sW = "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") ? (cW = (0, import_jsx_runtime.jsx)("div", {
|
|
32357
32513
|
className: "text font-bold text-(--slate-20) shrink-0",
|
|
32358
32514
|
children: "Outputs"
|
|
32359
|
-
}), r[145] =
|
|
32515
|
+
}), r[145] = cW) : cW = r[145];
|
|
32360
32516
|
let b2;
|
|
32361
32517
|
r[146] !== c.columns || r[147] !== c.rowHeight || r[148] !== d ? (b2 = (e3) => (0, import_jsx_runtime.jsx)("div", {
|
|
32362
32518
|
draggable: true,
|
|
@@ -32381,34 +32537,34 @@ ${c}
|
|
|
32381
32537
|
status: e3.status,
|
|
32382
32538
|
hidden: false
|
|
32383
32539
|
})
|
|
32384
|
-
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149],
|
|
32540
|
+
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149], lW = m2.map(b2);
|
|
32385
32541
|
}
|
|
32386
|
-
r[108] = u, r[109] =
|
|
32387
|
-
} else
|
|
32388
|
-
if (
|
|
32389
|
-
let
|
|
32390
|
-
r[150] !==
|
|
32391
|
-
className:
|
|
32542
|
+
r[108] = u, r[109] = oW, r[110] = h, r[111] = v, r[112] = f, r[113] = c, r[114] = d, r[115] = l, r[116] = L, r[117] = sW, r[118] = cW, r[119] = lW, r[120] = uW, r[121] = dW, r[122] = fW, r[123] = pW, r[124] = oW;
|
|
32543
|
+
} else sW = r[117], cW = r[118], lW = r[119], uW = r[120], dW = r[121], fW = r[122], pW = r[123], oW = r[124];
|
|
32544
|
+
if (pW !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return pW;
|
|
32545
|
+
let mW;
|
|
32546
|
+
r[150] !== sW || r[151] !== cW || r[152] !== lW ? (mW = (0, import_jsx_runtime.jsxs)("div", {
|
|
32547
|
+
className: sW,
|
|
32392
32548
|
children: [
|
|
32393
|
-
|
|
32394
|
-
|
|
32549
|
+
cW,
|
|
32550
|
+
lW
|
|
32395
32551
|
]
|
|
32396
|
-
}), r[150] =
|
|
32397
|
-
let
|
|
32398
|
-
r[154] !==
|
|
32399
|
-
className:
|
|
32552
|
+
}), r[150] = sW, r[151] = cW, r[152] = lW, r[153] = mW) : mW = r[153];
|
|
32553
|
+
let hW;
|
|
32554
|
+
r[154] !== uW || r[155] !== dW || r[156] !== mW ? (hW = (0, import_jsx_runtime.jsxs)("div", {
|
|
32555
|
+
className: uW,
|
|
32400
32556
|
children: [
|
|
32401
|
-
|
|
32402
|
-
|
|
32557
|
+
dW,
|
|
32558
|
+
mW
|
|
32403
32559
|
]
|
|
32404
|
-
}), r[154] =
|
|
32405
|
-
let
|
|
32406
|
-
return r[158] !==
|
|
32560
|
+
}), r[154] = uW, r[155] = dW, r[156] = mW, r[157] = hW) : hW = r[157];
|
|
32561
|
+
let gW;
|
|
32562
|
+
return r[158] !== fW || r[159] !== hW ? (gW = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32407
32563
|
children: [
|
|
32408
|
-
|
|
32409
|
-
|
|
32564
|
+
fW,
|
|
32565
|
+
hW
|
|
32410
32566
|
]
|
|
32411
|
-
}), r[158] =
|
|
32567
|
+
}), r[158] = fW, r[159] = hW, r[160] = gW) : gW = r[160], gW;
|
|
32412
32568
|
};
|
|
32413
32569
|
var GridCell = (0, import_react.memo)((e) => {
|
|
32414
32570
|
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;
|
|
@@ -32709,25 +32865,25 @@ ${c}
|
|
|
32709
32865
|
G
|
|
32710
32866
|
]
|
|
32711
32867
|
}), r[31] = L, r[32] = R, r[33] = G, r[34] = q) : q = r[34];
|
|
32712
|
-
let
|
|
32713
|
-
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32868
|
+
let UU;
|
|
32869
|
+
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UU = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
32714
32870
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
32715
|
-
}), r[35] =
|
|
32716
|
-
let
|
|
32717
|
-
r[36] === l ?
|
|
32871
|
+
}), r[35] = UU) : UU = r[35];
|
|
32872
|
+
let WU;
|
|
32873
|
+
r[36] === l ? WU = r[37] : (WU = (0, import_jsx_runtime.jsx)(X, {
|
|
32718
32874
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
32719
32875
|
onClick: () => l()
|
|
32720
|
-
}), r[36] = l, r[37] =
|
|
32876
|
+
}), r[36] = l, r[37] = WU);
|
|
32721
32877
|
let Z;
|
|
32722
|
-
return r[38] !== I || r[39] !== q || r[40] !==
|
|
32878
|
+
return r[38] !== I || r[39] !== q || r[40] !== WU || r[41] !== w ? (Z = (0, import_jsx_runtime.jsxs)("div", {
|
|
32723
32879
|
className: w,
|
|
32724
32880
|
children: [
|
|
32725
32881
|
I,
|
|
32726
32882
|
q,
|
|
32727
|
-
|
|
32728
|
-
|
|
32883
|
+
UU,
|
|
32884
|
+
WU
|
|
32729
32885
|
]
|
|
32730
|
-
}), r[38] = I, r[39] = q, r[40] =
|
|
32886
|
+
}), r[38] = I, r[39] = q, r[40] = WU, r[41] = w, r[42] = Z) : Z = r[42], Z;
|
|
32731
32887
|
};
|
|
32732
32888
|
function isSidebarCell(e) {
|
|
32733
32889
|
var _a3;
|
|
@@ -34669,28 +34825,28 @@ ${c}
|
|
|
34669
34825
|
}, [
|
|
34670
34826
|
T,
|
|
34671
34827
|
M
|
|
34672
|
-
]), 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),
|
|
34828
|
+
]), 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), UU = (0, import_react.useMemo)(() => j.getEnabled(), [
|
|
34673
34829
|
j
|
|
34674
|
-
]),
|
|
34830
|
+
]), WU = useMeasuringConfiguration(p), { droppableRects: Z, measureDroppableContainers: GU, measuringScheduled: KU } = useDroppableMeasuring(UU, {
|
|
34675
34831
|
dragging: w,
|
|
34676
34832
|
dependencies: [
|
|
34677
34833
|
O.x,
|
|
34678
34834
|
O.y
|
|
34679
34835
|
],
|
|
34680
|
-
config:
|
|
34681
|
-
}),
|
|
34836
|
+
config: WU.droppable
|
|
34837
|
+
}), qU = useCachedNode(E, T), JU = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
34682
34838
|
H
|
|
34683
|
-
]),
|
|
34839
|
+
]), YU = EW(), XU = useInitialRect(qU, WU.draggable.measure);
|
|
34684
34840
|
useLayoutShiftScrollCompensation({
|
|
34685
34841
|
activeNode: T == null ? null : E.get(T),
|
|
34686
|
-
config:
|
|
34687
|
-
initialRect:
|
|
34688
|
-
measure:
|
|
34842
|
+
config: YU.layoutShiftCompensation,
|
|
34843
|
+
initialRect: XU,
|
|
34844
|
+
measure: WU.draggable.measure
|
|
34689
34845
|
});
|
|
34690
|
-
let
|
|
34846
|
+
let ZU = useRect(qU, WU.draggable.measure, XU), QU = useRect(qU ? qU.parentElement : null), $U = (0, import_react.useRef)({
|
|
34691
34847
|
activatorEvent: null,
|
|
34692
34848
|
active: null,
|
|
34693
|
-
activeNode:
|
|
34849
|
+
activeNode: qU,
|
|
34694
34850
|
collisionRect: null,
|
|
34695
34851
|
collisions: null,
|
|
34696
34852
|
droppableRects: Z,
|
|
@@ -34701,45 +34857,45 @@ ${c}
|
|
|
34701
34857
|
over: null,
|
|
34702
34858
|
scrollableAncestors: [],
|
|
34703
34859
|
scrollAdjustedTranslate: null
|
|
34704
|
-
}),
|
|
34705
|
-
measure:
|
|
34706
|
-
}),
|
|
34860
|
+
}), eW = j.getNodeFor((_a3 = $U.current.over) == null ? void 0 : _a3.id), tW = useDragOverlayMeasuring({
|
|
34861
|
+
measure: WU.dragOverlay.measure
|
|
34862
|
+
}), nW = tW.nodeRef.current ?? qU, rW = w ? tW.rect ?? ZU : null, iW = !!(tW.nodeRef.current && tW.rect), aW = useRectDelta(iW ? null : ZU), oW = useWindowRect(nW ? getWindow(nW) : null), sW = useScrollableAncestors(w ? eW ?? qU : null), cW = useRects(sW), lW = applyModifiers(m, {
|
|
34707
34863
|
transform: {
|
|
34708
|
-
x: O.x -
|
|
34709
|
-
y: O.y -
|
|
34864
|
+
x: O.x - aW.x,
|
|
34865
|
+
y: O.y - aW.y,
|
|
34710
34866
|
scaleX: 1,
|
|
34711
34867
|
scaleY: 1
|
|
34712
34868
|
},
|
|
34713
34869
|
activatorEvent: H,
|
|
34714
34870
|
active: L,
|
|
34715
|
-
activeNodeRect:
|
|
34716
|
-
containerNodeRect:
|
|
34717
|
-
draggingNodeRect:
|
|
34718
|
-
over:
|
|
34719
|
-
overlayNodeRect:
|
|
34720
|
-
scrollableAncestors:
|
|
34721
|
-
scrollableAncestorRects:
|
|
34722
|
-
windowRect:
|
|
34723
|
-
}),
|
|
34724
|
-
|
|
34725
|
-
]),
|
|
34871
|
+
activeNodeRect: ZU,
|
|
34872
|
+
containerNodeRect: QU,
|
|
34873
|
+
draggingNodeRect: rW,
|
|
34874
|
+
over: $U.current.over,
|
|
34875
|
+
overlayNodeRect: tW.rect,
|
|
34876
|
+
scrollableAncestors: sW,
|
|
34877
|
+
scrollableAncestorRects: cW,
|
|
34878
|
+
windowRect: oW
|
|
34879
|
+
}), uW = JU ? add(JU, O) : null, dW = useScrollOffsets(sW), fW = useScrollOffsetsDelta(dW), pW = useScrollOffsetsDelta(dW, [
|
|
34880
|
+
ZU
|
|
34881
|
+
]), mW = add(lW, fW), hW = rW ? getAdjustedRect(rW, lW) : null, gW = L && hW ? f({
|
|
34726
34882
|
active: L,
|
|
34727
|
-
collisionRect:
|
|
34883
|
+
collisionRect: hW,
|
|
34728
34884
|
droppableRects: Z,
|
|
34729
|
-
droppableContainers:
|
|
34730
|
-
pointerCoordinates:
|
|
34731
|
-
}) : null,
|
|
34885
|
+
droppableContainers: UU,
|
|
34886
|
+
pointerCoordinates: uW
|
|
34887
|
+
}) : null, _W = getFirstCollision(gW, "id"), [vW, yW] = (0, import_react.useState)(null), bW = adjustScale(iW ? lW : add(lW, pW), (vW == null ? void 0 : vW.rect) ?? null, ZU), xW = (0, import_react.useRef)(null), SW = (0, import_react.useCallback)((e2, r2) => {
|
|
34732
34888
|
let { sensor: c2, options: l2 } = r2;
|
|
34733
34889
|
if (R.current == null) return;
|
|
34734
34890
|
let u2 = E.get(R.current);
|
|
34735
34891
|
if (!u2) return;
|
|
34736
34892
|
let d2 = e2.nativeEvent;
|
|
34737
|
-
|
|
34893
|
+
xW.current = new c2({
|
|
34738
34894
|
active: R.current,
|
|
34739
34895
|
activeNode: u2,
|
|
34740
34896
|
event: d2,
|
|
34741
34897
|
options: l2,
|
|
34742
|
-
context:
|
|
34898
|
+
context: $U,
|
|
34743
34899
|
onAbort(e3) {
|
|
34744
34900
|
if (!E.get(e3)) return;
|
|
34745
34901
|
let { onDragAbort: r3 } = G.current, c3 = {
|
|
@@ -34784,7 +34940,7 @@ ${c}
|
|
|
34784
34940
|
}), v({
|
|
34785
34941
|
type: "onDragStart",
|
|
34786
34942
|
event: u3
|
|
34787
|
-
}), B(
|
|
34943
|
+
}), B(xW.current), W(d2);
|
|
34788
34944
|
});
|
|
34789
34945
|
},
|
|
34790
34946
|
onMove(e3) {
|
|
@@ -34798,7 +34954,7 @@ ${c}
|
|
|
34798
34954
|
});
|
|
34799
34955
|
function f2(e3) {
|
|
34800
34956
|
return async function() {
|
|
34801
|
-
let { active: r3, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } =
|
|
34957
|
+
let { active: r3, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } = $U.current, f3 = null;
|
|
34802
34958
|
if (r3 && u3) {
|
|
34803
34959
|
let { cancelDrop: p2 } = G.current;
|
|
34804
34960
|
f3 = {
|
|
@@ -34812,7 +34968,7 @@ ${c}
|
|
|
34812
34968
|
R.current = null, (0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
34813
34969
|
_({
|
|
34814
34970
|
type: e3
|
|
34815
|
-
}), S(Status.Uninitialized),
|
|
34971
|
+
}), S(Status.Uninitialized), yW(null), B(null), W(null), xW.current = null;
|
|
34816
34972
|
let r4 = e3 === Action.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
34817
34973
|
if (f3) {
|
|
34818
34974
|
let e4 = G.current[r4];
|
|
@@ -34826,7 +34982,7 @@ ${c}
|
|
|
34826
34982
|
}
|
|
34827
34983
|
}, [
|
|
34828
34984
|
E
|
|
34829
|
-
]),
|
|
34985
|
+
]), CW = useCombineActivators(d, (0, import_react.useCallback)((e2, r2) => (c2, l2) => {
|
|
34830
34986
|
let u2 = c2.nativeEvent, d2 = E.get(l2);
|
|
34831
34987
|
if (R.current !== null || !d2 || u2.dndKit || u2.defaultPrevented) return;
|
|
34832
34988
|
let f2 = {
|
|
@@ -34834,26 +34990,26 @@ ${c}
|
|
|
34834
34990
|
};
|
|
34835
34991
|
e2(c2, r2.options, f2) === true && (u2.dndKit = {
|
|
34836
34992
|
capturedBy: r2.sensor
|
|
34837
|
-
}, R.current = l2,
|
|
34993
|
+
}, R.current = l2, SW(c2, r2));
|
|
34838
34994
|
}, [
|
|
34839
34995
|
E,
|
|
34840
|
-
|
|
34996
|
+
SW
|
|
34841
34997
|
]));
|
|
34842
34998
|
useSensorSetup(d), useIsomorphicLayoutEffect(() => {
|
|
34843
|
-
|
|
34999
|
+
ZU && b === Status.Initializing && S(Status.Initialized);
|
|
34844
35000
|
}, [
|
|
34845
|
-
|
|
35001
|
+
ZU,
|
|
34846
35002
|
b
|
|
34847
35003
|
]), (0, import_react.useEffect)(() => {
|
|
34848
|
-
let { onDragMove: e2 } = G.current, { active: r2, activatorEvent: c2, collisions: l2, over: u2 } =
|
|
35004
|
+
let { onDragMove: e2 } = G.current, { active: r2, activatorEvent: c2, collisions: l2, over: u2 } = $U.current;
|
|
34849
35005
|
if (!r2 || !c2) return;
|
|
34850
35006
|
let d2 = {
|
|
34851
35007
|
active: r2,
|
|
34852
35008
|
activatorEvent: c2,
|
|
34853
35009
|
collisions: l2,
|
|
34854
35010
|
delta: {
|
|
34855
|
-
x:
|
|
34856
|
-
y:
|
|
35011
|
+
x: mW.x,
|
|
35012
|
+
y: mW.y
|
|
34857
35013
|
},
|
|
34858
35014
|
over: u2
|
|
34859
35015
|
};
|
|
@@ -34864,12 +35020,12 @@ ${c}
|
|
|
34864
35020
|
});
|
|
34865
35021
|
});
|
|
34866
35022
|
}, [
|
|
34867
|
-
|
|
34868
|
-
|
|
35023
|
+
mW.x,
|
|
35024
|
+
mW.y
|
|
34869
35025
|
]), (0, import_react.useEffect)(() => {
|
|
34870
|
-
let { active: e2, activatorEvent: r2, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } =
|
|
35026
|
+
let { active: e2, activatorEvent: r2, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } = $U.current;
|
|
34871
35027
|
if (!e2 || R.current == null || !r2 || !u2) return;
|
|
34872
|
-
let { onDragOver: d2 } = G.current, f2 = l2.get(
|
|
35028
|
+
let { onDragOver: d2 } = G.current, f2 = l2.get(_W), p2 = f2 && f2.rect.current ? {
|
|
34873
35029
|
id: f2.id,
|
|
34874
35030
|
rect: f2.rect.current,
|
|
34875
35031
|
data: f2.data,
|
|
@@ -34885,127 +35041,127 @@ ${c}
|
|
|
34885
35041
|
over: p2
|
|
34886
35042
|
};
|
|
34887
35043
|
(0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
34888
|
-
|
|
35044
|
+
yW(p2), d2 == null ? void 0 : d2(m2), v({
|
|
34889
35045
|
type: "onDragOver",
|
|
34890
35046
|
event: m2
|
|
34891
35047
|
});
|
|
34892
35048
|
});
|
|
34893
35049
|
}, [
|
|
34894
|
-
|
|
35050
|
+
_W
|
|
34895
35051
|
]), useIsomorphicLayoutEffect(() => {
|
|
34896
|
-
|
|
35052
|
+
$U.current = {
|
|
34897
35053
|
activatorEvent: H,
|
|
34898
35054
|
active: L,
|
|
34899
|
-
activeNode:
|
|
34900
|
-
collisionRect:
|
|
34901
|
-
collisions:
|
|
35055
|
+
activeNode: qU,
|
|
35056
|
+
collisionRect: hW,
|
|
35057
|
+
collisions: gW,
|
|
34902
35058
|
droppableRects: Z,
|
|
34903
35059
|
draggableNodes: E,
|
|
34904
|
-
draggingNode:
|
|
34905
|
-
draggingNodeRect:
|
|
35060
|
+
draggingNode: nW,
|
|
35061
|
+
draggingNodeRect: rW,
|
|
34906
35062
|
droppableContainers: j,
|
|
34907
|
-
over:
|
|
34908
|
-
scrollableAncestors:
|
|
34909
|
-
scrollAdjustedTranslate:
|
|
35063
|
+
over: vW,
|
|
35064
|
+
scrollableAncestors: sW,
|
|
35065
|
+
scrollAdjustedTranslate: mW
|
|
34910
35066
|
}, I.current = {
|
|
34911
|
-
initial:
|
|
34912
|
-
translated:
|
|
35067
|
+
initial: rW,
|
|
35068
|
+
translated: hW
|
|
34913
35069
|
};
|
|
34914
35070
|
}, [
|
|
34915
35071
|
L,
|
|
34916
|
-
|
|
34917
|
-
|
|
34918
|
-
|
|
35072
|
+
qU,
|
|
35073
|
+
gW,
|
|
35074
|
+
hW,
|
|
34919
35075
|
E,
|
|
34920
|
-
|
|
34921
|
-
|
|
35076
|
+
nW,
|
|
35077
|
+
rW,
|
|
34922
35078
|
Z,
|
|
34923
35079
|
j,
|
|
34924
|
-
|
|
34925
|
-
|
|
34926
|
-
|
|
35080
|
+
vW,
|
|
35081
|
+
sW,
|
|
35082
|
+
mW
|
|
34927
35083
|
]), useAutoScroller({
|
|
34928
|
-
...
|
|
35084
|
+
...YU,
|
|
34929
35085
|
delta: O,
|
|
34930
|
-
draggingRect:
|
|
34931
|
-
pointerCoordinates:
|
|
34932
|
-
scrollableAncestors:
|
|
34933
|
-
scrollableAncestorRects:
|
|
35086
|
+
draggingRect: hW,
|
|
35087
|
+
pointerCoordinates: uW,
|
|
35088
|
+
scrollableAncestors: sW,
|
|
35089
|
+
scrollableAncestorRects: cW
|
|
34934
35090
|
});
|
|
34935
|
-
let
|
|
35091
|
+
let wW = (0, import_react.useMemo)(() => ({
|
|
34936
35092
|
active: L,
|
|
34937
|
-
activeNode:
|
|
34938
|
-
activeNodeRect:
|
|
35093
|
+
activeNode: qU,
|
|
35094
|
+
activeNodeRect: ZU,
|
|
34939
35095
|
activatorEvent: H,
|
|
34940
|
-
collisions:
|
|
34941
|
-
containerNodeRect:
|
|
34942
|
-
dragOverlay:
|
|
35096
|
+
collisions: gW,
|
|
35097
|
+
containerNodeRect: QU,
|
|
35098
|
+
dragOverlay: tW,
|
|
34943
35099
|
draggableNodes: E,
|
|
34944
35100
|
droppableContainers: j,
|
|
34945
35101
|
droppableRects: Z,
|
|
34946
|
-
over:
|
|
34947
|
-
measureDroppableContainers:
|
|
34948
|
-
scrollableAncestors:
|
|
34949
|
-
scrollableAncestorRects:
|
|
34950
|
-
measuringConfiguration:
|
|
34951
|
-
measuringScheduled:
|
|
34952
|
-
windowRect:
|
|
35102
|
+
over: vW,
|
|
35103
|
+
measureDroppableContainers: GU,
|
|
35104
|
+
scrollableAncestors: sW,
|
|
35105
|
+
scrollableAncestorRects: cW,
|
|
35106
|
+
measuringConfiguration: WU,
|
|
35107
|
+
measuringScheduled: KU,
|
|
35108
|
+
windowRect: oW
|
|
34953
35109
|
}), [
|
|
34954
35110
|
L,
|
|
34955
|
-
UU,
|
|
34956
35111
|
qU,
|
|
34957
|
-
H,
|
|
34958
|
-
fW,
|
|
34959
|
-
JU,
|
|
34960
35112
|
ZU,
|
|
35113
|
+
H,
|
|
35114
|
+
gW,
|
|
35115
|
+
QU,
|
|
35116
|
+
tW,
|
|
34961
35117
|
E,
|
|
34962
35118
|
j,
|
|
34963
35119
|
Z,
|
|
34964
|
-
|
|
34965
|
-
|
|
34966
|
-
|
|
34967
|
-
|
|
34968
|
-
|
|
34969
|
-
|
|
34970
|
-
|
|
34971
|
-
]),
|
|
35120
|
+
vW,
|
|
35121
|
+
GU,
|
|
35122
|
+
sW,
|
|
35123
|
+
cW,
|
|
35124
|
+
WU,
|
|
35125
|
+
KU,
|
|
35126
|
+
oW
|
|
35127
|
+
]), TW = (0, import_react.useMemo)(() => ({
|
|
34972
35128
|
activatorEvent: H,
|
|
34973
|
-
activators:
|
|
35129
|
+
activators: CW,
|
|
34974
35130
|
active: L,
|
|
34975
|
-
activeNodeRect:
|
|
35131
|
+
activeNodeRect: ZU,
|
|
34976
35132
|
ariaDescribedById: {
|
|
34977
35133
|
draggable: q
|
|
34978
35134
|
},
|
|
34979
35135
|
dispatch: _,
|
|
34980
35136
|
draggableNodes: E,
|
|
34981
|
-
over:
|
|
34982
|
-
measureDroppableContainers:
|
|
35137
|
+
over: vW,
|
|
35138
|
+
measureDroppableContainers: GU
|
|
34983
35139
|
}), [
|
|
34984
35140
|
H,
|
|
34985
|
-
|
|
35141
|
+
CW,
|
|
34986
35142
|
L,
|
|
34987
|
-
|
|
35143
|
+
ZU,
|
|
34988
35144
|
_,
|
|
34989
35145
|
q,
|
|
34990
35146
|
E,
|
|
34991
|
-
|
|
34992
|
-
|
|
35147
|
+
vW,
|
|
35148
|
+
GU
|
|
34993
35149
|
]);
|
|
34994
35150
|
return import_react.createElement(DndMonitorContext.Provider, {
|
|
34995
35151
|
value: y
|
|
34996
35152
|
}, import_react.createElement(InternalContext.Provider, {
|
|
34997
|
-
value:
|
|
35153
|
+
value: TW
|
|
34998
35154
|
}, import_react.createElement(PublicContext.Provider, {
|
|
34999
|
-
value:
|
|
35155
|
+
value: wW
|
|
35000
35156
|
}, import_react.createElement(ActiveDraggableContext.Provider, {
|
|
35001
|
-
value:
|
|
35157
|
+
value: bW
|
|
35002
35158
|
}, u)), import_react.createElement(RestoreFocus, {
|
|
35003
35159
|
disabled: (c == null ? void 0 : c.restoreFocus) === false
|
|
35004
35160
|
})), import_react.createElement(Accessibility, {
|
|
35005
35161
|
...c,
|
|
35006
35162
|
hiddenTextDescribedById: q
|
|
35007
35163
|
}));
|
|
35008
|
-
function
|
|
35164
|
+
function EW() {
|
|
35009
35165
|
let e2 = (z == null ? void 0 : z.autoScrollEnabled) === false, r2 = typeof l == "object" ? l.enabled === false : l === false, c2 = w && !e2 && !r2;
|
|
35010
35166
|
return typeof l == "object" ? {
|
|
35011
35167
|
...l,
|
|
@@ -35533,7 +35689,7 @@ ${c}
|
|
|
35533
35689
|
updateMeasurementsFor: I,
|
|
35534
35690
|
...m
|
|
35535
35691
|
}
|
|
35536
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef:
|
|
35692
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: UU, listeners: WU, isDragging: Z, over: GU, setActivatorNodeRef: KU, transform: qU } = useDraggable({
|
|
35537
35693
|
id: f,
|
|
35538
35694
|
data: M,
|
|
35539
35695
|
attributes: {
|
|
@@ -35541,60 +35697,60 @@ ${c}
|
|
|
35541
35697
|
...c
|
|
35542
35698
|
},
|
|
35543
35699
|
disabled: O.draggable
|
|
35544
|
-
}),
|
|
35700
|
+
}), JU = useCombinedRefs(B, UU), YU = !!H, XU = YU && !b && isValidIndex(v) && isValidIndex(w), ZU = !T && Z, QU = XU ? (ZU && XU ? qU : null) ?? (p ?? E)({
|
|
35545
35701
|
rects: S,
|
|
35546
35702
|
activeNodeRect: G,
|
|
35547
35703
|
activeIndex: v,
|
|
35548
35704
|
overIndex: w,
|
|
35549
35705
|
index: j
|
|
35550
|
-
}) : null,
|
|
35706
|
+
}) : null, $U = isValidIndex(v) && isValidIndex(w) ? d({
|
|
35551
35707
|
id: f,
|
|
35552
35708
|
items: g,
|
|
35553
35709
|
activeIndex: v,
|
|
35554
35710
|
overIndex: w
|
|
35555
|
-
}) : j,
|
|
35556
|
-
activeId:
|
|
35711
|
+
}) : j, eW = H == null ? void 0 : H.id, tW = (0, import_react.useRef)({
|
|
35712
|
+
activeId: eW,
|
|
35557
35713
|
items: g,
|
|
35558
|
-
newIndex:
|
|
35714
|
+
newIndex: $U,
|
|
35559
35715
|
containerId: _
|
|
35560
|
-
}),
|
|
35716
|
+
}), nW = g !== tW.current.items, rW = r({
|
|
35561
35717
|
active: H,
|
|
35562
35718
|
containerId: _,
|
|
35563
35719
|
isDragging: Z,
|
|
35564
|
-
isSorting:
|
|
35720
|
+
isSorting: YU,
|
|
35565
35721
|
id: f,
|
|
35566
35722
|
index: j,
|
|
35567
35723
|
items: g,
|
|
35568
|
-
newIndex:
|
|
35569
|
-
previousItems:
|
|
35570
|
-
previousContainerId:
|
|
35724
|
+
newIndex: tW.current.newIndex,
|
|
35725
|
+
previousItems: tW.current.items,
|
|
35726
|
+
previousContainerId: tW.current.containerId,
|
|
35571
35727
|
transition: h,
|
|
35572
|
-
wasDragging:
|
|
35573
|
-
}),
|
|
35574
|
-
disabled:
|
|
35728
|
+
wasDragging: tW.current.activeId != null
|
|
35729
|
+
}), iW = useDerivedTransform({
|
|
35730
|
+
disabled: !rW,
|
|
35575
35731
|
index: j,
|
|
35576
35732
|
node: R,
|
|
35577
35733
|
rect: L
|
|
35578
35734
|
});
|
|
35579
35735
|
return (0, import_react.useEffect)(() => {
|
|
35580
|
-
|
|
35736
|
+
YU && tW.current.newIndex !== $U && (tW.current.newIndex = $U), _ !== tW.current.containerId && (tW.current.containerId = _), g !== tW.current.items && (tW.current.items = g);
|
|
35581
35737
|
}, [
|
|
35582
|
-
GU,
|
|
35583
35738
|
YU,
|
|
35739
|
+
$U,
|
|
35584
35740
|
_,
|
|
35585
35741
|
g
|
|
35586
35742
|
]), (0, import_react.useEffect)(() => {
|
|
35587
|
-
if (
|
|
35588
|
-
if (
|
|
35589
|
-
|
|
35743
|
+
if (eW === tW.current.activeId) return;
|
|
35744
|
+
if (eW != null && tW.current.activeId == null) {
|
|
35745
|
+
tW.current.activeId = eW;
|
|
35590
35746
|
return;
|
|
35591
35747
|
}
|
|
35592
35748
|
let e2 = setTimeout(() => {
|
|
35593
|
-
|
|
35749
|
+
tW.current.activeId = eW;
|
|
35594
35750
|
}, 50);
|
|
35595
35751
|
return () => clearTimeout(e2);
|
|
35596
35752
|
}, [
|
|
35597
|
-
|
|
35753
|
+
eW
|
|
35598
35754
|
]), {
|
|
35599
35755
|
active: H,
|
|
35600
35756
|
activeIndex: v,
|
|
@@ -35602,25 +35758,25 @@ ${c}
|
|
|
35602
35758
|
data: M,
|
|
35603
35759
|
rect: L,
|
|
35604
35760
|
index: j,
|
|
35605
|
-
newIndex:
|
|
35761
|
+
newIndex: $U,
|
|
35606
35762
|
items: g,
|
|
35607
35763
|
isOver: z,
|
|
35608
|
-
isSorting:
|
|
35764
|
+
isSorting: YU,
|
|
35609
35765
|
isDragging: Z,
|
|
35610
|
-
listeners:
|
|
35766
|
+
listeners: WU,
|
|
35611
35767
|
node: R,
|
|
35612
35768
|
overIndex: w,
|
|
35613
|
-
over:
|
|
35614
|
-
setNodeRef:
|
|
35615
|
-
setActivatorNodeRef:
|
|
35769
|
+
over: GU,
|
|
35770
|
+
setNodeRef: JU,
|
|
35771
|
+
setActivatorNodeRef: KU,
|
|
35616
35772
|
setDroppableNodeRef: B,
|
|
35617
|
-
setDraggableNodeRef:
|
|
35618
|
-
transform:
|
|
35619
|
-
transition:
|
|
35773
|
+
setDraggableNodeRef: UU,
|
|
35774
|
+
transform: iW ?? QU,
|
|
35775
|
+
transition: aW()
|
|
35620
35776
|
};
|
|
35621
|
-
function
|
|
35622
|
-
if (
|
|
35623
|
-
if (!(
|
|
35777
|
+
function aW() {
|
|
35778
|
+
if (iW || nW && tW.current.newIndex === j) return disabledTransition;
|
|
35779
|
+
if (!(ZU && !isKeyboardEvent(W) || !h) && (YU || rW)) return CSS$1.Transition.toString({
|
|
35624
35780
|
...h,
|
|
35625
35781
|
property: transitionProperty
|
|
35626
35782
|
});
|
|
@@ -35896,10 +36052,10 @@ ${c}
|
|
|
35896
36052
|
...R,
|
|
35897
36053
|
...h
|
|
35898
36054
|
}, r[18] = O, r[19] = h, r[20] = R, r[21] = E, r[22] = z) : z = r[22];
|
|
35899
|
-
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",
|
|
35900
|
-
r[23] !== l || r[24] !== q || r[25] !== W || r[26] !== G ? (
|
|
35901
|
-
let
|
|
35902
|
-
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (
|
|
36055
|
+
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", UU;
|
|
36056
|
+
r[23] !== l || r[24] !== q || r[25] !== W || r[26] !== G ? (UU = 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] = UU) : UU = r[27];
|
|
36057
|
+
let WU;
|
|
36058
|
+
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (WU = H && (0, import_jsx_runtime.jsx)("div", {
|
|
35903
36059
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
35904
36060
|
style: {
|
|
35905
36061
|
transform: `scale(${j})`,
|
|
@@ -35912,14 +36068,14 @@ ${c}
|
|
|
35912
36068
|
status: c.status,
|
|
35913
36069
|
output: c.output
|
|
35914
36070
|
})
|
|
35915
|
-
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] =
|
|
36071
|
+
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] = WU) : WU = r[33];
|
|
35916
36072
|
let Z;
|
|
35917
36073
|
r[34] === L ? Z = r[35] : (Z = L && (0, import_jsx_runtime.jsx)("div", {
|
|
35918
36074
|
className: "absolute inset-0 bg-muted/60 pointer-events-none",
|
|
35919
36075
|
"aria-hidden": true
|
|
35920
36076
|
}), r[34] = L, r[35] = Z);
|
|
35921
|
-
let
|
|
35922
|
-
r[36] !== L || r[37] !== I ? (
|
|
36077
|
+
let GU;
|
|
36078
|
+
r[36] !== L || r[37] !== I ? (GU = I && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
35923
36079
|
content: (0, import_jsx_runtime.jsx)("span", {
|
|
35924
36080
|
className: "text-xs opacity-80",
|
|
35925
36081
|
children: I.description
|
|
@@ -35931,19 +36087,19 @@ ${c}
|
|
|
35931
36087
|
className: "h-3.5 w-3.5"
|
|
35932
36088
|
})
|
|
35933
36089
|
})
|
|
35934
|
-
}), r[36] = L, r[37] = I, r[38] =
|
|
35935
|
-
let
|
|
35936
|
-
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !==
|
|
36090
|
+
}), r[36] = L, r[37] = I, r[38] = GU) : GU = r[38];
|
|
36091
|
+
let KU;
|
|
36092
|
+
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== UU || r[43] !== WU || r[44] !== Z || r[45] !== GU ? (KU = (0, import_jsx_runtime.jsxs)("div", {
|
|
35937
36093
|
ref: f,
|
|
35938
|
-
className:
|
|
36094
|
+
className: UU,
|
|
35939
36095
|
style: B,
|
|
35940
36096
|
...d,
|
|
35941
36097
|
children: [
|
|
35942
|
-
|
|
36098
|
+
WU,
|
|
35943
36099
|
Z,
|
|
35944
|
-
|
|
36100
|
+
GU
|
|
35945
36101
|
]
|
|
35946
|
-
}), r[39] = B, r[40] = d, r[41] = f, r[42] =
|
|
36102
|
+
}), r[39] = B, r[40] = d, r[41] = f, r[42] = UU, r[43] = WU, r[44] = Z, r[45] = GU, r[46] = KU) : KU = r[46], KU;
|
|
35947
36103
|
};
|
|
35948
36104
|
function projectDropTarget(e) {
|
|
35949
36105
|
let { active: r, over: c } = e;
|
|
@@ -35974,7 +36130,7 @@ ${c}
|
|
|
35974
36130
|
if (l && l !== "slide") return l;
|
|
35975
36131
|
if (c == null ? void 0 : c.has(e)) return "skip";
|
|
35976
36132
|
}
|
|
35977
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
36133
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-Bq1iwOTq.js"));
|
|
35978
36134
|
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
35979
36135
|
var _a3;
|
|
35980
36136
|
let u = useAtomValue(kioskModeAtom), d = l === "read" || u, f = useAtomValue(numColumnsAtom) > 1, [p, m] = (0, import_react.useState)(null), { cellsWithOutput: h, skippedIds: g, slideTypes: _, startCellIndex: v } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
@@ -36349,7 +36505,7 @@ ${c}
|
|
|
36349
36505
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
36350
36506
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
36351
36507
|
}, r[2] = B) : B = r[2], (0, import_react.useLayoutEffect)(B), !L && isInternalCellName(S)) return null;
|
|
36352
|
-
let H, W, G, q,
|
|
36508
|
+
let H, W, G, q, UU, WU, Z, GU, KU, qU;
|
|
36353
36509
|
if (r[3] !== T || r[4] !== M || r[5] !== I || r[6] !== L || r[7] !== _ || r[8] !== b || r[9] !== d || r[10] !== z || r[11] !== O || r[12] !== j || r[13] !== E || r[14] !== R || r[15] !== f || r[16] !== u || r[17] !== y || r[18] !== m || r[19] !== l) {
|
|
36354
36510
|
let e2 = I.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), S2;
|
|
36355
36511
|
r[30] === I ? S2 = r[31] : (S2 = () => I.filter(_temp3$1).map(_temp4$1).join("\n"), r[30] = I, r[31] = S2);
|
|
@@ -36395,11 +36551,11 @@ ${c}
|
|
|
36395
36551
|
})
|
|
36396
36552
|
})
|
|
36397
36553
|
]
|
|
36398
|
-
}), r[32] = B2, r[33] = L, r[34] = d, r[35] = z, r[36] = f, r[37] = u, r[38] = l, r[39] = W) : W = r[39], G = y ? "This console output is stale" : void 0, q = "console-output-area",
|
|
36399
|
-
let
|
|
36400
|
-
r[40] !== M || r[41] !==
|
|
36554
|
+
}), r[32] = B2, r[33] = L, r[34] = d, r[35] = z, r[36] = f, r[37] = u, r[38] = l, r[39] = W) : W = r[39], G = y ? "This console output is stale" : void 0, q = "console-output-area", UU = c, WU = R, Z = 0;
|
|
36555
|
+
let JU2 = y && "marimo-output-stale", YU2 = L ? "p-5" : "p-3";
|
|
36556
|
+
r[40] !== M || r[41] !== JU2 || r[42] !== YU2 ? (GU = cn("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden", JU2, YU2, M), r[40] = M, r[41] = JU2, r[42] = YU2, r[43] = GU) : GU = r[43], r[44] === d ? KU = r[45] : (KU = d ? {
|
|
36401
36557
|
maxHeight: "none"
|
|
36402
|
-
} : void 0, r[44] = d, r[45] =
|
|
36558
|
+
} : void 0, r[44] = d, r[45] = KU), qU = e2.map((e3, r2) => {
|
|
36403
36559
|
if (e3.channel === "pdb") return null;
|
|
36404
36560
|
if (e3.channel === "stdin") {
|
|
36405
36561
|
invariant(typeof e3.data == "string", "Expected data to be a string");
|
|
@@ -36428,36 +36584,36 @@ ${c}
|
|
|
36428
36584
|
wrapText: l
|
|
36429
36585
|
})
|
|
36430
36586
|
}, r2);
|
|
36431
|
-
}), r[3] = T, r[4] = M, r[5] = I, r[6] = L, r[7] = _, r[8] = b, r[9] = d, r[10] = z, r[11] = O, r[12] = j, r[13] = E, r[14] = R, r[15] = f, r[16] = u, r[17] = y, r[18] = m, r[19] = l, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] =
|
|
36432
|
-
} else H = r[20], W = r[21], G = r[22], q = r[23],
|
|
36433
|
-
let
|
|
36434
|
-
r[46] !== T || r[47] !== S ? (
|
|
36587
|
+
}), r[3] = T, r[4] = M, r[5] = I, r[6] = L, r[7] = _, r[8] = b, r[9] = d, r[10] = z, r[11] = O, r[12] = j, r[13] = E, r[14] = R, r[15] = f, r[16] = u, r[17] = y, r[18] = m, r[19] = l, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = UU, r[25] = WU, r[26] = Z, r[27] = GU, r[28] = KU, r[29] = qU;
|
|
36588
|
+
} else H = r[20], W = r[21], G = r[22], q = r[23], UU = r[24], WU = r[25], Z = r[26], GU = r[27], KU = r[28], qU = r[29];
|
|
36589
|
+
let JU;
|
|
36590
|
+
r[46] !== T || r[47] !== S ? (JU = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
36435
36591
|
value: S,
|
|
36436
36592
|
cellId: T,
|
|
36437
36593
|
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"
|
|
36438
|
-
}), r[46] = T, r[47] = S, r[48] =
|
|
36439
|
-
let
|
|
36440
|
-
r[49] !==
|
|
36594
|
+
}), r[46] = T, r[47] = S, r[48] = JU) : JU = r[48];
|
|
36595
|
+
let YU;
|
|
36596
|
+
r[49] !== JU || r[50] !== G || r[51] !== q || r[52] !== UU || r[53] !== WU || r[54] !== Z || r[55] !== GU || r[56] !== KU || r[57] !== qU ? (YU = (0, import_jsx_runtime.jsxs)("div", {
|
|
36441
36597
|
title: G,
|
|
36442
36598
|
"data-testid": q,
|
|
36443
|
-
ref:
|
|
36444
|
-
...
|
|
36599
|
+
ref: UU,
|
|
36600
|
+
...WU,
|
|
36445
36601
|
tabIndex: Z,
|
|
36446
|
-
className:
|
|
36447
|
-
style:
|
|
36602
|
+
className: GU,
|
|
36603
|
+
style: KU,
|
|
36448
36604
|
children: [
|
|
36449
|
-
|
|
36450
|
-
|
|
36605
|
+
qU,
|
|
36606
|
+
JU
|
|
36451
36607
|
]
|
|
36452
|
-
}), r[49] =
|
|
36453
|
-
let
|
|
36454
|
-
return r[59] !== H || r[60] !== W || r[61] !==
|
|
36608
|
+
}), r[49] = JU, r[50] = G, r[51] = q, r[52] = UU, r[53] = WU, r[54] = Z, r[55] = GU, r[56] = KU, r[57] = qU, r[58] = YU) : YU = r[58];
|
|
36609
|
+
let XU;
|
|
36610
|
+
return r[59] !== H || r[60] !== W || r[61] !== YU ? (XU = (0, import_jsx_runtime.jsxs)("div", {
|
|
36455
36611
|
className: H,
|
|
36456
36612
|
children: [
|
|
36457
36613
|
W,
|
|
36458
|
-
|
|
36614
|
+
YU
|
|
36459
36615
|
]
|
|
36460
|
-
}), r[59] = H, r[60] = W, r[61] =
|
|
36616
|
+
}), r[59] = H, r[60] = W, r[61] = YU, r[62] = XU) : XU = r[62], XU;
|
|
36461
36617
|
}, StdInput = (e) => {
|
|
36462
36618
|
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;
|
|
36463
36619
|
r[0] === d ? y = r[1] : (y = renderText(d), r[0] = d, r[1] = y);
|
|
@@ -36921,23 +37077,23 @@ ${c}
|
|
|
36921
37077
|
if ((h || _ || m || W) && !G) return null;
|
|
36922
37078
|
let q;
|
|
36923
37079
|
r[43] !== d || r[44] !== T ? (q = cellDomProps(d, T), r[43] = d, r[44] = T, r[45] = q) : q = r[45];
|
|
36924
|
-
let
|
|
36925
|
-
r[46] !== d || r[47] !== R || r[48] !== c || r[49] !== I || r[50] !==
|
|
36926
|
-
allowExpand:
|
|
37080
|
+
let UU = w === "edit", WU;
|
|
37081
|
+
r[46] !== d || r[47] !== R || r[48] !== c || r[49] !== I || r[50] !== UU ? (WU = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
37082
|
+
allowExpand: UU,
|
|
36927
37083
|
output: c,
|
|
36928
37084
|
className: CSSClasses.outputArea,
|
|
36929
37085
|
cellId: d,
|
|
36930
37086
|
stale: I,
|
|
36931
37087
|
loading: R
|
|
36932
|
-
}), r[46] = d, r[47] = R, r[48] = c, r[49] = I, r[50] =
|
|
37088
|
+
}), r[46] = d, r[47] = R, r[48] = c, r[49] = I, r[50] = UU, r[51] = WU) : WU = r[51];
|
|
36933
37089
|
let Z;
|
|
36934
|
-
return r[52] !== H || r[53] !== q || r[54] !==
|
|
37090
|
+
return r[52] !== H || r[53] !== q || r[54] !== WU ? (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
36935
37091
|
tabIndex: -1,
|
|
36936
37092
|
ref: j,
|
|
36937
37093
|
className: H,
|
|
36938
37094
|
...q,
|
|
36939
|
-
children:
|
|
36940
|
-
}), r[52] = H, r[53] = q, r[54] =
|
|
37095
|
+
children: WU
|
|
37096
|
+
}), r[52] = H, r[53] = q, r[54] = WU, r[55] = Z) : Z = r[55], Z;
|
|
36941
37097
|
});
|
|
36942
37098
|
VerticalCell.displayName = "VerticalCell";
|
|
36943
37099
|
const VerticalLayoutPlugin = {
|