react-semaphor 0.1.531 → 0.1.533
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/brand-studio/index.js +1 -1
- package/dist/chunks/{dashboard-BHMHze_t.js → dashboard-DUCg1mNJ.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-nHbT_XPG.js → dashboard-briefing-launcher-B0PuQUiR.js} +1401 -1383
- package/dist/chunks/{dashboard-controls-Chv8n1oV.js → dashboard-controls-Cl3fLg9W.js} +39 -39
- package/dist/chunks/{dashboard-json-XgY8U_hG.js → dashboard-json-BSOgXGwr.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-CcxZN7C6.js → edit-dashboard-visual-CQDyMxM7.js} +516 -516
- package/dist/chunks/{editor-action-buttons-CCzvDROJ.js → editor-action-buttons-BKVrZnRQ.js} +2 -2
- package/dist/chunks/{matrix-formatter-DDjECnMd.js → matrix-formatter-DY1y9odV.js} +2 -1
- package/dist/chunks/{pivot-header-presentation-BTOXdU6S.js → pivot-header-presentation-Bb6b3Ch2.js} +232 -210
- package/dist/chunks/{report-preferences-dialog-D2Tz_5WT.js → report-preferences-dialog-WDM7qWxV.js} +16 -16
- package/dist/chunks/{semaphor-ready-indicator-CpbyewzC.js → semaphor-ready-indicator-yZ0JtL4D.js} +36174 -36148
- package/dist/chunks/{slider-p0D5yTI_.js → slider-0mB67Lls.js} +3 -3
- package/dist/chunks/{switch-JmX27lNB.js → switch-D95vek6N.js} +1690 -1683
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-sdk/index.js +1 -1
- package/dist/format-utils/index.js +90 -89
- package/dist/index.js +120 -119
- package/dist/surfboard/index.js +1 -1
- package/dist/types/components/surfboard/filter/date-range-filter-v2.d.ts +2 -2
- package/dist/types/components/surfboard/filter/types.d.ts +9 -0
- package/dist/types/components/ui-custom/date-range-picker.d.ts +18 -6
- package/dist/types/lib/api/exports-api.d.ts +30 -3
- package/dist/types/lib/csv-download.d.ts +4 -2
- package/dist/types/lib/export-messages.d.ts +47 -0
- package/dist/types/lib/exports/bounded-request.d.ts +12 -0
- package/dist/types/lib/exports/export-status.d.ts +2 -0
- package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
- package/dist/types/lib/hooks/use-export-polling.d.ts +9 -1
- package/dist/types/lib/matrix-table/submit-matrix-delivery.d.ts +14 -2
- package/dist/types/lib/matrix-table/use-matrix.d.ts +4 -0
- package/dist/types/lib/stores/export-store.d.ts +11 -0
- package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +9 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +6 -0
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +28 -4
- package/package.json +1 -1
package/dist/chunks/{report-preferences-dialog-D2Tz_5WT.js → report-preferences-dialog-WDM7qWxV.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as l, jsx as a, Fragment as
|
|
1
|
+
import { jsxs as l, jsx as a, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import Pe, { useRef as M, useState as C, useCallback as _, useEffect as U, lazy as ie, Suspense as J, Activity as De, useMemo as q, useId as V } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { u as R, a0 as ta, m as O, c as z, ah as ra, ai as la, P as na, a as sa, B as F, b as ia, d as me, L as xe, aj as I, s as ae, t as te, v as re, w as le, x as L, T as oa, e as ca, f as fe, h as he } from "./switch-
|
|
3
|
+
import { aO as Re, aP as _e, aQ as Ae, aR as Ie, aS as Fe, b as Le, E as ze, F as Ue, S as Oe, B as je, a as Ve, U as We, D as Me, C as $e, aC as Se, aT as Be, aU as ce, aV as Z, aW as He, f as Ge, g as Ke, h as Je, i as qe, j as de, k as ue, aX as Ze, aY as oe, aZ as Ye, a_ as Xe, a$ as Qe, b0 as ea, b1 as aa } from "./semaphor-ready-indicator-yZ0JtL4D.js";
|
|
4
|
+
import { u as R, a0 as ta, m as O, c as z, ah as ra, ai as la, P as na, a as sa, B as F, b as ia, d as me, L as xe, aj as I, s as ae, t as te, v as re, w as le, x as L, T as oa, e as ca, f as fe, h as he } from "./switch-D95vek6N.js";
|
|
5
5
|
import { X as da } from "./x-CXDkqdur.js";
|
|
6
6
|
import "./validators-BS521dum.js";
|
|
7
7
|
import "./matrix-operation-contract-BotZ-6zT.js";
|
|
@@ -140,9 +140,9 @@ function ba() {
|
|
|
140
140
|
}
|
|
141
141
|
);
|
|
142
142
|
}
|
|
143
|
-
const ga = ie(() => import("./dashboard-controls-
|
|
144
|
-
() => import("./edit-dashboard-visual-
|
|
145
|
-
), xa = ie(() => import("./dashboard-json-
|
|
143
|
+
const ga = ie(() => import("./dashboard-controls-Cl3fLg9W.js")), Sa = ie(
|
|
144
|
+
() => import("./edit-dashboard-visual-CQDyMxM7.js")
|
|
145
|
+
), xa = ie(() => import("./dashboard-json-BSOgXGwr.js"));
|
|
146
146
|
function Ga({
|
|
147
147
|
showControls: e = !1,
|
|
148
148
|
showFooter: r = !0,
|
|
@@ -173,7 +173,7 @@ function Ga({
|
|
|
173
173
|
n && /* @__PURE__ */ a(J, { fallback: null, children: /* @__PURE__ */ a(xa, {}) }),
|
|
174
174
|
/* @__PURE__ */ l("main", { className: "relative flex h-full w-full flex-col overflow-hidden", children: [
|
|
175
175
|
e && /* @__PURE__ */ a(J, { fallback: null, children: /* @__PURE__ */ a(ga, {}) }),
|
|
176
|
-
/* @__PURE__ */ a("div", { className: "flex grow overflow-hidden", children: /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ l(
|
|
176
|
+
/* @__PURE__ */ a("div", { className: "flex grow overflow-hidden", children: /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ l($e, { ...t, type: "dashboard", children: [
|
|
177
177
|
s && /* @__PURE__ */ a(J, { fallback: null, children: /* @__PURE__ */ a(Sa, {}) }),
|
|
178
178
|
/* @__PURE__ */ a(De, { mode: s ? "hidden" : "visible", children: /* @__PURE__ */ a(ba, {}) })
|
|
179
179
|
] }) }) })
|
|
@@ -362,7 +362,7 @@ function ka({
|
|
|
362
362
|
isClearing: i,
|
|
363
363
|
updatePreferences: o,
|
|
364
364
|
clearPreferences: m
|
|
365
|
-
} = wa({ enabled: e }), h =
|
|
365
|
+
} = wa({ enabled: e }), h = Be(), y = (t == null ? void 0 : t.resolved.tz) || (h == null ? void 0 : h.tz) || "UTC", N = (t == null ? void 0 : t.resolved.weekStart) ?? (h == null ? void 0 : h.weekStart) ?? 1, [f, S] = C((t == null ? void 0 : t.stored) === null), [b, v] = C(!1), [p, k] = C(
|
|
366
366
|
y
|
|
367
367
|
), [x, P] = C(
|
|
368
368
|
N
|
|
@@ -387,7 +387,7 @@ function ka({
|
|
|
387
387
|
y,
|
|
388
388
|
N
|
|
389
389
|
]);
|
|
390
|
-
const
|
|
390
|
+
const B = async () => {
|
|
391
391
|
if (s) {
|
|
392
392
|
I.error("Preferences are still loading. Please try again.");
|
|
393
393
|
return;
|
|
@@ -399,7 +399,7 @@ function ka({
|
|
|
399
399
|
}, j = () => {
|
|
400
400
|
r();
|
|
401
401
|
}, K = n || i, ke = K || s;
|
|
402
|
-
return /* @__PURE__ */ l(
|
|
402
|
+
return /* @__PURE__ */ l($, { children: [
|
|
403
403
|
/* @__PURE__ */ l("div", { className: "space-y-4 py-1", children: [
|
|
404
404
|
/* @__PURE__ */ l(
|
|
405
405
|
ce,
|
|
@@ -618,7 +618,7 @@ function ka({
|
|
|
618
618
|
children: "Cancel"
|
|
619
619
|
}
|
|
620
620
|
),
|
|
621
|
-
/* @__PURE__ */ a(F, { size: "xs", onClick:
|
|
621
|
+
/* @__PURE__ */ a(F, { size: "xs", onClick: B, disabled: ke, children: K ? /* @__PURE__ */ l($, { children: [
|
|
622
622
|
/* @__PURE__ */ a(xe, { className: "h-3.5 w-3.5 animate-spin" }),
|
|
623
623
|
"Saving…"
|
|
624
624
|
] }) : "Save" })
|
|
@@ -891,10 +891,10 @@ function _a({
|
|
|
891
891
|
calendar: { tz: "UTC" }
|
|
892
892
|
})
|
|
893
893
|
}).text
|
|
894
|
-
), A = (d,
|
|
894
|
+
), A = (d, B) => {
|
|
895
895
|
const j = {
|
|
896
896
|
...e.dateTime,
|
|
897
|
-
[d]:
|
|
897
|
+
[d]: B === "inherit" ? void 0 : B
|
|
898
898
|
};
|
|
899
899
|
s({
|
|
900
900
|
...e,
|
|
@@ -1086,7 +1086,7 @@ function Ia({
|
|
|
1086
1086
|
const { preferences: t, isLoading: s, isSaving: n, updatePreferences: i } = Ea({ enabled: e });
|
|
1087
1087
|
if (!e) return null;
|
|
1088
1088
|
if (!t)
|
|
1089
|
-
return /* @__PURE__ */ l(
|
|
1089
|
+
return /* @__PURE__ */ l($, { children: [
|
|
1090
1090
|
/* @__PURE__ */ a("div", { className: "py-2", children: /* @__PURE__ */ a("div", { className: "flex min-h-36 items-center justify-center text-[12px] text-muted-foreground", children: s ? "Loading preferences…" : "Preferences unavailable." }) }),
|
|
1091
1091
|
/* @__PURE__ */ l(oe, { className: "justify-between sm:justify-between", children: [
|
|
1092
1092
|
/* @__PURE__ */ a(F, { variant: "ghost", size: "xs", disabled: !0, children: "Reset display formats" }),
|
|
@@ -1143,7 +1143,7 @@ function Fa({
|
|
|
1143
1143
|
"Failed to reset display format preferences. Please try again."
|
|
1144
1144
|
);
|
|
1145
1145
|
};
|
|
1146
|
-
return /* @__PURE__ */ l(
|
|
1146
|
+
return /* @__PURE__ */ l($, { children: [
|
|
1147
1147
|
/* @__PURE__ */ a("div", { className: "py-2", children: /* @__PURE__ */ a(
|
|
1148
1148
|
_a,
|
|
1149
1149
|
{
|
|
@@ -1182,7 +1182,7 @@ function Fa({
|
|
|
1182
1182
|
size: "xs",
|
|
1183
1183
|
onClick: m,
|
|
1184
1184
|
disabled: r || !o,
|
|
1185
|
-
children: r ? /* @__PURE__ */ l(
|
|
1185
|
+
children: r ? /* @__PURE__ */ l($, { children: [
|
|
1186
1186
|
/* @__PURE__ */ a(xe, { className: "h-3.5 w-3.5 animate-spin" }),
|
|
1187
1187
|
"Saving…"
|
|
1188
1188
|
] }) : "Save"
|