@qrvey/utils 1.13.0-2 → 1.13.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.
Files changed (23) hide show
  1. package/dist/cjs/filters/constants/common/FILTER_SCOPE.d.ts +2 -1
  2. package/dist/cjs/filters/constants/common/FILTER_SCOPE.js +2 -0
  3. package/dist/cjs/filters/constants/common/FILTER_SCOPES.js +1 -0
  4. package/dist/cjs/filters/constants/common/FILTER_SCOPE_INFO.js +8 -0
  5. package/dist/cjs/filters/constants/common/FILTER_SCOPE_LABEL.d.ts +2 -1
  6. package/dist/cjs/filters/constants/common/FILTER_SCOPE_LABEL.js +1 -0
  7. package/dist/cjs/filters/services/UChartPaginationApi.js +1 -1
  8. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +1 -0
  9. package/dist/cjs/globalization/interfaces/filters/II18nFilterScopes.d.ts +1 -0
  10. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +1 -0
  11. package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.js +1 -0
  12. package/dist/filters/constants/common/FILTER_SCOPE.d.ts +2 -1
  13. package/dist/filters/constants/common/FILTER_SCOPE.js +2 -0
  14. package/dist/filters/constants/common/FILTER_SCOPES.js +1 -0
  15. package/dist/filters/constants/common/FILTER_SCOPE_INFO.js +8 -0
  16. package/dist/filters/constants/common/FILTER_SCOPE_LABEL.d.ts +2 -1
  17. package/dist/filters/constants/common/FILTER_SCOPE_LABEL.js +1 -0
  18. package/dist/filters/services/UChartPaginationApi.js +1 -1
  19. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +1 -0
  20. package/dist/globalization/interfaces/filters/II18nFilterScopes.d.ts +1 -0
  21. package/dist/globalization/labels/filters/I18N_FILTER.js +1 -0
  22. package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.js +1 -0
  23. package/package.json +1 -1
@@ -6,5 +6,6 @@ export declare enum FILTER_SCOPE {
6
6
  TAB = "TAB",// PB/EU Filters for a single tab
7
7
  DEFAULT = "DEFAULT",// Filters created on Chart Builder
8
8
  CHART = "CHART",// PB/EU Filters for panels inside a page/tab
9
- ACTION = "ACTION"
9
+ ACTION = "ACTION",// Filters created with FilterBY or other actions
10
+ FLOW = "FLOW"
10
11
  }
@@ -11,4 +11,6 @@ var FILTER_SCOPE;
11
11
  FILTER_SCOPE["DEFAULT"] = "DEFAULT";
12
12
  FILTER_SCOPE["CHART"] = "CHART";
13
13
  FILTER_SCOPE["ACTION"] = "ACTION";
14
+ // Other scopes
15
+ FILTER_SCOPE["FLOW"] = "FLOW";
14
16
  })(FILTER_SCOPE || (exports.FILTER_SCOPE = FILTER_SCOPE = {}));
@@ -11,4 +11,5 @@ exports.FILTER_SCOPES = [
11
11
  FILTER_SCOPE_1.FILTER_SCOPE.DEFAULT,
12
12
  FILTER_SCOPE_1.FILTER_SCOPE.CHART,
13
13
  FILTER_SCOPE_1.FILTER_SCOPE.ACTION,
14
+ FILTER_SCOPE_1.FILTER_SCOPE.FLOW,
14
15
  ];
@@ -68,4 +68,12 @@ exports.FILTER_SCOPE_INFO = [
68
68
  displayed: true,
69
69
  i18nLabelPath: "filter.scopes.action",
70
70
  },
71
+ {
72
+ label: FILTER_SCOPE_LABEL_1.FILTER_SCOPE_LABEL.FLOW,
73
+ shortLabel: "Action",
74
+ abbrLabel: "ACT",
75
+ value: FILTER_SCOPE_1.FILTER_SCOPE.FLOW,
76
+ displayed: false,
77
+ i18nLabelPath: "filter.scopes.flow",
78
+ },
71
79
  ];
@@ -6,5 +6,6 @@ export declare enum FILTER_SCOPE_LABEL {
6
6
  TAB = "Tab",
7
7
  DEFAULT = "Default",
8
8
  CHART = "Panel",
9
- ACTION = "Action"
9
+ ACTION = "Action",
10
+ FLOW = "Automation"
10
11
  }
@@ -11,4 +11,5 @@ var FILTER_SCOPE_LABEL;
11
11
  FILTER_SCOPE_LABEL["DEFAULT"] = "Default";
12
12
  FILTER_SCOPE_LABEL["CHART"] = "Panel";
13
13
  FILTER_SCOPE_LABEL["ACTION"] = "Action";
14
+ FILTER_SCOPE_LABEL["FLOW"] = "Automation";
14
15
  })(FILTER_SCOPE_LABEL || (exports.FILTER_SCOPE_LABEL = FILTER_SCOPE_LABEL = {}));
@@ -103,7 +103,7 @@ class UChartPaginationApi {
103
103
  let searchLogic;
104
104
  if (!(0, isEmpty_1.isEmpty)(uFilter.values)) {
105
105
  searchLogic = (0, flatUIToOldLogic_1.flatUIToOldLogic)([
106
- Object.assign(Object.assign({}, uFilter), { validator: UChartPaginationApi._getValidationType(uFilter.column, uFilter.validator), column: Object.assign({}, uFilter.column) }),
106
+ Object.assign(Object.assign({}, uFilter), { enabled: true, validator: UChartPaginationApi._getValidationType(uFilter.column, uFilter.validator), column: Object.assign({}, uFilter.column) }),
107
107
  ]);
108
108
  }
109
109
  return searchLogic;
@@ -7,4 +7,5 @@ export interface II18nFilterPanelScopeTitle {
7
7
  chart: string;
8
8
  default: string;
9
9
  action: string;
10
+ flow: string;
10
11
  }
@@ -7,4 +7,5 @@ export interface II18nFilterScopes {
7
7
  default: string;
8
8
  chart: string;
9
9
  action: string;
10
+ flow: string;
10
11
  }
@@ -33,6 +33,7 @@ exports.I18N_FILTER = {
33
33
  chart: "Panel Filters",
34
34
  default: "Default Filters",
35
35
  action: "Action Filters",
36
+ flow: "Automation Filters",
36
37
  },
37
38
  scopes: I18N_FILTER_SCOPE_1.I18N_FILTER_SCOPE,
38
39
  slidebar: I18N_SLIDEBAR_1.I18N_SLIDEBAR,
@@ -14,4 +14,5 @@ exports.I18N_FILTER_SCOPE = {
14
14
  default: FILTER_SCOPE_LABEL_1.FILTER_SCOPE_LABEL.DEFAULT,
15
15
  chart: FILTER_SCOPE_LABEL_1.FILTER_SCOPE_LABEL.CHART,
16
16
  action: FILTER_SCOPE_LABEL_1.FILTER_SCOPE_LABEL.ACTION,
17
+ flow: FILTER_SCOPE_LABEL_1.FILTER_SCOPE_LABEL.FLOW,
17
18
  };
@@ -6,5 +6,6 @@ export declare enum FILTER_SCOPE {
6
6
  TAB = "TAB",// PB/EU Filters for a single tab
7
7
  DEFAULT = "DEFAULT",// Filters created on Chart Builder
8
8
  CHART = "CHART",// PB/EU Filters for panels inside a page/tab
9
- ACTION = "ACTION"
9
+ ACTION = "ACTION",// Filters created with FilterBY or other actions
10
+ FLOW = "FLOW"
10
11
  }
@@ -8,4 +8,6 @@ export var FILTER_SCOPE;
8
8
  FILTER_SCOPE["DEFAULT"] = "DEFAULT";
9
9
  FILTER_SCOPE["CHART"] = "CHART";
10
10
  FILTER_SCOPE["ACTION"] = "ACTION";
11
+ // Other scopes
12
+ FILTER_SCOPE["FLOW"] = "FLOW";
11
13
  })(FILTER_SCOPE || (FILTER_SCOPE = {}));
@@ -8,4 +8,5 @@ export const FILTER_SCOPES = [
8
8
  FILTER_SCOPE.DEFAULT,
9
9
  FILTER_SCOPE.CHART,
10
10
  FILTER_SCOPE.ACTION,
11
+ FILTER_SCOPE.FLOW,
11
12
  ];
@@ -65,4 +65,12 @@ export const FILTER_SCOPE_INFO = [
65
65
  displayed: true,
66
66
  i18nLabelPath: "filter.scopes.action",
67
67
  },
68
+ {
69
+ label: FILTER_SCOPE_LABEL.FLOW,
70
+ shortLabel: "Action",
71
+ abbrLabel: "ACT",
72
+ value: FILTER_SCOPE.FLOW,
73
+ displayed: false,
74
+ i18nLabelPath: "filter.scopes.flow",
75
+ },
68
76
  ];
@@ -6,5 +6,6 @@ export declare enum FILTER_SCOPE_LABEL {
6
6
  TAB = "Tab",
7
7
  DEFAULT = "Default",
8
8
  CHART = "Panel",
9
- ACTION = "Action"
9
+ ACTION = "Action",
10
+ FLOW = "Automation"
10
11
  }
@@ -8,4 +8,5 @@ export var FILTER_SCOPE_LABEL;
8
8
  FILTER_SCOPE_LABEL["DEFAULT"] = "Default";
9
9
  FILTER_SCOPE_LABEL["CHART"] = "Panel";
10
10
  FILTER_SCOPE_LABEL["ACTION"] = "Action";
11
+ FILTER_SCOPE_LABEL["FLOW"] = "Automation";
11
12
  })(FILTER_SCOPE_LABEL || (FILTER_SCOPE_LABEL = {}));
@@ -97,7 +97,7 @@ export class UChartPaginationApi {
97
97
  let searchLogic;
98
98
  if (!isEmpty(uFilter.values)) {
99
99
  searchLogic = flatUIToOldLogic([
100
- Object.assign(Object.assign({}, uFilter), { validator: UChartPaginationApi._getValidationType(uFilter.column, uFilter.validator), column: Object.assign({}, uFilter.column) }),
100
+ Object.assign(Object.assign({}, uFilter), { enabled: true, validator: UChartPaginationApi._getValidationType(uFilter.column, uFilter.validator), column: Object.assign({}, uFilter.column) }),
101
101
  ]);
102
102
  }
103
103
  return searchLogic;
@@ -7,4 +7,5 @@ export interface II18nFilterPanelScopeTitle {
7
7
  chart: string;
8
8
  default: string;
9
9
  action: string;
10
+ flow: string;
10
11
  }
@@ -7,4 +7,5 @@ export interface II18nFilterScopes {
7
7
  default: string;
8
8
  chart: string;
9
9
  action: string;
10
+ flow: string;
10
11
  }
@@ -30,6 +30,7 @@ export const I18N_FILTER = {
30
30
  chart: "Panel Filters",
31
31
  default: "Default Filters",
32
32
  action: "Action Filters",
33
+ flow: "Automation Filters",
33
34
  },
34
35
  scopes: I18N_FILTER_SCOPE,
35
36
  slidebar: I18N_SLIDEBAR,
@@ -11,4 +11,5 @@ export const I18N_FILTER_SCOPE = {
11
11
  default: FILTER_SCOPE_LABEL.DEFAULT,
12
12
  chart: FILTER_SCOPE_LABEL.CHART,
13
13
  action: FILTER_SCOPE_LABEL.ACTION,
14
+ flow: FILTER_SCOPE_LABEL.FLOW,
14
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.13.0-2",
3
+ "version": "1.13.0-4",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",