@ic3/reporting-api 8.3.0 → 8.4.0-alpha.1
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/README.md +6 -4
- package/dist/ApiUtils.js +1 -1
- package/dist/ApiUtils.js.map +1 -1
- package/dist/INotification.d.ts +8 -2
- package/dist/IPluginDefinition.d.ts +3 -0
- package/dist/PublicAmCharts4Base.d.ts +91 -0
- package/dist/{IReporting.js → PublicAmCharts4Base.js} +1 -1
- package/dist/PublicAmCharts4Base.js.map +1 -0
- package/dist/PublicAmchartsData.d.ts +41 -15
- package/dist/PublicAmchartsData.js +32 -21
- package/dist/PublicAmchartsData.js.map +1 -1
- package/dist/PublicContext.d.ts +9 -1
- package/dist/PublicTemplate.d.ts +8 -0
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateForm.d.ts +21 -3
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTheme.d.ts +140 -37
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +16 -2
- package/dist/PublicTidyColumn.js +3 -14
- package/dist/PublicTidyColumn.js.map +1 -1
- package/dist/PublicTidyHistogram.d.ts +20 -1
- package/dist/PublicTidyHistogram.js +28 -5
- package/dist/PublicTidyHistogram.js.map +1 -1
- package/dist/PublicTidyMath.d.ts +7 -1
- package/dist/PublicTidyTableInteractions.d.ts +4 -0
- package/dist/PublicTidyTableTypes.d.ts +4 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeAmCharts4.d.ts +30 -7
- package/dist/theme/ThemeAmCharts4.js +7 -1
- package/dist/theme/ThemeAmCharts4.js.map +1 -1
- package/dist/theme/ThemeCodeMirror.d.ts +4 -0
- package/dist/theme/ThemeCodeMirror.js +8 -0
- package/dist/theme/ThemeCodeMirror.js.map +1 -0
- package/dist/theme/ThemeDatePicker.d.ts +2 -0
- package/dist/theme/ThemeEmbeddedReport.d.ts +9 -0
- package/dist/theme/ThemeEmbeddedReport.js +6 -0
- package/dist/theme/ThemeEmbeddedReport.js.map +1 -1
- package/dist/theme/ThemeFilterAutocomplete.d.ts +3 -0
- package/dist/theme/ThemeFilterButtons.d.ts +5 -0
- package/dist/theme/ThemeFilterCheckboxRadio.d.ts +4 -0
- package/dist/theme/ThemeFilterSlider.d.ts +8 -0
- package/dist/theme/ThemeFilterTree.d.ts +5 -0
- package/dist/theme/ThemeHtmlBox.d.ts +3 -4
- package/dist/theme/ThemeHtmlBox.js +0 -1
- package/dist/theme/ThemeHtmlBox.js.map +1 -1
- package/dist/theme/ThemeLazyTreeClasses.d.ts +2 -0
- package/dist/theme/ThemeListCounter.d.ts +2 -0
- package/dist/theme/ThemePrintButton.d.ts +3 -0
- package/dist/theme/ThemeTable.d.ts +1 -6
- package/dist/theme/ThemeTable.js.map +1 -1
- package/dist/theme/ThemeWidgetBox.d.ts +3 -0
- package/dist/theme/ThemeWidgetFilteredBy.d.ts +5 -0
- package/dist/theme/ThemeWidgetFilteredBy.js +9 -0
- package/dist/theme/ThemeWidgetFilteredBy.js.map +1 -0
- package/package.json +8 -10
- package/dist/IReporting.d.ts +0 -153
- package/dist/IReporting.js.map +0 -1
- package/dist/Loader.d.ts +0 -191
- package/dist/Loader.js +0 -209
- package/dist/Loader.js.map +0 -1
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -1,42 +1,63 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
|
-
/// <reference types="googlemaps" />
|
|
3
2
|
/// <reference types="markerclustererplus" />
|
|
4
|
-
import { ComponentsOverrides, ComponentsVariants } from "@mui/material";
|
|
3
|
+
import { ComponentsOverrides, ComponentsVariants, Interpolation, Theme } from "@mui/material";
|
|
5
4
|
import { IPublicWidgetTemplateDefinition } from "./PublicTemplate";
|
|
6
5
|
import { IWidgetLayoutDefinition } from "./PublicLayout";
|
|
7
6
|
import { IThemeWidgetDefaults } from "./IThemeManager";
|
|
8
7
|
import { AlertDialogClassKey } from "./theme/ThemeAlertDialog";
|
|
9
8
|
import { AppClassKey, AppDivProps } from "./theme/ThemeApp";
|
|
10
9
|
import { ErrorRendererClassKey } from "./theme/ThemeErrorRenderer";
|
|
11
|
-
import { HtmlBoxClassKey,
|
|
10
|
+
import { HtmlBoxClassKey, StyledHtmlBoxProps } from "./theme/ThemeHtmlBox";
|
|
12
11
|
import { LayoutClassKey } from "./theme/ThemeLayout";
|
|
13
12
|
import { LayoutPageClassKey } from "./theme/ThemeLayoutPage";
|
|
14
13
|
import { ReportAppBarClassKey } from "./theme/ThemeReportAppBar";
|
|
15
|
-
import { WidgetBoxClassKey } from "./theme/ThemeWidgetBox";
|
|
14
|
+
import { WidgetBoxClassKey, WidgetBoxDivProps } from "./theme/ThemeWidgetBox";
|
|
16
15
|
import { WidgetBoxContentMessageClassKey } from "./theme/ThemeWidgetBoxContentMessage";
|
|
17
16
|
import * as React from "react";
|
|
18
17
|
import { ReactElement } from "react";
|
|
19
18
|
import { TypographyStyleOptions } from "@mui/material/styles/createTypography";
|
|
20
19
|
import { Property } from "csstype";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
20
|
+
import { FilterButtonsClassKey, FilterButtonsProps } from "./theme/ThemeFilterButtons";
|
|
21
|
+
import { FilterSliderClassKey, FilterSliderProps } from "./theme/ThemeFilterSlider";
|
|
23
22
|
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
24
23
|
import { IPublicContext } from "./PublicContext";
|
|
25
24
|
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
26
25
|
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
27
26
|
import { Components } from "@mui/material/styles/components";
|
|
28
27
|
import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
|
|
29
|
-
import {
|
|
28
|
+
import { FilterCheckboxProps, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
30
29
|
import { ReportAppLeftPanelClassKey } from "./theme/ThemeReportAppLeftPanel";
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
30
|
+
import { FilterTreeClassKey, FilterTreeProps } from "./theme/ThemeFilterTree";
|
|
31
|
+
import { DatePickerClassKey, FilterDatePickerProps } from "./theme/ThemeDatePicker";
|
|
32
|
+
import { FilterAutocompleteClassesKey, FilterAutocompleteProps } from "./theme/ThemeFilterAutocomplete";
|
|
34
33
|
import { AppMenuIconClassKey, AppMenuIconProps } from "./theme/ThemeAppMenuIcon";
|
|
35
34
|
import { QueryBuilderNodeClassKey, QueryBuilderNodeProps } from "./theme/ThemeQueryBuilderNode";
|
|
36
35
|
import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
|
|
37
|
-
import { ListCounterClassKey } from "./theme/ThemeListCounter";
|
|
38
|
-
import { LazyTreeClassesClassKey } from "./theme/ThemeLazyTreeClasses";
|
|
39
|
-
import {
|
|
36
|
+
import { ListCounterClassKey, ListCounterProps } from "./theme/ThemeListCounter";
|
|
37
|
+
import { LazyTreeClassesClassKey, LazyTreeProps } from "./theme/ThemeLazyTreeClasses";
|
|
38
|
+
import { PrintButtonClassKey, StyledPrintButtonDivProps } from "./theme/ThemePrintButton";
|
|
39
|
+
import { CodeMirrorClassesKey } from "./theme/ThemeCodeMirror";
|
|
40
|
+
import { WidgetTemplateChartOptions } from "./PublicTemplates";
|
|
41
|
+
import { WidgetFilteredByClassesKey } from "./theme/ThemeWidgetFilteredBy";
|
|
42
|
+
export type Ic3ChartVariants = {
|
|
43
|
+
[Name in keyof WidgetTemplateChartOptions]?: Array<{
|
|
44
|
+
props: {
|
|
45
|
+
variant: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Default props define the default options for the widget.
|
|
49
|
+
*/
|
|
50
|
+
defaultProps: Partial<WidgetTemplateChartOptions[Name]>;
|
|
51
|
+
}>;
|
|
52
|
+
};
|
|
53
|
+
export type Ic3WidgetComponentVariants = Array<{
|
|
54
|
+
props: {
|
|
55
|
+
variant: string;
|
|
56
|
+
};
|
|
57
|
+
style: Interpolation<{
|
|
58
|
+
theme: Theme;
|
|
59
|
+
}>;
|
|
60
|
+
}>;
|
|
40
61
|
export interface INoSchemaRendererOptions {
|
|
41
62
|
missingSchema: string;
|
|
42
63
|
}
|
|
@@ -54,6 +75,24 @@ export type ThemeFormatters = {
|
|
|
54
75
|
text: ThemeTextFormatters;
|
|
55
76
|
emptyCell: string;
|
|
56
77
|
amCharts4: Amcharts4ThemeDateFormatter;
|
|
78
|
+
/**
|
|
79
|
+
* When using #a in a formatter, large values get divided and a letter gets added. Here, you can specify the number
|
|
80
|
+
* to divide by and which letter to add. E.g., 1.000 and 'k' divides numbers between 1.000 and 1.000.000 by a
|
|
81
|
+
* thousand and adds an 'k'.
|
|
82
|
+
*/
|
|
83
|
+
bigNumberPrefixes?: {
|
|
84
|
+
number: number;
|
|
85
|
+
suffix: string;
|
|
86
|
+
}[];
|
|
87
|
+
/**
|
|
88
|
+
* When using #a in a formatter, small values get multiplied and a letter gets added. Here, you can specify the
|
|
89
|
+
* multiplier and the letter. For example, { "number": 1e-6, "suffix": "μ" }, multiplies numbers between 1e-6 and
|
|
90
|
+
* 1e-9 by 1e6 and adds the letter μ.
|
|
91
|
+
*/
|
|
92
|
+
smallNumberPrefixes?: {
|
|
93
|
+
number: number;
|
|
94
|
+
suffix: string;
|
|
95
|
+
}[];
|
|
57
96
|
};
|
|
58
97
|
export type ThemeTextFormattersOptions = Record<string, ThemeTextFormatter> & {
|
|
59
98
|
defaultDate?: ThemeTextFormatter;
|
|
@@ -105,12 +144,6 @@ type Amcharts4ThemeDateFormatter = {
|
|
|
105
144
|
type DeepPartial<T> = {
|
|
106
145
|
[P in keyof T]?: T[P] extends Record<string, unknown> ? DeepPartial<T[P]> : T[P];
|
|
107
146
|
};
|
|
108
|
-
type Amcharts4ThemeDateFormatterOptions = DeepPartial<Amcharts4ThemeDateFormatter>;
|
|
109
|
-
export type ThemeFormattersOptions = {
|
|
110
|
-
text?: ThemeTextFormattersOptions;
|
|
111
|
-
emptyCell?: string;
|
|
112
|
-
amCharts4?: Amcharts4ThemeDateFormatterOptions;
|
|
113
|
-
};
|
|
114
147
|
export interface ic3Palette {
|
|
115
148
|
/**
|
|
116
149
|
* The color for the page background (can be overridden at layout level).
|
|
@@ -302,6 +335,7 @@ export interface ic3Theme {
|
|
|
302
335
|
closeQueryIcon: JSX.Element;
|
|
303
336
|
interactionModeSelection: JSX.Element;
|
|
304
337
|
interactionModeDrilldown: JSX.Element;
|
|
338
|
+
widgetFilterActive: React.ReactNode | undefined;
|
|
305
339
|
autocompleteClearIcon: JSX.Element | undefined;
|
|
306
340
|
autocompletePopupIcon: JSX.Element | undefined;
|
|
307
341
|
nodeOpened: JSX.Element;
|
|
@@ -422,7 +456,7 @@ export interface ic3ThemeOptions {
|
|
|
422
456
|
* fonts in the theme definition .ts file.
|
|
423
457
|
*/
|
|
424
458
|
waitForFonts?: () => Promise<any>;
|
|
425
|
-
formatter?:
|
|
459
|
+
formatter?: DeepPartial<ThemeFormatters>;
|
|
426
460
|
icons?: Partial<ic3Theme['icons']>;
|
|
427
461
|
table?: Record<TableRowHeightOptions, Partial<{
|
|
428
462
|
rowHeight: number;
|
|
@@ -509,6 +543,25 @@ export interface ic3ThemeOptions {
|
|
|
509
543
|
*/
|
|
510
544
|
viewPortOffsetLeft?: number;
|
|
511
545
|
};
|
|
546
|
+
amCharts4?: {
|
|
547
|
+
icons?: {
|
|
548
|
+
zoomOutButton?: {
|
|
549
|
+
/**
|
|
550
|
+
* The radius of the corners
|
|
551
|
+
* tl – Top-left corner
|
|
552
|
+
* tr – Top-right corner
|
|
553
|
+
* bl – Bottom-left corner
|
|
554
|
+
* br – Bottom-right corner
|
|
555
|
+
*/
|
|
556
|
+
cornerRadius: [number, number, number, number];
|
|
557
|
+
fill: string;
|
|
558
|
+
stroke: string;
|
|
559
|
+
strokeWidth: number;
|
|
560
|
+
hoverColor: string;
|
|
561
|
+
downColor: string;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
};
|
|
512
565
|
}
|
|
513
566
|
interface ic3BaseComponents {
|
|
514
567
|
AlertDialog?: {
|
|
@@ -536,10 +589,6 @@ interface ic3BaseComponents {
|
|
|
536
589
|
variants?: ComponentsVariants['FilterPanel'];
|
|
537
590
|
styleOverrides?: ComponentsOverrides["FilterPanel"];
|
|
538
591
|
};
|
|
539
|
-
SingleFilterPanel?: {
|
|
540
|
-
variants?: ComponentsVariants['SingleFilterPanel'];
|
|
541
|
-
styleOverrides?: ComponentsOverrides["SingleFilterPanel"];
|
|
542
|
-
};
|
|
543
592
|
FilterSlider?: {
|
|
544
593
|
styleOverrides?: ComponentsOverrides["FilterSlider"];
|
|
545
594
|
variants?: ComponentsVariants["FilterSlider"];
|
|
@@ -608,6 +657,60 @@ interface ic3BaseComponents {
|
|
|
608
657
|
styleOverrides?: ComponentsOverrides["PrintButton"];
|
|
609
658
|
variants?: ComponentsVariants["PrintButton"];
|
|
610
659
|
};
|
|
660
|
+
CodeMirror?: {
|
|
661
|
+
styleOverrides?: ComponentsOverrides["CodeMirror"];
|
|
662
|
+
};
|
|
663
|
+
WidgetBoxFilteredByTooltip?: {
|
|
664
|
+
styleOverrides?: ComponentsOverrides["WidgetBoxFilteredByTooltip"];
|
|
665
|
+
};
|
|
666
|
+
"amCharts4.AmCharts4BubbleChart"?: {
|
|
667
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4BubbleChart"];
|
|
668
|
+
};
|
|
669
|
+
"amCharts4.AmCharts4ComboChart"?: {
|
|
670
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4ComboChart"];
|
|
671
|
+
};
|
|
672
|
+
"amCharts4.AmCharts4RegularAreaChart"?: {
|
|
673
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4RegularAreaChart"];
|
|
674
|
+
};
|
|
675
|
+
"amCharts4.AmCharts4RegularBarChart"?: {
|
|
676
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4RegularBarChart"];
|
|
677
|
+
};
|
|
678
|
+
"amCharts4.AmCharts4RegularColumnChart"?: {
|
|
679
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4RegularColumnChart"];
|
|
680
|
+
};
|
|
681
|
+
"amCharts4.AmCharts4RegularLineChart"?: {
|
|
682
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4RegularLineChart"];
|
|
683
|
+
};
|
|
684
|
+
"amCharts4.AmCharts4ScatterPlot"?: {
|
|
685
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4ScatterPlot"];
|
|
686
|
+
};
|
|
687
|
+
"amCharts4.AmCharts4StackedAreaChart"?: {
|
|
688
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4StackedAreaChart"];
|
|
689
|
+
};
|
|
690
|
+
"amCharts4.AmCharts4StackedBarChart"?: {
|
|
691
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4StackedBarChart"];
|
|
692
|
+
};
|
|
693
|
+
"amCharts4.AmCharts4StackedColumnChart"?: {
|
|
694
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4StackedColumnChart"];
|
|
695
|
+
};
|
|
696
|
+
"amCharts4.AmCharts4DonutChart"?: {
|
|
697
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4DonutChart"];
|
|
698
|
+
};
|
|
699
|
+
"amCharts4.AmCharts4GaugeChart"?: {
|
|
700
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4GaugeChart"];
|
|
701
|
+
};
|
|
702
|
+
"amCharts4.AmCharts4Histogram"?: {
|
|
703
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4Histogram"];
|
|
704
|
+
};
|
|
705
|
+
"amCharts4.AmCharts4SankeyDiagram"?: {
|
|
706
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4SankeyDiagram"];
|
|
707
|
+
};
|
|
708
|
+
"amCharts4.AmCharts4TreeMap"?: {
|
|
709
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4TreeMap"];
|
|
710
|
+
};
|
|
711
|
+
"amCharts4.AmCharts4GeoMap"?: {
|
|
712
|
+
variants?: Ic3ChartVariants["amCharts4.AmCharts4GeoMap"];
|
|
713
|
+
};
|
|
611
714
|
}
|
|
612
715
|
/**
|
|
613
716
|
* For Typing purpose extending MUI Theme with ic3 components
|
|
@@ -662,7 +765,6 @@ declare module '@mui/material/styles/overrides' {
|
|
|
662
765
|
FilterButtons: FilterButtonsClassKey;
|
|
663
766
|
LazyTreeViewStyled: LazyTreeClassesClassKey;
|
|
664
767
|
FilterPanel: FilterPanelClassesKey;
|
|
665
|
-
SingleFilterPanel: FilterPanelClassesKey;
|
|
666
768
|
FilterSlider: FilterSliderClassKey;
|
|
667
769
|
ListCounter: ListCounterClassKey;
|
|
668
770
|
FilterTree: FilterTreeClassKey;
|
|
@@ -681,30 +783,31 @@ declare module '@mui/material/styles/overrides' {
|
|
|
681
783
|
AppMenuIcon: AppMenuIconClassKey;
|
|
682
784
|
QueryBuilderNode: QueryBuilderNodeClassKey;
|
|
683
785
|
PrintButton: PrintButtonClassKey;
|
|
786
|
+
CodeMirror: CodeMirrorClassesKey;
|
|
787
|
+
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
684
788
|
}
|
|
685
789
|
}
|
|
686
790
|
declare module '@mui/material/styles/props' {
|
|
687
791
|
interface ComponentsPropsList {
|
|
688
|
-
FilterCheckbox:
|
|
689
|
-
FilterButtons:
|
|
690
|
-
LazyTreeViewStyled:
|
|
792
|
+
FilterCheckbox: FilterCheckboxProps;
|
|
793
|
+
FilterButtons: FilterButtonsProps;
|
|
794
|
+
LazyTreeViewStyled: LazyTreeProps;
|
|
691
795
|
FilterPanel: FilterPanelProps;
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
HtmlBox: HtmlBoxProps;
|
|
796
|
+
FilterSlider: FilterSliderProps;
|
|
797
|
+
ListCounter: ListCounterProps;
|
|
798
|
+
FilterTree: FilterTreeProps;
|
|
799
|
+
FilterDatePicker: FilterDatePickerProps;
|
|
800
|
+
FilterAutocomplete: FilterAutocompleteProps;
|
|
801
|
+
HtmlBox: StyledHtmlBoxProps;
|
|
699
802
|
KpiCard: KpiCardProps;
|
|
700
803
|
PivotTable: PivotTableProps;
|
|
701
804
|
Table: TableProps;
|
|
702
|
-
WidgetBox:
|
|
805
|
+
WidgetBox: WidgetBoxDivProps;
|
|
703
806
|
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
704
807
|
AppMenuIconStyled: AppMenuIconProps;
|
|
705
808
|
App: AppDivProps;
|
|
706
809
|
QueryBuilderNode: QueryBuilderNodeProps;
|
|
707
|
-
PrintButton:
|
|
810
|
+
PrintButton: StyledPrintButtonDivProps;
|
|
708
811
|
}
|
|
709
812
|
}
|
|
710
813
|
export {};
|
package/dist/PublicTheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AAsVA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
|
|
@@ -9,6 +9,10 @@ export interface ITidyColumnTypedValue {
|
|
|
9
9
|
value: any;
|
|
10
10
|
fValue?: string;
|
|
11
11
|
type: TidyColumnsType;
|
|
12
|
+
/**
|
|
13
|
+
* Insert this mdx value for this row. Leave undefined to set the mdx info of the row to undefined.
|
|
14
|
+
*/
|
|
15
|
+
mdxInfo?: MdxInfo | null;
|
|
12
16
|
}
|
|
13
17
|
export type ITidyColumnAddValue = ITidyColumnAddValueInsert | ITidyColumnAddValueCopyRow;
|
|
14
18
|
export interface ITidyColumnAddValueInsert {
|
|
@@ -543,7 +547,7 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
543
547
|
mapAllRows<P>(callbackFn: (index: number, column: ITidyBaseColumn<T>) => P | undefined, forceMapAllRows?: boolean): P[];
|
|
544
548
|
/**
|
|
545
549
|
* Map the rows that are visible given a hierarchical axis and an array of boolean values
|
|
546
|
-
* @param expanded
|
|
550
|
+
* @param expanded a function indicating for each index if it is expanded or not. If it is collapsed, then all
|
|
547
551
|
* children are not visible.
|
|
548
552
|
* @param fun function to apply
|
|
549
553
|
*/
|
|
@@ -618,6 +622,10 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
618
622
|
* undefined if it's not an Mdx member column
|
|
619
623
|
*/
|
|
620
624
|
getQueryNodeIdentifier(idx: number): MdxNodeIdentifier | undefined;
|
|
625
|
+
/**
|
|
626
|
+
* Returns the group key at the row index for use with table.toAmcharts4Data.
|
|
627
|
+
*/
|
|
628
|
+
getAmcharts4GroupKey(rowIdx: number): string;
|
|
621
629
|
}
|
|
622
630
|
export interface PublicTidyColumnCellDecorationRenderedOptions {
|
|
623
631
|
cellWidth?: number;
|
|
@@ -667,8 +675,14 @@ export type ITidyColumnIsType<T extends TidyColumnsType> = T extends TidyColumns
|
|
|
667
675
|
export interface TidyTableExprColumnMeta {
|
|
668
676
|
caption: string;
|
|
669
677
|
method: string;
|
|
678
|
+
/**
|
|
679
|
+
* If true, then modifier only available when eval mode is "row".
|
|
680
|
+
*/
|
|
670
681
|
argRow?: boolean;
|
|
682
|
+
/**
|
|
683
|
+
* If true, then modifier only available when the fieldMeta has allowTotalOfSelection set to true.
|
|
684
|
+
*/
|
|
685
|
+
allowsSelectedTotal?: boolean;
|
|
671
686
|
}
|
|
672
687
|
export declare const TidyTableTextExprColumnMetas: TidyTableExprColumnMeta[];
|
|
673
|
-
export declare const TidyTableNumberExprColumnMetas: TidyTableExprColumnMeta[];
|
|
674
688
|
export {};
|
package/dist/PublicTidyColumn.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TidyTableTextExprColumnMetas = exports.CharacterTidyColumnProperties = exports.ITidyColumnNamedProperties = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Properties with a special meaning
|
|
6
6
|
*/
|
|
@@ -97,20 +97,9 @@ exports.TidyTableTextExprColumnMetas = [
|
|
|
97
97
|
{ caption: "percent", method: "percent", argRow: true },
|
|
98
98
|
{ caption: "caption", method: "getCaption" },
|
|
99
99
|
{ caption: "mdxName", method: "mdxName", argRow: true },
|
|
100
|
-
{ caption: "mdxCaption", method: "
|
|
100
|
+
{ caption: "mdxCaption", method: "mdxCaption", argRow: true },
|
|
101
101
|
{ caption: "mdxUniqueName", method: "mdxUniqueName", argRow: true },
|
|
102
102
|
{ caption: "mdxKey", method: "mdxKey", argRow: true },
|
|
103
|
-
|
|
104
|
-
exports.TidyTableNumberExprColumnMetas = [
|
|
105
|
-
{ caption: "total", method: "sum" },
|
|
106
|
-
{ caption: "average", method: "mean" },
|
|
107
|
-
{ caption: "median", method: "median" },
|
|
108
|
-
{ caption: "min", method: "min" },
|
|
109
|
-
{ caption: "max", method: "max" },
|
|
110
|
-
{ caption: "variance", method: "variance" },
|
|
111
|
-
{ caption: "standardDeviation", method: "standardDeviation" },
|
|
112
|
-
{ caption: "count", method: "count" },
|
|
113
|
-
{ caption: "percent", method: "percent", argRow: true },
|
|
114
|
-
// {caption: "caption", method: "getCaption"},
|
|
103
|
+
{ caption: "totalSelectedOrTotal", method: "sumFiltered", allowsSelectedTotal: true }
|
|
115
104
|
];
|
|
116
105
|
//# sourceMappingURL=PublicTidyColumn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AAmDA;;GAEG;AACH,IAAY,0BAsFX;AAtFD,WAAY,0BAA0B;IAElC;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;OAEG;IACH,sEAAwC,CAAA;IAExC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;;OAGG;IACH,yEAA2C,CAAA;IAE3C;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;;;OAIG;IACH,yEAA2C,CAAA;IAE3C;;;;OAIG;IACH,+EAAiD,CAAA;IAEjD;;OAEG;IACH,qDAAuB,CAAA;IAEvB;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,6DAA+B,CAAA;IAE/B;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,gDAAkB,CAAA;IAElB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,mDAAqB,CAAA;AACzB,CAAC,EAtFW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAsFrC;AAEY,QAAA,6BAA6B,GAAG,IAAI,GAAG,CAAS;IAEzD,0BAA0B,CAAC,qBAAqB;IAChD,0BAA0B,CAAC,UAAU;IAErC,0BAA0B,CAAC,mBAAmB;IAE9C,0BAA0B,CAAC,mBAAmB;IAC9C,0BAA0B,CAAC,SAAS;IAEpC,0BAA0B,CAAC,OAAO;IAClC,0BAA0B,CAAC,OAAO;CAErC,CAAC,CAAC;AAuuBU,QAAA,4BAA4B,GAA8B;IAEnE,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAC;IACjC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EA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*/
|
|
12
18
|
RIGHT_CLOSED = "rightClosed"
|
|
13
19
|
}
|
|
20
|
+
export declare enum HistogramBinType {
|
|
21
|
+
AUTOMATIC_WITH_BINS = "automatic",
|
|
22
|
+
USER_DEFINED = "userDefined",
|
|
23
|
+
/**
|
|
24
|
+
* Makes sure that the automatic buckets do not consist of floating point numbers with many decimals.
|
|
25
|
+
* E.g., it uses [0, 0.5, 1] instead of [0.001, 0.4955, 0.99]. User cannot set the number of bins however.
|
|
26
|
+
*/
|
|
27
|
+
INTERVAL_STEPS = "roundedIntervals"
|
|
28
|
+
}
|
|
14
29
|
export interface TidyHistogramOptions extends FormFieldObject {
|
|
15
30
|
/**
|
|
16
31
|
* Bucket Mode.
|
|
17
32
|
*
|
|
18
33
|
* Automatically create buckets or define them yourself.
|
|
19
34
|
*/
|
|
20
|
-
binType:
|
|
35
|
+
binType: HistogramBinType;
|
|
21
36
|
/**
|
|
22
37
|
* Bucket Count.
|
|
23
38
|
*
|
|
24
39
|
* The number of buckets to auto generate.
|
|
25
40
|
*/
|
|
26
41
|
numberOfBins: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of buckets per interval step.
|
|
44
|
+
*/
|
|
45
|
+
prettyIntervalCount: number;
|
|
27
46
|
/**
|
|
28
47
|
* Custom Buckets.
|
|
29
48
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TidyHistogramRowIdsName = exports.TidyHistogramCountColName = exports.TidyHistogramBucketColName = exports.TidyHistogramMetaOptions = exports.TidyHistogramBucketType = exports.TidyHistogramBucketFormat = void 0;
|
|
3
|
+
exports.TidyHistogramRowIdsName = exports.TidyHistogramCountColName = exports.TidyHistogramBucketColName = exports.TidyHistogramMetaOptions = exports.HistogramBinType = exports.TidyHistogramBucketType = exports.TidyHistogramBucketFormat = void 0;
|
|
4
4
|
const PublicTidyTableTypes_1 = require("./PublicTidyTableTypes");
|
|
5
5
|
var TidyHistogramBucketFormat;
|
|
6
6
|
(function (TidyHistogramBucketFormat) {
|
|
@@ -12,9 +12,25 @@ var TidyHistogramBucketFormat;
|
|
|
12
12
|
})(TidyHistogramBucketFormat = exports.TidyHistogramBucketFormat || (exports.TidyHistogramBucketFormat = {}));
|
|
13
13
|
var TidyHistogramBucketType;
|
|
14
14
|
(function (TidyHistogramBucketType) {
|
|
15
|
+
/**
|
|
16
|
+
* [from, to)
|
|
17
|
+
*/
|
|
15
18
|
TidyHistogramBucketType["LEFT_CLOSED"] = "leftClosed";
|
|
19
|
+
/**
|
|
20
|
+
* (from, to]
|
|
21
|
+
*/
|
|
16
22
|
TidyHistogramBucketType["RIGHT_CLOSED"] = "rightClosed";
|
|
17
23
|
})(TidyHistogramBucketType = exports.TidyHistogramBucketType || (exports.TidyHistogramBucketType = {}));
|
|
24
|
+
var HistogramBinType;
|
|
25
|
+
(function (HistogramBinType) {
|
|
26
|
+
HistogramBinType["AUTOMATIC_WITH_BINS"] = "automatic";
|
|
27
|
+
HistogramBinType["USER_DEFINED"] = "userDefined";
|
|
28
|
+
/**
|
|
29
|
+
* Makes sure that the automatic buckets do not consist of floating point numbers with many decimals.
|
|
30
|
+
* E.g., it uses [0, 0.5, 1] instead of [0.001, 0.4955, 0.99]. User cannot set the number of bins however.
|
|
31
|
+
*/
|
|
32
|
+
HistogramBinType["INTERVAL_STEPS"] = "roundedIntervals";
|
|
33
|
+
})(HistogramBinType = exports.HistogramBinType || (exports.HistogramBinType = {}));
|
|
18
34
|
const TidyHistogramMetaOptions = (group, hideSort = false) => {
|
|
19
35
|
return {
|
|
20
36
|
'binType': {
|
|
@@ -22,24 +38,31 @@ const TidyHistogramMetaOptions = (group, hideSort = false) => {
|
|
|
22
38
|
fieldType: "option",
|
|
23
39
|
editorConf: {
|
|
24
40
|
allowDuplicate: true,
|
|
25
|
-
optionValues:
|
|
41
|
+
optionValues: Object.values(HistogramBinType),
|
|
26
42
|
optionName: "HistogramBinType"
|
|
27
43
|
},
|
|
28
|
-
defaultValue:
|
|
44
|
+
defaultValue: HistogramBinType.AUTOMATIC_WITH_BINS
|
|
29
45
|
},
|
|
30
46
|
'numberOfBins': {
|
|
31
47
|
group,
|
|
32
48
|
fieldType: "number",
|
|
33
49
|
defaultValue: 10,
|
|
34
50
|
dependsOn: "binType",
|
|
35
|
-
dependsOnVisibility: dependsOnValue => dependsOnValue ===
|
|
51
|
+
dependsOnVisibility: dependsOnValue => dependsOnValue === HistogramBinType.AUTOMATIC_WITH_BINS
|
|
36
52
|
},
|
|
37
53
|
'customBins': {
|
|
38
54
|
group,
|
|
39
55
|
fieldType: "json",
|
|
40
56
|
defaultValue: '[{"to": 10},{"from":10,"to":100},{"from":100}]',
|
|
41
57
|
dependsOn: "binType",
|
|
42
|
-
dependsOnVisibility: dependsOnValue => dependsOnValue ===
|
|
58
|
+
dependsOnVisibility: dependsOnValue => dependsOnValue === HistogramBinType.USER_DEFINED
|
|
59
|
+
},
|
|
60
|
+
'prettyIntervalCount': {
|
|
61
|
+
group,
|
|
62
|
+
fieldType: "number",
|
|
63
|
+
defaultValue: 4,
|
|
64
|
+
dependsOn: "binType",
|
|
65
|
+
dependsOnVisibility: dependsOnValue => dependsOnValue === HistogramBinType.INTERVAL_STEPS
|
|
43
66
|
},
|
|
44
67
|
'sortBins': {
|
|
45
68
|
group,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyHistogram.js","sourceRoot":"","sources":["../src/PublicTidyHistogram.ts"],"names":[],"mappings":";;;AAAA,iEAAmD;AAGnD,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACjC,kDAAqB,CAAA;IACrB,2DAA8B,CAAA;IAC9B,4EAA+C,CAAA;IAC/C,mDAAsB,CAAA;IACtB,+CAAkB,CAAA;AACtB,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"PublicTidyHistogram.js","s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
|
import { ITidyBaseColumnReadonly } from "./PublicTidyColumn";
|
|
2
|
-
import { HistogramData, HistogramOptions } from "./PublicTidyTableTypes";
|
|
2
|
+
import { HistogramData, HistogramOptions, TidyRowFilter } from "./PublicTidyTableTypes";
|
|
3
|
+
import { TrendLineType } from "./theme/ThemeAmCharts4";
|
|
3
4
|
/**
|
|
4
5
|
* Utility class for doing maths in columns
|
|
5
6
|
*
|
|
@@ -17,6 +18,10 @@ export interface ITidyMath {
|
|
|
17
18
|
* Sum of all values in the column.
|
|
18
19
|
*/
|
|
19
20
|
sum(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[]): number | null;
|
|
21
|
+
/**
|
|
22
|
+
* Sum of all values in the column where filter evaluates to true. Returns the sum if filter is undefined.
|
|
23
|
+
*/
|
|
24
|
+
sumFiltered(column: ITidyBaseColumnReadonly<number | null>, filter: TidyRowFilter | undefined): number | null;
|
|
20
25
|
/**
|
|
21
26
|
* Get the extreme value of the column. Null values are skipped.
|
|
22
27
|
* @param column
|
|
@@ -76,6 +81,7 @@ export interface ITidyMath {
|
|
|
76
81
|
* @Returns an array of histogram buckets
|
|
77
82
|
*/
|
|
78
83
|
hist(column: ITidyBaseColumnReadonly<number | null>, options: Partial<HistogramOptions>): HistogramData[];
|
|
84
|
+
trendLine(trendLine: TrendLineType, y: ITidyBaseColumnReadonly<number | null>, x: ITidyBaseColumnReadonly<number | null>): ((x: number) => number) | undefined;
|
|
79
85
|
/**
|
|
80
86
|
* Return a regression model with one predictor: y = a0 + a1*x + error
|
|
81
87
|
* @param y column x
|
|
@@ -126,6 +126,10 @@ export interface ITidyTableInteractionSelection {
|
|
|
126
126
|
* selection to the initial selection.
|
|
127
127
|
*/
|
|
128
128
|
handleClearSelection(): void;
|
|
129
|
+
/**
|
|
130
|
+
* Resets the selection to his default/initial state.
|
|
131
|
+
*/
|
|
132
|
+
handletoInitialSelection(): void;
|
|
129
133
|
/**
|
|
130
134
|
* Get the selection mode (single or multiple) of the interaction object.
|
|
131
135
|
*/
|
|
@@ -474,4 +474,8 @@ export interface TreeRowPropsTreeData {
|
|
|
474
474
|
hasChildren: boolean;
|
|
475
475
|
isSelected: boolean;
|
|
476
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* Function filtering the rows of a column / table. Returns true if the row is included, false if the row is excluded.
|
|
479
|
+
*/
|
|
480
|
+
export type TidyRowFilter = (rowIdx: number) => boolean;
|
|
477
481
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export * from "./ILocalizationManager";
|
|
|
4
4
|
export * from "./INotification";
|
|
5
5
|
export * from "./IPluginDefinition";
|
|
6
6
|
export * from "./IRemotePluginName";
|
|
7
|
-
export * from "./IReporting";
|
|
8
7
|
export * from "./IThemeManager";
|
|
9
8
|
export * from "./PublicAmchartsData";
|
|
9
|
+
export * from "./PublicAmCharts4Base";
|
|
10
10
|
export * from "./ITidyTableTransformation";
|
|
11
11
|
export * from "./ITidyTableTransformationManager";
|
|
12
12
|
export * from "./ITypes";
|
|
@@ -15,7 +15,6 @@ export * from "./IWidgetDefaultsManager";
|
|
|
15
15
|
export * from "./IWidgetVariantManager";
|
|
16
16
|
export * from "./IWidgetManager";
|
|
17
17
|
export * from "./LazyTreeView";
|
|
18
|
-
export * from "./Loader";
|
|
19
18
|
export * from "./Logger";
|
|
20
19
|
export * from "./PublicCommon";
|
|
21
20
|
export * from "./PublicContext";
|
package/dist/index.js
CHANGED
|
@@ -20,9 +20,9 @@ __exportStar(require("./ILocalizationManager"), exports);
|
|
|
20
20
|
__exportStar(require("./INotification"), exports);
|
|
21
21
|
__exportStar(require("./IPluginDefinition"), exports);
|
|
22
22
|
__exportStar(require("./IRemotePluginName"), exports);
|
|
23
|
-
__exportStar(require("./IReporting"), exports);
|
|
24
23
|
__exportStar(require("./IThemeManager"), exports);
|
|
25
24
|
__exportStar(require("./PublicAmchartsData"), exports);
|
|
25
|
+
__exportStar(require("./PublicAmCharts4Base"), exports);
|
|
26
26
|
__exportStar(require("./ITidyTableTransformation"), exports);
|
|
27
27
|
__exportStar(require("./ITidyTableTransformationManager"), exports);
|
|
28
28
|
__exportStar(require("./ITypes"), exports);
|
|
@@ -31,7 +31,6 @@ __exportStar(require("./IWidgetDefaultsManager"), exports);
|
|
|
31
31
|
__exportStar(require("./IWidgetVariantManager"), exports);
|
|
32
32
|
__exportStar(require("./IWidgetManager"), exports);
|
|
33
33
|
__exportStar(require("./LazyTreeView"), exports);
|
|
34
|
-
__exportStar(require("./Loader"), exports);
|
|
35
34
|
__exportStar(require("./Logger"), exports);
|
|
36
35
|
__exportStar(require("./PublicCommon"), exports);
|
|
37
36
|
__exportStar(require("./PublicContext"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,6DAA0C;AAC1C,oEAAiD;AACjD,2CAAwB;AACxB,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AAEnC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C;AAC3C,mEAAiD;AACjD,2DAAyC;AACzC,iEAA+C;AAC/C,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,4DAA0C;AAC1C,uDAAqC;AACrC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD"}
|