react-semaphor 0.1.476 → 0.1.478

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 (109) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +9 -9
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-OgPk-zGu.cjs → analyze-result-contract-BX_nQmPN.cjs} +1 -1
  8. package/dist/chunks/{analyze-result-contract-C8s8EUL5.js → analyze-result-contract-DsiAzCYn.js} +1 -1
  9. package/dist/chunks/{saved-temporal-bucket-format-CHsXUPJI.js → card-config-utils-CyDKaPNT.js} +190 -190
  10. package/dist/chunks/card-config-utils-D3Xuu0ub.cjs +1 -0
  11. package/dist/chunks/{common-types-C1IM7gao.cjs → common-types-BCSbPclk.cjs} +1 -1
  12. package/dist/chunks/{common-types-BLPy5_E0.js → common-types-D3r4PILe.js} +1 -1
  13. package/dist/chunks/{dashboard-briefing-launcher-ZfuxdRN2.cjs → dashboard-briefing-launcher-7qAW16mO.cjs} +2 -2
  14. package/dist/chunks/{dashboard-briefing-launcher-eBsB9kr8.js → dashboard-briefing-launcher-DAhtLQPc.js} +134 -134
  15. package/dist/chunks/{dashboard-controls-BX6p6z8a.js → dashboard-controls-C_CBmEwW.js} +13 -12
  16. package/dist/chunks/{dashboard-controls-DwjEc7sO.cjs → dashboard-controls-CoVqAeKG.cjs} +10 -10
  17. package/dist/chunks/{dashboard-input-contract-JFJZgenC.cjs → dashboard-date-comparison-definition-C93wv8Ua.cjs} +1 -1
  18. package/dist/chunks/{dashboard-input-contract-BrGdGFz0.js → dashboard-date-comparison-definition-KohOqBqR.js} +19 -19
  19. package/dist/chunks/dashboard-filter-value-compatibility-BAatYtUS.js +1215 -0
  20. package/dist/chunks/dashboard-filter-value-compatibility-Bco2gN96.cjs +1 -0
  21. package/dist/chunks/{dashboard-json-BfgitBXc.js → dashboard-json-0w58H39L.js} +7 -7
  22. package/dist/chunks/dashboard-json-B3XSl7b_.cjs +1 -0
  23. package/dist/chunks/{edit-dashboard-visual-Cbougpzc.cjs → edit-dashboard-visual-BsLRKeuO.cjs} +6 -6
  24. package/dist/chunks/{edit-dashboard-visual-D80DLF7C.js → edit-dashboard-visual-BsWEU8xf.js} +277 -277
  25. package/dist/chunks/{editor-action-buttons-DjsEDQok.js → editor-action-buttons-B3CB5c__.js} +39 -39
  26. package/dist/chunks/{editor-action-buttons-BDRLfaW-.cjs → editor-action-buttons-DMLDvrJD.cjs} +1 -1
  27. package/dist/chunks/{index-CneWIz__.cjs → index--0Il-Bpd.cjs} +238 -238
  28. package/dist/chunks/{format-types-CFHQoIuk.js → index-BS0_dp0l.js} +168 -168
  29. package/dist/chunks/{index-D9S3j7_z.js → index-BvRREsU9.js} +9 -9
  30. package/dist/chunks/index-ByQgqT9d.cjs +1 -0
  31. package/dist/chunks/{index-v2MZLyus.cjs → index-CXeIDdjd.cjs} +1 -1
  32. package/dist/chunks/{index-Dv5hbC1r.js → index-DgGcVyUs.js} +35550 -35937
  33. package/dist/chunks/matrix-result-contract-CFPnlcLm.cjs +1 -0
  34. package/dist/chunks/{matrix-result-contract-BpzhImar.js → matrix-result-contract-DFfUvb1r.js} +3 -3
  35. package/dist/chunks/{temporal-bucket-CtP7hKLa.js → metric-comparison-CTexJ8V1.js} +705 -705
  36. package/dist/chunks/metric-comparison-x0lipytf.cjs +1 -0
  37. package/dist/chunks/pivot-header-presentation-8Ra1RfHg.cjs +4 -0
  38. package/dist/chunks/{pivot-header-presentation-CaERAWpl.js → pivot-header-presentation-tpb_J900.js} +118 -118
  39. package/dist/chunks/{pivot-result-identity-CIZXsI53.js → pivot-result-identity-BIeP9v8I.js} +1 -1
  40. package/dist/chunks/{pivot-result-identity-DRUlTWUq.cjs → pivot-result-identity-BVnhG2rR.cjs} +1 -1
  41. package/dist/chunks/pivot-result-lifecycle-D_bRCqaB.cjs +1 -0
  42. package/dist/chunks/{pivot-result-lifecycle-B9FTybxN.js → pivot-result-lifecycle-mjJ1rBvV.js} +7 -7
  43. package/dist/chunks/{raw-temporal-contract-U8J9RlEH.js → raw-temporal-contract-BuQIB31z.js} +1 -1
  44. package/dist/chunks/{raw-temporal-contract-D8YuxTAg.cjs → raw-temporal-contract-vnNwLy9R.cjs} +1 -1
  45. package/dist/chunks/{report-preferences-dialog-BXBlvW79.js → report-preferences-dialog-Bytgubvz.js} +25 -25
  46. package/dist/chunks/report-preferences-dialog-I0Pbn_Yb.cjs +1 -0
  47. package/dist/chunks/{report-runtime-context-DNbgCsko.js → report-runtime-context-B_pAmqxl.js} +1 -1
  48. package/dist/chunks/{report-runtime-context-RFiWq4wK.cjs → report-runtime-context-BfW4qiMJ.cjs} +1 -1
  49. package/dist/chunks/{source-entity-resolution-BDC-Qngk.cjs → source-entity-resolution-DCAAS-y8.cjs} +1 -1
  50. package/dist/chunks/{source-entity-resolution-ugN3sZUk.js → source-entity-resolution-WUstJID6.js} +1 -1
  51. package/dist/chunks/{switch-C8NihGV4.js → switch-BsGTOjuD.js} +12342 -11110
  52. package/dist/chunks/switch-Cpj3DrCZ.cjs +138 -0
  53. package/dist/chunks/{temporal-bucket-authoring-DJ9kK2wD.js → temporal-bucket-authoring-CyTCHy1K.js} +3 -3
  54. package/dist/chunks/temporal-bucket-authoring-DueSgLJU.cjs +1 -0
  55. package/dist/chunks/{temporal-bucket-contract-CZl5D7FZ.js → temporal-bucket-contract-BeOx0uYe.js} +1 -1
  56. package/dist/chunks/{temporal-bucket-contract-BD862TAa.cjs → temporal-bucket-contract-Cp-usD9Z.cjs} +1 -1
  57. package/dist/chunks/{token-types-CoHsSJ4E.cjs → token-types-D9eN35rf.cjs} +1 -1
  58. package/dist/chunks/{token-types-DfDtCqlw.js → token-types-Dvomvqw0.js} +1 -1
  59. package/dist/chunks/{update-policy-BGNXFgBU.cjs → update-policy-Buw2LmvX.cjs} +1 -1
  60. package/dist/chunks/{update-policy-BybMiM61.js → update-policy-MWg0aH3d.js} +1 -1
  61. package/dist/chunks/{validators-D-T-2HOR.js → validators-D3AarM2T.js} +662 -663
  62. package/dist/chunks/validators-DqIM0B3C.cjs +1 -0
  63. package/dist/dashboard/index.cjs +1 -1
  64. package/dist/dashboard/index.js +2 -2
  65. package/dist/dashboard-authoring/index.cjs +3 -3
  66. package/dist/dashboard-authoring/index.js +81 -79
  67. package/dist/data-app-builder/index.cjs +1 -1
  68. package/dist/data-app-builder/index.js +2 -2
  69. package/dist/data-app-codegen/index.cjs +1 -1
  70. package/dist/data-app-codegen/index.js +2 -2
  71. package/dist/data-app-codegen-node/index.cjs +1 -1
  72. package/dist/data-app-codegen-node/index.js +3 -3
  73. package/dist/data-app-sdk/index.cjs +1 -1
  74. package/dist/data-app-sdk/index.js +3 -3
  75. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  76. package/dist/data-app-sdk-adapters/index.js +2 -2
  77. package/dist/data-app-sdk-validation/index.cjs +1 -1
  78. package/dist/data-app-sdk-validation/index.js +3 -3
  79. package/dist/format-utils/index.cjs +3 -3
  80. package/dist/format-utils/index.js +9 -9
  81. package/dist/index.cjs +1 -1
  82. package/dist/index.js +177 -176
  83. package/dist/report-runtime-context/index.cjs +1 -1
  84. package/dist/report-runtime-context/index.js +2 -2
  85. package/dist/surfboard/index.cjs +1 -1
  86. package/dist/surfboard/index.js +3 -3
  87. package/dist/types/briefings.d.ts +15 -2
  88. package/dist/types/dashboard-authoring.d.ts +21 -2
  89. package/dist/types/dashboard.d.ts +15 -2
  90. package/dist/types/index.cjs +1 -1
  91. package/dist/types/index.js +4 -4
  92. package/dist/types/main.d.ts +25 -6
  93. package/dist/types/shared.d.ts +15 -2
  94. package/dist/types/surfboard.d.ts +15 -2
  95. package/dist/types/types.d.ts +15 -2
  96. package/package.json +1 -1
  97. package/dist/chunks/dashboard-filter-value-compatibility-BCVF9IHg.js +0 -1026
  98. package/dist/chunks/dashboard-filter-value-compatibility-DLkdeypb.cjs +0 -1
  99. package/dist/chunks/dashboard-json-CdwYFOsc.cjs +0 -1
  100. package/dist/chunks/format-types-PSZZ7hG8.cjs +0 -1
  101. package/dist/chunks/matrix-result-contract-Bhg60NtS.cjs +0 -1
  102. package/dist/chunks/pivot-header-presentation-CePk1R6g.cjs +0 -4
  103. package/dist/chunks/pivot-result-lifecycle-CcGt_29N.cjs +0 -1
  104. package/dist/chunks/report-preferences-dialog-cSMJYqns.cjs +0 -1
  105. package/dist/chunks/saved-temporal-bucket-format-DNMtD77o.cjs +0 -1
  106. package/dist/chunks/switch-B1mZx2k9.cjs +0 -138
  107. package/dist/chunks/temporal-bucket-9Wz9Ds6H.cjs +0 -1
  108. package/dist/chunks/temporal-bucket-authoring-DSpzgXHc.cjs +0 -1
  109. package/dist/chunks/validators-DcshgK7w.cjs +0 -1
@@ -702,6 +702,16 @@ declare type DashboardAIContext = AIContext & {
702
702
 
703
703
  declare type DashboardAIContextMode = 'auto' | 'fixed';
704
704
 
705
+ /** Instance references applied to the latest linked library definition. */
706
+ export declare type DashboardCardReferenceRemapping = {
707
+ cardIds?: Record<string, string>;
708
+ sheetIds?: Record<string, string>;
709
+ inputIds?: Record<string, string>;
710
+ controlIds?: Record<string, string>;
711
+ filterIds?: Record<string, string>;
712
+ inputAliases?: Record<string, DashboardInputVariableRef>;
713
+ };
714
+
705
715
  export declare type DashboardEventHandlers = {
706
716
  onExportData?: (payload: ExportDataPayload) => void;
707
717
  };
@@ -1656,12 +1666,12 @@ declare type FilterForDate = BaseFilter & {
1656
1666
 
1657
1667
  declare type FilterForEqual = BaseFilter & {
1658
1668
  operation: '=' | '!=';
1659
- values: [string | number];
1669
+ values: [FilterOptionValue];
1660
1670
  };
1661
1671
 
1662
1672
  declare type FilterForIn = BaseFilter & {
1663
1673
  operation: 'in' | 'not in';
1664
- values: (string | number)[];
1674
+ values: FilterOptionValue[];
1665
1675
  };
1666
1676
 
1667
1677
  declare type FilterForNull = BaseFilter & {
@@ -1719,6 +1729,8 @@ declare type FilterOnClick = {
1719
1729
  columnIndex: number;
1720
1730
  };
1721
1731
 
1732
+ declare type FilterOptionValue = string | number | boolean;
1733
+
1722
1734
  declare type FilterSemanticContext = {
1723
1735
  semanticDomainId?: string;
1724
1736
  selectedEntities?: unknown[];
@@ -3223,6 +3235,7 @@ export declare type TCard = {
3223
3235
  config?: CardConfig;
3224
3236
  interactionConfig?: CardInteractionConfig;
3225
3237
  linkedSourceCardId?: string;
3238
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
3226
3239
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
3227
3240
  paginationConfig?: PaginationConfig;
3228
3241
  queryConfig?: QueryConfig;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/common-types-C1IM7gao.cjs"),t=require("../chunks/token-types-CoHsSJ4E.cjs"),E=require("../chunks/pivot-result-identity-DRUlTWUq.cjs"),l=require("../chunks/report-runtime-context-RFiWq4wK.cjs");exports.CALCULATED_FIELD_ENTITY_MARKER=e.CALCULATED_FIELD_ENTITY_MARKER;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.DATE_FORMAT_VALUES=e.DATE_FORMAT_VALUES;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=e.LEGACY_CALCULATED_FIELD_ENTITY_MARKER;exports.PivotMarkerEnum=e.PivotMarkerEnum;exports.getFieldRuntimeColumnName=e.getFieldRuntimeColumnName;exports.hasCalculatedFieldMarker=e.hasCalculatedFieldMarker;exports.hasCalculatedFormulaInputs=e.hasCalculatedFormulaInputs;exports.hasSyntheticCalculatedFieldOwner=e.hasSyntheticCalculatedFieldOwner;exports.isCalculatedDimension=e.isCalculatedDimension;exports.isCalculatedField=e.isCalculatedField;exports.isCalculatedMetric=e.isCalculatedMetric;exports.DEFAULT_SEMANTIC_DOMAIN_ACCESS=t.DEFAULT_SEMANTIC_DOMAIN_ACCESS;exports.resolveQueryColumnKeyMapEntry=E.resolveQueryColumnKeyMapEntry;exports.resolveUniqueQueryColumnKeyMapEntry=E.resolveUniqueQueryColumnKeyMapEntry;exports.DEFAULT_CALENDAR_CONTEXT=l.DEFAULT_CALENDAR_CONTEXT;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/common-types-BCSbPclk.cjs"),t=require("../chunks/token-types-D9eN35rf.cjs"),E=require("../chunks/pivot-result-identity-BVnhG2rR.cjs"),l=require("../chunks/report-runtime-context-BfW4qiMJ.cjs");exports.CALCULATED_FIELD_ENTITY_MARKER=e.CALCULATED_FIELD_ENTITY_MARKER;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.DATE_FORMAT_VALUES=e.DATE_FORMAT_VALUES;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=e.LEGACY_CALCULATED_FIELD_ENTITY_MARKER;exports.PivotMarkerEnum=e.PivotMarkerEnum;exports.getFieldRuntimeColumnName=e.getFieldRuntimeColumnName;exports.hasCalculatedFieldMarker=e.hasCalculatedFieldMarker;exports.hasCalculatedFormulaInputs=e.hasCalculatedFormulaInputs;exports.hasSyntheticCalculatedFieldOwner=e.hasSyntheticCalculatedFieldOwner;exports.isCalculatedDimension=e.isCalculatedDimension;exports.isCalculatedField=e.isCalculatedField;exports.isCalculatedMetric=e.isCalculatedMetric;exports.DEFAULT_SEMANTIC_DOMAIN_ACCESS=t.DEFAULT_SEMANTIC_DOMAIN_ACCESS;exports.resolveQueryColumnKeyMapEntry=E.resolveQueryColumnKeyMapEntry;exports.resolveUniqueQueryColumnKeyMapEntry=E.resolveUniqueQueryColumnKeyMapEntry;exports.DEFAULT_CALENDAR_CONTEXT=l.DEFAULT_CALENDAR_CONTEXT;
@@ -1,7 +1,7 @@
1
- import { a as s, C as E, D as C, E as l, L as r, P as A, g as t, d as _, h as T, e as o, b as u, c as L, i } from "../chunks/common-types-BLPy5_E0.js";
2
- import { D as n } from "../chunks/token-types-DfDtCqlw.js";
3
- import { r as d, a as F } from "../chunks/pivot-result-identity-CIZXsI53.js";
4
- import { D as c } from "../chunks/report-runtime-context-DNbgCsko.js";
1
+ import { a as s, C as E, D as C, E as l, L as r, P as A, g as t, d as _, h as T, e as o, b as u, c as L, i } from "../chunks/common-types-D3r4PILe.js";
2
+ import { D as n } from "../chunks/token-types-Dvomvqw0.js";
3
+ import { r as d, a as F } from "../chunks/pivot-result-identity-BIeP9v8I.js";
4
+ import { D as c } from "../chunks/report-runtime-context-B_pAmqxl.js";
5
5
  export {
6
6
  s as CALCULATED_FIELD_ENTITY_MARKER,
7
7
  E as CONTROL_CARD_DEFAULT_VALUE,
@@ -101,6 +101,7 @@ declare type Actions_2 = {
101
101
  setDashboardDescription: (description: string) => void;
102
102
  setSheets: (sheets: TSheet[]) => void;
103
103
  addSheet: (sheet: TSheet) => void;
104
+ duplicateSheet: (sheetId: string) => string | null;
104
105
  deleteSheet: (sheetId: string) => void;
105
106
  setSheetTitle: (sheetId: string, title: string) => void;
106
107
  updateSheetDocument: (sheetId: string, updater: (document: DocumentDefinition) => DocumentDefinition) => void;
@@ -1610,9 +1611,9 @@ export declare function Combobox({ name, items, value, onChange, isLoading, isEr
1610
1611
  }): JSX.Element;
1611
1612
 
1612
1613
  declare type ComboBoxOption = {
1613
- id: number | string;
1614
- value: string;
1615
- [key: string]: number | string;
1614
+ id: FilterOptionValue;
1615
+ value: FilterOptionValue;
1616
+ [key: string]: FilterOptionValue;
1616
1617
  };
1617
1618
 
1618
1619
  declare type ComparisonAvailability = {
@@ -1985,6 +1986,16 @@ export declare type DashboardBriefingLauncherProps = {
1985
1986
  client?: Partial<DashboardBriefingLauncherClient>;
1986
1987
  };
1987
1988
 
1989
+ /** Instance references applied to the latest linked library definition. */
1990
+ export declare type DashboardCardReferenceRemapping = {
1991
+ cardIds?: Record<string, string>;
1992
+ sheetIds?: Record<string, string>;
1993
+ inputIds?: Record<string, string>;
1994
+ controlIds?: Record<string, string>;
1995
+ filterIds?: Record<string, string>;
1996
+ inputAliases?: Record<string, DashboardInputVariableRef>;
1997
+ };
1998
+
1988
1999
  declare type DashboardCardSizeIntent = 'kpi' | 'chart' | 'table' | 'text';
1989
2000
 
1990
2001
  declare type DashboardControlsModelOptions = {
@@ -3789,12 +3800,12 @@ declare type FilterForDate = BaseFilter & {
3789
3800
 
3790
3801
  declare type FilterForEqual = BaseFilter & {
3791
3802
  operation: '=' | '!=';
3792
- values: [string | number];
3803
+ values: [FilterOptionValue];
3793
3804
  };
3794
3805
 
3795
3806
  declare type FilterForIn = BaseFilter & {
3796
3807
  operation: 'in' | 'not in';
3797
- values: (string | number)[];
3808
+ values: FilterOptionValue[];
3798
3809
  };
3799
3810
 
3800
3811
  declare type FilterForNull = BaseFilter & {
@@ -3852,6 +3863,8 @@ declare type FilterOnClick = {
3852
3863
  columnIndex: number;
3853
3864
  };
3854
3865
 
3866
+ declare type FilterOptionValue = string | number | boolean;
3867
+
3855
3868
  declare type FilterSemanticContext = {
3856
3869
  semanticDomainId?: string;
3857
3870
  selectedEntities?: unknown[];
@@ -6711,6 +6724,7 @@ export declare type TCard = {
6711
6724
  config?: CardConfig;
6712
6725
  interactionConfig?: CardInteractionConfig;
6713
6726
  linkedSourceCardId?: string;
6727
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
6714
6728
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
6715
6729
  paginationConfig?: PaginationConfig;
6716
6730
  queryConfig?: QueryConfig;
@@ -7913,7 +7927,7 @@ export declare function useDataColumns(token?: AuthToken): {
7913
7927
  };
7914
7928
 
7915
7929
  export declare function useDateFilterHook(filterId: string): {
7916
- records: any;
7930
+ records: Record<string, unknown>[] | undefined;
7917
7931
  isLoading: boolean;
7918
7932
  isFetching: boolean;
7919
7933
  isError: boolean;
@@ -8126,6 +8140,11 @@ export declare function useTextFilterHook(filterId: string): {
8126
8140
  isFetching: boolean;
8127
8141
  isPlaceholderData: boolean;
8128
8142
  isError: boolean;
8143
+ hasNextPage: boolean;
8144
+ hasLoadedMoreOptions: boolean;
8145
+ isFetchingNextPage: boolean;
8146
+ isNextPageError: boolean;
8147
+ loadNextPage: () => void;
8129
8148
  records: ComboBoxOption[];
8130
8149
  selectedRecords: ComboBoxOption[];
8131
8150
  handleChange: (selectedRecords: TSelectedRecord[]) => void;
@@ -561,6 +561,16 @@ declare type DashboardAIContext = AIContext & {
561
561
 
562
562
  declare type DashboardAIContextMode = 'auto' | 'fixed';
563
563
 
564
+ /** Instance references applied to the latest linked library definition. */
565
+ declare type DashboardCardReferenceRemapping = {
566
+ cardIds?: Record<string, string>;
567
+ sheetIds?: Record<string, string>;
568
+ inputIds?: Record<string, string>;
569
+ controlIds?: Record<string, string>;
570
+ filterIds?: Record<string, string>;
571
+ inputAliases?: Record<string, DashboardInputVariableRef>;
572
+ };
573
+
564
574
  declare type DashboardFilterApplication = {
565
575
  kind: 'cardMappings';
566
576
  /**
@@ -1297,12 +1307,12 @@ declare type FilterForDate = BaseFilter & {
1297
1307
 
1298
1308
  declare type FilterForEqual = BaseFilter & {
1299
1309
  operation: '=' | '!=';
1300
- values: [string | number];
1310
+ values: [FilterOptionValue];
1301
1311
  };
1302
1312
 
1303
1313
  declare type FilterForIn = BaseFilter & {
1304
1314
  operation: 'in' | 'not in';
1305
- values: (string | number)[];
1315
+ values: FilterOptionValue[];
1306
1316
  };
1307
1317
 
1308
1318
  declare type FilterForNull = BaseFilter & {
@@ -1360,6 +1370,8 @@ declare type FilterOnClick = {
1360
1370
  columnIndex: number;
1361
1371
  };
1362
1372
 
1373
+ declare type FilterOptionValue = string | number | boolean;
1374
+
1363
1375
  declare type FilterSemanticContext = {
1364
1376
  semanticDomainId?: string;
1365
1377
  selectedEntities?: unknown[];
@@ -2446,6 +2458,7 @@ declare type TCard = {
2446
2458
  config?: CardConfig;
2447
2459
  interactionConfig?: CardInteractionConfig;
2448
2460
  linkedSourceCardId?: string;
2461
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
2449
2462
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
2450
2463
  paginationConfig?: PaginationConfig;
2451
2464
  queryConfig?: QueryConfig;
@@ -700,6 +700,16 @@ declare type DashboardAIContext = AIContext & {
700
700
 
701
701
  declare type DashboardAIContextMode = 'auto' | 'fixed';
702
702
 
703
+ /** Instance references applied to the latest linked library definition. */
704
+ export declare type DashboardCardReferenceRemapping = {
705
+ cardIds?: Record<string, string>;
706
+ sheetIds?: Record<string, string>;
707
+ inputIds?: Record<string, string>;
708
+ controlIds?: Record<string, string>;
709
+ filterIds?: Record<string, string>;
710
+ inputAliases?: Record<string, DashboardInputVariableRef>;
711
+ };
712
+
703
713
  export declare type DashboardEventHandlers = {
704
714
  onExportData?: (payload: ExportDataPayload) => void;
705
715
  };
@@ -1669,12 +1679,12 @@ declare type FilterForDate = BaseFilter & {
1669
1679
 
1670
1680
  declare type FilterForEqual = BaseFilter & {
1671
1681
  operation: '=' | '!=';
1672
- values: [string | number];
1682
+ values: [FilterOptionValue];
1673
1683
  };
1674
1684
 
1675
1685
  declare type FilterForIn = BaseFilter & {
1676
1686
  operation: 'in' | 'not in';
1677
- values: (string | number)[];
1687
+ values: FilterOptionValue[];
1678
1688
  };
1679
1689
 
1680
1690
  declare type FilterForNull = BaseFilter & {
@@ -1732,6 +1742,8 @@ declare type FilterOnClick = {
1732
1742
  columnIndex: number;
1733
1743
  };
1734
1744
 
1745
+ declare type FilterOptionValue = string | number | boolean;
1746
+
1735
1747
  declare type FilterSemanticContext = {
1736
1748
  semanticDomainId?: string;
1737
1749
  selectedEntities?: unknown[];
@@ -3245,6 +3257,7 @@ export declare type TCard = {
3245
3257
  config?: CardConfig;
3246
3258
  interactionConfig?: CardInteractionConfig;
3247
3259
  linkedSourceCardId?: string;
3260
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
3248
3261
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
3249
3262
  paginationConfig?: PaginationConfig;
3250
3263
  queryConfig?: QueryConfig;
@@ -1210,6 +1210,16 @@ declare type DashboardAIContext = AIContext & {
1210
1210
 
1211
1211
  declare type DashboardAIContextMode = 'auto' | 'fixed';
1212
1212
 
1213
+ /** Instance references applied to the latest linked library definition. */
1214
+ export declare type DashboardCardReferenceRemapping = {
1215
+ cardIds?: Record<string, string>;
1216
+ sheetIds?: Record<string, string>;
1217
+ inputIds?: Record<string, string>;
1218
+ controlIds?: Record<string, string>;
1219
+ filterIds?: Record<string, string>;
1220
+ inputAliases?: Record<string, DashboardInputVariableRef>;
1221
+ };
1222
+
1213
1223
  export declare type DashboardEventHandlers = {
1214
1224
  onExportData?: (payload: ExportDataPayload) => void;
1215
1225
  };
@@ -2251,12 +2261,12 @@ declare type FilterForDate = BaseFilter & {
2251
2261
 
2252
2262
  declare type FilterForEqual = BaseFilter & {
2253
2263
  operation: '=' | '!=';
2254
- values: [string | number];
2264
+ values: [FilterOptionValue];
2255
2265
  };
2256
2266
 
2257
2267
  declare type FilterForIn = BaseFilter & {
2258
2268
  operation: 'in' | 'not in';
2259
- values: (string | number)[];
2269
+ values: FilterOptionValue[];
2260
2270
  };
2261
2271
 
2262
2272
  declare type FilterForNull = BaseFilter & {
@@ -2314,6 +2324,8 @@ declare type FilterOnClick = {
2314
2324
  columnIndex: number;
2315
2325
  };
2316
2326
 
2327
+ declare type FilterOptionValue = string | number | boolean;
2328
+
2317
2329
  export declare type FilterSemanticContext = {
2318
2330
  semanticDomainId?: string;
2319
2331
  selectedEntities?: unknown[];
@@ -4435,6 +4447,7 @@ export declare type TCard = {
4435
4447
  config?: CardConfig;
4436
4448
  interactionConfig?: CardInteractionConfig;
4437
4449
  linkedSourceCardId?: string;
4450
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
4438
4451
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
4439
4452
  paginationConfig?: PaginationConfig;
4440
4453
  queryConfig?: QueryConfig;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.476",
8
+ "version": "0.1.478",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",