@smartbit4all/ng-client 3.1.14 → 3.1.15

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,6 +1,6 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
- import { GridOptions, SmartForm, SmartGrid, SmartGridComponent, SmartformComponent } from '../../projects';
3
+ import { GridOptions, SmartForm, SmartFormInvalidFields, SmartGrid, SmartGridComponent, SmartformComponent } from '../../projects';
4
4
  import { SmarttreeGenericService } from '../smart-tree/projects';
5
5
  import { ComponentModel, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction2 } from '../view-context/projects';
6
6
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
@@ -41,6 +41,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
41
41
  run(): void;
42
42
  load(): Promise<void>;
43
43
  execute(uiAction: UiAction, options?: ExecuteUiActionOptions): Promise<void>;
44
+ getInvalidFields(): SmartFormInvalidFields;
44
45
  getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
45
46
  getModel(): T | undefined;
46
47
  submitForm(validate: boolean): void;
@@ -2,6 +2,7 @@ import { Subject } from 'rxjs';
2
2
  import { UiAction } from '../api/model/uiAction';
3
3
  import { UiActionDescriptor } from '../api/model/uiActionDescriptor';
4
4
  import { UiActionRequest } from '../api/model/uiActionRequest';
5
+ import { SmartFormInvalidFields } from '../../smart-form/projects';
5
6
  export interface UiActionModel {
6
7
  uiAction: UiAction;
7
8
  serviceToUse: UseUiAction | UseUiAction2;
@@ -21,6 +22,7 @@ export interface UseUiAction {
21
22
  }
22
23
  export interface UseUiAction2 {
23
24
  submitForm(validate: boolean): void;
25
+ getInvalidFields(): SmartFormInvalidFields;
24
26
  getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
25
27
  getModel(): any;
26
28
  performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.1.14",
3
+ "version": "3.1.15",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file