@smartbit4all/ng-client 4.5.15 → 4.5.17

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.
@@ -88,7 +88,8 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
88
88
  protected dataChangeActionHandler(event: SophisticatedValueChange, valueChangeMode: ValueChangeMode): void;
89
89
  protected handleLayoutUploadCallback(comp: SmartComponentLayoutComponent): void;
90
90
  protected handleUploadCallback(form: SmartformComponent): void;
91
- handleDataChangeSubscriptions(): void;
91
+ protected handleFormSubscriptions(form: SmartformComponent): void;
92
+ handleDataChangeSubscriptions(formComponent?: SmartformComponent): void;
92
93
  getInvalidFields(): SmartFormInvalidFields;
93
94
  protected validateForm(form: SmartformComponent | undefined, aggregatedInvalidFields: SmartFormInvalidFields): void;
94
95
  getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
@@ -17,6 +17,7 @@ export declare class SmartComponentLayoutUtility {
17
17
  static getDiagrams(comp: SmartComponentLayoutComponent): Array<SmartDiagramComponent>;
18
18
  static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
19
19
  static getToolbars(comp: SmartComponentLayoutComponent): UiActionToolbarComponent[];
20
+ static clearFormHandlers(comp: SmartComponentLayoutComponent): void;
20
21
  static getEmbeddedSlots(comp: SmartComponentLayoutComponent): EmbeddedSlotInfo[];
21
22
  static getExpandableComponent(comp: SmartComponentLayoutComponent): SmartComponentLayoutComponent;
22
23
  static applyStyle(style: Style | undefined, elementRef?: ElementRef, renderer?: Renderer2): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewChecked, AfterViewInit, ElementRef, OnChanges, OnDestroy, QueryList, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewChecked, AfterViewInit, ApplicationRef, ElementRef, OnChanges, OnDestroy, QueryList, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
2
2
  import { ComponentType, SmartComponentLayoutDefinition, ToolbarProperties } from './api';
3
3
  import { SmartForm, SmartFormWidgetDirection, SmartformComponent, SmartformLayoutDefinitionService } from '../smart-form/projects';
4
4
  import { SmartGrid, SmartGridComponent } from '../smart-grid/projects';
@@ -22,6 +22,9 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, Aft
22
22
  parentLayoutComponent?: SmartComponentLayoutComponent;
23
23
  parentSmartComponent: any;
24
24
  gridRow: any;
25
+ appRef: ApplicationRef;
26
+ formRef: import("@angular/core").Signal<SmartformComponent | undefined>;
27
+ onFormChange: import("@angular/core").EffectRef;
25
28
  private pendingOrphanCleanup;
26
29
  get testId(): string | null;
27
30
  get isHorizontal(): boolean;
@@ -216,6 +216,7 @@ export interface SmartSelect<T> {
216
216
  iconPosition?: 'PRE' | 'POST';
217
217
  iconColor?: string;
218
218
  suffix?: string;
219
+ toolbarId?: string;
219
220
  }
220
221
  export interface SmartSelectMultiple<T> {
221
222
  type: SmartFormWidgetType.SELECT_MULTIPLE;
@@ -247,6 +248,7 @@ export interface SmartSelectMultiple<T> {
247
248
  selection?: SelectionDefinition;
248
249
  hint?: SmartWidgetHint;
249
250
  compareWith?: (o1: any, o2: any) => boolean;
251
+ toolbarId?: string;
250
252
  }
251
253
  export interface SmartCheckBox<T> {
252
254
  type: SmartFormWidgetType.CHECK_BOX;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.5.15",
3
+ "version": "4.5.17",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
Binary file