@smartbit4all/ng-client 5.0.19 → 5.0.20

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.
@@ -121,8 +121,6 @@ export interface SmartTableInterface<T> {
121
121
  onAllSelection?: (selected: boolean) => Promise<void>;
122
122
  rowExpander?: SmartTableRowExpander<T>;
123
123
  highlightProperty?: string;
124
- gridId: string;
125
- serviceToUse: any;
126
124
  }
127
125
  export interface SmartTableGridInterface<T> {
128
126
  type: SmartTableInterfaceTypeEnum.GRID;
@@ -153,14 +151,14 @@ export interface SmartTableGridInterface<T> {
153
151
  asyncOnExpand?: boolean;
154
152
  rowExpander?: SmartTableRowExpander<T>;
155
153
  highlightProperty?: string;
156
- gridId: string;
157
- serviceToUse: any;
158
154
  }
159
155
  export interface SmartTableRowExpander<T> {
160
156
  expand(rowId: number): T;
161
157
  expandAsync(rowId: number): Promise<T>;
162
158
  }
163
159
  export declare class SmartTable<T> implements SmartTableInterface<T> {
160
+ private gridId?;
161
+ private serviceToUse?;
164
162
  type: SmartTableInterfaceTypeEnum.NORMAL;
165
163
  title?: string | undefined;
166
164
  tableHeaders: string[];
@@ -194,11 +192,11 @@ export declare class SmartTable<T> implements SmartTableInterface<T> {
194
192
  onAllSelection?: (selected: boolean) => Promise<void>;
195
193
  rowExpander?: SmartTableRowExpander<T>;
196
194
  highlightProperty?: string;
197
- gridId: string;
198
- serviceToUse: any;
199
- constructor(config: SmartTableInterface<T>);
195
+ constructor(config: SmartTableInterface<T>, gridId?: string | undefined, serviceToUse?: any);
200
196
  getPropertyNamesDeeply(element: any): string[];
201
197
  getValueDeeply(model: any, key: string): any;
202
198
  pushOptions(): void;
203
199
  setTableHeaders(): void;
200
+ getServiceToUse(): any;
201
+ getGridId(): string | undefined;
204
202
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "5.0.19",
3
+ "version": "5.0.20",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^19.2.3",
6
6
  "@angular/cdk": "^19.2.3",
Binary file