react-semaphor 0.1.568 → 0.1.569

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 (126) hide show
  1. package/README.md +0 -7
  2. package/dist/analytics-protocol/index.js +434 -454
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/brand-studio/index.js +10 -12
  5. package/dist/briefings/index.js +4 -4
  6. package/dist/chunks/{_commonjsHelpers-DimLPMtv.js → _commonjsHelpers-Bid1ZNYj.js} +271 -222
  7. package/dist/chunks/{assistant-chat-BN5I8KuN.js → assistant-chat-Dzf2Mbph.js} +107 -109
  8. package/dist/chunks/{bookmark-impact-CJ-65omV.js → bookmark-impact-Czg6FGt5.js} +2 -2
  9. package/dist/chunks/{bookmark-state-Du3s13_V.js → bookmark-state-CflS88gq.js} +251 -250
  10. package/dist/chunks/{card-filter-builder-BBuB99GZ.js → card-filter-builder-BS982X7x.js} +986 -985
  11. package/dist/chunks/{code-editor-DJNOsgJH.js → code-editor-BsxHzm9u.js} +43 -45
  12. package/dist/chunks/{comparison-window-caption-CMLb3mut.js → comparison-window-caption-lLTgzOkM.js} +252 -253
  13. package/dist/chunks/{dashboard-YnWZC4dK.js → dashboard-BiYSbxZv.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-BF89TU2h.js → dashboard-briefing-launcher-Bdj7luOr.js} +158 -159
  15. package/dist/chunks/{dashboard-controls-atHc1EjP.js → dashboard-controls-TViDsnb8.js} +17 -19
  16. package/dist/chunks/dashboard-json-Dg9dQd9U.js +66 -0
  17. package/dist/chunks/{dates-CKO05ino.js → dates-BsPrWZIP.js} +8 -8
  18. package/dist/chunks/{edit-dashboard-visual-DdmTfn-J.js → edit-dashboard-visual-C6hoIeEJ.js} +20 -21
  19. package/dist/chunks/{filter-reach-copy-jZGzK_IH.js → filter-reach-copy-hcQ4os0u.js} +695 -699
  20. package/dist/chunks/filter-value-text-CVxEEDVl.js +146 -0
  21. package/dist/chunks/{index-CPNZW0mu.js → index-G4q89J6O.js} +74 -76
  22. package/dist/chunks/{layout-grid-0hIlqEtk.js → layout-grid-BIcoFfdS.js} +1 -1
  23. package/dist/chunks/{list-filter-DkgoCeBm.js → list-filter-C6tYkHyv.js} +1 -1
  24. package/dist/chunks/matrix-analytical-definition-dkS8szLM.js +1253 -0
  25. package/dist/chunks/matrix-member-presentation-DRa-9e6Q.js +169 -0
  26. package/dist/chunks/{matrix-operation-contract-Eb6elidS.js → matrix-operation-contract-DCVinw1o.js} +122 -122
  27. package/dist/chunks/{metric-comparison-ChXUFaZu.js → metric-comparison-n9NsIa-2.js} +175 -128
  28. package/dist/chunks/{palette-4vf2BEEg.js → palette-NjHOE_6B.js} +1 -1
  29. package/dist/chunks/pivot-result-contract-expectations-DkmueDTW.js +55 -0
  30. package/dist/chunks/{pivot-result-identity-BlbLrqaC.js → pivot-result-identity-B89X5xjb.js} +1 -1
  31. package/dist/chunks/raw-temporal-value-DdT0s47W.js +159 -0
  32. package/dist/chunks/{report-preferences-dialog-Mbd-I0wV.js → report-preferences-dialog-Xc8_GFju.js} +26 -28
  33. package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-Du0fjN3h.js → resolve-dashboard-input-context-KqvcLcTM.js} +4784 -4764
  35. package/dist/chunks/{save-D6pHmSSP.js → save-C6VmEJTA.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-y8N6RvjS.js → saved-dashboard-context-BeXXyoD4.js} +6 -6
  37. package/dist/chunks/{semaphor-ready-indicator-BSEdUq40.js → semaphor-ready-indicator-BNkaANsG.js} +28395 -28384
  38. package/dist/chunks/{shelf-drop-preview-context-D7QqPl36.js → shelf-drop-preview-context-C_issPBA.js} +18 -20
  39. package/dist/chunks/{stored-dashboard-d3xQYxBD.js → stored-dashboard-B6_StAty.js} +263 -265
  40. package/dist/chunks/{table-export-sheet--DUKWk6o.js → table-export-sheet-BWP2joD1.js} +1 -1
  41. package/dist/chunks/{temporal-input-presentation--2r9BLr0.js → temporal-input-presentation-scSWQXAB.js} +4 -4
  42. package/dist/chunks/{token-types-C8JymO8s.js → token-types-iKMplaBL.js} +1 -1
  43. package/dist/chunks/{upload-Cf3wXZT8.js → upload-BRW4Mwrd.js} +1 -1
  44. package/dist/chunks/validators-B8fpdinG.js +3651 -0
  45. package/dist/chunks/{variable-draft-DOX03R4A.js → variable-draft-BQ3OMjvy.js} +4 -4
  46. package/dist/dashboard/index.js +2 -2
  47. package/dist/dashboard-authoring/index.js +1527 -1517
  48. package/dist/format-utils/index.js +230 -231
  49. package/dist/index.js +236 -237
  50. package/dist/report-runtime-context/index.js +1 -1
  51. package/dist/style.css +1 -1
  52. package/dist/surfboard/index.js +2 -2
  53. package/dist/types/components/surfboard/filter/types.d.ts +5 -4
  54. package/dist/types/components/ui-custom/date-range-presets.d.ts +1 -17
  55. package/dist/types/index.js +9 -9
  56. package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
  57. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
  58. package/dist/types/lib/types/explorer-types.d.ts +2 -2
  59. package/dist/types/lib/types/index.d.ts +1 -1
  60. package/dist/types/lib/utils/card-definition.d.ts +7 -7
  61. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +84 -0
  62. package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +2 -2
  63. package/dist/types/shared/analytics-protocol/contracts.d.ts +8 -17
  64. package/dist/types/shared/analytics-protocol/fixtures.d.ts +3 -2
  65. package/dist/types/shared/analytics-protocol/index.d.ts +2 -4
  66. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +4 -4
  67. package/dist/types/shared/analytics-protocol/relative-date/describe.d.ts +18 -0
  68. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +7 -0
  69. package/dist/types/shared/analytics-protocol/relative-date/limits.d.ts +3 -0
  70. package/dist/types/shared/analytics-protocol/relative-date/presets.d.ts +11 -0
  71. package/dist/types/shared/analytics-protocol/relative-date/resolve.d.ts +49 -0
  72. package/dist/types/shared/analytics-protocol/relative-date/schemas.d.ts +76 -0
  73. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +51 -0
  74. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +111 -0
  75. package/dist/types/shared/analytics-protocol/selection-contract.d.ts +1 -1
  76. package/dist/types/shared/assistant-protocol/context.d.ts +12 -12
  77. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +0 -2
  78. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +155 -1753
  79. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -4
  80. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +74 -74
  81. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +20 -20
  82. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +3 -0
  83. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +10 -2
  84. package/dist/types/shared/format-utils/filter-detail.d.ts +2 -8
  85. package/dist/types/shared/format-utils/filter-line.d.ts +2 -2
  86. package/dist/types/shared/format-utils/matrix-continuation.d.ts +3 -3
  87. package/dist/types/shared/temporal/index.d.ts +0 -2
  88. package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +2 -2
  89. package/package.json +2 -24
  90. package/DATA_APP_SDK.md +0 -339
  91. package/dist/chunks/dashboard-json-Cxp3inxd.js +0 -68
  92. package/dist/chunks/filter-value-text-7zhmth1S.js +0 -163
  93. package/dist/chunks/index-CuHybtft.js +0 -51
  94. package/dist/chunks/matrix-analytical-definition-C9xB_T84.js +0 -717
  95. package/dist/chunks/matrix-card-BSUeSXpD.js +0 -42
  96. package/dist/chunks/matrix-member-presentation-DZNgQpUq.js +0 -105
  97. package/dist/chunks/operators-B3zZoskU.js +0 -66
  98. package/dist/chunks/pivot-result-contract-expectations-Ddh1rNz5.js +0 -56
  99. package/dist/chunks/raw-temporal-value-Bqz8wc7L.js +0 -242
  100. package/dist/chunks/selection-reducer-OaJ-N5uN.js +0 -46
  101. package/dist/chunks/source-entity-resolution-DF6GulDn.js +0 -607
  102. package/dist/chunks/validators-wtjw0aw6.js +0 -3332
  103. package/dist/data-app-sdk/index.js +0 -1412
  104. package/dist/data-app-sdk-adapters/index.js +0 -361
  105. package/dist/data-app-sdk-validation/index.js +0 -1031
  106. package/dist/types/data-app-sdk/adapters.d.ts +0 -35
  107. package/dist/types/data-app-sdk/builders.d.ts +0 -62
  108. package/dist/types/data-app-sdk/contracts.d.ts +0 -419
  109. package/dist/types/data-app-sdk/executor.d.ts +0 -5
  110. package/dist/types/data-app-sdk/field-catalog-validation.d.ts +0 -29
  111. package/dist/types/data-app-sdk/hooks.d.ts +0 -11
  112. package/dist/types/data-app-sdk/index.d.ts +0 -9
  113. package/dist/types/data-app-sdk/provider.d.ts +0 -8
  114. package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +0 -21
  115. package/dist/types/data-app-sdk/selection.d.ts +0 -2
  116. package/dist/types/data-app-sdk/validation.d.ts +0 -58
  117. package/dist/types/data-app-sdk-adapters.d.ts +0 -2
  118. package/dist/types/data-app-sdk-validation.d.ts +0 -2
  119. package/dist/types/data-app-sdk.d.ts +0 -2
  120. package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +0 -68
  121. package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +0 -20
  122. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +0 -314
  123. package/dist/types/shared/analytics-protocol/time-window.d.ts +0 -52
  124. package/dist/types/shared/temporal/relative-date.d.ts +0 -21
  125. package/dist/types/shared/temporal/time-window-periods.d.ts +0 -21
  126. package/src/data-app-sdk/README.md +0 -402
@@ -1,8 +1,8 @@
1
1
  import { TCard } from '../../../lib/types/common-types.js';
2
2
  import { Field } from '../../../lib/types/explorer-types.js';
3
- import { RelativeDateFilter } from '../../analytics-protocol/relative-date-filter.js';
3
+ import { AgentTimeWindowRefusal } from '../../analytics-protocol/agent-time-window.js';
4
4
  import { CardType } from './card-types.js';
5
- import { CardQuery, FieldRef, MatrixColumns, TimeWindow } from './dashboard-change.js';
5
+ import { CardQuery, FieldRef, MatrixColumns } from './dashboard-change.js';
6
6
  /**
7
7
  * A card's query in the public forms (MCP dashboard editing SPEC 3.5), or why
8
8
  * it can't be changed through `card.update`. Conservative: anything the
@@ -34,6 +34,12 @@ export type CardQueryRead = {
34
34
  query: CardQuery;
35
35
  matrix?: MatrixColumns;
36
36
  source: OutlineCardSource;
37
+ /**
38
+ * The query's stored window is one a card can't be saved with now (Plan B
39
+ * SPEC-B 3.6): the refusal a write of it gets, and the windows that can
40
+ * replace it. It stays while card.update leaves timeWindow out.
41
+ */
42
+ timeWindowReadOnly?: AgentTimeWindowRefusal;
37
43
  } | {
38
44
  editable: false;
39
45
  type: string;
@@ -63,6 +69,4 @@ type SemanticSource = Extract<OutlineCardSource, {
63
69
  }>;
64
70
  /** A column as a query names it: its plain name on the card's own dataset, else its name and dataset. */
65
71
  export declare function fieldRef(field: Pick<Field, 'name' | 'source' | 'entityName' | 'entityId'>, base: SemanticSource): FieldRef;
66
- /** A saved relative date as the public time window it was compiled from, or null when there isn't one. */
67
- export declare function relativeToTimeWindow(meta: RelativeDateFilter): TimeWindow | null;
68
72
  export {};
@@ -346,12 +346,12 @@ export declare const conditionalRuleSchema: z.ZodObject<{
346
346
  inclusive: z.ZodOptional<z.ZodBoolean>;
347
347
  }, "strict", z.ZodTypeAny, {
348
348
  kind: "between";
349
- min: string | number | boolean | {
349
+ max: string | number | boolean | {
350
350
  type: "integer" | "decimal";
351
351
  value: string;
352
352
  kind: "exact_number";
353
353
  } | null;
354
- max: string | number | boolean | {
354
+ min: string | number | boolean | {
355
355
  type: "integer" | "decimal";
356
356
  value: string;
357
357
  kind: "exact_number";
@@ -381,12 +381,12 @@ export declare const conditionalRuleSchema: z.ZodObject<{
381
381
  inclusive?: boolean | undefined;
382
382
  }, {
383
383
  kind: "between";
384
- min: string | number | boolean | {
384
+ max: string | number | boolean | {
385
385
  type: "integer" | "decimal";
386
386
  value: string;
387
387
  kind: "exact_number";
388
388
  } | null;
389
- max: string | number | boolean | {
389
+ min: string | number | boolean | {
390
390
  type: "integer" | "decimal";
391
391
  value: string;
392
392
  kind: "exact_number";
@@ -873,12 +873,12 @@ export declare const conditionalRuleSchema: z.ZodObject<{
873
873
  mid: z.ZodOptional<z.ZodString>;
874
874
  max: z.ZodString;
875
875
  }, "strict", z.ZodTypeAny, {
876
- min: string;
877
876
  max: string;
877
+ min: string;
878
878
  mid?: string | undefined;
879
879
  }, {
880
- min: string;
881
880
  max: string;
881
+ min: string;
882
882
  mid?: string | undefined;
883
883
  }>;
884
884
  }, "strict", z.ZodTypeAny, {
@@ -906,13 +906,13 @@ export declare const conditionalRuleSchema: z.ZodObject<{
906
906
  levelId: string;
907
907
  };
908
908
  colors: {
909
- min: string;
910
909
  max: string;
910
+ min: string;
911
911
  mid?: string | undefined;
912
912
  };
913
913
  range: "auto" | "manual";
914
- min?: number | undefined;
915
914
  max?: number | undefined;
915
+ min?: number | undefined;
916
916
  mid?: number | undefined;
917
917
  }, {
918
918
  kind: "colorScale";
@@ -939,13 +939,13 @@ export declare const conditionalRuleSchema: z.ZodObject<{
939
939
  levelId: string;
940
940
  };
941
941
  colors: {
942
- min: string;
943
942
  max: string;
943
+ min: string;
944
944
  mid?: string | undefined;
945
945
  };
946
946
  range: "auto" | "manual";
947
- min?: number | undefined;
948
947
  max?: number | undefined;
948
+ min?: number | undefined;
949
949
  mid?: number | undefined;
950
950
  }>, z.ZodObject<{
951
951
  kind: z.ZodLiteral<"dataBar">;
@@ -1050,8 +1050,8 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1050
1050
  };
1051
1051
  range: "auto" | "manual";
1052
1052
  color: string;
1053
- min?: number | undefined;
1054
1053
  max?: number | undefined;
1054
+ min?: number | undefined;
1055
1055
  showValue?: boolean | undefined;
1056
1056
  }, {
1057
1057
  kind: "dataBar";
@@ -1079,8 +1079,8 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1079
1079
  };
1080
1080
  range: "auto" | "manual";
1081
1081
  color: string;
1082
- min?: number | undefined;
1083
1082
  max?: number | undefined;
1083
+ min?: number | undefined;
1084
1084
  showValue?: boolean | undefined;
1085
1085
  }>]>;
1086
1086
  target: z.ZodObject<{
@@ -1439,27 +1439,27 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1439
1439
  showValue: boolean;
1440
1440
  }>>;
1441
1441
  }, "strict", z.ZodTypeAny, {
1442
- italic?: boolean | undefined;
1443
1442
  dataBar?: {
1444
1443
  color: string;
1445
1444
  showValue: boolean;
1446
1445
  } | undefined;
1446
+ italic?: boolean | undefined;
1447
1447
  backgroundColor?: string | undefined;
1448
1448
  textColor?: string | undefined;
1449
1449
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
1450
1450
  textDecoration?: "none" | "underline" | "line-through" | undefined;
1451
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
1451
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
1452
1452
  }, {
1453
- italic?: boolean | undefined;
1454
1453
  dataBar?: {
1455
1454
  color: string;
1456
1455
  showValue: boolean;
1457
1456
  } | undefined;
1457
+ italic?: boolean | undefined;
1458
1458
  backgroundColor?: string | undefined;
1459
1459
  textColor?: string | undefined;
1460
1460
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
1461
1461
  textDecoration?: "none" | "underline" | "line-through" | undefined;
1462
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
1462
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
1463
1463
  }>>;
1464
1464
  }, "strict", z.ZodTypeAny, {
1465
1465
  id: string;
@@ -1543,12 +1543,12 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1543
1543
  };
1544
1544
  } | {
1545
1545
  kind: "between";
1546
- min: string | number | boolean | {
1546
+ max: string | number | boolean | {
1547
1547
  type: "integer" | "decimal";
1548
1548
  value: string;
1549
1549
  kind: "exact_number";
1550
1550
  } | null;
1551
- max: string | number | boolean | {
1551
+ min: string | number | boolean | {
1552
1552
  type: "integer" | "decimal";
1553
1553
  value: string;
1554
1554
  kind: "exact_number";
@@ -1679,13 +1679,13 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1679
1679
  levelId: string;
1680
1680
  };
1681
1681
  colors: {
1682
- min: string;
1683
1682
  max: string;
1683
+ min: string;
1684
1684
  mid?: string | undefined;
1685
1685
  };
1686
1686
  range: "auto" | "manual";
1687
- min?: number | undefined;
1688
1687
  max?: number | undefined;
1688
+ min?: number | undefined;
1689
1689
  mid?: number | undefined;
1690
1690
  } | {
1691
1691
  kind: "dataBar";
@@ -1713,22 +1713,22 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1713
1713
  };
1714
1714
  range: "auto" | "manual";
1715
1715
  color: string;
1716
- min?: number | undefined;
1717
1716
  max?: number | undefined;
1717
+ min?: number | undefined;
1718
1718
  showValue?: boolean | undefined;
1719
1719
  };
1720
1720
  name?: string | undefined;
1721
1721
  style?: {
1722
- italic?: boolean | undefined;
1723
1722
  dataBar?: {
1724
1723
  color: string;
1725
1724
  showValue: boolean;
1726
1725
  } | undefined;
1726
+ italic?: boolean | undefined;
1727
1727
  backgroundColor?: string | undefined;
1728
1728
  textColor?: string | undefined;
1729
1729
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
1730
1730
  textDecoration?: "none" | "underline" | "line-through" | undefined;
1731
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
1731
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
1732
1732
  } | undefined;
1733
1733
  enabled?: boolean | undefined;
1734
1734
  }, {
@@ -1813,12 +1813,12 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1813
1813
  };
1814
1814
  } | {
1815
1815
  kind: "between";
1816
- min: string | number | boolean | {
1816
+ max: string | number | boolean | {
1817
1817
  type: "integer" | "decimal";
1818
1818
  value: string;
1819
1819
  kind: "exact_number";
1820
1820
  } | null;
1821
- max: string | number | boolean | {
1821
+ min: string | number | boolean | {
1822
1822
  type: "integer" | "decimal";
1823
1823
  value: string;
1824
1824
  kind: "exact_number";
@@ -1949,13 +1949,13 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1949
1949
  levelId: string;
1950
1950
  };
1951
1951
  colors: {
1952
- min: string;
1953
1952
  max: string;
1953
+ min: string;
1954
1954
  mid?: string | undefined;
1955
1955
  };
1956
1956
  range: "auto" | "manual";
1957
- min?: number | undefined;
1958
1957
  max?: number | undefined;
1958
+ min?: number | undefined;
1959
1959
  mid?: number | undefined;
1960
1960
  } | {
1961
1961
  kind: "dataBar";
@@ -1983,22 +1983,22 @@ export declare const conditionalRuleSchema: z.ZodObject<{
1983
1983
  };
1984
1984
  range: "auto" | "manual";
1985
1985
  color: string;
1986
- min?: number | undefined;
1987
1986
  max?: number | undefined;
1987
+ min?: number | undefined;
1988
1988
  showValue?: boolean | undefined;
1989
1989
  };
1990
1990
  name?: string | undefined;
1991
1991
  style?: {
1992
- italic?: boolean | undefined;
1993
1992
  dataBar?: {
1994
1993
  color: string;
1995
1994
  showValue: boolean;
1996
1995
  } | undefined;
1996
+ italic?: boolean | undefined;
1997
1997
  backgroundColor?: string | undefined;
1998
1998
  textColor?: string | undefined;
1999
1999
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
2000
2000
  textDecoration?: "none" | "underline" | "line-through" | undefined;
2001
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
2001
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
2002
2002
  } | undefined;
2003
2003
  enabled?: boolean | undefined;
2004
2004
  }>;
@@ -2280,12 +2280,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
2280
2280
  inclusive: z.ZodOptional<z.ZodBoolean>;
2281
2281
  }, "strict", z.ZodTypeAny, {
2282
2282
  kind: "between";
2283
- min: string | number | boolean | {
2283
+ max: string | number | boolean | {
2284
2284
  type: "integer" | "decimal";
2285
2285
  value: string;
2286
2286
  kind: "exact_number";
2287
2287
  } | null;
2288
- max: string | number | boolean | {
2288
+ min: string | number | boolean | {
2289
2289
  type: "integer" | "decimal";
2290
2290
  value: string;
2291
2291
  kind: "exact_number";
@@ -2315,12 +2315,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
2315
2315
  inclusive?: boolean | undefined;
2316
2316
  }, {
2317
2317
  kind: "between";
2318
- min: string | number | boolean | {
2318
+ max: string | number | boolean | {
2319
2319
  type: "integer" | "decimal";
2320
2320
  value: string;
2321
2321
  kind: "exact_number";
2322
2322
  } | null;
2323
- max: string | number | boolean | {
2323
+ min: string | number | boolean | {
2324
2324
  type: "integer" | "decimal";
2325
2325
  value: string;
2326
2326
  kind: "exact_number";
@@ -2807,12 +2807,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
2807
2807
  mid: z.ZodOptional<z.ZodString>;
2808
2808
  max: z.ZodString;
2809
2809
  }, "strict", z.ZodTypeAny, {
2810
- min: string;
2811
2810
  max: string;
2811
+ min: string;
2812
2812
  mid?: string | undefined;
2813
2813
  }, {
2814
- min: string;
2815
2814
  max: string;
2815
+ min: string;
2816
2816
  mid?: string | undefined;
2817
2817
  }>;
2818
2818
  }, "strict", z.ZodTypeAny, {
@@ -2840,13 +2840,13 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
2840
2840
  levelId: string;
2841
2841
  };
2842
2842
  colors: {
2843
- min: string;
2844
2843
  max: string;
2844
+ min: string;
2845
2845
  mid?: string | undefined;
2846
2846
  };
2847
2847
  range: "auto" | "manual";
2848
- min?: number | undefined;
2849
2848
  max?: number | undefined;
2849
+ min?: number | undefined;
2850
2850
  mid?: number | undefined;
2851
2851
  }, {
2852
2852
  kind: "colorScale";
@@ -2873,13 +2873,13 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
2873
2873
  levelId: string;
2874
2874
  };
2875
2875
  colors: {
2876
- min: string;
2877
2876
  max: string;
2877
+ min: string;
2878
2878
  mid?: string | undefined;
2879
2879
  };
2880
2880
  range: "auto" | "manual";
2881
- min?: number | undefined;
2882
2881
  max?: number | undefined;
2882
+ min?: number | undefined;
2883
2883
  mid?: number | undefined;
2884
2884
  }>, z.ZodObject<{
2885
2885
  kind: z.ZodLiteral<"dataBar">;
@@ -2984,8 +2984,8 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
2984
2984
  };
2985
2985
  range: "auto" | "manual";
2986
2986
  color: string;
2987
- min?: number | undefined;
2988
2987
  max?: number | undefined;
2988
+ min?: number | undefined;
2989
2989
  showValue?: boolean | undefined;
2990
2990
  }, {
2991
2991
  kind: "dataBar";
@@ -3013,8 +3013,8 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3013
3013
  };
3014
3014
  range: "auto" | "manual";
3015
3015
  color: string;
3016
- min?: number | undefined;
3017
3016
  max?: number | undefined;
3017
+ min?: number | undefined;
3018
3018
  showValue?: boolean | undefined;
3019
3019
  }>]>;
3020
3020
  target: z.ZodObject<{
@@ -3373,27 +3373,27 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3373
3373
  showValue: boolean;
3374
3374
  }>>;
3375
3375
  }, "strict", z.ZodTypeAny, {
3376
- italic?: boolean | undefined;
3377
3376
  dataBar?: {
3378
3377
  color: string;
3379
3378
  showValue: boolean;
3380
3379
  } | undefined;
3380
+ italic?: boolean | undefined;
3381
3381
  backgroundColor?: string | undefined;
3382
3382
  textColor?: string | undefined;
3383
3383
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
3384
3384
  textDecoration?: "none" | "underline" | "line-through" | undefined;
3385
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
3385
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
3386
3386
  }, {
3387
- italic?: boolean | undefined;
3388
3387
  dataBar?: {
3389
3388
  color: string;
3390
3389
  showValue: boolean;
3391
3390
  } | undefined;
3391
+ italic?: boolean | undefined;
3392
3392
  backgroundColor?: string | undefined;
3393
3393
  textColor?: string | undefined;
3394
3394
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
3395
3395
  textDecoration?: "none" | "underline" | "line-through" | undefined;
3396
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
3396
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
3397
3397
  }>>;
3398
3398
  }, "strict", z.ZodTypeAny, {
3399
3399
  id: string;
@@ -3477,12 +3477,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3477
3477
  };
3478
3478
  } | {
3479
3479
  kind: "between";
3480
- min: string | number | boolean | {
3480
+ max: string | number | boolean | {
3481
3481
  type: "integer" | "decimal";
3482
3482
  value: string;
3483
3483
  kind: "exact_number";
3484
3484
  } | null;
3485
- max: string | number | boolean | {
3485
+ min: string | number | boolean | {
3486
3486
  type: "integer" | "decimal";
3487
3487
  value: string;
3488
3488
  kind: "exact_number";
@@ -3613,13 +3613,13 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3613
3613
  levelId: string;
3614
3614
  };
3615
3615
  colors: {
3616
- min: string;
3617
3616
  max: string;
3617
+ min: string;
3618
3618
  mid?: string | undefined;
3619
3619
  };
3620
3620
  range: "auto" | "manual";
3621
- min?: number | undefined;
3622
3621
  max?: number | undefined;
3622
+ min?: number | undefined;
3623
3623
  mid?: number | undefined;
3624
3624
  } | {
3625
3625
  kind: "dataBar";
@@ -3647,22 +3647,22 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3647
3647
  };
3648
3648
  range: "auto" | "manual";
3649
3649
  color: string;
3650
- min?: number | undefined;
3651
3650
  max?: number | undefined;
3651
+ min?: number | undefined;
3652
3652
  showValue?: boolean | undefined;
3653
3653
  };
3654
3654
  name?: string | undefined;
3655
3655
  style?: {
3656
- italic?: boolean | undefined;
3657
3656
  dataBar?: {
3658
3657
  color: string;
3659
3658
  showValue: boolean;
3660
3659
  } | undefined;
3660
+ italic?: boolean | undefined;
3661
3661
  backgroundColor?: string | undefined;
3662
3662
  textColor?: string | undefined;
3663
3663
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
3664
3664
  textDecoration?: "none" | "underline" | "line-through" | undefined;
3665
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
3665
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
3666
3666
  } | undefined;
3667
3667
  enabled?: boolean | undefined;
3668
3668
  }, {
@@ -3747,12 +3747,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3747
3747
  };
3748
3748
  } | {
3749
3749
  kind: "between";
3750
- min: string | number | boolean | {
3750
+ max: string | number | boolean | {
3751
3751
  type: "integer" | "decimal";
3752
3752
  value: string;
3753
3753
  kind: "exact_number";
3754
3754
  } | null;
3755
- max: string | number | boolean | {
3755
+ min: string | number | boolean | {
3756
3756
  type: "integer" | "decimal";
3757
3757
  value: string;
3758
3758
  kind: "exact_number";
@@ -3883,13 +3883,13 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3883
3883
  levelId: string;
3884
3884
  };
3885
3885
  colors: {
3886
- min: string;
3887
3886
  max: string;
3887
+ min: string;
3888
3888
  mid?: string | undefined;
3889
3889
  };
3890
3890
  range: "auto" | "manual";
3891
- min?: number | undefined;
3892
3891
  max?: number | undefined;
3892
+ min?: number | undefined;
3893
3893
  mid?: number | undefined;
3894
3894
  } | {
3895
3895
  kind: "dataBar";
@@ -3917,22 +3917,22 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
3917
3917
  };
3918
3918
  range: "auto" | "manual";
3919
3919
  color: string;
3920
- min?: number | undefined;
3921
3920
  max?: number | undefined;
3921
+ min?: number | undefined;
3922
3922
  showValue?: boolean | undefined;
3923
3923
  };
3924
3924
  name?: string | undefined;
3925
3925
  style?: {
3926
- italic?: boolean | undefined;
3927
3926
  dataBar?: {
3928
3927
  color: string;
3929
3928
  showValue: boolean;
3930
3929
  } | undefined;
3930
+ italic?: boolean | undefined;
3931
3931
  backgroundColor?: string | undefined;
3932
3932
  textColor?: string | undefined;
3933
3933
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
3934
3934
  textDecoration?: "none" | "underline" | "line-through" | undefined;
3935
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
3935
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
3936
3936
  } | undefined;
3937
3937
  enabled?: boolean | undefined;
3938
3938
  }>, "many">;
@@ -4020,12 +4020,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
4020
4020
  };
4021
4021
  } | {
4022
4022
  kind: "between";
4023
- min: string | number | boolean | {
4023
+ max: string | number | boolean | {
4024
4024
  type: "integer" | "decimal";
4025
4025
  value: string;
4026
4026
  kind: "exact_number";
4027
4027
  } | null;
4028
- max: string | number | boolean | {
4028
+ min: string | number | boolean | {
4029
4029
  type: "integer" | "decimal";
4030
4030
  value: string;
4031
4031
  kind: "exact_number";
@@ -4156,13 +4156,13 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
4156
4156
  levelId: string;
4157
4157
  };
4158
4158
  colors: {
4159
- min: string;
4160
4159
  max: string;
4160
+ min: string;
4161
4161
  mid?: string | undefined;
4162
4162
  };
4163
4163
  range: "auto" | "manual";
4164
- min?: number | undefined;
4165
4164
  max?: number | undefined;
4165
+ min?: number | undefined;
4166
4166
  mid?: number | undefined;
4167
4167
  } | {
4168
4168
  kind: "dataBar";
@@ -4190,22 +4190,22 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
4190
4190
  };
4191
4191
  range: "auto" | "manual";
4192
4192
  color: string;
4193
- min?: number | undefined;
4194
4193
  max?: number | undefined;
4194
+ min?: number | undefined;
4195
4195
  showValue?: boolean | undefined;
4196
4196
  };
4197
4197
  name?: string | undefined;
4198
4198
  style?: {
4199
- italic?: boolean | undefined;
4200
4199
  dataBar?: {
4201
4200
  color: string;
4202
4201
  showValue: boolean;
4203
4202
  } | undefined;
4203
+ italic?: boolean | undefined;
4204
4204
  backgroundColor?: string | undefined;
4205
4205
  textColor?: string | undefined;
4206
4206
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
4207
4207
  textDecoration?: "none" | "underline" | "line-through" | undefined;
4208
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
4208
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
4209
4209
  } | undefined;
4210
4210
  enabled?: boolean | undefined;
4211
4211
  }[];
@@ -4293,12 +4293,12 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
4293
4293
  };
4294
4294
  } | {
4295
4295
  kind: "between";
4296
- min: string | number | boolean | {
4296
+ max: string | number | boolean | {
4297
4297
  type: "integer" | "decimal";
4298
4298
  value: string;
4299
4299
  kind: "exact_number";
4300
4300
  } | null;
4301
- max: string | number | boolean | {
4301
+ min: string | number | boolean | {
4302
4302
  type: "integer" | "decimal";
4303
4303
  value: string;
4304
4304
  kind: "exact_number";
@@ -4429,13 +4429,13 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
4429
4429
  levelId: string;
4430
4430
  };
4431
4431
  colors: {
4432
- min: string;
4433
4432
  max: string;
4433
+ min: string;
4434
4434
  mid?: string | undefined;
4435
4435
  };
4436
4436
  range: "auto" | "manual";
4437
- min?: number | undefined;
4438
4437
  max?: number | undefined;
4438
+ min?: number | undefined;
4439
4439
  mid?: number | undefined;
4440
4440
  } | {
4441
4441
  kind: "dataBar";
@@ -4463,22 +4463,22 @@ export declare const cardConditionalFormattingSchema: z.ZodObject<{
4463
4463
  };
4464
4464
  range: "auto" | "manual";
4465
4465
  color: string;
4466
- min?: number | undefined;
4467
4466
  max?: number | undefined;
4467
+ min?: number | undefined;
4468
4468
  showValue?: boolean | undefined;
4469
4469
  };
4470
4470
  name?: string | undefined;
4471
4471
  style?: {
4472
- italic?: boolean | undefined;
4473
4472
  dataBar?: {
4474
4473
  color: string;
4475
4474
  showValue: boolean;
4476
4475
  } | undefined;
4476
+ italic?: boolean | undefined;
4477
4477
  backgroundColor?: string | undefined;
4478
4478
  textColor?: string | undefined;
4479
4479
  fontWeight?: "bold" | "medium" | "normal" | "semibold" | undefined;
4480
4480
  textDecoration?: "none" | "underline" | "line-through" | undefined;
4481
- icon?: "warning" | "x" | "arrowUp" | "arrowDown" | "check" | undefined;
4481
+ icon?: "warning" | "arrowUp" | "arrowDown" | "check" | "x" | undefined;
4482
4482
  } | undefined;
4483
4483
  enabled?: boolean | undefined;
4484
4484
  }[];