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
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-B1qplNxl.cjs"),r=require("../chunks/common-types-BcV9PD9D.cjs"),o=require("../chunks/report-preferences-dialog-DKPyjiCt.cjs");exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.Surfboard=e.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=r.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;exports.ReportPreferencesDialog=o.ReportPreferencesDialog;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as a, a as o } from "../chunks/index-
|
|
2
|
-
import { C as f, E } from "../chunks/common-types-
|
|
3
|
-
import { R as t } from "../chunks/report-preferences-dialog-
|
|
1
|
+
import { b as a, a as o } from "../chunks/index-DazD5k0F.js";
|
|
2
|
+
import { C as f, E } from "../chunks/common-types-BHVKgxRR.js";
|
|
3
|
+
import { R as t } from "../chunks/report-preferences-dialog-Dv3vCCFt.js";
|
|
4
4
|
export {
|
|
5
5
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
6
6
|
a as DisplayFormatPreferencesFields,
|
|
@@ -2637,7 +2637,9 @@ export declare type SemaphorDataAppCodegenInputBinding = {
|
|
|
2637
2637
|
export declare type SemaphorDataAppCodegenInputOptionQuery = {
|
|
2638
2638
|
id?: string;
|
|
2639
2639
|
builder: 'semaphor.inputOptions';
|
|
2640
|
-
source?: SemaphorSourceRef
|
|
2640
|
+
source?: Extract<SemaphorSourceRef, {
|
|
2641
|
+
kind: 'semantic' | 'physical';
|
|
2642
|
+
}>;
|
|
2641
2643
|
sourceKey?: string;
|
|
2642
2644
|
valueFieldRef: SemaphorDataAppCodegenFieldRef;
|
|
2643
2645
|
labelFieldRef: SemaphorDataAppCodegenFieldRef;
|
|
@@ -2648,7 +2650,8 @@ export declare type SemaphorDataAppCodegenInputOptionQuery = {
|
|
|
2648
2650
|
spec?: SemaphorDataAppCodegenInputOptionsIntent;
|
|
2649
2651
|
};
|
|
2650
2652
|
|
|
2651
|
-
export declare type SemaphorDataAppCodegenInputOptionsIntent = Omit<SemaphorInputOptionsIntent, 'kind' | 'labelField' | 'valueField' | 'searchField' | 'disambiguationFields'> & {
|
|
2653
|
+
export declare type SemaphorDataAppCodegenInputOptionsIntent = Omit<SemaphorInputOptionsIntent, 'kind' | 'source' | 'labelField' | 'valueField' | 'searchField' | 'disambiguationFields'> & {
|
|
2654
|
+
source: SemaphorDataAppCodegenSource;
|
|
2652
2655
|
labelField: SemaphorDataAppCodegenFieldRef;
|
|
2653
2656
|
valueField: SemaphorDataAppCodegenFieldRef;
|
|
2654
2657
|
searchField?: SemaphorDataAppCodegenFieldRef;
|
|
@@ -3113,17 +3116,12 @@ export declare type SemaphorInputBinding = {
|
|
|
3113
3116
|
|
|
3114
3117
|
export declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
3115
3118
|
|
|
3116
|
-
export declare type SemaphorInputOptionsIntent = {
|
|
3119
|
+
export declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
3117
3120
|
kind: 'inputOptions';
|
|
3118
3121
|
version?: SemaphorProtocolVersion;
|
|
3119
3122
|
id?: string;
|
|
3120
3123
|
label?: string;
|
|
3121
3124
|
inputId: string;
|
|
3122
|
-
source: SemaphorSourceRef;
|
|
3123
|
-
labelField: SemaphorFieldRef;
|
|
3124
|
-
valueField: SemaphorFieldRef;
|
|
3125
|
-
searchField?: SemaphorFieldRef;
|
|
3126
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
3127
3125
|
population?: SemaphorOptionPopulation;
|
|
3128
3126
|
dependencies?: SemaphorOptionDependencies;
|
|
3129
3127
|
search?: string;
|
|
@@ -3132,6 +3130,16 @@ export declare type SemaphorInputOptionsIntent = {
|
|
|
3132
3130
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
3133
3131
|
};
|
|
3134
3132
|
|
|
3133
|
+
export declare type SemaphorInputOptionSource = {
|
|
3134
|
+
source: Extract<SemaphorSourceRef, {
|
|
3135
|
+
kind: 'semantic' | 'physical';
|
|
3136
|
+
}>;
|
|
3137
|
+
labelField: SemaphorFieldRef;
|
|
3138
|
+
valueField: SemaphorFieldRef;
|
|
3139
|
+
searchField?: SemaphorFieldRef;
|
|
3140
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
3141
|
+
};
|
|
3142
|
+
|
|
3135
3143
|
export declare type SemaphorInputOptionsResult = SemaphorAnalyticsResultBase & {
|
|
3136
3144
|
kind: 'inputOptions';
|
|
3137
3145
|
options: Array<{
|
|
@@ -1039,6 +1039,51 @@ declare type DashboardAIContext = AIContext & {
|
|
|
1039
1039
|
|
|
1040
1040
|
declare type DashboardAIContextMode = 'auto' | 'fixed';
|
|
1041
1041
|
|
|
1042
|
+
declare type DashboardFilterApplication = {
|
|
1043
|
+
kind: 'cardMappings';
|
|
1044
|
+
/**
|
|
1045
|
+
* Sparse grounded bindings and explicit exclusions. A missing config card
|
|
1046
|
+
* may reuse a proven Option Value target on an executable source; it is not
|
|
1047
|
+
* an implicit exclusion, and source identity alone is not field evidence.
|
|
1048
|
+
*/
|
|
1049
|
+
cards: DashboardFilterCardApplication[];
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
declare type DashboardFilterBoundCardApplication = {
|
|
1053
|
+
kind: 'bound';
|
|
1054
|
+
cardId: string;
|
|
1055
|
+
bindingId: string;
|
|
1056
|
+
target: DashboardFilterTarget;
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
declare type DashboardFilterCardApplication = DashboardFilterBoundCardApplication | DashboardFilterExcludedCardApplication;
|
|
1060
|
+
|
|
1061
|
+
declare type DashboardFilterExcludedCardApplication = {
|
|
1062
|
+
kind: 'excluded';
|
|
1063
|
+
cardId: string;
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
/** Persisted label/value option definition for a mapped dashboard filter. */
|
|
1067
|
+
declare type DashboardFilterOptionSource = SemaphorInputOptionSource;
|
|
1068
|
+
|
|
1069
|
+
declare type DashboardFilterTarget = {
|
|
1070
|
+
kind: 'field';
|
|
1071
|
+
field: DashboardFilterTargetField;
|
|
1072
|
+
};
|
|
1073
|
+
|
|
1074
|
+
/** Persisted, source-qualified field that a mapped filter targets. */
|
|
1075
|
+
declare type DashboardFilterTargetField = {
|
|
1076
|
+
name: string;
|
|
1077
|
+
source: DashboardFilterTargetSource;
|
|
1078
|
+
dataType: 'string' | 'number' | 'boolean' | 'date' | 'datetime';
|
|
1079
|
+
/** Catalog-grounded physical column used when it differs from the semantic name. */
|
|
1080
|
+
sourceField?: string;
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
declare type DashboardFilterTargetSource = Extract<SemaphorSourceRef, {
|
|
1084
|
+
kind: 'semantic' | 'physical';
|
|
1085
|
+
}>;
|
|
1086
|
+
|
|
1042
1087
|
declare type DashboardInput = FilterDashboardInput | ControlDashboardInput;
|
|
1043
1088
|
|
|
1044
1089
|
declare type DashboardInputBase = {
|
|
@@ -1099,14 +1144,14 @@ declare type DashboardInputScope = {
|
|
|
1099
1144
|
sectionIds: string[];
|
|
1100
1145
|
};
|
|
1101
1146
|
|
|
1102
|
-
declare type DashboardInputSlot =
|
|
1147
|
+
declare type DashboardInputSlot = {
|
|
1103
1148
|
status: 'set';
|
|
1104
1149
|
value: DashboardInputValue;
|
|
1105
1150
|
comparisonSelection?: GlobalDateComparisonSelection;
|
|
1106
|
-
}
|
|
1151
|
+
} | {
|
|
1107
1152
|
status: 'cleared';
|
|
1108
1153
|
comparisonSelection?: GlobalDateComparisonSelection;
|
|
1109
|
-
}
|
|
1154
|
+
} | {
|
|
1110
1155
|
status?: never;
|
|
1111
1156
|
value?: never;
|
|
1112
1157
|
comparisonSelection: GlobalDateComparisonSelection;
|
|
@@ -1210,7 +1255,7 @@ declare type DateOptions = {
|
|
|
1210
1255
|
options: Intl.DateTimeFormatOptions;
|
|
1211
1256
|
};
|
|
1212
1257
|
|
|
1213
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
1258
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
1214
1259
|
|
|
1215
1260
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
1216
1261
|
|
|
@@ -1218,7 +1263,7 @@ export declare const DEFAULT_BRIEFING_ARTIFACT_FORMATS: readonly ["markdown"];
|
|
|
1218
1263
|
|
|
1219
1264
|
export declare const DEFAULT_BRIEFING_SCHEDULE: BriefingScheduleViewModel;
|
|
1220
1265
|
|
|
1221
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
1266
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
1222
1267
|
|
|
1223
1268
|
export declare function describeBriefingSchedule(expression: string, timezone: string, locale?: string): string | null;
|
|
1224
1269
|
|
|
@@ -1591,6 +1636,14 @@ declare type EmailSettings = {
|
|
|
1591
1636
|
senderTitle: string;
|
|
1592
1637
|
};
|
|
1593
1638
|
|
|
1639
|
+
declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
|
|
1640
|
+
kind: 'filter';
|
|
1641
|
+
filter: TFilter;
|
|
1642
|
+
filterReference?: never;
|
|
1643
|
+
optionSource?: DashboardFilterOptionSource;
|
|
1644
|
+
application?: DashboardFilterApplication;
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1594
1647
|
declare type EntityType = 'table' | 'view' | 'materialized view' | 'model' | 'file' | 'dataset' | 'url' | 'upload';
|
|
1595
1648
|
|
|
1596
1649
|
declare interface Field {
|
|
@@ -1694,10 +1747,7 @@ declare interface FilterCondition {
|
|
|
1694
1747
|
temporalBucket?: TemporalBucketMetadata;
|
|
1695
1748
|
}
|
|
1696
1749
|
|
|
1697
|
-
declare type FilterDashboardInput =
|
|
1698
|
-
kind: 'filter';
|
|
1699
|
-
filter: TFilter;
|
|
1700
|
-
};
|
|
1750
|
+
declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
|
|
1701
1751
|
|
|
1702
1752
|
/**
|
|
1703
1753
|
* Display mode for individual filters
|
|
@@ -1805,6 +1855,17 @@ declare type FilterSemanticContext = {
|
|
|
1805
1855
|
|
|
1806
1856
|
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
1807
1857
|
|
|
1858
|
+
/**
|
|
1859
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
1860
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
1861
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
1862
|
+
*/
|
|
1863
|
+
declare type FixedDayDefaultDateFilter = {
|
|
1864
|
+
mode: 'fixed';
|
|
1865
|
+
unit: 'day';
|
|
1866
|
+
date: string;
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1808
1869
|
/**
|
|
1809
1870
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
1810
1871
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -2298,6 +2359,17 @@ declare type RawTemporalPresentationTarget = {
|
|
|
2298
2359
|
columnKey: string;
|
|
2299
2360
|
};
|
|
2300
2361
|
|
|
2362
|
+
declare type ReferencedFilterDashboardInput = DashboardInputBase & {
|
|
2363
|
+
kind: 'filter';
|
|
2364
|
+
filter?: never;
|
|
2365
|
+
filterReference: {
|
|
2366
|
+
kind: 'dashboardFilter';
|
|
2367
|
+
filterId: string;
|
|
2368
|
+
};
|
|
2369
|
+
optionSource?: DashboardFilterOptionSource;
|
|
2370
|
+
application?: DashboardFilterApplication;
|
|
2371
|
+
};
|
|
2372
|
+
|
|
2301
2373
|
declare type RelativeDateFilter = {
|
|
2302
2374
|
mode: 'last';
|
|
2303
2375
|
n: number;
|
|
@@ -2535,6 +2607,16 @@ declare type SemaphorInputBinding = {
|
|
|
2535
2607
|
|
|
2536
2608
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
2537
2609
|
|
|
2610
|
+
declare type SemaphorInputOptionSource = {
|
|
2611
|
+
source: Extract<SemaphorSourceRef, {
|
|
2612
|
+
kind: 'semantic' | 'physical';
|
|
2613
|
+
}>;
|
|
2614
|
+
labelField: SemaphorFieldRef;
|
|
2615
|
+
valueField: SemaphorFieldRef;
|
|
2616
|
+
searchField?: SemaphorFieldRef;
|
|
2617
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2538
2620
|
declare type SemaphorMatrixAxisExpansionOptions = {
|
|
2539
2621
|
defaultDepth?: number;
|
|
2540
2622
|
lazy?: boolean;
|
|
@@ -3471,7 +3553,7 @@ declare type TFilter = {
|
|
|
3471
3553
|
type?: 'single' | 'multiple';
|
|
3472
3554
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3473
3555
|
dateSelectionMode?: DateSelectionMode;
|
|
3474
|
-
defaultValues?: (string | number)[];
|
|
3556
|
+
defaultValues?: (string | number | boolean)[];
|
|
3475
3557
|
defaultDateFilter?: DefaultDateFilter;
|
|
3476
3558
|
sheetId?: string;
|
|
3477
3559
|
location?: FilterLocation;
|
|
@@ -3632,11 +3714,11 @@ declare type TInlineFilter = {
|
|
|
3632
3714
|
type?: 'single' | 'multiple';
|
|
3633
3715
|
/** UI component for single-select filters */
|
|
3634
3716
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3635
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
3717
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
3636
3718
|
dateSelectionMode?: DateSelectionMode;
|
|
3637
3719
|
/** Default values applied when the dashboard first loads */
|
|
3638
|
-
defaultValues?: (string | number)[];
|
|
3639
|
-
/** Default date filter applied on dashboard load (relative
|
|
3720
|
+
defaultValues?: (string | number | boolean)[];
|
|
3721
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
3640
3722
|
defaultDateFilter?: DefaultDateFilter;
|
|
3641
3723
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
3642
3724
|
searchMode?: 'text' | 'numeric' | 'auto';
|
|
@@ -1240,17 +1240,12 @@ declare type SemaphorInputBinding = {
|
|
|
1240
1240
|
|
|
1241
1241
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
1242
1242
|
|
|
1243
|
-
declare type SemaphorInputOptionsIntent = {
|
|
1243
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
1244
1244
|
kind: 'inputOptions';
|
|
1245
1245
|
version?: SemaphorProtocolVersion;
|
|
1246
1246
|
id?: string;
|
|
1247
1247
|
label?: string;
|
|
1248
1248
|
inputId: string;
|
|
1249
|
-
source: SemaphorSourceRef;
|
|
1250
|
-
labelField: SemaphorFieldRef;
|
|
1251
|
-
valueField: SemaphorFieldRef;
|
|
1252
|
-
searchField?: SemaphorFieldRef;
|
|
1253
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
1254
1249
|
population?: SemaphorOptionPopulation;
|
|
1255
1250
|
dependencies?: SemaphorOptionDependencies;
|
|
1256
1251
|
search?: string;
|
|
@@ -1259,6 +1254,16 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
1259
1254
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
1260
1255
|
};
|
|
1261
1256
|
|
|
1257
|
+
declare type SemaphorInputOptionSource = {
|
|
1258
|
+
source: Extract<SemaphorSourceRef, {
|
|
1259
|
+
kind: 'semantic' | 'physical';
|
|
1260
|
+
}>;
|
|
1261
|
+
labelField: SemaphorFieldRef;
|
|
1262
|
+
valueField: SemaphorFieldRef;
|
|
1263
|
+
searchField?: SemaphorFieldRef;
|
|
1264
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
1265
|
+
};
|
|
1266
|
+
|
|
1262
1267
|
declare type SemaphorInputOptionsResult = SemaphorAnalyticsResultBase & {
|
|
1263
1268
|
kind: 'inputOptions';
|
|
1264
1269
|
options: Array<{
|