@qrvey/utils 1.2.9-12 → 1.2.9-13

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 CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-12*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-13*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -2785,12 +2785,12 @@ try to find this string as a variable on Windows object
2785
2785
 
2786
2786
 
2787
2787
 
2788
- ### dist/typescript/decorators/Debounce.js
2788
+ ### dist/typescript/decorators/Throttled.js
2789
2789
 
2790
2790
 
2791
- #### Debounce(time)
2791
+ #### Throttled(time)
2792
2792
 
2793
- (Method Decorator) Debounce Class Method
2793
+ (Method Decorator) Throttled Class Method
2794
2794
 
2795
2795
 
2796
2796
 
@@ -2812,12 +2812,12 @@ try to find this string as a variable on Windows object
2812
2812
 
2813
2813
 
2814
2814
 
2815
- ### dist/typescript/decorators/Throttled.js
2815
+ ### dist/typescript/decorators/Debounce.js
2816
2816
 
2817
2817
 
2818
- #### Throttled(time)
2818
+ #### Debounce(time)
2819
2819
 
2820
- (Method Decorator) Throttled Class Method
2820
+ (Method Decorator) Debounce Class Method
2821
2821
 
2822
2822
 
2823
2823
 
@@ -3244,12 +3244,12 @@ Returns a filter builder config object by a any given config
3244
3244
 
3245
3245
 
3246
3246
 
3247
- ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
3247
+ ### dist/filters/helpers/common/areFiltersEquals.js
3248
3248
 
3249
3249
 
3250
- #### excludeUIFiltersByAggregate(uFilters)
3250
+ #### areFiltersEquals(filter1, filter2)
3251
3251
 
3252
- Excludes Aggregate Filters in the Flattened UI Filters array
3252
+ Validates if both filters are the same
3253
3253
 
3254
3254
 
3255
3255
 
@@ -3258,7 +3258,8 @@ Excludes Aggregate Filters in the Flattened UI Filters array
3258
3258
 
3259
3259
  | Name | Type | Description | |
3260
3260
  | ---- | ---- | ----------- | -------- |
3261
- | uFilters | | Collection of Flat UI Filters |   |
3261
+ | filter1 | | filter 1 |   |
3262
+ | filter2 | | filter 2 |   |
3262
3263
 
3263
3264
 
3264
3265
 
@@ -3266,17 +3267,17 @@ Excludes Aggregate Filters in the Flattened UI Filters array
3266
3267
  ##### Returns
3267
3268
 
3268
3269
 
3269
- - a new Flat UI Filters that were excluded the aggregate filters
3270
+ - true: the filters are equal; false: the filters are NOT equal
3270
3271
 
3271
3272
 
3272
3273
 
3273
3274
 
3274
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
3275
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3275
3276
 
3276
3277
 
3277
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
3278
+ #### excludeFiltersByAggregateColumn(filterData)
3278
3279
 
3279
- Excludes and returns a UI Flat Filters without filters by the given scopes
3280
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3280
3281
 
3281
3282
 
3282
3283
 
@@ -3285,8 +3286,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
3285
3286
 
3286
3287
  | Name | Type | Description | |
3287
3288
  | ---- | ---- | ----------- | -------- |
3288
- | uFilters | | The Flatten UI Filters |   |
3289
- | scopes | | collection of scopes types |   |
3289
+ | filterData | | The filter data object |   |
3290
3290
 
3291
3291
 
3292
3292
 
@@ -3294,17 +3294,26 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
3294
3294
  ##### Returns
3295
3295
 
3296
3296
 
3297
- - The new array of UI Flattened filters
3297
+ - The new filter data object that were excluded the aggregate filters
3298
3298
 
3299
3299
 
3300
3300
 
3301
3301
 
3302
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
3302
+ ### dist/filters/helpers/common/excludeFiltersByParams.js
3303
3303
 
3304
3304
 
3305
- #### getFilterPropertyLabel(filter)
3305
+ #### excludeFiltersByParams(filterData, params)
3306
3306
 
3307
- Gets the label of the filter property
3307
+ Excludes filters from the given Filters.
3308
+ The validation to filter the stored filter is depending on:
3309
+ - Column
3310
+ - Qrvey ID
3311
+ - Scope type
3312
+ - Scope ID
3313
+ - Panel ID
3314
+ - Validator type
3315
+ - Property type
3316
+ - Enabled flags
3308
3317
 
3309
3318
 
3310
3319
 
@@ -3313,7 +3322,8 @@ Gets the label of the filter property
3313
3322
 
3314
3323
  | Name | Type | Description | |
3315
3324
  | ---- | ---- | ----------- | -------- |
3316
- | filter | | The UI Filter |   |
3325
+ | filterData | | The Filter Data or the UI Filter Data |   |
3326
+ | params | | given parameters to validate the filter data |   |
3317
3327
 
3318
3328
 
3319
3329
 
@@ -3321,17 +3331,17 @@ Gets the label of the filter property
3321
3331
  ##### Returns
3322
3332
 
3323
3333
 
3324
- - a string of the filter property label
3334
+ - a new Filter object structure
3325
3335
 
3326
3336
 
3327
3337
 
3328
3338
 
3329
- ### dist/filters/helpers/ui/getOutputFormatByColumn.js
3339
+ ### dist/filters/helpers/common/excludeFiltersByScopes.js
3330
3340
 
3331
3341
 
3332
- #### getOutputFormatByColumn(column, datasets)
3342
+ #### excludeFiltersByScopes(filterData, scopes)
3333
3343
 
3334
- Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
3344
+ Excludes and returns a filter data without filters by the given scopes
3335
3345
 
3336
3346
 
3337
3347
 
@@ -3340,8 +3350,8 @@ Gets output format object from Datasets by the given column. Item of the dataset
3340
3350
 
3341
3351
  | Name | Type | Description | |
3342
3352
  | ---- | ---- | ----------- | -------- |
3343
- | column | | The column |   |
3344
- | datasets | | array of datasets |   |
3353
+ | filterData | | The Filter Data |   |
3354
+ | scopes | | collection of scopes to be as filtering parameters |   |
3345
3355
 
3346
3356
 
3347
3357
 
@@ -3349,74 +3359,82 @@ Gets output format object from Datasets by the given column. Item of the dataset
3349
3359
  ##### Returns
3350
3360
 
3351
3361
 
3352
- - The output format object
3362
+ - The new Filter Data without filters by the given scopes.
3353
3363
 
3354
3364
 
3355
3365
 
3356
3366
 
3357
- ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
3367
+ ### dist/filters/helpers/common/getFilterColumnLabel.js
3358
3368
 
3359
3369
 
3360
- #### getUIFlatFilterByParams()
3370
+ #### getFilterColumnLabel(column)
3361
3371
 
3362
- Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3363
- The validation to filter the stored filter is depending on:
3364
- - Column
3365
- - Qrvey ID,
3366
- - Scope type
3367
- - Scope ID
3368
- - Panel ID
3369
- - Validator type
3370
- - Property type
3372
+ Get an string of the properties of the given filter column.
3371
3373
 
3372
3374
 
3373
3375
 
3374
3376
 
3377
+ ##### Parameters
3378
+
3379
+ | Name | Type | Description | |
3380
+ | ---- | ---- | ----------- | -------- |
3381
+ | column | | The filter column |   |
3382
+
3383
+
3375
3384
 
3376
3385
 
3377
3386
  ##### Returns
3378
3387
 
3379
3388
 
3380
- - The index of the uFilter array or the Filter object s
3389
+ - an string with the property, aggregate or calculation label.
3381
3390
 
3382
3391
 
3383
3392
 
3384
3393
 
3385
- ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
3394
+ ### dist/filters/helpers/common/getFilterLabel.js
3386
3395
 
3387
3396
 
3388
- #### getUIFlatFiltersByParams()
3397
+ #### getFilterLabel(filter)
3389
3398
 
3390
- Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3391
- The validation to filter the stored filter is depending on:
3392
- - Column
3393
- - Qrvey ID,
3394
- - Scope type
3395
- - Scope ID
3396
- - Panel ID
3397
- - Validator type
3398
- - Property type
3399
- - Enabled flags
3399
+ Gets the Filter Label + Column label
3400
3400
 
3401
3401
 
3402
3402
 
3403
3403
 
3404
+ ##### Parameters
3405
+
3406
+ | Name | Type | Description | |
3407
+ | ---- | ---- | ----------- | -------- |
3408
+ | filter | | the UI filter |   |
3409
+
3410
+
3404
3411
 
3405
3412
 
3406
3413
  ##### Returns
3407
3414
 
3408
3415
 
3409
- - The index of the uFilter array or the Filter object s
3416
+ - a sring label
3410
3417
 
3411
3418
 
3412
3419
 
3413
3420
 
3414
- ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
3421
+ ### dist/filters/helpers/common/getFilterid.js
3415
3422
 
3416
3423
 
3417
- #### getUIFlatFiltersByScopes(uFilters, scopes)
3424
+ #### getFilterid(filter)
3418
3425
 
3419
- Filters and gets a UI Flatten Filters by the given scopes
3426
+ Get the Filter ID by the filter structure
3427
+ The order of the epression ID is:
3428
+ - Scope Type
3429
+ - scopeid
3430
+ - qrveyid
3431
+ - panelid
3432
+ - columnid
3433
+ - validator
3434
+ - property
3435
+ - Column Aggregate
3436
+ - Column Calculation
3437
+ - Optional Index
3420
3438
 
3421
3439
 
3422
3440
 
@@ -3425,8 +3443,7 @@ Filters and gets a UI Flatten Filters by the given scopes
3425
3443
 
3426
3444
  | Name | Type | Description | |
3427
3445
  | ---- | ---- | ----------- | -------- |
3428
- | uFilters | | The Flatten UI Filters |   |
3429
- | scopes | | collection of scopes types |   |
3446
+ | filter | | the filter structure |   |
3430
3447
 
3431
3448
 
3432
3449
 
@@ -3434,17 +3451,17 @@ Filters and gets a UI Flatten Filters by the given scopes
3434
3451
  ##### Returns
3435
3452
 
3436
3453
 
3437
- - The new array of UI Flattened filters
3438
-
3454
+ - a text to identify the filter
3439
3455
 
3440
3456
 
3441
3457
 
3442
- ### dist/filters/helpers/ui/getUIValues.js
3443
3458
 
3459
+ ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3444
3460
 
3445
- #### getUIValues(filter, addEnableds, rankingGroupIndex)
3446
3461
 
3462
+ #### getFiltersByAggregateColumn(filterData)
3447
3463
 
3464
+ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3448
3465
 
3449
3466
 
3450
3467
 
@@ -3453,9 +3470,7 @@ Filters and gets a UI Flatten Filters by the given scopes
3453
3470
 
3454
3471
  | Name | Type | Description | |
3455
3472
  | ---- | ---- | ----------- | -------- |
3456
- | filter | | |   |
3457
- | addEnableds | | |   |
3458
- | rankingGroupIndex | | |   |
3473
+ | filterData | | The filter data object |   |
3459
3474
 
3460
3475
 
3461
3476
 
@@ -3463,17 +3478,26 @@ Filters and gets a UI Flatten Filters by the given scopes
3463
3478
  ##### Returns
3464
3479
 
3465
3480
 
3466
- -
3481
+ - The new filter data object that were get the aggregate filters
3467
3482
 
3468
3483
 
3469
3484
 
3470
3485
 
3471
- ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
3486
+ ### dist/filters/helpers/common/getFiltersByParams.js
3472
3487
 
3473
3488
 
3474
- #### resolveUIFlatFilterByParams(filter, params)
3489
+ #### getFiltersByParams(filterData, params)
3475
3490
 
3476
- Resolves conditions between UI flattened filter and given parameters
3491
+ Gets filters from the given params.
3492
+ The validation to filter the stored filter is depending on:
3493
+ - Column
3494
+ - Qrvey ID
3495
+ - Scope type
3496
+ - Scope ID
3497
+ - Panel ID
3498
+ - Validator type
3499
+ - Property type
3500
+ - Enabled flags
3477
3501
 
3478
3502
 
3479
3503
 
@@ -3482,8 +3506,8 @@ Resolves conditions between UI flattened filter and given parameters
3482
3506
 
3483
3507
  | Name | Type | Description | |
3484
3508
  | ---- | ---- | ----------- | -------- |
3485
- | filter | | UI Flatten Filter |   |
3486
- | params | | Parameters to validate |   |
3509
+ | filterData | | The Filter Data or the UI Filter Data |   |
3510
+ | params | | given parameters to validate the dataset |   |
3487
3511
 
3488
3512
 
3489
3513
 
@@ -3491,17 +3515,17 @@ Resolves conditions between UI flattened filter and given parameters
3491
3515
  ##### Returns
3492
3516
 
3493
3517
 
3494
- - true: the conditions are satisfied.
3518
+ - a new Filter object structure
3495
3519
 
3496
3520
 
3497
3521
 
3498
3522
 
3499
- ### dist/filters/helpers/common/areFiltersEquals.js
3523
+ ### dist/filters/helpers/common/getFiltersByScopes.js
3500
3524
 
3501
3525
 
3502
- #### areFiltersEquals(filter1, filter2)
3526
+ #### getFiltersByScopes(filterData, scopes)
3503
3527
 
3504
- Validates if both filters are the same
3528
+ Filters and gets a Filter Data by the given scopes
3505
3529
 
3506
3530
 
3507
3531
 
@@ -3510,8 +3534,8 @@ Validates if both filters are the same
3510
3534
 
3511
3535
  | Name | Type | Description | |
3512
3536
  | ---- | ---- | ----------- | -------- |
3513
- | filter1 | | filter 1 |   |
3514
- | filter2 | | filter 2 |   |
3537
+ | filterData | | The Filter Data |   |
3538
+ | scopes | | collection of scopes types |   |
3515
3539
 
3516
3540
 
3517
3541
 
@@ -3519,17 +3543,17 @@ Validates if both filters are the same
3519
3543
  ##### Returns
3520
3544
 
3521
3545
 
3522
- - true: the filters are equal; false: the filters are NOT equal
3546
+ - The new Filter Data
3523
3547
 
3524
3548
 
3525
3549
 
3526
3550
 
3527
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3551
+ ### dist/filters/helpers/common/getFiltersByScopesIds.js
3528
3552
 
3529
3553
 
3530
- #### excludeFiltersByAggregateColumn(filterData)
3554
+ #### getFiltersByScopesIds(filterData, scopes)
3531
3555
 
3532
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3556
+ Gets filters from Filter Data by Scopes/Scope IDs.
3533
3557
 
3534
3558
 
3535
3559
 
@@ -3538,7 +3562,8 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3538
3562
 
3539
3563
  | Name | Type | Description | |
3540
3564
  | ---- | ---- | ----------- | -------- |
3541
- | filterData | | The filter data object |   |
3565
+ | filterData | | The filter data |   |
3566
+ | scopes | | The collection of Scopes/Scope IDs |   |
3542
3567
 
3543
3568
 
3544
3569
 
@@ -3546,26 +3571,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3546
3571
  ##### Returns
3547
3572
 
3548
3573
 
3549
- - The new filter data object that were excluded the aggregate filters
3574
+ - a new Filter Data
3550
3575
 
3551
3576
 
3552
3577
 
3553
3578
 
3554
- ### dist/filters/helpers/common/excludeFiltersByParams.js
3579
+ ### dist/filters/helpers/common/getFiltersByVisibility.js
3555
3580
 
3556
3581
 
3557
- #### excludeFiltersByParams(filterData, params)
3582
+ #### getFiltersByVisibility(filterData, scopes)
3558
3583
 
3559
- Excludes filters from the given Filters.
3560
- The validation to filter the stored filter is depending on:
3561
- - Column
3562
- - Qrvey ID
3563
- - Scope type
3564
- - Scope ID
3565
- - Panel ID
3566
- - Validator type
3567
- - Property type
3568
- - Enabled flags
3584
+ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3569
3585
 
3570
3586
 
3571
3587
 
@@ -3574,8 +3590,8 @@ The validation to filter the stored filter is depending on:
3574
3590
 
3575
3591
  | Name | Type | Description | |
3576
3592
  | ---- | ---- | ----------- | -------- |
3577
- | filterData | | The Filter Data or the UI Filter Data |   |
3578
- | params | | given parameters to validate the filter data |   |
3593
+ | filterData | | a Filter Data or UI Filter Data |   |
3594
+ | scopes | | a Scopes/Scope IDs array |   |
3579
3595
 
3580
3596
 
3581
3597
 
@@ -3583,17 +3599,17 @@ The validation to filter the stored filter is depending on:
3583
3599
  ##### Returns
3584
3600
 
3585
3601
 
3586
- - a new Filter object structure
3602
+ - a new Filter Data
3587
3603
 
3588
3604
 
3589
3605
 
3590
3606
 
3591
- ### dist/filters/helpers/common/excludeFiltersByScopes.js
3607
+ ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3592
3608
 
3593
3609
 
3594
- #### excludeFiltersByScopes(filterData, scopes)
3610
+ #### getParamsToGetFilterSettings(settings)
3595
3611
 
3596
- Excludes and returns a filter data without filters by the given scopes
3612
+ Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3597
3613
 
3598
3614
 
3599
3615
 
@@ -3602,8 +3618,7 @@ Excludes and returns a filter data without filters by the given scopes
3602
3618
 
3603
3619
  | Name | Type | Description | |
3604
3620
  | ---- | ---- | ----------- | -------- |
3605
- | filterData | | The Filter Data |   |
3606
- | scopes | | collection of scopes to be as filtering parameters |   |
3621
+ | settings | | an object to the ParamsToGetFilter settings |   |
3607
3622
 
3608
3623
 
3609
3624
 
@@ -3611,17 +3626,17 @@ Excludes and returns a filter data without filters by the given scopes
3611
3626
  ##### Returns
3612
3627
 
3613
3628
 
3614
- - The new Filter Data without filters by the given scopes.
3629
+ - a new ParamsToGetFilter settings object.
3615
3630
 
3616
3631
 
3617
3632
 
3618
3633
 
3619
- ### dist/filters/helpers/common/getFilterColumnLabel.js
3634
+ ### dist/filters/helpers/common/getMergeFiltersSettings.js
3620
3635
 
3621
3636
 
3622
- #### getFilterColumnLabel(column)
3637
+ #### getMergeFiltersSettings(settings)
3623
3638
 
3624
- Get an string of the properties of the given filter column.
3639
+ Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3625
3640
 
3626
3641
 
3627
3642
 
@@ -3630,7 +3645,7 @@ Get an string of the properties of the given filter column.
3630
3645
 
3631
3646
  | Name | Type | Description | |
3632
3647
  | ---- | ---- | ----------- | -------- |
3633
- | column | | The filter column |   |
3648
+ | settings | | an object to the MergeFilters settings |   |
3634
3649
 
3635
3650
 
3636
3651
 
@@ -3638,17 +3653,17 @@ Get an string of the properties of the given filter column.
3638
3653
  ##### Returns
3639
3654
 
3640
3655
 
3641
- - an string with the property, aggregate or calculation label.
3656
+ - a new MergeFilters settings object.
3642
3657
 
3643
3658
 
3644
3659
 
3645
3660
 
3646
- ### dist/filters/helpers/common/getFilterLabel.js
3661
+ ### dist/filters/helpers/common/haveFiltersByDataset.js
3647
3662
 
3648
3663
 
3649
- #### getFilterLabel(filter)
3664
+ #### haveFiltersByDataset(filterData, qrveyid)
3650
3665
 
3651
- Gets the Filter Label + Column label
3666
+ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3652
3667
 
3653
3668
 
3654
3669
 
@@ -3657,7 +3672,8 @@ Gets the Filter Label + Column label
3657
3672
 
3658
3673
  | Name | Type | Description | |
3659
3674
  | ---- | ---- | ----------- | -------- |
3660
- | filter | | the UI filter |   |
3675
+ | filterData | | the filter data or the UI filter data. |   |
3676
+ | qrveyid | | The Qrvey ID |   |
3661
3677
 
3662
3678
 
3663
3679
 
@@ -3665,28 +3681,17 @@ Gets the Filter Label + Column label
3665
3681
  ##### Returns
3666
3682
 
3667
3683
 
3668
- - a sring label
3684
+ - true: the filter data has filters by the Qrvey ID
3669
3685
 
3670
3686
 
3671
3687
 
3672
3688
 
3673
- ### dist/filters/helpers/common/getFilterid.js
3689
+ ### dist/filters/helpers/common/isBetweenValidator.js
3674
3690
 
3675
3691
 
3676
- #### getFilterid(filter)
3692
+ #### isBetweenValidator(validator)
3677
3693
 
3678
- Get the Filter ID by the filter structure
3679
- The order of the epression ID is:
3680
- - Scope Type
3681
- - scopeid
3682
- - qrveyid
3683
- - panelid
3684
- - columnid
3685
- - validator
3686
- - property
3687
- - Column Aggregate
3688
- - Column Calculation
3689
- - Optional Index
3694
+ Validates if the given validator is a Between type
3690
3695
 
3691
3696
 
3692
3697
 
@@ -3695,7 +3700,7 @@ The order of the epression ID is:
3695
3700
 
3696
3701
  | Name | Type | Description | |
3697
3702
  | ---- | ---- | ----------- | -------- |
3698
- | filter | | the filter structure |   |
3703
+ | validator | | The validator |   |
3699
3704
 
3700
3705
 
3701
3706
 
@@ -3703,17 +3708,17 @@ The order of the epression ID is:
3703
3708
  ##### Returns
3704
3709
 
3705
3710
 
3706
- - a text to identify the filter
3711
+ - true: it is a between validator; false: it is not a between validator
3707
3712
 
3708
3713
 
3709
3714
 
3710
3715
 
3711
- ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3716
+ ### dist/filters/helpers/common/isDateDistinctProperty.js
3712
3717
 
3713
3718
 
3714
- #### getFiltersByAggregateColumn(filterData)
3719
+ #### isDateDistinctProperty(column, property)
3715
3720
 
3716
- Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3721
+ Determines if the filter column and property is a distinct group dates type
3717
3722
 
3718
3723
 
3719
3724
 
@@ -3722,7 +3727,8 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3722
3727
 
3723
3728
  | Name | Type | Description | |
3724
3729
  | ---- | ---- | ----------- | -------- |
3725
- | filterData | | The filter data object |   |
3730
+ | column | | The filter column |   |
3731
+ | property | | The filter property |   |
3726
3732
 
3727
3733
 
3728
3734
 
@@ -3730,26 +3736,17 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3730
3736
  ##### Returns
3731
3737
 
3732
3738
 
3733
- - The new filter data object that were get the aggregate filters
3739
+ - True if the given property is included from distinct group dates type
3734
3740
 
3735
3741
 
3736
3742
 
3737
3743
 
3738
- ### dist/filters/helpers/common/getFiltersByParams.js
3744
+ ### dist/filters/helpers/common/isInValidator.js
3739
3745
 
3740
3746
 
3741
- #### getFiltersByParams(filterData, params)
3747
+ #### isInValidator(validator)
3742
3748
 
3743
- Gets filters from the given params.
3744
- The validation to filter the stored filter is depending on:
3745
- - Column
3746
- - Qrvey ID
3747
- - Scope type
3748
- - Scope ID
3749
- - Panel ID
3750
- - Validator type
3751
- - Property type
3752
- - Enabled flags
3749
+ Validates if the given validator is a In type
3753
3750
 
3754
3751
 
3755
3752
 
@@ -3758,8 +3755,7 @@ The validation to filter the stored filter is depending on:
3758
3755
 
3759
3756
  | Name | Type | Description | |
3760
3757
  | ---- | ---- | ----------- | -------- |
3761
- | filterData | | The Filter Data or the UI Filter Data |   |
3762
- | params | | given parameters to validate the dataset |   |
3758
+ | validator | | The validator |   |
3763
3759
 
3764
3760
 
3765
3761
 
@@ -3767,17 +3763,17 @@ The validation to filter the stored filter is depending on:
3767
3763
  ##### Returns
3768
3764
 
3769
3765
 
3770
- - a new Filter object structure
3766
+ - true: it is a In validator; false: it is not a In validator
3771
3767
 
3772
3768
 
3773
3769
 
3774
3770
 
3775
- ### dist/filters/helpers/common/getFiltersByScopes.js
3771
+ ### dist/filters/helpers/common/isNullValidator.js
3776
3772
 
3777
3773
 
3778
- #### getFiltersByScopes(filterData, scopes)
3774
+ #### isNullValidator(validator)
3779
3775
 
3780
- Filters and gets a Filter Data by the given scopes
3776
+ Checks if the given validator is a Null type.
3781
3777
 
3782
3778
 
3783
3779
 
@@ -3786,8 +3782,7 @@ Filters and gets a Filter Data by the given scopes
3786
3782
 
3787
3783
  | Name | Type | Description | |
3788
3784
  | ---- | ---- | ----------- | -------- |
3789
- | filterData | | The Filter Data |   |
3790
- | scopes | | collection of scopes types |   |
3785
+ | validator | | The Filter Validator |   |
3791
3786
 
3792
3787
 
3793
3788
 
@@ -3795,17 +3790,17 @@ Filters and gets a Filter Data by the given scopes
3795
3790
  ##### Returns
3796
3791
 
3797
3792
 
3798
- - The new Filter Data
3793
+ - True: It is a Null Validator; False: It is not a Null Validator.
3799
3794
 
3800
3795
 
3801
3796
 
3802
3797
 
3803
- ### dist/filters/helpers/common/getFiltersByScopesIds.js
3798
+ ### dist/filters/helpers/common/isRangeValidator.js
3804
3799
 
3805
3800
 
3806
- #### getFiltersByScopesIds(filterData, scopes)
3801
+ #### isRangeValidator(validator)
3807
3802
 
3808
- Gets filters from Filter Data by Scopes/Scope IDs.
3803
+ Validates if the given validator is a Range type. Range type means the value has min and max values to filter
3809
3804
 
3810
3805
 
3811
3806
 
@@ -3814,8 +3809,7 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3814
3809
 
3815
3810
  | Name | Type | Description | |
3816
3811
  | ---- | ---- | ----------- | -------- |
3817
- | filterData | | The filter data |   |
3818
- | scopes | | The collection of Scopes/Scope IDs |   |
3812
+ | validator | | The filter validator |   |
3819
3813
 
3820
3814
 
3821
3815
 
@@ -3823,17 +3817,17 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3823
3817
  ##### Returns
3824
3818
 
3825
3819
 
3826
- - a new Filter Data
3820
+ - true: it is a range validator
3827
3821
 
3828
3822
 
3829
3823
 
3830
3824
 
3831
- ### dist/filters/helpers/common/getFiltersByVisibility.js
3825
+ ### dist/filters/helpers/common/isRegularValidator.js
3832
3826
 
3833
3827
 
3834
- #### getFiltersByVisibility(filterData, scopes)
3828
+ #### isRegularValidator(validator)
3835
3829
 
3836
- Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3830
+ Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3837
3831
 
3838
3832
 
3839
3833
 
@@ -3842,8 +3836,7 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3842
3836
 
3843
3837
  | Name | Type | Description | |
3844
3838
  | ---- | ---- | ----------- | -------- |
3845
- | filterData | | a Filter Data or UI Filter Data |   |
3846
- | scopes | | a Scopes/Scope IDs array |   |
3839
+ | validator | | The filter validator |   |
3847
3840
 
3848
3841
 
3849
3842
 
@@ -3851,17 +3844,17 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3851
3844
  ##### Returns
3852
3845
 
3853
3846
 
3854
- - a new Filter Data
3847
+ - true: it is a range validator
3855
3848
 
3856
3849
 
3857
3850
 
3858
3851
 
3859
- ### dist/filters/helpers/common/getMergeFiltersSettings.js
3852
+ ### dist/filters/helpers/common/mergeFilters.js
3860
3853
 
3861
3854
 
3862
- #### getMergeFiltersSettings(settings)
3855
+ #### mergeFilters(filterData1, filterData2, overwriteValues)
3863
3856
 
3864
- Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3857
+ Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
3865
3858
 
3866
3859
 
3867
3860
 
@@ -3870,7 +3863,9 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3870
3863
 
3871
3864
  | Name | Type | Description | |
3872
3865
  | ---- | ---- | ----------- | -------- |
3873
- | settings | | an object to the MergeFilters settings |   |
3866
+ | filterData1 | | The target filter data |   |
3867
+ | filterData2 | | the filter data to be merged |   |
3868
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3874
3869
 
3875
3870
 
3876
3871
 
@@ -3878,17 +3873,13 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3878
3873
  ##### Returns
3879
3874
 
3880
3875
 
3881
- - a new MergeFilters settings object.
3882
-
3883
-
3876
+ - a new filter data structure
3884
3877
 
3885
3878
 
3886
- ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3887
3879
 
3880
+ #### mergeScopes(scopes1, scopes2, overwriteValues)
3888
3881
 
3889
- #### getParamsToGetFilterSettings(settings)
3890
-
3891
- Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3882
+ Gets a new scope structure array by merging two scope structures
3892
3883
 
3893
3884
 
3894
3885
 
@@ -3897,7 +3888,9 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3897
3888
 
3898
3889
  | Name | Type | Description | |
3899
3890
  | ---- | ---- | ----------- | -------- |
3900
- | settings | | an object to the ParamsToGetFilter settings |   |
3891
+ | scopes1 | | the target scope structure |   |
3892
+ | scopes2 | | the scope to be merged |   |
3893
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3901
3894
 
3902
3895
 
3903
3896
 
@@ -3905,17 +3898,13 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3905
3898
  ##### Returns
3906
3899
 
3907
3900
 
3908
- - a new ParamsToGetFilter settings object.
3909
-
3910
-
3911
-
3901
+ - a new scope structure array
3912
3902
 
3913
- ### dist/filters/helpers/common/haveFiltersByDataset.js
3914
3903
 
3915
3904
 
3916
- #### haveFiltersByDataset(filterData, qrveyid)
3905
+ #### mergeDatasets(datasets1, datasets2, overwriteValues)
3917
3906
 
3918
- Validates if the filter data has filters by a dataset ID (Qrvey ID).
3907
+ Gets a new dataset structure array by merging two dataset structures
3919
3908
 
3920
3909
 
3921
3910
 
@@ -3924,8 +3913,9 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3924
3913
 
3925
3914
  | Name | Type | Description | |
3926
3915
  | ---- | ---- | ----------- | -------- |
3927
- | filterData | | the filter data or the UI filter data. |   |
3928
- | qrveyid | | The Qrvey ID |   |
3916
+ | datasets1 | | the target dataset structure |   |
3917
+ | datasets2 | | the dataset to be merged |   |
3918
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3929
3919
 
3930
3920
 
3931
3921
 
@@ -3933,17 +3923,13 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3933
3923
  ##### Returns
3934
3924
 
3935
3925
 
3936
- - true: the filter data has filters by the Qrvey ID
3937
-
3938
-
3939
-
3926
+ - a new dataset structure array
3940
3927
 
3941
- ### dist/filters/helpers/common/isBetweenValidator.js
3942
3928
 
3943
3929
 
3944
- #### isBetweenValidator(validator)
3930
+ #### mergeFilterss(filters1, filters2, overwriteValues)
3945
3931
 
3946
- Validates if the given validator is a Between type
3932
+ Gets a new filter structure array by merging two filter structures
3947
3933
 
3948
3934
 
3949
3935
 
@@ -3952,7 +3938,9 @@ Validates if the given validator is a Between type
3952
3938
 
3953
3939
  | Name | Type | Description | |
3954
3940
  | ---- | ---- | ----------- | -------- |
3955
- | validator | | The validator |   |
3941
+ | filters1 | | the target filter structure |   |
3942
+ | filters2 | | the filter to be merged |   |
3943
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3956
3944
 
3957
3945
 
3958
3946
 
@@ -3960,17 +3948,13 @@ Validates if the given validator is a Between type
3960
3948
  ##### Returns
3961
3949
 
3962
3950
 
3963
- - true: it is a between validator; false: it is not a between validator
3964
-
3965
-
3966
-
3951
+ - a new filter structure array
3967
3952
 
3968
- ### dist/filters/helpers/common/isDateDistinctProperty.js
3969
3953
 
3970
3954
 
3971
- #### isDateDistinctProperty(column, property)
3955
+ #### mergeValues(filter1, filter2, overwrite)
3972
3956
 
3973
- Determines if the filter column and property is a distinct group dates type
3957
+ Gets a new value structure array by merging two value structures
3974
3958
 
3975
3959
 
3976
3960
 
@@ -3979,8 +3963,9 @@ Determines if the filter column and property is a distinct group dates type
3979
3963
 
3980
3964
  | Name | Type | Description | |
3981
3965
  | ---- | ---- | ----------- | -------- |
3982
- | column | | The filter column |   |
3983
- | property | | The filter property |   |
3966
+ | filter1 | | the target filter structure |   |
3967
+ | filter2 | | the filter to be used to merge the values |   |
3968
+ | overwrite | | Flag to overwrite or not the filter values |   |
3984
3969
 
3985
3970
 
3986
3971
 
@@ -3988,17 +3973,17 @@ Determines if the filter column and property is a distinct group dates type
3988
3973
  ##### Returns
3989
3974
 
3990
3975
 
3991
- - True if the given property is included from distinct group dates type
3976
+ - a new value structure array
3992
3977
 
3993
3978
 
3994
3979
 
3995
3980
 
3996
- ### dist/filters/helpers/common/isInValidator.js
3981
+ ### dist/filters/helpers/common/resolveDatasetConditions.js
3997
3982
 
3998
3983
 
3999
- #### isInValidator(validator)
3984
+ #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4000
3985
 
4001
- Validates if the given validator is a In type
3986
+ Resolves the conditions by given params
4002
3987
 
4003
3988
 
4004
3989
 
@@ -4007,7 +3992,10 @@ Validates if the given validator is a In type
4007
3992
 
4008
3993
  | Name | Type | Description | |
4009
3994
  | ---- | ---- | ----------- | -------- |
4010
- | validator | | The validator |   |
3995
+ | filter | | The dataset structure |   |
3996
+ | params | | given parameters to validate the dataset |   |
3997
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3998
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
4011
3999
 
4012
4000
 
4013
4001
 
@@ -4015,17 +4003,17 @@ Validates if the given validator is a In type
4015
4003
  ##### Returns
4016
4004
 
4017
4005
 
4018
- - true: it is a In validator; false: it is not a In validator
4006
+ - true: the condition is satisfied
4019
4007
 
4020
4008
 
4021
4009
 
4022
4010
 
4023
- ### dist/filters/helpers/common/isNullValidator.js
4011
+ ### dist/filters/helpers/common/resolveFilterConditions.js
4024
4012
 
4025
4013
 
4026
- #### isNullValidator(validator)
4014
+ #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4027
4015
 
4028
- Checks if the given validator is a Null type.
4016
+ Resolves the conditions by given params
4029
4017
 
4030
4018
 
4031
4019
 
@@ -4034,7 +4022,10 @@ Checks if the given validator is a Null type.
4034
4022
 
4035
4023
  | Name | Type | Description | |
4036
4024
  | ---- | ---- | ----------- | -------- |
4037
- | validator | | The Filter Validator |   |
4025
+ | filter | | The filter |   |
4026
+ | params | | given parameters to validate the filter |   |
4027
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4028
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
4038
4029
 
4039
4030
 
4040
4031
 
@@ -4042,17 +4033,17 @@ Checks if the given validator is a Null type.
4042
4033
  ##### Returns
4043
4034
 
4044
4035
 
4045
- - True: It is a Null Validator; False: It is not a Null Validator.
4036
+ - true: the condition is satisfied
4046
4037
 
4047
4038
 
4048
4039
 
4049
4040
 
4050
- ### dist/filters/helpers/common/isRangeValidator.js
4041
+ ### dist/filters/helpers/common/resolveScopeConditions.js
4051
4042
 
4052
4043
 
4053
- #### isRangeValidator(validator)
4044
+ #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4054
4045
 
4055
- Validates if the given validator is a Range type. Range type means the value has min and max values to filter
4046
+ Resolves the conditions by given params
4056
4047
 
4057
4048
 
4058
4049
 
@@ -4061,7 +4052,10 @@ Validates if the given validator is a Range type. Range type means the value has
4061
4052
 
4062
4053
  | Name | Type | Description | |
4063
4054
  | ---- | ---- | ----------- | -------- |
4064
- | validator | | The filter validator |   |
4055
+ | filter | | The filter scope structure |   |
4056
+ | params | | given parameters to validate the filter |   |
4057
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4058
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
4065
4059
 
4066
4060
 
4067
4061
 
@@ -4069,17 +4063,17 @@ Validates if the given validator is a Range type. Range type means the value has
4069
4063
  ##### Returns
4070
4064
 
4071
4065
 
4072
- - true: it is a range validator
4066
+ - true: the condition is satisfied
4073
4067
 
4074
4068
 
4075
4069
 
4076
4070
 
4077
- ### dist/filters/helpers/common/isRegularValidator.js
4071
+ ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
4078
4072
 
4079
4073
 
4080
- #### isRegularValidator(validator)
4074
+ #### excludeUIFiltersByAggregate(uFilters)
4081
4075
 
4082
- Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
4076
+ Excludes Aggregate Filters in the Flattened UI Filters array
4083
4077
 
4084
4078
 
4085
4079
 
@@ -4088,7 +4082,7 @@ Validates if the given validator is a regular type. Regular type means the filte
4088
4082
 
4089
4083
  | Name | Type | Description | |
4090
4084
  | ---- | ---- | ----------- | -------- |
4091
- | validator | | The filter validator |   |
4085
+ | uFilters | | Collection of Flat UI Filters |   |
4092
4086
 
4093
4087
 
4094
4088
 
@@ -4096,17 +4090,17 @@ Validates if the given validator is a regular type. Regular type means the filte
4096
4090
  ##### Returns
4097
4091
 
4098
4092
 
4099
- - true: it is a range validator
4093
+ - a new Flat UI Filters that were excluded the aggregate filters
4100
4094
 
4101
4095
 
4102
4096
 
4103
4097
 
4104
- ### dist/filters/helpers/common/mergeFilters.js
4098
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4105
4099
 
4106
4100
 
4107
- #### mergeFilters(filterData1, filterData2, overwriteValues)
4101
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4108
4102
 
4109
- Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
4103
+ Excludes and returns a UI Flat Filters without filters by the given scopes
4110
4104
 
4111
4105
 
4112
4106
 
@@ -4115,9 +4109,8 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
4115
4109
 
4116
4110
  | Name | Type | Description | |
4117
4111
  | ---- | ---- | ----------- | -------- |
4118
- | filterData1 | | The target filter data |   |
4119
- | filterData2 | | the filter data to be merged |   |
4120
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4112
+ | uFilters | | The Flatten UI Filters |   |
4113
+ | scopes | | collection of scopes types |   |
4121
4114
 
4122
4115
 
4123
4116
 
@@ -4125,13 +4118,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
4125
4118
  ##### Returns
4126
4119
 
4127
4120
 
4128
- - a new filter data structure
4121
+ - The new array of UI Flattened filters
4129
4122
 
4130
4123
 
4131
4124
 
4132
- #### mergeScopes(scopes1, scopes2, overwriteValues)
4133
4125
 
4134
- Gets a new scope structure array by merging two scope structures
4126
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4127
+
4128
+
4129
+ #### getFilterPropertyLabel(filter)
4130
+
4131
+ Gets the label of the filter property
4135
4132
 
4136
4133
 
4137
4134
 
@@ -4140,9 +4137,7 @@ Gets a new scope structure array by merging two scope structures
4140
4137
 
4141
4138
  | Name | Type | Description | |
4142
4139
  | ---- | ---- | ----------- | -------- |
4143
- | scopes1 | | the target scope structure |   |
4144
- | scopes2 | | the scope to be merged |   |
4145
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4140
+ | filter | | The UI Filter |   |
4146
4141
 
4147
4142
 
4148
4143
 
@@ -4150,13 +4145,17 @@ Gets a new scope structure array by merging two scope structures
4150
4145
  ##### Returns
4151
4146
 
4152
4147
 
4153
- - a new scope structure array
4148
+ - a string of the filter property label
4154
4149
 
4155
4150
 
4156
4151
 
4157
- #### mergeDatasets(datasets1, datasets2, overwriteValues)
4158
4152
 
4159
- Gets a new dataset structure array by merging two dataset structures
4153
+ ### dist/filters/helpers/ui/getOutputFormatByColumn.js
4154
+
4155
+
4156
+ #### getOutputFormatByColumn(column, datasets)
4157
+
4158
+ Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
4160
4159
 
4161
4160
 
4162
4161
 
@@ -4165,9 +4164,8 @@ Gets a new dataset structure array by merging two dataset structures
4165
4164
 
4166
4165
  | Name | Type | Description | |
4167
4166
  | ---- | ---- | ----------- | -------- |
4168
- | datasets1 | | the target dataset structure |   |
4169
- | datasets2 | | the dataset to be merged |   |
4170
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4167
+ | column | | The column |   |
4168
+ | datasets | | array of datasets |   |
4171
4169
 
4172
4170
 
4173
4171
 
@@ -4175,24 +4173,27 @@ Gets a new dataset structure array by merging two dataset structures
4175
4173
  ##### Returns
4176
4174
 
4177
4175
 
4178
- - a new dataset structure array
4176
+ - The output format object
4179
4177
 
4180
4178
 
4181
4179
 
4182
- #### mergeFilterss(filters1, filters2, overwriteValues)
4183
4180
 
4184
- Gets a new filter structure array by merging two filter structures
4181
+ ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
4185
4182
 
4186
4183
 
4184
+ #### getUIFlatFilterByParams()
4187
4185
 
4186
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
4187
+ The validation to filter the stored filter is depending on:
4188
+ - Column
4189
+ - Qrvey ID,
4190
+ - Scope type
4191
+ - Scope ID
4192
+ - Panel ID
4193
+ - Validator type
4194
+ - Property type
4188
4195
 
4189
- ##### Parameters
4190
4196
 
4191
- | Name | Type | Description | |
4192
- | ---- | ---- | ----------- | -------- |
4193
- | filters1 | | the target filter structure |   |
4194
- | filters2 | | the filter to be merged |   |
4195
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4196
4197
 
4197
4198
 
4198
4199
 
@@ -4200,24 +4201,28 @@ Gets a new filter structure array by merging two filter structures
4200
4201
  ##### Returns
4201
4202
 
4202
4203
 
4203
- - a new filter structure array
4204
+ - The index of the uFilter array or the Filter object s
4204
4205
 
4205
4206
 
4206
4207
 
4207
- #### mergeValues(filter1, filter2, overwrite)
4208
4208
 
4209
- Gets a new value structure array by merging two value structures
4209
+ ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
4210
4210
 
4211
4211
 
4212
+ #### getUIFlatFiltersByParams()
4212
4213
 
4214
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
4215
+ The validation to filter the stored filter is depending on:
4216
+ - Column
4217
+ - Qrvey ID,
4218
+ - Scope type
4219
+ - Scope ID
4220
+ - Panel ID
4221
+ - Validator type
4222
+ - Property type
4223
+ - Enabled flags
4213
4224
 
4214
- ##### Parameters
4215
4225
 
4216
- | Name | Type | Description | |
4217
- | ---- | ---- | ----------- | -------- |
4218
- | filter1 | | the target filter structure |   |
4219
- | filter2 | | the filter to be used to merge the values |   |
4220
- | overwrite | | Flag to overwrite or not the filter values |   |
4221
4226
 
4222
4227
 
4223
4228
 
@@ -4225,17 +4230,17 @@ Gets a new value structure array by merging two value structures
4225
4230
  ##### Returns
4226
4231
 
4227
4232
 
4228
- - a new value structure array
4233
+ - The index of the uFilter array or the Filter object s
4229
4234
 
4230
4235
 
4231
4236
 
4232
4237
 
4233
- ### dist/filters/helpers/common/resolveDatasetConditions.js
4238
+ ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
4234
4239
 
4235
4240
 
4236
- #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4241
+ #### getUIFlatFiltersByScopes(uFilters, scopes)
4237
4242
 
4238
- Resolves the conditions by given params
4243
+ Filters and gets a UI Flatten Filters by the given scopes
4239
4244
 
4240
4245
 
4241
4246
 
@@ -4244,10 +4249,8 @@ Resolves the conditions by given params
4244
4249
 
4245
4250
  | Name | Type | Description | |
4246
4251
  | ---- | ---- | ----------- | -------- |
4247
- | filter | | The dataset structure |   |
4248
- | params | | given parameters to validate the dataset |   |
4249
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4250
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
4252
+ | uFilters | | The Flatten UI Filters |   |
4253
+ | scopes | | collection of scopes types |   |
4251
4254
 
4252
4255
 
4253
4256
 
@@ -4255,17 +4258,17 @@ Resolves the conditions by given params
4255
4258
  ##### Returns
4256
4259
 
4257
4260
 
4258
- - true: the condition is satisfied
4261
+ - The new array of UI Flattened filters
4259
4262
 
4260
4263
 
4261
4264
 
4262
4265
 
4263
- ### dist/filters/helpers/common/resolveFilterConditions.js
4266
+ ### dist/filters/helpers/ui/getUIValues.js
4264
4267
 
4265
4268
 
4266
- #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4269
+ #### getUIValues(filter, addEnableds, rankingGroupIndex)
4270
+
4267
4271
 
4268
- Resolves the conditions by given params
4269
4272
 
4270
4273
 
4271
4274
 
@@ -4274,10 +4277,9 @@ Resolves the conditions by given params
4274
4277
 
4275
4278
  | Name | Type | Description | |
4276
4279
  | ---- | ---- | ----------- | -------- |
4277
- | filter | | The filter |   |
4278
- | params | | given parameters to validate the filter |   |
4279
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4280
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
4280
+ | filter | | |   |
4281
+ | addEnableds | | |   |
4282
+ | rankingGroupIndex | | |   |
4281
4283
 
4282
4284
 
4283
4285
 
@@ -4285,17 +4287,17 @@ Resolves the conditions by given params
4285
4287
  ##### Returns
4286
4288
 
4287
4289
 
4288
- - true: the condition is satisfied
4290
+ -
4289
4291
 
4290
4292
 
4291
4293
 
4292
4294
 
4293
- ### dist/filters/helpers/common/resolveScopeConditions.js
4295
+ ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
4294
4296
 
4295
4297
 
4296
- #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4298
+ #### resolveUIFlatFilterByParams(filter, params)
4297
4299
 
4298
- Resolves the conditions by given params
4300
+ Resolves conditions between UI flattened filter and given parameters
4299
4301
 
4300
4302
 
4301
4303
 
@@ -4304,10 +4306,8 @@ Resolves the conditions by given params
4304
4306
 
4305
4307
  | Name | Type | Description | |
4306
4308
  | ---- | ---- | ----------- | -------- |
4307
- | filter | | The filter scope structure |   |
4308
- | params | | given parameters to validate the filter |   |
4309
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4310
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
4309
+ | filter | | UI Flatten Filter |   |
4310
+ | params | | Parameters to validate |   |
4311
4311
 
4312
4312
 
4313
4313
 
@@ -4315,7 +4315,7 @@ Resolves the conditions by given params
4315
4315
  ##### Returns
4316
4316
 
4317
4317
 
4318
- - true: the condition is satisfied
4318
+ - true: the conditions are satisfied.
4319
4319
 
4320
4320
 
4321
4321