@qrvey/utils 1.2.4-18 → 1.2.4-21

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 (30) hide show
  1. package/README.md +221 -221
  2. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +1 -0
  3. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -1
  4. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +2 -0
  5. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +10 -0
  6. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.js +2 -0
  7. package/dist/cjs/globalization/interfaces/filters/index.d.ts +1 -0
  8. package/dist/cjs/globalization/interfaces/filters/index.js +1 -0
  9. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +2 -1
  10. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -1
  11. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +10 -0
  12. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +1 -0
  13. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -1
  14. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +2 -0
  15. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +10 -0
  16. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.js +1 -0
  17. package/dist/globalization/interfaces/filters/index.d.ts +1 -0
  18. package/dist/globalization/interfaces/filters/index.js +1 -0
  19. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +2 -1
  20. package/dist/globalization/labels/filters/I18N_FILTER.js +0 -1
  21. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +10 -0
  22. package/package.json +1 -1
  23. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.ts +1 -0
  24. package/src/globalization/interfaces/filters/II18nFilter.ts +0 -1
  25. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +2 -0
  26. package/src/globalization/interfaces/filters/II18nFilterPanelScopeTitle.ts +10 -0
  27. package/src/globalization/interfaces/filters/index.ts +1 -0
  28. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +2 -1
  29. package/src/globalization/labels/filters/I18N_FILTER.ts +0 -1
  30. package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +10 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-18*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-21*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -108,12 +108,12 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
108
108
 
109
109
 
110
110
 
111
- ### dist/dates/adapters/monthYearToDate.js
111
+ ### dist/dates/adapters/quarterYearToDate.js
112
112
 
113
113
 
114
- #### monthYearToDate(monthYearDate, time)
114
+ #### quarterYearToDate(quarterYearDate, time)
115
115
 
116
- Transforms String Date from a [Month Year] format to Date object.
116
+ Transforms String Date from a [Quarter Year] format to Date object.
117
117
 
118
118
 
119
119
 
@@ -122,7 +122,7 @@ Transforms String Date from a [Month Year] format to Date object.
122
122
 
123
123
  | Name | Type | Description | |
124
124
  | ---- | ---- | ----------- | -------- |
125
- | monthYearDate | | String of [Month Year] date |   |
125
+ | quarterYearDate | | String of [Quarter Year] date |   |
126
126
  | time | | Flag to parse the object date to milliseconds. |   |
127
127
 
128
128
 
@@ -136,12 +136,12 @@ Transforms String Date from a [Month Year] format to Date object.
136
136
 
137
137
 
138
138
 
139
- ### dist/dates/adapters/quarterYearToDate.js
139
+ ### dist/dates/adapters/monthYearToDate.js
140
140
 
141
141
 
142
- #### quarterYearToDate(quarterYearDate, time)
142
+ #### monthYearToDate(monthYearDate, time)
143
143
 
144
- Transforms String Date from a [Quarter Year] format to Date object.
144
+ Transforms String Date from a [Month Year] format to Date object.
145
145
 
146
146
 
147
147
 
@@ -150,7 +150,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
150
150
 
151
151
  | Name | Type | Description | |
152
152
  | ---- | ---- | ----------- | -------- |
153
- | quarterYearDate | | String of [Quarter Year] date |   |
153
+ | monthYearDate | | String of [Month Year] date |   |
154
154
  | time | | Flag to parse the object date to milliseconds. |   |
155
155
 
156
156
 
@@ -1538,26 +1538,6 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1538
1538
 
1539
1539
 
1540
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
1541
  ### dist/filters/helpers/applyHierarchyForAggFilters.js
1562
1542
 
1563
1543
 
@@ -1669,6 +1649,26 @@ Gets the Scopes IDS for the Available Scope function by any config
1669
1649
 
1670
1650
 
1671
1651
 
1652
+ ### dist/filters/classes/FilterInputErrorHandler.js
1653
+
1654
+
1655
+ #### new FilterInputErrorHandler()
1656
+
1657
+
1658
+
1659
+
1660
+
1661
+
1662
+
1663
+
1664
+ ##### Returns
1665
+
1666
+
1667
+ - `Void`
1668
+
1669
+
1670
+
1671
+
1672
1672
  ### dist/general/array/delete.js
1673
1673
 
1674
1674
 
@@ -1729,12 +1729,12 @@ Filters a nested tree array by a custom condition on the last child node
1729
1729
 
1730
1730
 
1731
1731
 
1732
- ### dist/general/array/getFirstIndexFromArray.js
1732
+ ### dist/general/array/flattenDeep.js
1733
1733
 
1734
1734
 
1735
- #### getFirstIndexFromArray(array, callback)
1735
+ #### flattenDeep(arr)
1736
1736
 
1737
- Gets the first index from the array by a callback condition
1737
+ Flat deeply an array
1738
1738
 
1739
1739
 
1740
1740
 
@@ -1743,8 +1743,7 @@ Gets the first index from the array by a callback condition
1743
1743
 
1744
1744
  | Name | Type | Description | |
1745
1745
  | ---- | ---- | ----------- | -------- |
1746
- | array | | |   |
1747
- | callback | | function callback |   |
1746
+ | arr | | Array to flat deeply |   |
1748
1747
 
1749
1748
 
1750
1749
 
@@ -1752,17 +1751,17 @@ Gets the first index from the array by a callback condition
1752
1751
  ##### Returns
1753
1752
 
1754
1753
 
1755
- - the first index of the array. -1 when the condition is not satisfied
1754
+ - flatten array
1756
1755
 
1757
1756
 
1758
1757
 
1759
1758
 
1760
- ### dist/general/array/flattenDeep.js
1759
+ ### dist/general/array/getFirstIndexFromArray.js
1761
1760
 
1762
1761
 
1763
- #### flattenDeep(arr)
1762
+ #### getFirstIndexFromArray(array, callback)
1764
1763
 
1765
- Flat deeply an array
1764
+ Gets the first index from the array by a callback condition
1766
1765
 
1767
1766
 
1768
1767
 
@@ -1771,7 +1770,8 @@ Flat deeply an array
1771
1770
 
1772
1771
  | Name | Type | Description | |
1773
1772
  | ---- | ---- | ----------- | -------- |
1774
- | arr | | Array to flat deeply |   |
1773
+ | array | | |   |
1774
+ | callback | | function callback |   |
1775
1775
 
1776
1776
 
1777
1777
 
@@ -1779,7 +1779,7 @@ Flat deeply an array
1779
1779
  ##### Returns
1780
1780
 
1781
1781
 
1782
- - flatten array
1782
+ - the first index of the array. -1 when the condition is not satisfied
1783
1783
 
1784
1784
 
1785
1785
 
@@ -1897,33 +1897,6 @@ Includes arrays in the comparison.
1897
1897
 
1898
1898
 
1899
1899
 
1900
- ### dist/general/mix/getTag.js
1901
-
1902
-
1903
- #### getTag(value)
1904
-
1905
- Gets the `toStringTag` of `value`.
1906
-
1907
-
1908
-
1909
-
1910
- ##### Parameters
1911
-
1912
- | Name | Type | Description | |
1913
- | ---- | ---- | ----------- | -------- |
1914
- | value | | The value to query. |   |
1915
-
1916
-
1917
-
1918
-
1919
- ##### Returns
1920
-
1921
-
1922
- - `string` Returns the `toStringTag`.
1923
-
1924
-
1925
-
1926
-
1927
1900
  ### dist/general/mix/importScripts.js
1928
1901
 
1929
1902
 
@@ -2009,6 +1982,33 @@ return a Promise that is resolved when the script is loaded
2009
1982
 
2010
1983
 
2011
1984
 
1985
+ ### dist/general/mix/getTag.js
1986
+
1987
+
1988
+ #### getTag(value)
1989
+
1990
+ Gets the `toStringTag` of `value`.
1991
+
1992
+
1993
+
1994
+
1995
+ ##### Parameters
1996
+
1997
+ | Name | Type | Description | |
1998
+ | ---- | ---- | ----------- | -------- |
1999
+ | value | | The value to query. |   |
2000
+
2001
+
2002
+
2003
+
2004
+ ##### Returns
2005
+
2006
+
2007
+ - `string` Returns the `toStringTag`.
2008
+
2009
+
2010
+
2011
+
2012
2012
  ### dist/general/mix/isEmpty.js
2013
2013
 
2014
2014
 
@@ -2592,47 +2592,48 @@ Upper case the first letter of a given text
2592
2592
 
2593
2593
 
2594
2594
 
2595
- ### dist/stencil/decorators/Config.js
2595
+ ### dist/qrvey/helpers/getColumnsLabel.js
2596
2596
 
2597
2597
 
2598
- #### Config()
2599
-
2600
- Stencil.js - Prop Decorator
2601
- Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
2602
- But for this, is required ask for a property in `snake_case` style
2598
+ #### getColumnLabels(column)
2603
2599
 
2600
+ Get an string of the properties of the given column.
2604
2601
 
2605
2602
 
2606
2603
 
2607
2604
 
2605
+ ##### Parameters
2608
2606
 
2609
- ##### Examples
2607
+ | Name | Type | Description | |
2608
+ | ---- | ---- | ----------- | -------- |
2609
+ | column | | The column |   |
2610
2610
 
2611
- ```javascript
2612
- \ @Config() @Prop() settings;
2613
2611
 
2614
- someMethod() {
2615
- this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2616
- }
2617
- ```
2618
2612
 
2619
2613
 
2620
2614
  ##### Returns
2621
2615
 
2622
2616
 
2623
- - `Void`
2617
+ - an string with the property, aggregate or calculation label.
2624
2618
 
2625
2619
 
2626
2620
 
2627
2621
 
2628
- ### dist/stencil/util/createRef.js
2622
+ ### dist/services/api/getAllDatasets.api.js
2629
2623
 
2630
2624
 
2631
- #### createRef()
2625
+ #### getAllDatasets(qrveyids)
2626
+
2627
+ Get a dataset list from a collection of Qrvey IDs
2628
+
2632
2629
 
2633
- lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2634
2630
 
2635
2631
 
2632
+ ##### Parameters
2633
+
2634
+ | Name | Type | Description | |
2635
+ | ---- | ---- | ----------- | -------- |
2636
+ | qrveyids | | Collection of Qrvey IDs |   |
2636
2637
 
2637
2638
 
2638
2639
 
@@ -2640,21 +2641,17 @@ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom
2640
2641
  ##### Returns
2641
2642
 
2642
2643
 
2643
- - function - Function to use in ref prop in html elements
2644
+ - a promise
2644
2645
 
2645
2646
 
2646
2647
 
2647
2648
 
2648
- ### dist/stencil/util/getConfig.js
2649
+ ### dist/services/api/getAllQrveys.api.js
2649
2650
 
2650
2651
 
2651
- #### getConfig(cfg)
2652
+ #### getAllQrveys(config, params)
2652
2653
 
2653
- verify the Config object type and try to return a parsed Object
2654
- - In case _cfg_ is a string, first try to make a JSON parse in other case
2655
- try to find this string as a variable on Windows object
2656
- - If _cfg_ is a fuction, tis is invoked and parsed
2657
- - Finally, if is an object, _cfg_ is inmediatly returned
2654
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2658
2655
 
2659
2656
 
2660
2657
 
@@ -2663,7 +2660,8 @@ try to find this string as a variable on Windows object
2663
2660
 
2664
2661
  | Name | Type | Description | |
2665
2662
  | ---- | ---- | ----------- | -------- |
2666
- | cfg | | |   |
2663
+ | config | | Configuration |   |
2664
+ | params | | Object for getting precise data |   |
2667
2665
 
2668
2666
 
2669
2667
 
@@ -2676,12 +2674,12 @@ try to find this string as a variable on Windows object
2676
2674
 
2677
2675
 
2678
2676
 
2679
- ### dist/services/api/getAllDatasets.api.js
2677
+ ### dist/services/api/getDatasetColumns.api.js
2680
2678
 
2681
2679
 
2682
- #### getAllDatasets(qrveyids)
2680
+ #### getDatasetColumns(qrveyid)
2683
2681
 
2684
- Get a dataset list from a collection of Qrvey IDs
2682
+ Get a dataset by Qrvey ID
2685
2683
 
2686
2684
 
2687
2685
 
@@ -2690,7 +2688,7 @@ Get a dataset list from a collection of Qrvey IDs
2690
2688
 
2691
2689
  | Name | Type | Description | |
2692
2690
  | ---- | ---- | ----------- | -------- |
2693
- | qrveyids | | Collection of Qrvey IDs |   |
2691
+ | qrveyid | | The Qrvey ID |   |
2694
2692
 
2695
2693
 
2696
2694
 
@@ -2703,24 +2701,29 @@ Get a dataset list from a collection of Qrvey IDs
2703
2701
 
2704
2702
 
2705
2703
 
2706
- ### dist/services/api/getAllQrveys.api.js
2704
+ ### dist/stencil/decorators/Config.js
2707
2705
 
2708
2706
 
2709
- #### getAllQrveys(config, params)
2707
+ #### Config()
2710
2708
 
2711
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2709
+ Stencil.js - Prop Decorator
2710
+ Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
2711
+ But for this, is required ask for a property in `snake_case` style
2712
2712
 
2713
2713
 
2714
2714
 
2715
2715
 
2716
- ##### Parameters
2717
2716
 
2718
- | Name | Type | Description | |
2719
- | ---- | ---- | ----------- | -------- |
2720
- | config | | Configuration |   |
2721
- | params | | Object for getting precise data |   |
2722
2717
 
2718
+ ##### Examples
2723
2719
 
2720
+ ```javascript
2721
+ \ @Config() @Prop() settings;
2722
+
2723
+ someMethod() {
2724
+ this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2725
+ }
2726
+ ```
2724
2727
 
2725
2728
 
2726
2729
  ##### Returns
@@ -2731,21 +2734,14 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2731
2734
 
2732
2735
 
2733
2736
 
2734
- ### dist/services/api/getDatasetColumns.api.js
2735
-
2736
-
2737
- #### getDatasetColumns(qrveyid)
2738
-
2739
- Get a dataset by Qrvey ID
2737
+ ### dist/stencil/util/createRef.js
2740
2738
 
2741
2739
 
2740
+ #### createRef()
2742
2741
 
2742
+ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2743
2743
 
2744
- ##### Parameters
2745
2744
 
2746
- | Name | Type | Description | |
2747
- | ---- | ---- | ----------- | -------- |
2748
- | qrveyid | | The Qrvey ID |   |
2749
2745
 
2750
2746
 
2751
2747
 
@@ -2753,17 +2749,21 @@ Get a dataset by Qrvey ID
2753
2749
  ##### Returns
2754
2750
 
2755
2751
 
2756
- - a promise
2752
+ - function - Function to use in ref prop in html elements
2757
2753
 
2758
2754
 
2759
2755
 
2760
2756
 
2761
- ### dist/qrvey/helpers/getColumnsLabel.js
2757
+ ### dist/stencil/util/getConfig.js
2762
2758
 
2763
2759
 
2764
- #### getColumnLabels(column)
2760
+ #### getConfig(cfg)
2765
2761
 
2766
- Get an string of the properties of the given column.
2762
+ verify the Config object type and try to return a parsed Object
2763
+ - In case _cfg_ is a string, first try to make a JSON parse in other case
2764
+ try to find this string as a variable on Windows object
2765
+ - If _cfg_ is a fuction, tis is invoked and parsed
2766
+ - Finally, if is an object, _cfg_ is inmediatly returned
2767
2767
 
2768
2768
 
2769
2769
 
@@ -2772,7 +2772,7 @@ Get an string of the properties of the given column.
2772
2772
 
2773
2773
  | Name | Type | Description | |
2774
2774
  | ---- | ---- | ----------- | -------- |
2775
- | column | | The column |   |
2775
+ | cfg | | |   |
2776
2776
 
2777
2777
 
2778
2778
 
@@ -2780,7 +2780,7 @@ Get an string of the properties of the given column.
2780
2780
  ##### Returns
2781
2781
 
2782
2782
 
2783
- - an string with the property, aggregate or calculation label.
2783
+ - `Void`
2784
2784
 
2785
2785
 
2786
2786
 
@@ -2839,12 +2839,12 @@ Get an string of the properties of the given column.
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
 
@@ -3031,12 +3031,12 @@ Transform user Filters array into Filter Logic structure
3031
3031
 
3032
3032
 
3033
3033
 
3034
- ### dist/filters/helpers/backend/getBackendProperty.js
3034
+ ### dist/filters/helpers/backend/getBackendGroupValue.js
3035
3035
 
3036
3036
 
3037
- #### getBackendProperty(filter)
3037
+ #### getBackendGroupValue(filter)
3038
3038
 
3039
- Gets a property for the logic structure
3039
+ Gets a group value for the backend logic structure
3040
3040
 
3041
3041
 
3042
3042
 
@@ -3058,12 +3058,12 @@ Gets a property for the logic structure
3058
3058
 
3059
3059
 
3060
3060
 
3061
- ### dist/filters/helpers/backend/getBackendGroupValue.js
3061
+ ### dist/filters/helpers/backend/getBackendProperty.js
3062
3062
 
3063
3063
 
3064
- #### getBackendGroupValue(filter)
3064
+ #### getBackendProperty(filter)
3065
3065
 
3066
- Gets a group value for the backend logic structure
3066
+ Gets a property for the logic structure
3067
3067
 
3068
3068
 
3069
3069
 
@@ -3187,12 +3187,12 @@ Gets the Ranking values.
3187
3187
 
3188
3188
 
3189
3189
 
3190
- ### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
3190
+ ### dist/filters/helpers/backend/getLogicByScopes.js
3191
3191
 
3192
3192
 
3193
- #### getLogicByScopesHierarchy(filterData, scopes, currentScope)
3193
+ #### getLogicByScopes(logics, scopes)
3194
3194
 
3195
- Gets filters from the logic by the scopes hierarchy.
3195
+ Gets the filters from logic data by Scopes/Scope IDs.
3196
3196
 
3197
3197
 
3198
3198
 
@@ -3201,9 +3201,8 @@ Gets filters from the logic by the scopes hierarchy.
3201
3201
 
3202
3202
  | Name | Type | Description | |
3203
3203
  | ---- | ---- | ----------- | -------- |
3204
- | filterData | | |   |
3205
- | scopes | | |   |
3206
- | currentScope | | |   |
3204
+ | logics | | The logic array |   |
3205
+ | scopes | | The collection of Scopes/Scope IDs |   |
3207
3206
 
3208
3207
 
3209
3208
 
@@ -3211,17 +3210,17 @@ Gets filters from the logic by the scopes hierarchy.
3211
3210
  ##### Returns
3212
3211
 
3213
3212
 
3214
- - a new array of Logic
3213
+ - a new Logic array
3215
3214
 
3216
3215
 
3217
3216
 
3218
3217
 
3219
- ### dist/filters/helpers/backend/getLogicByScopes.js
3218
+ ### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
3220
3219
 
3221
3220
 
3222
- #### getLogicByScopes(logics, scopes)
3221
+ #### getLogicByScopesHierarchy(filterData, scopes, currentScope)
3223
3222
 
3224
- Gets the filters from logic data by Scopes/Scope IDs.
3223
+ Gets filters from the logic by the scopes hierarchy.
3225
3224
 
3226
3225
 
3227
3226
 
@@ -3230,8 +3229,9 @@ Gets the filters from logic data by Scopes/Scope IDs.
3230
3229
 
3231
3230
  | Name | Type | Description | |
3232
3231
  | ---- | ---- | ----------- | -------- |
3233
- | logics | | The logic array |   |
3234
- | scopes | | The collection of Scopes/Scope IDs |   |
3232
+ | filterData | | |   |
3233
+ | scopes | | |   |
3234
+ | currentScope | | |   |
3235
3235
 
3236
3236
 
3237
3237
 
@@ -3239,17 +3239,17 @@ Gets the filters from logic data by Scopes/Scope IDs.
3239
3239
  ##### Returns
3240
3240
 
3241
3241
 
3242
- - a new Logic array
3242
+ - a new array of Logic
3243
3243
 
3244
3244
 
3245
3245
 
3246
3246
 
3247
- ### dist/filters/helpers/common/areFiltersEquals.js
3247
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3248
3248
 
3249
3249
 
3250
- #### areFiltersEquals(filter1, filter2)
3250
+ #### excludeFiltersByAggregateColumn(filterData)
3251
3251
 
3252
- Validates if both filters are the same
3252
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3253
3253
 
3254
3254
 
3255
3255
 
@@ -3258,8 +3258,7 @@ Validates if both filters are the same
3258
3258
 
3259
3259
  | Name | Type | Description | |
3260
3260
  | ---- | ---- | ----------- | -------- |
3261
- | filter1 | | filter 1 |   |
3262
- | filter2 | | filter 2 |   |
3261
+ | filterData | | The filter data object |   |
3263
3262
 
3264
3263
 
3265
3264
 
@@ -3267,17 +3266,17 @@ Validates if both filters are the same
3267
3266
  ##### Returns
3268
3267
 
3269
3268
 
3270
- - true: the filters are equal; false: the filters are NOT equal
3269
+ - The new filter data object that were excluded the aggregate filters
3271
3270
 
3272
3271
 
3273
3272
 
3274
3273
 
3275
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3274
+ ### dist/filters/helpers/common/areFiltersEquals.js
3276
3275
 
3277
3276
 
3278
- #### excludeFiltersByAggregateColumn(filterData)
3277
+ #### areFiltersEquals(filter1, filter2)
3279
3278
 
3280
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3279
+ Validates if both filters are the same
3281
3280
 
3282
3281
 
3283
3282
 
@@ -3286,7 +3285,8 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3286
3285
 
3287
3286
  | Name | Type | Description | |
3288
3287
  | ---- | ---- | ----------- | -------- |
3289
- | filterData | | The filter data object |   |
3288
+ | filter1 | | filter 1 |   |
3289
+ | filter2 | | filter 2 |   |
3290
3290
 
3291
3291
 
3292
3292
 
@@ -3294,7 +3294,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3294
3294
  ##### Returns
3295
3295
 
3296
3296
 
3297
- - The new filter data object that were excluded the aggregate filters
3297
+ - true: the filters are equal; false: the filters are NOT equal
3298
3298
 
3299
3299
 
3300
3300
 
@@ -3418,12 +3418,23 @@ Gets the Filter Label + Column label
3418
3418
 
3419
3419
 
3420
3420
 
3421
- ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3421
+ ### dist/filters/helpers/common/getFilterid.js
3422
3422
 
3423
3423
 
3424
- #### getFiltersByAggregateColumn(filterData)
3424
+ #### getFilterid(filter)
3425
3425
 
3426
- Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3426
+ Get the Filter ID by the filter structure
3427
+ The order of the epression ID is:
3428
+ - Scope Type
3429
+ - scopeid
3430
+ - qrveyid
3431
+ - panelid
3432
+ - columnid
3433
+ - validator
3434
+ - property
3435
+ - Column Aggregate
3436
+ - Column Calculation
3437
+ - Optional Index
3427
3438
 
3428
3439
 
3429
3440
 
@@ -3432,7 +3443,7 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3432
3443
 
3433
3444
  | Name | Type | Description | |
3434
3445
  | ---- | ---- | ----------- | -------- |
3435
- | filterData | | The filter data object |   |
3446
+ | filter | | the filter structure |   |
3436
3447
 
3437
3448
 
3438
3449
 
@@ -3440,28 +3451,17 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3440
3451
  ##### Returns
3441
3452
 
3442
3453
 
3443
- - The new filter data object that were get the aggregate filters
3454
+ - a text to identify the filter
3444
3455
 
3445
3456
 
3446
3457
 
3447
3458
 
3448
- ### dist/filters/helpers/common/getFilterid.js
3459
+ ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3449
3460
 
3450
3461
 
3451
- #### getFilterid(filter)
3462
+ #### getFiltersByAggregateColumn(filterData)
3452
3463
 
3453
- Get the Filter ID by the filter structure
3454
- The order of the epression ID is:
3455
- - Scope Type
3456
- - scopeid
3457
- - qrveyid
3458
- - panelid
3459
- - columnid
3460
- - validator
3461
- - property
3462
- - Column Aggregate
3463
- - Column Calculation
3464
- - Optional Index
3464
+ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3465
3465
 
3466
3466
 
3467
3467
 
@@ -3470,7 +3470,7 @@ The order of the epression ID is:
3470
3470
 
3471
3471
  | Name | Type | Description | |
3472
3472
  | ---- | ---- | ----------- | -------- |
3473
- | filter | | the filter structure |   |
3473
+ | filterData | | The filter data object |   |
3474
3474
 
3475
3475
 
3476
3476
 
@@ -3478,7 +3478,7 @@ The order of the epression ID is:
3478
3478
  ##### Returns
3479
3479
 
3480
3480
 
3481
- - a text to identify the filter
3481
+ - The new filter data object that were get the aggregate filters
3482
3482
 
3483
3483
 
3484
3484
 
@@ -3822,6 +3822,33 @@ Validates if the given validator is a Range type. Range type means the value has
3822
3822
 
3823
3823
 
3824
3824
 
3825
+ ### dist/filters/helpers/common/isRegularValidator.js
3826
+
3827
+
3828
+ #### isRegularValidator(validator)
3829
+
3830
+ Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3831
+
3832
+
3833
+
3834
+
3835
+ ##### Parameters
3836
+
3837
+ | Name | Type | Description | |
3838
+ | ---- | ---- | ----------- | -------- |
3839
+ | validator | | The filter validator |   |
3840
+
3841
+
3842
+
3843
+
3844
+ ##### Returns
3845
+
3846
+
3847
+ - true: it is a range validator
3848
+
3849
+
3850
+
3851
+
3825
3852
  ### dist/filters/helpers/common/mergeFilters.js
3826
3853
 
3827
3854
 
@@ -3951,33 +3978,6 @@ Gets a new value structure array by merging two value structures
3951
3978
 
3952
3979
 
3953
3980
 
3954
- ### dist/filters/helpers/common/isRegularValidator.js
3955
-
3956
-
3957
- #### isRegularValidator(validator)
3958
-
3959
- Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3960
-
3961
-
3962
-
3963
-
3964
- ##### Parameters
3965
-
3966
- | Name | Type | Description | |
3967
- | ---- | ---- | ----------- | -------- |
3968
- | validator | | The filter validator |   |
3969
-
3970
-
3971
-
3972
-
3973
- ##### Returns
3974
-
3975
-
3976
- - true: it is a range validator
3977
-
3978
-
3979
-
3980
-
3981
3981
  ### dist/filters/helpers/common/resolveDatasetConditions.js
3982
3982
 
3983
3983
 
@@ -4095,12 +4095,12 @@ Excludes Aggregate Filters in the Flattened UI Filters array
4095
4095
 
4096
4096
 
4097
4097
 
4098
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4098
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4099
4099
 
4100
4100
 
4101
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4101
+ #### getFilterPropertyLabel(filter)
4102
4102
 
4103
- Excludes and returns a UI Flat Filters without filters by the given scopes
4103
+ Gets the label of the filter property
4104
4104
 
4105
4105
 
4106
4106
 
@@ -4109,8 +4109,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
4109
4109
 
4110
4110
  | Name | Type | Description | |
4111
4111
  | ---- | ---- | ----------- | -------- |
4112
- | uFilters | | The Flatten UI Filters |   |
4113
- | scopes | | collection of scopes types |   |
4112
+ | filter | | The UI Filter |   |
4114
4113
 
4115
4114
 
4116
4115
 
@@ -4118,17 +4117,17 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
4118
4117
  ##### Returns
4119
4118
 
4120
4119
 
4121
- - The new array of UI Flattened filters
4120
+ - a string of the filter property label
4122
4121
 
4123
4122
 
4124
4123
 
4125
4124
 
4126
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4125
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4127
4126
 
4128
4127
 
4129
- #### getFilterPropertyLabel(filter)
4128
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4130
4129
 
4131
- Gets the label of the filter property
4130
+ Excludes and returns a UI Flat Filters without filters by the given scopes
4132
4131
 
4133
4132
 
4134
4133
 
@@ -4137,7 +4136,8 @@ Gets the label of the filter property
4137
4136
 
4138
4137
  | Name | Type | Description | |
4139
4138
  | ---- | ---- | ----------- | -------- |
4140
- | filter | | The UI Filter |   |
4139
+ | uFilters | | The Flatten UI Filters |   |
4140
+ | scopes | | collection of scopes types |   |
4141
4141
 
4142
4142
 
4143
4143
 
@@ -4145,7 +4145,7 @@ Gets the label of the filter property
4145
4145
  ##### Returns
4146
4146
 
4147
4147
 
4148
- - a string of the filter property label
4148
+ - The new array of UI Flattened filters
4149
4149
 
4150
4150
 
4151
4151
 
@@ -8,4 +8,5 @@ export interface II18nBucketBuilderOperator {
8
8
  month: string;
9
9
  before: string;
10
10
  after: string;
11
+ month_year: string;
11
12
  }
@@ -6,7 +6,6 @@ import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
8
  export interface II18nFilter {
9
- suffix_scope_label: string;
10
9
  operators: II18nFilterOperator;
11
10
  ranking_container: II18nRankingContainer;
12
11
  relative_container: II18nRelativeContainer;
@@ -2,6 +2,7 @@ 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";
5
6
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
6
7
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
7
8
  export interface II18nFilterPanel {
@@ -13,5 +14,6 @@ export interface II18nFilterPanel {
13
14
  delete_dialog: II18nFilterPanelDeleteDialog;
14
15
  header_section: II18nFilterPanelHeaderSection;
15
16
  scope_tooltip: II18nFilterPanelScopeTooltip;
17
+ scope_title: II18nFilterPanelScopeTitle;
16
18
  settings_section: II18nFilterPanelSettingsSection;
17
19
  }
@@ -0,0 +1,10 @@
1
+ export interface II18nFilterPanelScopeTitle {
2
+ admin: string;
3
+ data: string;
4
+ global: string;
5
+ page: string;
6
+ tab: string;
7
+ chart: string;
8
+ default: string;
9
+ action: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,7 @@ export * from './II18nFilterPanelCardAction';
12
12
  export * from './II18nFilterPanelDeleteDialog';
13
13
  export * from './II18nFilterPanelEmptyState';
14
14
  export * from './II18nFilterPanelHeaderSection';
15
+ export * from './II18nFilterPanelScopeTitle';
15
16
  export * from './II18nFilterPanelScopeTooltip';
16
17
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
17
18
  export * from './II18nFilterPanelSettingsSection';
@@ -24,6 +24,7 @@ __exportStar(require("./II18nFilterPanelCardAction"), exports);
24
24
  __exportStar(require("./II18nFilterPanelDeleteDialog"), exports);
25
25
  __exportStar(require("./II18nFilterPanelEmptyState"), exports);
26
26
  __exportStar(require("./II18nFilterPanelHeaderSection"), exports);
27
+ __exportStar(require("./II18nFilterPanelScopeTitle"), exports);
27
28
  __exportStar(require("./II18nFilterPanelScopeTooltip"), exports);
28
29
  __exportStar(require("./II18nFilterPanelSettingsContainerScopeConfig"), exports);
29
30
  __exportStar(require("./II18nFilterPanelSettingsSection"), exports);
@@ -85,7 +85,8 @@ exports.I18N_BUCKET_BUILDER = {
85
85
  year: 'Year',
86
86
  month: 'Month',
87
87
  before: 'Before',
88
- after: 'After'
88
+ after: 'After',
89
+ month_year: 'Month + Year',
89
90
  },
90
91
  list_buckets: {
91
92
  title: 'Available Buckets',
@@ -9,7 +9,6 @@ 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
- suffix_scope_label: '{{scope}} Filters',
13
12
  operators: I18N_FILTER_OPERATOR_1.I18N_FILTER_OPERATOR,
14
13
  relative_container: I18N_RELATIVE_CONTAINER_1.I18N_RELATIVE_CONTAINER,
15
14
  scope: I18N_FILTER_SCOPE_1.I18N_FILTER_SCOPE,
@@ -24,6 +24,16 @@ 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
+ },
27
37
  scope_tooltip: {
28
38
  global: 'Filters applied to all pages',
29
39
  page: 'Filters applied to the current page',
@@ -8,4 +8,5 @@ export interface II18nBucketBuilderOperator {
8
8
  month: string;
9
9
  before: string;
10
10
  after: string;
11
+ month_year: string;
11
12
  }
@@ -6,7 +6,6 @@ import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
8
  export interface II18nFilter {
9
- suffix_scope_label: string;
10
9
  operators: II18nFilterOperator;
11
10
  ranking_container: II18nRankingContainer;
12
11
  relative_container: II18nRelativeContainer;
@@ -2,6 +2,7 @@ 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";
5
6
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
6
7
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
7
8
  export interface II18nFilterPanel {
@@ -13,5 +14,6 @@ export interface II18nFilterPanel {
13
14
  delete_dialog: II18nFilterPanelDeleteDialog;
14
15
  header_section: II18nFilterPanelHeaderSection;
15
16
  scope_tooltip: II18nFilterPanelScopeTooltip;
17
+ scope_title: II18nFilterPanelScopeTitle;
16
18
  settings_section: II18nFilterPanelSettingsSection;
17
19
  }
@@ -0,0 +1,10 @@
1
+ export interface II18nFilterPanelScopeTitle {
2
+ admin: string;
3
+ data: string;
4
+ global: string;
5
+ page: string;
6
+ tab: string;
7
+ chart: string;
8
+ default: string;
9
+ action: string;
10
+ }
@@ -12,6 +12,7 @@ export * from './II18nFilterPanelCardAction';
12
12
  export * from './II18nFilterPanelDeleteDialog';
13
13
  export * from './II18nFilterPanelEmptyState';
14
14
  export * from './II18nFilterPanelHeaderSection';
15
+ export * from './II18nFilterPanelScopeTitle';
15
16
  export * from './II18nFilterPanelScopeTooltip';
16
17
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
17
18
  export * from './II18nFilterPanelSettingsSection';
@@ -12,6 +12,7 @@ export * from './II18nFilterPanelCardAction';
12
12
  export * from './II18nFilterPanelDeleteDialog';
13
13
  export * from './II18nFilterPanelEmptyState';
14
14
  export * from './II18nFilterPanelHeaderSection';
15
+ export * from './II18nFilterPanelScopeTitle';
15
16
  export * from './II18nFilterPanelScopeTooltip';
16
17
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
17
18
  export * from './II18nFilterPanelSettingsSection';
@@ -82,7 +82,8 @@ export const I18N_BUCKET_BUILDER = {
82
82
  year: 'Year',
83
83
  month: 'Month',
84
84
  before: 'Before',
85
- after: 'After'
85
+ after: 'After',
86
+ month_year: 'Month + Year',
86
87
  },
87
88
  list_buckets: {
88
89
  title: 'Available Buckets',
@@ -6,7 +6,6 @@ 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
- suffix_scope_label: '{{scope}} Filters',
10
9
  operators: I18N_FILTER_OPERATOR,
11
10
  relative_container: I18N_RELATIVE_CONTAINER,
12
11
  scope: I18N_FILTER_SCOPE,
@@ -21,6 +21,16 @@ 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
+ },
24
34
  scope_tooltip: {
25
35
  global: 'Filters applied to all pages',
26
36
  page: 'Filters applied to the current page',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.4-18",
3
+ "version": "1.2.4-21",
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",
@@ -8,4 +8,5 @@ export interface II18nBucketBuilderOperator {
8
8
  month: string;
9
9
  before: string;
10
10
  after: string;
11
+ month_year: string;
11
12
  }
@@ -7,7 +7,6 @@ import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
8
 
9
9
  export interface II18nFilter {
10
- suffix_scope_label: string; // The sustantive of the scopes. i.e: suffix_scope_label='Filters'; Result: Global *Filters*
11
10
  operators: II18nFilterOperator;
12
11
  ranking_container: II18nRankingContainer;
13
12
  relative_container: II18nRelativeContainer;
@@ -2,6 +2,7 @@ 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";
5
6
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
6
7
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
7
8
 
@@ -14,5 +15,6 @@ export interface II18nFilterPanel {
14
15
  delete_dialog: II18nFilterPanelDeleteDialog;
15
16
  header_section: II18nFilterPanelHeaderSection;
16
17
  scope_tooltip: II18nFilterPanelScopeTooltip;
18
+ scope_title: II18nFilterPanelScopeTitle;
17
19
  settings_section: II18nFilterPanelSettingsSection;
18
20
  }
@@ -0,0 +1,10 @@
1
+ export interface II18nFilterPanelScopeTitle {
2
+ admin: string;
3
+ data: string;
4
+ global: string;
5
+ page: string;
6
+ tab: string;
7
+ chart: string;
8
+ default: string;
9
+ action: string;
10
+ }
@@ -13,6 +13,7 @@ export * from './II18nFilterPanelCardAction';
13
13
  export * from './II18nFilterPanelDeleteDialog';
14
14
  export * from './II18nFilterPanelEmptyState';
15
15
  export * from './II18nFilterPanelHeaderSection';
16
+ export * from './II18nFilterPanelScopeTitle';
16
17
  export * from './II18nFilterPanelScopeTooltip';
17
18
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
18
19
  export * from './II18nFilterPanelSettingsSection';
@@ -84,7 +84,8 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
84
84
  year: 'Year',
85
85
  month: 'Month',
86
86
  before: 'Before',
87
- after: 'After'
87
+ after: 'After',
88
+ month_year: 'Month + Year',
88
89
  },
89
90
  list_buckets: {
90
91
  title: 'Available Buckets',
@@ -8,7 +8,6 @@ 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
- suffix_scope_label: '{{scope}} Filters',
12
11
  operators: I18N_FILTER_OPERATOR,
13
12
  relative_container: I18N_RELATIVE_CONTAINER,
14
13
  scope: I18N_FILTER_SCOPE,
@@ -23,6 +23,16 @@ 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
+ },
26
36
  scope_tooltip: {
27
37
  global: 'Filters applied to all pages',
28
38
  page: 'Filters applied to the current page',