react-semaphor 0.1.563 → 0.1.565

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.
Files changed (139) hide show
  1. package/DATA_APP_SDK.md +3 -3
  2. package/README.md +2 -2
  3. package/dist/analytics-protocol/index.js +8 -8
  4. package/dist/assistant-context/index.js +3 -2
  5. package/dist/brand-studio/index.js +28 -29
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{assistant-chat-iIp02_77.js → assistant-chat-DNfb5fbF.js} +294 -294
  8. package/dist/chunks/{bookmark-impact-D4Kl4amw.js → bookmark-impact-CHr7b1J2.js} +2 -2
  9. package/dist/chunks/bookmark-state-ByODVqee.js +1613 -0
  10. package/dist/chunks/card-filter-builder-CcEcfaYz.js +4100 -0
  11. package/dist/chunks/{switch-BW4yXSYs.js → code-editor-DJNOsgJH.js} +463 -442
  12. package/dist/chunks/{comparison-window-caption-D1EUXzaR.js → comparison-window-caption-CMLb3mut.js} +451 -419
  13. package/dist/chunks/{dashboard-CmqeP3QZ.js → dashboard-CtIfxycc.js} +1 -1
  14. package/dist/chunks/dashboard-briefing-launcher-D3mc6peE.js +4910 -0
  15. package/dist/chunks/{dashboard-controls-B253nJS-.js → dashboard-controls-BFv0zdws.js} +684 -674
  16. package/dist/chunks/{dashboard-json-osQuinUZ.js → dashboard-json-CXn_3OYb.js} +4 -4
  17. package/dist/chunks/{dates-DFY7Gfss.js → dates-DcRxw17S.js} +13 -13
  18. package/dist/chunks/{edit-dashboard-visual-CMar-NhA.js → edit-dashboard-visual-Y6HatqBd.js} +7704 -10337
  19. package/dist/chunks/filter-reach-copy-DbggA5B7.js +4673 -0
  20. package/dist/chunks/{filter-value-text-CPwFkrMz.js → filter-value-text-7zhmth1S.js} +2 -2
  21. package/dist/chunks/{index-CNGkfUp4.js → index-DDa_rklN.js} +69 -64
  22. package/dist/chunks/index-RNaTnE3m.js +585 -0
  23. package/dist/chunks/{layout-grid-BM65viQh.js → layout-grid-0hIlqEtk.js} +1 -1
  24. package/dist/chunks/{list-filter-BoeLBfL3.js → list-filter-DkgoCeBm.js} +1 -1
  25. package/dist/chunks/{matrix-analytical-definition-hEucouWM.js → matrix-analytical-definition-C9xB_T84.js} +18 -18
  26. package/dist/chunks/{matrix-card-CCh9JjP1.js → matrix-card-BSUeSXpD.js} +2 -2
  27. package/dist/chunks/{matrix-member-presentation-DsAUbuoL.js → matrix-member-presentation-DZNgQpUq.js} +1 -1
  28. package/dist/chunks/{matrix-operation-contract-DsLdFdSa.js → matrix-operation-contract-Eb6elidS.js} +1 -1
  29. package/dist/chunks/{metric-comparison-Bnso1cm1.js → metric-comparison-ChXUFaZu.js} +1 -1
  30. package/dist/chunks/{palette-p1XSJFgB.js → palette-4vf2BEEg.js} +1 -1
  31. package/dist/chunks/{pivot-result-contract-expectations-B53jqszr.js → pivot-result-contract-expectations-Ddh1rNz5.js} +4 -4
  32. package/dist/chunks/{pivot-result-identity-Dq5jm-EC.js → pivot-result-identity-BlbLrqaC.js} +1 -1
  33. package/dist/chunks/{report-preferences-dialog-l54wJyYE.js → report-preferences-dialog-Db-b04B4.js} +122 -131
  34. package/dist/chunks/{report-runtime-context-BITkNSDa.js → report-runtime-context-DnA_PiKo.js} +1 -1
  35. package/dist/chunks/resolve-dashboard-input-context-C18J-YZC.js +21394 -0
  36. package/dist/chunks/{save-CHV1B1fL.js → save-D6pHmSSP.js} +1 -1
  37. package/dist/chunks/saved-dashboard-context-DhC_EVus.js +629 -0
  38. package/dist/chunks/{selection-reducer-Bz5aywT4.js → selection-reducer-OaJ-N5uN.js} +1 -1
  39. package/dist/chunks/{semaphor-ready-indicator-C3EQEiD9.js → semaphor-ready-indicator-T6TsiBMT.js} +80879 -80744
  40. package/dist/chunks/{shelf-drop-preview-context-BODiBlqT.js → shelf-drop-preview-context-CNWL_b0S.js} +407 -407
  41. package/dist/chunks/{source-entity-resolution-DdDVXFB8.js → source-entity-resolution-DF6GulDn.js} +1 -1
  42. package/dist/chunks/stored-dashboard-IdmtrNkA.js +5026 -0
  43. package/dist/chunks/{table-export-sheet-bSXxGn-v.js → table-export-sheet--DUKWk6o.js} +1 -1
  44. package/dist/chunks/{temporal-input-presentation-sk9gqLi6.js → temporal-input-presentation--2r9BLr0.js} +392 -377
  45. package/dist/chunks/{token-types-BUK06hU2.js → token-types-C8JymO8s.js} +1 -1
  46. package/dist/chunks/{upload-BnmuyPqW.js → upload-Cf3wXZT8.js} +1 -1
  47. package/dist/chunks/{validators-BIM0FE31.js → validators-wtjw0aw6.js} +7 -7
  48. package/dist/chunks/variable-draft-3xseULxR.js +241 -0
  49. package/dist/dashboard/index.js +2 -2
  50. package/dist/dashboard-authoring/index.js +2226 -1704
  51. package/dist/data-app-sdk/index.js +4 -4
  52. package/dist/data-app-sdk-adapters/index.js +2 -2
  53. package/dist/data-app-sdk-validation/index.js +5 -5
  54. package/dist/format-utils/index.js +174 -167
  55. package/dist/index.js +190 -188
  56. package/dist/layouts/index.js +1 -1
  57. package/dist/pdf-export-policy/index.js +80 -28
  58. package/dist/pdf-table-layout/index.js +65 -65
  59. package/dist/report-runtime-context/index.js +1 -1
  60. package/dist/style.css +1 -1
  61. package/dist/surfboard/index.js +2 -2
  62. package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
  63. package/dist/types/components/activity/activity-bell.d.ts +5 -1
  64. package/dist/types/components/activity/activity-types.d.ts +12 -4
  65. package/dist/types/components/dashboard-variables/data-variables-menu.d.ts +8 -0
  66. package/dist/types/components/dashboard-variables/variable-editor-host.d.ts +1 -0
  67. package/dist/types/components/index.d.ts +2 -0
  68. package/dist/types/index.js +5 -5
  69. package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +62 -0
  70. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +33 -2
  71. package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +7 -2
  72. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +4 -2
  73. package/dist/types/lib/dashboard-variables/data-text.d.ts +33 -0
  74. package/dist/types/lib/dashboard-variables/types.d.ts +207 -0
  75. package/dist/types/lib/document/document-edits.d.ts +16 -1
  76. package/dist/types/lib/document/document-panel-target.d.ts +1 -1
  77. package/dist/types/lib/document/document-section-query-options.d.ts +29 -0
  78. package/dist/types/lib/document/document-table-data-policy.d.ts +0 -1
  79. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +92 -0
  80. package/dist/types/lib/query-context/build-card-query-context.d.ts +6 -0
  81. package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +1 -0
  82. package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +24 -0
  83. package/dist/types/lib/stores/dashboard-store.d.ts +36 -0
  84. package/dist/types/lib/text-variables/temporal-input-text.d.ts +28 -0
  85. package/dist/types/lib/text-variables/text-variable-types.d.ts +72 -0
  86. package/dist/types/lib/types/common-types.d.ts +155 -51
  87. package/dist/types/lib/utils/card-definition.d.ts +2 -2
  88. package/dist/types/shared/assistant-context/index.d.ts +1 -1
  89. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +51 -1
  90. package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +7 -1
  91. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +10 -0
  92. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +7 -1
  93. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1088 -431
  94. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +18 -1
  95. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -1
  96. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +1 -1
  97. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +10 -0
  98. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +40 -40
  99. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +16 -16
  100. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +1 -0
  101. package/dist/types/shared/dashboard-authoring/dashboard-filter-targets.d.ts +29 -0
  102. package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +7 -4
  103. package/dist/types/shared/dashboard-authoring/dashboard-variable-card.d.ts +159 -0
  104. package/dist/types/shared/dashboard-authoring/dashboard-variable-changes.d.ts +61 -0
  105. package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +7 -0
  106. package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +2 -0
  107. package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +10 -0
  108. package/dist/types/shared/dashboard-authoring/index.d.ts +6 -0
  109. package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +2 -0
  110. package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +1 -1
  111. package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +1 -1
  112. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +50 -3
  113. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +48 -1
  114. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +2 -2
  115. package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +87 -13
  116. package/dist/types/shared/dashboard-authoring/text-card-words/chip-colors.d.ts +23 -0
  117. package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +90 -8
  118. package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +31 -3
  119. package/dist/types/shared/dashboard-authoring/text-card-words/variable-words.d.ts +8 -0
  120. package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +125 -0
  121. package/dist/types/shared/dashboard-authoring/variable-editability.d.ts +24 -0
  122. package/dist/types/shared/dashboard-authoring/variable-references.d.ts +39 -0
  123. package/dist/types/shared/format-utils/document-print.d.ts +4 -2
  124. package/dist/types/shared/format-utils/index.d.ts +1 -0
  125. package/dist/types/shared/format-utils/pdf-capacity-lines.d.ts +17 -0
  126. package/dist/types/shared/format-utils/pdf-delivery.d.ts +8 -1
  127. package/dist/types/shared/format-utils/pdf-export-policy.d.ts +74 -6
  128. package/dist/types/shared/format-utils/presentation-execution.d.ts +9 -0
  129. package/package.json +2 -2
  130. package/src/data-app-sdk/README.md +3 -3
  131. package/dist/chunks/bookmark-state-CWeoGbrx.js +0 -743
  132. package/dist/chunks/braces-DzgoQC64.js +0 -23
  133. package/dist/chunks/dashboard-briefing-launcher-TYlSW77S.js +0 -3828
  134. package/dist/chunks/filter-reach-copy-CvV7W5dd.js +0 -3965
  135. package/dist/chunks/global-date-filter-utils-N1kcsOFE.js +0 -16722
  136. package/dist/chunks/index-CJW5BdWT.js +0 -583
  137. package/dist/chunks/resolve-dashboard-input-context-DaDrZGuA.js +0 -8214
  138. package/dist/chunks/saved-dashboard-context-DFYBrE6O.js +0 -564
  139. package/dist/chunks/use-create-flow-overlay-state-BXY8-Cyz.js +0 -1436
@@ -1,12 +1,12 @@
1
1
  import { toSemaphorInputSnapshots as ce, toSemaphorInputBinding as le, toSemaphorSelectionSnapshots as de, toSemaphorActiveInputSnapshots as q, toSemaphorMatrixIntent as fe, toSemaphorSqlIntent as me, toSemaphorInputOptionsIntent as pe, toSemaphorRecordsIntent as ye, toSemaphorAnalysisQueryOptions as he, toSemaphorAnalysisIntent as ve, toSemaphorMetricIntent as ge, hasSemaphorInputValue as b, normalizeSemaphorInputOptions as G, toSemaphorInputSpec as Z } from "../data-app-sdk-adapters/index.js";
2
2
  import { j as Se } from "../chunks/index-CuHybtft.js";
3
- import { J as qe, K as x, s as Ie } from "../chunks/validators-BIM0FE31.js";
4
- import { a as Tt, aD as Nt } from "../chunks/validators-BIM0FE31.js";
5
- import { m as Ae, ao as we, an as be, A as F, S as W, I as ke } from "../chunks/matrix-operation-contract-DsLdFdSa.js";
3
+ import { J as qe, K as x, s as Ie } from "../chunks/validators-wtjw0aw6.js";
4
+ import { a as Tt, aD as Nt } from "../chunks/validators-wtjw0aw6.js";
5
+ import { m as Ae, ao as we, an as be, A as F, S as W, I as ke } from "../chunks/matrix-operation-contract-Eb6elidS.js";
6
6
  import "../chunks/analytics-base-schemas-BaIQrEzX.js";
7
7
  import "zod";
8
8
  import { createContext as Ke, useContext as Ee, useMemo as h, useEffect as M, useState as _, useCallback as S, useRef as D } from "react";
9
- import { r as J } from "../chunks/selection-reducer-Bz5aywT4.js";
9
+ import { r as J } from "../chunks/selection-reducer-OaJ-N5uN.js";
10
10
  import { jsx as De } from "react/jsx-runtime";
11
11
  function E(e, t, r) {
12
12
  return {
@@ -1,6 +1,6 @@
1
1
  import { n as y } from "../chunks/operators-B3zZoskU.js";
2
- import { m as v, s as m, p as I, a as S } from "../chunks/validators-BIM0FE31.js";
3
- import { a as F, c as b } from "../chunks/matrix-operation-contract-DsLdFdSa.js";
2
+ import { m as v, s as m, p as I, a as S } from "../chunks/validators-wtjw0aw6.js";
3
+ import { a as F, c as b } from "../chunks/matrix-operation-contract-Eb6elidS.js";
4
4
  import "../chunks/analytics-base-schemas-BaIQrEzX.js";
5
5
  import "zod";
6
6
  function w(i) {
@@ -1,11 +1,11 @@
1
- import { G as b, H as N, s as O, I as v, q as E, J as K, K as l } from "../chunks/validators-BIM0FE31.js";
2
- import { m as Q } from "../chunks/matrix-operation-contract-DsLdFdSa.js";
1
+ import { G as b, H as N, s as O, I as v, q as E, J as K, K as l } from "../chunks/validators-wtjw0aw6.js";
2
+ import { m as Q } from "../chunks/matrix-operation-contract-Eb6elidS.js";
3
3
  import "../chunks/analytics-base-schemas-BaIQrEzX.js";
4
4
  import "zod";
5
- import { p as W } from "../chunks/report-runtime-context-BITkNSDa.js";
6
- import { r as J } from "../chunks/source-entity-resolution-DdDVXFB8.js";
5
+ import { p as W } from "../chunks/report-runtime-context-DnA_PiKo.js";
6
+ import { r as J } from "../chunks/source-entity-resolution-DF6GulDn.js";
7
7
  import { toSemaphorMetricIntent as U, toSemaphorAnalysisIntent as G, toSemaphorRecordsIntent as V, toSemaphorSqlIntent as L, toSemaphorMatrixIntent as X, toSemaphorInputOptionsIntent as Y } from "../data-app-sdk-adapters/index.js";
8
- import { m as Z } from "../chunks/matrix-card-CCh9JjP1.js";
8
+ import { m as Z } from "../chunks/matrix-card-BSUeSXpD.js";
9
9
  function ee({
10
10
  intent: e,
11
11
  field: r,
@@ -1,23 +1,23 @@
1
- import { f as x, a as F } from "../chunks/temporal-input-presentation-sk9gqLi6.js";
2
- import { a5 as q, A as U, M as j, S as z, R as H, ae as K, a0 as W, a6 as Y, G, ak as J, ah as Q, W as Z, ai as ee, s as ae, a8 as re, Y as te, X as se, Z as oe, _ as le, y as ie, e as ne, o as me, m as ue, n as ce, d as pe, l as Ee, k as fe, j as Te, g as de, an as Ce, q as be, z as Re, h as xe, ac as Fe, ar as _e, b as he, u as Se, v as Pe, c as Ae, i as we, a1 as Ie, D as ve, E as ge, F as Me, B as ye, I as De, C as Ne, H as Oe, J as Xe, L as Le, V as ke, T as Be, aj as $e, N as Ve, U as qe, af as Ue, a9 as je, a7 as ze, ap as He, x as Ke, p as We, K as Ye, ao as Ge, am as Je, a4 as Qe, r as Ze, P as ea, Q as aa, ag as ra, aa as ta, t as sa, ad as oa, ab as la, a2 as ia, O as na, $ as ma, al as ua, a3 as ca, aq as pa, w as Ea } from "../chunks/temporal-input-presentation-sk9gqLi6.js";
3
- import { p as _, m as h, r as f, t as S } from "../chunks/comparison-window-caption-D1EUXzaR.js";
4
- import { D as Ta, x as da, y as Ca, J as ba, F as Ra, c as xa, M as Fa, b as _a, o as ha, l as Sa, P as Pa, u as Aa, q as wa, n as Ia, k as va, j as ga, g as Ma, B as ya, e as Da, f as Na, L as Oa, N as Xa, a as La, z as ka, h as Ba, i as $a, G as Va, s as qa, E as Ua, O as ja, A as za, C as Ha, K as Ka, v as Wa, w as Ya, d as Ga, I as Ja, H as Qa } from "../chunks/comparison-window-caption-D1EUXzaR.js";
5
- import { c as P } from "../chunks/export-file-format-C-tJsxsf.js";
6
- import { d as er, a as ar, C as rr, b as tr, D as sr, E as or, X as lr, f as ir, i as nr, j as mr, g as ur, n as cr, m as pr, o as Er, l as fr, e as Tr, p as dr, k as Cr, h as br, r as Rr, t as xr } from "../chunks/export-file-format-C-tJsxsf.js";
7
- import { E as _r, I as hr, R as Sr, c as Pr, p as Ar, a as wr, b as Ir, r as vr, s as gr, w as Mr } from "../chunks/rendered-file-D8xEuVVx.js";
8
- import { d as C } from "../chunks/table-export-sheet-bSXxGn-v.js";
9
- import { T as Dr, a as Nr, X as Or, b as Xr, k as Lr, l as kr, g as Br, h as $r, i as Vr, o as qr, e as Ur, p as jr, n as zr, c as Hr, s as Kr, j as Wr, q as Yr, m as Gr, t as Jr, w as Qr, f as Zr, x as et } from "../chunks/table-export-sheet-bSXxGn-v.js";
10
- import { t as T } from "../chunks/validators-BIM0FE31.js";
11
- import "../chunks/matrix-operation-contract-DsLdFdSa.js";
12
- import { S as rt, t as tt } from "../chunks/analytics-base-schemas-BaIQrEzX.js";
1
+ import { f as x, a as F } from "../chunks/temporal-input-presentation--2r9BLr0.js";
2
+ import { a6 as U, A as q, M as j, S as z, R as H, af as W, a1 as Y, a7 as K, G, al as Q, ai as J, W as Z, aj as ee, s as ae, a9 as re, Z as te, Y as se, _ as oe, $ as le, y as ie, e as ne, o as me, m as ue, n as ce, d as pe, l as Ee, k as fe, j as Te, g as de, ao as Ce, q as Re, z as be, h as xe, ad as Fe, as as _e, b as Pe, u as he, v as Se, c as Ae, i as we, a2 as Ie, D as ve, E as ye, F as Me, B as ge, I as De, C as Ne, H as Oe, J as Le, L as Xe, V as ke, T as Be, ak as $e, N as Ve, U as Ue, ag as qe, aa as je, a8 as ze, aq as He, x as We, p as Ye, K as Ke, ap as Ge, an as Qe, a5 as Je, r as Ze, P as ea, Q as aa, ah as ra, ab as ta, t as sa, ae as oa, ac as la, a3 as ia, O as na, a0 as ma, am as ua, a4 as ca, ar as pa, w as Ea, X as fa } from "../chunks/temporal-input-presentation--2r9BLr0.js";
3
+ import { p as _, m as P, r as f, t as h } from "../chunks/comparison-window-caption-CMLb3mut.js";
4
+ import { D as da, z as Ca, A as Ra, L as ba, F as xa, c as Fa, M as _a, b as Pa, o as ha, l as Sa, P as Aa, v as wa, q as Ia, n as va, k as ya, j as Ma, g as ga, E as Da, e as Na, f as Oa, O as La, Q as Xa, a as ka, B as Ba, w as $a, h as Va, i as Ua, I as qa, u as ja, s as za, H as Ha, R as Wa, C as Ya, G as Ka, N as Ga, x as Qa, y as Ja, d as Za, K as er, J as ar } from "../chunks/comparison-window-caption-CMLb3mut.js";
5
+ import { c as S } from "../chunks/export-file-format-C-tJsxsf.js";
6
+ import { d as tr, a as sr, C as or, b as lr, D as ir, E as nr, X as mr, f as ur, i as cr, j as pr, g as Er, n as fr, m as Tr, o as dr, l as Cr, e as Rr, p as br, k as xr, h as Fr, r as _r, t as Pr } from "../chunks/export-file-format-C-tJsxsf.js";
7
+ import { E as Sr, I as Ar, R as wr, c as Ir, p as vr, a as yr, b as Mr, r as gr, s as Dr, w as Nr } from "../chunks/rendered-file-D8xEuVVx.js";
8
+ import { d as C } from "../chunks/table-export-sheet--DUKWk6o.js";
9
+ import { T as Lr, a as Xr, X as kr, b as Br, k as $r, l as Vr, g as Ur, h as qr, i as jr, o as zr, e as Hr, p as Wr, n as Yr, c as Kr, s as Gr, j as Qr, q as Jr, m as Zr, t as et, w as at, f as rt, x as tt } from "../chunks/table-export-sheet--DUKWk6o.js";
10
+ import { t as T } from "../chunks/validators-wtjw0aw6.js";
11
+ import "../chunks/matrix-operation-contract-Eb6elidS.js";
12
+ import { S as ot, t as lt } from "../chunks/analytics-base-schemas-BaIQrEzX.js";
13
13
  import "zod";
14
- import { FAST_PDF_POLICY as ot, PDF_SAFETY_LIMIT_EXCEEDED as lt, PDF_TABLE_CARD_TYPES as it, getUtf8ByteLength as nt, isFastPdfOutputSizeEligible as mt, isFastPdfPageCountEligible as ut, isFastPdfRequestSizeEligible as ct, isFastPdfRowCountEligible as pt, isPdfTableCardType as Et } from "../pdf-export-policy/index.js";
15
- import { a as Tt, d as dt } from "../chunks/filter-value-text-CPwFkrMz.js";
16
- import { r as bt } from "../chunks/metric-comparison-Bnso1cm1.js";
17
- import { P as xt, d as Ft, p as _t } from "../chunks/pivot-result-contract-expectations-B53jqszr.js";
18
- import { P as St, b as Pt, c as At, r as wt, a as It } from "../chunks/pivot-result-identity-Dq5jm-EC.js";
19
- import { c as gt, p as Mt, v as yt } from "../chunks/raw-temporal-value-Bqz8wc7L.js";
20
- function b(a, t, l) {
14
+ import { FAST_PDF_POLICY as nt, PDF_CAPACITY as mt, PDF_CAPACITY_REFUSAL_CODES as ut, PDF_NUMBER_COLUMN_TOO_WIDE as ct, PDF_SAFETY_LIMIT_EXCEEDED as pt, PDF_TABLE_CARD_TYPES as Et, getUtf8ByteLength as ft, isFastPdfRequestSizeEligible as Tt, isFastPdfRowCountEligible as dt, isPdfCapacityRefusalCode as Ct, isPdfPageCountWithinCapacity as Rt, isPdfTableCardType as bt, readPdfCapacityFacts as xt } from "../pdf-export-policy/index.js";
15
+ import { a as _t, d as Pt } from "../chunks/filter-value-text-7zhmth1S.js";
16
+ import { r as St } from "../chunks/metric-comparison-ChXUFaZu.js";
17
+ import { P as wt, d as It, p as vt } from "../chunks/pivot-result-contract-expectations-Ddh1rNz5.js";
18
+ import { P as Mt, b as gt, c as Dt, r as Nt, a as Ot } from "../chunks/pivot-result-identity-BlbLrqaC.js";
19
+ import { c as Xt, p as kt, v as Bt } from "../chunks/raw-temporal-value-Bqz8wc7L.js";
20
+ function R(a, t, l) {
21
21
  return a.columns.map((s, r) => {
22
22
  var n;
23
23
  const o = `matrix:${r}`;
@@ -33,10 +33,10 @@ function b(a, t, l) {
33
33
  });
34
34
  });
35
35
  }
36
- function R(a, t, l) {
36
+ function b(a, t, l) {
37
37
  return t.map((s, r) => {
38
38
  const o = a.values[r];
39
- return S({ value: (o == null ? void 0 : o.kind) === "value" ? o.value : null, text: s, column: l[r] });
39
+ return h({ value: (o == null ? void 0 : o.kind) === "value" ? o.value : null, text: s, column: l[r] });
40
40
  });
41
41
  }
42
42
  function A(a, t) {
@@ -50,7 +50,7 @@ function A(a, t) {
50
50
  return l;
51
51
  }
52
52
  function O(a, t, l) {
53
- const s = _(a, t, l), r = b(a, s.formatting, s.headers);
53
+ const s = _(a, t, l), r = R(a, s.formatting, s.headers);
54
54
  return {
55
55
  /** Header bands as header rows (XL-D16), with merges from identity (XL-D34). */
56
56
  xlsxSheet: (o) => C({
@@ -63,17 +63,17 @@ function O(a, t, l) {
63
63
  xlsxRows: (o) => o.map((e) => ({
64
64
  role: e.kind === "layout" && e.role !== "member" ? "total" : "body",
65
65
  // No previous row: every label shows, whatever the screen's layout repeats.
66
- cells: R(e, s.row(e), r)
66
+ cells: b(e, s.row(e), r)
67
67
  }))
68
68
  };
69
69
  }
70
- function X(a, t) {
71
- const l = a.columns.map((r) => r.label), s = b(a, t, l);
70
+ function L(a, t) {
71
+ const l = a.columns.map((r) => r.label), s = R(a, t, l);
72
72
  return {
73
73
  /** One header row of the layout's column labels. */
74
74
  xlsxSheet: (r) => C({ title: r.title, columns: s, headerRows: r.includeHeaders ? [l] : [] }),
75
75
  /** Flat rows with the card's formats (MX-D10) and typed measure cells. */
76
- xlsxRows: (r) => r.map((o) => ({ role: "body", cells: R(o, h(o, a, t), s) }))
76
+ xlsxRows: (r) => r.map((o) => ({ role: "body", cells: b(o, P(o, a, t), s) }))
77
77
  };
78
78
  }
79
79
  function p(a) {
@@ -87,7 +87,7 @@ function d(a, t, l) {
87
87
  if (r)
88
88
  throw new Error(`${l} contains unknown property "${r}"`);
89
89
  }
90
- function L(a, t = "tableTotalsRequest") {
90
+ function X(a, t = "tableTotalsRequest") {
91
91
  if (!p(a))
92
92
  throw new Error(`${t} must be an object`);
93
93
  if (d(a, ["source", "columns"], t), a.source !== "documentFlatTable")
@@ -195,215 +195,222 @@ function B(a) {
195
195
  }), e = o ? w(r) : null;
196
196
  return o && e !== null ? F(e, o) : String(r);
197
197
  });
198
- return P(t, a.delimiter);
198
+ return S(t, a.delimiter);
199
199
  }
200
200
  export {
201
- er as CSV_CONTENT_TYPE,
202
- ar as CSV_DELIMITERS,
203
- rr as CSV_ENCODINGS,
204
- tr as CSV_RECORD_SEPARATOR,
205
- sr as DEFAULT_CSV_ENCODING,
206
- q as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
207
- Ta as DIRECT_CSV_EXPORT_MAX_ROWS,
208
- da as DOCUMENT_PAGE_FIT_TOLERANCE_PX,
209
- Ca as DOCUMENT_PRINT_FAILURE_CODES,
210
- _r as EMAIL_IMAGE_DASHBOARD_WIDTH,
211
- or as EXPORT_FILE_FORMATS,
212
- ot as FAST_PDF_POLICY,
201
+ tr as CSV_CONTENT_TYPE,
202
+ sr as CSV_DELIMITERS,
203
+ or as CSV_ENCODINGS,
204
+ lr as CSV_RECORD_SEPARATOR,
205
+ ir as DEFAULT_CSV_ENCODING,
206
+ U as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
207
+ da as DIRECT_CSV_EXPORT_MAX_ROWS,
208
+ Ca as DOCUMENT_PAGE_FIT_TOLERANCE_PX,
209
+ Ra as DOCUMENT_PRINT_FAILURE_CODES,
210
+ Sr as EMAIL_IMAGE_DASHBOARD_WIDTH,
211
+ nr as EXPORT_FILE_FORMATS,
212
+ nt as FAST_PDF_POLICY,
213
213
  ba as FILTER_LINE_MAX_LISTED_VALUES,
214
- Ra as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
215
- hr as IMAGE_CAPTURE_LIMITS,
216
- U as MATRIX_EXPORT_DECODED_PART_BYTES,
217
- xa as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
218
- Fa as MATRIX_EXPORT_MAX_CELLS,
219
- _a as MATRIX_EXPORT_MAX_ENCODED_BYTES,
214
+ xa as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
215
+ Ar as IMAGE_CAPTURE_LIMITS,
216
+ q as MATRIX_EXPORT_DECODED_PART_BYTES,
217
+ Fa as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
218
+ _a as MATRIX_EXPORT_MAX_CELLS,
219
+ Pa as MATRIX_EXPORT_MAX_ENCODED_BYTES,
220
220
  j as MATRIX_EXPORT_TRANSFER_BYTES,
221
221
  ha as MATRIX_PRINT_DEFAULT_DECIMALS,
222
222
  Sa as MATRIX_PRINT_ORGANIZATION_DEFAULTS,
223
223
  z as MissingResolvedRawTemporalFormatError,
224
- Pa as PDF_GROUP_CONTINUATION_CLASS,
225
- lt as PDF_SAFETY_LIMIT_EXCEEDED,
226
- it as PDF_TABLE_CARD_TYPES,
227
- Aa as PdfSafetyLimitError,
228
- xt as PivotHeaderPresentationError,
229
- St as PivotResultIdentityError,
224
+ mt as PDF_CAPACITY,
225
+ ut as PDF_CAPACITY_REFUSAL_CODES,
226
+ Aa as PDF_GROUP_CONTINUATION_CLASS,
227
+ ct as PDF_NUMBER_COLUMN_TOO_WIDE,
228
+ pt as PDF_SAFETY_LIMIT_EXCEEDED,
229
+ Et as PDF_TABLE_CARD_TYPES,
230
+ wa as PdfSafetyLimitError,
231
+ wt as PivotHeaderPresentationError,
232
+ Mt as PivotResultIdentityError,
230
233
  H as PresentationExecutionSnapshotError,
231
- Sr as RENDERED_FILE_KINDS,
232
- K as RawTemporalFormatContractError,
233
- rt as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
234
- Dr as TABLE_EXPORT_SHEET_SAMPLE_ROWS,
235
- W as TEMPORAL_BUCKET_PATTERN_TOKENS,
236
- Y as TemporalBucketContractError,
237
- lr as XLSX_CONTENT_TYPE,
238
- Nr as XLSX_LIMIT_FAILURE_REASONS,
239
- Or as XlsxLimitError,
240
- wa as applyMatrixPrintNumberDefaults,
241
- Ia as applyMatrixPrintOrganization,
234
+ wr as RENDERED_FILE_KINDS,
235
+ W as RawTemporalFormatContractError,
236
+ ot as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
237
+ Lr as TABLE_EXPORT_SHEET_SAMPLE_ROWS,
238
+ Y as TEMPORAL_BUCKET_PATTERN_TOKENS,
239
+ K as TemporalBucketContractError,
240
+ mr as XLSX_CONTENT_TYPE,
241
+ Xr as XLSX_LIMIT_FAILURE_REASONS,
242
+ kr as XlsxLimitError,
243
+ Ia as applyMatrixPrintNumberDefaults,
244
+ va as applyMatrixPrintOrganization,
242
245
  G as assertMatrixBatchResponseSize,
243
- J as assertRawTemporalChunkClassificationAgreement,
244
- Xr as assertXlsxColumnCount,
246
+ Q as assertRawTemporalChunkClassificationAgreement,
247
+ Br as assertXlsxColumnCount,
245
248
  B as buildFlatTableExportTotalsFooter,
246
- va as buildMatrixPrintTable,
247
- ga as buildMatrixTableStructure,
248
- Pr as cardImageSize,
249
- Q as classifyDeclaredSqlTemporalColumn,
250
- gt as classifyTemporalLiteral,
249
+ ya as buildMatrixPrintTable,
250
+ Ma as buildMatrixTableStructure,
251
+ Ir as cardImageSize,
252
+ J as classifyDeclaredSqlTemporalColumn,
253
+ Xt as classifyTemporalLiteral,
251
254
  Z as createPresentationExecutionSnapshot,
252
255
  ee as createRawTemporalChunkClassificationEvidence,
253
- ir as csvFilePreamble,
254
- P as csvRecord,
255
- nr as csvRecords,
256
- Ma as dataExportRoute,
256
+ ur as csvFilePreamble,
257
+ S as csvRecord,
258
+ cr as csvRecords,
259
+ ga as dataExportRoute,
257
260
  ae as dateWallClock,
258
- Lr as defineTableExportSheet,
261
+ $r as defineTableExportSheet,
259
262
  C as defineXlsxSheet,
260
- Ft as deriveMetricInstanceAliasExpectations,
261
- Tt as describeConditionInFullDetail,
262
- ya as describeDocumentPrintFailure,
263
- dt as describeFilterValueInFullDetail,
263
+ It as deriveMetricInstanceAliasExpectations,
264
+ _t as describeConditionInFullDetail,
265
+ Da as describeDocumentPrintFailure,
266
+ Pt as describeFilterValueInFullDetail,
264
267
  re as describeTemporalBucketCalendar,
265
- mr as encodeCsvFile,
266
- kr as encodeTableExportWorkbook,
267
- Br as encodeXlsxFile,
268
- $r as encodeXlsxRows,
269
- ur as escapeCSVValue,
270
- Da as exportCellText,
271
- cr as exportFileFormatFromContentType,
272
- pr as exportFileFormatFromStored,
273
- Er as exportFileName,
274
- fr as exportFileTraits,
268
+ pr as encodeCsvFile,
269
+ Vr as encodeTableExportWorkbook,
270
+ Ur as encodeXlsxFile,
271
+ qr as encodeXlsxRows,
272
+ Er as escapeCSVValue,
273
+ Na as exportCellText,
274
+ fr as exportFileFormatFromContentType,
275
+ Tr as exportFileFormatFromStored,
276
+ dr as exportFileName,
277
+ Cr as exportFileTraits,
275
278
  te as findResolvedDateFormat,
276
279
  x as findResolvedMeasureFormat,
277
280
  se as findResolvedNumericFormat,
278
281
  oe as findResolvedRawTemporalFormat,
279
282
  le as findResolvedTemporalBucketFormat,
280
- Na as formatCanonicalComparisonRange,
283
+ Oa as formatCanonicalComparisonRange,
281
284
  ie as formatCellValue,
282
285
  ne as formatCurrency,
283
286
  me as formatDate,
284
287
  ue as formatDuration,
285
288
  ce as formatDurationCanonical,
286
- Oa as formatFilterCondition,
289
+ La as formatFilterCondition,
287
290
  Xa as formatFilterLine,
288
291
  F as formatMeasureCanonical,
289
- La as formatMetricComparison,
292
+ ka as formatMetricComparison,
290
293
  pe as formatNumber,
291
294
  Ee as formatNumberCustom,
292
295
  fe as formatNumberWithColumnSettings,
293
296
  Te as formatNumericCanonical,
294
297
  de as formatPercent,
295
298
  Ce as formatRawTemporalValue,
296
- be as formatRelativeTime,
297
- Re as formatRowForExport,
299
+ Re as formatRelativeTime,
300
+ be as formatRowForExport,
298
301
  xe as formatScientific,
299
302
  Fe as formatTemporalBucket,
300
303
  _e as formatTemporalInputValue,
301
- he as fromSemanticFormat,
302
- Se as getTimezoneAbbreviation,
303
- Pe as getTimezoneName,
304
- nt as getUtf8ByteLength,
305
- ka as isDocumentPrintFailureCode,
306
- mt as isFastPdfOutputSizeEligible,
307
- ut as isFastPdfPageCountEligible,
308
- ct as isFastPdfRequestSizeEligible,
309
- pt as isFastPdfRowCountEligible,
304
+ Pe as fromSemanticFormat,
305
+ he as getTimezoneAbbreviation,
306
+ Se as getTimezoneName,
307
+ ft as getUtf8ByteLength,
308
+ Ba as isDocumentPrintFailureCode,
309
+ Tt as isFastPdfRequestSizeEligible,
310
+ dt as isFastPdfRowCountEligible,
310
311
  Ae as isMeasureCanonicalFormat,
311
312
  we as isNumericCanonicalFormat,
312
- Et as isPdfTableCardType,
313
+ Ct as isPdfCapacityRefusalCode,
314
+ Rt as isPdfPageCountWithinCapacity,
315
+ $a as isPdfRefusalCode,
316
+ bt as isPdfTableCardType,
313
317
  Ie as isTemporalBucketPreset,
314
- Vr as isXlsxLimitError,
318
+ jr as isXlsxLimitError,
315
319
  ve as matrixAttemptKey,
316
- ge as matrixBatchInputSchema,
320
+ ye as matrixBatchInputSchema,
317
321
  Me as matrixBatchResponseSchema,
318
- ye as matrixExportDeadlineSchema,
319
- Ba as matrixFlatCsvHeaders,
320
- $a as matrixFlatCsvRow,
321
- h as matrixFlatRowText,
322
+ ge as matrixExportDeadlineSchema,
323
+ Va as matrixFlatCsvHeaders,
324
+ Ua as matrixFlatCsvRow,
325
+ P as matrixFlatRowText,
322
326
  De as matrixManifestSchema,
323
- Tr as parseCsvDelimiter,
324
- dr as parseCsvEncoding,
325
- Cr as parseExportFileFormat,
327
+ Rr as parseCsvDelimiter,
328
+ br as parseCsvEncoding,
329
+ xr as parseExportFileFormat,
326
330
  k as parseFlatTableExportTotalsByColumnId,
327
- L as parseFlatTableExportTotalsRequest,
328
- Ar as parseImageCaptureRequest,
331
+ X as parseFlatTableExportTotalsRequest,
332
+ vr as parseImageCaptureRequest,
329
333
  Ne as parseMatrixAttemptKey,
330
334
  Oe as parseMatrixBatchResponse,
331
- Xe as parseMatrixManifest,
332
- Le as parseNumericCanonicalFormat,
335
+ Le as parseMatrixManifest,
336
+ Xe as parseNumericCanonicalFormat,
333
337
  ke as parsePresentationExecutionSnapshot,
334
338
  Be as parsePresentationScope,
335
339
  $e as parseRawTemporalChunkClassificationEvidence,
336
- Mt as parseRawTemporalValueMetadata,
340
+ kt as parseRawTemporalValueMetadata,
337
341
  Ve as parseResolvedNumericCanonicalFormat,
338
- qe as parseResolvedPresentationEntries,
339
- Ue as parseResolvedRawTemporalFormat,
342
+ Ue as parseResolvedPresentationEntries,
343
+ qe as parseResolvedRawTemporalFormat,
340
344
  je as parseResolvedTemporalBucketFormat,
341
- Va as parseTableExportFormatting,
342
- qr as parseTableExportSheetColumns,
345
+ qa as parseTableExportFormatting,
346
+ zr as parseTableExportSheetColumns,
343
347
  ze as parseTemporalBucketValue,
344
348
  He as parseTemporalInputPresentation,
345
- Ke as parseWithSourceTimezone,
346
- Ur as parseXlsxColumns,
347
- jr as parseXlsxSheet,
348
- We as pickColumnFormat,
349
- wr as planImageViewport,
350
- qa as planMatrixKeepWithPrevious,
349
+ We as parseWithSourceTimezone,
350
+ Hr as parseXlsxColumns,
351
+ Wr as parseXlsxSheet,
352
+ ja as pdfCapacityRefusalLine,
353
+ Ye as pickColumnFormat,
354
+ yr as planImageViewport,
355
+ za as planMatrixKeepWithPrevious,
351
356
  _ as prepareMatrixExportPresentation,
352
- X as prepareMatrixFlatXlsxPresentation,
353
- Ye as prepareMatrixFormatting,
357
+ L as prepareMatrixFlatXlsxPresentation,
358
+ Ke as prepareMatrixFormatting,
354
359
  O as prepareMatrixXlsxPresentation,
355
360
  Ge as prepareRawDateColumn,
356
- Je as prepareRawTemporalFormatter,
357
- Ua as prepareTableExport,
358
- _t as presentPivotHeader,
359
- br as protectCSVText,
360
- ja as readAttachmentFilterLineValues,
361
- za as readDocumentPrintFailureFacts,
362
- Ha as readDocumentPrintLayout,
363
- Ka as readNamedRelativeWindow,
364
- Wa as readPdfErrorResponse,
365
- Ir as renderedFileName,
366
- vr as renderedFileTraits,
367
- Ya as requestStructuredPdf,
368
- Pt as requirePivotHeaderMembers,
369
- At as requirePivotResultColumnIdentities,
370
- Ga as requiresChunkedCsvExport,
371
- Ja as requiresRawTemporalSqlChunkEvidence,
372
- Qe as resolveApplicableTemporalBucketFormat,
361
+ Qe as prepareRawTemporalFormatter,
362
+ Ha as prepareTableExport,
363
+ vt as presentPivotHeader,
364
+ Fr as protectCSVText,
365
+ Wa as readAttachmentFilterLineValues,
366
+ Ya as readDocumentPrintFailureFacts,
367
+ Ka as readDocumentPrintLayout,
368
+ Ga as readNamedRelativeWindow,
369
+ xt as readPdfCapacityFacts,
370
+ Qa as readPdfErrorResponse,
371
+ Mr as renderedFileName,
372
+ gr as renderedFileTraits,
373
+ Ja as requestStructuredPdf,
374
+ gt as requirePivotHeaderMembers,
375
+ Dt as requirePivotResultColumnIdentities,
376
+ Za as requiresChunkedCsvExport,
377
+ er as requiresRawTemporalSqlChunkEvidence,
378
+ Je as resolveApplicableTemporalBucketFormat,
373
379
  Ze as resolveColumnFormat,
374
- Rr as resolveCsvEncoding,
380
+ _r as resolveCsvEncoding,
375
381
  ea as resolveCurrencyFractionDigits,
376
- bt as resolveMetricResultAlias,
382
+ St as resolveMetricResultAlias,
377
383
  aa as resolveNumericPresentation,
378
- wt as resolveQueryColumnKeyMapEntry,
384
+ Nt as resolveQueryColumnKeyMapEntry,
379
385
  ra as resolveRawTemporalFormat,
380
386
  ta as resolveTemporalBucketPresentation,
381
387
  sa as resolveTimezone,
382
- It as resolveUniqueQueryColumnKeyMapEntry,
388
+ Ot as resolveUniqueQueryColumnKeyMapEntry,
383
389
  f as resolveXlsxColumn,
384
- zr as serializeTableExportSheetColumns,
385
- Hr as serializeXlsxColumns,
386
- Kr as serializeXlsxSheet,
387
- gr as sheetImageEntryName,
390
+ Yr as serializeTableExportSheetColumns,
391
+ Kr as serializeXlsxColumns,
392
+ Gr as serializeXlsxSheet,
393
+ Dr as sheetImageEntryName,
388
394
  oa as storedRawDatePresentation,
389
- Wr as streamXlsxFile,
390
- Qa as tableExportFormattingFromOptions,
391
- Yr as tableExportJobSheet,
392
- Gr as tableExportSheetColumns,
393
- Jr as tableExportXlsxRows,
395
+ Qr as streamXlsxFile,
396
+ ar as tableExportFormattingFromOptions,
397
+ Jr as tableExportJobSheet,
398
+ Zr as tableExportSheetColumns,
399
+ et as tableExportXlsxRows,
394
400
  la as temporalBucketWallClock,
395
- xr as toCsvCell,
396
- tt as toStoredValueFormat,
401
+ Pr as toCsvCell,
402
+ lt as toStoredValueFormat,
397
403
  ia as tokenizeTemporalBucketPattern,
398
404
  na as validateCardExportNumericPresentationSnapshot,
399
405
  ma as validateCardExportPresentationSnapshot,
400
406
  ua as validateRawTemporalPattern,
401
- yt as validateRawTemporalResultColumn,
407
+ Bt as validateRawTemporalResultColumn,
402
408
  ca as validateTemporalBucketFormatApplicability,
403
409
  pa as validateTemporalInputPattern,
404
410
  Ea as withLiveModelFormats,
405
- Qr as withXlsxSheetColumns,
406
- Mr as writeImageCaptureRequest,
407
- Zr as xlsxColumnsFingerprint,
408
- et as xlsxLimitFailureReason
411
+ fa as withMissingPresentationEntries,
412
+ at as withXlsxSheetColumns,
413
+ Nr as writeImageCaptureRequest,
414
+ rt as xlsxColumnsFingerprint,
415
+ tt as xlsxLimitFailureReason
409
416
  };