@smartbit4all/ng-client 3.0.10 → 3.0.12

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.
@@ -31,6 +31,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
31
31
  get smartTreeService(): SmarttreeGenericService | undefined;
32
32
  set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
33
33
  widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
34
+ smartGrids: WidgetMap<SmartGrid>;
34
35
  formWidgets: WidgetMap<SmartformComponent | undefined>;
35
36
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
36
37
  _ngOnInit(): void;
@@ -12,6 +12,7 @@ export declare class SmartFormService {
12
12
  private setValueDeeply;
13
13
  getPropertyNamesDeeply(element: any): string[];
14
14
  setValuesFromModel(): void;
15
+ private copyFromValueSetToValuesList;
15
16
  toFormGroup(): FormGroup;
16
17
  createFormControls(widgets: SmartFormWidget<any>[] | SmartItem<any>[], parentKey?: string): void;
17
18
  isValidatorInList(validator: SmartValidator, list?: SmartValidator[]): boolean;
@@ -156,6 +156,7 @@ export interface SmartSelectMultiple<T> {
156
156
  errorIcon?: string;
157
157
  errorIconColor?: string;
158
158
  valueList: SmartItems<T>[];
159
+ selection?: SelectionDefinition;
159
160
  hint?: string;
160
161
  hintConfig?: SmartWidgetHintConfig;
161
162
  }
@@ -177,6 +178,7 @@ export interface SmartCheckBox<T> {
177
178
  errorIcon?: string;
178
179
  errorIconColor?: string;
179
180
  valueList: SmartItem<T>[];
181
+ selection?: SelectionDefinition;
180
182
  direction?: SmartFormWidgetDirection;
181
183
  hint?: string;
182
184
  hintConfig?: SmartWidgetHintConfig;
@@ -199,6 +201,7 @@ export interface SmartCheckBox2<T> {
199
201
  errorIcon?: string;
200
202
  errorIconColor?: string;
201
203
  valueList: SmartItem<T>[];
204
+ selection?: SelectionDefinition;
202
205
  direction?: SmartFormWidgetDirection;
203
206
  hint?: string;
204
207
  hintConfig?: SmartWidgetHintConfig;
@@ -221,6 +224,7 @@ export interface SmartRadioButton<T> {
221
224
  errorIcon?: string;
222
225
  errorIconColor?: string;
223
226
  valueList: SmartItem<T>[];
227
+ selection?: SelectionDefinition;
224
228
  direction?: SmartFormWidgetDirection;
225
229
  hint?: string;
226
230
  hintConfig?: SmartWidgetHintConfig;
@@ -29,6 +29,7 @@ export declare type SmartGrid = {
29
29
  uiActionService?: any;
30
30
  uiActionDescriptorService?: any;
31
31
  serviceToUse?: any;
32
+ pageLoaded?: boolean;
32
33
  };
33
34
  export interface SmartGridData {
34
35
  type: SmartGridType;
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
8
8
  export declare class SmartGridService extends SmartdialogService {
9
9
  private api;
10
10
  gridModelChanged: Subject<void>;
11
- gridModel: GridModel;
11
+ gridModel?: GridModel;
12
12
  constructor(api: GridService, dialog: MatDialog, router: Router);
13
13
  load(uuid: string, gridIdentifier: string): Promise<void>;
14
14
  setPage(uuid: string, gridIdentifier: string, offset: string, limit: string): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file