react-semaphor 0.1.544 → 0.1.546

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 (179) hide show
  1. package/dist/analytics-protocol/index.js +405 -441
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +100 -76
  4. package/dist/brand-studio/index.js +5 -5
  5. package/dist/briefings/index.js +55 -52
  6. package/dist/chunks/{class-utils-Df1OVOT1.js → _commonjsHelpers-DimLPMtv.js} +124 -98
  7. package/dist/chunks/{add-to-dashboard-BuAqfA2Y.js → add-to-dashboard-BQRAAnc3.js} +55 -33
  8. package/dist/chunks/{analytics-base-schemas-BFAoRlkU.js → analytics-base-schemas-BKs3flFS.js} +2 -2
  9. package/dist/chunks/{assistant-chat-BNLkCDml.js → assistant-chat-BPXhulAx.js} +2792 -2562
  10. package/dist/chunks/{bookmark-state-CXw7lZ50.js → bookmark-state-C4vetoa0.js} +7 -8
  11. package/dist/chunks/column-catalog-BYnochWQ.js +3363 -0
  12. package/dist/chunks/comparison-window-caption-C2xF-eWw.js +1433 -0
  13. package/dist/chunks/{context-ClREvqCZ.js → context-BerEBuFR.js} +11 -6
  14. package/dist/chunks/custom-visual-inputs-CkJW9pBS.js +295 -0
  15. package/dist/chunks/{dashboard-g5a4DKWq.js → dashboard-C3CoKbGY.js} +1 -1
  16. package/dist/chunks/dashboard-briefing-launcher-Be4h-7My.js +3734 -0
  17. package/dist/chunks/dashboard-controls-bxPrlSyp.js +2307 -0
  18. package/dist/chunks/{dashboard-json-7qT9jmfL.js → dashboard-json-BrjxIiRt.js} +6 -6
  19. package/dist/chunks/document-dashboard-inputs-CRVHpIHp.js +3010 -0
  20. package/dist/chunks/{edit-dashboard-visual-BfJwnRIZ.js → edit-dashboard-visual-DYYYDjY6.js} +5986 -6063
  21. package/dist/chunks/{filter-value-text-CYsVYPuD.js → filter-value-text-Ddf55Ku1.js} +8 -8
  22. package/dist/chunks/global-date-filter-utils-9d6m9-FE.js +11859 -0
  23. package/dist/chunks/index-CtoK1Lgu.js +586 -0
  24. package/dist/chunks/{index-DkAyQvC6.js → index-DkQkMKa1.js} +385 -339
  25. package/dist/chunks/list-filter-DsaTbM3J.js +15 -0
  26. package/dist/chunks/matrix-analytical-definition-B9vW-osb.js +717 -0
  27. package/dist/chunks/{matrix-card-DjwWcCo8.js → matrix-card-LiMEipvq.js} +3 -3
  28. package/dist/chunks/{matrix-formatter-CxJLkztA.js → matrix-formatter-DWEeC0_c.js} +55 -55
  29. package/dist/chunks/{matrix-member-presentation-CQGdVks6.js → matrix-member-presentation-DqzG-UhQ.js} +1 -1
  30. package/dist/chunks/{matrix-operation-contract-8OIO4gob.js → matrix-operation-contract-D6vYkZK4.js} +72 -72
  31. package/dist/chunks/{metric-comparison-DEwi9uc2.js → metric-comparison-zpGw4lD6.js} +2 -2
  32. package/dist/chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js +119 -0
  33. package/dist/chunks/{pivot-header-presentation-DHcx1XGQ.js → pivot-header-presentation-CQnIDtUv.js} +1 -1
  34. package/dist/chunks/{pivot-result-identity-DJhXXcns.js → pivot-result-identity-C-Q1j1Wb.js} +1 -1
  35. package/dist/chunks/{pivot-result-lifecycle-DM4CyGKs.js → pivot-result-lifecycle-pwq3b7LC.js} +571 -380
  36. package/dist/chunks/{raw-temporal-contract-C51YG48G.js → raw-temporal-contract-WuXA8jBP.js} +1 -1
  37. package/dist/chunks/{raw-temporal-presentation-CLiVi90c.js → raw-temporal-presentation-CBzrDOjM.js} +8 -8
  38. package/dist/chunks/rendered-file-D8xEuVVx.js +108 -0
  39. package/dist/chunks/{report-preferences-dialog-Df7VpRVW.js → report-preferences-dialog-4QEZWe5U.js} +637 -610
  40. package/dist/chunks/{report-runtime-context-Dq8XyODK.js → report-runtime-context-hWiTCzFV.js} +2 -2
  41. package/dist/chunks/resolve-dashboard-input-context-UpK_LBpL.js +5677 -0
  42. package/dist/chunks/{saved-dashboard-context-B-mQ--nV.js → saved-dashboard-context-D_I3Lxk0.js} +184 -212
  43. package/dist/chunks/selection-filter-compiler-BKXmyLrS.js +79 -0
  44. package/dist/chunks/{selection-reducer-Dj_8xD69.js → selection-reducer-CJzkTZio.js} +15 -15
  45. package/dist/chunks/{semaphor-ready-indicator-DDAxk8us.js → semaphor-ready-indicator-4zpRHE-X.js} +56832 -59068
  46. package/dist/chunks/{shelf-drop-preview-context-BSRPwaED.js → shelf-drop-preview-context-Cfw7TRAx.js} +890 -871
  47. package/dist/chunks/{source-entity-resolution-BYn9giz3.js → source-entity-resolution-BIGRvtbG.js} +13 -13
  48. package/dist/chunks/{switch-C3jLxlG0.js → switch-CEBOR4n7.js} +47 -48
  49. package/dist/chunks/{table-export-sheet-CPfGAQ9X.js → table-export-sheet-4X9mAG3V.js} +1 -1
  50. package/dist/chunks/table-settings-CunhoDUi.js +605 -0
  51. package/dist/chunks/{temporal-bucket-D7NBrrtL.js → temporal-bucket-CQOSbv9-.js} +26 -26
  52. package/dist/chunks/{token-types-DBbZVQsm.js → token-types-BMqRmT-C.js} +1 -1
  53. package/dist/chunks/{use-create-flow-overlay-state-BxzFviM-.js → use-create-flow-overlay-state-DZBZiiD-.js} +83 -83
  54. package/dist/chunks/{validators-DMHTpf7a.js → validators-C-aOQlTB.js} +713 -658
  55. package/dist/dashboard/index.js +2 -2
  56. package/dist/dashboard-authoring/index.js +1800 -1135
  57. package/dist/data-app-sdk/index.js +6 -6
  58. package/dist/data-app-sdk-adapters/index.js +3 -3
  59. package/dist/data-app-sdk-validation/index.js +14 -14
  60. package/dist/format-utils/index.js +198 -187
  61. package/dist/index.js +359 -325
  62. package/dist/layouts/index.js +5 -242
  63. package/dist/report-runtime-context/index.js +2 -2
  64. package/dist/shared/index.js +4 -5
  65. package/dist/style.css +1 -1
  66. package/dist/surfboard/index.js +2 -2
  67. package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
  68. package/dist/types/briefings/attachments.d.ts +33 -6
  69. package/dist/types/briefings/index.d.ts +6 -5
  70. package/dist/types/components/index.d.ts +2 -0
  71. package/dist/types/components/surfboard/arrange-layout-button.d.ts +8 -0
  72. package/dist/types/components/surfboard/filter/types.d.ts +0 -14
  73. package/dist/types/components/surfboard/screen-size-preview-button.d.ts +7 -0
  74. package/dist/types/index.js +6 -6
  75. package/dist/types/lib/charts/table-chart-types.d.ts +4 -0
  76. package/dist/types/lib/charts/types.d.ts +2 -2
  77. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +68 -82
  78. package/dist/types/lib/dashboard-inputs/dashboard-input-target-context.d.ts +0 -8
  79. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +41 -1
  80. package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +201 -0
  81. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +15 -0
  82. package/dist/types/lib/dashboard-inputs/resolve-dashboard-input-context.d.ts +7 -2
  83. package/dist/types/lib/dashboard-inputs/resolve-selection-input.d.ts +1 -1
  84. package/dist/types/lib/dashboard-viewer/captured-runtime-values.d.ts +40 -0
  85. package/dist/types/lib/dashboard-viewer/compatibility-input-storage.d.ts +16 -16
  86. package/dist/types/lib/dashboard-viewer/viewer-state.d.ts +11 -9
  87. package/dist/types/lib/download-pdf.d.ts +75 -1
  88. package/dist/types/lib/hooks/use-date-filter.d.ts +5 -0
  89. package/dist/types/lib/hooks/use-text-filter.d.ts +5 -0
  90. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +5 -4
  91. package/dist/types/lib/matrix-table/matrix-editor.d.ts +52 -0
  92. package/dist/types/lib/query-context/assemble-card-query.d.ts +158 -0
  93. package/dist/types/lib/query-context/build-card-query-context.d.ts +3 -3
  94. package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +15 -6
  95. package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +11 -13
  96. package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +22 -12
  97. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +69 -0
  98. package/dist/types/lib/stores/dashboard-store.d.ts +159 -56
  99. package/dist/types/lib/stores/editor-store.d.ts +0 -3
  100. package/dist/types/lib/types/common-types.d.ts +29 -6
  101. package/dist/types/lib/types/explorer-types.d.ts +10 -0
  102. package/dist/types/lib/types/semantic-types.d.ts +84 -0
  103. package/dist/types/lib/utils/build-saved-editor-card.d.ts +20 -0
  104. package/dist/types/lib/utils/card-type-change.d.ts +16 -0
  105. package/dist/types/lib/utils/field-availability-context.d.ts +25 -0
  106. package/dist/types/lib/utils/field-placement.d.ts +96 -0
  107. package/dist/types/lib/utils/field-state-calculator.d.ts +161 -0
  108. package/dist/types/lib/utils/qualified-entity-name.d.ts +2 -0
  109. package/dist/types/shared/analytics-protocol/field-provenance.d.ts +89 -0
  110. package/dist/types/shared/analytics-protocol/index.d.ts +2 -0
  111. package/dist/types/shared/analytics-protocol/query-policies.d.ts +52 -0
  112. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +1 -1
  113. package/dist/types/shared/analytics-protocol/time-window.d.ts +40 -1
  114. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -12
  115. package/dist/types/shared/assistant-protocol/answer-text.d.ts +20 -0
  116. package/dist/types/shared/assistant-protocol/context.d.ts +21 -21
  117. package/dist/types/shared/assistant-protocol/index.d.ts +1 -0
  118. package/dist/types/shared/assistant-protocol/limits.d.ts +6 -1
  119. package/dist/types/shared/assistant-protocol/parts.d.ts +43 -3
  120. package/dist/types/shared/assistant-protocol/request.d.ts +14 -2
  121. package/dist/types/shared/dashboard-authoring/calculated-field-identity.d.ts +3 -0
  122. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +487 -0
  123. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +34 -0
  124. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +7886 -0
  125. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +43 -0
  126. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +54 -0
  127. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +89 -0
  128. package/dist/types/shared/dashboard-authoring/column-catalog.d.ts +32 -0
  129. package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -55
  130. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +16 -6
  131. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +9 -1
  132. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +7 -0
  133. package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +118 -0
  134. package/dist/types/shared/dashboard-authoring/filter-applicability.d.ts +75 -0
  135. package/dist/types/shared/dashboard-authoring/filter-model/ad-hoc-filter-values.d.ts +10 -0
  136. package/dist/types/shared/dashboard-authoring/filter-model/filter-definitions.d.ts +29 -0
  137. package/dist/types/shared/dashboard-authoring/filter-model/filter-values.d.ts +58 -0
  138. package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +7 -0
  139. package/dist/types/shared/dashboard-authoring/filter-model/prototype-document-inputs.d.ts +15 -0
  140. package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +78 -0
  141. package/dist/types/shared/dashboard-authoring/filter-model/stored-dashboard.d.ts +18 -0
  142. package/dist/types/shared/dashboard-authoring/filter-model/toolbar-filter-reach.d.ts +23 -0
  143. package/dist/types/shared/dashboard-authoring/index.d.ts +20 -2
  144. package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +10 -37
  145. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +189 -0
  146. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +94 -0
  147. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +78 -0
  148. package/dist/types/shared/dashboard-authoring/validators.d.ts +1 -2
  149. package/dist/types/shared/format-utils/exporters/index.d.ts +2 -0
  150. package/dist/types/shared/format-utils/exporters/rendered-file.d.ts +106 -0
  151. package/dist/types/shared/layouts/engine/grid.d.ts +25 -0
  152. package/dist/types/shared/layouts/engine/index.d.ts +4 -0
  153. package/dist/types/shared/layouts/engine/sheet-layout.d.ts +7 -0
  154. package/dist/types/shared/layouts/engine/types.d.ts +125 -0
  155. package/dist/types/shared/layouts/index.d.ts +1 -2
  156. package/package.json +2 -2
  157. package/dist/chunks/_commonjsHelpers-BkfeUUK-.js +0 -28
  158. package/dist/chunks/apply-dashboard-operations-Bz4n1Lq6.js +0 -2260
  159. package/dist/chunks/calendar-day-equality-BmJAWduY.js +0 -460
  160. package/dist/chunks/comparison-window-caption-BTkrN3W4.js +0 -1623
  161. package/dist/chunks/custom-visual-inputs-DUtpYZOk.js +0 -323
  162. package/dist/chunks/dashboard-briefing-launcher-DQ_8O_e2.js +0 -3725
  163. package/dist/chunks/dashboard-controls-8RyBTQUO.js +0 -2315
  164. package/dist/chunks/dashboard-filter-value-compatibility-CwQ_iSNb.js +0 -108
  165. package/dist/chunks/document-dashboard-inputs-BC6p-ESg.js +0 -8087
  166. package/dist/chunks/document-sheet-utils-Duo9uLoH.js +0 -3619
  167. package/dist/chunks/matrix-analytical-definition-C7Gb0e12.js +0 -117
  168. package/dist/chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js +0 -67
  169. package/dist/chunks/numeric-presentation-DESvLiu9.js +0 -5227
  170. package/dist/chunks/sort-target-MT1WK1vX.js +0 -29
  171. package/dist/chunks/stable-serialize-CfqXeiBP.js +0 -6
  172. package/dist/chunks/table-settings-CLZocegs.js +0 -501
  173. package/dist/chunks/use-debounced-dirty-check-BwAbnX_5.js +0 -59
  174. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +0 -88
  175. package/dist/types/lib/dashboard-inputs/dashboard-input-scope.d.ts +0 -10
  176. package/dist/types/shared/dashboard-authoring/change-compiler.d.ts +0 -7
  177. package/dist/types/shared/dashboard-authoring/layout-compiler.d.ts +0 -2
  178. package/dist/types/shared/layouts/create-frame-layouts.d.ts +0 -27
  179. package/dist/types/shared/layouts/frame-layouts.d.ts +0 -23
package/dist/index.js CHANGED
@@ -1,226 +1,254 @@
1
- import { D as k } from "./chunks/dashboard-g5a4DKWq.js";
2
- import { C as na, E as ia } from "./chunks/table-settings-CLZocegs.js";
3
- import { C as I, b as M, c as O, d as U, e as V, f as z } from "./chunks/report-preferences-dialog-Df7VpRVW.js";
4
- import { g as ca, A as ua, h as da, a as pa, R as fa, D as ma } from "./chunks/report-preferences-dialog-Df7VpRVW.js";
5
- import { jsx as s, jsxs as C } from "react/jsx-runtime";
6
- import { E as _, F as q, S as $, a as H, U as W, c as Q, A as K, C as G, u as F, V as Y, d as J, e as X, s as Z, R as ee } from "./chunks/semaphor-ready-indicator-DDAxk8us.js";
7
- import { K as ga, ap as Ca, aq as ya, ar as ba, B as va, _ as Da, z as Ea, x as Aa, w as Sa, az as Ta, M as wa, h as xa, k as Ba, k as Pa, l as _a, y as Fa, ak as Na, am as Ra, an as ja, al as La, ab as ka, ae as Ia, ay as Ma, a2 as Oa, aj as Ua, X as Va, at as za, au as qa, a6 as $a, af as Ha, v as Wa, t as Qa, q as Ka, r as Ga, aC as Ya, a1 as Ja, ag as Xa, ah as Za, aa as et, ad as at, ax as tt, aw as rt, av as st, aB as ot, aA as nt, ac as it, a0 as lt, $ as ct, O as ut, a4 as dt, ai as pt, a8 as ft, a5 as mt, a7 as ht, a9 as gt, a3 as Ct, L as yt, J as bt, p as vt, as as Dt, o as Et, H as At, P as St, T as Tt, Q as wt, W as xt, n as Bt, g as Pt, G as _t, I as Ft, i as Nt, Z as Rt, N as jt, Y as Lt, f as kt, m as It, j as Mt, ao as Ot } from "./chunks/semaphor-ready-indicator-DDAxk8us.js";
1
+ import { D as M } from "./chunks/dashboard-C3CoKbGY.js";
2
+ import { C as fa, E as ma } from "./chunks/table-settings-CunhoDUi.js";
3
+ import { C as U, b as V, c as z, d as H, e as W, f as q } from "./chunks/report-preferences-dialog-4QEZWe5U.js";
4
+ import { g as ga, A as Ca, h as ba, a as ya, R as va, D as Da } from "./chunks/report-preferences-dialog-4QEZWe5U.js";
5
+ import { jsx as o, jsxs as b } from "react/jsx-runtime";
6
+ import { E as P, F as $, S as G, a as K, U as Q, c as J, A as Y, C as X, u as L, d as Z, f as ee, g as ae, V as te, e as _, h as N, s as se, R as re } from "./chunks/semaphor-ready-indicator-4zpRHE-X.js";
7
+ import { O as Aa, aw as Sa, ax as Ta, ay as wa, B as xa, a5 as Ba, I as Fa, G as Pa, z as _a, aG as Na, M as Ra, W as La, k as Ia, n as ja, n as ka, o as Oa, H as Ma, ar as Ua, at as Va, au as za, as as Ha, ai as Wa, al as qa, aF as $a, a9 as Ga, aq as Ka, a2 as Qa, aA as Ja, aB as Ya, ad as Xa, am as Za, y as et, x as at, v as tt, w as st, aJ as rt, a8 as ot, an as nt, ao as it, ah as lt, ak as ct, aE as ut, aD as dt, aC as pt, aI as ft, aH as mt, aj as ht, a7 as gt, a6 as Ct, T as bt, ab as yt, ap as vt, af as Dt, ac as Et, ae as At, ag as St, X as Tt, Y as wt, Z as xt, aa as Bt, P as Ft, N as Pt, t as _t, az as Nt, r as Rt, K as Lt, _ as It, a0 as jt, $ as kt, a1 as Ot, q as Mt, j as Ut, J as Vt, L as zt, l as Ht, a4 as Wt, Q as qt, a3 as $t, i as Gt, p as Kt, m as Qt, av as Jt } from "./chunks/semaphor-ready-indicator-4zpRHE-X.js";
8
8
  import * as T from "react";
9
- import N, { useMemo as ae, useEffect as R } from "react";
10
- import { D as Vt } from "./chunks/token-types-DBbZVQsm.js";
11
- import { C as qt, D as $t, L as Ht, P as Wt, e as Qt, g as Kt, j as Gt, h as Yt, k as Jt, d as Xt, b as Zt, i as er, c as ar, n as tr, f as rr } from "./chunks/validators-DMHTpf7a.js";
12
- import { b as or, A as nr, f as ir, D as lr, d as cr, e as ur, c as dr, U as pr, a as fr, V as mr, W as hr, i as gr, u as Cr } from "./chunks/dashboard-briefing-launcher-DQ_8O_e2.js";
13
- import { u as br } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
14
- import { createRoot as te } from "react-dom/client";
15
- import "./chunks/shelf-drop-preview-context-BSRPwaED.js";
16
- import "./chunks/index-CuHybtft.js";
17
- import "./chunks/matrix-operation-contract-8OIO4gob.js";
18
- import "./chunks/analytics-base-schemas-BFAoRlkU.js";
9
+ import I, { useMemo as R, useEffect as j } from "react";
10
+ import { C as Xt, D as Zt, L as es, P as as, e as ts, g as ss, j as rs, h as os, k as ns, d as is, b as ls, i as cs, c as us, n as ds, f as ps } from "./chunks/validators-C-aOQlTB.js";
11
+ import { c as oe } from "./chunks/rendered-file-D8xEuVVx.js";
19
12
  import "zod";
20
- import { D as Dr } from "./chunks/report-runtime-context-Dq8XyODK.js";
21
- import { c as B } from "./chunks/class-utils-Df1OVOT1.js";
22
- import { P as re, a as se, B as oe, b as ne, c as ie } from "./chunks/switch-C3jLxlG0.js";
23
- import "./chunks/numeric-presentation-DESvLiu9.js";
24
- import "./chunks/pivot-result-lifecycle-DM4CyGKs.js";
13
+ import "./chunks/pivot-result-lifecycle-pwq3b7LC.js";
14
+ import "./chunks/matrix-operation-contract-D6vYkZK4.js";
15
+ import "./chunks/analytics-base-schemas-BKs3flFS.js";
25
16
  import "./value-format-preferences/index.js";
26
- import { r as Ar, a as Sr } from "./chunks/pivot-result-identity-DJhXXcns.js";
27
- import { a as le } from "./chunks/document-sheet-utils-Duo9uLoH.js";
17
+ import { D as ms } from "./chunks/token-types-BMqRmT-C.js";
18
+ import { c as gs, A as Cs, b as bs, g as ys, D as vs, e as Ds, f as Es, d as As, S as Ss, U as Ts, a as ws, V as xs, W as Bs, i as Fs, u as Ps } from "./chunks/dashboard-briefing-launcher-Be4h-7My.js";
19
+ import { n as Ns, s as Rs, u as Ls } from "./chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js";
20
+ import { createRoot as ne } from "react-dom/client";
21
+ import "./chunks/shelf-drop-preview-context-Cfw7TRAx.js";
22
+ import "./chunks/index-CuHybtft.js";
23
+ import { D as js } from "./chunks/report-runtime-context-hWiTCzFV.js";
24
+ import { c as B } from "./chunks/_commonjsHelpers-DimLPMtv.js";
25
+ import { P as ie, a as le, B as ce, b as ue, c as de } from "./chunks/switch-CEBOR4n7.js";
26
+ import "./chunks/global-date-filter-utils-9d6m9-FE.js";
27
+ import { r as Os, a as Ms } from "./chunks/pivot-result-identity-C-Q1j1Wb.js";
28
+ import { a as pe } from "./chunks/resolve-dashboard-input-context-UpK_LBpL.js";
29
+ import { k as Vs, f as zs, n as Hs, m as Ws, s as qs, t as $s, j as Gs, h as Ks, o as Qs, g as Js, d as Ys, i as Xs, u as Zs, q as er } from "./chunks/resolve-dashboard-input-context-UpK_LBpL.js";
30
+ import "./chunks/index-CtoK1Lgu.js";
28
31
  import "react-dom";
29
- import "./chunks/index-DkAyQvC6.js";
32
+ import "./chunks/index-DkQkMKa1.js";
30
33
  import "./chunks/appearance-context-DEYtWinQ.js";
31
34
  import "./chunks/color-CJvdlFM_.js";
32
35
  import "./chunks/index-CLIro-EG.js";
33
- import { v as wr, n as xr, x as Br, w as Pr, A as _r, B as Fr, u as Nr, t as Rr, y as jr, s as Lr, q as kr, o as Ir, C as Mr, z as Or } from "./chunks/document-dashboard-inputs-BC6p-ESg.js";
34
- import "./chunks/bookmark-state-CXw7lZ50.js";
35
- import { I as ce } from "./chunks/use-create-flow-overlay-state-BxzFviM-.js";
36
- import { n as Vr, s as zr } from "./chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js";
37
- import { C as ue } from "./chunks/x-4f5U2XwU.js";
36
+ import "./chunks/bookmark-state-C4vetoa0.js";
37
+ import { I as fe } from "./chunks/use-create-flow-overlay-state-DZBZiiD-.js";
38
+ import { C as me } from "./chunks/x-4f5U2XwU.js";
38
39
  import "./chunks/appearance-runtime-provider-B-M8gwlZ.js";
39
- function Ze(e) {
40
- const { displayPreferences: a, cardId: t, ...r } = e, o = {
41
- ...r,
40
+ const he = { cssWidth: 960, cssHeight: 540 };
41
+ function na(e) {
42
+ const { displayPreferences: a, cardId: t, ...n } = e, u = {
43
+ ...n,
42
44
  id: e.dashboardId
43
45
  // override the id to the dashboard id so that the dashboard is not loaded
44
46
  };
45
- return /* @__PURE__ */ s(_, { FallbackComponent: q, children: /* @__PURE__ */ C($, { dashboardProps: o, children: [
46
- /* @__PURE__ */ s(H, { componentType: "visual", componentId: e.cardId }),
47
- /* @__PURE__ */ s(W, { appearance: e.appearance, children: /* @__PURE__ */ s(Q, { displayPreferences: a, children: /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s(G, { type: "visual", cardId: t, ...o, children: /* @__PURE__ */ s(de, { cardId: t }) }) }) }) })
47
+ return /* @__PURE__ */ o(P, { FallbackComponent: $, children: /* @__PURE__ */ b(G, { dashboardProps: u, children: [
48
+ /* @__PURE__ */ o(K, { componentType: "visual", componentId: e.cardId }),
49
+ /* @__PURE__ */ o(Q, { appearance: e.appearance, children: /* @__PURE__ */ o(J, { displayPreferences: a, children: /* @__PURE__ */ o(Y, { children: /* @__PURE__ */ o(X, { type: "visual", cardId: t, ...u, children: /* @__PURE__ */ o(ge, { cardId: t, imageLayout: a == null ? void 0 : a.imageLayout }) }) }) }) })
48
50
  ] }) });
49
51
  }
50
- function de({ cardId: e }) {
51
- const a = F((o) => {
52
+ function ge({
53
+ cardId: e,
54
+ imageLayout: a
55
+ }) {
56
+ const t = L((c) => {
52
57
  var h;
53
- return (h = o.dashboard) == null ? void 0 : h.sheets;
54
- }), { card: t, frame: r } = ae(() => {
55
- const o = a == null ? void 0 : a.flatMap((n) => n.frames), h = o == null ? void 0 : o.flatMap((n) => n == null ? void 0 : n.cards), y = h == null ? void 0 : h.find((n) => (n == null ? void 0 : n.id) === e), D = o == null ? void 0 : o.find(
56
- (n) => {
57
- var b;
58
- return (b = n == null ? void 0 : n.cards) == null ? void 0 : b.find((g) => (g == null ? void 0 : g.id) === e);
58
+ return (h = c.dashboard) == null ? void 0 : h.sheets;
59
+ }), n = Z(), { card: u, frame: g, sheet: y } = R(() => {
60
+ var C, E;
61
+ const c = t == null ? void 0 : t.find(
62
+ (s) => {
63
+ var r;
64
+ return (r = s.frames) == null ? void 0 : r.some((i) => {
65
+ var p;
66
+ return (p = i == null ? void 0 : i.cards) == null ? void 0 : p.some((d) => (d == null ? void 0 : d.id) === e);
67
+ });
59
68
  }
69
+ ), h = (C = c == null ? void 0 : c.frames) == null ? void 0 : C.find(
70
+ (s) => {
71
+ var r;
72
+ return (r = s == null ? void 0 : s.cards) == null ? void 0 : r.find((i) => (i == null ? void 0 : i.id) === e);
73
+ }
74
+ );
75
+ return { card: (E = h == null ? void 0 : h.cards) == null ? void 0 : E.find((s) => (s == null ? void 0 : s.id) === e), frame: h, sheet: c };
76
+ }, [t, e]), v = R(() => {
77
+ if (!a || !g) return;
78
+ const c = ee(y, g.id);
79
+ return oe(
80
+ c ? ae(n, c, a.dashboardWidth) : he
60
81
  );
61
- return { card: y, frame: D };
62
- }, [a, e]);
63
- return !t || !r ? /* @__PURE__ */ s(
64
- Y,
82
+ }, [a, g, y, n]);
83
+ return !u || !g ? /* @__PURE__ */ o(
84
+ te,
65
85
  {
66
86
  description: `Couldn’t find a visual with ID ${e} on this dashboard.`,
67
87
  role: "status"
68
88
  }
69
- ) : /* @__PURE__ */ s("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ s(_, { FallbackComponent: J, children: /* @__PURE__ */ s(X, { card: t, frame: r }) }) });
89
+ ) : v ? /* @__PURE__ */ o(
90
+ "main",
91
+ {
92
+ className: "flex flex-col",
93
+ "data-image-capture": "",
94
+ style: { width: v.cssWidth, height: v.cssHeight },
95
+ children: /* @__PURE__ */ o(P, { FallbackComponent: _, children: /* @__PURE__ */ o(N, { card: u, frame: g }) })
96
+ }
97
+ ) : /* @__PURE__ */ o("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ o(P, { FallbackComponent: _, children: /* @__PURE__ */ o(N, { card: u, frame: g }) }) });
70
98
  }
71
- var pe = Object.defineProperty, fe = (e, a, t) => a in e ? pe(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t, w = (e, a, t) => fe(e, typeof a != "symbol" ? a + "" : a, t);
72
- const me = {
99
+ var Ce = Object.defineProperty, be = (e, a, t) => a in e ? Ce(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t, w = (e, a, t) => be(e, typeof a != "symbol" ? a + "" : a, t);
100
+ const ye = {
73
101
  stringify: (e) => e ? "true" : "false",
74
102
  parse: (e) => /^[ty1-9]/i.test(e)
75
- }, he = {
103
+ }, ve = {
76
104
  stringify: (e) => e.name,
77
105
  parse: (e, a, t) => {
78
- const r = (() => {
106
+ const n = (() => {
79
107
  if (typeof window < "u" && e in window)
80
108
  return window[e];
81
109
  if (typeof global < "u" && e in global)
82
110
  return global[e];
83
111
  })();
84
- return typeof r == "function" ? r.bind(t) : void 0;
112
+ return typeof n == "function" ? n.bind(t) : void 0;
85
113
  }
86
- }, ge = {
114
+ }, De = {
87
115
  stringify: (e) => JSON.stringify(e),
88
116
  parse: (e) => JSON.parse(e)
89
117
  };
90
- function Ce(e) {
118
+ function Ee(e) {
91
119
  return e.replace(
92
120
  /([a-z0-9])([A-Z])/g,
93
- (a, t, r) => `${t}-${r.toLowerCase()}`
121
+ (a, t, n) => `${t}-${n.toLowerCase()}`
94
122
  );
95
123
  }
96
- function j(e) {
124
+ function k(e) {
97
125
  return e.replace(/[-:]([a-z])/g, (a, t) => `${t.toUpperCase()}`);
98
126
  }
99
- const ye = {
127
+ const Ae = {
100
128
  stringify: (e) => e.name,
101
129
  parse: (e, a, t) => {
102
- const r = (() => {
103
- const o = j(a);
104
- if (typeof t < "u" && o in t.container)
105
- return t.container[o];
130
+ const n = (() => {
131
+ const u = k(a);
132
+ if (typeof t < "u" && u in t.container)
133
+ return t.container[u];
106
134
  })();
107
- return typeof r == "function" ? r.bind(t) : void 0;
135
+ return typeof n == "function" ? n.bind(t) : void 0;
108
136
  }
109
- }, be = {
137
+ }, Se = {
110
138
  stringify: (e) => `${e}`,
111
139
  parse: (e) => parseFloat(e)
112
- }, ve = {
140
+ }, Te = {
113
141
  stringify: (e) => e,
114
142
  parse: (e) => e
115
- }, P = {
116
- string: ve,
117
- number: be,
118
- boolean: me,
119
- function: he,
120
- method: ye,
121
- json: ge
122
- }, S = Symbol.for("r2wc.render"), x = Symbol.for("r2wc.connected"), v = Symbol.for("r2wc.context"), m = Symbol.for("r2wc.props");
123
- function De(e, a, t) {
124
- var r, o, h;
143
+ }, F = {
144
+ string: Te,
145
+ number: Se,
146
+ boolean: ye,
147
+ function: ve,
148
+ method: Ae,
149
+ json: De
150
+ }, S = Symbol.for("r2wc.render"), x = Symbol.for("r2wc.connected"), A = Symbol.for("r2wc.context"), m = Symbol.for("r2wc.props");
151
+ function we(e, a, t) {
152
+ var n, u, g;
125
153
  a.props || (a.props = e.propTypes ? Object.keys(e.propTypes) : []), a.events || (a.events = []);
126
- const y = Array.isArray(a.props) ? a.props.slice() : Object.keys(a.props), D = Array.isArray(a.events) ? a.events.slice() : Object.keys(a.events), n = {}, b = {}, g = {}, E = {};
127
- for (const c of y) {
128
- n[c] = Array.isArray(a.props) ? "string" : a.props[c];
129
- const l = Ce(c);
130
- g[c] = l, E[l] = c;
154
+ const y = Array.isArray(a.props) ? a.props.slice() : Object.keys(a.props), v = Array.isArray(a.events) ? a.events.slice() : Object.keys(a.events), c = {}, h = {}, D = {}, C = {};
155
+ for (const s of y) {
156
+ c[s] = Array.isArray(a.props) ? "string" : a.props[s];
157
+ const r = Ee(s);
158
+ D[s] = r, C[r] = s;
131
159
  }
132
- for (const c of D)
133
- b[c] = Array.isArray(a.events) ? {} : a.events[c];
134
- class A extends HTMLElement {
160
+ for (const s of v)
161
+ h[s] = Array.isArray(a.events) ? {} : a.events[s];
162
+ class E extends HTMLElement {
135
163
  constructor() {
136
- super(), w(this, h, !0), w(this, o), w(this, r, {}), w(this, "container"), a.shadow ? this.container = this.attachShadow({
164
+ super(), w(this, g, !0), w(this, u), w(this, n, {}), w(this, "container"), a.shadow ? this.container = this.attachShadow({
137
165
  mode: a.shadow
138
166
  }) : this.container = this, this[m].container = this.container;
139
- for (const l of y) {
140
- const u = g[l], d = this.getAttribute(u), p = n[l], i = p ? P[p] : null;
141
- if (p === "method") {
142
- const f = j(u);
167
+ for (const r of y) {
168
+ const i = D[r], p = this.getAttribute(i), d = c[r], l = d ? F[d] : null;
169
+ if (d === "method") {
170
+ const f = k(i);
143
171
  Object.defineProperty(this[m].container, f, {
144
172
  enumerable: !0,
145
173
  configurable: !0,
146
174
  get() {
147
175
  return this[m][f];
148
176
  },
149
- set(L) {
150
- this[m][f] = L, this[S]();
177
+ set(O) {
178
+ this[m][f] = O, this[S]();
151
179
  }
152
- }), this[m][l] = i.parse(d, u, this);
180
+ }), this[m][r] = l.parse(p, i, this);
153
181
  }
154
- i != null && i.parse && d && (this[m][l] = i.parse(d, u, this));
182
+ l != null && l.parse && p && (this[m][r] = l.parse(p, i, this));
155
183
  }
156
- for (const l of D)
157
- this[m][l] = (u) => {
158
- const d = l.replace(/^on/, "").toLowerCase();
184
+ for (const r of v)
185
+ this[m][r] = (i) => {
186
+ const p = r.replace(/^on/, "").toLowerCase();
159
187
  this.dispatchEvent(
160
- new CustomEvent(d, { detail: u, ...b[l] })
188
+ new CustomEvent(p, { detail: i, ...h[r] })
161
189
  );
162
190
  };
163
191
  }
164
192
  static get observedAttributes() {
165
- return Object.keys(E);
193
+ return Object.keys(C);
166
194
  }
167
195
  connectedCallback() {
168
196
  this[x] = !0, this[S]();
169
197
  }
170
198
  disconnectedCallback() {
171
- this[x] = !1, this[v] && t.unmount(this[v]), delete this[v];
199
+ this[x] = !1, this[A] && t.unmount(this[A]), delete this[A];
172
200
  }
173
- attributeChangedCallback(l, u, d) {
174
- const p = E[l], i = n[p], f = i ? P[i] : null;
175
- p in n && f != null && f.parse && d && (this[m][p] = f.parse(d, l, this), this[S]());
201
+ attributeChangedCallback(r, i, p) {
202
+ const d = C[r], l = c[d], f = l ? F[l] : null;
203
+ d in c && f != null && f.parse && p && (this[m][d] = f.parse(p, r, this), this[S]());
176
204
  }
177
- [(h = x, o = v, r = m, S)]() {
178
- this[x] && (this[v] ? t.update(this[v], this[m]) : this[v] = t.mount(
205
+ [(g = x, u = A, n = m, S)]() {
206
+ this[x] && (this[A] ? t.update(this[A], this[m]) : this[A] = t.mount(
179
207
  this.container,
180
208
  e,
181
209
  this[m]
182
210
  ));
183
211
  }
184
212
  }
185
- for (const c of y) {
186
- const l = g[c], u = n[c];
187
- Object.defineProperty(A.prototype, c, {
213
+ for (const s of y) {
214
+ const r = D[s], i = c[s];
215
+ Object.defineProperty(E.prototype, s, {
188
216
  enumerable: !0,
189
217
  configurable: !0,
190
218
  get() {
191
- return this[m][c];
219
+ return this[m][s];
192
220
  },
193
- set(d) {
194
- this[m][c] = d;
195
- const p = u ? P[u] : null;
196
- if (p != null && p.stringify) {
197
- const i = p.stringify(d, l, this);
198
- this.getAttribute(l) !== i && this.setAttribute(l, i);
221
+ set(p) {
222
+ this[m][s] = p;
223
+ const d = i ? F[i] : null;
224
+ if (d != null && d.stringify) {
225
+ const l = d.stringify(p, r, this);
226
+ this.getAttribute(r) !== l && this.setAttribute(r, l);
199
227
  } else
200
228
  this[S]();
201
229
  }
202
230
  });
203
231
  }
204
- return A;
232
+ return E;
205
233
  }
206
- function Ee(e, a, t) {
207
- const r = te(e), o = N.createElement(a, t);
208
- return r.render(o), {
209
- root: r,
234
+ function xe(e, a, t) {
235
+ const n = ne(e), u = I.createElement(a, t);
236
+ return n.render(u), {
237
+ root: n,
210
238
  ReactComponent: a
211
239
  };
212
240
  }
213
- function Ae({ root: e, ReactComponent: a }, t) {
214
- const r = N.createElement(a, t);
215
- e.render(r);
241
+ function Be({ root: e, ReactComponent: a }, t) {
242
+ const n = I.createElement(a, t);
243
+ e.render(n);
216
244
  }
217
- function Se({ root: e }) {
245
+ function Fe({ root: e }) {
218
246
  e.unmount();
219
247
  }
220
- function Te(e, a = {}) {
221
- return De(e, a, { mount: Ee, update: Ae, unmount: Se });
248
+ function Pe(e, a = {}) {
249
+ return we(e, a, { mount: xe, update: Be, unmount: Fe });
222
250
  }
223
- const we = {
251
+ const _e = {
224
252
  id: "string",
225
253
  // deprecated
226
254
  version: "string",
@@ -251,99 +279,99 @@ const we = {
251
279
  selectedSheetId: "string",
252
280
  eventHandlers: "json",
253
281
  preferences: "json"
254
- }, ea = Te(k, {
255
- props: we
282
+ }, ia = Pe(M, {
283
+ props: _e
256
284
  });
257
- function aa(e, a, t, r) {
258
- R(() => {
259
- e && !t && a && r(le(Z(F.getState()).dashboard));
260
- }, [e, t, a, r]);
285
+ function la(e, a, t, n) {
286
+ j(() => {
287
+ e && !t && a && n(pe(se(L.getState()).dashboard));
288
+ }, [e, t, a, n]);
261
289
  }
262
- function ta({
290
+ function ca({
263
291
  name: e,
264
292
  items: a,
265
293
  value: t,
266
- onChange: r,
267
- isLoading: o,
268
- isError: h,
294
+ onChange: n,
295
+ isLoading: u,
296
+ isError: g,
269
297
  refetch: y,
270
- className: D,
271
- icon: n,
272
- showNone: b = !1
298
+ className: v,
299
+ icon: c,
300
+ showNone: h = !1
273
301
  }) {
274
- const g = T.useRef(null), [E, A] = T.useState(!1), [c, l] = T.useState("100%"), u = b ? [...a || [], { id: "none", name: "None" }] : a;
302
+ const D = T.useRef(null), [C, E] = T.useState(!1), [s, r] = T.useState("100%"), i = h ? [...a || [], { id: "none", name: "None" }] : a;
275
303
  T.useLayoutEffect(() => {
276
- g.current && l(g.current.offsetWidth);
304
+ D.current && r(D.current.offsetWidth);
277
305
  }, []);
278
- function d() {
279
- var i;
280
- return o ? "Loading..." : h ? "Error" : t ? (i = a == null ? void 0 : a.find((f) => f.id === t)) == null ? void 0 : i.name : `Select ${e}`;
306
+ function p() {
307
+ var l;
308
+ return u ? "Loading..." : g ? "Error" : t ? (l = a == null ? void 0 : a.find((f) => f.id === t)) == null ? void 0 : l.name : `Select ${e}`;
281
309
  }
282
- function p(i, f) {
283
- r(f), A(!1);
310
+ function d(l, f) {
311
+ n(f), E(!1);
284
312
  }
285
- return /* @__PURE__ */ C(re, { open: E, onOpenChange: A, children: [
286
- /* @__PURE__ */ s(se, { asChild: !0, children: /* @__PURE__ */ C(
287
- oe,
313
+ return /* @__PURE__ */ b(ie, { open: C, onOpenChange: E, children: [
314
+ /* @__PURE__ */ o(le, { asChild: !0, children: /* @__PURE__ */ b(
315
+ ce,
288
316
  {
289
- ref: g,
317
+ ref: D,
290
318
  variant: "outline",
291
319
  role: "combobox",
292
- "aria-expanded": E,
293
- className: B("flex h-9 w-full justify-between", D),
320
+ "aria-expanded": C,
321
+ className: B("flex h-9 w-full justify-between", v),
294
322
  children: [
295
- /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
296
- n && /* @__PURE__ */ s("div", { className: "mr-2", children: n }),
297
- /* @__PURE__ */ s("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children: d() })
323
+ /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
324
+ c && /* @__PURE__ */ o("div", { className: "mr-2", children: c }),
325
+ /* @__PURE__ */ o("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children: p() })
298
326
  ] }),
299
- /* @__PURE__ */ s(ue, { className: "size-4 opacity-50" })
327
+ /* @__PURE__ */ o(me, { className: "size-4 opacity-50" })
300
328
  ]
301
329
  }
302
330
  ) }),
303
- /* @__PURE__ */ s(
304
- ne,
331
+ /* @__PURE__ */ o(
332
+ ue,
305
333
  {
306
334
  className: "w-full p-0",
307
- style: { minWidth: c },
308
- children: /* @__PURE__ */ C(I, { children: [
309
- /* @__PURE__ */ C("div", { className: "flex h-9 items-center justify-between border-b pr-1", children: [
310
- /* @__PURE__ */ s(M, { className: "h-9", placeholder: "Search..." }),
311
- /* @__PURE__ */ s(ce, { className: "h-7", onClick: y, children: /* @__PURE__ */ s(
312
- ee,
335
+ style: { minWidth: s },
336
+ children: /* @__PURE__ */ b(U, { children: [
337
+ /* @__PURE__ */ b("div", { className: "flex h-9 items-center justify-between border-b pr-1", children: [
338
+ /* @__PURE__ */ o(V, { className: "h-9", placeholder: "Search..." }),
339
+ /* @__PURE__ */ o(fe, { className: "h-7", onClick: y, children: /* @__PURE__ */ o(
340
+ re,
313
341
  {
314
342
  className: B(
315
343
  "size-3.5 opacity-50",
316
- o && "animate-spin"
344
+ u && "animate-spin"
317
345
  )
318
346
  }
319
347
  ) })
320
348
  ] }),
321
- /* @__PURE__ */ C(O, { children: [
322
- /* @__PURE__ */ C(U, { children: [
349
+ /* @__PURE__ */ b(z, { children: [
350
+ /* @__PURE__ */ b(H, { children: [
323
351
  "No ",
324
352
  e == null ? void 0 : e.toLowerCase(),
325
353
  " found."
326
354
  ] }),
327
- /* @__PURE__ */ s(V, { children: u == null ? void 0 : u.map((i) => /* @__PURE__ */ s(
328
- z,
355
+ /* @__PURE__ */ o(W, { children: i == null ? void 0 : i.map((l) => /* @__PURE__ */ o(
356
+ q,
329
357
  {
330
358
  className: "overflow-x-auto",
331
- value: i.name,
332
- onSelect: (f) => p(f, i.id),
333
- children: /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
334
- /* @__PURE__ */ s(
335
- ie,
359
+ value: l.name,
360
+ onSelect: (f) => d(f, l.id),
361
+ children: /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
362
+ /* @__PURE__ */ o(
363
+ de,
336
364
  {
337
365
  className: B(
338
366
  "size-4",
339
- t === i.id ? "opacity-100" : "opacity-0"
367
+ t === l.id ? "opacity-100" : "opacity-0"
340
368
  )
341
369
  }
342
370
  ),
343
- /* @__PURE__ */ s("div", { title: i.name, children: i.name })
371
+ /* @__PURE__ */ o("div", { title: l.name, children: l.name })
344
372
  ] })
345
373
  },
346
- i.id
374
+ l.id
347
375
  )) })
348
376
  ] })
349
377
  ] })
@@ -351,158 +379,164 @@ function ta({
351
379
  )
352
380
  ] });
353
381
  }
354
- function ra(e, a) {
355
- R(() => (e && a && (window.__SEMAPHOR_PRINT_STATE__ = {
382
+ function ua(e, a) {
383
+ j(() => (e && a && (window.__SEMAPHOR_PRINT_STATE__ = {
356
384
  ...a
357
385
  }), () => {
358
386
  e && window.__SEMAPHOR_PRINT_STATE__ && delete window.__SEMAPHOR_PRINT_STATE__;
359
387
  }), [e, a]);
360
388
  }
361
389
  export {
362
- or as ActivityBell,
363
- ga as ActivityProvider,
364
- K as ActivityScope,
365
- nr as AdvancedModeToggle,
366
- ca as AssistantPanel,
367
- ua as AssistantProvider,
368
- da as AssistantToolbarButton,
369
- Ca as BriefingAuthor,
370
- ya as BriefingAuthorDialog,
371
- ba as BriefingUiCapabilitiesBoundary,
372
- va as BriefingUiCapabilitiesProvider,
373
- Da as BriefingsApiError,
374
- qt as CALCULATED_FIELD_ENTITY_MARKER,
375
- na as CONTROL_CARD_DEFAULT_VALUE,
376
- Ea as CardSummary,
377
- ta as Combobox,
378
- $t as DATE_FORMAT_VALUES,
379
- Dr as DEFAULT_CALENDAR_CONTEXT,
380
- Vt as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
381
- k as Dashboard,
382
- ir as DashboardBriefingLauncher,
383
- lr as DashboardControlsSettings,
384
- Aa as DashboardCreateDialogBase,
385
- Sa as DashboardExportDialog,
386
- cr as DashboardFilterControlsButton,
387
- ur as DashboardFilterControlsLauncher,
388
- ea as DashboardWC,
389
- pa as DisplayFormatPreferencesFields,
390
- dr as DocumentControlsSettings,
391
- ia as EMPTY_SELECTION,
392
- Ta as ExportError,
393
- Ht as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
394
- wa as MatrixCardView,
395
- Wt as PivotMarkerEnum,
396
- fa as ReportPreferencesDialog,
397
- xa as ResourceType,
398
- $ as SemaphorContextProvider,
399
- Ba as SemaphorDataProvider,
400
- Pa as SemaphorQueryClient,
401
- _a as ShareDialog,
402
- Fa as SummaryCard,
403
- ma as Surfboard,
404
- pr as UnsavedChangesAlert,
405
- Ze as Visual,
406
- fr as VisualEditingControls,
407
- mr as VisualsLibraryDialog,
408
- hr as WatchDashboardButton,
409
- Na as applyBriefingFormPatch,
410
- Ra as briefingFormDraftToCreateRequest,
411
- ja as briefingFormDraftToUpdateRequest,
412
- La as briefingToFormDraft,
413
- ka as cancelBriefingPreviewRun,
414
- Ia as cancelBriefingRun,
415
- Ma as cancelExport,
416
- le as cloneDeep,
417
- Oa as createBriefing,
418
- Ua as createBriefingFormDraft,
419
- Va as createEmptyKpiConfig,
420
- za as createExport,
421
- qa as createMatrixDirectExport,
422
- wr as createSqlGenConfig,
423
- $a as deleteBriefing,
424
- Ha as deleteBriefingRun,
425
- Wa as downloadDocumentPdf,
426
- Qa as downloadPdf,
427
- Ka as emitDashboardLoad,
428
- Ga as emitDashboardUnload,
429
- xr as fmt,
430
- Ya as formatFileSize,
431
- Ja as getBriefing,
432
- Xa as getBriefingArtifact,
433
- Za as getBriefingEvidence,
434
- et as getBriefingPreviewRun,
435
- at as getBriefingRun,
436
- Qt as getCalculatedFieldComputeStage,
437
- Br as getColumnDataType,
438
- tt as getDownloadUrl,
439
- rt as getExportStatus,
440
- st as getExports,
441
- Kt as getFieldRuntimeColumnName,
442
- Pr as getFilterValueType,
443
- _r as getFormattedTableNameForQuery,
444
- Fr as getQualifiedTableName,
445
- Nr as getSql,
446
- Gt as hasCalculatedFieldMarker,
447
- Yt as hasCalculatedFormulaInputs,
448
- Jt as hasSyntheticCalculatedFieldOwner,
449
- Xt as inspectCalculatedField,
450
- gr as invalidateToken,
451
- Rr as isBooleanDataType,
452
- Zt as isCalculatedDimension,
453
- er as isCalculatedMetric,
454
- jr as isColumnInSqlGen,
455
- Lr as isDateDataType,
456
- ar as isDerivedField,
457
- ot as isExportComplete,
458
- nt as isExportInProgress,
459
- kr as isNumberDataType,
460
- Ir as isTextDataType,
461
- it as listBriefingRuns,
462
- lt as listBriefingTenantSummaries,
463
- ct as listBriefings,
464
- ut as mergeSemanticExecutionPayloadIntoTarget,
465
- tr as normalizeCalculatedFieldRepresentation,
466
- Vr as normalizeDashboardForDirtyCheck,
467
- dt as pauseBriefing,
468
- pt as polishBriefingText,
469
- ft as previewBriefingPlan,
470
- Mr as resolveDataType,
471
- Or as resolveDatamodelName,
472
- Ar as resolveQueryColumnKeyMapEntry,
473
- Sr as resolveUniqueQueryColumnKeyMapEntry,
474
- mt as resumeBriefing,
475
- ht as runBriefingNow,
476
- gt as runBriefingPreview,
477
- Z as selectEditSessionStart,
478
- zr as serializeDashboardForDirtyCheck,
479
- rr as shouldDropInheritedCalculationAggregate,
480
- Ct as updateBriefing,
481
- yt as useActivity,
482
- bt as useAddNewFrame,
483
- vt as useAssistant,
484
- Dt as useBriefingUiCapabilities,
485
- Et as useCard,
486
- At as useCardSummary,
487
- St as useCurrentActiveCard,
488
- Tt as useCurrentCardConfig,
489
- wt as useCurrentSheetActiveCards,
490
- xt as useDashboardActions,
491
- Bt as useDashboardById,
492
- Pt as useDashboardQuery,
493
- F as useDashboardStore,
494
- _t as useDashboardSummary,
495
- Cr as useDashboardUnsavedChangesCheck,
496
- Ft as useDataColumns,
497
- Nt as useDateFilterHook,
498
- br as useDebouncedDirtyCheck,
499
- Rt as useEditorActions,
500
- jt as useEditorAside,
501
- Lt as useEditorStore,
502
- ra as useExposePrintState,
503
- kt as useManagementStore,
504
- aa as usePristineSnapshotInitializer,
505
- It as useResourceManagement,
506
- Mt as useTextFilterHook,
507
- Ot as validateBriefingFormDraft
390
+ gs as ActivityBell,
391
+ Aa as ActivityProvider,
392
+ Y as ActivityScope,
393
+ Cs as AdvancedModeToggle,
394
+ bs as ArrangeLayoutButton,
395
+ ga as AssistantPanel,
396
+ Ca as AssistantProvider,
397
+ ba as AssistantToolbarButton,
398
+ Sa as BriefingAuthor,
399
+ Ta as BriefingAuthorDialog,
400
+ wa as BriefingUiCapabilitiesBoundary,
401
+ xa as BriefingUiCapabilitiesProvider,
402
+ Ba as BriefingsApiError,
403
+ Xt as CALCULATED_FIELD_ENTITY_MARKER,
404
+ fa as CONTROL_CARD_DEFAULT_VALUE,
405
+ Fa as CardSummary,
406
+ ca as Combobox,
407
+ Zt as DATE_FORMAT_VALUES,
408
+ js as DEFAULT_CALENDAR_CONTEXT,
409
+ ms as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
410
+ M as Dashboard,
411
+ ys as DashboardBriefingLauncher,
412
+ vs as DashboardControlsSettings,
413
+ Pa as DashboardCreateDialogBase,
414
+ _a as DashboardExportDialog,
415
+ Ds as DashboardFilterControlsButton,
416
+ Es as DashboardFilterControlsLauncher,
417
+ ia as DashboardWC,
418
+ ya as DisplayFormatPreferencesFields,
419
+ As as DocumentControlsSettings,
420
+ ma as EMPTY_SELECTION,
421
+ Na as ExportError,
422
+ es as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
423
+ Ra as MatrixCardView,
424
+ La as PROPOSAL_REFUSALS,
425
+ as as PivotMarkerEnum,
426
+ va as ReportPreferencesDialog,
427
+ Ia as ResourceType,
428
+ Ss as ScreenSizePreviewButton,
429
+ G as SemaphorContextProvider,
430
+ ja as SemaphorDataProvider,
431
+ ka as SemaphorQueryClient,
432
+ Oa as ShareDialog,
433
+ Ma as SummaryCard,
434
+ Da as Surfboard,
435
+ Ts as UnsavedChangesAlert,
436
+ na as Visual,
437
+ ws as VisualEditingControls,
438
+ xs as VisualsLibraryDialog,
439
+ Bs as WatchDashboardButton,
440
+ Ua as applyBriefingFormPatch,
441
+ Va as briefingFormDraftToCreateRequest,
442
+ za as briefingFormDraftToUpdateRequest,
443
+ Ha as briefingToFormDraft,
444
+ Wa as cancelBriefingPreviewRun,
445
+ qa as cancelBriefingRun,
446
+ $a as cancelExport,
447
+ pe as cloneDeep,
448
+ Ga as createBriefing,
449
+ Ka as createBriefingFormDraft,
450
+ Qa as createEmptyKpiConfig,
451
+ Ja as createExport,
452
+ Ya as createMatrixDirectExport,
453
+ Vs as createSqlGenConfig,
454
+ Xa as deleteBriefing,
455
+ Za as deleteBriefingRun,
456
+ et as downloadDocumentPdf,
457
+ at as downloadPdf,
458
+ tt as emitDashboardLoad,
459
+ st as emitDashboardUnload,
460
+ zs as fmt,
461
+ rt as formatFileSize,
462
+ ot as getBriefing,
463
+ nt as getBriefingArtifact,
464
+ it as getBriefingEvidence,
465
+ lt as getBriefingPreviewRun,
466
+ ct as getBriefingRun,
467
+ ts as getCalculatedFieldComputeStage,
468
+ Hs as getColumnDataType,
469
+ ut as getDownloadUrl,
470
+ dt as getExportStatus,
471
+ pt as getExports,
472
+ ss as getFieldRuntimeColumnName,
473
+ Ws as getFilterValueType,
474
+ qs as getFormattedTableNameForQuery,
475
+ $s as getQualifiedTableName,
476
+ Gs as getSql,
477
+ rs as hasCalculatedFieldMarker,
478
+ os as hasCalculatedFormulaInputs,
479
+ ns as hasSyntheticCalculatedFieldOwner,
480
+ is as inspectCalculatedField,
481
+ Fs as invalidateToken,
482
+ Ks as isBooleanDataType,
483
+ ls as isCalculatedDimension,
484
+ cs as isCalculatedMetric,
485
+ Qs as isColumnInSqlGen,
486
+ Js as isDateDataType,
487
+ us as isDerivedField,
488
+ ft as isExportComplete,
489
+ mt as isExportInProgress,
490
+ Ys as isNumberDataType,
491
+ Xs as isTextDataType,
492
+ ht as listBriefingRuns,
493
+ gt as listBriefingTenantSummaries,
494
+ Ct as listBriefings,
495
+ bt as mergeSemanticExecutionPayloadIntoTarget,
496
+ ds as normalizeCalculatedFieldRepresentation,
497
+ Ns as normalizeDashboardForDirtyCheck,
498
+ yt as pauseBriefing,
499
+ vt as polishBriefingText,
500
+ Dt as previewBriefingPlan,
501
+ Zs as resolveDataType,
502
+ er as resolveDatamodelName,
503
+ Os as resolveQueryColumnKeyMapEntry,
504
+ Ms as resolveUniqueQueryColumnKeyMapEntry,
505
+ Et as resumeBriefing,
506
+ At as runBriefingNow,
507
+ St as runBriefingPreview,
508
+ se as selectEditSessionStart,
509
+ Tt as selectHasEditingToolbar,
510
+ wt as selectProposalRecordState,
511
+ xt as selectProposalUndoable,
512
+ Rs as serializeDashboardForDirtyCheck,
513
+ ps as shouldDropInheritedCalculationAggregate,
514
+ Bt as updateBriefing,
515
+ Ft as useActivity,
516
+ Pt as useAddNewFrame,
517
+ _t as useAssistant,
518
+ Nt as useBriefingUiCapabilities,
519
+ Rt as useCard,
520
+ Lt as useCardSummary,
521
+ It as useCurrentActiveCard,
522
+ jt as useCurrentCardConfig,
523
+ kt as useCurrentSheetActiveCards,
524
+ Ot as useDashboardActions,
525
+ Mt as useDashboardById,
526
+ Ut as useDashboardQuery,
527
+ L as useDashboardStore,
528
+ Vt as useDashboardSummary,
529
+ Ps as useDashboardUnsavedChangesCheck,
530
+ zt as useDataColumns,
531
+ Ht as useDateFilterHook,
532
+ Ls as useDebouncedDirtyCheck,
533
+ Wt as useEditorActions,
534
+ qt as useEditorAside,
535
+ $t as useEditorStore,
536
+ ua as useExposePrintState,
537
+ Gt as useManagementStore,
538
+ la as usePristineSnapshotInitializer,
539
+ Kt as useResourceManagement,
540
+ Qt as useTextFilterHook,
541
+ Jt as validateBriefingFormDraft
508
542
  };