@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
120 lines (119 loc) • 3.39 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { QueryList, InjectionToken } from '@angular/core';
import { Observable } from 'rxjs';
import { ColumnBase } from './columns/column-base';
import { RowArgs } from './rendering/common/row-args';
import { ColumnState } from './state-management/grid-state.models';
export { isChanged, anyChanged, hasObservers } from '@progress/kendo-angular-common';
/**
* @hidden
*/
export declare const isPresent: (value: any) => boolean;
/**
* @hidden
*/
export declare const isBlank: (value: any) => boolean;
/**
* @hidden
*/
export declare const isArray: (value: any) => boolean;
/**
* @hidden
*/
export declare const isTruthy: (value: any) => boolean;
/**
* @hidden
*/
export declare const isNullOrEmptyString: (value: string) => boolean;
/**
* @hidden
*/
export declare const observe: <T>(list: QueryList<T>) => Observable<QueryList<T>>;
/**
* @hidden
*/
export declare const isUniversal: () => boolean;
/**
* @hidden
*/
export declare const isString: (value: any) => value is string;
/**
* @hidden
*/
export declare const isNumber: (value: any) => value is number;
/**
* @hidden
*/
export declare const extractFormat: (format: string) => string;
/**
* @hidden
*/
export declare const not: (fn: (...x: any[]) => boolean) => (...args: any[]) => boolean;
/**
* @hidden
* Represents a condition—a unary function which takes an argument and returns a Boolean.
*/
export type Condition<T> = (x: T) => boolean;
/**
* @hidden
*/
export declare const or: <T>(...conditions: Condition<T>[]) => (value: T) => boolean;
/**
* @hidden
*/
export declare const and: <T>(...conditions: Condition<T>[]) => (value: T) => boolean;
/**
* @hidden
*/
export declare const Skip: InjectionToken<unknown>;
/**
* @hidden
*/
export declare const createPromise: () => Promise<any>;
/** @hidden */
export declare const iterator: any;
/** @hidden */
export declare const requestAnimationFrame: any;
/** @hidden */
export declare const cancelAnimationFrame: any;
/**
* @hidden
*/
export declare const nodesToArray: (nodes: NodeList) => HTMLElement[];
/**
* @hidden
*/
export declare const recursiveFlatMap: (item: any) => any[];
/**
* @hidden
*/
export declare const updateColumnFromState: (columnState: ColumnState, c: any) => void;
/**
* @hidden
*/
export declare const recursiveColumnsFlatMap: (item: any) => any[];
/**
* @hidden
*/
export declare const isGroupResult: (obj: any) => boolean;
/**
* @hidden
*/
export declare const roundDown: (value: number) => number;
/**
* @hidden
*/
export declare const defaultCellRowSpan: (row: RowArgs, column: ColumnBase, data: any[]) => number;
/**
* @hidden
* Determines whether selection of multiple ranges is enabled in the selectable settings.
*/
export declare const isMultipleRangesEnabled: (selectableSettings: any) => boolean;
/**
* @hidden
* Calculates the height of a table row by inserting a temporary row into the table body when the `rowHeight` option is not set.
*/
export declare const calcRowHeight: (tableBody: HTMLTableSectionElement | null) => number;