@databrainhq/plugin 0.13.0-beta.5 → 0.13.0-beta.6
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/webcomponents.es.js +14 -14
- package/dist/webcomponents.umd.js +1 -1
- package/package.json +1 -1
package/dist/webcomponents.es.js
CHANGED
|
@@ -25815,7 +25815,7 @@ function wh(t, M, e) {
|
|
|
25815
25815
|
var i = US(t, M, e);
|
|
25816
25816
|
return Tye(i, uye);
|
|
25817
25817
|
}
|
|
25818
|
-
const x4 = "/dashboard", ey = "/metric", aq = "dashboardData", yye = `${x4}/embeddedMetric`, zye = "embeddedMetric", Aye = `${ey}/layout`, Nq = "dashboardLayout", Oye = `${ey}/saveLayout`, Lye = "saveLayout", dye = `${x4}/createMetric`, fye = "createMetric", xye = `${x4}/updateMetric`, hye = "updateMetric", Eye = `${x4}/updateAdminMetric`, pye = "updateAdminMetric", Sye = `${x4}/generateMetric`, vye = "generateMetric", Qye = `${x4}/datasetMetricCreation`, wye = "datasetMetricCreation", kye = `${x4}/previewTable`, Uye = "previewTable", Cye = `${ey}/query`, mye = "query", Yye = `${ey}/rawDownloadSettings`, bye = "rawDownloadSettings", _ye = `${ey}/column`, Rye = "column", Pye = `${ey}/underlyingData`, Vye = "underlyingData", Fye = `${ey}/invokeShareCsv`, Wye = "invokeShareCsv", Bye = `${ey}/markArchived`, $ye = "markArchived", Gye = "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
25818
|
+
const x4 = "/dashboard", ey = "/metric", aq = "dashboardData", yye = `${x4}/embeddedMetric`, zye = "embeddedMetric", Aye = `${ey}/layout`, Nq = "dashboardLayout", Oye = `${ey}/saveLayout`, Lye = "saveLayout", dye = `${x4}/createMetric`, fye = "createMetric", xye = `${x4}/updateMetric`, hye = "updateMetric", Eye = `${x4}/updateAdminMetric`, pye = "updateAdminMetric", Sye = `${x4}/generateMetric`, vye = "generateMetric", Qye = `${x4}/datasetMetricCreation`, wye = "datasetMetricCreation", kye = `${x4}/previewTable`, Uye = "previewTable", Cye = `${ey}/query`, mye = "query", Yye = `${ey}/rawDownloadSettings`, bye = "rawDownloadSettings", _ye = `${ey}/column`, Rye = "column", Pye = `${ey}/underlyingData`, Vye = "underlyingData", Fye = `${ey}/invokeShareCsv`, Wye = "invokeShareCsv", Bye = `${ey}/markArchived`, $ye = "markArchived", Gye = "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", Gu = async (t, M = { method: "GET" }) => {
|
|
25819
25819
|
const e = {
|
|
25820
25820
|
method: M.method,
|
|
25821
25821
|
headers: {
|
|
@@ -26095,7 +26095,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26095
26095
|
), uze = /* @__PURE__ */ new WeakMap(), a1 = (t) => "init" in t, o5 = "r", D5 = "w", Lv = "c", g5 = "s", SG = "h", oze = "n", Dze = "l", gze = "a", sze = "m", cze = (t) => {
|
|
26096
26096
|
const M = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new Map();
|
|
26097
26097
|
let n, r;
|
|
26098
|
-
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26098
|
+
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && (n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set()), t)
|
|
26099
26099
|
for (const [W, H] of t) {
|
|
26100
26100
|
const K = {
|
|
26101
26101
|
v: H,
|
|
@@ -26104,7 +26104,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26104
26104
|
// not invalidated
|
|
26105
26105
|
d: /* @__PURE__ */ new Map()
|
|
26106
26106
|
};
|
|
26107
|
-
({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26107
|
+
({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && (Object.freeze(K), a1(W) || console.warn(
|
|
26108
26108
|
"Found initial value for derived atom which can cause unexpected behavior",
|
|
26109
26109
|
W
|
|
26110
26110
|
)), M.set(W, K);
|
|
@@ -26130,7 +26130,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26130
26130
|
}
|
|
26131
26131
|
return M.get(H);
|
|
26132
26132
|
}, s = (W, H, K) => {
|
|
26133
|
-
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26133
|
+
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && Object.freeze(K), W)
|
|
26134
26134
|
o(W).set(H, K);
|
|
26135
26135
|
else {
|
|
26136
26136
|
const q = M.get(H);
|
|
@@ -26235,7 +26235,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26235
26235
|
};
|
|
26236
26236
|
s(W, H, q);
|
|
26237
26237
|
} else
|
|
26238
|
-
({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26238
|
+
({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && console.warn("[Bug] could not invalidate non existing atom", H);
|
|
26239
26239
|
}, f = (W, H, K) => {
|
|
26240
26240
|
if (!K) {
|
|
26241
26241
|
const X = g(W, H);
|
|
@@ -26313,14 +26313,14 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26313
26313
|
() => X(De, ce)
|
|
26314
26314
|
) : X(De, ce);
|
|
26315
26315
|
});
|
|
26316
|
-
throw ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26316
|
+
throw ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && console.info(
|
|
26317
26317
|
"Reading pending atom state in write operation. We throw a promise for now.",
|
|
26318
26318
|
De
|
|
26319
26319
|
), Te.p;
|
|
26320
26320
|
}
|
|
26321
26321
|
if ("v" in Te)
|
|
26322
26322
|
return Te.v;
|
|
26323
|
-
throw ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26323
|
+
throw ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && console.warn(
|
|
26324
26324
|
"[Bug] no value found while reading atom in write operation. This is probably a bug.",
|
|
26325
26325
|
De
|
|
26326
26326
|
), new Error("no value found");
|
|
@@ -26347,7 +26347,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26347
26347
|
t: new Set(K && [K]),
|
|
26348
26348
|
l: /* @__PURE__ */ new Set()
|
|
26349
26349
|
};
|
|
26350
|
-
if (e.set(H, q), ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26350
|
+
if (e.set(H, q), ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && r.add(H), f(void 0, H).d.forEach((Me, ne) => {
|
|
26351
26351
|
const De = e.get(ne);
|
|
26352
26352
|
De ? De.t.add(H) : ne !== H && b(W, ne, H);
|
|
26353
26353
|
}), v(H) && H.onMount) {
|
|
@@ -26358,14 +26358,14 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26358
26358
|
}, Y = (W, H) => {
|
|
26359
26359
|
var K;
|
|
26360
26360
|
const q = (K = e.get(H)) == null ? void 0 : K.u;
|
|
26361
|
-
q && q(), e.delete(H), ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26361
|
+
q && q(), e.delete(H), ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && r.delete(H);
|
|
26362
26362
|
const X = g(W, H);
|
|
26363
26363
|
X ? ("p" in X && g0(X.p), X.d.forEach((Me, ne) => {
|
|
26364
26364
|
if (ne !== H) {
|
|
26365
26365
|
const De = e.get(ne);
|
|
26366
26366
|
De && (De.t.delete(H), L(ne, De) && Y(W, ne));
|
|
26367
26367
|
}
|
|
26368
|
-
})) : ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26368
|
+
})) : ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && console.warn("[Bug] could not find atom state to unmount", H);
|
|
26369
26369
|
}, m = (W, H, K, q) => {
|
|
26370
26370
|
const X = new Set(K.d.keys());
|
|
26371
26371
|
q == null || q.forEach((Me, ne) => {
|
|
@@ -26401,7 +26401,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26401
26401
|
Me == null || Me.l.forEach((ne) => ne());
|
|
26402
26402
|
});
|
|
26403
26403
|
}
|
|
26404
|
-
({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26404
|
+
({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && n.forEach((H) => H());
|
|
26405
26405
|
}, V = (W) => {
|
|
26406
26406
|
o(W).forEach((K, q) => {
|
|
26407
26407
|
const X = M.get(q);
|
|
@@ -26419,7 +26419,7 @@ const PT = Symbol(), N5 = (t) => !!t[PT], r1 = (t) => !t[PT].c, g0 = (t) => {
|
|
|
26419
26419
|
a1(K) && (z(H, K, q), k(H, K));
|
|
26420
26420
|
R(H);
|
|
26421
26421
|
};
|
|
26422
|
-
return ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26422
|
+
return ({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" ? {
|
|
26423
26423
|
[o5]: h,
|
|
26424
26424
|
[D5]: w,
|
|
26425
26425
|
[Lv]: B,
|
|
@@ -26445,7 +26445,7 @@ function gq(t, M) {
|
|
|
26445
26445
|
function jze(t, M) {
|
|
26446
26446
|
const e = Dq(M), i = se.useContext(e), { s: n, v: r } = i, a = (s) => {
|
|
26447
26447
|
const c = n[o5](t, s);
|
|
26448
|
-
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26448
|
+
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && !c.y)
|
|
26449
26449
|
throw new Error("should not be invalidated");
|
|
26450
26450
|
if ("e" in c)
|
|
26451
26451
|
throw c.e;
|
|
@@ -26483,7 +26483,7 @@ function Ize(t, M) {
|
|
|
26483
26483
|
const e = Dq(M), { s: i, w: n } = se.useContext(e);
|
|
26484
26484
|
return se.useCallback(
|
|
26485
26485
|
(a) => {
|
|
26486
|
-
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws
|
|
26486
|
+
if (({ VITE_END_POINT: "https://edetnvlrqissubqlrwbtvwx2ia0tqykw.lambda-url.us-east-1.on.aws", VITE_TOKEN: "550975b6-5b5d-4a4b-9c2e-cfa9f260c4b6", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && !("write" in t))
|
|
26487
26487
|
throw new Error("not writable atom");
|
|
26488
26488
|
const N = (u) => i[D5](t, a, u);
|
|
26489
26489
|
return n ? n(N) : N();
|