react-semaphor 0.1.605 → 0.1.607

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 (151) hide show
  1. package/dist/analytics-protocol/index.js +1 -1
  2. package/dist/appearance-runtime/index.js +1 -1
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/assistant-protocol/index.js +1 -1
  5. package/dist/brand-studio/index.js +2 -2
  6. package/dist/briefings/index.js +1 -1
  7. package/dist/chunks/add-to-dashboard-Bu3M9DpP.js +12 -0
  8. package/dist/chunks/appearance-provider-C4lPZcaN.js +613 -0
  9. package/dist/chunks/appearance-runtime-provider-De2VZS4F.js +1 -0
  10. package/dist/chunks/assistant-chat-B7Fngg8U.js +53 -0
  11. package/dist/chunks/attachment-filter-line-wJRB0GSP.js +1 -0
  12. package/dist/chunks/{bookmark-impact-BAtemeyK.js → bookmark-impact-DjrrJomS.js} +1 -1
  13. package/dist/chunks/bookmark-state-x9hJS83D.js +1 -0
  14. package/dist/chunks/{brand-C9APUFaP.js → brand-DgFcvKJI.js} +1 -1
  15. package/dist/chunks/{card-filter-builder-ClWrXB7P.js → card-filter-builder-CvxygmsE.js} +8 -3
  16. package/dist/chunks/check-input-7DVPUuco.js +1 -0
  17. package/dist/chunks/{comparison-window-caption-tguyN24S.js → comparison-window-caption-zUZDe4tL.js} +1 -1
  18. package/dist/chunks/compiler-XErOfUUx.js +1 -0
  19. package/dist/chunks/context-Cwj8Axgd.js +2 -0
  20. package/dist/chunks/currency-presentation-binding-w9WDUk3b.js +1 -0
  21. package/dist/chunks/custom-visual-inputs-D8U98aBz.js +1 -0
  22. package/dist/chunks/{dashboard-ChIcbVTx.js → dashboard-BEd6i29E.js} +1 -1
  23. package/dist/chunks/{dashboard-briefing-launcher-CwMlhkxV.js → dashboard-briefing-launcher-DMDYM9IA.js} +9 -14
  24. package/dist/chunks/{dashboard-controls-UCSAFCGA.js → dashboard-controls-5B2vCIjJ.js} +8 -8
  25. package/dist/chunks/{dashboard-json-B120hYDa.js → dashboard-json-C6r30x-5.js} +1 -1
  26. package/dist/chunks/dashboard-temporal-snapshot-Wki-YACw.js +1 -0
  27. package/dist/chunks/edit-dashboard-visual-F2w7v4iB.js +83 -0
  28. package/dist/chunks/{filter-line-WwUV5JzN.js → filter-line-COFQaF4_.js} +1 -1
  29. package/dist/chunks/filter-reach-preview-BWRGfSmb.js +1 -0
  30. package/dist/chunks/filter-value-text-BSAMEgve.js +1 -0
  31. package/dist/chunks/kpi-trend-rule-BcnKbY7d.js +1 -0
  32. package/dist/chunks/{layout-grid-CFzqJ7GC.js → layout-grid-DahW4ClC.js} +1 -1
  33. package/dist/chunks/matrix-analytical-definition-Bd-dXB8q.js +1 -0
  34. package/dist/chunks/{matrix-member-presentation-vVAv-aqg.js → matrix-member-presentation-CfvxPV-i.js} +1 -1
  35. package/dist/chunks/matrix-operation-contract-Cw7U53Ao.js +1 -0
  36. package/dist/chunks/metric-formatting-QDqXfQGY.js +1 -0
  37. package/dist/chunks/{numeric-range-options-C8tr-Bls.js → numeric-range-options-s6i_nDXg.js} +1 -1
  38. package/dist/chunks/{palette-NvEIuXHN.js → palette-CYvJHSqP.js} +1 -1
  39. package/dist/chunks/pivot-result-contract-expectations-BX5gLcze.js +1 -0
  40. package/dist/chunks/{pivot-result-identity-B0eWVMXg.js → pivot-result-identity-DOISzHU4.js} +1 -1
  41. package/dist/chunks/{raw-temporal-value-BHQ-ldpW.js → raw-temporal-value-Cssny3RJ.js} +1 -1
  42. package/dist/chunks/report-preferences-dialog-BNpB9byP.js +1 -0
  43. package/dist/chunks/{report-runtime-context-Cd1b5pku.js → report-runtime-context-B8HuY0bu.js} +1 -1
  44. package/dist/chunks/resolve-dashboard-input-context-B-0tONJg.js +8 -0
  45. package/dist/chunks/sandbox-host-Drf58_oU.js +197 -0
  46. package/dist/chunks/saved-dashboard-context-dbdbQ5bB.js +1 -0
  47. package/dist/chunks/{selection-filter-compiler-kYsRugss.js → selection-filter-compiler-DK8KkS9g.js} +1 -1
  48. package/dist/chunks/semaphor-ready-indicator-BSFsqsBJ.js +617 -0
  49. package/dist/chunks/set-oJDaJdtI.js +1 -0
  50. package/dist/chunks/slider-DAvAdfMC.js +599 -0
  51. package/dist/chunks/stored-dashboard-DmgJQcyZ.js +1 -0
  52. package/dist/chunks/table-cell-text-2x6r_oHO.js +1 -0
  53. package/dist/chunks/{table-export-sheet-xaczzWZF.js → table-export-sheet-CWqKiQu4.js} +1 -1
  54. package/dist/chunks/{token-types-1vzMWjI-.js → token-types-BSyWn2pb.js} +1 -1
  55. package/dist/chunks/{validators-Dg2kyF4_.js → validators-BPGmPz8-.js} +1 -1
  56. package/dist/chunks/{variable-draft-B4_xqr4Y.js → variable-draft-DGA22H2g.js} +1 -1
  57. package/dist/chunks/visual-contract-DQPKg5QW.js +143 -0
  58. package/dist/dashboard/index.js +1 -1
  59. package/dist/dashboard-authoring/index.js +1 -1
  60. package/dist/extensions/index.js +1 -0
  61. package/dist/format-utils/index.js +1 -1
  62. package/dist/index.js +1 -1
  63. package/dist/report-runtime-context/index.js +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/surfboard/index.js +1 -1
  66. package/dist/types/components/assistant/assistant-store.d.ts +19 -0
  67. package/dist/types/components/assistant/use-assistant.d.ts +4 -0
  68. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +2 -3
  69. package/dist/types/components/visual/data-table/table-cell-text.d.ts +93 -0
  70. package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -1
  71. package/dist/types/extensions.d.ts +2 -0
  72. package/dist/types/index.js +1 -1
  73. package/dist/types/lib/charts/types.d.ts +3 -1
  74. package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -2
  75. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +12 -12
  76. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +25 -25
  77. package/dist/types/lib/stores/dashboard-store.d.ts +33 -2
  78. package/dist/types/lib/stores/editor-store.d.ts +8 -0
  79. package/dist/types/lib/types/common-types.d.ts +3 -0
  80. package/dist/types/lib/utils/card-definition.d.ts +12 -12
  81. package/dist/types/lib/utils/card-type-change.d.ts +9 -0
  82. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +6 -6
  83. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
  84. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +248 -248
  85. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +10 -10
  86. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +8 -8
  87. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +2 -2
  88. package/dist/types/shared/assistant-protocol/context.d.ts +26 -26
  89. package/dist/types/shared/assistant-protocol/parts.d.ts +4 -0
  90. package/dist/types/shared/assistant-protocol/request.d.ts +2 -1
  91. package/dist/types/shared/dashboard-authoring/card-data-source/card-base.d.ts +16 -6
  92. package/dist/types/shared/dashboard-authoring/card-settings/custom-visual-write.d.ts +44 -0
  93. package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +1 -0
  94. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
  95. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +2 -2
  96. package/dist/types/shared/dashboard-authoring/changes/custom-visual-change.d.ts +57 -0
  97. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +61 -54
  98. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +5 -1
  99. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +5 -1
  100. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +10 -0
  101. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +60 -60
  102. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +4 -4
  103. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +48 -48
  104. package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +1 -1
  105. package/dist/types/shared/dashboard-authoring/measure-calculations/window-transforms.d.ts +2 -0
  106. package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +8 -2
  107. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
  108. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +7 -0
  109. package/dist/types/shared/extensions/check-audits.d.ts +30 -0
  110. package/dist/types/shared/extensions/check-findings.d.ts +46 -0
  111. package/dist/types/shared/extensions/check-input.d.ts +23 -0
  112. package/dist/types/shared/extensions/check-renders.d.ts +44 -0
  113. package/dist/types/shared/extensions/check-runner.d.ts +19 -0
  114. package/dist/types/shared/extensions/index.d.ts +17 -0
  115. package/dist/types/shared/extensions/read-document.d.ts +18 -0
  116. package/dist/types/shared/extensions/sandbox-host.d.ts +63 -0
  117. package/dist/types/shared/extensions/saved-refs.d.ts +33 -0
  118. package/dist/types/shared/extensions/script-policy.d.ts +11 -0
  119. package/dist/types/shared/extensions/types.d.ts +186 -0
  120. package/dist/types/shared/extensions/visual-contract.d.ts +36 -0
  121. package/dist/types/shared/extensions/visual-payload.d.ts +75 -0
  122. package/dist/types/shared/extensions/visual-theme.d.ts +21 -0
  123. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +13 -6
  124. package/dist/types/shared/format-utils/matrix-continuation.d.ts +2 -2
  125. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +24 -24
  126. package/dist/types/shared/usage-events/details.d.ts +4 -4
  127. package/dist/types/shared/usage-events/envelope.d.ts +2 -2
  128. package/dist/usage-events/index.js +1 -1
  129. package/package.json +7 -2
  130. package/dist/chunks/add-to-dashboard-CEmZUf9o.js +0 -12
  131. package/dist/chunks/appearance-provider-CfoAVQuG.js +0 -608
  132. package/dist/chunks/appearance-runtime-provider-Bx8H-moR.js +0 -1
  133. package/dist/chunks/assistant-chat-DgUaCE9k.js +0 -51
  134. package/dist/chunks/attachment-filter-line-C_zHMhGh.js +0 -1
  135. package/dist/chunks/bookmark-state-DScd31KT.js +0 -1
  136. package/dist/chunks/context-CntvtZwC.js +0 -2
  137. package/dist/chunks/dashboard-temporal-snapshot-BFJKbp_6.js +0 -1
  138. package/dist/chunks/edit-dashboard-visual-DvHp03h_.js +0 -73
  139. package/dist/chunks/filter-reach-preview-C5M5_hf_.js +0 -1
  140. package/dist/chunks/filter-value-text-DqTHe_vu.js +0 -1
  141. package/dist/chunks/kpi-trend-rule-B87LNzcz.js +0 -1
  142. package/dist/chunks/matrix-analytical-definition-5T-2euHZ.js +0 -1
  143. package/dist/chunks/matrix-operation-contract-CWvcEsQ0.js +0 -1
  144. package/dist/chunks/pivot-result-contract-expectations-BNWhS8mv.js +0 -1
  145. package/dist/chunks/report-preferences-dialog-Bseb2Rlg.js +0 -1
  146. package/dist/chunks/resolve-dashboard-input-context-BDY7KwRe.js +0 -8
  147. package/dist/chunks/saved-dashboard-context-C3lWc4Dx.js +0 -1
  148. package/dist/chunks/semaphor-ready-indicator-BQarSo6S.js +0 -612
  149. package/dist/chunks/set-6mOnfQeH.js +0 -1
  150. package/dist/chunks/slider-BPnHdMGq.js +0 -4
  151. package/dist/chunks/stored-dashboard-DfrxDLhR.js +0 -1
@@ -318,8 +318,8 @@ declare const specShape: z.ZodObject<{
318
318
  }[];
319
319
  };
320
320
  levelId: string;
321
- axis: "columns" | "rows";
322
321
  direction: "asc" | "desc";
322
+ axis: "columns" | "rows";
323
323
  nulls: "last" | "first";
324
324
  }[];
325
325
  rankings: readonly MatrixRanking[];
@@ -386,8 +386,8 @@ declare const specShape: z.ZodObject<{
386
386
  }[];
387
387
  };
388
388
  levelId: string;
389
- axis: "columns" | "rows";
390
389
  direction: "asc" | "desc";
390
+ axis: "columns" | "rows";
391
391
  nulls: "last" | "first";
392
392
  }[];
393
393
  rankings: readonly MatrixRanking[];
@@ -528,8 +528,8 @@ declare const authoringSpecShape: z.ZodObject<{
528
528
  }[];
529
529
  };
530
530
  levelId: string;
531
- axis: "columns" | "rows";
532
531
  direction: "asc" | "desc";
532
+ axis: "columns" | "rows";
533
533
  nulls: "last" | "first";
534
534
  }[];
535
535
  rankings: readonly MatrixRanking[];
@@ -596,8 +596,8 @@ declare const authoringSpecShape: z.ZodObject<{
596
596
  }[];
597
597
  };
598
598
  levelId: string;
599
- axis: "columns" | "rows";
600
599
  direction: "asc" | "desc";
600
+ axis: "columns" | "rows";
601
601
  nulls: "last" | "first";
602
602
  }[];
603
603
  rankings: readonly MatrixRanking[];
@@ -738,8 +738,8 @@ declare const analyticalIntentShape: z.ZodObject<{
738
738
  }[];
739
739
  };
740
740
  levelId: string;
741
- axis: "columns" | "rows";
742
741
  direction: "asc" | "desc";
742
+ axis: "columns" | "rows";
743
743
  nulls: "last" | "first";
744
744
  }[];
745
745
  rankings: readonly MatrixRanking[];
@@ -807,8 +807,8 @@ declare const analyticalIntentShape: z.ZodObject<{
807
807
  }[];
808
808
  };
809
809
  levelId: string;
810
- axis: "columns" | "rows";
811
810
  direction: "asc" | "desc";
811
+ axis: "columns" | "rows";
812
812
  nulls: "last" | "first";
813
813
  }[];
814
814
  rankings: readonly MatrixRanking[];
@@ -830,12 +830,12 @@ export declare const matrixTotalPresentationSchema: z.ZodObject<{
830
830
  /** As written; a subtotal's `{member}` becomes its member's name. */
831
831
  label: z.ZodOptional<z.ZodString>;
832
832
  }, "strict", z.ZodTypeAny, {
833
- visible: boolean;
834
833
  position: "before" | "after";
834
+ visible: boolean;
835
835
  label?: string | undefined;
836
836
  }, {
837
- visible: boolean;
838
837
  position: "before" | "after";
838
+ visible: boolean;
839
839
  label?: string | undefined;
840
840
  }>;
841
841
  declare const presentationFields: {
@@ -877,12 +877,12 @@ declare const presentationFields: {
877
877
  /** As written; a subtotal's `{member}` becomes its member's name. */
878
878
  label: z.ZodOptional<z.ZodString>;
879
879
  }, "strict", z.ZodTypeAny, {
880
- visible: boolean;
881
880
  position: "before" | "after";
881
+ visible: boolean;
882
882
  label?: string | undefined;
883
883
  }, {
884
- visible: boolean;
885
884
  position: "before" | "after";
885
+ visible: boolean;
886
886
  label?: string | undefined;
887
887
  }>;
888
888
  levels: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -891,12 +891,12 @@ declare const presentationFields: {
891
891
  /** As written; a subtotal's `{member}` becomes its member's name. */
892
892
  label: z.ZodOptional<z.ZodString>;
893
893
  }, "strict", z.ZodTypeAny, {
894
- visible: boolean;
895
894
  position: "before" | "after";
895
+ visible: boolean;
896
896
  label?: string | undefined;
897
897
  }, {
898
- visible: boolean;
899
898
  position: "before" | "after";
899
+ visible: boolean;
900
900
  label?: string | undefined;
901
901
  }>>>;
902
902
  /**
@@ -905,28 +905,28 @@ declare const presentationFields: {
905
905
  */
906
906
  skipRedundant: z.ZodOptional<z.ZodBoolean>;
907
907
  }, "strict", z.ZodTypeAny, {
908
- grand: {
909
- visible: boolean;
910
- position: "before" | "after";
911
- label?: string | undefined;
912
- };
913
908
  levels: Readonly<Record<string, {
914
- visible: boolean;
915
909
  position: "before" | "after";
910
+ visible: boolean;
916
911
  label?: string | undefined;
917
912
  }>>;
918
- skipRedundant?: boolean | undefined;
919
- }, {
920
913
  grand: {
921
- visible: boolean;
922
914
  position: "before" | "after";
915
+ visible: boolean;
923
916
  label?: string | undefined;
924
917
  };
918
+ skipRedundant?: boolean | undefined;
919
+ }, {
925
920
  levels: Readonly<Record<string, {
926
- visible: boolean;
927
921
  position: "before" | "after";
922
+ visible: boolean;
928
923
  label?: string | undefined;
929
924
  }>>;
925
+ grand: {
926
+ position: "before" | "after";
927
+ visible: boolean;
928
+ label?: string | undefined;
929
+ };
930
930
  skipRedundant?: boolean | undefined;
931
931
  }>;
932
932
  columns: z.ZodObject<{
@@ -936,12 +936,12 @@ declare const presentationFields: {
936
936
  /** As written; a subtotal's `{member}` becomes its member's name. */
937
937
  label: z.ZodOptional<z.ZodString>;
938
938
  }, "strict", z.ZodTypeAny, {
939
- visible: boolean;
940
939
  position: "before" | "after";
940
+ visible: boolean;
941
941
  label?: string | undefined;
942
942
  }, {
943
- visible: boolean;
944
943
  position: "before" | "after";
944
+ visible: boolean;
945
945
  label?: string | undefined;
946
946
  }>;
947
947
  levels: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -950,12 +950,12 @@ declare const presentationFields: {
950
950
  /** As written; a subtotal's `{member}` becomes its member's name. */
951
951
  label: z.ZodOptional<z.ZodString>;
952
952
  }, "strict", z.ZodTypeAny, {
953
- visible: boolean;
954
953
  position: "before" | "after";
954
+ visible: boolean;
955
955
  label?: string | undefined;
956
956
  }, {
957
- visible: boolean;
958
957
  position: "before" | "after";
958
+ visible: boolean;
959
959
  label?: string | undefined;
960
960
  }>>>;
961
961
  /**
@@ -964,82 +964,82 @@ declare const presentationFields: {
964
964
  */
965
965
  skipRedundant: z.ZodOptional<z.ZodBoolean>;
966
966
  }, "strict", z.ZodTypeAny, {
967
- grand: {
968
- visible: boolean;
969
- position: "before" | "after";
970
- label?: string | undefined;
971
- };
972
967
  levels: Readonly<Record<string, {
973
- visible: boolean;
974
968
  position: "before" | "after";
969
+ visible: boolean;
975
970
  label?: string | undefined;
976
971
  }>>;
977
- skipRedundant?: boolean | undefined;
978
- }, {
979
972
  grand: {
980
- visible: boolean;
981
973
  position: "before" | "after";
974
+ visible: boolean;
982
975
  label?: string | undefined;
983
976
  };
977
+ skipRedundant?: boolean | undefined;
978
+ }, {
984
979
  levels: Readonly<Record<string, {
985
- visible: boolean;
986
980
  position: "before" | "after";
981
+ visible: boolean;
987
982
  label?: string | undefined;
988
983
  }>>;
989
- skipRedundant?: boolean | undefined;
990
- }>;
991
- }, "strict", z.ZodTypeAny, {
992
- columns: {
993
984
  grand: {
994
- visible: boolean;
995
985
  position: "before" | "after";
986
+ visible: boolean;
996
987
  label?: string | undefined;
997
988
  };
989
+ skipRedundant?: boolean | undefined;
990
+ }>;
991
+ }, "strict", z.ZodTypeAny, {
992
+ columns: {
998
993
  levels: Readonly<Record<string, {
999
- visible: boolean;
1000
994
  position: "before" | "after";
995
+ visible: boolean;
1001
996
  label?: string | undefined;
1002
997
  }>>;
1003
- skipRedundant?: boolean | undefined;
1004
- };
1005
- rows: {
1006
998
  grand: {
1007
- visible: boolean;
1008
999
  position: "before" | "after";
1000
+ visible: boolean;
1009
1001
  label?: string | undefined;
1010
1002
  };
1003
+ skipRedundant?: boolean | undefined;
1004
+ };
1005
+ rows: {
1011
1006
  levels: Readonly<Record<string, {
1012
- visible: boolean;
1013
1007
  position: "before" | "after";
1008
+ visible: boolean;
1014
1009
  label?: string | undefined;
1015
1010
  }>>;
1016
- skipRedundant?: boolean | undefined;
1017
- };
1018
- }, {
1019
- columns: {
1020
1011
  grand: {
1021
- visible: boolean;
1022
1012
  position: "before" | "after";
1013
+ visible: boolean;
1023
1014
  label?: string | undefined;
1024
1015
  };
1016
+ skipRedundant?: boolean | undefined;
1017
+ };
1018
+ }, {
1019
+ columns: {
1025
1020
  levels: Readonly<Record<string, {
1026
- visible: boolean;
1027
1021
  position: "before" | "after";
1022
+ visible: boolean;
1028
1023
  label?: string | undefined;
1029
1024
  }>>;
1030
- skipRedundant?: boolean | undefined;
1031
- };
1032
- rows: {
1033
1025
  grand: {
1034
- visible: boolean;
1035
1026
  position: "before" | "after";
1027
+ visible: boolean;
1036
1028
  label?: string | undefined;
1037
1029
  };
1030
+ skipRedundant?: boolean | undefined;
1031
+ };
1032
+ rows: {
1038
1033
  levels: Readonly<Record<string, {
1039
- visible: boolean;
1040
1034
  position: "before" | "after";
1035
+ visible: boolean;
1041
1036
  label?: string | undefined;
1042
1037
  }>>;
1038
+ grand: {
1039
+ position: "before" | "after";
1040
+ visible: boolean;
1041
+ label?: string | undefined;
1042
+ };
1043
1043
  skipRedundant?: boolean | undefined;
1044
1044
  };
1045
1045
  }>;
@@ -1300,8 +1300,8 @@ declare const viewStateShape: z.ZodObject<{
1300
1300
  }[];
1301
1301
  };
1302
1302
  levelId: string;
1303
- axis: "columns" | "rows";
1304
1303
  direction: "asc" | "desc";
1304
+ axis: "columns" | "rows";
1305
1305
  nulls: "last" | "first";
1306
1306
  }[];
1307
1307
  }, {
@@ -1367,8 +1367,8 @@ declare const viewStateShape: z.ZodObject<{
1367
1367
  }[];
1368
1368
  };
1369
1369
  levelId: string;
1370
- axis: "columns" | "rows";
1371
1370
  direction: "asc" | "desc";
1371
+ axis: "columns" | "rows";
1372
1372
  nulls: "last" | "first";
1373
1373
  }[];
1374
1374
  }>;
@@ -1384,6 +1384,50 @@ declare const definitionInputShape: z.ZodObject<{
1384
1384
  defaults: MatrixDefaultViewSchema;
1385
1385
  session: z.ZodOptional<MatrixViewStateSchema>;
1386
1386
  }, "strict", z.ZodTypeAny, {
1387
+ presentation: {
1388
+ totals: {
1389
+ columns: {
1390
+ levels: Readonly<Record<string, {
1391
+ position: "before" | "after";
1392
+ visible: boolean;
1393
+ label?: string | undefined;
1394
+ }>>;
1395
+ grand: {
1396
+ position: "before" | "after";
1397
+ visible: boolean;
1398
+ label?: string | undefined;
1399
+ };
1400
+ skipRedundant?: boolean | undefined;
1401
+ };
1402
+ rows: {
1403
+ levels: Readonly<Record<string, {
1404
+ position: "before" | "after";
1405
+ visible: boolean;
1406
+ label?: string | undefined;
1407
+ }>>;
1408
+ grand: {
1409
+ position: "before" | "after";
1410
+ visible: boolean;
1411
+ label?: string | undefined;
1412
+ };
1413
+ skipRedundant?: boolean | undefined;
1414
+ };
1415
+ };
1416
+ layout: {
1417
+ kind: "compact";
1418
+ } | {
1419
+ kind: "tabular";
1420
+ repeatLabels: boolean;
1421
+ };
1422
+ absence: {
1423
+ emptyText: string;
1424
+ nullText: string;
1425
+ };
1426
+ levelLabels: Readonly<Record<string, string>>;
1427
+ measureLabels: Readonly<Record<string, string>>;
1428
+ levelFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1429
+ measureFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1430
+ };
1387
1431
  defaults: {
1388
1432
  columns: {
1389
1433
  depth: number;
@@ -1426,50 +1470,6 @@ declare const definitionInputShape: z.ZodObject<{
1426
1470
  }[];
1427
1471
  };
1428
1472
  };
1429
- presentation: {
1430
- totals: {
1431
- columns: {
1432
- grand: {
1433
- visible: boolean;
1434
- position: "before" | "after";
1435
- label?: string | undefined;
1436
- };
1437
- levels: Readonly<Record<string, {
1438
- visible: boolean;
1439
- position: "before" | "after";
1440
- label?: string | undefined;
1441
- }>>;
1442
- skipRedundant?: boolean | undefined;
1443
- };
1444
- rows: {
1445
- grand: {
1446
- visible: boolean;
1447
- position: "before" | "after";
1448
- label?: string | undefined;
1449
- };
1450
- levels: Readonly<Record<string, {
1451
- visible: boolean;
1452
- position: "before" | "after";
1453
- label?: string | undefined;
1454
- }>>;
1455
- skipRedundant?: boolean | undefined;
1456
- };
1457
- };
1458
- layout: {
1459
- kind: "compact";
1460
- } | {
1461
- kind: "tabular";
1462
- repeatLabels: boolean;
1463
- };
1464
- absence: {
1465
- emptyText: string;
1466
- nullText: string;
1467
- };
1468
- levelLabels: Readonly<Record<string, string>>;
1469
- measureLabels: Readonly<Record<string, string>>;
1470
- levelFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1471
- measureFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1472
- };
1473
1473
  spec: {
1474
1474
  source: {
1475
1475
  kind: "semantic";
@@ -1527,8 +1527,8 @@ declare const definitionInputShape: z.ZodObject<{
1527
1527
  }[];
1528
1528
  };
1529
1529
  levelId: string;
1530
- axis: "columns" | "rows";
1531
1530
  direction: "asc" | "desc";
1531
+ axis: "columns" | "rows";
1532
1532
  nulls: "last" | "first";
1533
1533
  }[];
1534
1534
  rankings: readonly MatrixRanking[];
@@ -1602,12 +1602,56 @@ declare const definitionInputShape: z.ZodObject<{
1602
1602
  }[];
1603
1603
  };
1604
1604
  levelId: string;
1605
- axis: "columns" | "rows";
1606
1605
  direction: "asc" | "desc";
1606
+ axis: "columns" | "rows";
1607
1607
  nulls: "last" | "first";
1608
1608
  }[];
1609
1609
  } | undefined;
1610
1610
  }, {
1611
+ presentation: {
1612
+ totals: {
1613
+ columns: {
1614
+ levels: Readonly<Record<string, {
1615
+ position: "before" | "after";
1616
+ visible: boolean;
1617
+ label?: string | undefined;
1618
+ }>>;
1619
+ grand: {
1620
+ position: "before" | "after";
1621
+ visible: boolean;
1622
+ label?: string | undefined;
1623
+ };
1624
+ skipRedundant?: boolean | undefined;
1625
+ };
1626
+ rows: {
1627
+ levels: Readonly<Record<string, {
1628
+ position: "before" | "after";
1629
+ visible: boolean;
1630
+ label?: string | undefined;
1631
+ }>>;
1632
+ grand: {
1633
+ position: "before" | "after";
1634
+ visible: boolean;
1635
+ label?: string | undefined;
1636
+ };
1637
+ skipRedundant?: boolean | undefined;
1638
+ };
1639
+ };
1640
+ layout: {
1641
+ kind: "compact";
1642
+ } | {
1643
+ kind: "tabular";
1644
+ repeatLabels: boolean;
1645
+ };
1646
+ absence: {
1647
+ emptyText: string;
1648
+ nullText: string;
1649
+ };
1650
+ levelLabels: Readonly<Record<string, string>>;
1651
+ measureLabels: Readonly<Record<string, string>>;
1652
+ levelFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1653
+ measureFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1654
+ };
1611
1655
  defaults: {
1612
1656
  columns: {
1613
1657
  depth: number;
@@ -1650,50 +1694,6 @@ declare const definitionInputShape: z.ZodObject<{
1650
1694
  }[];
1651
1695
  };
1652
1696
  };
1653
- presentation: {
1654
- totals: {
1655
- columns: {
1656
- grand: {
1657
- visible: boolean;
1658
- position: "before" | "after";
1659
- label?: string | undefined;
1660
- };
1661
- levels: Readonly<Record<string, {
1662
- visible: boolean;
1663
- position: "before" | "after";
1664
- label?: string | undefined;
1665
- }>>;
1666
- skipRedundant?: boolean | undefined;
1667
- };
1668
- rows: {
1669
- grand: {
1670
- visible: boolean;
1671
- position: "before" | "after";
1672
- label?: string | undefined;
1673
- };
1674
- levels: Readonly<Record<string, {
1675
- visible: boolean;
1676
- position: "before" | "after";
1677
- label?: string | undefined;
1678
- }>>;
1679
- skipRedundant?: boolean | undefined;
1680
- };
1681
- };
1682
- layout: {
1683
- kind: "compact";
1684
- } | {
1685
- kind: "tabular";
1686
- repeatLabels: boolean;
1687
- };
1688
- absence: {
1689
- emptyText: string;
1690
- nullText: string;
1691
- };
1692
- levelLabels: Readonly<Record<string, string>>;
1693
- measureLabels: Readonly<Record<string, string>>;
1694
- levelFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1695
- measureFormats: Readonly<Record<string, import('./contracts.js').SemaphorValueFormat>>;
1696
- };
1697
1697
  spec: {
1698
1698
  source: {
1699
1699
  kind: "semantic";
@@ -1751,8 +1751,8 @@ declare const definitionInputShape: z.ZodObject<{
1751
1751
  }[];
1752
1752
  };
1753
1753
  levelId: string;
1754
- axis: "columns" | "rows";
1755
1754
  direction: "asc" | "desc";
1755
+ axis: "columns" | "rows";
1756
1756
  nulls: "last" | "first";
1757
1757
  }[];
1758
1758
  rankings: readonly MatrixRanking[];
@@ -1826,8 +1826,8 @@ declare const definitionInputShape: z.ZodObject<{
1826
1826
  }[];
1827
1827
  };
1828
1828
  levelId: string;
1829
- axis: "columns" | "rows";
1830
1829
  direction: "asc" | "desc";
1830
+ axis: "columns" | "rows";
1831
1831
  nulls: "last" | "first";
1832
1832
  }[];
1833
1833
  } | undefined;
@@ -1844,29 +1844,29 @@ declare const configShape: z.ZodObject<{
1844
1844
  presentation: {
1845
1845
  totals: {
1846
1846
  columns: {
1847
- grand: {
1848
- visible: boolean;
1849
- position: "before" | "after";
1850
- label?: string | undefined;
1851
- };
1852
1847
  levels: Readonly<Record<string, {
1853
- visible: boolean;
1854
1848
  position: "before" | "after";
1849
+ visible: boolean;
1855
1850
  label?: string | undefined;
1856
1851
  }>>;
1857
- skipRedundant?: boolean | undefined;
1858
- };
1859
- rows: {
1860
1852
  grand: {
1861
- visible: boolean;
1862
1853
  position: "before" | "after";
1854
+ visible: boolean;
1863
1855
  label?: string | undefined;
1864
1856
  };
1857
+ skipRedundant?: boolean | undefined;
1858
+ };
1859
+ rows: {
1865
1860
  levels: Readonly<Record<string, {
1866
- visible: boolean;
1867
1861
  position: "before" | "after";
1862
+ visible: boolean;
1868
1863
  label?: string | undefined;
1869
1864
  }>>;
1865
+ grand: {
1866
+ position: "before" | "after";
1867
+ visible: boolean;
1868
+ label?: string | undefined;
1869
+ };
1870
1870
  skipRedundant?: boolean | undefined;
1871
1871
  };
1872
1872
  };
@@ -1943,8 +1943,8 @@ declare const configShape: z.ZodObject<{
1943
1943
  }[];
1944
1944
  };
1945
1945
  levelId: string;
1946
- axis: "columns" | "rows";
1947
1946
  direction: "asc" | "desc";
1947
+ axis: "columns" | "rows";
1948
1948
  nulls: "last" | "first";
1949
1949
  }[];
1950
1950
  rankings: readonly MatrixRanking[];
@@ -2001,29 +2001,29 @@ declare const configShape: z.ZodObject<{
2001
2001
  presentation: {
2002
2002
  totals: {
2003
2003
  columns: {
2004
- grand: {
2005
- visible: boolean;
2006
- position: "before" | "after";
2007
- label?: string | undefined;
2008
- };
2009
2004
  levels: Readonly<Record<string, {
2010
- visible: boolean;
2011
2005
  position: "before" | "after";
2006
+ visible: boolean;
2012
2007
  label?: string | undefined;
2013
2008
  }>>;
2014
- skipRedundant?: boolean | undefined;
2015
- };
2016
- rows: {
2017
2009
  grand: {
2018
- visible: boolean;
2019
2010
  position: "before" | "after";
2011
+ visible: boolean;
2020
2012
  label?: string | undefined;
2021
2013
  };
2014
+ skipRedundant?: boolean | undefined;
2015
+ };
2016
+ rows: {
2022
2017
  levels: Readonly<Record<string, {
2023
- visible: boolean;
2024
2018
  position: "before" | "after";
2019
+ visible: boolean;
2025
2020
  label?: string | undefined;
2026
2021
  }>>;
2022
+ grand: {
2023
+ position: "before" | "after";
2024
+ visible: boolean;
2025
+ label?: string | undefined;
2026
+ };
2027
2027
  skipRedundant?: boolean | undefined;
2028
2028
  };
2029
2029
  };
@@ -2100,8 +2100,8 @@ declare const configShape: z.ZodObject<{
2100
2100
  }[];
2101
2101
  };
2102
2102
  levelId: string;
2103
- axis: "columns" | "rows";
2104
2103
  direction: "asc" | "desc";
2104
+ axis: "columns" | "rows";
2105
2105
  nulls: "last" | "first";
2106
2106
  }[];
2107
2107
  rankings: readonly MatrixRanking[];
@@ -2168,29 +2168,29 @@ declare const authoringConfigShape: z.ZodObject<{
2168
2168
  presentation: {
2169
2169
  totals: {
2170
2170
  columns: {
2171
- grand: {
2172
- visible: boolean;
2173
- position: "before" | "after";
2174
- label?: string | undefined;
2175
- };
2176
2171
  levels: Readonly<Record<string, {
2177
- visible: boolean;
2178
2172
  position: "before" | "after";
2173
+ visible: boolean;
2179
2174
  label?: string | undefined;
2180
2175
  }>>;
2181
- skipRedundant?: boolean | undefined;
2182
- };
2183
- rows: {
2184
2176
  grand: {
2185
- visible: boolean;
2186
2177
  position: "before" | "after";
2178
+ visible: boolean;
2187
2179
  label?: string | undefined;
2188
2180
  };
2181
+ skipRedundant?: boolean | undefined;
2182
+ };
2183
+ rows: {
2189
2184
  levels: Readonly<Record<string, {
2190
- visible: boolean;
2191
2185
  position: "before" | "after";
2186
+ visible: boolean;
2192
2187
  label?: string | undefined;
2193
2188
  }>>;
2189
+ grand: {
2190
+ position: "before" | "after";
2191
+ visible: boolean;
2192
+ label?: string | undefined;
2193
+ };
2194
2194
  skipRedundant?: boolean | undefined;
2195
2195
  };
2196
2196
  };
@@ -2267,8 +2267,8 @@ declare const authoringConfigShape: z.ZodObject<{
2267
2267
  }[];
2268
2268
  };
2269
2269
  levelId: string;
2270
- axis: "columns" | "rows";
2271
2270
  direction: "asc" | "desc";
2271
+ axis: "columns" | "rows";
2272
2272
  nulls: "last" | "first";
2273
2273
  }[];
2274
2274
  rankings: readonly MatrixRanking[];
@@ -2325,29 +2325,29 @@ declare const authoringConfigShape: z.ZodObject<{
2325
2325
  presentation: {
2326
2326
  totals: {
2327
2327
  columns: {
2328
- grand: {
2329
- visible: boolean;
2330
- position: "before" | "after";
2331
- label?: string | undefined;
2332
- };
2333
2328
  levels: Readonly<Record<string, {
2334
- visible: boolean;
2335
2329
  position: "before" | "after";
2330
+ visible: boolean;
2336
2331
  label?: string | undefined;
2337
2332
  }>>;
2338
- skipRedundant?: boolean | undefined;
2339
- };
2340
- rows: {
2341
2333
  grand: {
2342
- visible: boolean;
2343
2334
  position: "before" | "after";
2335
+ visible: boolean;
2344
2336
  label?: string | undefined;
2345
2337
  };
2338
+ skipRedundant?: boolean | undefined;
2339
+ };
2340
+ rows: {
2346
2341
  levels: Readonly<Record<string, {
2347
- visible: boolean;
2348
2342
  position: "before" | "after";
2343
+ visible: boolean;
2349
2344
  label?: string | undefined;
2350
2345
  }>>;
2346
+ grand: {
2347
+ position: "before" | "after";
2348
+ visible: boolean;
2349
+ label?: string | undefined;
2350
+ };
2351
2351
  skipRedundant?: boolean | undefined;
2352
2352
  };
2353
2353
  };
@@ -2424,8 +2424,8 @@ declare const authoringConfigShape: z.ZodObject<{
2424
2424
  }[];
2425
2425
  };
2426
2426
  levelId: string;
2427
- axis: "columns" | "rows";
2428
2427
  direction: "asc" | "desc";
2428
+ axis: "columns" | "rows";
2429
2429
  nulls: "last" | "first";
2430
2430
  }[];
2431
2431
  rankings: readonly MatrixRanking[];
@@ -2587,29 +2587,29 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
2587
2587
  presentation: {
2588
2588
  totals: {
2589
2589
  columns: {
2590
- grand: {
2591
- visible: boolean;
2592
- position: "before" | "after";
2593
- label?: string | undefined;
2594
- };
2595
2590
  levels: Readonly<Record<string, {
2596
- visible: boolean;
2597
2591
  position: "before" | "after";
2592
+ visible: boolean;
2598
2593
  label?: string | undefined;
2599
2594
  }>>;
2600
- skipRedundant?: boolean | undefined;
2601
- };
2602
- rows: {
2603
2595
  grand: {
2604
- visible: boolean;
2605
2596
  position: "before" | "after";
2597
+ visible: boolean;
2606
2598
  label?: string | undefined;
2607
2599
  };
2600
+ skipRedundant?: boolean | undefined;
2601
+ };
2602
+ rows: {
2608
2603
  levels: Readonly<Record<string, {
2609
- visible: boolean;
2610
2604
  position: "before" | "after";
2605
+ visible: boolean;
2611
2606
  label?: string | undefined;
2612
2607
  }>>;
2608
+ grand: {
2609
+ position: "before" | "after";
2610
+ visible: boolean;
2611
+ label?: string | undefined;
2612
+ };
2613
2613
  skipRedundant?: boolean | undefined;
2614
2614
  };
2615
2615
  };
@@ -2687,8 +2687,8 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
2687
2687
  }[];
2688
2688
  };
2689
2689
  levelId: string;
2690
- axis: "columns" | "rows";
2691
2690
  direction: "asc" | "desc";
2691
+ axis: "columns" | "rows";
2692
2692
  nulls: "last" | "first";
2693
2693
  }[];
2694
2694
  rankings: readonly MatrixRanking[];
@@ -2748,29 +2748,29 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
2748
2748
  presentation: {
2749
2749
  totals: {
2750
2750
  columns: {
2751
- grand: {
2752
- visible: boolean;
2753
- position: "before" | "after";
2754
- label?: string | undefined;
2755
- };
2756
2751
  levels: Readonly<Record<string, {
2757
- visible: boolean;
2758
2752
  position: "before" | "after";
2753
+ visible: boolean;
2759
2754
  label?: string | undefined;
2760
2755
  }>>;
2761
- skipRedundant?: boolean | undefined;
2762
- };
2763
- rows: {
2764
2756
  grand: {
2765
- visible: boolean;
2766
2757
  position: "before" | "after";
2758
+ visible: boolean;
2767
2759
  label?: string | undefined;
2768
2760
  };
2761
+ skipRedundant?: boolean | undefined;
2762
+ };
2763
+ rows: {
2769
2764
  levels: Readonly<Record<string, {
2770
- visible: boolean;
2771
2765
  position: "before" | "after";
2766
+ visible: boolean;
2772
2767
  label?: string | undefined;
2773
2768
  }>>;
2769
+ grand: {
2770
+ position: "before" | "after";
2771
+ visible: boolean;
2772
+ label?: string | undefined;
2773
+ };
2774
2774
  skipRedundant?: boolean | undefined;
2775
2775
  };
2776
2776
  };
@@ -2848,8 +2848,8 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
2848
2848
  }[];
2849
2849
  };
2850
2850
  levelId: string;
2851
- axis: "columns" | "rows";
2852
2851
  direction: "asc" | "desc";
2852
+ axis: "columns" | "rows";
2853
2853
  nulls: "last" | "first";
2854
2854
  }[];
2855
2855
  rankings: readonly MatrixRanking[];
@@ -2915,29 +2915,29 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
2915
2915
  presentation: {
2916
2916
  totals: {
2917
2917
  columns: {
2918
- grand: {
2919
- visible: boolean;
2920
- position: "before" | "after";
2921
- label?: string | undefined;
2922
- };
2923
2918
  levels: Readonly<Record<string, {
2924
- visible: boolean;
2925
2919
  position: "before" | "after";
2920
+ visible: boolean;
2926
2921
  label?: string | undefined;
2927
2922
  }>>;
2928
- skipRedundant?: boolean | undefined;
2929
- };
2930
- rows: {
2931
2923
  grand: {
2932
- visible: boolean;
2933
2924
  position: "before" | "after";
2925
+ visible: boolean;
2934
2926
  label?: string | undefined;
2935
2927
  };
2928
+ skipRedundant?: boolean | undefined;
2929
+ };
2930
+ rows: {
2936
2931
  levels: Readonly<Record<string, {
2937
- visible: boolean;
2938
2932
  position: "before" | "after";
2933
+ visible: boolean;
2939
2934
  label?: string | undefined;
2940
2935
  }>>;
2936
+ grand: {
2937
+ position: "before" | "after";
2938
+ visible: boolean;
2939
+ label?: string | undefined;
2940
+ };
2941
2941
  skipRedundant?: boolean | undefined;
2942
2942
  };
2943
2943
  };
@@ -3015,8 +3015,8 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
3015
3015
  }[];
3016
3016
  };
3017
3017
  levelId: string;
3018
- axis: "columns" | "rows";
3019
3018
  direction: "asc" | "desc";
3019
+ axis: "columns" | "rows";
3020
3020
  nulls: "last" | "first";
3021
3021
  }[];
3022
3022
  rankings: readonly MatrixRanking[];
@@ -3031,29 +3031,29 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
3031
3031
  presentation: {
3032
3032
  totals: {
3033
3033
  columns: {
3034
- grand: {
3035
- visible: boolean;
3036
- position: "before" | "after";
3037
- label?: string | undefined;
3038
- };
3039
3034
  levels: Readonly<Record<string, {
3040
- visible: boolean;
3041
3035
  position: "before" | "after";
3036
+ visible: boolean;
3042
3037
  label?: string | undefined;
3043
3038
  }>>;
3044
- skipRedundant?: boolean | undefined;
3045
- };
3046
- rows: {
3047
3039
  grand: {
3048
- visible: boolean;
3049
3040
  position: "before" | "after";
3041
+ visible: boolean;
3050
3042
  label?: string | undefined;
3051
3043
  };
3044
+ skipRedundant?: boolean | undefined;
3045
+ };
3046
+ rows: {
3052
3047
  levels: Readonly<Record<string, {
3053
- visible: boolean;
3054
3048
  position: "before" | "after";
3049
+ visible: boolean;
3055
3050
  label?: string | undefined;
3056
3051
  }>>;
3052
+ grand: {
3053
+ position: "before" | "after";
3054
+ visible: boolean;
3055
+ label?: string | undefined;
3056
+ };
3057
3057
  skipRedundant?: boolean | undefined;
3058
3058
  };
3059
3059
  };
@@ -3131,8 +3131,8 @@ declare const exportRequestShape: z.ZodUnion<[z.ZodObject<{
3131
3131
  }[];
3132
3132
  };
3133
3133
  levelId: string;
3134
- axis: "columns" | "rows";
3135
3134
  direction: "asc" | "desc";
3135
+ axis: "columns" | "rows";
3136
3136
  nulls: "last" | "first";
3137
3137
  }[];
3138
3138
  rankings: readonly MatrixRanking[];