react-semaphor 0.1.378 → 0.1.380
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/chunks/{calendar-preferences-dialog-DZe8Nd-4.js → calendar-preferences-dialog-Dsgs8WDv.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-CRvQz4TE.js → calendar-preferences-dialog-iZs8XqyH.js} +1 -1
- package/dist/chunks/dashboard-briefing-launcher-B5vPTl8P.js +80 -0
- package/dist/chunks/{dashboard-briefing-launcher-DURdx5Ox.js → dashboard-briefing-launcher-Coks66cV.js} +2102 -2151
- package/dist/chunks/{dashboard-controls-D5mjF67R.js → dashboard-controls-BfkcnIdy.js} +3 -3
- package/dist/chunks/{dashboard-controls-J71GLAxt.js → dashboard-controls-Dyqye6fh.js} +1 -1
- package/dist/chunks/{dashboard-json-Cv8jXh0X.js → dashboard-json-CV_LnO9x.js} +1 -1
- package/dist/chunks/{dashboard-json-BumvCRuk.js → dashboard-json-DjXi4cI6.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-eYJMy7aw.js → edit-dashboard-visual-DOW1Ap1N.js} +2 -2
- package/dist/chunks/{edit-dashboard-visual-dvhQzG_h.js → edit-dashboard-visual-yinO0yU-.js} +1 -1
- package/dist/chunks/{index-c_0nwsOM.js → index-CkoRCh3g.js} +1 -1
- package/dist/chunks/{index-hhH5F_tQ.js → index-DlprYjr6.js} +3 -3
- package/dist/chunks/{use-create-flow-overlay-state-D9UKBuCA.js → use-create-flow-overlay-state-NsqFPwdB.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-hlsTNh2b.js → use-create-flow-overlay-state-r5JKyXU8.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +1 -1
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +340 -294
- package/dist/index.cjs +1 -1
- package/dist/index.js +53 -52
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/main.d.ts +7 -0
- package/dist/types/types.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunks/dashboard-briefing-launcher-BWyHpn2M.js +0 -111
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as y, a as
|
|
2
|
-
import { m as
|
|
1
|
+
import { t as y, a as z, b as M, c as Q, d as J, e as Y, f as F, g as H, n as P, h as N, i as I } from "../chunks/validation-BM3-ShHV.js";
|
|
2
|
+
import { m as Je, j as Ye, k as Fe, l as He, v as We } from "../chunks/validation-BM3-ShHV.js";
|
|
3
3
|
import { j as W } from "../chunks/index-CuHybtft.js";
|
|
4
|
-
import { createContext as X, useContext as G, useMemo as m, useState as
|
|
4
|
+
import { createContext as X, useContext as G, useMemo as m, useState as K, useCallback as R, useEffect as L, useRef as T } from "react";
|
|
5
5
|
import { jsx as Z } from "react/jsx-runtime";
|
|
6
6
|
import { c as ee } from "../chunks/validators-CtNmgsvG.js";
|
|
7
7
|
import "../chunks/catalog-field-grounding-BK4BX8sZ.js";
|
|
@@ -22,53 +22,53 @@ const te = [
|
|
|
22
22
|
"largestNegativeDrivers",
|
|
23
23
|
"largestPositiveDrivers"
|
|
24
24
|
];
|
|
25
|
-
function
|
|
25
|
+
function U(e) {
|
|
26
26
|
if (!e)
|
|
27
27
|
return {};
|
|
28
|
-
const t = se(e.executionResult),
|
|
28
|
+
const t = se(e.executionResult), r = ne(e, t), n = ie(r);
|
|
29
29
|
return {
|
|
30
30
|
...e,
|
|
31
|
-
...Object.keys(
|
|
32
|
-
...
|
|
33
|
-
columns:
|
|
34
|
-
records:
|
|
35
|
-
rowCount:
|
|
31
|
+
...Object.keys(r).length ? { resultSets: r } : {},
|
|
32
|
+
...n ? {
|
|
33
|
+
columns: n.columns,
|
|
34
|
+
records: n.records,
|
|
35
|
+
rowCount: n.rowCount
|
|
36
36
|
} : {}
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function ne(e, t) {
|
|
40
|
-
const
|
|
40
|
+
const r = oe(e.resultSets);
|
|
41
41
|
for (const i of te) {
|
|
42
|
-
if (
|
|
43
|
-
|
|
42
|
+
if (r[i]) {
|
|
43
|
+
r[i] = V(r[i]);
|
|
44
44
|
continue;
|
|
45
45
|
}
|
|
46
46
|
const u = ae(e[i]);
|
|
47
47
|
if (!u.length)
|
|
48
48
|
continue;
|
|
49
49
|
const s = t.length ? t : ce(u);
|
|
50
|
-
|
|
51
|
-
records:
|
|
50
|
+
r[i] = {
|
|
51
|
+
records: O(u, s),
|
|
52
52
|
columns: s,
|
|
53
53
|
rowCount: u.length
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
const
|
|
57
|
-
return
|
|
56
|
+
const n = ue(e.executionResult);
|
|
57
|
+
return n && n.records.length > 0 && !r.records && (r.records = n), r;
|
|
58
58
|
}
|
|
59
59
|
function oe(e) {
|
|
60
60
|
return Object.fromEntries(
|
|
61
|
-
Object.entries(e || {}).map(([t,
|
|
61
|
+
Object.entries(e || {}).map(([t, r]) => [
|
|
62
62
|
t,
|
|
63
|
-
|
|
63
|
+
V(r)
|
|
64
64
|
])
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function V(e) {
|
|
68
68
|
var t;
|
|
69
69
|
return {
|
|
70
70
|
...e,
|
|
71
|
-
records:
|
|
71
|
+
records: O(
|
|
72
72
|
e.records || [],
|
|
73
73
|
e.columns || []
|
|
74
74
|
),
|
|
@@ -77,16 +77,16 @@ function U(e) {
|
|
|
77
77
|
}
|
|
78
78
|
function ie(e) {
|
|
79
79
|
var t;
|
|
80
|
-
for (const
|
|
81
|
-
if ((t = e[
|
|
82
|
-
return e[
|
|
83
|
-
return Object.values(e).find((
|
|
80
|
+
for (const r of re)
|
|
81
|
+
if ((t = e[r]) != null && t.records.length)
|
|
82
|
+
return e[r];
|
|
83
|
+
return Object.values(e).find((r) => r.records.length) || Object.values(e)[0];
|
|
84
84
|
}
|
|
85
85
|
function ue(e) {
|
|
86
86
|
const t = e == null ? void 0 : e.result;
|
|
87
87
|
if (!(!t || t.kind !== "records" && t.kind !== "sql"))
|
|
88
88
|
return {
|
|
89
|
-
records:
|
|
89
|
+
records: O(t.records, t.columns),
|
|
90
90
|
columns: t.columns,
|
|
91
91
|
rowCount: t.rowCount ?? t.records.length
|
|
92
92
|
};
|
|
@@ -100,45 +100,45 @@ function ae(e) {
|
|
|
100
100
|
(t) => !!(t && typeof t == "object" && !Array.isArray(t))
|
|
101
101
|
) : [];
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
return t.length ? e.map((
|
|
105
|
-
const
|
|
103
|
+
function O(e, t) {
|
|
104
|
+
return t.length ? e.map((r) => {
|
|
105
|
+
const n = {};
|
|
106
106
|
return t.forEach((i, u) => {
|
|
107
|
-
const s = le(
|
|
107
|
+
const s = le(r, {
|
|
108
108
|
name: i.key,
|
|
109
109
|
label: i.label,
|
|
110
|
-
fallbackNames: [i.name, Object.keys(
|
|
110
|
+
fallbackNames: [i.name, Object.keys(r)[u]]
|
|
111
111
|
});
|
|
112
|
-
s !== void 0 && (
|
|
113
|
-
}), Object.keys(
|
|
112
|
+
s !== void 0 && (n[i.key] = s);
|
|
113
|
+
}), Object.keys(n).length ? n : r;
|
|
114
114
|
}) : e;
|
|
115
115
|
}
|
|
116
116
|
function ce(e) {
|
|
117
117
|
return Array.from(
|
|
118
|
-
new Set(e.flatMap((
|
|
119
|
-
).map((
|
|
120
|
-
key:
|
|
121
|
-
name:
|
|
122
|
-
label:
|
|
118
|
+
new Set(e.flatMap((r) => Object.keys(r)))
|
|
119
|
+
).map((r) => ({
|
|
120
|
+
key: r,
|
|
121
|
+
name: r,
|
|
122
|
+
label: r
|
|
123
123
|
}));
|
|
124
124
|
}
|
|
125
125
|
function le(e, t) {
|
|
126
|
-
const
|
|
126
|
+
const r = [
|
|
127
127
|
t.name,
|
|
128
128
|
t.label,
|
|
129
129
|
...t.fallbackNames || []
|
|
130
|
-
].filter((
|
|
131
|
-
for (const
|
|
132
|
-
if (Object.prototype.hasOwnProperty.call(e,
|
|
133
|
-
return e[
|
|
130
|
+
].filter((n) => !!n);
|
|
131
|
+
for (const n of r)
|
|
132
|
+
if (Object.prototype.hasOwnProperty.call(e, n))
|
|
133
|
+
return e[n];
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Pe(e) {
|
|
136
136
|
return e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Ne(e) {
|
|
139
139
|
return e;
|
|
140
140
|
}
|
|
141
|
-
const
|
|
141
|
+
const Le = {
|
|
142
142
|
filter(e) {
|
|
143
143
|
return {
|
|
144
144
|
...e,
|
|
@@ -204,11 +204,11 @@ const je = {
|
|
|
204
204
|
};
|
|
205
205
|
function de() {
|
|
206
206
|
return {
|
|
207
|
-
executeAnalysis: (e, t,
|
|
207
|
+
executeAnalysis: (e, t, r) => h(
|
|
208
208
|
e,
|
|
209
209
|
t,
|
|
210
|
-
|
|
211
|
-
).then(
|
|
210
|
+
r ?? {}
|
|
211
|
+
).then(U),
|
|
212
212
|
executeMetric: (e, t) => h(e, t),
|
|
213
213
|
executeRecords: (e, t) => h(e, t),
|
|
214
214
|
executeInputOptions: (e, t) => h(e, t),
|
|
@@ -216,31 +216,77 @@ function de() {
|
|
|
216
216
|
executeMatrix: (e, t) => h(e, t)
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
|
-
async function h(e, t,
|
|
219
|
+
async function h(e, t, r) {
|
|
220
220
|
if (!t.token)
|
|
221
221
|
throw new Error(
|
|
222
222
|
"SemaphorDataAppProvider needs a token to execute queries."
|
|
223
223
|
);
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
224
|
+
const n = ye(t), i = fe(e, n);
|
|
225
|
+
let u;
|
|
226
|
+
try {
|
|
227
|
+
u = await fetch(n, {
|
|
228
|
+
method: "POST",
|
|
229
|
+
headers: {
|
|
230
|
+
"Content-Type": "application/json",
|
|
231
|
+
Authorization: `Bearer ${t.token}`
|
|
232
|
+
},
|
|
233
|
+
body: JSON.stringify({
|
|
234
|
+
intent: e,
|
|
235
|
+
activeInputs: t.activeInputs,
|
|
236
|
+
...r ? { analysisOptions: r } : {},
|
|
237
|
+
resultShape: e.kind
|
|
238
|
+
})
|
|
239
|
+
});
|
|
240
|
+
} catch (l) {
|
|
238
241
|
throw new Error(
|
|
239
|
-
i
|
|
242
|
+
`${i}: ${l instanceof Error ? l.message : String(l)}`
|
|
240
243
|
);
|
|
241
|
-
|
|
244
|
+
}
|
|
245
|
+
const s = await he(u);
|
|
246
|
+
if (!u.ok || s.error)
|
|
247
|
+
throw new Error(
|
|
248
|
+
`${i}: ${s.error || `Semaphor Data App execution failed with status ${u.status}.`}`
|
|
249
|
+
);
|
|
250
|
+
return s;
|
|
251
|
+
}
|
|
252
|
+
function fe(e, t) {
|
|
253
|
+
return [
|
|
254
|
+
`Semaphor ${e.kind} query`,
|
|
255
|
+
e.id ? `id=${e.id}` : void 0,
|
|
256
|
+
e.label ? `label=${e.label}` : void 0,
|
|
257
|
+
pe(e),
|
|
258
|
+
`endpoint=${me(t)}`
|
|
259
|
+
].filter((r) => !!r).join(" ");
|
|
260
|
+
}
|
|
261
|
+
function pe(e) {
|
|
262
|
+
const t = "source" in e ? e.source : void 0;
|
|
263
|
+
if (!(!t || typeof t != "object")) {
|
|
264
|
+
if (t.kind === "semantic")
|
|
265
|
+
return `source=${[
|
|
266
|
+
t.domainId,
|
|
267
|
+
t.datasetId || t.datasetName
|
|
268
|
+
].filter(Boolean).join("/")}`;
|
|
269
|
+
if (t.kind === "physical")
|
|
270
|
+
return `source=${[
|
|
271
|
+
t.connectionId,
|
|
272
|
+
t.databaseName,
|
|
273
|
+
t.schemaName,
|
|
274
|
+
t.tableName
|
|
275
|
+
].filter(Boolean).join("/")}`;
|
|
276
|
+
if (t.kind === "sql")
|
|
277
|
+
return t.connectionId ? `source=${t.connectionId}` : void 0;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
function me(e) {
|
|
281
|
+
if (!e)
|
|
282
|
+
return "/api/v1/data-app/execute";
|
|
283
|
+
try {
|
|
284
|
+
return new URL(e, "http://localhost").pathname;
|
|
285
|
+
} catch {
|
|
286
|
+
return e;
|
|
287
|
+
}
|
|
242
288
|
}
|
|
243
|
-
async function
|
|
289
|
+
async function he(e) {
|
|
244
290
|
const t = await e.text().catch(() => "");
|
|
245
291
|
if (!t.trim())
|
|
246
292
|
return e.ok ? {
|
|
@@ -253,20 +299,20 @@ async function fe(e) {
|
|
|
253
299
|
error: "Semaphor Data App execution returned invalid JSON.",
|
|
254
300
|
details: t
|
|
255
301
|
} : {
|
|
256
|
-
error:
|
|
302
|
+
error: ve(e, t),
|
|
257
303
|
details: t
|
|
258
304
|
};
|
|
259
305
|
}
|
|
260
306
|
}
|
|
261
|
-
function
|
|
262
|
-
const
|
|
263
|
-
return
|
|
307
|
+
function ve(e, t) {
|
|
308
|
+
const r = e.statusText ? ` ${e.statusText}` : "", n = t.replace(/\s+/g, " ").trim();
|
|
309
|
+
return n ? `Semaphor Data App execution failed with status ${e.status}${r}: ${n.slice(0, 240)}` : `Semaphor Data App execution failed with status ${e.status}${r}.`;
|
|
264
310
|
}
|
|
265
|
-
function
|
|
266
|
-
const t =
|
|
311
|
+
function ye(e) {
|
|
312
|
+
const t = qe(e).replace(/\/+$/, "");
|
|
267
313
|
return t ? t.endsWith("/api") ? `${t}/v1/data-app/execute` : `${t}/api/v1/data-app/execute` : "/api/v1/data-app/execute";
|
|
268
314
|
}
|
|
269
|
-
function
|
|
315
|
+
function qe(e) {
|
|
270
316
|
if (e.apiBaseUrl)
|
|
271
317
|
return e.apiBaseUrl;
|
|
272
318
|
if (!e.token)
|
|
@@ -277,22 +323,22 @@ function he(e) {
|
|
|
277
323
|
return "";
|
|
278
324
|
}
|
|
279
325
|
}
|
|
280
|
-
const
|
|
281
|
-
function
|
|
326
|
+
const B = X({});
|
|
327
|
+
function Se() {
|
|
282
328
|
if (!(typeof window > "u"))
|
|
283
329
|
return window.__SEMAPHOR_DATA_APP_RUNTIME__;
|
|
284
330
|
}
|
|
285
|
-
function
|
|
286
|
-
return G(
|
|
331
|
+
function Ae() {
|
|
332
|
+
return G(B);
|
|
287
333
|
}
|
|
288
|
-
function
|
|
334
|
+
function Ue({
|
|
289
335
|
token: e,
|
|
290
336
|
apiBaseUrl: t,
|
|
291
|
-
executor:
|
|
292
|
-
children:
|
|
337
|
+
executor: r,
|
|
338
|
+
children: n
|
|
293
339
|
}) {
|
|
294
340
|
var o;
|
|
295
|
-
const i =
|
|
341
|
+
const i = Se(), u = ((o = i == null ? void 0 : i.authToken) == null ? void 0 : o.accessToken) || e, s = (i == null ? void 0 : i.dataApiBaseUrl) || (i == null ? void 0 : i.apiBaseUrl) || t, l = m(() => de(), []), a = r || l, c = m(
|
|
296
342
|
() => ({
|
|
297
343
|
token: u,
|
|
298
344
|
apiBaseUrl: s,
|
|
@@ -300,170 +346,170 @@ function Ve({
|
|
|
300
346
|
}),
|
|
301
347
|
[s, a, u]
|
|
302
348
|
);
|
|
303
|
-
return /* @__PURE__ */ Z(
|
|
349
|
+
return /* @__PURE__ */ Z(B.Provider, { value: c, children: n });
|
|
304
350
|
}
|
|
305
|
-
const k = { value: null },
|
|
306
|
-
function
|
|
307
|
-
const t = y(e.inputs),
|
|
351
|
+
const k = { value: null }, x = {}, ge = { records: [] }, D = { options: [] }, Ie = { records: [] }, E = {};
|
|
352
|
+
function ke(e) {
|
|
353
|
+
const t = y(e.inputs), r = Y(e);
|
|
308
354
|
try {
|
|
309
|
-
const
|
|
355
|
+
const n = F(e), i = v(n);
|
|
310
356
|
return i ? {
|
|
311
357
|
error: i,
|
|
312
358
|
activeInputs: t,
|
|
313
|
-
analysisOptions:
|
|
314
|
-
queryKey:
|
|
359
|
+
analysisOptions: r,
|
|
360
|
+
queryKey: f(
|
|
315
361
|
void 0,
|
|
316
362
|
t,
|
|
317
363
|
i,
|
|
318
|
-
|
|
364
|
+
r
|
|
319
365
|
),
|
|
320
|
-
idleData:
|
|
366
|
+
idleData: x
|
|
321
367
|
} : {
|
|
322
|
-
intent:
|
|
368
|
+
intent: n,
|
|
323
369
|
error: null,
|
|
324
370
|
activeInputs: t,
|
|
325
|
-
analysisOptions:
|
|
326
|
-
queryKey:
|
|
327
|
-
idleData:
|
|
371
|
+
analysisOptions: r,
|
|
372
|
+
queryKey: f(n, t, void 0, r),
|
|
373
|
+
idleData: x
|
|
328
374
|
};
|
|
329
|
-
} catch (
|
|
330
|
-
const i = p(
|
|
375
|
+
} catch (n) {
|
|
376
|
+
const i = p(n);
|
|
331
377
|
return {
|
|
332
378
|
error: i,
|
|
333
379
|
activeInputs: t,
|
|
334
|
-
analysisOptions:
|
|
335
|
-
queryKey:
|
|
380
|
+
analysisOptions: r,
|
|
381
|
+
queryKey: f(
|
|
336
382
|
void 0,
|
|
337
383
|
t,
|
|
338
384
|
i,
|
|
339
|
-
|
|
385
|
+
r
|
|
340
386
|
),
|
|
341
|
-
idleData:
|
|
387
|
+
idleData: x
|
|
342
388
|
};
|
|
343
389
|
}
|
|
344
390
|
}
|
|
345
|
-
function
|
|
391
|
+
function xe(e) {
|
|
346
392
|
const t = y(e.inputs);
|
|
347
393
|
try {
|
|
348
|
-
const
|
|
349
|
-
return
|
|
350
|
-
error:
|
|
394
|
+
const r = H(e), n = v(r);
|
|
395
|
+
return n ? {
|
|
396
|
+
error: n,
|
|
351
397
|
activeInputs: t,
|
|
352
|
-
queryKey:
|
|
398
|
+
queryKey: f(void 0, t, n),
|
|
353
399
|
idleData: k
|
|
354
400
|
} : {
|
|
355
|
-
intent:
|
|
401
|
+
intent: r,
|
|
356
402
|
error: null,
|
|
357
403
|
activeInputs: t,
|
|
358
|
-
queryKey:
|
|
404
|
+
queryKey: f(r, t),
|
|
359
405
|
idleData: k
|
|
360
406
|
};
|
|
361
|
-
} catch (
|
|
362
|
-
const
|
|
407
|
+
} catch (r) {
|
|
408
|
+
const n = p(r);
|
|
363
409
|
return {
|
|
364
|
-
error:
|
|
410
|
+
error: n,
|
|
365
411
|
activeInputs: t,
|
|
366
|
-
queryKey:
|
|
412
|
+
queryKey: f(void 0, t, n),
|
|
367
413
|
idleData: k
|
|
368
414
|
};
|
|
369
415
|
}
|
|
370
416
|
}
|
|
371
|
-
function
|
|
372
|
-
const t = y(e.inputs),
|
|
417
|
+
function De(e) {
|
|
418
|
+
const t = y(e.inputs), r = ge;
|
|
373
419
|
try {
|
|
374
|
-
const
|
|
420
|
+
const n = J(e), i = v(n);
|
|
375
421
|
return i ? {
|
|
376
422
|
error: i,
|
|
377
423
|
activeInputs: t,
|
|
378
|
-
queryKey:
|
|
379
|
-
idleData:
|
|
424
|
+
queryKey: f(void 0, t, i),
|
|
425
|
+
idleData: r
|
|
380
426
|
} : {
|
|
381
|
-
intent:
|
|
427
|
+
intent: n,
|
|
382
428
|
error: null,
|
|
383
429
|
activeInputs: t,
|
|
384
|
-
queryKey:
|
|
385
|
-
idleData:
|
|
430
|
+
queryKey: f(n, t),
|
|
431
|
+
idleData: r
|
|
386
432
|
};
|
|
387
|
-
} catch (
|
|
388
|
-
const i = p(
|
|
433
|
+
} catch (n) {
|
|
434
|
+
const i = p(n);
|
|
389
435
|
return {
|
|
390
436
|
error: i,
|
|
391
437
|
activeInputs: t,
|
|
392
|
-
queryKey:
|
|
393
|
-
idleData:
|
|
438
|
+
queryKey: f(void 0, t, i),
|
|
439
|
+
idleData: r
|
|
394
440
|
};
|
|
395
441
|
}
|
|
396
442
|
}
|
|
397
|
-
function
|
|
443
|
+
function Ee(e) {
|
|
398
444
|
try {
|
|
399
|
-
const t = Q(e),
|
|
400
|
-
return
|
|
401
|
-
error:
|
|
402
|
-
queryKey:
|
|
445
|
+
const t = Q(e), r = v(t);
|
|
446
|
+
return r ? {
|
|
447
|
+
error: r,
|
|
448
|
+
queryKey: f(void 0, void 0, r),
|
|
403
449
|
idleData: D
|
|
404
450
|
} : {
|
|
405
451
|
intent: t,
|
|
406
452
|
error: null,
|
|
407
|
-
queryKey:
|
|
453
|
+
queryKey: f(t),
|
|
408
454
|
idleData: D
|
|
409
455
|
};
|
|
410
456
|
} catch (t) {
|
|
411
|
-
const
|
|
457
|
+
const r = p(t);
|
|
412
458
|
return {
|
|
413
|
-
error:
|
|
414
|
-
queryKey:
|
|
459
|
+
error: r,
|
|
460
|
+
queryKey: f(void 0, void 0, r),
|
|
415
461
|
idleData: D
|
|
416
462
|
};
|
|
417
463
|
}
|
|
418
464
|
}
|
|
419
|
-
function
|
|
420
|
-
const t = y(e.inputs),
|
|
465
|
+
function be(e) {
|
|
466
|
+
const t = y(e.inputs), r = Ie;
|
|
421
467
|
try {
|
|
422
|
-
const
|
|
468
|
+
const n = M(e), i = v(n);
|
|
423
469
|
return i ? {
|
|
424
470
|
error: i,
|
|
425
471
|
activeInputs: t,
|
|
426
|
-
queryKey:
|
|
427
|
-
idleData:
|
|
472
|
+
queryKey: f(void 0, t, i),
|
|
473
|
+
idleData: r
|
|
428
474
|
} : {
|
|
429
|
-
intent:
|
|
475
|
+
intent: n,
|
|
430
476
|
error: null,
|
|
431
477
|
activeInputs: t,
|
|
432
|
-
queryKey:
|
|
433
|
-
idleData:
|
|
478
|
+
queryKey: f(n, t),
|
|
479
|
+
idleData: r
|
|
434
480
|
};
|
|
435
|
-
} catch (
|
|
436
|
-
const i = p(
|
|
481
|
+
} catch (n) {
|
|
482
|
+
const i = p(n);
|
|
437
483
|
return {
|
|
438
484
|
error: i,
|
|
439
485
|
activeInputs: t,
|
|
440
|
-
queryKey:
|
|
441
|
-
idleData:
|
|
486
|
+
queryKey: f(void 0, t, i),
|
|
487
|
+
idleData: r
|
|
442
488
|
};
|
|
443
489
|
}
|
|
444
490
|
}
|
|
445
|
-
function
|
|
491
|
+
function Re(e) {
|
|
446
492
|
const t = y(e.inputs);
|
|
447
493
|
try {
|
|
448
|
-
const
|
|
449
|
-
return
|
|
450
|
-
error:
|
|
494
|
+
const r = z(e), n = v(r);
|
|
495
|
+
return n ? {
|
|
496
|
+
error: n,
|
|
451
497
|
activeInputs: t,
|
|
452
|
-
queryKey:
|
|
498
|
+
queryKey: f(void 0, t, n),
|
|
453
499
|
idleData: E
|
|
454
500
|
} : {
|
|
455
|
-
intent:
|
|
501
|
+
intent: r,
|
|
456
502
|
error: null,
|
|
457
503
|
activeInputs: t,
|
|
458
|
-
queryKey:
|
|
504
|
+
queryKey: f(r, t),
|
|
459
505
|
idleData: E
|
|
460
506
|
};
|
|
461
|
-
} catch (
|
|
462
|
-
const
|
|
507
|
+
} catch (r) {
|
|
508
|
+
const n = p(r);
|
|
463
509
|
return {
|
|
464
|
-
error:
|
|
510
|
+
error: n,
|
|
465
511
|
activeInputs: t,
|
|
466
|
-
queryKey:
|
|
512
|
+
queryKey: f(void 0, t, n),
|
|
467
513
|
idleData: E
|
|
468
514
|
};
|
|
469
515
|
}
|
|
@@ -475,33 +521,33 @@ function v(e) {
|
|
|
475
521
|
const t = ee(e);
|
|
476
522
|
if (t.ok)
|
|
477
523
|
return null;
|
|
478
|
-
const
|
|
479
|
-
(
|
|
524
|
+
const r = t.errors.map(
|
|
525
|
+
(n) => n.path ? `${n.code} at ${n.path}: ${n.message}` : `${n.code}: ${n.message}`
|
|
480
526
|
).join("; ");
|
|
481
|
-
return new Error(`Invalid Semaphor analytics intent. ${
|
|
527
|
+
return new Error(`Invalid Semaphor analytics intent. ${r}`);
|
|
482
528
|
}
|
|
483
|
-
function
|
|
529
|
+
function f(e, t, r, n) {
|
|
484
530
|
return JSON.stringify({
|
|
485
531
|
intent: e,
|
|
486
532
|
activeInputs: t,
|
|
487
|
-
analysisOptions:
|
|
488
|
-
error:
|
|
533
|
+
analysisOptions: n,
|
|
534
|
+
error: r == null ? void 0 : r.message
|
|
489
535
|
});
|
|
490
536
|
}
|
|
491
|
-
function
|
|
492
|
-
const [t,
|
|
493
|
-
() =>
|
|
537
|
+
function Ve(e) {
|
|
538
|
+
const [t, r] = K(e.defaultValue), n = Object.prototype.hasOwnProperty.call(e, "value"), i = n ? e.value : t, u = m(
|
|
539
|
+
() => P(e.options),
|
|
494
540
|
[e.options]
|
|
495
|
-
), s =
|
|
541
|
+
), s = R(
|
|
496
542
|
(a) => {
|
|
497
543
|
var o;
|
|
498
544
|
const c = a;
|
|
499
|
-
(o = e.onValueChange) == null || o.call(e, c),
|
|
545
|
+
(o = e.onValueChange) == null || o.call(e, c), n || r(c);
|
|
500
546
|
},
|
|
501
|
-
[
|
|
502
|
-
),
|
|
547
|
+
[n, e]
|
|
548
|
+
), l = R(() => s(void 0), [s]);
|
|
503
549
|
return m(() => {
|
|
504
|
-
const a =
|
|
550
|
+
const a = N(e);
|
|
505
551
|
return {
|
|
506
552
|
id: e.id,
|
|
507
553
|
kind: e.kind,
|
|
@@ -511,169 +557,169 @@ function $e(e) {
|
|
|
511
557
|
controlRole: e.kind === "control" ? e.role : void 0,
|
|
512
558
|
value: i,
|
|
513
559
|
options: u,
|
|
514
|
-
isActive:
|
|
560
|
+
isActive: I(i),
|
|
515
561
|
setValue: s,
|
|
516
|
-
clear:
|
|
562
|
+
clear: l,
|
|
517
563
|
toAnalyticsInput: () => ({
|
|
518
564
|
inputId: a.inputId,
|
|
519
565
|
field: a.field,
|
|
520
566
|
kind: e.kind,
|
|
521
567
|
label: e.label,
|
|
522
568
|
value: i,
|
|
523
|
-
isActive:
|
|
569
|
+
isActive: I(i),
|
|
524
570
|
operator: a.operator,
|
|
525
571
|
controlRole: e.kind === "control" ? e.role : void 0
|
|
526
572
|
})
|
|
527
573
|
};
|
|
528
|
-
}, [
|
|
574
|
+
}, [l, u, s, e, i]);
|
|
529
575
|
}
|
|
530
|
-
function
|
|
531
|
-
const [t,
|
|
576
|
+
function Be(e) {
|
|
577
|
+
const [t, r] = K(() => Oe(e));
|
|
532
578
|
return L(() => {
|
|
533
|
-
|
|
534
|
-
let i =
|
|
579
|
+
r((n) => {
|
|
580
|
+
let i = n;
|
|
535
581
|
for (const u of e)
|
|
536
582
|
!Object.prototype.hasOwnProperty.call(i, u.id) && u.defaultValue !== void 0 && (i = { ...i, [u.id]: u.defaultValue });
|
|
537
583
|
return i;
|
|
538
584
|
});
|
|
539
585
|
}, [e]), m(
|
|
540
|
-
() => e.map((
|
|
586
|
+
() => e.map((n) => {
|
|
541
587
|
const i = Object.prototype.hasOwnProperty.call(
|
|
542
|
-
|
|
588
|
+
n,
|
|
543
589
|
"value"
|
|
544
|
-
), u = i ?
|
|
545
|
-
var
|
|
546
|
-
(
|
|
590
|
+
), u = i ? n.value : t[n.id], s = P(n.options), l = (o) => {
|
|
591
|
+
var d;
|
|
592
|
+
(d = n.onValueChange) == null || d.call(n, o), i || r((q) => ({
|
|
547
593
|
...q,
|
|
548
|
-
[
|
|
594
|
+
[n.id]: o
|
|
549
595
|
}));
|
|
550
|
-
}, a = () =>
|
|
596
|
+
}, a = () => l(void 0), c = N(n);
|
|
551
597
|
return {
|
|
552
|
-
id:
|
|
553
|
-
kind:
|
|
554
|
-
label:
|
|
598
|
+
id: n.id,
|
|
599
|
+
kind: n.kind,
|
|
600
|
+
label: n.label,
|
|
555
601
|
field: c.field,
|
|
556
602
|
operator: c.operator,
|
|
557
|
-
controlRole:
|
|
603
|
+
controlRole: n.kind === "control" ? n.role : void 0,
|
|
558
604
|
value: u,
|
|
559
605
|
options: s,
|
|
560
|
-
isActive:
|
|
561
|
-
setValue:
|
|
606
|
+
isActive: I(u),
|
|
607
|
+
setValue: l,
|
|
562
608
|
clear: a,
|
|
563
609
|
toAnalyticsInput: () => ({
|
|
564
610
|
inputId: c.inputId,
|
|
565
611
|
field: c.field,
|
|
566
|
-
kind:
|
|
567
|
-
label:
|
|
612
|
+
kind: n.kind,
|
|
613
|
+
label: n.label,
|
|
568
614
|
value: u,
|
|
569
|
-
isActive:
|
|
615
|
+
isActive: I(u),
|
|
570
616
|
operator: c.operator,
|
|
571
|
-
controlRole:
|
|
617
|
+
controlRole: n.kind === "control" ? n.role : void 0
|
|
572
618
|
})
|
|
573
619
|
};
|
|
574
620
|
}),
|
|
575
621
|
[e, t]
|
|
576
622
|
);
|
|
577
623
|
}
|
|
578
|
-
function
|
|
579
|
-
const
|
|
624
|
+
function ze(e, t = {}) {
|
|
625
|
+
const r = m(
|
|
580
626
|
() => t.inputs ? {
|
|
581
627
|
...e,
|
|
582
628
|
inputs: t.inputs
|
|
583
629
|
} : e,
|
|
584
630
|
[t.inputs, e]
|
|
585
|
-
),
|
|
586
|
-
switch (
|
|
631
|
+
), n = m(() => {
|
|
632
|
+
switch (r.queryKind) {
|
|
587
633
|
case "metric":
|
|
588
634
|
return {
|
|
589
|
-
queryKind:
|
|
590
|
-
request:
|
|
635
|
+
queryKind: r.queryKind,
|
|
636
|
+
request: xe(r)
|
|
591
637
|
};
|
|
592
638
|
case "analysis":
|
|
593
639
|
return {
|
|
594
|
-
queryKind:
|
|
595
|
-
request:
|
|
640
|
+
queryKind: r.queryKind,
|
|
641
|
+
request: ke(r)
|
|
596
642
|
};
|
|
597
643
|
case "records":
|
|
598
644
|
return {
|
|
599
|
-
queryKind:
|
|
600
|
-
request:
|
|
645
|
+
queryKind: r.queryKind,
|
|
646
|
+
request: De(r)
|
|
601
647
|
};
|
|
602
648
|
case "inputOptions":
|
|
603
649
|
return {
|
|
604
|
-
queryKind:
|
|
605
|
-
request:
|
|
650
|
+
queryKind: r.queryKind,
|
|
651
|
+
request: Ee(r)
|
|
606
652
|
};
|
|
607
653
|
case "sql":
|
|
608
654
|
return {
|
|
609
|
-
queryKind:
|
|
610
|
-
request:
|
|
655
|
+
queryKind: r.queryKind,
|
|
656
|
+
request: be(r)
|
|
611
657
|
};
|
|
612
658
|
case "matrix":
|
|
613
659
|
return {
|
|
614
|
-
queryKind:
|
|
615
|
-
request:
|
|
660
|
+
queryKind: r.queryKind,
|
|
661
|
+
request: Re(r)
|
|
616
662
|
};
|
|
617
663
|
default:
|
|
618
|
-
return
|
|
664
|
+
return b(r);
|
|
619
665
|
}
|
|
620
|
-
}, [
|
|
666
|
+
}, [r]), i = R(
|
|
621
667
|
(o) => {
|
|
622
|
-
var q, S, w, C,
|
|
623
|
-
const
|
|
624
|
-
if (
|
|
625
|
-
switch (
|
|
668
|
+
var q, S, w, C, $, A, _, g, j;
|
|
669
|
+
const d = n.request;
|
|
670
|
+
if (d.intent)
|
|
671
|
+
switch (n.queryKind) {
|
|
626
672
|
case "metric":
|
|
627
673
|
return (q = o.executor) == null ? void 0 : q.executeMetric(
|
|
628
|
-
|
|
674
|
+
d.intent,
|
|
629
675
|
o
|
|
630
676
|
);
|
|
631
677
|
case "analysis":
|
|
632
678
|
return (w = (S = o.executor) == null ? void 0 : S.executeAnalysis) == null ? void 0 : w.call(
|
|
633
679
|
S,
|
|
634
|
-
|
|
680
|
+
d.intent,
|
|
635
681
|
o,
|
|
636
|
-
|
|
682
|
+
d.analysisOptions
|
|
637
683
|
);
|
|
638
684
|
case "records":
|
|
639
685
|
return (C = o.executor) == null ? void 0 : C.executeRecords(
|
|
640
|
-
|
|
686
|
+
d.intent,
|
|
641
687
|
o
|
|
642
688
|
);
|
|
643
689
|
case "inputOptions":
|
|
644
|
-
return (
|
|
645
|
-
|
|
690
|
+
return ($ = o.executor) == null ? void 0 : $.executeInputOptions(
|
|
691
|
+
d.intent,
|
|
646
692
|
o
|
|
647
693
|
);
|
|
648
694
|
case "sql":
|
|
649
|
-
return (
|
|
695
|
+
return (_ = (A = o.executor) == null ? void 0 : A.executeSql) == null ? void 0 : _.call(
|
|
650
696
|
A,
|
|
651
|
-
|
|
697
|
+
d.intent,
|
|
652
698
|
o
|
|
653
699
|
);
|
|
654
700
|
case "matrix":
|
|
655
|
-
return (
|
|
701
|
+
return (j = (g = o.executor) == null ? void 0 : g.executeMatrix) == null ? void 0 : j.call(
|
|
656
702
|
g,
|
|
657
|
-
|
|
703
|
+
d.intent,
|
|
658
704
|
o
|
|
659
705
|
);
|
|
660
706
|
default:
|
|
661
|
-
return
|
|
707
|
+
return b(n);
|
|
662
708
|
}
|
|
663
709
|
},
|
|
664
|
-
[
|
|
665
|
-
), u =
|
|
666
|
-
|
|
710
|
+
[n]
|
|
711
|
+
), u = Ke(
|
|
712
|
+
n.request.queryKey,
|
|
667
713
|
i,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
), s =
|
|
671
|
-
switch (
|
|
714
|
+
n.request.idleData,
|
|
715
|
+
n.request.activeInputs
|
|
716
|
+
), s = n.request.error ? n.request.idleData : u.data, l = n.request.error ? "error" : u.status, a = !n.request.error && u.status === "loading", c = n.request.error || u.error;
|
|
717
|
+
switch (n.queryKind) {
|
|
672
718
|
case "metric": {
|
|
673
719
|
const o = s;
|
|
674
720
|
return {
|
|
675
|
-
id:
|
|
676
|
-
intent:
|
|
721
|
+
id: r.id,
|
|
722
|
+
intent: n.request.intent,
|
|
677
723
|
value: (o == null ? void 0 : o.value) ?? null,
|
|
678
724
|
metrics: o == null ? void 0 : o.metrics,
|
|
679
725
|
comparisonValue: o == null ? void 0 : o.comparisonValue,
|
|
@@ -681,18 +727,18 @@ function Ne(e, t = {}) {
|
|
|
681
727
|
deltaPercent: o == null ? void 0 : o.deltaPercent,
|
|
682
728
|
records: o == null ? void 0 : o.records,
|
|
683
729
|
executionResult: o == null ? void 0 : o.executionResult,
|
|
684
|
-
status:
|
|
730
|
+
status: l,
|
|
685
731
|
isLoading: a,
|
|
686
732
|
error: c
|
|
687
733
|
};
|
|
688
734
|
}
|
|
689
735
|
case "analysis": {
|
|
690
|
-
const o =
|
|
736
|
+
const o = U(s);
|
|
691
737
|
return {
|
|
692
|
-
id:
|
|
693
|
-
intent:
|
|
738
|
+
id: r.id,
|
|
739
|
+
intent: n.request.intent,
|
|
694
740
|
...o || {},
|
|
695
|
-
status:
|
|
741
|
+
status: l,
|
|
696
742
|
isLoading: a,
|
|
697
743
|
error: c
|
|
698
744
|
};
|
|
@@ -700,14 +746,14 @@ function Ne(e, t = {}) {
|
|
|
700
746
|
case "records": {
|
|
701
747
|
const o = s;
|
|
702
748
|
return {
|
|
703
|
-
id:
|
|
704
|
-
intent:
|
|
749
|
+
id: r.id,
|
|
750
|
+
intent: n.request.intent,
|
|
705
751
|
records: (o == null ? void 0 : o.records) || [],
|
|
706
752
|
columns: o == null ? void 0 : o.columns,
|
|
707
753
|
rowCount: o == null ? void 0 : o.rowCount,
|
|
708
754
|
pagination: o == null ? void 0 : o.pagination,
|
|
709
755
|
executionResult: o == null ? void 0 : o.executionResult,
|
|
710
|
-
status:
|
|
756
|
+
status: l,
|
|
711
757
|
isLoading: a,
|
|
712
758
|
error: c
|
|
713
759
|
};
|
|
@@ -715,11 +761,11 @@ function Ne(e, t = {}) {
|
|
|
715
761
|
case "inputOptions": {
|
|
716
762
|
const o = s;
|
|
717
763
|
return {
|
|
718
|
-
id:
|
|
719
|
-
intent:
|
|
764
|
+
id: r.id,
|
|
765
|
+
intent: n.request.intent,
|
|
720
766
|
options: (o == null ? void 0 : o.options) || [],
|
|
721
767
|
executionResult: o == null ? void 0 : o.executionResult,
|
|
722
|
-
status:
|
|
768
|
+
status: l,
|
|
723
769
|
isLoading: a,
|
|
724
770
|
error: c
|
|
725
771
|
};
|
|
@@ -727,8 +773,8 @@ function Ne(e, t = {}) {
|
|
|
727
773
|
case "sql": {
|
|
728
774
|
const o = s;
|
|
729
775
|
return {
|
|
730
|
-
id:
|
|
731
|
-
intent:
|
|
776
|
+
id: r.id,
|
|
777
|
+
intent: n.request.intent,
|
|
732
778
|
records: (o == null ? void 0 : o.records) || [],
|
|
733
779
|
columns: o == null ? void 0 : o.columns,
|
|
734
780
|
rowCount: o == null ? void 0 : o.rowCount,
|
|
@@ -736,7 +782,7 @@ function Ne(e, t = {}) {
|
|
|
736
782
|
output: o == null ? void 0 : o.output,
|
|
737
783
|
rowLimitExceeded: o == null ? void 0 : o.rowLimitExceeded,
|
|
738
784
|
executionResult: o == null ? void 0 : o.executionResult,
|
|
739
|
-
status:
|
|
785
|
+
status: l,
|
|
740
786
|
isLoading: a,
|
|
741
787
|
error: c
|
|
742
788
|
};
|
|
@@ -744,99 +790,99 @@ function Ne(e, t = {}) {
|
|
|
744
790
|
case "matrix": {
|
|
745
791
|
const o = s;
|
|
746
792
|
return {
|
|
747
|
-
id:
|
|
748
|
-
intent:
|
|
793
|
+
id: r.id,
|
|
794
|
+
intent: n.request.intent,
|
|
749
795
|
matrixResult: o == null ? void 0 : o.matrixResult,
|
|
750
796
|
grid: o == null ? void 0 : o.grid,
|
|
751
797
|
expansion: o == null ? void 0 : o.expansion,
|
|
752
798
|
executionResult: o == null ? void 0 : o.executionResult,
|
|
753
|
-
status:
|
|
799
|
+
status: l,
|
|
754
800
|
isLoading: a,
|
|
755
801
|
error: c
|
|
756
802
|
};
|
|
757
803
|
}
|
|
758
804
|
default:
|
|
759
|
-
return
|
|
805
|
+
return b(n);
|
|
760
806
|
}
|
|
761
807
|
}
|
|
762
|
-
function
|
|
763
|
-
const i =
|
|
808
|
+
function Ke(e, t, r, n) {
|
|
809
|
+
const i = Ae(), u = T(t), s = T(n), [l, a] = K({
|
|
764
810
|
status: "idle",
|
|
765
|
-
data:
|
|
811
|
+
data: r,
|
|
766
812
|
error: null
|
|
767
813
|
});
|
|
768
|
-
return u.current = t, s.current =
|
|
814
|
+
return u.current = t, s.current = n, L(() => {
|
|
769
815
|
let c;
|
|
770
816
|
try {
|
|
771
817
|
c = u.current({
|
|
772
818
|
...i,
|
|
773
819
|
activeInputs: s.current
|
|
774
820
|
});
|
|
775
|
-
} catch (
|
|
821
|
+
} catch (d) {
|
|
776
822
|
a({
|
|
777
823
|
status: "error",
|
|
778
|
-
data:
|
|
779
|
-
error: p(
|
|
824
|
+
data: r,
|
|
825
|
+
error: p(d)
|
|
780
826
|
});
|
|
781
827
|
return;
|
|
782
828
|
}
|
|
783
829
|
if (!c) {
|
|
784
|
-
a({ status: "idle", data:
|
|
830
|
+
a({ status: "idle", data: r, error: null });
|
|
785
831
|
return;
|
|
786
832
|
}
|
|
787
833
|
let o = !1;
|
|
788
|
-
return a((
|
|
834
|
+
return a((d) => ({
|
|
789
835
|
status: "loading",
|
|
790
|
-
data:
|
|
836
|
+
data: d.data,
|
|
791
837
|
error: null
|
|
792
|
-
})), c.then((
|
|
793
|
-
o || a({ status: "success", data:
|
|
794
|
-
}).catch((
|
|
838
|
+
})), c.then((d) => {
|
|
839
|
+
o || a({ status: "success", data: d, error: null });
|
|
840
|
+
}).catch((d) => {
|
|
795
841
|
o || a({
|
|
796
842
|
status: "error",
|
|
797
|
-
data:
|
|
798
|
-
error: p(
|
|
843
|
+
data: r,
|
|
844
|
+
error: p(d)
|
|
799
845
|
});
|
|
800
846
|
}), () => {
|
|
801
847
|
o = !0;
|
|
802
848
|
};
|
|
803
|
-
}, [
|
|
849
|
+
}, [r, e, i]), l;
|
|
804
850
|
}
|
|
805
|
-
function
|
|
851
|
+
function Oe(e) {
|
|
806
852
|
return Object.fromEntries(
|
|
807
853
|
e.filter((t) => t.defaultValue !== void 0).map((t) => [t.id, t.defaultValue])
|
|
808
854
|
);
|
|
809
855
|
}
|
|
810
|
-
function
|
|
856
|
+
function b(e) {
|
|
811
857
|
throw new Error(`Unsupported Semaphor query kind: ${JSON.stringify(e)}`);
|
|
812
858
|
}
|
|
813
859
|
export {
|
|
814
|
-
|
|
815
|
-
|
|
860
|
+
B as SemaphorDataAppContext,
|
|
861
|
+
Ue as SemaphorDataAppProvider,
|
|
816
862
|
de as createSemaphorQueryExecutor,
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
863
|
+
Pe as defineSemaphorDataApp,
|
|
864
|
+
Ne as defineSemaphorInput,
|
|
865
|
+
I as hasSemaphorInputValue,
|
|
866
|
+
U as normalizeSemaphorAnalysisPayload,
|
|
867
|
+
Je as normalizeSemaphorAnalysisQueryOptions,
|
|
868
|
+
P as normalizeSemaphorInputOptions,
|
|
869
|
+
Se as readWindowRuntime,
|
|
870
|
+
Le as semaphor,
|
|
825
871
|
y as toSemaphorActiveInputSnapshots,
|
|
826
872
|
F as toSemaphorAnalysisIntent,
|
|
827
873
|
Y as toSemaphorAnalysisQueryOptions,
|
|
828
|
-
|
|
829
|
-
|
|
874
|
+
Ye as toSemaphorInputBinding,
|
|
875
|
+
Fe as toSemaphorInputBindings,
|
|
830
876
|
Q as toSemaphorInputOptionsIntent,
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
877
|
+
He as toSemaphorInputSnapshots,
|
|
878
|
+
N as toSemaphorInputSpec,
|
|
879
|
+
z as toSemaphorMatrixIntent,
|
|
834
880
|
H as toSemaphorMetricIntent,
|
|
835
881
|
J as toSemaphorRecordsIntent,
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
882
|
+
M as toSemaphorSqlIntent,
|
|
883
|
+
Ae as useSemaphorDataAppRuntime,
|
|
884
|
+
Ve as useSemaphorInput,
|
|
885
|
+
Be as useSemaphorInputs,
|
|
886
|
+
ze as useSemaphorQuery,
|
|
887
|
+
We as validateSemaphorDataAppQuerySpecs
|
|
842
888
|
};
|