@c10t/nice-component-library 0.0.29 → 0.0.30

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.
@@ -2422,38 +2422,39 @@ class CvaHeaderExpandButtonComponent {
2422
2422
  }
2423
2423
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: CvaHeaderExpandButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2424
2424
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: CvaHeaderExpandButtonComponent, isStandalone: false, selector: "cva-header-expand-button", inputs: { expandHeaderButton: "expandHeaderButton", columns: "columns", moduleName: "moduleName" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
2425
- <button mat-icon-button
2426
- class="expand-column-header-button"
2427
- color="{{expandHeaderButton?.color}}"
2428
- [matMenuTriggerFor]="menu"
2429
- matTooltip="{{((expandHeaderButton && expandHeaderButton.title) ? expandHeaderButton.title : '') | translate}}"
2430
- >
2431
- <mat-icon *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton)===IconTypes.MATERIAL_ICON">
2432
- {{ expandHeaderButton?.icon }}
2433
- </mat-icon>
2434
- <i *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton) === IconTypes.FONT_AWESOME"
2435
- class="{{expandHeaderButton?.icon}}"></i>
2436
- </button>
2425
+ <button mat-icon-button
2426
+ class="expand-column-header-button"
2427
+ color="{{expandHeaderButton?.color}}"
2428
+ [matMenuTriggerFor]="menu"
2429
+ matTooltip="{{((expandHeaderButton && expandHeaderButton.title) ? expandHeaderButton.title : '') | translate}}"
2430
+ >
2431
+ <mat-icon
2432
+ *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton)===IconTypes.MATERIAL_ICON">
2433
+ {{ expandHeaderButton?.icon }}
2434
+ </mat-icon>
2435
+ <i *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton) === IconTypes.FONT_AWESOME"
2436
+ class="{{expandHeaderButton?.icon}}"></i>
2437
+ </button>
2437
2438
 
2438
2439
 
2439
- <mat-menu class="menu-expand-column" #menu="matMenu">
2440
- <div class="header-menu-expand" fxLayout fxLayoutAlign="space-between center">
2441
- <mat-label>{{ 'common.expand.menu.header.label' | translate }}</mat-label>
2442
- <button mat-flat-button>{{ 'common.label.done' | translate }}</button>
2443
- </div>
2444
- <div class="choose-area" (click)="$event.stopPropagation()">
2445
- <div mat-menu-item *ngFor="let col of columns">
2446
- <ng-container *ngIf="col.columnType!==ColumnTypes.CHECKBOX">
2447
- <mat-checkbox style="width: 100%"
2448
- [(ngModel)]="expandDisplayCols[col.columnDef]"
2449
- [value]="col.columnDef"
2450
- (change)="this.onChange.emit(this.expandDisplayCols)">
2451
- {{ (moduleName + '.table.header.' + col.header) | translate }}
2452
- </mat-checkbox>
2453
- </ng-container>
2454
- </div>
2455
- </div>
2456
- </mat-menu>
2440
+ <mat-menu class="menu-expand-column" #menu="matMenu">
2441
+ <div class="header-menu-expand" fxLayout fxLayoutAlign="space-between center">
2442
+ <mat-label>{{ 'common.expand.menu.header.label' | translate }}</mat-label>
2443
+ <button mat-flat-button>{{ 'common.label.done' | translate }}</button>
2444
+ </div>
2445
+ <div class="choose-area" (click)="$event.stopPropagation()">
2446
+ <div mat-menu-item *ngFor="let col of columns">
2447
+ <ng-container *ngIf="col.columnType!==ColumnTypes.CHECKBOX && col.columnType!==ColumnTypes.BUTTON">
2448
+ <mat-checkbox style="width: 100%"
2449
+ [(ngModel)]="expandDisplayCols[col.columnDef]"
2450
+ [value]="col.columnDef"
2451
+ (change)="this.onChange.emit(this.expandDisplayCols)">
2452
+ {{ (moduleName + '.table.header.' + col.header) | translate }}
2453
+ </mat-checkbox>
2454
+ </ng-container>
2455
+ </div>
2456
+ </div>
2457
+ </mat-menu>
2457
2458
 
2458
2459
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7$1.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i7$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i7$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i8$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }] });
2459
2460
  }
@@ -2463,38 +2464,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
2463
2464
  selector: 'cva-header-expand-button',
2464
2465
  standalone: false,
2465
2466
  template: `
2466
- <button mat-icon-button
2467
- class="expand-column-header-button"
2468
- color="{{expandHeaderButton?.color}}"
2469
- [matMenuTriggerFor]="menu"
2470
- matTooltip="{{((expandHeaderButton && expandHeaderButton.title) ? expandHeaderButton.title : '') | translate}}"
2471
- >
2472
- <mat-icon *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton)===IconTypes.MATERIAL_ICON">
2473
- {{ expandHeaderButton?.icon }}
2474
- </mat-icon>
2475
- <i *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton) === IconTypes.FONT_AWESOME"
2476
- class="{{expandHeaderButton?.icon}}"></i>
2477
- </button>
2467
+ <button mat-icon-button
2468
+ class="expand-column-header-button"
2469
+ color="{{expandHeaderButton?.color}}"
2470
+ [matMenuTriggerFor]="menu"
2471
+ matTooltip="{{((expandHeaderButton && expandHeaderButton.title) ? expandHeaderButton.title : '') | translate}}"
2472
+ >
2473
+ <mat-icon
2474
+ *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton)===IconTypes.MATERIAL_ICON">
2475
+ {{ expandHeaderButton?.icon }}
2476
+ </mat-icon>
2477
+ <i *ngIf="expandHeaderButton && TableService.getIconType(expandHeaderButton) === IconTypes.FONT_AWESOME"
2478
+ class="{{expandHeaderButton?.icon}}"></i>
2479
+ </button>
2478
2480
 
2479
2481
 
2480
- <mat-menu class="menu-expand-column" #menu="matMenu">
2481
- <div class="header-menu-expand" fxLayout fxLayoutAlign="space-between center">
2482
- <mat-label>{{ 'common.expand.menu.header.label' | translate }}</mat-label>
2483
- <button mat-flat-button>{{ 'common.label.done' | translate }}</button>
2484
- </div>
2485
- <div class="choose-area" (click)="$event.stopPropagation()">
2486
- <div mat-menu-item *ngFor="let col of columns">
2487
- <ng-container *ngIf="col.columnType!==ColumnTypes.CHECKBOX">
2488
- <mat-checkbox style="width: 100%"
2489
- [(ngModel)]="expandDisplayCols[col.columnDef]"
2490
- [value]="col.columnDef"
2491
- (change)="this.onChange.emit(this.expandDisplayCols)">
2492
- {{ (moduleName + '.table.header.' + col.header) | translate }}
2493
- </mat-checkbox>
2494
- </ng-container>
2495
- </div>
2496
- </div>
2497
- </mat-menu>
2482
+ <mat-menu class="menu-expand-column" #menu="matMenu">
2483
+ <div class="header-menu-expand" fxLayout fxLayoutAlign="space-between center">
2484
+ <mat-label>{{ 'common.expand.menu.header.label' | translate }}</mat-label>
2485
+ <button mat-flat-button>{{ 'common.label.done' | translate }}</button>
2486
+ </div>
2487
+ <div class="choose-area" (click)="$event.stopPropagation()">
2488
+ <div mat-menu-item *ngFor="let col of columns">
2489
+ <ng-container *ngIf="col.columnType!==ColumnTypes.CHECKBOX && col.columnType!==ColumnTypes.BUTTON">
2490
+ <mat-checkbox style="width: 100%"
2491
+ [(ngModel)]="expandDisplayCols[col.columnDef]"
2492
+ [value]="col.columnDef"
2493
+ (change)="this.onChange.emit(this.expandDisplayCols)">
2494
+ {{ (moduleName + '.table.header.' + col.header) | translate }}
2495
+ </mat-checkbox>
2496
+ </ng-container>
2497
+ </div>
2498
+ </div>
2499
+ </mat-menu>
2498
2500
 
2499
2501
  `,
2500
2502
  }]