@syncfusion/ej2-grids
Advanced tools
Comparing version 25.1.40 to 25.1.41
/*! | ||
* filename: index.d.ts | ||
* version : 25.1.40 | ||
* version : 25.1.41 | ||
* Copyright Syncfusion Inc. 2001 - 2023. 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@25.1.39", | ||
"_id": "@syncfusion/ej2-grids@25.1.40", | ||
"_inBundle": false, | ||
"_integrity": "sha512-J4EBiEFJewNnlBEtZhy/JQlsF0WyK+TmZ/Ny+5LEEnN3tXFtnCYnaKsi5BP3RVTgF1+0RXfhO4/Hu4eWuT7Eow==", | ||
"_integrity": "sha512-3536Y6lbFzUyNiPARm2hVbRqFUuK1evQ+67lSHJ1Q6Tvk/qU4o/F3dT7OFWGxqVI7vc5tD98451tIyMAKTrMFw==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -31,4 +31,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-25.1.39.tgz", | ||
"_shasum": "b0d6a6a1dafa2dfd088b8e91f770546f6176c5db", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-25.1.40.tgz", | ||
"_shasum": "01a0e77e0a43c32184bbd5d8c08662621f93df64", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -46,11 +46,11 @@ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"@syncfusion/ej2-data": "~25.1.35", | ||
"@syncfusion/ej2-dropdowns": "~25.1.40", | ||
"@syncfusion/ej2-dropdowns": "~25.1.41", | ||
"@syncfusion/ej2-excel-export": "~25.1.35", | ||
"@syncfusion/ej2-file-utils": "~25.1.35", | ||
"@syncfusion/ej2-inputs": "~25.1.40", | ||
"@syncfusion/ej2-lists": "~25.1.39", | ||
"@syncfusion/ej2-navigations": "~25.1.40", | ||
"@syncfusion/ej2-lists": "~25.1.41", | ||
"@syncfusion/ej2-navigations": "~25.1.41", | ||
"@syncfusion/ej2-notifications": "~25.1.35", | ||
"@syncfusion/ej2-pdf-export": "~25.1.38", | ||
"@syncfusion/ej2-popups": "~25.1.39", | ||
"@syncfusion/ej2-popups": "~25.1.41", | ||
"@syncfusion/ej2-splitbuttons": "~25.1.38" | ||
@@ -82,5 +82,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "25.1.40", | ||
"version": "25.1.41", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -82,3 +82,2 @@ import { FormValidator } from '@syncfusion/ej2-inputs'; | ||
* @param {Row<Column>} row - specifies the row object | ||
* @param {freezeTable} newTableName - specifies the table name | ||
* @returns {void} | ||
@@ -85,0 +84,0 @@ * @hidden |
@@ -144,3 +144,3 @@ import { extend, addClass, removeClass, setValue, closest, select, EventHandler } from '@syncfusion/ej2-base'; | ||
var _a = e.container.indexes, rowIndex = _a[0], cellIndex = _a[1]; | ||
var actualIndex = e.element.getAttribute('data-colindex') ? parseInt(e.element.getAttribute('data-colindex')) : cellIndex; | ||
var actualIndex = e.element.getAttribute('data-colindex') ? parseInt(e.element.getAttribute('data-colindex'), 10) : cellIndex; | ||
if (actualIndex !== cellIndex) { | ||
@@ -376,3 +376,2 @@ cellIndex = actualIndex; | ||
* @param {Row<Column>} row - specifies the row object | ||
* @param {freezeTable} newTableName - specifies the table name | ||
* @returns {void} | ||
@@ -611,3 +610,3 @@ * @hidden | ||
// return i; | ||
// } else | ||
// } else | ||
if (isAdd && (!cols[parseInt(i.toString(), 10)].template || cols[parseInt(i.toString(), 10)].field) | ||
@@ -736,6 +735,6 @@ && cols[parseInt(i.toString(), 10)].allowEditing && cols[parseInt(i.toString(), 10)].visible && | ||
if (gObj.isEdit || | ||
(!rowObj_1.changes && ((!(value instanceof Date) && rowObj_1.data["" + field] !== value) || | ||
((value instanceof Date) && new Date(rowObj_1.data["" + field]).toString() !== new Date(value).toString()))) || | ||
(rowObj_1.changes && ((!(value instanceof Date) && rowObj_1.changes["" + field] !== value) || | ||
((value instanceof Date) && new Date(rowObj_1.changes["" + field]).toString() !== new Date(value).toString())))) { | ||
(!rowObj_1.changes && ((!(value instanceof Date) && rowObj_1.data['' + field] !== value) || | ||
((value instanceof Date) && new Date(rowObj_1.data['' + field]).toString() !== new Date(value).toString()))) || | ||
(rowObj_1.changes && ((!(value instanceof Date) && rowObj_1.changes['' + field] !== value) || | ||
((value instanceof Date) && new Date(rowObj_1.changes['' + field]).toString() !== new Date(value).toString())))) { | ||
this.refreshTD(td_1, col, rowObj_1, value); | ||
@@ -746,2 +745,3 @@ var isReactChild = this.parent.parentDetails && this.parent.parentDetails.parentInstObj && | ||
this.parent.parentDetails.parentInstObj.requireTemplateRef)) && col.template) { | ||
// eslint-disable-next-line @typescript-eslint/no-this-alias | ||
var thisRef_1 = this; | ||
@@ -884,7 +884,2 @@ var newReactTd_1 = this.newReactTd; | ||
else if (!isSingleInsert && this.isAdded && !gObj.isEdit) { | ||
var editRowIdx = 0; | ||
if (gObj.editSettings.newRowPosition === 'Bottom') { | ||
var changes = this.getBatchChanges(); | ||
editRowIdx = gObj.getCurrentViewRecords().length - changes[literals.deletedRecords].length; | ||
} | ||
for (var i = 0; i < insertedRows.length; i++) { | ||
@@ -891,0 +886,0 @@ if (!gObj.isEdit) { |
@@ -197,3 +197,4 @@ import { Browser, remove, EventHandler, isUndefined, closest, classList } from '@syncfusion/ej2-base'; | ||
for (var i = 0; i < obj.colIndexes.length; i++) { | ||
var colHeader = this.parent.getColumnHeaderByIndex(obj.colIndexes[parseInt(i.toString(), 10)]); | ||
var colHeader = this.parent | ||
.getColumnHeaderByIndex(obj.colIndexes[parseInt(i.toString(), 10)]); | ||
if (!colHeader.classList.contains('e-hide')) { | ||
@@ -200,0 +201,0 @@ headers.push(colHeader); |
@@ -54,3 +54,10 @@ import { Query, DataManager } from '@syncfusion/ej2-data'; | ||
protected sortQuery(query: Query): Query; | ||
protected searchQuery(query: Query, fcolumn?: Column, isForeignKey?: boolean): Query; | ||
/** | ||
* @param {Query} query - specifies the query | ||
* @param {Column} fcolumn - specifies the forein key column model | ||
* @param {boolean} isForeignKey - Confirms whether the column is a foreign key or not | ||
* @returns {Query} - returns the query | ||
* @hidden | ||
*/ | ||
searchQuery(query: Query, fcolumn?: Column, isForeignKey?: boolean): Query; | ||
protected filterQuery(query: Query, column?: PredicateModel[], skipFoerign?: boolean): Query; | ||
@@ -57,0 +64,0 @@ private fGeneratePredicate; |
@@ -233,2 +233,9 @@ import { isNullOrUndefined, extend } from '@syncfusion/ej2-base'; | ||
}; | ||
/** | ||
* @param {Query} query - specifies the query | ||
* @param {Column} fcolumn - specifies the forein key column model | ||
* @param {boolean} isForeignKey - Confirms whether the column is a foreign key or not | ||
* @returns {Query} - returns the query | ||
* @hidden | ||
*/ | ||
Data.prototype.searchQuery = function (query, fcolumn, isForeignKey) { | ||
@@ -295,3 +302,4 @@ var sSettings = this.parent.searchSettings; | ||
defaultFltrCols[parseInt(i.toString(), 10)].uid = defaultFltrCols[parseInt(i.toString(), 10)].uid || | ||
this.parent.grabColumnByFieldFromAllCols(defaultFltrCols[parseInt(i.toString(), 10)].field, defaultFltrCols[parseInt(i.toString(), 10)].isForeignKey).uid; | ||
this.parent.grabColumnByFieldFromAllCols(defaultFltrCols[parseInt(i.toString(), 10)] | ||
.field, defaultFltrCols[parseInt(i.toString(), 10)].isForeignKey).uid; | ||
} | ||
@@ -298,0 +306,0 @@ var excelPredicate = CheckBoxFilterBase.getPredicate(defaultFltrCols); |
@@ -399,2 +399,3 @@ import { closest, addClass, select } from '@syncfusion/ej2-base'; | ||
case 'dateonly': | ||
// eslint-disable-next-line no-cond-assign | ||
val = value && (value = new Date(value)) ? | ||
@@ -682,4 +683,4 @@ value.getFullYear() + '-' + padZero(value.getMonth() + 1) + '-' + padZero(value.getDate()) : null; | ||
!isNullOrUndefined(this.parent.element.querySelector('.e-editedrow'))); | ||
var isDestroyVirtualForm = (this.parent.enableVirtualization || this.parent.enableInfiniteScrolling) && this.formObj && isAddRows | ||
&& !this.formObj.isDestroyed && (editRow || addRow || e.requestType === 'cancel') && isRestrict; | ||
var isDestroyVirtualForm = (this.parent.enableVirtualization || this.parent.enableInfiniteScrolling) && this.formObj | ||
&& isAddRows && !this.formObj.isDestroyed && (editRow || addRow || e.requestType === 'cancel') && isRestrict; | ||
if ((!this.parent.enableVirtualization && isAddRows && this.parent.editSettings.mode !== 'Batch' && this.formObj && !this.formObj.isDestroyed | ||
@@ -978,3 +979,2 @@ && isRestrict && !e.cancel) || isDestroyVirtualForm) { | ||
> (parseInt(closest(inputElement, '.' + literals.row).getAttribute(literals.dataRowIndex), 10) || 0)); | ||
var field = inputElement.name; | ||
table = this.parent.isFrozenGrid() ? gObj.element : isFrozenHdr || (gObj.editSettings.showAddNewRow && | ||
@@ -981,0 +981,0 @@ (gObj.enableVirtualization || gObj.enableInfiniteScrolling)) ? gObj.getHeaderTable() : gObj.getContentTable(); |
@@ -878,2 +878,3 @@ import * as events from '../base/constant'; | ||
var eCell = {}; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
var columnsDetails = {}; | ||
@@ -880,0 +881,0 @@ if (!isNullOrUndefined(cell.attributes.index)) { |
@@ -244,4 +244,4 @@ import { Browser, EventHandler } from '@syncfusion/ej2-base'; | ||
} | ||
var widthVal = Math.round((_this.parent.enableRtl ? target.scrollWidth + target.scrollLeft : target.scrollWidth - target.scrollLeft) + | ||
(_this.parent.height === 'auto' ? 0 : 1)); | ||
var widthVal = Math.round((_this.parent.enableRtl ? target.scrollWidth + target.scrollLeft : target.scrollWidth - | ||
target.scrollLeft) + (_this.parent.height === 'auto' ? 0 : 1)); | ||
if (widthVal === target.offsetWidth && _this.parent.getVisibleFrozenRightCount()) { | ||
@@ -248,0 +248,0 @@ removeClass([_this.parent.element], 'e-right-shadow'); |
@@ -34,5 +34,4 @@ import { extend, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
if (searchString !== gObj.searchSettings.key) { | ||
// Check searchString is decimal or integer and parseFloat to remove trailing zeros | ||
/* eslint-disable-next-line */ | ||
gObj.searchSettings.key = /^\d+(\.\d+)?$/.test(searchString) ? parseFloat(searchString).toString() : searchString.toString(); | ||
// Check searchString is number and parseFloat to remove trailing zeros | ||
gObj.searchSettings.key = !isNaN(parseFloat(searchString)) ? parseFloat(searchString).toString() : searchString.toString(); | ||
gObj.dataBind(); | ||
@@ -39,0 +38,0 @@ } |
@@ -376,3 +376,2 @@ import { EventHandler, extend, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
var toolbarItems = this.parent.toolbar || []; | ||
var toolbarItemsString = false; | ||
if (typeof (this.parent.toolbar) === 'string') { | ||
@@ -393,3 +392,2 @@ return []; | ||
'PdfExport', 'ExcelExport', 'CsvExport'].indexOf(item) !== -1) { | ||
toolbarItemsString = true; | ||
continue; | ||
@@ -609,3 +607,3 @@ } | ||
items: this.getMenuItems(), | ||
select: this.ResponsiveToolbarMenuItemClick.bind(this), | ||
select: this.ResponsiveToolbarMenuItemClick.bind(this) | ||
}); | ||
@@ -612,0 +610,0 @@ this.responsiveToolbarMenu.appendTo(this.toolbarMenuElement); |
@@ -159,2 +159,5 @@ import { L10n } from '@syncfusion/ej2-base'; | ||
* | ||
* @param {KeyboardEventArgs} e - Defines the Keyboard event argument | ||
* @param {HTMLElement[]} focusableElements - Defines the Focusable elements | ||
* @returns {void} | ||
*/ | ||
@@ -161,0 +164,0 @@ private focusNextOrPrev; |
@@ -145,2 +145,3 @@ import { remove, addClass } from '@syncfusion/ej2-base'; | ||
var arialabelText = node.getAttribute('aria-label'); | ||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
arialabelText ? td.setAttribute('aria-label', arialabelText) : null; | ||
@@ -147,0 +148,0 @@ var elements = [].slice.call(node.childNodes); |
@@ -312,11 +312,13 @@ import { Droppable } from '@syncfusion/ej2-base'; | ||
var isFrozenLeft = false; | ||
/* eslint-disable */ | ||
if (!(args.requestType === 'infiniteScroll' && !this.parent.infiniteScrollSettings.enableCache) && this.parent.registeredTemplate | ||
&& this.parent.registeredTemplate.template && !args.isFrozen && !isFrozenLeft) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
var registeredTemplates = this.parent.registeredTemplate; | ||
if (!(args.requestType === 'infiniteScroll' && !this.parent.infiniteScrollSettings.enableCache) && registeredTemplates | ||
&& registeredTemplates.template && !args.isFrozen && !isFrozenLeft) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
var templatetoclear = []; | ||
for (var i = 0; i < this.parent.registeredTemplate.template.length; i++) { | ||
for (var j = 0; j < this.parent.registeredTemplate.template[i].rootNodes.length; j++) { | ||
if (isNullOrUndefined(this.parent.registeredTemplate.template[i].rootNodes[j].parentNode)) { | ||
templatetoclear.push(this.parent.registeredTemplate.template[i]); | ||
/* eslint-enable */ | ||
for (var i = 0; i < registeredTemplates.template.length; i++) { | ||
for (var j = 0; j < registeredTemplates.template[parseInt(i.toString(), 10)].rootNodes.length; j++) { | ||
if (isNullOrUndefined(registeredTemplates.template[parseInt(i.toString(), 10)] | ||
.rootNodes[parseInt(j.toString(), 10)].parentNode)) { | ||
templatetoclear.push(registeredTemplates.template[parseInt(i.toString(), 10)]); | ||
} | ||
@@ -323,0 +325,0 @@ } |
@@ -101,3 +101,3 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base'; | ||
if (args.requestType === 'grouping') { | ||
// Remove the dropped column name from groupsettings.columns if args.cancel is true | ||
// Remove the dropped column name from groupsettings.columns if args.cancel is true | ||
var index = gObj.groupSettings.columns.indexOf(args.columnName); | ||
@@ -353,3 +353,4 @@ if (index !== -1) { | ||
var emptyRecordTemplateID = gObj.element.id + 'emptyRecordTemplate'; | ||
td = this.parent.createElement('td', { attrs: { colspan: (gObj.getVisibleColumns().length + spanCount + gObj.groupSettings.columns.length).toString() } }); | ||
td = this.parent.createElement('td', { attrs: { colspan: (gObj.getVisibleColumns().length + | ||
spanCount + gObj.groupSettings.columns.length).toString() } }); | ||
if (gObj.isVue) { | ||
@@ -382,2 +383,5 @@ td.appendChild(gObj.getEmptyRecordTemplate()(gObj.dataSource, gObj, 'emptyRecordTemplate', emptyRecordTemplateID, undefined, undefined, undefined, this.parent['root'])[1]); | ||
if (isTrigger) { | ||
if (!this.parent.isInitialLoad) { | ||
this.parent.focusModule.setFirstFocusableTabIndex(); | ||
} | ||
this.parent.trigger(events.dataBound, {}); | ||
@@ -384,0 +388,0 @@ this.parent.notify(events.onEmpty, { rows: [new Row({ isDataRow: true, cells: [new Cell({ isDataCell: true, visible: true })] })] }); |
@@ -399,3 +399,2 @@ import { isNullOrUndefined, extend, addClass, removeClass } from '@syncfusion/ej2-base'; | ||
}; | ||
; | ||
RowRenderer.prototype.refreshMergeCells = function (row) { | ||
@@ -402,0 +401,0 @@ for (var _i = 0, _a = row.cells; _i < _a.length; _i++) { |
@@ -10,2 +10,3 @@ import { IModelGenerator, IGrid, VirtualInfo, NotifyArgs } from '../base/interface'; | ||
private model; | ||
recordsCount: number; | ||
rowModelGenerator: IModelGenerator<Column>; | ||
@@ -12,0 +13,0 @@ parent: IGrid; |
@@ -26,2 +26,3 @@ import { Browser, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
var rows = this.parent.getRowsObject(); | ||
// eslint-disable-next-line prefer-spread | ||
result.push.apply(result, this.rowModelGenerator.refreshRows(rows)); | ||
@@ -40,2 +41,3 @@ if (this.parent.infiniteScrollSettings.enableCache) { | ||
else { | ||
// eslint-disable-next-line prefer-spread | ||
result.push.apply(result, this.rowModelGenerator.generateRows(data, e)); | ||
@@ -86,2 +88,3 @@ } | ||
if (isGroupAdaptive(this_1.parent) && !this_1.parent.vcRows.length) { | ||
this_1.recordsCount = data.records.length; | ||
this_1.parent.vRows = rows; | ||
@@ -116,3 +119,5 @@ this_1.parent.vcRows = rows; | ||
if (!e.renderMovableContent && !e.renderFrozenRightContent && this_1.cache[values[parseInt(i.toString(), 10)]]) { | ||
// eslint-disable-next-line prefer-spread | ||
result.push.apply(result, this_1.cache[values[parseInt(i.toString(), 10)]]); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
var DataRecord_1 = []; | ||
@@ -119,0 +124,0 @@ if (this_1.parent.enableVirtualization && this_1.parent.groupSettings.columns.length) { |
@@ -117,3 +117,4 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
var fWidth = formatUnit(width); | ||
var headerCol = header.querySelector(literals.colGroup).children[parseInt(index.toString(), 10)]; | ||
var headerCol = header.querySelector(literals.colGroup) | ||
.children[parseInt(index.toString(), 10)]; | ||
if (headerCol && !clear) { | ||
@@ -120,0 +121,0 @@ headerCol.style.width = fWidth; |
@@ -314,31 +314,31 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
'index': '1', | ||
'title': this.pagerModule.getLocalizedLabel('firstPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('firstPageTooltip') | ||
}); | ||
attributes(this.pagerElement.querySelector('.e-mfirst'), { | ||
'index': '1', | ||
'title': this.pagerModule.getLocalizedLabel('firstPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('firstPageTooltip') | ||
}); | ||
attributes(this.last, { | ||
'index': pagerObj.totalPages.toString(), | ||
'title': this.pagerModule.getLocalizedLabel('lastPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('lastPageTooltip') | ||
}); | ||
attributes(this.pagerElement.querySelector('.e-mlast'), { | ||
'index': pagerObj.totalPages.toString(), | ||
'title': this.pagerModule.getLocalizedLabel('lastPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('lastPageTooltip') | ||
}); | ||
attributes(this.prev, { | ||
'index': (pagerObj.currentPage - 1).toString(), | ||
'title': this.pagerModule.getLocalizedLabel('previousPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('previousPageTooltip') | ||
}); | ||
attributes(this.pagerElement.querySelector('.e-mprev'), { | ||
'index': (pagerObj.currentPage - 1).toString(), | ||
'title': this.pagerModule.getLocalizedLabel('previousPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('previousPageTooltip') | ||
}); | ||
attributes(this.next, { | ||
'index': (pagerObj.currentPage + 1).toString(), | ||
'title': this.pagerModule.getLocalizedLabel('nextPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('nextPageTooltip') | ||
}); | ||
attributes(this.pagerElement.querySelector('.e-mnext'), { | ||
'index': (pagerObj.currentPage + 1).toString(), | ||
'title': this.pagerModule.getLocalizedLabel('nextPageTooltip'), | ||
'title': this.pagerModule.getLocalizedLabel('nextPageTooltip') | ||
}); | ||
@@ -345,0 +345,0 @@ var ppIndex = (this.pagerModule.isPagerResized && numItems.length) |
@@ -25,3 +25,3 @@ import { Pager, IRender } from './pager'; | ||
* Refreshes the pager information. | ||
* | ||
* | ||
* @returns {void} | ||
@@ -54,3 +54,5 @@ */ | ||
* @function format | ||
* @returns {string} | ||
* @param {string} str - specifies the string | ||
* @param {number[]} args - specifies the argument | ||
* @returns {string} returns the format string | ||
* @hidden | ||
@@ -57,0 +59,0 @@ */ |
@@ -31,3 +31,3 @@ import { createElement, append } from '@syncfusion/ej2-base'; | ||
* Refreshes the pager information. | ||
* | ||
* | ||
* @returns {void} | ||
@@ -83,3 +83,5 @@ */ | ||
* @function format | ||
* @returns {string} | ||
* @param {string} str - specifies the string | ||
* @param {number[]} args - specifies the argument | ||
* @returns {string} returns the format string | ||
* @hidden | ||
@@ -89,5 +91,5 @@ */ | ||
var regx; | ||
var regExp = RegExp; | ||
for (var i = 0; i < args.length; i++) { | ||
// eslint-disable-next-line security/detect-non-literal-regexp | ||
regx = new RegExp('\\{' + (i) + '\\}', 'gm'); | ||
regx = new regExp('\\{' + (i) + '\\}', 'gm'); | ||
str = str.replace(regx, args[parseInt(i.toString(), 10)].toString()); | ||
@@ -94,0 +96,0 @@ } |
@@ -893,4 +893,4 @@ var __extends = (this && this.__extends) || (function () { | ||
Pager.prototype.getUpdatedURL = function (uri, key, value) { | ||
// eslint-disable-next-line security/detect-non-literal-regexp | ||
var regx = new RegExp('([?|&])' + key + '=.*?(&|#|$)', 'i'); | ||
var regExp = RegExp; | ||
var regx = new regExp('([?|&])' + key + '=.*?(&|#|$)', 'i'); | ||
if (uri.match(regx)) { | ||
@@ -897,0 +897,0 @@ return uri.replace(regx, '$1' + key + '=' + value + '$2'); |
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
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
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
38344197
384876