@altertable/data-app-react 0.78.0 → 0.80.0
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/chunks/{SectionHeading-BKvi7HVv.js → SectionHeading-DR8RX7YZ.js} +205 -693
- package/dist/chunks/SectionHeading-DR8RX7YZ.js.map +1 -0
- package/dist/index.js +699 -7
- package/dist/index.js.map +1 -1
- package/dist/types/chunks/DateTimeRangePicker.d.ts +5 -146
- package/dist/types/index.d.ts +199 -14
- package/dist/types/ui/index.d.ts +4 -16
- package/dist/ui/index.js +605 -427
- package/dist/ui/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunks/SectionHeading-BKvi7HVv.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataAppDefinition, QueryDefinitions } from "@altertable/data-app/config";
|
|
2
|
-
import { DataReading,
|
|
2
|
+
import { DataReading, DateTimeRangeComparison, DateTimeRangeFilter, DateTimeRangeFilterOptions, DateTimeRangePreset as DateTimeRangePreset$1, DateTimeRangeSelection, DisplayedSnapshot, FilterCollection, FilterValues, HistoryMode, MetricReading, dateTimeRangeFilter, dateTimeRangePresets } from "@altertable/data-app/internal";
|
|
3
3
|
import { CSSProperties, ComponentPropsWithRef, ComponentType, ReactNode, Ref, RefObject } from "react";
|
|
4
4
|
import { Button } from "react-aria-components";
|
|
5
5
|
import { Placement } from "@floating-ui/react";
|
|
@@ -175,12 +175,12 @@ type PresentStoryProps = {
|
|
|
175
175
|
theme?: ThemeController;
|
|
176
176
|
headerActions?: ReactNode;
|
|
177
177
|
footer?: ReactNode;
|
|
178
|
-
/** False renders only the presentation, which `?
|
|
178
|
+
/** False renders only the presentation, which `?_present=1&_step=` opens. */
|
|
179
179
|
trigger?: boolean;
|
|
180
180
|
} & Omit<ComponentPropsWithRef<'button'>, 'title'>;
|
|
181
181
|
/**
|
|
182
|
-
* Uses an already loaded snapshot. Navigation is stored in `?
|
|
183
|
-
* inspection uses `?
|
|
182
|
+
* Uses an already loaded snapshot. Navigation is stored in `?_present=1&_step=`, and step
|
|
183
|
+
* inspection uses `?_about=`. The presentation owns its modal structure.
|
|
184
184
|
*/
|
|
185
185
|
declare function PresentStory({ title, findings, empty, scope, dataContext, theme, headerActions, footer, trigger: showTrigger, children, className, onClick, disabled, ref, ...props }: PresentStoryProps): import("react").JSX.Element;
|
|
186
186
|
//#endregion
|
|
@@ -519,7 +519,6 @@ type TableWidgetProps<Row> = TableWidgetBaseProps<Row> & ({
|
|
|
519
519
|
skeletonRows?: number;
|
|
520
520
|
evidence: WidgetEvidence;
|
|
521
521
|
});
|
|
522
|
-
declare function TableWidget<Row>(props: TableWidgetProps<Row>): import("react").JSX.Element;
|
|
523
522
|
//#endregion
|
|
524
523
|
//#region src/styles.d.ts
|
|
525
524
|
interface DataAppStylesOptions {
|
|
@@ -573,35 +572,6 @@ declare function useAppFilters<const Collection extends FilterCollection>(defini
|
|
|
573
572
|
};
|
|
574
573
|
};
|
|
575
574
|
//#endregion
|
|
576
|
-
//#region src/ui/DataAppFrame.d.ts
|
|
577
|
-
type DataAppBaseProps = {
|
|
578
|
-
children: ReactNode;
|
|
579
|
-
dataContext: DataContext;
|
|
580
|
-
/** Override the declared subtitle; null hides it. */
|
|
581
|
-
description?: ReactNode;
|
|
582
|
-
/** Show page actions. Defaults to true; does not hide filters or data states.
|
|
583
|
-
* Embedded surfaces have no toolbar: the host runs page actions through its bridge. */
|
|
584
|
-
showToolbar?: boolean;
|
|
585
|
-
/** Standalone toolbar controls; embedded surfaces omit them. */
|
|
586
|
-
toolbarActions?: ReactNode;
|
|
587
|
-
/** Standalone footer controls; embedded surfaces omit them. */
|
|
588
|
-
footerActions?: ReactNode;
|
|
589
|
-
/** Optional source, coverage, or methodology note below the app content.
|
|
590
|
-
* Compose prose and inline components; typography and spacing are provided.
|
|
591
|
-
* Put data widgets in children and app controls in footerActions. */
|
|
592
|
-
footer?: ReactNode;
|
|
593
|
-
};
|
|
594
|
-
type DataAppControlProps = {
|
|
595
|
-
/** Show declared search controls. Defaults to true; hiding preserves their values. */
|
|
596
|
-
showSearch?: boolean;
|
|
597
|
-
/** Show declared filter controls, including display options. Defaults to true; hiding preserves their values. */
|
|
598
|
-
showFilters?: boolean;
|
|
599
|
-
};
|
|
600
|
-
type StaticDataAppProps = DataAppBaseProps & {
|
|
601
|
-
csvExport?: CsvExport;
|
|
602
|
-
queries?: DisclosedQuery[];
|
|
603
|
-
};
|
|
604
|
-
//#endregion
|
|
605
575
|
//#region src/ui/Notice.d.ts
|
|
606
576
|
type NoticeProps = {
|
|
607
577
|
title: ReactNode;
|
|
@@ -611,59 +581,6 @@ type NoticeProps = {
|
|
|
611
581
|
/** Quiet contextual feedback with an optional action. Content wraps before its action on narrow containers. */
|
|
612
582
|
declare function Notice({ title, description, action, className, ...props }: NoticeProps): import("react").JSX.Element;
|
|
613
583
|
//#endregion
|
|
614
|
-
//#region src/ui/DataValue.d.ts
|
|
615
|
-
type DataValueProps<Value> = {
|
|
616
|
-
reading: DataReading<Value>;
|
|
617
|
-
loadingFallback: ReactNode;
|
|
618
|
-
children: (value: Value) => ReactNode;
|
|
619
|
-
} & Omit<ComponentPropsWithRef<'span'>, 'children'>;
|
|
620
|
-
/** Bind inline content to displayed data. Keep static wording outside this span. */
|
|
621
|
-
declare function DataValue<Value>({ reading, loadingFallback, children, ...props }: DataValueProps<Value>): import("react").JSX.Element;
|
|
622
|
-
//#endregion
|
|
623
|
-
//#region src/ui/MetricWidget.d.ts
|
|
624
|
-
type MetricWidgetBaseProps = {
|
|
625
|
-
label: string;
|
|
626
|
-
/** Document outline level. The label keeps the shared widget-heading appearance. */
|
|
627
|
-
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
628
|
-
annotationId?: string;
|
|
629
|
-
description?: ReactNode;
|
|
630
|
-
comparison?: MetricComparison;
|
|
631
|
-
evidence?: WidgetEvidence;
|
|
632
|
-
records?: InspectionRecords;
|
|
633
|
-
action?: ReactNode;
|
|
634
|
-
status?: WidgetStatus;
|
|
635
|
-
visual?: ReactNode;
|
|
636
|
-
} & Omit<ComponentPropsWithRef<'div'>, 'about' | 'children'>;
|
|
637
|
-
type UnboundMetricWidgetProps = MetricWidgetBaseProps & ({
|
|
638
|
-
loading: true;
|
|
639
|
-
value?: never;
|
|
640
|
-
format?: never;
|
|
641
|
-
content?: never;
|
|
642
|
-
} | ({
|
|
643
|
-
loading?: false;
|
|
644
|
-
} & ({
|
|
645
|
-
value: number;
|
|
646
|
-
format: MetricFormat;
|
|
647
|
-
content?: never;
|
|
648
|
-
} | {
|
|
649
|
-
content: ReactNode;
|
|
650
|
-
value?: never;
|
|
651
|
-
format?: never;
|
|
652
|
-
})));
|
|
653
|
-
/** VisualizationWidget with a formatted metric, optional comparison, and evidence. */
|
|
654
|
-
type MetricWidgetProps = UnboundMetricWidgetProps | (Omit<MetricWidgetBaseProps, 'label' | 'comparison' | 'evidence'> & {
|
|
655
|
-
metric: MetricDefinition;
|
|
656
|
-
reading: MetricReading;
|
|
657
|
-
label?: never;
|
|
658
|
-
value?: never;
|
|
659
|
-
format?: never;
|
|
660
|
-
content?: never;
|
|
661
|
-
comparison?: never;
|
|
662
|
-
evidence?: never;
|
|
663
|
-
loading?: never;
|
|
664
|
-
});
|
|
665
|
-
declare function MetricWidget(props: MetricWidgetProps): import("react").JSX.Element;
|
|
666
|
-
//#endregion
|
|
667
584
|
//#region src/ui/DataWidget.d.ts
|
|
668
585
|
type DataWidgetBaseProps = {
|
|
669
586
|
title: ReactNode;
|
|
@@ -698,64 +615,6 @@ type DataWidgetProps<Data = unknown> = DataWidgetBaseProps & ((BoundWidgetReadin
|
|
|
698
615
|
declare function DataWidgetInner<Data>(props: DataWidgetProps<Data>): import("react").JSX.Element;
|
|
699
616
|
declare const DataWidget: typeof DataWidgetInner;
|
|
700
617
|
//#endregion
|
|
701
|
-
//#region src/ui/TextWidget.d.ts
|
|
702
|
-
type TextWidgetBaseProps = Omit<Extract<DataWidgetProps, {
|
|
703
|
-
reading?: never;
|
|
704
|
-
}>, 'reading' | 'children' | 'isEmpty' | 'empty' | 'skeleton' | 'bodyPadding'>;
|
|
705
|
-
/** Narrative sibling of VisualizationWidget, composing DataWidget with TextContent.
|
|
706
|
-
* Use TextContent directly for borderless prose. Bind claims and scope to the same displayed reading.
|
|
707
|
-
* The renderer handles every ready value, including zero and empty collections. */
|
|
708
|
-
type TextWidgetProps<Data = unknown> = TextWidgetBaseProps & ({
|
|
709
|
-
reading: DataReading<Data>;
|
|
710
|
-
evidence: WidgetEvidence;
|
|
711
|
-
children: (data: Data) => ReactNode;
|
|
712
|
-
} | {
|
|
713
|
-
reading?: never;
|
|
714
|
-
children: ReactNode;
|
|
715
|
-
});
|
|
716
|
-
declare function TextWidget<Data>(props: TextWidgetProps<Data>): import("react").JSX.Element;
|
|
717
|
-
//#endregion
|
|
718
|
-
//#region src/ui/VisualizationWidget.d.ts
|
|
719
|
-
type VisualizationWidgetBaseProps = Pick<DataWidgetProps, 'title' | 'headingLevel' | 'annotationId' | 'description' | 'count' | 'action' | 'evidence' | 'records' | 'status' | 'emptyFallback'> & {
|
|
720
|
-
/** Footer controls, such as table pagination. */
|
|
721
|
-
footer?: ReactNode;
|
|
722
|
-
} & Omit<ComponentPropsWithRef<'section'>, 'about' | 'title' | 'children'>;
|
|
723
|
-
type UnboundVisualizationWidgetProps = VisualizationWidgetBaseProps & ({
|
|
724
|
-
loading: true;
|
|
725
|
-
loadingContent?: ReactNode;
|
|
726
|
-
visual?: never;
|
|
727
|
-
} | {
|
|
728
|
-
loading?: false;
|
|
729
|
-
visual: ReactNode;
|
|
730
|
-
loadingContent?: never;
|
|
731
|
-
});
|
|
732
|
-
type VisualizationWidgetView<Data> = {
|
|
733
|
-
/** Stable, nonempty identity; unique within this widget. */
|
|
734
|
-
id: string;
|
|
735
|
-
label: ReactNode;
|
|
736
|
-
render: (data: Data) => ReactNode;
|
|
737
|
-
};
|
|
738
|
-
type BoundVisualizationWidgetBase<Data> = VisualizationWidgetBaseProps & BoundWidgetReading<Data> & {
|
|
739
|
-
visual?: never;
|
|
740
|
-
loading?: never;
|
|
741
|
-
};
|
|
742
|
-
/** DataWidget frame for charts, DataTable, metrics, or a custom data display.
|
|
743
|
-
* Owns alternate-view selection and shares it with inspection. Built-in charts own
|
|
744
|
-
* transient tooltips; lift persistent custom interactions above both mounts.
|
|
745
|
-
* For narrative prose use the sibling TextWidget, which composes DataWidget directly. */
|
|
746
|
-
type VisualizationWidgetProps<Data = unknown> = UnboundVisualizationWidgetProps | (BoundVisualizationWidgetBase<Data> & {
|
|
747
|
-
children: (data: Data) => ReactNode;
|
|
748
|
-
views?: never;
|
|
749
|
-
}) | (BoundVisualizationWidgetBase<Data> & {
|
|
750
|
-
views: readonly VisualizationWidgetView<Data>[];
|
|
751
|
-
viewLabel: string;
|
|
752
|
-
/** An existing view ID; defaults to the first view. Validated while loading too. */
|
|
753
|
-
initialView?: string;
|
|
754
|
-
children?: never;
|
|
755
|
-
});
|
|
756
|
-
/** Compose an unframed visual with the shared heading and inspection. */
|
|
757
|
-
declare function VisualizationWidget<Data>(props: VisualizationWidgetProps<Data>): import("react").JSX.Element;
|
|
758
|
-
//#endregion
|
|
759
618
|
//#region src/ui/HelpPopover.d.ts
|
|
760
619
|
type HelpPopoverTriggerProps = Omit<ComponentPropsWithRef<'button'>, 'children' | 'type'> & DataAppStyleHooks;
|
|
761
620
|
type HelpPopoverPanelProps = Omit<ComponentPropsWithRef<'section'>, 'children' | 'role'>;
|
|
@@ -928,5 +787,5 @@ type DateTimeRangePickerProps = {
|
|
|
928
787
|
*/
|
|
929
788
|
declare function DateTimeRangePicker({ value, onChange, liveOption, comparison, isDefault, onReset, calendarFooter, className, placeholder, label, labelPlacement, maxRangeDays, policy, presets: configuredPresets, disabled }: DateTimeRangePickerProps): import("react").JSX.Element;
|
|
930
789
|
//#endregion
|
|
931
|
-
export {
|
|
790
|
+
export { DataTableSearch as $, DataAppProvider as A, AboutEmpty as At, TableWidgetSearch as B, ColumnIdentifier as Bt, DateTimeRangeFilter as C, StoryFinding as Ct, dateTimeRangeFilter as D, WidgetEvidence as Dt, DateTimeRangeSelection as E, MetricDefinition as Et, DataAppStylesOptions as F, SheetProps as Ft, SearchRange as G, SearchHit as H, TableIdentifier as Ht, injectDataAppStyles as I, Button$1 as It, WidgetStatus as J, matchSearchText as K, TableDisplayMode as L, ButtonProps as Lt, DataAppStyle as M, AboutTab as Mt, DataAppStyleHooks as N, InspectionRecords as Nt, dateTimeRangePresets as O, AboutData as Ot, DataAppStyleToken as P, Sheet as Pt, DataTableProps as Q, TableWidgetColumn as R, PressButton as Rt, DateTimeRangeComparison as S, BoundStory as St, DateTimeRangePreset$1 as T, PresentStoryProps as Tt, SearchItemsOptions as U, defineDataIdentifiers as Ut, SearchAttribute as V, DataIdentifierDefinition as Vt, SearchMatchValue as W, DataTableEmptyRow as X, DataTable as Y, DataTableEmptyRowProps as Z, HelpPopoverProps as _, AuthoringDataContext as _t, DateDisplay as a, SearchTypeaheadProps as at, Notice as b, GlossaryEntry as bt, SectionHeadingProps as c, CsvCell as ct, TooltipProvider as d, ExplorationAction as dt, DataTableShare as et, TooltipProviderProps as f, ExplorationActionControl as ft, HelpPopover as g, EmptyContent as gt, AppIconProps as h, BoundWidgetReading as ht, useDateFormatting as i, SearchTypeahead as it, mountDataApp as j, AboutSubject as jt, useAppFilters as k, AboutDataProps as kt, Tooltip as l, CsvExport as lt, AppIconName as m, ItemActions as mt, DateTimeRangePickerProps as n, DataTableTimestampProps as nt, DateDisplayProps as o, SearchField as ot, AppIcon as p, ExplorationActionControlProps as pt, searchItems as q, ControlLabelPlacement as r, SearchSuggestion as rt, SectionHeading as s, SearchFieldProps as st, DateTimeRangePicker as t, DataTableTimestamp as tt, TooltipProps as u, CsvTable as ut, DataWidget as v, DataContext as vt, DateTimeRangeFilterOptions as w, PresentStory as wt, NoticeProps as x, createDataContext as xt, DataWidgetProps as y, EvidenceDeclaration as yt, TableWidgetProps as z, MetricComparison as zt };
|
|
932
791
|
//# sourceMappingURL=DateTimeRangePicker.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as TableWidgetSearch, Bt as ColumnIdentifier, C as DateTimeRangeFilter, Ct as StoryFinding, Dt as WidgetEvidence, Et as MetricDefinition, F as DataAppStylesOptions, Ht as TableIdentifier, I as injectDataAppStyles, It as Button, J as WidgetStatus, L as TableDisplayMode, Lt as ButtonProps, M as DataAppStyle, N as DataAppStyleHooks, Nt as InspectionRecords, P as DataAppStyleToken, R as TableWidgetColumn, Ut as defineDataIdentifiers, Vt as DataIdentifierDefinition, _ as HelpPopoverProps, _t as AuthoringDataContext, a as DateDisplay, b as Notice, bt as GlossaryEntry, c as SectionHeadingProps, ct as CsvCell, d as TooltipProvider, f as TooltipProviderProps, gt as EmptyContent, ht as BoundWidgetReading, i as useDateFormatting, j as mountDataApp, l as Tooltip, m as AppIconName, mt as ItemActions, n as DateTimeRangePickerProps, o as DateDisplayProps, rt as SearchSuggestion, s as SectionHeading, t as DateTimeRangePicker, u as TooltipProps, ut as CsvTable, vt as DataContext, x as NoticeProps, xt as createDataContext, y as DataWidgetProps, yt as EvidenceDeclaration, z as TableWidgetProps$1, zt as MetricComparison } from "./chunks/DateTimeRangePicker.js";
|
|
2
2
|
import { DataClient, InputOf, OutputOf } from "@altertable/data-app/client";
|
|
3
3
|
import { ChoiceFilter, DataReading, DataView, DisplayedSnapshot, FilterCollection, FilterInput, FilterValues, IsUnion, MetricReading, MetricValues, MetricValues as MetricValues$1 } from "@altertable/data-app/internal";
|
|
4
4
|
import { ComponentPropsWithRef, ReactNode, Ref, RefObject } from "react";
|
|
@@ -37,6 +37,7 @@ type FilterControls = {
|
|
|
37
37
|
/** Every filter one client's operations read, and the hook rendering their controls. */
|
|
38
38
|
type ClientFilters = {
|
|
39
39
|
filters: FilterCollection;
|
|
40
|
+
widgets: ReadonlyMap<string, WidgetTarget>;
|
|
40
41
|
useControls: () => FilterControls;
|
|
41
42
|
};
|
|
42
43
|
//#endregion
|
|
@@ -62,6 +63,15 @@ declare class ViewContent<Data, Input> {
|
|
|
62
63
|
view: DeclaredView<Data, Input, unknown>;
|
|
63
64
|
};
|
|
64
65
|
}
|
|
66
|
+
type WidgetContentOptions = {
|
|
67
|
+
/** Stable ID for `?_widget=<id>`. Use lowercase letters and digits separated by single hyphens. IDs must be unique within this `createDataHooks()` instance. */
|
|
68
|
+
id: string;
|
|
69
|
+
/** Wait for custom asynchronous drawing after the selected data commits. Return when ready, including if drawing already finished. Reject on render failure and stop observing when the signal aborts. */
|
|
70
|
+
waitForReady?: (element: HTMLElement, signal: AbortSignal) => void | Promise<void>;
|
|
71
|
+
};
|
|
72
|
+
type WidgetTarget = WidgetContentOptions & {
|
|
73
|
+
content: ViewContent<any, any>;
|
|
74
|
+
};
|
|
65
75
|
//#endregion
|
|
66
76
|
//#region src/view.d.ts
|
|
67
77
|
type ViewDefinition<Name extends string, Input, Data> = {
|
|
@@ -80,9 +90,10 @@ type ResolvedViewDefinition<Name extends string, Filters extends FilterCollectio
|
|
|
80
90
|
/** The operation's date filter, which sets the reporting period. */
|
|
81
91
|
dateFilter?: keyof Filters & string;
|
|
82
92
|
};
|
|
83
|
-
/** Omit both for a result that is never empty, such as a total. */
|
|
93
|
+
/** Omit both for rows, or for a result that is never empty, such as a total. */
|
|
84
94
|
type ViewEmptiness<Data> = {
|
|
85
|
-
/** App-owned semantics: measured zero need not mean an empty result.
|
|
95
|
+
/** App-owned semantics: measured zero need not mean an empty result.
|
|
96
|
+
* @default A result with no rows is empty; any other result never is */
|
|
86
97
|
isEmpty?: (data: Data) => boolean;
|
|
87
98
|
/** Inherited by DataSection unless it supplies its own copy. */
|
|
88
99
|
emptyFallback?: EmptyContent;
|
|
@@ -208,7 +219,8 @@ type SourceReading<Source, Value> = Source extends {
|
|
|
208
219
|
loading: false;
|
|
209
220
|
value: Value;
|
|
210
221
|
};
|
|
211
|
-
/** Keys supply IDs; accessors supply raw CSV values. Formats affect display only.
|
|
222
|
+
/** Keys supply IDs; accessors supply raw CSV values. Formats affect display only.
|
|
223
|
+
* A column named after a row field reads that field; set `value` for computed columns. */
|
|
212
224
|
type DatasetColumn<Row> = {
|
|
213
225
|
label?: string;
|
|
214
226
|
} & ({
|
|
@@ -228,10 +240,41 @@ type DatasetColumn<Row> = {
|
|
|
228
240
|
kind: 'date';
|
|
229
241
|
}>;
|
|
230
242
|
});
|
|
243
|
+
/** A column that reads the row field named by its key. */
|
|
244
|
+
type DatasetFieldColumn<Row> = {
|
|
245
|
+
label?: string;
|
|
246
|
+
value?: never;
|
|
247
|
+
format?: ((row: Row) => ReactNode) | MetricFormat | DateFormat;
|
|
248
|
+
};
|
|
249
|
+
/** The field values a format can display. */
|
|
250
|
+
type FormattedField<Format> = Format extends {
|
|
251
|
+
kind: 'date';
|
|
252
|
+
} ? string | null | undefined : Format extends {
|
|
253
|
+
kind: 'dateTime';
|
|
254
|
+
} ? string | number | null | undefined : Format extends MetricFormat ? number | null | undefined : CsvCell;
|
|
255
|
+
/** Checks columns without `value`: the key must name a row field its format can display.
|
|
256
|
+
* A failed check asks for the explicit accessor. TypeScript cannot run this check when
|
|
257
|
+
* the same dataset declares inline accessors; a misnamed column then shows missing values. */
|
|
258
|
+
type DatasetColumns<Row, Columns> = string extends keyof Columns ? unknown : { [Key in keyof Columns]: Columns[Key] extends {
|
|
259
|
+
value: object;
|
|
260
|
+
} ? unknown : FormattedField<Columns[Key] extends {
|
|
261
|
+
format: infer Format;
|
|
262
|
+
} ? Format : undefined> extends (infer Field) ? Key extends keyof Row ? [Row[Key]] extends [Field] ? unknown : {
|
|
263
|
+
value: (row: Row) => Field;
|
|
264
|
+
} : {
|
|
265
|
+
value: (row: Row) => Field;
|
|
266
|
+
} : never; };
|
|
267
|
+
/** The rows of an operation that returns them directly. */
|
|
268
|
+
type DatasetRows<Data> = Data extends readonly (infer Row)[] ? Row : never;
|
|
269
|
+
/** `select` is required unless the operation returns the rows themselves. */
|
|
270
|
+
type DatasetSelect<Data, Input, Row> = Data extends readonly unknown[] ? unknown : {
|
|
271
|
+
select: (data: Data, input: Input) => readonly Row[];
|
|
272
|
+
};
|
|
231
273
|
type DatasetDefinition<Data, Input, Row, Evidence = WidgetEvidence> = {
|
|
232
274
|
name: string;
|
|
233
|
-
|
|
234
|
-
|
|
275
|
+
/** Rows to bind. Omit when the operation returns the rows themselves. */
|
|
276
|
+
select?: (data: Data, input: Input) => readonly Row[];
|
|
277
|
+
columns: Record<string, DatasetColumn<NoInfer<Row>> | DatasetFieldColumn<NoInfer<Row>>>;
|
|
235
278
|
rowKey: (row: NoInfer<Row>) => string | number;
|
|
236
279
|
evidence: Evidence;
|
|
237
280
|
emptyFallback?: EmptyContent;
|
|
@@ -327,6 +370,11 @@ declare class MetricRecords<Data, Input, DetailData, DetailInput> {
|
|
|
327
370
|
//#endregion
|
|
328
371
|
//#region src/hooks.d.ts
|
|
329
372
|
type NonEmptyColumns<Columns extends object> = keyof Columns extends never ? never : Columns;
|
|
373
|
+
/** A view's dataset: rows default to the operation's result, and a column named
|
|
374
|
+
* after a row field reads it. Evidence references are checked against the view's context. */
|
|
375
|
+
type BoundDatasetDefinition<Data, Input, Row, Columns extends Record<string, object>, Context extends AuthoringDataContext> = DatasetDefinition<Data, Input, Row, Parameters<Context['evidence']>[0]> & DatasetSelect<Data, Input, Row> & {
|
|
376
|
+
columns: Columns & NonEmptyColumns<Columns> & DatasetColumns<NoInfer<Row>, NoInfer<Columns>>;
|
|
377
|
+
};
|
|
330
378
|
/** The filters an operation declares; `{}` when it reads none. */
|
|
331
379
|
type FiltersOf<Operation> = Operation extends {
|
|
332
380
|
filters: infer Filters extends FilterCollection;
|
|
@@ -348,20 +396,17 @@ type BoundView<Name extends string, Filters extends FilterCollection, Data, Cont
|
|
|
348
396
|
}> & {
|
|
349
397
|
filter(): FilterTarget<FilterPatch<Filters>>;
|
|
350
398
|
breakdown<Key extends DisplayChoiceName<Filters>>(key: Key): Filters[Key] extends ChoiceFilter<infer Value> ? BreakdownTarget<Value> : never;
|
|
351
|
-
dataset<Row
|
|
352
|
-
columns: Columns & NonEmptyColumns<Columns>;
|
|
353
|
-
}): Dataset<Data, FilterInput<Filters>, Row>;
|
|
399
|
+
dataset<Row = DatasetRows<Data>, const Columns extends Record<string, object> = Record<string, object>>(definition: BoundDatasetDefinition<Data, FilterInput<Filters>, Row, Columns, Context>): Dataset<Data, FilterInput<Filters>, Row>;
|
|
354
400
|
metric(definition: Parameters<Context['metric']>[0], select: (data: Data, input: FilterInput<Filters>) => HasPeriod<Filters> extends true ? MetricValues$1 : {
|
|
355
401
|
current: number;
|
|
356
402
|
previous?: never;
|
|
357
403
|
}): Metric<Data, FilterInput<Filters>>;
|
|
358
404
|
scope(snapshot: DisplayedSnapshot<Data, FilterInput<Filters>>): string;
|
|
359
|
-
|
|
405
|
+
/** Options are optional. For a read-only `?_widget=<id>` link, declare content at module scope with a stable `id`. Use `waitForReady` for custom asynchronous drawing. */
|
|
406
|
+
content(render: (state: DataContentState<Data, FilterInput<Filters>>) => ReactNode, options?: WidgetContentOptions): ViewContent<Data, FilterInput<Filters>>;
|
|
360
407
|
};
|
|
361
408
|
type BoundDetailView<Data, Input, Context extends AuthoringDataContext, Own = Input> = DetailView<Data, Input, Own> & {
|
|
362
|
-
dataset<Row
|
|
363
|
-
columns: Columns & NonEmptyColumns<Columns>;
|
|
364
|
-
}): Dataset<Data, Input, Row>;
|
|
409
|
+
dataset<Row = DatasetRows<Data>, const Columns extends Record<string, object> = Record<string, object>>(definition: BoundDatasetDefinition<Data, Input, Row, Columns, Context>): Dataset<Data, Input, Row>;
|
|
365
410
|
metric(definition: Parameters<Context['metric']>[0], select: (data: Data, input: Input) => {
|
|
366
411
|
current: number;
|
|
367
412
|
previous?: never;
|
|
@@ -380,6 +425,31 @@ export declare function createDataHooks<Operations extends DataOperations>(clien
|
|
|
380
425
|
}) => BoundDetailView<OutputOf<Operations[Name]>, InputOf<Operations[Name]>, Context, DetailOwnInput<Operations[Name]>>;
|
|
381
426
|
};
|
|
382
427
|
//#endregion
|
|
428
|
+
//#region src/ui/DataAppFrame.d.ts
|
|
429
|
+
type DataAppBaseProps = {
|
|
430
|
+
children: ReactNode;
|
|
431
|
+
dataContext: DataContext;
|
|
432
|
+
/** Override the declared subtitle; null hides it. */
|
|
433
|
+
description?: ReactNode;
|
|
434
|
+
/** Show page actions. Defaults to true; does not hide filters or data states.
|
|
435
|
+
* Embedded surfaces have no toolbar: the host runs page actions through its bridge. */
|
|
436
|
+
showToolbar?: boolean;
|
|
437
|
+
/** Standalone toolbar controls; embedded surfaces omit them. */
|
|
438
|
+
toolbarActions?: ReactNode;
|
|
439
|
+
/** Standalone footer controls; embedded surfaces omit them. */
|
|
440
|
+
footerActions?: ReactNode;
|
|
441
|
+
/** Optional source, coverage, or methodology note below the app content.
|
|
442
|
+
* Compose prose and inline components; typography and spacing are provided.
|
|
443
|
+
* Put data widgets in children and app controls in footerActions. */
|
|
444
|
+
footer?: ReactNode;
|
|
445
|
+
};
|
|
446
|
+
type DataAppControlProps = {
|
|
447
|
+
/** Show declared search controls. Defaults to true; hiding preserves their values. */
|
|
448
|
+
showSearch?: boolean;
|
|
449
|
+
/** Show declared filter controls, including display options. Defaults to true; hiding preserves their values. */
|
|
450
|
+
showFilters?: boolean;
|
|
451
|
+
};
|
|
452
|
+
//#endregion
|
|
383
453
|
//#region src/ui/DataApp.d.ts
|
|
384
454
|
/** A declared data or time view that `<DataApp>` can run and describe. */
|
|
385
455
|
type DataAppView<Data, Input> = DeclaredView<Data, Input> & {
|
|
@@ -396,6 +466,14 @@ type ExportOf<View> = View extends {
|
|
|
396
466
|
type StoryFindings = readonly (Omit<StoryFinding, 'evidence'> & {
|
|
397
467
|
evidence: RegisteredBinding;
|
|
398
468
|
})[];
|
|
469
|
+
/** A setup or static screen: the page shell without a view, filters, story, or export. */
|
|
470
|
+
type DataAppScreenProps = DataAppBaseProps & {
|
|
471
|
+
view?: never;
|
|
472
|
+
summaryViews?: never;
|
|
473
|
+
story?: never;
|
|
474
|
+
datasets?: never;
|
|
475
|
+
details?: never;
|
|
476
|
+
};
|
|
399
477
|
type DataAppProps<Data, Input = unknown, SummaryViews extends readonly AnyView[] = []> = Omit<DataAppBaseProps, 'dataContext'> & DataAppControlProps & {
|
|
400
478
|
/** The headline view. `<DataApp>` renders the controls for every filter its
|
|
401
479
|
* client's operations read and owns their URL state. */
|
|
@@ -413,8 +491,10 @@ type DataAppProps<Data, Input = unknown, SummaryViews extends readonly AnyView[]
|
|
|
413
491
|
/** Detail destinations available to dataset actions and metric record inspection. */
|
|
414
492
|
details?: readonly DetailContent<any, any>[];
|
|
415
493
|
};
|
|
494
|
+
/** Renders a setup or static screen from its `dataContext` and children. */
|
|
495
|
+
export declare function DataApp(props: DataAppScreenProps): ReactNode;
|
|
416
496
|
/** Executes the primary view and its summary views, and owns controls, inspection, exports, and stories. */
|
|
417
|
-
export declare function DataApp<Data, Input, const SummaryViews extends readonly AnyView[] = []>(props: DataAppProps<Data, Input, SummaryViews>):
|
|
497
|
+
export declare function DataApp<Data, Input, const SummaryViews extends readonly AnyView[] = []>(props: DataAppProps<Data, Input, SummaryViews>): ReactNode;
|
|
418
498
|
//#endregion
|
|
419
499
|
//#region src/ui/Stack.d.ts
|
|
420
500
|
type StackProps = {
|
|
@@ -450,6 +530,111 @@ type TextContentProps = ComponentPropsWithRef<'div'>;
|
|
|
450
530
|
/** Prose typography for page introductions, widget bodies, and inspection content. */
|
|
451
531
|
export declare function TextContent({ className, ...props }: TextContentProps): import("react").JSX.Element;
|
|
452
532
|
//#endregion
|
|
533
|
+
//#region src/ui/DataValue.d.ts
|
|
534
|
+
type DataValueProps$1<Value> = {
|
|
535
|
+
reading: DataReading<Value>;
|
|
536
|
+
loadingFallback: ReactNode;
|
|
537
|
+
children: (value: Value) => ReactNode;
|
|
538
|
+
} & Omit<ComponentPropsWithRef<'span'>, 'children'>;
|
|
539
|
+
//#endregion
|
|
540
|
+
//#region src/ui/MetricWidget.d.ts
|
|
541
|
+
type MetricWidgetBaseProps = {
|
|
542
|
+
label: string;
|
|
543
|
+
/** Document outline level. The label keeps the shared widget-heading appearance. */
|
|
544
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
545
|
+
annotationId?: string;
|
|
546
|
+
description?: ReactNode;
|
|
547
|
+
comparison?: MetricComparison;
|
|
548
|
+
evidence?: WidgetEvidence;
|
|
549
|
+
records?: InspectionRecords;
|
|
550
|
+
action?: ReactNode;
|
|
551
|
+
status?: WidgetStatus;
|
|
552
|
+
visual?: ReactNode;
|
|
553
|
+
} & Omit<ComponentPropsWithRef<'div'>, 'about' | 'children'>;
|
|
554
|
+
type UnboundMetricWidgetProps = MetricWidgetBaseProps & ({
|
|
555
|
+
loading: true;
|
|
556
|
+
value?: never;
|
|
557
|
+
format?: never;
|
|
558
|
+
content?: never;
|
|
559
|
+
} | ({
|
|
560
|
+
loading?: false;
|
|
561
|
+
} & ({
|
|
562
|
+
value: number;
|
|
563
|
+
format: MetricFormat;
|
|
564
|
+
content?: never;
|
|
565
|
+
} | {
|
|
566
|
+
content: ReactNode;
|
|
567
|
+
value?: never;
|
|
568
|
+
format?: never;
|
|
569
|
+
})));
|
|
570
|
+
/** VisualizationWidget with a formatted metric, optional comparison, and evidence. */
|
|
571
|
+
type MetricWidgetProps$1 = UnboundMetricWidgetProps | (Omit<MetricWidgetBaseProps, 'label' | 'comparison' | 'evidence'> & {
|
|
572
|
+
metric: MetricDefinition;
|
|
573
|
+
reading: MetricReading;
|
|
574
|
+
label?: never;
|
|
575
|
+
value?: never;
|
|
576
|
+
format?: never;
|
|
577
|
+
content?: never;
|
|
578
|
+
comparison?: never;
|
|
579
|
+
evidence?: never;
|
|
580
|
+
loading?: never;
|
|
581
|
+
});
|
|
582
|
+
//#endregion
|
|
583
|
+
//#region src/ui/TextWidget.d.ts
|
|
584
|
+
type TextWidgetBaseProps = Omit<Extract<DataWidgetProps, {
|
|
585
|
+
reading?: never;
|
|
586
|
+
}>, 'reading' | 'children' | 'isEmpty' | 'empty' | 'skeleton' | 'bodyPadding'>;
|
|
587
|
+
/** Narrative sibling of VisualizationWidget, composing DataWidget with TextContent.
|
|
588
|
+
* Use TextContent directly for borderless prose. Bind claims and scope to the same displayed reading.
|
|
589
|
+
* The renderer handles every ready value, including zero and empty collections. */
|
|
590
|
+
type TextWidgetProps$1<Data = unknown> = TextWidgetBaseProps & ({
|
|
591
|
+
reading: DataReading<Data>;
|
|
592
|
+
evidence: WidgetEvidence;
|
|
593
|
+
children: (data: Data) => ReactNode;
|
|
594
|
+
} | {
|
|
595
|
+
reading?: never;
|
|
596
|
+
children: ReactNode;
|
|
597
|
+
});
|
|
598
|
+
//#endregion
|
|
599
|
+
//#region src/ui/VisualizationWidget.d.ts
|
|
600
|
+
type VisualizationWidgetBaseProps = Pick<DataWidgetProps, 'title' | 'headingLevel' | 'annotationId' | 'description' | 'count' | 'action' | 'evidence' | 'records' | 'status' | 'emptyFallback'> & {
|
|
601
|
+
/** Footer controls, such as table pagination. */
|
|
602
|
+
footer?: ReactNode;
|
|
603
|
+
} & Omit<ComponentPropsWithRef<'section'>, 'about' | 'title' | 'children'>;
|
|
604
|
+
type UnboundVisualizationWidgetProps = VisualizationWidgetBaseProps & ({
|
|
605
|
+
loading: true;
|
|
606
|
+
loadingContent?: ReactNode;
|
|
607
|
+
visual?: never;
|
|
608
|
+
} | {
|
|
609
|
+
loading?: false;
|
|
610
|
+
visual: ReactNode;
|
|
611
|
+
loadingContent?: never;
|
|
612
|
+
});
|
|
613
|
+
type VisualizationWidgetView$1<Data> = {
|
|
614
|
+
/** Stable, nonempty identity; unique within this widget. */
|
|
615
|
+
id: string;
|
|
616
|
+
label: ReactNode;
|
|
617
|
+
render: (data: Data) => ReactNode;
|
|
618
|
+
};
|
|
619
|
+
type BoundVisualizationWidgetBase<Data> = VisualizationWidgetBaseProps & BoundWidgetReading<Data> & {
|
|
620
|
+
visual?: never;
|
|
621
|
+
loading?: never;
|
|
622
|
+
};
|
|
623
|
+
/** DataWidget frame for charts, DataTable, metrics, or a custom data display.
|
|
624
|
+
* Owns alternate-view selection and shares it with inspection. Built-in charts own
|
|
625
|
+
* transient tooltips; lift persistent custom interactions above both mounts.
|
|
626
|
+
* For narrative prose use the sibling TextWidget, which composes DataWidget directly. */
|
|
627
|
+
type VisualizationWidgetProps$1<Data = unknown> = UnboundVisualizationWidgetProps | (BoundVisualizationWidgetBase<Data> & {
|
|
628
|
+
children: (data: Data) => ReactNode;
|
|
629
|
+
views?: never;
|
|
630
|
+
}) | (BoundVisualizationWidgetBase<Data> & {
|
|
631
|
+
views: readonly VisualizationWidgetView$1<Data>[];
|
|
632
|
+
viewLabel: string;
|
|
633
|
+
/** An existing view ID; defaults to the first view. Validated while loading too. */
|
|
634
|
+
initialView?: string;
|
|
635
|
+
children?: never;
|
|
636
|
+
});
|
|
637
|
+
//#endregion
|
|
453
638
|
//#region src/widgets.d.ts
|
|
454
639
|
type MetricWidgetProps<Data = unknown, Input = unknown> = Omit<Extract<MetricWidgetProps$1, {
|
|
455
640
|
metric: MetricDefinition;
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as DataTableSearch, A as DataAppProvider, At as AboutEmpty, C as DateTimeRangeFilter, Ct as StoryFinding, D as dateTimeRangeFilter, E as DateTimeRangeSelection, Ft as SheetProps, G as SearchRange, H as SearchHit, I as injectDataAppStyles, J as WidgetStatus, K as matchSearchText, M as DataAppStyle, Mt as AboutTab, N as DataAppStyleHooks, O as dateTimeRangePresets, Ot as AboutData, P as DataAppStyleToken, Pt as Sheet, Q as DataTableProps, R as TableWidgetColumn, Rt as PressButton, S as DateTimeRangeComparison, St as BoundStory, T as DateTimeRangePreset, Tt as PresentStoryProps, U as SearchItemsOptions, V as SearchAttribute, W as SearchMatchValue, X as DataTableEmptyRow, Y as DataTable, Z as DataTableEmptyRowProps, _ as HelpPopoverProps, a as DateDisplay, at as SearchTypeaheadProps, b as Notice, bt as GlossaryEntry, c as SectionHeadingProps, d as TooltipProvider, dt as ExplorationAction, et as DataTableShare, f as TooltipProviderProps, ft as ExplorationActionControl, g as HelpPopover, h as AppIconProps, i as useDateFormatting, it as SearchTypeahead, jt as AboutSubject, k as useAppFilters, kt as AboutDataProps, l as Tooltip, lt as CsvExport, m as AppIconName, mt as ItemActions, n as DateTimeRangePickerProps, nt as DataTableTimestampProps, o as DateDisplayProps, ot as SearchField, p as AppIcon, pt as ExplorationActionControlProps, q as searchItems, r as ControlLabelPlacement, rt as SearchSuggestion, s as SectionHeading, st as SearchFieldProps, t as DateTimeRangePicker, tt as DataTableTimestamp, u as TooltipProps, ut as CsvTable, v as DataWidget, vt as DataContext, w as DateTimeRangeFilterOptions, wt as PresentStory, x as NoticeProps, y as DataWidgetProps } from "../chunks/DateTimeRangePicker.js";
|
|
2
2
|
import { DataClient } from "@altertable/data-app/client";
|
|
3
3
|
import { ChoiceOption, ChoiceOption as ChoiceOption$1, DataReading, DimensionSelectionFilter, DimensionValue, MetricReading } from "@altertable/data-app/internal";
|
|
4
4
|
import { ComponentProps, ComponentPropsWithRef, ReactNode, RefAttributes } from "react";
|
|
@@ -127,7 +127,7 @@ export declare function TabList<T>({ className, ref, ...props }: TabListProps<T>
|
|
|
127
127
|
export declare function Tab(props: ComponentPropsWithRef<typeof Tab$1>): import("react").JSX.Element;
|
|
128
128
|
export declare function TabPanel(props: ComponentPropsWithRef<typeof TabPanel$1>): import("react").JSX.Element;
|
|
129
129
|
export declare function Tabs({ className, ...props }: ComponentPropsWithRef<typeof Tabs$1>): import("react").JSX.Element;
|
|
130
|
-
/** Keep a page-level tab in `?
|
|
130
|
+
/** Keep a page-level tab in `?_view=`; reserve `?_tab=` for the inspect sheet. */
|
|
131
131
|
export declare function useViewTab<View extends string>(views: readonly View[], fallback: View): [View, (key: string | number) => void];
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/ui/GlossaryExplanation.d.ts
|
|
@@ -168,11 +168,6 @@ type CheckboxProps = {
|
|
|
168
168
|
});
|
|
169
169
|
export declare function Checkbox({ label, description, checked, value, onChange, disabled, className }: CheckboxProps): import("react").JSX.Element;
|
|
170
170
|
//#endregion
|
|
171
|
-
//#region src/ui/StaticDataApp.d.ts
|
|
172
|
-
type DataAppProps = StaticDataAppProps;
|
|
173
|
-
/** Setup and static screens; fetched data uses the declared-view DataApp. */
|
|
174
|
-
export declare function DataApp({ csvExport, ...props }: DataAppProps): import("react").JSX.Element;
|
|
175
|
-
//#endregion
|
|
176
171
|
//#region src/ui/use-chart-cursor-group.d.ts
|
|
177
172
|
declare const groupBrand: unique symbol;
|
|
178
173
|
/** Opaque shared-cursor handle. Create with useChartCursorGroup and pass through chart cursorGroup props. */
|
|
@@ -463,7 +458,7 @@ type ComposedChartProps<Row = unknown> = HorizontalGridProps & Omit<ComponentPro
|
|
|
463
458
|
* for stacks. Preserve missing measures as null and choose connectNulls deliberately.
|
|
464
459
|
* Use public chart tokens for series colors. Dataset bindings own
|
|
465
460
|
* loading, empty results, evidence, and CSV; this primitive owns only the plot. */
|
|
466
|
-
declare function ComposedChartRoot<Row>(
|
|
461
|
+
declare function ComposedChartRoot<Row>(props: ComposedChartProps<Row>): import("react").JSX.Element;
|
|
467
462
|
/** Shared themed series and controls; other children retain native Recharts defaults. */
|
|
468
463
|
export declare const ComposedChart: typeof ComposedChartRoot & {
|
|
469
464
|
Dot: typeof ChartDot;
|
|
@@ -603,12 +598,5 @@ export declare function JourneyChart({ paths, unit, ariaLabel, className, format
|
|
|
603
598
|
/** Stable React ID for SVG definitions and their URL references; safe with identifier prefixes. */
|
|
604
599
|
export declare function useSvgId(): string;
|
|
605
600
|
//#endregion
|
|
606
|
-
|
|
607
|
-
export declare const TextWidget: typeof TextWidget$1;
|
|
608
|
-
/** Compose an unframed visual with the shared heading and inspection. */
|
|
609
|
-
export declare const VisualizationWidget: typeof VisualizationWidget$1;
|
|
610
|
-
export declare const TableWidget: typeof TableWidget$1;
|
|
611
|
-
export declare const MetricWidget: typeof MetricWidget$1;
|
|
612
|
-
//#endregion
|
|
613
|
-
export { AboutData, type AboutDataProps, type AboutEmpty, type AboutSubject, type AboutTab, AppIcon, type AppIconName, type AppIconProps, type AreaChartItem, type AreaChartProps, type BarChartItem, type BarChartProps, type BoundStory, type ChartCursorGroup, type ChartLegendItemProps, type ChartLegendLabelProps, type ChartLegendMarkerKind, type ChartLegendMarkerProps, type ChartLegendProps, type CheckboxGroupProps, type CheckboxProps, type ChoiceOption, type ChoicePickerProps, type ComposedChartLegendProps, type ComposedChartProps, type ControlBarProps, type CsvExport, type CsvTable, type DataAppProps, DataAppProvider, type DataAppStyle, type DataAppStyleHooks, type DataAppStyleToken, type DataReading, DataTable, DataTableEmptyRow, type DataTableEmptyRowProps, type DataTableProps, type DataTableSearch, DataTableShare, DataTableTimestamp, type DataTableTimestampProps, DataValue, type DataValueProps, DataWidget, type DataWidgetProps, DateDisplay, type DateDisplayProps, type DateTimeRangeComparison, type DateTimeRangeFilter, type DateTimeRangeFilterOptions, DateTimeRangePicker, type DateTimeRangePickerProps, type DateTimeRangePreset, type DateTimeRangeSelection, type ExplorationAction, ExplorationActionControl, type ExplorationActionControlProps, type FilterActionsProps, type FilterBarProps, type FunnelChartProps, type FunnelChartSeries, type FunnelChartStep, type GlossaryDefinitionProps, type GlossaryExplanationProps, type GradientScrollProps, HelpPopover, type HelpPopoverProps, type ItemActions, type JourneyChartPath, type JourneyChartProps, type LineChartItem, type LineChartProps, type LiveControlProps, type LiveIntervalSeconds, PressButton as MenuButton, type MenuItemProps, type MenuPopoverProps, type MenuProps, MenuSection, MenuTrigger, type MenuTriggerProps, type MetricReading, type MetricWidgetProps, Notice, type NoticeProps, type NumberFieldProps, type NumberFilterPickerProps, type NumberRange, type NumberRangeFieldProps, type PieChartItem, type PieChartProps, PresentStory, type PresentStoryProps, type RadioGroupProps, type RadioProps, type RetentionChartPoint, type RetentionChartProps, type RetentionChartSeries, type ScatterChartItem, type ScatterChartProps, type SearchAttribute, SearchField, type SearchFieldProps, type SearchHit, type SearchItemsOptions, type SearchMatchProps, type SearchMatchValue, type SearchRange, type SearchSuggestion, SearchTypeahead, type SearchTypeaheadProps, SectionHeading, type SectionHeadingProps, type SegmentedControlProps, type SelectProps, Sheet, type SheetProps, type ShimmerTextProps, type StoryFinding, TabPanels, type TableWidgetColumn, type TableWidgetProps, type TextWidgetProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type VisualizationWidgetProps, type WidgetStatus, dateTimeRangeFilter, dateTimeRangePresets, injectDataAppStyles, matchSearchText, searchItems, useAppFilters, useDateFormatting };
|
|
601
|
+
export { AboutData, type AboutDataProps, type AboutEmpty, type AboutSubject, type AboutTab, AppIcon, type AppIconName, type AppIconProps, type AreaChartItem, type AreaChartProps, type BarChartItem, type BarChartProps, type BoundStory, type ChartCursorGroup, type ChartLegendItemProps, type ChartLegendLabelProps, type ChartLegendMarkerKind, type ChartLegendMarkerProps, type ChartLegendProps, type CheckboxGroupProps, type CheckboxProps, type ChoiceOption, type ChoicePickerProps, type ComposedChartLegendProps, type ComposedChartProps, type ControlBarProps, type CsvExport, type CsvTable, DataAppProvider, type DataAppStyle, type DataAppStyleHooks, type DataAppStyleToken, type DataReading, DataTable, DataTableEmptyRow, type DataTableEmptyRowProps, type DataTableProps, type DataTableSearch, DataTableShare, DataTableTimestamp, type DataTableTimestampProps, DataWidget, type DataWidgetProps, DateDisplay, type DateDisplayProps, type DateTimeRangeComparison, type DateTimeRangeFilter, type DateTimeRangeFilterOptions, DateTimeRangePicker, type DateTimeRangePickerProps, type DateTimeRangePreset, type DateTimeRangeSelection, type ExplorationAction, ExplorationActionControl, type ExplorationActionControlProps, type FilterActionsProps, type FilterBarProps, type FunnelChartProps, type FunnelChartSeries, type FunnelChartStep, type GlossaryDefinitionProps, type GlossaryExplanationProps, type GradientScrollProps, HelpPopover, type HelpPopoverProps, type ItemActions, type JourneyChartPath, type JourneyChartProps, type LineChartItem, type LineChartProps, type LiveControlProps, type LiveIntervalSeconds, PressButton as MenuButton, type MenuItemProps, type MenuPopoverProps, type MenuProps, MenuSection, MenuTrigger, type MenuTriggerProps, type MetricReading, Notice, type NoticeProps, type NumberFieldProps, type NumberFilterPickerProps, type NumberRange, type NumberRangeFieldProps, type PieChartItem, type PieChartProps, PresentStory, type PresentStoryProps, type RadioGroupProps, type RadioProps, type RetentionChartPoint, type RetentionChartProps, type RetentionChartSeries, type ScatterChartItem, type ScatterChartProps, type SearchAttribute, SearchField, type SearchFieldProps, type SearchHit, type SearchItemsOptions, type SearchMatchProps, type SearchMatchValue, type SearchRange, type SearchSuggestion, SearchTypeahead, type SearchTypeaheadProps, SectionHeading, type SectionHeadingProps, type SegmentedControlProps, type SelectProps, Sheet, type SheetProps, type ShimmerTextProps, type StoryFinding, TabPanels, type TableWidgetColumn, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type WidgetStatus, dateTimeRangeFilter, dateTimeRangePresets, injectDataAppStyles, matchSearchText, searchItems, useAppFilters, useDateFormatting };
|
|
614
602
|
//# sourceMappingURL=index.d.ts.map
|