react-semaphor 0.1.445 → 0.1.447
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/analytics-protocol/index.js +8 -8
- package/dist/appearance/index.cjs +1 -1
- package/dist/appearance/index.js +1 -1
- package/dist/brand-studio/index.cjs +2 -2
- package/dist/brand-studio/index.js +9 -9
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-DUv3QnMl.js → analyze-result-contract-T-0Ntzys.js} +1 -1
- package/dist/chunks/{braces-BdbUk_r9.js → braces-8TRlDwDw.js} +1 -1
- package/dist/chunks/{braces-BKimshER.cjs → braces-v55uLCAK.cjs} +1 -1
- package/dist/chunks/{catalog-field-grounding-AOGwWu0K.js → catalog-field-grounding-S2jKwKGD.js} +9 -9
- package/dist/chunks/{common-types-DFsDdpH7.js → common-types-B7Jk3Rtj.js} +5 -5
- package/dist/chunks/{dashboard-briefing-launcher-2SLNOaTg.js → dashboard-briefing-launcher-CDjcivK2.js} +192 -191
- package/dist/chunks/dashboard-briefing-launcher-D44Au-Qp.cjs +26 -0
- package/dist/chunks/dashboard-controls-DH3J4L1D.cjs +52 -0
- package/dist/chunks/dashboard-controls-tHwb3g3W.js +2409 -0
- package/dist/chunks/{dashboard-date-comparison-definition-BaYxjLi5.js → dashboard-date-comparison-definition-Ba-clViK.js} +1 -1
- package/dist/chunks/{dashboard-input-contract-BFpERluO.js → dashboard-input-contract-DSt8dGzP.js} +4 -4
- package/dist/chunks/{dashboard-json-BZwq3EcS.js → dashboard-json-Bihrrl5_.js} +11 -11
- package/dist/chunks/dashboard-json-VOXcUBqx.cjs +1 -0
- package/dist/chunks/edit-dashboard-visual-8XtuSSKG.cjs +177 -0
- package/dist/chunks/{edit-dashboard-visual-njLPYip3.js → edit-dashboard-visual-Dsc9mZnc.js} +7113 -7097
- package/dist/chunks/{editor-action-buttons-CBVMFipA.cjs → editor-action-buttons-BFqvBlLw.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-BhLX5Q6m.js → editor-action-buttons-BbVgPOda.js} +41 -41
- package/dist/chunks/{format-types-CZH5w1lo.js → format-types-DZGgYj39.js} +5 -5
- package/dist/chunks/index-BSTyv45D.cjs +1395 -0
- package/dist/chunks/{index-If0wlXGi.js → index-CJdxSyQq.js} +308 -308
- package/dist/chunks/{index-Dpm_VET4.cjs → index-DRlMUglg.cjs} +2 -2
- package/dist/chunks/{dashboard-u61yfU6u.js → index-srGACKDr.js} +148223 -151540
- package/dist/chunks/{layout-grid-D5tYJg1-.js → layout-grid-CiubineE.js} +1 -1
- package/dist/chunks/{layout-grid-3-HWzEwU.cjs → layout-grid-xm8pqtx0.cjs} +1 -1
- package/dist/chunks/{metric-comparison-BJ_Qu1ZF.js → metric-comparison-97zHGEx5.js} +7 -7
- package/dist/chunks/mouse-pointer-2-BZvGk45-.js +19 -0
- package/dist/chunks/mouse-pointer-2-DX4A_XZw.cjs +6 -0
- package/dist/chunks/{palette-DW_l7Jr0.cjs → palette-BN-jYtaK.cjs} +1 -1
- package/dist/chunks/{palette-jqaAcwiQ.js → palette-Cp1hqZtm.js} +1 -1
- package/dist/chunks/{pivot-result-identity-B6QCWOSi.js → pivot-result-identity-CwJWpKI7.js} +3 -3
- package/dist/chunks/{pivot-result-lifecycle-BM3Pl-D1.js → pivot-result-lifecycle-BBabQ_da.js} +27 -27
- package/dist/chunks/{presentation-execution-CGlb7YZ6.js → presentation-execution-BLfPTGX_.js} +10 -10
- package/dist/chunks/{report-preferences-dialog-D_NJu2wU.js → report-preferences-dialog-DZez53xw.js} +6 -6
- package/dist/chunks/report-preferences-dialog-TYTIHpHi.cjs +1 -0
- package/dist/chunks/{report-runtime-context-Qzn11HQe.js → report-runtime-context-bCy3CVzK.js} +1 -1
- package/dist/chunks/{save-4_uMnE6s.cjs → save-3dYRmehL.cjs} +1 -1
- package/dist/chunks/{save-HCJjjzdX.js → save-DgMfP0j8.js} +1 -1
- package/dist/chunks/{search-DHZCro8B.js → search-BHsQIWBV.js} +1 -1
- package/dist/chunks/{search-6ZmeMq55.cjs → search-BqqhaMx9.cjs} +1 -1
- package/dist/chunks/{code-editor-B4gTfvc5.js → switch-Bz2uj3q0.js} +9405 -9330
- package/dist/chunks/switch-rbwGjmad.cjs +138 -0
- package/dist/chunks/{temporal-bucket-authoring-BUZMuVca.js → temporal-bucket-authoring-CgOuakGW.js} +2 -2
- package/dist/chunks/{temporal-bucket-contract-B2bJ1oe4.js → temporal-bucket-contract-_F6vNhhH.js} +3 -3
- package/dist/chunks/{temporal-result-owner-Cb27SSG9.js → temporal-result-owner-6peubmhU.js} +3 -3
- package/dist/chunks/{token-types-DLo91nOf.js → token-types-BHR58aTy.js} +1 -1
- package/dist/chunks/{update-policy-eg59mQqv.js → update-policy-g0rCQ9BM.js} +9 -9
- package/dist/chunks/{validators-wZ2WlNHc.js → validators-Cs74WVie.js} +46 -46
- package/dist/chunks/x-B6ghREd2.cjs +31 -0
- package/dist/chunks/{index-xHCrHprY.js → x-CXDkqdur.js} +59 -59
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +6 -6
- package/dist/data-app-builder/index.cjs +13 -18
- package/dist/data-app-builder/index.js +92 -106
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +6 -6
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +4 -4
- package/dist/format-utils/index.js +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.js +16 -16
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/brand-studio.d.ts +2 -2
- package/dist/types/dashboard.d.ts +3 -2
- package/dist/types/data-app-builder.d.ts +2 -2
- package/dist/types/data-app-sdk.d.ts +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +7 -7
- package/dist/types/main.d.ts +27 -25
- package/dist/types/surfboard.d.ts +3 -2
- package/package.json +1 -2
- package/dist/chunks/code-editor-BYVorgOf.cjs +0 -138
- package/dist/chunks/dashboard-CAiwJW3L.cjs +0 -1397
- package/dist/chunks/dashboard-briefing-launcher-CHwjpUYz.cjs +0 -26
- package/dist/chunks/dashboard-controls-BfL14aqO.js +0 -2238
- package/dist/chunks/dashboard-controls-BgGTg4yw.cjs +0 -36
- package/dist/chunks/dashboard-json-BOv8tCa9.cjs +0 -1
- package/dist/chunks/edit-dashboard-visual-BdVCH0DJ.cjs +0 -182
- package/dist/chunks/index-jSrCwPQz.cjs +0 -31
- package/dist/chunks/report-preferences-dialog-r8QzOSFb.cjs +0 -1
package/dist/chunks/{temporal-bucket-contract-B2bJ1oe4.js → temporal-bucket-contract-_F6vNhhH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as i, T as l, d as u } from "./validators-
|
|
1
|
+
import { t as i, T as l, d as u } from "./validators-Cs74WVie.js";
|
|
2
2
|
function c(e) {
|
|
3
3
|
const r = i.safeParse(e);
|
|
4
4
|
return r.success ? { ok: !0, value: r.data } : {
|
|
@@ -102,7 +102,7 @@ function k(e, r) {
|
|
|
102
102
|
return { ok: !0, value: e };
|
|
103
103
|
}
|
|
104
104
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
s as a,
|
|
106
|
+
k as b,
|
|
107
107
|
c as v
|
|
108
108
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./validators-
|
|
2
|
-
import "./analyze-result-contract-
|
|
3
|
-
import {
|
|
1
|
+
import "./validators-Cs74WVie.js";
|
|
2
|
+
import "./analyze-result-contract-T-0Ntzys.js";
|
|
3
|
+
import { f as k, C as V } from "./metric-comparison-97zHGEx5.js";
|
|
4
4
|
const G = [
|
|
5
5
|
"lg",
|
|
6
6
|
"md",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as W, a as X, v as Z } from "./validators-
|
|
1
|
+
import { S as W, a as X, v as Z } from "./validators-Cs74WVie.js";
|
|
2
2
|
import { toSemaphorInputOptionsIntent as ee, toSemaphorAnalysisQueryOptions as te, toSemaphorAnalysisIntent as re, toSemaphorMetricIntent as ne, toSemaphorRecordsIntent as ae, toSemaphorMatrixIntent as se, toSemaphorSqlIntent as ie } from "../data-app-sdk-adapters/index.js";
|
|
3
3
|
const Je = W, x = X, G = "semaphor-generated-data-app-contract/v1", T = "semaphor-generated-data-app-contract-manifest/v1";
|
|
4
4
|
function P(e) {
|
|
@@ -899,13 +899,13 @@ export {
|
|
|
899
899
|
ue as R,
|
|
900
900
|
x as a,
|
|
901
901
|
T as b,
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
902
|
+
Ye as c,
|
|
903
|
+
Qe as d,
|
|
904
|
+
ce as e,
|
|
905
|
+
Ze as f,
|
|
906
|
+
Xe as g,
|
|
907
|
+
he as h,
|
|
908
|
+
We as i,
|
|
909
|
+
et as j,
|
|
910
910
|
P as v
|
|
911
911
|
};
|
|
@@ -4577,64 +4577,64 @@ function ps(e) {
|
|
|
4577
4577
|
return { ok: i.length === 0, errors: i, warnings: t };
|
|
4578
4578
|
}
|
|
4579
4579
|
export {
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4580
|
+
ea as $,
|
|
4581
|
+
ps as A,
|
|
4582
|
+
ft as B,
|
|
4583
|
+
bt as C,
|
|
4584
|
+
Ge as D,
|
|
4585
|
+
vt as E,
|
|
4586
|
+
$t as F,
|
|
4587
|
+
j as G,
|
|
4588
|
+
A as H,
|
|
4589
|
+
He as I,
|
|
4590
|
+
ce as J,
|
|
4591
|
+
T as K,
|
|
4592
|
+
ns as L,
|
|
4593
|
+
os as M,
|
|
4594
|
+
ae as N,
|
|
4595
|
+
Qe as O,
|
|
4596
|
+
Mt as P,
|
|
4597
|
+
jt as Q,
|
|
4598
|
+
Et as R,
|
|
4599
4599
|
ie as S,
|
|
4600
4600
|
Ja as T,
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4601
|
+
Tt as U,
|
|
4602
|
+
Xt as V,
|
|
4603
|
+
Jt as W,
|
|
4604
|
+
Wt as X,
|
|
4605
|
+
Ye as Y,
|
|
4606
|
+
Ze as Z,
|
|
4607
|
+
Xe as _,
|
|
4608
4608
|
as as a,
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4609
|
+
ta as a0,
|
|
4610
|
+
ls as a1,
|
|
4611
|
+
Fe as a2,
|
|
4612
|
+
Ce as a3,
|
|
4613
|
+
is as a4,
|
|
4614
|
+
_i as a5,
|
|
4615
4615
|
gi as b,
|
|
4616
4616
|
de as c,
|
|
4617
4617
|
fi as d,
|
|
4618
4618
|
ds as e,
|
|
4619
4619
|
hi as f,
|
|
4620
4620
|
rs as g,
|
|
4621
|
-
|
|
4621
|
+
es as h,
|
|
4622
4622
|
ss as i,
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4623
|
+
ee as j,
|
|
4624
|
+
C as k,
|
|
4625
|
+
ci as l,
|
|
4626
|
+
le as m,
|
|
4627
|
+
pi as n,
|
|
4628
|
+
mi as o,
|
|
4629
4629
|
ts as p,
|
|
4630
|
-
|
|
4631
|
-
|
|
4630
|
+
Wa as q,
|
|
4631
|
+
se as r,
|
|
4632
4632
|
yi as s,
|
|
4633
4633
|
Se as t,
|
|
4634
|
-
|
|
4634
|
+
Ha as u,
|
|
4635
4635
|
qe as v,
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4636
|
+
us as w,
|
|
4637
|
+
di as x,
|
|
4638
|
+
Qa as y,
|
|
4639
|
+
cs as z
|
|
4640
4640
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";const s=require("react");class c extends Error{}c.prototype.name="InvalidTokenError";function f(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let o=r.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}function g(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return f(e)}catch{return atob(e)}}function m(t,e){if(typeof t!="string")throw new c("Invalid token specified: must be a string");e||(e={});const r=e.header===!0?0:1,o=t.split(".")[r];if(typeof o!="string")throw new c(`Invalid token specified: missing part #${r+1}`);let a;try{a=g(o)}catch(n){throw new c(`Invalid token specified: invalid base64 for part #${r+1} (${n.message})`)}try{return JSON.parse(a)}catch(n){throw new c(`Invalid token specified: invalid json for part #${r+1} (${n.message})`)}}/**
|
|
2
|
+
* @license lucide-react v0.453.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const b=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),d=(...t)=>t.filter((e,r,o)=>!!e&&o.indexOf(e)===r).join(" ");/**
|
|
7
|
+
* @license lucide-react v0.453.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/var k={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
12
|
+
* @license lucide-react v0.453.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const v=s.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:a="",children:n,iconNode:l,...u},p)=>s.createElement("svg",{ref:p,...k,width:e,height:e,stroke:t,strokeWidth:o?Number(r)*24/Number(e):r,className:d("lucide",a),...u},[...l.map(([h,w])=>s.createElement(h,w)),...Array.isArray(n)?n:[n]]));/**
|
|
17
|
+
* @license lucide-react v0.453.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const i=(t,e)=>{const r=s.forwardRef(({className:o,...a},n)=>s.createElement(v,{ref:n,iconNode:e,className:d(`lucide-${b(t)}`,o),...a}));return r.displayName=`${t}`,r};/**
|
|
22
|
+
* @license lucide-react v0.453.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/const y=i("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
27
|
+
* @license lucide-react v0.453.0 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/const C=i("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);exports.ChevronDown=y;exports.X=C;exports.createLucideIcon=i;exports.jwtDecode=m;
|
|
@@ -1,18 +1,66 @@
|
|
|
1
1
|
import { forwardRef as i, createElement as c } from "react";
|
|
2
|
+
class s extends Error {
|
|
3
|
+
}
|
|
4
|
+
s.prototype.name = "InvalidTokenError";
|
|
5
|
+
function g(t) {
|
|
6
|
+
return decodeURIComponent(atob(t).replace(/(.)/g, (e, r) => {
|
|
7
|
+
let o = r.charCodeAt(0).toString(16).toUpperCase();
|
|
8
|
+
return o.length < 2 && (o = "0" + o), "%" + o;
|
|
9
|
+
}));
|
|
10
|
+
}
|
|
11
|
+
function m(t) {
|
|
12
|
+
let e = t.replace(/-/g, "+").replace(/_/g, "/");
|
|
13
|
+
switch (e.length % 4) {
|
|
14
|
+
case 0:
|
|
15
|
+
break;
|
|
16
|
+
case 2:
|
|
17
|
+
e += "==";
|
|
18
|
+
break;
|
|
19
|
+
case 3:
|
|
20
|
+
e += "=";
|
|
21
|
+
break;
|
|
22
|
+
default:
|
|
23
|
+
throw new Error("base64 string is not of the correct length");
|
|
24
|
+
}
|
|
25
|
+
try {
|
|
26
|
+
return g(e);
|
|
27
|
+
} catch {
|
|
28
|
+
return atob(e);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function C(t, e) {
|
|
32
|
+
if (typeof t != "string")
|
|
33
|
+
throw new s("Invalid token specified: must be a string");
|
|
34
|
+
e || (e = {});
|
|
35
|
+
const r = e.header === !0 ? 0 : 1, o = t.split(".")[r];
|
|
36
|
+
if (typeof o != "string")
|
|
37
|
+
throw new s(`Invalid token specified: missing part #${r + 1}`);
|
|
38
|
+
let a;
|
|
39
|
+
try {
|
|
40
|
+
a = m(o);
|
|
41
|
+
} catch (n) {
|
|
42
|
+
throw new s(`Invalid token specified: invalid base64 for part #${r + 1} (${n.message})`);
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
return JSON.parse(a);
|
|
46
|
+
} catch (n) {
|
|
47
|
+
throw new s(`Invalid token specified: invalid json for part #${r + 1} (${n.message})`);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
2
50
|
/**
|
|
3
51
|
* @license lucide-react v0.453.0 - ISC
|
|
4
52
|
*
|
|
5
53
|
* This source code is licensed under the ISC license.
|
|
6
54
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
55
|
*/
|
|
8
|
-
const
|
|
56
|
+
const b = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), d = (...t) => t.filter((e, r, o) => !!e && o.indexOf(e) === r).join(" ");
|
|
9
57
|
/**
|
|
10
58
|
* @license lucide-react v0.453.0 - ISC
|
|
11
59
|
*
|
|
12
60
|
* This source code is licensed under the ISC license.
|
|
13
61
|
* See the LICENSE file in the root directory of this source tree.
|
|
14
62
|
*/
|
|
15
|
-
var
|
|
63
|
+
var k = {
|
|
16
64
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17
65
|
width: 24,
|
|
18
66
|
height: 24,
|
|
@@ -29,7 +77,7 @@ var m = {
|
|
|
29
77
|
* This source code is licensed under the ISC license.
|
|
30
78
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
79
|
*/
|
|
32
|
-
const
|
|
80
|
+
const v = i(
|
|
33
81
|
({
|
|
34
82
|
color: t = "currentColor",
|
|
35
83
|
size: e = 24,
|
|
@@ -43,7 +91,7 @@ const b = i(
|
|
|
43
91
|
"svg",
|
|
44
92
|
{
|
|
45
93
|
ref: h,
|
|
46
|
-
...
|
|
94
|
+
...k,
|
|
47
95
|
width: e,
|
|
48
96
|
height: e,
|
|
49
97
|
stroke: t,
|
|
@@ -65,10 +113,10 @@ const b = i(
|
|
|
65
113
|
*/
|
|
66
114
|
const l = (t, e) => {
|
|
67
115
|
const r = i(
|
|
68
|
-
({ className: o, ...a }, n) => c(
|
|
116
|
+
({ className: o, ...a }, n) => c(v, {
|
|
69
117
|
ref: n,
|
|
70
118
|
iconNode: e,
|
|
71
|
-
className: d(`lucide-${
|
|
119
|
+
className: d(`lucide-${b(t)}`, o),
|
|
72
120
|
...a
|
|
73
121
|
})
|
|
74
122
|
);
|
|
@@ -80,7 +128,7 @@ const l = (t, e) => {
|
|
|
80
128
|
* This source code is licensed under the ISC license.
|
|
81
129
|
* See the LICENSE file in the root directory of this source tree.
|
|
82
130
|
*/
|
|
83
|
-
const
|
|
131
|
+
const I = l("ChevronDown", [
|
|
84
132
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
85
133
|
]);
|
|
86
134
|
/**
|
|
@@ -89,61 +137,13 @@ const C = l("ChevronDown", [
|
|
|
89
137
|
* This source code is licensed under the ISC license.
|
|
90
138
|
* See the LICENSE file in the root directory of this source tree.
|
|
91
139
|
*/
|
|
92
|
-
const
|
|
140
|
+
const $ = l("X", [
|
|
93
141
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
94
142
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
95
143
|
]);
|
|
96
|
-
class s extends Error {
|
|
97
|
-
}
|
|
98
|
-
s.prototype.name = "InvalidTokenError";
|
|
99
|
-
function k(t) {
|
|
100
|
-
return decodeURIComponent(atob(t).replace(/(.)/g, (e, r) => {
|
|
101
|
-
let o = r.charCodeAt(0).toString(16).toUpperCase();
|
|
102
|
-
return o.length < 2 && (o = "0" + o), "%" + o;
|
|
103
|
-
}));
|
|
104
|
-
}
|
|
105
|
-
function v(t) {
|
|
106
|
-
let e = t.replace(/-/g, "+").replace(/_/g, "/");
|
|
107
|
-
switch (e.length % 4) {
|
|
108
|
-
case 0:
|
|
109
|
-
break;
|
|
110
|
-
case 2:
|
|
111
|
-
e += "==";
|
|
112
|
-
break;
|
|
113
|
-
case 3:
|
|
114
|
-
e += "=";
|
|
115
|
-
break;
|
|
116
|
-
default:
|
|
117
|
-
throw new Error("base64 string is not of the correct length");
|
|
118
|
-
}
|
|
119
|
-
try {
|
|
120
|
-
return k(e);
|
|
121
|
-
} catch {
|
|
122
|
-
return atob(e);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
function $(t, e) {
|
|
126
|
-
if (typeof t != "string")
|
|
127
|
-
throw new s("Invalid token specified: must be a string");
|
|
128
|
-
e || (e = {});
|
|
129
|
-
const r = e.header === !0 ? 0 : 1, o = t.split(".")[r];
|
|
130
|
-
if (typeof o != "string")
|
|
131
|
-
throw new s(`Invalid token specified: missing part #${r + 1}`);
|
|
132
|
-
let a;
|
|
133
|
-
try {
|
|
134
|
-
a = v(o);
|
|
135
|
-
} catch (n) {
|
|
136
|
-
throw new s(`Invalid token specified: invalid base64 for part #${r + 1} (${n.message})`);
|
|
137
|
-
}
|
|
138
|
-
try {
|
|
139
|
-
return JSON.parse(a);
|
|
140
|
-
} catch (n) {
|
|
141
|
-
throw new s(`Invalid token specified: invalid json for part #${r + 1} (${n.message})`);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
144
|
export {
|
|
145
|
-
C,
|
|
146
|
-
|
|
145
|
+
I as C,
|
|
146
|
+
$ as X,
|
|
147
147
|
l as c,
|
|
148
|
-
|
|
148
|
+
C as j
|
|
149
149
|
};
|
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../chunks/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../chunks/index-BSTyv45D.cjs"),e=require("../chunks/common-types-CQ6SHfLk.cjs");exports.Dashboard=o.Dashboard;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as o } from "../chunks/
|
|
2
|
-
import { C as s, E as C } from "../chunks/common-types-
|
|
1
|
+
import { D as o } from "../chunks/index-srGACKDr.js";
|
|
2
|
+
import { C as s, E as C } from "../chunks/common-types-B7Jk3Rtj.js";
|
|
3
3
|
export {
|
|
4
4
|
s as CONTROL_CARD_DEFAULT_VALUE,
|
|
5
5
|
o as Dashboard,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as P, a as Ie } from "../chunks/temporal-result-owner-
|
|
2
|
-
import { S as Mt, i as Nt, r as Bt, s as Pt, t as Rt } from "../chunks/temporal-result-owner-
|
|
3
|
-
import {
|
|
4
|
-
import "../chunks/analyze-result-contract-
|
|
5
|
-
import { n as ve } from "../chunks/catalog-field-grounding-
|
|
1
|
+
import { D as P, a as Ie } from "../chunks/temporal-result-owner-6peubmhU.js";
|
|
2
|
+
import { S as Mt, i as Nt, r as Bt, s as Pt, t as Rt } from "../chunks/temporal-result-owner-6peubmhU.js";
|
|
3
|
+
import { j as ye, a2 as H, a3 as _e, x as ae, A as we } from "../chunks/validators-Cs74WVie.js";
|
|
4
|
+
import "../chunks/analyze-result-contract-T-0Ntzys.js";
|
|
5
|
+
import { n as ve } from "../chunks/catalog-field-grounding-S2jKwKGD.js";
|
|
6
6
|
import { n as Se } from "../chunks/operators-C8TxpM4C.js";
|
|
7
|
-
import { A as zt, g as Vt, a as qt, p as Lt,
|
|
7
|
+
import { A as zt, g as Vt, a as qt, p as Lt, b as jt, r as Et } from "../chunks/temporal-bucket-authoring-CgOuakGW.js";
|
|
8
8
|
function _(e) {
|
|
9
9
|
return e && typeof e == "object" ? e : null;
|
|
10
10
|
}
|