@smartbit4all/ng-client 7.0.9 → 7.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "7.0.9",
3
+ "version": "7.0.10",
4
4
  "description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  import { HttpFeature, HttpFeatureKind, HttpParameterCodec, HttpClient, HttpHeaders, HttpContext, HttpResponse, HttpEvent, HttpErrorResponse } from '@angular/common/http';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, ComponentRef, OnDestroy, ViewContainerRef, ElementRef, ChangeDetectorRef, Signal, EffectRef, OnInit, AfterViewInit, WritableSignal, Provider, EnvironmentProviders, OnChanges, SimpleChanges, PipeTransform, QueryList, Injector, Renderer2, AfterViewChecked, ApplicationRef } from '@angular/core';
3
+ import { InjectionToken, ComponentRef, OnDestroy, ViewContainerRef, ElementRef, ChangeDetectorRef, Signal, EffectRef, OnInit, AfterViewInit, WritableSignal, Provider, EnvironmentProviders, OnChanges, SimpleChanges, PipeTransform, QueryList, AnimationCallbackEvent, Injector, Renderer2, AfterViewChecked, ApplicationRef } from '@angular/core';
4
4
  import { ComponentType as ComponentType$1 } from '@angular/cdk/portal';
5
5
  import { ValidatorFn, UntypedFormGroup, ControlValueAccessor } from '@angular/forms';
6
6
  import { Observable, Subject as Subject$1, Subscription } from 'rxjs';
@@ -7048,7 +7048,8 @@ declare class Table implements OnInit, OnDestroy {
7048
7048
  protected cfService: ComponentFactoryService;
7049
7049
  protected changeDetector: ChangeDetectorRef;
7050
7050
  _destroy$: Subject$1<void>;
7051
- vcRef?: ViewContainerRef[];
7051
+ /** The detail row's container; the table renders one for the expanded row only. */
7052
+ vcRef?: QueryList<ViewContainerRef>;
7052
7053
  componentRef?: ComponentRef<any>;
7053
7054
  defaultActionMenuComponents: QueryList<DefaultActionsPopupComponent>;
7054
7055
  myTableChild: MatTable<any>;
@@ -7060,6 +7061,16 @@ declare class Table implements OnInit, OnDestroy {
7060
7061
  highlightedRows: any[];
7061
7062
  sortEvent: Subject$1<SmartTableHeader>;
7062
7063
  expandedElement: any | null;
7064
+ /** The `when` predicate of the detail row definition. */
7065
+ isExpandedRow: (_index: number, row: any) => boolean;
7066
+ /**
7067
+ * `animate.leave` of the detail row: collapses the detail the way it expanded, then lets
7068
+ * the row go. A class on the detail itself would not do — the row is what leaves, and
7069
+ * Angular does not look for leave animations behind the `mat-row` component boundary.
7070
+ * Angular calls this once for detaching and once for destroying the row; both wait for
7071
+ * the one animation.
7072
+ */
7073
+ onDetailRowLeave(event: AnimationCallbackEvent): void;
7063
7074
  triggers: QueryList<MatMenuTrigger>;
7064
7075
  element?: any;
7065
7076
  cellToActionMap: Record<string, any[]>;
Binary file