react-semaphor 0.1.514 → 0.1.516

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 (228) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +226 -225
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +8 -8
  7. package/dist/chunks/{calculated-field-identity-BiTGmnST.cjs → calculated-field-identity-5bg9oHTw.cjs} +1 -1
  8. package/dist/chunks/{calculated-field-identity-DnRd4YIY.js → calculated-field-identity-DzJBs2J8.js} +4 -4
  9. package/dist/chunks/{card-config-utils-B2cDWQqB.js → card-config-utils-Cxnq2R6z.js} +14 -14
  10. package/dist/chunks/{card-config-utils-CMO4_zVs.cjs → card-config-utils-z86y6tSq.cjs} +1 -1
  11. package/dist/chunks/column-bands-CU0byntA.cjs +1 -0
  12. package/dist/chunks/column-bands-RdM-kjDe.js +47 -0
  13. package/dist/chunks/{dashboard-briefing-launcher-e3s3MuSs.js → dashboard-briefing-launcher-BCEHJ_eD.js} +15 -12
  14. package/dist/chunks/{dashboard-briefing-launcher-BzPD50QD.cjs → dashboard-briefing-launcher-CjZ4aE34.cjs} +2 -2
  15. package/dist/chunks/{dashboard-controls-DAOABnks.js → dashboard-controls-DFfit5KH.js} +12 -12
  16. package/dist/chunks/{dashboard-controls-DQBfOqmC.cjs → dashboard-controls-f9aJ70Zu.cjs} +1 -1
  17. package/dist/chunks/{dashboard-date-comparison-definition-D7Bl-YAl.js → dashboard-date-comparison-definition-BqNhECUr.js} +6 -6
  18. package/dist/chunks/{dashboard-date-comparison-definition-C_w-GO_5.cjs → dashboard-date-comparison-definition-Y6JZwpcr.cjs} +1 -1
  19. package/dist/chunks/{dashboard-json-S5Eq2GAg.js → dashboard-json-DVtcA02f.js} +7 -7
  20. package/dist/chunks/{dashboard-json-1jZycd5h.cjs → dashboard-json-deqQC-UR.cjs} +1 -1
  21. package/dist/chunks/edit-dashboard-visual-DK6lSC_p.cjs +172 -0
  22. package/dist/chunks/{edit-dashboard-visual-Bkm0ciHG.js → edit-dashboard-visual-lJ6rDH3w.js} +4553 -4542
  23. package/dist/chunks/{editor-action-buttons-Bvv16QA-.js → editor-action-buttons-Bnxxa439.js} +7 -7
  24. package/dist/chunks/{editor-action-buttons-B2NCSsDw.cjs → editor-action-buttons-CmDaQbPN.cjs} +1 -1
  25. package/dist/chunks/{field-aggregations-CzuQKtqx.js → field-aggregations-Dl2A3rbV.js} +461 -358
  26. package/dist/chunks/field-aggregations-pH_3kymD.cjs +1 -0
  27. package/dist/chunks/{field-dependencies-DIab72rQ.cjs → field-dependencies-EB485TdB.cjs} +1 -1
  28. package/dist/chunks/{field-dependencies-DXW4jtvJ.js → field-dependencies-v-lJNzC7.js} +1 -1
  29. package/dist/chunks/{index-nhUr9xBz.js → index-BVVl2JDK.js} +57955 -54696
  30. package/dist/chunks/{index-CACdoqu3.js → index-C8w91oj4.js} +61 -51
  31. package/dist/chunks/index-Cw2ypaFl.cjs +1 -0
  32. package/dist/chunks/index-DfqMtR9S.cjs +4 -0
  33. package/dist/chunks/index-UNKSfi7s.cjs +1434 -0
  34. package/dist/chunks/{index-CnGVjyF8.js → index-ylOpKRDu.js} +877 -849
  35. package/dist/chunks/{matrix-analytical-definition-Ct5Tu8np.cjs → matrix-analytical-definition-BWd159lN.cjs} +1 -1
  36. package/dist/chunks/{matrix-analytical-definition-BDAK2aEi.js → matrix-analytical-definition-BimC4XIV.js} +1 -1
  37. package/dist/chunks/{matrix-card-U4c72doZ.cjs → matrix-card-C2RjEYZ8.cjs} +1 -1
  38. package/dist/chunks/{matrix-card-DOIeTmjh.js → matrix-card-CIlz0Dnp.js} +2 -2
  39. package/dist/chunks/{matrix-control-sources-FjxGIbqk.cjs → matrix-control-sources-BvEJF7d3.cjs} +1 -1
  40. package/dist/chunks/{matrix-control-sources-BxKH2yu2.js → matrix-control-sources-KbZe1gj_.js} +51 -51
  41. package/dist/chunks/{matrix-definition-CBJW_4ii.cjs → matrix-definition-DanUT11P.cjs} +1 -1
  42. package/dist/chunks/{matrix-definition-I9rHB9zN.js → matrix-definition-E5gXXSTZ.js} +1 -1
  43. package/dist/chunks/matrix-formatter-BJTO8ky9.cjs +1 -0
  44. package/dist/chunks/matrix-formatter-CCXNRt3s.js +341 -0
  45. package/dist/chunks/{matrix-member-presentation-DO1VSqfh.js → matrix-member-presentation-Bw7-JCrr.js} +64 -64
  46. package/dist/chunks/matrix-member-presentation-DvXDEo0U.cjs +1 -0
  47. package/dist/chunks/{matrix-operation-contract-DoiWTUbT.cjs → matrix-operation-contract-0RxoU_M3.cjs} +1 -1
  48. package/dist/chunks/{matrix-operation-contract-D0HfzwZg.js → matrix-operation-contract-D32U2CSw.js} +19 -19
  49. package/dist/chunks/{metric-comparison-Dqc7_tnW.js → metric-comparison-BphoJ9bq.js} +1 -1
  50. package/dist/chunks/{metric-comparison-DBQ3EJTz.cjs → metric-comparison-CUmltzpz.cjs} +1 -1
  51. package/dist/chunks/pivot-header-presentation-BSZhB1g-.js +661 -0
  52. package/dist/chunks/pivot-header-presentation-EoUS5ze5.cjs +5 -0
  53. package/dist/chunks/{pivot-result-identity-8M-bZrw9.js → pivot-result-identity-BzUQiCEV.js} +4 -4
  54. package/dist/chunks/{pivot-result-identity-uTiylUNr.cjs → pivot-result-identity-gquWljbd.cjs} +1 -1
  55. package/dist/chunks/pivot-result-lifecycle-gl9cBfB-.cjs +1 -0
  56. package/dist/chunks/{pivot-result-lifecycle-BeOpjAhg.js → pivot-result-lifecycle-kRhiJkzg.js} +208 -149
  57. package/dist/chunks/{raw-temporal-DrmCX9Wq.js → raw-temporal-BqOfk-xN.js} +471 -361
  58. package/dist/chunks/{raw-temporal-contract-CFLGwTiI.js → raw-temporal-contract-BQZIJ1fn.js} +1 -1
  59. package/dist/chunks/{raw-temporal-contract-DECbTuzA.cjs → raw-temporal-contract-CklMVG_1.cjs} +1 -1
  60. package/dist/chunks/raw-temporal-eJXecCyJ.cjs +1 -0
  61. package/dist/chunks/{report-preferences-dialog-B2fzQH1T.js → report-preferences-dialog-CHXPEl7v.js} +6 -6
  62. package/dist/chunks/{report-preferences-dialog-DcLkVqni.cjs → report-preferences-dialog-Cto0vDwI.cjs} +1 -1
  63. package/dist/chunks/{report-runtime-context-Cs65Mrxj.js → report-runtime-context-CxIoGyNM.js} +1 -1
  64. package/dist/chunks/{report-runtime-context-DzvHBPxl.cjs → report-runtime-context-CzSrCBsu.cjs} +1 -1
  65. package/dist/chunks/{selection-reducer-BIiQXbGM.js → selection-reducer-CvCBQbl2.js} +1 -1
  66. package/dist/chunks/{selection-reducer-CGKKsaPa.cjs → selection-reducer-Kl22OzIk.cjs} +1 -1
  67. package/dist/chunks/{semantic-format-BZxJLKvw.js → semantic-format-DwqGYx4V.js} +25 -31
  68. package/dist/chunks/semantic-format-mVI32OJH.cjs +1 -0
  69. package/dist/chunks/{source-entity-resolution-D7vnmDwm.js → source-entity-resolution-Bzefiive.js} +7 -7
  70. package/dist/chunks/{source-entity-resolution-CjbgnwyX.cjs → source-entity-resolution-R46X34SE.cjs} +1 -1
  71. package/dist/chunks/switch-DNbWXEOP.cjs +134 -0
  72. package/dist/chunks/{switch-QfKb0Iwe.js → switch-DNv-hVmt.js} +8260 -7659
  73. package/dist/chunks/{temporal-bucket-B9hMwemw.js → temporal-bucket-DlFuhCnT.js} +6 -6
  74. package/dist/chunks/{temporal-bucket-contract-IWDgyTMw.js → temporal-bucket-contract-DTLDRzgV.js} +1 -1
  75. package/dist/chunks/{temporal-bucket-contract-ZctiyXYk.cjs → temporal-bucket-contract-nTv6gvX5.cjs} +1 -1
  76. package/dist/chunks/{token-types-Dl0hcKBX.js → token-types-BC6RcUY8.js} +1 -1
  77. package/dist/chunks/{token-types-Ahh5u4iT.cjs → token-types-aWrzwonf.cjs} +1 -1
  78. package/dist/chunks/{update-policy-COjFudhl.cjs → update-policy-DRDLWe7Y.cjs} +1 -1
  79. package/dist/chunks/{update-policy-BeQqjupC.js → update-policy-DhAUtiC8.js} +2 -2
  80. package/dist/chunks/{validators-CkHsAvwB.js → validators-CsdOtZI6.js} +411 -397
  81. package/dist/chunks/validators-DFeDcdpA.cjs +1 -0
  82. package/dist/dashboard/index.cjs +1 -1
  83. package/dist/dashboard/index.js +1 -1
  84. package/dist/dashboard-authoring/index.cjs +3 -3
  85. package/dist/dashboard-authoring/index.js +233 -227
  86. package/dist/data-app-builder/index.cjs +1 -1
  87. package/dist/data-app-builder/index.js +3 -3
  88. package/dist/data-app-codegen/index.cjs +1 -1
  89. package/dist/data-app-codegen/index.js +2 -2
  90. package/dist/data-app-codegen-node/index.cjs +1 -1
  91. package/dist/data-app-codegen-node/index.js +3 -3
  92. package/dist/data-app-sdk/index.cjs +1 -1
  93. package/dist/data-app-sdk/index.js +5 -5
  94. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  95. package/dist/data-app-sdk-adapters/index.js +2 -2
  96. package/dist/data-app-sdk-validation/index.cjs +1 -1
  97. package/dist/data-app-sdk-validation/index.js +5 -5
  98. package/dist/format-utils/index.cjs +3 -3
  99. package/dist/format-utils/index.js +291 -397
  100. package/dist/index.cjs +1 -1
  101. package/dist/index.js +15 -15
  102. package/dist/pdf-table-layout/index.cjs +1 -0
  103. package/dist/pdf-table-layout/index.js +993 -0
  104. package/dist/report-runtime-context/index.cjs +1 -1
  105. package/dist/report-runtime-context/index.js +2 -2
  106. package/dist/style.css +1 -1
  107. package/dist/surfboard/index.cjs +1 -1
  108. package/dist/surfboard/index.js +2 -2
  109. package/dist/types/briefings/index.d.ts +1 -1
  110. package/dist/types/components/document-sheet/document-input-bar.d.ts +1 -3
  111. package/dist/types/components/document-sheet/document-insert-picker.d.ts +37 -0
  112. package/dist/types/components/document-sheet/document-kpi-section.d.ts +17 -0
  113. package/dist/types/components/document-sheet/document-matrix-layout-context.d.ts +10 -0
  114. package/dist/types/components/document-sheet/document-matrix-section.d.ts +27 -0
  115. package/dist/types/components/document-sheet/document-measure-layer.d.ts +45 -0
  116. package/dist/types/components/document-sheet/document-outline.d.ts +7 -1
  117. package/dist/types/components/document-sheet/document-page-navigation.d.ts +22 -0
  118. package/dist/types/components/document-sheet/document-page.d.ts +9 -5
  119. package/dist/types/components/document-sheet/document-panel/document-side-panel.d.ts +36 -0
  120. package/dist/types/components/document-sheet/document-panel/inputs-panel.d.ts +9 -0
  121. package/dist/types/components/document-sheet/document-panel/page-panel.d.ts +5 -0
  122. package/dist/types/components/document-sheet/document-panel/panel-controls.d.ts +14 -0
  123. package/dist/types/components/document-sheet/document-panel/region-panels.d.ts +11 -0
  124. package/dist/types/components/document-sheet/document-panel/section-panel.d.ts +25 -0
  125. package/dist/types/components/document-sheet/document-section-print-boundary.d.ts +9 -0
  126. package/dist/types/components/document-sheet/document-table-chrome.d.ts +22 -0
  127. package/dist/types/components/document-sheet/document-table-section.d.ts +3 -7
  128. package/dist/types/components/document-sheet/document-text-preview-context.d.ts +8 -0
  129. package/dist/types/components/document-sheet/use-first-fitting-variant.d.ts +18 -0
  130. package/dist/types/components/editor/editor-main/dashboard-variable-node.d.ts +12 -2
  131. package/dist/types/components/explorer/chart-configuration/matrix-authoring-controls.d.ts +7 -2
  132. package/dist/types/components/text-variables/variable-chip-plugin.d.ts +23 -0
  133. package/dist/types/components/text-variables/variable-chip.d.ts +18 -0
  134. package/dist/types/components/text-variables/variable-picker.d.ts +27 -0
  135. package/dist/types/components/visual/aggregated-table/utils/metric-format-resolver.d.ts +3 -3
  136. package/dist/types/components/visual/data-table/types/data-table.d.ts +4 -1
  137. package/dist/types/components/visual/pivot-table/utils/pivot-metric-formatting.d.ts +2 -2
  138. package/dist/types/components/visual/settings/table-presentation-settings.d.ts +27 -1
  139. package/dist/types/index.cjs +1 -1
  140. package/dist/types/index.js +5 -5
  141. package/dist/types/lib/dashboard-inputs/text-variable-options.d.ts +15 -0
  142. package/dist/types/lib/document/document-canvas-actions.d.ts +22 -0
  143. package/dist/types/lib/document/document-edits.d.ts +119 -0
  144. package/dist/types/lib/document/document-kpi-figure.d.ts +27 -0
  145. package/dist/types/lib/document/document-kpi-layout.d.ts +29 -0
  146. package/dist/types/lib/document/document-kpi-section-edits.d.ts +15 -0
  147. package/dist/types/lib/document/document-matrix-bands.d.ts +66 -0
  148. package/dist/types/lib/document/document-matrix-print.d.ts +11 -0
  149. package/dist/types/lib/document/document-pagination.d.ts +56 -3
  150. package/dist/types/lib/document/document-panel-target.d.ts +19 -0
  151. package/dist/types/lib/document/document-section-editor.d.ts +8 -7
  152. package/dist/types/lib/document/document-section-kinds.d.ts +49 -0
  153. package/dist/types/lib/document/document-section-query-options.d.ts +25 -0
  154. package/dist/types/lib/document/document-section-render-state.d.ts +26 -0
  155. package/dist/types/lib/document/document-section-utils.d.ts +11 -4
  156. package/dist/types/lib/document/document-table-dom.d.ts +4 -6
  157. package/dist/types/lib/document/document-table-pagination-model.d.ts +0 -5
  158. package/dist/types/lib/document/document-table-print-model.d.ts +4 -3
  159. package/dist/types/lib/document/document-table-style.d.ts +15 -4
  160. package/dist/types/lib/document/document-table-surface.d.ts +15 -0
  161. package/dist/types/lib/document/document-variables.d.ts +40 -6
  162. package/dist/types/lib/document/use-document-section-data.d.ts +39 -0
  163. package/dist/types/lib/document/use-measured-document-table-layout.d.ts +50 -0
  164. package/dist/types/lib/formatters/kpi-result-values.d.ts +20 -0
  165. package/dist/types/lib/formatters/metric-formatting.d.ts +3 -3
  166. package/dist/types/lib/hooks/query-context/use-dashboard-card-execution-snapshot.d.ts +8 -2
  167. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +6 -0
  168. package/dist/types/lib/hooks/use-dashboard-kpi-actions.d.ts +1 -1
  169. package/dist/types/lib/hooks/use-document-section-editor.d.ts +2 -2
  170. package/dist/types/lib/hooks/use-document-section-session.d.ts +36 -0
  171. package/dist/types/lib/hooks/use-editor-preview.d.ts +17 -0
  172. package/dist/types/lib/hooks/use-is-editing-card.d.ts +7 -0
  173. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +2 -0
  174. package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +2 -0
  175. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +4 -0
  176. package/dist/types/lib/matrix-table/matrix-layout-read.d.ts +68 -0
  177. package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +8 -1
  178. package/dist/types/lib/query-context/build-dashboard-frame-base-query-contexts.d.ts +4 -2
  179. package/dist/types/lib/query-context/card-execution.d.ts +30 -0
  180. package/dist/types/lib/query-context/document-section-card-query.d.ts +37 -0
  181. package/dist/types/lib/stores/dashboard-store.d.ts +12 -8
  182. package/dist/types/lib/stores/editor-store.d.ts +2 -0
  183. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +1 -0
  184. package/dist/types/lib/text-variables/text-variable-types.d.ts +39 -0
  185. package/dist/types/lib/types/common-types.d.ts +34 -1
  186. package/dist/types/lib/utils/card-definition.d.ts +2 -0
  187. package/dist/types/lib/utils/card-utils.d.ts +13 -6
  188. package/dist/types/lib/utils/date-timezone-utils.d.ts +26 -4
  189. package/dist/types/pdf-table-layout.d.ts +2 -0
  190. package/dist/types/shared/analytics-protocol/index.d.ts +1 -1
  191. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +45 -0
  192. package/dist/types/shared/analytics-protocol/matrix-member-presentation.d.ts +4 -0
  193. package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +56 -0
  194. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  195. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +36 -1
  196. package/dist/types/shared/format-utils/formatters/duration-formatter.d.ts +4 -1
  197. package/dist/types/shared/format-utils/formatters/index.d.ts +2 -2
  198. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +5 -0
  199. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +8 -2
  200. package/dist/types/shared/format-utils/index.d.ts +1 -0
  201. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +690 -1
  202. package/dist/types/shared/format-utils/matrix-print.d.ts +38 -0
  203. package/dist/types/shared/format-utils/pdf-table-layout/column-bands.d.ts +55 -0
  204. package/dist/types/shared/format-utils/pdf-table-layout/index.d.ts +6 -0
  205. package/dist/types/shared/format-utils/pdf-table-layout/page-size.d.ts +7 -0
  206. package/dist/types/shared/format-utils/pdf-table-layout/table-column-semantics.d.ts +106 -0
  207. package/dist/types/shared/format-utils/pdf-table-layout/table-column-widths.d.ts +13 -0
  208. package/dist/types/shared/format-utils/pdf-table-layout/table-page-geometry.d.ts +19 -0
  209. package/dist/types/shared/format-utils/pdf-table-layout/wide-table-layout.d.ts +46 -0
  210. package/dist/types/shared/format-utils/presentation-execution.d.ts +17 -2
  211. package/dist/types/shared/format-utils/table-structure.d.ts +9 -0
  212. package/dist/types/shared/format-utils/types/format-types.d.ts +16 -1
  213. package/package.json +6 -1
  214. package/dist/chunks/edit-dashboard-visual-BwJ2Eljw.cjs +0 -172
  215. package/dist/chunks/field-aggregations-jSi77h9Z.cjs +0 -1
  216. package/dist/chunks/index-DhlVxvyI.cjs +0 -4
  217. package/dist/chunks/index-DrOFJOCq.cjs +0 -1424
  218. package/dist/chunks/index-F25jnH0p.cjs +0 -1
  219. package/dist/chunks/matrix-formatter-BLunke3R.js +0 -424
  220. package/dist/chunks/matrix-formatter-CveLJo6S.cjs +0 -1
  221. package/dist/chunks/matrix-member-presentation-CFHjdrxT.cjs +0 -1
  222. package/dist/chunks/pivot-header-presentation-Cxz8-06f.cjs +0 -5
  223. package/dist/chunks/pivot-header-presentation-Dm9dUQsl.js +0 -415
  224. package/dist/chunks/pivot-result-lifecycle-BiERyXnS.cjs +0 -1
  225. package/dist/chunks/raw-temporal-BUeTpG76.cjs +0 -1
  226. package/dist/chunks/semantic-format-BzH69TRq.cjs +0 -1
  227. package/dist/chunks/switch--Re1K566.cjs +0 -134
  228. package/dist/chunks/validators-DVYAnnX0.cjs +0 -1
@@ -1,315 +1,199 @@
1
- import { f as ie, i as me } from "../chunks/semantic-format-BZxJLKvw.js";
2
- import { f as M, b as _ } from "../chunks/raw-temporal-DrmCX9Wq.js";
3
- import { R as ce, o as pe, l as fe, m as he, d as be, c as de, h as Te, e as we, t as ve, g as Ee, i as Re, n as Pe, p as ye, a as ge, s as Ae, r as Se, j as Ce, k as xe, v as Fe, q as Me } from "../chunks/raw-temporal-DrmCX9Wq.js";
4
- import { f as I, p as k, m as g, a as N, b as L, c as O } from "../chunks/matrix-formatter-BLunke3R.js";
5
- import { k as Ie, e as ke, d as Ne, g as Le, h as Oe, i as $e, j as Be, r as Ve } from "../chunks/matrix-formatter-BLunke3R.js";
6
- import { a as P, e as S, p as y } from "../chunks/pivot-header-presentation-Dm9dUQsl.js";
7
- import { P as je, A as Xe, D as qe, F as Ge, d as He, M as ze, c as Ue, P as Ke, g as Ye, u as We, b as Qe, m as Je, q as Ze, t as er, l as rr, f as tr, j as or, o as ar, n as sr, v as lr, h as nr, i as ir, r as mr, k as ur, s as cr } from "../chunks/pivot-header-presentation-Dm9dUQsl.js";
8
- import { b4 as C } from "../chunks/validators-CkHsAvwB.js";
9
- import { a6 as fr } from "../chunks/validators-CkHsAvwB.js";
10
- import { M as br, d as dr, a as Tr, b as wr, c as vr, m as Er, f as Rr, p as Pr, e as yr, g as gr } from "../chunks/matrix-continuation-C4sRcjZU.js";
11
- import "../chunks/matrix-operation-contract-D0HfzwZg.js";
12
- import { g as $ } from "../chunks/matrix-definition-I9rHB9zN.js";
13
- import { FAST_PDF_POLICY as Sr, PDF_SAFETY_LIMIT_EXCEEDED as Cr, getUtf8ByteLength as xr, isFastPdfOutputSizeEligible as Fr, isFastPdfPageCountEligible as Mr, isFastPdfRequestSizeEligible as _r, isFastPdfRowCountEligible as Ir } from "../pdf-export-policy/index.js";
14
- import { f as B } from "../chunks/pivot-result-lifecycle-BeOpjAhg.js";
15
- import { M as Nr, i as Lr, P as Or, k as $r, c as Br, g as Vr, h as Dr, d as jr, e as Xr, j as qr, b as Gr, p as Hr, a as zr, v as Ur } from "../chunks/pivot-result-lifecycle-BeOpjAhg.js";
16
- import { D as Yr, T as Wr, b as Qr, f as Jr, a as Zr, p as et, c as rt, r as tt, d as ot, t as at, v as st } from "../chunks/temporal-bucket-B9hMwemw.js";
17
- import { a as nt } from "../chunks/metric-comparison-Dqc7_tnW.js";
18
- import { P as mt, c as ut, i as ct, d as pt, b as ft, r as ht, a as bt } from "../chunks/pivot-result-identity-8M-bZrw9.js";
19
- import { p as Tt, v as wt } from "../chunks/raw-temporal-contract-CFLGwTiI.js";
20
- function V(e, r) {
21
- const a = [];
22
- r.includeHeaders && a.push(P(r.visibleColumns, r.delimiter));
23
- for (const o of e) {
24
- const s = I(o, r);
25
- a.push(
26
- s.map((n) => S(n, r.delimiter)).join(r.delimiter)
1
+ import { a as V, i as k } from "../chunks/index-C8w91oj4.js";
2
+ import { f as d, a as h } from "../chunks/raw-temporal-BqOfk-xN.js";
3
+ import { R as X, t as j, o as G, q, c as H, i as U, j as z, b as K, h as Y, g as W, d as Q, x as Z, e as J, p as ee, s as re, k as te, m as oe, w as ae, r as se, l as le, n as ie, v as ne, u as me } from "../chunks/raw-temporal-BqOfk-xN.js";
4
+ import { a as f, e as E } from "../chunks/pivot-header-presentation-BSZhB1g-.js";
5
+ import { P as ce, A as pe, D as fe, F as Te, d as be, M as Ee, c as Re, n as de, k as he, P as we, t as Ae, H as Pe, q as Ce, l as Se, b as ve, j as ye, i as Fe, z as _e, E as xe, G as Me, y as ge, f as Ie, w as Oe, m as Ne, h as Be, o as $e, s as De, g as Ve, C as ke, I as Le, p as Xe, u as je, v as Ge, r as qe, x as He, B as Ue } from "../chunks/pivot-header-presentation-BSZhB1g-.js";
6
+ import { f as w } from "../chunks/matrix-formatter-CCXNRt3s.js";
7
+ import { d as Ke, a as Ye, b as We, g as Qe, c as Ze, p as Je, r as er } from "../chunks/matrix-formatter-CCXNRt3s.js";
8
+ import { a7 as tr } from "../chunks/validators-CsdOtZI6.js";
9
+ import { M as ar, d as sr, a as lr, b as ir, c as nr, m as mr, f as ur, p as cr, e as pr, g as fr } from "../chunks/matrix-continuation-C4sRcjZU.js";
10
+ import { f as br } from "../chunks/semantic-format-DwqGYx4V.js";
11
+ import { FAST_PDF_POLICY as Rr, PDF_SAFETY_LIMIT_EXCEEDED as dr, getUtf8ByteLength as hr, isFastPdfOutputSizeEligible as wr, isFastPdfPageCountEligible as Ar, isFastPdfRequestSizeEligible as Pr, isFastPdfRowCountEligible as Cr } from "../pdf-export-policy/index.js";
12
+ import { f as A } from "../chunks/pivot-result-lifecycle-kRhiJkzg.js";
13
+ import { M as vr, j as yr, P as Fr, l as _r, c as xr, h as Mr, i as gr, d as Ir, e as Or, g as Nr, k as Br, b as $r, p as Dr, a as Vr, v as kr } from "../chunks/pivot-result-lifecycle-kRhiJkzg.js";
14
+ import { D as Xr, T as jr, a as Gr, f as qr, i as Hr, b as Ur, p as zr, r as Kr, c as Yr, t as Wr, v as Qr } from "../chunks/temporal-bucket-DlFuhCnT.js";
15
+ import { a as Jr } from "../chunks/metric-comparison-BphoJ9bq.js";
16
+ import { P as rt, b as tt, i as ot, c as at, d as st, r as lt, a as it } from "../chunks/pivot-result-identity-BzUQiCEV.js";
17
+ import { p as mt, v as ut } from "../chunks/raw-temporal-contract-BQZIJ1fn.js";
18
+ function P(e, r) {
19
+ const s = [];
20
+ r.includeHeaders && s.push(f(r.visibleColumns, r.delimiter));
21
+ for (const t of e) {
22
+ const a = w(t, r);
23
+ s.push(
24
+ a.map((l) => E(l, r.delimiter)).join(r.delimiter)
27
25
  );
28
26
  }
29
- return a;
27
+ return s;
30
28
  }
31
- function J(e, r, a = `
29
+ function g(e, r, s = `
32
30
  `) {
33
- return V(e, r).join(a);
31
+ return P(e, r).join(s);
34
32
  }
35
- function x(e, r, a) {
36
- for (const o of e) {
37
- if (o.level < a) {
38
- r[o.level].push(o.name);
39
- for (let s = 1; s < o.colspan; s++)
40
- r[o.level].push("");
33
+ function R(e, r, s) {
34
+ for (const t of e) {
35
+ if (t.level < s) {
36
+ r[t.level].push(t.name);
37
+ for (let a = 1; a < t.colspan; a++)
38
+ r[t.level].push("");
41
39
  }
42
- o.children ? x(o.children, r, a) : o.columnKey && r[a].push(o.name);
40
+ t.children ? R(t.children, r, s) : t.columnKey && r[s].push(t.name);
43
41
  }
44
42
  }
45
- function D(e) {
46
- const r = e.pivotByColumns.length, a = e.groupByColumns.length, o = Array.from(
43
+ function C(e) {
44
+ const r = e.pivotByColumns.length, s = e.groupByColumns.length, t = Array.from(
47
45
  { length: r + 1 },
48
46
  () => []
49
47
  );
50
- for (let s = 0; s < r; s++)
51
- o[s].push(...Array(a).fill(""));
52
- if (o[r].push(
53
- ...e.groupByColumns.map((s) => s.label || s.name)
54
- ), x(e.columnHeadersTree, o, r), e.showRowTotals) {
55
- for (let s = 0; s < r; s++)
56
- o[s].push("");
57
- o[r].push("Total");
48
+ for (let a = 0; a < r; a++)
49
+ t[a].push(...Array(s).fill(""));
50
+ if (t[r].push(
51
+ ...e.groupByColumns.map((a) => a.label || a.name)
52
+ ), R(e.columnHeadersTree, t, r), e.showRowTotals) {
53
+ for (let a = 0; a < r; a++)
54
+ t[a].push("");
55
+ t[r].push("Total");
58
56
  }
59
- return o;
57
+ return t;
60
58
  }
61
- function j(e, r, a) {
59
+ function S(e, r, s) {
62
60
  if (e == null)
63
61
  return "";
64
- if (!a.useFormattedValues)
62
+ if (!s.useFormattedValues)
65
63
  return String(e);
66
- const o = a.columnSettings[r];
67
- return typeof e == "number" && (o == null ? void 0 : o.type) === "number" ? M(
64
+ const t = s.columnSettings[r];
65
+ return typeof e == "number" && (t == null ? void 0 : t.type) === "number" ? d(
68
66
  e,
69
- o.numberFormat,
70
- a.locale
71
- ) : typeof e == "number" ? e.toLocaleString(a.locale) : String(e);
67
+ t.numberFormat,
68
+ s.locale
69
+ ) : typeof e == "number" ? e.toLocaleString(s.locale) : String(e);
72
70
  }
73
- function X(e, r, a) {
74
- const o = [];
75
- e.fieldValues.forEach((n, t) => {
76
- e.isSubtotal && t === 0 ? o.push(`${n} Total`) : e.isSubtotal ? o.push("") : o.push(String(n ?? ""));
71
+ function v(e, r, s) {
72
+ const t = [];
73
+ e.fieldValues.forEach((l, o) => {
74
+ e.isSubtotal && o === 0 ? t.push(`${l} Total`) : e.isSubtotal ? t.push("") : t.push(String(l ?? ""));
77
75
  });
78
- let s = 0;
79
- return r.columnHeaders.forEach((n) => {
80
- var m;
81
- const t = (m = e.cells[n]) == null ? void 0 : m.value, i = j(t, n, a);
82
- o.push(i), r.showRowTotals && typeof t == "number" && (s += t);
83
- }), r.showRowTotals && o.push(s.toLocaleString(a.locale)), o;
76
+ let a = 0;
77
+ return r.columnHeaders.forEach((l) => {
78
+ var i;
79
+ const o = (i = e.cells[l]) == null ? void 0 : i.value, n = S(o, l, s);
80
+ t.push(n), r.showRowTotals && typeof o == "number" && (a += o);
81
+ }), r.showRowTotals && t.push(a.toLocaleString(s.locale)), t;
84
82
  }
85
- function Z(e, r, a) {
86
- const o = [];
87
- if (a.includeHeaders) {
88
- const s = D(r);
89
- for (const n of s)
90
- o.push(P(n, a.delimiter));
83
+ function I(e, r, s) {
84
+ const t = [];
85
+ if (s.includeHeaders) {
86
+ const a = C(r);
87
+ for (const l of a)
88
+ t.push(f(l, s.delimiter));
91
89
  }
92
- for (const s of e) {
93
- const n = X(
94
- s,
90
+ for (const a of e) {
91
+ const l = v(
92
+ a,
95
93
  r,
96
- a
94
+ s
97
95
  );
98
- o.push(
99
- n.map((t) => S(t, a.delimiter)).join(a.delimiter)
96
+ t.push(
97
+ l.map((o) => E(o, s.delimiter)).join(s.delimiter)
100
98
  );
101
99
  }
102
- return o;
103
- }
104
- function q(e, r, a) {
105
- const o = k(e.descriptors, r.presentation, a), s = e.columns.map((l) => {
106
- var u;
107
- return l.kind === "measure" && ((u = o.measureSemantics.get(l.measureId)) == null ? void 0 : u.isNumeric) === !0;
108
- }), n = (l) => g([l], o.levels), t = (l, u, c) => N(l, u, r.presentation.totals[c], o.levels), i = e.columns.map((l) => {
109
- if (l.kind !== "measure") return l.label;
110
- const u = l.columnPath.map(n);
111
- return l.role !== "member" && u.push(t(l.columnPath, l.role, "columns")), [...u, l.label].join(" / ");
112
- }), m = Math.min(r.spec.columns.length, Math.max(
113
- 0,
114
- ...e.columns.map((l) => l.kind === "measure" ? l.columnPath.length + (l.role !== "member" ? 1 : 0) : 0)
115
- )), p = Array.from({ length: m + 1 }, (l, u) => e.columns.map((c) => u === m ? c.label : c.kind !== "measure" ? "" : u < c.columnPath.length ? n(c.columnPath[u]) : u === c.columnPath.length && c.role !== "member" ? t(c.columnPath, c.role, "columns") : "")), f = (l, u) => {
116
- if (l.kind !== "layout") throw new Error("Layout presentation requires layout rows.");
117
- if (l.values.length !== e.columns.length) throw new Error("Matrix row does not match its frozen layout.");
118
- const c = L({
119
- path: l.rowPath,
120
- role: l.role,
121
- levelCount: Math.max(1, r.spec.rows.length),
122
- repeatLabels: r.presentation.layout.kind !== "tabular" || r.presentation.layout.repeatLabels,
123
- previousPath: u == null ? void 0 : u.rowPath
124
- });
125
- return e.columns.map((h, d) => {
126
- if (h.kind === "hierarchy")
127
- return `${" ".repeat(Math.max(0, l.rowPath.length - 1))}${t(l.rowPath, l.role, "rows")}`;
128
- if (h.kind === "level") {
129
- const v = r.spec.rows.findIndex((F) => F.id === h.levelId), w = c[v];
130
- return w != null && w.visible ? w.total ? t(l.rowPath, l.role, "rows") : g(w.path, o.levels) : "";
131
- }
132
- const T = l.values[d], E = o.measures.get(h.measureId);
133
- if (T.kind === "value" && !E)
134
- throw new Error("Matrix value is missing its measure descriptor.");
135
- return O(T, E, r.presentation.absence);
136
- });
137
- }, b = (l, u) => f(l, u).map((c, h) => {
138
- var v;
139
- const d = l.values[h], T = e.columns[h];
140
- return T.kind === "measure" && !((v = o.measureSemantics.get(T.measureId)) != null && v.hasTextAffixes) && d.kind === "value" && (typeof d.value == "number" || C(d.value)) ? c : y(c);
141
- });
142
- return {
143
- headers: i,
144
- headerBands: p,
145
- row: (l) => f(l),
146
- numericColumns: s,
147
- csvRow: (l) => b(l),
148
- // Each committed batch starts with identifying labels. Retries are pure;
149
- // suppression never relies on mutable formatter state or an earlier worker.
150
- csvRows: (l) => l.map((u, c) => b(u, l[c - 1]))
151
- };
152
- }
153
- function ee(e) {
154
- return e.columns.map((r) => y(r.label));
155
- }
156
- function re(e) {
157
- if (e.kind !== "flat") throw new Error("Raw Matrix CSV requires flat rows.");
158
- return e.values.map((r) => r.kind !== "value" ? null : C(r.value) ? r.value.value : typeof r.value == "string" ? y(r.value) : typeof r.value == "boolean" ? String(r.value) : r.value);
100
+ return t;
159
101
  }
160
- function te(e) {
161
- const r = q(e.layout, e.request, e.report), a = e.layout.columns.map((t, i) => ({
162
- index: i,
163
- columnId: `matrix:${i}`,
164
- label: r.headers[i],
165
- isNumeric: r.numericColumns[i]
166
- })), o = (t, i, m) => ({
167
- text: t,
168
- colspan: 1,
169
- rowspan: 1,
170
- columnId: a[i].columnId,
171
- isHeader: m,
172
- isNumeric: a[i].isNumeric,
173
- className: a[i].isNumeric ? "numeric" : e.layout.columns[i].kind === "hierarchy" ? "matrix-hierarchy" : ""
174
- }), s = [], n = e.layout.columns.findIndex((t) => t.kind === "measure");
175
- e.request.spec.columns.length && n >= 0 && s.push({
176
- repeatHeader: !0,
177
- headerType: "pivot-axis",
178
- headerRowIndex: 0,
179
- cells: [
180
- ...n ? [{ ...o("", 0, !0), colspan: n }] : [],
181
- {
182
- ...o(e.request.spec.columns.map((t) => $(t, e.request.presentation)).join(" / "), n, !0),
183
- colspan: e.layout.columns.length - n,
184
- isNumeric: !1,
185
- className: ""
186
- }
187
- ]
188
- });
189
- for (const [t, i] of r.headerBands.entries())
190
- s.push({
191
- repeatHeader: !0,
192
- headerType: t === r.headerBands.length - 1 ? "metrics" : "pivot-level",
193
- headerRowIndex: s.length,
194
- cells: i.map((m, p) => o(m, p, !0))
195
- });
196
- return {
197
- headers: s,
198
- rows: e.rows.map((t, i) => ({
199
- index: i,
200
- type: t.kind === "layout" && t.role !== "member" ? "subtotal" : "data",
201
- subtotalLevel: String(t.rowPath.length),
202
- cells: r.row(t).map((m, p) => o(m, p, !1))
203
- })),
204
- grandTotal: null,
205
- // Totals are already in the ordered body at their authored position.
206
- metadata: {
207
- tableType: "pivot",
208
- totalRows: e.rows.length,
209
- totalColumns: a.length,
210
- rowLevels: e.layout.columns.filter((t) => t.kind !== "measure").length,
211
- pivotLevels: e.request.spec.columns.length,
212
- hasGrandTotal: !1,
213
- columnOrder: a.map((t) => t.columnId),
214
- columns: a
215
- }
216
- };
217
- }
218
- function R(e) {
102
+ function p(e) {
219
103
  if (e === null || typeof e != "object" || Array.isArray(e))
220
104
  return !1;
221
105
  const r = Object.getPrototypeOf(e);
222
106
  return r === null || r === Object.prototype;
223
107
  }
224
- function A(e, r, a) {
225
- const o = new Set(r), s = Object.keys(e).find((n) => !o.has(n));
226
- if (s)
227
- throw new Error(`${a} contains unknown property "${s}"`);
108
+ function b(e, r, s) {
109
+ const t = new Set(r), a = Object.keys(e).find((l) => !t.has(l));
110
+ if (a)
111
+ throw new Error(`${s} contains unknown property "${a}"`);
228
112
  }
229
- function oe(e, r = "tableTotalsRequest") {
230
- if (!R(e))
113
+ function O(e, r = "tableTotalsRequest") {
114
+ if (!p(e))
231
115
  throw new Error(`${r} must be an object`);
232
- if (A(e, ["source", "columns"], r), e.source !== "documentFlatTable")
116
+ if (b(e, ["source", "columns"], r), e.source !== "documentFlatTable")
233
117
  throw new Error(`${r}.source must be documentFlatTable`);
234
118
  if (!Array.isArray(e.columns) || e.columns.length === 0)
235
119
  throw new Error(`${r}.columns must be a non-empty array`);
236
- let a = 0;
237
- const o = e.columns.map((t, i) => {
238
- const m = `${r}.columns.${i}`;
239
- if (!R(t))
240
- throw new Error(`${m} must be an object`);
241
- A(
242
- t,
120
+ let s = 0;
121
+ const t = e.columns.map((o, n) => {
122
+ const i = `${r}.columns.${n}`;
123
+ if (!p(o))
124
+ throw new Error(`${i} must be an object`);
125
+ b(
126
+ o,
243
127
  ["fieldId", "role", "behavior", "metricAlias", "label"],
244
- m
128
+ i
245
129
  );
246
- const p = typeof t.fieldId == "string" ? t.fieldId.trim() : "";
247
- if (!p)
248
- throw new Error(`${m}.fieldId must be a non-empty string`);
249
- if (t.role !== "detail" && t.role !== "groupby" && t.role !== "metric")
250
- throw new Error(`${m}.role is invalid`);
251
- const f = t.role;
252
- if (t.behavior !== "sum" && t.behavior !== "avg" && t.behavior !== "count" && t.behavior !== "label")
253
- throw new Error(`${m}.behavior is invalid`);
254
- const b = t.behavior, l = typeof t.metricAlias == "string" ? t.metricAlias.trim() : void 0;
255
- if (t.metricAlias !== void 0 && !l)
256
- throw new Error(`${m}.metricAlias must be a non-empty string`);
257
- if (l && f !== "metric")
258
- throw new Error(`${m}.metricAlias requires metric role`);
259
- if (b === "label") {
260
- if (a += 1, f === "metric")
261
- throw new Error(`${m}.behavior label requires a non-metric role`);
262
- } else if (f !== "metric")
263
- throw new Error(`${m}.${b} requires metric role`);
264
- if (t.label !== void 0 && typeof t.label != "string")
265
- throw new Error(`${m}.label must be a string`);
130
+ const T = typeof o.fieldId == "string" ? o.fieldId.trim() : "";
131
+ if (!T)
132
+ throw new Error(`${i}.fieldId must be a non-empty string`);
133
+ if (o.role !== "detail" && o.role !== "groupby" && o.role !== "metric")
134
+ throw new Error(`${i}.role is invalid`);
135
+ const m = o.role;
136
+ if (o.behavior !== "sum" && o.behavior !== "avg" && o.behavior !== "count" && o.behavior !== "label")
137
+ throw new Error(`${i}.behavior is invalid`);
138
+ const c = o.behavior, u = typeof o.metricAlias == "string" ? o.metricAlias.trim() : void 0;
139
+ if (o.metricAlias !== void 0 && !u)
140
+ throw new Error(`${i}.metricAlias must be a non-empty string`);
141
+ if (u && m !== "metric")
142
+ throw new Error(`${i}.metricAlias requires metric role`);
143
+ if (c === "label") {
144
+ if (s += 1, m === "metric")
145
+ throw new Error(`${i}.behavior label requires a non-metric role`);
146
+ } else if (m !== "metric")
147
+ throw new Error(`${i}.${c} requires metric role`);
148
+ if (o.label !== void 0 && typeof o.label != "string")
149
+ throw new Error(`${i}.label must be a string`);
266
150
  return {
267
- fieldId: p,
268
- role: f,
269
- behavior: b,
270
- ...l ? { metricAlias: l } : {},
271
- ...t.label !== void 0 ? { label: t.label } : {}
151
+ fieldId: T,
152
+ role: m,
153
+ behavior: c,
154
+ ...u ? { metricAlias: u } : {},
155
+ ...o.label !== void 0 ? { label: o.label } : {}
272
156
  };
273
- }), s = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set();
274
- for (const t of o) {
275
- if (t.metricAlias) {
276
- if (n.has(t.metricAlias))
157
+ }), a = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Set();
158
+ for (const o of t) {
159
+ if (o.metricAlias) {
160
+ if (l.has(o.metricAlias))
277
161
  throw new Error(
278
- `${r}.columns duplicates metricAlias "${t.metricAlias}"`
162
+ `${r}.columns duplicates metricAlias "${o.metricAlias}"`
279
163
  );
280
- n.add(t.metricAlias);
164
+ l.add(o.metricAlias);
281
165
  }
282
- const i = s.get(t.fieldId) ?? [];
283
- i.push(t), s.set(t.fieldId, i);
166
+ const n = a.get(o.fieldId) ?? [];
167
+ n.push(o), a.set(o.fieldId, n);
284
168
  }
285
- for (const [t, i] of s)
286
- if (i.length !== 1) {
287
- for (const m of i)
288
- if (m.role !== "metric" || !m.metricAlias)
169
+ for (const [o, n] of a)
170
+ if (n.length !== 1) {
171
+ for (const i of n)
172
+ if (i.role !== "metric" || !i.metricAlias)
289
173
  throw new Error(
290
- `${r}.columns duplicates fieldId "${t}" without distinct metricAlias values`
174
+ `${r}.columns duplicates fieldId "${o}" without distinct metricAlias values`
291
175
  );
292
176
  }
293
- if (a > 1)
177
+ if (s > 1)
294
178
  throw new Error(`${r}.columns may contain at most one label`);
295
- return { source: "documentFlatTable", columns: o };
179
+ return { source: "documentFlatTable", columns: t };
296
180
  }
297
- function ae(e, r = "tableTotalsByColumnId") {
298
- if (!R(e))
181
+ function N(e, r = "tableTotalsByColumnId") {
182
+ if (!p(e))
299
183
  throw new Error(`${r} must be an object`);
300
- const a = {};
301
- for (const [o, s] of Object.entries(e)) {
302
- if (!o.trim())
184
+ const s = {};
185
+ for (const [t, a] of Object.entries(e)) {
186
+ if (!t.trim())
303
187
  throw new Error(`${r} contains an empty column id`);
304
- if (s !== null && typeof s != "string" && (typeof s != "number" || !Number.isFinite(s)))
305
- throw new Error(`${r}.${o} must be a string, finite number, or null`);
306
- a[o] = s;
188
+ if (a !== null && typeof a != "string" && (typeof a != "number" || !Number.isFinite(a)))
189
+ throw new Error(`${r}.${t} must be a string, finite number, or null`);
190
+ s[t] = a;
307
191
  }
308
- if (Object.keys(a).length === 0)
192
+ if (Object.keys(s).length === 0)
309
193
  throw new Error(`${r} must not be empty`);
310
- return a;
194
+ return s;
311
195
  }
312
- function G(e) {
196
+ function y(e) {
313
197
  if (typeof e == "number")
314
198
  return Number.isFinite(e) ? e : null;
315
199
  if (!e.trim())
@@ -317,152 +201,162 @@ function G(e) {
317
201
  const r = Number(e);
318
202
  return Number.isFinite(r) ? r : null;
319
203
  }
320
- function se(e) {
321
- const r = e.visibleColumns.map((a) => {
322
- const s = Object.prototype.hasOwnProperty.call(
204
+ function B(e) {
205
+ const r = e.visibleColumns.map((s) => {
206
+ const a = Object.prototype.hasOwnProperty.call(
323
207
  e.totalsByColumnId,
324
- a
325
- ) ? e.totalsByColumnId[a] : a === e.labelColumnKey ? "Total" : null;
326
- if (s === null)
208
+ s
209
+ ) ? e.totalsByColumnId[s] : s === e.labelColumnKey ? "Total" : null;
210
+ if (a === null)
327
211
  return "";
328
212
  if (!e.useFormattedValues)
329
- return String(s);
330
- const n = B({
213
+ return String(a);
214
+ const l = A({
331
215
  snapshot: e.snapshot,
332
216
  scope: e.scope,
333
- target: { kind: "column", columnKey: a }
334
- }), t = n ? G(s) : null;
335
- return n && t !== null ? _(t, n) : String(s);
217
+ target: { kind: "column", columnKey: s }
218
+ }), o = l ? y(a) : null;
219
+ return l && o !== null ? h(o, l) : String(a);
336
220
  });
337
- return `${P(r, e.delimiter)}
221
+ return `${f(r, e.delimiter)}
338
222
  `;
339
223
  }
340
224
  export {
341
- je as AGGREGATE_PDF_CONTINUATION_CLASS,
342
- Xe as AGGREGATE_TOTAL_MEMBER_MARKER,
343
- Yr as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
344
- qe as DIRECT_CSV_EXPORT_MAX_ROWS,
345
- Sr as FAST_PDF_POLICY,
346
- Ge as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
347
- He as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
348
- ze as MATRIX_EXPORT_MAX_CELLS,
349
- Ue as MATRIX_EXPORT_MAX_ENCODED_BYTES,
350
- br as MATRIX_EXPORT_TRANSFER_BYTES,
351
- Nr as MissingResolvedRawTemporalFormatError,
352
- Ke as PDF_GROUP_CONTINUATION_CLASS,
353
- Cr as PDF_SAFETY_LIMIT_EXCEEDED,
354
- Ye as PdfSafetyLimitError,
355
- We as PivotHeaderPresentationError,
356
- mt as PivotResultIdentityError,
357
- Lr as PivotResultLifecycleError,
358
- Or as PresentationExecutionSnapshotError,
359
- ce as RawTemporalFormatContractError,
360
- fr as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
361
- Wr as TEMPORAL_BUCKET_PATTERN_TOKENS,
362
- Qr as TemporalBucketContractError,
363
- Qe as arrayToCSV,
364
- P as arrayToCSVRow,
365
- dr as assertMatrixBatchResponseSize,
366
- pe as assertRawTemporalChunkClassificationAgreement,
367
- se as buildFlatTableExportTotalsFooter,
368
- te as buildMatrixTableStructure,
369
- fe as classifyDeclaredSqlTemporalColumn,
370
- $r as createCanonicalPivotResultTransport,
371
- Br as createPresentationExecutionSnapshot,
372
- he as createRawTemporalChunkClassificationEvidence,
373
- Vr as deriveMetricInstanceAliasExpectations,
374
- Dr as derivePivotResultContractExpectations,
375
- S as escapeCSVValue,
376
- B as findResolvedNumericFormat,
377
- jr as findResolvedRawTemporalFormat,
378
- Xr as findResolvedTemporalBucketFormat,
379
- Je as formatAggregateGrandTotalLabel,
380
- Ze as formatAggregateGroupCell,
381
- er as formatAggregateGroupRow,
382
- rr as formatAggregateSubtotalLabel,
383
- Ie as formatCellValue,
384
- be as formatCurrency,
385
- ke as formatDate,
386
- Ne as formatDuration,
387
- tr as formatMetricComparison,
388
- de as formatNumber,
389
- Te as formatNumberCustom,
390
- M as formatNumberWithColumnSettings,
391
- _ as formatNumericCanonical,
392
- we as formatPercent,
393
- X as formatPivotDataRow,
394
- Z as formatPivotTableForCSV,
395
- ve as formatRawTemporalValue,
396
- Le as formatRelativeTime,
397
- I as formatRowForExport,
398
- Ee as formatScientific,
399
- V as formatTableForCSV,
400
- Jr as formatTemporalBucket,
401
- ie as fromSemanticFormat,
402
- D as generatePivotHeaders,
403
- J as generateTableCSV,
404
- Oe as getTimezoneAbbreviation,
405
- $e as getTimezoneName,
406
- xr as getUtf8ByteLength,
407
- or as isAggregateTotalMemberMarker,
408
- Fr as isFastPdfOutputSizeEligible,
409
- Mr as isFastPdfPageCountEligible,
410
- _r as isFastPdfRequestSizeEligible,
411
- Ir as isFastPdfRowCountEligible,
412
- me as isNumericCanonicalFormat,
413
- ut as isPivotEmptyTupleAllowed,
414
- ct as isPivotSubtotalPrefix,
415
- Zr as isTemporalBucketPreset,
416
- Tr as matrixAttemptKey,
417
- wr as matrixBatchInputSchema,
418
- vr as matrixBatchResponseSchema,
419
- Er as matrixExportDeadlineSchema,
420
- ee as matrixFlatCsvHeaders,
421
- re as matrixFlatCsvRow,
422
- Rr as matrixManifestSchema,
423
- ar as objectsToCSV,
424
- qr as parseCanonicalPivotResultTransport,
425
- ae as parseFlatTableExportTotalsByColumnId,
426
- oe as parseFlatTableExportTotalsRequest,
427
- Pr as parseMatrixAttemptKey,
428
- yr as parseMatrixBatchResponse,
429
- gr as parseMatrixManifest,
430
- Re as parseNumericCanonicalFormat,
431
- Gr as parsePresentationExecutionSnapshot,
432
- Hr as parsePresentationScope,
433
- Pe as parseRawTemporalChunkClassificationEvidence,
434
- Tt as parseRawTemporalValueMetadata,
435
- ye as parseResolvedNumericCanonicalFormat,
436
- zr as parseResolvedPresentationEntries,
437
- ge as parseResolvedRawTemporalFormat,
438
- et as parseResolvedTemporalBucketFormat,
439
- rt as parseTemporalBucketValue,
440
- Be as parseWithSourceTimezone,
441
- q as prepareMatrixExportPresentation,
442
- Ae as prepareRawTemporalFormatter,
443
- sr as presentAggregateGroupRow,
444
- lr as presentPivotHeader,
445
- y as protectCSVText,
446
- nr as readPdfErrorResponse,
447
- ir as requestStructuredPdf,
448
- pt as requirePivotHeaderMembers,
449
- ft as requirePivotResultColumnIdentities,
450
- mr as requiresChunkedCsvExport,
451
- ur as resolveAggregateTablePresentationContext,
452
- tt as resolveApplicableTemporalBucketFormat,
453
- Se as resolveCurrencyFractionDigits,
454
- nt as resolveMetricResultAlias,
455
- Ce as resolveNumericPresentation,
456
- ht as resolveQueryColumnKeyMapEntry,
457
- xe as resolveRawTemporalFormat,
458
- ot as resolveTemporalBucketPresentation,
459
- Ve as resolveTimezone,
460
- bt as resolveUniqueQueryColumnKeyMapEntry,
461
- cr as shouldPresentAggregateGroupValue,
462
- at as tokenizeTemporalBucketPattern,
463
- Fe as validateCardExportNumericPresentationSnapshot,
464
- Ur as validateCardExportPresentationSnapshot,
465
- Me as validateRawTemporalPattern,
466
- wt as validateRawTemporalResultColumn,
467
- st as validateTemporalBucketFormatApplicability
225
+ ce as AGGREGATE_PDF_CONTINUATION_CLASS,
226
+ pe as AGGREGATE_TOTAL_MEMBER_MARKER,
227
+ Xr as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
228
+ fe as DIRECT_CSV_EXPORT_MAX_ROWS,
229
+ Rr as FAST_PDF_POLICY,
230
+ Te as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
231
+ be as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
232
+ Ee as MATRIX_EXPORT_MAX_CELLS,
233
+ Re as MATRIX_EXPORT_MAX_ENCODED_BYTES,
234
+ ar as MATRIX_EXPORT_TRANSFER_BYTES,
235
+ de as MATRIX_PRINT_DEFAULT_DECIMALS,
236
+ he as MATRIX_PRINT_ORGANIZATION_DEFAULTS,
237
+ vr as MissingResolvedRawTemporalFormatError,
238
+ we as PDF_GROUP_CONTINUATION_CLASS,
239
+ dr as PDF_SAFETY_LIMIT_EXCEEDED,
240
+ Ae as PdfSafetyLimitError,
241
+ Pe as PivotHeaderPresentationError,
242
+ rt as PivotResultIdentityError,
243
+ yr as PivotResultLifecycleError,
244
+ Fr as PresentationExecutionSnapshotError,
245
+ X as RawTemporalFormatContractError,
246
+ tr as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
247
+ jr as TEMPORAL_BUCKET_PATTERN_TOKENS,
248
+ Gr as TemporalBucketContractError,
249
+ Ce as applyMatrixPrintNumberDefaults,
250
+ Se as applyMatrixPrintOrganization,
251
+ ve as arrayToCSV,
252
+ f as arrayToCSVRow,
253
+ sr as assertMatrixBatchResponseSize,
254
+ j as assertRawTemporalChunkClassificationAgreement,
255
+ B as buildFlatTableExportTotalsFooter,
256
+ ye as buildMatrixPrintTable,
257
+ Fe as buildMatrixTableStructure,
258
+ G as classifyDeclaredSqlTemporalColumn,
259
+ _r as createCanonicalPivotResultTransport,
260
+ xr as createPresentationExecutionSnapshot,
261
+ q as createRawTemporalChunkClassificationEvidence,
262
+ Mr as deriveMetricInstanceAliasExpectations,
263
+ gr as derivePivotResultContractExpectations,
264
+ E as escapeCSVValue,
265
+ A as findResolvedMeasureFormat,
266
+ Ir as findResolvedNumericFormat,
267
+ Or as findResolvedRawTemporalFormat,
268
+ Nr as findResolvedTemporalBucketFormat,
269
+ _e as formatAggregateGrandTotalLabel,
270
+ xe as formatAggregateGroupCell,
271
+ Me as formatAggregateGroupRow,
272
+ ge as formatAggregateSubtotalLabel,
273
+ Ke as formatCellValue,
274
+ H as formatCurrency,
275
+ Ye as formatDate,
276
+ U as formatDuration,
277
+ z as formatDurationCanonical,
278
+ h as formatMeasureCanonical,
279
+ Ie as formatMetricComparison,
280
+ K as formatNumber,
281
+ Y as formatNumberCustom,
282
+ d as formatNumberWithColumnSettings,
283
+ W as formatNumericCanonical,
284
+ Q as formatPercent,
285
+ v as formatPivotDataRow,
286
+ I as formatPivotTableForCSV,
287
+ Z as formatRawTemporalValue,
288
+ We as formatRelativeTime,
289
+ w as formatRowForExport,
290
+ J as formatScientific,
291
+ P as formatTableForCSV,
292
+ qr as formatTemporalBucket,
293
+ br as fromSemanticFormat,
294
+ C as generatePivotHeaders,
295
+ g as generateTableCSV,
296
+ Qe as getTimezoneAbbreviation,
297
+ Ze as getTimezoneName,
298
+ hr as getUtf8ByteLength,
299
+ Oe as isAggregateTotalMemberMarker,
300
+ wr as isFastPdfOutputSizeEligible,
301
+ Ar as isFastPdfPageCountEligible,
302
+ Pr as isFastPdfRequestSizeEligible,
303
+ Cr as isFastPdfRowCountEligible,
304
+ V as isMeasureCanonicalFormat,
305
+ k as isNumericCanonicalFormat,
306
+ tt as isPivotEmptyTupleAllowed,
307
+ ot as isPivotSubtotalPrefix,
308
+ Hr as isTemporalBucketPreset,
309
+ lr as matrixAttemptKey,
310
+ ir as matrixBatchInputSchema,
311
+ nr as matrixBatchResponseSchema,
312
+ mr as matrixExportDeadlineSchema,
313
+ Ne as matrixFlatCsvHeaders,
314
+ Be as matrixFlatCsvRow,
315
+ ur as matrixManifestSchema,
316
+ $e as objectsToCSV,
317
+ Br as parseCanonicalPivotResultTransport,
318
+ N as parseFlatTableExportTotalsByColumnId,
319
+ O as parseFlatTableExportTotalsRequest,
320
+ cr as parseMatrixAttemptKey,
321
+ pr as parseMatrixBatchResponse,
322
+ fr as parseMatrixManifest,
323
+ ee as parseNumericCanonicalFormat,
324
+ $r as parsePresentationExecutionSnapshot,
325
+ Dr as parsePresentationScope,
326
+ re as parseRawTemporalChunkClassificationEvidence,
327
+ mt as parseRawTemporalValueMetadata,
328
+ te as parseResolvedNumericCanonicalFormat,
329
+ Vr as parseResolvedPresentationEntries,
330
+ oe as parseResolvedRawTemporalFormat,
331
+ Ur as parseResolvedTemporalBucketFormat,
332
+ zr as parseTemporalBucketValue,
333
+ Je as parseWithSourceTimezone,
334
+ De as planMatrixKeepWithPrevious,
335
+ Ve as prepareMatrixExportPresentation,
336
+ ae as prepareRawTemporalFormatter,
337
+ ke as presentAggregateGroupRow,
338
+ Le as presentPivotHeader,
339
+ Xe as protectCSVText,
340
+ je as readPdfErrorResponse,
341
+ Ge as requestStructuredPdf,
342
+ at as requirePivotHeaderMembers,
343
+ st as requirePivotResultColumnIdentities,
344
+ qe as requiresChunkedCsvExport,
345
+ He as resolveAggregateTablePresentationContext,
346
+ Kr as resolveApplicableTemporalBucketFormat,
347
+ se as resolveCurrencyFractionDigits,
348
+ Jr as resolveMetricResultAlias,
349
+ le as resolveNumericPresentation,
350
+ lt as resolveQueryColumnKeyMapEntry,
351
+ ie as resolveRawTemporalFormat,
352
+ Yr as resolveTemporalBucketPresentation,
353
+ er as resolveTimezone,
354
+ it as resolveUniqueQueryColumnKeyMapEntry,
355
+ Ue as shouldPresentAggregateGroupValue,
356
+ Wr as tokenizeTemporalBucketPattern,
357
+ ne as validateCardExportNumericPresentationSnapshot,
358
+ kr as validateCardExportPresentationSnapshot,
359
+ me as validateRawTemporalPattern,
360
+ ut as validateRawTemporalResultColumn,
361
+ Qr as validateTemporalBucketFormatApplicability
468
362
  };