@qrvey/utils 1.2.4-22 → 1.2.4-23

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/README.md +96 -96
  2. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +2 -0
  3. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +0 -2
  4. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +1 -1
  5. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +1 -1
  6. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +10 -0
  7. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +0 -10
  8. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +2 -2
  9. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +2 -0
  10. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +0 -2
  11. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +1 -1
  12. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +1 -1
  13. package/dist/globalization/labels/filters/I18N_FILTER.js +10 -0
  14. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +0 -10
  15. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +2 -2
  16. package/package.json +1 -1
  17. package/src/globalization/interfaces/filters/II18nFilter.ts +2 -0
  18. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +0 -2
  19. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.ts +1 -1
  20. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.ts +2 -2
  21. package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
  22. package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +0 -10
  23. package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +2 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-22*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-23*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -249,12 +249,12 @@ Gets a Date Object instance by a Date format
249
249
 
250
250
 
251
251
 
252
- ### dist/dates/helpers/getDateFormatByProperty.js
252
+ ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
253
253
 
254
254
 
255
- #### getDateFormatByProperty(property)
255
+ #### getDateFormatRegularExpressionInArray(dateFormat)
256
256
 
257
- Gets the date format by the given property
257
+ Gets an array of regular expressions by the given date format
258
258
 
259
259
 
260
260
 
@@ -263,7 +263,7 @@ Gets the date format by the given property
263
263
 
264
264
  | Name | Type | Description | |
265
265
  | ---- | ---- | ----------- | -------- |
266
- | property | | The Column Property |   |
266
+ | dateFormat | | the date format |   |
267
267
 
268
268
 
269
269
 
@@ -271,17 +271,17 @@ Gets the date format by the given property
271
271
  ##### Returns
272
272
 
273
273
 
274
- - The date format
274
+ - an array of regular expressions
275
275
 
276
276
 
277
277
 
278
278
 
279
- ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
279
+ ### dist/dates/helpers/getSeparatorByDateFormat.js
280
280
 
281
281
 
282
- #### getDateFormatRegularExpressionInArray(dateFormat)
282
+ #### getSeparatorByDateFormat(format)
283
283
 
284
- Gets an array of regular expressions by the given date format
284
+ Gets the separator of the date format
285
285
 
286
286
 
287
287
 
@@ -290,7 +290,7 @@ Gets an array of regular expressions by the given date format
290
290
 
291
291
  | Name | Type | Description | |
292
292
  | ---- | ---- | ----------- | -------- |
293
- | dateFormat | | the date format |   |
293
+ | format | | the date format |   |
294
294
 
295
295
 
296
296
 
@@ -298,17 +298,17 @@ Gets an array of regular expressions by the given date format
298
298
  ##### Returns
299
299
 
300
300
 
301
- - an array of regular expressions
301
+ - a separator string
302
302
 
303
303
 
304
304
 
305
305
 
306
- ### dist/dates/helpers/getSeparatorByDateFormat.js
306
+ ### dist/dates/helpers/getDateFormatByProperty.js
307
307
 
308
308
 
309
- #### getSeparatorByDateFormat(format)
309
+ #### getDateFormatByProperty(property)
310
310
 
311
- Gets the separator of the date format
311
+ Gets the date format by the given property
312
312
 
313
313
 
314
314
 
@@ -317,7 +317,7 @@ Gets the separator of the date format
317
317
 
318
318
  | Name | Type | Description | |
319
319
  | ---- | ---- | ----------- | -------- |
320
- | format | | the date format |   |
320
+ | property | | The Column Property |   |
321
321
 
322
322
 
323
323
 
@@ -325,7 +325,7 @@ Gets the separator of the date format
325
325
  ##### Returns
326
326
 
327
327
 
328
- - a separator string
328
+ - The date format
329
329
 
330
330
 
331
331
 
@@ -688,26 +688,6 @@ Output:
688
688
 
689
689
 
690
690
 
691
- ### dist/filters/classes/FilterInputErrorHandler.js
692
-
693
-
694
- #### new FilterInputErrorHandler()
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
- ##### Returns
704
-
705
-
706
- - `Void`
707
-
708
-
709
-
710
-
711
691
  ### dist/filters/adapters/FDToFlatUI.js
712
692
 
713
693
 
@@ -1023,34 +1003,6 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
1023
1003
 
1024
1004
 
1025
1005
 
1026
- ### dist/filters/adapters/adaptFilterValues.js
1027
-
1028
-
1029
- #### adaptFilterValues(filter)
1030
-
1031
- [TODO: For 2022, eliminate this adapter]
1032
- Gets an adapted filter value array. Validates the enabled property and sets
1033
-
1034
-
1035
-
1036
-
1037
- ##### Parameters
1038
-
1039
- | Name | Type | Description | |
1040
- | ---- | ---- | ----------- | -------- |
1041
- | filter | | The filter |   |
1042
-
1043
-
1044
-
1045
-
1046
- ##### Returns
1047
-
1048
-
1049
- - A new value array with the filled properties.
1050
-
1051
-
1052
-
1053
-
1054
1006
  ### dist/filters/adapters/flatUIToFD.js
1055
1007
 
1056
1008
 
@@ -1172,6 +1124,34 @@ Gets an filter structure for the filter data
1172
1124
 
1173
1125
 
1174
1126
 
1127
+ ### dist/filters/adapters/adaptFilterValues.js
1128
+
1129
+
1130
+ #### adaptFilterValues(filter)
1131
+
1132
+ [TODO: For 2022, eliminate this adapter]
1133
+ Gets an adapted filter value array. Validates the enabled property and sets
1134
+
1135
+
1136
+
1137
+
1138
+ ##### Parameters
1139
+
1140
+ | Name | Type | Description | |
1141
+ | ---- | ---- | ----------- | -------- |
1142
+ | filter | | The filter |   |
1143
+
1144
+
1145
+
1146
+
1147
+ ##### Returns
1148
+
1149
+
1150
+ - A new value array with the filled properties.
1151
+
1152
+
1153
+
1154
+
1175
1155
  ### dist/filters/adapters/flatUIToLogic.js
1176
1156
 
1177
1157
 
@@ -1558,6 +1538,26 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1558
1538
 
1559
1539
 
1560
1540
 
1541
+ ### dist/filters/classes/FilterInputErrorHandler.js
1542
+
1543
+
1544
+ #### new FilterInputErrorHandler()
1545
+
1546
+
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+ ##### Returns
1554
+
1555
+
1556
+ - `Void`
1557
+
1558
+
1559
+
1560
+
1561
1561
  ### dist/filters/helpers/applyHierarchyForAggFilters.js
1562
1562
 
1563
1563
 
@@ -2592,12 +2592,12 @@ Upper case the first letter of a given text
2592
2592
 
2593
2593
 
2594
2594
 
2595
- ### dist/qrvey/helpers/getColumnsLabel.js
2595
+ ### dist/services/api/getAllDatasets.api.js
2596
2596
 
2597
2597
 
2598
- #### getColumnLabels(column)
2598
+ #### getAllDatasets(qrveyids)
2599
2599
 
2600
- Get an string of the properties of the given column.
2600
+ Get a dataset list from a collection of Qrvey IDs
2601
2601
 
2602
2602
 
2603
2603
 
@@ -2606,7 +2606,7 @@ Get an string of the properties of the given column.
2606
2606
 
2607
2607
  | Name | Type | Description | |
2608
2608
  | ---- | ---- | ----------- | -------- |
2609
- | column | | The column |   |
2609
+ | qrveyids | | Collection of Qrvey IDs |   |
2610
2610
 
2611
2611
 
2612
2612
 
@@ -2614,17 +2614,17 @@ Get an string of the properties of the given column.
2614
2614
  ##### Returns
2615
2615
 
2616
2616
 
2617
- - an string with the property, aggregate or calculation label.
2617
+ - a promise
2618
2618
 
2619
2619
 
2620
2620
 
2621
2621
 
2622
- ### dist/services/api/getAllDatasets.api.js
2622
+ ### dist/services/api/getAllQrveys.api.js
2623
2623
 
2624
2624
 
2625
- #### getAllDatasets(qrveyids)
2625
+ #### getAllQrveys(config, params)
2626
2626
 
2627
- Get a dataset list from a collection of Qrvey IDs
2627
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2628
2628
 
2629
2629
 
2630
2630
 
@@ -2633,7 +2633,8 @@ Get a dataset list from a collection of Qrvey IDs
2633
2633
 
2634
2634
  | Name | Type | Description | |
2635
2635
  | ---- | ---- | ----------- | -------- |
2636
- | qrveyids | | Collection of Qrvey IDs |   |
2636
+ | config | | Configuration |   |
2637
+ | params | | Object for getting precise data |   |
2637
2638
 
2638
2639
 
2639
2640
 
@@ -2641,17 +2642,17 @@ Get a dataset list from a collection of Qrvey IDs
2641
2642
  ##### Returns
2642
2643
 
2643
2644
 
2644
- - a promise
2645
+ - `Void`
2645
2646
 
2646
2647
 
2647
2648
 
2648
2649
 
2649
- ### dist/services/api/getAllQrveys.api.js
2650
+ ### dist/services/api/getDatasetColumns.api.js
2650
2651
 
2651
2652
 
2652
- #### getAllQrveys(config, params)
2653
+ #### getDatasetColumns(qrveyid)
2653
2654
 
2654
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2655
+ Get a dataset by Qrvey ID
2655
2656
 
2656
2657
 
2657
2658
 
@@ -2660,8 +2661,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2660
2661
 
2661
2662
  | Name | Type | Description | |
2662
2663
  | ---- | ---- | ----------- | -------- |
2663
- | config | | Configuration |   |
2664
- | params | | Object for getting precise data |   |
2664
+ | qrveyid | | The Qrvey ID |   |
2665
2665
 
2666
2666
 
2667
2667
 
@@ -2669,17 +2669,17 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2669
2669
  ##### Returns
2670
2670
 
2671
2671
 
2672
- - `Void`
2672
+ - a promise
2673
2673
 
2674
2674
 
2675
2675
 
2676
2676
 
2677
- ### dist/services/api/getDatasetColumns.api.js
2677
+ ### dist/qrvey/helpers/getColumnsLabel.js
2678
2678
 
2679
2679
 
2680
- #### getDatasetColumns(qrveyid)
2680
+ #### getColumnLabels(column)
2681
2681
 
2682
- Get a dataset by Qrvey ID
2682
+ Get an string of the properties of the given column.
2683
2683
 
2684
2684
 
2685
2685
 
@@ -2688,7 +2688,7 @@ Get a dataset by Qrvey ID
2688
2688
 
2689
2689
  | Name | Type | Description | |
2690
2690
  | ---- | ---- | ----------- | -------- |
2691
- | qrveyid | | The Qrvey ID |   |
2691
+ | column | | The column |   |
2692
2692
 
2693
2693
 
2694
2694
 
@@ -2696,7 +2696,7 @@ Get a dataset by Qrvey ID
2696
2696
  ##### Returns
2697
2697
 
2698
2698
 
2699
- - a promise
2699
+ - an string with the property, aggregate or calculation label.
2700
2700
 
2701
2701
 
2702
2702
 
@@ -2839,12 +2839,12 @@ try to find this string as a variable on Windows object
2839
2839
 
2840
2840
 
2841
2841
 
2842
- ### dist/dates/relative/helpers/formatStatement.js
2842
+ ### dist/dates/relative/helpers/getStatementCase.js
2843
2843
 
2844
2844
 
2845
- #### formatStatement(statement)
2845
+ #### getStatementCase(includeCurrent, isCalendarDate)
2846
2846
 
2847
- Build a proper relative date statement type
2847
+ Returns a number/constant that identifies a relative date case
2848
2848
 
2849
2849
 
2850
2850
 
@@ -2853,7 +2853,8 @@ Build a proper relative date statement type
2853
2853
 
2854
2854
  | Name | Type | Description | |
2855
2855
  | ---- | ---- | ----------- | -------- |
2856
- | statement | `RelativeStatement` | |   |
2856
+ | includeCurrent | `boolean` | |   |
2857
+ | isCalendarDate | `boolean` | |   |
2857
2858
 
2858
2859
 
2859
2860
 
@@ -2861,17 +2862,17 @@ Build a proper relative date statement type
2861
2862
  ##### Returns
2862
2863
 
2863
2864
 
2864
- - `RelativeStatement`
2865
+ - `number`
2865
2866
 
2866
2867
 
2867
2868
 
2868
2869
 
2869
- ### dist/dates/relative/helpers/getStatementCase.js
2870
+ ### dist/dates/relative/helpers/formatStatement.js
2870
2871
 
2871
2872
 
2872
- #### getStatementCase(includeCurrent, isCalendarDate)
2873
+ #### formatStatement(statement)
2873
2874
 
2874
- Returns a number/constant that identifies a relative date case
2875
+ Build a proper relative date statement type
2875
2876
 
2876
2877
 
2877
2878
 
@@ -2880,8 +2881,7 @@ Returns a number/constant that identifies a relative date case
2880
2881
 
2881
2882
  | Name | Type | Description | |
2882
2883
  | ---- | ---- | ----------- | -------- |
2883
- | includeCurrent | `boolean` | |   |
2884
- | isCalendarDate | `boolean` | |   |
2884
+ | statement | `RelativeStatement` | |   |
2885
2885
 
2886
2886
 
2887
2887
 
@@ -2889,7 +2889,7 @@ Returns a number/constant that identifies a relative date case
2889
2889
  ##### Returns
2890
2890
 
2891
2891
 
2892
- - `number`
2892
+ - `RelativeStatement`
2893
2893
 
2894
2894
 
2895
2895
 
@@ -5,11 +5,13 @@ import { II18nRelativeContainer } from "./II18nRelativeContainer";
5
5
  import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
+ import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
8
9
  export interface II18nFilter {
9
10
  operators: II18nFilterOperator;
10
11
  ranking_container: II18nRankingContainer;
11
12
  relative_container: II18nRelativeContainer;
12
13
  scope: II18nFilterScopes;
14
+ scope_title: II18nFilterPanelScopeTitle;
13
15
  slidebar: II18nSlidebar;
14
16
  validators: II18nFilterValidator;
15
17
  value_container: II18nValueContainer;
@@ -2,7 +2,6 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
2
2
  import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
3
3
  import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
4
4
  import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
5
- import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
6
5
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
7
6
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
8
7
  export interface II18nFilterPanel {
@@ -14,6 +13,5 @@ export interface II18nFilterPanel {
14
13
  delete_dialog: II18nFilterPanelDeleteDialog;
15
14
  header_section: II18nFilterPanelHeaderSection;
16
15
  scope_tooltip: II18nFilterPanelScopeTooltip;
17
- scope_title: II18nFilterPanelScopeTitle;
18
16
  settings_section: II18nFilterPanelSettingsSection;
19
17
  }
@@ -8,7 +8,7 @@ export interface II18nFormulaBuilderCreateModal {
8
8
  detail_title: string;
9
9
  detail_suggestion: string;
10
10
  detail_suggestion_operators: string;
11
- syntax_succes: string;
11
+ syntax_success: string;
12
12
  syntax_error: string;
13
13
  syntax_warning: string;
14
14
  test: string;
@@ -1,5 +1,5 @@
1
1
  export interface II18nFormulaBuilderListModal {
2
2
  title_header: string;
3
- create_buttom: string;
3
+ create_button: string;
4
4
  empty_message: string;
5
5
  }
@@ -9,6 +9,16 @@ const I18N_RELATIVE_CONTAINER_1 = require("./I18N_RELATIVE_CONTAINER");
9
9
  const I18N_SLIDEBAR_1 = require("./I18N_SLIDEBAR");
10
10
  const I18N_VALUE_CONTAINER_1 = require("./I18N_VALUE_CONTAINER");
11
11
  exports.I18N_FILTER = {
12
+ scope_title: {
13
+ admin: 'Admin Filters',
14
+ data: 'Data Filters',
15
+ global: 'Global Filters',
16
+ page: 'Page Filters',
17
+ tab: 'Tab Filters',
18
+ chart: 'Panel Filters',
19
+ default: 'Default Filters',
20
+ action: 'Action Filters',
21
+ },
12
22
  operators: I18N_FILTER_OPERATOR_1.I18N_FILTER_OPERATOR,
13
23
  relative_container: I18N_RELATIVE_CONTAINER_1.I18N_RELATIVE_CONTAINER,
14
24
  scope: I18N_FILTER_SCOPE_1.I18N_FILTER_SCOPE,
@@ -24,16 +24,6 @@ exports.I18N_FILTER_PANEL = {
24
24
  cancel: 'Cancel',
25
25
  apply: 'Delete',
26
26
  },
27
- scope_title: {
28
- admin: 'Admin Filters',
29
- data: 'Data Filters',
30
- global: 'Global Filters',
31
- page: 'Page Filters',
32
- tab: 'Tab Filters',
33
- chart: 'Panel Filters',
34
- default: 'Default Filters',
35
- action: 'Action Filters',
36
- },
37
27
  scope_tooltip: {
38
28
  global: 'Filters applied to all pages',
39
29
  page: 'Filters applied to the current page',
@@ -4,7 +4,7 @@ exports.I18N_FORMULA_BUILDER = void 0;
4
4
  exports.I18N_FORMULA_BUILDER = {
5
5
  list_modal: {
6
6
  title_header: 'Formulas',
7
- create_buttom: 'Create Formula',
7
+ create_button: 'Create Formula',
8
8
  empty_message: 'No Formulas Yet'
9
9
  },
10
10
  list_table: {
@@ -33,7 +33,7 @@ exports.I18N_FORMULA_BUILDER = {
33
33
  detail_title: 'Formulita',
34
34
  detail_suggestion: 'Allows mathematical operations including',
35
35
  detail_suggestion_operators: '+, -, *, /, ()',
36
- syntax_succes: 'Formula syntax is correct.',
36
+ syntax_success: 'Formula syntax is correct.',
37
37
  syntax_error: 'Formula syntax error, please check your formula and retry.',
38
38
  syntax_warning: 'Formula syntax correct, but some null values generate error',
39
39
  test: 'Test',
@@ -5,11 +5,13 @@ import { II18nRelativeContainer } from "./II18nRelativeContainer";
5
5
  import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
+ import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
8
9
  export interface II18nFilter {
9
10
  operators: II18nFilterOperator;
10
11
  ranking_container: II18nRankingContainer;
11
12
  relative_container: II18nRelativeContainer;
12
13
  scope: II18nFilterScopes;
14
+ scope_title: II18nFilterPanelScopeTitle;
13
15
  slidebar: II18nSlidebar;
14
16
  validators: II18nFilterValidator;
15
17
  value_container: II18nValueContainer;
@@ -2,7 +2,6 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
2
2
  import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
3
3
  import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
4
4
  import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
5
- import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
6
5
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
7
6
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
8
7
  export interface II18nFilterPanel {
@@ -14,6 +13,5 @@ export interface II18nFilterPanel {
14
13
  delete_dialog: II18nFilterPanelDeleteDialog;
15
14
  header_section: II18nFilterPanelHeaderSection;
16
15
  scope_tooltip: II18nFilterPanelScopeTooltip;
17
- scope_title: II18nFilterPanelScopeTitle;
18
16
  settings_section: II18nFilterPanelSettingsSection;
19
17
  }
@@ -8,7 +8,7 @@ export interface II18nFormulaBuilderCreateModal {
8
8
  detail_title: string;
9
9
  detail_suggestion: string;
10
10
  detail_suggestion_operators: string;
11
- syntax_succes: string;
11
+ syntax_success: string;
12
12
  syntax_error: string;
13
13
  syntax_warning: string;
14
14
  test: string;
@@ -1,5 +1,5 @@
1
1
  export interface II18nFormulaBuilderListModal {
2
2
  title_header: string;
3
- create_buttom: string;
3
+ create_button: string;
4
4
  empty_message: string;
5
5
  }
@@ -6,6 +6,16 @@ import { I18N_RELATIVE_CONTAINER } from "./I18N_RELATIVE_CONTAINER";
6
6
  import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
7
7
  import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
8
8
  export const I18N_FILTER = {
9
+ scope_title: {
10
+ admin: 'Admin Filters',
11
+ data: 'Data Filters',
12
+ global: 'Global Filters',
13
+ page: 'Page Filters',
14
+ tab: 'Tab Filters',
15
+ chart: 'Panel Filters',
16
+ default: 'Default Filters',
17
+ action: 'Action Filters',
18
+ },
9
19
  operators: I18N_FILTER_OPERATOR,
10
20
  relative_container: I18N_RELATIVE_CONTAINER,
11
21
  scope: I18N_FILTER_SCOPE,
@@ -21,16 +21,6 @@ export const I18N_FILTER_PANEL = {
21
21
  cancel: 'Cancel',
22
22
  apply: 'Delete',
23
23
  },
24
- scope_title: {
25
- admin: 'Admin Filters',
26
- data: 'Data Filters',
27
- global: 'Global Filters',
28
- page: 'Page Filters',
29
- tab: 'Tab Filters',
30
- chart: 'Panel Filters',
31
- default: 'Default Filters',
32
- action: 'Action Filters',
33
- },
34
24
  scope_tooltip: {
35
25
  global: 'Filters applied to all pages',
36
26
  page: 'Filters applied to the current page',
@@ -1,7 +1,7 @@
1
1
  export const I18N_FORMULA_BUILDER = {
2
2
  list_modal: {
3
3
  title_header: 'Formulas',
4
- create_buttom: 'Create Formula',
4
+ create_button: 'Create Formula',
5
5
  empty_message: 'No Formulas Yet'
6
6
  },
7
7
  list_table: {
@@ -30,7 +30,7 @@ export const I18N_FORMULA_BUILDER = {
30
30
  detail_title: 'Formulita',
31
31
  detail_suggestion: 'Allows mathematical operations including',
32
32
  detail_suggestion_operators: '+, -, *, /, ()',
33
- syntax_succes: 'Formula syntax is correct.',
33
+ syntax_success: 'Formula syntax is correct.',
34
34
  syntax_error: 'Formula syntax error, please check your formula and retry.',
35
35
  syntax_warning: 'Formula syntax correct, but some null values generate error',
36
36
  test: 'Test',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.4-22",
3
+ "version": "1.2.4-23",
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",
@@ -5,12 +5,14 @@ import { II18nRelativeContainer } from "./II18nRelativeContainer";
5
5
  import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
+ import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
8
9
 
9
10
  export interface II18nFilter {
10
11
  operators: II18nFilterOperator;
11
12
  ranking_container: II18nRankingContainer;
12
13
  relative_container: II18nRelativeContainer;
13
14
  scope: II18nFilterScopes;
15
+ scope_title: II18nFilterPanelScopeTitle;
14
16
  slidebar: II18nSlidebar;
15
17
  validators: II18nFilterValidator;
16
18
  value_container: II18nValueContainer;
@@ -2,7 +2,6 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
2
2
  import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
3
3
  import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
4
4
  import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
5
- import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
6
5
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
7
6
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
8
7
 
@@ -15,6 +14,5 @@ export interface II18nFilterPanel {
15
14
  delete_dialog: II18nFilterPanelDeleteDialog;
16
15
  header_section: II18nFilterPanelHeaderSection;
17
16
  scope_tooltip: II18nFilterPanelScopeTooltip;
18
- scope_title: II18nFilterPanelScopeTitle;
19
17
  settings_section: II18nFilterPanelSettingsSection;
20
18
  }
@@ -8,7 +8,7 @@ export interface II18nFormulaBuilderCreateModal {
8
8
  detail_title: string;
9
9
  detail_suggestion: string;
10
10
  detail_suggestion_operators: string;
11
- syntax_succes: string;
11
+ syntax_success: string;
12
12
  syntax_error: string;
13
13
  syntax_warning: string;
14
14
  test: string;
@@ -1,5 +1,5 @@
1
1
  export interface II18nFormulaBuilderListModal {
2
2
  title_header: string,
3
- create_buttom: string,
3
+ create_button: string,
4
4
  empty_message: string
5
- }
5
+ }
@@ -8,6 +8,16 @@ import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
8
8
  import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
9
9
 
10
10
  export const I18N_FILTER: II18nFilter = {
11
+ scope_title: {
12
+ admin: 'Admin Filters',
13
+ data: 'Data Filters',
14
+ global: 'Global Filters',
15
+ page: 'Page Filters',
16
+ tab: 'Tab Filters',
17
+ chart: 'Panel Filters',
18
+ default: 'Default Filters',
19
+ action: 'Action Filters',
20
+ },
11
21
  operators: I18N_FILTER_OPERATOR,
12
22
  relative_container: I18N_RELATIVE_CONTAINER,
13
23
  scope: I18N_FILTER_SCOPE,
@@ -23,16 +23,6 @@ export const I18N_FILTER_PANEL: II18nFilterPanel = {
23
23
  cancel: 'Cancel',
24
24
  apply: 'Delete',
25
25
  },
26
- scope_title: {
27
- admin: 'Admin Filters',
28
- data: 'Data Filters',
29
- global: 'Global Filters',
30
- page: 'Page Filters',
31
- tab: 'Tab Filters',
32
- chart: 'Panel Filters',
33
- default: 'Default Filters',
34
- action: 'Action Filters',
35
- },
36
26
  scope_tooltip: {
37
27
  global: 'Filters applied to all pages',
38
28
  page: 'Filters applied to the current page',
@@ -3,7 +3,7 @@ import { II18nFormulaBuilder } from "../../interfaces/formula_builder";
3
3
  export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
4
4
  list_modal: {
5
5
  title_header: 'Formulas',
6
- create_buttom: 'Create Formula',
6
+ create_button: 'Create Formula',
7
7
  empty_message: 'No Formulas Yet'
8
8
  },
9
9
  list_table: {
@@ -32,7 +32,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
32
32
  detail_title: 'Formulita',
33
33
  detail_suggestion: 'Allows mathematical operations including',
34
34
  detail_suggestion_operators: '+, -, *, /, ()',
35
- syntax_succes: 'Formula syntax is correct.',
35
+ syntax_success: 'Formula syntax is correct.',
36
36
  syntax_error: 'Formula syntax error, please check your formula and retry.',
37
37
  syntax_warning: 'Formula syntax correct, but some null values generate error',
38
38
  test: 'Test',