@qrvey/utils 1.2.9-35 → 1.2.9-38

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 (166) hide show
  1. package/README.md +116 -117
  2. package/bitbucket-pipelines.yml +1 -1
  3. package/dist/cjs/charts/constants/index.js +5 -1
  4. package/dist/cjs/charts/helpers/index.js +5 -1
  5. package/dist/cjs/charts/index.js +5 -1
  6. package/dist/cjs/charts/interfaces/index.js +5 -1
  7. package/dist/cjs/columns/constants/COLUMN_LABEL.d.ts +1 -0
  8. package/dist/cjs/columns/constants/COLUMN_LABEL.js +1 -1
  9. package/dist/cjs/columns/constants/COLUMN_PROPERTY_INFO.js +1 -1
  10. package/dist/cjs/columns/constants/index.js +5 -1
  11. package/dist/cjs/columns/helpers/index.js +5 -1
  12. package/dist/cjs/columns/index.js +5 -1
  13. package/dist/cjs/columns/interfaces/index.js +5 -1
  14. package/dist/cjs/constants/index.js +5 -1
  15. package/dist/cjs/dates/constants/DATE_REGULAR_EXPRESSION.js +1 -1
  16. package/dist/cjs/dates/constants/index.js +5 -1
  17. package/dist/cjs/dates/helpers/getSeparatorByDateFormat.js +1 -1
  18. package/dist/cjs/dates/helpers/index.js +5 -1
  19. package/dist/cjs/dates/index.js +5 -1
  20. package/dist/cjs/dates/interfaces/index.js +5 -1
  21. package/dist/cjs/dates/range/index.js +5 -1
  22. package/dist/cjs/dates/relative/constants/index.js +5 -1
  23. package/dist/cjs/dates/relative/constants/ui/index.js +5 -1
  24. package/dist/cjs/dates/relative/helpers/dayjs-module.js +5 -1
  25. package/dist/cjs/dates/relative/helpers/index.js +5 -1
  26. package/dist/cjs/dates/relative/index.js +5 -1
  27. package/dist/cjs/dates/relative/interfaces/index.js +5 -1
  28. package/dist/cjs/dates/relative/interfaces/ui/index.js +5 -1
  29. package/dist/cjs/filters/adapters/index.js +5 -1
  30. package/dist/cjs/filters/classes/index.js +5 -1
  31. package/dist/cjs/filters/constants/backend/index.js +5 -1
  32. package/dist/cjs/filters/constants/builder/index.js +5 -1
  33. package/dist/cjs/filters/constants/common/index.js +5 -1
  34. package/dist/cjs/filters/constants/index.js +5 -1
  35. package/dist/cjs/filters/constants/panel/index.js +5 -1
  36. package/dist/cjs/filters/helpers/backend/index.js +5 -1
  37. package/dist/cjs/filters/helpers/builder/index.js +5 -1
  38. package/dist/cjs/filters/helpers/common/index.js +5 -1
  39. package/dist/cjs/filters/helpers/index.js +5 -1
  40. package/dist/cjs/filters/helpers/ui/index.js +5 -1
  41. package/dist/cjs/filters/index.js +5 -1
  42. package/dist/cjs/filters/interfaces/backend/index.js +5 -1
  43. package/dist/cjs/filters/interfaces/builder/index.js +5 -1
  44. package/dist/cjs/filters/interfaces/common/index.js +5 -1
  45. package/dist/cjs/filters/interfaces/index.js +5 -1
  46. package/dist/cjs/filters/interfaces/panel/index.js +5 -1
  47. package/dist/cjs/filters/interfaces/ui/index.js +5 -1
  48. package/dist/cjs/format/format.d.ts +1 -1
  49. package/dist/cjs/format/format.js +3 -0
  50. package/dist/cjs/format/index.js +5 -1
  51. package/dist/cjs/format/localization.js +2 -2
  52. package/dist/cjs/formulas/constants/index.js +5 -1
  53. package/dist/cjs/formulas/index.js +5 -1
  54. package/dist/cjs/formulas/interfaces/index.js +5 -1
  55. package/dist/cjs/general/array/index.js +5 -1
  56. package/dist/cjs/general/function/index.js +5 -1
  57. package/dist/cjs/general/index.js +5 -1
  58. package/dist/cjs/general/mix/index.js +5 -1
  59. package/dist/cjs/general/object/index.js +5 -1
  60. package/dist/cjs/general/string/index.js +5 -1
  61. package/dist/cjs/globalization/helpers/index.js +5 -1
  62. package/dist/cjs/globalization/index.js +5 -1
  63. package/dist/cjs/globalization/interfaces/bucket_builder/index.js +5 -1
  64. package/dist/cjs/globalization/interfaces/calendar/index.js +5 -1
  65. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +6 -0
  66. package/dist/cjs/globalization/interfaces/chart_builder/index.js +5 -1
  67. package/dist/cjs/globalization/interfaces/columns/index.js +5 -1
  68. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +1 -0
  69. package/dist/cjs/globalization/interfaces/common/index.js +5 -1
  70. package/dist/cjs/globalization/interfaces/cross_tabs/index.js +5 -1
  71. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +1 -0
  72. package/dist/cjs/globalization/interfaces/dashboard/index.js +5 -1
  73. package/dist/cjs/globalization/interfaces/filters/index.js +5 -1
  74. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.d.ts +3 -3
  75. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.d.ts +5 -5
  76. package/dist/cjs/globalization/interfaces/formula_builder/index.js +5 -1
  77. package/dist/cjs/globalization/interfaces/index.js +5 -1
  78. package/dist/cjs/globalization/interfaces/panel/index.js +5 -1
  79. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +2 -0
  80. package/dist/cjs/globalization/interfaces/style_themes/index.js +5 -1
  81. package/dist/cjs/globalization/interfaces/table_charts/index.js +5 -1
  82. package/dist/cjs/globalization/labels/bucket_builder/index.js +5 -1
  83. package/dist/cjs/globalization/labels/calendar/index.js +5 -1
  84. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +6 -0
  85. package/dist/cjs/globalization/labels/chart_builder/index.js +5 -1
  86. package/dist/cjs/globalization/labels/columns/index.js +5 -1
  87. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +1 -0
  88. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +1 -0
  89. package/dist/cjs/globalization/labels/common/index.js +5 -1
  90. package/dist/cjs/globalization/labels/cross_tabs/index.js +5 -1
  91. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +1 -0
  92. package/dist/cjs/globalization/labels/dashboard/index.js +5 -1
  93. package/dist/cjs/globalization/labels/filters/index.js +5 -1
  94. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +9 -9
  95. package/dist/cjs/globalization/labels/formula_builder/index.js +5 -1
  96. package/dist/cjs/globalization/labels/index.js +5 -1
  97. package/dist/cjs/globalization/labels/panel/index.js +5 -1
  98. package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.js +2 -0
  99. package/dist/cjs/globalization/labels/style_themes/index.js +5 -1
  100. package/dist/cjs/globalization/labels/table_charts/index.js +5 -1
  101. package/dist/cjs/globalization/service/index.js +5 -1
  102. package/dist/cjs/index.js +5 -1
  103. package/dist/cjs/interfaces/format/index.js +5 -1
  104. package/dist/cjs/interfaces/general/index.js +5 -1
  105. package/dist/cjs/interfaces/index.js +5 -1
  106. package/dist/cjs/qrvey/constants/index.js +5 -1
  107. package/dist/cjs/qrvey/helpers/index.js +5 -1
  108. package/dist/cjs/qrvey/index.js +5 -1
  109. package/dist/cjs/qrvey/interfaces/index.js +5 -1
  110. package/dist/cjs/services/adapters/index.js +5 -1
  111. package/dist/cjs/services/api/index.js +5 -1
  112. package/dist/cjs/services/constants/index.js +5 -1
  113. package/dist/cjs/services/helpers/index.js +5 -1
  114. package/dist/cjs/services/index.js +5 -1
  115. package/dist/cjs/services/interfaces/index.js +5 -1
  116. package/dist/cjs/stencil/decorators/index.js +5 -1
  117. package/dist/cjs/stencil/index.js +5 -1
  118. package/dist/cjs/stencil/util/index.js +5 -1
  119. package/dist/cjs/tokens/index.js +5 -1
  120. package/dist/cjs/typescript/decorators/index.js +5 -1
  121. package/dist/cjs/typescript/index.js +5 -1
  122. package/dist/columns/constants/COLUMN_LABEL.d.ts +1 -0
  123. package/dist/columns/constants/COLUMN_LABEL.js +1 -1
  124. package/dist/columns/constants/COLUMN_PROPERTY_INFO.js +1 -1
  125. package/dist/dates/constants/DATE_REGULAR_EXPRESSION.js +1 -1
  126. package/dist/dates/helpers/getSeparatorByDateFormat.js +1 -1
  127. package/dist/format/format.d.ts +1 -1
  128. package/dist/format/format.js +3 -0
  129. package/dist/format/localization.js +2 -2
  130. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +6 -0
  131. package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +1 -0
  132. package/dist/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +1 -0
  133. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.d.ts +3 -3
  134. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.d.ts +5 -5
  135. package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +2 -0
  136. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +6 -0
  137. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +1 -0
  138. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +1 -0
  139. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +1 -0
  140. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +9 -9
  141. package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.js +2 -0
  142. package/package.json +22 -16
  143. package/scripts/clean-build/index.js +62 -0
  144. package/scripts/generating-docs/index.js +133 -0
  145. package/{prepareToPublish.js → scripts/prepare-publish/index.js} +0 -0
  146. package/scripts/publishing/index.js +209 -0
  147. package/src/columns/constants/COLUMN_LABEL.ts +1 -0
  148. package/src/columns/constants/COLUMN_PROPERTY_INFO.ts +1 -1
  149. package/src/dates/constants/DATE_REGULAR_EXPRESSION.ts +1 -1
  150. package/src/dates/helpers/getSeparatorByDateFormat.ts +1 -1
  151. package/src/dates/helpers/validateDate.ts +1 -1
  152. package/src/dates/helpers/validateDateByDateFormat.ts +1 -1
  153. package/src/filters/helpers/ui/getUIValues.ts +15 -6
  154. package/src/filters/interfaces/ui/IFUUIValueSettings.ts +2 -0
  155. package/src/format/format.ts +3 -1
  156. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.ts +6 -0
  157. package/src/globalization/interfaces/common/II18nColumnTypes.ts +1 -0
  158. package/src/globalization/interfaces/dashboard/II18nDashboardToast.ts +1 -0
  159. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.ts +3 -3
  160. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.ts +5 -5
  161. package/src/globalization/interfaces/style_themes/II18nStyleThemesTheme.ts +2 -0
  162. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +6 -0
  163. package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +1 -0
  164. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +1 -0
  165. package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +9 -9
  166. package/src/globalization/labels/style_themes/I18N_STYLE_THEMES.ts +2 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-35*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-38*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -688,26 +688,6 @@ Output:
688
688
 
689
689
 
690
690
 
691
- ### dist/filters/classes/FilterInputErrorHandler.js
692
-
693
-
694
- #### new FilterInputErrorHandler()
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
- ##### Returns
704
-
705
-
706
- - `Void`
707
-
708
-
709
-
710
-
711
691
  ### dist/filters/adapters/FDToFlatUI.js
712
692
 
713
693
 
@@ -915,13 +895,12 @@ Builds the Fitler Data structure from UI filter data
915
895
 
916
896
 
917
897
 
918
- ### dist/filters/adapters/adaptDateGroupingProperty.js
898
+ ### dist/filters/adapters/UIToFlatUI.js
919
899
 
920
900
 
921
- #### adaptDateGroupingProperty(property)
901
+ #### UIToFlatUI(filterData, datasetsInfo)
922
902
 
923
- [TODO: For 2022, eliminate this adapter]
924
- Get the new property base on the old date grouping properties
903
+ Generates a Flattened UI filter structure from UI Filter Data structure.
925
904
 
926
905
 
927
906
 
@@ -930,7 +909,8 @@ Get the new property base on the old date grouping properties
930
909
 
931
910
  | Name | Type | Description | |
932
911
  | ---- | ---- | ----------- | -------- |
933
- | property | | |   |
912
+ | filterData | | The UI filter data object. |   |
913
+ | datasetsInfo | | Collection of datasets information. Optional for updating the datasets info |   |
934
914
 
935
915
 
936
916
 
@@ -938,17 +918,13 @@ Get the new property base on the old date grouping properties
938
918
  ##### Returns
939
919
 
940
920
 
941
- -
942
-
943
-
944
-
921
+ - a flattened UI filters array
945
922
 
946
- ### dist/filters/adapters/UIToFlatUI.js
947
923
 
948
924
 
949
- #### UIToFlatUI(filterData, datasetsInfo)
925
+ #### UI21ToFlatUI(scopes)
950
926
 
951
- Generates a Flattened UI filter structure from UI Filter Data structure.
927
+ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
952
928
 
953
929
 
954
930
 
@@ -957,8 +933,7 @@ Generates a Flattened UI filter structure from UI Filter Data structure.
957
933
 
958
934
  | Name | Type | Description | |
959
935
  | ---- | ---- | ----------- | -------- |
960
- | filterData | | The UI filter data object. |   |
961
- | datasetsInfo | | Collection of datasets information. Optional for updating the datasets info |   |
936
+ | scopes | | The filter scope section |   |
962
937
 
963
938
 
964
939
 
@@ -970,9 +945,14 @@ Generates a Flattened UI filter structure from UI Filter Data structure.
970
945
 
971
946
 
972
947
 
973
- #### UI21ToFlatUI(scopes)
974
948
 
975
- Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
949
+ ### dist/filters/adapters/adaptDateGroupingProperty.js
950
+
951
+
952
+ #### adaptDateGroupingProperty(property)
953
+
954
+ [TODO: For 2022, eliminate this adapter]
955
+ Get the new property base on the old date grouping properties
976
956
 
977
957
 
978
958
 
@@ -981,7 +961,7 @@ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
981
961
 
982
962
  | Name | Type | Description | |
983
963
  | ---- | ---- | ----------- | -------- |
984
- | scopes | | The filter scope section |   |
964
+ | property | | |   |
985
965
 
986
966
 
987
967
 
@@ -989,7 +969,7 @@ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
989
969
  ##### Returns
990
970
 
991
971
 
992
- - a flattened UI filters array
972
+ -
993
973
 
994
974
 
995
975
 
@@ -1558,6 +1538,26 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1558
1538
 
1559
1539
 
1560
1540
 
1541
+ ### dist/filters/classes/FilterInputErrorHandler.js
1542
+
1543
+
1544
+ #### new FilterInputErrorHandler()
1545
+
1546
+
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+ ##### Returns
1554
+
1555
+
1556
+ - `Void`
1557
+
1558
+
1559
+
1560
+
1561
1561
  ### dist/filters/helpers/applyHierarchyForAggFilters.js
1562
1562
 
1563
1563
 
@@ -1669,12 +1669,12 @@ Gets the Scopes IDS for the Available Scope function by any config
1669
1669
 
1670
1670
 
1671
1671
 
1672
- ### dist/general/function/debounce.js
1672
+ ### dist/general/array/delete.js
1673
1673
 
1674
1674
 
1675
- #### debounce(fn, time)
1675
+ #### ArrayDelete(array, index)
1676
1676
 
1677
- Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
1677
+ Inmutable Array Item deletion
1678
1678
 
1679
1679
 
1680
1680
 
@@ -1683,8 +1683,8 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
1683
1683
 
1684
1684
  | Name | Type | Description | |
1685
1685
  | ---- | ---- | ----------- | -------- |
1686
- | fn | `Function` | original Function |   |
1687
- | time | `Number` | default 500ms |   |
1686
+ | array | `Array` | a collection of items to delete |   |
1687
+ | index | `Number` | the position of the item to delete |   |
1688
1688
 
1689
1689
 
1690
1690
 
@@ -1692,17 +1692,20 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
1692
1692
  ##### Returns
1693
1693
 
1694
1694
 
1695
- - `Function` debounced functions
1695
+ - a new Array or the given parameter when is empty or not an array
1696
1696
 
1697
1697
 
1698
1698
 
1699
1699
 
1700
- ### dist/general/function/throttled.js
1700
+ ### dist/general/array/filterNestedTree.js
1701
1701
 
1702
1702
 
1703
- #### throttled(fn, time)
1703
+ #### filterNestedTree(arr, childArrKey, condition)
1704
1704
 
1705
- Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1705
+ Filters a nested tree array by a custom condition on the last child node
1706
+ - If the given arguments are not valid, the function returns the first argument.
1707
+ - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1708
+ - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1706
1709
 
1707
1710
 
1708
1711
 
@@ -1711,8 +1714,9 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1711
1714
 
1712
1715
  | Name | Type | Description | |
1713
1716
  | ---- | ---- | ----------- | -------- |
1714
- | fn | `Function` | original Function |   |
1715
- | time | `Number` | default 500ms |   |
1717
+ | arr | | nested tree array |   |
1718
+ | childArrKey | | property representing the children array on the nested tree |   |
1719
+ | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1716
1720
 
1717
1721
 
1718
1722
 
@@ -1720,17 +1724,17 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1720
1724
  ##### Returns
1721
1725
 
1722
1726
 
1723
- - `Function` throttled function
1727
+ - array filtered
1724
1728
 
1725
1729
 
1726
1730
 
1727
1731
 
1728
- ### dist/general/array/delete.js
1732
+ ### dist/general/array/flattenDeep.js
1729
1733
 
1730
1734
 
1731
- #### ArrayDelete(array, index)
1735
+ #### flattenDeep(arr)
1732
1736
 
1733
- Inmutable Array Item deletion
1737
+ Flat deeply an array
1734
1738
 
1735
1739
 
1736
1740
 
@@ -1739,8 +1743,7 @@ Inmutable Array Item deletion
1739
1743
 
1740
1744
  | Name | Type | Description | |
1741
1745
  | ---- | ---- | ----------- | -------- |
1742
- | array | `Array` | a collection of items to delete |   |
1743
- | index | `Number` | the position of the item to delete |   |
1746
+ | arr | | Array to flat deeply |   |
1744
1747
 
1745
1748
 
1746
1749
 
@@ -1748,20 +1751,17 @@ Inmutable Array Item deletion
1748
1751
  ##### Returns
1749
1752
 
1750
1753
 
1751
- - a new Array or the given parameter when is empty or not an array
1754
+ - flatten array
1752
1755
 
1753
1756
 
1754
1757
 
1755
1758
 
1756
- ### dist/general/array/filterNestedTree.js
1759
+ ### dist/general/array/getFirstIndexFromArray.js
1757
1760
 
1758
1761
 
1759
- #### filterNestedTree(arr, childArrKey, condition)
1762
+ #### getFirstIndexFromArray(array, callback)
1760
1763
 
1761
- Filters a nested tree array by a custom condition on the last child node
1762
- - If the given arguments are not valid, the function returns the first argument.
1763
- - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1764
- - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1764
+ Gets the first index from the array by a callback condition
1765
1765
 
1766
1766
 
1767
1767
 
@@ -1770,9 +1770,8 @@ Filters a nested tree array by a custom condition on the last child node
1770
1770
 
1771
1771
  | Name | Type | Description | |
1772
1772
  | ---- | ---- | ----------- | -------- |
1773
- | arr | | nested tree array |   |
1774
- | childArrKey | | property representing the children array on the nested tree |   |
1775
- | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1773
+ | array | | |   |
1774
+ | callback | | function callback |   |
1776
1775
 
1777
1776
 
1778
1777
 
@@ -1780,17 +1779,17 @@ Filters a nested tree array by a custom condition on the last child node
1780
1779
  ##### Returns
1781
1780
 
1782
1781
 
1783
- - array filtered
1782
+ - the first index of the array. -1 when the condition is not satisfied
1784
1783
 
1785
1784
 
1786
1785
 
1787
1786
 
1788
- ### dist/general/array/flattenDeep.js
1787
+ ### dist/general/array/getLastIndexFromArray.js
1789
1788
 
1790
1789
 
1791
- #### flattenDeep(arr)
1790
+ #### getLastIndexFromArray(array, callback)
1792
1791
 
1793
- Flat deeply an array
1792
+ Gets the last index from the array by a callback condition
1794
1793
 
1795
1794
 
1796
1795
 
@@ -1799,7 +1798,8 @@ Flat deeply an array
1799
1798
 
1800
1799
  | Name | Type | Description | |
1801
1800
  | ---- | ---- | ----------- | -------- |
1802
- | arr | | Array to flat deeply |   |
1801
+ | array | | |   |
1802
+ | callback | | function callback |   |
1803
1803
 
1804
1804
 
1805
1805
 
@@ -1807,17 +1807,17 @@ Flat deeply an array
1807
1807
  ##### Returns
1808
1808
 
1809
1809
 
1810
- - flatten array
1810
+ - the last index of the array. -1 when the condition is not satisfied
1811
1811
 
1812
1812
 
1813
1813
 
1814
1814
 
1815
- ### dist/general/array/getFirstIndexFromArray.js
1815
+ ### dist/general/function/debounce.js
1816
1816
 
1817
1817
 
1818
- #### getFirstIndexFromArray(array, callback)
1818
+ #### debounce(fn, time)
1819
1819
 
1820
- Gets the first index from the array by a callback condition
1820
+ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
1821
1821
 
1822
1822
 
1823
1823
 
@@ -1826,8 +1826,8 @@ Gets the first index from the array by a callback condition
1826
1826
 
1827
1827
  | Name | Type | Description | |
1828
1828
  | ---- | ---- | ----------- | -------- |
1829
- | array | | |   |
1830
- | callback | | function callback |   |
1829
+ | fn | `Function` | original Function |   |
1830
+ | time | `Number` | default 500ms |   |
1831
1831
 
1832
1832
 
1833
1833
 
@@ -1835,17 +1835,17 @@ Gets the first index from the array by a callback condition
1835
1835
  ##### Returns
1836
1836
 
1837
1837
 
1838
- - the first index of the array. -1 when the condition is not satisfied
1838
+ - `Function` debounced functions
1839
1839
 
1840
1840
 
1841
1841
 
1842
1842
 
1843
- ### dist/general/array/getLastIndexFromArray.js
1843
+ ### dist/general/function/throttled.js
1844
1844
 
1845
1845
 
1846
- #### getLastIndexFromArray(array, callback)
1846
+ #### throttled(fn, time)
1847
1847
 
1848
- Gets the last index from the array by a callback condition
1848
+ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1849
1849
 
1850
1850
 
1851
1851
 
@@ -1854,8 +1854,8 @@ Gets the last index from the array by a callback condition
1854
1854
 
1855
1855
  | Name | Type | Description | |
1856
1856
  | ---- | ---- | ----------- | -------- |
1857
- | array | | |   |
1858
- | callback | | function callback |   |
1857
+ | fn | `Function` | original Function |   |
1858
+ | time | `Number` | default 500ms |   |
1859
1859
 
1860
1860
 
1861
1861
 
@@ -1863,7 +1863,7 @@ Gets the last index from the array by a callback condition
1863
1863
  ##### Returns
1864
1864
 
1865
1865
 
1866
- - the last index of the array. -1 when the condition is not satisfied
1866
+ - `Function` throttled function
1867
1867
 
1868
1868
 
1869
1869
 
@@ -3025,33 +3025,6 @@ Parses a string date and returns a dayjs date
3025
3025
 
3026
3026
 
3027
3027
 
3028
- ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
3029
-
3030
-
3031
- #### getFilterBuilderGeneralConfig(config)
3032
-
3033
- Returns a filter builder config object by a any given config
3034
-
3035
-
3036
-
3037
-
3038
- ##### Parameters
3039
-
3040
- | Name | Type | Description | |
3041
- | ---- | ---- | ----------- | -------- |
3042
- | config | | any config object |   |
3043
-
3044
-
3045
-
3046
-
3047
- ##### Returns
3048
-
3049
-
3050
- - The filter builder config object
3051
-
3052
-
3053
-
3054
-
3055
3028
  ### dist/filters/helpers/backend/buildExpression.js
3056
3029
 
3057
3030
 
@@ -3348,6 +3321,33 @@ Gets filters from the logic by the scopes hierarchy.
3348
3321
 
3349
3322
 
3350
3323
 
3324
+ ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
3325
+
3326
+
3327
+ #### getFilterBuilderGeneralConfig(config)
3328
+
3329
+ Returns a filter builder config object by a any given config
3330
+
3331
+
3332
+
3333
+
3334
+ ##### Parameters
3335
+
3336
+ | Name | Type | Description | |
3337
+ | ---- | ---- | ----------- | -------- |
3338
+ | config | | any config object |   |
3339
+
3340
+
3341
+
3342
+
3343
+ ##### Returns
3344
+
3345
+
3346
+ - The filter builder config object
3347
+
3348
+
3349
+
3350
+
3351
3351
  ### dist/filters/helpers/common/areFiltersEquals.js
3352
3352
 
3353
3353
 
@@ -4398,9 +4398,9 @@ Filters and gets a UI Flatten Filters by the given scopes
4398
4398
  ### dist/filters/helpers/ui/getUIValues.js
4399
4399
 
4400
4400
 
4401
- #### getUIValues(filter, addEnableds, rankingGroupIndex)
4402
-
4401
+ #### getUIValues(filter, settings)
4403
4402
 
4403
+ Gets the UI Values from the filter object
4404
4404
 
4405
4405
 
4406
4406
 
@@ -4409,9 +4409,8 @@ Filters and gets a UI Flatten Filters by the given scopes
4409
4409
 
4410
4410
  | Name | Type | Description | |
4411
4411
  | ---- | ---- | ----------- | -------- |
4412
- | filter | | |   |
4413
- | addEnableds | | |   |
4414
- | rankingGroupIndex | | |   |
4412
+ | filter | | The filter object |   |
4413
+ | settings | | configuration for this function |   |
4415
4414
 
4416
4415
 
4417
4416
 
@@ -4419,7 +4418,7 @@ Filters and gets a UI Flatten Filters by the given scopes
4419
4418
  ##### Returns
4420
4419
 
4421
4420
 
4422
- -
4421
+ - an array of values
4423
4422
 
4424
4423
 
4425
4424
 
@@ -1,4 +1,4 @@
1
- image: node:14.17.3
1
+ image: node:16.14
2
2
 
3
3
  pipelines:
4
4
  default:
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -30,6 +30,7 @@ export declare const COLUMN_LABEL: {
30
30
  CHECKLIST: string;
31
31
  NPS_SCORE: string;
32
32
  NPS_FEEDBACK: string;
33
+ TEXT: string;
33
34
  TEXT_LABEL: string;
34
35
  TEXT_CATEGORY: string;
35
36
  LOOKUP: string;
@@ -4,4 +4,4 @@ exports.COLUMN_LABEL = void 0;
4
4
  const COMPLEX_COLUMN_LABEL_1 = require("./COMPLEX_COLUMN_LABEL");
5
5
  const COMPOUND_COLUMN_LABEL_1 = require("./COMPOUND_COLUMN_LABEL");
6
6
  const NUMERICAL_COLUMN_LABEL_1 = require("./NUMERICAL_COLUMN_LABEL");
7
- exports.COLUMN_LABEL = Object.assign(Object.assign(Object.assign({ SINGLE_CHOICE: 'Single Choice', MULTIPLE_CHOICE: 'Multiple Choice', YES_NO: 'Yes No', RANKING: 'Ranking', DATE: 'Date', SIGNATURE: 'Signature', DROPDOWN: 'Dropdown', IMAGE: 'Image', EMAIL_FORM: 'Email Form', PHONE: 'Phone', PASSWORD: 'Password', CHECKLIST: 'Check List', NPS_SCORE: 'NPS Score', NPS_FEEDBACK: 'NPS Feedback', TEXT_LABEL: 'Text Label', TEXT_CATEGORY: 'Text Category', LOOKUP: 'Lookup', HEADLINE: 'Headline', SECTION: 'Section', FORMULA: 'Formula', AGGREGATED_FORMULA: 'Aggregated Formula', BUCKET: 'Bucket', STRING: 'String' }, NUMERICAL_COLUMN_LABEL_1.NUMERICAL_COLUMN_LABEL), COMPOUND_COLUMN_LABEL_1.COMPOUND_COLUMN_LABEL), COMPLEX_COLUMN_LABEL_1.COMPLEX_COLUMN_LABEL);
7
+ exports.COLUMN_LABEL = Object.assign(Object.assign(Object.assign({ SINGLE_CHOICE: 'Single Choice', MULTIPLE_CHOICE: 'Multiple Choice', YES_NO: 'Yes No', RANKING: 'Ranking', DATE: 'Date', SIGNATURE: 'Signature', DROPDOWN: 'Dropdown', IMAGE: 'Image', EMAIL_FORM: 'Email Form', PHONE: 'Phone', PASSWORD: 'Password', CHECKLIST: 'Check List', NPS_SCORE: 'NPS Score', NPS_FEEDBACK: 'NPS Feedback', TEXT: 'Text', TEXT_LABEL: 'Text Label', TEXT_CATEGORY: 'Text Category', LOOKUP: 'Lookup', HEADLINE: 'Headline', SECTION: 'Section', FORMULA: 'Formula', AGGREGATED_FORMULA: 'Aggregated Formula', BUCKET: 'Bucket', STRING: 'String' }, NUMERICAL_COLUMN_LABEL_1.NUMERICAL_COLUMN_LABEL), COMPOUND_COLUMN_LABEL_1.COMPOUND_COLUMN_LABEL), COMPLEX_COLUMN_LABEL_1.COMPLEX_COLUMN_LABEL);
@@ -11,7 +11,7 @@ const DATE_GROUPING_TIME_PROPERTY_INFO_LIST_1 = require("../../dates/constants/D
11
11
  const DATE_DISTINCT_TIME_PROPERTY_INFO_LIST_1 = require("../../dates/constants/DATE_DISTINCT_TIME_PROPERTY_INFO_LIST");
12
12
  exports.COLUMN_PROPERTY_INFO = Object.assign(Object.assign({ [COLUMN_1.COLUMN.LOOKUP]: [
13
13
  { value: COLUMN_PROPERTY_1.COLUMN_PROPERTY.LOOKUP_DISPLAY, label: 'Display', shortLabel: 'Display', abbrLabel: 'DSY', displayed: true, i18nLabelPath: 'common.properties.lookup_display_label' },
14
- { value: COLUMN_PROPERTY_1.COLUMN_PROPERTY.LOOKUP_VALUE, label: 'Value', shortLabel: 'Value', abbrLabel: 'Val', displayed: true, i18nLabelPath: 'common.properties.lookup_display_value' }
14
+ { value: COLUMN_PROPERTY_1.COLUMN_PROPERTY.LOOKUP_VALUE, label: 'Value', shortLabel: 'Value', abbrLabel: 'Val', displayed: true, i18nLabelPath: 'common.properties.lookup_value_label' }
15
15
  ], [COLUMN_1.COLUMN.DATE]: [
16
16
  ...DATE_GROUPING_PROPERTY_INFO_LIST_1.DATE_GROUPING_PROPERTY_INFO_LIST,
17
17
  ...DATE_GROUPING_TIME_PROPERTY_INFO_LIST_1.DATE_GROUPING_TIME_PROPERTY_INFO_LIST,
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -25,7 +25,7 @@ exports.DATE_REGULAR_EXPRESSION = {
25
25
  SECOND: `^${YEAR_MONTH_NUMBER}/${MONTH_DAY}/${YEAR} ${DAY_TIME}$`,
26
26
  MONTH_DAY: `^${MONTH_DAY}$`,
27
27
  YEAR_MONTH: `^${YEAR_MONTH}$`,
28
- YEAR_MONTH_NUMBER: `${YEAR_MONTH_NUMBER}`,
28
+ YEAR_MONTH_NUMBER: `^${YEAR_MONTH_NUMBER}$`,
29
29
  YEAR_QUARTER: `^${YEAR_QUARTER}$`,
30
30
  YEAR_WEEK: `^${YEAR_WEEK}$`,
31
31
  DAY_HOUR: `^${DAY_HOUR}$`,
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];