@marimo-team/islands 0.25.3-dev273 → 0.25.3-dev279

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 (143) hide show
  1. package/dist/{ConnectedDataExplorerComponent-eLHPh6uu.js → ConnectedDataExplorerComponent-CErm132k.js} +25 -26
  2. package/dist/{ErrorBoundary-DBh-wUT9.js → ErrorBoundary-DmTMuDPR.js} +43 -44
  3. package/dist/{abnfDiagram-VCTEODGH-hqd0IBtX.js → abnfDiagram-VCTEODGH-d-Qn2fwb.js} +2 -2
  4. package/dist/{any-language-editor-DnG26QXh.js → any-language-editor-6k6F12Z3.js} +3 -3
  5. package/dist/{architectureDiagram-5GKGNRK7-BzLAFcc0.js → architectureDiagram-5GKGNRK7-DxragHYv.js} +1 -1
  6. package/dist/{assertNever-DIU3JJbt.js → assertNever-B-YzWzbL.js} +14 -14
  7. package/dist/{button-0-RqY1DW.js → button-DZuNnIZO.js} +220 -223
  8. package/dist/{capabilities-B6yy_CBN.js → capabilities-D9FskwsK.js} +1 -1
  9. package/dist/{chat-ui-BWIkve2R.js → chat-ui-v1Fdh0NA.js} +332 -333
  10. package/dist/{check-gUSZbRsl.js → check-XFzZeH-y.js} +1 -1
  11. package/dist/{chunk-IMKFNOWR-DOeVvuyE.js → chunk-IMKFNOWR-C0x0feFg.js} +1 -1
  12. package/dist/{chunk-SHT3W25Y-DZoFI8wR.js → chunk-SHT3W25Y-D0ZdASqB.js} +1 -1
  13. package/dist/{chunk-SVP7TREG-CWu86PSW.js → chunk-SVP7TREG-BHjL96zx.js} +1 -1
  14. package/dist/{chunk-TICWLB2K-BrM0GoP3.js → chunk-TICWLB2K-CzcrwGfp.js} +1 -1
  15. package/dist/{classDiagram-ZZMXUADV-DYi4V2bB.js → classDiagram-ZZMXUADV-BTqFAZTP.js} +2 -2
  16. package/dist/{classDiagram-v2-VYDZK3BY-tN7FIk-m.js → classDiagram-v2-VYDZK3BY-EPXb0Elt.js} +2 -2
  17. package/dist/{code-visibility-M_dXDGp6.js → code-visibility-Dw4-TXN0.js} +20 -20
  18. package/dist/{common-DV0fvw_I.js → common-BXMFi4lr.js} +5399 -5397
  19. package/dist/{config-BsPruWMR.js → config-C8MFHQ2E.js} +23 -22
  20. package/dist/{copy-icon-C2I8sw4h.js → copy-icon-CtllOdmg.js} +3 -3
  21. package/dist/{createReducer-DdtT_7ji.js → createReducer-DRqwmaTc.js} +2 -2
  22. package/dist/{cynefinDiagram-5FMLGOSQ-D5nCnDc-.js → cynefinDiagram-5FMLGOSQ-CBSD344q.js} +1 -1
  23. package/dist/{dagre-GXQ25YYZ-BHkd7f_i.js → dagre-GXQ25YYZ-JItjh3Ge.js} +1 -1
  24. package/dist/{data-grid-overlay-editor-Cd1zGKBt.js → data-grid-overlay-editor-hZzwX7Ia.js} +1 -1
  25. package/dist/{diagram-S7CK7UJ4-D1ALppT2.js → diagram-S7CK7UJ4-CTD9xTVb.js} +1 -1
  26. package/dist/{diagram-UQ7AKVKN-DLv0b83L.js → diagram-UQ7AKVKN-DTfnFai8.js} +1 -1
  27. package/dist/{diagram-VX7I27RA-7XJ7J6qg.js → diagram-VX7I27RA-BcSnucV-.js} +1 -1
  28. package/dist/{diagram-Z3DM3KII-7M7zbHp_.js → diagram-Z3DM3KII-C2ATIE8A.js} +1 -1
  29. package/dist/{dialog-DzCj1qQv.js → dialog-CaYm5imE.js} +33 -33
  30. package/dist/{dropdown-menu-CdXE15an.js → dropdown-menu-Bb0bFOIk.js} +149 -149
  31. package/dist/{ebnfDiagram-PWID7BFC-DHH1qlmV.js → ebnfDiagram-PWID7BFC-B7B9JPxc.js} +2 -2
  32. package/dist/{erDiagram-RLTQ6QDP-fI_0dGef.js → erDiagram-RLTQ6QDP-v6hDno1O.js} +1 -1
  33. package/dist/{error-banner-DPc9eIw5.js → error-banner-CHCdHVFB.js} +44 -45
  34. package/dist/{error-entries-CxN-Nq3V.js → error-entries-C1S-Rmyt.js} +563 -554
  35. package/dist/{feedback-button-CE2gPi4-.js → feedback-button-6Ui2TDLR.js} +12 -12
  36. package/dist/{flowDiagram-HODETNUW-Brg9MA6i.js → flowDiagram-HODETNUW-aIFlAtOy.js} +2 -2
  37. package/dist/{formats-DbSvAPY-.js → formats-PzBQMUnr.js} +3 -3
  38. package/dist/{glide-data-editor-BycATbgF.js → glide-data-editor-PZNlrSDI.js} +14 -16
  39. package/dist/{glide-utils-BSw3SSHF.js → glide-utils-BSQr4d90.js} +51 -59
  40. package/dist/{globals-CW6OvnI5.js → globals-DX6FPZYq.js} +3 -3
  41. package/dist/{html-to-image-Bc2AvXHG.js → html-to-image-CqGUd58T.js} +14529 -14531
  42. package/dist/{infoDiagram-27XIBGKW-E9e403YT.js → infoDiagram-27XIBGKW-D6YHLeCP.js} +1 -1
  43. package/dist/{ishikawaDiagram-5VMMS53U-C-RlYDRo.js → ishikawaDiagram-5VMMS53U-D1ZvprOX.js} +1 -1
  44. package/dist/{kanban-definition-UXKFOSKX-CLFl_uqK.js → kanban-definition-UXKFOSKX-Bna_3BMr.js} +1 -1
  45. package/dist/{loader-BVEtQ4F3.js → loader-DZvtzQoD.js} +1 -1
  46. package/dist/main.js +7357 -7361
  47. package/dist/{mermaid-rd09e1JL.js → mermaid-A36unKXJ.js} +50 -50
  48. package/dist/{mindmap-definition-YA3MSWOX-BQ8TWtyB.js → mindmap-definition-YA3MSWOX-CyVCs__G.js} +1 -1
  49. package/dist/{number-overlay-editor-B_rR-LdM.js → number-overlay-editor-D0CsL3_R.js} +1 -1
  50. package/dist/{pegDiagram-XKGWAZYB-CN8UHFPi.js → pegDiagram-XKGWAZYB-9hNBD2wZ.js} +2 -2
  51. package/dist/{pencil-DcT8AE0h.js → pencil-DYUlSKxZ.js} +1 -1
  52. package/dist/{pieDiagram-E7YTZNPT-DGuJ0EBd.js → pieDiagram-E7YTZNPT-8tr-NYo7.js} +1 -1
  53. package/dist/{process-output-qecD7Dk8.js → process-output-DskX9jLa.js} +4 -4
  54. package/dist/{railroadDiagram-O6MQD6OU-BPDA8wy8.js → railroadDiagram-O6MQD6OU-Dzg1dyyp.js} +2 -2
  55. package/dist/{requirementDiagram-BXWQKSXE-ChzLGbGW.js → requirementDiagram-BXWQKSXE-B7sNqwGG.js} +1 -1
  56. package/dist/{reveal-component-CngVwOSy.js → reveal-component-D7xeI1QR.js} +1003 -1003
  57. package/dist/{select-OxgozOC8.js → select-DsoP1qe8.js} +290 -290
  58. package/dist/{sequenceDiagram-WJ2MYXX4-DFX-bE6O.js → sequenceDiagram-WJ2MYXX4-oP9shbaG.js} +1 -1
  59. package/dist/{spec-oJn0RhpQ.js → spec-BZMDxAu7.js} +4 -4
  60. package/dist/{stateDiagram-D77RDMKH-BR7cI3wK.js → stateDiagram-D77RDMKH-CjCv4ogv.js} +2 -2
  61. package/dist/{stateDiagram-v2-MP3YSRHH-oGqB5UDI.js → stateDiagram-v2-MP3YSRHH-BW9X162a.js} +2 -2
  62. package/dist/{static-state-CuV6Pc3a.js → static-state-D-Q-Ajaa.js} +8 -8
  63. package/dist/style.css +1 -1
  64. package/dist/{swimlanes-42K2YHIH-DwSZl1yC.js → swimlanes-42K2YHIH-Ckfs9Wrn.js} +1 -1
  65. package/dist/{swimlanesDiagram-VR7AAH4N-BHlcd-Ri.js → swimlanesDiagram-VR7AAH4N-DpTNG9YP.js} +2 -2
  66. package/dist/{swiper-component-Dvj-goaD.js → swiper-component-DQbK_ZWm.js} +7 -7
  67. package/dist/{timeline-definition-24CTP7MA-DMmP-G2O.js → timeline-definition-24CTP7MA-BXaBlV6U.js} +1 -1
  68. package/dist/{toast-DbBHmxmB.js → toast-BhjIy3Tq.js} +158 -158
  69. package/dist/{tooltip-BfcDQd2j.js → tooltip-DMMiOn2f.js} +64 -64
  70. package/dist/use-restore-focus-CosX7-gx.js +7568 -0
  71. package/dist/{useAsyncData-BYIAoMqn.js → useAsyncData-Ci4AvJff.js} +4 -4
  72. package/dist/{useDateFormatter-ButWkdcK.js → useDateFormatter-CPlava52.js} +2 -2
  73. package/dist/{useDeepCompareMemoize-Bz0c5GN6.js → useDeepCompareMemoize-NaaWoFlX.js} +1 -1
  74. package/dist/useEvent-BRH-aCqi.js +19 -0
  75. package/dist/{useIframeCapabilities-BIolGsF1.js → useIframeCapabilities-BXhDDoCG.js} +1 -1
  76. package/dist/{useLifecycle-JjxCC7Vu.js → useLifecycle-SniivYmC.js} +2 -2
  77. package/dist/{vega-component-rxIxAAh9.js → vega-component-DIxaDQNs.js} +40 -40
  78. package/dist/{vennDiagram-4TSXK5OY-Db8GtH1G.js → vennDiagram-4TSXK5OY-C-hQ4iNJ.js} +1 -1
  79. package/dist/{wardleyDiagram-VM6X3IG4-DmIiC3FU.js → wardleyDiagram-VM6X3IG4-C2MQ_Umv.js} +1 -1
  80. package/dist/{xychartDiagram-S5SC5T6Z-DS9OPrNq.js → xychartDiagram-S5SC5T6Z-BtTTBn7Q.js} +1 -1
  81. package/package.json +1 -1
  82. package/src/__mocks__/executions.ts +4 -2
  83. package/src/__mocks__/notebook.ts +0 -2
  84. package/src/__tests__/CellStatus.test.tsx +6 -6
  85. package/src/components/editor/__tests__/data-attributes.test.tsx +0 -2
  86. package/src/components/editor/__tests__/output-persistence.test.tsx +20 -5
  87. package/src/components/editor/cell/CellStatus.tsx +6 -5
  88. package/src/components/editor/cell/__tests__/useRunCells.test.tsx +169 -0
  89. package/src/components/editor/cell/collapse.tsx +3 -4
  90. package/src/components/editor/cell/useRunCells.ts +32 -3
  91. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +2 -3
  92. package/src/components/editor/notebook-cell.tsx +23 -37
  93. package/src/components/editor/renderers/grid-layout/grid-layout.tsx +4 -10
  94. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +0 -2
  95. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +8 -5
  96. package/src/components/slides/minimap.tsx +3 -2
  97. package/src/components/slides/reveal-component.tsx +3 -2
  98. package/src/components/slides/slide-cell-view.tsx +8 -8
  99. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -101
  100. package/src/core/cells/__tests__/actions.test.ts +0 -1
  101. package/src/core/cells/__tests__/cell.test.ts +81 -17
  102. package/src/core/cells/__tests__/cells.test.ts +0 -100
  103. package/src/core/cells/__tests__/document.test.ts +2 -8
  104. package/src/core/cells/__tests__/utils.test.ts +93 -24
  105. package/src/core/cells/actions.ts +0 -1
  106. package/src/core/cells/cell.ts +37 -14
  107. package/src/core/cells/cells.ts +10 -99
  108. package/src/core/cells/document.ts +2 -13
  109. package/src/core/cells/types.ts +0 -23
  110. package/src/core/cells/utils.ts +44 -17
  111. package/src/core/codemirror/cells/extensions.ts +0 -14
  112. package/src/core/errors/__tests__/error-entries.test.ts +40 -1
  113. package/src/core/errors/error-entries.ts +2 -3
  114. package/src/core/executions/__tests__/freshness.test.ts +420 -0
  115. package/src/core/executions/__tests__/hooks.test.tsx +106 -0
  116. package/src/core/executions/atoms.ts +22 -0
  117. package/src/core/executions/freshness.ts +164 -0
  118. package/src/core/executions/hooks.ts +17 -1
  119. package/src/core/executions/index.ts +3 -1
  120. package/src/core/islands/bootstrap.ts +0 -1
  121. package/src/core/islands/components/__tests__/web-components.test.tsx +63 -0
  122. package/src/core/islands/components/web-components.tsx +11 -0
  123. package/src/core/kernel/handlers.ts +0 -4
  124. package/src/core/session/useNotebookSession.tsx +2 -7
  125. package/src/css/globals.css +6 -2
  126. package/src/plugins/impl/DataEditorPlugin.tsx +0 -4
  127. package/src/plugins/impl/data-editor/__tests__/column-types.test.ts +5 -0
  128. package/src/plugins/impl/data-editor/__tests__/glide-data-editor.test.tsx +9 -5
  129. package/src/plugins/impl/data-editor/column-types.ts +3 -0
  130. package/src/plugins/impl/data-editor/glide-data-editor.tsx +6 -5
  131. package/src/plugins/impl/data-editor/glide-utils.ts +10 -32
  132. package/src/plugins/impl/data-editor/types.ts +0 -2
  133. package/src/stories/cell-status.stories.tsx +12 -14
  134. package/src/stories/cell.stories.tsx +44 -10
  135. package/src/stories/layout/vertical/one-column.stories.tsx +0 -10
  136. package/src/theme/__tests__/islands-theme.test.tsx +276 -0
  137. package/src/theme/namespace.tsx +4 -3
  138. package/src/theme/useTheme.ts +71 -41
  139. package/dist/schemas-CdscWNy_.js +0 -4747
  140. package/dist/use-restore-focus-CmflVLWJ.js +0 -1672
  141. package/dist/useTheme-DPLobSFs.js +0 -339
  142. package/dist/utils-EBklsC5R.js +0 -813
  143. package/src/components/editor/cell/__tests__/useRunCells.test.ts +0 -45
@@ -1,9 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { g as t } from "./button-0-RqY1DW.js";
2
+ import { g as t } from "./button-DZuNnIZO.js";
3
3
  import { t as n } from "./compiler-runtime-CldRdSsv.js";
4
- import { h as r } from "./tooltip-BfcDQd2j.js";
5
- import { i, o as a, t as o, w as s } from "./utils-EBklsC5R.js";
6
- import { i as c, m as l, n as u } from "./static-state-CuV6Pc3a.js";
4
+ import { h as r } from "./tooltip-DMMiOn2f.js";
5
+ import { Rt as i, d as a, m as o, yt as s } from "./use-restore-focus-CosX7-gx.js";
6
+ import "./useEvent-BRH-aCqi.js";
7
+ import { i as c, m as l, n as u } from "./static-state-D-Q-Ajaa.js";
7
8
  var d = r("circle-question-mark", [
8
9
  ["circle", {
9
10
  cx: "12",
@@ -439,7 +440,7 @@ function w({ href: e, queryParams: t, keys: n }) {
439
440
  }
440
441
  //#endregion
441
442
  //#region src/core/kernel/session.ts
442
- var T = s(null), E = (0, b.init)({ length: 6 });
443
+ var T = i(null), E = (0, b.init)({ length: 6 });
443
444
  function D() {
444
445
  return `s_${E()}`;
445
446
  }
@@ -448,13 +449,13 @@ function O(e) {
448
449
  }
449
450
  var k = null;
450
451
  function A() {
451
- let e = a.get(c) === "edit", n = new URL(window.location.href).searchParams.get(i.sessionId), r = O(n) ? n : null;
452
+ let e = s.get(c) === "edit", n = new URL(window.location.href).searchParams.get(o.sessionId), r = O(n) ? n : null;
452
453
  return x((t) => {
453
454
  if (!e) {
454
- t.delete(i.sessionId), t.delete(i.kiosk);
455
+ t.delete(o.sessionId), t.delete(o.kiosk);
455
456
  return;
456
457
  }
457
- t.has(i.kiosk) || t.delete(i.sessionId);
458
+ t.has(o.kiosk) || t.delete(o.sessionId);
458
459
  }), r === null ? (t.debug("Starting a new session", { sessionId: n }), D()) : e ? (t.debug("Connecting to existing session", { sessionId: r }), r) : (t.debug("Ignoring session_id from URL outside the editor", { sessionId: r }), D());
459
460
  }
460
461
  function j() {
@@ -462,7 +463,7 @@ function j() {
462
463
  }
463
464
  //#endregion
464
465
  //#region src/core/runtime/runtime.ts
465
- var M = new Set(Object.values(i)), N = class {
466
+ var M = new Set(Object.values(o)), N = class {
466
467
  initialHealthyCheck = new f();
467
468
  config;
468
469
  lazy;
@@ -485,7 +486,7 @@ var M = new Set(Object.values(i)), N = class {
485
486
  return this.httpURL.origin === window.location.origin;
486
487
  }
487
488
  get isServerless() {
488
- return l() || o() || u();
489
+ return l() || a() || u();
489
490
  }
490
491
  formatHttpURL({ path: e = "", searchParams: t, restrictToKnownQueryParams: n = !0 }) {
491
492
  let r = this.httpURL, i = new URLSearchParams(window.location.search);
@@ -494,14 +495,14 @@ var M = new Set(Object.values(i)), N = class {
494
495
  return r.pathname = `${r.pathname.replace(/\/$/, "")}/${e.replace(/^\//, "")}`, r.hash = "", r;
495
496
  }
496
497
  appendCrossOriginAuth(e) {
497
- return !this.isSameOrigin && this.config.authToken && e.searchParams.set(i.accessToken, this.config.authToken), e;
498
+ return !this.isSameOrigin && this.config.authToken && e.searchParams.set(o.accessToken, this.config.authToken), e;
498
499
  }
499
500
  formatNavigableHttpURL(e, t) {
500
501
  let n = this.formatHttpURL({
501
502
  path: e,
502
503
  searchParams: t
503
504
  });
504
- return n.searchParams.delete(i.accessToken), this.appendCrossOriginAuth(n);
505
+ return n.searchParams.delete(o.accessToken), this.appendCrossOriginAuth(n);
505
506
  }
506
507
  formatWsURL(e, t) {
507
508
  let n = this.formatHttpURL({
@@ -512,10 +513,10 @@ var M = new Set(Object.values(i)), N = class {
512
513
  return P(this.appendCrossOriginAuth(n).toString());
513
514
  }
514
515
  getSessionURL(e, t) {
515
- let n = this.formatHttpURL({ path: e }), r = new URLSearchParams(this.httpURL.search), a = new URLSearchParams(window.location.search);
516
- for (let e of a.keys()) r.delete(e);
517
- for (let [e, t] of a) r.append(e, t);
518
- return r.delete(i.accessToken), r.delete("refresh_token"), r.delete(i.sessionId), n.searchParams.set("query_params", r.toString()), n.searchParams.set(i.sessionId, t), n;
516
+ let n = this.formatHttpURL({ path: e }), r = new URLSearchParams(this.httpURL.search), i = new URLSearchParams(window.location.search);
517
+ for (let e of i.keys()) r.delete(e);
518
+ for (let [e, t] of i) r.append(e, t);
519
+ return r.delete(o.accessToken), r.delete("refresh_token"), r.delete(o.sessionId), n.searchParams.set("query_params", r.toString()), n.searchParams.set(o.sessionId, t), n;
519
520
  }
520
521
  getWsURL(e) {
521
522
  let t = this.getSessionURL("/ws", e);
@@ -523,11 +524,11 @@ var M = new Set(Object.values(i)), N = class {
523
524
  }
524
525
  getSseURL(e) {
525
526
  let t = this.getSessionURL("/sse", e);
526
- return t.searchParams.delete(i.accessToken), t;
527
+ return t.searchParams.delete(o.accessToken), t;
527
528
  }
528
529
  getNotebookURL(e) {
529
530
  let t = this.formatHttpURL({ path: `/api/marimo/v1/notebooks/${encodeURIComponent(e)}` });
530
- return t.searchParams.delete(i.accessToken), t;
531
+ return t.searchParams.delete(o.accessToken), t;
531
532
  }
532
533
  getTerminalWsURL(e) {
533
534
  let t = this.formatWsURL("/terminal/ws");
@@ -535,8 +536,8 @@ var M = new Set(Object.values(i)), N = class {
535
536
  }
536
537
  getLSPURL(e) {
537
538
  if (e === "copilot") {
538
- let t = this.formatWsURL(`/lsp/${e}`), n = t.searchParams.get(i.accessToken);
539
- return t.search = "", n && t.searchParams.set(i.accessToken, n), t;
539
+ let t = this.formatWsURL(`/lsp/${e}`), n = t.searchParams.get(o.accessToken);
540
+ return t.search = "", n && t.searchParams.set(o.accessToken, n), t;
540
541
  }
541
542
  return this.formatWsURL(`/lsp/${e}`);
542
543
  }
@@ -620,12 +621,12 @@ function F() {
620
621
  var I = {
621
622
  lazy: !0,
622
623
  url: F()
623
- }, L = s(I), R = s((e) => {
624
+ }, L = i(I), R = i((e) => {
624
625
  let t = e(L);
625
626
  return new N(t, t.lazy);
626
627
  });
627
628
  function z() {
628
- return a.get(R);
629
+ return s.get(R);
629
630
  }
630
631
  function B(e) {
631
632
  if (e.startsWith("http")) return new URL(e);
@@ -1,9 +1,9 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { g as t, h as n, m as r } from "./button-0-RqY1DW.js";
2
+ import { g as t, h as n, m as r } from "./button-DZuNnIZO.js";
3
3
  import { t as i } from "./react-sHtZdjeP.js";
4
4
  import { t as a } from "./compiler-runtime-CldRdSsv.js";
5
- import { h as o, t as s } from "./tooltip-BfcDQd2j.js";
6
- import { t as c } from "./check-gUSZbRsl.js";
5
+ import { h as o, t as s } from "./tooltip-DMMiOn2f.js";
6
+ import { t as c } from "./check-XFzZeH-y.js";
7
7
  import { t as l } from "./jsx-runtime-3BD1kT0s.js";
8
8
  //#region src/components/ui/use-toast.ts
9
9
  var u = a(), d = /* @__PURE__ */ e(i(), 1), f = 1, p = 1e4, m = 0;
@@ -1,6 +1,6 @@
1
- import { g as e } from "./button-0-RqY1DW.js";
1
+ import { g as e } from "./button-DZuNnIZO.js";
2
2
  import { t } from "./compiler-runtime-CldRdSsv.js";
3
- import { S as n, w as r } from "./utils-EBklsC5R.js";
3
+ import { It as n, Rt as r } from "./use-restore-focus-CosX7-gx.js";
4
4
  //#region src/utils/createReducer.ts
5
5
  var i = t();
6
6
  function a(t, n) {
@@ -2,7 +2,7 @@ import { i as e } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
2
2
  import { n as t } from "./src-CA_m4ONl.js";
3
3
  import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
4
  import { D as r, H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p } from "./chunk-DU6HZSFF-BwiyaNpg.js";
5
- import { p as m } from "./mermaid-rd09e1JL.js";
5
+ import { p as m } from "./mermaid-A36unKXJ.js";
6
6
  import { n as h } from "./mermaid-parser.core-DxuSfYwJ.js";
7
7
  import { t as g } from "./chunk-JWPE2WC7-DJvv1t8U.js";
8
8
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/cynefinDiagram-5FMLGOSQ.mjs
@@ -11,7 +11,7 @@ import { s as a } from "./chunk-4HAMMTFA-D4eFPyFh.js";
11
11
  import { a as o, i as s, n as c } from "./chunk-GVQU2GXP-Cwbt-lF0.js";
12
12
  import { n as l } from "./chunk-L3NEJ4N5-n-zgIVSy.js";
13
13
  import { a as u, c as d, i as f } from "./chunk-OSK3NFVY-DXa-Cxbn.js";
14
- import { c as p, d as m, f as h, l as g, o as _, s as v, u as y } from "./mermaid-rd09e1JL.js";
14
+ import { c as p, d as m, f as h, l as g, o as _, s as v, u as y } from "./mermaid-A36unKXJ.js";
15
15
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/dagre-GXQ25YYZ.mjs
16
16
  var b = /* @__PURE__ */ r((e, t, n) => Math.max(t, Math.min(n, e)), "clamp"), x = /* @__PURE__ */ r((e = "TB") => {
17
17
  switch (e) {
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
3
  import { t as n } from "./react-dom-DUmH0GXv.js";
4
4
  import { c as r, l as i, u as a } from "./data-grid-types-0PJ-9N5n.js";
5
- import { a as o, i as s, n as c, r as l } from "./glide-data-editor-BycATbgF.js";
5
+ import { a as o, i as s, n as c, r as l } from "./glide-data-editor-PZNlrSDI.js";
6
6
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/internal/data-grid-overlay-editor/data-grid-overlay-editor-style.js
7
7
  var u = /* @__PURE__ */ e(t(), 1), d = /* @__PURE__ */ e(n(), 1), f = /*#__PURE__*/ o("div")({
8
8
  name: "DataGridOverlayEditorStyle",
@@ -3,7 +3,7 @@ import { n as t } from "./src-CA_m4ONl.js";
3
3
  import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
4
  import { H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f, z as p } from "./chunk-DU6HZSFF-BwiyaNpg.js";
5
5
  import { r as m, t as h } from "./chunk-PWAF6VOD-CQw5qATZ.js";
6
- import { p as g } from "./mermaid-rd09e1JL.js";
6
+ import { p as g } from "./mermaid-A36unKXJ.js";
7
7
  import { n as _ } from "./mermaid-parser.core-DxuSfYwJ.js";
8
8
  import { t as v } from "./chunk-JWPE2WC7-DJvv1t8U.js";
9
9
  import { t as y } from "./chunk-2Q5K7J3B-BMkUkeuy.js";
@@ -2,7 +2,7 @@ import { i as e } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
2
2
  import { n as t } from "./src-CA_m4ONl.js";
3
3
  import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
4
  import { D as r, H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p } from "./chunk-DU6HZSFF-BwiyaNpg.js";
5
- import { p as m } from "./mermaid-rd09e1JL.js";
5
+ import { p as m } from "./mermaid-A36unKXJ.js";
6
6
  import { n as h } from "./mermaid-parser.core-DxuSfYwJ.js";
7
7
  import { t as g } from "./chunk-JWPE2WC7-DJvv1t8U.js";
8
8
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-UQ7AKVKN.mjs
@@ -6,7 +6,7 @@ import { p as a, t as o } from "./treemap-DmgI4zXI.js";
6
6
  import { n as s } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
7
7
  import { D as c, H as l, K as u, U as d, a as f, b as p, c as m, f as h, v as g, w as _, y as v } from "./chunk-DU6HZSFF-BwiyaNpg.js";
8
8
  import { i as y, n as b } from "./chunk-P2QGCYS3-B_Zd3-X0.js";
9
- import { p as x } from "./mermaid-rd09e1JL.js";
9
+ import { p as x } from "./mermaid-A36unKXJ.js";
10
10
  import { n as S } from "./mermaid-parser.core-DxuSfYwJ.js";
11
11
  import { t as C } from "./chunk-JWPE2WC7-DJvv1t8U.js";
12
12
  import { t as w } from "./chunk-POPQ4Y6H-hYOXbYH_.js";
@@ -2,7 +2,7 @@ import { i as e } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
2
2
  import { n as t } from "./src-CA_m4ONl.js";
3
3
  import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
4
  import { H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f } from "./chunk-DU6HZSFF-BwiyaNpg.js";
5
- import { p } from "./mermaid-rd09e1JL.js";
5
+ import { p } from "./mermaid-A36unKXJ.js";
6
6
  import { n as m } from "./mermaid-parser.core-DxuSfYwJ.js";
7
7
  import { t as h } from "./chunk-JWPE2WC7-DJvv1t8U.js";
8
8
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-Z3DM3KII.mjs
@@ -1,57 +1,57 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { h as t } from "./button-0-RqY1DW.js";
2
+ import { h as t } from "./button-DZuNnIZO.js";
3
3
  import { t as n } from "./react-sHtZdjeP.js";
4
4
  import { t as r } from "./compiler-runtime-CldRdSsv.js";
5
- import { s as i } from "./assertNever-DIU3JJbt.js";
5
+ import { s as i } from "./assertNever-B-YzWzbL.js";
6
6
  import { t as a } from "./jsx-runtime-3BD1kT0s.js";
7
- import { a as o, c as s, d as c, f as l, g as u, h as d, l as f, m as p, p as m, t as h, u as g } from "./use-restore-focus-CmflVLWJ.js";
7
+ import { Gt as o, Ht as s, Jt as c, Kt as l, Ut as u, Vt as d, Wt as f, a as p, c as m, qt as h, t as g } from "./use-restore-focus-CosX7-gx.js";
8
8
  //#region src/components/ui/dialog.tsx
9
- var _ = r(), v = /* @__PURE__ */ e(n(), 1), y = a(), b = f, x = u, S = o(({ className: e, children: n, ...r }) => /* @__PURE__ */ (0, y.jsx)(p, {
9
+ var _ = r(), v = /* @__PURE__ */ e(n(), 1), y = a(), b = d, x = c, S = p(({ className: e, children: n, ...r }) => /* @__PURE__ */ (0, y.jsx)(l, {
10
10
  ...r,
11
- children: /* @__PURE__ */ (0, y.jsx)(s, { children: /* @__PURE__ */ (0, y.jsx)("div", {
11
+ children: /* @__PURE__ */ (0, y.jsx)(m, { children: /* @__PURE__ */ (0, y.jsx)("div", {
12
12
  className: t("fixed inset-0 z-50 flex items-start justify-center sm:items-start sm:top-[15%]", e),
13
13
  children: n
14
14
  }) })
15
15
  }));
16
- S.displayName = p.displayName;
16
+ S.displayName = l.displayName;
17
17
  var C = v.forwardRef((e, n) => {
18
18
  let r = (0, _.c)(9), i, a;
19
19
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
20
- let o;
21
- r[3] === i ? o = r[4] : (o = t("fixed inset-0 z-50 bg-background/80 backdrop-blur-xs transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in", "forced-color-adjust-none forced-colors:bg-[CanvasText] forced-colors:opacity-50", i), r[3] = i, r[4] = o);
22
20
  let s;
23
- return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, y.jsx)(m, {
21
+ r[3] === i ? s = r[4] : (s = t("fixed inset-0 z-50 bg-background/80 backdrop-blur-xs transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in", "forced-color-adjust-none forced-colors:bg-[CanvasText] forced-colors:opacity-50", i), r[3] = i, r[4] = s);
22
+ let c;
23
+ return r[5] !== a || r[6] !== n || r[7] !== s ? (c = /* @__PURE__ */ (0, y.jsx)(o, {
24
24
  ref: n,
25
- className: o,
25
+ className: s,
26
26
  ...a
27
- }), r[5] = a, r[6] = n, r[7] = o, r[8] = s) : s = r[8], s;
27
+ }), r[5] = a, r[6] = n, r[7] = s, r[8] = c) : c = r[8], c;
28
28
  });
29
- C.displayName = m.displayName;
29
+ C.displayName = o.displayName;
30
30
  var w = v.forwardRef((e, n) => {
31
- let r = (0, _.c)(17), a, o, s, l;
32
- r[0] === e ? (a = r[1], o = r[2], s = r[3], l = r[4]) : ({className: o, children: a, usePortal: l, ...s} = e, r[0] = e, r[1] = a, r[2] = o, r[3] = s, r[4] = l);
33
- let u = l === void 0 || l, d = h(), f;
34
- r[5] === o ? f = r[6] : (f = t("fixed z-50 grid w-full gap-4 rounded-b-lg border bg-background p-6 shadow-sm animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-2xl sm:mx-4 sm:rounded-lg sm:zoom-in-90 sm:data-[state=open]:slide-in-from-bottom-0", "forced-color-adjust-none forced-colors:border-[CanvasText] forced-colors:bg-[Canvas] forced-colors:text-[CanvasText]", o), r[5] = o, r[6] = f);
35
- let p;
36
- r[7] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, y.jsxs)(g, {
31
+ let r = (0, _.c)(17), a, o, c, l;
32
+ r[0] === e ? (a = r[1], o = r[2], c = r[3], l = r[4]) : ({className: o, children: a, usePortal: l, ...c} = e, r[0] = e, r[1] = a, r[2] = o, r[3] = c, r[4] = l);
33
+ let d = l === void 0 || l, f = g(), p;
34
+ r[5] === o ? p = r[6] : (p = t("fixed z-50 grid w-full gap-4 rounded-b-lg border bg-background p-6 shadow-sm animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-2xl sm:mx-4 sm:rounded-lg sm:zoom-in-90 sm:data-[state=open]:slide-in-from-bottom-0", "forced-color-adjust-none forced-colors:border-[CanvasText] forced-colors:bg-[Canvas] forced-colors:text-[CanvasText]", o), r[5] = o, r[6] = p);
35
+ let m;
36
+ r[7] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ (0, y.jsxs)(s, {
37
37
  className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
38
38
  children: [/* @__PURE__ */ (0, y.jsx)(i, { className: "h-4 w-4" }), /* @__PURE__ */ (0, y.jsx)("span", {
39
39
  className: "sr-only",
40
40
  children: "Close"
41
41
  })]
42
- }), r[7] = p) : p = r[7];
43
- let m;
44
- r[8] !== a || r[9] !== s || r[10] !== n || r[11] !== d || r[12] !== f ? (m = /* @__PURE__ */ (0, y.jsxs)(c, {
42
+ }), r[7] = m) : m = r[7];
43
+ let h;
44
+ r[8] !== a || r[9] !== c || r[10] !== n || r[11] !== f || r[12] !== p ? (h = /* @__PURE__ */ (0, y.jsxs)(u, {
45
45
  ref: n,
46
- className: f,
47
- ...d,
48
- ...s,
49
- children: [a, p]
50
- }), r[8] = a, r[9] = s, r[10] = n, r[11] = d, r[12] = f, r[13] = m) : m = r[13];
51
- let v = m, b;
52
- return r[14] !== v || r[15] !== u ? (b = u ? /* @__PURE__ */ (0, y.jsxs)(S, { children: [/* @__PURE__ */ (0, y.jsx)(C, {}), v] }) : v, r[14] = v, r[15] = u, r[16] = b) : b = r[16], b;
46
+ className: p,
47
+ ...f,
48
+ ...c,
49
+ children: [a, m]
50
+ }), r[8] = a, r[9] = c, r[10] = n, r[11] = f, r[12] = p, r[13] = h) : h = r[13];
51
+ let v = h, b;
52
+ return r[14] !== v || r[15] !== d ? (b = d ? /* @__PURE__ */ (0, y.jsxs)(S, { children: [/* @__PURE__ */ (0, y.jsx)(C, {}), v] }) : v, r[14] = v, r[15] = d, r[16] = b) : b = r[16], b;
53
53
  });
54
- w.displayName = c.displayName;
54
+ w.displayName = u.displayName;
55
55
  var T = (e) => {
56
56
  let n = (0, _.c)(8), r, i;
57
57
  n[0] === e ? (r = n[1], i = n[2]) : ({className: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
@@ -70,25 +70,25 @@ var E = v.forwardRef((e, n) => {
70
70
  let o;
71
71
  r[3] === i ? o = r[4] : (o = t("text-lg font-semibold leading-none tracking-tight", i), r[3] = i, r[4] = o);
72
72
  let s;
73
- return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, y.jsx)(d, {
73
+ return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, y.jsx)(h, {
74
74
  ref: n,
75
75
  className: o,
76
76
  ...a
77
77
  }), r[5] = a, r[6] = n, r[7] = o, r[8] = s) : s = r[8], s;
78
78
  });
79
- E.displayName = d.displayName;
79
+ E.displayName = h.displayName;
80
80
  var D = v.forwardRef((e, n) => {
81
81
  let r = (0, _.c)(9), i, a;
82
82
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
83
83
  let o;
84
84
  r[3] === i ? o = r[4] : (o = t("text-sm text-muted-foreground", i), r[3] = i, r[4] = o);
85
85
  let s;
86
- return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, y.jsx)(l, {
86
+ return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, y.jsx)(f, {
87
87
  ref: n,
88
88
  className: o,
89
89
  ...a
90
90
  }), r[5] = a, r[6] = n, r[7] = o, r[8] = s) : s = r[8], s;
91
91
  });
92
- D.displayName = l.displayName;
92
+ D.displayName = f.displayName;
93
93
  //#endregion
94
94
  export { E as a, T as i, w as n, x as o, D as r, b as t };