@ic3/reporting-api 8.6.1 → 9.0.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/ApiUtils.js +27 -8
- package/dist/ApiUtils.js.map +1 -1
- package/dist/IOnNewEventJsContext.d.ts +10 -1
- package/dist/ITypes.d.ts +1 -2
- package/dist/IcEvent.d.ts +3 -1
- package/dist/IcEvent.js +2 -0
- package/dist/IcEvent.js.map +1 -1
- package/dist/Logger.d.ts +1 -1
- package/dist/PublicAmchartsData.js +1 -2
- package/dist/PublicAmchartsData.js.map +1 -1
- package/dist/PublicContext.d.ts +66 -13
- package/dist/PublicContext.js +0 -1
- package/dist/PublicContext.js.map +1 -1
- package/dist/PublicLayout.d.ts +3 -0
- package/dist/PublicTemplate.d.ts +8 -5
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateExprForm.d.ts +30 -0
- package/dist/PublicTemplateExprForm.js +3 -0
- package/dist/PublicTemplateExprForm.js.map +1 -0
- package/dist/PublicTemplateForm.d.ts +74 -311
- package/dist/PublicTemplateForm.js +22 -18
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTemplates.d.ts +3 -1
- package/dist/PublicTheme.d.ts +142 -155
- package/dist/PublicTheme.js +3 -3
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +6 -14
- package/dist/PublicTidyMath.d.ts +1 -1
- package/dist/PublicTidyTableInteractions.d.ts +4 -0
- package/dist/PublicTidyTableTypeGuards.d.ts +2 -2
- package/dist/PublicTidyTableTypeGuards.js +5 -6
- package/dist/PublicTidyTableTypeGuards.js.map +1 -1
- package/dist/PublicTidyTree.js +6 -3
- package/dist/PublicTidyTree.js.map +1 -1
- package/dist/RemoteContainerUtils.js +5 -14
- package/dist/RemoteContainerUtils.js.map +1 -1
- package/dist/ReportingVersion.d.ts +1 -1
- package/dist/ReportingVersion.js +2 -2
- package/dist/ReportingVersion.js.map +1 -1
- package/dist/ThemeAugmentation.d.ts +35 -0
- package/dist/ThemeAugmentation.js +3 -0
- package/dist/ThemeAugmentation.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeAIWidgetChatBot.d.ts +1 -0
- package/dist/theme/ThemeAmCharts4.d.ts +13 -1
- package/dist/theme/ThemeApp.d.ts +1 -0
- package/dist/theme/ThemeApp.js.map +1 -1
- package/dist/theme/ThemeFilterPanel.d.ts +18 -1
- package/dist/theme/ThemeFilterPanel.js +10 -1
- package/dist/theme/ThemeFilterPanel.js.map +1 -1
- package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +2 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.js +2 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.js.map +1 -1
- package/dist/theme/ThemeHomeCard.d.ts +9 -0
- package/dist/theme/ThemeHomeCard.js +10 -0
- package/dist/theme/ThemeHomeCard.js.map +1 -0
- package/dist/theme/ThemeHomeConsole.d.ts +16 -0
- package/dist/theme/ThemeHomeConsole.js +20 -0
- package/dist/theme/ThemeHomeConsole.js.map +1 -0
- package/dist/theme/ThemeIc3CustomDrilldownMenu.d.ts +7 -0
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js +11 -0
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js.map +1 -0
- package/dist/theme/ThemeIc3TableCellDrilldown.js.map +1 -1
- package/dist/theme/ThemeIc3WidgetBoxSpinner.d.ts +15 -0
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js +13 -0
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js.map +1 -0
- package/dist/theme/ThemeKpiCard.d.ts +0 -8
- package/dist/theme/ThemeListCounter.d.ts +6 -0
- package/dist/theme/ThemeListCounter.js +6 -0
- package/dist/theme/ThemeListCounter.js.map +1 -1
- package/dist/theme/ThemeSinglePanelFilter.d.ts +1 -1
- package/dist/theme/ThemeTable.d.ts +4 -0
- package/dist/theme/ThemeWidgetBox.d.ts +1 -0
- package/package.json +8 -8
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConditionalRuleOperators = exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.
|
|
3
|
+
exports.ConditionalRuleOperators = exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.IFormFieldGroupTypes = void 0;
|
|
4
|
+
exports.formFieldIsSelection = formFieldIsSelection;
|
|
5
|
+
exports.isTidyTableExpr = isTidyTableExpr;
|
|
6
|
+
exports.isTidyTableExprJS = isTidyTableExprJS;
|
|
7
|
+
exports.isTidyTableExprTable = isTidyTableExprTable;
|
|
8
|
+
exports.isTidyTableExprColumn = isTidyTableExprColumn;
|
|
9
|
+
exports.isTidyTableExprRow = isTidyTableExprRow;
|
|
10
|
+
exports.isTidyTableExprNumericString = isTidyTableExprNumericString;
|
|
11
|
+
exports.isTidyTableExprNumericJS = isTidyTableExprNumericJS;
|
|
12
|
+
exports.isTidyTableExprText = isTidyTableExprText;
|
|
13
|
+
exports.isTidyTableExprTextHtml = isTidyTableExprTextHtml;
|
|
14
|
+
exports.isTidyTableExprNumeric = isTidyTableExprNumeric;
|
|
15
|
+
exports.isTidyTableExprScale = isTidyTableExprScale;
|
|
4
16
|
function formFieldIsSelection(field) {
|
|
5
17
|
return field.group === IFormFieldGroupTypes.Selection;
|
|
6
18
|
}
|
|
7
|
-
exports.formFieldIsSelection = formFieldIsSelection;
|
|
8
19
|
var IFormFieldGroupTypes;
|
|
9
20
|
(function (IFormFieldGroupTypes) {
|
|
10
21
|
IFormFieldGroupTypes["Selection"] = "groupSelection";
|
|
@@ -15,7 +26,6 @@ function isTidyTableExpr(type) {
|
|
|
15
26
|
return type === "tidyTableColorRowExpr"
|
|
16
27
|
|| type === "tidyTableHtmlExpr"
|
|
17
28
|
|| type === "tidyTableHtmlRowExpr"
|
|
18
|
-
|| type === "tidyTableNumericColumnExpr"
|
|
19
29
|
|| type === "tidyTableNumericExpr"
|
|
20
30
|
|| type === "tidyTableNumericJSColumnExpr"
|
|
21
31
|
|| type === "tidyTableNumericRowExpr"
|
|
@@ -25,30 +35,24 @@ function isTidyTableExpr(type) {
|
|
|
25
35
|
|| type === "tidyTableTextRowExpr"
|
|
26
36
|
|| type === "tidyTableStringRowExpr";
|
|
27
37
|
}
|
|
28
|
-
exports.isTidyTableExpr = isTidyTableExpr;
|
|
29
38
|
function isTidyTableExprJS(type) {
|
|
30
39
|
return type === "tidyTableColorRowExpr"
|
|
31
40
|
|| type === "tidyTableStringRowExpr"
|
|
32
41
|
|| type === "tidyTableScaleRowExpr"
|
|
33
42
|
|| type === "tidyTableNumericExpr"
|
|
34
|
-
|| type === "tidyTableNumericColumnExpr"
|
|
35
43
|
|| type === "tidyTableNumericStringColumnExpr"
|
|
36
44
|
|| type === "tidyTableNumericJSColumnExpr"
|
|
37
45
|
|| type === "tidyTableNumericRowExpr";
|
|
38
46
|
}
|
|
39
|
-
exports.isTidyTableExprJS = isTidyTableExprJS;
|
|
40
47
|
function isTidyTableExprTable(type) {
|
|
41
48
|
return type === "tidyTableHtmlExpr"
|
|
42
49
|
|| type === "tidyTableTextExpr"
|
|
43
50
|
|| type === "tidyTableNumericExpr";
|
|
44
51
|
}
|
|
45
|
-
exports.isTidyTableExprTable = isTidyTableExprTable;
|
|
46
52
|
function isTidyTableExprColumn(type) {
|
|
47
|
-
return type === "
|
|
48
|
-
|| type === "tidyTableNumericStringColumnExpr"
|
|
53
|
+
return type === "tidyTableNumericStringColumnExpr"
|
|
49
54
|
|| type === "tidyTableNumericJSColumnExpr";
|
|
50
55
|
}
|
|
51
|
-
exports.isTidyTableExprColumn = isTidyTableExprColumn;
|
|
52
56
|
function isTidyTableExprRow(type) {
|
|
53
57
|
return type === "tidyTableHtmlRowExpr"
|
|
54
58
|
|| type === "tidyTableTextRowExpr"
|
|
@@ -57,35 +61,27 @@ function isTidyTableExprRow(type) {
|
|
|
57
61
|
|| type === "tidyTableColorRowExpr"
|
|
58
62
|
|| type === "tidyTableScaleRowExpr";
|
|
59
63
|
}
|
|
60
|
-
exports.isTidyTableExprRow = isTidyTableExprRow;
|
|
61
64
|
function isTidyTableExprNumericString(type) {
|
|
62
65
|
return type === "tidyTableColorRowExpr" || type === "tidyTableStringRowExpr" || type === "tidyTableNumericStringColumnExpr";
|
|
63
66
|
}
|
|
64
|
-
exports.isTidyTableExprNumericString = isTidyTableExprNumericString;
|
|
65
67
|
function isTidyTableExprNumericJS(type) {
|
|
66
68
|
return type === "tidyTableNumericJSColumnExpr";
|
|
67
69
|
}
|
|
68
|
-
exports.isTidyTableExprNumericJS = isTidyTableExprNumericJS;
|
|
69
70
|
function isTidyTableExprText(type) {
|
|
70
71
|
return type === "tidyTableTextExpr"
|
|
71
72
|
|| type === "tidyTableTextRowExpr";
|
|
72
73
|
}
|
|
73
|
-
exports.isTidyTableExprText = isTidyTableExprText;
|
|
74
74
|
function isTidyTableExprTextHtml(type) {
|
|
75
75
|
return type === "tidyTableHtmlExpr"
|
|
76
76
|
|| type === "tidyTableHtmlRowExpr";
|
|
77
77
|
}
|
|
78
|
-
exports.isTidyTableExprTextHtml = isTidyTableExprTextHtml;
|
|
79
78
|
function isTidyTableExprNumeric(type) {
|
|
80
79
|
return type === "tidyTableNumericExpr"
|
|
81
|
-
|| type === "tidyTableNumericColumnExpr"
|
|
82
80
|
|| type === "tidyTableNumericRowExpr";
|
|
83
81
|
}
|
|
84
|
-
exports.isTidyTableExprNumeric = isTidyTableExprNumeric;
|
|
85
82
|
function isTidyTableExprScale(type) {
|
|
86
83
|
return type === "tidyTableScaleRowExpr";
|
|
87
84
|
}
|
|
88
|
-
exports.isTidyTableExprScale = isTidyTableExprScale;
|
|
89
85
|
/**
|
|
90
86
|
* Error messages for field suggestions and value candidates.
|
|
91
87
|
* Put translations in ReportLocalization.csv.
|
|
@@ -96,6 +92,8 @@ var AutocompleteNoOptionsText;
|
|
|
96
92
|
AutocompleteNoOptionsText["NO_COLUMNS"] = "NO_COLUMNS";
|
|
97
93
|
AutocompleteNoOptionsText["NO_QUERY_RESULT"] = "NO_QUERY_RESULT";
|
|
98
94
|
AutocompleteNoOptionsText["QUERY_HAS_ERROR"] = "QUERY_HAS_ERROR";
|
|
95
|
+
AutocompleteNoOptionsText["TRANSFORMATION_HAS_ERROR"] = "TRANSFORMATION_HAS_ERROR";
|
|
96
|
+
AutocompleteNoOptionsText["QUERY_OUTDATED"] = "QUERY_OUTDATED";
|
|
99
97
|
})(AutocompleteNoOptionsText || (exports.AutocompleteNoOptionsText = AutocompleteNoOptionsText = {}));
|
|
100
98
|
/**
|
|
101
99
|
* Show an action button below the options
|
|
@@ -103,6 +101,7 @@ var AutocompleteNoOptionsText;
|
|
|
103
101
|
var AutocompleteActions;
|
|
104
102
|
(function (AutocompleteActions) {
|
|
105
103
|
AutocompleteActions["ADD_COLOR"] = "ADD_COLOR";
|
|
104
|
+
AutocompleteActions["REFRESH_QUERY"] = "REFRESH_QUERY";
|
|
106
105
|
})(AutocompleteActions || (exports.AutocompleteActions = AutocompleteActions = {}));
|
|
107
106
|
/**
|
|
108
107
|
* @see FormFieldDef
|
|
@@ -110,9 +109,14 @@ var AutocompleteActions;
|
|
|
110
109
|
var ConditionalRuleOperators;
|
|
111
110
|
(function (ConditionalRuleOperators) {
|
|
112
111
|
ConditionalRuleOperators["EQUALS"] = "EQUALS";
|
|
112
|
+
ConditionalRuleOperators["NOT_EQUALS"] = "NOT_EQUALS";
|
|
113
113
|
ConditionalRuleOperators["GREATER_THAN"] = "GREATER_THAN";
|
|
114
114
|
ConditionalRuleOperators["GREATER_EQUAL_THAN"] = "GREATER_EQUAL_THAN";
|
|
115
115
|
ConditionalRuleOperators["SMALLER_THAN"] = "SMALLER_THAN";
|
|
116
116
|
ConditionalRuleOperators["SMALLER_EQUAL_THAN"] = "SMALLER_EQUAL_THAN";
|
|
117
|
+
ConditionalRuleOperators["CONTAINS"] = "CONTAINS";
|
|
118
|
+
ConditionalRuleOperators["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
119
|
+
ConditionalRuleOperators["STARTS_WITH"] = "STARTS_WITH";
|
|
120
|
+
ConditionalRuleOperators["ENDS_WITH"] = "ENDS_WITH";
|
|
117
121
|
})(ConditionalRuleOperators || (exports.ConditionalRuleOperators = ConditionalRuleOperators = {}));
|
|
118
122
|
//# sourceMappingURL=PublicTemplateForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":"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"}
|
|
@@ -17,7 +17,7 @@ import { FilterCheckboxRadioChartOptions } from "./theme/ThemeFilterCheckboxRadi
|
|
|
17
17
|
import { FilterSliderChartOptions } from "./theme/ThemeFilterSlider";
|
|
18
18
|
import { FilterAutocompleteChartOptions } from "./theme/ThemeFilterAutocomplete";
|
|
19
19
|
import { FilterTreeChartOptions } from "./theme/ThemeFilterTree";
|
|
20
|
-
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DonutChartOptions, AmCharts4GaugeChartOptions, AmCharts4HistogramOptions, AmCharts4RegularAreaChartOptions, AmCharts4RegularBarChartOptions, AmCharts4RegularColumnChartOptions, AmCharts4RegularLineChartOptions, AmCharts4SankeyDiagramOptions, AmCharts4ScatterPlotOptions, AmCharts4StackedAreaChartOptions, AmCharts4StackedBarChartOptions, AmCharts4StackedColumnChartOptions, AmCharts4TreemapOptions, GeoMapChartOptions } from "./theme/ThemeAmCharts4";
|
|
20
|
+
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DivergentBarChartOptions, AmCharts4DonutChartOptions, AmCharts4GanttChartOptions, AmCharts4GaugeChartOptions, AmCharts4HistogramOptions, AmCharts4RegularAreaChartOptions, AmCharts4RegularBarChartOptions, AmCharts4RegularColumnChartOptions, AmCharts4RegularLineChartOptions, AmCharts4SankeyDiagramOptions, AmCharts4ScatterPlotOptions, AmCharts4StackedAreaChartOptions, AmCharts4StackedBarChartOptions, AmCharts4StackedColumnChartOptions, AmCharts4TreemapOptions, GeoMapChartOptions } from "./theme/ThemeAmCharts4";
|
|
21
21
|
import { PrintButtonChartOptions } from "./theme/ThemePrintButton";
|
|
22
22
|
import { AIWidgetChatBotOptions } from "./theme/ThemeAIWidgetChatBot";
|
|
23
23
|
import { FilterSwitchChartOptions } from "./theme/ThemeFilterSwitch";
|
|
@@ -59,6 +59,8 @@ interface IWidgetTemplateChartOptions {
|
|
|
59
59
|
"amCharts4.AmCharts4Histogram": AmCharts4HistogramOptions;
|
|
60
60
|
"amCharts4.AmCharts4SankeyDiagram": AmCharts4SankeyDiagramOptions;
|
|
61
61
|
"amCharts4.AmCharts4TreeMap": AmCharts4TreemapOptions;
|
|
62
|
+
"amCharts4.AmCharts4GanttChart": AmCharts4GanttChartOptions;
|
|
63
|
+
"amCharts4.AmCharts4DivergentBarChart": AmCharts4DivergentBarChartOptions;
|
|
62
64
|
"amCharts4.AmCharts4GeoMap": GeoMapChartOptions;
|
|
63
65
|
}
|
|
64
66
|
export type WidgetTemplateChartOptions = IWidgetTemplateChartOptions & {
|
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
/// <reference types="googlemaps" />
|
|
2
|
-
/// <reference types="markerclustererplus" />
|
|
3
1
|
import { ComponentsOverrides, ComponentsVariants, Interpolation, Theme } from "@mui/material";
|
|
4
2
|
import { IPublicWidgetTemplateDefinition } from "./PublicTemplate";
|
|
5
3
|
import { IWidgetLayoutDefinition } from "./PublicLayout";
|
|
6
4
|
import { IThemeWidgetDefaults } from "./IThemeManager";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { ReactElement } from "react";
|
|
7
|
+
import { TypographyStyle } from "@mui/material/styles";
|
|
8
|
+
import { Property } from "csstype";
|
|
9
|
+
import { IPublicContext } from "./PublicContext";
|
|
10
|
+
import { DatePickerClassKey, DatePickerShortcut, DateRangePickerShortcut, FilterDatePickerProps } from "./theme/ThemeDatePicker";
|
|
11
|
+
import { WidgetTemplateChartOptions } from "./PublicTemplates";
|
|
12
|
+
import { IUserMenuOptions, IWidgetBoxIconsDefinition } from "./ITypes";
|
|
13
|
+
import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/ThemeAIWidgetChatBot";
|
|
7
14
|
import { AlertDialogClassKey } from "./theme/ThemeAlertDialog";
|
|
8
15
|
import { AppClassKey, AppDivProps } from "./theme/ThemeApp";
|
|
9
16
|
import { ErrorRendererClassKey } from "./theme/ThemeErrorRenderer";
|
|
17
|
+
import { FilterCheckboxProps, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
18
|
+
import { FilterButtonsClassKey, FilterButtonsProps } from "./theme/ThemeFilterButtons";
|
|
19
|
+
import { LazyTreeClassesClassKey, LazyTreeProps } from "./theme/ThemeLazyTreeClasses";
|
|
20
|
+
import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
|
|
21
|
+
import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
|
|
22
|
+
import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
|
|
23
|
+
import { FilterSliderClassKey, FilterSliderProps } from "./theme/ThemeFilterSlider";
|
|
24
|
+
import { ListCounterClassKey, ListCounterProps } from "./theme/ThemeListCounter";
|
|
25
|
+
import { FilterTreeClassKey, FilterTreePopOverClassKey, FilterTreePopOverProps, FilterTreeProps } from "./theme/ThemeFilterTree";
|
|
26
|
+
import { FilterSwitchClassKey, FilterSwitchProps } from "./theme/ThemeFilterSwitch";
|
|
27
|
+
import { FilterAutocompleteClassesKey, FilterAutocompleteProps } from "./theme/ThemeFilterAutocomplete";
|
|
10
28
|
import { HtmlBoxClassKey, StyledHtmlBoxProps } from "./theme/ThemeHtmlBox";
|
|
29
|
+
import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
|
|
11
30
|
import { LayoutClassKey } from "./theme/ThemeLayout";
|
|
12
31
|
import { LayoutPageClassKey } from "./theme/ThemeLayoutPage";
|
|
32
|
+
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
33
|
+
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
13
34
|
import { ReportAppBarClassKey } from "./theme/ThemeReportAppBar";
|
|
14
35
|
import { WidgetBoxClassKey, WidgetBoxDivProps } from "./theme/ThemeWidgetBox";
|
|
15
36
|
import { WidgetBoxContentMessageClassKey } from "./theme/ThemeWidgetBoxContentMessage";
|
|
16
|
-
import * as React from "react";
|
|
17
|
-
import { ReactElement } from "react";
|
|
18
|
-
import { TypographyStyleOptions } from "@mui/material/styles/createTypography";
|
|
19
|
-
import { Property } from "csstype";
|
|
20
|
-
import { FilterButtonsClassKey, FilterButtonsProps } from "./theme/ThemeFilterButtons";
|
|
21
|
-
import { FilterSliderClassKey, FilterSliderProps } from "./theme/ThemeFilterSlider";
|
|
22
|
-
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
23
|
-
import { IPublicContext } from "./PublicContext";
|
|
24
|
-
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
25
|
-
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
26
|
-
import { Components } from "@mui/material/styles/components";
|
|
27
|
-
import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
|
|
28
|
-
import { FilterCheckboxProps, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
29
37
|
import { ReportAppLeftPanelClassKey } from "./theme/ThemeReportAppLeftPanel";
|
|
30
|
-
import { FilterTreeClassKey, FilterTreePopOverClassKey, FilterTreePopOverProps, FilterTreeProps } from "./theme/ThemeFilterTree";
|
|
31
|
-
import { DatePickerClassKey, DatePickerShortcut, DateRangePickerShortcut, FilterDatePickerProps } from "./theme/ThemeDatePicker";
|
|
32
|
-
import { FilterAutocompleteClassesKey, FilterAutocompleteProps } from "./theme/ThemeFilterAutocomplete";
|
|
33
38
|
import { AppMenuIconClassKey, AppMenuIconProps } from "./theme/ThemeAppMenuIcon";
|
|
34
39
|
import { QueryBuilderNodeClassKey, QueryBuilderNodeProps } from "./theme/ThemeQueryBuilderNode";
|
|
35
|
-
import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
|
|
36
|
-
import { ListCounterClassKey, ListCounterProps } from "./theme/ThemeListCounter";
|
|
37
|
-
import { LazyTreeClassesClassKey, LazyTreeProps } from "./theme/ThemeLazyTreeClasses";
|
|
38
40
|
import { PrintButtonClassKey, StyledPrintButtonDivProps } from "./theme/ThemePrintButton";
|
|
39
41
|
import { CodeMirrorClassesKey } from "./theme/ThemeCodeMirror";
|
|
40
|
-
import { WidgetTemplateChartOptions } from "./PublicTemplates";
|
|
41
42
|
import { WidgetFilteredByClassesKey } from "./theme/ThemeWidgetFilteredBy";
|
|
42
|
-
import { IUserMenuOptions, IWidgetBoxIconsDefinition } from "./ITypes";
|
|
43
43
|
import { Ic3TableCellProps, ThemeIc3TableCellClassesKey } from "./theme/ThemeIc3TableCell";
|
|
44
|
-
import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
|
|
45
|
-
import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/ThemeAIWidgetChatBot";
|
|
46
|
-
import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
|
|
47
44
|
import { Ic3TableCellDrilldownProps, ThemeIc3TableCellDrilldownClassesKey } from "./theme/ThemeIc3TableCellDrilldown";
|
|
48
|
-
import {
|
|
45
|
+
import { HomeCardClassKey } from "./theme/ThemeHomeCard";
|
|
46
|
+
import { HomeConsoleClassKey } from "./theme/ThemeHomeConsole";
|
|
47
|
+
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
48
|
+
import { Ic3CustomDrilldownMenuClassesKey } from "./theme/ThemeIc3CustomDrilldownMenu";
|
|
49
|
+
import { Ic3WidgetBoxSpinnerProps, ThemeIc3WidgetBoxSpinnerClassesKey } from "./theme/ThemeIc3WidgetBoxSpinner";
|
|
49
50
|
export type Ic3ChartVariants = {
|
|
50
51
|
[Name in keyof WidgetTemplateChartOptions]?: Array<{
|
|
51
52
|
props: {
|
|
@@ -373,13 +374,13 @@ export interface ic3PaletteOptions {
|
|
|
373
374
|
mdx?: Partial<ic3Palette['mdx']>;
|
|
374
375
|
}
|
|
375
376
|
export interface ic3Typography {
|
|
376
|
-
amCharts4:
|
|
377
|
+
amCharts4: TypographyStyle;
|
|
377
378
|
}
|
|
378
379
|
export interface ic3TypographyOptions {
|
|
379
380
|
/**
|
|
380
381
|
* Typography for the amCharts plugin.
|
|
381
382
|
*/
|
|
382
|
-
amCharts4?:
|
|
383
|
+
amCharts4?: TypographyStyle;
|
|
383
384
|
}
|
|
384
385
|
export declare enum TableRowHeightOptions {
|
|
385
386
|
standard = "standard",
|
|
@@ -412,6 +413,7 @@ export interface ic3Theme {
|
|
|
412
413
|
queryError: JSX.Element;
|
|
413
414
|
queryWarning: JSX.Element;
|
|
414
415
|
helpIcon: JSX.Element;
|
|
416
|
+
helpIconOutlined: JSX.Element;
|
|
415
417
|
closeQueryIcon: JSX.Element;
|
|
416
418
|
interactionModeSelection: JSX.Element;
|
|
417
419
|
interactionModeDrilldown: JSX.Element;
|
|
@@ -426,6 +428,7 @@ export interface ic3Theme {
|
|
|
426
428
|
radioUnselected: React.ReactNode | undefined;
|
|
427
429
|
radioSelected: React.ReactNode | undefined;
|
|
428
430
|
hasDescendantsIndicatorIcon: React.ReactNode | undefined;
|
|
431
|
+
getViewsMenuCustomButtonIcon: (name: string | undefined) => React.ReactNode | undefined;
|
|
429
432
|
};
|
|
430
433
|
palette: {
|
|
431
434
|
darken: (color: string, factor: number) => string;
|
|
@@ -490,26 +493,44 @@ export interface ic3Theme {
|
|
|
490
493
|
*/
|
|
491
494
|
widgetDefaults?: IThemeWidgetDefaults;
|
|
492
495
|
/**
|
|
493
|
-
* Styling for the sparklines in the sparkline transformation and the KPI card
|
|
496
|
+
* Styling for the sparklines in the sparkline transformation and the KPI card.
|
|
494
497
|
*/
|
|
495
498
|
sparklineSettings: {
|
|
496
499
|
/**
|
|
497
|
-
*
|
|
500
|
+
* Line sparkline settings.
|
|
498
501
|
*/
|
|
499
|
-
|
|
502
|
+
line: {
|
|
503
|
+
/**
|
|
504
|
+
* The width of the line in the sparkline
|
|
505
|
+
*/
|
|
506
|
+
lineWidth: number;
|
|
507
|
+
/**
|
|
508
|
+
* The cursor when the user hovers over the sparkline
|
|
509
|
+
*/
|
|
510
|
+
cursor: {
|
|
511
|
+
color: Property.Color;
|
|
512
|
+
/**
|
|
513
|
+
* the width of the cursor dot when hovering.
|
|
514
|
+
*/
|
|
515
|
+
spotRadius: number;
|
|
516
|
+
/**
|
|
517
|
+
* The width of the stroke when hovering
|
|
518
|
+
*/
|
|
519
|
+
width: number;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
500
522
|
/**
|
|
501
|
-
*
|
|
523
|
+
* Column sparkline settings.
|
|
502
524
|
*/
|
|
503
|
-
|
|
504
|
-
color: Property.Color;
|
|
525
|
+
column: {
|
|
505
526
|
/**
|
|
506
|
-
*
|
|
527
|
+
* Radius of the columns rounded corners.
|
|
507
528
|
*/
|
|
508
|
-
|
|
529
|
+
cornerRadius: number;
|
|
509
530
|
/**
|
|
510
|
-
*
|
|
531
|
+
* Space between columns.
|
|
511
532
|
*/
|
|
512
|
-
|
|
533
|
+
columnSpacing: number;
|
|
513
534
|
};
|
|
514
535
|
};
|
|
515
536
|
noSchemaRenderer?: (context: IPublicContext, options: INoSchemaRendererOptions) => ReactElement;
|
|
@@ -722,7 +743,7 @@ export interface ic3ThemeOptions {
|
|
|
722
743
|
};
|
|
723
744
|
datePicker?: DeepPartial<ic3Theme['datePicker']>;
|
|
724
745
|
}
|
|
725
|
-
interface IWidgetIcons extends IWidgetBoxIconsDefinition {
|
|
746
|
+
interface IWidgetIcons extends IWidgetBoxIconsDefinition, Record<string, any> {
|
|
726
747
|
/**
|
|
727
748
|
* Set to true to make the widget icon options readonly (non-editable) for all widgets. Also, this enforces to
|
|
728
749
|
* always use the default values set in the theme.
|
|
@@ -731,7 +752,77 @@ interface IWidgetIcons extends IWidgetBoxIconsDefinition {
|
|
|
731
752
|
*/
|
|
732
753
|
disableWidgetIconsEdition?: boolean;
|
|
733
754
|
}
|
|
734
|
-
interface
|
|
755
|
+
export interface ic3ComponentNameToClassKey {
|
|
756
|
+
AIWidgetChatBot: AIWidgetChatBotClassKey;
|
|
757
|
+
AlertDialog: AlertDialogClassKey;
|
|
758
|
+
App: AppClassKey;
|
|
759
|
+
ErrorRenderer: ErrorRendererClassKey;
|
|
760
|
+
FilterCheckbox: FilterCheckboxRadioClassKey;
|
|
761
|
+
FilterButtons: FilterButtonsClassKey;
|
|
762
|
+
LazyTreeViewStyled: LazyTreeClassesClassKey;
|
|
763
|
+
FilterPanel: FilterPanelClassesKey;
|
|
764
|
+
FilterPanelViewsMenu: FilterPanelViewsMenuClassesKey;
|
|
765
|
+
Ic3CustomDrilldownMenu: Ic3CustomDrilldownMenuClassesKey;
|
|
766
|
+
RegexFilter: RegexFilterClassesKey;
|
|
767
|
+
FilterSlider: FilterSliderClassKey;
|
|
768
|
+
ListCounter: ListCounterClassKey;
|
|
769
|
+
FilterTree: FilterTreeClassKey;
|
|
770
|
+
Ic3FilterSwitch: FilterSwitchClassKey;
|
|
771
|
+
FilterTreePopOver: FilterTreePopOverClassKey;
|
|
772
|
+
FilterDatePicker: DatePickerClassKey;
|
|
773
|
+
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
774
|
+
HtmlBox: HtmlBoxClassKey;
|
|
775
|
+
KpiCard: KpiCardClassKey;
|
|
776
|
+
Layout: LayoutClassKey;
|
|
777
|
+
LayoutPage: LayoutPageClassKey;
|
|
778
|
+
PivotTable: PivotTableClassKey;
|
|
779
|
+
Table: TableClassKey;
|
|
780
|
+
ReportAppBar: ReportAppBarClassKey;
|
|
781
|
+
WidgetBox: WidgetBoxClassKey;
|
|
782
|
+
WidgetBoxContentMessage: WidgetBoxContentMessageClassKey;
|
|
783
|
+
ReportAppLeftPanel: ReportAppLeftPanelClassKey;
|
|
784
|
+
AppMenuIcon: AppMenuIconClassKey;
|
|
785
|
+
QueryBuilderNode: QueryBuilderNodeClassKey;
|
|
786
|
+
PrintButton: PrintButtonClassKey;
|
|
787
|
+
CodeMirror: CodeMirrorClassesKey;
|
|
788
|
+
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
789
|
+
Ic3TableCell: ThemeIc3TableCellClassesKey;
|
|
790
|
+
Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
|
|
791
|
+
Ic3TableCellError: ThemeIc3TableCellClassesKey;
|
|
792
|
+
Ic3WidgetBoxSpinner: ThemeIc3WidgetBoxSpinnerClassesKey;
|
|
793
|
+
HomeCard: HomeCardClassKey;
|
|
794
|
+
HomeConsole: HomeConsoleClassKey;
|
|
795
|
+
}
|
|
796
|
+
export interface ic3ComponentsPropsList {
|
|
797
|
+
AIWidgetChatBot: AIWidgetChatBotStyleProps;
|
|
798
|
+
FilterCheckbox: FilterCheckboxProps;
|
|
799
|
+
FilterButtons: FilterButtonsProps;
|
|
800
|
+
LazyTreeViewStyled: LazyTreeProps;
|
|
801
|
+
FilterPanel: FilterPanelProps;
|
|
802
|
+
RegexFilter: RegexFilterProps;
|
|
803
|
+
FilterSlider: FilterSliderProps;
|
|
804
|
+
ListCounter: ListCounterProps;
|
|
805
|
+
FilterTree: FilterTreeProps;
|
|
806
|
+
Ic3FilterSwitch: FilterSwitchProps;
|
|
807
|
+
FilterTreePopOver: FilterTreePopOverProps;
|
|
808
|
+
FilterDatePicker: FilterDatePickerProps;
|
|
809
|
+
FilterAutocomplete: FilterAutocompleteProps;
|
|
810
|
+
HtmlBox: StyledHtmlBoxProps;
|
|
811
|
+
KpiCard: KpiCardProps;
|
|
812
|
+
PivotTable: PivotTableProps;
|
|
813
|
+
Table: TableProps;
|
|
814
|
+
WidgetBox: WidgetBoxDivProps;
|
|
815
|
+
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
816
|
+
AppMenuIconStyled: AppMenuIconProps;
|
|
817
|
+
App: AppDivProps;
|
|
818
|
+
QueryBuilderNode: QueryBuilderNodeProps;
|
|
819
|
+
PrintButton: StyledPrintButtonDivProps;
|
|
820
|
+
Ic3TableCell: Ic3TableCellProps;
|
|
821
|
+
Ic3TableCellDrilldown: Ic3TableCellDrilldownProps;
|
|
822
|
+
Ic3TableCellError: Ic3TableCellProps;
|
|
823
|
+
Ic3WidgetBoxSpinner: Ic3WidgetBoxSpinnerProps;
|
|
824
|
+
}
|
|
825
|
+
export interface ic3BaseComponents {
|
|
735
826
|
AIWidgetChatBot?: {
|
|
736
827
|
styleOverrides?: ComponentsOverrides["AIWidgetChatBot"];
|
|
737
828
|
variants?: ComponentsVariants["AIWidgetChatBot"];
|
|
@@ -856,6 +947,10 @@ interface ic3BaseComponents {
|
|
|
856
947
|
Ic3TableCellError?: {
|
|
857
948
|
styleOverrides?: ComponentsOverrides["Ic3TableCellError"];
|
|
858
949
|
};
|
|
950
|
+
Ic3WidgetBoxSpinner?: {
|
|
951
|
+
defaultProps?: Partial<Ic3WidgetBoxSpinnerProps>;
|
|
952
|
+
styleOverrides?: ComponentsOverrides["Ic3WidgetBoxSpinner"];
|
|
953
|
+
};
|
|
859
954
|
Ic3FilterSwitch?: {
|
|
860
955
|
styleOverrides?: ComponentsOverrides["Ic3FilterSwitch"];
|
|
861
956
|
variants?: ComponentsVariants["Ic3FilterSwitch"];
|
|
@@ -908,119 +1003,11 @@ interface ic3BaseComponents {
|
|
|
908
1003
|
"amCharts4.AmCharts4GeoMap"?: {
|
|
909
1004
|
variants?: Ic3ChartVariants["amCharts4.AmCharts4GeoMap"];
|
|
910
1005
|
};
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
}
|
|
918
|
-
/**
|
|
919
|
-
*
|
|
920
|
-
* MUI Module augmentation
|
|
921
|
-
*
|
|
922
|
-
*/
|
|
923
|
-
declare module "@mui/material/styles/createPalette" {
|
|
924
|
-
interface Palette {
|
|
925
|
-
ic3: ic3Palette;
|
|
926
|
-
}
|
|
927
|
-
interface PaletteOptions {
|
|
928
|
-
ic3?: ic3PaletteOptions;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
declare module "@mui/material/styles/createTypography" {
|
|
932
|
-
interface Typography {
|
|
933
|
-
ic3: ic3Typography;
|
|
934
|
-
}
|
|
935
|
-
interface TypographyOptions {
|
|
936
|
-
ic3?: ic3TypographyOptions;
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
declare module '@mui/material/styles/createTheme' {
|
|
940
|
-
interface Theme {
|
|
941
|
-
ic3: ic3Theme;
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* Input of createMuiTheme( {...} )
|
|
945
|
-
*/
|
|
946
|
-
interface ThemeOptions {
|
|
947
|
-
ic3: ic3ThemeOptions;
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
/**
|
|
951
|
-
* All Components using Material-UI like variants (using styled)
|
|
952
|
-
*/
|
|
953
|
-
declare module '@mui/material/styles/components' {
|
|
954
|
-
interface Components extends ic3BaseComponents {
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
declare module '@mui/material/styles/overrides' {
|
|
958
|
-
interface ComponentNameToClassKey {
|
|
959
|
-
AIWidgetChatBot: AIWidgetChatBotClassKey;
|
|
960
|
-
AlertDialog: AlertDialogClassKey;
|
|
961
|
-
App: AppClassKey;
|
|
962
|
-
ErrorRenderer: ErrorRendererClassKey;
|
|
963
|
-
FilterCheckbox: FilterCheckboxRadioClassKey;
|
|
964
|
-
FilterButtons: FilterButtonsClassKey;
|
|
965
|
-
LazyTreeViewStyled: LazyTreeClassesClassKey;
|
|
966
|
-
FilterPanel: FilterPanelClassesKey;
|
|
967
|
-
FilterPanelViewsMenu: FilterPanelViewsMenuClassesKey;
|
|
968
|
-
RegexFilter: RegexFilterClassesKey;
|
|
969
|
-
FilterSlider: FilterSliderClassKey;
|
|
970
|
-
ListCounter: ListCounterClassKey;
|
|
971
|
-
FilterTree: FilterTreeClassKey;
|
|
972
|
-
Ic3FilterSwitch: FilterSwitchClassKey;
|
|
973
|
-
FilterTreePopOver: FilterTreePopOverClassKey;
|
|
974
|
-
FilterDatePicker: DatePickerClassKey;
|
|
975
|
-
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
976
|
-
HtmlBox: HtmlBoxClassKey;
|
|
977
|
-
KpiCard: KpiCardClassKey;
|
|
978
|
-
Layout: LayoutClassKey;
|
|
979
|
-
LayoutPage: LayoutPageClassKey;
|
|
980
|
-
PivotTable: PivotTableClassKey;
|
|
981
|
-
Table: TableClassKey;
|
|
982
|
-
ReportAppBar: ReportAppBarClassKey;
|
|
983
|
-
WidgetBox: WidgetBoxClassKey;
|
|
984
|
-
WidgetBoxContentMessage: WidgetBoxContentMessageClassKey;
|
|
985
|
-
ReportAppLeftPanel: ReportAppLeftPanelClassKey;
|
|
986
|
-
AppMenuIcon: AppMenuIconClassKey;
|
|
987
|
-
QueryBuilderNode: QueryBuilderNodeClassKey;
|
|
988
|
-
PrintButton: PrintButtonClassKey;
|
|
989
|
-
CodeMirror: CodeMirrorClassesKey;
|
|
990
|
-
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
991
|
-
Ic3TableCell: ThemeIc3TableCellClassesKey;
|
|
992
|
-
Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
|
|
993
|
-
Ic3TableCellError: ThemeIc3TableCellClassesKey;
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
declare module '@mui/material/styles/props' {
|
|
997
|
-
interface ComponentsPropsList {
|
|
998
|
-
AIWidgetChatBot: AIWidgetChatBotStyleProps;
|
|
999
|
-
FilterCheckbox: FilterCheckboxProps;
|
|
1000
|
-
FilterButtons: FilterButtonsProps;
|
|
1001
|
-
LazyTreeViewStyled: LazyTreeProps;
|
|
1002
|
-
FilterPanel: FilterPanelProps;
|
|
1003
|
-
RegexFilter: RegexFilterProps;
|
|
1004
|
-
FilterSlider: FilterSliderProps;
|
|
1005
|
-
ListCounter: ListCounterProps;
|
|
1006
|
-
FilterTree: FilterTreeProps;
|
|
1007
|
-
Ic3FilterSwitch: FilterSwitchProps;
|
|
1008
|
-
FilterTreePopOver: FilterTreePopOverProps;
|
|
1009
|
-
FilterDatePicker: FilterDatePickerProps;
|
|
1010
|
-
FilterAutocomplete: FilterAutocompleteProps;
|
|
1011
|
-
HtmlBox: StyledHtmlBoxProps;
|
|
1012
|
-
KpiCard: KpiCardProps;
|
|
1013
|
-
PivotTable: PivotTableProps;
|
|
1014
|
-
Table: TableProps;
|
|
1015
|
-
WidgetBox: WidgetBoxDivProps;
|
|
1016
|
-
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
1017
|
-
AppMenuIconStyled: AppMenuIconProps;
|
|
1018
|
-
App: AppDivProps;
|
|
1019
|
-
QueryBuilderNode: QueryBuilderNodeProps;
|
|
1020
|
-
PrintButton: StyledPrintButtonDivProps;
|
|
1021
|
-
Ic3TableCell: Ic3TableCellProps;
|
|
1022
|
-
Ic3TableCellDrilldown: Ic3TableCellDrilldownProps;
|
|
1023
|
-
Ic3TableCellError: Ic3TableCellProps;
|
|
1024
|
-
}
|
|
1006
|
+
HomeCard?: {
|
|
1007
|
+
styleOverrides?: ComponentsOverrides["HomeCard"];
|
|
1008
|
+
};
|
|
1009
|
+
HomeConsole?: {
|
|
1010
|
+
styleOverrides?: ComponentsOverrides["HomeConsole"];
|
|
1011
|
+
};
|
|
1025
1012
|
}
|
|
1026
1013
|
export {};
|
package/dist/PublicTheme.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TableRowHeightOptions =
|
|
3
|
+
exports.TableRowHeightOptions = void 0;
|
|
4
|
+
exports.isThemeFormatterPerLocale = isThemeFormatterPerLocale;
|
|
4
5
|
function isThemeFormatterPerLocale(x) {
|
|
5
|
-
return
|
|
6
|
+
return x?.['default'] != null;
|
|
6
7
|
}
|
|
7
|
-
exports.isThemeFormatterPerLocale = isThemeFormatterPerLocale;
|
|
8
8
|
var TableRowHeightOptions;
|
|
9
9
|
(function (TableRowHeightOptions) {
|
|
10
10
|
TableRowHeightOptions["standard"] = "standard";
|
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":";;;AAiKA,8DAEC;AAFD,SAAgB,yBAAyB,CAAC,CAAqE;IAC3G,OAAQ,CAA6B,EAAE,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;AAC/D,CAAC;AA6RD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, GroupRowIndices, IMdxAxisSeriesInfo, ITidyColumnIndex, ITidyColumnsSource, MdxInfo, TidyCellError, TidyColumnsSubType, TidyColumnsType } from "./PublicTidyTableTypes";
|
|
3
2
|
import { TidyActionEvent } from "./IcEvent";
|
|
4
3
|
import { ThemeTextFormatter } from "./PublicTheme";
|
|
@@ -314,22 +313,22 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
314
313
|
* Returns true if the column has a property of requested name.
|
|
315
314
|
*/
|
|
316
315
|
hasProperty(name: ITidyColumnNamedProperties | string): boolean;
|
|
317
|
-
/**
|
|
318
|
-
* Returns true if the column has color property or is a color column.
|
|
319
|
-
*/
|
|
320
|
-
hasColorProperty(): boolean;
|
|
321
316
|
/**
|
|
322
317
|
* Returns the color column (if defined).
|
|
323
318
|
*
|
|
324
319
|
* If the column has type 'color', then it returns itself. Else it returns the
|
|
325
|
-
* column of the first property with type 'color'.
|
|
320
|
+
* column of the first property(1) with type 'color' (if it is defined).
|
|
321
|
+
*
|
|
322
|
+
* (1) the fore color property is excluded.
|
|
326
323
|
*/
|
|
327
324
|
getColorColumn(): ITidyColorColumn | undefined;
|
|
328
325
|
/**
|
|
329
326
|
* Returns the color of a cell (if defined).
|
|
330
327
|
*
|
|
331
328
|
* If the column has type 'color', then it returns the cell value. Else it returns the
|
|
332
|
-
* value at rowIdx of the first property with type 'color' (if it is defined).
|
|
329
|
+
* value at rowIdx of the first property(1) with type 'color' (if it is defined).
|
|
330
|
+
*
|
|
331
|
+
* (1) the fore color property is excluded.
|
|
333
332
|
*/
|
|
334
333
|
getColor(rowIdx: number): Property.Color | undefined;
|
|
335
334
|
/**
|
|
@@ -349,13 +348,6 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
349
348
|
* @param rowIdx row index for the value to return.
|
|
350
349
|
*/
|
|
351
350
|
getPropertyAt(name: ITidyColumnNamedProperties | string, rowIdx: number): any;
|
|
352
|
-
/**
|
|
353
|
-
* Return the properties of a column for a given cell index.
|
|
354
|
-
*
|
|
355
|
-
* @param idx row index of cell.
|
|
356
|
-
* @deprecated
|
|
357
|
-
*/
|
|
358
|
-
getPropertiesAt(idx: number): Record<string, any>;
|
|
359
351
|
/**
|
|
360
352
|
* Return available properties for this column as a list of columns.
|
|
361
353
|
*/
|
package/dist/PublicTidyMath.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ export interface ITidyMath {
|
|
|
142
142
|
* @param column
|
|
143
143
|
* @param idx row index of the cell to calculate the percentage of.
|
|
144
144
|
*/
|
|
145
|
-
percentRow(table: ITidyTable, column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
|
|
145
|
+
percentRow(table: ITidyTable, column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
|
|
146
146
|
/**
|
|
147
147
|
* Count the values in the column. For example: [a, b, b] -> {a: 1, b: 2}.
|
|
148
148
|
*/
|
|
@@ -310,4 +310,8 @@ export interface ITidyTableInteraction extends ITidyTableInteractionSelection, I
|
|
|
310
310
|
* @param columnIdx
|
|
311
311
|
*/
|
|
312
312
|
getDrilldownColumn(columnIdx: number): ITidyColumn;
|
|
313
|
+
/**
|
|
314
|
+
* Return the selection behaviour when the selection is empty.
|
|
315
|
+
*/
|
|
316
|
+
getEmptyMode(): SelectionBehaviour | undefined;
|
|
313
317
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TidyTableColumnIdentifier, TidyTableColumnSelector, TidyTableMappingColumnSelectorOptions, TidyTableRoleSelector } from "./PublicTidyTableTypes";
|
|
2
2
|
export declare function isTidyTableMappingColumnSelectorOptions(v: unknown): v is TidyTableMappingColumnSelectorOptions;
|
|
3
|
-
export declare function isTidyTableColumnIdentifier(v:
|
|
4
|
-
export declare function isTidyTableRoleSelector(v:
|
|
3
|
+
export declare function isTidyTableColumnIdentifier(v: any): v is TidyTableColumnIdentifier;
|
|
4
|
+
export declare function isTidyTableRoleSelector(v: any): v is TidyTableRoleSelector;
|
|
5
5
|
export declare function isTidyTableColumnSelector(v: unknown): v is TidyTableColumnSelector;
|
|
6
6
|
export declare function isTidyTableColumnsChooser(columnChooserValue: unknown): columnChooserValue is (TidyTableColumnSelector | TidyTableColumnSelector[]);
|