react-semaphor 0.1.591 → 0.1.593
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/assistant-context/index.js +1 -1
- package/dist/briefings/index.js +2 -2
- package/dist/chunks/{assistant-chat-Cazikwyh.js → assistant-chat-D05uNAeO.js} +7 -7
- package/dist/chunks/bookmark-impact-B0k90wq8.js +76 -0
- package/dist/chunks/{bookmark-state-Bt_eQEqt.js → bookmark-state-Be2W3s6t.js} +174 -166
- package/dist/chunks/{card-filter-builder-DFR-6Jpm.js → card-filter-builder-CiafWE26.js} +73 -73
- package/dist/chunks/{comparison-window-caption-CFaw-kIV.js → comparison-window-caption-h8w3ySL6.js} +88 -89
- package/dist/chunks/{dashboard-DCh9hKnJ.js → dashboard-T-gYKGTF.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-ob8G1b58.js → dashboard-briefing-launcher-CPh2B3Rf.js} +84 -84
- package/dist/chunks/{dashboard-controls-Nszg0k1A.js → dashboard-controls-Cijc9c3G.js} +9 -9
- package/dist/chunks/{dashboard-json-BpwnG23b.js → dashboard-json-D3m7h4VL.js} +1 -1
- package/dist/chunks/{dates-BOLBSBpn.js → dates-Bb0sn54j.js} +6 -6
- package/dist/chunks/{edit-dashboard-visual-BvM7br5P.js → edit-dashboard-visual-C0iSuX9t.js} +374 -374
- package/dist/chunks/{filter-reach-copy-By3r7O3G.js → filter-reach-copy-CifrEFxj.js} +221 -221
- package/dist/chunks/{filter-value-text-CFiIZWJP.js → filter-value-text-CHBm4IU7.js} +10 -10
- package/dist/chunks/{index-CsQYlwhU.js → index-CzM2w1kY.js} +22 -22
- package/dist/chunks/{pivot-result-contract-expectations-BkMRCjzf.js → pivot-result-contract-expectations-CaS0y823.js} +588 -552
- package/dist/chunks/{report-preferences-dialog-ChXt8wCt.js → report-preferences-dialog-GHvai50w.js} +9 -9
- package/dist/chunks/{resolve-dashboard-input-context-BlyFX8He.js → resolve-dashboard-input-context-BcQHmMlw.js} +7585 -6490
- package/dist/chunks/{saved-dashboard-context-BPSdH2jW.js → saved-dashboard-context-BHHEzmwM.js} +16 -16
- package/dist/chunks/{semaphor-ready-indicator-BZUMCHRU.js → semaphor-ready-indicator-AOUJrUAJ.js} +21334 -21330
- package/dist/chunks/{shelf-drop-preview-context-yJheoeTC.js → shelf-drop-preview-context-Cs62lWI1.js} +2 -2
- package/dist/chunks/stored-dashboard-Cmtl_Obh.js +4029 -0
- package/dist/chunks/{table-export-sheet-h7wm5TwP.js → table-export-sheet-Cd6z7SsG.js} +1 -1
- package/dist/chunks/{variable-draft-OpYyaVCW.js → variable-draft-CSK9Ps1o.js} +2 -2
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1097 -1105
- package/dist/format-utils/index.js +215 -216
- package/dist/index.js +56 -56
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +3 -3
- package/dist/types/components/visual/data-table/types/data-table.d.ts +24 -2
- package/dist/types/index.js +30 -29
- package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +27 -0
- package/dist/types/lib/dashboard-viewer/table-view.d.ts +37 -1
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +11 -0
- package/dist/types/shared/dashboard-viewer/table-column-move.d.ts +56 -0
- package/dist/types/shared/dashboard-viewer/table-settings.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/bookmark-impact-rWjQgk8h.js +0 -75
- package/dist/chunks/pivot-header-presentation-gUxhdIdr.js +0 -42
- package/dist/chunks/stored-dashboard-CxQl9g0l.js +0 -4994
- package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -53
package/dist/index.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { D as U } from "./chunks/dashboard-
|
|
2
|
-
import { C as ua, E as da } from "./chunks/bookmark-state-
|
|
3
|
-
import { b as fa, A as ha, c as ma, a as ga, R as Ca, D as ba } from "./chunks/report-preferences-dialog-
|
|
1
|
+
import { D as U } from "./chunks/dashboard-T-gYKGTF.js";
|
|
2
|
+
import { C as ua, E as da } from "./chunks/bookmark-state-Be2W3s6t.js";
|
|
3
|
+
import { b as fa, A as ha, c as ma, a as ga, R as Ca, D as ba } from "./chunks/report-preferences-dialog-GHvai50w.js";
|
|
4
4
|
import { jsx as r, jsxs as b } from "react/jsx-runtime";
|
|
5
|
-
import { E as R, F as V, S as z, a as H, U as W, c as G, A as $, C as
|
|
6
|
-
import { a9 as Da, aP as va, aQ as Ea, aR as Aa, B as Sa, ao as Ta, a4 as wa, a2 as
|
|
5
|
+
import { E as R, F as V, S as z, a as H, U as W, c as G, A as $, C as K, u as I, f as q, d as Q, V as Y, e as P, g as L, h as J, s as X, i as Z, j as ee, R as ae, k as se, l as te, m as re, n as oe } from "./chunks/semaphor-ready-indicator-AOUJrUAJ.js";
|
|
6
|
+
import { a9 as Da, aP as va, aQ as Ea, aR as Aa, B as Sa, ao as Ta, a4 as wa, a2 as Fa, a1 as _a, aZ as xa, H as Ba, G as Ra, M as Pa, ad as La, q as Na, v as Ia, v as Oa, w as ja, a3 as Ma, J as ka, K as Ua, T as Va, I as za, aK as Ha, aM as Wa, aN as Ga, aL as $a, aB as Ka, aE as qa, aY as Qa, as as Ya, aJ as Ja, al as Xa, aT as Za, aU as es, aw as as, aF as ss, a0 as ts, $ as rs, Z as os, _ as ns, L as is, b0 as ls, ar as cs, aG as us, aH as ds, aA as ps, aD as fs, aX as hs, aW as ms, aV as gs, a$ as Cs, a_ as bs, aC as ys, aq as Ds, ap as vs, ac as Es, au as As, aI as Ss, ay as Ts, av as ws, ax as Fs, az as _s, ae as xs, af as Bs, ag as Rs, N as Ps, at as Ls, aa as Ns, a8 as Is, Y as Os, aS as js, z as Ms, a6 as ks, ah as Us, aj as Vs, ai as zs, ak as Hs, y as Ws, X as Gs, p as $s, a5 as Ks, a7 as qs, r as Qs, an as Ys, ab as Js, am as Xs, o as Zs, O as et, x as at, t as st, P as tt, Q as rt, W as ot, aO as nt } from "./chunks/semaphor-ready-indicator-AOUJrUAJ.js";
|
|
7
7
|
import * as T from "react";
|
|
8
8
|
import O, { useMemo as w, useEffect as j } from "react";
|
|
9
9
|
import { C as lt, D as ct, L as ut, d as dt, g as pt, h as ft, e as ht, f as mt, c as gt, a as Ct, i as bt, b as yt, n as Dt, s as vt } from "./chunks/validators-BlEWWX9O.js";
|
|
10
|
-
import { c as
|
|
10
|
+
import { c as N } from "./chunks/rendered-file-D8xEuVVx.js";
|
|
11
11
|
import "zod";
|
|
12
|
-
import "./chunks/pivot-result-contract-expectations-
|
|
12
|
+
import "./chunks/pivot-result-contract-expectations-CaS0y823.js";
|
|
13
13
|
import "./chunks/matrix-operation-contract-CAanJeCj.js";
|
|
14
14
|
import "./chunks/analytics-base-schemas-8wz9vqn_.js";
|
|
15
15
|
import "./value-format-preferences/index.js";
|
|
16
16
|
import { D as ne } from "./chunks/index-CV_Kzou0.js";
|
|
17
17
|
import { D as At } from "./chunks/token-types-BB2ImFx6.js";
|
|
18
|
-
import { d as Tt, A as wt, b as
|
|
19
|
-
import { n as $t, s as
|
|
18
|
+
import { d as Tt, A as wt, b as Ft, m as _t, e as xt, D as Bt, g as Rt, h as Pt, j as Lt, f as Nt, S as It, U as Ot, l as jt, a as Mt, V as kt, W as Ut, i as Vt, u as zt, k as Ht, c as Wt } from "./chunks/dashboard-briefing-launcher-CPh2B3Rf.js";
|
|
19
|
+
import { n as $t, s as Kt, u as qt } from "./chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
20
20
|
import { createRoot as ie } from "react-dom/client";
|
|
21
|
-
import "./chunks/shelf-drop-preview-context-
|
|
22
|
-
import { c as
|
|
21
|
+
import "./chunks/shelf-drop-preview-context-Cs62lWI1.js";
|
|
22
|
+
import { c as x } from "./chunks/pickers-DkqmtnTL.js";
|
|
23
23
|
import { D as Yt } from "./chunks/report-runtime-context-g4Zp_TU9.js";
|
|
24
24
|
import { e as le, f as ce, B as ue, F as de, h as pe, j as fe } from "./chunks/style-sheet-parts-DM_Mw_sm.js";
|
|
25
|
-
import {
|
|
25
|
+
import { E as Xt, y as Zt, G as er, F as ar, J as sr, K as tr, D as rr, C as or, H as nr, B as ir, A as lr, z as cr, L as ur, I as dr } from "./chunks/resolve-dashboard-input-context-BcQHmMlw.js";
|
|
26
26
|
import { r as fr, a as hr } from "./chunks/pivot-result-identity-BKUjYO1u.js";
|
|
27
|
-
import {
|
|
27
|
+
import { g as he } from "./chunks/stored-dashboard-Cmtl_Obh.js";
|
|
28
28
|
import "./chunks/schema-C9NPiIru.js";
|
|
29
29
|
import "./chunks/context-CVXTFljo.js";
|
|
30
30
|
import "./chunks/attribution-BvoKvhcj.js";
|
|
31
31
|
import "react-dom";
|
|
32
|
-
import "./chunks/index-
|
|
32
|
+
import "./chunks/index-CzM2w1kY.js";
|
|
33
33
|
import "./chunks/appearance-context-BwBp25ZG.js";
|
|
34
|
-
import { I as me } from "./chunks/card-filter-builder-
|
|
34
|
+
import { I as me } from "./chunks/card-filter-builder-CiafWE26.js";
|
|
35
35
|
import "./chunks/appearance-runtime-provider-BRHYELkC.js";
|
|
36
36
|
const ge = { cssWidth: 960, cssHeight: 540 };
|
|
37
37
|
function ta(e) {
|
|
@@ -42,7 +42,7 @@ function ta(e) {
|
|
|
42
42
|
};
|
|
43
43
|
return /* @__PURE__ */ r(R, { FallbackComponent: V, children: /* @__PURE__ */ b(z, { dashboardProps: l, children: [
|
|
44
44
|
/* @__PURE__ */ r(H, { componentType: "visual", componentId: e.cardId }),
|
|
45
|
-
/* @__PURE__ */ r(W, { appearance: e.appearance, children: /* @__PURE__ */ r(G, { displayPreferences: a, children: /* @__PURE__ */ r($, { children: /* @__PURE__ */ r(
|
|
45
|
+
/* @__PURE__ */ r(W, { appearance: e.appearance, children: /* @__PURE__ */ r(G, { displayPreferences: a, children: /* @__PURE__ */ r($, { children: /* @__PURE__ */ r(K, { type: "visual", cardId: s, ...l, children: /* @__PURE__ */ r(Ce, { cardId: s, imageLayout: a == null ? void 0 : a.imageLayout }) }) }) }) })
|
|
46
46
|
] }) });
|
|
47
47
|
}
|
|
48
48
|
function Ce({
|
|
@@ -69,11 +69,11 @@ function Ce({
|
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
return { card: (i = h == null ? void 0 : h.cards) == null ? void 0 : i.find((o) => (o == null ? void 0 : o.id) === e), frame: h, sheet: p };
|
|
72
|
-
}, [s, e]), g = w(() => l ?
|
|
72
|
+
}, [s, e]), g = w(() => l ? q(D, l.id) : void 0, [l, D]), E = w(() => g ? [g] : [], [g]), C = Q(E, ne.columns.lg), y = w(() => {
|
|
73
73
|
if (!a || !l) return;
|
|
74
|
-
if (!g) return
|
|
74
|
+
if (!g) return N(ge);
|
|
75
75
|
const p = C.cardSize(g, a.dashboardWidth);
|
|
76
|
-
return
|
|
76
|
+
return N({ cssWidth: p.width, cssHeight: p.height });
|
|
77
77
|
}, [a, l, g, C]);
|
|
78
78
|
return !t || !l ? /* @__PURE__ */ r(
|
|
79
79
|
Y,
|
|
@@ -87,14 +87,14 @@ function Ce({
|
|
|
87
87
|
className: "flex flex-col",
|
|
88
88
|
"data-image-capture": "",
|
|
89
89
|
style: { width: y.cssWidth, height: y.cssHeight },
|
|
90
|
-
children: /* @__PURE__ */ r(R, { FallbackComponent: P, children: /* @__PURE__ */ r(
|
|
90
|
+
children: /* @__PURE__ */ r(R, { FallbackComponent: P, children: /* @__PURE__ */ r(L, { card: t, frame: l }) })
|
|
91
91
|
}
|
|
92
92
|
) : /* @__PURE__ */ b("main", { className: "flex h-full grow flex-col", children: [
|
|
93
|
-
/* @__PURE__ */ r(R, { FallbackComponent: P, children: /* @__PURE__ */ r(
|
|
93
|
+
/* @__PURE__ */ r(R, { FallbackComponent: P, children: /* @__PURE__ */ r(L, { card: t, frame: l }) }),
|
|
94
94
|
/* @__PURE__ */ r(J, {})
|
|
95
95
|
] });
|
|
96
96
|
}
|
|
97
|
-
var be = Object.defineProperty, ye = (e, a, s) => a in e ? be(e, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[a] = s,
|
|
97
|
+
var be = Object.defineProperty, ye = (e, a, s) => a in e ? be(e, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[a] = s, F = (e, a, s) => ye(e, typeof a != "symbol" ? a + "" : a, s);
|
|
98
98
|
const De = {
|
|
99
99
|
stringify: (e) => e ? "true" : "false",
|
|
100
100
|
parse: (e) => /^[ty1-9]/i.test(e)
|
|
@@ -145,8 +145,8 @@ const Se = {
|
|
|
145
145
|
function: ve,
|
|
146
146
|
method: Se,
|
|
147
147
|
json: Ee
|
|
148
|
-
}, S = Symbol.for("r2wc.render"),
|
|
149
|
-
function
|
|
148
|
+
}, S = Symbol.for("r2wc.render"), _ = Symbol.for("r2wc.connected"), v = Symbol.for("r2wc.context"), m = Symbol.for("r2wc.props");
|
|
149
|
+
function Fe(e, a, s) {
|
|
150
150
|
var t, l, D;
|
|
151
151
|
a.props || (a.props = e.propTypes ? Object.keys(e.propTypes) : []), a.events || (a.events = []);
|
|
152
152
|
const g = Array.isArray(a.props) ? a.props.slice() : Object.keys(a.props), E = Array.isArray(a.events) ? a.events.slice() : Object.keys(a.events), C = {}, y = {}, p = {}, h = {};
|
|
@@ -159,7 +159,7 @@ function xe(e, a, s) {
|
|
|
159
159
|
y[u] = Array.isArray(a.events) ? {} : a.events[u];
|
|
160
160
|
class A extends HTMLElement {
|
|
161
161
|
constructor() {
|
|
162
|
-
super(),
|
|
162
|
+
super(), F(this, D, !0), F(this, l), F(this, t, {}), F(this, "container"), a.shadow ? this.container = this.attachShadow({
|
|
163
163
|
mode: a.shadow
|
|
164
164
|
}) : this.container = this, this[m].container = this.container;
|
|
165
165
|
for (const i of g) {
|
|
@@ -191,17 +191,17 @@ function xe(e, a, s) {
|
|
|
191
191
|
return Object.keys(h);
|
|
192
192
|
}
|
|
193
193
|
connectedCallback() {
|
|
194
|
-
this[
|
|
194
|
+
this[_] = !0, this[S]();
|
|
195
195
|
}
|
|
196
196
|
disconnectedCallback() {
|
|
197
|
-
this[
|
|
197
|
+
this[_] = !1, this[v] && s.unmount(this[v]), delete this[v];
|
|
198
198
|
}
|
|
199
199
|
attributeChangedCallback(i, o, d) {
|
|
200
200
|
const c = h[i], n = C[c], f = n ? B[n] : null;
|
|
201
201
|
c in C && f != null && f.parse && d && (this[m][c] = f.parse(d, i, this), this[S]());
|
|
202
202
|
}
|
|
203
|
-
[(D =
|
|
204
|
-
this[
|
|
203
|
+
[(D = _, l = v, t = m, S)]() {
|
|
204
|
+
this[_] && (this[v] ? s.update(this[v], this[m]) : this[v] = s.mount(
|
|
205
205
|
this.container,
|
|
206
206
|
e,
|
|
207
207
|
this[m]
|
|
@@ -229,14 +229,14 @@ function xe(e, a, s) {
|
|
|
229
229
|
}
|
|
230
230
|
return A;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function _e(e, a, s) {
|
|
233
233
|
const t = ie(e), l = O.createElement(a, s);
|
|
234
234
|
return t.render(l), {
|
|
235
235
|
root: t,
|
|
236
236
|
ReactComponent: a
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function xe({ root: e, ReactComponent: a }, s) {
|
|
240
240
|
const t = O.createElement(a, s);
|
|
241
241
|
e.render(t);
|
|
242
242
|
}
|
|
@@ -244,7 +244,7 @@ function Be({ root: e }) {
|
|
|
244
244
|
e.unmount();
|
|
245
245
|
}
|
|
246
246
|
function Re(e, a = {}) {
|
|
247
|
-
return
|
|
247
|
+
return Fe(e, a, { mount: _e, update: xe, unmount: Be });
|
|
248
248
|
}
|
|
249
249
|
const Pe = {
|
|
250
250
|
id: "string",
|
|
@@ -315,7 +315,7 @@ function na({
|
|
|
315
315
|
variant: "outline",
|
|
316
316
|
role: "combobox",
|
|
317
317
|
"aria-expanded": h,
|
|
318
|
-
className:
|
|
318
|
+
className: x("flex h-9 w-full justify-between", E),
|
|
319
319
|
children: [
|
|
320
320
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
|
|
321
321
|
C && /* @__PURE__ */ r("div", { className: "mr-2", children: C }),
|
|
@@ -336,7 +336,7 @@ function na({
|
|
|
336
336
|
/* @__PURE__ */ r(me, { className: "h-7", onClick: g, children: /* @__PURE__ */ r(
|
|
337
337
|
ae,
|
|
338
338
|
{
|
|
339
|
-
className:
|
|
339
|
+
className: x(
|
|
340
340
|
"size-3.5 opacity-50",
|
|
341
341
|
l && "animate-spin"
|
|
342
342
|
)
|
|
@@ -359,7 +359,7 @@ function na({
|
|
|
359
359
|
/* @__PURE__ */ r(
|
|
360
360
|
fe,
|
|
361
361
|
{
|
|
362
|
-
className:
|
|
362
|
+
className: x(
|
|
363
363
|
"size-4",
|
|
364
364
|
s === n.id ? "opacity-100" : "opacity-0"
|
|
365
365
|
)
|
|
@@ -388,7 +388,7 @@ export {
|
|
|
388
388
|
Da as ActivityProvider,
|
|
389
389
|
$ as ActivityScope,
|
|
390
390
|
wt as AdvancedModeToggle,
|
|
391
|
-
|
|
391
|
+
Ft as ArrangeLayoutButton,
|
|
392
392
|
fa as AssistantPanel,
|
|
393
393
|
ha as AssistantProvider,
|
|
394
394
|
ma as AssistantToolbarButton,
|
|
@@ -405,26 +405,26 @@ export {
|
|
|
405
405
|
Yt as DEFAULT_CALENDAR_CONTEXT,
|
|
406
406
|
At as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
407
407
|
U as Dashboard,
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
408
|
+
_t as DashboardBriefingLauncher,
|
|
409
|
+
xt as DashboardControlsSettings,
|
|
410
|
+
Fa as DashboardCreateDialog,
|
|
411
|
+
_a as DashboardExportDialog,
|
|
412
412
|
Bt as DashboardFavoriteToggle,
|
|
413
413
|
Rt as DashboardFilterControlsButton,
|
|
414
414
|
Pt as DashboardFilterControlsLauncher,
|
|
415
415
|
ra as DashboardWC,
|
|
416
|
-
|
|
416
|
+
Lt as DataVariablesListHost,
|
|
417
417
|
ga as DisplayFormatPreferencesFields,
|
|
418
|
-
|
|
418
|
+
Nt as DocumentControlsSettings,
|
|
419
419
|
da as EMPTY_SELECTION,
|
|
420
|
-
|
|
420
|
+
xa as ExportError,
|
|
421
421
|
Ba as FAVORITES_READ_ONLY_MESSAGE,
|
|
422
422
|
Ra as FavoriteStarButton,
|
|
423
423
|
ut as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
424
424
|
Pa as MatrixCardView,
|
|
425
|
-
|
|
425
|
+
La as PROPOSAL_REFUSALS,
|
|
426
426
|
Ca as ReportPreferencesDialog,
|
|
427
|
-
|
|
427
|
+
Na as ResourceType,
|
|
428
428
|
It as ScreenSizePreviewButton,
|
|
429
429
|
z as SemaphorContextProvider,
|
|
430
430
|
Ia as SemaphorDataProvider,
|
|
@@ -446,8 +446,8 @@ export {
|
|
|
446
446
|
Wa as briefingFormDraftToCreateRequest,
|
|
447
447
|
Ga as briefingFormDraftToUpdateRequest,
|
|
448
448
|
$a as briefingToFormDraft,
|
|
449
|
-
|
|
450
|
-
|
|
449
|
+
Ka as cancelBriefingPreviewRun,
|
|
450
|
+
qa as cancelBriefingRun,
|
|
451
451
|
Qa as cancelExport,
|
|
452
452
|
he as cloneDeep,
|
|
453
453
|
Ya as createBriefing,
|
|
@@ -509,17 +509,17 @@ export {
|
|
|
509
509
|
fr as resolveQueryColumnKeyMapEntry,
|
|
510
510
|
hr as resolveUniqueQueryColumnKeyMapEntry,
|
|
511
511
|
ws as resumeBriefing,
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
Fs as runBriefingNow,
|
|
513
|
+
_s as runBriefingPreview,
|
|
514
514
|
X as selectEditSessionStart,
|
|
515
|
-
|
|
515
|
+
xs as selectHasEditingToolbar,
|
|
516
516
|
Bs as selectProposalRecordState,
|
|
517
517
|
Rs as selectProposalUndoable,
|
|
518
|
-
|
|
518
|
+
Kt as serializeDashboardForDirtyCheck,
|
|
519
519
|
vt as shouldDropInheritedCalculationAggregate,
|
|
520
520
|
Ps as toolbarWidthFor,
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
Ls as updateBriefing,
|
|
522
|
+
Ns as useActivity,
|
|
523
523
|
Is as useAddNewFrame,
|
|
524
524
|
Os as useAssistant,
|
|
525
525
|
js as useBriefingUiCapabilities,
|
|
@@ -533,12 +533,12 @@ export {
|
|
|
533
533
|
Gs as useDashboardFavorite,
|
|
534
534
|
$s as useDashboardQuery,
|
|
535
535
|
I as useDashboardStore,
|
|
536
|
-
|
|
536
|
+
Ks as useDashboardSummary,
|
|
537
537
|
zt as useDashboardUnsavedChangesCheck,
|
|
538
|
-
|
|
538
|
+
qs as useDataColumns,
|
|
539
539
|
Ht as useDataVariablesMenuEntry,
|
|
540
540
|
Qs as useDateFilterHook,
|
|
541
|
-
|
|
541
|
+
qt as useDebouncedDirtyCheck,
|
|
542
542
|
Wt as useDefaultDashboardToggle,
|
|
543
543
|
Ys as useEditorActions,
|
|
544
544
|
Js as useEditorAside,
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-
|
|
2
|
-
import { C as f, E as D } from "../chunks/bookmark-state-
|
|
1
|
+
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-GHvai50w.js";
|
|
2
|
+
import { C as f, E as D } from "../chunks/bookmark-state-Be2W3s6t.js";
|
|
3
3
|
export {
|
|
4
4
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
5
5
|
a as DisplayFormatPreferencesFields,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ColumnSettings, ColumnSettingsMap } from '../types/data-table.js';
|
|
1
|
+
import { ColumnSettings, ColumnSettingsMap, TableColumnOrderChange } from '../types/data-table.js';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { SortingState, RowSelectionState, VisibilityState, ColumnSizingState } from '@tanstack/react-table';
|
|
4
4
|
import { ComparisonMetadataMap } from '../../../../lib/types/query-types.js';
|
|
5
5
|
import { CardConfig, QueryColumnKeyMap } from '../../../../lib/types/explorer-types.js';
|
|
6
6
|
import { RawTemporalValueKind, SemaphorResultColumn } from '../../../../shared/analytics-protocol/index.js';
|
|
7
7
|
import { ConditionalFormattingRenderContext, TableBaseFormatting, TableBaseStyle } from '../../../../lib/table-formatting/index.js';
|
|
8
|
-
import { ColumnReorderRequest } from '../../shared/utils/table-column-order.js';
|
|
9
8
|
import { RawTemporalPresentation } from '../../../../lib/formatters/raw-temporal-presentation.js';
|
|
10
9
|
import { ViewerDataTable } from '../../../../lib/dashboard-viewer/use-table-view.js';
|
|
11
10
|
/**
|
|
@@ -38,7 +37,7 @@ interface DataTableLogicProps {
|
|
|
38
37
|
onColumnVisibilityChange?: (columnId: string, isVisible: boolean) => void;
|
|
39
38
|
onSortChange?: (sorting: SortingState) => void;
|
|
40
39
|
sortState?: SortingState;
|
|
41
|
-
|
|
40
|
+
onColumnOrderChange?: (change: TableColumnOrderChange) => void;
|
|
42
41
|
columnSizing?: ColumnSizingState;
|
|
43
42
|
onColumnSizingChange?: (updater: ColumnSizingState | ((old: ColumnSizingState) => ColumnSizingState)) => void;
|
|
44
43
|
card?: any;
|
|
@@ -54,6 +53,7 @@ interface DataTableLogicProps {
|
|
|
54
53
|
}
|
|
55
54
|
export declare function useDataTableLogic(props: DataTableLogicProps): {
|
|
56
55
|
table: import('@tanstack/table-core').Table<any>;
|
|
56
|
+
tableView: import('../../../../lib/dashboard-viewer/table-view.js').TableView;
|
|
57
57
|
columnSettingsToUse: ColumnSettingsMap;
|
|
58
58
|
selectColumnVisible: boolean;
|
|
59
59
|
columnVisibilityToUse: VisibilityState;
|
|
@@ -6,12 +6,20 @@ import { PaginationMetadata, QueryColumnKeyMap } from '../../../../lib/types/exp
|
|
|
6
6
|
import { Interaction } from '../../../../lib/types/interaction-types.js';
|
|
7
7
|
import { ClickContextResult } from '../../../../lib/interactions/get-click-context-from-chartjs.js';
|
|
8
8
|
import { ComparisonMetadataMap } from '../../../../lib/types/query-types.js';
|
|
9
|
-
import { ColumnReorderRequest } from '../../shared/utils/table-column-order.js';
|
|
10
9
|
import { TableColumnTotal, TableMeasureTotal } from '../../../../shared/dashboard-authoring/measure-calculations/table-column-total.js';
|
|
11
10
|
import { ColumnDurationFormat, ColumnNumberStyle } from '../../../../shared/format-utils/types/index.js';
|
|
12
11
|
import { ConditionalFormattingRenderContext, TableBaseFormatting, TableBaseStyle } from '../../../../lib/table-formatting/table-formatting-types.js';
|
|
13
12
|
import { ColumnTextWrap } from '../../../../lib/table-formatting/table-text-flow.js';
|
|
14
13
|
import { RawTemporalValueKind, SemaphorResultColumn } from '../../../../shared/analytics-protocol/index.js';
|
|
14
|
+
import { TableColumnId } from '../../../../shared/dashboard-viewer/table-settings.js';
|
|
15
|
+
/** A header drag's result, ready for `writeTableColumnOrder(card, order, baseline)`. */
|
|
16
|
+
export type TableColumnOrderChange = {
|
|
17
|
+
readonly order: readonly TableColumnId[];
|
|
18
|
+
readonly baseline: {
|
|
19
|
+
readonly fieldOrder: readonly TableColumnId[];
|
|
20
|
+
readonly pivoted: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
15
23
|
export type { ColumnTextWrap } from '../../../../lib/table-formatting/table-text-flow.js';
|
|
16
24
|
export interface LinkFormat {
|
|
17
25
|
urlTemplate: string;
|
|
@@ -115,6 +123,14 @@ export type TablePreferences = {
|
|
|
115
123
|
* turns it off. Viewers sort either way (PLAN B30).
|
|
116
124
|
*/
|
|
117
125
|
allowViewerColumnCustomization?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* The author's column order (table column order TCO-D2, TCO-D4): the
|
|
128
|
+
* addressable columns' ids, arranged over the field order by the viewer's
|
|
129
|
+
* arrangement (`resolveTableView`), with a viewer's own order on top. Absent
|
|
130
|
+
* when it equals the field order; written only by `writeTableColumnOrder`.
|
|
131
|
+
* Unknown ids are ignored on read. Display only: the query never reads it.
|
|
132
|
+
*/
|
|
133
|
+
columnOrder?: TableColumnId[];
|
|
118
134
|
};
|
|
119
135
|
export type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat' | 'dateFormat'> & {
|
|
120
136
|
numberFormat?: Partial<ColumnSettings['numberFormat']>;
|
|
@@ -181,7 +197,13 @@ export interface DataTableProps {
|
|
|
181
197
|
* table settings shape the columns and control the sort.
|
|
182
198
|
*/
|
|
183
199
|
viewerTable?: import('../hooks/use-data-table-logic.js').DataTableViewerContext;
|
|
184
|
-
|
|
200
|
+
/**
|
|
201
|
+
* The author dragged a column header to a place the move rule allows
|
|
202
|
+
* (table column order TCO-D7, TCO-D9): `order` is the next author order and
|
|
203
|
+
* `baseline` what `writeTableColumnOrder` stores it against. Set only in the
|
|
204
|
+
* editor; its presence turns on the grips of movable columns.
|
|
205
|
+
*/
|
|
206
|
+
onColumnOrderChange?: (change: TableColumnOrderChange) => void;
|
|
185
207
|
paginationMetadata?: PaginationMetadata;
|
|
186
208
|
onPaginationChange?: (pageIndex: number, pageSize: number) => void;
|
|
187
209
|
isLoading?: boolean;
|
package/dist/types/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as t,
|
|
2
|
-
import { C as
|
|
3
|
-
import { D as
|
|
4
|
-
import { r as
|
|
5
|
-
import { D as
|
|
1
|
+
import { B as t, z as r, C as l, E as o, V as i, j as n, c as d, g as m, f as u, b as c, e as E, d as C, a as T, y as p, x as D, o as A, h as I, q as _, w as F, v as S, m as b, n as L, l as f, p as N, k as y, s as R, u as h, i as g, r as x, t as M } from "../chunks/bookmark-state-Be2W3s6t.js";
|
|
2
|
+
import { C as V, D as w, L as z, d as U, g as k, h as B, e as K, f as v, c as Y, a as q, i as G, b as P, n as Q, s as W } from "../chunks/validators-BlEWWX9O.js";
|
|
3
|
+
import { D as J } from "../chunks/token-types-BB2ImFx6.js";
|
|
4
|
+
import { r as H, a as Z } from "../chunks/pivot-result-identity-BKUjYO1u.js";
|
|
5
|
+
import { D as ee } from "../chunks/report-runtime-context-g4Zp_TU9.js";
|
|
6
6
|
const e = [
|
|
7
7
|
"concatenate",
|
|
8
8
|
"conditional-category",
|
|
@@ -38,14 +38,14 @@ const e = [
|
|
|
38
38
|
export {
|
|
39
39
|
t as BOOKMARK_STATE_VERSION,
|
|
40
40
|
r as BOOKMARK_VISIBILITIES,
|
|
41
|
-
|
|
41
|
+
V as CALCULATED_FIELD_ENTITY_MARKER,
|
|
42
42
|
e as CALCULATED_FIELD_TEMPLATE_IDS,
|
|
43
43
|
l as CONTROL_CARD_DEFAULT_VALUE,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
w as DATE_FORMAT_VALUES,
|
|
45
|
+
ee as DEFAULT_CALENDAR_CONTEXT,
|
|
46
|
+
J as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
47
47
|
o as EMPTY_SELECTION,
|
|
48
|
-
|
|
48
|
+
z as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
49
49
|
i as VIEWER_LIMITS,
|
|
50
50
|
n as VIEWER_TABLE_SETTINGS_VERSION,
|
|
51
51
|
d as collectDatasetNamesFromExplorerField,
|
|
@@ -59,29 +59,30 @@ export {
|
|
|
59
59
|
p as getCustomizableTableCardIds,
|
|
60
60
|
k as getFieldRuntimeColumnName,
|
|
61
61
|
D as getSortableTableCardIds,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
B as hasCalculatedFieldMarker,
|
|
63
|
+
K as hasCalculatedFormulaInputs,
|
|
64
64
|
A as hasColumnCustomization,
|
|
65
|
-
|
|
65
|
+
v as hasSyntheticCalculatedFieldOwner,
|
|
66
66
|
I as humanizeDatasetName,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
Y as inspectCalculatedField,
|
|
68
|
+
q as isCalculatedDimension,
|
|
69
|
+
G as isCalculatedMetric,
|
|
70
|
+
P as isDerivedField,
|
|
71
71
|
_ as isEmptyViewerTableSettings,
|
|
72
72
|
F as isTableCardCustomizable,
|
|
73
73
|
S as isTableCardSortable,
|
|
74
74
|
b as measureJsonBytes,
|
|
75
|
-
|
|
76
|
-
L as
|
|
77
|
-
f as
|
|
78
|
-
N as
|
|
79
|
-
y as
|
|
80
|
-
R as
|
|
81
|
-
h as
|
|
82
|
-
g as
|
|
83
|
-
|
|
84
|
-
H as
|
|
85
|
-
|
|
86
|
-
|
|
75
|
+
Q as normalizeCalculatedFieldRepresentation,
|
|
76
|
+
L as normalizeTableColumnOrder,
|
|
77
|
+
f as normalizeViewerTableSettings,
|
|
78
|
+
N as parseBookmarkState,
|
|
79
|
+
y as parseTableColumnId,
|
|
80
|
+
R as parseViewerTableSettings,
|
|
81
|
+
h as parseViewerTableSettingsMap,
|
|
82
|
+
g as readBookmarkState,
|
|
83
|
+
x as resolveFieldDatasetDependencies,
|
|
84
|
+
H as resolveQueryColumnKeyMapEntry,
|
|
85
|
+
Z as resolveUniqueQueryColumnKeyMapEntry,
|
|
86
|
+
W as shouldDropInheritedCalculationAggregate,
|
|
87
|
+
M as toTableColumnId
|
|
87
88
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ViewerTableSettings } from '../../shared/dashboard-viewer/table-settings.js';
|
|
2
|
+
import { TableColumnMoveResult } from '../../shared/dashboard-viewer/table-column-move.js';
|
|
2
3
|
import { TableColumnEdit, TableView } from './table-view.js';
|
|
3
4
|
export type TableColumnEditResult = {
|
|
4
5
|
readonly settings: ViewerTableSettings | undefined;
|
|
@@ -12,3 +13,29 @@ export type TableColumnEditResult = {
|
|
|
12
13
|
* for columns this result does not show (a drill can hide them) are kept.
|
|
13
14
|
*/
|
|
14
15
|
export declare function computeTableColumnEdit(view: TableView, edit: TableColumnEdit, stored?: ViewerTableSettings | undefined): TableColumnEditResult;
|
|
16
|
+
/**
|
|
17
|
+
* Where a header drop lands, as the table draws it (table column order
|
|
18
|
+
* TCO-D8, ledger P2-01): a measure's comparison column has no place of its
|
|
19
|
+
* own, so a drop on it, or after the measure, lands after the measure's last
|
|
20
|
+
* comparison column. Any other drop lands where it was made.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveHeaderDropTarget(view: TableView, target: {
|
|
23
|
+
readonly outputKey: string;
|
|
24
|
+
readonly side: 'before' | 'after';
|
|
25
|
+
}): {
|
|
26
|
+
outputKey: string;
|
|
27
|
+
side: 'before' | 'after';
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The author's header drag (table column order TCO-D7, TCO-D9): the column
|
|
31
|
+
* dragged by its header and the header it lands on, by output key, as the
|
|
32
|
+
* move rule decides it over the author's arrangement. Only a movable column
|
|
33
|
+
* moves. It lands on another movable column, or after a measure by way of
|
|
34
|
+
* the measure's comparison column (TCO-D8). The editor stores a successful
|
|
35
|
+
* move with `writeTableColumnOrder` against `view.author.fieldOrder`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function resolveHeaderColumnMove(view: TableView, drag: {
|
|
38
|
+
readonly outputKey: string;
|
|
39
|
+
readonly targetOutputKey: string;
|
|
40
|
+
readonly side: 'before' | 'after';
|
|
41
|
+
}): TableColumnMoveResult;
|
|
@@ -46,6 +46,12 @@ export type TableViewColumn = {
|
|
|
46
46
|
* width (PLAN CW-D2 to CW-D4).
|
|
47
47
|
*/
|
|
48
48
|
readonly resizable: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The move rule allows at least one drop for this column (table column
|
|
51
|
+
* order TCO-D9, TCO-INV-6): an addressable base or pivot member column with
|
|
52
|
+
* another column in its area. Comparison columns move with their measure.
|
|
53
|
+
*/
|
|
54
|
+
readonly movable: boolean;
|
|
49
55
|
};
|
|
50
56
|
/** A base column with an id: the columns a viewer's sort and widths address. */
|
|
51
57
|
export declare function isAddressableBaseColumn(column: Pick<TableViewColumn, 'part' | 'columnId'>): column is Pick<TableViewColumn, 'part'> & {
|
|
@@ -108,10 +114,19 @@ export type TableView = {
|
|
|
108
114
|
* is never saved (PLAN B30).
|
|
109
115
|
*/
|
|
110
116
|
readonly canSort: boolean;
|
|
111
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* The author's arrangement of the addressable columns, `tablePrefs.columnOrder`
|
|
119
|
+
* applied (TCO-D4); viewer order edits normalize against it. `fieldOrder` is
|
|
120
|
+
* every column the card defines in field order (author-hidden ones and
|
|
121
|
+
* configured ones this result does not show included), the baseline the
|
|
122
|
+
* author's own order edits are stored against (`writeTableColumnOrder`).
|
|
123
|
+
*/
|
|
112
124
|
readonly author: {
|
|
113
125
|
readonly order: readonly TableColumnId[];
|
|
126
|
+
readonly fieldOrder: readonly TableColumnId[];
|
|
114
127
|
};
|
|
128
|
+
/** Pivot rule A applies to moves (TCO-D6): see `isPivotedTableCard`. */
|
|
129
|
+
readonly pivoted: boolean;
|
|
115
130
|
};
|
|
116
131
|
export type TableColumnEdit = {
|
|
117
132
|
readonly type: 'hide' | 'show';
|
|
@@ -153,6 +168,27 @@ export declare function collectResultKeys(rows: readonly Record<string, unknown>
|
|
|
153
168
|
* from a result. The author impact warning uses it.
|
|
154
169
|
*/
|
|
155
170
|
export declare function listConfiguredTableColumnIds(card: TCard): ReadonlySet<TableColumnId> | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* A builder table with pivots: its column moves follow pivot rule A
|
|
173
|
+
* (TCO-D6), dimensions left of the pivot area. Read from the configuration,
|
|
174
|
+
* so a move is decided the same way with or without rows.
|
|
175
|
+
*/
|
|
176
|
+
export declare function isPivotedTableCard(card: TCard): boolean;
|
|
177
|
+
/** A configured field's column id: undefined for a field without an id. */
|
|
178
|
+
export declare function tableColumnIdOfField(field: DetailField | GroupByField | MetricField, role: 'detail' | 'groupby' | 'metric'): TableColumnId | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* The baseline an author's column order is stored against (table column
|
|
181
|
+
* order TCO-D7), known without rows: every column the card defines, in field
|
|
182
|
+
* order (a builder table's configured columns, each id once; a SQL or Python
|
|
183
|
+
* table's result keys, when given), dimensions first when pivoted (TCO-D6),
|
|
184
|
+
* and whether pivot rule A applies. The view's `author.fieldOrder` starts
|
|
185
|
+
* from it, so the editor's drag and the MCP store against the same list
|
|
186
|
+
* (TCO-INV-7).
|
|
187
|
+
*/
|
|
188
|
+
export declare function tableColumnOrderBaseline(card: TCard, resultKeys?: readonly string[]): {
|
|
189
|
+
fieldOrder: TableColumnId[];
|
|
190
|
+
pivoted: boolean;
|
|
191
|
+
};
|
|
156
192
|
/** The generated count column exists whenever its table does. */
|
|
157
193
|
export declare function isGeneratedCountColumnId(columnId: string): boolean;
|
|
158
194
|
/** The one resolver for render, the column panel and every download. Pure. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TCard } from '../../../lib/types/common-types.js';
|
|
2
2
|
import { CardType } from '../changes/card-types.js';
|
|
3
|
-
export type SettingName = 'columns.label' | 'columns.format' | 'columns.hidden' | 'columns.width' | 'orientation' | 'stack' | 'donut' | 'totals' | 'dataLabels' | 'legend' | 'axes' | 'highlights' | 'columns.polarity' | 'comparisonDisplay' | 'inheritComparison' | 'trend' | 'trendGrain' | 'seeRecords';
|
|
3
|
+
export type SettingName = 'columns.label' | 'columns.format' | 'columns.hidden' | 'columns.width' | 'orientation' | 'stack' | 'donut' | 'totals' | 'dataLabels' | 'legend' | 'axes' | 'highlights' | 'columns.polarity' | 'comparisonDisplay' | 'inheritComparison' | 'trend' | 'trendGrain' | 'seeRecords' | 'columnOrder';
|
|
4
4
|
export declare const SETTINGS_BY_KIND: Readonly<Record<CardType, readonly SettingName[]>>;
|
|
5
5
|
export type CardSettingsKind = {
|
|
6
6
|
type: CardType;
|
|
@@ -4,6 +4,7 @@ import { CardColumnRef } from '../conditional-formatting/types.js';
|
|
|
4
4
|
import { CardSettingsKind } from './card-kinds.js';
|
|
5
5
|
import { ColumnSettingsRole } from './views.js';
|
|
6
6
|
import { ChangeDiagnostic } from '../changes/diagnostics.js';
|
|
7
|
+
import { TableColumnId } from '../../dashboard-viewer/table-settings.js';
|
|
7
8
|
export type NamedColumn = {
|
|
8
9
|
/** Unique within the card (S-3). */
|
|
9
10
|
name: string;
|
|
@@ -17,6 +18,8 @@ export type NamedColumn = {
|
|
|
17
18
|
label: string;
|
|
18
19
|
/** The key its result-keyed table settings are stored under; absent where hidden and width don't apply. */
|
|
19
20
|
resultKey?: string;
|
|
21
|
+
/** The table column it is (`TableColumnId`), which the column order is stored by (table column order TCO-D2): a shelf field's or a SQL result key's; absent for Matrix and SQL KPI columns. */
|
|
22
|
+
columnId?: TableColumnId;
|
|
20
23
|
/** The label is the model's, not the card's own. */
|
|
21
24
|
labelInherited: boolean;
|
|
22
25
|
/** Tells two columns of one field apart in a name. */
|
|
@@ -55,6 +55,12 @@ export type TotalsInput = {
|
|
|
55
55
|
export type CardSettingsInput = {
|
|
56
56
|
/** Keyed by column name (SPEC 3.3). */
|
|
57
57
|
columns?: Record<string, ColumnSettingsInput>;
|
|
58
|
+
/**
|
|
59
|
+
* A table's column order, by column name (table column order TCO-D12): the
|
|
60
|
+
* named columns go in this order and the rest keep their places. In a
|
|
61
|
+
* pivoted table, row columns stay before the measures (TCO-D6).
|
|
62
|
+
*/
|
|
63
|
+
columnOrder?: string[];
|
|
58
64
|
orientation?: 'vertical' | 'horizontal';
|
|
59
65
|
stack?: 'none' | 'stacked';
|
|
60
66
|
donut?: boolean;
|
|
@@ -4,6 +4,7 @@ import { CardColumnRef, ConditionalRule } from '../conditional-formatting/types.
|
|
|
4
4
|
import { AxisConfigKey, CardVariant } from './card-display-write.js';
|
|
5
5
|
import { ComparisonDisplayInput, LegendPosition, Polarity } from './inputs.js';
|
|
6
6
|
import { TableMeasureTotal } from '../measure-calculations/table-column-total.js';
|
|
7
|
+
import { TableColumnId } from '../../dashboard-viewer/table-settings.js';
|
|
7
8
|
export type ResolvedColumnSettings = {
|
|
8
9
|
column: CardColumnRef;
|
|
9
10
|
hidden?: boolean;
|
|
@@ -58,4 +59,14 @@ export type ResolvedCardSettings = {
|
|
|
58
59
|
trendGrain?: KpiTrendGrain | null;
|
|
59
60
|
/** Whether viewers can open the records behind the card's numbers (see-records SR-D4). */
|
|
60
61
|
seeRecords?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* The named columns' ids in the stated order, and the baseline the one
|
|
64
|
+
* writer stores them against (`writeTableColumnOrder`, table column order
|
|
65
|
+
* TCO-D7, TCO-D12).
|
|
66
|
+
*/
|
|
67
|
+
columnOrder?: {
|
|
68
|
+
order: TableColumnId[];
|
|
69
|
+
fieldOrder: TableColumnId[];
|
|
70
|
+
pivoted: boolean;
|
|
71
|
+
};
|
|
61
72
|
};
|