@qrvey/utils 1.2.4-7 → 1.2.4-8
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 +197 -197
- package/dist/cjs/general/object/mergeDeep.js +6 -7
- package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/common/index.js +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +4 -4
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nSlidebar.d.ts +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nSlidebar.js +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nSlidebarValueContainer.d.ts +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nSlidebarValueContainer.js +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainer.d.ts +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainer.js +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.d.ts +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.js +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.d.ts +0 -0
- package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.js +0 -0
- package/dist/cjs/globalization/labels/common/index.d.ts +1 -2
- package/dist/cjs/globalization/labels/common/index.js +1 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +4 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
- package/dist/cjs/globalization/labels/{common → filters}/I18N_SLIDEBAR.js +0 -0
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
- package/dist/cjs/globalization/labels/{common → filters}/I18N_VALUE_CONTAINER.js +0 -0
- package/dist/cjs/globalization/labels/filters/index.d.ts +3 -1
- package/dist/cjs/globalization/labels/filters/index.js +3 -1
- package/dist/cjs/globalization/labels/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/index.js +1 -0
- package/dist/general/object/mergeDeep.js +6 -7
- package/dist/globalization/interfaces/common/index.d.ts +0 -5
- package/dist/globalization/interfaces/common/index.js +0 -5
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +4 -4
- package/dist/globalization/interfaces/{common → filters}/II18nSlidebar.d.ts +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nSlidebar.js +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nSlidebarValueContainer.d.ts +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nSlidebarValueContainer.js +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nValueContainer.d.ts +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nValueContainer.js +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.d.ts +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.js +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.d.ts +0 -0
- package/dist/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.js +0 -0
- package/dist/globalization/labels/common/index.d.ts +1 -2
- package/dist/globalization/labels/common/index.js +1 -2
- package/dist/globalization/labels/filters/I18N_FILTER.js +4 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -2
- package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
- package/dist/globalization/labels/{common → filters}/I18N_SLIDEBAR.js +0 -0
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
- package/dist/globalization/labels/{common → filters}/I18N_VALUE_CONTAINER.js +0 -0
- package/dist/globalization/labels/filters/index.d.ts +3 -1
- package/dist/globalization/labels/filters/index.js +3 -1
- package/dist/globalization/labels/index.d.ts +1 -0
- package/dist/globalization/labels/index.js +1 -0
- package/package.json +1 -1
- package/src/general/object/mergeDeep.ts +7 -8
- package/src/globalization/interfaces/common/index.ts +0 -5
- package/src/globalization/interfaces/filters/II18nFilter.ts +4 -4
- package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +0 -2
- package/src/globalization/interfaces/{common → filters}/II18nSlidebar.ts +0 -0
- package/src/globalization/interfaces/{common → filters}/II18nSlidebarValueContainer.ts +0 -0
- package/src/globalization/interfaces/{common → filters}/II18nValueContainer.ts +0 -0
- package/src/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.ts +0 -0
- package/src/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.ts +0 -0
- package/src/globalization/labels/common/index.ts +2 -2
- package/src/globalization/labels/filters/I18N_FILTER.ts +4 -0
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -2
- package/src/globalization/labels/{common → filters}/I18N_SLIDEBAR.ts +1 -1
- package/src/globalization/labels/{common → filters}/I18N_VALUE_CONTAINER.ts +1 -1
- package/src/globalization/labels/filters/index.ts +5 -1
- package/src/globalization/labels/index.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_VALUE_CONTAINER.d.ts +0 -2
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-8*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -80,64 +80,6 @@ Get a text and evaluate if it matchs with a token box label.
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
### dist/dates/range/getDateRange.js
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
#### getDateRange(value, dateGroupLabel, withTime)
|
|
87
|
-
|
|
88
|
-
Get date range object from a string date value
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
##### Parameters
|
|
94
|
-
|
|
95
|
-
| Name | Type | Description | |
|
|
96
|
-
| ---- | ---- | ----------- | -------- |
|
|
97
|
-
| value | `String` | string date value | |
|
|
98
|
-
| dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' | |
|
|
99
|
-
| withTime | `Boolean` | determines if the date range will include time. Default is true | |
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
##### Examples
|
|
105
|
-
|
|
106
|
-
```javascript
|
|
107
|
-
// 1) Year:
|
|
108
|
-
getDateRange('2020', 'YEAR');
|
|
109
|
-
// Will return:
|
|
110
|
-
{
|
|
111
|
-
from: '01/01/2020 00:00:00',
|
|
112
|
-
to: '12/31/2020 23:59:59'
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// 2) Quarter:
|
|
116
|
-
getDateRange('Q3 2020', 'QUARTER');
|
|
117
|
-
// Will return:
|
|
118
|
-
{
|
|
119
|
-
from: '07/01/2020 00:00:00',
|
|
120
|
-
to: '09/30/2020 23:59:59'
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// 3) Month:
|
|
124
|
-
getDateRange('Oct 2020', 'MONTH');
|
|
125
|
-
// Will return:
|
|
126
|
-
{
|
|
127
|
-
from: '10/01/2020 00:00:00',
|
|
128
|
-
to: '10/31/2020 23:59:59'
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
##### Returns
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
- `Object` an object with the date range with two string date properties: from and to
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
83
|
### dist/dates/relative/Adapter.js
|
|
142
84
|
|
|
143
85
|
|
|
@@ -351,68 +293,12 @@ Output:
|
|
|
351
293
|
|
|
352
294
|
|
|
353
295
|
|
|
354
|
-
### dist/
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
#### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
|
|
358
|
-
|
|
359
|
-
[TODO: Make a proper description for this function]
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
##### Parameters
|
|
365
|
-
|
|
366
|
-
| Name | Type | Description | |
|
|
367
|
-
| ---- | ---- | ----------- | -------- |
|
|
368
|
-
| chartSettings | | Chart Settings for the Filter Builder | |
|
|
369
|
-
| scopes | | | |
|
|
370
|
-
| currentScope | | | |
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
##### Returns
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
### dist/filters/helpers/getAvailableScopes.js
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
#### getAvailableScopes(config)
|
|
387
|
-
|
|
388
|
-
Gets Scopes/Scope IDs by given IDs
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
##### Parameters
|
|
394
|
-
|
|
395
|
-
| Name | Type | Description | |
|
|
396
|
-
| ---- | ---- | ----------- | -------- |
|
|
397
|
-
| config | | given Differnts IDs in order set a available scope | |
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
##### Returns
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
- a Scopes/Scope IDs array
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
### dist/filters/helpers/getAvailableScopesIDsByConfig.js
|
|
296
|
+
### dist/dates/range/getDateRange.js
|
|
411
297
|
|
|
412
298
|
|
|
413
|
-
####
|
|
299
|
+
#### getDateRange(value, dateGroupLabel, withTime)
|
|
414
300
|
|
|
415
|
-
|
|
301
|
+
Get date range object from a string date value
|
|
416
302
|
|
|
417
303
|
|
|
418
304
|
|
|
@@ -421,43 +307,46 @@ Gets the Scopes IDS for the Available Scope function by any config
|
|
|
421
307
|
|
|
422
308
|
| Name | Type | Description | |
|
|
423
309
|
| ---- | ---- | ----------- | -------- |
|
|
424
|
-
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
##### Returns
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
- a Available Scope IDS config
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
### dist/filters/helpers/getScopesByHierarchy.js
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
#### getScopesByHierarchy(scopes, currentScope)
|
|
441
|
-
|
|
442
|
-
[TODO: Make a description for this]
|
|
310
|
+
| value | `String` | string date value | |
|
|
311
|
+
| dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' | |
|
|
312
|
+
| withTime | `Boolean` | determines if the date range will include time. Default is true | |
|
|
443
313
|
|
|
444
314
|
|
|
445
315
|
|
|
446
316
|
|
|
447
|
-
#####
|
|
317
|
+
##### Examples
|
|
448
318
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
319
|
+
```javascript
|
|
320
|
+
// 1) Year:
|
|
321
|
+
getDateRange('2020', 'YEAR');
|
|
322
|
+
// Will return:
|
|
323
|
+
{
|
|
324
|
+
from: '01/01/2020 00:00:00',
|
|
325
|
+
to: '12/31/2020 23:59:59'
|
|
326
|
+
}
|
|
453
327
|
|
|
328
|
+
// 2) Quarter:
|
|
329
|
+
getDateRange('Q3 2020', 'QUARTER');
|
|
330
|
+
// Will return:
|
|
331
|
+
{
|
|
332
|
+
from: '07/01/2020 00:00:00',
|
|
333
|
+
to: '09/30/2020 23:59:59'
|
|
334
|
+
}
|
|
454
335
|
|
|
336
|
+
// 3) Month:
|
|
337
|
+
getDateRange('Oct 2020', 'MONTH');
|
|
338
|
+
// Will return:
|
|
339
|
+
{
|
|
340
|
+
from: '10/01/2020 00:00:00',
|
|
341
|
+
to: '10/31/2020 23:59:59'
|
|
342
|
+
}
|
|
343
|
+
```
|
|
455
344
|
|
|
456
345
|
|
|
457
346
|
##### Returns
|
|
458
347
|
|
|
459
348
|
|
|
460
|
-
-
|
|
349
|
+
- `Object` an object with the date range with two string date properties: from and to
|
|
461
350
|
|
|
462
351
|
|
|
463
352
|
|
|
@@ -1312,6 +1201,117 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
|
1312
1201
|
|
|
1313
1202
|
|
|
1314
1203
|
|
|
1204
|
+
### dist/filters/helpers/applyHierarchyForAggFilters.js
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
#### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
|
|
1208
|
+
|
|
1209
|
+
[TODO: Make a proper description for this function]
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
##### Parameters
|
|
1215
|
+
|
|
1216
|
+
| Name | Type | Description | |
|
|
1217
|
+
| ---- | ---- | ----------- | -------- |
|
|
1218
|
+
| chartSettings | | Chart Settings for the Filter Builder | |
|
|
1219
|
+
| scopes | | | |
|
|
1220
|
+
| currentScope | | | |
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
##### Returns
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
-
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
### dist/filters/helpers/getAvailableScopes.js
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
#### getAvailableScopes(config)
|
|
1237
|
+
|
|
1238
|
+
Gets Scopes/Scope IDs by given IDs
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
##### Parameters
|
|
1244
|
+
|
|
1245
|
+
| Name | Type | Description | |
|
|
1246
|
+
| ---- | ---- | ----------- | -------- |
|
|
1247
|
+
| config | | given Differnts IDs in order set a available scope | |
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
##### Returns
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
- a Scopes/Scope IDs array
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
### dist/filters/helpers/getAvailableScopesIDsByConfig.js
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
#### getAvailableScopesIDsByConfig(config)
|
|
1264
|
+
|
|
1265
|
+
Gets the Scopes IDS for the Available Scope function by any config
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
##### Parameters
|
|
1271
|
+
|
|
1272
|
+
| Name | Type | Description | |
|
|
1273
|
+
| ---- | ---- | ----------- | -------- |
|
|
1274
|
+
| config | | any config | |
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
##### Returns
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
- a Available Scope IDS config
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
### dist/filters/helpers/getScopesByHierarchy.js
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
#### getScopesByHierarchy(scopes, currentScope)
|
|
1291
|
+
|
|
1292
|
+
[TODO: Make a description for this]
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
##### Parameters
|
|
1298
|
+
|
|
1299
|
+
| Name | Type | Description | |
|
|
1300
|
+
| ---- | ---- | ----------- | -------- |
|
|
1301
|
+
| scopes | | the collection of Scopes/Scope IDs | |
|
|
1302
|
+
| currentScope | | Current scope type | |
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
##### Returns
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
- A new array of Scopes/Scope IDs
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
1315
|
### dist/general/array/delete.js
|
|
1316
1316
|
|
|
1317
1317
|
|
|
@@ -2260,12 +2260,12 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2260
2260
|
|
|
2261
2261
|
|
|
2262
2262
|
|
|
2263
|
-
### dist/services/api/
|
|
2263
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2264
2264
|
|
|
2265
2265
|
|
|
2266
|
-
####
|
|
2266
|
+
#### getAllQrveys(config, params)
|
|
2267
2267
|
|
|
2268
|
-
|
|
2268
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2269
2269
|
|
|
2270
2270
|
|
|
2271
2271
|
|
|
@@ -2274,7 +2274,8 @@ Get a dataset by Qrvey ID
|
|
|
2274
2274
|
|
|
2275
2275
|
| Name | Type | Description | |
|
|
2276
2276
|
| ---- | ---- | ----------- | -------- |
|
|
2277
|
-
|
|
|
2277
|
+
| config | | Configuration | |
|
|
2278
|
+
| params | | Object for getting precise data | |
|
|
2278
2279
|
|
|
2279
2280
|
|
|
2280
2281
|
|
|
@@ -2282,17 +2283,17 @@ Get a dataset by Qrvey ID
|
|
|
2282
2283
|
##### Returns
|
|
2283
2284
|
|
|
2284
2285
|
|
|
2285
|
-
-
|
|
2286
|
+
- `Void`
|
|
2286
2287
|
|
|
2287
2288
|
|
|
2288
2289
|
|
|
2289
2290
|
|
|
2290
|
-
### dist/services/api/
|
|
2291
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2291
2292
|
|
|
2292
2293
|
|
|
2293
|
-
####
|
|
2294
|
+
#### getDatasetColumns(qrveyid)
|
|
2294
2295
|
|
|
2295
|
-
|
|
2296
|
+
Get a dataset by Qrvey ID
|
|
2296
2297
|
|
|
2297
2298
|
|
|
2298
2299
|
|
|
@@ -2301,8 +2302,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2301
2302
|
|
|
2302
2303
|
| Name | Type | Description | |
|
|
2303
2304
|
| ---- | ---- | ----------- | -------- |
|
|
2304
|
-
|
|
|
2305
|
-
| params | | Object for getting precise data | |
|
|
2305
|
+
| qrveyid | | The Qrvey ID | |
|
|
2306
2306
|
|
|
2307
2307
|
|
|
2308
2308
|
|
|
@@ -2310,7 +2310,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2310
2310
|
##### Returns
|
|
2311
2311
|
|
|
2312
2312
|
|
|
2313
|
-
-
|
|
2313
|
+
- a promise
|
|
2314
2314
|
|
|
2315
2315
|
|
|
2316
2316
|
|
|
@@ -2858,12 +2858,12 @@ Returns a filter builder config object by a any given config
|
|
|
2858
2858
|
|
|
2859
2859
|
|
|
2860
2860
|
|
|
2861
|
-
### dist/filters/helpers/common/
|
|
2861
|
+
### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
|
|
2862
2862
|
|
|
2863
2863
|
|
|
2864
|
-
####
|
|
2864
|
+
#### excludeFiltersByAggregateColumn(filterData)
|
|
2865
2865
|
|
|
2866
|
-
|
|
2866
|
+
Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
|
|
2867
2867
|
|
|
2868
2868
|
|
|
2869
2869
|
|
|
@@ -2872,8 +2872,7 @@ Validates if both filters are the same
|
|
|
2872
2872
|
|
|
2873
2873
|
| Name | Type | Description | |
|
|
2874
2874
|
| ---- | ---- | ----------- | -------- |
|
|
2875
|
-
|
|
|
2876
|
-
| filter2 | | filter 2 | |
|
|
2875
|
+
| filterData | | The filter data object | |
|
|
2877
2876
|
|
|
2878
2877
|
|
|
2879
2878
|
|
|
@@ -2881,17 +2880,17 @@ Validates if both filters are the same
|
|
|
2881
2880
|
##### Returns
|
|
2882
2881
|
|
|
2883
2882
|
|
|
2884
|
-
-
|
|
2883
|
+
- The new filter data object that were excluded the aggregate filters
|
|
2885
2884
|
|
|
2886
2885
|
|
|
2887
2886
|
|
|
2888
2887
|
|
|
2889
|
-
### dist/filters/helpers/common/
|
|
2888
|
+
### dist/filters/helpers/common/areFiltersEquals.js
|
|
2890
2889
|
|
|
2891
2890
|
|
|
2892
|
-
####
|
|
2891
|
+
#### areFiltersEquals(filter1, filter2)
|
|
2893
2892
|
|
|
2894
|
-
|
|
2893
|
+
Validates if both filters are the same
|
|
2895
2894
|
|
|
2896
2895
|
|
|
2897
2896
|
|
|
@@ -2900,7 +2899,8 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
2900
2899
|
|
|
2901
2900
|
| Name | Type | Description | |
|
|
2902
2901
|
| ---- | ---- | ----------- | -------- |
|
|
2903
|
-
|
|
|
2902
|
+
| filter1 | | filter 1 | |
|
|
2903
|
+
| filter2 | | filter 2 | |
|
|
2904
2904
|
|
|
2905
2905
|
|
|
2906
2906
|
|
|
@@ -2908,7 +2908,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
2908
2908
|
##### Returns
|
|
2909
2909
|
|
|
2910
2910
|
|
|
2911
|
-
-
|
|
2911
|
+
- true: the filters are equal; false: the filters are NOT equal
|
|
2912
2912
|
|
|
2913
2913
|
|
|
2914
2914
|
|
|
@@ -3097,12 +3097,21 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
|
|
|
3097
3097
|
|
|
3098
3098
|
|
|
3099
3099
|
|
|
3100
|
-
### dist/filters/helpers/common/
|
|
3100
|
+
### dist/filters/helpers/common/getFiltersByParams.js
|
|
3101
3101
|
|
|
3102
3102
|
|
|
3103
|
-
####
|
|
3103
|
+
#### getFiltersByParams(filterData, params)
|
|
3104
3104
|
|
|
3105
|
-
|
|
3105
|
+
Gets filters from the given params.
|
|
3106
|
+
The validation to filter the stored filter is depending on:
|
|
3107
|
+
- Column
|
|
3108
|
+
- Qrvey ID
|
|
3109
|
+
- Scope type
|
|
3110
|
+
- Scope ID
|
|
3111
|
+
- Panel ID
|
|
3112
|
+
- Validator type
|
|
3113
|
+
- Property type
|
|
3114
|
+
- Enabled flags
|
|
3106
3115
|
|
|
3107
3116
|
|
|
3108
3117
|
|
|
@@ -3111,8 +3120,8 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3111
3120
|
|
|
3112
3121
|
| Name | Type | Description | |
|
|
3113
3122
|
| ---- | ---- | ----------- | -------- |
|
|
3114
|
-
| filterData | | The Filter Data | |
|
|
3115
|
-
|
|
|
3123
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3124
|
+
| params | | given parameters to validate the dataset | |
|
|
3116
3125
|
|
|
3117
3126
|
|
|
3118
3127
|
|
|
@@ -3120,26 +3129,17 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3120
3129
|
##### Returns
|
|
3121
3130
|
|
|
3122
3131
|
|
|
3123
|
-
-
|
|
3132
|
+
- a new Filter object structure
|
|
3124
3133
|
|
|
3125
3134
|
|
|
3126
3135
|
|
|
3127
3136
|
|
|
3128
|
-
### dist/filters/helpers/common/
|
|
3137
|
+
### dist/filters/helpers/common/getFiltersByScopes.js
|
|
3129
3138
|
|
|
3130
3139
|
|
|
3131
|
-
####
|
|
3140
|
+
#### getFiltersByScopes(filterData, scopes)
|
|
3132
3141
|
|
|
3133
|
-
|
|
3134
|
-
The validation to filter the stored filter is depending on:
|
|
3135
|
-
- Column
|
|
3136
|
-
- Qrvey ID
|
|
3137
|
-
- Scope type
|
|
3138
|
-
- Scope ID
|
|
3139
|
-
- Panel ID
|
|
3140
|
-
- Validator type
|
|
3141
|
-
- Property type
|
|
3142
|
-
- Enabled flags
|
|
3142
|
+
Filters and gets a Filter Data by the given scopes
|
|
3143
3143
|
|
|
3144
3144
|
|
|
3145
3145
|
|
|
@@ -3148,8 +3148,8 @@ The validation to filter the stored filter is depending on:
|
|
|
3148
3148
|
|
|
3149
3149
|
| Name | Type | Description | |
|
|
3150
3150
|
| ---- | ---- | ----------- | -------- |
|
|
3151
|
-
| filterData | | The Filter Data
|
|
3152
|
-
|
|
|
3151
|
+
| filterData | | The Filter Data | |
|
|
3152
|
+
| scopes | | collection of scopes types | |
|
|
3153
3153
|
|
|
3154
3154
|
|
|
3155
3155
|
|
|
@@ -3157,7 +3157,7 @@ The validation to filter the stored filter is depending on:
|
|
|
3157
3157
|
##### Returns
|
|
3158
3158
|
|
|
3159
3159
|
|
|
3160
|
-
-
|
|
3160
|
+
- The new Filter Data
|
|
3161
3161
|
|
|
3162
3162
|
|
|
3163
3163
|
|
|
@@ -3682,12 +3682,12 @@ Resolves the conditions by given params
|
|
|
3682
3682
|
|
|
3683
3683
|
|
|
3684
3684
|
|
|
3685
|
-
### dist/filters/helpers/ui/
|
|
3685
|
+
### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
|
|
3686
3686
|
|
|
3687
3687
|
|
|
3688
|
-
####
|
|
3688
|
+
#### excludeUIFiltersByAggregate(uFilters)
|
|
3689
3689
|
|
|
3690
|
-
Excludes
|
|
3690
|
+
Excludes Aggregate Filters in the Flattened UI Filters array
|
|
3691
3691
|
|
|
3692
3692
|
|
|
3693
3693
|
|
|
@@ -3696,8 +3696,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3696
3696
|
|
|
3697
3697
|
| Name | Type | Description | |
|
|
3698
3698
|
| ---- | ---- | ----------- | -------- |
|
|
3699
|
-
| uFilters | |
|
|
3700
|
-
| scopes | | collection of scopes types | |
|
|
3699
|
+
| uFilters | | Collection of Flat UI Filters | |
|
|
3701
3700
|
|
|
3702
3701
|
|
|
3703
3702
|
|
|
@@ -3705,17 +3704,17 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3705
3704
|
##### Returns
|
|
3706
3705
|
|
|
3707
3706
|
|
|
3708
|
-
-
|
|
3707
|
+
- a new Flat UI Filters that were excluded the aggregate filters
|
|
3709
3708
|
|
|
3710
3709
|
|
|
3711
3710
|
|
|
3712
3711
|
|
|
3713
|
-
### dist/filters/helpers/ui/
|
|
3712
|
+
### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
|
|
3714
3713
|
|
|
3715
3714
|
|
|
3716
|
-
####
|
|
3715
|
+
#### excludeUIFlatFiltersByScopes(uFilters, scopes)
|
|
3717
3716
|
|
|
3718
|
-
Excludes
|
|
3717
|
+
Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
3719
3718
|
|
|
3720
3719
|
|
|
3721
3720
|
|
|
@@ -3724,7 +3723,8 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
3724
3723
|
|
|
3725
3724
|
| Name | Type | Description | |
|
|
3726
3725
|
| ---- | ---- | ----------- | -------- |
|
|
3727
|
-
| uFilters | |
|
|
3726
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3727
|
+
| scopes | | collection of scopes types | |
|
|
3728
3728
|
|
|
3729
3729
|
|
|
3730
3730
|
|
|
@@ -3732,7 +3732,7 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
3732
3732
|
##### Returns
|
|
3733
3733
|
|
|
3734
3734
|
|
|
3735
|
-
-
|
|
3735
|
+
- The new array of UI Flattened filters
|
|
3736
3736
|
|
|
3737
3737
|
|
|
3738
3738
|
|
|
@@ -15,18 +15,17 @@ function mergeDeep(obj1, obj2, settings) {
|
|
|
15
15
|
settings = getParamsToMergeDeep(settings);
|
|
16
16
|
if (!isValid(obj1, obj2))
|
|
17
17
|
return (0, objectCopy_1.objectCopy)(obj1);
|
|
18
|
-
const result = {};
|
|
19
|
-
for (const i in obj1) {
|
|
18
|
+
const result = {};
|
|
19
|
+
for (const i in obj1) {
|
|
20
20
|
if (i != null && i in obj2 && (0, isObject_1.isObject)(obj1[i])) {
|
|
21
|
-
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
21
|
+
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
22
22
|
}
|
|
23
23
|
else {
|
|
24
|
-
result[i] = obj1[i];
|
|
24
|
+
result[i] = obj1[i];
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
for (const i in obj2) {
|
|
28
|
-
if (i != null && !(0, isObject_1.isObject)(obj2[i]) && (i in result && settings.
|
|
29
|
-
|| !(i in result) && settings.mergeMissingProperties)) { //conflict
|
|
27
|
+
for (const i in obj2) {
|
|
28
|
+
if (i != null && ((!(0, isObject_1.isObject)(obj2[i]) && i in result && settings.mergeExistingValues) || (!(i in result) && settings.mergeMissingProperties))) {
|
|
30
29
|
result[i] = obj2[i];
|
|
31
30
|
}
|
|
32
31
|
}
|
|
@@ -4,8 +4,3 @@ export * from './II18nChartInfoMessagesCrosstab';
|
|
|
4
4
|
export * from './II18nChartInfoMessagesDefault';
|
|
5
5
|
export * from './II18nChartInfoMessagesTableChart';
|
|
6
6
|
export * from './II18nColumnTypes';
|
|
7
|
-
export * from './II18nSlidebar';
|
|
8
|
-
export * from './II18nSlidebarValueContainer';
|
|
9
|
-
export * from './II18nValueContainer';
|
|
10
|
-
export * from './II18nValueContainerSearchInput';
|
|
11
|
-
export * from './II18nValueContainerSearchInputEnterValue';
|
|
@@ -16,8 +16,3 @@ __exportStar(require("./II18nChartInfoMessagesCrosstab"), exports);
|
|
|
16
16
|
__exportStar(require("./II18nChartInfoMessagesDefault"), exports);
|
|
17
17
|
__exportStar(require("./II18nChartInfoMessagesTableChart"), exports);
|
|
18
18
|
__exportStar(require("./II18nColumnTypes"), exports);
|
|
19
|
-
__exportStar(require("./II18nSlidebar"), exports);
|
|
20
|
-
__exportStar(require("./II18nSlidebarValueContainer"), exports);
|
|
21
|
-
__exportStar(require("./II18nValueContainer"), exports);
|
|
22
|
-
__exportStar(require("./II18nValueContainerSearchInput"), exports);
|
|
23
|
-
__exportStar(require("./II18nValueContainerSearchInputEnterValue"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { II18nSlidebar } from "
|
|
2
|
-
import { II18nValueContainer } from "
|
|
1
|
+
import { II18nSlidebar } from "./II18nSlidebar";
|
|
2
|
+
import { II18nValueContainer } from "./II18nValueContainer";
|
|
3
3
|
import { II18nFilterValidator } from "./II18nFilterValidator";
|
|
4
4
|
export interface II18nFilter {
|
|
5
|
-
slidebar
|
|
5
|
+
slidebar: II18nSlidebar;
|
|
6
6
|
validators: II18nFilterValidator;
|
|
7
|
-
value_container
|
|
7
|
+
value_container: II18nValueContainer;
|
|
8
8
|
}
|
|
File without changes
|
|
File without changes
|
package/dist/cjs/globalization/interfaces/{common → filters}/II18nSlidebarValueContainer.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.d.ts
RENAMED
|
File without changes
|
package/dist/cjs/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./I18N_COMMON"), exports);
|
|
14
|
+
__exportStar(require("./I18N_AGGREGATE_LABEL"), exports);
|
|
14
15
|
__exportStar(require("./I18N_COLUMN_LABEL"), exports);
|
|
15
|
-
__exportStar(require("./I18N_SLIDEBAR"), exports);
|
|
16
|
-
__exportStar(require("./I18N_VALUE_CONTAINER"), exports);
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.I18N_FILTER = void 0;
|
|
4
4
|
const I18N_FILTER_VALIDATOR_1 = require("./I18N_FILTER_VALIDATOR");
|
|
5
|
+
const I18N_SLIDEBAR_1 = require("./I18N_SLIDEBAR");
|
|
6
|
+
const I18N_VALUE_CONTAINER_1 = require("./I18N_VALUE_CONTAINER");
|
|
5
7
|
exports.I18N_FILTER = {
|
|
8
|
+
slidebar: I18N_SLIDEBAR_1.I18N_SLIDEBAR,
|
|
6
9
|
validators: I18N_FILTER_VALIDATOR_1.I18N_FILTER_VALIDATOR,
|
|
10
|
+
value_container: I18N_VALUE_CONTAINER_1.I18N_VALUE_CONTAINER
|
|
7
11
|
};
|
|
@@ -14,8 +14,6 @@ exports.I18N_FILTER_BUILDER = {
|
|
|
14
14
|
date_sections: FILTER_DATE_SECTION_LABEL_1.FILTER_DATE_SECTION_LABEL,
|
|
15
15
|
divider_label: 'Is',
|
|
16
16
|
// properties: COLUMN_PROPERTY_LABEL, //In different location
|
|
17
|
-
// value_container: VALUES_CONTAINER, //In different location
|
|
18
|
-
// slidebar: SLIDEBAR, //In different location
|
|
19
17
|
selected_values_container: {
|
|
20
18
|
empty_message: 'No values added'
|
|
21
19
|
},
|
|
File without changes
|
|
File without changes
|
|
@@ -11,5 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./I18N_FILTER_BUILDER"), exports);
|
|
14
|
-
__exportStar(require("./I18N_FILTER"), exports);
|
|
15
14
|
__exportStar(require("./I18N_FILTER_VALIDATOR"), exports);
|
|
15
|
+
__exportStar(require("./I18N_FILTER"), exports);
|
|
16
|
+
__exportStar(require("./I18N_SLIDEBAR"), exports);
|
|
17
|
+
__exportStar(require("./I18N_VALUE_CONTAINER"), exports);
|
|
@@ -11,6 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./columns"), exports);
|
|
14
|
+
__exportStar(require("./common"), exports);
|
|
14
15
|
__exportStar(require("./dashboard"), exports);
|
|
15
16
|
__exportStar(require("./filters"), exports);
|
|
16
17
|
__exportStar(require("./panel"), exports);
|
|
@@ -12,18 +12,17 @@ export function mergeDeep(obj1, obj2, settings) {
|
|
|
12
12
|
settings = getParamsToMergeDeep(settings);
|
|
13
13
|
if (!isValid(obj1, obj2))
|
|
14
14
|
return objectCopy(obj1);
|
|
15
|
-
const result = {};
|
|
16
|
-
for (const i in obj1) {
|
|
15
|
+
const result = {};
|
|
16
|
+
for (const i in obj1) {
|
|
17
17
|
if (i != null && i in obj2 && isObject(obj1[i])) {
|
|
18
|
-
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
18
|
+
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
19
19
|
}
|
|
20
20
|
else {
|
|
21
|
-
result[i] = obj1[i];
|
|
21
|
+
result[i] = obj1[i];
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
for (const i in obj2) {
|
|
25
|
-
if (i != null && !isObject(obj2[i]) && (i in result && settings.
|
|
26
|
-
|| !(i in result) && settings.mergeMissingProperties)) { //conflict
|
|
24
|
+
for (const i in obj2) {
|
|
25
|
+
if (i != null && ((!isObject(obj2[i]) && i in result && settings.mergeExistingValues) || (!(i in result) && settings.mergeMissingProperties))) {
|
|
27
26
|
result[i] = obj2[i];
|
|
28
27
|
}
|
|
29
28
|
}
|
|
@@ -4,8 +4,3 @@ export * from './II18nChartInfoMessagesCrosstab';
|
|
|
4
4
|
export * from './II18nChartInfoMessagesDefault';
|
|
5
5
|
export * from './II18nChartInfoMessagesTableChart';
|
|
6
6
|
export * from './II18nColumnTypes';
|
|
7
|
-
export * from './II18nSlidebar';
|
|
8
|
-
export * from './II18nSlidebarValueContainer';
|
|
9
|
-
export * from './II18nValueContainer';
|
|
10
|
-
export * from './II18nValueContainerSearchInput';
|
|
11
|
-
export * from './II18nValueContainerSearchInputEnterValue';
|
|
@@ -4,8 +4,3 @@ export * from './II18nChartInfoMessagesCrosstab';
|
|
|
4
4
|
export * from './II18nChartInfoMessagesDefault';
|
|
5
5
|
export * from './II18nChartInfoMessagesTableChart';
|
|
6
6
|
export * from './II18nColumnTypes';
|
|
7
|
-
export * from './II18nSlidebar';
|
|
8
|
-
export * from './II18nSlidebarValueContainer';
|
|
9
|
-
export * from './II18nValueContainer';
|
|
10
|
-
export * from './II18nValueContainerSearchInput';
|
|
11
|
-
export * from './II18nValueContainerSearchInputEnterValue';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { II18nSlidebar } from "
|
|
2
|
-
import { II18nValueContainer } from "
|
|
1
|
+
import { II18nSlidebar } from "./II18nSlidebar";
|
|
2
|
+
import { II18nValueContainer } from "./II18nValueContainer";
|
|
3
3
|
import { II18nFilterValidator } from "./II18nFilterValidator";
|
|
4
4
|
export interface II18nFilter {
|
|
5
|
-
slidebar
|
|
5
|
+
slidebar: II18nSlidebar;
|
|
6
6
|
validators: II18nFilterValidator;
|
|
7
|
-
value_container
|
|
7
|
+
value_container: II18nValueContainer;
|
|
8
8
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/globalization/interfaces/{common → filters}/II18nValueContainerSearchInput.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.js
RENAMED
|
File without changes
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { I18N_FILTER_VALIDATOR } from "./I18N_FILTER_VALIDATOR";
|
|
2
|
+
import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
|
|
3
|
+
import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
|
|
2
4
|
export const I18N_FILTER = {
|
|
5
|
+
slidebar: I18N_SLIDEBAR,
|
|
3
6
|
validators: I18N_FILTER_VALIDATOR,
|
|
7
|
+
value_container: I18N_VALUE_CONTAINER
|
|
4
8
|
};
|
|
@@ -11,8 +11,6 @@ export const I18N_FILTER_BUILDER = {
|
|
|
11
11
|
date_sections: FILTER_DATE_SECTION_LABEL,
|
|
12
12
|
divider_label: 'Is',
|
|
13
13
|
// properties: COLUMN_PROPERTY_LABEL, //In different location
|
|
14
|
-
// value_container: VALUES_CONTAINER, //In different location
|
|
15
|
-
// slidebar: SLIDEBAR, //In different location
|
|
16
14
|
selected_values_container: {
|
|
17
15
|
empty_message: 'No values added'
|
|
18
16
|
},
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -17,22 +17,21 @@ interface IMergeDeepSettings {
|
|
|
17
17
|
* @param settings Object settings for this function
|
|
18
18
|
* @returns a new merged object
|
|
19
19
|
*/
|
|
20
|
-
export function mergeDeep(obj1: any, obj2: any, settings?: IMergeDeepSettings) {
|
|
20
|
+
export function mergeDeep(obj1: any, obj2: any, settings?: IMergeDeepSettings) {
|
|
21
21
|
settings = getParamsToMergeDeep(settings);
|
|
22
22
|
|
|
23
23
|
if (!isValid(obj1, obj2)) return objectCopy(obj1);
|
|
24
24
|
|
|
25
|
-
const result = {};
|
|
26
|
-
for(const i in obj1){
|
|
25
|
+
const result = {};
|
|
26
|
+
for(const i in obj1){
|
|
27
27
|
if (i != null && i in obj2 && isObject(obj1[i])){
|
|
28
|
-
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
28
|
+
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
29
29
|
} else {
|
|
30
|
-
result[i] = obj1[i];
|
|
30
|
+
result[i] = obj1[i];
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
for(const i in obj2) {
|
|
34
|
-
if (i != null && !isObject(obj2[i]) && (i in result && settings.
|
|
35
|
-
|| !(i in result) && settings.mergeMissingProperties)) { //conflict
|
|
33
|
+
for(const i in obj2) {
|
|
34
|
+
if (i != null && ((!isObject(obj2[i]) && i in result && settings.mergeExistingValues) || (!(i in result) && settings.mergeMissingProperties))) {
|
|
36
35
|
result[i] = obj2[i];
|
|
37
36
|
}
|
|
38
37
|
}
|
|
@@ -6,8 +6,3 @@ export * from './II18nChartInfoMessagesCrosstab';
|
|
|
6
6
|
export * from './II18nChartInfoMessagesDefault';
|
|
7
7
|
export * from './II18nChartInfoMessagesTableChart';
|
|
8
8
|
export * from './II18nColumnTypes';
|
|
9
|
-
export * from './II18nSlidebar';
|
|
10
|
-
export * from './II18nSlidebarValueContainer';
|
|
11
|
-
export * from './II18nValueContainer';
|
|
12
|
-
export * from './II18nValueContainerSearchInput';
|
|
13
|
-
export * from './II18nValueContainerSearchInputEnterValue';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { II18nSlidebar } from "
|
|
2
|
-
import { II18nValueContainer } from "
|
|
1
|
+
import { II18nSlidebar } from "./II18nSlidebar";
|
|
2
|
+
import { II18nValueContainer } from "./II18nValueContainer";
|
|
3
3
|
import { II18nFilterValidator } from "./II18nFilterValidator";
|
|
4
4
|
|
|
5
5
|
export interface II18nFilter {
|
|
6
|
-
slidebar
|
|
6
|
+
slidebar: II18nSlidebar;
|
|
7
7
|
validators: II18nFilterValidator;
|
|
8
|
-
value_container
|
|
8
|
+
value_container: II18nValueContainer;
|
|
9
9
|
}
|
|
@@ -12,8 +12,6 @@ export interface II18nFilterBuilder {
|
|
|
12
12
|
date_sections: { [key in IFDateSection]: string };
|
|
13
13
|
divider_label: string;
|
|
14
14
|
// properties: { [key in IColumnPropertyType]: string }; // In different location
|
|
15
|
-
// values_container: VALUES_CONTAINER; // In different location
|
|
16
|
-
// slidebar: SLIDEBAR; // In different location
|
|
17
15
|
selected_values_container: II18nFilterBuilderSelectedValuesContainer;
|
|
18
16
|
info_container: II18nFilterBuilderInfoContainer;
|
|
19
17
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/globalization/interfaces/{common → filters}/II18nValueContainerSearchInputEnterValue.ts
RENAMED
|
File without changes
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { II18nFilter } from "../../interfaces/filters/II18nFilter";
|
|
2
2
|
import { I18N_FILTER_VALIDATOR } from "./I18N_FILTER_VALIDATOR";
|
|
3
|
+
import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
|
|
4
|
+
import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
|
|
3
5
|
|
|
4
6
|
export const I18N_FILTER: II18nFilter = {
|
|
7
|
+
slidebar: I18N_SLIDEBAR,
|
|
5
8
|
validators: I18N_FILTER_VALIDATOR,
|
|
9
|
+
value_container: I18N_VALUE_CONTAINER
|
|
6
10
|
};
|
|
@@ -13,8 +13,6 @@ export const I18N_FILTER_BUILDER: II18nFilterBuilder = {
|
|
|
13
13
|
date_sections: FILTER_DATE_SECTION_LABEL,
|
|
14
14
|
divider_label: 'Is',
|
|
15
15
|
// properties: COLUMN_PROPERTY_LABEL, //In different location
|
|
16
|
-
// value_container: VALUES_CONTAINER, //In different location
|
|
17
|
-
// slidebar: SLIDEBAR, //In different location
|
|
18
16
|
selected_values_container: {
|
|
19
17
|
empty_message: 'No values added'
|
|
20
18
|
},
|