@ic3/reporting-api 8.4.2-alpha.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 +1 -1
- package/dist/ApiUtils.js.map +1 -1
- package/dist/PublicTheme.d.ts +14 -0
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +10 -21
- package/dist/PublicTidyColumn.js +9 -19
- package/dist/PublicTidyColumn.js.map +1 -1
- package/dist/PublicTidyMath.d.ts +49 -0
- package/dist/PublicTidyTable.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeRegexFilter.d.ts +13 -0
- package/dist/theme/ThemeRegexFilter.js +15 -0
- package/dist/theme/ThemeRegexFilter.js.map +1 -0
- package/package.json +5 -5
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.2
|
|
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
|
/**
|
package/dist/ApiUtils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiUtils.js","sourceRoot":"","sources":["../src/ApiUtils.ts"],"names":[],"mappings":";;;;;;AAEA,0EAAkD;AAiDlD,MAAa,QAAQ;IAOV,MAAM,CAAC,UAAU,CAAC,UAA6B;QAElD,OAAO,GAA+B,EAAE;YAEpC,uBAEI,UAAU,EAAE,IAAI,0BAAgB,CAC5B,
|
|
1
|
+
{"version":3,"file":"ApiUtils.js","sourceRoot":"","sources":["../src/ApiUtils.ts"],"names":[],"mappings":";;;;;;AAEA,0EAAkD;AAiDlD,MAAa,QAAQ;IAOV,MAAM,CAAC,UAAU,CAAC,UAA6B;QAElD,OAAO,GAA+B,EAAE;YAEpC,uBAEI,UAAU,EAAE,IAAI,0BAAgB,CAC5B,OAAO,IAAI,GAAG,EACd,+BAA+B,IAAI,GAAG,CACzC,IAEE,UAAU,EAEhB;QAEL,CAAC,CAAA;IACL,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,oCAAoC,CAAkC,UAAsE;QAEtJ,uCAEO,UAAU,KAEb,MAAM,EAAE,CAAC,OAA6B,EAAE,SAAyB,EAAE,EAAE;gBACjE,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;YAC1D,CAAC,EAED,cAAc,EAAE,KAAK,EAErB,6BAA6B,EAAE,KAAK,IAEvC;IAEL,CAAC;IAEM,MAAM,CAAC,wCAAwC,CAAkC,UAAoD,EAAE,OAA6C;QAEvL,OAAO,8CAEA,OAAO,GACP,UAAiB,CAAC,4BAA4B,KAEjD,iBAAiB,EAAE,SAAS,EAC5B,MAAM,EAAE,OAAO,CAAC,MAAM,GAEmB,CAAA;IAEjD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,4CAA4C,CAAmC,KAAyC;QAElI,OAAO;YAEH,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;YACxC,uBAAuB,EAAE,KAAK,CAAC,uBAAuB;YAEtD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE;gBAEjB,qDAEO,OAAO,CAAC,gBAAgB,GAExB,KAAK,CAAC,KAAK,CAAC,+BAA+B;oBAE9C;;;;;uBAKG;oBACH,iBAAiB,EAAE,UAAU,QAAQ;wBAEjC,MAAM,eAAe,GAAG,QAAQ,CAAC,wCAAwC,CAAC,IAAI,EAAE,QAAS,CAAC,CAAC;wBAE3F,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;4BAEnC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,OAAO,iCAE/B,eAAe;gCAElB,8DAA8D;gCAE9D,gBAAgB,EAAE,UAAU,CAAC,OAAO,CAAC,oBAAoB,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAC3F,gBAAgB,EAAE,UAAU,CAAC,OAAO,CAAC,gBAAgB,IAEvD,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;wBACjC,CAAC,CAAC,CAAC;oBAEP,CAAC,IACJ;YACL,CAAC;SAEwC,CAAC;IAElD,CAAC;;AA/GL,4BAiHC;AA/GG;;GAEG;AACoB,uBAAc,GAAG,OAAO,CAAC"}
|
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -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;
|
package/dist/PublicTheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;
|
|
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
|
|
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
|
|
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 {};
|
package/dist/PublicTidyColumn.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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,
|
|
1
|
+
{"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AAmDA;;GAEG;AACH,IAAY,0BA8FX;AA9FD,WAAY,0BAA0B;IAElC;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;OAEG;IACH,sEAAwC,CAAA;IAExC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;;OAGG;IACH,yEAA2C,CAAA;IAE3C;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;;;OAIG;IACH,yEAA2C,CAAA;IAE3C;;;;OAIG;IACH,+EAAiD,CAAA;IAEjD;;OAEG;IACH,qDAAuB,CAAA;IAEvB;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,6DAA+B,CAAA;IAE/B;;;;OAIG;IACH,uDAAyB,CAAA;IAEzB;;;OAGG;IACH,+DAAiC,CAAA;IAEjC;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,gDAAkB,CAAA;IAElB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,mDAAqB,CAAA;AACzB,CAAC,EA9FW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA8FrC;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"}
|
package/dist/PublicTidyMath.d.ts
CHANGED
|
@@ -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
|
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"}
|
|
@@ -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.2
|
|
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.13.
|
|
14
|
+
"@mui/material": "5.13.3",
|
|
15
15
|
"@mui/system": "5.13.2",
|
|
16
16
|
"@emotion/react": "11.11.0",
|
|
17
17
|
"@emotion/styled": "11.11.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/markerclustererplus": "2.1.33",
|
|
21
|
-
"@types/node": "20.2.
|
|
22
|
-
"@types/react": "18.2.
|
|
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.
|
|
27
|
+
"@types/react": "18.2.8"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "del-cli dist && npx tsc",
|