@datarailsshared/datarailsshared 1.6.103 → 1.6.105
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/datarailsshared-datarailsshared-1.6.105.tgz +0 -0
- package/esm2022/lib/separate-table/separate-table-column.directive.mjs +36 -0
- package/esm2022/lib/separate-table/separate-table.component.mjs +116 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +238 -93
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/separate-table/separate-table-column.directive.d.ts +17 -0
- package/lib/separate-table/separate-table.component.d.ts +13 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/datarailsshared-datarailsshared-1.6.103.tgz +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SeparateTableColumnDirective<T = any> {
|
|
4
|
+
field: keyof T;
|
|
5
|
+
header?: string;
|
|
6
|
+
styles: {
|
|
7
|
+
[key: string]: string | number | any;
|
|
8
|
+
};
|
|
9
|
+
stopCellClickPropagation: boolean;
|
|
10
|
+
cellTemplate: TemplateRef<{
|
|
11
|
+
$implicit: T;
|
|
12
|
+
column: SeparateTableColumnDirective;
|
|
13
|
+
}>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparateTableColumnDirective<any>, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SeparateTableColumnDirective<any>, "dr-separate-table-column", never, { "field": { "alias": "field"; "required": true; }; "header": { "alias": "header"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "stopCellClickPropagation": { "alias": "stopCellClickPropagation"; "required": false; }; }, {}, ["cellTemplate"], never, true, never>;
|
|
16
|
+
static ngAcceptInputType_stopCellClickPropagation: unknown;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import { SeparateTableColumnDirective } from './separate-table-column.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SeparateTableComponent<T = any> {
|
|
5
|
+
rows: T[];
|
|
6
|
+
trackBy: keyof T | null;
|
|
7
|
+
columnDefs: QueryList<SeparateTableColumnDirective>;
|
|
8
|
+
readonly rowClick: EventEmitter<T>;
|
|
9
|
+
get columns(): SeparateTableColumnDirective[];
|
|
10
|
+
trackByFn(index: number, item: T): number | T[keyof T];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparateTableComponent<any>, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeparateTableComponent<any>, "dr-separate-table", never, { "rows": { "alias": "rows"; "required": true; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, { "rowClick": "rowClick"; }, ["columnDefs"], never, true, never>;
|
|
13
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -156,6 +156,8 @@ export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
|
|
|
156
156
|
export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
|
|
157
157
|
export { DrProgressBarComponent } from './lib/dr-progress-bar/dr-progress-bar.component';
|
|
158
158
|
export * from './lib/drawer/public-api';
|
|
159
|
+
export * from './lib/separate-table/separate-table.component';
|
|
160
|
+
export * from './lib/separate-table/separate-table-column.directive';
|
|
159
161
|
export * from './lib/text-overflow/element-overflow.directive';
|
|
160
162
|
export * from './lib/text-overflow/text-overflow.component';
|
|
161
163
|
export * from './lib/directives/autofocus/autofocus.directive';
|
|
Binary file
|