@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
|
var listItems = items;
|
|
137
137
|
ignoreCase = ignoreCase !== undefined && ignoreCase !== null ? ignoreCase : true;
|
|
138
138
|
var itemData = { item: null, index: null };
|
|
139
|
-
if (inputVal && inputVal.length
|
|
139
|
+
if (inputVal && inputVal.length) {
|
|
140
140
|
var strLength = inputVal.length;
|
|
141
141
|
var queryStr = ignoreCase ? inputVal.toLocaleLowerCase() : inputVal;
|
|
142
142
|
queryStr = escapeCharRegExp(queryStr);
|
|
@@ -260,53 +260,53 @@ function revertHighlightSearch(content) {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
264
|
-
__assign = Object.assign || function(t) {
|
|
265
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
266
|
-
s = arguments[i];
|
|
267
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
268
|
-
t[p] = s[p];
|
|
269
|
-
}
|
|
270
|
-
return t;
|
|
271
|
-
};
|
|
272
|
-
return __assign.apply(this, arguments);
|
|
273
|
-
};
|
|
274
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
275
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
276
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
277
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
278
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
279
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
280
|
-
});
|
|
281
|
-
};
|
|
282
|
-
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
283
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
284
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
285
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
286
|
-
function step(op) {
|
|
287
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
288
|
-
while (_) try {
|
|
289
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
290
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
291
|
-
switch (op[0]) {
|
|
292
|
-
case 0: case 1: t = op; break;
|
|
293
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
294
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
295
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
296
|
-
default:
|
|
297
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
298
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
299
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
300
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
301
|
-
if (t[2]) _.ops.pop();
|
|
302
|
-
_.trys.pop(); continue;
|
|
303
|
-
}
|
|
304
|
-
op = body.call(thisArg, _);
|
|
305
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
306
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
var VirtualScroll = /** @class */ (function () {
|
|
263
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
264
|
+
__assign = Object.assign || function(t) {
|
|
265
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
266
|
+
s = arguments[i];
|
|
267
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
268
|
+
t[p] = s[p];
|
|
269
|
+
}
|
|
270
|
+
return t;
|
|
271
|
+
};
|
|
272
|
+
return __assign.apply(this, arguments);
|
|
273
|
+
};
|
|
274
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
275
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
276
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
277
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
278
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
279
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
283
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
284
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
285
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
286
|
+
function step(op) {
|
|
287
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
288
|
+
while (_) try {
|
|
289
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
290
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
291
|
+
switch (op[0]) {
|
|
292
|
+
case 0: case 1: t = op; break;
|
|
293
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
294
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
295
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
296
|
+
default:
|
|
297
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
298
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
299
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
300
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
301
|
+
if (t[2]) _.ops.pop();
|
|
302
|
+
_.trys.pop(); continue;
|
|
303
|
+
}
|
|
304
|
+
op = body.call(thisArg, _);
|
|
305
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
306
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
310
310
|
function VirtualScroll(parent) {
|
|
311
311
|
var _this = this;
|
|
312
312
|
this.sentinelInfo = {
|
|
@@ -862,26 +862,26 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
862
862
|
return VirtualScroll;
|
|
863
863
|
}());
|
|
864
864
|
|
|
865
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
866
|
-
var extendStatics = function (d, b) {
|
|
867
|
-
extendStatics = Object.setPrototypeOf ||
|
|
868
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
869
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
870
|
-
return extendStatics(d, b);
|
|
871
|
-
};
|
|
872
|
-
return function (d, b) {
|
|
873
|
-
extendStatics(d, b);
|
|
874
|
-
function __() { this.constructor = d; }
|
|
875
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
876
|
-
};
|
|
877
|
-
})();
|
|
878
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
879
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
880
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
881
|
-
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;
|
|
882
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
883
|
-
};
|
|
884
|
-
var FieldSettings = /** @class */ (function (_super) {
|
|
865
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
866
|
+
var extendStatics = function (d, b) {
|
|
867
|
+
extendStatics = Object.setPrototypeOf ||
|
|
868
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
869
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
870
|
+
return extendStatics(d, b);
|
|
871
|
+
};
|
|
872
|
+
return function (d, b) {
|
|
873
|
+
extendStatics(d, b);
|
|
874
|
+
function __() { this.constructor = d; }
|
|
875
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
876
|
+
};
|
|
877
|
+
})();
|
|
878
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
879
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
880
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
881
|
+
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;
|
|
882
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
883
|
+
};
|
|
884
|
+
var FieldSettings = /** @__PURE__ @class */ (function (_super) {
|
|
885
885
|
__extends(FieldSettings, _super);
|
|
886
886
|
function FieldSettings() {
|
|
887
887
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -934,7 +934,7 @@ var HIDE_GROUPLIST = 'e-hide-group-header';
|
|
|
934
934
|
/**
|
|
935
935
|
* DropDownBase component will generate the list items based on given data and act as base class to drop-down related components
|
|
936
936
|
*/
|
|
937
|
-
var DropDownBase = /** @class */ (function (_super) {
|
|
937
|
+
var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
938
938
|
__extends(DropDownBase, _super);
|
|
939
939
|
/**
|
|
940
940
|
* * Constructor for DropDownBase class
|
|
@@ -2960,25 +2960,25 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
2960
2960
|
return DropDownBase;
|
|
2961
2961
|
}(Component));
|
|
2962
2962
|
|
|
2963
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2964
|
-
var extendStatics = function (d, b) {
|
|
2965
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2966
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2967
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2968
|
-
return extendStatics(d, b);
|
|
2969
|
-
};
|
|
2970
|
-
return function (d, b) {
|
|
2971
|
-
extendStatics(d, b);
|
|
2972
|
-
function __() { this.constructor = d; }
|
|
2973
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2974
|
-
};
|
|
2975
|
-
})();
|
|
2976
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2977
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2978
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2979
|
-
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;
|
|
2980
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2981
|
-
};
|
|
2963
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2964
|
+
var extendStatics = function (d, b) {
|
|
2965
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2966
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2967
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2968
|
+
return extendStatics(d, b);
|
|
2969
|
+
};
|
|
2970
|
+
return function (d, b) {
|
|
2971
|
+
extendStatics(d, b);
|
|
2972
|
+
function __() { this.constructor = d; }
|
|
2973
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2974
|
+
};
|
|
2975
|
+
})();
|
|
2976
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2977
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2978
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2979
|
+
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;
|
|
2980
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2981
|
+
};
|
|
2982
2982
|
// don't use space in classnames
|
|
2983
2983
|
var dropDownListClasses = {
|
|
2984
2984
|
root: 'e-dropdownlist',
|
|
@@ -3026,7 +3026,7 @@ var inputObject = {
|
|
|
3026
3026
|
* dropDownListObj.appendTo("#list");
|
|
3027
3027
|
* ```
|
|
3028
3028
|
*/
|
|
3029
|
-
var DropDownList = /** @class */ (function (_super) {
|
|
3029
|
+
var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
3030
3030
|
__extends$1(DropDownList, _super);
|
|
3031
3031
|
/**
|
|
3032
3032
|
* * Constructor for creating the DropDownList component.
|
|
@@ -7487,25 +7487,25 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
7487
7487
|
return DropDownList;
|
|
7488
7488
|
}(DropDownBase));
|
|
7489
7489
|
|
|
7490
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
7491
|
-
var extendStatics = function (d, b) {
|
|
7492
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7493
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7494
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7495
|
-
return extendStatics(d, b);
|
|
7496
|
-
};
|
|
7497
|
-
return function (d, b) {
|
|
7498
|
-
extendStatics(d, b);
|
|
7499
|
-
function __() { this.constructor = d; }
|
|
7500
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7501
|
-
};
|
|
7502
|
-
})();
|
|
7503
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7504
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7505
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7506
|
-
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;
|
|
7507
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7508
|
-
};
|
|
7490
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
7491
|
+
var extendStatics = function (d, b) {
|
|
7492
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7493
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7494
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7495
|
+
return extendStatics(d, b);
|
|
7496
|
+
};
|
|
7497
|
+
return function (d, b) {
|
|
7498
|
+
extendStatics(d, b);
|
|
7499
|
+
function __() { this.constructor = d; }
|
|
7500
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7501
|
+
};
|
|
7502
|
+
})();
|
|
7503
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7504
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7505
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7506
|
+
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;
|
|
7507
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7508
|
+
};
|
|
7509
7509
|
var RTL = 'e-rtl';
|
|
7510
7510
|
var DROPDOWNTREE = 'e-ddt';
|
|
7511
7511
|
var HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -7555,7 +7555,7 @@ var OVERFLOW_VIEW = 'e-overflow';
|
|
|
7555
7555
|
var SHOW_TEXT = 'e-show-text';
|
|
7556
7556
|
var TOTAL_COUNT_WRAPPER = 'e-total-count';
|
|
7557
7557
|
var REMAIN_COUNT = 'e-wrap-count';
|
|
7558
|
-
var Fields = /** @class */ (function (_super) {
|
|
7558
|
+
var Fields = /** @__PURE__ @class */ (function (_super) {
|
|
7559
7559
|
__extends$2(Fields, _super);
|
|
7560
7560
|
function Fields() {
|
|
7561
7561
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7607,7 +7607,7 @@ var Fields = /** @class */ (function (_super) {
|
|
|
7607
7607
|
], Fields.prototype, "value", void 0);
|
|
7608
7608
|
return Fields;
|
|
7609
7609
|
}(ChildProperty));
|
|
7610
|
-
var TreeSettings = /** @class */ (function (_super) {
|
|
7610
|
+
var TreeSettings = /** @__PURE__ @class */ (function (_super) {
|
|
7611
7611
|
__extends$2(TreeSettings, _super);
|
|
7612
7612
|
function TreeSettings() {
|
|
7613
7613
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7638,7 +7638,7 @@ var TreeSettings = /** @class */ (function (_super) {
|
|
|
7638
7638
|
* ddtObj.appendTo("#tree");
|
|
7639
7639
|
* ```
|
|
7640
7640
|
*/
|
|
7641
|
-
var DropDownTree = /** @class */ (function (_super) {
|
|
7641
|
+
var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
7642
7642
|
__extends$2(DropDownTree, _super);
|
|
7643
7643
|
function DropDownTree(options, element) {
|
|
7644
7644
|
var _this = _super.call(this, options, element) || this;
|
|
@@ -11059,25 +11059,25 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
11059
11059
|
return DropDownTree;
|
|
11060
11060
|
}(Component));
|
|
11061
11061
|
|
|
11062
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
11063
|
-
var extendStatics = function (d, b) {
|
|
11064
|
-
extendStatics = Object.setPrototypeOf ||
|
|
11065
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11066
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11067
|
-
return extendStatics(d, b);
|
|
11068
|
-
};
|
|
11069
|
-
return function (d, b) {
|
|
11070
|
-
extendStatics(d, b);
|
|
11071
|
-
function __() { this.constructor = d; }
|
|
11072
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11073
|
-
};
|
|
11074
|
-
})();
|
|
11075
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11076
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11077
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11078
|
-
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;
|
|
11079
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11080
|
-
};
|
|
11062
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
11063
|
+
var extendStatics = function (d, b) {
|
|
11064
|
+
extendStatics = Object.setPrototypeOf ||
|
|
11065
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11066
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11067
|
+
return extendStatics(d, b);
|
|
11068
|
+
};
|
|
11069
|
+
return function (d, b) {
|
|
11070
|
+
extendStatics(d, b);
|
|
11071
|
+
function __() { this.constructor = d; }
|
|
11072
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11073
|
+
};
|
|
11074
|
+
})();
|
|
11075
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11076
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11077
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11078
|
+
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;
|
|
11079
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11080
|
+
};
|
|
11081
11081
|
var SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
11082
11082
|
dropDownListClasses.root = 'e-combobox';
|
|
11083
11083
|
var inputObject$1 = {
|
|
@@ -11100,7 +11100,7 @@ var inputObject$1 = {
|
|
|
11100
11100
|
* games.appendTo("#list");
|
|
11101
11101
|
* ```
|
|
11102
11102
|
*/
|
|
11103
|
-
var ComboBox = /** @class */ (function (_super) {
|
|
11103
|
+
var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
11104
11104
|
__extends$3(ComboBox, _super);
|
|
11105
11105
|
/**
|
|
11106
11106
|
* *Constructor for creating the component
|
|
@@ -12142,25 +12142,25 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
12142
12142
|
return ComboBox;
|
|
12143
12143
|
}(DropDownList));
|
|
12144
12144
|
|
|
12145
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
12146
|
-
var extendStatics = function (d, b) {
|
|
12147
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12148
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12149
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12150
|
-
return extendStatics(d, b);
|
|
12151
|
-
};
|
|
12152
|
-
return function (d, b) {
|
|
12153
|
-
extendStatics(d, b);
|
|
12154
|
-
function __() { this.constructor = d; }
|
|
12155
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12156
|
-
};
|
|
12157
|
-
})();
|
|
12158
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12159
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12160
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12161
|
-
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;
|
|
12162
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12163
|
-
};
|
|
12145
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
12146
|
+
var extendStatics = function (d, b) {
|
|
12147
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12148
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12149
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12150
|
+
return extendStatics(d, b);
|
|
12151
|
+
};
|
|
12152
|
+
return function (d, b) {
|
|
12153
|
+
extendStatics(d, b);
|
|
12154
|
+
function __() { this.constructor = d; }
|
|
12155
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12156
|
+
};
|
|
12157
|
+
})();
|
|
12158
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12159
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12160
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12161
|
+
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;
|
|
12162
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12163
|
+
};
|
|
12164
12164
|
dropDownListClasses.root = 'e-autocomplete';
|
|
12165
12165
|
dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
12166
12166
|
/**
|
|
@@ -12174,7 +12174,7 @@ dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
|
12174
12174
|
* atcObj.appendTo("#list");
|
|
12175
12175
|
* ```
|
|
12176
12176
|
*/
|
|
12177
|
-
var AutoComplete = /** @class */ (function (_super) {
|
|
12177
|
+
var AutoComplete = /** @__PURE__ @class */ (function (_super) {
|
|
12178
12178
|
__extends$4(AutoComplete, _super);
|
|
12179
12179
|
/**
|
|
12180
12180
|
* * Constructor for creating the widget
|
|
@@ -12870,25 +12870,25 @@ function encodePlaceholder(placeholder) {
|
|
|
12870
12870
|
}
|
|
12871
12871
|
/* eslint-enable valid-jsdoc */
|
|
12872
12872
|
|
|
12873
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
12874
|
-
var extendStatics = function (d, b) {
|
|
12875
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12876
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12877
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12878
|
-
return extendStatics(d, b);
|
|
12879
|
-
};
|
|
12880
|
-
return function (d, b) {
|
|
12881
|
-
extendStatics(d, b);
|
|
12882
|
-
function __() { this.constructor = d; }
|
|
12883
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12884
|
-
};
|
|
12885
|
-
})();
|
|
12886
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12887
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12888
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12889
|
-
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;
|
|
12890
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12891
|
-
};
|
|
12873
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
12874
|
+
var extendStatics = function (d, b) {
|
|
12875
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12876
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12877
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12878
|
+
return extendStatics(d, b);
|
|
12879
|
+
};
|
|
12880
|
+
return function (d, b) {
|
|
12881
|
+
extendStatics(d, b);
|
|
12882
|
+
function __() { this.constructor = d; }
|
|
12883
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12884
|
+
};
|
|
12885
|
+
})();
|
|
12886
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12887
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12888
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12889
|
+
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;
|
|
12890
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12891
|
+
};
|
|
12892
12892
|
var FOCUS = 'e-input-focus';
|
|
12893
12893
|
var DISABLED$1 = 'e-disabled';
|
|
12894
12894
|
var OVER_ALL_WRAPPER = 'e-multiselect e-input-group e-control-wrapper';
|
|
@@ -12944,7 +12944,7 @@ var RESIZE_ICON = 'e-resizer-right e-icons';
|
|
|
12944
12944
|
* </script>
|
|
12945
12945
|
* ```
|
|
12946
12946
|
*/
|
|
12947
|
-
var MultiSelect = /** @class */ (function (_super) {
|
|
12947
|
+
var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
12948
12948
|
__extends$5(MultiSelect, _super);
|
|
12949
12949
|
/**
|
|
12950
12950
|
* Constructor for creating the DropDownList widget.
|
|
@@ -13540,7 +13540,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
13540
13540
|
if (!this.enableVirtualization || (this.enableVirtualization && (!(this.dataSource instanceof DataManager)))) {
|
|
13541
13541
|
this.initialValueUpdate();
|
|
13542
13542
|
}
|
|
13543
|
-
else if (!this.isRemoveSelection
|
|
13543
|
+
else if (!this.isRemoveSelection) {
|
|
13544
13544
|
this.initialValueUpdate(this.listData, true);
|
|
13545
13545
|
}
|
|
13546
13546
|
this.initialUpdate();
|
|
@@ -15700,7 +15700,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
15700
15700
|
MultiSelect.prototype.dispatchSelect = function (value, eve, element, isNotTrigger, length, dataValue, text) {
|
|
15701
15701
|
var _this = this;
|
|
15702
15702
|
var list = this.listData;
|
|
15703
|
-
if (this.initStatus && !isNotTrigger
|
|
15703
|
+
if (this.initStatus && !isNotTrigger) {
|
|
15704
15704
|
value = this.allowObjectBinding ? getValue(((this.fields.value) ? this.fields.value : ''), value) : value;
|
|
15705
15705
|
var val_2 = dataValue ? dataValue : this.getDataByValue(value);
|
|
15706
15706
|
var eventArgs = {
|
|
@@ -16609,7 +16609,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
16609
16609
|
else {
|
|
16610
16610
|
if (this_1.listData) {
|
|
16611
16611
|
if (this_1.enableVirtualization) {
|
|
16612
|
-
if (delim && !this_1.isDynamicRemoteVirtualData
|
|
16612
|
+
if (delim && !this_1.isDynamicRemoteVirtualData) {
|
|
16613
16613
|
data = this_1.delimiterWrapper && this_1.delimiterWrapper.innerHTML === '' ? data :
|
|
16614
16614
|
this_1.delimiterWrapper.innerHTML;
|
|
16615
16615
|
}
|
|
@@ -16621,7 +16621,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
16621
16621
|
text = this_1.text.split(delimiterChar);
|
|
16622
16622
|
}
|
|
16623
16623
|
else {
|
|
16624
|
-
temp = isInitialVirtualData && delim ? this_1.text
|
|
16624
|
+
temp = isInitialVirtualData && delim ? this_1.text : this_1.getTextByValue(value);
|
|
16625
16625
|
var textValues = this_1.isDynamicRemoteVirtualData && value != null && value !== '' && !isInitialVirtualData ?
|
|
16626
16626
|
this_1.getTextByValue(value) : isInitialVirtualData ? this_1.text : (this_1.text && this_1.text !== '' ? this_1.text + this_1.delimiterChar + temp : temp);
|
|
16627
16627
|
data += temp + delimiterChar + ' ';
|
|
@@ -16785,12 +16785,6 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
16785
16785
|
text = this.getTextByValue(value);
|
|
16786
16786
|
isCustomData = true;
|
|
16787
16787
|
}
|
|
16788
|
-
else if ((isNullOrUndefined(text) && !this.allowCustomValue) &&
|
|
16789
|
-
((!(this.dataSource instanceof DataManager)) ||
|
|
16790
|
-
(this.dataSource instanceof DataManager && isInitialVirtualData))) {
|
|
16791
|
-
this.value.splice(index, 1);
|
|
16792
|
-
index -= 1;
|
|
16793
|
-
}
|
|
16794
16788
|
}
|
|
16795
16789
|
else {
|
|
16796
16790
|
text = this.getTextByValue(value);
|
|
@@ -18385,7 +18379,6 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
18385
18379
|
this.isaddNonPresentItems = false;
|
|
18386
18380
|
}
|
|
18387
18381
|
else {
|
|
18388
|
-
this.selectedListData = [];
|
|
18389
18382
|
if (prop === 'text') {
|
|
18390
18383
|
this.initialTextUpdate();
|
|
18391
18384
|
newProp = this.value;
|
|
@@ -18429,9 +18422,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
18429
18422
|
setTimeout(function () {
|
|
18430
18423
|
_this.initialValueUpdate(listItems_2, true);
|
|
18431
18424
|
_this.isDynamicRemoteVirtualData = false;
|
|
18432
|
-
|
|
18433
|
-
_this.initialUpdate();
|
|
18434
|
-
}
|
|
18425
|
+
_this.initialUpdate();
|
|
18435
18426
|
}, 100);
|
|
18436
18427
|
}
|
|
18437
18428
|
});
|
|
@@ -19579,7 +19570,7 @@ var FOCUS$1 = 'e-input-focus';
|
|
|
19579
19570
|
/**
|
|
19580
19571
|
* The Multiselect enable CheckBoxSelection call this inject module.
|
|
19581
19572
|
*/
|
|
19582
|
-
var CheckBoxSelection = /** @class */ (function () {
|
|
19573
|
+
var CheckBoxSelection = /** @__PURE__ @class */ (function () {
|
|
19583
19574
|
function CheckBoxSelection(parent) {
|
|
19584
19575
|
this.activeLi = [];
|
|
19585
19576
|
this.activeEle = [];
|
|
@@ -20101,29 +20092,29 @@ var CheckBoxSelection = /** @class */ (function () {
|
|
|
20101
20092
|
return CheckBoxSelection;
|
|
20102
20093
|
}());
|
|
20103
20094
|
|
|
20104
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
20105
|
-
var extendStatics = function (d, b) {
|
|
20106
|
-
extendStatics = Object.setPrototypeOf ||
|
|
20107
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20108
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20109
|
-
return extendStatics(d, b);
|
|
20110
|
-
};
|
|
20111
|
-
return function (d, b) {
|
|
20112
|
-
extendStatics(d, b);
|
|
20113
|
-
function __() { this.constructor = d; }
|
|
20114
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20115
|
-
};
|
|
20116
|
-
})();
|
|
20117
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20118
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20119
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20120
|
-
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;
|
|
20121
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20122
|
-
};
|
|
20095
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
20096
|
+
var extendStatics = function (d, b) {
|
|
20097
|
+
extendStatics = Object.setPrototypeOf ||
|
|
20098
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20099
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20100
|
+
return extendStatics(d, b);
|
|
20101
|
+
};
|
|
20102
|
+
return function (d, b) {
|
|
20103
|
+
extendStatics(d, b);
|
|
20104
|
+
function __() { this.constructor = d; }
|
|
20105
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20106
|
+
};
|
|
20107
|
+
})();
|
|
20108
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20109
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20110
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20111
|
+
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;
|
|
20112
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20113
|
+
};
|
|
20123
20114
|
/**
|
|
20124
20115
|
* Defines the Selection settings of List Box.
|
|
20125
20116
|
*/
|
|
20126
|
-
var SelectionSettings = /** @class */ (function (_super) {
|
|
20117
|
+
var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
20127
20118
|
__extends$6(SelectionSettings, _super);
|
|
20128
20119
|
function SelectionSettings() {
|
|
20129
20120
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -20145,7 +20136,7 @@ var SelectionSettings = /** @class */ (function (_super) {
|
|
|
20145
20136
|
/**
|
|
20146
20137
|
* Defines the toolbar settings of List Box.
|
|
20147
20138
|
*/
|
|
20148
|
-
var ToolbarSettings = /** @class */ (function (_super) {
|
|
20139
|
+
var ToolbarSettings = /** @__PURE__ @class */ (function (_super) {
|
|
20149
20140
|
__extends$6(ToolbarSettings, _super);
|
|
20150
20141
|
function ToolbarSettings() {
|
|
20151
20142
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -20178,7 +20169,7 @@ var ToolbarSettings = /** @class */ (function (_super) {
|
|
|
20178
20169
|
* </script>
|
|
20179
20170
|
* ```
|
|
20180
20171
|
*/
|
|
20181
|
-
var ListBox = /** @class */ (function (_super) {
|
|
20172
|
+
var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
20182
20173
|
__extends$6(ListBox, _super);
|
|
20183
20174
|
/**
|
|
20184
20175
|
* Constructor for creating the ListBox component.
|
|
@@ -22778,30 +22769,30 @@ var listBoxClasses = {
|
|
|
22778
22769
|
clearIcon: 'e-clear-icon'
|
|
22779
22770
|
};
|
|
22780
22771
|
|
|
22781
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
22782
|
-
var extendStatics = function (d, b) {
|
|
22783
|
-
extendStatics = Object.setPrototypeOf ||
|
|
22784
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22785
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22786
|
-
return extendStatics(d, b);
|
|
22787
|
-
};
|
|
22788
|
-
return function (d, b) {
|
|
22789
|
-
extendStatics(d, b);
|
|
22790
|
-
function __() { this.constructor = d; }
|
|
22791
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22792
|
-
};
|
|
22793
|
-
})();
|
|
22794
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22795
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22796
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22797
|
-
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;
|
|
22798
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22799
|
-
};
|
|
22772
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
22773
|
+
var extendStatics = function (d, b) {
|
|
22774
|
+
extendStatics = Object.setPrototypeOf ||
|
|
22775
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22776
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22777
|
+
return extendStatics(d, b);
|
|
22778
|
+
};
|
|
22779
|
+
return function (d, b) {
|
|
22780
|
+
extendStatics(d, b);
|
|
22781
|
+
function __() { this.constructor = d; }
|
|
22782
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22783
|
+
};
|
|
22784
|
+
})();
|
|
22785
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22786
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22787
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22788
|
+
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;
|
|
22789
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22790
|
+
};
|
|
22800
22791
|
/**
|
|
22801
22792
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
22802
22793
|
* or any other editable element from which the user can select.
|
|
22803
22794
|
*/
|
|
22804
|
-
var Mention = /** @class */ (function (_super) {
|
|
22795
|
+
var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
22805
22796
|
__extends$7(Mention, _super);
|
|
22806
22797
|
/**
|
|
22807
22798
|
* * Constructor for creating the widget
|
|
@@ -23143,14 +23134,12 @@ var Mention = /** @class */ (function (_super) {
|
|
|
23143
23134
|
var isValid = currentRange && mentionRegex.test(currentRange) ? false : true;
|
|
23144
23135
|
var lastWordRange = this.getLastLetter(currentRange);
|
|
23145
23136
|
var previousChar = currentRange ? currentRange.charAt(Math.max(0, currentRange.indexOf(this.mentionChar) - 1)) : '';
|
|
23146
|
-
if (
|
|
23147
|
-
|
|
23148
|
-
|
|
23149
|
-
|
|
23150
|
-
|
|
23151
|
-
|
|
23152
|
-
lastWordRange = this.mentionChar + lastWordRange.split(this.mentionChar).pop();
|
|
23153
|
-
}
|
|
23137
|
+
if (isValid && this.allowSpaces && currentRange && currentRange.includes(this.mentionChar) && currentRange.split(this.mentionChar).pop() !== ''
|
|
23138
|
+
&& (!this.requireLeadingSpace || (this.requireLeadingSpace && (previousChar === ' ' || currentRange.indexOf(this.mentionChar) === 0)))) {
|
|
23139
|
+
lastWordRange = this.mentionChar + currentRange.split(this.mentionChar).pop();
|
|
23140
|
+
}
|
|
23141
|
+
if (!this.requireLeadingSpace && lastWordRange && lastWordRange.includes(this.mentionChar)) {
|
|
23142
|
+
lastWordRange = this.mentionChar + lastWordRange.split(this.mentionChar).pop();
|
|
23154
23143
|
}
|
|
23155
23144
|
var lastTwoLetters = this.mentionChar.toString() + this.mentionChar.toString();
|
|
23156
23145
|
// eslint-disable-next-line security/detect-non-literal-regexp
|
|
@@ -23163,7 +23152,7 @@ var Mention = /** @class */ (function (_super) {
|
|
|
23163
23152
|
this.hidePopup();
|
|
23164
23153
|
return;
|
|
23165
23154
|
}
|
|
23166
|
-
if (((!currentRange || !lastWordRange) || (!lastWordRange.includes(this.mentionChar) && !this.requireLeadingSpace
|
|
23155
|
+
if (((!currentRange || !lastWordRange) || (!lastWordRange.includes(this.mentionChar) && !this.requireLeadingSpace)) || e.code === 'Enter' || e.keyCode === 27 ||
|
|
23167
23156
|
(lastWordRange.match(Regex) && lastWordRange.match(Regex).length > 1) ||
|
|
23168
23157
|
(this.isContentEditable(this.inputElement) && this.range.startContainer &&
|
|
23169
23158
|
this.range.startContainer.previousElementSibling && this.range.startContainer.previousElementSibling.tagName !== 'BR' && this.range.startContainer.textContent.split('').length > 0 &&
|