@ic3/reporting-api 9.0.1 → 9.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/README.md +1 -1
  2. package/dist/index.cjs +1906 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.ts +11284 -81
  5. package/dist/index.js +1782 -96
  6. package/dist/index.js.map +1 -1
  7. package/package.json +51 -19
  8. package/dist/ApiUtils.d.ts +0 -57
  9. package/dist/ApiUtils.js +0 -79
  10. package/dist/ApiUtils.js.map +0 -1
  11. package/dist/ILocalizationManager.d.ts +0 -3
  12. package/dist/ILocalizationManager.js +0 -3
  13. package/dist/ILocalizationManager.js.map +0 -1
  14. package/dist/IMigrationManager.d.ts +0 -4
  15. package/dist/IMigrationManager.js +0 -3
  16. package/dist/IMigrationManager.js.map +0 -1
  17. package/dist/INotification.d.ts +0 -84
  18. package/dist/INotification.js +0 -3
  19. package/dist/INotification.js.map +0 -1
  20. package/dist/IOnNewEventJsContext.d.ts +0 -85
  21. package/dist/IOnNewEventJsContext.js +0 -3
  22. package/dist/IOnNewEventJsContext.js.map +0 -1
  23. package/dist/IPluginDefinition.d.ts +0 -41
  24. package/dist/IPluginDefinition.js +0 -3
  25. package/dist/IPluginDefinition.js.map +0 -1
  26. package/dist/IRemotePluginName.d.ts +0 -5
  27. package/dist/IRemotePluginName.js +0 -3
  28. package/dist/IRemotePluginName.js.map +0 -1
  29. package/dist/IThemeManager.d.ts +0 -87
  30. package/dist/IThemeManager.js +0 -8
  31. package/dist/IThemeManager.js.map +0 -1
  32. package/dist/ITidyTableTransformation.d.ts +0 -44
  33. package/dist/ITidyTableTransformation.js +0 -3
  34. package/dist/ITidyTableTransformation.js.map +0 -1
  35. package/dist/ITidyTableTransformationManager.d.ts +0 -4
  36. package/dist/ITidyTableTransformationManager.js +0 -3
  37. package/dist/ITidyTableTransformationManager.js.map +0 -1
  38. package/dist/ITypes.d.ts +0 -43
  39. package/dist/ITypes.js +0 -38
  40. package/dist/ITypes.js.map +0 -1
  41. package/dist/IUserMenuOptionManager.d.ts +0 -13
  42. package/dist/IUserMenuOptionManager.js +0 -3
  43. package/dist/IUserMenuOptionManager.js.map +0 -1
  44. package/dist/IVersionedPluginDefinition.d.ts +0 -8
  45. package/dist/IVersionedPluginDefinition.js +0 -3
  46. package/dist/IVersionedPluginDefinition.js.map +0 -1
  47. package/dist/IWidgetDefaultsManager.d.ts +0 -4
  48. package/dist/IWidgetDefaultsManager.js +0 -3
  49. package/dist/IWidgetDefaultsManager.js.map +0 -1
  50. package/dist/IWidgetManager.d.ts +0 -7
  51. package/dist/IWidgetManager.js +0 -3
  52. package/dist/IWidgetManager.js.map +0 -1
  53. package/dist/IWidgetVariantManager.d.ts +0 -22
  54. package/dist/IWidgetVariantManager.js +0 -3
  55. package/dist/IWidgetVariantManager.js.map +0 -1
  56. package/dist/IcEvent.d.ts +0 -59
  57. package/dist/IcEvent.js +0 -27
  58. package/dist/IcEvent.js.map +0 -1
  59. package/dist/LazyTreeView.d.ts +0 -130
  60. package/dist/LazyTreeView.js +0 -3
  61. package/dist/LazyTreeView.js.map +0 -1
  62. package/dist/Logger.d.ts +0 -13
  63. package/dist/Logger.js +0 -3
  64. package/dist/Logger.js.map +0 -1
  65. package/dist/PublicAmCharts4Base.d.ts +0 -91
  66. package/dist/PublicAmCharts4Base.js +0 -3
  67. package/dist/PublicAmCharts4Base.js.map +0 -1
  68. package/dist/PublicAmchartsData.d.ts +0 -116
  69. package/dist/PublicAmchartsData.js +0 -170
  70. package/dist/PublicAmchartsData.js.map +0 -1
  71. package/dist/PublicCommon.d.ts +0 -1
  72. package/dist/PublicCommon.js +0 -3
  73. package/dist/PublicCommon.js.map +0 -1
  74. package/dist/PublicContext.d.ts +0 -389
  75. package/dist/PublicContext.js +0 -19
  76. package/dist/PublicContext.js.map +0 -1
  77. package/dist/PublicDateShortcutUtils.d.ts +0 -41
  78. package/dist/PublicDateShortcutUtils.js +0 -3
  79. package/dist/PublicDateShortcutUtils.js.map +0 -1
  80. package/dist/PublicI18n.d.ts +0 -8
  81. package/dist/PublicI18n.js +0 -3
  82. package/dist/PublicI18n.js.map +0 -1
  83. package/dist/PublicLayout.d.ts +0 -247
  84. package/dist/PublicLayout.js +0 -3
  85. package/dist/PublicLayout.js.map +0 -1
  86. package/dist/PublicTemplate.d.ts +0 -630
  87. package/dist/PublicTemplate.js +0 -33
  88. package/dist/PublicTemplate.js.map +0 -1
  89. package/dist/PublicTemplateExprForm.d.ts +0 -30
  90. package/dist/PublicTemplateExprForm.js +0 -3
  91. package/dist/PublicTemplateExprForm.js.map +0 -1
  92. package/dist/PublicTemplateForm.d.ts +0 -866
  93. package/dist/PublicTemplateForm.js +0 -122
  94. package/dist/PublicTemplateForm.js.map +0 -1
  95. package/dist/PublicTemplates.d.ts +0 -70
  96. package/dist/PublicTemplates.js +0 -3
  97. package/dist/PublicTemplates.js.map +0 -1
  98. package/dist/PublicTheme.d.ts +0 -1013
  99. package/dist/PublicTheme.js +0 -14
  100. package/dist/PublicTheme.js.map +0 -1
  101. package/dist/PublicTidyColumn.d.ts +0 -755
  102. package/dist/PublicTidyColumn.js +0 -100
  103. package/dist/PublicTidyColumn.js.map +0 -1
  104. package/dist/PublicTidyHistogram.d.ts +0 -81
  105. package/dist/PublicTidyHistogram.js +0 -105
  106. package/dist/PublicTidyHistogram.js.map +0 -1
  107. package/dist/PublicTidyMath.d.ts +0 -175
  108. package/dist/PublicTidyMath.js +0 -3
  109. package/dist/PublicTidyMath.js.map +0 -1
  110. package/dist/PublicTidyTable.d.ts +0 -534
  111. package/dist/PublicTidyTable.js +0 -3
  112. package/dist/PublicTidyTable.js.map +0 -1
  113. package/dist/PublicTidyTableInteractions.d.ts +0 -317
  114. package/dist/PublicTidyTableInteractions.js +0 -31
  115. package/dist/PublicTidyTableInteractions.js.map +0 -1
  116. package/dist/PublicTidyTableTypeGuards.d.ts +0 -6
  117. package/dist/PublicTidyTableTypeGuards.js +0 -36
  118. package/dist/PublicTidyTableTypeGuards.js.map +0 -1
  119. package/dist/PublicTidyTableTypes.d.ts +0 -480
  120. package/dist/PublicTidyTableTypes.js +0 -154
  121. package/dist/PublicTidyTableTypes.js.map +0 -1
  122. package/dist/PublicTidyTree.d.ts +0 -71
  123. package/dist/PublicTidyTree.js +0 -89
  124. package/dist/PublicTidyTree.js.map +0 -1
  125. package/dist/RemoteContainerUtils.d.ts +0 -9
  126. package/dist/RemoteContainerUtils.js +0 -49
  127. package/dist/RemoteContainerUtils.js.map +0 -1
  128. package/dist/ReportingVersion.d.ts +0 -9
  129. package/dist/ReportingVersion.js +0 -13
  130. package/dist/ReportingVersion.js.map +0 -1
  131. package/dist/ThemeAugmentation.d.ts +0 -35
  132. package/dist/ThemeAugmentation.js +0 -3
  133. package/dist/ThemeAugmentation.js.map +0 -1
  134. package/dist/theme/ThemeAIWidgetChatBot.d.ts +0 -49
  135. package/dist/theme/ThemeAIWidgetChatBot.js +0 -19
  136. package/dist/theme/ThemeAIWidgetChatBot.js.map +0 -1
  137. package/dist/theme/ThemeAlertDialog.d.ts +0 -13
  138. package/dist/theme/ThemeAlertDialog.js +0 -17
  139. package/dist/theme/ThemeAlertDialog.js.map +0 -1
  140. package/dist/theme/ThemeAmCharts4.d.ts +0 -1634
  141. package/dist/theme/ThemeAmCharts4.js +0 -84
  142. package/dist/theme/ThemeAmCharts4.js.map +0 -1
  143. package/dist/theme/ThemeApp.d.ts +0 -66
  144. package/dist/theme/ThemeApp.js +0 -64
  145. package/dist/theme/ThemeApp.js.map +0 -1
  146. package/dist/theme/ThemeAppMenuIcon.d.ts +0 -7
  147. package/dist/theme/ThemeAppMenuIcon.js +0 -8
  148. package/dist/theme/ThemeAppMenuIcon.js.map +0 -1
  149. package/dist/theme/ThemeBaseTable.d.ts +0 -122
  150. package/dist/theme/ThemeBaseTable.js +0 -10
  151. package/dist/theme/ThemeBaseTable.js.map +0 -1
  152. package/dist/theme/ThemeCodeMirror.d.ts +0 -4
  153. package/dist/theme/ThemeCodeMirror.js +0 -8
  154. package/dist/theme/ThemeCodeMirror.js.map +0 -1
  155. package/dist/theme/ThemeDatePicker.d.ts +0 -214
  156. package/dist/theme/ThemeDatePicker.js +0 -37
  157. package/dist/theme/ThemeDatePicker.js.map +0 -1
  158. package/dist/theme/ThemeEditorTopBar.d.ts +0 -39
  159. package/dist/theme/ThemeEditorTopBar.js +0 -43
  160. package/dist/theme/ThemeEditorTopBar.js.map +0 -1
  161. package/dist/theme/ThemeEmbeddedReport.d.ts +0 -37
  162. package/dist/theme/ThemeEmbeddedReport.js +0 -9
  163. package/dist/theme/ThemeEmbeddedReport.js.map +0 -1
  164. package/dist/theme/ThemeErrorRenderer.d.ts +0 -51
  165. package/dist/theme/ThemeErrorRenderer.js +0 -55
  166. package/dist/theme/ThemeErrorRenderer.js.map +0 -1
  167. package/dist/theme/ThemeFilter.d.ts +0 -28
  168. package/dist/theme/ThemeFilter.js +0 -3
  169. package/dist/theme/ThemeFilter.js.map +0 -1
  170. package/dist/theme/ThemeFilterAutocomplete.d.ts +0 -58
  171. package/dist/theme/ThemeFilterAutocomplete.js +0 -15
  172. package/dist/theme/ThemeFilterAutocomplete.js.map +0 -1
  173. package/dist/theme/ThemeFilterButtons.d.ts +0 -74
  174. package/dist/theme/ThemeFilterButtons.js +0 -23
  175. package/dist/theme/ThemeFilterButtons.js.map +0 -1
  176. package/dist/theme/ThemeFilterCheckboxRadio.d.ts +0 -52
  177. package/dist/theme/ThemeFilterCheckboxRadio.js +0 -23
  178. package/dist/theme/ThemeFilterCheckboxRadio.js.map +0 -1
  179. package/dist/theme/ThemeFilterPanel.d.ts +0 -243
  180. package/dist/theme/ThemeFilterPanel.js +0 -127
  181. package/dist/theme/ThemeFilterPanel.js.map +0 -1
  182. package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +0 -8
  183. package/dist/theme/ThemeFilterPanelViewsMenu.js +0 -12
  184. package/dist/theme/ThemeFilterPanelViewsMenu.js.map +0 -1
  185. package/dist/theme/ThemeFilterSlider.d.ts +0 -92
  186. package/dist/theme/ThemeFilterSlider.js +0 -41
  187. package/dist/theme/ThemeFilterSlider.js.map +0 -1
  188. package/dist/theme/ThemeFilterSwitch.d.ts +0 -41
  189. package/dist/theme/ThemeFilterSwitch.js +0 -15
  190. package/dist/theme/ThemeFilterSwitch.js.map +0 -1
  191. package/dist/theme/ThemeFilterTree.d.ts +0 -112
  192. package/dist/theme/ThemeFilterTree.js +0 -23
  193. package/dist/theme/ThemeFilterTree.js.map +0 -1
  194. package/dist/theme/ThemeGlobal.d.ts +0 -4
  195. package/dist/theme/ThemeGlobal.js +0 -9
  196. package/dist/theme/ThemeGlobal.js.map +0 -1
  197. package/dist/theme/ThemeGoogle.d.ts +0 -132
  198. package/dist/theme/ThemeGoogle.js +0 -64
  199. package/dist/theme/ThemeGoogle.js.map +0 -1
  200. package/dist/theme/ThemeGoogleHeatMap.d.ts +0 -58
  201. package/dist/theme/ThemeGoogleHeatMap.js +0 -3
  202. package/dist/theme/ThemeGoogleHeatMap.js.map +0 -1
  203. package/dist/theme/ThemeGoogleKmlLayer.d.ts +0 -40
  204. package/dist/theme/ThemeGoogleKmlLayer.js +0 -3
  205. package/dist/theme/ThemeGoogleKmlLayer.js.map +0 -1
  206. package/dist/theme/ThemeGoogleMarker.d.ts +0 -147
  207. package/dist/theme/ThemeGoogleMarker.js +0 -3
  208. package/dist/theme/ThemeGoogleMarker.js.map +0 -1
  209. package/dist/theme/ThemeHomeCard.d.ts +0 -9
  210. package/dist/theme/ThemeHomeCard.js +0 -10
  211. package/dist/theme/ThemeHomeCard.js.map +0 -1
  212. package/dist/theme/ThemeHomeConsole.d.ts +0 -16
  213. package/dist/theme/ThemeHomeConsole.js +0 -20
  214. package/dist/theme/ThemeHomeConsole.js.map +0 -1
  215. package/dist/theme/ThemeHtmlBox.d.ts +0 -33
  216. package/dist/theme/ThemeHtmlBox.js +0 -11
  217. package/dist/theme/ThemeHtmlBox.js.map +0 -1
  218. package/dist/theme/ThemeIc3CustomDrilldownMenu.d.ts +0 -7
  219. package/dist/theme/ThemeIc3CustomDrilldownMenu.js +0 -11
  220. package/dist/theme/ThemeIc3CustomDrilldownMenu.js.map +0 -1
  221. package/dist/theme/ThemeIc3TableCell.d.ts +0 -10
  222. package/dist/theme/ThemeIc3TableCell.js +0 -7
  223. package/dist/theme/ThemeIc3TableCell.js.map +0 -1
  224. package/dist/theme/ThemeIc3TableCellDrilldown.d.ts +0 -12
  225. package/dist/theme/ThemeIc3TableCellDrilldown.js +0 -11
  226. package/dist/theme/ThemeIc3TableCellDrilldown.js.map +0 -1
  227. package/dist/theme/ThemeIc3WidgetBoxSpinner.d.ts +0 -15
  228. package/dist/theme/ThemeIc3WidgetBoxSpinner.js +0 -13
  229. package/dist/theme/ThemeIc3WidgetBoxSpinner.js.map +0 -1
  230. package/dist/theme/ThemeImage.d.ts +0 -30
  231. package/dist/theme/ThemeImage.js +0 -12
  232. package/dist/theme/ThemeImage.js.map +0 -1
  233. package/dist/theme/ThemeKpiBox.d.ts +0 -33
  234. package/dist/theme/ThemeKpiBox.js +0 -3
  235. package/dist/theme/ThemeKpiBox.js.map +0 -1
  236. package/dist/theme/ThemeKpiCard.d.ts +0 -133
  237. package/dist/theme/ThemeKpiCard.js +0 -19
  238. package/dist/theme/ThemeKpiCard.js.map +0 -1
  239. package/dist/theme/ThemeLayout.d.ts +0 -10
  240. package/dist/theme/ThemeLayout.js +0 -14
  241. package/dist/theme/ThemeLayout.js.map +0 -1
  242. package/dist/theme/ThemeLayoutPage.d.ts +0 -24
  243. package/dist/theme/ThemeLayoutPage.js +0 -28
  244. package/dist/theme/ThemeLayoutPage.js.map +0 -1
  245. package/dist/theme/ThemeLazyTreeClasses.d.ts +0 -29
  246. package/dist/theme/ThemeLazyTreeClasses.js +0 -31
  247. package/dist/theme/ThemeLazyTreeClasses.js.map +0 -1
  248. package/dist/theme/ThemeListCounter.d.ts +0 -15
  249. package/dist/theme/ThemeListCounter.js +0 -17
  250. package/dist/theme/ThemeListCounter.js.map +0 -1
  251. package/dist/theme/ThemeMarkdownText.d.ts +0 -27
  252. package/dist/theme/ThemeMarkdownText.js +0 -3
  253. package/dist/theme/ThemeMarkdownText.js.map +0 -1
  254. package/dist/theme/ThemePivotTable.d.ts +0 -93
  255. package/dist/theme/ThemePivotTable.js +0 -31
  256. package/dist/theme/ThemePivotTable.js.map +0 -1
  257. package/dist/theme/ThemePrintButton.d.ts +0 -29
  258. package/dist/theme/ThemePrintButton.js +0 -10
  259. package/dist/theme/ThemePrintButton.js.map +0 -1
  260. package/dist/theme/ThemeQueryBuilderNode.d.ts +0 -13
  261. package/dist/theme/ThemeQueryBuilderNode.js +0 -13
  262. package/dist/theme/ThemeQueryBuilderNode.js.map +0 -1
  263. package/dist/theme/ThemeRegexFilter.d.ts +0 -24
  264. package/dist/theme/ThemeRegexFilter.js +0 -26
  265. package/dist/theme/ThemeRegexFilter.js.map +0 -1
  266. package/dist/theme/ThemeRepetitionWidget.d.ts +0 -57
  267. package/dist/theme/ThemeRepetitionWidget.js +0 -3
  268. package/dist/theme/ThemeRepetitionWidget.js.map +0 -1
  269. package/dist/theme/ThemeReportAppBar.d.ts +0 -17
  270. package/dist/theme/ThemeReportAppBar.js +0 -21
  271. package/dist/theme/ThemeReportAppBar.js.map +0 -1
  272. package/dist/theme/ThemeReportAppLeftPanel.d.ts +0 -8
  273. package/dist/theme/ThemeReportAppLeftPanel.js +0 -12
  274. package/dist/theme/ThemeReportAppLeftPanel.js.map +0 -1
  275. package/dist/theme/ThemeSeparator.d.ts +0 -13
  276. package/dist/theme/ThemeSeparator.js +0 -3
  277. package/dist/theme/ThemeSeparator.js.map +0 -1
  278. package/dist/theme/ThemeSinglePanelFilter.d.ts +0 -18
  279. package/dist/theme/ThemeSinglePanelFilter.js +0 -3
  280. package/dist/theme/ThemeSinglePanelFilter.js.map +0 -1
  281. package/dist/theme/ThemeTable.d.ts +0 -160
  282. package/dist/theme/ThemeTable.js +0 -157
  283. package/dist/theme/ThemeTable.js.map +0 -1
  284. package/dist/theme/ThemeWidgetBox.d.ts +0 -164
  285. package/dist/theme/ThemeWidgetBox.js +0 -124
  286. package/dist/theme/ThemeWidgetBox.js.map +0 -1
  287. package/dist/theme/ThemeWidgetBoxContentMessage.d.ts +0 -11
  288. package/dist/theme/ThemeWidgetBoxContentMessage.js +0 -15
  289. package/dist/theme/ThemeWidgetBoxContentMessage.js.map +0 -1
  290. package/dist/theme/ThemeWidgetFilteredBy.d.ts +0 -5
  291. package/dist/theme/ThemeWidgetFilteredBy.js +0 -9
  292. package/dist/theme/ThemeWidgetFilteredBy.js.map +0 -1
@@ -1,100 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CharacterTidyColumnProperties = exports.ITidyColumnNamedProperties = void 0;
4
- /**
5
- * Properties with a special meaning
6
- */
7
- var ITidyColumnNamedProperties;
8
- (function (ITidyColumnNamedProperties) {
9
- /**
10
- * The value of a cell.
11
- */
12
- ITidyColumnNamedProperties["mdxCellValue"] = "value";
13
- /**
14
- * The formatted value of a cell. For example, 5003 in euros is formatted as €5,003
15
- */
16
- ITidyColumnNamedProperties["mdxCellFormattedValue"] = "formattedValue";
17
- /**
18
- * MDX related colorings
19
- */
20
- ITidyColumnNamedProperties["mdxCellBackColor"] = "mdxCellBackColor";
21
- /**
22
- * MDX related colorings
23
- */
24
- ITidyColumnNamedProperties["mdxCellForeColor"] = "mdxCellForeColor";
25
- /**
26
- * The format string for the cell value. For example, euros are formatted using €#,###.
27
- * and percentages using #0.00%.
28
- */
29
- ITidyColumnNamedProperties["mdxCellFormatString"] = "mdxCellFormatString";
30
- /**
31
- * The main color of the cell
32
- */
33
- ITidyColumnNamedProperties["mdxCellColor"] = "color";
34
- /**
35
- * Column defined to fire an app. notification.
36
- *
37
- * The name of the notification (e.g., print-report).
38
- */
39
- ITidyColumnNamedProperties["appNotificationType"] = "appNotificationType";
40
- /**
41
- * Column defined to fire an app. notification.
42
- *
43
- * The parameters of the notification (e.g., page size, filename, ...) as a JSON or a string.
44
- */
45
- ITidyColumnNamedProperties["appNotificationPayload"] = "appNotificationPayload";
46
- /**
47
- * Column defined to fire events, the name of the event
48
- */
49
- ITidyColumnNamedProperties["eventName"] = "eventName";
50
- /**
51
- * Column defined to fire events, the value of the event (e.g. used in title)
52
- */
53
- ITidyColumnNamedProperties["eventValue"] = "eventValue";
54
- /**
55
- * Column defined to fire events, the mdx value of the event (e.g. used in queries)
56
- */
57
- ITidyColumnNamedProperties["eventMdxValue"] = "eventMdxValue";
58
- /**
59
- * Column defined as an MDX axis, the unique name of the column (the name is the value of the column).
60
- * This value is fired when doing selection events.
61
- * @see {ITidyColumn.getMdxInfo}
62
- */
63
- ITidyColumnNamedProperties["uniqueName"] = "uniqueName";
64
- /**
65
- * The caption of the selection event to use. Returned by getMdxInfo(..).
66
- * @see {ITidyColumn.getMdxInfo}
67
- */
68
- ITidyColumnNamedProperties["mdxInfoCaption"] = "mdxInfoCaption";
69
- /**
70
- * The MdxInfo
71
- * @see {ITidyColumn.getMdxInfo}
72
- */
73
- ITidyColumnNamedProperties["mdxInfo"] = "mdxInfo";
74
- /**
75
- * Column defined as an MDX axis, the caption of the column
76
- */
77
- ITidyColumnNamedProperties["caption"] = "caption";
78
- /**
79
- * Column defined as an MDX axis, the key of the column
80
- */
81
- ITidyColumnNamedProperties["mdxCellKey"] = "key";
82
- /**
83
- * Show this when hovering over the cell (or the visualisation representing the cell)
84
- */
85
- ITidyColumnNamedProperties["tooltip"] = "tooltip";
86
- /**
87
- * Name for datetime properties for levels of type Year, Month, Day, Hour, etc..
88
- */
89
- ITidyColumnNamedProperties["datetime"] = "datetime";
90
- })(ITidyColumnNamedProperties || (exports.ITidyColumnNamedProperties = ITidyColumnNamedProperties = {}));
91
- exports.CharacterTidyColumnProperties = new Set([
92
- ITidyColumnNamedProperties.mdxCellFormattedValue,
93
- ITidyColumnNamedProperties.uniqueName,
94
- ITidyColumnNamedProperties.mdxCellFormatString,
95
- ITidyColumnNamedProperties.appNotificationType,
96
- ITidyColumnNamedProperties.eventName,
97
- ITidyColumnNamedProperties.caption,
98
- ITidyColumnNamedProperties.tooltip,
99
- ]);
100
- //# sourceMappingURL=PublicTidyColumn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AAmDA;;GAEG;AACH,IAAY,0BAoGX;AApGD,WAAY,0BAA0B;IAElC;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;OAEG;IACH,sEAAwC,CAAA;IAExC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;;OAGG;IACH,yEAA2C,CAAA;IAE3C;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;;;OAIG;IACH,yEAA2C,CAAA;IAE3C;;;;OAIG;IACH,+EAAiD,CAAA;IAEjD;;OAEG;IACH,qDAAuB,CAAA;IAEvB;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,6DAA+B,CAAA;IAE/B;;;;OAIG;IACH,uDAAyB,CAAA;IAEzB;;;OAGG;IACH,+DAAiC,CAAA;IAEjC;;;OAGG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,gDAAkB,CAAA;IAElB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,mDAAqB,CAAA;AACzB,CAAC,EApGW,0BAA0B,0CAA1B,0BAA0B,QAoGrC;AAEY,QAAA,6BAA6B,GAAG,IAAI,GAAG,CAAS;IAEzD,0BAA0B,CAAC,qBAAqB;IAChD,0BAA0B,CAAC,UAAU;IAErC,0BAA0B,CAAC,mBAAmB;IAE9C,0BAA0B,CAAC,mBAAmB;IAC9C,0BAA0B,CAAC,SAAS;IAEpC,0BAA0B,CAAC,OAAO;IAClC,0BAA0B,CAAC,OAAO;CAErC,CAAC,CAAC"}
@@ -1,81 +0,0 @@
1
- import { SortingType } from "./PublicTidyTableTypes";
2
- import { FormFieldObject, FormFields } from "./PublicTemplateForm";
3
- export declare enum TidyHistogramBucketFormat {
4
- INTERVAL = "interval",
5
- MATH_INTERVAL = "mathInterval",
6
- MATH_INTERVAL_REVERSED = "mathIntervalReversed",
7
- FROM_ONLY = "fromOnly",
8
- TO_ONLY = "toOnly"
9
- }
10
- export declare enum TidyHistogramBucketType {
11
- /**
12
- * [from, to)
13
- */
14
- LEFT_CLOSED = "leftClosed",
15
- /**
16
- * (from, to]
17
- */
18
- RIGHT_CLOSED = "rightClosed"
19
- }
20
- export declare enum HistogramBinType {
21
- AUTOMATIC_WITH_BINS = "automatic",
22
- USER_DEFINED = "userDefined",
23
- /**
24
- * Makes sure that the automatic buckets do not consist of floating point numbers with many decimals.
25
- * E.g., it uses [0, 0.5, 1] instead of [0.001, 0.4955, 0.99]. User cannot set the number of bins however.
26
- */
27
- INTERVAL_STEPS = "roundedIntervals"
28
- }
29
- export interface TidyHistogramOptions extends FormFieldObject {
30
- /**
31
- * Bucket Mode.
32
- *
33
- * Automatically create buckets or define them yourself.
34
- */
35
- binType: HistogramBinType;
36
- /**
37
- * Bucket Count.
38
- *
39
- * The number of buckets to auto generate.
40
- */
41
- numberOfBins: number;
42
- /**
43
- * Number of buckets per interval step.
44
- */
45
- prettyIntervalCount: number;
46
- /**
47
- * Custom Buckets.
48
- *
49
- * A list of objects `{from,to,name}`. Each object describes the range `from < x <= to`. No `from` or `to`
50
- * means that the range is unbounded on that side.
51
- */
52
- customBins: string;
53
- /**
54
- * Sort Buckets.
55
- *
56
- * Sort the buckets in this order. The sort uses the `from` of each bucket.
57
- */
58
- sortBins: SortingType;
59
- /**
60
- * Bucket Name Format.
61
- *
62
- * How to format the names for the bucket. If there is a name in the user defined specification,
63
- * then the bucket takes that name.
64
- */
65
- bucketFormat: TidyHistogramBucketFormat;
66
- /**
67
- * Bucket Type.
68
- *
69
- * Which side of the bucket is closed?
70
- */
71
- intervalType: TidyHistogramBucketType;
72
- /**
73
- * Include row ids of the rows that are in the bucket. Added in the table as a column with array values. E.g.,
74
- * value [0,4,5] means rows 0, 4 and 5 are in the bucket.
75
- */
76
- includeRowIds?: boolean;
77
- }
78
- export declare const TidyHistogramMetaOptions: (group?: string, hideSort?: boolean) => FormFields<TidyHistogramOptions>;
79
- export declare const TidyHistogramBucketColName = "bucket";
80
- export declare const TidyHistogramCountColName = "count";
81
- export declare const TidyHistogramRowIdsName = "rowIds";
@@ -1,105 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TidyHistogramRowIdsName = exports.TidyHistogramCountColName = exports.TidyHistogramBucketColName = exports.TidyHistogramMetaOptions = exports.HistogramBinType = exports.TidyHistogramBucketType = exports.TidyHistogramBucketFormat = void 0;
4
- const PublicTidyTableTypes_1 = require("./PublicTidyTableTypes");
5
- var TidyHistogramBucketFormat;
6
- (function (TidyHistogramBucketFormat) {
7
- TidyHistogramBucketFormat["INTERVAL"] = "interval";
8
- TidyHistogramBucketFormat["MATH_INTERVAL"] = "mathInterval";
9
- TidyHistogramBucketFormat["MATH_INTERVAL_REVERSED"] = "mathIntervalReversed";
10
- TidyHistogramBucketFormat["FROM_ONLY"] = "fromOnly";
11
- TidyHistogramBucketFormat["TO_ONLY"] = "toOnly";
12
- })(TidyHistogramBucketFormat || (exports.TidyHistogramBucketFormat = TidyHistogramBucketFormat = {}));
13
- var TidyHistogramBucketType;
14
- (function (TidyHistogramBucketType) {
15
- /**
16
- * [from, to)
17
- */
18
- TidyHistogramBucketType["LEFT_CLOSED"] = "leftClosed";
19
- /**
20
- * (from, to]
21
- */
22
- TidyHistogramBucketType["RIGHT_CLOSED"] = "rightClosed";
23
- })(TidyHistogramBucketType || (exports.TidyHistogramBucketType = TidyHistogramBucketType = {}));
24
- var HistogramBinType;
25
- (function (HistogramBinType) {
26
- HistogramBinType["AUTOMATIC_WITH_BINS"] = "automatic";
27
- HistogramBinType["USER_DEFINED"] = "userDefined";
28
- /**
29
- * Makes sure that the automatic buckets do not consist of floating point numbers with many decimals.
30
- * E.g., it uses [0, 0.5, 1] instead of [0.001, 0.4955, 0.99]. User cannot set the number of bins however.
31
- */
32
- HistogramBinType["INTERVAL_STEPS"] = "roundedIntervals";
33
- })(HistogramBinType || (exports.HistogramBinType = HistogramBinType = {}));
34
- const TidyHistogramMetaOptions = (group, hideSort = false) => {
35
- return {
36
- 'binType': {
37
- group,
38
- fieldType: "option",
39
- editorConf: {
40
- allowDuplicate: true,
41
- optionValues: Object.values(HistogramBinType),
42
- optionName: "HistogramBinType"
43
- },
44
- defaultValue: HistogramBinType.AUTOMATIC_WITH_BINS
45
- },
46
- 'numberOfBins': {
47
- group,
48
- fieldType: "number",
49
- defaultValue: 10,
50
- dependsOn: "binType",
51
- dependsOnVisibility: dependsOnValue => dependsOnValue === HistogramBinType.AUTOMATIC_WITH_BINS
52
- },
53
- 'customBins': {
54
- group,
55
- fieldType: "json",
56
- defaultValue: '[{"to": 10},{"from":10,"to":100},{"from":100}]',
57
- dependsOn: "binType",
58
- dependsOnVisibility: dependsOnValue => dependsOnValue === HistogramBinType.USER_DEFINED
59
- },
60
- 'prettyIntervalCount': {
61
- group,
62
- fieldType: "number",
63
- defaultValue: 4,
64
- dependsOn: "binType",
65
- dependsOnVisibility: dependsOnValue => dependsOnValue === HistogramBinType.INTERVAL_STEPS
66
- },
67
- 'sortBins': {
68
- group,
69
- fieldType: "option",
70
- editorConf: {
71
- optionValues: Object.values(PublicTidyTableTypes_1.SortingType),
72
- optionName: "SortingType",
73
- },
74
- defaultValue: PublicTidyTableTypes_1.SortingType.ASCENDING,
75
- visibility: !hideSort
76
- },
77
- 'bucketFormat': {
78
- group,
79
- fieldType: "option",
80
- defaultValue: TidyHistogramBucketFormat.INTERVAL,
81
- editorConf: {
82
- optionValues: Object.values(TidyHistogramBucketFormat),
83
- optionName: "TidyHistogramBucketFormat"
84
- }
85
- },
86
- "intervalType": {
87
- group,
88
- fieldType: 'option',
89
- defaultValue: TidyHistogramBucketType.RIGHT_CLOSED,
90
- editorConf: {
91
- optionValues: Object.values(TidyHistogramBucketType),
92
- optionName: "TidyHistogramBucketType"
93
- }
94
- },
95
- "includeRowIds": {
96
- fieldType: 'boolean',
97
- visibility: false,
98
- }
99
- };
100
- };
101
- exports.TidyHistogramMetaOptions = TidyHistogramMetaOptions;
102
- exports.TidyHistogramBucketColName = "bucket";
103
- exports.TidyHistogramCountColName = "count";
104
- exports.TidyHistogramRowIdsName = "rowIds";
105
- //# sourceMappingURL=PublicTidyHistogram.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublicTidyHistogram.js","sourceRoot":"","sources":["../src/PublicTidyHistogram.ts"],"names":[],"mappings":";;;AAAA,iEAAmD;AAGnD,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACjC,kDAAqB,CAAA;IACrB,2DAA8B,CAAA;IAC9B,4EAA+C,CAAA;IAC/C,mDAAsB,CAAA;IACtB,+CAAkB,CAAA;AACtB,CAAC,EANW,yBAAyB,yCAAzB,yBAAyB,QAMpC;AAED,IAAY,uBAUX;AAVD,WAAY,uBAAuB;IAC/B;;OAEG;IACH,qDAA0B,CAAA;IAE1B;;OAEG;IACH,uDAA4B,CAAA;AAChC,CAAC,EAVW,uBAAuB,uCAAvB,uBAAuB,QAUlC;AAED,IAAY,gBASX;AATD,WAAY,gBAAgB;IACxB,qDAAiC,CAAA;IACjC,gDAA4B,CAAA;IAE5B;;;OAGG;IACH,uDAAmC,CAAA;AACvC,CAAC,EATW,gBAAgB,gCAAhB,gBAAgB,QAS3B;AA4DM,MAAM,wBAAwB,GAAG,CAAC,KAAc,EAAE,QAAQ,GAAG,KAAK,EAAoC,EAAE;IAC3G,OAAO;QACH,SAAS,EAAE;YACP,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE;gBACR,cAAc,EAAE,IAAI;gBACpB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC;gBAC7C,UAAU,EAAE,kBAAkB;aACjC;YACD,YAAY,EAAE,gBAAgB,CAAC,mBAAmB;SACrD;QACD,cAAc,EAAE;YACZ,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,EAAE;YAChB,SAAS,EAAE,SAAS;YACpB,mBAAmB,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,KAAK,gBAAgB,CAAC,mBAAmB;SACjG;QACD,YAAY,EAAE;YACV,KAAK;YACL,SAAS,EAAE,MAAM;YACjB,YAAY,EAAE,gDAAgD;YAC9D,SAAS,EAAE,SAAS;YACpB,mBAAmB,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,KAAK,gBAAgB,CAAC,YAAY;SAC1F;QACD,qBAAqB,EAAE;YACnB,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,CAAC;YACf,SAAS,EAAE,SAAS;YACpB,mBAAmB,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,KAAK,gBAAgB,CAAC,cAAc;SAC5F;QACD,UAAU,EAAE;YACR,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE;gBACR,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,kCAAW,CAAC;gBACxC,UAAU,EAAE,aAAa;aAC5B;YACD,YAAY,EAAE,kCAAW,CAAC,SAAS;YACnC,UAAU,EAAE,CAAC,QAAQ;SACxB;QACD,cAAc,EAAE;YACZ,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,yBAAyB,CAAC,QAAQ;YAChD,UAAU,EAAE;gBACR,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC;gBACtD,UAAU,EAAE,2BAA2B;aAC1C;SACJ;QACD,cAAc,EAAE;YACZ,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,uBAAuB,CAAC,YAAY;YAClD,UAAU,EAAE;gBACR,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC;gBACpD,UAAU,EAAE,yBAAyB;aACxC;SACJ;QACD,eAAe,EAAE;YACb,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,KAAK;SACpB;KACJ,CAAA;AACL,CAAC,CAAA;AAlEY,QAAA,wBAAwB,4BAkEpC;AAEY,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AACtC,QAAA,yBAAyB,GAAG,OAAO,CAAC;AACpC,QAAA,uBAAuB,GAAG,QAAQ,CAAC"}
@@ -1,175 +0,0 @@
1
- import { ITidyBaseColumnReadonly } from "./PublicTidyColumn";
2
- import { HistogramData, HistogramOptions, TidyRowFilter } from "./PublicTidyTableTypes";
3
- import { TrendLineType } from "./theme/ThemeAmCharts4";
4
- import { ITidyTable } from "./PublicTidyTable";
5
- /**
6
- * Utility class for doing maths in columns
7
- *
8
- *
9
- * As a general rule, functions will return NaN once a value of the column is Nan
10
- */
11
- export interface ITidyMath {
12
- /**
13
- * For each not null column value (numbers including Nan or Infinity)
14
- *
15
- * @param callback true to stop the for each
16
- */
17
- forEachNotNull(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[], callback: (value: number) => void): void;
18
- /**
19
- * Sum of all values in the column.
20
- */
21
- sum(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[]): number | null;
22
- /**
23
- * Sum of all values in the column where filter evaluates to true. Returns the sum if filter is undefined.
24
- */
25
- sumFiltered(column: ITidyBaseColumnReadonly<number | null>, filter: TidyRowFilter | undefined): number | null;
26
- /**
27
- * Get the extreme value of the column. Null values are skipped.
28
- * @param column
29
- * @returns the minimum value of the column. Returns undefined if the column has no values.
30
- */
31
- min<T>(column: ITidyBaseColumnReadonly<T> | ITidyBaseColumnReadonly<T | null>[]): T | undefined;
32
- /**
33
- * Get the extreme value of the column. Null values are skipped.
34
- * @param column
35
- * @returns the maximum value of the column. Returns undefined if the column has no values.
36
- */
37
- max<T>(column: ITidyBaseColumnReadonly<T> | ITidyBaseColumnReadonly<T | null>[]): T | undefined;
38
- /**
39
- * Get the maximum of the absolute values of the column.
40
- * @param column
41
- * @returns If x_1, x_2, ..., x_n are the columns values, then it returns max(|x_1|, ..., |x_n|). Null values are
42
- * skipped.
43
- */
44
- absoluteMax(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[]): number | undefined;
45
- /**
46
- * Sum all values matching the lowest depth level of axis column
47
- */
48
- sumOnRoot(column: ITidyBaseColumnReadonly<number | null>, tree: ITidyBaseColumnReadonly<any>): number;
49
- /**
50
- * Estimate the population mean of the column, skipping null values.
51
- *
52
- * @returns the mean of the numeric column. Returns undefined if the column has no values.
53
- */
54
- mean(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[]): number | undefined;
55
- /**
56
- * Estimate the population variance of the column. Null values are skipped.
57
- * @param column
58
- * @returns the variance of the column. Returns undefined if the column has no values
59
- */
60
- variance(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[]): number | undefined;
61
- /**
62
- * Estimate the population standard deviation of the column. Null values are skipped.
63
- * @param column
64
- * @returns the standard deviation of the column. Returns undefined if the column has no values
65
- */
66
- standardDeviation(column: ITidyBaseColumnReadonly<number | null> | ITidyBaseColumnReadonly<number | null>[]): number | undefined;
67
- /**
68
- * Return the number of non-null values in the column.
69
- */
70
- count(column: ITidyBaseColumnReadonly<any> | ITidyBaseColumnReadonly<any>[]): number;
71
- /**
72
- * Calculate the median of the column. Null-values are ignored.
73
- * @param column
74
- * @returns the median of the numeric column. Returns undefined if the column has no values
75
- */
76
- median(column: ITidyBaseColumnReadonly<number | null>): number | undefined;
77
- /**
78
- * Creates a histogram data object from the column.
79
- * @param column
80
- * @param options see HistogramOptions
81
- *
82
- * @Returns an array of histogram buckets
83
- */
84
- hist(column: ITidyBaseColumnReadonly<number | null>, options: Partial<HistogramOptions>): HistogramData[];
85
- trendLine(trendLine: TrendLineType, y: ITidyBaseColumnReadonly<number | null>, x: ITidyBaseColumnReadonly<number | null>): ((x: number) => number) | undefined;
86
- /**
87
- * Return a regression model with one predictor: y = a0 + a1*x + error
88
- * @param y column x
89
- * @param x column y
90
- */
91
- ols(y: ITidyBaseColumnReadonly<number | null>, x: ITidyBaseColumnReadonly<number | null>): ((x: number) => number) | undefined;
92
- /**
93
- * Returns the previous value in the column , undefined if idx is 0
94
- * @param column
95
- * @param idx row index.
96
- */
97
- prev(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
98
- /**
99
- * Returns the next value in the column , undefined if idx is last one
100
- * @param column
101
- * @param idx row index.
102
- */
103
- next(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
104
- /**
105
- * Returns the first value in the column
106
- * @param column
107
- * @param idx row index.
108
- */
109
- first(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
110
- /**
111
- * Returns the last value in the column
112
- * @param column
113
- * @param idx row index.
114
- */
115
- last(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
116
- /**
117
- * Calculate the percentage w.r.t. the total of the column.
118
- * @param column
119
- * @param idx row index of the cell to calculate the percentage of.
120
- */
121
- percent(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
122
- /**
123
- * Calculate the percentage w.r.t. the first value of the column.
124
- * @param column
125
- * @param idx row index of the cell to calculate the percentage of.
126
- */
127
- percentFirst(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
128
- /**
129
- * Calculate the percentage w.r.t. the last value of the column.
130
- * @param column
131
- * @param idx row index of the cell to calculate the percentage of.
132
- */
133
- percentLast(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
134
- /**
135
- * Calculate the percentage w.r.t. the table total value (all numeric columns).
136
- * @param column
137
- * @param idx row index of the cell to calculate the percentage of.
138
- */
139
- percentTable(table: ITidyTable, column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
140
- /**
141
- * Calculate the percentage w.r.t. the row value of all numeric columns.
142
- * @param column
143
- * @param idx row index of the cell to calculate the percentage of.
144
- */
145
- percentRow(table: ITidyTable, column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
146
- /**
147
- * Count the values in the column. For example: [a, b, b] -> {a: 1, b: 2}.
148
- */
149
- valueCounts<T>(column: ITidyBaseColumnReadonly<T>): Map<T, number>;
150
- /**
151
- * Normalize a numeric column so that its values are on [0, 1].
152
- * For each value x, return (x - x_min) / (x_max - x_min).
153
- *
154
- * @returns undefined if one of the values in the scalar could not be calculated.
155
- */
156
- scaleNormalize(column: ITidyBaseColumnReadonly<number | null> | undefined, idx: number, min: number | undefined, max: number | undefined, val: number | undefined): number | undefined;
157
- /**
158
- * Scale a numeric column so that its values are on [-1, 1].
159
- * For each value x, return x / max(|x_1|, ..., |x_n|).
160
- *
161
- * @returns undefined if one of the values in the scalar could not be calculated.
162
- */
163
- scaleMaxAbsolute(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
164
- /**
165
- * Standardize the column.
166
- * For each value x, return (x - x_mean) / x_stdev.
167
- *
168
- * @returns undefined if one of the values in the scalar could not be calculated.
169
- */
170
- scaleStandardize(column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
171
- /**
172
- * Returns the covariance between two columns. Nulls are interpreted as zeros.
173
- */
174
- covariance(x: ITidyBaseColumnReadonly<number | null>, y: ITidyBaseColumnReadonly<number | null>): number | undefined;
175
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=PublicTidyMath.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublicTidyMath.js","sourceRoot":"","sources":["../src/PublicTidyMath.ts"],"names":[],"mappings":""}