@qrvey/utils 1.2.4-21 → 1.2.4-22

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 CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-21*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-22*
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/quarterYearToDate.js
111
+ ### dist/dates/adapters/monthYearToDate.js
112
112
 
113
113
 
114
- #### quarterYearToDate(quarterYearDate, time)
114
+ #### monthYearToDate(monthYearDate, time)
115
115
 
116
- Transforms String Date from a [Quarter Year] format to Date object.
116
+ Transforms String Date from a [Month Year] format to Date object.
117
117
 
118
118
 
119
119
 
@@ -122,7 +122,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
122
122
 
123
123
  | Name | Type | Description | |
124
124
  | ---- | ---- | ----------- | -------- |
125
- | quarterYearDate | | String of [Quarter Year] date |   |
125
+ | monthYearDate | | String of [Month 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 [Quarter Year] format to Date object.
136
136
 
137
137
 
138
138
 
139
- ### dist/dates/adapters/monthYearToDate.js
139
+ ### dist/dates/adapters/quarterYearToDate.js
140
140
 
141
141
 
142
- #### monthYearToDate(monthYearDate, time)
142
+ #### quarterYearToDate(quarterYearDate, time)
143
143
 
144
- Transforms String Date from a [Month Year] format to Date object.
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 [Month Year] format to Date object.
150
150
 
151
151
  | Name | Type | Description | |
152
152
  | ---- | ---- | ----------- | -------- |
153
- | monthYearDate | | String of [Month Year] date |   |
153
+ | quarterYearDate | | String of [Quarter Year] date |   |
154
154
  | time | | Flag to parse the object date to milliseconds. |   |
155
155
 
156
156
 
@@ -688,6 +688,26 @@ 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
+
691
711
  ### dist/filters/adapters/FDToFlatUI.js
692
712
 
693
713
 
@@ -1649,26 +1669,6 @@ Gets the Scopes IDS for the Available Scope function by any config
1649
1669
 
1650
1670
 
1651
1671
 
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
 
@@ -1897,6 +1897,33 @@ 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
+
1900
1927
  ### dist/general/mix/importScripts.js
1901
1928
 
1902
1929
 
@@ -1982,33 +2009,6 @@ return a Promise that is resolved when the script is loaded
1982
2009
 
1983
2010
 
1984
2011
 
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
 
@@ -2839,34 +2839,6 @@ try to find this string as a variable on Windows object
2839
2839
 
2840
2840
 
2841
2841
 
2842
- ### dist/dates/relative/helpers/getStatementCase.js
2843
-
2844
-
2845
- #### getStatementCase(includeCurrent, isCalendarDate)
2846
-
2847
- Returns a number/constant that identifies a relative date case
2848
-
2849
-
2850
-
2851
-
2852
- ##### Parameters
2853
-
2854
- | Name | Type | Description | |
2855
- | ---- | ---- | ----------- | -------- |
2856
- | includeCurrent | `boolean` | |   |
2857
- | isCalendarDate | `boolean` | |   |
2858
-
2859
-
2860
-
2861
-
2862
- ##### Returns
2863
-
2864
-
2865
- - `number`
2866
-
2867
-
2868
-
2869
-
2870
2842
  ### dist/dates/relative/helpers/formatStatement.js
2871
2843
 
2872
2844
 
@@ -2894,12 +2866,12 @@ Build a proper relative date statement type
2894
2866
 
2895
2867
 
2896
2868
 
2897
- ### dist/dates/relative/helpers/parseDate.js
2869
+ ### dist/dates/relative/helpers/getStatementCase.js
2898
2870
 
2899
2871
 
2900
- #### parseDate(date)
2872
+ #### getStatementCase(includeCurrent, isCalendarDate)
2901
2873
 
2902
- Parses a string date and returns a dayjs date
2874
+ Returns a number/constant that identifies a relative date case
2903
2875
 
2904
2876
 
2905
2877
 
@@ -2908,7 +2880,8 @@ Parses a string date and returns a dayjs date
2908
2880
 
2909
2881
  | Name | Type | Description | |
2910
2882
  | ---- | ---- | ----------- | -------- |
2911
- | date | `string` `Dayjs` `Date` | |   |
2883
+ | includeCurrent | `boolean` | |   |
2884
+ | isCalendarDate | `boolean` | |   |
2912
2885
 
2913
2886
 
2914
2887
 
@@ -2916,17 +2889,17 @@ Parses a string date and returns a dayjs date
2916
2889
  ##### Returns
2917
2890
 
2918
2891
 
2919
- - `Dayjs` A dayjs date
2892
+ - `number`
2920
2893
 
2921
2894
 
2922
2895
 
2923
2896
 
2924
- ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
2897
+ ### dist/dates/relative/helpers/parseDate.js
2925
2898
 
2926
2899
 
2927
- #### getFilterBuilderGeneralConfig(config)
2900
+ #### parseDate(date)
2928
2901
 
2929
- Returns a filter builder config object by a any given config
2902
+ Parses a string date and returns a dayjs date
2930
2903
 
2931
2904
 
2932
2905
 
@@ -2935,7 +2908,7 @@ Returns a filter builder config object by a any given config
2935
2908
 
2936
2909
  | Name | Type | Description | |
2937
2910
  | ---- | ---- | ----------- | -------- |
2938
- | config | | any config object |   |
2911
+ | date | `string` `Dayjs` `Date` | |   |
2939
2912
 
2940
2913
 
2941
2914
 
@@ -2943,7 +2916,7 @@ Returns a filter builder config object by a any given config
2943
2916
  ##### Returns
2944
2917
 
2945
2918
 
2946
- - The filter builder config object
2919
+ - `Dayjs` A dayjs date
2947
2920
 
2948
2921
 
2949
2922
 
@@ -3244,12 +3217,12 @@ Gets filters from the logic by the scopes hierarchy.
3244
3217
 
3245
3218
 
3246
3219
 
3247
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3220
+ ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
3248
3221
 
3249
3222
 
3250
- #### excludeFiltersByAggregateColumn(filterData)
3223
+ #### getFilterBuilderGeneralConfig(config)
3251
3224
 
3252
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3225
+ Returns a filter builder config object by a any given config
3253
3226
 
3254
3227
 
3255
3228
 
@@ -3258,7 +3231,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3258
3231
 
3259
3232
  | Name | Type | Description | |
3260
3233
  | ---- | ---- | ----------- | -------- |
3261
- | filterData | | The filter data object |   |
3234
+ | config | | any config object |   |
3262
3235
 
3263
3236
 
3264
3237
 
@@ -3266,7 +3239,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3266
3239
  ##### Returns
3267
3240
 
3268
3241
 
3269
- - The new filter data object that were excluded the aggregate filters
3242
+ - The filter builder config object
3270
3243
 
3271
3244
 
3272
3245
 
@@ -3299,6 +3272,33 @@ Validates if both filters are the same
3299
3272
 
3300
3273
 
3301
3274
 
3275
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3276
+
3277
+
3278
+ #### excludeFiltersByAggregateColumn(filterData)
3279
+
3280
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3281
+
3282
+
3283
+
3284
+
3285
+ ##### Parameters
3286
+
3287
+ | Name | Type | Description | |
3288
+ | ---- | ---- | ----------- | -------- |
3289
+ | filterData | | The filter data object |   |
3290
+
3291
+
3292
+
3293
+
3294
+ ##### Returns
3295
+
3296
+
3297
+ - The new filter data object that were excluded the aggregate filters
3298
+
3299
+
3300
+
3301
+
3302
3302
  ### dist/filters/helpers/common/excludeFiltersByParams.js
3303
3303
 
3304
3304
 
@@ -4095,12 +4095,12 @@ Excludes Aggregate Filters in the Flattened UI Filters array
4095
4095
 
4096
4096
 
4097
4097
 
4098
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4098
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4099
4099
 
4100
4100
 
4101
- #### getFilterPropertyLabel(filter)
4101
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4102
4102
 
4103
- Gets the label of the filter property
4103
+ Excludes and returns a UI Flat Filters without filters by the given scopes
4104
4104
 
4105
4105
 
4106
4106
 
@@ -4109,7 +4109,8 @@ Gets the label of the filter property
4109
4109
 
4110
4110
  | Name | Type | Description | |
4111
4111
  | ---- | ---- | ----------- | -------- |
4112
- | filter | | The UI Filter |   |
4112
+ | uFilters | | The Flatten UI Filters |   |
4113
+ | scopes | | collection of scopes types |   |
4113
4114
 
4114
4115
 
4115
4116
 
@@ -4117,17 +4118,17 @@ Gets the label of the filter property
4117
4118
  ##### Returns
4118
4119
 
4119
4120
 
4120
- - a string of the filter property label
4121
+ - The new array of UI Flattened filters
4121
4122
 
4122
4123
 
4123
4124
 
4124
4125
 
4125
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4126
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4126
4127
 
4127
4128
 
4128
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4129
+ #### getFilterPropertyLabel(filter)
4129
4130
 
4130
- Excludes and returns a UI Flat Filters without filters by the given scopes
4131
+ Gets the label of the filter property
4131
4132
 
4132
4133
 
4133
4134
 
@@ -4136,8 +4137,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
4136
4137
 
4137
4138
  | Name | Type | Description | |
4138
4139
  | ---- | ---- | ----------- | -------- |
4139
- | uFilters | | The Flatten UI Filters |   |
4140
- | scopes | | collection of scopes types |   |
4140
+ | filter | | The UI Filter |   |
4141
4141
 
4142
4142
 
4143
4143
 
@@ -4145,7 +4145,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
4145
4145
  ##### Returns
4146
4146
 
4147
4147
 
4148
- - The new array of UI Flattened filters
4148
+ - a string of the filter property label
4149
4149
 
4150
4150
 
4151
4151
 
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
22
22
  search_bucket_placeholder: string;
23
23
  search_all_bucket: string;
24
24
  no_answers_found: string;
25
- rating_singular: string;
26
- rating_plural: string;
27
- slidebar_singular: string;
28
- slidebar_plural: string;
29
25
  basic: string;
30
26
  custom: string;
31
27
  list_buckets: string;
@@ -1,6 +1,6 @@
1
1
  export interface II18nBucketBuilderListBuckets {
2
2
  title: string;
3
- counter_singular: string;
4
- counter_plural: string;
3
+ counter_one: string;
4
+ counter_other: string;
5
5
  no_columns: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  bucket_added: string;
3
3
  bucket_edited: string;
4
- bucket_duplicate: string;
5
- bucket_delete: string;
4
+ bucket_duplicated: string;
5
+ bucket_deleted: string;
6
6
  bad_configuration_object: string;
7
7
  }
@@ -31,10 +31,6 @@ exports.I18N_BUCKET_BUILDER = {
31
31
  search_bucket_placeholder: 'Search',
32
32
  search_all_bucket: 'All',
33
33
  no_answers_found: 'No Answers Found',
34
- rating_singular: 'Star',
35
- rating_plural: 'Stars',
36
- slidebar_singular: 'Stop',
37
- slidebar_plural: 'Stops',
38
34
  basic: 'Basic',
39
35
  custom: 'Custom',
40
36
  list_buckets: 'Buckets',
@@ -90,8 +86,8 @@ exports.I18N_BUCKET_BUILDER = {
90
86
  },
91
87
  list_buckets: {
92
88
  title: 'Available Buckets',
93
- counter_singular: 'Bucket',
94
- counter_plural: 'Buckets',
89
+ counter_one: 'Bucket',
90
+ counter_other: 'Buckets',
95
91
  no_columns: 'No bucketed columns created'
96
92
  },
97
93
  menu_bucket: {
@@ -114,8 +110,8 @@ exports.I18N_BUCKET_BUILDER = {
114
110
  messages: {
115
111
  bucket_added: 'Bucketed Column Successfully Saved as New',
116
112
  bucket_edited: 'Bucketed Column Successfully Edited',
117
- bucket_duplicate: 'Bucketed Column Successfully Duplicated',
118
- bucket_delete: 'Bucketed Column Successfully Deleted',
113
+ bucket_duplicated: 'Bucketed Column Successfully Duplicated',
114
+ bucket_deleted: 'Bucketed Column Successfully Deleted',
119
115
  bad_configuration_object: 'Bad Configuration Object'
120
116
  }
121
117
  };
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
22
22
  search_bucket_placeholder: string;
23
23
  search_all_bucket: string;
24
24
  no_answers_found: string;
25
- rating_singular: string;
26
- rating_plural: string;
27
- slidebar_singular: string;
28
- slidebar_plural: string;
29
25
  basic: string;
30
26
  custom: string;
31
27
  list_buckets: string;
@@ -1,6 +1,6 @@
1
1
  export interface II18nBucketBuilderListBuckets {
2
2
  title: string;
3
- counter_singular: string;
4
- counter_plural: string;
3
+ counter_one: string;
4
+ counter_other: string;
5
5
  no_columns: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  bucket_added: string;
3
3
  bucket_edited: string;
4
- bucket_duplicate: string;
5
- bucket_delete: string;
4
+ bucket_duplicated: string;
5
+ bucket_deleted: string;
6
6
  bad_configuration_object: string;
7
7
  }
@@ -28,10 +28,6 @@ export const I18N_BUCKET_BUILDER = {
28
28
  search_bucket_placeholder: 'Search',
29
29
  search_all_bucket: 'All',
30
30
  no_answers_found: 'No Answers Found',
31
- rating_singular: 'Star',
32
- rating_plural: 'Stars',
33
- slidebar_singular: 'Stop',
34
- slidebar_plural: 'Stops',
35
31
  basic: 'Basic',
36
32
  custom: 'Custom',
37
33
  list_buckets: 'Buckets',
@@ -87,8 +83,8 @@ export const I18N_BUCKET_BUILDER = {
87
83
  },
88
84
  list_buckets: {
89
85
  title: 'Available Buckets',
90
- counter_singular: 'Bucket',
91
- counter_plural: 'Buckets',
86
+ counter_one: 'Bucket',
87
+ counter_other: 'Buckets',
92
88
  no_columns: 'No bucketed columns created'
93
89
  },
94
90
  menu_bucket: {
@@ -111,8 +107,8 @@ export const I18N_BUCKET_BUILDER = {
111
107
  messages: {
112
108
  bucket_added: 'Bucketed Column Successfully Saved as New',
113
109
  bucket_edited: 'Bucketed Column Successfully Edited',
114
- bucket_duplicate: 'Bucketed Column Successfully Duplicated',
115
- bucket_delete: 'Bucketed Column Successfully Deleted',
110
+ bucket_duplicated: 'Bucketed Column Successfully Duplicated',
111
+ bucket_deleted: 'Bucketed Column Successfully Deleted',
116
112
  bad_configuration_object: 'Bad Configuration Object'
117
113
  }
118
114
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.4-21",
3
+ "version": "1.2.4-22",
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",
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
22
22
  search_bucket_placeholder: string;
23
23
  search_all_bucket: string;
24
24
  no_answers_found: string;
25
- rating_singular: string;
26
- rating_plural: string;
27
- slidebar_singular: string;
28
- slidebar_plural: string;
29
25
  basic: string;
30
26
  custom: string;
31
27
  list_buckets: string;
@@ -1,6 +1,6 @@
1
1
  export interface II18nBucketBuilderListBuckets {
2
2
  title: string;
3
- counter_singular: string;
4
- counter_plural: string;
3
+ counter_one: string;
4
+ counter_other: string;
5
5
  no_columns: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  bucket_added: string;
3
3
  bucket_edited: string;
4
- bucket_duplicate: string;
5
- bucket_delete: string;
4
+ bucket_duplicated: string;
5
+ bucket_deleted: string;
6
6
  bad_configuration_object: string;
7
7
  }
@@ -30,10 +30,6 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
30
30
  search_bucket_placeholder: 'Search',
31
31
  search_all_bucket: 'All',
32
32
  no_answers_found: 'No Answers Found',
33
- rating_singular: 'Star',
34
- rating_plural: 'Stars',
35
- slidebar_singular: 'Stop',
36
- slidebar_plural: 'Stops',
37
33
  basic: 'Basic',
38
34
  custom: 'Custom',
39
35
  list_buckets: 'Buckets',
@@ -89,8 +85,8 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
89
85
  },
90
86
  list_buckets: {
91
87
  title: 'Available Buckets',
92
- counter_singular: 'Bucket',
93
- counter_plural: 'Buckets',
88
+ counter_one: 'Bucket',
89
+ counter_other: 'Buckets',
94
90
  no_columns: 'No bucketed columns created'
95
91
  },
96
92
  menu_bucket: {
@@ -113,8 +109,8 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
113
109
  messages: {
114
110
  bucket_added: 'Bucketed Column Successfully Saved as New',
115
111
  bucket_edited: 'Bucketed Column Successfully Edited',
116
- bucket_duplicate: 'Bucketed Column Successfully Duplicated',
117
- bucket_delete: 'Bucketed Column Successfully Deleted',
112
+ bucket_duplicated: 'Bucketed Column Successfully Duplicated',
113
+ bucket_deleted: 'Bucketed Column Successfully Deleted',
118
114
  bad_configuration_object: 'Bad Configuration Object'
119
115
  }
120
116
  };
@@ -1,8 +1,7 @@
1
1
  import { II18nCrossTabs } from '../../interfaces/cross_tabs';
2
2
 
3
3
  export const I18N_CROSS_TABS: II18nCrossTabs = {
4
- footer_message:
5
- '* Grand Totals and Subtotals are based on the aggregate of the data values.',
4
+ footer_message: '* Grand Totals and Subtotals are based on the aggregate of the data values.',
6
5
  grand_total: 'Grand Total',
7
6
  no_data: 'No Data',
8
7
  sort: {