@qrvey/utils 1.2.9-4 → 1.2.9-5
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 +132 -132
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +29 -27
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +16 -12
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +29 -27
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +16 -12
- package/package.json +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +16 -15
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +12 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +16 -12
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +29 -27
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +16 -12
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-5*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -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/
|
|
139
|
+
### dist/dates/adapters/quarterYearToDate.js
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
####
|
|
142
|
+
#### quarterYearToDate(quarterYearDate, time)
|
|
143
143
|
|
|
144
|
-
Transforms String Date from a [
|
|
144
|
+
Transforms String Date from a [Quarter Year] format to Date object.
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
@@ -150,7 +150,7 @@ Transforms String Date from a [Week Year] format to Date object.
|
|
|
150
150
|
|
|
151
151
|
| Name | Type | Description | |
|
|
152
152
|
| ---- | ---- | ----------- | -------- |
|
|
153
|
-
|
|
|
153
|
+
| quarterYearDate | | String of [Quarter Year] date | |
|
|
154
154
|
| time | | Flag to parse the object date to milliseconds. | |
|
|
155
155
|
|
|
156
156
|
|
|
@@ -164,12 +164,12 @@ Transforms String Date from a [Week Year] format to Date object.
|
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
### dist/dates/adapters/
|
|
167
|
+
### dist/dates/adapters/weekYearToDate.js
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
####
|
|
170
|
+
#### weekYearToDate(date, time)
|
|
171
171
|
|
|
172
|
-
Transforms String Date from a [
|
|
172
|
+
Transforms String Date from a [Week Year] format to Date object.
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
|
|
@@ -178,7 +178,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
|
|
|
178
178
|
|
|
179
179
|
| Name | Type | Description | |
|
|
180
180
|
| ---- | ---- | ----------- | -------- |
|
|
181
|
-
|
|
|
181
|
+
| date | | String of [Week Year] date | |
|
|
182
182
|
| time | | Flag to parse the object date to milliseconds. | |
|
|
183
183
|
|
|
184
184
|
|
|
@@ -2592,12 +2592,12 @@ Upper case the first letter of a given text
|
|
|
2592
2592
|
|
|
2593
2593
|
|
|
2594
2594
|
|
|
2595
|
-
### dist/
|
|
2595
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2596
2596
|
|
|
2597
2597
|
|
|
2598
|
-
####
|
|
2598
|
+
#### getColumnLabels(column)
|
|
2599
2599
|
|
|
2600
|
-
Get
|
|
2600
|
+
Get an string of the properties of the given column.
|
|
2601
2601
|
|
|
2602
2602
|
|
|
2603
2603
|
|
|
@@ -2606,7 +2606,7 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2606
2606
|
|
|
2607
2607
|
| Name | Type | Description | |
|
|
2608
2608
|
| ---- | ---- | ----------- | -------- |
|
|
2609
|
-
|
|
|
2609
|
+
| column | | The column | |
|
|
2610
2610
|
|
|
2611
2611
|
|
|
2612
2612
|
|
|
@@ -2614,29 +2614,34 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2614
2614
|
##### Returns
|
|
2615
2615
|
|
|
2616
2616
|
|
|
2617
|
-
-
|
|
2617
|
+
- an string with the property, aggregate or calculation label.
|
|
2618
2618
|
|
|
2619
2619
|
|
|
2620
2620
|
|
|
2621
2621
|
|
|
2622
|
-
### dist/
|
|
2622
|
+
### dist/stencil/decorators/Config.js
|
|
2623
2623
|
|
|
2624
2624
|
|
|
2625
|
-
####
|
|
2625
|
+
#### Config()
|
|
2626
2626
|
|
|
2627
|
-
|
|
2627
|
+
Stencil.js - Prop Decorator
|
|
2628
|
+
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
|
|
2629
|
+
But for this, is required ask for a property in `snake_case` style
|
|
2628
2630
|
|
|
2629
2631
|
|
|
2630
2632
|
|
|
2631
2633
|
|
|
2632
|
-
##### Parameters
|
|
2633
2634
|
|
|
2634
|
-
| Name | Type | Description | |
|
|
2635
|
-
| ---- | ---- | ----------- | -------- |
|
|
2636
|
-
| config | | Configuration | |
|
|
2637
|
-
| params | | Object for getting precise data | |
|
|
2638
2635
|
|
|
2636
|
+
##### Examples
|
|
2639
2637
|
|
|
2638
|
+
```javascript
|
|
2639
|
+
\ @Config() @Prop() settings;
|
|
2640
|
+
|
|
2641
|
+
someMethod() {
|
|
2642
|
+
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2643
|
+
}
|
|
2644
|
+
```
|
|
2640
2645
|
|
|
2641
2646
|
|
|
2642
2647
|
##### Returns
|
|
@@ -2647,21 +2652,14 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2647
2652
|
|
|
2648
2653
|
|
|
2649
2654
|
|
|
2650
|
-
### dist/
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
#### getDatasetColumns(qrveyid)
|
|
2654
|
-
|
|
2655
|
-
Get a dataset by Qrvey ID
|
|
2655
|
+
### dist/stencil/util/createRef.js
|
|
2656
2656
|
|
|
2657
2657
|
|
|
2658
|
+
#### createRef()
|
|
2658
2659
|
|
|
2660
|
+
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2659
2661
|
|
|
2660
|
-
##### Parameters
|
|
2661
2662
|
|
|
2662
|
-
| Name | Type | Description | |
|
|
2663
|
-
| ---- | ---- | ----------- | -------- |
|
|
2664
|
-
| qrveyid | | The Qrvey ID | |
|
|
2665
2663
|
|
|
2666
2664
|
|
|
2667
2665
|
|
|
@@ -2669,34 +2667,32 @@ Get a dataset by Qrvey ID
|
|
|
2669
2667
|
##### Returns
|
|
2670
2668
|
|
|
2671
2669
|
|
|
2672
|
-
-
|
|
2673
|
-
|
|
2670
|
+
- function - Function to use in ref prop in html elements
|
|
2674
2671
|
|
|
2675
2672
|
|
|
2676
2673
|
|
|
2677
|
-
### dist/stencil/decorators/Config.js
|
|
2678
2674
|
|
|
2675
|
+
### dist/stencil/util/getConfig.js
|
|
2679
2676
|
|
|
2680
|
-
#### Config()
|
|
2681
2677
|
|
|
2682
|
-
|
|
2683
|
-
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
|
|
2684
|
-
But for this, is required ask for a property in `snake_case` style
|
|
2678
|
+
#### getConfig(cfg)
|
|
2685
2679
|
|
|
2680
|
+
verify the Config object type and try to return a parsed Object
|
|
2681
|
+
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2682
|
+
try to find this string as a variable on Windows object
|
|
2683
|
+
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2684
|
+
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2686
2685
|
|
|
2687
2686
|
|
|
2688
2687
|
|
|
2689
2688
|
|
|
2689
|
+
##### Parameters
|
|
2690
2690
|
|
|
2691
|
-
|
|
2691
|
+
| Name | Type | Description | |
|
|
2692
|
+
| ---- | ---- | ----------- | -------- |
|
|
2693
|
+
| cfg | | | |
|
|
2692
2694
|
|
|
2693
|
-
```javascript
|
|
2694
|
-
\ @Config() @Prop() settings;
|
|
2695
2695
|
|
|
2696
|
-
someMethod() {
|
|
2697
|
-
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2698
|
-
}
|
|
2699
|
-
```
|
|
2700
2696
|
|
|
2701
2697
|
|
|
2702
2698
|
##### Returns
|
|
@@ -2707,16 +2703,12 @@ someMethod() {
|
|
|
2707
2703
|
|
|
2708
2704
|
|
|
2709
2705
|
|
|
2710
|
-
### dist/
|
|
2706
|
+
### dist/services/api/getAllDatasets.api.js
|
|
2711
2707
|
|
|
2712
2708
|
|
|
2713
|
-
####
|
|
2709
|
+
#### getAllDatasets(qrveyids)
|
|
2714
2710
|
|
|
2715
|
-
|
|
2716
|
-
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2717
|
-
try to find this string as a variable on Windows object
|
|
2718
|
-
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2719
|
-
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2711
|
+
Get a dataset list from a collection of Qrvey IDs
|
|
2720
2712
|
|
|
2721
2713
|
|
|
2722
2714
|
|
|
@@ -2725,7 +2717,7 @@ try to find this string as a variable on Windows object
|
|
|
2725
2717
|
|
|
2726
2718
|
| Name | Type | Description | |
|
|
2727
2719
|
| ---- | ---- | ----------- | -------- |
|
|
2728
|
-
|
|
|
2720
|
+
| qrveyids | | Collection of Qrvey IDs | |
|
|
2729
2721
|
|
|
2730
2722
|
|
|
2731
2723
|
|
|
@@ -2733,37 +2725,45 @@ try to find this string as a variable on Windows object
|
|
|
2733
2725
|
##### Returns
|
|
2734
2726
|
|
|
2735
2727
|
|
|
2736
|
-
-
|
|
2728
|
+
- a promise
|
|
2737
2729
|
|
|
2738
2730
|
|
|
2739
2731
|
|
|
2740
2732
|
|
|
2741
|
-
### dist/
|
|
2733
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2742
2734
|
|
|
2743
2735
|
|
|
2744
|
-
####
|
|
2736
|
+
#### getAllQrveys(config, params)
|
|
2737
|
+
|
|
2738
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2745
2739
|
|
|
2746
|
-
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2747
2740
|
|
|
2748
2741
|
|
|
2749
2742
|
|
|
2743
|
+
##### Parameters
|
|
2744
|
+
|
|
2745
|
+
| Name | Type | Description | |
|
|
2746
|
+
| ---- | ---- | ----------- | -------- |
|
|
2747
|
+
| config | | Configuration | |
|
|
2748
|
+
| params | | Object for getting precise data | |
|
|
2749
|
+
|
|
2750
2750
|
|
|
2751
2751
|
|
|
2752
2752
|
|
|
2753
2753
|
##### Returns
|
|
2754
2754
|
|
|
2755
2755
|
|
|
2756
|
-
-
|
|
2756
|
+
- `Void`
|
|
2757
2757
|
|
|
2758
2758
|
|
|
2759
2759
|
|
|
2760
2760
|
|
|
2761
|
-
### dist/
|
|
2761
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2762
2762
|
|
|
2763
2763
|
|
|
2764
|
-
####
|
|
2764
|
+
#### getDatasetColumns(qrveyid)
|
|
2765
2765
|
|
|
2766
|
-
Get
|
|
2766
|
+
Get a dataset by Qrvey ID
|
|
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
|
-
|
|
|
2775
|
+
| qrveyid | | The Qrvey ID | |
|
|
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
|
-
-
|
|
2783
|
+
- a promise
|
|
2784
2784
|
|
|
2785
2785
|
|
|
2786
2786
|
|
|
@@ -2921,13 +2921,12 @@ Parses a string date and returns a dayjs date
|
|
|
2921
2921
|
|
|
2922
2922
|
|
|
2923
2923
|
|
|
2924
|
-
### dist/filters/helpers/
|
|
2924
|
+
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
2925
2925
|
|
|
2926
2926
|
|
|
2927
|
-
####
|
|
2927
|
+
#### getFilterBuilderGeneralConfig(config)
|
|
2928
2928
|
|
|
2929
|
-
|
|
2930
|
-
- If the resulting value array is empty the enabled property will be false.
|
|
2929
|
+
Returns a filter builder config object by a any given config
|
|
2931
2930
|
|
|
2932
2931
|
|
|
2933
2932
|
|
|
@@ -2936,7 +2935,7 @@ Builds filter expression by the filter data.
|
|
|
2936
2935
|
|
|
2937
2936
|
| Name | Type | Description | |
|
|
2938
2937
|
| ---- | ---- | ----------- | -------- |
|
|
2939
|
-
|
|
|
2938
|
+
| config | | any config object | |
|
|
2940
2939
|
|
|
2941
2940
|
|
|
2942
2941
|
|
|
@@ -2944,17 +2943,18 @@ Builds filter expression by the filter data.
|
|
|
2944
2943
|
##### Returns
|
|
2945
2944
|
|
|
2946
2945
|
|
|
2947
|
-
-
|
|
2946
|
+
- The filter builder config object
|
|
2948
2947
|
|
|
2949
2948
|
|
|
2950
2949
|
|
|
2951
2950
|
|
|
2952
|
-
### dist/filters/helpers/backend/
|
|
2951
|
+
### dist/filters/helpers/backend/buildExpression.js
|
|
2953
2952
|
|
|
2954
2953
|
|
|
2955
|
-
####
|
|
2954
|
+
#### buildExpression(filter)
|
|
2956
2955
|
|
|
2957
|
-
|
|
2956
|
+
Builds filter expression by the filter data.
|
|
2957
|
+
- If the resulting value array is empty the enabled property will be false.
|
|
2958
2958
|
|
|
2959
2959
|
|
|
2960
2960
|
|
|
@@ -2963,7 +2963,7 @@ Transform user Filters array into Filter Logic structure
|
|
|
2963
2963
|
|
|
2964
2964
|
| Name | Type | Description | |
|
|
2965
2965
|
| ---- | ---- | ----------- | -------- |
|
|
2966
|
-
|
|
|
2966
|
+
| filter | | The filter to transform | |
|
|
2967
2967
|
|
|
2968
2968
|
|
|
2969
2969
|
|
|
@@ -2971,17 +2971,17 @@ Transform user Filters array into Filter Logic structure
|
|
|
2971
2971
|
##### Returns
|
|
2972
2972
|
|
|
2973
2973
|
|
|
2974
|
-
-
|
|
2975
|
-
|
|
2974
|
+
- a filter expression
|
|
2976
2975
|
|
|
2977
2976
|
|
|
2978
2977
|
|
|
2979
|
-
### dist/filters/helpers/backend/getAggFiltersBySummaryIndex.js
|
|
2980
2978
|
|
|
2979
|
+
### dist/filters/helpers/backend/buildUserFilters.js
|
|
2981
2980
|
|
|
2982
|
-
#### getAggFiltersBySummaryIndex(aggFilters, summaryIndex)
|
|
2983
2981
|
|
|
2982
|
+
#### buildUserFilters(userFilters)
|
|
2984
2983
|
|
|
2984
|
+
Transform user Filters array into Filter Logic structure
|
|
2985
2985
|
|
|
2986
2986
|
|
|
2987
2987
|
|
|
@@ -2990,8 +2990,7 @@ Transform user Filters array into Filter Logic structure
|
|
|
2990
2990
|
|
|
2991
2991
|
| Name | Type | Description | |
|
|
2992
2992
|
| ---- | ---- | ----------- | -------- |
|
|
2993
|
-
|
|
|
2994
|
-
| summaryIndex | | | |
|
|
2993
|
+
| userFilters | | The filters that the user defined. | |
|
|
2995
2994
|
|
|
2996
2995
|
|
|
2997
2996
|
|
|
@@ -2999,17 +2998,17 @@ Transform user Filters array into Filter Logic structure
|
|
|
2999
2998
|
##### Returns
|
|
3000
2999
|
|
|
3001
3000
|
|
|
3002
|
-
-
|
|
3001
|
+
- The filter logic for the given user filters. if No a given object is recieved, it will return an empty array.
|
|
3003
3002
|
|
|
3004
3003
|
|
|
3005
3004
|
|
|
3006
3005
|
|
|
3007
|
-
### dist/filters/helpers/backend/
|
|
3006
|
+
### dist/filters/helpers/backend/getAggFiltersBySummaryIndex.js
|
|
3008
3007
|
|
|
3009
3008
|
|
|
3010
|
-
####
|
|
3009
|
+
#### getAggFiltersBySummaryIndex(aggFilters, summaryIndex)
|
|
3010
|
+
|
|
3011
3011
|
|
|
3012
|
-
Gets a group value for the backend logic structure
|
|
3013
3012
|
|
|
3014
3013
|
|
|
3015
3014
|
|
|
@@ -3018,7 +3017,8 @@ Gets a group value for the backend logic structure
|
|
|
3018
3017
|
|
|
3019
3018
|
| Name | Type | Description | |
|
|
3020
3019
|
| ---- | ---- | ----------- | -------- |
|
|
3021
|
-
|
|
|
3020
|
+
| aggFilters | | | |
|
|
3021
|
+
| summaryIndex | | | |
|
|
3022
3022
|
|
|
3023
3023
|
|
|
3024
3024
|
|
|
@@ -3026,17 +3026,17 @@ Gets a group value for the backend logic structure
|
|
|
3026
3026
|
##### Returns
|
|
3027
3027
|
|
|
3028
3028
|
|
|
3029
|
-
-
|
|
3029
|
+
-
|
|
3030
3030
|
|
|
3031
3031
|
|
|
3032
3032
|
|
|
3033
3033
|
|
|
3034
|
-
### dist/filters/helpers/backend/
|
|
3034
|
+
### dist/filters/helpers/backend/getBackendGroupValue.js
|
|
3035
3035
|
|
|
3036
3036
|
|
|
3037
|
-
####
|
|
3037
|
+
#### getBackendGroupValue(filter)
|
|
3038
3038
|
|
|
3039
|
-
Gets a
|
|
3039
|
+
Gets a group value for the backend logic structure
|
|
3040
3040
|
|
|
3041
3041
|
|
|
3042
3042
|
|
|
@@ -3160,12 +3160,12 @@ Gets the Ranking values.
|
|
|
3160
3160
|
|
|
3161
3161
|
|
|
3162
3162
|
|
|
3163
|
-
### dist/filters/helpers/backend/
|
|
3163
|
+
### dist/filters/helpers/backend/getBackendProperty.js
|
|
3164
3164
|
|
|
3165
3165
|
|
|
3166
|
-
####
|
|
3166
|
+
#### getBackendProperty(filter)
|
|
3167
3167
|
|
|
3168
|
-
Gets
|
|
3168
|
+
Gets a property for the logic structure
|
|
3169
3169
|
|
|
3170
3170
|
|
|
3171
3171
|
|
|
@@ -3174,8 +3174,7 @@ Gets the filters from logic data by Scopes/Scope IDs.
|
|
|
3174
3174
|
|
|
3175
3175
|
| Name | Type | Description | |
|
|
3176
3176
|
| ---- | ---- | ----------- | -------- |
|
|
3177
|
-
|
|
|
3178
|
-
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3177
|
+
| filter | | The filter | |
|
|
3179
3178
|
|
|
3180
3179
|
|
|
3181
3180
|
|
|
@@ -3183,7 +3182,7 @@ Gets the filters from logic data by Scopes/Scope IDs.
|
|
|
3183
3182
|
##### Returns
|
|
3184
3183
|
|
|
3185
3184
|
|
|
3186
|
-
- a
|
|
3185
|
+
- a property
|
|
3187
3186
|
|
|
3188
3187
|
|
|
3189
3188
|
|
|
@@ -3217,12 +3216,12 @@ Gets filters from the logic by the scopes hierarchy.
|
|
|
3217
3216
|
|
|
3218
3217
|
|
|
3219
3218
|
|
|
3220
|
-
### dist/filters/helpers/
|
|
3219
|
+
### dist/filters/helpers/backend/getLogicByScopes.js
|
|
3221
3220
|
|
|
3222
3221
|
|
|
3223
|
-
####
|
|
3222
|
+
#### getLogicByScopes(logics, scopes)
|
|
3224
3223
|
|
|
3225
|
-
|
|
3224
|
+
Gets the filters from logic data by Scopes/Scope IDs.
|
|
3226
3225
|
|
|
3227
3226
|
|
|
3228
3227
|
|
|
@@ -3231,7 +3230,8 @@ Returns a filter builder config object by a any given config
|
|
|
3231
3230
|
|
|
3232
3231
|
| Name | Type | Description | |
|
|
3233
3232
|
| ---- | ---- | ----------- | -------- |
|
|
3234
|
-
|
|
|
3233
|
+
| logics | | The logic array | |
|
|
3234
|
+
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3235
3235
|
|
|
3236
3236
|
|
|
3237
3237
|
|
|
@@ -3239,17 +3239,17 @@ Returns a filter builder config object by a any given config
|
|
|
3239
3239
|
##### Returns
|
|
3240
3240
|
|
|
3241
3241
|
|
|
3242
|
-
-
|
|
3242
|
+
- a new Logic array
|
|
3243
3243
|
|
|
3244
3244
|
|
|
3245
3245
|
|
|
3246
3246
|
|
|
3247
|
-
### dist/filters/helpers/common/
|
|
3247
|
+
### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
|
|
3248
3248
|
|
|
3249
3249
|
|
|
3250
|
-
####
|
|
3250
|
+
#### excludeFiltersByAggregateColumn(filterData)
|
|
3251
3251
|
|
|
3252
|
-
|
|
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
|
-
|
|
|
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
|
-
-
|
|
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/
|
|
3274
|
+
### dist/filters/helpers/common/areFiltersEquals.js
|
|
3276
3275
|
|
|
3277
3276
|
|
|
3278
|
-
####
|
|
3277
|
+
#### areFiltersEquals(filter1, filter2)
|
|
3279
3278
|
|
|
3280
|
-
|
|
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
|
-
|
|
|
3288
|
+
| filter1 | | filter 1 | |
|
|
3289
|
+
| filter2 | | filter 2 | |
|
|
3290
3290
|
|
|
3291
3291
|
|
|
3292
3292
|
|
|
@@ -3294,26 +3294,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
3294
3294
|
##### Returns
|
|
3295
3295
|
|
|
3296
3296
|
|
|
3297
|
-
-
|
|
3297
|
+
- true: the filters are equal; false: the filters are NOT equal
|
|
3298
3298
|
|
|
3299
3299
|
|
|
3300
3300
|
|
|
3301
3301
|
|
|
3302
|
-
### dist/filters/helpers/common/
|
|
3302
|
+
### dist/filters/helpers/common/excludeFiltersByScopes.js
|
|
3303
3303
|
|
|
3304
3304
|
|
|
3305
|
-
####
|
|
3305
|
+
#### excludeFiltersByScopes(filterData, scopes)
|
|
3306
3306
|
|
|
3307
|
-
Excludes filters
|
|
3308
|
-
The validation to filter the stored filter is depending on:
|
|
3309
|
-
- Column
|
|
3310
|
-
- Qrvey ID
|
|
3311
|
-
- Scope type
|
|
3312
|
-
- Scope ID
|
|
3313
|
-
- Panel ID
|
|
3314
|
-
- Validator type
|
|
3315
|
-
- Property type
|
|
3316
|
-
- Enabled flags
|
|
3307
|
+
Excludes and returns a filter data without filters by the given scopes
|
|
3317
3308
|
|
|
3318
3309
|
|
|
3319
3310
|
|
|
@@ -3322,8 +3313,8 @@ The validation to filter the stored filter is depending on:
|
|
|
3322
3313
|
|
|
3323
3314
|
| Name | Type | Description | |
|
|
3324
3315
|
| ---- | ---- | ----------- | -------- |
|
|
3325
|
-
| filterData | | The Filter Data
|
|
3326
|
-
|
|
|
3316
|
+
| filterData | | The Filter Data | |
|
|
3317
|
+
| scopes | | collection of scopes to be as filtering parameters | |
|
|
3327
3318
|
|
|
3328
3319
|
|
|
3329
3320
|
|
|
@@ -3331,17 +3322,26 @@ The validation to filter the stored filter is depending on:
|
|
|
3331
3322
|
##### Returns
|
|
3332
3323
|
|
|
3333
3324
|
|
|
3334
|
-
-
|
|
3325
|
+
- The new Filter Data without filters by the given scopes.
|
|
3335
3326
|
|
|
3336
3327
|
|
|
3337
3328
|
|
|
3338
3329
|
|
|
3339
|
-
### dist/filters/helpers/common/
|
|
3330
|
+
### dist/filters/helpers/common/excludeFiltersByParams.js
|
|
3340
3331
|
|
|
3341
3332
|
|
|
3342
|
-
####
|
|
3333
|
+
#### excludeFiltersByParams(filterData, params)
|
|
3343
3334
|
|
|
3344
|
-
Excludes
|
|
3335
|
+
Excludes filters from the given Filters.
|
|
3336
|
+
The validation to filter the stored filter is depending on:
|
|
3337
|
+
- Column
|
|
3338
|
+
- Qrvey ID
|
|
3339
|
+
- Scope type
|
|
3340
|
+
- Scope ID
|
|
3341
|
+
- Panel ID
|
|
3342
|
+
- Validator type
|
|
3343
|
+
- Property type
|
|
3344
|
+
- Enabled flags
|
|
3345
3345
|
|
|
3346
3346
|
|
|
3347
3347
|
|
|
@@ -3350,8 +3350,8 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
3350
3350
|
|
|
3351
3351
|
| Name | Type | Description | |
|
|
3352
3352
|
| ---- | ---- | ----------- | -------- |
|
|
3353
|
-
| filterData | | The Filter Data | |
|
|
3354
|
-
|
|
|
3353
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3354
|
+
| params | | given parameters to validate the filter data | |
|
|
3355
3355
|
|
|
3356
3356
|
|
|
3357
3357
|
|
|
@@ -3359,7 +3359,7 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
3359
3359
|
##### Returns
|
|
3360
3360
|
|
|
3361
3361
|
|
|
3362
|
-
-
|
|
3362
|
+
- a new Filter object structure
|
|
3363
3363
|
|
|
3364
3364
|
|
|
3365
3365
|
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
export interface II18nChartBuilderDataPanel {
|
|
2
|
-
loading: string;
|
|
3
|
-
loading_data: string;
|
|
4
|
-
error_state: string;
|
|
5
|
-
title: string;
|
|
6
|
-
links: string;
|
|
7
|
-
linked_tooltip: string;
|
|
8
2
|
column_tooltip: string;
|
|
9
|
-
go_dataset_tooltip: string;
|
|
10
|
-
search_links_placeholder: string;
|
|
11
|
-
search_columns_placeholder: string;
|
|
12
3
|
categories: string;
|
|
13
|
-
|
|
14
|
-
values: string;
|
|
15
|
-
no_values_available: string;
|
|
4
|
+
error_state: string;
|
|
16
5
|
geolocations: string;
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
go_dataset_tooltip: string;
|
|
7
|
+
linked_tooltip: string;
|
|
8
|
+
links: string;
|
|
9
|
+
loading: string;
|
|
10
|
+
loading_data: string;
|
|
11
|
+
no_categories_available: string;
|
|
19
12
|
no_data_available: string;
|
|
20
|
-
no_data_moment_start: string;
|
|
21
13
|
no_data_moment_action: string;
|
|
22
14
|
no_data_moment_end: string;
|
|
15
|
+
no_data_moment_start: string;
|
|
23
16
|
no_datasets_available: string;
|
|
17
|
+
no_geolocations_available: string;
|
|
18
|
+
no_geolocations_available_tooltips: string;
|
|
19
|
+
no_values_available: string;
|
|
20
|
+
search_columns_placeholder: string;
|
|
21
|
+
search_dataset_placeholder: string;
|
|
22
|
+
search_links_placeholder: string;
|
|
23
|
+
title: string;
|
|
24
|
+
values: string;
|
|
24
25
|
}
|