@marimo-team/islands 0.26.1-dev105 → 0.26.1-dev108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-C6dY5fiI.js → ConnectedDataExplorerComponent-DQaiOY7w.js} +15 -15
- package/dist/{ErrorBoundary-Bn664FZa.js → ErrorBoundary-BW4TciqU.js} +19 -19
- package/dist/{abnfDiagram-VCTEODGH-Ba0MYVW8.js → abnfDiagram-VCTEODGH-Df80tEYq.js} +2 -2
- package/dist/{any-language-editor-BNe8do3C.js → any-language-editor-BW-gNmbk.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-7MqAehef.js → architectureDiagram-5GKGNRK7-DNNMvKkY.js} +1 -1
- package/dist/{assertNever-5vhHGKOK.js → assertNever-B9_7z-dW.js} +13 -13
- package/dist/{chat-ui-zGgiq5zN.js → chat-ui-Be9X-W22.js} +49 -49
- package/dist/{check-DUIc04aK.js → check-BqF09bSG.js} +1 -1
- package/dist/{chunk-IMKFNOWR-CAWA0HGB.js → chunk-IMKFNOWR-pXqnQ_fj.js} +1 -1
- package/dist/{chunk-SHT3W25Y-BIwVQjG5.js → chunk-SHT3W25Y-BWrxB3I2.js} +1 -1
- package/dist/{chunk-SVP7TREG-Cux251TB.js → chunk-SVP7TREG-CPdQP8_U.js} +1 -1
- package/dist/{chunk-TICWLB2K-DJVQ6khO.js → chunk-TICWLB2K-C5MYCwBz.js} +1 -1
- package/dist/{circle-question-mark-evCnVIut.js → circle-question-mark-YmLYXyvS.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-Cwve77ev.js → classDiagram-ZZMXUADV-Ba0SRm01.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-BAeHKXmD.js → classDiagram-v2-VYDZK3BY-DSSzL_Dk.js} +2 -2
- package/dist/{code-visibility-CMgSFUs7.js → code-visibility-BKmktPMd.js} +18 -18
- package/dist/{common-DWnR77Qk.js → common-CSJAjJGa.js} +168 -168
- package/dist/{copy-icon-CmNLxT5_.js → copy-icon-zP4__HPI.js} +2 -2
- package/dist/{createReducer-m7yAXmDu.js → createReducer-CArOwUaJ.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-t4eEkPJh.js → cynefinDiagram-5FMLGOSQ-BOtNvA04.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-IuZuI28B.js → dagre-GXQ25YYZ-FpCEOTxX.js} +1 -1
- package/dist/{data-grid-overlay-editor-zS1h3iMI.js → data-grid-overlay-editor-DTibdR4H.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-D8R5Q_ok.js → diagram-S7CK7UJ4-Cm1HaBuu.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-BGuMPsr-.js → diagram-UQ7AKVKN-D1lA7Ggu.js} +1 -1
- package/dist/{diagram-VX7I27RA-BkTtpO8P.js → diagram-VX7I27RA-BX3e-Rue.js} +1 -1
- package/dist/{diagram-Z3DM3KII-C0__Mxfm.js → diagram-Z3DM3KII-Dgoj7bPf.js} +1 -1
- package/dist/{dialog-BvjfalZ9.js → dialog-DfKgafXJ.js} +30 -30
- package/dist/{dropdown-menu-D0DeN-aL.js → dropdown-menu-Dge_SmqE.js} +168 -168
- package/dist/{ebnfDiagram-PWID7BFC-CSESPZoz.js → ebnfDiagram-PWID7BFC-B0xWiXrz.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-DsDTtabH.js → erDiagram-RLTQ6QDP-Cm-GO31-.js} +1 -1
- package/dist/{error-banner-CXLjTW24.js → error-banner-CfYrJaIb.js} +91 -91
- package/dist/{error-entries-DVclFjaE.js → error-entries-23Z_1oDM.js} +584 -590
- package/dist/{export-context-CkgZeARR.js → export-context-B1jdxzHF.js} +21 -21
- package/dist/{feedback-button-BMGqp8Ff.js → feedback-button-CPu5SV3b.js} +72 -72
- package/dist/{flowDiagram-HODETNUW-qxDPYbfV.js → flowDiagram-HODETNUW-CH6xMlW_.js} +2 -2
- package/dist/{formats-CcQrzFo8.js → formats-Y52bg800.js} +1 -1
- package/dist/{glide-data-editor-Bra6h4KB.js → glide-data-editor-CC9_NDNi.js} +11 -11
- package/dist/{glide-utils-CD8BaFTm.js → glide-utils-BRcuSTCx.js} +2 -2
- package/dist/{globals-_bXqC0R8.js → globals-BFlYTNoR.js} +3 -3
- package/dist/{html-to-image-Cst4BlIm.js → html-to-image-Cw7o1IbE.js} +5073 -5076
- package/dist/{infoDiagram-27XIBGKW-B5hq8RM_.js → infoDiagram-27XIBGKW-DbUO63CX.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-DkHc_9ET.js → ishikawaDiagram-5VMMS53U-CfQrrELH.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CqkTFXmU.js → kanban-definition-UXKFOSKX-C5SJcu1W.js} +1 -1
- package/dist/{loader-CGrYn73j.js → loader-C9-qRO3m.js} +2 -2
- package/dist/main.js +6696 -6602
- package/dist/{mermaid-pmVHDUQA.js → mermaid-C2alqcd8.js} +34 -34
- package/dist/{mindmap-definition-YA3MSWOX-D6cNa__z.js → mindmap-definition-YA3MSWOX-ByVHE0Ax.js} +1 -1
- package/dist/{number-overlay-editor-XLUhOVa7.js → number-overlay-editor-qDcRKPE0.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CmWJX_s1.js → pegDiagram-XKGWAZYB-DF5FBKZi.js} +2 -2
- package/dist/{pencil-CxMgOe04.js → pencil-D7jyZPnP.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-CAQAxHah.js → pieDiagram-E7YTZNPT-B5n9nBQN.js} +1 -1
- package/dist/{process-output-DizFa5IE.js → process-output-DdBM0lmd.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-jlSsiQg3.js → railroadDiagram-O6MQD6OU-r5t7OYNE.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-DkDjfPhn.js → requirementDiagram-BXWQKSXE-D4QtEyZQ.js} +1 -1
- package/dist/{reveal-component-llpC324_.js → reveal-component-BE1xhtNc.js} +1008 -1008
- package/dist/{select-CEnB18uc.js → select-Buk3aXi1.js} +341 -341
- package/dist/{sequenceDiagram-WJ2MYXX4-DLywsGCW.js → sequenceDiagram-WJ2MYXX4-CK3Atn-z.js} +1 -1
- package/dist/{spec-Dz-Avv1m.js → spec-BEp9O9dy.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-DUmlKwYU.js → stateDiagram-D77RDMKH-C1SxRI8V.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-D646KiXs.js → stateDiagram-v2-MP3YSRHH-DK5X6bsr.js} +2 -2
- package/dist/{static-state-iw0PrHK4.js → static-state-D-aT9dOr.js} +9 -9
- package/dist/{swimlanes-42K2YHIH-L7B1GphF.js → swimlanes-42K2YHIH-DdH5TZdu.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-DEu2wxtC.js → swimlanesDiagram-VR7AAH4N-CWBIvzgR.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-DDPyx1yG.js → timeline-definition-24CTP7MA-DE7-o2zU.js} +1 -1
- package/dist/{toast-BTjH6fIf.js → toast-b3k4YxaT.js} +54 -54
- package/dist/{tooltip-DyLdBIM4.js → tooltip-D-9pDheN.js} +62 -62
- package/dist/{use-restore-focus-DJ_-uSn_.js → use-restore-focus-CCfk-ey2.js} +1 -1
- package/dist/{useDateFormatter-HpKD0jEC.js → useDateFormatter-DH0uFwfL.js} +2 -2
- package/dist/{useDeepCompareMemoize-CHx-NxMl.js → useDeepCompareMemoize-Dn-ZJVTd.js} +1 -1
- package/dist/{useLifecycle-tPpAt-OE.js → useLifecycle-yjK7JsRL.js} +1 -1
- package/dist/{vega-component-BzNDFvQf.js → vega-component-BIq0qzhQ.js} +8 -8
- package/dist/{vennDiagram-4TSXK5OY-CRwWeb7g.js → vennDiagram-4TSXK5OY-D7yfNz0d.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DVlG9eoq.js → wardleyDiagram-VM6X3IG4-m5Jcz26Z.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-CM32AISp.js → xychartDiagram-S5SC5T6Z-CA3zV3RW.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/intersection-observer.ts +13 -12
- package/src/components/editor/Output.tsx +1 -1
- package/src/components/editor/__tests__/cell-renders.test.tsx +17 -1
- package/src/components/editor/chrome/panels/outline/__tests__/outline-keyboard.test.tsx +517 -68
- package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +17 -5
- package/src/components/editor/chrome/panels/outline/floating-outline.tsx +29 -59
- package/src/components/editor/chrome/panels/outline/useActiveOutline.tsx +333 -133
- package/src/components/editor/chrome/panels/outline-panel.tsx +5 -19
- package/src/components/editor/notebook-cell.tsx +263 -267
- package/src/core/cells/__tests__/layout.test.ts +1 -1
- package/src/core/cells/__tests__/notebook-outline.test.ts +31 -3
- package/src/core/cells/cells.ts +21 -14
- package/src/core/cells/outline.ts +8 -8
- package/src/core/codemirror/language/extension.ts +6 -3
- package/src/core/codemirror/language/panel/panel.test.tsx +144 -0
- package/src/core/codemirror/language/panel/panel.tsx +9 -6
- package/src/core/codemirror/react-dom/createPanel.tsx +15 -15
- package/src/core/dom/__tests__/outline.test.ts +29 -170
- package/src/core/dom/outline.ts +21 -61
- package/src/core/executions/atoms.ts +12 -4
- package/src/core/islands/components/output-wrapper.tsx +7 -2
- package/src/plugins/layout/OutlinePlugin.tsx +5 -17
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
2
2
|
import { g as t } from "./button-Z2R2272J.js";
|
|
3
3
|
import { t as n } from "./compiler-runtime-C5KHtL5D.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as r, g as i, p as a, qt as o, wt as s } from "./use-restore-focus-CCfk-ey2.js";
|
|
5
5
|
import "./useEvent-BoN7U38T.js";
|
|
6
|
-
import { i as c, n as l, r as u, u as d } from "./static-state-
|
|
6
|
+
import { i as c, n as l, r as u, u as d } from "./static-state-D-aT9dOr.js";
|
|
7
7
|
//#region src/utils/Deferred.ts
|
|
8
8
|
var f = class {
|
|
9
9
|
promise;
|
|
@@ -394,7 +394,7 @@ var m = /* @__PURE__ */ e(((e) => {
|
|
|
394
394
|
var { createId: n, init: r, getConstants: i, isCuid: a } = v();
|
|
395
395
|
t.exports.createId = n, t.exports.init = r, t.exports.getConstants = i, t.exports.isCuid = a;
|
|
396
396
|
})), b = y();
|
|
397
|
-
|
|
397
|
+
o(null);
|
|
398
398
|
var x = (0, b.init)({ length: 6 });
|
|
399
399
|
function S() {
|
|
400
400
|
return `s_${x()}`;
|
|
@@ -404,10 +404,10 @@ function C(e) {
|
|
|
404
404
|
}
|
|
405
405
|
var w = null;
|
|
406
406
|
function T() {
|
|
407
|
-
let e =
|
|
407
|
+
let e = s.get(c) === "edit", n = new URL(window.location.href).searchParams.get(i.sessionId), r = C(n) ? n : null;
|
|
408
408
|
return D((t) => {
|
|
409
|
-
e ? t.has(
|
|
410
|
-
}),
|
|
409
|
+
e ? t.has(i.kiosk) || t.delete(i.sessionId) : (t.delete(i.sessionId), t.delete(i.kiosk));
|
|
410
|
+
}), r === null ? (t.debug("Starting a new session", { sessionId: n }), S()) : e ? (t.debug("Connecting to existing session", { sessionId: r }), r) : (t.debug("Ignoring session_id from URL outside the editor", { sessionId: r }), S());
|
|
411
411
|
}
|
|
412
412
|
function E() {
|
|
413
413
|
return w === null && (w = T()), w;
|
|
@@ -443,7 +443,7 @@ function A({ href: e, queryParams: t, keys: n }) {
|
|
|
443
443
|
}
|
|
444
444
|
//#endregion
|
|
445
445
|
//#region src/core/runtime/runtime.ts
|
|
446
|
-
var j = new Set(Object.values(
|
|
446
|
+
var j = new Set(Object.values(i)), M = class {
|
|
447
447
|
initialHealthyCheck = new f();
|
|
448
448
|
config;
|
|
449
449
|
constructor(e) {
|
|
@@ -470,14 +470,14 @@ var j = new Set(Object.values(o)), M = class {
|
|
|
470
470
|
return r.pathname = `${r.pathname.replace(/\/$/, "")}/${e.replace(/^\//, "")}`, r.hash = "", r;
|
|
471
471
|
}
|
|
472
472
|
appendCrossOriginAuth(e) {
|
|
473
|
-
return !this.isSameOrigin && this.config.authToken && e.searchParams.set(
|
|
473
|
+
return !this.isSameOrigin && this.config.authToken && e.searchParams.set(i.accessToken, this.config.authToken), e;
|
|
474
474
|
}
|
|
475
475
|
formatNavigableHttpURL(e, t) {
|
|
476
476
|
let n = this.formatHttpURL({
|
|
477
477
|
path: e,
|
|
478
478
|
searchParams: t
|
|
479
479
|
});
|
|
480
|
-
return n.searchParams.delete(
|
|
480
|
+
return n.searchParams.delete(i.accessToken), this.appendCrossOriginAuth(n);
|
|
481
481
|
}
|
|
482
482
|
formatWsURL(e, t) {
|
|
483
483
|
let n = this.formatHttpURL({
|
|
@@ -488,10 +488,10 @@ var j = new Set(Object.values(o)), M = class {
|
|
|
488
488
|
return N(this.appendCrossOriginAuth(n).toString());
|
|
489
489
|
}
|
|
490
490
|
getSessionURL(e, t) {
|
|
491
|
-
let n = this.formatHttpURL({ path: e }), r = new URLSearchParams(this.httpURL.search),
|
|
492
|
-
for (let e of
|
|
493
|
-
for (let [e, t] of
|
|
494
|
-
return r.delete(
|
|
491
|
+
let n = this.formatHttpURL({ path: e }), r = new URLSearchParams(this.httpURL.search), a = new URLSearchParams(window.location.search);
|
|
492
|
+
for (let e of a.keys()) r.delete(e);
|
|
493
|
+
for (let [e, t] of a) r.append(e, t);
|
|
494
|
+
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;
|
|
495
495
|
}
|
|
496
496
|
getWsURL(e) {
|
|
497
497
|
let t = this.getSessionURL("/ws", e);
|
|
@@ -499,11 +499,11 @@ var j = new Set(Object.values(o)), M = class {
|
|
|
499
499
|
}
|
|
500
500
|
getSseURL(e) {
|
|
501
501
|
let t = this.getSessionURL("/sse", e);
|
|
502
|
-
return t.searchParams.delete(
|
|
502
|
+
return t.searchParams.delete(i.accessToken), t;
|
|
503
503
|
}
|
|
504
504
|
getNotebookURL(e) {
|
|
505
505
|
let t = this.formatHttpURL({ path: `/api/marimo/v1/notebooks/${encodeURIComponent(e)}` });
|
|
506
|
-
return t.searchParams.delete(
|
|
506
|
+
return t.searchParams.delete(i.accessToken), t;
|
|
507
507
|
}
|
|
508
508
|
getTerminalWsURL(e) {
|
|
509
509
|
let t = this.formatWsURL("/terminal/ws");
|
|
@@ -511,8 +511,8 @@ var j = new Set(Object.values(o)), M = class {
|
|
|
511
511
|
}
|
|
512
512
|
getLSPURL(e) {
|
|
513
513
|
if (e === "copilot") {
|
|
514
|
-
let t = this.formatWsURL(`/lsp/${e}`), n = t.searchParams.get(
|
|
515
|
-
return t.search = "", n && t.searchParams.set(
|
|
514
|
+
let t = this.formatWsURL(`/lsp/${e}`), n = t.searchParams.get(i.accessToken);
|
|
515
|
+
return t.search = "", n && t.searchParams.set(i.accessToken, n), t;
|
|
516
516
|
}
|
|
517
517
|
return this.formatWsURL(`/lsp/${e}`);
|
|
518
518
|
}
|
|
@@ -593,9 +593,9 @@ function P() {
|
|
|
593
593
|
let e = new URL(document.baseURI);
|
|
594
594
|
return e.search = "", e.hash = "", e.toString();
|
|
595
595
|
}
|
|
596
|
-
var F = { url: P() }, I =
|
|
596
|
+
var F = { url: P() }, I = o(F), L = o((e) => new M(e(I)));
|
|
597
597
|
function R() {
|
|
598
|
-
return
|
|
598
|
+
return s.get(L);
|
|
599
599
|
}
|
|
600
600
|
function z(e) {
|
|
601
601
|
if (e.startsWith("http")) return new URL(e);
|
|
@@ -603,7 +603,7 @@ function z(e) {
|
|
|
603
603
|
return t.startsWith("blob:") && (t = t.replace("blob:", "")), new URL(e, t);
|
|
604
604
|
}
|
|
605
605
|
n();
|
|
606
|
-
var B =
|
|
606
|
+
var B = o(!1);
|
|
607
607
|
//#endregion
|
|
608
608
|
//#region src/core/static/export-context.ts
|
|
609
609
|
function V(e) {
|
|
@@ -619,7 +619,7 @@ function U() {
|
|
|
619
619
|
return H()?.trusted === !0;
|
|
620
620
|
}
|
|
621
621
|
function W() {
|
|
622
|
-
if (
|
|
622
|
+
if (s.get(B) || U() || s.get(r)) return !0;
|
|
623
623
|
try {
|
|
624
624
|
if (u() === "read") return !0;
|
|
625
625
|
} catch {}
|
|
@@ -2,23 +2,23 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { h as t, t as n } from "./button-Z2R2272J.js";
|
|
3
3
|
import { t as r } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { t as a } from "./copy-icon-
|
|
6
|
-
import { A as o, L as s, Y as c, i as l, j as u, n as d,
|
|
7
|
-
import { n as h, t as ee } from "./globals-
|
|
8
|
-
import { r as g } from "./assertNever-
|
|
5
|
+
import { t as a } from "./copy-icon-zP4__HPI.js";
|
|
6
|
+
import { A as o, L as s, Y as c, i as l, j as u, n as d, sn as f, tn as p, z as m } from "./error-entries-23Z_1oDM.js";
|
|
7
|
+
import { n as h, t as ee } from "./globals-BFlYTNoR.js";
|
|
8
|
+
import { r as g } from "./assertNever-B9_7z-dW.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-D8btoEHk.js";
|
|
10
|
-
import {
|
|
11
|
-
import { a as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
10
|
+
import { Wt as te, h as v, wt as ne } from "./use-restore-focus-CCfk-ey2.js";
|
|
11
|
+
import { a as re, i as ie, n as ae, r as oe } from "./dialog-DfKgafXJ.js";
|
|
12
|
+
import { t as se } from "./useAsyncData-P5-Oovhq.js";
|
|
13
|
+
import { t as ce } from "./code-visibility-BKmktPMd.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
|
-
var
|
|
16
|
-
let n = (0,
|
|
15
|
+
var y = /* @__PURE__ */ e(r(), 1), b = i(), x = _(), S = (e) => {
|
|
16
|
+
let n = (0, b.c)(8), r, i;
|
|
17
17
|
n[0] === e ? (r = n[1], i = n[2]) : ({className: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
|
|
18
18
|
let a;
|
|
19
19
|
n[3] === r ? a = n[4] : (a = t("animate-pulse rounded-md bg-muted", r), n[3] = r, n[4] = a);
|
|
20
20
|
let o;
|
|
21
|
-
return n[5] !== i || n[6] !== a ? (o = /* @__PURE__ */ (0,
|
|
21
|
+
return n[5] !== i || n[6] !== a ? (o = /* @__PURE__ */ (0, x.jsx)("div", {
|
|
22
22
|
className: a,
|
|
23
23
|
...i
|
|
24
24
|
}), n[5] = i, n[6] = a, n[7] = o) : o = n[7], o;
|
|
@@ -80,11 +80,11 @@ function me(e) {
|
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/hooks/useLocalStorage.ts
|
|
82
82
|
function he(e, t) {
|
|
83
|
-
let n = (0,
|
|
83
|
+
let n = (0, b.c)(11), r;
|
|
84
84
|
n[0] === t ? r = n[1] : (r = new s(t), n[0] = t, n[1] = r);
|
|
85
85
|
let i = r, a;
|
|
86
86
|
n[2] !== e || n[3] !== i ? (a = () => i.get(e), n[2] = e, n[3] = i, n[4] = a) : a = n[4];
|
|
87
|
-
let [o, c] = (0,
|
|
87
|
+
let [o, c] = (0, y.useState)(a), l;
|
|
88
88
|
n[5] !== e || n[6] !== i ? (l = (t) => {
|
|
89
89
|
c(t), i.set(e, t);
|
|
90
90
|
}, n[5] = e, n[6] = i, n[7] = l) : l = n[7];
|
|
@@ -92,24 +92,24 @@ function he(e, t) {
|
|
|
92
92
|
return n[8] !== u || n[9] !== o ? (d = [o, u], n[8] = u, n[9] = o, n[10] = d) : d = n[10], d;
|
|
93
93
|
}
|
|
94
94
|
var ge = (e) => {
|
|
95
|
-
let r = (0,
|
|
95
|
+
let r = (0, b.c)(16), { content: i } = e, [a, o] = (0, y.useState)(!1), s = !a && "max-h-24 overflow-hidden", c;
|
|
96
96
|
r[0] === s ? c = r[1] : (c = t("text-xs bg-muted rounded p-2 overflow-x-auto whitespace-pre-wrap", s), r[0] = s, r[1] = c);
|
|
97
97
|
let l;
|
|
98
|
-
r[2] !== i || r[3] !== c ? (l = /* @__PURE__ */ (0,
|
|
98
|
+
r[2] !== i || r[3] !== c ? (l = /* @__PURE__ */ (0, x.jsx)("pre", {
|
|
99
99
|
className: c,
|
|
100
100
|
children: i
|
|
101
101
|
}), r[2] = i, r[3] = c, r[4] = l) : l = r[4];
|
|
102
102
|
let u;
|
|
103
|
-
r[5] === a ? u = r[6] : (u = !a && /* @__PURE__ */ (0,
|
|
103
|
+
r[5] === a ? u = r[6] : (u = !a && /* @__PURE__ */ (0, x.jsx)("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-10 rounded-b bg-gradient-to-b from-transparent to-muted" }), r[5] = a, r[6] = u);
|
|
104
104
|
let d;
|
|
105
|
-
r[7] !== l || r[8] !== u ? (d = /* @__PURE__ */ (0,
|
|
105
|
+
r[7] !== l || r[8] !== u ? (d = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
106
106
|
className: "relative",
|
|
107
107
|
children: [l, u]
|
|
108
108
|
}), r[7] = l, r[8] = u, r[9] = d) : d = r[9];
|
|
109
109
|
let f;
|
|
110
110
|
r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(E), r[10] = f) : f = r[10];
|
|
111
111
|
let p = a ? "Show less" : "Show more", m;
|
|
112
|
-
r[11] === p ? m = r[12] : (m = /* @__PURE__ */ (0,
|
|
112
|
+
r[11] === p ? m = r[12] : (m = /* @__PURE__ */ (0, x.jsx)(n, {
|
|
113
113
|
type: "button",
|
|
114
114
|
variant: "link",
|
|
115
115
|
size: "xs",
|
|
@@ -118,7 +118,7 @@ var ge = (e) => {
|
|
|
118
118
|
children: p
|
|
119
119
|
}), r[11] = p, r[12] = m);
|
|
120
120
|
let h;
|
|
121
|
-
return r[13] !== d || r[14] !== m ? (h = /* @__PURE__ */ (0,
|
|
121
|
+
return r[13] !== d || r[14] !== m ? (h = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
122
122
|
className: "flex flex-col gap-1",
|
|
123
123
|
children: [d, m]
|
|
124
124
|
}), r[13] = d, r[14] = m, r[15] = h) : h = r[15], h;
|
|
@@ -130,17 +130,17 @@ function _e(e) {
|
|
|
130
130
|
if (e.connectionState !== p.OPEN) return "Connect the notebook to include its source.";
|
|
131
131
|
}
|
|
132
132
|
var T = () => {
|
|
133
|
-
let e = (0,
|
|
133
|
+
let e = (0, b.c)(56), t = te(c), r, i;
|
|
134
134
|
e[0] === t ? (r = e[1], i = e[2]) : (r = async () => {
|
|
135
135
|
if (t != null) return t.getEnvironmentInfo();
|
|
136
136
|
}, i = [t], e[0] = t, e[1] = r, e[2] = i);
|
|
137
|
-
let s =
|
|
138
|
-
e[3] !== g || e[4] !==
|
|
137
|
+
let s = se(r, i), p = l(ne), g = ce(), _ = te(m), y = te(u), C = t != null, w;
|
|
138
|
+
e[3] !== g || e[4] !== y.state || e[5] !== _ || e[6] !== C ? (w = _e({
|
|
139
139
|
hasRequestClient: C,
|
|
140
140
|
filename: _,
|
|
141
141
|
codeAvailable: g,
|
|
142
|
-
connectionState:
|
|
143
|
-
}), e[3] = g, e[4] =
|
|
142
|
+
connectionState: y.state
|
|
143
|
+
}), e[3] = g, e[4] = y.state, e[5] = _, e[6] = C, e[7] = w) : w = e[7];
|
|
144
144
|
let T = w, E = T === void 0, [D, O] = he("marimo:issue-report:include-errors", !1), [k, ye] = he("marimo:issue-report:include-code", !1), A = s.data ? le(s.data, navigator.userAgent) : s.status === "error" || t == null ? ue(ee(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, j, M;
|
|
145
145
|
e[8] !== k || e[9] !== E || e[10] !== t ? (j = async () => {
|
|
146
146
|
if (!k || !E || t == null) return;
|
|
@@ -151,19 +151,19 @@ var T = () => {
|
|
|
151
151
|
E,
|
|
152
152
|
t
|
|
153
153
|
], e[8] = k, e[9] = E, e[10] = t, e[11] = j, e[12] = M) : (j = e[11], M = e[12]);
|
|
154
|
-
let N =
|
|
154
|
+
let N = se(j, M), be = v.bugReportUrl, xe = [];
|
|
155
155
|
if (A) {
|
|
156
156
|
let e = { env: fe(A) };
|
|
157
|
-
D && p.length > 0 && (e["bug-description"] = pe(p)), k && N.data && (e["reproduction-code"] = me(N.data)), {url: be, omitted: xe} = de(
|
|
157
|
+
D && p.length > 0 && (e["bug-description"] = pe(p)), k && N.data && (e["reproduction-code"] = me(N.data)), {url: be, omitted: xe} = de(v.bugReportUrl, e);
|
|
158
158
|
}
|
|
159
159
|
let Se = xe.map(ve).join(", "), P;
|
|
160
|
-
e[13] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ (0,
|
|
160
|
+
e[13] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ (0, x.jsxs)(ie, { children: [/* @__PURE__ */ (0, x.jsx)(re, { children: "Report an issue" }), /* @__PURE__ */ (0, x.jsx)(oe, { children: "Open a GitHub bug report prefilled with your environment, and optionally your current errors and notebook code. Nothing is uploaded automatically; review the details before posting." })] }), e[13] = P) : P = e[13];
|
|
161
161
|
let F;
|
|
162
|
-
e[14] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0,
|
|
162
|
+
e[14] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, x.jsx)(f, { className: "w-4 h-4 mr-2" }), e[14] = F) : F = e[14];
|
|
163
163
|
let I = p.length === 0, L;
|
|
164
164
|
e[15] === O ? L = e[16] : (L = (e) => O(e === !0), e[15] = O, e[16] = L);
|
|
165
165
|
let R;
|
|
166
|
-
e[17] !== D || e[18] !== I || e[19] !== L ? (R = /* @__PURE__ */ (0,
|
|
166
|
+
e[17] !== D || e[18] !== I || e[19] !== L ? (R = /* @__PURE__ */ (0, x.jsx)(o, {
|
|
167
167
|
id: "issue-include-errors",
|
|
168
168
|
checked: D,
|
|
169
169
|
disabled: I,
|
|
@@ -171,19 +171,19 @@ var T = () => {
|
|
|
171
171
|
"aria-label": "Include errors"
|
|
172
172
|
}), e[17] = D, e[18] = I, e[19] = L, e[20] = R) : R = e[20];
|
|
173
173
|
let z;
|
|
174
|
-
e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0,
|
|
174
|
+
e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0, x.jsx)("label", {
|
|
175
175
|
htmlFor: "issue-include-errors",
|
|
176
176
|
children: "Include errors"
|
|
177
177
|
}), e[21] = z) : z = e[21];
|
|
178
178
|
let B;
|
|
179
|
-
e[22] === R ? B = e[23] : (B = /* @__PURE__ */ (0,
|
|
179
|
+
e[22] === R ? B = e[23] : (B = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
180
180
|
className: "flex items-center gap-2 text-sm",
|
|
181
181
|
children: [R, z]
|
|
182
182
|
}), e[22] = R, e[23] = B);
|
|
183
183
|
let Ce = !E, V;
|
|
184
184
|
e[24] === ye ? V = e[25] : (V = (e) => ye(e === !0), e[24] = ye, e[25] = V);
|
|
185
185
|
let H;
|
|
186
|
-
e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0,
|
|
186
|
+
e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, x.jsx)(o, {
|
|
187
187
|
id: "issue-include-code",
|
|
188
188
|
checked: k,
|
|
189
189
|
disabled: Ce,
|
|
@@ -191,27 +191,27 @@ var T = () => {
|
|
|
191
191
|
"aria-label": "Include notebook code"
|
|
192
192
|
}), e[26] = k, e[27] = Ce, e[28] = V, e[29] = H) : H = e[29];
|
|
193
193
|
let U;
|
|
194
|
-
e[30] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ (0,
|
|
194
|
+
e[30] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ (0, x.jsx)("label", {
|
|
195
195
|
htmlFor: "issue-include-code",
|
|
196
196
|
children: "Include notebook code"
|
|
197
197
|
}), e[30] = U) : U = e[30];
|
|
198
198
|
let W;
|
|
199
|
-
e[31] === H ? W = e[32] : (W = /* @__PURE__ */ (0,
|
|
199
|
+
e[31] === H ? W = e[32] : (W = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
200
200
|
className: "flex items-center gap-2 text-sm",
|
|
201
201
|
children: [H, U]
|
|
202
202
|
}), e[31] = H, e[32] = W);
|
|
203
203
|
let G;
|
|
204
|
-
e[33] === T ? G = e[34] : (G = T && /* @__PURE__ */ (0,
|
|
204
|
+
e[33] === T ? G = e[34] : (G = T && /* @__PURE__ */ (0, x.jsx)("span", {
|
|
205
205
|
className: "text-xs text-muted-foreground ml-6",
|
|
206
206
|
children: T
|
|
207
207
|
}), e[33] = T, e[34] = G);
|
|
208
208
|
let K;
|
|
209
|
-
e[35] !== N || e[36] !== k ? (K = k && N.status === "error" && /* @__PURE__ */ (0,
|
|
209
|
+
e[35] !== N || e[36] !== k ? (K = k && N.status === "error" && /* @__PURE__ */ (0, x.jsx)("span", {
|
|
210
210
|
className: "text-xs text-(--red-11) ml-6",
|
|
211
211
|
children: "Notebook source could not be loaded."
|
|
212
212
|
}), e[35] = N, e[36] = k, e[37] = K) : K = e[37];
|
|
213
213
|
let q;
|
|
214
|
-
e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0,
|
|
214
|
+
e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
215
215
|
className: "flex flex-col gap-1",
|
|
216
216
|
children: [
|
|
217
217
|
W,
|
|
@@ -220,30 +220,30 @@ var T = () => {
|
|
|
220
220
|
]
|
|
221
221
|
}), e[38] = W, e[39] = G, e[40] = K, e[41] = q) : q = e[41];
|
|
222
222
|
let J;
|
|
223
|
-
e[42] !== B || e[43] !== q ? (J = /* @__PURE__ */ (0,
|
|
223
|
+
e[42] !== B || e[43] !== q ? (J = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
224
224
|
className: "flex flex-col gap-2",
|
|
225
225
|
children: [B, q]
|
|
226
226
|
}), e[42] = B, e[43] = q, e[44] = J) : J = e[44];
|
|
227
227
|
let Y;
|
|
228
|
-
e[45] !== s.status || e[46] !== t ? (Y = s.status === "pending" && t != null && /* @__PURE__ */ (0,
|
|
228
|
+
e[45] !== s.status || e[46] !== t ? (Y = s.status === "pending" && t != null && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
229
229
|
className: "flex flex-col gap-2",
|
|
230
230
|
children: [
|
|
231
|
-
/* @__PURE__ */ (0,
|
|
231
|
+
/* @__PURE__ */ (0, x.jsx)("span", {
|
|
232
232
|
className: "text-sm text-muted-foreground",
|
|
233
233
|
children: "Loading environment details…"
|
|
234
234
|
}),
|
|
235
|
-
/* @__PURE__ */ (0,
|
|
236
|
-
/* @__PURE__ */ (0,
|
|
237
|
-
/* @__PURE__ */ (0,
|
|
235
|
+
/* @__PURE__ */ (0, x.jsx)(S, { className: "h-4 w-full" }),
|
|
236
|
+
/* @__PURE__ */ (0, x.jsx)(S, { className: "h-4 w-3/4" }),
|
|
237
|
+
/* @__PURE__ */ (0, x.jsx)(S, { className: "h-4 w-1/2" })
|
|
238
238
|
]
|
|
239
239
|
}), e[45] = s.status, e[46] = t, e[47] = Y) : Y = e[47];
|
|
240
240
|
let X;
|
|
241
|
-
e[48] !== s || e[49] !== t ? (X = (s.status === "error" || t == null) && /* @__PURE__ */ (0,
|
|
241
|
+
e[48] !== s || e[49] !== t ? (X = (s.status === "error" || t == null) && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
242
242
|
className: "flex items-center gap-2 text-sm",
|
|
243
243
|
children: [
|
|
244
|
-
/* @__PURE__ */ (0,
|
|
245
|
-
/* @__PURE__ */ (0,
|
|
246
|
-
t != null && /* @__PURE__ */ (0,
|
|
244
|
+
/* @__PURE__ */ (0, x.jsx)(h, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
|
|
245
|
+
/* @__PURE__ */ (0, x.jsx)("span", { children: "Server environment information unavailable" }),
|
|
246
|
+
t != null && /* @__PURE__ */ (0, x.jsx)(n, {
|
|
247
247
|
type: "button",
|
|
248
248
|
variant: "link",
|
|
249
249
|
size: "xs",
|
|
@@ -253,22 +253,22 @@ var T = () => {
|
|
|
253
253
|
]
|
|
254
254
|
}), e[48] = s, e[49] = t, e[50] = X) : X = e[50];
|
|
255
255
|
let Z;
|
|
256
|
-
e[51] !== A || e[52] !== p ? (Z = A && p.length === 0 && /* @__PURE__ */ (0,
|
|
256
|
+
e[51] !== A || e[52] !== p ? (Z = A && p.length === 0 && /* @__PURE__ */ (0, x.jsx)("span", {
|
|
257
257
|
className: "text-sm text-muted-foreground",
|
|
258
258
|
children: "No errors detected."
|
|
259
259
|
}), e[51] = A, e[52] = p, e[53] = Z) : Z = e[53];
|
|
260
260
|
let Q;
|
|
261
|
-
e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0,
|
|
262
|
-
href:
|
|
261
|
+
e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0, x.jsx)("a", {
|
|
262
|
+
href: v.feedbackForm,
|
|
263
263
|
target: "_blank",
|
|
264
264
|
rel: "noreferrer",
|
|
265
265
|
className: "underline",
|
|
266
266
|
children: "two-minute survey"
|
|
267
267
|
}), e[54] = Q) : Q = e[54];
|
|
268
268
|
let $;
|
|
269
|
-
return e[55] === Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ (0,
|
|
269
|
+
return e[55] === Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ (0, x.jsx)("div", {
|
|
270
270
|
className: "border-t pt-3",
|
|
271
|
-
children: /* @__PURE__ */ (0,
|
|
271
|
+
children: /* @__PURE__ */ (0, x.jsxs)("p", {
|
|
272
272
|
className: "text-sm text-muted-foreground",
|
|
273
273
|
children: [
|
|
274
274
|
"Other feedback? Take our",
|
|
@@ -277,8 +277,8 @@ var T = () => {
|
|
|
277
277
|
" ",
|
|
278
278
|
"or chat with us on",
|
|
279
279
|
" ",
|
|
280
|
-
/* @__PURE__ */ (0,
|
|
281
|
-
href:
|
|
280
|
+
/* @__PURE__ */ (0, x.jsx)("a", {
|
|
281
|
+
href: v.discordLink,
|
|
282
282
|
target: "_blank",
|
|
283
283
|
rel: "noreferrer",
|
|
284
284
|
className: "underline",
|
|
@@ -287,21 +287,21 @@ var T = () => {
|
|
|
287
287
|
"."
|
|
288
288
|
]
|
|
289
289
|
})
|
|
290
|
-
}), e[55] = $) : $ = e[55], /* @__PURE__ */ (0,
|
|
290
|
+
}), e[55] = $) : $ = e[55], /* @__PURE__ */ (0, x.jsxs)(ae, {
|
|
291
291
|
className: "w-[540px] max-w-[90vw]",
|
|
292
|
-
children: [P, /* @__PURE__ */ (0,
|
|
292
|
+
children: [P, /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
293
293
|
className: "flex flex-col gap-4 max-h-[60vh] overflow-y-auto",
|
|
294
294
|
children: [
|
|
295
|
-
/* @__PURE__ */ (0,
|
|
295
|
+
/* @__PURE__ */ (0, x.jsxs)("div", {
|
|
296
296
|
className: "flex flex-col gap-3",
|
|
297
297
|
children: [
|
|
298
|
-
/* @__PURE__ */ (0,
|
|
298
|
+
/* @__PURE__ */ (0, x.jsx)(n, {
|
|
299
299
|
type: "button",
|
|
300
300
|
variant: "default",
|
|
301
301
|
size: "xs",
|
|
302
302
|
asChild: !0,
|
|
303
303
|
className: "self-start",
|
|
304
|
-
children: /* @__PURE__ */ (0,
|
|
304
|
+
children: /* @__PURE__ */ (0, x.jsxs)("a", {
|
|
305
305
|
href: be,
|
|
306
306
|
target: "_blank",
|
|
307
307
|
rel: "noreferrer",
|
|
@@ -309,14 +309,14 @@ var T = () => {
|
|
|
309
309
|
})
|
|
310
310
|
}),
|
|
311
311
|
J,
|
|
312
|
-
Se ? /* @__PURE__ */ (0,
|
|
312
|
+
Se ? /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
313
313
|
className: "flex items-start gap-2 text-xs text-(--yellow-11)",
|
|
314
|
-
children: [/* @__PURE__ */ (0,
|
|
314
|
+
children: [/* @__PURE__ */ (0, x.jsx)(h, { className: "w-3.5 h-3.5 shrink-0 mt-0.5" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
|
|
315
315
|
"Too large to prefill and left out of the link: ",
|
|
316
316
|
Se,
|
|
317
317
|
". Paste them into the issue manually."
|
|
318
318
|
] })]
|
|
319
|
-
}) : /* @__PURE__ */ (0,
|
|
319
|
+
}) : /* @__PURE__ */ (0, x.jsx)("p", {
|
|
320
320
|
className: "text-xs text-muted-foreground",
|
|
321
321
|
children: "Your environment is always included."
|
|
322
322
|
})
|
|
@@ -324,35 +324,35 @@ var T = () => {
|
|
|
324
324
|
}),
|
|
325
325
|
Y,
|
|
326
326
|
X,
|
|
327
|
-
A && /* @__PURE__ */ (0,
|
|
327
|
+
A && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
328
328
|
className: "flex flex-col gap-1",
|
|
329
|
-
children: [/* @__PURE__ */ (0,
|
|
329
|
+
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
|
|
330
330
|
className: "flex items-center justify-between",
|
|
331
|
-
children: [/* @__PURE__ */ (0,
|
|
331
|
+
children: [/* @__PURE__ */ (0, x.jsx)("span", {
|
|
332
332
|
className: "text-sm font-medium",
|
|
333
333
|
children: "Environment details"
|
|
334
|
-
}), /* @__PURE__ */ (0,
|
|
334
|
+
}), /* @__PURE__ */ (0, x.jsx)(a, {
|
|
335
335
|
className: "w-3.5 h-3.5",
|
|
336
336
|
value: JSON.stringify(A, null, 2),
|
|
337
337
|
ariaLabel: "Copy environment JSON",
|
|
338
338
|
toastTitle: "Environment details copied"
|
|
339
339
|
})]
|
|
340
|
-
}), /* @__PURE__ */ (0,
|
|
340
|
+
}), /* @__PURE__ */ (0, x.jsx)(ge, { content: JSON.stringify(A, null, 2) })]
|
|
341
341
|
}),
|
|
342
|
-
A && p.length > 0 && /* @__PURE__ */ (0,
|
|
342
|
+
A && p.length > 0 && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
343
343
|
className: "flex flex-col gap-1",
|
|
344
|
-
children: [/* @__PURE__ */ (0,
|
|
344
|
+
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
|
|
345
345
|
className: "flex items-center justify-between",
|
|
346
|
-
children: [/* @__PURE__ */ (0,
|
|
346
|
+
children: [/* @__PURE__ */ (0, x.jsx)("span", {
|
|
347
347
|
className: "text-sm font-medium",
|
|
348
348
|
children: "Errors"
|
|
349
|
-
}), /* @__PURE__ */ (0,
|
|
349
|
+
}), /* @__PURE__ */ (0, x.jsx)(a, {
|
|
350
350
|
className: "w-3.5 h-3.5",
|
|
351
351
|
value: pe(p),
|
|
352
352
|
ariaLabel: "Copy errors",
|
|
353
353
|
toastTitle: "Errors copied"
|
|
354
354
|
})]
|
|
355
|
-
}), /* @__PURE__ */ (0,
|
|
355
|
+
}), /* @__PURE__ */ (0, x.jsx)(ge, { content: p.map(d).join("\n\n---\n\n") })]
|
|
356
356
|
}),
|
|
357
357
|
Z,
|
|
358
358
|
$
|
|
@@ -8,8 +8,8 @@ import "./chunk-4HAMMTFA-qKgadZwy.js";
|
|
|
8
8
|
import "./chunk-GVQU2GXP-BkolpSXU.js";
|
|
9
9
|
import "./chunk-L3NEJ4N5-B-BFQp9t.js";
|
|
10
10
|
import "./chunk-OSK3NFVY-BzfZ4VBG.js";
|
|
11
|
-
import "./mermaid-
|
|
11
|
+
import "./mermaid-C2alqcd8.js";
|
|
12
12
|
import "./chunk-F27PBJKO-COH2t-FO.js";
|
|
13
13
|
import "./chunk-XXDRQBXY-BM-YIt-_.js";
|
|
14
14
|
import "./chunk-POPQ4Y6H-BFSZel4w.js";
|
|
15
|
-
export { n as diagram } from "./chunk-SHT3W25Y-
|
|
15
|
+
export { n as diagram } from "./chunk-SHT3W25Y-BWrxB3I2.js";
|
|
@@ -4,7 +4,7 @@ import { t as r } from "./react-Bgs_wQh3.js";
|
|
|
4
4
|
import { t as i } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
5
|
import { t as a } from "./jsx-runtime-D8btoEHk.js";
|
|
6
6
|
import { t as o } from "./toDate-BZg-byuO.js";
|
|
7
|
-
import { a as s } from "./loader-
|
|
7
|
+
import { a as s } from "./loader-C9-qRO3m.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
9
9
|
function c(e) {
|
|
10
10
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
@@ -2,19 +2,19 @@ import { a as e, r as t, t as n } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { m as r, t as i } from "./button-Z2R2272J.js";
|
|
3
3
|
import { t as a } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as o } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { i as s, n as c, r as l } from "./copy-icon-
|
|
6
|
-
import { d as u } from "./tooltip-
|
|
7
|
-
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-
|
|
8
|
-
import { d as _, g as v, i as y, l as b, n as x, o as S, p as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-
|
|
9
|
-
import { t as O } from "./pencil-
|
|
10
|
-
import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-
|
|
11
|
-
import { i as M, n as N } from "./assertNever-
|
|
5
|
+
import { i as s, n as c, r as l } from "./copy-icon-zP4__HPI.js";
|
|
6
|
+
import { d as u } from "./tooltip-D-9pDheN.js";
|
|
7
|
+
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-Buk3aXi1.js";
|
|
8
|
+
import { d as _, g as v, i as y, l as b, n as x, o as S, p as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-Dge_SmqE.js";
|
|
9
|
+
import { t as O } from "./pencil-D7jyZPnP.js";
|
|
10
|
+
import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-BRcuSTCx.js";
|
|
11
|
+
import { i as M, n as N } from "./assertNever-B9_7z-dW.js";
|
|
12
12
|
import { t as P } from "./react-dom-DdqGVp5N.js";
|
|
13
13
|
import { t as F } from "./jsx-runtime-D8btoEHk.js";
|
|
14
|
-
import {
|
|
14
|
+
import { f as ae, r as I } from "./use-restore-focus-CCfk-ey2.js";
|
|
15
15
|
import { t as oe } from "./useEvent-BoN7U38T.js";
|
|
16
16
|
import { n as L, t as se } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
17
|
-
import { t as ce } from "./ErrorBoundary-
|
|
17
|
+
import { t as ce } from "./ErrorBoundary-BW4TciqU.js";
|
|
18
18
|
import { A as le, C as ue, D as de, E as fe, F as pe, I as me, L as he, M as ge, N as R, O as z, P as _e, R as ve, S as ye, T as be, _ as xe, a as Se, b as B, c as Ce, d as we, f as V, g as Te, h as Ee, i as De, j as H, k as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, r as U, s as Pe, t as Fe, u as Ie, v as Le, w as Re, x as ze, y as Be, z as Ve } from "./data-grid-types-DBNnjiYJ.js";
|
|
19
19
|
//#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
20
20
|
function He(e) {
|
|
@@ -7061,7 +7061,7 @@ function ds(e, t, n, r, i) {
|
|
|
7061
7061
|
}
|
|
7062
7062
|
//#endregion
|
|
7063
7063
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
|
|
7064
|
-
var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7064
|
+
var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-DTibdR4H.js")), hs = 0;
|
|
7065
7065
|
function gs(e) {
|
|
7066
7066
|
return (0, fs.default)((0, ps.default)((0, ps.default)(e).filter((e) => e.span !== void 0).map((e) => (0, ao.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7067
7067
|
}
|
|
@@ -9284,7 +9284,7 @@ function Ys(e, t, n, r, i) {
|
|
|
9284
9284
|
}
|
|
9285
9285
|
//#endregion
|
|
9286
9286
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
|
|
9287
|
-
var Xs = W.lazy(async () => await import("./number-overlay-editor-
|
|
9287
|
+
var Xs = W.lazy(async () => await import("./number-overlay-editor-qDcRKPE0.js")), Zs = {
|
|
9288
9288
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9289
9289
|
kind: U.Number,
|
|
9290
9290
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
2
2
|
import { g as t } from "./button-Z2R2272J.js";
|
|
3
|
-
import { h as n } from "./tooltip-
|
|
4
|
-
import { n as r } from "./assertNever-
|
|
3
|
+
import { h as n } from "./tooltip-D-9pDheN.js";
|
|
4
|
+
import { n as r } from "./assertNever-B9_7z-dW.js";
|
|
5
5
|
import { i, r as a } from "./data-grid-types-DBNnjiYJ.js";
|
|
6
6
|
var o = n("trash", [
|
|
7
7
|
["path", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as e } from "./tooltip-
|
|
2
|
-
import {
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
1
|
+
import { h as e } from "./tooltip-D-9pDheN.js";
|
|
2
|
+
import { wt as t } from "./use-restore-focus-CCfk-ey2.js";
|
|
3
|
+
import { r as n } from "./code-visibility-BKmktPMd.js";
|
|
4
4
|
var r = e("triangle-alert", [
|
|
5
5
|
["path", {
|
|
6
6
|
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|