@ic3/reporting-api 8.4.2 → 8.4.4

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 (39) hide show
  1. package/dist/ApiUtils.js +1 -1
  2. package/dist/IPluginDefinition.d.ts +2 -0
  3. package/dist/IUserMenuOptionManager.d.ts +13 -0
  4. package/dist/IUserMenuOptionManager.js +3 -0
  5. package/dist/IUserMenuOptionManager.js.map +1 -0
  6. package/dist/PublicAmchartsData.d.ts +7 -1
  7. package/dist/PublicAmchartsData.js +9 -0
  8. package/dist/PublicAmchartsData.js.map +1 -1
  9. package/dist/PublicContext.d.ts +35 -5
  10. package/dist/PublicLayout.d.ts +81 -0
  11. package/dist/PublicTemplate.d.ts +68 -0
  12. package/dist/PublicTemplate.js.map +1 -1
  13. package/dist/PublicTemplateForm.d.ts +122 -5
  14. package/dist/PublicTemplateForm.js +19 -1
  15. package/dist/PublicTemplateForm.js.map +1 -1
  16. package/dist/PublicTheme.d.ts +23 -2
  17. package/dist/PublicTheme.js +5 -1
  18. package/dist/PublicTheme.js.map +1 -1
  19. package/dist/PublicTidyColumn.d.ts +28 -15
  20. package/dist/PublicTidyColumn.js +5 -0
  21. package/dist/PublicTidyColumn.js.map +1 -1
  22. package/dist/PublicTidyTable.d.ts +1 -1
  23. package/dist/PublicTidyTableInteractions.d.ts +2 -0
  24. package/dist/PublicTidyTableTypes.d.ts +9 -20
  25. package/dist/PublicTidyTableTypes.js.map +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +1 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/theme/ThemeAmCharts4.d.ts +95 -19
  30. package/dist/theme/ThemeAmCharts4.js +11 -1
  31. package/dist/theme/ThemeAmCharts4.js.map +1 -1
  32. package/dist/theme/ThemeFilterAutocomplete.d.ts +2 -0
  33. package/dist/theme/ThemeFilterButtons.d.ts +10 -0
  34. package/dist/theme/ThemeFilterPanel.d.ts +4 -0
  35. package/dist/theme/ThemePivotTable.d.ts +6 -0
  36. package/dist/theme/ThemeSeparator.d.ts +13 -0
  37. package/dist/theme/ThemeSeparator.js +3 -0
  38. package/dist/theme/ThemeSeparator.js.map +1 -0
  39. package/package.json +8 -8
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.isTidyTableExprScale = exports.isTidyTableExprNumeric = exports.isTidyTableExprTextHtml = exports.isTidyTableExprText = exports.isTidyTableExprRow = exports.isTidyTableExprTable = exports.isTidyTableExpr = exports.IFormFieldGroupTypes = exports.formFieldIsSelection = void 0;
3
+ exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.isTidyTableExprScale = exports.isTidyTableExprNumeric = exports.isTidyTableExprTextHtml = exports.isTidyTableExprText = exports.isTidyTableExprNumericJS = exports.isTidyTableExprNumericString = exports.isTidyTableExprRow = exports.isTidyTableExprColumn = exports.isTidyTableExprTable = exports.isTidyTableExpr = exports.IFormFieldGroupTypes = exports.formFieldIsSelection = void 0;
4
4
  function formFieldIsSelection(field) {
5
5
  return field.group === IFormFieldGroupTypes.Selection;
6
6
  }
@@ -15,8 +15,11 @@ function isTidyTableExpr(type) {
15
15
  return type === "tidyTableHtmlExpr"
16
16
  || type === "tidyTableHtmlRowExpr"
17
17
  || type === "tidyTableTextExpr"
18
+ || type === "tidyTableNumericStringColumnExpr"
19
+ || type === "tidyTableNumericJSColumnExpr"
18
20
  || type === "tidyTableTextRowExpr"
19
21
  || type === "tidyTableNumericExpr"
22
+ || type === "tidyTableNumericColumnExpr"
20
23
  || type === "tidyTableNumericRowExpr"
21
24
  || type === "tidyTableStringRowExpr"
22
25
  || type === "tidyTableColorRowExpr"
@@ -29,6 +32,12 @@ function isTidyTableExprTable(type) {
29
32
  || type === "tidyTableNumericExpr";
30
33
  }
31
34
  exports.isTidyTableExprTable = isTidyTableExprTable;
35
+ function isTidyTableExprColumn(type) {
36
+ return type === "tidyTableNumericColumnExpr"
37
+ || type === "tidyTableNumericStringColumnExpr"
38
+ || type === "tidyTableNumericJSColumnExpr";
39
+ }
40
+ exports.isTidyTableExprColumn = isTidyTableExprColumn;
32
41
  function isTidyTableExprRow(type) {
33
42
  return type === "tidyTableHtmlRowExpr"
34
43
  || type === "tidyTableTextRowExpr"
@@ -38,6 +47,14 @@ function isTidyTableExprRow(type) {
38
47
  || type === "tidyTableScaleRowExpr";
39
48
  }
40
49
  exports.isTidyTableExprRow = isTidyTableExprRow;
50
+ function isTidyTableExprNumericString(type) {
51
+ return type === "tidyTableColorRowExpr" || type === "tidyTableStringRowExpr" || type === "tidyTableNumericStringColumnExpr";
52
+ }
53
+ exports.isTidyTableExprNumericString = isTidyTableExprNumericString;
54
+ function isTidyTableExprNumericJS(type) {
55
+ return type === "tidyTableNumericJSColumnExpr";
56
+ }
57
+ exports.isTidyTableExprNumericJS = isTidyTableExprNumericJS;
41
58
  function isTidyTableExprText(type) {
42
59
  return type === "tidyTableTextExpr"
43
60
  || type === "tidyTableTextRowExpr";
@@ -50,6 +67,7 @@ function isTidyTableExprTextHtml(type) {
50
67
  exports.isTidyTableExprTextHtml = isTidyTableExprTextHtml;
51
68
  function isTidyTableExprNumeric(type) {
52
69
  return type === "tidyTableNumericExpr"
70
+ || type === "tidyTableNumericColumnExpr"
53
71
  || type === "tidyTableNumericRowExpr";
54
72
  }
55
73
  exports.isTidyTableExprNumeric = isTidyTableExprNumeric;
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAkBA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AAFD,oDAEC;AAwJD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,oDAA4B,CAAA;IAC5B,yEAAiD,CAAA;IACjD,sDAA8B,C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B,CAAA;IACzB,gEAAmC,CAAA;IACnC,gEAAmC,CAAA;AACvC,CAAC,EALW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAKpC;AAED;;GAEG;AACH,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;AAC3B,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
@@ -74,6 +74,20 @@ export type ThemeTextFormatters = Record<string, ThemeTextFormatter> & {
74
74
  defaultAmount: ThemeTextFormatter;
75
75
  defaultPercentage: ThemeTextFormatter;
76
76
  };
77
+ export interface ThemeFormatterPerLocale {
78
+ /**
79
+ * Fallback formatter for when no language is specified or a language is specified that is not defined in this
80
+ * model.
81
+ */
82
+ default: ThemeFormatters;
83
+ /**
84
+ * A formatter per locale. Use JAVA locale tags for defining a formatter for that locale, e.g., en, en_US, nl, nl_NL, etc..
85
+ * Longer tags have prio over shorter tags. For example, if the user has locale en_US, the dashboards first use
86
+ * the en_US tag. If it isn't found, it will use the en tag. If that also isn't found, it will use the default.
87
+ */
88
+ [k: string]: ThemeFormatters;
89
+ }
90
+ export declare function isThemeFormatterPerLocale(x: DeepPartial<ThemeFormatterPerLocale | ThemeFormatters> | undefined): x is ThemeFormatterPerLocale;
77
91
  export type ThemeFormatters = {
78
92
  text: ThemeTextFormatters;
79
93
  emptyCell: string;
@@ -289,6 +303,13 @@ export interface ic3PaletteOptions {
289
303
  selectedText?: Property.Color;
290
304
  selectedBackground?: Property.Color;
291
305
  selectedOpacity?: number;
306
+ /**
307
+ * For charts, you can define a function that derives the selected color from the color of the clicked item without
308
+ * selection. For example, you can use darken(color) from Mui-Material to get a darker color.
309
+ * @param color the color of the item without selection.
310
+ * @Return the color for the item in the selected state.
311
+ */
312
+ selectedChart?: (color: Property.Color | undefined | null) => Property.Color;
292
313
  unSelectedOpacity?: number;
293
314
  hoverBackground?: Property.Color;
294
315
  chartPalettes?: {
@@ -321,7 +342,7 @@ export interface ic3Theme {
321
342
  caption: string;
322
343
  cssClass: string;
323
344
  waitForFonts?: () => Promise<any>;
324
- formatter: ThemeFormatters;
345
+ formatter: ThemeFormatterPerLocale | ThemeFormatters;
325
346
  /**
326
347
  * Icons used in tables and trees
327
348
  */
@@ -473,7 +494,7 @@ export interface ic3ThemeOptions {
473
494
  * fonts in the theme definition .ts file.
474
495
  */
475
496
  waitForFonts?: () => Promise<any>;
476
- formatter?: DeepPartial<ThemeFormatters>;
497
+ formatter?: DeepPartial<ThemeFormatterPerLocale | ThemeFormatters>;
477
498
  icons?: Partial<ic3Theme['icons']>;
478
499
  table?: Record<TableRowHeightOptions, Partial<{
479
500
  rowHeight: number;
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TableRowHeightOptions = void 0;
3
+ exports.TableRowHeightOptions = exports.isThemeFormatterPerLocale = void 0;
4
+ function isThemeFormatterPerLocale(x) {
5
+ return (x === null || x === void 0 ? void 0 : x['default']) != null;
6
+ }
7
+ exports.isThemeFormatterPerLocale = isThemeFormatterPerLocale;
4
8
  var TableRowHeightOptions;
5
9
  (function (TableRowHeightOptions) {
6
10
  TableRowHeightOptions["standard"] = "standard";
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AAuWA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
1
+ {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AAkGA,SAAgB,yBAAyB,CAAC,CAAqE;IAC3G,OAAO,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAG,SAAS,CAAC,KAAI,IAAI,CAAC;AAClC,CAAC;AAFD,8DAEC;AA+RD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, GroupRowIndices, IMdxAxisSeriesInfo, ITidyColumnIndex, ITidyColumnsSource, MdxInfo, MdxMemberCoordinates, TidyCellError, TidyColumnsSubType, TidyColumnsType } from "./PublicTidyTableTypes";
2
+ import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, GroupRowIndices, IMdxAxisSeriesInfo, ITidyColumnIndex, ITidyColumnsSource, MdxInfo, TidyCellError, TidyColumnsSubType, TidyColumnsType } from "./PublicTidyTableTypes";
3
3
  import { TidyActionEvent } from "./IcEvent";
4
4
  import { ThemeTextFormatter } from "./PublicTheme";
5
5
  import { Property } from "csstype";
6
6
  import { AppNotification } from "./INotification";
7
7
  import { MdxNodeIdentifier } from "./PublicTidyTable";
8
+ import { IPublicContext } from "./PublicContext";
8
9
  export interface ITidyColumnTypedValue {
9
10
  value: any;
10
11
  fValue?: string;
@@ -87,6 +88,11 @@ export declare enum ITidyColumnNamedProperties {
87
88
  * @see {ITidyColumn.getMdxInfo}
88
89
  */
89
90
  mdxInfoCaption = "mdxInfoCaption",
91
+ /**
92
+ * The MdxInfo
93
+ * @see {ITidyColumn.getMdxInfo}
94
+ */
95
+ mdxInfo = "mdxInfo",
90
96
  /**
91
97
  * Column defined as an MDX axis, the caption of the column
92
98
  */
@@ -235,7 +241,11 @@ export interface ITidyBaseColumnReadonly<T> {
235
241
  /**
236
242
  * Returns the color of this columns header.
237
243
  */
238
- getHeaderColor(): string | undefined;
244
+ getHeaderColor(hierarchyIdx?: number): string | undefined;
245
+ /**
246
+ * Returns the colors of this columns header.
247
+ */
248
+ getHeaderColors(): (string | undefined)[] | string | undefined;
239
249
  }
240
250
  /**
241
251
  * Base interface for nullable column.
@@ -244,7 +254,7 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
244
254
  /**
245
255
  * Set the color for the columns header
246
256
  */
247
- setHeaderColor(color: string | undefined): void;
257
+ setHeaderColor(color: (string | undefined)[] | string | undefined): void;
248
258
  isSameDimensionality(other: ITidyBaseColumn<any>): boolean;
249
259
  getErrors(): (TidyCellError | undefined)[];
250
260
  /**
@@ -258,6 +268,10 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
258
268
  * @param callback given the row index, outputs a value or undefined.
259
269
  */
260
270
  findFirst<P>(callback: (idx: number) => P | undefined): P | undefined;
271
+ /**
272
+ * returns true if the column as a property defining the formatted value
273
+ */
274
+ hasFormattedValue(): boolean;
261
275
  /**
262
276
  * Get the formatted value of the column at position idx.
263
277
  *
@@ -382,10 +396,6 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
382
396
  * if the column is not a MDX dimension.
383
397
  */
384
398
  getHierarchyDefaultMember(): EntityItem | undefined;
385
- /**
386
- * Get the mdx coordinate (axeIdx,hierIdx,tupleIdx) of the cell at rowIdx. Defines a member in a MDX Query result axes
387
- */
388
- getMdxCoordinates(rowIdx: number): MdxMemberCoordinates | undefined;
389
399
  /**
390
400
  * Get the array of MDX info in the column.
391
401
  * Returns an empty array if there is no MDX info.
@@ -527,6 +537,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
527
537
  * @param caption the caption for the added property
528
538
  */
529
539
  setFormattedValues(formattedValues: (string | null)[] | ((value: T | undefined) => string), caption?: string): void;
540
+ /**
541
+ * Resets the formatted value
542
+ *
543
+ * @see setFormattedValues
544
+ */
545
+ resetFormat(context: IPublicContext, format: ThemeTextFormatter): void;
530
546
  /**
531
547
  * Set the colors for the column.
532
548
  * @param caption the caption for the added property
@@ -591,16 +607,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
591
607
  */
592
608
  getRowIndexOf(value: T): number | undefined;
593
609
  /**
594
- * For a hierarchical columns returns a a list of transformed columns columns as needed by a pivot
595
- * table like structure
596
- *
597
- * (e.g. a columns with Year, Quarter and Month will be converted into 3 columns [Year,Quarter,Month])
598
- *
599
- * .. still experimental
610
+ * For a hierarchical columns returns a list of transformed columns as needed by a pivot table like structure.
611
+ * If this column is not hierarchical, return this unchanged.
600
612
  *
601
- * If not, hierarchical, return this
613
+ * E.g., a columns with Year, Quarter and Month will be converted into 3 columns [Year,Quarter,Month]).
602
614
  */
603
- toFlatColumns(nullValue: any): ITidyUnknownColumn[];
615
+ toFlatColumns(nullValue: any, rows: number[] | undefined): ITidyUnknownColumn[];
604
616
  /**
605
617
  * Returns the tree-path for the node, including the node itself. The path starts at the node at rowIdx and contains
606
618
  * its parents.
@@ -649,6 +661,7 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
649
661
  * return true if the column was created from an MDX axis (i.e. [Geo].[Countries] on 0 )
650
662
  */
651
663
  isMdxAxis(): boolean;
664
+ addRowValue(insert: ITidyColumnAddValueInsert): void;
652
665
  }
653
666
  export interface PublicTidyColumnCellDecorationRenderedOptions {
654
667
  cellWidth?: number;
@@ -66,6 +66,11 @@ var ITidyColumnNamedProperties;
66
66
  * @see {ITidyColumn.getMdxInfo}
67
67
  */
68
68
  ITidyColumnNamedProperties["mdxInfoCaption"] = "mdxInfoCaption";
69
+ /**
70
+ * The MdxInfo
71
+ * @see {ITidyColumn.getMdxInfo}
72
+ */
73
+ ITidyColumnNamedProperties["mdxInfo"] = "mdxInfo";
69
74
  /**
70
75
  * Column defined as an MDX axis, the caption of the column
71
76
  */
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AAmDA;;GAEG;AACH,IAAY,0BA8FX;AA9FD,WAAY,0BAA0B;IAElC;;OAEG;IACH,oD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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,GAA1B,kCAA0B,KAA1B,kCAA0B,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"}
@@ -37,7 +37,7 @@ export interface ITidyTable {
37
37
  */
38
38
  getQueryUid(): number;
39
39
  isSameDimensionality(other: ITidyTable): boolean;
40
- asPivotTableForExcel(nullValue: any): ITidyColumn[];
40
+ asPivotTableForExcel(nullValue: any, rows: number[] | undefined): ITidyColumn[];
41
41
  /**
42
42
  * Return all columns in the table
43
43
  */
@@ -177,6 +177,8 @@ export interface ITidyTableDrilldown {
177
177
  export interface ITidyTableInteractionEvent {
178
178
  /**
179
179
  * actionName if the action is bound to a channel, sends the events ( e.g. 'onClick' to the channel 'year' )
180
+ *
181
+ * If rowIdx is an empty array, [], fires a mdx empty set event -> ∅
180
182
  */
181
183
  fireEvent(actionName: string, column: ITidyColumn | ITidyColumn[] | undefined, rowIdx: number | number[]): void;
182
184
  fireClearEvent(actionName: string): void;
@@ -130,34 +130,28 @@ export interface IFormFieldGranularityColumns {
130
130
  type: "all_columns";
131
131
  }
132
132
  /**
133
- * Coordinate of an MDX member
133
+ * The coordinate of an MDX axis. If and only if the columns source is from ON 0, the hierIdx is defined.
134
134
  */
135
- export interface MdxMemberCoordinates {
135
+ export interface AxisCoordinate {
136
136
  /**
137
- * index of the axis. ON 0, ON 1, etc..
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...
138
143
  */
139
144
  axisIdx: number;
140
145
  /**
141
146
  * index of the tuple in the axis. E.g. (AF, 2009) in [AF, 2008, AF, 2009, AF, 2010] has index 1.
142
147
  */
143
- tupleIdx: number;
148
+ tupleIdx?: number;
144
149
  /**
145
150
  * index of the member in the tuple. E.g. AF in (AF, 2009) has index 0 and 2009 has index 1.
146
151
  * undefined means use the whole tuple.
147
152
  */
148
153
  hierIdx?: number;
149
154
  }
150
- type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
151
- /**
152
- * The coordinate of an MDX axis. If and only if the columns source is from ON 0, the hierIdx is defined.
153
- */
154
- export interface AxisCoordinate extends Optional<MdxMemberCoordinates, "tupleIdx"> {
155
- /**
156
- * Object keeping track of the transformation from the original axis to the current column.
157
- * If this object is undefined, then the column can not be constructed using a coordinate transformation of the axis.
158
- */
159
- repetitionInfo?: MdxRepetitionInfo;
160
- }
161
155
  export interface MdxRepetitionInfo {
162
156
  /**
163
157
  * The number of members in the axis (From 'len' in the json axis guts).
@@ -235,10 +229,6 @@ export interface MdxInfo {
235
229
  * hierUN
236
230
  */
237
231
  hierUN: string;
238
- /**
239
- * Index on the MDX axis of the tuple the member belongs to.
240
- */
241
- tupleIndex: number;
242
232
  }
243
233
  export type MdxLevelType = "date" | "time";
244
234
  export type MdxLevelSubType = "YEAR" | "HALF_YEAR" | "QUARTER" | "MONTH" | "WEEK" | "DAY" | "DAY_MONTH" | "DAY_YEAR" | "HOUR" | "HALF_HOUR" | "QUARTER_HOUR" | "MINUTE" | "SECOND";
@@ -478,4 +468,3 @@ export interface TreeRowPropsTreeData {
478
468
  * Function filtering the rows of a column / table. Returns true if the row is included, false if the row is excluded.
479
469
  */
480
470
  export type TidyRowFilter = (rowIdx: number) => boolean;
481
- export {};
@@ -1 +1 @@
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,GAAf,uBAAe,KAAf,uBAAe,QA0D1B;AAkBD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,qCAAe,CAAA;IACf,uDAAiC,CAAA;IACjC,yCAAmB,CAAA;AACvB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,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,GAArC,6CAAqC,KAArC,6CAAqC,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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,GAAlB,0BAAkB,KAAlB,0BAAkB,QAqC7B;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,sCAAuB,CAAA;IACvB,wCAAyB,CAAA;IACzB,wCAAyB,CAAA;AAC7B,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,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,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,uCAAa,CAAA;IACb,yCAAe,CAAA;AACnB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAyBD;;;;;GAKG;AACH,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,gCAAa,CAAA;AACjB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from "./INotification";
5
5
  export * from "./IPluginDefinition";
6
6
  export * from "./IRemotePluginName";
7
7
  export * from "./IThemeManager";
8
+ export * from "./IUserMenuOptionManager";
8
9
  export * from "./PublicAmchartsData";
9
10
  export * from "./PublicAmCharts4Base";
10
11
  export * from "./ITidyTableTransformation";
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./INotification"), exports);
21
21
  __exportStar(require("./IPluginDefinition"), exports);
22
22
  __exportStar(require("./IRemotePluginName"), exports);
23
23
  __exportStar(require("./IThemeManager"), exports);
24
+ __exportStar(require("./IUserMenuOptionManager"), exports);
24
25
  __exportStar(require("./PublicAmchartsData"), exports);
25
26
  __exportStar(require("./PublicAmCharts4Base"), exports);
26
27
  __exportStar(require("./ITidyTableTransformation"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,6DAA0C;AAC1C,oEAAiD;AACjD,2CAAwB;AACxB,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AAEnC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C;AAC3C,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,iEAA+C;AAC/C,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,4DAA0C;AAC1C,uDAAqC;AACrC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,6DAA0C;AAC1C,oEAAiD;AACjD,2CAAwB;AACxB,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AAEnC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C;AAC3C,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,iEAA+C;AAC/C,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,4DAA0C;AAC1C,uDAAqC;AACrC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,4DAA0C"}
@@ -77,6 +77,14 @@ export declare enum SeriesLabelsPosition {
77
77
  END = "END",
78
78
  OUTSIDE = "OUTSIDE"
79
79
  }
80
+ export declare enum SeriesType {
81
+ LINE = "LINE",
82
+ COLUMN = "COLUMN"
83
+ }
84
+ export declare enum DrawSeriesOnAxis {
85
+ LEFT = "left",
86
+ RIGHT = "right"
87
+ }
80
88
  export interface IBulletShapeOptions extends FormFieldObject {
81
89
  bulletShapeWidth: number;
82
90
  bulletShapeHeight: number;
@@ -252,7 +260,7 @@ export interface Am4GaugeAxisOptions extends FormFieldObject {
252
260
  /**
253
261
  * Format.
254
262
  *
255
- * Format pattern. Examples: integer: `#.`; number: `#`; two decimals: `#.00`; thousands/millions: `#a`; currency: `€#`.
263
+ * Format pattern. Examples: integer: `#`; two decimals: `#.00`; thousands/millions: `#a`; currency: `€#`.
256
264
  */
257
265
  gaugeAxisValueFormat?: string;
258
266
  /**
@@ -421,7 +429,7 @@ export interface Am4ValueAxisOptions extends FormFieldObject {
421
429
  /**
422
430
  * Value Format.
423
431
  *
424
- * Format pattern. Examples: integer: `#.`; number: `#`; two decimals: `#.00`; thousands/millions: `#a`; currency: `€#`.
432
+ * Format pattern. Examples: integer: `#`; two decimals: `#.00`; thousands/millions: `#a`; currency: `€#`.
425
433
  */
426
434
  yAxisValueFormat?: string;
427
435
  /**
@@ -529,6 +537,28 @@ export interface Am4ValueLabelOptions extends FormFieldObject {
529
537
  */
530
538
  seriesLabelsStackTotalText?: string;
531
539
  }
540
+ export interface Am4SecondValueLabelOptions extends FormFieldObject {
541
+ /**
542
+ * @see Am4ValueLabelOptions
543
+ */
544
+ seriesLabelsEnabledSecond: boolean;
545
+ /**
546
+ * @see Am4ValueLabelOptions
547
+ */
548
+ seriesLabelsTextSecond: string;
549
+ /**
550
+ * @see Am4ValueLabelOptions
551
+ */
552
+ seriesLabelsPositionSecond: SeriesLabelsPosition;
553
+ /**
554
+ * @see Am4ValueLabelOptions
555
+ */
556
+ seriesLabelsHideOversizeSecond: boolean;
557
+ /**
558
+ * @see Am4ValueLabelOptions
559
+ */
560
+ seriesLabelsStackTotalTextSecond?: string;
561
+ }
532
562
  export interface Am4ChartCursorOptions extends FormFieldObject {
533
563
  /**
534
564
  * Chart Cursor.
@@ -586,6 +616,10 @@ export interface Am4SankeyFlowOptions extends FormFieldObject {
586
616
  * Color Mode.
587
617
  */
588
618
  colorMode: 'solid' | 'gradient' | 'fromNode' | 'toNode';
619
+ /**
620
+ * The tooltip for the node
621
+ */
622
+ flowTooltip?: string;
589
623
  }
590
624
  export interface Am4SankeyNodeOptions extends FormFieldObject, IStrokeStyleProperties {
591
625
  /**
@@ -594,6 +628,10 @@ export interface Am4SankeyNodeOptions extends FormFieldObject, IStrokeStylePrope
594
628
  * Depending on the orientation, the width (if horizontal) or height (if vertical) of the node.
595
629
  */
596
630
  nodeWidth: number;
631
+ /**
632
+ * Tooltip for the node
633
+ */
634
+ nodeTooltip?: string;
597
635
  }
598
636
  export interface Am4SankeyDiagramOptions extends FormFieldObject {
599
637
  /**
@@ -602,6 +640,10 @@ export interface Am4SankeyDiagramOptions extends FormFieldObject {
602
640
  * Show the Sankey from left to right if 'Horizontal' and from top to bottom if 'Vertical'.
603
641
  */
604
642
  orientation: 'horizontal' | 'vertical';
643
+ /**
644
+ * If true, the first column describes the from nodes, and the second column the to nodes.
645
+ */
646
+ useFromToDataDefinition: boolean;
605
647
  }
606
648
  export interface Am4TreeMapSeriesOptions extends FormFieldObject, IStrokeStyleProperties {
607
649
  /**
@@ -796,7 +838,7 @@ export interface Am4SecondValueAxisOptions extends FormFieldObject {
796
838
  /**
797
839
  * Value Format.
798
840
  *
799
- * Format pattern. Examples: integer: `#.`; number: `#`; two decimals: `#.00`; thousands/millions: `#a`; currency: `€#`.
841
+ * Format pattern. Examples: integer: `#`; two decimals: `#.00`; thousands/millions: `#a`; currency: `€#`.
800
842
  */
801
843
  yAxisSecondValueFormat?: string;
802
844
  /**
@@ -1155,12 +1197,6 @@ export interface Am4ValueAxisRangeOptions extends FormFieldObject {
1155
1197
  }
1156
1198
  export interface Am4LineSeriesOptions extends FormFieldObject, IStrokeStyleProperties, IBulletShapeOptions {
1157
1199
  /**
1158
- * [Combo Chart]
1159
- *
1160
- * Line.
1161
- *
1162
- * Values for the line.
1163
- *
1164
1200
  * [Line Chart]
1165
1201
  *
1166
1202
  * Line Values.
@@ -1231,24 +1267,64 @@ export interface Am4LineSeriesOptions extends FormFieldObject, IStrokeStylePrope
1231
1267
  smoothLineTensionX: number;
1232
1268
  smoothLineTensionY: number;
1233
1269
  }
1234
- export interface Am4ComboSeriesOptions extends Am4LineSeriesOptions, Am4ColumnSeriesOptions {
1270
+ export interface Am4ComboSeriesOptions extends FormFieldObject, IStrokeStyleProperties {
1271
+ /**
1272
+ * Values for the left series. Named line due to legacy.
1273
+ */
1274
+ lineValue: TidyTableColumnSelector[];
1275
+ /**
1276
+ * Values for the right series. Named column due to legacy.
1277
+ */
1278
+ columnValue: TidyTableColumnSelector[];
1235
1279
  /**
1236
1280
  * Draw the line-series in this axis. Defaults to "left".
1237
1281
  */
1238
- lineSeriesDrawOnAxis: "left" | "right";
1282
+ lineSeriesDrawOnAxis: DrawSeriesOnAxis;
1239
1283
  /**
1240
1284
  * Draw the column-series in this axis. Defaults to "right".
1241
1285
  */
1242
- columnSeriesDrawOnAxis: "left" | "right";
1286
+ columnSeriesDrawOnAxis: DrawSeriesOnAxis;
1287
+ /**
1288
+ * Type of the left series. Line / Column.
1289
+ */
1290
+ seriesTypeLeft: SeriesType;
1291
+ /**
1292
+ * Type of the right series. Line / Column.
1293
+ */
1294
+ seriesTypeRight: SeriesType;
1295
+ lineBulletShapeLeft?: TidyTableColumnSelector;
1296
+ hideLineBulletsLeft: boolean;
1297
+ chartCursorTooltipLineLeft: string;
1298
+ legendLineSeriesLabelLeft?: string;
1299
+ legendLineSeriesShowValueLeft: boolean;
1300
+ areaFillOpacityLeft: number;
1301
+ lineSeriesColorLeft?: TidyTableColumnSelector;
1302
+ connectLineSeriesLeft: boolean;
1303
+ smoothLineMethodLeft: Amcharts4LineSmoothMethod;
1304
+ smoothLineTensionXLeft: number;
1305
+ smoothLineTensionYLeft: number;
1306
+ chartCursorTooltipColumnLeft: string;
1307
+ legendColumnSeriesLabelLeft?: string;
1308
+ legendColumnSeriesShowValueLeft: boolean;
1309
+ columnSeriesColorLeft?: TidyTableColumnSelector;
1310
+ lineBulletShapeRight?: TidyTableColumnSelector;
1311
+ hideLineBulletsRight: boolean;
1312
+ chartCursorTooltipLineRight: string;
1313
+ legendLineSeriesLabelRight?: string;
1314
+ legendLineSeriesShowValueRight: boolean;
1315
+ areaFillOpacityRight: number;
1316
+ lineSeriesColorRight?: TidyTableColumnSelector;
1317
+ connectLineSeriesRight: boolean;
1318
+ smoothLineMethodRight: Amcharts4LineSmoothMethod;
1319
+ smoothLineTensionXRight: number;
1320
+ smoothLineTensionYRight: number;
1321
+ chartCursorTooltipColumnRight: string;
1322
+ legendColumnSeriesLabelRight?: string;
1323
+ legendColumnSeriesShowValueRight: boolean;
1324
+ columnSeriesColorRight?: TidyTableColumnSelector;
1243
1325
  }
1244
1326
  export interface Am4ColumnSeriesOptions extends FormFieldObject, IStrokeStyleProperties {
1245
1327
  /**
1246
- * [Combo Chart]
1247
- *
1248
- * Values.
1249
- *
1250
- * Values for the columns.
1251
- *
1252
1328
  * [Column Chart]
1253
1329
  *
1254
1330
  * Column Values.
@@ -1465,7 +1541,7 @@ export type AmCharts4BubbleChartOptions = Am4SecondValueAxisOptions & Am4ValueAx
1465
1541
  /**
1466
1542
  * The corresponding AmCharts 4 chart class is XYChart.
1467
1543
  */
1468
- export type AmCharts4ComboChartOptions = Am4CategoryDateAxisOptions & Am4ValueAxisOptions & Am4SecondValueAxisOptions & Am4ComboSeriesOptions & Am4LegendOptions & Am4ChartCursorOptions & Am4ScrollbarOptions & Am4ChartOptions;
1544
+ export type AmCharts4ComboChartOptions = Am4CategoryDateAxisOptions & Am4ValueAxisOptions & Am4SecondValueAxisOptions & Am4ComboSeriesOptions & Am4LegendOptions & Am4ChartCursorOptions & Am4ScrollbarOptions & Am4ChartOptions & Am4ValueLabelOptions & Am4SecondValueLabelOptions;
1469
1545
  export type AmCharts4CoordinateChartOptions = Am4TrendLineOptions;
1470
1546
  /**
1471
1547
  * The corresponding AmCharts 4 chart class is XYChart.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SeriesLabelsPosition = exports.CategoryAxisRotateLabels = exports.OverflowType = exports.LegendPositionOption = exports.TrendLineType = exports.Amcharts4LineSmoothMethod = exports.GeoMapChartUnMatchedRegionStrategy = exports.GeoMapChartProjection = exports.AxisRangeType = void 0;
3
+ exports.DrawSeriesOnAxis = exports.SeriesType = exports.SeriesLabelsPosition = exports.CategoryAxisRotateLabels = exports.OverflowType = exports.LegendPositionOption = exports.TrendLineType = exports.Amcharts4LineSmoothMethod = exports.GeoMapChartUnMatchedRegionStrategy = exports.GeoMapChartProjection = exports.AxisRangeType = void 0;
4
4
  var AxisRangeType;
5
5
  (function (AxisRangeType) {
6
6
  AxisRangeType["LINE"] = "single_line";
@@ -71,4 +71,14 @@ var SeriesLabelsPosition;
71
71
  SeriesLabelsPosition["END"] = "END";
72
72
  SeriesLabelsPosition["OUTSIDE"] = "OUTSIDE";
73
73
  })(SeriesLabelsPosition = exports.SeriesLabelsPosition || (exports.SeriesLabelsPosition = {}));
74
+ var SeriesType;
75
+ (function (SeriesType) {
76
+ SeriesType["LINE"] = "LINE";
77
+ SeriesType["COLUMN"] = "COLUMN";
78
+ })(SeriesType = exports.SeriesType || (exports.SeriesType = {}));
79
+ var DrawSeriesOnAxis;
80
+ (function (DrawSeriesOnAxis) {
81
+ DrawSeriesOnAxis["LEFT"] = "left";
82
+ DrawSeriesOnAxis["RIGHT"] = "right";
83
+ })(DrawSeriesOnAxis = exports.DrawSeriesOnAxis || (exports.DrawSeriesOnAxis = {}));
74
84
  //# sourceMappingURL=ThemeAmCharts4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeAmCharts4.js","sourceRoot":"","sources":["../../src/theme/ThemeAmCharts4.ts"],"names":[],"mappings":";;;AAKA,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,qCAAoB,CAAA;IACpB,gCAAe,CAAA;IACf,sDAAqC,CAAA;AACzC,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;IACvB,kEAAyC,CAAA;IACzC,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,kDAAyB,CAAA;IACzB,8CAAqB,CAAA;IACrB,0CAAiB,CAAA;IACjB,wDAA+B,CAAA;IAC/B,sDAA6B,CAAA;IAC7B,wDAA+B,CAAA;AACnC,CAAC,EAZW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAYhC;AAED,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC1C,6EAAuC,CAAA;IACvC,2EAAqC,CAAA;AACzC,CAAC,EAHW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAG7C;AAED,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACjC,0CAAa,CAAA;IACb,gDAAmB,CAAA;IACnB,qDAAwB,CAAA;IACxB,qDAAwB,CAAA,CAAE,2FAA2F;AACzH,CAAC,EALW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAKpC;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IAErB,8BAAa,CAAA;IAEb,4BAAW,CAAA;AAEf,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,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,CAAA;AACb,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAED,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC5B,uCAAe,CAAA;IACf,yCAAiB,CAAA;IACjB,mCAAW,CAAA;IACX,2CAAmB,CAAA;AACvB,CAAC,EALW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAK/B;AAED,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,2BAAa,CAAA;IACb,+BAAiB,CAAA;AACrB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,iCAAa,CAAA;IACb,mCAAe,CAAA;AACnB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
@@ -45,4 +45,6 @@ export interface FilterAutocompleteChartOptions extends FilterTidyTableChartOpti
45
45
  }
46
46
  export type FilterAutocompleteProps = Pick<FilterAutocompleteChartOptions, 'variant' | 'size'> & {
47
47
  hideInput?: boolean;
48
+ } & {
49
+ addHOverflow: boolean;
48
50
  };
@@ -57,8 +57,18 @@ export interface FilterButtonsChartOptions extends FilterTidyTableChartOptions {
57
57
  */
58
58
  columns?: number;
59
59
  }
60
+ /**
61
+ * Props for the FilterButtons root slot.
62
+ */
60
63
  export interface FilterButtonsProps {
61
64
  printing: boolean;
62
65
  variant?: string;
63
66
  grouped: boolean;
67
+ columns?: number;
68
+ }
69
+ /**
70
+ * Props for the FilterButtons Container slot.
71
+ */
72
+ export interface FilterButtonsContainerProps {
73
+ columns?: number;
64
74
  }