@ic3/reporting-api 8.0.1 → 8.2.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.
Files changed (91) hide show
  1. package/dist/ApiUtils.js +1 -1
  2. package/dist/IOnNewEventJsContext.d.ts +66 -0
  3. package/dist/{theme/ThemeReportAppMenu.js → IOnNewEventJsContext.js} +1 -1
  4. package/dist/IOnNewEventJsContext.js.map +1 -0
  5. package/dist/IReporting.d.ts +9 -3
  6. package/dist/IThemeManager.d.ts +0 -2
  7. package/dist/LazyTreeView.d.ts +0 -23
  8. package/dist/LazyTreeView.js +0 -13
  9. package/dist/LazyTreeView.js.map +1 -1
  10. package/dist/Loader.d.ts +70 -1
  11. package/dist/Loader.js +150 -1
  12. package/dist/Loader.js.map +1 -1
  13. package/dist/PublicAmchartsData.d.ts +60 -0
  14. package/dist/PublicAmchartsData.js +122 -0
  15. package/dist/PublicAmchartsData.js.map +1 -0
  16. package/dist/PublicContext.d.ts +40 -3
  17. package/dist/PublicLayout.d.ts +5 -1
  18. package/dist/PublicTemplate.d.ts +39 -15
  19. package/dist/PublicTemplate.js.map +1 -1
  20. package/dist/PublicTemplateForm.d.ts +45 -57
  21. package/dist/PublicTemplateForm.js +10 -1
  22. package/dist/PublicTemplateForm.js.map +1 -1
  23. package/dist/PublicTheme.d.ts +155 -15
  24. package/dist/PublicTheme.js.map +1 -1
  25. package/dist/PublicTidyColumn.d.ts +69 -23
  26. package/dist/PublicTidyColumn.js +8 -0
  27. package/dist/PublicTidyColumn.js.map +1 -1
  28. package/dist/PublicTidyHistogram.d.ts +1 -1
  29. package/dist/PublicTidyMath.d.ts +26 -20
  30. package/dist/PublicTidyTable.d.ts +12 -5
  31. package/dist/PublicTidyTableInteractions.d.ts +76 -22
  32. package/dist/PublicTidyTableTypeGuards.d.ts +4 -0
  33. package/dist/PublicTidyTableTypeGuards.js +16 -0
  34. package/dist/PublicTidyTableTypeGuards.js.map +1 -0
  35. package/dist/PublicTidyTableTypes.d.ts +98 -16
  36. package/dist/PublicTidyTableTypes.js +1 -1
  37. package/dist/PublicTidyTableTypes.js.map +1 -1
  38. package/dist/PublicTidyTree.d.ts +10 -13
  39. package/dist/PublicTidyTree.js +11 -8
  40. package/dist/PublicTidyTree.js.map +1 -1
  41. package/dist/index.d.ts +3 -1
  42. package/dist/index.js +3 -1
  43. package/dist/index.js.map +1 -1
  44. package/dist/theme/ThemeAmCharts4.d.ts +25 -6
  45. package/dist/theme/ThemeApp.d.ts +26 -11
  46. package/dist/theme/ThemeApp.js +23 -12
  47. package/dist/theme/ThemeApp.js.map +1 -1
  48. package/dist/theme/ThemeAppMenuIcon.d.ts +7 -0
  49. package/dist/theme/ThemeAppMenuIcon.js +8 -0
  50. package/dist/theme/ThemeAppMenuIcon.js.map +1 -0
  51. package/dist/theme/ThemeDatePicker.d.ts +7 -0
  52. package/dist/theme/ThemeDatePicker.js +8 -0
  53. package/dist/theme/ThemeDatePicker.js.map +1 -1
  54. package/dist/theme/ThemeEditorTopBar.d.ts +31 -0
  55. package/dist/theme/ThemeEditorTopBar.js +35 -0
  56. package/dist/theme/ThemeEditorTopBar.js.map +1 -0
  57. package/dist/theme/ThemeEmbeddedReport.d.ts +3 -0
  58. package/dist/theme/ThemeFilterAutocomplete.d.ts +1 -0
  59. package/dist/theme/ThemeFilterAutocomplete.js +1 -0
  60. package/dist/theme/ThemeFilterAutocomplete.js.map +1 -1
  61. package/dist/theme/ThemeFilterButtons.d.ts +1 -1
  62. package/dist/theme/ThemeFilterButtons.js +1 -1
  63. package/dist/theme/ThemeFilterButtons.js.map +1 -1
  64. package/dist/theme/ThemeFilterPanel.d.ts +80 -9
  65. package/dist/theme/ThemeFilterPanel.js +45 -3
  66. package/dist/theme/ThemeFilterPanel.js.map +1 -1
  67. package/dist/theme/ThemeFilterTree.d.ts +4 -3
  68. package/dist/theme/ThemeFilterTree.js +2 -1
  69. package/dist/theme/ThemeFilterTree.js.map +1 -1
  70. package/dist/theme/ThemeGlobal.d.ts +4 -0
  71. package/dist/theme/ThemeGlobal.js +9 -0
  72. package/dist/theme/ThemeGlobal.js.map +1 -0
  73. package/dist/theme/ThemeKpiCard.d.ts +41 -5
  74. package/dist/theme/ThemeKpiCard.js +15 -0
  75. package/dist/theme/ThemeKpiCard.js.map +1 -1
  76. package/dist/theme/ThemeLazyTreeClasses.d.ts +14 -0
  77. package/dist/theme/ThemeLazyTreeClasses.js +19 -0
  78. package/dist/theme/ThemeLazyTreeClasses.js.map +1 -0
  79. package/dist/theme/ThemePivotTable.d.ts +0 -5
  80. package/dist/theme/ThemePivotTable.js.map +1 -1
  81. package/dist/theme/ThemeQueryBuilderNode.d.ts +8 -0
  82. package/dist/theme/ThemeQueryBuilderNode.js +8 -0
  83. package/dist/theme/ThemeQueryBuilderNode.js.map +1 -0
  84. package/dist/theme/ThemeTable.d.ts +0 -14
  85. package/dist/theme/ThemeTable.js.map +1 -1
  86. package/dist/theme/ThemeWidgetBox.d.ts +8 -0
  87. package/dist/theme/ThemeWidgetBox.js +24 -16
  88. package/dist/theme/ThemeWidgetBox.js.map +1 -1
  89. package/package.json +5 -5
  90. package/dist/theme/ThemeReportAppMenu.d.ts +0 -18
  91. package/dist/theme/ThemeReportAppMenu.js.map +0 -1
@@ -122,7 +122,8 @@ export interface Am4LabelOptions extends FormFieldObject {
122
122
  /**
123
123
  * Text.
124
124
  *
125
- * The text displayed in the center of the chart
125
+ * The text displayed in the center of the chart.
126
+ * Use a single space to show no text and disable the label.
126
127
  */
127
128
  labelText: string;
128
129
  labelTextAlign: 'start' | 'end' | 'middle';
@@ -290,7 +291,7 @@ export interface Am4SimpleCategoryAxisOptions extends FormFieldObject {
290
291
  *
291
292
  * The title of the vertical axis.
292
293
  */
293
- xAxisTitleText: string;
294
+ xAxisTitleText?: string;
294
295
  /**
295
296
  * Label Spacing.
296
297
  *
@@ -587,6 +588,18 @@ export interface Am4TreeMapSeriesOptions extends FormFieldObject, IStrokeStylePr
587
588
  * Expression for the labels on the tree items.
588
589
  */
589
590
  labelExpression: string;
591
+ /**
592
+ * Label Type.
593
+ *
594
+ * Render the label as text or as HTML.
595
+ */
596
+ labelType: "html" | "text";
597
+ /**
598
+ * Label Overflow.
599
+ *
600
+ * Choice of behavior when the label is larger than the max width.
601
+ */
602
+ labelOverflow?: OverflowType;
590
603
  /**
591
604
  * Tooltips.
592
605
  *
@@ -602,7 +615,7 @@ export interface Am4TreeMapSeriesOptions extends FormFieldObject, IStrokeStylePr
602
615
  *
603
616
  * The algorithm used to divide the area into squares based on their values.
604
617
  */
605
- layoutAlgorithm: string;
618
+ layoutAlgorithm: "binaryTree" | "dice" | "slice" | "sliceDice" | "squarify";
606
619
  }
607
620
  export interface Am4GeoSeriesOptions extends FormFieldObject {
608
621
  /**
@@ -914,6 +927,12 @@ export interface Am4CategoryDateAxisOptions extends FormFieldObject {
914
927
  * Does not work with a date axis.
915
928
  */
916
929
  xAxisLabelTooltipText: string;
930
+ /**
931
+ * The date format for the labels that show when the user hovers over the chart with a chart cursor.
932
+ * Leave undefined to use the axis-date format.
933
+ * Read more about the format codes here: https://www.amcharts.com/docs/v4/concepts/formatters/formatting-date-time/#Format_codes
934
+ */
935
+ xAxisLabelTooltipDateFormat?: string;
917
936
  /**
918
937
  * Title Text.
919
938
  *
@@ -925,7 +944,7 @@ export interface Am4CategoryDateAxisOptions extends FormFieldObject {
925
944
  *
926
945
  * The title of the vertical axis
927
946
  */
928
- xAxisTitleText: string;
947
+ xAxisTitleText?: string;
929
948
  /**
930
949
  * Label Spacing.
931
950
  *
@@ -1091,7 +1110,7 @@ export interface Am4LineSeriesOptions extends FormFieldObject, IStrokeStylePrope
1091
1110
  *
1092
1111
  * A column with values for the stacked area chart.
1093
1112
  */
1094
- lineValue: TidyTableColumnSelector;
1113
+ lineValue: TidyTableColumnSelector[];
1095
1114
  /**
1096
1115
  * Shape.
1097
1116
  *
@@ -1165,7 +1184,7 @@ export interface Am4ColumnSeriesOptions extends FormFieldObject, IStrokeStylePro
1165
1184
  *
1166
1185
  * A column with values for the stacked column series.
1167
1186
  */
1168
- columnValue: TidyTableColumnSelector;
1187
+ columnValue: TidyTableColumnSelector[];
1169
1188
  /**
1170
1189
  * Tooltip.
1171
1190
  *
@@ -2,38 +2,53 @@ export declare class AppClasses {
2
2
  /**
3
3
  * Style applied to
4
4
  */
5
- static readonly appTopMenu: string;
5
+ static readonly app: string;
6
6
  /**
7
7
  * Style applied to
8
8
  */
9
- static readonly appToolbar: string;
9
+ static readonly topMenu: string;
10
10
  /**
11
- * Dashboard in viewer mode
11
+ * Style applied to
12
12
  */
13
- static readonly appAppPayload: string;
13
+ static readonly toolbar: string;
14
14
  /**
15
- * Style applied to
15
+ * Dashboard in viewer mode
16
16
  */
17
- static readonly appAppError: string;
17
+ static readonly payload: string;
18
18
  /**
19
19
  * Style applied to
20
20
  */
21
- static readonly appAppBar: string;
21
+ static readonly error: string;
22
22
  /**
23
23
  * Style applied to
24
24
  */
25
- static readonly appAppLeftFilter: string;
25
+ static readonly bar: string;
26
26
  /**
27
27
  * Style applied to
28
28
  */
29
- static readonly appAppPayloadRoot: string;
29
+ static readonly leftFilter: string;
30
30
  /**
31
31
  * Style applied to the root div containing the edited dashboard pages.
32
32
  */
33
- static readonly appDashboardRoot: string;
33
+ static readonly dashboard: string;
34
34
  /**
35
35
  * Style applied to
36
36
  */
37
- static readonly appZoomWidgetRoot: string;
37
+ static readonly zoomWidget: string;
38
38
  }
39
39
  export declare type AppClassKey = keyof AppClasses;
40
+ export interface AppDivProps {
41
+ topBarOptions: TopBarOptions;
42
+ leftBarOptions: LeftBarOptions;
43
+ viewer: boolean;
44
+ opacity?: string;
45
+ }
46
+ export declare enum TopBarOptions {
47
+ None = 0,
48
+ Standard = 1
49
+ }
50
+ export declare enum LeftBarOptions {
51
+ None = 0,
52
+ Standard = 1,
53
+ Filter = 2
54
+ }
@@ -1,43 +1,54 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppClasses = void 0;
3
+ exports.LeftBarOptions = exports.TopBarOptions = exports.AppClasses = void 0;
4
4
  class AppClasses {
5
5
  }
6
6
  exports.AppClasses = AppClasses;
7
7
  /**
8
8
  * Style applied to
9
9
  */
10
- AppClasses.appTopMenu = "App-topMenu";
10
+ AppClasses.app = "ic3App";
11
11
  /**
12
12
  * Style applied to
13
13
  */
14
- AppClasses.appToolbar = "App-toolbar";
14
+ AppClasses.topMenu = "ic3App-topMenu";
15
15
  /**
16
- * Dashboard in viewer mode
16
+ * Style applied to
17
17
  */
18
- AppClasses.appAppPayload = "App-appPayload";
18
+ AppClasses.toolbar = "ic3App-toolbar";
19
19
  /**
20
- * Style applied to
20
+ * Dashboard in viewer mode
21
21
  */
22
- AppClasses.appAppError = "App-appError";
22
+ AppClasses.payload = "ic3App-payload";
23
23
  /**
24
24
  * Style applied to
25
25
  */
26
- AppClasses.appAppBar = "App-appBar";
26
+ AppClasses.error = "ic3App-error";
27
27
  /**
28
28
  * Style applied to
29
29
  */
30
- AppClasses.appAppLeftFilter = "App-appLeftFilter";
30
+ AppClasses.bar = "ic3App-bar";
31
31
  /**
32
32
  * Style applied to
33
33
  */
34
- AppClasses.appAppPayloadRoot = "App-appPayloadRoot";
34
+ AppClasses.leftFilter = "ic3App-leftFilter";
35
35
  /**
36
36
  * Style applied to the root div containing the edited dashboard pages.
37
37
  */
38
- AppClasses.appDashboardRoot = "App-dashboardRoot";
38
+ AppClasses.dashboard = "ic3App-dashboard";
39
39
  /**
40
40
  * Style applied to
41
41
  */
42
- AppClasses.appZoomWidgetRoot = "App-zoomWidgetRoot";
42
+ AppClasses.zoomWidget = "ic3App-zoomWidget";
43
+ var TopBarOptions;
44
+ (function (TopBarOptions) {
45
+ TopBarOptions[TopBarOptions["None"] = 0] = "None";
46
+ TopBarOptions[TopBarOptions["Standard"] = 1] = "Standard";
47
+ })(TopBarOptions = exports.TopBarOptions || (exports.TopBarOptions = {}));
48
+ var LeftBarOptions;
49
+ (function (LeftBarOptions) {
50
+ LeftBarOptions[LeftBarOptions["None"] = 0] = "None";
51
+ LeftBarOptions[LeftBarOptions["Standard"] = 1] = "Standard";
52
+ LeftBarOptions[LeftBarOptions["Filter"] = 2] = "Filter";
53
+ })(LeftBarOptions = exports.LeftBarOptions || (exports.LeftBarOptions = {}));
43
54
  //# sourceMappingURL=ThemeApp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeApp.js","sourceRoot":"","sources":["../../src/theme/ThemeApp.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;;AAAvB,gCAqCC;AApCG;;GAEG;AACa,qBAAU,GAAW,aAAa,CAAC;AACnD;;GAEG;AACa,qBAAU,GAAW,aAAa,CAAC;AACnD;;GAEG;AACa,wBAAa,GAAW,gBAAgB,CAAC;AACzD;;GAEG;AACa,sBAAW,GAAW,cAAc,CAAC;AACrD;;GAEG;AACa,oBAAS,GAAW,YAAY,CAAC;AACjD;;GAEG;AACa,2BAAgB,GAAW,mBAAmB,CAAC;AAC/D;;GAEG;AACa,4BAAiB,GAAW,oBAAoB,CAAC;AACjE;;GAEG;AACa,2BAAgB,GAAW,mBAAmB,CAAC;AAC/D;;GAEG;AACa,4BAAiB,GAAW,oBAAoB,CAAC"}
1
+ {"version":3,"file":"ThemeApp.js","sourceRoot":"","sources":["../../src/theme/ThemeApp.ts"],"names":[],"mappings":";;;AACA,MAAa,UAAU;;AAAvB,gCAqCC;AApCG;;GAEG;AACa,cAAG,GAAW,QAAQ,CAAC;AACvC;;GAEG;AACa,kBAAO,GAAW,gBAAgB,CAAC;AACnD;;GAEG;AACa,kBAAO,GAAW,gBAAgB,CAAC;AACnD;;GAEG;AACa,kBAAO,GAAW,gBAAgB,CAAC;AACnD;;GAEG;AACa,gBAAK,GAAW,cAAc,CAAC;AAC/C;;GAEG;AACa,cAAG,GAAW,YAAY,CAAC;AAC3C;;GAEG;AACa,qBAAU,GAAW,mBAAmB,CAAC;AACzD;;GAEG;AACa,oBAAS,GAAW,kBAAkB,CAAC;AACvD;;GAEG;AACa,qBAAU,GAAW,mBAAmB,CAAC;AAY7D,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,iDAAI,CAAA;IACJ,yDAAQ,CAAA;AACZ,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,mDAAI,CAAA;IACJ,2DAAQ,CAAA;IACR,uDAAM,CAAA;AACV,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
@@ -0,0 +1,7 @@
1
+ export declare class ThemeAppMenuIconClasses {
2
+ static readonly root = "root";
3
+ }
4
+ export declare type ThemeAppMenuIconClassKey = keyof ThemeAppMenuIconClasses;
5
+ export interface AppMenuIconProps {
6
+ iconColor: string;
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ThemeAppMenuIconClasses = void 0;
4
+ class ThemeAppMenuIconClasses {
5
+ }
6
+ exports.ThemeAppMenuIconClasses = ThemeAppMenuIconClasses;
7
+ ThemeAppMenuIconClasses.root = "root";
8
+ //# sourceMappingURL=ThemeAppMenuIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeAppMenuIcon.js","sourceRoot":"","sources":["../../src/theme/ThemeAppMenuIcon.ts"],"names":[],"mappings":";;;AAAA,MAAa,uBAAuB;;AAApC,0DAIC;AAFmB,4BAAI,GAAG,MAAM,CAAC"}
@@ -1,5 +1,12 @@
1
1
  import { SelectionBehaviour, TidyTableColumnSelector } from "../PublicTidyTableTypes";
2
2
  import { FormFieldObject } from "../PublicTemplateForm";
3
+ export declare class DatePickerClasses {
4
+ /**
5
+ * Style applied to the root element.
6
+ */
7
+ static readonly root = "root";
8
+ }
9
+ export declare type DatePickerClassKey = keyof DatePickerClasses;
3
10
  /**
4
11
  * Date Picker Options (fields of the "Chart" tab in the widget editor).
5
12
  *
@@ -1,3 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DatePickerClasses = void 0;
4
+ class DatePickerClasses {
5
+ }
6
+ exports.DatePickerClasses = DatePickerClasses;
7
+ /**
8
+ * Style applied to the root element.
9
+ */
10
+ DatePickerClasses.root = "root";
3
11
  //# sourceMappingURL=ThemeDatePicker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeDatePicker.js","sourceRoot":"","sources":["../../src/theme/ThemeDatePicker.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"ThemeDatePicker.js","sourceRoot":"","sources":["../../src/theme/ThemeDatePicker.ts"],"names":[],"mappings":";;;AAGA,MAAa,iBAAiB;;AAA9B,8CAUC;AARG;;GAEG;AACa,sBAAI,GAAG,MAAM,CAAC"}
@@ -0,0 +1,31 @@
1
+ export declare class EditorAppTopBarClasses {
2
+ /**
3
+ * Style applied to
4
+ */
5
+ static readonly app: string;
6
+ /**
7
+ * Style applied to
8
+ */
9
+ static readonly logo: string;
10
+ /**
11
+ * Style applied to
12
+ */
13
+ static readonly title: string;
14
+ /**
15
+ * Style applied to
16
+ */
17
+ static readonly topLeftBar: string;
18
+ /**
19
+ * Style applied to
20
+ */
21
+ static readonly topRightBar: string;
22
+ /**
23
+ * Style applied to
24
+ */
25
+ static readonly leftSpacer: string;
26
+ /**
27
+ * Style applied to
28
+ */
29
+ static readonly menuButton: string;
30
+ }
31
+ export declare type EditorAppTopBarClassKey = keyof EditorAppTopBarClasses;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EditorAppTopBarClasses = void 0;
4
+ class EditorAppTopBarClasses {
5
+ }
6
+ exports.EditorAppTopBarClasses = EditorAppTopBarClasses;
7
+ /**
8
+ * Style applied to
9
+ */
10
+ EditorAppTopBarClasses.app = "ic3EditorTopBar";
11
+ /**
12
+ * Style applied to
13
+ */
14
+ EditorAppTopBarClasses.logo = "ic3App-logo";
15
+ /**
16
+ * Style applied to
17
+ */
18
+ EditorAppTopBarClasses.title = "ic3App-title";
19
+ /**
20
+ * Style applied to
21
+ */
22
+ EditorAppTopBarClasses.topLeftBar = "ic3App-topLeftBar";
23
+ /**
24
+ * Style applied to
25
+ */
26
+ EditorAppTopBarClasses.topRightBar = "ic3App-topRightBar";
27
+ /**
28
+ * Style applied to
29
+ */
30
+ EditorAppTopBarClasses.leftSpacer = "ic3App-leftSpacer";
31
+ /**
32
+ * Style applied to
33
+ */
34
+ EditorAppTopBarClasses.menuButton = "ic3App-menuButton";
35
+ //# sourceMappingURL=ThemeEditorTopBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeEditorTopBar.js","sourceRoot":"","sources":["../../src/theme/ThemeEditorTopBar.ts"],"names":[],"mappings":";;;AAAA,MAAa,sBAAsB;;AAAnC,wDA8BC;AA7BG;;GAEG;AACa,0BAAG,GAAW,iBAAiB,CAAC;AAChD;;GAEG;AACa,2BAAI,GAAW,aAAa,CAAC;AAC7C;;GAEG;AACa,4BAAK,GAAW,cAAc,CAAC;AAC/C;;GAEG;AACa,iCAAU,GAAW,mBAAmB,CAAC;AAEzD;;GAEG;AACa,kCAAW,GAAW,oBAAoB,CAAC;AAC3D;;GAEG;AACa,iCAAU,GAAW,mBAAmB,CAAC;AACzD;;GAEG;AACa,iCAAU,GAAW,mBAAmB,CAAC"}
@@ -22,4 +22,7 @@ export interface EmbeddedReportChartOptions extends FormFieldObject {
22
22
  * Forwarded events.
23
23
  */
24
24
  "@params"?: IFormEventMappingArrayFieldDefType;
25
+ inheritSchemaName: boolean;
26
+ inheritCubeName: boolean;
27
+ inheritDisableDefaultSchemaAuthCheck: boolean;
25
28
  }
@@ -12,6 +12,7 @@ export declare class FilterAutocompleteClasses {
12
12
  * @see AutocompleteClasses
13
13
  */
14
14
  static readonly muiAutocomplete: string;
15
+ static readonly action = "MuiAutocomplete-action";
15
16
  }
16
17
  export declare type FilterAutocompleteClassesKey = keyof FilterAutocompleteClasses;
17
18
  /**
@@ -20,4 +20,5 @@ FilterAutocompleteClasses.root = "root";
20
20
  * @see AutocompleteClasses
21
21
  */
22
22
  FilterAutocompleteClasses.muiAutocomplete = autocompleteClasses_1.default.root;
23
+ FilterAutocompleteClasses.action = "MuiAutocomplete-action";
23
24
  //# sourceMappingURL=ThemeFilterAutocomplete.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterAutocomplete.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterAutocomplete.ts"],"names":[],"mappings":";;;;;;AAAA,yGAAiF;AAGjF,MAAa,yBAAyB;;AAAtC,8DAiBC;AAfG;;GAEG;AACa,8BAAI,GAAG,MAAM,CAAC;AAE9B;;;;;;GAMG;AACa,yCAAe,GAAG,6BAAmB,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"ThemeFilterAutocomplete.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterAutocomplete.ts"],"names":[],"mappings":";;;;;;AAAA,yGAAiF;AAGjF,MAAa,yBAAyB;;AAAtC,8DAkBC;AAhBG;;GAEG;AACa,8BAAI,GAAG,MAAM,CAAC;AAE9B;;;;;;GAMG;AACa,yCAAe,GAAG,6BAAmB,CAAC,IAAI,CAAC;AAE3C,gCAAM,GAAG,wBAAwB,CAAA"}
@@ -3,7 +3,7 @@ export declare class FilterButtonsClasses {
3
3
  /**
4
4
  * Style applied to the root element.
5
5
  */
6
- static readonly root = "root";
6
+ static readonly container = "FilterButtons-container";
7
7
  /**
8
8
  * Style applied to the mui button elements.
9
9
  */
@@ -7,7 +7,7 @@ exports.FilterButtonsClasses = FilterButtonsClasses;
7
7
  /**
8
8
  * Style applied to the root element.
9
9
  */
10
- FilterButtonsClasses.root = "root";
10
+ FilterButtonsClasses.container = "FilterButtons-container";
11
11
  /**
12
12
  * Style applied to the mui button elements.
13
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterButtons.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterButtons.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;;AAAjC,oDAsBC;AApBG;;GAEG;AACa,yBAAI,GAAG,MAAM,CAAC;AAE9B;;GAEG;AACa,2BAAM,GAAG,qBAAqB,CAAC;AAE/C;;GAEG;AACa,0BAAK,GAAG,oBAAoB,CAAC;AAE7C;;GAEG;AACa,8BAAS,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"ThemeFilterButtons.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterButtons.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;;AAAjC,oDAsBC;AApBG;;GAEG;AACa,8BAAS,GAAG,yBAAyB,CAAC;AAEtD;;GAEG;AACa,2BAAM,GAAG,qBAAqB,CAAC;AAE/C;;GAEG;AACa,0BAAK,GAAG,oBAAoB,CAAC;AAE7C;;GAEG;AACa,8BAAS,GAAG,EAAE,CAAC"}
@@ -3,31 +3,83 @@ export declare class FilterPanelClasses {
3
3
  /**
4
4
  * Main content div
5
5
  */
6
- static readonly mainDiv: string;
6
+ static readonly mainDiv = "FilterPanel-root";
7
7
  /**
8
8
  * Div containing the loading spinner and text
9
9
  */
10
- static readonly loadingDiv: string;
10
+ static readonly loadingDiv = "FilterPanel-loading";
11
11
  /**
12
- * Header div with buttons and help icon
12
+ * Div with add filter and remove all filters buttons
13
13
  */
14
- static readonly headerDiv: string;
14
+ static readonly headerDiv = "FilterPanel-header";
15
+ /**
16
+ * Div containing the 'Filters' text and the help icon button
17
+ */
18
+ static readonly titleDiv = "FilterPanel-title";
19
+ /**
20
+ * Div containing the 'Filters' text
21
+ */
22
+ static readonly titleDivText = "FilterPanel-title-text";
23
+ /**
24
+ * Div containing the add and remove all buttons
25
+ */
26
+ static readonly headerDivButtons = "FilterPanel-header-buttons";
27
+ /**
28
+ * Add button
29
+ */
30
+ static readonly headerDivAddButton = "FilterPanel-HeaderDivAddButton";
31
+ /**
32
+ * Remove all button
33
+ */
34
+ static readonly headerDivRemoveAllButton = "FilterPanel-HeaderDivRemoveAllButton";
35
+ /**
36
+ * Div of the content root. Used for animation purposes.
37
+ */
38
+ static readonly contentDivRoot = "FilterPanel-content-root";
15
39
  /**
16
40
  * Div with the stack of filter items
17
41
  */
18
- static readonly contentDiv: string;
42
+ static readonly contentDiv = "FilterPanel-content";
19
43
  /**
20
- * Div containing the filters
44
+ * Div with no filters defined text
21
45
  */
22
- static readonly filterStack: string;
46
+ static readonly contentNoFilters = "FilterPanel-NoFilters";
23
47
  /**
24
48
  * Main filter div
25
49
  */
26
- static readonly filterItemDiv: string;
50
+ static readonly filterItemDiv = "FilterPanel-filterItem";
51
+ /**
52
+ * Main filter div
53
+ */
54
+ static readonly filterItemDivHeader = "FilterPanel-filterItemHeader";
55
+ static readonly filterItemClearButton = "FilterPanel-ItemClearButton";
56
+ static readonly filterItemRemoveButton = "FilterPanel-ItemRemoveButton";
27
57
  /**
28
58
  * Classname for the TextField component
29
59
  */
30
- static readonly inputField: string;
60
+ static readonly inputField = "FilterPanel-filterInputfield";
61
+ /**
62
+ * A div with the displayed values for the value selector in preview mode
63
+ */
64
+ static readonly inputFieldPreviewValues = "FilterPanel-PreviewValue";
65
+ /**
66
+ * Classname for the field label
67
+ */
68
+ static readonly fieldName = "FilterPanel-fieldName";
69
+ /**
70
+ * Div with selectable items for filters with few items
71
+ */
72
+ static readonly selectableContent = "FilterPanel-selectableContent";
73
+ }
74
+ export interface FilterPanelProps {
75
+ /**
76
+ * Variant defined in the theme. If the theme has variants, then the user can select one.
77
+ */
78
+ variant?: string;
79
+ /**
80
+ * If true, grow filter in row direction. If false, grow in column direction.
81
+ */
82
+ filterLayoutHorizontal?: boolean;
31
83
  }
32
84
  export declare type FilterPanelClassesKey = keyof FilterPanelClasses;
33
85
  /**
@@ -81,4 +133,23 @@ export interface FilterPanelChartOptions extends FormFieldObject {
81
133
  * Easily change by clicking 'Set Default Filters' in the user menu of the widget header.
82
134
  */
83
135
  initialFilterConfig?: string;
136
+ /**
137
+ * If true, grow filter in row direction. If false, grow in column direction.
138
+ */
139
+ filterLayoutHorizontal?: boolean;
140
+ /**
141
+ * If defined, the filter panel only shows items where this measure is not NULL. This means, for example, that
142
+ * if there is a filter item setting Continent to Asia, then other filters, e.g., country, only show countries
143
+ * with continent Asia.
144
+ */
145
+ measureMdx?: string;
146
+ /**
147
+ * Name template for the fields with properties. Use 'levelName' and 'propertyName' as placeholders.
148
+ */
149
+ propertyFieldNameTemplate: string;
150
+ /**
151
+ * Use the simple selection filter if and only if `useSimpleFilterCutoff` is not null and the level
152
+ * has <= `useSimpleFilterCutoff` members.
153
+ */
154
+ useSimpleFilterCutoff?: number;
84
155
  }
@@ -13,23 +13,65 @@ FilterPanelClasses.mainDiv = "FilterPanel-root";
13
13
  */
14
14
  FilterPanelClasses.loadingDiv = "FilterPanel-loading";
15
15
  /**
16
- * Header div with buttons and help icon
16
+ * Div with add filter and remove all filters buttons
17
17
  */
18
18
  FilterPanelClasses.headerDiv = "FilterPanel-header";
19
+ /**
20
+ * Div containing the 'Filters' text and the help icon button
21
+ */
22
+ FilterPanelClasses.titleDiv = "FilterPanel-title";
23
+ /**
24
+ * Div containing the 'Filters' text
25
+ */
26
+ FilterPanelClasses.titleDivText = "FilterPanel-title-text";
27
+ /**
28
+ * Div containing the add and remove all buttons
29
+ */
30
+ FilterPanelClasses.headerDivButtons = "FilterPanel-header-buttons";
31
+ /**
32
+ * Add button
33
+ */
34
+ FilterPanelClasses.headerDivAddButton = "FilterPanel-HeaderDivAddButton";
35
+ /**
36
+ * Remove all button
37
+ */
38
+ FilterPanelClasses.headerDivRemoveAllButton = "FilterPanel-HeaderDivRemoveAllButton";
39
+ /**
40
+ * Div of the content root. Used for animation purposes.
41
+ */
42
+ FilterPanelClasses.contentDivRoot = "FilterPanel-content-root";
19
43
  /**
20
44
  * Div with the stack of filter items
21
45
  */
22
46
  FilterPanelClasses.contentDiv = "FilterPanel-content";
23
47
  /**
24
- * Div containing the filters
48
+ * Div with no filters defined text
25
49
  */
26
- FilterPanelClasses.filterStack = "FilterPanel-filterStack";
50
+ FilterPanelClasses.contentNoFilters = "FilterPanel-NoFilters";
27
51
  /**
28
52
  * Main filter div
29
53
  */
30
54
  FilterPanelClasses.filterItemDiv = "FilterPanel-filterItem";
55
+ /**
56
+ * Main filter div
57
+ */
58
+ FilterPanelClasses.filterItemDivHeader = "FilterPanel-filterItemHeader";
59
+ FilterPanelClasses.filterItemClearButton = "FilterPanel-ItemClearButton";
60
+ FilterPanelClasses.filterItemRemoveButton = "FilterPanel-ItemRemoveButton";
31
61
  /**
32
62
  * Classname for the TextField component
33
63
  */
34
64
  FilterPanelClasses.inputField = "FilterPanel-filterInputfield";
65
+ /**
66
+ * A div with the displayed values for the value selector in preview mode
67
+ */
68
+ FilterPanelClasses.inputFieldPreviewValues = "FilterPanel-PreviewValue";
69
+ /**
70
+ * Classname for the field label
71
+ */
72
+ FilterPanelClasses.fieldName = "FilterPanel-fieldName";
73
+ /**
74
+ * Div with selectable items for filters with few items
75
+ */
76
+ FilterPanelClasses.selectableContent = "FilterPanel-selectableContent";
35
77
  //# sourceMappingURL=ThemeFilterPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,gDAoCC;AAnCG;;GAEG;AACa,0BAAO,GAAW,kBAAkB,CAAC;AAErD;;GAEG;AACa,6BAAU,GAAW,qBAAqB,CAAC;AAE3D;;GAEG;AACa,4BAAS,GAAW,oBAAoB,CAAC;AAEzD;;GAEG;AACa,6BAAU,GAAW,qBAAqB,CAAC;AAE3D;;GAEG;AACa,8BAAW,GAAW,yBAAyB,CAAC;AAEhE;;GAEG;AACa,gCAAa,GAAW,wBAAwB,CAAC;AAEjE;;GAEG;AACa,6BAAU,GAAW,8BAA8B,CAAC"}
1
+ {"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,gDA0FC;AAzFG;;GAEG;AACa,0BAAO,GAAG,kBAAkB,CAAC;AAE7C;;GAEG;AACa,6BAAU,GAAG,qBAAqB,CAAC;AAEnD;;GAEG;AACa,4BAAS,GAAG,oBAAoB,CAAC;AAEjD;;GAEG;AACa,2BAAQ,GAAG,mBAAmB,CAAC;AAE/C;;GAEG;AACa,+BAAY,GAAG,wBAAwB,CAAC;AAExD;;GAEG;AACa,mCAAgB,GAAG,4BAA4B,CAAC;AAEhE;;GAEG;AACa,qCAAkB,GAAG,gCAAgC,CAAC;AAEtE;;GAEG;AACa,2CAAwB,GAAG,sCAAsC,CAAC;AAElF;;GAEG;AACa,iCAAc,GAAG,0BAA0B,CAAC;AAE5D;;GAEG;AACa,6BAAU,GAAG,qBAAqB,CAAC;AAEnD;;GAEG;AACa,mCAAgB,GAAG,uBAAuB,CAAC;AAE3D;;GAEG;AACa,gCAAa,GAAG,wBAAwB,CAAC;AAEzD;;GAEG;AACa,sCAAmB,GAAG,8BAA8B,CAAC;AAErD,wCAAqB,GAAG,6BAA6B,CAAC;AAEtD,yCAAsB,GAAG,8BAA8B,CAAC;AAExE;;GAEG;AACa,6BAAU,GAAG,8BAA8B,CAAC;AAE5D;;GAEG;AACa,0CAAuB,GAAG,0BAA0B,CAAC;AAErE;;GAEG;AACa,4BAAS,GAAG,uBAAuB,CAAC;AAEpD;;GAEG;AACa,oCAAiB,GAAG,+BAA+B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { TreeFireEventMode } from "../PublicTidyTableInteractions";
2
2
  import { FilterTidyTableChartOptions } from "./ThemeFilter";
3
- export declare class FilterTreeClasses {
3
+ import { LazyTreeClasses } from "./ThemeLazyTreeClasses";
4
+ export declare class FilterTreeClasses extends LazyTreeClasses {
4
5
  /**
5
6
  * Style applied to the root element.
6
7
  */
@@ -8,11 +9,11 @@ export declare class FilterTreeClasses {
8
9
  /**
9
10
  * Style applied to the tree item without control icons
10
11
  */
11
- static simpleItemLabel: "TreeFilter-simpleItemLabel";
12
+ static simpleItemLabel: "Ic3-TreeFilter-simpleItemLabel";
12
13
  /**
13
14
  * Style applied to the tree item witht control icons
14
15
  */
15
- static itemLabelWithIcons: "TreeFilter-itemLabelWithIcons";
16
+ static itemLabelWithIcons: "Ic3-TreeFilter-itemLabelWithIcons";
16
17
  }
17
18
  export declare type FilterTreeClassKey = keyof FilterTreeClasses;
18
19
  export declare type FilterFireEventMode = TreeFireEventMode.ALL_SELECTED | TreeFireEventMode.COMPACT_ON_PARENT;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FilterTreeClasses = void 0;
4
- class FilterTreeClasses {
4
+ const ThemeLazyTreeClasses_1 = require("./ThemeLazyTreeClasses");
5
+ class FilterTreeClasses extends ThemeLazyTreeClasses_1.LazyTreeClasses {
5
6
  }
6
7
  exports.FilterTreeClasses = FilterTreeClasses;
7
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterTree.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterTree.ts"],"names":[],"mappings":";;;AAGA,MAAa,iBAAiB;;AAA9B,8CAqBC;AAnBG;;GAEG;AACa,sBAAI,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"ThemeFilterTree.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterTree.ts"],"names":[],"mappings":";;;AAEA,iEAAuD;AAEvD,MAAa,iBAAkB,SAAQ,sCAAe;;AAAtD,8CAsBC;AApBG;;GAEG;AACa,sBAAI,GAAG,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare class Ic3GlobalClasses {
2
+ static readonly singleSelection = "Ic3-SingleSelection";
3
+ static readonly multipleSelection = "Ic3-MultipleSelection";
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Ic3GlobalClasses = void 0;
4
+ class Ic3GlobalClasses {
5
+ }
6
+ exports.Ic3GlobalClasses = Ic3GlobalClasses;
7
+ Ic3GlobalClasses.singleSelection = 'Ic3-SingleSelection';
8
+ Ic3GlobalClasses.multipleSelection = 'Ic3-MultipleSelection';
9
+ //# sourceMappingURL=ThemeGlobal.js.map