@syncfusion/ej2-base 26.1.35-806029 → 26.1.35-8139
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/.eslintrc.json +261 -0
- package/{ReadMe.md → README.md} +100 -100
- package/bin/syncfusion-license.js +1 -104
- package/dist/ej2-base.min.js +10 -1
- package/dist/ej2-base.umd.min.js +10 -1
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +67 -74
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +117 -124
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +10 -1
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -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 -225
- package/src/animation-model.d.ts +41 -41
- package/src/animation.js +19 -19
- package/src/browser.js +0 -4
- package/src/component-model.d.ts +16 -16
- package/src/component.js +19 -19
- package/src/draggable-model.d.ts +113 -113
- package/src/draggable.js +72 -35
- package/src/droppable-model.d.ts +23 -23
- package/src/droppable.js +19 -19
- package/src/intl/number-formatter.js +1 -8
- package/src/keyboard-model.d.ts +16 -16
- package/src/keyboard.js +19 -19
- package/src/touch-model.d.ts +39 -39
- package/src/touch.js +19 -19
- package/src/validate-lic.js +1 -1
- package/styles/_all.scss +2 -2
- package/styles/_bds-dark-definition.scss +15 -16
- package/styles/_bds-definition.scss +15 -16
- 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 -8
- package/styles/_bootstrap5.3-definition.scss +8 -8
- 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 -9
- package/styles/_fluent2-definition.scss +9 -9
- package/styles/_fluent2-highcontrast-definition.scss +9 -9
- 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 +48 -49
- package/styles/_material-definition.scss +49 -50
- package/styles/_material3-dark-definition.scss +14 -15
- package/styles/_material3-definition.scss +15 -16
- package/styles/_tailwind-dark-definition.scss +15 -16
- package/styles/_tailwind-definition.scss +15 -16
- package/styles/animation/_all.scss +559 -535
- package/styles/bootstrap-dark.css +51 -235
- package/styles/bootstrap.css +51 -235
- package/styles/bootstrap4.css +51 -223
- package/styles/bootstrap5-dark.css +53 -228
- package/styles/bootstrap5.css +51 -226
- package/styles/common/_all.scss +2 -2
- package/styles/common/_core.scss +113 -111
- package/styles/common/_mixin.scss +9 -11
- package/styles/definition/_bds-dark.scss +1067 -1193
- package/styles/definition/_bds.scss +1327 -1488
- package/styles/definition/_bootstrap-dark.scss +207 -213
- package/styles/definition/_bootstrap.scss +202 -208
- package/styles/definition/_bootstrap4.scss +153 -159
- package/styles/definition/_bootstrap5-dark.scss +475 -481
- package/styles/definition/_bootstrap5.3-dark.scss +853 -1232
- package/styles/definition/_bootstrap5.3.scss +1486 -1579
- package/styles/definition/_bootstrap5.scss +475 -481
- package/styles/definition/_fabric-dark.scss +188 -194
- package/styles/definition/_fabric.scss +186 -192
- package/styles/definition/_fluent-dark.scss +488 -494
- package/styles/definition/_fluent.scss +488 -494
- package/styles/definition/_fluent2-dark.scss +1506 -1523
- package/styles/definition/_fluent2-highcontrast.scss +1506 -1523
- package/styles/definition/_fluent2.scss +2266 -2295
- package/styles/definition/_fusionnew-dark.scss +324 -330
- package/styles/definition/_fusionnew.scss +324 -331
- package/styles/definition/_highcontrast-light.scss +183 -189
- package/styles/definition/_highcontrast.scss +183 -189
- package/styles/definition/_material-dark.scss +187 -193
- package/styles/definition/_material.scss +180 -186
- package/styles/definition/_material3-dark.scss +654 -660
- package/styles/definition/_material3.scss +723 -729
- package/styles/definition/_tailwind-dark.scss +439 -445
- package/styles/definition/_tailwind.scss +437 -443
- package/styles/fabric-dark.css +51 -235
- package/styles/fabric.css +51 -235
- package/styles/fluent-dark.css +51 -226
- package/styles/fluent.css +51 -226
- package/styles/fluent2.css +82 -274
- package/styles/highcontrast-light.css +51 -235
- package/styles/highcontrast.css +51 -235
- package/styles/material-dark.css +51 -235
- package/styles/material.css +51 -235
- package/styles/material3-dark.css +51 -226
- package/styles/material3.css +51 -226
- package/styles/offline-theme/material-dark.css +51 -235
- package/styles/offline-theme/material.css +51 -235
- package/styles/offline-theme/tailwind-dark.css +51 -226
- package/styles/offline-theme/tailwind.css +51 -226
- package/styles/tailwind-dark.css +51 -226
- package/styles/tailwind.css +51 -226
- package/tslint.json +111 -0
- package/dist/ts/undefined +0 -67
- package/styles/_tailwind3-dark-definition.scss +0 -15
- package/styles/_tailwind3-definition.scss +0 -15
- package/styles/bds-lite.css +0 -3408
- package/styles/bds-lite.scss +0 -3
- package/styles/bds.css +0 -3408
- package/styles/bds.scss +0 -3
- package/styles/bootstrap-dark-lite.css +0 -3749
- package/styles/bootstrap-dark-lite.scss +0 -3
- package/styles/bootstrap-lite.css +0 -3749
- package/styles/bootstrap-lite.scss +0 -3
- package/styles/bootstrap4-lite.css +0 -3390
- package/styles/bootstrap4-lite.scss +0 -3
- package/styles/bootstrap5-dark-lite.css +0 -2966
- package/styles/bootstrap5-dark-lite.scss +0 -3
- package/styles/bootstrap5-lite.css +0 -2966
- package/styles/bootstrap5-lite.scss +0 -3
- package/styles/bootstrap5.3-lite.css +0 -3559
- package/styles/bootstrap5.3-lite.scss +0 -3
- package/styles/bootstrap5.3.css +0 -3559
- package/styles/bootstrap5.3.scss +0 -3
- package/styles/definition/_tailwind3-dark.scss +0 -1622
- package/styles/definition/_tailwind3.scss +0 -2093
- package/styles/fabric-dark-lite.css +0 -3734
- package/styles/fabric-dark-lite.scss +0 -3
- package/styles/fabric-lite.css +0 -3734
- package/styles/fabric-lite.scss +0 -3
- package/styles/fluent-dark-lite.css +0 -2966
- package/styles/fluent-dark-lite.scss +0 -3
- package/styles/fluent-lite.css +0 -2966
- package/styles/fluent-lite.scss +0 -3
- package/styles/fluent2-lite.css +0 -4017
- package/styles/fluent2-lite.scss +0 -3
- package/styles/highcontrast-light-lite.css +0 -3725
- package/styles/highcontrast-light-lite.scss +0 -3
- package/styles/highcontrast-lite.css +0 -3725
- package/styles/highcontrast-lite.scss +0 -3
- package/styles/material-dark-lite.css +0 -3702
- package/styles/material-dark-lite.scss +0 -3
- package/styles/material-lite.css +0 -3702
- package/styles/material-lite.scss +0 -3
- package/styles/material3-dark-lite.css +0 -3021
- package/styles/material3-dark-lite.scss +0 -3
- package/styles/material3-lite.css +0 -3077
- package/styles/material3-lite.scss +0 -3
- package/styles/tailwind-dark-lite.css +0 -2967
- package/styles/tailwind-dark-lite.scss +0 -3
- package/styles/tailwind-lite.css +0 -2967
- package/styles/tailwind-lite.scss +0 -3
- package/styles/tailwind3-lite.css +0 -3775
- package/styles/tailwind3-lite.scss +0 -3
- package/styles/tailwind3.css +0 -3775
- package/styles/tailwind3.scss +0 -3
package/tslint.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rules": {
|
|
3
|
+
"chai-vague-errors": true,
|
|
4
|
+
"use-isnan": true,
|
|
5
|
+
"missing-jsdoc": true,
|
|
6
|
+
"missing-optional-annotation": true,
|
|
7
|
+
"no-backbone-get-set-outside-model": true,
|
|
8
|
+
"no-banned-terms": true,
|
|
9
|
+
"no-constant-condition": true,
|
|
10
|
+
"no-control-regex": true,
|
|
11
|
+
"no-cookies": true,
|
|
12
|
+
"no-delete-expression": true,
|
|
13
|
+
"no-document-write": true,
|
|
14
|
+
"no-document-domain": true,
|
|
15
|
+
"no-disable-auto-sanitization": true,
|
|
16
|
+
"no-duplicate-case": true,
|
|
17
|
+
"no-duplicate-parameter-names": true,
|
|
18
|
+
"no-empty-interfaces": true,
|
|
19
|
+
"no-exec-script": true,
|
|
20
|
+
"no-function-constructor-with-string-args": true,
|
|
21
|
+
"no-function-expression": true,
|
|
22
|
+
"no-invalid-regexp": true,
|
|
23
|
+
"no-for-in": true,
|
|
24
|
+
"member-access": true,
|
|
25
|
+
"no-multiline-string": true,
|
|
26
|
+
"no-multiple-var-decl": true,
|
|
27
|
+
"no-unnecessary-bind": true,
|
|
28
|
+
"no-unnecessary-semicolons": true,
|
|
29
|
+
"no-octal-literal": true,
|
|
30
|
+
"no-regex-spaces": true,
|
|
31
|
+
"no-sparse-arrays": true,
|
|
32
|
+
"no-string-based-set-immediate": true,
|
|
33
|
+
"no-string-based-set-interval": true,
|
|
34
|
+
"no-unused-imports": true,
|
|
35
|
+
"no-with-statement": true,
|
|
36
|
+
"prefer-array-literal": true,
|
|
37
|
+
"promise-must-complete": false,
|
|
38
|
+
"react-no-dangerous-html": true,
|
|
39
|
+
"use-named-parameter": true,
|
|
40
|
+
"valid-typeof": true,
|
|
41
|
+
"max-func-body-length": [true, 100, {
|
|
42
|
+
"ignore-parameters-to-function-regex": "describe"
|
|
43
|
+
}],
|
|
44
|
+
"class-name": true,
|
|
45
|
+
"curly": true,
|
|
46
|
+
"eofline": false,
|
|
47
|
+
"forin": true,
|
|
48
|
+
"indent": [
|
|
49
|
+
true,
|
|
50
|
+
"spaces"
|
|
51
|
+
],
|
|
52
|
+
"label-position": true,
|
|
53
|
+
"max-line-length": [true, 140],
|
|
54
|
+
"no-arg": true,
|
|
55
|
+
"no-console": [true,
|
|
56
|
+
"debug",
|
|
57
|
+
"info",
|
|
58
|
+
"log",
|
|
59
|
+
"time",
|
|
60
|
+
"timeEnd",
|
|
61
|
+
"trace"
|
|
62
|
+
],
|
|
63
|
+
"no-construct": true,
|
|
64
|
+
"no-parameter-properties": true,
|
|
65
|
+
"no-debugger": true,
|
|
66
|
+
"no-duplicate-variable": true,
|
|
67
|
+
"no-empty": true,
|
|
68
|
+
"no-eval": true,
|
|
69
|
+
"no-string-literal": true,
|
|
70
|
+
"no-switch-case-fall-through": true,
|
|
71
|
+
"trailing-comma": true,
|
|
72
|
+
"no-trailing-whitespace": true,
|
|
73
|
+
"no-unused-expression": true,
|
|
74
|
+
"no-use-before-declare": false,
|
|
75
|
+
"no-var-requires": true,
|
|
76
|
+
"one-line": [true,
|
|
77
|
+
"check-open-brace",
|
|
78
|
+
"check-catch",
|
|
79
|
+
"check-else",
|
|
80
|
+
"check-whitespace"
|
|
81
|
+
],
|
|
82
|
+
"no-any": true,
|
|
83
|
+
"no-conditional-assignment": true,
|
|
84
|
+
"no-angle-bracket-type-assertion": false,
|
|
85
|
+
"align": [true, "parameters", "arguments", "statements"],
|
|
86
|
+
"no-empty-line-after-opening-brace": false,
|
|
87
|
+
"typedef-whitespace": [false],
|
|
88
|
+
"ban": true,
|
|
89
|
+
"quotemark": [true, "single"],
|
|
90
|
+
"semicolon": true,
|
|
91
|
+
"triple-equals": [true, "allow-null-check"],
|
|
92
|
+
"typedef": [true,
|
|
93
|
+
"call-signature",
|
|
94
|
+
"parameter",
|
|
95
|
+
"property-declaration",
|
|
96
|
+
"variable-declaration",
|
|
97
|
+
"arrow-parameter",
|
|
98
|
+
"member-variable-declaration"],
|
|
99
|
+
"variable-name": true,
|
|
100
|
+
"whitespace": [true,
|
|
101
|
+
"check-branch",
|
|
102
|
+
"check-decl",
|
|
103
|
+
"check-operator",
|
|
104
|
+
"check-separator",
|
|
105
|
+
"check-type"
|
|
106
|
+
],
|
|
107
|
+
"jsdoc-format": true,
|
|
108
|
+
"no-var-keyword": true,
|
|
109
|
+
"radix": true
|
|
110
|
+
}
|
|
111
|
+
}
|
package/dist/ts/undefined
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@import 'definition/tailwind3-dark.scss';
|
|
3
|
-
|
|
4
|
-
@if not meta.variable-exists('is-inter-loaded') {
|
|
5
|
-
//sass-lint:disable no-url-protocols,no-url-domains
|
|
6
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');// stylelint-disable-line no-invalid-position-at-import-rule
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
$font-family: 'Inter' !default;
|
|
10
|
-
$font-size: 12px !default;
|
|
11
|
-
$font-weight: normal !default;
|
|
12
|
-
$error-font-color: $danger !default;
|
|
13
|
-
$warning-font-color: $warning !default;
|
|
14
|
-
$success-font-color: $success !default;
|
|
15
|
-
$information-font-color: $info !default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@import 'definition/tailwind3.scss';
|
|
3
|
-
|
|
4
|
-
@if not meta.variable-exists('is-inter-loaded') {
|
|
5
|
-
//sass-lint:disable no-url-protocols,no-url-domains
|
|
6
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');// stylelint-disable-line no-invalid-position-at-import-rule
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
$font-family: 'Inter' !default;
|
|
10
|
-
$font-size: 12px !default;
|
|
11
|
-
$font-weight: normal !default;
|
|
12
|
-
$error-font-color: $danger !default;
|
|
13
|
-
$warning-font-color: $warning !default;
|
|
14
|
-
$success-font-color: $success !default;
|
|
15
|
-
$information-font-color: $info !default;
|