@malloy-publisher/sdk 0.2.6 → 0.3.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/README.md +172 -204
- package/dist/ServerProvider-CGnLjzag.cjs.js +1 -0
- package/dist/{ServerProvider-ksC5Su_x.es.js → ServerProvider-DSK9rfSY.es.js} +245 -245
- package/dist/client/api.d.ts +13 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +1 -1
- package/dist/components/ApiErrorDisplay.d.ts +1 -2
- package/dist/components/Dashboard/Dashboard.d.ts +4 -2
- package/dist/components/Dashboard/promoteMeasureRow.d.ts +36 -0
- package/dist/components/DocumentStorage/BrowserDocumentStorage.d.ts +14 -0
- package/dist/components/DocumentStorage/DocumentStorage.d.ts +58 -0
- package/dist/components/DocumentStorage/DocumentStorageProvider.d.ts +18 -0
- package/dist/components/DocumentStorage/index.d.ts +3 -0
- package/dist/components/Model/index.d.ts +0 -1
- package/dist/components/RenderedResult/RenderedResult.d.ts +12 -0
- package/dist/components/RenderedResult/ResultContainer.d.ts +7 -1
- package/dist/components/RenderedResult/index.d.ts +1 -0
- package/dist/components/RenderedResult/resultSizing.d.ts +183 -0
- package/dist/components/drill/index.d.ts +1 -0
- package/dist/components/drill/useDrillSelf.d.ts +46 -0
- package/dist/components/given/filterValue.d.ts +63 -0
- package/dist/components/given/index.d.ts +1 -0
- package/dist/components/given/useGivenUrlParams.d.ts +39 -0
- package/dist/components/index.d.ts +2 -3
- package/dist/components/styles.d.ts +3 -3
- package/dist/core-8NVBCLZh.cjs.js +148 -0
- package/dist/{core-xdZbLgaF.es.js → core-B8oMW4sm.es.js} +3540 -2335
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useSuggestOptions.d.ts +28 -12
- package/dist/index.cjs.js +281 -1
- package/dist/index.es.js +45803 -79
- package/dist/sdk.css +1 -1
- package/dist/styles.css +0 -1
- package/package.json +2 -6
- package/src/components/ApiErrorDisplay.tsx +1 -1
- package/src/components/Connections/EditConnectionDialog.tsx +96 -86
- package/src/components/Dashboard/Dashboard.tsx +60 -95
- package/src/components/Dashboard/DashboardTile.tsx +25 -2
- package/src/components/Dashboard/promoteMeasureRow.spec.ts +137 -0
- package/src/components/Dashboard/promoteMeasureRow.ts +129 -0
- package/src/components/DocumentStorage/BrowserDocumentStorage.spec.ts +81 -0
- package/src/components/DocumentStorage/BrowserDocumentStorage.ts +105 -0
- package/src/components/DocumentStorage/DocumentStorage.ts +73 -0
- package/src/components/DocumentStorage/DocumentStorageProvider.tsx +46 -0
- package/src/components/DocumentStorage/index.ts +15 -0
- package/src/components/Environment/Connections.tsx +15 -15
- package/src/components/Model/ModelCell.tsx +2 -1
- package/src/components/Model/index.ts +0 -1
- package/src/components/Notebook/Notebook.tsx +10 -76
- package/src/components/Notebook/NotebookCell.tsx +2 -8
- package/src/components/RenderedResult/RenderedResult.tsx +86 -76
- package/src/components/RenderedResult/ResultContainer.tsx +21 -24
- package/src/components/RenderedResult/index.ts +15 -0
- package/src/components/RenderedResult/resultSizing.spec.ts +249 -0
- package/src/components/RenderedResult/resultSizing.ts +308 -0
- package/src/components/ResultsDialog.tsx +2 -1
- package/src/components/drill/index.ts +5 -0
- package/src/components/drill/useDrillSelf.spec.tsx +64 -0
- package/src/components/drill/useDrillSelf.ts +110 -0
- package/src/components/given/GivenInput.spec.tsx +196 -2
- package/src/components/given/GivenInput.tsx +300 -25
- package/src/components/given/filterValue.spec.ts +112 -0
- package/src/components/given/filterValue.ts +188 -0
- package/src/components/given/index.ts +4 -0
- package/src/components/given/useGivenUrlParams.spec.tsx +74 -0
- package/src/components/given/useGivenUrlParams.ts +87 -0
- package/src/components/index.ts +5 -3
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useGivensState.spec.ts +158 -0
- package/src/hooks/useGivensState.ts +114 -23
- package/src/hooks/useSuggestOptions.dom.spec.ts +60 -1
- package/src/hooks/useSuggestOptions.ts +94 -51
- package/vite.config.ts +0 -1
- package/dist/ServerProvider-xXW1HJOJ.cjs.js +0 -1
- package/dist/components/AnalyzePackageButton.d.ts +0 -6
- package/dist/components/Workbook/BrowserWorkbookStorage.d.ts +0 -9
- package/dist/components/Workbook/EditableMalloyCell.d.ts +0 -11
- package/dist/components/Workbook/ModelPicker.d.ts +0 -11
- package/dist/components/Workbook/MutableCell.d.ts +0 -17
- package/dist/components/Workbook/Workbook.d.ts +0 -7
- package/dist/components/Workbook/WorkbookList.d.ts +0 -7
- package/dist/components/Workbook/WorkbookManager.d.ts +0 -84
- package/dist/components/Workbook/WorkbookStorage.d.ts +0 -17
- package/dist/components/Workbook/WorkbookStorageProvider.d.ts +0 -12
- package/dist/components/Workbook/index.d.ts +0 -7
- package/dist/core-RvrkY1Ss.cjs.js +0 -148
- package/dist/index-B3scIDRd.cjs.js +0 -356
- package/dist/index-Bda7HuZc.es.js +0 -66409
- package/dist/markdown-editor.css +0 -341
- package/src/components/AnalyzePackageButton.tsx +0 -319
- package/src/components/Workbook/BrowserWorkbookStorage.ts +0 -64
- package/src/components/Workbook/EditableMalloyCell.tsx +0 -49
- package/src/components/Workbook/ModelPicker.tsx +0 -134
- package/src/components/Workbook/MutableCell.tsx +0 -458
- package/src/components/Workbook/Workbook.tsx +0 -501
- package/src/components/Workbook/WorkbookList.tsx +0 -110
- package/src/components/Workbook/WorkbookManager.ts +0 -214
- package/src/components/Workbook/WorkbookStorage.ts +0 -35
- package/src/components/Workbook/WorkbookStorageProvider.tsx +0 -40
- package/src/components/Workbook/index.ts +0 -10
|
@@ -3,21 +3,36 @@ import { QueryClient as ce, QueryClientProvider as ie, useQuery as de } from "@t
|
|
|
3
3
|
import h from "axios";
|
|
4
4
|
import { useMemo as f, createContext as G, useContext as Y, useState as _, useEffect as pe, useCallback as me } from "react";
|
|
5
5
|
import { styled as y, Card as J, CardContent as K, CardMedia as he } from "@mui/material";
|
|
6
|
-
const
|
|
6
|
+
const ue = new ce({
|
|
7
|
+
defaultOptions: {
|
|
8
|
+
queries: {
|
|
9
|
+
retry: !1,
|
|
10
|
+
throwOnError: !1
|
|
11
|
+
},
|
|
12
|
+
mutations: {
|
|
13
|
+
retry: !1,
|
|
14
|
+
throwOnError: !1
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}), aa = {
|
|
18
|
+
staleTime: 300 * 1e3,
|
|
19
|
+
refetchOnWindowFocus: !1,
|
|
20
|
+
refetchOnReconnect: !1
|
|
21
|
+
}, u = "http://localhost/api/v0".replace(/\/+$/, "");
|
|
7
22
|
class I {
|
|
8
23
|
constructor(n, e = u, t = h) {
|
|
9
24
|
this.basePath = e, this.axios = t, n && (this.configuration = n, this.basePath = n.basePath ?? e);
|
|
10
25
|
}
|
|
11
26
|
configuration;
|
|
12
27
|
}
|
|
13
|
-
class
|
|
28
|
+
class ge extends Error {
|
|
14
29
|
constructor(n, e) {
|
|
15
30
|
super(e), this.field = n, this.name = "RequiredError";
|
|
16
31
|
}
|
|
17
32
|
}
|
|
18
33
|
const g = {}, b = "https://example.com", m = function(l, n, e) {
|
|
19
34
|
if (e == null)
|
|
20
|
-
throw new
|
|
35
|
+
throw new ge(n, `Required parameter ${n} was null or undefined when calling ${l}.`);
|
|
21
36
|
};
|
|
22
37
|
function q(l, n, e = "") {
|
|
23
38
|
n != null && (typeof n == "object" ? Array.isArray(n) ? n.forEach((t) => q(l, t, e)) : Object.keys(n).forEach(
|
|
@@ -37,28 +52,28 @@ const P = function(l, ...n) {
|
|
|
37
52
|
const o = { ...l.options, url: (a.defaults.baseURL ? "" : t?.basePath ?? r) + l.url };
|
|
38
53
|
return a.request(o);
|
|
39
54
|
};
|
|
40
|
-
},
|
|
55
|
+
}, ta = {
|
|
41
56
|
Bigquery: "bigquery",
|
|
42
57
|
Snowflake: "snowflake",
|
|
43
58
|
Postgres: "postgres",
|
|
44
59
|
Gcs: "gcs",
|
|
45
60
|
S3: "s3",
|
|
46
61
|
Azure: "azure"
|
|
47
|
-
},
|
|
62
|
+
}, ra = {
|
|
48
63
|
ServicePrincipal: "service_principal",
|
|
49
64
|
SasToken: "sas_token"
|
|
50
|
-
},
|
|
65
|
+
}, na = {
|
|
51
66
|
Error: "error",
|
|
52
67
|
Warn: "warn",
|
|
53
68
|
Debug: "debug"
|
|
54
|
-
},
|
|
69
|
+
}, oa = {
|
|
55
70
|
Append: "append",
|
|
56
71
|
File: "file",
|
|
57
72
|
Package: "package"
|
|
58
|
-
},
|
|
73
|
+
}, sa = {
|
|
59
74
|
Success: "success",
|
|
60
75
|
Error: "error"
|
|
61
|
-
},
|
|
76
|
+
}, la = {
|
|
62
77
|
Postgres: "postgres",
|
|
63
78
|
Bigquery: "bigquery",
|
|
64
79
|
Snowflake: "snowflake",
|
|
@@ -69,131 +84,131 @@ const P = function(l, ...n) {
|
|
|
69
84
|
Motherduck: "motherduck",
|
|
70
85
|
Ducklake: "ducklake",
|
|
71
86
|
Publisher: "publisher"
|
|
72
|
-
}, la = {
|
|
73
|
-
Ssh: "ssh"
|
|
74
87
|
}, ca = {
|
|
88
|
+
Ssh: "ssh"
|
|
89
|
+
}, ia = {
|
|
75
90
|
Ok: "ok",
|
|
76
91
|
Failed: "failed"
|
|
77
|
-
}, ia = {
|
|
78
|
-
Viewport: "viewport"
|
|
79
92
|
}, da = {
|
|
93
|
+
Viewport: "viewport"
|
|
94
|
+
}, pa = {
|
|
80
95
|
Embedded: "embedded",
|
|
81
96
|
Materialized: "materialized"
|
|
82
|
-
},
|
|
97
|
+
}, ma = {
|
|
83
98
|
Equal: "equal",
|
|
84
99
|
In: "in",
|
|
85
100
|
Like: "like",
|
|
86
101
|
GreaterThan: "greater_than",
|
|
87
102
|
LessThan: "less_than"
|
|
88
|
-
},
|
|
103
|
+
}, ha = {
|
|
89
104
|
Live: "live",
|
|
90
105
|
StaleOk: "stale_ok",
|
|
91
106
|
Fail: "fail"
|
|
92
|
-
},
|
|
107
|
+
}, ua = {
|
|
93
108
|
Select: "select",
|
|
94
109
|
Multiselect: "multiselect"
|
|
95
|
-
},
|
|
110
|
+
}, ga = {
|
|
96
111
|
Merge: "merge",
|
|
97
112
|
RangeReplace: "range_replace"
|
|
98
|
-
},
|
|
113
|
+
}, ba = {
|
|
99
114
|
Debug: "debug",
|
|
100
115
|
Info: "info",
|
|
101
116
|
Warn: "warn",
|
|
102
117
|
Error: "error"
|
|
103
|
-
},
|
|
118
|
+
}, Pa = {
|
|
104
119
|
Persist: "persist",
|
|
105
120
|
Preaggregate: "preaggregate"
|
|
106
|
-
},
|
|
121
|
+
}, va = {
|
|
107
122
|
Live: "live",
|
|
108
123
|
StaleOk: "stale_ok",
|
|
109
124
|
Fail: "fail"
|
|
110
|
-
},
|
|
125
|
+
}, Va = {
|
|
111
126
|
Delta: "delta",
|
|
112
127
|
Full: "full",
|
|
113
128
|
None: "none"
|
|
114
|
-
},
|
|
129
|
+
}, Oa = {
|
|
115
130
|
Pending: "PENDING",
|
|
116
131
|
ManifestRowsReady: "MANIFEST_ROWS_READY",
|
|
117
132
|
ManifestFileReady: "MANIFEST_FILE_READY",
|
|
118
133
|
Failed: "FAILED",
|
|
119
134
|
Cancelled: "CANCELLED"
|
|
120
|
-
}, Oa = {
|
|
121
|
-
Markdown: "markdown",
|
|
122
|
-
Code: "code"
|
|
123
135
|
}, Sa = {
|
|
124
136
|
Markdown: "markdown",
|
|
125
137
|
Code: "code"
|
|
126
138
|
}, ka = {
|
|
139
|
+
Markdown: "markdown",
|
|
140
|
+
Code: "code"
|
|
141
|
+
}, ya = {
|
|
127
142
|
Version: "version",
|
|
128
143
|
Package: "package"
|
|
129
|
-
},
|
|
144
|
+
}, Ca = {
|
|
130
145
|
Declared: "declared",
|
|
131
146
|
All: "all"
|
|
132
|
-
},
|
|
147
|
+
}, Ia = {
|
|
133
148
|
Unbound: "unbound",
|
|
134
149
|
Bound: "bound",
|
|
135
150
|
LiveFallback: "live_fallback"
|
|
136
|
-
},
|
|
151
|
+
}, xa = {
|
|
137
152
|
Indexing: "indexing",
|
|
138
153
|
Ready: "ready",
|
|
139
154
|
Cooldown: "cooldown",
|
|
140
155
|
TooManyEntities: "too-many-entities"
|
|
141
|
-
},
|
|
156
|
+
}, Aa = {
|
|
142
157
|
Persist: "persist",
|
|
143
158
|
Preaggregate: "preaggregate"
|
|
144
|
-
},
|
|
159
|
+
}, Ra = {
|
|
145
160
|
Error: "error",
|
|
146
161
|
Warn: "warn"
|
|
147
|
-
},
|
|
162
|
+
}, Na = {
|
|
148
163
|
Persist: "persist",
|
|
149
164
|
Preaggregate: "preaggregate"
|
|
150
|
-
},
|
|
165
|
+
}, Ta = {
|
|
151
166
|
Disable: "disable",
|
|
152
167
|
NoVerify: "no-verify",
|
|
153
168
|
VerifyCa: "verify-ca",
|
|
154
169
|
VerifyFull: "verify-full"
|
|
155
|
-
},
|
|
170
|
+
}, Ua = {
|
|
156
171
|
Interactive: "interactive",
|
|
157
172
|
Materialize: "materialize",
|
|
158
173
|
Index: "index",
|
|
159
174
|
Ops: "ops"
|
|
160
|
-
},
|
|
175
|
+
}, Ea = {
|
|
161
176
|
Query: "query",
|
|
162
177
|
ServerDefault: "server_default"
|
|
163
|
-
},
|
|
178
|
+
}, wa = {
|
|
164
179
|
Storage: "storage",
|
|
165
180
|
LiveFallback: "live_fallback"
|
|
166
|
-
},
|
|
181
|
+
}, Ma = {
|
|
167
182
|
Snapshot: "SNAPSHOT",
|
|
168
183
|
Copy: "COPY"
|
|
169
|
-
},
|
|
184
|
+
}, fa = {
|
|
170
185
|
Storage: "storage",
|
|
171
186
|
Colocated: "colocated",
|
|
172
187
|
Preaggregate: "preaggregate"
|
|
173
|
-
},
|
|
188
|
+
}, Ba = {
|
|
174
189
|
FreeParameter: "free_parameter",
|
|
175
190
|
Given: "given",
|
|
176
191
|
Authorize: "authorize",
|
|
177
192
|
Partition: "partition",
|
|
178
193
|
NotDuckdbPortable: "not_duckdb_portable",
|
|
179
194
|
PublicSurfaceUnknown: "public_surface_unknown"
|
|
180
|
-
},
|
|
195
|
+
}, Fa = {
|
|
181
196
|
Publish: "publish",
|
|
182
197
|
OnDemand: "on_demand",
|
|
183
198
|
Scheduler: "scheduler"
|
|
184
|
-
},
|
|
199
|
+
}, Qa = {
|
|
185
200
|
Config: "config",
|
|
186
201
|
CredentialChain: "credential_chain"
|
|
187
|
-
},
|
|
202
|
+
}, $a = {
|
|
188
203
|
Initializing: "initializing",
|
|
189
204
|
Serving: "serving",
|
|
190
205
|
Draining: "draining",
|
|
191
206
|
Throttled: "throttled"
|
|
192
|
-
},
|
|
207
|
+
}, za = {
|
|
193
208
|
Light: "light",
|
|
194
209
|
Dark: "dark",
|
|
195
210
|
Auto: "auto"
|
|
196
|
-
},
|
|
211
|
+
}, be = function(l) {
|
|
197
212
|
return {
|
|
198
213
|
/**
|
|
199
214
|
* Creates a new database connection in the specified environment.
|
|
@@ -575,7 +590,7 @@ const P = function(l, ...n) {
|
|
|
575
590
|
}
|
|
576
591
|
};
|
|
577
592
|
}, S = function(l) {
|
|
578
|
-
const n =
|
|
593
|
+
const n = be(l);
|
|
579
594
|
return {
|
|
580
595
|
/**
|
|
581
596
|
* Creates a new database connection in the specified environment.
|
|
@@ -803,7 +818,7 @@ const P = function(l, ...n) {
|
|
|
803
818
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
804
819
|
}
|
|
805
820
|
};
|
|
806
|
-
},
|
|
821
|
+
}, qa = function(l, n, e) {
|
|
807
822
|
const t = S(l);
|
|
808
823
|
return {
|
|
809
824
|
/**
|
|
@@ -1016,7 +1031,7 @@ const P = function(l, ...n) {
|
|
|
1016
1031
|
}
|
|
1017
1032
|
};
|
|
1018
1033
|
};
|
|
1019
|
-
class
|
|
1034
|
+
class Pe extends I {
|
|
1020
1035
|
/**
|
|
1021
1036
|
* Creates a new database connection in the specified environment.
|
|
1022
1037
|
* @summary Create a new database connection
|
|
@@ -1243,7 +1258,7 @@ class be extends I {
|
|
|
1243
1258
|
return S(this.configuration).updateConnection(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
1244
1259
|
}
|
|
1245
1260
|
}
|
|
1246
|
-
const
|
|
1261
|
+
const ve = function(l) {
|
|
1247
1262
|
return {
|
|
1248
1263
|
/**
|
|
1249
1264
|
* 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.
|
|
@@ -1267,7 +1282,7 @@ const Pe = function(l) {
|
|
|
1267
1282
|
}
|
|
1268
1283
|
};
|
|
1269
1284
|
}, X = function(l) {
|
|
1270
|
-
const n =
|
|
1285
|
+
const n = ve(l);
|
|
1271
1286
|
return {
|
|
1272
1287
|
/**
|
|
1273
1288
|
* 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.
|
|
@@ -1281,7 +1296,7 @@ const Pe = function(l) {
|
|
|
1281
1296
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
1282
1297
|
}
|
|
1283
1298
|
};
|
|
1284
|
-
},
|
|
1299
|
+
}, Da = function(l, n, e) {
|
|
1285
1300
|
const t = X(l);
|
|
1286
1301
|
return {
|
|
1287
1302
|
/**
|
|
@@ -1296,7 +1311,7 @@ const Pe = function(l) {
|
|
|
1296
1311
|
}
|
|
1297
1312
|
};
|
|
1298
1313
|
};
|
|
1299
|
-
class
|
|
1314
|
+
class La extends I {
|
|
1300
1315
|
/**
|
|
1301
1316
|
* 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.
|
|
1302
1317
|
* @summary Test database connection configuration
|
|
@@ -1309,7 +1324,7 @@ class Da extends I {
|
|
|
1309
1324
|
return X(this.configuration).testConnectionConfiguration(n, e).then((t) => t(this.axios, this.basePath));
|
|
1310
1325
|
}
|
|
1311
1326
|
}
|
|
1312
|
-
const
|
|
1327
|
+
const Ve = function(l) {
|
|
1313
1328
|
return {
|
|
1314
1329
|
/**
|
|
1315
1330
|
* Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
|
|
@@ -1358,7 +1373,7 @@ const ve = function(l) {
|
|
|
1358
1373
|
}
|
|
1359
1374
|
};
|
|
1360
1375
|
}, D = function(l) {
|
|
1361
|
-
const n =
|
|
1376
|
+
const n = Ve(l);
|
|
1362
1377
|
return {
|
|
1363
1378
|
/**
|
|
1364
1379
|
* Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
|
|
@@ -1388,7 +1403,7 @@ const ve = function(l) {
|
|
|
1388
1403
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
1389
1404
|
}
|
|
1390
1405
|
};
|
|
1391
|
-
},
|
|
1406
|
+
}, ja = function(l, n, e) {
|
|
1392
1407
|
const t = D(l);
|
|
1393
1408
|
return {
|
|
1394
1409
|
/**
|
|
@@ -1418,7 +1433,7 @@ const ve = function(l) {
|
|
|
1418
1433
|
}
|
|
1419
1434
|
};
|
|
1420
1435
|
};
|
|
1421
|
-
class
|
|
1436
|
+
class Oe extends I {
|
|
1422
1437
|
/**
|
|
1423
1438
|
* Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
|
|
1424
1439
|
* @summary Get a dashboard manifest
|
|
@@ -1447,7 +1462,7 @@ class Ve extends I {
|
|
|
1447
1462
|
return D(this.configuration).listDashboards(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
1448
1463
|
}
|
|
1449
1464
|
}
|
|
1450
|
-
const
|
|
1465
|
+
const Se = function(l) {
|
|
1451
1466
|
return {
|
|
1452
1467
|
/**
|
|
1453
1468
|
* Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
|
|
@@ -1472,7 +1487,7 @@ const Oe = function(l) {
|
|
|
1472
1487
|
}
|
|
1473
1488
|
};
|
|
1474
1489
|
}, Z = function(l) {
|
|
1475
|
-
const n =
|
|
1490
|
+
const n = Se(l);
|
|
1476
1491
|
return {
|
|
1477
1492
|
/**
|
|
1478
1493
|
* Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
|
|
@@ -1487,7 +1502,7 @@ const Oe = function(l) {
|
|
|
1487
1502
|
return (c, i) => V(r, h, u, l)(c, s || i);
|
|
1488
1503
|
}
|
|
1489
1504
|
};
|
|
1490
|
-
},
|
|
1505
|
+
}, Ha = function(l, n, e) {
|
|
1491
1506
|
const t = Z(l);
|
|
1492
1507
|
return {
|
|
1493
1508
|
/**
|
|
@@ -1503,7 +1518,7 @@ const Oe = function(l) {
|
|
|
1503
1518
|
}
|
|
1504
1519
|
};
|
|
1505
1520
|
};
|
|
1506
|
-
class
|
|
1521
|
+
class ke extends I {
|
|
1507
1522
|
/**
|
|
1508
1523
|
* Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
|
|
1509
1524
|
* @summary List package data apps
|
|
@@ -1517,7 +1532,7 @@ class Se extends I {
|
|
|
1517
1532
|
return Z(this.configuration).listDataApps(n, e, t).then((a) => a(this.axios, this.basePath));
|
|
1518
1533
|
}
|
|
1519
1534
|
}
|
|
1520
|
-
const
|
|
1535
|
+
const ye = function(l) {
|
|
1521
1536
|
return {
|
|
1522
1537
|
/**
|
|
1523
1538
|
* 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.
|
|
@@ -1543,7 +1558,7 @@ const ke = function(l) {
|
|
|
1543
1558
|
}
|
|
1544
1559
|
};
|
|
1545
1560
|
}, ee = function(l) {
|
|
1546
|
-
const n =
|
|
1561
|
+
const n = ye(l);
|
|
1547
1562
|
return {
|
|
1548
1563
|
/**
|
|
1549
1564
|
* 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.
|
|
@@ -1559,7 +1574,7 @@ const ke = function(l) {
|
|
|
1559
1574
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
1560
1575
|
}
|
|
1561
1576
|
};
|
|
1562
|
-
},
|
|
1577
|
+
}, _a = function(l, n, e) {
|
|
1563
1578
|
const t = ee(l);
|
|
1564
1579
|
return {
|
|
1565
1580
|
/**
|
|
@@ -1576,7 +1591,7 @@ const ke = function(l) {
|
|
|
1576
1591
|
}
|
|
1577
1592
|
};
|
|
1578
1593
|
};
|
|
1579
|
-
class
|
|
1594
|
+
class Ce extends I {
|
|
1580
1595
|
/**
|
|
1581
1596
|
* 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.
|
|
1582
1597
|
* @summary List embedded databases
|
|
@@ -1591,7 +1606,7 @@ class ye extends I {
|
|
|
1591
1606
|
return ee(this.configuration).listDatabases(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
1592
1607
|
}
|
|
1593
1608
|
}
|
|
1594
|
-
const
|
|
1609
|
+
const Ie = function(l) {
|
|
1595
1610
|
return {
|
|
1596
1611
|
/**
|
|
1597
1612
|
* Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
|
|
@@ -1695,7 +1710,7 @@ const Ce = function(l) {
|
|
|
1695
1710
|
}
|
|
1696
1711
|
};
|
|
1697
1712
|
}, N = function(l) {
|
|
1698
|
-
const n =
|
|
1713
|
+
const n = Ie(l);
|
|
1699
1714
|
return {
|
|
1700
1715
|
/**
|
|
1701
1716
|
* Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
|
|
@@ -1754,7 +1769,7 @@ const Ce = function(l) {
|
|
|
1754
1769
|
return (c, i) => V(r, h, u, l)(c, s || i);
|
|
1755
1770
|
}
|
|
1756
1771
|
};
|
|
1757
|
-
},
|
|
1772
|
+
}, Wa = function(l, n, e) {
|
|
1758
1773
|
const t = N(l);
|
|
1759
1774
|
return {
|
|
1760
1775
|
/**
|
|
@@ -1810,7 +1825,7 @@ const Ce = function(l) {
|
|
|
1810
1825
|
}
|
|
1811
1826
|
};
|
|
1812
1827
|
};
|
|
1813
|
-
class
|
|
1828
|
+
class xe extends I {
|
|
1814
1829
|
/**
|
|
1815
1830
|
* Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
|
|
1816
1831
|
* @summary Create a new environment
|
|
@@ -1868,7 +1883,7 @@ class Ie extends I {
|
|
|
1868
1883
|
return N(this.configuration).updateEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
|
|
1869
1884
|
}
|
|
1870
1885
|
}
|
|
1871
|
-
const
|
|
1886
|
+
const Ae = function(l) {
|
|
1872
1887
|
return {
|
|
1873
1888
|
/**
|
|
1874
1889
|
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
@@ -2007,7 +2022,7 @@ const xe = function(l) {
|
|
|
2007
2022
|
}
|
|
2008
2023
|
};
|
|
2009
2024
|
}, A = function(l) {
|
|
2010
|
-
const n =
|
|
2025
|
+
const n = Ae(l);
|
|
2011
2026
|
return {
|
|
2012
2027
|
/**
|
|
2013
2028
|
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
@@ -2091,7 +2106,7 @@ const xe = function(l) {
|
|
|
2091
2106
|
return (d, p) => V(s, h, u, l)(d, i || p);
|
|
2092
2107
|
}
|
|
2093
2108
|
};
|
|
2094
|
-
},
|
|
2109
|
+
}, Ga = function(l, n, e) {
|
|
2095
2110
|
const t = A(l);
|
|
2096
2111
|
return {
|
|
2097
2112
|
/**
|
|
@@ -2171,7 +2186,7 @@ const xe = function(l) {
|
|
|
2171
2186
|
}
|
|
2172
2187
|
};
|
|
2173
2188
|
};
|
|
2174
|
-
class
|
|
2189
|
+
class Re extends I {
|
|
2175
2190
|
/**
|
|
2176
2191
|
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
2177
2192
|
* @summary Create a materialization
|
|
@@ -2254,9 +2269,9 @@ class Ae extends I {
|
|
|
2254
2269
|
return A(this.configuration).materializationAction(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
|
|
2255
2270
|
}
|
|
2256
2271
|
}
|
|
2257
|
-
const
|
|
2272
|
+
const Ya = {
|
|
2258
2273
|
Stop: "stop"
|
|
2259
|
-
},
|
|
2274
|
+
}, Ne = function(l) {
|
|
2260
2275
|
return {
|
|
2261
2276
|
/**
|
|
2262
2277
|
* Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
|
|
@@ -2351,7 +2366,7 @@ const Ga = {
|
|
|
2351
2366
|
}
|
|
2352
2367
|
};
|
|
2353
2368
|
}, E = function(l) {
|
|
2354
|
-
const n =
|
|
2369
|
+
const n = Ne(l);
|
|
2355
2370
|
return {
|
|
2356
2371
|
/**
|
|
2357
2372
|
* Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
|
|
@@ -2409,7 +2424,7 @@ const Ga = {
|
|
|
2409
2424
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2410
2425
|
}
|
|
2411
2426
|
};
|
|
2412
|
-
},
|
|
2427
|
+
}, Ja = function(l, n, e) {
|
|
2413
2428
|
const t = E(l);
|
|
2414
2429
|
return {
|
|
2415
2430
|
/**
|
|
@@ -2465,7 +2480,7 @@ const Ga = {
|
|
|
2465
2480
|
}
|
|
2466
2481
|
};
|
|
2467
2482
|
};
|
|
2468
|
-
class
|
|
2483
|
+
class Te extends I {
|
|
2469
2484
|
/**
|
|
2470
2485
|
* Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
|
|
2471
2486
|
* @summary Compile Malloy source code
|
|
@@ -2522,7 +2537,7 @@ class Ne extends I {
|
|
|
2522
2537
|
return E(this.configuration).listModels(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
2523
2538
|
}
|
|
2524
2539
|
}
|
|
2525
|
-
const
|
|
2540
|
+
const Ue = function(l) {
|
|
2526
2541
|
return {
|
|
2527
2542
|
/**
|
|
2528
2543
|
* Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
|
|
@@ -2598,7 +2613,7 @@ const Te = function(l) {
|
|
|
2598
2613
|
}
|
|
2599
2614
|
};
|
|
2600
2615
|
}, Q = function(l) {
|
|
2601
|
-
const n =
|
|
2616
|
+
const n = Ue(l);
|
|
2602
2617
|
return {
|
|
2603
2618
|
/**
|
|
2604
2619
|
* Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
|
|
@@ -2646,7 +2661,7 @@ const Te = function(l) {
|
|
|
2646
2661
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2647
2662
|
}
|
|
2648
2663
|
};
|
|
2649
|
-
},
|
|
2664
|
+
}, Ka = function(l, n, e) {
|
|
2650
2665
|
const t = Q(l);
|
|
2651
2666
|
return {
|
|
2652
2667
|
/**
|
|
@@ -2693,7 +2708,7 @@ const Te = function(l) {
|
|
|
2693
2708
|
}
|
|
2694
2709
|
};
|
|
2695
2710
|
};
|
|
2696
|
-
class
|
|
2711
|
+
class Ee extends I {
|
|
2697
2712
|
/**
|
|
2698
2713
|
* Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
|
|
2699
2714
|
* @summary Execute a specific notebook cell
|
|
@@ -2740,10 +2755,10 @@ class Ue extends I {
|
|
|
2740
2755
|
return Q(this.configuration).listNotebooks(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
2741
2756
|
}
|
|
2742
2757
|
}
|
|
2743
|
-
const
|
|
2758
|
+
const Xa = {
|
|
2744
2759
|
True: "true",
|
|
2745
2760
|
False: "false"
|
|
2746
|
-
},
|
|
2761
|
+
}, we = function(l) {
|
|
2747
2762
|
return {
|
|
2748
2763
|
/**
|
|
2749
2764
|
* Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
|
|
@@ -2854,7 +2869,7 @@ const Ka = {
|
|
|
2854
2869
|
}
|
|
2855
2870
|
};
|
|
2856
2871
|
}, T = function(l) {
|
|
2857
|
-
const n =
|
|
2872
|
+
const n = we(l);
|
|
2858
2873
|
return {
|
|
2859
2874
|
/**
|
|
2860
2875
|
* Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
|
|
@@ -2919,7 +2934,7 @@ const Ka = {
|
|
|
2919
2934
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2920
2935
|
}
|
|
2921
2936
|
};
|
|
2922
|
-
},
|
|
2937
|
+
}, Za = function(l, n, e) {
|
|
2923
2938
|
const t = T(l);
|
|
2924
2939
|
return {
|
|
2925
2940
|
/**
|
|
@@ -2981,7 +2996,7 @@ const Ka = {
|
|
|
2981
2996
|
}
|
|
2982
2997
|
};
|
|
2983
2998
|
};
|
|
2984
|
-
class
|
|
2999
|
+
class Me extends I {
|
|
2985
3000
|
/**
|
|
2986
3001
|
* Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
|
|
2987
3002
|
* @summary Create a new package
|
|
@@ -3045,7 +3060,7 @@ class we extends I {
|
|
|
3045
3060
|
return T(this.configuration).updatePackage(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
3046
3061
|
}
|
|
3047
3062
|
}
|
|
3048
|
-
const
|
|
3063
|
+
const fe = function(l) {
|
|
3049
3064
|
return {
|
|
3050
3065
|
/**
|
|
3051
3066
|
* Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
|
|
@@ -3123,7 +3138,7 @@ const Me = function(l) {
|
|
|
3123
3138
|
}
|
|
3124
3139
|
};
|
|
3125
3140
|
}, w = function(l) {
|
|
3126
|
-
const n =
|
|
3141
|
+
const n = fe(l);
|
|
3127
3142
|
return {
|
|
3128
3143
|
/**
|
|
3129
3144
|
* Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
|
|
@@ -3167,7 +3182,7 @@ const Me = function(l) {
|
|
|
3167
3182
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
3168
3183
|
}
|
|
3169
3184
|
};
|
|
3170
|
-
},
|
|
3185
|
+
}, et = function(l, n, e) {
|
|
3171
3186
|
const t = w(l);
|
|
3172
3187
|
return {
|
|
3173
3188
|
/**
|
|
@@ -3209,7 +3224,7 @@ const Me = function(l) {
|
|
|
3209
3224
|
}
|
|
3210
3225
|
};
|
|
3211
3226
|
};
|
|
3212
|
-
class
|
|
3227
|
+
class Be extends I {
|
|
3213
3228
|
/**
|
|
3214
3229
|
* Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
|
|
3215
3230
|
* @summary Reset the instance theme to the boot seed or default
|
|
@@ -3252,7 +3267,7 @@ class fe extends I {
|
|
|
3252
3267
|
return w(this.configuration).updateTheme(n, e).then((t) => t(this.axios, this.basePath));
|
|
3253
3268
|
}
|
|
3254
3269
|
}
|
|
3255
|
-
const
|
|
3270
|
+
const Fe = function(l) {
|
|
3256
3271
|
return {
|
|
3257
3272
|
/**
|
|
3258
3273
|
* Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
|
|
@@ -3333,7 +3348,7 @@ const Be = function(l) {
|
|
|
3333
3348
|
}
|
|
3334
3349
|
};
|
|
3335
3350
|
}, M = function(l) {
|
|
3336
|
-
const n =
|
|
3351
|
+
const n = Fe(l);
|
|
3337
3352
|
return {
|
|
3338
3353
|
/**
|
|
3339
3354
|
* Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
|
|
@@ -3379,7 +3394,7 @@ const Be = function(l) {
|
|
|
3379
3394
|
return (c, i) => V(r, h, u, l)(c, s || i);
|
|
3380
3395
|
}
|
|
3381
3396
|
};
|
|
3382
|
-
},
|
|
3397
|
+
}, at = function(l, n, e) {
|
|
3383
3398
|
const t = M(l);
|
|
3384
3399
|
return {
|
|
3385
3400
|
/**
|
|
@@ -3423,7 +3438,7 @@ const Be = function(l) {
|
|
|
3423
3438
|
}
|
|
3424
3439
|
};
|
|
3425
3440
|
};
|
|
3426
|
-
class
|
|
3441
|
+
class Qe extends I {
|
|
3427
3442
|
/**
|
|
3428
3443
|
* Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
|
|
3429
3444
|
* @summary Get watch mode status
|
|
@@ -3468,7 +3483,7 @@ class Fe extends I {
|
|
|
3468
3483
|
return M(this.configuration).streamPackageEvents(n, e, t).then((a) => a(this.axios, this.basePath));
|
|
3469
3484
|
}
|
|
3470
3485
|
}
|
|
3471
|
-
class
|
|
3486
|
+
class $e {
|
|
3472
3487
|
/**
|
|
3473
3488
|
* parameter for apiKey security
|
|
3474
3489
|
* @param name security name
|
|
@@ -3555,25 +3570,25 @@ const B = {
|
|
|
3555
3570
|
// right wing of the M
|
|
3556
3571
|
darkBlue: "#1474a4"
|
|
3557
3572
|
// deep shadow of the M
|
|
3558
|
-
},
|
|
3573
|
+
}, tt = {
|
|
3559
3574
|
violet: "#7c4dcc",
|
|
3560
3575
|
magenta: "#c2478f",
|
|
3561
3576
|
moss: "#5c8f3f"
|
|
3562
|
-
},
|
|
3577
|
+
}, rt = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', nt = y(J)({
|
|
3563
3578
|
display: "flex",
|
|
3564
3579
|
flexDirection: "column",
|
|
3565
3580
|
height: "100%",
|
|
3566
3581
|
boxShadow: "none",
|
|
3567
3582
|
border: "none",
|
|
3568
3583
|
backgroundColor: "transparent"
|
|
3569
|
-
}),
|
|
3584
|
+
}), ot = y(K)({
|
|
3570
3585
|
display: "flex",
|
|
3571
3586
|
flexDirection: "column",
|
|
3572
3587
|
padding: "0",
|
|
3573
3588
|
flexGrow: 1
|
|
3574
|
-
}),
|
|
3589
|
+
}), st = y(he)({
|
|
3575
3590
|
padding: "0"
|
|
3576
|
-
}),
|
|
3591
|
+
}), lt = y("div")(({ theme: l }) => ({
|
|
3577
3592
|
backgroundColor: l.palette.background.default,
|
|
3578
3593
|
padding: "0 8px 0px 8px",
|
|
3579
3594
|
borderRadius: "12px",
|
|
@@ -3587,19 +3602,19 @@ y("div")(({ theme: l }) => ({
|
|
|
3587
3602
|
paddingBottom: "24px",
|
|
3588
3603
|
borderBottom: `1px solid ${l.palette.divider}`
|
|
3589
3604
|
}));
|
|
3590
|
-
const
|
|
3605
|
+
const ct = y("div")({
|
|
3591
3606
|
marginBottom: "48px",
|
|
3592
3607
|
padding: "0",
|
|
3593
3608
|
backgroundColor: "transparent",
|
|
3594
3609
|
border: "none",
|
|
3595
3610
|
boxShadow: "none"
|
|
3596
|
-
}),
|
|
3611
|
+
}), it = y("div")({
|
|
3597
3612
|
marginBottom: "0",
|
|
3598
3613
|
padding: "0",
|
|
3599
3614
|
backgroundColor: "transparent",
|
|
3600
3615
|
border: "none",
|
|
3601
3616
|
boxShadow: "none"
|
|
3602
|
-
}),
|
|
3617
|
+
}), dt = y("div")({
|
|
3603
3618
|
backgroundColor: "transparent",
|
|
3604
3619
|
paddingTop: "12px",
|
|
3605
3620
|
paddingBottom: "2px",
|
|
@@ -3629,7 +3644,7 @@ y("div")(({ theme: l }) => ({
|
|
|
3629
3644
|
justifyContent: "space-between",
|
|
3630
3645
|
alignItems: "center"
|
|
3631
3646
|
}));
|
|
3632
|
-
const
|
|
3647
|
+
const pt = y("div")({
|
|
3633
3648
|
height: "100%"
|
|
3634
3649
|
});
|
|
3635
3650
|
y("div")({
|
|
@@ -3639,7 +3654,7 @@ y("div")({
|
|
|
3639
3654
|
padding: "4px",
|
|
3640
3655
|
alignItems: "center"
|
|
3641
3656
|
});
|
|
3642
|
-
const
|
|
3657
|
+
const mt = y("div")({
|
|
3643
3658
|
height: "75vh",
|
|
3644
3659
|
width: "100%",
|
|
3645
3660
|
overflowY: "auto"
|
|
@@ -3649,7 +3664,7 @@ y("div")({
|
|
|
3649
3664
|
height: "100%",
|
|
3650
3665
|
flex: "0 0 auto"
|
|
3651
3666
|
});
|
|
3652
|
-
const
|
|
3667
|
+
const ht = y(J)(({ theme: l }) => ({
|
|
3653
3668
|
backgroundColor: l.palette.background.paper,
|
|
3654
3669
|
padding: "24px",
|
|
3655
3670
|
borderRadius: "8px",
|
|
@@ -3660,12 +3675,12 @@ const mt = y(J)(({ theme: l }) => ({
|
|
|
3660
3675
|
"&:hover": {
|
|
3661
3676
|
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
|
|
3662
3677
|
}
|
|
3663
|
-
})),
|
|
3678
|
+
})), ut = y(K)({
|
|
3664
3679
|
padding: "0",
|
|
3665
3680
|
"&:last-child": {
|
|
3666
3681
|
paddingBottom: "0"
|
|
3667
3682
|
}
|
|
3668
|
-
}),
|
|
3683
|
+
}), gt = y("div")(({ theme: l }) => ({
|
|
3669
3684
|
fontSize: "0.875rem",
|
|
3670
3685
|
fontWeight: 500,
|
|
3671
3686
|
color: l.palette.text.secondary,
|
|
@@ -3679,7 +3694,7 @@ y("div")({
|
|
|
3679
3694
|
margin: "0 auto",
|
|
3680
3695
|
minHeight: "100vh"
|
|
3681
3696
|
});
|
|
3682
|
-
const
|
|
3697
|
+
const ze = [
|
|
3683
3698
|
B.teal,
|
|
3684
3699
|
B.orange,
|
|
3685
3700
|
B.darkBlue,
|
|
@@ -3688,11 +3703,11 @@ const $e = [
|
|
|
3688
3703
|
"#f9c85b",
|
|
3689
3704
|
"#aacd85",
|
|
3690
3705
|
"#b87ced"
|
|
3691
|
-
],
|
|
3706
|
+
], qe = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", W = {
|
|
3692
3707
|
defaultMode: "light",
|
|
3693
3708
|
allowUserToggle: !0,
|
|
3694
3709
|
palette: {
|
|
3695
|
-
series:
|
|
3710
|
+
series: ze,
|
|
3696
3711
|
background: {
|
|
3697
3712
|
light: "#ffffff",
|
|
3698
3713
|
// Slate to match the Publisher app's sidebar surface so
|
|
@@ -3737,10 +3752,10 @@ const $e = [
|
|
|
3737
3752
|
}
|
|
3738
3753
|
},
|
|
3739
3754
|
font: {
|
|
3740
|
-
family:
|
|
3755
|
+
family: qe,
|
|
3741
3756
|
size: 12
|
|
3742
3757
|
}
|
|
3743
|
-
},
|
|
3758
|
+
}, De = [
|
|
3744
3759
|
"background",
|
|
3745
3760
|
"tableHeader",
|
|
3746
3761
|
"tableHeaderBackground",
|
|
@@ -3769,7 +3784,7 @@ function ae(l, n) {
|
|
|
3769
3784
|
for (const p of l)
|
|
3770
3785
|
if (p) {
|
|
3771
3786
|
Array.isArray(p.palette?.series) && (a = [...p.palette.series]);
|
|
3772
|
-
for (const O of
|
|
3787
|
+
for (const O of De) {
|
|
3773
3788
|
const C = p.palette?.[O];
|
|
3774
3789
|
C && (s[O] = { ...s[O], ...C });
|
|
3775
3790
|
}
|
|
@@ -3811,12 +3826,12 @@ function ae(l, n) {
|
|
|
3811
3826
|
drillLink: c ? "#60a5fa" : "#2563eb"
|
|
3812
3827
|
};
|
|
3813
3828
|
}
|
|
3814
|
-
function
|
|
3829
|
+
function Le(l, n, e) {
|
|
3815
3830
|
const t = n ?? l ?? "light";
|
|
3816
3831
|
return t === "auto" ? e ? "dark" : "light" : t;
|
|
3817
3832
|
}
|
|
3818
3833
|
const te = G(void 0);
|
|
3819
|
-
function
|
|
3834
|
+
function je({
|
|
3820
3835
|
layers: l,
|
|
3821
3836
|
mode: n,
|
|
3822
3837
|
userChoice: e,
|
|
@@ -3830,7 +3845,7 @@ function Le({
|
|
|
3830
3845
|
);
|
|
3831
3846
|
return /* @__PURE__ */ F(te.Provider, { value: s, children: r });
|
|
3832
3847
|
}
|
|
3833
|
-
function
|
|
3848
|
+
function bt() {
|
|
3834
3849
|
const l = Y(te);
|
|
3835
3850
|
return l || {
|
|
3836
3851
|
theme: ae([], "light"),
|
|
@@ -3842,22 +3857,7 @@ function gt() {
|
|
|
3842
3857
|
allowUserToggle: !1
|
|
3843
3858
|
};
|
|
3844
3859
|
}
|
|
3845
|
-
const
|
|
3846
|
-
defaultOptions: {
|
|
3847
|
-
queries: {
|
|
3848
|
-
retry: !1,
|
|
3849
|
-
throwOnError: !1
|
|
3850
|
-
},
|
|
3851
|
-
mutations: {
|
|
3852
|
-
retry: !1,
|
|
3853
|
-
throwOnError: !1
|
|
3854
|
-
}
|
|
3855
|
-
}
|
|
3856
|
-
}), bt = {
|
|
3857
|
-
staleTime: 300 * 1e3,
|
|
3858
|
-
refetchOnWindowFocus: !1,
|
|
3859
|
-
refetchOnReconnect: !1
|
|
3860
|
-
}, L = "publisher:themeMode";
|
|
3860
|
+
const L = "publisher:themeMode";
|
|
3861
3861
|
function He() {
|
|
3862
3862
|
if (!(typeof window > "u"))
|
|
3863
3863
|
try {
|
|
@@ -3887,25 +3887,25 @@ const re = G(void 0), Ge = (l, n) => {
|
|
|
3887
3887
|
const o = await n?.();
|
|
3888
3888
|
return r.headers.Authorization = o || "", r;
|
|
3889
3889
|
});
|
|
3890
|
-
const a = new
|
|
3890
|
+
const a = new $e({ basePath: e });
|
|
3891
3891
|
return {
|
|
3892
|
-
models: new
|
|
3893
|
-
publisher: new
|
|
3894
|
-
environments: new
|
|
3895
|
-
packages: new
|
|
3896
|
-
dashboards: new
|
|
3897
|
-
dataApps: new
|
|
3898
|
-
notebooks: new
|
|
3899
|
-
connections: new
|
|
3900
|
-
databases: new
|
|
3901
|
-
materializations: new
|
|
3892
|
+
models: new Te(a, e, t),
|
|
3893
|
+
publisher: new Be(a, e, t),
|
|
3894
|
+
environments: new xe(a, e, t),
|
|
3895
|
+
packages: new Me(a, e, t),
|
|
3896
|
+
dashboards: new Oe(a, e, t),
|
|
3897
|
+
dataApps: new ke(a, e, t),
|
|
3898
|
+
notebooks: new Ee(a, e, t),
|
|
3899
|
+
connections: new Pe(a, e, t),
|
|
3900
|
+
databases: new Ce(a, e, t),
|
|
3901
|
+
materializations: new Re(
|
|
3902
3902
|
a,
|
|
3903
3903
|
e,
|
|
3904
3904
|
t
|
|
3905
3905
|
),
|
|
3906
|
-
watchMode: new
|
|
3906
|
+
watchMode: new Qe(a, e, t)
|
|
3907
3907
|
};
|
|
3908
|
-
}, Pt = (l) => /* @__PURE__ */ F(ie, { client:
|
|
3908
|
+
}, Pt = (l) => /* @__PURE__ */ F(ie, { client: ue, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
|
|
3909
3909
|
children: l,
|
|
3910
3910
|
getAccessToken: n,
|
|
3911
3911
|
baseURL: e,
|
|
@@ -3937,7 +3937,7 @@ const re = G(void 0), Ge = (l, n) => {
|
|
|
3937
3937
|
const ne = me((R) => {
|
|
3938
3938
|
U(R), _e(R);
|
|
3939
3939
|
}, []), j = i?.allowUserToggle ?? !0, z = j ? C : void 0, oe = f(
|
|
3940
|
-
() =>
|
|
3940
|
+
() => Le(
|
|
3941
3941
|
i?.defaultMode,
|
|
3942
3942
|
z,
|
|
3943
3943
|
x
|
|
@@ -3952,7 +3952,7 @@ const re = G(void 0), Ge = (l, n) => {
|
|
|
3952
3952
|
instanceTheme: i
|
|
3953
3953
|
};
|
|
3954
3954
|
return /* @__PURE__ */ F(re.Provider, { value: se, children: /* @__PURE__ */ F(
|
|
3955
|
-
|
|
3955
|
+
je,
|
|
3956
3956
|
{
|
|
3957
3957
|
layers: O,
|
|
3958
3958
|
mode: oe,
|
|
@@ -3969,119 +3969,119 @@ const re = G(void 0), Ge = (l, n) => {
|
|
|
3969
3969
|
return l;
|
|
3970
3970
|
};
|
|
3971
3971
|
export {
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3972
|
+
Oe as $,
|
|
3973
|
+
ta as A,
|
|
3974
|
+
Fa as B,
|
|
3975
|
+
na as C,
|
|
3976
|
+
da as D,
|
|
3977
|
+
Qa as E,
|
|
3978
|
+
ma as F,
|
|
3979
|
+
ua as G,
|
|
3980
|
+
$a as H,
|
|
3981
|
+
be as I,
|
|
3982
3982
|
S as J,
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3983
|
+
qa as K,
|
|
3984
|
+
ga as L,
|
|
3985
|
+
Pa as M,
|
|
3986
|
+
Sa as N,
|
|
3987
|
+
Pe as O,
|
|
3988
|
+
ya as P,
|
|
3989
|
+
Ua as Q,
|
|
3990
|
+
Ma as R,
|
|
3991
3991
|
Pt as S,
|
|
3992
|
-
|
|
3993
|
-
|
|
3992
|
+
za as T,
|
|
3993
|
+
ve as U,
|
|
3994
3994
|
X as V,
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3995
|
+
Da as W,
|
|
3996
|
+
La as X,
|
|
3997
|
+
Ve as Y,
|
|
3998
3998
|
D as Z,
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
3999
|
+
ja as _,
|
|
4000
|
+
ra as a,
|
|
4001
|
+
Se as a0,
|
|
4002
4002
|
Z as a1,
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4003
|
+
Ha as a2,
|
|
4004
|
+
ke as a3,
|
|
4005
|
+
ye as a4,
|
|
4006
4006
|
ee as a5,
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4007
|
+
_a as a6,
|
|
4008
|
+
Ce as a7,
|
|
4009
|
+
Ie as a8,
|
|
4010
4010
|
N as a9,
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4011
|
+
at as aA,
|
|
4012
|
+
Qe as aB,
|
|
4013
|
+
$e as aC,
|
|
4014
|
+
bt as aD,
|
|
4015
|
+
aa as aE,
|
|
4016
|
+
rt as aF,
|
|
4017
|
+
ht as aG,
|
|
4018
|
+
ut as aH,
|
|
4019
|
+
gt as aI,
|
|
4020
|
+
B as aJ,
|
|
4021
|
+
it as aK,
|
|
4022
|
+
dt as aL,
|
|
4023
|
+
st as aM,
|
|
4024
|
+
pt as aN,
|
|
4025
|
+
mt as aO,
|
|
4026
|
+
nt as aP,
|
|
4027
|
+
ot as aQ,
|
|
4028
|
+
lt as aR,
|
|
4029
|
+
ct as aS,
|
|
4030
|
+
tt as aT,
|
|
4031
|
+
De as aU,
|
|
4032
4032
|
ae as aV,
|
|
4033
4033
|
W as aW,
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4034
|
+
Le as aX,
|
|
4035
|
+
je as aY,
|
|
4036
|
+
Wa as aa,
|
|
4037
|
+
xe as ab,
|
|
4038
|
+
Ae as ac,
|
|
4039
4039
|
A as ad,
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4040
|
+
Ga as ae,
|
|
4041
|
+
Re as af,
|
|
4042
|
+
Ya as ag,
|
|
4043
|
+
Ne as ah,
|
|
4044
4044
|
E as ai,
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4045
|
+
Ja as aj,
|
|
4046
|
+
Te as ak,
|
|
4047
|
+
Ue as al,
|
|
4048
4048
|
Q as am,
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4049
|
+
Ka as an,
|
|
4050
|
+
Ee as ao,
|
|
4051
|
+
Xa as ap,
|
|
4052
|
+
we as aq,
|
|
4053
4053
|
T as ar,
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4054
|
+
Za as as,
|
|
4055
|
+
Me as at,
|
|
4056
|
+
fe as au,
|
|
4057
4057
|
w as av,
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4058
|
+
et as aw,
|
|
4059
|
+
Be as ax,
|
|
4060
|
+
Fe as ay,
|
|
4061
4061
|
M as az,
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4062
|
+
oa as b,
|
|
4063
|
+
sa as c,
|
|
4064
|
+
la as d,
|
|
4065
|
+
ca as e,
|
|
4066
|
+
ia as f,
|
|
4067
|
+
ue as g,
|
|
4068
|
+
pa as h,
|
|
4069
|
+
ha as i,
|
|
4070
|
+
ba as j,
|
|
4071
|
+
va as k,
|
|
4072
|
+
Va as l,
|
|
4073
|
+
Oa as m,
|
|
4074
|
+
ka as n,
|
|
4075
|
+
Ca as o,
|
|
4076
|
+
Ia as p,
|
|
4077
|
+
xa as q,
|
|
4078
|
+
Aa as r,
|
|
4079
|
+
Ra as s,
|
|
4080
|
+
Na as t,
|
|
4081
4081
|
vt as u,
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4082
|
+
Ta as v,
|
|
4083
|
+
Ea as w,
|
|
4084
|
+
wa as x,
|
|
4085
|
+
fa as y,
|
|
4086
|
+
Ba as z
|
|
4087
4087
|
};
|