@marimo-team/islands 0.25.3-dev105 → 0.25.3-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-Dhf5EGs5.js → ConnectedDataExplorerComponent-CFzqIsUg.js} +1 -1
- package/dist/{ErrorBoundary-CkptjJEU.js → ErrorBoundary-DkWGqNH6.js} +1 -1
- package/dist/{chat-ui-BjFJNtik.js → chat-ui-DA8zEZ1I.js} +3 -3
- package/dist/{code-visibility-Djtm07c9.js → code-visibility-B5PjxmuC.js} +2 -2
- package/dist/{common-B_mI5VC0.js → common-BNQlMHY4.js} +12 -5
- package/dist/{data-grid-overlay-editor-CDoqD-jC.js → data-grid-overlay-editor-BWYs1FTB.js} +1 -1
- package/dist/{error-entries-m7wjcSR-.js → error-entries-g9iQiVIT.js} +54 -34
- package/dist/{feedback-button-0HAIFve4.js → feedback-button-Ca3pfo3S.js} +3 -3
- package/dist/{glide-data-editor-q0CzLqHy.js → glide-data-editor-B2X3cvOg.js} +3 -3
- package/dist/{globals-XxWFgM2b.js → globals-DejLMUJH.js} +1 -1
- package/dist/{html-to-image-DQn1HTpP.js → html-to-image-Bg5ZoSO-.js} +1 -1
- package/dist/main.js +94 -69
- package/dist/{number-overlay-editor-C41yshYb.js → number-overlay-editor-XZH_yeH-.js} +1 -1
- package/dist/{process-output-DIMk7xHI.js → process-output-BtVPCGeI.js} +2 -2
- package/dist/{reveal-component-gMNFwxnS.js → reveal-component-BGaiEIZB.js} +3 -3
- package/dist/{spec-CcT0slVc.js → spec-DTiOPKyk.js} +37 -7
- package/package.json +2 -2
- package/src/components/data-table/__tests__/chart-spec-model.test.ts +195 -195
- package/src/components/data-table/charts/__tests__/spec-snapshot.test.ts +20 -20
- package/src/components/data-table/charts/__tests__/spec.test.ts +78 -52
- package/src/components/data-table/charts/chart-spec/spec.ts +68 -43
- package/src/components/data-table/charts/charts.tsx +5 -5
- package/src/components/data-table/column-summary/chart-spec-model.tsx +23 -16
- package/src/components/dependency-graph/dependency-graph-tree.tsx +8 -8
- package/src/components/dependency-graph/elements.ts +24 -21
- package/src/components/dependency-graph/utils/__tests__/layout.test.ts +18 -11
- package/src/components/editor/output/ansi-reduce.ts +30 -23
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +12 -6
- package/src/core/ai/tools/base.ts +16 -7
- package/src/core/ai/tools/edit-notebook-tool.ts +47 -45
- package/src/core/ai/tools/registry.ts +13 -8
- package/src/core/ai/tools/sample-tool.ts +6 -7
- package/src/core/cells/__tests__/session.test.ts +117 -36
- package/src/core/codemirror/__tests__/setup.test.ts +28 -28
- package/src/core/codemirror/language/__tests__/sql.test.ts +22 -20
- package/src/core/codemirror/language/extension.ts +8 -8
- package/src/core/codemirror/language/languages/markdown.ts +8 -6
- package/src/core/codemirror/language/languages/python.ts +13 -7
- package/src/core/codemirror/language/languages/sql/sql.ts +9 -7
- package/src/core/codemirror/language/types.ts +7 -7
- package/src/core/codemirror/rtc/extension.ts +24 -12
- package/src/core/codemirror/rtc/loro/awareness.ts +34 -19
- package/src/core/codemirror/rtc/loro/sync.ts +1 -0
- package/src/core/codemirror/utils.ts +1 -0
- package/src/core/islands/components/__tests__/IslandControls.test.tsx +7 -5
- package/src/core/static/__tests__/files.test.ts +38 -10
- package/src/plugins/__tests__/plugin-object-schemas.test.ts +104 -0
- package/src/plugins/impl/DataEditorPlugin.tsx +1 -1
- package/src/plugins/impl/DataTablePlugin.tsx +15 -18
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -1
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +2 -5
- package/src/plugins/impl/plotly/selection.ts +25 -19
- package/src/plugins/impl/vega/VegaPlugin.tsx +2 -3
|
@@ -3,7 +3,7 @@ import { g as a, h as o, t as s } from "./button-BxB3RDjN.js";
|
|
|
3
3
|
import { t as c } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as l } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { h as u, t as d } from "./tooltip-CKO1pHJo.js";
|
|
6
|
-
import { D as f, t as p } from "./spec-
|
|
6
|
+
import { D as f, t as p } from "./spec-DTiOPKyk.js";
|
|
7
7
|
import { a as m, c as h, i as g, o as _, r as v, s as y, t as b } from "./useLifecycle-Dum8WSXq.js";
|
|
8
8
|
import { a as x, t as S } from "./useDateFormatter-c_yJtkAe.js";
|
|
9
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-B0LRDH0g.js";
|
|
@@ -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-
|
|
138
|
+
var I = (0, T.lazy)(() => import("./feedback-button-Ca3pfo3S.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,
|
|
@@ -3,13 +3,13 @@ import { c as n, g as r, h as i, t as a } from "./button-BxB3RDjN.js";
|
|
|
3
3
|
import { t as o } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { i as c, t as l } from "./copy-icon-CPoxUG7G.js";
|
|
6
|
-
import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-
|
|
6
|
+
import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-Bg5ZoSO-.js";
|
|
7
7
|
import { h as j, t as re } from "./tooltip-CKO1pHJo.js";
|
|
8
|
-
import { Ct as ie, Et as ae, Ht as oe, L as se, Lt as ce, Nt as le, St as ue, X as de, cn as fe, ct as pe, dn as me, en as he, et as ge, h as _e, i as ve, ln as ye, mn as be, mt as xe, r as Se, rt as Ce, st as we, t as Te, w as Ee, xt as De } from "./error-entries-
|
|
8
|
+
import { Ct as ie, Et as ae, Ht as oe, L as se, Lt as ce, Nt as le, St as ue, X as de, cn as fe, ct as pe, dn as me, en as he, et as ge, h as _e, i as ve, ln as ye, mn as be, mt as xe, r as Se, rt as Ce, st as we, t as Te, w as Ee, xt as De } from "./error-entries-g9iQiVIT.js";
|
|
9
9
|
import { A as Oe, C as ke, M as Ae, b as je } from "./select-B0LRDH0g.js";
|
|
10
10
|
import { _ as Me, f as Ne, h as Pe, i as Fe, n as Ie, t as Le } from "./dropdown-menu-B_7xD2X4.js";
|
|
11
11
|
import { C as Re, d as ze } from "./toDate-DKH0_kMo.js";
|
|
12
|
-
import { d as Be, f as Ve, i as He, n as Ue, t as We, u as Ge } from "./process-output-
|
|
12
|
+
import { d as Be, f as Ve, i as He, n as Ue, t as We, u as Ge } from "./process-output-BtVPCGeI.js";
|
|
13
13
|
import { t as Ke } from "./jsx-runtime-3BD1kT0s.js";
|
|
14
14
|
import { A as qe, C as Je, D as Ye, E as Xe, F as Ze, L as Qe, M as $e, O as et, P as tt, R as nt, S as rt, T as it, V as at, b as ot, j as st, v as ct, w as lt, x as ut, y as dt, z as ft } from "./use-restore-focus-DBCITLeF.js";
|
|
15
15
|
import { n as pt } from "./error-banner-Sl2FlSJ4.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as e } from "./button-BxB3RDjN.js";
|
|
2
2
|
import { t } from "./compiler-runtime-CldRdSsv.js";
|
|
3
|
-
import { G as n, K as r } from "./error-entries-
|
|
3
|
+
import { G as n, K as r } from "./error-entries-g9iQiVIT.js";
|
|
4
4
|
import { C as i } from "./select-B0LRDH0g.js";
|
|
5
5
|
import { _ as a, c as o, x as s, y as c } from "./toDate-DKH0_kMo.js";
|
|
6
6
|
import { C as l, E as u, a as d, b as f } from "./useTheme-CfeaVw5D.js";
|
|
@@ -18,7 +18,7 @@ function x() {
|
|
|
18
18
|
return e.warn("Failed to get version from mount config"), null;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
var S = x() || "0.25.3-
|
|
21
|
+
var S = x() || "0.25.3-dev108", C = u(S), w = u(!0);
|
|
22
22
|
u(null);
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/core/wasm/state.ts
|
|
@@ -3,16 +3,16 @@ import { _ as t, c as n, f as r, g as i, h as a, m as o, n as s, p as c, r as l,
|
|
|
3
3
|
import { t as d } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as f } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { i as p, n as m, r as h, t as g } from "./copy-icon-CPoxUG7G.js";
|
|
6
|
-
import { $ as _, A as v, B as y, D as b, E as x, F as S, H as C, M as w, N as T, Q as E, S as D, T as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, g as F, n as I, r as L, s as R, t as z, u as B, v as ee, w as V, y as te, z as ne } from "./html-to-image-
|
|
6
|
+
import { $ as _, A as v, B as y, D as b, E as x, F as S, H as C, M as w, N as T, Q as E, S as D, T as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, g as F, n as I, r as L, s as R, t as z, u as B, v as ee, w as V, y as te, z as ne } from "./html-to-image-Bg5ZoSO-.js";
|
|
7
7
|
import { a as re, d as ie, h as H, n as ae, o as oe, r as se, t as U } from "./tooltip-CKO1pHJo.js";
|
|
8
|
-
import { $ as ce, A as le, D as ue, Et as de, F as fe, G as pe, Ht as me, I as he, J as ge, K as _e, L as ve, Ot as ye, Rt as be, T as xe, Ut as Se, V as Ce, Xt as we, Yt as Te, Zt as Ee, _t as De, an as Oe, at as ke, b as Ae, c as je, cn as Me, dn as Ne, en as Pe, gn as Fe, gt as Ie, h as Le, hn as Re, l as ze, ln as Be, lt as Ve, mn as He, mt as Ue, on as We, ot as Ge, rn as Ke, st as qe, t as Je, un as Ye, vt as Xe, w as Ze, x as Qe, y as $e } from "./error-entries-
|
|
8
|
+
import { $ as ce, A as le, D as ue, Et as de, F as fe, G as pe, Ht as me, I as he, J as ge, K as _e, L as ve, Ot as ye, Rt as be, T as xe, Ut as Se, V as Ce, Xt as we, Yt as Te, Zt as Ee, _t as De, an as Oe, at as ke, b as Ae, c as je, cn as Me, dn as Ne, en as Pe, gn as Fe, gt as Ie, h as Le, hn as Re, l as ze, ln as Be, lt as Ve, mn as He, mt as Ue, on as We, ot as Ge, rn as Ke, st as qe, t as Je, un as Ye, vt as Xe, w as Ze, x as Qe, y as $e } from "./error-entries-g9iQiVIT.js";
|
|
9
9
|
import { c as et, i as tt, r as nt } from "./useLifecycle-Dum8WSXq.js";
|
|
10
10
|
import { a as rt, i as it, n as at, o as ot, r as st, t as ct } from "./useDateFormatter-c_yJtkAe.js";
|
|
11
11
|
import { t as lt } from "./check-P35dc2dH.js";
|
|
12
12
|
import { A as ut, C as dt, M as ft, O as pt, S as mt, _ as ht, b as gt, c as _t, d as vt, g as yt, h as bt, i as xt, l as St, m as Ct, n as wt, p as Tt, s as Et, t as Dt, u as Ot, v as kt, y as At } from "./select-B0LRDH0g.js";
|
|
13
13
|
import { $ as jt, $t as Mt, A as Nt, At as Pt, B as Ft, Bt as It, Ct as Lt, D as Rt, Dt as zt, E as Bt, Et as Vt, F as Ht, Ft as Ut, G as Wt, Gt, H as Kt, Ht as qt, I as Jt, It as Yt, J as Xt, Jt as Zt, Kt as Qt, L as $t, Lt as en, M as tn, Mt as nn, N as rn, Nt as an, O as on, Ot as sn, P as cn, Pt as ln, Q as un, Qt as dn, R as fn, Rt as pn, S as mn, St as hn, T as gn, Tt as _n, U as vn, Ut as yn, V as bn, Vt as xn, W as Sn, Wt as Cn, X as wn, Xt as Tn, Y as En, Yt as Dn, Z as On, Zt as kn, _ as An, _n as jn, _t as Mn, a as Nn, an as Pn, at as Fn, b as In, bt as Ln, cn as Rn, ct as zn, d as Bn, dn as Vn, en as Hn, et as Un, f as Wn, fn as Gn, ft as Kn, gn as qn, gt as Jn, h as Yn, hn as Xn, ht as Zn, i as Qn, in as $n, it as er, j as tr, jt as nr, k as rr, kt as ir, l as ar, ln as or, lt as sr, mn as cr, mt as lr, n as ur, nn as dr, nt as fr, o as pr, ot as mr, pn as hr, pt as gr, qt as _r, rn as vr, rt as yr, s as br, sn as xr, st as Sr, t as Cr, tt as wr, u as Tr, ut as Er, vn as Dr, vt as Or, w as kr, wt as Ar, x as jr, xt as Mr, y as Nr, yn as Pr, yt as Fr, z as Ir, zt as Lr } from "./dropdown-menu-B_7xD2X4.js";
|
|
14
14
|
import { a as Rr, c as zr, d as Br, i as Vr, l as Hr, n as Ur, o as Wr, r as Gr, t as Kr, v as qr, x as Jr, y as Yr } from "./toDate-DKH0_kMo.js";
|
|
15
|
-
import { n as Xr, t as Zr } from "./ErrorBoundary-
|
|
15
|
+
import { n as Xr, t as Zr } from "./ErrorBoundary-DkWGqNH6.js";
|
|
16
16
|
import { t as Qr } from "./clsx-CoeGtWvn.js";
|
|
17
17
|
import { t as $r } from "./react-dom-DUmH0GXv.js";
|
|
18
18
|
import { t as ei } from "./jsx-runtime-3BD1kT0s.js";
|
|
@@ -18088,7 +18088,14 @@ var UA = class e {
|
|
|
18088
18088
|
columnStats = /* @__PURE__ */ new Map();
|
|
18089
18089
|
columnBinValues = /* @__PURE__ */ new Map();
|
|
18090
18090
|
columnValueCounts = /* @__PURE__ */ new Map();
|
|
18091
|
-
static EMPTY = new e(
|
|
18091
|
+
static EMPTY = new e({
|
|
18092
|
+
data: [],
|
|
18093
|
+
fieldTypes: /* @__PURE__ */ new Map(),
|
|
18094
|
+
stats: {},
|
|
18095
|
+
binValues: {},
|
|
18096
|
+
valueCounts: {},
|
|
18097
|
+
opts: { includeCharts: !1 }
|
|
18098
|
+
});
|
|
18092
18099
|
dataSpec;
|
|
18093
18100
|
legacyDataSpec;
|
|
18094
18101
|
legacySourceName;
|
|
@@ -18097,7 +18104,7 @@ var UA = class e {
|
|
|
18097
18104
|
binValues;
|
|
18098
18105
|
valueCounts;
|
|
18099
18106
|
opts;
|
|
18100
|
-
constructor(e, t, n, r, i, a) {
|
|
18107
|
+
constructor({ data: e, fieldTypes: t, stats: n, binValues: r, valueCounts: i, opts: a }) {
|
|
18101
18108
|
this.fieldTypes = t, this.stats = n, this.binValues = r, this.valueCounts = i, this.opts = a, this.columnBinValues = new Map(Object.entries(r)), this.columnValueCounts = new Map(Object.entries(i)), this.columnStats = new Map(Object.entries(n));
|
|
18102
18109
|
let { dataSpec: o, sourceName: s } = EA(e);
|
|
18103
18110
|
this.dataSpec = o, this.legacyDataSpec = o, this.legacySourceName = s;
|
|
@@ -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-
|
|
5
|
+
import { a as o, i as s, n as c, r as l } from "./glide-data-editor-B2X3cvOg.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",
|
|
@@ -21896,30 +21896,30 @@ var gp = et.define(), _p = et.define(), vp = xt.define({
|
|
|
21896
21896
|
isSupported(e) {
|
|
21897
21897
|
return this.parser.isSupported(e);
|
|
21898
21898
|
}
|
|
21899
|
-
getExtension(
|
|
21900
|
-
let
|
|
21901
|
-
if (!
|
|
21902
|
-
let e =
|
|
21899
|
+
getExtension({ hotkeys: e }) {
|
|
21900
|
+
let t = Qt().language.data, n, r = () => {
|
|
21901
|
+
if (!n) return !0;
|
|
21902
|
+
let e = n?.state.field(vp);
|
|
21903
21903
|
return e === void 0 ? !1 : e.quotePrefix?.includes("f") ?? !1;
|
|
21904
21904
|
};
|
|
21905
21905
|
return [
|
|
21906
|
-
ht.define((e) => (
|
|
21906
|
+
ht.define((e) => (n = e, {})),
|
|
21907
21907
|
Qt({
|
|
21908
21908
|
base: $t,
|
|
21909
21909
|
codeLanguages: ju,
|
|
21910
|
-
extensions: [hp(ut.define(on).parser), op(en.parser,
|
|
21910
|
+
extensions: [hp(ut.define(on).parser), op(en.parser, r)]
|
|
21911
21911
|
}),
|
|
21912
|
-
tp(
|
|
21913
|
-
Rf.map((e) =>
|
|
21912
|
+
tp(e),
|
|
21913
|
+
Rf.map((e) => t.of({ autocomplete: e })),
|
|
21914
21914
|
tn().language.data.of({ autocomplete: jf({
|
|
21915
21915
|
completion: Af,
|
|
21916
|
-
predicate:
|
|
21916
|
+
predicate: r
|
|
21917
21917
|
}) }),
|
|
21918
21918
|
zt({
|
|
21919
21919
|
defaultKeymap: !1,
|
|
21920
21920
|
activateOnTyping: !0
|
|
21921
21921
|
}),
|
|
21922
|
-
wf({ predicate: () => !
|
|
21922
|
+
wf({ predicate: () => !r() })
|
|
21923
21923
|
];
|
|
21924
21924
|
}
|
|
21925
21925
|
}, bp = {
|
|
@@ -23119,7 +23119,7 @@ var Pm = Ft((e) => {
|
|
|
23119
23119
|
isSupported(e) {
|
|
23120
23120
|
return this.parser.isSupported(e);
|
|
23121
23121
|
}
|
|
23122
|
-
getExtension(e, t, n, r, i) {
|
|
23122
|
+
getExtension({ cellId: e, completionConfig: t, hotkeys: n, placeholderType: r, lspConfig: i }) {
|
|
23123
23123
|
return [
|
|
23124
23124
|
(() => {
|
|
23125
23125
|
let r = {
|
|
@@ -25473,8 +25473,8 @@ var U_ = class {
|
|
|
25473
25473
|
isSupported(e) {
|
|
25474
25474
|
return this.parser.isSupported(e);
|
|
25475
25475
|
}
|
|
25476
|
-
getExtension(
|
|
25477
|
-
let
|
|
25476
|
+
getExtension({ lspConfig: e }) {
|
|
25477
|
+
let t = W_(), n = [
|
|
25478
25478
|
V_.of(Yt({ dialect: z_ })),
|
|
25479
25479
|
dt.of([{
|
|
25480
25480
|
key: "Tab",
|
|
@@ -25488,26 +25488,26 @@ var U_ = class {
|
|
|
25488
25488
|
N_(),
|
|
25489
25489
|
sp,
|
|
25490
25490
|
P_(),
|
|
25491
|
-
|
|
25492
|
-
|
|
25493
|
-
|
|
25491
|
+
t.cteCompletionSource,
|
|
25492
|
+
t.aliasCompletionSource,
|
|
25493
|
+
t.columnCompletionSource
|
|
25494
25494
|
]
|
|
25495
25495
|
})
|
|
25496
25496
|
];
|
|
25497
|
-
if (
|
|
25498
|
-
let e = j.get(ze),
|
|
25499
|
-
|
|
25497
|
+
if (e?.diagnostics?.sql_linter ?? !1) {
|
|
25498
|
+
let e = j.get(ze), r = new J_({ getParserOptions: (e) => ({ database: nv(e) ?? B_ }) });
|
|
25499
|
+
n.push(S_({
|
|
25500
25500
|
schema: ev,
|
|
25501
25501
|
enableLinting: !0,
|
|
25502
25502
|
linterConfig: {
|
|
25503
25503
|
delay: 250,
|
|
25504
|
-
parser:
|
|
25504
|
+
parser: r,
|
|
25505
25505
|
perStatement: !1
|
|
25506
25506
|
},
|
|
25507
25507
|
enableSemanticLinting: !0,
|
|
25508
25508
|
semanticLinterConfig: {
|
|
25509
|
-
parser:
|
|
25510
|
-
structureAnalyzer:
|
|
25509
|
+
parser: t.parser,
|
|
25510
|
+
structureAnalyzer: t.structureAnalyzer,
|
|
25511
25511
|
severity: {
|
|
25512
25512
|
unknownTable: "off",
|
|
25513
25513
|
unknownColumn: "warning",
|
|
@@ -25519,29 +25519,29 @@ var U_ = class {
|
|
|
25519
25519
|
backgroundColor: "#3b82f6",
|
|
25520
25520
|
errorBackgroundColor: "#ef4444",
|
|
25521
25521
|
hideWhenNotFocused: !0,
|
|
25522
|
-
parser:
|
|
25522
|
+
parser: r
|
|
25523
25523
|
},
|
|
25524
25524
|
hoverConfig: {
|
|
25525
25525
|
hoverTime: 300,
|
|
25526
25526
|
enableKeywords: !0,
|
|
25527
25527
|
enableTables: !0,
|
|
25528
25528
|
enableColumns: !0,
|
|
25529
|
-
parser:
|
|
25530
|
-
contextAnalyzer:
|
|
25529
|
+
parser: t.parser,
|
|
25530
|
+
contextAnalyzer: t.contextAnalyzer,
|
|
25531
25531
|
theme: Eg(e)
|
|
25532
25532
|
},
|
|
25533
25533
|
enableNavigation: !0,
|
|
25534
25534
|
navigationConfig: {
|
|
25535
|
-
contextAnalyzer:
|
|
25535
|
+
contextAnalyzer: t.contextAnalyzer,
|
|
25536
25536
|
keymap: !1,
|
|
25537
|
-
parser:
|
|
25538
|
-
structureAnalyzer:
|
|
25537
|
+
parser: t.parser,
|
|
25538
|
+
structureAnalyzer: t.structureAnalyzer
|
|
25539
25539
|
}
|
|
25540
25540
|
}), He.updateListener.of((e) => {
|
|
25541
|
-
e.focusChanged &&
|
|
25541
|
+
e.focusChanged && r.setFocusState(e.view.hasFocus);
|
|
25542
25542
|
}));
|
|
25543
25543
|
}
|
|
25544
|
-
return this.sqlModeEnabled &&
|
|
25544
|
+
return this.sqlModeEnabled && n.push(av()), n;
|
|
25545
25545
|
}
|
|
25546
25546
|
};
|
|
25547
25547
|
function W_() {
|
|
@@ -26656,7 +26656,13 @@ function Py({ view: e, nextLanguage: t, opts: n }) {
|
|
|
26656
26656
|
effects: [
|
|
26657
26657
|
My.of(t),
|
|
26658
26658
|
gp.of(u),
|
|
26659
|
-
jy.reconfigure(t.getExtension(
|
|
26659
|
+
jy.reconfigure(t.getExtension({
|
|
26660
|
+
cellId: c,
|
|
26661
|
+
completionConfig: a,
|
|
26662
|
+
hotkeys: o,
|
|
26663
|
+
placeholderType: s,
|
|
26664
|
+
lspConfig: l
|
|
26665
|
+
})),
|
|
26660
26666
|
Rc.reconfigure([]),
|
|
26661
26667
|
Eu.of(!0)
|
|
26662
26668
|
],
|
|
@@ -26975,13 +26981,27 @@ var Zy = class e {
|
|
|
26975
26981
|
}
|
|
26976
26982
|
static create(t) {
|
|
26977
26983
|
let n = new $y();
|
|
26978
|
-
return n.append(t.data), new e(
|
|
26984
|
+
return n.append(t.data), new e({
|
|
26985
|
+
mimetype: t.mimetype,
|
|
26986
|
+
channel: t.channel,
|
|
26987
|
+
timestamp: t.timestamp,
|
|
26988
|
+
ansiReducer: n,
|
|
26989
|
+
code: t.code,
|
|
26990
|
+
id: t.id
|
|
26991
|
+
});
|
|
26979
26992
|
}
|
|
26980
|
-
constructor(e, t, n, r, i, a) {
|
|
26993
|
+
constructor({ mimetype: e, channel: t, timestamp: n, ansiReducer: r, code: i, id: a }) {
|
|
26981
26994
|
this.mimetype = e, this.channel = t, this.timestamp = n, this.code = i, this.id = a, this.ansiReducer = r, this._data = this.ansiReducer.render();
|
|
26982
26995
|
}
|
|
26983
26996
|
appendData(t) {
|
|
26984
|
-
return this.ansiReducer.append(t), new e(
|
|
26997
|
+
return this.ansiReducer.append(t), new e({
|
|
26998
|
+
mimetype: this.mimetype,
|
|
26999
|
+
channel: this.channel,
|
|
27000
|
+
timestamp: this.timestamp,
|
|
27001
|
+
ansiReducer: this.ansiReducer,
|
|
27002
|
+
code: this.code,
|
|
27003
|
+
id: this.id
|
|
27004
|
+
});
|
|
26985
27005
|
}
|
|
26986
27006
|
toJSON() {
|
|
26987
27007
|
return {
|
|
@@ -3,14 +3,14 @@ import { h as t, t as n } from "./button-BxB3RDjN.js";
|
|
|
3
3
|
import { t as r } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { t as a } from "./copy-icon-CPoxUG7G.js";
|
|
6
|
-
import { Dt as o, G as s, It as c, K as l, Rt as u, V as d, dn as f, h as p, i as m, n as h } from "./error-entries-
|
|
6
|
+
import { Dt as o, G as s, It as c, K as l, Rt as u, V as d, dn as f, h as p, i as m, n as h } from "./error-entries-g9iQiVIT.js";
|
|
7
7
|
import { b as g } from "./select-B0LRDH0g.js";
|
|
8
|
-
import { n as ee, t as te } from "./globals-
|
|
8
|
+
import { n as ee, t as te } from "./globals-DejLMUJH.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-3BD1kT0s.js";
|
|
10
10
|
import { C as v, _ as ne, i as y } from "./useTheme-CfeaVw5D.js";
|
|
11
11
|
import { a as re, i as ie, n as ae, r as oe } from "./dialog-C1PcpCqX.js";
|
|
12
12
|
import { t as se } from "./useAsyncData-D0mLJstx.js";
|
|
13
|
-
import { t as ce } from "./code-visibility-
|
|
13
|
+
import { t as ce } from "./code-visibility-B5PjxmuC.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
15
|
var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), le = (e) => {
|
|
16
16
|
let n = (0, x.c)(8), r, i;
|
|
@@ -6,7 +6,7 @@ import { i as s, n as c, r as l } from "./copy-icon-CPoxUG7G.js";
|
|
|
6
6
|
import { C as u, c as d, i as f, n as p, s as m, t as h, x as g } from "./select-B0LRDH0g.js";
|
|
7
7
|
import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-B_7xD2X4.js";
|
|
8
8
|
import { c as E, d as D, l as O, n as k, o as A, s as ee, t as j, u as te } from "./glide-utils-Bt8_pBa2.js";
|
|
9
|
-
import { n as ne, t as re } from "./ErrorBoundary-
|
|
9
|
+
import { n as ne, t as re } from "./ErrorBoundary-DkWGqNH6.js";
|
|
10
10
|
import { t as ie } from "./react-dom-DUmH0GXv.js";
|
|
11
11
|
import { t as M } from "./jsx-runtime-3BD1kT0s.js";
|
|
12
12
|
import { t as N } from "./label-BRnUC0NX.js";
|
|
@@ -7062,7 +7062,7 @@ function rs(e, t, n, r, i) {
|
|
|
7062
7062
|
}
|
|
7063
7063
|
//#endregion
|
|
7064
7064
|
//#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/data-editor/data-editor.js
|
|
7065
|
-
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7065
|
+
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-BWYs1FTB.js")), ss = 0;
|
|
7066
7066
|
function cs(e) {
|
|
7067
7067
|
return (0, is.default)((0, as.default)((0, as.default)(e).filter((e) => e.span !== void 0).map((e) => (0, Za.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7068
7068
|
}
|
|
@@ -9293,7 +9293,7 @@ function Vs(e, t, n, r, i) {
|
|
|
9293
9293
|
}
|
|
9294
9294
|
//#endregion
|
|
9295
9295
|
//#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/cells/number-cell.js
|
|
9296
|
-
var Hs = K.lazy(async () => await import("./number-overlay-editor-
|
|
9296
|
+
var Hs = K.lazy(async () => await import("./number-overlay-editor-XZH_yeH-.js")), Us = {
|
|
9297
9297
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9298
9298
|
kind: W.Number,
|
|
9299
9299
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as e } from "./tooltip-CKO1pHJo.js";
|
|
2
2
|
import { _ as t } from "./useTheme-CfeaVw5D.js";
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
3
|
+
import { r as n } from "./code-visibility-B5PjxmuC.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",
|
|
@@ -5,7 +5,7 @@ import { t as l } from "./compiler-runtime-CldRdSsv.js";
|
|
|
5
5
|
import { n as u, t as d } from "./copy-icon-CPoxUG7G.js";
|
|
6
6
|
import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-DKplTrBY.js";
|
|
7
7
|
import { c as _, h as v, l as y, s as b, t as x, u as ee } from "./tooltip-CKO1pHJo.js";
|
|
8
|
-
import { A as te, Ct as ne, Et as re, H as ie, M as ae, P as oe, Pt as se, Qt as ce, St as le, Tt as ue, U as de, Y as fe, a as pe, bt as me, d as he, it as ge, pt as _e, tn as ve, tt as ye, xt as be, y as xe, yt as Se } from "./error-entries-
|
|
8
|
+
import { A as te, Ct as ne, Et as re, H as ie, M as ae, P as oe, Pt as se, Qt as ce, St as le, Tt as ue, U as de, Y as fe, a as pe, bt as me, d as he, it as ge, pt as _e, tn as ve, tt as ye, xt as be, y as xe, yt as Se } from "./error-entries-g9iQiVIT.js";
|
|
9
9
|
import { M as Ce, O as we, k as Te } from "./select-B0LRDH0g.js";
|
|
10
10
|
import { ft as Ee, q as De } from "./dropdown-menu-B_7xD2X4.js";
|
|
11
11
|
import { m as Oe, y as ke } from "./toDate-DKH0_kMo.js";
|