@marimo-team/islands 0.22.1-dev3 → 0.22.1-dev31

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.
Files changed (325) hide show
  1. package/dist/{ConnectedDataExplorerComponent-Dl1grr8z.js → ConnectedDataExplorerComponent-DTOsfq2x.js} +54 -54
  2. package/dist/_basePickBy-Sow3pJjS.js +41 -0
  3. package/dist/{_baseUniq-B4eL5sTC.js → _baseUniq-C87CckHL.js} +15 -54
  4. package/dist/{any-language-editor-CT_9yBde.js → any-language-editor-BHH_pQ6M.js} +21 -21
  5. package/dist/architecture-7HQA4BMR-BHdkAMvZ.js +6 -0
  6. package/dist/{architectureDiagram-VXUJARFQ-vxgYGIMP.js → architectureDiagram-VXUJARFQ-B3YQo9At.js} +15 -15
  7. package/dist/{arrays-Du-jRBAy.js → arrays-beUWo8RF.js} +1 -1
  8. package/dist/assets/__vite-browser-external-WSlCcXn_.js +1 -0
  9. package/dist/assets/{worker-D10K3OOz.js → worker-DUYMdbtA.js} +2 -2
  10. package/dist/{blockDiagram-VD42YOAC-C7x6YTH7.js → blockDiagram-VD42YOAC-CpQ3TKEN.js} +7 -7
  11. package/dist/{button-qsiIHncQ.js → button-DNlNlZY_.js} +82 -84
  12. package/dist/{c4Diagram-YG6GDRKO-Cx4oseGg.js → c4Diagram-YG6GDRKO-CZSU4uqU.js} +4 -4
  13. package/dist/{capabilities-26mwv03y.js → capabilities-Coe9eM9T.js} +2 -2
  14. package/dist/{channel-C_50jIAn.js → channel-X3JKk8gE.js} +1 -1
  15. package/dist/{chat-ui-CtqUthFR.js → chat-ui-eH46RYWT.js} +147 -146
  16. package/dist/{check-D_YwHEgY.js → check-CWUkiHmb.js} +1 -1
  17. package/dist/{chunk-4F5CHEZ2-Dvo_CFnR.js → chunk-4F5CHEZ2-D5mClyDv.js} +1 -1
  18. package/dist/{chunk-ABZYJK2D-D5YIs71w.js → chunk-ABZYJK2D-CZYCCtLy.js} +1 -1
  19. package/dist/{chunk-ATLVNIR6-CyOjzOcf.js → chunk-ATLVNIR6-DaOzLLgN.js} +1 -1
  20. package/dist/{chunk-B2363JML-BzZqINRO.js → chunk-B2363JML-Br0eA2T3.js} +1 -1
  21. package/dist/{chunk-B4BG7PRW-ZJeV3KdD.js → chunk-B4BG7PRW-4BjV11Br.js} +4 -4
  22. package/dist/{chunk-DI55MBZ5-Dx_wwX6l.js → chunk-DI55MBZ5-DITY3EyP.js} +4 -4
  23. package/dist/{chunk-EXTU4WIE-CgefpSXQ.js → chunk-EXTU4WIE-jUPSAk3i.js} +1 -1
  24. package/dist/{chunk-FRFDVMJY-Derq8UzY.js → chunk-FRFDVMJY-DnEvEFRR.js} +1 -1
  25. package/dist/{chunk-JA3XYJ7Z-CcIOIFpc.js → chunk-JA3XYJ7Z-BcPEfxk_.js} +2 -2
  26. package/dist/{chunk-JZLCHNYA-CgO0GG1p.js → chunk-JZLCHNYA-2bnLL3xL.js} +4 -4
  27. package/dist/{chunk-N4CR4FBY-2qzGzAxT.js → chunk-N4CR4FBY-CpZSuGSU.js} +5 -5
  28. package/dist/{chunk-PL6DKKU2-KoG71Zin.js → chunk-PL6DKKU2-DnId6G-x.js} +1 -1
  29. package/dist/{chunk-QN33PNHL-Dp1qBo28.js → chunk-QN33PNHL-B9p5ojHB.js} +1 -1
  30. package/dist/{chunk-QXUST7PY-BxmmeIwf.js → chunk-QXUST7PY-Ch6F5Obl.js} +5 -5
  31. package/dist/{chunk-S3R3BYOJ-D3Rys9ZW.js → chunk-S3R3BYOJ-B0UOFJwq.js} +3 -3
  32. package/dist/{chunk-SJTYNZTY-Co-DhKAG.js → chunk-SJTYNZTY-BsBZnJUj.js} +1 -1
  33. package/dist/{chunk-TCCFYFTB-BAhzIqBO.js → chunk-TCCFYFTB-Clbl-fTg.js} +8 -7
  34. package/dist/{chunk-TQ3KTPDO-DxYI735Z.js → chunk-TQ3KTPDO-CFkSQ30e.js} +1 -1
  35. package/dist/{chunk-TZMSLE5B-Dxumt0wv.js → chunk-TZMSLE5B-D45397J2.js} +1 -1
  36. package/dist/{chunk-UMXZTB3W-CuahpKin.js → chunk-UMXZTB3W-D-A834Bq.js} +1 -1
  37. package/dist/{classDiagram-v2-WZHVMYZB-CYoFMQKE.js → classDiagram-2ON5EDUG-C8-zE3Zv.js} +10 -10
  38. package/dist/{classDiagram-2ON5EDUG-DkOvXRlx.js → classDiagram-v2-WZHVMYZB-DrmbGANl.js} +10 -10
  39. package/dist/{clone-DDndUqI0.js → clone-DZFQCtFJ.js} +1 -1
  40. package/dist/{constants-D1Am36hX.js → constants-CvyfaCvs.js} +3 -3
  41. package/dist/{copy-CBo9JcJW.js → copy-B7781WJ3.js} +2 -2
  42. package/dist/{dagre-6UL2VRFP-BXBaU8PB.js → dagre-6UL2VRFP-OMItEBnY.js} +12 -12
  43. package/dist/{dagre-D3dlYz-r.js → dagre-QVd-lCXU.js} +13 -23
  44. package/dist/{data-grid-overlay-editor-nZux6_d2.js → data-grid-overlay-editor-lKF301ME.js} +1 -1
  45. package/dist/{diagram-PSM6KHXK-CJxjk4LG.js → diagram-PSM6KHXK-CkKbohWI.js} +16 -16
  46. package/dist/{diagram-QEK2KX5R-IMILPh_p.js → diagram-QEK2KX5R-DjUMpVcx.js} +14 -14
  47. package/dist/{diagram-S2PKOQOG-6O0g6Boj.js → diagram-S2PKOQOG-b-c0d-wZ.js} +14 -14
  48. package/dist/{dist-BkXs8bw0.js → dist--6TSlp8H.js} +1 -1
  49. package/dist/dist-7K5doRvB.js +6 -0
  50. package/dist/{dist-CQidOwep.js → dist-B43sbpd0.js} +3 -3
  51. package/dist/dist-B6I_A2-E.js +8 -0
  52. package/dist/dist-BEQsmaZY.js +5 -0
  53. package/dist/dist-BasY2RHp.js +8 -0
  54. package/dist/{dist-BemtTYzN.js → dist-Bfp1XXWt.js} +5 -5
  55. package/dist/{dist-v-1kgqZ3.js → dist-BjDuO5JW.js} +1 -1
  56. package/dist/dist-Bosc00dY.js +5 -0
  57. package/dist/{dist-DLNKBPsk.js → dist-BrxqmS9Q.js} +4 -4
  58. package/dist/{dist-DBYL08Lu.js → dist-BvhGByxL.js} +4 -4
  59. package/dist/{dist-CVqlhD3M.js → dist-C4bq5Ioy.js} +2 -2
  60. package/dist/{dist-DwmxBUOe.js → dist-CFKdzOIu.js} +2 -2
  61. package/dist/{dist-5nTQE2yt.js → dist-CIB8w0Fl.js} +2 -2
  62. package/dist/{dist-C-EcLtO9.js → dist-CNF0QBLR.js} +1 -1
  63. package/dist/dist-CQMZOn-_.js +8 -0
  64. package/dist/dist-CViQhWZ8.js +5 -0
  65. package/dist/{dist-Dg65j0em.js → dist-CcMfr7jD.js} +1 -1
  66. package/dist/{dist-C0XYIHKJ.js → dist-Ci0CXEFt.js} +1 -1
  67. package/dist/dist-Cz6rLfwY.js +5 -0
  68. package/dist/dist-D8eq8st3.js +6 -0
  69. package/dist/{dist-qoCY8giM.js → dist-DAfcmt-d.js} +2 -2
  70. package/dist/{dist-B6Op2ogv.js → dist-DD_cYHOl.js} +2 -2
  71. package/dist/{dist-BUSLKXcu.js → dist-DFK94vuS.js} +2 -2
  72. package/dist/{dist-DBXPlQ0D.js → dist-DGNtjMZu.js} +1 -1
  73. package/dist/{dist-C9qF7MRB.js → dist-DJ9F1eHs.js} +2 -2
  74. package/dist/{dist-Ci_jEudG.js → dist-DJKubHDd.js} +1 -1
  75. package/dist/{dist-CnFp2Kcl.js → dist-DLafRu9s.js} +2 -2
  76. package/dist/dist-DM1UDXdl.js +5 -0
  77. package/dist/dist-DNrtWPgS.js +5 -0
  78. package/dist/dist-D_UjpfOY.js +1381 -0
  79. package/dist/{dist-DmFS6KZW.js → dist-DbnBiLNH.js} +3 -3
  80. package/dist/{dist-BiZZAo22.js → dist-DlSUOIm9.js} +1 -1
  81. package/dist/{dist-DStU8He1.js → dist-Doy0mQDg.js} +2 -2
  82. package/dist/{dist-CxAX99oC.js → dist-DpkJHKB8.js} +2 -2
  83. package/dist/{dist-DjaZNkZ7.js → dist-LhQNUe5A.js} +3 -3
  84. package/dist/dist-V7q2qnpA.js +5 -0
  85. package/dist/{dist-BJ3fhRYu.js → dist-VqF3W_ue.js} +2 -2
  86. package/dist/dist-a5_hPgu2.js +8 -0
  87. package/dist/{dist-B9KLrfoh.js → dist-ej6AQKaS.js} +1 -1
  88. package/dist/{dist-Brb6VNc4.js → dist-m9tsXsFf.js} +2 -2
  89. package/dist/{dist-CBwMSFDu.js → dist-tGk0aZ--.js} +2 -2
  90. package/dist/dist-uVyZcV1-.js +5 -0
  91. package/dist/{erDiagram-Q2GNP2WA-sho7Cl9f.js → erDiagram-Q2GNP2WA-CDhLaOZ1.js} +10 -10
  92. package/dist/{error-banner-Bx9kIgrs.js → error-banner-Cjf0RU9I.js} +79 -79
  93. package/dist/{esm-CMg2ABu6.js → esm-4wmsH2lp.js} +6 -6
  94. package/dist/{esm-cqK9POGH.js → esm-CD1iby2n.js} +23 -23
  95. package/dist/{flowDiagram-NV44I4VS-C4nY4Fbz.js → flowDiagram-NV44I4VS-BDi4O4CL.js} +10 -10
  96. package/dist/{ganttDiagram-JELNMOA3-CtxNcCM2.js → ganttDiagram-JELNMOA3-BpZE6kVp.js} +3 -3
  97. package/dist/{gitGraph-G5XIXVHT-SL6TDof6.js → gitGraph-G5XIXVHT-B_c6xFJv.js} +3 -3
  98. package/dist/{gitGraphDiagram-V2S2FVAM-D9885mxd.js → gitGraphDiagram-V2S2FVAM-iQnXzbPM.js} +13 -13
  99. package/dist/{glide-data-editor-CkVEV-Gk.js → glide-data-editor-VgPtWvhu.js} +63 -63
  100. package/dist/{graphlib-CxWdvYQt.js → graphlib-BV1_gi0C.js} +4 -3
  101. package/dist/hasIn-DnfJcYpY.js +108 -0
  102. package/dist/{info-VBDWY6EO-6MXPTSmi.js → info-VBDWY6EO-BTyzxmhr.js} +3 -3
  103. package/dist/{infoDiagram-HS3SLOUP-Bw2FlRwF.js → infoDiagram-HS3SLOUP-OYrX6uO3.js} +13 -13
  104. package/dist/{input-BSde8uV4.js → input-CFY9gApZ.js} +5055 -5055
  105. package/dist/{isEmpty-BQtUinxJ.js → isEmpty-B7FX9wKt.js} +1 -1
  106. package/dist/{isSymbol-DFp8040B.js → isSymbol-DCbjQG_U.js} +1 -1
  107. package/dist/{journeyDiagram-XKPGCS4Q-BXlCEth8.js → journeyDiagram-XKPGCS4Q-ClPC94aN.js} +3 -3
  108. package/dist/{kanban-definition-3W4ZIXB7-CorxzSYm.js → kanban-definition-3W4ZIXB7-DHEAKdZt.js} +7 -7
  109. package/dist/{label-DTNqw9tv.js → label-DbZGAoCH.js} +538 -569
  110. package/dist/{loader-3c9hT4kT.js → loader-Bd1kgLn7.js} +19 -16
  111. package/dist/main.js +2602 -2594
  112. package/dist/{memoize-CuHciEBb.js → memoize-CSTI9eOX.js} +1 -1
  113. package/dist/{merge-CA_buyY3.js → merge-CVhG7q_o.js} +1 -1
  114. package/dist/{mermaid-CEKslOkI.js → mermaid-B2HDLx2g.js} +54 -54
  115. package/dist/{mermaid-parser.core-cq4YDee-.js → mermaid-parser.core-ntCgyx0x.js} +8 -8
  116. package/dist/min-Ds3gG0Ff.js +96 -0
  117. package/dist/{mindmap-definition-VGOIOE7T-DRsT8UaN.js → mindmap-definition-VGOIOE7T-CxEUZZvY.js} +9 -9
  118. package/dist/{now-CXAdKY5k.js → now-nrrrOr01.js} +1 -1
  119. package/dist/{once-CZno0h-b.js → once-C_TIu-kR.js} +1 -1
  120. package/dist/{packet-DYOGHKS2-Dw08gMaZ.js → packet-DYOGHKS2-BhvnpoGi.js} +3 -3
  121. package/dist/{pie-VRWISCQL-C5SPSvT8.js → pie-VRWISCQL-dILuA3iG.js} +3 -3
  122. package/dist/{pieDiagram-ADFJNKIX-DhJ1Cx2O.js → pieDiagram-ADFJNKIX-U3LrUqAS.js} +14 -14
  123. package/dist/{process-output-KyzWazB-.js → process-output-BbUNe4iH.js} +3181 -3204
  124. package/dist/{quadrantDiagram-AYHSOK5B-DXUFIWlz.js → quadrantDiagram-AYHSOK5B-BVWuq-3R.js} +2 -2
  125. package/dist/{radar-ZZBFDIW7-BvY0bgSg.js → radar-ZZBFDIW7-DwFrOJDj.js} +3 -3
  126. package/dist/range-fJeId9Ri.js +30 -0
  127. package/dist/{requirementDiagram-UZGBJVZJ-DO_gtQIb.js → requirementDiagram-UZGBJVZJ-D0zpQnKC.js} +9 -9
  128. package/dist/{sankeyDiagram-TZEHDZUN-OZzXEkuG.js → sankeyDiagram-TZEHDZUN-CExy1joT.js} +2 -2
  129. package/dist/{sequenceDiagram-WL72ISMW-K7nZRifV.js → sequenceDiagram-WL72ISMW-D1BJxLjH.js} +4 -4
  130. package/dist/{slides-component-CIcSvFh7.js → slides-component-CX2JC-Ws.js} +2 -2
  131. package/dist/{spec-DYaR1rJh.js → spec-CiHus5Bb.js} +3 -3
  132. package/dist/{stateDiagram-FKZM4ZOC-DzXJZAq7.js → stateDiagram-FKZM4ZOC-B1S8jGMn.js} +12 -12
  133. package/dist/{stateDiagram-v2-4FDKWEC3-BZBPUmyF.js → stateDiagram-v2-4FDKWEC3-BH5ozUbc.js} +10 -10
  134. package/dist/stex-CQDv3aS8.js +4 -0
  135. package/dist/style.css +1 -1
  136. package/dist/{timeline-definition-IT6M3QCI-DNoLAh-i.js → timeline-definition-IT6M3QCI-BDT9JAmn.js} +2 -2
  137. package/dist/{toDate-D6VXexnV.js → toDate-BzYZtEK7.js} +4 -4
  138. package/dist/{toNumber-xFPoy1OI.js → toNumber-55tjPCWr.js} +2 -2
  139. package/dist/tooltip-BXEpXV3R.js +404 -0
  140. package/dist/{treemap-GDKQZRPO-C5OoxpmV.js → treemap-GDKQZRPO-bx2ngsgN.js} +3 -3
  141. package/dist/{types-CQ-RbYxp.js → types-D_ntCXg0.js} +3 -3
  142. package/dist/{useAsyncData-Cd4Urlww.js → useAsyncData-rN1nzPaS.js} +2 -2
  143. package/dist/{useDeepCompareMemoize-X7clcrcQ.js → useDeepCompareMemoize-iM1YNTEF.js} +4 -4
  144. package/dist/{useIframeCapabilities-BVQrlRBd.js → useIframeCapabilities-CqhrVue6.js} +1 -1
  145. package/dist/{useLifecycle-Dids8BPm.js → useLifecycle-DgDTfOLZ.js} +9 -9
  146. package/dist/{useTheme-Dm1WaAGy.js → useTheme-MWfxn4oz.js} +4 -5
  147. package/dist/{vega-component-A6unyUJS.js → vega-component-CkpTXaRx.js} +23 -23
  148. package/dist/{xychartDiagram-PRI3JC2R-ehVeySMW.js → xychartDiagram-PRI3JC2R-CuAZiqHS.js} +5 -5
  149. package/dist/{Combination-B--d1_LV.js → zod-C6UGQ3fz.js} +8085 -8151
  150. package/package.json +8 -41
  151. package/src/__tests__/branded.ts +6 -0
  152. package/src/__tests__/main.test.tsx +12 -14
  153. package/src/components/ai/ai-provider-icon.tsx +3 -2
  154. package/src/components/app-config/user-config-form.tsx +0 -27
  155. package/src/components/chat/acp/agent-docs.tsx +3 -3
  156. package/src/components/chat/acp/agent-panel.tsx +69 -22
  157. package/src/components/chat/acp/agent-selector.tsx +2 -11
  158. package/src/components/chat/acp/state.ts +14 -2
  159. package/src/components/chat/chat-panel.tsx +2 -1
  160. package/src/components/data-table/TableBottomBar.tsx +12 -1
  161. package/src/components/data-table/TableTopBar.tsx +31 -35
  162. package/src/components/data-table/cell-selection/types.ts +3 -2
  163. package/src/components/data-table/charts/charts.tsx +42 -13
  164. package/src/components/data-table/charts/components/chart-items.tsx +1 -1
  165. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
  166. package/src/components/data-table/column-formatting/types.ts +3 -2
  167. package/src/components/data-table/column-header.tsx +4 -2
  168. package/src/components/data-table/column-wrapping/types.ts +3 -2
  169. package/src/components/data-table/columns.tsx +4 -1
  170. package/src/components/data-table/copy-column/types.ts +3 -2
  171. package/src/components/data-table/data-table.tsx +6 -1
  172. package/src/components/data-table/focus-row/types.ts +3 -2
  173. package/src/components/data-table/loading-table.tsx +4 -1
  174. package/src/components/data-table/range-focus/__tests__/atoms.test.ts +11 -11
  175. package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +9 -11
  176. package/src/components/data-table/range-focus/cell-selection-stats.tsx +3 -1
  177. package/src/components/data-table/row-viewer-panel/row-viewer.tsx +1 -1
  178. package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +2 -2
  179. package/src/components/editor/__tests__/data-attributes.test.tsx +93 -94
  180. package/src/components/editor/actions/name-cell-input.tsx +4 -2
  181. package/src/components/editor/actions/useCellActionButton.tsx +4 -2
  182. package/src/components/editor/ai/add-cell-with-ai.tsx +2 -1
  183. package/src/components/editor/cell/CellStatus.tsx +4 -5
  184. package/src/components/editor/cell/cell-context-menu.tsx +4 -2
  185. package/src/components/editor/cell/code/cell-editor.tsx +2 -1
  186. package/src/components/editor/cell/toolbar.tsx +2 -1
  187. package/src/components/editor/chrome/components/contribute-snippet-button.tsx +4 -1
  188. package/src/components/editor/chrome/components/feedback-button.tsx +4 -1
  189. package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +1 -1
  190. package/src/components/editor/chrome/panels/file-explorer-panel.tsx +0 -10
  191. package/src/components/editor/chrome/wrapper/app-chrome.tsx +4 -1
  192. package/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx +2 -1
  193. package/src/components/editor/header/filename-input.tsx +4 -1
  194. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +11 -12
  195. package/src/components/storage/__tests__/storage-snippets.test.ts +4 -6
  196. package/src/components/tracing/tracing.test.tsx +30 -30
  197. package/src/components/ui/accordion.tsx +1 -1
  198. package/src/components/ui/alert-dialog.tsx +1 -1
  199. package/src/components/ui/badge.tsx +2 -1
  200. package/src/components/ui/button.tsx +4 -3
  201. package/src/components/ui/calendar.tsx +3 -2
  202. package/src/components/ui/checkbox.tsx +1 -1
  203. package/src/components/ui/combobox.tsx +2 -1
  204. package/src/components/ui/command.tsx +4 -1
  205. package/src/components/ui/context-menu.tsx +1 -1
  206. package/src/components/ui/date-input.tsx +7 -6
  207. package/src/components/ui/date-picker.tsx +6 -4
  208. package/src/components/ui/dialog.tsx +1 -1
  209. package/src/components/ui/draggable-popover.tsx +1 -1
  210. package/src/components/ui/dropdown-menu.tsx +2 -1
  211. package/src/components/ui/field.tsx +1 -2
  212. package/src/components/ui/form.tsx +4 -5
  213. package/src/components/ui/fullscreen.tsx +4 -1
  214. package/src/components/ui/label.tsx +1 -1
  215. package/src/components/ui/navigation.tsx +1 -1
  216. package/src/components/ui/popover.tsx +1 -1
  217. package/src/components/ui/progress.tsx +4 -3
  218. package/src/components/ui/query-param-preserving-link.tsx +4 -2
  219. package/src/components/ui/radio-group.tsx +1 -1
  220. package/src/components/ui/range-slider.tsx +1 -1
  221. package/src/components/ui/scroll-area.tsx +1 -1
  222. package/src/components/ui/select.tsx +1 -1
  223. package/src/components/ui/sheet.tsx +3 -2
  224. package/src/components/ui/slider.tsx +1 -1
  225. package/src/components/ui/switch.tsx +1 -1
  226. package/src/components/ui/tabs.tsx +1 -1
  227. package/src/components/ui/textarea.tsx +1 -2
  228. package/src/components/ui/toast.tsx +1 -1
  229. package/src/components/ui/toggle.tsx +1 -1
  230. package/src/components/ui/tooltip.tsx +1 -1
  231. package/src/core/ai/context/providers/cell-output.ts +1 -2
  232. package/src/core/ai/tools/edit-notebook-tool.ts +4 -3
  233. package/src/core/ai/tools/run-cells-tool.ts +4 -3
  234. package/src/core/cells/__tests__/add-missing-import.test.ts +23 -22
  235. package/src/core/cells/__tests__/apply-transaction.test.ts +12 -11
  236. package/src/core/cells/__tests__/cell.test.ts +14 -13
  237. package/src/core/cells/document-changes.ts +9 -9
  238. package/src/core/cells/logs.ts +1 -1
  239. package/src/core/codemirror/cells/__tests__/extensions.test.ts +15 -17
  240. package/src/core/codemirror/copilot/__tests__/transport.test.ts +128 -2
  241. package/src/core/codemirror/copilot/client.ts +9 -2
  242. package/src/core/codemirror/copilot/language-server.ts +11 -0
  243. package/src/core/codemirror/copilot/transport.ts +33 -8
  244. package/src/core/codemirror/language/languages/markdown.ts +1 -3
  245. package/src/core/codemirror/language/languages/python.ts +4 -0
  246. package/src/core/codemirror/language/languages/sql/completion-sources.tsx +4 -6
  247. package/src/core/codemirror/language/languages/sql/sql.ts +1 -3
  248. package/src/core/codemirror/language/panel/sql.tsx +4 -1
  249. package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +28 -42
  250. package/src/core/config/__tests__/config-schema.test.ts +2 -6
  251. package/src/core/config/config-schema.ts +0 -1
  252. package/src/core/config/feature-flag.tsx +0 -2
  253. package/src/core/datasets/data-source-connections.ts +4 -2
  254. package/src/core/dom/__tests__/htmlUtils.test.ts +8 -14
  255. package/src/core/dom/__tests__/outline.test.ts +2 -3
  256. package/src/core/edit-app.tsx +4 -1
  257. package/src/core/islands/__tests__/bridge.test.ts +20 -10
  258. package/src/core/islands/__tests__/parse.test.ts +8 -7
  259. package/src/core/network/__tests__/requests-lazy.test.ts +30 -14
  260. package/src/core/saving/__tests__/filename.test.ts +7 -6
  261. package/src/core/static/__tests__/download-html.test.ts +16 -15
  262. package/src/core/static/__tests__/files.test.ts +30 -28
  263. package/src/core/websocket/useMarimoKernelConnection.tsx +5 -11
  264. package/src/core/websocket/useWebSocket.tsx +3 -1
  265. package/src/css/app/Cell.css +25 -1
  266. package/src/css/globals.css +40 -14
  267. package/src/css/table.css +17 -0
  268. package/src/plugins/core/BadPlugin.tsx +7 -6
  269. package/src/plugins/impl/CheckboxPlugin.tsx +4 -1
  270. package/src/plugins/impl/DataEditorPlugin.tsx +8 -3
  271. package/src/plugins/impl/DataTablePlugin.tsx +5 -1
  272. package/src/plugins/impl/FormPlugin.tsx +1 -2
  273. package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +4 -1
  274. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +43 -15
  275. package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +2 -11
  276. package/src/plugins/impl/chat/chat-ui.tsx +4 -1
  277. package/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx +7 -9
  278. package/src/plugins/impl/plotly/PlotlyPlugin.tsx +12 -68
  279. package/src/plugins/impl/plotly/__tests__/selection.test.ts +237 -0
  280. package/src/plugins/impl/plotly/selection.ts +115 -0
  281. package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +13 -14
  282. package/src/plugins/impl/vega/__tests__/utils.test.ts +68 -0
  283. package/src/plugins/impl/vega/utils.ts +14 -5
  284. package/src/plugins/impl/vega/vega.css +2 -1
  285. package/src/plugins/layout/ImageComparisonPlugin.tsx +1 -3
  286. package/src/plugins/stateless-plugin.ts +4 -2
  287. package/src/utils/__tests__/cell-urls.test.ts +24 -21
  288. package/src/utils/__tests__/filenames.test.ts +15 -14
  289. package/src/utils/__tests__/json-parser.test.ts +14 -21
  290. package/src/utils/__tests__/path.test.ts +34 -31
  291. package/src/utils/__tests__/urls.test.ts +19 -18
  292. package/src/utils/json/base64.ts +2 -5
  293. package/src/utils/time.ts +4 -2
  294. package/src/utils/tracer.ts +1 -0
  295. package/src/utils/typed.ts +2 -2
  296. package/dist/_basePickBy-QjOmBDRE.js +0 -110
  297. package/dist/_baseSet-xgn1IbGV.js +0 -27
  298. package/dist/architecture-7HQA4BMR-BRyVh_Za.js +0 -6
  299. package/dist/assets/__vite-browser-external-Us1ds95c.js +0 -1
  300. package/dist/dist-B0R_ZM4-.js +0 -6
  301. package/dist/dist-B4a9_9pj.js +0 -5
  302. package/dist/dist-BCSUKEwO.js +0 -5
  303. package/dist/dist-BONIDQq6.js +0 -5
  304. package/dist/dist-BYeRx2hb.js +0 -5
  305. package/dist/dist-D2Rk1j4R.js +0 -1381
  306. package/dist/dist-DZjX5TYv.js +0 -5
  307. package/dist/dist-Dkw9x6kc.js +0 -5
  308. package/dist/dist-Ds6UaXGR.js +0 -6
  309. package/dist/dist-KuEJ1Q53.js +0 -8
  310. package/dist/dist-S72WNyTZ.js +0 -5
  311. package/dist/dist-bTG-yssT.js +0 -5
  312. package/dist/dist-diF0sguc.js +0 -8
  313. package/dist/dist-mJ84BIgu.js +0 -8
  314. package/dist/dist-wSIhFWQz.js +0 -8
  315. package/dist/get-CqrzlV1v.js +0 -68
  316. package/dist/range-CYz5jI--.js +0 -17
  317. package/dist/stex-CZyTRGVB.js +0 -4
  318. package/dist/tooltip-DGHTbHl5.js +0 -404
  319. /package/dist/{dist-KZI_BHqV.js → dist-CxZvoNao.js} +0 -0
  320. /package/dist/{invariant-D4hPsZFI.js → invariant-e8eBgdux.js} +0 -0
  321. /package/dist/{isArrayLikeObject-C-hFPChh.js → isArrayLikeObject-LXbTYiBa.js} +0 -0
  322. /package/dist/{main-CvkAPtaq.js → main-XimWhSi_.js} +0 -0
  323. /package/dist/{purify.es-ukiMXY-F.js → purify.es-hTCfRGdl.js} +0 -0
  324. /package/dist/{react-dom-BKwCWYPW.js → react-dom-BSUuJjCR.js} +0 -0
  325. /package/dist/{stex-Ze8D4R_5.js → stex-D887Ylhf.js} +0 -0
@@ -4,15 +4,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { t as require_react } from "./react-Bs6Z0kvn.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
7
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-CBo9JcJW.js";
8
- import { A as logNever, a as Select, c as SelectItem, d as SelectTrigger, f as SelectValue, i as capitalize, o as SelectContent, t as Label } from "./label-DTNqw9tv.js";
9
- import { _ as DropdownMenuSub, d as DropdownMenuContent, dt as marked, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, ut as useNonce, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-BSde8uV4.js";
10
- import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-CQ-RbYxp.js";
11
- import { h as Logger, m as Events, t as Button } from "./button-qsiIHncQ.js";
12
- import "./Combination-B--d1_LV.js";
7
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B7781WJ3.js";
8
+ import { C as logNever, a as SelectContent, d as SelectValue, i as Select, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger } from "./label-DbZGAoCH.js";
9
+ import { G as marked, W as useNonce, _ as DropdownMenuSub, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-CFY9gApZ.js";
10
+ import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-D_ntCXg0.js";
11
+ import { g as Logger, h as Events, t as Button } from "./button-DNlNlZY_.js";
12
+ import "./react-dom-BSUuJjCR.js";
13
13
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
14
- import "./react-dom-BKwCWYPW.js";
15
- import { n as useTheme, w as useEvent_default } from "./useTheme-Dm1WaAGy.js";
14
+ import "./zod-C6UGQ3fz.js";
15
+ import { n as useTheme, w as useEvent_default } from "./useTheme-MWfxn4oz.js";
16
16
  import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-vCXhHl-R.js";
17
17
  import { t as styled_default } from "./dist-BoNJsA65.js";
18
18
  let GlideDataEditor, glide_data_editor_default;
@@ -7379,7 +7379,7 @@ let __tla = (async () => {
7379
7379
  scrollRef: f
7380
7380
  };
7381
7381
  }
7382
- var import_clamp = __toESM(require_clamp(), 1), import_uniq = __toESM(require_uniq(), 1), import_flatten = __toESM(require_flatten(), 1), import_range = __toESM(require_range(), 1), import_debounce = __toESM(require_debounce(), 1), DataGridOverlayEditor = import_react.lazy(async () => await import("./data-grid-overlay-editor-nZux6_d2.js")), idCounter = 0;
7382
+ var import_clamp = __toESM(require_clamp(), 1), import_uniq = __toESM(require_uniq(), 1), import_flatten = __toESM(require_flatten(), 1), import_range = __toESM(require_range(), 1), import_debounce = __toESM(require_debounce(), 1), DataGridOverlayEditor = import_react.lazy(async () => await import("./data-grid-overlay-editor-lKF301ME.js")), idCounter = 0;
7383
7383
  function getSpanStops(e) {
7384
7384
  return (0, import_uniq.default)((0, import_flatten.default)((0, import_flatten.default)(e).filter((e2) => e2.span !== void 0).map((e2) => {
7385
7385
  var _a, _b;
@@ -10402,31 +10402,31 @@ let __tla = (async () => {
10402
10402
  htmlFor: "rename-input",
10403
10403
  children: "Column name"
10404
10404
  }), t[8] = m) : m = t[8];
10405
- let h;
10406
- t[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (e2) => o(e2.target.value), t[9] = h) : h = t[9];
10407
- let x;
10408
- t[10] !== u || t[11] !== a ? (x = (0, import_jsx_runtime.jsxs)("div", {
10405
+ let g;
10406
+ t[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (e2) => o(e2.target.value), t[9] = g) : g = t[9];
10407
+ let y;
10408
+ t[10] !== u || t[11] !== a ? (y = (0, import_jsx_runtime.jsxs)("div", {
10409
10409
  children: [
10410
10410
  m,
10411
10411
  (0, import_jsx_runtime.jsx)(Input, {
10412
10412
  value: a,
10413
- onChange: h,
10413
+ onChange: g,
10414
10414
  placeholder: "Enter new column name",
10415
10415
  className: "mt-1",
10416
10416
  onKeyDown: u
10417
10417
  })
10418
10418
  ]
10419
- }), t[10] = u, t[11] = a, t[12] = x) : x = t[12];
10420
- let S = !a.trim(), C;
10421
- t[13] !== c || t[14] !== S ? (C = (0, import_jsx_runtime.jsx)(Button, {
10419
+ }), t[10] = u, t[11] = a, t[12] = y) : y = t[12];
10420
+ let x = !a.trim(), C;
10421
+ t[13] !== c || t[14] !== x ? (C = (0, import_jsx_runtime.jsx)(Button, {
10422
10422
  onClick: c,
10423
- disabled: S,
10423
+ disabled: x,
10424
10424
  size: "sm",
10425
10425
  className: "w-full",
10426
10426
  children: "Rename"
10427
- }), t[13] = c, t[14] = S, t[15] = C) : C = t[15];
10428
- let D;
10429
- return t[16] !== x || t[17] !== C ? (D = (0, import_jsx_runtime.jsxs)(DropdownMenuSub, {
10427
+ }), t[13] = c, t[14] = x, t[15] = C) : C = t[15];
10428
+ let E;
10429
+ return t[16] !== y || t[17] !== C ? (E = (0, import_jsx_runtime.jsxs)(DropdownMenuSub, {
10430
10430
  children: [
10431
10431
  f,
10432
10432
  (0, import_jsx_runtime.jsx)(DropdownMenuPortal, {
@@ -10435,16 +10435,16 @@ let __tla = (async () => {
10435
10435
  children: (0, import_jsx_runtime.jsxs)("div", {
10436
10436
  className: "space-y-3",
10437
10437
  children: [
10438
- x,
10438
+ y,
10439
10439
  C
10440
10440
  ]
10441
10441
  })
10442
10442
  })
10443
10443
  })
10444
10444
  ]
10445
- }), t[16] = x, t[17] = C, t[18] = D) : D = t[18], D;
10445
+ }), t[16] = y, t[17] = C, t[18] = E) : E = t[18], E;
10446
10446
  }, AddColumnSub = (e) => {
10447
- let t = (0, import_compiler_runtime.c)(77), { direction: n, onAdd: r, onCancel: i } = e, [a, o] = (0, import_react.useState)(""), [s, l] = (0, import_react.useState)("string"), m, x, S, C, D, k, A, P, F, I, L, Pr, B, Fr, V;
10447
+ let t = (0, import_compiler_runtime.c)(77), { direction: n, onAdd: r, onCancel: i } = e, [a, o] = (0, import_react.useState)(""), [s, f] = (0, import_react.useState)("string"), m, y, x, C, E, O, A, P, F, I, L, Pr, B, Fr, V;
10448
10448
  if (t[0] !== a || t[1] !== s || t[2] !== n || t[3] !== r || t[4] !== i) {
10449
10449
  let e2 = [
10450
10450
  "string",
@@ -10453,14 +10453,14 @@ let __tla = (async () => {
10453
10453
  "datetime"
10454
10454
  ], Ir;
10455
10455
  t[20] !== a || t[21] !== s || t[22] !== r ? (Ir = () => {
10456
- a.trim() && (r(a.trim(), s), o(""), l("string"));
10457
- }, t[20] = a, t[21] = s, t[22] = r, t[23] = Ir) : Ir = t[23], k = Ir;
10456
+ a.trim() && (r(a.trim(), s), o(""), f("string"));
10457
+ }, t[20] = a, t[21] = s, t[22] = r, t[23] = Ir) : Ir = t[23], O = Ir;
10458
10458
  let Lr2;
10459
- t[24] !== k || t[25] !== i ? (Lr2 = (e3) => {
10460
- e3.key === "Enter" ? k() : e3.key === "Escape" && i();
10461
- }, t[24] = k, t[25] = i, t[26] = Lr2) : Lr2 = t[26];
10459
+ t[24] !== O || t[25] !== i ? (Lr2 = (e3) => {
10460
+ e3.key === "Enter" ? O() : e3.key === "Escape" && i();
10461
+ }, t[24] = O, t[25] = i, t[26] = Lr2) : Lr2 = t[26];
10462
10462
  let H2 = Lr2;
10463
- D = DropdownMenuSub;
10463
+ E = DropdownMenuSub;
10464
10464
  let Rr2;
10465
10465
  t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Rr2 = (0, import_jsx_runtime.jsx)(Plus, {
10466
10466
  className: "mr-2 h-3.5 w-3.5"
@@ -10470,7 +10470,7 @@ let __tla = (async () => {
10470
10470
  "Add column to the ",
10471
10471
  n
10472
10472
  ]
10473
- }), t[28] = n, t[29] = V), C = DropdownMenuPortal, S = DropdownMenuSubContent, Fr = "w-64 p-4", Pr = "space-y-3";
10473
+ }), t[28] = n, t[29] = V), C = DropdownMenuPortal, x = DropdownMenuSubContent, Fr = "w-64 p-4", Pr = "space-y-3";
10474
10474
  let U2 = `add-column-input-${n}`, W2;
10475
10475
  t[30] === U2 ? W2 = t[31] : (W2 = (0, import_jsx_runtime.jsx)(Label, {
10476
10476
  htmlFor: U2,
@@ -10496,27 +10496,27 @@ let __tla = (async () => {
10496
10496
  t[40] === Br2 ? L = t[41] : (L = (0, import_jsx_runtime.jsx)(Label, {
10497
10497
  htmlFor: Br2,
10498
10498
  children: "Data type"
10499
- }), t[40] = Br2, t[41] = L), x = Select, P = s, t[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = (e3) => l(e3), t[42] = F) : F = t[42];
10499
+ }), t[40] = Br2, t[41] = L), y = Select, P = s, t[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = (e3) => f(e3), t[42] = F) : F = t[42];
10500
10500
  let Vr = `add-column-type-${n}`, Hr;
10501
10501
  t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Hr = (0, import_jsx_runtime.jsx)(SelectValue, {}), t[43] = Hr) : Hr = t[43], t[44] === Vr ? I = t[45] : (I = (0, import_jsx_runtime.jsx)(SelectTrigger, {
10502
10502
  id: Vr,
10503
10503
  className: "mt-1",
10504
10504
  children: Hr
10505
- }), t[44] = Vr, t[45] = I), m = SelectContent, A = e2.map(_temp), t[0] = a, t[1] = s, t[2] = n, t[3] = r, t[4] = i, t[5] = m, t[6] = x, t[7] = S, t[8] = C, t[9] = D, t[10] = k, t[11] = A, t[12] = P, t[13] = F, t[14] = I, t[15] = L, t[16] = Pr, t[17] = B, t[18] = Fr, t[19] = V;
10506
- } else m = t[5], x = t[6], S = t[7], C = t[8], D = t[9], k = t[10], A = t[11], P = t[12], F = t[13], I = t[14], L = t[15], Pr = t[16], B = t[17], Fr = t[18], V = t[19];
10505
+ }), t[44] = Vr, t[45] = I), m = SelectContent, A = e2.map(_temp), t[0] = a, t[1] = s, t[2] = n, t[3] = r, t[4] = i, t[5] = m, t[6] = y, t[7] = x, t[8] = C, t[9] = E, t[10] = O, t[11] = A, t[12] = P, t[13] = F, t[14] = I, t[15] = L, t[16] = Pr, t[17] = B, t[18] = Fr, t[19] = V;
10506
+ } else m = t[5], y = t[6], x = t[7], C = t[8], E = t[9], O = t[10], A = t[11], P = t[12], F = t[13], I = t[14], L = t[15], Pr = t[16], B = t[17], Fr = t[18], V = t[19];
10507
10507
  let Lr;
10508
10508
  t[46] !== m || t[47] !== A ? (Lr = (0, import_jsx_runtime.jsx)(m, {
10509
10509
  children: A
10510
10510
  }), t[46] = m, t[47] = A, t[48] = Lr) : Lr = t[48];
10511
10511
  let H;
10512
- t[49] !== x || t[50] !== Lr || t[51] !== P || t[52] !== F || t[53] !== I ? (H = (0, import_jsx_runtime.jsxs)(x, {
10512
+ t[49] !== y || t[50] !== Lr || t[51] !== P || t[52] !== F || t[53] !== I ? (H = (0, import_jsx_runtime.jsxs)(y, {
10513
10513
  value: P,
10514
10514
  onValueChange: F,
10515
10515
  children: [
10516
10516
  I,
10517
10517
  Lr
10518
10518
  ]
10519
- }), t[49] = x, t[50] = Lr, t[51] = P, t[52] = F, t[53] = I, t[54] = H) : H = t[54];
10519
+ }), t[49] = y, t[50] = Lr, t[51] = P, t[52] = F, t[53] = I, t[54] = H) : H = t[54];
10520
10520
  let Rr;
10521
10521
  t[55] !== H || t[56] !== L ? (Rr = (0, import_jsx_runtime.jsxs)("div", {
10522
10522
  children: [
@@ -10525,13 +10525,13 @@ let __tla = (async () => {
10525
10525
  ]
10526
10526
  }), t[55] = H, t[56] = L, t[57] = Rr) : Rr = t[57];
10527
10527
  let U = !a.trim(), W;
10528
- t[58] !== k || t[59] !== U ? (W = (0, import_jsx_runtime.jsx)(Button, {
10529
- onClick: k,
10528
+ t[58] !== O || t[59] !== U ? (W = (0, import_jsx_runtime.jsx)(Button, {
10529
+ onClick: O,
10530
10530
  disabled: U,
10531
10531
  size: "sm",
10532
10532
  className: "w-full",
10533
10533
  children: "Add"
10534
- }), t[58] = k, t[59] = U, t[60] = W) : W = t[60];
10534
+ }), t[58] = O, t[59] = U, t[60] = W) : W = t[60];
10535
10535
  let zr;
10536
10536
  t[61] !== Rr || t[62] !== W || t[63] !== Pr || t[64] !== B ? (zr = (0, import_jsx_runtime.jsxs)("div", {
10537
10537
  className: Pr,
@@ -10542,21 +10542,21 @@ let __tla = (async () => {
10542
10542
  ]
10543
10543
  }), t[61] = Rr, t[62] = W, t[63] = Pr, t[64] = B, t[65] = zr) : zr = t[65];
10544
10544
  let G;
10545
- t[66] !== S || t[67] !== zr || t[68] !== Fr ? (G = (0, import_jsx_runtime.jsx)(S, {
10545
+ t[66] !== x || t[67] !== zr || t[68] !== Fr ? (G = (0, import_jsx_runtime.jsx)(x, {
10546
10546
  className: Fr,
10547
10547
  children: zr
10548
- }), t[66] = S, t[67] = zr, t[68] = Fr, t[69] = G) : G = t[69];
10548
+ }), t[66] = x, t[67] = zr, t[68] = Fr, t[69] = G) : G = t[69];
10549
10549
  let K;
10550
10550
  t[70] !== C || t[71] !== G ? (K = (0, import_jsx_runtime.jsx)(C, {
10551
10551
  children: G
10552
10552
  }), t[70] = C, t[71] = G, t[72] = K) : K = t[72];
10553
10553
  let Br;
10554
- return t[73] !== D || t[74] !== K || t[75] !== V ? (Br = (0, import_jsx_runtime.jsxs)(D, {
10554
+ return t[73] !== E || t[74] !== K || t[75] !== V ? (Br = (0, import_jsx_runtime.jsxs)(E, {
10555
10555
  children: [
10556
10556
  V,
10557
10557
  K
10558
10558
  ]
10559
- }), t[73] = D, t[74] = K, t[75] = V, t[76] = Br) : Br = t[76], Br;
10559
+ }), t[73] = E, t[74] = K, t[75] = V, t[76] = Br) : Br = t[76], Br;
10560
10560
  };
10561
10561
  function _temp(e) {
10562
10562
  return (0, import_jsx_runtime.jsx)(SelectItem, {
@@ -10628,7 +10628,7 @@ let __tla = (async () => {
10628
10628
  }
10629
10629
  }
10630
10630
  GlideDataEditor = ({ data: e, setData: t, columnFields: n, setColumnFields: r, editableColumns: c, edits: l, onAddEdits: u, onAddRows: f, onDeleteRows: m, onRenameColumn: h, onDeleteColumn: g, onAddColumn: y }) => {
10631
- let { theme: S } = useTheme(), E = (0, import_react.useRef)(null), [O, j] = (0, import_react.useState)(), [M, N] = (0, import_react.useState)(false), [I, L] = import_react.useState({
10631
+ let { theme: S } = useTheme(), D = (0, import_react.useRef)(null), [k, j] = (0, import_react.useState)(), [M, N] = (0, import_react.useState)(false), [I, L] = import_react.useState({
10632
10632
  columns: CompactSelection.empty(),
10633
10633
  rows: CompactSelection.empty()
10634
10634
  }), [B, V] = (0, import_react.useState)({}), Rr = useNonce(), U = (0, import_react.useRef)(false), W = (0, import_react.useMemo)(() => {
@@ -10775,9 +10775,9 @@ let __tla = (async () => {
10775
10775
  n,
10776
10776
  W
10777
10777
  ]), Vr = (0, import_react.useCallback)((n2) => {
10778
- if (E.current) {
10778
+ if (D.current) {
10779
10779
  if (Events.isMetaOrCtrl(n2) && n2.key === "c") {
10780
- E.current.emit("copy");
10780
+ D.current.emit("copy");
10781
10781
  return;
10782
10782
  }
10783
10783
  if (Events.isMetaOrCtrl(n2) && n2.key === "v") {
@@ -10870,8 +10870,8 @@ let __tla = (async () => {
10870
10870
  bounds: t2
10871
10871
  });
10872
10872
  }), Gr = async () => {
10873
- if (O) {
10874
- let e2 = W[O.col].title;
10873
+ if (k) {
10874
+ let e2 = W[k.col].title;
10875
10875
  await copyToClipboard(e2), j(void 0);
10876
10876
  }
10877
10877
  };
@@ -10883,31 +10883,31 @@ let __tla = (async () => {
10883
10883
  });
10884
10884
  }
10885
10885
  let qr = (e2) => {
10886
- if (O) {
10887
- let i = W[O.col].title;
10886
+ if (k) {
10887
+ let i = W[k.col].title;
10888
10888
  if (n[e2]) {
10889
10889
  Kr(e2);
10890
10890
  return;
10891
10891
  }
10892
- let a = W[O.col].dataType;
10893
- h(O.col, e2), r((t2) => modifyColumnFields({
10892
+ let a = W[k.col].dataType;
10893
+ h(k.col, e2), r((t2) => modifyColumnFields({
10894
10894
  columnFields: t2,
10895
- columnIdx: O.col,
10895
+ columnIdx: k.col,
10896
10896
  type: "rename",
10897
10897
  dataType: a,
10898
10898
  newColumnName: e2
10899
10899
  })), t((t2) => renameColumn(t2, i, e2)), j(void 0);
10900
10900
  }
10901
10901
  }, q = () => {
10902
- O && (g(O.col), r((e2) => modifyColumnFields({
10902
+ k && (g(k.col), r((e2) => modifyColumnFields({
10903
10903
  columnFields: e2,
10904
- columnIdx: O.col,
10904
+ columnIdx: k.col,
10905
10905
  type: "remove"
10906
- })), t((e2) => removeColumn(e2, O.col)), j(void 0));
10906
+ })), t((e2) => removeColumn(e2, k.col)), j(void 0));
10907
10907
  }, Jr = (e2) => {
10908
10908
  let { direction: i, columnName: a, dataType: o } = e2;
10909
- if (O) {
10910
- let e3 = O.col + (i === "left" ? 0 : 1), s = Math.max(0, Math.min(e3, W.length));
10909
+ if (k) {
10910
+ let e3 = k.col + (i === "left" ? 0 : 1), s = Math.max(0, Math.min(e3, W.length));
10911
10911
  if (n[a]) {
10912
10912
  Kr(a);
10913
10913
  return;
@@ -10920,7 +10920,7 @@ let __tla = (async () => {
10920
10920
  newColumnName: a
10921
10921
  })), t((e4) => insertColumn(e4, a)), j(void 0);
10922
10922
  }
10923
- }, Yr = (O == null ? void 0 : O.col) === W.length - 1, Xr = O !== void 0, J = "mr-2 h-3.5 w-3.5", Zr = {
10923
+ }, Yr = (k == null ? void 0 : k.col) === W.length - 1, Xr = k !== void 0, J = "mr-2 h-3.5 w-3.5", Zr = {
10924
10924
  hint: "New row",
10925
10925
  sticky: true,
10926
10926
  tint: true
@@ -10930,7 +10930,7 @@ let __tla = (async () => {
10930
10930
  children: [
10931
10931
  (0, import_jsx_runtime.jsx)(ErrorBoundary, {
10932
10932
  children: (0, import_jsx_runtime.jsx)(DataEditorAll, {
10933
- ref: E,
10933
+ ref: D,
10934
10934
  getCellContent: zr,
10935
10935
  columns: W,
10936
10936
  gridSelection: I,
@@ -10967,7 +10967,7 @@ let __tla = (async () => {
10967
10967
  let e2 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10968
10968
  children: [
10969
10969
  Qr && (0, import_jsx_runtime.jsx)(RenameColumnSub, {
10970
- currentColumnName: W[O.col].title,
10970
+ currentColumnName: W[k.col].title,
10971
10971
  onRename: qr,
10972
10972
  onCancel: () => j(void 0)
10973
10973
  }),
@@ -11008,8 +11008,8 @@ let __tla = (async () => {
11008
11008
  onOpenChange: (e3) => !e3 && j(void 0),
11009
11009
  children: (0, import_jsx_runtime.jsxs)(DropdownMenuContent, {
11010
11010
  style: {
11011
- left: (O == null ? void 0 : O.bounds.x) ?? 0,
11012
- top: ((O == null ? void 0 : O.bounds.y) ?? 0) + ((O == null ? void 0 : O.bounds.height) ?? 0)
11011
+ left: (k == null ? void 0 : k.bounds.x) ?? 0,
11012
+ top: ((k == null ? void 0 : k.bounds.y) ?? 0) + ((k == null ? void 0 : k.bounds.height) ?? 0)
11013
11013
  },
11014
11014
  className: "fixed w-52",
11015
11015
  children: [
@@ -1,6 +1,7 @@
1
- import { L as isFunction_default, N as constant_default, T as _baseRest_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-C-hFPChh.js";
2
- import { t as isEmpty_default } from "./isEmpty-BQtUinxJ.js";
3
- import { C as keys_default, S as _baseFlatten_default, a as filter_default, i as values_default, n as reduce_default, r as isUndefined_default, s as forEach_default, t as _baseUniq_default } from "./_baseUniq-B4eL5sTC.js";
1
+ import { L as isFunction_default, N as constant_default, T as _baseRest_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-LXbTYiBa.js";
2
+ import { r as _baseFlatten_default } from "./hasIn-DnfJcYpY.js";
3
+ import { t as isEmpty_default } from "./isEmpty-B7FX9wKt.js";
4
+ import { a as filter_default, b as keys_default, i as values_default, n as reduce_default, r as isUndefined_default, s as forEach_default, t as _baseUniq_default } from "./_baseUniq-C87CckHL.js";
4
5
  var union_default = _baseRest_default(function(e) {
5
6
  return _baseUniq_default(_baseFlatten_default(e, 1, isArrayLikeObject_default, true));
6
7
  }), DEFAULT_EDGE_NAME = "\0", GRAPH_NODE = "\0", EDGE_KEY_DELIM = "", Graph = class {
@@ -0,0 +1,108 @@
1
+ import { B as isArray_default, U as _Symbol_default, j as _isIndex_default, w as isLength_default, y as isArguments_default } from "./isArrayLikeObject-LXbTYiBa.js";
2
+ import { t as isSymbol_default } from "./isSymbol-DCbjQG_U.js";
3
+ import { t as memoize_default } from "./memoize-CSTI9eOX.js";
4
+ function arrayMap(f, R) {
5
+ for (var z = -1, B = f == null ? 0 : f.length, V = Array(B); ++z < B; ) V[z] = R(f[z], z, f);
6
+ return V;
7
+ }
8
+ var _arrayMap_default = arrayMap, INFINITY$1 = Infinity, symbolProto = _Symbol_default ? _Symbol_default.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
9
+ function baseToString(R) {
10
+ if (typeof R == "string") return R;
11
+ if (isArray_default(R)) return _arrayMap_default(R, baseToString) + "";
12
+ if (isSymbol_default(R)) return symbolToString ? symbolToString.call(R) : "";
13
+ var z = R + "";
14
+ return z == "0" && 1 / R == -INFINITY$1 ? "-0" : z;
15
+ }
16
+ var _baseToString_default = baseToString, reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
17
+ function isKey(R, z) {
18
+ if (isArray_default(R)) return false;
19
+ var B = typeof R;
20
+ return B == "number" || B == "symbol" || B == "boolean" || R == null || isSymbol_default(R) ? true : reIsPlainProp.test(R) || !reIsDeepProp.test(R) || z != null && R in Object(z);
21
+ }
22
+ var _isKey_default = isKey, MAX_MEMOIZE_SIZE = 500;
23
+ function memoizeCapped(f) {
24
+ var R = memoize_default(f, function(f2) {
25
+ return z.size === MAX_MEMOIZE_SIZE && z.clear(), f2;
26
+ }), z = R.cache;
27
+ return R;
28
+ }
29
+ var _memoizeCapped_default = memoizeCapped, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, reEscapeChar = /\\(\\)?/g, _stringToPath_default = _memoizeCapped_default(function(f) {
30
+ var R = [];
31
+ return f.charCodeAt(0) === 46 && R.push(""), f.replace(rePropName, function(f2, z, B, V) {
32
+ R.push(B ? V.replace(reEscapeChar, "$1") : z || f2);
33
+ }), R;
34
+ });
35
+ function toString(f) {
36
+ return f == null ? "" : _baseToString_default(f);
37
+ }
38
+ var toString_default = toString;
39
+ function castPath(R, z) {
40
+ return isArray_default(R) ? R : _isKey_default(R, z) ? [R] : _stringToPath_default(toString_default(R));
41
+ }
42
+ var _castPath_default = castPath, INFINITY = Infinity;
43
+ function toKey(f) {
44
+ if (typeof f == "string" || isSymbol_default(f)) return f;
45
+ var R = f + "";
46
+ return R == "0" && 1 / f == -INFINITY ? "-0" : R;
47
+ }
48
+ var _toKey_default = toKey;
49
+ function baseGet(f, R) {
50
+ R = _castPath_default(R, f);
51
+ for (var z = 0, B = R.length; f != null && z < B; ) f = f[_toKey_default(R[z++])];
52
+ return z && z == B ? f : void 0;
53
+ }
54
+ var _baseGet_default = baseGet;
55
+ function get(f, R, z) {
56
+ var B = f == null ? void 0 : _baseGet_default(f, R);
57
+ return B === void 0 ? z : B;
58
+ }
59
+ var get_default = get;
60
+ function arrayPush(f, R) {
61
+ for (var z = -1, B = R.length, V = f.length; ++z < B; ) f[V + z] = R[z];
62
+ return f;
63
+ }
64
+ var _arrayPush_default = arrayPush, spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : void 0;
65
+ function isFlattenable(R) {
66
+ return isArray_default(R) || isArguments_default(R) || !!(spreadableSymbol && R && R[spreadableSymbol]);
67
+ }
68
+ var _isFlattenable_default = isFlattenable;
69
+ function baseFlatten(f, R, z, B, V) {
70
+ var H = -1, U = f.length;
71
+ for (z || (z = _isFlattenable_default), V || (V = []); ++H < U; ) {
72
+ var W = f[H];
73
+ R > 0 && z(W) ? R > 1 ? baseFlatten(W, R - 1, z, B, V) : _arrayPush_default(V, W) : B || (V[V.length] = W);
74
+ }
75
+ return V;
76
+ }
77
+ var _baseFlatten_default = baseFlatten;
78
+ function baseHasIn(f, R) {
79
+ return f != null && R in Object(f);
80
+ }
81
+ var _baseHasIn_default = baseHasIn;
82
+ function hasPath(R, H, U) {
83
+ H = _castPath_default(H, R);
84
+ for (var W = -1, G = H.length, K = false; ++W < G; ) {
85
+ var q = _toKey_default(H[W]);
86
+ if (!(K = R != null && U(R, q))) break;
87
+ R = R[q];
88
+ }
89
+ return K || ++W != G ? K : (G = R == null ? 0 : R.length, !!G && isLength_default(G) && _isIndex_default(q, G) && (isArray_default(R) || isArguments_default(R)));
90
+ }
91
+ var _hasPath_default = hasPath;
92
+ function hasIn(f, R) {
93
+ return f != null && _hasPath_default(f, R, _baseHasIn_default);
94
+ }
95
+ var hasIn_default = hasIn;
96
+ export {
97
+ get_default as a,
98
+ _castPath_default as c,
99
+ _arrayMap_default as d,
100
+ _arrayPush_default as i,
101
+ toString_default as l,
102
+ _hasPath_default as n,
103
+ _baseGet_default as o,
104
+ _baseFlatten_default as r,
105
+ _toKey_default as s,
106
+ hasIn_default as t,
107
+ _isKey_default as u
108
+ };
@@ -1,6 +1,6 @@
1
- import "./chunk-TCCFYFTB-BAhzIqBO.js";
2
- import "./main-CvkAPtaq.js";
3
- import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-Derq8UzY.js";
1
+ import "./chunk-TCCFYFTB-Clbl-fTg.js";
2
+ import "./main-XimWhSi_.js";
3
+ import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-DnEvEFRR.js";
4
4
  export {
5
5
  createInfoServices
6
6
  };
@@ -1,18 +1,18 @@
1
- import "./chunk-TCCFYFTB-BAhzIqBO.js";
2
- import "./main-CvkAPtaq.js";
3
- import "./purify.es-ukiMXY-F.js";
1
+ import "./chunk-TCCFYFTB-Clbl-fTg.js";
2
+ import "./main-XimWhSi_.js";
3
+ import "./purify.es-hTCfRGdl.js";
4
4
  import { i as log, r as __name } from "./src-DbP20yFZ.js";
5
5
  import { t as package_default } from "./chunk-DR5Q36YT-C40cYcy5.js";
6
- import { c as configureSvgSize } from "./chunk-ABZYJK2D-D5YIs71w.js";
7
- import { t as selectSvgElement } from "./chunk-EXTU4WIE-CgefpSXQ.js";
8
- import "./chunk-UMXZTB3W-CuahpKin.js";
9
- import "./chunk-4F5CHEZ2-Dvo_CFnR.js";
10
- import "./chunk-FRFDVMJY-Derq8UzY.js";
11
- import "./chunk-SJTYNZTY-Co-DhKAG.js";
12
- import "./chunk-PL6DKKU2-KoG71Zin.js";
13
- import "./chunk-TQ3KTPDO-DxYI735Z.js";
14
- import "./chunk-B2363JML-BzZqINRO.js";
15
- import { t as parse } from "./mermaid-parser.core-cq4YDee-.js";
6
+ import { c as configureSvgSize } from "./chunk-ABZYJK2D-CZYCCtLy.js";
7
+ import { t as selectSvgElement } from "./chunk-EXTU4WIE-jUPSAk3i.js";
8
+ import "./chunk-UMXZTB3W-D-A834Bq.js";
9
+ import "./chunk-4F5CHEZ2-D5mClyDv.js";
10
+ import "./chunk-FRFDVMJY-DnEvEFRR.js";
11
+ import "./chunk-SJTYNZTY-BsBZnJUj.js";
12
+ import "./chunk-PL6DKKU2-DnId6G-x.js";
13
+ import "./chunk-TQ3KTPDO-CFkSQ30e.js";
14
+ import "./chunk-B2363JML-Br0eA2T3.js";
15
+ import { t as parse } from "./mermaid-parser.core-ntCgyx0x.js";
16
16
  var parser = { parse: /* @__PURE__ */ __name(async (a) => {
17
17
  let o = await parse("info", a);
18
18
  log.debug(o);