@ic3/reporting-api 9.0.1 → 9.1.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/README.md +1 -1
- package/dist/index.cjs +1906 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +11280 -81
- package/dist/index.js +1782 -96
- package/dist/index.js.map +1 -1
- package/package.json +51 -19
- package/dist/ApiUtils.d.ts +0 -57
- package/dist/ApiUtils.js +0 -79
- package/dist/ApiUtils.js.map +0 -1
- package/dist/ILocalizationManager.d.ts +0 -3
- package/dist/ILocalizationManager.js +0 -3
- package/dist/ILocalizationManager.js.map +0 -1
- package/dist/IMigrationManager.d.ts +0 -4
- package/dist/IMigrationManager.js +0 -3
- package/dist/IMigrationManager.js.map +0 -1
- package/dist/INotification.d.ts +0 -84
- package/dist/INotification.js +0 -3
- package/dist/INotification.js.map +0 -1
- package/dist/IOnNewEventJsContext.d.ts +0 -85
- package/dist/IOnNewEventJsContext.js +0 -3
- package/dist/IOnNewEventJsContext.js.map +0 -1
- package/dist/IPluginDefinition.d.ts +0 -41
- package/dist/IPluginDefinition.js +0 -3
- package/dist/IPluginDefinition.js.map +0 -1
- package/dist/IRemotePluginName.d.ts +0 -5
- package/dist/IRemotePluginName.js +0 -3
- package/dist/IRemotePluginName.js.map +0 -1
- package/dist/IThemeManager.d.ts +0 -87
- package/dist/IThemeManager.js +0 -8
- package/dist/IThemeManager.js.map +0 -1
- package/dist/ITidyTableTransformation.d.ts +0 -44
- package/dist/ITidyTableTransformation.js +0 -3
- package/dist/ITidyTableTransformation.js.map +0 -1
- package/dist/ITidyTableTransformationManager.d.ts +0 -4
- package/dist/ITidyTableTransformationManager.js +0 -3
- package/dist/ITidyTableTransformationManager.js.map +0 -1
- package/dist/ITypes.d.ts +0 -43
- package/dist/ITypes.js +0 -38
- package/dist/ITypes.js.map +0 -1
- package/dist/IUserMenuOptionManager.d.ts +0 -13
- package/dist/IUserMenuOptionManager.js +0 -3
- package/dist/IUserMenuOptionManager.js.map +0 -1
- package/dist/IVersionedPluginDefinition.d.ts +0 -8
- package/dist/IVersionedPluginDefinition.js +0 -3
- package/dist/IVersionedPluginDefinition.js.map +0 -1
- package/dist/IWidgetDefaultsManager.d.ts +0 -4
- package/dist/IWidgetDefaultsManager.js +0 -3
- package/dist/IWidgetDefaultsManager.js.map +0 -1
- package/dist/IWidgetManager.d.ts +0 -7
- package/dist/IWidgetManager.js +0 -3
- package/dist/IWidgetManager.js.map +0 -1
- package/dist/IWidgetVariantManager.d.ts +0 -22
- package/dist/IWidgetVariantManager.js +0 -3
- package/dist/IWidgetVariantManager.js.map +0 -1
- package/dist/IcEvent.d.ts +0 -59
- package/dist/IcEvent.js +0 -27
- package/dist/IcEvent.js.map +0 -1
- package/dist/LazyTreeView.d.ts +0 -130
- package/dist/LazyTreeView.js +0 -3
- package/dist/LazyTreeView.js.map +0 -1
- package/dist/Logger.d.ts +0 -13
- package/dist/Logger.js +0 -3
- package/dist/Logger.js.map +0 -1
- package/dist/PublicAmCharts4Base.d.ts +0 -91
- package/dist/PublicAmCharts4Base.js +0 -3
- package/dist/PublicAmCharts4Base.js.map +0 -1
- package/dist/PublicAmchartsData.d.ts +0 -116
- package/dist/PublicAmchartsData.js +0 -170
- package/dist/PublicAmchartsData.js.map +0 -1
- package/dist/PublicCommon.d.ts +0 -1
- package/dist/PublicCommon.js +0 -3
- package/dist/PublicCommon.js.map +0 -1
- package/dist/PublicContext.d.ts +0 -389
- package/dist/PublicContext.js +0 -19
- package/dist/PublicContext.js.map +0 -1
- package/dist/PublicDateShortcutUtils.d.ts +0 -41
- package/dist/PublicDateShortcutUtils.js +0 -3
- package/dist/PublicDateShortcutUtils.js.map +0 -1
- package/dist/PublicI18n.d.ts +0 -8
- package/dist/PublicI18n.js +0 -3
- package/dist/PublicI18n.js.map +0 -1
- package/dist/PublicLayout.d.ts +0 -247
- package/dist/PublicLayout.js +0 -3
- package/dist/PublicLayout.js.map +0 -1
- package/dist/PublicTemplate.d.ts +0 -630
- package/dist/PublicTemplate.js +0 -33
- package/dist/PublicTemplate.js.map +0 -1
- package/dist/PublicTemplateExprForm.d.ts +0 -30
- package/dist/PublicTemplateExprForm.js +0 -3
- package/dist/PublicTemplateExprForm.js.map +0 -1
- package/dist/PublicTemplateForm.d.ts +0 -866
- package/dist/PublicTemplateForm.js +0 -122
- package/dist/PublicTemplateForm.js.map +0 -1
- package/dist/PublicTemplates.d.ts +0 -70
- package/dist/PublicTemplates.js +0 -3
- package/dist/PublicTemplates.js.map +0 -1
- package/dist/PublicTheme.d.ts +0 -1013
- package/dist/PublicTheme.js +0 -14
- package/dist/PublicTheme.js.map +0 -1
- package/dist/PublicTidyColumn.d.ts +0 -755
- package/dist/PublicTidyColumn.js +0 -100
- package/dist/PublicTidyColumn.js.map +0 -1
- package/dist/PublicTidyHistogram.d.ts +0 -81
- package/dist/PublicTidyHistogram.js +0 -105
- package/dist/PublicTidyHistogram.js.map +0 -1
- package/dist/PublicTidyMath.d.ts +0 -175
- package/dist/PublicTidyMath.js +0 -3
- package/dist/PublicTidyMath.js.map +0 -1
- package/dist/PublicTidyTable.d.ts +0 -534
- package/dist/PublicTidyTable.js +0 -3
- package/dist/PublicTidyTable.js.map +0 -1
- package/dist/PublicTidyTableInteractions.d.ts +0 -317
- package/dist/PublicTidyTableInteractions.js +0 -31
- package/dist/PublicTidyTableInteractions.js.map +0 -1
- package/dist/PublicTidyTableTypeGuards.d.ts +0 -6
- package/dist/PublicTidyTableTypeGuards.js +0 -36
- package/dist/PublicTidyTableTypeGuards.js.map +0 -1
- package/dist/PublicTidyTableTypes.d.ts +0 -480
- package/dist/PublicTidyTableTypes.js +0 -154
- package/dist/PublicTidyTableTypes.js.map +0 -1
- package/dist/PublicTidyTree.d.ts +0 -71
- package/dist/PublicTidyTree.js +0 -89
- package/dist/PublicTidyTree.js.map +0 -1
- package/dist/RemoteContainerUtils.d.ts +0 -9
- package/dist/RemoteContainerUtils.js +0 -49
- package/dist/RemoteContainerUtils.js.map +0 -1
- package/dist/ReportingVersion.d.ts +0 -9
- package/dist/ReportingVersion.js +0 -13
- package/dist/ReportingVersion.js.map +0 -1
- package/dist/ThemeAugmentation.d.ts +0 -35
- package/dist/ThemeAugmentation.js +0 -3
- package/dist/ThemeAugmentation.js.map +0 -1
- package/dist/theme/ThemeAIWidgetChatBot.d.ts +0 -49
- package/dist/theme/ThemeAIWidgetChatBot.js +0 -19
- package/dist/theme/ThemeAIWidgetChatBot.js.map +0 -1
- package/dist/theme/ThemeAlertDialog.d.ts +0 -13
- package/dist/theme/ThemeAlertDialog.js +0 -17
- package/dist/theme/ThemeAlertDialog.js.map +0 -1
- package/dist/theme/ThemeAmCharts4.d.ts +0 -1634
- package/dist/theme/ThemeAmCharts4.js +0 -84
- package/dist/theme/ThemeAmCharts4.js.map +0 -1
- package/dist/theme/ThemeApp.d.ts +0 -66
- package/dist/theme/ThemeApp.js +0 -64
- package/dist/theme/ThemeApp.js.map +0 -1
- package/dist/theme/ThemeAppMenuIcon.d.ts +0 -7
- package/dist/theme/ThemeAppMenuIcon.js +0 -8
- package/dist/theme/ThemeAppMenuIcon.js.map +0 -1
- package/dist/theme/ThemeBaseTable.d.ts +0 -122
- package/dist/theme/ThemeBaseTable.js +0 -10
- package/dist/theme/ThemeBaseTable.js.map +0 -1
- package/dist/theme/ThemeCodeMirror.d.ts +0 -4
- package/dist/theme/ThemeCodeMirror.js +0 -8
- package/dist/theme/ThemeCodeMirror.js.map +0 -1
- package/dist/theme/ThemeDatePicker.d.ts +0 -214
- package/dist/theme/ThemeDatePicker.js +0 -37
- package/dist/theme/ThemeDatePicker.js.map +0 -1
- package/dist/theme/ThemeEditorTopBar.d.ts +0 -39
- package/dist/theme/ThemeEditorTopBar.js +0 -43
- package/dist/theme/ThemeEditorTopBar.js.map +0 -1
- package/dist/theme/ThemeEmbeddedReport.d.ts +0 -37
- package/dist/theme/ThemeEmbeddedReport.js +0 -9
- package/dist/theme/ThemeEmbeddedReport.js.map +0 -1
- package/dist/theme/ThemeErrorRenderer.d.ts +0 -51
- package/dist/theme/ThemeErrorRenderer.js +0 -55
- package/dist/theme/ThemeErrorRenderer.js.map +0 -1
- package/dist/theme/ThemeFilter.d.ts +0 -28
- package/dist/theme/ThemeFilter.js +0 -3
- package/dist/theme/ThemeFilter.js.map +0 -1
- package/dist/theme/ThemeFilterAutocomplete.d.ts +0 -58
- package/dist/theme/ThemeFilterAutocomplete.js +0 -15
- package/dist/theme/ThemeFilterAutocomplete.js.map +0 -1
- package/dist/theme/ThemeFilterButtons.d.ts +0 -74
- package/dist/theme/ThemeFilterButtons.js +0 -23
- package/dist/theme/ThemeFilterButtons.js.map +0 -1
- package/dist/theme/ThemeFilterCheckboxRadio.d.ts +0 -52
- package/dist/theme/ThemeFilterCheckboxRadio.js +0 -23
- package/dist/theme/ThemeFilterCheckboxRadio.js.map +0 -1
- package/dist/theme/ThemeFilterPanel.d.ts +0 -243
- package/dist/theme/ThemeFilterPanel.js +0 -127
- package/dist/theme/ThemeFilterPanel.js.map +0 -1
- package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +0 -8
- package/dist/theme/ThemeFilterPanelViewsMenu.js +0 -12
- package/dist/theme/ThemeFilterPanelViewsMenu.js.map +0 -1
- package/dist/theme/ThemeFilterSlider.d.ts +0 -92
- package/dist/theme/ThemeFilterSlider.js +0 -41
- package/dist/theme/ThemeFilterSlider.js.map +0 -1
- package/dist/theme/ThemeFilterSwitch.d.ts +0 -41
- package/dist/theme/ThemeFilterSwitch.js +0 -15
- package/dist/theme/ThemeFilterSwitch.js.map +0 -1
- package/dist/theme/ThemeFilterTree.d.ts +0 -112
- package/dist/theme/ThemeFilterTree.js +0 -23
- package/dist/theme/ThemeFilterTree.js.map +0 -1
- package/dist/theme/ThemeGlobal.d.ts +0 -4
- package/dist/theme/ThemeGlobal.js +0 -9
- package/dist/theme/ThemeGlobal.js.map +0 -1
- package/dist/theme/ThemeGoogle.d.ts +0 -132
- package/dist/theme/ThemeGoogle.js +0 -64
- package/dist/theme/ThemeGoogle.js.map +0 -1
- package/dist/theme/ThemeGoogleHeatMap.d.ts +0 -58
- package/dist/theme/ThemeGoogleHeatMap.js +0 -3
- package/dist/theme/ThemeGoogleHeatMap.js.map +0 -1
- package/dist/theme/ThemeGoogleKmlLayer.d.ts +0 -40
- package/dist/theme/ThemeGoogleKmlLayer.js +0 -3
- package/dist/theme/ThemeGoogleKmlLayer.js.map +0 -1
- package/dist/theme/ThemeGoogleMarker.d.ts +0 -147
- package/dist/theme/ThemeGoogleMarker.js +0 -3
- package/dist/theme/ThemeGoogleMarker.js.map +0 -1
- package/dist/theme/ThemeHomeCard.d.ts +0 -9
- package/dist/theme/ThemeHomeCard.js +0 -10
- package/dist/theme/ThemeHomeCard.js.map +0 -1
- package/dist/theme/ThemeHomeConsole.d.ts +0 -16
- package/dist/theme/ThemeHomeConsole.js +0 -20
- package/dist/theme/ThemeHomeConsole.js.map +0 -1
- package/dist/theme/ThemeHtmlBox.d.ts +0 -33
- package/dist/theme/ThemeHtmlBox.js +0 -11
- package/dist/theme/ThemeHtmlBox.js.map +0 -1
- package/dist/theme/ThemeIc3CustomDrilldownMenu.d.ts +0 -7
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js +0 -11
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js.map +0 -1
- package/dist/theme/ThemeIc3TableCell.d.ts +0 -10
- package/dist/theme/ThemeIc3TableCell.js +0 -7
- package/dist/theme/ThemeIc3TableCell.js.map +0 -1
- package/dist/theme/ThemeIc3TableCellDrilldown.d.ts +0 -12
- package/dist/theme/ThemeIc3TableCellDrilldown.js +0 -11
- package/dist/theme/ThemeIc3TableCellDrilldown.js.map +0 -1
- package/dist/theme/ThemeIc3WidgetBoxSpinner.d.ts +0 -15
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js +0 -13
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js.map +0 -1
- package/dist/theme/ThemeImage.d.ts +0 -30
- package/dist/theme/ThemeImage.js +0 -12
- package/dist/theme/ThemeImage.js.map +0 -1
- package/dist/theme/ThemeKpiBox.d.ts +0 -33
- package/dist/theme/ThemeKpiBox.js +0 -3
- package/dist/theme/ThemeKpiBox.js.map +0 -1
- package/dist/theme/ThemeKpiCard.d.ts +0 -133
- package/dist/theme/ThemeKpiCard.js +0 -19
- package/dist/theme/ThemeKpiCard.js.map +0 -1
- package/dist/theme/ThemeLayout.d.ts +0 -10
- package/dist/theme/ThemeLayout.js +0 -14
- package/dist/theme/ThemeLayout.js.map +0 -1
- package/dist/theme/ThemeLayoutPage.d.ts +0 -24
- package/dist/theme/ThemeLayoutPage.js +0 -28
- package/dist/theme/ThemeLayoutPage.js.map +0 -1
- package/dist/theme/ThemeLazyTreeClasses.d.ts +0 -29
- package/dist/theme/ThemeLazyTreeClasses.js +0 -31
- package/dist/theme/ThemeLazyTreeClasses.js.map +0 -1
- package/dist/theme/ThemeListCounter.d.ts +0 -15
- package/dist/theme/ThemeListCounter.js +0 -17
- package/dist/theme/ThemeListCounter.js.map +0 -1
- package/dist/theme/ThemeMarkdownText.d.ts +0 -27
- package/dist/theme/ThemeMarkdownText.js +0 -3
- package/dist/theme/ThemeMarkdownText.js.map +0 -1
- package/dist/theme/ThemePivotTable.d.ts +0 -93
- package/dist/theme/ThemePivotTable.js +0 -31
- package/dist/theme/ThemePivotTable.js.map +0 -1
- package/dist/theme/ThemePrintButton.d.ts +0 -29
- package/dist/theme/ThemePrintButton.js +0 -10
- package/dist/theme/ThemePrintButton.js.map +0 -1
- package/dist/theme/ThemeQueryBuilderNode.d.ts +0 -13
- package/dist/theme/ThemeQueryBuilderNode.js +0 -13
- package/dist/theme/ThemeQueryBuilderNode.js.map +0 -1
- package/dist/theme/ThemeRegexFilter.d.ts +0 -24
- package/dist/theme/ThemeRegexFilter.js +0 -26
- package/dist/theme/ThemeRegexFilter.js.map +0 -1
- package/dist/theme/ThemeRepetitionWidget.d.ts +0 -57
- package/dist/theme/ThemeRepetitionWidget.js +0 -3
- package/dist/theme/ThemeRepetitionWidget.js.map +0 -1
- package/dist/theme/ThemeReportAppBar.d.ts +0 -17
- package/dist/theme/ThemeReportAppBar.js +0 -21
- package/dist/theme/ThemeReportAppBar.js.map +0 -1
- package/dist/theme/ThemeReportAppLeftPanel.d.ts +0 -8
- package/dist/theme/ThemeReportAppLeftPanel.js +0 -12
- package/dist/theme/ThemeReportAppLeftPanel.js.map +0 -1
- package/dist/theme/ThemeSeparator.d.ts +0 -13
- package/dist/theme/ThemeSeparator.js +0 -3
- package/dist/theme/ThemeSeparator.js.map +0 -1
- package/dist/theme/ThemeSinglePanelFilter.d.ts +0 -18
- package/dist/theme/ThemeSinglePanelFilter.js +0 -3
- package/dist/theme/ThemeSinglePanelFilter.js.map +0 -1
- package/dist/theme/ThemeTable.d.ts +0 -160
- package/dist/theme/ThemeTable.js +0 -157
- package/dist/theme/ThemeTable.js.map +0 -1
- package/dist/theme/ThemeWidgetBox.d.ts +0 -164
- package/dist/theme/ThemeWidgetBox.js +0 -124
- package/dist/theme/ThemeWidgetBox.js.map +0 -1
- package/dist/theme/ThemeWidgetBoxContentMessage.d.ts +0 -11
- package/dist/theme/ThemeWidgetBoxContentMessage.js +0 -15
- package/dist/theme/ThemeWidgetBoxContentMessage.js.map +0 -1
- package/dist/theme/ThemeWidgetFilteredBy.d.ts +0 -5
- package/dist/theme/ThemeWidgetFilteredBy.js +0 -9
- package/dist/theme/ThemeWidgetFilteredBy.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITidyTableTransformation.js","sourceRoot":"","sources":["../src/ITidyTableTransformation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITidyTableTransformationManager.js","sourceRoot":"","sources":["../src/ITidyTableTransformationManager.ts"],"names":[],"mappings":""}
|
package/dist/ITypes.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export type PaperSizeName = "A5" | "A4" | "A3" | "B5" | "B4" | "Letter" | "Legal" | "Ledger" | "JIS-B5" | "JIS-B4";
|
|
2
|
-
export type PaperOrientation = "portrait" | "landscape";
|
|
3
|
-
export type PaperSizeUnits = "px" | "mm" | "cm" | "in";
|
|
4
|
-
export declare enum CompareTextInterpretationType {
|
|
5
|
-
MORE = "more=better",
|
|
6
|
-
LESS = "less=better",
|
|
7
|
-
NONE = "none"
|
|
8
|
-
}
|
|
9
|
-
export declare enum TargetTextPosition {
|
|
10
|
-
DISABLE = "DISABLE",
|
|
11
|
-
ALIGN_TOP = "ALIGN_TOP",
|
|
12
|
-
ALIGN_BOTTOM = "ALIGN_BOTTOM"
|
|
13
|
-
}
|
|
14
|
-
export declare enum TargetTextIconSet {
|
|
15
|
-
TREND_ICONS = "TREND_ICONS",
|
|
16
|
-
TRIANGLE_ICONS = "TRIANGLE_ICONS"
|
|
17
|
-
}
|
|
18
|
-
export declare enum SparkChartType {
|
|
19
|
-
LINE = "line",
|
|
20
|
-
COLUMN = "column"
|
|
21
|
-
}
|
|
22
|
-
export declare enum SparklinePosition {
|
|
23
|
-
BELOW_VALUE = "BELOW_VALUE",
|
|
24
|
-
RIGHT_OF_VALUE = "RIGHT_OF_VALUE"
|
|
25
|
-
}
|
|
26
|
-
export declare enum QueryType {
|
|
27
|
-
MDX = "mdx",
|
|
28
|
-
SQL = "sql",
|
|
29
|
-
EMBEDDED = "embedded",
|
|
30
|
-
HTTP_CSV = "HTTP_CSV"
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Set to `true` to hide the icon.
|
|
34
|
-
*/
|
|
35
|
-
export interface IWidgetBoxIconsDefinition {
|
|
36
|
-
disableQueryFilter?: boolean;
|
|
37
|
-
disableQueryCellOnError?: boolean;
|
|
38
|
-
disableQueryMaxRowsReached?: boolean;
|
|
39
|
-
disableDrilldown?: boolean;
|
|
40
|
-
disableHelp?: boolean;
|
|
41
|
-
disableInteractionSwitch?: boolean;
|
|
42
|
-
}
|
|
43
|
-
export type IUserMenuOptions = 'editGadget' | 'editWidget' | 'deleteWidget' | 'deleteGadget' | 'convertGadgetToWidget' | 'addEventToAllQueries' | 'migrateWidget' | 'maximize' | 'clearSorting' | 'showData' | 'resetDrilldown' | 'clearState' | 'clearSelection' | 'toInitialSelectionOnEditing' | 'toInitialSelection' | 'export_xls' | 'export_png' | 'export_svg';
|
package/dist/ITypes.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryType = exports.SparklinePosition = exports.SparkChartType = exports.TargetTextIconSet = exports.TargetTextPosition = exports.CompareTextInterpretationType = void 0;
|
|
4
|
-
var CompareTextInterpretationType;
|
|
5
|
-
(function (CompareTextInterpretationType) {
|
|
6
|
-
CompareTextInterpretationType["MORE"] = "more=better";
|
|
7
|
-
CompareTextInterpretationType["LESS"] = "less=better";
|
|
8
|
-
CompareTextInterpretationType["NONE"] = "none";
|
|
9
|
-
})(CompareTextInterpretationType || (exports.CompareTextInterpretationType = CompareTextInterpretationType = {}));
|
|
10
|
-
var TargetTextPosition;
|
|
11
|
-
(function (TargetTextPosition) {
|
|
12
|
-
TargetTextPosition["DISABLE"] = "DISABLE";
|
|
13
|
-
TargetTextPosition["ALIGN_TOP"] = "ALIGN_TOP";
|
|
14
|
-
TargetTextPosition["ALIGN_BOTTOM"] = "ALIGN_BOTTOM";
|
|
15
|
-
})(TargetTextPosition || (exports.TargetTextPosition = TargetTextPosition = {}));
|
|
16
|
-
var TargetTextIconSet;
|
|
17
|
-
(function (TargetTextIconSet) {
|
|
18
|
-
TargetTextIconSet["TREND_ICONS"] = "TREND_ICONS";
|
|
19
|
-
TargetTextIconSet["TRIANGLE_ICONS"] = "TRIANGLE_ICONS";
|
|
20
|
-
})(TargetTextIconSet || (exports.TargetTextIconSet = TargetTextIconSet = {}));
|
|
21
|
-
var SparkChartType;
|
|
22
|
-
(function (SparkChartType) {
|
|
23
|
-
SparkChartType["LINE"] = "line";
|
|
24
|
-
SparkChartType["COLUMN"] = "column";
|
|
25
|
-
})(SparkChartType || (exports.SparkChartType = SparkChartType = {}));
|
|
26
|
-
var SparklinePosition;
|
|
27
|
-
(function (SparklinePosition) {
|
|
28
|
-
SparklinePosition["BELOW_VALUE"] = "BELOW_VALUE";
|
|
29
|
-
SparklinePosition["RIGHT_OF_VALUE"] = "RIGHT_OF_VALUE";
|
|
30
|
-
})(SparklinePosition || (exports.SparklinePosition = SparklinePosition = {}));
|
|
31
|
-
var QueryType;
|
|
32
|
-
(function (QueryType) {
|
|
33
|
-
QueryType["MDX"] = "mdx";
|
|
34
|
-
QueryType["SQL"] = "sql";
|
|
35
|
-
QueryType["EMBEDDED"] = "embedded";
|
|
36
|
-
QueryType["HTTP_CSV"] = "HTTP_CSV";
|
|
37
|
-
})(QueryType || (exports.QueryType = QueryType = {}));
|
|
38
|
-
//# sourceMappingURL=ITypes.js.map
|
package/dist/ITypes.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITypes.js","sourceRoot":"","sources":["../src/ITypes.ts"],"names":[],"mappings":";;;AAIA,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACrC,qDAAoB,CAAA;IACpB,qDAAoB,CAAA;IACpB,8CAAa,CAAA;AACjB,CAAC,EAJW,6BAA6B,6CAA7B,6BAA6B,QAIxC;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;IACvB,mDAA6B,CAAA;AACjC,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,gDAA2B,CAAA;IAC3B,sDAAiC,CAAA;AACrC,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,mCAAiB,CAAA;AACrB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,gDAA2B,CAAA;IAC3B,sDAAiC,CAAA;AACrC,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,wBAAW,CAAA;IACX,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACzB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface IUserMenuOptionDefinition {
|
|
2
|
-
/**
|
|
3
|
-
* IUserMenuOptions.
|
|
4
|
-
*/
|
|
5
|
-
option: string;
|
|
6
|
-
/**
|
|
7
|
-
* WidgetNotificationType.
|
|
8
|
-
*/
|
|
9
|
-
notification: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IUserMenuOptionManager {
|
|
12
|
-
registerUserMenuOption(option: IUserMenuOptionDefinition): void;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IUserMenuOptionManager.js","sourceRoot":"","sources":["../src/IUserMenuOptionManager.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IPluginDefinition } from "./IPluginDefinition";
|
|
2
|
-
import ReportingVersion from "./ReportingVersion";
|
|
3
|
-
export interface IVersionedPluginDefinition extends IPluginDefinition {
|
|
4
|
-
/**
|
|
5
|
-
* The version of the API used while building the customer's plugin module.
|
|
6
|
-
*/
|
|
7
|
-
apiVersion: ReportingVersion;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IVersionedPluginDefinition.js","sourceRoot":"","sources":["../src/IVersionedPluginDefinition.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IWidgetDefaultsManager.js","sourceRoot":"","sources":["../src/IWidgetDefaultsManager.ts"],"names":[],"mappings":""}
|
package/dist/IWidgetManager.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IPublicWidgetTemplateDefinition, IWrappedWidgetTemplateDefinition } from "./PublicTemplate";
|
|
2
|
-
import { WidgetTemplateIDs } from "./PublicTemplates";
|
|
3
|
-
import { FormFieldObject } from "./PublicTemplateForm";
|
|
4
|
-
export interface IWidgetManager {
|
|
5
|
-
registerWidget<OPTIONS extends FormFieldObject>(widget: IPublicWidgetTemplateDefinition<OPTIONS>): void;
|
|
6
|
-
registerWrappedWidget<WIDGET extends WidgetTemplateIDs>(widget: IWrappedWidgetTemplateDefinition<WIDGET>): void;
|
|
7
|
-
}
|
package/dist/IWidgetManager.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IWidgetManager.js","sourceRoot":"","sources":["../src/IWidgetManager.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CSSInterpolation } from "@mui/system";
|
|
2
|
-
type variantName = string;
|
|
3
|
-
export type IThemeRegisterVariant = Record<variantName, {
|
|
4
|
-
/**
|
|
5
|
-
* for styled MUI like components additional properties defining when the variant applies
|
|
6
|
-
*/
|
|
7
|
-
props?: {
|
|
8
|
-
variant: string;
|
|
9
|
-
} & Record<string, any>;
|
|
10
|
-
/**
|
|
11
|
-
* default properties for the fields/options of the widget
|
|
12
|
-
*/
|
|
13
|
-
defaultProps: Record<string, any>;
|
|
14
|
-
/**
|
|
15
|
-
* for styled MUI like components, css styles
|
|
16
|
-
*/
|
|
17
|
-
style?: CSSInterpolation;
|
|
18
|
-
}>;
|
|
19
|
-
export interface IWidgetVariantManager {
|
|
20
|
-
registerVariants(variants: IThemeRegisterVariant): void;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IWidgetVariantManager.js","sourceRoot":"","sources":["../src/IWidgetVariantManager.ts"],"names":[],"mappings":""}
|
package/dist/IcEvent.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export declare const emptySet = "\u2205";
|
|
2
|
-
export declare enum IcEventType {
|
|
3
|
-
TIDY_SELECTION = 0,
|
|
4
|
-
TIDY_FIRE = 1,
|
|
5
|
-
TIDY_ACTION = 2,
|
|
6
|
-
API = 3
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Event mandatory events as sent by the widgets -> @{eventName}
|
|
10
|
-
*/
|
|
11
|
-
export interface PublicIcEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The value of the event
|
|
14
|
-
*/
|
|
15
|
-
readonly value: string;
|
|
16
|
-
/**
|
|
17
|
-
* The MDX version of the events
|
|
18
|
-
*/
|
|
19
|
-
readonly mdx: string;
|
|
20
|
-
/**
|
|
21
|
-
* If available the key of the MDX member
|
|
22
|
-
*/
|
|
23
|
-
readonly key?: any | any[];
|
|
24
|
-
/**
|
|
25
|
-
* These two strings together define an unique id for a widget in a report
|
|
26
|
-
*/
|
|
27
|
-
sourceNid?: string;
|
|
28
|
-
sourceWid?: string;
|
|
29
|
-
/**
|
|
30
|
-
* special 'tag' to
|
|
31
|
-
*/
|
|
32
|
-
isEmpty?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* the type of event
|
|
35
|
-
*/
|
|
36
|
-
readonly type?: IcEventType;
|
|
37
|
-
}
|
|
38
|
-
export interface TidyActionEvent extends PublicIcEvent {
|
|
39
|
-
readonly type: IcEventType.TIDY_ACTION;
|
|
40
|
-
readonly tidyIdxHint: number;
|
|
41
|
-
}
|
|
42
|
-
export declare enum WidgetNotificationType {
|
|
43
|
-
doAllEvents = "ic3doAllEvents",
|
|
44
|
-
doCustomAction = "ic3doCustomAction",
|
|
45
|
-
doExportWidgetData = "ic3exportWidgetData",
|
|
46
|
-
doExportToExcel = "ic3exportToExcel",
|
|
47
|
-
doExportToPNG = "ic3exportToPNG",
|
|
48
|
-
doExportToSVG = "ic3exportToSVG",
|
|
49
|
-
toInitialSelection = "ic3toInitialSelection",
|
|
50
|
-
clearSelection = "ic3clearSelection",
|
|
51
|
-
clearState = "ic3clearState",
|
|
52
|
-
doTemplateUserMenuAction = "ic3doTemplateUserMenuAction",
|
|
53
|
-
doPrintReport = "ic3doPrintReport",
|
|
54
|
-
onWidgetZoom = "ic3onWidgetZoom"
|
|
55
|
-
}
|
|
56
|
-
export type WidgetNotificationHandler = {
|
|
57
|
-
type: WidgetNotificationType;
|
|
58
|
-
handler: (type: WidgetNotificationType, event: PublicIcEvent) => void;
|
|
59
|
-
};
|
package/dist/IcEvent.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WidgetNotificationType = exports.IcEventType = exports.emptySet = void 0;
|
|
4
|
-
exports.emptySet = "∅";
|
|
5
|
-
var IcEventType;
|
|
6
|
-
(function (IcEventType) {
|
|
7
|
-
IcEventType[IcEventType["TIDY_SELECTION"] = 0] = "TIDY_SELECTION";
|
|
8
|
-
IcEventType[IcEventType["TIDY_FIRE"] = 1] = "TIDY_FIRE";
|
|
9
|
-
IcEventType[IcEventType["TIDY_ACTION"] = 2] = "TIDY_ACTION";
|
|
10
|
-
IcEventType[IcEventType["API"] = 3] = "API";
|
|
11
|
-
})(IcEventType || (exports.IcEventType = IcEventType = {}));
|
|
12
|
-
var WidgetNotificationType;
|
|
13
|
-
(function (WidgetNotificationType) {
|
|
14
|
-
WidgetNotificationType["doAllEvents"] = "ic3doAllEvents";
|
|
15
|
-
WidgetNotificationType["doCustomAction"] = "ic3doCustomAction";
|
|
16
|
-
WidgetNotificationType["doExportWidgetData"] = "ic3exportWidgetData";
|
|
17
|
-
WidgetNotificationType["doExportToExcel"] = "ic3exportToExcel";
|
|
18
|
-
WidgetNotificationType["doExportToPNG"] = "ic3exportToPNG";
|
|
19
|
-
WidgetNotificationType["doExportToSVG"] = "ic3exportToSVG";
|
|
20
|
-
WidgetNotificationType["toInitialSelection"] = "ic3toInitialSelection";
|
|
21
|
-
WidgetNotificationType["clearSelection"] = "ic3clearSelection";
|
|
22
|
-
WidgetNotificationType["clearState"] = "ic3clearState";
|
|
23
|
-
WidgetNotificationType["doTemplateUserMenuAction"] = "ic3doTemplateUserMenuAction";
|
|
24
|
-
WidgetNotificationType["doPrintReport"] = "ic3doPrintReport";
|
|
25
|
-
WidgetNotificationType["onWidgetZoom"] = "ic3onWidgetZoom";
|
|
26
|
-
})(WidgetNotificationType || (exports.WidgetNotificationType = WidgetNotificationType = {}));
|
|
27
|
-
//# sourceMappingURL=IcEvent.js.map
|
package/dist/IcEvent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IcEvent.js","sourceRoot":"","sources":["../src/IcEvent.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,GAAG,CAAA;AAE3B,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,iEAAc,CAAA;IACd,uDAAS,CAAA;IACT,2DAAW,CAAA;IACX,2CAAG,CAAA;AACP,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AA+CD,IAAY,sBAqBX;AArBD,WAAY,sBAAsB;IAE9B,wDAA8B,CAAA;IAE9B,8DAAoC,CAAA;IAEpC,oEAA0C,CAAA;IAE1C,8DAAoC,CAAA;IACpC,0DAAgC,CAAA;IAChC,0DAAgC,CAAA;IAEhC,sEAA4C,CAAA;IAE5C,8DAAoC,CAAA;IACpC,sDAA4B,CAAA;IAE5B,kFAAwD,CAAA;IAExD,4DAAkC,CAAA;IAClC,0DAAgC,CAAA;AACpC,CAAC,EArBW,sBAAsB,sCAAtB,sBAAsB,QAqBjC"}
|
package/dist/LazyTreeView.d.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { EntityItem, MdxInfo, TreeRowPropsTreeData } from "./PublicTidyTableTypes";
|
|
2
|
-
import React, { ReactElement } from "react";
|
|
3
|
-
export type ScrollDirection = "forward" | "backward";
|
|
4
|
-
export interface ListOnScrollProps {
|
|
5
|
-
scrollDirection: ScrollDirection;
|
|
6
|
-
scrollOffset: number;
|
|
7
|
-
scrollUpdateWasRequested: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A copy of MUI TreeItemClasses
|
|
11
|
-
*/
|
|
12
|
-
export interface LazyTreeItemClasses {
|
|
13
|
-
/** Styles applied to the root element. */
|
|
14
|
-
root: string;
|
|
15
|
-
/** Styles applied to the transition component. */
|
|
16
|
-
group: string;
|
|
17
|
-
/** Styles applied to the content element. */
|
|
18
|
-
content: string;
|
|
19
|
-
/** Pseudo-class applied to the content element when expanded. */
|
|
20
|
-
expanded: string;
|
|
21
|
-
/** Pseudo-class applied to the content element when selected. */
|
|
22
|
-
selected: string;
|
|
23
|
-
/** Pseudo-class applied to the content element when focused. */
|
|
24
|
-
focused: string;
|
|
25
|
-
/** Pseudo-class applied to the element when disabled. */
|
|
26
|
-
disabled: string;
|
|
27
|
-
/** Styles applied to the tree node icon. */
|
|
28
|
-
iconContainer: string;
|
|
29
|
-
/** Styles applied to the label element. */
|
|
30
|
-
label: string;
|
|
31
|
-
}
|
|
32
|
-
export interface ILazyTreeViewLoader {
|
|
33
|
-
/**
|
|
34
|
-
* This will build the tree with react children
|
|
35
|
-
*/
|
|
36
|
-
mapTree<T>(expanded: (index: number) => boolean, factory: (index: number, isCollapsed: boolean) => T, filter?: (info: MdxInfo) => boolean): T[];
|
|
37
|
-
/**
|
|
38
|
-
* Returns true if and only if the node has children that are to be lazilly loaded.
|
|
39
|
-
*/
|
|
40
|
-
hasLazyChildren(index: number): boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Returns true if and only if the node has children in the already loaded data.
|
|
43
|
-
*/
|
|
44
|
-
hasChildren(index: number): boolean;
|
|
45
|
-
getColumnLevelDepth(index: number): number;
|
|
46
|
-
lazyLoadChildren(index: number): void | number;
|
|
47
|
-
getNodeIdAndCaption(index: number): [string, string];
|
|
48
|
-
getNodeId(index: number): string;
|
|
49
|
-
getItemCount(): number;
|
|
50
|
-
setCallbackOnChange(callback: () => void): void;
|
|
51
|
-
toEntityItems(nodeIds: string[]): EntityItem[];
|
|
52
|
-
mapNodeIds<T>(nodeIds: string[], callbackfn: (columnIdx: number) => T | null | undefined): T[];
|
|
53
|
-
map<T>(callback: (index: number) => T | undefined): T[];
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Controlled properties of LazyTreeView (doesn't has to be lazy)
|
|
57
|
-
*/
|
|
58
|
-
export interface LazyTreeViewProps {
|
|
59
|
-
logId: string;
|
|
60
|
-
lazyLoader: ILazyTreeViewLoader;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
addFilterSelected?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Adds a search input to the tree filter
|
|
67
|
-
*/
|
|
68
|
-
addSearch?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Search/Filter text when controlled (addSearch needs to be false)
|
|
71
|
-
*/
|
|
72
|
-
search?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Message for the search/filter when empty
|
|
75
|
-
*/
|
|
76
|
-
searchPlaceholder?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Message for the search/filter component (might be 'compacted' selection)
|
|
79
|
-
*/
|
|
80
|
-
searchMessage?: string;
|
|
81
|
-
toggleFilterSelected?: string;
|
|
82
|
-
disableSelection?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* the selection state is managed by the lazy tree as well
|
|
85
|
-
*/
|
|
86
|
-
selected: string[];
|
|
87
|
-
/**
|
|
88
|
-
* Controlled mode for selection
|
|
89
|
-
*/
|
|
90
|
-
setSelected?: (event: React.MouseEvent, treeNode: TreeRowPropsTreeData) => void;
|
|
91
|
-
/**
|
|
92
|
-
* Controlled mode for expanded or initial expanded if not controlled
|
|
93
|
-
*/
|
|
94
|
-
expanded?: string[];
|
|
95
|
-
/**
|
|
96
|
-
* Controlled mode for expanded
|
|
97
|
-
*/
|
|
98
|
-
setExpanded?: (nodeIdx: string[]) => void;
|
|
99
|
-
/**
|
|
100
|
-
* The level depth of initially open nodes ( 0 first level )
|
|
101
|
-
*/
|
|
102
|
-
openDepthLevel?: number;
|
|
103
|
-
/**
|
|
104
|
-
* Material-UI tree item classes Partial<TreeItemClasses>
|
|
105
|
-
*/
|
|
106
|
-
treeItemClasses?: Partial<LazyTreeItemClasses>;
|
|
107
|
-
/**
|
|
108
|
-
* Create a custom label for the tree item.
|
|
109
|
-
* @param rowIndex the index of the data object (e.g. column, tidy table)
|
|
110
|
-
* @param label current label. Use this label as text because the filtering is highlighted.
|
|
111
|
-
*/
|
|
112
|
-
getTreeItemLabel?: (rowIndex: number, label: string | ReactElement) => string | ReactElement;
|
|
113
|
-
/**
|
|
114
|
-
* If undefined, width and height are calculated automatically.
|
|
115
|
-
*/
|
|
116
|
-
width?: number;
|
|
117
|
-
height?: number;
|
|
118
|
-
/**
|
|
119
|
-
* Height of an item in the tree. Defaults to 38.
|
|
120
|
-
*/
|
|
121
|
-
itemSize?: number;
|
|
122
|
-
/**
|
|
123
|
-
* @See react-window List
|
|
124
|
-
*/
|
|
125
|
-
initialScrollOffset?: number | undefined;
|
|
126
|
-
/**
|
|
127
|
-
* @See react-window List
|
|
128
|
-
*/
|
|
129
|
-
onScroll?: ((props: ListOnScrollProps) => any) | undefined;
|
|
130
|
-
}
|
package/dist/LazyTreeView.js
DELETED
package/dist/LazyTreeView.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LazyTreeView.js","sourceRoot":"","sources":["../src/LazyTreeView.ts"],"names":[],"mappings":""}
|
package/dist/Logger.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type LoggerComponent = "AI" | "AlertDialog" | "AmCharts4" | "AmCharts4GeoMap" | "App" | "AppCustomHeaders" | "AppStarter" | "AppStatus" | "ChartTemplateWidget" | "Demo" | "EmbeddedReport" | "ErrorRenderer" | "Font" | "General" | "GoogleMap" | "Help" | "History" | "Keyboard" | "Layout" | "LayoutConverter" | "LayoutPage" | "LayoutRender" | "Loader" | "Localization" | "MdxConsole" | "Operation" | "Other" | "PivotTable" | "PivotTablePagingView" | "Plugin" | "Profiler" | "ReportAppBar" | "ReportAppMenu" | "ReportInitializer" | "ReportStarter" | "RepetitionWidget" | "Request" | "SchemaDataUpdate" | "Storage" | "Table" | "WidgetBox" | "WidgetBoxWrapper" | "WidgetTemplateLibrary" | "FilterPanel" | "FilterPanelViews" | "UseOnWhenVisible";
|
|
2
|
-
export interface ILogger {
|
|
3
|
-
resetTime(): void;
|
|
4
|
-
disable(component: LoggerComponent): void;
|
|
5
|
-
enable(component: LoggerComponent): void;
|
|
6
|
-
isEnabled(logger: LoggerComponent): boolean;
|
|
7
|
-
disabled(): Set<LoggerComponent>;
|
|
8
|
-
info(component: LoggerComponent, message: string, ...extra: any): void;
|
|
9
|
-
warn(component: LoggerComponent, message: string, ...extra: any): void;
|
|
10
|
-
error(component: LoggerComponent, message: string, ...extra: any): void;
|
|
11
|
-
infoWidget(component: LoggerComponent, nsId: string, widgetId: string, message: string, ...extra: any): void;
|
|
12
|
-
errorWidget(component: LoggerComponent, nsId: string, widgetId: string, message: string, ...extra: any): void;
|
|
13
|
-
}
|
package/dist/Logger.js
DELETED
package/dist/Logger.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../src/Logger.ts"],"names":[],"mappings":""}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { IWidgetPublicContext } from "./PublicContext";
|
|
2
|
-
import { ITidyColorColumn, ITidyColumn } from "./PublicTidyColumn";
|
|
3
|
-
import { ITidyTable } from "./PublicTidyTable";
|
|
4
|
-
import { ITidyTableInteraction } from "./PublicTidyTableInteractions";
|
|
5
|
-
import { Theme } from "@mui/material/styles";
|
|
6
|
-
import { ITidyMath } from "./PublicTidyMath";
|
|
7
|
-
import { IWidgetTemplateTidyData } from "./PublicTemplate";
|
|
8
|
-
import { Am4ChartOptions } from "./theme/ThemeAmCharts4";
|
|
9
|
-
import { Property } from "csstype";
|
|
10
|
-
export interface PublicAmCharts4Base<CHART, OPTIONS extends Am4ChartOptions> {
|
|
11
|
-
readonly context: IWidgetPublicContext;
|
|
12
|
-
/**
|
|
13
|
-
* The theme of the report
|
|
14
|
-
*/
|
|
15
|
-
readonly theme: Theme;
|
|
16
|
-
tidyMath(): ITidyMath;
|
|
17
|
-
/**
|
|
18
|
-
* Get the color manager of the chart. This manager can create color columns using the default
|
|
19
|
-
* theme palette.
|
|
20
|
-
*/
|
|
21
|
-
getColorManager(): PublicAm4ColorManager;
|
|
22
|
-
/**
|
|
23
|
-
* Render the chart. Function called by plugin module.
|
|
24
|
-
*/
|
|
25
|
-
renderJS(template: IWidgetTemplateTidyData, options: OPTIONS): void;
|
|
26
|
-
/**
|
|
27
|
-
* Dispose/ destroy the chart.
|
|
28
|
-
*/
|
|
29
|
-
dispose(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Adds an event listener to a series in the chart. This function adds the selection and the
|
|
32
|
-
* events to fire that are in 'getEventsToFire'.
|
|
33
|
-
* @param sprite a amcharts series object.
|
|
34
|
-
* @param dataKey the data key identifies the series in the chart data.
|
|
35
|
-
*/
|
|
36
|
-
addClickEventOnSprite(sprite: any, dataKey: string | undefined): void;
|
|
37
|
-
/**
|
|
38
|
-
* Returns the row for a certain data item.
|
|
39
|
-
* @param dataItem the data item of a sprite (bar, line, circle, etc..)
|
|
40
|
-
* @param dataKey the data key identifies the series in the chart data.
|
|
41
|
-
*/
|
|
42
|
-
getRowFromDataItem(dataItem: unknown, dataKey: string | undefined): number | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Get the tidy table. Only use this function in update methods, otherwise it might not be defined and then it
|
|
45
|
-
* throws an error.
|
|
46
|
-
*/
|
|
47
|
-
getTable(): ITidyTable;
|
|
48
|
-
/**
|
|
49
|
-
* Get the options. Only use this function in update methods, otherwise it might not be defined and then it
|
|
50
|
-
* throws an error.
|
|
51
|
-
*/
|
|
52
|
-
getOptions(): OPTIONS;
|
|
53
|
-
getInter(): ITidyTableInteraction;
|
|
54
|
-
getChart(): CHART;
|
|
55
|
-
/**
|
|
56
|
-
* Perform interactions on the chart. Possible interaction can be a selection,
|
|
57
|
-
* a drilldown or the firing of an event.
|
|
58
|
-
*
|
|
59
|
-
* Available interactions are set via the 'Interactions' tab in the widget editor.
|
|
60
|
-
*
|
|
61
|
-
* @param rowIdx the index of the row.
|
|
62
|
-
* @param mouseEvent the html mouse event of the click. Used for multiple selection using ctrl and shift.
|
|
63
|
-
*/
|
|
64
|
-
performInteraction(rowIdx: number, mouseEvent: MouseEvent | TouchEvent): void;
|
|
65
|
-
/**
|
|
66
|
-
* Returns the am4core instance used by the amCharts4 plugin.
|
|
67
|
-
*/
|
|
68
|
-
getAm4core(): any;
|
|
69
|
-
/**
|
|
70
|
-
* Returns the am4charts instance used by the amCharts4 plugin.
|
|
71
|
-
*/
|
|
72
|
-
getAm4charts(): any;
|
|
73
|
-
}
|
|
74
|
-
export type Am4Color = Property.Color;
|
|
75
|
-
export interface PublicAm4ColorManager {
|
|
76
|
-
/**
|
|
77
|
-
* Generate a color column.
|
|
78
|
-
* @param table create the color column for this table (same length).
|
|
79
|
-
* @param categoryColumn if available, use the values in this column to generate colors.
|
|
80
|
-
*/
|
|
81
|
-
generateColors(table: ITidyTable, categoryColumn?: ITidyColumn): ITidyColorColumn;
|
|
82
|
-
/**
|
|
83
|
-
* Get a color
|
|
84
|
-
* @param dataKey string to generate color for
|
|
85
|
-
*/
|
|
86
|
-
getColor(dataKey: unknown): Am4Color;
|
|
87
|
-
/**
|
|
88
|
-
* Returns the default single color
|
|
89
|
-
*/
|
|
90
|
-
getDefaultColor(): Am4Color;
|
|
91
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublicAmCharts4Base.js","sourceRoot":"","sources":["../src/PublicAmCharts4Base.ts"],"names":[],"mappings":""}
|