@syncfusion/ej2-base 24.2.7 → 25.1.35-579988
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 +2 -1
- package/CHANGELOG.md +641 -677
- package/{README.md → ReadMe.md} +100 -100
- 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 +178 -1025
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +226 -934
- 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/ajax.ts +236 -0
- package/dist/ts/animation.ts +544 -0
- package/dist/ts/base.ts +357 -0
- package/dist/ts/browser.ts +387 -0
- package/dist/ts/child-property.ts +192 -0
- package/dist/ts/component.ts +519 -0
- package/dist/ts/dom.ts +488 -0
- package/dist/ts/draggable.ts +1155 -0
- package/dist/ts/droppable.ts +172 -0
- package/dist/ts/event-handler.ts +169 -0
- package/dist/ts/internationalization.ts +369 -0
- package/dist/ts/intl/date-formatter.ts +317 -0
- package/dist/ts/intl/date-parser.ts +426 -0
- package/dist/ts/intl/intl-base.ts +1104 -0
- package/dist/ts/intl/number-formatter.ts +411 -0
- package/dist/ts/intl/number-parser.ts +158 -0
- package/dist/ts/intl/parser-base.ts +394 -0
- package/dist/ts/keyboard.ts +238 -0
- package/dist/ts/l10n.ts +94 -0
- package/dist/ts/module-loader.ts +149 -0
- package/dist/ts/notify-property-change.ts +726 -0
- package/dist/ts/observer.ts +236 -0
- package/dist/ts/sanitize-helper.ts +224 -0
- package/dist/ts/template-engine.ts +191 -0
- package/dist/ts/template.ts +329 -0
- package/dist/ts/touch.ts +544 -0
- package/dist/ts/util.ts +523 -0
- package/dist/ts/validate-lic.ts +0 -0
- package/e2e/crypto.js +16 -16
- package/e2e/m.protractor.config.js +286 -286
- package/e2e/modified-protractor/protractor.config.js +316 -316
- package/e2e/protractor.config.js +389 -332
- package/helpers/e2e/index.js +3 -3
- package/license +10 -10
- package/package.json +225 -174
- package/src/ajax.d.ts +1 -1
- package/src/ajax.js +3 -8
- package/src/animation-model.d.ts +41 -41
- package/src/animation.d.ts +6 -6
- package/src/animation.js +25 -25
- package/src/base.d.ts +2 -1
- package/src/base.js +9 -7
- package/src/component-model.d.ts +16 -16
- package/src/component.d.ts +9 -3
- package/src/component.js +50 -38
- package/src/draggable-model.d.ts +113 -113
- package/src/draggable.d.ts +2 -0
- package/src/draggable.js +45 -29
- package/src/droppable-model.d.ts +23 -23
- package/src/droppable.js +19 -19
- package/src/event-handler.js +2 -1
- package/src/index.d.ts +0 -3
- package/src/index.js +0 -3
- package/src/intl/date-formatter.js +2 -6
- package/src/intl/date-parser.js +1 -20
- package/src/intl/intl-base.js +1 -164
- package/src/intl/number-formatter.d.ts +3 -0
- package/src/intl/number-formatter.js +7 -7
- package/src/intl/number-parser.js +1 -0
- package/src/keyboard-model.d.ts +16 -16
- package/src/keyboard.js +19 -19
- package/src/module-loader.d.ts +12 -0
- package/src/module-loader.js +11 -0
- package/src/notify-property-change.js +3 -2
- package/src/observer.js +2 -0
- package/src/sanitize-helper.js +5 -0
- package/src/template-engine.js +1 -0
- package/src/template.js +3 -2
- package/src/touch-model.d.ts +39 -39
- package/src/touch.js +19 -19
- package/src/validate-lic.d.ts +0 -11
- package/src/validate-lic.js +1 -259
- package/styles/_all.scss +2 -2
- package/styles/_bds-dark-definition.scss +15 -0
- package/styles/_bds-definition.scss +15 -0
- 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/_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-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 +48 -48
- package/styles/_material-definition.scss +49 -49
- package/styles/_material3-dark-definition.scss +14 -14
- package/styles/_material3-definition.scss +15 -15
- package/styles/_tailwind-dark-definition.scss +15 -15
- package/styles/_tailwind-definition.scss +15 -15
- package/styles/animation/_all.scss +560 -560
- package/styles/bootstrap-dark.css +10 -1
- package/styles/bootstrap.css +10 -1
- package/styles/bootstrap4.css +10 -1
- package/styles/bootstrap5-dark.css +10 -1
- package/styles/bootstrap5.css +10 -1
- package/styles/common/_all.scss +2 -2
- package/styles/common/_core.scss +117 -117
- package/styles/common/_mixin.scss +9 -9
- package/styles/definition/_bds-dark.scss +1179 -0
- package/styles/definition/_bds.scss +1474 -0
- package/styles/definition/_bootstrap-dark.scss +219 -219
- package/styles/definition/_bootstrap.scss +215 -215
- package/styles/definition/_bootstrap4.scss +167 -167
- package/styles/definition/_bootstrap5-dark.scss +493 -493
- package/styles/definition/_bootstrap5.scss +494 -494
- package/styles/definition/_fabric-dark.scss +200 -200
- package/styles/definition/_fabric.scss +198 -198
- package/styles/definition/_fluent-dark.scss +557 -557
- package/styles/definition/_fluent.scss +558 -558
- package/styles/definition/_fluent2.scss +2198 -0
- package/styles/definition/_fusionnew-dark.scss +362 -362
- package/styles/definition/_fusionnew.scss +363 -363
- package/styles/definition/_highcontrast-light.scss +193 -193
- package/styles/definition/_highcontrast.scss +195 -195
- package/styles/definition/_material-dark.scss +198 -198
- package/styles/definition/_material.scss +192 -192
- package/styles/definition/_material3-dark.scss +710 -710
- package/styles/definition/_material3.scss +792 -792
- package/styles/definition/_tailwind-dark.scss +488 -488
- package/styles/definition/_tailwind.scss +485 -485
- package/styles/fabric-dark.css +10 -1
- package/styles/fabric.css +10 -1
- package/styles/fluent-dark.css +10 -1
- package/styles/fluent.css +10 -1
- package/styles/highcontrast-light.css +10 -1
- package/styles/highcontrast.css +10 -1
- package/styles/material-dark.css +10 -1
- package/styles/material.css +10 -1
- package/styles/material3-dark.css +10 -1
- package/styles/material3.css +10 -1
- package/styles/offline-theme/material-dark.css +10 -1
- package/styles/offline-theme/material.css +10 -1
- package/styles/offline-theme/tailwind-dark.css +10 -1
- package/styles/offline-theme/tailwind.css +10 -1
- package/styles/tailwind-dark.css +10 -1
- package/styles/tailwind.css +10 -1
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -60
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -42
- package/bin/syncfusion-license.js +0 -2
- package/dist/ej2-base.min.js +0 -10
- package/e2e/index.d.ts +0 -27
- package/src/fetch.d.ts +0 -114
- package/src/fetch.js +0 -116
- package/src/hijri-parser.d.ts +0 -19
- package/src/hijri-parser.js +0 -204
package/styles/common/_all.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import 'mixin.scss';
|
|
2
|
-
@import 'core.scss';
|
|
1
|
+
@import 'mixin.scss';
|
|
2
|
+
@import 'core.scss';
|
package/styles/common/_core.scss
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
@include export-module('base-core') {
|
|
2
|
-
|
|
3
|
-
/*! common core */
|
|
4
|
-
.e-control,
|
|
5
|
-
.e-css {
|
|
6
|
-
font-family: $font-family;
|
|
7
|
-
font-size: $font-size;
|
|
8
|
-
font-weight: $font-weight;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
$white: #fff;
|
|
12
|
-
$background: #e82824;
|
|
13
|
-
|
|
14
|
-
$warning: #ffd800;
|
|
15
|
-
$yellow: #ffff00;
|
|
16
|
-
.e-error {
|
|
17
|
-
@if $skin-name == 'Material3' {
|
|
18
|
-
color: rgba($error-font-color);
|
|
19
|
-
}
|
|
20
|
-
@else {
|
|
21
|
-
color: $error-font-color;
|
|
22
|
-
}
|
|
23
|
-
font-family: $font-family;
|
|
24
|
-
font-size: $font-size;
|
|
25
|
-
font-weight: $font-weight;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.e-control,
|
|
29
|
-
.e-control [class ^= 'e-'],
|
|
30
|
-
.e-control [class *= ' e-'] {
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.e-control:focus,
|
|
35
|
-
.e-control *:focus {
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.e-rtl {
|
|
40
|
-
direction: rtl;
|
|
41
|
-
text-align: right;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.e-overlay {
|
|
45
|
-
background-color: $overlay-bg-color;
|
|
46
|
-
filter: alpha(opacity=50);
|
|
47
|
-
height: 100%;
|
|
48
|
-
opacity: .5;
|
|
49
|
-
pointer-events: none;
|
|
50
|
-
touch-action: none;
|
|
51
|
-
width: 100%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.e-hidden {
|
|
55
|
-
display: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.e-blazor-hidden {
|
|
59
|
-
visibility: hidden;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.e-disabled {
|
|
63
|
-
background-image: none;
|
|
64
|
-
cursor: default;
|
|
65
|
-
filter: alpha(Opacity=35);
|
|
66
|
-
opacity: .35;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.e-ul {
|
|
70
|
-
list-style-type: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.e-prevent-select {
|
|
74
|
-
user-select: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.e-warning {
|
|
78
|
-
@if $skin-name == 'Material3' {
|
|
79
|
-
color: rgba($warning-font-color);
|
|
80
|
-
}
|
|
81
|
-
@else {
|
|
82
|
-
color: $warning-font-color;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.e-success {
|
|
87
|
-
@if $skin-name == 'Material3' {
|
|
88
|
-
color: rgba($success-font-color);
|
|
89
|
-
}
|
|
90
|
-
@else {
|
|
91
|
-
color: $success-font-color;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.e-information {
|
|
96
|
-
@if $skin-name == 'Material3' {
|
|
97
|
-
color: rgba($information-font-color);
|
|
98
|
-
}
|
|
99
|
-
@else {
|
|
100
|
-
color: $information-font-color;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.e-block-touch {
|
|
105
|
-
touch-action: pinch-zoom;
|
|
106
|
-
}
|
|
107
|
-
.e-license {
|
|
108
|
-
color: $yellow;
|
|
109
|
-
text-decoration: none;
|
|
110
|
-
}
|
|
111
|
-
.e-license-banner {
|
|
112
|
-
position: absolute;
|
|
113
|
-
right: 10px;
|
|
114
|
-
top: 27%;
|
|
115
|
-
cursor: pointer;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
1
|
+
@include export-module('base-core') {
|
|
2
|
+
|
|
3
|
+
/*! common core */
|
|
4
|
+
.e-control,
|
|
5
|
+
.e-css {
|
|
6
|
+
font-family: $font-family;
|
|
7
|
+
font-size: $font-size;
|
|
8
|
+
font-weight: $font-weight;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
$white: #fff;
|
|
12
|
+
$background: #e82824;
|
|
13
|
+
|
|
14
|
+
$warning: #ffd800;
|
|
15
|
+
$yellow: #ffff00;
|
|
16
|
+
.e-error {
|
|
17
|
+
@if $skin-name == 'Material3' {
|
|
18
|
+
color: rgba($error-font-color);
|
|
19
|
+
}
|
|
20
|
+
@else {
|
|
21
|
+
color: $error-font-color;
|
|
22
|
+
}
|
|
23
|
+
font-family: $font-family;
|
|
24
|
+
font-size: $font-size;
|
|
25
|
+
font-weight: $font-weight;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.e-control,
|
|
29
|
+
.e-control [class ^= 'e-'],
|
|
30
|
+
.e-control [class *= ' e-'] {
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.e-control:focus,
|
|
35
|
+
.e-control *:focus {
|
|
36
|
+
outline: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.e-rtl {
|
|
40
|
+
direction: rtl;
|
|
41
|
+
text-align: right;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.e-overlay {
|
|
45
|
+
background-color: $overlay-bg-color;
|
|
46
|
+
filter: alpha(opacity=50);
|
|
47
|
+
height: 100%;
|
|
48
|
+
opacity: .5;
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
touch-action: none;
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.e-hidden {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.e-blazor-hidden {
|
|
59
|
+
visibility: hidden;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.e-disabled {
|
|
63
|
+
background-image: none;
|
|
64
|
+
cursor: default;
|
|
65
|
+
filter: alpha(Opacity=35);
|
|
66
|
+
opacity: .35;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.e-ul {
|
|
70
|
+
list-style-type: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.e-prevent-select {
|
|
74
|
+
user-select: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.e-warning {
|
|
78
|
+
@if $skin-name == 'Material3' {
|
|
79
|
+
color: rgba($warning-font-color);
|
|
80
|
+
}
|
|
81
|
+
@else {
|
|
82
|
+
color: $warning-font-color;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.e-success {
|
|
87
|
+
@if $skin-name == 'Material3' {
|
|
88
|
+
color: rgba($success-font-color);
|
|
89
|
+
}
|
|
90
|
+
@else {
|
|
91
|
+
color: $success-font-color;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.e-information {
|
|
96
|
+
@if $skin-name == 'Material3' {
|
|
97
|
+
color: rgba($information-font-color);
|
|
98
|
+
}
|
|
99
|
+
@else {
|
|
100
|
+
color: $information-font-color;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.e-block-touch {
|
|
105
|
+
touch-action: pinch-zoom;
|
|
106
|
+
}
|
|
107
|
+
.e-license {
|
|
108
|
+
color: $yellow;
|
|
109
|
+
text-decoration: none;
|
|
110
|
+
}
|
|
111
|
+
.e-license-banner {
|
|
112
|
+
position: absolute;
|
|
113
|
+
right: 10px;
|
|
114
|
+
top: 27%;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
$css: '' !default;
|
|
2
|
-
$imported-modules: () !default;
|
|
3
|
-
|
|
4
|
-
@mixin export-module($module) {
|
|
5
|
-
@if (index($imported-modules, $module) == null) {
|
|
6
|
-
$imported-modules: append($imported-modules, $module) !global;
|
|
7
|
-
@content;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
$css: '' !default;
|
|
2
|
+
$imported-modules: () !default;
|
|
3
|
+
|
|
4
|
+
@mixin export-module($module) {
|
|
5
|
+
@if (index($imported-modules, $module) == null) {
|
|
6
|
+
$imported-modules: append($imported-modules, $module) !global;
|
|
7
|
+
@content;
|
|
8
|
+
}
|
|
9
|
+
}
|