@marimo-team/islands 0.25.3-dev209 → 0.25.3-dev210

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 (140) hide show
  1. package/dist/{ConnectedDataExplorerComponent-ApTYh0V3.js → ConnectedDataExplorerComponent-D6RHJV8D.js} +114 -112
  2. package/dist/{ErrorBoundary-B1QlXN-y.js → ErrorBoundary-VruaQLnK.js} +10 -10
  3. package/dist/{abnfDiagram-VCTEODGH-uo9xhZY0.js → abnfDiagram-VCTEODGH-0q7Lbmii.js} +2 -2
  4. package/dist/{any-language-editor-BVFHDDQ3.js → any-language-editor-jGaR0EAo.js} +5 -5
  5. package/dist/{architectureDiagram-5GKGNRK7-Hz6eyeOD.js → architectureDiagram-5GKGNRK7-1PydKPmE.js} +1 -1
  6. package/dist/{button-BQRdqQi1.js → button-B6RjDKJx.js} +54 -51
  7. package/dist/{capabilities-C2QUNRXi.js → capabilities-CkVzWJEX.js} +1 -1
  8. package/dist/{chat-ui-BTA1I5i1.js → chat-ui-B5pH_aXk.js} +414 -413
  9. package/dist/{check-C9Mp9eCK.js → check-Z_vtI3OL.js} +1 -1
  10. package/dist/{chunk-IMKFNOWR-DBM2i23k.js → chunk-IMKFNOWR-DEzZZ1Zc.js} +1 -1
  11. package/dist/{chunk-SHT3W25Y-L8KQLLBy.js → chunk-SHT3W25Y-CuHj-hnn.js} +1 -1
  12. package/dist/{chunk-SVP7TREG-BOUJKJEP.js → chunk-SVP7TREG-BPiZK2bA.js} +1 -1
  13. package/dist/{chunk-TICWLB2K-DY3CzFjX.js → chunk-TICWLB2K-DF6XcIjM.js} +1 -1
  14. package/dist/{classDiagram-ZZMXUADV-s9iwW-q4.js → classDiagram-ZZMXUADV-CMdR-cP4.js} +2 -2
  15. package/dist/{classDiagram-v2-VYDZK3BY-2GI5CjGB.js → classDiagram-v2-VYDZK3BY-DRvc3_7Y.js} +2 -2
  16. package/dist/{code-visibility-CCGlDSq4.js → code-visibility-BdFhHfIC.js} +28 -28
  17. package/dist/{common-C1PmVtVW.js → common-Ce1SgsX1.js} +8034 -8027
  18. package/dist/{toDate-BZZ64K_m.js → config-DbjzjwxX.js} +98 -164
  19. package/dist/{copy-icon-De584pZ4.js → copy-icon-CG57cxwb.js} +3 -3
  20. package/dist/createReducer-DePYJ0F3.js +63 -0
  21. package/dist/{cynefinDiagram-5FMLGOSQ-DOxnhBK2.js → cynefinDiagram-5FMLGOSQ-BkBjEY9l.js} +1 -1
  22. package/dist/{dagre-GXQ25YYZ-D1AhEfpM.js → dagre-GXQ25YYZ-D-HEaW4I.js} +1 -1
  23. package/dist/{data-grid-overlay-editor-B3KXkZvo.js → data-grid-overlay-editor-Bps1p6jQ.js} +1 -1
  24. package/dist/{diagram-S7CK7UJ4-DV_GebF_.js → diagram-S7CK7UJ4-Bn-oF-rB.js} +1 -1
  25. package/dist/{diagram-UQ7AKVKN-6dNzGFfD.js → diagram-UQ7AKVKN-BpzzXWBj.js} +1 -1
  26. package/dist/{diagram-VX7I27RA-DUh9jsfi.js → diagram-VX7I27RA-COOtvfBP.js} +1 -1
  27. package/dist/{diagram-Z3DM3KII-Cug-qcQ8.js → diagram-Z3DM3KII-K5cXvbrl.js} +1 -1
  28. package/dist/{dialog-DVRfQuhD.js → dialog-DsZ49mmU.js} +26 -26
  29. package/dist/{dist-BJtmSgcE.js → dist-11T5wq3_.js} +41 -40
  30. package/dist/{dist-B1M0bGO3.js → dist-17ugwGZc.js} +59 -58
  31. package/dist/{dist-D7mrh5sO.js → dist-7cRjf--y.js} +135 -134
  32. package/dist/{dist-Ck_C32ye.js → dist-B8pkfkzc.js} +31 -30
  33. package/dist/{dist-Ba2VIn1K.js → dist-B9UoM_wq.js} +54 -53
  34. package/dist/{dist-KN80qWCP.js → dist-BGuMTs1i.js} +118 -117
  35. package/dist/{dist-T5rh6JvL.js → dist-BHW11fni.js} +18 -17
  36. package/dist/dist-BLY4m1Wi.js +850 -0
  37. package/dist/{dist-Bj4bmwUm.js → dist-BNlcVoxs.js} +31 -30
  38. package/dist/{dist-BA13RJj5.js → dist-BQYe5Bju.js} +47 -46
  39. package/dist/{dist-OUle2RT7.js → dist-BX1mn8na.js} +297 -297
  40. package/dist/{dist-CTi5FTiV.js → dist-Bh0PTKUW.js} +108 -107
  41. package/dist/{dist-D9Q3xjiP.js → dist-CKaXK92p.js} +56 -55
  42. package/dist/{dist-DYXM73-k.js → dist-CLhwfhpJ.js} +58 -57
  43. package/dist/{dist-BmS-ZGjl.js → dist-CYeqK4Xw.js} +1854 -2702
  44. package/dist/{dist-D1fnFp1J.js → dist-Cxlp3WH6.js} +16 -15
  45. package/dist/{dist-DVVwOfrD.js → dist-DSJPGj42.js} +64 -63
  46. package/dist/{dist-Bzogh7CW.js → dist-DU9ICsWZ.js} +93 -92
  47. package/dist/{dist-DjeybPOb.js → dist-DWv0ALBi.js} +47 -46
  48. package/dist/{dist-D3x9__Fu.js → dist-DiBpWEsB.js} +39 -38
  49. package/dist/{dist-DtGn9N4h.js → dist-DiLFTlnl.js} +165 -165
  50. package/dist/{dist-DTv9KkpW.js → dist-cVDV5IuI.js} +26 -25
  51. package/dist/{dist-DP60Ubh8.js → dist-fRfaOoq8.js} +44 -43
  52. package/dist/{dist-O0qFpEJh.js → dist-gTTI-9Px.js} +66 -65
  53. package/dist/{dropdown-menu-dlEm41Bt.js → dropdown-menu-CSNdPSnS.js} +2886 -1529
  54. package/dist/{ebnfDiagram-PWID7BFC-d5LKx7Vb.js → ebnfDiagram-PWID7BFC-BI1ZmjVm.js} +2 -2
  55. package/dist/{erDiagram-RLTQ6QDP-BwvlkcID.js → erDiagram-RLTQ6QDP-BtWjj9xy.js} +1 -1
  56. package/dist/{error-banner-DxJ3s8YO.js → error-banner-IsonnvA0.js} +47 -46
  57. package/dist/error-entries-CRPfxMqm.js +2505 -0
  58. package/dist/{esm-Bbw_Njjx.js → esm-BgKjMvWw.js} +389 -388
  59. package/dist/{esm-mDQNEFe_.js → esm-CHjVSexr.js} +305 -306
  60. package/dist/{feedback-button-UsovT9sL.js → feedback-button-2ycmR9GG.js} +112 -112
  61. package/dist/{flowDiagram-HODETNUW-CJcSoFer.js → flowDiagram-HODETNUW-DQvZh96A.js} +2 -2
  62. package/dist/{formats-Ry7c-aIV.js → formats-BK4VefeF.js} +6 -6
  63. package/dist/{glide-data-editor-CRd8kBSp.js → glide-data-editor-Buj2OZjL.js} +99 -99
  64. package/dist/{glide-utils-D98laidb.js → glide-utils-CQddGpa-.js} +3 -3
  65. package/dist/{globals-BDWrOstF.js → globals-B-14fUeb.js} +3 -3
  66. package/dist/{error-entries-CVUHA5r_.js → html-to-image-CgAnxFi8.js} +26314 -25474
  67. package/dist/{infoDiagram-27XIBGKW-Cezgppw3.js → infoDiagram-27XIBGKW-BdAObnc_.js} +1 -1
  68. package/dist/{ishikawaDiagram-5VMMS53U-BahZQwJz.js → ishikawaDiagram-5VMMS53U-DP-jE8dw.js} +1 -1
  69. package/dist/{kanban-definition-UXKFOSKX-Cvfn_Obm.js → kanban-definition-UXKFOSKX-BkMgPjfm.js} +1 -1
  70. package/dist/{loader-DOVB0Syl.js → loader-BisjOLiW.js} +1 -1
  71. package/dist/main.js +2996 -2992
  72. package/dist/{mermaid-BrdwbArF.js → mermaid-B-OFqheA.js} +36 -36
  73. package/dist/{mindmap-definition-YA3MSWOX-uB4B2d-J.js → mindmap-definition-YA3MSWOX-Du7toAZX.js} +1 -1
  74. package/dist/{number-overlay-editor-Bp9a4z5Q.js → number-overlay-editor-ZVFcJ7_u.js} +1 -1
  75. package/dist/{dist-CThPVKaP.js → objectWithoutPropertiesLoose-ai5NUqGa.js} +1139 -1120
  76. package/dist/{pegDiagram-XKGWAZYB-CYaIwAmH.js → pegDiagram-XKGWAZYB-CX_729j0.js} +2 -2
  77. package/dist/{pieDiagram-E7YTZNPT-BJ1oUxVv.js → pieDiagram-E7YTZNPT-dtTFJcVI.js} +1 -1
  78. package/dist/{process-output-SjJxB1wh.js → process-output-Bmev5azU.js} +5 -5
  79. package/dist/{railroadDiagram-O6MQD6OU-BqKSaBux.js → railroadDiagram-O6MQD6OU-Dsc2Cf4c.js} +2 -2
  80. package/dist/{requirementDiagram-BXWQKSXE-DwFhgDhH.js → requirementDiagram-BXWQKSXE-D3g0c60I.js} +1 -1
  81. package/dist/{reveal-component-ov3pS-oO.js → reveal-component-BWz1KjWe.js} +725 -725
  82. package/dist/schemas-CdscWNy_.js +4747 -0
  83. package/dist/select-BSxlITBo.js +1200 -0
  84. package/dist/{sequenceDiagram-WJ2MYXX4-L7ENjfKF.js → sequenceDiagram-WJ2MYXX4-w1pWbIpk.js} +1 -1
  85. package/dist/{spec-BcJ9ncAY.js → spec-Dq8RNplp.js} +4 -4
  86. package/dist/{stateDiagram-D77RDMKH-CVf88u-p.js → stateDiagram-D77RDMKH-BCv7kP4H.js} +2 -2
  87. package/dist/{stateDiagram-v2-MP3YSRHH-DvpkQ1V6.js → stateDiagram-v2-MP3YSRHH-D1cTOt0x.js} +2 -2
  88. package/dist/static-state-BldGd99T.js +72 -0
  89. package/dist/strings-BGW-fXVJ.js +507 -0
  90. package/dist/{swimlanes-42K2YHIH-DIuFHbVE.js → swimlanes-42K2YHIH-DNO6jDnd.js} +1 -1
  91. package/dist/{swimlanesDiagram-VR7AAH4N-CAqHAziW.js → swimlanesDiagram-VR7AAH4N-CkSWsxYJ.js} +2 -2
  92. package/dist/{swiper-component-BVfnhbnt.js → swiper-component-Dir1o8ml.js} +2 -2
  93. package/dist/{timeline-definition-24CTP7MA-xO4EQqBm.js → timeline-definition-24CTP7MA-DQvqGFM9.js} +1 -1
  94. package/dist/toast-BWIPi3aF.js +491 -0
  95. package/dist/{tooltip-s4zZxwKe.js → tooltip-C3UnvsRe.js} +58 -58
  96. package/dist/use-restore-focus-BWO0z1lo.js +1672 -0
  97. package/dist/{useAsyncData-Dqw22wZQ.js → useAsyncData-DsZMvNXn.js} +1 -1
  98. package/dist/{useDateFormatter-D3Tkfzej.js → useDateFormatter-ChB4eyim.js} +2 -2
  99. package/dist/{useDeepCompareMemoize-D3gozcjJ.js → useDeepCompareMemoize-KMBBux8C.js} +1 -1
  100. package/dist/{useIframeCapabilities-6a_yDNXp.js → useIframeCapabilities-cMNQ80CK.js} +1 -1
  101. package/dist/useLifecycle-BquH9ET-.js +112 -0
  102. package/dist/useTheme-B9C1JIy9.js +307 -0
  103. package/dist/utils-DXkj82sK.js +813 -0
  104. package/dist/{vega-component-Blvspl7v.js → vega-component-9NOEITbg.js} +55 -54
  105. package/dist/{vennDiagram-4TSXK5OY-DzCi-lRh.js → vennDiagram-4TSXK5OY-BfzXp4SH.js} +1 -1
  106. package/dist/{wardleyDiagram-VM6X3IG4-CW48xa0n.js → wardleyDiagram-VM6X3IG4-CiqEE8eq.js} +1 -1
  107. package/dist/{xychartDiagram-S5SC5T6Z-UPxGGI2B.js → xychartDiagram-S5SC5T6Z-BTIHCVOI.js} +1 -1
  108. package/package.json +1 -1
  109. package/src/components/editor/cell/__tests__/StagedAICell.test.tsx +1 -1
  110. package/src/components/editor/cell/code/cell-editor.tsx +13 -36
  111. package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +1 -1
  112. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +11 -5
  113. package/src/components/editor/notebook-cell.tsx +0 -1
  114. package/src/components/scratchpad/scratchpad.test.tsx +3 -11
  115. package/src/components/scratchpad/scratchpad.tsx +24 -22
  116. package/src/components/scratchpad/state.ts +7 -0
  117. package/src/core/ai/__tests__/staged-cells.test.ts +6 -8
  118. package/src/core/ai/staged-cells.ts +4 -2
  119. package/src/core/cells/__tests__/cells.test.ts +44 -60
  120. package/src/core/cells/__tests__/document.test.ts +1 -139
  121. package/src/core/cells/__tests__/notebook-outline.test.ts +8 -6
  122. package/src/core/cells/actions.ts +39 -0
  123. package/src/core/cells/cells.ts +15 -35
  124. package/src/core/cells/document.ts +9 -84
  125. package/src/core/codemirror/__tests__/format.test.ts +0 -34
  126. package/src/core/codemirror/cells/extensions.ts +20 -18
  127. package/src/core/codemirror/cells/state.ts +0 -5
  128. package/src/core/codemirror/format.ts +1 -19
  129. package/src/core/codemirror/misc/__tests__/paste.test.ts +3 -1
  130. package/src/core/codemirror/misc/paste.ts +1 -1
  131. package/src/core/notebook/document/__tests__/codemirror.test.ts +172 -0
  132. package/src/stories/layout/vertical/one-column.stories.tsx +26 -18
  133. package/dist/html-to-image--E3uFbJ9.js +0 -3348
  134. package/dist/label-Qvw1E97W.js +0 -281
  135. package/dist/objectWithoutPropertiesLoose-BRDcTsfB.js +0 -23
  136. package/dist/select-2KOiReNY.js +0 -1423
  137. package/dist/toast-B5t9o6s_.js +0 -1848
  138. package/dist/use-restore-focus-BgDTd2tc.js +0 -6418
  139. package/dist/useLifecycle-CaZi4wTw.js +0 -172
  140. package/dist/useTheme-TzPgWXwB.js +0 -1114
@@ -1,22 +1,24 @@
1
1
  import { a as e, i as t, n, r, t as i } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { g as a, h as o, t as s } from "./button-BQRdqQi1.js";
2
+ import { g as a, h as o, t as s } from "./button-B6RjDKJx.js";
3
3
  import { t as c } from "./react-sHtZdjeP.js";
4
4
  import { t as l } from "./compiler-runtime-CldRdSsv.js";
5
- import { m as u, t as d } from "./tooltip-s4zZxwKe.js";
6
- import { D as f, t as p } from "./spec-BcJ9ncAY.js";
7
- import { a as m, c as h, i as g, o as _, r as v, s as y, t as b } from "./useLifecycle-CaZi4wTw.js";
8
- import { a as x, t as S } from "./useDateFormatter-D3Tkfzej.js";
9
- import { a as C, b as w, c as T, i as E, n as D, o as O, r as ee, s as te, t as ne } from "./select-2KOiReNY.js";
5
+ import { m as u, t as d } from "./tooltip-C3UnvsRe.js";
6
+ import { D as f, t as p } from "./spec-Dq8RNplp.js";
7
+ import { a as m, i as h, o as g, r as _, s as v, t as y } from "./useLifecycle-BquH9ET-.js";
8
+ import { a as b, t as x } from "./useDateFormatter-ChB4eyim.js";
9
+ import { a as S, c as C, d as w, i as T, n as ee, o as E, r as te, s as ne, t as re, x as D } from "./select-BSxlITBo.js";
10
+ import { t as O } from "./strings-BGW-fXVJ.js";
10
11
  import { t as k } from "./jsx-runtime-3BD1kT0s.js";
11
- import { n as re } from "./error-banner-DxJ3s8YO.js";
12
- import { n as ie, t as ae } from "./label-Qvw1E97W.js";
13
- import { A as oe, F as se, I as ce, M as le, n as ue } from "./useTheme-TzPgWXwB.js";
14
- import { t as de } from "./invariant-DLmrl-hA.js";
15
- import { t as fe } from "./objects-DCmMvZtn.js";
16
- import { t as pe } from "./useAsyncData-Dqw22wZQ.js";
12
+ import { n as ie } from "./error-banner-IsonnvA0.js";
13
+ import { n as ae } from "./useTheme-B9C1JIy9.js";
14
+ import { T as oe, w as se, x as ce, y as le } from "./utils-DXkj82sK.js";
15
+ import { t as ue } from "./invariant-DLmrl-hA.js";
16
+ import { t as de } from "./objects-DCmMvZtn.js";
17
+ import { t as fe } from "./createReducer-DePYJ0F3.js";
18
+ import { t as pe } from "./useAsyncData-DsZMvNXn.js";
17
19
  import { D as me } from "./vega-loader.browser-B9Pz0EGP.js";
18
20
  import { n as he, r as ge } from "./react-vega-C4T9Rb_w.js";
19
- import { a as _e, n as ve } from "./loader-DOVB0Syl.js";
21
+ import { a as _e, n as ve } from "./loader-BisjOLiW.js";
20
22
  var ye = u("chart-column-big", [
21
23
  ["path", {
22
24
  d: "M3 3v16a2 2 0 0 0 2 2h16",
@@ -5369,10 +5371,10 @@ function Ol(e, t, n) {
5369
5371
  //#endregion
5370
5372
  //#region src/plugins/impl/data-explorer/components/icons.tsx
5371
5373
  var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5372
- [X.BOOLEAN]: /* @__PURE__ */ (0, $.jsx)(_, { className: "h-5 w-5 inline-flex opacity-60" }),
5373
- [X.DATETIME]: /* @__PURE__ */ (0, $.jsx)(h, { className: "h-5 w-5 inline-flex opacity-60" }),
5374
- [X.NUMBER]: /* @__PURE__ */ (0, $.jsx)(y, { className: "h-5 w-5 inline-flex opacity-60" }),
5375
- [X.STRING]: /* @__PURE__ */ (0, $.jsx)(m, { className: "h-5 w-5 inline-flex opacity-60" }),
5374
+ [X.BOOLEAN]: /* @__PURE__ */ (0, $.jsx)(m, { className: "h-5 w-5 inline-flex opacity-60" }),
5375
+ [X.DATETIME]: /* @__PURE__ */ (0, $.jsx)(v, { className: "h-5 w-5 inline-flex opacity-60" }),
5376
+ [X.NUMBER]: /* @__PURE__ */ (0, $.jsx)(g, { className: "h-5 w-5 inline-flex opacity-60" }),
5377
+ [X.STRING]: /* @__PURE__ */ (0, $.jsx)(h, { className: "h-5 w-5 inline-flex opacity-60" }),
5376
5378
  [X.INTEGER]: /* @__PURE__ */ (0, $.jsx)(be, { className: "h-5 w-5 inline-flex opacity-60" })
5377
5379
  }, jl = 12, Ml = (e) => {
5378
5380
  let t = (0, xe.c)(45), { schema: n } = e, [r, i] = (0, kl.useState)(), [a, c] = (0, kl.useState)(), l, u, d, f, p, m, h, g;
@@ -5446,12 +5448,12 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5446
5448
  i(e);
5447
5449
  }, t[25] = x) : x = t[25];
5448
5450
  let S;
5449
- t[26] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ (0, $.jsx)(te, {
5451
+ t[26] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ (0, $.jsx)(ne, {
5450
5452
  className: "min-w-[210px] h-full",
5451
- children: /* @__PURE__ */ (0, $.jsx)(T, { placeholder: "Select a column" })
5453
+ children: /* @__PURE__ */ (0, $.jsx)(C, { placeholder: "Select a column" })
5452
5454
  }), t[26] = S) : S = t[26];
5453
- let C;
5454
- t[27] === n ? C = t[28] : (C = n.fieldNames().map((e) => /* @__PURE__ */ (0, $.jsx)(E, {
5455
+ let w;
5456
+ t[27] === n ? w = t[28] : (w = n.fieldNames().map((e) => /* @__PURE__ */ (0, $.jsx)(T, {
5455
5457
  value: e.toString(),
5456
5458
  children: /* @__PURE__ */ (0, $.jsxs)("span", {
5457
5459
  className: "flex items-center gap-2 flex-1",
@@ -5471,22 +5473,22 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5471
5473
  })
5472
5474
  ]
5473
5475
  })
5474
- }, e)), t[27] = n, t[28] = C);
5475
- let w;
5476
- t[29] === C ? w = t[30] : (w = /* @__PURE__ */ (0, $.jsx)(D, { children: /* @__PURE__ */ (0, $.jsx)(ee, { children: C }) }), t[29] = C, t[30] = w);
5477
- let O;
5478
- t[31] !== w || t[32] !== y || t[33] !== b ? (O = /* @__PURE__ */ (0, $.jsx)("div", {
5476
+ }, e)), t[27] = n, t[28] = w);
5477
+ let E;
5478
+ t[29] === w ? E = t[30] : (E = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsx)(te, { children: w }) }), t[29] = w, t[30] = E);
5479
+ let D;
5480
+ t[31] !== E || t[32] !== y || t[33] !== b ? (D = /* @__PURE__ */ (0, $.jsx)("div", {
5479
5481
  className: "lg:hidden",
5480
- children: /* @__PURE__ */ (0, $.jsxs)(ne, {
5482
+ children: /* @__PURE__ */ (0, $.jsxs)(re, {
5481
5483
  "data-testid": "marimo-plugin-data-explorer-column-select",
5482
5484
  value: y,
5483
5485
  disabled: b,
5484
5486
  onValueChange: x,
5485
- children: [S, w]
5487
+ children: [S, E]
5486
5488
  })
5487
- }), t[31] = w, t[32] = y, t[33] = b, t[34] = O) : O = t[34];
5488
- let k;
5489
- t[35] !== r || t[36] !== d ? (k = r && /* @__PURE__ */ (0, $.jsx)("div", {
5489
+ }), t[31] = E, t[32] = y, t[33] = b, t[34] = D) : D = t[34];
5490
+ let O;
5491
+ t[35] !== r || t[36] !== d ? (O = r && /* @__PURE__ */ (0, $.jsx)("div", {
5490
5492
  className: "grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-2 p-2 text-sm",
5491
5493
  children: Nl.map((e) => /* @__PURE__ */ (0, $.jsxs)("div", {
5492
5494
  className: "flex flex-row gap-2 min-w-[100px]",
@@ -5495,18 +5497,18 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5495
5497
  children: e
5496
5498
  }), /* @__PURE__ */ (0, $.jsx)("span", { children: /* @__PURE__ */ (0, $.jsx)(Pl, { value: d?.[e] }) })]
5497
5499
  }, e))
5498
- }), t[35] = r, t[36] = d, t[37] = k) : k = t[37];
5499
- let re;
5500
- return t[38] !== O || t[39] !== k || t[40] !== m || t[41] !== h || t[42] !== g || t[43] !== v ? (re = /* @__PURE__ */ (0, $.jsxs)("div", {
5500
+ }), t[35] = r, t[36] = d, t[37] = O) : O = t[37];
5501
+ let k;
5502
+ return t[38] !== D || t[39] !== O || t[40] !== m || t[41] !== h || t[42] !== g || t[43] !== v ? (k = /* @__PURE__ */ (0, $.jsxs)("div", {
5501
5503
  className: m,
5502
5504
  children: [
5503
5505
  h,
5504
5506
  g,
5505
5507
  v,
5506
- O,
5507
- k
5508
+ D,
5509
+ O
5508
5510
  ]
5509
- }), t[38] = O, t[39] = k, t[40] = m, t[41] = h, t[42] = g, t[43] = v, t[44] = re) : re = t[44], re;
5511
+ }), t[38] = D, t[39] = O, t[40] = m, t[41] = h, t[42] = g, t[43] = v, t[44] = k) : k = t[44], k;
5510
5512
  }, Nl = [
5511
5513
  "distinct",
5512
5514
  "min",
@@ -5519,13 +5521,13 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5519
5521
  ], Pl = (e) => {
5520
5522
  let t = (0, xe.c)(8), { value: n } = e, r;
5521
5523
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = { maximumFractionDigits: 2 }, t[0] = r) : r = t[0];
5522
- let i = ie(r), a;
5524
+ let i = D(r), a;
5523
5525
  t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = {
5524
5526
  year: "numeric",
5525
5527
  month: "short",
5526
5528
  day: "numeric"
5527
5529
  }, t[1] = a) : a = t[1];
5528
- let o = S(a);
5530
+ let o = x(a);
5529
5531
  if (typeof n == "number") {
5530
5532
  let e;
5531
5533
  return t[2] !== i || t[3] !== n ? (e = i.format(n), t[2] = i, t[3] = n, t[4] = e) : e = t[4], e;
@@ -5679,7 +5681,7 @@ function Jl(e) {
5679
5681
  bin: n,
5680
5682
  timeUnit: r
5681
5683
  });
5682
- return de(i !== void 0, "Field is required for fieldQ"), Kl({
5684
+ return ue(i !== void 0, "Field is required for fieldQ"), Kl({
5683
5685
  field: i,
5684
5686
  fn: f,
5685
5687
  type: d,
@@ -5876,7 +5878,7 @@ function hu() {
5876
5878
  schema: null
5877
5879
  };
5878
5880
  }
5879
- var { valueAtom: gu, useActions: _u } = g(hu, {
5881
+ var { valueAtom: gu, useActions: _u } = fe(hu, {
5880
5882
  setSchema: (e, t) => ({
5881
5883
  ...e,
5882
5884
  schema: t
@@ -5930,7 +5932,7 @@ var yu = se((e) => {
5930
5932
  "size",
5931
5933
  "shape"
5932
5934
  ], Su = (e) => {
5933
- let t = (0, xe.c)(26), { schema: n, mark: r } = e, i = le(gu), a = vu(), o = i.encoding.x && i.encoding.y, s;
5935
+ let t = (0, xe.c)(26), { schema: n, mark: r } = e, i = ce(gu), a = vu(), o = i.encoding.x && i.encoding.y, s;
5934
5936
  t[0] !== a || t[1] !== o || t[2] !== n || t[3] !== i.encoding ? (s = (e) => /* @__PURE__ */ (0, $.jsx)(Cu, {
5935
5937
  schema: n,
5936
5938
  label: e,
@@ -5943,11 +5945,11 @@ var yu = se((e) => {
5943
5945
  let u;
5944
5946
  t[7] === a ? u = t[8] : (u = (e) => a.setMark(e), t[7] = a, t[8] = u);
5945
5947
  let d;
5946
- t[9] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, $.jsx)(te, { children: /* @__PURE__ */ (0, $.jsx)(T, { placeholder: "Mark" }) }), t[9] = d) : d = t[9];
5948
+ t[9] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, $.jsx)(ne, { children: /* @__PURE__ */ (0, $.jsx)(C, { placeholder: "Mark" }) }), t[9] = d) : d = t[9];
5947
5949
  let f;
5948
- t[10] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ (0, $.jsx)(D, { children: /* @__PURE__ */ (0, $.jsxs)(ee, { children: [/* @__PURE__ */ (0, $.jsx)(C, { children: "Mark" }), Wl.map(Eu)] }) }), t[10] = f) : f = t[10];
5950
+ t[10] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsxs)(te, { children: [/* @__PURE__ */ (0, $.jsx)(S, { children: "Mark" }), Wl.map(Eu)] }) }), t[10] = f) : f = t[10];
5949
5951
  let p;
5950
- t[11] !== l || t[12] !== u ? (p = /* @__PURE__ */ (0, $.jsxs)(ne, {
5952
+ t[11] !== l || t[12] !== u ? (p = /* @__PURE__ */ (0, $.jsxs)(re, {
5951
5953
  "data-testid": "marimo-plugin-data-explorer-mark-select",
5952
5954
  value: l,
5953
5955
  onValueChange: u,
@@ -6009,7 +6011,7 @@ var yu = se((e) => {
6009
6011
  let u = l, d;
6010
6012
  t[5] === i?.field ? d = t[6] : (d = i?.field.toString() ?? "", t[5] = i?.field, t[6] = d);
6011
6013
  let f = d, p;
6012
- t[7] === n ? p = t[8] : (p = /* @__PURE__ */ (0, $.jsx)(ae, {
6014
+ t[7] === n ? p = t[8] : (p = /* @__PURE__ */ (0, $.jsx)(w, {
6013
6015
  className: "text-(--slate-11) font-semibold",
6014
6016
  children: n
6015
6017
  }), t[7] = n, t[8] = p);
@@ -6027,13 +6029,13 @@ var yu = se((e) => {
6027
6029
  let h = f ? u : void 0, g;
6028
6030
  t[12] === c ? g = t[13] : (g = c(), t[12] = c, t[13] = g);
6029
6031
  let _;
6030
- t[14] !== h || t[15] !== g ? (_ = /* @__PURE__ */ (0, $.jsx)(te, {
6032
+ t[14] !== h || t[15] !== g ? (_ = /* @__PURE__ */ (0, $.jsx)(ne, {
6031
6033
  className: "min-w-[140px] lg:min-w-[210px] h-full",
6032
6034
  onClear: h,
6033
6035
  children: g
6034
6036
  }), t[14] = h, t[15] = g, t[16] = _) : _ = t[16];
6035
6037
  let v;
6036
- t[17] === r ? v = t[18] : (v = r.fieldNames().map((e) => /* @__PURE__ */ (0, $.jsx)(E, {
6038
+ t[17] === r ? v = t[18] : (v = r.fieldNames().map((e) => /* @__PURE__ */ (0, $.jsx)(T, {
6037
6039
  value: e.toString(),
6038
6040
  children: /* @__PURE__ */ (0, $.jsxs)("span", {
6039
6041
  className: "flex items-center gap-2 flex-1",
@@ -6055,15 +6057,15 @@ var yu = se((e) => {
6055
6057
  })
6056
6058
  }, e)), t[17] = r, t[18] = v);
6057
6059
  let y;
6058
- t[19] === r ? y = t[20] : (y = r.fieldNames().length === 0 && /* @__PURE__ */ (0, $.jsx)(E, {
6060
+ t[19] === r ? y = t[20] : (y = r.fieldNames().length === 0 && /* @__PURE__ */ (0, $.jsx)(T, {
6059
6061
  disabled: !0,
6060
6062
  value: "--",
6061
6063
  children: "No columns"
6062
6064
  }), t[19] = r, t[20] = y);
6063
6065
  let b;
6064
- t[21] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ (0, $.jsx)(O, {}), t[21] = b) : b = t[21];
6066
+ t[21] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ (0, $.jsx)(E, {}), t[21] = b) : b = t[21];
6065
6067
  let x;
6066
- t[22] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ (0, $.jsx)(E, {
6068
+ t[22] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ (0, $.jsx)(T, {
6067
6069
  value: "*",
6068
6070
  children: /* @__PURE__ */ (0, $.jsxs)("span", {
6069
6071
  className: "flex items-center gap-1 flex-1",
@@ -6074,36 +6076,36 @@ var yu = se((e) => {
6074
6076
  })
6075
6077
  }, "*"), t[22] = x) : x = t[22];
6076
6078
  let S;
6077
- t[23] !== y || t[24] !== v ? (S = /* @__PURE__ */ (0, $.jsx)(D, { children: /* @__PURE__ */ (0, $.jsxs)(ee, { children: [
6079
+ t[23] !== y || t[24] !== v ? (S = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsxs)(te, { children: [
6078
6080
  v,
6079
6081
  y,
6080
6082
  b,
6081
6083
  x
6082
6084
  ] }) }), t[23] = y, t[24] = v, t[25] = S) : S = t[25];
6083
6085
  let C;
6084
- t[26] !== a || t[27] !== f || t[28] !== S || t[29] !== m || t[30] !== _ ? (C = /* @__PURE__ */ (0, $.jsxs)(ne, {
6086
+ t[26] !== a || t[27] !== f || t[28] !== S || t[29] !== m || t[30] !== _ ? (C = /* @__PURE__ */ (0, $.jsxs)(re, {
6085
6087
  value: f,
6086
6088
  disabled: a,
6087
6089
  onValueChange: m,
6088
6090
  children: [_, S]
6089
6091
  }), t[26] = a, t[27] = f, t[28] = S, t[29] = m, t[30] = _, t[31] = C) : C = t[31];
6090
- let w;
6091
- t[32] !== i || t[33] !== o ? (w = i && /* @__PURE__ */ (0, $.jsx)(Tu, {
6092
+ let D;
6093
+ t[32] !== i || t[33] !== o ? (D = i && /* @__PURE__ */ (0, $.jsx)(Tu, {
6092
6094
  field: i,
6093
6095
  onChange: o
6094
- }), t[32] = i, t[33] = o, t[34] = w) : w = t[34];
6095
- let T;
6096
- t[35] === w ? T = t[36] : (T = /* @__PURE__ */ (0, $.jsx)("div", {
6096
+ }), t[32] = i, t[33] = o, t[34] = D) : D = t[34];
6097
+ let O;
6098
+ t[35] === D ? O = t[36] : (O = /* @__PURE__ */ (0, $.jsx)("div", {
6097
6099
  className: "w-[26px]",
6098
- children: w
6099
- }), t[35] = w, t[36] = T);
6100
+ children: D
6101
+ }), t[35] = D, t[36] = O);
6100
6102
  let k;
6101
- t[37] !== C || t[38] !== T ? (k = /* @__PURE__ */ (0, $.jsxs)("div", {
6103
+ t[37] !== C || t[38] !== O ? (k = /* @__PURE__ */ (0, $.jsxs)("div", {
6102
6104
  className: "flex flex-row gap-1 h-[26px]",
6103
- children: [C, T]
6104
- }), t[37] = C, t[38] = T, t[39] = k) : k = t[39];
6105
- let re;
6106
- return t[40] !== k || t[41] !== p ? (re = /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [p, k] }), t[40] = k, t[41] = p, t[42] = re) : re = t[42], re;
6105
+ children: [C, O]
6106
+ }), t[37] = C, t[38] = O, t[39] = k) : k = t[39];
6107
+ let ie;
6108
+ return t[40] !== k || t[41] !== p ? (ie = /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [p, k] }), t[40] = k, t[41] = p, t[42] = ie) : ie = t[42], ie;
6107
6109
  }, wu = "__", Tu = (e) => {
6108
6110
  let t = (0, xe.c)(10), { field: n, onChange: r } = e;
6109
6111
  if (n.field === "*") return null;
@@ -6119,7 +6121,7 @@ var yu = se((e) => {
6119
6121
  fn: e === wu ? void 0 : e
6120
6122
  });
6121
6123
  }, o;
6122
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, $.jsx)(te, {
6124
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, $.jsx)(ne, {
6123
6125
  className: "h-full px-1",
6124
6126
  hideChevron: !0,
6125
6127
  variant: "ghost",
@@ -6129,16 +6131,16 @@ var yu = se((e) => {
6129
6131
  })
6130
6132
  }), t[3] = o) : o = t[3];
6131
6133
  let s, c;
6132
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsx)(E, {
6134
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, $.jsx)(te, { children: /* @__PURE__ */ (0, $.jsx)(T, {
6133
6135
  value: wu,
6134
6136
  children: "None"
6135
- }) }), c = /* @__PURE__ */ (0, $.jsx)(O, {}), t[4] = s, t[5] = c) : (s = t[4], c = t[5]);
6136
- let l = /* @__PURE__ */ (0, $.jsxs)(D, { children: [
6137
+ }) }), c = /* @__PURE__ */ (0, $.jsx)(E, {}), t[4] = s, t[5] = c) : (s = t[4], c = t[5]);
6138
+ let l = /* @__PURE__ */ (0, $.jsxs)(ee, { children: [
6137
6139
  s,
6138
6140
  c,
6139
6141
  e.map(Ou)
6140
6142
  ] }), u;
6141
- t[6] !== n.fn || t[7] !== a || t[8] !== l ? (u = /* @__PURE__ */ (0, $.jsxs)(ne, {
6143
+ t[6] !== n.fn || t[7] !== a || t[8] !== l ? (u = /* @__PURE__ */ (0, $.jsxs)(re, {
6142
6144
  "data-testid": "marimo-plugin-data-explorer-field-options",
6143
6145
  value: n.fn,
6144
6146
  onValueChange: a,
@@ -6152,26 +6154,26 @@ var yu = se((e) => {
6152
6154
  return i === Symbol.for("react.early_return_sentinel") ? null : i;
6153
6155
  };
6154
6156
  function Eu(e) {
6155
- return /* @__PURE__ */ (0, $.jsx)(E, {
6157
+ return /* @__PURE__ */ (0, $.jsx)(T, {
6156
6158
  value: e,
6157
6159
  children: e === "?" ? "auto" : e
6158
6160
  }, e);
6159
6161
  }
6160
6162
  function Du(e) {
6161
- return /* @__PURE__ */ (0, $.jsx)(E, {
6163
+ return /* @__PURE__ */ (0, $.jsx)(T, {
6162
6164
  value: e ?? wu,
6163
- children: w.startCase(e)
6165
+ children: O.startCase(e)
6164
6166
  }, e);
6165
6167
  }
6166
6168
  function Ou(e) {
6167
6169
  let [t, n] = e;
6168
- return /* @__PURE__ */ (0, $.jsxs)(ee, { children: [t && /* @__PURE__ */ (0, $.jsx)(C, { children: t }), n.map(Du)] }, t);
6170
+ return /* @__PURE__ */ (0, $.jsxs)(te, { children: [t && /* @__PURE__ */ (0, $.jsx)(S, { children: t }), n.map(Du)] }, t);
6169
6171
  }
6170
6172
  //#endregion
6171
6173
  //#region src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx
6172
6174
  var ku = (e) => {
6173
6175
  let t = (0, xe.c)(5), n;
6174
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = ce(), t[0] = n) : n = t[0];
6176
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = oe(), t[0] = n) : n = t[0];
6175
6177
  let r = n, i;
6176
6178
  t[1] === e ? i = t[2] : (i = () => {
6177
6179
  let t = r.sub(gu, () => {
@@ -6179,9 +6181,9 @@ var ku = (e) => {
6179
6181
  e.setValue(n);
6180
6182
  }), n = e.value;
6181
6183
  return n && Object.keys(n).length > 0 && r.set(gu, n), t;
6182
- }, t[1] = e, t[2] = i), b(i);
6184
+ }, t[1] = e, t[2] = i), y(i);
6183
6185
  let a;
6184
- return t[3] === e ? a = t[4] : (a = /* @__PURE__ */ (0, $.jsx)(oe, {
6186
+ return t[3] === e ? a = t[4] : (a = /* @__PURE__ */ (0, $.jsx)(le, {
6185
6187
  store: r,
6186
6188
  children: /* @__PURE__ */ (0, $.jsx)(ju, { ...e })
6187
6189
  }), t[3] = e, t[4] = a), a;
@@ -6223,25 +6225,25 @@ var ju = (e) => {
6223
6225
  }, t[0] = r, t[1] = n, t[2] = i) : i = t[2];
6224
6226
  let a;
6225
6227
  t[3] === n ? a = t[4] : (a = [n], t[3] = n, t[4] = a);
6226
- let { data: c, isPending: l, error: u } = pe(i, a), { mark: f } = le(gu), m = le(yu), { theme: h } = ue();
6228
+ let { data: c, isPending: l, error: u } = pe(i, a), { mark: f } = ce(gu), m = ce(yu), { theme: h } = ae();
6227
6229
  if (u) {
6228
6230
  let e;
6229
- return t[5] === u ? e = t[6] : (e = /* @__PURE__ */ (0, $.jsx)(re, { error: u }), t[5] = u, t[6] = e), e;
6231
+ return t[5] === u ? e = t[6] : (e = /* @__PURE__ */ (0, $.jsx)(ie, { error: u }), t[5] = u, t[6] = e), e;
6230
6232
  }
6231
6233
  if (!c) {
6232
6234
  let e;
6233
6235
  return t[7] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, $.jsx)("div", {}), t[7] = e) : e = t[7], e;
6234
6236
  }
6235
- let { chartData: g, schema: _ } = c;
6236
- if (l || !_) {
6237
+ let { chartData: g, schema: v } = c;
6238
+ if (l || !v) {
6237
6239
  let e;
6238
6240
  return t[8] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, $.jsx)("div", {}), t[8] = e) : e = t[8], e;
6239
6241
  }
6240
- let y = m.main?.plots?.[0], b;
6241
- t[9] === y?.fieldInfos ? b = t[10] : (b = new Set(y?.fieldInfos.map(Fu)), t[9] = y?.fieldInfos, t[10] = b);
6242
- let S = b, C;
6243
- t[11] !== g || t[12] !== y || t[13] !== _ || t[14] !== h ? (C = () => {
6244
- if (!y) return /* @__PURE__ */ (0, $.jsx)(Ml, { schema: _ });
6242
+ let y = m.main?.plots?.[0], x;
6243
+ t[9] === y?.fieldInfos ? x = t[10] : (x = new Set(y?.fieldInfos.map(Fu)), t[9] = y?.fieldInfos, t[10] = x);
6244
+ let S = x, C;
6245
+ t[11] !== g || t[12] !== y || t[13] !== v || t[14] !== h ? (C = () => {
6246
+ if (!y) return /* @__PURE__ */ (0, $.jsx)(Ml, { schema: v });
6245
6247
  let e = y.spec, t = Pu(e), n = p(t, g);
6246
6248
  return /* @__PURE__ */ (0, $.jsx)("div", {
6247
6249
  className: o("flex overflow-y-auto justify-center items-center flex-1 w-[90%]"),
@@ -6251,28 +6253,28 @@ var ju = (e) => {
6251
6253
  options: Au(h)
6252
6254
  })
6253
6255
  });
6254
- }, t[11] = g, t[12] = y, t[13] = _, t[14] = h, t[15] = C) : C = t[15];
6256
+ }, t[11] = g, t[12] = y, t[13] = v, t[14] = h, t[15] = C) : C = t[15];
6255
6257
  let w = C, T;
6256
- t[16] !== f || t[17] !== _ ? (T = /* @__PURE__ */ (0, $.jsx)(Su, {
6258
+ t[16] !== f || t[17] !== v ? (T = /* @__PURE__ */ (0, $.jsx)(Su, {
6257
6259
  mark: f,
6258
- schema: _
6259
- }), t[16] = f, t[17] = _, t[18] = T) : T = t[18];
6260
+ schema: v
6261
+ }), t[16] = f, t[17] = v, t[18] = T) : T = t[18];
6262
+ let ee;
6263
+ t[19] === w ? ee = t[20] : (ee = w(), t[19] = w, t[20] = ee);
6260
6264
  let E;
6261
- t[19] === w ? E = t[20] : (E = w(), t[19] = w, t[20] = E);
6262
- let D;
6263
- t[21] !== T || t[22] !== E ? (D = /* @__PURE__ */ (0, $.jsxs)("div", {
6265
+ t[21] !== T || t[22] !== ee ? (E = /* @__PURE__ */ (0, $.jsxs)("div", {
6264
6266
  className: "flex items-center gap-2",
6265
- children: [T, E]
6266
- }), t[21] = T, t[22] = E, t[23] = D) : D = t[23];
6267
- let O = m.histograms?.plots, ee = m.addCategoricalField?.plots, te = m.addQuantitativeField?.plots, ne = m.addTemporalField?.plots, k;
6268
- if (t[24] !== r || t[25] !== g || t[26] !== S || t[27] !== te || t[28] !== ne || t[29] !== O || t[30] !== ee || t[31] !== h) {
6267
+ children: [T, ee]
6268
+ }), t[21] = T, t[22] = ee, t[23] = E) : E = t[23];
6269
+ let te = m.histograms?.plots, ne = m.addCategoricalField?.plots, re = m.addQuantitativeField?.plots, D = m.addTemporalField?.plots, O;
6270
+ if (t[24] !== r || t[25] !== g || t[26] !== S || t[27] !== re || t[28] !== D || t[29] !== te || t[30] !== ne || t[31] !== h) {
6269
6271
  let e;
6270
6272
  t[33] !== r || t[34] !== g || t[35] !== S || t[36] !== h ? (e = (e, t) => /* @__PURE__ */ (0, $.jsx)(Nu, {
6271
6273
  title: /* @__PURE__ */ (0, $.jsx)("div", {
6272
6274
  className: "flex flex-row gap-1",
6273
6275
  children: e.fieldInfos.map((e) => {
6274
6276
  let t = e.fieldDef.field === "*" ? "Count" : e.fieldDef.fn ? `${e.fieldDef.fn}(${e.fieldDef.field})` : e.fieldDef.field.toString();
6275
- return /* @__PURE__ */ (0, $.jsx)(v, {
6277
+ return /* @__PURE__ */ (0, $.jsx)(_, {
6276
6278
  variant: S.has(e.fieldDef.field) ? "secondary" : "defaultOutline",
6277
6279
  children: t
6278
6280
  }, t);
@@ -6285,30 +6287,30 @@ var ju = (e) => {
6285
6287
  variant: "text",
6286
6288
  size: "icon",
6287
6289
  onClick: () => {
6288
- let t = fe.fromEntries(e.fieldInfos.map(Iu));
6290
+ let t = de.fromEntries(e.fieldInfos.map(Iu));
6289
6291
  r.setEncoding(t);
6290
6292
  },
6291
- children: /* @__PURE__ */ (0, $.jsx)(x, { className: "w-4 h-4" })
6293
+ children: /* @__PURE__ */ (0, $.jsx)(b, { className: "w-4 h-4" })
6292
6294
  })
6293
6295
  }),
6294
6296
  children: /* @__PURE__ */ (0, $.jsx)(he, {
6295
6297
  options: Au(h),
6296
6298
  spec: p(e.spec, g)
6297
6299
  }, t)
6298
- }, t), t[33] = r, t[34] = g, t[35] = S, t[36] = h, t[37] = e) : e = t[37], k = [
6299
- O,
6300
- ee,
6300
+ }, t), t[33] = r, t[34] = g, t[35] = S, t[36] = h, t[37] = e) : e = t[37], O = [
6301
6301
  te,
6302
- ne
6303
- ].filter(Boolean).flat().map(e), t[24] = r, t[25] = g, t[26] = S, t[27] = te, t[28] = ne, t[29] = O, t[30] = ee, t[31] = h, t[32] = k;
6304
- } else k = t[32];
6305
- let ie;
6306
- t[38] === k ? ie = t[39] : (ie = /* @__PURE__ */ (0, $.jsx)(Mu, { children: k }), t[38] = k, t[39] = ie);
6307
- let ae;
6308
- return t[40] !== ie || t[41] !== D ? (ae = /* @__PURE__ */ (0, $.jsxs)("div", {
6302
+ ne,
6303
+ re,
6304
+ D
6305
+ ].filter(Boolean).flat().map(e), t[24] = r, t[25] = g, t[26] = S, t[27] = re, t[28] = D, t[29] = te, t[30] = ne, t[31] = h, t[32] = O;
6306
+ } else O = t[32];
6307
+ let k;
6308
+ t[38] === O ? k = t[39] : (k = /* @__PURE__ */ (0, $.jsx)(Mu, { children: O }), t[38] = O, t[39] = k);
6309
+ let oe;
6310
+ return t[40] !== k || t[41] !== E ? (oe = /* @__PURE__ */ (0, $.jsxs)("div", {
6309
6311
  className: "flex flex-col gap-2",
6310
- children: [D, ie]
6311
- }), t[40] = ie, t[41] = D, t[42] = ae) : ae = t[42], ae;
6312
+ children: [E, k]
6313
+ }), t[40] = k, t[41] = E, t[42] = oe) : oe = t[42], oe;
6312
6314
  }, Mu = (e) => {
6313
6315
  let t = (0, xe.c)(2), { children: n } = e;
6314
6316
  if (kl.Children.count(n) === 0) return null;
@@ -1,15 +1,15 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { h as t, t as n } from "./button-BQRdqQi1.js";
2
+ import { h as t, t as n } from "./button-B6RjDKJx.js";
3
3
  import { t as r } from "./react-sHtZdjeP.js";
4
4
  import { t as i } from "./compiler-runtime-CldRdSsv.js";
5
- import { a, t as o } from "./copy-icon-De584pZ4.js";
6
- import { i as s, m as c } from "./tooltip-s4zZxwKe.js";
5
+ import { a, t as o } from "./copy-icon-CG57cxwb.js";
6
+ import { i as s, m as c } from "./tooltip-C3UnvsRe.js";
7
7
  import { t as l } from "./react-dom-DUmH0GXv.js";
8
8
  import { t as u } from "./jsx-runtime-3BD1kT0s.js";
9
- import { Q as d, tt as f } from "./use-restore-focus-BgDTd2tc.js";
10
- import { a as p, i as m, o as h, r as g, s as _, t as v } from "./toast-B5t9o6s_.js";
11
- import { A as y, b } from "./useTheme-TzPgWXwB.js";
12
- import { o as x, t as S } from "./dialog-DVRfQuhD.js";
9
+ import { a as d, c as f } from "./use-restore-focus-BWO0z1lo.js";
10
+ import { a as p, i as m, o as h, r as g, s as _, t as v } from "./toast-BWIPi3aF.js";
11
+ import { l as y, y as b } from "./utils-DXkj82sK.js";
12
+ import { o as x, t as S } from "./dialog-DsZ49mmU.js";
13
13
  var C = c("plus", [["path", {
14
14
  d: "M5 12h14",
15
15
  key: "1ays0h"
@@ -135,7 +135,7 @@ function F(e) {
135
135
  }
136
136
  //#endregion
137
137
  //#region src/components/editor/boundary/ErrorBoundary.tsx
138
- var I = (0, T.lazy)(() => import("./feedback-button-UsovT9sL.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
138
+ var I = (0, T.lazy)(() => import("./feedback-button-2ycmR9GG.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
139
139
  let t = (0, w.c)(2), n;
140
140
  return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, j.jsx)(O, {
141
141
  FallbackComponent: R,
@@ -161,8 +161,8 @@ var I = (0, T.lazy)(() => import("./feedback-button-UsovT9sL.js").then((e) => ({
161
161
  })
162
162
  }), t[3] = l) : l = t[3];
163
163
  let u;
164
- t[4] === r ? u = t[5] : (u = r && /* @__PURE__ */ (0, j.jsx)(y, {
165
- store: b,
164
+ t[4] === r ? u = t[5] : (u = r && /* @__PURE__ */ (0, j.jsx)(b, {
165
+ store: y,
166
166
  children: /* @__PURE__ */ (0, j.jsxs)(s, { children: [/* @__PURE__ */ (0, j.jsx)(T.Suspense, {
167
167
  fallback: null,
168
168
  children: /* @__PURE__ */ (0, j.jsx)(I, {})
@@ -1,9 +1,9 @@
1
1
  import { n as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
3
  import "./chunk-DU6HZSFF-BwiyaNpg.js";
4
- import "./mermaid-BrdwbArF.js";
4
+ import "./mermaid-B-OFqheA.js";
5
5
  import { m as n, t as r } from "./mermaid-parser.core-DxuSfYwJ.js";
6
- import { n as i, r as a, t as o } from "./chunk-SVP7TREG-BOUJKJEP.js";
6
+ import { n as i, r as a, t as o } from "./chunk-SVP7TREG-BPiZK2bA.js";
7
7
  import { t as s } from "./chunk-JWPE2WC7-DJvv1t8U.js";
8
8
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/abnfDiagram-VCTEODGH.mjs
9
9
  var c = n().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
@@ -1,12 +1,12 @@
1
1
  import "./rolldown-runtime-Cb76FRpK.js";
2
- import { g as e } from "./button-BQRdqQi1.js";
2
+ import { g as e } from "./button-B6RjDKJx.js";
3
3
  import { t } from "./react-sHtZdjeP.js";
4
4
  import { t as n } from "./compiler-runtime-CldRdSsv.js";
5
- import { t as r } from "./copy-icon-De584pZ4.js";
5
+ import { t as r } from "./copy-icon-CG57cxwb.js";
6
6
  import { t as i } from "./jsx-runtime-3BD1kT0s.js";
7
- import { n as a } from "./error-banner-DxJ3s8YO.js";
8
- import { t as o } from "./esm-mDQNEFe_.js";
9
- import { n as s, t as c } from "./esm-Bbw_Njjx.js";
7
+ import { n as a } from "./error-banner-IsonnvA0.js";
8
+ import { t as o } from "./esm-CHjVSexr.js";
9
+ import { n as s, t as c } from "./esm-BgKjMvWw.js";
10
10
  //#region src/plugins/impl/code/any-language-editor.tsx
11
11
  var l = n();
12
12
  t();
@@ -5,7 +5,7 @@ import { n as o } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
5
  import { H as s, J as c, K as l, U as u, a as d, b as f, f as p, v as m, w as h, x as g, y as _, z as v } from "./chunk-DU6HZSFF-BwiyaNpg.js";
6
6
  import { i as y, r as b, t as x } from "./chunk-PWAF6VOD-CQw5qATZ.js";
7
7
  import { n as S } from "./chunk-GMAD6QVW-BhaJx0X3.js";
8
- import { p as C } from "./mermaid-BrdwbArF.js";
8
+ import { p as C } from "./mermaid-B-OFqheA.js";
9
9
  import { n as w } from "./mermaid-parser.core-DxuSfYwJ.js";
10
10
  import { t as T } from "./chunk-JWPE2WC7-DJvv1t8U.js";
11
11
  import { t as E } from "./cytoscape.esm-jJhXJpLB.js";