@syncfusion/ej2-grids
Advanced tools
Comparing version 21.2.9 to 21.2.10
/*! | ||
* filename: index.d.ts | ||
* version : 21.2.9 | ||
* version : 21.2.10 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-grids@*", | ||
"_id": "@syncfusion/ej2-grids@21.2.8", | ||
"_id": "@syncfusion/ej2-grids@21.2.9", | ||
"_inBundle": false, | ||
"_integrity": "sha512-8ydyBVbs4UrD2GY+dBgWzE3ii22Vpsa0EkAqZqdyYsTl5+KZZ7+bA4Cv52w81/teb0n4K99wZ62msvnWcH2M1g==", | ||
"_integrity": "sha512-BwkgEtgOzsuDzfKXRsn55hxIwv9onDeD9+J/nox5mqe0Rl9TYbTSPQ4qZfxPBW4gtR6iFTi3Ki3VJC394UioPg==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -32,4 +32,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-21.2.8.tgz", | ||
"_shasum": "71a97c29fce7e7e60eca971bdd1c3d132ff004a7", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-21.2.9.tgz", | ||
"_shasum": "be56776361eff7686ab8f40806840dd5c10427e1", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -43,7 +43,7 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~21.2.9", | ||
"@syncfusion/ej2-buttons": "~21.2.6", | ||
"@syncfusion/ej2-calendars": "~21.2.9", | ||
"@syncfusion/ej2-buttons": "~21.2.10", | ||
"@syncfusion/ej2-calendars": "~21.2.10", | ||
"@syncfusion/ej2-compression": "~21.2.3", | ||
"@syncfusion/ej2-data": "~21.2.9", | ||
"@syncfusion/ej2-dropdowns": "~21.2.8", | ||
"@syncfusion/ej2-dropdowns": "~21.2.10", | ||
"@syncfusion/ej2-excel-export": "~21.2.8", | ||
@@ -55,4 +55,4 @@ "@syncfusion/ej2-file-utils": "~21.2.3", | ||
"@syncfusion/ej2-notifications": "~21.2.3", | ||
"@syncfusion/ej2-pdf-export": "~21.2.8", | ||
"@syncfusion/ej2-popups": "~21.2.4", | ||
"@syncfusion/ej2-pdf-export": "~21.2.10", | ||
"@syncfusion/ej2-popups": "~21.2.10", | ||
"@syncfusion/ej2-splitbuttons": "~21.2.5" | ||
@@ -84,5 +84,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "21.2.9", | ||
"version": "21.2.10", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -32,3 +32,3 @@ import { classList, addClass, removeClass, isNullOrUndefined, Browser } from '@syncfusion/ej2-base'; | ||
this.isCustomizeOpenCC = false; | ||
this.searchOperator = 'wildcard'; | ||
this.searchOperator = 'startswith'; | ||
this.prevShowedCols = []; | ||
@@ -753,5 +753,2 @@ this.hideDialogFunction = this.hideDialog.bind(this); | ||
}; | ||
if (this.searchOperator !== args1.searchOperator) { | ||
args1.searchOperator = this.searchOperator; | ||
} | ||
this.parent.trigger(events.beforeOpenColumnChooser, args1); | ||
@@ -758,0 +755,0 @@ this.searchOperator = args1.searchOperator; |
@@ -139,2 +139,10 @@ import * as events from '../base/constant'; | ||
var _this = this; | ||
if (gObj.allowGrouping && gObj.groupSettings.enableLazyLoading && gObj.groupSettings.columns.length) { | ||
if (isNullOrUndefined(exportProperties)) { | ||
exportProperties = { hierarchyExportMode: 'All' }; | ||
} | ||
else { | ||
exportProperties.hierarchyExportMode = exportProperties.hierarchyExportMode || 'All'; | ||
} | ||
} | ||
if (!isNullOrUndefined(exportProperties) && !isNullOrUndefined(exportProperties.dataSource)) { | ||
@@ -800,5 +808,5 @@ exportProperties.dataSource = exportProperties.dataSource instanceof DataManager ? | ||
var row_1 = {}; | ||
if (this.groupedColLength < 8 && this.groupedColLength > 0) { | ||
var dummyOutlineLevel = 'outlineLevel'; | ||
var dummyGrouping = 'grouping'; | ||
var dummyOutlineLevel = 'outlineLevel'; | ||
var dummyGrouping = 'grouping'; | ||
if (this.groupedColLength < 8 && this.groupedColLength > 0 && !(gObj.groupSettings.enableLazyLoading && isNullOrUndefined(excelRows[excelRows.length - 1]["" + dummyGrouping]))) { | ||
var level = excelRows[excelRows.length - 1]["" + dummyGrouping]["" + dummyOutlineLevel]; | ||
@@ -805,0 +813,0 @@ var grouping = { outlineLevel: level, isCollapsed: true }; |
@@ -136,9 +136,5 @@ import { extend } from '@syncfusion/ej2-base'; | ||
if ((e.action === 'add' && e.requestType === 'save') || (e.requestType === 'batchsave')) { | ||
if (this.pagerObj.isAllPage) { | ||
this.pagerObj.isAll = true; | ||
if (this.pagerObj.isAllPage && (e.count === this.pageSettings.pageSize)) { | ||
this.pagerObj.setProperties({ pageSize: e.count }, true); | ||
} | ||
else { | ||
this.pagerObj.isAll = false; | ||
} | ||
} | ||
@@ -145,0 +141,0 @@ this.parent.dataBind(); |
@@ -1123,3 +1123,3 @@ import { isNullOrUndefined, setValue, getValue } from '@syncfusion/ej2-base';import { Component, ModuleDeclaration, ChildProperty, Browser, closest, extend, TouchEventArgs } from '@syncfusion/ej2-base';import { addClass, removeClass, append, remove, classList, setStyleAttribute } from '@syncfusion/ej2-base';import { Property, Collection, Complex, Event, NotifyPropertyChanges, INotifyPropertyChanged, L10n } from '@syncfusion/ej2-base';import { EventHandler, KeyboardEvents, KeyboardEventArgs as KeyArg, EmitType } from '@syncfusion/ej2-base';import { Query, DataManager, DataUtil, DataOptions, UrlAdaptor } from '@syncfusion/ej2-data';import { ItemModel, ClickEventArgs } from '@syncfusion/ej2-navigations';import { createSpinner, hideSpinner, showSpinner, Tooltip } from '@syncfusion/ej2-popups';import { iterateArrayOrObject, prepareColumns, parentsUntil, wrap, templateCompiler, isGroupAdaptive, refreshForeignData } from './util';import { getRowHeight, setColumnIndex, Global, ispercentageWidth, renderMovable, getNumberFormat, getTransformValues } from './util';import { setRowElements, resetRowIndex, compareChanges, getCellByColAndRowIndex, performComplexDataOperation } from './util';import * as events from '../base/constant';import { ReturnType, BatchChanges } from '../base/type';import { IDialogUI, ScrollPositionType, ActionArgs, ExportGroupCaptionEventArgs, FilterUI, LazyLoadArgs, LoadEventArgs } from './interface';import {AggregateQueryCellInfoEventArgs, IGrid } from './interface';import { IRenderer, IValueFormatter, IFilterOperator, IIndex, RowDataBoundEventArgs, QueryCellInfoEventArgs } from './interface';import { CellDeselectEventArgs, CellSelectEventArgs, CellSelectingEventArgs, ParentDetails, ContextMenuItemModel } from './interface';import { PdfQueryCellInfoEventArgs, ExcelQueryCellInfoEventArgs, ExcelExportProperties, PdfExportProperties } from './interface';import { PdfHeaderQueryCellInfoEventArgs, ExcelHeaderQueryCellInfoEventArgs, ExportDetailDataBoundEventArgs } from './interface';import { ColumnMenuOpenEventArgs, BatchCancelArgs, RecordDoubleClickEventArgs, DataResult, PendingState } from './interface';import { HeaderCellInfoEventArgs, KeyboardEventArgs, RecordClickEventArgs, AdaptiveDialogEventArgs } from './interface';import { FailureEventArgs, FilterEventArgs, ColumnDragEventArgs, GroupEventArgs, PrintEventArgs, ICustomOptr } from './interface';import { RowDeselectEventArgs, RowSelectEventArgs, RowSelectingEventArgs, RowDeselectingEventArgs, PageEventArgs, RowDragEventArgs } from './interface';import { BeforeBatchAddArgs, BeforeBatchDeleteArgs, BeforeBatchSaveArgs, ResizeArgs, ColumnMenuItemModel } from './interface';import { BatchAddArgs, BatchDeleteArgs, BeginEditArgs, CellEditArgs, CellSaveArgs, BeforeDataBoundArgs, RowInfo } from './interface';import { DetailDataBoundEventArgs, ColumnChooserEventArgs, AddEventArgs, SaveEventArgs, EditEventArgs, DeleteEventArgs } from './interface';import { ExcelExportCompleteArgs, PdfExportCompleteArgs, DataStateChangeEventArgs, DataSourceChangedEventArgs } from './interface';import { SearchEventArgs, SortEventArgs, ISelectedCell, EJ2Intance, BeforeCopyEventArgs, ColumnDataStateChangeEventArgs} from './interface';import {BeforePasteEventArgs, CheckBoxChangeEventArgs, CommandClickEventArgs, BeforeAutoFillEventArgs } from './interface';import { Render } from '../renderer/render';import { Column, ColumnModel, ActionEventArgs } from '../models/column';import { SelectionType, GridLine, RenderType, SortDirection, SelectionMode, PrintMode, FilterType, FilterBarMode } from './enum';import { CheckboxSelectionType, HierarchyGridPrintMode, NewRowPosition, freezeTable, ClipMode, freezeMode, IndicatorType } from './enum';import { WrapMode, ToolbarItems, ContextMenuItem, ColumnMenuItem, ToolbarItem, CellSelectionMode, EditMode, ResizeMode } from './enum';import { ColumnQueryModeType, RowRenderingDirection } from './enum';import { Data } from '../actions/data';import { Cell } from '../models/cell';import { RowRenderer } from '../renderer/row-renderer';import { CellRenderer } from '../renderer/cell-renderer';import { CellRendererFactory } from '../services/cell-render-factory';import { ServiceLocator } from '../services/service-locator';import { ValueFormatter } from '../services/value-formatter';import { RendererFactory } from '../services/renderer-factory';import { ColumnWidthService } from '../services/width-controller';import { AriaService } from '../services/aria-service';import { FocusStrategy } from '../services/focus-strategy';import { PageSettingsModel, AggregateRowModel, AggregateColumnModel, ColumnChooserSettingsModel } from '../models/models';import { PageSettings } from '../models/page-settings';import { ColumnChooserSettings } from '../models/column-chooser-settings';import { Sort } from '../actions/sort';import { Page } from '../actions/page';import { Selection } from '../actions/selection';import { Filter } from '../actions/filter';import { Search } from '../actions/search';import { Resize } from '../actions/resize';import { Reorder } from '../actions/reorder';import { RowDD } from '../actions/row-reorder';import { ShowHide } from '../actions/show-hide';import { Scroll } from '../actions/scroll';import { InfiniteScroll } from '../actions/infinite-scroll';import { Group } from '../actions/group';import { Print } from '../actions/print';import { DetailRow } from '../actions/detail-row';import { Toolbar } from '../actions/toolbar';import { AggregateRow } from '../models/aggregate';import { Edit } from '../actions/edit';import { Row } from '../models/row';import { ColumnChooser } from '../actions/column-chooser';import { ExcelExport } from '../actions/excel-export';import { PdfExport } from '../actions/pdf-export';import { Clipboard } from '../actions/clipboard';import { CommandColumn } from '../actions/command-column';import { ContextMenu } from '../actions/context-menu';import { BeforeOpenCloseMenuEventArgs, MenuEventArgs } from '@syncfusion/ej2-navigations';import { ColumnMenu } from '../actions/column-menu';import { CheckState } from './enum';import { Aggregate } from '../actions/aggregate';import { ILogger } from '../actions/logger';import { IModelGenerator } from '../base/interface';import { RowModelGenerator } from '../services/row-model-generator';import { ColumnDeselectEventArgs, ColumnSelectEventArgs, ColumnSelectingEventArgs } from './interface';import { DateFormatOptions, NumberFormatOptions, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import * as literals from '../base/string-literals';import { Workbook } from '@syncfusion/ej2-excel-export';import { HeaderCellRenderer } from '../renderer/header-cell-renderer'; | ||
* | ||
* @default { columnChooserOperator: 'wildCard' } | ||
* @default { columnChooserOperator: 'startsWith' } | ||
*/ | ||
@@ -1126,0 +1126,0 @@ columnChooserSettings?: ColumnChooserSettingsModel; |
import { FilterSettings } from '../base/grid'; | ||
import { IGrid, IFilterArgs, FilterUI } from '../base/interface'; | ||
import { IGrid, IFilterArgs, FilterUI, ICustomOptr } from '../base/interface'; | ||
import { ServiceLocator } from '../services/service-locator'; | ||
@@ -22,3 +22,3 @@ import { Filter } from '../actions/filter'; | ||
private filterSettings; | ||
private customFilterOperators; | ||
customFilterOperators: ICustomOptr; | ||
private dropOptr; | ||
@@ -25,0 +25,0 @@ private flMuiObj; |
@@ -91,3 +91,3 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base'; | ||
if (gObj.allowPaging && gObj.pageSettings.pageSizes && gObj.pagerModule.pagerObj.isAllPage && | ||
args.action === 'add' && args.requestType === 'save') { | ||
(args.action === 'add' && args.requestType === 'save') && gObj.pagerModule.pagerObj.checkAll) { | ||
gObj.setProperties({ pageSettings: { pageSize: gObj.pageSettings.pageSize + 1 } }, true); | ||
@@ -261,3 +261,3 @@ } | ||
var gObj = this.parent; | ||
if (gObj.allowPaging && gObj.pageSettings.pageSizes && gObj.pagerModule.pagerObj.isAllPage) { | ||
if (gObj.allowPaging && gObj.pageSettings.pageSizes && gObj.pagerModule.pagerObj.isAllPage && gObj.pagerModule.pagerObj.checkAll) { | ||
var dataLength = args['changes'].addedRecords.length; | ||
@@ -264,0 +264,0 @@ if (dataLength) { |
@@ -123,3 +123,3 @@ import { createElement, remove } from '@syncfusion/ej2-base'; | ||
parseInt(value, 10) : value; | ||
if (this.pagerModule.isAll && (pageSizeNum === this.pagerModule.totalRecordsCount || value === this.pagerModule.getLocalizedLabel('All'))) { | ||
if (pageSizeNum === this.pagerModule.totalRecordsCount || value === this.pagerModule.getLocalizedLabel('All')) { | ||
return true; | ||
@@ -133,3 +133,5 @@ } | ||
if (this.dropDownListObject) { | ||
var isbeforeAll = this.pagerModule.isAllPage; | ||
this.pagerModule.isAllPage = this.isPageSizeAll(value); | ||
this.pagerModule.checkAll = (isbeforeAll && this.pagerModule.isAllPage) ? true : false; | ||
this.dropDownListObject["" + prop] = this.pagerModule.isAllPage ? this.pagerModule.getLocalizedLabel('All') : value; | ||
@@ -136,0 +138,0 @@ } |
@@ -42,3 +42,3 @@ import { Component, ModuleDeclaration, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
isAllPage: boolean; | ||
isAll: boolean; | ||
checkAll: boolean; | ||
private defaultConstants; | ||
@@ -45,0 +45,0 @@ private pageRefresh; |
@@ -54,3 +54,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.hasParent = false; | ||
_this.isAll = true; | ||
_this.checkAll = true; | ||
_this.pageRefresh = 'pager-refresh'; | ||
@@ -57,0 +57,0 @@ _this.firstPagerFocus = false; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35219334
335452