react-semaphor 0.1.460 → 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/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-B07JnyCb.js → dashboard-briefing-launcher-3owMxX5K.js} +3 -3
- package/dist/chunks/{dashboard-briefing-launcher-BCkOKkCv.cjs → dashboard-briefing-launcher-xuGrw8H3.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-C8OxHQV6.js → dashboard-controls-B4GvjGr1.js} +4 -4
- package/dist/chunks/{dashboard-controls-BpxouYOZ.cjs → dashboard-controls-Bpm_xOXQ.cjs} +1 -1
- package/dist/chunks/{dashboard-json-CecgbGtq.js → dashboard-json-DzyxoBp-.js} +2 -2
- package/dist/chunks/{dashboard-json-Bc-iIwxF.cjs → dashboard-json-yLM01xK4.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-xacUS2i5.cjs → edit-dashboard-visual-1T278Nr_.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-CpJKJaER.js → edit-dashboard-visual-nwSasO_j.js} +3 -3
- package/dist/chunks/{editor-action-buttons-23Wf8EMx.cjs → editor-action-buttons-CX1Pken3.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-DEoieV2G.js → editor-action-buttons-Dqw0asfA.js} +2 -2
- package/dist/chunks/{index-B9c22LmC.cjs → index-B1qplNxl.cjs} +208 -208
- package/dist/chunks/{index-DDoyXYWM.js → index-DazD5k0F.js} +31392 -31066
- package/dist/chunks/{report-preferences-dialog-D_N6NXnq.cjs → report-preferences-dialog-DKPyjiCt.cjs} +1 -1
- package/dist/chunks/{report-preferences-dialog-CZiNX1Ri.js → report-preferences-dialog-Dv3vCCFt.js} +2 -2
- package/dist/chunks/{switch-DNFbgZz4.cjs → switch-DBZsEV0U.cjs} +37 -37
- package/dist/chunks/{switch-DSZobe8w.js → switch-kPUJEC1A.js} +2698 -2655
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings.d.ts +15 -4
- package/dist/types/dashboard-authoring.d.ts +15 -4
- package/dist/types/dashboard.d.ts +15 -4
- package/dist/types/main.d.ts +15 -4
- package/dist/types/shared.d.ts +15 -4
- package/dist/types/surfboard.d.ts +15 -4
- package/dist/types/types.d.ts +15 -4
- package/package.json +1 -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-
|
|
1
|
+
import { b as a, a as o } from "../chunks/index-DazD5k0F.js";
|
|
2
2
|
import { C as f, E } from "../chunks/common-types-BHVKgxRR.js";
|
|
3
|
-
import { R as t } from "../chunks/report-preferences-dialog-
|
|
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,
|
|
@@ -1255,7 +1255,7 @@ declare type DateOptions = {
|
|
|
1255
1255
|
options: Intl.DateTimeFormatOptions;
|
|
1256
1256
|
};
|
|
1257
1257
|
|
|
1258
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
1258
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
1259
1259
|
|
|
1260
1260
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
1261
1261
|
|
|
@@ -1263,7 +1263,7 @@ export declare const DEFAULT_BRIEFING_ARTIFACT_FORMATS: readonly ["markdown"];
|
|
|
1263
1263
|
|
|
1264
1264
|
export declare const DEFAULT_BRIEFING_SCHEDULE: BriefingScheduleViewModel;
|
|
1265
1265
|
|
|
1266
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
1266
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
1267
1267
|
|
|
1268
1268
|
export declare function describeBriefingSchedule(expression: string, timezone: string, locale?: string): string | null;
|
|
1269
1269
|
|
|
@@ -1855,6 +1855,17 @@ declare type FilterSemanticContext = {
|
|
|
1855
1855
|
|
|
1856
1856
|
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
1857
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
|
+
|
|
1858
1869
|
/**
|
|
1859
1870
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
1860
1871
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -3703,11 +3714,11 @@ declare type TInlineFilter = {
|
|
|
3703
3714
|
type?: 'single' | 'multiple';
|
|
3704
3715
|
/** UI component for single-select filters */
|
|
3705
3716
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3706
|
-
/** 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 */
|
|
3707
3718
|
dateSelectionMode?: DateSelectionMode;
|
|
3708
3719
|
/** Default values applied when the dashboard first loads */
|
|
3709
3720
|
defaultValues?: (string | number | boolean)[];
|
|
3710
|
-
/** Default date filter applied on dashboard load (relative
|
|
3721
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
3711
3722
|
defaultDateFilter?: DefaultDateFilter;
|
|
3712
3723
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
3713
3724
|
searchMode?: 'text' | 'numeric' | 'auto';
|
|
@@ -1101,11 +1101,11 @@ declare type DateOptions = {
|
|
|
1101
1101
|
options: Intl.DateTimeFormatOptions;
|
|
1102
1102
|
};
|
|
1103
1103
|
|
|
1104
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
1104
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
1105
1105
|
|
|
1106
1106
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
1107
1107
|
|
|
1108
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
1108
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
1109
1109
|
|
|
1110
1110
|
/**
|
|
1111
1111
|
* Field configuration for detail table columns.
|
|
@@ -1703,6 +1703,17 @@ export declare function findDashboardCardPinnedCatalogSource(inventory: Dashboar
|
|
|
1703
1703
|
|
|
1704
1704
|
export declare function findDashboardSqlPinnedCatalogSource(inventory: DashboardCardFilterSourceInventory, source: DashboardFilterTargetSource): DashboardSqlPinnedCatalogSource | undefined;
|
|
1705
1705
|
|
|
1706
|
+
/**
|
|
1707
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
1708
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
1709
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
1710
|
+
*/
|
|
1711
|
+
declare type FixedDayDefaultDateFilter = {
|
|
1712
|
+
mode: 'fixed';
|
|
1713
|
+
unit: 'day';
|
|
1714
|
+
date: string;
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1706
1717
|
/**
|
|
1707
1718
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
1708
1719
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -3728,11 +3739,11 @@ declare type TInlineFilter = {
|
|
|
3728
3739
|
type?: 'single' | 'multiple';
|
|
3729
3740
|
/** UI component for single-select filters */
|
|
3730
3741
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3731
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
3742
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
3732
3743
|
dateSelectionMode?: DateSelectionMode;
|
|
3733
3744
|
/** Default values applied when the dashboard first loads */
|
|
3734
3745
|
defaultValues?: (string | number | boolean)[];
|
|
3735
|
-
/** Default date filter applied on dashboard load (relative
|
|
3746
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
3736
3747
|
defaultDateFilter?: DefaultDateFilter;
|
|
3737
3748
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
3738
3749
|
searchMode?: 'text' | 'numeric' | 'auto';
|
|
@@ -1035,11 +1035,11 @@ export declare type DateOptions = {
|
|
|
1035
1035
|
options: Intl.DateTimeFormatOptions;
|
|
1036
1036
|
};
|
|
1037
1037
|
|
|
1038
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
1038
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
1039
1039
|
|
|
1040
1040
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
1041
1041
|
|
|
1042
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
1042
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
1043
1043
|
|
|
1044
1044
|
/**
|
|
1045
1045
|
* Field configuration for detail table columns.
|
|
@@ -1721,6 +1721,17 @@ declare type FilterSemanticContext = {
|
|
|
1721
1721
|
|
|
1722
1722
|
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
1723
1723
|
|
|
1724
|
+
/**
|
|
1725
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
1726
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
1727
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
1728
|
+
*/
|
|
1729
|
+
declare type FixedDayDefaultDateFilter = {
|
|
1730
|
+
mode: 'fixed';
|
|
1731
|
+
unit: 'day';
|
|
1732
|
+
date: string;
|
|
1733
|
+
};
|
|
1734
|
+
|
|
1724
1735
|
/**
|
|
1725
1736
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
1726
1737
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -3837,11 +3848,11 @@ export declare type TInlineFilter = {
|
|
|
3837
3848
|
type?: 'single' | 'multiple';
|
|
3838
3849
|
/** UI component for single-select filters */
|
|
3839
3850
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3840
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
3851
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
3841
3852
|
dateSelectionMode?: DateSelectionMode;
|
|
3842
3853
|
/** Default values applied when the dashboard first loads */
|
|
3843
3854
|
defaultValues?: (string | number | boolean)[];
|
|
3844
|
-
/** Default date filter applied on dashboard load (relative
|
|
3855
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
3845
3856
|
defaultDateFilter?: DefaultDateFilter;
|
|
3846
3857
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
3847
3858
|
searchMode?: 'text' | 'numeric' | 'auto';
|
package/dist/types/main.d.ts
CHANGED
|
@@ -2763,7 +2763,7 @@ export declare type DateOptions = {
|
|
|
2763
2763
|
|
|
2764
2764
|
export { DateRange }
|
|
2765
2765
|
|
|
2766
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
2766
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
2767
2767
|
|
|
2768
2768
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
2769
2769
|
|
|
@@ -2771,7 +2771,7 @@ export declare const DEFAULT_CALENDAR_CONTEXT: CalendarContext;
|
|
|
2771
2771
|
|
|
2772
2772
|
export declare const DEFAULT_SEMANTIC_DOMAIN_ACCESS: SemanticDomainAccess;
|
|
2773
2773
|
|
|
2774
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
2774
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
2775
2775
|
|
|
2776
2776
|
export declare function deleteBriefing(apiServiceUrl: string, token: string, briefingId: string): Promise<DeleteBriefingResponse>;
|
|
2777
2777
|
|
|
@@ -3847,6 +3847,17 @@ declare type FilterSemanticContext = {
|
|
|
3847
3847
|
|
|
3848
3848
|
export declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
3849
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
|
+
|
|
3850
3861
|
/**
|
|
3851
3862
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
3852
3863
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -7310,11 +7321,11 @@ export declare type TInlineFilter = {
|
|
|
7310
7321
|
type?: 'single' | 'multiple';
|
|
7311
7322
|
/** UI component for single-select filters */
|
|
7312
7323
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
7313
|
-
/** 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 */
|
|
7314
7325
|
dateSelectionMode?: DateSelectionMode;
|
|
7315
7326
|
/** Default values applied when the dashboard first loads */
|
|
7316
7327
|
defaultValues?: (string | number | boolean)[];
|
|
7317
|
-
/** Default date filter applied on dashboard load (relative
|
|
7328
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
7318
7329
|
defaultDateFilter?: DefaultDateFilter;
|
|
7319
7330
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
7320
7331
|
searchMode?: 'text' | 'numeric' | 'auto';
|
package/dist/types/shared.d.ts
CHANGED
|
@@ -768,11 +768,11 @@ declare type DateOptions = {
|
|
|
768
768
|
options: Intl.DateTimeFormatOptions;
|
|
769
769
|
};
|
|
770
770
|
|
|
771
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
771
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
772
772
|
|
|
773
773
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
774
774
|
|
|
775
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
775
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
776
776
|
|
|
777
777
|
/**
|
|
778
778
|
* Field configuration for detail table columns.
|
|
@@ -1362,6 +1362,17 @@ declare type FilterSemanticContext = {
|
|
|
1362
1362
|
|
|
1363
1363
|
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
1364
1364
|
|
|
1365
|
+
/**
|
|
1366
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
1367
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
1368
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
1369
|
+
*/
|
|
1370
|
+
declare type FixedDayDefaultDateFilter = {
|
|
1371
|
+
mode: 'fixed';
|
|
1372
|
+
unit: 'day';
|
|
1373
|
+
date: string;
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1365
1376
|
/**
|
|
1366
1377
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
1367
1378
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -2998,11 +3009,11 @@ declare type TInlineFilter = {
|
|
|
2998
3009
|
type?: 'single' | 'multiple';
|
|
2999
3010
|
/** UI component for single-select filters */
|
|
3000
3011
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3001
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
3012
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
3002
3013
|
dateSelectionMode?: DateSelectionMode;
|
|
3003
3014
|
/** Default values applied when the dashboard first loads */
|
|
3004
3015
|
defaultValues?: (string | number | boolean)[];
|
|
3005
|
-
/** Default date filter applied on dashboard load (relative
|
|
3016
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
3006
3017
|
defaultDateFilter?: DefaultDateFilter;
|
|
3007
3018
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
3008
3019
|
searchMode?: 'text' | 'numeric' | 'auto';
|
|
@@ -1038,11 +1038,11 @@ export declare type DateOptions = {
|
|
|
1038
1038
|
options: Intl.DateTimeFormatOptions;
|
|
1039
1039
|
};
|
|
1040
1040
|
|
|
1041
|
-
declare type DateSelectionMode = 'range' | 'months';
|
|
1041
|
+
declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
1042
1042
|
|
|
1043
1043
|
declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
1044
1044
|
|
|
1045
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
1045
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
1046
1046
|
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Field configuration for detail table columns.
|
|
@@ -1734,6 +1734,17 @@ declare type FilterSemanticContext = {
|
|
|
1734
1734
|
|
|
1735
1735
|
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
1736
1736
|
|
|
1737
|
+
/**
|
|
1738
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
1739
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
1740
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
1741
|
+
*/
|
|
1742
|
+
declare type FixedDayDefaultDateFilter = {
|
|
1743
|
+
mode: 'fixed';
|
|
1744
|
+
unit: 'day';
|
|
1745
|
+
date: string;
|
|
1746
|
+
};
|
|
1747
|
+
|
|
1737
1748
|
/**
|
|
1738
1749
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
1739
1750
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -3859,11 +3870,11 @@ export declare type TInlineFilter = {
|
|
|
3859
3870
|
type?: 'single' | 'multiple';
|
|
3860
3871
|
/** UI component for single-select filters */
|
|
3861
3872
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
3862
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
3873
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
3863
3874
|
dateSelectionMode?: DateSelectionMode;
|
|
3864
3875
|
/** Default values applied when the dashboard first loads */
|
|
3865
3876
|
defaultValues?: (string | number | boolean)[];
|
|
3866
|
-
/** Default date filter applied on dashboard load (relative
|
|
3877
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
3867
3878
|
defaultDateFilter?: DefaultDateFilter;
|
|
3868
3879
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
3869
3880
|
searchMode?: 'text' | 'numeric' | 'auto';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1563,7 +1563,7 @@ export declare type DateOptions = {
|
|
|
1563
1563
|
options: Intl.DateTimeFormatOptions;
|
|
1564
1564
|
};
|
|
1565
1565
|
|
|
1566
|
-
export declare type DateSelectionMode = 'range' | 'months';
|
|
1566
|
+
export declare type DateSelectionMode = 'range' | 'months' | 'day';
|
|
1567
1567
|
|
|
1568
1568
|
export declare type DateUnit = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
1569
1569
|
|
|
@@ -1571,7 +1571,7 @@ export declare const DEFAULT_CALENDAR_CONTEXT: CalendarContext;
|
|
|
1571
1571
|
|
|
1572
1572
|
export declare const DEFAULT_SEMANTIC_DOMAIN_ACCESS: SemanticDomainAccess;
|
|
1573
1573
|
|
|
1574
|
-
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter;
|
|
1574
|
+
declare type DefaultDateFilter = RelativeDateFilter | FixedMonthDefaultDateFilter | FixedDayDefaultDateFilter;
|
|
1575
1575
|
|
|
1576
1576
|
export declare type DeleteBriefingResponse = {
|
|
1577
1577
|
success: boolean;
|
|
@@ -2316,6 +2316,17 @@ export declare type FilterSemanticContext = {
|
|
|
2316
2316
|
|
|
2317
2317
|
export declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
2318
2318
|
|
|
2319
|
+
/**
|
|
2320
|
+
* Absolute fixed calendar-day default used by Day Picker defaults.
|
|
2321
|
+
* - `date` is a timezone-agnostic calendar day (`YYYY-MM-DD`); it resolves to
|
|
2322
|
+
* that day's start/end in the dashboard timezone at load time.
|
|
2323
|
+
*/
|
|
2324
|
+
declare type FixedDayDefaultDateFilter = {
|
|
2325
|
+
mode: 'fixed';
|
|
2326
|
+
unit: 'day';
|
|
2327
|
+
date: string;
|
|
2328
|
+
};
|
|
2329
|
+
|
|
2319
2330
|
/**
|
|
2320
2331
|
* Absolute fixed month/year default used by Month Picker defaults.
|
|
2321
2332
|
* - `month` is 0-indexed (0=January, 11=December) to align with MonthPicker.
|
|
@@ -5042,11 +5053,11 @@ export declare type TInlineFilter = {
|
|
|
5042
5053
|
type?: 'single' | 'multiple';
|
|
5043
5054
|
/** UI component for single-select filters */
|
|
5044
5055
|
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
5045
|
-
/** Date picker type: 'range' for full calendar, 'months' for month picker */
|
|
5056
|
+
/** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
|
|
5046
5057
|
dateSelectionMode?: DateSelectionMode;
|
|
5047
5058
|
/** Default values applied when the dashboard first loads */
|
|
5048
5059
|
defaultValues?: (string | number | boolean)[];
|
|
5049
|
-
/** Default date filter applied on dashboard load (relative
|
|
5060
|
+
/** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
|
|
5050
5061
|
defaultDateFilter?: DefaultDateFilter;
|
|
5051
5062
|
/** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
|
|
5052
5063
|
searchMode?: 'text' | 'numeric' | 'auto';
|