UNPKG

igniteui-angular-wrappers

Version:
1 lines 556 kB
{"version":3,"file":"igniteui-angular-wrappers.mjs","sources":["../../../projects/igniteui-angular-wrappers/src/lib/iggrid/column.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/feature.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridmulticolumnheaders.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridsorting.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridfiltering.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridpaging.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridupdating.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridgroupby.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridcolumnmoving.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridhiding.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridcellmerging.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridresponsive.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridresizing.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridselection.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridrowselectors.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridsummaries.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridcolumnfixing.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridtooltips.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridfeatures/iggridappendrowsondemand.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/features.directive.ts","../../../projects/igniteui-angular-wrappers/src/lib/igcontrolbase/igcontrolbase.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggridbase.ts","../../../projects/igniteui-angular-wrappers/src/lib/iggrid/iggrid.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igtreegrid/igtreegrid.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/ighierarchicalgrid/ighierarchicalgrid.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igcombo/igcombo.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igeditorbase.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igcheckboxeditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igcurrencyeditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igdateeditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igdatepicker.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igtimepicker.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igmaskeditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/ignumericeditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igpercenteditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igeditors/igtexteditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igtree/igtree.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igcontrolbase/igcontentcontrolbase.ts","../../../projects/igniteui-angular-wrappers/src/lib/igdialog/igdialog.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igsplitter/igsplitter.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/iglayoutmanager/iglayoutmanager.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igtilemanager/igtilemanager.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/ightmleditor/ightmleditor.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igvalidator/igvalidator.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igpivotdataselector/igpivotdataselector.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igpivotgrid/igpivotgrid.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igdatachart/igdatachart.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igpiechart/igpiechart.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igdoughnutchart/igdoughnutchart.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igfunnelchart/igfunnelchart.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igradialgauge/igradialgauge.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igzoombar/igzoombar.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igmap/igmap.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igsparkline/igsparkline.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igbulletgraph/igbulletgraph.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/iglineargauge/iglineargauge.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igqrcodebarcode/igqrcodebarcode.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igupload/igupload.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igpopover/igpopover.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/ignotifier/ignotifier.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igrating/igrating.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igvideoplayer/igvideoplayer.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igradialmenu/igradialmenu.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igsplitbutton/igsplitbutton.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igspreadsheet/igspreadsheet.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igscheduler/igscheduler.component.ts","../../../projects/igniteui-angular-wrappers/src/lib/igniteui-angular-wrappers.module.ts","../../../projects/igniteui-angular-wrappers/src/public-api.ts","../../../projects/igniteui-angular-wrappers/src/igniteui-angular-wrappers.ts"],"sourcesContent":["import { ElementRef, Directive } from '@angular/core';\n\ndeclare var jQuery: any;\n\n@Directive({\n selector: 'column',\n inputs: ['headerText', 'key', 'formatter', 'format', 'dataType', 'width', 'hidden', 'template', 'unbound', 'group', 'rowspan', 'formula', 'unboundValues', 'unboundValuesUpdateMode', 'headerCssClass', 'columnCssClass'],\n standalone: false\n})\nexport class Column {\n public _settings: any = {};\n private _el: any;\n\n constructor(el: ElementRef) {\n this._el = el;\n const self = this;\n let i;\n const settings = ['headerText', 'key', 'formatter', 'format', 'dataType', 'width', 'hidden', 'template', 'unbound', 'group', 'rowspan', 'formula', 'unboundValues', 'unboundValuesUpdateMode', 'headerCssClass', 'columnCssClass'];\n for (i = 0; i < settings.length; i++) {\n Object.defineProperty(self, settings[i], {\n set: self.createColumnsSetter(settings[i]),\n get: self.createColumnsGetter(settings[i]),\n enumerable: true,\n configurable: true\n });\n }\n }\n\n createColumnsSetter(name) {\n return function(value) {\n const grid = jQuery(this._el.nativeElement.parentElement).find('table[role=\\'grid\\']');\n const columns = grid.igGrid('option', 'columns');\n this._settings[name] = value;\n\n if (jQuery.ui.igGrid &&\n jQuery.ui.igGrid.prototype.options &&\n jQuery.ui.igGrid.prototype.options.hasOwnProperty('columns') &&\n grid.data('igGrid')) {\n // reapply all column settings when a column setting is changed\n grid.igGrid('option', 'columns', columns);\n }\n };\n }\n\n createColumnsGetter(name) {\n return () => {\n return this._settings[name];\n };\n }\n}\n","import { ElementRef, EventEmitter, Directive, OnInit } from '@angular/core';\n\ndeclare var jQuery: any;\n\n@Directive()\nexport class Feature<Model> implements OnInit {\n public _el: any;\n public _settings: any = {};\n public initSettings: Model;\n public name: string;\n private _events: any;\n private featureName: string;\n\n constructor(el: ElementRef) {\n this._el = el;\n this.name = this.normalizeName(el.nativeElement.nodeName.toLowerCase());\n this.featureName = 'igGrid' + this.name;\n for (const propt in jQuery.ui['igGrid' + this.name].prototype.events) {\n if (jQuery.ui['igGrid' + this.name].prototype.events.hasOwnProperty(propt)) {\n this[propt] = new EventEmitter();\n }\n }\n }\n\n cloneObject(obj: any): any {\n const clone = {};\n for (const i in obj) {\n if (obj[i] != null) {\n if (!i.startsWith('_') && typeof obj[i] === 'object') {\n clone[i] = this.cloneObject(obj[i]);\n } else {\n clone[i] = obj[i];\n }\n }\n }\n return clone;\n }\n\n ngOnInit() {\n const self = this;\n this.initSettings = this.cloneObject(this);\n let evtName;\n this._events = new Map<string, string>();\n const grid = jQuery(this._el.nativeElement).closest('ig-grid').find('table');\n\n // event binding for features\n for (const propt in jQuery.ui[this.featureName].prototype.events) {\n if (jQuery.ui[this.featureName].prototype.events.hasOwnProperty(propt)) {\n evtName = this.featureName.toLowerCase() + propt.toLowerCase();\n this._events[evtName] = propt;\n jQuery(grid).on(evtName, (evt, ui) => {\n this[this._events[evt.type]].emit({ event: evt, ui });\n });\n }\n }\n for (const setting in jQuery.ui[this.featureName].prototype.options) {\n if (jQuery.ui[this.featureName].prototype.options.hasOwnProperty(setting)) {\n Object.defineProperty(this, setting, {\n set: this.createFeatureSetter(setting),\n get: this.createFeatureGetter(setting),\n enumerable: true,\n configurable: true\n });\n }\n }\n const propNames = Object.getOwnPropertyNames(jQuery.ui[this.featureName].prototype);\n propNames.forEach(name => {\n if (name.indexOf('_') !== 0 && typeof jQuery.ui[this.featureName].prototype[name] === 'function') {\n Object.defineProperty(self, name, {\n get: this.createMethodGetter(name)\n });\n }\n });\n }\n\n createFeatureSetter(name) {\n return function(value) {\n const grid = jQuery(this._el.nativeElement).closest('ig-grid').find('table[role=\\'grid\\']');\n this._settings[name] = value;\n\n if (jQuery.ui[this.featureName] &&\n jQuery.ui[this.featureName].prototype.options &&\n jQuery.ui[this.featureName].prototype.options.hasOwnProperty(name) &&\n grid.data(this.featureName)) {\n grid[this.featureName]('option', name, value);\n }\n };\n }\n\n createFeatureGetter(name) {\n return () => {\n return this._settings[name];\n };\n }\n createMethodGetter(name) {\n return () => {\n let grid = jQuery(this._el.nativeElement).closest('ig-grid').find('table[role=\\'grid\\']');\n if (grid.length === 0) {\n grid = jQuery(this._el.nativeElement).closest('ig-hierarchical-grid').find('table[role=\\'grid\\']');\n }\n const feature = grid.data(this.featureName);\n return jQuery.proxy(feature[name], feature);\n };\n }\n\n normalizeName(str) {\n // convert hyphen to camelCase\n const name = str.replace(/-([a-z])/g, group => group[1].toUpperCase());\n return name.charAt(0).toUpperCase() + name.slice(1);\n }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\nimport { Column } from '../column.directive';\n\n\n@Directive({\n selector: 'multi-column-headers',\n inputs: ['inherit'],\n outputs: ['groupCollapsing', 'groupCollapsed', 'groupExpanding', 'groupExpanded'],\n standalone: false\n})\nexport class IgGridMultiColumnHeadersFeature extends Feature<IgGridMultiColumnHeaders> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Destroys the widget\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Collapses an expanded group. If the group is collapsed, the method does nothing.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n */\n /* istanbul ignore next */\n public collapseGroup(groupKey: string, callback?: () => void): void { return; }\n /**\n * Expands a collapsed group. If the group is expanded, the method does nothing.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n */\n /* istanbul ignore next */\n public expandGroup(groupKey: string, callback?: () => void): void { return; }\n /**\n * Returns multicolumn headers array. if there aren\"t multicolumn headers returns undefined.\n */\n /* istanbul ignore next */\n public getMultiColumnHeaders(): Array<Column> { return; }\n /**\n * Toggles a collapsible group.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n */\n /* istanbul ignore next */\n public toggleGroup(groupKey: string, callback?: () => void): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'sorting',\n inputs: ['disabled', 'create', 'type', 'caseSensitive', 'applySortedColumnCss', 'sortUrlKey', 'sortUrlKeyAscValue', 'sortUrlKeyDescValue', 'mode', 'customSortFunction', 'firstSortDirection', 'sortedColumnTooltip', 'modalDialogSortOnClick', 'modalDialogSortByButtonText', 'modalDialogResetButtonLabel', 'modalDialogCaptionButtonDesc', 'modalDialogCaptionButtonAsc', 'modalDialogCaptionButtonUnsort', 'modalDialogWidth', 'modalDialogHeight', 'modalDialogAnimationDuration', 'featureChooserText', 'unsortedColumnTooltip', 'columnSettings', 'modalDialogCaptionText', 'modalDialogButtonApplyText', 'modalDialogButtonCancelText', 'featureChooserSortAsc', 'featureChooserSortDesc', 'persist', 'sortingDialogContainment', 'dialogWidget', 'inherit'],\n outputs: ['columnSorting', 'columnSorted', 'modalDialogOpening', 'modalDialogOpened', 'modalDialogMoving', 'modalDialogClosing', 'modalDialogClosed', 'modalDialogContentsRendering', 'modalDialogContentsRendered', 'modalDialogSortingChanged', 'modalDialogButtonUnsortClick', 'modalDialogSortClick', 'modalDialogButtonApplyClick', 'modalDialogButtonResetClick'],\n standalone: false\n})\nexport class IgGridSortingFeature extends Feature<IgGridSorting> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Sorts the data in a grid column and updates the UI.\n *\n * @param index Column key (string) or index (number) - for multi-row grid only column key can be used.\n * Specifies the column which we want to sort. If the mode is multiple, previous sorting states are not cleared.\n * @param direction Specifies sorting direction (ascending or descending)\n * @param header header\n */\n /* istanbul ignore next */\n public sortColumn(index: object, direction: object, header: object): void { return; }\n\n /**\n * Sorts the data in grid columns and updates the UI.\n */\n /* istanbul ignore next */\n public sortMultiple(): void { return; }\n\n /**\n * Removes current sorting(for all sorted columns) and updates the UI.\n */\n /* istanbul ignore next */\n public clearSorting(): void { return; }\n\n /**\n * Removes sorting for the grid column with the specified columnKey/columnIndex and updates the UI.\n *\n * @param index Column key (string) or index (number) - for multi-row grid only column key can be used.\n * Specifies the column for which we want to remove sorting. If the mode is multiple, previous sorting states are not cleared.\n * @param header header\n */\n /* istanbul ignore next */\n public unsortColumn(index: object, header: object): void { return; }\n\n /**\n * Destroys the sorting feature. Unbinds events, removes added sorting elements, etc.\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Opens the multiple sorting dialog.\n */\n /* istanbul ignore next */\n public openMultipleSortingDialog(): void { return; }\n\n /**\n * Closes the multiple sorting dialog.\n */\n /* istanbul ignore next */\n public closeMultipleSortingDialog(): void { return; }\n\n /**\n * Renders content of multiple sorting dialog - sorted and unsorted columns.\n *\n * @param isToCallEvents - if specified client events should be fired\n */\n /* istanbul ignore next */\n public renderMultipleSortingDialogContent(isToCallEvents: object): void { return; }\n\n /**\n * Remove clear button for multiple sorting dialog\n */\n /* istanbul ignore next */\n public removeDialogClearButton(): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'filtering',\n inputs: ['disabled', 'create', 'caseSensitive', 'filterSummaryAlwaysVisible', 'renderFC', 'filterSummaryTemplate', 'filterDropDownAnimations', 'filterDropDownAnimationDuration', 'filterDropDownWidth', 'filterDropDownHeight', 'filterExprUrlKey', 'filterDropDownItemIcons', 'columnSettings', 'type', 'filterDelay', 'mode', 'advancedModeEditorsVisible', 'advancedModeHeaderButtonLocation', 'filterDialogWidth', 'filterDialogHeight', 'filterDialogFilterDropDownDefaultWidth', 'filterDialogExprInputDefaultWidth', 'filterDialogColumnDropDownDefaultWidth', 'renderFilterButton', 'filterButtonLocation', 'nullTexts', 'labels', 'tooltipTemplate', 'filterDialogAddConditionTemplate', 'filterDialogAddConditionDropDownTemplate', 'filterDialogFilterTemplate', 'filterDialogFilterConditionTemplate', 'filterDialogAddButtonWidth', 'filterDialogOkCancelButtonWidth', 'filterDialogMaxFilterCount', 'filterDialogContainment', 'showEmptyConditions', 'showNullConditions', 'featureChooserText', 'featureChooserTextHide', 'featureChooserTextAdvancedFilter', 'dialogWidget', 'persist', 'inherit'],\n outputs: ['dataFiltering', 'dataFiltered', 'dropDownOpening', 'dropDownOpened', 'dropDownClosing', 'dropDownClosed', 'filterDialogOpening', 'filterDialogOpened', 'filterDialogMoving', 'filterDialogFilterAdding', 'filterDialogFilterAdded', 'filterDialogClosing', 'filterDialogClosed', 'filterDialogContentsRendering', 'filterDialogContentsRendered', 'filterDialogFiltering'],\n standalone: false\n})\nexport class IgGridFilteringFeature extends Feature<IgGridFiltering> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Destroys the filtering widget - remove fitler row, unbinds events, returns the grid to its previous state.\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Returns the count of data records that match filtering conditions\n */\n /* istanbul ignore next */\n public getFilteringMatchesCount(): number { return; }\n\n /**\n * Toggle filter row when mode is simple or\n * [advancedModeEditorsVisible](ui.iggridfiltering#options:advancedModeEditorsVisible) is true. Otherwise show/hide advanced dialog.\n *\n * @param event Column key\n */\n /* istanbul ignore next */\n public toggleFilterRowByFeatureChooser(event: string): void { return; }\n\n /**\n * Applies filtering programmatically and updates the UI by default.\n *\n * @param expressions An array of filtering expressions, each one having the format {fieldName: , expr: , cond: , logic: }\n * where fieldName is the key of the column, expr is the actual expression string with which we would like to filter,\n * logic is 'AND' or 'OR', and cond is one of the following strings: \"equals\", \"doesNotEqual\", \"contains\", \"doesNotContain\",\n * \"greaterThan\", \"lessThan\", \"greaterThanOrEqualTo\", \"lessThanOrEqualTo\", \"true\", \"false\", \"null\", \"notNull\", \"empty\", \"notEmpty\",\n * \"startsWith\", \"endsWith\", \"today\", \"yesterday\", \"on\", \"notOn\", \"thisMonth\", \"lastMonth\", \"nextMonth\", \"before\", \"after\", \"thisYear\",\n * \"lastYear\", \"nextYear\". The difference between the empty and null filtering conditions is that empty includes null, NaN, and\n * undefined, as well as the empty string.\n * @param updateUI specifies whether the filter row should be also updated once the grid is filtered\n * @param addedFromAdvanced specifies whether the filter is added from advanced filtering\n */\n /* istanbul ignore next */\n public filter(expressions: any[], updateUI?: boolean, addedFromAdvanced?: boolean): void { return; }\n\n /**\n * Check whether filterCondition requires or not filtering expression\n * e.g. if filterCondition is \"lastMonth\", \"thisMonth\", \"null\", \"notNull\", \"true\", \"false\", etc.\n * then filtering expression is NOT required\n *\n * @param filterCondition filtering condition - e.g. \"true\", \"false\", \"yesterday\", \"empty\", \"null\", etc.\n */\n /* istanbul ignore next */\n public requiresFilteringExpression(filterCondition: string): boolean { return; }\n}\n","import { Directive, ElementRef } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'paging',\n inputs: ['disabled', 'create', 'pageSize', 'recordCountKey', 'pageSizeUrlKey', 'pageIndexUrlKey', 'currentPageIndex', 'type', 'showPageSizeDropDown', 'pageSizeDropDownLabel', 'pageSizeDropDownTrailingLabel', 'pageSizeDropDownLocation', 'showPagerRecordsLabel', 'pagerRecordsLabelTemplate', 'nextPageLabelText', 'prevPageLabelText', 'firstPageLabelText', 'lastPageLabelText', 'showFirstLastPages', 'showPrevNextPages', 'currentPageDropDownLeadingLabel', 'currentPageDropDownTrailingLabel', 'currentPageDropDownTooltip', 'pageSizeDropDownTooltip', 'pagerRecordsLabelTooltip', 'prevPageTooltip', 'nextPageTooltip', 'firstPageTooltip', 'lastPageTooltip', 'pageTooltipFormat', 'pageSizeList', 'pageCountLimit', 'visiblePageCount', 'defaultDropDownWidth', 'delayOnPageChanged', 'persist', 'inherit'],\n outputs: ['pageIndexChanging', 'pageIndexChanged', 'pageSizeChanging', 'pageSizeChanged', 'pagerRendering', 'pagerRendered'],\n standalone: false\n})\nexport class IgGridPagingFeature extends Feature<IgGridPaging> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Gets/Sets the current page index, delegates data binding and paging to [$.ig.DataSource](ig.datasource).\n *\n * @param index The page index to go to.\n */\n /* istanbul ignore next */\n public pageIndex(index?: number): number { return; }\n\n /**\n * Gets/Sets the page size. If no parameter is specified, just returns the current page size.\n *\n * @param size The new page size.\n */\n /* istanbul ignore next */\n public pageSize(size?: number): number { return; }\n\n /**\n * Destroys the igGridPaging feature by removing all elements in the pager area,\n * unbinding events, and resetting data to discard data filtering on paging.\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'updating',\n inputs: ['disabled', 'create', 'columnSettings', 'editMode', 'enableDeleteRow', 'enableAddRow', 'validation', 'doneLabel',\n 'doneTooltip', 'cancelLabel', 'cancelTooltip', 'addRowLabel', 'addRowTooltip', 'deleteRowLabel', 'deleteRowTooltip', 'showDoneCancelButtons', 'enableDataDirtyException', 'startEditTriggers', 'horizontalMoveOnEnter', 'excelNavigationMode', 'saveChangesSuccessHandler', 'saveChangesErrorHandler', 'swipeDistance', 'wrapAround', 'rowEditDialogOptions', 'dialogWidget', 'inherit'],\n outputs: ['editRowStarting', 'editRowStarted', 'editRowEnding', 'editRowEnded', 'editCellStarting', 'editCellStarted', 'editCellEnding', 'editCellEnded', 'rowAdding', 'rowAdded', 'rowDeleting', 'rowDeleted', 'dataDirty', 'generatePrimaryKeyValue', 'rowEditDialogBeforeOpen', 'rowEditDialogAfterOpen', 'rowEditDialogBeforeClose', 'rowEditDialogAfterClose', 'rowEditDialogContentsRendered'],\n standalone: false\n})\nexport class IgGridUpdatingFeature extends Feature<IgGridUpdating> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Sets a cell value for the specified cell. It also creates a transaction and updates the UI.\n * \t\t\tIf the specified cell is currently in edit mode, the function will set the desired value in the cell's editor instead.\n *\n * @param rowId The primary key of the row the cell is a child of.\n * @param colKey The column key of the cell.\n * @param value The new value for the cell.\n */\n /* istanbul ignore next */\n public setCellValue(rowId: object, colKey: string, value: object): void { return; }\n\n /**\n * Sets values for specified cells in a row. It also creates a transaction and updates the UI.\n * \t\t\tIf the specified row is currently in edit mode, the function will set the desired values in the row's editors instead.\n *\n * @param rowId The primary key of the row to update.\n * @param values Pairs of values in the format { column1Key: value1, column2Key: value2, ... } .\n */\n /* istanbul ignore next */\n public updateRow(rowId: any, values: object): void { return; }\n\n /**\n * Adds a new row to the grid. It also creates a transaction and updates the UI.\n *\n * @param values Pairs of values in the format { column1Key: value1, column2Key: value2, ... } .\n */\n /* istanbul ignore next */\n public addRow(values: object): void { return; }\n\n /**\n * Deletes a row from the grid. It also creates a transaction and updates the UI.\n *\n * @param rowId The primary key of the row to delete.\n */\n /* istanbul ignore next */\n public deleteRow(rowId: any): void { return; }\n\n /**\n * Starts editing for the row or cell specified (depending on the [editMode](ui.iggridupdating#options:editMode)).\n *\n * @param rowId The row id.\n * @param column The column key or index.\n * @param raiseEvents Specifies whether or not updating events should be raised for this operation.\n */\n /* istanbul ignore next */\n public startEdit(rowId: object, column: object, raiseEvents?: boolean): boolean { return; }\n\n /**\n * Starts editing for adding a new row.\n *\n * @param raiseEvents Specifies whether or not updating events should be raised for this operation.\n */\n /* istanbul ignore next */\n public startAddRowEdit(raiseEvents?: boolean): boolean { return; }\n\n /**\n * Ends the currently active edit mode.\n *\n * @param update Specifies if the edit process should accept the current changes. Default is 'false'.\n * @param raiseEvents Specifies whether or not updating events should be raised for this operation.\n */\n /* istanbul ignore next */\n public endEdit(update?: boolean, raiseEvents?: boolean): boolean { return; }\n\n /**\n * Finds and returns the key of the first column the editor for which has invalid value.\n */\n /* istanbul ignore next */\n public findInvalid(): string { return; }\n\n /**\n * Checks if the grid is in edit mode.\n */\n /* istanbul ignore next */\n public isEditing(): boolean { return; }\n\n /**\n * Gets the editor for a column by the column key. That method can be used only after the editor has been created.\n *\n * @param key The key of the column.\n */\n /* istanbul ignore next */\n public editorForKey(key: string): object { return; }\n\n /**\n * 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.\n *\n * @param cell Reference to the jQuery-wrapped TD object of the grid that the editor belongs to.\n * @param create Requests to create the editor if it has not been created yet.\n */\n /* istanbul ignore next */\n public editorForCell(cell: string, create?: boolean): object { return; }\n\n /**\n * Destroys igGridUpdating.\n */\n /* istanbul ignore next */\n public destroy(): object { return; }\n\n /**\n * Shows the delete button for specific row.\n *\n * @param row A jQuery object of the targeted row.\n */\n /* istanbul ignore next */\n public showDeleteButtonFor(row: object): void { return; }\n\n /**\n * Hides the delete button.\n */\n /* istanbul ignore next */\n public hideDeleteButton(): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'group-by',\n inputs: ['disabled', 'create', 'groupByAreaVisibility', 'initialExpand', 'emptyGroupByAreaContent', 'emptyGroupByAreaContentSelectColumns', 'expansionIndicatorVisibility', 'groupByLabelWidth', 'labelDragHelperOpacity', 'indentation', 'defaultSortingDirection', 'groupedColumns', 'resultResponseKey', 'groupedRowTextTemplate', 'type', 'groupByUrlKey', 'groupByUrlKeyAscValue', 'groupByUrlKeyDescValue', 'summarySettings', 'columnSettings', 'expandTooltip', 'collapseTooltip', 'removeButtonTooltip', 'modalDialogGroupByOnClick', 'modalDialogGroupByButtonText', 'modalDialogCaptionButtonDesc', 'modalDialogCaptionButtonAsc', 'modalDialogCaptionButtonUngroup', 'modalDialogCaptionText', 'modalDialogDropDownLabel', 'modalDialogRootLevelHierarchicalGrid', 'modalDialogDropDownButtonCaption', 'modalDialogClearAllButtonLabel', 'emptyGroupByAreaContentSelectColumnsCaption', 'modalDialogDropDownWidth', 'modalDialogDropDownAreaWidth', 'modalDialogAnimationDuration', 'modalDialogWidth', 'modalDialogHeight', 'modalDialogButtonApplyText', 'modalDialogButtonCancelText', 'useGridColumnFormatter', 'persist', 'groupByDialogContainment', 'dialogWidget', 'inherit'],\n outputs: ['groupedColumnsChanging', 'groupedColumnsChanged', 'modalDialogMoving', 'modalDialogClosing', 'modalDialogClosed', 'modalDialogOpening', 'modalDialogOpened', 'modalDialogContentsRendering', 'modalDialogContentsRendered', 'modalDialogButtonApplyClick', 'modalDialogButtonResetClick', 'modalDialogGroupingColumn', 'modalDialogGroupColumn', 'modalDialogUngroupingColumn', 'modalDialogUngroupColumn', 'modalDialogSortGroupedColumn'],\n standalone: false\n})\nexport class IgGridGroupByFeature extends Feature<IgGridGroupBy> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Open groupby modal dialog\n */\n /* istanbul ignore next */\n public openGroupByDialog(): void { return; }\n\n /**\n * Close groupby modal dialog\n */\n /* istanbul ignore next */\n public closeGroupByDialog(): void { return; }\n\n /**\n * Render groupby modal dialog and its content\n */\n /* istanbul ignore next */\n public renderGroupByModalDialog(): void { return; }\n\n /**\n * Open layouts dropdown\n */\n /* istanbul ignore next */\n public openDropDown(): void { return; }\n\n /**\n * Close layouts dropdown\n */\n /* istanbul ignore next */\n public closeDropDown(): void { return; }\n\n /**\n * Check whether column with specified key and layout is grouped\n *\n * @param key key of the column\n * @param layout layout name\n */\n /* istanbul ignore next */\n public checkColumnIsGrouped(key: string, layout: string): void { return; }\n\n /**\n * Get grouped data by value for the specific column.\n * NOTE: Before calling this function the data(that is passed as an argument) should be sorted by colKey.\n *\n * @param data data (sorted by colKey) that is used to get the records from.\n * @param colKey key of the column for which grouping will be applied.\n * @param idval value of the column by which grouping will be applied.\n */\n /* istanbul ignore next */\n public getGroupedData(data: any[], colKey: string, idval?: string): any[] { return; }\n\n /**\n * Adds a column to the group by columns list, executes the group by operation and updates the view.\n */\n /* istanbul ignore next */\n public groupByColumns(): object { return; }\n\n /**\n * Groups by a column\n *\n * @param key Column Key - group by the column with the specified key\n * @param layout layout is an optional parameter.\n * If set it means the grouped column is not in the root level but is a child layout column\n * @param sortingDirection if not set it is taken from option defaultSortingDirection\n */\n /* istanbul ignore next */\n public groupByColumn(key: string, layout?: string, sortingDirection?: object): void { return; }\n\n /**\n * Removes the specified column from the group by columns list, executes the group by operation and updates the view.\n *\n * @param key Column Key - ungroup by the column with the specified key\n * @param layout Layout is an optional parameter.\n * If set it means the grouped column is not in the root level but is a child layout column.\n */\n /* istanbul ignore next */\n public ungroupByColumn(key: string, layout?: string): void { return; }\n\n /**\n * Expand group row with specified id\n *\n * @param rowId data-id attribute of the group row in the DOM\n */\n /* istanbul ignore next */\n public expand(rowId: string): void { return; }\n\n /**\n * Expand group row with specified id\n *\n * @param rowId data-id attribute of the group row in the DOM\n */\n /* istanbul ignore next */\n public collapse(rowId: string): void { return; }\n\n /**\n * Clears the group by columns list and updates the view.\n */\n /* istanbul ignore next */\n public ungroupAll(): void { return; }\n\n /**\n * Destroys the group by feature object.\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n}\n","import { Directive, ElementRef } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'column-moving',\n inputs: ['disabled', 'create', 'columnSettings', 'mode', 'moveType', 'addMovingDropdown', 'movingDialogWidth', 'movingDialogHeight', 'movingDialogAnimationDuration', 'movingAcceptanceTolerance', 'movingScrollTolerance', 'scrollSpeedMultiplier', 'scrollDelta', 'hideHeaderContentsDuringDrag', 'dragHelperOpacity', 'movingDialogCaptionButtonDesc', 'movingDialogCaptionButtonAsc', 'movingDialogCaptionText', 'movingDialogDisplayText', 'movingDialogDropTooltipText', 'movingDialogDropTooltipMarkup', 'dropDownMoveLeftText', 'dropDownMoveRightText', 'dropDownMoveFirstText', 'dropDownMoveLastText', 'movingToolTipMove', 'featureChooserSubmenuText', 'columnMovingDialogContainment', 'dialogWidget', 'inherit'],\n outputs: ['columnDragStart', 'columnDragEnd', 'columnDragCanceled', 'columnMoving', 'columnMoved', 'movingDialogOpening', 'movingDialogOpened', 'movingDialogDragged', 'movingDialogClosing', 'movingDialogClosed', 'movingDialogContentsRendering', 'movingDialogContentsRendered', 'movingDialogMoveUpButtonPressed', 'movingDialogMoveDownButtonPressed', 'movingDialogDragColumnMoving', 'movingDialogDragColumnMoved'],\n standalone: false\n})\nexport class IgGridColumnMovingFeature extends Feature<IgGridColumnMoving> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Restoring overwritten functions\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Moves a visible column at a specified place, in front or behind a target column or at a target index\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n *\n * @param column An identifier of the column to be moved.\n * It can be a key, a Multi-Column Header identificator, or an index in a number format.\n * The latter is not supported when the grid contains multi-column headers.\n * @param target An identifier of a column where the moved column should move to or an index at which the moved column should\n * be moved to. In the case of a column identifier the column will be moved after it by default.\n * @param after Specifies whether the column moved should be moved after or before the target column.\n * @param inDom Specifies whether the column moving will be enacted through DOM manipulation or through rerendering of the grid.\n * @param callback Specifies a custom function to be called when the column is moved.\n */\n /* istanbul ignore next */\n public moveColumn(column: object, target: object, after?: boolean, inDom?: boolean, callback?: () => void): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'hiding',\n inputs: ['disabled', 'create', 'columnSettings', 'hiddenColumnIndicatorHeaderWidth', 'columnChooserContainment', 'columnChooserWidth', 'columnChooserHeight', 'dropDownAnimationDuration', 'columnChooserCaptionText', 'columnChooserDisplayText', 'hiddenColumnIndicatorTooltipText', 'columnHideText', 'columnChooserShowText', 'columnChooserHideText', 'columnChooserHideOnClick', 'columnChooserResetButtonLabel', 'columnChooserAnimationDuration', 'columnChooserButtonApplyText', 'columnChooserButtonCancelText', 'dialogWidget', 'inherit'],\n outputs: ['columnHiding', 'columnHidingRefused', 'columnShowingRefused', 'multiColumnHiding', 'columnHidden', 'columnShowing', 'columnShown', 'columnChooserOpening', 'columnChooserOpened', 'columnChooserMoving', 'columnChooserClosing', 'columnChooserClosed', 'columnChooserContentsRendering', 'columnChooserContentsRendered', 'columnChooserButtonApplyClick', 'columnChooserButtonResetClick'],\n standalone: false\n})\nexport class IgGridHidingFeature extends Feature<IgGridHiding> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Destroys the hiding widget\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Shows the Column Chooser dialog. If it is visible the method does nothing.\n */\n /* istanbul ignore next */\n public showColumnChooser(): void { return; }\n\n /**\n * Hides the Column Chooser dialog. If it is not visible the method does nothing.\n */\n /* istanbul ignore next */\n public hideColumnChooser(): void { return; }\n\n /**\n * Shows a hidden column. If the column is not hidden the method does nothing.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n *\n * @param column An identifier for the column.\n * 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.\n * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader.\n * An identifier for the column should be of type string.\n * @param callback Specifies a custom function to be called when the column(s) is shown(optional)\n */\n /* istanbul ignore next */\n public showColumn(column: object, isMultiColumnHeader?: boolean, callback?: () => void): void { return; }\n\n /**\n * Hides a visible column. If the column is hidden the method does nothing.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n *\n * @param column An identifier for the column.\n * 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.\n * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader.\n * An identifier for the column should be of type string.\n * @param callback Specifies a custom function to be called when the column is hidden(optional)\n */\n /* istanbul ignore next */\n public hideColumn(column: object, isMultiColumnHeader?: boolean, callback?: () => void): void { return; }\n\n /**\n * Hides visible columns specified by the array. If the column is hidden the method does nothing.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n *\n * @param columns An array of identifiers for the columns.\n * 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.\n * @param callback Specifies a custom function to be called when all columns are hidden(optional)\n */\n /* istanbul ignore next */\n public hideMultiColumns(columns: any[], callback?: () => void): void { return; }\n\n /**\n * Show visible columns specified by the array. If the column is shown the method does nothing.\n * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel.\n * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.\n *\n * @param columns An array of identifiers for the columns.\n * 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.\n * @param callback Specifies a custom function to be called when all columns are shown(optional)\n */\n /* istanbul ignore next */\n public showMultiColumns(columns: any[], callback?: () => void): void { return; }\n\n /**\n * Gets whether the reset button in the column chooser dialog is to be rendered or not.\n */\n /* istanbul ignore next */\n public isToRenderButtonReset(): void { return; }\n\n /**\n * Reset hidden/shown column to initial state of dialog(when it is opened)\n */\n /* istanbul ignore next */\n public resetHidingColumnChooser(): void { return; }\n\n /**\n * Renders the Reset button in the Column Chooser dialog.\n */\n /* istanbul ignore next */\n public renderColumnChooserResetButton(): void { return; }\n\n /**\n * Remove Reset button in column chooser modal dialog\n */\n /* istanbul ignore next */\n public removeColumnChooserResetButton(): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'cell-merging',\n inputs: ['disabled', 'create', 'initialState', 'inherit'],\n outputs: ['cellsMerging', 'cellsMerged'],\n standalone: false\n})\nexport class IgGridCellMergingFeature extends Feature<IgGridCellMerging> {\n constructor(el: ElementRef) {\n super(el);\n }\n /* istanbul ignore next */\n public destroy(): void { return; }\n}\n","import { Feature } from '../feature';\nimport { ElementRef, Directive } from '@angular/core';\n\n@Directive({\n selector: 'responsive',\n inputs: ['disabled', 'create', 'columnSettings', 'reactOnContainerWidthChanges', 'forceResponsiveGridWidth', 'responsiveSensitivity', 'responsiveModes', 'enableVerticalRendering', 'windowWidthToRenderVertically', 'propertiesColumnWidth', 'valuesColumnWidth', 'allowedColumnWidthPerType', 'singleColumnTemplate', 'inherit'],\n outputs: ['responsiveColumnHiding', 'responsiveColumnHidden', 'responsiveColumnShowing', 'responsiveColumnShown', 'responsiveModeChanged'],\n standalone: false\n})\nexport class IgGridResponsiveFeature extends Feature<IgGridResponsive> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Destroys the responsive widget.\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Returns the currently active responsive mode.\n */\n /* istanbul ignore next */\n public getCurrentResponsiveMode(): void { return; }\n}\n","import { ElementRef, Directive } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'resizing',\n inputs: ['disabled', 'create', 'allowDoubleClickToResize', 'deferredResizing', 'columnSettings', 'handleThreshold', 'inherit'],\n outputs: ['columnResizing', 'columnResizingRefused', 'columnResized'],\n standalone: false\n})\nexport class IgGridResizingFeature extends Feature<IgGridResizing> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Destroys the resizing widget\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Resizes a column to a specified width in pixels, percents or auto if no width is specified.\n *\n * @param column An identifier for the column.\n * 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.\n * @param width Width of the column in pixels or percents.\n * 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).\n */\n /* istanbul ignore next */\n public resize(column: object, width?: object): void { return; }\n}\n","import { Directive, ElementRef } from '@angular/core';\nimport { Feature } from '../feature';\n\n@Directive({\n selector: 'selection',\n inputs: ['disabled', 'create', 'multipleSelection', 'mouseDragSelect', 'mode', 'activation', 'wrapAround', 'skipChildren', 'multipleCellSelectOnClick', 'touchDragSelect', 'persist', 'allowMultipleRangeSelection'],\n outputs: ['rowSelectionChanging', 'rowSelectionChanged', 'cellSelectionChanging', 'cellSelectionChanged', 'activeCellChanging', 'activeCellChanged', 'activeRowChanging', 'activeRowChanged'],\n standalone: false\n})\nexport class IgGridSelectionFeature extends Feature<IgGridSelection> {\n constructor(el: ElementRef) {\n super(el);\n }\n\n /**\n * Destroys the selection widget.\n */\n /* istanbul ignore next */\n public destroy(): void { return; }\n\n /**\n * Clears all selected cells, selected rows, active cell and active row. Also updates the UI accordingly\n */\n /* istanbul ignore next */\n public clearSelection(): void { return; }\n\n /**\n * Selects a cell by row/col\n *\n * @param row Row index\n * @param col Column index\n * @param isFixed If the cell is part of the fixed or unfixed area of the grid.\n */\n /* istanbul ignore next */\n public selectCell(row: number, col: number, isFixed?: boolean): void { return; }\n\n /**\n * Selects a cell by row id/column key\n *\n * @param id Row Id\n * @param colKey Column key\n */\n /* istanbul ignore next */\n public selectCellById(id: object, colKey: string): void { return; }\n\n /**\n * Deselects a cell by row/col\n *\n * @param row Row index\n * @param col Column index\n * @param isFixed If the cell is part of the fixed or unfixed area of the grid.\n */\n /* istanbul ignore next */\n public deselectCell(row: number, col: number, isFixed?: boolean): void { return; }\n\n /**\n * Deselects a cell by row id/column key\n *\n * @param id Row Id\n * @param colKey Column key\n */\n /* istanbul ignore next */\n public deselectCellById(id: object, colKey: string): void { return; }\n\n /**\n * Selects a row by index\n *\n * @param index Row index\n */\n /* istanbul ig