@malloy-publisher/sdk 0.0.250 → 0.2.0

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.
@@ -1,8 +1,8 @@
1
1
  import { jsx as F } from "react/jsx-runtime";
2
2
  import { QueryClient as ce, QueryClientProvider as ie, useQuery as de } from "@tanstack/react-query";
3
3
  import h from "axios";
4
- import { useMemo as f, createContext as G, useContext as Y, useState as W, useEffect as pe, useCallback as me } from "react";
5
- import { styled as k, Card as J, CardContent as K, CardMedia as he } from "@mui/material";
4
+ import { useMemo as f, createContext as G, useContext as Y, useState as _, useEffect as pe, useCallback as me } from "react";
5
+ import { styled as y, Card as J, CardContent as K, CardMedia as he } from "@mui/material";
6
6
  const u = "http://localhost/api/v0".replace(/\/+$/, "");
7
7
  class I {
8
8
  constructor(n, e = u, t = h) {
@@ -27,7 +27,7 @@ function q(l, n, e = "") {
27
27
  const P = function(l, ...n) {
28
28
  const e = new URLSearchParams(l.search);
29
29
  q(e, n), l.search = e.toString();
30
- }, y = function(l, n, e) {
30
+ }, k = function(l, n, e) {
31
31
  const t = typeof l != "string";
32
32
  return (t && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : t) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
33
33
  }, v = function(l) {
@@ -123,10 +123,10 @@ const P = function(l, ...n) {
123
123
  }, Sa = {
124
124
  Markdown: "markdown",
125
125
  Code: "code"
126
- }, ya = {
126
+ }, ka = {
127
127
  Version: "version",
128
128
  Package: "package"
129
- }, ka = {
129
+ }, ya = {
130
130
  Declared: "declared",
131
131
  All: "all"
132
132
  }, Ca = {
@@ -159,15 +159,25 @@ const P = function(l, ...n) {
159
159
  Snapshot: "SNAPSHOT",
160
160
  Copy: "COPY"
161
161
  }, wa = {
162
+ Storage: "storage",
163
+ Colocated: "colocated",
164
+ Preaggregate: "preaggregate"
165
+ }, Ea = {
166
+ FreeParameter: "free_parameter",
167
+ Given: "given",
168
+ Authorize: "authorize",
169
+ NotDuckdbPortable: "not_duckdb_portable",
170
+ PublicSurfaceUnknown: "public_surface_unknown"
171
+ }, Ma = {
162
172
  Publish: "publish",
163
173
  OnDemand: "on_demand",
164
174
  Scheduler: "scheduler"
165
- }, Ea = {
175
+ }, fa = {
166
176
  Initializing: "initializing",
167
177
  Serving: "serving",
168
178
  Draining: "draining",
169
179
  Throttled: "throttled"
170
- }, Ma = {
180
+ }, Ba = {
171
181
  Light: "light",
172
182
  Dark: "dark",
173
183
  Auto: "auto"
@@ -190,7 +200,7 @@ const P = function(l, ...n) {
190
200
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
191
201
  i["Content-Type"] = "application/json", P(o, d);
192
202
  let p = s && s.headers ? s.headers : {};
193
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
203
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
194
204
  url: v(o),
195
205
  options: c
196
206
  };
@@ -411,7 +421,7 @@ const P = function(l, ...n) {
411
421
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
412
422
  i["Content-Type"] = "application/json", P(o, d);
413
423
  let p = s && s.headers ? s.headers : {};
414
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
424
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
415
425
  url: v(o),
416
426
  options: c
417
427
  };
@@ -434,7 +444,7 @@ const P = function(l, ...n) {
434
444
  const i = { method: "POST", ...c, ...r }, d = {}, p = {};
435
445
  d["Content-Type"] = "application/json", P(s, p);
436
446
  let O = c && c.headers ? c.headers : {};
437
- return i.headers = { ...d, ...O, ...r.headers }, i.data = y(a, i, l), {
447
+ return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
438
448
  url: v(s),
439
449
  options: i
440
450
  };
@@ -456,7 +466,7 @@ const P = function(l, ...n) {
456
466
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
457
467
  i["Content-Type"] = "application/json", P(o, d);
458
468
  let p = s && s.headers ? s.headers : {};
459
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
469
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
460
470
  url: v(o),
461
471
  options: c
462
472
  };
@@ -479,7 +489,7 @@ const P = function(l, ...n) {
479
489
  const i = { method: "POST", ...c, ...r }, d = {}, p = {};
480
490
  d["Content-Type"] = "application/json", P(s, p);
481
491
  let O = c && c.headers ? c.headers : {};
482
- return i.headers = { ...d, ...O, ...r.headers }, i.data = y(a, i, l), {
492
+ return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
483
493
  url: v(s),
484
494
  options: i
485
495
  };
@@ -501,7 +511,7 @@ const P = function(l, ...n) {
501
511
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
502
512
  i["Content-Type"] = "application/json", P(o, d);
503
513
  let p = s && s.headers ? s.headers : {};
504
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
514
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
505
515
  url: v(o),
506
516
  options: c
507
517
  };
@@ -524,7 +534,7 @@ const P = function(l, ...n) {
524
534
  const i = { method: "POST", ...c, ...r }, d = {}, p = {};
525
535
  d["Content-Type"] = "application/json", P(s, p);
526
536
  let O = c && c.headers ? c.headers : {};
527
- return i.headers = { ...d, ...O, ...r.headers }, i.data = y(a, i, l), {
537
+ return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
528
538
  url: v(s),
529
539
  options: i
530
540
  };
@@ -546,7 +556,7 @@ const P = function(l, ...n) {
546
556
  const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
547
557
  i["Content-Type"] = "application/json", P(o, d);
548
558
  let p = s && s.headers ? s.headers : {};
549
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
559
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
550
560
  url: v(o),
551
561
  options: c
552
562
  };
@@ -781,7 +791,7 @@ const P = function(l, ...n) {
781
791
  return (i, d) => V(o, h, u, l)(i, c || d);
782
792
  }
783
793
  };
784
- }, fa = function(l, n, e) {
794
+ }, Fa = function(l, n, e) {
785
795
  const t = S(l);
786
796
  return {
787
797
  /**
@@ -1238,7 +1248,7 @@ const Pe = function(l) {
1238
1248
  const o = { method: "POST", ...r, ...e }, s = {}, c = {};
1239
1249
  s["Content-Type"] = "application/json", P(a, c);
1240
1250
  let i = r && r.headers ? r.headers : {};
1241
- return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
1251
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
1242
1252
  url: v(a),
1243
1253
  options: o
1244
1254
  };
@@ -1259,7 +1269,7 @@ const Pe = function(l) {
1259
1269
  return (s, c) => V(a, h, u, l)(s, o || c);
1260
1270
  }
1261
1271
  };
1262
- }, Ba = function(l, n, e) {
1272
+ }, Qa = function(l, n, e) {
1263
1273
  const t = X(l);
1264
1274
  return {
1265
1275
  /**
@@ -1274,7 +1284,7 @@ const Pe = function(l) {
1274
1284
  }
1275
1285
  };
1276
1286
  };
1277
- class Fa extends I {
1287
+ class $a extends I {
1278
1288
  /**
1279
1289
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
1280
1290
  * @summary Test database connection configuration
@@ -1366,7 +1376,7 @@ const ve = function(l) {
1366
1376
  return (i, d) => V(o, h, u, l)(i, c || d);
1367
1377
  }
1368
1378
  };
1369
- }, Qa = function(l, n, e) {
1379
+ }, za = function(l, n, e) {
1370
1380
  const t = D(l);
1371
1381
  return {
1372
1382
  /**
@@ -1465,7 +1475,7 @@ const Oe = function(l) {
1465
1475
  return (c, i) => V(r, h, u, l)(c, s || i);
1466
1476
  }
1467
1477
  };
1468
- }, $a = function(l, n, e) {
1478
+ }, qa = function(l, n, e) {
1469
1479
  const t = Z(l);
1470
1480
  return {
1471
1481
  /**
@@ -1495,7 +1505,7 @@ class Se extends I {
1495
1505
  return Z(this.configuration).listDataApps(n, e, t).then((a) => a(this.axios, this.basePath));
1496
1506
  }
1497
1507
  }
1498
- const ye = function(l) {
1508
+ const ke = function(l) {
1499
1509
  return {
1500
1510
  /**
1501
1511
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1521,7 +1531,7 @@ const ye = function(l) {
1521
1531
  }
1522
1532
  };
1523
1533
  }, ee = function(l) {
1524
- const n = ye(l);
1534
+ const n = ke(l);
1525
1535
  return {
1526
1536
  /**
1527
1537
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1537,7 +1547,7 @@ const ye = function(l) {
1537
1547
  return (i, d) => V(o, h, u, l)(i, c || d);
1538
1548
  }
1539
1549
  };
1540
- }, za = function(l, n, e) {
1550
+ }, Da = function(l, n, e) {
1541
1551
  const t = ee(l);
1542
1552
  return {
1543
1553
  /**
@@ -1554,7 +1564,7 @@ const ye = function(l) {
1554
1564
  }
1555
1565
  };
1556
1566
  };
1557
- class ke extends I {
1567
+ class ye extends I {
1558
1568
  /**
1559
1569
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
1560
1570
  * @summary List embedded databases
@@ -1586,7 +1596,7 @@ const Ce = function(l) {
1586
1596
  const o = { method: "POST", ...r, ...e }, s = {}, c = {};
1587
1597
  s["Content-Type"] = "application/json", P(a, c);
1588
1598
  let i = r && r.headers ? r.headers : {};
1589
- return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
1599
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
1590
1600
  url: v(a),
1591
1601
  options: o
1592
1602
  };
@@ -1666,7 +1676,7 @@ const Ce = function(l) {
1666
1676
  const s = { method: "PATCH", ...o, ...t }, c = {}, i = {};
1667
1677
  c["Content-Type"] = "application/json", P(r, i);
1668
1678
  let d = o && o.headers ? o.headers : {};
1669
- return s.headers = { ...c, ...d, ...t.headers }, s.data = y(e, s, l), {
1679
+ return s.headers = { ...c, ...d, ...t.headers }, s.data = k(e, s, l), {
1670
1680
  url: v(r),
1671
1681
  options: s
1672
1682
  };
@@ -1732,7 +1742,7 @@ const Ce = function(l) {
1732
1742
  return (c, i) => V(r, h, u, l)(c, s || i);
1733
1743
  }
1734
1744
  };
1735
- }, qa = function(l, n, e) {
1745
+ }, La = function(l, n, e) {
1736
1746
  const t = N(l);
1737
1747
  return {
1738
1748
  /**
@@ -1865,7 +1875,7 @@ const xe = function(l) {
1865
1875
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
1866
1876
  i["Content-Type"] = "application/json", P(o, d);
1867
1877
  let p = s && s.headers ? s.headers : {};
1868
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
1878
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
1869
1879
  url: v(o),
1870
1880
  options: c
1871
1881
  };
@@ -2069,7 +2079,7 @@ const xe = function(l) {
2069
2079
  return (d, p) => V(s, h, u, l)(d, i || p);
2070
2080
  }
2071
2081
  };
2072
- }, Da = function(l, n, e) {
2082
+ }, ja = function(l, n, e) {
2073
2083
  const t = A(l);
2074
2084
  return {
2075
2085
  /**
@@ -2232,7 +2242,7 @@ class Ae extends I {
2232
2242
  return A(this.configuration).materializationAction(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2233
2243
  }
2234
2244
  }
2235
- const La = {
2245
+ const Ha = {
2236
2246
  Stop: "stop"
2237
2247
  }, Re = function(l) {
2238
2248
  return {
@@ -2254,7 +2264,7 @@ const La = {
2254
2264
  const i = { method: "POST", ...c, ...r }, d = {}, p = {};
2255
2265
  d["Content-Type"] = "application/json", P(s, p);
2256
2266
  let O = c && c.headers ? c.headers : {};
2257
- return i.headers = { ...d, ...O, ...r.headers }, i.data = y(a, i, l), {
2267
+ return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
2258
2268
  url: v(s),
2259
2269
  options: i
2260
2270
  };
@@ -2277,7 +2287,7 @@ const La = {
2277
2287
  const i = { method: "POST", ...c, ...r }, d = {}, p = {};
2278
2288
  d["Content-Type"] = "application/json", P(s, p);
2279
2289
  let O = c && c.headers ? c.headers : {};
2280
- return i.headers = { ...d, ...O, ...r.headers }, i.data = y(a, i, l), {
2290
+ return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
2281
2291
  url: v(s),
2282
2292
  options: i
2283
2293
  };
@@ -2387,7 +2397,7 @@ const La = {
2387
2397
  return (i, d) => V(o, h, u, l)(i, c || d);
2388
2398
  }
2389
2399
  };
2390
- }, ja = function(l, n, e) {
2400
+ }, _a = function(l, n, e) {
2391
2401
  const t = w(l);
2392
2402
  return {
2393
2403
  /**
@@ -2624,7 +2634,7 @@ const Te = function(l) {
2624
2634
  return (i, d) => V(o, h, u, l)(i, c || d);
2625
2635
  }
2626
2636
  };
2627
- }, Ha = function(l, n, e) {
2637
+ }, Wa = function(l, n, e) {
2628
2638
  const t = Q(l);
2629
2639
  return {
2630
2640
  /**
@@ -2718,7 +2728,7 @@ class Ue extends I {
2718
2728
  return Q(this.configuration).listNotebooks(n, e, t, a).then((r) => r(this.axios, this.basePath));
2719
2729
  }
2720
2730
  }
2721
- const Wa = {
2731
+ const Ga = {
2722
2732
  True: "true",
2723
2733
  False: "false"
2724
2734
  }, we = function(l) {
@@ -2739,7 +2749,7 @@ const Wa = {
2739
2749
  const s = { method: "POST", ...o, ...t }, c = {}, i = {};
2740
2750
  c["Content-Type"] = "application/json", P(r, i);
2741
2751
  let d = o && o.headers ? o.headers : {};
2742
- return s.headers = { ...c, ...d, ...t.headers }, s.data = y(e, s, l), {
2752
+ return s.headers = { ...c, ...d, ...t.headers }, s.data = k(e, s, l), {
2743
2753
  url: v(r),
2744
2754
  options: s
2745
2755
  };
@@ -2825,7 +2835,7 @@ const Wa = {
2825
2835
  const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
2826
2836
  i["Content-Type"] = "application/json", P(o, d);
2827
2837
  let p = s && s.headers ? s.headers : {};
2828
- return c.headers = { ...i, ...p, ...a.headers }, c.data = y(t, c, l), {
2838
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
2829
2839
  url: v(o),
2830
2840
  options: c
2831
2841
  };
@@ -2897,7 +2907,7 @@ const Wa = {
2897
2907
  return (i, d) => V(o, h, u, l)(i, c || d);
2898
2908
  }
2899
2909
  };
2900
- }, _a = function(l, n, e) {
2910
+ }, Ya = function(l, n, e) {
2901
2911
  const t = T(l);
2902
2912
  return {
2903
2913
  /**
@@ -3094,7 +3104,7 @@ const Me = function(l) {
3094
3104
  const o = { method: "PUT", ...r, ...e }, s = {}, c = {};
3095
3105
  s["Content-Type"] = "application/json", P(a, c);
3096
3106
  let i = r && r.headers ? r.headers : {};
3097
- return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
3107
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
3098
3108
  url: v(a),
3099
3109
  options: o
3100
3110
  };
@@ -3145,7 +3155,7 @@ const Me = function(l) {
3145
3155
  return (s, c) => V(a, h, u, l)(s, o || c);
3146
3156
  }
3147
3157
  };
3148
- }, Ga = function(l, n, e) {
3158
+ }, Ja = function(l, n, e) {
3149
3159
  const t = E(l);
3150
3160
  return {
3151
3161
  /**
@@ -3265,7 +3275,7 @@ const Be = function(l) {
3265
3275
  const o = { method: "POST", ...r, ...e }, s = {}, c = {};
3266
3276
  s["Content-Type"] = "application/json", P(a, c);
3267
3277
  let i = r && r.headers ? r.headers : {};
3268
- return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
3278
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
3269
3279
  url: v(a),
3270
3280
  options: o
3271
3281
  };
@@ -3357,7 +3367,7 @@ const Be = function(l) {
3357
3367
  return (c, i) => V(r, h, u, l)(c, s || i);
3358
3368
  }
3359
3369
  };
3360
- }, Ya = function(l, n, e) {
3370
+ }, Ka = function(l, n, e) {
3361
3371
  const t = M(l);
3362
3372
  return {
3363
3373
  /**
@@ -3533,25 +3543,25 @@ const B = {
3533
3543
  // right wing of the M
3534
3544
  darkBlue: "#1474a4"
3535
3545
  // deep shadow of the M
3536
- }, Ja = {
3546
+ }, Xa = {
3537
3547
  violet: "#7c4dcc",
3538
3548
  magenta: "#c2478f",
3539
3549
  moss: "#5c8f3f"
3540
- }, Ka = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Xa = k(J)({
3550
+ }, Za = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', et = y(J)({
3541
3551
  display: "flex",
3542
3552
  flexDirection: "column",
3543
3553
  height: "100%",
3544
3554
  boxShadow: "none",
3545
3555
  border: "none",
3546
3556
  backgroundColor: "transparent"
3547
- }), Za = k(K)({
3557
+ }), at = y(K)({
3548
3558
  display: "flex",
3549
3559
  flexDirection: "column",
3550
3560
  padding: "0",
3551
3561
  flexGrow: 1
3552
- }), et = k(he)({
3562
+ }), tt = y(he)({
3553
3563
  padding: "0"
3554
- }), at = k("div")(({ theme: l }) => ({
3564
+ }), rt = y("div")(({ theme: l }) => ({
3555
3565
  backgroundColor: l.palette.background.default,
3556
3566
  padding: "0 8px 0px 8px",
3557
3567
  borderRadius: "12px",
@@ -3560,24 +3570,24 @@ const B = {
3560
3570
  maxWidth: "1200px",
3561
3571
  margin: "0 auto"
3562
3572
  }));
3563
- k("div")(({ theme: l }) => ({
3573
+ y("div")(({ theme: l }) => ({
3564
3574
  marginBottom: "40px",
3565
3575
  paddingBottom: "24px",
3566
3576
  borderBottom: `1px solid ${l.palette.divider}`
3567
3577
  }));
3568
- const tt = k("div")({
3578
+ const nt = y("div")({
3569
3579
  marginBottom: "48px",
3570
3580
  padding: "0",
3571
3581
  backgroundColor: "transparent",
3572
3582
  border: "none",
3573
3583
  boxShadow: "none"
3574
- }), rt = k("div")({
3584
+ }), ot = y("div")({
3575
3585
  marginBottom: "0",
3576
3586
  padding: "0",
3577
3587
  backgroundColor: "transparent",
3578
3588
  border: "none",
3579
3589
  boxShadow: "none"
3580
- }), nt = k("div")({
3590
+ }), st = y("div")({
3581
3591
  backgroundColor: "transparent",
3582
3592
  paddingTop: "12px",
3583
3593
  paddingBottom: "2px",
@@ -3586,7 +3596,7 @@ const tt = k("div")({
3586
3596
  boxShadow: "none",
3587
3597
  marginBottom: "0"
3588
3598
  });
3589
- k("div")(({ theme: l }) => ({
3599
+ y("div")(({ theme: l }) => ({
3590
3600
  backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
3591
3601
  padding: "16px",
3592
3602
  borderRadius: "8px",
@@ -3597,7 +3607,7 @@ k("div")(({ theme: l }) => ({
3597
3607
  overflowX: "auto",
3598
3608
  color: l.palette.text.primary
3599
3609
  }));
3600
- k("div")(({ theme: l }) => ({
3610
+ y("div")(({ theme: l }) => ({
3601
3611
  backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
3602
3612
  padding: "12px 16px",
3603
3613
  borderRadius: "8px",
@@ -3607,27 +3617,27 @@ k("div")(({ theme: l }) => ({
3607
3617
  justifyContent: "space-between",
3608
3618
  alignItems: "center"
3609
3619
  }));
3610
- const ot = k("div")({
3620
+ const lt = y("div")({
3611
3621
  height: "100%"
3612
3622
  });
3613
- k("div")({
3623
+ y("div")({
3614
3624
  height: "30px",
3615
3625
  backgroundColor: "rgba(225, 240, 255, 1)",
3616
3626
  display: "flex",
3617
3627
  padding: "4px",
3618
3628
  alignItems: "center"
3619
3629
  });
3620
- const st = k("div")({
3630
+ const ct = y("div")({
3621
3631
  height: "75vh",
3622
3632
  width: "100%",
3623
3633
  overflowY: "auto"
3624
3634
  });
3625
- k("div")({
3635
+ y("div")({
3626
3636
  position: "relative",
3627
3637
  height: "100%",
3628
3638
  flex: "0 0 auto"
3629
3639
  });
3630
- const lt = k(J)(({ theme: l }) => ({
3640
+ const it = y(J)(({ theme: l }) => ({
3631
3641
  backgroundColor: l.palette.background.paper,
3632
3642
  padding: "24px",
3633
3643
  borderRadius: "8px",
@@ -3638,12 +3648,12 @@ const lt = k(J)(({ theme: l }) => ({
3638
3648
  "&:hover": {
3639
3649
  boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
3640
3650
  }
3641
- })), ct = k(K)({
3651
+ })), dt = y(K)({
3642
3652
  padding: "0",
3643
3653
  "&:last-child": {
3644
3654
  paddingBottom: "0"
3645
3655
  }
3646
- }), it = k("div")(({ theme: l }) => ({
3656
+ }), pt = y("div")(({ theme: l }) => ({
3647
3657
  fontSize: "0.875rem",
3648
3658
  fontWeight: 500,
3649
3659
  color: l.palette.text.secondary,
@@ -3651,7 +3661,7 @@ const lt = k(J)(({ theme: l }) => ({
3651
3661
  paddingBottom: "8px",
3652
3662
  borderBottom: `1px solid ${l.palette.divider}`
3653
3663
  }));
3654
- k("div")({
3664
+ y("div")({
3655
3665
  padding: "32px",
3656
3666
  maxWidth: "1400px",
3657
3667
  margin: "0 auto",
@@ -3666,7 +3676,7 @@ const $e = [
3666
3676
  "#f9c85b",
3667
3677
  "#aacd85",
3668
3678
  "#b87ced"
3669
- ], ze = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", _ = {
3679
+ ], ze = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", W = {
3670
3680
  defaultMode: "light",
3671
3681
  allowUserToggle: !0,
3672
3682
  palette: {
@@ -3728,7 +3738,7 @@ const $e = [
3728
3738
  "mapColor"
3729
3739
  ];
3730
3740
  function ae(l, n) {
3731
- const e = _.palette ?? {}, t = _.font ?? {
3741
+ const e = W.palette ?? {}, t = W.font ?? {
3732
3742
  family: "sans-serif",
3733
3743
  size: 12
3734
3744
  };
@@ -3808,7 +3818,7 @@ function Le({
3808
3818
  );
3809
3819
  return /* @__PURE__ */ F(te.Provider, { value: s, children: r });
3810
3820
  }
3811
- function dt() {
3821
+ function mt() {
3812
3822
  const l = Y(te);
3813
3823
  return l || {
3814
3824
  theme: ae([], "light"),
@@ -3831,7 +3841,7 @@ const je = new ce({
3831
3841
  throwOnError: !1
3832
3842
  }
3833
3843
  }
3834
- }), pt = {
3844
+ }), ht = {
3835
3845
  staleTime: 300 * 1e3,
3836
3846
  refetchOnWindowFocus: !1,
3837
3847
  refetchOnReconnect: !1
@@ -3844,14 +3854,14 @@ function He() {
3844
3854
  } catch {
3845
3855
  }
3846
3856
  }
3847
- function We(l) {
3857
+ function _e(l) {
3848
3858
  if (!(typeof window > "u"))
3849
3859
  try {
3850
3860
  l === void 0 ? window.localStorage.removeItem(L) : window.localStorage.setItem(L, l);
3851
3861
  } catch {
3852
3862
  }
3853
3863
  }
3854
- function _e() {
3864
+ function We() {
3855
3865
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
3856
3866
  }
3857
3867
  h.defaults.baseURL || (h.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
@@ -3875,7 +3885,7 @@ const re = G(void 0), Ge = (l, n) => {
3875
3885
  dataApps: new Se(a, e, t),
3876
3886
  notebooks: new Ue(a, e, t),
3877
3887
  connections: new be(a, e, t),
3878
- databases: new ke(a, e, t),
3888
+ databases: new ye(a, e, t),
3879
3889
  materializations: new Ae(
3880
3890
  a,
3881
3891
  e,
@@ -3883,7 +3893,7 @@ const re = G(void 0), Ge = (l, n) => {
3883
3893
  ),
3884
3894
  watchMode: new Fe(a, e, t)
3885
3895
  };
3886
- }, mt = (l) => /* @__PURE__ */ F(ie, { client: je, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3896
+ }, ut = (l) => /* @__PURE__ */ F(ie, { client: je, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3887
3897
  children: l,
3888
3898
  getAccessToken: n,
3889
3899
  baseURL: e,
@@ -3904,16 +3914,16 @@ const re = G(void 0), Ge = (l, n) => {
3904
3914
  const O = f(
3905
3915
  () => [i, a],
3906
3916
  [i, a]
3907
- ), [C, U] = W(
3917
+ ), [C, U] = _(
3908
3918
  He
3909
- ), [x, $] = W(_e);
3919
+ ), [x, $] = _(We);
3910
3920
  pe(() => {
3911
3921
  if (typeof window > "u" || !window.matchMedia) return;
3912
3922
  const R = window.matchMedia("(prefers-color-scheme: dark)"), H = (le) => $(le.matches);
3913
3923
  return R.addEventListener("change", H), () => R.removeEventListener("change", H);
3914
3924
  }, []);
3915
3925
  const ne = me((R) => {
3916
- U(R), We(R);
3926
+ U(R), _e(R);
3917
3927
  }, []), j = i?.allowUserToggle ?? !0, z = j ? C : void 0, oe = f(
3918
3928
  () => De(
3919
3929
  i?.defaultMode,
@@ -3940,98 +3950,100 @@ const re = G(void 0), Ge = (l, n) => {
3940
3950
  children: l
3941
3951
  }
3942
3952
  ) });
3943
- }, ht = () => {
3953
+ }, gt = () => {
3944
3954
  const l = Y(re);
3945
3955
  if (l === void 0)
3946
3956
  throw new Error("useServer must be used within a ServerProvider");
3947
3957
  return l;
3948
3958
  };
3949
3959
  export {
3950
- ye as $,
3960
+ qa as $,
3951
3961
  aa as A,
3952
- fa as B,
3962
+ ge as B,
3953
3963
  ra as C,
3954
3964
  ia as D,
3955
- be as E,
3965
+ S as E,
3956
3966
  pa as F,
3957
3967
  ha as G,
3958
- Pe as H,
3959
- X as I,
3960
- Ba as J,
3961
- Fa as K,
3968
+ Fa as H,
3969
+ be as I,
3970
+ Pe as J,
3971
+ X as K,
3962
3972
  ua as L,
3963
3973
  ba as M,
3964
3974
  Oa as N,
3965
- ve as O,
3966
- ya as P,
3975
+ Qa as O,
3976
+ ka as P,
3967
3977
  Ra as Q,
3968
3978
  Ua as R,
3969
- mt as S,
3970
- Ma as T,
3971
- D as U,
3972
- Qa as V,
3973
- Ve as W,
3974
- Oe as X,
3975
- Z as Y,
3976
- $a as Z,
3977
- Se as _,
3979
+ ut as S,
3980
+ Ba as T,
3981
+ $a as U,
3982
+ ve as V,
3983
+ D as W,
3984
+ za as X,
3985
+ Ve as Y,
3986
+ Oe as Z,
3987
+ Z as _,
3978
3988
  ta as a,
3979
- ee as a0,
3980
- za as a1,
3981
- ke as a2,
3982
- Ce as a3,
3983
- N as a4,
3984
- qa as a5,
3985
- Ie as a6,
3986
- xe as a7,
3987
- A as a8,
3988
- Da as a9,
3989
- st as aA,
3990
- dt as aB,
3991
- Xa as aC,
3992
- Za as aD,
3993
- pt as aE,
3994
- Ka as aF,
3995
- lt as aG,
3996
- ct as aH,
3989
+ Se as a0,
3990
+ ke as a1,
3991
+ ee as a2,
3992
+ Da as a3,
3993
+ ye as a4,
3994
+ Ce as a5,
3995
+ N as a6,
3996
+ La as a7,
3997
+ Ie as a8,
3998
+ xe as a9,
3999
+ tt as aA,
4000
+ lt as aB,
4001
+ ct as aC,
4002
+ mt as aD,
4003
+ et as aE,
4004
+ at as aF,
4005
+ ht as aG,
4006
+ Za as aH,
3997
4007
  it as aI,
3998
- B as aJ,
3999
- rt as aK,
4000
- nt as aL,
4001
- at as aM,
4002
- tt as aN,
4003
- Ja as aO,
4004
- qe as aP,
4005
- ae as aQ,
4006
- _ as aR,
4007
- De as aS,
4008
- Le as aT,
4009
- Ae as aa,
4010
- La as ab,
4011
- Re as ac,
4012
- w as ad,
4013
- ja as ae,
4014
- Ne as af,
4015
- Te as ag,
4016
- Q as ah,
4017
- Ha as ai,
4018
- Ue as aj,
4008
+ dt as aJ,
4009
+ pt as aK,
4010
+ B as aL,
4011
+ ot as aM,
4012
+ st as aN,
4013
+ rt as aO,
4014
+ nt as aP,
4015
+ Xa as aQ,
4016
+ qe as aR,
4017
+ ae as aS,
4018
+ W as aT,
4019
+ De as aU,
4020
+ Le as aV,
4021
+ A as aa,
4022
+ ja as ab,
4023
+ Ae as ac,
4024
+ Ha as ad,
4025
+ Re as ae,
4026
+ w as af,
4027
+ _a as ag,
4028
+ Ne as ah,
4029
+ Te as ai,
4030
+ Q as aj,
4019
4031
  Wa as ak,
4020
- we as al,
4021
- T as am,
4022
- _a as an,
4023
- Ee as ao,
4024
- Me as ap,
4025
- E as aq,
4026
- Ga as ar,
4027
- fe as as,
4028
- Be as at,
4029
- M as au,
4030
- Ya as av,
4031
- Fe as aw,
4032
- Qe as ax,
4033
- et as ay,
4034
- ot as az,
4032
+ Ue as al,
4033
+ Ga as am,
4034
+ we as an,
4035
+ T as ao,
4036
+ Ya as ap,
4037
+ Ee as aq,
4038
+ Me as ar,
4039
+ E as as,
4040
+ Ja as at,
4041
+ fe as au,
4042
+ Be as av,
4043
+ M as aw,
4044
+ Ka as ax,
4045
+ Fe as ay,
4046
+ Qe as az,
4035
4047
  na as b,
4036
4048
  oa as c,
4037
4049
  sa as d,
@@ -4045,16 +4057,16 @@ export {
4045
4057
  va as l,
4046
4058
  Va as m,
4047
4059
  Sa as n,
4048
- ka as o,
4060
+ ya as o,
4049
4061
  Ca as p,
4050
4062
  Ia as q,
4051
4063
  xa as r,
4052
4064
  Aa as s,
4053
4065
  Na as t,
4054
- ht as u,
4066
+ gt as u,
4055
4067
  Ta as v,
4056
4068
  wa as w,
4057
4069
  Ea as x,
4058
- ge as y,
4059
- S as z
4070
+ Ma as y,
4071
+ fa as z
4060
4072
  };