@qrvey/utils 1.15.0-2 → 1.15.0-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.
- package/dist/cjs/filters/helpers/common/getDateProperties.d.ts +6 -0
- package/dist/cjs/filters/helpers/common/getDateProperties.js +2 -1
- package/dist/cjs/filters/interfaces/common/IFSScopeID.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/export/II18nExportingModal.d.ts +19 -0
- package/dist/cjs/globalization/labels/export/I18N_EXPORT_MODAL.js +19 -0
- package/dist/filters/helpers/common/getDateProperties.d.ts +6 -0
- package/dist/filters/helpers/common/getDateProperties.js +1 -1
- package/dist/filters/interfaces/common/IFSScopeID.d.ts +4 -0
- package/dist/globalization/interfaces/export/II18nExportingModal.d.ts +19 -0
- package/dist/globalization/labels/export/I18N_EXPORT_MODAL.js +19 -0
- package/package.json +1 -1
|
@@ -8,3 +8,9 @@ import { IFValidator } from "../../interfaces/IFValidator";
|
|
|
8
8
|
* @returns properties of the Date column
|
|
9
9
|
*/
|
|
10
10
|
export declare function getDateProperties(column: IColumn, validator: IFValidator): IColumnPropertyInfo[];
|
|
11
|
+
/**
|
|
12
|
+
* Returns True or false when the output format in the date column exists and is a time type
|
|
13
|
+
* @param column Column prop
|
|
14
|
+
* @returns True if The Date Column has a time format, otherwise is false.
|
|
15
|
+
*/
|
|
16
|
+
export declare function isDateColumnTimeFormat(column: IColumn): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getDateProperties = void 0;
|
|
3
|
+
exports.isDateColumnTimeFormat = exports.getDateProperties = void 0;
|
|
4
4
|
const isValidatorMatchedToWindow_1 = require("./isValidatorMatchedToWindow");
|
|
5
5
|
const DATE_DISTINCT_PROPERTY_INFO_LIST_1 = require("../../../dates/constants/DATE_DISTINCT_PROPERTY_INFO_LIST");
|
|
6
6
|
const DATE_DISTINCT_TIME_PROPERTY_INFO_LIST_1 = require("../../../dates/constants/DATE_DISTINCT_TIME_PROPERTY_INFO_LIST");
|
|
@@ -44,3 +44,4 @@ function isDateColumnTimeFormat(column) {
|
|
|
44
44
|
const formatDate = (0, get_1._get)(column.outputFormat, "format");
|
|
45
45
|
return !(0, isEmpty_1.isEmpty)(formatDate) && formatDate.split(" ").length > 1;
|
|
46
46
|
}
|
|
47
|
+
exports.isDateColumnTimeFormat = isDateColumnTimeFormat;
|
|
@@ -16,6 +16,25 @@ export interface I18nExportingModal {
|
|
|
16
16
|
failed_scheduling: string;
|
|
17
17
|
successful_scheduling: string;
|
|
18
18
|
};
|
|
19
|
+
pivoting_export: {
|
|
20
|
+
dataset_label: string;
|
|
21
|
+
filter_label: string;
|
|
22
|
+
pivoting: {
|
|
23
|
+
title: string;
|
|
24
|
+
yes_label: string;
|
|
25
|
+
no_label: string;
|
|
26
|
+
};
|
|
27
|
+
search_placeholder: string;
|
|
28
|
+
columns_section: {
|
|
29
|
+
title: string;
|
|
30
|
+
subtitle: string;
|
|
31
|
+
select_all_label: string;
|
|
32
|
+
dataset_columns: string;
|
|
33
|
+
pivot_columns_label: string;
|
|
34
|
+
pivot_columns_sublabel: string;
|
|
35
|
+
};
|
|
36
|
+
columns_to_export_label: string;
|
|
37
|
+
};
|
|
19
38
|
schedule: {
|
|
20
39
|
chart_download_ready: string;
|
|
21
40
|
page_download_ready: string;
|
|
@@ -27,6 +27,25 @@ exports.EXPORTING_MODAL = {
|
|
|
27
27
|
failed_scheduling: "The export could not be scheduled at this time.",
|
|
28
28
|
successful_scheduling: "The export of {{fileName}} has been scheduled successfully.",
|
|
29
29
|
},
|
|
30
|
+
pivoting_export: {
|
|
31
|
+
dataset_label: "Dataset",
|
|
32
|
+
filter_label: "Filter",
|
|
33
|
+
pivoting: {
|
|
34
|
+
title: "Pivoting",
|
|
35
|
+
yes_label: "Yes",
|
|
36
|
+
no_label: "No",
|
|
37
|
+
},
|
|
38
|
+
search_placeholder: "Search",
|
|
39
|
+
columns_section: {
|
|
40
|
+
title: "Columns",
|
|
41
|
+
subtitle: "(Select columns to export)",
|
|
42
|
+
select_all_label: "Add All Columns",
|
|
43
|
+
dataset_columns: "Dataset Columns",
|
|
44
|
+
pivot_columns_label: "Pivot Columns",
|
|
45
|
+
pivot_columns_sublabel: "Displaying only the first 100 results.",
|
|
46
|
+
},
|
|
47
|
+
columns_to_export_label: "Columns to export",
|
|
48
|
+
},
|
|
30
49
|
schedule: {
|
|
31
50
|
chart_download_ready: "Chart is ready to download",
|
|
32
51
|
page_download_ready: "Dashboard is ready to download",
|
|
@@ -8,3 +8,9 @@ import { IFValidator } from "../../interfaces/IFValidator";
|
|
|
8
8
|
* @returns properties of the Date column
|
|
9
9
|
*/
|
|
10
10
|
export declare function getDateProperties(column: IColumn, validator: IFValidator): IColumnPropertyInfo[];
|
|
11
|
+
/**
|
|
12
|
+
* Returns True or false when the output format in the date column exists and is a time type
|
|
13
|
+
* @param column Column prop
|
|
14
|
+
* @returns True if The Date Column has a time format, otherwise is false.
|
|
15
|
+
*/
|
|
16
|
+
export declare function isDateColumnTimeFormat(column: IColumn): boolean;
|
|
@@ -36,7 +36,7 @@ export function getDateProperties(column, validator) {
|
|
|
36
36
|
* @param column Column prop
|
|
37
37
|
* @returns True if The Date Column has a time format, otherwise is false.
|
|
38
38
|
*/
|
|
39
|
-
function isDateColumnTimeFormat(column) {
|
|
39
|
+
export function isDateColumnTimeFormat(column) {
|
|
40
40
|
const formatDate = _get(column.outputFormat, "format");
|
|
41
41
|
return !isEmpty(formatDate) && formatDate.split(" ").length > 1;
|
|
42
42
|
}
|
|
@@ -16,6 +16,25 @@ export interface I18nExportingModal {
|
|
|
16
16
|
failed_scheduling: string;
|
|
17
17
|
successful_scheduling: string;
|
|
18
18
|
};
|
|
19
|
+
pivoting_export: {
|
|
20
|
+
dataset_label: string;
|
|
21
|
+
filter_label: string;
|
|
22
|
+
pivoting: {
|
|
23
|
+
title: string;
|
|
24
|
+
yes_label: string;
|
|
25
|
+
no_label: string;
|
|
26
|
+
};
|
|
27
|
+
search_placeholder: string;
|
|
28
|
+
columns_section: {
|
|
29
|
+
title: string;
|
|
30
|
+
subtitle: string;
|
|
31
|
+
select_all_label: string;
|
|
32
|
+
dataset_columns: string;
|
|
33
|
+
pivot_columns_label: string;
|
|
34
|
+
pivot_columns_sublabel: string;
|
|
35
|
+
};
|
|
36
|
+
columns_to_export_label: string;
|
|
37
|
+
};
|
|
19
38
|
schedule: {
|
|
20
39
|
chart_download_ready: string;
|
|
21
40
|
page_download_ready: string;
|
|
@@ -24,6 +24,25 @@ export const EXPORTING_MODAL = {
|
|
|
24
24
|
failed_scheduling: "The export could not be scheduled at this time.",
|
|
25
25
|
successful_scheduling: "The export of {{fileName}} has been scheduled successfully.",
|
|
26
26
|
},
|
|
27
|
+
pivoting_export: {
|
|
28
|
+
dataset_label: "Dataset",
|
|
29
|
+
filter_label: "Filter",
|
|
30
|
+
pivoting: {
|
|
31
|
+
title: "Pivoting",
|
|
32
|
+
yes_label: "Yes",
|
|
33
|
+
no_label: "No",
|
|
34
|
+
},
|
|
35
|
+
search_placeholder: "Search",
|
|
36
|
+
columns_section: {
|
|
37
|
+
title: "Columns",
|
|
38
|
+
subtitle: "(Select columns to export)",
|
|
39
|
+
select_all_label: "Add All Columns",
|
|
40
|
+
dataset_columns: "Dataset Columns",
|
|
41
|
+
pivot_columns_label: "Pivot Columns",
|
|
42
|
+
pivot_columns_sublabel: "Displaying only the first 100 results.",
|
|
43
|
+
},
|
|
44
|
+
columns_to_export_label: "Columns to export",
|
|
45
|
+
},
|
|
27
46
|
schedule: {
|
|
28
47
|
chart_download_ready: "Chart is ready to download",
|
|
29
48
|
page_download_ready: "Dashboard is ready to download",
|