Skip to content

Commit

Permalink
🆙 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed May 3, 2024
1 parent 85d4f8e commit 2f1f64e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Serenity.SleekGrid.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>1.8.2</Version>
<Version>1.8.3</Version>
<Description>NuGet version of @serenity-is/sleekgrid NPM package</Description>
</PropertyGroup>
<ItemGroup>
Expand Down
14 changes: 7 additions & 7 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,21 +248,21 @@ export interface FormatterContext<TItem = any> {
/** when returning a formatter result, prefer ctx.escape() to avoid script injection attacks! */
value?: any;
}
export type FormatterResult = (string | Element | DocumentFragment);
export type ColumnFormat<TItem = any> = (ctx: FormatterContext<TItem>) => FormatterResult;
export declare type FormatterResult = (string | Element | DocumentFragment);
export declare type ColumnFormat<TItem = any> = (ctx: FormatterContext<TItem>) => FormatterResult;
export interface CompatFormatterResult {
addClasses?: string;
text?: FormatterResult;
toolTip?: string;
}
export type CompatFormatter<TItem = any> = (row: number, cell: number, value: any, column: Column<TItem>, item: TItem, grid?: any) => string | CompatFormatterResult;
export declare type CompatFormatter<TItem = any> = (row: number, cell: number, value: any, column: Column<TItem>, item: TItem, grid?: any) => string | CompatFormatterResult;
export interface FormatterFactory<TItem = any> {
getFormat?(column: Column<TItem>): ColumnFormat<TItem>;
getFormatter?(column: Column<TItem>): CompatFormatter<TItem>;
}
export type AsyncPostRender<TItem = any> = (cellNode: HTMLElement, row: number, item: TItem, column: Column<TItem>, reRender: boolean) => void;
export type AsyncPostCleanup<TItem = any> = (cellNode: HTMLElement, row?: number, column?: Column<TItem>) => void;
export type CellStylesHash = {
export declare type AsyncPostRender<TItem = any> = (cellNode: HTMLElement, row: number, item: TItem, column: Column<TItem>, reRender: boolean) => void;
export declare type AsyncPostCleanup<TItem = any> = (cellNode: HTMLElement, row?: number, column?: Column<TItem>) => void;
export declare type CellStylesHash = {
[row: number]: {
[columnId: string]: string;
};
Expand Down Expand Up @@ -1018,7 +1018,7 @@ export interface ArgsColumn extends ArgsGrid {
export interface ArgsColumnNode extends ArgsColumn {
node: HTMLElement;
}
export type ArgsSortCol = {
export declare type ArgsSortCol = {
sortCol: Column;
sortAsc: boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@serenity-is/sleekgrid",
"version": "1.8.2",
"version": "1.8.3",
"description": "A modern Data Grid / Spreadsheet component",
"type": "module",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 2f1f64e

Please sign in to comment.