@qrvey/utils 1.2.9-11 → 1.2.9-15
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/README.md +157 -100
- package/dist/charts/constants/AGGREGATE_LABEL.d.ts +1 -1
- package/dist/charts/constants/AGGREGATE_LABEL.js +1 -1
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +1 -1
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +1 -1
- package/dist/cjs/filters/helpers/ui/getQrveyIdsByUIFilters.d.ts +7 -0
- package/dist/cjs/filters/helpers/ui/getQrveyIdsByUIFilters.js +24 -0
- package/dist/cjs/filters/helpers/ui/getUpdatedUIFilters.d.ts +9 -0
- package/dist/cjs/filters/helpers/ui/getUpdatedUIFilters.js +36 -0
- package/dist/cjs/filters/helpers/ui/index.d.ts +2 -0
- package/dist/cjs/filters/helpers/ui/index.js +2 -0
- package/dist/cjs/filters/interfaces/panel/IFPSettingsGeneral.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +5 -3
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.js +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/index.d.ts +4 -1
- package/dist/cjs/globalization/interfaces/index.js +4 -1
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemes.d.ts +13 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemes.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMenu.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMenu.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMessages.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMessages.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +27 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTooltips.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTooltips.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/index.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/style_themes/index.js +18 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +2 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +8 -6
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +6 -0
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +1 -0
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +2 -2
- package/dist/cjs/globalization/labels/index.d.ts +5 -3
- package/dist/cjs/globalization/labels/index.js +5 -3
- package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +2 -0
- package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.js +57 -0
- package/dist/cjs/globalization/labels/style_themes/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/style_themes/index.js +13 -0
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +1 -0
- package/dist/cjs/services/api/getAllDatasets.api.d.ts +2 -1
- package/dist/cjs/services/api/getAllDatasets.api.js +2 -1
- package/dist/filters/helpers/ui/getQrveyIdsByUIFilters.d.ts +7 -0
- package/dist/filters/helpers/ui/getQrveyIdsByUIFilters.js +20 -0
- package/dist/filters/helpers/ui/getUpdatedUIFilters.d.ts +9 -0
- package/dist/filters/helpers/ui/getUpdatedUIFilters.js +32 -0
- package/dist/filters/helpers/ui/index.d.ts +2 -0
- package/dist/filters/helpers/ui/index.js +2 -0
- package/dist/filters/interfaces/panel/IFPSettingsGeneral.d.ts +2 -1
- package/dist/globalization/interfaces/IResourceI18n.d.ts +2 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +5 -3
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +2 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.js +1 -0
- package/dist/globalization/interfaces/dashboard/index.d.ts +1 -0
- package/dist/globalization/interfaces/dashboard/index.js +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +1 -0
- package/dist/globalization/interfaces/index.d.ts +4 -1
- package/dist/globalization/interfaces/index.js +4 -1
- package/dist/globalization/interfaces/style_themes/II18nStyleThemes.d.ts +13 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemes.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.d.ts +6 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMenu.d.ts +6 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMenu.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMessages.d.ts +9 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMessages.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +27 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTooltips.d.ts +3 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTooltips.js +1 -0
- package/dist/globalization/interfaces/style_themes/index.d.ts +6 -0
- package/dist/globalization/interfaces/style_themes/index.js +6 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
- package/dist/globalization/labels/I18N_DEFAULT.js +2 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +8 -6
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +6 -0
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +1 -0
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +2 -2
- package/dist/globalization/labels/index.d.ts +5 -3
- package/dist/globalization/labels/index.js +5 -3
- package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +2 -0
- package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.js +54 -0
- package/dist/globalization/labels/style_themes/index.d.ts +1 -0
- package/dist/globalization/labels/style_themes/index.js +1 -0
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +1 -0
- package/dist/services/api/getAllDatasets.api.d.ts +2 -1
- package/dist/services/api/getAllDatasets.api.js +2 -1
- package/package.json +1 -1
- package/src/charts/constants/AGGREGATE_LABEL.ts +1 -1
- package/src/filters/helpers/ui/getQrveyIdsByUIFilters.ts +22 -0
- package/src/filters/helpers/ui/getUpdatedUIFilters.ts +34 -0
- package/src/filters/helpers/ui/index.ts +2 -0
- package/src/filters/interfaces/panel/IFPSettingsGeneral.ts +2 -1
- package/src/globalization/interfaces/IResourceI18n.ts +2 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.ts +5 -3
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +2 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardMessages.ts +6 -0
- package/src/globalization/interfaces/dashboard/index.ts +1 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +1 -0
- package/src/globalization/interfaces/index.ts +4 -1
- package/src/globalization/interfaces/style_themes/II18nStyleThemes.ts +14 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.ts +6 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesMenu.ts +6 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesMessages.ts +9 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesTheme.ts +27 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesTooltips.ts +3 -0
- package/src/globalization/interfaces/style_themes/index.ts +6 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +1 -0
- package/src/globalization/labels/I18N_DEFAULT.ts +2 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +1 -1
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +9 -7
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +6 -0
- package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +1 -0
- package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +2 -2
- package/src/globalization/labels/index.ts +5 -3
- package/src/globalization/labels/style_themes/I18N_STYLE_THEMES.ts +56 -0
- package/src/globalization/labels/style_themes/index.ts +1 -0
- package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +1 -0
- package/src/services/api/getAllDatasets.api.ts +3 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { II18nDashboardAddChart } from "./II18nDashboardAddChart";
|
|
2
2
|
import { II18nDashboardEmptyState } from "./II18nDashboardEmptyState";
|
|
3
|
+
import { II18nDashboardMessages } from "./II18nDashboardMessages";
|
|
3
4
|
import { II18nDashboardToast } from "./II18nDashboardToast";
|
|
4
5
|
import { II18nDashboardTooltips } from "./II18nDashboardTooltips";
|
|
5
6
|
import { II18nDashboardViews } from "./II18nDashboardViews";
|
|
@@ -12,4 +13,5 @@ export interface II18nDashboard {
|
|
|
12
13
|
tooltips: II18nDashboardTooltips;
|
|
13
14
|
views: II18nDashboardViews;
|
|
14
15
|
empty_state: II18nDashboardEmptyState;
|
|
16
|
+
messages: II18nDashboardMessages;
|
|
15
17
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
export * from './bucket_builder/index';
|
|
2
|
+
export * from './chart_builder/index';
|
|
1
3
|
export * from './columns/index';
|
|
2
4
|
export * from './common/index';
|
|
5
|
+
export * from './cross_tabs/index';
|
|
3
6
|
export * from './dashboard/index';
|
|
4
7
|
export * from './filters/index';
|
|
5
8
|
export * from './formula_builder/index';
|
|
6
9
|
export * from './panel/index';
|
|
10
|
+
export * from './style_themes/index';
|
|
7
11
|
export * from './table_charts/index';
|
|
8
|
-
export * from './chart_builder/index';
|
|
9
12
|
|
|
10
13
|
export * from './II18nServiceTranslate';
|
|
11
14
|
export * from './II18nServiceTranslateOption';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { II18nStyleThemesDeleteDialog } from "./II18nStyleThemesDeleteDialog";
|
|
2
|
+
import { II18nStyleThemesMenu } from "./II18nStyleThemesMenu";
|
|
3
|
+
import { II18nStyleThemesMessages } from "./II18nStyleThemesMessages";
|
|
4
|
+
import { II18nStyleThemesTheme } from "./II18nStyleThemesTheme";
|
|
5
|
+
import { II18nStyleThemesTooltips } from "./II18nStyleThemesTooltips";
|
|
6
|
+
|
|
7
|
+
export interface II18nStyleThemes {
|
|
8
|
+
delete_dialog: II18nStyleThemesDeleteDialog;
|
|
9
|
+
menu: II18nStyleThemesMenu;
|
|
10
|
+
messages: II18nStyleThemesMessages;
|
|
11
|
+
theme: II18nStyleThemesTheme;
|
|
12
|
+
title: string;
|
|
13
|
+
tooltips: II18nStyleThemesTooltips;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface II18nStyleThemesMessages {
|
|
2
|
+
theme_could_not_be_created: string;
|
|
3
|
+
theme_could_not_be_deleted: string;
|
|
4
|
+
theme_could_not_be_duplicated: string;
|
|
5
|
+
theme_could_not_be_saved: string;
|
|
6
|
+
theme_could_not_be_selected: string;
|
|
7
|
+
theme_could_not_be_used_in_all_applications: string;
|
|
8
|
+
themes_could_not_be_loaded: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface II18nStyleThemesTheme {
|
|
2
|
+
axis_data_labels: string;
|
|
3
|
+
cancel_theme: string;
|
|
4
|
+
chart_titles_color: string;
|
|
5
|
+
copy: string;
|
|
6
|
+
create_theme: string;
|
|
7
|
+
data_styles: string;
|
|
8
|
+
data_visualization: string;
|
|
9
|
+
edit_theme: string;
|
|
10
|
+
generate_new: string;
|
|
11
|
+
header_font_color: string;
|
|
12
|
+
id: string;
|
|
13
|
+
legends: string;
|
|
14
|
+
main_color: string;
|
|
15
|
+
name_placeholder: string;
|
|
16
|
+
panel_styles: string;
|
|
17
|
+
qrvey_theme: string;
|
|
18
|
+
restore_to_default: string;
|
|
19
|
+
save_theme: string;
|
|
20
|
+
table_header_styles: string;
|
|
21
|
+
text_styles: string;
|
|
22
|
+
tooltips: string;
|
|
23
|
+
typeface: string;
|
|
24
|
+
untitled_theme: string;
|
|
25
|
+
use_theme_in_all_apps: string;
|
|
26
|
+
values: string;
|
|
27
|
+
}
|
|
@@ -11,6 +11,7 @@ import { I18N_FILTER_DISPLAY } from "./filters/I18N_FILTER_DISPLAY";
|
|
|
11
11
|
import { I18N_BUCKET_BUILDER } from "./bucket_builder/I18N_BUCKET_BUILDER";
|
|
12
12
|
import { I18N_CROSS_TABS } from './cross_tabs';
|
|
13
13
|
import { I18N_CHART_BUILDER } from "./chart_builder";
|
|
14
|
+
import { I18N_STYLE_THEMES } from "./style_themes";
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
export const I18N_DEFAULT: IResourceI18n = {
|
|
@@ -25,5 +26,6 @@ export const I18N_DEFAULT: IResourceI18n = {
|
|
|
25
26
|
filter_panel: I18N_FILTER_PANEL,
|
|
26
27
|
formula_builder: I18N_FORMULA_BUILDER,
|
|
27
28
|
panel: I18N_PANEL,
|
|
29
|
+
style_themes: I18N_STYLE_THEMES,
|
|
28
30
|
table_charts: I18N_TABLE_CHARTS,
|
|
29
31
|
};
|
|
@@ -3,7 +3,7 @@ import { II18nChartBuilder } from "../..";
|
|
|
3
3
|
type LayerOptions = 'trends_line' | 'references_line';
|
|
4
4
|
export const I18N_CHART_BUILDER_LAYER_OPTIONS: Pick<II18nChartBuilder, LayerOptions> = {
|
|
5
5
|
trends_line: {
|
|
6
|
-
title: '
|
|
6
|
+
title: 'Trend Line',
|
|
7
7
|
type: 'Type',
|
|
8
8
|
type_none: 'None',
|
|
9
9
|
type_standard_linear_regression: 'Standard Linear Regression',
|
|
@@ -19,9 +19,9 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
19
19
|
comparision_color: 'Comparision Color',
|
|
20
20
|
data_labels_check: 'Data Labels',
|
|
21
21
|
default_format_title: 'Format',
|
|
22
|
-
display_outliers_check: 'Display
|
|
22
|
+
display_outliers_check: 'Display Outliers',
|
|
23
23
|
line_opacity: 'Line Opacity',
|
|
24
|
-
map_borders: 'Map
|
|
24
|
+
map_borders: 'Map Borders',
|
|
25
25
|
needle_color: 'Needle Color',
|
|
26
26
|
opacity: 'Opacity',
|
|
27
27
|
percentage_check: 'Percentage',
|
|
@@ -114,7 +114,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
114
114
|
thickness_thin: 'Thin',
|
|
115
115
|
thickness_normal: 'Normal',
|
|
116
116
|
thickness_bold: 'Bold',
|
|
117
|
-
styles_title: '
|
|
117
|
+
styles_title: 'Line Style',
|
|
118
118
|
styles_solid: 'Solid',
|
|
119
119
|
styles_dashed: 'Dashed',
|
|
120
120
|
styles_dotted: 'Dotted',
|
|
@@ -156,13 +156,15 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
156
156
|
names_rotation: 'Names Rotation',
|
|
157
157
|
},
|
|
158
158
|
font_options: {
|
|
159
|
+
automatic_resize: 'Automatic Resize',
|
|
159
160
|
color: 'Font Color',
|
|
161
|
+
disabled: '<i>Automatic Resize</i> is active, disable it to set the size manually.',
|
|
162
|
+
select_option_placeholder: 'Select Option',
|
|
163
|
+
size: 'Font Size',
|
|
160
164
|
style: 'Font Style',
|
|
161
|
-
style_regular: 'Regular',
|
|
162
165
|
style_bold: 'Bold',
|
|
163
166
|
style_italic: 'Italic',
|
|
164
|
-
|
|
165
|
-
size: 'Font Size',
|
|
167
|
+
style_regular: 'Regular',
|
|
166
168
|
},
|
|
167
169
|
circle_size: {
|
|
168
170
|
title: 'Circle Size',
|
|
@@ -186,7 +188,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
186
188
|
target_value: 'Target Value'
|
|
187
189
|
},
|
|
188
190
|
table_style_options: {
|
|
189
|
-
typeface: 'Typeface',
|
|
191
|
+
typeface: 'Typeface',
|
|
190
192
|
weight: 'Weight',
|
|
191
193
|
weight_bold: 'Bold',
|
|
192
194
|
weight_normal: 'normal',
|
|
@@ -13,6 +13,12 @@ export const I18N_DASHBOARD: II18nDashboard = {
|
|
|
13
13
|
learn_more: 'Learn more',
|
|
14
14
|
},
|
|
15
15
|
export_csv: "Export to CSV",
|
|
16
|
+
messages: {
|
|
17
|
+
dataset_not_available: "Dataset not available at the moment.",
|
|
18
|
+
dataset_not_found: "Dataset not found.",
|
|
19
|
+
server_error: "Server Error.",
|
|
20
|
+
try_again: "Try Again",
|
|
21
|
+
},
|
|
16
22
|
no_record_found: 'No Records Found',
|
|
17
23
|
toast: {
|
|
18
24
|
add_record_message: 'Record Successfully Added.',
|
|
@@ -7,6 +7,7 @@ export const I18N_RELATIVE_CONTAINER: II18nRelativeContainer = {
|
|
|
7
7
|
current_date: 'Current Date',
|
|
8
8
|
cursors: I18N_RELATIVE_CURSOR,
|
|
9
9
|
date_selected: 'Date Selected',
|
|
10
|
+
from_label: 'from',
|
|
10
11
|
starting_date: 'Include starting date',
|
|
11
12
|
starting_date_tooltip: 'The relative date will include the specific starting date and a period of time to show from that date onwards (Inclusive range). <br/> Unchecking this option will exclude the chosen starting date (exclusive range) from the date range.',
|
|
12
13
|
starting_from: 'Starting From',
|
|
@@ -38,7 +38,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
38
38
|
test: 'Test',
|
|
39
39
|
clear: 'Clear',
|
|
40
40
|
insert_function: 'Insert Functions',
|
|
41
|
-
insert_column: '
|
|
41
|
+
insert_column: 'Insert Columns',
|
|
42
42
|
search_function: 'Search',
|
|
43
43
|
search_column: 'Search',
|
|
44
44
|
box_function_empty: 'No Function Selected',
|
|
@@ -57,7 +57,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
57
57
|
numeric: 'Numeric',
|
|
58
58
|
string: 'String/Text',
|
|
59
59
|
date: 'Date/Time',
|
|
60
|
-
aggregate: '
|
|
60
|
+
aggregate: 'Aggregates'
|
|
61
61
|
},
|
|
62
62
|
function_is_null: {
|
|
63
63
|
description: 'Replaces NULL with the specified replacement value.',
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
export * from './bucket_builder';
|
|
2
|
+
export * from './chart_builder';
|
|
1
3
|
export * from './columns';
|
|
2
4
|
export * from './common';
|
|
5
|
+
export * from './cross_tabs';
|
|
3
6
|
export * from './dashboard';
|
|
4
7
|
export * from './filters';
|
|
8
|
+
export * from './formula_builder';
|
|
5
9
|
export * from './panel';
|
|
10
|
+
export * from './style_themes';
|
|
6
11
|
export * from './table_charts';
|
|
7
12
|
export * from './I18N_DEFAULT';
|
|
8
|
-
export * from './formula_builder';
|
|
9
|
-
export * from './bucket_builder';
|
|
10
|
-
export * from './chart_builder';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { II18nStyleThemes } from "../../interfaces/style_themes/II18nStyleThemes";
|
|
2
|
+
|
|
3
|
+
export const I18N_STYLE_THEMES: II18nStyleThemes = {
|
|
4
|
+
delete_dialog: {
|
|
5
|
+
no: 'No',
|
|
6
|
+
theme_in_use: 'This theme is in use. If you delete it the visualizations will reset to the default theme.',
|
|
7
|
+
want_to_continue: 'Are you sure you want to continue?',
|
|
8
|
+
yes: 'Yes',
|
|
9
|
+
},
|
|
10
|
+
menu: {
|
|
11
|
+
delete: 'Delete',
|
|
12
|
+
duplicate: 'Duplicate',
|
|
13
|
+
edit: 'Edit',
|
|
14
|
+
use_all: 'Use in all applications',
|
|
15
|
+
},
|
|
16
|
+
messages: {
|
|
17
|
+
theme_could_not_be_created: 'Theme could not be created.',
|
|
18
|
+
theme_could_not_be_deleted: 'Theme could not be deleted.',
|
|
19
|
+
theme_could_not_be_duplicated: 'Theme could not be duplicated.',
|
|
20
|
+
theme_could_not_be_saved: 'Theme could not be saved.',
|
|
21
|
+
theme_could_not_be_selected: 'Theme could not be selected.',
|
|
22
|
+
theme_could_not_be_used_in_all_applications: 'Theme could not be used in all applications.',
|
|
23
|
+
themes_could_not_be_loaded: 'Themes could not be loaded.',
|
|
24
|
+
},
|
|
25
|
+
theme: {
|
|
26
|
+
axis_data_labels: 'Axis and Data Labels',
|
|
27
|
+
cancel_theme: 'Cancel',
|
|
28
|
+
chart_titles_color: 'Chart Titles Color',
|
|
29
|
+
copy: 'Copy',
|
|
30
|
+
create_theme: 'Create New Theme',
|
|
31
|
+
data_styles: 'Data Styles',
|
|
32
|
+
data_visualization: 'Data Visualization',
|
|
33
|
+
edit_theme: 'Edit Theme',
|
|
34
|
+
generate_new: 'Generate New',
|
|
35
|
+
header_font_color: 'Header Font Color',
|
|
36
|
+
id: 'ID',
|
|
37
|
+
legends: 'Legends',
|
|
38
|
+
main_color: 'Main Color',
|
|
39
|
+
name_placeholder: 'Type name',
|
|
40
|
+
panel_styles: 'Panel Styles',
|
|
41
|
+
qrvey_theme: 'Qrvey Theme',
|
|
42
|
+
restore_to_default: 'Restore to Default',
|
|
43
|
+
save_theme: 'Save Theme',
|
|
44
|
+
table_header_styles: 'Table Header Styles',
|
|
45
|
+
text_styles: 'Text Styles',
|
|
46
|
+
tooltips: 'Tooltips',
|
|
47
|
+
typeface: 'Typeface',
|
|
48
|
+
untitled_theme: 'Untitled',
|
|
49
|
+
use_theme_in_all_apps: 'Use Theme in All Apps',
|
|
50
|
+
values: 'Values',
|
|
51
|
+
},
|
|
52
|
+
title: 'Style Themes',
|
|
53
|
+
tooltips: {
|
|
54
|
+
theme_used_in_all_applications: 'This theme is being used in all applications',
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_STYLE_THEMES';
|
|
@@ -6,10 +6,11 @@ import { getDatasetColumns } from "./getDatasetColumns.api";
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Get a dataset list from a collection of Qrvey IDs
|
|
9
|
-
* @param
|
|
9
|
+
* @param config the widget config. Includes the appid and others configuration properties
|
|
10
|
+
* @param pickDatasets Collection of Qrvey IDs for filtering the request
|
|
10
11
|
* @returns a promise
|
|
11
12
|
*/
|
|
12
|
-
export function getAllDatasets
|
|
13
|
+
export function getAllDatasets(config: IGeneralWidgetConfig, pickDatasets: string[] = []): Promise<IDataset[]> {
|
|
13
14
|
return getAllQrveys({ ...config }, { status: ['RUNNING', 'FINISHED', 'PAUSED'], loadAll: true })
|
|
14
15
|
.then((qrveys) => {
|
|
15
16
|
let datasets = qrveys.Items.filter(filterSupportedDatasets);
|