@ic3/reporting-api 8.0.0-rc.2 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) 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 +29 -8
  5. package/dist/IPluginDefinition.d.ts +9 -0
  6. package/dist/IReporting.d.ts +3 -1
  7. package/dist/IThemeManager.d.ts +14 -13
  8. package/dist/IThemeManager.js.map +1 -1
  9. package/dist/ITypes.d.ts +25 -0
  10. package/dist/ITypes.js +31 -0
  11. package/dist/ITypes.js.map +1 -0
  12. package/dist/IWidgetManager.d.ts +5 -2
  13. package/dist/LazyTreeView.d.ts +6 -1
  14. package/dist/PublicContext.d.ts +19 -4
  15. package/dist/PublicLayout.d.ts +7 -23
  16. package/dist/PublicTemplate.d.ts +101 -41
  17. package/dist/PublicTemplate.js +1 -10
  18. package/dist/PublicTemplate.js.map +1 -1
  19. package/dist/PublicTemplateForm.d.ts +126 -15
  20. package/dist/PublicTemplateForm.js +1 -9
  21. package/dist/PublicTemplateForm.js.map +1 -1
  22. package/dist/PublicTemplates.d.ts +61 -0
  23. package/dist/{theme/ThemeGoogleMapMarker.js → PublicTemplates.js} +1 -1
  24. package/dist/PublicTemplates.js.map +1 -0
  25. package/dist/PublicTheme.d.ts +112 -75
  26. package/dist/PublicTheme.js.map +1 -1
  27. package/dist/PublicTidyColumn.d.ts +29 -9
  28. package/dist/PublicTidyColumn.js.map +1 -1
  29. package/dist/PublicTidyHistogram.d.ts +32 -0
  30. package/dist/PublicTidyHistogram.js.map +1 -1
  31. package/dist/PublicTidyMath.d.ts +2 -2
  32. package/dist/PublicTidyTable.d.ts +35 -18
  33. package/dist/PublicTidyTableInteractions.d.ts +24 -2
  34. package/dist/PublicTidyTableTypes.d.ts +28 -8
  35. package/dist/PublicTidyTableTypes.js +18 -1
  36. package/dist/PublicTidyTableTypes.js.map +1 -1
  37. package/dist/PublicTidyTree.d.ts +13 -3
  38. package/dist/PublicTidyTree.js +19 -13
  39. package/dist/PublicTidyTree.js.map +1 -1
  40. package/dist/index.d.ts +24 -0
  41. package/dist/index.js +29 -1
  42. package/dist/index.js.map +1 -1
  43. package/dist/theme/ThemeAmCharts4.d.ts +1346 -0
  44. package/dist/theme/ThemeAmCharts4.js +61 -0
  45. package/dist/theme/ThemeAmCharts4.js.map +1 -0
  46. package/dist/theme/ThemeApp.d.ts +11 -11
  47. package/dist/theme/ThemeApp.js +40 -0
  48. package/dist/theme/ThemeApp.js.map +1 -1
  49. package/dist/theme/ThemeBaseTable.d.ts +94 -0
  50. package/dist/theme/ThemeBaseTable.js +10 -0
  51. package/dist/theme/ThemeBaseTable.js.map +1 -0
  52. package/dist/theme/ThemeDatePicker.d.ts +111 -0
  53. package/dist/theme/ThemeDatePicker.js +3 -0
  54. package/dist/theme/ThemeDatePicker.js.map +1 -0
  55. package/dist/theme/ThemeEmbeddedReport.d.ts +25 -0
  56. package/dist/theme/ThemeEmbeddedReport.js +3 -0
  57. package/dist/theme/ThemeEmbeddedReport.js.map +1 -0
  58. package/dist/theme/ThemeFilter.d.ts +28 -0
  59. package/dist/theme/ThemeFilter.js +3 -0
  60. package/dist/theme/ThemeFilter.js.map +1 -0
  61. package/dist/theme/ThemeFilterAutocomplete.d.ts +31 -15
  62. package/dist/theme/ThemeFilterAutocomplete.js.map +1 -1
  63. package/dist/theme/ThemeFilterButtons.d.ts +40 -19
  64. package/dist/theme/ThemeFilterButtons.js.map +1 -1
  65. package/dist/theme/ThemeFilterCheckboxRadio.d.ts +48 -0
  66. package/dist/theme/ThemeFilterCheckboxRadio.js +23 -0
  67. package/dist/theme/ThemeFilterCheckboxRadio.js.map +1 -0
  68. package/dist/theme/ThemeFilterPanel.d.ts +84 -0
  69. package/dist/theme/ThemeFilterPanel.js +35 -0
  70. package/dist/theme/ThemeFilterPanel.js.map +1 -0
  71. package/dist/theme/ThemeFilterSlider.d.ts +42 -28
  72. package/dist/theme/ThemeFilterSlider.js +7 -7
  73. package/dist/theme/ThemeFilterSlider.js.map +1 -1
  74. package/dist/theme/ThemeFilterTree.d.ts +60 -30
  75. package/dist/theme/ThemeFilterTree.js.map +1 -1
  76. package/dist/theme/ThemeGoogle.d.ts +132 -0
  77. package/dist/theme/ThemeGoogle.js +64 -0
  78. package/dist/theme/ThemeGoogle.js.map +1 -0
  79. package/dist/theme/ThemeGoogleHeatMap.d.ts +58 -0
  80. package/dist/theme/ThemeGoogleHeatMap.js +3 -0
  81. package/dist/theme/ThemeGoogleHeatMap.js.map +1 -0
  82. package/dist/theme/ThemeGoogleKmlLayer.d.ts +40 -0
  83. package/dist/theme/ThemeGoogleKmlLayer.js +3 -0
  84. package/dist/theme/ThemeGoogleKmlLayer.js.map +1 -0
  85. package/dist/theme/ThemeGoogleMarker.d.ts +147 -0
  86. package/dist/theme/ThemeGoogleMarker.js +3 -0
  87. package/dist/theme/ThemeGoogleMarker.js.map +1 -0
  88. package/dist/theme/ThemeHtmlBox.d.ts +5 -1
  89. package/dist/theme/ThemeImage.d.ts +19 -0
  90. package/dist/theme/ThemeImage.js +3 -0
  91. package/dist/theme/ThemeImage.js.map +1 -0
  92. package/dist/theme/ThemeKpiBox.d.ts +46 -0
  93. package/dist/theme/ThemeKpiBox.js +3 -0
  94. package/dist/theme/ThemeKpiBox.js.map +1 -0
  95. package/dist/theme/ThemeKpiCard.d.ts +98 -0
  96. package/dist/theme/ThemeKpiCard.js +3 -0
  97. package/dist/theme/ThemeKpiCard.js.map +1 -0
  98. package/dist/theme/ThemeMarkdownText.d.ts +27 -0
  99. package/dist/theme/ThemeMarkdownText.js +3 -0
  100. package/dist/theme/ThemeMarkdownText.js.map +1 -0
  101. package/dist/theme/ThemePivotTable.d.ts +61 -0
  102. package/dist/theme/ThemePivotTable.js +10 -1
  103. package/dist/theme/ThemePivotTable.js.map +1 -1
  104. package/dist/theme/ThemeRepetitionWidget.d.ts +51 -0
  105. package/dist/theme/ThemeRepetitionWidget.js +3 -0
  106. package/dist/theme/ThemeRepetitionWidget.js.map +1 -0
  107. package/dist/theme/ThemeReportAppLeftPanel.d.ts +7 -0
  108. package/dist/theme/ThemeReportAppLeftPanel.js +11 -0
  109. package/dist/theme/ThemeReportAppLeftPanel.js.map +1 -0
  110. package/dist/theme/ThemeTable.d.ts +155 -2
  111. package/dist/theme/ThemeTable.js +165 -1
  112. package/dist/theme/ThemeTable.js.map +1 -1
  113. package/dist/theme/ThemeWidgetBox.d.ts +69 -0
  114. package/dist/theme/ThemeWidgetBox.js +29 -1
  115. package/dist/theme/ThemeWidgetBox.js.map +1 -1
  116. package/package.json +6 -6
  117. package/dist/theme/ThemeFilterCheckboxes.d.ts +0 -18
  118. package/dist/theme/ThemeFilterCheckboxes.js +0 -11
  119. package/dist/theme/ThemeFilterCheckboxes.js.map +0 -1
  120. package/dist/theme/ThemeGoogleMapMarker.d.ts +0 -51
  121. package/dist/theme/ThemeGoogleMapMarker.js.map +0 -1
@@ -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,84 @@
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
+ * Div containing the filters
21
+ */
22
+ static readonly filterStack: string;
23
+ /**
24
+ * Main filter div
25
+ */
26
+ static readonly filterItemDiv: string;
27
+ /**
28
+ * Classname for the TextField component
29
+ */
30
+ static readonly inputField: 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
+ }
@@ -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
+ * Div containing the filters
25
+ */
26
+ FilterPanelClasses.filterStack = "FilterPanel-filterStack";
27
+ /**
28
+ * Main filter div
29
+ */
30
+ FilterPanelClasses.filterItemDiv = "FilterPanel-filterItem";
31
+ /**
32
+ * Classname for the TextField component
33
+ */
34
+ FilterPanelClasses.inputField = "FilterPanel-filterInputfield";
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,8BAAW,GAAW,yBAAyB,CAAC;AAEhE;;GAEG;AACa,gCAAa,GAAW,wBAAwB,CAAC;AAEjE;;GAEG;AACa,6BAAU,GAAW,8BAA8B,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,100 @@
1
- import { FormFieldObject } from "../PublicTemplateForm";
2
1
  import { TreeFireEventMode } from "../PublicTidyTableInteractions";
2
+ import { FilterTidyTableChartOptions } from "./ThemeFilter";
3
+ export declare class FilterTreeClasses {
4
+ /**
5
+ * Style applied to the root element.
6
+ */
7
+ static readonly root = "root";
8
+ /**
9
+ * Style applied to the tree item without control icons
10
+ */
11
+ static simpleItemLabel: "TreeFilter-simpleItemLabel";
12
+ /**
13
+ * Style applied to the tree item witht control icons
14
+ */
15
+ static itemLabelWithIcons: "TreeFilter-itemLabelWithIcons";
16
+ }
17
+ export declare type FilterTreeClassKey = keyof FilterTreeClasses;
3
18
  export declare type FilterFireEventMode = TreeFireEventMode.ALL_SELECTED | TreeFireEventMode.COMPACT_ON_PARENT;
4
- export interface FilterTreeOptions extends FormFieldObject {
19
+ /**
20
+ * Filter Tree Options (fields of the "Chart" tab in the widget editor).
21
+ *
22
+ * <pre>
23
+ * Plugin ID : ic3
24
+ * Widget/Template ID: FilterTree
25
+ * </pre>
26
+ *
27
+ * @see WidgetTemplateChartOptions
28
+ */
29
+ export interface FilterTreeChartOptions extends FilterTidyTableChartOptions {
5
30
  /**
6
- * variants (if any)
31
+ * Variant.
32
+ *
33
+ * Allows for selecting a set of preset options. Note that a variant is possibly overriding defined options.
7
34
  */
8
35
  variant?: string;
9
36
  /**
10
- * size
37
+ * Size.
11
38
  */
12
- size: 'small' | 'medium';
39
+ size: "small" | "medium";
13
40
  /**
14
- * add control icons for the tree item buttons
41
+ * Use Control Icons.
42
+ *
43
+ * Display a checkbox/radiobutton to the left of each item.
15
44
  */
16
45
  useControlIcons?: boolean;
17
46
  /**
18
- * Depth of the opened tree items at start
47
+ * Expand/Collapse Depth.
48
+ *
49
+ * Number of levels initially expanded.
19
50
  */
20
51
  startOpenDepth: number;
21
52
  /**
22
- * On user item click, selects/unselects all children as well
53
+ * Cascade Selection.
54
+ *
55
+ * Select all children as well. Does not apply if single selection.
23
56
  */
24
57
  cascadeSelection: boolean;
25
58
  /**
26
- * When firing an event, do not fire children if the parent is selected (i.e. the filter is used as an MDX filter)
59
+ * Fire Mode.
60
+ *
61
+ * When firing an event, do not fire children if the parent is selected (i.e. the filter is used as an MDX filter).
62
+ *
63
+ * Does not apply if single selection.
27
64
  */
28
65
  fireMode: FilterFireEventMode;
29
66
  /**
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
67
+ * Add Search.
68
+ *
69
+ * Add a search bar above the tree.
33
70
  */
34
71
  addSearch: boolean;
35
72
  /**
73
+ * Search Placeholder.
36
74
  *
75
+ * Text displayed when the search bar is empty.
37
76
  */
38
77
  searchPlaceholder?: string;
39
78
  /**
40
- * Switches the filter to an autocomplete with a collapsible tree
79
+ * Dropdown (aka. Autocomplete).
80
+ *
81
+ * The tree is displayed as a dropdown.
41
82
  */
42
83
  autoComplete: boolean;
43
84
  /**
44
- * Autocomplete predefined variants , "filled", "outlined" + custome ones
85
+ * Variant.
45
86
  */
46
87
  autoCompleteVariant: string;
47
88
  /**
48
- * Autocomplete size of buttons
89
+ * Size (Dropdown/Autocomplete).
90
+ *
91
+ * Rendered items size.
49
92
  */
50
93
  autoCompleteSize?: 'small' | 'medium';
51
94
  /**
95
+ * Limit Items (Dropdown/Autocomplete).
96
+ *
52
97
  * Autocomplete, the maximum number of tags that will be visible when not focused. Set -1 to disable the limit.
53
98
  */
54
99
  autoCompleteLimitTags: number;
55
100
  }
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 +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":";;;AAGA,MAAa,iBAAiB;;AAA9B,8CAqBC;AAnBG;;GAEG;AACa,sBAAI,GAAG,MAAM,CAAC"}
@@ -0,0 +1,132 @@
1
+ import { FormFieldObject } from "../PublicTemplateForm";
2
+ import { TidyTableColumnSelector } from "../PublicTidyTableTypes";
3
+ export interface GoogleMapCoordinateChartOptions extends FormFieldObject {
4
+ /**
5
+ * Location.
6
+ *
7
+ * A column/member with latitude/longitude properties.
8
+ */
9
+ location?: TidyTableColumnSelector;
10
+ /**
11
+ * Latitude.
12
+ *
13
+ * A column/member with latitude properties.
14
+ */
15
+ latitude?: TidyTableColumnSelector;
16
+ /**
17
+ * Longitude.
18
+ *
19
+ * A column/member with longitude properties.
20
+ */
21
+ longitude?: TidyTableColumnSelector;
22
+ }
23
+ /**
24
+ * https://developers.google.com/maps/documentation/javascript/style-reference
25
+ */
26
+ export declare enum GoogleMapFeaturesStyles {
27
+ ALL = "all",
28
+ ADMINISTRATIVE = "administrative",
29
+ ADMINISTRATIVE_COUNTRY = "administrative.country",
30
+ ADMINISTRATIVE_LAND_PARCEL = "administrative.land_parcel",
31
+ ADMINISTRATIVE_LOCALITY = "administrative.locality",
32
+ ADMINISTRATIVE_NEIGHBORHOOD = "administrative.neighborhood",
33
+ ADMINISTRATIVE_PROVINCE = "administrative.province",
34
+ LANDSCAPE = "landscape",
35
+ LANDSCAPE_MAN_MADE = "landscape.man_made",
36
+ LANDSCAPE_NATURAL = "landscape.natural",
37
+ LANDSCAPE_NATURAL_LANDCOVER = "landscape.natural.landcover",
38
+ LANDSCAPE_NATURAL_TERRAIN = "landscape_natural.terrain",
39
+ POI = "poi",
40
+ POI_ATTRACTION = "poi.attraction",
41
+ POI_BUSINESS = "poi.business",
42
+ POI_GOVERNMENT = "poi.government",
43
+ POI_MEDICAL = "poi.medical",
44
+ POI_PARK = "poi.park",
45
+ POI_PLACE_OF_WORSHIP = "poi.place_of_worship",
46
+ POI_SCHOOL = "poi.school",
47
+ POI_SPORTS_COMPLEX = "poi.sports_complex",
48
+ ROAD = "road",
49
+ ROAD_ARTERIAL = "road.arterial",
50
+ ROAD_HIGHWAY = "road.highway",
51
+ ROAD_HIGHWAY_CONTROLLED_ACCESS = "road.highway.controlled_access",
52
+ ROAD_LOCAL = "road.local",
53
+ TRANSIT = "transit",
54
+ TRANSIT_LINE = "transit.line",
55
+ TRANSIT_STATION = "transit.station",
56
+ TRANSIT_STATION_AIRPORT = "transit.station.airport",
57
+ TRANSIT_STATION_BUS = "transit.station.bus",
58
+ TRANSIT_STATION_RAIL = "transit.station.rail",
59
+ WATER = "water"
60
+ }
61
+ export declare enum GoogleMapTypeId {
62
+ /**
63
+ * This map type displays a transparent layer of major streets on satellite
64
+ * images.
65
+ */
66
+ HYBRID = "hybrid",
67
+ /**
68
+ * This map type displays a normal street map.
69
+ */
70
+ ROADMAP = "roadmap",
71
+ /**
72
+ * This map type displays satellite images.
73
+ */
74
+ SATELLITE = "satellite",
75
+ /**
76
+ * This map type displays maps with physical features such as terrain and
77
+ * vegetation.
78
+ */
79
+ TERRAIN = "terrain"
80
+ }
81
+ /**
82
+ * google.maps.MapOptions
83
+ */
84
+ export interface GoogleMapCommonFieldProps extends FormFieldObject {
85
+ /**
86
+ * Map Type.
87
+ */
88
+ mapType: GoogleMapTypeId[];
89
+ /**
90
+ * Features.
91
+ */
92
+ showFeatures: GoogleMapFeaturesStyles[];
93
+ /**
94
+ * Zoom.
95
+ *
96
+ * To set the currently displayed zoom open the widget's menu (top right) and click on 'Set Zoom & Center'.
97
+ *
98
+ * Integers between zero, and up to the supported <a href="https://developers.google.com/maps/documentation/javascript/maxzoom">maximum zoom level</a>.
99
+ */
100
+ zoom: number;
101
+ /**
102
+ * Latitude.
103
+ *
104
+ * To set the currently displayed latitude open the widget's menu (top right) and click on 'Set Zoom & Center'.
105
+ */
106
+ latitude: number;
107
+ /**
108
+ * Longitude.
109
+ *
110
+ * To set the currently displayed longitude open the widget's menu (top right) and click on 'Set Zoom & Center'.
111
+ */
112
+ longitude: number;
113
+ /**
114
+ * Zoom Control.
115
+ */
116
+ zoomControl?: boolean;
117
+ /**
118
+ * Full Screen Control.
119
+ */
120
+ fullscreenControl?: boolean;
121
+ /**
122
+ * Street View Control.
123
+ */
124
+ streetViewControl?: boolean;
125
+ }
126
+ export interface GoogleMapChartOptions extends FormFieldObject {
127
+ /**
128
+ * Internal usage.
129
+ */
130
+ groupsOrder?: string[];
131
+ mapOptions: GoogleMapCommonFieldProps;
132
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GoogleMapTypeId = exports.GoogleMapFeaturesStyles = void 0;
4
+ /**
5
+ * https://developers.google.com/maps/documentation/javascript/style-reference
6
+ */
7
+ var GoogleMapFeaturesStyles;
8
+ (function (GoogleMapFeaturesStyles) {
9
+ GoogleMapFeaturesStyles["ALL"] = "all";
10
+ GoogleMapFeaturesStyles["ADMINISTRATIVE"] = "administrative";
11
+ GoogleMapFeaturesStyles["ADMINISTRATIVE_COUNTRY"] = "administrative.country";
12
+ GoogleMapFeaturesStyles["ADMINISTRATIVE_LAND_PARCEL"] = "administrative.land_parcel";
13
+ GoogleMapFeaturesStyles["ADMINISTRATIVE_LOCALITY"] = "administrative.locality";
14
+ GoogleMapFeaturesStyles["ADMINISTRATIVE_NEIGHBORHOOD"] = "administrative.neighborhood";
15
+ GoogleMapFeaturesStyles["ADMINISTRATIVE_PROVINCE"] = "administrative.province";
16
+ GoogleMapFeaturesStyles["LANDSCAPE"] = "landscape";
17
+ GoogleMapFeaturesStyles["LANDSCAPE_MAN_MADE"] = "landscape.man_made";
18
+ GoogleMapFeaturesStyles["LANDSCAPE_NATURAL"] = "landscape.natural";
19
+ GoogleMapFeaturesStyles["LANDSCAPE_NATURAL_LANDCOVER"] = "landscape.natural.landcover";
20
+ GoogleMapFeaturesStyles["LANDSCAPE_NATURAL_TERRAIN"] = "landscape_natural.terrain";
21
+ GoogleMapFeaturesStyles["POI"] = "poi";
22
+ GoogleMapFeaturesStyles["POI_ATTRACTION"] = "poi.attraction";
23
+ GoogleMapFeaturesStyles["POI_BUSINESS"] = "poi.business";
24
+ GoogleMapFeaturesStyles["POI_GOVERNMENT"] = "poi.government";
25
+ GoogleMapFeaturesStyles["POI_MEDICAL"] = "poi.medical";
26
+ GoogleMapFeaturesStyles["POI_PARK"] = "poi.park";
27
+ GoogleMapFeaturesStyles["POI_PLACE_OF_WORSHIP"] = "poi.place_of_worship";
28
+ GoogleMapFeaturesStyles["POI_SCHOOL"] = "poi.school";
29
+ GoogleMapFeaturesStyles["POI_SPORTS_COMPLEX"] = "poi.sports_complex";
30
+ GoogleMapFeaturesStyles["ROAD"] = "road";
31
+ GoogleMapFeaturesStyles["ROAD_ARTERIAL"] = "road.arterial";
32
+ GoogleMapFeaturesStyles["ROAD_HIGHWAY"] = "road.highway";
33
+ GoogleMapFeaturesStyles["ROAD_HIGHWAY_CONTROLLED_ACCESS"] = "road.highway.controlled_access";
34
+ GoogleMapFeaturesStyles["ROAD_LOCAL"] = "road.local";
35
+ GoogleMapFeaturesStyles["TRANSIT"] = "transit";
36
+ GoogleMapFeaturesStyles["TRANSIT_LINE"] = "transit.line";
37
+ GoogleMapFeaturesStyles["TRANSIT_STATION"] = "transit.station";
38
+ GoogleMapFeaturesStyles["TRANSIT_STATION_AIRPORT"] = "transit.station.airport";
39
+ GoogleMapFeaturesStyles["TRANSIT_STATION_BUS"] = "transit.station.bus";
40
+ GoogleMapFeaturesStyles["TRANSIT_STATION_RAIL"] = "transit.station.rail";
41
+ GoogleMapFeaturesStyles["WATER"] = "water";
42
+ })(GoogleMapFeaturesStyles = exports.GoogleMapFeaturesStyles || (exports.GoogleMapFeaturesStyles = {}));
43
+ var GoogleMapTypeId;
44
+ (function (GoogleMapTypeId) {
45
+ /**
46
+ * This map type displays a transparent layer of major streets on satellite
47
+ * images.
48
+ */
49
+ GoogleMapTypeId["HYBRID"] = "hybrid";
50
+ /**
51
+ * This map type displays a normal street map.
52
+ */
53
+ GoogleMapTypeId["ROADMAP"] = "roadmap";
54
+ /**
55
+ * This map type displays satellite images.
56
+ */
57
+ GoogleMapTypeId["SATELLITE"] = "satellite";
58
+ /**
59
+ * This map type displays maps with physical features such as terrain and
60
+ * vegetation.
61
+ */
62
+ GoogleMapTypeId["TERRAIN"] = "terrain";
63
+ })(GoogleMapTypeId = exports.GoogleMapTypeId || (exports.GoogleMapTypeId = {}));
64
+ //# sourceMappingURL=ThemeGoogle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeGoogle.js","sourceRoot":"","sources":["../../src/theme/ThemeGoogle.ts"],"names":[],"mappings":";;;AA4BA;;GAEG;AACH,IAAY,uBAkCX;AAlCD,WAAY,uBAAuB;IAC/B,sCAAW,CAAA;IACX,4DAAiC,CAAA;IACjC,4EAAiD,CAAA;IACjD,oFAAyD,CAAA;IACzD,8EAAmD,CAAA;IACnD,sFAA2D,CAAA;IAC3D,8EAAmD,CAAA;IACnD,kDAAuB,CAAA;IACvB,oEAAyC,CAAA;IACzC,kEAAuC,CAAA;IACvC,sFAA2D,CAAA;IAC3D,kFAAuD,CAAA;IACvD,sCAAW,CAAA;IACX,4DAAiC,CAAA;IACjC,wDAA6B,CAAA;IAC7B,4DAAiC,CAAA;IACjC,sDAA2B,CAAA;IAC3B,gDAAqB,CAAA;IACrB,wEAA6C,CAAA;IAC7C,oDAAyB,CAAA;IACzB,oEAAyC,CAAA;IACzC,wCAAa,CAAA;IACb,0DAA+B,CAAA;IAC/B,wDAA6B,CAAA;IAC7B,4FAAiE,CAAA;IACjE,oDAAyB,CAAA;IACzB,8CAAmB,CAAA;IACnB,wDAA6B,CAAA;IAC7B,8DAAmC,CAAA;IACnC,8EAAmD,CAAA;IACnD,sEAA2C,CAAA;IAC3C,wEAA6C,CAAA;IAC7C,0CAAe,CAAA;AACnB,CAAC,EAlCW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAkClC;AAED,IAAY,eAmBX;AAnBD,WAAY,eAAe;IACvB;;;OAGG;IACH,oCAAiB,CAAA;IACjB;;OAEG;IACH,sCAAmB,CAAA;IACnB;;OAEG;IACH,0CAAuB,CAAA;IACvB;;;OAGG;IACH,sCAAmB,CAAA;AACvB,CAAC,EAnBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAmB1B"}
@@ -0,0 +1,58 @@
1
+ import { GoogleMapChartOptions, GoogleMapCoordinateChartOptions } from "./ThemeGoogle";
2
+ import { TidyTableColumnSelector } from "../PublicTidyTableTypes";
3
+ import { IPaletteDef } from "../PublicTemplateForm";
4
+ /**
5
+ * Image Options (fields of the "Chart" tab in the widget editor).
6
+ *
7
+ * google.maps.visualization.HeatmapLayerOptions
8
+ *
9
+ * <pre>
10
+ * Plugin ID : ic3
11
+ * Widget/Template ID: GoogleHeatMap
12
+ * </pre>
13
+ *
14
+ * @see WidgetTemplateChartOptions
15
+ */
16
+ export interface GoogleHeatMapChartOptions extends GoogleMapCoordinateChartOptions, GoogleMapChartOptions {
17
+ /**
18
+ * Weight.
19
+ *
20
+ * Weight of the data points.
21
+ */
22
+ weight?: TidyTableColumnSelector;
23
+ /**
24
+ * Color Gradient.
25
+ */
26
+ colorGradient?: IPaletteDef;
27
+ /**
28
+ * Add Transparent Color.
29
+ */
30
+ addTransparentColor: boolean;
31
+ /**
32
+ * Dissipating.
33
+ *
34
+ * Specifies whether heatmaps dissipate on zoom. When dissipating is disabled the radius of influence increases
35
+ * with zoom level to ensure that the color intensity is preserved at any given geographic location.
36
+ */
37
+ dissipating?: boolean;
38
+ /**
39
+ * Max Intensity.
40
+ *
41
+ * The maximum intensity of the heatmap. By default, heatmap colors are dynamically scaled according to
42
+ * the greatest concentration of points at any particular pixel on the map. This property allows you to
43
+ * specify a fixed maximum.
44
+ */
45
+ maxIntensity?: number;
46
+ /**
47
+ * Opacity.
48
+ *
49
+ * The opacity of the heatmap, expressed as a number between 0 and 1.
50
+ */
51
+ opacity: number;
52
+ /**
53
+ * Radius.
54
+ *
55
+ * The radius of influence for each data point, in pixels.
56
+ */
57
+ radius?: number;
58
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ThemeGoogleHeatMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeGoogleHeatMap.js","sourceRoot":"","sources":["../../src/theme/ThemeGoogleHeatMap.ts"],"names":[],"mappings":""}