@syncfusion/ej2-dropdowns 29.2.11-81740 → 29.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +261 -0
- package/{ReadMe.md → README.md} +217 -217
- package/dist/ej2-dropdowns.min.js +10 -0
- package/dist/ej2-dropdowns.umd.min.js +10 -1
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +69 -80
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +226 -237
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +11 -0
- package/dist/global/ej2-dropdowns.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- package/helpers/e2e/autocomplete.d.ts +16 -0
- package/helpers/e2e/autocomplete.js +60 -0
- package/helpers/e2e/combobox.d.ts +17 -0
- package/helpers/e2e/combobox.js +63 -0
- package/helpers/e2e/dropdownlist.d.ts +20 -0
- package/helpers/e2e/dropdownlist.js +72 -0
- package/helpers/e2e/index.d.ts +4 -0
- package/helpers/e2e/index.js +11 -0
- package/helpers/e2e/listboxHelper.d.ts +22 -0
- package/helpers/e2e/listboxHelper.js +56 -0
- package/helpers/e2e/multiselect.d.ts +31 -0
- package/helpers/e2e/multiselect.js +105 -0
- package/license +2 -2
- package/package.json +36 -36
- package/src/auto-complete/auto-complete-model.d.ts +190 -190
- package/src/auto-complete/auto-complete.d.ts +12 -12
- package/src/auto-complete/auto-complete.js +21 -21
- package/src/combo-box/combo-box-model.d.ts +232 -232
- package/src/combo-box/combo-box.d.ts +26 -26
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/incremental-search.js +1 -1
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +205 -205
- package/src/drop-down-base/drop-down-base.d.ts +15 -15
- package/src/drop-down-base/drop-down-base.js +20 -20
- package/src/drop-down-list/drop-down-list-model.d.ts +310 -310
- package/src/drop-down-list/drop-down-list.d.ts +5 -5
- package/src/drop-down-list/drop-down-list.js +21 -21
- package/src/drop-down-tree/drop-down-tree-model.d.ts +493 -493
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.js +19 -19
- package/src/list-box/list-box-model.d.ts +237 -237
- package/src/list-box/list-box.d.ts +2 -2
- package/src/list-box/list-box.js +19 -19
- package/src/mention/mention-model.d.ts +272 -272
- package/src/mention/mention.d.ts +1 -1
- package/src/mention/mention.js +27 -29
- package/src/multi-select/multi-select-model.d.ts +564 -564
- package/src/multi-select/multi-select.d.ts +1 -1
- package/src/multi-select/multi-select.js +25 -34
- package/styles/auto-complete/_all.scss +1 -1
- package/styles/auto-complete/_bds-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
- package/styles/auto-complete/_bootstrap-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
- package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap5.3-definition.scss +2 -2
- package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
- package/styles/auto-complete/_fabric-definition.scss +2 -2
- package/styles/auto-complete/_fluent-definition.scss +2 -2
- package/styles/auto-complete/_fluent2-definition.scss +2 -2
- package/styles/auto-complete/_fusionnew-definition.scss +2 -2
- package/styles/auto-complete/_highcontrast-definition.scss +2 -2
- package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
- package/styles/auto-complete/_material-dark-definition.scss +2 -2
- package/styles/auto-complete/_material-definition.scss +2 -2
- package/styles/auto-complete/_material3-definition.scss +2 -2
- package/styles/auto-complete/_tailwind-definition.scss +2 -2
- package/styles/auto-complete/_tailwind3-definition.scss +2 -2
- package/styles/auto-complete/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/combo-box/_all.scss +1 -1
- package/styles/combo-box/_bds-definition.scss +2 -2
- package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
- package/styles/combo-box/_bootstrap-definition.scss +2 -2
- package/styles/combo-box/_bootstrap4-definition.scss +11 -11
- package/styles/combo-box/_bootstrap5-definition.scss +2 -2
- package/styles/combo-box/_bootstrap5.3-definition.scss +2 -2
- package/styles/combo-box/_fabric-dark-definition.scss +2 -2
- package/styles/combo-box/_fabric-definition.scss +2 -2
- package/styles/combo-box/_fluent-definition.scss +2 -2
- package/styles/combo-box/_fluent2-definition.scss +2 -2
- package/styles/combo-box/_fusionnew-definition.scss +2 -2
- package/styles/combo-box/_highcontrast-definition.scss +2 -2
- package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
- package/styles/combo-box/_material-dark-definition.scss +2 -2
- package/styles/combo-box/_material-definition.scss +2 -2
- package/styles/combo-box/_material3-definition.scss +2 -2
- package/styles/combo-box/_tailwind-definition.scss +2 -2
- package/styles/combo-box/_tailwind3-definition.scss +2 -2
- package/styles/combo-box/material3-dark.scss +1 -1
- package/styles/combo-box/material3.scss +1 -1
- package/styles/drop-down-base/_all.scss +2 -2
- package/styles/drop-down-base/_bds-definition.scss +112 -112
- package/styles/drop-down-base/_bigger.scss +198 -198
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +80 -80
- package/styles/drop-down-base/_bootstrap-definition.scss +78 -78
- package/styles/drop-down-base/_bootstrap4-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap5-definition.scss +98 -98
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +98 -98
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +81 -81
- package/styles/drop-down-base/_fabric-definition.scss +79 -79
- package/styles/drop-down-base/_fluent-definition.scss +102 -102
- package/styles/drop-down-base/_fluent2-definition.scss +113 -113
- package/styles/drop-down-base/_fusionnew-definition.scss +98 -98
- package/styles/drop-down-base/_highcontrast-definition.scss +96 -96
- package/styles/drop-down-base/_highcontrast-light-definition.scss +96 -96
- package/styles/drop-down-base/_layout.scss +148 -148
- package/styles/drop-down-base/_material-dark-definition.scss +82 -82
- package/styles/drop-down-base/_material-definition.scss +81 -81
- package/styles/drop-down-base/_material3-definition.scss +73 -73
- package/styles/drop-down-base/_tailwind-definition.scss +107 -107
- package/styles/drop-down-base/_tailwind3-definition.scss +98 -98
- package/styles/drop-down-base/_theme.scss +303 -303
- package/styles/drop-down-base/material3-dark.scss +1 -1
- package/styles/drop-down-base/material3.scss +1 -1
- package/styles/drop-down-list/_all.scss +3 -3
- package/styles/drop-down-list/_bds-definition.scss +100 -100
- package/styles/drop-down-list/_bigger.scss +713 -713
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +94 -94
- package/styles/drop-down-list/_bootstrap-definition.scss +93 -93
- package/styles/drop-down-list/_bootstrap4-definition.scss +122 -122
- package/styles/drop-down-list/_bootstrap5-definition.scss +135 -135
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +136 -136
- package/styles/drop-down-list/_fabric-dark-definition.scss +72 -72
- package/styles/drop-down-list/_fabric-definition.scss +69 -69
- package/styles/drop-down-list/_fluent-definition.scss +128 -128
- package/styles/drop-down-list/_fluent2-definition.scss +101 -101
- package/styles/drop-down-list/_fusionnew-definition.scss +134 -134
- package/styles/drop-down-list/_highcontrast-definition.scss +83 -83
- package/styles/drop-down-list/_highcontrast-light-definition.scss +85 -85
- package/styles/drop-down-list/_layout.scss +284 -284
- package/styles/drop-down-list/_material-dark-definition.scss +110 -110
- package/styles/drop-down-list/_material-definition.scss +112 -112
- package/styles/drop-down-list/_material3-definition.scss +114 -114
- package/styles/drop-down-list/_tailwind-definition.scss +100 -100
- package/styles/drop-down-list/_tailwind3-definition.scss +135 -135
- package/styles/drop-down-list/_theme.scss +17 -17
- package/styles/drop-down-list/icons/_bds.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap4.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap5.scss +18 -18
- package/styles/drop-down-list/icons/_fabric-dark.scss +18 -18
- package/styles/drop-down-list/icons/_fabric.scss +18 -18
- package/styles/drop-down-list/icons/_fluent.scss +18 -18
- package/styles/drop-down-list/icons/_fluent2.scss +18 -18
- package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast.scss +18 -18
- package/styles/drop-down-list/icons/_material-dark.scss +18 -18
- package/styles/drop-down-list/icons/_material.scss +18 -18
- package/styles/drop-down-list/icons/_material3.scss +18 -18
- package/styles/drop-down-list/icons/_tailwind.scss +18 -18
- package/styles/drop-down-list/icons/_tailwind3.scss +14 -14
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-tree/_all.scss +2 -2
- package/styles/drop-down-tree/_bds-definition.scss +74 -74
- package/styles/drop-down-tree/_bigger.scss +561 -561
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +81 -81
- package/styles/drop-down-tree/_bootstrap-definition.scss +81 -81
- package/styles/drop-down-tree/_bootstrap4-definition.scss +85 -85
- package/styles/drop-down-tree/_bootstrap5-definition.scss +73 -73
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +74 -74
- package/styles/drop-down-tree/_fabric-dark-definition.scss +81 -81
- package/styles/drop-down-tree/_fabric-definition.scss +81 -81
- package/styles/drop-down-tree/_fluent-definition.scss +78 -78
- package/styles/drop-down-tree/_fluent2-definition.scss +85 -85
- package/styles/drop-down-tree/_fusionnew-definition.scss +69 -69
- package/styles/drop-down-tree/_highcontrast-definition.scss +81 -81
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +81 -81
- package/styles/drop-down-tree/_layout.scss +942 -942
- package/styles/drop-down-tree/_material-dark-definition.scss +82 -82
- package/styles/drop-down-tree/_material-definition.scss +84 -84
- package/styles/drop-down-tree/_material3-definition.scss +84 -84
- package/styles/drop-down-tree/_tailwind-definition.scss +74 -74
- package/styles/drop-down-tree/_tailwind3-definition.scss +75 -75
- package/styles/drop-down-tree/_theme.scss +135 -135
- package/styles/drop-down-tree/icons/_bds.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap5.3.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric.scss +11 -11
- package/styles/drop-down-tree/icons/_fluent.scss +11 -11
- package/styles/drop-down-tree/icons/_fluent2.scss +14 -14
- package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
- package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
- package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_material.scss +11 -11
- package/styles/drop-down-tree/icons/_material3.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind3.scss +11 -11
- package/styles/drop-down-tree/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/list-box/_all.scss +2 -2
- package/styles/list-box/_bds-definition.scss +136 -136
- package/styles/list-box/_bigger.scss +190 -190
- package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
- package/styles/list-box/_bootstrap-definition.scss +119 -119
- package/styles/list-box/_bootstrap4-definition.scss +126 -126
- package/styles/list-box/_bootstrap5-definition.scss +121 -121
- package/styles/list-box/_bootstrap5.3-definition.scss +123 -123
- package/styles/list-box/_fabric-dark-definition.scss +124 -124
- package/styles/list-box/_fabric-definition.scss +119 -119
- package/styles/list-box/_fluent-definition.scss +120 -120
- package/styles/list-box/_fluent2-definition.scss +121 -121
- package/styles/list-box/_fusionnew-definition.scss +111 -111
- package/styles/list-box/_highcontrast-definition.scss +119 -119
- package/styles/list-box/_highcontrast-light-definition.scss +124 -124
- package/styles/list-box/_layout.scss +496 -496
- package/styles/list-box/_material-dark-definition.scss +124 -124
- package/styles/list-box/_material-definition.scss +119 -119
- package/styles/list-box/_material3-definition.scss +119 -119
- package/styles/list-box/_tailwind-definition.scss +119 -119
- package/styles/list-box/_tailwind3-definition.scss +123 -123
- package/styles/list-box/_theme.scss +327 -327
- package/styles/list-box/icons/_bds.scss +25 -25
- package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
- package/styles/list-box/icons/_bootstrap.scss +25 -25
- package/styles/list-box/icons/_bootstrap4.scss +25 -25
- package/styles/list-box/icons/_bootstrap5.3.scss +25 -25
- package/styles/list-box/icons/_bootstrap5.scss +25 -25
- package/styles/list-box/icons/_fabric-dark.scss +25 -25
- package/styles/list-box/icons/_fabric.scss +25 -25
- package/styles/list-box/icons/_fluent.scss +25 -25
- package/styles/list-box/icons/_fluent2.scss +25 -25
- package/styles/list-box/icons/_fusionnew.scss +25 -25
- package/styles/list-box/icons/_highcontrast-light.scss +25 -25
- package/styles/list-box/icons/_highcontrast.scss +25 -25
- package/styles/list-box/icons/_material-dark.scss +25 -25
- package/styles/list-box/icons/_material.scss +25 -25
- package/styles/list-box/icons/_material3.scss +25 -25
- package/styles/list-box/icons/_tailwind-dark.scss +25 -25
- package/styles/list-box/icons/_tailwind.scss +25 -25
- package/styles/list-box/icons/_tailwind3.scss +25 -25
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/mention/_all.scss +1 -1
- package/styles/mention/_bds-definition.scss +1 -1
- package/styles/mention/_bootstrap-dark-definition.scss +3 -3
- package/styles/mention/_bootstrap-definition.scss +3 -3
- package/styles/mention/_bootstrap4-definition.scss +3 -3
- package/styles/mention/_bootstrap5-definition.scss +1 -1
- package/styles/mention/_bootstrap5.3-definition.scss +1 -1
- package/styles/mention/_fabric-dark-definition.scss +2 -2
- package/styles/mention/_fabric-definition.scss +3 -3
- package/styles/mention/_fluent-definition.scss +1 -1
- package/styles/mention/_fluent2-definition.scss +1 -1
- package/styles/mention/_fusionnew-definition.scss +1 -1
- package/styles/mention/_highcontrast-definition.scss +3 -3
- package/styles/mention/_highcontrast-light-definition.scss +3 -3
- package/styles/mention/_layout.scss +6 -6
- package/styles/mention/_material-dark-definition.scss +3 -3
- package/styles/mention/_material-definition.scss +3 -3
- package/styles/mention/_material3-definition.scss +1 -1
- package/styles/mention/_tailwind-definition.scss +1 -1
- package/styles/mention/_tailwind3-definition.scss +1 -1
- package/styles/mention/material3-dark.scss +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/_all.scss +2 -2
- package/styles/multi-select/_bds-definition.scss +231 -231
- package/styles/multi-select/_bigger.scss +2002 -2002
- package/styles/multi-select/_bootstrap-dark-definition.scss +198 -198
- package/styles/multi-select/_bootstrap-definition.scss +187 -187
- package/styles/multi-select/_bootstrap4-definition.scss +236 -236
- package/styles/multi-select/_bootstrap5-definition.scss +229 -229
- package/styles/multi-select/_bootstrap5.3-definition.scss +229 -229
- package/styles/multi-select/_fabric-dark-definition.scss +190 -190
- package/styles/multi-select/_fabric-definition.scss +181 -181
- package/styles/multi-select/_fluent-definition.scss +236 -236
- package/styles/multi-select/_fluent2-definition.scss +234 -234
- package/styles/multi-select/_fusionnew-definition.scss +222 -222
- package/styles/multi-select/_highcontrast-definition.scss +302 -302
- package/styles/multi-select/_highcontrast-light-definition.scss +296 -296
- package/styles/multi-select/_layout.scss +1335 -1335
- package/styles/multi-select/_material-dark-definition.scss +248 -248
- package/styles/multi-select/_material-definition.scss +250 -250
- package/styles/multi-select/_material3-definition.scss +233 -233
- package/styles/multi-select/_tailwind-definition.scss +231 -231
- package/styles/multi-select/_tailwind3-definition.scss +227 -227
- package/styles/multi-select/_theme.scss +564 -564
- package/styles/multi-select/icons/_bds.scss +26 -26
- package/styles/multi-select/icons/_bootstrap-dark.scss +30 -30
- package/styles/multi-select/icons/_bootstrap.scss +30 -30
- package/styles/multi-select/icons/_bootstrap4.scss +32 -32
- package/styles/multi-select/icons/_bootstrap5.3.scss +30 -30
- package/styles/multi-select/icons/_bootstrap5.scss +30 -30
- package/styles/multi-select/icons/_fabric-dark.scss +30 -30
- package/styles/multi-select/icons/_fabric.scss +30 -30
- package/styles/multi-select/icons/_fluent.scss +38 -38
- package/styles/multi-select/icons/_fluent2.scss +347 -347
- package/styles/multi-select/icons/_fusionnew.scss +26 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
- package/styles/multi-select/icons/_highcontrast.scss +30 -30
- package/styles/multi-select/icons/_material-dark.scss +348 -348
- package/styles/multi-select/icons/_material.scss +348 -348
- package/styles/multi-select/icons/_material3.scss +350 -350
- package/styles/multi-select/icons/_tailwind.scss +30 -30
- package/styles/multi-select/icons/_tailwind3.scss +26 -26
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/tslint.json +111 -0
|
@@ -136,7 +136,7 @@ function Search(inputVal, items, searchType, ignoreCase, dataSource, fields, typ
|
|
|
136
136
|
const listItems = items;
|
|
137
137
|
ignoreCase = ignoreCase !== undefined && ignoreCase !== null ? ignoreCase : true;
|
|
138
138
|
const itemData = { item: null, index: null };
|
|
139
|
-
if (inputVal && inputVal.length
|
|
139
|
+
if (inputVal && inputVal.length) {
|
|
140
140
|
const strLength = inputVal.length;
|
|
141
141
|
let queryStr = ignoreCase ? inputVal.toLocaleLowerCase() : inputVal;
|
|
142
142
|
queryStr = escapeCharRegExp(queryStr);
|
|
@@ -255,14 +255,14 @@ function revertHighlightSearch(content) {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
259
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
260
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
261
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
262
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
263
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
264
|
-
});
|
|
265
|
-
};
|
|
258
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
259
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
260
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
261
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
262
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
263
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
266
|
class VirtualScroll {
|
|
267
267
|
constructor(parent) {
|
|
268
268
|
this.sentinelInfo = {
|
|
@@ -803,12 +803,12 @@ class VirtualScroll {
|
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
807
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
808
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
809
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
810
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
811
|
-
};
|
|
806
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
807
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
808
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
809
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
810
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
811
|
+
};
|
|
812
812
|
class FieldSettings extends ChildProperty {
|
|
813
813
|
}
|
|
814
814
|
__decorate([
|
|
@@ -2869,12 +2869,12 @@ DropDownBase = __decorate([
|
|
|
2869
2869
|
NotifyPropertyChanges
|
|
2870
2870
|
], DropDownBase);
|
|
2871
2871
|
|
|
2872
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2873
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2874
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2875
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2876
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2877
|
-
};
|
|
2872
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2873
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2874
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2875
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2876
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2877
|
+
};
|
|
2878
2878
|
// don't use space in classnames
|
|
2879
2879
|
const dropDownListClasses = {
|
|
2880
2880
|
root: 'e-dropdownlist',
|
|
@@ -7346,12 +7346,12 @@ DropDownList = __decorate$1([
|
|
|
7346
7346
|
NotifyPropertyChanges
|
|
7347
7347
|
], DropDownList);
|
|
7348
7348
|
|
|
7349
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7350
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7351
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7352
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7353
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7354
|
-
};
|
|
7349
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7350
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7351
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7352
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7353
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7354
|
+
};
|
|
7355
7355
|
const RTL = 'e-rtl';
|
|
7356
7356
|
const DROPDOWNTREE = 'e-ddt';
|
|
7357
7357
|
const HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -10862,12 +10862,12 @@ DropDownTree = __decorate$2([
|
|
|
10862
10862
|
NotifyPropertyChanges
|
|
10863
10863
|
], DropDownTree);
|
|
10864
10864
|
|
|
10865
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10866
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10867
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10868
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10869
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10870
|
-
};
|
|
10865
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10866
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10867
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10868
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10869
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10870
|
+
};
|
|
10871
10871
|
const SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
10872
10872
|
dropDownListClasses.root = 'e-combobox';
|
|
10873
10873
|
const inputObject$1 = {
|
|
@@ -11924,12 +11924,12 @@ ComboBox = __decorate$3([
|
|
|
11924
11924
|
NotifyPropertyChanges
|
|
11925
11925
|
], ComboBox);
|
|
11926
11926
|
|
|
11927
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11928
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11929
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11930
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11931
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11932
|
-
};
|
|
11927
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11928
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11929
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11930
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11931
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11932
|
+
};
|
|
11933
11933
|
dropDownListClasses.root = 'e-autocomplete';
|
|
11934
11934
|
dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
11935
11935
|
/**
|
|
@@ -12633,12 +12633,12 @@ function encodePlaceholder(placeholder) {
|
|
|
12633
12633
|
}
|
|
12634
12634
|
/* eslint-enable valid-jsdoc */
|
|
12635
12635
|
|
|
12636
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12637
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12638
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12639
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12640
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12641
|
-
};
|
|
12636
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12637
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12638
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12639
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12640
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12641
|
+
};
|
|
12642
12642
|
const FOCUS = 'e-input-focus';
|
|
12643
12643
|
const DISABLED$1 = 'e-disabled';
|
|
12644
12644
|
const OVER_ALL_WRAPPER = 'e-multiselect e-input-group e-control-wrapper';
|
|
@@ -13285,7 +13285,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13285
13285
|
if (!this.enableVirtualization || (this.enableVirtualization && (!(this.dataSource instanceof DataManager)))) {
|
|
13286
13286
|
this.initialValueUpdate();
|
|
13287
13287
|
}
|
|
13288
|
-
else if (!this.isRemoveSelection
|
|
13288
|
+
else if (!this.isRemoveSelection) {
|
|
13289
13289
|
this.initialValueUpdate(this.listData, true);
|
|
13290
13290
|
}
|
|
13291
13291
|
this.initialUpdate();
|
|
@@ -15430,7 +15430,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
15430
15430
|
}
|
|
15431
15431
|
dispatchSelect(value, eve, element, isNotTrigger, length, dataValue, text) {
|
|
15432
15432
|
const list = this.listData;
|
|
15433
|
-
if (this.initStatus && !isNotTrigger
|
|
15433
|
+
if (this.initStatus && !isNotTrigger) {
|
|
15434
15434
|
value = this.allowObjectBinding ? getValue(((this.fields.value) ? this.fields.value : ''), value) : value;
|
|
15435
15435
|
const val = dataValue ? dataValue : this.getDataByValue(value);
|
|
15436
15436
|
const eventArgs = {
|
|
@@ -16335,7 +16335,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
16335
16335
|
else {
|
|
16336
16336
|
if (this.listData) {
|
|
16337
16337
|
if (this.enableVirtualization) {
|
|
16338
|
-
if (delim && !this.isDynamicRemoteVirtualData
|
|
16338
|
+
if (delim && !this.isDynamicRemoteVirtualData) {
|
|
16339
16339
|
data = this.delimiterWrapper && this.delimiterWrapper.innerHTML === '' ? data :
|
|
16340
16340
|
this.delimiterWrapper.innerHTML;
|
|
16341
16341
|
}
|
|
@@ -16347,7 +16347,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
16347
16347
|
text = this.text.split(delimiterChar);
|
|
16348
16348
|
}
|
|
16349
16349
|
else {
|
|
16350
|
-
temp = isInitialVirtualData && delim ? this.text
|
|
16350
|
+
temp = isInitialVirtualData && delim ? this.text : this.getTextByValue(value);
|
|
16351
16351
|
const textValues = this.isDynamicRemoteVirtualData && value != null && value !== '' && !isInitialVirtualData ?
|
|
16352
16352
|
this.getTextByValue(value) : isInitialVirtualData ? this.text : (this.text && this.text !== '' ? this.text + this.delimiterChar + temp : temp);
|
|
16353
16353
|
data += temp + delimiterChar + ' ';
|
|
@@ -16503,12 +16503,6 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
16503
16503
|
text = this.getTextByValue(value);
|
|
16504
16504
|
isCustomData = true;
|
|
16505
16505
|
}
|
|
16506
|
-
else if ((isNullOrUndefined(text) && !this.allowCustomValue) &&
|
|
16507
|
-
((!(this.dataSource instanceof DataManager)) ||
|
|
16508
|
-
(this.dataSource instanceof DataManager && isInitialVirtualData))) {
|
|
16509
|
-
this.value.splice(index, 1);
|
|
16510
|
-
index -= 1;
|
|
16511
|
-
}
|
|
16512
16506
|
}
|
|
16513
16507
|
else {
|
|
16514
16508
|
text = this.getTextByValue(value);
|
|
@@ -18094,7 +18088,6 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18094
18088
|
this.isaddNonPresentItems = false;
|
|
18095
18089
|
}
|
|
18096
18090
|
else {
|
|
18097
|
-
this.selectedListData = [];
|
|
18098
18091
|
if (prop === 'text') {
|
|
18099
18092
|
this.initialTextUpdate();
|
|
18100
18093
|
newProp = this.value;
|
|
@@ -18138,9 +18131,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18138
18131
|
setTimeout(() => {
|
|
18139
18132
|
this.initialValueUpdate(listItems, true);
|
|
18140
18133
|
this.isDynamicRemoteVirtualData = false;
|
|
18141
|
-
|
|
18142
|
-
this.initialUpdate();
|
|
18143
|
-
}
|
|
18134
|
+
this.initialUpdate();
|
|
18144
18135
|
}, 100);
|
|
18145
18136
|
}
|
|
18146
18137
|
});
|
|
@@ -19800,12 +19791,12 @@ class CheckBoxSelection {
|
|
|
19800
19791
|
}
|
|
19801
19792
|
}
|
|
19802
19793
|
|
|
19803
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19804
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19805
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19806
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19807
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19808
|
-
};
|
|
19794
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19795
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19796
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19797
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19798
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19799
|
+
};
|
|
19809
19800
|
var ListBox_1;
|
|
19810
19801
|
/**
|
|
19811
19802
|
* Defines the Selection settings of List Box.
|
|
@@ -22410,12 +22401,12 @@ const listBoxClasses = {
|
|
|
22410
22401
|
clearIcon: 'e-clear-icon'
|
|
22411
22402
|
};
|
|
22412
22403
|
|
|
22413
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22414
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22415
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22416
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22417
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22418
|
-
};
|
|
22404
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22405
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22406
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22407
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22408
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22409
|
+
};
|
|
22419
22410
|
/**
|
|
22420
22411
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
22421
22412
|
* or any other editable element from which the user can select.
|
|
@@ -22759,14 +22750,12 @@ let Mention = class Mention extends DropDownBase {
|
|
|
22759
22750
|
const isValid = currentRange && mentionRegex.test(currentRange) ? false : true;
|
|
22760
22751
|
let lastWordRange = this.getLastLetter(currentRange);
|
|
22761
22752
|
const previousChar = currentRange ? currentRange.charAt(Math.max(0, currentRange.indexOf(this.mentionChar) - 1)) : '';
|
|
22762
|
-
if (
|
|
22763
|
-
|
|
22764
|
-
|
|
22765
|
-
|
|
22766
|
-
|
|
22767
|
-
|
|
22768
|
-
lastWordRange = this.mentionChar + lastWordRange.split(this.mentionChar).pop();
|
|
22769
|
-
}
|
|
22753
|
+
if (isValid && this.allowSpaces && currentRange && currentRange.includes(this.mentionChar) && currentRange.split(this.mentionChar).pop() !== ''
|
|
22754
|
+
&& (!this.requireLeadingSpace || (this.requireLeadingSpace && (previousChar === ' ' || currentRange.indexOf(this.mentionChar) === 0)))) {
|
|
22755
|
+
lastWordRange = this.mentionChar + currentRange.split(this.mentionChar).pop();
|
|
22756
|
+
}
|
|
22757
|
+
if (!this.requireLeadingSpace && lastWordRange && lastWordRange.includes(this.mentionChar)) {
|
|
22758
|
+
lastWordRange = this.mentionChar + lastWordRange.split(this.mentionChar).pop();
|
|
22770
22759
|
}
|
|
22771
22760
|
const lastTwoLetters = this.mentionChar.toString() + this.mentionChar.toString();
|
|
22772
22761
|
// eslint-disable-next-line security/detect-non-literal-regexp
|
|
@@ -22779,7 +22768,7 @@ let Mention = class Mention extends DropDownBase {
|
|
|
22779
22768
|
this.hidePopup();
|
|
22780
22769
|
return;
|
|
22781
22770
|
}
|
|
22782
|
-
if (((!currentRange || !lastWordRange) || (!lastWordRange.includes(this.mentionChar) && !this.requireLeadingSpace
|
|
22771
|
+
if (((!currentRange || !lastWordRange) || (!lastWordRange.includes(this.mentionChar) && !this.requireLeadingSpace)) || e.code === 'Enter' || e.keyCode === 27 ||
|
|
22783
22772
|
(lastWordRange.match(Regex) && lastWordRange.match(Regex).length > 1) ||
|
|
22784
22773
|
(this.isContentEditable(this.inputElement) && this.range.startContainer &&
|
|
22785
22774
|
this.range.startContainer.previousElementSibling && this.range.startContainer.previousElementSibling.tagName !== 'BR' && this.range.startContainer.textContent.split('').length > 0 &&
|