@ng-matero/extensions
Advanced tools
Comparing version 15.5.2 to 15.6.0
@@ -0,6 +1,6 @@ | ||
import { CdkDragDrop } from '@angular/cdk/drag-drop'; | ||
import { EventEmitter, TemplateRef } from '@angular/core'; | ||
import { CdkDragDrop } from '@angular/cdk/drag-drop'; | ||
import { MatCheckboxChange } from '@angular/material/checkbox'; | ||
import { ThemePalette } from '@angular/material/core'; | ||
import { MatMenu, MatMenuTrigger } from '@angular/material/menu'; | ||
import { ThemePalette } from '@angular/material/core'; | ||
import { MtxGridButtonType, MtxGridColumn, MtxGridColumnPinOption, MtxGridColumnPinValue } from './interfaces'; | ||
@@ -7,0 +7,0 @@ import * as i0 from "@angular/core"; |
@@ -17,14 +17,15 @@ import * as i0 from "@angular/core"; | ||
import * as i15 from "@angular/material/tooltip"; | ||
import * as i16 from "@angular/material/icon"; | ||
import * as i17 from "@angular/material/select"; | ||
import * as i18 from "@angular/material/form-field"; | ||
import * as i19 from "@angular/material/menu"; | ||
import * as i20 from "@angular/cdk/drag-drop"; | ||
import * as i21 from "@ng-matero/extensions/dialog"; | ||
import * as i22 from "@ng-matero/extensions/core"; | ||
import * as i23 from "./column-resize/column-resize-module"; | ||
import * as i16 from "@angular/material/badge"; | ||
import * as i17 from "@angular/material/icon"; | ||
import * as i18 from "@angular/material/select"; | ||
import * as i19 from "@angular/material/form-field"; | ||
import * as i20 from "@angular/material/menu"; | ||
import * as i21 from "@angular/cdk/drag-drop"; | ||
import * as i22 from "@ng-matero/extensions/dialog"; | ||
import * as i23 from "@ng-matero/extensions/core"; | ||
import * as i24 from "./column-resize/column-resize-module"; | ||
export declare class MtxGridModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxGridModule, [typeof i1.MtxGrid, typeof i2.MtxGridCell, typeof i3.MtxGridColumnMenu, typeof i4.MtxGridExpansionToggle, typeof i1.MtxGridSelectableCell, typeof i5.MtxGridRowClassPipe, typeof i5.MtxGridColClassPipe, typeof i5.MtxGridCellActionTooltipPipe, typeof i5.MtxGridCellActionDisablePipe, typeof i5.MtxGridCellSummaryPipe], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.MatTableModule, typeof i9.MatSortModule, typeof i10.MatPaginatorModule, typeof i11.MatCheckboxModule, typeof i12.MatButtonModule, typeof i13.MatProgressBarModule, typeof i14.MatChipsModule, typeof i15.MatTooltipModule, typeof i16.MatIconModule, typeof i17.MatSelectModule, typeof i18.MatFormFieldModule, typeof i19.MatMenuModule, typeof i20.DragDropModule, typeof i21.MtxDialogModule, typeof i22.MtxPipesModule, typeof i23.MatColumnResizeModule], [typeof i1.MtxGrid, typeof i2.MtxGridCell, typeof i3.MtxGridColumnMenu, typeof i4.MtxGridExpansionToggle, typeof i1.MtxGridSelectableCell, typeof i23.MatColumnResizeModule, typeof i5.MtxGridRowClassPipe, typeof i5.MtxGridColClassPipe, typeof i5.MtxGridCellActionTooltipPipe, typeof i5.MtxGridCellActionDisablePipe, typeof i5.MtxGridCellSummaryPipe]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxGridModule, [typeof i1.MtxGrid, typeof i2.MtxGridCell, typeof i3.MtxGridColumnMenu, typeof i4.MtxGridExpansionToggle, typeof i1.MtxGridSelectableCell, typeof i5.MtxGridRowClassPipe, typeof i5.MtxGridColClassPipe, typeof i5.MtxGridCellActionsPipe, typeof i5.MtxGridCellActionTooltipPipe, typeof i5.MtxGridCellActionBadgePipe, typeof i5.MtxGridCellActionDisablePipe, typeof i5.MtxGridCellSummaryPipe], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.MatTableModule, typeof i9.MatSortModule, typeof i10.MatPaginatorModule, typeof i11.MatCheckboxModule, typeof i12.MatButtonModule, typeof i13.MatProgressBarModule, typeof i14.MatChipsModule, typeof i15.MatTooltipModule, typeof i16.MatBadgeModule, typeof i17.MatIconModule, typeof i18.MatSelectModule, typeof i19.MatFormFieldModule, typeof i20.MatMenuModule, typeof i21.DragDropModule, typeof i22.MtxDialogModule, typeof i23.MtxPipesModule, typeof i24.MatColumnResizeModule], [typeof i1.MtxGrid, typeof i2.MtxGridCell, typeof i3.MtxGridColumnMenu, typeof i4.MtxGridExpansionToggle, typeof i1.MtxGridSelectableCell, typeof i24.MatColumnResizeModule, typeof i5.MtxGridRowClassPipe, typeof i5.MtxGridColClassPipe, typeof i5.MtxGridCellActionTooltipPipe, typeof i5.MtxGridCellActionDisablePipe, typeof i5.MtxGridCellSummaryPipe]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<MtxGridModule>; | ||
} |
@@ -15,2 +15,7 @@ import { KeyValueChangeRecord, PipeTransform } from '@angular/core'; | ||
} | ||
export declare class MtxGridCellActionsPipe implements PipeTransform { | ||
transform(btns?: MtxGridColumnButton[] | ((rowData: any) => MtxGridColumnButton[]), rowData?: Record<string, any>, rowChangeRecord?: KeyValueChangeRecord<string, any>, currentValue?: any): MtxGridColumnButton<any>[]; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridCellActionsPipe, never>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<MtxGridCellActionsPipe, "cellActions", false>; | ||
} | ||
export declare class MtxGridCellActionTooltipPipe implements PipeTransform { | ||
@@ -21,2 +26,7 @@ transform(btn: MtxGridColumnButton): import("./interfaces").MtxGridColumnButtonTooltip; | ||
} | ||
export declare class MtxGridCellActionBadgePipe implements PipeTransform { | ||
transform(btn: MtxGridColumnButton): import("./interfaces").MtxGridColumnButtonBadge; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridCellActionBadgePipe, never>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<MtxGridCellActionBadgePipe, "cellActionBadge", false>; | ||
} | ||
export declare class MtxGridCellActionDisablePipe implements PipeTransform { | ||
@@ -23,0 +33,0 @@ transform(btn: MtxGridColumnButton, rowData: Record<string, any>, rowChangeRecord?: KeyValueChangeRecord<string, any>, currentValue?: any): boolean; |
import { TemplateRef } from '@angular/core'; | ||
import { MatBadgePosition, MatBadgeSize } from '@angular/material/badge'; | ||
import { ThemePalette } from '@angular/material/core'; | ||
@@ -25,3 +26,3 @@ import { SortDirection } from '@angular/material/sort'; | ||
tag?: MtxGridColumnTag; | ||
buttons?: MtxGridColumnButton<T>[]; | ||
buttons?: MtxGridColumnButton<T>[] | ((rowData: T) => MtxGridColumnButton<T>[]); | ||
formatter?: (rowData: T, colDef?: MtxGridColumn) => any; | ||
@@ -42,3 +43,3 @@ cellTemplate?: TemplateRef<any> | null; | ||
/** Possible column type values. */ | ||
export declare type MtxGridColumnType = 'tag' | 'button' | 'link' | 'image' | 'boolean' | 'number' | 'currency' | 'percent' | 'date'; | ||
export declare type MtxGridColumnType = 'button' | 'tag' | 'link' | 'image' | 'boolean' | 'number' | 'currency' | 'percent' | 'date'; | ||
/** Column type parameter. */ | ||
@@ -72,3 +73,3 @@ export interface MtxGridColumnTypeParameter { | ||
export interface MtxGridColumnButton<T = any> { | ||
type?: 'basic' | 'icon'; | ||
type?: MtxGridButtonType; | ||
text?: string | Observable<string>; | ||
@@ -81,4 +82,5 @@ icon?: string; | ||
iif?: (rowData: T) => boolean; | ||
pop?: MtxGridColumnButtonPop; | ||
pop?: string | Observable<string> | MtxGridColumnButtonPop; | ||
tooltip?: string | Observable<string> | MtxGridColumnButtonTooltip; | ||
badge?: number | string | Observable<string> | MtxGridColumnButtonBadge; | ||
} | ||
@@ -98,2 +100,3 @@ /** The properties of column button pop. */ | ||
position?: TooltipPosition; | ||
positionAtOrigin?: boolean; | ||
class?: any; | ||
@@ -103,3 +106,15 @@ hideDelay?: number; | ||
touchGestures?: TooltipTouchGestures; | ||
disabled?: boolean; | ||
} | ||
/** The properties of column button badge. */ | ||
export interface MtxGridColumnButtonBadge { | ||
content: number | string | Observable<string>; | ||
description?: string | Observable<string>; | ||
color?: ThemePalette; | ||
position?: MatBadgePosition; | ||
size?: MatBadgeSize; | ||
overlap?: boolean; | ||
disabled?: boolean; | ||
hidden?: boolean; | ||
} | ||
/** Cell template. */ | ||
@@ -119,3 +134,3 @@ export interface MtxGridCellTemplate { | ||
/** Possible button type values. */ | ||
export type MtxGridButtonType = 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab'; | ||
export type MtxGridButtonType = 'basic' | 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab'; | ||
/** | ||
@@ -122,0 +137,0 @@ * Represents the default options for the grid that can be configured |
{ | ||
"name": "@ng-matero/extensions", | ||
"version": "15.5.2", | ||
"version": "15.6.0", | ||
"description": "Angular Material Extensions", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
6660536
48114