@ic3/reporting-api 8.3.0-alpha.1 → 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 +17 -2
- package/dist/IOnNewEventJsContext.d.ts +1 -1
- package/dist/IPluginDefinition.d.ts +3 -0
- package/dist/IThemeManager.d.ts +1 -1
- package/dist/ITypes.d.ts +3 -3
- package/dist/IWidgetVariantManager.d.ts +2 -2
- package/dist/LazyTreeView.d.ts +1 -1
- package/dist/Logger.d.ts +1 -1
- 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 +27 -1
- package/dist/PublicContext.js +6 -1
- package/dist/PublicContext.js.map +1 -1
- package/dist/PublicLayout.d.ts +2 -2
- package/dist/PublicTemplate.d.ts +16 -5
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateForm.d.ts +39 -20
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTemplates.d.ts +4 -2
- package/dist/PublicTheme.d.ts +215 -85
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +39 -19
- 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 +11 -2
- package/dist/PublicTidyTableInteractions.js.map +1 -1
- package/dist/PublicTidyTableTypes.d.ts +49 -18
- package/dist/PublicTidyTableTypes.js +3 -4
- package/dist/PublicTidyTableTypes.js.map +1 -1
- package/dist/PublicTidyTree.d.ts +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeAmCharts4.d.ts +88 -25
- 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 +10 -0
- package/dist/theme/ThemeEditorTopBar.d.ts +4 -0
- package/dist/theme/ThemeEditorTopBar.js +4 -0
- package/dist/theme/ThemeEditorTopBar.js.map +1 -1
- 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 +9 -1
- package/dist/theme/ThemeFilterButtons.d.ts +5 -0
- package/dist/theme/ThemeFilterCheckboxRadio.d.ts +4 -0
- package/dist/theme/ThemeFilterPanel.d.ts +4 -0
- package/dist/theme/ThemeFilterSlider.d.ts +8 -0
- package/dist/theme/ThemeFilterTree.d.ts +6 -1
- package/dist/theme/ThemeHtmlBox.d.ts +4 -5
- package/dist/theme/ThemeHtmlBox.js +0 -1
- package/dist/theme/ThemeHtmlBox.js.map +1 -1
- package/dist/theme/ThemeLazyTreeClasses.d.ts +3 -0
- package/dist/theme/ThemeListCounter.d.ts +7 -0
- package/dist/theme/ThemeListCounter.js +9 -0
- package/dist/theme/ThemeListCounter.js.map +1 -0
- package/dist/theme/ThemePrintButton.d.ts +25 -0
- package/dist/theme/ThemePrintButton.js +10 -0
- package/dist/theme/ThemePrintButton.js.map +1 -0
- package/dist/theme/ThemeSinglePanelFilter.d.ts +18 -0
- package/dist/theme/ThemeSinglePanelFilter.js +3 -0
- package/dist/theme/ThemeSinglePanelFilter.js.map +1 -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 -112
- package/dist/IReporting.js.map +0 -1
- package/dist/Loader.d.ts +0 -117
- package/dist/Loader.js +0 -208
- package/dist/Loader.js.map +0 -1
|
@@ -4,7 +4,7 @@ import * as React from "react";
|
|
|
4
4
|
import { AutocompleteRenderInputParams, AutocompleteRenderOptionState } from "@mui/material/Autocomplete/Autocomplete";
|
|
5
5
|
import { ChartTemplateDataMapping, IFormFieldGranularityItem, TidyColumnsType, TidyTableColumnSelector } from "./PublicTidyTableTypes";
|
|
6
6
|
import { ITidyTable } from "./PublicTidyTable";
|
|
7
|
-
export
|
|
7
|
+
export type Hook<T> = {
|
|
8
8
|
hook: (value: T) => void;
|
|
9
9
|
};
|
|
10
10
|
export declare function formFieldIsSelection(field: IFormFieldDef<any>): boolean;
|
|
@@ -58,6 +58,7 @@ export interface IFormFieldDef<DEFAULT_VALUE_TYPE> {
|
|
|
58
58
|
* An optional field path value. The value of this field depends on the value of the dependsOn field.
|
|
59
59
|
*/
|
|
60
60
|
dependsOn?: string | string[];
|
|
61
|
+
dependsOnReset?: true;
|
|
61
62
|
/**
|
|
62
63
|
* When defined a function that returns the visibility of the field according to the dependsOn value.
|
|
63
64
|
*/
|
|
@@ -81,7 +82,7 @@ export interface IFormFieldDef<DEFAULT_VALUE_TYPE> {
|
|
|
81
82
|
export interface FormFieldObject {
|
|
82
83
|
readonly '0242ac130003': '0242ac130003';
|
|
83
84
|
}
|
|
84
|
-
export
|
|
85
|
+
export type FormFields<T extends FormFieldObject> = {
|
|
85
86
|
[key in keyof Omit<T, '0242ac130003'>]-?: // make the key mandatory even though the field is optional
|
|
86
87
|
(Required<T>[key] extends FormFieldObject ? {
|
|
87
88
|
defaultValue?: any;
|
|
@@ -97,14 +98,14 @@ export declare type FormFields<T extends FormFieldObject> = {
|
|
|
97
98
|
} | {
|
|
98
99
|
defaultValue?: any;
|
|
99
100
|
mandatory?: false;
|
|
100
|
-
}) & (Required<T>[key] extends FormFieldObject ? Omit<IFormEmbeddedFieldDef<Required<T>[key]>, 'fieldPath'> : Required<T>[key] extends IPaletteDef ? Omit<IFormPaletteEditorFieldDef, 'fieldPath'> : Required<T>[key] extends IColorDef ? Omit<IFormColorEditorFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector[] ? Omit<IFormColumnChooserMultipleFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector ? Omit<IFormColumnChooserSingleFieldDef, 'fieldPath'> : Required<T>[key] extends IFormEventMappingArrayFieldDefType ? Omit<IFormEventMappingArrayFieldDef, 'fieldPath'> : Required<T>[key] extends IFormEventArrayFieldDefType ? Omit<IFormEventArrayFieldDef, 'fieldPath'> : Required<T>[key] extends Hook<any> ? Omit<IFormHookFieldDef<any>, 'fieldPath'> : Required<T>[key] extends boolean ? Omit<IFormBooleanFieldDef, 'fieldPath'> : Required<T>[key] extends number ? Omit<IFormNumberFieldDef, 'fieldPath'> : Required<T>[key] extends number ? Omit<IFormMaskFieldDef, 'fieldPath'> : Required<T>[key] extends string ? Omit<IFormOptionFieldSingleDef, 'fieldPath'> | Omit<IFormStringFieldDef, 'fieldPath'> | Omit<IFormFormatterPickerFieldDef, 'fieldPath'> | Omit<IFormWidgetVariantFieldDef, 'fieldPath'> | Omit<IFormTidyTableTextExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableTextRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableHtmlRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableHtmlExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableNumericExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableNumericRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableColorRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableStringRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableScaleRowExprFieldDef, 'fieldPath'> | Omit<IFormJsFieldDef, 'fieldPath'> | Omit<IFormJsonFieldDef, 'fieldPath'> | Omit<IFormMarkdownFieldDef, 'fieldPath'> | Omit<IFormOptionFieldReportPathDef, 'fieldPath'> : Required<T>[key] extends string[] ? Omit<IFormOptionFieldMultipleDef, 'fieldPath'> | Omit<IFormGroupsFieldDef, 'fieldPath'> : never);
|
|
101
|
+
}) & (Required<T>[key] extends FormFieldObject ? Omit<IFormEmbeddedFieldDef<Required<T>[key]>, 'fieldPath'> : Required<T>[key] extends IPaletteDef ? Omit<IFormPaletteEditorFieldDef, 'fieldPath'> : Required<T>[key] extends IColorDef ? Omit<IFormColorEditorFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector[] ? Omit<IFormColumnChooserMultipleFieldDef, 'fieldPath'> : Required<T>[key] extends TidyTableColumnSelector ? Omit<IFormColumnChooserSingleFieldDef, 'fieldPath'> : Required<T>[key] extends IFormEventMappingArrayFieldDefType ? Omit<IFormEventMappingArrayFieldDef, 'fieldPath'> : Required<T>[key] extends IFormEventArrayFieldDefType ? Omit<IFormEventArrayFieldDef, 'fieldPath'> : Required<T>[key] extends IFormSearchAndReplaceArrayFieldDefType ? Omit<IFormSearchAndReplaceArrayFieldDef, 'fieldPath'> : Required<T>[key] extends Hook<any> ? Omit<IFormHookFieldDef<any>, 'fieldPath'> : Required<T>[key] extends boolean ? Omit<IFormBooleanFieldDef, 'fieldPath'> : Required<T>[key] extends number ? Omit<IFormNumberFieldDef, 'fieldPath'> : Required<T>[key] extends number ? Omit<IFormMaskFieldDef, 'fieldPath'> : Required<T>[key] extends string ? Omit<IFormOptionFieldSingleDef, 'fieldPath'> | Omit<IFormStringFieldDef, 'fieldPath'> | Omit<IFormFormatterPickerFieldDef, 'fieldPath'> | Omit<IFormWidgetVariantFieldDef, 'fieldPath'> | Omit<IFormTidyTableTextExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableTextRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableHtmlRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableHtmlExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableNumericExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableNumericRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableColorRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableStringRowExprFieldDef, 'fieldPath'> | Omit<IFormTidyTableScaleRowExprFieldDef, 'fieldPath'> | Omit<IFormJsFieldDef, 'fieldPath'> | Omit<IFormJsonFieldDef, 'fieldPath'> | Omit<IFormMarkdownFieldDef, 'fieldPath'> | Omit<IFormOptionFieldReportPathDef, 'fieldPath'> : Required<T>[key] extends string[] ? Omit<IFormOptionFieldMultipleDef, 'fieldPath'> | Omit<IFormGroupsFieldDef, 'fieldPath'> : never);
|
|
101
102
|
};
|
|
102
103
|
export declare enum IFormFieldGroupTypes {
|
|
103
104
|
Selection = "selection",
|
|
104
105
|
FilterGeneralOption = "filterGeneralOptionsGroup",
|
|
105
106
|
FilterItem = "filterItemGroup"
|
|
106
107
|
}
|
|
107
|
-
export
|
|
108
|
+
export type FormFieldType =
|
|
108
109
|
/**
|
|
109
110
|
* @see IFormReportPathFieldDef
|
|
110
111
|
*/
|
|
@@ -260,15 +261,19 @@ export declare type FormFieldType =
|
|
|
260
261
|
/**
|
|
261
262
|
* @see IFormGranularitySelectionFieldDef
|
|
262
263
|
*/
|
|
263
|
-
"granularityChooser"
|
|
264
|
-
|
|
264
|
+
"granularityChooser" |
|
|
265
|
+
/**
|
|
266
|
+
* @see IFormSearchAndReplaceArrayFieldDefType
|
|
267
|
+
*/
|
|
268
|
+
"searchAndReplaceArray";
|
|
269
|
+
export type FormFieldTidyTableExprType = "tidyTableHtmlExpr" | "tidyTableHtmlRowExpr" | "tidyTableNumericExpr" | "tidyTableNumericRowExpr" | "tidyTableScaleRowExpr" | "tidyTableTextExpr" | "tidyTableTextRowExpr" | "tidyTableStringRowExpr" | "tidyTableColorRowExpr";
|
|
265
270
|
export declare function isTidyTableExpr(type: FormFieldType): type is FormFieldTidyTableExprType;
|
|
266
271
|
export declare function isTidyTableExprTable(type: FormFieldType): boolean;
|
|
267
272
|
export declare function isTidyTableExprRow(type: FormFieldType): boolean;
|
|
268
|
-
export declare function isTidyTableExprText(type: FormFieldType):
|
|
269
|
-
export declare function isTidyTableExprTextHtml(type: FormFieldType):
|
|
270
|
-
export declare function isTidyTableExprNumeric(type: FormFieldType):
|
|
271
|
-
export declare function isTidyTableExprScale(type: FormFieldType):
|
|
273
|
+
export declare function isTidyTableExprText(type: FormFieldType): type is "tidyTableTextExpr" | "tidyTableTextRowExpr";
|
|
274
|
+
export declare function isTidyTableExprTextHtml(type: FormFieldType): type is "tidyTableHtmlExpr" | "tidyTableHtmlRowExpr";
|
|
275
|
+
export declare function isTidyTableExprNumeric(type: FormFieldType): type is "tidyTableNumericExpr" | "tidyTableNumericRowExpr";
|
|
276
|
+
export declare function isTidyTableExprScale(type: FormFieldType): type is "tidyTableScaleRowExpr";
|
|
272
277
|
/**
|
|
273
278
|
* Error messages for field suggestions and value candidates.
|
|
274
279
|
* Put translations in ReportLocalization.csv.
|
|
@@ -285,8 +290,8 @@ export declare enum AutocompleteNoOptionsText {
|
|
|
285
290
|
export declare enum AutocompleteActions {
|
|
286
291
|
ADD_COLOR = "ADD_COLOR"
|
|
287
292
|
}
|
|
288
|
-
export
|
|
289
|
-
export
|
|
293
|
+
export type CodeMirrorMode = "plain" | "mdx" | "sql" | "js" | "json" | "csv" | "md" | FormFieldTidyTableExprType;
|
|
294
|
+
export type FormFieldDialogEditorModelType = "unknown" | "markdown" | "mdxExpression" | FormFieldTidyTableExprType;
|
|
290
295
|
export interface IColorDef {
|
|
291
296
|
/**
|
|
292
297
|
* aka. name
|
|
@@ -361,9 +366,9 @@ export interface IFormColorEditorFieldDef extends IFormFieldDef<IColorDef> {
|
|
|
361
366
|
* selected by the user or in the fallback.
|
|
362
367
|
*
|
|
363
368
|
*/
|
|
364
|
-
export
|
|
365
|
-
export
|
|
366
|
-
export
|
|
369
|
+
export type IFormColumnChooserFieldDef = IFormColumnChooserSingleFieldDef | IFormColumnChooserMultipleFieldDef;
|
|
370
|
+
export type IFormColumnChooserSingleFieldDef = IFormColumnChooserBaseDef<TidyTableColumnSelector>;
|
|
371
|
+
export type IFormColumnChooserMultipleFieldDef = IFormColumnChooserBaseDef<TidyTableColumnSelector[]>;
|
|
367
372
|
interface IFormColumnChooserBaseDef<T extends TidyTableColumnSelector | TidyTableColumnSelector[]> extends IFormFieldDef<T> {
|
|
368
373
|
fieldType: "columnsChooser";
|
|
369
374
|
editorConf?: {
|
|
@@ -444,7 +449,7 @@ export interface IFormConstantsFieldDef extends IFormFieldDef<any> {
|
|
|
444
449
|
/**
|
|
445
450
|
* @see FormFieldDef
|
|
446
451
|
*/
|
|
447
|
-
export
|
|
452
|
+
export type IFormEventMappingArrayFieldDefType = {
|
|
448
453
|
toEvent: string;
|
|
449
454
|
fromEvent: string;
|
|
450
455
|
}[];
|
|
@@ -454,7 +459,17 @@ export interface IFormEventMappingArrayFieldDef extends IFormFieldDef<IFormEvent
|
|
|
454
459
|
/**
|
|
455
460
|
* @see FormFieldDef
|
|
456
461
|
*/
|
|
457
|
-
export
|
|
462
|
+
export type IFormSearchAndReplaceArrayFieldDefType = {
|
|
463
|
+
from: string;
|
|
464
|
+
to: string;
|
|
465
|
+
}[];
|
|
466
|
+
export interface IFormSearchAndReplaceArrayFieldDef extends IFormFieldDef<IFormSearchAndReplaceArrayFieldDefType> {
|
|
467
|
+
fieldType: "searchAndReplaceArray";
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* @see FormFieldDef
|
|
471
|
+
*/
|
|
472
|
+
export type IFormEventArrayFieldDefType = {
|
|
458
473
|
event: string;
|
|
459
474
|
}[];
|
|
460
475
|
export interface IFormEventArrayFieldDef extends IFormFieldDef<IFormEventArrayFieldDefType> {
|
|
@@ -515,7 +530,7 @@ export interface IFormMarkdownFieldDef extends IFormFieldDef<string> {
|
|
|
515
530
|
singleLine: false;
|
|
516
531
|
};
|
|
517
532
|
}
|
|
518
|
-
export
|
|
533
|
+
export type MdxExpressionType = "calcMeasure" | "drilldown";
|
|
519
534
|
/**
|
|
520
535
|
* @see FormFieldDef
|
|
521
536
|
*/
|
|
@@ -563,7 +578,7 @@ export interface IFormMaskFieldDef extends IFormFieldDef<number> {
|
|
|
563
578
|
*
|
|
564
579
|
* @see FormFieldDef
|
|
565
580
|
*/
|
|
566
|
-
export
|
|
581
|
+
export type IFormOptionFieldDef = IFormOptionFieldMultipleDef | IFormOptionFieldSingleDef;
|
|
567
582
|
export interface IFormOptionFieldMultipleDef extends IFormFieldDef<string[]> {
|
|
568
583
|
fieldType: "option";
|
|
569
584
|
editorConf: {
|
|
@@ -668,6 +683,10 @@ export interface IFormTidyTableHtmlExprFieldDef extends IFormFieldDef<string> {
|
|
|
668
683
|
* The default selected columns come from the second dependsOn option.
|
|
669
684
|
*/
|
|
670
685
|
useSelectedColumns?: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* If true, the user can use $value.totalSelectedOrTotal$ to get the total of the selected for this field.
|
|
688
|
+
*/
|
|
689
|
+
allowTotalOfSelection?: boolean;
|
|
671
690
|
};
|
|
672
691
|
}
|
|
673
692
|
/**
|
|
@@ -897,5 +916,5 @@ export interface IFormWidgetVariantFieldDef extends IFormFieldDef<string> {
|
|
|
897
916
|
export interface IFormFormatterPickerFieldDef extends IFormFieldDef<string> {
|
|
898
917
|
fieldType: "formatterPicker";
|
|
899
918
|
}
|
|
900
|
-
export
|
|
919
|
+
export type FormFieldDef = IFormAutocompleteFieldDef<any> | IFormBooleanFieldDef | IFormColorEditorFieldDef | IFormColumnChooserFieldDef | IFormColumnSelectionFieldDef | IFormConstantsFieldDef | IFormEventArrayFieldDef | IFormEventMappingArrayFieldDef | IFormFileUploaderFieldDef | IFormGroupsFieldDef | IFormJsFieldDef | IFormMarkdownFieldDef | IFormMaskFieldDef | IFormMdxFieldDef | IFormNumberFieldDef | IFormOptionFieldDef | IFormOptionFieldSingleDef | IFormOptionFieldMultipleDef | IFormPaletteEditorFieldDef | IFormReportPathFieldDef | IFormReportPermaLinkFieldDef | IFormStringFieldDef | IFormTidyTableHtmlExprFieldDef | IFormTidyTableHtmlRowExprFieldDef | IFormTidyTableNumericExprFieldDef | IFormTidyTableNumericRowExprFieldDef | IFormTidyTableStringRowExprFieldDef | IFormTidyTableColorRowExprFieldDef | IFormTidyTableScaleRowExprFieldDef | IFormTidyTableTextExprFieldDef | IFormTidyTableTextRowExprFieldDef | IFormWidgetVariantFieldDef | IFormFormatterPickerFieldDef | IFormGranularitySelectionFieldDef | IFormSearchAndReplaceArrayFieldDef;
|
|
901
920
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAkBA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AAFD,oDAEC;
|
|
1
|
+
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAkBA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AAFD,oDAEC;AAwJD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,+CAAuB,CAAA;IACvB,yEAAiD,CAAA;IACjD,sDAA8B,CAAA;AAClC,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAoLD,SAAgB,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAXD,0CAWC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AALD,oDAKC;AAED,SAAgB,kBAAkB,CAAC,IAAmB;IAClD,OAAO,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AARD,gDAQC;AAED,SAAgB,mBAAmB,CAAC,IAAmB;IACnD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AAJD,kDAIC;AAED,SAAgB,uBAAuB,CAAC,IAAmB;IACvD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AAJD,0DAIC;AAED,SAAgB,sBAAsB,CAAC,IAAmB;IACtD,OAAO,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB,CACpC;AACT,CAAC;AAJD,wDAIC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAHD,oDAGC;AAED;;;GAGG;AACH,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACjC,sDAAyB,CAAA;IACzB,sDAAyB,CAAA;IACzB,gEAAmC,CAAA;IACnC,gEAAmC,CAAA;AACvC,CAAC,EALW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAKpC;AAED;;GAEG;AACH,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;AAC3B,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
|
|
@@ -18,6 +18,7 @@ import { FilterSliderChartOptions } from "./theme/ThemeFilterSlider";
|
|
|
18
18
|
import { FilterAutocompleteChartOptions } from "./theme/ThemeFilterAutocomplete";
|
|
19
19
|
import { FilterTreeChartOptions } from "./theme/ThemeFilterTree";
|
|
20
20
|
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DonutChartOptions, AmCharts4GaugeChartOptions, AmCharts4HistogramOptions, AmCharts4RegularAreaChartOptions, AmCharts4RegularBarChartOptions, AmCharts4RegularColumnChartOptions, AmCharts4RegularLineChartOptions, AmCharts4SankeyDiagramOptions, AmCharts4ScatterPlotOptions, AmCharts4StackedAreaChartOptions, AmCharts4StackedBarChartOptions, AmCharts4StackedColumnChartOptions, AmCharts4TreemapOptions, GeoMapChartOptions } from "./theme/ThemeAmCharts4";
|
|
21
|
+
import { PrintButtonChartOptions } from "./theme/ThemePrintButton";
|
|
21
22
|
interface IWidgetTemplateChartOptions {
|
|
22
23
|
"ic3.DatePicker": DatePickerChartOptions;
|
|
23
24
|
"ic3.EmbeddedReport": EmbeddedReportChartOptions;
|
|
@@ -35,6 +36,7 @@ interface IWidgetTemplateChartOptions {
|
|
|
35
36
|
"ic3.KpiBox": KpiBoxChartOptions;
|
|
36
37
|
"ic3.KpiCard": KpiCartChartOptions;
|
|
37
38
|
"ic3.MarkdownText": MarkdownTextChartOptions;
|
|
39
|
+
"ic3.PrintButton": PrintButtonChartOptions;
|
|
38
40
|
"ic3.PivotTable": PivotTableChartOptions;
|
|
39
41
|
"ic3.RepetitionWidget": RepetitionWidgetChartOptions;
|
|
40
42
|
"ic3.Table": TableChartOptions;
|
|
@@ -55,8 +57,8 @@ interface IWidgetTemplateChartOptions {
|
|
|
55
57
|
"amCharts4.AmCharts4TreeMap": AmCharts4TreemapOptions;
|
|
56
58
|
"amCharts4.AmCharts4GeoMap": GeoMapChartOptions;
|
|
57
59
|
}
|
|
58
|
-
export
|
|
60
|
+
export type WidgetTemplateChartOptions = IWidgetTemplateChartOptions & {
|
|
59
61
|
[key: string]: FormFieldObject;
|
|
60
62
|
};
|
|
61
|
-
export
|
|
63
|
+
export type WidgetTemplateIDs = keyof IWidgetTemplateChartOptions;
|
|
62
64
|
export {};
|
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -1,63 +1,106 @@
|
|
|
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";
|
|
16
|
+
import * as React from "react";
|
|
17
17
|
import { ReactElement } from "react";
|
|
18
18
|
import { TypographyStyleOptions } from "@mui/material/styles/createTypography";
|
|
19
19
|
import { Property } from "csstype";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
20
|
+
import { FilterButtonsClassKey, FilterButtonsProps } from "./theme/ThemeFilterButtons";
|
|
21
|
+
import { FilterSliderClassKey, FilterSliderProps } from "./theme/ThemeFilterSlider";
|
|
22
22
|
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
23
23
|
import { IPublicContext } from "./PublicContext";
|
|
24
24
|
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
25
25
|
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
26
26
|
import { Components } from "@mui/material/styles/components";
|
|
27
27
|
import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
|
|
28
|
-
import {
|
|
28
|
+
import { FilterCheckboxProps, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
29
29
|
import { ReportAppLeftPanelClassKey } from "./theme/ThemeReportAppLeftPanel";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
30
|
+
import { FilterTreeClassKey, FilterTreeProps } from "./theme/ThemeFilterTree";
|
|
31
|
+
import { DatePickerClassKey, FilterDatePickerProps } from "./theme/ThemeDatePicker";
|
|
32
|
+
import { FilterAutocompleteClassesKey, FilterAutocompleteProps } from "./theme/ThemeFilterAutocomplete";
|
|
33
33
|
import { AppMenuIconClassKey, AppMenuIconProps } from "./theme/ThemeAppMenuIcon";
|
|
34
34
|
import { QueryBuilderNodeClassKey, QueryBuilderNodeProps } from "./theme/ThemeQueryBuilderNode";
|
|
35
35
|
import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
|
|
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
|
+
}>;
|
|
36
61
|
export interface INoSchemaRendererOptions {
|
|
37
62
|
missingSchema: string;
|
|
38
63
|
}
|
|
39
|
-
export
|
|
64
|
+
export type ThemeTextFormatter = {
|
|
40
65
|
formatReport: ((value: any, locale: string) => string) | string;
|
|
41
66
|
formatExcel?: string;
|
|
42
67
|
};
|
|
43
|
-
export
|
|
68
|
+
export type ThemeTextFormatters = Record<string, ThemeTextFormatter> & {
|
|
44
69
|
defaultDate: ThemeTextFormatter;
|
|
45
70
|
defaultNumber: ThemeTextFormatter;
|
|
46
71
|
defaultAmount: ThemeTextFormatter;
|
|
47
72
|
defaultPercentage: ThemeTextFormatter;
|
|
48
73
|
};
|
|
49
|
-
export
|
|
74
|
+
export type ThemeFormatters = {
|
|
50
75
|
text: ThemeTextFormatters;
|
|
51
76
|
emptyCell: string;
|
|
52
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
|
+
}[];
|
|
53
96
|
};
|
|
54
|
-
export
|
|
97
|
+
export type ThemeTextFormattersOptions = Record<string, ThemeTextFormatter> & {
|
|
55
98
|
defaultDate?: ThemeTextFormatter;
|
|
56
99
|
defaultNumber?: ThemeTextFormatter;
|
|
57
100
|
defaultAmount?: ThemeTextFormatter;
|
|
58
101
|
defaultPercentage?: ThemeTextFormatter;
|
|
59
102
|
};
|
|
60
|
-
|
|
103
|
+
type Amcharts4ThemeDateFormatter = {
|
|
61
104
|
/**
|
|
62
105
|
* Amcharts date formatter.
|
|
63
106
|
* Read more about the format codes here: https://www.amcharts.com/docs/v4/concepts/formatters/formatting-date-time/#Format_codes
|
|
@@ -98,15 +141,9 @@ declare type Amcharts4ThemeDateFormatter = {
|
|
|
98
141
|
};
|
|
99
142
|
};
|
|
100
143
|
};
|
|
101
|
-
|
|
144
|
+
type DeepPartial<T> = {
|
|
102
145
|
[P in keyof T]?: T[P] extends Record<string, unknown> ? DeepPartial<T[P]> : T[P];
|
|
103
146
|
};
|
|
104
|
-
declare type Amcharts4ThemeDateFormatterOptions = DeepPartial<Amcharts4ThemeDateFormatter>;
|
|
105
|
-
export declare type ThemeFormattersOptions = {
|
|
106
|
-
text?: ThemeTextFormattersOptions;
|
|
107
|
-
emptyCell?: string;
|
|
108
|
-
amCharts4?: Amcharts4ThemeDateFormatterOptions;
|
|
109
|
-
};
|
|
110
147
|
export interface ic3Palette {
|
|
111
148
|
/**
|
|
112
149
|
* The color for the page background (can be overridden at layout level).
|
|
@@ -153,6 +190,30 @@ export interface ic3Palette {
|
|
|
153
190
|
* If null or undefined, returns onHover color
|
|
154
191
|
*/
|
|
155
192
|
onHover: (color?: Property.Color | undefined | null) => Property.Color;
|
|
193
|
+
mdx: {
|
|
194
|
+
annotation: string;
|
|
195
|
+
comment: string;
|
|
196
|
+
definitionKeyword: string;
|
|
197
|
+
keyword: string;
|
|
198
|
+
labelName: string;
|
|
199
|
+
number: string;
|
|
200
|
+
operator: string;
|
|
201
|
+
propertyName: string;
|
|
202
|
+
separator: string;
|
|
203
|
+
string: string;
|
|
204
|
+
variableName: string;
|
|
205
|
+
dimension: string;
|
|
206
|
+
hierarchy: string;
|
|
207
|
+
level: string;
|
|
208
|
+
member: string;
|
|
209
|
+
measureGroup: string;
|
|
210
|
+
measureFolder: string;
|
|
211
|
+
measure: string;
|
|
212
|
+
set: string;
|
|
213
|
+
calcMeasure: string;
|
|
214
|
+
event: string;
|
|
215
|
+
hierarchyFolder: string;
|
|
216
|
+
};
|
|
156
217
|
}
|
|
157
218
|
interface MandatorySingleColors {
|
|
158
219
|
/**
|
|
@@ -229,6 +290,7 @@ export interface ic3PaletteOptions {
|
|
|
229
290
|
'default'?: Property.Color;
|
|
230
291
|
} & Record<string, Property.Color>;
|
|
231
292
|
onHover?: (color: Property.Color) => Property.Color;
|
|
293
|
+
mdx?: Partial<ic3Palette['mdx']>;
|
|
232
294
|
}
|
|
233
295
|
export interface ic3Typography {
|
|
234
296
|
amCharts4: TypographyStyleOptions;
|
|
@@ -248,6 +310,7 @@ export interface ic3Theme {
|
|
|
248
310
|
id: string;
|
|
249
311
|
caption: string;
|
|
250
312
|
cssClass: string;
|
|
313
|
+
waitForFonts?: () => Promise<any>;
|
|
251
314
|
formatter: ThemeFormatters;
|
|
252
315
|
/**
|
|
253
316
|
* Icons used in tables and trees
|
|
@@ -260,6 +323,28 @@ export interface ic3Theme {
|
|
|
260
323
|
sort: (className: string) => ReactElement | string;
|
|
261
324
|
sortAsc: (className: string) => ReactElement | string;
|
|
262
325
|
sortDesc: (className: string) => ReactElement | string;
|
|
326
|
+
datePickerIcon?: React.ElementType;
|
|
327
|
+
menuIcon: JSX.Element;
|
|
328
|
+
statusWaiting: JSX.Element;
|
|
329
|
+
statusWaitingResult: JSX.Element;
|
|
330
|
+
statusRendering: JSX.Element;
|
|
331
|
+
statusDone: JSX.Element;
|
|
332
|
+
queryError: JSX.Element;
|
|
333
|
+
queryWarning: JSX.Element;
|
|
334
|
+
helpIcon: JSX.Element;
|
|
335
|
+
closeQueryIcon: JSX.Element;
|
|
336
|
+
interactionModeSelection: JSX.Element;
|
|
337
|
+
interactionModeDrilldown: JSX.Element;
|
|
338
|
+
widgetFilterActive: React.ReactNode | undefined;
|
|
339
|
+
autocompleteClearIcon: JSX.Element | undefined;
|
|
340
|
+
autocompletePopupIcon: JSX.Element | undefined;
|
|
341
|
+
nodeOpened: JSX.Element;
|
|
342
|
+
nodeClosed: JSX.Element;
|
|
343
|
+
checkBoxUnselected: React.ReactNode | undefined;
|
|
344
|
+
checkBoxSelected: React.ReactNode | undefined;
|
|
345
|
+
checkIndeterminate: React.ReactNode | undefined;
|
|
346
|
+
radioUnselected: React.ReactNode | undefined;
|
|
347
|
+
radioSelected: React.ReactNode | undefined;
|
|
263
348
|
};
|
|
264
349
|
table: Record<TableRowHeightOptions, {
|
|
265
350
|
rowHeight: number;
|
|
@@ -366,15 +451,13 @@ export interface ic3ThemeOptions {
|
|
|
366
451
|
id: string;
|
|
367
452
|
caption: string;
|
|
368
453
|
cssClass?: string;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
sortDesc?: (className: string) => ReactElement | string;
|
|
377
|
-
};
|
|
454
|
+
/**
|
|
455
|
+
* The recommended setup is to use document.fonts.ready here and put document.fonts.load(...) for all your added
|
|
456
|
+
* fonts in the theme definition .ts file.
|
|
457
|
+
*/
|
|
458
|
+
waitForFonts?: () => Promise<any>;
|
|
459
|
+
formatter?: DeepPartial<ThemeFormatters>;
|
|
460
|
+
icons?: Partial<ic3Theme['icons']>;
|
|
378
461
|
table?: Record<TableRowHeightOptions, Partial<{
|
|
379
462
|
rowHeight: number;
|
|
380
463
|
headerRowHeight: number;
|
|
@@ -460,6 +543,25 @@ export interface ic3ThemeOptions {
|
|
|
460
543
|
*/
|
|
461
544
|
viewPortOffsetLeft?: number;
|
|
462
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
|
+
};
|
|
463
565
|
}
|
|
464
566
|
interface ic3BaseComponents {
|
|
465
567
|
AlertDialog?: {
|
|
@@ -479,6 +581,10 @@ interface ic3BaseComponents {
|
|
|
479
581
|
styleOverrides?: ComponentsOverrides["FilterButtons"];
|
|
480
582
|
variants?: ComponentsVariants["FilterButtons"];
|
|
481
583
|
};
|
|
584
|
+
LazyTreeViewStyled?: {
|
|
585
|
+
styleOverrides?: ComponentsOverrides["LazyTreeViewStyled"];
|
|
586
|
+
variants?: ComponentsVariants["LazyTreeViewStyled"];
|
|
587
|
+
};
|
|
482
588
|
FilterPanel?: {
|
|
483
589
|
variants?: ComponentsVariants['FilterPanel'];
|
|
484
590
|
styleOverrides?: ComponentsOverrides["FilterPanel"];
|
|
@@ -487,6 +593,10 @@ interface ic3BaseComponents {
|
|
|
487
593
|
styleOverrides?: ComponentsOverrides["FilterSlider"];
|
|
488
594
|
variants?: ComponentsVariants["FilterSlider"];
|
|
489
595
|
};
|
|
596
|
+
ListCounter?: {
|
|
597
|
+
styleOverrides?: ComponentsOverrides["ListCounter"];
|
|
598
|
+
variants?: ComponentsVariants["ListCounter"];
|
|
599
|
+
};
|
|
490
600
|
FilterTree?: {
|
|
491
601
|
styleOverrides?: ComponentsOverrides["FilterTree"];
|
|
492
602
|
variants?: ComponentsVariants["FilterTree"];
|
|
@@ -543,6 +653,64 @@ interface ic3BaseComponents {
|
|
|
543
653
|
QueryBuilderNode?: {
|
|
544
654
|
styleOverrides?: ComponentsOverrides["QueryBuilderNode"];
|
|
545
655
|
};
|
|
656
|
+
PrintButton?: {
|
|
657
|
+
styleOverrides?: ComponentsOverrides["PrintButton"];
|
|
658
|
+
variants?: ComponentsVariants["PrintButton"];
|
|
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
|
+
};
|
|
546
714
|
}
|
|
547
715
|
/**
|
|
548
716
|
* For Typing purpose extending MUI Theme with ic3 components
|
|
@@ -557,55 +725,9 @@ export interface ic3Components extends ic3BaseComponents, Components {
|
|
|
557
725
|
declare module "@mui/material/styles/createPalette" {
|
|
558
726
|
interface Palette {
|
|
559
727
|
ic3: ic3Palette;
|
|
560
|
-
mdx: {
|
|
561
|
-
annotation: string;
|
|
562
|
-
comment: string;
|
|
563
|
-
definitionKeyword: string;
|
|
564
|
-
keyword: string;
|
|
565
|
-
labelName: string;
|
|
566
|
-
number: string;
|
|
567
|
-
operator: string;
|
|
568
|
-
propertyName: string;
|
|
569
|
-
separator: string;
|
|
570
|
-
string: string;
|
|
571
|
-
variableName: string;
|
|
572
|
-
dimension: string;
|
|
573
|
-
hierarchy: string;
|
|
574
|
-
level: string;
|
|
575
|
-
member: string;
|
|
576
|
-
measureGroup: string;
|
|
577
|
-
measureFolder: string;
|
|
578
|
-
measure: string;
|
|
579
|
-
set: string;
|
|
580
|
-
calcMeasure: string;
|
|
581
|
-
event: string;
|
|
582
|
-
};
|
|
583
728
|
}
|
|
584
729
|
interface PaletteOptions {
|
|
585
730
|
ic3?: ic3PaletteOptions;
|
|
586
|
-
mdx?: {
|
|
587
|
-
annotation?: string;
|
|
588
|
-
comment?: string;
|
|
589
|
-
definitionKeyword?: string;
|
|
590
|
-
keyword?: string;
|
|
591
|
-
labelName?: string;
|
|
592
|
-
number?: string;
|
|
593
|
-
operator?: string;
|
|
594
|
-
propertyName?: string;
|
|
595
|
-
separator?: string;
|
|
596
|
-
string?: string;
|
|
597
|
-
variableName?: string;
|
|
598
|
-
dimension?: string;
|
|
599
|
-
hierarchy?: string;
|
|
600
|
-
level?: string;
|
|
601
|
-
member?: string;
|
|
602
|
-
measureGroup?: string;
|
|
603
|
-
measureFolder?: string;
|
|
604
|
-
measure?: string;
|
|
605
|
-
set?: string;
|
|
606
|
-
calcMeasure?: string;
|
|
607
|
-
event?: string;
|
|
608
|
-
};
|
|
609
731
|
}
|
|
610
732
|
}
|
|
611
733
|
declare module "@mui/material/styles/createTypography" {
|
|
@@ -641,8 +763,10 @@ declare module '@mui/material/styles/overrides' {
|
|
|
641
763
|
ErrorRenderer: ErrorRendererClassKey;
|
|
642
764
|
FilterCheckbox: FilterCheckboxRadioClassKey;
|
|
643
765
|
FilterButtons: FilterButtonsClassKey;
|
|
766
|
+
LazyTreeViewStyled: LazyTreeClassesClassKey;
|
|
644
767
|
FilterPanel: FilterPanelClassesKey;
|
|
645
768
|
FilterSlider: FilterSliderClassKey;
|
|
769
|
+
ListCounter: ListCounterClassKey;
|
|
646
770
|
FilterTree: FilterTreeClassKey;
|
|
647
771
|
FilterDatePicker: DatePickerClassKey;
|
|
648
772
|
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
@@ -658,26 +782,32 @@ declare module '@mui/material/styles/overrides' {
|
|
|
658
782
|
ReportAppLeftPanel: ReportAppLeftPanelClassKey;
|
|
659
783
|
AppMenuIcon: AppMenuIconClassKey;
|
|
660
784
|
QueryBuilderNode: QueryBuilderNodeClassKey;
|
|
785
|
+
PrintButton: PrintButtonClassKey;
|
|
786
|
+
CodeMirror: CodeMirrorClassesKey;
|
|
787
|
+
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
661
788
|
}
|
|
662
789
|
}
|
|
663
790
|
declare module '@mui/material/styles/props' {
|
|
664
791
|
interface ComponentsPropsList {
|
|
665
|
-
FilterCheckbox:
|
|
666
|
-
FilterButtons:
|
|
792
|
+
FilterCheckbox: FilterCheckboxProps;
|
|
793
|
+
FilterButtons: FilterButtonsProps;
|
|
794
|
+
LazyTreeViewStyled: LazyTreeProps;
|
|
667
795
|
FilterPanel: FilterPanelProps;
|
|
668
|
-
FilterSlider:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
796
|
+
FilterSlider: FilterSliderProps;
|
|
797
|
+
ListCounter: ListCounterProps;
|
|
798
|
+
FilterTree: FilterTreeProps;
|
|
799
|
+
FilterDatePicker: FilterDatePickerProps;
|
|
800
|
+
FilterAutocomplete: FilterAutocompleteProps;
|
|
801
|
+
HtmlBox: StyledHtmlBoxProps;
|
|
673
802
|
KpiCard: KpiCardProps;
|
|
674
803
|
PivotTable: PivotTableProps;
|
|
675
804
|
Table: TableProps;
|
|
676
|
-
WidgetBox:
|
|
805
|
+
WidgetBox: WidgetBoxDivProps;
|
|
677
806
|
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
678
807
|
AppMenuIconStyled: AppMenuIconProps;
|
|
679
808
|
App: AppDivProps;
|
|
680
809
|
QueryBuilderNode: QueryBuilderNodeProps;
|
|
810
|
+
PrintButton: StyledPrintButtonDivProps;
|
|
681
811
|
}
|
|
682
812
|
}
|
|
683
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"}
|