@syncfusion/ej2-base 25.2.7 → 26.1.35-7502
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{README.md → ReadMe.md} +100 -100
- package/bin/syncfusion-license.js +104 -1
- package/dist/ej2-base.min.js +1 -10
- package/dist/ej2-base.umd.min.js +1 -10
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +268 -486
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +307 -522
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +1 -10
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/undefined +67 -0
- package/e2e/crypto.js +16 -16
- package/e2e/index.d.ts +27 -27
- package/e2e/m.protractor.config.js +286 -286
- package/e2e/modified-protractor/protractor.config.js +316 -316
- package/e2e/protractor.config.js +389 -389
- package/helpers/e2e/index.js +3 -3
- package/license +10 -10
- package/package.json +225 -161
- package/src/ajax.d.ts +1 -1
- package/src/ajax.js +3 -7
- package/src/animation-model.d.ts +41 -41
- package/src/animation.d.ts +1 -1
- package/src/animation.js +20 -22
- package/src/base.d.ts +2 -1
- package/src/base.js +4 -13
- package/src/browser.d.ts +1 -1
- package/src/browser.js +3 -4
- package/src/child-property.d.ts +1 -0
- package/src/child-property.js +2 -2
- package/src/component-model.d.ts +16 -16
- package/src/component.d.ts +4 -0
- package/src/component.js +28 -36
- package/src/dom.js +4 -11
- package/src/draggable-model.d.ts +113 -113
- package/src/draggable.js +20 -41
- package/src/droppable-model.d.ts +23 -23
- package/src/droppable.js +19 -20
- package/src/event-handler.js +2 -6
- package/src/fetch.js +1 -2
- package/src/hijri-parser.js +3 -3
- package/src/internationalization.d.ts +4 -0
- package/src/internationalization.js +0 -5
- package/src/intl/date-formatter.js +19 -33
- package/src/intl/date-parser.js +33 -62
- package/src/intl/intl-base.d.ts +9 -1
- package/src/intl/intl-base.js +19 -18
- package/src/intl/number-formatter.js +14 -7
- package/src/intl/number-parser.js +2 -6
- package/src/intl/parser-base.js +6 -11
- package/src/keyboard-model.d.ts +16 -16
- package/src/keyboard.js +19 -20
- package/src/module-loader.js +1 -0
- package/src/notify-property-change.d.ts +0 -20
- package/src/notify-property-change.js +16 -55
- package/src/observer.js +3 -6
- package/src/sanitize-helper.js +0 -1
- package/src/template-engine.js +1 -7
- package/src/template.js +13 -18
- package/src/touch-model.d.ts +39 -39
- package/src/touch.js +22 -27
- package/src/util.d.ts +4 -4
- package/src/util.js +12 -37
- package/src/validate-lic.js +4 -3
- package/styles/_all.scss +2 -2
- package/styles/_bds-dark-definition.scss +16 -15
- package/styles/_bds-definition.scss +16 -15
- package/styles/_bootstrap-dark-definition.scss +42 -42
- package/styles/_bootstrap-definition.scss +42 -42
- package/styles/_bootstrap4-definition.scss +11 -11
- package/styles/_bootstrap5-dark-definition.scss +9 -9
- package/styles/_bootstrap5-definition.scss +8 -8
- package/styles/_bootstrap5.3-dark-definition.scss +8 -0
- package/styles/_bootstrap5.3-definition.scss +8 -0
- package/styles/_fabric-dark-definition.scss +42 -42
- package/styles/_fabric-definition.scss +42 -42
- package/styles/_fluent-dark-definition.scss +9 -9
- package/styles/_fluent-definition.scss +9 -9
- package/styles/_fluent2-dark-definition.scss +9 -0
- package/styles/_fluent2-definition.scss +9 -0
- package/styles/_fluent2-highcontrast-definition.scss +9 -0
- package/styles/_fusionnew-dark-definition.scss +8 -8
- package/styles/_fusionnew-definition.scss +8 -8
- package/styles/_highcontrast-definition.scss +42 -42
- package/styles/_highcontrast-light-definition.scss +42 -42
- package/styles/_material-dark-definition.scss +49 -48
- package/styles/_material-definition.scss +50 -49
- package/styles/_material3-dark-definition.scss +15 -14
- package/styles/_material3-definition.scss +16 -15
- package/styles/_tailwind-dark-definition.scss +16 -15
- package/styles/_tailwind-definition.scss +16 -15
- package/styles/_tailwind3-dark-definition.scss +15 -0
- package/styles/_tailwind3-definition.scss +15 -0
- package/styles/animation/_all.scss +535 -560
- package/styles/bds-lite.css +3408 -0
- package/styles/bds-lite.scss +3 -0
- package/styles/bds.css +3408 -0
- package/styles/bds.scss +3 -0
- package/styles/bootstrap-dark-lite.css +3749 -0
- package/styles/bootstrap-dark-lite.scss +3 -0
- package/styles/bootstrap-dark.css +1075 -169
- package/styles/bootstrap-lite.css +3749 -0
- package/styles/bootstrap-lite.scss +3 -0
- package/styles/bootstrap.css +1075 -169
- package/styles/bootstrap4-lite.css +3390 -0
- package/styles/bootstrap4-lite.scss +3 -0
- package/styles/bootstrap4.css +1063 -169
- package/styles/bootstrap5-dark-lite.css +2966 -0
- package/styles/bootstrap5-dark-lite.scss +3 -0
- package/styles/bootstrap5-dark.css +1068 -171
- package/styles/bootstrap5-lite.css +2966 -0
- package/styles/bootstrap5-lite.scss +3 -0
- package/styles/bootstrap5.3-lite.css +3559 -0
- package/styles/bootstrap5.3-lite.scss +3 -0
- package/styles/bootstrap5.3.css +3559 -0
- package/styles/bootstrap5.3.scss +3 -0
- package/styles/bootstrap5.css +1066 -169
- package/styles/common/_all.scss +2 -2
- package/styles/common/_core.scss +111 -117
- package/styles/common/_mixin.scss +11 -9
- package/styles/definition/_bds-dark.scss +1193 -1178
- package/styles/definition/_bds.scss +1488 -1458
- package/styles/definition/_bootstrap-dark.scss +213 -219
- package/styles/definition/_bootstrap.scss +208 -215
- package/styles/definition/_bootstrap4.scss +159 -167
- package/styles/definition/_bootstrap5-dark.scss +481 -494
- package/styles/definition/_bootstrap5.3-dark.scss +1232 -0
- package/styles/definition/_bootstrap5.3.scss +1579 -0
- package/styles/definition/_bootstrap5.scss +481 -495
- package/styles/definition/_fabric-dark.scss +194 -200
- package/styles/definition/_fabric.scss +192 -198
- package/styles/definition/_fluent-dark.scss +494 -557
- package/styles/definition/_fluent.scss +494 -558
- package/styles/definition/_fluent2-dark.scss +1523 -0
- package/styles/definition/_fluent2-highcontrast.scss +1523 -0
- package/styles/definition/_fluent2.scss +2295 -0
- package/styles/definition/_fusionnew-dark.scss +330 -362
- package/styles/definition/_fusionnew.scss +331 -363
- package/styles/definition/_highcontrast-light.scss +189 -193
- package/styles/definition/_highcontrast.scss +189 -195
- package/styles/definition/_material-dark.scss +193 -198
- package/styles/definition/_material.scss +186 -192
- package/styles/definition/_material3-dark.scss +660 -710
- package/styles/definition/_material3.scss +729 -792
- package/styles/definition/_tailwind-dark.scss +445 -488
- package/styles/definition/_tailwind.scss +443 -485
- package/styles/definition/_tailwind3-dark.scss +1622 -0
- package/styles/definition/_tailwind3.scss +2093 -0
- package/styles/fabric-dark-lite.css +3734 -0
- package/styles/fabric-dark-lite.scss +3 -0
- package/styles/fabric-dark.css +1075 -169
- package/styles/fabric-lite.css +3734 -0
- package/styles/fabric-lite.scss +3 -0
- package/styles/fabric.css +1075 -169
- package/styles/fluent-dark-lite.css +2966 -0
- package/styles/fluent-dark-lite.scss +3 -0
- package/styles/fluent-dark.css +1066 -169
- package/styles/fluent-lite.css +2966 -0
- package/styles/fluent-lite.scss +3 -0
- package/styles/fluent.css +1066 -169
- package/styles/fluent2-lite.css +4017 -0
- package/styles/fluent2-lite.scss +3 -0
- package/styles/fluent2.css +4017 -0
- package/styles/fluent2.scss +3 -0
- package/styles/highcontrast-light-lite.css +3725 -0
- package/styles/highcontrast-light-lite.scss +3 -0
- package/styles/highcontrast-light.css +1075 -169
- package/styles/highcontrast-lite.css +3725 -0
- package/styles/highcontrast-lite.scss +3 -0
- package/styles/highcontrast.css +1075 -169
- package/styles/material-dark-lite.css +3702 -0
- package/styles/material-dark-lite.scss +3 -0
- package/styles/material-dark.css +1075 -169
- package/styles/material-lite.css +3702 -0
- package/styles/material-lite.scss +3 -0
- package/styles/material.css +1075 -169
- package/styles/material3-dark-lite.css +3021 -0
- package/styles/material3-dark-lite.scss +3 -0
- package/styles/material3-dark.css +1066 -170
- package/styles/material3-lite.css +3077 -0
- package/styles/material3-lite.scss +3 -0
- package/styles/material3.css +1066 -170
- package/styles/offline-theme/material-dark.css +1075 -169
- package/styles/offline-theme/material.css +1075 -169
- package/styles/offline-theme/tailwind-dark.css +1067 -170
- package/styles/offline-theme/tailwind.css +1067 -170
- package/styles/tailwind-dark-lite.css +2967 -0
- package/styles/tailwind-dark-lite.scss +3 -0
- package/styles/tailwind-dark.css +1067 -170
- package/styles/tailwind-lite.css +2967 -0
- package/styles/tailwind-lite.scss +3 -0
- package/styles/tailwind.css +1067 -170
- package/styles/tailwind3-lite.css +3775 -0
- package/styles/tailwind3-lite.scss +3 -0
- package/styles/tailwind3.css +3775 -0
- package/styles/tailwind3.scss +3 -0
- package/.eslintrc.json +0 -260
- package/CHANGELOG.md +0 -649
- package/tslint.json +0 -111
package/dist/global/index.d.ts
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: index.d.ts
|
|
3
|
-
* version : 25.2.7
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
|
-
* Use of this code is subject to the terms of our license.
|
|
6
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
-
* applicable laws.
|
|
9
|
-
*/
|
|
10
1
|
import * as _base from '@syncfusion/ej2-base';
|
|
11
2
|
|
|
12
3
|
export declare namespace ej {
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { DateFormatOptions } from '../internationalization';
|
|
2
|
+
import { NumberMapper } from './parser-base';
|
|
3
|
+
import { IntlBase as base } from './intl-base';
|
|
4
|
+
export declare const basicPatterns: string[];
|
|
5
|
+
/**
|
|
6
|
+
* Interface for Date Format Options Modules.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
*/
|
|
10
|
+
export interface FormatOptions {
|
|
11
|
+
month?: Object;
|
|
12
|
+
weekday?: Object;
|
|
13
|
+
pattern?: string;
|
|
14
|
+
designator?: Object;
|
|
15
|
+
timeZone?: base.TimeZoneOptions;
|
|
16
|
+
era?: Object;
|
|
17
|
+
hour12?: boolean;
|
|
18
|
+
numMapper?: NumberMapper;
|
|
19
|
+
dateSeperator?: string;
|
|
20
|
+
isIslamic?: boolean;
|
|
21
|
+
weekOfYear?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const datePartMatcher: {
|
|
24
|
+
[key: string]: Object;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Date Format is a framework provides support for date formatting.
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
*/
|
|
31
|
+
export declare class DateFormat {
|
|
32
|
+
/**
|
|
33
|
+
* Returns the formatter function for given skeleton.
|
|
34
|
+
*
|
|
35
|
+
* @param {string} culture - Specifies the culture name to be which formatting.
|
|
36
|
+
* @param {DateFormatOptions} option - Specific the format in which date will format.
|
|
37
|
+
* @param {Object} cldr - Specifies the global cldr data collection.
|
|
38
|
+
* @returns {Function} ?
|
|
39
|
+
*/
|
|
40
|
+
static dateFormat(culture: string, option: DateFormatOptions, cldr: Object): Function;
|
|
41
|
+
/**
|
|
42
|
+
* Returns formatted date string based on options passed.
|
|
43
|
+
*
|
|
44
|
+
* @param {Date} value ?
|
|
45
|
+
* @param {FormatOptions} options ?
|
|
46
|
+
* @returns {string} ?
|
|
47
|
+
*/
|
|
48
|
+
private static intDateFormatter;
|
|
49
|
+
private static getCurrentDateValue;
|
|
50
|
+
/**
|
|
51
|
+
* Returns two digit numbers for given value and length
|
|
52
|
+
*
|
|
53
|
+
* @param {number} val ?
|
|
54
|
+
* @param {number} len ?
|
|
55
|
+
* @returns {string} ?
|
|
56
|
+
*/
|
|
57
|
+
private static checkTwodigitNumber;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the value of the Time Zone.
|
|
60
|
+
*
|
|
61
|
+
* @param {number} tVal ?
|
|
62
|
+
* @param {string} pattern ?
|
|
63
|
+
* @returns {string} ?
|
|
64
|
+
* @private
|
|
65
|
+
*/
|
|
66
|
+
static getTimeZoneValue(tVal: number, pattern: string): string;
|
|
67
|
+
}
|
package/e2e/crypto.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var crypto = require("crypto");
|
|
2
|
-
global.encrypt_decrypt = {
|
|
3
|
-
"encrypt": function(data) {
|
|
4
|
-
var key = "syncfusion";
|
|
5
|
-
var cipher = crypto.createCipher('aes-256-cbc', key);
|
|
6
|
-
var crypted = cipher.update(data, 'utf-8', 'hex');
|
|
7
|
-
crypted += cipher.final('hex');
|
|
8
|
-
return crypted;
|
|
9
|
-
},
|
|
10
|
-
"decrypt": function(data) {
|
|
11
|
-
var key = "syncfusion";
|
|
12
|
-
var decipher = crypto.createDecipher('aes-256-cbc', key);
|
|
13
|
-
var decrypted = decipher.update(data, 'hex', 'utf-8');
|
|
14
|
-
decrypted += decipher.final('utf-8');
|
|
15
|
-
return decrypted;
|
|
16
|
-
}
|
|
1
|
+
var crypto = require("crypto");
|
|
2
|
+
global.encrypt_decrypt = {
|
|
3
|
+
"encrypt": function(data) {
|
|
4
|
+
var key = "syncfusion";
|
|
5
|
+
var cipher = crypto.createCipher('aes-256-cbc', key);
|
|
6
|
+
var crypted = cipher.update(data, 'utf-8', 'hex');
|
|
7
|
+
crypted += cipher.final('hex');
|
|
8
|
+
return crypted;
|
|
9
|
+
},
|
|
10
|
+
"decrypt": function(data) {
|
|
11
|
+
var key = "syncfusion";
|
|
12
|
+
var decipher = crypto.createDecipher('aes-256-cbc', key);
|
|
13
|
+
var decrypted = decipher.update(data, 'hex', 'utf-8');
|
|
14
|
+
decrypted += decipher.final('utf-8');
|
|
15
|
+
return decrypted;
|
|
16
|
+
}
|
|
17
17
|
};
|
package/e2e/index.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ProtractorBrowser, promise } from 'protractor';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Extended Protractor Browser
|
|
5
|
-
*/
|
|
6
|
-
export interface ProtractorTypes extends ProtractorBrowser {
|
|
7
|
-
compareScreen: (element: any, fileName: string, options?: any, done?: any) => {};
|
|
8
|
-
waitForEvent: (id: string, moduleName: string, eventName: string) => promise.Promise<any>;
|
|
9
|
-
load: (path: string) => void;
|
|
10
|
-
loadAsync: (path: String) => void;
|
|
11
|
-
injectScript: (path: string) => promise.Promise<any>;
|
|
12
|
-
injectCSS: (path: string) => void;
|
|
13
|
-
saveRegion: (element: any,fileName: string, options?: any) => promise.Promise<any>;
|
|
14
|
-
saveCheckImage: (element: any, fileName: string, options?: any, done?: any) => promise.Promise<any>;
|
|
15
|
-
checkRegion: (element: any,fileName: string, options?: any) => {};
|
|
16
|
-
basePath: string;
|
|
17
|
-
pixDiff: any;
|
|
18
|
-
pixResult: any;
|
|
19
|
-
isDesktop: boolean;
|
|
20
|
-
browserName: string;
|
|
21
|
-
css: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export declare let browser: ProtractorTypes;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export * from "protractor";
|
|
1
|
+
import { ProtractorBrowser, promise } from 'protractor';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Extended Protractor Browser
|
|
5
|
+
*/
|
|
6
|
+
export interface ProtractorTypes extends ProtractorBrowser {
|
|
7
|
+
compareScreen: (element: any, fileName: string, options?: any, done?: any) => {};
|
|
8
|
+
waitForEvent: (id: string, moduleName: string, eventName: string) => promise.Promise<any>;
|
|
9
|
+
load: (path: string) => void;
|
|
10
|
+
loadAsync: (path: String) => void;
|
|
11
|
+
injectScript: (path: string) => promise.Promise<any>;
|
|
12
|
+
injectCSS: (path: string) => void;
|
|
13
|
+
saveRegion: (element: any,fileName: string, options?: any) => promise.Promise<any>;
|
|
14
|
+
saveCheckImage: (element: any, fileName: string, options?: any, done?: any) => promise.Promise<any>;
|
|
15
|
+
checkRegion: (element: any,fileName: string, options?: any) => {};
|
|
16
|
+
basePath: string;
|
|
17
|
+
pixDiff: any;
|
|
18
|
+
pixResult: any;
|
|
19
|
+
isDesktop: boolean;
|
|
20
|
+
browserName: string;
|
|
21
|
+
css: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare let browser: ProtractorTypes;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export * from "protractor";
|