react-semaphor 0.0.296 → 0.0.298
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/{index-tfXKmlXu.js → index-1p9AH5Uv.js} +3 -3
- package/dist/chunks/{index-5RCwWzBv.js → index-7kOro_zu.js} +764 -745
- package/dist/chunks/index-DoHEkv9j.js +245 -0
- package/dist/chunks/{index-PtVvQMP6.js → index-zdZ1lpAC.js} +4 -5
- package/dist/chunks/{lucide-react-3timzT6o.js → lucide-react-Mpu2F2_p.js} +3 -3
- package/dist/chunks/{lucide-react-ansR2LmB.js → lucide-react-vDdGhe6o.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunks/index-3swdbiNx.js +0 -245
|
@@ -17335,10 +17335,10 @@ function XX(e, t) {
|
|
|
17335
17335
|
data: t.map((d) => d[u]),
|
|
17336
17336
|
// Make sure that each data elment has a corresponding color. If not, the blurring effect will not work.
|
|
17337
17337
|
backgroundColor: t.map(
|
|
17338
|
-
(d, h) => r == null ? void 0 : r[h % r.length]
|
|
17338
|
+
(d, h) => (d == null ? void 0 : d._color) || (r == null ? void 0 : r[h % r.length])
|
|
17339
17339
|
),
|
|
17340
17340
|
borderColor: t.map(
|
|
17341
|
-
(d, h) => o == null ? void 0 : o[h % o.length]
|
|
17341
|
+
(d, h) => (d == null ? void 0 : d._color) || (o == null ? void 0 : o[h % o.length])
|
|
17342
17342
|
)
|
|
17343
17343
|
// Delete the code below after testing. 2/3/2024
|
|
17344
17344
|
// datasetBackgroundColors?.[index % datasetBackgroundColors.length],
|
|
@@ -17357,7 +17357,7 @@ function QX(e) {
|
|
|
17357
17357
|
}), t;
|
|
17358
17358
|
}
|
|
17359
17359
|
function wr(e) {
|
|
17360
|
-
if (e.length === 0)
|
|
17360
|
+
if (!e || e.length === 0)
|
|
17361
17361
|
return { keys: [], dimensionKeys: [], metricKeys: [] };
|
|
17362
17362
|
const t = QX(e), n = Object.keys(e[t]), r = n.filter((i) => {
|
|
17363
17363
|
var s, a, l, c, u, d, h, p;
|
|
@@ -18111,7 +18111,6 @@ function Us({
|
|
|
18111
18111
|
try {
|
|
18112
18112
|
new Intl.NumberFormat(i, d).format(0);
|
|
18113
18113
|
} catch {
|
|
18114
|
-
d.currency = "USD";
|
|
18115
18114
|
}
|
|
18116
18115
|
}
|
|
18117
18116
|
try {
|
|
@@ -31482,7 +31481,7 @@ function jie({
|
|
|
31482
31481
|
co(
|
|
31483
31482
|
(te) => te.actions.setNumberFormat
|
|
31484
31483
|
);
|
|
31485
|
-
const a = $e((te) => te.selectedSheetId), l = (v = (y = e.preferences) == null ? void 0 : y.formatNumber) == null ? void 0 : v.colorRanges, { metricKeys: c } = wr(t), u = (w = t == null ? void 0 : t[0]) == null ? void 0 : w[c == null ? void 0 : c[0]], d = (_ = t == null ? void 0 : t[0]) == null ? void 0 : _[c == null ? void 0 : c[1]], h = t.length > 0;
|
|
31484
|
+
const a = $e((te) => te.selectedSheetId), l = (v = (y = e.preferences) == null ? void 0 : y.formatNumber) == null ? void 0 : v.colorRanges, { metricKeys: c } = wr(t), u = (w = t == null ? void 0 : t[0]) == null ? void 0 : w[c == null ? void 0 : c[0]], d = (_ = t == null ? void 0 : t[0]) == null ? void 0 : _[c == null ? void 0 : c[1]], h = t && t.length > 0;
|
|
31486
31485
|
function p(te) {
|
|
31487
31486
|
o ? s({
|
|
31488
31487
|
...i,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as a, B as e, C as t, a as c, b as h, d, e as o, f as y, g as i, h as s, F as n, i as r, G as k, I as p, P as l, j as M, S as u, k as v, l as g, T as m, U as x, X as L } from "./index-
|
|
2
|
-
import { m as Pv } from "./index-
|
|
3
|
-
import { B as w, C, a as f, b as I, c as S, d as q, e as b, f as H, g as A, h as z, E as P, i as V, j, k as B, G as F, H as D, l as R, m as T, K as U, L as O, n as Z, o as G, p as W, M as E, q as X, N, P as K, r as J, s as Q, S as Y, t as _, u as $, v as a1, w as e1, T as t1, x as c1, y as h1, U as d1 } from "./index-
|
|
1
|
+
import { c as a, B as e, C as t, a as c, b as h, d, e as o, f as y, g as i, h as s, F as n, i as r, G as k, I as p, P as l, j as M, S as u, k as v, l as g, T as m, U as x, X as L } from "./index-zdZ1lpAC.js";
|
|
2
|
+
import { m as Pv } from "./index-zdZ1lpAC.js";
|
|
3
|
+
import { B as w, C, a as f, b as I, c as S, d as q, e as b, f as H, g as A, h as z, E as P, i as V, j, k as B, G as F, H as D, l as R, m as T, K as U, L as O, n as Z, o as G, p as W, M as E, q as X, N, P as K, r as J, s as Q, S as Y, t as _, u as $, v as a1, w as e1, T as t1, x as c1, y as h1, U as d1 } from "./index-7kOro_zu.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-1p9AH5Uv.js"),a=require("./index-DoHEkv9j.js");require("react");require("react-dom");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-1p9AH5Uv.js");require("react");require("react-dom");exports.Dashboard=e.Dashboard;
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-1p9AH5Uv.js"),a=require("./chunks/index-DoHEkv9j.js");require("react");require("react-dom");exports.BOOLEAN_DATA_TYPES=e.BOOLEAN_DATA_TYPES;exports.DATE_DATA_TYPES=e.DATE_DATA_TYPES;exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.NUMBER_DATA_TYPES=e.NUMBER_DATA_TYPES;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.TEXT_DATA_TYPES=e.TEXT_DATA_TYPES;exports.createSqlGenConfig=e.createSqlGenConfig;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.resolveDataType=e.resolveDataType;exports.useCard=e.useCard;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useEditorActions=e.useEditorActions;exports.useEditorStore=e.useEditorStore;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.useEditorAside=a.useEditorAside;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ai as o, ah as r, D as i, b$ as D, ag as T, c3 as d, af as l, ab as n, ad as u, c1 as A, c0 as S, an as E, ac as b, al as c, c2 as m, b_ as p, n as _, u as h, aY as C, V as f } from "./chunks/index-
|
|
2
|
-
import { A as Y, D as y, I as P, F as q, z as N } from "./chunks/index-
|
|
1
|
+
import { ai as o, ah as r, D as i, b$ as D, ag as T, c3 as d, af as l, ab as n, ad as u, c1 as A, c0 as S, an as E, ac as b, al as c, c2 as m, b_ as p, n as _, u as h, aY as C, V as f } from "./chunks/index-zdZ1lpAC.js";
|
|
2
|
+
import { A as Y, D as y, I as P, F as q, z as N } from "./chunks/index-7kOro_zu.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
export {
|
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DoHEkv9j.js");require("../chunks/index-1p9AH5Uv.js");require("react");require("react-dom");exports.Surfboard=e.DashboardPlus;
|
package/dist/surfboard/index.js
CHANGED