react-semaphor 0.1.459 → 0.1.461
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.
- package/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +32 -32
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-BbRJ-C06.js → analyze-result-contract-DROq4vgY.js} +1 -1
- package/dist/chunks/{analyze-result-contract-LPDNldic.cjs → analyze-result-contract-DSGoFuXQ.cjs} +1 -1
- package/dist/chunks/canonical-result-keys-CEQefvdO.js +33 -0
- package/dist/chunks/canonical-result-keys-Cb96edol.cjs +1 -0
- package/dist/chunks/{common-types-H51FLKB7.js → common-types-BHVKgxRR.js} +1 -1
- package/dist/chunks/{common-types-C57kJ59w.cjs → common-types-BcV9PD9D.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-ClCj98sq.js → dashboard-briefing-launcher-3owMxX5K.js} +60 -61
- package/dist/chunks/{dashboard-briefing-launcher-DHtEouuH.cjs → dashboard-briefing-launcher-xuGrw8H3.cjs} +2 -2
- package/dist/chunks/{dashboard-controls-B8gsKlxc.js → dashboard-controls-B4GvjGr1.js} +44 -45
- package/dist/chunks/{dashboard-controls-VRShl9J0.cjs → dashboard-controls-Bpm_xOXQ.cjs} +1 -1
- package/dist/chunks/dashboard-filter-value-compatibility-KXIyvbhc.js +677 -0
- package/dist/chunks/dashboard-filter-value-compatibility-UapptYnn.cjs +1 -0
- package/dist/chunks/dashboard-input-contract-BkRFQ7Tq.cjs +1 -0
- package/dist/chunks/{dashboard-date-comparison-definition-DC3ekV2S.js → dashboard-input-contract-D5dxTWJ5.js} +41 -25
- package/dist/chunks/{dashboard-json-i_Auue_K.js → dashboard-json-DzyxoBp-.js} +13 -14
- package/dist/chunks/dashboard-json-yLM01xK4.cjs +1 -0
- package/dist/chunks/{edit-dashboard-visual-DWWyT55u.cjs → edit-dashboard-visual-1T278Nr_.cjs} +28 -28
- package/dist/chunks/{edit-dashboard-visual-B3JF0fe4.js → edit-dashboard-visual-nwSasO_j.js} +880 -894
- package/dist/chunks/{editor-action-buttons-BTlCsP63.cjs → editor-action-buttons-CX1Pken3.cjs} +2 -2
- package/dist/chunks/{editor-action-buttons-C9x3nGnb.js → editor-action-buttons-Dqw0asfA.js} +28 -28
- package/dist/chunks/index-B1qplNxl.cjs +1392 -0
- package/dist/chunks/{index-BS2-ZZGf.js → index-DazD5k0F.js} +45362 -42931
- package/dist/chunks/{index-BIFLI8ul.js → index-De_7nrwb.js} +10 -10
- package/dist/chunks/index-DjjKJPDy.cjs +4 -0
- package/dist/chunks/{matrix-result-contract-CofATICL.js → matrix-result-contract-BTpPuHOc.js} +88 -104
- package/dist/chunks/matrix-result-contract-ZRNfeIbI.cjs +1 -0
- package/dist/chunks/{pivot-header-presentation-B9nXXKlW.cjs → pivot-header-presentation-BijPbP33.cjs} +1 -1
- package/dist/chunks/{pivot-header-presentation-D-0jvUwn.js → pivot-header-presentation-DW0gKG8g.js} +2 -2
- package/dist/chunks/{pivot-result-identity-Bb4EixVN.cjs → pivot-result-identity-DxHtiKVj.cjs} +1 -1
- package/dist/chunks/{pivot-result-identity-DU1v-5Xk.js → pivot-result-identity-Z9tN2tEV.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-DTLRuDEW.cjs → pivot-result-lifecycle-BXzIlQVu.cjs} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-CHWEGU2o.js → pivot-result-lifecycle-g2U-vzQb.js} +7 -7
- package/dist/chunks/{raw-temporal-contract-BtjH_G-d.cjs → raw-temporal-contract-DfAvqNMo.cjs} +1 -1
- package/dist/chunks/{raw-temporal-contract-CxncLze5.js → raw-temporal-contract-UtAqoOZO.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-BK0yAJnQ.cjs → report-preferences-dialog-DKPyjiCt.cjs} +1 -1
- package/dist/chunks/{report-preferences-dialog-BDpkcUtz.js → report-preferences-dialog-Dv3vCCFt.js} +6 -6
- package/dist/chunks/{report-runtime-context-DqxS4wbi.cjs → report-runtime-context-C0NfLPfc.cjs} +1 -1
- package/dist/chunks/{report-runtime-context-SM6YO61_.js → report-runtime-context-CNncA3VD.js} +11 -11
- package/dist/chunks/{saved-temporal-bucket-format-CFfWXRl9.cjs → saved-temporal-bucket-format-3QKveR3v.cjs} +1 -1
- package/dist/chunks/{saved-temporal-bucket-format-SGAV0ivR.js → saved-temporal-bucket-format-Dd2eixTH.js} +11 -11
- package/dist/chunks/switch-DBZsEV0U.cjs +138 -0
- package/dist/chunks/{switch-DQR-Va05.js → switch-kPUJEC1A.js} +6615 -5219
- package/dist/chunks/{temporal-bucket-5UYEotyQ.js → temporal-bucket-C85rmFmC.js} +4 -4
- package/dist/chunks/temporal-bucket-authoring-1fZuPAVb.js +653 -0
- package/dist/chunks/temporal-bucket-authoring-BK1UhYpD.cjs +1 -0
- package/dist/chunks/{temporal-bucket-contract-D5d-xEl3.js → temporal-bucket-contract-DXXNZssK.js} +1 -1
- package/dist/chunks/{temporal-bucket-contract-D2-93DGr.cjs → temporal-bucket-contract-xFkvboaw.cjs} +1 -1
- package/dist/chunks/{temporal-bucket-DHY1y9lq.cjs → temporal-bucket-pMfghsLX.cjs} +1 -1
- package/dist/chunks/{token-types-GbxRUozo.js → token-types-BLxc7UwR.js} +1 -1
- package/dist/chunks/{token-types-D7CaaI80.cjs → token-types-BYYO109W.cjs} +1 -1
- package/dist/chunks/{update-policy-hednMF-0.js → update-policy-CB8XJIoY.js} +1 -1
- package/dist/chunks/{update-policy-BmiOd0PB.cjs → update-policy-DMjjGjQY.cjs} +1 -1
- package/dist/chunks/{validators-DEmd8Sin.js → validators-DVd8s3qY.js} +416 -350
- package/dist/chunks/validators-dJlwubP4.cjs +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +328 -311
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +1 -1
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +55 -55
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +61 -56
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +9 -9
- package/dist/format-utils/index.cjs +1 -1
- package/dist/format-utils/index.js +15 -15
- package/dist/index.cjs +1 -1
- package/dist/index.js +154 -155
- package/dist/report-runtime-context/index.cjs +1 -1
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/analytics-protocol.d.ts +16 -8
- package/dist/types/briefings.d.ts +95 -13
- package/dist/types/dashboard-assistant.d.ts +11 -6
- package/dist/types/dashboard-authoring.d.ts +257 -19
- package/dist/types/dashboard.d.ts +109 -14
- package/dist/types/data-app-builder.d.ts +11 -6
- package/dist/types/data-app-codegen-node.d.ts +16 -8
- package/dist/types/data-app-codegen.d.ts +16 -8
- package/dist/types/data-app-sdk-adapters.d.ts +17 -11
- package/dist/types/data-app-sdk-validation.d.ts +17 -11
- package/dist/types/data-app-sdk.d.ts +17 -11
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/main.d.ts +225 -20
- package/dist/types/shared.d.ts +95 -13
- package/dist/types/surfboard.d.ts +109 -14
- package/dist/types/types.d.ts +109 -14
- package/package.json +1 -1
- package/dist/chunks/canonical-result-keys-BA0HCP4e.cjs +0 -1
- package/dist/chunks/canonical-result-keys-D6avdjpA.js +0 -467
- package/dist/chunks/dashboard-date-comparison-definition-Ces4alFm.cjs +0 -1
- package/dist/chunks/dashboard-json-BhvPMpZA.cjs +0 -1
- package/dist/chunks/index-DHF-2AqS.cjs +0 -1392
- package/dist/chunks/index-k8tEp0ys.cjs +0 -4
- package/dist/chunks/matrix-result-contract-zamd9euI.cjs +0 -1
- package/dist/chunks/switch-f3TuZNLr.cjs +0 -138
- package/dist/chunks/temporal-bucket-authoring-K1kE6R_z.js +0 -222
- package/dist/chunks/temporal-bucket-authoring-o3Emn05L.cjs +0 -1
- package/dist/chunks/validators-BDYprKI9.cjs +0 -1
|
@@ -241,7 +241,9 @@ declare type SemaphorDataAppCodegenInputBinding = {
|
|
|
241
241
|
declare type SemaphorDataAppCodegenInputOptionQuery = {
|
|
242
242
|
id?: string;
|
|
243
243
|
builder: 'semaphor.inputOptions';
|
|
244
|
-
source?: SemaphorSourceRef
|
|
244
|
+
source?: Extract<SemaphorSourceRef, {
|
|
245
|
+
kind: 'semantic' | 'physical';
|
|
246
|
+
}>;
|
|
245
247
|
sourceKey?: string;
|
|
246
248
|
valueFieldRef: SemaphorDataAppCodegenFieldRef;
|
|
247
249
|
labelFieldRef: SemaphorDataAppCodegenFieldRef;
|
|
@@ -252,7 +254,8 @@ declare type SemaphorDataAppCodegenInputOptionQuery = {
|
|
|
252
254
|
spec?: SemaphorDataAppCodegenInputOptionsIntent;
|
|
253
255
|
};
|
|
254
256
|
|
|
255
|
-
declare type SemaphorDataAppCodegenInputOptionsIntent = Omit<SemaphorInputOptionsIntent, 'kind' | 'labelField' | 'valueField' | 'searchField' | 'disambiguationFields'> & {
|
|
257
|
+
declare type SemaphorDataAppCodegenInputOptionsIntent = Omit<SemaphorInputOptionsIntent, 'kind' | 'source' | 'labelField' | 'valueField' | 'searchField' | 'disambiguationFields'> & {
|
|
258
|
+
source: SemaphorDataAppCodegenSource;
|
|
256
259
|
labelField: SemaphorDataAppCodegenFieldRef;
|
|
257
260
|
valueField: SemaphorDataAppCodegenFieldRef;
|
|
258
261
|
searchField?: SemaphorDataAppCodegenFieldRef;
|
|
@@ -794,17 +797,12 @@ declare type SemaphorInputBinding = {
|
|
|
794
797
|
|
|
795
798
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
796
799
|
|
|
797
|
-
declare type SemaphorInputOptionsIntent = {
|
|
800
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
798
801
|
kind: 'inputOptions';
|
|
799
802
|
version?: SemaphorProtocolVersion;
|
|
800
803
|
id?: string;
|
|
801
804
|
label?: string;
|
|
802
805
|
inputId: string;
|
|
803
|
-
source: SemaphorSourceRef;
|
|
804
|
-
labelField: SemaphorFieldRef;
|
|
805
|
-
valueField: SemaphorFieldRef;
|
|
806
|
-
searchField?: SemaphorFieldRef;
|
|
807
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
808
806
|
population?: SemaphorOptionPopulation;
|
|
809
807
|
dependencies?: SemaphorOptionDependencies;
|
|
810
808
|
search?: string;
|
|
@@ -813,6 +811,16 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
813
811
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
814
812
|
};
|
|
815
813
|
|
|
814
|
+
declare type SemaphorInputOptionSource = {
|
|
815
|
+
source: Extract<SemaphorSourceRef, {
|
|
816
|
+
kind: 'semantic' | 'physical';
|
|
817
|
+
}>;
|
|
818
|
+
labelField: SemaphorFieldRef;
|
|
819
|
+
valueField: SemaphorFieldRef;
|
|
820
|
+
searchField?: SemaphorFieldRef;
|
|
821
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
822
|
+
};
|
|
823
|
+
|
|
816
824
|
declare type SemaphorInputValue = SemaphorScalar | SemaphorScalar[];
|
|
817
825
|
|
|
818
826
|
declare type SemaphorMatrixAxisExpansionOptions = {
|
|
@@ -237,7 +237,9 @@ declare type SemaphorDataAppCodegenInputBinding = {
|
|
|
237
237
|
declare type SemaphorDataAppCodegenInputOptionQuery = {
|
|
238
238
|
id?: string;
|
|
239
239
|
builder: 'semaphor.inputOptions';
|
|
240
|
-
source?: SemaphorSourceRef
|
|
240
|
+
source?: Extract<SemaphorSourceRef, {
|
|
241
|
+
kind: 'semantic' | 'physical';
|
|
242
|
+
}>;
|
|
241
243
|
sourceKey?: string;
|
|
242
244
|
valueFieldRef: SemaphorDataAppCodegenFieldRef;
|
|
243
245
|
labelFieldRef: SemaphorDataAppCodegenFieldRef;
|
|
@@ -248,7 +250,8 @@ declare type SemaphorDataAppCodegenInputOptionQuery = {
|
|
|
248
250
|
spec?: SemaphorDataAppCodegenInputOptionsIntent;
|
|
249
251
|
};
|
|
250
252
|
|
|
251
|
-
declare type SemaphorDataAppCodegenInputOptionsIntent = Omit<SemaphorInputOptionsIntent, 'kind' | 'labelField' | 'valueField' | 'searchField' | 'disambiguationFields'> & {
|
|
253
|
+
declare type SemaphorDataAppCodegenInputOptionsIntent = Omit<SemaphorInputOptionsIntent, 'kind' | 'source' | 'labelField' | 'valueField' | 'searchField' | 'disambiguationFields'> & {
|
|
254
|
+
source: SemaphorDataAppCodegenSource;
|
|
252
255
|
labelField: SemaphorDataAppCodegenFieldRef;
|
|
253
256
|
valueField: SemaphorDataAppCodegenFieldRef;
|
|
254
257
|
searchField?: SemaphorDataAppCodegenFieldRef;
|
|
@@ -766,17 +769,12 @@ declare type SemaphorInputBinding = {
|
|
|
766
769
|
|
|
767
770
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
768
771
|
|
|
769
|
-
declare type SemaphorInputOptionsIntent = {
|
|
772
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
770
773
|
kind: 'inputOptions';
|
|
771
774
|
version?: SemaphorProtocolVersion;
|
|
772
775
|
id?: string;
|
|
773
776
|
label?: string;
|
|
774
777
|
inputId: string;
|
|
775
|
-
source: SemaphorSourceRef;
|
|
776
|
-
labelField: SemaphorFieldRef;
|
|
777
|
-
valueField: SemaphorFieldRef;
|
|
778
|
-
searchField?: SemaphorFieldRef;
|
|
779
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
780
778
|
population?: SemaphorOptionPopulation;
|
|
781
779
|
dependencies?: SemaphorOptionDependencies;
|
|
782
780
|
search?: string;
|
|
@@ -785,6 +783,16 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
785
783
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
786
784
|
};
|
|
787
785
|
|
|
786
|
+
declare type SemaphorInputOptionSource = {
|
|
787
|
+
source: Extract<SemaphorSourceRef, {
|
|
788
|
+
kind: 'semantic' | 'physical';
|
|
789
|
+
}>;
|
|
790
|
+
labelField: SemaphorFieldRef;
|
|
791
|
+
valueField: SemaphorFieldRef;
|
|
792
|
+
searchField?: SemaphorFieldRef;
|
|
793
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
794
|
+
};
|
|
795
|
+
|
|
788
796
|
declare type SemaphorInputValue = SemaphorScalar | SemaphorScalar[];
|
|
789
797
|
|
|
790
798
|
declare type SemaphorMatrixAxisExpansionOptions = {
|
|
@@ -214,17 +214,12 @@ declare type SemaphorInputOption = {
|
|
|
214
214
|
disambiguation?: string[];
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
declare type SemaphorInputOptionsIntent = {
|
|
217
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
218
218
|
kind: 'inputOptions';
|
|
219
219
|
version?: SemaphorProtocolVersion;
|
|
220
220
|
id?: string;
|
|
221
221
|
label?: string;
|
|
222
222
|
inputId: string;
|
|
223
|
-
source: SemaphorSourceRef;
|
|
224
|
-
labelField: SemaphorFieldRef;
|
|
225
|
-
valueField: SemaphorFieldRef;
|
|
226
|
-
searchField?: SemaphorFieldRef;
|
|
227
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
228
223
|
population?: SemaphorOptionPopulation;
|
|
229
224
|
dependencies?: SemaphorOptionDependencies;
|
|
230
225
|
search?: string;
|
|
@@ -233,14 +228,25 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
233
228
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
234
229
|
};
|
|
235
230
|
|
|
236
|
-
declare type
|
|
231
|
+
declare type SemaphorInputOptionSource = {
|
|
232
|
+
source: Extract<SemaphorSourceRef, {
|
|
233
|
+
kind: 'semantic' | 'physical';
|
|
234
|
+
}>;
|
|
235
|
+
labelField: SemaphorFieldRef;
|
|
236
|
+
valueField: SemaphorFieldRef;
|
|
237
|
+
searchField?: SemaphorFieldRef;
|
|
238
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
declare type SemaphorInputOptionsQuerySpec = Omit<SemaphorQuerySourceSpec, 'source'> & {
|
|
242
|
+
/** Option lists are governed from semantic or physical sources only. */
|
|
243
|
+
source: Extract<SemaphorSourceRef, {
|
|
244
|
+
kind: 'semantic' | 'physical';
|
|
245
|
+
}>;
|
|
246
|
+
} & Omit<SemaphorInputOptionSource, 'source'> & SemaphorAppDerivedFieldsSpec & {
|
|
237
247
|
id?: string;
|
|
238
248
|
label?: string;
|
|
239
249
|
inputId: string;
|
|
240
|
-
labelField: SemaphorQueryField;
|
|
241
|
-
valueField: SemaphorQueryField;
|
|
242
|
-
searchField?: SemaphorQueryField;
|
|
243
|
-
disambiguationFields?: SemaphorQueryField[];
|
|
244
250
|
population?: SemaphorOptionPopulation;
|
|
245
251
|
dependencies?: SemaphorOptionDependencies;
|
|
246
252
|
inputs?: SemaphorInputReference[];
|
|
@@ -658,17 +658,12 @@ declare type SemaphorInputOption = {
|
|
|
658
658
|
disambiguation?: string[];
|
|
659
659
|
};
|
|
660
660
|
|
|
661
|
-
declare type SemaphorInputOptionsIntent = {
|
|
661
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
662
662
|
kind: 'inputOptions';
|
|
663
663
|
version?: SemaphorProtocolVersion;
|
|
664
664
|
id?: string;
|
|
665
665
|
label?: string;
|
|
666
666
|
inputId: string;
|
|
667
|
-
source: SemaphorSourceRef;
|
|
668
|
-
labelField: SemaphorFieldRef;
|
|
669
|
-
valueField: SemaphorFieldRef;
|
|
670
|
-
searchField?: SemaphorFieldRef;
|
|
671
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
672
667
|
population?: SemaphorOptionPopulation;
|
|
673
668
|
dependencies?: SemaphorOptionDependencies;
|
|
674
669
|
search?: string;
|
|
@@ -677,18 +672,29 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
677
672
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
678
673
|
};
|
|
679
674
|
|
|
675
|
+
declare type SemaphorInputOptionSource = {
|
|
676
|
+
source: Extract<SemaphorSourceRef, {
|
|
677
|
+
kind: 'semantic' | 'physical';
|
|
678
|
+
}>;
|
|
679
|
+
labelField: SemaphorFieldRef;
|
|
680
|
+
valueField: SemaphorFieldRef;
|
|
681
|
+
searchField?: SemaphorFieldRef;
|
|
682
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
683
|
+
};
|
|
684
|
+
|
|
680
685
|
declare type SemaphorInputOptionsQueryDefinition = SemaphorInputOptionsQuerySpec & {
|
|
681
686
|
queryKind: 'inputOptions';
|
|
682
687
|
};
|
|
683
688
|
|
|
684
|
-
declare type SemaphorInputOptionsQuerySpec = SemaphorQuerySourceSpec
|
|
689
|
+
declare type SemaphorInputOptionsQuerySpec = Omit<SemaphorQuerySourceSpec, 'source'> & {
|
|
690
|
+
/** Option lists are governed from semantic or physical sources only. */
|
|
691
|
+
source: Extract<SemaphorSourceRef, {
|
|
692
|
+
kind: 'semantic' | 'physical';
|
|
693
|
+
}>;
|
|
694
|
+
} & Omit<SemaphorInputOptionSource, 'source'> & SemaphorAppDerivedFieldsSpec & {
|
|
685
695
|
id?: string;
|
|
686
696
|
label?: string;
|
|
687
697
|
inputId: string;
|
|
688
|
-
labelField: SemaphorQueryField;
|
|
689
|
-
valueField: SemaphorQueryField;
|
|
690
|
-
searchField?: SemaphorQueryField;
|
|
691
|
-
disambiguationFields?: SemaphorQueryField[];
|
|
692
698
|
population?: SemaphorOptionPopulation;
|
|
693
699
|
dependencies?: SemaphorOptionDependencies;
|
|
694
700
|
inputs?: SemaphorInputReference[];
|
|
@@ -1001,17 +1001,12 @@ export declare type SemaphorInputOption = {
|
|
|
1001
1001
|
disambiguation?: string[];
|
|
1002
1002
|
};
|
|
1003
1003
|
|
|
1004
|
-
declare type SemaphorInputOptionsIntent = {
|
|
1004
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
1005
1005
|
kind: 'inputOptions';
|
|
1006
1006
|
version?: SemaphorProtocolVersion;
|
|
1007
1007
|
id?: string;
|
|
1008
1008
|
label?: string;
|
|
1009
1009
|
inputId: string;
|
|
1010
|
-
source: SemaphorSourceRef;
|
|
1011
|
-
labelField: SemaphorFieldRef;
|
|
1012
|
-
valueField: SemaphorFieldRef;
|
|
1013
|
-
searchField?: SemaphorFieldRef;
|
|
1014
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
1015
1010
|
population?: SemaphorOptionPopulation;
|
|
1016
1011
|
dependencies?: SemaphorOptionDependencies;
|
|
1017
1012
|
search?: string;
|
|
@@ -1020,6 +1015,16 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
1020
1015
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
1021
1016
|
};
|
|
1022
1017
|
|
|
1018
|
+
export declare type SemaphorInputOptionSource = {
|
|
1019
|
+
source: Extract<SemaphorSourceRef, {
|
|
1020
|
+
kind: 'semantic' | 'physical';
|
|
1021
|
+
}>;
|
|
1022
|
+
labelField: SemaphorFieldRef;
|
|
1023
|
+
valueField: SemaphorFieldRef;
|
|
1024
|
+
searchField?: SemaphorFieldRef;
|
|
1025
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1023
1028
|
export declare type SemaphorInputOptionsPayload = {
|
|
1024
1029
|
options: SemaphorInputOption[];
|
|
1025
1030
|
executionResult?: SemaphorAnalyticsExecutionResult;
|
|
@@ -1036,14 +1041,15 @@ export declare type SemaphorInputOptionsQueryResult = SemaphorQueryState & Semap
|
|
|
1036
1041
|
}>;
|
|
1037
1042
|
};
|
|
1038
1043
|
|
|
1039
|
-
export declare type SemaphorInputOptionsQuerySpec = SemaphorQuerySourceSpec
|
|
1044
|
+
export declare type SemaphorInputOptionsQuerySpec = Omit<SemaphorQuerySourceSpec, 'source'> & {
|
|
1045
|
+
/** Option lists are governed from semantic or physical sources only. */
|
|
1046
|
+
source: Extract<SemaphorSourceRef, {
|
|
1047
|
+
kind: 'semantic' | 'physical';
|
|
1048
|
+
}>;
|
|
1049
|
+
} & Omit<SemaphorInputOptionSource, 'source'> & SemaphorAppDerivedFieldsSpec & {
|
|
1040
1050
|
id?: string;
|
|
1041
1051
|
label?: string;
|
|
1042
1052
|
inputId: string;
|
|
1043
|
-
labelField: SemaphorQueryField;
|
|
1044
|
-
valueField: SemaphorQueryField;
|
|
1045
|
-
searchField?: SemaphorQueryField;
|
|
1046
|
-
disambiguationFields?: SemaphorQueryField[];
|
|
1047
1053
|
population?: SemaphorOptionPopulation;
|
|
1048
1054
|
dependencies?: SemaphorOptionDependencies;
|
|
1049
1055
|
inputs?: SemaphorInputReference[];
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/common-types-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/common-types-BcV9PD9D.cjs"),l=require("../chunks/token-types-BYYO109W.cjs"),t=require("../chunks/pivot-result-identity-DxHtiKVj.cjs"),E=require("../chunks/report-runtime-context-C0NfLPfc.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.PivotMarkerEnum=e.PivotMarkerEnum;exports.getFieldRuntimeColumnName=e.getFieldRuntimeColumnName;exports.hasCalculatedFieldMarker=e.hasCalculatedFieldMarker;exports.hasCalculatedFormulaInputs=e.hasCalculatedFormulaInputs;exports.isCalculatedDimension=e.isCalculatedDimension;exports.isCalculatedField=e.isCalculatedField;exports.isCalculatedMetric=e.isCalculatedMetric;exports.DEFAULT_SEMANTIC_DOMAIN_ACCESS=l.DEFAULT_SEMANTIC_DOMAIN_ACCESS;exports.resolveQueryColumnKeyMapEntry=t.resolveQueryColumnKeyMapEntry;exports.resolveUniqueQueryColumnKeyMapEntry=t.resolveUniqueQueryColumnKeyMapEntry;exports.DEFAULT_CALENDAR_CONTEXT=E.DEFAULT_CALENDAR_CONTEXT;
|
package/dist/types/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as s, C as r, D as E, E as l, P as C, g as o, d as t, h as A, b as u, c as T, i as _ } from "../chunks/common-types-
|
|
2
|
-
import { D } from "../chunks/token-types-
|
|
3
|
-
import { r as n, a as L } from "../chunks/pivot-result-identity-
|
|
4
|
-
import { D as d } from "../chunks/report-runtime-context-
|
|
1
|
+
import { a as s, C as r, D as E, E as l, P as C, g as o, d as t, h as A, b as u, c as T, i as _ } from "../chunks/common-types-BHVKgxRR.js";
|
|
2
|
+
import { D } from "../chunks/token-types-BLxc7UwR.js";
|
|
3
|
+
import { r as n, a as L } from "../chunks/pivot-result-identity-Z9tN2tEV.js";
|
|
4
|
+
import { D as d } from "../chunks/report-runtime-context-CNncA3VD.js";
|
|
5
5
|
export {
|
|
6
6
|
s as CALCULATED_FIELD_ENTITY_MARKER,
|
|
7
7
|
r as CONTROL_CARD_DEFAULT_VALUE,
|
package/dist/types/main.d.ts
CHANGED
|
@@ -43,6 +43,15 @@ declare type Actions_2 = {
|
|
|
43
43
|
setDefaultControlValues: (controlValues: Record<string, unknown> | undefined) => void;
|
|
44
44
|
setDashboardInputs: (inputs: DashboardInput[]) => void;
|
|
45
45
|
upsertDashboardInput: (input: DashboardInput) => void;
|
|
46
|
+
updateFilterDashboardInputDefinition: (inputId: string, filter: TFilter, metadata?: {
|
|
47
|
+
variableName?: string;
|
|
48
|
+
label?: string;
|
|
49
|
+
}) => void;
|
|
50
|
+
acceptDashboardFilterOptionSource: (updatedFilter: TFilter, optionSource: DashboardFilterOptionSource, settings?: DashboardFilterAuthoringSettingsUpdate, inputMetadata?: {
|
|
51
|
+
variableName?: string;
|
|
52
|
+
}) => DashboardFilterOptionSourceAcceptanceResult;
|
|
53
|
+
acceptDashboardFilterMapping: (request: DashboardFilterMappingAuthoringRequest, updatedFilter?: TFilter, settings?: DashboardFilterAuthoringSettingsUpdate) => DashboardFilterMappingAcceptanceResult;
|
|
54
|
+
disableDashboardFilterMapping: (filterId: string, updatedFilter?: TFilter, settings?: DashboardFilterAuthoringSettingsUpdate) => DashboardFilterMappingDisableResult;
|
|
46
55
|
removeDashboardInput: (inputId: string) => void;
|
|
47
56
|
setDefaultDashboardInputValues: (values: DashboardInputValues | undefined) => void;
|
|
48
57
|
setDefaultDashboardInputComparisonSelection: (input: Pick<DashboardInput, 'id' | 'runtimeScope'>, target: DashboardInputRuntimeTarget, selection: GlobalDateComparisonSelection | undefined) => void;
|
|
@@ -2041,6 +2050,37 @@ declare interface DashboardExportDialogProps {
|
|
|
2041
2050
|
onOpenChange: (open: boolean) => void;
|
|
2042
2051
|
}
|
|
2043
2052
|
|
|
2053
|
+
export declare type DashboardFilterApplication = {
|
|
2054
|
+
kind: 'cardMappings';
|
|
2055
|
+
/**
|
|
2056
|
+
* Sparse grounded bindings and explicit exclusions. A missing config card
|
|
2057
|
+
* may reuse a proven Option Value target on an executable source; it is not
|
|
2058
|
+
* an implicit exclusion, and source identity alone is not field evidence.
|
|
2059
|
+
*/
|
|
2060
|
+
cards: DashboardFilterCardApplication[];
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2063
|
+
declare type DashboardFilterAuthoringSettingsUpdate = {
|
|
2064
|
+
defaultValueChanged: boolean;
|
|
2065
|
+
defaultFilterValue?: TFilterValue;
|
|
2066
|
+
defaultComparisonChanged: boolean;
|
|
2067
|
+
defaultComparisonSelection?: GlobalDateComparisonSelection;
|
|
2068
|
+
target: DashboardInputRuntimeTarget;
|
|
2069
|
+
optionSourceChanged?: boolean;
|
|
2070
|
+
optionSource?: DashboardFilterOptionSource;
|
|
2071
|
+
/** Raw selection identity changed; the previous runtime value is invalid. */
|
|
2072
|
+
selectionIdentityChanged?: boolean;
|
|
2073
|
+
};
|
|
2074
|
+
|
|
2075
|
+
export declare type DashboardFilterBoundCardApplication = {
|
|
2076
|
+
kind: 'bound';
|
|
2077
|
+
cardId: string;
|
|
2078
|
+
bindingId: string;
|
|
2079
|
+
target: DashboardFilterTarget;
|
|
2080
|
+
};
|
|
2081
|
+
|
|
2082
|
+
export declare type DashboardFilterCardApplication = DashboardFilterBoundCardApplication | DashboardFilterExcludedCardApplication;
|
|
2083
|
+
|
|
2044
2084
|
export declare function DashboardFilterControlsButton({ showFilters, onShowFiltersChange, pickerContent, settingsContent, size, className, primaryButtonClassName, secondaryButtonClassName, pickerContentClassName, settingsContentClassName, }: DashboardFilterControlsButtonProps): JSX.Element;
|
|
2045
2085
|
|
|
2046
2086
|
/**
|
|
@@ -2102,6 +2142,126 @@ declare type DashboardFilterControlsLauncherProps = {
|
|
|
2102
2142
|
settingsContentClassName?: string;
|
|
2103
2143
|
};
|
|
2104
2144
|
|
|
2145
|
+
export declare type DashboardFilterExcludedCardApplication = {
|
|
2146
|
+
kind: 'excluded';
|
|
2147
|
+
cardId: string;
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
declare type DashboardFilterMappingAcceptanceResult = {
|
|
2151
|
+
ok: true;
|
|
2152
|
+
draft: DashboardFilterMappingDraft;
|
|
2153
|
+
input: ReferencedFilterDashboardInput;
|
|
2154
|
+
} | {
|
|
2155
|
+
ok: false;
|
|
2156
|
+
draft?: DashboardFilterMappingDraft;
|
|
2157
|
+
issues: DashboardFilterMappingAuthoringIssue[];
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
declare type DashboardFilterMappingAuthoringIssue = {
|
|
2161
|
+
code: DashboardFilterMappingAuthoringIssueCode;
|
|
2162
|
+
message: string;
|
|
2163
|
+
filterId: string;
|
|
2164
|
+
cardId?: string;
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
declare type DashboardFilterMappingAuthoringIssueCode = 'filterNotFound' | 'mappingNotFound' | 'globalDateUnsupported' | 'conflictingDashboardInput' | 'unsupportedOuterScope' | 'unsupportedRuntimeScope' | 'missingDecision' | 'invalidTarget' | 'metadataUnavailable';
|
|
2168
|
+
|
|
2169
|
+
declare type DashboardFilterMappingAuthoringRequest = {
|
|
2170
|
+
filterId: string;
|
|
2171
|
+
candidatesByCardId: Record<string, DashboardFilterMappingCandidateCatalog | undefined>;
|
|
2172
|
+
/** Grounded field that supplies the current filter value. */
|
|
2173
|
+
selectionField?: Pick<DashboardFilterTargetField, 'name' | 'sourceField'> & Partial<Pick<DashboardFilterTargetField, 'source'>>;
|
|
2174
|
+
/** Datatype of the raw selection value, which may differ from the label. */
|
|
2175
|
+
selectionDataType?: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* Re-check saved targets against selectionField after the author changes
|
|
2178
|
+
* the raw Option Value identity. Explicit draft decisions still win.
|
|
2179
|
+
*/
|
|
2180
|
+
revalidatePersistedTargets?: boolean;
|
|
2181
|
+
decisionsByCardId?: Record<string, DashboardFilterMappingDraftDecision | undefined>;
|
|
2182
|
+
/** Staged outer sheet scope. Omit when the author did not edit Scope. */
|
|
2183
|
+
outerScope?: DashboardFilterMappingDraft['outerScope'];
|
|
2184
|
+
/** Test seam; production callers use opaque random UUIDs. */
|
|
2185
|
+
createId?: () => string;
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2188
|
+
declare type DashboardFilterMappingCandidateCatalog = {
|
|
2189
|
+
status: 'ready';
|
|
2190
|
+
targets: DashboardFilterTarget[];
|
|
2191
|
+
} | {
|
|
2192
|
+
status: 'metadataUnavailable';
|
|
2193
|
+
message?: string;
|
|
2194
|
+
};
|
|
2195
|
+
|
|
2196
|
+
declare type DashboardFilterMappingDisableResult = {
|
|
2197
|
+
ok: true;
|
|
2198
|
+
inputId: string;
|
|
2199
|
+
} | {
|
|
2200
|
+
ok: false;
|
|
2201
|
+
issues: DashboardFilterMappingAuthoringIssue[];
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
declare type DashboardFilterMappingDraft = {
|
|
2205
|
+
filterId: string;
|
|
2206
|
+
existingInputId?: string;
|
|
2207
|
+
outerScope: Extract<DashboardInputScope, {
|
|
2208
|
+
kind: 'allSheets' | 'sheets';
|
|
2209
|
+
}>;
|
|
2210
|
+
rows: DashboardFilterMappingDraftRow[];
|
|
2211
|
+
};
|
|
2212
|
+
|
|
2213
|
+
declare type DashboardFilterMappingDraftDecision = {
|
|
2214
|
+
kind: 'bound';
|
|
2215
|
+
target: DashboardFilterTarget;
|
|
2216
|
+
} | {
|
|
2217
|
+
kind: 'excluded';
|
|
2218
|
+
};
|
|
2219
|
+
|
|
2220
|
+
declare type DashboardFilterMappingDraftRow = {
|
|
2221
|
+
cardId: string;
|
|
2222
|
+
sheetId: string;
|
|
2223
|
+
executionKind: 'config' | 'sql' | 'unconfigured';
|
|
2224
|
+
status: DashboardFilterMappingDraftStatus;
|
|
2225
|
+
candidates: DashboardFilterTarget[];
|
|
2226
|
+
selectedTarget?: DashboardFilterTarget;
|
|
2227
|
+
persistedApplication?: DashboardFilterCardApplication;
|
|
2228
|
+
metadataMessage?: string;
|
|
2229
|
+
guidanceMessage?: string;
|
|
2230
|
+
automaticFieldName?: string;
|
|
2231
|
+
};
|
|
2232
|
+
|
|
2233
|
+
declare type DashboardFilterMappingDraftStatus = 'pendingSource' | 'suggested' | 'needsMapping' | 'mapped' | 'notApplicable' | 'excluded' | 'invalidMapping' | 'metadataUnavailable';
|
|
2234
|
+
|
|
2235
|
+
/** Persisted label/value option definition for a mapped dashboard filter. */
|
|
2236
|
+
export declare type DashboardFilterOptionSource = SemaphorInputOptionSource;
|
|
2237
|
+
|
|
2238
|
+
declare type DashboardFilterOptionSourceAcceptanceResult = {
|
|
2239
|
+
ok: true;
|
|
2240
|
+
input: ReferencedFilterDashboardInput;
|
|
2241
|
+
created: boolean;
|
|
2242
|
+
} | {
|
|
2243
|
+
ok: false;
|
|
2244
|
+
issues: DashboardFilterMappingAuthoringIssue[];
|
|
2245
|
+
};
|
|
2246
|
+
|
|
2247
|
+
export declare type DashboardFilterTarget = {
|
|
2248
|
+
kind: 'field';
|
|
2249
|
+
field: DashboardFilterTargetField;
|
|
2250
|
+
};
|
|
2251
|
+
|
|
2252
|
+
/** Persisted, source-qualified field that a mapped filter targets. */
|
|
2253
|
+
export declare type DashboardFilterTargetField = {
|
|
2254
|
+
name: string;
|
|
2255
|
+
source: DashboardFilterTargetSource;
|
|
2256
|
+
dataType: 'string' | 'number' | 'boolean' | 'date' | 'datetime';
|
|
2257
|
+
/** Catalog-grounded physical column used when it differs from the semantic name. */
|
|
2258
|
+
sourceField?: string;
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2261
|
+
export declare type DashboardFilterTargetSource = Extract<SemaphorSourceRef, {
|
|
2262
|
+
kind: 'semantic' | 'physical';
|
|
2263
|
+
}>;
|
|
2264
|
+
|
|
2105
2265
|
export declare type DashboardInput = FilterDashboardInput | ControlDashboardInput;
|
|
2106
2266
|
|
|
2107
2267
|
export declare type DashboardInputBase = {
|
|
@@ -2177,14 +2337,14 @@ export declare type DashboardInputScope = {
|
|
|
2177
2337
|
sectionIds: string[];
|
|
2178
2338
|
};
|
|
2179
2339
|
|
|
2180
|
-
export declare type DashboardInputSlot =
|
|
2340
|
+
export declare type DashboardInputSlot = {
|
|
2181
2341
|
status: 'set';
|
|
2182
2342
|
value: DashboardInputValue;
|
|
2183
2343
|
comparisonSelection?: GlobalDateComparisonSelection;
|
|
2184
|
-
}
|
|
2344
|
+
} | {
|
|
2185
2345
|
status: 'cleared';
|
|
2186
2346
|
comparisonSelection?: GlobalDateComparisonSelection;
|
|
2187
|
-
}
|
|
2347
|
+
} | {
|
|
2188
2348
|
status?: never;
|
|
2189
2349
|
value?: never;
|
|
2190
2350
|
comparisonSelection: GlobalDateComparisonSelection;
|
|
@@ -2603,7 +2763,7 @@ export declare type DateOptions = {
|
|
|
2603
2763
|
|
|
2604
2764
|
export { DateRange }
|
|
2605
2765
|
|
|
2606
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
2766
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
2607
2767
|
|
|
2608
2768
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
2609
2769
|
|
|
@@ -2611,7 +2771,7 @@ export declare const DEFAULT_CALENDAR_CONTEXT: CalendarContext;
|
|
|
2611
2771
|
|
|
2612
2772
|
export declare const DEFAULT_SEMANTIC_DOMAIN_ACCESS: SemanticDomainAccess;
|
|
2613
2773
|
|
|
2614
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
2774
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
2615
2775
|
|
|
2616
2776
|
export declare function deleteBriefing(apiServiceUrl: string, token: string, briefingId: string): Promise<DeleteBriefingResponse>;
|
|
2617
2777
|
|
|
@@ -3282,6 +3442,14 @@ export declare type EmailSettings = {
|
|
|
3282
3442
|
senderTitle: string;
|
|
3283
3443
|
};
|
|
3284
3444
|
|
|
3445
|
+
export declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
|
|
3446
|
+
kind: 'filter';
|
|
3447
|
+
filter: TFilter;
|
|
3448
|
+
filterReference?: never;
|
|
3449
|
+
optionSource?: DashboardFilterOptionSource;
|
|
3450
|
+
application?: DashboardFilterApplication;
|
|
3451
|
+
};
|
|
3452
|
+
|
|
3285
3453
|
export declare const emitDashboardLoad: () => void;
|
|
3286
3454
|
|
|
3287
3455
|
export declare const emitDashboardUnload: () => void;
|
|
@@ -3571,10 +3739,7 @@ export declare interface FilterCondition {
|
|
|
3571
3739
|
temporalBucket?: TemporalBucketMetadata;
|
|
3572
3740
|
}
|
|
3573
3741
|
|
|
3574
|
-
export declare type FilterDashboardInput =
|
|
3575
|
-
kind: 'filter';
|
|
3576
|
-
filter: TFilter;
|
|
3577
|
-
};
|
|
3742
|
+
export declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
|
|
3578
3743
|
|
|
3579
3744
|
/**
|
|
3580
3745
|
* Display mode for individual filters
|
|
@@ -3682,6 +3847,17 @@ declare type FilterSemanticContext = {
|
|
|
3682
3847
|
|
|
3683
3848
|
export declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
3684
3849
|
|
|
3850
|
+
/**
|
|
3851
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
3852
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
3853
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
3854
|
+
*/
|
|
3855
|
+
declare type FixedDayDefaultDateFilter = {
|
|
3856
|
+
mode: 'fixed';
|
|
3857
|
+
unit: 'day';
|
|
3858
|
+
date: string;
|
|
3859
|
+
};
|
|
3860
|
+
|
|
3685
3861
|
/**
|
|
3686
3862
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
3687
3863
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -4726,6 +4902,17 @@ declare type NoneOptions = {};
|
|
|
4726
4902
|
*/
|
|
4727
4903
|
export declare function normalizeDashboardForDirtyCheck(dashboard: TDashboard | null): TDashboard | null;
|
|
4728
4904
|
|
|
4905
|
+
export declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
|
|
4906
|
+
|
|
4907
|
+
/** Runtime form after dashboard-filter references are resolved once. */
|
|
4908
|
+
export declare type NormalizedFilterDashboardInput = DashboardInputBase & {
|
|
4909
|
+
kind: 'filter';
|
|
4910
|
+
filter: TFilter;
|
|
4911
|
+
optionSource?: DashboardFilterOptionSource;
|
|
4912
|
+
application?: DashboardFilterApplication;
|
|
4913
|
+
definitionOrigin: 'embedded' | 'dashboardFilter';
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4729
4916
|
/**
|
|
4730
4917
|
* Notification bell icon with badge.
|
|
4731
4918
|
*
|
|
@@ -5052,6 +5239,17 @@ declare type RawTemporalValueMetadata = {
|
|
|
5052
5239
|
valueKind: RawTemporalValueKind;
|
|
5053
5240
|
};
|
|
5054
5241
|
|
|
5242
|
+
export declare type ReferencedFilterDashboardInput = DashboardInputBase & {
|
|
5243
|
+
kind: 'filter';
|
|
5244
|
+
filter?: never;
|
|
5245
|
+
filterReference: {
|
|
5246
|
+
kind: 'dashboardFilter';
|
|
5247
|
+
filterId: string;
|
|
5248
|
+
};
|
|
5249
|
+
optionSource?: DashboardFilterOptionSource;
|
|
5250
|
+
application?: DashboardFilterApplication;
|
|
5251
|
+
};
|
|
5252
|
+
|
|
5055
5253
|
declare type RelativeDateFilter = {
|
|
5056
5254
|
mode: 'last';
|
|
5057
5255
|
n: number;
|
|
@@ -5140,6 +5338,8 @@ export declare type ResolvedDashboardInput = {
|
|
|
5140
5338
|
exports: Partial<Record<DashboardInputExportKey, string | number | boolean | null>>;
|
|
5141
5339
|
filter?: TFilter;
|
|
5142
5340
|
filterValue?: TFilterValue;
|
|
5341
|
+
/** Present when a set filter slot cannot be used with its current definition. */
|
|
5342
|
+
invalidFilterSelection?: boolean;
|
|
5143
5343
|
control?: ControlDefinition;
|
|
5144
5344
|
controlValue?: unknown;
|
|
5145
5345
|
missingRequiredValue?: boolean;
|
|
@@ -5147,7 +5347,7 @@ export declare type ResolvedDashboardInput = {
|
|
|
5147
5347
|
};
|
|
5148
5348
|
|
|
5149
5349
|
export declare type ResolvedDashboardInputContext = {
|
|
5150
|
-
inputs:
|
|
5350
|
+
inputs: NormalizedDashboardInput[];
|
|
5151
5351
|
resolvedInputs: ResolvedDashboardInput[];
|
|
5152
5352
|
activeFilters: TFilterValue[];
|
|
5153
5353
|
controlDefinitions: ControlDefinition[];
|
|
@@ -5546,17 +5746,12 @@ declare type SemaphorInputBinding = {
|
|
|
5546
5746
|
|
|
5547
5747
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
5548
5748
|
|
|
5549
|
-
declare type SemaphorInputOptionsIntent = {
|
|
5749
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
5550
5750
|
kind: 'inputOptions';
|
|
5551
5751
|
version?: SemaphorProtocolVersion;
|
|
5552
5752
|
id?: string;
|
|
5553
5753
|
label?: string;
|
|
5554
5754
|
inputId: string;
|
|
5555
|
-
source: SemaphorSourceRef;
|
|
5556
|
-
labelField: SemaphorFieldRef;
|
|
5557
|
-
valueField: SemaphorFieldRef;
|
|
5558
|
-
searchField?: SemaphorFieldRef;
|
|
5559
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
5560
5755
|
population?: SemaphorOptionPopulation;
|
|
5561
5756
|
dependencies?: SemaphorOptionDependencies;
|
|
5562
5757
|
search?: string;
|
|
@@ -5565,6 +5760,16 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
5565
5760
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
5566
5761
|
};
|
|
5567
5762
|
|
|
5763
|
+
declare type SemaphorInputOptionSource = {
|
|
5764
|
+
source: Extract<SemaphorSourceRef, {
|
|
5765
|
+
kind: 'semantic' | 'physical';
|
|
5766
|
+
}>;
|
|
5767
|
+
labelField: SemaphorFieldRef;
|
|
5768
|
+
valueField: SemaphorFieldRef;
|
|
5769
|
+
searchField?: SemaphorFieldRef;
|
|
5770
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
5771
|
+
};
|
|
5772
|
+
|
|
5568
5773
|
declare type SemaphorMatrixAxisExpansionOptions = {
|
|
5569
5774
|
defaultDepth?: number;
|
|
5570
5775
|
lazy?: boolean;
|
|
@@ -6947,7 +7152,7 @@ export declare type TFilter = {
|
|
|
6947
7152
|
type?: 'single' | 'multiple';
|
|
6948
7153
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
6949
7154
|
dateSelectionMode?: DateSelectionMode;
|
|
6950
|
-
defaultValues?: (string | number)[];
|
|
7155
|
+
defaultValues?: (string | number | boolean)[];
|
|
6951
7156
|
defaultDateFilter?: DefaultDateFilter;
|
|
6952
7157
|
sheetId?: string;
|
|
6953
7158
|
location?: FilterLocation;
|
|
@@ -7116,11 +7321,11 @@ export declare type TInlineFilter = {
|
|
|
7116
7321
|
type?: 'single' | 'multiple';
|
|
7117
7322
|
/** UI component for single-select filters */
|
|
7118
7323
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
7119
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
7324
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
7120
7325
|
dateSelectionMode?: DateSelectionMode;
|
|
7121
7326
|
/** Default values applied when the dashboard first loads */
|
|
7122
|
-
defaultValues?: (string | number)[];
|
|
7123
|
-
/** Default date filter applied on dashboard load (relative
|
|
7327
|
+
defaultValues?: (string | number | boolean)[];
|
|
7328
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
7124
7329
|
defaultDateFilter?: DefaultDateFilter;
|
|
7125
7330
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
7126
7331
|
searchMode?: 'text' | 'numeric' | 'auto';
|