import * as i0 from '@angular/core'; import { ElementRef, OnInit, AfterContentInit, DoCheck, OnChanges, OnDestroy, KeyValueDiffers, ChangeDetectorRef, Renderer2, IterableDiffers, SimpleChanges, QueryList, NgZone } from '@angular/core'; import { ControlValueAccessor, NgModel } from '@angular/forms'; declare class Column { _settings: any; private _el; constructor(el: ElementRef); createColumnsSetter(name: any): (value: any) => void; createColumnsGetter(name: any): () => any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class Feature implements OnInit { _el: any; _settings: any; initSettings: Model; name: string; private _events; private featureName; constructor(el: ElementRef); cloneObject(obj: any): any; ngOnInit(): void; createFeatureSetter(name: any): (value: any) => void; createFeatureGetter(name: any): () => any; createMethodGetter(name: any): () => any; normalizeName(str: any): any; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, true, never>; } declare class IgGridMultiColumnHeadersFeature extends Feature { constructor(el: ElementRef); /** * Destroys the widget */ destroy(): void; /** * Collapses an expanded group. If the group is collapsed, the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. */ collapseGroup(groupKey: string, callback?: () => void): void; /** * Expands a collapsed group. If the group is expanded, the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. */ expandGroup(groupKey: string, callback?: () => void): void; /** * Returns multicolumn headers array. if there aren"t multicolumn headers returns undefined. */ getMultiColumnHeaders(): Array; /** * Toggles a collapsible group. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. */ toggleGroup(groupKey: string, callback?: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridSortingFeature extends Feature { constructor(el: ElementRef); /** * Sorts the data in a grid column and updates the UI. * * @param index Column key (string) or index (number) - for multi-row grid only column key can be used. * Specifies the column which we want to sort. If the mode is multiple, previous sorting states are not cleared. * @param direction Specifies sorting direction (ascending or descending) * @param header header */ sortColumn(index: object, direction: object, header: object): void; /** * Sorts the data in grid columns and updates the UI. */ sortMultiple(): void; /** * Removes current sorting(for all sorted columns) and updates the UI. */ clearSorting(): void; /** * Removes sorting for the grid column with the specified columnKey/columnIndex and updates the UI. * * @param index Column key (string) or index (number) - for multi-row grid only column key can be used. * Specifies the column for which we want to remove sorting. If the mode is multiple, previous sorting states are not cleared. * @param header header */ unsortColumn(index: object, header: object): void; /** * Destroys the sorting feature. Unbinds events, removes added sorting elements, etc. */ destroy(): void; /** * Opens the multiple sorting dialog. */ openMultipleSortingDialog(): void; /** * Closes the multiple sorting dialog. */ closeMultipleSortingDialog(): void; /** * Renders content of multiple sorting dialog - sorted and unsorted columns. * * @param isToCallEvents - if specified client events should be fired */ renderMultipleSortingDialogContent(isToCallEvents: object): void; /** * Remove clear button for multiple sorting dialog */ removeDialogClearButton(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridFilteringFeature extends Feature { constructor(el: ElementRef); /** * Destroys the filtering widget - remove fitler row, unbinds events, returns the grid to its previous state. */ destroy(): void; /** * Returns the count of data records that match filtering conditions */ getFilteringMatchesCount(): number; /** * Toggle filter row when mode is simple or * [advancedModeEditorsVisible](ui.iggridfiltering#options:advancedModeEditorsVisible) is true. Otherwise show/hide advanced dialog. * * @param event Column key */ toggleFilterRowByFeatureChooser(event: string): void; /** * Applies filtering programmatically and updates the UI by default. * * @param expressions An array of filtering expressions, each one having the format {fieldName: , expr: , cond: , logic: } * where fieldName is the key of the column, expr is the actual expression string with which we would like to filter, * logic is 'AND' or 'OR', and cond is one of the following strings: "equals", "doesNotEqual", "contains", "doesNotContain", * "greaterThan", "lessThan", "greaterThanOrEqualTo", "lessThanOrEqualTo", "true", "false", "null", "notNull", "empty", "notEmpty", * "startsWith", "endsWith", "today", "yesterday", "on", "notOn", "thisMonth", "lastMonth", "nextMonth", "before", "after", "thisYear", * "lastYear", "nextYear". The difference between the empty and null filtering conditions is that empty includes null, NaN, and * undefined, as well as the empty string. * @param updateUI specifies whether the filter row should be also updated once the grid is filtered * @param addedFromAdvanced specifies whether the filter is added from advanced filtering */ filter(expressions: any[], updateUI?: boolean, addedFromAdvanced?: boolean): void; /** * Check whether filterCondition requires or not filtering expression * e.g. if filterCondition is "lastMonth", "thisMonth", "null", "notNull", "true", "false", etc. * then filtering expression is NOT required * * @param filterCondition filtering condition - e.g. "true", "false", "yesterday", "empty", "null", etc. */ requiresFilteringExpression(filterCondition: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridPagingFeature extends Feature { constructor(el: ElementRef); /** * Gets/Sets the current page index, delegates data binding and paging to [$.ig.DataSource](ig.datasource). * * @param index The page index to go to. */ pageIndex(index?: number): number; /** * Gets/Sets the page size. If no parameter is specified, just returns the current page size. * * @param size The new page size. */ pageSize(size?: number): number; /** * Destroys the igGridPaging feature by removing all elements in the pager area, * unbinding events, and resetting data to discard data filtering on paging. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridUpdatingFeature extends Feature { constructor(el: ElementRef); /** * Sets a cell value for the specified cell. It also creates a transaction and updates the UI. * If the specified cell is currently in edit mode, the function will set the desired value in the cell's editor instead. * * @param rowId The primary key of the row the cell is a child of. * @param colKey The column key of the cell. * @param value The new value for the cell. */ setCellValue(rowId: object, colKey: string, value: object): void; /** * Sets values for specified cells in a row. It also creates a transaction and updates the UI. * If the specified row is currently in edit mode, the function will set the desired values in the row's editors instead. * * @param rowId The primary key of the row to update. * @param values Pairs of values in the format { column1Key: value1, column2Key: value2, ... } . */ updateRow(rowId: any, values: object): void; /** * Adds a new row to the grid. It also creates a transaction and updates the UI. * * @param values Pairs of values in the format { column1Key: value1, column2Key: value2, ... } . */ addRow(values: object): void; /** * Deletes a row from the grid. It also creates a transaction and updates the UI. * * @param rowId The primary key of the row to delete. */ deleteRow(rowId: any): void; /** * Starts editing for the row or cell specified (depending on the [editMode](ui.iggridupdating#options:editMode)). * * @param rowId The row id. * @param column The column key or index. * @param raiseEvents Specifies whether or not updating events should be raised for this operation. */ startEdit(rowId: object, column: object, raiseEvents?: boolean): boolean; /** * Starts editing for adding a new row. * * @param raiseEvents Specifies whether or not updating events should be raised for this operation. */ startAddRowEdit(raiseEvents?: boolean): boolean; /** * Ends the currently active edit mode. * * @param update Specifies if the edit process should accept the current changes. Default is 'false'. * @param raiseEvents Specifies whether or not updating events should be raised for this operation. */ endEdit(update?: boolean, raiseEvents?: boolean): boolean; /** * Finds and returns the key of the first column the editor for which has invalid value. */ findInvalid(): string; /** * Checks if the grid is in edit mode. */ isEditing(): boolean; /** * Gets the editor for a column by the column key. That method can be used only after the editor has been created. * * @param key The key of the column. */ editorForKey(key: string): object; /** * Gets the editor for a column by the cell it resides in. If allowed the function can create the editor if it has not been created yet. * * @param cell Reference to the jQuery-wrapped TD object of the grid that the editor belongs to. * @param create Requests to create the editor if it has not been created yet. */ editorForCell(cell: string, create?: boolean): object; /** * Destroys igGridUpdating. */ destroy(): object; /** * Shows the delete button for specific row. * * @param row A jQuery object of the targeted row. */ showDeleteButtonFor(row: object): void; /** * Hides the delete button. */ hideDeleteButton(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridGroupByFeature extends Feature { constructor(el: ElementRef); /** * Open groupby modal dialog */ openGroupByDialog(): void; /** * Close groupby modal dialog */ closeGroupByDialog(): void; /** * Render groupby modal dialog and its content */ renderGroupByModalDialog(): void; /** * Open layouts dropdown */ openDropDown(): void; /** * Close layouts dropdown */ closeDropDown(): void; /** * Check whether column with specified key and layout is grouped * * @param key key of the column * @param layout layout name */ checkColumnIsGrouped(key: string, layout: string): void; /** * Get grouped data by value for the specific column. * NOTE: Before calling this function the data(that is passed as an argument) should be sorted by colKey. * * @param data data (sorted by colKey) that is used to get the records from. * @param colKey key of the column for which grouping will be applied. * @param idval value of the column by which grouping will be applied. */ getGroupedData(data: any[], colKey: string, idval?: string): any[]; /** * Adds a column to the group by columns list, executes the group by operation and updates the view. */ groupByColumns(): object; /** * Groups by a column * * @param key Column Key - group by the column with the specified key * @param layout layout is an optional parameter. * If set it means the grouped column is not in the root level but is a child layout column * @param sortingDirection if not set it is taken from option defaultSortingDirection */ groupByColumn(key: string, layout?: string, sortingDirection?: object): void; /** * Removes the specified column from the group by columns list, executes the group by operation and updates the view. * * @param key Column Key - ungroup by the column with the specified key * @param layout Layout is an optional parameter. * If set it means the grouped column is not in the root level but is a child layout column. */ ungroupByColumn(key: string, layout?: string): void; /** * Expand group row with specified id * * @param rowId data-id attribute of the group row in the DOM */ expand(rowId: string): void; /** * Expand group row with specified id * * @param rowId data-id attribute of the group row in the DOM */ collapse(rowId: string): void; /** * Clears the group by columns list and updates the view. */ ungroupAll(): void; /** * Destroys the group by feature object. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridColumnMovingFeature extends Feature { constructor(el: ElementRef); /** * Restoring overwritten functions */ destroy(): void; /** * Moves a visible column at a specified place, in front or behind a target column or at a target index * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier of the column to be moved. * It can be a key, a Multi-Column Header identificator, or an index in a number format. * The latter is not supported when the grid contains multi-column headers. * @param target An identifier of a column where the moved column should move to or an index at which the moved column should * be moved to. In the case of a column identifier the column will be moved after it by default. * @param after Specifies whether the column moved should be moved after or before the target column. * @param inDom Specifies whether the column moving will be enacted through DOM manipulation or through rerendering of the grid. * @param callback Specifies a custom function to be called when the column is moved. */ moveColumn(column: object, target: object, after?: boolean, inDom?: boolean, callback?: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridHidingFeature extends Feature { constructor(el: ElementRef); /** * Destroys the hiding widget */ destroy(): void; /** * Shows the Column Chooser dialog. If it is visible the method does nothing. */ showColumnChooser(): void; /** * Hides the Column Chooser dialog. If it is not visible the method does nothing. */ hideColumnChooser(): void; /** * Shows a hidden column. If the column is not hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. * If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader. * An identifier for the column should be of type string. * @param callback Specifies a custom function to be called when the column(s) is shown(optional) */ showColumn(column: object, isMultiColumnHeader?: boolean, callback?: () => void): void; /** * Hides a visible column. If the column is hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. * If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader. * An identifier for the column should be of type string. * @param callback Specifies a custom function to be called when the column is hidden(optional) */ hideColumn(column: object, isMultiColumnHeader?: boolean, callback?: () => void): void; /** * Hides visible columns specified by the array. If the column is hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param columns An array of identifiers for the columns. * If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. * @param callback Specifies a custom function to be called when all columns are hidden(optional) */ hideMultiColumns(columns: any[], callback?: () => void): void; /** * Show visible columns specified by the array. If the column is shown the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param columns An array of identifiers for the columns. * If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. * @param callback Specifies a custom function to be called when all columns are shown(optional) */ showMultiColumns(columns: any[], callback?: () => void): void; /** * Gets whether the reset button in the column chooser dialog is to be rendered or not. */ isToRenderButtonReset(): void; /** * Reset hidden/shown column to initial state of dialog(when it is opened) */ resetHidingColumnChooser(): void; /** * Renders the Reset button in the Column Chooser dialog. */ renderColumnChooserResetButton(): void; /** * Remove Reset button in column chooser modal dialog */ removeColumnChooserResetButton(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridCellMergingFeature extends Feature { constructor(el: ElementRef); destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridResponsiveFeature extends Feature { constructor(el: ElementRef); /** * Destroys the responsive widget. */ destroy(): void; /** * Returns the currently active responsive mode. */ getCurrentResponsiveMode(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridResizingFeature extends Feature { constructor(el: ElementRef); /** * Destroys the resizing widget */ destroy(): void; /** * Resizes a column to a specified width in pixels, percents or auto if no width is specified. * * @param column An identifier for the column. * If a number is provided it will be used as a columnIndex else if a strings is provided it will be used as a columnKey. * @param width Width of the column in pixels or percents. * If no width or "*" is specified the column will be auto-sized to the width of the data in it (including header and footer cells). */ resize(column: object, width?: object): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridSelectionFeature extends Feature { constructor(el: ElementRef); /** * Destroys the selection widget. */ destroy(): void; /** * Clears all selected cells, selected rows, active cell and active row. Also updates the UI accordingly */ clearSelection(): void; /** * Selects a cell by row/col * * @param row Row index * @param col Column index * @param isFixed If the cell is part of the fixed or unfixed area of the grid. */ selectCell(row: number, col: number, isFixed?: boolean): void; /** * Selects a cell by row id/column key * * @param id Row Id * @param colKey Column key */ selectCellById(id: object, colKey: string): void; /** * Deselects a cell by row/col * * @param row Row index * @param col Column index * @param isFixed If the cell is part of the fixed or unfixed area of the grid. */ deselectCell(row: number, col: number, isFixed?: boolean): void; /** * Deselects a cell by row id/column key * * @param id Row Id * @param colKey Column key */ deselectCellById(id: object, colKey: string): void; /** * Selects a row by index * * @param index Row index */ selectRow(index: number): void; /** * Selects a row by row id * * @param id Row Id */ selectRowById(id: object): void; /** * Deselects a row by index * * @param index Row index */ deselectRow(index: number): void; /** * Deselects a row by row id * * @param id Row Id */ deselectRowById(id: object): void; /** * Returns an array of selected cells in arbitrary order where every objects has the format * { element: , row: , index: , rowIndex: , columnKey: } . * * If multiple selection is disabled the function will return null. */ selectedCells(): any[]; /** * Returns an array of selected rows in arbitrary order where every object has the format { element: , index: } . * * If multiple selection is disabled the function will return null. */ selectedRows(): any[]; /** * Returns the currently selected cell that has the format { element: , row: , index: , rowIndex: , columnKey: }, if any. * * If multiple selection is enabled the function will return null. */ selectedCell(): object; /** * Returns the currently selected row that has the format { element: , index: }, if any. * * If multiple selection is enabled the function will return null. */ selectedRow(): object; /** * Returns the currently active (focused) cell that has the format { element: , row: , index: , rowIndex: , columnKey: }, if any. */ activeCell(): object; /** * Returns the currently active (focused) row that has the format { element: , index: }, if any. */ activeRow(): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridRowSelectorsFeature extends Feature { constructor(el: ElementRef); destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridSummariesFeature extends Feature { constructor(el: ElementRef); destroy(): void; /** * Returns whether summaries rows are hidden */ isSummariesRowsHidden(): void; /** * Calculate summaries */ calculateSummaries(): void; /** * Remove all summaries dropdown buttons. */ clearAllFooterIcons(): void; /** * Toggle drop down * * @param columnKey toggle drop down for the column with the specified key * @param event event object. Its data should contain current columnKey, isAnimating, buttonId */ toggleDropDown(columnKey: string, event: object): void; /** * Show/Hide dialog * * @param $dialog jQuery object representation of dropdown div element */ showHideDialog($dialog: object): void; /** * Toggle summaries rows * * @param isToShow Specifies whether to show or not summaries * @param isInternalCall Optional parameter.Specifies whether this function is called internally by the widget. */ toggleSummariesRows(isToShow: boolean, isInternalCall: boolean): void; /** * Toggles the checkstate of a checkbox if checkboxMode is not set to off, otherwise does nothing. * * @param $checkbox Specifies the jQuery object of the checkbox. */ toggleCheckstate($checkbox: object): void; /** * Select/Unselect specified checkbox * * @param $checkbox Specifies the jQuery object for checkbox * @param isToSelect Specify whether to select or not checkbox */ selectCheckBox($checkbox: object, isToSelect: boolean): void; /** * Summary calculate the whole data for the specified column key, * columnMethods and dataType (used when datasource is remote and dataType is date) * * @param ck ColumnKey * @param columnMethods Array of column methods objects * @param data object which represents result represents dataType for the current column * @param dataType data type */ calculateSummaryColumn(ck: string, columnMethods: any[], data: object, dataType: object): void; /** * Return a JQUERY object which holds all summaries for all columns */ summaryCollection(): void; /** * Return a JQUERY object which holds all summaries for column with the specified column key * * @param columnKey column key */ summariesFor(columnKey: object): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridColumnFixingFeature extends Feature { constructor(el: ElementRef); /** * Unfixes a column by specified column identifier - column key or column index. * * @param colIdentifier An identifier of the column to be unfixed - column index or column key. * @param target Key of the column where the unfixed column should move to. * @param after Specifies where the unfixed column should be rendered after or before the target column. * This parameter is disregarded if there is no target column specified. */ unfixColumn(colIdentifier: object, target?: string, after?: boolean): object; /** * Checks whether the heights of fixed and unfixed tables are equal - if not sync them. Similar check is made for heights of table rows. */ checkAndSyncHeights(): void; /** * If the 'check' argument is set to true, checks whether the heights of fixed and unfixed tables are equal, if not sync them. * Similar check is made for heights of table rows. * If the clearRowsHeights argument is set to true, clears rows heights before syncing them. * * @param check If set to true, checks whether the heights of fixed and unfixed tables are equal, if not sync them. * If this argument is set to false sync is performed regardless of the current heights. * @param clearRowsHeights Clears row heigths for all visible rows. */ syncHeights(check?: boolean, clearRowsHeights?: boolean): void; /** * Returns whether the column with the specified key is a column group header * when the [multi-column headers](http://www.igniteui.com/help/iggrid-multicolumnheaders-landingpage) feature is used. * * @param colKey The key of the column to perform the check for. */ isGroupHeader(colKey: string): boolean; /** * Checks whether column fixing is allowed for the specified columns. * It should not be allowed if there is only one visible column in the unfixed area. * * @param columns Array of columns and/or column identifiers - could be column indexes, column keys, column object or mixed. */ checkFixingAllowed(columns: any[]): boolean; /** * Checks whether unfixing is allowed for the specified columns. * It should not be allowed if there is only one visible column in the fixed area. * * @param columns Array of columns and/or column identifiers - could be column indexes, column keys, column object or mixed. */ checkUnfixingAllowed(columns: any[]): boolean; /** * Fixes non-data columns (such as the row numbering column of row selectors) if any and if * [fixingDirection](ui.iggridcolumnfixing#options:fixingDirection) is left. Does nothing if the non-data columns are already fixed. */ fixNonDataColumns(): void; /** * This function is deprecated - use function fixNonDataColumns. */ fixDataSkippedColumns(): void; /** * Unfixes non-data columns (such as the row numbering column of row selectors) if any and if * [fixingDirection](ui.iggridcolumnfixing#options:fixingDirection) is left. Does nothing if the non-data columns are already fixed. */ unfixNonDataColumns(): void; /** * This function is deprecated - use function unfixNonDataColumns. */ unfixDataSkippedColumns(): void; /** * Unfixes all fixed columns. */ unfixAllColumns(): void; /** * Syncs rows heights between two collections of rows. * * @param $trs An array of rows of the first(fixed/unfixed) container. * @param $anotherRows An array of rows of the second(fixed/unfixed) container. */ syncRowsHeights($trs: any[], $anotherRows: any[]): void; /** * Calculates widths of the fixed columns. * * @param fCols Array of grid columns. If not set then the total width of the fixed columns are returned. * @param excludeNonDataColumns If set to true do not calculate the width of non-data fixed columns * (like the row selector row numbering column). * @param includeHidden If set to true calculates width of the hidden fixed columns (their initial width before hiding). */ getWidthOfFixedColumns(fCols?: any[], excludeNonDataColumns?: boolean, includeHidden?: boolean): number; /** * Destroys the column fixing widget */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridTooltipsFeature extends Feature { constructor(el: ElementRef); /** * Destroys the tooltip widget. */ destroy(): void; /** * Returns the ID of the parent div element bounding the ruler and the tooltip container */ id(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgGridAppendRowsOnDemandFeature extends Feature { constructor(el: ElementRef); /** * Destroys the append rows on demand widget */ destroy(): void; /** * Loads the next chunk of data. */ nextChunk(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class Features implements AfterContentInit { allFeatures: Array; sorting: IgGridSortingFeature; filtering: IgGridFilteringFeature; paging: IgGridPagingFeature; updating: IgGridUpdatingFeature; groupBy: IgGridGroupByFeature; columnMoving: IgGridColumnMovingFeature; hiding: IgGridHidingFeature; cellMerging: IgGridCellMergingFeature; responsive: IgGridResponsiveFeature; resizing: IgGridResizingFeature; selection: IgGridSelectionFeature; rowSelectors: IgGridRowSelectorsFeature; summaries: IgGridSummariesFeature; columnFixing: IgGridColumnFixingFeature; tooltips: IgGridTooltipsFeature; appendRowsOnDemand: IgGridAppendRowsOnDemandFeature; multiColumnHeaders: IgGridMultiColumnHeadersFeature; addFeature(name: any, parent: any): void; ngAfterContentInit(): void; private noop; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IgControlBase implements DoCheck, OnInit, OnChanges, OnDestroy { kvalDiffers: KeyValueDiffers; cdr: ChangeDetectorRef; options: any; protected _differs: any; protected _el: any; protected _widgetName: string; protected _differ: any; protected _optsDiffer: any; protected _kvalDiffers: any; protected _events: Map; private _evtEmmiters; private _nativeElement; widgetId: string; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); createSetter(name: any): (value: any) => void; ngOnInit(): void; createMethodGetter(name: any): () => any; ngDoCheck(): void; ngOnChanges(changes: SimpleChanges): void; markForCheck(): void; convertToCamelCase(str: any): any; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>; } declare class IgGridBase extends IgControlBase implements AfterContentInit, OnInit, OnChanges, DoCheck { set dataSource(value: any); primaryKey: string; protected _changes: any; _columns: QueryList; featuresList: Features; private _dataSource; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); ngOnInit(): void; ngAfterContentInit(): void; createDataSource(value: any): any; deleteRow(id: any, index: any): void; addRow(rowData: any, index: any): void; updateRow(rec: any, currValue: any, key: any): void; ngOnChanges(changes: SimpleChanges): void; ngDoCheck(): void; dataSourceApplyChanges(changes: any): void; allRows(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, { "dataSource": { "alias": "dataSource"; "required": false; }; "primaryKey": { "alias": "primaryKey"; "required": false; }; }, {}, ["featuresList", "_columns"], never, true, never>; } declare class IgGridComponent extends IgGridBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiff: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns the element holding the data records */ widget(): void; /** * Returns whether grid has non-data fixed columns(e.g. row selectors column) */ hasFixedDataSkippedColumns(): boolean; /** * Returns true if grid has at least one fixed columns(even if a non-data column - like row-selectors column) */ hasFixedColumns(): boolean; /** * Returns the current fixing direction. NOTE - use only if ColumnFixing feature is enabled * @return left|right */ fixingDirection(): string; /** * Returns whether the column with identifier colKey is fixed * * @param colKey An identifier of the column which should be checked. It can be a key or visible index. */ isFixedColumn(colKey: object): boolean; /** * Called to detect whether grid container is resized. * When autoAdjustHeight is true and height of the grid is changed then the height of grid is re-set. */ resizeContainer(): void; /** * Returns whether the header identified by colKey is multicolumn header(has children) * * @param colKey value of the column key */ isGroupHeader(colKey: string): object; /** * Returns an object that contains information on the passed Dom element * * rowId - the id of the record associated with the element - if primaryKey is not set this will be null. * rowIndex - the index (in the DOM) of the row associated with the element. * recordIndex - index of the data record associated with this element in the current dataView. * columnObject - the column object associated with this element ( if the element is tr this will be null) * * @param elem The Dom element or jQuery object which can be a TD or TR element from the grid. */ getElementInfo(elem: Element): object; /** * Returns the ID of the TABLE element where data records are rendered */ id(): string; /** * Returns the DIV that is the topmost container of the grid widget */ container(): Element; /** * Returns the table that contains the header cells */ headersTable(): Element; /** * Returns the table that contains the footer cells */ footersTable(): Element; /** * Returns the DIV that is used as a scroll container for the grid contents */ scrollContainer(): Element; /** * Returns the DIV that is the topmost container of the fixed grid - contains fixed columns(in ColumnFixing scenario) */ fixedContainer(): Element; /** * Returns the DIV that is the topmost container of the fixed body grid - contains fixed columns(in ColumnFixing scenario) */ fixedBodyContainer(): Element; /** * Returns container(jQuery representation) containing fixed footer - contains fixed columns(in ColumnFixing scenario) */ fixedFooterContainer(): object; /** * Returns container(jQuery representation) containing fixed header - contains fixed columns(in ColumnFixing scenario) */ fixedHeaderContainer(): object; /** * Returns the table that contains the FIXED header cells - contains fixed columns(in ColumnFixing scenario) */ fixedHeadersTable(): Element; /** * Returns the table that contains the footer cells - contains fixed columns(in ColumnFixing scenario) */ fixedFootersTable(): Element; /** * Returns the cell TD element at the specified location * * @param x The column index. * @param y The row index. * @param isFixed Optional parameter - if true get cell TD at the specified location from the fixed table */ cellAt(x: number, y: number, isFixed: boolean): Element; /** * Returns the cell TD element by row id and column key * * @param rowId The id of the row. * @param columnKey The column key. */ cellById(rowId: object, columnKey: string): Element; /** * Returns the fixed table - contains fixed columns(in ColumnFixing scenario). If there aren't fixed columns returns the grid table */ fixedTable(): object; /** * Gets all immediate children of the current grid */ immediateChildrenWidgets(): any[]; /** * Gets all children of the current grid, recursively */ childrenWidgets(): any[]; /** * Gets all children's elements of the current grid, recursively */ children(): any[]; /** * Gets all immediate children's elements of the current grid */ immediateChildren(): any[]; /** * Returns the row (TR element) at the specified index. jQuery selectors aren't used for performance reasons * * @param i The row index. */ rowAt(i: number): Element; /** * Returns the row TR element by row id * * @param rowId The id of the row. * @param isFixed Specify search in the fixed container. */ rowById(rowId: object, isFixed?: boolean): Element; /** * Returns the fixed row (TR element) at the specified index. * jQuery selectors aren't used for performance reasons(in ColumnFixing scenario - only when there is at least one fixed column) * * @param i The row index. */ fixedRowAt(i: number): Element; /** * Returns a list of all fixed TR elements holding data in the grid, * in ColumnFixing scenario - only when there is at least one fixed column */ fixedRows(): any[]; /** * Returns a list of all TR elements holding data in the grid, * when there is at least one fixed column returns rows only in the UNFIXED table */ rows(): any[]; /** * Returns all data fixed rows recursively, not only the immediate ones, * in ColumnFixing scenario - only when there is at least one fixed column */ allFixedRows(): any[]; /** * Returns all data rows recursively, not only the immediate ones, * when there is at least one fixed column returns rows only in the UNFIXED table */ allRows(): any[]; /** * Returns a column object by the specified column key * * @param key The column key. */ columnByKey(key: string): object; /** * Returns a column object by the specified header text. If there are multiple matches, returns the first one. * * @param text The column header text. */ columnByText(text: string): object; /** * Returns an array of selected cells in arbitrary order where every objects has the format * { element: , row: , index: , rowIndex: , columnKey: } . * If multiple selection is disabled the function will return null. */ selectedCells(): any[]; /** * Returns an array of selected rows in arbitrary order where every object has the format { element: , index: }. * If multiple selection is disabled the function will return null. */ selectedRows(): any[]; /** * Returns the currently selected cell that has the format { element: , row: , index: , rowIndex: , columnKey: }, if any. * If multiple selection is enabled the function will return null. */ selectedCell(): object; /** * Returns the currently selected row that has the format { element: , index: }, if any. * If multiple selection is enabled the function will return null. */ selectedRow(): object; /** * Returns the currently active (focused) cell that has the format { element: , row: , index: , rowIndex: , columnKey: }, if any. */ activeCell(): object; /** * Returns the currently active (focused) row that has the format { element: , index: }, if any. */ activeRow(): object; /** * Retrieves a cell value using the row index and the column key. * If a primaryKey is defined, rowId is assumed to be the row Key (not index). * If primary key is not defined, then rowId is converted to a number and is used as a row index. * * @param rowId Row index or row key (primary key). * @param colKey The column key. */ getCellValue(rowId: any, colKey: string): any; /** * Returns the cell text. If colKey is a number, the index of the column is used (instead of a column name) * - does not apply when using a Multi-Row Layout grid. * This is the actual text (or HTML string) for the contents of the cell. * * @param rowId Row index or row data key (primary key) * @param colKey Column key. */ getCellText(rowId: object, colKey: string): string; /** * Sets a new template for a column after initialization and renders the grid if not explicitly disabled. * This method will replace any existing explicitly set row template and will build one anew from the column ones. * * @param col An identifier of the column to set template for (index or key) * @param tmpl The column template to set * @param render Should the grid rerender after template is set */ setColumnTemplate(col: object, tmpl: string, render?: boolean): void; /** * Commits all pending transactions to the client data source. * Note that there won't be anything to commit on the UI, since it is updated instantly. * In order to rollback the actual UI, a call to dataBind() is required. * * @param rowId If specified, will commit only that transaction corresponding to the specified record key. */ commit(rowId?: object): void; /** * Clears the transaction log (delegates to igDataSource). Note that this does not update the UI. * In case the UI must be updated, set the second parameter "updateUI" to true, * which will trigger a call to dataBind() to re-render the contents. * * @param rowId If specified, will only rollback the transactions with that row id. * @param updateUI Whether to update the UI or not. */ rollback(rowId?: object, updateUI?: boolean): any[]; /** * Returns a record by a specified key (requires that primaryKey is set in the settings). * That is a wrapper for this.dataSource.findRecordByKey(key). * * @param key Primary key of the record */ findRecordByKey(key: object): object; /** * Returns a standalone object (copy) that represents the committed transactions, but detached from the data source. * That is a wrapper for this.dataSource.getDetachedRecord(t). * * @param t A transaction object. */ getDetachedRecord(t: object): object; /** * Returns a list of all transaction objects that are pending to be committed or rolled back to the data source. * That is a wrapper for this.dataSource.pendingTransactions(). */ pendingTransactions(): any[]; /** * Returns a list of all transaction objects that are either pending, or have been committed in the data source. * That is a wrapper for this.dataSource.allTransactions(). */ allTransactions(): any[]; /** * Returns the accumulated transaction log as a string. The purpose of this is to be passed to URLs or used conveniently. * That is a wrapper for this.dataSource.transactionsAsString(). */ transactionsAsString(): string; /** * Invokes an AJAX request to the updateUrl option (if specified) and passes the serialized transaction log * (a serialized JSON string) as part of the POST request. * * @param success Specifies a custom function to be called when AJAX request to the updateUrl option succeeds(optional) * @param error Specifies a custom function to be called when AJAX request to the updateUrl option fails(optional) */ saveChanges(success: () => void, error: () => void): void; /** * Adds a new row (TR) to the grid, by taking a data row object. Assumes the record will have the primary key. * * @param rec Identifier/key of row. If missing, then number of rows in grid is used. */ renderNewRow(rec?: string): void; /** * If the data source points to a local JSON array of data, and it is necessary to reset it at runtime, * it must be done through this API member instead of the options (options.dataSource) * * @param dataSource New data source object. */ dataSourceObject(dataSource: object): void; /** * Returns the total number of records in the underlying backend. * If paging or filtering is enabled, this may differ from the number of records in the client-side data source. * In order for this to work, the response JSON/XML must include a property that specifies the total number of records, * which name is specified by options.responseTotalRecCountKey. * This functionality is completely delegated to the data source control. */ totalRecordsCount(): number; /** * Causes the grid to data bind to the data source (local or remote) , and re-render all of the data as well * * @param internal internal call flag */ dataBind(internal: object): void; /** * Moves a visible column at a specified place, in front or behind a target column or at a target index * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier of the column to be moved. * It can be a key, a Multi-Column Header identificator, or an index in a number format. * The latter is not supported when the grid contains multi-column headers. * @param target An identifier of a column where the moved column should move to or an index at which the moved * column should be moved to. In the case of a column identifier the column will be moved after it by default. * @param after Specifies whether the column moved should be moved after or before the target column. * This parameter is disregarded if there is no target column specified but a target index is used. * @param inDom Specifies whether the column moving will be enacted through DOM manipulation or through rerendering of the grid. * @param callback Specifies a custom function to be called when the column is moved. */ moveColumn(column: object, target: object, after?: boolean, inDom?: boolean, callback?: () => void): void; /** * Shows a hidden column. If the column is not hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. If a number is provided it will be used as a column index. * If a string is provided it will be used as a column key. * @param callback Specifies a custom function to be called when the column is shown(optional) */ showColumn(column: object, callback: () => void): void; /** * Hides a visible column. If the column is hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. * If a number is provided it will be used as a column index else if a string is provided it will be used as a column key. * @param callback Specifies a custom function to be called when the column is hidden(optional) */ hideColumn(column: object, callback: () => void): void; /** * Gets unbound values for the specified column key. If key is not specified returns all unboundvalues * * @param key column key */ getUnboundValues(key: string): object; /** * Sets unbound values for the unbound column with the specified key. * If removeOldValues is true then values(if any) for the unbound columns are re-set with the new values * * @param key key of the unbound column * @param values array of values to be set on unbound values * @param removeOldValues if true removes current unbound values(if any) for the specified column and apply the new ones specified * in parameter values. Otherwise merge current values with the specified in parameter values */ setUnboundValues(key: string, values: any[], removeOldValues: object): void; /** * Sets unbound value for the unbound cell by the specified column key and row primary key. * * @param col key of the unbound column * @param rowId primary key value of the row * @param val value to be set on unbound cell * @param notToRender if false will re-render the row */ setUnboundValueByPK(col: string, rowId: string, val: object, notToRender: object): void; /** * Returns an unbound column with the specified key. If not found returns null * * @param key a column key */ getUnboundColumnByKey(key: string): object; /** * Returns whether there is vertical scrollbar. Because of perfrormance issues in older Internet Explorer especially 8,9 - * there is no need to check if height is not set - there is no scrollbar OR if row virtualization is enabled - * it is supposed there is vertical scrollbar */ hasVerticalScrollbar(): object; /** * Auto resize columns that have property width set to "*" so content to be auto-fitted(not shrinked/cutted). * Auto-resizing is applied ONLY for visible columns */ autoSizeColumns(): void; /** * Calculates the width of the column so its content to be auto-fitted to the width of the data in it * (the content should NOT be shrinked/cutted) * * @param columnIndex Visible column index */ calculateAutoFitColumnWidth(columnIndex: number): number; /** * Get visible index by specified column key. If column is not found or is hidden then returns -1. * Note: Method does not count column groups (Multi-Column Headers). * * @param columnKey columnKey * @param includeDataSkip Optional parameter - if set to true include non data columns * (like expander column, row selectors column, etc.) in calculations */ getVisibleIndexByKey(columnKey: string, includeDataSkip: boolean): number; /** * When called the method re-renders the whole grid(also rebinds to the data source) and renders the cols object * * @param cols an array of column objects */ renderMultiColumnHeader(cols: any[]): void; /** * Scroll to the specified row or specified position(in pixels) * * @param scrollerPosition An identifier of the vertical scroll position. * When it is string then it is interpreted as pixels otherwise it is the row number */ virtualScrollTo(scrollerPosition: object): void; /** * Returns column object and visible index for the table cell(TD) which is passed as argument * * @param $td cell(TD) - either DOM TD element or jQuery object */ getColumnByTD($td: object): object; /** * Destroy is part of the jQuery UI widget API and does the following: * 1. Remove custom CSS classes that were added. * 2. Unwrap any wrapping elements such as scrolling divs and other containers. * 3. Unbind all events that were bound. * * @param notToCallDestroy flag whether to propagate the destroy call */ destroy(notToCallDestroy: object): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgTreeGridComponent extends IgGridBase { childDataKey: string; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); deleteRow(id: any): void; updateRow(rec: any, currValue: any, key: any): void; markForCheck(): void; /** * Clears the transaction log (delegates to igDataSource). * Note that this does not update the UI. In case the UI must be updated, * set the second parameter "updateUI" to true, which will trigger a call to dataBind() to re-render the contents. * * @param rowId If specified, will only rollback the transactions with that row id. * @param updateUI Whether to update the UI or not. */ rollback(rowId?: object, updateUI?: boolean): any[]; /** * Causes the treegrid to data bind to the data source (local or remote) , and re-render all of the data */ dataBind(): void; /** * Toggle row by specified row or row identifier * * @param row jQuery table row object or a row id. * @param callback Specifies a custom function to be called when row is expanded/collapsed. * The callback has 4 arguments- a reference to the current context(this), * object that holds 2 properties(unfixedRow - DOM representation of the unfixed row, * fixedRow - DOM representation of the fixed row, if there is no fixed columns it is undefined), * reference to the dataRecord, expand - specifies whether row is expanded */ toggleRow(row: object, callback?: () => void): void; /** * Expands a parent row by specified row or row identifier * * @param row jQuery table row object or a row id. * @param callback Specifies a custom function to be called when row is expanded/collapsed. * The callback has 4 arguments- a reference to the current context(this), * object that holds 2 properties(unfixedRow - DOM representation of the unfixed row, * fixedRow - DOM representation of the fixed row, if there is no fixed columns it is undefined), * reference to the dataRecord, expand - specifies whether row is expanded */ expandRow(row: object, callback?: () => void): void; /** * Collapses a parent row by specified row or row identifier * * @param row jQuery table row object, raw DOM row object or a row id. * @param callback Specifies a custom function to be called when row is expanded/collapsed. * The callback has 4 arguments- a reference to the current context(this), * object that holds 2 properties(unfixedRow - DOM representation of the unfixed row, * fixedRow - DOM representation of the fixed row, if there is no fixed columns it is undefined), * reference to the dataRecord, expand - specifies whether row is expanded */ collapseRow(row: object, callback?: () => void): void; /** * Adds a new row (TR) to the grid as a child of a specific row, by taking a data row object. * Assumes the record will have the primary key. * * @param rec The data row JavaScript object. * @param parentId Identifier/key of the targeted parent row. If missing, then the new row is rendered to the bottom of the grid. */ renderNewChild(rec: object, parentId?: string): void; /** * Destroys igTreeGrid */ destroy(): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgHierarchicalGridComponent extends IgGridBase { childrenDataProperty: string; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); deleteRow(id: any): void; updateRow(rec: any, currValue: any, key: any): void; markForCheck(): void; /** * Data binds the hierarchical grid. No child grids will be created or rendered by default, unless there is initialExpandDepth >= 0 set. */ dataBind(): void; /** * Returns the element of the root grid (igGrid) */ root(): object; /** * Returns the widget object of the root grid (igGrid) */ rootWidget(): object; /** * Returns a flat list of all child grid elements (recursive) */ allChildren(): object; /** * Expands or collapses (toggles) a parent row * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param element accepts a dom element, or a jquery wrapped dom element that should be a TR and should specify a parent row * @param callback Specifies a custom function to be called when parent row is toggled(optional). * Takes 2 arguments - first is hierarchical grid object, second is the row element that was toggled */ toggle(element: Element, callback?: () => void): void; /** * Expands (toggles) a parent row * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param id accepts a dom element, or a jquery wrapped dom element that should be a TR and should specify a parent row * @param callback Specifies a custom function to be called when parent row is expanded(optional). * Takes 2 arguments first is hierarchical grid object, second is the row element that was expanded */ expand(id: Element, callback?: () => void): void; /** * Collapses a parent row * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param id accepts a dom element, or a jquery wrapped dom element that should be a TR and should specify a parent row * @param callback Specifies a custom function to be called when parent row is expanded(optional). * Takes 2 arguments - first is hierarchical grid object, second is the row element that was collapsed */ collapse(id: Element, callback?: () => void): void; /** * Checks if a parent row is currently collapsed * * @param element accepts a dom element, or a jquery wrapped dom element that should be a TR and should specify a parent row */ collapsed(element: Element): boolean; /** * Checks if a parent row is populated with data * * @param element accepts a dom element, or a jquery wrapped dom element that should be a TR and should specify a parent row */ populated(element: Element): boolean; /** * Commits pending transactions to the client data source for main and all child grids. */ commit(): void; /** * Clears the transaction log (delegates to igDataSource). Note that this does not update the UI. * In case the UI must be updated, set the second parameter "updateUI" to true, which will trigger a call to dataBind() * to re-render the contents. * * @param rebind Whether to perform a rebind. */ rollback(rebind?: boolean): void; /** * Posts to the settings.updateUrl using $.ajax, by serializing the changes as url params * * @param success Specifies a custom function to be called when AJAX request to the updateUrl option succeeds(optional) * @param error Specifies a custom function to be called when AJAX request to the updateUrl option fails(optional) */ saveChanges(success: () => void, error: () => void): void; /** * Destroys the hierarchical grid by recursively destroying all child grids */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgComboComponent extends IgControlBase implements ControlValueAccessor, OnInit, OnChanges, DoCheck { model: NgModel; set dataSource(value: any); private _dataSource; protected _model: any; private _changes; constructor(model: NgModel, el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); ngOnInit(): void; writeValue(value: any): void; onChange: (_: any) => void; onTouched: () => void; registerOnChange(fn: () => any): void; registerOnTouched(fn: () => any): void; dataSourceApplyChanges(changes: any): void; updateComboItem(rec: any, val: any, key: any, index: any): void; ngOnChanges(changes: SimpleChanges): void; ngDoCheck(): void; /** * Performs databinding on the combo box. * The [databinding](ui.igcombo#events:dataBinding) and [dataBound](ui.igcombo#events:dataBound) events are always raised. */ dataBind(): object; /** * Forces an update of the igCombo value according to the current text in the igCombo input. * * The refresh is primarily intended to be used with [allowCustomValue](ui.igcombo#options:allowCustomValue) set to true. * The refresh will take the current text and, if no selection is applied, * will set it as igCombo value provided that [allowCustomValue](ui.igcombo#options:allowCustomValue) true. */ refreshValue(): object; /** * Gets the associated data of an item by value matching it's [valueKey](ui.igcombo#options:valueKey) property. * * @param value Value matching the valueKey property of item to be tested if it is selected */ dataForValue(value: object): object; /** * Gets the associated data of li element in the combo. * * @param $element jQuery element of item in the drop down list */ dataForElement($element: object): object; /** * Gets object/s containing data and list item in the combo by element/s. * * @param $element jQuery object with drop down list item element or elements */ itemsFromElement($element: object): object; /** * Gets object/s containing data and list item in the combo by value/s. * * @param value Value of item in the drop down list or array with values. */ itemsFromValue(value: object): object; /** * Gets object/s containing data and list item in the combo by index/es. * * @param index Index or array of indexes of items in the drop down list */ itemsFromIndex(index: number): object; /** * Gets array with data and objects representing li elements in combo box. */ items(): any[]; /** * Gets array with objects representing the filtered li elements in combo box. */ filteredItems(): any[]; /** * Gets array with objects representing selected li elements in combo box. */ selectedItems(): any[]; /** * Triggers filtering. * * @param texts Filter by string, or array of strings. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [filtering](ui.igcombo#events:filtering) and [filtered](ui.igcombo#events:filtered) events. */ filter(texts?: object, event?: object): object; /** * Clears filtering. * * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [filtering](ui.igcombo#events:filtering) and [filtered](ui.igcombo#events:filtered) events. */ clearFiltering(event?: object): object; /** * Opens the drop-down. * * @param callback Specifies callback function to be executed when open animation is completed. * @param focusCombo Set to false to not focus combo"s text input after the drop down is opened. * By default the combo's input is focused. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [dropDownOpening](ui.igcombo#events:dropDownOpening) and [dropDownOpened](ui.igcombo#events:dropDownOpened) events. */ openDropDown(callback?: () => void, focusCombo?: boolean, event?: object): object; /** * Closes the drop down. * * @param callback Specifies callback function to be executed when close animation is completed. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [dropDownClosing](ui.igcombo#events:dropDownClosing) and [dropDownClosed](ui.igcombo#events:dropDownClosed) events. */ closeDropDown(callback?: () => void, event?: object): object; /** * Clears the input text, resets highlighting, filtering and selection. * * @param options object with set of options controlling the behavior of this api method. * focusCombo (boolean): Set to true to focus combo after clearing the input. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ clearInput(options?: object, event?: object): object; /** * Verifies whether a specified value is selected. * * @param value Value matching the [valueKey](ui.igcombo#options:valueKey) property of item to be tested if it is selected */ isValueSelected(value: object): boolean; /** * Verifies whether the li representing the data source's record at the specified index is selected. * * @param index Index of data source record */ isIndexSelected(index: object): boolean; /** * Selects list item/items from the drop-down list by specified value or array of values. * When called witout params will return the value of the selected item or if * [multiSelection](ui.igcombo#options:multiSelection) is enabled array of selected values. * * @param value Value or array of values matching the valueKey property of item/items to be selected * @param options object with set of options controlling the behavior of this api method. * closeDropDown (boolean): Set to true to close the drop down list after the selection. * focusCombo (boolean): Set to true to focus combo after the selection. * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. * By default the navigation item is changed to the new selected item. * keepScrollPosition (boolean): Set to true to keep current scroll position. * By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ value(value?: object, options?: object, event?: object): any; /** * Selects a list item from the drop-down list. * * @param $items jQuery object with item or items to be selected. * @param options object with set of options controlling the behavior of this api method. * closeDropDown (boolean): Set to true to close the drop down list after the selection. * focusCombo (boolean): Set to true to focus combo after the selection. * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. * By default the navigation item is changed to the new selected item. * keepScrollPosition (boolean): Set to true to keep current scroll position. * By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ select($items: object, options?: object, event?: object): object; /** * Gets/Sets selected item/s from the drop-down list by specified index. * * @param index Index or array of indexes of items to be selected * @param options object with set of options controlling the behavior of this api method. * closeDropDown (boolean): Set to true to close the drop down list after the selection. * focusCombo (boolean): Set to true to focus combo after the selection. * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. * By default the navigation item is changed to the new selected item. * keepScrollPosition (boolean): Set to true to keep current scroll position. * By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ index(index?: object, options?: object, event?: object): object; /** * Selects all items from the drop-down list. * * @param options object with set of options controlling the behavior of this api method. * closeDropDown (boolean): Set to true to close the drop down list after the selection. * focusCombo (boolean): Set to true to focus combo after the selection. * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. * By default the navigation item is changed to the new selected item. * keepScrollPosition (boolean): Set to true to keep current scroll position. * By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ selectAll(options?: object, event?: object): object; /** * Deselects a list item from the drop down list by value. * * @param value Value or array of values matching the [valueKey](ui.igcombo#options:valueKey) property of item/items to be deselected * @param options object with set of options controlling the behavior of this api method. * focusCombo (boolean): Set to true to focus combo after the deselection. * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselectByValue(value: object, options?: object, event?: object): object; /** * Deselects a list item from the drop down list. * * @param $items jQuery object with item or items to be deselected * @param options object with set of options controlling the behavior of this api method. * focusCombo (boolean): Set to true to focus combo after the deselection. * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselect($items: object, options?: object, event?: object): object; /** * Deselects a list item from the drop down list by index. * * @param index Index or array of indexes of items to be selected * @param options object with set of options controlling the behavior of this api method. * focusCombo (boolean): Set to true to focus combo after the deselection. * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselectByIndex(index: object, options?: object, event?: object): object; /** * Deselects all selected items from the drop down list. * * @param options object with set of options controlling the behavior of this api method. * focusCombo (boolean): Set to true to focus combo after the deselection. * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). * Calling the method with this param set to "true" will trigger * [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselectAll(options?: object, event?: object): object; /** * Gets/Sets index of active item in list. * * @param index New active index for list. In order to clear active item, use -1. * @return number|object Returns index of active item in list or -1, if parameter is undefined. * Otherwise, it returns reference to this igCombo. */ activeIndex(index?: number): number | object; /** * Gets/Sets text in text input field. * * @param text New text value for combo's input field. * @return string|object If parameter is undefined, then current text in field is returned. * Otherwise, it returns reference to this igCombo. */ text(text?: string): string | object; /** * Gets/Sets scrollTop attribute of html element, which scrolls drop-down list of items. * * @param value New value for scroll top in list. * Note: if list is closed and new value is provided, then openDropDown() is called automatically. * @return number|object If parameter is undefined, then scrollTop is returned. Otherwise, it returns reference to this igCombo. */ listScrollTop(value?: number): number | object; /** * Gets jQuery objects representing all rendered list items in the combo drop down list. */ listItems(): object; /** * Gets jQuery object of the outer element of the combo. */ comboWrapper(): object; /** * Gets jQuery object of the drop down associated with this combo widget */ dropDown(): object; /** * Gets jQuery object of the container that holds the list with items. */ list(): object; /** * Gets jQuery object of the text input associated with this combo widget. */ textInput(): object; /** * Gets jQuery object of the value input associated with this combo widget. */ valueInput(): object; /** * Gets reference to [igValidator](ui.igvalidator) used by igCombo. * * @param destroy Request to destroy validator. */ validator(destroy?: boolean): object; /** * Trigger validation. */ validate(): boolean; /** * Returns boolean representing whether the combo drop down list is opened. */ dropDownOpened(): boolean; /** * Repositions drop down under combo input. Has effect only when the drop down is attached to body. */ positionDropDown(): object; /** * Destroys the igCombo widget. */ destroy(): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgEditorBase extends IgControlBase implements ControlValueAccessor, OnInit { model: NgModel; protected _model: any; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); ngOnInit(): void; writeValue(value: any): void; onChange: (_: any) => void; onTouched: () => void; registerOnChange(fn: (_: any) => {}): void; registerOnTouched(fn: () => {}): void; static ɵfac: i0.ɵɵFactoryDeclaration, [null, null, null, null, null, { optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, true, never>; } declare class IgCheckboxEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; /** * Gets/Sets Current checked state/Value of the igCheckboxEditor that will be submitted by the HTML form. * 1. If the [value](ui.igcheckboxeditor#options:value) option IS NOT defined, * then 'value' method will match the checked state of the editor. * This option is used when the checkbox is intended to operate as a Boolean editor. In that case the return type is bool. * 2. If the [value](ui.igcheckboxeditor#options:value) option IS defined, * then 'value' method will return the value that will be submitted when the editor is checked and the form is submitted. * To get checked state regardless of the 'value' option, use $(".selector").igCheckboxEditor("option", "checked"); * * @param newValue new value */ value(newValue: object): string; /** * Toggles the state of the checkbox. */ toggle(): void; /** * Gets/Sets name attribute applied to the editor element. * * @param newValue The new input name. */ inputName(newValue?: string): string; /** * Gets the input element of the editor. */ field(): string; /** * Gets a reference to the jQuery element that wraps the editor. */ editorContainer(): string; /** * Gets whether the editor has focus. */ hasFocus(): boolean; /** * Sets focus to the editor after the specified delay. * * @param delay The delay before focusing the editor. */ setFocus(delay?: number): void; /** * Hides the editor. */ hide(): void; /** * Shows the editor. */ show(): void; /** * Gets a reference to [igValidator](ui.igvalidator) used by the editor. */ validator(): object; /** * Triggers validation for the editor. If validatorOptions are set will also call validate on the [igValidator](ui.igvalidator). */ validate(): boolean; /** * Destroys the widget */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgCurrencyEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Gets/sets a string that is used as the currency symbol shown with the number in the input. * The value provided as a param is propagated to the currencySymbol option and thus has the same priority as the option. * * @param symbol New currency symbol. */ currencySymbol(symbol?: object): string; /** * Gets/Sets editor value. * * @param newValue New editor value. */ value(newValue?: number): number; /** * Finds index of list item by text that matches with the search parameters. * * @param value The text to search for. */ findListItemIndex(value: number): number; getSelectedText(): void; getSelectionStart(): void; getSelectionEnd(): void; /** * Increments value in editor according to the parameter or selects the previous item from the drop-down list if * [isLimitedToListValues](ui.%%WidgetNameLowered%%#options:isLimitedToListValues) is enabled. * * @param delta Increments value. */ spinUp(delta?: number): void; /** * Decrements value in editor according to the parameter selects the next item from the drop-down list if * [isLimitedToListValues](ui.%%WidgetNameLowered%%#options:isLimitedToListValues) is enabled. * * @param delta Decrement value. */ spinDown(delta?: number): void; /** * This method is deprecated in favor of [spinUp](ui.%%WidgetNameLowered%%#options:spinUp). */ selectListIndexUp(): void; /** * This method is deprecated in favor of [spinDown](ui.%%WidgetNameLowered%%#options:spinDown). */ selectListIndexDown(): void; /** * Gets current regional. */ getRegionalOption(): string; /** * Changes the the regional settings of widget element to the language specified in * [options.regional](ui.ignumericeditor#options:regional) * Note that this method is for rare scenarios, use [regional](ui.ignumericeditor#options:regional) option setter */ changeRegional(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgDateEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Changes the the regional settings of widget element to the language specified in [options.regional](ui.igdateeditor#options:regional) * Note that this method is for rare scenarios, use [regional](ui.igdateeditor#options:regional) option setter */ changeRegional(): void; /** * Gets/Sets editor value. * * Note! This option doesn't use the dateInputFormat to extract the date * * @param newValue New editor value. Date object can be set as value. String value can be passed and the editor will use * the javascript Date object constructor to create date object and will use it for the comparison. * MVC date format can be used too. For example Date(/"ticks"/). */ value(newValue?: Date): Date; /** * Gets selected date as a date object. This method can be used when dataMode is set as either displayModeText or editModeText. * In such cases the value() method will not return date object and getSelectedDate() can be used to replace that functionality. */ getSelectedDate(): Date; /** * Sets selected date. This method can be used when dataMode is set as either displayModeText or editModeText. * In such cases the value() cannot accept a date object as a new value and getSelectedDate() can be used to replace that functionality. * * @param date date */ selectDate(date: Date): void; /** * Increases the date or time period, depending on the current cursor position. * * @param delta The increase delta. */ spinUp(delta?: number): void; /** * Decreases the date or time period, depending on the current cursor position. * * @param delta The decrease delta. */ spinDown(delta?: number): void; /** * Returns a reference to the spin up UI element of the editor. */ spinUpButton(): string; /** * Returns a reference to the spin down UI element of the editor. */ spinDownButton(): string; /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; dropDownButton(): void; dropDownContainer(): void; dropDownVisible(): void; findListItemIndex(): void; getSelectedListItem(): void; selectedListIndex(): void; showDropDown(): void; hideDropDown(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgDatePickerComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Changes the the regional settings of widget element to the language specified in [options.regional](ui.igdatepicker#options:regional) * Note that this method is for rare scenarios, use [regional](ui.igdatepicker#options:regional) option setter */ changeRegional(): void; /** * Returns a reference to the jQuery calendar used as a picker selector */ getCalendar(): string; dropDownContainer(): void; findListItemIndex(): void; getSelectedListItem(): void; selectedListIndex(): void; /** * Shows the drop down list. */ showDropDown(): void; /** * Hides the drop down list. */ hideDropDown(): void; /** * Returns a reference to the calendar button UI element of the editor. */ dropDownButton(): string; /** * Returns the visibility state of the calendar. */ dropDownVisible(): boolean; /** * Destroys the widget */ destroy(): void; /** * Gets/Sets editor value. * * Note! This option doesn't use the dateInputFormat to extract the date * * @param newValue New editor value. Date object can be set as value. String value can be passed and the editor will * use the javascript Date object constructor to create date object and will use it for the comparison. * MVC date format can be used too. For example Date(/"ticks"/). */ value(newValue?: Date): Date; /** * Gets selected date as a date object. This method can be used when dataMode is set as either displayModeText or editModeText. * In such cases the value() method will not return date object and getSelectedDate() can be used to replace that functionality. */ getSelectedDate(): Date; /** * Sets selected date. This method can be used when dataMode is set as either displayModeText or editModeText. * In such cases the value() cannot accept a date object as a new value and getSelectedDate() can be used to replace that functionality. * * @param date date */ selectDate(date: Date): void; /** * Increases the date or time period, depending on the current cursor position. * * @param delta The increase delta. */ spinUp(delta?: number): void; /** * Decreases the date or time period, depending on the current cursor position. * * @param delta The decrease delta. */ spinDown(delta?: number): void; /** * Returns a reference to the spin up UI element of the editor. */ spinUpButton(): string; /** * Returns a reference to the spin down UI element of the editor. */ spinDownButton(): string; /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgTimePickerComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Gets the selected list item. */ getSelectedListItem(): string; /** * Returns the visibility state of the calendar. */ dropDownVisible(): boolean; /** * Returns a reference to the drop-down button UI element of the editor. */ dropDownButton(): string; /** * Gets reference to jquery object which is used as container of drop-down list. */ dropDownContainer(): string; /** * Finds index of list item by text that matches with the search parameters. * * @param text The text to search for in the drop down list. * @param matchType The rule that is applied for searching the text. */ findListItemIndex(text: string, matchType?: object): number; /** * Gets the index of the selected list item. Sets selected item by index. * * @param index The index of the item that needs to be selected. */ selectedListIndex(index?: number): number; value(newValue: object): void; selectDate(): void; /** * Changes the the regional settings of widget element to the language specified in [options.regional](ui.igdateeditor#options:regional) * Note that this method is for rare scenarios, use [regional](ui.igdateeditor#options:regional) option setter */ changeRegional(): void; /** * Gets selected date as a date object. This method can be used when dataMode is set as either displayModeText or editModeText. * In such cases the value() method will not return date object and getSelectedDate() can be used to replace that functionality. */ getSelectedDate(): Date; /** * Increases the date or time period, depending on the current cursor position. * * @param delta The increase delta. */ spinUp(delta?: number): void; /** * Decreases the date or time period, depending on the current cursor position. * * @param delta The decrease delta. */ spinDown(delta?: number): void; /** * Returns a reference to the spin up UI element of the editor. */ spinUpButton(): string; /** * Returns a reference to the spin down UI element of the editor. */ spinDownButton(): string; /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgMaskEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Gets/Sets mask editor value. * * @param newValue New mask editor value. */ value(newValue?: string): string; dropDownContainer(): void; showDropDown(): void; hideDropDown(): void; dropDownButton(): void; spinUpButton(): void; spinDownButton(): void; dropDownVisible(): void; findListItemIndex(): void; selectedListIndex(): void; getSelectedListItem(): void; spinUp(): void; spinDown(): void; /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; /** * Changes the all locales into the widget element to the language specified in [options.language](ui.igtexteditor#options:language) * Note that this method is for rare scenarios, see [language](ui.igtexteditor#options:language) or * [locale](ui.igtexteditor#options:locale) option setter */ changeLocale(): void; /** * Gets the visible text in the editor. */ displayValue(): string; /** * Returns a reference to the clear button UI element of the editor. */ clearButton(): string; /** * Gets the selected text from the editor in edit mode. This can be done inside key event handlers, like keydown or keyup. * This method can be used only when the editor is focused. * If you invoke this method in display mode, when the editor input is blurred, the returned value will be an empty string. */ getSelectedText(): string; /** * Gets the start index of the selected text in the editor. */ getSelectionStart(): number; /** * Gets the end index of the selected text in the editor. */ getSelectionEnd(): number; /** * Inserts the text at the location of the caret or over the current selection. * If the editor is focused the method will insert the text over the current selection. * If the editor is not focused the method will set the text as value of the editor. * Note: The method raises [textChanged](ui.igtexteditor#events:textChanged) event. * * @param value The string to be inserted. */ insert(value: string): void; /** * Selects the text between start and end indices in the editor. * If the parameters are equal, then the method sets location of caret. The method has effect only when the editor has focus. * * @param start Start of the selection. * @param end End of the selection. */ select(start: number, end: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgNumericEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Gets/Sets editor value. * * @param newValue New editor value. */ value(newValue?: number): number; /** * Finds index of list item by text that matches with the search parameters. * * @param value The text to search for. */ findListItemIndex(value: number): number; getSelectedText(): void; getSelectionStart(): void; getSelectionEnd(): void; /** * Increments value in editor according to the parameter or selects the previous item from the drop-down list if * [isLimitedToListValues](ui.%%WidgetNameLowered%%#options:isLimitedToListValues) is enabled. * * @param delta Increments value. */ spinUp(delta?: number): void; /** * Decrements value in editor according to the parameter selects the next item from the drop-down list if * [isLimitedToListValues](ui.%%WidgetNameLowered%%#options:isLimitedToListValues) is enabled. * * @param delta Decrement value. */ spinDown(delta?: number): void; /** * This method is deprecated in favor of [spinUp](ui.%%WidgetNameLowered%%#options:spinUp). */ selectListIndexUp(): void; /** * This method is deprecated in favor of [spinDown](ui.%%WidgetNameLowered%%#options:spinDown). */ selectListIndexDown(): void; /** * Gets current regional. */ getRegionalOption(): string; /** * Changes the the regional settings of widget element to the language specified in * [options.regional](ui.ignumericeditor#options:regional) * Note that this method is for rare scenarios, use [regional](ui.ignumericeditor#options:regional) option setter */ changeRegional(): void; /** * Changes the all locales into the widget element to the language specified in [options.language](ui.igtexteditor#options:language) * Note that this method is for rare scenarios, see [language](ui.igtexteditor#options:language) or * [locale](ui.igtexteditor#options:locale) option setter */ changeLocale(): void; /** * Gets the visible text in the editor. */ displayValue(): string; /** * Gets reference to jquery object which is used as container of drop-down list. */ dropDownContainer(): string; /** * Shows the drop down list. */ showDropDown(): void; /** * Hides the drop down list. */ hideDropDown(): void; /** * Returns a reference to the drop-down button UI element of the editor. */ dropDownButton(): string; /** * Returns if the drop-down list is visible. */ dropDownVisible(): boolean; /** * Returns a reference to the clear button UI element of the editor. */ clearButton(): string; /** * Gets the index of the selected list item. Sets selected item by index. * * @param index The index of the item that needs to be selected. */ selectedListIndex(index?: number): number; /** * Gets the selected list item. */ getSelectedListItem(): string; /** * Inserts the text at the location of the caret or over the current selection. * If the editor is focused the method will insert the text over the current selection. * If the editor is not focused the method will set the text as value of the editor. * Note: The method raises [textChanged](ui.igtexteditor#events:textChanged) event. * * @param value The string to be inserted. */ insert(value: string): void; /** * Selects the text between start and end indices in the editor. * If the parameters are equal, then the method sets location of caret. The method has effect only when the editor has focus. * * @param start Start of the selection. * @param end End of the selection. */ select(start: number, end: number): void; /** * Returns a reference to the spin up UI element of the editor. */ spinUpButton(): string; /** * Returns a reference to the spin down UI element of the editor. */ spinDownButton(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgPercentEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Paste text at location of the caret or over the current selection. * Best used during editing, as the method will instead set the text as value * (modified by the [displayFactor](ui.igpercenteditor#options:displayFactor)) if the editor is not focused. * Note: the method raises the [textChanged](ui.igpercenteditor#events:textChanged) event. * * @param value The string to be inserted. */ insert(value: string): void; /** * Gets/Sets a string that is used as the percent symbol shown with the number in the input. * The value provided as a param is propagated to the [percentSymbol](ui.igpercenteditor#options:percentSymbol) * option and thus has the same priority as the option. * * @param symbol New percent symbol. */ percentSymbol(symbol?: object): string; /** * Gets/Sets editor value. * * @param newValue New editor value. */ value(newValue?: number): number; /** * Finds index of list item by text that matches with the search parameters. * * @param value The text to search for. */ findListItemIndex(value: number): number; getSelectedText(): void; getSelectionStart(): void; getSelectionEnd(): void; /** * Increments value in editor according to the parameter or selects the previous item from the drop-down list if * [isLimitedToListValues](ui.%%WidgetNameLowered%%#options:isLimitedToListValues) is enabled. * * @param delta Increments value. */ spinUp(delta?: number): void; /** * Decrements value in editor according to the parameter selects the next item from the drop-down list if * [isLimitedToListValues](ui.%%WidgetNameLowered%%#options:isLimitedToListValues) is enabled. * * @param delta Decrement value. */ spinDown(delta?: number): void; /** * This method is deprecated in favor of [spinUp](ui.%%WidgetNameLowered%%#options:spinUp). */ selectListIndexUp(): void; /** * This method is deprecated in favor of [spinDown](ui.%%WidgetNameLowered%%#options:spinDown). */ selectListIndexDown(): void; /** * Gets current regional. */ getRegionalOption(): string; /** * Changes the the regional settings of widget element to the language specified in * [options.regional](ui.ignumericeditor#options:regional) * Note that this method is for rare scenarios, use [regional](ui.ignumericeditor#options:regional) option setter */ changeRegional(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgTextEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef, model: NgModel); /** * Changes the all locales into the widget element to the language specified in [options.language](ui.igtexteditor#options:language) * Note that this method is for rare scenarios, see [language](ui.igtexteditor#options:language) or * [locale](ui.igtexteditor#options:locale) option setter */ changeLocale(): void; /** * Gets the visible text in the editor. */ displayValue(): string; /** * Gets reference to jquery object which is used as container of drop-down list. */ dropDownContainer(): string; /** * Shows the drop down list. */ showDropDown(): void; /** * Hides the drop down list. */ hideDropDown(): void; /** * Returns a reference to the drop-down button UI element of the editor. */ dropDownButton(): string; /** * Returns if the drop-down list is visible. */ dropDownVisible(): boolean; /** * Returns a reference to the clear button UI element of the editor. */ clearButton(): string; /** * Finds index of list item by text that matches with the search parameters. * * @param text The text to search for in the drop down list. * @param matchType The rule that is applied for searching the text. */ findListItemIndex(text: string, matchType?: object): number; /** * Gets the index of the selected list item. Sets selected item by index. * * @param index The index of the item that needs to be selected. */ selectedListIndex(index?: number): number; /** * Gets the selected list item. */ getSelectedListItem(): string; /** * Gets the selected text from the editor in edit mode. This can be done inside key event handlers, like keydown or keyup. * This method can be used only when the editor is focused. * If you invoke this method in display mode, when the editor input is blurred, the returned value will be an empty string. */ getSelectedText(): string; /** * Gets the start index of the selected text in the editor. */ getSelectionStart(): number; /** * Gets the end index of the selected text in the editor. */ getSelectionEnd(): number; /** * Inserts the text at the location of the caret or over the current selection. * If the editor is focused the method will insert the text over the current selection. * If the editor is not focused the method will set the text as value of the editor. * Note: The method raises [textChanged](ui.igtexteditor#events:textChanged) event. * * @param value The string to be inserted. */ insert(value: string): void; /** * Selects the text between start and end indices in the editor. * If the parameters are equal, then the method sets location of caret. The method has effect only when the editor has focus. * * @param start Start of the selection. * @param end End of the selection. */ select(start: number, end: number): void; /** * Selects the previous item from the drop-down list. */ spinUp(): void; /** * Selects the next item from the drop-down list. */ spinDown(): void; /** * Returns a reference to the spin up UI element of the editor. */ spinUpButton(): string; /** * Returns a reference to the spin down UI element of the editor. */ spinDownButton(): string; /** * Gets/Sets name attribute applied to the editor element. * * @param newValue The new input name. */ inputName(newValue?: string): string; value(newValue: object): void; /** * Gets the input element of the editor. */ field(): string; /** * Gets a reference to the jQuery element that wraps the editor. */ editorContainer(): string; /** * Gets whether the editor has focus. */ hasFocus(): boolean; /** * Sets focus to the editor after the specified delay. * * @param delay The delay before focusing the editor. */ setFocus(delay?: number): void; /** * Hides the editor. */ hide(): void; /** * Shows the editor. */ show(): void; /** * Gets a reference to [igValidator](ui.igvalidator) used by the editor. */ validator(): object; /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; /** * Triggers validation for the editor. If validatorOptions are set will also call validate on the [igValidator](ui.igvalidator). */ validate(): boolean; /** * Destroys the widget */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgTreeComponent extends IgControlBase implements OnInit, OnChanges, DoCheck { private _dataSource; private _changes; set dataSource(value: any); bindings: IgTreeBindings; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngDoCheck(): void; addItem(item: any, index: any): void; deleteItem(item: any, index: any): void; dataSourceApplyChanges(changes: any): void; updateItem(item: any, value: any, key: any): void; markForCheck(): void; /** * Performs databinding on the igTree. */ dataBind(): void; /** * Toggles the checkstate of a node if checkboxMode is not set to off, otherwise does nothing. * * @param node Specifies the node element the checkbox of which would be toggled. * @param event Indicates the browser event which triggered this action, if this is not an API call. */ toggleCheckstate(node: object, event?: object): void; /** * Toggles the collapse/expand state for the specified node. * * @param node Specifies the node element the checkbox of which would be toggled. * @param event Indicates the browser event which triggered this action, if this is not an API call. */ toggle(node: object, event?: object): void; /** * Expands the tree down to the specified node and selects the node if specified. * * @param node Specifies the node element down to which the tree would be expanded. * @param toSelect Specifies the whether to select the node after expanding to it. */ expandToNode(node: object, toSelect?: boolean): void; /** * Expands the specified node. * * @param node Specifies the node element to expand. */ expand(node: object): void; /** * Collapses the specified node. * * @param node Specifies the node element to collapse. */ collapse(node: object): void; /** * Retrieves the parent node element of the specified node element. * * @param node Specifies the jQuery selected node element to collapse. */ parentNode(node: object): object; /** * Retrieves the jQuery element of the node with the specified path. * * @param nodePath Specifies the path to the required node. */ nodeByPath(nodePath: string): object; /** * Retrieves the jQuery element of the node with the specified value. * * @param value Specifies the value of the required node. */ nodesByValue(value: string): object; /** * Retrieves all the node objects for the nodes that have their checkboxes checked. */ checkedNodes(): any[]; /** * Retrieves all the node objects for the nodes that have their checkboxes unchecked. */ uncheckedNodes(): any[]; /** * Retrieves all the node objects for the nodes that have their checkboxes partially checked. */ partiallyCheckedNodes(): any[]; /** * Selects a node. * * @param node Specifies the node element to be selected. * @param event Indicates the browser event which triggered this action, if this is not an API call. */ select(node: object, event?: object): void; /** * Deselects the specified node. * * @param node Specifies the node element to be deselected. */ deselect(node: object): void; /** * Deselects all the selected nodes. */ clearSelection(): void; /** * Retrieves the node object for the selected node. */ selectedNode(): object; /** * Retrieves all node objects with the specified text (case sensitive). * * @param text The text to search for. * @param parent The node element to start the search from. If not specified then search would start from the root of the tree. */ findNodesByText(text: string, parent?: object): any[]; /** * Retrieves all node objects for the immediate children of the specified parent with the specified text (case sensitive). * * @param text The text to search for. * @param parent The node element the children of which would be searched. */ findImmediateNodesByText(text: string, parent?: object): any[]; /** * Retrieves the n-th jQuery node element child of the specified parent. * * @param index Specifies the index the node at which to be retrieved. * @param parent The parent node element to start the search from. */ nodeByIndex(index: number, parent?: object): object; /** * Retrieves a node object for the specified node element. * * @param element Specifies the node element. */ nodeFromElement(element: object): object; /** * Retrieves a node object collection of the immediate children of the provided node element. * * @param parent Specifies the node element. */ children(parent: object): any[]; /** * Retrieves a node object collection of the immediate children of the node with the provided path. * * @param path Specifies the path of the node the children of which are to be retrieved. */ childrenByPath(path: string): any[]; /** * Returns true if the provided node element is selected and false otherwise. * * @param node Specifies the node element. */ isSelected(node: object): boolean; /** * Returns true if the provided node element is expanded and false otherwise. * * @param node Specifies the node element. */ isExpanded(node: object): boolean; /** * Returns true if the provided node element has its checkbox checkstate checked and false otherwise. * * @param node Specifies the node element. */ isChecked(node: object): boolean; /** * Returns the specified node checkstate. * * @param node Specifies the node element. */ checkState(node: object): string; /** * Adds a new array of nodes to the tree. New nodes are appended to the root or to a specified parent node, at a specified index. * * @param node Specifies the data used to create the new nodeс. * @param parent Specifies the element of the parent node the nodes are to be appended to. * @param nodeIndex Specifies the index at which the nodes to be inserted. */ addNode(node: object, parent?: object, nodeIndex?: number): void; /** * Removes the node with with the specified path and all of its children. * * @param path Specifies the path of the node to be removed. */ removeAt(path: string): void; /** * Removing all the nodes with the specified value. * * @param value Specifies the value of the nodes to be removed. */ removeNodesByValue(value: string): void; /** * Performs a UI update on the provided node element with the provided data. * * @param element Specifies the node to be updated. * @param data Specifies the new data item the node would update according to. */ applyChangesToNode(element: object, data: object): void; /** * Returns the transaction log stack. */ transactionLog(): any[]; /** * Returns the data for the node with specified path. * * @param path Specifies the node path for which the data is returned. */ nodeDataFor(path: string): object; /** * Destructor for the igTree widget. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgContentControlBase extends IgControlBase implements OnInit { private childNodes; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, true, never>; } declare class IgDialogComponent extends IgContentControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Destroys the igDialog and moves the target element to its original parent. */ destroy(): object; /** * Gets/Sets the state of the editor. * Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised. * * @param state New state. */ state(state?: string): string; /** * Gets reference to the dynamically created DIV element which represents the dialog. */ mainElement(): Element; /** * Closes the dialog if it is opened. * Notes: * 1. If the state of the dialog changes, then stateChanging and stateChanged events are raised. * 2. That method does not change minimized or maximized state of the dialog. * It means that method "open" will open the dialog and keep previous minimized or maximized state. * * @param e Browser event: internal use only. */ close(e?: object): object; /** * Opens the dialog if it is closed. Notes: * 1. If the state of the dialog changes, then stateChanging and stateChanged events are raised. * 2. That method does not change minimized or maximized state of the dialog. * It means that if the dialog was in minimized or maximized stated when closed by "close" method, * then the dialog will open in minimized or maximized state respectively. */ open(): object; /** * Minimizes the dialog if it is not minimized. * Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised. */ minimize(): object; /** * Maximizes the dialog if it is not maximized. * Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised. */ maximize(): object; /** * Sets the normal state for the dialog if it was maximized or minimized. * Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised. */ restore(): object; /** * Pins the dialog if it is not pinned. * When the dialog is pinned, then the html element of the dialog is moved to the original container where the target elemen * was located and position:absolute is removed. * The pinned dialog does not support modal state, maximized state and it can not be moved. * Notes: * 1. If the parent element of the original target-element is invisible, then the pinned dialog becomes invisible as well. * 2. If the state of the dialog changes, then stateChanging and stateChanged events are raised. */ pin(): object; /** * Unpins the dialog if it is pinned. * Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised. */ unpin(): object; /** * Gets a reference to the top modal dialog. */ getTopModal(): object; /** * Checks if the dialog is modal and if it is currently active. */ isTopModal(): boolean; /** * Moves a not modal dialog to the top. * * @param e Original event of browser. */ moveToTop(e?: object): object; /** * Retrieves the igDialog content container or sets its content to be the new content provided. * * @param newContent The new html content provided as a string. If the parameter is provided then the method acts as a setter. */ content(newContent?: string): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgSplitterComponent extends IgContentControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns the element that represents this widget. */ widget(): object; /** * Expand the specified panel by index. * * @param index Specifies the index of the panel to expand. */ expandAt(index: object): void; /** * Collapse the specified panel. * * @param index Specifies the index of the panel to collapse. */ collapseAt(index: object): void; /** * Retrieves the jQuery element of the first panel. */ firstPanel(): object; /** * Retrieves the jQuery element of the second panel. */ secondPanel(): object; /** * Refresh splitter layout, use this method to re-render the splitter if some changes to the layout are applied. */ refreshLayout(): void; /** * You can set new size of the first panel after the splitter is rendered. * * @param size Specifies the new size of the first panel. */ setFirstPanelSize(size: object): void; /** * You can set new size of the second panel after the splitter is rendered. * * @param size Specifies the new size of the second panel. */ setSecondPanelSize(size: object): void; /** * Destroys the igSplitter widget */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgLayoutManagerComponent extends IgContentControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Triggers recalculation of the layout dimensions. Layouts may not need to be reflowed manually, * if their sizes are in percentages (i.e. they are responsive by default) * This can be particularly useful with a grid layout, when the container has percentage sizes, * but items are calculated in pixels and positioned absolutely in the container. * * @param forceReflow Indicates whether the reflow should be forced. * Useful in cases where the items size and position was changed manually. * @param animationDuration The animation duration to be used for this reflow only. Supported only for Grid Layout mode. * @param event Indicates the browser even which triggered this action (not API). */ reflow(forceReflow?: boolean, animationDuration?: number, event?: object): void; /** * Destroy is part of the jQuery UI widget API and does the following: * 1. Remove custom CSS classes that were added. * 2. Remove any elements that were added at widget's initialization and after that, which didn't below to the original markup * 3. Unbind all events that were bound. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgTileManagerComponent extends IgContentControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; ngOnInit(): void; /** * Maximizes a given tile. * * @param $tileToMaximize Specifies the jQuery object of the tile element to be maximized. * @param animDuration Specifies the animation duration for this maximizing. * @param event Indicates the browser even which triggered this action (not API). */ maximize($tileToMaximize: object, animDuration?: number, event?: object): void; /** * Minimizes the maximized tile. Has no effect if no maximized tile is present. * * @param animDuration Specifies the animation duration for this minimize. * @param event Indicates the browser even which triggered this action (not API). */ minimize(animDuration?: number, event?: object): void; /** * Returns the maximized tile or null if such is not present. * @return object|null Returns the maximized tile or null if such is not present. */ maximizedTile(): object; /** * Returns an array with the tiles in minimized state or null if such are not present. * @return object|null Returns an array with the tiles in minimized state or null if such are not present. */ minimizedTiles(): object; /** * Returns the splitter associated with this tile manager or * null if the tile manager was instantiated with maximizedTileIndex. * @return object|null Returns the splitter associated with this tile manager or null * if the tile manager was instantiated with maximizedTileIndex. */ splitter(): object; /** * Returns the [layout manager](ui.iglayoutmanager) associated with current tile manager. */ layoutManager(): object; /** * Reflow the tile manager. Rearranging the tiles to fit in the container * * @param forceReflow Indicates whether the reflow should be forced. * Useful in cases where the items size and position was changed manually. * @param animationDuration The animation duration to be used for this reflow only. * @param event Indicates the browser even which triggered this action (not API). */ reflow(forceReflow?: object, animationDuration?: number, event?: object): void; /** * Returns the element that represents this widget. */ widget(): object; /** * Causes the TileManager to data bind to the data source (local or remote) , and re-render all of the data as well. */ dataBind(): void; /** * Deletes the widget instance (client object). It is no longer accessible and all its event handlers stop working. * Destroys all child widgets. Removes auto-generated HTML content, which is outside the widget, e.g. detached popups, dropdowns, etc. */ destroy(): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgHtmlEditorComponent extends IgControlBase implements ControlValueAccessor, OnInit { model: NgModel; private zone; protected _model: any; protected _zone: any; constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, model: NgModel, zone: NgZone, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); ngOnInit(): void; writeValue(value: any): void; onChange: (_: any) => void; onTouched: () => void; registerOnChange(fn: (_: any) => {}): void; registerOnTouched(fn: () => {}): void; /** * Returns the element on which the widget was instantiated */ widget(): void; /** * Resizes the height of the workspace */ resizeWorkspace(): void; /** * Gets the content of the html editor. * * @param format Returns the content as html or plain text. Values can be "text" or "html". */ getContent(format: string): string; /** * Sets the content of the html editor. * * @param content The content which will be set. * @param format The content type: "text" or "html". */ setContent(content: string, format: string): void; /** * Destroys the widget. */ destroy(): void; /** * Executes htmleditor commands. * * @param actionName The command name. * @param args Additional parameter for the command. */ executeAction(actionName: string, args?: object): void; /** * Returns true/false if the editor contents were modified or not. */ isDirty(): object; /** * Returns the window object associated with the Html Editor's content editable area */ contentWindow(): object; /** * Returns the document object associated with the Html Editor's content editable area */ contentDocument(): object; /** * Returns the content editable associated with this Html Editor */ contentEditable(): object; /** * Returns Selection object that represent the current selection in the content editable */ selection(): object; /** * Returns Range object that represent the current range in the content editable */ range(): object; /** * Inserts the provided content at the position of the caret. * * @param element Accepts html string, DOM element or a jQuery object. */ insertAtCaret(element: object): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgValidatorComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); ngOnInit(): void; /** * Trigger validation and show errors for invalid fields. * * @param field Optional field object, its selector or zero-based index to check. * Only has effect with fields collection and skips other fields. */ validate(field?: object): boolean; /** * Trigger validation but do not display error messages. * * @param field Optional field object, its selector or zero-based index to check. * Only has effect with fields collection and skips other fields. */ isValid(field?: object): boolean; /** * Hide any possible message(s) (either messageTarget or igNotifier). * Note: When the validator has a fields colleciton, not passing a field will hide messages on all fields. * * @param field Optional field object, its selector or zero-based index to hide message for. */ hide(field?: object): void; /** * Gets all current error messages for invalid field(s). * Note that this method does not valdiate and states and messages are only updated on validation, so * this can be used on formValidated event or after validate/isValid method calls. * * @param field Optional field object, selector or zero-based index for a single field to get error message for. */ getErrorMessages(field?: object): any[]; /** * Check for currently displayed message(s). Takes an optional field. * Note: When the validator has a fields colleciton, not passing a * field will return a cumulative true even if just one field has a visible message. * * @param field Optional field object, selector or zero-based index for a single field to get error message for. */ isMessageDisplayed(field?: object): boolean; /** * Gets the notifier for the igValidator or for a single filed. * * @param field Optional field object, its selector or zero-based index to get notifier for. */ notifier(field?: object): object; /** * Adds an new input to the fields collection and initializes it with the validator. * Note: Additional fields are only accepted if the validator has been created with the collection. * * @param field An object with the field selector and options. */ addField(field: object): void; /** * Removes an input from the fields collection. * * @param field The field object to remove, its zero-based index or selector. */ removeField(field: object): void; /** * Updates a field in the validator collection. * Used to reinitialize field in case a control has been created after the validator or to pass in new options. * * @param field The field object to update, its zero-based index or selector. * @param fieldOptions New options to apply to the field. */ updateField(field: object, fieldOptions?: object): void; /** * Destroys the validator widget. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgPivotDataSelectorComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; option(): void; ngOnInit(): void; /** * Updates the data source. */ update(): void; /** * Destroy is part of the jQuery UI widget API and does the following: * 1. Remove custom CSS classes that were added. * 2. Unwrap any wrapping elements such as scrolling divs and other containers. * 3. Unbind all events that were bound. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgPivotGridComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; option(): void; ngOnInit(): void; /** * Returns the igGrid instance used to render the OLAP data. */ grid(): object; /** * Triggers an update on the data source and the igPivotGrid. */ updateGrid(): void; /** * Expands a member from the data source and returns true if the expand succeeds. * If the data source has a pending update, the method will return false. * Note that igPivotGrid to will display the expanded result after the data source is updated. * * @param tupleLocation The name of the parent axis - 'columnAxis' or 'rowAxis'. * @param tupleIndex The index of the containing tuple. * This index should correspond to the position of the tuple in the original unsorted result of the data source. * @param memberIndex The index of the member in the tuple. * This index should correspond to the position of the member in the original unsorted result of the data source. * @param shouldUpdate A flag indicating whether the data source should be updated after the expand. */ expandTupleMember(tupleLocation: string, tupleIndex: number, memberIndex: number, shouldUpdate?: boolean): boolean; /** * Collapses a member from the data source and returns true if the collapse succeeds. * If the data source has a pending update, the method will return false. * Note that igPivotGrid to will display the expanded result after the data source is updated. * * @param tupleLocation The name of the parent axis - 'columnAxis' or 'rowAxis'. * @param tupleIndex The index of the containing tuple. * This index should correspond to the position of the tuple in the original unsorted result of the data source. * @param memberIndex The index of the member in the tuple. * This index should correspond to the position of the member in the original unsorted result of the data source. * @param shouldUpdate A flag indicating whether the data source should be updated after the expand. */ collapseTupleMember(tupleLocation: string, tupleIndex: number, memberIndex: number, shouldUpdate?: boolean): boolean; /** * Returns an array with the applied sort directions on the igPivotGrid's columns. * The returned array contains objects with the following properties: * memberNames: The names of the members in the tuple. * tupleIndex: The index of the tuple on the column axis in the original unsorted result. * sortDirection: The direction of the sort - ascending or descending. */ appliedColumnSortDirections(): any[]; /** * Returns an array with the applied level sort direction items, which were used for the sorting of the header cells. * The returned array contains objects with the following properties: * levelUniqueName: Specifies the unique name of the level, which was sorted. * sortDirection: The direction of the header sort - ascending or descending. */ appliedLevelSortDirections(): any[]; /** * Destroy is part of the jQuery UI widget API and does the following: * 1. Remove custom CSS classes that were added. * 2. Unwrap any wrapping elements such as scrolling divs and other containers. * 3. Unbind all events that were bound. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgDataChartComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; ngOnInit(): void; option(): void; /** * Returns the element holding the chart. */ widget(): void; /** * Returns the ID of parent element holding the chart. */ id(): string; /** * Exports the chart to a PNG image. * * @param width The width of the image. * @param height The height of the image. */ exportImage(width?: object, height?: object): object; /** * Destroys the widget. */ destroy(): void; /** * Notify the chart that styles it draws colors from may have been updated. */ styleUpdated(): object; /** * Resets the zoom level of the chart to default. */ resetZoom(): object; /** * Adds a new item to the data source and notifies the chart. * * @param item The item that we want to add to the data source. * @param targetName The name of the series or axis bound to the data source. * This is required only when the data is bound to series or axis. * If the data is bound to dataSource of igDataChart, the second parameter should not be set. */ addItem(item: object, targetName: string): void; /** * Inserts a new item to the data source and notifies the chart. * * @param item the new item that we want to insert in the data source. * @param index The index in the data source where the new item will be inserted. * @param targetName The name of the series or axis bound to the data source. */ insertItem(item: object, index: number, targetName: string): void; /** * Deletes an item from the data source and notifies the chart. * * @param index The index in the data source from where the item will be been removed. * @param targetName The name of the series or axis bound to the data source. * This is required only when the data is bound to series or axis. * If the data is bound to dataSource of igDataChart, the second parameter should not be set. */ removeItem(index: number, targetName: string): void; /** * Updates an item in the data source and notifies the chart. * * @param index The index of the item in the data source that we want to change. * @param item The new item object that will be set in the data source. * @param targetName The name of the series or axis bound to the data source. */ setItem(index: number, item: object, targetName: string): void; /** * Notifies the chart that an item has been set in an associated data source. * * @param dataSource The data source in which the change happened. * @param index The index in the items source that has been changed. * @param newItem the new item that has been set in the collection. * @param oldItem the old item that has been overwritten in the collection. */ notifySetItem(dataSource: object, index: number, newItem: object, oldItem: object): object; /** * Notifies the chart that the items have been cleared from an associated data source. * It's not necessary to notify more than one target of a change if they share the same items source. * * @param dataSource The data source in which the change happened. */ notifyClearItems(dataSource: object): object; /** * Notifies the target axis or series that an item has been inserted at the specified index in its data source. * It's not necessary to notify more than one target of a change if they share the same items source. * * @param dataSource The data source in which the change happened. * @param index The index in the items source where the new item has been inserted. * @param newItem the new item that has been set in the collection. */ notifyInsertItem(dataSource: object, index: number, newItem: object): object; /** * Notifies the target axis or series that an item has been removed from the specified index in its data source. * It's not necessary to notify more than one target of a change if they share the same items source. * * @param dataSource The data source in which the change happened. * @param index The index in the items source from where the old item has been removed. * @param oldItem the old item that has been removed from the collection. */ notifyRemoveItem(dataSource: object, index: number, oldItem: object): object; /** * Notifies the target axis or series that it should scroll the requested data item into view. * * @param targetName The name of the axis or series notify. * @param item The data item to bring into view, if possible. */ scrollIntoView(targetName: string, item: object): object; /** * Notifies the target axis that it should scale the requested value into chart space from axis space. * For example you can use this method if you want to find where value 50 of the x axis stands scaled to chart's width. * * @param targetName The name of the axis to notify. * @param unscaledValue The value in axis space to translate into chart space. */ scaleValue(targetName: string, unscaledValue: number): number; /** * Notifies the target axis that it should unscale the requested value into axis space from chart space. * For example you can use this method if you want to find what is the value of x axis unscaled from 0 width of the chart. * * @param targetName The name of the axis to notify. * @param scaledValue The value in chart space to translate into axis space. */ unscaleValue(targetName: string, scaledValue: number): number; /** * For the target axis, if using enhanced interval management and precise interval fitting, * this will reset the cached maximum label width, and recalculate using the current labels. * * @param targetName The name of the axis to notify. */ resetCachedEnhancedInterval(targetName: string): object; /** * Notifies the target series that something that affects its visual properties has changed and the visual output needs a repaint. * * @param targetName The name of the series to notify. */ notifyVisualPropertiesChanged(targetName: string): object; /** * Forces any pending deferred work to render on the chart before continuing */ flush(): void; /** * Exports visual data from the chart to aid in unit testing */ exportVisualData(): void; /** * Gets the actual minimum value of the target numeric or date time axis * * @param targetName The name of the axis from which to get the minimum value. */ getActualMinimumValue(targetName: string): void; /** * Gets the actual maximum value of the target numeric or date time axis * * @param targetName The name of the axis from which to get the maximum value. */ getActualMaximumValue(targetName: string): void; /** * Gets the actual interval of the target numeric or date time axis * * @param targetName The name of the axis from which to get the interval. */ getActualInterval(targetName: string): void; /** * Creates a print preview page with the chart, hiding all other elements on the page. */ print(): void; /** * Indicates that a series should render, even though no option has been modified that would normally cause it to refresh. * * @param targetName The name of the series to render. * @param animate Whether the change should be animated, if possible. */ renderSeries(targetName: string, animate: boolean): void; /** * Gets the item item index associated with the specified world position. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. */ getItemIndex(targetName: string, worldPoint: object): number; /** * Gets the item that is the best match for the specified world coordinates. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. */ getItem(targetName: string, worldPoint: object): object; /** * For a category plotted series, gets the current width of the items within the categories. * This only returns a value if the items have some form of width (e.g. columns, bars, etc.) otherwise 0 is returned. * * @param targetName The name of the series to target. */ getItemSpan(targetName: string): number; /** * If possible, will return the best available main value of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesValue(targetName: string, worldPoint: object, useInterpolation: boolean, skipUnknowns: boolean): number; /** * If possible, will return the best available value bounding box within the series that has the best value * match for the world position provided. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. */ getSeriesValueBoundingBox(targetName: string, worldPoint: object): object; /** * If possible, will return the best available value fine grained bounding boxes within the series that have the best value * match for the world position provided. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. */ getSeriesValueFineGrainedBoundingBoxes(targetName: string, worldPoint: object): object; /** * If possible, will return the best available main value position of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesValuePosition(targetName: string, worldPoint: object, useInterpolation: boolean, skipUnknowns: boolean): object; /** * If possible, will return the best available main value position of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} * that represents a position within the pixel space of the series. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesValuePositionFromSeriesPixel(targetName: string, seriesPoint: object, useInterpolation: boolean, skipUnknowns: boolean): object; /** * If possible, will return the best available main value of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} ) * that represents a position in the pixel space of the series. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesValueFromSeriesPixel(targetName: string, seriesPoint: object, useInterpolation: boolean, skipUnknowns: boolean): number; /** * If possible, will return the best available value bounding box within the series that has the best value * match for the given series pixel coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} ) * that represents a position in the pixel space of the series. */ getSeriesValueBoundingBoxFromSeriesPixel(targetName: string, seriesPoint: object): object; /** * If possible, will return the best available value fine grained bounding boxes within the series that have the best value * match for series pixel position provided. * * @param targetName The name of the series to target. * @param worldPoint The series pixel position (in the form {x: [number], y: [number]} ) * that represents a position in the pixel space of the series. */ getSeriesValueFineGrainedBoundingBoxesFromSeriesPixel(targetName: string, worldPoint: object): object; /** * If possible, will return the best available high value of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesHighValue(targetName: string, worldPoint: object, useInterpolation: boolean, skipUnknowns: boolean): number; /** * If possible, will return the best available high value position of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesHighValuePosition(targetName: string, worldPoint: object, useInterpolation: boolean, skipUnknowns: boolean): object; /** * If possible, will return the best available high value position of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} * that represents a position within the pixel space of the series. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesHighValuePositionFromSeriesPixel(targetName: string, seriesPoint: object, useInterpolation: boolean, skipUnknowns: boolean): object; /** * If possible, will return the best available high value of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} ) * that represents a position in the pixel space of the series. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesHighValueFromSeriesPixel(targetName: string, seriesPoint: object, useInterpolation: boolean, skipUnknowns: boolean): number; /** * If possible, will return the best available low value of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesLowValue(targetName: string, worldPoint: object, useInterpolation: boolean, skipUnknowns: boolean): number; /** * If possible, will return the best available low value position of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param worldPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesLowValuePosition(targetName: string, worldPoint: object, useInterpolation: boolean, skipUnknowns: boolean): object; /** * If possible, will return the best available low value position of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} * that represents a position within the pixel space of the series. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesLowValuePositionFromSeriesPixel(targetName: string, seriesPoint: object, useInterpolation: boolean, skipUnknowns: boolean): object; /** * If possible, will return the best available low value of the series for a given world coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} ) * that represents a position in the pixel space of the series. * @param useInterpolation If true, interpolation should be used to get in-between values, * rather than only the actual values in the data set. * @param skipUnknowns If true, unknown values should be skipped. */ getSeriesLowValueFromSeriesPixel(targetName: string, seriesPoint: object, useInterpolation: boolean, skipUnknowns: boolean): number; /** * Gets the item item index associated with the specified series pixel coordinate. * * @param targetName The name of the series to target. * @param seriesPoint The world position (in the form {x: [number from 0 to 1], y: [number from 0 to 1]} ) * that represents a position in the space of the axes. */ getItemIndexFromSeriesPixel(targetName: string, seriesPoint: object): number; /** * Gets the item that is the best match for the specified world coordinates. * * @param targetName The name of the series to target. * @param seriesPoint The series pixel position (in the form {x: [number], y: [number]} ) * that represents a position in the pixel space of the series. */ getItemFromSeriesPixel(targetName: string, seriesPoint: object): object; /** * Gets the category offset for a series, if applicable. * * @param targetName The name of the series to target. */ getSeriesOffsetValue(targetName: string): number; /** * Gets the category width for a series, if applicable. * * @param targetName The name of the series to target. */ getSeriesCategoryWidth(targetName: string): number; /** * Replays the transition in animation for a series, if applicable. * * @param targetName The name of the series to target. */ replayTransitionIn(targetName: string): object; /** * Simulates a hover interaction over a given point in the viewport of a series. * * @param targetName The name of the series to target. * @param seriesPoint The point at which to hover. Should have an x property with type number and a y property with type number. */ simulateHover(targetName: string, seriesPoint: object): object; /** * Moves the cursor point of the target annotation layer to the desired world coordinates. * * @param targetName The name of the series to target. * @param worldPoint The point to which to move the cursor. * Should have an x property with type number and a y property with type number. */ moveCursorPoint(targetName: string, worldPoint: object): object; /** * Manually starts a tiled zoom if one isn't already running. */ startTiledZoomingIfNecessary(): void; /** * Manually ends a tiled zoom if one is running. */ endTiledZoomingIfRunning(): void; /** * Clears the tile zoom tile cache so that new tiles will be generated. Only applies if the viewer is using a tile based zoom. */ clearTileZoomCache(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgPieChartComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); private _dataSource; option(): void; set dataSource(value: any); ngOnInit(): void; /** * Adds a new item to the data source and notifies the chart. * * @param item the new item that will be added to the data source. */ addItem(item: object): void; /** * Inserts a new item to the data source and notifies the chart. * * @param item the new item that will be inserted in the data source. * @param index The index in the data source where the new item will be inserted. */ insertItem(item: object, index: number): void; /** * Deletes an item from the data source and notifies the chart. * * @param index The index in the data source from where the item will be been removed. */ removeItem(index: number): void; /** * Updates an item in the data source and notifies the chart. * * @param index The index in the data source that we want to change. * @param item the new item that we want to set in the data source. */ setItem(index: number, item: object): void; /** * Exports the chart to a PNG image. * * @param width The width of the image. * @param height The height of the image. */ exportImage(width?: object, height?: object): object; /** * Destroys the widget. */ destroy(): void; /** * Returns the ID of parent element holding the chart. */ id(): string; /** * Returns the element holding the chart. */ widget(): void; /** * Creates a print preview page with the chart, hiding all other elements on the page. */ print(): void; /** * Exports visual data from the pie chart to aid in unit testing */ exportVisualData(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgDoughnutChartComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; ngOnInit(): void; /** * Adds a new series to the doughnut chart. * * @param seriesObj The series object to be added. */ addSeries(seriesObj: object): void; /** * Removes the specified series from the doughnut chart. * * @param seriesObj The series object identifying the series to be removed. */ removeSeries(seriesObj: object): void; /** * Updates the series with the specified name with the specified new property values. * * @param value The series object identifying the series to be updated. */ updateSeries(value: object): void; /** * Returns the center of the doughnut chart. */ getCenterCoordinates(): object; /** * Returns the radius of the chart's hole. */ getHoleRadius(): number; /** * Returns information about how the doughnut chart is rendered. */ exportVisualData(): object; /** * Causes all of the series that have pending changes e.g. by changed property values to be rendered immediately. */ flush(): void; /** * Destroys the widget. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgFunnelChartComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; ngOnInit(): void; /** * Gets array of selected slice items. * * @param selection Array or selected slice items. * @return array|object If parameter is undefined, then array of selected items is returned. * Otherwise, it returns reference to igFunnelChart. */ selectedSliceItems(selection?: any[]): any[]; /** * Gets sets array of indexes of selected slices. * * @param selection Array or selected slice indexes. * @return array|object If parameter is undefined, then array of selected indexes is returned. * Otherwise, it returns reference to igFunnelChart. */ selectedSliceIndexes(selection?: any[]): any[]; /** * Checks if slice is selected. * * @param slice Index of slice or reference to slice-data-item. */ isSelected(slice: object): boolean; /** * Toggles selected state of slice. * * @param slice Index of slice or reference to slice-data-item. */ toggleSelection(slice: object): object; exportVisualData(): void; /** * Destroys widget. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgRadialGaugeComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns a string containing the names of all the ranges delimited with a \n symbol. */ getRangeNames(): string; /** * Adds a new range to the radial gauge. * * @param value value */ addRange(value: object): void; /** * Removes a specified range. * * @param value value */ removeRange(value: object): void; /** * Updates the range. * * @param value value */ updateRange(value: object): void; /** * Clears the ranges in the radial gauge. */ clearRanges(): void; /** * Scales a value on the gauge's main scale to an angle around the center point of the gauge, in radians. * * @param value value */ scaleValue(value: object): void; /** * Unscales a value from an angle in radians to the represented value along the main scale of the gauge. * * @param value value */ unscaleValue(value: object): void; /** * Gets the value for the main scale of the gauge for a given point within the bounds of the gauge. * * @param x x-coordinate * @param y y-coordinate */ getValueForPoint(x: object, y: object): number; /** * Gets the point on the gauge for a given scale value and extent. * * @param value value * @param extent extent */ getPointForValue(value: object, extent: object): void; /** * Returns true if the main gauge needle bounding box contains the point provided, otherwise false. * * @param x x-coordinate * @param y y-coordinate */ needleContainsPoint(x: object, y: object): void; /** * Exports the visual data for the radial gauge. */ exportVisualData(): void; /** * Flushes the gauge. */ flush(): void; /** * Destroys widget. */ destroy(): void; /** * Returns true if the style was updated for the radial gauge. */ styleUpdated(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgZoombarComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Destroys the Zoombar widget */ destroy(): void; /** * Returns the main zoombar element */ widget(): void; /** * Returns the ID of the element the zoombar is initialized on */ id(): string; /** * Returns the DIV that is the topmost container of the zoombar widget */ container(): Element; /** * Returns the element the clone widget is initialized on */ clone(): Element; /** * Gets or sets the current zoom window * * @param left The left parameter of the new zoom window in percentages * @param width The width parameter of the new zoom window in percentages */ zoom(left?: number, width?: number): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgMapComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; option(): void; ngOnInit(): void; /** * Destroys the widget. */ destroy(): void; /** * Returns the ID of parent element holding the map. */ id(): string; /** * Exports the map to a PNG image. * * @param width The width of the image. * @param height The height of the image. */ exportImage(width?: object, height?: object): object; /** * Notify the map that styles it draws colors from may have been updated. */ styleUpdated(): object; /** * Resets the zoom level of the map to default. */ resetZoom(): object; /** * Adds a new item to the data source and notifies the map. * * @param item The item that we want to add to the data source. * @param targetName The name of the series bound to the data source. */ addItem(item: object, targetName: string): void; /** * Inserts a new item to the data source and notifies the map. * * @param item the new item that we want to insert in the data source. * @param index The index in the data source where the new item will be inserted. * @param targetName The name of the series bound to the data source. */ insertItem(item: object, index: number, targetName: string): void; /** * Deletes an item from the data source and notifies the map. * * @param index The index in the data source from where the item will be been removed. * @param targetName The name of the series bound to the data source. */ removeItem(index: number, targetName: string): void; /** * Updates an item in the data source and notifies the map. * * @param index The index of the item in the data source that we want to change. * @param item The new item object that will be set in the data source. * @param targetName The name of the series bound to the data source. */ setItem(index: number, item: object, targetName: string): void; /** * Notifies the the map that an item has been set in an associated data source. * * @param dataSource The data source in which the change happened. * @param index The index in the items source that has been changed. * @param newItem the new item that has been set in the collection. * @param oldItem the old item that has been overwritten in the collection. */ notifySetItem(dataSource: object, index: number, newItem: object, oldItem: object): object; /** * Notifies the the map that the items have been cleared from an associated data source. * It's not necessary to notify more than one target of a change if they share the same items source. * * @param dataSource The data source in which the change happened. */ notifyClearItems(dataSource: object): object; /** * Notifies the the target series that an item has been inserted at the specified index in its data source. * It's not necessary to notify more than one target of a change if they share the same items source. * * @param dataSource The data source in which the change happened. * @param index The index in the items source where the new item has been inserted. * @param newItem the new item that has been set in the collection. */ notifyInsertItem(dataSource: object, index: number, newItem: object): object; /** * Notifies the the target series that an item has been removed from the specified index in its data source. * It's not necessary to notify more than one target of a change if they share the same items source. * * @param dataSource The data source in which the change happened. * @param index The index in the items source from where the old item has been removed. * @param oldItem the old item that has been removed from the collection. */ notifyRemoveItem(dataSource: object, index: number, oldItem: object): object; /** * Notifies the target series or axis that it should scroll the requested data item into view. * * @param targetName The name of the series or axis notify. * @param item The data item to bring into view, if possible. */ scrollIntoView(targetName: string, item: object): object; /** * Either xAxis or yAxis (longitude or latitude) that it should scale the requested value into map space from axis space. * For example you can use this method if you want to find where longitude 50 stands scaled to map's width. * * @param targetName Either xAxis or yAxis to notify. * @param unscaledValue The value in axis space to translate into map space. */ scaleValue(targetName: string, unscaledValue: number): number; /** * Either xAxis or yAxis (longitude or latitude) that it should unscale the requested value into axis space from map space. * For example you can use this method if you want to find what is the longitude unscaled from 0 width of the map. * * @param targetName Either xAxis or yAxis to notify. * @param scaledValue The value in map space to translate into axis space. */ unscaleValue(targetName: string, scaledValue: number): number; /** * Manually starts a tiled zoom if one isn't already running. */ startTiledZoomingIfNecessary(): void; /** * Manually ends a tiled zoom if one is running. */ endTiledZoomingIfRunning(): void; /** * Clears the tile zoom tile cache so that new tiles will be generated. Only applies if the viewer is using a tile based zoom.. */ clearTileZoomCache(): void; /** * Forces any pending deferred work to render on the map before continuing */ flush(): void; /** * Exports visual data from the map to aid in unit testing */ exportVisualData(): void; /** * Gets the actual minimum value of the target xAxis or yAxis * * @param targetName target name */ getActualMinimumValue(targetName: object): void; /** * Gets the actual maximum value of the target xAxis or yAxis * * @param targetName target name */ getActualMaximumValue(targetName: object): void; /** * Notifies the map that the container was resized */ notifyContainerResized(): void; /** * Zoom in to the geographic region specified, when possible (may need to wait fior map to be initialized). * * @param rect The geographic area rectangle. */ zoomToGeographic(rect: object): object; /** * Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region. * * @param rect The geographic area rectangle. */ getGeographicFromZoom(rect: object): object; /** * Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region. * * @param rect The geographic area rectangle. */ getZoomFromGeographic(rect: object): object; /** * Creates a print preview page with the map, hiding all other elements on the page. */ print(): void; /** * Indicates that a series should render, even though no option has been modified that would normally cause it to refresh. * * @param targetName The name of the series to render. * @param animate Whether the change should be animated, if possible. */ renderSeries(targetName: string, animate: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgSparklineComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); set dataSource(value: any); private _dataSource; ngOnInit(): void; destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgBulletGraphComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns a string containing the names of all the ranges delimited with a \n symbol. */ getRangeNames(): void; /** * Adds a new range to the bullet graph. * * @param value The range object to be added. */ addRange(value: object): void; /** * Removes a range from the bullet graph. * * @param value A JS object with properties set as follows: name: nameOfTheRangeToRemove, remove: true */ removeRange(value: object): void; /** * Updates the specified range of the bullet graph. * * @param value The range object to be updated. */ updateRange(value: object): void; /** * Returns information about how the bullet graph is rendered. */ exportVisualData(): object; /** * Causes all pending changes of the bullet graph e.g. by changed property values to be rendered immediately. */ flush(): void; /** * Destroys widget. */ destroy(): void; /** * Re-polls the css styles for the widget. Use this method when the css styles have been modified. */ styleUpdated(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgLinearGaugeComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns a string containing the names of all the ranges delimited with a \n symbol. */ getRangeNames(): string; /** * Adds a new range to the linear gauge. * * @param value The range object to be added. */ addRange(value: object): void; /** * Removes a range from the linear gauge. * * @param value A JS object with properties set as follows: name: nameOfTheRangeToRemove, remove: true */ removeRange(value: object): void; /** * Updates the specified range of the linear gauge. * * @param value The range object to be updated. */ updateRange(value: object): void; /** * Gets the value for the main scale of the gauge for a given point within the bounds of the gauge. * * @param x x-coordinate * @param y y-coordiante */ getValueForPoint(x: object, y: object): number; /** * Returns true if the main gauge needle bounding box contains the point provided, otherwise false. * * @param x The x coordinate of the point. * @param y The y coordinate of the point. */ needleContainsPoint(x: number, y: number): void; /** * Returns information about how the linear gauge is rendered. */ exportVisualData(): object; /** * Causes all pending changes of the linear gauge e.g. by changed property values to be rendered immediately. */ flush(): void; /** * Destroys widget. */ destroy(): void; /** * Re-polls the css styles for the widget. Use this method when the css styles have been modified. */ styleUpdated(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgQRCodeBarcodeComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); option(): void; /** * Returns information about how the barcode is rendered. */ exportVisualData(): object; /** * Causes all pending changes of the barcode e.g. by changed property values to be rendered immediately. */ flush(): void; /** * Destroys widget. */ destroy(): void; /** * Re-polls the css styles for the widget. Use this method when the css styles have been modified. */ styleUpdated(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgUploadComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Return jquery object of fileupload container - html DOM element */ container(): void; /** * Returns the current widget element */ widget(): void; /** * Hide finished files */ clearAll(): void; /** * Append additional data field to formData(before submitting it to the server). * Usually this function is used in the handler of the event onFormDataSubmit. * If the browser supports HTML5 file API formData is instance of FormData, * otherwise(like IE10 and older) formData is jQuery representation of the
that should be submitted to the server * * @param formData If the browser supports HTML5 file API formData is instance of FormData, * otherwise(like IE10 and older) formData is jQuery representation of the that should be submitted to the server * @param field Data field that should be appended to the formData. The object has 2 properties - value and name. * If the browser supports HTML5 the data field is appended to the formData object. * Otherwise it is appended as input hidden field to the */ addDataField(formData: object, field: object): void; /** * Append additional data fields to formData(before submitting it to the server). * Usually this function is used in the handler of the event onFormDataSubmit. * If the browser supports HTML5 file API formData is instance of FormData, * otherwise(like IE10 and older) formData is jQuery representation of the that should be submitted to the server * * @param formData If the browser supports HTML5 file API formData is instance of FormData, * otherwise(like IE10 and older) formData is jQuery representation of the that should be submitted to the server * @param fields Array of data fields that should be appended to the formData. * Each data field is object with 2 properties - value and name. * If the browser supports HTML5 these data fields are added to the formData. * Otherwise each of these data field is appended as input hidden field to the */ addDataFields(formData: object, fields: any[]): void; /** * Start uploading file as submitting form with the specified formNumber. * * @param formNumber id of the upload form */ startUpload(formNumber: number): void; /** * Cancel upload for the specified file id * formNumber - id of the file to be canceled * * @param formNumber id of the form which should be cancelled */ cancelUpload(formNumber: number): void; /** * Destroy the widget */ destroy(): void; /** * Returns the information about uploading files - all files uploaded/uploading/pending */ getFileInfoData(): object; /** * Cancel all uploading and pending files */ cancelAll(): void; /** * Returns the information about the file by specified file identifier. * It could be file which is uploading/uploaded or uploading is not started. If there isn"t file with the specified file id returns null * * @param fileIndex unique identifier of the file */ getFileInfo(fileIndex: number): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgPopoverComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); option(): void; ngOnInit(): void; /** * Destroys the popover widget. */ destroy(): void; /** * Returns the ID of the element the popover is attached to */ id(): string; /** * Returns the container for the popover contents */ container(): object; /** * Shows the popover for the specified target * * @param trg The element to show popover for. * @param content The string to set for the popover to show. */ show(trg?: Element, content?: string): void; /** * Hides the popover for the specified target */ hide(): void; /** * Gets the currently set content for the popover container */ getContent(): string; /** * Sets the content for the popover container * * @param newCnt The popover content to set. */ setContent(newCnt: string): void; /** * Gets the popover current target */ target(): object; /** * Gets the current coordinates of the popover */ getCoordinates(): object; /** * Sets the popover to specific coordinates. * * @param pos The popover coordinates in pixels. */ setCoordinates(pos: object): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgNotifierComponent extends IgControlBase implements OnInit { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); option(): void; ngOnInit(): void; /** * Triggers a notification with a certain state and optional message. * The [notifyLevel](ui.ignotifier#options:notifyLevel) option determines if the notification will be displayed. * * @param state The state to show notification for. * @param message Optional message to show, overrides defaults. */ notify(state: object, message?: string): void; /** * Returns true if the notification is currently visible */ isVisible(): void; /** * Destroys the widget. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgRatingComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Gets reference to [igValidator](ui.igvalidator) used by igRating. * * @param destroy Request to destroy validator. */ validator(destroy?: boolean): object; /** * Triggers validation. */ validate(): boolean; /** * Gets/Sets (selected) value. * * @param val New value which is rendered with selected css. * @return number|object If parameter is not 'number', then exact value rendered with selected css is returned. * Otherwise, reference to igRating is returned. */ value(val: number): number | object; /** * Gets/Sets hover value. * * @param val New value which will be rendered with hover css when rating gets mouse. * @return number|object If parameter is not "number", then last value which was rendered with hover css is returned. * Otherwise, reference to igRating is returned. */ valueHover(val?: number): number | object; /** * Checks if igRating has focus. */ hasFocus(): boolean; /** * Sets focus to igRating. That has effect only when options.focusable is enabled. */ focus(): object; /** * Destroys igRating widget. */ destroy(): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgVideoPlayerComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns the element on which the widget was instantiated */ widget(): void; /** * Hide the add message if shown. */ hideAdMessage(): void; /** * Play a linked commercial for this video. * * @param commercial Specify the linked commercial to play. */ playCommercial(commercial: object): void; /** * Shows the ad banner, if there is such. * * @param index Specify the index of the banner from the banners array. */ showBanner(index: number): void; /** * Hide the ad banner, if there is such. * * @param index Specify the index of the banner from the banners array. */ hideBanner(index: number): void; /** * Resets the commercials, to be shown again. */ resetCommercialsShow(): void; /** * Toggle control play state. If video is playing it will pause, if video is paused it will play. */ togglePlay(): void; /** * Start playing current loaded video if any. */ play(): void; /** * Pause the currently playing video if any. */ pause(): void; /** * Gets/Sets the current time of the playing video. * * @param val Specify the playback position in seconds to navigate to. */ currentTime(val: number): number; /** * Get a screenshot of the current video frame. * It returns a canvas object that you can position and show on the page. This depends on the browser support for canvas. * * @param scaleFactor Specify scale factor between 0 and 1. */ screenshot(scaleFactor?: number): object; /** * Get whether the current browser supports video tag. */ supportsVideo(): boolean; /** * Get whether the current browser supports H.264 codec. */ supportsH264BaselineVideo(): boolean; /** * Get whether the current browser supports Theora codec. */ supportsOggTheoraVideo(): boolean; /** * Get whether the current browser supports WEBM codec. */ supportsWebmVideo(): boolean; /** * Returns whether the currently played video is paused. */ paused(): boolean; /** * Get whether the current played video has ended. */ ended(): boolean; /** * Get the current duration of the played video. It may be NaN if duration is still not loaded or the video is a live stream. */ duration(): number; /** * Get whether the player is seeking to find the new playback position specified. */ seeking(): boolean; /** * Destroys the widget. */ destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgRadialMenuComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); itemOption(itemKey: object, key: object, value: object): void; exportVisualData(): void; flush(): void; destroy(): void; styleUpdated(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgSplitButtonComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Switch to given igToolbar button. * * @param button . The button jQuery element. */ switchToButton(button: object): void; /** * Toggle widget state between collapsed and expanded. * * @param e The igSplitButton to be expanded/collapsed. */ toggle(e: object): object; /** * Collapse the widget. * * @param e Indicates the browser event which triggered this action (not API). */ collapse(e?: object): object; /** * Expands the widget. * * @param e Indicates the browser event which triggered this action (not API). */ expand(e?: object): object; /** * Destroy the widget. */ destroy(): void; widget(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgSpreadsheetComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Returns an object that represents the pane with the focus. */ getActivePane(): object; /** * Returns an object that represents the current selection of the active pane. */ getActiveSelection(): object; getActiveSelectionCellRangeFormat(): object; /** * Returns a boolean indicating if the user is currently editing the name of the active worksheet. */ getIsRenamingWorksheet(): boolean; getPanes(): void; /** * Executes the action associated with the specified id. * * @param action An [enumeration](ig.spreadsheet.SpreadsheetAction) or string that identifies the action to execute. */ executeAction(action: object): boolean; /** * Forces any pending deferred work to render on the spreadsheet before continuing */ flush(): void; /** * Destroys the widget. */ destroy(): void; /** * Notify the spreadsheet that style information used for rendering the spreadsheet may have been updated. */ styleUpdated(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgSchedulerComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer2, differs: IterableDiffers, kvalDiffers: KeyValueDiffers, cdr: ChangeDetectorRef); /** * Gets reference to appointment by id * * @param id id */ getAppointmentById(id: object): object; /** * Creates a new appointment and renders it to the scheduler * * @param appointment appointment */ createAppointment(appointment: object): object; /** * Deletes appointment from the appointment collection * * @param appointment appointment */ deleteAppointment(appointment: object): object; /** * Deletes appointment from the appointment collection * * @param appointment appointment * @param updateAppoinment updateAppoinment */ editAppointment(appointment: object, updateAppoinment: object): object; /** * Destroys the widget */ destroy(): void; /** * Gets reference to the today UI button. */ todayButton(): string; /** * Gets reference to the previous UI button. */ previousButton(): string; /** * Gets reference to the date range UI button. */ dateRangeButton(): string; /** * Gets reference to the next UI button. */ nextButton(): string; /** * Gets reference to the jQuery calendar UI control. */ getCalendar(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IgniteUIModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Column, Features, IgBulletGraphComponent, IgCheckboxEditorComponent, IgComboComponent, IgCurrencyEditorComponent, IgDataChartComponent, IgDateEditorComponent, IgDatePickerComponent, IgDialogComponent, IgDoughnutChartComponent, IgFunnelChartComponent, IgGridAppendRowsOnDemandFeature, IgGridCellMergingFeature, IgGridColumnFixingFeature, IgGridColumnMovingFeature, IgGridComponent, IgGridFilteringFeature, IgGridGroupByFeature, IgGridHidingFeature, IgGridMultiColumnHeadersFeature, IgGridPagingFeature, IgGridResizingFeature, IgGridResponsiveFeature, IgGridRowSelectorsFeature, IgGridSelectionFeature, IgGridSortingFeature, IgGridSummariesFeature, IgGridTooltipsFeature, IgGridUpdatingFeature, IgHierarchicalGridComponent, IgHtmlEditorComponent, IgLayoutManagerComponent, IgLinearGaugeComponent, IgMapComponent, IgMaskEditorComponent, IgNotifierComponent, IgNumericEditorComponent, IgPercentEditorComponent, IgPieChartComponent, IgPivotDataSelectorComponent, IgPivotGridComponent, IgPopoverComponent, IgQRCodeBarcodeComponent, IgRadialGaugeComponent, IgRadialMenuComponent, IgRatingComponent, IgSchedulerComponent, IgSparklineComponent, IgSplitButtonComponent, IgSplitterComponent, IgSpreadsheetComponent, IgTextEditorComponent, IgTileManagerComponent, IgTimePickerComponent, IgTreeComponent, IgTreeGridComponent, IgUploadComponent, IgValidatorComponent, IgVideoPlayerComponent, IgZoombarComponent, IgniteUIModule };