Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-base

Package Overview
Dependencies
Maintainers
3
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-base - npm Package Compare versions

Comparing version 24.2.8 to 25.1.35-579988

dist/ts/ajax.ts

3

.eslintrc.json

@@ -19,2 +19,3 @@ {

},
"ignorePatterns": ["*.d.ts", "*.js"],
"plugins": [

@@ -188,3 +189,3 @@ "@typescript-eslint",

],
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": "warn",
"no-cond-assign": [

@@ -191,0 +192,0 @@ "error",

@@ -5,38 +5,2 @@ # Changelog

### Common
#### Bug Fixes
- `#I542405` - The issue with "component events remain after being destroyed through the template in the heap memory" has been resolved.
## 24.2.5 (2024-02-13)
### Common
#### Bug Fixes
- `#I495294` - The issue with content sanitization in the tooltip component has been resolved.
## 24.2.3 (2024-01-31)
### Common
#### Bug Fixes
- `#I547507` - The issue with "rendering the new line in the html template string" has been resolved.
### Common
#### Bug Fixes
- `#I541838` - Resolved issue with time picker designator "pm" is automatically flips to "am".
## 24.1.46 (2024-01-17)
### Common
#### Bug Fixes
- `#I531468` - The issue with "rendering the html template string" has been resolved.
## 23.2.6 (2023-11-28)

@@ -43,0 +7,0 @@

@@ -1,10 +0,1 @@

/*!
* filename: index.d.ts
* version : 24.2.7
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
import * as _base from '@syncfusion/ej2-base';

@@ -11,0 +2,0 @@

@@ -0,0 +0,0 @@ var crypto = require("crypto");

@@ -0,0 +0,0 @@ require('./crypto');

@@ -0,0 +0,0 @@ var shell = require('shelljs');

@@ -12,2 +12,3 @@ var shell = require('shelljs');

var enableW3c = '{W3cdisabled}';
const pixelmatch = require('pixelmatch');
var HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter');

@@ -40,3 +41,3 @@ var reporter = new HtmlScreenshotReporter({

jasmineNodeOpts: {
defaultTimeoutInterval: 100000
defaultTimeoutInterval: 150000
},

@@ -210,2 +211,58 @@ multiCapabilities: [],

browser.compareScreenWithPixelMatch = function (element, fileName, opt) {
var folderName = fileName;
var fArr = fileName.split('/');
if (fArr.length > 1) {
fArr.splice(-1, 1);
folderName = fArr.join('/')
createF(camelCase('e2e/expected/' + browser.pixDiff.browserName + '/' + folderName));
createF(camelCase('e2e/actual/' + browser.pixDiff.browserName + '/' + folderName));
}
var option = {
imageAPath: '/expected/' + browser.pixDiff.browserName + '/' + fileName, // Use file-path
imageBPath: '/actual/' + browser.pixDiff.browserName + '/' + fileName,
filter: ['grayScale'],
debug: true,
hideShift: true,
thresholdType: 'pixel',
threshold: 0.3
};
var doneFn = arguments[arguments.length - 1];
if (typeof opt === 'object' && Object.keys(opt).length) {
Object.assign(option, opt);
}
console.log(JSON.stringify(option));
browser.pixDiff.saveRegion(element, '/Actual/' + browser.pixDiff.browserName + '/' + fileName, option).then(() => {
var fPathName = path.resolve(__dirname, '../../../../' + camelCase('e2e/expected/' + browser.pixDiff.browserName + '/' + fileName) + '.png');
if (!fs.existsSync(fPathName) && fs.existsSync(fPathName.replace("Expected", "Actual"))) {
fs.copyFileSync(fPathName.replace("Expected", "Actual"), fPathName);
console.log('Expected Image Created : /expected/' + browser.pixDiff.browserName + '/' + fileName);
}
browser.saveCheckImagewithPixelMatch(element, fileName, option, doneFn);
});
}
browser.saveCheckImagewithPixelMatch = function (element, fileName, option, doneFn) {
var img1 = PNG.sync.read(fs.readFileSync('./e2e'+option.imageBPath+'.png'));
var img2 = PNG.sync.read(fs.readFileSync('./e2e'+option.imageAPath+'.png'));
var { width, height } = img1;
var diff = new PNG({ width, height });
var result = pixelmatch(img1.data, img2.data, diff.data, width, height, { threshold: option.threshold });
console.log('result --->\n', result);
if (result < 75) {
result = 5
} else if (result < 150){
result = 7;
fs.writeFileSync('./e2e' + option.imageAPath.replace('expected', 'diff') + '.png', PNG.sync.write(diff));
} else{
result = 1;
fs.writeFileSync('./e2e' + option.imageAPath.replace('expected', 'diff') + '.png', PNG.sync.write(diff));
}
expect(result).toEqual(5)
if (typeof doneFn === 'function') {
doneFn();
}
}
browser.waitForEvent = function (id, moduleName, eventName) {

@@ -212,0 +269,0 @@ return browser.executeAsyncScript(function (id, moduleName, eventName, callback) {

@@ -0,0 +0,0 @@ define(["require", "exports", "./base"], function (require, exports, base_1) {

{
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@24.2.5",
"_inBundle": false,
"_integrity": "sha512-pJvhVF1l3TTUm0NfT9YwuXjMEgTP42tqnaKyzIelSGOMdPbr1n7ObO5X1DaUO7hwUi0YGdjv8sJag4sZofDkNQ==",
"_location": "/@syncfusion/ej2-base",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@syncfusion/ej2-base@*",
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@18.92.0",
"_inBundle": false,
"_integrity": "sha512-duRt3JuBjQX0mQtd7LO8Q92GCEef3zrE9BF1cJlRRutTv15EdfhPMI72ND4cm6gMw9nMwDeAKA7pPbCcF+t4YQ==",
"_location": "/@syncfusion/ej2-base",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@syncfusion/ej2-base@*",
"name": "@syncfusion/ej2-base",
"escapedName": "@syncfusion%2fej2-base",
"scope": "@syncfusion",
"rawSpec": "*",
"saveSpec": null,
"fetchSpec": "*"
},
"_requiredBy": [
"/",
"/@syncfusion/ej2",
"/@syncfusion/ej2-angular-barcode-generator",
"/@syncfusion/ej2-angular-base",
"/@syncfusion/ej2-angular-buttons",
"/@syncfusion/ej2-angular-calendars",
"/@syncfusion/ej2-angular-charts",
"/@syncfusion/ej2-angular-circulargauge",
"/@syncfusion/ej2-angular-diagrams",
"/@syncfusion/ej2-angular-documenteditor",
"/@syncfusion/ej2-angular-dropdowns",
"/@syncfusion/ej2-angular-filemanager",
"/@syncfusion/ej2-angular-gantt",
"/@syncfusion/ej2-angular-grids",
"/@syncfusion/ej2-angular-heatmap",
"/@syncfusion/ej2-angular-image-editor",
"/@syncfusion/ej2-angular-inplace-editor",
"/@syncfusion/ej2-angular-inputs",
"/@syncfusion/ej2-angular-kanban",
"/@syncfusion/ej2-angular-layouts",
"/@syncfusion/ej2-angular-lineargauge",
"/@syncfusion/ej2-angular-lists",
"/@syncfusion/ej2-angular-maps",
"/@syncfusion/ej2-angular-navigations",
"/@syncfusion/ej2-angular-notifications",
"/@syncfusion/ej2-angular-pdfviewer",
"/@syncfusion/ej2-angular-pivotview",
"/@syncfusion/ej2-angular-popups",
"/@syncfusion/ej2-angular-progressbar",
"/@syncfusion/ej2-angular-querybuilder",
"/@syncfusion/ej2-angular-ribbon",
"/@syncfusion/ej2-angular-richtexteditor",
"/@syncfusion/ej2-angular-schedule",
"/@syncfusion/ej2-angular-splitbuttons",
"/@syncfusion/ej2-angular-spreadsheet",
"/@syncfusion/ej2-angular-treegrid",
"/@syncfusion/ej2-angular-treemap",
"/@syncfusion/ej2-barcode-generator",
"/@syncfusion/ej2-buttons",
"/@syncfusion/ej2-calendars",
"/@syncfusion/ej2-charts",
"/@syncfusion/ej2-circulargauge",
"/@syncfusion/ej2-data",
"/@syncfusion/ej2-diagrams",
"/@syncfusion/ej2-documenteditor",
"/@syncfusion/ej2-drawings",
"/@syncfusion/ej2-dropdowns",
"/@syncfusion/ej2-excel-export",
"/@syncfusion/ej2-filemanager",
"/@syncfusion/ej2-gantt",
"/@syncfusion/ej2-grids",
"/@syncfusion/ej2-heatmap",
"/@syncfusion/ej2-image-editor",
"/@syncfusion/ej2-inplace-editor",
"/@syncfusion/ej2-inputs",
"/@syncfusion/ej2-kanban",
"/@syncfusion/ej2-layouts",
"/@syncfusion/ej2-lineargauge",
"/@syncfusion/ej2-lists",
"/@syncfusion/ej2-maps",
"/@syncfusion/ej2-navigations",
"/@syncfusion/ej2-notifications",
"/@syncfusion/ej2-pdf",
"/@syncfusion/ej2-pdfviewer",
"/@syncfusion/ej2-pivotview",
"/@syncfusion/ej2-popups",
"/@syncfusion/ej2-progressbar",
"/@syncfusion/ej2-querybuilder",
"/@syncfusion/ej2-react-barcode-generator",
"/@syncfusion/ej2-react-base",
"/@syncfusion/ej2-react-buttons",
"/@syncfusion/ej2-react-calendars",
"/@syncfusion/ej2-react-charts",
"/@syncfusion/ej2-react-circulargauge",
"/@syncfusion/ej2-react-diagrams",
"/@syncfusion/ej2-react-documenteditor",
"/@syncfusion/ej2-react-dropdowns",
"/@syncfusion/ej2-react-filemanager",
"/@syncfusion/ej2-react-gantt",
"/@syncfusion/ej2-react-grids",
"/@syncfusion/ej2-react-heatmap",
"/@syncfusion/ej2-react-image-editor",
"/@syncfusion/ej2-react-inplace-editor",
"/@syncfusion/ej2-react-inputs",
"/@syncfusion/ej2-react-kanban",
"/@syncfusion/ej2-react-layouts",
"/@syncfusion/ej2-react-lineargauge",
"/@syncfusion/ej2-react-lists",
"/@syncfusion/ej2-react-maps",
"/@syncfusion/ej2-react-navigations",
"/@syncfusion/ej2-react-notifications",
"/@syncfusion/ej2-react-pdfviewer",
"/@syncfusion/ej2-react-pivotview",
"/@syncfusion/ej2-react-popups",
"/@syncfusion/ej2-react-progressbar",
"/@syncfusion/ej2-react-querybuilder",
"/@syncfusion/ej2-react-ribbon",
"/@syncfusion/ej2-react-richtexteditor",
"/@syncfusion/ej2-react-schedule",
"/@syncfusion/ej2-react-splitbuttons",
"/@syncfusion/ej2-react-spreadsheet",
"/@syncfusion/ej2-react-treegrid",
"/@syncfusion/ej2-react-treemap",
"/@syncfusion/ej2-ribbon",
"/@syncfusion/ej2-richtexteditor",
"/@syncfusion/ej2-schedule",
"/@syncfusion/ej2-splitbuttons",
"/@syncfusion/ej2-spreadsheet",
"/@syncfusion/ej2-svg-base",
"/@syncfusion/ej2-treegrid",
"/@syncfusion/ej2-treemap",
"/@syncfusion/ej2-vue-barcode-generator",
"/@syncfusion/ej2-vue-base",
"/@syncfusion/ej2-vue-buttons",
"/@syncfusion/ej2-vue-calendars",
"/@syncfusion/ej2-vue-charts",
"/@syncfusion/ej2-vue-circulargauge",
"/@syncfusion/ej2-vue-diagrams",
"/@syncfusion/ej2-vue-documenteditor",
"/@syncfusion/ej2-vue-dropdowns",
"/@syncfusion/ej2-vue-filemanager",
"/@syncfusion/ej2-vue-gantt",
"/@syncfusion/ej2-vue-grids",
"/@syncfusion/ej2-vue-heatmap",
"/@syncfusion/ej2-vue-image-editor",
"/@syncfusion/ej2-vue-inplace-editor",
"/@syncfusion/ej2-vue-inputs",
"/@syncfusion/ej2-vue-kanban",
"/@syncfusion/ej2-vue-layouts",
"/@syncfusion/ej2-vue-lineargauge",
"/@syncfusion/ej2-vue-lists",
"/@syncfusion/ej2-vue-maps",
"/@syncfusion/ej2-vue-navigations",
"/@syncfusion/ej2-vue-notifications",
"/@syncfusion/ej2-vue-pdfviewer",
"/@syncfusion/ej2-vue-pivotview",
"/@syncfusion/ej2-vue-popups",
"/@syncfusion/ej2-vue-progressbar",
"/@syncfusion/ej2-vue-querybuilder",
"/@syncfusion/ej2-vue-ribbon",
"/@syncfusion/ej2-vue-richtexteditor",
"/@syncfusion/ej2-vue-schedule",
"/@syncfusion/ej2-vue-splitbuttons",
"/@syncfusion/ej2-vue-spreadsheet",
"/@syncfusion/ej2-vue-treegrid",
"/@syncfusion/ej2-vue-treemap"
],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.92.0.tgz",
"_shasum": "1c8e5f13a7a0f742a83daa98db9cb3e577fb9702",
"_spec": "@syncfusion/ej2-base@*",
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
"author": {
"name": "Syncfusion Inc."
},
"bin": {
"syncfusion-license": "bin/syncfusion-license.js"
},
"bugs": {
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
},
"bundleDependencies": false,
"dependencies": {
"@syncfusion/ej2-icons": "~25.1.35"
},
"deprecated": false,
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
"devDependencies": {},
"es2015": "./dist/es6/ej2-base.es5.js",
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
"keywords": [
"ej2",
"syncfusion",
"ej2-base",
"web-components",
"typescript",
"base",
"common",
"core",
"library",
"ajax",
"animation",
"internationalization",
"drag",
"drop",
"drag-drop",
"template",
"template-engine",
"rtl",
"right-to-left",
"persistence",
"state-persistence",
"theme",
"styles"
],
"license": "SEE LICENSE IN license",
"main": "./dist/ej2-base.umd.min.js",
"module": "./index.js",
"name": "@syncfusion/ej2-base",
"escapedName": "@syncfusion%2fej2-base",
"scope": "@syncfusion",
"rawSpec": "*",
"saveSpec": null,
"fetchSpec": "*"
},
"_requiredBy": [
"/",
"/@syncfusion/ej2",
"/@syncfusion/ej2-angular-barcode-generator",
"/@syncfusion/ej2-angular-base",
"/@syncfusion/ej2-angular-buttons",
"/@syncfusion/ej2-angular-charts",
"/@syncfusion/ej2-angular-diagrams",
"/@syncfusion/ej2-angular-documenteditor",
"/@syncfusion/ej2-angular-dropdowns",
"/@syncfusion/ej2-angular-filemanager",
"/@syncfusion/ej2-angular-gantt",
"/@syncfusion/ej2-angular-grids",
"/@syncfusion/ej2-angular-heatmap",
"/@syncfusion/ej2-angular-inplace-editor",
"/@syncfusion/ej2-angular-inputs",
"/@syncfusion/ej2-angular-pdfviewer",
"/@syncfusion/ej2-angular-richtexteditor",
"/@syncfusion/ej2-angular-splitbuttons",
"/@syncfusion/ej2-angular-spreadsheet",
"/@syncfusion/ej2-angular-treegrid",
"/@syncfusion/ej2-barcode-generator",
"/@syncfusion/ej2-buttons",
"/@syncfusion/ej2-calendars",
"/@syncfusion/ej2-charts",
"/@syncfusion/ej2-circulargauge",
"/@syncfusion/ej2-data",
"/@syncfusion/ej2-diagrams",
"/@syncfusion/ej2-documenteditor",
"/@syncfusion/ej2-drawings",
"/@syncfusion/ej2-dropdowns",
"/@syncfusion/ej2-excel-export",
"/@syncfusion/ej2-filemanager",
"/@syncfusion/ej2-gantt",
"/@syncfusion/ej2-grids",
"/@syncfusion/ej2-heatmap",
"/@syncfusion/ej2-image-editor",
"/@syncfusion/ej2-inplace-editor",
"/@syncfusion/ej2-inputs",
"/@syncfusion/ej2-kanban",
"/@syncfusion/ej2-layouts",
"/@syncfusion/ej2-lineargauge",
"/@syncfusion/ej2-lists",
"/@syncfusion/ej2-maps",
"/@syncfusion/ej2-navigations",
"/@syncfusion/ej2-notifications",
"/@syncfusion/ej2-pdf",
"/@syncfusion/ej2-pdfviewer",
"/@syncfusion/ej2-pivotview",
"/@syncfusion/ej2-popups",
"/@syncfusion/ej2-progressbar",
"/@syncfusion/ej2-querybuilder",
"/@syncfusion/ej2-react-barcode-generator",
"/@syncfusion/ej2-react-base",
"/@syncfusion/ej2-react-buttons",
"/@syncfusion/ej2-react-charts",
"/@syncfusion/ej2-react-diagrams",
"/@syncfusion/ej2-react-documenteditor",
"/@syncfusion/ej2-react-dropdowns",
"/@syncfusion/ej2-react-filemanager",
"/@syncfusion/ej2-react-gantt",
"/@syncfusion/ej2-react-grids",
"/@syncfusion/ej2-react-heatmap",
"/@syncfusion/ej2-react-inplace-editor",
"/@syncfusion/ej2-react-inputs",
"/@syncfusion/ej2-react-pdfviewer",
"/@syncfusion/ej2-react-richtexteditor",
"/@syncfusion/ej2-react-splitbuttons",
"/@syncfusion/ej2-react-spreadsheet",
"/@syncfusion/ej2-react-treegrid",
"/@syncfusion/ej2-ribbon",
"/@syncfusion/ej2-richtexteditor",
"/@syncfusion/ej2-schedule",
"/@syncfusion/ej2-splitbuttons",
"/@syncfusion/ej2-spreadsheet",
"/@syncfusion/ej2-svg-base",
"/@syncfusion/ej2-treegrid",
"/@syncfusion/ej2-treemap",
"/@syncfusion/ej2-vue-barcode-generator",
"/@syncfusion/ej2-vue-base",
"/@syncfusion/ej2-vue-buttons",
"/@syncfusion/ej2-vue-charts",
"/@syncfusion/ej2-vue-diagrams",
"/@syncfusion/ej2-vue-documenteditor",
"/@syncfusion/ej2-vue-dropdowns",
"/@syncfusion/ej2-vue-filemanager",
"/@syncfusion/ej2-vue-gantt",
"/@syncfusion/ej2-vue-grids",
"/@syncfusion/ej2-vue-heatmap",
"/@syncfusion/ej2-vue-inplace-editor",
"/@syncfusion/ej2-vue-inputs",
"/@syncfusion/ej2-vue-pdfviewer",
"/@syncfusion/ej2-vue-richtexteditor",
"/@syncfusion/ej2-vue-splitbuttons",
"/@syncfusion/ej2-vue-spreadsheet",
"/@syncfusion/ej2-vue-treegrid"
],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-24.2.5.tgz",
"_shasum": "4fee55353627b5a680cb389353938c62b9f518de",
"_spec": "@syncfusion/ej2-base@*",
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
"author": {
"name": "Syncfusion Inc."
},
"bin": {
"syncfusion-license": "bin/syncfusion-license.js"
},
"bugs": {
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
},
"bundleDependencies": false,
"dependencies": {
"@syncfusion/ej2-icons": "~24.2.3"
},
"deprecated": false,
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
"devDependencies": {},
"es2015": "./dist/es6/ej2-base.es5.js",
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
"keywords": [
"ej2",
"syncfusion",
"ej2-base",
"web-components",
"typescript",
"base",
"common",
"core",
"library",
"ajax",
"animation",
"internationalization",
"drag",
"drop",
"drag-drop",
"template",
"template-engine",
"rtl",
"right-to-left",
"persistence",
"state-persistence",
"theme",
"styles"
],
"license": "SEE LICENSE IN license",
"main": "./dist/ej2-base.umd.min.js",
"module": "./index.js",
"name": "@syncfusion/ej2-base",
"repository": {
"type": "git",
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
},
"typings": "index.d.ts",
"version": "24.2.8",
"sideEffects": true
}
"repository": {
"type": "git",
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
},
"typings": "index.d.ts",
"version": "25.1.35-579988",
"sideEffects": true
}

@@ -74,3 +74,3 @@ /**

* @param {any} data - To send the user data
* @return {Promise} ?
* @returns {Promise} ?
*/

@@ -77,0 +77,0 @@ send(data?: string | Object): Promise<Ajax>;

@@ -58,3 +58,3 @@ import { isNullOrUndefined, merge } from './util';

* @param {any} data - To send the user data
* @return {Promise} ?
* @returns {Promise} ?
*/

@@ -90,3 +90,2 @@ Ajax.prototype.send = function (data) {

}
// eslint-disable-next-line
_this.httpRequest.open(_this.type, _this.url, _this.mode);

@@ -156,6 +155,3 @@ // Set default headers

Ajax.prototype.getResponseHeader = function (key) {
var responseHeaders;
var header;
// eslint-disable-next-line
responseHeaders = {};
var responseHeaders = {};
var headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());

@@ -166,4 +162,3 @@ while (headers) {

}
// eslint-disable-next-line
header = responseHeaders[key.toLowerCase()];
var header = responseHeaders[key.toLowerCase()];
return isNullOrUndefined(header) ? null : header;

@@ -170,0 +165,0 @@ };

@@ -1,2 +0,2 @@

import { createElement, selectAll, closest } from './dom';import { Base, EmitType } from './base';import { Browser } from './browser';import { EventHandler } from './event-handler';import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';
import { createElement, selectAll, closest } from './dom'; import { Base, EmitType } from './base'; import { Browser } from './browser'; import { EventHandler } from './event-handler'; import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';
import {Effect,AnimationOptions} from "./animation";

@@ -3,0 +3,0 @@

@@ -215,13 +215,13 @@ import { Base, EmitType } from './base';

/**
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings.
*/
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings.
*/
Default = "Default",
/**
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings.
*/
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings.
*/
Enable = "Enable",
/**
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings.
*/
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings.
*/
Disable = "Disable"
}

@@ -449,13 +449,13 @@ var __extends = (this && this.__extends) || (function () {

/**
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings.
*/
* Defines the global animation mode as Default. Animation is enabled or disabled based on the component's animation settings.
*/
GlobalAnimationMode["Default"] = "Default";
/**
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings.
*/
* Defines the global animation mode as Enable. Enables the animation for all components, regardless of the individual component's animation settings.
*/
GlobalAnimationMode["Enable"] = "Enable";
/**
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings.
*/
* Defines the global animation mode as Disable. Disables the animation for all components, regardless of the individual component's animation settings.
*/
GlobalAnimationMode["Disable"] = "Disable";
})(GlobalAnimationMode || (GlobalAnimationMode = {}));

@@ -142,2 +142,3 @@ import { Observer } from './observer';

export declare function removeChildInstance(element: HTMLElement): void;
export declare let proxyToRaw: Function, setProxyToRaw: (toRaw: Function) => void;
export declare let proxyToRaw: Function;
export declare const setProxyToRaw: Function;

@@ -260,8 +260,9 @@ import { isUndefined, isNullOrUndefined, merge, setImmediate, setValue, isBlazor, getValue, extend } from './util';

this.element.ej2_instances =
this.element.ej2_instances ? this.element.ej2_instances.filter(function (i) {
if (proxyToRaw) {
return proxyToRaw(i) !== proxyToRaw(_this);
}
return i !== _this;
})
this.element.ej2_instances ?
this.element.ej2_instances.filter(function (i) {
if (proxyToRaw) {
return proxyToRaw(i) !== proxyToRaw(_this);
}
return i !== _this;
})
: [];

@@ -329,2 +330,3 @@ removeClass([this.element], ['e-' + this.getModuleName()]);

}
export var proxyToRaw, setProxyToRaw = function (toRaw) { proxyToRaw = toRaw; };
export var proxyToRaw;
export var setProxyToRaw = function (toRaw) { proxyToRaw = toRaw; };

@@ -1,2 +0,2 @@

import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util';import { ModuleLoader, ModuleDeclaration } from './module-loader';import { Base } from './base';import { Observer, BoundOptions } from './observer';import { ChildProperty } from './child-property';import { Property, NotifyPropertyChanges } from './notify-property-change';import { onIntlChange, rightToLeft, defaultCulture } from './internationalization';import { createElement, addClass, removeClass, ElementProperties, select } from './dom';import { validateLicense, createLicenseOverlay, componentList } from './validate-lic';
import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util'; import { ModuleLoader, ModuleDeclaration } from './module-loader'; import { Base } from './base'; import { Observer, BoundOptions } from './observer'; import { ChildProperty } from './child-property'; import { Property, NotifyPropertyChanges } from './notify-property-change'; import { onIntlChange, rightToLeft, defaultCulture } from './internationalization'; import { createElement, addClass, removeClass, ElementProperties, select } from './dom';

@@ -3,0 +3,0 @@ /**

@@ -86,12 +86,18 @@ import { ModuleLoader, ModuleDeclaration } from './module-loader';

* Adding unload event to persist data when enable persistence true
*
* @returns {void}
*/
attachUnloadEvent(): any;
attachUnloadEvent(): void;
/**
* Handling unload event to persist data when enable persistence true
*
* @returns {void}
*/
handleUnload(): any;
handleUnload(): void;
/**
* Removing unload event to persist data when enable persistence true
*
* @returns {void}
*/
detachUnloadEvent(): any;
detachUnloadEvent(): void;
/**

@@ -98,0 +104,0 @@ * Appends the control within the given HTML element

@@ -28,12 +28,5 @@ var __extends = (this && this.__extends) || (function () {

import { createElement, addClass, removeClass, select } from './dom';
import { validateLicense, createLicenseOverlay, componentList } from './validate-lic';
var componentCount = 0;
var lastPageID;
var lastHistoryLen = 0;
// Decalre the static variable to count the instance
var instancecount = 0;
// Decalre the static variable to find if control limit exceed or not
var isvalid = true;
// We have added styles to inline type so here declare the static variable to detect if banner is added or not
var isBannerAdded = false;
export var versionBasedStatePersistence = false;

@@ -82,10 +75,2 @@ /**

// Based on the considered control list we have count the instance
if (typeof window !== "undefined" && typeof document !== "undefined" && !validateLicense()) {
if (componentList.indexOf(_this.getModuleName()) !== -1) {
instancecount = instancecount + 1;
if (instancecount > 5) {
isvalid = false;
}
}
}
if (!isUndefined(selector)) {

@@ -174,2 +159,4 @@ _this.appendTo();

* Adding unload event to persist data when enable persistence true
*
* @returns {void}
*/

@@ -182,2 +169,4 @@ Component.prototype.attachUnloadEvent = function () {

* Handling unload event to persist data when enable persistence true
*
* @returns {void}
*/

@@ -189,2 +178,4 @@ Component.prototype.handleUnload = function () {

* Removing unload event to persist data when enable persistence true
*
* @returns {void}
*/

@@ -224,7 +215,28 @@ Component.prototype.detachUnloadEvent = function () {

this.injectModules();
// Checked weather cases are valid or not. If control leads to more than five counts
if (!isvalid && !isBannerAdded) {
createLicenseOverlay();
isBannerAdded = true;
// Throw a warning for the required modules to be injected.
var ignoredComponents = {
schedule: 'all',
diagram: 'all',
PdfViewer: 'all',
grid: ['logger'],
richtexteditor: ['link', 'table', 'image', 'audio', 'video', 'formatPainter', 'emojiPicker', 'pasteCleanup', 'htmlEditor', 'toolbar'],
treegrid: ['filter'],
gantt: ['tooltip'],
chart: ['Export', 'Zoom'],
accumulationchart: ['Export']
};
var component = this.getModuleName();
if (this.requiredModules && (!ignoredComponents["" + component] || ignoredComponents["" + component] !== 'all')) {
var modulesRequired = this.requiredModules();
for (var _i = 0, _a = this.moduleLoader.getNonInjectedModules(modulesRequired); _i < _a.length; _i++) {
var module = _a[_i];
var moduleName = module.name ? module.name : module.member;
if (ignoredComponents["" + component] && ignoredComponents["" + component].indexOf(module.member) !== -1) {
continue;
}
var componentName = component.charAt(0).toUpperCase() + component.slice(1); // To capitalize the component name
console.warn("[WARNING] :: Module \"" + moduleName + "\" is not available in " + componentName + " component! You either misspelled the module name or forgot to load it.");
}
}
// Checked weather cases are valid or not. If control leads to more than five counts
this.render();

@@ -231,0 +243,0 @@ if (!this.mount) {

@@ -1,2 +0,2 @@

import { Base } from './base';import { Browser } from './browser';import { isVisible } from './dom';import { Property, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';import { EventHandler } from './event-handler';import { ChildProperty } from './child-property';import { select, closest, setStyleAttribute, addClass, createElement } from './dom';import { extend, isUndefined, isNullOrUndefined, compareElementParent, isBlazor } from './util';
import { Base } from './base'; import { Browser } from './browser'; import { isVisible } from './dom'; import { Property, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change'; import { EventHandler } from './event-handler'; import { ChildProperty } from './child-property'; import { select, closest, setStyleAttribute, addClass, createElement } from './dom'; import { extend, isUndefined, isNullOrUndefined, compareElementParent, isBlazor } from './util';
import {DragDirection} from "./draggable";

@@ -3,0 +3,0 @@

@@ -364,2 +364,4 @@ import { Base } from './base';

/**
* @param {MouseEvent | TouchEvent} evt ?
* @returns {void}
* @private

@@ -366,0 +368,0 @@ */

@@ -29,5 +29,2 @@ var __extends = (this && this.__extends) || (function () {

var defaultPosition = { left: 0, top: 0, bottom: 0, right: 0 };
var positionProp = ['offsetLeft', 'offsetTop'];
var axisMapper = ['x', 'y'];
var axisValueMapper = ['left', 'top'];
var isDraggedObject = { isDragged: false };

@@ -165,2 +162,3 @@ /**

};
/* eslint-disable */
Draggable.prototype.getScrollableValues = function () {

@@ -173,2 +171,3 @@ this.parentScrollX = 0;

};
/* eslint-enable */
Draggable.prototype.initialize = function (evt, curTarget) {

@@ -187,2 +186,3 @@ this.currentStateTarget = evt.target;

/* tslint:disable no-any */
// eslint-disable-next-line
var abortSelectors = this.abort;

@@ -258,2 +258,3 @@ if (typeof abortSelectors === 'string') {

if (this.isReplaceDragEle) {
// eslint-disable-next-line
element = this.currentStateCheck(evt.target, element);

@@ -411,2 +412,3 @@ }

if (flag) {
// eslint-disable-next-line
eleObj.instance.dragData[this.scope] = this.droppables[this.scope];

@@ -561,2 +563,3 @@ eleObj.instance.intOver(evt, eleObj.target);

/* tslint:disable no-any */
// eslint-disable-next-line
var scrollParent = this.getScrollParent(elements, false);

@@ -584,4 +587,6 @@ if (this.elementInViewport(this.helperElement)) {

/* tslint:disable no-any */
// eslint-disable-next-line
Draggable.prototype.getScrollParent = function (node, reverse) {
/* tslint:disable no-any */
// eslint-disable-next-line
var nodeEl = reverse ? node.reverse() : node;

@@ -613,6 +618,8 @@ var hasScroll;

else if (nodeEle && nodeEle !== document.scrollingElement) {
if ((nodeEle.clientHeight + nodeEle.getBoundingClientRect().top - this.helperElement.clientHeight + document.scrollingElement.scrollTop) < draEleTop) {
var docScrollTop = document.scrollingElement.scrollTop;
var helperClientHeight = this.helperElement.clientHeight;
if ((nodeEle.clientHeight + nodeEle.getBoundingClientRect().top - helperClientHeight + docScrollTop) < draEleTop) {
nodeEle.scrollTop += this.helperElement.clientHeight;
}
else if (nodeEle.getBoundingClientRect().top > (draEleTop - this.helperElement.clientHeight - document.scrollingElement.scrollTop)) {
else if (nodeEle.getBoundingClientRect().top > (draEleTop - helperClientHeight - docScrollTop)) {
nodeEle.scrollTop -= this.helperElement.clientHeight;

@@ -669,2 +676,3 @@ }

eleObj.instance.dragStopCalled = true;
// eslint-disable-next-line
eleObj.instance.dragData[this.scope] = this.droppables[this.scope];

@@ -677,4 +685,7 @@ eleObj.instance.intDrop(evt, eleObj.target);

/**
* @param {MouseEvent | TouchEvent} evt ?
* @returns {void}
* @private
*/
// eslint-disable-next-line
Draggable.prototype.intDestroy = function (evt) {

@@ -694,2 +705,3 @@ this.dragProcessStarted = false;

// triggers when property changed
// eslint-disable-next-line
Draggable.prototype.onPropertyChanged = function (newProp, oldProp) {

@@ -725,2 +737,3 @@ //No Code to handle

var keys = ['Top', 'Left', 'Bottom', 'Right'];
/* eslint-disable */
var styles = getComputedStyle(ele);

@@ -735,2 +748,3 @@ for (var i = 0; i < keys.length; i++) {

}
/* eslint-enable */
if (this.dragArea && !isNullOrUndefined(this.helperElement) && this.helperElement.classList.contains('e-treeview')) {

@@ -753,3 +767,3 @@ top = elementArea.top + document.scrollingElement.scrollTop;

var prevStyle = this.helperElement.style.pointerEvents || '';
var isPointer = evt.type.indexOf('pointer') !== -1 && Browser.info.name === 'safari' && parseInt(Browser.info.version) > 12;
var isPointer = evt.type.indexOf('pointer') !== -1 && Browser.info.name === 'safari' && parseInt(Browser.info.version, 10) > 12;
if (compareElementParent(evt.target, this.helperElement) || evt.type.indexOf('touch') !== -1 || isPointer) {

@@ -778,2 +792,3 @@ this.helperElement.style.pointerEvents = 'none';

/* tslint:disable no-any */
// eslint-disable-next-line
var dragEle = evt.srcElement !== undefined ? evt.srcElement : evt.target;

@@ -796,6 +811,7 @@ var intCoord = this.getCoordinates(evt);

if (document.scrollingElement && (!isdragscroll && !this.clone)) {
var isVerticalScroll = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0;
var isHorrizontalScroll = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0;
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX;
pageY = isVerticalScroll ? pageY - document.scrollingElement.scrollTop : pageY;
var ele = document.scrollingElement;
var isVerticalScroll = ele.scrollHeight > 0 && ele.scrollHeight > ele.clientHeight && ele.scrollTop > 0;
var isHorrizontalScroll = ele.scrollWidth > 0 && ele.scrollWidth > ele.clientWidth && ele.scrollLeft > 0;
pageX = isHorrizontalScroll ? pageX - ele.scrollLeft : pageX;
pageY = isVerticalScroll ? pageY - ele.scrollTop : pageY;
}

@@ -802,0 +818,0 @@ return {

@@ -1,2 +0,2 @@

import { Base } from './base';import { Browser } from './browser';import { isVisible, matches } from './dom';import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';import { EventHandler } from './event-handler';import { compareElementParent } from './util';import {Coordinates, DropInfo} from './draggable';
import { Base } from './base'; import { Browser } from './browser'; import { isVisible, matches } from './dom'; import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change'; import { EventHandler } from './event-handler'; import { compareElementParent } from './util'; import {Coordinates, DropInfo} from './draggable';
import {DropEventArgs} from "./droppable";

@@ -3,0 +3,0 @@

@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () {

@@ -118,3 +118,4 @@ import { debounce, extend } from './util';

for (var i = 0; i < copyData.length; i++) {
element.removeEventListener(copyData[parseInt(i.toString(), 10)].name, copyData[parseInt(i.toString(), 10)].debounce);
var parseValue = copyData[parseInt(i.toString(), 10)];
element.removeEventListener(parseValue.name, parseValue.debounce);
eventData.shift();

@@ -121,0 +122,0 @@ }

@@ -6,3 +6,2 @@ /**

export * from './ajax';
export * from './fetch';
export * from './animation';

@@ -25,3 +24,2 @@ export * from './animation-model';

export * from './touch';
export * from './hijri-parser';
export * from './touch-model';

@@ -33,2 +31,1 @@ export * from './template-engine';

export * from './sanitize-helper';
export * from './validate-lic';

@@ -6,3 +6,2 @@ /**

export * from './ajax';
export * from './fetch';
export * from './animation';

@@ -22,3 +21,2 @@ export * from './base';

export * from './touch';
export * from './hijri-parser';
export * from './template-engine';

@@ -29,2 +27,1 @@ export * from './util';

export * from './sanitize-helper';
export * from './validate-lic';
import { ParserBase as parser } from './parser-base';
import { IntlBase as base } from './intl-base';
import { isUndefined, throwError, getValue, isBlazor } from '../util';
import { HijriParser } from '../hijri-parser';
import { isNullOrUndefined, extend } from '../util';

@@ -140,3 +139,3 @@ var abbreviateRegexGlobal = /\/MMMMM|MMMM|MMM|a|LLLL|LLL|EEEEE|EEEE|E|K|cccc|ccc|WW|W|G+|z+/gi;

var matches = pattern.match(base.dateParseRegex);
var dObject = this.getCurrentDateValue(value, options.isIslamic);
var dObject = this.getCurrentDateValue(value);
for (var _i = 0, matches_1 = matches; _i < matches_1.length; _i++) {

@@ -272,6 +271,3 @@ var match = matches_1[_i];

};
DateFormat.getCurrentDateValue = function (value, isIslamic) {
if (isIslamic) {
return HijriParser.getHijriDate(value);
}
DateFormat.getCurrentDateValue = function (value) {
return { year: value.getFullYear(), month: value.getMonth() + 1, date: value.getDate() };

@@ -278,0 +274,0 @@ };

@@ -5,3 +5,2 @@ import { IntlBase as base } from './intl-base';

import { datePartMatcher } from './date-formatter';
import { HijriParser } from '../hijri-parser';
var standalone = 'stand-alone';

@@ -206,21 +205,2 @@ var latnRegex = /^[0-9]*$/;

}
if (parseOptions.isIslamic) {
var dobj = {};
var tYear = parsedDateParts.year;
var tDate = parsedDateParts.day;
var tMonth = parsedDateParts.month;
var ystrig = tYear ? (tYear + '') : '';
var is2DigitYear = (ystrig.length === 2);
if (!tYear || !tMonth || !tDate || is2DigitYear) {
dobj = HijriParser.getHijriDate(new Date());
}
if (is2DigitYear) {
tYear = parseInt((dobj.year + '').slice(0, 2) + ystrig, 10);
}
// tslint:disable-next-line
var dateObject = HijriParser.toGregorian(tYear || dobj.year, tMonth || dobj.month, tDate || dobj.date);
parsedDateParts.year = dateObject.getFullYear();
parsedDateParts.month = dateObject.getMonth() + 1;
parsedDateParts.day = dateObject.getDate();
}
return _this.getDateObject(parsedDateParts);

@@ -347,2 +327,3 @@ };

? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
// eslint-disable-next-line
matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture && parseOptions.culture.indexOf('en-') !== -1 && cultureOptions.indexOf(parseOptions.culture) === -1)

@@ -349,0 +330,0 @@ ? matchString.toLowerCase() : matchString;

@@ -476,158 +476,3 @@ import { defaultCurrencyCode } from '../internationalization';

};
IntlBase.blazorDefaultObject = {
'numbers': {
'mapper': {
'0': '0',
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
'8': '8',
'9': '9'
},
'mapperDigits': '0123456789',
'numberSymbols': {
'decimal': '.',
'group': ',',
'plusSign': '+',
'minusSign': '-',
'percentSign': '%',
'nan': 'NaN',
'timeSeparator': ':',
'infinity': '∞'
},
'timeSeparator': ':',
'currencySymbol': '$',
'currencypData': {
'nlead': '$',
'nend': '',
'groupSeparator': ',',
'groupData': {
'primary': 3
},
'maximumFraction': 2,
'minimumFraction': 2
},
'percentpData': {
'nlead': '',
'nend': '%',
'groupSeparator': ',',
'groupData': {
'primary': 3
},
'maximumFraction': 2,
'minimumFraction': 2
},
'percentnData': {
'nlead': '-',
'nend': '%',
'groupSeparator': ',',
'groupData': {
'primary': 3
},
'maximumFraction': 2,
'minimumFraction': 2
},
'currencynData': {
'nlead': '($',
'nend': ')',
'groupSeparator': ',',
'groupData': {
'primary': 3
},
'maximumFraction': 2,
'minimumFraction': 2
},
'decimalnData': {
'nlead': '-',
'nend': '',
'groupData': {
'primary': 3
},
'maximumFraction': 2,
'minimumFraction': 2
},
'decimalpData': {
'nlead': '',
'nend': '',
'groupData': {
'primary': 3
},
'maximumFraction': 2,
'minimumFraction': 2
}
},
'dates': {
'dayPeriods': {
'am': 'AM',
'pm': 'PM'
},
'dateSeperator': '/',
'days': {
'abbreviated': {
'sun': 'Sun',
'mon': 'Mon',
'tue': 'Tue',
'wed': 'Wed',
'thu': 'Thu',
'fri': 'Fri',
'sat': 'Sat'
},
'short': {
'sun': 'Su',
'mon': 'Mo',
'tue': 'Tu',
'wed': 'We',
'thu': 'Th',
'fri': 'Fr',
'sat': 'Sa'
},
'wide': {
'sun': 'Sunday',
'mon': 'Monday',
'tue': 'Tuesday',
'wed': 'Wednesday',
'thu': 'Thursday',
'fri': 'Friday',
'sat': 'Saturday'
}
},
'months': {
'abbreviated': {
'1': 'Jan',
'2': 'Feb',
'3': 'Mar',
'4': 'Apr',
'5': 'May',
'6': 'Jun',
'7': 'Jul',
'8': 'Aug',
'9': 'Sep',
'10': 'Oct',
'11': 'Nov',
'12': 'Dec'
},
'wide': {
'1': 'January',
'2': 'February',
'3': 'March',
'4': 'April',
'5': 'May',
'6': 'June',
'7': 'July',
'8': 'August',
'9': 'September',
'10': 'October',
'11': 'November',
'12': 'December'
}
},
'eras': {
'1': 'AD'
}
}
};
IntlBase.blazorDefaultObject = {};
/* tslint:enable:quotemark */

@@ -777,3 +622,2 @@ IntlBase.monthIndex = {

ret.isAccount = (pattern === 'A');
// eslint-disable-next-line
ret.type = IntlBase.patternMatcher[pattern];

@@ -866,3 +710,2 @@ if (skeleton.length > 1) {

for (var i = 0; i < formatSplit.length; i++) {
// eslint-disable-next-line
options[data[i]] = customNumberFormat(formatSplit[i], dOptions, obj);

@@ -927,3 +770,2 @@ }

if (cOptions.useGrouping) {
// eslint-disable-next-line
cOptions.groupSeparator = spaceGrouping ? ' ' : dOptions.numberMapper.numberSymbols[mapper[2]];

@@ -953,5 +795,3 @@ cOptions.groupData = NumberFormat.getGroupingDetails(symbolPattern.split(';')[0]);

if ((loc !== -1) && ((loc < part.indexOf('\'')) || (loc > part.lastIndexOf('\'')))) {
// eslint-disable-next-line
options[typeMapper[i]] = part.substr(0, loc) + symbol + part.substr(loc + 1);
// eslint-disable-next-line
options[typeMapper[actual]] = true;

@@ -995,3 +835,2 @@ options.type = options.isCurrency ? 'currency' : 'percent';

actualPattern = actualPattern.replace(patternRegex, function (pattern) {
// eslint-disable-next-line
return patternMatch[pattern];

@@ -1029,6 +868,4 @@ });

*/
// eslint-disable-next-line
function processSymbol(actual, option) {
if (actual.indexOf(',') !== -1) {
// eslint-disable-next-line
var split = actual.split(',');

@@ -1035,0 +872,0 @@ actual = (split[0] + getValue('numberMapper.numberSymbols.group', option) +

@@ -81,2 +81,3 @@ import { NumberFormatOptions } from '../internationalization';

* @param {CommonOptions} dOptions ?
* @param {NumberFormatOptions} [option] ?
* @returns {string} ?

@@ -111,2 +112,3 @@ */

* @param {number} max ?
* @param {NumberFormatOptions} [option] ?
* @returns {string} ?

@@ -127,4 +129,5 @@ */

* @param {number} value ?
* @returns {string} ?
*/
private static customPivotFormat;
}

@@ -11,9 +11,5 @@ import { isUndefined, throwError, isNullOrUndefined, extend, isBlazor, getValue } from '../util';

};
var integerError = 'minimumIntegerDigits';
var percentSign = 'percentSign';
var minusSign = 'minusSign';
var spaceRegex = /\s/;
var mapper = ['infinity', 'nan', 'group', 'decimal', 'exponential'];
var infinity = 'infinity';
var nan = 'nan';
/**

@@ -196,2 +192,3 @@ * Module for number formatting.

* @param {CommonOptions} dOptions ?
* @param {NumberFormatOptions} [option] ?
* @returns {string} ?

@@ -248,3 +245,3 @@ */

fValue = fValue.replace('.', dOptions.numberMapper.numberSymbols[mapper[3]]);
fValue = curData.format === "#,###,,;(#,###,,)" ? this.customPivotFormat(parseInt(fValue)) : fValue;
fValue = curData.format === '#,###,,;(#,###,,)' ? this.customPivotFormat(parseInt(fValue, 10)) : fValue;
if (curData.useGrouping) {

@@ -321,2 +318,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

* @param {number} max ?
* @param {NumberFormatOptions} [option] ?
* @returns {string} ?

@@ -373,2 +371,3 @@ */

* @param {number} value ?
* @returns {string} ?
*/

@@ -378,3 +377,4 @@ NumberFormat.customPivotFormat = function (value) {

value /= 1000000;
var _a = value.toString().split("."), integer = _a[0], decimal = _a[1];
// eslint-disable-next-line
var _a = value.toString().split('.'), integer = _a[0], decimal = _a[1];
return decimal && +decimal.substring(0, 1) >= 5

@@ -384,3 +384,3 @@ ? Math.ceil(value).toString()

}
return "";
return '';
};

@@ -387,0 +387,0 @@ return NumberFormat;

@@ -5,2 +5,3 @@ import { extend, isNullOrUndefined, isBlazor, getValue } from '../util';

var regExp = RegExp;
// eslint-disable-next-line
var parseRegex = new regExp('^([^0-9]*)' + '(([0-9,]*[0-9]+)(\.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$');

@@ -7,0 +8,0 @@ var groupRegex = /,/g;

@@ -1,2 +0,2 @@

import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';import { Base, EmitType } from './base';
import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change'; import { Base, EmitType } from './base';
import {KeyboardEventArgs} from "./keyboard";

@@ -3,0 +3,0 @@

@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () {

@@ -14,2 +14,6 @@ /**

/**
* Specifies the name for module declaration.
*/
name?: string;
/**
* Specifies whether it is a property or not.

@@ -41,2 +45,10 @@ */

/**
* Returns the array of modules that are not loaded in the component library.
*
* @param {ModuleDeclaration[]} requiredModules - Array of modules to be required
* @returns {ModuleDeclaration[]} ?
* @private
*/
getNonInjectedModules(requiredModules: ModuleDeclaration[]): ModuleDeclaration[];
/**
* Removes all unused modules

@@ -43,0 +55,0 @@ *

@@ -63,2 +63,13 @@ /**

/**
* Returns the array of modules that are not loaded in the component library.
*
* @param {ModuleDeclaration[]} requiredModules - Array of modules to be required
* @returns {ModuleDeclaration[]} ?
* @private
*/
ModuleLoader.prototype.getNonInjectedModules = function (requiredModules) {
var _this = this;
return requiredModules.filter(function (module) { return !_this.isModuleLoaded(module.member); });
};
/**
* Removes all unused modules

@@ -65,0 +76,0 @@ *

@@ -247,4 +247,5 @@ import { createInstance, isUndefined, merge, extend, getValue } from './util';

for (var i = 0; i < newValue.length; i++) {
Array.prototype["" + dFunc].apply(prop, [newValue[parseInt(i.toString(), 10)]]);
var model_1 = getArrayModel(keyString + (prop.length - 1), newValue[parseInt(i.toString(), 10)], !this.controlParent, dFunc);
var newValueParse = newValue[parseInt(i.toString(), 10)];
Array.prototype["" + dFunc].apply(prop, [newValueParse]);
var model_1 = getArrayModel(keyString + (prop.length - 1), newValueParse, !this.controlParent, dFunc);
this.serverDataBind(model_1, newValue[parseInt(i.toString(), 10)], false, dFunc);

@@ -251,0 +252,0 @@ }

@@ -173,5 +173,7 @@ import { isNullOrUndefined, getValue, extend, isBlazor } from './util';

Observer.prototype.offIntlEvents = function () {
// eslint-disable-next-line
var eventsArr = this.boundedEvents['notifyExternalChange'];
if (eventsArr) {
for (var i = 0; i < eventsArr.length; i++) {
// eslint-disable-next-line
var curContext = eventsArr["" + i].context;

@@ -178,0 +180,0 @@ if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {

@@ -5,2 +5,3 @@ /**

import { detach } from './dom';
import { isNullOrUndefined } from './util';
var removeTags = [

@@ -124,2 +125,5 @@ 'script',

SanitizeHtmlHelper.sanitize = function (value) {
if (isNullOrUndefined(value)) {
return value;
}
var item = this.beforeSanitize();

@@ -139,2 +143,3 @@ var output = this.serializeValue(item, value);

this.removeElement();
this.wrapElement = null;
return tempEleValue.replace(/&amp;/g, '&');

@@ -141,0 +146,0 @@ };

@@ -156,2 +156,3 @@ /**

*/
// eslint-disable-next-line
export function initializeCSPTemplate(template, helper) {

@@ -158,0 +159,0 @@ var boundFunc;

@@ -68,5 +68,6 @@ /**

var evalExpResult = evalExp(template, argName, helper, ignorePrefix);
// eslint-disable-next-line
/* eslint-disable */
var condtion = "var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-\u25A0\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-\u25A0\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n if (check1) {\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n }\n str = str.replace(str, str1);\n }\n }\n ";
var fnCode = 'var str=\"' + evalExpResult + '\";' + condtion + ' return str;';
/* eslint-enable */
var fn = new Function(argName, fnCode);

@@ -218,3 +219,3 @@ return fn.bind(helper);

function addNameSpace(str, addNS, nameSpace, ignoreList, ignorePrefix) {
return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1 && !ignorePrefix && str !== "true" && str !== "false") ? nameSpace + '.' + str : str);
return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1 && !ignorePrefix && str !== 'true' && str !== 'false') ? nameSpace + '.' + str : str);
}

@@ -221,0 +222,0 @@ /**

@@ -1,2 +0,2 @@

import { extend } from './util';import { Property, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change';import { Browser } from './browser';import { Base, EmitType } from './base';import { ChildProperty } from './child-property';import { EventHandler, BaseEventArgs } from './event-handler';
import { extend } from './util'; import { Property, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Event } from './notify-property-change'; import { Browser } from './browser'; import { Base, EmitType } from './base'; import { ChildProperty } from './child-property'; import { EventHandler, BaseEventArgs } from './event-handler';
import {TapEventArgs,SwipeEventArgs,ScrollEventArgs} from "./touch";

@@ -3,0 +3,0 @@

@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () {

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 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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc