@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.
- package/dist/ServerProvider-CTopDUWW.cjs.js +1 -0
- package/dist/{ServerProvider-EqBlMMqx.es.js → ServerProvider-DUFPY6Rv.es.js} +162 -150
- package/dist/client/api.d.ts +95 -6
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +27 -25
- package/dist/{core-CVXEUnnm.cjs.js → core-hLahnv0W.cjs.js} +1 -1
- package/dist/{core-Cr-9Wkp3.es.js → core-lb28vQkR.es.js} +1 -1
- package/dist/{index-C-KeIwsG.cjs.js → index-DvEanVgc.cjs.js} +2 -2
- package/dist/{index-DVkelll3.es.js → index-txw04ZbN.es.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +15 -15
- package/package.json +9 -9
- package/src/components/Package/Package.tsx +16 -2
- package/dist/ServerProvider-CcfeBpt3.cjs.js +0 -1
|
@@ -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
|
|
5
|
-
import { styled as
|
|
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
|
-
},
|
|
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
|
-
},
|
|
126
|
+
}, ka = {
|
|
127
127
|
Version: "version",
|
|
128
128
|
Package: "package"
|
|
129
|
-
},
|
|
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
|
-
},
|
|
175
|
+
}, fa = {
|
|
166
176
|
Initializing: "initializing",
|
|
167
177
|
Serving: "serving",
|
|
168
178
|
Draining: "draining",
|
|
169
179
|
Throttled: "throttled"
|
|
170
|
-
},
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
-
},
|
|
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 =
|
|
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
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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 =
|
|
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
|
-
},
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
-
},
|
|
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 =
|
|
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
|
-
},
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
-
},
|
|
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 =
|
|
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
|
-
},
|
|
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 =
|
|
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
|
-
},
|
|
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
|
-
},
|
|
3546
|
+
}, Xa = {
|
|
3537
3547
|
violet: "#7c4dcc",
|
|
3538
3548
|
magenta: "#c2478f",
|
|
3539
3549
|
moss: "#5c8f3f"
|
|
3540
|
-
},
|
|
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
|
-
}),
|
|
3557
|
+
}), at = y(K)({
|
|
3548
3558
|
display: "flex",
|
|
3549
3559
|
flexDirection: "column",
|
|
3550
3560
|
padding: "0",
|
|
3551
3561
|
flexGrow: 1
|
|
3552
|
-
}),
|
|
3562
|
+
}), tt = y(he)({
|
|
3553
3563
|
padding: "0"
|
|
3554
|
-
}),
|
|
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
|
-
|
|
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
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
3620
|
+
const lt = y("div")({
|
|
3611
3621
|
height: "100%"
|
|
3612
3622
|
});
|
|
3613
|
-
|
|
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
|
|
3630
|
+
const ct = y("div")({
|
|
3621
3631
|
height: "75vh",
|
|
3622
3632
|
width: "100%",
|
|
3623
3633
|
overflowY: "auto"
|
|
3624
3634
|
});
|
|
3625
|
-
|
|
3635
|
+
y("div")({
|
|
3626
3636
|
position: "relative",
|
|
3627
3637
|
height: "100%",
|
|
3628
3638
|
flex: "0 0 auto"
|
|
3629
3639
|
});
|
|
3630
|
-
const
|
|
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
|
-
})),
|
|
3651
|
+
})), dt = y(K)({
|
|
3642
3652
|
padding: "0",
|
|
3643
3653
|
"&:last-child": {
|
|
3644
3654
|
paddingBottom: "0"
|
|
3645
3655
|
}
|
|
3646
|
-
}),
|
|
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
|
-
|
|
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 =
|
|
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
|
|
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
|
-
}),
|
|
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
|
|
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
|
|
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
|
|
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
|
-
},
|
|
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] =
|
|
3917
|
+
), [C, U] = _(
|
|
3908
3918
|
He
|
|
3909
|
-
), [x, $] =
|
|
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),
|
|
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
|
-
},
|
|
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
|
-
|
|
3960
|
+
qa as $,
|
|
3951
3961
|
aa as A,
|
|
3952
|
-
|
|
3962
|
+
ge as B,
|
|
3953
3963
|
ra as C,
|
|
3954
3964
|
ia as D,
|
|
3955
|
-
|
|
3965
|
+
S as E,
|
|
3956
3966
|
pa as F,
|
|
3957
3967
|
ha as G,
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
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
|
-
|
|
3966
|
-
|
|
3975
|
+
Qa as O,
|
|
3976
|
+
ka as P,
|
|
3967
3977
|
Ra as Q,
|
|
3968
3978
|
Ua as R,
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
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
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
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
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
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
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4066
|
+
gt as u,
|
|
4055
4067
|
Ta as v,
|
|
4056
4068
|
wa as w,
|
|
4057
4069
|
Ea as x,
|
|
4058
|
-
|
|
4059
|
-
|
|
4070
|
+
Ma as y,
|
|
4071
|
+
fa as z
|
|
4060
4072
|
};
|