@qrvey/utils 1.2.9-3 → 1.2.9-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +317 -317
  2. package/dist/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
  3. package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
  4. package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
  5. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
  6. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +0 -14
  7. package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +0 -7
  8. package/dist/cjs/globalization/interfaces/chart_builder/index.js +0 -7
  9. package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
  10. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
  11. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
  12. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +17 -9
  13. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
  14. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  15. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +0 -36
  16. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
  17. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
  18. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
  19. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +17 -9
  20. package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
  21. package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
  22. package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
  23. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
  24. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +0 -14
  25. package/dist/globalization/interfaces/chart_builder/index.d.ts +0 -7
  26. package/dist/globalization/interfaces/chart_builder/index.js +0 -7
  27. package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
  28. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
  29. package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
  30. package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +17 -9
  31. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
  32. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  33. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +0 -36
  34. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
  35. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
  36. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
  37. package/dist/globalization/labels/panel/I18N_PANEL.js +17 -9
  38. package/package.json +1 -1
  39. package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +1 -0
  40. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -1
  41. package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +0 -14
  42. package/src/globalization/interfaces/chart_builder/index.ts +0 -7
  43. package/src/globalization/interfaces/common/II18nColumnProperties.ts +1 -0
  44. package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +1 -0
  45. package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -0
  46. package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +17 -9
  47. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +3 -2
  48. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +1 -38
  49. package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +1 -0
  50. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +3 -2
  51. package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -2
  52. package/src/globalization/labels/panel/I18N_PANEL.ts +17 -9
  53. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
  54. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +0 -2
  55. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
  56. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +0 -2
  57. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
  58. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +0 -2
  59. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
  60. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +0 -2
  61. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
  62. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +0 -2
  63. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
  64. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -2
  65. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
  66. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -2
  67. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
  68. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +0 -1
  69. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
  70. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +0 -1
  71. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
  72. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +0 -1
  73. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
  74. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +0 -1
  75. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
  76. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +0 -1
  77. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
  78. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -1
  79. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
  80. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -1
  81. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +0 -6
  82. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +0 -4
  83. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +0 -4
  84. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +0 -4
  85. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +0 -4
  86. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +0 -6
  87. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +0 -6
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-3*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-4*
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/quarterYearToDate.js
139
+ ### dist/dates/adapters/weekYearToDate.js
140
140
 
141
141
 
142
- #### quarterYearToDate(quarterYearDate, time)
142
+ #### weekYearToDate(date, time)
143
143
 
144
- Transforms String Date from a [Quarter Year] format to Date object.
144
+ Transforms String Date from a [Week 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
+ | date | | String of [Week 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 [Quarter Year] format to Date object.
164
164
 
165
165
 
166
166
 
167
- ### dist/dates/adapters/weekYearToDate.js
167
+ ### dist/dates/adapters/quarterYearToDate.js
168
168
 
169
169
 
170
- #### weekYearToDate(date, time)
170
+ #### quarterYearToDate(quarterYearDate, time)
171
171
 
172
- Transforms String Date from a [Week Year] format to Date object.
172
+ Transforms String Date from a [Quarter Year] format to Date object.
173
173
 
174
174
 
175
175
 
@@ -178,7 +178,7 @@ Transforms String Date from a [Week Year] format to Date object.
178
178
 
179
179
  | Name | Type | Description | |
180
180
  | ---- | ---- | ----------- | -------- |
181
- | date | | String of [Week Year] date |   |
181
+ | quarterYearDate | | String of [Quarter Year] date |   |
182
182
  | time | | Flag to parse the object date to milliseconds. |   |
183
183
 
184
184
 
@@ -1003,6 +1003,34 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
1003
1003
 
1004
1004
 
1005
1005
 
1006
+ ### dist/filters/adapters/adaptFilterValues.js
1007
+
1008
+
1009
+ #### adaptFilterValues(filter)
1010
+
1011
+ [TODO: For 2022, eliminate this adapter]
1012
+ Gets an adapted filter value array. Validates the enabled property and sets
1013
+
1014
+
1015
+
1016
+
1017
+ ##### Parameters
1018
+
1019
+ | Name | Type | Description | |
1020
+ | ---- | ---- | ----------- | -------- |
1021
+ | filter | | The filter |   |
1022
+
1023
+
1024
+
1025
+
1026
+ ##### Returns
1027
+
1028
+
1029
+ - A new value array with the filled properties.
1030
+
1031
+
1032
+
1033
+
1006
1034
  ### dist/filters/adapters/flatUIToFD.js
1007
1035
 
1008
1036
 
@@ -1124,34 +1152,6 @@ Gets an filter structure for the filter data
1124
1152
 
1125
1153
 
1126
1154
 
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
-
1155
1155
  ### dist/filters/adapters/flatUIToLogic.js
1156
1156
 
1157
1157
 
@@ -1868,13 +1868,13 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1868
1868
 
1869
1869
 
1870
1870
 
1871
- ### dist/general/mix/compareDeep.js
1871
+ ### dist/general/object/cloneDeep.js
1872
1872
 
1873
1873
 
1874
- #### compareDeep(object1, object2)
1874
+ #### cloneDeep(obj)
1875
1875
 
1876
- Compares two objects to know if they are equals. Go across nested objects.
1877
- Includes arrays in the comparison.
1876
+ A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
1877
+ Not to use this function with inner objects and functions
1878
1878
 
1879
1879
 
1880
1880
 
@@ -1883,8 +1883,7 @@ Includes arrays in the comparison.
1883
1883
 
1884
1884
  | Name | Type | Description | |
1885
1885
  | ---- | ---- | ----------- | -------- |
1886
- | object1 | | First Object to compare |   |
1887
- | object2 | | Second Object to compare |   |
1886
+ | obj | | The object |   |
1888
1887
 
1889
1888
 
1890
1889
 
@@ -1892,17 +1891,21 @@ Includes arrays in the comparison.
1892
1891
  ##### Returns
1893
1892
 
1894
1893
 
1895
- - True: objects are equal. False: Objects are not equal. Undefined: invalid
1894
+ - The new reference object or the given object if the parsing is incorrect or empty
1896
1895
 
1897
1896
 
1898
1897
 
1899
1898
 
1900
- ### dist/general/mix/getTag.js
1899
+ ### dist/general/object/get.js
1901
1900
 
1902
1901
 
1903
- #### getTag(value)
1902
+ #### _get(baseObject, path, defaultValue)
1904
1903
 
1905
- Gets the `toStringTag` of `value`.
1904
+ Like lodash _.get.
1905
+ Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
1906
+
1907
+ Empty arrays and empty objects are returned but the defaultValue is not
1908
+ Undefined and null values will return the defaultValue.
1906
1909
 
1907
1910
 
1908
1911
 
@@ -1911,25 +1914,59 @@ Gets the `toStringTag` of `value`.
1911
1914
 
1912
1915
  | Name | Type | Description | |
1913
1916
  | ---- | ---- | ----------- | -------- |
1914
- | value | | The value to query. |   |
1917
+ | baseObject | | The object to query |   |
1918
+ | path | | The string path or collection of string paths of the property to get. |   |
1919
+ | defaultValue | | The value returned for undefined resolved values. |   |
1920
+
1915
1921
 
1916
1922
 
1917
1923
 
1924
+ ##### Examples
1925
+
1926
+ ```javascript
1927
+ // returns 'Hello'
1928
+ _get({ item1: 'Hello', item2: 'World' }, 'item1')
1929
+ ```
1930
+ ```javascript
1931
+ // returns 'A simple Hello'
1932
+ _get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
1933
+ ```
1934
+ ```javascript
1935
+ // returns 'Hello Again'
1936
+ _get({ item1: { item11: 'Hello Again' }, item2: {} }, 'item1.item11')
1937
+ ```
1938
+ ```javascript
1939
+ // returns 'Hello 2'
1940
+ _get({ item1: ['Hello 1', 'Hello 2' }, item2: [] }, 'item1[1]')
1941
+ ```
1942
+ ```javascript
1943
+ // returns 'Hello Again'
1944
+ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
1945
+ ```
1946
+
1918
1947
 
1919
1948
  ##### Returns
1920
1949
 
1921
1950
 
1922
- - `string` Returns the `toStringTag`.
1951
+ - the resolved value.
1923
1952
 
1924
1953
 
1925
1954
 
1926
1955
 
1927
- ### dist/general/mix/importScripts.js
1956
+ ### dist/general/object/getAttribute.js
1928
1957
 
1929
1958
 
1930
- #### importScripts(scripts)
1959
+ #### getAttribute(obj, key)
1931
1960
 
1932
- Import a set of external Scripts given the URL in both serie and cascade way
1961
+ Searchs for properties in different case styles such as: lower, upper, camel and pascal
1962
+ - To optimize the searching, it is required a key in a snake_case style
1963
+ - List of cases that do not match
1964
+ -- From lower to snake case
1965
+ -- From upper to snake case
1966
+ -- From lower to camel case
1967
+ -- From upper to camel case
1968
+ -- From lower to pascal case
1969
+ -- From upper to pascal case
1933
1970
 
1934
1971
 
1935
1972
 
@@ -1938,12 +1975,8 @@ Import a set of external Scripts given the URL in both serie and cascade way
1938
1975
 
1939
1976
  | Name | Type | Description | |
1940
1977
  | ---- | ---- | ----------- | -------- |
1941
- | scripts | `Array.<String>` `Array.<Object>` | can be an array of string or an array of object with the follow structure: | &nbsp; |
1942
- | scripts.url | `String` | CDN URL | &nbsp; |
1943
- | scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | &nbsp; |
1944
- | scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
1945
- | scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
1946
- | scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | &nbsp; |
1978
+ | obj | `object` | object to look for | &nbsp; |
1979
+ | key | `string` | String attribute in snake_case style | &nbsp; |
1947
1980
 
1948
1981
 
1949
1982
 
@@ -1951,41 +1984,24 @@ Import a set of external Scripts given the URL in both serie and cascade way
1951
1984
  ##### Examples
1952
1985
 
1953
1986
  ```javascript
1954
- // 1) Simple script (paralell loading)
1955
- importScripts(['http://myscript.js', 'http://another.js']);
1987
+ getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
1988
+ ```
1956
1989
 
1957
- // 2) Loading `.js` and `.esm.js` script (parallel loading)
1958
- importScripts([
1959
- { url: 'http://myscript.esm.js', type: 'module' },
1960
- { url: 'http://myscript.js', noModule: true }
1961
- ]);
1962
1990
 
1963
- // 3) import dependent scripts (cascade)
1964
- importScripts([
1965
- { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
1966
- ]);
1991
+ ##### Returns
1967
1992
 
1968
- // 4) mix
1969
- importScripts([
1970
- { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
1971
- { url: 'http://another.esm.js', type: 'module' },
1972
- { url: 'http://another.js', noModule: true },
1973
- 'http://simplescript.js'
1974
- ]);
1975
- ```
1976
1993
 
1994
+ - `Void`
1977
1995
 
1978
- ##### Returns
1979
1996
 
1980
1997
 
1981
- - `Promise` Promise when all script have been loaded
1982
1998
 
1999
+ ### dist/general/object/hasProperty.js
1983
2000
 
1984
2001
 
1985
- #### loadScript(url, type, noModule)
2002
+ #### _hasProperty(obj, property)
1986
2003
 
1987
- Creates the script element and appends to document.head
1988
- return a Promise that is resolved when the script is loaded
2004
+ Use the hasOwnProperty in order to verify if the given property exists in the object.
1989
2005
 
1990
2006
 
1991
2007
 
@@ -1994,27 +2010,38 @@ return a Promise that is resolved when the script is loaded
1994
2010
 
1995
2011
  | Name | Type | Description | |
1996
2012
  | ---- | ---- | ----------- | -------- |
1997
- | url | `String` | Cdn Url | &nbsp; |
1998
- | type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
1999
- | noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
2013
+ | obj | `object` | an object | &nbsp; |
2014
+ | property | `string` | String to verify if exists in the object as property | &nbsp; |
2015
+
2000
2016
 
2001
2017
 
2002
2018
 
2019
+ ##### Examples
2020
+
2021
+ ```javascript
2022
+ const prop = 'prop2'
2023
+ const obj1 = { prop1: 'hello', prop2: 'world'}
2024
+ _hasProperty(ob1, prop1) // true
2025
+
2026
+ const obj2 = { prop1: 'hello world' }
2027
+ _hasProperty(ob1, prop2) // false
2028
+ ```
2029
+
2003
2030
 
2004
2031
  ##### Returns
2005
2032
 
2006
2033
 
2007
- - `Void`
2034
+ - True if the object has the given property; otherwise, false.
2008
2035
 
2009
2036
 
2010
2037
 
2011
2038
 
2012
- ### dist/general/mix/isEmpty.js
2039
+ ### dist/general/object/isObject.js
2013
2040
 
2014
2041
 
2015
- #### isEmpty(variable, includeFalsy)
2042
+ #### isObject(obj)
2016
2043
 
2017
- Validates if the given argument is empty
2044
+ Checks if the given argument is an object type
2018
2045
 
2019
2046
 
2020
2047
 
@@ -2023,8 +2050,7 @@ Validates if the given argument is empty
2023
2050
 
2024
2051
  | Name | Type | Description | |
2025
2052
  | ---- | ---- | ----------- | -------- |
2026
- | variable | | the given variable | &nbsp; |
2027
- | includeFalsy | | flag to determine include the falsy variables into the validation | &nbsp; |
2053
+ | obj | | the variable to check | &nbsp; |
2028
2054
 
2029
2055
 
2030
2056
 
@@ -2032,19 +2058,18 @@ Validates if the given argument is empty
2032
2058
  ##### Returns
2033
2059
 
2034
2060
 
2035
- - true: the given argument is empty; false: is not.
2061
+ - True: It is an object; False: It is not.
2036
2062
 
2037
2063
 
2038
2064
 
2039
2065
 
2040
- ### dist/general/mix/isNaNV2.js
2066
+ ### dist/general/object/mapValues.js
2041
2067
 
2042
2068
 
2043
- #### isNaNV2(variable)
2069
+ #### mapValues(baseObject, iteratee)
2044
2070
 
2045
- Validates if the recieved number is NaN type.
2046
- This function recieves any variable but will return false.
2047
- Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
2071
+ Invoke iteratee (function) for each object key-value pair
2072
+ and return a mapped object
2048
2073
 
2049
2074
 
2050
2075
 
@@ -2053,7 +2078,8 @@ Validates if variable is null, undefined, or an empty string, also, the function
2053
2078
 
2054
2079
  | Name | Type | Description | |
2055
2080
  | ---- | ---- | ----------- | -------- |
2056
- | variable | | the variable to validate | &nbsp; |
2081
+ | baseObject | `Object` | Base object. | &nbsp; |
2082
+ | iteratee | `Function` | The executed per iteration. | &nbsp; |
2057
2083
 
2058
2084
 
2059
2085
 
@@ -2061,18 +2087,18 @@ Validates if variable is null, undefined, or an empty string, also, the function
2061
2087
  ##### Returns
2062
2088
 
2063
2089
 
2064
- - True if variable is a NaN or false otherwise
2090
+ - `Object` New mapped object.
2065
2091
 
2066
2092
 
2067
2093
 
2068
2094
 
2069
- ### dist/general/mix/isNull.js
2095
+ ### dist/general/object/mergeDeep.js
2070
2096
 
2071
2097
 
2072
- #### isNull(arg)
2098
+ #### mergeDeep(obj1, obj2, settings)
2073
2099
 
2074
- return if a given variable is either `null` or `undefined`
2075
- useful to avoid falsify validating Number Zero (0)
2100
+ Merges two objects into a new one.
2101
+ The second given argument to the first given argument.
2076
2102
 
2077
2103
 
2078
2104
 
@@ -2081,7 +2107,9 @@ useful to avoid falsify validating Number Zero (0)
2081
2107
 
2082
2108
  | Name | Type | Description | |
2083
2109
  | ---- | ---- | ----------- | -------- |
2084
- | arg | `any` | | &nbsp; |
2110
+ | obj1 | | The target object | &nbsp; |
2111
+ | obj2 | | The object to be merged | &nbsp; |
2112
+ | settings | | Object settings for this function | &nbsp; |
2085
2113
 
2086
2114
 
2087
2115
 
@@ -2089,19 +2117,13 @@ useful to avoid falsify validating Number Zero (0)
2089
2117
  ##### Returns
2090
2118
 
2091
2119
 
2092
- - `Boolean`
2093
-
2094
-
2095
-
2120
+ - a new merged object
2096
2121
 
2097
- ### dist/general/mix/randomId.js
2098
2122
 
2099
2123
 
2100
- #### randomId(length, exclude)
2124
+ #### isValid(obj1, obj2)
2101
2125
 
2102
- Creates a random string
2103
- - If the first given argument is different than a length number, the variable is replaced by a default number
2104
- - If the optional second given argument is passed the random string is permutated.
2126
+ Validates if the two arguments are objects
2105
2127
 
2106
2128
 
2107
2129
 
@@ -2110,8 +2132,8 @@ Creates a random string
2110
2132
 
2111
2133
  | Name | Type | Description | |
2112
2134
  | ---- | ---- | ----------- | -------- |
2113
- | length | `Number` | size of the generated string. Default 8 | &nbsp; |
2114
- | exclude | `Array` | collection of strings that is going to be excluded of the random string. | &nbsp; |
2135
+ | obj1 | | The target object | &nbsp; |
2136
+ | obj2 | | The object to be merged | &nbsp; |
2115
2137
 
2116
2138
 
2117
2139
 
@@ -2119,19 +2141,13 @@ Creates a random string
2119
2141
  ##### Returns
2120
2142
 
2121
2143
 
2122
- - `String` Random string
2144
+ - true: they are valid; false: they are not
2123
2145
 
2124
2146
 
2125
2147
 
2148
+ #### getParamsToMergeDeep(settings)
2126
2149
 
2127
- ### dist/general/mix/size.js
2128
-
2129
-
2130
- #### size(obj)
2131
-
2132
- Gets the length of the given array.
2133
- - Useful for Object, Array and string type.
2134
- - For `null` or `undefined` or else argument the returned value will be 0.
2150
+ Validates and gets the settings with all set parameters.
2135
2151
 
2136
2152
 
2137
2153
 
@@ -2140,7 +2156,7 @@ Gets the length of the given array.
2140
2156
 
2141
2157
  | Name | Type | Description | |
2142
2158
  | ---- | ---- | ----------- | -------- |
2143
- | obj | `Any` | Any object-type variable | &nbsp; |
2159
+ | settings | | the settings object | &nbsp; |
2144
2160
 
2145
2161
 
2146
2162
 
@@ -2148,18 +2164,17 @@ Gets the length of the given array.
2148
2164
  ##### Returns
2149
2165
 
2150
2166
 
2151
- - `Number` the size of the given variable
2167
+ - a new settings object with all set parameters.
2152
2168
 
2153
2169
 
2154
2170
 
2155
2171
 
2156
- ### dist/general/object/cloneDeep.js
2172
+ ### dist/general/object/objectCopy.js
2157
2173
 
2158
2174
 
2159
- #### cloneDeep(obj)
2175
+ #### objectCopy(entity, cache)
2160
2176
 
2161
- A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
2162
- Not to use this function with inner objects and functions
2177
+ Created a new reference of the given argument
2163
2178
 
2164
2179
 
2165
2180
 
@@ -2168,7 +2183,8 @@ Not to use this function with inner objects and functions
2168
2183
 
2169
2184
  | Name | Type | Description | |
2170
2185
  | ---- | ---- | ----------- | -------- |
2171
- | obj | | The object | &nbsp; |
2186
+ | entity | | The variable to be copied | &nbsp; |
2187
+ | cache | | | &nbsp; |
2172
2188
 
2173
2189
 
2174
2190
 
@@ -2176,21 +2192,17 @@ Not to use this function with inner objects and functions
2176
2192
  ##### Returns
2177
2193
 
2178
2194
 
2179
- - The new reference object or the given object if the parsing is incorrect or empty
2180
-
2195
+ - A new reference of the given argument
2181
2196
 
2182
2197
 
2183
2198
 
2184
- ### dist/general/object/get.js
2185
2199
 
2200
+ ### dist/general/object/omit.js
2186
2201
 
2187
- #### _get(baseObject, path, defaultValue)
2188
2202
 
2189
- Like lodash _.get.
2190
- Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
2203
+ #### omit(obj, props)
2191
2204
 
2192
- Empty arrays and empty objects are returned but the defaultValue is not
2193
- Undefined and null values will return the defaultValue.
2205
+ return a new Object excluding attributes in _props_ list
2194
2206
 
2195
2207
 
2196
2208
 
@@ -2199,59 +2211,26 @@ Undefined and null values will return the defaultValue.
2199
2211
 
2200
2212
  | Name | Type | Description | |
2201
2213
  | ---- | ---- | ----------- | -------- |
2202
- | baseObject | | The object to query | &nbsp; |
2203
- | path | | The string path or collection of string paths of the property to get. | &nbsp; |
2204
- | defaultValue | | The value returned for undefined resolved values. | &nbsp; |
2205
-
2206
-
2207
-
2214
+ | obj | `Object` | base object | &nbsp; |
2215
+ | props | `Array.<String>` | list of attribute to exclude | &nbsp; |
2208
2216
 
2209
- ##### Examples
2210
2217
 
2211
- ```javascript
2212
- // returns 'Hello'
2213
- _get({ item1: 'Hello', item2: 'World' }, 'item1')
2214
- ```
2215
- ```javascript
2216
- // returns 'A simple Hello'
2217
- _get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
2218
- ```
2219
- ```javascript
2220
- // returns 'Hello Again'
2221
- _get({ item1: { item11: 'Hello Again' }, item2: {} }, 'item1.item11')
2222
- ```
2223
- ```javascript
2224
- // returns 'Hello 2'
2225
- _get({ item1: ['Hello 1', 'Hello 2' }, item2: [] }, 'item1[1]')
2226
- ```
2227
- ```javascript
2228
- // returns 'Hello Again'
2229
- _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
2230
- ```
2231
2218
 
2232
2219
 
2233
2220
  ##### Returns
2234
2221
 
2235
2222
 
2236
- - the resolved value.
2223
+ - `Object` clean object
2237
2224
 
2238
2225
 
2239
2226
 
2240
2227
 
2241
- ### dist/general/object/getAttribute.js
2228
+ ### dist/general/object/pick.js
2242
2229
 
2243
2230
 
2244
- #### getAttribute(obj, key)
2231
+ #### pick(baseObject, keys)
2245
2232
 
2246
- Searchs for properties in different case styles such as: lower, upper, camel and pascal
2247
- - To optimize the searching, it is required a key in a snake_case style
2248
- - List of cases that do not match
2249
- -- From lower to snake case
2250
- -- From upper to snake case
2251
- -- From lower to camel case
2252
- -- From upper to camel case
2253
- -- From lower to pascal case
2254
- -- From upper to pascal case
2233
+ return a new object just with attributes in _keys_ list
2255
2234
 
2256
2235
 
2257
2236
 
@@ -2260,33 +2239,26 @@ Searchs for properties in different case styles such as: lower, upper, camel and
2260
2239
 
2261
2240
  | Name | Type | Description | |
2262
2241
  | ---- | ---- | ----------- | -------- |
2263
- | obj | `object` | object to look for | &nbsp; |
2264
- | key | `string` | String attribute in snake_case style | &nbsp; |
2265
-
2266
-
2267
-
2242
+ | baseObject | `Object` | base object | &nbsp; |
2243
+ | keys | `Array.<String>` | list of attributes to preserve | &nbsp; |
2268
2244
 
2269
- ##### Examples
2270
2245
 
2271
- ```javascript
2272
- getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2273
- ```
2274
2246
 
2275
2247
 
2276
2248
  ##### Returns
2277
2249
 
2278
2250
 
2279
- - `Void`
2251
+ - `Object` new object just with desired attributes
2280
2252
 
2281
2253
 
2282
2254
 
2283
2255
 
2284
- ### dist/general/object/hasProperty.js
2256
+ ### dist/general/object/serialize.js
2285
2257
 
2286
2258
 
2287
- #### _hasProperty(obj, property)
2259
+ #### serialize(obj)
2288
2260
 
2289
- Use the hasOwnProperty in order to verify if the given property exists in the object.
2261
+ serialize object to url param
2290
2262
 
2291
2263
 
2292
2264
 
@@ -2295,38 +2267,26 @@ Use the hasOwnProperty in order to verify if the given property exists in the ob
2295
2267
 
2296
2268
  | Name | Type | Description | |
2297
2269
  | ---- | ---- | ----------- | -------- |
2298
- | obj | `object` | an object | &nbsp; |
2299
- | property | `string` | String to verify if exists in the object as property | &nbsp; |
2300
-
2301
-
2302
-
2303
-
2304
- ##### Examples
2270
+ | obj | | - Object to be serialized | &nbsp; |
2305
2271
 
2306
- ```javascript
2307
- const prop = 'prop2'
2308
- const obj1 = { prop1: 'hello', prop2: 'world'}
2309
- _hasProperty(ob1, prop1) // true
2310
2272
 
2311
- const obj2 = { prop1: 'hello world' }
2312
- _hasProperty(ob1, prop2) // false
2313
- ```
2314
2273
 
2315
2274
 
2316
2275
  ##### Returns
2317
2276
 
2318
2277
 
2319
- - True if the object has the given property; otherwise, false.
2278
+ - `Void`
2320
2279
 
2321
2280
 
2322
2281
 
2323
2282
 
2324
- ### dist/general/object/isObject.js
2283
+ ### dist/general/mix/compareDeep.js
2325
2284
 
2326
2285
 
2327
- #### isObject(obj)
2286
+ #### compareDeep(object1, object2)
2328
2287
 
2329
- Checks if the given argument is an object type
2288
+ Compares two objects to know if they are equals. Go across nested objects.
2289
+ Includes arrays in the comparison.
2330
2290
 
2331
2291
 
2332
2292
 
@@ -2335,7 +2295,8 @@ Checks if the given argument is an object type
2335
2295
 
2336
2296
  | Name | Type | Description | |
2337
2297
  | ---- | ---- | ----------- | -------- |
2338
- | obj | | the variable to check | &nbsp; |
2298
+ | object1 | | First Object to compare | &nbsp; |
2299
+ | object2 | | Second Object to compare | &nbsp; |
2339
2300
 
2340
2301
 
2341
2302
 
@@ -2343,18 +2304,17 @@ Checks if the given argument is an object type
2343
2304
  ##### Returns
2344
2305
 
2345
2306
 
2346
- - True: It is an object; False: It is not.
2307
+ - True: objects are equal. False: Objects are not equal. Undefined: invalid
2347
2308
 
2348
2309
 
2349
2310
 
2350
2311
 
2351
- ### dist/general/object/mapValues.js
2312
+ ### dist/general/mix/getTag.js
2352
2313
 
2353
2314
 
2354
- #### mapValues(baseObject, iteratee)
2315
+ #### getTag(value)
2355
2316
 
2356
- Invoke iteratee (function) for each object key-value pair
2357
- and return a mapped object
2317
+ Gets the `toStringTag` of `value`.
2358
2318
 
2359
2319
 
2360
2320
 
@@ -2363,8 +2323,7 @@ and return a mapped object
2363
2323
 
2364
2324
  | Name | Type | Description | |
2365
2325
  | ---- | ---- | ----------- | -------- |
2366
- | baseObject | `Object` | Base object. | &nbsp; |
2367
- | iteratee | `Function` | The executed per iteration. | &nbsp; |
2326
+ | value | | The value to query. | &nbsp; |
2368
2327
 
2369
2328
 
2370
2329
 
@@ -2372,18 +2331,17 @@ and return a mapped object
2372
2331
  ##### Returns
2373
2332
 
2374
2333
 
2375
- - `Object` New mapped object.
2334
+ - `string` Returns the `toStringTag`.
2376
2335
 
2377
2336
 
2378
2337
 
2379
2338
 
2380
- ### dist/general/object/mergeDeep.js
2339
+ ### dist/general/mix/importScripts.js
2381
2340
 
2382
2341
 
2383
- #### mergeDeep(obj1, obj2, settings)
2342
+ #### importScripts(scripts)
2384
2343
 
2385
- Merges two objects into a new one.
2386
- The second given argument to the first given argument.
2344
+ Import a set of external Scripts given the URL in both serie and cascade way
2387
2345
 
2388
2346
 
2389
2347
 
@@ -2392,47 +2350,54 @@ The second given argument to the first given argument.
2392
2350
 
2393
2351
  | Name | Type | Description | |
2394
2352
  | ---- | ---- | ----------- | -------- |
2395
- | obj1 | | The target object | &nbsp; |
2396
- | obj2 | | The object to be merged | &nbsp; |
2397
- | settings | | Object settings for this function | &nbsp; |
2398
-
2399
-
2400
-
2401
-
2402
- ##### Returns
2403
-
2404
-
2405
- - a new merged object
2406
-
2407
-
2353
+ | scripts | `Array.<String>` `Array.<Object>` | can be an array of string or an array of object with the follow structure: | &nbsp; |
2354
+ | scripts.url | `String` | CDN URL | &nbsp; |
2355
+ | scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | &nbsp; |
2356
+ | scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
2357
+ | scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
2358
+ | scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | &nbsp; |
2408
2359
 
2409
- #### isValid(obj1, obj2)
2410
-
2411
- Validates if the two arguments are objects
2412
2360
 
2413
2361
 
2414
2362
 
2363
+ ##### Examples
2415
2364
 
2416
- ##### Parameters
2365
+ ```javascript
2366
+ // 1) Simple script (paralell loading)
2367
+ importScripts(['http://myscript.js', 'http://another.js']);
2417
2368
 
2418
- | Name | Type | Description | |
2419
- | ---- | ---- | ----------- | -------- |
2420
- | obj1 | | The target object | &nbsp; |
2421
- | obj2 | | The object to be merged | &nbsp; |
2369
+ // 2) Loading `.js` and `.esm.js` script (parallel loading)
2370
+ importScripts([
2371
+ { url: 'http://myscript.esm.js', type: 'module' },
2372
+ { url: 'http://myscript.js', noModule: true }
2373
+ ]);
2422
2374
 
2375
+ // 3) import dependent scripts (cascade)
2376
+ importScripts([
2377
+ { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
2378
+ ]);
2423
2379
 
2380
+ // 4) mix
2381
+ importScripts([
2382
+ { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
2383
+ { url: 'http://another.esm.js', type: 'module' },
2384
+ { url: 'http://another.js', noModule: true },
2385
+ 'http://simplescript.js'
2386
+ ]);
2387
+ ```
2424
2388
 
2425
2389
 
2426
2390
  ##### Returns
2427
2391
 
2428
2392
 
2429
- - true: they are valid; false: they are not
2393
+ - `Promise` Promise when all script have been loaded
2430
2394
 
2431
2395
 
2432
2396
 
2433
- #### getParamsToMergeDeep(settings)
2397
+ #### loadScript(url, type, noModule)
2434
2398
 
2435
- Validates and gets the settings with all set parameters.
2399
+ Creates the script element and appends to document.head
2400
+ return a Promise that is resolved when the script is loaded
2436
2401
 
2437
2402
 
2438
2403
 
@@ -2441,7 +2406,9 @@ Validates and gets the settings with all set parameters.
2441
2406
 
2442
2407
  | Name | Type | Description | |
2443
2408
  | ---- | ---- | ----------- | -------- |
2444
- | settings | | the settings object | &nbsp; |
2409
+ | url | `String` | Cdn Url | &nbsp; |
2410
+ | type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
2411
+ | noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
2445
2412
 
2446
2413
 
2447
2414
 
@@ -2449,17 +2416,17 @@ Validates and gets the settings with all set parameters.
2449
2416
  ##### Returns
2450
2417
 
2451
2418
 
2452
- - a new settings object with all set parameters.
2419
+ - `Void`
2453
2420
 
2454
2421
 
2455
2422
 
2456
2423
 
2457
- ### dist/general/object/objectCopy.js
2424
+ ### dist/general/mix/isEmpty.js
2458
2425
 
2459
2426
 
2460
- #### objectCopy(entity, cache)
2427
+ #### isEmpty(variable, includeFalsy)
2461
2428
 
2462
- Created a new reference of the given argument
2429
+ Validates if the given argument is empty
2463
2430
 
2464
2431
 
2465
2432
 
@@ -2468,8 +2435,8 @@ Created a new reference of the given argument
2468
2435
 
2469
2436
  | Name | Type | Description | |
2470
2437
  | ---- | ---- | ----------- | -------- |
2471
- | entity | | The variable to be copied | &nbsp; |
2472
- | cache | | | &nbsp; |
2438
+ | variable | | the given variable | &nbsp; |
2439
+ | includeFalsy | | flag to determine include the falsy variables into the validation | &nbsp; |
2473
2440
 
2474
2441
 
2475
2442
 
@@ -2477,17 +2444,19 @@ Created a new reference of the given argument
2477
2444
  ##### Returns
2478
2445
 
2479
2446
 
2480
- - A new reference of the given argument
2447
+ - true: the given argument is empty; false: is not.
2481
2448
 
2482
2449
 
2483
2450
 
2484
2451
 
2485
- ### dist/general/object/omit.js
2452
+ ### dist/general/mix/isNaNV2.js
2486
2453
 
2487
2454
 
2488
- #### omit(obj, props)
2455
+ #### isNaNV2(variable)
2489
2456
 
2490
- return a new Object excluding attributes in _props_ list
2457
+ Validates if the recieved number is NaN type.
2458
+ This function recieves any variable but will return false.
2459
+ Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
2491
2460
 
2492
2461
 
2493
2462
 
@@ -2496,8 +2465,7 @@ return a new Object excluding attributes in _props_ list
2496
2465
 
2497
2466
  | Name | Type | Description | |
2498
2467
  | ---- | ---- | ----------- | -------- |
2499
- | obj | `Object` | base object | &nbsp; |
2500
- | props | `Array.<String>` | list of attribute to exclude | &nbsp; |
2468
+ | variable | | the variable to validate | &nbsp; |
2501
2469
 
2502
2470
 
2503
2471
 
@@ -2505,17 +2473,18 @@ return a new Object excluding attributes in _props_ list
2505
2473
  ##### Returns
2506
2474
 
2507
2475
 
2508
- - `Object` clean object
2476
+ - True if variable is a NaN or false otherwise
2509
2477
 
2510
2478
 
2511
2479
 
2512
2480
 
2513
- ### dist/general/object/pick.js
2481
+ ### dist/general/mix/isNull.js
2514
2482
 
2515
2483
 
2516
- #### pick(baseObject, keys)
2484
+ #### isNull(arg)
2517
2485
 
2518
- return a new object just with attributes in _keys_ list
2486
+ return if a given variable is either `null` or `undefined`
2487
+ useful to avoid falsify validating Number Zero (0)
2519
2488
 
2520
2489
 
2521
2490
 
@@ -2524,8 +2493,7 @@ return a new object just with attributes in _keys_ list
2524
2493
 
2525
2494
  | Name | Type | Description | |
2526
2495
  | ---- | ---- | ----------- | -------- |
2527
- | baseObject | `Object` | base object | &nbsp; |
2528
- | keys | `Array.<String>` | list of attributes to preserve | &nbsp; |
2496
+ | arg | `any` | | &nbsp; |
2529
2497
 
2530
2498
 
2531
2499
 
@@ -2533,17 +2501,19 @@ return a new object just with attributes in _keys_ list
2533
2501
  ##### Returns
2534
2502
 
2535
2503
 
2536
- - `Object` new object just with desired attributes
2504
+ - `Boolean`
2537
2505
 
2538
2506
 
2539
2507
 
2540
2508
 
2541
- ### dist/general/object/serialize.js
2509
+ ### dist/general/mix/size.js
2542
2510
 
2543
2511
 
2544
- #### serialize(obj)
2512
+ #### size(obj)
2545
2513
 
2546
- serialize object to url param
2514
+ Gets the length of the given array.
2515
+ - Useful for Object, Array and string type.
2516
+ - For `null` or `undefined` or else argument the returned value will be 0.
2547
2517
 
2548
2518
 
2549
2519
 
@@ -2552,7 +2522,7 @@ serialize object to url param
2552
2522
 
2553
2523
  | Name | Type | Description | |
2554
2524
  | ---- | ---- | ----------- | -------- |
2555
- | obj | | - Object to be serialized | &nbsp; |
2525
+ | obj | `Any` | Any object-type variable | &nbsp; |
2556
2526
 
2557
2527
 
2558
2528
 
@@ -2560,17 +2530,19 @@ serialize object to url param
2560
2530
  ##### Returns
2561
2531
 
2562
2532
 
2563
- - `Void`
2533
+ - `Number` the size of the given variable
2564
2534
 
2565
2535
 
2566
2536
 
2567
2537
 
2568
- ### dist/general/string/capitalize.js
2538
+ ### dist/general/mix/randomId.js
2569
2539
 
2570
2540
 
2571
- #### capitalize(text)
2541
+ #### randomId(length, exclude)
2572
2542
 
2573
- Upper case the first letter of a given text
2543
+ Creates a random string
2544
+ - If the first given argument is different than a length number, the variable is replaced by a default number
2545
+ - If the optional second given argument is passed the random string is permutated.
2574
2546
 
2575
2547
 
2576
2548
 
@@ -2579,7 +2551,8 @@ Upper case the first letter of a given text
2579
2551
 
2580
2552
  | Name | Type | Description | |
2581
2553
  | ---- | ---- | ----------- | -------- |
2582
- | text | `String` | | &nbsp; |
2554
+ | length | `Number` | size of the generated string. Default 8 | &nbsp; |
2555
+ | exclude | `Array` | collection of strings that is going to be excluded of the random string. | &nbsp; |
2583
2556
 
2584
2557
 
2585
2558
 
@@ -2587,17 +2560,17 @@ Upper case the first letter of a given text
2587
2560
  ##### Returns
2588
2561
 
2589
2562
 
2590
- - `String` a capitalized text
2563
+ - `String` Random string
2591
2564
 
2592
2565
 
2593
2566
 
2594
2567
 
2595
- ### dist/qrvey/helpers/getColumnsLabel.js
2568
+ ### dist/general/string/capitalize.js
2596
2569
 
2597
2570
 
2598
- #### getColumnLabels(column)
2571
+ #### capitalize(text)
2599
2572
 
2600
- Get an string of the properties of the given column.
2573
+ Upper case the first letter of a given text
2601
2574
 
2602
2575
 
2603
2576
 
@@ -2606,7 +2579,7 @@ Get an string of the properties of the given column.
2606
2579
 
2607
2580
  | Name | Type | Description | |
2608
2581
  | ---- | ---- | ----------- | -------- |
2609
- | column | | The column | &nbsp; |
2582
+ | text | `String` | | &nbsp; |
2610
2583
 
2611
2584
 
2612
2585
 
@@ -2614,7 +2587,7 @@ Get an string of the properties of the given column.
2614
2587
  ##### Returns
2615
2588
 
2616
2589
 
2617
- - an string with the property, aggregate or calculation label.
2590
+ - `String` a capitalized text
2618
2591
 
2619
2592
 
2620
2593
 
@@ -2734,6 +2707,37 @@ someMethod() {
2734
2707
 
2735
2708
 
2736
2709
 
2710
+ ### dist/stencil/util/getConfig.js
2711
+
2712
+
2713
+ #### getConfig(cfg)
2714
+
2715
+ verify the Config object type and try to return a parsed Object
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
2720
+
2721
+
2722
+
2723
+
2724
+ ##### Parameters
2725
+
2726
+ | Name | Type | Description | |
2727
+ | ---- | ---- | ----------- | -------- |
2728
+ | cfg | | | &nbsp; |
2729
+
2730
+
2731
+
2732
+
2733
+ ##### Returns
2734
+
2735
+
2736
+ - `Void`
2737
+
2738
+
2739
+
2740
+
2737
2741
  ### dist/stencil/util/createRef.js
2738
2742
 
2739
2743
 
@@ -2754,16 +2758,12 @@ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom
2754
2758
 
2755
2759
 
2756
2760
 
2757
- ### dist/stencil/util/getConfig.js
2761
+ ### dist/qrvey/helpers/getColumnsLabel.js
2758
2762
 
2759
2763
 
2760
- #### getConfig(cfg)
2764
+ #### getColumnLabels(column)
2761
2765
 
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
2766
+ Get an string of the properties of the given column.
2767
2767
 
2768
2768
 
2769
2769
 
@@ -2772,7 +2772,7 @@ try to find this string as a variable on Windows object
2772
2772
 
2773
2773
  | Name | Type | Description | |
2774
2774
  | ---- | ---- | ----------- | -------- |
2775
- | cfg | | | &nbsp; |
2775
+ | column | | The column | &nbsp; |
2776
2776
 
2777
2777
 
2778
2778
 
@@ -2780,7 +2780,7 @@ try to find this string as a variable on Windows object
2780
2780
  ##### Returns
2781
2781
 
2782
2782
 
2783
- - `Void`
2783
+ - an string with the property, aggregate or calculation label.
2784
2784
 
2785
2785
 
2786
2786
 
@@ -2921,33 +2921,6 @@ Parses a string date and returns a dayjs date
2921
2921
 
2922
2922
 
2923
2923
 
2924
- ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
2925
-
2926
-
2927
- #### getFilterBuilderGeneralConfig(config)
2928
-
2929
- Returns a filter builder config object by a any given config
2930
-
2931
-
2932
-
2933
-
2934
- ##### Parameters
2935
-
2936
- | Name | Type | Description | |
2937
- | ---- | ---- | ----------- | -------- |
2938
- | config | | any config object | &nbsp; |
2939
-
2940
-
2941
-
2942
-
2943
- ##### Returns
2944
-
2945
-
2946
- - The filter builder config object
2947
-
2948
-
2949
-
2950
-
2951
2924
  ### dist/filters/helpers/backend/buildExpression.js
2952
2925
 
2953
2926
 
@@ -3244,6 +3217,33 @@ Gets filters from the logic by the scopes hierarchy.
3244
3217
 
3245
3218
 
3246
3219
 
3220
+ ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
3221
+
3222
+
3223
+ #### getFilterBuilderGeneralConfig(config)
3224
+
3225
+ Returns a filter builder config object by a any given config
3226
+
3227
+
3228
+
3229
+
3230
+ ##### Parameters
3231
+
3232
+ | Name | Type | Description | |
3233
+ | ---- | ---- | ----------- | -------- |
3234
+ | config | | any config object | &nbsp; |
3235
+
3236
+
3237
+
3238
+
3239
+ ##### Returns
3240
+
3241
+
3242
+ - The filter builder config object
3243
+
3244
+
3245
+
3246
+
3247
3247
  ### dist/filters/helpers/common/areFiltersEquals.js
3248
3248
 
3249
3249