buckaroo-js-core 0.8.4 → 0.11.7
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/LICENSE +24 -12
- package/README.md +55 -51
- package/dist/index.cjs.js +114 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +60790 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.esm.js +60790 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/jest.setup.d.ts +0 -0
- package/dist/src/SampleComponent.d.ts +10 -0
- package/{buckaroo_js → dist/src}/baked_data/colorMap.d.ts +0 -1
- package/dist/src/baked_data/olympic-winners.d.ts +12 -0
- package/dist/src/components/BuckarooInfiniteWidget.flash.test.d.ts +1 -0
- package/dist/src/components/BuckarooStaticTable.d.ts +26 -0
- package/dist/src/components/BuckarooWidgetInfinite.d.ts +38 -0
- package/{buckaroo_js → dist/src}/components/ColumnsEditor.d.ts +5 -8
- package/{buckaroo_js → dist/src}/components/CommandUtils.d.ts +8 -5
- package/dist/src/components/DCFCell.d.ts +19 -0
- package/dist/src/components/DFViewerParts/ChartCell.d.ts +43 -0
- package/dist/src/components/DFViewerParts/DFViewerConfigs.d.ts +5 -0
- package/dist/src/components/DFViewerParts/DFViewerDataHelper.d.ts +20 -0
- package/dist/src/components/DFViewerParts/DFViewerInfinite.d.ts +43 -0
- package/dist/src/components/DFViewerParts/DFViewerInfinite.flash.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/DFViewerInfinite.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/DFWhole.d.ts +173 -0
- package/{buckaroo_js → dist/src}/components/DFViewerParts/Displayer.d.ts +20 -6
- package/dist/src/components/DFViewerParts/HistogramCell.d.ts +29 -0
- package/dist/src/components/DFViewerParts/HistogramCell.hooks.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/OtherRenderers.d.ts +5 -0
- package/dist/src/components/DFViewerParts/RowCache.d.ts +61 -0
- package/dist/src/components/DFViewerParts/RowCache.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/RowStore.d.ts +22 -0
- package/dist/src/components/DFViewerParts/RowStore.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/RowStoreGc.d.ts +22 -0
- package/dist/src/components/DFViewerParts/RowStoreGc.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/SeriesSummaryTooltip.d.ts +13 -0
- package/dist/src/components/DFViewerParts/SmartRowCache.d.ts +83 -0
- package/dist/src/components/DFViewerParts/SmartRowCache.test.d.ts +23 -0
- package/dist/src/components/DFViewerParts/Styler.d.ts +33 -0
- package/dist/src/components/DFViewerParts/TableInfinite.d.ts +10 -0
- package/dist/src/components/DFViewerParts/ViewRegistry.d.ts +21 -0
- package/dist/src/components/DFViewerParts/ViewRegistry.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/Views.d.ts +53 -0
- package/dist/src/components/DFViewerParts/Views.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/autocleaning.toggle.integration.test.d.ts +27 -0
- package/dist/src/components/DFViewerParts/gridUtils.d.ts +81 -0
- package/dist/src/components/DFViewerParts/gridUtils.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/resolveDFData.d.ts +29 -0
- package/dist/src/components/DFViewerParts/resolveDFData.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/xorqWindow.dom.test.d.ts +1 -0
- package/dist/src/components/DFViewerParts/xorqWindow.test.d.ts +1 -0
- package/{buckaroo_js → dist/src}/components/DependentTabs.d.ts +8 -13
- package/dist/src/components/MessageBox.d.ts +8 -0
- package/{buckaroo_js → dist/src}/components/OperationDetail.d.ts +4 -6
- package/dist/src/components/OperationExamples.d.ts +8 -0
- package/{buckaroo_js → dist/src}/components/OperationUtils.d.ts +1 -1
- package/dist/src/components/Operations.d.ts +14 -0
- package/dist/src/components/Operations.test.d.ts +4 -0
- package/dist/src/components/OperationsList.d.ts +9 -0
- package/dist/src/components/OperationsList.test.d.ts +0 -0
- package/dist/src/components/StatusBar.d.ts +15 -0
- package/{buckaroo_js → dist/src}/components/WidgetTypes.d.ts +3 -4
- package/dist/src/components/useColorScheme.d.ts +7 -0
- package/dist/src/components/utils.d.ts +299 -0
- package/dist/src/index.d.ts +59 -0
- package/dist/src/stories/BuckarooWidgetTest.stories.d.ts +12 -0
- package/dist/src/stories/ChartCell.stories.d.ts +20 -0
- package/dist/src/stories/ColumnsEditor.stories.d.ts +17 -0
- package/dist/src/stories/DFViewer.stories.d.ts +26 -0
- package/dist/src/stories/DFViewerInfiniteRaw.stories.d.ts +24 -0
- package/dist/src/stories/DFViewerInfiniteShadow.stories.d.ts +31 -0
- package/dist/src/stories/HistogramCell.stories.d.ts +18 -0
- package/dist/src/stories/InheritEdgeCases.stories.d.ts +12 -0
- package/dist/src/stories/InheritPinnedRows.stories.d.ts +13 -0
- package/dist/src/stories/MessageBox.stories.d.ts +26 -0
- package/dist/src/stories/OperationViewer.stories.d.ts +24 -0
- package/dist/src/stories/OperationsList.stories.d.ts +19 -0
- package/dist/src/stories/OutsideParamsInconsistency.stories.d.ts +16 -0
- package/dist/src/stories/PinnedRowsDynamic.stories.d.ts +12 -0
- package/dist/src/stories/PinnedRowsRace.stories.d.ts +12 -0
- package/dist/src/stories/PinnedRowsTranscriptReplayer.stories.d.ts +13 -0
- package/dist/src/stories/RawAGGrid.stories.d.ts +17 -0
- package/dist/src/stories/SmallDFScroll.stories.d.ts +11 -0
- package/dist/src/stories/StatusBar.stories.d.ts +19 -0
- package/dist/src/stories/StoryUtils.d.ts +13 -0
- package/dist/src/stories/Styling.stories.d.ts +15 -0
- package/dist/src/stories/StylingIssues.stories.d.ts +54 -0
- package/dist/src/stories/ThemeCustomization.stories.d.ts +22 -0
- package/dist/src/stories/UseMemoExamples.stories.d.ts +12 -0
- package/dist/src/stories/WeirdTypes.stories.d.ts +17 -0
- package/dist/src/test-utils/agGridSpy.d.ts +50 -0
- package/dist/src/widgetUtils.d.ts +1 -0
- package/dist/style.css +1 -0
- package/package.json +109 -101
- package/.prettierrc +0 -16
- package/CHANGELOG.md +0 -23
- package/buckaroo_js/baked_data/colorMap.d.ts.map +0 -1
- package/buckaroo_js/baked_data/colorMap.js +0 -520
- package/buckaroo_js/baked_data/colorMap.js.map +0 -1
- package/buckaroo_js/baked_data/staticData.d.ts +0 -124
- package/buckaroo_js/baked_data/staticData.d.ts.map +0 -1
- package/buckaroo_js/baked_data/staticData.js +0 -459
- package/buckaroo_js/baked_data/staticData.js.map +0 -1
- package/buckaroo_js/components/ColumnsEditor.d.ts.map +0 -1
- package/buckaroo_js/components/ColumnsEditor.js +0 -68
- package/buckaroo_js/components/ColumnsEditor.js.map +0 -1
- package/buckaroo_js/components/CommandUtils.d.ts.map +0 -1
- package/buckaroo_js/components/CommandUtils.js +0 -17
- package/buckaroo_js/components/CommandUtils.js.map +0 -1
- package/buckaroo_js/components/DCFCell.d.ts +0 -28
- package/buckaroo_js/components/DCFCell.d.ts.map +0 -1
- package/buckaroo_js/components/DCFCell.js +0 -120
- package/buckaroo_js/components/DCFCell.js.map +0 -1
- package/buckaroo_js/components/DFViewerParts/DFViewer.d.ts +0 -29
- package/buckaroo_js/components/DFViewerParts/DFViewer.d.ts.map +0 -1
- package/buckaroo_js/components/DFViewerParts/DFViewer.js +0 -163
- package/buckaroo_js/components/DFViewerParts/DFViewer.js.map +0 -1
- package/buckaroo_js/components/DFViewerParts/DFWhole.d.ts +0 -111
- package/buckaroo_js/components/DFViewerParts/DFWhole.d.ts.map +0 -1
- package/buckaroo_js/components/DFViewerParts/DFWhole.js +0 -17
- package/buckaroo_js/components/DFViewerParts/DFWhole.js.map +0 -1
- package/buckaroo_js/components/DFViewerParts/Displayer.d.ts.map +0 -1
- package/buckaroo_js/components/DFViewerParts/Displayer.js +0 -221
- package/buckaroo_js/components/DFViewerParts/Displayer.js.map +0 -1
- package/buckaroo_js/components/DFViewerParts/HistogramCell.d.ts +0 -20
- package/buckaroo_js/components/DFViewerParts/HistogramCell.d.ts.map +0 -1
- package/buckaroo_js/components/DFViewerParts/HistogramCell.js +0 -184
- package/buckaroo_js/components/DFViewerParts/HistogramCell.js.map +0 -1
- package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.d.ts +0 -5
- package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.d.ts.map +0 -1
- package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.js +0 -18
- package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.js.map +0 -1
- package/buckaroo_js/components/DFViewerParts/gridUtils.d.ts +0 -24
- package/buckaroo_js/components/DFViewerParts/gridUtils.d.ts.map +0 -1
- package/buckaroo_js/components/DFViewerParts/gridUtils.js +0 -230
- package/buckaroo_js/components/DFViewerParts/gridUtils.js.map +0 -1
- package/buckaroo_js/components/DependentTabs.d.ts.map +0 -1
- package/buckaroo_js/components/DependentTabs.js +0 -108
- package/buckaroo_js/components/DependentTabs.js.map +0 -1
- package/buckaroo_js/components/OperationDetail.d.ts.map +0 -1
- package/buckaroo_js/components/OperationDetail.js +0 -144
- package/buckaroo_js/components/OperationDetail.js.map +0 -1
- package/buckaroo_js/components/OperationUtils.d.ts.map +0 -1
- package/buckaroo_js/components/OperationUtils.js +0 -14
- package/buckaroo_js/components/OperationUtils.js.map +0 -1
- package/buckaroo_js/components/Operations.d.ts +0 -24
- package/buckaroo_js/components/Operations.d.ts.map +0 -1
- package/buckaroo_js/components/Operations.js +0 -209
- package/buckaroo_js/components/Operations.js.map +0 -1
- package/buckaroo_js/components/StatusBar.d.ts +0 -12
- package/buckaroo_js/components/StatusBar.d.ts.map +0 -1
- package/buckaroo_js/components/StatusBar.js +0 -155
- package/buckaroo_js/components/StatusBar.js.map +0 -1
- package/buckaroo_js/components/WidgetTypes.d.ts.map +0 -1
- package/buckaroo_js/components/WidgetTypes.js +0 -3
- package/buckaroo_js/components/WidgetTypes.js.map +0 -1
- package/buckaroo_js/components/bakedOperationDefaults.d.ts +0 -5
- package/buckaroo_js/components/bakedOperationDefaults.d.ts.map +0 -1
- package/buckaroo_js/components/bakedOperationDefaults.js +0 -15
- package/buckaroo_js/components/bakedOperationDefaults.js.map +0 -1
- package/buckaroo_js/components/utils.d.ts +0 -294
- package/buckaroo_js/components/utils.d.ts.map +0 -1
- package/buckaroo_js/components/utils.js +0 -143
- package/buckaroo_js/components/utils.js.map +0 -1
- package/buckaroo_js/extension.d.ts +0 -2
- package/buckaroo_js/extension.d.ts.map +0 -1
- package/buckaroo_js/extension.js +0 -20
- package/buckaroo_js/extension.js.map +0 -1
- package/buckaroo_js/index.d.ts +0 -25
- package/buckaroo_js/index.d.ts.map +0 -1
- package/buckaroo_js/index.js +0 -46
- package/buckaroo_js/index.js.map +0 -1
- package/buckaroo_js/vendor/RechartExtra.d.ts +0 -38
- package/buckaroo_js/vendor/RechartExtra.d.ts.map +0 -1
- package/buckaroo_js/vendor/RechartExtra.js +0 -17
- package/buckaroo_js/vendor/RechartExtra.js.map +0 -1
- package/buckaroo_js/vendor/RechartTooltip.d.ts +0 -82
- package/buckaroo_js/vendor/RechartTooltip.d.ts.map +0 -1
- package/buckaroo_js/vendor/RechartTooltip.js +0 -231
- package/buckaroo_js/vendor/RechartTooltip.js.map +0 -1
- package/codecov.yml +0 -16
- package/eslint.config.mjs +0 -88
- package/examples/App.tsx +0 -160
- package/examples/CodeBlock.tsx +0 -27
- package/examples/CodePenButton.tsx +0 -72
- package/examples/ReadmeBlock.tsx +0 -11
- package/examples/app.css +0 -29
- package/examples/ex/ColumnsEditorEx.tsx +0 -5
- package/examples/ex/CommandViewerEx.tsx +0 -18
- package/examples/ex/DFViewerEx.tsx +0 -3
- package/examples/ex/DFViewerEx_large.tsx +0 -266
- package/examples/ex/DFViewerEx_real_summary.tsx +0 -18
- package/examples/ex/DFViewerEx_short_data.tsx +0 -22
- package/examples/ex/DFViewerEx_string_index.tsx +0 -1012
- package/examples/ex/HistogramEx.tsx +0 -66
- package/examples/ex/StatusBarEx.tsx +0 -46
- package/examples/ex/WidgetDCFCellEx.tsx +0 -6
- package/examples/example.css +0 -20
- package/examples/index-iframe.hnottml +0 -24
- package/examples/index-react18.tsx +0 -8
- package/examples/index.html +0 -20
- package/examples/jsx-loader.ts +0 -16
- package/examples/tsconfig.json +0 -31
- package/index.d.ts +0 -2
- package/index.d.ts.map +0 -1
- package/index.js +0 -7
- package/index.js.map +0 -1
- package/jest.config.js +0 -24
- package/screen-animation.gif +0 -0
- package/src/buckaroo_js/baked_data/colorMap.ts +0 -523
- package/src/buckaroo_js/baked_data/staticData.ts +0 -503
- package/src/buckaroo_js/components/ColumnsEditor.tsx +0 -66
- package/src/buckaroo_js/components/CommandUtils.ts +0 -40
- package/src/buckaroo_js/components/DCFCell.tsx +0 -175
- package/src/buckaroo_js/components/DFViewerParts/DFViewer.tsx +0 -215
- package/src/buckaroo_js/components/DFViewerParts/DFWhole.ts +0 -190
- package/src/buckaroo_js/components/DFViewerParts/Displayer.ts +0 -215
- package/src/buckaroo_js/components/DFViewerParts/HistogramCell.tsx +0 -251
- package/src/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.tsx +0 -20
- package/src/buckaroo_js/components/DFViewerParts/gridUtils.ts +0 -290
- package/src/buckaroo_js/components/DependentTabs.tsx +0 -134
- package/src/buckaroo_js/components/OperationDetail.tsx +0 -203
- package/src/buckaroo_js/components/OperationUtils.ts +0 -33
- package/src/buckaroo_js/components/Operations.tsx +0 -243
- package/src/buckaroo_js/components/StatusBar.tsx +0 -190
- package/src/buckaroo_js/components/WidgetTypes.tsx +0 -42
- package/src/buckaroo_js/components/bakedOperationDefaults.ts +0 -14
- package/src/buckaroo_js/components/utils.ts +0 -60
- package/src/buckaroo_js/extension.ts +0 -15
- package/src/buckaroo_js/index.ts +0 -34
- package/src/buckaroo_js/style/dcf-npm.css +0 -244
- package/src/buckaroo_js/style/icons/arrow-down-short-dark.svg +0 -4
- package/src/buckaroo_js/style/icons/arrow-down-short.svg +0 -4
- package/src/buckaroo_js/style/icons/arrow-up-short-dark.svg +0 -4
- package/src/buckaroo_js/style/icons/arrow-up-short.svg +0 -4
- package/src/buckaroo_js/style/icons/filter-dark.svg +0 -3
- package/src/buckaroo_js/style/icons/filter.svg +0 -3
- package/src/buckaroo_js/vendor/RechartExtra.ts +0 -60
- package/src/buckaroo_js/vendor/RechartTooltip.tsx +0 -356
- package/src/index.tsx +0 -3
- package/tsconfig.json +0 -41
- package/webpack.config.ts +0 -98
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { DFWhole } from './DFViewerParts/DFWhole';
|
|
2
|
+
import { ColDef } from 'ag-grid-community';
|
|
3
|
+
export type setDFFunc = (newDf: DFWhole) => void;
|
|
4
|
+
export declare const requestDf: (url: string, setCallBack: setDFFunc) => Promise<void>;
|
|
5
|
+
export declare const sym: (symbolName: string) => {
|
|
6
|
+
symbol: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function replaceInArr<T>(arr: T[], old: T, subst: T): T[];
|
|
9
|
+
export declare function replaceAtIdx<T>(arr: T[], idx: number, subst: T): T[];
|
|
10
|
+
export declare function replaceAtKey<T>(obj: Record<string, T>, key: string, subst: T): Record<string, T>;
|
|
11
|
+
export declare const objWithoutNull: (obj: Record<string, string>, extraStrips?: string[]) => Record<string, string>;
|
|
12
|
+
export declare const updateAtMatch: (cols: ColDef[], key: string, subst: Partial<ColDef>, negative: Partial<ColDef>) => {
|
|
13
|
+
colId?: string;
|
|
14
|
+
field?: string | undefined;
|
|
15
|
+
type?: string | string[];
|
|
16
|
+
cellDataType?: boolean | string;
|
|
17
|
+
valueGetter?: string | import('ag-grid-community').ValueGetterFunc<any, any> | undefined;
|
|
18
|
+
valueFormatter?: string | import('ag-grid-community').ValueFormatterFunc<any, any> | undefined;
|
|
19
|
+
refData?: {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
keyCreator?: ((params: import('ag-grid-community').KeyCreatorParams<any, any>) => string) | undefined;
|
|
23
|
+
equals?: ((valueA: any, valueB: any) => boolean) | undefined;
|
|
24
|
+
tooltipField?: string | undefined;
|
|
25
|
+
tooltipValueGetter?: ((params: import('ag-grid-community').ITooltipParams<any, any, any>) => string | any) | undefined;
|
|
26
|
+
checkboxSelection?: boolean | import('ag-grid-community').CheckboxSelectionCallback<any, any> | undefined;
|
|
27
|
+
showDisabledCheckboxes?: boolean;
|
|
28
|
+
icons?: {
|
|
29
|
+
[key: string]: ((...args: any[]) => any) | string;
|
|
30
|
+
};
|
|
31
|
+
suppressNavigable?: boolean | import('ag-grid-community').SuppressNavigableCallback<any, any> | undefined;
|
|
32
|
+
suppressKeyboardEvent?: ((params: import('ag-grid-community').SuppressKeyboardEventParams<any, any>) => boolean) | undefined;
|
|
33
|
+
suppressPaste?: boolean | import('ag-grid-community').SuppressPasteCallback<any, any> | undefined;
|
|
34
|
+
suppressFillHandle?: boolean;
|
|
35
|
+
hide?: boolean;
|
|
36
|
+
initialHide?: boolean;
|
|
37
|
+
lockVisible?: boolean;
|
|
38
|
+
lockPosition?: boolean | "left" | "right";
|
|
39
|
+
suppressMovable?: boolean;
|
|
40
|
+
useValueFormatterForExport?: boolean;
|
|
41
|
+
editable?: boolean | import('ag-grid-community').EditableCallback<any, any> | undefined;
|
|
42
|
+
valueSetter?: string | import('ag-grid-community').ValueSetterFunc<any, any> | undefined;
|
|
43
|
+
valueParser?: string | import('ag-grid-community').ValueParserFunc<any, any> | undefined;
|
|
44
|
+
cellEditor?: any;
|
|
45
|
+
cellEditorParams?: any;
|
|
46
|
+
cellEditorSelector?: import('ag-grid-community').CellEditorSelectorFunc<any, any> | undefined;
|
|
47
|
+
singleClickEdit?: boolean;
|
|
48
|
+
cellEditorPopup?: boolean;
|
|
49
|
+
cellEditorPopupPosition?: "over" | "under";
|
|
50
|
+
useValueParserForImport?: boolean;
|
|
51
|
+
onCellValueChanged?: ((event: import('ag-grid-community').NewValueParams<any, any>) => void) | undefined;
|
|
52
|
+
onCellClicked?: ((event: import('ag-grid-community').CellClickedEvent<any, any>) => void) | undefined;
|
|
53
|
+
onCellDoubleClicked?: ((event: import('ag-grid-community').CellDoubleClickedEvent<any, any>) => void) | undefined;
|
|
54
|
+
onCellContextMenu?: ((event: import('ag-grid-community').CellContextMenuEvent<any, any>) => void) | undefined;
|
|
55
|
+
getQuickFilterText?: ((params: import('ag-grid-community').GetQuickFilterTextParams<any, any>) => string) | undefined;
|
|
56
|
+
filterValueGetter?: string | import('ag-grid-community').ValueGetterFunc<any, any> | undefined;
|
|
57
|
+
floatingFilter?: boolean;
|
|
58
|
+
suppressFloatingFilterButton?: boolean;
|
|
59
|
+
dateComponent?: any;
|
|
60
|
+
dateComponentParams?: any;
|
|
61
|
+
getFindText?: import('ag-grid-community').GetFindTextFunc<any, any> | undefined;
|
|
62
|
+
headerComponent?: any;
|
|
63
|
+
headerComponentParams?: any;
|
|
64
|
+
menuTabs?: import('ag-grid-community').ColumnMenuTab[];
|
|
65
|
+
columnChooserParams?: import('ag-grid-community').ColumnChooserParams;
|
|
66
|
+
suppressHeaderMenuButton?: boolean;
|
|
67
|
+
suppressHeaderFilterButton?: boolean;
|
|
68
|
+
mainMenuItems?: (import('ag-grid-community').DefaultMenuItem | import('ag-grid-community').MenuItemDef<any, any>)[] | import('ag-grid-community').GetMainMenuItems<any, any> | undefined;
|
|
69
|
+
contextMenuItems?: (import('ag-grid-community').DefaultMenuItem | import('ag-grid-community').MenuItemDef<any, any>)[] | import('ag-grid-community').GetContextMenuItems<any, any> | undefined;
|
|
70
|
+
headerCheckboxSelection?: boolean | import('ag-grid-community').HeaderCheckboxSelectionCallback<any, any> | undefined;
|
|
71
|
+
headerCheckboxSelectionFilteredOnly?: boolean;
|
|
72
|
+
headerCheckboxSelectionCurrentPageOnly?: boolean;
|
|
73
|
+
chartDataType?: "category" | "series" | "time" | "excluded";
|
|
74
|
+
pinned?: boolean | "left" | "right" | null;
|
|
75
|
+
initialPinned?: boolean | "left" | "right";
|
|
76
|
+
lockPinned?: boolean;
|
|
77
|
+
pivot?: boolean;
|
|
78
|
+
initialPivot?: boolean;
|
|
79
|
+
pivotIndex?: number | null;
|
|
80
|
+
initialPivotIndex?: number;
|
|
81
|
+
pivotComparator?: (valueA: string, valueB: string) => number;
|
|
82
|
+
enablePivot?: boolean;
|
|
83
|
+
cellStyle?: import('ag-grid-community').CellStyle | import('ag-grid-community').CellStyleFunc<any, any> | undefined;
|
|
84
|
+
cellClass?: string | string[] | import('ag-grid-community').CellClassFunc<any, any> | undefined;
|
|
85
|
+
cellClassRules?: import('ag-grid-community').CellClassRules<any, any> | undefined;
|
|
86
|
+
cellRenderer?: any;
|
|
87
|
+
cellRendererParams?: any;
|
|
88
|
+
cellRendererSelector?: import('ag-grid-community').CellRendererSelectorFunc<any, any> | undefined;
|
|
89
|
+
loadingCellRenderer?: any;
|
|
90
|
+
loadingCellRendererParams?: any;
|
|
91
|
+
loadingCellRendererSelector?: import('ag-grid-community').CellRendererSelectorFunc<any, any> | undefined;
|
|
92
|
+
autoHeight?: boolean;
|
|
93
|
+
wrapText?: boolean;
|
|
94
|
+
enableCellChangeFlash?: boolean;
|
|
95
|
+
rowDrag?: boolean | import('ag-grid-community').RowDragCallback<any, any> | undefined;
|
|
96
|
+
rowDragText?: (params: import('ag-grid-community').IRowDragItem, dragItemCount: number) => string;
|
|
97
|
+
dndSource?: boolean | import('ag-grid-community').DndSourceCallback<any, any> | undefined;
|
|
98
|
+
dndSourceOnRowDrag?: ((params: import('ag-grid-community').DndSourceOnRowDragParams<any>) => void) | undefined;
|
|
99
|
+
rowGroup?: boolean;
|
|
100
|
+
initialRowGroup?: boolean;
|
|
101
|
+
rowGroupIndex?: number | null;
|
|
102
|
+
initialRowGroupIndex?: number;
|
|
103
|
+
enableRowGroup?: boolean;
|
|
104
|
+
enableValue?: boolean;
|
|
105
|
+
aggFunc?: string | import('ag-grid-community').IAggFunc<any, any> | null | undefined;
|
|
106
|
+
initialAggFunc?: string | import('ag-grid-community').IAggFunc<any, any> | undefined;
|
|
107
|
+
defaultAggFunc?: string;
|
|
108
|
+
allowedAggFuncs?: string[];
|
|
109
|
+
showRowGroup?: string | boolean;
|
|
110
|
+
sortable?: boolean;
|
|
111
|
+
sort?: import('ag-grid-community').SortDirection;
|
|
112
|
+
initialSort?: import('ag-grid-community').SortDirection;
|
|
113
|
+
sortIndex?: number | null;
|
|
114
|
+
initialSortIndex?: number;
|
|
115
|
+
sortingOrder?: import('ag-grid-community').SortDirection[];
|
|
116
|
+
comparator?: ((valueA: any, valueB: any, nodeA: import('ag-grid-community').IRowNode<any>, nodeB: import('ag-grid-community').IRowNode<any>, isDescending: boolean) => number) | undefined;
|
|
117
|
+
unSortIcon?: boolean;
|
|
118
|
+
colSpan?: ((params: import('ag-grid-community').ColSpanParams<any, any>) => number) | undefined;
|
|
119
|
+
rowSpan?: ((params: import('ag-grid-community').RowSpanParams<any, any>) => number) | undefined;
|
|
120
|
+
spanRows?: boolean | ((params: import('ag-grid-community').SpanRowsParams<any, any>) => boolean) | undefined;
|
|
121
|
+
width?: number;
|
|
122
|
+
initialWidth?: number;
|
|
123
|
+
minWidth?: number;
|
|
124
|
+
maxWidth?: number;
|
|
125
|
+
flex?: number;
|
|
126
|
+
initialFlex?: number;
|
|
127
|
+
resizable?: boolean;
|
|
128
|
+
suppressSizeToFit?: boolean;
|
|
129
|
+
suppressAutoSize?: boolean;
|
|
130
|
+
pivotValueColumn?: import('ag-grid-community').Column | null;
|
|
131
|
+
pivotTotalColumnIds?: string[];
|
|
132
|
+
suppressSpanHeaderHeight?: boolean;
|
|
133
|
+
headerName?: string;
|
|
134
|
+
headerValueGetter?: string | import('ag-grid-community').HeaderValueGetterFunc<any, any> | undefined;
|
|
135
|
+
headerTooltip?: string;
|
|
136
|
+
headerStyle?: import('ag-grid-community').HeaderStyle | import('ag-grid-community').HeaderStyleFunc<any, any> | undefined;
|
|
137
|
+
headerClass?: import('ag-grid-community').HeaderClass<any, any> | undefined;
|
|
138
|
+
suppressHeaderKeyboardEvent?: ((params: import('ag-grid-community').SuppressHeaderKeyboardEventParams<any, any>) => boolean) | undefined;
|
|
139
|
+
columnGroupShow?: import('ag-grid-community').ColumnGroupShowType;
|
|
140
|
+
toolPanelClass?: import('ag-grid-community').ToolPanelClass<any, any> | undefined;
|
|
141
|
+
suppressColumnsToolPanel?: boolean;
|
|
142
|
+
suppressFiltersToolPanel?: boolean;
|
|
143
|
+
tooltipComponent?: any;
|
|
144
|
+
tooltipComponentParams?: any;
|
|
145
|
+
pivotKeys?: string[];
|
|
146
|
+
cellAriaRole?: string;
|
|
147
|
+
context?: any;
|
|
148
|
+
wrapHeaderText?: boolean;
|
|
149
|
+
autoHeaderHeight?: boolean;
|
|
150
|
+
suppressHeaderContextMenu?: boolean;
|
|
151
|
+
filter?: any;
|
|
152
|
+
filterParams?: any;
|
|
153
|
+
floatingFilterComponent?: any;
|
|
154
|
+
floatingFilterComponentParams?: any;
|
|
155
|
+
}[];
|
|
156
|
+
export declare const replaceAtMatch: (cols: ColDef[], key: string, subst: Partial<ColDef>) => {
|
|
157
|
+
colId?: string;
|
|
158
|
+
field?: string | undefined;
|
|
159
|
+
type?: string | string[];
|
|
160
|
+
cellDataType?: boolean | string;
|
|
161
|
+
valueGetter?: string | import('ag-grid-community').ValueGetterFunc<any, any> | undefined;
|
|
162
|
+
valueFormatter?: string | import('ag-grid-community').ValueFormatterFunc<any, any> | undefined;
|
|
163
|
+
refData?: {
|
|
164
|
+
[key: string]: string;
|
|
165
|
+
};
|
|
166
|
+
keyCreator?: ((params: import('ag-grid-community').KeyCreatorParams<any, any>) => string) | undefined;
|
|
167
|
+
equals?: ((valueA: any, valueB: any) => boolean) | undefined;
|
|
168
|
+
tooltipField?: string | undefined;
|
|
169
|
+
tooltipValueGetter?: ((params: import('ag-grid-community').ITooltipParams<any, any, any>) => string | any) | undefined;
|
|
170
|
+
checkboxSelection?: boolean | import('ag-grid-community').CheckboxSelectionCallback<any, any> | undefined;
|
|
171
|
+
showDisabledCheckboxes?: boolean;
|
|
172
|
+
icons?: {
|
|
173
|
+
[key: string]: ((...args: any[]) => any) | string;
|
|
174
|
+
};
|
|
175
|
+
suppressNavigable?: boolean | import('ag-grid-community').SuppressNavigableCallback<any, any> | undefined;
|
|
176
|
+
suppressKeyboardEvent?: ((params: import('ag-grid-community').SuppressKeyboardEventParams<any, any>) => boolean) | undefined;
|
|
177
|
+
suppressPaste?: boolean | import('ag-grid-community').SuppressPasteCallback<any, any> | undefined;
|
|
178
|
+
suppressFillHandle?: boolean;
|
|
179
|
+
hide?: boolean;
|
|
180
|
+
initialHide?: boolean;
|
|
181
|
+
lockVisible?: boolean;
|
|
182
|
+
lockPosition?: boolean | "left" | "right";
|
|
183
|
+
suppressMovable?: boolean;
|
|
184
|
+
useValueFormatterForExport?: boolean;
|
|
185
|
+
editable?: boolean | import('ag-grid-community').EditableCallback<any, any> | undefined;
|
|
186
|
+
valueSetter?: string | import('ag-grid-community').ValueSetterFunc<any, any> | undefined;
|
|
187
|
+
valueParser?: string | import('ag-grid-community').ValueParserFunc<any, any> | undefined;
|
|
188
|
+
cellEditor?: any;
|
|
189
|
+
cellEditorParams?: any;
|
|
190
|
+
cellEditorSelector?: import('ag-grid-community').CellEditorSelectorFunc<any, any> | undefined;
|
|
191
|
+
singleClickEdit?: boolean;
|
|
192
|
+
cellEditorPopup?: boolean;
|
|
193
|
+
cellEditorPopupPosition?: "over" | "under";
|
|
194
|
+
useValueParserForImport?: boolean;
|
|
195
|
+
onCellValueChanged?: ((event: import('ag-grid-community').NewValueParams<any, any>) => void) | undefined;
|
|
196
|
+
onCellClicked?: ((event: import('ag-grid-community').CellClickedEvent<any, any>) => void) | undefined;
|
|
197
|
+
onCellDoubleClicked?: ((event: import('ag-grid-community').CellDoubleClickedEvent<any, any>) => void) | undefined;
|
|
198
|
+
onCellContextMenu?: ((event: import('ag-grid-community').CellContextMenuEvent<any, any>) => void) | undefined;
|
|
199
|
+
getQuickFilterText?: ((params: import('ag-grid-community').GetQuickFilterTextParams<any, any>) => string) | undefined;
|
|
200
|
+
filterValueGetter?: string | import('ag-grid-community').ValueGetterFunc<any, any> | undefined;
|
|
201
|
+
floatingFilter?: boolean;
|
|
202
|
+
suppressFloatingFilterButton?: boolean;
|
|
203
|
+
dateComponent?: any;
|
|
204
|
+
dateComponentParams?: any;
|
|
205
|
+
getFindText?: import('ag-grid-community').GetFindTextFunc<any, any> | undefined;
|
|
206
|
+
headerComponent?: any;
|
|
207
|
+
headerComponentParams?: any;
|
|
208
|
+
menuTabs?: import('ag-grid-community').ColumnMenuTab[];
|
|
209
|
+
columnChooserParams?: import('ag-grid-community').ColumnChooserParams;
|
|
210
|
+
suppressHeaderMenuButton?: boolean;
|
|
211
|
+
suppressHeaderFilterButton?: boolean;
|
|
212
|
+
mainMenuItems?: (import('ag-grid-community').DefaultMenuItem | import('ag-grid-community').MenuItemDef<any, any>)[] | import('ag-grid-community').GetMainMenuItems<any, any> | undefined;
|
|
213
|
+
contextMenuItems?: (import('ag-grid-community').DefaultMenuItem | import('ag-grid-community').MenuItemDef<any, any>)[] | import('ag-grid-community').GetContextMenuItems<any, any> | undefined;
|
|
214
|
+
headerCheckboxSelection?: boolean | import('ag-grid-community').HeaderCheckboxSelectionCallback<any, any> | undefined;
|
|
215
|
+
headerCheckboxSelectionFilteredOnly?: boolean;
|
|
216
|
+
headerCheckboxSelectionCurrentPageOnly?: boolean;
|
|
217
|
+
chartDataType?: "category" | "series" | "time" | "excluded";
|
|
218
|
+
pinned?: boolean | "left" | "right" | null;
|
|
219
|
+
initialPinned?: boolean | "left" | "right";
|
|
220
|
+
lockPinned?: boolean;
|
|
221
|
+
pivot?: boolean;
|
|
222
|
+
initialPivot?: boolean;
|
|
223
|
+
pivotIndex?: number | null;
|
|
224
|
+
initialPivotIndex?: number;
|
|
225
|
+
pivotComparator?: (valueA: string, valueB: string) => number;
|
|
226
|
+
enablePivot?: boolean;
|
|
227
|
+
cellStyle?: import('ag-grid-community').CellStyle | import('ag-grid-community').CellStyleFunc<any, any> | undefined;
|
|
228
|
+
cellClass?: string | string[] | import('ag-grid-community').CellClassFunc<any, any> | undefined;
|
|
229
|
+
cellClassRules?: import('ag-grid-community').CellClassRules<any, any> | undefined;
|
|
230
|
+
cellRenderer?: any;
|
|
231
|
+
cellRendererParams?: any;
|
|
232
|
+
cellRendererSelector?: import('ag-grid-community').CellRendererSelectorFunc<any, any> | undefined;
|
|
233
|
+
loadingCellRenderer?: any;
|
|
234
|
+
loadingCellRendererParams?: any;
|
|
235
|
+
loadingCellRendererSelector?: import('ag-grid-community').CellRendererSelectorFunc<any, any> | undefined;
|
|
236
|
+
autoHeight?: boolean;
|
|
237
|
+
wrapText?: boolean;
|
|
238
|
+
enableCellChangeFlash?: boolean;
|
|
239
|
+
rowDrag?: boolean | import('ag-grid-community').RowDragCallback<any, any> | undefined;
|
|
240
|
+
rowDragText?: (params: import('ag-grid-community').IRowDragItem, dragItemCount: number) => string;
|
|
241
|
+
dndSource?: boolean | import('ag-grid-community').DndSourceCallback<any, any> | undefined;
|
|
242
|
+
dndSourceOnRowDrag?: ((params: import('ag-grid-community').DndSourceOnRowDragParams<any>) => void) | undefined;
|
|
243
|
+
rowGroup?: boolean;
|
|
244
|
+
initialRowGroup?: boolean;
|
|
245
|
+
rowGroupIndex?: number | null;
|
|
246
|
+
initialRowGroupIndex?: number;
|
|
247
|
+
enableRowGroup?: boolean;
|
|
248
|
+
enableValue?: boolean;
|
|
249
|
+
aggFunc?: string | import('ag-grid-community').IAggFunc<any, any> | null | undefined;
|
|
250
|
+
initialAggFunc?: string | import('ag-grid-community').IAggFunc<any, any> | undefined;
|
|
251
|
+
defaultAggFunc?: string;
|
|
252
|
+
allowedAggFuncs?: string[];
|
|
253
|
+
showRowGroup?: string | boolean;
|
|
254
|
+
sortable?: boolean;
|
|
255
|
+
sort?: import('ag-grid-community').SortDirection;
|
|
256
|
+
initialSort?: import('ag-grid-community').SortDirection;
|
|
257
|
+
sortIndex?: number | null;
|
|
258
|
+
initialSortIndex?: number;
|
|
259
|
+
sortingOrder?: import('ag-grid-community').SortDirection[];
|
|
260
|
+
comparator?: ((valueA: any, valueB: any, nodeA: import('ag-grid-community').IRowNode<any>, nodeB: import('ag-grid-community').IRowNode<any>, isDescending: boolean) => number) | undefined;
|
|
261
|
+
unSortIcon?: boolean;
|
|
262
|
+
colSpan?: ((params: import('ag-grid-community').ColSpanParams<any, any>) => number) | undefined;
|
|
263
|
+
rowSpan?: ((params: import('ag-grid-community').RowSpanParams<any, any>) => number) | undefined;
|
|
264
|
+
spanRows?: boolean | ((params: import('ag-grid-community').SpanRowsParams<any, any>) => boolean) | undefined;
|
|
265
|
+
width?: number;
|
|
266
|
+
initialWidth?: number;
|
|
267
|
+
minWidth?: number;
|
|
268
|
+
maxWidth?: number;
|
|
269
|
+
flex?: number;
|
|
270
|
+
initialFlex?: number;
|
|
271
|
+
resizable?: boolean;
|
|
272
|
+
suppressSizeToFit?: boolean;
|
|
273
|
+
suppressAutoSize?: boolean;
|
|
274
|
+
pivotValueColumn?: import('ag-grid-community').Column | null;
|
|
275
|
+
pivotTotalColumnIds?: string[];
|
|
276
|
+
suppressSpanHeaderHeight?: boolean;
|
|
277
|
+
headerName?: string;
|
|
278
|
+
headerValueGetter?: string | import('ag-grid-community').HeaderValueGetterFunc<any, any> | undefined;
|
|
279
|
+
headerTooltip?: string;
|
|
280
|
+
headerStyle?: import('ag-grid-community').HeaderStyle | import('ag-grid-community').HeaderStyleFunc<any, any> | undefined;
|
|
281
|
+
headerClass?: import('ag-grid-community').HeaderClass<any, any> | undefined;
|
|
282
|
+
suppressHeaderKeyboardEvent?: ((params: import('ag-grid-community').SuppressHeaderKeyboardEventParams<any, any>) => boolean) | undefined;
|
|
283
|
+
columnGroupShow?: import('ag-grid-community').ColumnGroupShowType;
|
|
284
|
+
toolPanelClass?: import('ag-grid-community').ToolPanelClass<any, any> | undefined;
|
|
285
|
+
suppressColumnsToolPanel?: boolean;
|
|
286
|
+
suppressFiltersToolPanel?: boolean;
|
|
287
|
+
tooltipComponent?: any;
|
|
288
|
+
tooltipComponentParams?: any;
|
|
289
|
+
pivotKeys?: string[];
|
|
290
|
+
cellAriaRole?: string;
|
|
291
|
+
context?: any;
|
|
292
|
+
wrapHeaderText?: boolean;
|
|
293
|
+
autoHeaderHeight?: boolean;
|
|
294
|
+
suppressHeaderContextMenu?: boolean;
|
|
295
|
+
filter?: any;
|
|
296
|
+
filterParams?: any;
|
|
297
|
+
floatingFilterComponent?: any;
|
|
298
|
+
floatingFilterComponentParams?: any;
|
|
299
|
+
}[];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ColumnsEditor } from './components/ColumnsEditor';
|
|
2
|
+
import { DFViewer, DFViewerInfinite } from './components/DFViewerParts/DFViewerInfinite';
|
|
3
|
+
import { WidgetDCFCell } from './components/DCFCell';
|
|
4
|
+
import { BuckarooInfiniteWidget, DFViewerInfiniteDS, getKeySmartRowCache } from './components/BuckarooWidgetInfinite';
|
|
5
|
+
import { parquetRead, parquetMetadata } from 'hyparquet';
|
|
6
|
+
import { resolveDFData, resolveDFDataAsync, preResolveDFDataDict } from './components/DFViewerParts/resolveDFData';
|
|
7
|
+
import { BuckarooStaticTable } from './components/BuckarooStaticTable';
|
|
8
|
+
import { HistogramCell } from './components/DFViewerParts/HistogramCell';
|
|
9
|
+
import { InfiniteEx } from './components/DFViewerParts/TableInfinite';
|
|
10
|
+
import { DependentTabs } from './components/DependentTabs';
|
|
11
|
+
import { OperationViewer } from './components/Operations';
|
|
12
|
+
import { StatusBar } from './components/StatusBar';
|
|
13
|
+
import { SampleButton, HeaderNoArgs, Counter } from './SampleComponent';
|
|
14
|
+
import * as CommandUtils from "./components/CommandUtils";
|
|
15
|
+
import * as utils from "./components/utils";
|
|
16
|
+
import * as widgetUtils from "./widgetUtils";
|
|
17
|
+
declare const _default: {
|
|
18
|
+
ColumnsEditor: typeof ColumnsEditor;
|
|
19
|
+
DependentTabs: typeof DependentTabs;
|
|
20
|
+
OperationViewer: ({ operations, setOperations, activeColumn, allColumns, command_config, }: {
|
|
21
|
+
operations: import('./components/OperationUtils').Operation[];
|
|
22
|
+
setOperations: import('./components/OperationUtils').SetOperationsFunc;
|
|
23
|
+
activeColumn: string;
|
|
24
|
+
allColumns: string[];
|
|
25
|
+
command_config: CommandUtils.CommandConfigT;
|
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
WidgetDCFCell: typeof WidgetDCFCell;
|
|
28
|
+
DFViewer: typeof DFViewer;
|
|
29
|
+
DFViewerInfinite: typeof DFViewerInfinite;
|
|
30
|
+
DFViewerInfiniteDS: typeof DFViewerInfiniteDS;
|
|
31
|
+
StatusBar: typeof StatusBar;
|
|
32
|
+
HistogramCell: (props: {
|
|
33
|
+
api: import('ag-grid-community').GridApi;
|
|
34
|
+
colDef: import('ag-grid-community').ColDef;
|
|
35
|
+
column: import('ag-grid-community').Column;
|
|
36
|
+
context: import('ag-grid-community').Context;
|
|
37
|
+
value: any;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
CommandUtils: typeof CommandUtils;
|
|
40
|
+
utils: typeof utils;
|
|
41
|
+
BuckarooInfiniteWidget: typeof BuckarooInfiniteWidget;
|
|
42
|
+
getKeySmartRowCache: (model: any, setRespError: any) => import('./components/DFViewerParts/SmartRowCache').KeyAwareSmartRowCache;
|
|
43
|
+
InfiniteEx: () => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
widgetUtils: typeof widgetUtils;
|
|
45
|
+
SampleButton: ({ label, onClick }: {
|
|
46
|
+
label: string;
|
|
47
|
+
onClick: (ev: any) => void;
|
|
48
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
HeaderNoArgs: () => import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
Counter: () => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
parquetRead: typeof parquetRead;
|
|
52
|
+
parquetMetadata: typeof parquetMetadata;
|
|
53
|
+
resolveDFData: typeof resolveDFData;
|
|
54
|
+
resolveDFDataAsync: typeof resolveDFDataAsync;
|
|
55
|
+
preResolveDFDataDict: typeof preResolveDFDataDict;
|
|
56
|
+
BuckarooStaticTable: typeof BuckarooStaticTable;
|
|
57
|
+
};
|
|
58
|
+
export default _default;
|
|
59
|
+
export { ColumnsEditor, DependentTabs, OperationViewer, WidgetDCFCell, DFViewer, DFViewerInfinite, DFViewerInfiniteDS, StatusBar, HistogramCell, CommandUtils, utils, BuckarooInfiniteWidget, getKeySmartRowCache, InfiniteEx, widgetUtils, SampleButton, HeaderNoArgs, Counter, parquetRead, parquetMetadata, resolveDFData, resolveDFDataAsync, preResolveDFDataDict, BuckarooStaticTable, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<{}>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { ChartDisplayerA } from '../components/DFViewerParts/DFWhole';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ value, dispArgs }: {
|
|
6
|
+
value: any;
|
|
7
|
+
dispArgs: ChartDisplayerA;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
tags: string[];
|
|
13
|
+
argTypes: {};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
export declare const Primary: Story;
|
|
18
|
+
export declare const Area: Story;
|
|
19
|
+
export declare const Composed: Story;
|
|
20
|
+
export declare const ComposedCustomColor: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { ColumnsEditor } from '../components/ColumnsEditor';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ColumnsEditor;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta> | any;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Empty: Story;
|
|
15
|
+
export declare const SingleOperation: Story;
|
|
16
|
+
export declare const DataCleaning: Story;
|
|
17
|
+
export declare const ManyOperations: Story;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { DFData, DFViewerConfig } from '../components/DFViewerParts/DFWhole';
|
|
3
|
+
import { SetColumnFunc } from '../components/DFViewerParts/gridUtils';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ df_data, df_viewer_config, summary_stats_data, activeCol, setActiveCol, }: {
|
|
7
|
+
df_data: DFData;
|
|
8
|
+
df_viewer_config: DFViewerConfig;
|
|
9
|
+
summary_stats_data?: DFData;
|
|
10
|
+
activeCol?: [string, string];
|
|
11
|
+
setActiveCol?: SetColumnFunc;
|
|
12
|
+
outside_df_params?: any;
|
|
13
|
+
error_info?: string;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
parameters: {
|
|
16
|
+
layout: string;
|
|
17
|
+
};
|
|
18
|
+
tags: string[];
|
|
19
|
+
argTypes: {};
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
type Story = StoryObj<typeof meta>;
|
|
23
|
+
export declare const Primary: Story;
|
|
24
|
+
export declare const Tooltip: Story;
|
|
25
|
+
export declare const ColorFromCol: Story;
|
|
26
|
+
export declare const Chart: Story;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { DFViewerConfig } from '../components/DFViewerParts/DFWhole';
|
|
3
|
+
import { SetColumnFunc } from '../components/DFViewerParts/gridUtils';
|
|
4
|
+
import { DatasourceOrRaw } from '../components/DFViewerParts/DFViewerDataHelper';
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: ({ data_wrapper, df_viewer_config, summary_stats_data, activeCol, setActiveCol, outside_df_params, error_info, }: {
|
|
8
|
+
data_wrapper: DatasourceOrRaw;
|
|
9
|
+
df_viewer_config: DFViewerConfig;
|
|
10
|
+
summary_stats_data?: any[];
|
|
11
|
+
activeCol?: [string, string];
|
|
12
|
+
setActiveCol?: SetColumnFunc;
|
|
13
|
+
outside_df_params?: any;
|
|
14
|
+
error_info?: string;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
parameters: {
|
|
17
|
+
layout: string;
|
|
18
|
+
};
|
|
19
|
+
tags: string[];
|
|
20
|
+
argTypes: {};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof meta>;
|
|
24
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { DFViewerConfig } from '../components/DFViewerParts/DFWhole';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ data, df_viewer_config, secondary_df_viewer_config, summary_stats_data, outside_df_params, }: {
|
|
6
|
+
data: any[];
|
|
7
|
+
df_viewer_config: DFViewerConfig;
|
|
8
|
+
secondary_df_viewer_config?: DFViewerConfig;
|
|
9
|
+
summary_stats_data?: any[];
|
|
10
|
+
outside_df_params?: any;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
parameters: {
|
|
13
|
+
layout: string;
|
|
14
|
+
};
|
|
15
|
+
tags: string[];
|
|
16
|
+
argTypes: {};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Primary: Story;
|
|
21
|
+
export declare const Large: Story;
|
|
22
|
+
export declare const PinnedRows: Story;
|
|
23
|
+
export declare const ColorMapExample: Story;
|
|
24
|
+
export declare const MultiIndex: Story;
|
|
25
|
+
export declare const ThreeLevelColumnIndex: Story;
|
|
26
|
+
export declare const FailingInMarimo: Story;
|
|
27
|
+
export declare const MedDFVHeight: Story;
|
|
28
|
+
export declare const get_multiindex_with_names_index_df: Story;
|
|
29
|
+
export declare const get_multiindex_index_df: Story;
|
|
30
|
+
export declare const get_multiindex_index_multiindex_with_names_cols_df: Story;
|
|
31
|
+
export declare const get_multiindex3_index_df: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ histogramArr, context, className, colorScheme }: {
|
|
5
|
+
histogramArr: import('../components/DFViewerParts/HistogramCell').HistogramBar[];
|
|
6
|
+
context: any;
|
|
7
|
+
className?: string;
|
|
8
|
+
colorScheme?: "light" | "dark";
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: string;
|
|
12
|
+
};
|
|
13
|
+
tags: string[];
|
|
14
|
+
argTypes: {};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const MixedTypes: Story;
|
|
12
|
+
export declare const ExtremeNumbers: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Primary: Story;
|
|
13
|
+
export declare const SummaryView: Story;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { MessageBox } from '../components/MessageBox';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof MessageBox;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
messages: {
|
|
12
|
+
control: "object";
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Empty: Story;
|
|
20
|
+
export declare const CacheMessages: Story;
|
|
21
|
+
export declare const CacheInfo: Story;
|
|
22
|
+
export declare const ExecutionUpdates: Story;
|
|
23
|
+
export declare const MixedMessages: Story;
|
|
24
|
+
export declare const ManyMessages: Story;
|
|
25
|
+
export declare const LongMessages: Story;
|
|
26
|
+
export declare const StreamingMessages: Story;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Operation } from '../components/OperationUtils';
|
|
3
|
+
import { CommandConfigT } from '../components/CommandUtils';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ operations, activeColumn, allColumns, command_config, }: {
|
|
7
|
+
operations: Operation[];
|
|
8
|
+
activeColumn: string;
|
|
9
|
+
allColumns: string[];
|
|
10
|
+
command_config: CommandConfigT;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
parameters: {
|
|
13
|
+
layout: string;
|
|
14
|
+
};
|
|
15
|
+
tags: string[];
|
|
16
|
+
argTypes: {};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Default: Story;
|
|
21
|
+
export declare const Empty: Story;
|
|
22
|
+
export declare const SingleOperation: Story;
|
|
23
|
+
export declare const DataCleaning: Story;
|
|
24
|
+
export declare const ManyOperations: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Operation } from '../components/OperationUtils';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ operations }: {
|
|
6
|
+
operations: Operation[];
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
tags: string[];
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Default: Story;
|
|
16
|
+
export declare const Empty: Story;
|
|
17
|
+
export declare const SingleOperation: Story;
|
|
18
|
+
export declare const DataCleaning: Story;
|
|
19
|
+
export declare const ManyOperations: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<{
|
|
6
|
+
delayed?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
tags: string[];
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Primary: Story;
|
|
16
|
+
export declare const WithDelay: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Primary: Story;
|