@syncfusion/ej2-dropdowns 20.2.50 → 20.3.47
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 +14 -28
- 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 +1406 -49
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +1432 -53
- 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 +6 -1
- 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 +451 -0
- package/src/mention/mention.js +1369 -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 +18 -10
- 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.47
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@18.51.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-kxXhjbBwf2fWZ+u/3/Il5zx4gzU1XMJIXxn+TN3UuA+qky6sacaCGrNwlqVch4OE5o2x7XXS+KIWqBj1gGN4GQ==",
|
|
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-
|
|
37
|
-
"_shasum": "
|
|
36
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-18.51.0.tgz",
|
|
37
|
+
"_shasum": "29ee920ce71820aa1c38fcc934692dd51faa7c2d",
|
|
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.47",
|
|
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.47",
|
|
50
|
+
"@syncfusion/ej2-popups": "~20.3.47"
|
|
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.47",
|
|
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';
|
|
@@ -267,6 +269,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
267
269
|
liElem.textContent = content;
|
|
268
270
|
ele.appendChild(liElem);
|
|
269
271
|
liElem.classList.add('e-list-nrt');
|
|
272
|
+
liElem.setAttribute('role', 'option');
|
|
270
273
|
}
|
|
271
274
|
else {
|
|
272
275
|
ele.innerHTML = content;
|
|
@@ -360,7 +363,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
360
363
|
* @returns {void}
|
|
361
364
|
*/
|
|
362
365
|
DropDownBase.prototype.updateDataAttribute = function (value) {
|
|
363
|
-
var invalidAttr = ['class', 'style', 'id', 'type'];
|
|
366
|
+
var invalidAttr = ['class', 'style', 'id', 'type', 'aria-expanded', 'aria-autocomplete', 'aria-readonly'];
|
|
364
367
|
var attr = {};
|
|
365
368
|
for (var a = 0; a < this.element.attributes.length; a++) {
|
|
366
369
|
if (invalidAttr.indexOf(this.element.attributes[a].name) === -1 &&
|
|
@@ -428,6 +431,8 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
428
431
|
this.isRequested = false;
|
|
429
432
|
this.isDataFetched = false;
|
|
430
433
|
this.itemTemplateId = "" + this.element.id + ITEMTEMPLATE_PROPERTY;
|
|
434
|
+
this.displayTemplateId = "" + this.element.id + DISPLAYTEMPLATE_PROPERTY;
|
|
435
|
+
this.spinnerTemplateId = "" + this.element.id + SPINNERTEMPLATE_PROPERTY;
|
|
431
436
|
this.valueTemplateId = "" + this.element.id + VALUETEMPLATE_PROPERTY;
|
|
432
437
|
this.groupTemplateId = "" + this.element.id + GROUPTEMPLATE_PROPERTY;
|
|
433
438
|
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) {
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { KeyboardEvents, compile, Property, EventHandler, Animation, AnimationModel, KeyboardEventArgs, formatUnit, append } from '@syncfusion/ej2-base';import { isNullOrUndefined, detach, Event, EmitType, Complex, addClass, removeClass, closest, isUndefined, getValue, NotifyPropertyChanges, Browser } from '@syncfusion/ej2-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { FieldSettings, FilteringEventArgs, FilterType } from '../drop-down-base/drop-down-base';import { DropDownBase, PopupEventArgs, SelectEventArgs, BeforeOpenEventArgs, dropDownBaseClasses } from '../drop-down-base/drop-down-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { Popup, isCollide, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { highlightSearch, revertHighlightSearch } from '../common/highlight-search';
|
|
2
|
+
import {MentionChangeEventArgs} from "./mention";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Interface for a class Mention
|
|
6
|
+
*/
|
|
7
|
+
export interface MentionModel {
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Defines class/multiple classes separated by a space for the mention component.
|
|
11
|
+
*
|
|
12
|
+
* @default null
|
|
13
|
+
*/
|
|
14
|
+
cssClass?: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the symbol or single character which triggers the search action in the mention component.
|
|
18
|
+
*
|
|
19
|
+
* @default '@'
|
|
20
|
+
* @aspType char
|
|
21
|
+
*/
|
|
22
|
+
mentionChar?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Specifies whether to show the configured mentionChar with the text.
|
|
26
|
+
*
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
showMentionChar?: boolean;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Defines whether to allow the space in the middle of mention while searching.
|
|
33
|
+
* When disabled, the space ends the mention component search.
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
allowSpaces?: boolean;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the custom suffix to append along with the mention component selected item while inserting.
|
|
41
|
+
* You can append space or new line character as suffix.
|
|
42
|
+
*
|
|
43
|
+
* @default null
|
|
44
|
+
*/
|
|
45
|
+
suffixText?: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the number of items in the suggestion list.
|
|
49
|
+
*
|
|
50
|
+
* @default 25
|
|
51
|
+
* @aspType int
|
|
52
|
+
*/
|
|
53
|
+
suggestionCount?: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the minimum length of user input to initiate the search action.
|
|
57
|
+
* The default value is zero, where suggestion the list opened as soon as the user inputs the mention character.
|
|
58
|
+
*
|
|
59
|
+
* @default 0
|
|
60
|
+
* @aspType int
|
|
61
|
+
*/
|
|
62
|
+
minLength?: number;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the order to sort the data source. The possible sort orders are,
|
|
66
|
+
* * `None` - The data source is not sorted.
|
|
67
|
+
* * `Ascending` - The data source is sorted in ascending order.
|
|
68
|
+
* * `Descending` - The data source is sorted in descending order.
|
|
69
|
+
*
|
|
70
|
+
* @default 'None'
|
|
71
|
+
*/
|
|
72
|
+
sortOrder?: SortOrder;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Specifies whether the searches are case sensitive to find suggestions.
|
|
76
|
+
*
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
ignoreCase?: boolean;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Specifies whether to highlight the searched characters on suggestion list items.
|
|
83
|
+
*
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
highlight?: boolean;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
|
|
90
|
+
*
|
|
91
|
+
* @default 'en-US'
|
|
92
|
+
*/
|
|
93
|
+
locale?: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Specifies the width of the popup in pixels/number/percentage. The number value is considered as pixels.
|
|
97
|
+
*
|
|
98
|
+
* @default 'auto'
|
|
99
|
+
* @aspType string
|
|
100
|
+
*/
|
|
101
|
+
popupWidth?: string | number;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Specifies the height of the popup in pixels/number/percentage. The number value is considered as pixels.
|
|
105
|
+
*
|
|
106
|
+
* @default '300px'
|
|
107
|
+
* @aspType string
|
|
108
|
+
*/
|
|
109
|
+
popupHeight?: string | number;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Specifies the template for the selected value from the suggestion list.
|
|
113
|
+
*
|
|
114
|
+
* @default null
|
|
115
|
+
*/
|
|
116
|
+
displayTemplate?: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Specifies the template for the suggestion list.
|
|
120
|
+
*
|
|
121
|
+
* @default null
|
|
122
|
+
*/
|
|
123
|
+
itemTemplate?: string;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Specifies the template for no matched item which is displayed when there are no items to display in the suggestion list.
|
|
127
|
+
*
|
|
128
|
+
* @default 'No records found'
|
|
129
|
+
*/
|
|
130
|
+
noRecordsTemplate?: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Specifies the template for showing until data is loaded in the popup.
|
|
134
|
+
*
|
|
135
|
+
* @default null
|
|
136
|
+
*/
|
|
137
|
+
spinnerTemplate?: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Specifies the target selector where the mention component needs to be displayed.
|
|
141
|
+
* The mention component listens to the target's user input and displays suggestions as soon as the user inputs the mention character.
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
target?: HTMLElement | string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Accepts the list items either through local or remote service and binds it to the component.
|
|
148
|
+
* It can be an array of JSON Objects or an instance of `DataManager`.
|
|
149
|
+
*
|
|
150
|
+
* @default []
|
|
151
|
+
*/
|
|
152
|
+
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Specifies the external query, which can be customized and filtered against the data source.
|
|
156
|
+
*
|
|
157
|
+
* @default null
|
|
158
|
+
*/
|
|
159
|
+
query?: Query;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Determines on which filter type, the component needs to be considered on search action.
|
|
163
|
+
* and its supported data types are
|
|
164
|
+
*
|
|
165
|
+
* <table>
|
|
166
|
+
* <tr>
|
|
167
|
+
* <td colSpan=1 rowSpan=1>
|
|
168
|
+
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
169
|
+
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
170
|
+
* Supported Types<br/></td></tr>
|
|
171
|
+
* <tr>
|
|
172
|
+
* <td colSpan=1 rowSpan=1>
|
|
173
|
+
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
174
|
+
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
175
|
+
* String<br/></td></tr>
|
|
176
|
+
* <tr>
|
|
177
|
+
* <td colSpan=1 rowSpan=1>
|
|
178
|
+
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
179
|
+
* Checks whether a value ends with a specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
180
|
+
* <br/>String<br/></td></tr>
|
|
181
|
+
* <tr>
|
|
182
|
+
* <td colSpan=1 rowSpan=1>
|
|
183
|
+
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
184
|
+
* Checks whether a value contains with a specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
185
|
+
* <br/>String<br/></td></tr>
|
|
186
|
+
* </table>
|
|
187
|
+
*
|
|
188
|
+
* The default value set to `Contains`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
189
|
+
*
|
|
190
|
+
* @default 'Contains'
|
|
191
|
+
*/
|
|
192
|
+
filterType?: FilterType;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Defines the fields of the Mention to map with the data source and binds the data to the component.
|
|
196
|
+
* * text - Specifies the text that maps the text filed from the data source for each list item.
|
|
197
|
+
* * value - Specifies the value that maps the value filed from the data source for each list item.
|
|
198
|
+
* * iconCss - Specifies the iconCss that map the icon class filed from the data source for each list item.
|
|
199
|
+
* * groupBy - Specifies the groupBy that groups the list items with its related items by mapping groupBy field.
|
|
200
|
+
*
|
|
201
|
+
* @default
|
|
202
|
+
* {
|
|
203
|
+
* text: null, value: null, iconCss: null, groupBy: null
|
|
204
|
+
* }
|
|
205
|
+
*/
|
|
206
|
+
fields?: FieldSettingsModel;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Triggers before fetching data from the remote server.
|
|
210
|
+
*
|
|
211
|
+
* @event actionBegin
|
|
212
|
+
*/
|
|
213
|
+
actionBegin?: EmitType<Object>;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Triggers after data is fetched successfully from the remote server.
|
|
217
|
+
*
|
|
218
|
+
* @event actionComplete
|
|
219
|
+
*/
|
|
220
|
+
actionComplete?: EmitType<Object>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Triggers when the data fetch request from the remote server fails.
|
|
224
|
+
*
|
|
225
|
+
* @event actionFailure
|
|
226
|
+
*/
|
|
227
|
+
actionFailure?: EmitType<Object>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Triggers when an item in a popup is selected and updated in an editor.
|
|
231
|
+
*
|
|
232
|
+
* @event change
|
|
233
|
+
*/
|
|
234
|
+
change?: EmitType<MentionChangeEventArgs>;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Triggers before the popup is opened.
|
|
238
|
+
*
|
|
239
|
+
* @event beforeOpen
|
|
240
|
+
*/
|
|
241
|
+
beforeOpen?: EmitType<PopupEventArgs>;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Triggers after the popup opens.
|
|
245
|
+
*
|
|
246
|
+
* @event opened
|
|
247
|
+
*/
|
|
248
|
+
opened?: EmitType<PopupEventArgs>;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Triggers after the popup is closed.
|
|
252
|
+
*
|
|
253
|
+
* @event closed
|
|
254
|
+
*/
|
|
255
|
+
closed?: EmitType<PopupEventArgs>;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Triggers when an item in the popup is selected by the user either with the mouse/tap or with keyboard navigation.
|
|
259
|
+
*
|
|
260
|
+
* @event select
|
|
261
|
+
*/
|
|
262
|
+
select?: EmitType<SelectEventArgs>;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Triggers on typing a character in the component.
|
|
266
|
+
*
|
|
267
|
+
* @event filtering
|
|
268
|
+
*/
|
|
269
|
+
filtering?: EmitType<FilteringEventArgs>;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Triggers when the component is created.
|
|
273
|
+
*
|
|
274
|
+
* @event created
|
|
275
|
+
*/
|
|
276
|
+
created?: EmitType<Object>;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Triggers when the component is destroyed.
|
|
280
|
+
*
|
|
281
|
+
* @event destroyed
|
|
282
|
+
*/
|
|
283
|
+
destroyed?: EmitType<Object>;
|
|
284
|
+
|
|
285
|
+
}
|