@elderbyte/ngx-starter 16.4.5 → 16.4.7

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.
@@ -32,8 +32,7 @@ export declare class SearchContext {
32
32
  * Public API *
33
33
  * *
34
34
  **************************************************************************/
35
- private acceptDefaultFilters;
36
- updateDefaultFilters(filters: Filter[]): boolean;
35
+ updateUserFiltersSave(filters: Filter[]): void;
37
36
  updateUserFilters(filters: Filter[]): void;
38
37
  replaceUserFilters(filters: Filter[]): void;
39
38
  replaceForcedFilters(filters: Filter[]): void;
@@ -67,6 +67,7 @@ export declare class SearchInputState {
67
67
  * an array, it must not be empty.
68
68
  */
69
69
  get hasValue(): boolean;
70
+ get hasFallbackValue(): boolean;
70
71
  /***************************************************************************
71
72
  * *
72
73
  * Public Api *
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, DestroyRef, OnInit } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { SearchInput } from './domain/input/search-input';
4
4
  import { Filter } from '../../../common/data/filters/filter';
@@ -14,14 +14,14 @@ import * as i0 from "@angular/core";
14
14
  * It also binds the SearchContext to a FilterContext (DataContext).
15
15
  * TODO Maybe separate this??
16
16
  */
17
- export declare class ElderSearchContextDirective implements OnInit, OnDestroy, AfterViewInit {
17
+ export declare class ElderSearchContextDirective implements OnInit, AfterViewInit {
18
+ private readonly destroyRef;
18
19
  /***************************************************************************
19
20
  * *
20
21
  * Fields *
21
22
  * *
22
23
  **************************************************************************/
23
24
  private readonly log;
24
- private readonly destroy$;
25
25
  private readonly filtersToApplyAtRegistration;
26
26
  private readonly _searchInputs$;
27
27
  private readonly _searchStates$;
@@ -33,7 +33,7 @@ export declare class ElderSearchContextDirective implements OnInit, OnDestroy, A
33
33
  * Constructor *
34
34
  * *
35
35
  **************************************************************************/
36
- constructor(searchContextService: SearchContextService);
36
+ constructor(searchContextService: SearchContextService, destroyRef: DestroyRef);
37
37
  /***************************************************************************
38
38
  * *
39
39
  * Life Cycle *
@@ -41,7 +41,6 @@ export declare class ElderSearchContextDirective implements OnInit, OnDestroy, A
41
41
  **************************************************************************/
42
42
  ngOnInit(): void;
43
43
  ngAfterViewInit(): void;
44
- ngOnDestroy(): void;
45
44
  /***************************************************************************
46
45
  * *
47
46
  * Properties *
@@ -1,11 +1,11 @@
1
- import { AfterViewInit, OnDestroy, OnInit } from "@angular/core";
2
- import { ElderSearchContextDirective } from "./elder-search-context.directive";
3
- import { Observable } from "rxjs/internal/Observable";
4
- import { NgModel } from "@angular/forms";
5
- import { SearchInput } from "./domain/input/search-input";
6
- import { SearchInputState } from "./domain/input/search-input-state";
7
- import { LocalPagedDataSource } from "../../../common/data/datasource/local/local-paged-data-source";
8
- import { BooleanInput } from "@angular/cdk/coercion";
1
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
+ import { ElderSearchContextDirective } from './elder-search-context.directive';
3
+ import { Observable } from 'rxjs/internal/Observable';
4
+ import { NgModel } from '@angular/forms';
5
+ import { SearchInput } from './domain/input/search-input';
6
+ import { SearchInputState } from './domain/input/search-input-state';
7
+ import { LocalPagedDataSource } from '../../../common/data/datasource/local/local-paged-data-source';
8
+ import { BooleanInput } from '@angular/cdk/coercion';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
11
11
  * Search name adapter for input controls.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "16.4.5",
3
+ "version": "16.4.7",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^16.0.0 || ^17.0.0",