@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,480 +0,0 @@
1
- /**
2
- * Tidy Column Types
3
- */
4
- import { TidyHistogramBucketType } from "./PublicTidyHistogram";
5
- import { ITidyColumn, ITidyColumnAddValueCopyRow, ITidyColumnAddValueInsert } from "./PublicTidyColumn";
6
- import { MdxNodeIdentifier } from "./PublicTidyTable";
7
- import { SelectionMode } from "./PublicTidyTableInteractions";
8
- export declare enum TidyColumnsType {
9
- /**
10
- * Values represent a color, e.g. 'red', 'rbg(10, 10, 10)' or '#fff'. Can be null.
11
- */
12
- COLOR = "color",
13
- LONGITUDE = "longitude",
14
- LATITUDE = "latitude",
15
- /**
16
- * ISO2 location (country, region, city...) codes
17
- */
18
- ISO2_LOCATION_CODE = "iso2Location",
19
- /**
20
- * date, time or combination of the two. Can be null.
21
- */
22
- DATETIME = "datetime",
23
- /**
24
- * numeric data, e.g., double, float, integer, etc. Can be null.
25
- */
26
- NUMERIC = "numeric",
27
- /**
28
- * Textual data, string type. Can be null.
29
- */
30
- CHARACTER = "character",
31
- /**
32
- * Boolean data type, true, false. Can be null.
33
- */
34
- LOGICAL = "logical",
35
- /**
36
- * array of values. Can be null.
37
- */
38
- LIST = "list",
39
- /**
40
- * Column has values of multiple types
41
- */
42
- MIXED = "mixed",
43
- /**
44
- * The column type is not known
45
- */
46
- UNKNOWN = "unknown",
47
- /**
48
- * The column has null values only
49
- */
50
- NULL = "null",
51
- /**
52
- * Use any to opt-out of type checking
53
- */
54
- ANY = "any"
55
- }
56
- export type TidyColumnsSubType = "YEAR" | "HALF_YEAR" | "QUARTER" | "MONTH" | "WEEK" | "DAY" | "DAY_MONTH" | "DAY_YEAR" | "HOUR" | "HALF_HOUR" | "QUARTER_HOUR" | "MINUTE" | "SECOND";
57
- export declare enum ITidyColumnsSource {
58
- QUERY = "query",
59
- TRANSFORMATION = "transformation",
60
- UNKNOWN = "unknown"
61
- }
62
- /**
63
- * Defines a mapping that maps columns to the coordinate system of the widget.
64
- * The key represents the internal lowercase-name for the mapping, e.g., axis, group, rows, columns.
65
- * Note that a mapping can have multiple columns, for example, on the Rows.
66
- */
67
- export type ChartTemplateDataMapping = Record<string, ITidyColumn[] | undefined>;
68
- /**
69
- * Defines an index from column tag (name, mapping, role, etc..) to the name or index of the column in the table.
70
- * The column tag is converted to lower case.
71
- */
72
- export type TidyColumnIndex = Record<string, string | number>;
73
- export declare enum TidyTableMappingColumnSelectorOptions {
74
- ALL = "@IC3_ALL",
75
- ALL_NUMERIC = "@IC3_ALL_NUMERIC",
76
- ALL_CHARACTER = "@IC3_ALL_CHARACTER",
77
- ALL_MEASURES = "@IC3_ALL_MEASURES",
78
- ALL_AXIS = "@IC3_ALL_AXIS"
79
- }
80
- export interface TidyTableColumnIdentifier {
81
- /**
82
- * Search column by name
83
- */
84
- name: string;
85
- /**
86
- * If we want a property, the name of the column's property.
87
- */
88
- property?: string;
89
- }
90
- export interface TidyTableRoleSelector {
91
- /**
92
- * Search columns by role
93
- */
94
- role: string;
95
- }
96
- export type TidyTableColumnSelector = TidyTableColumnIdentifier | TidyTableMappingColumnSelectorOptions | TidyTableRoleSelector;
97
- export type IFormFieldGranularityItem = IFormFieldGranularityItemColumn | IFormFieldGranularityItemRole | IFormFieldGranularityItemHierarchy | IFormFieldGranularityColumns;
98
- export interface IFormFieldGranularityItemColumn {
99
- type: "column";
100
- /**
101
- * For selecting columns from the tidy table
102
- */
103
- name: string;
104
- }
105
- export interface IFormFieldGranularityItemRole {
106
- type: "role";
107
- /**
108
- * For selecting mapping/roles in a chart
109
- */
110
- role: string;
111
- }
112
- /**
113
- * Only include columns info from this hierarchy in the selection.
114
- */
115
- export interface IFormFieldGranularityItemHierarchy {
116
- type: "hierarchy";
117
- /**
118
- * Show in editor.
119
- */
120
- caption: string;
121
- /**
122
- * Hierarchy for entity items in columns
123
- */
124
- hierarchyIdx: number;
125
- }
126
- /**
127
- * When selected, include all column info in the selection.
128
- */
129
- export interface IFormFieldGranularityColumns {
130
- type: "all_columns";
131
- }
132
- /**
133
- * The coordinate of an MDX axis. If and only if the columns source is from ON 0, the hierIdx is defined.
134
- */
135
- export interface AxisCoordinate {
136
- /**
137
- * Object keeping track of the transformation from the original axis to the current column.
138
- * If this object is undefined, then the column can not be constructed using a coordinate transformation of the axis.
139
- */
140
- repetitionInfo?: MdxRepetitionInfo;
141
- /**
142
- * index of the axis. ON 0, ON 1, etc...
143
- */
144
- axisIdx: number;
145
- /**
146
- * index of the tuple in the axis. E.g. (AF, 2009) in [AF, 2008, AF, 2009, AF, 2010] has index 1.
147
- */
148
- tupleIdx?: number;
149
- /**
150
- * index of the member in the tuple. E.g. AF in (AF, 2009) has index 0 and 2009 has index 1.
151
- * undefined means use the whole tuple.
152
- */
153
- hierIdx?: number;
154
- }
155
- export interface MdxRepetitionInfo {
156
- /**
157
- * The number of members in the axis (From 'len' in the json axis guts).
158
- */
159
- axisLength: number;
160
- /**
161
- * Number of repetitions for each member. See ITidyBaseColumn > repeat.
162
- */
163
- repetition: number;
164
- }
165
- /**
166
- * identifier of a column value ( uniqueName if it´s an axis or idx if measure )
167
- */
168
- export type TidyColumnCoordinateUniqueName = MdxNodeIdentifier['uid'];
169
- export declare enum IAmcharts4DataKey {
170
- /**
171
- * Data key for the date/string value of the axis.
172
- */
173
- AXIS = "axis",
174
- /**
175
- * Data key for the tidy-row number.
176
- */
177
- ROW = "row",
178
- /**
179
- * Data key for accessing the value of a dataItem. Used when there are no groups or levels in the data.
180
- */
181
- NULL = "_"
182
- }
183
- /**
184
- * Objects that have this type are used in chart.data in amCharts.
185
- */
186
- export interface IAmCharts4Data {
187
- /**
188
- * The date/string value of the axis.
189
- */
190
- axis: Date | string;
191
- /**
192
- * The row number of the axis. Uses first row if multiple rows are in the dataItem for the axis.
193
- */
194
- row: number;
195
- /**
196
- * Other values for the series
197
- */
198
- [key: string]: any;
199
- }
200
- export interface IAmCharts4DataTreeMap {
201
- children: {
202
- [key: string]: any;
203
- }[];
204
- [key: string]: any;
205
- }
206
- export type ITidyRow = any[];
207
- export interface MdxInfo {
208
- uniqueName: string;
209
- /**
210
- * The key parsed as date|time.
211
- */
212
- key: any;
213
- /**
214
- * The key as converted to string in the client.
215
- */
216
- keyS: string | undefined;
217
- name: string;
218
- caption: string;
219
- isAll?: boolean;
220
- pun?: string;
221
- /**
222
- * Children count
223
- */
224
- cc?: number;
225
- levelCaption?: string;
226
- /**
227
- * Relative: starts at 0 + visual depths for ragged dimension.
228
- */
229
- levelDepthR: number;
230
- /**
231
- * Actual MDX level depth
232
- */
233
- levelDepth: number;
234
- /**
235
- * hierUN
236
- */
237
- hierUN: string;
238
- }
239
- export type MdxLevelType = "date" | "time";
240
- export type MdxLevelSubType = "YEAR" | "HALF_YEAR" | "QUARTER" | "MONTH" | "WEEK" | "DAY" | "DAY_MONTH" | "DAY_YEAR" | "HOUR" | "HALF_HOUR" | "QUARTER_HOUR" | "MINUTE" | "SECOND";
241
- export interface IMdxAxisSeriesInfo {
242
- hierarchyName?: string;
243
- hierarchyUN?: string;
244
- hierarchyType?: string;
245
- /**
246
- * A single level name is being specified in the guts for all the axis values.
247
- */
248
- levelUN?: string;
249
- levelName?: string;
250
- levelCaption?: string;
251
- levelType?: MdxLevelType;
252
- levelSubType?: MdxLevelSubType;
253
- /**
254
- * The unique name of the default member of the dimension.
255
- */
256
- defaultMemberUN?: string;
257
- defaultMemberName?: string;
258
- defaultMemberCaption?: string;
259
- defaultMemberKey?: string;
260
- }
261
- export interface EntityItem {
262
- uniqueName: string;
263
- key?: any;
264
- name: string;
265
- caption: string;
266
- parentUN?: string;
267
- hierUN?: string;
268
- selected?: boolean;
269
- empty?: boolean;
270
- tupleUNames?: string[];
271
- }
272
- export interface TidyCellError {
273
- errorCode: string;
274
- errorDescription: string;
275
- }
276
- /**
277
- * This is produced by a hit (click) event
278
- *
279
- * it might actually 'select' one or multiple rows in a Tidy table (e.g. all rows for [Time].[2010])
280
- * it can be defined using one or multiple TidyColumns ( kinda forEachMatchingRow)
281
- *
282
- * uniqueNames are used so it survives drill-downs, filter or new queries, in this
283
- * scenario a coordinate might not longer match any rowIdx
284
- */
285
- export interface ITidyTableSelection {
286
- /**
287
- * Fired event value. Arrays are combined into a single event.
288
- */
289
- items: EntityItem[];
290
- }
291
- export declare enum SelectionBehaviour {
292
- /**
293
- * Clear the event value. Default behaviour.
294
- */
295
- CLEAR_EVENT = "CLEAR_EVENT",
296
- /**
297
- * Select all items in the filter.
298
- */
299
- SELECT_ALL = "SELECT_ALL",
300
- /**
301
- * Easy to guess
302
- */
303
- SELECT_FIRST = "SELECT_FIRST",
304
- SELECT_LAST = "SELECT_LAST",
305
- /**
306
- * Select no items in the filter and clear the event.
307
- */
308
- SELECT_NONE = "SELECT_NONE",
309
- /**
310
- * Fire the default member. The selection remains empty.
311
- */
312
- MDX_DEFAULT = "MDX_DEFAULT",
313
- /**
314
- * Fire the empty set in the event. The selection remains empty.
315
- */
316
- EMPTY_SET = "EMPTY_SET",
317
- /**
318
- * The filter can not be empty. The click is canceled. If no initial selection, the first value is used.
319
- */
320
- NOT_ALLOW_EMPTY = "NOT_ALLOW_EMPTY"
321
- }
322
- export declare enum SortingType {
323
- ASCENDING = "ASCENDING",
324
- DESCENDING = "DESCENDING",
325
- KEEP_ORDER = "KEEP_ORDER"
326
- }
327
- export interface HistogramBucket {
328
- /**
329
- * Bucket start range. Undefined = -Infinity.
330
- */
331
- from?: number;
332
- /**
333
- * Bucket end range. Undefined = Infinity.
334
- */
335
- to?: number;
336
- /**
337
- * The name of the bucket
338
- */
339
- name?: string;
340
- }
341
- export interface HistogramData extends HistogramBucket {
342
- /**
343
- * Number of values that fall in the range [from, to).
344
- */
345
- count: number;
346
- /**
347
- * Row indices where the value falls in the bucket
348
- */
349
- rows: number[];
350
- }
351
- export interface HistogramOptions {
352
- /**
353
- * The number of bins to use in the histogram or an object with custom bins. Default = 10.
354
- *
355
- * If bins is a number, then the algorithm generates the bins. The included endpoint of the bin is rounded with
356
- * a precision of 1e10 in the direction that makes the bin larger.
357
- */
358
- bins: number | HistogramBucket[];
359
- /**
360
- * The type of interval. Default = RIGHT_CLOSED.
361
- */
362
- intervalType: TidyHistogramBucketType;
363
- /**
364
- * If true, put the minimum value in the first bucket if intervalType = (from, to] or put the maximum value
365
- * in the last bucket if intervalType = [from, to).
366
- * If false, exclude the minimum or maximum value in the above scenario.
367
- * Default = true.
368
- */
369
- includeEndPoints: boolean;
370
- }
371
- export declare enum InterpolationType {
372
- NONE = "none",
373
- RGB = "rgb",
374
- HCL = "hcl",
375
- HSL = "hsl",
376
- LAB = "lab"
377
- }
378
- export declare enum InterpolationAppliedTo {
379
- COLUMNS = "COLUMNS",
380
- ROWS = "ROWS",
381
- TABLE = "TABLE"
382
- }
383
- export declare enum SortingMethod {
384
- NONE = "NONE",
385
- COLUMN = "COLUMN"
386
- }
387
- export interface ConvertToTypeParseSettings {
388
- locale?: string;
389
- dateFormat?: string;
390
- listSeparator?: string;
391
- }
392
- /**
393
- * Interface for adding a single row to a tidy table
394
- */
395
- export interface ITotalRowValues {
396
- /**
397
- * Keys as column names.
398
- */
399
- totalValues: Record<string, ITidyColumnAddValueInsert>;
400
- /**
401
- * Keys as column names.
402
- */
403
- totalTexts: Record<string, ITidyColumnAddValueInsert | ITidyColumnAddValueCopyRow>;
404
- }
405
- /**
406
- * If we have (date)times available, then
407
- * YES -> always use them
408
- * NO -> never use them
409
- * AUTO -> use them if the level is a date or datetime (in MDX, these are levels of type DAY, HOUR, MINUTE, SECOND).
410
- */
411
- export declare enum UseDatetimeAxis {
412
- YES = "YES",
413
- NO = "NO",
414
- AUTO = "AUTO"
415
- }
416
- export interface ITidyColumnIndex {
417
- /**
418
- * Name of the node in the index
419
- */
420
- name: string;
421
- /**
422
- * Display label for index
423
- */
424
- label: string;
425
- /**
426
- * Unique name of mdx member
427
- */
428
- mdxUniqueName?: string;
429
- /**
430
- * Level of mdx member
431
- */
432
- mdxLevel?: string;
433
- }
434
- export interface WidgetTidySelectionOptions {
435
- /**
436
- * If true, the widget responds to selection events.
437
- */
438
- isSelectionActive: boolean;
439
- /**
440
- * User can set the selection mode in the interaction-settings.
441
- */
442
- selectionMode: SelectionMode;
443
- /**
444
- * These columns are considered in the selection.
445
- */
446
- selectionGranularity?: IFormFieldGranularityItem[];
447
- /**
448
- * Behaviour when all items in the filter are selected.
449
- */
450
- selectionAllBehaviour?: SelectionBehaviour;
451
- /**
452
- * Behaviour when the selection is empty, e.g. when no items are selected.
453
- */
454
- selectionEmptyBehaviour?: SelectionBehaviour;
455
- /**
456
- * List with items in the initial selection.
457
- */
458
- initSelectionUserDefined?: string[] | string;
459
- /**
460
- * Column with items in the initial selection. The column has a truthy value for items that are in the initial
461
- * selection.
462
- */
463
- initSelectionColumn?: TidyTableColumnSelector;
464
- /**
465
- * Initialize selection on new query
466
- */
467
- initSelectionOnNewQuery?: boolean;
468
- }
469
- export type GroupRowIndices = [number, ...number[]];
470
- export interface TreeRowPropsTreeData {
471
- rowIndex: number;
472
- nodeId: string;
473
- isCollapsed: boolean;
474
- hasChildren: boolean;
475
- isSelected: boolean;
476
- }
477
- /**
478
- * Function filtering the rows of a column / table. Returns true if the row is included, false if the row is excluded.
479
- */
480
- export type TidyRowFilter = (rowIdx: number) => boolean;
@@ -1,154 +0,0 @@
1
- "use strict";
2
- /**
3
- * Tidy Column Types
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.UseDatetimeAxis = exports.SortingMethod = exports.InterpolationAppliedTo = exports.InterpolationType = exports.SortingType = exports.SelectionBehaviour = exports.IAmcharts4DataKey = exports.TidyTableMappingColumnSelectorOptions = exports.ITidyColumnsSource = exports.TidyColumnsType = void 0;
7
- var TidyColumnsType;
8
- (function (TidyColumnsType) {
9
- /**
10
- * Values represent a color, e.g. 'red', 'rbg(10, 10, 10)' or '#fff'. Can be null.
11
- */
12
- TidyColumnsType["COLOR"] = "color";
13
- TidyColumnsType["LONGITUDE"] = "longitude";
14
- TidyColumnsType["LATITUDE"] = "latitude";
15
- /**
16
- * ISO2 location (country, region, city...) codes
17
- */
18
- TidyColumnsType["ISO2_LOCATION_CODE"] = "iso2Location";
19
- /**
20
- * date, time or combination of the two. Can be null.
21
- */
22
- TidyColumnsType["DATETIME"] = "datetime";
23
- /**
24
- * numeric data, e.g., double, float, integer, etc. Can be null.
25
- */
26
- TidyColumnsType["NUMERIC"] = "numeric";
27
- /**
28
- * Textual data, string type. Can be null.
29
- */
30
- TidyColumnsType["CHARACTER"] = "character";
31
- /**
32
- * Boolean data type, true, false. Can be null.
33
- */
34
- TidyColumnsType["LOGICAL"] = "logical";
35
- /**
36
- * array of values. Can be null.
37
- */
38
- TidyColumnsType["LIST"] = "list";
39
- /**
40
- * Column has values of multiple types
41
- */
42
- TidyColumnsType["MIXED"] = "mixed";
43
- /**
44
- * The column type is not known
45
- */
46
- TidyColumnsType["UNKNOWN"] = "unknown";
47
- /**
48
- * The column has null values only
49
- */
50
- TidyColumnsType["NULL"] = "null";
51
- /**
52
- * Use any to opt-out of type checking
53
- */
54
- TidyColumnsType["ANY"] = "any";
55
- })(TidyColumnsType || (exports.TidyColumnsType = TidyColumnsType = {}));
56
- var ITidyColumnsSource;
57
- (function (ITidyColumnsSource) {
58
- ITidyColumnsSource["QUERY"] = "query";
59
- ITidyColumnsSource["TRANSFORMATION"] = "transformation";
60
- ITidyColumnsSource["UNKNOWN"] = "unknown";
61
- })(ITidyColumnsSource || (exports.ITidyColumnsSource = ITidyColumnsSource = {}));
62
- var TidyTableMappingColumnSelectorOptions;
63
- (function (TidyTableMappingColumnSelectorOptions) {
64
- TidyTableMappingColumnSelectorOptions["ALL"] = "@IC3_ALL";
65
- TidyTableMappingColumnSelectorOptions["ALL_NUMERIC"] = "@IC3_ALL_NUMERIC";
66
- TidyTableMappingColumnSelectorOptions["ALL_CHARACTER"] = "@IC3_ALL_CHARACTER";
67
- TidyTableMappingColumnSelectorOptions["ALL_MEASURES"] = "@IC3_ALL_MEASURES";
68
- TidyTableMappingColumnSelectorOptions["ALL_AXIS"] = "@IC3_ALL_AXIS";
69
- })(TidyTableMappingColumnSelectorOptions || (exports.TidyTableMappingColumnSelectorOptions = TidyTableMappingColumnSelectorOptions = {}));
70
- var IAmcharts4DataKey;
71
- (function (IAmcharts4DataKey) {
72
- /**
73
- * Data key for the date/string value of the axis.
74
- */
75
- IAmcharts4DataKey["AXIS"] = "axis";
76
- /**
77
- * Data key for the tidy-row number.
78
- */
79
- IAmcharts4DataKey["ROW"] = "row";
80
- /**
81
- * Data key for accessing the value of a dataItem. Used when there are no groups or levels in the data.
82
- */
83
- IAmcharts4DataKey["NULL"] = "_";
84
- })(IAmcharts4DataKey || (exports.IAmcharts4DataKey = IAmcharts4DataKey = {}));
85
- var SelectionBehaviour;
86
- (function (SelectionBehaviour) {
87
- /**
88
- * Clear the event value. Default behaviour.
89
- */
90
- SelectionBehaviour["CLEAR_EVENT"] = "CLEAR_EVENT";
91
- /**
92
- * Select all items in the filter.
93
- */
94
- SelectionBehaviour["SELECT_ALL"] = "SELECT_ALL";
95
- /**
96
- * Easy to guess
97
- */
98
- SelectionBehaviour["SELECT_FIRST"] = "SELECT_FIRST";
99
- SelectionBehaviour["SELECT_LAST"] = "SELECT_LAST";
100
- /**
101
- * Select no items in the filter and clear the event.
102
- */
103
- SelectionBehaviour["SELECT_NONE"] = "SELECT_NONE";
104
- /**
105
- * Fire the default member. The selection remains empty.
106
- */
107
- SelectionBehaviour["MDX_DEFAULT"] = "MDX_DEFAULT";
108
- /**
109
- * Fire the empty set in the event. The selection remains empty.
110
- */
111
- SelectionBehaviour["EMPTY_SET"] = "EMPTY_SET";
112
- /**
113
- * The filter can not be empty. The click is canceled. If no initial selection, the first value is used.
114
- */
115
- SelectionBehaviour["NOT_ALLOW_EMPTY"] = "NOT_ALLOW_EMPTY";
116
- })(SelectionBehaviour || (exports.SelectionBehaviour = SelectionBehaviour = {}));
117
- var SortingType;
118
- (function (SortingType) {
119
- SortingType["ASCENDING"] = "ASCENDING";
120
- SortingType["DESCENDING"] = "DESCENDING";
121
- SortingType["KEEP_ORDER"] = "KEEP_ORDER";
122
- })(SortingType || (exports.SortingType = SortingType = {}));
123
- var InterpolationType;
124
- (function (InterpolationType) {
125
- InterpolationType["NONE"] = "none";
126
- InterpolationType["RGB"] = "rgb";
127
- InterpolationType["HCL"] = "hcl";
128
- InterpolationType["HSL"] = "hsl";
129
- InterpolationType["LAB"] = "lab";
130
- })(InterpolationType || (exports.InterpolationType = InterpolationType = {}));
131
- var InterpolationAppliedTo;
132
- (function (InterpolationAppliedTo) {
133
- InterpolationAppliedTo["COLUMNS"] = "COLUMNS";
134
- InterpolationAppliedTo["ROWS"] = "ROWS";
135
- InterpolationAppliedTo["TABLE"] = "TABLE";
136
- })(InterpolationAppliedTo || (exports.InterpolationAppliedTo = InterpolationAppliedTo = {}));
137
- var SortingMethod;
138
- (function (SortingMethod) {
139
- SortingMethod["NONE"] = "NONE";
140
- SortingMethod["COLUMN"] = "COLUMN";
141
- })(SortingMethod || (exports.SortingMethod = SortingMethod = {}));
142
- /**
143
- * If we have (date)times available, then
144
- * YES -> always use them
145
- * NO -> never use them
146
- * AUTO -> use them if the level is a date or datetime (in MDX, these are levels of type DAY, HOUR, MINUTE, SECOND).
147
- */
148
- var UseDatetimeAxis;
149
- (function (UseDatetimeAxis) {
150
- UseDatetimeAxis["YES"] = "YES";
151
- UseDatetimeAxis["NO"] = "NO";
152
- UseDatetimeAxis["AUTO"] = "AUTO";
153
- })(UseDatetimeAxis || (exports.UseDatetimeAxis = UseDatetimeAxis = {}));
154
- //# sourceMappingURL=PublicTidyTableTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublicTidyTableTypes.js","sourceRoot":"","sources":["../src/PublicTidyTableTypes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAOH,IAAY,eA0DX;AA1DD,WAAY,eAAe;IACvB;;OAEG;IACH,kCAAe,CAAA;IAEf,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;OAEG;IACH,sDAAmC,CAAA;IAEnC;;OAEG;IACH,wCAAqB,CAAA;IAErB;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,0CAAuB,CAAA;IAEvB;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,gCAAa,CAAA;IAEb;;OAEG;IACH,kCAAe,CAAA;IAEf;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,gCAAa,CAAA;IAEb;;OAEG;IACH,8BAAW,CAAA;AACf,CAAC,EA1DW,eAAe,+BAAf,eAAe,QA0D1B;AAkBD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,qCAAe,CAAA;IACf,uDAAiC,CAAA;IACjC,yCAAmB,CAAA;AACvB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAeD,IAAY,qCAQX;AARD,WAAY,qCAAqC;IAE7C,yDAAgB,CAAA;IAChB,yEAAgC,CAAA;IAChC,6EAAoC,CAAA;IACpC,2EAAkC,CAAA;IAClC,mEAA0B,CAAA;AAE9B,CAAC,EARW,qCAAqC,qDAArC,qCAAqC,QAQhD;AAoHD,IAAY,iBAiBX;AAjBD,WAAY,iBAAiB;IAEzB;;OAEG;IACH,kCAAa,CAAA;IAEb;;OAEG;IACH,gCAAW,CAAA;IAEX;;OAEG;IACH,+BAAU,CAAA;AAEd,CAAC,EAjBW,iBAAiB,iCAAjB,iBAAiB,QAiB5B;AAuKD,IAAY,kBAqCX;AArCD,WAAY,kBAAkB;IAC1B;;OAEG;IACH,iDAA2B,CAAA;IAE3B;;OAEG;IACH,+CAAyB,CAAA;IAEzB;;OAEG;IACH,mDAA6B,CAAA;IAE7B,iDAA2B,CAAA;IAE3B;;OAEG;IACH,iDAA2B,CAAA;IAE3B;;OAEG;IACH,iDAA2B,CAAA;IAE3B;;OAEG;IACH,6CAAuB,CAAA;IAEvB;;OAEG;IACH,yDAAmC,CAAA;AACvC,CAAC,EArCW,kBAAkB,kCAAlB,kBAAkB,QAqC7B;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,sCAAuB,CAAA;IACvB,wCAAyB,CAAA;IACzB,wCAAyB,CAAA;AAC7B,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAwDD,IAAY,iBAMX;AAND,WAAY,iBAAiB;IACzB,kCAAa,CAAA;IACb,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,gCAAW,CAAA;AACf,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,uCAAa,CAAA;IACb,yCAAe,CAAA;AACnB,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,kCAAiB,CAAA;AACrB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAyBD;;;;;GAKG;AACH,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,gCAAa,CAAA;AACjB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}