react-semaphor 0.1.477 → 0.1.479

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-CXHq6ime.cjs → dashboard-briefing-launcher-DWwSdfV7.cjs} +2 -2
  14. package/dist/chunks/{dashboard-briefing-launcher-C9d8CPxv.js → dashboard-briefing-launcher-Dk4yNOLY.js} +134 -134
  15. package/dist/chunks/{dashboard-controls-d7Yd2fJb.cjs → dashboard-controls-B0Pm_y8L.cjs} +10 -10
  16. package/dist/chunks/{dashboard-controls-BqDm4ARp.js → dashboard-controls-CIC5_549.js} +13 -12
  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-ByT__CYM.cjs +1 -0
  20. package/dist/chunks/dashboard-filter-value-compatibility-DQkUs41q.js +1220 -0
  21. package/dist/chunks/dashboard-json-Bk6nEHap.cjs +1 -0
  22. package/dist/chunks/{dashboard-json-CL_vgcWq.js → dashboard-json-YDTb3r4e.js} +7 -7
  23. package/dist/chunks/{edit-dashboard-visual-Dklel3MC.cjs → edit-dashboard-visual-B3oH-O0L.cjs} +6 -6
  24. package/dist/chunks/{edit-dashboard-visual-C0Zvyo-X.js → edit-dashboard-visual-q5Yj9dMP.js} +277 -277
  25. package/dist/chunks/{editor-action-buttons-BOyUtX9j.js → editor-action-buttons-BqelO0n9.js} +39 -39
  26. package/dist/chunks/{editor-action-buttons-AcaZsiDy.cjs → editor-action-buttons-vZ63-lN-.cjs} +1 -1
  27. package/dist/chunks/{format-types-CFHQoIuk.js → index-BS0_dp0l.js} +168 -168
  28. package/dist/chunks/{index-D9S3j7_z.js → index-BvRREsU9.js} +9 -9
  29. package/dist/chunks/index-ByQgqT9d.cjs +1 -0
  30. package/dist/chunks/{index-DrdF7QR7.js → index-CUCiMVzS.js} +34219 -35005
  31. package/dist/chunks/{index-v2MZLyus.cjs → index-CXeIDdjd.cjs} +1 -1
  32. package/dist/chunks/{index-Cd8qGOXl.cjs → index-DhDfPZUu.cjs} +232 -232
  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--aV7ITSE.cjs +1 -0
  46. package/dist/chunks/{report-preferences-dialog-BjygtSP3.js → report-preferences-dialog-DKq0k5BH.js} +25 -25
  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-D12C40LN.cjs +138 -0
  52. package/dist/chunks/{switch-C8NihGV4.js → switch-LucIPRtD.js} +13142 -11648
  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 +19 -2
  88. package/dist/types/dashboard-authoring.d.ts +26 -3
  89. package/dist/types/dashboard.d.ts +20 -3
  90. package/dist/types/index.cjs +1 -1
  91. package/dist/types/index.js +4 -4
  92. package/dist/types/main.d.ts +39 -18
  93. package/dist/types/shared.d.ts +19 -2
  94. package/dist/types/surfboard.d.ts +20 -3
  95. package/dist/types/types.d.ts +20 -3
  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-BYQjTmqD.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-DW40ECz1.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
  };
@@ -1492,7 +1502,7 @@ export declare type EmailSettings = {
1492
1502
  senderTitle: string;
1493
1503
  };
1494
1504
 
1495
- export declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
1505
+ export declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
1496
1506
  kind: 'filter';
1497
1507
  filter: TFilter;
1498
1508
  filterReference?: never;
@@ -1620,6 +1630,12 @@ declare interface FilterCondition {
1620
1630
 
1621
1631
  export declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
1622
1632
 
1633
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
1634
+ declare type FilterDashboardInputBase = DashboardInputBase & {
1635
+ /** Empty selections restore the authored default; viewers may replace it. */
1636
+ forceSelection?: boolean;
1637
+ };
1638
+
1623
1639
  /**
1624
1640
  * Display mode for individual filters
1625
1641
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -2140,7 +2156,7 @@ declare type NoneOptions = {};
2140
2156
  export declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
2141
2157
 
2142
2158
  /** Runtime form after dashboard-filter references are resolved once. */
2143
- export declare type NormalizedFilterDashboardInput = DashboardInputBase & {
2159
+ export declare type NormalizedFilterDashboardInput = FilterDashboardInputBase & {
2144
2160
  kind: 'filter';
2145
2161
  filter: TFilter;
2146
2162
  optionSource?: DashboardFilterOptionSource;
@@ -2307,7 +2323,7 @@ declare type RawTemporalPresentationTarget = {
2307
2323
  columnKey: string;
2308
2324
  };
2309
2325
 
2310
- export declare type ReferencedFilterDashboardInput = DashboardInputBase & {
2326
+ export declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
2311
2327
  kind: 'filter';
2312
2328
  filter?: never;
2313
2329
  filterReference: {
@@ -3225,6 +3241,7 @@ export declare type TCard = {
3225
3241
  config?: CardConfig;
3226
3242
  interactionConfig?: CardInteractionConfig;
3227
3243
  linkedSourceCardId?: string;
3244
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
3228
3245
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
3229
3246
  paginationConfig?: PaginationConfig;
3230
3247
  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,
@@ -46,10 +46,12 @@ declare type Actions_2 = {
46
46
  updateFilterDashboardInputDefinition: (inputId: string, filter: TFilter, metadata?: {
47
47
  variableName?: string;
48
48
  label?: string;
49
+ forceSelection?: boolean;
50
+ exports?: DashboardInput['exports'];
49
51
  }) => void;
50
- acceptDashboardFilterOptionSource: (updatedFilter: TFilter, optionSource: DashboardFilterOptionSource, settings?: DashboardFilterAuthoringSettingsUpdate, inputMetadata?: {
52
+ acceptDashboardFilterInput: (updatedFilter: TFilter, optionSource: DashboardFilterOptionSource | undefined, settings?: DashboardFilterAuthoringSettingsUpdate, inputMetadata?: {
51
53
  variableName?: string;
52
- }) => DashboardFilterOptionSourceAcceptanceResult;
54
+ }) => DashboardFilterInputAcceptanceResult;
53
55
  acceptDashboardFilterMapping: (request: DashboardFilterMappingAuthoringRequest, updatedFilter?: TFilter, settings?: DashboardFilterAuthoringSettingsUpdate) => DashboardFilterMappingAcceptanceResult;
54
56
  disableDashboardFilterMapping: (filterId: string, updatedFilter?: TFilter, settings?: DashboardFilterAuthoringSettingsUpdate) => DashboardFilterMappingDisableResult;
55
57
  removeDashboardInput: (inputId: string) => void;
@@ -101,6 +103,7 @@ declare type Actions_2 = {
101
103
  setDashboardDescription: (description: string) => void;
102
104
  setSheets: (sheets: TSheet[]) => void;
103
105
  addSheet: (sheet: TSheet) => void;
106
+ duplicateSheet: (sheetId: string) => string | null;
104
107
  deleteSheet: (sheetId: string) => void;
105
108
  setSheetTitle: (sheetId: string, title: string) => void;
106
109
  updateSheetDocument: (sheetId: string, updater: (document: DocumentDefinition) => DocumentDefinition) => void;
@@ -1985,6 +1988,16 @@ export declare type DashboardBriefingLauncherProps = {
1985
1988
  client?: Partial<DashboardBriefingLauncherClient>;
1986
1989
  };
1987
1990
 
1991
+ /** Instance references applied to the latest linked library definition. */
1992
+ export declare type DashboardCardReferenceRemapping = {
1993
+ cardIds?: Record<string, string>;
1994
+ sheetIds?: Record<string, string>;
1995
+ inputIds?: Record<string, string>;
1996
+ controlIds?: Record<string, string>;
1997
+ filterIds?: Record<string, string>;
1998
+ inputAliases?: Record<string, DashboardInputVariableRef>;
1999
+ };
2000
+
1988
2001
  declare type DashboardCardSizeIntent = 'kpi' | 'chart' | 'table' | 'text';
1989
2002
 
1990
2003
  declare type DashboardControlsModelOptions = {
@@ -2063,11 +2076,12 @@ export declare type DashboardFilterApplication = {
2063
2076
  };
2064
2077
 
2065
2078
  declare type DashboardFilterAuthoringSettingsUpdate = {
2066
- defaultValueChanged: boolean;
2067
- defaultFilterValue?: TFilterValue;
2068
- defaultComparisonChanged: boolean;
2079
+ forceSelection?: boolean;
2080
+ /** Explicit reset of a persisted default slot that may lack a backing default. */
2081
+ defaultValueChanged?: boolean;
2082
+ defaultComparisonChanged?: boolean;
2069
2083
  defaultComparisonSelection?: GlobalDateComparisonSelection;
2070
- target: DashboardInputRuntimeTarget;
2084
+ target?: DashboardInputRuntimeTarget;
2071
2085
  optionSourceChanged?: boolean;
2072
2086
  optionSource?: DashboardFilterOptionSource;
2073
2087
  /** Raw selection identity changed; the previous runtime value is invalid. */
@@ -2149,6 +2163,15 @@ export declare type DashboardFilterExcludedCardApplication = {
2149
2163
  cardId: string;
2150
2164
  };
2151
2165
 
2166
+ declare type DashboardFilterInputAcceptanceResult = {
2167
+ ok: true;
2168
+ input: ReferencedFilterDashboardInput;
2169
+ created: boolean;
2170
+ } | {
2171
+ ok: false;
2172
+ issues: DashboardFilterMappingAuthoringIssue[];
2173
+ };
2174
+
2152
2175
  declare type DashboardFilterMappingAcceptanceResult = {
2153
2176
  ok: true;
2154
2177
  draft: DashboardFilterMappingDraft;
@@ -2244,15 +2267,6 @@ declare type DashboardFilterMappingDraftStatus = 'pendingSource' | 'automatic' |
2244
2267
  /** Persisted label/value option definition for a mapped dashboard filter. */
2245
2268
  export declare type DashboardFilterOptionSource = SemaphorInputOptionSource;
2246
2269
 
2247
- declare type DashboardFilterOptionSourceAcceptanceResult = {
2248
- ok: true;
2249
- input: ReferencedFilterDashboardInput;
2250
- created: boolean;
2251
- } | {
2252
- ok: false;
2253
- issues: DashboardFilterMappingAuthoringIssue[];
2254
- };
2255
-
2256
2270
  export declare type DashboardFilterTarget = {
2257
2271
  kind: 'field';
2258
2272
  field: DashboardFilterTargetField;
@@ -3452,7 +3466,7 @@ export declare type EmailSettings = {
3452
3466
  senderTitle: string;
3453
3467
  };
3454
3468
 
3455
- export declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
3469
+ export declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
3456
3470
  kind: 'filter';
3457
3471
  filter: TFilter;
3458
3472
  filterReference?: never;
@@ -3753,6 +3767,12 @@ export declare interface FilterCondition {
3753
3767
 
3754
3768
  export declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
3755
3769
 
3770
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
3771
+ declare type FilterDashboardInputBase = DashboardInputBase & {
3772
+ /** Empty selections restore the authored default; viewers may replace it. */
3773
+ forceSelection?: boolean;
3774
+ };
3775
+
3756
3776
  /**
3757
3777
  * Display mode for individual filters
3758
3778
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -4930,7 +4950,7 @@ export declare function normalizeDashboardForDirtyCheck(dashboard: TDashboard |
4930
4950
  export declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
4931
4951
 
4932
4952
  /** Runtime form after dashboard-filter references are resolved once. */
4933
- export declare type NormalizedFilterDashboardInput = DashboardInputBase & {
4953
+ export declare type NormalizedFilterDashboardInput = FilterDashboardInputBase & {
4934
4954
  kind: 'filter';
4935
4955
  filter: TFilter;
4936
4956
  optionSource?: DashboardFilterOptionSource;
@@ -5266,7 +5286,7 @@ declare type RawTemporalValueMetadata = {
5266
5286
  valueKind: RawTemporalValueKind;
5267
5287
  };
5268
5288
 
5269
- export declare type ReferencedFilterDashboardInput = DashboardInputBase & {
5289
+ export declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
5270
5290
  kind: 'filter';
5271
5291
  filter?: never;
5272
5292
  filterReference: {
@@ -6713,6 +6733,7 @@ export declare type TCard = {
6713
6733
  config?: CardConfig;
6714
6734
  interactionConfig?: CardInteractionConfig;
6715
6735
  linkedSourceCardId?: string;
6736
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
6716
6737
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
6717
6738
  paginationConfig?: PaginationConfig;
6718
6739
  queryConfig?: QueryConfig;
@@ -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
  /**
@@ -1146,7 +1156,7 @@ declare type EmailSettings = {
1146
1156
  senderTitle: string;
1147
1157
  };
1148
1158
 
1149
- declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
1159
+ declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
1150
1160
  kind: 'filter';
1151
1161
  filter: TFilter;
1152
1162
  filterReference?: never;
@@ -1261,6 +1271,12 @@ declare interface FilterCondition {
1261
1271
 
1262
1272
  declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
1263
1273
 
1274
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
1275
+ declare type FilterDashboardInputBase = DashboardInputBase & {
1276
+ /** Empty selections restore the authored default; viewers may replace it. */
1277
+ forceSelection?: boolean;
1278
+ };
1279
+
1264
1280
  /**
1265
1281
  * Display mode for individual filters
1266
1282
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -1772,7 +1788,7 @@ declare type RangeValue = {
1772
1788
  gt?: string | number;
1773
1789
  };
1774
1790
 
1775
- declare type ReferencedFilterDashboardInput = DashboardInputBase & {
1791
+ declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
1776
1792
  kind: 'filter';
1777
1793
  filter?: never;
1778
1794
  filterReference: {
@@ -2448,6 +2464,7 @@ declare type TCard = {
2448
2464
  config?: CardConfig;
2449
2465
  interactionConfig?: CardInteractionConfig;
2450
2466
  linkedSourceCardId?: string;
2467
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
2451
2468
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
2452
2469
  paginationConfig?: PaginationConfig;
2453
2470
  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
  };
@@ -1505,7 +1515,7 @@ export declare type EmailSettings = {
1505
1515
  senderTitle: string;
1506
1516
  };
1507
1517
 
1508
- export declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
1518
+ export declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
1509
1519
  kind: 'filter';
1510
1520
  filter: TFilter;
1511
1521
  filterReference?: never;
@@ -1633,6 +1643,12 @@ declare interface FilterCondition {
1633
1643
 
1634
1644
  export declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
1635
1645
 
1646
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
1647
+ declare type FilterDashboardInputBase = DashboardInputBase & {
1648
+ /** Empty selections restore the authored default; viewers may replace it. */
1649
+ forceSelection?: boolean;
1650
+ };
1651
+
1636
1652
  /**
1637
1653
  * Display mode for individual filters
1638
1654
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -2153,7 +2169,7 @@ declare type NoneOptions = {};
2153
2169
  export declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
2154
2170
 
2155
2171
  /** Runtime form after dashboard-filter references are resolved once. */
2156
- export declare type NormalizedFilterDashboardInput = DashboardInputBase & {
2172
+ export declare type NormalizedFilterDashboardInput = FilterDashboardInputBase & {
2157
2173
  kind: 'filter';
2158
2174
  filter: TFilter;
2159
2175
  optionSource?: DashboardFilterOptionSource;
@@ -2320,7 +2336,7 @@ declare type RawTemporalPresentationTarget = {
2320
2336
  columnKey: string;
2321
2337
  };
2322
2338
 
2323
- export declare type ReferencedFilterDashboardInput = DashboardInputBase & {
2339
+ export declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
2324
2340
  kind: 'filter';
2325
2341
  filter?: never;
2326
2342
  filterReference: {
@@ -3247,6 +3263,7 @@ export declare type TCard = {
3247
3263
  config?: CardConfig;
3248
3264
  interactionConfig?: CardInteractionConfig;
3249
3265
  linkedSourceCardId?: string;
3266
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
3250
3267
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
3251
3268
  paginationConfig?: PaginationConfig;
3252
3269
  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
  };
@@ -2077,7 +2087,7 @@ export declare type EmailSettings = {
2077
2087
  senderTitle: string;
2078
2088
  };
2079
2089
 
2080
- export declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
2090
+ export declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
2081
2091
  kind: 'filter';
2082
2092
  filter: TFilter;
2083
2093
  filterReference?: never;
@@ -2215,6 +2225,12 @@ export declare interface FilterCondition {
2215
2225
 
2216
2226
  export declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
2217
2227
 
2228
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
2229
+ declare type FilterDashboardInputBase = DashboardInputBase & {
2230
+ /** Empty selections restore the authored default; viewers may replace it. */
2231
+ forceSelection?: boolean;
2232
+ };
2233
+
2218
2234
  /**
2219
2235
  * Display mode for individual filters
2220
2236
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -3042,7 +3058,7 @@ declare type NoneOptions = {};
3042
3058
  export declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
3043
3059
 
3044
3060
  /** Runtime form after dashboard-filter references are resolved once. */
3045
- export declare type NormalizedFilterDashboardInput = DashboardInputBase & {
3061
+ export declare type NormalizedFilterDashboardInput = FilterDashboardInputBase & {
3046
3062
  kind: 'filter';
3047
3063
  filter: TFilter;
3048
3064
  optionSource?: DashboardFilterOptionSource;
@@ -3348,7 +3364,7 @@ declare type RawTemporalValueMetadata = {
3348
3364
  valueKind: RawTemporalValueKind;
3349
3365
  };
3350
3366
 
3351
- export declare type ReferencedFilterDashboardInput = DashboardInputBase & {
3367
+ export declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
3352
3368
  kind: 'filter';
3353
3369
  filter?: never;
3354
3370
  filterReference: {
@@ -4437,6 +4453,7 @@ export declare type TCard = {
4437
4453
  config?: CardConfig;
4438
4454
  interactionConfig?: CardInteractionConfig;
4439
4455
  linkedSourceCardId?: string;
4456
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
4440
4457
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
4441
4458
  paginationConfig?: PaginationConfig;
4442
4459
  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.477",
8
+ "version": "0.1.479",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",