@qrvey/utils 1.14.0 → 1.15.0-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.
- package/dist/cjs/constants/Charts.Const.d.ts +2 -1
- package/dist/cjs/constants/Charts.Const.js +1 -0
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomization.d.ts +11 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomization.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +11 -0
- package/dist/constants/Charts.Const.d.ts +2 -1
- package/dist/constants/Charts.Const.js +1 -0
- package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomization.d.ts +11 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomization.js +1 -0
- package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -0
- package/dist/globalization/interfaces/chart_builder/index.js +1 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +11 -0
- package/package.json +1 -1
|
@@ -29,7 +29,8 @@ export declare enum CHART_TYPE {
|
|
|
29
29
|
COMBINED_CHART = "COMBINED_CHART",
|
|
30
30
|
RADAR_CHART = "RADAR_CHART",
|
|
31
31
|
TREEMAP_CHART = "TREEMAP_CHART",
|
|
32
|
-
AREA_CHART = "AREA_CHART"
|
|
32
|
+
AREA_CHART = "AREA_CHART",
|
|
33
|
+
AREA_CHART_MS = "AREA_CHART_MS"
|
|
33
34
|
}
|
|
34
35
|
export declare enum CHART_DIMENSION {
|
|
35
36
|
CATEGORIES = "categories",
|
|
@@ -34,6 +34,7 @@ var CHART_TYPE;
|
|
|
34
34
|
CHART_TYPE["RADAR_CHART"] = "RADAR_CHART";
|
|
35
35
|
CHART_TYPE["TREEMAP_CHART"] = "TREEMAP_CHART";
|
|
36
36
|
CHART_TYPE["AREA_CHART"] = "AREA_CHART";
|
|
37
|
+
CHART_TYPE["AREA_CHART_MS"] = "AREA_CHART_MS";
|
|
37
38
|
})(CHART_TYPE || (exports.CHART_TYPE = CHART_TYPE = {}));
|
|
38
39
|
var CHART_DIMENSION;
|
|
39
40
|
(function (CHART_DIMENSION) {
|
|
@@ -15,6 +15,10 @@ import { IFUData } from "../ui/IFUData";
|
|
|
15
15
|
* Structure for the configuration of the Filter Builder
|
|
16
16
|
*/
|
|
17
17
|
export interface IFilterBuilderConfig {
|
|
18
|
+
/**
|
|
19
|
+
* Flag to avoid excluding Default Filters on the applying filters
|
|
20
|
+
*/
|
|
21
|
+
noExcludeDefaults?: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* Flag to allow use the global scope
|
|
20
24
|
*/
|
|
@@ -73,6 +73,7 @@ import { II18nChartBuilderBoxWhisker } from "./II18nChartBuilderBoxWhisker";
|
|
|
73
73
|
import { II18nChartBuilderDurationParts } from "./II18nChartBuilderDurationParts";
|
|
74
74
|
import { II18nChartBuilderThresholdDynamic } from "./II18nChartBuilderThresholdDynamic";
|
|
75
75
|
import { II18nChartBuilderRadarType } from "./II18nChartBuilderRadarType";
|
|
76
|
+
import { II18nChartBuilderCustomization } from "./II18nChartBuilderCustomization";
|
|
76
77
|
export interface II18nChartBuilder {
|
|
77
78
|
action_panel: II18nChartBuilderActionPanel;
|
|
78
79
|
aggregated_formula: II18nChartBuilderAggregatedFormulas;
|
|
@@ -107,6 +108,7 @@ export interface II18nChartBuilder {
|
|
|
107
108
|
line_style_options: II18nChartBuilderLineStyleOptions;
|
|
108
109
|
map_region: II18nChartBuilderMapRegion;
|
|
109
110
|
menu_actions: II18nChartBuilderMenuActions;
|
|
111
|
+
customization: II18nChartBuilderCustomization;
|
|
110
112
|
messages_box_whiskers: II18nChartBuilderMessagesBoxWhiskers;
|
|
111
113
|
messages_crosstab: II18nChartBuilderMessagesCrosstab;
|
|
112
114
|
messages_default: II18nChartBuilderMessagesDefault;
|
|
@@ -7,6 +7,7 @@ export * from "./II18nChartBuilderTableCalculation";
|
|
|
7
7
|
export * from "./II18nChartBuilderLegends";
|
|
8
8
|
export * from "./II18nChartBuilderSorting";
|
|
9
9
|
export * from "./II18nChartBuilderMenuActions";
|
|
10
|
+
export * from "./II18nChartBuilderCustomization";
|
|
10
11
|
export * from "./II18nChartBuilderTotals";
|
|
11
12
|
export * from "./II18nChartBuilderAggregatedFormulas";
|
|
12
13
|
export * from "./II18nChartBuilderStyleOptions";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./II18nChartBuilderTableCalculation"), exports);
|
|
|
23
23
|
__exportStar(require("./II18nChartBuilderLegends"), exports);
|
|
24
24
|
__exportStar(require("./II18nChartBuilderSorting"), exports);
|
|
25
25
|
__exportStar(require("./II18nChartBuilderMenuActions"), exports);
|
|
26
|
+
__exportStar(require("./II18nChartBuilderCustomization"), exports);
|
|
26
27
|
__exportStar(require("./II18nChartBuilderTotals"), exports);
|
|
27
28
|
__exportStar(require("./II18nChartBuilderAggregatedFormulas"), exports);
|
|
28
29
|
__exportStar(require("./II18nChartBuilderStyleOptions"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { II18nChartBuilder } from "../../interfaces/chart_builder/II18nChartBuilder";
|
|
2
|
-
type GeneralOptions = "aggregated_formula" | "general_options" | "totals" | "legends" | "menu_actions" | "sorting" | "table_calculations" | "tooltip_settings";
|
|
2
|
+
type GeneralOptions = "aggregated_formula" | "general_options" | "totals" | "legends" | "menu_actions" | "customization" | "sorting" | "table_calculations" | "tooltip_settings";
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
|
|
5
5
|
*/
|
|
@@ -113,6 +113,17 @@ exports.I18N_CHART_BUILDER_GENERAL_OPTIONS = {
|
|
|
113
113
|
column_update: "Adding/Removing Columns",
|
|
114
114
|
change_aggregation: "Change Column Aggregations",
|
|
115
115
|
},
|
|
116
|
+
customization: {
|
|
117
|
+
fit_panel: "Fit To Panel",
|
|
118
|
+
download: {
|
|
119
|
+
title: "Download",
|
|
120
|
+
jpg: "JPG",
|
|
121
|
+
pdf: "PDF",
|
|
122
|
+
excel: "Excel",
|
|
123
|
+
csv: "CSV",
|
|
124
|
+
csv_summary: "CSV Summary",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
116
127
|
totals: {
|
|
117
128
|
title: "Totals",
|
|
118
129
|
subtitle: "Total",
|
|
@@ -29,7 +29,8 @@ export declare enum CHART_TYPE {
|
|
|
29
29
|
COMBINED_CHART = "COMBINED_CHART",
|
|
30
30
|
RADAR_CHART = "RADAR_CHART",
|
|
31
31
|
TREEMAP_CHART = "TREEMAP_CHART",
|
|
32
|
-
AREA_CHART = "AREA_CHART"
|
|
32
|
+
AREA_CHART = "AREA_CHART",
|
|
33
|
+
AREA_CHART_MS = "AREA_CHART_MS"
|
|
33
34
|
}
|
|
34
35
|
export declare enum CHART_DIMENSION {
|
|
35
36
|
CATEGORIES = "categories",
|
|
@@ -31,6 +31,7 @@ export var CHART_TYPE;
|
|
|
31
31
|
CHART_TYPE["RADAR_CHART"] = "RADAR_CHART";
|
|
32
32
|
CHART_TYPE["TREEMAP_CHART"] = "TREEMAP_CHART";
|
|
33
33
|
CHART_TYPE["AREA_CHART"] = "AREA_CHART";
|
|
34
|
+
CHART_TYPE["AREA_CHART_MS"] = "AREA_CHART_MS";
|
|
34
35
|
})(CHART_TYPE || (CHART_TYPE = {}));
|
|
35
36
|
export var CHART_DIMENSION;
|
|
36
37
|
(function (CHART_DIMENSION) {
|
|
@@ -15,6 +15,10 @@ import { IFUData } from "../ui/IFUData";
|
|
|
15
15
|
* Structure for the configuration of the Filter Builder
|
|
16
16
|
*/
|
|
17
17
|
export interface IFilterBuilderConfig {
|
|
18
|
+
/**
|
|
19
|
+
* Flag to avoid excluding Default Filters on the applying filters
|
|
20
|
+
*/
|
|
21
|
+
noExcludeDefaults?: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* Flag to allow use the global scope
|
|
20
24
|
*/
|
|
@@ -73,6 +73,7 @@ import { II18nChartBuilderBoxWhisker } from "./II18nChartBuilderBoxWhisker";
|
|
|
73
73
|
import { II18nChartBuilderDurationParts } from "./II18nChartBuilderDurationParts";
|
|
74
74
|
import { II18nChartBuilderThresholdDynamic } from "./II18nChartBuilderThresholdDynamic";
|
|
75
75
|
import { II18nChartBuilderRadarType } from "./II18nChartBuilderRadarType";
|
|
76
|
+
import { II18nChartBuilderCustomization } from "./II18nChartBuilderCustomization";
|
|
76
77
|
export interface II18nChartBuilder {
|
|
77
78
|
action_panel: II18nChartBuilderActionPanel;
|
|
78
79
|
aggregated_formula: II18nChartBuilderAggregatedFormulas;
|
|
@@ -107,6 +108,7 @@ export interface II18nChartBuilder {
|
|
|
107
108
|
line_style_options: II18nChartBuilderLineStyleOptions;
|
|
108
109
|
map_region: II18nChartBuilderMapRegion;
|
|
109
110
|
menu_actions: II18nChartBuilderMenuActions;
|
|
111
|
+
customization: II18nChartBuilderCustomization;
|
|
110
112
|
messages_box_whiskers: II18nChartBuilderMessagesBoxWhiskers;
|
|
111
113
|
messages_crosstab: II18nChartBuilderMessagesCrosstab;
|
|
112
114
|
messages_default: II18nChartBuilderMessagesDefault;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,6 +7,7 @@ export * from "./II18nChartBuilderTableCalculation";
|
|
|
7
7
|
export * from "./II18nChartBuilderLegends";
|
|
8
8
|
export * from "./II18nChartBuilderSorting";
|
|
9
9
|
export * from "./II18nChartBuilderMenuActions";
|
|
10
|
+
export * from "./II18nChartBuilderCustomization";
|
|
10
11
|
export * from "./II18nChartBuilderTotals";
|
|
11
12
|
export * from "./II18nChartBuilderAggregatedFormulas";
|
|
12
13
|
export * from "./II18nChartBuilderStyleOptions";
|
|
@@ -7,6 +7,7 @@ export * from "./II18nChartBuilderTableCalculation";
|
|
|
7
7
|
export * from "./II18nChartBuilderLegends";
|
|
8
8
|
export * from "./II18nChartBuilderSorting";
|
|
9
9
|
export * from "./II18nChartBuilderMenuActions";
|
|
10
|
+
export * from "./II18nChartBuilderCustomization";
|
|
10
11
|
export * from "./II18nChartBuilderTotals";
|
|
11
12
|
export * from "./II18nChartBuilderAggregatedFormulas";
|
|
12
13
|
export * from "./II18nChartBuilderStyleOptions";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { II18nChartBuilder } from "../../interfaces/chart_builder/II18nChartBuilder";
|
|
2
|
-
type GeneralOptions = "aggregated_formula" | "general_options" | "totals" | "legends" | "menu_actions" | "sorting" | "table_calculations" | "tooltip_settings";
|
|
2
|
+
type GeneralOptions = "aggregated_formula" | "general_options" | "totals" | "legends" | "menu_actions" | "customization" | "sorting" | "table_calculations" | "tooltip_settings";
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
|
|
5
5
|
*/
|
|
@@ -110,6 +110,17 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
|
|
|
110
110
|
column_update: "Adding/Removing Columns",
|
|
111
111
|
change_aggregation: "Change Column Aggregations",
|
|
112
112
|
},
|
|
113
|
+
customization: {
|
|
114
|
+
fit_panel: "Fit To Panel",
|
|
115
|
+
download: {
|
|
116
|
+
title: "Download",
|
|
117
|
+
jpg: "JPG",
|
|
118
|
+
pdf: "PDF",
|
|
119
|
+
excel: "Excel",
|
|
120
|
+
csv: "CSV",
|
|
121
|
+
csv_summary: "CSV Summary",
|
|
122
|
+
},
|
|
123
|
+
},
|
|
113
124
|
totals: {
|
|
114
125
|
title: "Totals",
|
|
115
126
|
subtitle: "Total",
|