@ic3/reporting-api 8.0.0-rc.4 → 8.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.
Files changed (152) hide show
  1. package/dist/ApiUtils.d.ts +46 -8
  2. package/dist/ApiUtils.js +37 -21
  3. package/dist/ApiUtils.js.map +1 -1
  4. package/dist/INotification.d.ts +26 -6
  5. package/dist/IOnNewEventJsContext.d.ts +66 -0
  6. package/dist/{theme/ThemeGoogleMapMarker.js → IOnNewEventJsContext.js} +1 -1
  7. package/dist/IOnNewEventJsContext.js.map +1 -0
  8. package/dist/IPluginDefinition.d.ts +9 -0
  9. package/dist/IReporting.d.ts +15 -5
  10. package/dist/IThemeManager.d.ts +12 -13
  11. package/dist/IThemeManager.js.map +1 -1
  12. package/dist/ITypes.d.ts +22 -0
  13. package/dist/ITypes.js +28 -0
  14. package/dist/ITypes.js.map +1 -1
  15. package/dist/IWidgetManager.d.ts +5 -2
  16. package/dist/LazyTreeView.d.ts +6 -24
  17. package/dist/LazyTreeView.js +0 -13
  18. package/dist/LazyTreeView.js.map +1 -1
  19. package/dist/Loader.d.ts +78 -0
  20. package/dist/Loader.js +160 -3
  21. package/dist/Loader.js.map +1 -1
  22. package/dist/PublicAmchartsData.d.ts +62 -0
  23. package/dist/PublicAmchartsData.js +126 -0
  24. package/dist/PublicAmchartsData.js.map +1 -0
  25. package/dist/PublicContext.d.ts +40 -3
  26. package/dist/PublicLayout.d.ts +5 -1
  27. package/dist/PublicTemplate.d.ts +90 -36
  28. package/dist/PublicTemplate.js +1 -10
  29. package/dist/PublicTemplate.js.map +1 -1
  30. package/dist/PublicTemplateForm.d.ts +66 -8
  31. package/dist/PublicTemplateForm.js +1 -9
  32. package/dist/PublicTemplateForm.js.map +1 -1
  33. package/dist/PublicTemplates.d.ts +61 -0
  34. package/dist/{theme/ThemeReportAppMenu.js → PublicTemplates.js} +1 -1
  35. package/dist/PublicTemplates.js.map +1 -0
  36. package/dist/PublicTheme.d.ts +157 -16
  37. package/dist/PublicTheme.js.map +1 -1
  38. package/dist/PublicTidyColumn.d.ts +76 -21
  39. package/dist/PublicTidyColumn.js +8 -0
  40. package/dist/PublicTidyColumn.js.map +1 -1
  41. package/dist/PublicTidyHistogram.d.ts +39 -1
  42. package/dist/PublicTidyHistogram.js +6 -1
  43. package/dist/PublicTidyHistogram.js.map +1 -1
  44. package/dist/PublicTidyMath.d.ts +26 -20
  45. package/dist/PublicTidyTable.d.ts +44 -19
  46. package/dist/PublicTidyTableInteractions.d.ts +80 -17
  47. package/dist/PublicTidyTableTypes.d.ts +109 -19
  48. package/dist/PublicTidyTableTypes.js +18 -1
  49. package/dist/PublicTidyTableTypes.js.map +1 -1
  50. package/dist/PublicTidyTree.d.ts +19 -12
  51. package/dist/PublicTidyTree.js +25 -16
  52. package/dist/PublicTidyTree.js.map +1 -1
  53. package/dist/index.d.ts +20 -3
  54. package/dist/index.js +25 -4
  55. package/dist/index.js.map +1 -1
  56. package/dist/theme/ThemeAmCharts4.d.ts +1358 -0
  57. package/dist/theme/ThemeAmCharts4.js +61 -0
  58. package/dist/theme/ThemeAmCharts4.js.map +1 -0
  59. package/dist/theme/ThemeApp.d.ts +26 -11
  60. package/dist/theme/ThemeApp.js +51 -0
  61. package/dist/theme/ThemeApp.js.map +1 -1
  62. package/dist/theme/ThemeAppMenuIcon.d.ts +7 -0
  63. package/dist/theme/ThemeAppMenuIcon.js +8 -0
  64. package/dist/theme/ThemeAppMenuIcon.js.map +1 -0
  65. package/dist/theme/ThemeBaseTable.d.ts +94 -0
  66. package/dist/theme/ThemeBaseTable.js +10 -0
  67. package/dist/theme/ThemeBaseTable.js.map +1 -0
  68. package/dist/theme/ThemeDatePicker.d.ts +118 -0
  69. package/dist/theme/ThemeDatePicker.js +11 -0
  70. package/dist/theme/ThemeDatePicker.js.map +1 -0
  71. package/dist/theme/ThemeEditorTopBar.d.ts +31 -0
  72. package/dist/theme/ThemeEditorTopBar.js +35 -0
  73. package/dist/theme/ThemeEditorTopBar.js.map +1 -0
  74. package/dist/theme/ThemeEmbeddedReport.d.ts +25 -0
  75. package/dist/theme/ThemeEmbeddedReport.js +3 -0
  76. package/dist/theme/ThemeEmbeddedReport.js.map +1 -0
  77. package/dist/theme/ThemeFilter.d.ts +28 -0
  78. package/dist/theme/ThemeFilter.js +3 -0
  79. package/dist/theme/ThemeFilter.js.map +1 -0
  80. package/dist/theme/ThemeFilterAutocomplete.d.ts +31 -15
  81. package/dist/theme/ThemeFilterAutocomplete.js.map +1 -1
  82. package/dist/theme/ThemeFilterButtons.d.ts +40 -23
  83. package/dist/theme/ThemeFilterButtons.js +1 -1
  84. package/dist/theme/ThemeFilterButtons.js.map +1 -1
  85. package/dist/theme/ThemeFilterCheckboxRadio.d.ts +48 -0
  86. package/dist/theme/ThemeFilterCheckboxRadio.js +23 -0
  87. package/dist/theme/ThemeFilterCheckboxRadio.js.map +1 -0
  88. package/dist/theme/ThemeFilterPanel.d.ts +94 -0
  89. package/dist/theme/ThemeFilterPanel.js +35 -0
  90. package/dist/theme/ThemeFilterPanel.js.map +1 -0
  91. package/dist/theme/ThemeFilterSlider.d.ts +42 -28
  92. package/dist/theme/ThemeFilterSlider.js +7 -7
  93. package/dist/theme/ThemeFilterSlider.js.map +1 -1
  94. package/dist/theme/ThemeFilterTree.d.ts +61 -30
  95. package/dist/theme/ThemeFilterTree.js +2 -1
  96. package/dist/theme/ThemeFilterTree.js.map +1 -1
  97. package/dist/theme/ThemeGlobal.d.ts +4 -0
  98. package/dist/theme/ThemeGlobal.js +9 -0
  99. package/dist/theme/ThemeGlobal.js.map +1 -0
  100. package/dist/theme/ThemeGoogle.d.ts +132 -0
  101. package/dist/theme/ThemeGoogle.js +64 -0
  102. package/dist/theme/ThemeGoogle.js.map +1 -0
  103. package/dist/theme/ThemeGoogleHeatMap.d.ts +58 -0
  104. package/dist/theme/ThemeGoogleHeatMap.js +3 -0
  105. package/dist/theme/ThemeGoogleHeatMap.js.map +1 -0
  106. package/dist/theme/ThemeGoogleKmlLayer.d.ts +40 -0
  107. package/dist/theme/ThemeGoogleKmlLayer.js +3 -0
  108. package/dist/theme/ThemeGoogleKmlLayer.js.map +1 -0
  109. package/dist/theme/ThemeGoogleMarker.d.ts +147 -0
  110. package/dist/theme/ThemeGoogleMarker.js +3 -0
  111. package/dist/theme/ThemeGoogleMarker.js.map +1 -0
  112. package/dist/theme/ThemeHtmlBox.d.ts +5 -1
  113. package/dist/theme/ThemeImage.d.ts +19 -0
  114. package/dist/theme/ThemeImage.js +3 -0
  115. package/dist/theme/ThemeImage.js.map +1 -0
  116. package/dist/theme/ThemeKpiBox.d.ts +46 -0
  117. package/dist/theme/ThemeKpiBox.js +3 -0
  118. package/dist/theme/ThemeKpiBox.js.map +1 -0
  119. package/dist/theme/ThemeKpiCard.d.ts +98 -0
  120. package/dist/theme/ThemeKpiCard.js +3 -0
  121. package/dist/theme/ThemeKpiCard.js.map +1 -0
  122. package/dist/theme/ThemeLazyTreeClasses.d.ts +14 -0
  123. package/dist/theme/ThemeLazyTreeClasses.js +19 -0
  124. package/dist/theme/ThemeLazyTreeClasses.js.map +1 -0
  125. package/dist/theme/ThemeMarkdownText.d.ts +27 -0
  126. package/dist/theme/ThemeMarkdownText.js +3 -0
  127. package/dist/theme/ThemeMarkdownText.js.map +1 -0
  128. package/dist/theme/ThemePivotTable.d.ts +63 -0
  129. package/dist/theme/ThemePivotTable.js +10 -1
  130. package/dist/theme/ThemePivotTable.js.map +1 -1
  131. package/dist/theme/ThemeQueryBuilderNode.d.ts +8 -0
  132. package/dist/theme/ThemeQueryBuilderNode.js +8 -0
  133. package/dist/theme/ThemeQueryBuilderNode.js.map +1 -0
  134. package/dist/theme/ThemeRepetitionWidget.d.ts +51 -0
  135. package/dist/theme/ThemeRepetitionWidget.js +3 -0
  136. package/dist/theme/ThemeRepetitionWidget.js.map +1 -0
  137. package/dist/theme/ThemeReportAppLeftPanel.d.ts +7 -0
  138. package/dist/theme/ThemeReportAppLeftPanel.js +11 -0
  139. package/dist/theme/ThemeReportAppLeftPanel.js.map +1 -0
  140. package/dist/theme/ThemeTable.d.ts +56 -1
  141. package/dist/theme/ThemeTable.js.map +1 -1
  142. package/dist/theme/ThemeWidgetBox.d.ts +77 -0
  143. package/dist/theme/ThemeWidgetBox.js +50 -14
  144. package/dist/theme/ThemeWidgetBox.js.map +1 -1
  145. package/package.json +6 -6
  146. package/dist/theme/ThemeFilterCheckboxes.d.ts +0 -18
  147. package/dist/theme/ThemeFilterCheckboxes.js +0 -11
  148. package/dist/theme/ThemeFilterCheckboxes.js.map +0 -1
  149. package/dist/theme/ThemeGoogleMapMarker.d.ts +0 -51
  150. package/dist/theme/ThemeGoogleMapMarker.js.map +0 -1
  151. package/dist/theme/ThemeReportAppMenu.d.ts +0 -18
  152. package/dist/theme/ThemeReportAppMenu.js.map +0 -1
@@ -1,42 +1,59 @@
1
- import { FormFieldObject } from "../PublicTemplateForm";
2
- export interface FilterButtonsProps extends FormFieldObject {
1
+ import { FilterTidyTableChartOptions } from "./ThemeFilter";
2
+ export declare class FilterButtonsClasses {
3
3
  /**
4
- * Predefined variants (add string to allow new variant without type augmentation)
4
+ * Style applied to the root element.
5
5
  */
6
- variant: 'text' | 'outlined' | 'contained' | string;
6
+ static readonly container = "FilterButtons-container";
7
7
  /**
8
- * Size of buttons
8
+ * Style applied to the mui button elements.
9
9
  */
10
- size: 'small' | 'medium' | 'large';
10
+ static readonly button = "FilterSlider-button";
11
11
  /**
12
- * If true, buttons will be grouped together (visual effect)
12
+ * Style applied to the mui group element (if present).
13
13
  */
14
- group?: boolean;
14
+ static readonly group = "FilterSlider-group";
15
15
  /**
16
- * If defined, buttons will be positioned in columns
16
+ * Slot for MuiButton component(s)
17
17
  */
18
- columns?: number;
18
+ static readonly muiButton = "";
19
+ }
20
+ export declare type FilterButtonsClassKey = keyof FilterButtonsClasses;
21
+ /**
22
+ * Filter Buttons Options (fields of the "Chart" tab in the widget editor).
23
+ *
24
+ * <pre>
25
+ * Plugin ID : ic3
26
+ * Widget/Template ID: FilterButtons
27
+ * </pre>
28
+ *
29
+ * @see WidgetTemplateChartOptions
30
+ */
31
+ export interface FilterButtonsChartOptions extends FilterTidyTableChartOptions {
19
32
  /**
20
- * If defined, buttons will be grouped by layout
33
+ * Variant.
34
+ *
35
+ * Allows for selecting a set of preset options. Note that a variant is possibly overriding defined options.
21
36
  */
22
- layout?: 'horizontal' | 'vertical';
23
- }
24
- export declare class FilterButtonsClasses {
37
+ variant: "text" | "outlined" | "contained" | string;
25
38
  /**
26
- * Style applied to the root element.
39
+ * Size.
27
40
  */
28
- static readonly root = "root";
41
+ size: "small" | "medium" | "large";
29
42
  /**
30
- * Style applied to the mui button elements.
43
+ * Grouped.
44
+ *
45
+ * When grouped, the buttons are rendered horizontally or vertically similarly to a toolbar.
31
46
  */
32
- static readonly button = "FilterSlider-button";
47
+ group?: boolean;
33
48
  /**
34
- * Style applied to the mui group element (if present).
49
+ * Layout (Grouped).
35
50
  */
36
- static readonly group = "FilterSlider-group";
51
+ layout?: "horizontal" | "vertical";
37
52
  /**
38
- * Slot for MuiButton component(s)
53
+ * Grid Column Count
54
+ *
55
+ * The buttons will be displayed on a grid. This field sets the number of columns of the grid.
56
+ * Not relevant if the buttons are 'Grouped'.
39
57
  */
40
- static readonly muiButton = "";
58
+ columns?: number;
41
59
  }
42
- export declare type FilterButtonsClassKey = keyof FilterButtonsClasses;
@@ -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":";;;AA+BA,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"}
@@ -0,0 +1,48 @@
1
+ import { FilterTidyTableChartOptions } from "./ThemeFilter";
2
+ export declare class FilterCheckBoxRadioClasses {
3
+ /**
4
+ * Style applied to the root element.
5
+ */
6
+ static readonly root = "root";
7
+ /**
8
+ * Style container for a single Radio or Checkbox
9
+ */
10
+ static readonly radioCheckBoxContainer = "FilterCheckboxRadio-container";
11
+ /**
12
+ * root element class decoration when the items are radio components (single selection)
13
+ */
14
+ static readonly radioFlag = "FilterCheckboxRadio-Radio";
15
+ /**
16
+ * root element class decoration when the items are checkbox components (multiple selection)
17
+ */
18
+ static readonly checkboxFlag = "FilterCheckboxRadio-Checkbox";
19
+ }
20
+ export declare type FilterCheckboxRadioClassKey = keyof FilterCheckBoxRadioClasses;
21
+ /**
22
+ * Filter Checkboxes Options (fields of the "Chart" tab in the widget editor).
23
+ *
24
+ * <pre>
25
+ * Plugin ID : ic3
26
+ * Widget/Template ID: FilterCheckboxRadio
27
+ * </pre>
28
+ *
29
+ * @see WidgetTemplateChartOptions
30
+ */
31
+ export interface FilterCheckboxRadioChartOptions extends FilterTidyTableChartOptions {
32
+ /**
33
+ * Variant.
34
+ *
35
+ * Allows for selecting a set of theme defined variants
36
+ */
37
+ variant?: string;
38
+ /**
39
+ * Size.
40
+ */
41
+ size: "small" | "medium";
42
+ /**
43
+ * Grid Column Count.
44
+ *
45
+ * The checkboxes will be displayed on a grid. Set the number of columns of the grid in this field.
46
+ */
47
+ columns?: number;
48
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterCheckBoxRadioClasses = void 0;
4
+ class FilterCheckBoxRadioClasses {
5
+ }
6
+ exports.FilterCheckBoxRadioClasses = FilterCheckBoxRadioClasses;
7
+ /**
8
+ * Style applied to the root element.
9
+ */
10
+ FilterCheckBoxRadioClasses.root = "root";
11
+ /**
12
+ * Style container for a single Radio or Checkbox
13
+ */
14
+ FilterCheckBoxRadioClasses.radioCheckBoxContainer = "FilterCheckboxRadio-container";
15
+ /**
16
+ * root element class decoration when the items are radio components (single selection)
17
+ */
18
+ FilterCheckBoxRadioClasses.radioFlag = "FilterCheckboxRadio-Radio";
19
+ /**
20
+ * root element class decoration when the items are checkbox components (multiple selection)
21
+ */
22
+ FilterCheckBoxRadioClasses.checkboxFlag = "FilterCheckboxRadio-Checkbox";
23
+ //# sourceMappingURL=ThemeFilterCheckboxRadio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeFilterCheckboxRadio.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterCheckboxRadio.ts"],"names":[],"mappings":";;;AAEA,MAAa,0BAA0B;;AAAvC,gEAyBC;AAvBG;;GAEG;AACa,+BAAI,GAAG,MAAM,CAAC;AAG9B;;GAEG;AACa,iDAAsB,GAAG,+BAA+B,CAAC;AAGzE;;GAEG;AACa,oCAAS,GAAG,2BAA2B,CAAC;AAExD;;GAEG;AACa,uCAAY,GAAG,8BAA8B,CAAC"}
@@ -0,0 +1,94 @@
1
+ import { FormFieldObject } from "../PublicTemplateForm";
2
+ export declare class FilterPanelClasses {
3
+ /**
4
+ * Main content div
5
+ */
6
+ static readonly mainDiv: string;
7
+ /**
8
+ * Div containing the loading spinner and text
9
+ */
10
+ static readonly loadingDiv: string;
11
+ /**
12
+ * Header div with buttons and help icon
13
+ */
14
+ static readonly headerDiv: string;
15
+ /**
16
+ * Div with the stack of filter items
17
+ */
18
+ static readonly contentDiv: string;
19
+ /**
20
+ * Main filter div
21
+ */
22
+ static readonly filterItemDiv: string;
23
+ /**
24
+ * Classname for the TextField component
25
+ */
26
+ static readonly inputField: string;
27
+ /**
28
+ * Classname for the field label
29
+ */
30
+ static readonly fieldName: string;
31
+ }
32
+ export declare type FilterPanelClassesKey = keyof FilterPanelClasses;
33
+ /**
34
+ * Filter Panel Options (fields of the "Chart" tab in the widget editor).
35
+ *
36
+ * <pre>
37
+ * Plugin ID : ic3
38
+ * Widget/Template ID: FilterPanel
39
+ * </pre>
40
+ *
41
+ * @see WidgetTemplateChartOptions
42
+ */
43
+ export interface FilterPanelChartOptions extends FormFieldObject {
44
+ /**
45
+ * Variant.
46
+ *
47
+ * Allows for selecting a set of preset options. Note that a variant is possibly overriding defined options.
48
+ */
49
+ variant?: string;
50
+ /**
51
+ * As Global Filter.
52
+ *
53
+ * In the widget interaction tab, enable 'Use Global Filter' to see the effects of this option.
54
+ *
55
+ * Default value can NOT be changed in a theme or variant
56
+ */
57
+ asGlobalFilter: boolean;
58
+ /**
59
+ * Schema Name.
60
+ *
61
+ * Using the schema defined at dashboard level when not defined.
62
+ */
63
+ schemaName?: string;
64
+ /**
65
+ * Cube Name.
66
+ *
67
+ * The cube to use. Leave blank to use the default cube.
68
+ */
69
+ cubeName?: string;
70
+ /**
71
+ * Allowed Filters.
72
+ *
73
+ * Only show these options in the data field selector.
74
+ * Easily change by clicking 'Set Allowed Filters' in the user menu of the widget header.
75
+ */
76
+ customFilterConfig?: string;
77
+ /**
78
+ * Default Filters.
79
+ *
80
+ * These filters are in the filter panel upon opening the dashboard.
81
+ * Easily change by clicking 'Set Default Filters' in the user menu of the widget header.
82
+ */
83
+ initialFilterConfig?: string;
84
+ /**
85
+ * If true, grow filter in row direction. If false, grow in column direction.
86
+ */
87
+ filterLayoutHorizontal?: boolean;
88
+ /**
89
+ * If defined, the filter panel only shows items where this measure is not NULL. This means, for example, that
90
+ * if there is a filter item setting Continent to Asia, then other filters, e.g., country, only show countries
91
+ * with continent Asia.
92
+ */
93
+ measureMdx?: string;
94
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterPanelClasses = void 0;
4
+ class FilterPanelClasses {
5
+ }
6
+ exports.FilterPanelClasses = FilterPanelClasses;
7
+ /**
8
+ * Main content div
9
+ */
10
+ FilterPanelClasses.mainDiv = "FilterPanel-root";
11
+ /**
12
+ * Div containing the loading spinner and text
13
+ */
14
+ FilterPanelClasses.loadingDiv = "FilterPanel-loading";
15
+ /**
16
+ * Header div with buttons and help icon
17
+ */
18
+ FilterPanelClasses.headerDiv = "FilterPanel-header";
19
+ /**
20
+ * Div with the stack of filter items
21
+ */
22
+ FilterPanelClasses.contentDiv = "FilterPanel-content";
23
+ /**
24
+ * Main filter div
25
+ */
26
+ FilterPanelClasses.filterItemDiv = "FilterPanel-filterItem";
27
+ /**
28
+ * Classname for the TextField component
29
+ */
30
+ FilterPanelClasses.inputField = "FilterPanel-filterInputfield";
31
+ /**
32
+ * Classname for the field label
33
+ */
34
+ FilterPanelClasses.fieldName = "FilterPanel-fieldName";
35
+ //# sourceMappingURL=ThemeFilterPanel.js.map
@@ -0,0 +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,gCAAa,GAAW,wBAAwB,CAAC;AAEjE;;GAEG;AACa,6BAAU,GAAW,8BAA8B,CAAC;AAEpE;;GAEG;AACa,4BAAS,GAAW,uBAAuB,CAAC"}
@@ -1,31 +1,4 @@
1
- import { FormFieldObject } from "../PublicTemplateForm";
2
- export declare enum FilterSliderRenderingType {
3
- MARKS = "MARKS",
4
- TOOLTIPS = "TOOLTIPS",
5
- MARKS_WITH_TOOLTIPS = "MARKS_WITH_TOOLTIPS"
6
- }
7
- export interface FilterSliderProps extends FormFieldObject {
8
- /**
9
- * Predefined variants
10
- */
11
- variant?: string;
12
- /**
13
- * Size of slider
14
- */
15
- size: 'small' | 'medium';
16
- /**
17
- * slider Orientation Vertical / Horizontal
18
- */
19
- orientation: "horizontal" | "vertical";
20
- /**
21
- * Styling the slider (marks/tooltips)
22
- */
23
- style: FilterSliderRenderingType;
24
- /**
25
- * The margin for starting/ending the slider (left/right or top/bottom)
26
- */
27
- margin: number;
28
- }
1
+ import { FilterTidyTableChartOptions } from "./ThemeFilter";
29
2
  export declare class FilterSliderClasses {
30
3
  /**
31
4
  * Style applied to the root element.
@@ -45,3 +18,44 @@ export declare class FilterSliderClasses {
45
18
  static readonly muiSlider = "";
46
19
  }
47
20
  export declare type FilterSliderClassKey = keyof FilterSliderClasses;
21
+ export declare enum FilterSliderRenderingType {
22
+ MARKS = "MARKS",
23
+ TOOLTIPS = "TOOLTIPS",
24
+ MARKS_WITH_TOOLTIPS = "MARKS_WITH_TOOLTIPS"
25
+ }
26
+ /**
27
+ * Filter Slider Options (fields of the "Chart" tab in the widget editor).
28
+ *
29
+ * <pre>
30
+ * Plugin ID : ic3
31
+ * Widget/Template ID: FilterSlider
32
+ * </pre>
33
+ *
34
+ * @see WidgetTemplateChartOptions
35
+ */
36
+ export interface FilterSliderChartOptions extends FilterTidyTableChartOptions {
37
+ /**
38
+ * Variant.
39
+ *
40
+ * Allows for selecting a set of preset options. Note that a variant is possibly overriding defined options.
41
+ */
42
+ variant?: string;
43
+ /**
44
+ * Size.
45
+ */
46
+ size: "small" | "medium";
47
+ /**
48
+ * Orientation.
49
+ */
50
+ orientation: "horizontal" | "vertical";
51
+ /**
52
+ * Style.
53
+ */
54
+ style: FilterSliderRenderingType;
55
+ /**
56
+ * Margins.
57
+ *
58
+ * Left/right (or top/down) margins of the slider.
59
+ */
60
+ margin: number;
61
+ }
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilterSliderClasses = exports.FilterSliderRenderingType = void 0;
4
- var FilterSliderRenderingType;
5
- (function (FilterSliderRenderingType) {
6
- FilterSliderRenderingType["MARKS"] = "MARKS";
7
- FilterSliderRenderingType["TOOLTIPS"] = "TOOLTIPS";
8
- FilterSliderRenderingType["MARKS_WITH_TOOLTIPS"] = "MARKS_WITH_TOOLTIPS";
9
- })(FilterSliderRenderingType = exports.FilterSliderRenderingType || (exports.FilterSliderRenderingType = {}));
3
+ exports.FilterSliderRenderingType = exports.FilterSliderClasses = void 0;
10
4
  class FilterSliderClasses {
11
5
  }
12
6
  exports.FilterSliderClasses = FilterSliderClasses;
@@ -26,4 +20,10 @@ FilterSliderClasses.tooltip = "FilterSlider-tooltip";
26
20
  * Slot for MuiSlider component
27
21
  */
28
22
  FilterSliderClasses.muiSlider = "";
23
+ var FilterSliderRenderingType;
24
+ (function (FilterSliderRenderingType) {
25
+ FilterSliderRenderingType["MARKS"] = "MARKS";
26
+ FilterSliderRenderingType["TOOLTIPS"] = "TOOLTIPS";
27
+ FilterSliderRenderingType["MARKS_WITH_TOOLTIPS"] = "MARKS_WITH_TOOLTIPS";
28
+ })(FilterSliderRenderingType = exports.FilterSliderRenderingType || (exports.FilterSliderRenderingType = {}));
29
29
  //# sourceMappingURL=ThemeFilterSlider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterSlider.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterSlider.ts"],"names":[],"mappings":";;;AAEA,IAAY,yBAMX;AAND,WAAY,yBAAyB;IAEjC,4CAAe,CAAA;IACf,kDAAqB,CAAA;IACrB,wEAA2C,CAAA;AAE/C,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AA6BD,MAAa,mBAAmB;;AAAhC,kDAsBC;AApBG;;GAEG;AACa,wBAAI,GAAG,MAAM,CAAC;AAE9B;;GAEG;AACa,0BAAM,GAAG,qBAAqB,CAAC;AAE/C;;GAEG;AACa,2BAAO,GAAG,sBAAsB,CAAA;AAEhD;;GAEG;AACa,6BAAS,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"ThemeFilterSlider.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterSlider.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;;AAAhC,kDAsBC;AApBG;;GAEG;AACa,wBAAI,GAAG,MAAM,CAAC;AAE9B;;GAEG;AACa,0BAAM,GAAG,qBAAqB,CAAC;AAE/C;;GAEG;AACa,2BAAO,GAAG,sBAAsB,CAAA;AAEhD;;GAEG;AACa,6BAAS,GAAG,EAAE,CAAC;AAMnC,IAAY,yBAMX;AAND,WAAY,yBAAyB;IAEjC,4CAAe,CAAA;IACf,kDAAqB,CAAA;IACrB,wEAA2C,CAAA;AAE/C,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC"}
@@ -1,70 +1,101 @@
1
- import { FormFieldObject } from "../PublicTemplateForm";
2
1
  import { TreeFireEventMode } from "../PublicTidyTableInteractions";
2
+ import { FilterTidyTableChartOptions } from "./ThemeFilter";
3
+ import { LazyTreeClasses } from "./ThemeLazyTreeClasses";
4
+ export declare class FilterTreeClasses extends LazyTreeClasses {
5
+ /**
6
+ * Style applied to the root element.
7
+ */
8
+ static readonly root = "root";
9
+ /**
10
+ * Style applied to the tree item without control icons
11
+ */
12
+ static simpleItemLabel: "Ic3-TreeFilter-simpleItemLabel";
13
+ /**
14
+ * Style applied to the tree item witht control icons
15
+ */
16
+ static itemLabelWithIcons: "Ic3-TreeFilter-itemLabelWithIcons";
17
+ }
18
+ export declare type FilterTreeClassKey = keyof FilterTreeClasses;
3
19
  export declare type FilterFireEventMode = TreeFireEventMode.ALL_SELECTED | TreeFireEventMode.COMPACT_ON_PARENT;
4
- export interface FilterTreeOptions extends FormFieldObject {
20
+ /**
21
+ * Filter Tree Options (fields of the "Chart" tab in the widget editor).
22
+ *
23
+ * <pre>
24
+ * Plugin ID : ic3
25
+ * Widget/Template ID: FilterTree
26
+ * </pre>
27
+ *
28
+ * @see WidgetTemplateChartOptions
29
+ */
30
+ export interface FilterTreeChartOptions extends FilterTidyTableChartOptions {
5
31
  /**
6
- * variants (if any)
32
+ * Variant.
33
+ *
34
+ * Allows for selecting a set of preset options. Note that a variant is possibly overriding defined options.
7
35
  */
8
36
  variant?: string;
9
37
  /**
10
- * size
38
+ * Size.
11
39
  */
12
- size: 'small' | 'medium';
40
+ size: "small" | "medium";
13
41
  /**
14
- * add control icons for the tree item buttons
42
+ * Use Control Icons.
43
+ *
44
+ * Display a checkbox/radiobutton to the left of each item.
15
45
  */
16
46
  useControlIcons?: boolean;
17
47
  /**
18
- * Depth of the opened tree items at start
48
+ * Expand/Collapse Depth.
49
+ *
50
+ * Number of levels initially expanded.
19
51
  */
20
52
  startOpenDepth: number;
21
53
  /**
22
- * On user item click, selects/unselects all children as well
54
+ * Cascade Selection.
55
+ *
56
+ * Select all children as well. Does not apply if single selection.
23
57
  */
24
58
  cascadeSelection: boolean;
25
59
  /**
26
- * When firing an event, do not fire children if the parent is selected (i.e. the filter is used as an MDX filter)
60
+ * Fire Mode.
61
+ *
62
+ * When firing an event, do not fire children if the parent is selected (i.e. the filter is used as an MDX filter).
63
+ *
64
+ * Does not apply if single selection.
27
65
  */
28
66
  fireMode: FilterFireEventMode;
29
67
  /**
30
- * Search feature to the tree
31
- * if tree, adds an input field on top
32
- * if autocomplete, uses the autocomplete to filter the tree
68
+ * Add Search.
69
+ *
70
+ * Add a search bar above the tree.
33
71
  */
34
72
  addSearch: boolean;
35
73
  /**
74
+ * Search Placeholder.
36
75
  *
76
+ * Text displayed when the search bar is empty.
37
77
  */
38
78
  searchPlaceholder?: string;
39
79
  /**
40
- * Switches the filter to an autocomplete with a collapsible tree
80
+ * Dropdown (aka. Autocomplete).
81
+ *
82
+ * The tree is displayed as a dropdown.
41
83
  */
42
84
  autoComplete: boolean;
43
85
  /**
44
- * Autocomplete predefined variants , "filled", "outlined" + custome ones
86
+ * Variant.
45
87
  */
46
88
  autoCompleteVariant: string;
47
89
  /**
48
- * Autocomplete size of buttons
90
+ * Size (Dropdown/Autocomplete).
91
+ *
92
+ * Rendered items size.
49
93
  */
50
94
  autoCompleteSize?: 'small' | 'medium';
51
95
  /**
96
+ * Limit Items (Dropdown/Autocomplete).
97
+ *
52
98
  * Autocomplete, the maximum number of tags that will be visible when not focused. Set -1 to disable the limit.
53
99
  */
54
100
  autoCompleteLimitTags: number;
55
101
  }
56
- export declare class FilterTreeClasses {
57
- /**
58
- * Style applied to the root element.
59
- */
60
- static readonly root = "root";
61
- /**
62
- * Style applied to the tree item without control icons
63
- */
64
- static simpleItemLabel: "TreeFilter-simpleItemLabel";
65
- /**
66
- * Style applied to the tree item witht control icons
67
- */
68
- static itemLabelWithIcons: "TreeFilter-itemLabelWithIcons";
69
- }
70
- export declare type FilterTreeClassKey = keyof FilterTreeClasses;
@@ -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":";;;AAuEA,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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeGlobal.js","sourceRoot":"","sources":["../../src/theme/ThemeGlobal.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;;AAA7B,4CAKC;AAHmB,gCAAe,GAAG,qBAAqB,CAAC;AAExC,kCAAiB,GAAG,uBAAuB,CAAC"}