@syncfusion/ej2-dropdowns 20.2.50 → 20.3.48
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/CHANGELOG.md +18 -24
- package/dist/ej2-dropdowns.min.js +10 -0
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +1424 -51
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +1450 -55
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/mention.d.ts +4 -0
- package/mention.js +4 -0
- package/package.json +12 -12
- package/src/auto-complete/auto-complete.js +2 -2
- package/src/combo-box/combo-box.js +0 -3
- package/src/drop-down-base/drop-down-base.d.ts +2 -0
- package/src/drop-down-base/drop-down-base.js +8 -2
- package/src/drop-down-list/drop-down-list.d.ts +1 -0
- package/src/drop-down-list/drop-down-list.js +23 -22
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/list-box/list-box.js +16 -11
- package/src/mention/index.d.ts +5 -0
- package/src/mention/index.js +4 -0
- package/src/mention/mention-model.d.ts +285 -0
- package/src/mention/mention.d.ts +452 -0
- package/src/mention/mention.js +1383 -0
- package/src/multi-select/checkbox-selection.js +1 -4
- package/src/multi-select/multi-select.d.ts +1 -0
- package/src/multi-select/multi-select.js +20 -11
- package/styles/auto-complete/_all.scss +1 -1
- package/styles/auto-complete/_bootstrap-dark-definition.scss +1 -1
- package/styles/auto-complete/_bootstrap-definition.scss +1 -1
- package/styles/auto-complete/_bootstrap4-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap5-definition.scss +1 -1
- package/styles/auto-complete/_fabric-dark-definition.scss +1 -1
- package/styles/auto-complete/_fabric-definition.scss +1 -1
- package/styles/auto-complete/_fluent-definition.scss +1 -1
- package/styles/auto-complete/_fusionnew-definition.scss +1 -1
- package/styles/auto-complete/_highcontrast-definition.scss +1 -1
- package/styles/auto-complete/_highcontrast-light-definition.scss +1 -1
- package/styles/auto-complete/_material-dark-definition.scss +1 -1
- package/styles/auto-complete/_material-definition.scss +1 -1
- package/styles/auto-complete/_material3-definition.scss +1 -1
- package/styles/auto-complete/_tailwind-definition.scss +1 -1
- package/styles/auto-complete/bootstrap-dark.css +3 -1
- package/styles/auto-complete/bootstrap.css +3 -1
- package/styles/auto-complete/bootstrap4.css +3 -1
- package/styles/auto-complete/bootstrap5-dark.css +3 -1
- package/styles/auto-complete/bootstrap5.css +3 -1
- package/styles/auto-complete/fabric-dark.css +3 -1
- package/styles/auto-complete/fabric.css +3 -1
- package/styles/auto-complete/fluent-dark.css +3 -1
- package/styles/auto-complete/fluent.css +3 -1
- package/styles/auto-complete/highcontrast-light.css +3 -1
- package/styles/auto-complete/highcontrast.css +3 -1
- package/styles/auto-complete/material-dark.css +3 -1
- package/styles/auto-complete/material.css +3 -1
- package/styles/auto-complete/tailwind-dark.css +3 -1
- package/styles/auto-complete/tailwind.css +3 -1
- package/styles/bootstrap-dark.css +94 -42
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +94 -42
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +95 -42
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +101 -44
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +101 -44
- package/styles/bootstrap5.scss +1 -0
- package/styles/combo-box/_all.scss +1 -1
- package/styles/combo-box/_bootstrap-dark-definition.scss +1 -1
- package/styles/combo-box/_bootstrap-definition.scss +1 -1
- package/styles/combo-box/_bootstrap4-definition.scss +2 -2
- package/styles/combo-box/_bootstrap5-definition.scss +1 -1
- package/styles/combo-box/_fabric-dark-definition.scss +1 -1
- package/styles/combo-box/_fabric-definition.scss +1 -1
- package/styles/combo-box/_fluent-definition.scss +1 -1
- package/styles/combo-box/_fusionnew-definition.scss +1 -1
- package/styles/combo-box/_highcontrast-definition.scss +1 -1
- package/styles/combo-box/_highcontrast-light-definition.scss +1 -1
- package/styles/combo-box/_material-dark-definition.scss +1 -1
- package/styles/combo-box/_material-definition.scss +1 -1
- package/styles/combo-box/_material3-definition.scss +1 -1
- package/styles/combo-box/_tailwind-definition.scss +1 -1
- package/styles/combo-box/bootstrap-dark.css +3 -1
- package/styles/combo-box/bootstrap.css +3 -1
- package/styles/combo-box/bootstrap4.css +3 -1
- package/styles/combo-box/bootstrap5-dark.css +3 -1
- package/styles/combo-box/bootstrap5.css +3 -1
- package/styles/combo-box/fabric-dark.css +3 -1
- package/styles/combo-box/fabric.css +3 -1
- package/styles/combo-box/fluent-dark.css +3 -1
- package/styles/combo-box/fluent.css +3 -1
- package/styles/combo-box/highcontrast-light.css +3 -1
- package/styles/combo-box/highcontrast.css +3 -1
- package/styles/combo-box/material-dark.css +3 -1
- package/styles/combo-box/material.css +3 -1
- package/styles/combo-box/tailwind-dark.css +3 -1
- package/styles/combo-box/tailwind.css +3 -1
- package/styles/drop-down-base/_all.scss +1 -1
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +8 -2
- package/styles/drop-down-base/_bootstrap-definition.scss +6 -1
- package/styles/drop-down-base/_bootstrap4-definition.scss +6 -1
- package/styles/drop-down-base/_bootstrap5-definition.scss +8 -3
- package/styles/drop-down-base/_fabric-dark-definition.scss +6 -1
- package/styles/drop-down-base/_fabric-definition.scss +6 -1
- package/styles/drop-down-base/_fluent-definition.scss +8 -2
- package/styles/drop-down-base/_fusionnew-definition.scss +8 -3
- package/styles/drop-down-base/_highcontrast-definition.scss +16 -6
- package/styles/drop-down-base/_highcontrast-light-definition.scss +18 -7
- package/styles/drop-down-base/_layout.scss +44 -3
- package/styles/drop-down-base/_material-dark-definition.scss +7 -1
- package/styles/drop-down-base/_material-definition.scss +6 -0
- package/styles/drop-down-base/_material3-definition.scss +8 -3
- package/styles/drop-down-base/_tailwind-definition.scss +8 -3
- package/styles/drop-down-base/_theme.scss +4 -4
- package/styles/drop-down-base/bootstrap-dark.css +42 -1
- package/styles/drop-down-base/bootstrap.css +42 -1
- package/styles/drop-down-base/bootstrap4.css +42 -1
- package/styles/drop-down-base/bootstrap5-dark.css +42 -1
- package/styles/drop-down-base/bootstrap5.css +42 -1
- package/styles/drop-down-base/fabric-dark.css +42 -1
- package/styles/drop-down-base/fabric.css +42 -1
- package/styles/drop-down-base/fluent-dark.css +42 -1
- package/styles/drop-down-base/fluent.css +42 -1
- package/styles/drop-down-base/highcontrast-light.css +42 -1
- package/styles/drop-down-base/highcontrast.css +42 -1
- package/styles/drop-down-base/material-dark.css +42 -1
- package/styles/drop-down-base/material.css +42 -1
- package/styles/drop-down-base/tailwind-dark.css +42 -1
- package/styles/drop-down-base/tailwind.css +42 -1
- package/styles/drop-down-list/_all.scss +2 -1
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +2 -1
- package/styles/drop-down-list/_bootstrap-definition.scss +2 -1
- package/styles/drop-down-list/_bootstrap4-definition.scss +3 -1
- package/styles/drop-down-list/_bootstrap5-definition.scss +3 -3
- package/styles/drop-down-list/_fabric-dark-definition.scss +2 -1
- package/styles/drop-down-list/_fabric-definition.scss +2 -0
- package/styles/drop-down-list/_fluent-definition.scss +2 -1
- package/styles/drop-down-list/_fusionnew-definition.scss +3 -3
- package/styles/drop-down-list/_highcontrast-definition.scss +21 -10
- package/styles/drop-down-list/_highcontrast-light-definition.scss +22 -11
- package/styles/drop-down-list/_layout.scss +8 -9
- package/styles/drop-down-list/_material-dark-definition.scss +2 -2
- package/styles/drop-down-list/_material-definition.scss +1 -0
- package/styles/drop-down-list/_material3-definition.scss +3 -3
- package/styles/drop-down-list/_tailwind-definition.scss +1 -0
- package/styles/drop-down-list/_theme.scss +3 -3
- package/styles/drop-down-list/bootstrap-dark.css +5 -0
- package/styles/drop-down-list/bootstrap.css +5 -0
- package/styles/drop-down-list/bootstrap4.css +5 -0
- package/styles/drop-down-list/bootstrap5-dark.css +6 -0
- package/styles/drop-down-list/bootstrap5.css +6 -0
- package/styles/drop-down-list/fabric-dark.css +5 -0
- package/styles/drop-down-list/fabric.css +5 -0
- package/styles/drop-down-list/fluent-dark.css +6 -0
- package/styles/drop-down-list/fluent.css +6 -0
- package/styles/drop-down-list/highcontrast-light.css +5 -0
- package/styles/drop-down-list/highcontrast.css +5 -0
- package/styles/drop-down-list/icons/_bootstrap.scss +0 -1
- package/styles/drop-down-list/icons/_fabric.scss +0 -1
- package/styles/drop-down-list/icons/_material.scss +0 -1
- package/styles/drop-down-list/material-dark.css +5 -0
- package/styles/drop-down-list/material.css +5 -0
- package/styles/drop-down-list/tailwind-dark.css +6 -0
- package/styles/drop-down-list/tailwind.css +6 -0
- package/styles/drop-down-tree/_all.scss +1 -1
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +1 -1
- package/styles/drop-down-tree/_bootstrap-definition.scss +1 -1
- package/styles/drop-down-tree/_bootstrap4-definition.scss +1 -1
- package/styles/drop-down-tree/_bootstrap5-definition.scss +2 -2
- package/styles/drop-down-tree/_fabric-dark-definition.scss +1 -1
- package/styles/drop-down-tree/_fabric-definition.scss +2 -2
- package/styles/drop-down-tree/_fluent-definition.scss +2 -2
- package/styles/drop-down-tree/_fusionnew-definition.scss +2 -2
- package/styles/drop-down-tree/_highcontrast-definition.scss +1 -1
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +1 -1
- package/styles/drop-down-tree/_layout.scss +1 -2
- package/styles/drop-down-tree/_material-dark-definition.scss +2 -2
- package/styles/drop-down-tree/_material-definition.scss +2 -2
- package/styles/drop-down-tree/_material3-definition.scss +2 -2
- package/styles/drop-down-tree/_tailwind-definition.scss +2 -2
- package/styles/drop-down-tree/bootstrap-dark.css +4 -0
- package/styles/drop-down-tree/bootstrap.css +4 -0
- package/styles/drop-down-tree/bootstrap4.css +4 -0
- package/styles/drop-down-tree/bootstrap5-dark.css +5 -0
- package/styles/drop-down-tree/bootstrap5.css +5 -0
- package/styles/drop-down-tree/fabric-dark.css +4 -0
- package/styles/drop-down-tree/fabric.css +4 -0
- package/styles/drop-down-tree/fluent-dark.css +5 -0
- package/styles/drop-down-tree/fluent.css +5 -0
- package/styles/drop-down-tree/highcontrast-light.css +4 -0
- package/styles/drop-down-tree/highcontrast.css +4 -0
- package/styles/drop-down-tree/icons/_bootstrap.scss +0 -1
- package/styles/drop-down-tree/icons/_bootstrap4.scss +0 -1
- package/styles/drop-down-tree/icons/_fabric.scss +0 -1
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +0 -1
- package/styles/drop-down-tree/icons/_highcontrast.scss +0 -1
- package/styles/drop-down-tree/icons/_material-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_material.scss +0 -1
- package/styles/drop-down-tree/material-dark.css +4 -0
- package/styles/drop-down-tree/material.css +4 -0
- package/styles/drop-down-tree/tailwind-dark.css +5 -0
- package/styles/drop-down-tree/tailwind.css +5 -0
- package/styles/fabric-dark.css +94 -42
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +94 -42
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +101 -44
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +101 -44
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.css +97 -42
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +97 -42
- package/styles/highcontrast.scss +1 -0
- package/styles/list-box/_all.scss +1 -1
- package/styles/list-box/_bootstrap-dark-definition.scss +2 -0
- package/styles/list-box/_bootstrap-definition.scss +1 -0
- package/styles/list-box/_bootstrap4-definition.scss +1 -0
- package/styles/list-box/_bootstrap5-definition.scss +3 -0
- package/styles/list-box/_fabric-dark-definition.scss +3 -1
- package/styles/list-box/_fabric-definition.scss +1 -0
- package/styles/list-box/_fluent-definition.scss +3 -0
- package/styles/list-box/_fusionnew-definition.scss +1 -0
- package/styles/list-box/_highcontrast-definition.scss +1 -0
- package/styles/list-box/_highcontrast-light-definition.scss +3 -1
- package/styles/list-box/_layout.scss +8 -17
- package/styles/list-box/_material-dark-definition.scss +2 -0
- package/styles/list-box/_material-definition.scss +1 -0
- package/styles/list-box/_material3-definition.scss +1 -0
- package/styles/list-box/_tailwind-definition.scss +3 -0
- package/styles/list-box/_theme.scss +11 -25
- package/styles/list-box/bootstrap-dark.css +12 -33
- package/styles/list-box/bootstrap.css +14 -35
- package/styles/list-box/bootstrap4.css +14 -35
- package/styles/list-box/bootstrap5-dark.css +15 -36
- package/styles/list-box/bootstrap5.css +15 -36
- package/styles/list-box/fabric-dark.css +12 -33
- package/styles/list-box/fabric.css +14 -35
- package/styles/list-box/fluent-dark.css +15 -36
- package/styles/list-box/fluent.css +15 -36
- package/styles/list-box/highcontrast-light.css +12 -33
- package/styles/list-box/highcontrast.css +14 -35
- package/styles/list-box/icons/_bootstrap-dark.scss +2 -2
- package/styles/list-box/icons/_bootstrap.scss +1 -1
- package/styles/list-box/icons/_bootstrap4.scss +1 -1
- package/styles/list-box/icons/_bootstrap5.scss +1 -1
- package/styles/list-box/icons/_fabric-dark.scss +1 -1
- package/styles/list-box/icons/_fabric.scss +1 -1
- package/styles/list-box/icons/_fluent.scss +1 -1
- package/styles/list-box/icons/_fusionnew.scss +1 -1
- package/styles/list-box/icons/_highcontrast-light.scss +1 -1
- package/styles/list-box/icons/_highcontrast.scss +1 -1
- package/styles/list-box/icons/_material-dark.scss +1 -1
- package/styles/list-box/icons/_material.scss +2 -2
- package/styles/list-box/icons/_material3.scss +1 -1
- package/styles/list-box/icons/_tailwind-dark.scss +1 -1
- package/styles/list-box/icons/_tailwind.scss +1 -1
- package/styles/list-box/material-dark.css +12 -33
- package/styles/list-box/material.css +14 -35
- package/styles/list-box/tailwind-dark.css +15 -36
- package/styles/list-box/tailwind.css +15 -36
- package/styles/material-dark.css +94 -42
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +94 -42
- package/styles/material.scss +1 -0
- package/styles/mention/_all.scss +1 -0
- package/styles/mention/_bootstrap-dark-definition.scss +3 -0
- package/styles/mention/_bootstrap-definition.scss +3 -0
- package/styles/mention/_bootstrap4-definition.scss +3 -0
- package/styles/mention/_bootstrap5-dark-definition.scss +1 -0
- package/styles/mention/_bootstrap5-definition.scss +1 -0
- package/styles/mention/_fabric-dark-definition.scss +2 -0
- package/styles/mention/_fabric-definition.scss +3 -0
- package/styles/mention/_fluent-dark-definition.scss +1 -0
- package/styles/mention/_fluent-definition.scss +1 -0
- package/styles/mention/_fusionnew-definition.scss +1 -0
- package/styles/mention/_highcontrast-definition.scss +3 -0
- package/styles/mention/_highcontrast-light-definition.scss +3 -0
- package/styles/mention/_layout.scss +6 -0
- package/styles/mention/_material-dark-definition.scss +3 -0
- package/styles/mention/_material-definition.scss +3 -0
- package/styles/mention/_material3-definition.scss +1 -0
- package/styles/mention/_tailwind-dark-definition.scss +1 -0
- package/styles/mention/_tailwind-definition.scss +1 -0
- package/styles/mention/bootstrap-dark.css +29 -0
- package/styles/mention/bootstrap-dark.scss +6 -0
- package/styles/mention/bootstrap.css +29 -0
- package/styles/mention/bootstrap.scss +6 -0
- package/styles/mention/bootstrap4.css +47 -0
- package/styles/mention/bootstrap4.scss +6 -0
- package/styles/mention/bootstrap5-dark.css +58 -0
- package/styles/mention/bootstrap5-dark.scss +6 -0
- package/styles/mention/bootstrap5.css +58 -0
- package/styles/mention/bootstrap5.scss +6 -0
- package/styles/mention/fabric-dark.css +29 -0
- package/styles/mention/fabric-dark.scss +6 -0
- package/styles/mention/fabric.css +29 -0
- package/styles/mention/fabric.scss +6 -0
- package/styles/mention/fluent-dark.css +58 -0
- package/styles/mention/fluent-dark.scss +6 -0
- package/styles/mention/fluent.css +58 -0
- package/styles/mention/fluent.scss +6 -0
- package/styles/mention/highcontrast-light.css +43 -0
- package/styles/mention/highcontrast-light.scss +6 -0
- package/styles/mention/highcontrast.css +43 -0
- package/styles/mention/highcontrast.scss +6 -0
- package/styles/mention/material-dark.css +29 -0
- package/styles/mention/material-dark.scss +6 -0
- package/styles/mention/material.css +29 -0
- package/styles/mention/material.scss +6 -0
- package/styles/mention/tailwind-dark.css +68 -0
- package/styles/mention/tailwind-dark.scss +6 -0
- package/styles/mention/tailwind.css +68 -0
- package/styles/mention/tailwind.scss +6 -0
- package/styles/multi-select/_all.scss +1 -1
- package/styles/multi-select/_bootstrap-dark-definition.scss +4 -1
- package/styles/multi-select/_bootstrap-definition.scss +2 -0
- package/styles/multi-select/_bootstrap4-definition.scss +5 -2
- package/styles/multi-select/_bootstrap5-definition.scss +2 -2
- package/styles/multi-select/_fabric-dark-definition.scss +5 -3
- package/styles/multi-select/_fabric-definition.scss +4 -2
- package/styles/multi-select/_fluent-definition.scss +2 -1
- package/styles/multi-select/_fusionnew-definition.scss +2 -2
- package/styles/multi-select/_highcontrast-definition.scss +47 -24
- package/styles/multi-select/_highcontrast-light-definition.scss +48 -25
- package/styles/multi-select/_layout.scss +59 -71
- package/styles/multi-select/_material-dark-definition.scss +3 -1
- package/styles/multi-select/_material-definition.scss +1 -0
- package/styles/multi-select/_material3-definition.scss +2 -2
- package/styles/multi-select/_tailwind-definition.scss +2 -3
- package/styles/multi-select/_theme.scss +16 -21
- package/styles/multi-select/bootstrap-dark.css +10 -6
- package/styles/multi-select/bootstrap.css +10 -6
- package/styles/multi-select/bootstrap4.css +10 -6
- package/styles/multi-select/bootstrap5-dark.css +11 -6
- package/styles/multi-select/bootstrap5.css +11 -6
- package/styles/multi-select/fabric-dark.css +10 -6
- package/styles/multi-select/fabric.css +10 -6
- package/styles/multi-select/fluent-dark.css +11 -6
- package/styles/multi-select/fluent.css +11 -6
- package/styles/multi-select/highcontrast-light.css +13 -6
- package/styles/multi-select/highcontrast.css +13 -6
- package/styles/multi-select/icons/_bootstrap5.scss +0 -1
- package/styles/multi-select/icons/_fluent.scss +0 -1
- package/styles/multi-select/icons/_fusionnew.scss +0 -1
- package/styles/multi-select/icons/_material-dark.scss +53 -54
- package/styles/multi-select/icons/_material.scss +53 -54
- package/styles/multi-select/icons/_material3.scss +0 -1
- package/styles/multi-select/icons/_tailwind.scss +0 -1
- package/styles/multi-select/material-dark.css +10 -6
- package/styles/multi-select/material.css +10 -6
- package/styles/multi-select/tailwind-dark.css +11 -6
- package/styles/multi-select/tailwind.css +11 -6
- package/styles/tailwind-dark.css +102 -44
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +102 -44
- package/styles/tailwind.scss +1 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.3.48
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/mention.d.ts
ADDED
package/mention.js
ADDED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-dropdowns@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-dropdowns@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@20.3.47",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-qPiUQ/MULcgK0jSrA3mVYmadOYYd6i3JDnynVCR0RoRkofhK02OhFRwkKbKLXzts2es0dk31hrFriW0BuguJkA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"/@syncfusion/ej2-spreadsheet",
|
|
34
34
|
"/@syncfusion/ej2-vue-dropdowns"
|
|
35
35
|
],
|
|
36
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-20.
|
|
37
|
-
"_shasum": "
|
|
36
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-20.3.47.tgz",
|
|
37
|
+
"_shasum": "95e215e550eebf1af76eb923af3e537f9f61a800",
|
|
38
38
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
39
39
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
40
40
|
"author": {
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
},
|
|
43
43
|
"bundleDependencies": false,
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@syncfusion/ej2-base": "~20.
|
|
46
|
-
"@syncfusion/ej2-data": "~20.
|
|
47
|
-
"@syncfusion/ej2-inputs": "~20.
|
|
48
|
-
"@syncfusion/ej2-lists": "~20.
|
|
49
|
-
"@syncfusion/ej2-navigations": "~20.
|
|
50
|
-
"@syncfusion/ej2-popups": "~20.
|
|
45
|
+
"@syncfusion/ej2-base": "~20.3.48",
|
|
46
|
+
"@syncfusion/ej2-data": "~20.3.47",
|
|
47
|
+
"@syncfusion/ej2-inputs": "~20.3.47",
|
|
48
|
+
"@syncfusion/ej2-lists": "~20.3.47",
|
|
49
|
+
"@syncfusion/ej2-navigations": "~20.3.48",
|
|
50
|
+
"@syncfusion/ej2-popups": "~20.3.48"
|
|
51
51
|
},
|
|
52
52
|
"deprecated": false,
|
|
53
53
|
"description": "Essential JS 2 DropDown Components",
|
|
54
54
|
"devDependencies": {},
|
|
55
|
-
"es2015": "./dist/es6/ej2-dropdowns.
|
|
55
|
+
"es2015": "./dist/es6/ej2-dropdowns.es5.js",
|
|
56
56
|
"keywords": [
|
|
57
57
|
"ej2",
|
|
58
58
|
"syncfusion",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
"module": "./index.js",
|
|
73
73
|
"name": "@syncfusion/ej2-dropdowns",
|
|
74
74
|
"typings": "index.d.ts",
|
|
75
|
-
"version": "20.
|
|
75
|
+
"version": "20.3.48",
|
|
76
76
|
"sideEffects": false
|
|
77
77
|
}
|
|
@@ -21,7 +21,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
/// <reference path='../combo-box/combo-box-model.d.ts'/>
|
|
22
22
|
import { Property, EventHandler, isNullOrUndefined, detach } from '@syncfusion/ej2-base';
|
|
23
23
|
import { Event, Complex } from '@syncfusion/ej2-base';
|
|
24
|
-
import { removeClass,
|
|
24
|
+
import { removeClass, NotifyPropertyChanges } from '@syncfusion/ej2-base';
|
|
25
25
|
import { dropDownListClasses } from '../drop-down-list/drop-down-list';
|
|
26
26
|
import { ComboBox } from '../combo-box/combo-box';
|
|
27
27
|
import { highlightSearch, revertHighlightSearch } from '../common/highlight-search';
|
|
@@ -191,6 +191,7 @@ var AutoComplete = /** @class */ (function (_super) {
|
|
|
191
191
|
};
|
|
192
192
|
AutoComplete.prototype.setSelection = function (li, e) {
|
|
193
193
|
if (!this.isValidLI(li)) {
|
|
194
|
+
this.selectedLI = li;
|
|
194
195
|
return;
|
|
195
196
|
}
|
|
196
197
|
if (!isNullOrUndefined(e) && e.type === 'keydown' && e.action !== 'enter'
|
|
@@ -206,7 +207,6 @@ var AutoComplete = /** @class */ (function (_super) {
|
|
|
206
207
|
e.action === 'home' || e.action === 'end' || e.action === 'pageUp' || e.action === 'pageDown');
|
|
207
208
|
_super.prototype.setAutoFill.call(this, li, isKeyNavigate);
|
|
208
209
|
}
|
|
209
|
-
attributes(this.inputElement, { 'aria-activedescendant': this.selectedLI ? this.selectedLI.id : null });
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
212
|
_super.prototype.setSelection.call(this, li, e);
|
|
@@ -178,15 +178,12 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
178
178
|
};
|
|
179
179
|
ComboBox.prototype.getAriaAttributes = function () {
|
|
180
180
|
var ariaAttributes = {
|
|
181
|
-
'aria-owns': this.element.id + '_options',
|
|
182
181
|
'role': 'combobox',
|
|
183
182
|
'aria-autocomplete': 'both',
|
|
184
183
|
'aria-labelledby': this.hiddenElement.id,
|
|
185
|
-
'aria-hasPopup': 'true',
|
|
186
184
|
'aria-expanded': 'false',
|
|
187
185
|
'aria-readonly': this.readonly.toString(),
|
|
188
186
|
'autocomplete': 'off',
|
|
189
|
-
'autocorrect': 'off',
|
|
190
187
|
'autocapitalize': 'off',
|
|
191
188
|
'spellcheck': 'false'
|
|
192
189
|
};
|
|
@@ -203,6 +203,8 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
203
203
|
}[] | string[] | boolean[] | number[];
|
|
204
204
|
protected isGroupChecking: boolean;
|
|
205
205
|
protected itemTemplateId: string;
|
|
206
|
+
protected displayTemplateId: string;
|
|
207
|
+
protected spinnerTemplateId: string;
|
|
206
208
|
protected valueTemplateId: string;
|
|
207
209
|
protected groupTemplateId: string;
|
|
208
210
|
protected headerTemplateId: string;
|
|
@@ -61,6 +61,8 @@ export var dropDownBaseClasses = {
|
|
|
61
61
|
grouping: 'e-dd-group'
|
|
62
62
|
};
|
|
63
63
|
var ITEMTEMPLATE_PROPERTY = 'ItemTemplate';
|
|
64
|
+
var DISPLAYTEMPLATE_PROPERTY = 'DisplayTemplate';
|
|
65
|
+
var SPINNERTEMPLATE_PROPERTY = 'SpinnerTemplate';
|
|
64
66
|
var VALUETEMPLATE_PROPERTY = 'ValueTemplate';
|
|
65
67
|
var GROUPTEMPLATE_PROPERTY = 'GroupTemplate';
|
|
66
68
|
var HEADERTEMPLATE_PROPERTY = 'HeaderTemplate';
|
|
@@ -258,7 +260,8 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
258
260
|
this.l10n = componentLocale;
|
|
259
261
|
}
|
|
260
262
|
else {
|
|
261
|
-
this.l10n = new L10n(this.getModuleName() === 'listbox' ? 'listbox' :
|
|
263
|
+
this.l10n = new L10n(this.getModuleName() === 'listbox' ? 'listbox' :
|
|
264
|
+
this.getModuleName() === 'mention' ? 'mention' : 'dropdowns', l10nLocale, this.locale);
|
|
262
265
|
}
|
|
263
266
|
var content = actionFailure ?
|
|
264
267
|
this.l10n.getConstant('actionFailureTemplate') : this.l10n.getConstant('noRecordsTemplate');
|
|
@@ -267,6 +270,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
267
270
|
liElem.textContent = content;
|
|
268
271
|
ele.appendChild(liElem);
|
|
269
272
|
liElem.classList.add('e-list-nrt');
|
|
273
|
+
liElem.setAttribute('role', 'option');
|
|
270
274
|
}
|
|
271
275
|
else {
|
|
272
276
|
ele.innerHTML = content;
|
|
@@ -360,7 +364,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
360
364
|
* @returns {void}
|
|
361
365
|
*/
|
|
362
366
|
DropDownBase.prototype.updateDataAttribute = function (value) {
|
|
363
|
-
var invalidAttr = ['class', 'style', 'id', 'type'];
|
|
367
|
+
var invalidAttr = ['class', 'style', 'id', 'type', 'aria-expanded', 'aria-autocomplete', 'aria-readonly'];
|
|
364
368
|
var attr = {};
|
|
365
369
|
for (var a = 0; a < this.element.attributes.length; a++) {
|
|
366
370
|
if (invalidAttr.indexOf(this.element.attributes[a].name) === -1 &&
|
|
@@ -428,6 +432,8 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
428
432
|
this.isRequested = false;
|
|
429
433
|
this.isDataFetched = false;
|
|
430
434
|
this.itemTemplateId = "" + this.element.id + ITEMTEMPLATE_PROPERTY;
|
|
435
|
+
this.displayTemplateId = "" + this.element.id + DISPLAYTEMPLATE_PROPERTY;
|
|
436
|
+
this.spinnerTemplateId = "" + this.element.id + SPINNERTEMPLATE_PROPERTY;
|
|
431
437
|
this.valueTemplateId = "" + this.element.id + VALUETEMPLATE_PROPERTY;
|
|
432
438
|
this.groupTemplateId = "" + this.element.id + GROUPTEMPLATE_PROPERTY;
|
|
433
439
|
this.headerTemplateId = "" + this.element.id + HEADERTEMPLATE_PROPERTY;
|
|
@@ -104,6 +104,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
104
104
|
protected isListSearched: boolean;
|
|
105
105
|
protected preventChange: boolean;
|
|
106
106
|
protected isAngular: boolean;
|
|
107
|
+
protected selectedElementID: string;
|
|
107
108
|
/**
|
|
108
109
|
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
109
110
|
*
|
|
@@ -255,8 +255,8 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
255
255
|
this.inputWrapper.container.setAttribute('style', this.htmlAttributes[htmlAttr]);
|
|
256
256
|
}
|
|
257
257
|
else {
|
|
258
|
-
var defaultAttr = ['title', 'id', 'placeholder',
|
|
259
|
-
'role', '
|
|
258
|
+
var defaultAttr = ['title', 'id', 'placeholder',
|
|
259
|
+
'role', 'autocomplete', 'autocapitalize', 'spellcheck', 'minlength', 'maxlength'];
|
|
260
260
|
var validateAttr = ['name', 'required'];
|
|
261
261
|
if (this.getModuleName() === 'autocomplete' || this.getModuleName() === 'combobox') {
|
|
262
262
|
defaultAttr.push('tabindex');
|
|
@@ -285,11 +285,8 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
285
285
|
DropDownList.prototype.getAriaAttributes = function () {
|
|
286
286
|
return {
|
|
287
287
|
'aria-disabled': 'false',
|
|
288
|
-
'aria-owns': this.element.id + '_options',
|
|
289
288
|
'role': 'combobox',
|
|
290
|
-
'aria-haspopup': 'true',
|
|
291
289
|
'aria-expanded': 'false',
|
|
292
|
-
'aria-activedescendant': 'null',
|
|
293
290
|
'aria-live': 'polite',
|
|
294
291
|
'aria-labelledby': this.hiddenElement.id
|
|
295
292
|
};
|
|
@@ -1011,10 +1008,6 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1011
1008
|
if (this.setValue(e)) {
|
|
1012
1009
|
return;
|
|
1013
1010
|
}
|
|
1014
|
-
attributes(this.targetElement(), { 'aria-activedescendant': this.selectedLI ? this.selectedLI.id : null });
|
|
1015
|
-
if (this.isFilterLayout() && this.filterInput) {
|
|
1016
|
-
attributes(this.filterInput, { 'aria-activedescendant': this.selectedLI ? this.selectedLI.id : null });
|
|
1017
|
-
}
|
|
1018
1011
|
if ((!this.isPopupOpen && !isNullOrUndefined(li)) || (this.isPopupOpen && !isNullOrUndefined(e) &&
|
|
1019
1012
|
(e.type !== 'keydown' || e.type === 'keydown' && e.action === 'enter'))) {
|
|
1020
1013
|
this.isSelectCustom = false;
|
|
@@ -1025,7 +1018,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1025
1018
|
}
|
|
1026
1019
|
if (Browser.info.name !== 'mozilla') {
|
|
1027
1020
|
attributes(this.inputElement, { 'aria-label': this.inputElement.value });
|
|
1028
|
-
attributes(this.targetElement(), { 'aria-describedby': this.inputElement.id });
|
|
1021
|
+
attributes(this.targetElement(), { 'aria-describedby': this.inputElement.id != '' ? this.inputElement.id : this.element.id });
|
|
1029
1022
|
this.targetElement().removeAttribute('aria-live');
|
|
1030
1023
|
}
|
|
1031
1024
|
};
|
|
@@ -1410,11 +1403,8 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1410
1403
|
prepend([parentElement], popupElement);
|
|
1411
1404
|
attributes(this.filterInput, {
|
|
1412
1405
|
'aria-disabled': 'false',
|
|
1413
|
-
'
|
|
1414
|
-
'role': 'listbox',
|
|
1415
|
-
'aria-activedescendant': this.selectedLI ? this.selectedLI.id : null,
|
|
1406
|
+
'role': 'combobox',
|
|
1416
1407
|
'autocomplete': 'off',
|
|
1417
|
-
'autocorrect': 'off',
|
|
1418
1408
|
'autocapitalize': 'off',
|
|
1419
1409
|
'spellcheck': 'false'
|
|
1420
1410
|
});
|
|
@@ -1715,7 +1705,12 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1715
1705
|
_this.unWireListEvents();
|
|
1716
1706
|
_this.wireListEvents();
|
|
1717
1707
|
}
|
|
1718
|
-
|
|
1708
|
+
_this.selectedElementID = _this.selectedLI ? _this.selectedLI.id : null;
|
|
1709
|
+
attributes(_this.targetElement(), { 'aria-expanded': 'true', 'aria-owns': _this.inputElement.id + '_options', 'aria-activedescendant': _this.selectedElementID });
|
|
1710
|
+
_this.inputElement.setAttribute('aria-expanded', 'true');
|
|
1711
|
+
if (_this.selectedElementID == null) {
|
|
1712
|
+
_this.targetElement().removeAttribute('aria-activedescendant');
|
|
1713
|
+
}
|
|
1719
1714
|
var inputParent = _this.isFiltering() ? _this.filterInput.parentElement : _this.inputWrapper.container;
|
|
1720
1715
|
addClass([inputParent], [dropDownListClasses.inputFocus]);
|
|
1721
1716
|
var animModel = { name: 'FadeIn', duration: 100 };
|
|
@@ -1991,6 +1986,9 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1991
1986
|
this.filterInput = null;
|
|
1992
1987
|
}
|
|
1993
1988
|
attributes(this.targetElement(), { 'aria-expanded': 'false' });
|
|
1989
|
+
this.inputElement.setAttribute('aria-expanded', 'false');
|
|
1990
|
+
this.targetElement().removeAttribute('aria-owns');
|
|
1991
|
+
this.targetElement().removeAttribute('aria-activedescendant');
|
|
1994
1992
|
this.inputWrapper.container.classList.remove(dropDownListClasses.iconAnimation);
|
|
1995
1993
|
if (this.isFiltering()) {
|
|
1996
1994
|
this.actionCompleteData.isUpdated = false;
|
|
@@ -2048,6 +2046,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2048
2046
|
if (isNullOrUndefined(this.inputElement.getAttribute('type'))) {
|
|
2049
2047
|
this.inputElement.setAttribute('type', 'text');
|
|
2050
2048
|
}
|
|
2049
|
+
this.inputElement.setAttribute('aria-expanded', 'false');
|
|
2051
2050
|
}
|
|
2052
2051
|
else {
|
|
2053
2052
|
this.inputElement = this.createElement('input', { attrs: { role: 'combobox', type: 'text' } });
|
|
@@ -2090,8 +2089,8 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2090
2089
|
this.inputWrapper.container.style.width = formatUnit(this.width);
|
|
2091
2090
|
this.inputWrapper.container.classList.add('e-ddl');
|
|
2092
2091
|
Input.calculateWidth(this.inputElement, this.inputWrapper.container);
|
|
2093
|
-
if (!isNullOrUndefined(this.inputWrapper
|
|
2094
|
-
this.inputWrapper.container.getElementsByClassName('e-float-text-
|
|
2092
|
+
if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && this.inputWrapper.container.getElementsByClassName('e-float-text-content')[0] && this.floatLabelType !== 'Never') {
|
|
2093
|
+
this.inputWrapper.container.getElementsByClassName('e-float-text-content')[0].classList.add('e-icon');
|
|
2095
2094
|
}
|
|
2096
2095
|
this.wireEvent();
|
|
2097
2096
|
this.tabIndex = this.element.hasAttribute('tabindex') ? this.element.getAttribute('tabindex') : '0';
|
|
@@ -2577,7 +2576,10 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2577
2576
|
if (!isNullOrUndefined(this.list.children[0]) || this.list.classList.contains(dropDownBaseClasses.noData)) {
|
|
2578
2577
|
this.renderPopup(e);
|
|
2579
2578
|
}
|
|
2580
|
-
attributes(this.targetElement(), { 'aria-activedescendant': this.
|
|
2579
|
+
attributes(this.targetElement(), { 'aria-activedescendant': this.selectedElementID });
|
|
2580
|
+
if (this.selectedElementID == null) {
|
|
2581
|
+
this.targetElement().removeAttribute('aria-activedescendant');
|
|
2582
|
+
}
|
|
2581
2583
|
};
|
|
2582
2584
|
DropDownList.prototype.renderHightSearch = function () {
|
|
2583
2585
|
// update high light search
|
|
@@ -2683,10 +2685,9 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2683
2685
|
return;
|
|
2684
2686
|
}
|
|
2685
2687
|
if (this.inputElement) {
|
|
2686
|
-
var attrArray = ['readonly', 'aria-disabled', 'aria-
|
|
2687
|
-
'
|
|
2688
|
-
'aria-
|
|
2689
|
-
'autocapitalize', 'spellcheck', 'aria-autocomplete', 'aria-live', 'aria-describedby', 'aria-label'];
|
|
2688
|
+
var attrArray = ['readonly', 'aria-disabled', 'placeholder', 'aria-labelledby',
|
|
2689
|
+
'aria-expanded', 'autocomplete', 'aria-readonly', 'autocapitalize',
|
|
2690
|
+
'spellcheck', 'aria-autocomplete', 'aria-live', 'aria-describedby', 'aria-label'];
|
|
2690
2691
|
for (var i = 0; i < attrArray.length; i++) {
|
|
2691
2692
|
this.inputElement.removeAttribute(attrArray[i]);
|
|
2692
2693
|
}
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
package/src/list-box/list-box.js
CHANGED
|
@@ -164,7 +164,7 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
164
164
|
removeClass([this.list], [dropDownBaseClasses.content, dropDownBaseClasses.root]);
|
|
165
165
|
this.validationAttribute(this.element, hiddenSelect);
|
|
166
166
|
this.list.setAttribute('role', 'listbox');
|
|
167
|
-
attributes(this.list, { 'role': 'listbox', 'aria-multiselectable': this.selectionSettings.mode === 'Multiple' ? 'true' : 'false' });
|
|
167
|
+
attributes(this.list, { 'role': 'listbox', 'aria-label': 'listbox', 'aria-multiselectable': this.selectionSettings.mode === 'Multiple' ? 'true' : 'false' });
|
|
168
168
|
this.updateSelectionSettings();
|
|
169
169
|
};
|
|
170
170
|
ListBox.prototype.updateSelectionSettings = function () {
|
|
@@ -560,10 +560,10 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
560
560
|
sortedData.splice(destIdx, 0, droppedData);
|
|
561
561
|
liColl.splice(destIdx, 0, fLiColl_1.splice(srcIdx, 1)[0]);
|
|
562
562
|
if (!value) {
|
|
563
|
-
var
|
|
564
|
-
for (var i = 0; i <
|
|
565
|
-
if (
|
|
566
|
-
li_1 =
|
|
563
|
+
var liCollElem_1 = _this.getItems();
|
|
564
|
+
for (var i = 0; i < liCollElem_1.length; i++) {
|
|
565
|
+
if (liCollElem_1[i].getAttribute('data-value') === null && liCollElem_1[i].classList.contains('e-list-item')) {
|
|
566
|
+
li_1 = liCollElem_1[i];
|
|
567
567
|
break;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
@@ -613,6 +613,12 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
613
613
|
dragArgs = extend(dragArgs, { destination: dragArgs1 });
|
|
614
614
|
}
|
|
615
615
|
this.trigger('drop', dragArgs);
|
|
616
|
+
var liCollElem = dragArgs.elements;
|
|
617
|
+
if (liCollElem.length) {
|
|
618
|
+
for (var i = 0; i < liCollElem.length; i++) {
|
|
619
|
+
liCollElem[i].classList.remove('e-grabbed');
|
|
620
|
+
}
|
|
621
|
+
}
|
|
616
622
|
};
|
|
617
623
|
ListBox.prototype.updateListItems = function (sourceElem, destElem) {
|
|
618
624
|
var i = 0;
|
|
@@ -1612,15 +1618,14 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
1612
1618
|
};
|
|
1613
1619
|
ListBox.prototype.getGrabbedItems = function () {
|
|
1614
1620
|
for (var i = 0; i < this.value.length; i++) {
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
liColl[
|
|
1621
|
+
var liColl = this.list.querySelectorAll('[aria-selected="true"]');
|
|
1622
|
+
for (var j = 0; j < liColl.length; j++) {
|
|
1623
|
+
if (this.value[i] === liColl[j].textContent) {
|
|
1624
|
+
liColl[j].classList.add('e-grabbed');
|
|
1619
1625
|
}
|
|
1620
|
-
break;
|
|
1621
1626
|
}
|
|
1622
1627
|
}
|
|
1623
|
-
var elems = Array.prototype.slice.call(this.element.querySelectorAll('.e-grabbed'));
|
|
1628
|
+
var elems = Array.prototype.slice.call(this.element.nextElementSibling.querySelectorAll('.e-grabbed'));
|
|
1624
1629
|
return elems;
|
|
1625
1630
|
};
|
|
1626
1631
|
ListBox.prototype.getDragArgs = function (args, isDragEnd) {
|