@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.6.103",
3
+ "version": "1.6.105",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
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';