@ic3/reporting-api 8.4.1 → 8.4.2

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.
package/dist/ApiUtils.js CHANGED
@@ -8,7 +8,7 @@ const ReportingVersion_1 = __importDefault(require("./ReportingVersion"));
8
8
  class ApiUtils {
9
9
  static makePlugin(definition) {
10
10
  return () => {
11
- return Object.assign({ apiVersion: new ReportingVersion_1.default("8.4.1" || "-", "Fri, 05 May 2023 07:37:25 GMT" || "-") }, definition);
11
+ return Object.assign({ apiVersion: new ReportingVersion_1.default("8.4.2" || "-", "Tue, 13 Jun 2023 12:40:49 GMT" || "-") }, definition);
12
12
  };
13
13
  }
14
14
  /**
@@ -41,6 +41,7 @@ import { WidgetTemplateChartOptions } from "./PublicTemplates";
41
41
  import { WidgetFilteredByClassesKey } from "./theme/ThemeWidgetFilteredBy";
42
42
  import { IUserMenuOptions, IWidgetBoxIconsDefinition } from "./ITypes";
43
43
  import { Ic3TableCellProps, ThemeIc3TableCellClassesKey } from "./theme/ThemeIc3TableCell";
44
+ import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
44
45
  export type Ic3ChartVariants = {
45
46
  [Name in keyof WidgetTemplateChartOptions]?: Array<{
46
47
  props: {
@@ -155,6 +156,13 @@ export interface ic3Palette {
155
156
  * The color for a selected item
156
157
  */
157
158
  selected: Property.Color;
159
+ /**
160
+ * For charts, you can define a function that derives the selected color from the color of the clicked item without
161
+ * selection. For example, you can use darken(color) from Mui-Material to get a darker color.
162
+ * @param color the color of the item without selection.
163
+ * @Return the color for the item in the selected state.
164
+ */
165
+ selectedChart?: (color: Property.Color | undefined | null) => Property.Color;
158
166
  /**
159
167
  * The text color for a selected item
160
168
  */
@@ -610,6 +618,10 @@ interface ic3BaseComponents {
610
618
  variants?: ComponentsVariants['FilterPanel'];
611
619
  styleOverrides?: ComponentsOverrides["FilterPanel"];
612
620
  };
621
+ RegexFilter?: {
622
+ variants?: ComponentsVariants['RegexFilter'];
623
+ styleOverrides?: ComponentsOverrides["RegexFilter"];
624
+ };
613
625
  FilterSlider?: {
614
626
  styleOverrides?: ComponentsOverrides["FilterSlider"];
615
627
  variants?: ComponentsVariants["FilterSlider"];
@@ -796,6 +808,7 @@ declare module '@mui/material/styles/overrides' {
796
808
  FilterButtons: FilterButtonsClassKey;
797
809
  LazyTreeViewStyled: LazyTreeClassesClassKey;
798
810
  FilterPanel: FilterPanelClassesKey;
811
+ RegexFilter: RegexFilterClassesKey;
799
812
  FilterSlider: FilterSliderClassKey;
800
813
  ListCounter: ListCounterClassKey;
801
814
  FilterTree: FilterTreeClassKey;
@@ -827,6 +840,7 @@ declare module '@mui/material/styles/props' {
827
840
  FilterButtons: FilterButtonsProps;
828
841
  LazyTreeViewStyled: LazyTreeProps;
829
842
  FilterPanel: FilterPanelProps;
843
+ RegexFilter: RegexFilterProps;
830
844
  FilterSlider: FilterSliderProps;
831
845
  ListCounter: ListCounterProps;
832
846
  FilterTree: FilterTreeProps;
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AA6VA,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":";;;AAuWA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
@@ -77,9 +77,16 @@ export declare enum ITidyColumnNamedProperties {
77
77
  */
78
78
  eventMdxValue = "eventMdxValue",
79
79
  /**
80
- * Column defined as an MDX axis, the unique name of the column (the name is the value of the column)
80
+ * Column defined as an MDX axis, the unique name of the column (the name is the value of the column).
81
+ * This value is fired when doing selection events.
82
+ * @see {ITidyColumn.getMdxInfo}
81
83
  */
82
84
  uniqueName = "uniqueName",
85
+ /**
86
+ * The caption of the selection event to use. Returned by getMdxInfo(..).
87
+ * @see {ITidyColumn.getMdxInfo}
88
+ */
89
+ mdxInfoCaption = "mdxInfoCaption",
83
90
  /**
84
91
  * Column defined as an MDX axis, the caption of the column
85
92
  */
@@ -584,10 +591,10 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
584
591
  */
585
592
  getRowIndexOf(value: T): number | undefined;
586
593
  /**
587
- * For a hierarchical columns returns a a list of transformed colummns columns as needed by a pivot
594
+ * For a hierarchical columns returns a a list of transformed columns columns as needed by a pivot
588
595
  * table like structure
589
596
  *
590
- * (e.g. a columns with Year, Quarter and Month will be converteded into 3 columns [Year,Quarter,Month])
597
+ * (e.g. a columns with Year, Quarter and Month will be converted into 3 columns [Year,Quarter,Month])
591
598
  *
592
599
  * .. still experimental
593
600
  *
@@ -683,22 +690,4 @@ export type ITidyDateColumn = ITidyBaseColumn<Date | null>;
683
690
  export type ITidyLogicalColumn = ITidyBaseColumn<boolean | null>;
684
691
  export type ITidyListColumn = ITidyBaseColumn<any[] | null>;
685
692
  export type ITidyColumnIsType<T extends TidyColumnsType> = T extends TidyColumnsType.ANY ? ITidyColumn : T extends TidyColumnsType.COLOR ? ITidyColorColumn : T extends TidyColumnsType.LONGITUDE ? ITidyBaseColumn<number | null> : T extends TidyColumnsType.LATITUDE ? ITidyBaseColumn<number | null> : T extends TidyColumnsType.ISO2_LOCATION_CODE ? ITidyCharacterColumn : T extends TidyColumnsType.DATETIME ? ITidyDateColumn : T extends TidyColumnsType.NUMERIC ? ITidyNumericColumn : T extends TidyColumnsType.CHARACTER ? ITidyCharacterColumn : T extends TidyColumnsType.LOGICAL ? ITidyLogicalColumn : T extends TidyColumnsType.LIST ? ITidyListColumn : T extends TidyColumnsType.MIXED ? ITidyColumn : T extends TidyColumnsType.NULL ? ITidyNullColumn : ITidyUnknownColumn;
686
- /**
687
- * Introduced for tidy table HTML expression (e.g., tooltip) completion.
688
- *
689
- * Quite simple for now: caption (as shown in the completion) to the actual Javascript method.
690
- */
691
- export interface TidyTableExprColumnMeta {
692
- caption: string;
693
- method: string;
694
- /**
695
- * If true, then modifier only available when eval mode is "row".
696
- */
697
- argRow?: boolean;
698
- /**
699
- * If true, then modifier only available when the fieldMeta has allowTotalOfSelection set to true.
700
- */
701
- allowsSelectedTotal?: boolean;
702
- }
703
- export declare const TidyTableTextExprColumnMetas: TidyTableExprColumnMeta[];
704
693
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TidyTableTextExprColumnMetas = exports.CharacterTidyColumnProperties = exports.ITidyColumnNamedProperties = void 0;
3
+ exports.CharacterTidyColumnProperties = exports.ITidyColumnNamedProperties = void 0;
4
4
  /**
5
5
  * Properties with a special meaning
6
6
  */
@@ -56,9 +56,16 @@ var ITidyColumnNamedProperties;
56
56
  */
57
57
  ITidyColumnNamedProperties["eventMdxValue"] = "eventMdxValue";
58
58
  /**
59
- * Column defined as an MDX axis, the unique name of the column (the name is the value of the column)
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}
60
62
  */
61
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";
62
69
  /**
63
70
  * Column defined as an MDX axis, the caption of the column
64
71
  */
@@ -85,21 +92,4 @@ exports.CharacterTidyColumnProperties = new Set([
85
92
  ITidyColumnNamedProperties.caption,
86
93
  ITidyColumnNamedProperties.tooltip,
87
94
  ]);
88
- exports.TidyTableTextExprColumnMetas = [
89
- { caption: "total", method: "sum" },
90
- { caption: "average", method: "mean" },
91
- { caption: "median", method: "median" },
92
- { caption: "min", method: "min" },
93
- { caption: "max", method: "max" },
94
- { caption: "variance", method: "variance" },
95
- { caption: "standardDeviation", method: "standardDeviation" },
96
- { caption: "count", method: "count" },
97
- { caption: "percent", method: "percent", argRow: true },
98
- { caption: "caption", method: "getCaption" },
99
- { caption: "mdxName", method: "mdxName", argRow: true },
100
- { caption: "mdxCaption", method: "mdxCaption", argRow: true },
101
- { caption: "mdxUniqueName", method: "mdxUniqueName", argRow: true },
102
- { caption: "mdxKey", method: "mdxKey", argRow: true },
103
- { caption: "totalSelectedOrTotal", method: "sumFiltered", allowsSelectedTotal: true }
104
- ];
105
95
  //# sourceMappingURL=PublicTidyColumn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AAmDA;;GAEG;AACH,IAAY,0BAsFX;AAtFD,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;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,gDAAkB,CAAA;IAElB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,mDAAqB,CAAA;AACzB,C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C,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { ITidyBaseColumnReadonly } from "./PublicTidyColumn";
2
2
  import { HistogramData, HistogramOptions, TidyRowFilter } from "./PublicTidyTableTypes";
3
3
  import { TrendLineType } from "./theme/ThemeAmCharts4";
4
+ import { ITidyTable } from "./PublicTidyTable";
4
5
  /**
5
6
  * Utility class for doing maths in columns
6
7
  *
@@ -88,12 +89,60 @@ export interface ITidyMath {
88
89
  * @param x column y
89
90
  */
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;
91
116
  /**
92
117
  * Calculate the percentage w.r.t. the total of the column.
93
118
  * @param column
94
119
  * @param idx row index of the cell to calculate the percentage of.
95
120
  */
96
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;
97
146
  /**
98
147
  * Count the values in the column. For example: [a, b, b] -> {a: 1, b: 2}.
99
148
  */
@@ -418,7 +418,8 @@ export interface ITidyTable {
418
418
  createColumn<T>(name: string, values: T[], type?: AllowedColumnType<T>): ITidyBaseColumn<T>;
419
419
  createTable(): ITidyTable;
420
420
  /**
421
- * Returns a new table with the original columns and rows filtered and in a new order
421
+ * Returns a new table with the original columns and rows filtered and in a new order.
422
+ * It leaves the original table intact.
422
423
  *
423
424
  * cols : [2,1,4] -> 3 columns in a new order
424
425
  * rowIdx:[55,2,3,5] -> 4 rows in a new order
@@ -282,6 +282,10 @@ export interface ITidyTableInteraction extends ITidyTableInteractionSelection, I
282
282
  */
283
283
  getSelectedRows(): number[];
284
284
  setSortSelectionToColumnOrder(value: boolean): void;
285
+ /**
286
+ * Returns compacted selection if TreeFireEventMode === COMPACT_ON_PARENT. Else returns undefined.
287
+ */
288
+ getCompactedSelectionItems(): ITidyTableSelection[] | undefined;
285
289
  /**
286
290
  * Returns the widgets selection options.
287
291
  */
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ export * from "./theme/ThemeFilterAutocomplete";
44
44
  export * from "./theme/ThemeFilterButtons";
45
45
  export * from "./theme/ThemeFilterCheckboxRadio";
46
46
  export * from "./theme/ThemeFilterPanel";
47
+ export * from "./theme/ThemeRegexFilter";
47
48
  export * from "./theme/ThemeSinglePanelFilter";
48
49
  export * from "./theme/ThemeFilterSlider";
49
50
  export * from "./theme/ThemeFilterTree";
package/dist/index.js CHANGED
@@ -60,6 +60,7 @@ __exportStar(require("./theme/ThemeFilterAutocomplete"), exports);
60
60
  __exportStar(require("./theme/ThemeFilterButtons"), exports);
61
61
  __exportStar(require("./theme/ThemeFilterCheckboxRadio"), exports);
62
62
  __exportStar(require("./theme/ThemeFilterPanel"), exports);
63
+ __exportStar(require("./theme/ThemeRegexFilter"), exports);
63
64
  __exportStar(require("./theme/ThemeSinglePanelFilter"), exports);
64
65
  __exportStar(require("./theme/ThemeFilterSlider"), exports);
65
66
  __exportStar(require("./theme/ThemeFilterTree"), 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,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,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"}
@@ -42,8 +42,7 @@ export interface DatePickerChartOptions extends FormFieldObject {
42
42
  /**
43
43
  * Input Date Format.
44
44
  *
45
- * The input date format using the [date-fns](https://date-fns.org/v2.23.0/docs/format) syntax.
46
- * For example, dd => 22, MM => 02, MMM => Jan, MMMM => January, yyyy => 2025, EEEE -> Monday).
45
+ * The input date format
47
46
  */
48
47
  dateFormat: string;
49
48
  /**
@@ -76,7 +75,7 @@ export interface DatePickerChartOptions extends FormFieldObject {
76
75
  /**
77
76
  * Date Caption.
78
77
  *
79
- * The caption of the fired event. A back ticked format string using the [date-fns](https://date-fns.org/v2.23.0/docs/format) syntax.
78
+ * The caption of the fired event.
80
79
  * For example, dd => 22, MM => 02, MMM => Jan, MMMM => January, yyyy => 2025, EEEE => Monday.
81
80
  */
82
81
  dateToCaption: string;
@@ -29,9 +29,9 @@ export declare class FilterPanelClasses {
29
29
  */
30
30
  static readonly headerDivAddButton = "ic3FilterPanel-HeaderDivAddButton";
31
31
  /**
32
- * Remove all button
32
+ * Reset filter button
33
33
  */
34
- static readonly headerDivRemoveAllButton = "ic3FilterPanel-HeaderDivRemoveAllButton";
34
+ static readonly headerDivResetButton = "ic3FilterPanel-HeaderDivResetButton";
35
35
  /**
36
36
  * Div of the content root. Used for animation purposes.
37
37
  */
@@ -33,9 +33,9 @@ FilterPanelClasses.headerDivButtons = "ic3FilterPanel-header-buttons";
33
33
  */
34
34
  FilterPanelClasses.headerDivAddButton = "ic3FilterPanel-HeaderDivAddButton";
35
35
  /**
36
- * Remove all button
36
+ * Reset filter button
37
37
  */
38
- FilterPanelClasses.headerDivRemoveAllButton = "ic3FilterPanel-HeaderDivRemoveAllButton";
38
+ FilterPanelClasses.headerDivResetButton = "ic3FilterPanel-HeaderDivResetButton";
39
39
  /**
40
40
  * Div of the content root. Used for animation purposes.
41
41
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,gDA4FC;AA3FG;;GAEG;AACa,0BAAO,GAAG,qBAAqB,CAAC;AAEhD;;GAEG;AACa,6BAAU,GAAG,wBAAwB,CAAC;AAEtD;;GAEG;AACa,4BAAS,GAAG,uBAAuB,CAAC;AAEpD;;GAEG;AACa,2BAAQ,GAAG,sBAAsB,CAAC;AAElD;;GAEG;AACa,+BAAY,GAAG,2BAA2B,CAAC;AAE3D;;GAEG;AACa,mCAAgB,GAAG,+BAA+B,CAAC;AAEnE;;GAEG;AACa,qCAAkB,GAAG,mCAAmC,CAAC;AAEzE;;GAEG;AACa,2CAAwB,GAAG,yCAAyC,CAAC;AAErF;;GAEG;AACa,iCAAc,GAAG,6BAA6B,CAAC;AAE/D;;GAEG;AACa,6BAAU,GAAG,wBAAwB,CAAC;AAEtD;;GAEG;AACa,mCAAgB,GAAG,0BAA0B,CAAC;AAE9D;;GAEG;AACa,gCAAa,GAAG,2BAA2B,CAAC;AAE5D;;GAEG;AACa,sCAAmB,GAAG,iCAAiC,CAAC;AAExD,wCAAqB,GAAG,gCAAgC,CAAC;AAEzD,yCAAsB,GAAG,iCAAiC,CAAC;AAE3E;;GAEG;AACa,6BAAU,GAAG,iCAAiC,CAAC;AAE/C,iCAAc,GAAG,+BAA+B,CAAC;AAEjE;;GAEG;AACa,0CAAuB,GAAG,6BAA6B,CAAC;AAExE;;GAEG;AACa,4BAAS,GAAG,0BAA0B,CAAC;AAEvD;;GAEG;AACa,oCAAiB,GAAG,kCAAkC,CAAC"}
1
+ {"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,gDA4FC;AA3FG;;GAEG;AACa,0BAAO,GAAG,qBAAqB,CAAC;AAEhD;;GAEG;AACa,6BAAU,GAAG,wBAAwB,CAAC;AAEtD;;GAEG;AACa,4BAAS,GAAG,uBAAuB,CAAC;AAEpD;;GAEG;AACa,2BAAQ,GAAG,sBAAsB,CAAC;AAElD;;GAEG;AACa,+BAAY,GAAG,2BAA2B,CAAC;AAE3D;;GAEG;AACa,mCAAgB,GAAG,+BAA+B,CAAC;AAEnE;;GAEG;AACa,qCAAkB,GAAG,mCAAmC,CAAC;AAEzE;;GAEG;AACa,uCAAoB,GAAG,qCAAqC,CAAC;AAE7E;;GAEG;AACa,iCAAc,GAAG,6BAA6B,CAAC;AAE/D;;GAEG;AACa,6BAAU,GAAG,wBAAwB,CAAC;AAEtD;;GAEG;AACa,mCAAgB,GAAG,0BAA0B,CAAC;AAE9D;;GAEG;AACa,gCAAa,GAAG,2BAA2B,CAAC;AAE5D;;GAEG;AACa,sCAAmB,GAAG,iCAAiC,CAAC;AAExD,wCAAqB,GAAG,gCAAgC,CAAC;AAEzD,yCAAsB,GAAG,iCAAiC,CAAC;AAE3E;;GAEG;AACa,6BAAU,GAAG,iCAAiC,CAAC;AAE/C,iCAAc,GAAG,+BAA+B,CAAC;AAEjE;;GAEG;AACa,0CAAuB,GAAG,6BAA6B,CAAC;AAExE;;GAEG;AACa,4BAAS,GAAG,0BAA0B,CAAC;AAEvD;;GAEG;AACa,oCAAiB,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare class RegexFilterClasses {
2
+ /**
3
+ * Main content div
4
+ */
5
+ static readonly searchBoxContainer = "ic3RegexFilter-searchBoxContainer";
6
+ static readonly reachedLimitText = "ic3RegexFilter-reachedLimitText";
7
+ static readonly searchContent = "ic3RegexFilter-searchContent";
8
+ static readonly footer = "ic3RegexFilter-footer";
9
+ static readonly filterCount = "ic3RegexFilter-filterCount";
10
+ }
11
+ export declare type RegexFilterClassesKey = keyof RegexFilterClasses;
12
+ export interface RegexFilterProps {
13
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RegexFilterClasses = void 0;
4
+ class RegexFilterClasses {
5
+ }
6
+ exports.RegexFilterClasses = RegexFilterClasses;
7
+ /**
8
+ * Main content div
9
+ */
10
+ RegexFilterClasses.searchBoxContainer = "ic3RegexFilter-searchBoxContainer";
11
+ RegexFilterClasses.reachedLimitText = "ic3RegexFilter-reachedLimitText";
12
+ RegexFilterClasses.searchContent = "ic3RegexFilter-searchContent";
13
+ RegexFilterClasses.footer = "ic3RegexFilter-footer";
14
+ RegexFilterClasses.filterCount = "ic3RegexFilter-filterCount";
15
+ //# sourceMappingURL=ThemeRegexFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeRegexFilter.js","sourceRoot":"","sources":["../../src/theme/ThemeRegexFilter.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAkB;;AAA/B,gDAaC;AAZG;;GAEG;AACa,qCAAkB,GAAG,mCAAmC,CAAC;AAEzD,mCAAgB,GAAG,iCAAiC,CAAC;AAErD,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,yBAAM,GAAG,uBAAuB,CAAC;AAEjC,8BAAW,GAAG,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic3/reporting-api",
3
- "version": "8.4.1",
3
+ "version": "8.4.2",
4
4
  "description": "icCube dashboards API",
5
5
  "homepage": "https://github.com/ic3-software/ic3-reporting-api",
6
6
  "repository": "https://github.com/ic3-software/ic3-reporting-api",
@@ -11,20 +11,20 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@mui/material": "5.12.2",
15
- "@mui/system": "5.12.1",
16
- "@emotion/react": "11.10.8",
17
- "@emotion/styled": "11.10.8"
14
+ "@mui/material": "5.13.3",
15
+ "@mui/system": "5.13.2",
16
+ "@emotion/react": "11.11.0",
17
+ "@emotion/styled": "11.11.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/markerclustererplus": "2.1.33",
21
- "@types/node": "18.16.3",
22
- "@types/react": "18.2.0",
21
+ "@types/node": "20.2.5",
22
+ "@types/react": "18.2.8",
23
23
  "del-cli": "5.0.0",
24
24
  "typescript": "4.9.5"
25
25
  },
26
26
  "overrides": {
27
- "@types/react": "18.2.0"
27
+ "@types/react": "18.2.8"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "del-cli dist && npx tsc",