react-semaphor 0.1.459 → 0.1.460
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-B07JnyCb.js} +60 -61
- package/dist/chunks/{dashboard-briefing-launcher-DHtEouuH.cjs → dashboard-briefing-launcher-BCkOKkCv.cjs} +2 -2
- package/dist/chunks/{dashboard-controls-VRShl9J0.cjs → dashboard-controls-BpxouYOZ.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-B8gsKlxc.js → dashboard-controls-C8OxHQV6.js} +44 -45
- 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-Bc-iIwxF.cjs +1 -0
- package/dist/chunks/{dashboard-json-i_Auue_K.js → dashboard-json-CecgbGtq.js} +13 -14
- package/dist/chunks/{edit-dashboard-visual-B3JF0fe4.js → edit-dashboard-visual-CpJKJaER.js} +880 -894
- package/dist/chunks/{edit-dashboard-visual-DWWyT55u.cjs → edit-dashboard-visual-xacUS2i5.cjs} +28 -28
- package/dist/chunks/{editor-action-buttons-BTlCsP63.cjs → editor-action-buttons-23Wf8EMx.cjs} +2 -2
- package/dist/chunks/{editor-action-buttons-C9x3nGnb.js → editor-action-buttons-DEoieV2G.js} +28 -28
- package/dist/chunks/index-B9c22LmC.cjs +1392 -0
- package/dist/chunks/{index-BS2-ZZGf.js → index-DDoyXYWM.js} +43665 -41560
- 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-BDpkcUtz.js → report-preferences-dialog-CZiNX1Ri.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-BK0yAJnQ.cjs → report-preferences-dialog-D_N6NXnq.cjs} +1 -1
- 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-DNFbgZz4.cjs +138 -0
- package/dist/chunks/{switch-DQR-Va05.js → switch-DSZobe8w.js} +6542 -5189
- 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 +80 -9
- package/dist/types/dashboard-assistant.d.ts +11 -6
- package/dist/types/dashboard-authoring.d.ts +242 -15
- package/dist/types/dashboard.d.ts +94 -10
- 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 +210 -16
- package/dist/types/shared.d.ts +80 -9
- package/dist/types/surfboard.d.ts +94 -10
- package/dist/types/types.d.ts +94 -10
- 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
|
@@ -704,6 +704,51 @@ export declare type DashboardEventHandlers = {
|
|
|
704
704
|
onExportData?: (payload: ExportDataPayload) => void;
|
|
705
705
|
};
|
|
706
706
|
|
|
707
|
+
export declare type DashboardFilterApplication = {
|
|
708
|
+
kind: 'cardMappings';
|
|
709
|
+
/**
|
|
710
|
+
* Sparse grounded bindings and explicit exclusions. A missing config card
|
|
711
|
+
* may reuse a proven Option Value target on an executable source; it is not
|
|
712
|
+
* an implicit exclusion, and source identity alone is not field evidence.
|
|
713
|
+
*/
|
|
714
|
+
cards: DashboardFilterCardApplication[];
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
export declare type DashboardFilterBoundCardApplication = {
|
|
718
|
+
kind: 'bound';
|
|
719
|
+
cardId: string;
|
|
720
|
+
bindingId: string;
|
|
721
|
+
target: DashboardFilterTarget;
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
export declare type DashboardFilterCardApplication = DashboardFilterBoundCardApplication | DashboardFilterExcludedCardApplication;
|
|
725
|
+
|
|
726
|
+
export declare type DashboardFilterExcludedCardApplication = {
|
|
727
|
+
kind: 'excluded';
|
|
728
|
+
cardId: string;
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
/** Persisted label/value option definition for a mapped dashboard filter. */
|
|
732
|
+
export declare type DashboardFilterOptionSource = SemaphorInputOptionSource;
|
|
733
|
+
|
|
734
|
+
export declare type DashboardFilterTarget = {
|
|
735
|
+
kind: 'field';
|
|
736
|
+
field: DashboardFilterTargetField;
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
/** Persisted, source-qualified field that a mapped filter targets. */
|
|
740
|
+
export declare type DashboardFilterTargetField = {
|
|
741
|
+
name: string;
|
|
742
|
+
source: DashboardFilterTargetSource;
|
|
743
|
+
dataType: 'string' | 'number' | 'boolean' | 'date' | 'datetime';
|
|
744
|
+
/** Catalog-grounded physical column used when it differs from the semantic name. */
|
|
745
|
+
sourceField?: string;
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
export declare type DashboardFilterTargetSource = Extract<SemaphorSourceRef, {
|
|
749
|
+
kind: 'semantic' | 'physical';
|
|
750
|
+
}>;
|
|
751
|
+
|
|
707
752
|
export declare type DashboardInput = FilterDashboardInput | ControlDashboardInput;
|
|
708
753
|
|
|
709
754
|
export declare type DashboardInputBase = {
|
|
@@ -773,14 +818,14 @@ export declare type DashboardInputScope = {
|
|
|
773
818
|
sectionIds: string[];
|
|
774
819
|
};
|
|
775
820
|
|
|
776
|
-
export declare type DashboardInputSlot =
|
|
821
|
+
export declare type DashboardInputSlot = {
|
|
777
822
|
status: 'set';
|
|
778
823
|
value: DashboardInputValue;
|
|
779
824
|
comparisonSelection?: GlobalDateComparisonSelection;
|
|
780
|
-
}
|
|
825
|
+
} | {
|
|
781
826
|
status: 'cleared';
|
|
782
827
|
comparisonSelection?: GlobalDateComparisonSelection;
|
|
783
|
-
}
|
|
828
|
+
} | {
|
|
784
829
|
status?: never;
|
|
785
830
|
value?: never;
|
|
786
831
|
comparisonSelection: GlobalDateComparisonSelection;
|
|
@@ -1444,6 +1489,14 @@ export declare type EmailSettings = {
|
|
|
1444
1489
|
senderTitle: string;
|
|
1445
1490
|
};
|
|
1446
1491
|
|
|
1492
|
+
export declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
|
|
1493
|
+
kind: 'filter';
|
|
1494
|
+
filter: TFilter;
|
|
1495
|
+
filterReference?: never;
|
|
1496
|
+
optionSource?: DashboardFilterOptionSource;
|
|
1497
|
+
application?: DashboardFilterApplication;
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1447
1500
|
export declare const EMPTY_SELECTION: SelectionState;
|
|
1448
1501
|
|
|
1449
1502
|
declare type EntityType = 'table' | 'view' | 'materialized view' | 'model' | 'file' | 'dataset' | 'url' | 'upload';
|
|
@@ -1560,10 +1613,7 @@ declare interface FilterCondition {
|
|
|
1560
1613
|
temporalBucket?: TemporalBucketMetadata;
|
|
1561
1614
|
}
|
|
1562
1615
|
|
|
1563
|
-
export declare type FilterDashboardInput =
|
|
1564
|
-
kind: 'filter';
|
|
1565
|
-
filter: TFilter;
|
|
1566
|
-
};
|
|
1616
|
+
export declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
|
|
1567
1617
|
|
|
1568
1618
|
/**
|
|
1569
1619
|
* Display mode for individual filters
|
|
@@ -2067,6 +2117,17 @@ declare type MonthAlignedFiscalCalendar = {
|
|
|
2067
2117
|
|
|
2068
2118
|
declare type NoneOptions = {};
|
|
2069
2119
|
|
|
2120
|
+
export declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
|
|
2121
|
+
|
|
2122
|
+
/** Runtime form after dashboard-filter references are resolved once. */
|
|
2123
|
+
export declare type NormalizedFilterDashboardInput = DashboardInputBase & {
|
|
2124
|
+
kind: 'filter';
|
|
2125
|
+
filter: TFilter;
|
|
2126
|
+
optionSource?: DashboardFilterOptionSource;
|
|
2127
|
+
application?: DashboardFilterApplication;
|
|
2128
|
+
definitionOrigin: 'embedded' | 'dashboardFilter';
|
|
2129
|
+
};
|
|
2130
|
+
|
|
2070
2131
|
export declare type NumberAxisFormat = {
|
|
2071
2132
|
decimalPlaces?: number;
|
|
2072
2133
|
minimumFractionDigits?: number;
|
|
@@ -2224,6 +2285,17 @@ declare type RawTemporalPresentationTarget = {
|
|
|
2224
2285
|
columnKey: string;
|
|
2225
2286
|
};
|
|
2226
2287
|
|
|
2288
|
+
export declare type ReferencedFilterDashboardInput = DashboardInputBase & {
|
|
2289
|
+
kind: 'filter';
|
|
2290
|
+
filter?: never;
|
|
2291
|
+
filterReference: {
|
|
2292
|
+
kind: 'dashboardFilter';
|
|
2293
|
+
filterId: string;
|
|
2294
|
+
};
|
|
2295
|
+
optionSource?: DashboardFilterOptionSource;
|
|
2296
|
+
application?: DashboardFilterApplication;
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2227
2299
|
declare type RelativeDateFilter = {
|
|
2228
2300
|
mode: 'last';
|
|
2229
2301
|
n: number;
|
|
@@ -2296,6 +2368,8 @@ export declare type ResolvedDashboardInput = {
|
|
|
2296
2368
|
exports: Partial<Record<DashboardInputExportKey, string | number | boolean | null>>;
|
|
2297
2369
|
filter?: TFilter;
|
|
2298
2370
|
filterValue?: TFilterValue;
|
|
2371
|
+
/** Present when a set filter slot cannot be used with its current definition. */
|
|
2372
|
+
invalidFilterSelection?: boolean;
|
|
2299
2373
|
control?: ControlDefinition;
|
|
2300
2374
|
controlValue?: unknown;
|
|
2301
2375
|
missingRequiredValue?: boolean;
|
|
@@ -2303,7 +2377,7 @@ export declare type ResolvedDashboardInput = {
|
|
|
2303
2377
|
};
|
|
2304
2378
|
|
|
2305
2379
|
export declare type ResolvedDashboardInputContext = {
|
|
2306
|
-
inputs:
|
|
2380
|
+
inputs: NormalizedDashboardInput[];
|
|
2307
2381
|
resolvedInputs: ResolvedDashboardInput[];
|
|
2308
2382
|
activeFilters: TFilterValue[];
|
|
2309
2383
|
controlDefinitions: ControlDefinition[];
|
|
@@ -2551,6 +2625,16 @@ declare type SemaphorInputBinding = {
|
|
|
2551
2625
|
|
|
2552
2626
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
2553
2627
|
|
|
2628
|
+
declare type SemaphorInputOptionSource = {
|
|
2629
|
+
source: Extract<SemaphorSourceRef, {
|
|
2630
|
+
kind: 'semantic' | 'physical';
|
|
2631
|
+
}>;
|
|
2632
|
+
labelField: SemaphorFieldRef;
|
|
2633
|
+
valueField: SemaphorFieldRef;
|
|
2634
|
+
searchField?: SemaphorFieldRef;
|
|
2635
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2554
2638
|
declare type SemaphorMatrixAxisExpansionOptions = {
|
|
2555
2639
|
defaultDepth?: number;
|
|
2556
2640
|
lazy?: boolean;
|
|
@@ -3584,7 +3668,7 @@ declare type TFilter = {
|
|
|
3584
3668
|
type?: 'single' | 'multiple';
|
|
3585
3669
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3586
3670
|
dateSelectionMode?: DateSelectionMode;
|
|
3587
|
-
defaultValues?: (string | number)[];
|
|
3671
|
+
defaultValues?: (string | number | boolean)[];
|
|
3588
3672
|
defaultDateFilter?: DefaultDateFilter;
|
|
3589
3673
|
sheetId?: string;
|
|
3590
3674
|
location?: FilterLocation;
|
|
@@ -3756,7 +3840,7 @@ export declare type TInlineFilter = {
|
|
|
3756
3840
|
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
3757
3841
|
dateSelectionMode?: DateSelectionMode;
|
|
3758
3842
|
/** Default values applied when the dashboard first loads */
|
|
3759
|
-
defaultValues?: (string | number)[];
|
|
3843
|
+
defaultValues?: (string | number | boolean)[];
|
|
3760
3844
|
/** Default date filter applied on dashboard load (relative or fixed month/year) */
|
|
3761
3845
|
defaultDateFilter?: DefaultDateFilter;
|
|
3762
3846
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
@@ -646,17 +646,12 @@ declare type SemaphorInputBinding = {
|
|
|
646
646
|
|
|
647
647
|
declare type SemaphorInputOperator = '=' | '!=' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'between' | 'not_between' | '>' | '>=' | '<' | '<=';
|
|
648
648
|
|
|
649
|
-
declare type SemaphorInputOptionsIntent = {
|
|
649
|
+
declare type SemaphorInputOptionsIntent = SemaphorInputOptionSource & {
|
|
650
650
|
kind: 'inputOptions';
|
|
651
651
|
version?: SemaphorProtocolVersion;
|
|
652
652
|
id?: string;
|
|
653
653
|
label?: string;
|
|
654
654
|
inputId: string;
|
|
655
|
-
source: SemaphorSourceRef;
|
|
656
|
-
labelField: SemaphorFieldRef;
|
|
657
|
-
valueField: SemaphorFieldRef;
|
|
658
|
-
searchField?: SemaphorFieldRef;
|
|
659
|
-
disambiguationFields?: SemaphorFieldRef[];
|
|
660
655
|
population?: SemaphorOptionPopulation;
|
|
661
656
|
dependencies?: SemaphorOptionDependencies;
|
|
662
657
|
search?: string;
|
|
@@ -665,6 +660,16 @@ declare type SemaphorInputOptionsIntent = {
|
|
|
665
660
|
derivedFields?: SemaphorDerivedFieldDefinition[];
|
|
666
661
|
};
|
|
667
662
|
|
|
663
|
+
declare type SemaphorInputOptionSource = {
|
|
664
|
+
source: Extract<SemaphorSourceRef, {
|
|
665
|
+
kind: 'semantic' | 'physical';
|
|
666
|
+
}>;
|
|
667
|
+
labelField: SemaphorFieldRef;
|
|
668
|
+
valueField: SemaphorFieldRef;
|
|
669
|
+
searchField?: SemaphorFieldRef;
|
|
670
|
+
disambiguationFields?: SemaphorFieldRef[];
|
|
671
|
+
};
|
|
672
|
+
|
|
668
673
|
declare type SemaphorMatrixAxisExpansionOptions = {
|
|
669
674
|
defaultDepth?: number;
|
|
670
675
|
lazy?: boolean;
|
|
@@ -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,
|