@nettyapps/ntybase 21.0.35-beta.7 → 21.0.35-beta.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Injectable, inject, NgModule, signal, input, output, computed, effect, ViewChild, model, Input, InjectionToken, Optional, Inject } from '@angular/core';
|
|
2
|
+
import { Component, Injectable, inject, NgModule, signal, input, output, computed, linkedSignal, effect, ViewChild, model, Input, InjectionToken, Optional, Inject } from '@angular/core';
|
|
3
3
|
import * as i1$3 from '@angular/common/http';
|
|
4
4
|
import { HttpErrorResponse, HttpResponse, HTTP_INTERCEPTORS, HttpClient, HttpHeaders } from '@angular/common/http';
|
|
5
5
|
import { of, throwError, Subject, lastValueFrom, map, catchError as catchError$1, finalize, take as take$1, takeUntil } from 'rxjs';
|
|
@@ -1762,15 +1762,16 @@ class NettyAgGridListBase extends NettyAgGridBase {
|
|
|
1762
1762
|
// Filter section
|
|
1763
1763
|
hasFilter = input(false, ...(ngDevMode ? [{ debugName: "hasFilter" }] : [])); // Does the component have a filter
|
|
1764
1764
|
isFilterValid = signal(true, ...(ngDevMode ? [{ debugName: "isFilterValid" }] : [])); // Can the filter be used
|
|
1765
|
-
isFilterExpanded =
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1765
|
+
isFilterExpanded = linkedSignal({ ...(ngDevMode ? { debugName: "isFilterExpanded" } : {}), source: () => ({
|
|
1766
|
+
embedded: this.isEmbedded(),
|
|
1767
|
+
hasFilter: this.hasFilter(),
|
|
1768
|
+
valid: this.isFilterValid(),
|
|
1769
|
+
}),
|
|
1770
|
+
computation: (s) => {
|
|
1771
|
+
if (s.embedded || !s.hasFilter)
|
|
1772
|
+
return false;
|
|
1773
|
+
return s.valid;
|
|
1774
|
+
} });
|
|
1774
1775
|
// Open component management
|
|
1775
1776
|
openEditComponentInPopup = signal(false, ...(ngDevMode ? [{ debugName: "openEditComponentInPopup" }] : []));
|
|
1776
1777
|
// Services
|