Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flexi-grid

Package Overview
Dependencies
Maintainers
0
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexi-grid - npm Package Compare versions

Comparing version 18.7.3 to 18.7.4

esm2022/lib/flexi-grid-filter-data.model.mjs

12

lib/flexi-grid-column.component.d.ts

@@ -1,2 +0,3 @@

import { SimpleChanges, TemplateRef } from '@angular/core';
import { EventEmitter, SimpleChanges, TemplateRef } from '@angular/core';
import { FlexiGridFilterDataModel } from './flexi-grid-filter-data.model';
import * as i0 from "@angular/core";

@@ -21,3 +22,6 @@ export declare class FlexiGridColumnComponent {

hideOverflow: boolean;
fixedThisColumn: boolean;
filterData: FlexiGridFilterDataModel[];
booleanData: string[];
showCheckbox: boolean;
onChange: EventEmitter<any>;
value: string;

@@ -28,6 +32,6 @@ filterOperator: string;

static ɵfac: i0.ɵɵFactoryDeclaration<FlexiGridColumnComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FlexiGridColumnComponent, "flexi-grid-column", never, { "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "filterType": { "alias": "filterType"; "required": false; }; "columnTemplate": { "alias": "columnTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "fraction": { "alias": "fraction"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "showSymbolInFront": { "alias": "showSymbolInFront"; "required": false; }; "width": { "alias": "width"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "className": { "alias": "className"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "hideOverflow": { "alias": "hideOverflow"; "required": false; }; "fixedThisColumn": { "alias": "fixedThisColumn"; "required": false; }; }, {}, never, never, false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FlexiGridColumnComponent, "flexi-grid-column", never, { "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "filterType": { "alias": "filterType"; "required": false; }; "columnTemplate": { "alias": "columnTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "fraction": { "alias": "fraction"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "showSymbolInFront": { "alias": "showSymbolInFront"; "required": false; }; "width": { "alias": "width"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "className": { "alias": "className"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "hideOverflow": { "alias": "hideOverflow"; "required": false; }; "filterData": { "alias": "filterData"; "required": false; }; "booleanData": { "alias": "booleanData"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
}
export type TextAlignType = "left" | "center" | "right";
export type FilterType = "text" | "date" | "date-time" | "number";
export type FilterType = "text" | "date" | "date-time" | "number" | "select" | "boolean";
export type DateFormatType = "d" | "dd" | "ddd" | "dddd" | // Gün

@@ -34,0 +38,0 @@ "M" | "MM" | "MMM" | "MMMM" | // Ay

import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
import { FilterType, FlexiGridColumnComponent } from './flexi-grid-column.component';
import { FilterType, FlexiGridColumnComponent, TextAlignType } from './flexi-grid-column.component';
import { StateModel } from './state.model';

@@ -12,2 +12,3 @@ import * as i0 from "@angular/core";

showIndex: boolean;
indexTextAlign: TextAlignType;
pageSizeList: number[];

@@ -43,2 +44,8 @@ loading: boolean;

trMinHeight: string;
showCommandColumn: Boolean;
commandColumnTitle: string;
commandColumnWidth: string;
commandColumnTextAlign: AlignSetting;
commandColumnTemplate: TemplateRef<any> | any;
stickyCommandColumn: boolean;
pageNumberCount: import("@angular/core").WritableSignal<number>;

@@ -65,5 +72,7 @@ pageNumbers: import("@angular/core").WritableSignal<number[]>;

dataStateChange: EventEmitter<any>;
onChange: EventEmitter<any>;
columns: QueryList<FlexiGridColumnComponent> | undefined;
table: ElementRef | undefined;
flexiGridFilterTr: ElementRef<HTMLTableRowElement> | undefined;
filterTr: ElementRef<HTMLTableRowElement> | undefined;
tbody: ElementRef | undefined;
resizingColumn: any;

@@ -75,2 +84,7 @@ startX: number | undefined;

ngOnChanges(changes: SimpleChanges): void;
giveFilterValueByFilterType(filterType: string): {
operator: string;
value: string;
}[];
showFilterButton(filterType: string): boolean;
ngAfterViewInit(): void;

@@ -86,6 +100,8 @@ initializeColumnsFromData(): void;

sortData(): void;
sort(field: string): void;
sort(sortable: boolean, column: any): void;
setTextAlignForTh(filterable: boolean, column: any): string;
toggleTheme(): void;
toggleFilterDropdown(field: string): void;
applyFilter(column: FlexiGridColumnComponent, operator: string): void;
filterSelect(field: string, operator: string, event: any, type: FilterType): void;
filter(field: string, operator: string, value: string, type: FilterType): void;

@@ -107,2 +123,3 @@ showClearFilter(value: any): boolean;

getFieldValue(item: any, field: string): any;
getBooleanInputValue(item: any, column: FlexiGridColumnComponent, event: any): void;
openMobileFilter(): void;

@@ -113,3 +130,3 @@ closeMobileFilter(): void;

static ɵfac: i0.ɵɵFactoryDeclaration<FlexiGridComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FlexiGridComponent, "flexi-grid", never, { "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "pageSizeList": { "alias": "pageSizeList"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "themeClass": { "alias": "themeClass"; "required": false; }; "height": { "alias": "height"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "captionTitle": { "alias": "captionTitle"; "required": false; }; "captionTemplate": { "alias": "captionTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "showColumnVisibility": { "alias": "showColumnVisibility"; "required": false; }; "showRefreshData": { "alias": "showRefreshData"; "required": false; }; "dataBinding": { "alias": "dataBinding"; "required": false; }; "showCaption": { "alias": "showCaption"; "required": false; }; "showExportExcel": { "alias": "showExportExcel"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "useMinWidth": { "alias": "useMinWidth"; "required": false; }; "autoWidth": { "alias": "autoWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "indexWidth": { "alias": "indexWidth"; "required": false; }; "columnVisibilityBtnClass": { "alias": "columnVisibilityBtnClass"; "required": false; }; "refreshDataBtnClass": { "alias": "refreshDataBtnClass"; "required": false; }; "exportExcelBtnClass": { "alias": "exportExcelBtnClass"; "required": false; }; "exportExcelFileName": { "alias": "exportExcelFileName"; "required": false; }; "exportExcelButtonClick": { "alias": "exportExcelButtonClick"; "required": false; }; "footerPerPageText": { "alias": "footerPerPageText"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "tbodyStyle": { "alias": "tbodyStyle"; "required": false; }; "trMinHeight": { "alias": "trMinHeight"; "required": false; }; }, { "dataStateChange": "dataStateChange"; }, ["columns"], never, false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FlexiGridComponent, "flexi-grid", never, { "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "indexTextAlign": { "alias": "indexTextAlign"; "required": false; }; "pageSizeList": { "alias": "pageSizeList"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "themeClass": { "alias": "themeClass"; "required": false; }; "height": { "alias": "height"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "captionTitle": { "alias": "captionTitle"; "required": false; }; "captionTemplate": { "alias": "captionTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "showColumnVisibility": { "alias": "showColumnVisibility"; "required": false; }; "showRefreshData": { "alias": "showRefreshData"; "required": false; }; "dataBinding": { "alias": "dataBinding"; "required": false; }; "showCaption": { "alias": "showCaption"; "required": false; }; "showExportExcel": { "alias": "showExportExcel"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "useMinWidth": { "alias": "useMinWidth"; "required": false; }; "autoWidth": { "alias": "autoWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "indexWidth": { "alias": "indexWidth"; "required": false; }; "columnVisibilityBtnClass": { "alias": "columnVisibilityBtnClass"; "required": false; }; "refreshDataBtnClass": { "alias": "refreshDataBtnClass"; "required": false; }; "exportExcelBtnClass": { "alias": "exportExcelBtnClass"; "required": false; }; "exportExcelFileName": { "alias": "exportExcelFileName"; "required": false; }; "exportExcelButtonClick": { "alias": "exportExcelButtonClick"; "required": false; }; "footerPerPageText": { "alias": "footerPerPageText"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "tbodyStyle": { "alias": "tbodyStyle"; "required": false; }; "trMinHeight": { "alias": "trMinHeight"; "required": false; }; "showCommandColumn": { "alias": "showCommandColumn"; "required": false; }; "commandColumnTitle": { "alias": "commandColumnTitle"; "required": false; }; "commandColumnWidth": { "alias": "commandColumnWidth"; "required": false; }; "commandColumnTextAlign": { "alias": "commandColumnTextAlign"; "required": false; }; "commandColumnTemplate": { "alias": "commandColumnTemplate"; "required": false; }; "stickyCommandColumn": { "alias": "stickyCommandColumn"; "required": false; }; }, { "dataStateChange": "dataStateChange"; "onChange": "onChange"; }, ["columns"], never, false, never>;
}
{
"name": "flexi-grid",
"version": "18.7.3",
"version": "18.7.4",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^18.0.3",

@@ -6,1 +6,2 @@ export * from './lib/flexi-grid.component';

export * from './lib/flexi-grid.module';
export * from './lib/flexi-grid-filter-data.model';

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc