@smartbit4all/ng-client 4.2.107 → 4.2.109
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/esm2022/lib/smart-grid/components/generic-component/expanded-row-renderer.component.mjs +17 -4
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +16 -4
- package/fesm2022/smartbit4all-ng-client.mjs +57 -33
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-grid/components/generic-component/expanded-row-renderer.component.d.ts +6 -2
- package/lib/smart-grid/smart-grid.component.d.ts +4 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.109.tgz +0 -0
- package/smartbit4all-ng-client-4.2.107.tgz +0 -0
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { AfterViewInit, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ViewContainerRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ComponentFactoryService } from '../../../component-factory-service/component-factory-service.service';
|
|
3
3
|
import { SmartTableRowExpander } from '../../../smart-table/projects';
|
|
4
4
|
import { SmartGrid } from '../../models/model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ExpandedRowRendererComponent implements AfterViewInit {
|
|
6
|
+
export declare class ExpandedRowRendererComponent implements AfterViewInit, OnDestroy {
|
|
7
7
|
private cfService;
|
|
8
8
|
vcRef: ViewContainerRef;
|
|
9
9
|
rowId: number;
|
|
10
10
|
rowExpander: SmartTableRowExpander<any>;
|
|
11
11
|
expandedComponent: any;
|
|
12
12
|
smartGrid: SmartGrid;
|
|
13
|
+
private componentRef?;
|
|
13
14
|
constructor(cfService: ComponentFactoryService);
|
|
15
|
+
ngOnDestroy(): void;
|
|
14
16
|
ngAfterViewInit(): Promise<void>;
|
|
17
|
+
private loadComponent;
|
|
18
|
+
refreshRowData(): Promise<void>;
|
|
15
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandedRowRendererComponent, never>;
|
|
16
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandedRowRendererComponent, "lib-expanded-row-renderer-component", never, { "rowId": { "alias": "rowId"; "required": false; }; "rowExpander": { "alias": "rowExpander"; "required": false; }; "expandedComponent": { "alias": "expandedComponent"; "required": false; }; "smartGrid": { "alias": "smartGrid"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
2
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
3
|
-
import { AfterViewInit, ComponentRef, Injector, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { AfterViewInit, ComponentRef, Injector, OnChanges, OnDestroy, QueryList, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
4
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
5
5
|
import { PageEvent } from '@angular/material/paginator';
|
|
6
6
|
import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
|
|
@@ -17,6 +17,7 @@ import { MenuItem, SortMeta } from 'primeng/api';
|
|
|
17
17
|
import { Menu } from 'primeng/menu';
|
|
18
18
|
import { TableColumnReorderEvent, TableHeaderCheckboxToggleEvent, TableLazyLoadEvent, TableRowSelectEvent, TableRowUnSelectEvent } from 'primeng/table';
|
|
19
19
|
import { MultiSelectChangeEvent } from 'primeng/multiselect';
|
|
20
|
+
import { ExpandedRowRendererComponent } from './components/generic-component/expanded-row-renderer.component';
|
|
20
21
|
import * as i0 from "@angular/core";
|
|
21
22
|
export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
22
23
|
private service;
|
|
@@ -38,6 +39,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
38
39
|
toolbar?: UiActionToolbarComponent;
|
|
39
40
|
_headerToolbar?: UiActionToolbarComponent;
|
|
40
41
|
defaultActionToolbarId: string;
|
|
42
|
+
expandedRowsComps: QueryList<ExpandedRowRendererComponent>;
|
|
41
43
|
expandableSections?: ExpandableSection<any>[];
|
|
42
44
|
expandedRows: {};
|
|
43
45
|
pageEvent?: PageEvent;
|
|
@@ -136,6 +138,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
136
138
|
shouldShowOptionsButton(row: any): boolean;
|
|
137
139
|
calculateMenuActions(row: GridRow): UiAction[];
|
|
138
140
|
createCellToActionMap(): void;
|
|
141
|
+
rowTrackByFn(index: number, row: any): any;
|
|
139
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartGridComponent, never>;
|
|
140
143
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartGridComponent, "smart-grid", never, { "smartGrid": { "alias": "smartGrid"; "required": false; }; "uuid": { "alias": "uuid"; "required": false; }; "dev": { "alias": "dev"; "required": false; }; }, {}, never, never, false, never>;
|
|
141
144
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|