@@ -48,11 +48,12 @@ export class IgxFilteringOperand {
48
48
* Returns an array of names of the conditions which are visible in the filtering UI
49
49
*/
50
50
public conditionList ( ) : string [ ] {
51
- return this . operations . filter ( f => ! f . hidden && ! f . isNestedQuery ) . map ( ( element ) => element . name ) ;
51
+ return this . operations . filter ( f => ! f . hidden && ! f . isNestedQuery ) . map ( ( element ) => element . name ) ;
52
52
}
53
53
54
54
/**
55
55
* Returns an array of names of the conditions which are visible in the UI, including "In" and "Not In", allowing the creation of sub-queries.
56
+ * @hidden @internal
56
57
*/
57
58
public extendedConditionList ( ) : string [ ] {
58
59
return this . operations . filter ( f => ! f . hidden ) . map ( ( element ) => element . name ) ;
@@ -76,10 +77,7 @@ export class IgxFilteringOperand {
76
77
this . operations . push ( operation ) ;
77
78
}
78
79
79
- /**
80
- * @hidden
81
- */
82
- public findValueInSet ( target : any , searchVal : Set < any > ) {
80
+ protected findValueInSet ( target : any , searchVal : Set < any > ) {
83
81
return searchVal . has ( target ) ;
84
82
}
85
83
}
@@ -119,7 +117,7 @@ export class IgxBooleanFilteringOperand extends IgxFilteringOperand {
119
117
iconName : 'filter_not_empty' ,
120
118
logic : ( target : boolean ) => target !== null && target !== undefined
121
119
} ] ;
122
-
120
+
123
121
this . operations = newOperations . concat ( this . operations ) ;
124
122
}
125
123
}
@@ -143,7 +141,7 @@ class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
143
141
iconName : 'filter_not_empty' ,
144
142
logic : ( target : Date ) => target !== null && target !== undefined
145
143
} ] ;
146
-
144
+
147
145
this . operations = newOperations . concat ( this . operations ) ;
148
146
}
149
147
@@ -189,10 +187,7 @@ class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
189
187
return res ;
190
188
}
191
189
192
- /**
193
- * @hidden
194
- */
195
- public override findValueInSet ( target : any , searchVal : Set < any > ) {
190
+ protected override findValueInSet ( target : any , searchVal : Set < any > ) {
196
191
if ( ! target ) {
197
192
return false ;
198
193
}
@@ -416,11 +411,11 @@ export class IgxDateFilteringOperand extends IgxBaseDateTimeFilteringOperand {
416
411
return d . year === now . year + 1 ;
417
412
}
418
413
} ] ;
419
-
414
+
420
415
this . operations = newOperations . concat ( this . operations ) ;
421
416
}
422
417
423
- public override findValueInSet ( target : any , searchVal : Set < any > ) {
418
+ protected override findValueInSet ( target : any , searchVal : Set < any > ) {
424
419
if ( ! target ) {
425
420
return false ;
426
421
}
@@ -637,7 +632,7 @@ export class IgxDateTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand
637
632
return d . year === now . year + 1 ;
638
633
}
639
634
} ] ;
640
-
635
+
641
636
this . operations = newOperations . concat ( this . operations ) ;
642
637
}
643
638
}
@@ -741,14 +736,11 @@ export class IgxTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand {
741
736
true : targetn . hours === search . hours && targetn . minutes === search . minutes && targetn . seconds > search . seconds ;
742
737
}
743
738
} ] ;
744
-
739
+
745
740
this . operations = newOperations . concat ( this . operations ) ;
746
741
}
747
742
748
- /**
749
- * @hidden
750
- */
751
- public override findValueInSet ( target : any , searchVal : Set < any > ) {
743
+ protected override findValueInSet ( target : any , searchVal : Set < any > ) {
752
744
if ( ! target ) {
753
745
return false ;
754
746
}
@@ -806,7 +798,7 @@ export class IgxNumberFilteringOperand extends IgxFilteringOperand {
806
798
iconName : 'filter_not_empty' ,
807
799
logic : ( target : number ) => target !== null && target !== undefined && ! isNaN ( target )
808
800
} ] ;
809
-
801
+
810
802
this . operations = newOperations . concat ( this . operations ) ;
811
803
}
812
804
}
@@ -885,7 +877,7 @@ export class IgxStringFilteringOperand extends IgxFilteringOperand {
885
877
iconName : 'filter_not_empty' ,
886
878
logic : ( target : string ) => target !== null && target !== undefined && target . length > 0
887
879
} ] ;
888
-
880
+
889
881
this . operations = newOperations . concat ( this . operations ) ;
890
882
}
891
883
0 commit comments