react-semaphor 0.1.552 → 0.1.554
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 +228 -227
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{assistant-chat-sWQaBT61.js → assistant-chat-ngs5dTvo.js} +1275 -1296
- package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-BAeGKd3s.js} +3 -3
- package/dist/chunks/{comparison-window-caption-CF90-I0i.js → comparison-window-caption-C2WNTlxK.js} +44 -44
- package/dist/chunks/{custom-visual-inputs-ByQUyWf4.js → custom-visual-inputs-cTHqcqPu.js} +1 -1
- package/dist/chunks/{dashboard-BjoJI7NN.js → dashboard-548YvEW5.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DUJQv719.js → dashboard-briefing-launcher-ptIRn5FS.js} +62 -62
- package/dist/chunks/{dashboard-controls-BjnvfcQp.js → dashboard-controls-CqyUTN6Q.js} +46 -46
- package/dist/chunks/{dashboard-json-BqcLekhd.js → dashboard-json-CvDFipA0.js} +4 -4
- package/dist/chunks/{document-dashboard-inputs-PoQihHLu.js → document-dashboard-inputs-DrA9m-5H.js} +119 -119
- package/dist/chunks/{edit-dashboard-visual-KNJQr60W.js → edit-dashboard-visual-BHL0AlIj.js} +4087 -3979
- package/dist/chunks/{filter-reach-copy-zdhUFn6t.js → filter-reach-copy-CyftKCZE.js} +48 -48
- package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DMrpj4h9.js} +2 -2
- package/dist/chunks/{global-date-filter-utils-C1jCNWdV.js → global-date-filter-utils-Or-3DL3k.js} +6033 -5772
- package/dist/chunks/{index-Dp0ta6KB.js → index-ClwmmbUH.js} +9 -9
- package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-DPVGg1mU.js} +12 -12
- package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-CVFVtqyo.js} +2 -2
- package/dist/chunks/{matrix-formatter-C_EpDP6o.js → matrix-formatter-K2OVPJQI.js} +30 -30
- package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DRWcJ8Mi.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract--lMaLlpV.js} +64 -61
- package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-CYIt2F5X.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-CX4fkRuG.js} +1 -1
- package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-BHJGZwIc.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-BygCpOhk.js} +20 -20
- package/dist/chunks/{raw-temporal-presentation-D3i0mnUe.js → raw-temporal-presentation-gooAp93G.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-C0uGI0v7.js → report-preferences-dialog-2tqY0BMQ.js} +49 -49
- package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-BaIKSaja.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Cm0b7s-d.js → resolve-dashboard-input-context-bOKDTHfJ.js} +2062 -1986
- package/dist/chunks/{saved-dashboard-context-DCtGmAWe.js → saved-dashboard-context--Hq1juf9.js} +8 -8
- package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-yw_JgICP.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ChyotaWB.js → semaphor-ready-indicator-yM4wo-FH.js} +26 -26
- package/dist/chunks/{shelf-drop-preview-context-D09ATIXv.js → shelf-drop-preview-context-BuLzyT1T.js} +119 -119
- package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-CGymm5td.js} +1 -1
- package/dist/chunks/{switch-wJP6O7ZT.js → switch-B-UTI6v-.js} +2 -2
- package/dist/chunks/{table-export-sheet-DUS_s8Cj.js → table-export-sheet-CgO6gaSM.js} +1 -1
- package/dist/chunks/{table-settings-WysCBj62.js → table-settings-DOT_Bv1m.js} +224 -201
- package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-C4rqmwaQ.js} +24 -24
- package/dist/chunks/{token-types-BMqRmT-C.js → token-types-DYECHYGH.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-t7JLE_LV.js → use-create-flow-overlay-state-DSXC-LD7.js} +6 -6
- package/dist/chunks/{validators-C-aOQlTB.js → validators-ClKLGDGZ.js} +1077 -1054
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +273 -264
- package/dist/data-app-sdk/index.js +5 -5
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +5 -5
- package/dist/format-utils/index.js +15 -15
- package/dist/index.js +21 -21
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/index.js +6 -6
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +3 -2
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +4 -2
- package/dist/types/lib/utils/card-config-utils.d.ts +61 -0
- package/dist/types/lib/utils/card-definition.d.ts +2 -1
- package/dist/types/lib/utils/card-type-change.d.ts +5 -1
- package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/matrix-analytical-definition.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +59 -21
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +12 -7
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +16 -9
- package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +62 -0
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +8 -4
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +4 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z as t } from "zod";
|
|
2
|
-
import { s as g, b as v } from "./matrix-operation-contract
|
|
3
|
-
import { a as T } from "./metric-comparison-
|
|
4
|
-
import { D as O, v as y, k as E, j as A, i as V } from "./table-settings-
|
|
2
|
+
import { s as g, b as v } from "./matrix-operation-contract--lMaLlpV.js";
|
|
3
|
+
import { a as T } from "./metric-comparison-CYIt2F5X.js";
|
|
4
|
+
import { D as O, v as y, k as E, j as A, i as V } from "./table-settings-DOT_Bv1m.js";
|
|
5
5
|
const p = 1, $ = ["PRIVATE", "TEAM", "DASHBOARD"], R = t.object({
|
|
6
6
|
filterId: t.string().min(1),
|
|
7
7
|
name: t.string(),
|
package/dist/chunks/{comparison-window-caption-CF90-I0i.js → comparison-window-caption-C2WNTlxK.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var je = Object.defineProperty;
|
|
2
2
|
var Ge = (e, t, r) => t in e ? je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var ce = (e, t, r) => Ge(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { i as ze, j as O, m as
|
|
5
|
-
import { i as Me, m as ee, j as Le, k as et, l as ke, a as ue, d as tt, n as $ } from "./matrix-formatter-
|
|
4
|
+
import { i as ze, j as O, m as Xe, c as He, p as We, J as Ye, a as G, F as Ze, G as Je, f as qe, I as Qe } from "./temporal-bucket-C4rqmwaQ.js";
|
|
5
|
+
import { i as Me, m as ee, j as Le, k as et, l as ke, a as ue, d as tt, n as $ } from "./matrix-formatter-K2OVPJQI.js";
|
|
6
6
|
import { h as Y, e as rt, p as ot, k as nt } from "./export-file-format-C-tJsxsf.js";
|
|
7
|
-
import {
|
|
8
|
-
import "./matrix-operation-contract
|
|
7
|
+
import { aJ as K, ac as at, t as X, aI as st, v as re, u as it } from "./validators-ClKLGDGZ.js";
|
|
8
|
+
import "./matrix-operation-contract--lMaLlpV.js";
|
|
9
9
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
10
10
|
import "zod";
|
|
11
|
-
import { D as Ae, a as lt, t as me, s as ct, P as de, l as ut, o as mt, v as dt, J as V } from "./pivot-result-lifecycle-
|
|
11
|
+
import { D as Ae, a as lt, t as me, s as ct, P as de, l as ut, o as mt, v as dt, J as V } from "./pivot-result-lifecycle-BygCpOhk.js";
|
|
12
12
|
import { PDF_SAFETY_LIMIT_EXCEEDED as Ie, getUtf8ByteLength as ft, FAST_PDF_POLICY as gt } from "../pdf-export-policy/index.js";
|
|
13
|
-
import { p as pt } from "./pivot-header-presentation-
|
|
14
|
-
import { d as bt, c as fe } from "./pivot-result-identity-
|
|
13
|
+
import { p as pt } from "./pivot-header-presentation-CX4fkRuG.js";
|
|
14
|
+
import { d as bt, c as fe } from "./pivot-result-identity-BHJGZwIc.js";
|
|
15
15
|
import { v as yt } from "./raw-temporal-contract-WuXA8jBP.js";
|
|
16
16
|
import { g as ht } from "./zoned-wall-clock-MulfA26h.js";
|
|
17
17
|
function wt(e, t, r) {
|
|
@@ -33,7 +33,7 @@ function Z(e, t, r) {
|
|
|
33
33
|
text: O(e, { type: "number", locale: r })
|
|
34
34
|
} : t.type === "duration" ? {
|
|
35
35
|
value: e,
|
|
36
|
-
text:
|
|
36
|
+
text: Xe(e, {
|
|
37
37
|
inputUnit: t.inputUnit,
|
|
38
38
|
outputStyle: t.outputStyle,
|
|
39
39
|
largestUnit: t.largestUnit,
|
|
@@ -111,7 +111,7 @@ function Ct(e) {
|
|
|
111
111
|
const t = (o, i) => Number.isInteger(o) ? Math.min(20, Math.max(0, o)) : i, r = t(e.minimumFractionDigits, 0), n = Math.max(r, t(e.maximumFractionDigits, 2));
|
|
112
112
|
return n === 0 ? "" : `.${"0".repeat(n)}`;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function J(e) {
|
|
115
115
|
return `"${e.replace(/"/g, "")}"`;
|
|
116
116
|
}
|
|
117
117
|
function Tt(e) {
|
|
@@ -141,8 +141,8 @@ function Et(e) {
|
|
|
141
141
|
const n = `${e.useGrouping === !1 ? "0" : "#,##0"}${t}`;
|
|
142
142
|
if (e.type === "currency") {
|
|
143
143
|
const o = Tt(e);
|
|
144
|
-
r = o ? o.side === "before" ? `${
|
|
145
|
-
} else e.type === "percent" ? r = e.percentValueMode === "whole" ? `${n}${
|
|
144
|
+
r = o ? o.side === "before" ? `${J(o.text)}${n}` : `${n}${J(o.text)}` : n;
|
|
145
|
+
} else e.type === "percent" ? r = e.percentValueMode === "whole" ? `${n}${J("%")}` : `${n}%` : r = n;
|
|
146
146
|
}
|
|
147
147
|
return e.negativeStyle === "parentheses" ? `${r};(${r})` : r;
|
|
148
148
|
}
|
|
@@ -285,10 +285,10 @@ function Pt(e, t, r) {
|
|
|
285
285
|
return { ...r, measureFormats: i };
|
|
286
286
|
}
|
|
287
287
|
function z(e) {
|
|
288
|
-
return
|
|
288
|
+
return X(e.slice(0, -1));
|
|
289
289
|
}
|
|
290
290
|
function Nt(e, t) {
|
|
291
|
-
return t.length > e.length &&
|
|
291
|
+
return t.length > e.length && X(t.slice(0, e.length)) === X(e);
|
|
292
292
|
}
|
|
293
293
|
function Vt(e) {
|
|
294
294
|
return e.map((t, r) => {
|
|
@@ -475,7 +475,7 @@ function jt(e) {
|
|
|
475
475
|
function Gt(e, t, r) {
|
|
476
476
|
const { levels: n } = Me(e.descriptors, t.presentation, r), o = t.spec.columns.length > 0, i = [], a = [], l = e.columns.map((u, g) => {
|
|
477
477
|
if (u.kind !== "measure") return null;
|
|
478
|
-
const y = o ? `${u.role}:${
|
|
478
|
+
const y = o ? `${u.role}:${X(u.columnPath)}` : `measure:${g}`;
|
|
479
479
|
let x = i.indexOf(y);
|
|
480
480
|
return x < 0 && (x = i.push(y) - 1, a.push(o ? Le(u.columnPath, u.role, t.presentation.totals.columns, n) : u.label)), x;
|
|
481
481
|
}), d = t.spec.columns[t.spec.columns.length - 1];
|
|
@@ -486,7 +486,7 @@ function Gt(e, t, r) {
|
|
|
486
486
|
groupLevelLabel: d ? Ae(d, t.presentation) : "Measures"
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Xr(e) {
|
|
490
490
|
const { layout: t, rows: r, report: n } = e, o = {
|
|
491
491
|
...e.request,
|
|
492
492
|
presentation: Pt(t, r, e.request.presentation)
|
|
@@ -511,7 +511,7 @@ function we(e) {
|
|
|
511
511
|
if (typeof o == "string" && o.trim())
|
|
512
512
|
return o.trim();
|
|
513
513
|
}
|
|
514
|
-
async function
|
|
514
|
+
async function Xt(e) {
|
|
515
515
|
const t = `PDF request failed: ${e.status} ${e.statusText}`.trim(), r = e.headers.get("content-type") || "";
|
|
516
516
|
try {
|
|
517
517
|
if (r.includes("application/json")) {
|
|
@@ -534,7 +534,7 @@ async function Ht(e) {
|
|
|
534
534
|
return { message: t };
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
async function
|
|
537
|
+
async function Hr(e) {
|
|
538
538
|
if (!e.token) throw new Error("Missing auth token for PDF export");
|
|
539
539
|
if (ft(e.serializedPayload) > gt.maxRequestBytes)
|
|
540
540
|
throw new Error("Fast-path PDF request exceeds the structured body limit");
|
|
@@ -545,7 +545,7 @@ async function Xr(e) {
|
|
|
545
545
|
signal: e.signal
|
|
546
546
|
});
|
|
547
547
|
if (!t.ok) {
|
|
548
|
-
const n = await
|
|
548
|
+
const n = await Xt(t);
|
|
549
549
|
throw n.code === Ie ? new zt(n.message) : new Error(n.message);
|
|
550
550
|
}
|
|
551
551
|
const r = await t.json();
|
|
@@ -554,17 +554,17 @@ async function Xr(e) {
|
|
|
554
554
|
throw new Error("Fast-path PDF response missing download URL");
|
|
555
555
|
return r;
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
function
|
|
557
|
+
const Ht = "__TOTAL__";
|
|
558
|
+
function H(e) {
|
|
559
559
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
560
560
|
}
|
|
561
561
|
function te(e) {
|
|
562
|
-
return e ===
|
|
562
|
+
return e === Ht;
|
|
563
563
|
}
|
|
564
564
|
function Wt(e) {
|
|
565
565
|
const t = /* @__PURE__ */ new Map(), r = (e.groupByColumns ?? []).map((o, i) => {
|
|
566
566
|
var u, g, y;
|
|
567
|
-
if (!
|
|
567
|
+
if (!H(o))
|
|
568
568
|
throw new Error(`Aggregate groupByColumns[${i}] is invalid`);
|
|
569
569
|
const a = typeof o.id == "string" && o.id.length > 0 ? o.id : void 0, l = a ? (y = (g = (u = e.columnKeyMap) == null ? void 0 : u.byRole) == null ? void 0 : g.groupby) == null ? void 0 : y[a] : void 0, d = (l == null ? void 0 : l.outputKey) || (l == null ? void 0 : l.rawKey) || (typeof o.alias == "string" && o.alias.length > 0 ? o.alias : typeof o.name == "string" && o.name.length > 0 ? o.name : void 0);
|
|
570
570
|
if (!d)
|
|
@@ -572,7 +572,7 @@ function Wt(e) {
|
|
|
572
572
|
return [a, o.alias, o.name, d].forEach((x) => {
|
|
573
573
|
typeof x == "string" && x.length > 0 && t.set(x, d);
|
|
574
574
|
}), d;
|
|
575
|
-
}), n = (e.rowAggregates ?? []).flatMap((o) => !
|
|
575
|
+
}), n = (e.rowAggregates ?? []).flatMap((o) => !H(o) || typeof o.function != "string" || typeof o.groupLevel != "string" ? [] : [
|
|
576
576
|
{
|
|
577
577
|
function: o.function,
|
|
578
578
|
groupLevel: o.groupLevel === "ALL" ? "ALL" : t.get(o.groupLevel) || o.groupLevel,
|
|
@@ -639,7 +639,7 @@ function Pe(e) {
|
|
|
639
639
|
throw new Error(
|
|
640
640
|
`Aggregate subtotal level "${e.row.subtotalLevel}" has no group column`
|
|
641
641
|
);
|
|
642
|
-
const a =
|
|
642
|
+
const a = H(e.row.subtotalContext) ? e.row.subtotalContext : void 0, l = H(a == null ? void 0 : a.groupByValues) ? a.groupByValues : {}, d = (o = e.context.rowAggregates.find(
|
|
643
643
|
(u) => u.groupLevel === e.row.subtotalLevel && u.function === r
|
|
644
644
|
)) == null ? void 0 : o.label;
|
|
645
645
|
return {
|
|
@@ -696,15 +696,15 @@ function Yr(e) {
|
|
|
696
696
|
throw new Error(`Aggregate group column "${e.columnKey}" is unknown`);
|
|
697
697
|
return t.text;
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Jt(e) {
|
|
700
700
|
return Pe(e).cells.map((t) => t.text);
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function qt(e) {
|
|
703
703
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
704
704
|
}
|
|
705
705
|
function Qt(e, t) {
|
|
706
706
|
if ((e == null ? void 0 : e.cardType) !== "aggregateTable") return;
|
|
707
|
-
const r =
|
|
707
|
+
const r = qt(e.cardConfig) ? e.cardConfig : void 0, n = r == null ? void 0 : r.groupByColumns, o = r == null ? void 0 : r.rowAggregates;
|
|
708
708
|
if (n !== void 0 && !Array.isArray(n))
|
|
709
709
|
throw new Error("Aggregate export groupByColumns is invalid");
|
|
710
710
|
if (o !== void 0 && !Array.isArray(o))
|
|
@@ -718,7 +718,7 @@ function Qt(e, t) {
|
|
|
718
718
|
function er(e) {
|
|
719
719
|
if (!e.aggregateContext || !e.useFormattedValues || e.row.isSubtotal !== !0 && e.row.isGrandTotal !== !0)
|
|
720
720
|
return;
|
|
721
|
-
const t =
|
|
721
|
+
const t = Jt({
|
|
722
722
|
row: e.row,
|
|
723
723
|
context: e.aggregateContext,
|
|
724
724
|
formatValue: (r, n) => e.visibleColumnKeys.has(n) ? e.formatGroupValue(r, n) : ""
|
|
@@ -781,7 +781,7 @@ function or(e) {
|
|
|
781
781
|
}), r.add(l);
|
|
782
782
|
else if (i) {
|
|
783
783
|
r.add(l);
|
|
784
|
-
const y =
|
|
784
|
+
const y = He({
|
|
785
785
|
columnKey: l,
|
|
786
786
|
values: rr(e.records, l)
|
|
787
787
|
});
|
|
@@ -828,7 +828,7 @@ function W(e) {
|
|
|
828
828
|
function N(e) {
|
|
829
829
|
return e.key || e.field || void 0;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
831
|
+
function q(e) {
|
|
832
832
|
return e == null ? "" : typeof e == "string" ? e : K(e) ? e.value : e instanceof Date ? e.toISOString() : typeof e == "object" ? JSON.stringify(e) : String(e);
|
|
833
833
|
}
|
|
834
834
|
function xe(e, t) {
|
|
@@ -864,7 +864,7 @@ function ur(e) {
|
|
|
864
864
|
function mr(e) {
|
|
865
865
|
return e.calendar.fiscalCalendar && (e.granularity === "quarter" || e.granularity === "year") ? "fiscal" : e.granularity;
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function Jr(e) {
|
|
868
868
|
const { formatting: t, queryPayload: r } = e, n = t.useFormattedValues, o = t.scope, i = (s) => lt({ snapshot: t.presentationExecutionSnapshot, scope: o, target: { kind: "column", columnKey: s } }), a = (s) => ct({ snapshot: t.presentationExecutionSnapshot, scope: o, target: { kind: "column", columnKey: s } });
|
|
869
869
|
function l(s) {
|
|
870
870
|
var h;
|
|
@@ -957,7 +957,7 @@ function qr(e) {
|
|
|
957
957
|
};
|
|
958
958
|
});
|
|
959
959
|
function ae(c, b, v, S) {
|
|
960
|
-
if (!n) return { text:
|
|
960
|
+
if (!n) return { text: q(c), value: c };
|
|
961
961
|
const F = nr({ value: c, columnKey: b, rowIndex: v, resolution: A });
|
|
962
962
|
if (F !== void 0) return { text: F.text, value: c, ...F.wallClock ? { wallClock: F.wallClock } : {} };
|
|
963
963
|
const M = U.get(b);
|
|
@@ -966,9 +966,9 @@ function qr(e) {
|
|
|
966
966
|
if (!L) throw new Error(`Missing resolved temporal presentation for column "${b}"`);
|
|
967
967
|
if (c != null && typeof c != "string")
|
|
968
968
|
throw new Error(`Canonical temporal column "${b}" must contain a string or null`);
|
|
969
|
-
const R = c ?? null, D =
|
|
969
|
+
const R = c ?? null, D = Je(R, M);
|
|
970
970
|
return {
|
|
971
|
-
text:
|
|
971
|
+
text: qe({ value: R, metadata: M, format: L }),
|
|
972
972
|
value: c,
|
|
973
973
|
...D ? { wallClock: D } : {}
|
|
974
974
|
};
|
|
@@ -1003,7 +1003,7 @@ function qr(e) {
|
|
|
1003
1003
|
const L = ur(c);
|
|
1004
1004
|
if (L) return { text: G(L, I), value: c };
|
|
1005
1005
|
}
|
|
1006
|
-
return { text:
|
|
1006
|
+
return { text: q(c), value: c };
|
|
1007
1007
|
}
|
|
1008
1008
|
const Be = h.map((c, b) => {
|
|
1009
1009
|
const v = er({
|
|
@@ -1013,7 +1013,7 @@ function qr(e) {
|
|
|
1013
1013
|
visibleColumnKeys: C,
|
|
1014
1014
|
formatGroupValue: (S, F) => {
|
|
1015
1015
|
const M = B.find((_) => _.key === F);
|
|
1016
|
-
return M ? ae(S, F, b, M).text :
|
|
1016
|
+
return M ? ae(S, F, b, M).text : q(S);
|
|
1017
1017
|
}
|
|
1018
1018
|
});
|
|
1019
1019
|
return B.map((S) => {
|
|
@@ -1092,7 +1092,7 @@ function Ee(e, t) {
|
|
|
1092
1092
|
return e;
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function qr(e) {
|
|
1096
1096
|
if (!oe(e))
|
|
1097
1097
|
throw new Error("formatting must be an object");
|
|
1098
1098
|
const t = ["reportContext", "resolvedFormats"].find(
|
|
@@ -1391,7 +1391,7 @@ export {
|
|
|
1391
1391
|
_t as F,
|
|
1392
1392
|
eo as G,
|
|
1393
1393
|
to as H,
|
|
1394
|
-
|
|
1394
|
+
Ht as I,
|
|
1395
1395
|
te as J,
|
|
1396
1396
|
Wt as K,
|
|
1397
1397
|
Yt as L,
|
|
@@ -1401,7 +1401,7 @@ export {
|
|
|
1401
1401
|
Ot as P,
|
|
1402
1402
|
Pe as Q,
|
|
1403
1403
|
Yr as R,
|
|
1404
|
-
|
|
1404
|
+
Jt as S,
|
|
1405
1405
|
Kt as T,
|
|
1406
1406
|
vr as U,
|
|
1407
1407
|
Dr as a,
|
|
@@ -1414,7 +1414,7 @@ export {
|
|
|
1414
1414
|
Gr as h,
|
|
1415
1415
|
zr as i,
|
|
1416
1416
|
jt as j,
|
|
1417
|
-
|
|
1417
|
+
Xr as k,
|
|
1418
1418
|
Br as l,
|
|
1419
1419
|
Bt as m,
|
|
1420
1420
|
jr as n,
|
|
@@ -1425,9 +1425,9 @@ export {
|
|
|
1425
1425
|
Vt as s,
|
|
1426
1426
|
P as t,
|
|
1427
1427
|
zt as u,
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1428
|
+
Xt as v,
|
|
1429
|
+
Hr as w,
|
|
1430
|
+
Jr as x,
|
|
1431
|
+
qr as y,
|
|
1432
1432
|
Qr as z
|
|
1433
1433
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as F } from "./global-date-filter-utils-
|
|
1
|
+
import { v as F } from "./global-date-filter-utils-Or-3DL3k.js";
|
|
2
2
|
function h(e) {
|
|
3
3
|
if (!(e != null && e.expectedType)) return "table";
|
|
4
4
|
const r = Array.isArray(e.expectedType) ? e.expectedType[0] : e.expectedType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-
|
|
2
|
+
import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-yM4wo-FH.js";
|
|
3
3
|
function u(e) {
|
|
4
4
|
if (typeof window > "u")
|
|
5
5
|
return null;
|