igniteui-angular 18.2.0-alpha.1 → 18.2.0-alpha.2

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.
@@ -10,9 +10,13 @@ export declare class IgxFilteringOperand {
10
10
  constructor();
11
11
  static instance(): IgxFilteringOperand;
12
12
  /**
13
- * Returns an array of names of the conditions which are visible in the UI
13
+ * Returns an array of names of the conditions which are visible in the filtering UI
14
14
  */
15
15
  conditionList(): string[];
16
+ /**
17
+ * 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.
18
+ */
19
+ extendedConditionList(): string[];
16
20
  /**
17
21
  * Returns an instance of the condition with the specified name.
18
22
  *
@@ -28,7 +32,7 @@ export declare class IgxFilteringOperand {
28
32
  /**
29
33
  * @hidden
30
34
  */
31
- protected findValueInSet(target: any, searchVal: Set<any>): boolean;
35
+ findValueInSet(target: any, searchVal: Set<any>): boolean;
32
36
  }
33
37
  /**
34
38
  * Provides filtering operations for booleans
@@ -50,7 +54,10 @@ declare class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
50
54
  * @memberof IgxDateFilteringOperand
51
55
  */
52
56
  static getDateParts(date: Date, dateFormat?: string): IDateParts;
53
- protected findValueInSet(target: any, searchVal: Set<any>): boolean;
57
+ /**
58
+ * @hidden
59
+ */
60
+ findValueInSet(target: any, searchVal: Set<any>): boolean;
54
61
  protected validateInputData(target: Date): void;
55
62
  }
56
63
  /**
@@ -66,7 +73,10 @@ export declare class IgxDateTimeFilteringOperand extends IgxBaseDateTimeFilterin
66
73
  }
67
74
  export declare class IgxTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand {
68
75
  protected constructor();
69
- protected findValueInSet(target: any, searchVal: Set<any>): boolean;
76
+ /**
77
+ * @hidden
78
+ */
79
+ findValueInSet(target: any, searchVal: Set<any>): boolean;
70
80
  }
71
81
  /**
72
82
  * Provides filtering operations for numbers
@@ -429,6 +429,7 @@ export declare class IgxQueryBuilderTreeComponent implements AfterViewInit, OnDe
429
429
  isInEditMode(): boolean;
430
430
  onInEditModeChanged(expressionItem: ExpressionOperandItem): void;
431
431
  onSelectAllClicked(_event: any): void;
432
+ getSearchValueTemplateContext(): any;
432
433
  private setFormat;
433
434
  private setFilters;
434
435
  private onToggleExpression;
@@ -446,7 +447,6 @@ export declare class IgxQueryBuilderTreeComponent implements AfterViewInit, OnDe
446
447
  private deselectParentRecursive;
447
448
  private calculateContextMenuTarget;
448
449
  private scrollElementIntoView;
449
- private init;
450
450
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxQueryBuilderTreeComponent, never>;
451
451
  static ɵcmp: i0.ɵɵComponentDeclaration<IgxQueryBuilderTreeComponent, "igx-query-builder-tree", never, { "entities": { "alias": "entities"; "required": false; }; "searchValueTemplate": { "alias": "searchValueTemplate"; "required": false; }; "parentExpression": { "alias": "parentExpression"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "expressionTree": { "alias": "expressionTree"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "resourceStrings": { "alias": "resourceStrings"; "required": false; }; }, { "expressionTreeChange": "expressionTreeChange"; "inEditModeChange": "inEditModeChange"; }, ["headerContent"], never, true, never>;
452
452
  }
@@ -30,7 +30,14 @@ export declare class IgxQueryBuilderComponent implements OnDestroy {
30
30
  */
31
31
  display: string;
32
32
  entities: EntityType[];
33
- expressionTree: IExpressionTree;
33
+ /**
34
+ * Returns the expression tree.
35
+ */
36
+ get expressionTree(): IExpressionTree;
37
+ /**
38
+ * Sets the expression tree.
39
+ */
40
+ set expressionTree(expressionTree: IExpressionTree);
34
41
  /**
35
42
  * Gets the `locale` of the query builder.
36
43
  * If not set, defaults to application's locale.
@@ -57,6 +64,9 @@ export declare class IgxQueryBuilderComponent implements OnDestroy {
57
64
  * @hidden @internal
58
65
  */
59
66
  headerContent: IgxQueryBuilderHeaderComponent;
67
+ /**
68
+ * @hidden @internal
69
+ */
60
70
  searchValueTemplate: TemplateRef<any>;
61
71
  /**
62
72
  * @hidden @internal
@@ -64,6 +74,7 @@ export declare class IgxQueryBuilderComponent implements OnDestroy {
64
74
  queryTree: IgxQueryBuilderTreeComponent;
65
75
  private destroy$;
66
76
  private _resourceStrings;
77
+ private _expressionTree;
67
78
  constructor(iconService: IgxIconService);
68
79
  /**
69
80
  * @hidden @internal
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
9
9
  *
10
10
  * @example
11
11
  * <igx-query-builder>
12
- * <ng-template igxQueryBuilderSearchValue let-searchValue let-field="field" let-condition="condition">
13
- * <span>{{field.field}} {{condition}} {{searchValue}}</span>
12
+ * <ng-template igxQueryBuilderSearchValue let-expression="expression">
13
+ * <input type="text" required [(ngModel)]="expression.searchVal"/>
14
14
  * </ng-template>
15
15
  * </igx-query-builder>
16
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "18.2.0-alpha.1",
3
+ "version": "18.2.0-alpha.2",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",