@rlucan/ui 20.0.9 → 20.0.11

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/index.d.ts CHANGED
@@ -435,7 +435,7 @@ declare class ForceVisibilityDirective implements OnInit, OnChanges {
435
435
 
436
436
  interface MessageBoxButton {
437
437
  id: string;
438
- text: string;
438
+ text: string | (() => string);
439
439
  kind?: 'basic' | 'flat' | 'stroked';
440
440
  color?: 'primary' | 'accent' | 'warn';
441
441
  process?: () => Promise<any>;
@@ -454,6 +454,7 @@ declare class MessageBoxModalComponent {
454
454
  hideCloseButton: boolean;
455
455
  processing: MessageBoxButton;
456
456
  constructor(dialogRef: MatDialogRef<MessageBoxModalComponent>, sanitizer: DomSanitizer, data: any);
457
+ labelText(b: MessageBoxButton): string;
457
458
  close(result: any): void;
458
459
  buttonClick(b: MessageBoxButton): void;
459
460
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxModalComponent, never>;
@@ -617,14 +618,17 @@ interface TableColumn {
617
618
  sortable?: boolean | ((row: any, direction?: SortDirection) => number | string);
618
619
  sticky?: boolean;
619
620
  label?: string;
621
+ footerLabel?: string;
620
622
  colSpan?: (row: any) => number;
621
623
  formatter?: (row: any) => string;
622
624
  cellClass?: (row: any, c?: TableColumn) => string;
623
625
  headerTemplate?: (c: TableColumn) => TemplateRef<any>;
626
+ footerTemplate?: (c: TableColumn) => TemplateRef<any>;
624
627
  cellTemplate?: (row: any, c: TableColumn) => TemplateRef<any>;
625
628
  }
626
629
  interface TableOptions {
627
- sticky?: boolean;
630
+ headerSticky?: boolean;
631
+ footerSticky?: boolean;
628
632
  }
629
633
  declare class TableComponent implements OnInit, AfterViewInit {
630
634
  private domSanitizer;
@@ -633,8 +637,10 @@ declare class TableComponent implements OnInit, AfterViewInit {
633
637
  options: TableOptions | undefined;
634
638
  rowTemplates: any;
635
639
  headerTemplates: any;
640
+ footerTemplates: any;
636
641
  stateStoreKey: string;
637
642
  rowAction: (row: any) => void;
643
+ hasFooter: boolean;
638
644
  matSortActive: any;
639
645
  matSortDirection: any;
640
646
  matSort: MatSort | undefined;
@@ -645,7 +651,7 @@ declare class TableComponent implements OnInit, AfterViewInit {
645
651
  display(row: any, col: TableColumn): any;
646
652
  rowClicked(row: any): void;
647
653
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
648
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ui-table", never, { "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "options": { "alias": "options"; "required": false; }; "rowTemplates": { "alias": "rowTemplates"; "required": false; }; "headerTemplates": { "alias": "headerTemplates"; "required": false; }; "stateStoreKey": { "alias": "stateStoreKey"; "required": false; }; "rowAction": { "alias": "rowAction"; "required": false; }; "matSortActive": { "alias": "matSortActive"; "required": false; }; "matSortDirection": { "alias": "matSortDirection"; "required": false; }; }, {}, never, never, false, never>;
654
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ui-table", never, { "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "options": { "alias": "options"; "required": false; }; "rowTemplates": { "alias": "rowTemplates"; "required": false; }; "headerTemplates": { "alias": "headerTemplates"; "required": false; }; "footerTemplates": { "alias": "footerTemplates"; "required": false; }; "stateStoreKey": { "alias": "stateStoreKey"; "required": false; }; "rowAction": { "alias": "rowAction"; "required": false; }; "hasFooter": { "alias": "hasFooter"; "required": false; }; "matSortActive": { "alias": "matSortActive"; "required": false; }; "matSortDirection": { "alias": "matSortDirection"; "required": false; }; }, {}, never, never, false, never>;
649
655
  }
650
656
 
651
657
  declare class BurgerComponent implements OnInit {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlucan/ui",
3
- "version": "20.0.9",
3
+ "version": "20.0.11",
4
4
  "description": "My UI Components",
5
5
  "author": "rlucan@gmail.com",
6
6
  "peerDependencies": {