@qrvey/utils 1.2.4-20 → 1.2.4-24
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 +126 -126
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -2
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -2
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +0 -2
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +3 -3
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +1 -1
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +6 -9
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +10 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +0 -10
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +4 -4
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +0 -4
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -2
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -2
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +1 -0
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +2 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +0 -2
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +3 -3
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +1 -1
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +6 -9
- package/dist/globalization/labels/filters/I18N_FILTER.js +10 -0
- package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +0 -10
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +4 -4
- package/package.json +1 -1
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.ts +0 -4
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.ts +2 -2
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -2
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.ts +1 -0
- package/src/globalization/interfaces/filters/II18nFilter.ts +2 -0
- package/src/globalization/interfaces/filters/II18nFilterPanel.ts +0 -2
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.ts +3 -3
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.ts +2 -2
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +6 -9
- package/src/globalization/labels/cross_tabs/I18N_CROSS_TABS.ts +1 -2
- package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
- package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +0 -10
- package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-24*
|
|
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/adapters/
|
|
83
|
+
### dist/dates/adapters/monthYearToDate.js
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
####
|
|
86
|
+
#### monthYearToDate(monthYearDate, time)
|
|
87
87
|
|
|
88
|
-
Transforms String Date from a [
|
|
88
|
+
Transforms String Date from a [Month Year] format to Date object.
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
|
|
@@ -94,7 +94,7 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
|
94
94
|
|
|
95
95
|
| Name | Type | Description | |
|
|
96
96
|
| ---- | ---- | ----------- | -------- |
|
|
97
|
-
| monthYearDate | | String of [
|
|
97
|
+
| monthYearDate | | String of [Month Year] date | |
|
|
98
98
|
| time | | Flag to parse the object date to milliseconds. | |
|
|
99
99
|
|
|
100
100
|
|
|
@@ -108,12 +108,12 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
### dist/dates/adapters/
|
|
111
|
+
### dist/dates/adapters/mdyDateToDate.js
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
####
|
|
114
|
+
#### mdyDateToDate(monthYearDate, time)
|
|
115
115
|
|
|
116
|
-
Transforms String Date from a [
|
|
116
|
+
Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -122,7 +122,7 @@ Transforms String Date from a [Month Year] format to Date object.
|
|
|
122
122
|
|
|
123
123
|
| Name | Type | Description | |
|
|
124
124
|
| ---- | ---- | ----------- | -------- |
|
|
125
|
-
| monthYearDate | | String of [
|
|
125
|
+
| monthYearDate | | String of [mm/dd/yyyy] date | |
|
|
126
126
|
| time | | Flag to parse the object date to milliseconds. | |
|
|
127
127
|
|
|
128
128
|
|
|
@@ -220,12 +220,12 @@ Transforms String Date from a [Year] format to Date object.
|
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
### dist/dates/helpers/
|
|
223
|
+
### dist/dates/helpers/getDateByDateFormat.js
|
|
224
224
|
|
|
225
225
|
|
|
226
|
-
####
|
|
226
|
+
#### getDateByDateFormat(date, format, time)
|
|
227
227
|
|
|
228
|
-
Gets
|
|
228
|
+
Gets a Date Object instance by a Date format
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
|
|
@@ -234,7 +234,9 @@ Gets the date format by the given property
|
|
|
234
234
|
|
|
235
235
|
| Name | Type | Description | |
|
|
236
236
|
| ---- | ---- | ----------- | -------- |
|
|
237
|
-
|
|
|
237
|
+
| date | | String with a formatted date | |
|
|
238
|
+
| format | | The date format | |
|
|
239
|
+
| time | | flag to convert the formatted date to miliseconds | |
|
|
238
240
|
|
|
239
241
|
|
|
240
242
|
|
|
@@ -242,17 +244,17 @@ Gets the date format by the given property
|
|
|
242
244
|
##### Returns
|
|
243
245
|
|
|
244
246
|
|
|
245
|
-
-
|
|
247
|
+
- a Date object, milisecond time or the same value if date format does not match.
|
|
246
248
|
|
|
247
249
|
|
|
248
250
|
|
|
249
251
|
|
|
250
|
-
### dist/dates/helpers/
|
|
252
|
+
### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
|
|
251
253
|
|
|
252
254
|
|
|
253
|
-
####
|
|
255
|
+
#### getDateFormatRegularExpressionInArray(dateFormat)
|
|
254
256
|
|
|
255
|
-
Gets
|
|
257
|
+
Gets an array of regular expressions by the given date format
|
|
256
258
|
|
|
257
259
|
|
|
258
260
|
|
|
@@ -261,9 +263,7 @@ Gets a Date Object instance by a Date format
|
|
|
261
263
|
|
|
262
264
|
| Name | Type | Description | |
|
|
263
265
|
| ---- | ---- | ----------- | -------- |
|
|
264
|
-
|
|
|
265
|
-
| format | | The date format | |
|
|
266
|
-
| time | | flag to convert the formatted date to miliseconds | |
|
|
266
|
+
| dateFormat | | the date format | |
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
|
|
@@ -271,17 +271,17 @@ Gets a Date Object instance by a Date format
|
|
|
271
271
|
##### Returns
|
|
272
272
|
|
|
273
273
|
|
|
274
|
-
-
|
|
274
|
+
- an array of regular expressions
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
|
|
279
|
-
### dist/dates/helpers/
|
|
279
|
+
### dist/dates/helpers/getDateFormatByProperty.js
|
|
280
280
|
|
|
281
281
|
|
|
282
|
-
####
|
|
282
|
+
#### getDateFormatByProperty(property)
|
|
283
283
|
|
|
284
|
-
Gets
|
|
284
|
+
Gets the date format by the given property
|
|
285
285
|
|
|
286
286
|
|
|
287
287
|
|
|
@@ -290,7 +290,7 @@ Gets an array of regular expressions by the given date format
|
|
|
290
290
|
|
|
291
291
|
| Name | Type | Description | |
|
|
292
292
|
| ---- | ---- | ----------- | -------- |
|
|
293
|
-
|
|
|
293
|
+
| property | | The Column Property | |
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
|
|
@@ -298,7 +298,7 @@ Gets an array of regular expressions by the given date format
|
|
|
298
298
|
##### Returns
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
-
|
|
301
|
+
- The date format
|
|
302
302
|
|
|
303
303
|
|
|
304
304
|
|
|
@@ -1729,12 +1729,12 @@ Filters a nested tree array by a custom condition on the last child node
|
|
|
1729
1729
|
|
|
1730
1730
|
|
|
1731
1731
|
|
|
1732
|
-
### dist/general/array/
|
|
1732
|
+
### dist/general/array/getFirstIndexFromArray.js
|
|
1733
1733
|
|
|
1734
1734
|
|
|
1735
|
-
####
|
|
1735
|
+
#### getFirstIndexFromArray(array, callback)
|
|
1736
1736
|
|
|
1737
|
-
|
|
1737
|
+
Gets the first index from the array by a callback condition
|
|
1738
1738
|
|
|
1739
1739
|
|
|
1740
1740
|
|
|
@@ -1743,7 +1743,8 @@ Flat deeply an array
|
|
|
1743
1743
|
|
|
1744
1744
|
| Name | Type | Description | |
|
|
1745
1745
|
| ---- | ---- | ----------- | -------- |
|
|
1746
|
-
|
|
|
1746
|
+
| array | | | |
|
|
1747
|
+
| callback | | function callback | |
|
|
1747
1748
|
|
|
1748
1749
|
|
|
1749
1750
|
|
|
@@ -1751,17 +1752,17 @@ Flat deeply an array
|
|
|
1751
1752
|
##### Returns
|
|
1752
1753
|
|
|
1753
1754
|
|
|
1754
|
-
-
|
|
1755
|
+
- the first index of the array. -1 when the condition is not satisfied
|
|
1755
1756
|
|
|
1756
1757
|
|
|
1757
1758
|
|
|
1758
1759
|
|
|
1759
|
-
### dist/general/array/
|
|
1760
|
+
### dist/general/array/flattenDeep.js
|
|
1760
1761
|
|
|
1761
1762
|
|
|
1762
|
-
####
|
|
1763
|
+
#### flattenDeep(arr)
|
|
1763
1764
|
|
|
1764
|
-
|
|
1765
|
+
Flat deeply an array
|
|
1765
1766
|
|
|
1766
1767
|
|
|
1767
1768
|
|
|
@@ -1770,8 +1771,7 @@ Gets the first index from the array by a callback condition
|
|
|
1770
1771
|
|
|
1771
1772
|
| Name | Type | Description | |
|
|
1772
1773
|
| ---- | ---- | ----------- | -------- |
|
|
1773
|
-
|
|
|
1774
|
-
| callback | | function callback | |
|
|
1774
|
+
| arr | | Array to flat deeply | |
|
|
1775
1775
|
|
|
1776
1776
|
|
|
1777
1777
|
|
|
@@ -1779,7 +1779,7 @@ Gets the first index from the array by a callback condition
|
|
|
1779
1779
|
##### Returns
|
|
1780
1780
|
|
|
1781
1781
|
|
|
1782
|
-
-
|
|
1782
|
+
- flatten array
|
|
1783
1783
|
|
|
1784
1784
|
|
|
1785
1785
|
|
|
@@ -1868,13 +1868,12 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
|
1868
1868
|
|
|
1869
1869
|
|
|
1870
1870
|
|
|
1871
|
-
### dist/general/mix/
|
|
1871
|
+
### dist/general/mix/getTag.js
|
|
1872
1872
|
|
|
1873
1873
|
|
|
1874
|
-
####
|
|
1874
|
+
#### getTag(value)
|
|
1875
1875
|
|
|
1876
|
-
|
|
1877
|
-
Includes arrays in the comparison.
|
|
1876
|
+
Gets the `toStringTag` of `value`.
|
|
1878
1877
|
|
|
1879
1878
|
|
|
1880
1879
|
|
|
@@ -1883,8 +1882,7 @@ Includes arrays in the comparison.
|
|
|
1883
1882
|
|
|
1884
1883
|
| Name | Type | Description | |
|
|
1885
1884
|
| ---- | ---- | ----------- | -------- |
|
|
1886
|
-
|
|
|
1887
|
-
| object2 | | Second Object to compare | |
|
|
1885
|
+
| value | | The value to query. | |
|
|
1888
1886
|
|
|
1889
1887
|
|
|
1890
1888
|
|
|
@@ -1892,17 +1890,18 @@ Includes arrays in the comparison.
|
|
|
1892
1890
|
##### Returns
|
|
1893
1891
|
|
|
1894
1892
|
|
|
1895
|
-
-
|
|
1893
|
+
- `string` Returns the `toStringTag`.
|
|
1896
1894
|
|
|
1897
1895
|
|
|
1898
1896
|
|
|
1899
1897
|
|
|
1900
|
-
### dist/general/mix/
|
|
1898
|
+
### dist/general/mix/compareDeep.js
|
|
1901
1899
|
|
|
1902
1900
|
|
|
1903
|
-
####
|
|
1901
|
+
#### compareDeep(object1, object2)
|
|
1904
1902
|
|
|
1905
|
-
|
|
1903
|
+
Compares two objects to know if they are equals. Go across nested objects.
|
|
1904
|
+
Includes arrays in the comparison.
|
|
1906
1905
|
|
|
1907
1906
|
|
|
1908
1907
|
|
|
@@ -1911,7 +1910,8 @@ Gets the `toStringTag` of `value`.
|
|
|
1911
1910
|
|
|
1912
1911
|
| Name | Type | Description | |
|
|
1913
1912
|
| ---- | ---- | ----------- | -------- |
|
|
1914
|
-
|
|
|
1913
|
+
| object1 | | First Object to compare | |
|
|
1914
|
+
| object2 | | Second Object to compare | |
|
|
1915
1915
|
|
|
1916
1916
|
|
|
1917
1917
|
|
|
@@ -1919,7 +1919,7 @@ Gets the `toStringTag` of `value`.
|
|
|
1919
1919
|
##### Returns
|
|
1920
1920
|
|
|
1921
1921
|
|
|
1922
|
-
-
|
|
1922
|
+
- True: objects are equal. False: Objects are not equal. Undefined: invalid
|
|
1923
1923
|
|
|
1924
1924
|
|
|
1925
1925
|
|
|
@@ -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
|
|
|
@@ -2377,13 +2404,12 @@ and return a mapped object
|
|
|
2377
2404
|
|
|
2378
2405
|
|
|
2379
2406
|
|
|
2380
|
-
### dist/general/object/
|
|
2407
|
+
### dist/general/object/objectCopy.js
|
|
2381
2408
|
|
|
2382
2409
|
|
|
2383
|
-
####
|
|
2410
|
+
#### objectCopy(entity, cache)
|
|
2384
2411
|
|
|
2385
|
-
|
|
2386
|
-
The second given argument to the first given argument.
|
|
2412
|
+
Created a new reference of the given argument
|
|
2387
2413
|
|
|
2388
2414
|
|
|
2389
2415
|
|
|
@@ -2392,9 +2418,8 @@ The second given argument to the first given argument.
|
|
|
2392
2418
|
|
|
2393
2419
|
| Name | Type | Description | |
|
|
2394
2420
|
| ---- | ---- | ----------- | -------- |
|
|
2395
|
-
|
|
|
2396
|
-
|
|
|
2397
|
-
| settings | | Object settings for this function | |
|
|
2421
|
+
| entity | | The variable to be copied | |
|
|
2422
|
+
| cache | | | |
|
|
2398
2423
|
|
|
2399
2424
|
|
|
2400
2425
|
|
|
@@ -2402,13 +2427,18 @@ The second given argument to the first given argument.
|
|
|
2402
2427
|
##### Returns
|
|
2403
2428
|
|
|
2404
2429
|
|
|
2405
|
-
-
|
|
2430
|
+
- A new reference of the given argument
|
|
2406
2431
|
|
|
2407
2432
|
|
|
2408
2433
|
|
|
2409
|
-
#### isValid(obj1, obj2)
|
|
2410
2434
|
|
|
2411
|
-
|
|
2435
|
+
### dist/general/object/mergeDeep.js
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
#### mergeDeep(obj1, obj2, settings)
|
|
2439
|
+
|
|
2440
|
+
Merges two objects into a new one.
|
|
2441
|
+
The second given argument to the first given argument.
|
|
2412
2442
|
|
|
2413
2443
|
|
|
2414
2444
|
|
|
@@ -2419,6 +2449,7 @@ Validates if the two arguments are objects
|
|
|
2419
2449
|
| ---- | ---- | ----------- | -------- |
|
|
2420
2450
|
| obj1 | | The target object | |
|
|
2421
2451
|
| obj2 | | The object to be merged | |
|
|
2452
|
+
| settings | | Object settings for this function | |
|
|
2422
2453
|
|
|
2423
2454
|
|
|
2424
2455
|
|
|
@@ -2426,13 +2457,13 @@ Validates if the two arguments are objects
|
|
|
2426
2457
|
##### Returns
|
|
2427
2458
|
|
|
2428
2459
|
|
|
2429
|
-
-
|
|
2460
|
+
- a new merged object
|
|
2430
2461
|
|
|
2431
2462
|
|
|
2432
2463
|
|
|
2433
|
-
####
|
|
2464
|
+
#### isValid(obj1, obj2)
|
|
2434
2465
|
|
|
2435
|
-
Validates
|
|
2466
|
+
Validates if the two arguments are objects
|
|
2436
2467
|
|
|
2437
2468
|
|
|
2438
2469
|
|
|
@@ -2441,7 +2472,8 @@ Validates and gets the settings with all set parameters.
|
|
|
2441
2472
|
|
|
2442
2473
|
| Name | Type | Description | |
|
|
2443
2474
|
| ---- | ---- | ----------- | -------- |
|
|
2444
|
-
|
|
|
2475
|
+
| obj1 | | The target object | |
|
|
2476
|
+
| obj2 | | The object to be merged | |
|
|
2445
2477
|
|
|
2446
2478
|
|
|
2447
2479
|
|
|
@@ -2449,17 +2481,13 @@ Validates and gets the settings with all set parameters.
|
|
|
2449
2481
|
##### Returns
|
|
2450
2482
|
|
|
2451
2483
|
|
|
2452
|
-
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2484
|
+
- true: they are valid; false: they are not
|
|
2456
2485
|
|
|
2457
|
-
### dist/general/object/objectCopy.js
|
|
2458
2486
|
|
|
2459
2487
|
|
|
2460
|
-
####
|
|
2488
|
+
#### getParamsToMergeDeep(settings)
|
|
2461
2489
|
|
|
2462
|
-
|
|
2490
|
+
Validates and gets the settings with all set parameters.
|
|
2463
2491
|
|
|
2464
2492
|
|
|
2465
2493
|
|
|
@@ -2468,8 +2496,7 @@ Created a new reference of the given argument
|
|
|
2468
2496
|
|
|
2469
2497
|
| Name | Type | Description | |
|
|
2470
2498
|
| ---- | ---- | ----------- | -------- |
|
|
2471
|
-
|
|
|
2472
|
-
| cache | | | |
|
|
2499
|
+
| settings | | the settings object | |
|
|
2473
2500
|
|
|
2474
2501
|
|
|
2475
2502
|
|
|
@@ -2477,7 +2504,7 @@ Created a new reference of the given argument
|
|
|
2477
2504
|
##### Returns
|
|
2478
2505
|
|
|
2479
2506
|
|
|
2480
|
-
-
|
|
2507
|
+
- a new settings object with all set parameters.
|
|
2481
2508
|
|
|
2482
2509
|
|
|
2483
2510
|
|
|
@@ -2565,12 +2592,12 @@ serialize object to url param
|
|
|
2565
2592
|
|
|
2566
2593
|
|
|
2567
2594
|
|
|
2568
|
-
### dist/
|
|
2595
|
+
### dist/services/api/getAllDatasets.api.js
|
|
2569
2596
|
|
|
2570
2597
|
|
|
2571
|
-
####
|
|
2598
|
+
#### getAllDatasets(qrveyids)
|
|
2572
2599
|
|
|
2573
|
-
|
|
2600
|
+
Get a dataset list from a collection of Qrvey IDs
|
|
2574
2601
|
|
|
2575
2602
|
|
|
2576
2603
|
|
|
@@ -2579,7 +2606,7 @@ Upper case the first letter of a given text
|
|
|
2579
2606
|
|
|
2580
2607
|
| Name | Type | Description | |
|
|
2581
2608
|
| ---- | ---- | ----------- | -------- |
|
|
2582
|
-
|
|
|
2609
|
+
| qrveyids | | Collection of Qrvey IDs | |
|
|
2583
2610
|
|
|
2584
2611
|
|
|
2585
2612
|
|
|
@@ -2587,17 +2614,17 @@ Upper case the first letter of a given text
|
|
|
2587
2614
|
##### Returns
|
|
2588
2615
|
|
|
2589
2616
|
|
|
2590
|
-
-
|
|
2617
|
+
- a promise
|
|
2591
2618
|
|
|
2592
2619
|
|
|
2593
2620
|
|
|
2594
2621
|
|
|
2595
|
-
### dist/
|
|
2622
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2596
2623
|
|
|
2597
2624
|
|
|
2598
|
-
####
|
|
2625
|
+
#### getAllQrveys(config, params)
|
|
2599
2626
|
|
|
2600
|
-
|
|
2627
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2601
2628
|
|
|
2602
2629
|
|
|
2603
2630
|
|
|
@@ -2606,7 +2633,8 @@ Get an string of the properties of the given column.
|
|
|
2606
2633
|
|
|
2607
2634
|
| Name | Type | Description | |
|
|
2608
2635
|
| ---- | ---- | ----------- | -------- |
|
|
2609
|
-
|
|
|
2636
|
+
| config | | Configuration | |
|
|
2637
|
+
| params | | Object for getting precise data | |
|
|
2610
2638
|
|
|
2611
2639
|
|
|
2612
2640
|
|
|
@@ -2614,17 +2642,17 @@ Get an string of the properties of the given column.
|
|
|
2614
2642
|
##### Returns
|
|
2615
2643
|
|
|
2616
2644
|
|
|
2617
|
-
-
|
|
2645
|
+
- `Void`
|
|
2618
2646
|
|
|
2619
2647
|
|
|
2620
2648
|
|
|
2621
2649
|
|
|
2622
|
-
### dist/services/api/
|
|
2650
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2623
2651
|
|
|
2624
2652
|
|
|
2625
|
-
####
|
|
2653
|
+
#### getDatasetColumns(qrveyid)
|
|
2626
2654
|
|
|
2627
|
-
Get a dataset
|
|
2655
|
+
Get a dataset by Qrvey ID
|
|
2628
2656
|
|
|
2629
2657
|
|
|
2630
2658
|
|
|
@@ -2633,7 +2661,7 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2633
2661
|
|
|
2634
2662
|
| Name | Type | Description | |
|
|
2635
2663
|
| ---- | ---- | ----------- | -------- |
|
|
2636
|
-
|
|
|
2664
|
+
| qrveyid | | The Qrvey ID | |
|
|
2637
2665
|
|
|
2638
2666
|
|
|
2639
2667
|
|
|
@@ -2646,40 +2674,12 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2646
2674
|
|
|
2647
2675
|
|
|
2648
2676
|
|
|
2649
|
-
### dist/
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
#### getAllQrveys(config, params)
|
|
2653
|
-
|
|
2654
|
-
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
##### Parameters
|
|
2660
|
-
|
|
2661
|
-
| Name | Type | Description | |
|
|
2662
|
-
| ---- | ---- | ----------- | -------- |
|
|
2663
|
-
| config | | Configuration | |
|
|
2664
|
-
| params | | Object for getting precise data | |
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
##### Returns
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
- `Void`
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
### dist/services/api/getDatasetColumns.api.js
|
|
2677
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2678
2678
|
|
|
2679
2679
|
|
|
2680
|
-
####
|
|
2680
|
+
#### getColumnLabels(column)
|
|
2681
2681
|
|
|
2682
|
-
Get
|
|
2682
|
+
Get an string of the properties of the given column.
|
|
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
|
+
| column | | The column | |
|
|
2692
2692
|
|
|
2693
2693
|
|
|
2694
2694
|
|
|
@@ -2696,7 +2696,7 @@ Get a dataset by Qrvey ID
|
|
|
2696
2696
|
##### Returns
|
|
2697
2697
|
|
|
2698
2698
|
|
|
2699
|
-
-
|
|
2699
|
+
- an string with the property, aggregate or calculation label.
|
|
2700
2700
|
|
|
2701
2701
|
|
|
2702
2702
|
|
|
@@ -3004,12 +3004,12 @@ Transform user Filters array into Filter Logic structure
|
|
|
3004
3004
|
|
|
3005
3005
|
|
|
3006
3006
|
|
|
3007
|
-
### dist/filters/helpers/backend/
|
|
3007
|
+
### dist/filters/helpers/backend/getBackendGroupValue.js
|
|
3008
3008
|
|
|
3009
3009
|
|
|
3010
|
-
####
|
|
3010
|
+
#### getBackendGroupValue(filter)
|
|
3011
3011
|
|
|
3012
|
-
Gets a
|
|
3012
|
+
Gets a group value for the backend logic structure
|
|
3013
3013
|
|
|
3014
3014
|
|
|
3015
3015
|
|
|
@@ -3031,12 +3031,12 @@ Gets a property for the logic structure
|
|
|
3031
3031
|
|
|
3032
3032
|
|
|
3033
3033
|
|
|
3034
|
-
### dist/filters/helpers/backend/
|
|
3034
|
+
### dist/filters/helpers/backend/getBackendProperty.js
|
|
3035
3035
|
|
|
3036
3036
|
|
|
3037
|
-
####
|
|
3037
|
+
#### getBackendProperty(filter)
|
|
3038
3038
|
|
|
3039
|
-
Gets a
|
|
3039
|
+
Gets a property for the logic structure
|
|
3040
3040
|
|
|
3041
3041
|
|
|
3042
3042
|
|
package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts
CHANGED
|
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
|
|
|
22
22
|
search_bucket_placeholder: string;
|
|
23
23
|
search_all_bucket: string;
|
|
24
24
|
no_answers_found: string;
|
|
25
|
-
rating_singular: string;
|
|
26
|
-
rating_plural: string;
|
|
27
|
-
slidebar_singular: string;
|
|
28
|
-
slidebar_plural: string;
|
|
29
25
|
basic: string;
|
|
30
26
|
custom: string;
|
|
31
27
|
list_buckets: string;
|
|
@@ -5,11 +5,13 @@ import { II18nRelativeContainer } from "./II18nRelativeContainer";
|
|
|
5
5
|
import { II18nRankingContainer } from "./II18nRankingContainer";
|
|
6
6
|
import { II18nFilterOperator } from "./II18nFilterOperator";
|
|
7
7
|
import { II18nFilterScopes } from "./II18nFilterScopes";
|
|
8
|
+
import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
|
|
8
9
|
export interface II18nFilter {
|
|
9
10
|
operators: II18nFilterOperator;
|
|
10
11
|
ranking_container: II18nRankingContainer;
|
|
11
12
|
relative_container: II18nRelativeContainer;
|
|
12
13
|
scope: II18nFilterScopes;
|
|
14
|
+
scope_title: II18nFilterPanelScopeTitle;
|
|
13
15
|
slidebar: II18nSlidebar;
|
|
14
16
|
validators: II18nFilterValidator;
|
|
15
17
|
value_container: II18nValueContainer;
|
|
@@ -2,7 +2,6 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
|
|
|
2
2
|
import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
|
|
3
3
|
import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
|
|
4
4
|
import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
|
|
5
|
-
import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
|
|
6
5
|
import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
|
|
7
6
|
import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
|
|
8
7
|
export interface II18nFilterPanel {
|
|
@@ -14,6 +13,5 @@ export interface II18nFilterPanel {
|
|
|
14
13
|
delete_dialog: II18nFilterPanelDeleteDialog;
|
|
15
14
|
header_section: II18nFilterPanelHeaderSection;
|
|
16
15
|
scope_tooltip: II18nFilterPanelScopeTooltip;
|
|
17
|
-
scope_title: II18nFilterPanelScopeTitle;
|
|
18
16
|
settings_section: II18nFilterPanelSettingsSection;
|
|
19
17
|
}
|
package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface II18nFormulaBuilderCreateModal {
|
|
|
8
8
|
detail_title: string;
|
|
9
9
|
detail_suggestion: string;
|
|
10
10
|
detail_suggestion_operators: string;
|
|
11
|
-
|
|
11
|
+
syntax_success: string;
|
|
12
12
|
syntax_error: string;
|
|
13
13
|
syntax_warning: string;
|
|
14
14
|
test: string;
|
|
@@ -19,8 +19,8 @@ export interface II18nFormulaBuilderCreateModal {
|
|
|
19
19
|
search_column: string;
|
|
20
20
|
box_function_empty: string;
|
|
21
21
|
add_formula: string;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
cancel_button: string;
|
|
23
|
+
apply_button: string;
|
|
24
24
|
no_columns_available: string;
|
|
25
25
|
create_toast: string;
|
|
26
26
|
update_toast: string;
|
|
@@ -31,10 +31,6 @@ exports.I18N_BUCKET_BUILDER = {
|
|
|
31
31
|
search_bucket_placeholder: 'Search',
|
|
32
32
|
search_all_bucket: 'All',
|
|
33
33
|
no_answers_found: 'No Answers Found',
|
|
34
|
-
rating_singular: 'Star',
|
|
35
|
-
rating_plural: 'Stars',
|
|
36
|
-
slidebar_singular: 'Stop',
|
|
37
|
-
slidebar_plural: 'Stops',
|
|
38
34
|
basic: 'Basic',
|
|
39
35
|
custom: 'Custom',
|
|
40
36
|
list_buckets: 'Buckets',
|
|
@@ -85,12 +81,13 @@ exports.I18N_BUCKET_BUILDER = {
|
|
|
85
81
|
year: 'Year',
|
|
86
82
|
month: 'Month',
|
|
87
83
|
before: 'Before',
|
|
88
|
-
after: 'After'
|
|
84
|
+
after: 'After',
|
|
85
|
+
month_year: 'Month + Year',
|
|
89
86
|
},
|
|
90
87
|
list_buckets: {
|
|
91
88
|
title: 'Available Buckets',
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
counter_one: 'Bucket',
|
|
90
|
+
counter_other: 'Buckets',
|
|
94
91
|
no_columns: 'No bucketed columns created'
|
|
95
92
|
},
|
|
96
93
|
menu_bucket: {
|
|
@@ -113,8 +110,8 @@ exports.I18N_BUCKET_BUILDER = {
|
|
|
113
110
|
messages: {
|
|
114
111
|
bucket_added: 'Bucketed Column Successfully Saved as New',
|
|
115
112
|
bucket_edited: 'Bucketed Column Successfully Edited',
|
|
116
|
-
|
|
117
|
-
|
|
113
|
+
bucket_duplicated: 'Bucketed Column Successfully Duplicated',
|
|
114
|
+
bucket_deleted: 'Bucketed Column Successfully Deleted',
|
|
118
115
|
bad_configuration_object: 'Bad Configuration Object'
|
|
119
116
|
}
|
|
120
117
|
};
|
|
@@ -9,6 +9,16 @@ const I18N_RELATIVE_CONTAINER_1 = require("./I18N_RELATIVE_CONTAINER");
|
|
|
9
9
|
const I18N_SLIDEBAR_1 = require("./I18N_SLIDEBAR");
|
|
10
10
|
const I18N_VALUE_CONTAINER_1 = require("./I18N_VALUE_CONTAINER");
|
|
11
11
|
exports.I18N_FILTER = {
|
|
12
|
+
scope_title: {
|
|
13
|
+
admin: 'Admin Filters',
|
|
14
|
+
data: 'Data Filters',
|
|
15
|
+
global: 'Global Filters',
|
|
16
|
+
page: 'Page Filters',
|
|
17
|
+
tab: 'Tab Filters',
|
|
18
|
+
chart: 'Panel Filters',
|
|
19
|
+
default: 'Default Filters',
|
|
20
|
+
action: 'Action Filters',
|
|
21
|
+
},
|
|
12
22
|
operators: I18N_FILTER_OPERATOR_1.I18N_FILTER_OPERATOR,
|
|
13
23
|
relative_container: I18N_RELATIVE_CONTAINER_1.I18N_RELATIVE_CONTAINER,
|
|
14
24
|
scope: I18N_FILTER_SCOPE_1.I18N_FILTER_SCOPE,
|
|
@@ -24,16 +24,6 @@ exports.I18N_FILTER_PANEL = {
|
|
|
24
24
|
cancel: 'Cancel',
|
|
25
25
|
apply: 'Delete',
|
|
26
26
|
},
|
|
27
|
-
scope_title: {
|
|
28
|
-
admin: 'Admin Filters',
|
|
29
|
-
data: 'Data Filters',
|
|
30
|
-
global: 'Global Filters',
|
|
31
|
-
page: 'Page Filters',
|
|
32
|
-
tab: 'Tab Filters',
|
|
33
|
-
chart: 'Panel Filters',
|
|
34
|
-
default: 'Default Filters',
|
|
35
|
-
action: 'Action Filters',
|
|
36
|
-
},
|
|
37
27
|
scope_tooltip: {
|
|
38
28
|
global: 'Filters applied to all pages',
|
|
39
29
|
page: 'Filters applied to the current page',
|
|
@@ -4,7 +4,7 @@ exports.I18N_FORMULA_BUILDER = void 0;
|
|
|
4
4
|
exports.I18N_FORMULA_BUILDER = {
|
|
5
5
|
list_modal: {
|
|
6
6
|
title_header: 'Formulas',
|
|
7
|
-
|
|
7
|
+
create_button: 'Create Formula',
|
|
8
8
|
empty_message: 'No Formulas Yet'
|
|
9
9
|
},
|
|
10
10
|
list_table: {
|
|
@@ -33,7 +33,7 @@ exports.I18N_FORMULA_BUILDER = {
|
|
|
33
33
|
detail_title: 'Formulita',
|
|
34
34
|
detail_suggestion: 'Allows mathematical operations including',
|
|
35
35
|
detail_suggestion_operators: '+, -, *, /, ()',
|
|
36
|
-
|
|
36
|
+
syntax_success: 'Formula syntax is correct.',
|
|
37
37
|
syntax_error: 'Formula syntax error, please check your formula and retry.',
|
|
38
38
|
syntax_warning: 'Formula syntax correct, but some null values generate error',
|
|
39
39
|
test: 'Test',
|
|
@@ -44,8 +44,8 @@ exports.I18N_FORMULA_BUILDER = {
|
|
|
44
44
|
search_column: 'Search',
|
|
45
45
|
box_function_empty: 'No Function Selected',
|
|
46
46
|
add_formula: 'Add to Formula',
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
cancel_button: 'Cancel',
|
|
48
|
+
apply_button: 'Save',
|
|
49
49
|
no_columns_available: 'No Columns Available',
|
|
50
50
|
create_toast: 'Formula Created Successfully.',
|
|
51
51
|
update_toast: 'Formula Updated Successfully',
|
|
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
|
|
|
22
22
|
search_bucket_placeholder: string;
|
|
23
23
|
search_all_bucket: string;
|
|
24
24
|
no_answers_found: string;
|
|
25
|
-
rating_singular: string;
|
|
26
|
-
rating_plural: string;
|
|
27
|
-
slidebar_singular: string;
|
|
28
|
-
slidebar_plural: string;
|
|
29
25
|
basic: string;
|
|
30
26
|
custom: string;
|
|
31
27
|
list_buckets: string;
|
|
@@ -5,11 +5,13 @@ import { II18nRelativeContainer } from "./II18nRelativeContainer";
|
|
|
5
5
|
import { II18nRankingContainer } from "./II18nRankingContainer";
|
|
6
6
|
import { II18nFilterOperator } from "./II18nFilterOperator";
|
|
7
7
|
import { II18nFilterScopes } from "./II18nFilterScopes";
|
|
8
|
+
import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
|
|
8
9
|
export interface II18nFilter {
|
|
9
10
|
operators: II18nFilterOperator;
|
|
10
11
|
ranking_container: II18nRankingContainer;
|
|
11
12
|
relative_container: II18nRelativeContainer;
|
|
12
13
|
scope: II18nFilterScopes;
|
|
14
|
+
scope_title: II18nFilterPanelScopeTitle;
|
|
13
15
|
slidebar: II18nSlidebar;
|
|
14
16
|
validators: II18nFilterValidator;
|
|
15
17
|
value_container: II18nValueContainer;
|
|
@@ -2,7 +2,6 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
|
|
|
2
2
|
import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
|
|
3
3
|
import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
|
|
4
4
|
import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
|
|
5
|
-
import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
|
|
6
5
|
import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
|
|
7
6
|
import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
|
|
8
7
|
export interface II18nFilterPanel {
|
|
@@ -14,6 +13,5 @@ export interface II18nFilterPanel {
|
|
|
14
13
|
delete_dialog: II18nFilterPanelDeleteDialog;
|
|
15
14
|
header_section: II18nFilterPanelHeaderSection;
|
|
16
15
|
scope_tooltip: II18nFilterPanelScopeTooltip;
|
|
17
|
-
scope_title: II18nFilterPanelScopeTitle;
|
|
18
16
|
settings_section: II18nFilterPanelSettingsSection;
|
|
19
17
|
}
|
|
@@ -8,7 +8,7 @@ export interface II18nFormulaBuilderCreateModal {
|
|
|
8
8
|
detail_title: string;
|
|
9
9
|
detail_suggestion: string;
|
|
10
10
|
detail_suggestion_operators: string;
|
|
11
|
-
|
|
11
|
+
syntax_success: string;
|
|
12
12
|
syntax_error: string;
|
|
13
13
|
syntax_warning: string;
|
|
14
14
|
test: string;
|
|
@@ -19,8 +19,8 @@ export interface II18nFormulaBuilderCreateModal {
|
|
|
19
19
|
search_column: string;
|
|
20
20
|
box_function_empty: string;
|
|
21
21
|
add_formula: string;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
cancel_button: string;
|
|
23
|
+
apply_button: string;
|
|
24
24
|
no_columns_available: string;
|
|
25
25
|
create_toast: string;
|
|
26
26
|
update_toast: string;
|
|
@@ -28,10 +28,6 @@ export const I18N_BUCKET_BUILDER = {
|
|
|
28
28
|
search_bucket_placeholder: 'Search',
|
|
29
29
|
search_all_bucket: 'All',
|
|
30
30
|
no_answers_found: 'No Answers Found',
|
|
31
|
-
rating_singular: 'Star',
|
|
32
|
-
rating_plural: 'Stars',
|
|
33
|
-
slidebar_singular: 'Stop',
|
|
34
|
-
slidebar_plural: 'Stops',
|
|
35
31
|
basic: 'Basic',
|
|
36
32
|
custom: 'Custom',
|
|
37
33
|
list_buckets: 'Buckets',
|
|
@@ -82,12 +78,13 @@ export const I18N_BUCKET_BUILDER = {
|
|
|
82
78
|
year: 'Year',
|
|
83
79
|
month: 'Month',
|
|
84
80
|
before: 'Before',
|
|
85
|
-
after: 'After'
|
|
81
|
+
after: 'After',
|
|
82
|
+
month_year: 'Month + Year',
|
|
86
83
|
},
|
|
87
84
|
list_buckets: {
|
|
88
85
|
title: 'Available Buckets',
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
counter_one: 'Bucket',
|
|
87
|
+
counter_other: 'Buckets',
|
|
91
88
|
no_columns: 'No bucketed columns created'
|
|
92
89
|
},
|
|
93
90
|
menu_bucket: {
|
|
@@ -110,8 +107,8 @@ export const I18N_BUCKET_BUILDER = {
|
|
|
110
107
|
messages: {
|
|
111
108
|
bucket_added: 'Bucketed Column Successfully Saved as New',
|
|
112
109
|
bucket_edited: 'Bucketed Column Successfully Edited',
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
bucket_duplicated: 'Bucketed Column Successfully Duplicated',
|
|
111
|
+
bucket_deleted: 'Bucketed Column Successfully Deleted',
|
|
115
112
|
bad_configuration_object: 'Bad Configuration Object'
|
|
116
113
|
}
|
|
117
114
|
};
|
|
@@ -6,6 +6,16 @@ import { I18N_RELATIVE_CONTAINER } from "./I18N_RELATIVE_CONTAINER";
|
|
|
6
6
|
import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
|
|
7
7
|
import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
|
|
8
8
|
export const I18N_FILTER = {
|
|
9
|
+
scope_title: {
|
|
10
|
+
admin: 'Admin Filters',
|
|
11
|
+
data: 'Data Filters',
|
|
12
|
+
global: 'Global Filters',
|
|
13
|
+
page: 'Page Filters',
|
|
14
|
+
tab: 'Tab Filters',
|
|
15
|
+
chart: 'Panel Filters',
|
|
16
|
+
default: 'Default Filters',
|
|
17
|
+
action: 'Action Filters',
|
|
18
|
+
},
|
|
9
19
|
operators: I18N_FILTER_OPERATOR,
|
|
10
20
|
relative_container: I18N_RELATIVE_CONTAINER,
|
|
11
21
|
scope: I18N_FILTER_SCOPE,
|
|
@@ -21,16 +21,6 @@ export const I18N_FILTER_PANEL = {
|
|
|
21
21
|
cancel: 'Cancel',
|
|
22
22
|
apply: 'Delete',
|
|
23
23
|
},
|
|
24
|
-
scope_title: {
|
|
25
|
-
admin: 'Admin Filters',
|
|
26
|
-
data: 'Data Filters',
|
|
27
|
-
global: 'Global Filters',
|
|
28
|
-
page: 'Page Filters',
|
|
29
|
-
tab: 'Tab Filters',
|
|
30
|
-
chart: 'Panel Filters',
|
|
31
|
-
default: 'Default Filters',
|
|
32
|
-
action: 'Action Filters',
|
|
33
|
-
},
|
|
34
24
|
scope_tooltip: {
|
|
35
25
|
global: 'Filters applied to all pages',
|
|
36
26
|
page: 'Filters applied to the current page',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const I18N_FORMULA_BUILDER = {
|
|
2
2
|
list_modal: {
|
|
3
3
|
title_header: 'Formulas',
|
|
4
|
-
|
|
4
|
+
create_button: 'Create Formula',
|
|
5
5
|
empty_message: 'No Formulas Yet'
|
|
6
6
|
},
|
|
7
7
|
list_table: {
|
|
@@ -30,7 +30,7 @@ export const I18N_FORMULA_BUILDER = {
|
|
|
30
30
|
detail_title: 'Formulita',
|
|
31
31
|
detail_suggestion: 'Allows mathematical operations including',
|
|
32
32
|
detail_suggestion_operators: '+, -, *, /, ()',
|
|
33
|
-
|
|
33
|
+
syntax_success: 'Formula syntax is correct.',
|
|
34
34
|
syntax_error: 'Formula syntax error, please check your formula and retry.',
|
|
35
35
|
syntax_warning: 'Formula syntax correct, but some null values generate error',
|
|
36
36
|
test: 'Test',
|
|
@@ -41,8 +41,8 @@ export const I18N_FORMULA_BUILDER = {
|
|
|
41
41
|
search_column: 'Search',
|
|
42
42
|
box_function_empty: 'No Function Selected',
|
|
43
43
|
add_formula: 'Add to Formula',
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
cancel_button: 'Cancel',
|
|
45
|
+
apply_button: 'Save',
|
|
46
46
|
no_columns_available: 'No Columns Available',
|
|
47
47
|
create_toast: 'Formula Created Successfully.',
|
|
48
48
|
update_toast: 'Formula Updated Successfully',
|
package/package.json
CHANGED
|
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
|
|
|
22
22
|
search_bucket_placeholder: string;
|
|
23
23
|
search_all_bucket: string;
|
|
24
24
|
no_answers_found: string;
|
|
25
|
-
rating_singular: string;
|
|
26
|
-
rating_plural: string;
|
|
27
|
-
slidebar_singular: string;
|
|
28
|
-
slidebar_plural: string;
|
|
29
25
|
basic: string;
|
|
30
26
|
custom: string;
|
|
31
27
|
list_buckets: string;
|
|
@@ -5,12 +5,14 @@ import { II18nRelativeContainer } from "./II18nRelativeContainer";
|
|
|
5
5
|
import { II18nRankingContainer } from "./II18nRankingContainer";
|
|
6
6
|
import { II18nFilterOperator } from "./II18nFilterOperator";
|
|
7
7
|
import { II18nFilterScopes } from "./II18nFilterScopes";
|
|
8
|
+
import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
|
|
8
9
|
|
|
9
10
|
export interface II18nFilter {
|
|
10
11
|
operators: II18nFilterOperator;
|
|
11
12
|
ranking_container: II18nRankingContainer;
|
|
12
13
|
relative_container: II18nRelativeContainer;
|
|
13
14
|
scope: II18nFilterScopes;
|
|
15
|
+
scope_title: II18nFilterPanelScopeTitle;
|
|
14
16
|
slidebar: II18nSlidebar;
|
|
15
17
|
validators: II18nFilterValidator;
|
|
16
18
|
value_container: II18nValueContainer;
|
|
@@ -2,7 +2,6 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
|
|
|
2
2
|
import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
|
|
3
3
|
import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
|
|
4
4
|
import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
|
|
5
|
-
import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
|
|
6
5
|
import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
|
|
7
6
|
import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
|
|
8
7
|
|
|
@@ -15,6 +14,5 @@ export interface II18nFilterPanel {
|
|
|
15
14
|
delete_dialog: II18nFilterPanelDeleteDialog;
|
|
16
15
|
header_section: II18nFilterPanelHeaderSection;
|
|
17
16
|
scope_tooltip: II18nFilterPanelScopeTooltip;
|
|
18
|
-
scope_title: II18nFilterPanelScopeTitle;
|
|
19
17
|
settings_section: II18nFilterPanelSettingsSection;
|
|
20
18
|
}
|
|
@@ -8,7 +8,7 @@ export interface II18nFormulaBuilderCreateModal {
|
|
|
8
8
|
detail_title: string;
|
|
9
9
|
detail_suggestion: string;
|
|
10
10
|
detail_suggestion_operators: string;
|
|
11
|
-
|
|
11
|
+
syntax_success: string;
|
|
12
12
|
syntax_error: string;
|
|
13
13
|
syntax_warning: string;
|
|
14
14
|
test: string;
|
|
@@ -19,8 +19,8 @@ export interface II18nFormulaBuilderCreateModal {
|
|
|
19
19
|
search_column: string;
|
|
20
20
|
box_function_empty: string;
|
|
21
21
|
add_formula: string;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
cancel_button: string;
|
|
23
|
+
apply_button: string;
|
|
24
24
|
no_columns_available: string;
|
|
25
25
|
create_toast: string;
|
|
26
26
|
update_toast: string;
|
|
@@ -30,10 +30,6 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
|
|
|
30
30
|
search_bucket_placeholder: 'Search',
|
|
31
31
|
search_all_bucket: 'All',
|
|
32
32
|
no_answers_found: 'No Answers Found',
|
|
33
|
-
rating_singular: 'Star',
|
|
34
|
-
rating_plural: 'Stars',
|
|
35
|
-
slidebar_singular: 'Stop',
|
|
36
|
-
slidebar_plural: 'Stops',
|
|
37
33
|
basic: 'Basic',
|
|
38
34
|
custom: 'Custom',
|
|
39
35
|
list_buckets: 'Buckets',
|
|
@@ -84,12 +80,13 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
|
|
|
84
80
|
year: 'Year',
|
|
85
81
|
month: 'Month',
|
|
86
82
|
before: 'Before',
|
|
87
|
-
after: 'After'
|
|
83
|
+
after: 'After',
|
|
84
|
+
month_year: 'Month + Year',
|
|
88
85
|
},
|
|
89
86
|
list_buckets: {
|
|
90
87
|
title: 'Available Buckets',
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
counter_one: 'Bucket',
|
|
89
|
+
counter_other: 'Buckets',
|
|
93
90
|
no_columns: 'No bucketed columns created'
|
|
94
91
|
},
|
|
95
92
|
menu_bucket: {
|
|
@@ -112,8 +109,8 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
|
|
|
112
109
|
messages: {
|
|
113
110
|
bucket_added: 'Bucketed Column Successfully Saved as New',
|
|
114
111
|
bucket_edited: 'Bucketed Column Successfully Edited',
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
bucket_duplicated: 'Bucketed Column Successfully Duplicated',
|
|
113
|
+
bucket_deleted: 'Bucketed Column Successfully Deleted',
|
|
117
114
|
bad_configuration_object: 'Bad Configuration Object'
|
|
118
115
|
}
|
|
119
116
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { II18nCrossTabs } from '../../interfaces/cross_tabs';
|
|
2
2
|
|
|
3
3
|
export const I18N_CROSS_TABS: II18nCrossTabs = {
|
|
4
|
-
footer_message:
|
|
5
|
-
'* Grand Totals and Subtotals are based on the aggregate of the data values.',
|
|
4
|
+
footer_message: '* Grand Totals and Subtotals are based on the aggregate of the data values.',
|
|
6
5
|
grand_total: 'Grand Total',
|
|
7
6
|
no_data: 'No Data',
|
|
8
7
|
sort: {
|
|
@@ -8,6 +8,16 @@ import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
|
|
|
8
8
|
import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
|
|
9
9
|
|
|
10
10
|
export const I18N_FILTER: II18nFilter = {
|
|
11
|
+
scope_title: {
|
|
12
|
+
admin: 'Admin Filters',
|
|
13
|
+
data: 'Data Filters',
|
|
14
|
+
global: 'Global Filters',
|
|
15
|
+
page: 'Page Filters',
|
|
16
|
+
tab: 'Tab Filters',
|
|
17
|
+
chart: 'Panel Filters',
|
|
18
|
+
default: 'Default Filters',
|
|
19
|
+
action: 'Action Filters',
|
|
20
|
+
},
|
|
11
21
|
operators: I18N_FILTER_OPERATOR,
|
|
12
22
|
relative_container: I18N_RELATIVE_CONTAINER,
|
|
13
23
|
scope: I18N_FILTER_SCOPE,
|
|
@@ -23,16 +23,6 @@ export const I18N_FILTER_PANEL: II18nFilterPanel = {
|
|
|
23
23
|
cancel: 'Cancel',
|
|
24
24
|
apply: 'Delete',
|
|
25
25
|
},
|
|
26
|
-
scope_title: {
|
|
27
|
-
admin: 'Admin Filters',
|
|
28
|
-
data: 'Data Filters',
|
|
29
|
-
global: 'Global Filters',
|
|
30
|
-
page: 'Page Filters',
|
|
31
|
-
tab: 'Tab Filters',
|
|
32
|
-
chart: 'Panel Filters',
|
|
33
|
-
default: 'Default Filters',
|
|
34
|
-
action: 'Action Filters',
|
|
35
|
-
},
|
|
36
26
|
scope_tooltip: {
|
|
37
27
|
global: 'Filters applied to all pages',
|
|
38
28
|
page: 'Filters applied to the current page',
|
|
@@ -3,7 +3,7 @@ import { II18nFormulaBuilder } from "../../interfaces/formula_builder";
|
|
|
3
3
|
export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
4
4
|
list_modal: {
|
|
5
5
|
title_header: 'Formulas',
|
|
6
|
-
|
|
6
|
+
create_button: 'Create Formula',
|
|
7
7
|
empty_message: 'No Formulas Yet'
|
|
8
8
|
},
|
|
9
9
|
list_table: {
|
|
@@ -32,7 +32,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
32
32
|
detail_title: 'Formulita',
|
|
33
33
|
detail_suggestion: 'Allows mathematical operations including',
|
|
34
34
|
detail_suggestion_operators: '+, -, *, /, ()',
|
|
35
|
-
|
|
35
|
+
syntax_success: 'Formula syntax is correct.',
|
|
36
36
|
syntax_error: 'Formula syntax error, please check your formula and retry.',
|
|
37
37
|
syntax_warning: 'Formula syntax correct, but some null values generate error',
|
|
38
38
|
test: 'Test',
|
|
@@ -43,8 +43,8 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
43
43
|
search_column: 'Search',
|
|
44
44
|
box_function_empty: 'No Function Selected',
|
|
45
45
|
add_formula: 'Add to Formula',
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
cancel_button: 'Cancel',
|
|
47
|
+
apply_button: 'Save',
|
|
48
48
|
no_columns_available: 'No Columns Available',
|
|
49
49
|
create_toast: 'Formula Created Successfully.',
|
|
50
50
|
update_toast: 'Formula Updated Successfully',
|