@qrvey/utils 1.2.9-3 → 1.2.9-7
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 +270 -270
- package/dist/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.js +11 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +14 -0
- package/dist/cjs/dates/relative/constants/index.d.ts +2 -0
- package/dist/cjs/dates/relative/constants/index.js +2 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/cjs/dates/relative/interfaces/index.js +2 -0
- package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderComplexFile.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
- package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImage.js → common/II18nUnits.js} +0 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/index.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +4 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +50 -72
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +21 -15
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +8 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +4 -2
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +21 -11
- package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.js +8 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +11 -0
- package/dist/dates/relative/constants/index.d.ts +2 -0
- package/dist/dates/relative/constants/index.js +2 -0
- package/dist/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/dates/relative/interfaces/index.js +2 -0
- package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderComplexFile.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
- package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImage.js → common/II18nUnits.js} +0 -0
- package/dist/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/globalization/interfaces/common/index.js +2 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +4 -2
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +50 -72
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +21 -15
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +8 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +4 -2
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/globalization/labels/panel/I18N_PANEL.js +21 -11
- package/package.json +1 -1
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO.ts +11 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.ts +13 -0
- package/src/dates/relative/constants/index.ts +2 -0
- package/src/dates/relative/interfaces/IRelativeUnit.ts +3 -0
- package/src/dates/relative/interfaces/IRelativeUnitInfo.ts +7 -0
- package/src/dates/relative/interfaces/index.ts +2 -0
- package/src/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
- package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +19 -18
- package/src/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.ts → II18nChartBuilderChartLabels.ts} +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +5 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +16 -15
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +12 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +16 -12
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +3 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +19 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +15 -3
- package/src/globalization/interfaces/chart_builder/index.ts +1 -8
- package/src/globalization/interfaces/common/II18nColumnProperties.ts +1 -0
- package/src/globalization/interfaces/common/II18nCommon.ts +2 -0
- package/src/globalization/interfaces/common/II18nUnits.ts +7 -0
- package/src/globalization/interfaces/common/index.ts +3 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +1 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +4 -2
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -0
- package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +21 -11
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +3 -2
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +1 -1
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +52 -76
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +21 -16
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +43 -38
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +1 -1
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/globalization/labels/common/I18N_COMMON.ts +8 -0
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +3 -2
- package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +4 -2
- package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -2
- package/src/globalization/labels/panel/I18N_PANEL.ts +21 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +0 -2
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +0 -2
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -2
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -2
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +0 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +0 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +0 -6
- 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-
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-7*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -80,12 +80,12 @@ Get a text and evaluate if it matchs with a token box label.
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
### dist/dates/
|
|
83
|
+
### dist/dates/helpers/getDateByDateFormat.js
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
####
|
|
86
|
+
#### getDateByDateFormat(date, format, time)
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
Gets a Date Object instance by a Date format
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
|
|
@@ -94,8 +94,9 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
|
94
94
|
|
|
95
95
|
| Name | Type | Description | |
|
|
96
96
|
| ---- | ---- | ----------- | -------- |
|
|
97
|
-
|
|
|
98
|
-
|
|
|
97
|
+
| date | | String with a formatted date | |
|
|
98
|
+
| format | | The date format | |
|
|
99
|
+
| time | | flag to convert the formatted date to miliseconds | |
|
|
99
100
|
|
|
100
101
|
|
|
101
102
|
|
|
@@ -103,17 +104,17 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
|
103
104
|
##### Returns
|
|
104
105
|
|
|
105
106
|
|
|
106
|
-
-
|
|
107
|
+
- a Date object, milisecond time or the same value if date format does not match.
|
|
107
108
|
|
|
108
109
|
|
|
109
110
|
|
|
110
111
|
|
|
111
|
-
### dist/dates/
|
|
112
|
+
### dist/dates/helpers/getDateFormatByProperty.js
|
|
112
113
|
|
|
113
114
|
|
|
114
|
-
####
|
|
115
|
+
#### getDateFormatByProperty(property)
|
|
115
116
|
|
|
116
|
-
|
|
117
|
+
Gets the date format by the given property
|
|
117
118
|
|
|
118
119
|
|
|
119
120
|
|
|
@@ -122,8 +123,7 @@ Transforms String Date from a [Month Year] format to Date object.
|
|
|
122
123
|
|
|
123
124
|
| Name | Type | Description | |
|
|
124
125
|
| ---- | ---- | ----------- | -------- |
|
|
125
|
-
|
|
|
126
|
-
| time | | Flag to parse the object date to milliseconds. | |
|
|
126
|
+
| property | | The Column Property | |
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
@@ -131,17 +131,17 @@ Transforms String Date from a [Month Year] format to Date object.
|
|
|
131
131
|
##### Returns
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
- The date
|
|
134
|
+
- The date format
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
### dist/dates/
|
|
139
|
+
### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
####
|
|
142
|
+
#### getDateFormatRegularExpressionInArray(dateFormat)
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
Gets an array of regular expressions by the given date format
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
@@ -150,8 +150,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
|
|
|
150
150
|
|
|
151
151
|
| Name | Type | Description | |
|
|
152
152
|
| ---- | ---- | ----------- | -------- |
|
|
153
|
-
|
|
|
154
|
-
| time | | Flag to parse the object date to milliseconds. | |
|
|
153
|
+
| dateFormat | | the date format | |
|
|
155
154
|
|
|
156
155
|
|
|
157
156
|
|
|
@@ -159,17 +158,17 @@ Transforms String Date from a [Quarter Year] format to Date object.
|
|
|
159
158
|
##### Returns
|
|
160
159
|
|
|
161
160
|
|
|
162
|
-
-
|
|
161
|
+
- an array of regular expressions
|
|
163
162
|
|
|
164
163
|
|
|
165
164
|
|
|
166
165
|
|
|
167
|
-
### dist/dates/
|
|
166
|
+
### dist/dates/helpers/getSeparatorByDateFormat.js
|
|
168
167
|
|
|
169
168
|
|
|
170
|
-
####
|
|
169
|
+
#### getSeparatorByDateFormat(format)
|
|
171
170
|
|
|
172
|
-
|
|
171
|
+
Gets the separator of the date format
|
|
173
172
|
|
|
174
173
|
|
|
175
174
|
|
|
@@ -178,8 +177,7 @@ Transforms String Date from a [Week Year] format to Date object.
|
|
|
178
177
|
|
|
179
178
|
| Name | Type | Description | |
|
|
180
179
|
| ---- | ---- | ----------- | -------- |
|
|
181
|
-
|
|
|
182
|
-
| time | | Flag to parse the object date to milliseconds. | |
|
|
180
|
+
| format | | the date format | |
|
|
183
181
|
|
|
184
182
|
|
|
185
183
|
|
|
@@ -187,17 +185,18 @@ Transforms String Date from a [Week Year] format to Date object.
|
|
|
187
185
|
##### Returns
|
|
188
186
|
|
|
189
187
|
|
|
190
|
-
-
|
|
188
|
+
- a separator string
|
|
191
189
|
|
|
192
190
|
|
|
193
191
|
|
|
194
192
|
|
|
195
|
-
### dist/dates/
|
|
193
|
+
### dist/dates/helpers/getWeek.js
|
|
196
194
|
|
|
197
195
|
|
|
198
|
-
####
|
|
196
|
+
#### getWeek(date)
|
|
199
197
|
|
|
200
|
-
|
|
198
|
+
Gets the week number of the year
|
|
199
|
+
Additionally, the month and the year
|
|
201
200
|
|
|
202
201
|
|
|
203
202
|
|
|
@@ -206,8 +205,7 @@ Transforms String Date from a [Year] format to Date object.
|
|
|
206
205
|
|
|
207
206
|
| Name | Type | Description | |
|
|
208
207
|
| ---- | ---- | ----------- | -------- |
|
|
209
|
-
|
|
|
210
|
-
| time | | Flag to parse the object date to milliseconds. | |
|
|
208
|
+
| date | | the date object | |
|
|
211
209
|
|
|
212
210
|
|
|
213
211
|
|
|
@@ -215,17 +213,20 @@ Transforms String Date from a [Year] format to Date object.
|
|
|
215
213
|
##### Returns
|
|
216
214
|
|
|
217
215
|
|
|
218
|
-
-
|
|
216
|
+
- an object with the week, month and year.
|
|
219
217
|
|
|
220
218
|
|
|
221
219
|
|
|
222
220
|
|
|
223
|
-
### dist/dates/helpers/
|
|
221
|
+
### dist/dates/helpers/validateDate.js
|
|
224
222
|
|
|
225
223
|
|
|
226
|
-
####
|
|
224
|
+
#### validateDate(date, format)
|
|
227
225
|
|
|
228
|
-
|
|
226
|
+
Validate a string date depending on giving format
|
|
227
|
+
- If the string is a token label, the function lets it pass.
|
|
228
|
+
- Otherwise depends of the format
|
|
229
|
+
- Some escenarios the string is a mix of token labels and dates
|
|
229
230
|
|
|
230
231
|
|
|
231
232
|
|
|
@@ -234,9 +235,8 @@ Gets a Date Object instance by a Date format
|
|
|
234
235
|
|
|
235
236
|
| Name | Type | Description | |
|
|
236
237
|
| ---- | ---- | ----------- | -------- |
|
|
237
|
-
| date | | String
|
|
238
|
-
| format | |
|
|
239
|
-
| time | | flag to convert the formatted date to miliseconds | |
|
|
238
|
+
| date | | String of date | |
|
|
239
|
+
| format | | String of the format to validate | |
|
|
240
240
|
|
|
241
241
|
|
|
242
242
|
|
|
@@ -244,17 +244,17 @@ Gets a Date Object instance by a Date format
|
|
|
244
244
|
##### Returns
|
|
245
245
|
|
|
246
246
|
|
|
247
|
-
-
|
|
247
|
+
- True if it is valid or not. Undefined if date is undefined
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
|
|
251
251
|
|
|
252
|
-
### dist/dates/helpers/
|
|
252
|
+
### dist/dates/helpers/validateDateByDateFormat.js
|
|
253
253
|
|
|
254
254
|
|
|
255
|
-
####
|
|
255
|
+
#### validateDateByDateFormat(date, dateForma)
|
|
256
256
|
|
|
257
|
-
|
|
257
|
+
Validates the given string as Date by its date format.
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
|
|
@@ -263,7 +263,8 @@ Gets the date format by the given property
|
|
|
263
263
|
|
|
264
264
|
| Name | Type | Description | |
|
|
265
265
|
| ---- | ---- | ----------- | -------- |
|
|
266
|
-
|
|
|
266
|
+
| date | | a string to validate as date form | |
|
|
267
|
+
| dateForma | | the format of the date to validate the string | |
|
|
267
268
|
|
|
268
269
|
|
|
269
270
|
|
|
@@ -271,17 +272,17 @@ Gets the date format by the given property
|
|
|
271
272
|
##### Returns
|
|
272
273
|
|
|
273
274
|
|
|
274
|
-
-
|
|
275
|
+
- true: the string is a valida date
|
|
275
276
|
|
|
276
277
|
|
|
277
278
|
|
|
278
279
|
|
|
279
|
-
### dist/dates/
|
|
280
|
+
### dist/dates/adapters/mdyDateToDate.js
|
|
280
281
|
|
|
281
282
|
|
|
282
|
-
####
|
|
283
|
+
#### mdyDateToDate(monthYearDate, time)
|
|
283
284
|
|
|
284
|
-
|
|
285
|
+
Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
285
286
|
|
|
286
287
|
|
|
287
288
|
|
|
@@ -290,7 +291,8 @@ Gets an array of regular expressions by the given date format
|
|
|
290
291
|
|
|
291
292
|
| Name | Type | Description | |
|
|
292
293
|
| ---- | ---- | ----------- | -------- |
|
|
293
|
-
|
|
|
294
|
+
| monthYearDate | | String of [mm/dd/yyyy] date | |
|
|
295
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
294
296
|
|
|
295
297
|
|
|
296
298
|
|
|
@@ -298,17 +300,17 @@ Gets an array of regular expressions by the given date format
|
|
|
298
300
|
##### Returns
|
|
299
301
|
|
|
300
302
|
|
|
301
|
-
-
|
|
303
|
+
- The date object or the date in milliseconds
|
|
302
304
|
|
|
303
305
|
|
|
304
306
|
|
|
305
307
|
|
|
306
|
-
### dist/dates/
|
|
308
|
+
### dist/dates/adapters/monthYearToDate.js
|
|
307
309
|
|
|
308
310
|
|
|
309
|
-
####
|
|
311
|
+
#### monthYearToDate(monthYearDate, time)
|
|
310
312
|
|
|
311
|
-
|
|
313
|
+
Transforms String Date from a [Month Year] format to Date object.
|
|
312
314
|
|
|
313
315
|
|
|
314
316
|
|
|
@@ -317,7 +319,8 @@ Gets the separator of the date format
|
|
|
317
319
|
|
|
318
320
|
| Name | Type | Description | |
|
|
319
321
|
| ---- | ---- | ----------- | -------- |
|
|
320
|
-
|
|
|
322
|
+
| monthYearDate | | String of [Month Year] date | |
|
|
323
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
321
324
|
|
|
322
325
|
|
|
323
326
|
|
|
@@ -325,18 +328,17 @@ Gets the separator of the date format
|
|
|
325
328
|
##### Returns
|
|
326
329
|
|
|
327
330
|
|
|
328
|
-
-
|
|
331
|
+
- The date object or the date in milliseconds
|
|
329
332
|
|
|
330
333
|
|
|
331
334
|
|
|
332
335
|
|
|
333
|
-
### dist/dates/
|
|
336
|
+
### dist/dates/adapters/quarterYearToDate.js
|
|
334
337
|
|
|
335
338
|
|
|
336
|
-
####
|
|
339
|
+
#### quarterYearToDate(quarterYearDate, time)
|
|
337
340
|
|
|
338
|
-
|
|
339
|
-
Additionally, the month and the year
|
|
341
|
+
Transforms String Date from a [Quarter Year] format to Date object.
|
|
340
342
|
|
|
341
343
|
|
|
342
344
|
|
|
@@ -345,7 +347,8 @@ Additionally, the month and the year
|
|
|
345
347
|
|
|
346
348
|
| Name | Type | Description | |
|
|
347
349
|
| ---- | ---- | ----------- | -------- |
|
|
348
|
-
|
|
|
350
|
+
| quarterYearDate | | String of [Quarter Year] date | |
|
|
351
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
349
352
|
|
|
350
353
|
|
|
351
354
|
|
|
@@ -353,20 +356,17 @@ Additionally, the month and the year
|
|
|
353
356
|
##### Returns
|
|
354
357
|
|
|
355
358
|
|
|
356
|
-
-
|
|
359
|
+
- The date object or the date in milliseconds
|
|
357
360
|
|
|
358
361
|
|
|
359
362
|
|
|
360
363
|
|
|
361
|
-
### dist/dates/
|
|
364
|
+
### dist/dates/adapters/weekYearToDate.js
|
|
362
365
|
|
|
363
366
|
|
|
364
|
-
####
|
|
367
|
+
#### weekYearToDate(date, time)
|
|
365
368
|
|
|
366
|
-
|
|
367
|
-
- If the string is a token label, the function lets it pass.
|
|
368
|
-
- Otherwise depends of the format
|
|
369
|
-
- Some escenarios the string is a mix of token labels and dates
|
|
369
|
+
Transforms String Date from a [Week Year] format to Date object.
|
|
370
370
|
|
|
371
371
|
|
|
372
372
|
|
|
@@ -375,8 +375,8 @@ Validate a string date depending on giving format
|
|
|
375
375
|
|
|
376
376
|
| Name | Type | Description | |
|
|
377
377
|
| ---- | ---- | ----------- | -------- |
|
|
378
|
-
| date | | String of date | |
|
|
379
|
-
|
|
|
378
|
+
| date | | String of [Week Year] date | |
|
|
379
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
380
380
|
|
|
381
381
|
|
|
382
382
|
|
|
@@ -384,17 +384,17 @@ Validate a string date depending on giving format
|
|
|
384
384
|
##### Returns
|
|
385
385
|
|
|
386
386
|
|
|
387
|
-
-
|
|
387
|
+
- The date object or the date in milliseconds
|
|
388
388
|
|
|
389
389
|
|
|
390
390
|
|
|
391
391
|
|
|
392
|
-
### dist/dates/
|
|
392
|
+
### dist/dates/adapters/yearToDate.js
|
|
393
393
|
|
|
394
394
|
|
|
395
|
-
####
|
|
395
|
+
#### yearToDate(yearDate, time)
|
|
396
396
|
|
|
397
|
-
|
|
397
|
+
Transforms String Date from a [Year] format to Date object.
|
|
398
398
|
|
|
399
399
|
|
|
400
400
|
|
|
@@ -403,8 +403,8 @@ Validates the given string as Date by its date format.
|
|
|
403
403
|
|
|
404
404
|
| Name | Type | Description | |
|
|
405
405
|
| ---- | ---- | ----------- | -------- |
|
|
406
|
-
|
|
|
407
|
-
|
|
|
406
|
+
| yearDate | | String of [Year] date | |
|
|
407
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
408
408
|
|
|
409
409
|
|
|
410
410
|
|
|
@@ -412,7 +412,7 @@ Validates the given string as Date by its date format.
|
|
|
412
412
|
##### Returns
|
|
413
413
|
|
|
414
414
|
|
|
415
|
-
-
|
|
415
|
+
- The date object or the date in milliseconds
|
|
416
416
|
|
|
417
417
|
|
|
418
418
|
|
|
@@ -688,12 +688,32 @@ Output:
|
|
|
688
688
|
|
|
689
689
|
|
|
690
690
|
|
|
691
|
-
### dist/filters/
|
|
691
|
+
### dist/filters/classes/FilterInputErrorHandler.js
|
|
692
692
|
|
|
693
693
|
|
|
694
|
-
####
|
|
694
|
+
#### new FilterInputErrorHandler()
|
|
695
695
|
|
|
696
|
-
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
##### Returns
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
- `Void`
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
### dist/filters/adapters/FDToLogic.js
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
#### FDToLogic(filterData)
|
|
715
|
+
|
|
716
|
+
Generates a Filter Logic structure from Filter Data structure.
|
|
697
717
|
|
|
698
718
|
|
|
699
719
|
|
|
@@ -703,7 +723,6 @@ Generates a Flattened UI filter structure from Filter Data structure.
|
|
|
703
723
|
| Name | Type | Description | |
|
|
704
724
|
| ---- | ---- | ----------- | -------- |
|
|
705
725
|
| filterData | | The filter data object. | |
|
|
706
|
-
| datasetsInfo | | Collection of datasets information | |
|
|
707
726
|
|
|
708
727
|
|
|
709
728
|
|
|
@@ -711,13 +730,13 @@ Generates a Flattened UI filter structure from Filter Data structure.
|
|
|
711
730
|
##### Returns
|
|
712
731
|
|
|
713
732
|
|
|
714
|
-
- a
|
|
733
|
+
- a filter logic array
|
|
715
734
|
|
|
716
735
|
|
|
717
736
|
|
|
718
|
-
####
|
|
737
|
+
#### getLogicBodyFromFD21(filterData)
|
|
719
738
|
|
|
720
|
-
|
|
739
|
+
Gets the logic body
|
|
721
740
|
|
|
722
741
|
|
|
723
742
|
|
|
@@ -726,8 +745,7 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
|
|
|
726
745
|
|
|
727
746
|
| Name | Type | Description | |
|
|
728
747
|
| ---- | ---- | ----------- | -------- |
|
|
729
|
-
|
|
|
730
|
-
| datasetsInfo | | Collection of datasets information | |
|
|
748
|
+
| filterData | | The filter data object | |
|
|
731
749
|
|
|
732
750
|
|
|
733
751
|
|
|
@@ -735,17 +753,17 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
|
|
|
735
753
|
##### Returns
|
|
736
754
|
|
|
737
755
|
|
|
738
|
-
- a
|
|
756
|
+
- a filter logic array
|
|
739
757
|
|
|
740
758
|
|
|
741
759
|
|
|
742
760
|
|
|
743
|
-
### dist/filters/adapters/
|
|
761
|
+
### dist/filters/adapters/FDToFlatUI.js
|
|
744
762
|
|
|
745
763
|
|
|
746
|
-
####
|
|
764
|
+
#### FDToFlatUI(filterData, datasetsInfo)
|
|
747
765
|
|
|
748
|
-
Generates a
|
|
766
|
+
Generates a Flattened UI filter structure from Filter Data structure.
|
|
749
767
|
|
|
750
768
|
|
|
751
769
|
|
|
@@ -755,6 +773,7 @@ Generates a Filter Logic structure from Filter Data structure.
|
|
|
755
773
|
| Name | Type | Description | |
|
|
756
774
|
| ---- | ---- | ----------- | -------- |
|
|
757
775
|
| filterData | | The filter data object. | |
|
|
776
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
758
777
|
|
|
759
778
|
|
|
760
779
|
|
|
@@ -762,13 +781,13 @@ Generates a Filter Logic structure from Filter Data structure.
|
|
|
762
781
|
##### Returns
|
|
763
782
|
|
|
764
783
|
|
|
765
|
-
- a
|
|
784
|
+
- a flattened UI filters array
|
|
766
785
|
|
|
767
786
|
|
|
768
787
|
|
|
769
|
-
####
|
|
788
|
+
#### FD21ToFlatUI(scopes, datasetsInfo)
|
|
770
789
|
|
|
771
|
-
|
|
790
|
+
Generates a Filter Builder Structure from the Filter Data structure v2.1
|
|
772
791
|
|
|
773
792
|
|
|
774
793
|
|
|
@@ -777,7 +796,8 @@ Gets the logic body
|
|
|
777
796
|
|
|
778
797
|
| Name | Type | Description | |
|
|
779
798
|
| ---- | ---- | ----------- | -------- |
|
|
780
|
-
|
|
|
799
|
+
| scopes | | The filter scope section | |
|
|
800
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
781
801
|
|
|
782
802
|
|
|
783
803
|
|
|
@@ -785,7 +805,7 @@ Gets the logic body
|
|
|
785
805
|
##### Returns
|
|
786
806
|
|
|
787
807
|
|
|
788
|
-
- a
|
|
808
|
+
- a flattened UI filters array
|
|
789
809
|
|
|
790
810
|
|
|
791
811
|
|
|
@@ -1003,6 +1023,34 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
|
|
|
1003
1023
|
|
|
1004
1024
|
|
|
1005
1025
|
|
|
1026
|
+
### dist/filters/adapters/adaptFilterValues.js
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
#### adaptFilterValues(filter)
|
|
1030
|
+
|
|
1031
|
+
[TODO: For 2022, eliminate this adapter]
|
|
1032
|
+
Gets an adapted filter value array. Validates the enabled property and sets
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
##### Parameters
|
|
1038
|
+
|
|
1039
|
+
| Name | Type | Description | |
|
|
1040
|
+
| ---- | ---- | ----------- | -------- |
|
|
1041
|
+
| filter | | The filter | |
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
##### Returns
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
- A new value array with the filled properties.
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1006
1054
|
### dist/filters/adapters/flatUIToFD.js
|
|
1007
1055
|
|
|
1008
1056
|
|
|
@@ -1124,34 +1172,6 @@ Gets an filter structure for the filter data
|
|
|
1124
1172
|
|
|
1125
1173
|
|
|
1126
1174
|
|
|
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
1175
|
### dist/filters/adapters/flatUIToLogic.js
|
|
1156
1176
|
|
|
1157
1177
|
|
|
@@ -1523,37 +1543,17 @@ const oldPreferenceFilters = {
|
|
|
1523
1543
|
},
|
|
1524
1544
|
"enabled": true,
|
|
1525
1545
|
"linked": null
|
|
1526
|
-
}
|
|
1527
|
-
};
|
|
1528
|
-
|
|
1529
|
-
const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
1530
|
-
```
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
##### Returns
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
- `Object` an object with the new filters structure
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
### dist/filters/classes/FilterInputErrorHandler.js
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
#### new FilterInputErrorHandler()
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1546
|
+
}
|
|
1547
|
+
};
|
|
1550
1548
|
|
|
1549
|
+
const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
1550
|
+
```
|
|
1551
1551
|
|
|
1552
1552
|
|
|
1553
1553
|
##### Returns
|
|
1554
1554
|
|
|
1555
1555
|
|
|
1556
|
-
- `
|
|
1556
|
+
- `Object` an object with the new filters structure
|
|
1557
1557
|
|
|
1558
1558
|
|
|
1559
1559
|
|
|
@@ -1868,35 +1868,6 @@ 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
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
#### compareDeep(object1, object2)
|
|
1875
|
-
|
|
1876
|
-
Compares two objects to know if they are equals. Go across nested objects.
|
|
1877
|
-
Includes arrays in the comparison.
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
##### Parameters
|
|
1883
|
-
|
|
1884
|
-
| Name | Type | Description | |
|
|
1885
|
-
| ---- | ---- | ----------- | -------- |
|
|
1886
|
-
| object1 | | First Object to compare | |
|
|
1887
|
-
| object2 | | Second Object to compare | |
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
##### Returns
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
- True: objects are equal. False: Objects are not equal. Undefined: invalid
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
1871
|
### dist/general/mix/getTag.js
|
|
1901
1872
|
|
|
1902
1873
|
|
|
@@ -2009,6 +1980,35 @@ return a Promise that is resolved when the script is loaded
|
|
|
2009
1980
|
|
|
2010
1981
|
|
|
2011
1982
|
|
|
1983
|
+
### dist/general/mix/compareDeep.js
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
#### compareDeep(object1, object2)
|
|
1987
|
+
|
|
1988
|
+
Compares two objects to know if they are equals. Go across nested objects.
|
|
1989
|
+
Includes arrays in the comparison.
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
##### Parameters
|
|
1995
|
+
|
|
1996
|
+
| Name | Type | Description | |
|
|
1997
|
+
| ---- | ---- | ----------- | -------- |
|
|
1998
|
+
| object1 | | First Object to compare | |
|
|
1999
|
+
| object2 | | Second Object to compare | |
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
##### Returns
|
|
2005
|
+
|
|
2006
|
+
|
|
2007
|
+
- True: objects are equal. False: Objects are not equal. Undefined: invalid
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
2012
|
### dist/general/mix/isEmpty.js
|
|
2013
2013
|
|
|
2014
2014
|
|
|
@@ -2153,6 +2153,33 @@ Gets the length of the given array.
|
|
|
2153
2153
|
|
|
2154
2154
|
|
|
2155
2155
|
|
|
2156
|
+
### dist/general/string/capitalize.js
|
|
2157
|
+
|
|
2158
|
+
|
|
2159
|
+
#### capitalize(text)
|
|
2160
|
+
|
|
2161
|
+
Upper case the first letter of a given text
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
##### Parameters
|
|
2167
|
+
|
|
2168
|
+
| Name | Type | Description | |
|
|
2169
|
+
| ---- | ---- | ----------- | -------- |
|
|
2170
|
+
| text | `String` | | |
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
##### Returns
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
- `String` a capitalized text
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2156
2183
|
### dist/general/object/cloneDeep.js
|
|
2157
2184
|
|
|
2158
2185
|
|
|
@@ -2238,20 +2265,12 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
|
2238
2265
|
|
|
2239
2266
|
|
|
2240
2267
|
|
|
2241
|
-
### dist/general/object/
|
|
2268
|
+
### dist/general/object/hasProperty.js
|
|
2242
2269
|
|
|
2243
2270
|
|
|
2244
|
-
####
|
|
2271
|
+
#### _hasProperty(obj, property)
|
|
2245
2272
|
|
|
2246
|
-
|
|
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
|
|
2273
|
+
Use the hasOwnProperty in order to verify if the given property exists in the object.
|
|
2255
2274
|
|
|
2256
2275
|
|
|
2257
2276
|
|
|
@@ -2260,8 +2279,8 @@ Searchs for properties in different case styles such as: lower, upper, camel and
|
|
|
2260
2279
|
|
|
2261
2280
|
| Name | Type | Description | |
|
|
2262
2281
|
| ---- | ---- | ----------- | -------- |
|
|
2263
|
-
| obj | `object` | object
|
|
2264
|
-
|
|
|
2282
|
+
| obj | `object` | an object | |
|
|
2283
|
+
| property | `string` | String to verify if exists in the object as property | |
|
|
2265
2284
|
|
|
2266
2285
|
|
|
2267
2286
|
|
|
@@ -2269,24 +2288,37 @@ Searchs for properties in different case styles such as: lower, upper, camel and
|
|
|
2269
2288
|
##### Examples
|
|
2270
2289
|
|
|
2271
2290
|
```javascript
|
|
2272
|
-
|
|
2291
|
+
const prop = 'prop2'
|
|
2292
|
+
const obj1 = { prop1: 'hello', prop2: 'world'}
|
|
2293
|
+
_hasProperty(ob1, prop1) // true
|
|
2294
|
+
|
|
2295
|
+
const obj2 = { prop1: 'hello world' }
|
|
2296
|
+
_hasProperty(ob1, prop2) // false
|
|
2273
2297
|
```
|
|
2274
2298
|
|
|
2275
2299
|
|
|
2276
2300
|
##### Returns
|
|
2277
2301
|
|
|
2278
2302
|
|
|
2279
|
-
-
|
|
2303
|
+
- True if the object has the given property; otherwise, false.
|
|
2280
2304
|
|
|
2281
2305
|
|
|
2282
2306
|
|
|
2283
2307
|
|
|
2284
|
-
### dist/general/object/
|
|
2308
|
+
### dist/general/object/getAttribute.js
|
|
2285
2309
|
|
|
2286
2310
|
|
|
2287
|
-
####
|
|
2311
|
+
#### getAttribute(obj, key)
|
|
2288
2312
|
|
|
2289
|
-
|
|
2313
|
+
Searchs for properties in different case styles such as: lower, upper, camel and pascal
|
|
2314
|
+
- To optimize the searching, it is required a key in a snake_case style
|
|
2315
|
+
- List of cases that do not match
|
|
2316
|
+
-- From lower to snake case
|
|
2317
|
+
-- From upper to snake case
|
|
2318
|
+
-- From lower to camel case
|
|
2319
|
+
-- From upper to camel case
|
|
2320
|
+
-- From lower to pascal case
|
|
2321
|
+
-- From upper to pascal case
|
|
2290
2322
|
|
|
2291
2323
|
|
|
2292
2324
|
|
|
@@ -2295,8 +2327,8 @@ Use the hasOwnProperty in order to verify if the given property exists in the ob
|
|
|
2295
2327
|
|
|
2296
2328
|
| Name | Type | Description | |
|
|
2297
2329
|
| ---- | ---- | ----------- | -------- |
|
|
2298
|
-
| obj | `object` |
|
|
2299
|
-
|
|
|
2330
|
+
| obj | `object` | object to look for | |
|
|
2331
|
+
| key | `string` | String attribute in snake_case style | |
|
|
2300
2332
|
|
|
2301
2333
|
|
|
2302
2334
|
|
|
@@ -2304,19 +2336,14 @@ Use the hasOwnProperty in order to verify if the given property exists in the ob
|
|
|
2304
2336
|
##### Examples
|
|
2305
2337
|
|
|
2306
2338
|
```javascript
|
|
2307
|
-
|
|
2308
|
-
const obj1 = { prop1: 'hello', prop2: 'world'}
|
|
2309
|
-
_hasProperty(ob1, prop1) // true
|
|
2310
|
-
|
|
2311
|
-
const obj2 = { prop1: 'hello world' }
|
|
2312
|
-
_hasProperty(ob1, prop2) // false
|
|
2339
|
+
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2313
2340
|
```
|
|
2314
2341
|
|
|
2315
2342
|
|
|
2316
2343
|
##### Returns
|
|
2317
2344
|
|
|
2318
2345
|
|
|
2319
|
-
-
|
|
2346
|
+
- `Void`
|
|
2320
2347
|
|
|
2321
2348
|
|
|
2322
2349
|
|
|
@@ -2565,33 +2592,6 @@ serialize object to url param
|
|
|
2565
2592
|
|
|
2566
2593
|
|
|
2567
2594
|
|
|
2568
|
-
### dist/general/string/capitalize.js
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
#### capitalize(text)
|
|
2572
|
-
|
|
2573
|
-
Upper case the first letter of a given text
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
##### Parameters
|
|
2579
|
-
|
|
2580
|
-
| Name | Type | Description | |
|
|
2581
|
-
| ---- | ---- | ----------- | -------- |
|
|
2582
|
-
| text | `String` | | |
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
##### Returns
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
- `String` a capitalized text
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
2595
|
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2596
2596
|
|
|
2597
2597
|
|
|
@@ -2619,12 +2619,12 @@ Get an string of the properties of the given column.
|
|
|
2619
2619
|
|
|
2620
2620
|
|
|
2621
2621
|
|
|
2622
|
-
### dist/services/api/
|
|
2622
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2623
2623
|
|
|
2624
2624
|
|
|
2625
|
-
####
|
|
2625
|
+
#### getAllQrveys(config, params)
|
|
2626
2626
|
|
|
2627
|
-
|
|
2627
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2628
2628
|
|
|
2629
2629
|
|
|
2630
2630
|
|
|
@@ -2633,7 +2633,8 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2633
2633
|
|
|
2634
2634
|
| Name | Type | Description | |
|
|
2635
2635
|
| ---- | ---- | ----------- | -------- |
|
|
2636
|
-
|
|
|
2636
|
+
| config | | Configuration | |
|
|
2637
|
+
| params | | Object for getting precise data | |
|
|
2637
2638
|
|
|
2638
2639
|
|
|
2639
2640
|
|
|
@@ -2641,17 +2642,17 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2641
2642
|
##### Returns
|
|
2642
2643
|
|
|
2643
2644
|
|
|
2644
|
-
-
|
|
2645
|
+
- `Void`
|
|
2645
2646
|
|
|
2646
2647
|
|
|
2647
2648
|
|
|
2648
2649
|
|
|
2649
|
-
### dist/services/api/
|
|
2650
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2650
2651
|
|
|
2651
2652
|
|
|
2652
|
-
####
|
|
2653
|
+
#### getDatasetColumns(qrveyid)
|
|
2653
2654
|
|
|
2654
|
-
|
|
2655
|
+
Get a dataset by Qrvey ID
|
|
2655
2656
|
|
|
2656
2657
|
|
|
2657
2658
|
|
|
@@ -2660,8 +2661,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2660
2661
|
|
|
2661
2662
|
| Name | Type | Description | |
|
|
2662
2663
|
| ---- | ---- | ----------- | -------- |
|
|
2663
|
-
|
|
|
2664
|
-
| params | | Object for getting precise data | |
|
|
2664
|
+
| qrveyid | | The Qrvey ID | |
|
|
2665
2665
|
|
|
2666
2666
|
|
|
2667
2667
|
|
|
@@ -2669,17 +2669,17 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2669
2669
|
##### Returns
|
|
2670
2670
|
|
|
2671
2671
|
|
|
2672
|
-
-
|
|
2672
|
+
- a promise
|
|
2673
2673
|
|
|
2674
2674
|
|
|
2675
2675
|
|
|
2676
2676
|
|
|
2677
|
-
### dist/services/api/
|
|
2677
|
+
### dist/services/api/getAllDatasets.api.js
|
|
2678
2678
|
|
|
2679
2679
|
|
|
2680
|
-
####
|
|
2680
|
+
#### getAllDatasets(qrveyids)
|
|
2681
2681
|
|
|
2682
|
-
Get a dataset
|
|
2682
|
+
Get a dataset list from a collection of Qrvey IDs
|
|
2683
2683
|
|
|
2684
2684
|
|
|
2685
2685
|
|
|
@@ -2688,7 +2688,7 @@ Get a dataset by Qrvey ID
|
|
|
2688
2688
|
|
|
2689
2689
|
| Name | Type | Description | |
|
|
2690
2690
|
| ---- | ---- | ----------- | -------- |
|
|
2691
|
-
|
|
|
2691
|
+
| qrveyids | | Collection of Qrvey IDs | |
|
|
2692
2692
|
|
|
2693
2693
|
|
|
2694
2694
|
|
|
@@ -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 | |
|
|
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
|
|
|
@@ -4068,6 +4041,33 @@ Resolves the conditions by given params
|
|
|
4068
4041
|
|
|
4069
4042
|
|
|
4070
4043
|
|
|
4044
|
+
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
#### getFilterBuilderGeneralConfig(config)
|
|
4048
|
+
|
|
4049
|
+
Returns a filter builder config object by a any given config
|
|
4050
|
+
|
|
4051
|
+
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
##### Parameters
|
|
4055
|
+
|
|
4056
|
+
| Name | Type | Description | |
|
|
4057
|
+
| ---- | ---- | ----------- | -------- |
|
|
4058
|
+
| config | | any config object | |
|
|
4059
|
+
|
|
4060
|
+
|
|
4061
|
+
|
|
4062
|
+
|
|
4063
|
+
##### Returns
|
|
4064
|
+
|
|
4065
|
+
|
|
4066
|
+
- The filter builder config object
|
|
4067
|
+
|
|
4068
|
+
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
4071
|
### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
|
|
4072
4072
|
|
|
4073
4073
|
|